@zeniai/web-cockpit-ui 1.14.90-dev → 1.14.90-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 (214) hide show
  1. package/dist/assets/{ACHDetailsPage-BUP-_2-W-BxsdzxJg.js → ACHDetailsPage-BUP-_2-W-gKUKs0Pb.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-DHF_70JI-BB0m0Wmb.js → AIPerformancePage-DHF_70JI-Byb0JaRY.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-pmUIckJ9-ClFTcWKH.js → AccountInfoPage-pmUIckJ9-CAlO-FHB.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-DLSL1NNm-ysW8pq2z.js → AccountInfoPageContent-DLSL1NNm-CTMQNQY3.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-Bq3y0K0F-DT_bUQ3U.js → AccountLockedInfoModal-Bq3y0K0F-Caep-eEi.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CGcZO_qz-Cy1Ijv5f.js → AccountReconDetailsDrawerPage-CGcZO_qz-DphTR8AG.js} +1 -1
  7. package/dist/assets/{AccountRow-D2Ypckgj-DU9kFXuE.js → AccountRow-D2Ypckgj-BVuVsxAI.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-BVVDCW1H-DJjdfLGW.js → AccountsPromoCardStack-BVVDCW1H-CHjSEilj.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-C8aENofu-DA1NQK9C.js → AddAddressForCardDrawer-C8aENofu-_B3noxtJ.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-CmT5jSb5-D2YVbVt5.js → AddToWalletPage-CmT5jSb5-BtE7INh2.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-BeUGvj3b-CHP-b-K4.js → AgingReportsPage-BeUGvj3b-BnHb3lWK.js} +1 -1
  12. package/dist/assets/{AllUserItems-CmlMyz-f-C0puagwR.js → AllUserItems-CmlMyz-f-BE3QXVOa.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-Dz1_N0Yw-iyEKxxlG.js → ApAgingDetailPage-Dz1_N0Yw-TUc4-BfW.js} +1 -1
  14. package/dist/assets/{AppBasePage-DX4EGGcT-DxyBlsaI.js → AppBasePage-DX4EGGcT-CA5JIcq8.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-Brg3Rw4K-DWiehP3E.js → AppDrawerContent-Brg3Rw4K-Du3ev71U.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-Bn7KrUl2-CvKRvgo_.js → ApprovalRulesSettingsPage-Bn7KrUl2-C_CZXQYN.js} +1 -1
  17. package/dist/assets/{ArAgingChart-DQZtCsHS-CSTDLkfC.js → ArAgingChart-DQZtCsHS-zcjxKJqm.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-BtF6K5dA-VZeY_ZUJ.js → ArAgingDetailPage-BtF6K5dA-CM34YcdM.js} +1 -1
  19. package/dist/assets/{AttachmentView-DgPySmB8-B0CUUwUu.js → AttachmentView-DgPySmB8-B41pIkR9.js} +1 -1
  20. package/dist/assets/{BankAccountSection-BVZK5jmO-oboSifeA.js → BankAccountSection-BVZK5jmO-CjTZMznk.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-DHdeDi15-DsdgRhNS.js → BankAccountWarningSection-DHdeDi15-M9LQMU5u.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-BN3lAARB-UlnRR8CQ.js → BankConnectionsSettingsPage-BN3lAARB-B0yEFHuK.js} +1 -1
  23. package/dist/assets/{BillDetailPage-BuUm6vdf-DEUKUhee.js → BillDetailPage-BuUm6vdf-BEfZuL72.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-BXSdsF2E-CYUFVErE.js → BillPayApprovalRuleDetailPage-BXSdsF2E-BZdDia51.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-B8HbVvc9-DpzHPmZp.js → BillPayApprovalRulesPage-B8HbVvc9-CNKY0-NR.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-DkoqXDNt-FNHctwfQ.js → BillPayPromoPage-DkoqXDNt-Jx7NR9vs.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-BommXkLS-DOKgmPVm.js → BillPaySetUpPage-BommXkLS-CxAPQ6nt.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-gHbc5Kq3-CFDIJf8G.js → BillingSettingsPage-gHbc5Kq3-6eOgIWo-.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-C541rBnx-DPMvwxh2.js → BillsBulkReviewDrawerPage-C541rBnx-CpMaFNun.js} +1 -1
  30. package/dist/assets/{BoxItem-usHxaONy-BSYmkNdH.js → BoxItem-usHxaONy-yqmV2_EE.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-CLsxXy9d-ClcyVS-f.js → BusinessVerificationPage-CLsxXy9d-ThEm2-hv.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-D_fWhc_K-BxJ3GoBc.js → CardNumberSubText-D_fWhc_K-C63mXt5C.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-D3WylWVP-CydwwFdH.js → CashbackDetailPage-D3WylWVP-D9Vs2ft8.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-BUsGBwBf-DhD5ouX9.js → ChargeCardDetailPage-BUsGBwBf-B-LmCTsN.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-Jhx05dVV-DjDdThgH.js → ChargeCardListPage-Jhx05dVV-CgbSqG5e.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-D-eYWaxh-CZeSVtIX.js → ChargeCardListTable-D-eYWaxh-OyS_l2le.js} +1 -1
  37. package/dist/assets/{ChargeCardPromoPage-CzR82VtA-DoVVgv51.js → ChargeCardPromoPage-CzR82VtA-C4AU7pmq.js} +1 -1
  38. package/dist/assets/{ChargeCardSetupPage-Ctz8PCuu-Dmh0C1fi.js → ChargeCardSetupPage-Ctz8PCuu-CQ_qZ7MK.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-EUtRTAX2-CIQRTxBN.js → ChargeCardStatementsPage-EUtRTAX2-C_GDwTRC.js} +1 -1
  40. package/dist/assets/{CheckDepositDrawerPage-B7DC0HAi-DPwOJJS7.js → CheckDepositDrawerPage-B7DC0HAi-p07KcTOW.js} +1 -1
  41. package/dist/assets/{CollapsableReportTable-I40BZv7o-RBVPkQ58.js → CollapsableReportTable-I40BZv7o-d2_h6r8O.js} +1 -1
  42. package/dist/assets/{CompanyOfficerDetailsSection-ChsNKXbx-Dk7vpi01.js → CompanyOfficerDetailsSection-ChsNKXbx-BF5MOIbR.js} +1 -1
  43. package/dist/assets/{CompanyPassportCard-82bbFwk--C3mnYk4t.js → CompanyPassportCard-82bbFwk--CB88G7Qo.js} +1 -1
  44. package/dist/assets/{CompanyPassportPage-DG1Fa_Uw-B4wsnqA2.js → CompanyPassportPage-DG1Fa_Uw-Dkbt-nxV.js} +1 -1
  45. package/dist/assets/{CompleteProfile-B7bQqLQH-DwtJrHr4.js → CompleteProfile-B7bQqLQH-3BvSCHX1.js} +1 -1
  46. package/dist/assets/{ConfettiBurst-DUyIBnw4-BZY51mbD.js → ConfettiBurst-DUyIBnw4-Bzth-g3m.js} +1 -1
  47. package/dist/assets/{CreateOrEditVendorPage-DVzMO96w-CjeOn0Zu.js → CreateOrEditVendorPage-DVzMO96w-D2_PioHE.js} +1 -1
  48. package/dist/assets/{CreditCardPaymentDrawerPage-C03hfKGc-BI7dTqV7.js → CreditCardPaymentDrawerPage-C03hfKGc-CNfSxnSZ.js} +1 -1
  49. package/dist/assets/{CurrencySelectField-2hU3oIp_-CnccIVlk.js → CurrencySelectField-2hU3oIp_-C4bLV2kj.js} +1 -1
  50. package/dist/assets/{CustomerOnboardingActivationPage-Dt-Nml2t-CQyv3wO4.js → CustomerOnboardingActivationPage-Dt-Nml2t-B6WqU8lr.js} +1 -1
  51. package/dist/assets/CustomerOnboardingContainerPage-Dt-_tVOQ-UhKf7bOm.js +1 -0
  52. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-C4Z1pDVe-CS261SSd.js → CustomerOnboardingDetailPageSkeleton-C4Z1pDVe-BqoeEQuE.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingNoStepsPage-CwI8nL61-Xg6qQ6Ku.js → CustomerOnboardingNoStepsPage-CwI8nL61-fFJJ4fRN.js} +1 -1
  54. package/dist/assets/{CustomerOnboardingPage-C3FgZjAN-C75cnlLW.js → CustomerOnboardingPage-C3FgZjAN-BMoiiOVQ.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingProductSuitePage-BOYu-82S-uR17VQjV.js → CustomerOnboardingProductSuitePage-BOYu-82S-CVVsk6ik.js} +1 -1
  56. package/dist/assets/{Dashboard-D_oTtu1--CP9XS1zf.js → Dashboard-D_oTtu1--DmU_Kxzw.js} +1 -1
  57. package/dist/assets/{DashboardReportPage-Dprj3eUQ-BK5e1r9g.js → DashboardReportPage-Dprj3eUQ-BvCOtKTf.js} +1 -1
  58. package/dist/assets/{DashboardSidebarBackgroundAnimation-C6SQaB7q-C2qHBViE.js → DashboardSidebarBackgroundAnimation-C6SQaB7q-Dxl5QlMk.js} +1 -1
  59. package/dist/assets/{DepositAccTransactionItem-C2oP415b-B5ygx6vl.js → DepositAccTransactionItem-C2oP415b-fO_vukRP.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionListPage-DCvdqAz1-Df_FOAOf.js → DepositAccTransactionListPage-DCvdqAz1-B_wb_nSG.js} +1 -1
  61. package/dist/assets/{DomesticWireDetailsPage-Da_3EveP-Bjb9K-P-.js → DomesticWireDetailsPage-Da_3EveP-BRE1nKx5.js} +1 -1
  62. package/dist/assets/{DownloadOverlay-BwddFmV2-BqOR54wm.js → DownloadOverlay-BwddFmV2-TXwTh2dm.js} +1 -1
  63. package/dist/assets/{DrawerPage-CGrnrvf2-BvrxfWnf.js → DrawerPage-CGrnrvf2-C0F2USa4.js} +1 -1
  64. package/dist/assets/{EditPeoplePage-DMgxG2Gd-C3BsPnxU.js → EditPeoplePage-DMgxG2Gd-CCtVDE58.js} +1 -1
  65. package/dist/assets/{EditReimbursementDetailPage-DwCiVkeu-B4w5FVLx.js → EditReimbursementDetailPage-DwCiVkeu-CHb4Vx_R.js} +1 -1
  66. package/dist/assets/{EntityDetailPage-BcRVEfi5-Cnj_gM9q.js → EntityDetailPage-BcRVEfi5-CepotlTP.js} +1 -1
  67. package/dist/assets/{EntitySummarySection-BaHHLLkE-D3Ip19-Y.js → EntitySummarySection-BaHHLLkE-Drrfo_tg.js} +1 -1
  68. package/dist/assets/{ExpenseAutomationOverviewPage-hl_3Pc0g-gY12ACUr.js → ExpenseAutomationOverviewPage-hl_3Pc0g-DYxAAMa6.js} +1 -1
  69. package/dist/assets/{ExpenseAutomationPage-D70ghitX-EafeQT3m.js → ExpenseAutomationPage-D70ghitX-sSwqGXv6.js} +1 -1
  70. package/dist/assets/{ExpressPayPage-BpfkmJ_I-B4izq8YR.js → ExpressPayPage-BpfkmJ_I-Cr6J8360.js} +1 -1
  71. package/dist/assets/{FeaturePreviewPage-Bzi8Bpk3-DtSpKYbK.js → FeaturePreviewPage-Bzi8Bpk3-Drk_uxAx.js} +1 -1
  72. package/dist/assets/{FollowStepsSection-Bu3RG_GH-DmaIgxgE.js → FollowStepsSection-Bu3RG_GH-1o9BWCUV.js} +1 -1
  73. package/dist/assets/{GlobalReviewListPage-D4BD7q-I-BHZQG-gN.js → GlobalReviewListPage-D4BD7q-I-IVn_04O3.js} +1 -1
  74. package/dist/assets/{InformationCardStack-B9wnkR3p-CjpaX6cg.js → InformationCardStack-B9wnkR3p-InW9f_7k.js} +1 -1
  75. package/dist/assets/{InsightsCardStack-C1_rd2Sb-uYkz47Dy.js → InsightsCardStack-C1_rd2Sb-Dhs19DDG.js} +1 -1
  76. package/dist/assets/{InsightsSection-7-T67WeF-BlMRO9Ba.js → InsightsSection-7-T67WeF-R1I0UTTj.js} +1 -1
  77. package/dist/assets/{IntegrationsSettingsPage-C9YpvDgg-DjW-A2Ra.js → IntegrationsSettingsPage-C9YpvDgg-q-aOCVtI.js} +1 -1
  78. package/dist/assets/{InternationalWireSwiftDetailsPage-C5mI8dEh-MFTemI3R.js → InternationalWireSwiftDetailsPage-C5mI8dEh-B0sOCS9F.js} +1 -1
  79. package/dist/assets/{InternationalWireVerificationPage-B8AOwcSX-HJr1qwVZ.js → InternationalWireVerificationPage-B8AOwcSX-O5d4_jx5.js} +1 -1
  80. package/dist/assets/{InviteFormPage-DuBhhnre-DKK8UkI0.js → InviteFormPage-DuBhhnre-BDO1iW13.js} +1 -1
  81. package/dist/assets/{InvitePageListView-Dw8kwEFd-zXFzVUiq.js → InvitePageListView-Dw8kwEFd-BOBOJq-T.js} +1 -1
  82. package/dist/assets/{InvitePeoplePage-BI_vd7xw-BSlMVd1C.js → InvitePeoplePage-BI_vd7xw-BK1DYXv5.js} +1 -1
  83. package/dist/assets/{InvoiceUploadSection-9DaovMq8-DOf6F-xG.js → InvoiceUploadSection-9DaovMq8-nY-DuZwJ.js} +1 -1
  84. package/dist/assets/{IssueChargeCardPage-fumweN4Y-Ie_niRER.js → IssueChargeCardPage-fumweN4Y-CbGa-1Sy.js} +1 -1
  85. package/dist/assets/{LabeledAddressValue-cNf6hI1l-C1IgZGiS.js → LabeledAddressValue-cNf6hI1l-BswrPJcJ.js} +1 -1
  86. package/dist/assets/{LabeledAddressValueField-CoTtV0RQ-CTJHm8Dm.js → LabeledAddressValueField-CoTtV0RQ-oEM2MjQO.js} +1 -1
  87. package/dist/assets/{LabeledControlledCheckBoxField-DQwUvKR2-BFeYWYOG.js → LabeledControlledCheckBoxField-DQwUvKR2-CCQx34pM.js} +1 -1
  88. package/dist/assets/{LabeledCreatableSingleSelectField-CnQsTYWe-BxSldgLD.js → LabeledCreatableSingleSelectField-CnQsTYWe-BNKI3sBW.js} +1 -1
  89. package/dist/assets/{LabeledDocumentField-MkryOLQ8-ZmKcbrkd.js → LabeledDocumentField-MkryOLQ8-DH1KAWxk.js} +1 -1
  90. package/dist/assets/{LabeledDropDownFormattedTextField-B-yUtgxR-CkZPhULB.js → LabeledDropDownFormattedTextField-B-yUtgxR-Svg2dZ6s.js} +1 -1
  91. package/dist/assets/{LabeledText-BJ3Zvb5p-yc50ilCa.js → LabeledText-BJ3Zvb5p-ndTmW7U8.js} +1 -1
  92. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CSEiKb8M-B7kyEAM_.js → LabeledUserSingleSelectWithSubtitlesField-CSEiKb8M-DUVObrd4.js} +1 -1
  93. package/dist/assets/{LabeledZeniRolesDropDownField-CS_oKjBG-CatyVbOL.js → LabeledZeniRolesDropDownField-CS_oKjBG-BYrCH7sg.js} +1 -1
  94. package/dist/assets/{LinkJETransactionPage-BsszwFNq-BtKpHm2U.js → LinkJETransactionPage-BsszwFNq-CVlh2hC9.js} +1 -1
  95. package/dist/assets/{LockCardPage-DqQGGac2-Bntrtxvn.js → LockCardPage-DqQGGac2-DNRrTsHA.js} +1 -1
  96. package/dist/assets/{LowBalancePopup-BFo5zRk3-BLFy36gu.js → LowBalancePopup-BFo5zRk3-mdHe1dcy.js} +1 -1
  97. package/dist/assets/{MagicLinkACHDetailsPage-wYa3cyyZ-Cn9Ml7SS.js → MagicLinkACHDetailsPage-wYa3cyyZ-tz2BvffR.js} +1 -1
  98. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CW4RNKOV-Bj3CP8hj.js → MagicLinkDomesticWireDetailsPage-CW4RNKOV-CtiYd2c1.js} +1 -1
  99. package/dist/assets/{MagicLinkInternationalWireDetailsPage-CX9SeCLl-Bato55Wl.js → MagicLinkInternationalWireDetailsPage-CX9SeCLl-HVNLuX22.js} +1 -1
  100. package/dist/assets/{MagicLinkSuccessPage-Dipq1-St-C4ZMZxw5.js → MagicLinkSuccessPage-Dipq1-St-CbeB13LZ.js} +1 -1
  101. package/dist/assets/{MagicLinkTitleSection-DnN52Uwb-aNaCMrDN.js → MagicLinkTitleSection-DnN52Uwb-Cs_fy5V9.js} +1 -1
  102. package/dist/assets/{MailingDetailsSection-DwNF-L2Y-DJJZ9RqI.js → MailingDetailsSection-DwNF-L2Y-DrhhdeyV.js} +1 -1
  103. package/dist/assets/{Menu-D0jF6uaE-AMW53cTN.js → Menu-D0jF6uaE-063ttLpF.js} +1 -1
  104. package/dist/assets/{MyBankConnectionsSettingsPage-DpM6MKBq-CmnrHUZV.js → MyBankConnectionsSettingsPage-DpM6MKBq-E1-nhC0K.js} +1 -1
  105. package/dist/assets/{MyPendingActivationChargeCardListPage-BaT55Pwg-BdKjhqSf.js → MyPendingActivationChargeCardListPage-BaT55Pwg-Ag6G6vZu.js} +1 -1
  106. package/dist/assets/{MyProfileSettingsPage-kD1dY6P6-BAgE1Tqp.js → MyProfileSettingsPage-kD1dY6P6-BfZFNoxD.js} +1 -1
  107. package/dist/assets/{NavBarWithPicker-D-WQJ-tG-C6mGlKIr.js → NavBarWithPicker-D-WQJ-tG-Cy7zBv5q.js} +1 -1
  108. package/dist/assets/{NavigationArrow-Z9PgxZ-c-DrPA9Vgt.js → NavigationArrow-Z9PgxZ-c-2tqZ4Fw-.js} +1 -1
  109. package/dist/assets/{NavigationDots-BT-m0FmS-CJdtX5bS.js → NavigationDots-BT-m0FmS-COkqBkfX.js} +1 -1
  110. package/dist/assets/{NewGlobalMerchantPage-YsnX4uQU-7PwHdB8y.js → NewGlobalMerchantPage-YsnX4uQU-D0h-bx1p.js} +1 -1
  111. package/dist/assets/{NoDataChart-DMivligx-DVgr9SAl.js → NoDataChart-DMivligx-CY99ibCB.js} +1 -1
  112. package/dist/assets/{NoDataTable-DwOJY23X-BMIpXvJR.js → NoDataTable-DwOJY23X-0CWxLk-0.js} +1 -1
  113. package/dist/assets/{NotFoundPage-DuKXpHos-BIXgl60z.js → NotFoundPage-DuKXpHos-CG3u4rQy.js} +1 -1
  114. package/dist/assets/{NotificationSettingsPage-DlU2NxiC-DDx7Rraa.js → NotificationSettingsPage-DlU2NxiC-Dm2QaTZo.js} +1 -1
  115. package/dist/assets/{NotificationsListConfig-BQCb9x9X-C3jJIn48.js → NotificationsListConfig-BQCb9x9X-CKZiM7oL.js} +1 -1
  116. package/dist/assets/{NotificationsPage-q0bK_5gs-C_zZBYkJ.js → NotificationsPage-q0bK_5gs-jK6e_Uyw.js} +1 -1
  117. package/dist/assets/{OpExByVendorPage-Boc7U8eu-BxBRsCtx.js → OpExByVendorPage-Boc7U8eu-CVJq9vF2.js} +1 -1
  118. package/dist/assets/{OverlayContainerPage-CrZuT2Jj-DDO8EgYZ.js → OverlayContainerPage-CrZuT2Jj-CY2cJwH_.js} +1 -1
  119. package/dist/assets/{PandLWithForecastPage-B2eGvFPp-CEl0eyCC.js → PandLWithForecastPage-B2eGvFPp-BaY0fBnf.js} +1 -1
  120. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BP-_59EO-KoltH9y1.js → PaymentAccountSetupBillingAddressSection-BP-_59EO-hGRsM6bI.js} +1 -1
  121. package/dist/assets/{PeoplePage-YMfZIga6-BPMCy-eb.js → PeoplePage-YMfZIga6-BEib8XAV.js} +1 -1
  122. package/dist/assets/{ProductsCarousel-CUaU5-V7-CFq7I05R.js → ProductsCarousel-CUaU5-V7-DTCkPx2F.js} +1 -1
  123. package/dist/assets/{PromoBaseCards-CmOYEhSO-D3yPErwW.js → PromoBaseCards-CmOYEhSO-bExxN6kp.js} +1 -1
  124. package/dist/assets/{QBOConnectionDialog-BNiXUEAk-B55AIWRo.js → QBOConnectionDialog-BNiXUEAk-O1EeGUUa.js} +1 -1
  125. package/dist/assets/{QBOSetupSection-CjjNFfgF-CIhiV9Dd.js → QBOSetupSection-CjjNFfgF-hqHet92Q.js} +1 -1
  126. package/dist/assets/{ReimbursementApprovalRuleDetailPage-tP7WcKvd-CCMfftol.js → ReimbursementApprovalRuleDetailPage-tP7WcKvd-47DORnA2.js} +1 -1
  127. package/dist/assets/{ReimbursementApprovalRulesPage-BkuYJ6qb-BIx385RC.js → ReimbursementApprovalRulesPage-BkuYJ6qb-7dFuSzMb.js} +1 -1
  128. package/dist/assets/{ReimbursementDetailPage-D5IzqJS5-BklJr7jT.js → ReimbursementDetailPage-D5IzqJS5-B19mA4vu.js} +1 -1
  129. package/dist/assets/{ReimbursementPromoPage-D7n6lZNo-BpT8Ss67.js → ReimbursementPromoPage-D7n6lZNo-CgdMqXow.js} +1 -1
  130. package/dist/assets/{ReimbursementSetUpPage-E1elWU5Z-VC2DwUtC.js → ReimbursementSetUpPage-E1elWU5Z-D7O-pf9b.js} +1 -1
  131. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-HzYNji-G-DGG79plx.js → ReimbursementsBulkReviewDrawerPage-HzYNji-G-BjLwNAB4.js} +1 -1
  132. package/dist/assets/{ReloadCard-DMWwNZ1z-CIbg2f6Q.js → ReloadCard-DMWwNZ1z-D31XYoZn.js} +1 -1
  133. package/dist/assets/{ReportTableViewSelector-EU36E1lv-XPDH-qLc.js → ReportTableViewSelector-EU36E1lv-CLM26q4e.js} +1 -1
  134. package/dist/assets/{ReportsPage-iJDifG6q-BnnQKn2l.js → ReportsPage-iJDifG6q-CYAyIPrv.js} +1 -1
  135. package/dist/assets/{RevenueChart-BbOK-HCB-UtcLA02J.js → RevenueChart-BbOK-HCB-C8qpvMvb.js} +1 -1
  136. package/dist/assets/{ReviewDetailsPage-Bk2vvBn3-C2KvPaPZ.js → ReviewDetailsPage-Bk2vvBn3-CMASDCWv.js} +1 -1
  137. package/dist/assets/{ReviewOverlay-CJlk2MNH-s-FncxF6.js → ReviewOverlay-CJlk2MNH-DksHT3Bn.js} +1 -1
  138. package/dist/assets/{RoleWithToolTip-B7woUKhj-CCCbdbHN.js → RoleWithToolTip-B7woUKhj-tuSqaaK3.js} +1 -1
  139. package/dist/assets/{ScheduleDetailsFixedAssetsPage-B-WjqQN_-BZxRVl4y.js → ScheduleDetailsFixedAssetsPage-B-WjqQN_-lrt0yIGR.js} +1 -1
  140. package/dist/assets/{ScheduleDetailsPage-ocFBINM3-BwGXsqpK.js → ScheduleDetailsPage-ocFBINM3-BDslid8Y.js} +1 -1
  141. package/dist/assets/{ScheduleSequenceTable-Bb7MJ-zJ-GmSlZz8a.js → ScheduleSequenceTable-Bb7MJ-zJ-BYUE2OMk.js} +1 -1
  142. package/dist/assets/{ScreenRoutes-Bs2X1R3V.js → ScreenRoutes-DoE2zy1N.js} +1 -1
  143. package/dist/assets/{SetUpAccountSection-9zELif-q-xWCkQEz2.js → SetUpAccountSection-9zELif-q-jAntwqfL.js} +1 -1
  144. package/dist/assets/{SignIn-BHHUcLal-BDutKsDY.js → SignIn-BHHUcLal-B9B7yu5c.js} +1 -1
  145. package/dist/assets/{SignInScreen-DqJeiieA.js → SignInScreen-Czg-Wlkz.js} +1 -1
  146. package/dist/assets/{SpendManagementListViewPage-BAdSW-49-C0b0e4ib.js → SpendManagementListViewPage-BAdSW-49-Cy3aFFuZ.js} +3 -3
  147. package/dist/assets/{SpendManagementPerTabPage-HzCmGr0--BrKmnwTS.js → SpendManagementPerTabPage-HzCmGr0--xZeoOzCY.js} +1 -1
  148. package/dist/assets/{SpendManagementSection-LzT-Bnhy-DcyEJGSm.js → SpendManagementSection-LzT-Bnhy-7KIDrHzn.js} +1 -1
  149. package/dist/assets/{StatementItem-BnxTFgdM-ncI51LoG.js → StatementItem-BnxTFgdM-BUy1CSEA.js} +1 -1
  150. package/dist/assets/{StatementsPage-B8X2un5p-CiIvEzAF.js → StatementsPage-B8X2un5p-Ao0DiWwm.js} +1 -1
  151. package/dist/assets/{StatusSwitcher-BPKr5BUW-lb0m6Cbr.js → StatusSwitcher-BPKr5BUW-iZy1SY4R.js} +1 -1
  152. package/dist/assets/{SubTabSwitcher-4dvyyQSv-BdqA6ZlC.js → SubTabSwitcher-4dvyyQSv-B0aTRMDP.js} +1 -1
  153. package/dist/assets/{SummaryCard-CiNkV7uy-BHimAYKo.js → SummaryCard-CiNkV7uy-CyUPIfT8.js} +1 -1
  154. package/dist/assets/{TaskManagementPage-BiyyDIWi-DCcTniX2.js → TaskManagementPage-BiyyDIWi-DOn8-w1u.js} +1 -1
  155. package/dist/assets/{TimeRangeSwitcher-DEEhq2Us-D64DWBCZ.js → TimeRangeSwitcher-DEEhq2Us-DC70llJC.js} +1 -1
  156. package/dist/assets/{TimeframeSwitcher-u606tI8Z-DKc_Ov1z.js → TimeframeSwitcher-u606tI8Z-CLiEbUCN.js} +1 -1
  157. package/dist/assets/{TimeframeSwitcherWithToggle-D2sBGHXQ-Dp4KGiW_.js → TimeframeSwitcherWithToggle-D2sBGHXQ-ChLeBSSB.js} +1 -1
  158. package/dist/assets/{TopExCard-DbPlohSJ-YKd6FEuQ.js → TopExCard-DbPlohSJ-Dhp9OZxf.js} +1 -1
  159. package/dist/assets/{TopExDetailPage-Cla8Hd-1-1fpYe-lT.js → TopExDetailPage-Cla8Hd-1-DK-xuoZs.js} +1 -1
  160. package/dist/assets/{TransactionDetailPage-BbjtQvBr-DNyUqobk.js → TransactionDetailPage-BbjtQvBr-FXHAHiFr.js} +1 -1
  161. package/dist/assets/{TransactionList-BRiHadkm-BVpjF8up.js → TransactionList-BRiHadkm-DPpaSQ1Y.js} +1 -1
  162. package/dist/assets/{TransactionListBig-BOeu4-R4-Cua70V6_.js → TransactionListBig-BOeu4-R4-o6UH9k2V.js} +1 -1
  163. package/dist/assets/{TransactionListPage-ByVvx6ON-C32shKZQ.js → TransactionListPage-ByVvx6ON-CwQjGljA.js} +1 -1
  164. package/dist/assets/{TransactionVendorDetailPage-DMweGn3b-CelejD-M.js → TransactionVendorDetailPage-DMweGn3b-Dq7toltd.js} +1 -1
  165. package/dist/assets/{TransferDrawerPage-BTqCR3Hb-CYdeK3jF.js → TransferDrawerPage-BTqCR3Hb-BWfDRvEr.js} +1 -1
  166. package/dist/assets/{TreasuryOverviewPage-CDJtsQsC-ns0b2xlD.js → TreasuryOverviewPage-CDJtsQsC-BAM2Gg0T.js} +1 -1
  167. package/dist/assets/{TreasuryPromoPage-Bqt6DcqL-DbWZMgaj.js → TreasuryPromoPage-Bqt6DcqL-CXIyIitA.js} +1 -1
  168. package/dist/assets/{TreasuryStatementsPage-2PsC-PWa-MMDwIX2Z.js → TreasuryStatementsPage-2PsC-PWa-D70yhjS2.js} +1 -1
  169. package/dist/assets/{TreasuryTaxLetterPage-D6MoHMAo-MFFnXqVo.js → TreasuryTaxLetterPage-D6MoHMAo-DmesESI8.js} +1 -1
  170. package/dist/assets/{TrendChart-DiutckSt-CgHLzJj6.js → TrendChart-DiutckSt-D94T5IZh.js} +1 -1
  171. package/dist/assets/{TrendWithTransactions-rPwZKHfV-DNKy45Dj.js → TrendWithTransactions-rPwZKHfV-Dtp5jwDW.js} +1 -1
  172. package/dist/assets/{UncategorizedAccountsMappingPage-CFx4P194-CH9WyFGN.js → UncategorizedAccountsMappingPage-CFx4P194-BZZ4iMs4.js} +1 -1
  173. package/dist/assets/{UnitIntegrationPage-DO8dMzVg-DvbEuGmN.js → UnitIntegrationPage-DO8dMzVg-Cd3rb01x.js} +1 -1
  174. package/dist/assets/{UploadAdditionalDocumentOverlay-Ug3kL02_-B3G6i9sn.js → UploadAdditionalDocumentOverlay-Ug3kL02_-DKI6OhwV.js} +1 -1
  175. package/dist/assets/{Vendor2FAPopup-BdG-Ywma-QkJvZ609.js → Vendor2FAPopup-BdG-Ywma-CO_da9UG.js} +1 -1
  176. package/dist/assets/{VendorACHDetailsPage-BUNmE_s6-5dZ0tO5y.js → VendorACHDetailsPage-BUNmE_s6-DPSp4E23.js} +1 -1
  177. package/dist/assets/{VendorDetailPage-Dy9McuGu-BueeE3oi.js → VendorDetailPage-Dy9McuGu-d-ZpZ6aU.js} +1 -1
  178. package/dist/assets/{VendorDomesticWireDetailsPage-DvACrh7C-fv6qIbh-.js → VendorDomesticWireDetailsPage-DvACrh7C-BLzpieuI.js} +1 -1
  179. package/dist/assets/{VendorFiling1099EditablePage-Y0hGO4RH-Bkykk5NB.js → VendorFiling1099EditablePage-Y0hGO4RH-BToJSlm-.js} +1 -1
  180. package/dist/assets/{VendorFirstReviewPage-C-pT1M36-D21-SWZN.js → VendorFirstReviewPage-C-pT1M36-D4-Nv1Fg.js} +1 -1
  181. package/dist/assets/{VendorInternationalWireDetailsPage-CCMramET-CvrUOrMX.js → VendorInternationalWireDetailsPage-CCMramET-BwYsNdGo.js} +1 -1
  182. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-lxD_Z5W--BAaZ1iJw.js → VendorInternationalWireSwiftDetailsPage-lxD_Z5W--961yvZRp.js} +1 -1
  183. package/dist/assets/{VendorsAccountsSection-D-3fhQvy-ODF-nF1J.js → VendorsAccountsSection-D-3fhQvy-CbP2SER5.js} +1 -1
  184. package/dist/assets/{VerifyDevice-DDZdWfa8-C2_zooti.js → VerifyDevice-DDZdWfa8-H5PbdKsY.js} +1 -1
  185. package/dist/assets/{VideoPlayer-D0GZ_Yml-CzUqkm8K.js → VideoPlayer-D0GZ_Yml-gee9OAo-.js} +1 -1
  186. package/dist/assets/{VideoPopup-CEdhfU31-CRc_PqEa.js → VideoPopup-CEdhfU31-8qrMVIxi.js} +1 -1
  187. package/dist/assets/{WarningsDrawerPage-CIK9lkT2-4Dbh3gee.js → WarningsDrawerPage-CIK9lkT2-D5cDBgQm.js} +1 -1
  188. package/dist/assets/{ZeniAccountDetailPage-BF8cg2oa-D23upslb.js → ZeniAccountDetailPage-BF8cg2oa-Df5W17bc.js} +1 -1
  189. package/dist/assets/{ZeniAccountListViewPage-BkdkYY8j-BsJgCgRQ.js → ZeniAccountListViewPage-BkdkYY8j-Bvi6PCOk.js} +1 -1
  190. package/dist/assets/{ZeniAccountNavBarPieces-FAxN1QDY-BljetA4S.js → ZeniAccountNavBarPieces-FAxN1QDY-C5pMry9_.js} +1 -1
  191. package/dist/assets/{ZeniAccountPromoPage-COAOIU03-Bkst1764.js → ZeniAccountPromoPage-COAOIU03-B_FVyXMi.js} +1 -1
  192. package/dist/assets/{ZeniAccountSetupPage-QMBiVius-DdJzbNoZ.js → ZeniAccountSetupPage-QMBiVius-DueIhJzT.js} +1 -1
  193. package/dist/assets/{ZeniCopyright-CgfP-kcy-BQ8g3w-z.js → ZeniCopyright-CgfP-kcy-DUMhOisg.js} +1 -1
  194. package/dist/assets/{ZeniTransferAmountSlider-B1fmc3f9-BXoBksgM.js → ZeniTransferAmountSlider-B1fmc3f9-DSYZgQje.js} +1 -1
  195. package/dist/assets/{analyticsHelper-BKtlFOJm-DFeq4K6y.js → analyticsHelper-BKtlFOJm-CcPLbTK6.js} +1 -1
  196. package/dist/assets/{analyticsHelper-BY515BEN.js → analyticsHelper-BV9ovV44.js} +1 -1
  197. package/dist/assets/{chartTypes-BZYC5y5J-fsutalT0.js → chartTypes-BZYC5y5J-CVmMioA0.js} +1 -1
  198. package/dist/assets/{commonDimensions-B-aZt-hB-CyMsSMR_.js → commonDimensions-B-aZt-hB-CP54iB8v.js} +1 -1
  199. package/dist/assets/{detailCommon-DCtkwfR8-BBwf5Sk5.js → detailCommon-DCtkwfR8-Dr2vx6ZY.js} +1 -1
  200. package/dist/assets/{downloadPdf-BhQlJMh0-BaxCiwAc.js → downloadPdf-BhQlJMh0-DeqZGQ39.js} +1 -1
  201. package/dist/assets/{index-BhteR_e0.js → index-Dm9r1f6s.js} +4 -4
  202. package/dist/assets/{mapLoadingInProgressToTreeNode-B8iO-fIh-RTAx_JGt.js → mapLoadingInProgressToTreeNode-B8iO-fIh-DwG7e-RM.js} +1 -1
  203. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-PLUfKBDd-B2JV3NdC.js → mapSectionWithAcOnlyToTreeNode-PLUfKBDd-BfmC19Y6.js} +1 -1
  204. package/dist/assets/{mapSpacerToTreeNode-BPbkmHFY-Ce33KPvG.js → mapSpacerToTreeNode-BPbkmHFY-BZPeecIF.js} +1 -1
  205. package/dist/assets/{mapTimeframeBalancesToTreeNode-B-kK0AfR-BuUApKLg.js → mapTimeframeBalancesToTreeNode-B-kK0AfR-0kzYcFSC.js} +1 -1
  206. package/dist/assets/{mapTimeframeBalancesToTreeNode-BvN4m9TA-kT_avyio.js → mapTimeframeBalancesToTreeNode-BvN4m9TA-DSQ0LTze.js} +1 -1
  207. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BiRfdc4g-CoGG1EsI.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BiRfdc4g-C5Cp6P0a.js} +1 -1
  208. package/dist/assets/{toCOABalancesWithID-ChMShONK-DKVddnaL.js → toCOABalancesWithID-ChMShONK-Cq-mLDe3.js} +1 -1
  209. package/dist/assets/{toChartData-BUweupH8-9P9fGujj.js → toChartData-BUweupH8-sZruIW4t.js} +1 -1
  210. package/dist/assets/{uploadAttachment-CeUHLpzO-CvskAe_e.js → uploadAttachment-CeUHLpzO-C_J8w5W4.js} +1 -1
  211. package/dist/assets/{uploadReceipts-Bkf_PaOH-B-Qf32vH.js → uploadReceipts-Bkf_PaOH-qo0cBRii.js} +1 -1
  212. package/dist/index.html +1 -1
  213. package/package.json +1 -1
  214. package/dist/assets/CustomerOnboardingContainerPage-Dt-_tVOQ-B7ffmmrc.js +0 -1
