@zeniai/web-cockpit-ui 1.15.11-dev → 1.15.12-dev

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 (284) hide show
  1. package/dist/assets/{ACHDetailsPage-CR6ypd9o-CPuvu8Ya.js → ACHDetailsPage-BY65AQjO-Cl2Tlmft.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-C1OU9y7O-Cy2fQhSN.js → AIPerformancePage-B0a7EX_p-BepCOVvT.js} +17 -17
  3. package/dist/assets/AccountInfoPage-DUYpaV3v-CL9yEZEk.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-CrSVf_Od-DxUVjtpH.js → AccountInfoPageContent-BsSGhNw9-Bhg40nPQ.js} +13 -13
  5. package/dist/assets/{AccountLockedInfoModal-DNU_J1FV-BrQt7SPM.js → AccountLockedInfoModal-uPOYP0OH-gMh9hb_c.js} +3 -3
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DghCIWni-WUADgsvH.js → AccountReconDetailsDrawerPage-BgPmbG_g-9wGOY4BN.js} +6 -6
  7. package/dist/assets/{AccountRow-CYv0Uw-I-DQCZ-Htb.js → AccountRow-B9ZIzZy7-C9nPv4rY.js} +22 -22
  8. package/dist/assets/{AccountsPromoCardStack-BANu3wYt-CQ0iVQrx.js → AccountsPromoCardStack-BLcpWU3T-CV6K5Y9x.js} +8 -8
  9. package/dist/assets/AddAddressForCardDrawer-B1oucxyM-I6biD8O7.js +6 -0
  10. package/dist/assets/{AddToWalletPage-C8keLYK6-Bn2sefuz.js → AddToWalletPage-B1GVnxRf-CndQH9vq.js} +7 -7
  11. package/dist/assets/{AgingReportsPage-L84_Ka8x-B6lkNbiG.js → AgingReportsPage-Bpp4te8m-HodwoOcT.js} +3 -3
  12. package/dist/assets/{AllUserItems-Duwm6ypi-CNUX4dOE.js → AllUserItems-CzugF5fn-8WnbDsqH.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-MH7SN7mP-D7GEtWSd.js → ApAgingDetailPage-CyUQeZY0-DHH2Dilv.js} +4 -4
  14. package/dist/assets/{AppBasePage-DpK4Drat-Bt4q9XbU.js → AppBasePage-Di7hObbX-uZJvqLhK.js} +6 -6
  15. package/dist/assets/{AppDrawerContent-CR_WXwBz-CFNPiFQp.js → AppDrawerContent-KdrUuifo-DcEK8qwb.js} +5 -5
  16. package/dist/assets/{ApprovalRulesSettingsPage-DD2E4NU5-DpHAD8Ti.js → ApprovalRulesSettingsPage-BRIgTh7x-CF-Pagn9.js} +1 -1
  17. package/dist/assets/{ArAgingChart-q1DoAAzl-IMdyrhPv.js → ArAgingChart-DeE5uhiT-BcI5cuvH.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-BKqFTdkz-kMEm6GPZ.js → ArAgingDetailPage-CFiIUBWl-BXhWrXr_.js} +2 -2
  19. package/dist/assets/{AttachmentView-CwbFyo5O-DSfNvuAU.js → AttachmentView-CfacSLcU-gwYezuYM.js} +7 -7
  20. package/dist/assets/{BankAccountSection-DNYhcdas-Ddz8QKzl.js → BankAccountSection-Bm8vdxFd-DKKdvH8R.js} +6 -6
  21. package/dist/assets/{BankAccountWarningSection-B6AIe7nT-BcHAPM_q.js → BankAccountWarningSection-M3w6kP33-ChP5wvhC.js} +13 -13
  22. package/dist/assets/{BankConnectionsSettingsPage-BQSAz9yS-R3TufSTo.js → BankConnectionsSettingsPage-Dfrp0CKz-Dc4Qac0T.js} +9 -9
  23. package/dist/assets/{BillDetailPage-CJMkS2TO-CUCvdJLF.js → BillDetailPage-BA1D1bO3-Ofkt6QPd.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-CWCmHWbz-BO-G290w.js → BillPayApprovalRuleDetailPage-DR8YzZt1-CQcbdF34.js} +2 -2
  25. package/dist/assets/{BillPayApprovalRulesPage-0_wlhyx9-CKOGyW5d.js → BillPayApprovalRulesPage-CfZ4aSPM-C6nI7yKc.js} +11 -11
  26. package/dist/assets/{BillPayPromoPage-CKOYCq5V-C6OfnMF1.js → BillPayPromoPage-CP9Nvd2Q-CSZ8mSrV.js} +4 -4
  27. package/dist/assets/{BillPaySetUpPage-Dibv-FD4-kIfalP85.js → BillPaySetUpPage-BwEONKu_-DARv5ESb.js} +6 -6
  28. package/dist/assets/{BillingSettingsPage-CG9gklV0-CGGGPaut.js → BillingSettingsPage-DicGyWCt-DwbmjVcE.js} +6 -6
  29. package/dist/assets/{BillsBulkReviewDrawerPage-Cgof7dpG-BwYBq9-d.js → BillsBulkReviewDrawerPage-fS3-YEdi-DKZKHDla.js} +1 -1
  30. package/dist/assets/{BoxItem-DD7d5_ky-D2d9aLr-.js → BoxItem-Cr0Y9YBV-C2AawtqJ.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-KfKed7nf-Bzkiryv0.js → BusinessVerificationPage-CvL9cdJm-Drj-tMQU.js} +3 -3
  32. package/dist/assets/CardNumberSubText-CXBKzGK5-CCtn2y_n.js +21 -0
  33. package/dist/assets/{CashbackDetailPage-D1ejnH4R-BltiUdCI.js → CashbackDetailPage-DOdPOiws-CAJxdhJ3.js} +11 -11
  34. package/dist/assets/{ChargeCardDetailPage-Cvs-BEKp-Bqa3oM5k.js → ChargeCardDetailPage-DfhAyysD-Cgd92Yem.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-CW0WF8w6-DBIJI8Xw.js → ChargeCardListPage-Bnnu4TVk-DFZAYaNm.js} +20 -20
  36. package/dist/assets/{ChargeCardListTable-43l6tEOp-BbcKoGZ2.js → ChargeCardListTable-D7zGM8uo-70otSDDQ.js} +40 -40
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-fpQhp74g-BLq-AFt8.js → ChargeCardPaymentHistoryPage-U00GbINt-BIwIfF30.js} +13 -13
  38. package/dist/assets/ChargeCardPromoPage-BpBiwjfr-DWB9eQGN.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-CFR2KfLW-Bj3pYNfL.js → ChargeCardSetupPage-Duj6901M-CIASuReJ.js} +4 -4
  40. package/dist/assets/{ChargeCardStatementsPage-BMYUlzTk-CZ02SfTF.js → ChargeCardStatementsPage-IkU86L31-ClrDQTtP.js} +4 -4
  41. package/dist/assets/{CheckDepositDrawerPage-BXWeeMR7-BYN5c48i.js → CheckDepositDrawerPage-fHeTkRJF-CdLdCkIH.js} +13 -13
  42. package/dist/assets/{CollapsableReportTable-CZJ_4MUf-TH_6P-Y_.js → CollapsableReportTable-DUo-9gOh-B_gwOhYJ.js} +32 -32
  43. package/dist/assets/{CompanyOfficerDetailsSection-b2itwQOK-DbOlSBag.js → CompanyOfficerDetailsSection-DzDZe6MU-DWguMF6d.js} +10 -10
  44. package/dist/assets/{CompanyPassportCard-C5C3AykH-DcHAKmoT.js → CompanyPassportCard-BwiwJ82k-WRVY9XX8.js} +4 -4
  45. package/dist/assets/{CompanyPassportPage-D9zWgLlj-CWyCqrqW.js → CompanyPassportPage-Bz3rzG9k-e3d2ccIM.js} +15 -15
  46. package/dist/assets/{CompleteProfile-CMnTwbXr-DZqd8rFQ.js → CompleteProfile-CRXV-nNq-DpRL426l.js} +2 -2
  47. package/dist/assets/ConfettiBurst-CapRdPno-Dlg4XvfD.js +1 -0
  48. package/dist/assets/{CreateOrEditVendorPage-CthcMxEa-PQhPjSjB.js → CreateOrEditVendorPage-BjPotKnf-De1W0m4N.js} +12 -12
  49. package/dist/assets/{CreditCardPaymentDrawerPage-LD349Ert-C4Wbd8yP.js → CreditCardPaymentDrawerPage-BTZ2Lph6-DMwCUXwV.js} +13 -13
  50. package/dist/assets/{CurrencySelectField-iXGB-cNy-BRjQHy5W.js → CurrencySelectField-DY0HeU0G-CSYPXeIb.js} +1 -1
  51. package/dist/assets/{CustomerOnboardingActivationPage-BuZrVCRr-DQvZbF43.js → CustomerOnboardingActivationPage-BIKXkkcY-IFMHYYO1.js} +5 -5
  52. package/dist/assets/CustomerOnboardingContainerPage-DZfFYnVw-BG6Jz35S.js +1 -0
  53. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-L4WssPjU-BL2-a44j.js → CustomerOnboardingDetailPageSkeleton-DYiAmFsM-C0-Ot9Uw.js} +9 -9
  54. package/dist/assets/{CustomerOnboardingNoStepsPage-Bqv6vbYJ-B4xhs9JC.js → CustomerOnboardingNoStepsPage-gssFllMT-DT9hupvU.js} +9 -9
  55. package/dist/assets/{CustomerOnboardingPage-D7YVlzdy-GqcXPa-d.js → CustomerOnboardingPage-CBJHj8BH-KUidrPxI.js} +6 -6
  56. package/dist/assets/{CustomerOnboardingProductSuitePage-DLzC-lxj-pVKJNYgp.js → CustomerOnboardingProductSuitePage-2V3vSjB8-BYRuju-o.js} +12 -12
  57. package/dist/assets/{Dashboard-BgpeTLE--ZF2wZzkh.js → Dashboard-BVvkfPf9-hp4sQi7A.js} +1 -1
  58. package/dist/assets/{DashboardReportPage-DJtJdsj5-D0j90p2O.js → DashboardReportPage-DHQ79h9V-C3FgTbgA.js} +1 -1
  59. package/dist/assets/{DashboardSidebarBackgroundAnimation-CL6vWi6p-DaXPDfmE.js → DashboardSidebarBackgroundAnimation-B8Q-YA_s-DLXiBeQj.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-B8Kledeo-BlVCqg6w.js → DepositAccTransactionItem-DZnqI7IQ-DR0NgZ86.js} +2 -2
  61. package/dist/assets/{DepositAccTransactionListPage-DYBIAd7n-gVv7-TK3.js → DepositAccTransactionListPage-BMNdp-3Q-CyOUea8P.js} +4 -4
  62. package/dist/assets/{DomesticWireDetailsPage-Bm-bfxSa-rYZYhMWI.js → DomesticWireDetailsPage-CCP6xoW_-BlmZjbpt.js} +1 -1
  63. package/dist/assets/{DownloadOverlay-CAfyh0W2-BJk2KPOA.js → DownloadOverlay-B2bK30rG-B-m5Mv2I.js} +18 -18
  64. package/dist/assets/{DrawerPage-DUeVKq0Q-DB8bkP9s.js → DrawerPage-BRJDrBlv-D28-uO54.js} +8 -8
  65. package/dist/assets/{EditPeoplePage-dVrpOcc1-DgbweCi9.js → EditPeoplePage-I8E1Rs3x-DbyrgA_C.js} +6 -6
  66. package/dist/assets/{EditReimbursementDetailPage-xWwm-k8T-Hs0cdO6C.js → EditReimbursementDetailPage-C7BPmFMR-DTPMhwLH.js} +19 -19
  67. package/dist/assets/EntityDetailPage-BraBJ2k1-Wq1E4JPl.js +18 -0
  68. package/dist/assets/{EntitySummarySection-CTU-YsQl-CSwZth_c.js → EntitySummarySection-DPmL3Bnf-CHA6TrKp.js} +5 -5
  69. package/dist/assets/{ExpenseAutomationOverviewPage-DCbcWM84-DHrtqP9f.js → ExpenseAutomationOverviewPage-CDaO_5Vj-gZyomnai.js} +12 -12
  70. package/dist/assets/{ExpenseAutomationPage-DbFQ6EeA-C0i_UBmZ.js → ExpenseAutomationPage-DUenmMQD-Yh_8CeIf.js} +59 -59
  71. package/dist/assets/{ExpressPayPage-DMLKT4Nf-6YIrNvk0.js → ExpressPayPage-DxO1mXNE-DeRja-sm.js} +1 -1
  72. package/dist/assets/{FeaturePreviewPage-DFsZRRmZ-KGYTIegX.js → FeaturePreviewPage-BWPNZcYs-CdJLxzVS.js} +1 -1
  73. package/dist/assets/{FollowStepsSection-DkBj9-hs-mJdSbXed.js → FollowStepsSection-DhVGeocZ-Ddk_z58q.js} +6 -6
  74. package/dist/assets/{GlobalReviewListPage-D1fbfssG-CByDE9EN.js → GlobalReviewListPage-8eiQXg7N-pPWYTyKl.js} +5 -5
  75. package/dist/assets/{InformationCardStack-CBsOTiOc-CgAe3fDD.js → InformationCardStack-CHVjIv01-Y1Eih__r.js} +2 -2
  76. package/dist/assets/{InsightsCardStack-BEpCIgoE-Bd7MJjyH.js → InsightsCardStack-x_tohY2Z-DNptH2Sv.js} +2 -2
  77. package/dist/assets/{InsightsSection-DcKb1p5B-QoDxUPcZ.js → InsightsSection-D7g00fg7-Bl1k6KMG.js} +2 -2
  78. package/dist/assets/{IntegrationsSettingsPage-CMEV5P0b-3g_v4D8X.js → IntegrationsSettingsPage-DVRtPRi9-ig1iJJpM.js} +10 -10
  79. package/dist/assets/{InternationalWireSwiftDetailsPage-Bukfo0LC-DGIPKWPe.js → InternationalWireSwiftDetailsPage-DnWbUuiD-CIWMoecY.js} +11 -11
  80. package/dist/assets/{InternationalWireVerificationPage-nZvCemaM-DntrzxyD.js → InternationalWireVerificationPage-CHvUYgd8-B9TQJM22.js} +3 -3
  81. package/dist/assets/{InviteFormPage-BpgeFttq-BbrTw2ZL.js → InviteFormPage-Cw0TIkwc-D0dTmTLg.js} +25 -25
  82. package/dist/assets/{InvitePageListView-B6wJomGk-pTRfOIaC.js → InvitePageListView-B4gEzFp2-1aqNeIHc.js} +19 -19
  83. package/dist/assets/{InvitePeoplePage-BArRXjlz-BHQlwXvg.js → InvitePeoplePage-Bnsqv_IY-DhNBoZS8.js} +5 -5
  84. package/dist/assets/{InvoiceUploadSection-CTqSftrm-CyVrgEkl.js → InvoiceUploadSection-CW4hHmAi-DKFSw8te.js} +20 -20
  85. package/dist/assets/{IssueChargeCardPage-DYG5IXrC-D-2m3p9R.js → IssueChargeCardPage-sM826Uvu-DMhbp0aa.js} +21 -21
  86. package/dist/assets/{LabeledAddressValue-D09c5wJR-784mespz.js → LabeledAddressValue-AuzW29LK-99vdzqZR.js} +1 -1
  87. package/dist/assets/{LabeledAddressValueField-Cac2YPpN-Ba7qdzlE.js → LabeledAddressValueField-C_KatgTA-ByiPbJgm.js} +1 -1
  88. package/dist/assets/LabeledControlledCheckBoxField-CEd7DSmU-mOU-S2fp.js +16 -0
  89. package/dist/assets/{LabeledCountryMultiSelectField-DdqOGBwp-DSHkYk9h.js → LabeledCountryMultiSelectField-CffMX6f1-C44H-4q3.js} +12 -12
  90. package/dist/assets/{LabeledCreatableSingleSelectField-K0xUavli-THytCXMe.js → LabeledCreatableSingleSelectField-CoS6DIi_-DTDCa09f.js} +2 -2
  91. package/dist/assets/LabeledDocumentField-CVBhbPHv-9665D02s.js +41 -0
  92. package/dist/assets/{LabeledDropDownFormattedTextField-Dms9ziRv-CJQkVxrk.js → LabeledDropDownFormattedTextField-CNru68eT-GPSUv36b.js} +5 -5
  93. package/dist/assets/{LabeledMultiSelectField-X5GGPnfG-0qUfOlj0.js → LabeledMultiSelectField-CTqXa2Rh-Cxu9DNT8.js} +1 -1
  94. package/dist/assets/{LabeledText-BJrI_PVT-oE-g3K8U.js → LabeledText-Da0Yn6u8-CFgd90E4.js} +2 -2
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BmMN3W3F-BzPJ9P_-.js → LabeledUserSingleSelectWithSubtitlesField-CE332GjA-BafYQ_Pm.js} +9 -9
  96. package/dist/assets/{LabeledZeniRolesDropDownField-PsaKyCCY-EbSrXIJy.js → LabeledZeniRolesDropDownField-DU4-ho4X-DQBIg45w.js} +7 -7
  97. package/dist/assets/{LinkJETransactionPage-BDIpw0zn-B_cGLw9N.js → LinkJETransactionPage-Dx4OE1-O-HLvvvZHd.js} +9 -9
  98. package/dist/assets/{LockCardPage-ChGk6VJX-BzQI96FY.js → LockCardPage-B3P6wcK_-Ckpg2eew.js} +23 -23
  99. package/dist/assets/{LowBalancePopup-Bv3kKmAV-DSB2Ymlf.js → LowBalancePopup-Dp1vEYQQ-DIw_NRSy.js} +5 -5
  100. package/dist/assets/MagicLinkACHDetailsPage-BeRQFYX3-CrMUHXPB.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-C1DDZC2_-CWTR8m-D.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-DyDp04Vn-UtoyLAup.js +1 -0
  103. package/dist/assets/{MagicLinkSuccessPage-ySlQc8oV-BspPWH9Z.js → MagicLinkSuccessPage-Iva17nX0-DhK2jGAZ.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-C_OYT1do-NbVFRCAZ.js → MagicLinkTitleSection-B726bP_P-CoT1ZO_f.js} +1 -1
  105. package/dist/assets/MailingDetailsSection-IQJY4Yl0-C_b76P8R.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-CxaXh1Aj-CwKK_h51.js → MyBankConnectionsSettingsPage-Ad6xGN08-JjXBlik9.js} +6 -6
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-B9mNbLDd-Db1Atl2l.js → MyPendingActivationChargeCardListPage-BYZ61huS-YKZjMs5X.js} +1 -1
  108. package/dist/assets/{MyProfileSettingsPage-DDERIXlZ-CjalvgMv.js → MyProfileSettingsPage-bEru4GQJ-Cj303JTH.js} +6 -6
  109. package/dist/assets/{NavBarWithPicker-BJ_8PHPv-B6R9nMuM.js → NavBarWithPicker-BAKrtv3g-BXBcsUFZ.js} +4 -4
  110. package/dist/assets/{NavigationArrow-9HOMBxoh-CWFuMeOE.js → NavigationArrow-CKvBs9-h-DGD1r2EE.js} +1 -1
  111. package/dist/assets/{NavigationDots-DPf5iy8f-DNlf5jCf.js → NavigationDots-BdcVrwsL-D_WEvn6f.js} +1 -1
  112. package/dist/assets/{NewGlobalMerchantPage-1MfUlwkA-Dx3DZ-ZO.js → NewGlobalMerchantPage-Cx38uQAS-BBICE4OG.js} +7 -7
  113. package/dist/assets/{NoDataChart-CDHiYyiO-DHWgty-U.js → NoDataChart-BbyxZE2g-CtN5BYbf.js} +2 -2
  114. package/dist/assets/{NoDataTable-BoAJZxdS-ClNYPP1-.js → NoDataTable-BNZWGvtm-S9Fe9Ovx.js} +1 -1
  115. package/dist/assets/{NotFoundPage-C-EoeDss-DqOvJ6YN.js → NotFoundPage-CssnEz-k-ccXdF3op.js} +7 -7
  116. package/dist/assets/{NotificationSettingsPage-BfFNx-vu-Byo7BJZr.js → NotificationSettingsPage-DmgxnO9I-BH2rOJH7.js} +15 -15
  117. package/dist/assets/{NotificationsListConfig-CBQwRqMo-DVBdjTys.js → NotificationsListConfig-DdMKLqFI-DwvXMwFg.js} +1 -1
  118. package/dist/assets/{NotificationsPage-BPfRskWZ-_QOFXGgt.js → NotificationsPage-B9XIE39J-CejudHUF.js} +12 -12
  119. package/dist/assets/{OpExByVendorPage-BLI8h8LP-PGQ9bnDo.js → OpExByVendorPage-5wnFvYXt-D6A9jnRY.js} +4 -4
  120. package/dist/assets/{OverlayContainerPage-IDTUbuAC-B16J5Isr.js → OverlayContainerPage-IDTUbuAC-dv-sDcTQ.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-DvT1WQdL-CPylI6Uc.js → PandLWithForecastPage-CrtKdSaD-CYng6puq.js} +7 -7
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CyfKYJV3-CnunCi1o.js → PaymentAccountSetupBillingAddressSection-CQki5l4P-CuMomXeK.js} +9 -9
  123. package/dist/assets/{PeoplePage-BHfn-oLF-CGOapKvG.js → PeoplePage-BCjxJl1y-JBCpiTMQ.js} +10 -10
  124. package/dist/assets/{Preview-B9tjpKKL.js → Preview-DMKZka6j.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-ChWN6HhX-DEhcI5NW.js → ProductsCarousel-BYvlY6Jl-BJ6Pqq3q.js} +1 -1
  126. package/dist/assets/{PromoBaseCards-BWpqciJW-DEw7mp3r.js → PromoBaseCards-6vRaZnUg-CBqkAept.js} +12 -12
  127. package/dist/assets/{QBOConnectionDialog-D9wVm2ga-jv2cIUQM.js → QBOConnectionDialog-C-v9bhUW-CtiRv4Zj.js} +2 -2
  128. package/dist/assets/{QBOSetupSection-CR7JQ_H9-CokKwnfI.js → QBOSetupSection-DPhwp1AB-DxJDpMHr.js} +11 -11
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-RTvnT_vl-D0AOYl_B.js → ReimbursementApprovalRuleDetailPage-Crz8RArL-DQzyot-2.js} +2 -2
  130. package/dist/assets/{ReimbursementApprovalRulesPage-Dbs4lLSo-5JjLiWWQ.js → ReimbursementApprovalRulesPage-CHrPVveg-DDlyKkun.js} +13 -13
  131. package/dist/assets/{ReimbursementDetailPage-COF-QqKR-BLj9_Zcn.js → ReimbursementDetailPage-BlfifQuc-DXXQTfQu.js} +8 -8
  132. package/dist/assets/{ReimbursementPromoPage-DSHynwPv-CMfUTDoh.js → ReimbursementPromoPage-B6rhhOye-CmIRL-Wr.js} +12 -12
  133. package/dist/assets/{ReimbursementSetUpPage-CafAtAVr-BdH5_Uu6.js → ReimbursementSetUpPage-BQwRjKZ5-CWVOKlly.js} +7 -7
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-Cz8keUEO-C42JglzT.js → ReimbursementsBulkReviewDrawerPage-BTaFn0Mh-DXx1vhRK.js} +1 -1
  135. package/dist/assets/{ReloadCard-Bf1jxC4B-CjPHohhm.js → ReloadCard-DETUOoLJ-Dww2RtAQ.js} +1 -1
  136. package/dist/assets/{ReportTableViewSelector-DOQm7O9r-DcS436ql.js → ReportTableViewSelector-DSDclygb-CPmwPKtZ.js} +29 -29
  137. package/dist/assets/{ReportsPage-Deg59aYB-VaMTaqOC.js → ReportsPage-BrmMmYET-qm3o80ge.js} +4 -4
  138. package/dist/assets/{RevenueChart-C1RR_51e-Bn1LRvSc.js → RevenueChart-B711QWTX-ztc9NA65.js} +17 -17
  139. package/dist/assets/{ReviewDetailsPage-D3bqGZYb-DmpMCAqo.js → ReviewDetailsPage-Bkw0FfE--BL2mmyys.js} +52 -52
  140. package/dist/assets/{ReviewOverlay-CKB9LulM-CUNk2W-s.js → ReviewOverlay-CkB3Z8hH-CX5FMXRQ.js} +11 -11
  141. package/dist/assets/{RoleWithToolTip-BGlbeXtJ-BQ5iinOT.js → RoleWithToolTip-CkpqxMzB-CgYpd1vG.js} +1 -1
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-D4OkyPNa-6prKuM88.js → ScheduleDetailsFixedAssetsPage-C-4zVu03-B-3H4CNH.js} +9 -9
  143. package/dist/assets/{ScheduleDetailsPage-9oUScaFD-Czq02-r0.js → ScheduleDetailsPage-D4mYRUnv-CIK0kUkx.js} +3 -3
  144. package/dist/assets/{ScheduleSequenceTable-CuOC0Niz-BzAvMkBB.js → ScheduleSequenceTable-q-031a_C-Cl6g3k1V.js} +8 -8
  145. package/dist/assets/{ScreenRoutes-DhG0rKVC.js → ScreenRoutes-D9-sd0S3.js} +1 -1
  146. package/dist/assets/{SetUpAccountSection-CK2Ibij3-DvyPJ8FZ.js → SetUpAccountSection-Mm8JelXc-DJkSxyLc.js} +6 -6
  147. package/dist/assets/{SignIn-CLLS0cqt-G1jKv-f1.js → SignIn-faWXqi7o-BVPJ-uzq.js} +16 -16
  148. package/dist/assets/{SignInScreen-BdhVUUiU.js → SignInScreen-DTTr8TvQ.js} +1 -1
  149. package/dist/assets/{SpendManagementListViewPage-C1hg05PB-BMXGChah.js → SpendManagementListViewPage-BLWEPKWO-zjDi64vH.js} +6 -6
  150. package/dist/assets/{SpendManagementPerTabPage-7uggjzlM-BBdEOhcD.js → SpendManagementPerTabPage-vZNK6DuA-DHQi0ok2.js} +23 -23
  151. package/dist/assets/{SpendManagementSection-DFiL_yNI-ca-vlRub.js → SpendManagementSection-CeDmloNd-CJQVf2yR.js} +1 -1
  152. package/dist/assets/StatementItem-CJShifEl-gXZiawe9.js +31 -0
  153. package/dist/assets/StatementsPage-BRxP-Jwn-CibgKP9E.js +58 -0
  154. package/dist/assets/{StatusSwitcher-DPzwQ_o1-DkaIBc47.js → StatusSwitcher-CPuONMOx-IUewbXcR.js} +1 -1
  155. package/dist/assets/{SubTabSwitcher-Dztt2rN9-DqHo5u0Z.js → SubTabSwitcher-ibTbIxr5-87SzITqK.js} +1 -1
  156. package/dist/assets/SummaryCard-vWpHXMPE-j4-YbXA_.js +1 -0
  157. package/dist/assets/{TaskManagementPage-BRAt26fv-om-zuIgh.js → TaskManagementPage-COs5ebo9-LStJ5YyB.js} +22 -22
  158. package/dist/assets/{TimeRangeSwitcher-DMCbeOcI-C4mgjK4U.js → TimeRangeSwitcher-fD5vvYGO-Cg6AHBEd.js} +11 -11
  159. package/dist/assets/{TimeframeSwitcher-YCgPbEnk-CJUz-kg1.js → TimeframeSwitcher-BYXKRKtc-BTNUudrw.js} +1 -1
  160. package/dist/assets/{TimeframeSwitcherWithToggle-BBJP1nmh-D1jTbV4O.js → TimeframeSwitcherWithToggle-f92qNjEk-CshyNxhp.js} +2 -2
  161. package/dist/assets/{TopExCard-LesAF7Ot-CWhGtv9n.js → TopExCard-Bs4nI9Q9-C9Jpq9jc.js} +10 -10
  162. package/dist/assets/{TopExDetailPage-BTG2W95T-CAgJv3QR.js → TopExDetailPage-B0kS11k0-IiO7dIt-.js} +8 -8
  163. package/dist/assets/{TransactionDetailPage-BqHVfK2K-CBoMen48.js → TransactionDetailPage-BXl6y7sy-B_wNV2dF.js} +1 -1
  164. package/dist/assets/{TransactionList-CGmpQyNM-BGohJsUE.js → TransactionList-BYXPQXN1-C2WkgSOj.js} +11 -11
  165. package/dist/assets/{TransactionListBig-CSYpIxGa-Bd2xJZzC.js → TransactionListBig-lrbHUS38-D0fzERPt.js} +16 -16
  166. package/dist/assets/{TransactionListPage-CV5U_pA6-DsUhS_R3.js → TransactionListPage-OOLJzsmw-Dmoozb9S.js} +2 -2
  167. package/dist/assets/{TransactionVendorDetailPage-DvqHmq7y-C8mjIShR.js → TransactionVendorDetailPage-CmjrngD2-DvxXX996.js} +4 -4
  168. package/dist/assets/{TransferDrawerPage-Cm5reG35-B5qd6-NU.js → TransferDrawerPage-CnFrzA_M-C6390hZV.js} +15 -15
  169. package/dist/assets/{TreasuryOverviewPage-CwcehiRb-BBfaI9Ls.js → TreasuryOverviewPage-CGxccIcU-CgXb0qH5.js} +25 -25
  170. package/dist/assets/{TreasuryPromoPage-BagqhZgO-BswlnynL.js → TreasuryPromoPage-BmMVa8cX-BOYWbSX7.js} +8 -8
  171. package/dist/assets/{TreasuryStatementsPage-o-ID2nvn-DTg8AAgQ.js → TreasuryStatementsPage-DL94A9mN-DZ6yoZ74.js} +1 -1
  172. package/dist/assets/{TreasuryTaxLetterPage-D9f3ohGF-DEP20r26.js → TreasuryTaxLetterPage-BJ9-ZsCQ-DnDmd1Op.js} +2 -2
  173. package/dist/assets/{TrendChart-CqxpheW7-DiPHNgeC.js → TrendChart-ClyJQTBF-TLthRW_O.js} +1 -1
  174. package/dist/assets/{TrendWithTransactions-CK_je__x-C1Qk91i9.js → TrendWithTransactions-D4m4sVkf-DJ-5Yugx.js} +4 -4
  175. package/dist/assets/{UncategorizedAccountsMappingPage-BBYQFJxE-nEmuJTEW.js → UncategorizedAccountsMappingPage-BLwx8CVj-dhOY5qHO.js} +1 -1
  176. package/dist/assets/{UnitIntegrationPage-ULhazfl5-DPlYAGvC.js → UnitIntegrationPage-CgbOyIBt-nz_B7FQx.js} +10 -10
  177. package/dist/assets/{UploadAdditionalDocumentOverlay-BPNLdaLG-DQNAWd7N.js → UploadAdditionalDocumentOverlay-CmVwCxA2-BL_6rNZZ.js} +1 -1
  178. package/dist/assets/Vendor2FAPopup-DQtP0bm--CecMTi1i.js +1 -0
  179. package/dist/assets/VendorACHDetailsPage-CuCteqbL-CrfAmoz7.js +1 -0
  180. package/dist/assets/{VendorDetailPage-DPiVnh93-CAOlBr9d.js → VendorDetailPage-CFkDOdUe-B1GqtBiD.js} +93 -93
  181. package/dist/assets/VendorDomesticWireDetailsPage-Cr1fyB0u-N7obKAAe.js +1 -0
  182. package/dist/assets/{VendorFiling1099EditablePage-CFrvW8qi-C-v6Mx4-.js → VendorFiling1099EditablePage-Bkn9p2Sf-xXTYWhq9.js} +32 -32
  183. package/dist/assets/{VendorFirstReviewPage-CRLGuw2s-wfeT2fAg.js → VendorFirstReviewPage-CKvnB4Q7-wJi46XXQ.js} +1 -1
  184. package/dist/assets/{VendorInternationalWireDetailsPage-CV11lzdw-BWhlaMax.js → VendorInternationalWireDetailsPage--B2XU_hP-CbzsnIo2.js} +8 -8
  185. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CJFB7SEO-BecYrM5_.js +1 -0
  186. package/dist/assets/{VendorsAccountsSection-vd0V4UXY-BNPavepY.js → VendorsAccountsSection-DJP1yZx7-OlnsbsSP.js} +3 -3
  187. package/dist/assets/{VerifyDevice-DbyjJVTH-_0YHPiw6.js → VerifyDevice-dFsnt44d-C1LsKxM_.js} +3 -3
  188. package/dist/assets/{VideoPlayer-CoI7aj8a-B3tmTxCF.js → VideoPlayer-Dy6rImBJ-QOYygi-i.js} +2 -2
  189. package/dist/assets/{VideoPopup-Bp7fCV1r-BulLqsQx.js → VideoPopup-DM5Buf4j-CFLugl6n.js} +4 -4
  190. package/dist/assets/{WarningsDrawerPage-jMslD0FX-CrUmOPLP.js → WarningsDrawerPage-C8i8v3rq-BqkJBNMa.js} +5 -5
  191. package/dist/assets/{ZeniAccountDetailPage-C1Vq8cMd-BzjwyTwn.js → ZeniAccountDetailPage-CI7znfzM-Vqgai5nW.js} +12 -12
  192. package/dist/assets/{ZeniAccountListViewPage-BNTb04x5-DcvhdCN4.js → ZeniAccountListViewPage-CBnYQpc8-Dv81IpSI.js} +7 -7
  193. package/dist/assets/{ZeniAccountNavBarPieces-ByYrxg3x-w6kmpmKh.js → ZeniAccountNavBarPieces-sMjtAlej-CO7nbf-u.js} +1 -1
  194. package/dist/assets/{ZeniAccountPromoPage-BCkk0NbR-juw5u7mQ.js → ZeniAccountPromoPage-B_NJMHHV-DWsuBCOP.js} +13 -13
  195. package/dist/assets/{ZeniAccountSetupPage-ClZTjZhF-C_sOqJTM.js → ZeniAccountSetupPage-C9cJ0F8e-BF5g947U.js} +1 -1
  196. package/dist/assets/{ZeniCopyright-C8wXM9Gr-qMGnv8al.js → ZeniCopyright-DzWFQiAt-07AcK5yb.js} +1 -1
  197. package/dist/assets/{ZeniTransferAmountSlider-NAR_1h8K-DARDrTsk.js → ZeniTransferAmountSlider-B424bcSV-CHepSJQx.js} +1 -1
  198. package/dist/assets/{add-to-wallet-DgdBD8_G-flwj0i1s.js → add-to-wallet-DgdBD8_G-pWZi41H8.js} +1 -1
  199. package/dist/assets/{analytics-EizVTK6x.js → analytics-BvXI56dE.js} +1 -1
  200. package/dist/assets/{analyticsHelper-DjynPp_X-s29on7ka.js → analyticsHelper-CzevEN9D-BUYGstD0.js} +1 -1
  201. package/dist/assets/{analyticsHelper-BRPQgKH6.js → analyticsHelper-DP-LgJhR.js} +1 -1
  202. package/dist/assets/{arrow-south-east-round-PEovUgvH-DbFUNUBk.js → arrow-south-east-round-PEovUgvH-B9_UwdI_.js} +1 -1
  203. package/dist/assets/{auto-transfer-rule-mbafm5D3-T83isyAA.js → auto-transfer-rule-mbafm5D3-CRwly3T1.js} +1 -1
  204. package/dist/assets/{chartTypes-CXNoxZp_-CJ_wyUtd.js → chartTypes-n3TS0IBf-DRx7aLxA.js} +1 -1
  205. package/dist/assets/{commonDimensions-i9Qxk1O2-XYIUogON.js → commonDimensions-6BcP8EhU-CPpjZ-C4.js} +1 -1
  206. package/dist/assets/{commonTypes-CcEHeA3z-sEqnsPbS.js → commonTypes-Q1WP-Ym3-Cmq2uCPt.js} +1 -1
  207. package/dist/assets/{constants-BGXrwDfx.js → constants-B97TsRRb.js} +1 -1
  208. package/dist/assets/{core-C5wq1_Bk.js → core-CIefpDlV.js} +1 -1
  209. package/dist/assets/{dash.all.min-B4_top4V.js → dash.all.min-RUznf6Xj.js} +1 -1
  210. package/dist/assets/{detailCommon-DVTOw71--Wk0Evzej.js → detailCommon-D3YbmSu3-CiTGsaNF.js} +7 -7
  211. package/dist/assets/{downloadPdf-1-N8Pf0G-CMW67koi.js → downloadPdf-Bf11NXjY-DUwuSlsF.js} +1 -1
  212. package/dist/assets/{empty-fb3xJ2Vb.js → empty-BQQX0XD1.js} +1 -1
  213. package/dist/assets/{empty-DuP8pCf7.js → empty-DJIJO66a.js} +1 -1
  214. package/dist/assets/{epic-4LjfR2JF.js → epic-C6ygjjdM.js} +1 -1
  215. package/dist/assets/{gift-box-Cmt9OgIZ-BtixTK1k.js → gift-box-Cmt9OgIZ-BWCTqneo.js} +1 -1
  216. package/dist/assets/{graphic-no-data-l-DU4J8fDt--UnjJCr0.js → graphic-no-data-l-DU4J8fDt-C8GXOUxr.js} +1 -1
  217. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-8oQBXM_J.js → graphic-no-data-net-burn-l-CzmycA0m-BQAFQuCs.js} +1 -1
  218. package/dist/assets/{handshake-BPg58FML-BSCdA5zo.js → handshake-BPg58FML-BCnezDN8.js} +1 -1
  219. package/dist/assets/{index-tW1FBxGF.js → index-BzA0Xv0P.js} +1 -1
  220. package/dist/assets/{index-Ko3PkHk3.js → index-CQs92n2L.js} +1 -1
  221. package/dist/assets/{index-CzJUh-iK.js → index-DAj0zPwk.js} +1 -1
  222. package/dist/assets/{index-J8KI2Uyc.js → index-DtRGsySN.js} +1 -1
  223. package/dist/assets/{index-DVgY55Ab.js → index-WEj6FS32.js} +10 -8
  224. package/dist/assets/{index-_TIifI_v.js → index-rikpsdq-.js} +1 -1
  225. package/dist/assets/{index-DqRCO-H6.js → index-smQbM7l5.js} +1 -1
  226. package/dist/assets/{lexical-xuKHFvUb.js → lexical-Dp1JhPKz.js} +1 -1
  227. package/dist/assets/{liveblocks-B14TpO3l.js → liveblocks-CrODURpx.js} +1 -1
  228. package/dist/assets/{lottie-BIQaRIZs.js → lottie-hIwSKdQS.js} +1 -1
  229. package/dist/assets/{mapLoadingInProgressToTreeNode-UA-QQZJo-DsDuha6V.js → mapLoadingInProgressToTreeNode-BArKDqgr-Ce9uxfyP.js} +1 -1
  230. package/dist/assets/{mapSectionWithAcOnlyToTreeNode--y3nO5uZ-DP42yTzT.js → mapSectionWithAcOnlyToTreeNode-BCmFQbuz-BJl1ilV_.js} +1 -1
  231. package/dist/assets/mapSpacerToTreeNode-DdwRxjlP-Bw1NwZTY.js +1 -0
  232. package/dist/assets/mapTimeframeBalancesToTreeNode-CR-gDA51-Dr9tcN9g.js +1 -0
  233. package/dist/assets/mapTimeframeBalancesToTreeNode-ClmNRrTo-Covijrhn.js +1 -0
  234. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-aD-96xtj-BAIV3Qln.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DT4LUXl9-COTrRRrU.js} +1 -1
  235. package/dist/assets/{mui-CR-wYMmN.js → mui-BTtN6lbG.js} +1 -1
  236. package/dist/assets/{page-detail-CWX5S47F-Dp0GDjdb.js → page-detail-CWX5S47F-vL4oE1Hd.js} +1 -1
  237. package/dist/assets/{radio-default-CiSgisfh-CInIhD3e.js → radio-default-CiSgisfh-CzTG_UVX.js} +1 -1
  238. package/dist/assets/{react-D2cRiLcJ.js → react-BZDhaeWn.js} +1 -1
  239. package/dist/assets/{react-C8urvt-z.js → react-CZT8R2xg.js} +1 -1
  240. package/dist/assets/{react-D_2r5dmn.js → react-D8h_J9ua.js} +1 -1
  241. package/dist/assets/{react-BW87X3sj.js → react-DTawl0rf.js} +1 -1
  242. package/dist/assets/{react-DHV7aTmN.js → react-FdUpWGdd.js} +2 -2
  243. package/dist/assets/{react-CCZeJYV_.js → react-RUf-G1wy.js} +1 -1
  244. package/dist/assets/{react-BHi_eEiU.js → react-dGc0O2tO.js} +1 -1
  245. package/dist/assets/{react-CcqTmi2W.js → react-yNxKnTJa.js} +1 -1
  246. package/dist/assets/{recharts-C3mrSjO2.js → recharts-BfU_srYC.js} +1 -1
  247. package/dist/assets/{sentry-DMXY90dB.js → sentry-B0WgNUxa.js} +1 -1
  248. package/dist/assets/{shield-DOlUxcFf-BYs2EC5i.js → shield-DOlUxcFf-Z1Xg2OMK.js} +1 -1
  249. package/dist/assets/toCOABalancesWithID-BzzH0Io4-q6KiTxht.js +1 -0
  250. package/dist/assets/{toChartData-Dv-QcYgv-C4sd-ifC.js → toChartData-Bl-lEYbQ-Cv_10vbn.js} +1 -1
  251. package/dist/assets/{uploadAttachment-DSmux1Yp-Dl4ms4pR.js → uploadAttachment-B_0cN84g-C7pQHANb.js} +8 -8
  252. package/dist/assets/{uploadReceipts-DJRtId-4-CHJq-raT.js → uploadReceipts-DJRtId-4-B1jpX457.js} +1 -1
  253. package/dist/assets/{url-20Ls3nS_.js → url-CHEcUoer.js} +1 -1
  254. package/dist/assets/{url-DojBAuFA.js → url-D-l_68oE.js} +1 -1
  255. package/dist/assets/{useLongPress-GCK2COYQ-C5_U_XBl.js → useLongPress-GCK2COYQ-BysG3lqG.js} +1 -1
  256. package/dist/assets/{usp-line-BBd1wKwW-l2et8N9o.js → usp-line-BBd1wKwW-ZROsAmzr.js} +1 -1
  257. package/dist/assets/{utils-BCuN6woZ.js → utils-DZQMbqmw.js} +1 -1
  258. package/dist/assets/{zeni-epic-state-BXMuLX_S.js → zeni-epic-state-DnAAAEmj.js} +3 -3
  259. package/dist/index.html +1 -1
  260. package/package.json +4 -4
  261. package/dist/assets/AccountInfoPage-CyJ0eFqc-oDTaIYye.js +0 -18
  262. package/dist/assets/AddAddressForCardDrawer-D1XOklKz-D41jak46.js +0 -6
  263. package/dist/assets/CardNumberSubText-sE2DGwYG-B174guLL.js +0 -21
  264. package/dist/assets/ChargeCardPromoPage-D0np03A--Bpq9wCjH.js +0 -222
  265. package/dist/assets/ConfettiBurst-BRie0bid-CKCgsLzT.js +0 -1
  266. package/dist/assets/CustomerOnboardingContainerPage-DrNstqxI-DBMIRSp3.js +0 -1
  267. package/dist/assets/EntityDetailPage-Cpdbw3XR-C8k1xBJc.js +0 -18
  268. package/dist/assets/LabeledControlledCheckBoxField--EmdYCME-BUoRkObt.js +0 -16
  269. package/dist/assets/LabeledDocumentField--JZn0qDn-Ck_rkdmF.js +0 -41
  270. package/dist/assets/MagicLinkACHDetailsPage-D4Vmz8ms-ItRZ63_N.js +0 -1
  271. package/dist/assets/MagicLinkDomesticWireDetailsPage-B7C30ROh-C843OBvj.js +0 -1
  272. package/dist/assets/MagicLinkInternationalWireDetailsPage-DVFrpmvm-COXfeIQs.js +0 -1
  273. package/dist/assets/MailingDetailsSection-CTPCXpZR-Dv3Iye8Q.js +0 -21
  274. package/dist/assets/StatementItem-CdytKcBE-CavJc8fo.js +0 -31
  275. package/dist/assets/StatementsPage-DU32IYXF-Dj_pMhMm.js +0 -58
  276. package/dist/assets/SummaryCard-D3ev0zFr-CHfcyxTY.js +0 -1
  277. package/dist/assets/Vendor2FAPopup-C3Z-3poJ-Cxx265s1.js +0 -1
  278. package/dist/assets/VendorACHDetailsPage-DnB2b-v_-C755XLlO.js +0 -1
  279. package/dist/assets/VendorDomesticWireDetailsPage-BbfatdWd-DhsLa-3A.js +0 -1
  280. package/dist/assets/VendorInternationalWireSwiftDetailsPage-D3asjWH_-BXIinpkC.js +0 -1
  281. package/dist/assets/mapSpacerToTreeNode-BOG_274U-C0W1M9EX.js +0 -1
  282. package/dist/assets/mapTimeframeBalancesToTreeNode-Btd_0ZvL-CEgQnhXV.js +0 -1
  283. package/dist/assets/mapTimeframeBalancesToTreeNode-LWHXAvJU-B42MwYQ_.js +0 -1
  284. package/dist/assets/toCOABalancesWithID-C_7wlYeT-C3P4q5bp.js +0 -1
