@zeniai/web-app-ui 4.14.35-qa → 4.14.36-next

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (498) hide show
  1. package/dist/assets/{ACHDetailsPage-B5qIuZya-XLBuNVCw.js → ACHDetailsPage-fOu5grd7-C7pw3Qei.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-BHB45mP--CD0rNUAY.js → AIPerformancePage-Da3gFo8A-C0hXrRck.js} +25 -25
  3. package/dist/assets/AccountInfoPage-o7hTXtgZ-CI5vmQ8P.js +18 -0
  4. package/dist/assets/AccountInfoPageContent-DqErO8FH-DcRbBfvK.js +149 -0
  5. package/dist/assets/{AccountLockedInfoModal-Dox7IuAX-DnRhVaKQ.js → AccountLockedInfoModal-BJjCuLHa-Dcqy6dGS.js} +9 -9
  6. package/dist/assets/{AccountReconDetailsDrawerPage-Bqty08m0-D31h8ST6.js → AccountReconDetailsDrawerPage-CVjH1p0d-CYH-LEVG.js} +16 -16
  7. package/dist/assets/AccountRow-CpftykFx-uD-f3g0V.js +298 -0
  8. package/dist/assets/{AccountsPromoCardStack-Bs3naJHM-C-Pd028T.js → AccountsPromoCardStack-D7xvgmOH-BEn6fDEy.js} +28 -28
  9. package/dist/assets/AddAddressForCardDrawer-vecchYEf-CV9NX_v9.js +6 -0
  10. package/dist/assets/{AddToWalletPage-CyRfqVDB-qKY-OwRf.js → AddToWalletPage-zJy9QCjx-CN4Gc2l7.js} +13 -13
  11. package/dist/assets/AddressRoutes-DQolOeHT.js +1 -0
  12. package/dist/assets/AddressScreen-Sz_h2Ufw.js +9 -0
  13. package/dist/assets/AgingReportsPage-wAvQb1d8-CgWnsA_F.js +79 -0
  14. package/dist/assets/AiCfoScreen-ChmPOKZy.js +11 -0
  15. package/dist/assets/AllUserItems-DEv_CXOA-hgSViaKc.js +192 -0
  16. package/dist/assets/ApAgingDetailPage-BOV1WFVF-DPpUGWPI.js +46 -0
  17. package/dist/assets/{AppBasePage-CqDm-hnV-CPv5pyhL.js → AppBasePage-DMlomvFS-x3AC7Ikc.js} +16 -16
  18. package/dist/assets/AppDrawerContent-Dc2sHnR3-KKwV4T9e.js +92 -0
  19. package/dist/assets/ApprovalRulesSettingsPage-BnbPSy4U-D9f68i3U.js +47 -0
  20. package/dist/assets/ArAgingChart-m-Xp3HAW-D2W8RYii.js +24 -0
  21. package/dist/assets/ArAgingDetailPage-b_NpDpWj-CYvO08T-.js +46 -0
  22. package/dist/assets/{AttachmentView-CzC4skJ3-9WHG58G4.js → AttachmentView-DB_V1qT1-ynsldz9P.js} +7 -7
  23. package/dist/assets/{BankAccountSection-Di4sF52j-DrSj0XXO.js → BankAccountSection-BabhrBM7-tNERGuyU.js} +5 -5
  24. package/dist/assets/BankAccountWarningSection-yT2UAd12-B_s6Cv5O.js +51 -0
  25. package/dist/assets/{BankConnectionsSettingsPage-Ccnzq7st-CFZ_2GOy.js → BankConnectionsSettingsPage-CbxXykMM--uRUu7H7.js} +14 -14
  26. package/dist/assets/BillDetailPage-7TMkWo3V-BkEALTcS.js +266 -0
  27. package/dist/assets/{BillPayApprovalRoutes-BmuSeG_D.js → BillPayApprovalRoutes-DuHAqKTx.js} +1 -1
  28. package/dist/assets/BillPayApprovalRuleDetailPage-COyDRpaF-CfqZ8tC3.js +27 -0
  29. package/dist/assets/{BillPayApprovalRulesPage-COCypDcS-lT3PW8bQ.js → BillPayApprovalRulesPage-9pxkgFAT-Do1nsgI9.js} +5 -5
  30. package/dist/assets/{BillPayPromoPage-DOE2YIqC-CKwELSu-.js → BillPayPromoPage-AGffhbY3-BRx4Bi83.js} +10 -10
  31. package/dist/assets/{BillPayRoutes-C3UXklWn.js → BillPayRoutes-DoxfX2T6.js} +13 -13
  32. package/dist/assets/BillPaySetUpPage-Cs5rkWBu-BhJ7KaHp.js +42 -0
  33. package/dist/assets/{BillingSettingsPage-iImtlEmO-BW--jBw3.js → BillingSettingsPage-CQ117tT9-B8U9v3YD.js} +10 -10
  34. package/dist/assets/{BillsBulkReviewDrawerPage-B11GWM_0-DpWN7a3R.js → BillsBulkReviewDrawerPage-DRkGQQAe-Bi0Uk8xW.js} +1 -1
  35. package/dist/assets/{BoxItem-Bxa1M4QU-dUcjlF36.js → BoxItem-DRwx0M5a-Dnn7OtZ6.js} +2 -2
  36. package/dist/assets/BusinessVerificationPage-1h0z3N9u-BHySFpyz.js +138 -0
  37. package/dist/assets/BusinessVerificationPageScreen-BdThFZ9q.js +9 -0
  38. package/dist/assets/BusyIndication-DizZe0Gu-LbAFsXLH.js +9 -0
  39. package/dist/assets/{CardNumberSubText-_ZZbaz_k-DQXZlwGH.js → CardNumberSubText-DqtLT1w5-B-of7dU2.js} +10 -10
  40. package/dist/assets/{CashbackDetailPage-DAZXitLt-DHuiCggG.js → CashbackDetailPage-ChdQcvkC-HPdNc4Y_.js} +17 -17
  41. package/dist/assets/{ChargeCardDetailPage-B1VIpASk-DDp9chEw.js → ChargeCardDetailPage-DFOKlPNG-Bq3JFtZ0.js} +31 -31
  42. package/dist/assets/{ChargeCardListPage-BOBepN-x-CCDeCgkz.js → ChargeCardListPage-DhLUsUhd-BezWrrpD.js} +19 -19
  43. package/dist/assets/ChargeCardListTable-DE72YU_i-CVOGLWmK.js +711 -0
  44. package/dist/assets/{ChargeCardPaymentHistoryPage--jOwsMla--R4xqtT2.js → ChargeCardPaymentHistoryPage-CbGR18s--B7rNakYK.js} +15 -15
  45. package/dist/assets/ChargeCardPromoPage-CPpNh89o-CFvrdct7.js +222 -0
  46. package/dist/assets/{ChargeCardRoutes-Bv9hqdZo.js → ChargeCardRoutes-C01rd9YM.js} +12 -12
  47. package/dist/assets/ChargeCardSetupPage-ITi25kUD-4I5XPlxg.js +36 -0
  48. package/dist/assets/{ChargeCardStatementsPage-ChWyQlw6-aZT3JIEZ.js → ChargeCardStatementsPage-CTJc1BCc-COSIU9xw.js} +3 -3
  49. package/dist/assets/CheckDepositDrawerPage-BrzeSj-3-C4sH9hpp.js +206 -0
  50. package/dist/assets/CollapsableReportTable-CDEe9s_E-CWbosJ7t.js +2844 -0
  51. package/dist/assets/{CompanyOfficerDetailsSection-CrOIN4IW-NHMPrEUt.js → CompanyOfficerDetailsSection-BaPhFsLx-Dk4NXxuC.js} +92 -92
  52. package/dist/assets/CompanyPassportCard-B9ymV6Az-FYtT8w0z.js +42 -0
  53. package/dist/assets/{CompanyPassportPage-FE6yli6h-DpU12PlJ.js → CompanyPassportPage-BQ68t7oK-DIpqE1Jo.js} +16 -16
  54. package/dist/assets/{CompanyPassportScreen-myO-14Tx.js → CompanyPassportScreen-CKvA-EmO.js} +1 -1
  55. package/dist/assets/{CompleteProfile-Cb8i1XgZ-DxvSbQ10.js → CompleteProfile-C5n9b8gQ-puTHwoa4.js} +1 -1
  56. package/dist/assets/ConfettiBurst-BizTW0hz-ibKLuPEv.js +1 -0
  57. package/dist/assets/ConnectionAuthScreen-BaKBr2zg.js +11 -0
  58. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-OjPt0E9I.js → ConstrainedInnerElement-BeIpAPjB-s3-3Z-gA.js} +1 -1
  59. package/dist/assets/{CreateOrEditVendorPage-CzpSgxbO-3aKCwvlv.js → CreateOrEditVendorPage-BIfOA5Nr-C94kLwSo.js} +19 -19
  60. package/dist/assets/{CreditCardPaymentDrawerPage-c_q0MsSO-C8Sv6LkU.js → CreditCardPaymentDrawerPage-CCpS-31h-BkmEdayg.js} +21 -21
  61. package/dist/assets/CurrencySelectField-KvKyemY6-BCtUTOpg.js +139 -0
  62. package/dist/assets/{CustomerOnboardingActivationPage-f3Aa6E5r-jXI67T90.js → CustomerOnboardingActivationPage-6VlMI4oY-DeMdKyDt.js} +3 -3
  63. package/dist/assets/CustomerOnboardingAuthScreen-BpXFr5WU.js +1 -0
  64. package/dist/assets/CustomerOnboardingContainerPage-CRjwWFLJ-DbpGIGU3.js +1 -0
  65. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DYuiWn8s-By6QXlft.js → CustomerOnboardingDetailPageSkeleton-BzbZb27J-DIp-B8Eo.js} +9 -9
  66. package/dist/assets/CustomerOnboardingNoStepsPage-CWF_00EM-CLvcWk0H.js +66 -0
  67. package/dist/assets/{CustomerOnboardingPage-B9hSO88_-WoQ55K0l.js → CustomerOnboardingPage-DkW66A-p-BTo5QwFe.js} +8 -8
  68. package/dist/assets/{CustomerOnboardingProductSuitePage-CG0HKCpQ-Dj7dtYI-.js → CustomerOnboardingProductSuitePage-Ba0yotpP-DvvqHygF.js} +10 -10
  69. package/dist/assets/CustomerOnboardingRoutes-DUHs6wCe.js +23 -0
  70. package/dist/assets/{Dashboard-BJ_oIHab-CcR3gZ1R.js → Dashboard-bX3cWkmP-Cc0jEbvZ.js} +45 -45
  71. package/dist/assets/{DashboardReportPage-BemzMw2e-BivRzupC.js → DashboardReportPage-DuZ4d4CE-Cd65Ddu3.js} +39 -39
  72. package/dist/assets/DashboardRoutes-DgAbb01S.js +21 -0
  73. package/dist/assets/DashboardSidebarBackgroundAnimation-UV2CZToG-kycl4Bed.js +12 -0
  74. package/dist/assets/{DefaultTenantHome-BM2eKD4k.js → DefaultTenantHome-NOng4kPe.js} +1 -1
  75. package/dist/assets/DepositAccTransactionItem-BY_OvuKg-vrn3jxtY.js +76 -0
  76. package/dist/assets/DepositAccTransactionListPage-a__bpCOB-gP4j_R4A.js +66 -0
  77. package/dist/assets/DomesticWireDetailScreen-D-80T6qK.js +18 -0
  78. package/dist/assets/DomesticWireDetailsPage-BumMT4QM-BXynjfhi.js +21 -0
  79. package/dist/assets/DownloadOverlay-DqiL3-FB-HBtpf6ff.js +439 -0
  80. package/dist/assets/{DrawerPage-DesxXhZk-BSBqQ0E6.js → DrawerPage-CaG-xx5d-BH1rpbyw.js} +12 -12
  81. package/dist/assets/DrawerScreen-PuONww5M.js +1 -0
  82. package/dist/assets/EditPeoplePage-BcsdEp_d-DeMMzCYr.js +55 -0
  83. package/dist/assets/EditReimbursementDetailPage-DNUmwdsH-BqyuZrYu.js +865 -0
  84. package/dist/assets/EntityDetailPage-DtX5TjBc-BWvKOwgG.js +18 -0
  85. package/dist/assets/EntityDetailRoutes-C3aUb0lp.js +1 -0
  86. package/dist/assets/{EntitySummarySection-BwX0a4JL-DBtHTJw5.js → EntitySummarySection-LEA5m6mN-D82QzUIE.js} +26 -26
  87. package/dist/assets/{ExpenseAutomationOverviewPage-EdyHjbff-EOTef8II.js → ExpenseAutomationOverviewPage-Dmhn7gfp-5RPQ-KAY.js} +50 -50
  88. package/dist/assets/ExpenseAutomationPage-B8C4BxoV-YQVNG4uz.js +2323 -0
  89. package/dist/assets/ExpenseAutomationRoutes-Jp2Kebgt.js +20 -0
  90. package/dist/assets/{ExpressPayPage-EMP6inpX-ByDfOb19.js → ExpressPayPage-C-nqret2-DNNXwMDO.js} +12 -12
  91. package/dist/assets/{FeaturePreviewPage-SYJm-3aR-BN_q0ETO.js → FeaturePreviewPage-BHjUZ7s6-t0bIsEzl.js} +2 -2
  92. package/dist/assets/FeaturePreviewScreen-fP1RCpGB.js +1 -0
  93. package/dist/assets/{FollowStepsSection-BxESVqJD-D-o2E0Jp.js → FollowStepsSection-0eFMS0c5-BlZYARd4.js} +11 -11
  94. package/dist/assets/GlobalReviewListPage-4eiopkzw-TKRoPg_U.js +291 -0
  95. package/dist/assets/{InformationCardStack-B_qQUEYD-Dxp2Ew45.js → InformationCardStack-C7XJCUlh-Dwq0vYPb.js} +1 -1
  96. package/dist/assets/InsightsCardStack-fBAbQwhK-CClQ8prE.js +79 -0
  97. package/dist/assets/InsightsSection-De9zu_me-B3w5uHEa.js +27 -0
  98. package/dist/assets/{IntegrationsSettingsPage-DP6fAccq-Ho7Qlw2p.js → IntegrationsSettingsPage-BD5jqAv8-eTb5yFAM.js} +5 -5
  99. package/dist/assets/InternationalWireSwiftDetailsPage-BftrE612-DsOGbUKE.js +171 -0
  100. package/dist/assets/{InternationalWireVerificationPage-COC6lZml-CGJDlFxp.js → InternationalWireVerificationPage-CDf7equc-Bw5S4GCg.js} +10 -10
  101. package/dist/assets/{InviteFormPage-DN02jRy5-DHTLPGCE.js → InviteFormPage-E2igwKEh-DkTmeZKB.js} +7 -7
  102. package/dist/assets/{InvitePageListView-CP4K9tJi--rk4yubU.js → InvitePageListView-Cuq9dlgu-Y8JpMqvK.js} +75 -75
  103. package/dist/assets/InvitePeoplePage-Db4P4ZEq-CepSKyhb.js +12 -0
  104. package/dist/assets/InvoiceUploadSection-DYCjz9CI-DsqvKiVT.js +140 -0
  105. package/dist/assets/{IssueChargeCardPage-CVfuvGey-DsE7CChF.js → IssueChargeCardPage-CK6fnO24-DrpIpT7t.js} +23 -23
  106. package/dist/assets/{LabeledAddressValue-DDrQcHIE-7f3DV4Ir.js → LabeledAddressValue-Ma1WURjK-PEkR4sMS.js} +2 -2
  107. package/dist/assets/LabeledAddressValueField-C6-hVsPb-DpefLTXR.js +45 -0
  108. package/dist/assets/LabeledControlledCheckBoxField-CgZg0uOW-tciXUImW.js +16 -0
  109. package/dist/assets/{LabeledCountryMultiSelectField-BYYjzwUG-DFrMExfh.js → LabeledCountryMultiSelectField-sj8p7Rne-BvAG6B9f.js} +4 -4
  110. package/dist/assets/{LabeledCreatableSingleSelectField-CISYMojq-uDdZESj4.js → LabeledCreatableSingleSelectField-DUTQh416-BmK87V1S.js} +6 -6
  111. package/dist/assets/LabeledDocumentField-Bp9m-OrP-BKL6LfIV.js +41 -0
  112. package/dist/assets/{LabeledDropDownFormattedTextField-ScGGCap8-DS9Ia8KW.js → LabeledDropDownFormattedTextField-3-KekP79-BHQjQNME.js} +4 -4
  113. package/dist/assets/{LabeledEmailInputField-BppuWRbl-CiTokODP.js → LabeledEmailInputField-BRJyFvVd-CWyEMpTm.js} +11 -11
  114. package/dist/assets/{LabeledNameField-mxSNQk3k-plaK5ktD.js → LabeledNameField--saAep-_-DOt6Hp9d.js} +5 -5
  115. package/dist/assets/{LabeledSingleSelectField-C6ctNzkA-jFhVySOx.js → LabeledSingleSelectField-Ul4tlTiO-CxC4bb_M.js} +7 -7
  116. package/dist/assets/LabeledText-DvzVOku6-BTuTGL_7.js +42 -0
  117. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-C31niF0q.js → LabeledUserSingleSelectWithSubtitlesField-DCv1Q5qb-B-ShzOTy.js} +12 -12
  118. package/dist/assets/{LabeledZeniRolesDropDownField-BZtreVpj-HZcFXQuM.js → LabeledZeniRolesDropDownField-kWC0ShEy-Cov_KSbw.js} +25 -25
  119. package/dist/assets/{LinkJETransactionPage-CKq4oiX9-FlcdN5Cn.js → LinkJETransactionPage-WufhDGDQ-DJYaTU0L.js} +11 -11
  120. package/dist/assets/{LockCardPage-CZENNby7-DAN8QPfp.js → LockCardPage-BBIVLYVD-5-idEiOd.js} +17 -17
  121. package/dist/assets/{LowBalancePopup-1727S1ri-DfD9U0P5.js → LowBalancePopup-ScEqPY9J-DaHnHp3d.js} +5 -5
  122. package/dist/assets/MagicLinkACHDetailsPage-C494txw0-50tvGRCT.js +1 -0
  123. package/dist/assets/MagicLinkDomesticWireDetailsPage-CONBCbOQ-BJ0ZX254.js +1 -0
  124. package/dist/assets/MagicLinkInternationalWireDetailsPage-fSY3JGpz-BA-UJ98j.js +1 -0
  125. package/dist/assets/MagicLinkRoutes-CG7mBUHK.js +72 -0
  126. package/dist/assets/MagicLinkSignInScreen-DckuWYZS.js +12 -0
  127. package/dist/assets/{MagicLinkSuccessPage-QMkZgQLG-SmTRytlp.js → MagicLinkSuccessPage-BDRXSAO4-CMnLHn5s.js} +6 -6
  128. package/dist/assets/{MagicLinkTitleSection-CARU1oLQ-Cc0bAwCn.js → MagicLinkTitleSection-ZnbKPIvJ-ckYpUfqV.js} +9 -9
  129. package/dist/assets/MailingDetailsSection-DZT7JPlI-LlM6fEiJ.js +21 -0
  130. package/dist/assets/MobileAppDrawer-sKiHtZDX.js +1 -0
  131. package/dist/assets/{MoreMenuButton-BsBKwXvk-B-OabREv.js → MoreMenuButton-CJue6xR9-BjKpSdxL.js} +23 -23
  132. package/dist/assets/{MyBankConnectionsSettingsPage-BdgIIhL1-sxo7GzB7.js → MyBankConnectionsSettingsPage-aQDVaEG1-Cik-SXmg.js} +7 -7
  133. package/dist/assets/{MyPendingActivationChargeCardListPage-CX38bDdq-BSRy7gxL.js → MyPendingActivationChargeCardListPage-BJrk56oA-BUd9MItV.js} +1 -1
  134. package/dist/assets/{MyProfileSettingsPage-DYu0Fx6I-2xpkKTK_.js → MyProfileSettingsPage-L9WuP6HZ-DoU854nY.js} +6 -6
  135. package/dist/assets/NavBarWithPicker-zmvBmWS1-Clp_nkzI.js +30 -0
  136. package/dist/assets/{NavigationArrow-CTNkKUtV-BOWAFzvJ.js → NavigationArrow-D26UG3p--CHxAHU6k.js} +2 -2
  137. package/dist/assets/NavigationDots-Bv4tBDN3-ZVsHmMoe.js +15 -0
  138. package/dist/assets/{NewGlobalMerchantPage-D_f7z47T-bzcY5fN6.js → NewGlobalMerchantPage-vOn2O6B9-CBs7ETJS.js} +4 -4
  139. package/dist/assets/NoDataChart-CgT19fV7-BssP0tzZ.js +26 -0
  140. package/dist/assets/{NoDataTable-4vPXmPYF-DNHPtvzK.js → NoDataTable-CPjJmo4s-BIZnjSxP.js} +1 -1
  141. package/dist/assets/{NotFoundPage-BLWPU1wU-sT7v4kMd.js → NotFoundPage-CP2i3FTm-DZwZas3U.js} +6 -6
  142. package/dist/assets/NotFoundScreen-BbpMMX9s.js +1 -0
  143. package/dist/assets/NotificationRoutes-B4bfKvmi.js +1 -0
  144. package/dist/assets/{NotificationSettingsPage-CDiDLX3A-_aoQxT7d.js → NotificationSettingsPage-CT9Dnb03-BKVlFjQr.js} +16 -16
  145. package/dist/assets/NotificationsListConfig-Bn1zmx6b-7K548aOU.js +1 -0
  146. package/dist/assets/NotificationsPage-DDwdR_Jq-BG2T279u.js +685 -0
  147. package/dist/assets/OpExByVendorPage-DukFYlqO-CfJl78Ca.js +100 -0
  148. package/dist/assets/{OverlayContainerPage-BG9y5C0t-BzKAGxet.js → OverlayContainerPage-D4QU0p4o-CNFeAXmN.js} +1 -1
  149. package/dist/assets/PandLWithForecastPage-Bgflh9Om-DZ3_yxwP.js +107 -0
  150. package/dist/assets/PandLWithForecastRoutes-B4PiCC38.js +1 -0
  151. package/dist/assets/{PaymentAccountSetupBillingAddressSection-9ma8SpIa-B9DSsC2j.js → PaymentAccountSetupBillingAddressSection-JPO-rPAd-B-z2Hz_U.js} +7 -7
  152. package/dist/assets/PeoplePage-CDvKreQl-DarD0EGZ.js +720 -0
  153. package/dist/assets/PeopleRoutes-Bji1PDT3.js +22 -0
  154. package/dist/assets/PerformanceRoutes-C2QScidi.js +1 -0
  155. package/dist/assets/{Preview-7kwKilUJ.js → Preview-D4dux0eF.js} +1 -1
  156. package/dist/assets/{ProductsCarousel-C3M0ocdF-Bk6zo5Ng.js → ProductsCarousel-7R3cvGiS-D8P3xUrh.js} +8 -8
  157. package/dist/assets/{PromoBaseCards-BOGJI2ws-C9Pe7t33.js → PromoBaseCards-DdCMZIc7-DBhgxdTj.js} +1 -1
  158. package/dist/assets/{QBOConnectionDialog-CmpnnuzP-C7S2tuEZ.js → QBOConnectionDialog-Ca36jKz2-DpeJsMkG.js} +13 -13
  159. package/dist/assets/{QBOConnectionScreen-CBL_c_ZS.js → QBOConnectionScreen-BBQqRB2z.js} +22 -4
  160. package/dist/assets/{QBOSetupSection-DjnN9dgv-DuelT8Xn.js → QBOSetupSection-CzBfIVqR-D48AIQ6b.js} +10 -10
  161. package/dist/assets/ReferralListScreen-SWZzL8_L.js +5 -0
  162. package/dist/assets/ReimbursementApprovalRoutes-CDcbSeCq.js +1 -0
  163. package/dist/assets/{ReimbursementApprovalRuleDetailPage-D5NXjrO9-BrVg7MWi.js → ReimbursementApprovalRuleDetailPage-DUVSGQJ6-CiKrn3L-.js} +4 -4
  164. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-CiFU9_Ue.js → ReimbursementApprovalRuleDetailScreen-C6QD0dHy.js} +1 -1
  165. package/dist/assets/{ReimbursementApprovalRulesPage-BsCTIqUJ-SkgewgOo.js → ReimbursementApprovalRulesPage-B48x1gPM-TyTym-o2.js} +27 -27
  166. package/dist/assets/ReimbursementDetailPage-oIC9QEyF-DD_nn8iA.js +314 -0
  167. package/dist/assets/{ReimbursementPromoPage-CyEgwqcf-SmbgqnUO.js → ReimbursementPromoPage-BKgsJieE-ba8SRSKH.js} +14 -14
  168. package/dist/assets/ReimbursementRoutes-BDoS2Viq.js +13 -0
  169. package/dist/assets/{ReimbursementSetUpPage-RETPkEQd-X6NMArZG.js → ReimbursementSetUpPage-B_c-ZgFT-DsXy5T-i.js} +5 -5
  170. package/dist/assets/ReimbursementsBulkReviewDrawerPage-CeyGWbKR-b2LCo2fP.js +1 -0
  171. package/dist/assets/ReloadCard-DKGn1uxF-xV8m_TeH.js +26 -0
  172. package/dist/assets/ReportTableViewSelector-CXDvZEbR-BEs3z0WU.js +150 -0
  173. package/dist/assets/ReportsPage-BoUyXSBC-dKIbVO8t.js +121 -0
  174. package/dist/assets/ReportsRoutes-c3YTFnRz.js +1 -0
  175. package/dist/assets/{RevenueChart-DvyZ3aO7-Cq5-UpCu.js → RevenueChart-SvdhwBcE-DaeNieaE.js} +12 -12
  176. package/dist/assets/ReviewDetailsPage-tT1l4R2r-EDW_-Vnp.js +290 -0
  177. package/dist/assets/{ReviewOverlay-CxwoiOLC-D5lX05io.js → ReviewOverlay-BoM41t8W-DgI6cFXd.js} +7 -7
  178. package/dist/assets/RewardsRoutes-o1myXW2J.js +1 -0
  179. package/dist/assets/RoleWithToolTip-C8x5yXaK-BPbsiT1k.js +22 -0
  180. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DiL5Dozk-nJBgIa-D.js → ScheduleDetailsFixedAssetsPage-Bkp0mCOn-DQbz3Cef.js} +8 -8
  181. package/dist/assets/ScheduleDetailsPage-Dg9rYJbn-CYqViARR.js +37 -0
  182. package/dist/assets/ScheduleSequenceTable-J6Eja8XA-CGs8BkOX.js +324 -0
  183. package/dist/assets/ScreenRoutes-CoSbVjnG.js +2 -0
  184. package/dist/assets/{SetUpAccountSection-CctbMmoK-dkot7n04.js → SetUpAccountSection-sfIB1h4i-DH94MVfE.js} +15 -15
  185. package/dist/assets/{SettingsRoutes-B6iEqR3w.js → SettingsRoutes-D4OVycdK.js} +7 -7
  186. package/dist/assets/{SetupPagesScreen-BnPwIkkt.js → SetupPagesScreen-CP5xGQM-.js} +6 -6
  187. package/dist/assets/{SignIn-CmgmnRm4-B0na7eQY.js → SignIn-Cu2nzuEC-D0_FHV1l.js} +75 -75
  188. package/dist/assets/SignInScreen-Dy_3TYSj.js +1 -0
  189. package/dist/assets/SignOutScreen-C-hbbdId.js +9 -0
  190. package/dist/assets/SpendManagementListViewPage-9V9u1jPF-BAQuHXRH.js +134 -0
  191. package/dist/assets/SpendManagementPerTabPage-COvEPq7V-DXoUtE5K.js +754 -0
  192. package/dist/assets/SpendManagementSection-dT-N4bSQ-BmAvBJeB.js +375 -0
  193. package/dist/assets/StatementItem-g5tfNBjV-D7Y_OR58.js +31 -0
  194. package/dist/assets/StatementsPage-DaFrVUeK-Bu9uXUe0.js +58 -0
  195. package/dist/assets/{StatusSwitcher-Bv-ozN6U-quMddV-t.js → StatusSwitcher-CaoFw0cf-LnRyZkPw.js} +1 -1
  196. package/dist/assets/{SubTabSwitcher-D7QeM6nb-BFMiA24p.js → SubTabSwitcher-zrkVj1aP-BpUcvhC2.js} +9 -9
  197. package/dist/assets/SuccessAnimation-oz7yQ6H3-Bb_9Jyw4.js +13 -0
  198. package/dist/assets/{SummaryCard-C2qoTsAY-CaaNnBJl.js → SummaryCard-B9wqNSwM-Z6FaAp8R.js} +1 -1
  199. package/dist/assets/{TaskDetailPage-QMk4DTDK-D2hPuZdA.js → TaskDetailPage-044JwAvz-D-VMZNU5.js} +41 -41
  200. package/dist/assets/TaskListScreen-rlkEoDCk.js +9 -0
  201. package/dist/assets/TaskManagementPage-dAK9tl2b-CRrkZYA1.js +1063 -0
  202. package/dist/assets/TaskRoutes-Dv_crepW.js +9 -0
  203. package/dist/assets/TimeRangeSwitcher-r1TNqVRb-BAe1EuS0.js +64 -0
  204. package/dist/assets/TimeframeSwitcher-DHfHCTa4-C-IgGi6u.js +31 -0
  205. package/dist/assets/TimeframeSwitcherWithToggle-DvBvguRl-DM8XfZ8P.js +31 -0
  206. package/dist/assets/{TopExCard-Z1WabZ8c-CKf1GX94.js → TopExCard-BUjnGDUB-Cixq3mwa.js} +6 -6
  207. package/dist/assets/{TopExDetailPage-CzHG4f9E-B4TmK8gG.js → TopExDetailPage-CNDkfc3u-CuvB6qt5.js} +14 -14
  208. package/dist/assets/{TransactionActivityLogPage-CGKnjNfU-Ci16gpvR.js → TransactionActivityLogPage-kSQqJVpX-DyxJcJtf.js} +9 -9
  209. package/dist/assets/TransactionDetailPage-f7vWtXWL-BTMnz0mH.js +903 -0
  210. package/dist/assets/TransactionDetailRoutes-BqPivaDh.js +1 -0
  211. package/dist/assets/{TransactionDetailScreen-B-Yj_UhL.js → TransactionDetailScreen-DIenmNko.js} +2 -2
  212. package/dist/assets/TransactionList-3-mUZOsw-Blz5H5Te.js +153 -0
  213. package/dist/assets/{TransactionListBig-C5Sf5Xh--DbwL40CX.js → TransactionListBig-Bx_Rm9ho-VXDaw90S.js} +20 -20
  214. package/dist/assets/TransactionListPage-q6x4_jni-BeqHDEN7.js +35 -0
  215. package/dist/assets/{TransactionListRoutes-QxUiu8mw.js → TransactionListRoutes-cXRM-Tzx.js} +1 -1
  216. package/dist/assets/{TransactionVendorDetailPage-SsrSOk3O-D_eszV6l.js → TransactionVendorDetailPage-MjSH5hfq-CN5kkzkt.js} +4 -4
  217. package/dist/assets/{TransferDrawerPage-BvKZ7vHF-BsH4I_GA.js → TransferDrawerPage-BayVa6po-D8DjUeLp.js} +32 -32
  218. package/dist/assets/TreasuryOverviewPage-CuqWmrO5-9BoI5avx.js +708 -0
  219. package/dist/assets/{TreasuryPromoPage-CtTFvSQW-C3HG6vUb.js → TreasuryPromoPage-BCjz1EKX-ZejnCIrp.js} +26 -26
  220. package/dist/assets/TreasuryRoutes-5Jq3PBCh.js +45 -0
  221. package/dist/assets/{TreasuryStatementsPage-Catz8shX-DYVsQNkR.js → TreasuryStatementsPage-CGr00SXF-BVn6YWI5.js} +3 -3
  222. package/dist/assets/TreasuryTaxLetterPage-D9_qnlK4-BodQ0XOA.js +58 -0
  223. package/dist/assets/{TrendChart-Bnp4Pcdf-BEiDyalf.js → TrendChart-JTOG0a7B-B9PiPj4M.js} +2 -2
  224. package/dist/assets/TrendWithTransactions-CTJhTpAM-BO0IpBnV.js +116 -0
  225. package/dist/assets/{UncategorizedAccountsMappingPage-DbyY-dYB-CRm0o4w4.js → UncategorizedAccountsMappingPage-TGKYpC5A-4MUyjq3F.js} +7 -7
  226. package/dist/assets/{UnitIntegrationPage-CTzme1te-Dnhdwg-S.js → UnitIntegrationPage-mt2IjA5X-PkbkHBhf.js} +4 -4
  227. package/dist/assets/UploadAdditionalDocumentOverlay-DZfpwE5J-CLFBiQB1.js +38 -0
  228. package/dist/assets/Vendor2FAPopup-DAOf5cJD-CYwz1o5q.js +1 -0
  229. package/dist/assets/VendorACHDetailsPage-CCOupiSZ-H2ETipS-.js +1 -0
  230. package/dist/assets/VendorDetailPage-DufNphGD-2QGt-gwE.js +257 -0
  231. package/dist/assets/VendorDomesticWireDetailsPage-BayV34Rt-gRUl_StD.js +1 -0
  232. package/dist/assets/{VendorFiling1099EditablePage-himC7iD3-COlhEhfI.js → VendorFiling1099EditablePage-CRnO7Ubw-DxoPD9QC.js} +16 -16
  233. package/dist/assets/VendorFirstReviewPage-DA0EL4RJ-CGX7_u3z.js +730 -0
  234. package/dist/assets/{VendorInternationalWireDetailsPage-CS595Xgc-B8BwDoGh.js → VendorInternationalWireDetailsPage-HUtNyn9Z-DowqkaS4.js} +7 -7
  235. package/dist/assets/VendorInternationalWireSwiftDetailsPage-DRVMUeXi-Ci9mVR27.js +1 -0
  236. package/dist/assets/{VendorsAccountsSection-CgSJu8wq-By2iaDf4.js → VendorsAccountsSection-D6Qa1zf9-CW6sCLwr.js} +4 -4
  237. package/dist/assets/{VendorsRoutes-Bih_aLlI.js → VendorsRoutes-LjTGNk-2.js} +21 -21
  238. package/dist/assets/VerifyDevice-B6B_nk3v-BvincG_g.js +112 -0
  239. package/dist/assets/VideoPlayer-BRAgZThr-XG4Rcfdj.js +77 -0
  240. package/dist/assets/{VideoPopup-BqvZ-XIh-C4S2l4Qt.js → VideoPopup-C_SkBI9U-BhfvIuKF.js} +2 -2
  241. package/dist/assets/WiseConfirmationScreen-DxTpTvCN.js +12 -0
  242. package/dist/assets/ZeniAccountDetailPage-Dp-eo-Vq-P6JFo8ah.js +300 -0
  243. package/dist/assets/ZeniAccountListViewPage-S-XmAYqD-BeIhS-QI.js +441 -0
  244. package/dist/assets/ZeniAccountNavBarPieces-DhjBxfEr-VVB6yev1.js +14 -0
  245. package/dist/assets/{ZeniAccountPromoPage-JrcedQYB-pQRwMLaX.js → ZeniAccountPromoPage-BgYCHYLO-LBXK2GgO.js} +24 -24
  246. package/dist/assets/ZeniAccountRoutes-DgIyNsYA.js +58 -0
  247. package/dist/assets/{ZeniAccountSetupPage-TKBfbgzJ-PLHUlE4Q.js → ZeniAccountSetupPage-CvnIMdcY-D7CTKM8F.js} +4 -4
  248. package/dist/assets/ZeniAccountStatementScreen-DbUnng23.js +9 -0
  249. package/dist/assets/{ZeniAvatar-Bzhq25CU-DDubJB3t.js → ZeniAvatar-CwHVUcMc-BwzTw7hA.js} +3 -3
  250. package/dist/assets/{ZeniCopyright-DglqrTpl-0ipdHCKB.js → ZeniCopyright-BlLvlGZV-CNQ_DnT5.js} +1 -1
  251. package/dist/assets/{ZeniDatePicker-BHXPxPnI-jqtqgUDK.js → ZeniDatePicker-DCurorsW-IG-1gcsw.js} +5 -5
  252. package/dist/assets/ZeniTransferAmountSlider-BNYgPwHs-CW1ejaod.js +63 -0
  253. package/dist/assets/{accountMappingHelper-dpnZZ5LV.js → accountMappingHelper-CiZg2tUy.js} +1 -1
  254. package/dist/assets/{add-to-wallet-DgdBD8_G-Bm_Y0yNs.js → add-to-wallet-DgdBD8_G-BAOW4bEC.js} +1 -1
  255. package/dist/assets/{analytics-CkXlMwul.js → analytics-JKNMIPCj.js} +1 -1
  256. package/dist/assets/{analyticsHelper-CAYdbjhS-CriW5LYb.js → analyticsHelper-CYr5V2MV-g3X61F5M.js} +1 -1
  257. package/dist/assets/{analyticsHelper-CgnSazAa.js → analyticsHelper-UkV1zy0R.js} +1 -1
  258. package/dist/assets/{arrow-south-east-round-PEovUgvH-BOEOiatb.js → arrow-south-east-round-PEovUgvH-D3HxhDaV.js} +1 -1
  259. package/dist/assets/{auto-transfer-rule-mbafm5D3-TAKOnqtH.js → auto-transfer-rule-mbafm5D3-B6zvDgGa.js} +1 -1
  260. package/dist/assets/{avatar-Dz7aEm3d-Gywr7K0t.js → avatar-Dz7aEm3d-D4Z6gXMA.js} +1 -1
  261. package/dist/assets/{calculateSize-B2w5JPEU-mwJnN95U.js → calculateSize-Bn1NnCzV-DqzvW5QR.js} +1 -1
  262. package/dist/assets/{chartTypes-CD3vrBsI-CvW9Chyr.js → chartTypes-40RenddT-xOl7ri4B.js} +1 -1
  263. package/dist/assets/{clock-CJkylEKt-COoJTe6x.js → clock-CJkylEKt-DCVHdJv4.js} +1 -1
  264. package/dist/assets/common-DEB71I4X-BLhN6mer.js +1 -0
  265. package/dist/assets/commonDimensions-BMnB1-xU-CRcoh4cg.js +1 -0
  266. package/dist/assets/{commonTypes-5tEXwrX4-DyDjh_w6.js → commonTypes-DsWS6Ccc-DDqFel7Y.js} +1 -1
  267. package/dist/assets/{core-C_Me9Mw3.js → core-B0aIoG8L.js} +38 -3
  268. package/dist/assets/{dash.all.min-Bp2m9Ydo.js → dash.all.min-CD3iOFub.js} +1 -1
  269. package/dist/assets/{decodeURIComponentSafe-ZgCb2Iy4.js → decodeURIComponentSafe-Bu6iKDPg.js} +1 -1
  270. package/dist/assets/detailCommon-CrcyqWtZ-C0uLkBms.js +38 -0
  271. package/dist/assets/{dnd-BRZ99wCN.js → dnd-CeLShHIc.js} +1 -1
  272. package/dist/assets/{dollar-round-D18u7nlm-B1-gS13v.js → dollar-round-D18u7nlm-CHRr1bf9.js} +1 -1
  273. package/dist/assets/downloadPdf-CUUx8PWn-yhiYByrR.js +1 -0
  274. package/dist/assets/{empty-DHCuSR9N.js → empty-BkriGRuv.js} +1 -1
  275. package/dist/assets/{index-3k8vVfR8.js → empty-C0YbYLjJ.js} +1 -1
  276. package/dist/assets/epic-DfRSOgde.js +2 -0
  277. package/dist/assets/{filter-cZIFUNvj-D8Km46fj.js → filter-cZIFUNvj-BwZeVD32.js} +1 -1
  278. package/dist/assets/getLocaleForTenant-Dk0k1evv.js +1 -0
  279. package/dist/assets/{gift-box-Cmt9OgIZ-Caqrj8S3.js → gift-box-Cmt9OgIZ-bJl9WnG1.js} +1 -1
  280. package/dist/assets/{graphic-no-data-l-DU4J8fDt-DcLpxdkP.js → graphic-no-data-l-DU4J8fDt-Du06xfs-.js} +1 -1
  281. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CHRRaCEh.js → graphic-no-data-net-burn-l-CzmycA0m-CneFMbCy.js} +1 -1
  282. package/dist/assets/{handshake-BPg58FML-CZMITs4k.js → handshake-BPg58FML-wokdn9gB.js} +1 -1
  283. package/dist/assets/{helper-Ckm10Uko-B3ENCgge.js → helper-BMiMbXMj-CknnjhGs.js} +2 -2
  284. package/dist/assets/{hyperlink-DQyCeXx2-gaj5d9Ss.js → hyperlink-DQyCeXx2-C7S37aSh.js} +1 -1
  285. package/dist/assets/{index-B2upy5zm.js → index-BPALOhCr.js} +1 -1
  286. package/dist/assets/index-CDsMViUJ.js +1 -0
  287. package/dist/assets/{index-SxFZwWsO.js → index-CImw4dkc.js} +1 -1
  288. package/dist/assets/{index-CUMBQ0kS.js → index-DtWTtd_D.js} +8 -2
  289. package/dist/assets/{index-C-nTPjDF.js → index-EqHxd201.js} +4300 -4238
  290. package/dist/assets/index-uHN8COgu.js +1 -0
  291. package/dist/assets/{lexical-itr5JGCy.js → lexical-Cn2A1iXT.js} +1 -1
  292. package/dist/assets/{liveblocks-WO1k1bbB.js → liveblocks-BGLG0ZRF.js} +8 -3
  293. package/dist/assets/{lottie-DyM2Y4mu.js → lottie-C-63nSQ2.js} +1 -1
  294. package/dist/assets/mapLoadingInProgressToTreeNode-DGnyXKBT-CfSF4d0q.js +1 -0
  295. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Cgyt68f3-DDmSwPfi.js → mapSectionWithAcOnlyToTreeNode-BkPRWtaj-Bbv9kxuB.js} +1 -1
  296. package/dist/assets/mapSpacerToTreeNode-CvGdU9Ma-DqFRHMwL.js +1 -0
  297. package/dist/assets/mapTimeframeBalancesToTreeNode-BCOsOvxo-C2o18LiT.js +1 -0
  298. package/dist/assets/mapTimeframeBalancesToTreeNode-DIqYP3NK-DZe5CwCl.js +1 -0
  299. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-Ch2rvcz4-CHWYk2eN.js +1 -0
  300. package/dist/assets/{media-player-CF7xBLjT.js → media-player-CqCqOlxE.js} +2 -2
  301. package/dist/assets/{money-2cg1MuG4-G-AmTEM-.js → money-2cg1MuG4-B1T8Uy6t.js} +1 -1
  302. package/dist/assets/{mui-BOwjqiG-.js → mui-2NnLxiU2.js} +1 -1
  303. package/dist/assets/{page-detail-CWX5S47F-apfmAYex.js → page-detail-CWX5S47F-CgGawfzp.js} +1 -1
  304. package/dist/assets/{page-summary-D7_VQHwN-BnBlbKgB.js → page-summary-D7_VQHwN-BOd9yG8Y.js} +1 -1
  305. package/dist/assets/panelSelectedMixin-CzfD5-Zs-DP2cNj_W.js +4 -0
  306. package/dist/assets/{pathToGoBack-HOzfv7dJ.js → pathToGoBack-Bv92NQSQ.js} +1 -1
  307. package/dist/assets/{pdf-BrZAvZ1o.js → pdf-CmlsF1Bq.js} +4 -4
  308. package/dist/assets/{pdf-lib-i0Zp6hBX.js → pdf-lib-BdZjuQvb.js} +1 -1
  309. package/dist/assets/{plaid-CyY87P8r.js → plaid-AStGMBRC.js} +1 -1
  310. package/dist/assets/{pusher-BNpOKQkJ.js → pusher-Dg5Fzp9t.js} +1 -1
  311. package/dist/assets/{radio-default-CiSgisfh-Ca1mizvg.js → radio-default-CiSgisfh-CaVf9O8j.js} +1 -1
  312. package/dist/assets/{react-l1PGvjrb.js → react-BNcYqv24.js} +13 -3
  313. package/dist/assets/{react-DhXnYBTa.js → react-BSLmZDh4.js} +12 -2
  314. package/dist/assets/{react-CCEU-gQt.js → react-BwZSAuz_.js} +12 -2
  315. package/dist/assets/{react-D2mjxCly.js → react-DGi5bvij.js} +12 -2
  316. package/dist/assets/{react-BX_gWWIU.js → react-DHpb7QC4.js} +12 -2
  317. package/dist/assets/{react-BGvBjcei.js → react-DKmRNMO0.js} +12 -2
  318. package/dist/assets/react-DbU9hhuM.js +37 -0
  319. package/dist/assets/{react-Duxg__b3.js → react-lrEBBJno.js} +12 -2
  320. package/dist/assets/{recharts-B22vzlMp.js → recharts-DLbOXl5Z.js} +1 -1
  321. package/dist/assets/{routePaths-DWpG5fXY.js → routePaths-D30DRN8c.js} +1 -1
  322. package/dist/assets/{sentry-Dd2vHz0L.js → sentry-Q4kep6XN.js} +1 -1
  323. package/dist/assets/{shield-DOlUxcFf-CgU6m3s0.js → shield-DOlUxcFf-DhZp-_BM.js} +1 -1
  324. package/dist/assets/{spend-limit-D6SyboD4-vqGyghnL.js → spend-limit-D6SyboD4-BmY4osYa.js} +1 -1
  325. package/dist/assets/toCOABalancesWithID-DkMGvlEt-rov467Ra.js +1 -0
  326. package/dist/assets/toChartData-C6s-eBzE-CuLISfRU.js +1 -0
  327. package/dist/assets/{transaction-placeholder-CpOwZAMG-DdciVPZG.js → transaction-placeholder-CpOwZAMG-BgSxR8pp.js} +1 -1
  328. package/dist/assets/{undo-b_3XZ5CX-DR3nJT2M.js → undo-b_3XZ5CX-BQ_ijdRp.js} +1 -1
  329. package/dist/assets/{unlock-BPWn2I5L-1yegyXps.js → unlock-BPWn2I5L-C-h2dTWL.js} +1 -1
  330. package/dist/assets/{uploadAttachment-Ck4wivBR-Cq_QQznk.js → uploadAttachment-BlLqRIXe-CHndkGCc.js} +29 -29
  331. package/dist/assets/{uploadReceipts-CIgkuVpu-CvG-u27y.js → uploadReceipts-Dge0cNF1-DGJmbPrS.js} +1 -1
  332. package/dist/assets/{url-DB9sjAVf.js → url-Bic7cnA8.js} +1 -1
  333. package/dist/assets/{url-BDW7KPoG.js → url-DpsurdUI.js} +1 -1
  334. package/dist/assets/{useDeviceId-sqx37YoD.js → useDeviceId-B4g5tOwE.js} +1 -1
  335. package/dist/assets/useInitialThreadRequest-odLUiJqj.js +1 -0
  336. package/dist/assets/{useLongPress-GCK2COYQ-C_AhMW7V.js → useLongPress-GCK2COYQ-BHyH9hMq.js} +1 -1
  337. package/dist/assets/{usp-line-BBd1wKwW-iHFFix1h.js → usp-line-BBd1wKwW-DXXOUebn.js} +1 -1
  338. package/dist/assets/{utils-CInzYuJw.js → utils-Yz1HF93N.js} +20 -7
  339. package/dist/assets/withTransactionSidePanel-BBaDdbsh.js +8 -0
  340. package/dist/assets/zeni-epic-state-DHqVwJ2L.js +122 -0
  341. package/dist/assets/{zeni-icon-only--k3HSUel.js → zeni-icon-only-fh8VXN1X.js} +1 -1
  342. package/dist/index.html +1 -1
  343. package/dist/service-worker.js +8 -16
  344. package/package.json +4 -4
  345. package/dist/assets/AccountInfoPage-Cd5xYT1g-Ai_0FLE3.js +0 -18
  346. package/dist/assets/AccountInfoPageContent-CJ7ycVIK-DkOvC174.js +0 -149
  347. package/dist/assets/AccountRow-D1cjRJJD-BMyrgPuA.js +0 -298
  348. package/dist/assets/AddAddressForCardDrawer-DZkBMJfp-DcB1j4vY.js +0 -6
  349. package/dist/assets/AddressRoutes-BtKujLBV.js +0 -1
  350. package/dist/assets/AddressScreen-C2pdVITK.js +0 -9
  351. package/dist/assets/AgingReportsPage-xBFff3BM-qv6H7lp3.js +0 -79
  352. package/dist/assets/AiCfoScreen-CS7LOF-g.js +0 -11
  353. package/dist/assets/AllUserItems-BJf6WPDo-BM8-bXR0.js +0 -192
  354. package/dist/assets/ApAgingDetailPage-CjBrPyi8-Cp4IdB_e.js +0 -46
  355. package/dist/assets/AppDrawerContent-CVVWj66i-B2ZBo3py.js +0 -92
  356. package/dist/assets/ApprovalRulesSettingsPage-Cckd2uVA-Dpozweq8.js +0 -47
  357. package/dist/assets/ArAgingChart-CBsqOd-4-B5F9H9K-.js +0 -24
  358. package/dist/assets/ArAgingDetailPage-i7JObt60-Fc_EOjuD.js +0 -46
  359. package/dist/assets/BalancesInsightWithToolTip-B6umvmgL-DfnZIkVc.js +0 -38
  360. package/dist/assets/BankAccountWarningSection-Cled-2cR-Cw7HtoK0.js +0 -51
  361. package/dist/assets/BillDetailPage-XXOwBfO1-CJELKaQK.js +0 -266
  362. package/dist/assets/BillPayApprovalRuleDetailPage-DFZ0csaT-B4s_RfTN.js +0 -27
  363. package/dist/assets/BillPaySetUpPage-BCJbZDsV-DcKA47B8.js +0 -42
  364. package/dist/assets/BusinessVerificationPage-DSuJFoW1-CS7pQP2Z.js +0 -138
  365. package/dist/assets/BusinessVerificationPageScreen-B2ubg6bo.js +0 -9
  366. package/dist/assets/BusyIndication-9zDqSKBP-ChOc_zhb.js +0 -9
  367. package/dist/assets/ChargeCardListTable-YznzSsJo-CtUoYDrk.js +0 -711
  368. package/dist/assets/ChargeCardPromoPage-DIfakIOK-DfvCk3tp.js +0 -222
  369. package/dist/assets/ChargeCardSetupPage-0bpVkeJs-Df1sOrZm.js +0 -36
  370. package/dist/assets/CheckDepositDrawerPage-BS7hnyZn-B2ArvDGb.js +0 -206
  371. package/dist/assets/CollapsableReportTable-DNfFkAts-Dc4f25sP.js +0 -2982
  372. package/dist/assets/CompanyPassportCard-CkzYFTrp-v_Yi1D3S.js +0 -42
  373. package/dist/assets/ConfettiBurst-BZCXEGYA-C3NYdom7.js +0 -1
  374. package/dist/assets/ConnectionAuthScreen-BJLM2bFw.js +0 -11
  375. package/dist/assets/CurrencySelectField-BAh7SHrG-ZI7IxMyb.js +0 -139
  376. package/dist/assets/CustomerOnboardingAuthScreen-BvfQ6Bly.js +0 -1
  377. package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-mCuydIQY.js +0 -1
  378. package/dist/assets/CustomerOnboardingNoStepsPage-Bh_F0-oC-3DxoMDqE.js +0 -66
  379. package/dist/assets/CustomerOnboardingRoutes-DXDqjA2k.js +0 -23
  380. package/dist/assets/DashboardRoutes-DN0OxjOX.js +0 -21
  381. package/dist/assets/DashboardSidebarBackgroundAnimation-BtA5oEGG-Xyr-RGrR.js +0 -12
  382. package/dist/assets/DepositAccTransactionItem-CyFi1P_L-BTaaJjC4.js +0 -76
  383. package/dist/assets/DepositAccTransactionListPage-DvBRRUdZ-3p6ZbDz1.js +0 -66
  384. package/dist/assets/DomesticWireDetailScreen-BwhlL4tC.js +0 -18
  385. package/dist/assets/DomesticWireDetailsPage-DCDo3aHI-CMQw3On6.js +0 -21
  386. package/dist/assets/DownloadOverlay-D_lL1sPW-CZPsN-JO.js +0 -439
  387. package/dist/assets/DrawerScreen-DafCGXWd.js +0 -1
  388. package/dist/assets/EditPeoplePage-QvPy_Six-CR3o2wGZ.js +0 -55
  389. package/dist/assets/EditReimbursementDetailPage-C0ZDkboO-jLfpxCgG.js +0 -865
  390. package/dist/assets/EntityDetailPage-l7nXIsyF-BKeztON8.js +0 -18
  391. package/dist/assets/EntityDetailRoutes-BON-ncUX.js +0 -1
  392. package/dist/assets/ExpenseAutomationPage-DA22Qofw-I7XV9QD1.js +0 -3614
  393. package/dist/assets/ExpenseAutomationRoutes-CveEotWX.js +0 -20
  394. package/dist/assets/FeaturePreviewScreen-DQcCElpb.js +0 -1
  395. package/dist/assets/GlobalReviewListPage-D5_ACa-q-D1KBOMbn.js +0 -291
  396. package/dist/assets/InsightsCardStack-BsQzoVzj-hf0eh54W.js +0 -79
  397. package/dist/assets/InsightsSection-B6CNlTNH-CeDe9GJf.js +0 -27
  398. package/dist/assets/InternationalWireSwiftDetailsPage-VdG7bDZi-BRGKMiE5.js +0 -171
  399. package/dist/assets/InvitePeoplePage-VTM6kM1u-BfjLud0v.js +0 -12
  400. package/dist/assets/InvoiceUploadSection-it-ZYl1N-u-Ok--50.js +0 -140
  401. package/dist/assets/LabeledAddressValueField-BgWwd5Gw-DQJWYcjN.js +0 -45
  402. package/dist/assets/LabeledControlledCheckBoxField-CcPO1k23-BMfkV-71.js +0 -16
  403. package/dist/assets/LabeledDocumentField-C_bcFxdY-B4Wto7A4.js +0 -41
  404. package/dist/assets/LabeledText-C8Y7EOsX-_3NO_Gw0.js +0 -42
  405. package/dist/assets/MagicLinkACHDetailsPage-BSOlSfNu-CqwSWs_b.js +0 -1
  406. package/dist/assets/MagicLinkDomesticWireDetailsPage-D1DTPo0E-BhZpjuNN.js +0 -1
  407. package/dist/assets/MagicLinkInternationalWireDetailsPage-D_wo_2nm-BiZ2NpqK.js +0 -1
  408. package/dist/assets/MagicLinkRoutes-D2admDSA.js +0 -72
  409. package/dist/assets/MagicLinkSignInScreen-Ct1R8j_F.js +0 -12
  410. package/dist/assets/MailingDetailsSection-ByOPaJ05-B05tb0k3.js +0 -21
  411. package/dist/assets/MobileAppDrawer-C3iQUfEm.js +0 -1
  412. package/dist/assets/NavBarWithPicker-CGGEvLwe-De1uupkf.js +0 -30
  413. package/dist/assets/NavigationDots-Dvce3gHt-BdG8xiHP.js +0 -15
  414. package/dist/assets/NoDataChart-CrKeqWSr-BgjE0oDl.js +0 -26
  415. package/dist/assets/NotFoundScreen-BqSwug0q.js +0 -1
  416. package/dist/assets/NotificationRoutes-DJ7czIvh.js +0 -1
  417. package/dist/assets/NotificationsListConfig-B5pDa4cJ-FC6OqnHW.js +0 -1
  418. package/dist/assets/NotificationsPage-Ccl7Dny1-CqJX9kkt.js +0 -685
  419. package/dist/assets/OpExByVendorPage-spd-nKV4-DVRHWB5n.js +0 -100
  420. package/dist/assets/PandLWithForecastPage-TSoe4Z7F-BCBJHX7k.js +0 -123
  421. package/dist/assets/PandLWithForecastRoutes-BP0LFlHk.js +0 -1
  422. package/dist/assets/PeoplePage-b5_I0qOw-0ggO8pCY.js +0 -772
  423. package/dist/assets/PeopleRoutes-DY3VOBfU.js +0 -22
  424. package/dist/assets/PerformanceRoutes-Bbocm9pp.js +0 -1
  425. package/dist/assets/ReferralListScreen-DlI85iPs.js +0 -5
  426. package/dist/assets/ReimbursementApprovalRoutes-CxEK4FbL.js +0 -1
  427. package/dist/assets/ReimbursementDetailPage-BbyxE2uL-C9YPslYM.js +0 -314
  428. package/dist/assets/ReimbursementRoutes-j6vN9fxC.js +0 -13
  429. package/dist/assets/ReimbursementsBulkReviewDrawerPage-DnmYl0FM-BK0-Ltoq.js +0 -1
  430. package/dist/assets/ReloadCard-Bdoo0XiI-c_bctmsP.js +0 -26
  431. package/dist/assets/ReportTableViewSelector-Bc1K7mU_-NWopA-LT.js +0 -151
  432. package/dist/assets/ReportsPage-BOTHMLWh-DzPOeISi.js +0 -269
  433. package/dist/assets/ReportsRoutes-uLdNywov.js +0 -1
  434. package/dist/assets/ReviewDetailsPage-BIMg1n2e-paoxwJM_.js +0 -290
  435. package/dist/assets/RewardsRoutes-DGFLjNEy.js +0 -1
  436. package/dist/assets/RoleWithToolTip-Ct3_VuDM-mN0zapH2.js +0 -22
  437. package/dist/assets/ScheduleDetailsPage-5FWpLRtd-4Q1Vsr07.js +0 -37
  438. package/dist/assets/ScheduleSequenceTable-R3-PsXES-B0y3giRJ.js +0 -326
  439. package/dist/assets/ScreenRoutes-DEwLetNK.js +0 -2
  440. package/dist/assets/SignInScreen-DeVXckwv.js +0 -1
  441. package/dist/assets/SignOutScreen-Cdtz7yJy.js +0 -9
  442. package/dist/assets/SpendManagementListViewPage-CFUxCqkU-DX09eRyT.js +0 -134
  443. package/dist/assets/SpendManagementPerTabPage-C-kqNTci-D-FlbY8m.js +0 -754
  444. package/dist/assets/SpendManagementSection-CIz4nE_w-jzb-dw8b.js +0 -375
  445. package/dist/assets/StatementItem-vVtoBN2w-DLRHPtma.js +0 -31
  446. package/dist/assets/StatementsPage-As5WOnMR-DbPIrOc7.js +0 -58
  447. package/dist/assets/SuccessAnimation-hijccO_0-BqkqT4v4.js +0 -13
  448. package/dist/assets/TaskListScreen-C4D7gvsM.js +0 -9
  449. package/dist/assets/TaskManagementPage-BJwp32Ph-THnLzgmA.js +0 -1067
  450. package/dist/assets/TaskRoutes-JhaoisDP.js +0 -9
  451. package/dist/assets/TimeRangeSwitcher-D00bDDhP-DCNS2OFM.js +0 -64
  452. package/dist/assets/TimeframeSwitcher-DA99HdHt-BcrVnS01.js +0 -31
  453. package/dist/assets/TimeframeSwitcherWithToggle-DyggDIQj-Bh7uACpy.js +0 -53
  454. package/dist/assets/TransactionDetailPage-1-mLOWSz-DfnCUdxX.js +0 -903
  455. package/dist/assets/TransactionDetailRoutes-Q2XWLHIy.js +0 -1
  456. package/dist/assets/TransactionList-BB-xoIGm-BSpWh9dC.js +0 -153
  457. package/dist/assets/TransactionListPage-Cj7h1Ros-Pq-a-5tQ.js +0 -35
  458. package/dist/assets/TreasuryOverviewPage-DwvjMR4_-WTn3yo79.js +0 -725
  459. package/dist/assets/TreasuryRoutes-BSNm8ukU.js +0 -45
  460. package/dist/assets/TreasuryTaxLetterPage-D8hzCL5o-CFbhhHa6.js +0 -58
  461. package/dist/assets/TrendWithTransactions-3D1FvM8G-BaOlWQi6.js +0 -116
  462. package/dist/assets/UploadAdditionalDocumentOverlay-Wl4Spdpn-SaNef-9h.js +0 -38
  463. package/dist/assets/Vendor2FAPopup-D0zYKkIv-C8gaYTWa.js +0 -1
  464. package/dist/assets/VendorACHDetailsPage-YYX9aQdw-DiTm9Ff5.js +0 -1
  465. package/dist/assets/VendorDetailPage-Br9wIOnI-UzHXbr7R.js +0 -257
  466. package/dist/assets/VendorDomesticWireDetailsPage-BpPgQRHI-cmrtzlCJ.js +0 -1
  467. package/dist/assets/VendorFirstReviewPage-BbknTCBD-CFkeR-vJ.js +0 -730
  468. package/dist/assets/VendorInternationalWireSwiftDetailsPage-yhTjWXvw-B29B7nyw.js +0 -1
  469. package/dist/assets/VerifyDevice-Dvf0JsNN-BoMtboD9.js +0 -112
  470. package/dist/assets/VideoPlayer-VAzOGCDL-DK8XBhcD.js +0 -77
  471. package/dist/assets/WiseConfirmationScreen-CQr6ZXBs.js +0 -12
  472. package/dist/assets/ZeniAccountDetailPage-GcwTJdB8-jRcxdfCk.js +0 -300
  473. package/dist/assets/ZeniAccountListViewPage-CdwO0Duy-B_Bfz13h.js +0 -443
  474. package/dist/assets/ZeniAccountNavBarPieces-BrSIfL36-DX590vcc.js +0 -33
  475. package/dist/assets/ZeniAccountRoutes-ChcgZrUL.js +0 -58
  476. package/dist/assets/ZeniAccountStatementScreen-CnphzAy3.js +0 -9
  477. package/dist/assets/ZeniTransferAmountSlider-BcaZZuAw-SPoOR9Qx.js +0 -63
  478. package/dist/assets/bank-letter-BOcVjN6J-Dkoy6rTp.js +0 -1
  479. package/dist/assets/common-BpxEACHl-HdN5Sbj2.js +0 -1
  480. package/dist/assets/commonDimensions-Oz1tdAcx-DG9eYXSN.js +0 -1
  481. package/dist/assets/downloadPdf-Dsuxeias-CaRLShge.js +0 -1
  482. package/dist/assets/empty-DHQ-fT1Z.js +0 -1
  483. package/dist/assets/epic-Bvkh2Xun.js +0 -2
  484. package/dist/assets/getLocaleForTenant-DSHteTEt.js +0 -1
  485. package/dist/assets/index-BuqfI2Vr.js +0 -1
  486. package/dist/assets/mapLoadingInProgressToTreeNode-jcHEi-mv-bVioMH0m.js +0 -1
  487. package/dist/assets/mapSpacerToTreeNode-XgUp1xUb-COcUQ0p-.js +0 -1
  488. package/dist/assets/mapTimeframeBalancesToTreeNode-Bre8FfBF-9SqRPSs3.js +0 -1
  489. package/dist/assets/mapTimeframeBalancesToTreeNode-DOyCX6ij-5ej1SpjB.js +0 -1
  490. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-8hGqXIxp.js +0 -1
  491. package/dist/assets/panelSelectedMixin-Cddsb26L-Cvi1pi7-.js +0 -3
  492. package/dist/assets/react-C4vvP0Jv.js +0 -19
  493. package/dist/assets/toCOABalancesWithID-aLNB35t7-CE6_d7nv.js +0 -1
  494. package/dist/assets/toChartData-DUL6vnzJ-CEwEqfdb.js +0 -1
  495. package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-C8EH3odl.js +0 -1
  496. package/dist/assets/useInitialThreadRequest-BVrIa_dM.js +0 -1
  497. package/dist/assets/withTransactionSidePanel-hI4VijtT.js +0 -8
  498. package/dist/assets/zeni-epic-state-ChDcaYf9.js +0 -14