@@ -1,4 +1,4 @@
1
- import{V as t,b1 as H,aA as S,dg as L,bp as q,o as a,ag as A}from"./index-BhteR_e0.js";import{a as n,Y as D}from"./core-B-FNbYlu.js";import{n as g}from"./mui-DLNyBjYF.js";import{V as U}from"./CollapsableReportTable-I40BZv7o-RBVPkQ58.js";const W=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),X=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),p=40,h=90,Z=g.div`
1
+ import{V as t,b1 as H,aA as S,dg as L,bp as q,o as a,ag as A}from"./index-Dm9r1f6s.js";import{a as n,Y as D}from"./core-B-FNbYlu.js";import{n as g}from"./mui-DLNyBjYF.js";import{V as U}from"./CollapsableReportTable-I40BZv7o-d2_h6r8O.js";const W=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),X=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),p=40,h=90,Z=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: flex-start;
@@ -1,4 +1,4 @@
1
- import{V as t,o,ag as p,F as f}from"./index-BhteR_e0.js";import{n as i}from"./mui-DLNyBjYF.js";const u=i.div`
1
+ import{V as t,o,ag as p,F as f}from"./index-Dm9r1f6s.js";import{n as i}from"./mui-DLNyBjYF.js";const u=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{q as c,V as o,y as n,ag as w,bH as x}from"./index-BhteR_e0.js";import{n as r}from"./mui-DLNyBjYF.js";import{b as l}from"./TimeframeSwitcher-u606tI8Z-DKc_Ov1z.js";const a="ZeniSwitch",i={root:`${a}-root`,switchBase:`${a}-switchBase`,track:`${a}-track`,thumb:`${a}-thumb`},u=({className:e,...t})=>o.jsx(x,{...t,className:e,classes:{...i}}),p=r(u)(({theme:e})=>({[`& .${i.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${i.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${i.root}.${i.switchBase}.Mui-checked + .${i.track}`]:{backgroundColor:e.colors.grey1},[`&.${i.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${i.switchBase}.Mui-checked .${i.thumb}`]:{backgroundColor:e.colors.primary},[`& .${i.switchBase}.Mui-checked .${i.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${i.switchBase}.Mui-checked + .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${i.switchBase}.Mui-disabled + .${i.track}`]:{opacity:.7},[`& .${i.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),b=e=>o.jsx(p,{...e}),d={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},$=r.div`
1
+ import{q as c,V as o,y as n,ag as w,bH as x}from"./index-Dm9r1f6s.js";import{n as r}from"./mui-DLNyBjYF.js";import{b as l}from"./TimeframeSwitcher-u606tI8Z-CLiEbUCN.js";const a="ZeniSwitch",i={root:`${a}-root`,switchBase:`${a}-switchBase`,track:`${a}-track`,thumb:`${a}-thumb`},u=({className:e,...t})=>o.jsx(x,{...t,className:e,classes:{...i}}),p=r(u)(({theme:e})=>({[`& .${i.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${i.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${i.root}.${i.switchBase}.Mui-checked + .${i.track}`]:{backgroundColor:e.colors.grey1},[`&.${i.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${i.switchBase}.Mui-checked .${i.thumb}`]:{backgroundColor:e.colors.primary},[`& .${i.switchBase}.Mui-checked .${i.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${i.switchBase}.Mui-checked + .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${i.switchBase}.Mui-disabled + .${i.track}`]:{opacity:.7},[`& .${i.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),b=e=>o.jsx(p,{...e}),d={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},$=r.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{aA as z,q as _,V as t,e as x,d as f,aV as q,b as T,aL as R,aI as H,o as p,ag as C,b7 as X,ak as F,F as S,aJ as G,aK as J,aP as E,b0 as Y,b1 as N,aQ as Q,bO as Z}from"./index-BhteR_e0.js";import{S as w,a as U}from"./core-B-FNbYlu.js";import{EL as W}from"./zeni-epic-state-HWtMOH-U.js";import{n as g}from"./mui-DLNyBjYF.js";import{I as ee,T as te}from"./ReloadCard-DMWwNZ1z-CIbg2f6Q.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt-DTSR9TM8.js";import{B as k,X as L,Y as $,b as O,e as P,f as ne,g as oe}from"./recharts-Cnl2EvUV.js";const ie=g(E)`
1
+ import{aA as z,q as _,V as t,e as x,d as f,aV as q,b as T,aL as R,aI as H,o as p,ag as C,b7 as X,ak as F,F as S,aJ as G,aK as J,aP as E,b0 as Y,b1 as N,aQ as Q,bO as Z}from"./index-Dm9r1f6s.js";import{S as w,a as U}from"./core-B-FNbYlu.js";import{EL as W}from"./zeni-epic-state-HWtMOH-U.js";import{n as g}from"./mui-DLNyBjYF.js";import{I as ee,T as te}from"./ReloadCard-DMWwNZ1z-D31XYoZn.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt-DTSR9TM8.js";import{B as k,X as L,Y as $,b as O,e as P,f as ne,g as oe}from"./recharts-Cnl2EvUV.js";const ie=g(E)`
2
2
  justify-content: space-between;
3
3
  margin: 0;
4
4
  height: ${e=>e.height!=null?e.height+"px":"auto"};
@@ -1,4 +1,4 @@
1
- import{e as v,q as S,V as t,bz as A,F as u,aL as b,b1 as B,E as H,o as i,y as E,bN as z,bq as P,d as c,p as V,ak as $,aK as F,aZ as L}from"./index-BhteR_e0.js";import{n as l}from"./mui-DLNyBjYF.js";import{EL as T}from"./zeni-epic-state-HWtMOH-U.js";import{E as M,I as D}from"./TopExCard-DbPlohSJ-YKd6FEuQ.js";import{b as Z}from"./TimeframeSwitcher-u606tI8Z-DKc_Ov1z.js";import{d as _}from"./NoDataTable-DwOJY23X-BMIpXvJR.js";import{S as I,a as o}from"./core-B-FNbYlu.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";import"./ReloadCard-DMWwNZ1z-CIbg2f6Q.js";import"./graphic-no-data-l-DU4J8fDt-DTSR9TM8.js";const j="141px",O=i.sp4,q="123px",N=l(L)`
1
+ import{e as v,q as S,V as t,bz as A,F as u,aL as b,b1 as B,E as H,o as i,y as E,bN as z,bq as P,d as c,p as V,ak as $,aK as F,aZ as L}from"./index-Dm9r1f6s.js";import{n as l}from"./mui-DLNyBjYF.js";import{EL as T}from"./zeni-epic-state-HWtMOH-U.js";import{E as M,I as D}from"./TopExCard-DbPlohSJ-Dhp9OZxf.js";import{b as Z}from"./TimeframeSwitcher-u606tI8Z-CLiEbUCN.js";import{d as _}from"./NoDataTable-DwOJY23X-0CWxLk-0.js";import{S as I,a as o}from"./core-B-FNbYlu.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";import"./ReloadCard-DMWwNZ1z-D31XYoZn.js";import"./graphic-no-data-l-DU4J8fDt-DTSR9TM8.js";const j="141px",O=i.sp4,q="123px",N=l(L)`
2
2
  color: inherit;
3
3
  width: ${i.sp3};
4
4
  height: ${i.sp3};
@@ -1,4 +1,4 @@
1
- import{R as qn,v as Fn,e as Pt,a8 as Wn,q as ae,F as q,aN as Jt,dN as Hn,dO as Gn,cB as Yn,aA as Zn,dP as nn,dQ as Jn,V as i,aK as F,ab as Xn,bz as Qn,dR as Kn,dS as ea,m as oi,dT as zi,aO as ta,y as N,dU as ia,dV as an,dW as on,dX as sn,dY as Te,dZ as Oe,d_ as Pe,d$ as Ke,e0 as et,e1 as St,e2 as kt,e3 as tt,e4 as gt,e5 as zt,e6 as At,e7 as Xt,e8 as ee,e9 as ei,ea as ue,eb as pe,aH as na,ec as Dt,ed as Ai,ee as aa,n as oa,cm as sa,o as a,ca as la,ef as ra,d as O,E as vi,p as le,ap as Di,b8 as si,c as ca,eg as da,ch as ua,cf as li,aL as Le,cO as st,eh as pa,ei as Ht,aR as ln,cT as ma,ej as ha,cd as ga,ce as fa,ak as fe,aZ as ya,ek as ba,el as rn,em as Qt,en as Kt,eo as mi,dc as xa,b1 as va,cq as wa,cW as Ti,a7 as cn,ep as ti,eq as ii,er as dn,cU as un,bQ as Oi,es as hi,dh as gi,et as Ca,bq as $a,eu as Ia,ev as Ri,ew as Da,ax as Ta,cX as Oa,ex as La,a as pn,ey as mn,bI as ja,ez as Vi,eA as hn,eB as gn,eC as fn,bG as lt,at as Sa,as as ka,dq as za,b as yn,eD as Aa,bE as Ra,L as Va,al as Ea,s as Pa,aT as wi}from"./index-BhteR_e0.js";import{a as w,S as Tt}from"./core-B-FNbYlu.js";import{n as l}from"./mui-DLNyBjYF.js";import{Fa as _a,un as Na,bG as Vt,bF as Et,bH as Ua,c5 as Ma,l6 as Ba,bj as qa}from"./zeni-epic-state-HWtMOH-U.js";import{x as Ei}from"./LabeledControlledCheckBoxField-DQwUvKR2-BFeYWYOG.js";import{R as Fa}from"./TrendWithTransactions-rPwZKHfV-DNKy45Dj.js";import{u as Wa,c as Ha,d as Ga,m as Ya}from"./uploadAttachment-CeUHLpzO-CvskAe_e.js";import{o as Za}from"./radio-default-CiSgisfh-B6CtarQ8.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";import"./TrendChart-DiutckSt-CgHLzJj6.js";import"./chartTypes-BZYC5y5J-fsutalT0.js";import"./toCOABalancesWithID-ChMShONK-DKVddnaL.js";import"./toChartData-BUweupH8-9P9fGujj.js";import"./NoDataChart-DMivligx-DVgr9SAl.js";import"./InsightsSection-7-T67WeF-BlMRO9Ba.js";import"./NavigationDots-BT-m0FmS-CJdtX5bS.js";import"./TransactionList-BRiHadkm-BVpjF8up.js";import"./BoxItem-usHxaONy-BSYmkNdH.js";import"./commonDimensions-B-aZt-hB-CyMsSMR_.js";const Ja={headerMarginTop:new N(O[7],O[8])},Xa=l(fe)`
1
+ import{R as qn,v as Fn,e as Pt,a8 as Wn,q as ae,F as q,aN as Jt,dN as Hn,dO as Gn,cB as Yn,aA as Zn,dP as nn,dQ as Jn,V as i,aK as F,ab as Xn,bz as Qn,dR as Kn,dS as ea,m as oi,dT as zi,aO as ta,y as N,dU as ia,dV as an,dW as on,dX as sn,dY as Te,dZ as Oe,d_ as Pe,d$ as Ke,e0 as et,e1 as St,e2 as kt,e3 as tt,e4 as gt,e5 as zt,e6 as At,e7 as Xt,e8 as ee,e9 as ei,ea as ue,eb as pe,aH as na,ec as Dt,ed as Ai,ee as aa,n as oa,cm as sa,o as a,ca as la,ef as ra,d as O,E as vi,p as le,ap as Di,b8 as si,c as ca,eg as da,ch as ua,cf as li,aL as Le,cO as st,eh as pa,ei as Ht,aR as ln,cT as ma,ej as ha,cd as ga,ce as fa,ak as fe,aZ as ya,ek as ba,el as rn,em as Qt,en as Kt,eo as mi,dc as xa,b1 as va,cq as wa,cW as Ti,a7 as cn,ep as ti,eq as ii,er as dn,cU as un,bQ as Oi,es as hi,dh as gi,et as Ca,bq as $a,eu as Ia,ev as Ri,ew as Da,ax as Ta,cX as Oa,ex as La,a as pn,ey as mn,bI as ja,ez as Vi,eA as hn,eB as gn,eC as fn,bG as lt,at as Sa,as as ka,dq as za,b as yn,eD as Aa,bE as Ra,L as Va,al as Ea,s as Pa,aT as wi}from"./index-Dm9r1f6s.js";import{a as w,S as Tt}from"./core-B-FNbYlu.js";import{n as l}from"./mui-DLNyBjYF.js";import{Fa as _a,un as Na,bG as Vt,bF as Et,bH as Ua,c5 as Ma,l6 as Ba,bj as qa}from"./zeni-epic-state-HWtMOH-U.js";import{x as Ei}from"./LabeledControlledCheckBoxField-DQwUvKR2-CCQx34pM.js";import{R as Fa}from"./TrendWithTransactions-rPwZKHfV-Dtp5jwDW.js";import{u as Wa,c as Ha,d as Ga,m as Ya}from"./uploadAttachment-CeUHLpzO-C_J8w5W4.js";import{o as Za}from"./radio-default-CiSgisfh-B6CtarQ8.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";import"./TrendChart-DiutckSt-D94T5IZh.js";import"./chartTypes-BZYC5y5J-CVmMioA0.js";import"./toCOABalancesWithID-ChMShONK-Cq-mLDe3.js";import"./toChartData-BUweupH8-sZruIW4t.js";import"./NoDataChart-DMivligx-CY99ibCB.js";import"./InsightsSection-7-T67WeF-R1I0UTTj.js";import"./NavigationDots-BT-m0FmS-COkqBkfX.js";import"./TransactionList-BRiHadkm-DPpaSQ1Y.js";import"./BoxItem-usHxaONy-yqmV2_EE.js";import"./commonDimensions-B-aZt-hB-CP54iB8v.js";const Ja={headerMarginTop:new N(O[7],O[8])},Xa=l(fe)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  `,Qa=l(fe)`
4
4
  margin-right: ${a.sp1};
@@ -1,4 +1,4 @@
1
- import{ca as ct,q as R,V as e,b1 as mt,aK as x,dc as ft,F as v,dd as xt,d7 as ut,de as ht,o as a,p as A,cq as pt,y as G,m as gt,ak as y,d as g,ag as bt,df as J,c_ as K,aL as X,al as wt}from"./index-BhteR_e0.js";import{a as p,S as $t}from"./core-B-FNbYlu.js";import{n}from"./mui-DLNyBjYF.js";import{EM as V,EN as Q,EO as U,EP as L,bj as vt,E$ as tt,bG as et}from"./zeni-epic-state-HWtMOH-U.js";import{g as it}from"./BoxItem-usHxaONy-BSYmkNdH.js";import{o as B}from"./commonDimensions-B-aZt-hB-CyMsSMR_.js";const D=t=>t?24:125,yt={containerPaddingBottom:new G(g[9],g[8])},_=n.div`
1
+ import{ca as ct,q as R,V as e,b1 as mt,aK as x,dc as ft,F as v,dd as xt,d7 as ut,de as ht,o as a,p as A,cq as pt,y as G,m as gt,ak as y,d as g,ag as bt,df as J,c_ as K,aL as X,al as wt}from"./index-Dm9r1f6s.js";import{a as p,S as $t}from"./core-B-FNbYlu.js";import{n}from"./mui-DLNyBjYF.js";import{EM as V,EN as Q,EO as U,EP as L,bj as vt,E$ as tt,bG as et}from"./zeni-epic-state-HWtMOH-U.js";import{g as it}from"./BoxItem-usHxaONy-yqmV2_EE.js";import{o as B}from"./commonDimensions-B-aZt-hB-CP54iB8v.js";const D=t=>t?24:125,yt={containerPaddingBottom:new G(g[9],g[8])},_=n.div`
2
2
  box-sizing: border-box;
3
3
  display: flex;
4
4
  flex: 1 1 auto;
@@ -1,4 +1,4 @@
1
- import{y as a,q as R,av as W,aB as ie,aV as ne,V as t,aK as x,b1 as re,F as w,d as n,b as ae,p as D,o,a as j,B as Q,bo as se,bp as le,ag as de,ap as ce,aL as me,bq as pe,an as he,m as ge,n as V,E as G,br as X,aQ as ee}from"./index-BhteR_e0.js";import{a as U,S as f}from"./core-B-FNbYlu.js";import{n as i,b as ue}from"./mui-DLNyBjYF.js";import{Es as xe,bh as we,bD as N}from"./zeni-epic-state-HWtMOH-U.js";import{G as $e,c as be}from"./AccountsPromoCardStack-BVVDCW1H-DJjdfLGW.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";import"./SummaryCard-CiNkV7uy-BHimAYKo.js";import"./ReloadCard-DMWwNZ1z-CIbg2f6Q.js";import"./NavigationArrow-Z9PgxZ-c-DrPA9Vgt.js";import"./NavigationDots-BT-m0FmS-CJdtX5bS.js";const ye={textContainer:new j("extraSmallRegular","smallRegular")},ve=i.div`
1
+ import{y as a,q as R,av as W,aB as ie,aV as ne,V as t,aK as x,b1 as re,F as w,d as n,b as ae,p as D,o,a as j,B as Q,bo as se,bp as le,ag as de,ap as ce,aL as me,bq as pe,an as he,m as ge,n as V,E as G,br as X,aQ as ee}from"./index-Dm9r1f6s.js";import{a as U,S as f}from"./core-B-FNbYlu.js";import{n as i,b as ue}from"./mui-DLNyBjYF.js";import{Es as xe,bh as we,bD as N}from"./zeni-epic-state-HWtMOH-U.js";import{G as $e,c as be}from"./AccountsPromoCardStack-BVVDCW1H-CHjSEilj.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";import"./SummaryCard-CiNkV7uy-CyUPIfT8.js";import"./ReloadCard-DMWwNZ1z-D31XYoZn.js";import"./NavigationArrow-Z9PgxZ-c-2tqZ4Fw-.js";import"./NavigationDots-BT-m0FmS-COkqBkfX.js";const ye={textContainer:new j("extraSmallRegular","smallRegular")},ve=i.div`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  cursor: default;
4
4
  `,Se=i.div`
@@ -1,4 +1,4 @@
1
- import{e as A,bx as M,by as R,V as o,aK as p,bz as V,m as Z,o as n,ak as G}from"./index-BhteR_e0.js";import{a as r}from"./core-B-FNbYlu.js";import{n as l}from"./mui-DLNyBjYF.js";import{f as J}from"./TransactionList-BRiHadkm-BVpjF8up.js";import{t as K}from"./page-detail-CWX5S47F-Dn7FEY9U.js";import{e as W}from"./sentry-EYLV4XmG.js";import"./zeni-epic-state-HWtMOH-U.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";import"./BoxItem-usHxaONy-BSYmkNdH.js";import"./commonDimensions-B-aZt-hB-CyMsSMR_.js";const _=l.div`
1
+ import{e as A,bx as M,by as R,V as o,aK as p,bz as V,m as Z,o as n,ak as G}from"./index-Dm9r1f6s.js";import{a as r}from"./core-B-FNbYlu.js";import{n as l}from"./mui-DLNyBjYF.js";import{f as J}from"./TransactionList-BRiHadkm-DPpaSQ1Y.js";import{t as K}from"./page-detail-CWX5S47F-Dn7FEY9U.js";import{e as W}from"./sentry-EYLV4XmG.js";import"./zeni-epic-state-HWtMOH-U.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";import"./BoxItem-usHxaONy-yqmV2_EE.js";import"./commonDimensions-B-aZt-hB-CP54iB8v.js";const _=l.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  height: 100vh;
@@ -1,4 +1,4 @@
1
- import{q as A,F,V as o,m as R,aK as D,aO as W,o as a,y as g,L as K,a as U,d0 as _,a8 as G,h1 as M,h2 as k,h3 as B,cB as J,ab as Q,d as r,e as X,cE as Y,gF as z,h8 as Z,b5 as ee,hc as oe,hd as te}from"./index-BhteR_e0.js";import{a as j}from"./core-B-FNbYlu.js";import{n as d}from"./mui-DLNyBjYF.js";import"./sentry-EYLV4XmG.js";import"./zeni-epic-state-HWtMOH-U.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";const L=(e,c)=>`${e}.${c}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=F.getLocalizedStrings().transactionDetail.vendorDetails,i=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:c,selectedClassId:p,selectedOwnerId:t,selectedVendorName:m,allAccounts:h,allClasses:C,allOwners:S,sectionId:v,isDisabled:u,accountsHierarchyList:f,classHierarchyList:x})=>{const l=A(),y=X(),$=N.labelWidth.value(l),I=N.controlWidth.value(l),V=n=>h.filter(O=>O.accountId===n)[0]?.coaId??"",s=n=>C.filter(O=>O.classId===n)[0]?.accountingClassNumber??"",b=n=>{const O=h.find(q=>q.accountId===n)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(re,{"data-testid":D("vendor-details-section",v),children:[o.jsx(se,{children:i.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(Y,{label:{label:i.vendorDetails.vendorName,width:$},text:{type:"text",name:L(v,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:m,autoComplete:"off",options:{required:!0}},isSaveError:c,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(v,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:n=>V(n),defaultValue:{selectedOption:e,allOptions:k(f)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u,disableCurrentOption:b,zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(v,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:n=>s(n),defaultValue:{selectedOption:p,allOptions:M(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u}),S!=null?o.jsx(Z,{label:{label:i.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:L(v,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:B(S),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:I}):null]})]})},re=d.div`
1
+ import{q as A,F,V as o,m as R,aK as D,aO as W,o as a,y as g,L as K,a as U,d0 as _,a8 as G,h1 as M,h2 as k,h3 as B,cB as J,ab as Q,d as r,e as X,cE as Y,gF as z,h8 as Z,b5 as ee,hc as oe,hd as te}from"./index-Dm9r1f6s.js";import{a as j}from"./core-B-FNbYlu.js";import{n as d}from"./mui-DLNyBjYF.js";import"./sentry-EYLV4XmG.js";import"./zeni-epic-state-HWtMOH-U.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";const L=(e,c)=>`${e}.${c}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=F.getLocalizedStrings().transactionDetail.vendorDetails,i=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:c,selectedClassId:p,selectedOwnerId:t,selectedVendorName:m,allAccounts:h,allClasses:C,allOwners:S,sectionId:v,isDisabled:u,accountsHierarchyList:f,classHierarchyList:x})=>{const l=A(),y=X(),$=N.labelWidth.value(l),I=N.controlWidth.value(l),V=n=>h.filter(O=>O.accountId===n)[0]?.coaId??"",s=n=>C.filter(O=>O.classId===n)[0]?.accountingClassNumber??"",b=n=>{const O=h.find(q=>q.accountId===n)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(re,{"data-testid":D("vendor-details-section",v),children:[o.jsx(se,{children:i.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(Y,{label:{label:i.vendorDetails.vendorName,width:$},text:{type:"text",name:L(v,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:m,autoComplete:"off",options:{required:!0}},isSaveError:c,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(v,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:n=>V(n),defaultValue:{selectedOption:e,allOptions:k(f)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u,disableCurrentOption:b,zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(v,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:n=>s(n),defaultValue:{selectedOption:p,allOptions:M(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u}),S!=null?o.jsx(Z,{label:{label:i.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:L(v,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:B(S),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:I}):null]})]})},re=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  padding-top: ${a.sp3};
@@ -1,4 +1,4 @@
1
- import{V as t,q as ue,aK as A,hl as st,F as I,aL as Z,n as ve,hw as ct,m as Ye,aO as $e,o as a,y as c,L as Ne,l as dt,b7 as ut,ap as ft,D as De,ag as be,ak as fe,aN as ce,fv as pt,a8 as Xe,cB as mt,aV as ht,aM as gt,p as G,ab as qe,fz as ke,fA as Ae,g7 as wt,bQ as ye,g1 as xt,hx as $t,d as o,fk as Dt,cf as Ze,bZ as bt,eX as yt,bI as Tt,al as Je,fM as Ct,dq as St,b$ as Ge,hm as vt,ho as kt}from"./index-BhteR_e0.js";import{a as u}from"./core-B-FNbYlu.js";import{n}from"./mui-DLNyBjYF.js";import{bO as At}from"./zeni-epic-state-HWtMOH-U.js";import{v as Lt}from"./ZeniTransferAmountSlider-B1fmc3f9-BXoBksgM.js";import{r as Pt}from"./AccountInfoPageContent-DLSL1NNm-ysW8pq2z.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";import"./downloadPdf-BhQlJMh0-BaxCiwAc.js";import"./commonDimensions-B-aZt-hB-CyMsSMR_.js";const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),He="amount",jt="transferTo",Le="transferFrom",k="transferDetails",Ue="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ke=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:s,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:H,onBackClick:R,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:U,onReviewClick:K}){const i=ue(),E=p.largeLabelWidth.value(i),[V,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,W]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[Y,N]=u.useState(!1),Q=r.transferMoneyPartiesFetchState,oe=ce(Q),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(l=>l.id),me=ce(pe),Qe=u.useCallback(l=>{O?.(l),R(),N(!1),z(!1)},[R,O]),et=u.useCallback((l,h)=>{l!=null&&console.log("Plaid Connection Error",l,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:Qe,onExit:et}),le=u.useCallback(l=>{l.preventDefault(),l.stopPropagation(),te?q():z(!0)},[q,te]),L=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Pe(r,le),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{Y&&x&&q()},[Y,q,x]),u.useEffect(()=>{(At(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&U?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const l=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Q==="Completed"||ie!==X||Te!==ee||l)&&L.reset(Pe(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,Te,ee,X,me,pe,L,r,q]);const{isValid:tt}=L.formState,at=async(l,h)=>{if(l!=null){const B={...h},se={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};H(se)}};u.useEffect(()=>{const l=L.watch((h,{name:B})=>{if(B!=null&&h!=null){const se=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),lt=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&lt?.accType==="depositAccount"&&se!==0?(T(!0),C(!0)):C(!1),S(se)}});return()=>{l.unsubscribe()}},[L,r.transferMoneyParties]),u.useEffect(()=>{const l=L.watch((h,{name:B})=>{B!=null&&h!=null&&mt(()=>at(B,h))});return()=>{l.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=L.handleSubmit(()=>{tt&&(_("Review","Amount Details"),K())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&L.setValue(`${k}.${Le}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,le,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=ht(gt(s),s,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[V?t.jsx(Ft,{children:t.jsxs(Rt,{children:[t.jsxs(Et,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Vt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Wt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(It,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:G.heroLight}})})]})}):null,t.jsx(Yt,{children:Z("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...L,children:t.jsxs(Mt,{id:Ke(Ue),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Re,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Le),placeholder:b.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(l,h)=>Ae(r.transferMoneyParties,l,h),valueToSubLabels:(l,h)=>ke(r.transferMoneyParties,l,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,le,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Re,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(l,h)=>Ae(r.transferMoneyParties,l,h),valueToSubLabels:(l,h)=>ke(r.transferMoneyParties,l,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,le)},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(wt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:E},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,He),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:b.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:l=>!!l&&l>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Zt,{children:[$?t.jsxs(Nt,{children:[t.jsx(Xt,{children:b.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Lt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Jt,{windowSize:i,children:[t.jsx(Ut,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Gt,{children:[t.jsx(ze,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${Z("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Ht,{windowSize:i}),t.jsx(Kt,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${Z("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Qt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ye,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Pe=(e,r)=>({transferDetails:{[He]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
1
+ import{V as t,q as ue,aK as A,hl as st,F as I,aL as Z,n as ve,hw as ct,m as Ye,aO as $e,o as a,y as c,L as Ne,l as dt,b7 as ut,ap as ft,D as De,ag as be,ak as fe,aN as ce,fv as pt,a8 as Xe,cB as mt,aV as ht,aM as gt,p as G,ab as qe,fz as ke,fA as Ae,g7 as wt,bQ as ye,g1 as xt,hx as $t,d as o,fk as Dt,cf as Ze,bZ as bt,eX as yt,bI as Tt,al as Je,fM as Ct,dq as St,b$ as Ge,hm as vt,ho as kt}from"./index-Dm9r1f6s.js";import{a as u}from"./core-B-FNbYlu.js";import{n}from"./mui-DLNyBjYF.js";import{bO as At}from"./zeni-epic-state-HWtMOH-U.js";import{v as Lt}from"./ZeniTransferAmountSlider-B1fmc3f9-DSYZgQje.js";import{r as Pt}from"./AccountInfoPageContent-DLSL1NNm-CTMQNQY3.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";import"./downloadPdf-BhQlJMh0-DeqZGQ39.js";import"./commonDimensions-B-aZt-hB-CP54iB8v.js";const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),He="amount",jt="transferTo",Le="transferFrom",k="transferDetails",Ue="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ke=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:s,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:H,onBackClick:R,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:U,onReviewClick:K}){const i=ue(),E=p.largeLabelWidth.value(i),[V,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,W]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[Y,N]=u.useState(!1),Q=r.transferMoneyPartiesFetchState,oe=ce(Q),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(l=>l.id),me=ce(pe),Qe=u.useCallback(l=>{O?.(l),R(),N(!1),z(!1)},[R,O]),et=u.useCallback((l,h)=>{l!=null&&console.log("Plaid Connection Error",l,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:Qe,onExit:et}),le=u.useCallback(l=>{l.preventDefault(),l.stopPropagation(),te?q():z(!0)},[q,te]),L=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Pe(r,le),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{Y&&x&&q()},[Y,q,x]),u.useEffect(()=>{(At(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&U?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const l=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Q==="Completed"||ie!==X||Te!==ee||l)&&L.reset(Pe(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,Te,ee,X,me,pe,L,r,q]);const{isValid:tt}=L.formState,at=async(l,h)=>{if(l!=null){const B={...h},se={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};H(se)}};u.useEffect(()=>{const l=L.watch((h,{name:B})=>{if(B!=null&&h!=null){const se=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),lt=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&lt?.accType==="depositAccount"&&se!==0?(T(!0),C(!0)):C(!1),S(se)}});return()=>{l.unsubscribe()}},[L,r.transferMoneyParties]),u.useEffect(()=>{const l=L.watch((h,{name:B})=>{B!=null&&h!=null&&mt(()=>at(B,h))});return()=>{l.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=L.handleSubmit(()=>{tt&&(_("Review","Amount Details"),K())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&L.setValue(`${k}.${Le}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,le,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=ht(gt(s),s,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[V?t.jsx(Ft,{children:t.jsxs(Rt,{children:[t.jsxs(Et,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Vt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Wt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(It,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:G.heroLight}})})]})}):null,t.jsx(Yt,{children:Z("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...L,children:t.jsxs(Mt,{id:Ke(Ue),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Re,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Le),placeholder:b.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(l,h)=>Ae(r.transferMoneyParties,l,h),valueToSubLabels:(l,h)=>ke(r.transferMoneyParties,l,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,le,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Re,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(l,h)=>Ae(r.transferMoneyParties,l,h),valueToSubLabels:(l,h)=>ke(r.transferMoneyParties,l,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,le)},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(wt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:E},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,He),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:b.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:l=>!!l&&l>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Zt,{children:[$?t.jsxs(Nt,{children:[t.jsx(Xt,{children:b.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Lt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Jt,{windowSize:i,children:[t.jsx(Ut,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Gt,{children:[t.jsx(ze,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${Z("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Ht,{windowSize:i}),t.jsx(Kt,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${Z("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Qt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ye,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Pe=(e,r)=>({transferDetails:{[He]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
2
2
  margin-top: ${a.sp3};
3
3
  display: flex;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{q as C,e as M,a7 as Ne,ca as Fe,V as t,F as L,aL as V,bQ as ae,bz as Ve,b as ie,aK as W,m as We,o as i,ag as k,p as w,bI as Ee,y,fc as Z,a as B,d as p,b2 as ne,bL as Le,aQ as Me,av as Ge,fP as Ue,gU as Je,n as Xe,ak as O,aZ as Ze,jh as _e,jU as qe,be as Qe,eH as et,d5 as tt,fM as it,kO as ot,iT as Oe,iU as Ae,cq as rt,iK as at,iL as nt,kP as st,bO as lt,al as E,cv as le,iS as dt,cy as ct}from"./index-BhteR_e0.js";import{a as f,S as ht}from"./core-B-FNbYlu.js";import{n as o,b as de}from"./mui-DLNyBjYF.js";import{bO as G,c3 as pt}from"./zeni-epic-state-HWtMOH-U.js";import{s as xt}from"./commonDimensions-B-aZt-hB-CyMsSMR_.js";import{g as ce}from"./BoxItem-usHxaONy-BSYmkNdH.js";import{o as mt}from"./transaction-placeholder-CpOwZAMG-R9RAntKW.js";import{o as gt}from"./shield-DOlUxcFf-DYYbm8md.js";import{h as he,A as pe,X as xe,Y as me,a as ge,T as ut}from"./recharts-Cnl2EvUV.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./lexical-DPEnH3HH.js";const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,yt={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new y(120,250,400,400,500)},ft={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new y(100,120,200,250,300)},wt={key:"amount",value:se.amount,sortOrder:"ascending",width:new y(80,100,150,180,200)},oe=()=>[yt,ft,wt],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new y(p[0],p[4]),headerLastColumnRightPadding:new y(p[3],p[11]),headerLastColumnBottomPadding:new y(p[0],p[4]),headerLastColumnLeftPadding:new y(p[3],p[11]),headerHeight:new y(Oe,Ae),sortIconSize:new y(p[2],p[2]),headerPaddingTop:new y(p[0],2)};function $t({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const h=M(),l=C(),[a,u]=f.useState(oe());f.useEffect(()=>{const c=[...a];for(const s of c)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";u(c)},[r.sortKey,r.sortOrder]);const d=(c,s)=>{let g=s;r.sortKey===c&&(g=s==="ascending"?"descending":"ascending"),n(c,g)},m=a.find(c=>c.key===r.sortKey)??a[0],x=c=>a.find(s=>s.key===c)?.value??"",$=a.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(St,{windowSize:l,children:[t.jsxs(zt,{children:[t.jsx(Dt,{children:t.jsx(Pt,{})}),t.jsx(lt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Mt,{onClick:()=>d(m.key,m.sortOrder),"data-testid":W("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:m.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:m,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===m.key,children:t.jsx(le,{})})})]})]}):t.jsx(vt,{windowSize:l,children:t.jsx(bt,{children:a.map(c=>c.width.value(l)!==0&&t.jsxs(kt,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Lt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":W("cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:c,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===c.key,children:t.jsx(le,{})})})]}),t.jsx(Tt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===c.key&&c.key!=="date",children:t.jsx(Ct,{onClick:()=>d("date","ascending"),"data-testid":W("cards-list-sort-cancel",r.sortKey)})})]},c.key))})})}const jt=ht.memo($t),vt=o.div`
1
+ import{q as C,e as M,a7 as Ne,ca as Fe,V as t,F as L,aL as V,bQ as ae,bz as Ve,b as ie,aK as W,m as We,o as i,ag as k,p as w,bI as Ee,y,fc as Z,a as B,d as p,b2 as ne,bL as Le,aQ as Me,av as Ge,fP as Ue,gU as Je,n as Xe,ak as O,aZ as Ze,jh as _e,jU as qe,be as Qe,eH as et,d5 as tt,fM as it,kO as ot,iT as Oe,iU as Ae,cq as rt,iK as at,iL as nt,kP as st,bO as lt,al as E,cv as le,iS as dt,cy as ct}from"./index-Dm9r1f6s.js";import{a as f,S as ht}from"./core-B-FNbYlu.js";import{n as o,b as de}from"./mui-DLNyBjYF.js";import{bO as G,c3 as pt}from"./zeni-epic-state-HWtMOH-U.js";import{s as xt}from"./commonDimensions-B-aZt-hB-CP54iB8v.js";import{g as ce}from"./BoxItem-usHxaONy-yqmV2_EE.js";import{o as mt}from"./transaction-placeholder-CpOwZAMG-R9RAntKW.js";import{o as gt}from"./shield-DOlUxcFf-DYYbm8md.js";import{h as he,A as pe,X as xe,Y as me,a as ge,T as ut}from"./recharts-Cnl2EvUV.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./lexical-DPEnH3HH.js";const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,yt={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new y(120,250,400,400,500)},ft={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new y(100,120,200,250,300)},wt={key:"amount",value:se.amount,sortOrder:"ascending",width:new y(80,100,150,180,200)},oe=()=>[yt,ft,wt],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new y(p[0],p[4]),headerLastColumnRightPadding:new y(p[3],p[11]),headerLastColumnBottomPadding:new y(p[0],p[4]),headerLastColumnLeftPadding:new y(p[3],p[11]),headerHeight:new y(Oe,Ae),sortIconSize:new y(p[2],p[2]),headerPaddingTop:new y(p[0],2)};function $t({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const h=M(),l=C(),[a,u]=f.useState(oe());f.useEffect(()=>{const c=[...a];for(const s of c)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";u(c)},[r.sortKey,r.sortOrder]);const d=(c,s)=>{let g=s;r.sortKey===c&&(g=s==="ascending"?"descending":"ascending"),n(c,g)},m=a.find(c=>c.key===r.sortKey)??a[0],x=c=>a.find(s=>s.key===c)?.value??"",$=a.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(St,{windowSize:l,children:[t.jsxs(zt,{children:[t.jsx(Dt,{children:t.jsx(Pt,{})}),t.jsx(lt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Mt,{onClick:()=>d(m.key,m.sortOrder),"data-testid":W("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:m.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:m,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===m.key,children:t.jsx(le,{})})})]})]}):t.jsx(vt,{windowSize:l,children:t.jsx(bt,{children:a.map(c=>c.width.value(l)!==0&&t.jsxs(kt,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Lt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":W("cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:c,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===c.key,children:t.jsx(le,{})})})]}),t.jsx(Tt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===c.key&&c.key!=="date",children:t.jsx(Ct,{onClick:()=>d("date","ascending"),"data-testid":W("cards-list-sort-cancel",r.sortKey)})})]},c.key))})})}const jt=ht.memo($t),vt=o.div`
2
2
  top: ${i.sp0};
3
3
  left: ${i.sp0};
4
4
  z-index: 2;
@@ -1,4 +1,4 @@
1
- import{e as ce,q as V,av as $e,a7 as fe,aN as ye,F as A,V as r,bz as ke,fo as je,b2 as be,o as t,jh as Se,bQ as ze,ag as j,n as Z,aK as J,a as $,ap as F,p as a,y as z,ak as R,d5 as ve,bS as Le,l as Me,al as Pe,f6 as Be,d as h,dK as Ee,bd as Te,D as Ie,L as De,b as ee,d0 as We}from"./index-BhteR_e0.js";import{a as s,S as _e}from"./core-B-FNbYlu.js";import{n as i}from"./mui-DLNyBjYF.js";import{Ga as Re}from"./zeni-epic-state-HWtMOH-U.js";import{I as Ne,N as Ge}from"./VideoPlayer-D0GZ_Yml-CzUqkm8K.js";import{r as He}from"./auto-transfer-rule-mbafm5D3-BCnmjSj0.js";import{o as Ve}from"./shield-DOlUxcFf-DYYbm8md.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";const Ae=({isOpen:e,onClose:C})=>{const c=V(),x=A.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Be,{anchor:"right",slotProps:{paper:{sx:{width:c==="small"||c==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:C,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Fe,{windowSize:c,children:[r.jsx(Oe,{children:r.jsx(Ye,{onClick:C})}),r.jsxs(qe,{children:[r.jsx(Ue,{windowSize:c,children:x.agreementDrawer.title}),r.jsx(re,{children:x.agreementDrawer.intro}),r.jsx(G,{children:x.agreementDrawer.introBullets.map((p,w)=>r.jsx(ie,{children:p},w))}),r.jsx(G,{children:x.agreementDrawer.documents.map((p,w)=>r.jsx(Xe,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Qe,{children:p.links.map((g,k)=>r.jsx(Ze,{children:g.link!==""?r.jsx(te,{href:g.link,target:"_blank",rel:"noopener noreferrer",children:g.text}):g.text},k))}):r.jsx(te,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(re,{style:{marginTop:t.sp2},children:x.agreementDrawer.confirmTitle}),r.jsx(G,{children:x.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(ie,{children:p},w))})]})]})})},Fe=i.div`
1
+ import{e as ce,q as V,av as $e,a7 as fe,aN as ye,F as A,V as r,bz as ke,fo as je,b2 as be,o as t,jh as Se,bQ as ze,ag as j,n as Z,aK as J,a as $,ap as F,p as a,y as z,ak as R,d5 as ve,bS as Le,l as Me,al as Pe,f6 as Be,d as h,dK as Ee,bd as Te,D as Ie,L as De,b as ee,d0 as We}from"./index-Dm9r1f6s.js";import{a as s,S as _e}from"./core-B-FNbYlu.js";import{n as i}from"./mui-DLNyBjYF.js";import{Ga as Re}from"./zeni-epic-state-HWtMOH-U.js";import{I as Ne,N as Ge}from"./VideoPlayer-D0GZ_Yml-gee9OAo-.js";import{r as He}from"./auto-transfer-rule-mbafm5D3-BCnmjSj0.js";import{o as Ve}from"./shield-DOlUxcFf-DYYbm8md.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";const Ae=({isOpen:e,onClose:C})=>{const c=V(),x=A.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Be,{anchor:"right",slotProps:{paper:{sx:{width:c==="small"||c==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:C,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Fe,{windowSize:c,children:[r.jsx(Oe,{children:r.jsx(Ye,{onClick:C})}),r.jsxs(qe,{children:[r.jsx(Ue,{windowSize:c,children:x.agreementDrawer.title}),r.jsx(re,{children:x.agreementDrawer.intro}),r.jsx(G,{children:x.agreementDrawer.introBullets.map((p,w)=>r.jsx(ie,{children:p},w))}),r.jsx(G,{children:x.agreementDrawer.documents.map((p,w)=>r.jsx(Xe,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Qe,{children:p.links.map((g,k)=>r.jsx(Ze,{children:g.link!==""?r.jsx(te,{href:g.link,target:"_blank",rel:"noopener noreferrer",children:g.text}):g.text},k))}):r.jsx(te,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(re,{style:{marginTop:t.sp2},children:x.agreementDrawer.confirmTitle}),r.jsx(G,{children:x.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(ie,{children:p},w))})]})]})})},Fe=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{e as j,q as v,V as e,bz as z,F as P,b1 as C,o as r,p as c,cq as I,y as B,d,ak as E}from"./index-BhteR_e0.js";import{a as m}from"./core-B-FNbYlu.js";import{n as o}from"./mui-DLNyBjYF.js";import{$ as L}from"./BoxItem-usHxaONy-BSYmkNdH.js";import{o as M}from"./commonDimensions-B-aZt-hB-CyMsSMR_.js";import{O as R}from"./StatementItem-BnxTFgdM-ncI51LoG.js";import"./sentry-EYLV4XmG.js";import"./zeni-epic-state-HWtMOH-U.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";import"./downloadPdf-BhQlJMh0-BaxCiwAc.js";const p=P.getLocalizedStrings().spendManagement.treasury.statements,w={listItemMargin:new B(d[3],d[8])},rt=({currentTenantCompanyName:t,authParams:x,downloadEndPoint:b,statementListView:a,onBackClick:u})=>{const g=j(),i=v(),f=m.createRef(),y=m.useRef(),$=a.statements.length===0,k=()=>M.transactionItemHeightResponsive.value(i),S=({index:s,style:n})=>{const l=a.statements[s];return $===!1?e.jsx(h,{windowSize:i,style:{...n,width:`calc(100% - 2*${w.listItemMargin.valuePx(i)})`},children:e.jsx(R,{currentTenantCompanyName:t,accountLast4:"",data:l,authParams:x,downloadEndPoint:b,documentType:"treasuryStatement",boxType:L(s,a.statements.length)},l.id)}):e.jsx(T,{style:{...n},children:e.jsx(N,{children:e.jsx(h,{windowSize:i,children:e.jsx(q,{children:p.noStatements})})})})};return e.jsxs(V,{children:[e.jsx(z,{title:p.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:u,source:"treasury"}),e.jsx(H,{windowSize:i,children:e.jsx(C,{children:({height:s,width:n})=>e.jsx(K,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},T=o.div``,h=o.div`
1
+ import{e as j,q as v,V as e,bz as z,F as P,b1 as C,o as r,p as c,cq as I,y as B,d,ak as E}from"./index-Dm9r1f6s.js";import{a as m}from"./core-B-FNbYlu.js";import{n as o}from"./mui-DLNyBjYF.js";import{$ as L}from"./BoxItem-usHxaONy-yqmV2_EE.js";import{o as M}from"./commonDimensions-B-aZt-hB-CP54iB8v.js";import{O as R}from"./StatementItem-BnxTFgdM-BUy1CSEA.js";import"./sentry-EYLV4XmG.js";import"./zeni-epic-state-HWtMOH-U.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";import"./downloadPdf-BhQlJMh0-DeqZGQ39.js";const p=P.getLocalizedStrings().spendManagement.treasury.statements,w={listItemMargin:new B(d[3],d[8])},rt=({currentTenantCompanyName:t,authParams:x,downloadEndPoint:b,statementListView:a,onBackClick:u})=>{const g=j(),i=v(),f=m.createRef(),y=m.useRef(),$=a.statements.length===0,k=()=>M.transactionItemHeightResponsive.value(i),S=({index:s,style:n})=>{const l=a.statements[s];return $===!1?e.jsx(h,{windowSize:i,style:{...n,width:`calc(100% - 2*${w.listItemMargin.valuePx(i)})`},children:e.jsx(R,{currentTenantCompanyName:t,accountLast4:"",data:l,authParams:x,downloadEndPoint:b,documentType:"treasuryStatement",boxType:L(s,a.statements.length)},l.id)}):e.jsx(T,{style:{...n},children:e.jsx(N,{children:e.jsx(h,{windowSize:i,children:e.jsx(q,{children:p.noStatements})})})})};return e.jsxs(V,{children:[e.jsx(z,{title:p.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:u,source:"treasury"}),e.jsx(H,{windowSize:i,children:e.jsx(C,{children:({height:s,width:n})=>e.jsx(K,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},T=o.div``,h=o.div`
2
2
  margin: ${t=>`${r.sp0} ${w.listItemMargin.valuePx(t.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{e as v,q as L,V as t,bz as S,F as z,b1 as P,o as r,p as c,cq as C,y as I,d,ak as T}from"./index-BhteR_e0.js";import{a as p}from"./core-B-FNbYlu.js";import{n as o}from"./mui-DLNyBjYF.js";import{$ as B}from"./BoxItem-usHxaONy-BSYmkNdH.js";import{o as E}from"./commonDimensions-B-aZt-hB-CyMsSMR_.js";import{O as M}from"./StatementItem-BnxTFgdM-ncI51LoG.js";import"./sentry-EYLV4XmG.js";import"./zeni-epic-state-HWtMOH-U.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";import"./downloadPdf-BhQlJMh0-BaxCiwAc.js";const h=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new I(d[3],d[8])},re=({currentTenantCompanyName:e,authParams:w,downloadEndPoint:b,taxLetterListView:a,onBackClick:g})=>{const u=v(),i=L(),f=p.createRef(),y=p.useRef(),$=a.taxLetters.length===0,k=()=>E.transactionItemHeightResponsive.value(i),j=({index:s,style:n})=>{const l=a.taxLetters[s];return $===!1?t.jsx(m,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:w,downloadEndPoint:b,documentType:"taxLetter",boxType:B(s,a.taxLetters.length)},l.id)}):t.jsx(R,{style:{...n},children:t.jsx(N,{children:t.jsx(m,{windowSize:i,children:t.jsx(q,{children:h.noTaxLetter})})})})};return t.jsxs(V,{children:[t.jsx(S,{title:h.title,backgroundColor:u.colors.grey4,style:{zIndex:3},onBackClick:g,source:"treasury"}),t.jsx(H,{windowSize:i,children:t.jsx(P,{children:({height:s,width:n})=>t.jsx(K,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.taxLetters.length,itemSize:k,initialScrollOffset:0,children:j})})})]})},R=o.div``,m=o.div`
1
+ import{e as v,q as L,V as t,bz as S,F as z,b1 as P,o as r,p as c,cq as C,y as I,d,ak as T}from"./index-Dm9r1f6s.js";import{a as p}from"./core-B-FNbYlu.js";import{n as o}from"./mui-DLNyBjYF.js";import{$ as B}from"./BoxItem-usHxaONy-yqmV2_EE.js";import{o as E}from"./commonDimensions-B-aZt-hB-CP54iB8v.js";import{O as M}from"./StatementItem-BnxTFgdM-BUy1CSEA.js";import"./sentry-EYLV4XmG.js";import"./zeni-epic-state-HWtMOH-U.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";import"./downloadPdf-BhQlJMh0-DeqZGQ39.js";const h=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new I(d[3],d[8])},re=({currentTenantCompanyName:e,authParams:w,downloadEndPoint:b,taxLetterListView:a,onBackClick:g})=>{const u=v(),i=L(),f=p.createRef(),y=p.useRef(),$=a.taxLetters.length===0,k=()=>E.transactionItemHeightResponsive.value(i),j=({index:s,style:n})=>{const l=a.taxLetters[s];return $===!1?t.jsx(m,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:w,downloadEndPoint:b,documentType:"taxLetter",boxType:B(s,a.taxLetters.length)},l.id)}):t.jsx(R,{style:{...n},children:t.jsx(N,{children:t.jsx(m,{windowSize:i,children:t.jsx(q,{children:h.noTaxLetter})})})})};return t.jsxs(V,{children:[t.jsx(S,{title:h.title,backgroundColor:u.colors.grey4,style:{zIndex:3},onBackClick:g,source:"treasury"}),t.jsx(H,{windowSize:i,children:t.jsx(P,{children:({height:s,width:n})=>t.jsx(K,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.taxLetters.length,itemSize:k,initialScrollOffset:0,children:j})})})]})},R=o.div``,m=o.div`
2
2
  margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{F as $,V as s,e as P,aK as k,b1 as B,b as w,aV as R,o as L,p as z,ak as A}from"./index-BhteR_e0.js";import{a as v,S as O}from"./core-B-FNbYlu.js";import{EP as u}from"./zeni-epic-state-HWtMOH-U.js";import{d as V,g as M,p as D,u as q}from"./chartTypes-BZYC5y5J-fsutalT0.js";import{n as j}from"./mui-DLNyBjYF.js";import{o as K}from"./toCOABalancesWithID-ChMShONK-DKVddnaL.js";import{V as _}from"./toChartData-BUweupH8-9P9fGujj.js";import{B as G,C as N,X as W,Y as X,T as Q,R as Z,b as H}from"./recharts-Cnl2EvUV.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./lexical-DPEnH3HH.js";const I=j.div`
1
+ import{F as $,V as s,e as P,aK as k,b1 as B,b as w,aV as R,o as L,p as z,ak as A}from"./index-Dm9r1f6s.js";import{a as v,S as O}from"./core-B-FNbYlu.js";import{EP as u}from"./zeni-epic-state-HWtMOH-U.js";import{d as V,g as M,p as D,u as q}from"./chartTypes-BZYC5y5J-CVmMioA0.js";import{n as j}from"./mui-DLNyBjYF.js";import{o as K}from"./toCOABalancesWithID-ChMShONK-Cq-mLDe3.js";import{V as _}from"./toChartData-BUweupH8-sZruIW4t.js";import{B as G,C as N,X as W,Y as X,T as Q,R as Z,b as H}from"./recharts-Cnl2EvUV.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./lexical-DPEnH3HH.js";const I=j.div`
2
2
  display: flex;
3
3
  `,J=j.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{q as H,V as i,m as R,o as t,F as b,y as c,aK as S,b1 as V,b5 as Y,D as A,d as a,ak as E,L as K}from"./index-BhteR_e0.js";import{a as D}from"./core-B-FNbYlu.js";import{n}from"./mui-DLNyBjYF.js";import W from"./TrendChart-DiutckSt-CgHLzJj6.js";import{C as _}from"./NoDataChart-DMivligx-DVgr9SAl.js";import{q as X}from"./InsightsSection-7-T67WeF-BlMRO9Ba.js";import{f as Z}from"./TransactionList-BRiHadkm-BVpjF8up.js";const G=n.div`
1
+ import{q as H,V as i,m as R,o as t,F as b,y as c,aK as S,b1 as V,b5 as Y,D as A,d as a,ak as E,L as K}from"./index-Dm9r1f6s.js";import{a as D}from"./core-B-FNbYlu.js";import{n}from"./mui-DLNyBjYF.js";import W from"./TrendChart-DiutckSt-D94T5IZh.js";import{C as _}from"./NoDataChart-DMivligx-CY99ibCB.js";import{q as X}from"./InsightsSection-7-T67WeF-R1I0UTTj.js";import{f as Z}from"./TransactionList-BRiHadkm-DPpaSQ1Y.js";const G=n.div`
2
2
  display: inline-block;
3
3
  `,J=n.div`
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{e as ie,q as ce,av as Ke,aN as en,gA as I,hI as U,F as H,a8 as nn,hJ as tn,hK as je,cB as on,V as t,bz as cn,cm as sn,cn as an,co as ln,ab as dn,hL as rn,m as un,hM as Z,hN as pn,aO as mn,fs as gn,hO as Ve,y as u,ak as xn,o as a,cO as ye,aS as W,gF as te,hP as oe,d as r,a as fe,p as Ae,g0 as _e,ag as $e,bg as hn}from"./index-BhteR_e0.js";import{a as Y}from"./core-B-FNbYlu.js";import{n as s}from"./mui-DLNyBjYF.js";import{Fz as Te,Fe as wn,Ff as bn,FA as yn}from"./zeni-epic-state-HWtMOH-U.js";import{h as fn}from"./VendorsAccountsSection-D-3fhQvy-ODF-nF1J.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},qe={title:new fe("standardMedium","largeMedium")},An=s.div`
1
+ import{e as ie,q as ce,av as Ke,aN as en,gA as I,hI as U,F as H,a8 as nn,hJ as tn,hK as je,cB as on,V as t,bz as cn,cm as sn,cn as an,co as ln,ab as dn,hL as rn,m as un,hM as Z,hN as pn,aO as mn,fs as gn,hO as Ve,y as u,ak as xn,o as a,cO as ye,aS as W,gF as te,hP as oe,d as r,a as fe,p as Ae,g0 as _e,ag as $e,bg as hn}from"./index-Dm9r1f6s.js";import{a as Y}from"./core-B-FNbYlu.js";import{n as s}from"./mui-DLNyBjYF.js";import{Fz as Te,Fe as wn,Ff as bn,FA as yn}from"./zeni-epic-state-HWtMOH-U.js";import{h as fn}from"./VendorsAccountsSection-D-3fhQvy-CbP2SER5.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},qe={title:new fe("standardMedium","largeMedium")},An=s.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>C.rowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{aN as b,V as t,hR as W,hS as R,q as O,F as T,cm as L,ad as $,cn as N,co as U,a8 as _,ab as G,cK as H,cG as F,y as g,cH as M,p as z,an as J,m as K,n as Q,o as i,ak as X,d as D,ap as Y,b8 as Z}from"./index-BhteR_e0.js";import{a as c}from"./core-B-FNbYlu.js";import{n as f}from"./mui-DLNyBjYF.js";import{bO as ee,bj as te}from"./zeni-epic-state-HWtMOH-U.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(D[3],D[2]),width:new g(300,420,420)},ie=f.div`
1
+ import{aN as b,V as t,hR as W,hS as R,q as O,F as T,cm as L,ad as $,cn as N,co as U,a8 as _,ab as G,cK as H,cG as F,y as g,cH as M,p as z,an as J,m as K,n as Q,o as i,ak as X,d as D,ap as Y,b8 as Z}from"./index-Dm9r1f6s.js";import{a as c}from"./core-B-FNbYlu.js";import{n as f}from"./mui-DLNyBjYF.js";import{bO as ee,bj as te}from"./zeni-epic-state-HWtMOH-U.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(D[3],D[2]),width:new g(300,420,420)},ie=f.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{a8 as U,ft as y,aN as k,q,F as A,V as i,cB as W,ab as _,aK as K,fu as X,o as a,p as G,cL as H,aO as J,y as x,L as Q,D as Y,b8 as Z,b7 as ee,d as c}from"./index-BhteR_e0.js";import{a as m}from"./core-B-FNbYlu.js";import{n as l}from"./mui-DLNyBjYF.js";import{Et as te}from"./zeni-epic-state-HWtMOH-U.js";const F={marginRight:new x(c[3],c[8]),marginLeft:new x(c[3],c[8]),height:new x(c[5],62)},f="additionalDocumentsForm",s="ssnCard";function pe(e){const{filesEndPoint:w,authParams:D,companyOfficer:t,updateStatus:u,onClose:$,onEditFileName:E,onDeleteFile:I,updateFilesEntity:v,onSendForVerificationClick:N,onCompanyOfficerUpdated:P}=e,n=U({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:y(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[z,b]=m.useState(!1),[C,L]=m.useState(!1),S=k(u.fetchState),j=t?.deleteFileStatusById??{},O=t?.updateFileStatusById??{},B=Object.values(j??{}).filter(o=>o!=null),T=te(B);m.useEffect(()=>{S==="In-Progress"&&u.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:y(!0,t?.additionalFiles??[],s)}})},[S,u,n,t?.additionalFiles]);const r=q(),h=A.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=h,V=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,M=n.handleSubmit(()=>{T.fetchState!=="In-Progress"&&N?.(t?.officerType??"Officer_1")}),R=async(o,p)=>{const d=p[f].front;o.includes("front")&&d?.fileId!=null?(P?.(t?.officerType??"Officer_1",[d?.fileId]),b(!0)):b(!1)};return m.useEffect(()=>{const o=n.watch((p,{name:d})=>{d!=null&&p!=null&&W(()=>R(d,p))});return()=>{o.unsubscribe()}}),i.jsx(_,{...n,children:i.jsxs("form",{id:f,onSubmit:M,children:[i.jsxs(re,{size:r,children:[i.jsx(oe,{size:r,children:i.jsx(ne,{size:r,onClick:$,"data-testid":K("upload-additional-documents-close",f)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(le,{children:i.jsx(se,{children:V})}),i.jsx(X,{name:f,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:H,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${G.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:y(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:O,filesEndPoint:w,authParams:D,hasError:C,onEditFileName:E,onDeleteFile:I,updateFilesEntity:v,onFileSizeError:o=>L(o),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),z?i.jsx(J,{formId:f,primaryBtn:{label:h.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"},cancelBtn:{label:h.cancel,style:{width:r==="small"?"auto":"181px"},onClick:$},style:{position:"absolute",width:"100%"}}):null]})})}const ie=l(Y)`
1
+ import{a8 as U,ft as y,aN as k,q,F as A,V as i,cB as W,ab as _,aK as K,fu as X,o as a,p as G,cL as H,aO as J,y as x,L as Q,D as Y,b8 as Z,b7 as ee,d as c}from"./index-Dm9r1f6s.js";import{a as m}from"./core-B-FNbYlu.js";import{n as l}from"./mui-DLNyBjYF.js";import{Et as te}from"./zeni-epic-state-HWtMOH-U.js";const F={marginRight:new x(c[3],c[8]),marginLeft:new x(c[3],c[8]),height:new x(c[5],62)},f="additionalDocumentsForm",s="ssnCard";function pe(e){const{filesEndPoint:w,authParams:D,companyOfficer:t,updateStatus:u,onClose:$,onEditFileName:E,onDeleteFile:I,updateFilesEntity:v,onSendForVerificationClick:N,onCompanyOfficerUpdated:P}=e,n=U({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:y(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[z,b]=m.useState(!1),[C,L]=m.useState(!1),S=k(u.fetchState),j=t?.deleteFileStatusById??{},O=t?.updateFileStatusById??{},B=Object.values(j??{}).filter(o=>o!=null),T=te(B);m.useEffect(()=>{S==="In-Progress"&&u.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:y(!0,t?.additionalFiles??[],s)}})},[S,u,n,t?.additionalFiles]);const r=q(),h=A.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=h,V=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,M=n.handleSubmit(()=>{T.fetchState!=="In-Progress"&&N?.(t?.officerType??"Officer_1")}),R=async(o,p)=>{const d=p[f].front;o.includes("front")&&d?.fileId!=null?(P?.(t?.officerType??"Officer_1",[d?.fileId]),b(!0)):b(!1)};return m.useEffect(()=>{const o=n.watch((p,{name:d})=>{d!=null&&p!=null&&W(()=>R(d,p))});return()=>{o.unsubscribe()}}),i.jsx(_,{...n,children:i.jsxs("form",{id:f,onSubmit:M,children:[i.jsxs(re,{size:r,children:[i.jsx(oe,{size:r,children:i.jsx(ne,{size:r,onClick:$,"data-testid":K("upload-additional-documents-close",f)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(le,{children:i.jsx(se,{children:V})}),i.jsx(X,{name:f,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:H,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${G.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:y(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:O,filesEndPoint:w,authParams:D,hasError:C,onEditFileName:E,onDeleteFile:I,updateFilesEntity:v,onFileSizeError:o=>L(o),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),z?i.jsx(J,{formId:f,primaryBtn:{label:h.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"},cancelBtn:{label:h.cancel,style:{width:r==="small"?"auto":"181px"},onClick:$},style:{position:"absolute",width:"100%"}}):null]})})}const ie=l(Y)`
2
2
  margin-top: 19px;
3
3
  color: ${e=>e.theme.colors.primary};
4
4
  margin-bottom: ${a.sp2};
@@ -1 +1 @@
1
- import{aN as s,F as v,V as i,hR as y,hS as b}from"./index-BhteR_e0.js";import{a as e}from"./core-B-FNbYlu.js";import"./mui-DLNyBjYF.js";import"./sentry-EYLV4XmG.js";import"./zeni-epic-state-HWtMOH-U.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";const A=({vendorViewDetails:S,isExpressPayPage:n,onSaveVendor:l,onGetOtp:h,onResendOtp:d,onVerifyOtp:m,onVerifyOtpSuccess:c})=>{const{loggedInUserVerification:t,editVendorState:V,newVendorState:g}=S,r=Object.assign({},V??g),[C,a]=e.useState(!1),[O,o]=e.useState(t.initiateVerification===!0),p=s(r?.saveStatus?.fetchState),x=s(t.userVerificationStatus.fetchState),f=s(t.otpVerificationStatus?.fetchState),u=s(t.sendOtpStatus.fetchState),P=v.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return e.useEffect(()=>{p==="In-Progress"&&r?.saveStatus?.fetchState==="Error"&&t.initiateVerification===!0&&o(!0)},[r,t,p]),e.useEffect(()=>{x==="In-Progress"&&t.userVerificationStatus.fetchState==="Completed"&&(a(!1),l())},[t.userVerificationStatus]),e.useEffect(()=>{f==="In-Progress"&&t.otpVerificationStatus?.fetchState==="Completed"&&c?.(t.userId??"",t.phone??"",t.otpChallenge??"")},[f,t,c]),e.useEffect(()=>{u==="In-Progress"&&t.sendOtpStatus.fetchState==="Completed"&&(a(!0),o(!1))},[u,t.sendOtpStatus.fetchState]),i.jsx(i.Fragment,{children:C===!0?i.jsx(y,{showHelperText:!n,verifyOtpFetchState:t.otpVerificationStatus.fetchState,phoneNumber:t.phone??"",otpChallenge:t.otpChallenge,action:{onVerifyClick:m,onCancelClick:()=>a(!1),onResendOtp:d,onEditButtonClick:()=>{o(!0),a(!1)}}}):O===!0?i.jsx(b,{showHelperText:!n,phoneNumber:t.phone??"",sendOtpFetchState:t.sendOtpStatus.fetchState,description:n?P:void 0,action:{onCancelClick:()=>o(!1),onGetCodeClick:E=>h?.(E)}}):null})};export{A as default};
1
+ import{aN as s,F as v,V as i,hR as y,hS as b}from"./index-Dm9r1f6s.js";import{a as e}from"./core-B-FNbYlu.js";import"./mui-DLNyBjYF.js";import"./sentry-EYLV4XmG.js";import"./zeni-epic-state-HWtMOH-U.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";const A=({vendorViewDetails:S,isExpressPayPage:n,onSaveVendor:l,onGetOtp:h,onResendOtp:d,onVerifyOtp:m,onVerifyOtpSuccess:c})=>{const{loggedInUserVerification:t,editVendorState:V,newVendorState:g}=S,r=Object.assign({},V??g),[C,a]=e.useState(!1),[O,o]=e.useState(t.initiateVerification===!0),p=s(r?.saveStatus?.fetchState),x=s(t.userVerificationStatus.fetchState),f=s(t.otpVerificationStatus?.fetchState),u=s(t.sendOtpStatus.fetchState),P=v.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return e.useEffect(()=>{p==="In-Progress"&&r?.saveStatus?.fetchState==="Error"&&t.initiateVerification===!0&&o(!0)},[r,t,p]),e.useEffect(()=>{x==="In-Progress"&&t.userVerificationStatus.fetchState==="Completed"&&(a(!1),l())},[t.userVerificationStatus]),e.useEffect(()=>{f==="In-Progress"&&t.otpVerificationStatus?.fetchState==="Completed"&&c?.(t.userId??"",t.phone??"",t.otpChallenge??"")},[f,t,c]),e.useEffect(()=>{u==="In-Progress"&&t.sendOtpStatus.fetchState==="Completed"&&(a(!0),o(!1))},[u,t.sendOtpStatus.fetchState]),i.jsx(i.Fragment,{children:C===!0?i.jsx(y,{showHelperText:!n,verifyOtpFetchState:t.otpVerificationStatus.fetchState,phoneNumber:t.phone??"",otpChallenge:t.otpChallenge,action:{onVerifyClick:m,onCancelClick:()=>a(!1),onResendOtp:d,onEditButtonClick:()=>{o(!0),a(!1)}}}):O===!0?i.jsx(b,{showHelperText:!n,phoneNumber:t.phone??"",sendOtpFetchState:t.sendOtpStatus.fetchState,description:n?P:void 0,action:{onCancelClick:()=>o(!1),onGetCodeClick:E=>h?.(E)}}):null})};export{A as default};
@@ -1 +1 @@
1
- import{V as d}from"./index-BhteR_e0.js";import{a as u}from"./core-B-FNbYlu.js";import{f as k}from"./ACHDetailsPage-BUP-_2-W-BxsdzxJg.js";import"./mui-DLNyBjYF.js";import"./sentry-EYLV4XmG.js";import"./zeni-epic-state-HWtMOH-U.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";import"./BankAccountWarningSection-DHdeDi15-DsdgRhNS.js";import"./MagicLinkTitleSection-DnN52Uwb-aNaCMrDN.js";import"./BankAccountSection-BVZK5jmO-oboSifeA.js";const H=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:m})=>{const{bankAccountCreationState:o,bankNameByRouting:c,bankAccountToCreate:s,fetchBankNameByRoutingStatus:p}=t;return u.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),d.jsx(k,{bankAccountToCreate:s,bankAccountCreationState:o,bankNameByRouting:c,fetchBankNameByRoutingStatus:p,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:m})};export{H as default};
1
+ import{V as d}from"./index-Dm9r1f6s.js";import{a as u}from"./core-B-FNbYlu.js";import{f as k}from"./ACHDetailsPage-BUP-_2-W-gKUKs0Pb.js";import"./mui-DLNyBjYF.js";import"./sentry-EYLV4XmG.js";import"./zeni-epic-state-HWtMOH-U.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";import"./BankAccountWarningSection-DHdeDi15-M9LQMU5u.js";import"./MagicLinkTitleSection-DnN52Uwb-Cs_fy5V9.js";import"./BankAccountSection-BVZK5jmO-CjTZMznk.js";const H=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:m})=>{const{bankAccountCreationState:o,bankNameByRouting:c,bankAccountToCreate:s,fetchBankNameByRoutingStatus:p}=t;return u.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),d.jsx(k,{bankAccountToCreate:s,bankAccountCreationState:o,bankNameByRouting:c,fetchBankNameByRoutingStatus:p,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:m})};export{H as default};
@@ -1,4 +1,4 @@
1
- import{F as _,e as Be,q as ae,y as g,aA as ye,cD as xt,a8 as yt,h1 as Re,h2 as Ae,h3 as Ee,h4 as be,h5 as bt,aS as ft,cB as wt,V as t,bz as Ct,ab as $t,h6 as St,h7 as ge,d as l,cC as Dt,aO as jt,o,bM as S,cO as Lt,gF as fe,h8 as Tt,cE as Vt,cF as kt,cG as Ot,h9 as It,g8 as Pt,cM as Mt,ha as zt,hb as Ft,p as F,dp as _t,dn as Nt,c_ as Wt,aV as re,b5 as Ue,ag as qe,dq as Ht,aZ as Bt,hc as Rt,hd as At,ak as Et,he as Ut,cf as Ze,hf as qt,a as we,B as Ye}from"./index-BhteR_e0.js";import{a as $}from"./core-B-FNbYlu.js";import{n as a,b as Zt}from"./mui-DLNyBjYF.js";import{bi as Ce,Fv as Yt,Fw as Gt}from"./zeni-epic-state-HWtMOH-U.js";import{k as Qt}from"./SubTabSwitcher-4dvyyQSv-BdqA6ZlC.js";import{f as Xt}from"./TransactionList-BRiHadkm-BVpjF8up.js";import{R as Jt}from"./TrendWithTransactions-rPwZKHfV-DNKy45Dj.js";import{o as Kt,t as es}from"./arrow-south-east-round-PEovUgvH-DFZl4BUT.js";import{W as ts}from"./LabeledAddressValueField-CoTtV0RQ-CTJHm8Dm.js";import{Y as ss}from"./LabeledDropDownFormattedTextField-B-yUtgxR-CkZPhULB.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";import"./BoxItem-usHxaONy-BSYmkNdH.js";import"./commonDimensions-B-aZt-hB-CyMsSMR_.js";import"./TrendChart-DiutckSt-CgHLzJj6.js";import"./chartTypes-BZYC5y5J-fsutalT0.js";import"./toCOABalancesWithID-ChMShONK-DKVddnaL.js";import"./toChartData-BUweupH8-9P9fGujj.js";import"./NoDataChart-DMivligx-DVgr9SAl.js";import"./InsightsSection-7-T67WeF-BlMRO9Ba.js";import"./NavigationDots-BT-m0FmS-CJdtX5bS.js";const os=a.div`
1
+ import{F as _,e as Be,q as ae,y as g,aA as ye,cD as xt,a8 as yt,h1 as Re,h2 as Ae,h3 as Ee,h4 as be,h5 as bt,aS as ft,cB as wt,V as t,bz as Ct,ab as $t,h6 as St,h7 as ge,d as l,cC as Dt,aO as jt,o,bM as S,cO as Lt,gF as fe,h8 as Tt,cE as Vt,cF as kt,cG as Ot,h9 as It,g8 as Pt,cM as Mt,ha as zt,hb as Ft,p as F,dp as _t,dn as Nt,c_ as Wt,aV as re,b5 as Ue,ag as qe,dq as Ht,aZ as Bt,hc as Rt,hd as At,ak as Et,he as Ut,cf as Ze,hf as qt,a as we,B as Ye}from"./index-Dm9r1f6s.js";import{a as $}from"./core-B-FNbYlu.js";import{n as a,b as Zt}from"./mui-DLNyBjYF.js";import{bi as Ce,Fv as Yt,Fw as Gt}from"./zeni-epic-state-HWtMOH-U.js";import{k as Qt}from"./SubTabSwitcher-4dvyyQSv-B0aTRMDP.js";import{f as Xt}from"./TransactionList-BRiHadkm-DPpaSQ1Y.js";import{R as Jt}from"./TrendWithTransactions-rPwZKHfV-Dtp5jwDW.js";import{o as Kt,t as es}from"./arrow-south-east-round-PEovUgvH-DFZl4BUT.js";import{W as ts}from"./LabeledAddressValueField-CoTtV0RQ-oEM2MjQO.js";import{Y as ss}from"./LabeledDropDownFormattedTextField-B-yUtgxR-Svg2dZ6s.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";import"./BoxItem-usHxaONy-yqmV2_EE.js";import"./commonDimensions-B-aZt-hB-CP54iB8v.js";import"./TrendChart-DiutckSt-D94T5IZh.js";import"./chartTypes-BZYC5y5J-CVmMioA0.js";import"./toCOABalancesWithID-ChMShONK-Cq-mLDe3.js";import"./toChartData-BUweupH8-sZruIW4t.js";import"./NoDataChart-DMivligx-CY99ibCB.js";import"./InsightsSection-7-T67WeF-R1I0UTTj.js";import"./NavigationDots-BT-m0FmS-COkqBkfX.js";const os=a.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: center;
@@ -1 +1 @@
1
- import{V as S}from"./index-BhteR_e0.js";import{a as C}from"./core-B-FNbYlu.js";import{w as f}from"./DomesticWireDetailsPage-Da_3EveP-Bjb9K-P-.js";import"./mui-DLNyBjYF.js";import"./sentry-EYLV4XmG.js";import"./zeni-epic-state-HWtMOH-U.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";import"./BankAccountSection-BVZK5jmO-oboSifeA.js";import"./MagicLinkTitleSection-DnN52Uwb-aNaCMrDN.js";import"./BankAccountWarningSection-DHdeDi15-DsdgRhNS.js";import"./MailingDetailsSection-DwNF-L2Y-DJJZ9RqI.js";import"./LabeledAddressValueField-CoTtV0RQ-CTJHm8Dm.js";const H=({vendorViewDetails:r,bankAccountContext:t,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onFetchBankName:d,onAddressClick:c})=>{const{bankAccountCreationState:o,editVendorState:m,newVendorState:p,bankNameByRouting:u,bankAccountToCreate:k,fetchBankNameByRoutingStatus:l}=r,e=Object.assign({},m??p);return C.useEffect(()=>{(t==="vendor"&&o?.fetchState==="Completed"||e?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&a()},[o,e?.saveStatus?.fetchState,a,t]),S.jsx(f,{bankAccountToCreate:k,bankAccountCreationState:o,bankNameByRouting:u,addressToEdit:e?.vendorNewAddressStatus?.addressToCreate,mailingAddress:e?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onAddressClick:c,onFetchBankName:d})};export{H as default};
1
+ import{V as S}from"./index-Dm9r1f6s.js";import{a as C}from"./core-B-FNbYlu.js";import{w as f}from"./DomesticWireDetailsPage-Da_3EveP-BRE1nKx5.js";import"./mui-DLNyBjYF.js";import"./sentry-EYLV4XmG.js";import"./zeni-epic-state-HWtMOH-U.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";import"./BankAccountSection-BVZK5jmO-CjTZMznk.js";import"./MagicLinkTitleSection-DnN52Uwb-Cs_fy5V9.js";import"./BankAccountWarningSection-DHdeDi15-M9LQMU5u.js";import"./MailingDetailsSection-DwNF-L2Y-DrhhdeyV.js";import"./LabeledAddressValueField-CoTtV0RQ-oEM2MjQO.js";const H=({vendorViewDetails:r,bankAccountContext:t,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onFetchBankName:d,onAddressClick:c})=>{const{bankAccountCreationState:o,editVendorState:m,newVendorState:p,bankNameByRouting:u,bankAccountToCreate:k,fetchBankNameByRoutingStatus:l}=r,e=Object.assign({},m??p);return C.useEffect(()=>{(t==="vendor"&&o?.fetchState==="Completed"||e?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&a()},[o,e?.saveStatus?.fetchState,a,t]),S.jsx(f,{bankAccountToCreate:k,bankAccountCreationState:o,bankNameByRouting:u,addressToEdit:e?.vendorNewAddressStatus?.addressToCreate,mailingAddress:e?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onAddressClick:c,onFetchBankName:d})};export{H as default};
@@ -1,4 +1,4 @@
1
- import{q as oe,e as Ne,F as ne,a8 as ke,eU as Z,hg as de,cB as Ae,y as w,V as t,bz as Be,aK as Ee,ab as qe,cE as C,o as s,cI as We,h9 as Me,g8 as Oe,cM as Re,ha as He,hb as Ue,cU as Ze,aO as Ke,cW as Ge,eV as Ye,d as c,L as _e,bM as P,cz as Je,hh as Qe,p as F,u as Xe,cf as et,ak as ce,eD as tt,hi as st,hj as lt,hk as R,eW as it}from"./index-BhteR_e0.js";import{a as x}from"./core-B-FNbYlu.js";import{n as a}from"./mui-DLNyBjYF.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-B-yUtgxR-CkZPhULB.js";import"./sentry-EYLV4XmG.js";import"./zeni-epic-state-HWtMOH-U.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function at(e){const{loadingState:i}=e;return t.jsx(ot,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function ot({googleAPIKey:e,addressToEdit:i,sectionId:o,isDisabled:g,style:W}){const E=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(E);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:W,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:g,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(o,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:R(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:j(o,"suite"),defaultValue:i?.street[1],placeholder:u.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"city"),defaultValue:i?.city,placeholder:R(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"state"),defaultValue:i?.state,placeholder:R(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:g,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(o,"country"),placeholder:u.address.countryPlaceholder,defaultValue:Z(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(E),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=a.div`
1
+ import{q as oe,e as Ne,F as ne,a8 as ke,eU as Z,hg as de,cB as Ae,y as w,V as t,bz as Be,aK as Ee,ab as qe,cE as C,o as s,cI as We,h9 as Me,g8 as Oe,cM as Re,ha as He,hb as Ue,cU as Ze,aO as Ke,cW as Ge,eV as Ye,d as c,L as _e,bM as P,cz as Je,hh as Qe,p as F,u as Xe,cf as et,ak as ce,eD as tt,hi as st,hj as lt,hk as R,eW as it}from"./index-Dm9r1f6s.js";import{a as x}from"./core-B-FNbYlu.js";import{n as a}from"./mui-DLNyBjYF.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-B-yUtgxR-Svg2dZ6s.js";import"./sentry-EYLV4XmG.js";import"./zeni-epic-state-HWtMOH-U.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function at(e){const{loadingState:i}=e;return t.jsx(ot,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function ot({googleAPIKey:e,addressToEdit:i,sectionId:o,isDisabled:g,style:W}){const E=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(E);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:W,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:g,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(o,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:R(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:j(o,"suite"),defaultValue:i?.street[1],placeholder:u.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"city"),defaultValue:i?.city,placeholder:R(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"state"),defaultValue:i?.state,placeholder:R(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:g,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(o,"country"),placeholder:u.address.countryPlaceholder,defaultValue:Z(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(E),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=a.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  margin-left: ${s.sp3};
@@ -1,4 +1,4 @@
1
- import{q as ae,av as Nn,e as mn,a8 as et,i0 as ze,cB as nt,ax as On,i1 as re,i2 as xe,i3 as fe,i4 as be,i5 as me,F as je,V as n,hY as tt,ab as ot,bz as it,a9 as rt,cm as st,cn as at,co as lt,bS as dt,aK as Z,bL as ct,cj as mt,b1 as pt,dj as ut,cq as ht,y as w,m as gt,E as Ne,o as t,aR as In,ak as De,aQ as wt,d as c,ag as Re,cv as vt,dp as Pn,bM as Pe,bf as zn,cy as xt,bY as ft,dC as bt,b8 as Ze,br as pn,p as A,c as Tn,gT as $t,df as wn,c_ as rn,i6 as St,i7 as sn,an as yt,bQ as Ae,dM as jt,es as vn,bI as Rt,dr as Vt,n as xn,i8 as Ct,cO as kt,cW as Mt,cX as Nt,ex as Ot,al as Dn,i9 as It,bG as se,ia as fn,gH as Pt,at as zt,as as Tt,dq as Dt,b as Ln,a as Lt,s as _t,aT as dn}from"./index-BhteR_e0.js";import{a as f,c as Bt}from"./core-B-FNbYlu.js";import{n as o,b as cn}from"./mui-DLNyBjYF.js";import{gv as Ft,FD as At}from"./zeni-epic-state-HWtMOH-U.js";import{P as Et}from"./Menu-D0jF6uaE-AMW53cTN.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";const _n=({steps:e})=>{const s=ae();return n.jsx(Ut,{windowSize:s,children:e.map((m,d)=>n.jsxs(qt,{children:[n.jsx(Gt,{children:d!==e.length-1?d+1:n.jsx(Qt,{})}),n.jsx(Ht,{children:m}),d<e.length-1?n.jsx(Wt,{}):null]},`step_${d}`))})},qt=o.div`
1
+ import{q as ae,av as Nn,e as mn,a8 as et,i0 as ze,cB as nt,ax as On,i1 as re,i2 as xe,i3 as fe,i4 as be,i5 as me,F as je,V as n,hY as tt,ab as ot,bz as it,a9 as rt,cm as st,cn as at,co as lt,bS as dt,aK as Z,bL as ct,cj as mt,b1 as pt,dj as ut,cq as ht,y as w,m as gt,E as Ne,o as t,aR as In,ak as De,aQ as wt,d as c,ag as Re,cv as vt,dp as Pn,bM as Pe,bf as zn,cy as xt,bY as ft,dC as bt,b8 as Ze,br as pn,p as A,c as Tn,gT as $t,df as wn,c_ as rn,i6 as St,i7 as sn,an as yt,bQ as Ae,dM as jt,es as vn,bI as Rt,dr as Vt,n as xn,i8 as Ct,cO as kt,cW as Mt,cX as Nt,ex as Ot,al as Dn,i9 as It,bG as se,ia as fn,gH as Pt,at as zt,as as Tt,dq as Dt,b as Ln,a as Lt,s as _t,aT as dn}from"./index-Dm9r1f6s.js";import{a as f,c as Bt}from"./core-B-FNbYlu.js";import{n as o,b as cn}from"./mui-DLNyBjYF.js";import{gv as Ft,FD as At}from"./zeni-epic-state-HWtMOH-U.js";import{P as Et}from"./Menu-D0jF6uaE-063ttLpF.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";const _n=({steps:e})=>{const s=ae();return n.jsx(Ut,{windowSize:s,children:e.map((m,d)=>n.jsxs(qt,{children:[n.jsx(Gt,{children:d!==e.length-1?d+1:n.jsx(Qt,{})}),n.jsx(Ht,{children:m}),d<e.length-1?n.jsx(Wt,{}):null]},`step_${d}`))})},qt=o.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{V as t,q as Q,a8 as he,F as N,cB as ye,aA as ge,cm as be,cn as fe,co as xe,ab as ve,aO as we,y as p,eU as le,eV as Ce,o as y,b7 as $e,cO as oe,e as ne,eW as De,eX as X,cU as G,a$ as H,cE as je,ek as Te,d as a,cW as Se,aK as ke,p as V,m as Oe,a as Ae,bQ as Fe,ag as Le,bI as We}from"./index-BhteR_e0.js";import{a as R}from"./core-B-FNbYlu.js";import{n as g}from"./mui-DLNyBjYF.js";import{bi as K}from"./zeni-epic-state-HWtMOH-U.js";import{W as ze,A as Ie}from"./BankAccountWarningSection-DHdeDi15-DsdgRhNS.js";import{T as Re}from"./MailingDetailsSection-DwNF-L2Y-DJJZ9RqI.js";import{S as Pe}from"./CurrencySelectField-2hU3oIp_-CnccIVlk.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";import"./LabeledAddressValueField-CoTtV0RQ-CTJHm8Dm.js";const A={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Ae("extraSmallRegular","smallRegular")};function Ee({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:j,showAdditionalInfoLabel:k=!0}){const C=Q(),{formState:{errors:b}}=oe(),$=ne(),D=Se(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Oe,{size:"Small",start:!0})});if(k&&j||D){let c=null;return o===!0&&k&&w&&(c=t.jsx(Fe,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ue,{children:t.jsx(Ne,{})})})),t.jsxs(qe,{size:C,isError:D,hasToolTip:o,isDisabled:e!=null,children:[c,j]})}};return t.jsxs(_e,{size:C,style:f,isDisabled:e!=null,isError:D,"data-testid":ke("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:A.labelMarginLeft.value(C),marginRight:A.labelMarginRight.value(C),marginTop:A.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Be,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:A.controlHeight.value(C)}}),D?t.jsx(Me,{windowSize:C,hasError:D,children:u}):null,m()]})]})}const _e=g.div`
1
+ import{V as t,q as Q,a8 as he,F as N,cB as ye,aA as ge,cm as be,cn as fe,co as xe,ab as ve,aO as we,y as p,eU as le,eV as Ce,o as y,b7 as $e,cO as oe,e as ne,eW as De,eX as X,cU as G,a$ as H,cE as je,ek as Te,d as a,cW as Se,aK as ke,p as V,m as Oe,a as Ae,bQ as Fe,ag as Le,bI as We}from"./index-Dm9r1f6s.js";import{a as R}from"./core-B-FNbYlu.js";import{n as g}from"./mui-DLNyBjYF.js";import{bi as K}from"./zeni-epic-state-HWtMOH-U.js";import{W as ze,A as Ie}from"./BankAccountWarningSection-DHdeDi15-M9LQMU5u.js";import{T as Re}from"./MailingDetailsSection-DwNF-L2Y-DrhhdeyV.js";import{S as Pe}from"./CurrencySelectField-2hU3oIp_-C4bLV2kj.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";import"./LabeledAddressValueField-CoTtV0RQ-oEM2MjQO.js";const A={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Ae("extraSmallRegular","smallRegular")};function Ee({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:j,showAdditionalInfoLabel:k=!0}){const C=Q(),{formState:{errors:b}}=oe(),$=ne(),D=Se(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Oe,{size:"Small",start:!0})});if(k&&j||D){let c=null;return o===!0&&k&&w&&(c=t.jsx(Fe,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ue,{children:t.jsx(Ne,{})})})),t.jsxs(qe,{size:C,isError:D,hasToolTip:o,isDisabled:e!=null,children:[c,j]})}};return t.jsxs(_e,{size:C,style:f,isDisabled:e!=null,isError:D,"data-testid":ke("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:A.labelMarginLeft.value(C),marginRight:A.labelMarginRight.value(C),marginTop:A.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Be,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:A.controlHeight.value(C)}}),D?t.jsx(Me,{windowSize:C,hasError:D,children:u}):null,m()]})]})}const _e=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1 +1 @@
1
- import{V as l}from"./index-BhteR_e0.js";import{a as B}from"./core-B-FNbYlu.js";import{f as u}from"./InternationalWireSwiftDetailsPage-C5mI8dEh-MFTemI3R.js";import"./mui-DLNyBjYF.js";import"./sentry-EYLV4XmG.js";import"./zeni-epic-state-HWtMOH-U.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";import"./BankAccountWarningSection-DHdeDi15-DsdgRhNS.js";import"./MailingDetailsSection-DwNF-L2Y-DJJZ9RqI.js";import"./LabeledAddressValueField-CoTtV0RQ-CTJHm8Dm.js";import"./MagicLinkTitleSection-DnN52Uwb-aNaCMrDN.js";const g=({vendorViewDetails:n,bankAccountContext:o,isDisabled:r,onSaveHandler:i,onBankDetailsUpdated:s,onBackClick:e,onFetchBankNameBySwift:d,onAddressClick:m})=>{const{internationalBankAccountCreateStatus:a,internationalBankAccountToCreate:c,editVendorState:p,newVendorState:S,bankNameBySwift:f,fetchBankNameBySwiftStatus:k}=n,t={...p??S};return B.useEffect(()=>{(o==="vendor"&&a.fetchState==="Completed"||t?.saveStatus?.fetchState==="Completed")&&e()},[a,t?.saveStatus?.fetchState,e,o]),l.jsx(u,{bankAccountToCreate:c,bankAccountCreationState:a,bankNameBySwift:f,addressToEdit:t?.vendorNewAddressStatus?.addressToCreate,mailingAddress:t?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:k,isDisabled:r,onSaveHandler:i,onBankDetailsUpdated:s,onBackClick:e,onAddressClick:m,onFetchBankNameBySwift:d})};export{g as default};
1
+ import{V as l}from"./index-Dm9r1f6s.js";import{a as B}from"./core-B-FNbYlu.js";import{f as u}from"./InternationalWireSwiftDetailsPage-C5mI8dEh-B0sOCS9F.js";import"./mui-DLNyBjYF.js";import"./sentry-EYLV4XmG.js";import"./zeni-epic-state-HWtMOH-U.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";import"./BankAccountWarningSection-DHdeDi15-M9LQMU5u.js";import"./MailingDetailsSection-DwNF-L2Y-DrhhdeyV.js";import"./LabeledAddressValueField-CoTtV0RQ-oEM2MjQO.js";import"./MagicLinkTitleSection-DnN52Uwb-Cs_fy5V9.js";const g=({vendorViewDetails:n,bankAccountContext:o,isDisabled:r,onSaveHandler:i,onBankDetailsUpdated:s,onBackClick:e,onFetchBankNameBySwift:d,onAddressClick:m})=>{const{internationalBankAccountCreateStatus:a,internationalBankAccountToCreate:c,editVendorState:p,newVendorState:S,bankNameBySwift:f,fetchBankNameBySwiftStatus:k}=n,t={...p??S};return B.useEffect(()=>{(o==="vendor"&&a.fetchState==="Completed"||t?.saveStatus?.fetchState==="Completed")&&e()},[a,t?.saveStatus?.fetchState,e,o]),l.jsx(u,{bankAccountToCreate:c,bankAccountCreationState:a,bankNameBySwift:f,addressToEdit:t?.vendorNewAddressStatus?.addressToCreate,mailingAddress:t?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:k,isDisabled:r,onSaveHandler:i,onBankDetailsUpdated:s,onBackClick:e,onAddressClick:m,onFetchBankNameBySwift:d})};export{g as default};
@@ -1,4 +1,4 @@
1
- import{q as ie,e as oe,F as te,y as c,gA as w,aS as k,V as i,hQ as g,hP as m,o as n,a as re,p as ne,dw as se,ag as de,d as a}from"./index-BhteR_e0.js";import{n as d}from"./mui-DLNyBjYF.js";const s={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:n.sp6},L={title:new re("standardMedium","largeMedium")},le=d.div`
1
+ import{q as ie,e as oe,F as te,y as c,gA as w,aS as k,V as i,hQ as g,hP as m,o as n,a as re,p as ne,dw as se,ag as de,d as a}from"./index-Dm9r1f6s.js";import{n as d}from"./mui-DLNyBjYF.js";const s={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:n.sp6},L={title:new re("standardMedium","largeMedium")},le=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>s.rowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{aN as z,a8 as B,F as O,V as r,bP as U,a9 as d,ab as G,bQ as Q,ag as f,bR as W,o as n,n as E,bS as X,ak as L,bT as Y,bU as k,bI as Z,p as y,b8 as v,bV as q}from"./index-BhteR_e0.js";import{a as c}from"./core-B-FNbYlu.js";import{n as t}from"./mui-DLNyBjYF.js";import{bj as J}from"./zeni-epic-state-HWtMOH-U.js";import{A as K,Z as V}from"./AccountLockedInfoModal-Bq3y0K0F-DT_bUQ3U.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";import"./handshake-BPg58FML-BjSDfVm7.js";const ee=e=>{if(!e)return"";try{const s=Y(e);if(!s){const l=e.replace(/\D/g,"");if(l.length>=4){const g=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${g}`}return k(e)||e}const p=s.countryCallingCode,x=s.nationalNumber.slice(-4);return`+${p} (•••) ••• ${x}`}catch{const s=e.replace(/\D/g,"");if(s.length>=4){const p=s.slice(-4);return`+${s.slice(0,-4)||"1"} (•••) ••• ${p}`}return k(e)||e}},C=120,I=30,F=2,re="456px",te="256px",N=6,o=O.getLocalizedStrings().commonSetUp.twoFactorAuthentication,m="otpInputField",He=e=>{const s=e.verifyOtpFetchState==="In-Progress",[p,x]=c.useState(!1),[l,g]=c.useState(!1),[$,_]=c.useState(0),[b,S]=c.useState(C),[h,w]=c.useState(I),D=z(e.verifyOtpFetchState),u=B({mode:"all",reValidateMode:"onChange",defaultValues:{[m]:""}}),j=u.watch(m),P=()=>{e.onCancelVerifyDevice()},H=()=>{j.trim().length===N&&e.onVerifyOtp(j)},M=o.footerHelperText.replace(/<button_text>/,o.verify);c.useEffect(()=>{D==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(x(!0),_(i=>i+1),u.setValue(m,""))},[D,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(b<=0){g(!0);return}const i=setInterval(()=>{S(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(i)},[b]),c.useEffect(()=>{if(h<=0)return;const i=setInterval(()=>{w(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(i)},[h]);const R=i=>{const a=Math.floor(i/60),A=i%60;return`${a}:${A.toString().padStart(2,"0")}`};return r.jsx(U,{open:!0,children:r.jsxs(ne,{children:[r.jsx(d,{controller:$>F,children:r.jsx(K,{unlockDate:J().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(d,{controller:$<=F,children:r.jsx(G,{...u,children:r.jsxs(ge,{children:[r.jsxs(fe,{children:[r.jsx(oe,{children:o.verifyDeviceTitle}),r.jsx(ie,{children:o.verifyDeviceDescription}),r.jsxs(le,{children:[e.phoneNumber!=null&&r.jsx(se,{children:ee(e.phoneNumber+"")}),r.jsx(Q,{placement:"top",title:r.jsxs(f,{children:[o.changePhoneNumberHelperText,r.jsx(we,{href:`mailto:${V}`,children:V})]}),enterDelay:600,children:r.jsx(Se,{})})]})]}),r.jsxs(ce,{children:[r.jsx(W,{value:j,valueLength:6,hasError:l===!0||p===!0,style:{margin:n.sp0},onChange:i=>{u.setValue(m,i),x(!1)}}),r.jsx(d,{controller:l===!1,children:r.jsx(T,{children:r.jsxs(je,{children:[o.codeExpiresIn," ",R(b)]})})}),r.jsx(d,{controller:l===!0,children:r.jsx(T,{children:r.jsx(ye,{children:o.codeExpired})})})]}),p===!0&&l===!1?r.jsxs(r.Fragment,{children:[r.jsx(d,{controller:$>=1,children:r.jsx(ae,{children:o.incorrectCode})}),r.jsx(d,{controller:$===2,children:r.jsx(be,{children:r.jsxs(f,{children:[r.jsx(ve,{}),o.accountLockWarning]})})})]}):null,r.jsx(d,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(de,{children:[r.jsx(pe,{children:o.codeNotReceived}),r.jsx(ue,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),x(!1),g(!1),u.setValue(m,""),S(C),w(I))},children:o.resend}),h>0&&r.jsxs(he,{children:[O.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs($e,{children:[r.jsxs(xe,{children:[r.jsx(E,{label:o.cancel,onClick:P,style:{width:82}}),r.jsx(E,{variant:"primary",label:o.verify,onClick:H,style:{width:82},loading:s,disabled:j.trim().length!==N||l===!0})]}),r.jsx(me,{children:M})]})]})})})]})})},ne=t.div`
1
+ import{aN as z,a8 as B,F as O,V as r,bP as U,a9 as d,ab as G,bQ as Q,ag as f,bR as W,o as n,n as E,bS as X,ak as L,bT as Y,bU as k,bI as Z,p as y,b8 as v,bV as q}from"./index-Dm9r1f6s.js";import{a as c}from"./core-B-FNbYlu.js";import{n as t}from"./mui-DLNyBjYF.js";import{bj as J}from"./zeni-epic-state-HWtMOH-U.js";import{A as K,Z as V}from"./AccountLockedInfoModal-Bq3y0K0F-Caep-eEi.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";import"./handshake-BPg58FML-BjSDfVm7.js";const ee=e=>{if(!e)return"";try{const s=Y(e);if(!s){const l=e.replace(/\D/g,"");if(l.length>=4){const g=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${g}`}return k(e)||e}const p=s.countryCallingCode,x=s.nationalNumber.slice(-4);return`+${p} (•••) ••• ${x}`}catch{const s=e.replace(/\D/g,"");if(s.length>=4){const p=s.slice(-4);return`+${s.slice(0,-4)||"1"} (•••) ••• ${p}`}return k(e)||e}},C=120,I=30,F=2,re="456px",te="256px",N=6,o=O.getLocalizedStrings().commonSetUp.twoFactorAuthentication,m="otpInputField",He=e=>{const s=e.verifyOtpFetchState==="In-Progress",[p,x]=c.useState(!1),[l,g]=c.useState(!1),[$,_]=c.useState(0),[b,S]=c.useState(C),[h,w]=c.useState(I),D=z(e.verifyOtpFetchState),u=B({mode:"all",reValidateMode:"onChange",defaultValues:{[m]:""}}),j=u.watch(m),P=()=>{e.onCancelVerifyDevice()},H=()=>{j.trim().length===N&&e.onVerifyOtp(j)},M=o.footerHelperText.replace(/<button_text>/,o.verify);c.useEffect(()=>{D==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(x(!0),_(i=>i+1),u.setValue(m,""))},[D,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(b<=0){g(!0);return}const i=setInterval(()=>{S(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(i)},[b]),c.useEffect(()=>{if(h<=0)return;const i=setInterval(()=>{w(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(i)},[h]);const R=i=>{const a=Math.floor(i/60),A=i%60;return`${a}:${A.toString().padStart(2,"0")}`};return r.jsx(U,{open:!0,children:r.jsxs(ne,{children:[r.jsx(d,{controller:$>F,children:r.jsx(K,{unlockDate:J().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(d,{controller:$<=F,children:r.jsx(G,{...u,children:r.jsxs(ge,{children:[r.jsxs(fe,{children:[r.jsx(oe,{children:o.verifyDeviceTitle}),r.jsx(ie,{children:o.verifyDeviceDescription}),r.jsxs(le,{children:[e.phoneNumber!=null&&r.jsx(se,{children:ee(e.phoneNumber+"")}),r.jsx(Q,{placement:"top",title:r.jsxs(f,{children:[o.changePhoneNumberHelperText,r.jsx(we,{href:`mailto:${V}`,children:V})]}),enterDelay:600,children:r.jsx(Se,{})})]})]}),r.jsxs(ce,{children:[r.jsx(W,{value:j,valueLength:6,hasError:l===!0||p===!0,style:{margin:n.sp0},onChange:i=>{u.setValue(m,i),x(!1)}}),r.jsx(d,{controller:l===!1,children:r.jsx(T,{children:r.jsxs(je,{children:[o.codeExpiresIn," ",R(b)]})})}),r.jsx(d,{controller:l===!0,children:r.jsx(T,{children:r.jsx(ye,{children:o.codeExpired})})})]}),p===!0&&l===!1?r.jsxs(r.Fragment,{children:[r.jsx(d,{controller:$>=1,children:r.jsx(ae,{children:o.incorrectCode})}),r.jsx(d,{controller:$===2,children:r.jsx(be,{children:r.jsxs(f,{children:[r.jsx(ve,{}),o.accountLockWarning]})})})]}):null,r.jsx(d,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(de,{children:[r.jsx(pe,{children:o.codeNotReceived}),r.jsx(ue,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),x(!1),g(!1),u.setValue(m,""),S(C),w(I))},children:o.resend}),h>0&&r.jsxs(he,{children:[O.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs($e,{children:[r.jsxs(xe,{children:[r.jsx(E,{label:o.cancel,onClick:P,style:{width:82}}),r.jsx(E,{variant:"primary",label:o.verify,onClick:H,style:{width:82},loading:s,disabled:j.trim().length!==N||l===!0})]}),r.jsx(me,{children:M})]})]})})})]})})},ne=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-width: ${te};
@@ -1,5 +1,5 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/react-CxPSrq5B.js","assets/core-B-FNbYlu.js","assets/mixin-D3UDm--6.js","assets/hls-BA0yQjS5.js","assets/react-CwPTei9W.js","assets/zeni-epic-state-HWtMOH-U.js","assets/mui-DLNyBjYF.js","assets/index-piC0sJHK.js","assets/react-2VG2yH4x.js","assets/react-VfkIuzgx.js","assets/react-CeCWo9lx.js","assets/react-BiH01iGK.js","assets/react-sPv488Z5.js","assets/react-Bqj7JUF5.js","assets/Preview-BszQHI_F.js"])))=>i.map(i=>d[i]);
2
- import{q as W,V as f,an as X,p as Y}from"./index-BhteR_e0.js";import{S as _,a as t,c as q}from"./core-B-FNbYlu.js";import{n as k,k as K}from"./mui-DLNyBjYF.js";import{bb as y}from"./zeni-epic-state-HWtMOH-U.js";const N=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,z=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,V=/\.(m3u8)($|\?)/i,Z=/\.(mpd)($|\?)/i,J=/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\//,ee=/vimeo\.com\/(?!progressive_redirect).+/,te=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,ae=/open\.spotify\.com\/(\w+)\/(\w+)/i,re=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+|(videos?\/|\?video=)\d+)($|\?)/,le=/tiktok\.com\/(?:player\/v1\/|share\/video\/|@[^/]+\/video\/)([0-9]+)/,S=(e,r)=>{if(Array.isArray(e)){for(const c of e)if(typeof c=="string"&&S(c,r)||S(c.src,r))return!0;return!1}return r(e)},m={html:e=>S(e,r=>N.test(r)||z.test(r)),hls:e=>S(e,r=>V.test(r)),dash:e=>S(e,r=>Z.test(r)),mux:e=>J.test(e),youtube:e=>Q.test(e),vimeo:e=>ee.test(e)&&!z.test(e)&&!V.test(e),wistia:e=>te.test(e),spotify:e=>ae.test(e),twitch:e=>re.test(e),tiktok:e=>le.test(e)},oe=_.forwardRef((e,r)=>{const c=N.test(`${e.src}`)?"audio":"video";return _.createElement(c,{...e,ref:r},e.children)});var ne=oe;const ie=[{key:"hls",name:"hls.js",canPlay:m.hls,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-CxPSrq5B.js"),__vite__mapDeps([0,1,2,3])))},{key:"dash",name:"dash.js",canPlay:m.dash,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-CwPTei9W.js"),__vite__mapDeps([4,1,5,6,2])))},{key:"mux",name:"Mux",canPlay:m.mux,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./index-piC0sJHK.js"),__vite__mapDeps([7,1,6,3,2])))},{key:"youtube",name:"YouTube",canPlay:m.youtube,player:t.lazy(()=>y(()=>import("./react-2VG2yH4x.js"),__vite__mapDeps([8,1])))},{key:"vimeo",name:"Vimeo",canPlay:m.vimeo,player:t.lazy(()=>y(()=>import("./react-VfkIuzgx.js"),__vite__mapDeps([9,1,6])))},{key:"wistia",name:"Wistia",canPlay:m.wistia,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-CeCWo9lx.js"),__vite__mapDeps([10,1])))},{key:"spotify",name:"Spotify",canPlay:m.spotify,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-BiH01iGK.js"),__vite__mapDeps([11,1])))},{key:"twitch",name:"Twitch",canPlay:m.twitch,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-sPv488Z5.js"),__vite__mapDeps([12,1])))},{key:"tiktok",name:"TikTok",canPlay:m.tiktok,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-Bqj7JUF5.js"),__vite__mapDeps([13,1])))},{key:"html",name:"html",canPlay:m.html,canEnablePIP:()=>!0,player:ne}];var D=ie;const se={width:"320px",height:"180px",volume:1,playbackRate:1,previewTabIndex:0,previewAriaLabel:"",oEmbedUrl:"https://noembed.com/embed?url={url}"},H=_.forwardRef((e,r)=>{const{playing:c,pip:u}=e,n=e.activePlayer,a=t.useRef(null),o=t.useRef(!0);t.useEffect(()=>{var l,i;a.current&&(a.current.paused&&c===!0&&a.current.play(),!a.current.paused&&c===!1&&a.current.pause(),a.current.playbackRate=(l=e.playbackRate)!=null?l:1,a.current.volume=(i=e.volume)!=null?i:1)}),t.useEffect(()=>{var l,i,s,P,v;if(!(!a.current||!globalThis.document)){if(u&&!document.pictureInPictureElement)try{(i=(l=a.current).requestPictureInPicture)==null||i.call(l)}catch{}if(!u&&document.pictureInPictureElement)try{(P=(s=a.current).exitPictureInPicture)==null||P.call(s),(v=document.exitPictureInPicture)==null||v.call(document)}catch{}}},[u]);const w=l=>{var i,s;o.current=!0,(i=e.onReady)==null||i.call(e),(s=e.onLoadStart)==null||s.call(e,l)},h=l=>{var i,s;o.current&&(o.current=!1,(i=e.onStart)==null||i.call(e,l)),(s=e.onPlay)==null||s.call(e,l)};if(!n)return null;const b={},E=["onReady","onStart"];for(const l in e)l.startsWith("on")&&!E.includes(l)&&(b[l]=e[l]);return _.createElement(n,{...b,style:e.style,className:e.className,slot:e.slot,ref:t.useCallback(l=>{a.current=l,typeof r=="function"?r(l):r!==null&&(r.current=l)},[r]),src:e.src,crossOrigin:e.crossOrigin,preload:e.preload,controls:e.controls,muted:e.muted,autoPlay:e.autoPlay,loop:e.loop,playsInline:e.playsInline,disableRemotePlayback:e.disableRemotePlayback,config:e.config,onLoadStart:w,onPlay:h},e.children)});H.displayName="Player";var ce=H;const ue=t.lazy(()=>y(()=>import("./Preview-BszQHI_F.js"),__vite__mapDeps([14,1]))),A=[],de=(e,r)=>{const c=n=>{for(const a of[...A,...e])if(n&&a.canPlay(n))return a;return r||null},u=_.forwardRef((n,a)=>{const o={...se,...n},{src:w,slot:h,className:b,style:E,width:l,height:i,fallback:s,wrapper:P}=o,[v,d]=t.useState(!!o.light);t.useEffect(()=>{o.light?d(!0):d(!1)},[o.light]);const g=p=>{var x;d(!1),(x=o.onClickPreview)==null||x.call(o,p)},I=p=>{if(!p)return null;const{light:x,playIcon:T,previewTabIndex:C,oEmbedUrl:U,previewAriaLabel:F}=o;return _.createElement(ue,{src:p,light:x,playIcon:T,previewTabIndex:C,previewAriaLabel:F,oEmbedUrl:U,onClickPreview:g})},O=p=>{var x,T;const C=c(p);if(!C)return null;const{style:U,width:F,height:$,wrapper:B}=o,G=(x=o.config)==null?void 0:x[C.key];return _.createElement(ce,{...o,ref:a,activePlayer:(T=C.player)!=null?T:C,slot:B?void 0:h,className:B?void 0:b,style:B?{display:"block",width:"100%",height:"100%"}:{display:"block",width:F,height:$,...U},config:G})},L=P??M,R=s===!1?M:t.Suspense;return _.createElement(L,{slot:h,className:b,style:{width:l,height:i,...E}},_.createElement(R,{fallback:s},v?I(w):O(w)))});return u.displayName="ReactPlayer",u.addCustomPlayer=n=>{A.push(n)},u.removeCustomPlayers=()=>{A.length=0},u.canPlay=n=>{if(n){for(const a of[...A,...e])if(a.canPlay(n))return!0}return!1},u.canEnablePIP=n=>{var a;if(n){for(const o of[...A,...e])if(o.canPlay(n)&&((a=o.canEnablePIP)!=null&&a.call(o)))return!0}return!1},u},M=({children:e})=>e,fe=D[D.length-1];var j=de(D,fe);const me=e=>t.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("g",{filter:"url(#filter0_f_251_38441)"},t.createElement("circle",{cx:104,cy:104,r:44,fill:"url(#paint0_linear_251_38441)"}),t.createElement("circle",{cx:104,cy:104,r:50,stroke:"url(#paint1_linear_251_38441)",strokeWidth:12})),t.createElement("g",{filter:"url(#filter1_d_251_38441)"},t.createElement("circle",{cx:104,cy:104,r:41.1429,fill:"#FAFAFA"}),t.createElement("circle",{cx:104,cy:104,r:43.1429,stroke:"url(#paint2_linear_251_38441)",strokeWidth:4})),t.createElement("g",{clipPath:"url(#clip0_251_38441)"},t.createElement("path",{d:"M120.16 102.411L96.2853 90.4684C96.0134 90.3343 95.7118 90.2718 95.409 90.2867C95.1062 90.3016 94.8122 90.3935 94.5548 90.5536C94.2974 90.7138 94.0851 90.9369 93.938 91.202C93.7908 91.467 93.7137 91.7652 93.7139 92.0684V115.931C93.7137 116.234 93.7908 116.533 93.938 116.798C94.0851 117.063 94.2974 117.286 94.5548 117.446C94.8122 117.606 95.1062 117.698 95.409 117.713C95.7118 117.728 96.0134 117.665 96.2853 117.531L120.16 105.588C120.456 105.442 120.706 105.216 120.88 104.935C121.055 104.654 121.147 104.33 121.147 104C121.147 103.669 121.055 103.345 120.88 103.065C120.706 102.784 120.456 102.558 120.16 102.411Z",fill:"black"})),t.createElement("defs",null,t.createElement("filter",{id:"filter0_f_251_38441",x:0,y:0,width:208,height:208,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},t.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),t.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),t.createElement("feGaussianBlur",{stdDeviation:24,result:"effect1_foregroundBlur_251_38441"})),t.createElement("filter",{id:"filter1_d_251_38441",x:54.8569,y:58.8571,width:98.2856,height:98.2857,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},t.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),t.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),t.createElement("feOffset",{dy:4}),t.createElement("feGaussianBlur",{stdDeviation:2}),t.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),t.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),t.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_251_38441"}),t.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_251_38441",result:"shape"})),t.createElement("linearGradient",{id:"paint0_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("linearGradient",{id:"paint1_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("linearGradient",{id:"paint2_linear_251_38441",x1:118.653,y1:118.653,x2:89.0159,y2:89.0164,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("clipPath",{id:"clip0_251_38441"},t.createElement("rect",{width:27.4286,height:27.4286,fill:"white",transform:"translate(93.7139 90.2849)"}))));function Ce({src:e,autoPlay:r=!0,config:c,controls:u=!0,height:n="100%",isModalOpen:a,loop:o=!1,muted:w=!1,showPlayButton:h=!1,style:b,thumbnail:E,width:l="100%",onEnded:i,onModalClose:s,onPlay:P}){const v=W(),[d,g]=t.useState(!1);t.useEffect(()=>{a===!0&&r?g(!0):a===!1&&g(!1)},[a,r]);const I={};c?.youtube&&(I.youtube=c.youtube);const O=()=>{g(!0),P?.()},L=()=>{g(!1),s?.()},R=()=>{g(!1),i?.(),a!=null&&s?.()},p=()=>{g(!0),P?.()};return a!=null?a?q.createPortal(f.jsx(Ee,{windowSize:v,role:"presentation",children:f.jsx(X,{onClickAway:L,children:f.jsx(Pe,{windowSize:v,"data-testid":"video-player-modal",children:f.jsxs(ve,{children:[h&&!d&&f.jsxs(f.Fragment,{children:[E!=null&&E!==""&&f.jsx(he,{src:E,alt:"Video thumbnail"}),f.jsx(pe,{onClick:O,children:f.jsx(_e,{windowSize:v})})]}),(!h||d)&&f.jsx(j,{src:e,playing:d,controls:u,muted:w,loop:o,width:"100%",height:"100%",onEnded:R,onPlay:p,config:I})]})})})}),document.body):null:f.jsx(j,{src:e,playing:d,controls:u,muted:w,loop:o,width:l,height:n,style:b,light:h&&!d?E??!0:!1,onEnded:R,onPlay:p,config:I})}const ye=K`
2
+ import{q as W,V as f,an as X,p as Y}from"./index-Dm9r1f6s.js";import{S as _,a as t,c as q}from"./core-B-FNbYlu.js";import{n as k,k as K}from"./mui-DLNyBjYF.js";import{bb as y}from"./zeni-epic-state-HWtMOH-U.js";const N=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,z=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,V=/\.(m3u8)($|\?)/i,Z=/\.(mpd)($|\?)/i,J=/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\//,ee=/vimeo\.com\/(?!progressive_redirect).+/,te=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,ae=/open\.spotify\.com\/(\w+)\/(\w+)/i,re=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+|(videos?\/|\?video=)\d+)($|\?)/,le=/tiktok\.com\/(?:player\/v1\/|share\/video\/|@[^/]+\/video\/)([0-9]+)/,S=(e,r)=>{if(Array.isArray(e)){for(const c of e)if(typeof c=="string"&&S(c,r)||S(c.src,r))return!0;return!1}return r(e)},m={html:e=>S(e,r=>N.test(r)||z.test(r)),hls:e=>S(e,r=>V.test(r)),dash:e=>S(e,r=>Z.test(r)),mux:e=>J.test(e),youtube:e=>Q.test(e),vimeo:e=>ee.test(e)&&!z.test(e)&&!V.test(e),wistia:e=>te.test(e),spotify:e=>ae.test(e),twitch:e=>re.test(e),tiktok:e=>le.test(e)},oe=_.forwardRef((e,r)=>{const c=N.test(`${e.src}`)?"audio":"video";return _.createElement(c,{...e,ref:r},e.children)});var ne=oe;const ie=[{key:"hls",name:"hls.js",canPlay:m.hls,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-CxPSrq5B.js"),__vite__mapDeps([0,1,2,3])))},{key:"dash",name:"dash.js",canPlay:m.dash,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-CwPTei9W.js"),__vite__mapDeps([4,1,5,6,2])))},{key:"mux",name:"Mux",canPlay:m.mux,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./index-piC0sJHK.js"),__vite__mapDeps([7,1,6,3,2])))},{key:"youtube",name:"YouTube",canPlay:m.youtube,player:t.lazy(()=>y(()=>import("./react-2VG2yH4x.js"),__vite__mapDeps([8,1])))},{key:"vimeo",name:"Vimeo",canPlay:m.vimeo,player:t.lazy(()=>y(()=>import("./react-VfkIuzgx.js"),__vite__mapDeps([9,1,6])))},{key:"wistia",name:"Wistia",canPlay:m.wistia,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-CeCWo9lx.js"),__vite__mapDeps([10,1])))},{key:"spotify",name:"Spotify",canPlay:m.spotify,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-BiH01iGK.js"),__vite__mapDeps([11,1])))},{key:"twitch",name:"Twitch",canPlay:m.twitch,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-sPv488Z5.js"),__vite__mapDeps([12,1])))},{key:"tiktok",name:"TikTok",canPlay:m.tiktok,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-Bqj7JUF5.js"),__vite__mapDeps([13,1])))},{key:"html",name:"html",canPlay:m.html,canEnablePIP:()=>!0,player:ne}];var D=ie;const se={width:"320px",height:"180px",volume:1,playbackRate:1,previewTabIndex:0,previewAriaLabel:"",oEmbedUrl:"https://noembed.com/embed?url={url}"},H=_.forwardRef((e,r)=>{const{playing:c,pip:u}=e,n=e.activePlayer,a=t.useRef(null),o=t.useRef(!0);t.useEffect(()=>{var l,i;a.current&&(a.current.paused&&c===!0&&a.current.play(),!a.current.paused&&c===!1&&a.current.pause(),a.current.playbackRate=(l=e.playbackRate)!=null?l:1,a.current.volume=(i=e.volume)!=null?i:1)}),t.useEffect(()=>{var l,i,s,P,v;if(!(!a.current||!globalThis.document)){if(u&&!document.pictureInPictureElement)try{(i=(l=a.current).requestPictureInPicture)==null||i.call(l)}catch{}if(!u&&document.pictureInPictureElement)try{(P=(s=a.current).exitPictureInPicture)==null||P.call(s),(v=document.exitPictureInPicture)==null||v.call(document)}catch{}}},[u]);const w=l=>{var i,s;o.current=!0,(i=e.onReady)==null||i.call(e),(s=e.onLoadStart)==null||s.call(e,l)},h=l=>{var i,s;o.current&&(o.current=!1,(i=e.onStart)==null||i.call(e,l)),(s=e.onPlay)==null||s.call(e,l)};if(!n)return null;const b={},E=["onReady","onStart"];for(const l in e)l.startsWith("on")&&!E.includes(l)&&(b[l]=e[l]);return _.createElement(n,{...b,style:e.style,className:e.className,slot:e.slot,ref:t.useCallback(l=>{a.current=l,typeof r=="function"?r(l):r!==null&&(r.current=l)},[r]),src:e.src,crossOrigin:e.crossOrigin,preload:e.preload,controls:e.controls,muted:e.muted,autoPlay:e.autoPlay,loop:e.loop,playsInline:e.playsInline,disableRemotePlayback:e.disableRemotePlayback,config:e.config,onLoadStart:w,onPlay:h},e.children)});H.displayName="Player";var ce=H;const ue=t.lazy(()=>y(()=>import("./Preview-BszQHI_F.js"),__vite__mapDeps([14,1]))),A=[],de=(e,r)=>{const c=n=>{for(const a of[...A,...e])if(n&&a.canPlay(n))return a;return r||null},u=_.forwardRef((n,a)=>{const o={...se,...n},{src:w,slot:h,className:b,style:E,width:l,height:i,fallback:s,wrapper:P}=o,[v,d]=t.useState(!!o.light);t.useEffect(()=>{o.light?d(!0):d(!1)},[o.light]);const g=p=>{var x;d(!1),(x=o.onClickPreview)==null||x.call(o,p)},I=p=>{if(!p)return null;const{light:x,playIcon:T,previewTabIndex:C,oEmbedUrl:U,previewAriaLabel:F}=o;return _.createElement(ue,{src:p,light:x,playIcon:T,previewTabIndex:C,previewAriaLabel:F,oEmbedUrl:U,onClickPreview:g})},O=p=>{var x,T;const C=c(p);if(!C)return null;const{style:U,width:F,height:$,wrapper:B}=o,G=(x=o.config)==null?void 0:x[C.key];return _.createElement(ce,{...o,ref:a,activePlayer:(T=C.player)!=null?T:C,slot:B?void 0:h,className:B?void 0:b,style:B?{display:"block",width:"100%",height:"100%"}:{display:"block",width:F,height:$,...U},config:G})},L=P??M,R=s===!1?M:t.Suspense;return _.createElement(L,{slot:h,className:b,style:{width:l,height:i,...E}},_.createElement(R,{fallback:s},v?I(w):O(w)))});return u.displayName="ReactPlayer",u.addCustomPlayer=n=>{A.push(n)},u.removeCustomPlayers=()=>{A.length=0},u.canPlay=n=>{if(n){for(const a of[...A,...e])if(a.canPlay(n))return!0}return!1},u.canEnablePIP=n=>{var a;if(n){for(const o of[...A,...e])if(o.canPlay(n)&&((a=o.canEnablePIP)!=null&&a.call(o)))return!0}return!1},u},M=({children:e})=>e,fe=D[D.length-1];var j=de(D,fe);const me=e=>t.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("g",{filter:"url(#filter0_f_251_38441)"},t.createElement("circle",{cx:104,cy:104,r:44,fill:"url(#paint0_linear_251_38441)"}),t.createElement("circle",{cx:104,cy:104,r:50,stroke:"url(#paint1_linear_251_38441)",strokeWidth:12})),t.createElement("g",{filter:"url(#filter1_d_251_38441)"},t.createElement("circle",{cx:104,cy:104,r:41.1429,fill:"#FAFAFA"}),t.createElement("circle",{cx:104,cy:104,r:43.1429,stroke:"url(#paint2_linear_251_38441)",strokeWidth:4})),t.createElement("g",{clipPath:"url(#clip0_251_38441)"},t.createElement("path",{d:"M120.16 102.411L96.2853 90.4684C96.0134 90.3343 95.7118 90.2718 95.409 90.2867C95.1062 90.3016 94.8122 90.3935 94.5548 90.5536C94.2974 90.7138 94.0851 90.9369 93.938 91.202C93.7908 91.467 93.7137 91.7652 93.7139 92.0684V115.931C93.7137 116.234 93.7908 116.533 93.938 116.798C94.0851 117.063 94.2974 117.286 94.5548 117.446C94.8122 117.606 95.1062 117.698 95.409 117.713C95.7118 117.728 96.0134 117.665 96.2853 117.531L120.16 105.588C120.456 105.442 120.706 105.216 120.88 104.935C121.055 104.654 121.147 104.33 121.147 104C121.147 103.669 121.055 103.345 120.88 103.065C120.706 102.784 120.456 102.558 120.16 102.411Z",fill:"black"})),t.createElement("defs",null,t.createElement("filter",{id:"filter0_f_251_38441",x:0,y:0,width:208,height:208,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},t.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),t.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),t.createElement("feGaussianBlur",{stdDeviation:24,result:"effect1_foregroundBlur_251_38441"})),t.createElement("filter",{id:"filter1_d_251_38441",x:54.8569,y:58.8571,width:98.2856,height:98.2857,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},t.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),t.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),t.createElement("feOffset",{dy:4}),t.createElement("feGaussianBlur",{stdDeviation:2}),t.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),t.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),t.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_251_38441"}),t.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_251_38441",result:"shape"})),t.createElement("linearGradient",{id:"paint0_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("linearGradient",{id:"paint1_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("linearGradient",{id:"paint2_linear_251_38441",x1:118.653,y1:118.653,x2:89.0159,y2:89.0164,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("clipPath",{id:"clip0_251_38441"},t.createElement("rect",{width:27.4286,height:27.4286,fill:"white",transform:"translate(93.7139 90.2849)"}))));function Ce({src:e,autoPlay:r=!0,config:c,controls:u=!0,height:n="100%",isModalOpen:a,loop:o=!1,muted:w=!1,showPlayButton:h=!1,style:b,thumbnail:E,width:l="100%",onEnded:i,onModalClose:s,onPlay:P}){const v=W(),[d,g]=t.useState(!1);t.useEffect(()=>{a===!0&&r?g(!0):a===!1&&g(!1)},[a,r]);const I={};c?.youtube&&(I.youtube=c.youtube);const O=()=>{g(!0),P?.()},L=()=>{g(!1),s?.()},R=()=>{g(!1),i?.(),a!=null&&s?.()},p=()=>{g(!0),P?.()};return a!=null?a?q.createPortal(f.jsx(Ee,{windowSize:v,role:"presentation",children:f.jsx(X,{onClickAway:L,children:f.jsx(Pe,{windowSize:v,"data-testid":"video-player-modal",children:f.jsxs(ve,{children:[h&&!d&&f.jsxs(f.Fragment,{children:[E!=null&&E!==""&&f.jsx(he,{src:E,alt:"Video thumbnail"}),f.jsx(pe,{onClick:O,children:f.jsx(_e,{windowSize:v})})]}),(!h||d)&&f.jsx(j,{src:e,playing:d,controls:u,muted:w,loop:o,width:"100%",height:"100%",onEnded:R,onPlay:p,config:I})]})})})}),document.body):null:f.jsx(j,{src:e,playing:d,controls:u,muted:w,loop:o,width:l,height:n,style:b,light:h&&!d?E??!0:!1,onEnded:R,onPlay:p,config:I})}const ye=K`
3
3
  0% {
4
4
  transform: rotate(0deg);
5
5
  }
@@ -1,4 +1,4 @@
1
- import{q as l,V as i,an as s,aK as a,p as c,o as n,y as r}from"./index-BhteR_e0.js";import{n as t}from"./mui-DLNyBjYF.js";import{N as h}from"./VideoPlayer-D0GZ_Yml-CzUqkm8K.js";const d={width:new r(300,770,770),height:new r(195,500,500)},p=t.div`
1
+ import{q as l,V as i,an as s,aK as a,p as c,o as n,y as r}from"./index-Dm9r1f6s.js";import{n as t}from"./mui-DLNyBjYF.js";import{N as h}from"./VideoPlayer-D0GZ_Yml-gee9OAo-.js";const d={width:new r(300,770,770),height:new r(195,500,500)},p=t.div`
2
2
  position: fixed;
3
3
  top: 0;
4
4
  left: 0;