@@ -1,58 +1,58 @@
1
- import{Q as oe,g as ze,a9 as Ae,cE as Be,y as w,V as t,bB as ke,aP as Oe,ac as Ee,cJ as C,o as s,cO as Re,hh as We,gb as qe,cS as He,hi as Me,hj as Ge,cN as Ue,aR as _e,F as ne,eX as U,ho as de,er as Ke,eY as Qe,u as c,x as Je,bO as I,cC as Xe,hp as Ye,p as F,c as Ze,ch as et,al as ce,eH as tt,hq as st,hr as lt,hs as H,eZ as it}from"./index-DVgY55Ab.js";import{a as x}from"./sentry-DMXY90dB.js";import{n as a}from"./mui-CR-wYMmN.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-Dms9ziRv-CJQkVxrk.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./zeni-epic-state-BXMuLX_S.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="c4bd4283-4551-4a39-8b39-6abf443b85e9",e._sentryDebugIdIdentifier="sentry-dbid-c4bd4283-4551-4a39-8b39-6abf443b85e9")}catch{}})();const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function at(e){const{loadingState:i}=e;return t.jsx(ot,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function ot({googleAPIKey:e,addressToEdit:i,sectionId:o,isDisabled:g,style:R}){const O=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(O);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:R,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:g,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(o,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:H(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:H(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:H(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:U(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(O),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{J as ae,g as ze,a9 as Ae,cE as Be,y as w,V as t,bB as ke,aP as Oe,ac as Ee,cJ as C,o as s,cO as Re,hh as We,gb as qe,cS as He,hi as Me,hj as Ge,cN as Ue,aR as Ke,F as ne,eX as U,ho as de,er as _e,eY as Je,u as c,x as Qe,bO as I,cC as Ye,hp as Ze,p as F,c as Xe,ch as et,al as ce,eH as tt,hq as st,hr as lt,hs as H,eZ as it}from"./index-WEj6FS32.js";import{a as x}from"./sentry-B0WgNUxa.js";import{n as o}from"./mui-BTtN6lbG.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-CNru68eT-GPSUv36b.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./zeni-epic-state-DnAAAEmj.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="710b7089-572b-4eb2-862f-8bef6d1027f2",e._sentryDebugIdIdentifier="sentry-dbid-710b7089-572b-4eb2-862f-8bef6d1027f2")}catch{}})();const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function ot(e){const{loadingState:i}=e;return t.jsx(at,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function at({googleAPIKey:e,addressToEdit:i,sectionId:a,isDisabled:g,style:R}){const O=ae(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(O);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:R,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:g,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(a,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:H(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(a,"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(a,"city"),defaultValue:i?.city,placeholder:H(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(a,"state"),defaultValue:i?.state,placeholder:H(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(a,"country"),placeholder:u.address.countryPlaceholder,defaultValue:U(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(a,"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(O),width:"100%",outline:"none"},text:{type:"text",name:j(a,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  margin-left: ${s.sp3};
5
- `,dt=a.div`
5
+ `,dt=o.div`
6
6
  display: flex;
7
7
  flex-direction: column;
8
8
  background-color: ${e=>e.theme.colors.grey5};
9
9
  border-radius: ${s.sp2};
10
10
  padding-right: ${s.sp2};
11
- `,se=a.input`
11
+ `,se=o.input`
12
12
  display: none;
13
- `,ct=a.div`
13
+ `,ct=o.div`
14
14
  display: flex;
15
15
  flex-direction: column;
16
16
  row-gap: ${s.sp7};
17
17
  margin-bottom: ${s.sp4};
18
- `,ut=a.div`
18
+ `,ut=o.div`
19
19
  display: flex;
20
20
  flex-direction: column;
21
21
  row-gap: ${s.sp3};
22
- `,pt=a.div`
22
+ `,pt=o.div`
23
23
  border: 1px solid ${e=>e.theme.colors.grey3};
24
24
  filter: drop-shadow(
25
25
  ${s.sp0} 2px ${s.sp1} ${F.boxShadowElevation}
26
26
  );
27
27
  border-radius: ${s.sp2};
28
28
  background: ${e=>e.theme.colors.grey5};
29
- `,ht=a.div`
29
+ `,ht=o.div`
30
30
  margin-left: ${s.sp3};
31
- `,M=a.div`
31
+ `,M=o.div`
32
32
  padding: ${s.sp3};
33
33
  display: flex;
34
34
  justify-content: space-between;
35
35
  border-bottom: 1px solid ${e=>e.theme.colors.grey3};
36
- `,gt=()=>t.jsx(ct,{children:[...Array(1)].map((e,i)=>t.jsxs(ut,{children:[t.jsx(I,{style:{marginBottom:s.sp4},width:120,height:c[4]}),t.jsxs(pt,{children:[[...Array(5)].map((o,g)=>t.jsxs(M,{children:[t.jsx(I,{width:70,height:c[4]}),t.jsx(I,{width:140,height:c[4]})]},g)),t.jsx(M,{children:t.jsx(I,{width:120,height:c[4]})}),t.jsx(ht,{children:[...Array(7)].map((o,g)=>t.jsxs(M,{children:[t.jsx(I,{width:70,height:c[4]}),t.jsx(I,{width:140,height:c[4]})]},g))})]})]},i))}),$={largeLabelWidth:new w(130,200,300),labelMarginLeft:new w(c[3],c[4]),labelMarginTop:new w(c[2],c[3]),labelMarginBottom:new w(c[2],c[3]),containerPaddingLeft:new w(c[3],c[6],c[8]),containerPaddingRight:new w(c[3],c[6],c[8])},mt={zIndex:2,minHeight:62},l="vendor1099FilingSectionId",ue="legalName",pe="email",he="phone",ge="taxClassification",me="tinType",ye="tinValue",yt="street",xt="suite",ft="city",bt="state",wt="country",$t="countryCode",vt="postalCode",jt="secondaryInfo",G=e=>`${e}_form`,P=(e,i)=>`${e}.${i}`,{spendManagement:St,common:r}=ne.getLocalizedStrings(),S=St.billPay.vendorCreation,A=r.labels,le=r.footer,ts=e=>{const i=oe(),o=new AbortController,g=ze(),R=o.signal,{onVendorFiling1099UploadDetailsSave:O,vendorId:u,vendorFiling1099UploadDetailsViewState:p,onSaveChangesToLocalStore:v,vendorFiling1099UploadDetails:D,fetchVendorFetchStatus:_,onAddressEditHandler:xe,goBackToListPage:K,onResetVendorFiling1099FormStatus:fe,googleAPIKey:be}=e,{vendor1099DetailsSaveStatus:T,vendor1099DetailsLocalData:d,w9FormUploadStatus:Q}=p,[J,X]=x.useState(D.addressStatus?.addressToCreate??{street:[],city:"",state:"",country:"",countryCode:"",postalCode:""}),Y=x.useRef(null),{vendorTypeList:W}=D,N=x.useRef(null),z=x.useRef(null),Z=x.useRef(!1);x.useEffect(()=>{z.current===null&&d.legalName!=r.strings.empty&&p.vendor1099DetailsAutoFilledValues?.legalName===!0&&(z.current=d.legalName)},[d.legalName]),x.useEffect(()=>{N.current===null&&d.legalName!==r.strings.empty&&(N.current=d.legalName)},[d.legalName]),x.useEffect(()=>{D?.addressStatus?.addressToCreate&&p.vendor1099DetailsAutoFilledValues?.address===!0&&Z.current===!1&&(X(D.addressStatus.addressToCreate),Z.current=!0)},[D,p.vendor1099DetailsAutoFilledValues?.address]);const m=Ae({mode:"onSubmit",defaultValues:ae(d,W??[],J),values:ae(d,W??[],J)}),{isValid:we}=m.formState,$e=m.handleSubmit(()=>{we&&(xe(m.getValues()),O(u,R))}),{vendor1099DetailsAutoFilledValues:f}=p,ve=()=>f?.tin.type===!0||f?.tin.value===!0||f?.legalName===!0||f?.taxClassification===!0,je=async(y,n)=>{if(y!=null){const h={...n},Ve=h[l].legalName,Le=h[l].email,Ie=h[l].phone,Pe=h[l].taxClassification,Fe=h[l].tinType,ee=h[l].tinValue,Te={legalName:Ve??r.strings.empty,vendorId:u,contact:{email:Le??r.strings.empty,phone:Ie??r.strings.empty,fullName:d.contact?.fullName??r.strings.empty,id:d.contact?.id??r.strings.empty},taxClassification:Pe.selectedType??r.strings.empty,tin:{type:Fe??null,value:ee??null},tinValue:ee??null};if(y.includes(`${l}.street`)&&n.vendor1099FilingSectionId.street!=null){const{addressValue:L}=n.vendor1099FilingSectionId.street,Ne=m.getValues(`${l}.country`),q=U(L?.country);m.setValue(l,{...n[l],street:n.vendor1099FilingSectionId.street,city:L?.locality??"",state:L?.administrativeAreaLevel1??"",country:q,countryCode:L?.countryCode??"",postalCode:L?.postalCode??"",secondaryInfo:n.vendor1099FilingSectionId.secondaryInfo??"",suite:n.vendor1099FilingSectionId.suite??""}),Ke(m.formState.errors,`${l}.city`)&&L?.locality&&m.trigger(`${l}.city`),Ne.selectedOption!==q.selectedOption&&m.setValue(`${l}.country`,q)}else y==="vendor1099FilingSectionId.country"&&n[l].country.selectedOption!=null&&m.setValue(`${l}.countryCode`,Qe(n[l].country.selectedOption));v(Te)}};x.useEffect(()=>{const y=m.watch((n,{name:h})=>{h!=null&&n!=null&&((h.startsWith(`${l}.street`)||h.startsWith(`${l}.city`)||h.startsWith(`${l}.state`)||h.startsWith(`${l}.country`)||h.startsWith(`${l}.postalCode`))&&n[l]!=null&&X({street:[n[l].street?.addressString??r.strings.empty,n[l].suite??r.strings.empty,n[l].secondaryInfo??r.strings.empty],city:n[l].city??r.strings.empty,state:n[l].state??r.strings.empty,country:n[l].country?.selectedOption??r.strings.empty,countryCode:n[l].countryCode,postalCode:n[l].postalCode??r.strings.empty}),Be(()=>je(h,n)))});return()=>{y.unsubscribe()}});const V=$.largeLabelWidth.value(i),Se=T.error?.message??r.strings.empty,Ce=T.error?.title??r.strings.empty,De=()=>T?.fetchState==="In-Progress"||_?.fetchState==="In-Progress"||Q?.fetchState==="In-Progress",b=_?.fetchState==="In-Progress"||Q?.fetchState==="In-Progress";return x.useEffect(()=>()=>{o.abort(),fe()},[]),t.jsx(Dt,{windowSize:i,children:t.jsxs(Ct,{windowSize:i,children:[t.jsxs(Vt,{windowSize:i,ref:Y,children:[t.jsx(ke,{title:(p.vendor1099DetailsAutoFilledValues?.legalName===!0?z.current:N.current)??r.strings.empty,backgroundColor:g.colors.grey4,leftSideComponent:t.jsx(t.Fragment,{}),rightSideComponent:t.jsx(It,{windowSize:i,onClick:K,"data-testid":Oe("vendor-filling-1099-details-editable-page-close-icon")}),scrollableContent:Y,enableTitleOnScroll:!0,scrollThreshold:50,source:"VendorFiling1099EditablePage"}),b===!0?t.jsx(ie,{windowSize:i,isLoading:b,children:t.jsx(gt,{})}):t.jsxs(ie,{windowSize:i,isLoading:b,children:[i==="small"?t.jsx(Pt,{windowSize:i,children:p.vendor1099DetailsAutoFilledValues?.legalName===!0?z.current:N.current}):t.jsx(Ft,{children:p.vendor1099DetailsAutoFilledValues?.legalName===!0?z.current:N.current}),T.fetchState==="Error"?t.jsxs(Tt,{children:[t.jsx(Bt,{}),t.jsxs(Nt,{children:[t.jsx(zt,{children:Ce}),t.jsx(At,{children:Se})]})]}):null,ve()&&t.jsxs(Et,{children:[t.jsx(k,{}),t.jsx(Rt,{children:S.vendorDetails.banner})]}),t.jsx(Ee,{...m,children:t.jsx("form",{id:G(l),onSubmit:$e,children:t.jsxs(Lt,{isLoading:b,children:[t.jsx(E,{children:f?.legalName===!0&&!b?t.jsx(k,{}):null}),t.jsx(C,{label:{label:A.legalName,width:V,style:{marginLeft:s.sp4}},style:{width:"auto",borderTopLeftRadius:s.sp2,borderTopRightRadius:s.sp2},text:{type:"text",name:P(l,ue),defaultValue:d.legalName,placeholder:S.vendorDetails.legalNamePlaceHolder,options:{required:!0,validate:y=>y!==r.strings.empty}}}),t.jsx(B,{}),t.jsxs(t.Fragment,{children:[t.jsx(C,{label:{label:A.email,width:V,style:{marginLeft:s.sp4}},style:{width:"auto"},text:{type:"email",name:P(l,pe),defaultValue:d.contact?.email,placeholder:S.vendorDetails.emailPlaceHolder,options:{required:!1}}}),t.jsx(B,{}),t.jsx(Re,{label:{label:A.phone,width:V,style:{marginLeft:s.sp4}},text:{name:P(l,he),placeholder:S.vendorDetails.phonePlaceHolder,defaultValue:d.contact?.phone,autoComplete:"off",options:{required:!1}},style:{width:"auto"}}),t.jsx(B,{})]}),t.jsxs(Wt,{isLoading:b,children:[t.jsx(E,{children:f?.taxClassification===!0&&!b?t.jsx(k,{}):null}),t.jsxs(re,{children:[t.jsx(kt,{width:V,windowSize:i,children:A.taxClassification}),t.jsx(Ot,{size:i,labelWidth:V,children:t.jsx(We,{name:P(l,ge),value:{allTypes:W?.map(y=>({code:y.code,name:y.name,label:y.name}))??[],selectedType:d.taxClassification},placeholderLabel:S.vendorDetails.taxClassificationPlaceHolder})})]})]}),t.jsx(B,{}),t.jsx(E,{children:(f?.tin.type===!0||f?.tin.value===!0)&&!b?t.jsx(k,{}):null}),t.jsx(re,{children:t.jsx(rt,{name:P(l,me),menuPlacement:"auto",style:{height:s.sp6,width:"100%",marginLeft:s.sp4},dropdownStyle:{width:"40%"},defaultValue:{dropDownValue:d.tin?.type??r.strings.empty,dropDownList:[{code:r.texts.ein,label:r.texts.ein.toUpperCase()},{code:r.texts.ssn,label:r.texts.ssn.toUpperCase()}]},registerOptions:{required:!1},label:{width:V},placeholderLabel:S.placeholders.tinType,formattedText:{type:"text",name:P(l,ye),placeholder:S.placeholders.tinValue,format:d.tin?.type===r.texts.ssn?Me:Ge,registerOptions:{required:!!d?.tin?.type,pattern:d.tin?.type===r.texts.ssn?qe:He},style:{width:"100%",height:s.sp6},defaultValue:d.tin?.value??r.strings.empty,maxLength:9,allowLeadingZeros:!0,autoComplete:"new-password",isDisabled:d.tin?.type===null?"disabled":void 0}})}),t.jsx(B,{}),t.jsxs(qt,{children:[t.jsx(E,{children:f?.address===!0&&!b?t.jsx(k,{}):null}),t.jsx(Ue,{label:A.address,style:{marginLeft:s.sp4,marginTop:$.labelMarginTop.value(i),marginBottom:s.sp2}}),t.jsx(at,{googleAPIKey:be,formId:G(l),addressToEdit:D?.addressStatus?.addressToCreate,sectionId:l})]})]})})})]})]}),t.jsx(_e,{separatorStyle:{marginRight:s.sp4},formId:G(l),cancelBtn:{label:le.cancel,style:{width:"83px"},onClick:K},primaryBtn:{label:le.save,isLoading:T.fetchState==="In-Progress",style:{width:"83px"},isDisabled:De()},style:mt})]})})},Ct=a.div`
36
+ `,gt=()=>t.jsx(ct,{children:[...Array(1)].map((e,i)=>t.jsxs(ut,{children:[t.jsx(I,{style:{marginBottom:s.sp4},width:120,height:c[4]}),t.jsxs(pt,{children:[[...Array(5)].map((a,g)=>t.jsxs(M,{children:[t.jsx(I,{width:70,height:c[4]}),t.jsx(I,{width:140,height:c[4]})]},g)),t.jsx(M,{children:t.jsx(I,{width:120,height:c[4]})}),t.jsx(ht,{children:[...Array(7)].map((a,g)=>t.jsxs(M,{children:[t.jsx(I,{width:70,height:c[4]}),t.jsx(I,{width:140,height:c[4]})]},g))})]})]},i))}),$={largeLabelWidth:new w(130,200,300),labelMarginLeft:new w(c[3],c[4]),labelMarginTop:new w(c[2],c[3]),labelMarginBottom:new w(c[2],c[3]),containerPaddingLeft:new w(c[3],c[6],c[8]),containerPaddingRight:new w(c[3],c[6],c[8])},mt={zIndex:2,minHeight:62},l="vendor1099FilingSectionId",ue="legalName",pe="email",he="phone",ge="taxClassification",me="tinType",ye="tinValue",yt="street",xt="suite",ft="city",bt="state",wt="country",$t="countryCode",vt="postalCode",jt="secondaryInfo",G=e=>`${e}_form`,P=(e,i)=>`${e}.${i}`,{spendManagement:St,common:r}=ne.getLocalizedStrings(),S=St.billPay.vendorCreation,A=r.labels,le=r.footer,ts=e=>{const i=ae(),a=new AbortController,g=ze(),R=a.signal,{onVendorFiling1099UploadDetailsSave:O,vendorId:u,vendorFiling1099UploadDetailsViewState:p,onSaveChangesToLocalStore:v,vendorFiling1099UploadDetails:D,fetchVendorFetchStatus:K,onAddressEditHandler:xe,goBackToListPage:_,onResetVendorFiling1099FormStatus:fe,googleAPIKey:be}=e,{vendor1099DetailsSaveStatus:T,vendor1099DetailsLocalData:d,w9FormUploadStatus:J}=p,[Q,Y]=x.useState(D.addressStatus?.addressToCreate??{street:[],city:"",state:"",country:"",countryCode:"",postalCode:""}),Z=x.useRef(null),{vendorTypeList:W}=D,N=x.useRef(null),z=x.useRef(null),X=x.useRef(!1);x.useEffect(()=>{z.current===null&&d.legalName!=r.strings.empty&&p.vendor1099DetailsAutoFilledValues?.legalName===!0&&(z.current=d.legalName)},[d.legalName]),x.useEffect(()=>{N.current===null&&d.legalName!==r.strings.empty&&(N.current=d.legalName)},[d.legalName]),x.useEffect(()=>{D?.addressStatus?.addressToCreate&&p.vendor1099DetailsAutoFilledValues?.address===!0&&X.current===!1&&(Y(D.addressStatus.addressToCreate),X.current=!0)},[D,p.vendor1099DetailsAutoFilledValues?.address]);const m=Ae({mode:"onSubmit",defaultValues:oe(d,W??[],Q),values:oe(d,W??[],Q)}),{isValid:we}=m.formState,$e=m.handleSubmit(()=>{we&&(xe(m.getValues()),O(u,R))}),{vendor1099DetailsAutoFilledValues:f}=p,ve=()=>f?.tin.type===!0||f?.tin.value===!0||f?.legalName===!0||f?.taxClassification===!0,je=async(y,n)=>{if(y!=null){const h={...n},Ve=h[l].legalName,Le=h[l].email,Ie=h[l].phone,Pe=h[l].taxClassification,Fe=h[l].tinType,ee=h[l].tinValue,Te={legalName:Ve??r.strings.empty,vendorId:u,contact:{email:Le??r.strings.empty,phone:Ie??r.strings.empty,fullName:d.contact?.fullName??r.strings.empty,id:d.contact?.id??r.strings.empty},taxClassification:Pe.selectedType??r.strings.empty,tin:{type:Fe??null,value:ee??null},tinValue:ee??null};if(y.includes(`${l}.street`)&&n.vendor1099FilingSectionId.street!=null){const{addressValue:L}=n.vendor1099FilingSectionId.street,Ne=m.getValues(`${l}.country`),q=U(L?.country);m.setValue(l,{...n[l],street:n.vendor1099FilingSectionId.street,city:L?.locality??"",state:L?.administrativeAreaLevel1??"",country:q,countryCode:L?.countryCode??"",postalCode:L?.postalCode??"",secondaryInfo:n.vendor1099FilingSectionId.secondaryInfo??"",suite:n.vendor1099FilingSectionId.suite??""}),_e(m.formState.errors,`${l}.city`)&&L?.locality&&m.trigger(`${l}.city`),Ne.selectedOption!==q.selectedOption&&m.setValue(`${l}.country`,q)}else y==="vendor1099FilingSectionId.country"&&n[l].country.selectedOption!=null&&m.setValue(`${l}.countryCode`,Je(n[l].country.selectedOption));v(Te)}};x.useEffect(()=>{const y=m.watch((n,{name:h})=>{h!=null&&n!=null&&((h.startsWith(`${l}.street`)||h.startsWith(`${l}.city`)||h.startsWith(`${l}.state`)||h.startsWith(`${l}.country`)||h.startsWith(`${l}.postalCode`))&&n[l]!=null&&Y({street:[n[l].street?.addressString??r.strings.empty,n[l].suite??r.strings.empty,n[l].secondaryInfo??r.strings.empty],city:n[l].city??r.strings.empty,state:n[l].state??r.strings.empty,country:n[l].country?.selectedOption??r.strings.empty,countryCode:n[l].countryCode,postalCode:n[l].postalCode??r.strings.empty}),Be(()=>je(h,n)))});return()=>{y.unsubscribe()}});const V=$.largeLabelWidth.value(i),Se=T.error?.message??r.strings.empty,Ce=T.error?.title??r.strings.empty,De=()=>T?.fetchState==="In-Progress"||K?.fetchState==="In-Progress"||J?.fetchState==="In-Progress",b=K?.fetchState==="In-Progress"||J?.fetchState==="In-Progress";return x.useEffect(()=>()=>{a.abort(),fe()},[]),t.jsx(Dt,{windowSize:i,children:t.jsxs(Ct,{windowSize:i,children:[t.jsxs(Vt,{windowSize:i,ref:Z,children:[t.jsx(ke,{title:(p.vendor1099DetailsAutoFilledValues?.legalName===!0?z.current:N.current)??r.strings.empty,backgroundColor:g.colors.grey4,leftSideComponent:t.jsx(t.Fragment,{}),rightSideComponent:t.jsx(It,{windowSize:i,onClick:_,"data-testid":Oe("vendor-filling-1099-details-editable-page-close-icon")}),scrollableContent:Z,enableTitleOnScroll:!0,scrollThreshold:50,source:"VendorFiling1099EditablePage"}),b===!0?t.jsx(ie,{windowSize:i,isLoading:b,children:t.jsx(gt,{})}):t.jsxs(ie,{windowSize:i,isLoading:b,children:[i==="small"?t.jsx(Pt,{windowSize:i,children:p.vendor1099DetailsAutoFilledValues?.legalName===!0?z.current:N.current}):t.jsx(Ft,{children:p.vendor1099DetailsAutoFilledValues?.legalName===!0?z.current:N.current}),T.fetchState==="Error"?t.jsxs(Tt,{children:[t.jsx(Bt,{}),t.jsxs(Nt,{children:[t.jsx(zt,{children:Ce}),t.jsx(At,{children:Se})]})]}):null,ve()&&t.jsxs(Et,{children:[t.jsx(k,{}),t.jsx(Rt,{children:S.vendorDetails.banner})]}),t.jsx(Ee,{...m,children:t.jsx("form",{id:G(l),onSubmit:$e,children:t.jsxs(Lt,{isLoading:b,children:[t.jsx(E,{children:f?.legalName===!0&&!b?t.jsx(k,{}):null}),t.jsx(C,{label:{label:A.legalName,width:V,style:{marginLeft:s.sp4}},style:{width:"auto",borderTopLeftRadius:s.sp2,borderTopRightRadius:s.sp2},text:{type:"text",name:P(l,ue),defaultValue:d.legalName,placeholder:S.vendorDetails.legalNamePlaceHolder,options:{required:!0,validate:y=>y!==r.strings.empty}}}),t.jsx(B,{}),t.jsxs(t.Fragment,{children:[t.jsx(C,{label:{label:A.email,width:V,style:{marginLeft:s.sp4}},style:{width:"auto"},text:{type:"email",name:P(l,pe),defaultValue:d.contact?.email,placeholder:S.vendorDetails.emailPlaceHolder,options:{required:!1}}}),t.jsx(B,{}),t.jsx(Re,{label:{label:A.phone,width:V,style:{marginLeft:s.sp4}},text:{name:P(l,he),placeholder:S.vendorDetails.phonePlaceHolder,defaultValue:d.contact?.phone,autoComplete:"off",options:{required:!1}},style:{width:"auto"}}),t.jsx(B,{})]}),t.jsxs(Wt,{isLoading:b,children:[t.jsx(E,{children:f?.taxClassification===!0&&!b?t.jsx(k,{}):null}),t.jsxs(re,{children:[t.jsx(kt,{width:V,windowSize:i,children:A.taxClassification}),t.jsx(Ot,{size:i,labelWidth:V,children:t.jsx(We,{name:P(l,ge),value:{allTypes:W?.map(y=>({code:y.code,name:y.name,label:y.name}))??[],selectedType:d.taxClassification},placeholderLabel:S.vendorDetails.taxClassificationPlaceHolder})})]})]}),t.jsx(B,{}),t.jsx(E,{children:(f?.tin.type===!0||f?.tin.value===!0)&&!b?t.jsx(k,{}):null}),t.jsx(re,{children:t.jsx(rt,{name:P(l,me),menuPlacement:"auto",style:{height:s.sp6,width:"100%",marginLeft:s.sp4},dropdownStyle:{width:"40%"},defaultValue:{dropDownValue:d.tin?.type??r.strings.empty,dropDownList:[{code:r.texts.ein,label:r.texts.ein.toUpperCase()},{code:r.texts.ssn,label:r.texts.ssn.toUpperCase()}]},registerOptions:{required:!1},label:{width:V},placeholderLabel:S.placeholders.tinType,formattedText:{type:"text",name:P(l,ye),placeholder:S.placeholders.tinValue,format:d.tin?.type===r.texts.ssn?Me:Ge,registerOptions:{required:!!d?.tin?.type,pattern:d.tin?.type===r.texts.ssn?qe:He},style:{width:"100%",height:s.sp6},defaultValue:d.tin?.value??r.strings.empty,maxLength:9,allowLeadingZeros:!0,autoComplete:"new-password",isDisabled:d.tin?.type===null?"disabled":void 0}})}),t.jsx(B,{}),t.jsxs(qt,{children:[t.jsx(E,{children:f?.address===!0&&!b?t.jsx(k,{}):null}),t.jsx(Ue,{label:A.address,style:{marginLeft:s.sp4,marginTop:$.labelMarginTop.value(i),marginBottom:s.sp2}}),t.jsx(ot,{googleAPIKey:be,formId:G(l),addressToEdit:D?.addressStatus?.addressToCreate,sectionId:l})]})]})})})]})]}),t.jsx(Ke,{separatorStyle:{marginRight:s.sp4},formId:G(l),cancelBtn:{label:le.cancel,style:{width:"83px"},onClick:_},primaryBtn:{label:le.save,isLoading:T.fetchState==="In-Progress",style:{width:"83px"},isDisabled:De()},style:mt})]})})},Ct=o.div`
37
37
  display: flex;
38
38
  flex-direction: column;
39
39
  height: 100%;
40
40
  justify-content: space-between;
41
- `,Dt=a.div`
41
+ `,Dt=o.div`
42
42
  height: 100%;
43
- `,ie=a.div`
43
+ `,ie=o.div`
44
44
  padding-left: ${e=>$.containerPaddingLeft.valuePx(e.windowSize)};
45
45
  padding-right: ${e=>$.containerPaddingRight.valuePx(e.windowSize)};
46
46
  height: ${e=>e.isLoading?void 0:"100%"};
47
47
  padding-bottom: 112px;
48
- `,Vt=a.div`
48
+ `,Vt=o.div`
49
49
  display: flex;
50
50
  flex-direction: column;
51
51
  background-color: ${e=>e.theme.colors.grey4};
52
52
  overflow-x: hidden;
53
53
  height: 100%;
54
54
  width: 100%;
55
- `,Lt=a.div`
55
+ `,Lt=o.div`
56
56
  display: flex;
57
57
  flex-direction: column;
58
58
  background-color: ${e=>e.isLoading?void 0:e.theme.colors.grey5};
@@ -60,13 +60,13 @@ import{Q as oe,g as ze,a9 as Ae,cE as Be,y as w,V as t,bB as ke,aP as Oe,ac as E
60
60
  box-shadow: ${e=>e.isLoading?void 0:`${s.sp0} 2px ${s.sp1} ${e.theme.colors.dropShadowNormal}`};
61
61
  border-radius: ${s.sp2};
62
62
  position: relative;
63
- `,B=a.div`
63
+ `,B=o.div`
64
64
  display: flex;
65
65
  flex: 1;
66
66
  background-color: ${e=>e.theme.colors.grey3};
67
67
  min-height: 1px;
68
68
  max-height: 1px;
69
- `,It=a(Je)`
69
+ `,It=o(Qe)`
70
70
  cursor: pointer;
71
71
  color: ${e=>e.theme.colors.hero};
72
72
  width: ${s.sp4};
@@ -75,14 +75,14 @@ import{Q as oe,g as ze,a9 as Ae,cE as Be,y as w,V as t,bB as ke,aP as Oe,ac as E
75
75
  &:hover {
76
76
  color: ${e=>e.theme.colors.primary};
77
77
  }
78
- `,Pt=a(Xe)`
78
+ `,Pt=o(Ye)`
79
79
  color: ${e=>e.theme.colors.primary};
80
80
  margin-bottom: ${s.sp0};
81
81
  margin-right: ${s.sp3};
82
- `,Ft=a(Ye)`
82
+ `,Ft=o(Ze)`
83
83
  color: ${e=>e.theme.colors.primary};
84
84
  margin-bottom: ${s.sp4};
85
- `,Tt=a.div`
85
+ `,Tt=o.div`
86
86
  background-color: ${F.alertLight};
87
87
  border: 1px solid ${F.brandColorGoldDark};
88
88
  border-radius: ${s.sp2};
@@ -90,20 +90,20 @@ import{Q as oe,g as ze,a9 as Ae,cE as Be,y as w,V as t,bB as ke,aP as Oe,ac as E
90
90
  gap: ${s.sp2};
91
91
  padding: ${s.sp3} ${s.sp4};
92
92
  margin-bottom: ${s.sp3};
93
- `,Nt=a.div`
93
+ `,Nt=o.div`
94
94
  display: flex;
95
95
  flex-direction: column;
96
- `,zt=a(et)`
96
+ `,zt=o(et)`
97
97
  color: ${F.brandColorGoldDark};
98
- `,At=a(ce)`
98
+ `,At=o(ce)`
99
99
  color: ${F.brandColorGoldDark};
100
- `,Bt=a(Ze)`
100
+ `,Bt=o(Xe)`
101
101
  width: ${s.sp4};
102
102
  min-height: ${s.sp4};
103
103
  width: ${s.sp4};
104
104
  height: ${s.sp4};
105
105
  color: ${F.brandColorGoldDark};
106
- `,re=a.div`
106
+ `,re=o.div`
107
107
  display: flex;
108
108
  flex-direction: row;
109
109
  justify-content: space-between;
@@ -127,22 +127,22 @@ import{Q as oe,g as ze,a9 as Ae,cE as Be,y as w,V as t,bB as ke,aP as Oe,ac as E
127
127
  border-bottom-left-radius: inherit;
128
128
  border-bottom-right-radius: inherit;
129
129
  }
130
- `,kt=a(ce)`
130
+ `,kt=o(ce)`
131
131
  width: ${e=>e.width}px;
132
132
  color: ${e=>e.theme.colors.hero};
133
133
  margin: ${e=>`${$.labelMarginTop.valuePx(e.windowSize)} ${$.labelMarginLeft.valuePx(e.windowSize)} ${$.labelMarginBottom.valuePx(e.windowSize)} ${$.labelMarginLeft.valuePx(e.windowSize)}`};
134
134
  padding-right: ${s.sp5};
135
- `,Ot=a.div`
135
+ `,Ot=o.div`
136
136
  width: ${e=>e.labelWidth!=null?`calc(100% - ${e.labelWidth}px)`:"100%"};
137
137
  display: flex;
138
138
  flex-grow: ${e=>e.size==="small"?1:0};
139
139
  align-items: center;
140
140
  margin-right: ${s.sp2};
141
- `,k=a(tt)`
141
+ `,k=o(tt)`
142
142
  color: ${e=>e.theme.colors.primary};
143
143
  width: ${s.sp3};
144
144
  height: ${s.sp3};
145
- `,Et=a.div`
145
+ `,Et=o.div`
146
146
  display: flex;
147
147
  gap: ${s.sp2};
148
148
  border: 1px solid ${e=>e.theme.colors.grey3};
@@ -152,15 +152,15 @@ import{Q as oe,g as ze,a9 as Ae,cE as Be,y as w,V as t,bB as ke,aP as Oe,ac as E
152
152
  margin: ${s.sp3};
153
153
  margin-left: ${s.sp0};
154
154
  margin-right: ${s.sp0};
155
- `,Rt=a.span`
155
+ `,Rt=o.span`
156
156
  color: ${e=>e.theme.colors.hero};
157
- `,Wt=a.div`
157
+ `,Wt=o.div`
158
158
  position: relative;
159
- `,E=a.div`
159
+ `,E=o.div`
160
160
  position: absolute;
161
161
  top: 20px;
162
162
  left: -${s.sp4};
163
- `,qt=a.div`
163
+ `,qt=o.div`
164
164
  display: flex;
165
165
  position: relative;
166
166
  width: 100%;
@@ -172,4 +172,4 @@ import{Q as oe,g as ze,a9 as Ae,cE as Be,y as w,V as t,bB as ke,aP as Oe,ac as E
172
172
  border-bottom-left-radius: inherit;
173
173
  border-bottom-right-radius: inherit;
174
174
  }
175
- `,ae=(e,i,o)=>({[l]:{[ue]:e.legalName??r.strings.empty,[pe]:e.contact?.email??r.strings.empty,[he]:e.contact?.phone??r.strings.empty,[ge]:{selectedType:e.taxClassification,allTypes:i},[me]:e.tin?.type??null,[ye]:e.tin?.value??null,[yt]:{addressString:o?.street[0]??"",addressValue:o!=null?de(o):void 0},[ft]:o?.city??"",[bt]:o?.state??"",[wt]:U(o?.country),[$t]:o?.countryCode??"",[vt]:o?.postalCode??"",[jt]:o?.street[2]??"",[xt]:o?.street[1]??""}});export{ts as default,G as uniqueFormName};
175
+ `,oe=(e,i,a)=>({[l]:{[ue]:e.legalName??r.strings.empty,[pe]:e.contact?.email??r.strings.empty,[he]:e.contact?.phone??r.strings.empty,[ge]:{selectedType:e.taxClassification,allTypes:i},[me]:e.tin?.type??null,[ye]:e.tin?.value??null,[yt]:{addressString:a?.street[0]??"",addressValue:a!=null?de(a):void 0},[ft]:a?.city??"",[bt]:a?.state??"",[wt]:U(a?.country),[$t]:a?.countryCode??"",[vt]:a?.postalCode??"",[jt]:a?.street[2]??"",[xt]:a?.street[1]??""}});export{ts as default,G as uniqueFormName};
@@ -1,4 +1,4 @@
1
- import{Q as ae,aw as Nn,g as mn,a9 as et,i6 as Pe,cE as nt,ay as On,i7 as re,i8 as xe,i9 as fe,ia as be,ib as me,V as n,i2 as tt,ac as ot,bB as it,aa as rt,co as st,cp as at,cq as lt,bU as dt,bN as ct,aP as X,cl as mt,b3 as pt,dl as ut,cs as ht,T as gt,F as je,y as w,G as Ne,o as t,aU as In,al as De,aT as wt,u as c,ai as Re,cy as vt,dr as Tn,bO as Te,bh as Pn,cB as xt,b_ as ft,dE as bt,ba as Xe,bt as pn,p as A,e as zn,g$ as $t,dh as wn,d0 as rn,ic as sn,ao as St,bS as Ae,dO as yt,ev as vn,bJ as jt,dt as Rt,r as xn,cv as Vt,id as Ct,ie as kt,cI as Mt,er as Nt,eA as Ot,eB as It,am as Dn,ig as Tt,bH as se,ih as fn,gN as Pt,at as zt,as as Dt,ds as _t,b as _n,a as Lt,l as Ft,aW as dn}from"./index-DVgY55Ab.js";import{a as f}from"./sentry-DMXY90dB.js";import{n as o,c as cn}from"./mui-CR-wYMmN.js";import{gu as Bt,FY as At}from"./zeni-epic-state-BXMuLX_S.js";import{r as Et}from"./core-C5wq1_Bk.js";import"./liveblocks-B14TpO3l.js";import"./recharts-C3mrSjO2.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="56123b27-8d1c-4ca9-9ab3-f88e2d2a343a",e._sentryDebugIdIdentifier="sentry-dbid-56123b27-8d1c-4ca9-9ab3-f88e2d2a343a")}catch{}})();const Ln=({steps:e})=>{const s=ae();return n.jsx(Wt,{windowSize:s,children:e.map((m,d)=>n.jsxs(Ut,{children:[n.jsx(Gt,{children:d!==e.length-1?d+1:n.jsx(Qt,{})}),n.jsx(Ht,{children:m}),d<e.length-1?n.jsx(qt,{}):null]},`step_${d}`))})},Ut=o.div`
1
+ import{J as ae,aw as Nn,g as mn,a9 as et,i6 as Pe,cE as nt,ay as On,i7 as re,i8 as xe,i9 as fe,ia as be,ib as me,V as n,i2 as tt,ac as ot,bB as it,aa as rt,co as st,cp as at,cq as lt,bU as dt,bN as ct,aP as X,cl as mt,b3 as pt,dl as ut,cs as ht,T as gt,F as je,y as w,G as Ne,o as t,aU as In,al as De,aT as wt,u as c,ai as Re,cy as vt,dr as Tn,bO as Te,bh as Pn,cB as xt,b_ as ft,dE as bt,ba as Xe,bt as pn,p as A,e as zn,g$ as $t,dh as wn,d0 as rn,ic as sn,ao as St,bS as Ae,dO as yt,ev as vn,bJ as jt,dt as Rt,r as xn,cv as Vt,id as Ct,ie as kt,cI as Mt,er as Nt,eA as Ot,eB as It,am as Dn,ig as Tt,bH as se,ih as fn,gN as Pt,at as zt,as as Dt,ds as _t,b as _n,a as Lt,l as Ft,aW as dn}from"./index-WEj6FS32.js";import{a as f}from"./sentry-B0WgNUxa.js";import{n as o,c as cn}from"./mui-BTtN6lbG.js";import{gu as Bt,FY as At}from"./zeni-epic-state-DnAAAEmj.js";import{r as Et}from"./core-CIefpDlV.js";import"./liveblocks-CrODURpx.js";import"./recharts-BfU_srYC.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="0b042cf6-286d-4e3d-abd7-f4d9b65a3ed5",e._sentryDebugIdIdentifier="sentry-dbid-0b042cf6-286d-4e3d-abd7-f4d9b65a3ed5")}catch{}})();const Ln=({steps:e})=>{const s=ae();return n.jsx(Wt,{windowSize:s,children:e.map((m,d)=>n.jsxs(Ut,{children:[n.jsx(Gt,{children:d!==e.length-1?d+1:n.jsx(Qt,{})}),n.jsx(Ht,{children:m}),d<e.length-1?n.jsx(qt,{}):null]},`step_${d}`))})},Ut=o.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{V as t,Q as G,a9 as he,F as U,cE as ye,aD as ge,co as be,cp as fe,cq as xe,ac as ve,aR as we,y as p,eX as le,eY as Ce,o as y,b9 as $e,cI as oe,g as ne,eZ as De,e_ as X,cN as J,b1 as H,cJ as Te,em as je,u as a,er as Se,aP as ke,p as V,a as Oe,T as Fe,bS as Ae,ai as Le,bJ as Ie}from"./index-DVgY55Ab.js";import{a as R}from"./sentry-DMXY90dB.js";import{n as g}from"./mui-CR-wYMmN.js";import{bi as Y}from"./zeni-epic-state-BXMuLX_S.js";import{W as We,A as ze}from"./BankAccountWarningSection-B6AIe7nT-BcHAPM_q.js";import{T as Re}from"./MailingDetailsSection-CTPCXpZR-Dv3Iye8Q.js";import{S as Pe}from"./CurrencySelectField-iXGB-cNy-BRjQHy5W.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";import"./LabeledAddressValueField-Cac2YPpN-Ba7qdzlE.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="d0af5831-722a-4734-a5f9-1a66abbca980",e._sentryDebugIdIdentifier="sentry-dbid-d0af5831-722a-4734-a5f9-1a66abbca980")}catch{}})();const F={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Oe("extraSmallRegular","smallRegular")};function _e({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:T,showAdditionalInfoLabel:k=!0}){const C=G(),{formState:{errors:b}}=oe(),$=ne(),D=Se(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Fe,{size:"Small",start:!0})});if(k&&T||D){let c=null;return o===!0&&k&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ne,{children:t.jsx(Ue,{})})})),t.jsxs(qe,{size:C,isError:D,hasToolTip:o,isDisabled:e!=null,children:[c,T]})}};return t.jsxs(Ee,{size:C,style:f,isDisabled:e!=null,isError:D,"data-testid":ke("labeled-currency-field",l.name),children:[t.jsx(J,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:F.labelMarginLeft.value(C),marginRight:F.labelMarginRight.value(C),marginTop:F.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Me,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:F.controlHeight.value(C)}}),D?t.jsx(Be,{windowSize:C,hasError:D,children:u}):null,m()]})]})}const Ee=g.div`
1
+ import{V as t,J as G,a9 as he,F as U,cE as ye,aD as ge,co as be,cp as fe,cq as xe,ac as we,aR as ve,y as p,eX as le,eY as Ce,o as y,b9 as $e,cI as oe,g as ne,eZ as De,e_ as Y,cN as J,b1 as H,cJ as Te,em as je,u as a,er as Se,aP as ke,p as V,a as Oe,T as Fe,bS as Ae,ai as Le,bJ as Ie}from"./index-WEj6FS32.js";import{a as R}from"./sentry-B0WgNUxa.js";import{n as g}from"./mui-BTtN6lbG.js";import{bi as X}from"./zeni-epic-state-DnAAAEmj.js";import{W as We,A as ze}from"./BankAccountWarningSection-M3w6kP33-ChP5wvhC.js";import{T as Re}from"./MailingDetailsSection-IQJY4Yl0-C_b76P8R.js";import{S as Pe}from"./CurrencySelectField-DY0HeU0G-CSYPXeIb.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";import"./LabeledAddressValueField-C_KatgTA-ByiPbJgm.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="71cc151c-4ec6-4dd5-b77e-32cf17b530b5",e._sentryDebugIdIdentifier="sentry-dbid-71cc151c-4ec6-4dd5-b77e-32cf17b530b5")}catch{}})();const F={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Oe("extraSmallRegular","smallRegular")};function _e({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:v,additionalInfoLabel:T,showAdditionalInfoLabel:k=!0}){const C=G(),{formState:{errors:b}}=oe(),$=ne(),D=Se(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Fe,{size:"Small",start:!0})});if(k&&T||D){let c=null;return o===!0&&k&&v&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:v}),children:t.jsx(Ne,{children:t.jsx(Ue,{})})})),t.jsxs(qe,{size:C,isError:D,hasToolTip:o,isDisabled:e!=null,children:[c,T]})}};return t.jsxs(Ee,{size:C,style:f,isDisabled:e!=null,isError:D,"data-testid":ke("labeled-currency-field",l.name),children:[t.jsx(J,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:F.labelMarginLeft.value(C),marginRight:F.labelMarginRight.value(C),marginTop:F.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Me,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:F.controlHeight.value(C)}}),D?t.jsx(Be,{windowSize:C,hasError:D,children:u}):null,m()]})]})}const Ee=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -86,10 +86,10 @@ import{V as t,Q as G,a9 as he,F as U,cE as ye,aD as ge,co as be,cp as fe,cq as x
86
86
  width: ${y.sp3};
87
87
  height: ${y.sp3};
88
88
  color: inherit;
89
- `,S={largeLabelWidth:new p(120,140,220),paddingTopBottom:new p(a[3],a[3]),labelHeight:new p(a[6],a[6]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2]),controlHeight:new p(a[6],a[6]),toolTipWidth:new p(60,150)},Je=({dynamicFormFetchState:e,dynamicFormConfig:i,supportedAccountTypes:l,supportedCountries:f,supportedCurrencies:u,wireAccountToCreate:n,sectionId:o,isCountryDropdownReadonly:w,isCurrencyDropdownReadonly:T,isDisabled:k,style:C})=>{const b=G(),{getValues:$}=oe(),D=ne(),m=U.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,{international:c}=m,x=S.largeLabelWidth.value(b),I=n?.accountType?.type,j=n?.countryCode==null,E=n?.currencyCode==null,O=["phone","email","other"];return t.jsx(Ge,{style:C,children:t.jsxs(Xe,{children:[t.jsx(De,{isDisabled:w===!0?"readonly":void 0,label:{label:c.country,width:x},style:{width:"auto"},countrySelectField:{name:L(o,"vendorCountry"),placeholder:c.countryPlaceholder,defaultValue:le(n?.countryCode,f.map(s=>s.countryCode)),registerOptions:{validate:s=>!!(s!=null&&s.selectedOption)}},additionalInfoLabel:m.international.countryAdditionalInfo}),t.jsx(z,{}),t.jsx(_e,{isDisabled:j===!0?"disabled":T===!0?"readonly":void 0,label:{label:c.currency,width:x},style:{width:"auto"},currencySelectField:{name:L(o,"vendorCurrency"),placeholder:c.currencyPlaceholder,defaultValue:{allOptions:u.map(s=>({label:`${s.currencySymbol} - ${s.currencyName}`,value:s.currencyCode,countryCode:s.countryCode,currency:s.currencyName})),selectedOption:n?.currencyCode},registerOptions:{validate:s=>!!(s!=null&&s.selectedOption)}},additionalInfoLabel:m.international.currencyAdditionalInfo}),t.jsx(z,{}),E!==!0&&e==="Completed"?t.jsxs(t.Fragment,{children:[t.jsx(X,{isDisabled:void 0,label:{label:c.typeOfAccount,width:x},style:{width:"auto"},singleSelectPickerField:{name:L(o,"typeOfAccount"),placeholder:c.typeOfAccountPlaceholder,defaultValue:{selectedOption:n?.accountType?.type,allOptions:l.map(s=>({label:s.title,value:s.type}))},registerOptions:{validate:s=>!!(s!=null&&s.selectedOption)}}}),t.jsx(z,{})]}):null,n!=null&&I!=null&&n.dynamicForm[I]!=null&&i.length>0?Object.keys(n.dynamicForm[I]).map(s=>{const r=i.filter(_=>_.name===s)[0],h=n.accountType?.type;if(h!=null&&r!=null){const _=n.dynamicForm[h][s];switch(r.fieldType){case"text":return t.jsxs(t.Fragment,{children:[t.jsx(Te,{label:{label:r.label+c.colon,width:x},text:{type:"text",name:W(o,"dynamicForm",h,r.name),placeholder:r.placeholder,defaultValue:_,options:{required:r.required,pattern:r.validationRegex!=null?new RegExp(r.validationRegex):void 0,maxLength:r.maxLength,minLength:r.minLength}},isDisabled:k,style:{width:"auto"},showAdditionalInfoLabel:!1},W(o,"dynamicForm",h,r.name)),t.jsx(z,{})]});case"select":return t.jsxs(t.Fragment,{children:[t.jsx(X,{isDisabled:void 0,label:{label:r.label+c.colon,width:x},style:{width:"auto"},singleSelectPickerField:{name:W(o,"dynamicForm",h,r.name),placeholder:r.placeholder,defaultValue:{selectedOption:_,allOptions:r.valuesAllowed??[]}}},W(o,"dynamicForm",h,r.name)),t.jsx(z,{})]});case"radio":return t.jsxs(t.Fragment,{children:[t.jsxs(Q,{size:b,children:[t.jsx(J,{label:r.label+c.colon,htmlFor:W(o,"dynamicForm",h,r.name),style:{marginLeft:S.labelMarginLeft.value(b),marginRight:S.labelMarginRight.value(b),width:x}}),t.jsx(Z,{labelWidth:x,size:b,children:r.valuesAllowed?.map(B=>t.jsx(H,{label:{label:B.label},style:{paddingRight:`${y.sp4}`,width:"auto"},radioField:{name:W(o,"dynamicForm",h,r.name),id:r.name,value:B.value,registerOptions:{required:!0}}},B.value))})]},W(o,"dynamicForm",h,r.name)),t.jsx(z,{})]});default:return null}}else return null}):null,t.jsxs(Ye,{size:b,children:[t.jsxs(Q,{size:b,children:[t.jsx(J,{label:c.addSource,htmlFor:L(o,"source"),style:{marginLeft:S.labelMarginLeft.value(b),marginRight:S.labelMarginRight.value(b),width:x},showTooltip:!0,tooltipTitle:c.sourceTooltip,toolTipWidth:S.toolTipWidth.valuePx(b)}),t.jsxs(Z,{labelWidth:x,size:b,children:[t.jsx(H,{label:{label:c.phone},style:{paddingRight:`${y.sp4}`,width:"auto"},isContainerClickable:!0,radioField:{name:L(o,"source"),id:O[0],value:O[0],registerOptions:{required:!0},radioSize:"small"}}),t.jsx(H,{label:{label:c.email},style:{paddingRight:`${y.sp4}`,width:"auto"},isContainerClickable:!0,radioField:{name:L(o,"source"),id:O[1],value:O[1],registerOptions:{required:!0},radioSize:"small"}}),t.jsx(H,{label:{label:c.other},style:{width:"auto"},isContainerClickable:!0,radioField:{name:L(o,"source"),id:O[2],value:O[2],registerOptions:{required:!0},radioSize:"small"}})]})]}),$(`${o}.source`)==="other"?t.jsx(je,{type:"text",name:L(o,"otherSource"),placeholder:c.sourcePlaceholder,style:{display:"flex",flexGrow:1,cursor:"inherit",height:y.sp7,width:"calc(100% - largeLabelWidth)",background:D.colors.background,border:`1px solid ${D.colors.background}`,marginLeft:x},registerOptions:{required:!0,validate:s=>$(`${o}.source`)==="other"&&!!s}}):null]}),t.jsx(z,{})]})})},L=(e,i)=>`${e}.${i}`,W=(e,i,l,f)=>`${e}.${i}.${l}.${f}`,Ge=g.div`
89
+ `,S={largeLabelWidth:new p(120,140,220),paddingTopBottom:new p(a[3],a[3]),labelHeight:new p(a[6],a[6]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2]),controlHeight:new p(a[6],a[6]),toolTipWidth:new p(60,150)},Je=({dynamicFormFetchState:e,dynamicFormConfig:i,supportedAccountTypes:l,supportedCountries:f,supportedCurrencies:u,wireAccountToCreate:n,sectionId:o,isCountryDropdownReadonly:v,isCurrencyDropdownReadonly:T,isDisabled:k,style:C})=>{const b=G(),{getValues:$}=oe(),D=ne(),m=U.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,{international:c}=m,x=S.largeLabelWidth.value(b),I=n?.accountType?.type,j=n?.countryCode==null,E=n?.currencyCode==null,O=["phone","email","other"];return t.jsx(Ge,{style:C,children:t.jsxs(Ye,{children:[t.jsx(De,{isDisabled:v===!0?"readonly":void 0,label:{label:c.country,width:x},style:{width:"auto"},countrySelectField:{name:L(o,"vendorCountry"),placeholder:c.countryPlaceholder,defaultValue:le(n?.countryCode,f.map(s=>s.countryCode)),registerOptions:{validate:s=>!!(s!=null&&s.selectedOption)}},additionalInfoLabel:m.international.countryAdditionalInfo}),t.jsx(z,{}),t.jsx(_e,{isDisabled:j===!0?"disabled":T===!0?"readonly":void 0,label:{label:c.currency,width:x},style:{width:"auto"},currencySelectField:{name:L(o,"vendorCurrency"),placeholder:c.currencyPlaceholder,defaultValue:{allOptions:u.map(s=>({label:`${s.currencySymbol} - ${s.currencyName}`,value:s.currencyCode,countryCode:s.countryCode,currency:s.currencyName})),selectedOption:n?.currencyCode},registerOptions:{validate:s=>!!(s!=null&&s.selectedOption)}},additionalInfoLabel:m.international.currencyAdditionalInfo}),t.jsx(z,{}),E!==!0&&e==="Completed"?t.jsxs(t.Fragment,{children:[t.jsx(Y,{isDisabled:void 0,label:{label:c.typeOfAccount,width:x},style:{width:"auto"},singleSelectPickerField:{name:L(o,"typeOfAccount"),placeholder:c.typeOfAccountPlaceholder,defaultValue:{selectedOption:n?.accountType?.type,allOptions:l.map(s=>({label:s.title,value:s.type}))},registerOptions:{validate:s=>!!(s!=null&&s.selectedOption)}}}),t.jsx(z,{})]}):null,n!=null&&I!=null&&n.dynamicForm[I]!=null&&i.length>0?Object.keys(n.dynamicForm[I]).map(s=>{const r=i.filter(_=>_.name===s)[0],h=n.accountType?.type;if(h!=null&&r!=null){const _=n.dynamicForm[h][s];switch(r.fieldType){case"text":return t.jsxs(t.Fragment,{children:[t.jsx(Te,{label:{label:r.label+c.colon,width:x},text:{type:"text",name:W(o,"dynamicForm",h,r.name),placeholder:r.placeholder,defaultValue:_,options:{required:r.required,pattern:r.validationRegex!=null?new RegExp(r.validationRegex):void 0,maxLength:r.maxLength,minLength:r.minLength}},isDisabled:k,style:{width:"auto"},showAdditionalInfoLabel:!1},W(o,"dynamicForm",h,r.name)),t.jsx(z,{})]});case"select":return t.jsxs(t.Fragment,{children:[t.jsx(Y,{isDisabled:void 0,label:{label:r.label+c.colon,width:x},style:{width:"auto"},singleSelectPickerField:{name:W(o,"dynamicForm",h,r.name),placeholder:r.placeholder,defaultValue:{selectedOption:_,allOptions:r.valuesAllowed??[]}}},W(o,"dynamicForm",h,r.name)),t.jsx(z,{})]});case"radio":return t.jsxs(t.Fragment,{children:[t.jsxs(Z,{size:b,children:[t.jsx(J,{label:r.label+c.colon,htmlFor:W(o,"dynamicForm",h,r.name),style:{marginLeft:S.labelMarginLeft.value(b),marginRight:S.labelMarginRight.value(b),width:x}}),t.jsx(K,{labelWidth:x,size:b,children:r.valuesAllowed?.map(B=>t.jsx(H,{label:{label:B.label},style:{paddingRight:`${y.sp4}`,width:"auto"},radioField:{name:W(o,"dynamicForm",h,r.name),id:r.name,value:B.value,registerOptions:{required:!0}}},B.value))})]},W(o,"dynamicForm",h,r.name)),t.jsx(z,{})]});default:return null}}else return null}):null,t.jsxs(Xe,{size:b,children:[t.jsxs(Z,{size:b,children:[t.jsx(J,{label:c.addSource,htmlFor:L(o,"source"),style:{marginLeft:S.labelMarginLeft.value(b),marginRight:S.labelMarginRight.value(b),width:x},showTooltip:!0,tooltipTitle:c.sourceTooltip,toolTipWidth:S.toolTipWidth.valuePx(b)}),t.jsxs(K,{labelWidth:x,size:b,children:[t.jsx(H,{label:{label:c.phone},style:{paddingRight:`${y.sp4}`,width:"auto"},isContainerClickable:!0,radioField:{name:L(o,"source"),id:O[0],value:O[0],registerOptions:{required:!0},radioSize:"small"}}),t.jsx(H,{label:{label:c.email},style:{paddingRight:`${y.sp4}`,width:"auto"},isContainerClickable:!0,radioField:{name:L(o,"source"),id:O[1],value:O[1],registerOptions:{required:!0},radioSize:"small"}}),t.jsx(H,{label:{label:c.other},style:{width:"auto"},isContainerClickable:!0,radioField:{name:L(o,"source"),id:O[2],value:O[2],registerOptions:{required:!0},radioSize:"small"}})]})]}),$(`${o}.source`)==="other"?t.jsx(je,{type:"text",name:L(o,"otherSource"),placeholder:c.sourcePlaceholder,style:{display:"flex",flexGrow:1,cursor:"inherit",height:y.sp7,width:"calc(100% - largeLabelWidth)",background:D.colors.background,border:`1px solid ${D.colors.background}`,marginLeft:x},registerOptions:{required:!0,validate:s=>$(`${o}.source`)==="other"&&!!s}}):null]}),t.jsx(z,{})]})})},L=(e,i)=>`${e}.${i}`,W=(e,i,l,f)=>`${e}.${i}.${l}.${f}`,Ge=g.div`
90
90
  display: flex;
91
91
  flex-direction: column;
92
- `,Xe=g.div`
92
+ `,Ye=g.div`
93
93
  display: flex;
94
94
  flex-direction: column;
95
95
  background-color: ${e=>e.theme.colors.grey5};
@@ -102,7 +102,7 @@ import{V as t,Q as G,a9 as he,F as U,cE as ye,aD as ge,co as be,cp as fe,cq as x
102
102
  background-color: ${e=>e.theme.colors.grey3};
103
103
  min-height: 1px;
104
104
  max-height: 1px;
105
- `,Ye=g.div`
105
+ `,Xe=g.div`
106
106
  display: flex;
107
107
  flex-direction: column;
108
108
  align-items: flex-start;
@@ -113,7 +113,7 @@ import{V as t,Q as G,a9 as he,F as U,cE as ye,aD as ge,co as be,cp as fe,cq as x
113
113
  z-index: 1;
114
114
  outline: 1px solid ${e=>e.theme.colors.primary};
115
115
  }
116
- `,Q=g.div`
116
+ `,Z=g.div`
117
117
  display: flex;
118
118
  flex-direction: row;
119
119
  width: 100%;
@@ -121,7 +121,7 @@ import{V as t,Q as G,a9 as he,F as U,cE as ye,aD as ge,co as be,cp as fe,cq as x
121
121
  background-color: ${e=>e.theme.colors.grey5};
122
122
  min-height: ${e=>S.labelHeight.valuePx(e.size)};
123
123
  align-items: center;
124
- `,Z=g.div`
124
+ `,K=g.div`
125
125
  display: flex;
126
126
  flex-direction: row;
127
127
  width: ${e=>`calc(100% - ${e.labelWidth}px)`};
@@ -130,7 +130,7 @@ import{V as t,Q as G,a9 as he,F as U,cE as ye,aD as ge,co as be,cp as fe,cq as x
130
130
  flex-grow: 1;
131
131
  height: ${e=>S.controlHeight.valuePx(e.size)};
132
132
  align-items: center;
133
- `,P={paddingTopBottomContainer:new p(a[3],a[3]),paddingLeftContainer:new p(a[3],a[6]),paddingRightContainer:new p(a[3],a[8]),marginLeft:new p(a[4],a[6]),buttonWidth:new p(140,140)},K="internationalDetailsPage",v="internationalWireSection",Qe="mailingAddressSection",ee=e=>`${e}_form`,Ze=({internationalWireView:e,vendorType:i,isCountryDropdownReadonly:l=!1,isCurrencyDropdownReadonly:f=!1,isDisabled:u,addressType:n,addressToEdit:o,mailingAddress:w,billAmount:T,onAccountDetailsUpdated:k,onCurrencyUpdated:C,onSaveHandler:b,onBackClick:$,onAddressClick:D})=>{const m=G(),c=e.createInternationalWireDetails.localData,x=e.createInternationalWireDetails.createStatus,I=e.fetchState,j=he({mode:"all",reValidateMode:"onChange",defaultValues:R.useMemo(()=>te(e),[e]),values:te(e)}),[E,O]=R.useState(!1),[s,r]=R.useState(!1),h=U.getLocalizedStrings().spendManagement.billPay.vendorCreation,_=U.getLocalizedStrings().common.footer,{international:B}=h.wireDetails,re={onOkClick:()=>{r(!1),j.reset(),$()},onCancelClick:()=>{r(!1)}},se=(d,A)=>{if(d.includes("account_holder_name")||d.includes("bank_account_iban")||d.includes("bank_swift_code")||d.includes("account_number")||d.includes("sort_code")||d.includes("ifsc_code")||d.includes("upi_id")||d.includes("contact_no")||d.includes("bank_code")||d.includes("institution_number")||d.includes("transit_number")||d.includes("identification_value")||d.includes("branch_code")||d.includes("clabe")||d.includes("bsb_code")||d.includes("proxy_value")||d.includes("php_e_wallet_no")){O(!0);return}const M=d===`${v}.vendorCountry`,N=d===`${v}.vendorCurrency`;N&&A[v].vendorCurrency.selectedOption!=null&&C(A[v].vendorCurrency.selectedOption,T,i);const pe={...A},me=ie(pe,e,M,N,f);k(me,T,i,N||M)};R.useEffect(()=>{const d=j.watch((A,{name:M})=>{M!=null&&A!=null&&ye(()=>se(M,A))});return()=>{d.unsubscribe()}});const q=R.useCallback(()=>{const d=j.getValues(),A=ie(d,e,!1,!1,f);k(A,T,i,!1),O(!1)},[j,e,f,k,T,i]),de=R.useCallback(()=>{E&&q(),D(n)},[E,q,D,n]),ce=j.handleSubmit(d=>{E&&q(),b()}),ue=!ge(w!=null?Y(w):w,o!=null?Y(o):o)||j.formState.isDirty;return t.jsxs(it,{children:[t.jsxs(lt,{size:m,children:[s===!0?t.jsx(be,{titleComponent:t.jsx(xe,{children:h.discardTitle}),descriptionComponent:t.jsx(fe,{children:h.discardDescription}),primaryButtonText:h.discard,secondaryButtonText:h.cancel,action:re}):null,t.jsx(We,{header:B.addInternationalWireDetails,isDirty:ue,onBackClick:$,setShowConfirmationPopup:r}),x?.fetchState==="Error"&&x.error?.code===409?t.jsx(ze,{warningText:h.bankAccountCommon.accountExistWarning}):null,t.jsx(ot,{size:m,children:h.bankAccountCommon.accountDetailsTitle}),t.jsx(ve,{...j,children:t.jsxs("form",{id:ee(K),onSubmit:ce,children:[t.jsx(tt,{size:m,children:t.jsx(Je,{wireAccountToCreate:c,dynamicFormFetchState:I,supportedAccountTypes:e.supportedAccountTypes,supportedCountries:e.supportedCountries,supportedCurrencies:e.supportedCurrencies,dynamicFormConfig:e.dynamicForm,sectionId:v,isDisabled:u,isCountryDropdownReadonly:l,isCurrencyDropdownReadonly:f})}),t.jsx(Re,{sectionId:Qe,isDisabled:u,addressType:n,addressToEdit:o,onAddressClick:de})]})})]}),t.jsx(we,{formId:ee(K),primaryBtn:{label:h.bankAccountCommon.saveAccount,isLoading:x.fetchState==="In-Progress",style:{width:P.buttonWidth.value(m)},isDisabled:u!=null},cancelBtn:{label:_.cancel,style:{width:P.buttonWidth.value(m)},shouldResetOnCancel:!1,onClick:()=>{j.formState.isDirty?r(!0):(j.reset(),$())}}})]})},Ke=e=>{const i=e.dynamicForm,l=e.createInternationalWireDetails.localData?.dynamicForm,f=e.createInternationalWireDetails.localData?.accountType?.type;let u={};return l!=null&&i.length>0?(Object.keys(l).forEach(n=>{n===f?(u={...u,[n]:{}},Object.keys(l[n]).forEach(o=>{i.find(w=>w.name===o)?.fieldType==="select"?u[n]={...u[n],[o]:{selectedOption:l[n][o],allOptions:i.find(w=>w.name===o)?.valuesAllowed??[]}}:u[n]={...u[n],[o]:l[n][o]}})):u={...u,[n]:{}}}),u):{}},te=e=>{const i=e.createInternationalWireDetails.localData?.source;return{[v]:{vendorCountry:le(e.createInternationalWireDetails.localData?.countryCode,e.supportedCountries.map(l=>l.countryCode)),vendorCurrency:{allOptions:e.supportedCurrencies.map(l=>({label:`${l.currencyCode} - ${l.currencyName}`,value:l.currencyCode,countryCode:l.currencySymbol,currency:l.currencyName})),selectedOption:e.createInternationalWireDetails.localData?.currencyCode},typeOfAccount:{allOptions:e.supportedAccountTypes.map(l=>({label:l.title,value:l.type})),selectedOption:e.createInternationalWireDetails.localData?.accountType?.type},dynamicForm:Ke(e),source:i!=null&&i!=="phone"&&i!=="email"?"other":i,otherSource:i!=null&&i!=="phone"&&i!=="email"?i:void 0}}},et=e=>{let i={};return Object.keys(e).forEach(l=>{i={...i,[l]:typeof e[l]=="string"?e[l]:e[l].selectedOption}}),i},ie=(e,i,l,f,u)=>{const n=i.createInternationalWireDetails.localData?.accountType?.type;return{dynamicForm:n!=null?{...i.createInternationalWireDetails.localData?.dynamicForm,[n]:et(e[v].dynamicForm?.[n]??{})}:i.createInternationalWireDetails.localData?.dynamicForm??{},source:e[v].source==="other"?e[v].otherSource??"":e[v].source,countryCode:e[v].vendorCountry.selectedOption!=null?Ce(e[v].vendorCountry.selectedOption):void 0,currencyCode:l&&!u?void 0:e[v].vendorCurrency.selectedOption,accountType:f||e[v].typeOfAccount.selectedOption==null?void 0:{type:e[v].typeOfAccount.selectedOption,title:i.supportedAccountTypes.filter(o=>o.type===e[v].typeOfAccount.selectedOption)[0].title}}},tt=g.div`
133
+ `,P={paddingTopBottomContainer:new p(a[3],a[3]),paddingLeftContainer:new p(a[3],a[6]),paddingRightContainer:new p(a[3],a[8]),marginLeft:new p(a[4],a[6]),buttonWidth:new p(140,140)},Q="internationalDetailsPage",w="internationalWireSection",Ze="mailingAddressSection",ee=e=>`${e}_form`,Ke=({internationalWireView:e,vendorType:i,isCountryDropdownReadonly:l=!1,isCurrencyDropdownReadonly:f=!1,isDisabled:u,addressType:n,addressToEdit:o,mailingAddress:v,billAmount:T,onAccountDetailsUpdated:k,onCurrencyUpdated:C,onSaveHandler:b,onBackClick:$,onAddressClick:D})=>{const m=G(),c=e.createInternationalWireDetails.localData,x=e.createInternationalWireDetails.createStatus,I=e.fetchState,j=he({mode:"all",reValidateMode:"onChange",defaultValues:R.useMemo(()=>te(e),[e]),values:te(e)}),[E,O]=R.useState(!1),[s,r]=R.useState(!1),h=U.getLocalizedStrings().spendManagement.billPay.vendorCreation,_=U.getLocalizedStrings().common.footer,{international:B}=h.wireDetails,re={onOkClick:()=>{r(!1),j.reset(),$()},onCancelClick:()=>{r(!1)}},se=(d,A)=>{if(d.includes("account_holder_name")||d.includes("bank_account_iban")||d.includes("bank_swift_code")||d.includes("account_number")||d.includes("sort_code")||d.includes("ifsc_code")||d.includes("upi_id")||d.includes("contact_no")||d.includes("bank_code")||d.includes("institution_number")||d.includes("transit_number")||d.includes("identification_value")||d.includes("branch_code")||d.includes("clabe")||d.includes("bsb_code")||d.includes("proxy_value")||d.includes("php_e_wallet_no")){O(!0);return}const M=d===`${w}.vendorCountry`,N=d===`${w}.vendorCurrency`;N&&A[w].vendorCurrency.selectedOption!=null&&C(A[w].vendorCurrency.selectedOption,T,i);const pe={...A},me=ie(pe,e,M,N,f);k(me,T,i,N||M)};R.useEffect(()=>{const d=j.watch((A,{name:M})=>{M!=null&&A!=null&&ye(()=>se(M,A))});return()=>{d.unsubscribe()}});const q=R.useCallback(()=>{const d=j.getValues(),A=ie(d,e,!1,!1,f);k(A,T,i,!1),O(!1)},[j,e,f,k,T,i]),de=R.useCallback(()=>{E&&q(),D(n)},[E,q,D,n]),ce=j.handleSubmit(d=>{E&&q(),b()}),ue=!ge(v!=null?X(v):v,o!=null?X(o):o)||j.formState.isDirty;return t.jsxs(it,{children:[t.jsxs(lt,{size:m,children:[s===!0?t.jsx(be,{titleComponent:t.jsx(xe,{children:h.discardTitle}),descriptionComponent:t.jsx(fe,{children:h.discardDescription}),primaryButtonText:h.discard,secondaryButtonText:h.cancel,action:re}):null,t.jsx(We,{header:B.addInternationalWireDetails,isDirty:ue,onBackClick:$,setShowConfirmationPopup:r}),x?.fetchState==="Error"&&x.error?.code===409?t.jsx(ze,{warningText:h.bankAccountCommon.accountExistWarning}):null,t.jsx(ot,{size:m,children:h.bankAccountCommon.accountDetailsTitle}),t.jsx(we,{...j,children:t.jsxs("form",{id:ee(Q),onSubmit:ce,children:[t.jsx(tt,{size:m,children:t.jsx(Je,{wireAccountToCreate:c,dynamicFormFetchState:I,supportedAccountTypes:e.supportedAccountTypes,supportedCountries:e.supportedCountries,supportedCurrencies:e.supportedCurrencies,dynamicFormConfig:e.dynamicForm,sectionId:w,isDisabled:u,isCountryDropdownReadonly:l,isCurrencyDropdownReadonly:f})}),t.jsx(Re,{sectionId:Ze,isDisabled:u,addressType:n,addressToEdit:o,onAddressClick:de})]})})]}),t.jsx(ve,{formId:ee(Q),primaryBtn:{label:h.bankAccountCommon.saveAccount,isLoading:x.fetchState==="In-Progress",style:{width:P.buttonWidth.value(m)},isDisabled:u!=null},cancelBtn:{label:_.cancel,style:{width:P.buttonWidth.value(m)},shouldResetOnCancel:!1,onClick:()=>{j.formState.isDirty?r(!0):(j.reset(),$())}}})]})},Qe=e=>{const i=e.dynamicForm,l=e.createInternationalWireDetails.localData?.dynamicForm,f=e.createInternationalWireDetails.localData?.accountType?.type;let u={};return l!=null&&i.length>0?(Object.keys(l).forEach(n=>{n===f?(u={...u,[n]:{}},Object.keys(l[n]).forEach(o=>{i.find(v=>v.name===o)?.fieldType==="select"?u[n]={...u[n],[o]:{selectedOption:l[n][o],allOptions:i.find(v=>v.name===o)?.valuesAllowed??[]}}:u[n]={...u[n],[o]:l[n][o]}})):u={...u,[n]:{}}}),u):{}},te=e=>{const i=e.createInternationalWireDetails.localData?.source;return{[w]:{vendorCountry:le(e.createInternationalWireDetails.localData?.countryCode,e.supportedCountries.map(l=>l.countryCode)),vendorCurrency:{allOptions:e.supportedCurrencies.map(l=>({label:`${l.currencyCode} - ${l.currencyName}`,value:l.currencyCode,countryCode:l.currencySymbol,currency:l.currencyName})),selectedOption:e.createInternationalWireDetails.localData?.currencyCode},typeOfAccount:{allOptions:e.supportedAccountTypes.map(l=>({label:l.title,value:l.type})),selectedOption:e.createInternationalWireDetails.localData?.accountType?.type},dynamicForm:Qe(e),source:i!=null&&i!=="phone"&&i!=="email"?"other":i,otherSource:i!=null&&i!=="phone"&&i!=="email"?i:void 0}}},et=e=>{let i={};return Object.keys(e).forEach(l=>{i={...i,[l]:typeof e[l]=="string"?e[l]:e[l].selectedOption}}),i},ie=(e,i,l,f,u)=>{const n=i.createInternationalWireDetails.localData?.accountType?.type;return{dynamicForm:n!=null?{...i.createInternationalWireDetails.localData?.dynamicForm,[n]:et(e[w].dynamicForm?.[n]??{})}:i.createInternationalWireDetails.localData?.dynamicForm??{},source:e[w].source==="other"?e[w].otherSource??"":e[w].source,countryCode:e[w].vendorCountry.selectedOption!=null?Ce(e[w].vendorCountry.selectedOption):void 0,currencyCode:l&&!u?void 0:e[w].vendorCurrency.selectedOption,accountType:f||e[w].typeOfAccount.selectedOption==null?void 0:{type:e[w].typeOfAccount.selectedOption,title:i.supportedAccountTypes.filter(o=>o.type===e[w].typeOfAccount.selectedOption)[0].title}}},tt=g.div`
134
134
  padding-left: ${e=>P.paddingLeftContainer.valuePx(e.size)};
135
135
  padding-right: ${e=>P.paddingRightContainer.valuePx(e.size)};
136
136
  padding-top: ${e=>P.paddingTopBottomContainer.valuePx(e.size)};
@@ -149,4 +149,4 @@ import{V as t,Q as G,a9 as he,F as U,cE as ye,aD as ge,co as be,cp as fe,cq as x
149
149
  color: ${e=>e.theme.colors.champion};
150
150
  margin-left: ${e=>P.marginLeft.valuePx(e.size)};
151
151
  margin-top: ${y.sp3};
152
- `,vt=({internationalWireView:e,vendorViewDetails:i,bankAccountContext:l,vendorType:f,addressType:u,isDisabled:n,addressToEdit:o,mailingAddress:w,billAmount:T,onAccountDetailsUpdated:k,onCurrencyUpdated:C,onSaveHandler:b,onBackClick:$,onAddressClick:D})=>{const m={...i.editVendorState??i.newVendorState},c=m.vendorDetailLocalData?.paymentInstrumentIds!=null&&m.vendorDetailLocalData?.paymentInstrumentIds.length>0,x=m.vendorBasic?.countryCode!=null||c,I=m.vendorBasic?.currencyCode!=null||c;return R.useEffect(()=>{(l==="vendor"&&e.createInternationalWireDetails.createStatus.fetchState==="Completed"||m?.saveStatus?.fetchState==="Completed")&&$()},[m?.saveStatus?.fetchState,$,l,e.createInternationalWireDetails.createStatus]),t.jsx(Ze,{internationalWireView:e,addressToEdit:o,mailingAddress:w,addressType:u,billAmount:T,isDisabled:n,onSaveHandler:b,onBackClick:$,onAddressClick:D,onAccountDetailsUpdated:k,onCurrencyUpdated:C,vendorType:f,isCountryDropdownReadonly:x,isCurrencyDropdownReadonly:I})};export{vt as default};
152
+ `,wt=({internationalWireView:e,vendorViewDetails:i,bankAccountContext:l,vendorType:f,addressType:u,isDisabled:n,addressToEdit:o,mailingAddress:v,billAmount:T,onAccountDetailsUpdated:k,onCurrencyUpdated:C,onSaveHandler:b,onBackClick:$,onAddressClick:D})=>{const m={...i.editVendorState??i.newVendorState},c=m.vendorDetailLocalData?.paymentInstrumentIds!=null&&m.vendorDetailLocalData?.paymentInstrumentIds.length>0,x=m.vendorBasic?.countryCode!=null||c,I=m.vendorBasic?.currencyCode!=null||c;return R.useEffect(()=>{(l==="vendor"&&e.createInternationalWireDetails.createStatus.fetchState==="Completed"||m?.saveStatus?.fetchState==="Completed")&&$()},[m?.saveStatus?.fetchState,$,l,e.createInternationalWireDetails.createStatus]),t.jsx(Ke,{internationalWireView:e,addressToEdit:o,mailingAddress:v,addressType:u,billAmount:T,isDisabled:n,onSaveHandler:b,onBackClick:$,onAddressClick:D,onAccountDetailsUpdated:k,onCurrencyUpdated:C,vendorType:f,isCountryDropdownReadonly:x,isCurrencyDropdownReadonly:I})};export{wt as default};
@@ -0,0 +1 @@
1
+ import{V as b}from"./index-WEj6FS32.js";import{a as S}from"./sentry-B0WgNUxa.js";import{f as k}from"./InternationalWireSwiftDetailsPage-DnWbUuiD-CIWMoecY.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./zeni-epic-state-DnAAAEmj.js";import"./mui-BTtN6lbG.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";import"./BankAccountWarningSection-M3w6kP33-ChP5wvhC.js";import"./MailingDetailsSection-IQJY4Yl0-C_b76P8R.js";import"./LabeledAddressValueField-C_KatgTA-ByiPbJgm.js";import"./MagicLinkTitleSection-B726bP_P-CoT1ZO_f.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c6e97826-055b-4b7a-970c-9678fdb2a112",e._sentryDebugIdIdentifier="sentry-dbid-c6e97826-055b-4b7a-970c-9678fdb2a112")}catch{}})();const F=({vendorViewDetails:e,bankAccountContext:t,isDisabled:r,onSaveHandler:d,onBankDetailsUpdated:i,onBackClick:n,onFetchBankNameBySwift:s,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:o,internationalBankAccountToCreate:f,editVendorState:m,newVendorState:l,bankNameBySwift:p,fetchBankNameBySwiftStatus:u}=e,a={...m??l};return S.useEffect(()=>{(t==="vendor"&&o.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed")&&n()},[o,a?.saveStatus?.fetchState,n,t]),b.jsx(k,{bankAccountToCreate:f,bankAccountCreationState:o,bankNameBySwift:p,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:u,isDisabled:r,onSaveHandler:d,onBankDetailsUpdated:i,onBackClick:n,onAddressClick:c,onFetchBankNameBySwift:s})};export{F as default};
@@ -1,4 +1,4 @@
1
- import{Q as ie,g as oe,F as te,y as c,gG as w,aV as T,V as i,hW as g,o as r,hT as f,a as ne,p as re,dy as de,ai as se,u as a}from"./index-DVgY55Ab.js";import{n as s}from"./mui-CR-wYMmN.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="b3b81bca-ac63-496a-955d-230fee59f470",e._sentryDebugIdIdentifier="sentry-dbid-b3b81bca-ac63-496a-955d-230fee59f470")}catch{}})();const d={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:r.sp6},k={title:new ne("standardMedium","largeMedium")},le=s.div`
1
+ import{J as ie,g as oe,F as te,y as c,gG as w,aV as T,V as i,hW as g,o as r,hT as m,a as ne,p as re,dy as de,ai as se,u as a}from"./index-WEj6FS32.js";import{n as s}from"./mui-BTtN6lbG.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="2ba0d9dc-1422-4372-8c74-b4fccc77c976",e._sentryDebugIdIdentifier="sentry-dbid-2ba0d9dc-1422-4372-8c74-b4fccc77c976")}catch{}})();const d={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:r.sp6},k={title:new ne("standardMedium","largeMedium")},le=s.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>d.rowGap.valuePx(e.windowSize)};
@@ -17,7 +17,7 @@ import{Q as ie,g as oe,F as te,y as c,gG as w,aV as T,V as i,hW as g,o as r,hT a
17
17
  border: 1px solid ${e=>e.theme.colors.primary};
18
18
  fill: ${e=>e.theme.colors.primary};
19
19
  }