@@ -1,2 +1,2 @@
1
- import{a as O,c as x,b as g}from"./sentry-Dd2vHz0L.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new n.Error().stack;r&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[r]="98d1b1d5-c052-499a-8aaa-8303e6d33533",n._sentryDebugIdIdentifier="sentry-dbid-98d1b1d5-c052-499a-8aaa-8303e6d33533")}catch{}})();function k(n,r){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);r&&(t=t.filter(function(l){return Object.getOwnPropertyDescriptor(n,l).enumerable})),e.push.apply(e,t)}return e}function y(n){for(var r=1;r<arguments.length;r++){var e=arguments[r]!=null?arguments[r]:{};r%2?k(Object(e),!0).forEach(function(t){I(n,t,e[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):k(Object(e)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))})}return n}function I(n,r,e){return r in n?Object.defineProperty(n,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[r]=e,n}function w(n,r){return function(e){if(Array.isArray(e))return e}(n)||function(e,t){var l=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(l!=null){var o,i,u=[],a=!0,d=!1;try{for(l=l.call(e);!(a=(o=l.next()).done)&&(u.push(o.value),!t||u.length!==t);a=!0);}catch(c){d=!0,i=c}finally{try{a||l.return==null||l.return()}finally{if(d)throw i}}return u}}(n,r)||function(e,t){if(e){if(typeof e=="string")return S(e,t);var l=Object.prototype.toString.call(e).slice(8,-1);if(l==="Object"&&e.constructor&&(l=e.constructor.name),l==="Map"||l==="Set")return Array.from(e);if(l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return S(e,t)}}(n,r)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1
+ import{a as O,c as x,b as g}from"./sentry-Q4kep6XN.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new n.Error().stack;r&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[r]="98d1b1d5-c052-499a-8aaa-8303e6d33533",n._sentryDebugIdIdentifier="sentry-dbid-98d1b1d5-c052-499a-8aaa-8303e6d33533")}catch{}})();function k(n,r){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);r&&(t=t.filter(function(l){return Object.getOwnPropertyDescriptor(n,l).enumerable})),e.push.apply(e,t)}return e}function y(n){for(var r=1;r<arguments.length;r++){var e=arguments[r]!=null?arguments[r]:{};r%2?k(Object(e),!0).forEach(function(t){I(n,t,e[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):k(Object(e)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))})}return n}function I(n,r,e){return r in n?Object.defineProperty(n,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[r]=e,n}function w(n,r){return function(e){if(Array.isArray(e))return e}(n)||function(e,t){var l=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(l!=null){var o,i,u=[],a=!0,d=!1;try{for(l=l.call(e);!(a=(o=l.next()).done)&&(u.push(o.value),!t||u.length!==t);a=!0);}catch(c){d=!0,i=c}finally{try{a||l.return==null||l.return()}finally{if(d)throw i}}return u}}(n,r)||function(e,t){if(e){if(typeof e=="string")return S(e,t);var l=Object.prototype.toString.call(e).slice(8,-1);if(l==="Object"&&e.constructor&&(l=e.constructor.name),l==="Map"||l==="Set")return Array.from(e);if(l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return S(e,t)}}(n,r)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2
2
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function S(n,r){(r==null||r>n.length)&&(r=n.length);for(var e=0,t=new Array(r);e<r;e++)t[e]=n[e];return t}var b=typeof globalThis<"u"?globalThis:typeof window<"u"?window:x!==void 0?x:typeof self<"u"?self:{};function T(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function D(n,r){return n(r={exports:{}},r.exports),r.exports}var v=D(function(n,r){var e=b&&b.__rest||function(o,i){var u={};for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&i.indexOf(a)<0&&(u[a]=o[a]);if(o!=null&&typeof Object.getOwnPropertySymbols=="function"){var d=0;for(a=Object.getOwnPropertySymbols(o);d<a.length;d++)i.indexOf(a[d])<0&&Object.prototype.propertyIsEnumerable.call(o,a[d])&&(u[a[d]]=o[a[d]])}return u};Object.defineProperty(r,"__esModule",{value:!0}),r.scripts=void 0,r.scripts={};var t=function(o){var i=document.querySelector('script[src="'+o+'"]');if(i)return r.scripts[o]={loading:!1,error:null,scriptEl:i}};r.default=function(o){var i=o.src,u=o.checkForExisting,a=u!==void 0&&u,d=e(o,["src","checkForExisting"]),c=i?r.scripts[i]:void 0;!c&&a&&i&&l&&(c=t(i));var p=(0,g.useState)(c?c.loading:!!i),E=p[0],A=p[1],m=(0,g.useState)(c?c.error:null),h=m[0],C=m[1];return(0,g.useEffect)(function(){if(l&&i&&E&&!h){var s;!(c=r.scripts[i])&&a&&(c=t(i)),c?s=c.scriptEl:((s=document.createElement("script")).src=i,Object.keys(d).forEach(function(f){s[f]===void 0?s.setAttribute(f,d[f]):s[f]=d[f]}),c=r.scripts[i]={loading:!0,error:null,scriptEl:s});var j=function(){c&&(c.loading=!1),A(!1)},P=function(f){c&&(c.error=f),C(f)};return s.addEventListener("load",j),s.addEventListener("error",P),document.body.appendChild(s),function(){s.removeEventListener("load",j),s.removeEventListener("error",P)}}},[i]),[E,h]};var l=typeof window<"u"&&window.document!==void 0});T(v),v.scripts;var L=D(function(n,r){var e=b&&b.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:!0}),r.scripts=r.default=void 0,Object.defineProperty(r,"default",{enumerable:!0,get:function(){return e(v).default}}),Object.defineProperty(r,"scripts",{enumerable:!0,get:function(){return v.scripts}})}),N=T(L);L.scripts;var _,F=function(n){var r={plaid:null,open:!1,onExitCallback:null};if(typeof window>"u"||!window.Plaid)throw new Error("Plaid not loaded");var e,t,l,o,i=(e=n,t="publicKey",l="key",o={},delete Object.assign(o,e,I({},l,e[t]))[t],o);return r.plaid=window.Plaid.create(y(y({},i),{},{onExit:function(u,a){r.open=!1,i.onExit&&i.onExit(u,a),r.onExitCallback&&r.onExitCallback()}})),{open:function(){r.plaid&&(r.open=!0,r.onExitCallback=null,r.plaid.open())},exit:function(u,a){r.open&&r.plaid?(r.onExitCallback=a,r.plaid.exit(u),u&&u.force&&(r.open=!1)):a&&a()},destroy:function(){r.plaid&&(r.plaid.destroy(),r.plaid=null)}}},R=function(){},K=function(n){var r=w(N({src:"https://cdn.plaid.com/link/v2/stable/link-initialize.js",checkForExisting:!0}),2),e=r[0],t=r[1],l=w(O.useState(null),2),o=l[0],i=l[1],u=w(O.useState(!1),2),a=u[0],d=u[1],c=(n.product||[]).slice().sort().join(",");return O.useEffect(function(){if(!e&&(n.token||n.publicKey)){if(!t&&window.Plaid){o?.exit({force:!0},function(){return o.destroy()});var p=F(y(y({},n),{},{onLoad:function(){d(!0),n.onLoad&&n.onLoad()}}));return i(p),function(){return p.exit({force:!0},function(){return p.destroy()})}}console.error("Error loading Plaid",t)}},[e,t,n.publicKey,n.token,c]),{error:t,ready:o!=null&&(!e||a),exit:o?o.exit:R,open:o?o.open:function(){n.token||console.warn("react-plaid-link: You cannot call open() without a valid token supplied to usePlaidLink. This is a no-op.")}}};(function(n){n.OPEN="OPEN",n.EXIT="EXIT",n.HANDOFF="HANDOFF",n.SELECT_INSTITUTION="SELECT_INSTITUTION",n.ERROR="ERROR"})(_||(_={}));export{K as u};
@@ -1 +1 @@
1
- import"./sentry-Dd2vHz0L.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="7747574b-b419-4fe0-9547-9ada7b4cc335",e._sentryDebugIdIdentifier="sentry-dbid-7747574b-b419-4fe0-9547-9ada7b4cc335")}catch{}})();
1
+ import"./sentry-Q4kep6XN.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="7747574b-b419-4fe0-9547-9ada7b4cc335",e._sentryDebugIdIdentifier="sentry-dbid-7747574b-b419-4fe0-9547-9ada7b4cc335")}catch{}})();
@@ -1 +1 @@
1
- import{a as n}from"./sentry-Dd2vHz0L.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]="8b139fb7-143c-4806-88fe-e50e4e373836",e._sentryDebugIdIdentifier="sentry-dbid-8b139fb7-143c-4806-88fe-e50e4e373836")}catch{}})();const s=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M12 22.5C17.799 22.5 22.5 17.799 22.5 12C22.5 6.20101 17.799 1.5 12 1.5C6.20101 1.5 1.5 6.20101 1.5 12C1.5 17.799 6.20101 22.5 12 22.5Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}));export{s as o};
1
+ import{a as n}from"./sentry-Q4kep6XN.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]="8b139fb7-143c-4806-88fe-e50e4e373836",e._sentryDebugIdIdentifier="sentry-dbid-8b139fb7-143c-4806-88fe-e50e4e373836")}catch{}})();const s=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M12 22.5C17.799 22.5 22.5 17.799 22.5 12C22.5 6.20101 17.799 1.5 12 1.5C6.20101 1.5 1.5 6.20101 1.5 12C1.5 17.799 6.20101 22.5 12 22.5Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}));export{s as o};
@@ -1,7 +1,17 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/dash.all.min-Bp2m9Ydo.js","assets/zeni-epic-state-ChDcaYf9.js","assets/sentry-Dd2vHz0L.js","assets/core-C_Me9Mw3.js"])))=>i.map(i=>d[i]);
2
- import{b as N}from"./sentry-Dd2vHz0L.js";import{_ as k}from"./zeni-epic-state-ChDcaYf9.js";import{M as x,C as L}from"./mixin-8xHMfK_q.js";import"./core-C_Me9Mw3.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]="8f6f61be-c9ea-488b-8b17-29533f562120",e._sentryDebugIdIdentifier="sentry-dbid-8f6f61be-c9ea-488b-8b17-29533f562120")}catch{}})();class C extends x(L){static shadowRootOptions={...L.shadowRootOptions};static getTemplateHTML=t=>{const{src:i,...r}=t;return L.getTemplateHTML(r)};#e;attributeChangedCallback(t,i,r){t!=="src"&&super.attributeChangedCallback(t,i,r),t==="src"&&i!=r&&this.load()}async _initThumbnails(t){const{totalThumbnails:i,thumbnailDuration:r}=function(f){var l,h;const T=f.essentialProperties[0],[v,s]=T.value.split("x").map(Number),E=v*s,p=((h=(l=f.adaptation)==null?void 0:l.period)==null?void 0:h.duration)||null,d=f.segmentDuration,w=f.timescale||1,y=d/w/E;return{totalThumbnails:p!=null?Math.ceil(p/y):Math.ceil(d/y),thumbnailDuration:y}}(t),a=await(async(f,l)=>{const h=[],T=t.timescale||1,v=t.startNumber||1,s=t.presentationTimeOffset?t.presentationTimeOffset/T:0,E=t.segmentDuration;for(let p=0;p<f;p++){const d=D({thIndex:p,thduration:l,ttiles:f,tduration:E,startNumber:v,pto:s}),w=d+l,y=new Promise((M,g)=>{this.api.provideThumbnail(d,({url:I,width:n,height:o,x:u,y:b})=>{try{const m=new VTTCue(d,w,`${I}#xywh=${u},${b},${n},${o}`);M(m)}catch(m){g(m)}})});h.push(y)}return await Promise.all(h).catch(p=>console.error("Error processing thumbnails",p))})(i,r);let c=this.nativeEl.querySelector('track[label="thumbnails"]');if(!c){c=function(){const l=document.createElement("track");return l.kind="metadata",l.label="thumbnails",l.srclang="en",l.mode="hidden",l.default=!0,l}(),this.nativeEl.appendChild(c);const f=function(l){let h=`WEBVTT
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/dash.all.min-CD3iOFub.js","assets/zeni-epic-state-DHqVwJ2L.js","assets/sentry-Q4kep6XN.js","assets/core-B0aIoG8L.js"])))=>i.map(i=>d[i]);
2
+ import{b as N}from"./sentry-Q4kep6XN.js";import{_ as k}from"./zeni-epic-state-DHqVwJ2L.js";import{M as x,C as L}from"./mixin-8xHMfK_q.js";import"./core-B0aIoG8L.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]="596cb77d-1f64-44bc-a60d-2a1a9df5e2ec",e._sentryDebugIdIdentifier="sentry-dbid-596cb77d-1f64-44bc-a60d-2a1a9df5e2ec")}catch{}})();class C extends x(L){static shadowRootOptions={...L.shadowRootOptions};static getTemplateHTML=t=>{const{src:i,...r}=t;return L.getTemplateHTML(r)};#e;attributeChangedCallback(t,i,r){t!=="src"&&super.attributeChangedCallback(t,i,r),t==="src"&&i!=r&&this.load()}async _initThumbnails(t){const{totalThumbnails:i,thumbnailDuration:r}=function(p){var l,h;const T=p.essentialProperties[0],[v,s]=T.value.split("x").map(Number),E=v*s,f=((h=(l=p.adaptation)==null?void 0:l.period)==null?void 0:h.duration)||null,d=p.segmentDuration,w=p.timescale||1,y=d/w/E;return{totalThumbnails:f!=null?Math.ceil(f/y):Math.ceil(d/y),thumbnailDuration:y}}(t),a=await(async(p,l)=>{const h=[],T=t.timescale||1,v=t.startNumber||1,s=t.presentationTimeOffset?t.presentationTimeOffset/T:0,E=t.segmentDuration;for(let f=0;f<p;f++){const d=D({thIndex:f,thduration:l,ttiles:p,tduration:E,startNumber:v,pto:s}),w=d+l,y=new Promise((M,g)=>{this.api.provideThumbnail(d,({url:I,width:n,height:o,x:u,y:b})=>{try{const m=new VTTCue(d,w,`${I}#xywh=${u},${b},${n},${o}`);M(m)}catch(m){g(m)}})});h.push(y)}return await Promise.all(h).catch(f=>console.error("Error processing thumbnails",f))})(i,r);let c=this.nativeEl.querySelector('track[label="thumbnails"]');if(!c){c=function(){const l=document.createElement("track");return l.kind="metadata",l.label="thumbnails",l.srclang="en",l.mode="hidden",l.default=!0,l}(),this.nativeEl.appendChild(c);const p=function(l){let h=`WEBVTT
3
3
 