20
- `,m=s.div`
20
+ `,f=s.div`
21
21
  display: flex;
22
22
  align-items: flex-start;
23
23
  flex-direction: row;
@@ -65,4 +65,4 @@ import{Q as ie,g as oe,F as te,y as c,gG as w,aV as T,V as i,hW as g,o as r,hT a
65
65
  background-color: ${e=>e.theme.colors.grey5};
66
66
  border: 1px solid ${e=>e.theme.colors.grey3};
67
67
  border-radius: ${r.sp2};
68
- `,z=(e,u)=>`${e}.${u}`;function he({sectionId:e,vendorAccountMappingSection:u,isAccruedExpensesFeatureEnabled:_,showTitle:L=!0}){const n=ie(),l=oe(),{accruedExpensesAccountHierarchy:O,accruedExpensesAccountList:E,accruedExpensesRecommendations:M,fixedAssetsAccountHierarchy:V,fixedAssetsAccountList:I,fixedAssetsRecommendations:R,prepaidExpensesAccountHierarchy:B,prepaidExpensesAccountList:C,prepaidExpensesRecommendations:P,selectedAccruedExpensesAccountIds:D,selectedFixedAssetsAccountIds:F,selectedPrepaidExpensesAccountIds:W}=u,t=te.getLocalizedStrings().uncategorizedAccountsMapping,p=d.labelWidth.value(n),q=w(B,P,"Accounts"),H=w(V,R,"Accounts"),G=w(O,M,"Accounts"),J=P[0]?.account?.reason??"",N=t.tooltip.replace("__based__",J).replace("__account__",t.vendorSection.prepaidExpenseAccount),Q=R[0]?.account?.reason??"",X=t.tooltip.replace("__based__",Q).replace("__account__",t.vendorSection.fixedAssetsAccount),K=M[0]?.account?.reason??"",U=t.tooltip.replace("__based__",K).replace("__account__",t.vendorSection.accruedExpensesAccount),Y=C.filter(o=>W.includes(o.accountId)??!1),Z=I.filter(o=>F.includes(o.accountId)??!1),ee=E.filter(o=>D.includes(o.accountId)??!1),h={valueContainer:o=>({...o,padding:`2px ${r.sp3}`,overflow:"unset"}),multiValue:o=>({...o,margin:0})},x=l.mode==="light"?new T(l.colors.brandColorJadeLight):new T(l.colors.brandColorJadeDark);return i.jsxs(le,{windowSize:n,children:[L?i.jsx(ae,{windowSize:n,children:t.vendorSection.heading}):null,i.jsxs(ce,{windowSize:n,children:[i.jsxs(m,{windowSize:n,children:[i.jsx(S,{windowSize:n,iconColor:x,isDarkMode:l.mode==="dark",children:i.jsx(v,{})}),i.jsxs(b,{children:[i.jsx(y,{windowSize:n,children:t.vendorSection.prepaidExpenseTitle}),i.jsx($,{children:t.vendorSection.prepaidExpenseSubTitle})]})]}),i.jsx(A,{children:i.jsx(j,{windowSize:n,children:i.jsx(g,{label:{label:t.vendorSection.prepaidExpenselabel,width:p},groupedMultiSelectField:{name:z(e,"prepaidExpensesAccount"),treeViewStructure:!0,groupType:"Accounts",registerOptions:{required:!1},defaultValue:{allOptions:q,selectedOptions:Y.map(o=>o.qboId).filter(o=>o!=null)},placeholder:t.placeholder.accountPlaceholders,style:{borderBottom:`1px solid ${l.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},customStyleConfig:h,tooltip:{text:N,sticky:!1},valueToId:o=>f(o,C)}})})}),i.jsxs(m,{windowSize:n,children:[i.jsx(S,{windowSize:n,iconColor:x,isDarkMode:l.mode==="dark",children:i.jsx(v,{})}),i.jsxs(b,{children:[i.jsx(y,{windowSize:n,children:t.vendorSection.FixedAssetsTitle}),i.jsx($,{children:t.vendorSection.fixedAssetsSubTitle})]})]}),i.jsx(A,{children:i.jsx(j,{windowSize:n,children:i.jsx(g,{label:{label:t.vendorSection.fixedAssetslabel,width:p},groupedMultiSelectField:{name:z(e,"fixedAssetsAccount"),treeViewStructure:!0,groupType:"Accounts",registerOptions:{required:!1},defaultValue:{allOptions:H,selectedOptions:Z.map(o=>o.qboId).filter(o=>o!=null)},placeholder:t.placeholder.accountPlaceholders,style:{borderBottom:`1px solid ${l.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},customStyleConfig:h,tooltip:{text:X,sticky:!1},valueToId:o=>f(o,I)}})})}),_?i.jsxs(i.Fragment,{children:[i.jsxs(m,{windowSize:n,children:[i.jsx(S,{windowSize:n,iconColor:x,isDarkMode:l.mode==="dark",children:i.jsx(v,{})}),i.jsxs(b,{children:[i.jsx(y,{windowSize:n,children:t.vendorSection.AccruedExpensesTitle}),i.jsx($,{children:t.vendorSection.accruedExpensesSubTitle})]})]}),i.jsx(A,{children:i.jsx(j,{windowSize:n,children:i.jsx(g,{label:{label:t.vendorSection.accruedExpenseslabel,width:p},groupedMultiSelectField:{name:z(e,"accruedExpensesAccount"),treeViewStructure:!0,groupType:"Accounts",registerOptions:{required:!1},defaultValue:{allOptions:G,selectedOptions:ee.map(o=>o.qboId).filter(o=>o!=null)},placeholder:t.placeholder.accountPlaceholders,style:{borderBottom:`1px solid ${l.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},customStyleConfig:h,tooltip:{text:U,sticky:!1},valueToId:o=>f(o,E)}})})})]}):null]})]})}export{he as h};
68
+ `,z=(e,u)=>`${e}.${u}`;function he({sectionId:e,vendorAccountMappingSection:u,isAccruedExpensesFeatureEnabled:_,showTitle:L=!0}){const n=ie(),l=oe(),{accruedExpensesAccountHierarchy:B,accruedExpensesAccountList:E,accruedExpensesRecommendations:M,fixedAssetsAccountHierarchy:O,fixedAssetsAccountList:R,fixedAssetsRecommendations:I,prepaidExpensesAccountHierarchy:V,prepaidExpensesAccountList:C,prepaidExpensesRecommendations:P,selectedAccruedExpensesAccountIds:D,selectedFixedAssetsAccountIds:F,selectedPrepaidExpensesAccountIds:W}=u,t=te.getLocalizedStrings().uncategorizedAccountsMapping,p=d.labelWidth.value(n),q=w(V,P,"Accounts"),H=w(O,I,"Accounts"),G=w(B,M,"Accounts"),J=P[0]?.account?.reason??"",N=t.tooltip.replace("__based__",J).replace("__account__",t.vendorSection.prepaidExpenseAccount),X=I[0]?.account?.reason??"",K=t.tooltip.replace("__based__",X).replace("__account__",t.vendorSection.fixedAssetsAccount),Q=M[0]?.account?.reason??"",U=t.tooltip.replace("__based__",Q).replace("__account__",t.vendorSection.accruedExpensesAccount),Y=C.filter(o=>W.includes(o.accountId)??!1),Z=R.filter(o=>F.includes(o.accountId)??!1),ee=E.filter(o=>D.includes(o.accountId)??!1),h={valueContainer:o=>({...o,padding:`2px ${r.sp3}`,overflow:"unset"}),multiValue:o=>({...o,margin:0})},x=l.mode==="light"?new T(l.colors.brandColorJadeLight):new T(l.colors.brandColorJadeDark);return i.jsxs(le,{windowSize:n,children:[L?i.jsx(ae,{windowSize:n,children:t.vendorSection.heading}):null,i.jsxs(ce,{windowSize:n,children:[i.jsxs(f,{windowSize:n,children:[i.jsx(S,{windowSize:n,iconColor:x,isDarkMode:l.mode==="dark",children:i.jsx(v,{})}),i.jsxs(b,{children:[i.jsx(y,{windowSize:n,children:t.vendorSection.prepaidExpenseTitle}),i.jsx($,{children:t.vendorSection.prepaidExpenseSubTitle})]})]}),i.jsx(A,{children:i.jsx(j,{windowSize:n,children:i.jsx(g,{label:{label:t.vendorSection.prepaidExpenselabel,width:p},groupedMultiSelectField:{name:z(e,"prepaidExpensesAccount"),treeViewStructure:!0,groupType:"Accounts",registerOptions:{required:!1},defaultValue:{allOptions:q,selectedOptions:Y.map(o=>o.qboId).filter(o=>o!=null)},placeholder:t.placeholder.accountPlaceholders,style:{borderBottom:`1px solid ${l.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},customStyleConfig:h,tooltip:{text:N,sticky:!1},valueToId:o=>m(o,C)}})})}),i.jsxs(f,{windowSize:n,children:[i.jsx(S,{windowSize:n,iconColor:x,isDarkMode:l.mode==="dark",children:i.jsx(v,{})}),i.jsxs(b,{children:[i.jsx(y,{windowSize:n,children:t.vendorSection.FixedAssetsTitle}),i.jsx($,{children:t.vendorSection.fixedAssetsSubTitle})]})]}),i.jsx(A,{children:i.jsx(j,{windowSize:n,children:i.jsx(g,{label:{label:t.vendorSection.fixedAssetslabel,width:p},groupedMultiSelectField:{name:z(e,"fixedAssetsAccount"),treeViewStructure:!0,groupType:"Accounts",registerOptions:{required:!1},defaultValue:{allOptions:H,selectedOptions:Z.map(o=>o.qboId).filter(o=>o!=null)},placeholder:t.placeholder.accountPlaceholders,style:{borderBottom:`1px solid ${l.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},customStyleConfig:h,tooltip:{text:K,sticky:!1},valueToId:o=>m(o,R)}})})}),_?i.jsxs(i.Fragment,{children:[i.jsxs(f,{windowSize:n,children:[i.jsx(S,{windowSize:n,iconColor:x,isDarkMode:l.mode==="dark",children:i.jsx(v,{})}),i.jsxs(b,{children:[i.jsx(y,{windowSize:n,children:t.vendorSection.AccruedExpensesTitle}),i.jsx($,{children:t.vendorSection.accruedExpensesSubTitle})]})]}),i.jsx(A,{children:i.jsx(j,{windowSize:n,children:i.jsx(g,{label:{label:t.vendorSection.accruedExpenseslabel,width:p},groupedMultiSelectField:{name:z(e,"accruedExpensesAccount"),treeViewStructure:!0,groupType:"Accounts",registerOptions:{required:!1},defaultValue:{allOptions:G,selectedOptions:ee.map(o=>o.qboId).filter(o=>o!=null)},placeholder:t.placeholder.accountPlaceholders,style:{borderBottom:`1px solid ${l.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},customStyleConfig:h,tooltip:{text:U,sticky:!1},valueToId:o=>m(o,E)}})})})]}):null]})]})}export{he as h};
@@ -1,4 +1,4 @@
1
- import{aQ as z,a9 as U,V as r,bR as W,aa as p,ac as X,bS as B,ai as x,bT as G,o as n,F as O,r as E,bU as J,al as L,bV as Q,bW as I,bJ as Z,p as j,ba as v,bX as q}from"./index-DVgY55Ab.js";import{a as c}from"./sentry-DMXY90dB.js";import{n as t}from"./mui-CR-wYMmN.js";import{bh as K}from"./zeni-epic-state-BXMuLX_S.js";import{A as Y,Z as C}from"./AccountLockedInfoModal-DNU_J1FV-BrQt7SPM.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";import"./handshake-BPg58FML-BSCdA5zo.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="6acfd4b0-7d3f-443f-9e90-35f7994ca0f2",e._sentryDebugIdIdentifier="sentry-dbid-6acfd4b0-7d3f-443f-9e90-35f7994ca0f2")}catch{}})();const ee=e=>{if(!e)return"";try{const i=Q(e);if(!i){const l=e.replace(/\D/g,"");if(l.length>=4){const g=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${g}`}return I(e)||e}const a=i.countryCallingCode,u=i.nationalNumber.slice(-4);return`+${a} (•••) ••• ${u}`}catch{const i=e.replace(/\D/g,"");if(i.length>=4){const a=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${a}`}return I(e)||e}},k=120,V=30,T=2,re="456px",te="256px",_=6,o=O.getLocalizedStrings().commonSetUp.twoFactorAuthentication,m="otpInputField",He=e=>{const i=e.verifyOtpFetchState==="In-Progress",[a,u]=c.useState(!1),[l,g]=c.useState(!1),[y,N]=c.useState(0),[b,w]=c.useState(k),[h,D]=c.useState(V),S=z(e.verifyOtpFetchState),f=U({mode:"all",reValidateMode:"onChange",defaultValues:{[m]:""}}),$=f.watch(m),P=()=>{e.onCancelVerifyDevice()},H=()=>{$.trim().length===_&&e.onVerifyOtp($)},M=o.footerHelperText.replace(/<button_text>/,o.verify);c.useEffect(()=>{S==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(u(!0),N(s=>s+1),f.setValue(m,""))},[S,e.verifyOtpFetchState,f]),c.useEffect(()=>{if(b<=0){g(!0);return}const s=setInterval(()=>{w(d=>d<=1?0:d-1)},1e3);return()=>clearInterval(s)},[b]),c.useEffect(()=>{if(h<=0)return;const s=setInterval(()=>{D(d=>d<=1?0:d-1)},1e3);return()=>clearInterval(s)},[h]);const R=s=>{const d=Math.floor(s/60),A=s%60;return`${d}:${A.toString().padStart(2,"0")}`};return r.jsx(W,{open:!0,children:r.jsxs(ne,{children:[r.jsx(p,{controller:y>T,children:r.jsx(Y,{unlockDate:K().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(p,{controller:y<=T,children:r.jsx(X,{...f,children:r.jsxs(ge,{children:[r.jsxs(xe,{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(B,{placement:"top",title:r.jsxs(x,{children:[o.changePhoneNumberHelperText,r.jsx(De,{href:`mailto:${C}`,children:C})]}),enterDelay:600,children:r.jsx(we,{})})]})]}),r.jsxs(ce,{children:[r.jsx(G,{value:$,valueLength:6,hasError:l===!0||a===!0,style:{margin:n.sp0},onChange:s=>{f.setValue(m,s),u(!1)}}),r.jsx(p,{controller:l===!1,children:r.jsx(F,{children:r.jsxs($e,{children:[o.codeExpiresIn," ",R(b)]})})}),r.jsx(p,{controller:l===!0,children:r.jsx(F,{children:r.jsx(je,{children:o.codeExpired})})})]}),a===!0&&l===!1?r.jsxs(r.Fragment,{children:[r.jsx(p,{controller:y>=1,children:r.jsx(ae,{children:o.incorrectCode})}),r.jsx(p,{controller:y===2,children:r.jsx(be,{children:r.jsxs(x,{children:[r.jsx(ve,{}),o.accountLockWarning]})})})]}):null,r.jsx(p,{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(fe,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),u(!1),g(!1),f.setValue(m,""),w(k),D(V))},children:o.resend}),h>0&&r.jsxs(he,{children:[O.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs(ye,{children:[r.jsxs(ue,{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:i,disabled:$.trim().length!==_||l===!0})]}),r.jsx(me,{children:M})]})]})})})]})})},ne=t.div`
1
+ import{aQ as z,a9 as U,V as r,bR as W,aa as p,ac as X,bS as B,ai as x,bT as G,o as n,F as O,r as E,bU as J,al as L,bV as Q,bW as I,bJ as Z,p as j,ba as v,bX as q}from"./index-WEj6FS32.js";import{a as c}from"./sentry-B0WgNUxa.js";import{n as t}from"./mui-BTtN6lbG.js";import{bh as K}from"./zeni-epic-state-DnAAAEmj.js";import{A as Y,Z as C}from"./AccountLockedInfoModal-uPOYP0OH-gMh9hb_c.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";import"./handshake-BPg58FML-BCnezDN8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="3b641aff-0ad3-474f-aa3e-e215c7622ae3",e._sentryDebugIdIdentifier="sentry-dbid-3b641aff-0ad3-474f-aa3e-e215c7622ae3")}catch{}})();const ee=e=>{if(!e)return"";try{const i=Q(e);if(!i){const l=e.replace(/\D/g,"");if(l.length>=4){const g=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${g}`}return I(e)||e}const a=i.countryCallingCode,f=i.nationalNumber.slice(-4);return`+${a} (•••) ••• ${f}`}catch{const i=e.replace(/\D/g,"");if(i.length>=4){const a=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${a}`}return I(e)||e}},k=120,V=30,T=2,re="456px",te="256px",_=6,o=O.getLocalizedStrings().commonSetUp.twoFactorAuthentication,m="otpInputField",He=e=>{const i=e.verifyOtpFetchState==="In-Progress",[a,f]=c.useState(!1),[l,g]=c.useState(!1),[y,N]=c.useState(0),[b,w]=c.useState(k),[h,D]=c.useState(V),S=z(e.verifyOtpFetchState),u=U({mode:"all",reValidateMode:"onChange",defaultValues:{[m]:""}}),$=u.watch(m),P=()=>{e.onCancelVerifyDevice()},H=()=>{$.trim().length===_&&e.onVerifyOtp($)},M=o.footerHelperText.replace(/<button_text>/,o.verify);c.useEffect(()=>{S==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(f(!0),N(s=>s+1),u.setValue(m,""))},[S,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(b<=0){g(!0);return}const s=setInterval(()=>{w(d=>d<=1?0:d-1)},1e3);return()=>clearInterval(s)},[b]),c.useEffect(()=>{if(h<=0)return;const s=setInterval(()=>{D(d=>d<=1?0:d-1)},1e3);return()=>clearInterval(s)},[h]);const R=s=>{const d=Math.floor(s/60),A=s%60;return`${d}:${A.toString().padStart(2,"0")}`};return r.jsx(W,{open:!0,children:r.jsxs(ne,{children:[r.jsx(p,{controller:y>T,children:r.jsx(Y,{unlockDate:K().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(p,{controller:y<=T,children:r.jsx(X,{...u,children:r.jsxs(ge,{children:[r.jsxs(xe,{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(B,{placement:"top",title:r.jsxs(x,{children:[o.changePhoneNumberHelperText,r.jsx(De,{href:`mailto:${C}`,children:C})]}),enterDelay:600,children:r.jsx(we,{})})]})]}),r.jsxs(ce,{children:[r.jsx(G,{value:$,valueLength:6,hasError:l===!0||a===!0,style:{margin:n.sp0},onChange:s=>{u.setValue(m,s),f(!1)}}),r.jsx(p,{controller:l===!1,children:r.jsx(F,{children:r.jsxs($e,{children:[o.codeExpiresIn," ",R(b)]})})}),r.jsx(p,{controller:l===!0,children:r.jsx(F,{children:r.jsx(je,{children:o.codeExpired})})})]}),a===!0&&l===!1?r.jsxs(r.Fragment,{children:[r.jsx(p,{controller:y>=1,children:r.jsx(ae,{children:o.incorrectCode})}),r.jsx(p,{controller:y===2,children:r.jsx(be,{children:r.jsxs(x,{children:[r.jsx(ve,{}),o.accountLockWarning]})})})]}):null,r.jsx(p,{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(),f(!1),g(!1),u.setValue(m,""),w(k),D(V))},children:o.resend}),h>0&&r.jsxs(he,{children:[O.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs(ye,{children:[r.jsxs(fe,{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:i,disabled:$.trim().length!==_||l===!0})]}),r.jsx(me,{children:M})]})]})})})]})})},ne=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-width: ${te};
@@ -36,7 +36,7 @@ import{aQ as z,a9 as U,V as r,bR as W,aa as p,ac as X,bS as B,ai as x,bT as G,o
36
36
  color: ${e=>e.theme.colors.hero};
37
37
  `,he=t(v)`
38
38
  color: ${e=>e.theme.colors.hero};
39
- `,fe=t.button`
39
+ `,ue=t.button`
40
40
  color: ${e=>e.disabled?e.theme.colors.grey2:e.theme.colors.link};
41
41
  cursor: ${e=>e.disabled?"default":"pointer"};
42
42
  background: none;
@@ -47,7 +47,7 @@ import{aQ as z,a9 as U,V as r,bR as W,aa as p,ac as X,bS as B,ai as x,bT as G,o
47
47
  &:hover {
48
48
  color: ${e=>e.disabled?e.theme.colors.grey2:e.theme.colors.primary};
49
49
  }
50
- `,ue=t.div`
50
+ `,fe=t.div`
51
51
  display: flex;
52
52
  justify-content: center;
53
53
  column-gap: ${n.sp3};
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/react-C8urvt-z.js","assets/sentry-DMXY90dB.js","assets/mixin-BPAPQfSE.js","assets/hls-DifHSkbp.js","assets/react-DHV7aTmN.js","assets/zeni-epic-state-BXMuLX_S.js","assets/core-C5wq1_Bk.js","assets/index-DqRCO-H6.js","assets/react-CcqTmi2W.js","assets/react-D_2r5dmn.js","assets/react-BHi_eEiU.js","assets/react-CCZeJYV_.js","assets/react-BW87X3sj.js","assets/react-D2cRiLcJ.js","assets/Preview-B9tjpKKL.js"])))=>i.map(i=>d[i]);
2
- import{Q as W,V as f,ao as X,p as Y}from"./index-DVgY55Ab.js";import{P as _,a as t}from"./sentry-DMXY90dB.js";import{n as k,k as K}from"./mui-CR-wYMmN.js";import{r as Z}from"./core-C5wq1_Bk.js";import{ba as y}from"./zeni-epic-state-BXMuLX_S.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="86595901-a857-47bf-ab6a-3f1e7b4e7e4f",e._sentryDebugIdIdentifier="sentry-dbid-86595901-a857-47bf-ab6a-3f1e7b4e7e4f")}catch{}})();const N=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,z=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,V=/\.(m3u8)($|\?)/i,q=/\.(mpd)($|\?)/i,Q=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,J=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,ee=/vimeo\.com\/(?!progressive_redirect).+/,te=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,ae=/open\.spotify\.com\/(\w+)\/(\w+)/i,re=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+|(videos?\/|\?video=)\d+)($|\?)/,le=/tiktok\.com\/(?:player\/v1\/|share\/video\/|@[^/]+\/video\/)([0-9]+)/,T=(e,r)=>{if(Array.isArray(e)){for(const s of e)if(typeof s=="string"&&T(s,r)||T(s.src,r))return!0;return!1}return r(e)},m={html:e=>T(e,r=>N.test(r)||z.test(r)),hls:e=>T(e,r=>V.test(r)),dash:e=>T(e,r=>q.test(r)),mux:e=>Q.test(e),youtube:e=>J.test(e),vimeo:e=>ee.test(e)&&!z.test(e)&&!V.test(e),wistia:e=>te.test(e),spotify:e=>ae.test(e),twitch:e=>re.test(e),tiktok:e=>le.test(e)},oe=_.forwardRef((e,r)=>{const s=N.test(`${e.src}`)?"audio":"video";return _.createElement(s,{...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-C8urvt-z.js"),__vite__mapDeps([0,1,2,3])))},{key:"dash",name:"dash.js",canPlay:m.dash,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-DHV7aTmN.js"),__vite__mapDeps([4,1,5,6,2])))},{key:"mux",name:"Mux",canPlay:m.mux,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./index-DqRCO-H6.js"),__vite__mapDeps([7,1,3,2])))},{key:"youtube",name:"YouTube",canPlay:m.youtube,player:t.lazy(()=>y(()=>import("./react-CcqTmi2W.js"),__vite__mapDeps([8,1])))},{key:"vimeo",name:"Vimeo",canPlay:m.vimeo,player:t.lazy(()=>y(()=>import("./react-D_2r5dmn.js"),__vite__mapDeps([9,1])))},{key:"wistia",name:"Wistia",canPlay:m.wistia,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-BHi_eEiU.js"),__vite__mapDeps([10,1])))},{key:"spotify",name:"Spotify",canPlay:m.spotify,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-CCZeJYV_.js"),__vite__mapDeps([11,1])))},{key:"twitch",name:"Twitch",canPlay:m.twitch,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-BW87X3sj.js"),__vite__mapDeps([12,1])))},{key:"tiktok",name:"TikTok",canPlay:m.tiktok,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-D2cRiLcJ.js"),__vite__mapDeps([13,1])))},{key:"html",name:"html",canPlay:m.html,canEnablePIP:()=>!0,player:ne}];var B=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:s,pip:u}=e,n=e.activePlayer,a=t.useRef(null),o=t.useRef(!0);t.useEffect(()=>{var l,i;a.current&&(a.current.paused&&s===!0&&a.current.play(),!a.current.paused&&s===!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,c,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=(c=a.current).exitPictureInPicture)==null||P.call(c),(v=document.exitPictureInPicture)==null||v.call(document)}catch{}}},[u]);const w=l=>{var i,c;o.current=!0,(i=e.onReady)==null||i.call(e),(c=e.onLoadStart)==null||c.call(e,l)},h=l=>{var i,c;o.current&&(o.current=!1,(i=e.onStart)==null||i.call(e,l)),(c=e.onPlay)==null||c.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-B9tjpKKL.js"),__vite__mapDeps([14,1]))),A=[],de=(e,r)=>{const s=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:c,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:S,previewTabIndex:C,oEmbedUrl:L,previewAriaLabel:U}=o;return _.createElement(ue,{src:p,light:x,playIcon:S,previewTabIndex:C,previewAriaLabel:U,oEmbedUrl:L,onClickPreview:g})},O=p=>{var x,S;const C=s(p);if(!C)return null;const{style:L,width:U,height:$,wrapper:F}=o,G=(x=o.config)==null?void 0:x[C.key];return _.createElement(ce,{...o,ref:a,activePlayer:(S=C.player)!=null?S:C,slot:F?void 0:h,className:F?void 0:b,style:F?{display:"block",width:"100%",height:"100%"}:{display:"block",width:U,height:$,...L},config:G})},D=P??M,R=c===!1?M:t.Suspense;return _.createElement(D,{slot:h,className:b,style:{width:l,height:i,...E}},_.createElement(R,{fallback:c},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=B[B.length-1];var j=de(B,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 ke({src:e,autoPlay:r=!0,config:s,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:c,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={};s?.youtube&&(I.youtube=s.youtube);const O=()=>{g(!0),P?.()},D=()=>{g(!1),c?.()},R=()=>{g(!1),i?.(),a!=null&&c?.()},p=()=>{g(!0),P?.()};return a!=null?a?Z.createPortal(f.jsx(Ee,{windowSize:v,role:"presentation",children:f.jsx(X,{onClickAway:D,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`
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/react-CZT8R2xg.js","assets/sentry-B0WgNUxa.js","assets/mixin-BPAPQfSE.js","assets/hls-DifHSkbp.js","assets/react-FdUpWGdd.js","assets/zeni-epic-state-DnAAAEmj.js","assets/core-CIefpDlV.js","assets/index-smQbM7l5.js","assets/react-yNxKnTJa.js","assets/react-D8h_J9ua.js","assets/react-dGc0O2tO.js","assets/react-RUf-G1wy.js","assets/react-DTawl0rf.js","assets/react-BZDhaeWn.js","assets/Preview-DMKZka6j.js"])))=>i.map(i=>d[i]);
2
+ import{J as W,V as f,ao as X,p as Y}from"./index-WEj6FS32.js";import{P as _,a as t}from"./sentry-B0WgNUxa.js";import{n as k,k as K}from"./mui-BTtN6lbG.js";import{r as Z}from"./core-CIefpDlV.js";import{ba as y}from"./zeni-epic-state-DnAAAEmj.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="1e0d3783-1bb3-4812-8378-3670a50508d6",e._sentryDebugIdIdentifier="sentry-dbid-1e0d3783-1bb3-4812-8378-3670a50508d6")}catch{}})();const N=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,z=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,V=/\.(m3u8)($|\?)/i,q=/\.(mpd)($|\?)/i,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]+)/,T=(e,r)=>{if(Array.isArray(e)){for(const s of e)if(typeof s=="string"&&T(s,r)||T(s.src,r))return!0;return!1}return r(e)},m={html:e=>T(e,r=>N.test(r)||z.test(r)),hls:e=>T(e,r=>V.test(r)),dash:e=>T(e,r=>q.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 s=N.test(`${e.src}`)?"audio":"video";return _.createElement(s,{...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-CZT8R2xg.js"),__vite__mapDeps([0,1,2,3])))},{key:"dash",name:"dash.js",canPlay:m.dash,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-FdUpWGdd.js"),__vite__mapDeps([4,1,5,6,2])))},{key:"mux",name:"Mux",canPlay:m.mux,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./index-smQbM7l5.js"),__vite__mapDeps([7,1,3,2])))},{key:"youtube",name:"YouTube",canPlay:m.youtube,player:t.lazy(()=>y(()=>import("./react-yNxKnTJa.js"),__vite__mapDeps([8,1])))},{key:"vimeo",name:"Vimeo",canPlay:m.vimeo,player:t.lazy(()=>y(()=>import("./react-D8h_J9ua.js"),__vite__mapDeps([9,1])))},{key:"wistia",name:"Wistia",canPlay:m.wistia,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-dGc0O2tO.js"),__vite__mapDeps([10,1])))},{key:"spotify",name:"Spotify",canPlay:m.spotify,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-RUf-G1wy.js"),__vite__mapDeps([11,1])))},{key:"twitch",name:"Twitch",canPlay:m.twitch,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-DTawl0rf.js"),__vite__mapDeps([12,1])))},{key:"tiktok",name:"TikTok",canPlay:m.tiktok,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-BZDhaeWn.js"),__vite__mapDeps([13,1])))},{key:"html",name:"html",canPlay:m.html,canEnablePIP:()=>!0,player:ne}];var B=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:s,pip:u}=e,n=e.activePlayer,a=t.useRef(null),o=t.useRef(!0);t.useEffect(()=>{var l,i;a.current&&(a.current.paused&&s===!0&&a.current.play(),!a.current.paused&&s===!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,c,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=(c=a.current).exitPictureInPicture)==null||P.call(c),(v=document.exitPictureInPicture)==null||v.call(document)}catch{}}},[u]);const w=l=>{var i,c;o.current=!0,(i=e.onReady)==null||i.call(e),(c=e.onLoadStart)==null||c.call(e,l)},h=l=>{var i,c;o.current&&(o.current=!1,(i=e.onStart)==null||i.call(e,l)),(c=e.onPlay)==null||c.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-DMKZka6j.js"),__vite__mapDeps([14,1]))),A=[],de=(e,r)=>{const s=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:c,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:S,previewTabIndex:C,oEmbedUrl:L,previewAriaLabel:U}=o;return _.createElement(ue,{src:p,light:x,playIcon:S,previewTabIndex:C,previewAriaLabel:U,oEmbedUrl:L,onClickPreview:g})},O=p=>{var x,S;const C=s(p);if(!C)return null;const{style:L,width:U,height:$,wrapper:F}=o,G=(x=o.config)==null?void 0:x[C.key];return _.createElement(ce,{...o,ref:a,activePlayer:(S=C.player)!=null?S:C,slot:F?void 0:h,className:F?void 0:b,style:F?{display:"block",width:"100%",height:"100%"}:{display:"block",width:U,height:$,...L},config:G})},D=P??M,R=c===!1?M:t.Suspense;return _.createElement(D,{slot:h,className:b,style:{width:l,height:i,...E}},_.createElement(R,{fallback:c},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=B[B.length-1];var j=de(B,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 ke({src:e,autoPlay:r=!0,config:s,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:c,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={};s?.youtube&&(I.youtube=s.youtube);const O=()=>{g(!0),P?.()},D=()=>{g(!1),c?.()},R=()=>{g(!1),i?.(),a!=null&&c?.()},p=()=>{g(!0),P?.()};return a!=null?a?Z.createPortal(f.jsx(Ee,{windowSize:v,role:"presentation",children:f.jsx(X,{onClickAway:D,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 a,V as t,ao as s,aP as l,p as c,o,y as d}from"./index-DVgY55Ab.js";import{n}from"./mui-CR-wYMmN.js";import{N as h}from"./VideoPlayer-CoI7aj8a-B3tmTxCF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="ba46cbcc-947e-45a9-a0ba-ba7d26d4e738",e._sentryDebugIdIdentifier="sentry-dbid-ba46cbcc-947e-45a9-a0ba-ba7d26d4e738")}catch{}})();const r={width:new d(300,770,770),height:new d(195,500,500)},w=n.div`
1
+ import{J as s,V as t,ao as l,aP as a,p as c,o,y as d}from"./index-WEj6FS32.js";import{n}from"./mui-BTtN6lbG.js";import{N as f}from"./VideoPlayer-Dy6rImBJ-QOYygi-i.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="05e3665e-2ffa-4c0f-b9b5-410eeb96a30d",e._sentryDebugIdIdentifier="sentry-dbid-05e3665e-2ffa-4c0f-b9b5-410eeb96a30d")}catch{}})();const r={width:new d(300,770,770),height:new d(195,500,500)},h=n.div`
2
2
  position: fixed;
3
3
  top: 0;
4
4
  left: 0;
@@ -9,7 +9,7 @@ import{Q as a,V as t,ao as s,aP as l,p as c,o,y as d}from"./index-DVgY55Ab.js";i
9
9
  flex-direction: column;
10
10
  align-items: center;
11
11
  background: ${c.blackColor}CC;
12
- `,p=n.div`
12
+ `,w=n.div`
13
13
  display: flex;
14
14
  flex-direction: column;
15
15
  justify-content: space-between;
@@ -24,8 +24,8 @@ import{Q as a,V as t,ao as s,aP as l,p as c,o,y as d}from"./index-DVgY55Ab.js";i
24
24
  height: ${e=>r.height.valuePx(e.windowSize)};
25
25
  padding: ${o.sp3};
26
26
  background: ${e=>e.theme.colors.grey3};
27
- `,f=n.div`
27
+ `,p=n.div`
28
28
  position: relative;
29
29
  width: 100%;
30
30
  height: 100%;
31
- `;function y(e){const i=a();return t.jsx(w,{windowSize:i,role:"presentation",children:t.jsx(s,{onClickAway:()=>e.onCancelClick(),children:t.jsx(p,{windowSize:i,"data-testid":l("video-popup"),children:t.jsx(f,{children:t.jsx(h,{src:e.videoUrl,controls:!0,width:"100%",height:"100%"})})})})})}export{y as f};
31
+ `;function y(e){const i=s();return t.jsx(h,{windowSize:i,role:"presentation",children:t.jsx(l,{onClickAway:()=>e.onCancelClick(),children:t.jsx(w,{windowSize:i,"data-testid":a("video-popup"),children:t.jsx(p,{children:t.jsx(f,{src:e.videoUrl,controls:!0,width:"100%",height:"100%"})})})})})}export{y as f};