4
4
  `;for(const s of l)h+=`${v(s.startTime)} --> ${v(s.endTime)}
5
5
  `,h+=`${s.text}
6
6
 
7
- `;const T=new Blob([h],{type:"text/vtt"});return URL.createObjectURL(T);function v(s){return`${String(Math.floor(s/3600)).padStart(2,"0")}:${String(Math.floor(s%3600/60)).padStart(2,"0")}:${(s%60).toFixed(3).padStart(6,"0")}`}}(a);c.src=f,c.dispatchEvent(new Event("change"))}}async load(){if(this.#e)return void this.api.attachSource(this.src);this.#e=!0;const t=await k(()=>import("./dash.all.min-Bp2m9Ydo.js"),__vite__mapDeps([0,1,2,3]));this.api=t.MediaPlayer().create(),this.api.initialize(this.nativeEl,this.src,this.autoplay),this.api.on(t.MediaPlayer.events.STREAM_INITIALIZED,()=>{const i=this.api.getRepresentationsByType("video");let r=this.videoTracks.getTrackById("main");r||(r=this.addVideoTrack("main"),r.id="main",r.selected=!0),i.forEach(a=>{const c=a.bandwidth??a.bitrate??(Number.isFinite(a.bitrateInKbit)?1e3*a.bitrateInKbit:void 0);r.addRendition(a.id,a.width,a.height,a.mimeType??a.codec,c).id=a.id}),this.videoRenditions.addEventListener("change",()=>{const a=this.videoRenditions[this.videoRenditions.selectedIndex];a?.id?(this.api.updateSettings({streaming:{abr:{autoSwitchBitrate:{video:!1}}}}),this.api.setRepresentationForTypeById("video",a.id,!0)):this.api.updateSettings({streaming:{abr:{autoSwitchBitrate:{video:!0}}}})}),!this.api.isDynamic()&&this.api.getRepresentationsByType("image").forEach(async(a,c)=>{c>0||this._initThumbnails(a)})})}}function D({thIndex:e,tduration:t,thduration:i,ttiles:r,startNumber:a,pto:c}){return(Math.floor(e/r)+a-1)*t-c+(e%r+1-1)*i}globalThis.customElements&&!globalThis.customElements.get("dash-video")&&globalThis.customElements.define("dash-video",C);var $=C,H=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),O={className:"class",htmlFor:"for"};function R(e){return e.toLowerCase()}function S(e){return typeof e=="boolean"?e?"":void 0:typeof e=="function"||typeof e=="object"&&e!==null?void 0:e}function _(e,t,i){var r;e[t]=i,i==null&&t in(((r=globalThis.HTMLElement)==null?void 0:r.prototype)??{})&&e.removeAttribute(t)}var V=function({react:e,tagName:t,elementClass:i,events:r,displayName:a,defaultProps:c,toAttributeName:f=R,toAttributeValue:l=S}){const h=Number.parseInt(e.version)>=19,T=e.forwardRef((v,s)=>{var E,p;const d=e.useRef(null),w=e.useRef(new Map),y={},M={},g={},I={};for(const[n,o]of Object.entries(v)){if(H.has(n)){g[n]=o;continue}const u=f(O[n]??n);if(i.prototype&&n in i.prototype&&!(n in(((E=globalThis.HTMLElement)==null?void 0:E.prototype)??{}))&&!((p=i.observedAttributes)!=null&&p.some(m=>m===u))){I[n]=o;continue}if(n.startsWith("on")){y[n]=o;continue}const b=l(o);if(u&&b!=null&&(M[u]=String(b),h||(g[u]=b)),u&&h){const m=S(o);g[u]=b!==m?b:o}}if(typeof window<"u"){for(const n in y){const o=y[n],u=n.endsWith("Capture"),b=(r?.[n]??n.slice(2).toLowerCase()).slice(0,u?-7:void 0);e.useLayoutEffect(()=>{const m=d?.current;if(m&&typeof o=="function")return m.addEventListener(b,o,u),()=>{m.removeEventListener(b,o,u)}},[d?.current,o])}e.useLayoutEffect(()=>{if(d.current===null)return;const n=new Map;for(const o in I)_(d.current,o,I[o]),w.current.delete(o),n.set(o,I[o]);for(const[o,u]of w.current)_(d.current,o,void 0);w.current=n})}if(typeof window>"u"&&i?.getTemplateHTML&&i?.shadowRootOptions){const{mode:n,delegatesFocus:o}=i.shadowRootOptions,u=e.createElement("template",{shadowrootmode:n,shadowrootdelegatesfocus:o,dangerouslySetInnerHTML:{__html:i.getTemplateHTML(M,v)},key:"ce-la-react-ssr-template-shadow-root"});g.children=[u,g.children]}return e.createElement(t,{...c,...g,ref:e.useCallback(n=>{d.current=n,typeof s=="function"?s(n):s!==null&&(s.current=n)},[s])},g.children)});return T.displayName=a??i.name,T}({react:N,tagName:"dash-video",elementClass:$,toAttributeName:e=>e==="muted"?"":e==="defaultMuted"?"muted":R(e)});export{V as default};
7
+ `;const T=new Blob([h],{type:"text/vtt"});return URL.createObjectURL(T);function v(s){return`${String(Math.floor(s/3600)).padStart(2,"0")}:${String(Math.floor(s%3600/60)).padStart(2,"0")}:${(s%60).toFixed(3).padStart(6,"0")}`}}(a);c.src=p,c.dispatchEvent(new Event("change"))}}async load(){if(this.#e)return void this.api.attachSource(this.src);this.#e=!0;const t=await k(()=>import("./dash.all.min-CD3iOFub.js"),__vite__mapDeps([0,1,2,3]));this.api=t.MediaPlayer().create(),this.api.initialize(this.nativeEl,this.src,this.autoplay),this.api.on(t.MediaPlayer.events.STREAM_INITIALIZED,()=>{const i=this.api.getRepresentationsByType("video");let r=this.videoTracks.getTrackById("main");r||(r=this.addVideoTrack("main"),r.id="main",r.selected=!0),i.forEach(a=>{const c=a.bandwidth??a.bitrate??(Number.isFinite(a.bitrateInKbit)?1e3*a.bitrateInKbit:void 0);r.addRendition(a.id,a.width,a.height,a.mimeType??a.codec,c).id=a.id}),this.videoRenditions.addEventListener("change",()=>{const a=this.videoRenditions[this.videoRenditions.selectedIndex];a?.id?(this.api.updateSettings({streaming:{abr:{autoSwitchBitrate:{video:!1}}}}),this.api.setRepresentationForTypeById("video",a.id,!0)):this.api.updateSettings({streaming:{abr:{autoSwitchBitrate:{video:!0}}}})}),!this.api.isDynamic()&&this.api.getRepresentationsByType("image").forEach(async(a,c)=>{c>0||this._initThumbnails(a)})})}}function D({thIndex:e,tduration:t,thduration:i,ttiles:r,startNumber:a,pto:c}){return(Math.floor(e/r)+a-1)*t-c+(e%r+1-1)*i}globalThis.customElements&&!globalThis.customElements.get("dash-video")&&globalThis.customElements.define("dash-video",C);var $=C,H=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),O={className:"class",htmlFor:"for"};function R(e){return e.toLowerCase()}function S(e){return typeof e=="boolean"?e?"":void 0:typeof e=="function"||typeof e=="object"&&e!==null?void 0:e}function _(e,t,i){var r;e[t]=i,i==null&&t in(((r=globalThis.HTMLElement)==null?void 0:r.prototype)??{})&&e.removeAttribute(t)}var V=function({react:e,tagName:t,elementClass:i,events:r,displayName:a,defaultProps:c,toAttributeName:p=R,toAttributeValue:l=S}){const h=Number.parseInt(e.version)>=19,T=e.forwardRef((v,s)=>{var E,f;const d=e.useRef(null),w=e.useRef(new Map),y={},M={},g={},I={};for(const[n,o]of Object.entries(v)){if(H.has(n)){g[n]=o;continue}const u=p(O[n]??n);if(i.prototype&&n in i.prototype&&!(n in(((E=globalThis.HTMLElement)==null?void 0:E.prototype)??{}))&&!((f=i.observedAttributes)!=null&&f.some(m=>m===u))){I[n]=o;continue}if(n.startsWith("on")){y[n]=o;continue}const b=l(o);if(u&&b!=null&&(M[u]=String(b),h||(g[u]=b)),u&&h){const m=S(o);g[u]=b!==m?b:o}}if(typeof window<"u"){for(const n in y){const o=y[n],u=n.endsWith("Capture"),b=(r?.[n]??n.slice(2).toLowerCase()).slice(0,u?-7:void 0);e.useLayoutEffect(()=>{const m=d?.current;if(m&&typeof o=="function")return m.addEventListener(b,o,u),()=>{m.removeEventListener(b,o,u)}},[d?.current,o])}e.useLayoutEffect(()=>{if(d.current===null)return;const n=new Map;for(const o in I)_(d.current,o,I[o]),w.current.delete(o),n.set(o,I[o]);for(const[o,u]of w.current)_(d.current,o,void 0);w.current=n})}if(typeof window>"u"&&i?.getTemplateHTML&&i?.shadowRootOptions){const{mode:n,delegatesFocus:o}=i.shadowRootOptions,u=e.createElement("template",{shadowrootmode:n,shadowrootdelegatesfocus:o,dangerouslySetInnerHTML:{__html:i.getTemplateHTML(M,v)},key:"ce-la-react-ssr-template-shadow-root"});g.children=[u,g.children]}return e.createElement(t,{...c,...g,ref:e.useCallback(n=>{d.current=n,typeof s=="function"?s(n):s!==null&&(s.current=n)},[s])},g.children)});return T.displayName=a??i.name,T}({react:N,tagName:"dash-video",elementClass:$,toAttributeName:e=>e==="muted"?"":e==="defaultMuted"?"muted":R(e)});/*! Bundled license information:
8
+
9
+ ce-la-react/dist/ce-la-react.js:
10
+ (**
11
+ * @license
12
+ * Copyright 2018 Google LLC
13
+ * SPDX-License-Identifier: BSD-3-Clause
14
+ *
15
+ * Modified version of `@lit/react` for vanilla custom elements with support for SSR.
16
+ *)
17
+ */export{V as default};
@@ -1,4 +1,4 @@
1
- import{b as H}from"./sentry-Dd2vHz0L.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new s.Error().stack;t&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[t]="a3d086e3-f921-4307-9afe-563b3f278947",s._sentryDebugIdIdentifier="sentry-dbid-a3d086e3-f921-4307-9afe-563b3f278947")}catch{}})();const R=/(?:youtu\.be\/|youtube(?:-nocookie)?\.com\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})/,D=/(?:youtu\.be\/|youtube(?:-nocookie)?\.com\/.*?[?&]list=)([\w_-]+)/;function S(s,t={}){var e;const i={src:O(s,t),frameborder:0,width:"100%",height:"100%",allow:"accelerometer; fullscreen; autoplay; encrypted-media; gyroscope; picture-in-picture"};return(e=t.config)!=null&&e.referrerpolicy&&(i.referrerpolicy=t.config.referrerpolicy),t.config&&(i["data-config"]=JSON.stringify(t.config)),`
1
+ import{b as H}from"./sentry-Q4kep6XN.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new s.Error().stack;t&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[t]="a3d086e3-f921-4307-9afe-563b3f278947",s._sentryDebugIdIdentifier="sentry-dbid-a3d086e3-f921-4307-9afe-563b3f278947")}catch{}})();const R=/(?:youtu\.be\/|youtube(?:-nocookie)?\.com\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})/,D=/(?:youtu\.be\/|youtube(?:-nocookie)?\.com\/.*?[?&]list=)([\w_-]+)/;function S(s,t={}){var e;const i={src:O(s,t),frameborder:0,width:"100%",height:"100%",allow:"accelerometer; fullscreen; autoplay; encrypted-media; gyroscope; picture-in-picture"};return(e=t.config)!=null&&e.referrerpolicy&&(i.referrerpolicy=t.config.referrerpolicy),t.config&&(i["data-config"]=JSON.stringify(t.config)),`
2
2
  <style>
3
3
  :host {
4
4
  display: inline-block;
@@ -14,4 +14,14 @@ import{b as H}from"./sentry-Dd2vHz0L.js";(function(){try{var s=typeof window<"u"
14
14
  }
15
15
  </style>
16
16
  <iframe${function(o){let r="";for(const h in o){const m=o[h];r+=m===""?` ${L(h)}`:` ${L(h)}="${L(`${m}`)}"`}return r}(i)}></iframe>
17
- `}function O(s,t){if(!s.src)return;const e=s.src.includes("-nocookie")?"https://www.youtube-nocookie.com/embed":"https://www.youtube.com/embed",i={controls:s.controls===""?null:0,autoplay:s.autoplay,loop:s.loop,mute:s.muted,playsinline:s.playsinline,preload:s.preload??"metadata",enablejsapi:1,cc_load_policy:1,showinfo:0,rel:0,iv_load_policy:3,modestbranding:1,...t.config};if(R.test(s.src)){const r=s.src.match(R);return`${e}/${r&&r[1]}?${I(i)}`}const o=s.src.match(D);return`${e}?${I({listType:"playlist",list:o&&o[1],...i})}`}class V extends(globalThis.HTMLElement??class{}){static getTemplateHTML=S;static shadowRootOptions={mode:"open"};static observedAttributes=["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src"];loadComplete=new C;#o;#a;#e=0;#s=!1;#t;isLoaded=!1;#l=null;#r=null;#n=null;#i=1;constructor(){super(),this.#u("config")}get config(){return this.#r}set config(t){this.#r=t}async load(){if(this.#o)return;this.shadowRoot||this.attachShadow({mode:"open"});const t=!this.#a;this.#a&&(this.loadComplete=new C,this.isLoaded=!1),this.#a=!0,await(this.#o=Promise.resolve()),this.#o=null,this.#e=0,this.dispatchEvent(new Event("emptied"));let e=this.api;if(this.api=null,!this.src)return void(e==null||e.destroy());this.#n=document.createElement("video"),this.textTracks=this.#n.textTracks,this.textTracks.addEventListener("change",()=>{var n;const l=Array.from(this.textTracks).find(c=>c.mode==="showing");(n=this.api)==null||n.setOption("captions","track",l?{languageCode:l.language}:{})}),this.dispatchEvent(new Event("loadstart"));let i=this.shadowRoot.querySelector("iframe"),o=function(n){let l={};for(let c of n)l[c.name]=c.value;return l}(this.attributes);t&&i&&(this.#r=JSON.parse(i.getAttribute("data-config")||"{}")),i?.src&&i.src===O(o,this)||(this.shadowRoot.innerHTML=S(o,this),i=this.shadowRoot.querySelector("iframe"));const r=await async function(n,l,c){return A[n]?A[n]:self[l]?(await j(0),self[l]):A[n]=new Promise(function(f,p){const v=document.createElement("script");v.src=n;const E=()=>f(self[l]);self[c]=E,v.onload=()=>!c,v.onerror=p,document.head.append(v)})}("https://www.youtube.com/iframe_api","YT","onYouTubeIframeAPIReady");this.api=new r.Player(i,{events:{onReady:()=>{var n;this.#e=1,this.dispatchEvent(new Event("loadedmetadata")),this.dispatchEvent(new Event("durationchange")),this.#i!==1&&((n=this.api)==null||n.setVolume(100*this.#i)),this.dispatchEvent(new Event("volumechange")),this.dispatchEvent(new Event("loadcomplete")),this.isLoaded=!0,this.loadComplete.resolve()},onError:n=>{console.error(n),this.#l={code:n.data,message:`YouTube iframe player error #${n.data}; visit https://developers.google.com/youtube/iframe_api_reference#onError for the full error message.`},this.dispatchEvent(new Event("error"))}}});let h=!1;this.api.addEventListener("onStateChange",n=>{var l;const c=n.data;if((c===r.PlayerState.PLAYING||c===r.PlayerState.BUFFERING)&&(h||(h=!0,this.dispatchEvent(new Event("play"))),(this.api.getOption("captions","tracklist")||[]).forEach(f=>{[...this.textTracks].some(p=>p.language===f.languageCode)||this.#n.addTextTrack("subtitles",f.displayName,f.languageCode),this.textTracks=this.#n.textTracks}),this.dispatchEvent(new Event("loadstart"))),c===r.PlayerState.PLAYING)this.seeking&&(this.#s=!1,(l=this.#t)==null||l.resolve(),this.dispatchEvent(new Event("seeked"))),this.#e=3,this.dispatchEvent(new Event("playing"));else if(c===r.PlayerState.PAUSED){const f=Math.abs(this.currentTime-w);!this.seeking&&f>.1&&(this.#s=!0,this.dispatchEvent(new Event("seeking"))),h=!1,this.dispatchEvent(new Event("pause"))}c===r.PlayerState.ENDED&&(h=!1,this.dispatchEvent(new Event("pause")),this.dispatchEvent(new Event("ended")),this.loop&&this.play())}),this.api.addEventListener("onPlaybackRateChange",()=>{this.dispatchEvent(new Event("ratechange"))}),this.api.addEventListener("onVolumeChange",()=>{var n;const l=((n=this.api)==null?void 0:n.getVolume())/100;this.#i=l,this.dispatchEvent(new Event("volumechange"))}),this.api.addEventListener("onVideoProgress",()=>{this.dispatchEvent(new Event("timeupdate"))}),await this.loadComplete;let m,w=0;setInterval(()=>{var n;const l=Math.abs(this.currentTime-w),c=this.buffered.end(this.buffered.length-1);this.seeking&&c>.1?(this.#s=!1,(n=this.#t)==null||n.resolve(),this.dispatchEvent(new Event("seeked"))):!this.seeking&&l>.1&&(this.#s=!0,this.dispatchEvent(new Event("seeking"))),w=this.currentTime},50);const T=setInterval(()=>{const n=this.buffered.end(this.buffered.length-1);n>=this.duration&&(clearInterval(T),this.#e=4),m!=n&&(m=n,this.dispatchEvent(new Event("progress")))},100)}async attributeChangedCallback(t,e,i){if(e!==i)switch(t){case"src":case"autoplay":case"controls":case"loop":case"playsinline":this.load()}}async play(){var t,e,i;return this.#t=null,await this.loadComplete,(t=this.api)==null||t.playVideo(),e=this,(i=(o,r)=>{let h;e.addEventListener(o,h=()=>{e.removeEventListener(o,h),r()})},(...o)=>new Promise(r=>{i(...o,(...h)=>{h.length>1?r(h):r(h[0])})}))("playing")}async pause(){var t;return await this.loadComplete,(t=this.api)==null?void 0:t.pauseVideo()}get seeking(){return this.#s}get readyState(){return this.#e}get src(){return this.getAttribute("src")}set src(t){this.src!=t&&this.setAttribute("src",t)}get error(){return this.#l}get paused(){var t,e;return this.isLoaded?[-1,0,2,5].includes((e=(t=this.api)==null?void 0:t.getPlayerState)==null?void 0:e.call(t)):!this.autoplay}get duration(){var t,e;return((e=(t=this.api)==null?void 0:t.getDuration)==null?void 0:e.call(t))??NaN}get autoplay(){return this.hasAttribute("autoplay")}set autoplay(t){this.autoplay!=t&&this.toggleAttribute("autoplay",!!t)}get buffered(){var t,e;if(!this.isLoaded)return P();const i=((t=this.api)==null?void 0:t.getVideoLoadedFraction())*((e=this.api)==null?void 0:e.getDuration());return i>0?P(0,i):P()}get controls(){return this.hasAttribute("controls")}set controls(t){this.controls!=t&&this.toggleAttribute("controls",!!t)}get currentTime(){var t,e;return((e=(t=this.api)==null?void 0:t.getCurrentTime)==null?void 0:e.call(t))??0}set currentTime(t){this.currentTime!=t&&(this.#t=new C,this.loadComplete.then(()=>{var e,i;(e=this.api)==null||e.seekTo(t,!0),this.paused&&((i=this.#t)==null||i.then(()=>{var o;this.#t&&((o=this.api)==null||o.pauseVideo())}))}))}set defaultMuted(t){this.defaultMuted!=t&&this.toggleAttribute("muted",!!t)}get defaultMuted(){return this.hasAttribute("muted")}get loop(){return this.hasAttribute("loop")}set loop(t){this.loop!=t&&this.toggleAttribute("loop",!!t)}set muted(t){this.muted!=t&&this.loadComplete.then(()=>{var e,i;t?(e=this.api)==null||e.mute():(i=this.api)==null||i.unMute()})}get muted(){var t,e;return this.isLoaded?(e=(t=this.api)==null?void 0:t.isMuted)==null?void 0:e.call(t):this.defaultMuted}get playbackRate(){var t,e;return((e=(t=this.api)==null?void 0:t.getPlaybackRate)==null?void 0:e.call(t))??1}set playbackRate(t){this.playbackRate!=t&&this.loadComplete.then(()=>{var e;(e=this.api)==null||e.setPlaybackRate(t)})}get playsInline(){return this.hasAttribute("playsinline")}set playsInline(t){this.playsInline!=t&&this.toggleAttribute("playsinline",!!t)}get poster(){return this.getAttribute("poster")}set poster(t){this.poster!=t&&this.setAttribute("poster",`${t}`)}set volume(t){this.volume!=t&&(this.#i=t,this.loadComplete.then(()=>{var e;(e=this.api)==null||e.setVolume(100*t)}))}get volume(){var t;return this.isLoaded?((t=this.api)==null?void 0:t.getVolume())/100:this.#i}#u(t){if(Object.prototype.hasOwnProperty.call(this,t)){const e=this[t];delete this[t],this[t]=e}}}function L(s){return s.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/`/g,"&#x60;")}function I(s){return String(new URLSearchParams(function(t){let e={};for(let i in t){let o=t[i];o===!0||o===""?e[i]=1:o===!1?e[i]=0:o!=null&&(e[i]=o)}return e}(s)))}const A={},j=s=>new Promise(t=>setTimeout(t,s));class C extends Promise{constructor(t=()=>{}){let e,i;super((o,r)=>{t(o,r),e=o,i=r}),this.resolve=e,this.reject=i}}function P(s,t){return Array.isArray(s)?N(s):N(s==null||t==null||s===0&&t===0?[[0,0]]:[[s,t]])}function N(s){return Object.defineProperties(s,{start:{value:t=>s[t][0]},end:{value:t=>s[t][1]}}),s}globalThis.customElements&&!globalThis.customElements.get("youtube-video")&&globalThis.customElements.define("youtube-video",V);var B=V,F=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),Y={className:"class",htmlFor:"for"};function x(s){return s.toLowerCase()}function _(s){return typeof s=="boolean"?s?"":void 0:typeof s=="function"||typeof s=="object"&&s!==null?void 0:s}function $(s,t,e){var i;s[t]=e,e==null&&t in(((i=globalThis.HTMLElement)==null?void 0:i.prototype)??{})&&s.removeAttribute(t)}var q=function({react:s,tagName:t,elementClass:e,events:i,displayName:o,defaultProps:r,toAttributeName:h=x,toAttributeValue:m=_}){const w=Number.parseInt(s.version)>=19,T=s.forwardRef((n,l)=>{var c,f;const p=s.useRef(null),v=s.useRef(new Map),E={},M={},y={},k={};for(const[a,u]of Object.entries(n)){if(F.has(a)){y[a]=u;continue}const d=h(Y[a]??a);if(e.prototype&&a in e.prototype&&!(a in(((c=globalThis.HTMLElement)==null?void 0:c.prototype)??{}))&&!((f=e.observedAttributes)!=null&&f.some(b=>b===d))){k[a]=u;continue}if(a.startsWith("on")){E[a]=u;continue}const g=m(u);if(d&&g!=null&&(M[d]=String(g),w||(y[d]=g)),d&&w){const b=_(u);y[d]=g!==b?g:u}}if(typeof window<"u"){for(const a in E){const u=E[a],d=a.endsWith("Capture"),g=(i?.[a]??a.slice(2).toLowerCase()).slice(0,d?-7:void 0);s.useLayoutEffect(()=>{const b=p?.current;if(b&&typeof u=="function")return b.addEventListener(g,u,d),()=>{b.removeEventListener(g,u,d)}},[p?.current,u])}s.useLayoutEffect(()=>{if(p.current===null)return;const a=new Map;for(const u in k)$(p.current,u,k[u]),v.current.delete(u),a.set(u,k[u]);for(const[u,d]of v.current)$(p.current,u,void 0);v.current=a})}if(typeof window>"u"&&e?.getTemplateHTML&&e?.shadowRootOptions){const{mode:a,delegatesFocus:u}=e.shadowRootOptions,d=s.createElement("template",{shadowrootmode:a,shadowrootdelegatesfocus:u,dangerouslySetInnerHTML:{__html:e.getTemplateHTML(M,n)},key:"ce-la-react-ssr-template-shadow-root"});y.children=[d,y.children]}return s.createElement(t,{...r,...y,ref:s.useCallback(a=>{p.current=a,typeof l=="function"?l(a):l!==null&&(l.current=a)},[l])},y.children)});return T.displayName=o??e.name,T}({react:H,tagName:"youtube-video",elementClass:B,toAttributeName:s=>s==="muted"?"":s==="defaultMuted"?"muted":x(s)});export{q as default};
17
+ `}function O(s,t){if(!s.src)return;const e=s.src.includes("-nocookie")?"https://www.youtube-nocookie.com/embed":"https://www.youtube.com/embed",i={controls:s.controls===""?null:0,autoplay:s.autoplay,loop:s.loop,mute:s.muted,playsinline:s.playsinline,preload:s.preload??"metadata",enablejsapi:1,cc_load_policy:1,showinfo:0,rel:0,iv_load_policy:3,modestbranding:1,...t.config};if(R.test(s.src)){const r=s.src.match(R);return`${e}/${r&&r[1]}?${I(i)}`}const o=s.src.match(D);return`${e}?${I({listType:"playlist",list:o&&o[1],...i})}`}class V extends(globalThis.HTMLElement??class{}){static getTemplateHTML=S;static shadowRootOptions={mode:"open"};static observedAttributes=["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src"];loadComplete=new C;#o;#a;#e=0;#s=!1;#t;isLoaded=!1;#l=null;#r=null;#n=null;#i=1;constructor(){super(),this.#u("config")}get config(){return this.#r}set config(t){this.#r=t}async load(){if(this.#o)return;this.shadowRoot||this.attachShadow({mode:"open"});const t=!this.#a;this.#a&&(this.loadComplete=new C,this.isLoaded=!1),this.#a=!0,await(this.#o=Promise.resolve()),this.#o=null,this.#e=0,this.dispatchEvent(new Event("emptied"));let e=this.api;if(this.api=null,!this.src)return void(e==null||e.destroy());this.#n=document.createElement("video"),this.textTracks=this.#n.textTracks,this.textTracks.addEventListener("change",()=>{var n;const l=Array.from(this.textTracks).find(c=>c.mode==="showing");(n=this.api)==null||n.setOption("captions","track",l?{languageCode:l.language}:{})}),this.dispatchEvent(new Event("loadstart"));let i=this.shadowRoot.querySelector("iframe"),o=function(n){let l={};for(let c of n)l[c.name]=c.value;return l}(this.attributes);t&&i&&(this.#r=JSON.parse(i.getAttribute("data-config")||"{}")),i?.src&&i.src===O(o,this)||(this.shadowRoot.innerHTML=S(o,this),i=this.shadowRoot.querySelector("iframe"));const r=await async function(n,l,c){return A[n]?A[n]:self[l]?(await j(0),self[l]):A[n]=new Promise(function(f,p){const v=document.createElement("script");v.src=n;const E=()=>f(self[l]);self[c]=E,v.onload=()=>!c,v.onerror=p,document.head.append(v)})}("https://www.youtube.com/iframe_api","YT","onYouTubeIframeAPIReady");this.api=new r.Player(i,{events:{onReady:()=>{var n;this.#e=1,this.dispatchEvent(new Event("loadedmetadata")),this.dispatchEvent(new Event("durationchange")),this.#i!==1&&((n=this.api)==null||n.setVolume(100*this.#i)),this.dispatchEvent(new Event("volumechange")),this.dispatchEvent(new Event("loadcomplete")),this.isLoaded=!0,this.loadComplete.resolve()},onError:n=>{console.error(n),this.#l={code:n.data,message:`YouTube iframe player error #${n.data}; visit https://developers.google.com/youtube/iframe_api_reference#onError for the full error message.`},this.dispatchEvent(new Event("error"))}}});let h=!1;this.api.addEventListener("onStateChange",n=>{var l;const c=n.data;if((c===r.PlayerState.PLAYING||c===r.PlayerState.BUFFERING)&&(h||(h=!0,this.dispatchEvent(new Event("play"))),(this.api.getOption("captions","tracklist")||[]).forEach(f=>{[...this.textTracks].some(p=>p.language===f.languageCode)||this.#n.addTextTrack("subtitles",f.displayName,f.languageCode),this.textTracks=this.#n.textTracks}),this.dispatchEvent(new Event("loadstart"))),c===r.PlayerState.PLAYING)this.seeking&&(this.#s=!1,(l=this.#t)==null||l.resolve(),this.dispatchEvent(new Event("seeked"))),this.#e=3,this.dispatchEvent(new Event("playing"));else if(c===r.PlayerState.PAUSED){const f=Math.abs(this.currentTime-w);!this.seeking&&f>.1&&(this.#s=!0,this.dispatchEvent(new Event("seeking"))),h=!1,this.dispatchEvent(new Event("pause"))}c===r.PlayerState.ENDED&&(h=!1,this.dispatchEvent(new Event("pause")),this.dispatchEvent(new Event("ended")),this.loop&&this.play())}),this.api.addEventListener("onPlaybackRateChange",()=>{this.dispatchEvent(new Event("ratechange"))}),this.api.addEventListener("onVolumeChange",()=>{var n;const l=((n=this.api)==null?void 0:n.getVolume())/100;this.#i=l,this.dispatchEvent(new Event("volumechange"))}),this.api.addEventListener("onVideoProgress",()=>{this.dispatchEvent(new Event("timeupdate"))}),await this.loadComplete;let m,w=0;setInterval(()=>{var n;const l=Math.abs(this.currentTime-w),c=this.buffered.end(this.buffered.length-1);this.seeking&&c>.1?(this.#s=!1,(n=this.#t)==null||n.resolve(),this.dispatchEvent(new Event("seeked"))):!this.seeking&&l>.1&&(this.#s=!0,this.dispatchEvent(new Event("seeking"))),w=this.currentTime},50);const T=setInterval(()=>{const n=this.buffered.end(this.buffered.length-1);n>=this.duration&&(clearInterval(T),this.#e=4),m!=n&&(m=n,this.dispatchEvent(new Event("progress")))},100)}async attributeChangedCallback(t,e,i){if(e!==i)switch(t){case"src":case"autoplay":case"controls":case"loop":case"playsinline":this.load()}}async play(){var t,e,i;return this.#t=null,await this.loadComplete,(t=this.api)==null||t.playVideo(),e=this,(i=(o,r)=>{let h;e.addEventListener(o,h=()=>{e.removeEventListener(o,h),r()})},(...o)=>new Promise(r=>{i(...o,(...h)=>{h.length>1?r(h):r(h[0])})}))("playing")}async pause(){var t;return await this.loadComplete,(t=this.api)==null?void 0:t.pauseVideo()}get seeking(){return this.#s}get readyState(){return this.#e}get src(){return this.getAttribute("src")}set src(t){this.src!=t&&this.setAttribute("src",t)}get error(){return this.#l}get paused(){var t,e;return this.isLoaded?[-1,0,2,5].includes((e=(t=this.api)==null?void 0:t.getPlayerState)==null?void 0:e.call(t)):!this.autoplay}get duration(){var t,e;return((e=(t=this.api)==null?void 0:t.getDuration)==null?void 0:e.call(t))??NaN}get autoplay(){return this.hasAttribute("autoplay")}set autoplay(t){this.autoplay!=t&&this.toggleAttribute("autoplay",!!t)}get buffered(){var t,e;if(!this.isLoaded)return P();const i=((t=this.api)==null?void 0:t.getVideoLoadedFraction())*((e=this.api)==null?void 0:e.getDuration());return i>0?P(0,i):P()}get controls(){return this.hasAttribute("controls")}set controls(t){this.controls!=t&&this.toggleAttribute("controls",!!t)}get currentTime(){var t,e;return((e=(t=this.api)==null?void 0:t.getCurrentTime)==null?void 0:e.call(t))??0}set currentTime(t){this.currentTime!=t&&(this.#t=new C,this.loadComplete.then(()=>{var e,i;(e=this.api)==null||e.seekTo(t,!0),this.paused&&((i=this.#t)==null||i.then(()=>{var o;this.#t&&((o=this.api)==null||o.pauseVideo())}))}))}set defaultMuted(t){this.defaultMuted!=t&&this.toggleAttribute("muted",!!t)}get defaultMuted(){return this.hasAttribute("muted")}get loop(){return this.hasAttribute("loop")}set loop(t){this.loop!=t&&this.toggleAttribute("loop",!!t)}set muted(t){this.muted!=t&&this.loadComplete.then(()=>{var e,i;t?(e=this.api)==null||e.mute():(i=this.api)==null||i.unMute()})}get muted(){var t,e;return this.isLoaded?(e=(t=this.api)==null?void 0:t.isMuted)==null?void 0:e.call(t):this.defaultMuted}get playbackRate(){var t,e;return((e=(t=this.api)==null?void 0:t.getPlaybackRate)==null?void 0:e.call(t))??1}set playbackRate(t){this.playbackRate!=t&&this.loadComplete.then(()=>{var e;(e=this.api)==null||e.setPlaybackRate(t)})}get playsInline(){return this.hasAttribute("playsinline")}set playsInline(t){this.playsInline!=t&&this.toggleAttribute("playsinline",!!t)}get poster(){return this.getAttribute("poster")}set poster(t){this.poster!=t&&this.setAttribute("poster",`${t}`)}set volume(t){this.volume!=t&&(this.#i=t,this.loadComplete.then(()=>{var e;(e=this.api)==null||e.setVolume(100*t)}))}get volume(){var t;return this.isLoaded?((t=this.api)==null?void 0:t.getVolume())/100:this.#i}#u(t){if(Object.prototype.hasOwnProperty.call(this,t)){const e=this[t];delete this[t],this[t]=e}}}function L(s){return s.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/`/g,"&#x60;")}function I(s){return String(new URLSearchParams(function(t){let e={};for(let i in t){let o=t[i];o===!0||o===""?e[i]=1:o===!1?e[i]=0:o!=null&&(e[i]=o)}return e}(s)))}const A={},j=s=>new Promise(t=>setTimeout(t,s));class C extends Promise{constructor(t=()=>{}){let e,i;super((o,r)=>{t(o,r),e=o,i=r}),this.resolve=e,this.reject=i}}function P(s,t){return Array.isArray(s)?N(s):N(s==null||t==null||s===0&&t===0?[[0,0]]:[[s,t]])}function N(s){return Object.defineProperties(s,{start:{value:t=>s[t][0]},end:{value:t=>s[t][1]}}),s}globalThis.customElements&&!globalThis.customElements.get("youtube-video")&&globalThis.customElements.define("youtube-video",V);var B=V,F=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),Y={className:"class",htmlFor:"for"};function x(s){return s.toLowerCase()}function _(s){return typeof s=="boolean"?s?"":void 0:typeof s=="function"||typeof s=="object"&&s!==null?void 0:s}function $(s,t,e){var i;s[t]=e,e==null&&t in(((i=globalThis.HTMLElement)==null?void 0:i.prototype)??{})&&s.removeAttribute(t)}var q=function({react:s,tagName:t,elementClass:e,events:i,displayName:o,defaultProps:r,toAttributeName:h=x,toAttributeValue:m=_}){const w=Number.parseInt(s.version)>=19,T=s.forwardRef((n,l)=>{var c,f;const p=s.useRef(null),v=s.useRef(new Map),E={},M={},y={},k={};for(const[a,u]of Object.entries(n)){if(F.has(a)){y[a]=u;continue}const d=h(Y[a]??a);if(e.prototype&&a in e.prototype&&!(a in(((c=globalThis.HTMLElement)==null?void 0:c.prototype)??{}))&&!((f=e.observedAttributes)!=null&&f.some(b=>b===d))){k[a]=u;continue}if(a.startsWith("on")){E[a]=u;continue}const g=m(u);if(d&&g!=null&&(M[d]=String(g),w||(y[d]=g)),d&&w){const b=_(u);y[d]=g!==b?g:u}}if(typeof window<"u"){for(const a in E){const u=E[a],d=a.endsWith("Capture"),g=(i?.[a]??a.slice(2).toLowerCase()).slice(0,d?-7:void 0);s.useLayoutEffect(()=>{const b=p?.current;if(b&&typeof u=="function")return b.addEventListener(g,u,d),()=>{b.removeEventListener(g,u,d)}},[p?.current,u])}s.useLayoutEffect(()=>{if(p.current===null)return;const a=new Map;for(const u in k)$(p.current,u,k[u]),v.current.delete(u),a.set(u,k[u]);for(const[u,d]of v.current)$(p.current,u,void 0);v.current=a})}if(typeof window>"u"&&e?.getTemplateHTML&&e?.shadowRootOptions){const{mode:a,delegatesFocus:u}=e.shadowRootOptions,d=s.createElement("template",{shadowrootmode:a,shadowrootdelegatesfocus:u,dangerouslySetInnerHTML:{__html:e.getTemplateHTML(M,n)},key:"ce-la-react-ssr-template-shadow-root"});y.children=[d,y.children]}return s.createElement(t,{...r,...y,ref:s.useCallback(a=>{p.current=a,typeof l=="function"?l(a):l!==null&&(l.current=a)},[l])},y.children)});return T.displayName=o??e.name,T}({react:H,tagName:"youtube-video",elementClass:B,toAttributeName:s=>s==="muted"?"":s==="defaultMuted"?"muted":x(s)});/*! Bundled license information:
18
+
19
+ ce-la-react/dist/ce-la-react.js:
20
+ (**
21
+ * @license
22
+ * Copyright 2018 Google LLC
23
+ * SPDX-License-Identifier: BSD-3-Clause
24
+ *
25
+ * Modified version of `@lit/react` for vanilla custom elements with support for SSR.
26
+ *)
27
+ */export{q as default};
@@ -1,4 +1,4 @@
1
- import{b as P}from"./sentry-Dd2vHz0L.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]="4eceecad-2fcb-4b2b-884c-ed0680c02168",e._sentryDebugIdIdentifier="sentry-dbid-4eceecad-2fcb-4b2b-884c-ed0680c02168")}catch{}})();const L="https://player.twitch.tv",W=/(?:www\.|go\.)?twitch\.tv\/(?:videos?\/|\?video=)(\d+)($|\?)/,_=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/,j="Idle",B="Ended",D=2,z=3,q=4,F=10,J=11;function k(e,t={}){const n={src:x(e,t),frameborder:"0",width:"100%",height:"100%",allow:"accelerometer; fullscreen; autoplay; encrypted-media; picture-in-picture;",sandbox:"allow-modals allow-scripts allow-same-origin allow-popups allow-popups-to-escape-sandbox",scrolling:"no"};return t.config&&(n["data-config"]=JSON.stringify(t.config)),`
1
+ import{b as P}from"./sentry-Q4kep6XN.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]="4eceecad-2fcb-4b2b-884c-ed0680c02168",e._sentryDebugIdIdentifier="sentry-dbid-4eceecad-2fcb-4b2b-884c-ed0680c02168")}catch{}})();const L="https://player.twitch.tv",W=/(?:www\.|go\.)?twitch\.tv\/(?:videos?\/|\?video=)(\d+)($|\?)/,_=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/,j="Idle",B="Ended",D=2,z=3,q=4,F=10,J=11;function k(e,t={}){const n={src:x(e,t),frameborder:"0",width:"100%",height:"100%",allow:"accelerometer; fullscreen; autoplay; encrypted-media; picture-in-picture;",sandbox:"allow-modals allow-scripts allow-same-origin allow-popups allow-popups-to-escape-sandbox",scrolling:"no"};return t.config&&(n["data-config"]=JSON.stringify(t.config)),`
2
2
  <style>
3
3
  :host {
4
4
  display: inline-block;
@@ -18,4 +18,14 @@ import{b as P}from"./sentry-Dd2vHz0L.js";(function(){try{var e=typeof window<"u"
18
18
  }
19
19
  </style>
20
20
  <iframe${function(s){let i="";for(const l in s){const a=s[l];i+=a===""?` ${A(l)}`:` ${A(l)}="${A(`${a}`)}"`}return i}(n)}></iframe>
21
- `}function x(e,t){var n;if(!e.src)return;const s=e.src.match(W),i=e.src.match(_),l={parent:(n=globalThis.location)==null?void 0:n.hostname,controls:e.controls===""&&null,autoplay:e.autoplay===""&&null,muted:e.muted,preload:e.preload,...t.config};if(s){const a=s[1];return`${L}/?video=v${a}&${C(l)}`}if(i){const a=i[1];return`${L}/?channel=${a}&${C(l)}`}return""}class O extends(globalThis.HTMLElement??class{}){static getTemplateHTML=k;static shadowRootOptions={mode:"open"};static observedAttributes=["autoplay","controls","loop","muted","playsinline","preload","src"];loadComplete=new $;#o;#r;#e;#t={};#h=0;#a=!1;#l=1;#u=!this.autoplay;#s=!1;#i=0;#c=null;constructor(){super(),this.#p("config")}get config(){return this.#c}set config(t){this.#c=t}async load(){if(this.#o)return;this.shadowRoot||this.attachShadow({mode:"open"});const t=!this.#r;if(this.#r&&(this.loadComplete=new $),this.#r=!0,await(this.#o=Promise.resolve()),this.#o=null,this.#i=0,this.dispatchEvent(new Event("emptied")),!this.src)return this.shadowRoot.innerHTML="",void globalThis.removeEventListener("message",this.#d);this.dispatchEvent(new Event("loadstart"));let n=this.shadowRoot.querySelector("iframe");const s=function(i){let l={};for(let a of i)l[a.name]=a.value;return l}(this.attributes);t&&n&&(this.#c=JSON.parse(n.getAttribute("data-config")||"{}")),n?.src&&n.src===x(s,this)||(this.shadowRoot.innerHTML=k(s,this),n=this.shadowRoot.querySelector("iframe")),this.#e=n,globalThis.addEventListener("message",this.#d)}attributeChangedCallback(t,n,s){if(n!==s)switch(t){case"src":case"controls":this.load()}}getVideoPlaybackQuality(){return this.#t.stats.videoStats}get src(){return this.getAttribute("src")}set src(t){this.setAttribute("src",t)}get readyState(){return this.#i}get seeking(){return this.#s}get buffered(){var t,n;return function(s,i){return Array.isArray(s)?S(s):i==null||i===0?S([[0,0]]):S([[s,i]])}(0,((n=(t=this.#t.stats)==null?void 0:t.videoStats)==null?void 0:n.bufferSize)??0)}get paused(){return this.#t.playback?this.#t.playback===j:this.#u}get ended(){return!!this.#t.playback&&this.#t.playback===B}get duration(){return this.#t.duration??NaN}get autoplay(){return this.hasAttribute("autoplay")}set autoplay(t){this.autoplay!=t&&this.toggleAttribute("autoplay",!!t)}get controls(){return this.hasAttribute("controls")}set controls(t){this.controls!=t&&this.toggleAttribute("controls",!!t)}get currentTime(){return this.#t.currentTime?this.#t.currentTime:this.#h}set currentTime(t){this.#h=t,this.loadComplete.then(()=>{this.#n(q,t)})}get defaultMuted(){return this.hasAttribute("muted")}set defaultMuted(t){this.toggleAttribute("muted",!!t)}get loop(){return this.hasAttribute("loop")}set loop(t){this.toggleAttribute("loop",!!t)}get muted(){return this.#a}set muted(t){this.#a=t,this.loadComplete.then(()=>{this.#n(F,t)})}get volume(){return this.#l}set volume(t){this.#l=t,this.loadComplete.then(()=>{this.#n(J,t)})}get playsInline(){return this.hasAttribute("playsinline")}set playsInline(t){this.toggleAttribute("playsinline",!!t)}play(){this.#u=!1,this.#n(z)}pause(){this.#u=!0,this.#n(D)}#d=async t=>{var n,s,i,l;if(!this.#e.contentWindow)return;const{data:a,source:b}=t;if(b===this.#e.contentWindow){if(a.namespace==="twitch-embed")await new Promise(m=>setTimeout(m,10)),a.eventName==="ready"?(this.dispatchEvent(new Event("loadcomplete")),this.loadComplete.resolve(),this.#i=1,this.dispatchEvent(new Event("loadedmetadata"))):a.eventName==="seek"?(this.#s=!0,this.dispatchEvent(new Event("seeking"))):a.eventName==="playing"?(this.#s&&(this.#s=!1,this.dispatchEvent(new Event("seeked"))),this.#i=3,this.dispatchEvent(new Event("playing"))):this.dispatchEvent(new Event(a.eventName));else if(a.namespace==="twitch-embed-player-proxy"&&a.eventName==="UPDATE_STATE"){const m=this.#t.duration,v=this.#t.currentTime,g=this.#t.volume,d=this.#t.muted,w=(s=(n=this.#t.stats)==null?void 0:n.videoStats)==null?void 0:s.bufferSize;this.#t={...this.#t,...a.params},m!==this.#t.duration&&this.dispatchEvent(new Event("durationchange")),v!==this.#t.currentTime&&this.dispatchEvent(new Event("timeupdate")),g===this.#t.volume&&d===this.#t.muted||(this.#t.volume!==void 0&&(this.#l=this.#t.volume),this.#t.muted!==void 0&&(this.#a=this.#t.muted),this.dispatchEvent(new Event("volumechange"))),w!==((l=(i=this.#t.stats)==null?void 0:i.videoStats)==null?void 0:l.bufferSize)&&this.dispatchEvent(new Event("progress"))}}};#n(t,n){if(!this.#e.contentWindow)return;const s={eventName:t,params:n,namespace:"twitch-embed-player-proxy"};this.#e.contentWindow.postMessage(s,L)}#p(t){if(Object.prototype.hasOwnProperty.call(this,t)){const n=this[t];delete this[t],this[t]=n}}}function A(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/`/g,"&#x60;")}function C(e){return String(new URLSearchParams(function(t){let n={};for(let s in t){let i=t[s];i===!0||i===""?n[s]=!0:i===!1?n[s]=!1:i!=null&&(n[s]=i)}return n}(e)))}class $ extends Promise{constructor(t=()=>{}){let n,s;super((i,l)=>{t(i,l),n=i,s=l}),this.resolve=n,this.reject=s}}function S(e){return Object.defineProperties(e,{start:{value:t=>e[t][0]},end:{value:t=>e[t][1]}}),e}globalThis.customElements&&!globalThis.customElements.get("twitch-video")&&globalThis.customElements.define("twitch-video",O);var U=O,V=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),Q={className:"class",htmlFor:"for"};function R(e){return e.toLowerCase()}function H(e){return typeof e=="boolean"?e?"":void 0:typeof e=="function"||typeof e=="object"&&e!==null?void 0:e}function I(e,t,n){var s;e[t]=n,n==null&&t in(((s=globalThis.HTMLElement)==null?void 0:s.prototype)??{})&&e.removeAttribute(t)}var G=function({react:e,tagName:t,elementClass:n,events:s,displayName:i,defaultProps:l,toAttributeName:a=R,toAttributeValue:b=H}){const m=Number.parseInt(e.version)>=19,v=e.forwardRef((g,d)=>{var w,N;const c=e.useRef(null),E=e.useRef(new Map),T={},M={},p={},y={};for(const[o,r]of Object.entries(g)){if(V.has(o)){p[o]=r;continue}const u=a(Q[o]??o);if(n.prototype&&o in n.prototype&&!(o in(((w=globalThis.HTMLElement)==null?void 0:w.prototype)??{}))&&!((N=n.observedAttributes)!=null&&N.some(f=>f===u))){y[o]=r;continue}if(o.startsWith("on")){T[o]=r;continue}const h=b(r);if(u&&h!=null&&(M[u]=String(h),m||(p[u]=h)),u&&m){const f=H(r);p[u]=h!==f?h:r}}if(typeof window<"u"){for(const o in T){const r=T[o],u=o.endsWith("Capture"),h=(s?.[o]??o.slice(2).toLowerCase()).slice(0,u?-7:void 0);e.useLayoutEffect(()=>{const f=c?.current;if(f&&typeof r=="function")return f.addEventListener(h,r,u),()=>{f.removeEventListener(h,r,u)}},[c?.current,r])}e.useLayoutEffect(()=>{if(c.current===null)return;const o=new Map;for(const r in y)I(c.current,r,y[r]),E.current.delete(r),o.set(r,y[r]);for(const[r,u]of E.current)I(c.current,r,void 0);E.current=o})}if(typeof window>"u"&&n?.getTemplateHTML&&n?.shadowRootOptions){const{mode:o,delegatesFocus:r}=n.shadowRootOptions,u=e.createElement("template",{shadowrootmode:o,shadowrootdelegatesfocus:r,dangerouslySetInnerHTML:{__html:n.getTemplateHTML(M,g)},key:"ce-la-react-ssr-template-shadow-root"});p.children=[u,p.children]}return e.createElement(t,{...l,...p,ref:e.useCallback(o=>{c.current=o,typeof d=="function"?d(o):d!==null&&(d.current=o)},[d])},p.children)});return v.displayName=i??n.name,v}({react:P,tagName:"twitch-video",elementClass:U,toAttributeName:e=>e==="muted"?"":e==="defaultMuted"?"muted":R(e)});export{G as default};
21
+ `}function x(e,t){var n;if(!e.src)return;const s=e.src.match(W),i=e.src.match(_),l={parent:(n=globalThis.location)==null?void 0:n.hostname,controls:e.controls===""&&null,autoplay:e.autoplay===""&&null,muted:e.muted,preload:e.preload,...t.config};if(s){const a=s[1];return`${L}/?video=v${a}&${C(l)}`}if(i){const a=i[1];return`${L}/?channel=${a}&${C(l)}`}return""}class O extends(globalThis.HTMLElement??class{}){static getTemplateHTML=k;static shadowRootOptions={mode:"open"};static observedAttributes=["autoplay","controls","loop","muted","playsinline","preload","src"];loadComplete=new $;#o;#r;#e;#t={};#h=0;#a=!1;#l=1;#u=!this.autoplay;#s=!1;#i=0;#c=null;constructor(){super(),this.#p("config")}get config(){return this.#c}set config(t){this.#c=t}async load(){if(this.#o)return;this.shadowRoot||this.attachShadow({mode:"open"});const t=!this.#r;if(this.#r&&(this.loadComplete=new $),this.#r=!0,await(this.#o=Promise.resolve()),this.#o=null,this.#i=0,this.dispatchEvent(new Event("emptied")),!this.src)return this.shadowRoot.innerHTML="",void globalThis.removeEventListener("message",this.#d);this.dispatchEvent(new Event("loadstart"));let n=this.shadowRoot.querySelector("iframe");const s=function(i){let l={};for(let a of i)l[a.name]=a.value;return l}(this.attributes);t&&n&&(this.#c=JSON.parse(n.getAttribute("data-config")||"{}")),n?.src&&n.src===x(s,this)||(this.shadowRoot.innerHTML=k(s,this),n=this.shadowRoot.querySelector("iframe")),this.#e=n,globalThis.addEventListener("message",this.#d)}attributeChangedCallback(t,n,s){if(n!==s)switch(t){case"src":case"controls":this.load()}}getVideoPlaybackQuality(){return this.#t.stats.videoStats}get src(){return this.getAttribute("src")}set src(t){this.setAttribute("src",t)}get readyState(){return this.#i}get seeking(){return this.#s}get buffered(){var t,n;return function(s,i){return Array.isArray(s)?S(s):i==null||i===0?S([[0,0]]):S([[s,i]])}(0,((n=(t=this.#t.stats)==null?void 0:t.videoStats)==null?void 0:n.bufferSize)??0)}get paused(){return this.#t.playback?this.#t.playback===j:this.#u}get ended(){return!!this.#t.playback&&this.#t.playback===B}get duration(){return this.#t.duration??NaN}get autoplay(){return this.hasAttribute("autoplay")}set autoplay(t){this.autoplay!=t&&this.toggleAttribute("autoplay",!!t)}get controls(){return this.hasAttribute("controls")}set controls(t){this.controls!=t&&this.toggleAttribute("controls",!!t)}get currentTime(){return this.#t.currentTime?this.#t.currentTime:this.#h}set currentTime(t){this.#h=t,this.loadComplete.then(()=>{this.#n(q,t)})}get defaultMuted(){return this.hasAttribute("muted")}set defaultMuted(t){this.toggleAttribute("muted",!!t)}get loop(){return this.hasAttribute("loop")}set loop(t){this.toggleAttribute("loop",!!t)}get muted(){return this.#a}set muted(t){this.#a=t,this.loadComplete.then(()=>{this.#n(F,t)})}get volume(){return this.#l}set volume(t){this.#l=t,this.loadComplete.then(()=>{this.#n(J,t)})}get playsInline(){return this.hasAttribute("playsinline")}set playsInline(t){this.toggleAttribute("playsinline",!!t)}play(){this.#u=!1,this.#n(z)}pause(){this.#u=!0,this.#n(D)}#d=async t=>{var n,s,i,l;if(!this.#e.contentWindow)return;const{data:a,source:b}=t;if(b===this.#e.contentWindow){if(a.namespace==="twitch-embed")await new Promise(m=>setTimeout(m,10)),a.eventName==="ready"?(this.dispatchEvent(new Event("loadcomplete")),this.loadComplete.resolve(),this.#i=1,this.dispatchEvent(new Event("loadedmetadata"))):a.eventName==="seek"?(this.#s=!0,this.dispatchEvent(new Event("seeking"))):a.eventName==="playing"?(this.#s&&(this.#s=!1,this.dispatchEvent(new Event("seeked"))),this.#i=3,this.dispatchEvent(new Event("playing"))):this.dispatchEvent(new Event(a.eventName));else if(a.namespace==="twitch-embed-player-proxy"&&a.eventName==="UPDATE_STATE"){const m=this.#t.duration,v=this.#t.currentTime,g=this.#t.volume,d=this.#t.muted,w=(s=(n=this.#t.stats)==null?void 0:n.videoStats)==null?void 0:s.bufferSize;this.#t={...this.#t,...a.params},m!==this.#t.duration&&this.dispatchEvent(new Event("durationchange")),v!==this.#t.currentTime&&this.dispatchEvent(new Event("timeupdate")),g===this.#t.volume&&d===this.#t.muted||(this.#t.volume!==void 0&&(this.#l=this.#t.volume),this.#t.muted!==void 0&&(this.#a=this.#t.muted),this.dispatchEvent(new Event("volumechange"))),w!==((l=(i=this.#t.stats)==null?void 0:i.videoStats)==null?void 0:l.bufferSize)&&this.dispatchEvent(new Event("progress"))}}};#n(t,n){if(!this.#e.contentWindow)return;const s={eventName:t,params:n,namespace:"twitch-embed-player-proxy"};this.#e.contentWindow.postMessage(s,L)}#p(t){if(Object.prototype.hasOwnProperty.call(this,t)){const n=this[t];delete this[t],this[t]=n}}}function A(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/`/g,"&#x60;")}function C(e){return String(new URLSearchParams(function(t){let n={};for(let s in t){let i=t[s];i===!0||i===""?n[s]=!0:i===!1?n[s]=!1:i!=null&&(n[s]=i)}return n}(e)))}class $ extends Promise{constructor(t=()=>{}){let n,s;super((i,l)=>{t(i,l),n=i,s=l}),this.resolve=n,this.reject=s}}function S(e){return Object.defineProperties(e,{start:{value:t=>e[t][0]},end:{value:t=>e[t][1]}}),e}globalThis.customElements&&!globalThis.customElements.get("twitch-video")&&globalThis.customElements.define("twitch-video",O);var U=O,V=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),Q={className:"class",htmlFor:"for"};function R(e){return e.toLowerCase()}function H(e){return typeof e=="boolean"?e?"":void 0:typeof e=="function"||typeof e=="object"&&e!==null?void 0:e}function I(e,t,n){var s;e[t]=n,n==null&&t in(((s=globalThis.HTMLElement)==null?void 0:s.prototype)??{})&&e.removeAttribute(t)}var G=function({react:e,tagName:t,elementClass:n,events:s,displayName:i,defaultProps:l,toAttributeName:a=R,toAttributeValue:b=H}){const m=Number.parseInt(e.version)>=19,v=e.forwardRef((g,d)=>{var w,N;const c=e.useRef(null),E=e.useRef(new Map),T={},M={},p={},y={};for(const[o,r]of Object.entries(g)){if(V.has(o)){p[o]=r;continue}const u=a(Q[o]??o);if(n.prototype&&o in n.prototype&&!(o in(((w=globalThis.HTMLElement)==null?void 0:w.prototype)??{}))&&!((N=n.observedAttributes)!=null&&N.some(f=>f===u))){y[o]=r;continue}if(o.startsWith("on")){T[o]=r;continue}const h=b(r);if(u&&h!=null&&(M[u]=String(h),m||(p[u]=h)),u&&m){const f=H(r);p[u]=h!==f?h:r}}if(typeof window<"u"){for(const o in T){const r=T[o],u=o.endsWith("Capture"),h=(s?.[o]??o.slice(2).toLowerCase()).slice(0,u?-7:void 0);e.useLayoutEffect(()=>{const f=c?.current;if(f&&typeof r=="function")return f.addEventListener(h,r,u),()=>{f.removeEventListener(h,r,u)}},[c?.current,r])}e.useLayoutEffect(()=>{if(c.current===null)return;const o=new Map;for(const r in y)I(c.current,r,y[r]),E.current.delete(r),o.set(r,y[r]);for(const[r,u]of E.current)I(c.current,r,void 0);E.current=o})}if(typeof window>"u"&&n?.getTemplateHTML&&n?.shadowRootOptions){const{mode:o,delegatesFocus:r}=n.shadowRootOptions,u=e.createElement("template",{shadowrootmode:o,shadowrootdelegatesfocus:r,dangerouslySetInnerHTML:{__html:n.getTemplateHTML(M,g)},key:"ce-la-react-ssr-template-shadow-root"});p.children=[u,p.children]}return e.createElement(t,{...l,...p,ref:e.useCallback(o=>{c.current=o,typeof d=="function"?d(o):d!==null&&(d.current=o)},[d])},p.children)});return v.displayName=i??n.name,v}({react:P,tagName:"twitch-video",elementClass:U,toAttributeName:e=>e==="muted"?"":e==="defaultMuted"?"muted":R(e)});/*! Bundled license information:
22
+
23
+ ce-la-react/dist/ce-la-react.js:
24
+ (**
25
+ * @license
26
+ * Copyright 2018 Google LLC
27
+ * SPDX-License-Identifier: BSD-3-Clause
28
+ *
29
+ * Modified version of `@lit/react` for vanilla custom elements with support for SSR.
30
+ *)
31
+ */export{G as default};
@@ -1,6 +1,16 @@
1
- import{b as x}from"./sentry-Dd2vHz0L.js";import{M as A,C as N}from"./mixin-8xHMfK_q.js";import{H as u}from"./hls-6qtGHjqj.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="9d900689-8a23-420f-aece-730928dd2711",t._sentryDebugIdIdentifier="sentry-dbid-9d900689-8a23-420f-aece-730928dd2711")}catch{}})();const M=(L=A(N),class extends L{static shadowRootOptions={...L.shadowRootOptions};static getTemplateHTML=(t,e={})=>{const{src:i,...h}=t;return`
1
+ import{b as x}from"./sentry-Q4kep6XN.js";import{M as A,C as N}from"./mixin-8xHMfK_q.js";import{H as u}from"./hls-6qtGHjqj.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="8b546d0e-a5e3-4057-9e48-d19431246cb4",t._sentryDebugIdIdentifier="sentry-dbid-8b546d0e-a5e3-4057-9e48-d19431246cb4")}catch{}})();const M=(L=A(N),class extends L{static shadowRootOptions={...L.shadowRootOptions};static getTemplateHTML=(t,e={})=>{const{src:i,...h}=t;return`
2
2
  <script type="application/json" id="config">
3
3
  ${JSON.stringify(e.config||{})}
4
4
  <\/script>
5
5
  ${L.getTemplateHTML(h)}
6
- `};#t=null;#e=null;constructor(){super(),this.#n("config")}get config(){return this.#e}set config(t){this.#e=t}attributeChangedCallback(t,e,i){t!=="src"&&super.attributeChangedCallback(t,e,i),t==="src"&&e!=i&&this.load()}#s(){var t,e;(t=this.#t)==null||t.remove(),(e=this.nativeEl)==null||e.removeEventListener("webkitcurrentplaybacktargetiswirelesschanged",this.#i),this.api&&(this.api.detachMedia(),this.api.destroy(),this.api=null)}async load(){var t,e;const i=!this.api;if(this.#s(),this.src)if(i&&!this.#e&&(this.#e=JSON.parse(((t=this.shadowRoot.getElementById("config"))==null?void 0:t.textContent)||"{}")),u.isSupported()){switch(await Promise.resolve(),this.api=new u({liveDurationInfinity:!0,autoStartLoad:!1,...this.config}),this.api.loadSource(this.src),this.api.attachMedia(this.nativeEl),this.nativeEl.preload){case"none":{const l=()=>this.api.startLoad();this.nativeEl.addEventListener("play",l,{once:!0}),this.api.on(u.Events.DESTROYING,()=>{this.nativeEl.removeEventListener("play",l)});break}case"metadata":{const l=this.api.config.maxBufferLength,a=this.api.config.maxBufferSize;this.api.config.maxBufferLength=1,this.api.config.maxBufferSize=1;const r=()=>{this.api.config.maxBufferLength=l,this.api.config.maxBufferSize=a};this.nativeEl.addEventListener("play",r,{once:!0}),this.api.on(u.Events.DESTROYING,()=>{this.nativeEl.removeEventListener("play",r)}),this.api.startLoad();break}default:this.api.startLoad()}this.nativeEl.webkitCurrentPlaybackTargetIsWireless&&this.api.stopLoad(),this.nativeEl.addEventListener("webkitcurrentplaybacktargetiswirelesschanged",this.#i),this.#t=document.createElement("source"),this.#t.setAttribute("type","application/x-mpegURL"),this.#t.setAttribute("src",this.src),this.nativeEl.disableRemotePlayback=!1,this.nativeEl.append(this.#t);const h=new WeakMap;this.api.on(u.Events.MANIFEST_PARSED,(l,a)=>{this.nativeEl.autoplay&&this.nativeEl.paused&&this.nativeEl.play().catch(d=>{console.warn("Autoplay failed:",d)}),b();let r=this.videoTracks.getTrackById("main");r||(r=this.addVideoTrack("main"),r.id="main",r.selected=!0);for(const[d,s]of a.levels.entries()){const E=r.addRendition(s.url[0],s.width,s.height,s.videoCodec,s.bitrate);h.set(s,`${d}`),E.id=`${d}`}for(let[d,s]of a.audioTracks.entries()){const E=s.default?"main":"alternative",y=this.addAudioTrack(E,s.name,s.lang);y.id=`${d}`,s.default&&(y.enabled=!0)}}),this.audioTracks.addEventListener("change",()=>{var l;const a=+((l=[...this.audioTracks].find(d=>d.enabled))==null?void 0:l.id),r=this.api.audioTracks.map(d=>d.id);a!=this.api.audioTrack&&r.includes(a)&&(this.api.audioTrack=a)}),this.api.on(u.Events.LEVELS_UPDATED,(l,a)=>{const r=this.videoTracks[this.videoTracks.selectedIndex??0];if(!r)return;const d=a.levels.map(s=>h.get(s));for(const s of this.videoRenditions)s.id&&!d.includes(s.id)&&r.removeRendition(s)});let v=null;this.api.on(u.Events.ERROR,(l,a)=>{a.type===u.ErrorTypes.NETWORK_ERROR&&a.details===u.ErrorDetails.FRAG_LOAD_ERROR&&(v=a.frag.level)}),this.api.on(u.Events.LEVEL_SWITCHED,(l,a)=>{const r=a.level;v!==null&&r<v&&(console.warn(`⚠️ hls.js downgraded quality from level ${v} to ${r} due to fragment load failure.`),this.videoRenditions.selectedIndex=r,v=null)});const w=l=>{const a=l.target.selectedIndex;a!=this.api.nextLevel&&(this.api.nextLevel=a)};(e=this.videoRenditions)==null||e.addEventListener("change",w);const b=()=>{for(const l of this.videoTracks)this.removeVideoTrack(l);for(const l of this.audioTracks)this.removeAudioTrack(l)};this.api.once(u.Events.DESTROYING,b)}else await Promise.resolve(),this.nativeEl.canPlayType("application/vnd.apple.mpegurl")&&(this.nativeEl.src=this.src)}#i=()=>{var t,e,i;(t=this.nativeEl)!=null&&t.webkitCurrentPlaybackTargetIsWireless?(e=this.api)==null||e.stopLoad():(i=this.api)==null||i.startLoad()};#n(t){if(Object.prototype.hasOwnProperty.call(this,t)){const e=this[t];delete this[t],this[t]=e}}});var L;globalThis.customElements&&!globalThis.customElements.get("hls-video")&&globalThis.customElements.define("hls-video",M);var D=M,_=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),H={className:"class",htmlFor:"for"};function S(t){return t.toLowerCase()}function C(t){return typeof t=="boolean"?t?"":void 0:typeof t=="function"||typeof t=="object"&&t!==null?void 0:t}function O(t,e,i){var h;t[e]=i,i==null&&e in(((h=globalThis.HTMLElement)==null?void 0:h.prototype)??{})&&t.removeAttribute(e)}var $=function({react:t,tagName:e,elementClass:i,events:h,displayName:v,defaultProps:w,toAttributeName:b=S,toAttributeValue:l=C}){const a=Number.parseInt(t.version)>=19,r=t.forwardRef((d,s)=>{var E,y;const p=t.useRef(null),k=t.useRef(new Map),R={},I={},m={},T={};for(const[n,o]of Object.entries(d)){if(_.has(n)){m[n]=o;continue}const c=b(H[n]??n);if(i.prototype&&n in i.prototype&&!(n in(((E=globalThis.HTMLElement)==null?void 0:E.prototype)??{}))&&!((y=i.observedAttributes)!=null&&y.some(g=>g===c))){T[n]=o;continue}if(n.startsWith("on")){R[n]=o;continue}const f=l(o);if(c&&f!=null&&(I[c]=String(f),a||(m[c]=f)),c&&a){const g=C(o);m[c]=f!==g?f:o}}if(typeof window<"u"){for(const n in R){const o=R[n],c=n.endsWith("Capture"),f=(h?.[n]??n.slice(2).toLowerCase()).slice(0,c?-7:void 0);t.useLayoutEffect(()=>{const g=p?.current;if(g&&typeof o=="function")return g.addEventListener(f,o,c),()=>{g.removeEventListener(f,o,c)}},[p?.current,o])}t.useLayoutEffect(()=>{if(p.current===null)return;const n=new Map;for(const o in T)O(p.current,o,T[o]),k.current.delete(o),n.set(o,T[o]);for(const[o,c]of k.current)O(p.current,o,void 0);k.current=n})}if(typeof window>"u"&&i?.getTemplateHTML&&i?.shadowRootOptions){const{mode:n,delegatesFocus:o}=i.shadowRootOptions,c=t.createElement("template",{shadowrootmode:n,shadowrootdelegatesfocus:o,dangerouslySetInnerHTML:{__html:i.getTemplateHTML(I,d)},key:"ce-la-react-ssr-template-shadow-root"});m.children=[c,m.children]}return t.createElement(e,{...w,...m,ref:t.useCallback(n=>{p.current=n,typeof s=="function"?s(n):s!==null&&(s.current=n)},[s])},m.children)});return r.displayName=v??i.name,r}({react:x,tagName:"hls-video",elementClass:D,toAttributeName:t=>t==="muted"?"":t==="defaultMuted"?"muted":S(t)});export{$ as default};
6
+ `};#t=null;#e=null;constructor(){super(),this.#n("config")}get config(){return this.#e}set config(t){this.#e=t}attributeChangedCallback(t,e,i){t!=="src"&&super.attributeChangedCallback(t,e,i),t==="src"&&e!=i&&this.load()}#s(){var t,e;(t=this.#t)==null||t.remove(),(e=this.nativeEl)==null||e.removeEventListener("webkitcurrentplaybacktargetiswirelesschanged",this.#i),this.api&&(this.api.detachMedia(),this.api.destroy(),this.api=null)}async load(){var t,e;const i=!this.api;if(this.#s(),this.src)if(i&&!this.#e&&(this.#e=JSON.parse(((t=this.shadowRoot.getElementById("config"))==null?void 0:t.textContent)||"{}")),u.isSupported()){switch(await Promise.resolve(),this.api=new u({liveDurationInfinity:!0,autoStartLoad:!1,...this.config}),this.api.loadSource(this.src),this.api.attachMedia(this.nativeEl),this.nativeEl.preload){case"none":{const l=()=>this.api.startLoad();this.nativeEl.addEventListener("play",l,{once:!0}),this.api.on(u.Events.DESTROYING,()=>{this.nativeEl.removeEventListener("play",l)});break}case"metadata":{const l=this.api.config.maxBufferLength,a=this.api.config.maxBufferSize;this.api.config.maxBufferLength=1,this.api.config.maxBufferSize=1;const r=()=>{this.api.config.maxBufferLength=l,this.api.config.maxBufferSize=a};this.nativeEl.addEventListener("play",r,{once:!0}),this.api.on(u.Events.DESTROYING,()=>{this.nativeEl.removeEventListener("play",r)}),this.api.startLoad();break}default:this.api.startLoad()}this.nativeEl.webkitCurrentPlaybackTargetIsWireless&&this.api.stopLoad(),this.nativeEl.addEventListener("webkitcurrentplaybacktargetiswirelesschanged",this.#i),this.#t=document.createElement("source"),this.#t.setAttribute("type","application/x-mpegURL"),this.#t.setAttribute("src",this.src),this.nativeEl.disableRemotePlayback=!1,this.nativeEl.append(this.#t);const h=new WeakMap;this.api.on(u.Events.MANIFEST_PARSED,(l,a)=>{this.nativeEl.autoplay&&this.nativeEl.paused&&this.nativeEl.play().catch(d=>{console.warn("Autoplay failed:",d)}),b();let r=this.videoTracks.getTrackById("main");r||(r=this.addVideoTrack("main"),r.id="main",r.selected=!0);for(const[d,s]of a.levels.entries()){const E=r.addRendition(s.url[0],s.width,s.height,s.videoCodec,s.bitrate);h.set(s,`${d}`),E.id=`${d}`}for(let[d,s]of a.audioTracks.entries()){const E=s.default?"main":"alternative",y=this.addAudioTrack(E,s.name,s.lang);y.id=`${d}`,s.default&&(y.enabled=!0)}}),this.audioTracks.addEventListener("change",()=>{var l;const a=+((l=[...this.audioTracks].find(d=>d.enabled))==null?void 0:l.id),r=this.api.audioTracks.map(d=>d.id);a!=this.api.audioTrack&&r.includes(a)&&(this.api.audioTrack=a)}),this.api.on(u.Events.LEVELS_UPDATED,(l,a)=>{const r=this.videoTracks[this.videoTracks.selectedIndex??0];if(!r)return;const d=a.levels.map(s=>h.get(s));for(const s of this.videoRenditions)s.id&&!d.includes(s.id)&&r.removeRendition(s)});let v=null;this.api.on(u.Events.ERROR,(l,a)=>{a.type===u.ErrorTypes.NETWORK_ERROR&&a.details===u.ErrorDetails.FRAG_LOAD_ERROR&&(v=a.frag.level)}),this.api.on(u.Events.LEVEL_SWITCHED,(l,a)=>{const r=a.level;v!==null&&r<v&&(console.warn(`⚠️ hls.js downgraded quality from level ${v} to ${r} due to fragment load failure.`),this.videoRenditions.selectedIndex=r,v=null)});const w=l=>{const a=l.target.selectedIndex;a!=this.api.nextLevel&&(this.api.nextLevel=a)};(e=this.videoRenditions)==null||e.addEventListener("change",w);const b=()=>{for(const l of this.videoTracks)this.removeVideoTrack(l);for(const l of this.audioTracks)this.removeAudioTrack(l)};this.api.once(u.Events.DESTROYING,b)}else await Promise.resolve(),this.nativeEl.canPlayType("application/vnd.apple.mpegurl")&&(this.nativeEl.src=this.src)}#i=()=>{var t,e,i;(t=this.nativeEl)!=null&&t.webkitCurrentPlaybackTargetIsWireless?(e=this.api)==null||e.stopLoad():(i=this.api)==null||i.startLoad()};#n(t){if(Object.prototype.hasOwnProperty.call(this,t)){const e=this[t];delete this[t],this[t]=e}}});var L;globalThis.customElements&&!globalThis.customElements.get("hls-video")&&globalThis.customElements.define("hls-video",M);var D=M,_=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),H={className:"class",htmlFor:"for"};function S(t){return t.toLowerCase()}function C(t){return typeof t=="boolean"?t?"":void 0:typeof t=="function"||typeof t=="object"&&t!==null?void 0:t}function O(t,e,i){var h;t[e]=i,i==null&&e in(((h=globalThis.HTMLElement)==null?void 0:h.prototype)??{})&&t.removeAttribute(e)}var $=function({react:t,tagName:e,elementClass:i,events:h,displayName:v,defaultProps:w,toAttributeName:b=S,toAttributeValue:l=C}){const a=Number.parseInt(t.version)>=19,r=t.forwardRef((d,s)=>{var E,y;const p=t.useRef(null),k=t.useRef(new Map),R={},I={},m={},T={};for(const[n,o]of Object.entries(d)){if(_.has(n)){m[n]=o;continue}const c=b(H[n]??n);if(i.prototype&&n in i.prototype&&!(n in(((E=globalThis.HTMLElement)==null?void 0:E.prototype)??{}))&&!((y=i.observedAttributes)!=null&&y.some(g=>g===c))){T[n]=o;continue}if(n.startsWith("on")){R[n]=o;continue}const f=l(o);if(c&&f!=null&&(I[c]=String(f),a||(m[c]=f)),c&&a){const g=C(o);m[c]=f!==g?f:o}}if(typeof window<"u"){for(const n in R){const o=R[n],c=n.endsWith("Capture"),f=(h?.[n]??n.slice(2).toLowerCase()).slice(0,c?-7:void 0);t.useLayoutEffect(()=>{const g=p?.current;if(g&&typeof o=="function")return g.addEventListener(f,o,c),()=>{g.removeEventListener(f,o,c)}},[p?.current,o])}t.useLayoutEffect(()=>{if(p.current===null)return;const n=new Map;for(const o in T)O(p.current,o,T[o]),k.current.delete(o),n.set(o,T[o]);for(const[o,c]of k.current)O(p.current,o,void 0);k.current=n})}if(typeof window>"u"&&i?.getTemplateHTML&&i?.shadowRootOptions){const{mode:n,delegatesFocus:o}=i.shadowRootOptions,c=t.createElement("template",{shadowrootmode:n,shadowrootdelegatesfocus:o,dangerouslySetInnerHTML:{__html:i.getTemplateHTML(I,d)},key:"ce-la-react-ssr-template-shadow-root"});m.children=[c,m.children]}return t.createElement(e,{...w,...m,ref:t.useCallback(n=>{p.current=n,typeof s=="function"?s(n):s!==null&&(s.current=n)},[s])},m.children)});return r.displayName=v??i.name,r}({react:x,tagName:"hls-video",elementClass:D,toAttributeName:t=>t==="muted"?"":t==="defaultMuted"?"muted":S(t)});/*! Bundled license information:
7
+
8
+ ce-la-react/dist/ce-la-react.js:
9
+ (**
10
+ * @license
11
+ * Copyright 2018 Google LLC
12
+ * SPDX-License-Identifier: BSD-3-Clause
13
+ *
14
+ * Modified version of `@lit/react` for vanilla custom elements with support for SSR.
15
+ *)
16
+ */export{$ as default};
@@ -1,4 +1,4 @@
1
- import{b as P}from"./sentry-Dd2vHz0L.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]="dafb4366-bd09-4758-a9ea-7aa580e8481b",e._sentryDebugIdIdentifier="sentry-dbid-dafb4366-bd09-4758-a9ea-7aa580e8481b")}catch{}})();const O=/tiktok\.com\/(?:player\/v1\/|share\/video\/|@[^/]+\/video\/)([0-9]+)/,h={INIT:-1,ENDED:0,PLAYING:1,PAUSED:2,BUFFERING:3},x={[h.INIT]:"emptied",[h.PAUSED]:"pause",[h.ENDED]:"ended",[h.PLAYING]:"play",[h.BUFFERING]:"waiting"};function M(e,t={}){const n={src:H(e,t),frameborder:0,width:"100%",height:"100%",allow:"accelerometer; autoplay; fullscreen; encrypted-media; gyroscope; picture-in-picture"};return t.config&&(n["data-config"]=JSON.stringify(t.config)),`
1
+ import{b as P}from"./sentry-Q4kep6XN.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]="dafb4366-bd09-4758-a9ea-7aa580e8481b",e._sentryDebugIdIdentifier="sentry-dbid-dafb4366-bd09-4758-a9ea-7aa580e8481b")}catch{}})();const O=/tiktok\.com\/(?:player\/v1\/|share\/video\/|@[^/]+\/video\/)([0-9]+)/,h={INIT:-1,ENDED:0,PLAYING:1,PAUSED:2,BUFFERING:3},x={[h.INIT]:"emptied",[h.PAUSED]:"pause",[h.ENDED]:"ended",[h.PLAYING]:"play",[h.BUFFERING]:"waiting"};function M(e,t={}){const n={src:H(e,t),frameborder:0,width:"100%",height:"100%",allow:"accelerometer; autoplay; fullscreen; encrypted-media; gyroscope; picture-in-picture"};return t.config&&(n["data-config"]=JSON.stringify(t.config)),`
2
2
  <style>
3
3
  :host {
4
4
  display:inline-block;
@@ -16,4 +16,14 @@ import{b as P}from"./sentry-Dd2vHz0L.js";(function(){try{var e=typeof window<"u"
16
16
  }
17
17
  </style>
18
18
  <iframe ${function(o){let r="";for(const a in o){const u=o[a];r+=u===""?` ${E(a)}`:` ${E(a)}="${E(`${u}`)}"`}return r}(n)} title="TikTok video"></iframe>
19
- `}function H(e,t={}){if(!e.src)return;const n=e.src.match(O);return`https://www.tiktok.com/player/v1/${n&&n[1]}?${function(o){return String(new URLSearchParams(function(r){let a={};for(let u in r){let p=r[u];p===!0||p===""?a[u]=1:p===!1?a[u]=0:p!=null&&(a[u]=p)}return a}(o)))}({controls:e.controls===""?null:0,autoplay:e.autoplay,muted:e.muted,loop:e.loop,rel:0,...t.config})}`}class y extends(globalThis.HTMLElement??class{}){static getTemplateHTML=M;static shadowRootOptions={mode:"open"};static get observedAttributes(){return["src","controls","loop","autoplay","muted"]}loadComplete=new A;#s;#i;#e=!1;#r=0;#a=!0;#l=null;#n=100;#u=0;#o;constructor(){super(),this.#f("config")}async load(){if(this.#s)return;this.shadowRoot||this.attachShadow(y.shadowRootOptions);const t=!this.#i;if(this.#i&&(this.loadComplete=new A),this.#i=!0,await(this.#s=Promise.resolve()),this.#s=null,this.#r=0,this.#e=!1,this.#a=!0,!this.src)return this.shadowRoot.innerHTML="",void globalThis.removeEventListener("message",this.#c);let n=this.shadowRoot.querySelector("iframe");const o=function(r){let a={};for(let u of r)a[u.name]=u.value;return a}(this.attributes);t&&n&&(this.#l=JSON.parse(n.getAttribute("data-config")||"{}")),n?.src&&n.src===H(o,this)||(this.shadowRoot.innerHTML=M(o,this),n=this.shadowRoot.querySelector("iframe")),this.#o=n,globalThis.addEventListener("message",this.#c)}async attributeChangedCallback(t,n,o){if(n!==o)switch(t){case"muted":await this.loadComplete,this.muted=o!=null;break;case"autoplay":case"controls":case"loop":case"src":return void this.load()}}get config(){return this.#l}set config(t){this.#l=t}#c=t=>{var n;if(t.source!==((n=this.#o)==null?void 0:n.contentWindow))return;const o=t.data;if(o?.["x-tiktok-player"])switch(o.type){case"onPlayerReady":this.loadComplete.resolve();break;case"onStateChange":{this.#a=[h.INIT,h.PAUSED,h.ENDED].includes(o.value);const r=x[o.value];r&&this.dispatchEvent(new Event(r));break}case"onCurrentTime":this.#r=o.value.currentTime,this.#u=o.value.duration,this.dispatchEvent(new Event("durationchange")),this.dispatchEvent(new Event("timeupdate"));break;case"onVolumeChange":this.#n=o.value,this.dispatchEvent(new Event("volumechange"));break;case"onMute":this.#e=!!o.value,this.#n=o.value?0:this.#n,this.dispatchEvent(new Event("volumechange"));break;case"onError":this.dispatchEvent(new Event("error"));break;default:console.warn("Unhandled TikTok player message:",o)}};#t(t,n){var o;if(!((o=this.#o)!=null&&o.contentWindow))return;const r={"x-tiktok-player":!0,type:t,...n!==void 0?{value:n}:{}};this.#o.contentWindow.postMessage(r,"*")}async play(){await this.loadComplete,this.#t("play")}async pause(){await this.loadComplete,this.#t("pause")}async#d(t){await this.loadComplete,this.#t("seekTo",Number(t))}async#h(){await this.loadComplete,this.#t("mute")}async#p(){await this.loadComplete,this.#t("unMute")}get volume(){return this.#n/100}set volume(t){console.warn("Volume control is not supported for TikTok videos.")}get currentTime(){return this.#r}set currentTime(t){this.#d(t)}get muted(){return this.#e}set muted(t){this.#e=t,t?this.#h():this.#p()}get defaultMuted(){return this.hasAttribute("muted")}set defaultMuted(t){this.toggleAttribute("muted",!!t)}get paused(){return this.#a}get duration(){return this.#u}get src(){return this.getAttribute("src")}set src(t){this.setAttribute("src",t??"")}#f(t){if(Object.prototype.hasOwnProperty.call(this,t)){const n=this[t];delete this[t],this[t]=n}}}class A extends Promise{constructor(t=()=>{}){let n,o;super((r,a)=>{t(r,a),n=r,o=a}),this.resolve=n,this.reject=o}}function E(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/`/g,"&#x60;")}globalThis.customElements&&!globalThis.customElements.get("tiktok-video")&&globalThis.customElements.define("tiktok-video",y);var U=y,W=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),$={className:"class",htmlFor:"for"};function R(e){return e.toLowerCase()}function S(e){return typeof e=="boolean"?e?"":void 0:typeof e=="function"||typeof e=="object"&&e!==null?void 0:e}function D(e,t,n){var o;e[t]=n,n==null&&t in(((o=globalThis.HTMLElement)==null?void 0:o.prototype)??{})&&e.removeAttribute(t)}var _=function({react:e,tagName:t,elementClass:n,events:o,displayName:r,defaultProps:a,toAttributeName:u=R,toAttributeValue:p=S}){const T=Number.parseInt(e.version)>=19,k=e.forwardRef((C,v)=>{var L,N;const c=e.useRef(null),w=e.useRef(new Map),b={},I={},f={},g={};for(const[s,i]of Object.entries(C)){if(W.has(s)){f[s]=i;continue}const l=u($[s]??s);if(n.prototype&&s in n.prototype&&!(s in(((L=globalThis.HTMLElement)==null?void 0:L.prototype)??{}))&&!((N=n.observedAttributes)!=null&&N.some(m=>m===l))){g[s]=i;continue}if(s.startsWith("on")){b[s]=i;continue}const d=p(i);if(l&&d!=null&&(I[l]=String(d),T||(f[l]=d)),l&&T){const m=S(i);f[l]=d!==m?d:i}}if(typeof window<"u"){for(const s in b){const i=b[s],l=s.endsWith("Capture"),d=(o?.[s]??s.slice(2).toLowerCase()).slice(0,l?-7:void 0);e.useLayoutEffect(()=>{const m=c?.current;if(m&&typeof i=="function")return m.addEventListener(d,i,l),()=>{m.removeEventListener(d,i,l)}},[c?.current,i])}e.useLayoutEffect(()=>{if(c.current===null)return;const s=new Map;for(const i in g)D(c.current,i,g[i]),w.current.delete(i),s.set(i,g[i]);for(const[i,l]of w.current)D(c.current,i,void 0);w.current=s})}if(typeof window>"u"&&n?.getTemplateHTML&&n?.shadowRootOptions){const{mode:s,delegatesFocus:i}=n.shadowRootOptions,l=e.createElement("template",{shadowrootmode:s,shadowrootdelegatesfocus:i,dangerouslySetInnerHTML:{__html:n.getTemplateHTML(I,C)},key:"ce-la-react-ssr-template-shadow-root"});f.children=[l,f.children]}return e.createElement(t,{...a,...f,ref:e.useCallback(s=>{c.current=s,typeof v=="function"?v(s):v!==null&&(v.current=s)},[v])},f.children)});return k.displayName=r??n.name,k}({react:P,tagName:"tiktok-video",elementClass:U,toAttributeName:e=>e==="muted"?"":e==="defaultMuted"?"muted":R(e)});export{_ as default};
19
+ `}function H(e,t={}){if(!e.src)return;const n=e.src.match(O);return`https://www.tiktok.com/player/v1/${n&&n[1]}?${function(o){return String(new URLSearchParams(function(r){let a={};for(let u in r){let p=r[u];p===!0||p===""?a[u]=1:p===!1?a[u]=0:p!=null&&(a[u]=p)}return a}(o)))}({controls:e.controls===""?null:0,autoplay:e.autoplay,muted:e.muted,loop:e.loop,rel:0,...t.config})}`}class y extends(globalThis.HTMLElement??class{}){static getTemplateHTML=M;static shadowRootOptions={mode:"open"};static get observedAttributes(){return["src","controls","loop","autoplay","muted"]}loadComplete=new A;#s;#i;#e=!1;#r=0;#a=!0;#l=null;#n=100;#u=0;#o;constructor(){super(),this.#f("config")}async load(){if(this.#s)return;this.shadowRoot||this.attachShadow(y.shadowRootOptions);const t=!this.#i;if(this.#i&&(this.loadComplete=new A),this.#i=!0,await(this.#s=Promise.resolve()),this.#s=null,this.#r=0,this.#e=!1,this.#a=!0,!this.src)return this.shadowRoot.innerHTML="",void globalThis.removeEventListener("message",this.#c);let n=this.shadowRoot.querySelector("iframe");const o=function(r){let a={};for(let u of r)a[u.name]=u.value;return a}(this.attributes);t&&n&&(this.#l=JSON.parse(n.getAttribute("data-config")||"{}")),n?.src&&n.src===H(o,this)||(this.shadowRoot.innerHTML=M(o,this),n=this.shadowRoot.querySelector("iframe")),this.#o=n,globalThis.addEventListener("message",this.#c)}async attributeChangedCallback(t,n,o){if(n!==o)switch(t){case"muted":await this.loadComplete,this.muted=o!=null;break;case"autoplay":case"controls":case"loop":case"src":return void this.load()}}get config(){return this.#l}set config(t){this.#l=t}#c=t=>{var n;if(t.source!==((n=this.#o)==null?void 0:n.contentWindow))return;const o=t.data;if(o?.["x-tiktok-player"])switch(o.type){case"onPlayerReady":this.loadComplete.resolve();break;case"onStateChange":{this.#a=[h.INIT,h.PAUSED,h.ENDED].includes(o.value);const r=x[o.value];r&&this.dispatchEvent(new Event(r));break}case"onCurrentTime":this.#r=o.value.currentTime,this.#u=o.value.duration,this.dispatchEvent(new Event("durationchange")),this.dispatchEvent(new Event("timeupdate"));break;case"onVolumeChange":this.#n=o.value,this.dispatchEvent(new Event("volumechange"));break;case"onMute":this.#e=!!o.value,this.#n=o.value?0:this.#n,this.dispatchEvent(new Event("volumechange"));break;case"onError":this.dispatchEvent(new Event("error"));break;default:console.warn("Unhandled TikTok player message:",o)}};#t(t,n){var o;if(!((o=this.#o)!=null&&o.contentWindow))return;const r={"x-tiktok-player":!0,type:t,...n!==void 0?{value:n}:{}};this.#o.contentWindow.postMessage(r,"*")}async play(){await this.loadComplete,this.#t("play")}async pause(){await this.loadComplete,this.#t("pause")}async#d(t){await this.loadComplete,this.#t("seekTo",Number(t))}async#h(){await this.loadComplete,this.#t("mute")}async#p(){await this.loadComplete,this.#t("unMute")}get volume(){return this.#n/100}set volume(t){console.warn("Volume control is not supported for TikTok videos.")}get currentTime(){return this.#r}set currentTime(t){this.#d(t)}get muted(){return this.#e}set muted(t){this.#e=t,t?this.#h():this.#p()}get defaultMuted(){return this.hasAttribute("muted")}set defaultMuted(t){this.toggleAttribute("muted",!!t)}get paused(){return this.#a}get duration(){return this.#u}get src(){return this.getAttribute("src")}set src(t){this.setAttribute("src",t??"")}#f(t){if(Object.prototype.hasOwnProperty.call(this,t)){const n=this[t];delete this[t],this[t]=n}}}class A extends Promise{constructor(t=()=>{}){let n,o;super((r,a)=>{t(r,a),n=r,o=a}),this.resolve=n,this.reject=o}}function E(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/`/g,"&#x60;")}globalThis.customElements&&!globalThis.customElements.get("tiktok-video")&&globalThis.customElements.define("tiktok-video",y);var U=y,W=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),$={className:"class",htmlFor:"for"};function R(e){return e.toLowerCase()}function S(e){return typeof e=="boolean"?e?"":void 0:typeof e=="function"||typeof e=="object"&&e!==null?void 0:e}function D(e,t,n){var o;e[t]=n,n==null&&t in(((o=globalThis.HTMLElement)==null?void 0:o.prototype)??{})&&e.removeAttribute(t)}var _=function({react:e,tagName:t,elementClass:n,events:o,displayName:r,defaultProps:a,toAttributeName:u=R,toAttributeValue:p=S}){const T=Number.parseInt(e.version)>=19,k=e.forwardRef((C,v)=>{var L,N;const c=e.useRef(null),w=e.useRef(new Map),b={},I={},f={},g={};for(const[s,i]of Object.entries(C)){if(W.has(s)){f[s]=i;continue}const l=u($[s]??s);if(n.prototype&&s in n.prototype&&!(s in(((L=globalThis.HTMLElement)==null?void 0:L.prototype)??{}))&&!((N=n.observedAttributes)!=null&&N.some(m=>m===l))){g[s]=i;continue}if(s.startsWith("on")){b[s]=i;continue}const d=p(i);if(l&&d!=null&&(I[l]=String(d),T||(f[l]=d)),l&&T){const m=S(i);f[l]=d!==m?d:i}}if(typeof window<"u"){for(const s in b){const i=b[s],l=s.endsWith("Capture"),d=(o?.[s]??s.slice(2).toLowerCase()).slice(0,l?-7:void 0);e.useLayoutEffect(()=>{const m=c?.current;if(m&&typeof i=="function")return m.addEventListener(d,i,l),()=>{m.removeEventListener(d,i,l)}},[c?.current,i])}e.useLayoutEffect(()=>{if(c.current===null)return;const s=new Map;for(const i in g)D(c.current,i,g[i]),w.current.delete(i),s.set(i,g[i]);for(const[i,l]of w.current)D(c.current,i,void 0);w.current=s})}if(typeof window>"u"&&n?.getTemplateHTML&&n?.shadowRootOptions){const{mode:s,delegatesFocus:i}=n.shadowRootOptions,l=e.createElement("template",{shadowrootmode:s,shadowrootdelegatesfocus:i,dangerouslySetInnerHTML:{__html:n.getTemplateHTML(I,C)},key:"ce-la-react-ssr-template-shadow-root"});f.children=[l,f.children]}return e.createElement(t,{...a,...f,ref:e.useCallback(s=>{c.current=s,typeof v=="function"?v(s):v!==null&&(v.current=s)},[v])},f.children)});return k.displayName=r??n.name,k}({react:P,tagName:"tiktok-video",elementClass:U,toAttributeName:e=>e==="muted"?"":e==="defaultMuted"?"muted":R(e)});/*! Bundled license information:
20
+
21
+ ce-la-react/dist/ce-la-react.js:
22
+ (**
23
+ * @license
24
+ * Copyright 2018 Google LLC
25
+ * SPDX-License-Identifier: BSD-3-Clause
26
+ *
27
+ * Modified version of `@lit/react` for vanilla custom elements with support for SSR.
28
+ *)
29
+ */export{_ as default};
@@ -1,4 +1,4 @@
1
- import{b as $}from"./sentry-Dd2vHz0L.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]="c2e9a849-5489-4b54-8a96-5046acbf703c",e._sentryDebugIdIdentifier="sentry-dbid-c2e9a849-5489-4b54-8a96-5046acbf703c")}catch{}})();const B=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting","waitingforkey","resize","enterpictureinpicture","leavepictureinpicture","webkitbeginfullscreen","webkitendfullscreen","webkitpresentationmodechanged"],T=globalThis.document?.createElement("template");T&&(T.innerHTML=`
1
+ import{b as $}from"./sentry-Q4kep6XN.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]="c2e9a849-5489-4b54-8a96-5046acbf703c",e._sentryDebugIdIdentifier="sentry-dbid-c2e9a849-5489-4b54-8a96-5046acbf703c")}catch{}})();const B=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting","waitingforkey","resize","enterpictureinpicture","leavepictureinpicture","webkitbeginfullscreen","webkitendfullscreen","webkitpresentationmodechanged"],T=globalThis.document?.createElement("template");T&&(T.innerHTML=`
2
2
  <style>
3
3
  :host {
4
4
  display: inline-block;
@@ -31,4 +31,14 @@ import{b as $}from"./sentry-Dd2vHz0L.js";(function(){try{var e=typeof window<"u"
31
31
  }
32
32
  </style>
33
33
  <slot></slot>
34
- `);class q extends W{static template=k;static skipAttributes=["src"];get nativeEl(){var s;return((s=this.api)==null?void 0:s.elem())??this.querySelector("video")}async load(){var s;if((s=this.querySelector(".wistia_embed"))==null||s.remove(),!this.src)return;await new Promise(c=>setTimeout(c,50));const o=this.src.match(/(?:wistia\.com|wi\.st)\/(?:medias|embed)\/(.*)$/i)[1],d={autoPlay:this.autoplay,preload:this.preload??"metadata",playsinline:this.playsInline,endVideoBehavior:this.loop&&"loop",chromeless:!this.controls,playButton:this.controls,muted:this.defaultMuted};this.append(A.content.cloneNode(!0));const p=this.querySelector(".wistia_embed");p.id||(p.id=function(c){const t=++D;return`${c}${t}`}(o)),p.classList.add(`wistia_async_${o}`),await async function(c,t){return L[c]?L[c]:self[t]?self[t]:L[c]=new Promise((n,a)=>{const i=document.createElement("script");i.defer=!0,i.src=c,i.onload=()=>n(self[t]),i.onerror=a,document.head.append(i)})}("https://fast.wistia.com/assets/external/E-v1.js","Wistia"),this.api=await new Promise(c=>{globalThis._wq.push({id:p.id,onReady:c,options:d})})}async attributeChangedCallback(s,o,d){s!=="controls"?super.attributeChangedCallback(s,o,d):(await this.loadComplete,s==="controls"&&(this.api.bigPlayButtonEnabled(this.controls),this.controls?this.api.releaseChromeless():this.api.requestChromeless()))}get duration(){var s;return(s=this.api)==null?void 0:s.duration()}async play(){return await this.loadComplete,this.api.play(),new Promise(s=>this.addEventListener("playing",s))}}const L={};let D=0;globalThis.customElements&&!globalThis.customElements.get("wistia-video")&&globalThis.customElements.define("wistia-video",q);var F=q,V=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),z={className:"class",htmlFor:"for"};function _(e){return e.toLowerCase()}function j(e){return typeof e=="boolean"?e?"":void 0:typeof e=="function"||typeof e=="object"&&e!==null?void 0:e}function x(e,s,o){var d;e[s]=o,o==null&&s in(((d=globalThis.HTMLElement)==null?void 0:d.prototype)??{})&&e.removeAttribute(s)}var G=function({react:e,tagName:s,elementClass:o,events:d,displayName:p,defaultProps:c,toAttributeName:t=_,toAttributeValue:n=j}){const a=Number.parseInt(e.version)>=19,i=e.forwardRef((u,g)=>{var M,P;const m=e.useRef(null),E=e.useRef(new Map),C={},H={},b={},v={};for(const[l,r]of Object.entries(u)){if(V.has(l)){b[l]=r;continue}const h=t(z[l]??l);if(o.prototype&&l in o.prototype&&!(l in(((M=globalThis.HTMLElement)==null?void 0:M.prototype)??{}))&&!((P=o.observedAttributes)!=null&&P.some(y=>y===h))){v[l]=r;continue}if(l.startsWith("on")){C[l]=r;continue}const f=n(r);if(h&&f!=null&&(H[h]=String(f),a||(b[h]=f)),h&&a){const y=j(r);b[h]=f!==y?f:r}}if(typeof window<"u"){for(const l in C){const r=C[l],h=l.endsWith("Capture"),f=(d?.[l]??l.slice(2).toLowerCase()).slice(0,h?-7:void 0);e.useLayoutEffect(()=>{const y=m?.current;if(y&&typeof r=="function")return y.addEventListener(f,r,h),()=>{y.removeEventListener(f,r,h)}},[m?.current,r])}e.useLayoutEffect(()=>{if(m.current===null)return;const l=new Map;for(const r in v)x(m.current,r,v[r]),E.current.delete(r),l.set(r,v[r]);for(const[r,h]of E.current)x(m.current,r,void 0);E.current=l})}if(typeof window>"u"&&o?.getTemplateHTML&&o?.shadowRootOptions){const{mode:l,delegatesFocus:r}=o.shadowRootOptions,h=e.createElement("template",{shadowrootmode:l,shadowrootdelegatesfocus:r,dangerouslySetInnerHTML:{__html:o.getTemplateHTML(H,u)},key:"ce-la-react-ssr-template-shadow-root"});b.children=[h,b.children]}return e.createElement(s,{...c,...b,ref:e.useCallback(l=>{m.current=l,typeof g=="function"?g(l):g!==null&&(g.current=l)},[g])},b.children)});return i.displayName=p??o.name,i}({react:$,tagName:"wistia-video",elementClass:F,toAttributeName:e=>e==="muted"?"":e==="defaultMuted"?"muted":_(e)});export{G as default};
34
+ `);class q extends W{static template=k;static skipAttributes=["src"];get nativeEl(){var s;return((s=this.api)==null?void 0:s.elem())??this.querySelector("video")}async load(){var s;if((s=this.querySelector(".wistia_embed"))==null||s.remove(),!this.src)return;await new Promise(c=>setTimeout(c,50));const o=this.src.match(/(?:wistia\.com|wi\.st)\/(?:medias|embed)\/(.*)$/i)[1],d={autoPlay:this.autoplay,preload:this.preload??"metadata",playsinline:this.playsInline,endVideoBehavior:this.loop&&"loop",chromeless:!this.controls,playButton:this.controls,muted:this.defaultMuted};this.append(A.content.cloneNode(!0));const p=this.querySelector(".wistia_embed");p.id||(p.id=function(c){const t=++D;return`${c}${t}`}(o)),p.classList.add(`wistia_async_${o}`),await async function(c,t){return L[c]?L[c]:self[t]?self[t]:L[c]=new Promise((n,a)=>{const i=document.createElement("script");i.defer=!0,i.src=c,i.onload=()=>n(self[t]),i.onerror=a,document.head.append(i)})}("https://fast.wistia.com/assets/external/E-v1.js","Wistia"),this.api=await new Promise(c=>{globalThis._wq.push({id:p.id,onReady:c,options:d})})}async attributeChangedCallback(s,o,d){s!=="controls"?super.attributeChangedCallback(s,o,d):(await this.loadComplete,s==="controls"&&(this.api.bigPlayButtonEnabled(this.controls),this.controls?this.api.releaseChromeless():this.api.requestChromeless()))}get duration(){var s;return(s=this.api)==null?void 0:s.duration()}async play(){return await this.loadComplete,this.api.play(),new Promise(s=>this.addEventListener("playing",s))}}const L={};let D=0;globalThis.customElements&&!globalThis.customElements.get("wistia-video")&&globalThis.customElements.define("wistia-video",q);var F=q,V=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),z={className:"class",htmlFor:"for"};function _(e){return e.toLowerCase()}function j(e){return typeof e=="boolean"?e?"":void 0:typeof e=="function"||typeof e=="object"&&e!==null?void 0:e}function x(e,s,o){var d;e[s]=o,o==null&&s in(((d=globalThis.HTMLElement)==null?void 0:d.prototype)??{})&&e.removeAttribute(s)}var G=function({react:e,tagName:s,elementClass:o,events:d,displayName:p,defaultProps:c,toAttributeName:t=_,toAttributeValue:n=j}){const a=Number.parseInt(e.version)>=19,i=e.forwardRef((u,g)=>{var M,P;const m=e.useRef(null),E=e.useRef(new Map),C={},H={},b={},v={};for(const[l,r]of Object.entries(u)){if(V.has(l)){b[l]=r;continue}const h=t(z[l]??l);if(o.prototype&&l in o.prototype&&!(l in(((M=globalThis.HTMLElement)==null?void 0:M.prototype)??{}))&&!((P=o.observedAttributes)!=null&&P.some(y=>y===h))){v[l]=r;continue}if(l.startsWith("on")){C[l]=r;continue}const f=n(r);if(h&&f!=null&&(H[h]=String(f),a||(b[h]=f)),h&&a){const y=j(r);b[h]=f!==y?f:r}}if(typeof window<"u"){for(const l in C){const r=C[l],h=l.endsWith("Capture"),f=(d?.[l]??l.slice(2).toLowerCase()).slice(0,h?-7:void 0);e.useLayoutEffect(()=>{const y=m?.current;if(y&&typeof r=="function")return y.addEventListener(f,r,h),()=>{y.removeEventListener(f,r,h)}},[m?.current,r])}e.useLayoutEffect(()=>{if(m.current===null)return;const l=new Map;for(const r in v)x(m.current,r,v[r]),E.current.delete(r),l.set(r,v[r]);for(const[r,h]of E.current)x(m.current,r,void 0);E.current=l})}if(typeof window>"u"&&o?.getTemplateHTML&&o?.shadowRootOptions){const{mode:l,delegatesFocus:r}=o.shadowRootOptions,h=e.createElement("template",{shadowrootmode:l,shadowrootdelegatesfocus:r,dangerouslySetInnerHTML:{__html:o.getTemplateHTML(H,u)},key:"ce-la-react-ssr-template-shadow-root"});b.children=[h,b.children]}return e.createElement(s,{...c,...b,ref:e.useCallback(l=>{m.current=l,typeof g=="function"?g(l):g!==null&&(g.current=l)},[g])},b.children)});return i.displayName=p??o.name,i}({react:$,tagName:"wistia-video",elementClass:F,toAttributeName:e=>e==="muted"?"":e==="defaultMuted"?"muted":_(e)});/*! Bundled license information:
35
+
36
+ ce-la-react/dist/ce-la-react.js:
37
+ (**
38
+ * @license
39
+ * Copyright 2018 Google LLC
40
+ * SPDX-License-Identifier: BSD-3-Clause
41
+ *
42
+ * Modified version of `@lit/react` for vanilla custom elements with support for SSR.
43
+ *)
44
+ */export{G as default};
@@ -0,0 +1,37 @@
1
+ import{c as ee,b as Re}from"./sentry-Q4kep6XN.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new n.Error().stack;t&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[t]="91e1f775-cdfd-4ce0-b16f-1ddc2d109154",n._sentryDebugIdIdentifier="sentry-dbid-91e1f775-cdfd-4ce0-b16f-1ddc2d109154")}catch{}})();/*! @vimeo/player v2.29.0 | (c) 2025 Vimeo | MIT License | https://github.com/vimeo/player.js */function le(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),e.push.apply(e,r)}return e}function he(n){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?arguments[t]:{};t%2?le(Object(e),!0).forEach(function(r){X(n,r,e[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):le(Object(e)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(e,r))})}return n}function N(){N=function(){return n};var n={},t=Object.prototype,e=t.hasOwnProperty,r=Object.defineProperty||function(h,c,p){h[c]=p.value},i=typeof Symbol=="function"?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function u(h,c,p){return Object.defineProperty(h,c,{value:p,enumerable:!0,configurable:!0,writable:!0}),h[c]}try{u({},"")}catch{u=function(c,p,E){return c[p]=E}}function v(h,c,p,E){var g=c&&c.prototype instanceof y?c:y,j=Object.create(g.prototype),C=new O(E||[]);return r(j,"_invoke",{value:f(h,p,C)}),j}function b(h,c,p){try{return{type:"normal",arg:h.call(c,p)}}catch(E){return{type:"throw",arg:E}}}n.wrap=v;var w={};function y(){}function T(){}function x(){}var P={};u(P,o,function(){return this});var A=Object.getPrototypeOf,S=A&&A(A(q([])));S&&S!==t&&e.call(S,o)&&(P=S);var _=x.prototype=y.prototype=Object.create(P);function M(h){["next","throw","return"].forEach(function(c){u(h,c,function(p){return this._invoke(c,p)})})}function l(h,c){function p(g,j,C,R){var F=b(h[g],h,j);if(F.type!=="throw"){var B=F.arg,$=B.value;return $&&typeof $=="object"&&e.call($,"__await")?c.resolve($.__await).then(function(W){p("next",W,C,R)},function(W){p("throw",W,C,R)}):c.resolve($).then(function(W){B.value=W,C(B)},function(W){return p("throw",W,C,R)})}R(F.arg)}var E;r(this,"_invoke",{value:function(g,j){function C(){return new c(function(R,F){p(g,j,R,F)})}return E=E?E.then(C,C):C()}})}function f(h,c,p){var E="suspendedStart";return function(g,j){if(E==="executing")throw new Error("Generator is already running");if(E==="completed"){if(g==="throw")throw j;return J()}for(p.method=g,p.arg=j;;){var C=p.delegate;if(C){var R=d(C,p);if(R){if(R===w)continue;return R}}if(p.method==="next")p.sent=p._sent=p.arg;else if(p.method==="throw"){if(E==="suspendedStart")throw E="completed",p.arg;p.dispatchException(p.arg)}else p.method==="return"&&p.abrupt("return",p.arg);E="executing";var F=b(h,c,p);if(F.type==="normal"){if(E=p.done?"completed":"suspendedYield",F.arg===w)continue;return{value:F.arg,done:p.done}}F.type==="throw"&&(E="completed",p.method="throw",p.arg=F.arg)}}}function d(h,c){var p=c.method,E=h.iterator[p];if(E===void 0)return c.delegate=null,p==="throw"&&h.iterator.return&&(c.method="return",c.arg=void 0,d(h,c),c.method==="throw")||p!=="return"&&(c.method="throw",c.arg=new TypeError("The iterator does not provide a '"+p+"' method")),w;var g=b(E,h.iterator,c.arg);if(g.type==="throw")return c.method="throw",c.arg=g.arg,c.delegate=null,w;var j=g.arg;return j?j.done?(c[h.resultName]=j.value,c.next=h.nextLoc,c.method!=="return"&&(c.method="next",c.arg=void 0),c.delegate=null,w):j:(c.method="throw",c.arg=new TypeError("iterator result is not an object"),c.delegate=null,w)}function k(h){var c={tryLoc:h[0]};1 in h&&(c.catchLoc=h[1]),2 in h&&(c.finallyLoc=h[2],c.afterLoc=h[3]),this.tryEntries.push(c)}function m(h){var c=h.completion||{};c.type="normal",delete c.arg,h.completion=c}function O(h){this.tryEntries=[{tryLoc:"root"}],h.forEach(k,this),this.reset(!0)}function q(h){if(h){var c=h[o];if(c)return c.call(h);if(typeof h.next=="function")return h;if(!isNaN(h.length)){var p=-1,E=function g(){for(;++p<h.length;)if(e.call(h,p))return g.value=h[p],g.done=!1,g;return g.value=void 0,g.done=!0,g};return E.next=E}}return{next:J}}function J(){return{value:void 0,done:!0}}return T.prototype=x,r(_,"constructor",{value:x,configurable:!0}),r(x,"constructor",{value:T,configurable:!0}),T.displayName=u(x,s,"GeneratorFunction"),n.isGeneratorFunction=function(h){var c=typeof h=="function"&&h.constructor;return!!c&&(c===T||(c.displayName||c.name)==="GeneratorFunction")},n.mark=function(h){return Object.setPrototypeOf?Object.setPrototypeOf(h,x):(h.__proto__=x,u(h,s,"GeneratorFunction")),h.prototype=Object.create(_),h},n.awrap=function(h){return{__await:h}},M(l.prototype),u(l.prototype,a,function(){return this}),n.AsyncIterator=l,n.async=function(h,c,p,E,g){g===void 0&&(g=Promise);var j=new l(v(h,c,p,E),g);return n.isGeneratorFunction(c)?j:j.next().then(function(C){return C.done?C.value:j.next()})},M(_),u(_,s,"Generator"),u(_,o,function(){return this}),u(_,"toString",function(){return"[object Generator]"}),n.keys=function(h){var c=Object(h),p=[];for(var E in c)p.push(E);return p.reverse(),function g(){for(;p.length;){var j=p.pop();if(j in c)return g.value=j,g.done=!1,g}return g.done=!0,g}},n.values=q,O.prototype={constructor:O,reset:function(h){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(m),!h)for(var c in this)c.charAt(0)==="t"&&e.call(this,c)&&!isNaN(+c.slice(1))&&(this[c]=void 0)},stop:function(){this.done=!0;var h=this.tryEntries[0].completion;if(h.type==="throw")throw h.arg;return this.rval},dispatchException:function(h){if(this.done)throw h;var c=this;function p(F,B){return j.type="throw",j.arg=h,c.next=F,B&&(c.method="next",c.arg=void 0),!!B}for(var E=this.tryEntries.length-1;E>=0;--E){var g=this.tryEntries[E],j=g.completion;if(g.tryLoc==="root")return p("end");if(g.tryLoc<=this.prev){var C=e.call(g,"catchLoc"),R=e.call(g,"finallyLoc");if(C&&R){if(this.prev<g.catchLoc)return p(g.catchLoc,!0);if(this.prev<g.finallyLoc)return p(g.finallyLoc)}else if(C){if(this.prev<g.catchLoc)return p(g.catchLoc,!0)}else{if(!R)throw new Error("try statement without catch or finally");if(this.prev<g.finallyLoc)return p(g.finallyLoc)}}}},abrupt:function(h,c){for(var p=this.tryEntries.length-1;p>=0;--p){var E=this.tryEntries[p];if(E.tryLoc<=this.prev&&e.call(E,"finallyLoc")&&this.prev<E.finallyLoc){var g=E;break}}g&&(h==="break"||h==="continue")&&g.tryLoc<=c&&c<=g.finallyLoc&&(g=null);var j=g?g.completion:{};return j.type=h,j.arg=c,g?(this.method="next",this.next=g.finallyLoc,w):this.complete(j)},complete:function(h,c){if(h.type==="throw")throw h.arg;return h.type==="break"||h.type==="continue"?this.next=h.arg:h.type==="return"?(this.rval=this.arg=h.arg,this.method="return",this.next="end"):h.type==="normal"&&c&&(this.next=c),w},finish:function(h){for(var c=this.tryEntries.length-1;c>=0;--c){var p=this.tryEntries[c];if(p.finallyLoc===h)return this.complete(p.completion,p.afterLoc),m(p),w}},catch:function(h){for(var c=this.tryEntries.length-1;c>=0;--c){var p=this.tryEntries[c];if(p.tryLoc===h){var E=p.completion;if(E.type==="throw"){var g=E.arg;m(p)}return g}}throw new Error("illegal catch attempt")},delegateYield:function(h,c,p){return this.delegate={iterator:q(h),resultName:c,nextLoc:p},this.method==="next"&&(this.arg=void 0),w}},n}function fe(n,t,e,r,i,o,a){try{var s=n[o](a),u=s.value}catch(v){return void e(v)}s.done?t(u):Promise.resolve(u).then(r,i)}function H(n){return function(){var t=this,e=arguments;return new Promise(function(r,i){var o=n.apply(t,e);function a(u){fe(o,r,i,a,s,"next",u)}function s(u){fe(o,r,i,a,s,"throw",u)}a(void 0)})}}function Pe(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function je(n,t,e){return t&&function(r,i){for(var o=0;o<i.length;o++){var a=i[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(r,Oe(a.key),a)}}(n.prototype,t),Object.defineProperty(n,"prototype",{writable:!1}),n}function X(n,t,e){return(t=Oe(t))in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}function Y(n){return Y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Y(n)}function Q(n,t){return Q=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,r){return e.__proto__=r,e},Q(n,t)}function _e(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ae(n,t,e){return ae=_e()?Reflect.construct.bind():function(r,i,o){var a=[null];a.push.apply(a,i);var s=new(Function.bind.apply(r,a));return o&&Q(s,o.prototype),s},ae.apply(null,arguments)}function ue(n){var t=typeof Map=="function"?new Map:void 0;return ue=function(e){if(e===null||(r=e,Function.toString.call(r).indexOf("[native code]")===-1))return e;var r;if(typeof e!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(e))return t.get(e);t.set(e,i)}function i(){return ae(e,arguments,Y(this).constructor)}return i.prototype=Object.create(e.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Q(i,e)},ue(n)}function Z(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function Fe(n){var t=_e();return function(){var e,r=Y(n);if(t){var i=Y(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return function(o,a){if(a&&(typeof a=="object"||typeof a=="function"))return a;if(a!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Z(o)}(this,e)}}function Oe(n){var t=function(e,r){if(typeof e!="object"||e===null)return e;var i=e[Symbol.toPrimitive];if(i!==void 0){var o=i.call(e,r);if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(n,"string");return typeof t=="symbol"?t:String(t)}var Ae=ee!==void 0&&{}.toString.call(ee)==="[object global]";function de(n,t){return n.indexOf(t.toLowerCase())===0?n:"".concat(t.toLowerCase()).concat(n.substr(0,1).toUpperCase()).concat(n.substr(1))}function z(n){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(n)}function pe(n){return/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/.test(n)}function Ce(){var n,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=t.id,r=t.url,i=e||r;if(!i)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(n=i,!isNaN(parseFloat(n))&&isFinite(n)&&Math.floor(n)==n)return"https://vimeo.com/".concat(i);if(z(i))return i.replace("http:","https:");throw e?new TypeError("“".concat(e,"” is not a valid video id.")):new TypeError("“".concat(i,"” is not a vimeo.com url."))}var ve=function(n,t,e){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"addEventListener",i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"removeEventListener",o=typeof t=="string"?[t]:t;return o.forEach(function(a){n[r](a,e)}),{cancel:function(){return o.forEach(function(a){return n[i](a,e)})}}},Ie=Array.prototype.indexOf!==void 0,qe=typeof window<"u"&&window.postMessage!==void 0;if(!(Ae||Ie&&qe))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var Me=typeof globalThis<"u"?globalThis:typeof window<"u"?window:ee!==void 0?ee:typeof self<"u"?self:{};/*!
2
+ * weakmap-polyfill v2.0.4 - ECMAScript6 WeakMap polyfill
3
+ * https://github.com/polygonplanet/weakmap-polyfill
4
+ * Copyright (c) 2015-2021 polygonplanet <polygon.planet.aqua@gmail.com>
5
+ * @license MIT
6
+ */(function(n){if(!n.WeakMap){var t=Object.prototype.hasOwnProperty,e=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}}(),r=function(o,a,s){e?Object.defineProperty(o,a,{configurable:!0,writable:!0,value:s}):o[a]=s};n.WeakMap=function(){function o(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(r(this,"_id","_WeakMap_"+s()+"."+s()),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}function a(u,v){if(!i(u)||!t.call(u,"_id"))throw new TypeError(v+" method called on incompatible receiver "+typeof u)}function s(){return Math.random().toString().substring(2)}return r(o.prototype,"delete",function(u){if(a(this,"delete"),!i(u))return!1;var v=u[this._id];return!(!v||v[0]!==u)&&(delete u[this._id],!0)}),r(o.prototype,"get",function(u){if(a(this,"get"),i(u)){var v=u[this._id];return v&&v[0]===u?v[1]:void 0}}),r(o.prototype,"has",function(u){if(a(this,"has"),!i(u))return!1;var v=u[this._id];return!(!v||v[0]!==u)}),r(o.prototype,"set",function(u,v){if(a(this,"set"),!i(u))throw new TypeError("Invalid value used as weak map key");var b=u[this._id];return b&&b[0]===u?(b[1]=v,this):(r(u,this._id,[u,v]),this)}),r(o,"_polyfill",!0),o}()}function i(o){return Object(o)===o}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:Me);var me,re,I=(me=function(n){/*! Native Promise Only
7
+ v0.8.1 (c) Kyle Simpson
8
+ MIT License: http://getify.mit-license.org
9
+ */var t,e,r;r=function(){var i,o,a,s=Object.prototype.toString,u=typeof setImmediate<"u"?function(l){return setImmediate(l)}:setTimeout;try{Object.defineProperty({},"x",{}),i=function(l,f,d,k){return Object.defineProperty(l,f,{value:d,writable:!0,configurable:k!==!1})}}catch{i=function(f,d,k){return f[d]=k,f}}function v(l,f){a.add(l,f),o||(o=u(a.drain))}function b(l){var f,d=typeof l;return l==null||d!="object"&&d!="function"||(f=l.then),typeof f=="function"&&f}function w(){for(var l=0;l<this.chain.length;l++)y(this,this.state===1?this.chain[l].success:this.chain[l].failure,this.chain[l]);this.chain.length=0}function y(l,f,d){var k,m;try{f===!1?d.reject(l.msg):(k=f===!0?l.msg:f.call(void 0,l.msg))===d.promise?d.reject(TypeError("Promise-chain cycle")):(m=b(k))?m.call(k,d.resolve,d.reject):d.resolve(k)}catch(O){d.reject(O)}}function T(l){var f,d=this;if(!d.triggered){d.triggered=!0,d.def&&(d=d.def);try{(f=b(l))?v(function(){var k=new A(d);try{f.call(l,function(){T.apply(k,arguments)},function(){x.apply(k,arguments)})}catch(m){x.call(k,m)}}):(d.msg=l,d.state=1,d.chain.length>0&&v(w,d))}catch(k){x.call(new A(d),k)}}}function x(l){var f=this;f.triggered||(f.triggered=!0,f.def&&(f=f.def),f.msg=l,f.state=2,f.chain.length>0&&v(w,f))}function P(l,f,d,k){for(var m=0;m<f.length;m++)(function(O){l.resolve(f[O]).then(function(q){d(O,q)},k)})(m)}function A(l){this.def=l,this.triggered=!1}function S(l){this.promise=l,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function _(l){if(typeof l!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var f=new S(this);this.then=function(d,k){var m={success:typeof d!="function"||d,failure:typeof k=="function"&&k};return m.promise=new this.constructor(function(O,q){if(typeof O!="function"||typeof q!="function")throw TypeError("Not a function");m.resolve=O,m.reject=q}),f.chain.push(m),f.state!==0&&v(w,f),m.promise},this.catch=function(d){return this.then(void 0,d)};try{l.call(void 0,function(d){T.call(f,d)},function(d){x.call(f,d)})}catch(d){x.call(f,d)}}a=function(){var l,f,d;function k(m,O){this.fn=m,this.self=O,this.next=void 0}return{add:function(m,O){d=new k(m,O),f?f.next=d:l=d,f=d,d=void 0},drain:function(){var m=l;for(l=f=o=void 0;m;)m.fn.call(m.self),m=m.next}}}();var M=i({},"constructor",_,!1);return _.prototype=M,i(M,"__NPO__",0,!1),i(_,"resolve",function(l){return l&&typeof l=="object"&&l.__NPO__===1?l:new this(function(f,d){if(typeof f!="function"||typeof d!="function")throw TypeError("Not a function");f(l)})}),i(_,"reject",function(l){return new this(function(f,d){if(typeof f!="function"||typeof d!="function")throw TypeError("Not a function");d(l)})}),i(_,"all",function(l){var f=this;return s.call(l)!="[object Array]"?f.reject(TypeError("Not an array")):l.length===0?f.resolve([]):new f(function(d,k){if(typeof d!="function"||typeof k!="function")throw TypeError("Not a function");var m=l.length,O=Array(m),q=0;P(f,l,function(J,h){O[J]=h,++q===m&&d(O)},k)})}),i(_,"race",function(l){var f=this;return s.call(l)!="[object Array]"?f.reject(TypeError("Not an array")):new f(function(d,k){if(typeof d!="function"||typeof k!="function")throw TypeError("Not a function");P(f,l,function(m,O){d(O)},k)})}),_},(e=Me)[t="Promise"]=e[t]||r(),n.exports&&(n.exports=e[t])},me(re={exports:{}},re.exports),re.exports),V=new WeakMap;function G(n,t,e){var r=V.get(n.element)||{};t in r||(r[t]=[]),r[t].push(e),V.set(n.element,r)}function K(n,t){return(V.get(n.element)||{})[t]||[]}function te(n,t,e){var r=V.get(n.element)||{};if(!r[t])return!0;if(!e)return r[t]=[],V.set(n.element,r),!0;var i=r[t].indexOf(e);return i!==-1&&r[t].splice(i,1),V.set(n.element,r),r[t]&&r[t].length===0}function ne(n){if(typeof n=="string")try{n=JSON.parse(n)}catch(t){return console.warn(t),{}}return n}function D(n,t,e){if(n.element.contentWindow&&n.element.contentWindow.postMessage){var r={method:t};e!==void 0&&(r.value=e);var i=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));i>=8&&i<10&&(r=JSON.stringify(r)),n.element.contentWindow.postMessage(r,n.origin)}}function Ve(n,t){var e,r=[];if((t=ne(t)).event)t.event==="error"&&K(n,t.data.method).forEach(function(o){var a=new Error(t.data.message);a.name=t.data.name,o.reject(a),te(n,t.data.method,o)}),r=K(n,"event:".concat(t.event)),e=t.data;else if(t.method){var i=function(o,a){var s=K(o,a);if(s.length<1)return!1;var u=s.shift();return te(o,a,u),u}(n,t.method);i&&(r.push(i),e=t.value)}r.forEach(function(o){try{if(typeof o=="function")return void o.call(n,e);o.resolve(e)}catch{}})}var We=["airplay","audio_tracks","audiotrack","autopause","autoplay","background","byline","cc","chapter_id","chapters","chromecast","color","colors","controls","dnt","end_time","fullscreen","height","id","initial_quality","interactive_params","keyboard","loop","maxheight","max_quality","maxwidth","min_quality","muted","play_button_position","playsinline","portrait","preload","progress_bar","quality","quality_selector","responsive","skipping_forward","speed","start_time","texttrack","thumbnail_id","title","transcript","transparent","unmute_button","url","vimeo_logo","volume","watch_full_video","width"];function Ne(n){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return We.reduce(function(e,r){var i=n.getAttribute("data-vimeo-".concat(r));return(i||i==="")&&(e[r]=i===""?1:i),e},t)}function ce(n,t){var e=n.html;if(!t)throw new TypeError("An element must be provided");if(t.getAttribute("data-vimeo-initialized")!==null)return t.querySelector("iframe");var r=document.createElement("div");return r.innerHTML=e,t.appendChild(r.firstChild),t.setAttribute("data-vimeo-initialized","true"),t.querySelector("iframe")}function Le(n){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e=arguments.length>2?arguments[2]:void 0;return new Promise(function(r,i){if(!z(n))throw new TypeError("“".concat(n,"” is not a vimeo.com url."));var o=function(v){for(var b=(v||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),w=(b&&b[1]||"").replace("player.",""),y=0,T=[".videoji.hk",".vimeo.work",".videoji.cn"];y<T.length;y++){var x=T[y];if(w.endsWith(x))return w}return"vimeo.com"}(n),a="https://".concat(o,"/api/oembed.json?url=").concat(encodeURIComponent(n));for(var s in t)t.hasOwnProperty(s)&&(a+="&".concat(s,"=").concat(encodeURIComponent(t[s])));var u="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;u.open("GET",a,!0),u.onload=function(){if(u.status!==404)if(u.status!==403)try{var v=JSON.parse(u.responseText);if(v.domain_status_code===403)return ce(v,e),void i(new Error("“".concat(n,"” is not embeddable.")));r(v)}catch(b){i(b)}else i(new Error("“".concat(n,"” is not embeddable.")));else i(new Error("“".concat(n,"” was not found.")))},u.onerror=function(){var v=u.status?" (".concat(u.status,")"):"";i(new Error("There was an error fetching the embed code from Vimeo".concat(v,".")))},u.send()})}var De={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1},He=function(){(function(o,a){if(typeof a!="function"&&a!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(a&&a.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),a&&Q(o,a)})(i,ue(EventTarget));var n,t,e,r=Fe(i);function i(o,a){var s,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},v=arguments.length>3?arguments[3]:void 0;return Pe(this,i),X(Z(s=r.call(this)),"logger",void 0),X(Z(s),"speedAdjustment",0),X(Z(s),"adjustSpeed",function(){var b=H(N().mark(function w(y,T){var x;return N().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:if(s.speedAdjustment!==T){P.next=2;break}return P.abrupt("return");case 2:return P.next=4,y.getPlaybackRate();case 4:return P.t0=P.sent,P.t1=s.speedAdjustment,P.t2=P.t0-P.t1,P.t3=T,x=P.t2+P.t3,s.log("New playbackRate: ".concat(x)),P.next=12,y.setPlaybackRate(x);case 12:s.speedAdjustment=T;case 13:case"end":return P.stop()}},w)}));return function(w,y){return b.apply(this,arguments)}}()),s.logger=v,s.init(a,o,he(he({},De),u)),s}return je(i,[{key:"disconnect",value:function(){this.dispatchEvent(new Event("disconnect"))}},{key:"init",value:(e=H(N().mark(function o(a,s,u){var v,b,w,y=this;return N().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:return T.next=2,this.waitForTOReadyState(a,"open");case 2:if(u.role!=="viewer"){T.next=10;break}return T.next=5,this.updatePlayer(a,s,u);case 5:v=ve(a,"change",function(){return y.updatePlayer(a,s,u)}),b=this.maintainPlaybackPosition(a,s,u),this.addEventListener("disconnect",function(){b.cancel(),v.cancel()}),T.next=14;break;case 10:return T.next=12,this.updateTimingObject(a,s);case 12:w=ve(s,["seeked","play","pause","ratechange"],function(){return y.updateTimingObject(a,s)},"on","off"),this.addEventListener("disconnect",function(){return w.cancel()});case 14:case"end":return T.stop()}},o,this)})),function(o,a,s){return e.apply(this,arguments)})},{key:"updateTimingObject",value:(t=H(N().mark(function o(a,s){return N().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.t0=a,u.next=3,s.getCurrentTime();case 3:return u.t1=u.sent,u.next=6,s.getPaused();case 6:if(!u.sent){u.next=10;break}u.t2=0,u.next=13;break;case 10:return u.next=12,s.getPlaybackRate();case 12:u.t2=u.sent;case 13:u.t3=u.t2,u.t4={position:u.t1,velocity:u.t3},u.t0.update.call(u.t0,u.t4);case 16:case"end":return u.stop()}},o)})),function(o,a){return t.apply(this,arguments)})},{key:"updatePlayer",value:(n=H(N().mark(function o(a,s,u){var v,b,w;return N().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:if(v=a.query(),b=v.position,w=v.velocity,typeof b=="number"&&s.setCurrentTime(b),typeof w!="number"){y.next=25;break}if(w!==0){y.next=11;break}return y.next=6,s.getPaused();case 6:if(y.t0=y.sent,y.t0!==!1){y.next=9;break}s.pause();case 9:y.next=25;break;case 11:if(!(w>0)){y.next=25;break}return y.next=14,s.getPaused();case 14:if(y.t1=y.sent,y.t1!==!0){y.next=19;break}return y.next=18,s.play().catch(function(){var T=H(N().mark(function x(P){return N().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:if(P.name!=="NotAllowedError"||!u.autoPlayMuted){A.next=5;break}return A.next=3,s.setMuted(!0);case 3:return A.next=5,s.play().catch(function(S){return console.error("Couldn't play the video from TimingSrcConnector. Error:",S)});case 5:case"end":return A.stop()}},x)}));return function(x){return T.apply(this,arguments)}}());case 18:this.updatePlayer(a,s,u);case 19:return y.next=21,s.getPlaybackRate();case 21:if(y.t2=y.sent,y.t3=w,y.t2===y.t3){y.next=25;break}s.setPlaybackRate(w);case 25:case"end":return y.stop()}},o,this)})),function(o,a,s){return n.apply(this,arguments)})},{key:"maintainPlaybackPosition",value:function(o,a,s){var u=this,v=s.allowedDrift,b=s.maxAllowedDrift,w=s.minCheckInterval,y=s.maxRateAdjustment,T=s.maxTimeToCatchUp,x=1e3*Math.min(T,Math.max(w,b)),P=function(){var S=H(N().mark(function _(){var M,l,f,d,k;return N().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:if(m.t0=o.query().velocity===0,m.t0){m.next=6;break}return m.next=4,a.getPaused();case 4:m.t1=m.sent,m.t0=m.t1===!0;case 6:if(!m.t0){m.next=8;break}return m.abrupt("return");case 8:return m.t2=o.query().position,m.next=11,a.getCurrentTime();case 11:if(m.t3=m.sent,M=m.t2-m.t3,l=Math.abs(M),u.log("Drift: ".concat(M)),!(l>b)){m.next=22;break}return m.next=18,u.adjustSpeed(a,0);case 18:a.setCurrentTime(o.query().position),u.log("Resync by currentTime"),m.next=29;break;case 22:if(!(l>v)){m.next=29;break}return k=(f=l/T)<(d=y)?(d-f)/2:d,m.next=28,u.adjustSpeed(a,k*Math.sign(M));case 28:u.log("Resync by playbackRate");case 29:case"end":return m.stop()}},_)}));return function(){return S.apply(this,arguments)}}(),A=setInterval(function(){return P()},x);return{cancel:function(){return clearInterval(A)}}}},{key:"log",value:function(o){var a;(a=this.logger)===null||a===void 0||a.call(this,"TimingSrcConnector: ".concat(o))}},{key:"waitForTOReadyState",value:function(o,a){return new Promise(function(s){(function u(){o.readyState===a?s():o.addEventListener("readystatechange",u,{once:!0})})()})}}]),i}(),U=new WeakMap,ie=new WeakMap,L={},se=function(){function n(e){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(Pe(this,n),window.jQuery&&e instanceof jQuery&&(e.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),e=e[0]),typeof document<"u"&&typeof e=="string"&&(e=document.getElementById(e)),!function(u){return!!(u&&u.nodeType===1&&"nodeName"in u&&u.ownerDocument&&u.ownerDocument.defaultView)}(e))throw new TypeError("You must pass either a valid element or a valid id.");if(e.nodeName!=="IFRAME"){var o=e.querySelector("iframe");o&&(e=o)}if(e.nodeName==="IFRAME"&&!z(e.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(U.has(e))return U.get(e);this._window=e.ownerDocument.defaultView,this.element=e,this.origin="*";var a=new I(function(u,v){if(r._onMessage=function(w){if(z(w.origin)&&r.element.contentWindow===w.source){r.origin==="*"&&(r.origin=w.origin);var y=ne(w.data);if(y&&y.event==="error"&&y.data&&y.data.method==="ready"){var T=new Error(y.data.message);return T.name=y.data.name,void v(T)}var x=y&&y.event==="ready",P=y&&y.method==="ping";if(x||P)return r.element.setAttribute("data-ready","true"),void u();Ve(r,y)}},r._window.addEventListener("message",r._onMessage),r.element.nodeName!=="IFRAME"){var b=Ne(e,i);Le(Ce(b),b,e).then(function(w){var y,T,x,P=ce(w,e);return r.element=P,r._originalElement=e,y=e,T=P,x=V.get(y),V.set(T,x),V.delete(y),U.set(r.element,r),w}).catch(v)}});if(ie.set(this,a),U.set(this.element,this),this.element.nodeName==="IFRAME"&&D(this,"ping"),L.isEnabled){var s=function(){return L.exit()};this.fullscreenchangeHandler=function(){L.isFullscreen?G(r,"event:exitFullscreen",s):te(r,"event:exitFullscreen",s),r.ready().then(function(){D(r,"fullscreenchange",L.isFullscreen)})},L.on("fullscreenchange",this.fullscreenchangeHandler)}return this}var t;return je(n,[{key:"callMethod",value:function(e){for(var r=this,i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];if(e==null)throw new TypeError("You must pass a method name.");return new I(function(s,u){return r.ready().then(function(){G(r,e,{resolve:s,reject:u}),D(r,e,o)}).catch(u)})}},{key:"get",value:function(e){var r=this;return new I(function(i,o){return e=de(e,"get"),r.ready().then(function(){G(r,e,{resolve:i,reject:o}),D(r,e)}).catch(o)})}},{key:"set",value:function(e,r){var i=this;return new I(function(o,a){if(e=de(e,"set"),r==null)throw new TypeError("There must be a value to set.");return i.ready().then(function(){G(i,e,{resolve:o,reject:a}),D(i,e,r)}).catch(a)})}},{key:"on",value:function(e,r){if(!e)throw new TypeError("You must pass an event name.");if(!r)throw new TypeError("You must pass a callback function.");if(typeof r!="function")throw new TypeError("The callback must be a function.");K(this,"event:".concat(e)).length===0&&this.callMethod("addEventListener",e).catch(function(){}),G(this,"event:".concat(e),r)}},{key:"off",value:function(e,r){if(!e)throw new TypeError("You must pass an event name.");if(r&&typeof r!="function")throw new TypeError("The callback must be a function.");te(this,"event:".concat(e),r)&&this.callMethod("removeEventListener",e).catch(function(i){})}},{key:"loadVideo",value:function(e){return this.callMethod("loadVideo",e)}},{key:"ready",value:function(){var e=ie.get(this)||new I(function(r,i){i(new Error("Unknown player. Probably unloaded."))});return I.resolve(e)}},{key:"addCuePoint",value:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.callMethod("addCuePoint",{time:e,data:r})}},{key:"removeCuePoint",value:function(e){return this.callMethod("removeCuePoint",e)}},{key:"enableTextTrack",value:function(e,r){if(!e)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:e,kind:r})}},{key:"disableTextTrack",value:function(){return this.callMethod("disableTextTrack")}},{key:"pause",value:function(){return this.callMethod("pause")}},{key:"play",value:function(){return this.callMethod("play")}},{key:"requestFullscreen",value:function(){return L.isEnabled?L.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return L.isEnabled?L.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return L.isEnabled?I.resolve(L.isFullscreen):this.get("fullscreen")}},{key:"requestPictureInPicture",value:function(){return this.callMethod("requestPictureInPicture")}},{key:"exitPictureInPicture",value:function(){return this.callMethod("exitPictureInPicture")}},{key:"getPictureInPicture",value:function(){return this.get("pictureInPicture")}},{key:"remotePlaybackPrompt",value:function(){return this.callMethod("remotePlaybackPrompt")}},{key:"unload",value:function(){return this.callMethod("unload")}},{key:"destroy",value:function(){var e=this;return new I(function(r){if(ie.delete(e),U.delete(e.element),e._originalElement&&(U.delete(e._originalElement),e._originalElement.removeAttribute("data-vimeo-initialized")),e.element&&e.element.nodeName==="IFRAME"&&e.element.parentNode&&(e.element.parentNode.parentNode&&e._originalElement&&e._originalElement!==e.element.parentNode?e.element.parentNode.parentNode.removeChild(e.element.parentNode):e.element.parentNode.removeChild(e.element)),e.element&&e.element.nodeName==="DIV"&&e.element.parentNode){e.element.removeAttribute("data-vimeo-initialized");var i=e.element.querySelector("iframe");i&&i.parentNode&&(i.parentNode.parentNode&&e._originalElement&&e._originalElement!==i.parentNode?i.parentNode.parentNode.removeChild(i.parentNode):i.parentNode.removeChild(i))}e._window.removeEventListener("message",e._onMessage),L.isEnabled&&L.off("fullscreenchange",e.fullscreenchangeHandler),r()})}},{key:"getAutopause",value:function(){return this.get("autopause")}},{key:"setAutopause",value:function(e){return this.set("autopause",e)}},{key:"getBuffered",value:function(){return this.get("buffered")}},{key:"getCameraProps",value:function(){return this.get("cameraProps")}},{key:"setCameraProps",value:function(e){return this.set("cameraProps",e)}},{key:"getChapters",value:function(){return this.get("chapters")}},{key:"getCurrentChapter",value:function(){return this.get("currentChapter")}},{key:"getColor",value:function(){return this.get("color")}},{key:"getColors",value:function(){return I.all([this.get("colorOne"),this.get("colorTwo"),this.get("colorThree"),this.get("colorFour")])}},{key:"setColor",value:function(e){return this.set("color",e)}},{key:"setColors",value:function(e){if(!Array.isArray(e))return new I(function(o,a){return a(new TypeError("Argument must be an array."))});var r=new I(function(o){return o(null)}),i=[e[0]?this.set("colorOne",e[0]):r,e[1]?this.set("colorTwo",e[1]):r,e[2]?this.set("colorThree",e[2]):r,e[3]?this.set("colorFour",e[3]):r];return I.all(i)}},{key:"getCuePoints",value:function(){return this.get("cuePoints")}},{key:"getCurrentTime",value:function(){return this.get("currentTime")}},{key:"setCurrentTime",value:function(e){return this.set("currentTime",e)}},{key:"getDuration",value:function(){return this.get("duration")}},{key:"getEnded",value:function(){return this.get("ended")}},{key:"getLoop",value:function(){return this.get("loop")}},{key:"setLoop",value:function(e){return this.set("loop",e)}},{key:"setMuted",value:function(e){return this.set("muted",e)}},{key:"getMuted",value:function(){return this.get("muted")}},{key:"getPaused",value:function(){return this.get("paused")}},{key:"getPlaybackRate",value:function(){return this.get("playbackRate")}},{key:"setPlaybackRate",value:function(e){return this.set("playbackRate",e)}},{key:"getPlayed",value:function(){return this.get("played")}},{key:"getQualities",value:function(){return this.get("qualities")}},{key:"getQuality",value:function(){return this.get("quality")}},{key:"setQuality",value:function(e){return this.set("quality",e)}},{key:"getRemotePlaybackAvailability",value:function(){return this.get("remotePlaybackAvailability")}},{key:"getRemotePlaybackState",value:function(){return this.get("remotePlaybackState")}},{key:"getSeekable",value:function(){return this.get("seekable")}},{key:"getSeeking",value:function(){return this.get("seeking")}},{key:"getTextTracks",value:function(){return this.get("textTracks")}},{key:"getVideoEmbedCode",value:function(){return this.get("videoEmbedCode")}},{key:"getVideoId",value:function(){return this.get("videoId")}},{key:"getVideoTitle",value:function(){return this.get("videoTitle")}},{key:"getVideoWidth",value:function(){return this.get("videoWidth")}},{key:"getVideoHeight",value:function(){return this.get("videoHeight")}},{key:"getVideoUrl",value:function(){return this.get("videoUrl")}},{key:"getVolume",value:function(){return this.get("volume")}},{key:"setVolume",value:function(e){return this.set("volume",e)}},{key:"setTimingSrc",value:(t=H(N().mark(function e(r,i){var o,a=this;return N().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:if(r){s.next=2;break}throw new TypeError("A Timing Object must be provided.");case 2:return s.next=4,this.ready();case 4:return o=new He(this,r,i),D(this,"notifyTimingObjectConnect"),o.addEventListener("disconnect",function(){return D(a,"notifyTimingObjectDisconnect")}),s.abrupt("return",o);case 8:case"end":return s.stop()}},e,this)})),function(e,r){return t.apply(this,arguments)})}]),n}();Ae||(L=function(){var n=function(){for(var r,i=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],o=0,a=i.length,s={};o<a;o++)if((r=i[o])&&r[1]in document){for(o=0;o<r.length;o++)s[i[0][o]]=r[o];return s}return!1}(),t={fullscreenchange:n.fullscreenchange,fullscreenerror:n.fullscreenerror},e={request:function(r){return new Promise(function(i,o){var a=function u(){e.off("fullscreenchange",u),i()};e.on("fullscreenchange",a);var s=(r=r||document.documentElement)[n.requestFullscreen]();s instanceof Promise&&s.then(a).catch(o)})},exit:function(){return new Promise(function(r,i){if(e.isFullscreen){var o=function s(){e.off("fullscreenchange",s),r()};e.on("fullscreenchange",o);var a=document[n.exitFullscreen]();a instanceof Promise&&a.then(o).catch(i)}else r()})},on:function(r,i){var o=t[r];o&&document.addEventListener(o,i)},off:function(r,i){var o=t[r];o&&document.removeEventListener(o,i)}};return Object.defineProperties(e,{isFullscreen:{get:function(){return!!document[n.fullscreenElement]}},element:{enumerable:!0,get:function(){return document[n.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return!!document[n.fullscreenEnabled]}}}),e}(),function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document,t=[].slice.call(n.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),e=function(r){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(r))};t.forEach(function(r){try{if(r.getAttribute("data-vimeo-defer")!==null)return;var i=Ne(r);Le(Ce(i),i,r).then(function(o){return ce(o,r)}).catch(e)}catch(o){e(o)}})}(),function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;window.VimeoPlayerResizeEmbeds_||(window.VimeoPlayerResizeEmbeds_=!0,window.addEventListener("message",function(t){if(z(t.origin)&&t.data&&t.data.event==="spacechange"){for(var e=n.querySelectorAll("iframe"),r=0;r<e.length;r++)if(e[r].contentWindow===t.source){e[r].parentElement.style.paddingBottom="".concat(t.data.data[0].bottom,"px");break}}}))}(),function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;window.VimeoSeoMetadataAppended||(window.VimeoSeoMetadataAppended=!0,window.addEventListener("message",function(t){if(z(t.origin)){var e=ne(t.data);if(e&&e.event==="ready")for(var r=n.querySelectorAll("iframe"),i=0;i<r.length;i++){var o=r[i],a=o.contentWindow===t.source;pe(o.src)&&a&&new se(o).callMethod("appendVideoMetadata",window.location.href)}}}))}(),function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoCheckedUrlTimeParam){window.VimeoCheckedUrlTimeParam=!0;var t=function(e){"console"in window&&console.error&&console.error("There was an error getting video Id: ".concat(e))};window.addEventListener("message",function(e){if(z(e.origin)){var r=ne(e.data);if(r&&r.event==="ready")for(var i=n.querySelectorAll("iframe"),o=function(){var s=i[a],u=s.contentWindow===e.source;if(pe(s.src)&&u){var v=new se(s);v.getVideoId().then(function(b){var w=new RegExp("[?&]vimeo_t_".concat(b,"=([^&#]*)")).exec(window.location.href);if(w&&w[1]){var y=decodeURI(w[1]);v.setCurrentTime(y)}}).catch(t)}},a=0;a<i.length;a++)o()}})}}());const ze=/vimeo\.com\/(video\/|event\/)?(\d+)(?:\/([\w-]+))?/;function ye(n,t={}){const e={src:Be(n,t),frameborder:0,width:"100%",height:"100%",allow:"accelerometer; fullscreen; autoplay; encrypted-media; gyroscope; picture-in-picture"};return t.config&&(e["data-config"]=JSON.stringify(t.config)),`
10
+ <style>
11
+ :host {
12
+ display: inline-block;
13
+ min-width: 300px;
14
+ min-height: 150px;
15
+ position: relative;
16
+ }
17
+ iframe {
18
+ position: absolute;
19
+ top: 0;
20
+ left: 0;
21
+ }
22
+ :host(:not([controls])) {
23
+ pointer-events: none;
24
+ }
25
+ </style>
26
+ <iframe${function(r){let i="";for(const o in r){const a=r[o];i+=a===""?` ${oe(o)}`:` ${oe(o)}="${oe(`${a}`)}"`}return i}(e)}></iframe>
27
+ `}function Be(n,t){if(!n.src)return;let e=new URL(n.src);const r=n.src.match(ze),i=r&&r[1],o=r&&r[2],a=e.searchParams.get("h")||void 0,s={controls:n.controls===""?null:0,autoplay:n.autoplay,loop:n.loop,muted:n.muted,playsinline:n.playsinline,preload:n.preload??"metadata",transparent:!1,autopause:n.autopause,h:a,...t.config};return i==="event/"?`https://vimeo.com/event/${o}/embed?${ge(s)}`:`https://player.vimeo.com/video/${o}?${ge(s)}`}class Se extends(globalThis.HTMLElement??class{}){static getTemplateHTML=ye;static shadowRootOptions={mode:"open"};static observedAttributes=["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src"];loadComplete=new we;#l;#h;#p;#t=0;#n=NaN;#r=!1;#e=!this.autoplay;#a=1;#u=0;#i=0;#s=!1;#o=1;#f=NaN;#d=NaN;#c=null;constructor(){super(),this.#v("config")}requestFullscreen(){var t,e;return(e=(t=this.api)==null?void 0:t.requestFullscreen)==null?void 0:e.call(t)}exitFullscreen(){var t,e;return(e=(t=this.api)==null?void 0:t.exitFullscreen)==null?void 0:e.call(t)}requestPictureInPicture(){var t,e;return(e=(t=this.api)==null?void 0:t.requestPictureInPicture)==null?void 0:e.call(t)}exitPictureInPicture(){var t,e;return(e=(t=this.api)==null?void 0:t.exitPictureInPicture)==null?void 0:e.call(t)}get config(){return this.#c}set config(t){this.#c=t}async load(){var t;if(this.#l)return;const e=!this.#h;this.#h&&(this.loadComplete=new we),this.#h=!0,await(this.#l=Promise.resolve()),this.#l=null,this.#t=0,this.#n=NaN,this.#r=!1,this.#e=!this.autoplay,this.#a=1,this.#u=0,this.#i=0,this.#s=!1,this.#o=1,this.#i=0,this.#f=NaN,this.#d=NaN,this.dispatchEvent(new Event("emptied"));let r=this.api;if(this.api=null,!this.src)return;this.dispatchEvent(new Event("loadstart"));const i={autoplay:this.autoplay,controls:this.controls,loop:this.loop,muted:this.defaultMuted,playsinline:this.playsInline,preload:this.preload??"metadata",transparent:!1,autopause:this.hasAttribute("autopause"),...this.#c},o=async()=>{this.#i=1,this.dispatchEvent(new Event("loadedmetadata")),this.api&&(this.#r=await this.api.getMuted(),this.#o=await this.api.getVolume(),this.dispatchEvent(new Event("volumechange")),this.#n=await this.api.getDuration(),this.dispatchEvent(new Event("durationchange"))),this.dispatchEvent(new Event("loadcomplete")),this.loadComplete.resolve()};if(this.#p)return this.api=r,await this.api.loadVideo({...i,url:this.src}),await o(),void await this.loadComplete;this.#p=!0;let a=(t=this.shadowRoot)==null?void 0:t.querySelector("iframe");e&&a&&(this.#c=JSON.parse(a.getAttribute("data-config")||"{}")),this.shadowRoot||(this.attachShadow({mode:"open"}),this.shadowRoot.innerHTML=ye(function(v){let b={};for(let w of v)b[w.name]=w.value;return b}(this.attributes),this),a=this.shadowRoot.querySelector("iframe")),this.api=new se(a);const s=document.createElement("video");this.textTracks=s.textTracks,this.api.getTextTracks().then(v=>{v.forEach(b=>{s.addTextTrack(b.kind,b.label,b.language)})}),this.textTracks.addEventListener("change",()=>{const v=Array.from(this.textTracks).find(b=>b.mode==="showing");v?this.api.enableTextTrack(v.language,v.kind):this.api.disableTextTrack()});const u=()=>{this.api.off("loaded",u),o()};this.api.on("loaded",u),this.api.on("bufferstart",()=>{this.#e&&(this.#e=!1,this.dispatchEvent(new Event("play"))),this.dispatchEvent(new Event("waiting"))}),this.api.on("play",()=>{this.#e&&(this.#e=!1,this.dispatchEvent(new Event("play")))}),this.api.on("playing",()=>{this.#i=3,this.#e=!1,this.dispatchEvent(new Event("playing"))}),this.api.on("seeking",()=>{this.#s=!0,this.dispatchEvent(new Event("seeking"))}),this.api.on("seeked",()=>{this.#s=!1,this.dispatchEvent(new Event("seeked"))}),this.api.on("pause",()=>{this.#e=!0,this.dispatchEvent(new Event("pause"))}),this.api.on("ended",()=>{this.#e=!0,this.dispatchEvent(new Event("ended"))}),this.api.on("ratechange",({playbackRate:v})=>{this.#a=v,this.dispatchEvent(new Event("ratechange"))}),this.api.on("volumechange",async({volume:v})=>{this.#o=v,this.api&&(this.#r=await this.api.getMuted()),this.dispatchEvent(new Event("volumechange"))}),this.api.on("durationchange",({duration:v})=>{this.#n=v,this.dispatchEvent(new Event("durationchange"))}),this.api.on("timeupdate",({seconds:v})=>{this.#t=v,this.dispatchEvent(new Event("timeupdate"))}),this.api.on("progress",({seconds:v})=>{this.#u=v,this.dispatchEvent(new Event("progress"))}),this.api.on("resize",({videoWidth:v,videoHeight:b})=>{this.#f=v,this.#d=b,this.dispatchEvent(new Event("resize"))}),await this.loadComplete}async attributeChangedCallback(t,e,r){if(e!==r){switch(t){case"autoplay":case"controls":case"src":return void this.load()}await this.loadComplete,t==="loop"&&this.api.setLoop(this.loop)}}async play(){var t;this.#e=!1,this.dispatchEvent(new Event("play")),await this.loadComplete;try{await((t=this.api)==null?void 0:t.play())}catch(e){throw this.#e=!0,this.dispatchEvent(new Event("pause")),e}}async pause(){var t;return await this.loadComplete,(t=this.api)==null?void 0:t.pause()}get ended(){return this.#t>=this.#n}get seeking(){return this.#s}get readyState(){return this.#i}get videoWidth(){return this.#f}get videoHeight(){return this.#d}get src(){return this.getAttribute("src")}set src(t){this.src!=t&&this.setAttribute("src",t)}get paused(){return this.#e}get duration(){return this.#n}get autoplay(){return this.hasAttribute("autoplay")}set autoplay(t){this.autoplay!=t&&this.toggleAttribute("autoplay",!!t)}get buffered(){return this.#u>0?be(0,this.#u):be()}get controls(){return this.hasAttribute("controls")}set controls(t){this.controls!=t&&this.toggleAttribute("controls",!!t)}get currentTime(){return this.#t}set currentTime(t){this.currentTime!=t&&(this.#t=t,this.loadComplete.then(()=>{var e;(e=this.api)==null||e.setCurrentTime(t).catch(()=>{})}))}get defaultMuted(){return this.hasAttribute("muted")}set defaultMuted(t){this.defaultMuted!=t&&this.toggleAttribute("muted",!!t)}get loop(){return this.hasAttribute("loop")}set loop(t){this.loop!=t&&this.toggleAttribute("loop",!!t)}get muted(){return this.#r}set muted(t){this.muted!=t&&(this.#r=t,this.loadComplete.then(()=>{var e;(e=this.api)==null||e.setMuted(t).catch(()=>{})}))}get playbackRate(){return this.#a}set playbackRate(t){this.playbackRate!=t&&(this.#a=t,this.loadComplete.then(()=>{var e;(e=this.api)==null||e.setPlaybackRate(t).catch(()=>{})}))}get playsInline(){return this.hasAttribute("playsinline")}set playsInline(t){this.playsInline!=t&&this.toggleAttribute("playsinline",!!t)}get poster(){return this.getAttribute("poster")}set poster(t){this.poster!=t&&this.setAttribute("poster",`${t}`)}get volume(){return this.#o}set volume(t){this.volume!=t&&(this.#o=t,this.loadComplete.then(()=>{var e;(e=this.api)==null||e.setVolume(t).catch(()=>{})}))}#v(t){if(Object.prototype.hasOwnProperty.call(this,t)){const e=this[t];delete this[t],this[t]=e}}}function oe(n){return n.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/`/g,"&#x60;")}function ge(n){return String(new URLSearchParams(function(t){let e={};for(let r in t){let i=t[r];i===!0||i===""?e[r]=1:i===!1?e[r]=0:i!=null&&(e[r]=i)}return e}(n)))}class we extends Promise{constructor(t=()=>{}){let e,r;super((i,o)=>{t(i,o),e=i,r=o}),this.resolve=e,this.reject=r}}function be(n,t){return Array.isArray(n)?ke(n):ke(n==null||t==null||n===0&&t===0?[[0,0]]:[[n,t]])}function ke(n){return Object.defineProperties(n,{start:{value:t=>n[t][0]},end:{value:t=>n[t][1]}}),n}globalThis.customElements&&!globalThis.customElements.get("vimeo-video")&&globalThis.customElements.define("vimeo-video",Se);var Ue=Se,$e=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),Ge={className:"class",htmlFor:"for"};function Ee(n){return n.toLowerCase()}function xe(n){return typeof n=="boolean"?n?"":void 0:typeof n=="function"||typeof n=="object"&&n!==null?void 0:n}function Te(n,t,e){var r;n[t]=e,e==null&&t in(((r=globalThis.HTMLElement)==null?void 0:r.prototype)??{})&&n.removeAttribute(t)}var Qe=function({react:n,tagName:t,elementClass:e,events:r,displayName:i,defaultProps:o,toAttributeName:a=Ee,toAttributeValue:s=xe}){const u=Number.parseInt(n.version)>=19,v=n.forwardRef((b,w)=>{var y,T;const x=n.useRef(null),P=n.useRef(new Map),A={},S={},_={},M={};for(const[l,f]of Object.entries(b)){if($e.has(l)){_[l]=f;continue}const d=a(Ge[l]??l);if(e.prototype&&l in e.prototype&&!(l in(((y=globalThis.HTMLElement)==null?void 0:y.prototype)??{}))&&!((T=e.observedAttributes)!=null&&T.some(m=>m===d))){M[l]=f;continue}if(l.startsWith("on")){A[l]=f;continue}const k=s(f);if(d&&k!=null&&(S[d]=String(k),u||(_[d]=k)),d&&u){const m=xe(f);_[d]=k!==m?k:f}}if(typeof window<"u"){for(const l in A){const f=A[l],d=l.endsWith("Capture"),k=(r?.[l]??l.slice(2).toLowerCase()).slice(0,d?-7:void 0);n.useLayoutEffect(()=>{const m=x?.current;if(m&&typeof f=="function")return m.addEventListener(k,f,d),()=>{m.removeEventListener(k,f,d)}},[x?.current,f])}n.useLayoutEffect(()=>{if(x.current===null)return;const l=new Map;for(const f in M)Te(x.current,f,M[f]),P.current.delete(f),l.set(f,M[f]);for(const[f,d]of P.current)Te(x.current,f,void 0);P.current=l})}if(typeof window>"u"&&e?.getTemplateHTML&&e?.shadowRootOptions){const{mode:l,delegatesFocus:f}=e.shadowRootOptions,d=n.createElement("template",{shadowrootmode:l,shadowrootdelegatesfocus:f,dangerouslySetInnerHTML:{__html:e.getTemplateHTML(S,b)},key:"ce-la-react-ssr-template-shadow-root"});_.children=[d,_.children]}return n.createElement(t,{...o,..._,ref:n.useCallback(l=>{x.current=l,typeof w=="function"?w(l):w!==null&&(w.current=l)},[w])},_.children)});return v.displayName=i??e.name,v}({react:Re,tagName:"vimeo-video",elementClass:Ue,toAttributeName:n=>n==="muted"?"":n==="defaultMuted"?"muted":Ee(n)});/*! Bundled license information:
28
+
29
+ ce-la-react/dist/ce-la-react.js:
30
+ (**
31
+ * @license
32
+ * Copyright 2018 Google LLC
33
+ * SPDX-License-Identifier: BSD-3-Clause
34
+ *
35
+ * Modified version of `@lit/react` for vanilla custom elements with support for SSR.
36
+ *)
37
+ */export{Qe as default};