@zeniai/web-cockpit-ui 1.15.64-qa → 1.15.65-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/ACHDetailsPage-BShpKoIj-DBPKn0sX.js +21 -0
- package/dist/assets/{AIPerformancePage-Da3gFo8A-CSXeuStb.js → AIPerformancePage-CFErwUsE-BYOi4eif.js} +22 -22
- package/dist/assets/AccountInfoPage-B8upbXj9-DVCxjo1L.js +18 -0
- package/dist/assets/{AccountInfoPageContent-DqErO8FH-mViOCowa.js → AccountInfoPageContent-CKpeDot5-C4xEct6y.js} +23 -23
- package/dist/assets/{AccountLockedInfoModal-BJjCuLHa-lkS-zBaJ.js → AccountLockedInfoModal-c30P9O_3-BXRFFhii.js} +9 -9
- package/dist/assets/{AccountReconDetailsDrawerPage-CVjH1p0d-khdb66DL.js → AccountReconDetailsDrawerPage-CO9BYPWm-Det_iJaE.js} +51 -51
- package/dist/assets/AccountRow-BrW_eEjE-HoBl8v8H.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-D7xvgmOH-n7Og3oU6.js → AccountsPromoCardStack-De2yNNuZ-C74RtM0g.js} +22 -22
- package/dist/assets/AddAddressForCardDrawer-riOPLnxb-hTaoKUhW.js +6 -0
- package/dist/assets/{AddToWalletPage-zJy9QCjx-C2VBVH37.js → AddToWalletPage-CsOmzC7v-XA_Ukf0G.js} +23 -23
- package/dist/assets/{AgingReportsPage-wAvQb1d8-BVhKyC9n.js → AgingReportsPage-D9I9afnB-j70-fH52.js} +8 -8
- package/dist/assets/{AllUserItems-DEv_CXOA-Cnm0jwbR.js → AllUserItems-Dq7NcP-o-bQnq3Yy5.js} +7 -7
- package/dist/assets/ApAgingDetailPage-Z5JgfH-e-DlNnTpGB.js +46 -0
- package/dist/assets/AppBasePage-B5sDynhi-B6PJcirc.js +71 -0
- package/dist/assets/AppDrawerContent-D9Q8ir0T-BlV3y7qg.js +92 -0
- package/dist/assets/ApprovalRulesSettingsPage-DVGvJsQG-g3c3aBsx.js +47 -0
- package/dist/assets/{ArAgingChart-m-Xp3HAW-BFbIzkgu.js → ArAgingChart-Tcu0Lja_-DlvMwgJ3.js} +5 -5
- package/dist/assets/ArAgingDetailPage-B5vqkc3v-xHE7Qc0m.js +46 -0
- package/dist/assets/{AttachmentView-DB_V1qT1-DuTWI9WZ.js → AttachmentView-CiYfninr-BohG7XjP.js} +7 -7
- package/dist/assets/BalancesInsightWithToolTip-tiQUQUbX-C692_oh-.js +38 -0
- package/dist/assets/{BankAccountSection-BabhrBM7-Hm-Yu2sT.js → BankAccountSection-EZtscP2z-aKL8vcpJ.js} +7 -7
- package/dist/assets/{BankAccountWarningSection-yT2UAd12-X-VL5grc.js → BankAccountWarningSection-DCfyIUlu-DyMLU3Tg.js} +7 -7
- package/dist/assets/{BankConnectionsSettingsPage-CbxXykMM-BVq9Jf6S.js → BankConnectionsSettingsPage-CQWy9jvt-B-n6frCU.js} +32 -32
- package/dist/assets/BillDetailPage-pt1k5AQf-BM9-GtkV.js +266 -0
- package/dist/assets/{BillPayApprovalRuleDetailPage-COyDRpaF-IRQNMkGr.js → BillPayApprovalRuleDetailPage-Drh7Bhi8-CDpJ0g2R.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-9pxkgFAT-BBE0uhiX.js → BillPayApprovalRulesPage-Cmyo59xB-pg1tP0xq.js} +15 -15
- package/dist/assets/BillPayPromoPage-Dgpz2TLG-BFCcBeGF.js +84 -0
- package/dist/assets/{BillPaySetUpPage-Cs5rkWBu-B8WDufb0.js → BillPaySetUpPage-B6Pd_eBf-BC27u6lI.js} +4 -4
- package/dist/assets/{BillingSettingsPage-CQ117tT9-BAwGu5cG.js → BillingSettingsPage-CYsvBrFV-BWO0QWBs.js} +7 -7
- package/dist/assets/{BillsBulkReviewDrawerPage-DRkGQQAe-RZgdY8zQ.js → BillsBulkReviewDrawerPage-DNnAmqWz-BQr-aBSF.js} +1 -1
- package/dist/assets/{BoxItem-DRwx0M5a-5_z4KYJ3.js → BoxItem-B06DK4G--CNFqY3pV.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-1h0z3N9u-Bd2Dv1xV.js → BusinessVerificationPage-Dgk5gyMv-BdAKTgt0.js} +11 -11
- package/dist/assets/CardNumberSubText-CcH9jUoZ-BGeGZCAA.js +21 -0
- package/dist/assets/{CashbackDetailPage-ChdQcvkC-BQq0-Z8K.js → CashbackDetailPage-5eysaHGf-qWx0m6gR.js} +30 -30
- package/dist/assets/{ChargeCardDetailPage-DFOKlPNG-DdvX9ays.js → ChargeCardDetailPage-Diwf-gwZ-DmopcUlO.js} +1 -1
- package/dist/assets/{ChargeCardListPage-DhLUsUhd-CPt3fT_S.js → ChargeCardListPage-C-RTGkKK-Bb-QwUsn.js} +23 -23
- package/dist/assets/{ChargeCardListTable-DE72YU_i-UK8ppaLR.js → ChargeCardListTable-B-bNbtZQ-Bfw8s7pe.js} +60 -60
- package/dist/assets/{ChargeCardPaymentHistoryPage-CbGR18s--CGJF0r4n.js → ChargeCardPaymentHistoryPage-Cu-zT5tO-C6SEcidH.js} +36 -36
- package/dist/assets/{ChargeCardPromoPage-CPpNh89o-ur53P9tl.js → ChargeCardPromoPage-Cz3rNFwM-N71PCrPp.js} +38 -38
- package/dist/assets/{ChargeCardSetupPage-ITi25kUD-D46LZ2gE.js → ChargeCardSetupPage-BcTB9Yy5-DkE42DK5.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-CTJc1BCc-C1ya3GFy.js → ChargeCardStatementsPage-B_ERvgmB-DFHNpOVz.js} +5 -5
- package/dist/assets/{CheckDepositDrawerPage-BrzeSj-3-dYFak2DM.js → CheckDepositDrawerPage-D7_usOVn-C_GuSSOC.js} +17 -17
- package/dist/assets/CollapsableReportTable-h0vIfI8o-Bg2RfRDJ.js +2982 -0
- package/dist/assets/{CompanyOfficerDetailsSection-BaPhFsLx-CpwNpffC.js → CompanyOfficerDetailsSection-CWADX4kZ-IHJvDX6-.js} +30 -30
- package/dist/assets/{CompanyPassportCard-B9ymV6Az-DhiSwK7x.js → CompanyPassportCard-DF9LFrFD-DjueOJ3s.js} +9 -9
- package/dist/assets/{CompanyPassportPage-BQ68t7oK-25GyAr8e.js → CompanyPassportPage-BtAopyLq-DbU6xdRd.js} +30 -30
- package/dist/assets/{CompleteProfile-C5n9b8gQ-D0ag80PT.js → CompleteProfile-CsbsHQ0p-BLF2mnNn.js} +4 -4
- package/dist/assets/ConfettiBurst-duD341Gp-Bb3-s_zN.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-Cd8lINA1.js → ConstrainedInnerElement-hv51KpGg-DTOZooRA.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-BIfOA5Nr-C8DeTqzS.js → CreateOrEditVendorPage-C2xU6c51-DT9rwnbq.js} +14 -14
- package/dist/assets/{CreditCardPaymentDrawerPage-CCpS-31h-BiN9aJFe.js → CreditCardPaymentDrawerPage-CeagMaCu-D6hhhd3N.js} +22 -22
- package/dist/assets/CurrencySelectField-B8EoF2aF-uavVFTum.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-6VlMI4oY-BsSHWzKa.js → CustomerOnboardingActivationPage-CIeR2XvU-B59q7JSL.js} +29 -29
- package/dist/assets/CustomerOnboardingContainerPage-DVL4s-eV-Betf7XiO.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BzbZb27J-C2NLa27a.js → CustomerOnboardingDetailPageSkeleton-kUbwh2r2-zrrFUTGk.js} +14 -14
- package/dist/assets/CustomerOnboardingNoStepsPage-Br0jy7Pu-C04-tCb6.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-DkW66A-p-q-1ALWKT.js → CustomerOnboardingPage-Dm2Si769-DsN6K-ie.js} +16 -16
- package/dist/assets/{CustomerOnboardingProductSuitePage-Ba0yotpP-IunY7NMf.js → CustomerOnboardingProductSuitePage-Cz81Q5jC-eSuGAIqK.js} +8 -8
- package/dist/assets/{Dashboard-bX3cWkmP-gpZTlRVX.js → Dashboard-DReG_aaf-C4aSoq3o.js} +33 -33
- package/dist/assets/{DashboardReportPage-DuZ4d4CE-BtgBO5CE.js → DashboardReportPage-BXSlwsR7-4jSB_qXZ.js} +38 -38
- package/dist/assets/DashboardSidebarBackgroundAnimation-B3dtVAe2-BBvO3tiT.js +12 -0
- package/dist/assets/DepositAccTransactionItem-YuSXjbLh-dhpmj79R.js +76 -0
- package/dist/assets/DepositAccTransactionListPage-C-FAvZwD-5kKsnSxM.js +66 -0
- package/dist/assets/DomesticWireDetailsPage-BaiSpc0N-BaNvy8Dj.js +21 -0
- package/dist/assets/DownloadOverlay-BpRKCn-0-GQtzMlpD.js +439 -0
- package/dist/assets/{DrawerPage-CaG-xx5d-Ch3FAk_-.js → DrawerPage-DQ3Xuekx-71bFG_xW.js} +12 -12
- package/dist/assets/EditPeoplePage-8DalSMWH-BO--FbCf.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-CC2BjMkR-BrDBl4Nx.js +865 -0
- package/dist/assets/EntityDetailPage-fmWuxHTZ-BEOMoyTE.js +18 -0
- package/dist/assets/{EntitySummarySection-LEA5m6mN-Bkfqomfq.js → EntitySummarySection-vsEMiXYh-UA5Y35sl.js} +17 -17
- package/dist/assets/{ExpenseAutomationOverviewPage-Dmhn7gfp-KHS19Js4.js → ExpenseAutomationOverviewPage-B3HPfIsK-4ZtjmO8G.js} +50 -50
- package/dist/assets/ExpenseAutomationPage-4LJefgNh-YH8canW3.js +3015 -0
- package/dist/assets/{ExpressPayPage-C-nqret2-CHVy3vEu.js → ExpressPayPage-BH7oCW_F-HW0llOdu.js} +17 -17
- package/dist/assets/{FeaturePreviewPage-BHjUZ7s6-CoLeq4Tz.js → FeaturePreviewPage-DSv61BhF-rk5VNvfQ.js} +2 -2
- package/dist/assets/{FollowStepsSection-0eFMS0c5-DAdCYPIL.js → FollowStepsSection-Bgy9MpO4-DCiZAX41.js} +7 -7
- package/dist/assets/GlobalReviewListPage-VRq_gimm-D4JxkgEf.js +291 -0
- package/dist/assets/{InformationCardStack-C7XJCUlh-BO56UWI6.js → InformationCardStack-rx0fypl3-C50dsns2.js} +4 -4
- package/dist/assets/{InsightsCardStack-fBAbQwhK-DuPgw9sX.js → InsightsCardStack-uJWMkIZL-k2gW7JtA.js} +9 -9
- package/dist/assets/InsightsSection-ByFf2oGn-BaSZhycl.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-BD5jqAv8--mAzs_NR.js → IntegrationsSettingsPage-Cj01Nub6-JLccDpyu.js} +6 -6
- package/dist/assets/{InternationalWireSwiftDetailsPage-BftrE612-De_WHxi6.js → InternationalWireSwiftDetailsPage-C2PM97sv-CXe5WYRW.js} +24 -24
- package/dist/assets/InternationalWireVerificationPage-Cr3sDrT--Bq6HNEU0.js +65 -0
- package/dist/assets/{InviteFormPage-E2igwKEh-BEncV13R.js → InviteFormPage-dsMpScvq-CF55W3d2.js} +18 -18
- package/dist/assets/{InvitePageListView-Cuq9dlgu-B0_SeEmy.js → InvitePageListView-e7vGSbFa-wcp0OLc4.js} +43 -43
- package/dist/assets/InvitePeoplePage-BT_YVCP4-yRtlk6wv.js +12 -0
- package/dist/assets/InvoiceUploadSection-Dg1-uunA-DejmnF3G.js +140 -0
- package/dist/assets/{IssueChargeCardPage-CK6fnO24-Db0v77bJ.js → IssueChargeCardPage-CyF9wrb0-DIt_LpMY.js} +31 -31
- package/dist/assets/{LabeledAddressValue-Ma1WURjK-DlrMcsdg.js → LabeledAddressValue-3l0Bv00--DmuSRVDq.js} +2 -2
- package/dist/assets/LabeledAddressValueField-F9kvUR_r-BCeaFKsb.js +45 -0
- package/dist/assets/LabeledControlledCheckBoxField-BgC8y0D6-Cxk0wWCO.js +16 -0
- package/dist/assets/{LabeledCountryMultiSelectField-sj8p7Rne-BCnpPBJo.js → LabeledCountryMultiSelectField-3qI_4noU-BCLCbVPc.js} +5 -5
- package/dist/assets/{LabeledCreatableSingleSelectField-DUTQh416-DhVqlBC1.js → LabeledCreatableSingleSelectField-BV3h9bh7-BAj07yW-.js} +7 -7
- package/dist/assets/LabeledDocumentField-rriEcsdr-CkxtZhMI.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-DoVSg3nZ-Be0l5Q_z.js +59 -0
- package/dist/assets/{LabeledText-DvzVOku6-Dn53TfaN.js → LabeledText-DGZ7hxY4-IuE8fmYf.js} +6 -6
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DCv1Q5qb-BqVEyHXC.js → LabeledUserSingleSelectWithSubtitlesField-DI07Eicg-DgE4V-VP.js} +18 -18
- package/dist/assets/{LabeledZeniRolesDropDownField-kWC0ShEy-CPUGdXpK.js → LabeledZeniRolesDropDownField-jIrTovp--Bw9Copum.js} +29 -29
- package/dist/assets/{LinkJETransactionPage-WufhDGDQ-azPG9MUe.js → LinkJETransactionPage-Bvbqpltz-Bc-21K8g.js} +18 -18
- package/dist/assets/{LockCardPage-BBIVLYVD-419LPSiD.js → LockCardPage-DyEQBJYx-BLiE9GBP.js} +64 -64
- package/dist/assets/{LowBalancePopup-ScEqPY9J-C060z0nB.js → LowBalancePopup-C2vHKMNF-PKO6ElPE.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-lAAwAtH7-SJ0jUK4M.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-cv823ASo-DimLQOFo.js +1 -0
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-fSY3JGpz-B9llfoRD.js → MagicLinkInternationalWireDetailsPage-C_SjsgC9-Bvgil6AB.js} +1 -1
- package/dist/assets/MagicLinkSuccessPage-B1LBYM2F-BYLLbXss.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-ZnbKPIvJ-BocBRFlv.js → MagicLinkTitleSection-ClAnBBt9-CxQuR-QP.js} +5 -5
- package/dist/assets/MailingDetailsSection-9_XLl4bT-BB3mmWQ9.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-aQDVaEG1-BGCx9EU3.js → MyBankConnectionsSettingsPage-CBNYcuP4-DwZ11Kbp.js} +16 -16
- package/dist/assets/MyPendingActivationChargeCardListPage-n71n40uQ-DzAksyAj.js +6 -0
- package/dist/assets/MyProfileSettingsPage-BUMIjZYc-CtFmjBIE.js +85 -0
- package/dist/assets/{NavBarWithPicker-zmvBmWS1-B7DVgWCo.js → NavBarWithPicker-CbjFNysh-BLH7wXCB.js} +5 -5
- package/dist/assets/{NavigationArrow-D26UG3p--B1OMUVaF.js → NavigationArrow-Dpc7u6y4-94AYlIy-.js} +7 -7
- package/dist/assets/{NavigationDots-Bv4tBDN3-BOJfNTon.js → NavigationDots-DCpslVnm-BIAw9fTc.js} +3 -3
- package/dist/assets/{NewGlobalMerchantPage-vOn2O6B9-BmAEPvzQ.js → NewGlobalMerchantPage-B10sY6Q_-Owh-T5As.js} +37 -37
- package/dist/assets/{NoDataChart-CgT19fV7-CW6QHLgR.js → NoDataChart-9-bhq204-jF2VPuzU.js} +2 -2
- package/dist/assets/{NoDataTable-CPjJmo4s-DSMgo6Qg.js → NoDataTable-C6Q2Anpz-DB9htpIj.js} +1 -1
- package/dist/assets/{NotFoundPage-CP2i3FTm-C5pv1EYn.js → NotFoundPage-4mPhXD5--Dq1iR5VQ.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-CT9Dnb03-BP21fQ3b.js → NotificationSettingsPage-BTxCoB_b-BHZscHCj.js} +28 -28
- package/dist/assets/NotificationsListConfig-CylnViXd-Dg2fm6St.js +1 -0
- package/dist/assets/NotificationsPage-D41h0mS6-Dzdq9z4a.js +685 -0
- package/dist/assets/OpExByVendorPage-BV_uJSCh-BHuftqJi.js +100 -0
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-DypUO3LF.js → OverlayContainerPage-CkUYOhlh-ChB_ia4V.js} +1 -1
- package/dist/assets/PandLWithForecastPage-Cj3UWjG4-Ufv6uGVt.js +123 -0
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-JPO-rPAd-AJNZCxIB.js → PaymentAccountSetupBillingAddressSection-BWFl695q-DUUCCWV6.js} +15 -15
- package/dist/assets/PeoplePage-DcGqWtAP-CfVqJS-U.js +727 -0
- package/dist/assets/{Preview-MsotgVZx.js → Preview-DHku7oFH.js} +1 -1
- package/dist/assets/{ProductsCarousel-7R3cvGiS-B-idYuEE.js → ProductsCarousel-C9JoJQeH-7TCp-gr7.js} +8 -8
- package/dist/assets/{PromoBaseCards-DdCMZIc7-DYaNktKG.js → PromoBaseCards-mFk7SsOr-cB2eyHgD.js} +3 -3
- package/dist/assets/{QBOConnectionDialog-Ca36jKz2-BROTAV6b.js → QBOConnectionDialog-CJsIrEZq-Djdbh1G7.js} +5 -5
- package/dist/assets/{QBOSetupSection-CzBfIVqR-CxeYM05R.js → QBOSetupSection-C_fqHza_-B8WpC_yY.js} +13 -13
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-DUVSGQJ6-C0TdrujH.js → ReimbursementApprovalRuleDetailPage-BMZnKpsk-CX5NlTL7.js} +2 -2
- package/dist/assets/{ReimbursementApprovalRulesPage-B48x1gPM-CTKI435W.js → ReimbursementApprovalRulesPage-C2zNa8dT-CGtrNpR7.js} +9 -9
- package/dist/assets/ReimbursementDetailPage-B1o8ea57-BrBovHlf.js +314 -0
- package/dist/assets/ReimbursementPromoPage-Df5QmXzC-CzrrekBH.js +84 -0
- package/dist/assets/{ReimbursementSetUpPage-B_c-ZgFT-IXOGqCsl.js → ReimbursementSetUpPage-D450RVsP-BNS45RtV.js} +10 -10
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-DwgKrhlQ-BYy6jU6w.js +1 -0
- package/dist/assets/{ReloadCard-DKGn1uxF-BSvLgeuK.js → ReloadCard-D5cvzWxe-BSJWwb6T.js} +6 -6
- package/dist/assets/ReportTableViewSelector-Ig41fOPb-DyEm5Q02.js +151 -0
- package/dist/assets/ReportsPage-CRAVAUTO-D_QRWGM1.js +269 -0
- package/dist/assets/{RevenueChart-SvdhwBcE-DnuVU969.js → RevenueChart-DtQu0KAn-DJYGsojB.js} +13 -13
- package/dist/assets/{ReviewDetailsPage-tT1l4R2r-J1IzgUZg.js → ReviewDetailsPage-vui4TqeA-gjxKkEYH.js} +24 -24
- package/dist/assets/{ReviewOverlay-BoM41t8W-DMbdGoKm.js → ReviewOverlay-CUnL7H-a-BjFaE0id.js} +25 -25
- package/dist/assets/RoleWithToolTip-x2rnvWn9-BzchKu5T.js +22 -0
- package/dist/assets/ScheduleDetailsFixedAssetsPage-D_Cls2jC-CNWyfY4t.js +37 -0
- package/dist/assets/ScheduleDetailsPage-DmSLuM8g-5vyMikmE.js +37 -0
- package/dist/assets/ScheduleSequenceTable-js9_P_Lo-CeLb4ONW.js +326 -0
- package/dist/assets/{ScreenRoutes-zIYoYF9j.js → ScreenRoutes-ziq-yiHW.js} +29 -51
- package/dist/assets/{SetUpAccountSection-sfIB1h4i-Bxp4_1Ay.js → SetUpAccountSection-DYRWWXcL-D3Lz2J4N.js} +13 -13
- package/dist/assets/SignIn-CUJkZb3S-DEoVYbuM.js +491 -0
- package/dist/assets/SignInScreen-CMKiwyNN.js +1 -0
- package/dist/assets/SpendManagementListViewPage-BieufnDb-DWfo1rZv.js +134 -0
- package/dist/assets/SpendManagementPerTabPage-BmUp80QX-D3VMwaS-.js +754 -0
- package/dist/assets/{SpendManagementSection-dT-N4bSQ-C-KttH_X.js → SpendManagementSection-DKZNTYXT-mbKmW3pW.js} +25 -25
- package/dist/assets/{StatementItem-g5tfNBjV-Bi-hDsRm.js → StatementItem-Dyt5Q0eR-DHmcaJ-e.js} +4 -4
- package/dist/assets/StatementsPage-CbtnJM5y-COycJvfL.js +58 -0
- package/dist/assets/{StatusSwitcher-CaoFw0cf-GiyQU_ap.js → StatusSwitcher-BfQ9VbBH-DC0t3Flj.js} +5 -5
- package/dist/assets/SubTabSwitcher-CzGiuhk3-DLbV8WBg.js +58 -0
- package/dist/assets/{SummaryCard-B9wqNSwM-11v6O9yh.js → SummaryCard-D61xzK3a-DMSW9KNv.js} +1 -1
- package/dist/assets/TaskManagementPage-ucVAdv7x-AkXJlFwQ.js +508 -0
- package/dist/assets/TimeRangeSwitcher-C3jXm39I-tjiVSjZN.js +64 -0
- package/dist/assets/TimeframeSwitcher-CcYg-YQJ-C2j1iPoK.js +31 -0
- package/dist/assets/TimeframeSwitcherWithToggle-w4YJno-p-Bi4h2wB2.js +53 -0
- package/dist/assets/{TopExCard-BUjnGDUB-BeOEz96L.js → TopExCard-D2PRxvFc-DTkmCs_e.js} +6 -6
- package/dist/assets/{TopExDetailPage-CNDkfc3u-VyEyAB3F.js → TopExDetailPage-C0uHdU7N-CkEVyz2B.js} +16 -16
- package/dist/assets/{TransactionActivityLogPage-kSQqJVpX-D8owbjDl.js → TransactionActivityLogPage-CqYb19tY-v__opMvt.js} +17 -17
- package/dist/assets/TransactionDetailPage-D-NR_yZG-DdONq5Tf.js +921 -0
- package/dist/assets/TransactionList-f6yB-byH-Oxgdaak4.js +157 -0
- package/dist/assets/{TransactionListBig-Bx_Rm9ho-BGW14qc7.js → TransactionListBig-BrDWayQS-C0zQ3f5X.js} +18 -18
- package/dist/assets/TransactionListPage-C-Z62y2d-DnIWNXku.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-MjSH5hfq-DTvgMHfi.js → TransactionVendorDetailPage-CQQuAR6V-Dt6j0ppt.js} +6 -6
- package/dist/assets/{TransferDrawerPage-BayVa6po-BJ6bZeVh.js → TransferDrawerPage-DfFm-1-3-Dp1b_ezH.js} +36 -36
- package/dist/assets/TreasuryOverviewPage-CKSanlUG-BJ3RsJkb.js +725 -0
- package/dist/assets/{TreasuryPromoPage-BCjz1EKX-BpLLMqaI.js → TreasuryPromoPage-Dyip3H10-ClQVvPZy.js} +131 -131
- package/dist/assets/TreasuryStatementsPage-mljf2Van-DInZXjo_.js +58 -0
- package/dist/assets/TreasuryTaxLetterPage-D3cV3a-8-CcMHT6vj.js +58 -0
- package/dist/assets/{TrendChart-JTOG0a7B-BX9AXLFe.js → TrendChart-fFlHCvNx-DADa9lxz.js} +5 -5
- package/dist/assets/TrendWithTransactions-It4KDov3-BNez-K-6.js +116 -0
- package/dist/assets/{UncategorizedAccountsMappingPage-TGKYpC5A-BKFDwlEW.js → UncategorizedAccountsMappingPage-BxBz2Ce0-BSZYER7A.js} +15 -15
- package/dist/assets/{UnitIntegrationPage-mt2IjA5X-B32skQ8E.js → UnitIntegrationPage-gVgsk2ji-Dz79ORBq.js} +7 -7
- package/dist/assets/UploadAdditionalDocumentOverlay-C5m8jqup-5PpZVQjf.js +38 -0
- package/dist/assets/{Vendor2FAPopup-DAOf5cJD-DwjPPjyx.js → Vendor2FAPopup-DRwBzOwn-C-SwMKWw.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-By2Ya2bv-CjVBmCig.js +1 -0
- package/dist/assets/VendorDetailPage-jci1LqX3-QbESQx0s.js +257 -0
- package/dist/assets/VendorDomesticWireDetailsPage-uIDE-n5v-CEtT0uGT.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-CRnO7Ubw-pmmo56yS.js → VendorFiling1099EditablePage-8pYT3u-X-D-wgniGH.js} +14 -14
- package/dist/assets/VendorFirstReviewPage-CafakxA1-CDJXyRr2.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-HUtNyn9Z-DG0LXpvu.js → VendorInternationalWireDetailsPage-DJeI-ZFW-DlATitk5.js} +20 -20
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-Co-5nTam-Dq9Sjb3M.js +1 -0
- package/dist/assets/{VendorsAccountsSection-D6Qa1zf9-DAvIVphi.js → VendorsAccountsSection-YX2g8ETe-D60z7JWq.js} +2 -2
- package/dist/assets/{VerifyDevice-B6B_nk3v-KukwEAKH.js → VerifyDevice-DeHW4GAi-COYWduJ8.js} +9 -9
- package/dist/assets/{VideoPlayer-BRAgZThr-DwdwG0wP.js → VideoPlayer-DxIfGrPu-_quRL0IB.js} +2 -2
- package/dist/assets/{VideoPopup-C_SkBI9U-CKyfSxdc.js → VideoPopup-CUP7ctgS-CvuTwYjE.js} +3 -3
- package/dist/assets/{WarningsDrawerPage-B3gB3wW7-U-65Uxte.js → WarningsDrawerPage--s6b380L-kLxITMYx.js} +10 -10
- package/dist/assets/ZeniAccountDetailPage-7NdkdSg3-DUqxr3Vg.js +300 -0
- package/dist/assets/ZeniAccountListViewPage-B-cs_xnc-yymuGC8c.js +443 -0
- package/dist/assets/ZeniAccountNavBarPieces-CjRip0v9-CWaUJ8t5.js +33 -0
- package/dist/assets/{ZeniAccountPromoPage-BgYCHYLO-7ZsLis8J.js → ZeniAccountPromoPage-BikXtkeH-CZNOzkma.js} +23 -23
- package/dist/assets/ZeniAccountSetupPage-BRBsijVt-4J2hs6F_.js +36 -0
- package/dist/assets/{ZeniCopyright-BlLvlGZV-De808LkJ.js → ZeniCopyright-DDGvdmLF-BbItEQ1K.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-BNYgPwHs-D5MCod30.js → ZeniTransferAmountSlider-Cdg0TlHk-C5Juk6O6.js} +4 -4
- package/dist/assets/{add-to-wallet-DgdBD8_G-9o7lYnfw.js → add-to-wallet-DgdBD8_G-BPAwAHT2.js} +1 -1
- package/dist/assets/{analytics-DmFOON3n.js → analytics-B3XlZNQ8.js} +1 -1
- package/dist/assets/{analyticsHelper-DVXRlTVd.js → analyticsHelper-Bnej6boJ.js} +1 -1
- package/dist/assets/{analyticsHelper-CYr5V2MV-Bn9Jn6Ph.js → analyticsHelper-D9xdJK4b-C8beHKtm.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-DnOaYGVH.js → arrow-south-east-round-PEovUgvH-DYcTfV8-.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-iayeyD23.js → auto-transfer-rule-mbafm5D3-C0L9GopF.js} +1 -1
- package/dist/assets/chartTypes-Dq3hUz_T-D0weDXco.js +1 -0
- package/dist/assets/commonDimensions-CGHIQ2To-BXIDDuOd.js +1 -0
- package/dist/assets/{commonTypes-DsWS6Ccc-CTYDMfWt.js → commonTypes-BAJPaPYg-BqOkop1Y.js} +1 -1
- package/dist/assets/{constants-Dzfmb5Ph.js → constants-BcG8RJNm.js} +1 -1
- package/dist/assets/{core-0bnVVABN.js → core-DTlL91ob.js} +3 -53
- package/dist/assets/{dash.all.min-DHsg-lqM.js → dash.all.min-wCYxg1-F.js} +1 -1
- package/dist/assets/downloadPdf-BI2Y41h2-DmQ3wa5x.js +1 -0
- package/dist/assets/{empty-CBAa3J1a.js → empty-9h6tGMxX.js} +1 -1
- package/dist/assets/{empty-D_bRDFaE.js → empty-DTLC6acq.js} +1 -1
- package/dist/assets/epic-CSBGbcOS.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-DQBnQfK-.js → gift-box-Cmt9OgIZ-CvfvQG3y.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-DeDC5YLL.js → graphic-no-data-l-DU4J8fDt-ChqWps-8.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CmCQCnC3.js → graphic-no-data-net-burn-l-CzmycA0m-1sZH3huZ.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-DpmiuH3j.js → handshake-BPg58FML-C8qC_oIS.js} +1 -1
- package/dist/assets/{helper-BMiMbXMj-BAbwbOYZ.js → helper-z5-P4a-y-DCqj7mqg.js} +5 -5
- package/dist/assets/{index-CHSGbJVi.js → index-BRlvHWYX.js} +1 -1
- package/dist/assets/{index-iH933ICY.js → index-BTxAEBwp.js} +2 -8
- package/dist/assets/{index-CDxchNCh.js → index-CTllXPEB.js} +1 -1
- package/dist/assets/{index-mb2rrTlK.js → index-CXoFWELS.js} +1 -1
- package/dist/assets/{index-BOf3FulF.js → index-DA1Z8sqg.js} +1 -1
- package/dist/assets/{index-BN9gOVoX.js → index-DivE10Xm.js} +1 -1
- package/dist/assets/{index-B6YQjyMc.js → index-nssLOVFu.js} +5040 -5105
- package/dist/assets/{lexical-aEmQVmum.js → lexical-CoKvBbaA.js} +1 -1
- package/dist/assets/liveblocks-offUbtxr.js +54 -0
- package/dist/assets/lottie-Cqel28AC.js +2 -0
- package/dist/assets/mapLoadingInProgressToTreeNode-DrC2Zs2y-BuaBdgp1.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BkPRWtaj-sINzyEMC.js → mapSectionWithAcOnlyToTreeNode-dsBogxKz-D78gQ4Dn.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-DMDEaLzQ-ibbyX8vz.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-CW_wzI5T-he6bfb8d.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-DvfKBCs5-GyIWCN5D.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Ch2rvcz4-LpLxG78D.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CGdkzFsp-DlA9TyjC.js} +1 -1
- package/dist/assets/{mui-BMACe6Rq.js → mui-BVCBQYdL.js} +1 -9
- package/dist/assets/{page-detail-CWX5S47F-BHiPg_uV.js → page-detail-CWX5S47F-D1vlmLcE.js} +1 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-CSqoRxwG.js +3 -0
- package/dist/assets/{radio-default-CiSgisfh-DS1u1o7i.js → radio-default-CiSgisfh-BGMZB5pj.js} +1 -1
- package/dist/assets/{react-Bq4TJ-7l.js → react-BEal1Iuh.js} +2 -12
- package/dist/assets/{react-BM9QcOkQ.js → react-BXvNRT2q.js} +2 -12
- package/dist/assets/{react-CVtyWQMs.js → react-CLksnFSH.js} +2 -12
- package/dist/assets/{react-CtbvVn8_.js → react-CSBaF2r0.js} +2 -12
- package/dist/assets/{react-TZk5oBcm.js → react-C_JPVQ2C.js} +2 -12
- package/dist/assets/{react-DPF6cpPb.js → react-DRddHEvz.js} +2 -12
- package/dist/assets/react-QuNdLWH0.js +19 -0
- package/dist/assets/{react-gzX4tXLY.js → react-jkd7J1Kg.js} +3 -13
- package/dist/assets/{recharts-BogDwoBa.js → recharts-DAsNs3BU.js} +36 -44
- package/dist/assets/{sentry-PE_t7E3E.js → sentry-Fca4mdIl.js} +2 -17
- package/dist/assets/{shield-DOlUxcFf-DZBeAJz1.js → shield-DOlUxcFf-CRgtaaqW.js} +1 -1
- package/dist/assets/toCOABalancesWithID-P7keEtAg-DZcYuHA-.js +1 -0
- package/dist/assets/toChartData-BUf5HHim-DGDFToOH.js +1 -0
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-BVwF7gzx.js +1 -0
- package/dist/assets/{uploadAttachment-BlLqRIXe-BKyY67pY.js → uploadAttachment-DJA30WSD-CHN4VO1K.js} +32 -32
- package/dist/assets/uploadReceipts-CqDftTRt-Bj47leio.js +1 -0
- package/dist/assets/{url-DVzciwrr.js → url-DdD720VJ.js} +1 -1
- package/dist/assets/{url-syTA0K_c.js → url-DkjikAwv.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-BtTqIKk8.js → useLongPress-GCK2COYQ-DXicXlES.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-sua1EB0C.js → usp-line-BBd1wKwW-BQlBhf7H.js} +1 -1
- package/dist/assets/{utils-hiWEDg_f.js → utils-Cgs4R-d4.js} +4 -38
- package/dist/assets/zeni-epic-state-BZv12Eez.js +14 -0
- package/dist/index.html +1 -1
- package/package.json +6 -6
- package/dist/assets/ACHDetailsPage-fOu5grd7-Bx2C4blB.js +0 -21
- package/dist/assets/AccountInfoPage-o7hTXtgZ-B74V9GXq.js +0 -18
- package/dist/assets/AccountRow-CpftykFx-1CclEkfP.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-vecchYEf-DPMrCTyq.js +0 -6
- package/dist/assets/ApAgingDetailPage-BOV1WFVF-_lX-suFq.js +0 -46
- package/dist/assets/AppBasePage-DMlomvFS-BTCiknIH.js +0 -71
- package/dist/assets/AppDrawerContent-Dc2sHnR3-D8okbvYL.js +0 -92
- package/dist/assets/ApprovalRulesSettingsPage-BnbPSy4U-DSt1190C.js +0 -47
- package/dist/assets/ArAgingDetailPage-b_NpDpWj-DH_prAGq.js +0 -46
- package/dist/assets/BillDetailPage-7TMkWo3V-S7BIfZxn.js +0 -266
- package/dist/assets/BillPayPromoPage-AGffhbY3-BjWg1E0M.js +0 -84
- package/dist/assets/CardNumberSubText-DqtLT1w5-B46iNAOk.js +0 -21
- package/dist/assets/CollapsableReportTable-CDEe9s_E-D9cKaH7m.js +0 -2844
- package/dist/assets/ConfettiBurst-BizTW0hz-vSY8T_bA.js +0 -1
- package/dist/assets/CurrencySelectField-KvKyemY6-CJmA3Wvi.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-CRjwWFLJ-DO7DyeYZ.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-CWF_00EM-CXYa-GDt.js +0 -66
- package/dist/assets/DashboardSidebarBackgroundAnimation-UV2CZToG-B6y2S4Cq.js +0 -12
- package/dist/assets/DepositAccTransactionItem-BY_OvuKg-dj2FrVtH.js +0 -76
- package/dist/assets/DepositAccTransactionListPage-a__bpCOB-BluH7tQU.js +0 -66
- package/dist/assets/DomesticWireDetailsPage-BumMT4QM-CJrvKjn9.js +0 -21
- package/dist/assets/DownloadOverlay-DqiL3-FB-B8nIxgA_.js +0 -439
- package/dist/assets/EditPeoplePage-BcsdEp_d-DZzsTLqP.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-DNUmwdsH-B4a1wTnV.js +0 -865
- package/dist/assets/EntityDetailPage-DtX5TjBc-Cz9GurHm.js +0 -18
- package/dist/assets/ExpenseAutomationPage-B8C4BxoV-u_k6mu8a.js +0 -1703
- package/dist/assets/GlobalReviewListPage-4eiopkzw-S_0cIn_Q.js +0 -291
- package/dist/assets/InsightsSection-De9zu_me-wp-DJULP.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-CDf7equc-C1nheAmV.js +0 -65
- package/dist/assets/InvitePeoplePage-Db4P4ZEq-Bqa6PJOp.js +0 -12
- package/dist/assets/InvoiceUploadSection-DYCjz9CI-Di7iZ3rh.js +0 -140
- package/dist/assets/LabeledAddressValueField-C6-hVsPb-CtbiD4R7.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-CgZg0uOW-wOvZo1jz.js +0 -16
- package/dist/assets/LabeledDocumentField-Bp9m-OrP-6oGXwzm5.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-3-KekP79-BGZG_uLh.js +0 -59
- package/dist/assets/MagicLinkACHDetailsPage-C494txw0-CtQxqwR2.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-CONBCbOQ-u4Z3GzMp.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-BDRXSAO4-1yGDs4x9.js +0 -31
- package/dist/assets/MailingDetailsSection-DZT7JPlI-BX3TaQM5.js +0 -21
- package/dist/assets/MyPendingActivationChargeCardListPage-BJrk56oA-Bz1XOWUw.js +0 -6
- package/dist/assets/MyProfileSettingsPage-L9WuP6HZ-Bt0r3vIg.js +0 -85
- package/dist/assets/NotificationsListConfig-Bn1zmx6b-Byv3SuTE.js +0 -1
- package/dist/assets/NotificationsPage-DDwdR_Jq-CH4xdkvF.js +0 -685
- package/dist/assets/OpExByVendorPage-DukFYlqO-DkROpQmO.js +0 -100
- package/dist/assets/PandLWithForecastPage-Bgflh9Om-CgCfrHLq.js +0 -107
- package/dist/assets/PeoplePage-CDvKreQl-B9V6YZRP.js +0 -675
- package/dist/assets/ReimbursementDetailPage-oIC9QEyF-Uf6XrKw7.js +0 -314
- package/dist/assets/ReimbursementPromoPage-BKgsJieE-Ba5GJbn1.js +0 -84
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-CeyGWbKR-CiYOGkop.js +0 -1
- package/dist/assets/ReportTableViewSelector-CXDvZEbR-D-19omxr.js +0 -150
- package/dist/assets/ReportsPage-BoUyXSBC-BPepWXQn.js +0 -121
- package/dist/assets/RoleWithToolTip-C8x5yXaK-CQXsYwpy.js +0 -22
- package/dist/assets/ScheduleDetailsFixedAssetsPage-Bkp0mCOn-DeRr8BY-.js +0 -37
- package/dist/assets/ScheduleDetailsPage-Dg9rYJbn-CdqlXj9r.js +0 -37
- package/dist/assets/ScheduleSequenceTable-J6Eja8XA-DQymfbIV.js +0 -324
- package/dist/assets/SignIn-Cu2nzuEC-BHDNnRC4.js +0 -491
- package/dist/assets/SignInScreen-CvmuZ_lu.js +0 -1
- package/dist/assets/SpendManagementListViewPage-9V9u1jPF-C5LGJAJr.js +0 -134
- package/dist/assets/SpendManagementPerTabPage-COvEPq7V-AOv-04sa.js +0 -754
- package/dist/assets/StatementsPage-DaFrVUeK-BtS_jxBA.js +0 -58
- package/dist/assets/SubTabSwitcher-zrkVj1aP-CypqPMQM.js +0 -58
- package/dist/assets/TaskManagementPage-dAK9tl2b-DQNorVRE.js +0 -508
- package/dist/assets/TimeRangeSwitcher-r1TNqVRb-DyxsJ7t-.js +0 -64
- package/dist/assets/TimeframeSwitcher-DHfHCTa4-pMvLfkus.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-DvBvguRl-p_rilr-D.js +0 -31
- package/dist/assets/TransactionDetailPage-f7vWtXWL-DikOynRj.js +0 -903
- package/dist/assets/TransactionList-3-mUZOsw-6t-FD8kN.js +0 -153
- package/dist/assets/TransactionListPage-q6x4_jni-BvfvZkop.js +0 -35
- package/dist/assets/TreasuryOverviewPage-CuqWmrO5-CcwdLzTa.js +0 -708
- package/dist/assets/TreasuryStatementsPage-CGr00SXF-Ddcqn0VF.js +0 -58
- package/dist/assets/TreasuryTaxLetterPage-D9_qnlK4-DQDhOxJb.js +0 -58
- package/dist/assets/TrendWithTransactions-CTJhTpAM-CBPz9x-U.js +0 -116
- package/dist/assets/UploadAdditionalDocumentOverlay-DZfpwE5J-CmJMJ8QJ.js +0 -38
- package/dist/assets/VendorACHDetailsPage-CCOupiSZ-CMh3oX0P.js +0 -1
- package/dist/assets/VendorDetailPage-DufNphGD-CHkH3Fl_.js +0 -257
- package/dist/assets/VendorDomesticWireDetailsPage-BayV34Rt-a9y8S9df.js +0 -1
- package/dist/assets/VendorFirstReviewPage-DA0EL4RJ-C2ni5B1z.js +0 -730
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DRVMUeXi-BUPq8BsG.js +0 -1
- package/dist/assets/ZeniAccountDetailPage-Dp-eo-Vq-DVqZeKKS.js +0 -300
- package/dist/assets/ZeniAccountListViewPage-S-XmAYqD-CVsdQb-e.js +0 -441
- package/dist/assets/ZeniAccountNavBarPieces-DhjBxfEr-B3kNTCpc.js +0 -14
- package/dist/assets/ZeniAccountSetupPage-CvnIMdcY-Dd6KWWuP.js +0 -36
- package/dist/assets/chartTypes-40RenddT-cfd9O-7K.js +0 -1
- package/dist/assets/commonDimensions-BMnB1-xU-Dv2z_hsS.js +0 -1
- package/dist/assets/detailCommon-CrcyqWtZ-3mnJnM3j.js +0 -38
- package/dist/assets/downloadPdf-CUUx8PWn-DWs7sODc.js +0 -1
- package/dist/assets/epic-BDsnfsiq.js +0 -2
- package/dist/assets/liveblocks-t9znRICt.js +0 -67
- package/dist/assets/lottie-CQ9eYGiF.js +0 -9
- package/dist/assets/mapLoadingInProgressToTreeNode-DGnyXKBT-CjYqP6ia.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-CvGdU9Ma-DuWN8s0E.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-BCOsOvxo-DzqHbBKU.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DIqYP3NK-AJxyBrea.js +0 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-BQG398jA.js +0 -4
- package/dist/assets/react-DCKkBuNc.js +0 -37
- package/dist/assets/toCOABalancesWithID-DkMGvlEt-Bl2QmqAg.js +0 -1
- package/dist/assets/toChartData-C6s-eBzE-DllwI7S_.js +0 -1
- package/dist/assets/uploadReceipts-Dge0cNF1-BGDnYNyn.js +0 -1
- package/dist/assets/zeni-epic-state-DBzXvQ_H.js +0 -151
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{P as N}from"./sentry-
|
|
1
|
+
import{P as N}from"./sentry-Fca4mdIl.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]="7f27432d-d788-4f36-a543-e4d40bb4bb36",e._sentryDebugIdIdentifier="sentry-dbid-7f27432d-d788-4f36-a543-e4d40bb4bb36")}catch{}})();const O="https://open.spotify.com",$=/open\.spotify\.com\/(\w+)\/(\w+)/i,B="https://open.spotify.com/embed-podcast/iframe-api/v1",D="SpotifyIframeApi",j="onSpotifyIframeApiReady";function L(e,t={}){const i={src:R(e,t),scrolling:"no",frameborder:0,width:"100%",height:"100%",allow:"accelerometer; fullscreen; autoplay; encrypted-media; gyroscope; picture-in-picture"};return`
|
|
2
2
|
<style>
|
|
3
3
|
:host {
|
|
4
4
|
display: inline-block;
|
|
@@ -19,14 +19,4 @@ import{P as N}from"./sentry-PE_t7E3E.js";(function(){try{var e=typeof window<"u"
|
|
|
19
19
|
}
|
|
20
20
|
</style>
|
|
21
21
|
<iframe${W(i)}></iframe>
|
|
22
|
-
`}function R(e,t){var i,s,u;if(!e.src)return;const a=e.src.match($),d=a&&a[1],p=a&&a[2],r={t:(i=t.config)==null?void 0:i.startAt,theme:((s=t.config)==null?void 0:s.theme)==="dark"?"0":null},y=(u=t.config)!=null&&u.preferVideo?"/video":"";return`${O}/embed/${d}/${p}${y}?${x(r)}`}class C extends(globalThis.HTMLElement??class{}){static getTemplateHTML=L;static shadowRootOptions={mode:"open"};static observedAttributes=["controls","loop","src"];loadComplete=new M;#r;#a;#l;#t=!1;#e=!1;#i=!0;#s=0;#n=NaN;#o=!1;#u=null;constructor(){super(),this.#d("config")}async load(){var t,i,s;if(this.#r)return;this.#a&&(this.loadComplete=new M),this.#a=!0,await(this.#r=Promise.resolve()),this.#r=null,this.#t=!1,this.#e=!1,this.#s=0,this.#n=NaN,this.#o=!1,this.dispatchEvent(new Event("emptied"));let u=this.api;if(this.api=null,!this.src)return;this.dispatchEvent(new Event("loadstart"));const a={t:(t=this.config)==null?void 0:t.startAt,theme:((i=this.config)==null?void 0:i.theme)==="dark"?"0":null,preferVideo:(s=this.config)==null?void 0:s.preferVideo};if(this.#l)this.api=u,this.api.iframeElement.src=R(k(this.attributes),this);else{this.#l=!0,this.shadowRoot||(this.attachShadow({mode:"open"}),this.shadowRoot.innerHTML=L(k(this.attributes),this));let d=this.shadowRoot.querySelector("iframe");const p=await U(B,D,j);this.api=await new Promise(r=>p.createController(d,a,r)),this.api.iframeElement=d,this.api.addListener("ready",()=>{this.dispatchEvent(new Event("loadedmetadata")),this.dispatchEvent(new Event("durationchange")),this.dispatchEvent(new Event("volumechange"))}),this.api.addListener("playback_update",r=>{if(this.#e&&this.#i&&(r.data.isBuffering||!r.data.isPaused)){this.#e=!1,this.currentTime=1;return}if(r.data.duration/1e3!==this.#n&&(this.#e=!1,this.#n=r.data.duration/1e3,this.dispatchEvent(new Event("durationchange"))),r.data.position/1e3!==this.#s&&(this.#o=!1,this.#e=!1,this.#s=r.data.position/1e3,this.dispatchEvent(new Event("timeupdate"))),!this.#t&&!this.#i&&r.data.isPaused){this.#i=!0,this.dispatchEvent(new Event("pause"));return}if(this.#i&&(r.data.isBuffering||!r.data.isPaused)){this.#i=!1,this.dispatchEvent(new Event("play")),this.#t=r.data.isBuffering,this.#t?this.dispatchEvent(new Event("waiting")):this.dispatchEvent(new Event("playing"));return}if(this.#t&&!r.data.isPaused){this.#t=!1,this.dispatchEvent(new Event("playing"));return}if(!this.paused&&!this.seeking&&!this.#e&&Math.ceil(this.currentTime)>=this.duration){if(this.#e=!0,this.loop){this.currentTime=1;return}this.continuous||(this.pause(),this.dispatchEvent(new Event("ended")));return}})}this.loadComplete.resolve(),await this.loadComplete}async attributeChangedCallback(t,i,s){if(i!==s)switch(t){case"src":{this.load();return}}}async play(){var t;return this.#i=!1,this.#t=!0,this.dispatchEvent(new Event("play")),await this.loadComplete,(t=this.api)==null?void 0:t.resume()}async pause(){var t;return await this.loadComplete,(t=this.api)==null?void 0:t.pause()}get config(){return this.#u}set config(t){this.#u=t}get paused(){return this.#i??!0}get muted(){return!1}set muted(t){}get volume(){return 1}set volume(t){}get ended(){return Math.ceil(this.currentTime)>=this.duration}get seeking(){return this.#o}get loop(){return this.hasAttribute("loop")}set loop(t){this.loop!=t&&this.toggleAttribute("loop",!!t)}get currentTime(){return this.#s}set currentTime(t){if(this.currentTime==t)return;this.#o=!0;let i=this.#s;this.#s=t,this.dispatchEvent(new Event("timeupdate")),this.#s=i,this.loadComplete.then(()=>{var s;(s=this.api)==null||s.seek(t)})}get duration(){return this.#n}get src(){return this.getAttribute("src")}set src(t){this.setAttribute("src",`${t}`)}#d(t){if(Object.prototype.hasOwnProperty.call(this,t)){const i=this[t];delete this[t],this[t]=i}}}function W(e){let t="";for(const i in e){const s=e[i];s===""?t+=` ${i}`:t+=` ${i}="${s}"`}return t}function x(e){return String(new URLSearchParams(z(e)))}function z(e){let t={};for(let i in e){let s=e[i];s===!0||s===""?t[i]=1:s===!1?t[i]=0:s!=null&&(t[i]=s)}return t}function k(e){let t={};for(let i of e)t[i.name]=i.value;return t}const E={};async function U(e,t,i){return E[e]?E[e]:self[t]?Promise.resolve(self[t]):E[e]=new Promise(function(s,u){const a=document.createElement("script");a.src=e;const d=p=>s(p);self[i]=d,a.onload=()=>!i,a.onerror=u,document.head.append(a)})}class M extends Promise{constructor(t=()=>{}){let i,s;super((u,a)=>{t(u,a),i=u,s=a}),this.resolve=i,this.reject=s}}globalThis.customElements&&!globalThis.customElements.get("spotify-audio")&&globalThis.customElements.define("spotify-audio",C);var q=C,F=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),G={className:"class",htmlFor:"for"};function H(e){return e.toLowerCase()}function S(e){if(typeof e=="boolean")return e?"":void 0;if(typeof e!="function"&&!(typeof e=="object"&&e!==null))return e}function V({react:e,tagName:t,elementClass:i,events:s,displayName:u,defaultProps:a,toAttributeName:d=H,toAttributeValue:p=S}){const r=Number.parseInt(e.version)>=19,y=e.forwardRef((T,v)=>{var _,A;const c=e.useRef(null),w=e.useRef(new Map),b={},P={},h={},g={};for(const[n,o]of Object.entries(T)){if(F.has(n)){h[n]=o;continue}const l=d(G[n]??n);if(i.prototype&&n in i.prototype&&!(n in(((_=globalThis.HTMLElement)==null?void 0:_.prototype)??{}))&&!((A=i.observedAttributes)!=null&&A.some(m=>m===l))){g[n]=o;continue}if(n.startsWith("on")){b[n]=o;continue}const f=p(o);if(l&&f!=null&&(P[l]=String(f),r||(h[l]=f)),l&&r){const m=S(o);f!==m?h[l]=f:h[l]=o}}if(typeof window<"u"){for(const n in b){const o=b[n],l=n.endsWith("Capture"),f=(s?.[n]??n.slice(2).toLowerCase()).slice(0,l?-7:void 0);e.useLayoutEffect(()=>{const m=c?.current;if(!(!m||typeof o!="function"))return m.addEventListener(f,o,l),()=>{m.removeEventListener(f,o,l)}},[c?.current,o])}e.useLayoutEffect(()=>{if(c.current===null)return;const n=new Map;for(const o in g)I(c.current,o,g[o]),w.current.delete(o),n.set(o,g[o]);for(const[o,l]of w.current)I(c.current,o,void 0);w.current=n})}if(typeof window>"u"&&i?.getTemplateHTML&&i?.shadowRootOptions){const{mode:n,delegatesFocus:o}=i.shadowRootOptions,l=e.createElement("template",{shadowrootmode:n,shadowrootdelegatesfocus:o,dangerouslySetInnerHTML:{__html:i.getTemplateHTML(P,T)},key:"ce-la-react-ssr-template-shadow-root"});h.children=[l,h.children]}return e.createElement(t,{...a,...h,ref:e.useCallback(n=>{c.current=n,typeof v=="function"?v(n):v!==null&&(v.current=n)},[v])},h.children)});return y.displayName=u??i.name,y}function I(e,t,i){var s;e[t]=i,i==null&&t in(((s=globalThis.HTMLElement)==null?void 0:s.prototype)??{})&&e.removeAttribute(t)}var J=V({react:N,tagName:"spotify-audio",elementClass:q,toAttributeName(e){return e==="muted"?"":e==="defaultMuted"?"muted":H(e)}})
|
|
23
|
-
|
|
24
|
-
ce-la-react/dist/ce-la-react.js:
|
|
25
|
-
(**
|
|
26
|
-
* @license
|
|
27
|
-
* Copyright 2018 Google LLC
|
|
28
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
29
|
-
*
|
|
30
|
-
* Modified version of `@lit/react` for vanilla custom elements with support for SSR.
|
|
31
|
-
*)
|
|
32
|
-
*/export{J as default};
|
|
22
|
+
`}function R(e,t){var i,s,u;if(!e.src)return;const a=e.src.match($),d=a&&a[1],p=a&&a[2],r={t:(i=t.config)==null?void 0:i.startAt,theme:((s=t.config)==null?void 0:s.theme)==="dark"?"0":null},y=(u=t.config)!=null&&u.preferVideo?"/video":"";return`${O}/embed/${d}/${p}${y}?${x(r)}`}class C extends(globalThis.HTMLElement??class{}){static getTemplateHTML=L;static shadowRootOptions={mode:"open"};static observedAttributes=["controls","loop","src"];loadComplete=new M;#r;#a;#l;#t=!1;#e=!1;#i=!0;#s=0;#n=NaN;#o=!1;#u=null;constructor(){super(),this.#d("config")}async load(){var t,i,s;if(this.#r)return;this.#a&&(this.loadComplete=new M),this.#a=!0,await(this.#r=Promise.resolve()),this.#r=null,this.#t=!1,this.#e=!1,this.#s=0,this.#n=NaN,this.#o=!1,this.dispatchEvent(new Event("emptied"));let u=this.api;if(this.api=null,!this.src)return;this.dispatchEvent(new Event("loadstart"));const a={t:(t=this.config)==null?void 0:t.startAt,theme:((i=this.config)==null?void 0:i.theme)==="dark"?"0":null,preferVideo:(s=this.config)==null?void 0:s.preferVideo};if(this.#l)this.api=u,this.api.iframeElement.src=R(k(this.attributes),this);else{this.#l=!0,this.shadowRoot||(this.attachShadow({mode:"open"}),this.shadowRoot.innerHTML=L(k(this.attributes),this));let d=this.shadowRoot.querySelector("iframe");const p=await U(B,D,j);this.api=await new Promise(r=>p.createController(d,a,r)),this.api.iframeElement=d,this.api.addListener("ready",()=>{this.dispatchEvent(new Event("loadedmetadata")),this.dispatchEvent(new Event("durationchange")),this.dispatchEvent(new Event("volumechange"))}),this.api.addListener("playback_update",r=>{if(this.#e&&this.#i&&(r.data.isBuffering||!r.data.isPaused)){this.#e=!1,this.currentTime=1;return}if(r.data.duration/1e3!==this.#n&&(this.#e=!1,this.#n=r.data.duration/1e3,this.dispatchEvent(new Event("durationchange"))),r.data.position/1e3!==this.#s&&(this.#o=!1,this.#e=!1,this.#s=r.data.position/1e3,this.dispatchEvent(new Event("timeupdate"))),!this.#t&&!this.#i&&r.data.isPaused){this.#i=!0,this.dispatchEvent(new Event("pause"));return}if(this.#i&&(r.data.isBuffering||!r.data.isPaused)){this.#i=!1,this.dispatchEvent(new Event("play")),this.#t=r.data.isBuffering,this.#t?this.dispatchEvent(new Event("waiting")):this.dispatchEvent(new Event("playing"));return}if(this.#t&&!r.data.isPaused){this.#t=!1,this.dispatchEvent(new Event("playing"));return}if(!this.paused&&!this.seeking&&!this.#e&&Math.ceil(this.currentTime)>=this.duration){if(this.#e=!0,this.loop){this.currentTime=1;return}this.continuous||(this.pause(),this.dispatchEvent(new Event("ended")));return}})}this.loadComplete.resolve(),await this.loadComplete}async attributeChangedCallback(t,i,s){if(i!==s)switch(t){case"src":{this.load();return}}}async play(){var t;return this.#i=!1,this.#t=!0,this.dispatchEvent(new Event("play")),await this.loadComplete,(t=this.api)==null?void 0:t.resume()}async pause(){var t;return await this.loadComplete,(t=this.api)==null?void 0:t.pause()}get config(){return this.#u}set config(t){this.#u=t}get paused(){return this.#i??!0}get muted(){return!1}set muted(t){}get volume(){return 1}set volume(t){}get ended(){return Math.ceil(this.currentTime)>=this.duration}get seeking(){return this.#o}get loop(){return this.hasAttribute("loop")}set loop(t){this.loop!=t&&this.toggleAttribute("loop",!!t)}get currentTime(){return this.#s}set currentTime(t){if(this.currentTime==t)return;this.#o=!0;let i=this.#s;this.#s=t,this.dispatchEvent(new Event("timeupdate")),this.#s=i,this.loadComplete.then(()=>{var s;(s=this.api)==null||s.seek(t)})}get duration(){return this.#n}get src(){return this.getAttribute("src")}set src(t){this.setAttribute("src",`${t}`)}#d(t){if(Object.prototype.hasOwnProperty.call(this,t)){const i=this[t];delete this[t],this[t]=i}}}function W(e){let t="";for(const i in e){const s=e[i];s===""?t+=` ${i}`:t+=` ${i}="${s}"`}return t}function x(e){return String(new URLSearchParams(z(e)))}function z(e){let t={};for(let i in e){let s=e[i];s===!0||s===""?t[i]=1:s===!1?t[i]=0:s!=null&&(t[i]=s)}return t}function k(e){let t={};for(let i of e)t[i.name]=i.value;return t}const E={};async function U(e,t,i){return E[e]?E[e]:self[t]?Promise.resolve(self[t]):E[e]=new Promise(function(s,u){const a=document.createElement("script");a.src=e;const d=p=>s(p);self[i]=d,a.onload=()=>!i,a.onerror=u,document.head.append(a)})}class M extends Promise{constructor(t=()=>{}){let i,s;super((u,a)=>{t(u,a),i=u,s=a}),this.resolve=i,this.reject=s}}globalThis.customElements&&!globalThis.customElements.get("spotify-audio")&&globalThis.customElements.define("spotify-audio",C);var q=C,F=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),G={className:"class",htmlFor:"for"};function H(e){return e.toLowerCase()}function S(e){if(typeof e=="boolean")return e?"":void 0;if(typeof e!="function"&&!(typeof e=="object"&&e!==null))return e}function V({react:e,tagName:t,elementClass:i,events:s,displayName:u,defaultProps:a,toAttributeName:d=H,toAttributeValue:p=S}){const r=Number.parseInt(e.version)>=19,y=e.forwardRef((T,v)=>{var _,A;const c=e.useRef(null),w=e.useRef(new Map),b={},P={},h={},g={};for(const[n,o]of Object.entries(T)){if(F.has(n)){h[n]=o;continue}const l=d(G[n]??n);if(i.prototype&&n in i.prototype&&!(n in(((_=globalThis.HTMLElement)==null?void 0:_.prototype)??{}))&&!((A=i.observedAttributes)!=null&&A.some(m=>m===l))){g[n]=o;continue}if(n.startsWith("on")){b[n]=o;continue}const f=p(o);if(l&&f!=null&&(P[l]=String(f),r||(h[l]=f)),l&&r){const m=S(o);f!==m?h[l]=f:h[l]=o}}if(typeof window<"u"){for(const n in b){const o=b[n],l=n.endsWith("Capture"),f=(s?.[n]??n.slice(2).toLowerCase()).slice(0,l?-7:void 0);e.useLayoutEffect(()=>{const m=c?.current;if(!(!m||typeof o!="function"))return m.addEventListener(f,o,l),()=>{m.removeEventListener(f,o,l)}},[c?.current,o])}e.useLayoutEffect(()=>{if(c.current===null)return;const n=new Map;for(const o in g)I(c.current,o,g[o]),w.current.delete(o),n.set(o,g[o]);for(const[o,l]of w.current)I(c.current,o,void 0);w.current=n})}if(typeof window>"u"&&i?.getTemplateHTML&&i?.shadowRootOptions){const{mode:n,delegatesFocus:o}=i.shadowRootOptions,l=e.createElement("template",{shadowrootmode:n,shadowrootdelegatesfocus:o,dangerouslySetInnerHTML:{__html:i.getTemplateHTML(P,T)},key:"ce-la-react-ssr-template-shadow-root"});h.children=[l,h.children]}return e.createElement(t,{...a,...h,ref:e.useCallback(n=>{c.current=n,typeof v=="function"?v(n):v!==null&&(v.current=n)},[v])},h.children)});return y.displayName=u??i.name,y}function I(e,t,i){var s;e[t]=i,i==null&&t in(((s=globalThis.HTMLElement)==null?void 0:s.prototype)??{})&&e.removeAttribute(t)}var J=V({react:N,tagName:"spotify-audio",elementClass:q,toAttributeName(e){return e==="muted"?"":e==="defaultMuted"?"muted":H(e)}});export{J as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{P as H}from"./sentry-
|
|
1
|
+
import{P as H}from"./sentry-Fca4mdIl.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]="244ad019-838b-40f3-9171-7dcbd05ca332",t._sentryDebugIdIdentifier="sentry-dbid-244ad019-838b-40f3-9171-7dcbd05ca332")}catch{}})();const V="https://www.youtube.com/embed",$="https://www.youtube-nocookie.com/embed",j="https://www.youtube.com/iframe_api",Y="YT",F="onYouTubeIframeAPIReady",C=/(?:youtu\.be\/|youtube(?:-nocookie)?\.com\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})/,G=/(?:youtu\.be\/|youtube(?:-nocookie)?\.com\/.*?[?&]list=)([\w_-]+)/;function M(t,e={}){var i;const n={src:x(t,e),frameborder:0,width:"100%",height:"100%",allow:"accelerometer; fullscreen; autoplay; encrypted-media; gyroscope; picture-in-picture"};return(i=e.config)!=null&&i.referrerpolicy&&(n.referrerpolicy=e.config.referrerpolicy),e.config&&(n["data-config"]=JSON.stringify(e.config)),`
|
|
2
2
|
<style>
|
|
3
3
|
:host {
|
|
4
4
|
display: inline-block;
|
|
@@ -14,14 +14,4 @@ import{P as H}from"./sentry-PE_t7E3E.js";(function(){try{var t=typeof window<"u"
|
|
|
14
14
|
}
|
|
15
15
|
</style>
|
|
16
16
|
<iframe${U(n)}></iframe>
|
|
17
|
-
`}function x(t,e){if(!t.src)return;const i=t.src.includes("-nocookie")?$:V,n={controls:t.controls===""?null:0,autoplay:t.autoplay,loop:t.loop,mute:t.muted,playsinline:t.playsinline,preload:t.preload??"metadata",enablejsapi:1,cc_load_policy:1,showinfo:0,rel:0,iv_load_policy:3,modestbranding:1,...e.config};if(C.test(t.src)){const p=t.src.match(C),g=p&&p[1];return`${i}/${g}?${R(n)}`}const l=t.src.match(G),f={listType:"playlist",list:l&&l[1],...n};return`${i}?${R(f)}`}class B extends(globalThis.HTMLElement??class{}){static getTemplateHTML=M;static shadowRootOptions={mode:"open"};static observedAttributes=["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src"];loadComplete=new A;#o;#r;#t=0;#i=!1;#e;isLoaded=!1;#l=null;#a=null;#s=null;#n=1;constructor(){super(),this.#u("config")}get config(){return this.#a}set config(e){this.#a=e}async load(){if(this.#o)return;this.shadowRoot||this.attachShadow({mode:"open"});const e=!this.#r;this.#r&&(this.loadComplete=new A,this.isLoaded=!1),this.#r=!0,await(this.#o=Promise.resolve()),this.#o=null,this.#t=0,this.dispatchEvent(new Event("emptied"));let i=this.api;if(this.api=null,!this.src){i?.destroy();return}this.#s=document.createElement("video"),this.textTracks=this.#s.textTracks,this.textTracks.addEventListener("change",()=>{var s;const u=Array.from(this.textTracks).find(d=>d.mode==="showing");(s=this.api)==null||s.setOption("captions","track",u?{languageCode:u.language}:{})}),this.dispatchEvent(new Event("loadstart"));let n=this.shadowRoot.querySelector("iframe"),l=q(this.attributes);e&&n&&(this.#a=JSON.parse(n.getAttribute("data-config")||"{}")),(!n?.src||n.src!==x(l,this))&&(this.shadowRoot.innerHTML=M(l,this),n=this.shadowRoot.querySelector("iframe"));const a=await z(j,Y,F);this.api=new a.Player(n,{events:{onReady:()=>{var s;this.#t=1,this.dispatchEvent(new Event("loadedmetadata")),this.dispatchEvent(new Event("durationchange")),this.#n!==1&&((s=this.api)==null||s.setVolume(this.#n*100)),this.dispatchEvent(new Event("volumechange")),this.dispatchEvent(new Event("loadcomplete")),this.isLoaded=!0,this.loadComplete.resolve()},onError:s=>{console.error(s),this.#l={code:s.data,message:`YouTube iframe player error #${s.data}; visit https://developers.google.com/youtube/iframe_api_reference#onError for the full error message.`},this.dispatchEvent(new Event("error"))}}});let f=!1;this.api.addEventListener("onStateChange",s=>{var u;const d=s.data;if((d===a.PlayerState.PLAYING||d===a.PlayerState.BUFFERING)&&(f||(f=!0,this.dispatchEvent(new Event("play"))),(this.api.getOption("captions","tracklist")||[]).forEach(h=>{[...this.textTracks].some(E=>E.language===h.languageCode)||this.#s.addTextTrack("subtitles",h.displayName,h.languageCode),this.textTracks=this.#s.textTracks}),this.dispatchEvent(new Event("loadstart"))),d===a.PlayerState.PLAYING)this.seeking&&(this.#i=!1,(u=this.#e)==null||u.resolve(),this.dispatchEvent(new Event("seeked"))),this.#t=3,this.dispatchEvent(new Event("playing"));else if(d===a.PlayerState.PAUSED){const b=Math.abs(this.currentTime-p);!this.seeking&&b>.1&&(this.#i=!0,this.dispatchEvent(new Event("seeking"))),f=!1,this.dispatchEvent(new Event("pause"))}d===a.PlayerState.ENDED&&(f=!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 s;const u=((s=this.api)==null?void 0:s.getVolume())/100;this.#n=u,this.dispatchEvent(new Event("volumechange"))}),this.api.addEventListener("onVideoProgress",()=>{this.dispatchEvent(new Event("timeupdate"))}),await this.loadComplete;let p=0;setInterval(()=>{var s;const u=Math.abs(this.currentTime-p),d=this.buffered.end(this.buffered.length-1);this.seeking&&d>.1?(this.#i=!1,(s=this.#e)==null||s.resolve(),this.dispatchEvent(new Event("seeked"))):!this.seeking&&u>.1&&(this.#i=!0,this.dispatchEvent(new Event("seeking"))),p=this.currentTime},50);let g;const w=setInterval(()=>{const s=this.buffered.end(this.buffered.length-1);s>=this.duration&&(clearInterval(w),this.#t=4),g!=s&&(g=s,this.dispatchEvent(new Event("progress")))},100)}async attributeChangedCallback(e,i,n){if(i!==n)switch(e){case"src":case"autoplay":case"controls":case"loop":case"playsinline":this.load()}}async play(){var e;return this.#e=null,await this.loadComplete,(e=this.api)==null||e.playVideo(),Q(this)}async pause(){var e;return await this.loadComplete,(e=this.api)==null?void 0:e.pauseVideo()}get seeking(){return this.#i}get readyState(){return this.#t}get src(){return this.getAttribute("src")}set src(e){this.src!=e&&this.setAttribute("src",e)}get error(){return this.#l}get paused(){var e,i;return this.isLoaded?[-1,0,2,5].includes((i=(e=this.api)==null?void 0:e.getPlayerState)==null?void 0:i.call(e)):!this.autoplay}get duration(){var e,i;return((i=(e=this.api)==null?void 0:e.getDuration)==null?void 0:i.call(e))??NaN}get autoplay(){return this.hasAttribute("autoplay")}set autoplay(e){this.autoplay!=e&&this.toggleAttribute("autoplay",!!e)}get buffered(){var e,i;if(!this.isLoaded)return P();const n=((e=this.api)==null?void 0:e.getVideoLoadedFraction())*((i=this.api)==null?void 0:i.getDuration());return n>0?P(0,n):P()}get controls(){return this.hasAttribute("controls")}set controls(e){this.controls!=e&&this.toggleAttribute("controls",!!e)}get currentTime(){var e,i;return((i=(e=this.api)==null?void 0:e.getCurrentTime)==null?void 0:i.call(e))??0}set currentTime(e){this.currentTime!=e&&(this.#e=new A,this.loadComplete.then(()=>{var i,n;(i=this.api)==null||i.seekTo(e,!0),this.paused&&((n=this.#e)==null||n.then(()=>{var l;this.#e&&((l=this.api)==null||l.pauseVideo())}))}))}set defaultMuted(e){this.defaultMuted!=e&&this.toggleAttribute("muted",!!e)}get defaultMuted(){return this.hasAttribute("muted")}get loop(){return this.hasAttribute("loop")}set loop(e){this.loop!=e&&this.toggleAttribute("loop",!!e)}set muted(e){this.muted!=e&&this.loadComplete.then(()=>{var i,n;e?(i=this.api)==null||i.mute():(n=this.api)==null||n.unMute()})}get muted(){var e,i;return this.isLoaded?(i=(e=this.api)==null?void 0:e.isMuted)==null?void 0:i.call(e):this.defaultMuted}get playbackRate(){var e,i;return((i=(e=this.api)==null?void 0:e.getPlaybackRate)==null?void 0:i.call(e))??1}set playbackRate(e){this.playbackRate!=e&&this.loadComplete.then(()=>{var i;(i=this.api)==null||i.setPlaybackRate(e)})}get playsInline(){return this.hasAttribute("playsinline")}set playsInline(e){this.playsInline!=e&&this.toggleAttribute("playsinline",!!e)}get poster(){return this.getAttribute("poster")}set poster(e){this.poster!=e&&this.setAttribute("poster",`${e}`)}set volume(e){this.volume!=e&&(this.#n=e,this.loadComplete.then(()=>{var i;(i=this.api)==null||i.setVolume(e*100)}))}get volume(){var e;return this.isLoaded?((e=this.api)==null?void 0:e.getVolume())/100:this.#n}#u(e){if(Object.prototype.hasOwnProperty.call(this,e)){const i=this[e];delete this[e],this[e]=i}}}function U(t){let e="";for(const i in t){const n=t[i];n===""?e+=` ${k(i)}`:e+=` ${k(i)}="${k(`${n}`)}"`}return e}function k(t){return t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/`/g,"`")}function R(t){return String(new URLSearchParams(W(t)))}function W(t){let e={};for(let i in t){let n=t[i];n===!0||n===""?e[i]=1:n===!1?e[i]=0:n!=null&&(e[i]=n)}return e}function q(t){let e={};for(let i of t)e[i.name]=i.value;return e}const L={};async function z(t,e,i){return L[t]?L[t]:self[e]?(await J(0),self[e]):L[t]=new Promise(function(n,l){const a=document.createElement("script");a.src=t;const f=()=>n(self[e]);self[i]=f,a.onload=()=>!i,a.onerror=l,document.head.append(a)})}const J=t=>new Promise(e=>setTimeout(e,t));function K(t){return(...e)=>new Promise(i=>{t(...e,(...n)=>{n.length>1?i(n):i(n[0])})})}function Q(t){return K((e,i)=>{let n;t.addEventListener(e,n=()=>{t.removeEventListener(e,n),i()})})("playing")}class A extends Promise{constructor(e=()=>{}){let i,n;super((l,a)=>{e(l,a),i=l,n=a}),this.resolve=i,this.reject=n}}function P(t,e){return Array.isArray(t)?I(t):t==null||e==null||t===0&&e===0?I([[0,0]]):I([[t,e]])}function I(t){return Object.defineProperties(t,{start:{value:e=>t[e][0]},end:{value:e=>t[e][1]}}),t}globalThis.customElements&&!globalThis.customElements.get("youtube-video")&&globalThis.customElements.define("youtube-video",B);var X=B,Z=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),ee={className:"class",htmlFor:"for"};function D(t){return t.toLowerCase()}function O(t){if(typeof t=="boolean")return t?"":void 0;if(typeof t!="function"&&!(typeof t=="object"&&t!==null))return t}function te({react:t,tagName:e,elementClass:i,events:n,displayName:l,defaultProps:a,toAttributeName:f=D,toAttributeValue:p=O}){const g=Number.parseInt(t.version)>=19,w=t.forwardRef((s,u)=>{var d,b;const h=t.useRef(null),E=t.useRef(new Map),T={},S={},v={},_={};for(const[o,r]of Object.entries(s)){if(Z.has(o)){v[o]=r;continue}const c=f(ee[o]??o);if(i.prototype&&o in i.prototype&&!(o in(((d=globalThis.HTMLElement)==null?void 0:d.prototype)??{}))&&!((b=i.observedAttributes)!=null&&b.some(y=>y===c))){_[o]=r;continue}if(o.startsWith("on")){T[o]=r;continue}const m=p(r);if(c&&m!=null&&(S[c]=String(m),g||(v[c]=m)),c&&g){const y=O(r);m!==y?v[c]=m:v[c]=r}}if(typeof window<"u"){for(const o in T){const r=T[o],c=o.endsWith("Capture"),m=(n?.[o]??o.slice(2).toLowerCase()).slice(0,c?-7:void 0);t.useLayoutEffect(()=>{const y=h?.current;if(!(!y||typeof r!="function"))return y.addEventListener(m,r,c),()=>{y.removeEventListener(m,r,c)}},[h?.current,r])}t.useLayoutEffect(()=>{if(h.current===null)return;const o=new Map;for(const r in _)N(h.current,r,_[r]),E.current.delete(r),o.set(r,_[r]);for(const[r,c]of E.current)N(h.current,r,void 0);E.current=o})}if(typeof window>"u"&&i?.getTemplateHTML&&i?.shadowRootOptions){const{mode:o,delegatesFocus:r}=i.shadowRootOptions,c=t.createElement("template",{shadowrootmode:o,shadowrootdelegatesfocus:r,dangerouslySetInnerHTML:{__html:i.getTemplateHTML(S,s)},key:"ce-la-react-ssr-template-shadow-root"});v.children=[c,v.children]}return t.createElement(e,{...a,...v,ref:t.useCallback(o=>{h.current=o,typeof u=="function"?u(o):u!==null&&(u.current=o)},[u])},v.children)});return w.displayName=l??i.name,w}function N(t,e,i){var n;t[e]=i,i==null&&e in(((n=globalThis.HTMLElement)==null?void 0:n.prototype)??{})&&t.removeAttribute(e)}var ne=te({react:H,tagName:"youtube-video",elementClass:X,toAttributeName(t){return t==="muted"?"":t==="defaultMuted"?"muted":D(t)}});/*! 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{ne as default};
|
|
17
|
+
`}function x(t,e){if(!t.src)return;const i=t.src.includes("-nocookie")?$:V,n={controls:t.controls===""?null:0,autoplay:t.autoplay,loop:t.loop,mute:t.muted,playsinline:t.playsinline,preload:t.preload??"metadata",enablejsapi:1,cc_load_policy:1,showinfo:0,rel:0,iv_load_policy:3,modestbranding:1,...e.config};if(C.test(t.src)){const p=t.src.match(C),g=p&&p[1];return`${i}/${g}?${R(n)}`}const l=t.src.match(G),f={listType:"playlist",list:l&&l[1],...n};return`${i}?${R(f)}`}class B extends(globalThis.HTMLElement??class{}){static getTemplateHTML=M;static shadowRootOptions={mode:"open"};static observedAttributes=["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src"];loadComplete=new A;#o;#r;#t=0;#i=!1;#e;isLoaded=!1;#l=null;#a=null;#s=null;#n=1;constructor(){super(),this.#u("config")}get config(){return this.#a}set config(e){this.#a=e}async load(){if(this.#o)return;this.shadowRoot||this.attachShadow({mode:"open"});const e=!this.#r;this.#r&&(this.loadComplete=new A,this.isLoaded=!1),this.#r=!0,await(this.#o=Promise.resolve()),this.#o=null,this.#t=0,this.dispatchEvent(new Event("emptied"));let i=this.api;if(this.api=null,!this.src){i?.destroy();return}this.#s=document.createElement("video"),this.textTracks=this.#s.textTracks,this.textTracks.addEventListener("change",()=>{var s;const u=Array.from(this.textTracks).find(d=>d.mode==="showing");(s=this.api)==null||s.setOption("captions","track",u?{languageCode:u.language}:{})}),this.dispatchEvent(new Event("loadstart"));let n=this.shadowRoot.querySelector("iframe"),l=q(this.attributes);e&&n&&(this.#a=JSON.parse(n.getAttribute("data-config")||"{}")),(!n?.src||n.src!==x(l,this))&&(this.shadowRoot.innerHTML=M(l,this),n=this.shadowRoot.querySelector("iframe"));const a=await z(j,Y,F);this.api=new a.Player(n,{events:{onReady:()=>{var s;this.#t=1,this.dispatchEvent(new Event("loadedmetadata")),this.dispatchEvent(new Event("durationchange")),this.#n!==1&&((s=this.api)==null||s.setVolume(this.#n*100)),this.dispatchEvent(new Event("volumechange")),this.dispatchEvent(new Event("loadcomplete")),this.isLoaded=!0,this.loadComplete.resolve()},onError:s=>{console.error(s),this.#l={code:s.data,message:`YouTube iframe player error #${s.data}; visit https://developers.google.com/youtube/iframe_api_reference#onError for the full error message.`},this.dispatchEvent(new Event("error"))}}});let f=!1;this.api.addEventListener("onStateChange",s=>{var u;const d=s.data;if((d===a.PlayerState.PLAYING||d===a.PlayerState.BUFFERING)&&(f||(f=!0,this.dispatchEvent(new Event("play"))),(this.api.getOption("captions","tracklist")||[]).forEach(h=>{[...this.textTracks].some(E=>E.language===h.languageCode)||this.#s.addTextTrack("subtitles",h.displayName,h.languageCode),this.textTracks=this.#s.textTracks}),this.dispatchEvent(new Event("loadstart"))),d===a.PlayerState.PLAYING)this.seeking&&(this.#i=!1,(u=this.#e)==null||u.resolve(),this.dispatchEvent(new Event("seeked"))),this.#t=3,this.dispatchEvent(new Event("playing"));else if(d===a.PlayerState.PAUSED){const b=Math.abs(this.currentTime-p);!this.seeking&&b>.1&&(this.#i=!0,this.dispatchEvent(new Event("seeking"))),f=!1,this.dispatchEvent(new Event("pause"))}d===a.PlayerState.ENDED&&(f=!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 s;const u=((s=this.api)==null?void 0:s.getVolume())/100;this.#n=u,this.dispatchEvent(new Event("volumechange"))}),this.api.addEventListener("onVideoProgress",()=>{this.dispatchEvent(new Event("timeupdate"))}),await this.loadComplete;let p=0;setInterval(()=>{var s;const u=Math.abs(this.currentTime-p),d=this.buffered.end(this.buffered.length-1);this.seeking&&d>.1?(this.#i=!1,(s=this.#e)==null||s.resolve(),this.dispatchEvent(new Event("seeked"))):!this.seeking&&u>.1&&(this.#i=!0,this.dispatchEvent(new Event("seeking"))),p=this.currentTime},50);let g;const w=setInterval(()=>{const s=this.buffered.end(this.buffered.length-1);s>=this.duration&&(clearInterval(w),this.#t=4),g!=s&&(g=s,this.dispatchEvent(new Event("progress")))},100)}async attributeChangedCallback(e,i,n){if(i!==n)switch(e){case"src":case"autoplay":case"controls":case"loop":case"playsinline":this.load()}}async play(){var e;return this.#e=null,await this.loadComplete,(e=this.api)==null||e.playVideo(),Q(this)}async pause(){var e;return await this.loadComplete,(e=this.api)==null?void 0:e.pauseVideo()}get seeking(){return this.#i}get readyState(){return this.#t}get src(){return this.getAttribute("src")}set src(e){this.src!=e&&this.setAttribute("src",e)}get error(){return this.#l}get paused(){var e,i;return this.isLoaded?[-1,0,2,5].includes((i=(e=this.api)==null?void 0:e.getPlayerState)==null?void 0:i.call(e)):!this.autoplay}get duration(){var e,i;return((i=(e=this.api)==null?void 0:e.getDuration)==null?void 0:i.call(e))??NaN}get autoplay(){return this.hasAttribute("autoplay")}set autoplay(e){this.autoplay!=e&&this.toggleAttribute("autoplay",!!e)}get buffered(){var e,i;if(!this.isLoaded)return P();const n=((e=this.api)==null?void 0:e.getVideoLoadedFraction())*((i=this.api)==null?void 0:i.getDuration());return n>0?P(0,n):P()}get controls(){return this.hasAttribute("controls")}set controls(e){this.controls!=e&&this.toggleAttribute("controls",!!e)}get currentTime(){var e,i;return((i=(e=this.api)==null?void 0:e.getCurrentTime)==null?void 0:i.call(e))??0}set currentTime(e){this.currentTime!=e&&(this.#e=new A,this.loadComplete.then(()=>{var i,n;(i=this.api)==null||i.seekTo(e,!0),this.paused&&((n=this.#e)==null||n.then(()=>{var l;this.#e&&((l=this.api)==null||l.pauseVideo())}))}))}set defaultMuted(e){this.defaultMuted!=e&&this.toggleAttribute("muted",!!e)}get defaultMuted(){return this.hasAttribute("muted")}get loop(){return this.hasAttribute("loop")}set loop(e){this.loop!=e&&this.toggleAttribute("loop",!!e)}set muted(e){this.muted!=e&&this.loadComplete.then(()=>{var i,n;e?(i=this.api)==null||i.mute():(n=this.api)==null||n.unMute()})}get muted(){var e,i;return this.isLoaded?(i=(e=this.api)==null?void 0:e.isMuted)==null?void 0:i.call(e):this.defaultMuted}get playbackRate(){var e,i;return((i=(e=this.api)==null?void 0:e.getPlaybackRate)==null?void 0:i.call(e))??1}set playbackRate(e){this.playbackRate!=e&&this.loadComplete.then(()=>{var i;(i=this.api)==null||i.setPlaybackRate(e)})}get playsInline(){return this.hasAttribute("playsinline")}set playsInline(e){this.playsInline!=e&&this.toggleAttribute("playsinline",!!e)}get poster(){return this.getAttribute("poster")}set poster(e){this.poster!=e&&this.setAttribute("poster",`${e}`)}set volume(e){this.volume!=e&&(this.#n=e,this.loadComplete.then(()=>{var i;(i=this.api)==null||i.setVolume(e*100)}))}get volume(){var e;return this.isLoaded?((e=this.api)==null?void 0:e.getVolume())/100:this.#n}#u(e){if(Object.prototype.hasOwnProperty.call(this,e)){const i=this[e];delete this[e],this[e]=i}}}function U(t){let e="";for(const i in t){const n=t[i];n===""?e+=` ${k(i)}`:e+=` ${k(i)}="${k(`${n}`)}"`}return e}function k(t){return t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/`/g,"`")}function R(t){return String(new URLSearchParams(W(t)))}function W(t){let e={};for(let i in t){let n=t[i];n===!0||n===""?e[i]=1:n===!1?e[i]=0:n!=null&&(e[i]=n)}return e}function q(t){let e={};for(let i of t)e[i.name]=i.value;return e}const L={};async function z(t,e,i){return L[t]?L[t]:self[e]?(await J(0),self[e]):L[t]=new Promise(function(n,l){const a=document.createElement("script");a.src=t;const f=()=>n(self[e]);self[i]=f,a.onload=()=>!i,a.onerror=l,document.head.append(a)})}const J=t=>new Promise(e=>setTimeout(e,t));function K(t){return(...e)=>new Promise(i=>{t(...e,(...n)=>{n.length>1?i(n):i(n[0])})})}function Q(t){return K((e,i)=>{let n;t.addEventListener(e,n=()=>{t.removeEventListener(e,n),i()})})("playing")}class A extends Promise{constructor(e=()=>{}){let i,n;super((l,a)=>{e(l,a),i=l,n=a}),this.resolve=i,this.reject=n}}function P(t,e){return Array.isArray(t)?I(t):t==null||e==null||t===0&&e===0?I([[0,0]]):I([[t,e]])}function I(t){return Object.defineProperties(t,{start:{value:e=>t[e][0]},end:{value:e=>t[e][1]}}),t}globalThis.customElements&&!globalThis.customElements.get("youtube-video")&&globalThis.customElements.define("youtube-video",B);var X=B,Z=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),ee={className:"class",htmlFor:"for"};function D(t){return t.toLowerCase()}function O(t){if(typeof t=="boolean")return t?"":void 0;if(typeof t!="function"&&!(typeof t=="object"&&t!==null))return t}function te({react:t,tagName:e,elementClass:i,events:n,displayName:l,defaultProps:a,toAttributeName:f=D,toAttributeValue:p=O}){const g=Number.parseInt(t.version)>=19,w=t.forwardRef((s,u)=>{var d,b;const h=t.useRef(null),E=t.useRef(new Map),T={},S={},v={},_={};for(const[o,r]of Object.entries(s)){if(Z.has(o)){v[o]=r;continue}const c=f(ee[o]??o);if(i.prototype&&o in i.prototype&&!(o in(((d=globalThis.HTMLElement)==null?void 0:d.prototype)??{}))&&!((b=i.observedAttributes)!=null&&b.some(y=>y===c))){_[o]=r;continue}if(o.startsWith("on")){T[o]=r;continue}const m=p(r);if(c&&m!=null&&(S[c]=String(m),g||(v[c]=m)),c&&g){const y=O(r);m!==y?v[c]=m:v[c]=r}}if(typeof window<"u"){for(const o in T){const r=T[o],c=o.endsWith("Capture"),m=(n?.[o]??o.slice(2).toLowerCase()).slice(0,c?-7:void 0);t.useLayoutEffect(()=>{const y=h?.current;if(!(!y||typeof r!="function"))return y.addEventListener(m,r,c),()=>{y.removeEventListener(m,r,c)}},[h?.current,r])}t.useLayoutEffect(()=>{if(h.current===null)return;const o=new Map;for(const r in _)N(h.current,r,_[r]),E.current.delete(r),o.set(r,_[r]);for(const[r,c]of E.current)N(h.current,r,void 0);E.current=o})}if(typeof window>"u"&&i?.getTemplateHTML&&i?.shadowRootOptions){const{mode:o,delegatesFocus:r}=i.shadowRootOptions,c=t.createElement("template",{shadowrootmode:o,shadowrootdelegatesfocus:r,dangerouslySetInnerHTML:{__html:i.getTemplateHTML(S,s)},key:"ce-la-react-ssr-template-shadow-root"});v.children=[c,v.children]}return t.createElement(e,{...a,...v,ref:t.useCallback(o=>{h.current=o,typeof u=="function"?u(o):u!==null&&(u.current=o)},[u])},v.children)});return w.displayName=l??i.name,w}function N(t,e,i){var n;t[e]=i,i==null&&e in(((n=globalThis.HTMLElement)==null?void 0:n.prototype)??{})&&t.removeAttribute(e)}var ne=te({react:H,tagName:"youtube-video",elementClass:X,toAttributeName(t){return t==="muted"?"":t==="defaultMuted"?"muted":D(t)}});export{ne as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{P as D}from"./sentry-
|
|
1
|
+
import{P as D}from"./sentry-Fca4mdIl.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]="50044d3c-248c-48a0-8a74-b90d791a0c43",t._sentryDebugIdIdentifier="sentry-dbid-50044d3c-248c-48a0-8a74-b90d791a0c43")}catch{}})();const H="https://www.tiktok.com/player/v1",O=/tiktok\.com\/(?:player\/v1\/|share\/video\/|@[^/]+\/video\/)([0-9]+)/,d={INIT:-1,ENDED:0,PLAYING:1,PAUSED:2,BUFFERING:3},x={[d.INIT]:"emptied",[d.PAUSED]:"pause",[d.ENDED]:"ended",[d.PLAYING]:"play",[d.BUFFERING]:"waiting"};function P(t,e={}){const o={src:I(t,e),frameborder:0,width:"100%",height:"100%",allow:"accelerometer; autoplay; fullscreen; encrypted-media; gyroscope; picture-in-picture"};return e.config&&(o["data-config"]=JSON.stringify(e.config)),`
|
|
2
2
|
<style>
|
|
3
3
|
:host {
|
|
4
4
|
display:inline-block;
|
|
@@ -16,14 +16,4 @@ import{P as D}from"./sentry-PE_t7E3E.js";(function(){try{var t=typeof window<"u"
|
|
|
16
16
|
}
|
|
17
17
|
</style>
|
|
18
18
|
<iframe ${$(o)} title="TikTok video"></iframe>
|
|
19
|
-
`}function I(t,e={}){if(!t.src)return;const o=t.src.match(O),i=o&&o[1],a={controls:t.controls===""?null:0,autoplay:t.autoplay,muted:t.muted,loop:t.loop,rel:0,...e.config};return`${H}/${i}?${W(a)}`}class v extends(globalThis.HTMLElement??class{}){static getTemplateHTML=P;static shadowRootOptions={mode:"open"};static get observedAttributes(){return["src","controls","loop","autoplay","muted"]}loadComplete=new N;#n;#s;#t=!1;#r=0;#a=!0;#l=null;#o=100;#u=0;#i;constructor(){super(),this.#m("config")}async load(){if(this.#n)return;this.shadowRoot||this.attachShadow(v.shadowRootOptions);const e=!this.#s;if(this.#s&&(this.loadComplete=new N),this.#s=!0,await(this.#n=Promise.resolve()),this.#n=null,this.#r=0,this.#t=!1,this.#a=!0,!this.src){this.shadowRoot.innerHTML="",globalThis.removeEventListener("message",this.#c);return}let o=this.shadowRoot.querySelector("iframe");const i=F(this.attributes);e&&o&&(this.#l=JSON.parse(o.getAttribute("data-config")||"{}")),(!o?.src||o.src!==I(i,this))&&(this.shadowRoot.innerHTML=P(i,this),o=this.shadowRoot.querySelector("iframe")),this.#i=o,globalThis.addEventListener("message",this.#c)}async attributeChangedCallback(e,o,i){if(o!==i)switch(e){case"muted":{await this.loadComplete,this.muted=i!=null;break}case"autoplay":case"controls":case"loop":case"src":{this.load();return}}}get config(){return this.#l}set config(e){this.#l=e}#c=e=>{var o;if(e.source!==((o=this.#i)==null?void 0:o.contentWindow))return;const i=e.data;if(i?.["x-tiktok-player"])switch(i.type){case"onPlayerReady":this.loadComplete.resolve();break;case"onStateChange":{this.#a=[d.INIT,d.PAUSED,d.ENDED].includes(i.value);const a=x[i.value];a&&this.dispatchEvent(new Event(a));break}case"onCurrentTime":this.#r=i.value.currentTime,this.#u=i.value.duration,this.dispatchEvent(new Event("durationchange")),this.dispatchEvent(new Event("timeupdate"));break;case"onVolumeChange":this.#o=i.value,this.dispatchEvent(new Event("volumechange"));break;case"onMute":this.#t=!!i.value,this.#o=i.value?0:this.#o,this.dispatchEvent(new Event("volumechange"));break;case"onError":this.dispatchEvent(new Event("error"));break;default:console.warn("Unhandled TikTok player message:",i);break}};#e(e,o){var i;if(!((i=this.#i)!=null&&i.contentWindow))return;const a={"x-tiktok-player":!0,type:e,...o!==void 0?{value:o}:{}};this.#i.contentWindow.postMessage(a,"*")}async play(){await this.loadComplete,this.#e("play")}async pause(){await this.loadComplete,this.#e("pause")}async#d(e){await this.loadComplete,this.#e("seekTo",Number(e))}async#h(){await this.loadComplete,this.#e("mute")}async#f(){await this.loadComplete,this.#e("unMute")}get volume(){return this.#o/100}set volume(e){console.warn("Volume control is not supported for TikTok videos.")}get currentTime(){return this.#r}set currentTime(e){this.#d(e)}get muted(){return this.#t}set muted(e){this.#t=e,e?this.#h():this.#f()}get defaultMuted(){return this.hasAttribute("muted")}set defaultMuted(e){this.toggleAttribute("muted",!!e)}get paused(){return this.#a}get duration(){return this.#u}get src(){return this.getAttribute("src")}set src(e){this.setAttribute("src",e??"")}#m(e){if(Object.prototype.hasOwnProperty.call(this,e)){const o=this[e];delete this[e],this[e]=o}}}class N extends Promise{constructor(e=()=>{}){let o,i;super((a,m)=>{e(a,m),o=a,i=m}),this.resolve=o,this.reject=i}}function F(t){let e={};for(let o of t)e[o.name]=o.value;return e}function U(t){let e={};for(let o in t){let i=t[o];i===!0||i===""?e[o]=1:i===!1?e[o]=0:i!=null&&(e[o]=i)}return e}function W(t){return String(new URLSearchParams(U(t)))}function $(t){let e="";for(const o in t){const i=t[o];i===""?e+=` ${b(o)}`:e+=` ${b(o)}="${b(`${i}`)}"`}return e}function b(t){return t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/`/g,"`")}globalThis.customElements&&!globalThis.customElements.get("tiktok-video")&&globalThis.customElements.define("tiktok-video",v);var j=v,B=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),q={className:"class",htmlFor:"for"};function S(t){return t.toLowerCase()}function A(t){if(typeof t=="boolean")return t?"":void 0;if(typeof t!="function"&&!(typeof t=="object"&&t!==null))return t}function G({react:t,tagName:e,elementClass:o,events:i,displayName:a,defaultProps:m,toAttributeName:R=S,toAttributeValue:C=A}){const w=Number.parseInt(t.version)>=19,T=t.forwardRef((E,f)=>{var k,M;const l=t.useRef(null),g=t.useRef(new Map),y={},L={},u={},p={};for(const[n,s]of Object.entries(E)){if(B.has(n)){u[n]=s;continue}const r=R(q[n]??n);if(o.prototype&&n in o.prototype&&!(n in(((k=globalThis.HTMLElement)==null?void 0:k.prototype)??{}))&&!((M=o.observedAttributes)!=null&&M.some(h=>h===r))){p[n]=s;continue}if(n.startsWith("on")){y[n]=s;continue}const c=C(s);if(r&&c!=null&&(L[r]=String(c),w||(u[r]=c)),r&&w){const h=A(s);c!==h?u[r]=c:u[r]=s}}if(typeof window<"u"){for(const n in y){const s=y[n],r=n.endsWith("Capture"),c=(i?.[n]??n.slice(2).toLowerCase()).slice(0,r?-7:void 0);t.useLayoutEffect(()=>{const h=l?.current;if(!(!h||typeof s!="function"))return h.addEventListener(c,s,r),()=>{h.removeEventListener(c,s,r)}},[l?.current,s])}t.useLayoutEffect(()=>{if(l.current===null)return;const n=new Map;for(const s in p)_(l.current,s,p[s]),g.current.delete(s),n.set(s,p[s]);for(const[s,r]of g.current)_(l.current,s,void 0);g.current=n})}if(typeof window>"u"&&o?.getTemplateHTML&&o?.shadowRootOptions){const{mode:n,delegatesFocus:s}=o.shadowRootOptions,r=t.createElement("template",{shadowrootmode:n,shadowrootdelegatesfocus:s,dangerouslySetInnerHTML:{__html:o.getTemplateHTML(L,E)},key:"ce-la-react-ssr-template-shadow-root"});u.children=[r,u.children]}return t.createElement(e,{...m,...u,ref:t.useCallback(n=>{l.current=n,typeof f=="function"?f(n):f!==null&&(f.current=n)},[f])},u.children)});return T.displayName=a??o.name,T}function _(t,e,o){var i;t[e]=o,o==null&&e in(((i=globalThis.HTMLElement)==null?void 0:i.prototype)??{})&&t.removeAttribute(e)}var J=G({react:D,tagName:"tiktok-video",elementClass:j,toAttributeName(t){return t==="muted"?"":t==="defaultMuted"?"muted":S(t)}})
|
|
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{J as default};
|
|
19
|
+
`}function I(t,e={}){if(!t.src)return;const o=t.src.match(O),i=o&&o[1],a={controls:t.controls===""?null:0,autoplay:t.autoplay,muted:t.muted,loop:t.loop,rel:0,...e.config};return`${H}/${i}?${W(a)}`}class v extends(globalThis.HTMLElement??class{}){static getTemplateHTML=P;static shadowRootOptions={mode:"open"};static get observedAttributes(){return["src","controls","loop","autoplay","muted"]}loadComplete=new N;#n;#s;#t=!1;#r=0;#a=!0;#l=null;#o=100;#u=0;#i;constructor(){super(),this.#m("config")}async load(){if(this.#n)return;this.shadowRoot||this.attachShadow(v.shadowRootOptions);const e=!this.#s;if(this.#s&&(this.loadComplete=new N),this.#s=!0,await(this.#n=Promise.resolve()),this.#n=null,this.#r=0,this.#t=!1,this.#a=!0,!this.src){this.shadowRoot.innerHTML="",globalThis.removeEventListener("message",this.#c);return}let o=this.shadowRoot.querySelector("iframe");const i=F(this.attributes);e&&o&&(this.#l=JSON.parse(o.getAttribute("data-config")||"{}")),(!o?.src||o.src!==I(i,this))&&(this.shadowRoot.innerHTML=P(i,this),o=this.shadowRoot.querySelector("iframe")),this.#i=o,globalThis.addEventListener("message",this.#c)}async attributeChangedCallback(e,o,i){if(o!==i)switch(e){case"muted":{await this.loadComplete,this.muted=i!=null;break}case"autoplay":case"controls":case"loop":case"src":{this.load();return}}}get config(){return this.#l}set config(e){this.#l=e}#c=e=>{var o;if(e.source!==((o=this.#i)==null?void 0:o.contentWindow))return;const i=e.data;if(i?.["x-tiktok-player"])switch(i.type){case"onPlayerReady":this.loadComplete.resolve();break;case"onStateChange":{this.#a=[d.INIT,d.PAUSED,d.ENDED].includes(i.value);const a=x[i.value];a&&this.dispatchEvent(new Event(a));break}case"onCurrentTime":this.#r=i.value.currentTime,this.#u=i.value.duration,this.dispatchEvent(new Event("durationchange")),this.dispatchEvent(new Event("timeupdate"));break;case"onVolumeChange":this.#o=i.value,this.dispatchEvent(new Event("volumechange"));break;case"onMute":this.#t=!!i.value,this.#o=i.value?0:this.#o,this.dispatchEvent(new Event("volumechange"));break;case"onError":this.dispatchEvent(new Event("error"));break;default:console.warn("Unhandled TikTok player message:",i);break}};#e(e,o){var i;if(!((i=this.#i)!=null&&i.contentWindow))return;const a={"x-tiktok-player":!0,type:e,...o!==void 0?{value:o}:{}};this.#i.contentWindow.postMessage(a,"*")}async play(){await this.loadComplete,this.#e("play")}async pause(){await this.loadComplete,this.#e("pause")}async#d(e){await this.loadComplete,this.#e("seekTo",Number(e))}async#h(){await this.loadComplete,this.#e("mute")}async#f(){await this.loadComplete,this.#e("unMute")}get volume(){return this.#o/100}set volume(e){console.warn("Volume control is not supported for TikTok videos.")}get currentTime(){return this.#r}set currentTime(e){this.#d(e)}get muted(){return this.#t}set muted(e){this.#t=e,e?this.#h():this.#f()}get defaultMuted(){return this.hasAttribute("muted")}set defaultMuted(e){this.toggleAttribute("muted",!!e)}get paused(){return this.#a}get duration(){return this.#u}get src(){return this.getAttribute("src")}set src(e){this.setAttribute("src",e??"")}#m(e){if(Object.prototype.hasOwnProperty.call(this,e)){const o=this[e];delete this[e],this[e]=o}}}class N extends Promise{constructor(e=()=>{}){let o,i;super((a,m)=>{e(a,m),o=a,i=m}),this.resolve=o,this.reject=i}}function F(t){let e={};for(let o of t)e[o.name]=o.value;return e}function U(t){let e={};for(let o in t){let i=t[o];i===!0||i===""?e[o]=1:i===!1?e[o]=0:i!=null&&(e[o]=i)}return e}function W(t){return String(new URLSearchParams(U(t)))}function $(t){let e="";for(const o in t){const i=t[o];i===""?e+=` ${b(o)}`:e+=` ${b(o)}="${b(`${i}`)}"`}return e}function b(t){return t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/`/g,"`")}globalThis.customElements&&!globalThis.customElements.get("tiktok-video")&&globalThis.customElements.define("tiktok-video",v);var j=v,B=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),q={className:"class",htmlFor:"for"};function S(t){return t.toLowerCase()}function A(t){if(typeof t=="boolean")return t?"":void 0;if(typeof t!="function"&&!(typeof t=="object"&&t!==null))return t}function G({react:t,tagName:e,elementClass:o,events:i,displayName:a,defaultProps:m,toAttributeName:R=S,toAttributeValue:C=A}){const w=Number.parseInt(t.version)>=19,T=t.forwardRef((E,f)=>{var k,M;const l=t.useRef(null),g=t.useRef(new Map),y={},L={},u={},p={};for(const[n,s]of Object.entries(E)){if(B.has(n)){u[n]=s;continue}const r=R(q[n]??n);if(o.prototype&&n in o.prototype&&!(n in(((k=globalThis.HTMLElement)==null?void 0:k.prototype)??{}))&&!((M=o.observedAttributes)!=null&&M.some(h=>h===r))){p[n]=s;continue}if(n.startsWith("on")){y[n]=s;continue}const c=C(s);if(r&&c!=null&&(L[r]=String(c),w||(u[r]=c)),r&&w){const h=A(s);c!==h?u[r]=c:u[r]=s}}if(typeof window<"u"){for(const n in y){const s=y[n],r=n.endsWith("Capture"),c=(i?.[n]??n.slice(2).toLowerCase()).slice(0,r?-7:void 0);t.useLayoutEffect(()=>{const h=l?.current;if(!(!h||typeof s!="function"))return h.addEventListener(c,s,r),()=>{h.removeEventListener(c,s,r)}},[l?.current,s])}t.useLayoutEffect(()=>{if(l.current===null)return;const n=new Map;for(const s in p)_(l.current,s,p[s]),g.current.delete(s),n.set(s,p[s]);for(const[s,r]of g.current)_(l.current,s,void 0);g.current=n})}if(typeof window>"u"&&o?.getTemplateHTML&&o?.shadowRootOptions){const{mode:n,delegatesFocus:s}=o.shadowRootOptions,r=t.createElement("template",{shadowrootmode:n,shadowrootdelegatesfocus:s,dangerouslySetInnerHTML:{__html:o.getTemplateHTML(L,E)},key:"ce-la-react-ssr-template-shadow-root"});u.children=[r,u.children]}return t.createElement(e,{...m,...u,ref:t.useCallback(n=>{l.current=n,typeof f=="function"?f(n):f!==null&&(f.current=n)},[f])},u.children)});return T.displayName=a??o.name,T}function _(t,e,o){var i;t[e]=o,o==null&&e in(((i=globalThis.HTMLElement)==null?void 0:i.prototype)??{})&&t.removeAttribute(e)}var J=G({react:D,tagName:"tiktok-video",elementClass:j,toAttributeName(t){return t==="muted"?"":t==="defaultMuted"?"muted":S(t)}});export{J as default};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import{b as U,P as Ie}from"./sentry-Fca4mdIl.js";(function(){try{var r=typeof window<"u"?window:typeof U<"u"?U:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new r.Error().stack;e&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[e]="1574b609-e127-4ca6-aafa-fdba2dd2ca8d",r._sentryDebugIdIdentifier="sentry-dbid-1574b609-e127-4ca6-aafa-fdba2dd2ca8d")}catch{}})();function fe(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable})),t.push.apply(t,n)}return t}function he(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?fe(Object(t),!0).forEach(function(n){K(r,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):fe(Object(t)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(t,n))})}return r}function R(){R=function(){return r};var r={},e=Object.prototype,t=e.hasOwnProperty,n=Object.defineProperty||function(l,c,d){l[c]=d.value},i=typeof Symbol=="function"?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function h(l,c,d){return Object.defineProperty(l,c,{value:d,enumerable:!0,configurable:!0,writable:!0}),l[c]}try{h({},"")}catch{h=function(c,d,M){return c[d]=M}}function o(l,c,d,M){var w=c&&c.prototype instanceof T?c:T,C=Object.create(w.prototype),A=new L(M||[]);return n(C,"_invoke",{value:v(l,d,A)}),C}function b(l,c,d){try{return{type:"normal",arg:l.call(c,d)}}catch(M){return{type:"throw",arg:M}}}r.wrap=o;var k={};function T(){}function P(){}function g(){}var _={};h(_,a,function(){return this});var O=Object.getPrototypeOf,N=O&&O(O(q([])));N&&N!==e&&t.call(N,a)&&(_=N);var m=g.prototype=T.prototype=Object.create(_);function p(l){["next","throw","return"].forEach(function(c){h(l,c,function(d){return this._invoke(c,d)})})}function f(l,c){function d(w,C,A,j){var F=b(l[w],l,C);if(F.type!=="throw"){var H=F.arg,Q=H.value;return Q&&typeof Q=="object"&&t.call(Q,"__await")?c.resolve(Q.__await).then(function($){d("next",$,A,j)},function($){d("throw",$,A,j)}):c.resolve(Q).then(function($){H.value=$,A(H)},function($){return d("throw",$,A,j)})}j(F.arg)}var M;n(this,"_invoke",{value:function(w,C){function A(){return new c(function(j,F){d(w,C,j,F)})}return M=M?M.then(A,A):A()}})}function v(l,c,d){var M="suspendedStart";return function(w,C){if(M==="executing")throw new Error("Generator is already running");if(M==="completed"){if(w==="throw")throw C;return ie()}for(d.method=w,d.arg=C;;){var A=d.delegate;if(A){var j=E(A,d);if(j){if(j===k)continue;return j}}if(d.method==="next")d.sent=d._sent=d.arg;else if(d.method==="throw"){if(M==="suspendedStart")throw M="completed",d.arg;d.dispatchException(d.arg)}else d.method==="return"&&d.abrupt("return",d.arg);M="executing";var F=b(l,c,d);if(F.type==="normal"){if(M=d.done?"completed":"suspendedYield",F.arg===k)continue;return{value:F.arg,done:d.done}}F.type==="throw"&&(M="completed",d.method="throw",d.arg=F.arg)}}}function E(l,c){var d=c.method,M=l.iterator[d];if(M===void 0)return c.delegate=null,d==="throw"&&l.iterator.return&&(c.method="return",c.arg=void 0,E(l,c),c.method==="throw")||d!=="return"&&(c.method="throw",c.arg=new TypeError("The iterator does not provide a '"+d+"' method")),k;var w=b(M,l.iterator,c.arg);if(w.type==="throw")return c.method="throw",c.arg=w.arg,c.delegate=null,k;var C=w.arg;return C?C.done?(c[l.resultName]=C.value,c.next=l.nextLoc,c.method!=="return"&&(c.method="next",c.arg=void 0),c.delegate=null,k):C:(c.method="throw",c.arg=new TypeError("iterator result is not an object"),c.delegate=null,k)}function S(l){var c={tryLoc:l[0]};1 in l&&(c.catchLoc=l[1]),2 in l&&(c.finallyLoc=l[2],c.afterLoc=l[3]),this.tryEntries.push(c)}function y(l){var c=l.completion||{};c.type="normal",delete c.arg,l.completion=c}function L(l){this.tryEntries=[{tryLoc:"root"}],l.forEach(S,this),this.reset(!0)}function q(l){if(l){var c=l[a];if(c)return c.call(l);if(typeof l.next=="function")return l;if(!isNaN(l.length)){var d=-1,M=function w(){for(;++d<l.length;)if(t.call(l,d))return w.value=l[d],w.done=!1,w;return w.value=void 0,w.done=!0,w};return M.next=M}}return{next:ie}}function ie(){return{value:void 0,done:!0}}return P.prototype=g,n(m,"constructor",{value:g,configurable:!0}),n(g,"constructor",{value:P,configurable:!0}),P.displayName=h(g,s,"GeneratorFunction"),r.isGeneratorFunction=function(l){var c=typeof l=="function"&&l.constructor;return!!c&&(c===P||(c.displayName||c.name)==="GeneratorFunction")},r.mark=function(l){return Object.setPrototypeOf?Object.setPrototypeOf(l,g):(l.__proto__=g,h(l,s,"GeneratorFunction")),l.prototype=Object.create(m),l},r.awrap=function(l){return{__await:l}},p(f.prototype),h(f.prototype,u,function(){return this}),r.AsyncIterator=f,r.async=function(l,c,d,M,w){w===void 0&&(w=Promise);var C=new f(o(l,c,d,M),w);return r.isGeneratorFunction(c)?C:C.next().then(function(A){return A.done?A.value:C.next()})},p(m),h(m,s,"Generator"),h(m,a,function(){return this}),h(m,"toString",function(){return"[object Generator]"}),r.keys=function(l){var c=Object(l),d=[];for(var M in c)d.push(M);return d.reverse(),function w(){for(;d.length;){var C=d.pop();if(C in c)return w.value=C,w.done=!1,w}return w.done=!0,w}},r.values=q,L.prototype={constructor:L,reset:function(l){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(y),!l)for(var c in this)c.charAt(0)==="t"&&t.call(this,c)&&!isNaN(+c.slice(1))&&(this[c]=void 0)},stop:function(){this.done=!0;var l=this.tryEntries[0].completion;if(l.type==="throw")throw l.arg;return this.rval},dispatchException:function(l){if(this.done)throw l;var c=this;function d(F,H){return C.type="throw",C.arg=l,c.next=F,H&&(c.method="next",c.arg=void 0),!!H}for(var M=this.tryEntries.length-1;M>=0;--M){var w=this.tryEntries[M],C=w.completion;if(w.tryLoc==="root")return d("end");if(w.tryLoc<=this.prev){var A=t.call(w,"catchLoc"),j=t.call(w,"finallyLoc");if(A&&j){if(this.prev<w.catchLoc)return d(w.catchLoc,!0);if(this.prev<w.finallyLoc)return d(w.finallyLoc)}else if(A){if(this.prev<w.catchLoc)return d(w.catchLoc,!0)}else{if(!j)throw new Error("try statement without catch or finally");if(this.prev<w.finallyLoc)return d(w.finallyLoc)}}}},abrupt:function(l,c){for(var d=this.tryEntries.length-1;d>=0;--d){var M=this.tryEntries[d];if(M.tryLoc<=this.prev&&t.call(M,"finallyLoc")&&this.prev<M.finallyLoc){var w=M;break}}w&&(l==="break"||l==="continue")&&w.tryLoc<=c&&c<=w.finallyLoc&&(w=null);var C=w?w.completion:{};return C.type=l,C.arg=c,w?(this.method="next",this.next=w.finallyLoc,k):this.complete(C)},complete:function(l,c){if(l.type==="throw")throw l.arg;return l.type==="break"||l.type==="continue"?this.next=l.arg:l.type==="return"?(this.rval=this.arg=l.arg,this.method="return",this.next="end"):l.type==="normal"&&c&&(this.next=c),k},finish:function(l){for(var c=this.tryEntries.length-1;c>=0;--c){var d=this.tryEntries[c];if(d.finallyLoc===l)return this.complete(d.completion,d.afterLoc),y(d),k}},catch:function(l){for(var c=this.tryEntries.length-1;c>=0;--c){var d=this.tryEntries[c];if(d.tryLoc===l){var M=d.completion;if(M.type==="throw"){var w=M.arg;y(d)}return w}}throw new Error("illegal catch attempt")},delegateYield:function(l,c,d){return this.delegate={iterator:q(l),resultName:c,nextLoc:d},this.method==="next"&&(this.arg=void 0),k}},r}function de(r,e,t,n,i,a,u){try{var s=r[a](u),h=s.value}catch(o){t(o);return}s.done?e(h):Promise.resolve(h).then(n,i)}function W(r){return function(){var e=this,t=arguments;return new Promise(function(n,i){var a=r.apply(e,t);function u(h){de(a,n,i,u,s,"next",h)}function s(h){de(a,n,i,u,s,"throw",h)}u(void 0)})}}function ke(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function Le(r,e){for(var t=0;t<e.length;t++){var n=e[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(r,Me(n.key),n)}}function Pe(r,e,t){return e&&Le(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}function K(r,e,t){return e=Me(e),e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function je(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&X(r,e)}function J(r){return J=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},J(r)}function X(r,e){return X=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},X(r,e)}function Te(){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 Z(r,e,t){return Te()?Z=Reflect.construct.bind():Z=function(i,a,u){var s=[null];s.push.apply(s,a);var h=Function.bind.apply(i,s),o=new h;return u&&X(o,u.prototype),o},Z.apply(null,arguments)}function Fe(r){return Function.toString.call(r).indexOf("[native code]")!==-1}function se(r){var e=typeof Map=="function"?new Map:void 0;return se=function(n){if(n===null||!Fe(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e<"u"){if(e.has(n))return e.get(n);e.set(n,i)}function i(){return Z(n,arguments,J(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),X(i,n)},se(r)}function ee(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function qe(r,e){if(e&&(typeof e=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ee(r)}function De(r){var e=Te();return function(){var n=J(r),i;if(e){var a=J(this).constructor;i=Reflect.construct(n,arguments,a)}else i=n.apply(this,arguments);return qe(this,i)}}function Ve(r,e){if(typeof r!="object"||r===null)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var n=t.call(r,e);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(r)}function Me(r){var e=Ve(r,"string");return typeof e=="symbol"?e:String(e)}var Se=typeof U<"u"&&{}.toString.call(U)==="[object global]";function pe(r,e){return r.indexOf(e.toLowerCase())===0?r:"".concat(e.toLowerCase()).concat(r.substr(0,1).toUpperCase()).concat(r.substr(1))}function $e(r){return!!(r&&r.nodeType===1&&"nodeName"in r&&r.ownerDocument&&r.ownerDocument.defaultView)}function xe(r){return!isNaN(parseFloat(r))&&isFinite(r)&&Math.floor(r)==r}function z(r){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(r)}function Ce(r){var e=/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/;return e.test(r)}function We(r){for(var e=(r||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),t=(e&&e[1]||"").replace("player.",""),n=[".videoji.hk",".vimeo.work",".videoji.cn"],i=0,a=n;i<a.length;i++){var u=a[i];if(t.endsWith(u))return t}return"vimeo.com"}function Oe(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=r.id,t=r.url,n=e||t;if(!n)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(xe(n))return"https://vimeo.com/".concat(n);if(z(n))return n.replace("http:","https:");throw e?new TypeError("“".concat(e,"” is not a valid video id.")):new TypeError("“".concat(n,"” is not a vimeo.com url."))}var ve=function(e,t,n){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"addEventListener",a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"removeEventListener",u=typeof t=="string"?[t]:t;return u.forEach(function(s){e[i](s,n)}),{cancel:function(){return u.forEach(function(h){return e[a](h,n)})}}},ze=typeof Array.prototype.indexOf<"u",He=typeof window<"u"&&typeof window.postMessage<"u";if(!Se&&(!ze||!He))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var G=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof U<"u"?U:typeof self<"u"?self:{};function Be(r,e){return e={exports:{}},r(e,e.exports),e.exports}(function(r){if(r.WeakMap)return;var e=Object.prototype.hasOwnProperty,t=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}}(),n=function(a,u,s){t?Object.defineProperty(a,u,{configurable:!0,writable:!0,value:s}):a[u]=s};r.WeakMap=function(){function a(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(n(this,"_id",s("_WeakMap")),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}n(a.prototype,"delete",function(o){if(u(this,"delete"),!i(o))return!1;var b=o[this._id];return b&&b[0]===o?(delete o[this._id],!0):!1}),n(a.prototype,"get",function(o){if(u(this,"get"),!!i(o)){var b=o[this._id];if(b&&b[0]===o)return b[1]}}),n(a.prototype,"has",function(o){if(u(this,"has"),!i(o))return!1;var b=o[this._id];return!!(b&&b[0]===o)}),n(a.prototype,"set",function(o,b){if(u(this,"set"),!i(o))throw new TypeError("Invalid value used as weak map key");var k=o[this._id];return k&&k[0]===o?(k[1]=b,this):(n(o,this._id,[o,b]),this)});function u(o,b){if(!i(o)||!e.call(o,"_id"))throw new TypeError(b+" method called on incompatible receiver "+typeof o)}function s(o){return o+"_"+h()+"."+h()}function h(){return Math.random().toString().substring(2)}return n(a,"_polyfill",!0),a}();function i(a){return Object(a)===a}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:G);var D=Be(function(r){(function(t,n,i){n[t]=n[t]||i(),r.exports&&(r.exports=n[t])})("Promise",G,function(){var t,n,i,a=Object.prototype.toString,u=typeof setImmediate<"u"?function(p){return setImmediate(p)}:setTimeout;try{Object.defineProperty({},"x",{}),t=function(p,f,v,E){return Object.defineProperty(p,f,{value:v,writable:!0,configurable:E!==!1})}}catch{t=function(f,v,E){return f[v]=E,f}}i=function(){var p,f,v;function E(S,y){this.fn=S,this.self=y,this.next=void 0}return{add:function(y,L){v=new E(y,L),f?f.next=v:p=v,f=v,v=void 0},drain:function(){var y=p;for(p=f=n=void 0;y;)y.fn.call(y.self),y=y.next}}}();function s(m,p){i.add(m,p),n||(n=u(i.drain))}function h(m){var p,f=typeof m;return m!=null&&(f=="object"||f=="function")&&(p=m.then),typeof p=="function"?p:!1}function o(){for(var m=0;m<this.chain.length;m++)b(this,this.state===1?this.chain[m].success:this.chain[m].failure,this.chain[m]);this.chain.length=0}function b(m,p,f){var v,E;try{p===!1?f.reject(m.msg):(p===!0?v=m.msg:v=p.call(void 0,m.msg),v===f.promise?f.reject(TypeError("Promise-chain cycle")):(E=h(v))?E.call(v,f.resolve,f.reject):f.resolve(v))}catch(S){f.reject(S)}}function k(m){var p,f=this;if(!f.triggered){f.triggered=!0,f.def&&(f=f.def);try{(p=h(m))?s(function(){var v=new g(f);try{p.call(m,function(){k.apply(v,arguments)},function(){T.apply(v,arguments)})}catch(E){T.call(v,E)}}):(f.msg=m,f.state=1,f.chain.length>0&&s(o,f))}catch(v){T.call(new g(f),v)}}}function T(m){var p=this;p.triggered||(p.triggered=!0,p.def&&(p=p.def),p.msg=m,p.state=2,p.chain.length>0&&s(o,p))}function P(m,p,f,v){for(var E=0;E<p.length;E++)(function(y){m.resolve(p[y]).then(function(q){f(y,q)},v)})(E)}function g(m){this.def=m,this.triggered=!1}function _(m){this.promise=m,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function O(m){if(typeof m!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var p=new _(this);this.then=function(v,E){var S={success:typeof v=="function"?v:!0,failure:typeof E=="function"?E:!1};return S.promise=new this.constructor(function(L,q){if(typeof L!="function"||typeof q!="function")throw TypeError("Not a function");S.resolve=L,S.reject=q}),p.chain.push(S),p.state!==0&&s(o,p),S.promise},this.catch=function(v){return this.then(void 0,v)};try{m.call(void 0,function(v){k.call(p,v)},function(v){T.call(p,v)})}catch(f){T.call(p,f)}}var N=t({},"constructor",O,!1);return O.prototype=N,t(N,"__NPO__",0,!1),t(O,"resolve",function(p){var f=this;return p&&typeof p=="object"&&p.__NPO__===1?p:new f(function(E,S){if(typeof E!="function"||typeof S!="function")throw TypeError("Not a function");E(p)})}),t(O,"reject",function(p){return new this(function(v,E){if(typeof v!="function"||typeof E!="function")throw TypeError("Not a function");E(p)})}),t(O,"all",function(p){var f=this;return a.call(p)!="[object Array]"?f.reject(TypeError("Not an array")):p.length===0?f.resolve([]):new f(function(E,S){if(typeof E!="function"||typeof S!="function")throw TypeError("Not a function");var y=p.length,L=Array(y),q=0;P(f,p,function(l,c){L[l]=c,++q===y&&E(L)},S)})}),t(O,"race",function(p){var f=this;return a.call(p)!="[object Array]"?f.reject(TypeError("Not an array")):new f(function(E,S){if(typeof E!="function"||typeof S!="function")throw TypeError("Not a function");P(f,p,function(L,q){E(q)},S)})}),O})}),V=new WeakMap;function Y(r,e,t){var n=V.get(r.element)||{};e in n||(n[e]=[]),n[e].push(t),V.set(r.element,n)}function te(r,e){var t=V.get(r.element)||{};return t[e]||[]}function re(r,e,t){var n=V.get(r.element)||{};if(!n[e])return!0;if(!t)return n[e]=[],V.set(r.element,n),!0;var i=n[e].indexOf(t);return i!==-1&&n[e].splice(i,1),V.set(r.element,n),n[e]&&n[e].length===0}function Ge(r,e){var t=te(r,e);if(t.length<1)return!1;var n=t.shift();return re(r,e,n),n}function Ue(r,e){var t=V.get(r);V.set(e,t),V.delete(r)}function ne(r){if(typeof r=="string")try{r=JSON.parse(r)}catch(e){return console.warn(e),{}}return r}function x(r,e,t){if(!(!r.element.contentWindow||!r.element.contentWindow.postMessage)){var n={method:e};t!==void 0&&(n.value=t);var i=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));i>=8&&i<10&&(n=JSON.stringify(n)),r.element.contentWindow.postMessage(n,r.origin)}}function Qe(r,e){e=ne(e);var t=[],n;if(e.event){if(e.event==="error"){var i=te(r,e.data.method);i.forEach(function(u){var s=new Error(e.data.message);s.name=e.data.name,u.reject(s),re(r,e.data.method,u)})}t=te(r,"event:".concat(e.event)),n=e.data}else if(e.method){var a=Ge(r,e.method);a&&(t.push(a),n=e.value)}t.forEach(function(u){try{if(typeof u=="function"){u.call(r,n);return}u.resolve(n)}catch{}})}var Ye=["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 _e(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Ye.reduce(function(t,n){var i=r.getAttribute("data-vimeo-".concat(n));return(i||i==="")&&(t[n]=i===""?1:i),t},e)}function ce(r,e){var t=r.html;if(!e)throw new TypeError("An element must be provided");if(e.getAttribute("data-vimeo-initialized")!==null)return e.querySelector("iframe");var n=document.createElement("div");return n.innerHTML=t,e.appendChild(n.firstChild),e.setAttribute("data-vimeo-initialized","true"),e.querySelector("iframe")}function Ae(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0;return new Promise(function(n,i){if(!z(r))throw new TypeError("“".concat(r,"” is not a vimeo.com url."));var a=We(r),u="https://".concat(a,"/api/oembed.json?url=").concat(encodeURIComponent(r));for(var s in e)e.hasOwnProperty(s)&&(u+="&".concat(s,"=").concat(encodeURIComponent(e[s])));var h="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;h.open("GET",u,!0),h.onload=function(){if(h.status===404){i(new Error("“".concat(r,"” was not found.")));return}if(h.status===403){i(new Error("“".concat(r,"” is not embeddable.")));return}try{var o=JSON.parse(h.responseText);if(o.domain_status_code===403){ce(o,t),i(new Error("“".concat(r,"” is not embeddable.")));return}n(o)}catch(b){i(b)}},h.onerror=function(){var o=h.status?" (".concat(h.status,")"):"";i(new Error("There was an error fetching the embed code from Vimeo".concat(o,".")))},h.send()})}function Je(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document,e=[].slice.call(r.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),t=function(i){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(i))};e.forEach(function(n){try{if(n.getAttribute("data-vimeo-defer")!==null)return;var i=_e(n),a=Oe(i);Ae(a,i,n).then(function(u){return ce(u,n)}).catch(t)}catch(u){t(u)}})}function Xe(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoPlayerResizeEmbeds_){window.VimeoPlayerResizeEmbeds_=!0;var e=function(n){if(z(n.origin)&&!(!n.data||n.data.event!=="spacechange")){for(var i=r.querySelectorAll("iframe"),a=0;a<i.length;a++)if(i[a].contentWindow===n.source){var u=i[a].parentElement;u.style.paddingBottom="".concat(n.data.data[0].bottom,"px");break}}};window.addEventListener("message",e)}}function Ke(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoSeoMetadataAppended){window.VimeoSeoMetadataAppended=!0;var e=function(n){if(z(n.origin)){var i=ne(n.data);if(!(!i||i.event!=="ready"))for(var a=r.querySelectorAll("iframe"),u=0;u<a.length;u++){var s=a[u],h=s.contentWindow===n.source;if(Ce(s.src)&&h){var o=new le(s);o.callMethod("appendVideoMetadata",window.location.href)}}}};window.addEventListener("message",e)}}function Ze(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoCheckedUrlTimeParam){window.VimeoCheckedUrlTimeParam=!0;var e=function(i){"console"in window&&console.error&&console.error("There was an error getting video Id: ".concat(i))},t=function(i){if(z(i.origin)){var a=ne(i.data);if(!(!a||a.event!=="ready"))for(var u=r.querySelectorAll("iframe"),s=function(){var b=u[h],k=b.contentWindow===i.source;if(Ce(b.src)&&k){var T=new le(b);T.getVideoId().then(function(P){var g=new RegExp("[?&]vimeo_t_".concat(P,"=([^&#]*)")).exec(window.location.href);if(g&&g[1]){var _=decodeURI(g[1]);T.setCurrentTime(_)}}).catch(e)}},h=0;h<u.length;h++)s()}};window.addEventListener("message",t)}}function et(){var r=function(){for(var n,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"]],a=0,u=i.length,s={};a<u;a++)if(n=i[a],n&&n[1]in document){for(a=0;a<n.length;a++)s[i[0][a]]=n[a];return s}return!1}(),e={fullscreenchange:r.fullscreenchange,fullscreenerror:r.fullscreenerror},t={request:function(i){return new Promise(function(a,u){var s=function o(){t.off("fullscreenchange",o),a()};t.on("fullscreenchange",s),i=i||document.documentElement;var h=i[r.requestFullscreen]();h instanceof Promise&&h.then(s).catch(u)})},exit:function(){return new Promise(function(i,a){if(!t.isFullscreen){i();return}var u=function h(){t.off("fullscreenchange",h),i()};t.on("fullscreenchange",u);var s=document[r.exitFullscreen]();s instanceof Promise&&s.then(u).catch(a)})},on:function(i,a){var u=e[i];u&&document.addEventListener(u,a)},off:function(i,a){var u=e[i];u&&document.removeEventListener(u,a)}};return Object.defineProperties(t,{isFullscreen:{get:function(){return!!document[r.fullscreenElement]}},element:{enumerable:!0,get:function(){return document[r.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return!!document[r.fullscreenEnabled]}}}),t}var tt={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1},rt=function(r){je(t,r);var e=De(t);function t(n,i){var a,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=arguments.length>3?arguments[3]:void 0;return ke(this,t),a=e.call(this),K(ee(a),"logger",void 0),K(ee(a),"speedAdjustment",0),K(ee(a),"adjustSpeed",function(){var h=W(R().mark(function o(b,k){var T;return R().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:if(a.speedAdjustment!==k){g.next=2;break}return g.abrupt("return");case 2:return g.next=4,b.getPlaybackRate();case 4:return g.t0=g.sent,g.t1=a.speedAdjustment,g.t2=g.t0-g.t1,g.t3=k,T=g.t2+g.t3,a.log("New playbackRate: ".concat(T)),g.next=12,b.setPlaybackRate(T);case 12:a.speedAdjustment=k;case 13:case"end":return g.stop()}},o)}));return function(o,b){return h.apply(this,arguments)}}()),a.logger=s,a.init(i,n,he(he({},tt),u)),a}return Pe(t,[{key:"disconnect",value:function(){this.dispatchEvent(new Event("disconnect"))}},{key:"init",value:function(){var n=W(R().mark(function a(u,s,h){var o=this,b,k,T;return R().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.next=2,this.waitForTOReadyState(u,"open");case 2:if(h.role!=="viewer"){g.next=10;break}return g.next=5,this.updatePlayer(u,s,h);case 5:b=ve(u,"change",function(){return o.updatePlayer(u,s,h)}),k=this.maintainPlaybackPosition(u,s,h),this.addEventListener("disconnect",function(){k.cancel(),b.cancel()}),g.next=14;break;case 10:return g.next=12,this.updateTimingObject(u,s);case 12:T=ve(s,["seeked","play","pause","ratechange"],function(){return o.updateTimingObject(u,s)},"on","off"),this.addEventListener("disconnect",function(){return T.cancel()});case 14:case"end":return g.stop()}},a,this)}));function i(a,u,s){return n.apply(this,arguments)}return i}()},{key:"updateTimingObject",value:function(){var n=W(R().mark(function a(u,s){return R().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.t0=u,o.next=3,s.getCurrentTime();case 3:return o.t1=o.sent,o.next=6,s.getPaused();case 6:if(!o.sent){o.next=10;break}o.t2=0,o.next=13;break;case 10:return o.next=12,s.getPlaybackRate();case 12:o.t2=o.sent;case 13:o.t3=o.t2,o.t4={position:o.t1,velocity:o.t3},o.t0.update.call(o.t0,o.t4);case 16:case"end":return o.stop()}},a)}));function i(a,u){return n.apply(this,arguments)}return i}()},{key:"updatePlayer",value:function(){var n=W(R().mark(function a(u,s,h){var o,b,k;return R().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:if(o=u.query(),b=o.position,k=o.velocity,typeof b=="number"&&s.setCurrentTime(b),typeof k!="number"){P.next=25;break}if(k!==0){P.next=11;break}return P.next=6,s.getPaused();case 6:if(P.t0=P.sent,P.t0!==!1){P.next=9;break}s.pause();case 9:P.next=25;break;case 11:if(!(k>0)){P.next=25;break}return P.next=14,s.getPaused();case 14:if(P.t1=P.sent,P.t1!==!0){P.next=19;break}return P.next=18,s.play().catch(function(){var g=W(R().mark(function _(O){return R().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:if(!(O.name==="NotAllowedError"&&h.autoPlayMuted)){m.next=5;break}return m.next=3,s.setMuted(!0);case 3:return m.next=5,s.play().catch(function(p){return console.error("Couldn't play the video from TimingSrcConnector. Error:",p)});case 5:case"end":return m.stop()}},_)}));return function(_){return g.apply(this,arguments)}}());case 18:this.updatePlayer(u,s,h);case 19:return P.next=21,s.getPlaybackRate();case 21:if(P.t2=P.sent,P.t3=k,P.t2===P.t3){P.next=25;break}s.setPlaybackRate(k);case 25:case"end":return P.stop()}},a,this)}));function i(a,u,s){return n.apply(this,arguments)}return i}()},{key:"maintainPlaybackPosition",value:function(i,a,u){var s=this,h=u.allowedDrift,o=u.maxAllowedDrift,b=u.minCheckInterval,k=u.maxRateAdjustment,T=u.maxTimeToCatchUp,P=Math.min(T,Math.max(b,o))*1e3,g=function(){var O=W(R().mark(function N(){var m,p,f,v,E;return R().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:if(y.t0=i.query().velocity===0,y.t0){y.next=6;break}return y.next=4,a.getPaused();case 4:y.t1=y.sent,y.t0=y.t1===!0;case 6:if(!y.t0){y.next=8;break}return y.abrupt("return");case 8:return y.t2=i.query().position,y.next=11,a.getCurrentTime();case 11:if(y.t3=y.sent,m=y.t2-y.t3,p=Math.abs(m),s.log("Drift: ".concat(m)),!(p>o)){y.next=22;break}return y.next=18,s.adjustSpeed(a,0);case 18:a.setCurrentTime(i.query().position),s.log("Resync by currentTime"),y.next=29;break;case 22:if(!(p>h)){y.next=29;break}return f=p/T,v=k,E=f<v?(v-f)/2:v,y.next=28,s.adjustSpeed(a,E*Math.sign(m));case 28:s.log("Resync by playbackRate");case 29:case"end":return y.stop()}},N)}));return function(){return O.apply(this,arguments)}}(),_=setInterval(function(){return g()},P);return{cancel:function(){return clearInterval(_)}}}},{key:"log",value:function(i){var a;(a=this.logger)===null||a===void 0||a.call(this,"TimingSrcConnector: ".concat(i))}},{key:"waitForTOReadyState",value:function(i,a){return new Promise(function(u){var s=function h(){i.readyState===a?u():i.addEventListener("readystatechange",h,{once:!0})};s()})}}]),t}(se(EventTarget)),B=new WeakMap,ae=new WeakMap,I={},le=function(){function r(e){var t=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(ke(this,r),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)),!$e(e))throw new TypeError("You must pass either a valid element or a valid id.");if(e.nodeName!=="IFRAME"){var i=e.querySelector("iframe");i&&(e=i)}if(e.nodeName==="IFRAME"&&!z(e.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(B.has(e))return B.get(e);this._window=e.ownerDocument.defaultView,this.element=e,this.origin="*";var a=new D(function(s,h){if(t._onMessage=function(k){if(!(!z(k.origin)||t.element.contentWindow!==k.source)){t.origin==="*"&&(t.origin=k.origin);var T=ne(k.data),P=T&&T.event==="error",g=P&&T.data&&T.data.method==="ready";if(g){var _=new Error(T.data.message);_.name=T.data.name,h(_);return}var O=T&&T.event==="ready",N=T&&T.method==="ping";if(O||N){t.element.setAttribute("data-ready","true"),s();return}Qe(t,T)}},t._window.addEventListener("message",t._onMessage),t.element.nodeName!=="IFRAME"){var o=_e(e,n),b=Oe(o);Ae(b,o,e).then(function(k){var T=ce(k,e);return t.element=T,t._originalElement=e,Ue(e,T),B.set(t.element,t),k}).catch(h)}});if(ae.set(this,a),B.set(this.element,this),this.element.nodeName==="IFRAME"&&x(this,"ping"),I.isEnabled){var u=function(){return I.exit()};this.fullscreenchangeHandler=function(){I.isFullscreen?Y(t,"event:exitFullscreen",u):re(t,"event:exitFullscreen",u),t.ready().then(function(){x(t,"fullscreenchange",I.isFullscreen)})},I.on("fullscreenchange",this.fullscreenchangeHandler)}return this}return Pe(r,[{key:"callMethod",value:function(t){for(var n=this,i=arguments.length,a=new Array(i>1?i-1:0),u=1;u<i;u++)a[u-1]=arguments[u];if(t==null)throw new TypeError("You must pass a method name.");return new D(function(s,h){return n.ready().then(function(){Y(n,t,{resolve:s,reject:h}),x(n,t,a)}).catch(h)})}},{key:"get",value:function(t){var n=this;return new D(function(i,a){return t=pe(t,"get"),n.ready().then(function(){Y(n,t,{resolve:i,reject:a}),x(n,t)}).catch(a)})}},{key:"set",value:function(t,n){var i=this;return new D(function(a,u){if(t=pe(t,"set"),n==null)throw new TypeError("There must be a value to set.");return i.ready().then(function(){Y(i,t,{resolve:a,reject:u}),x(i,t,n)}).catch(u)})}},{key:"on",value:function(t,n){if(!t)throw new TypeError("You must pass an event name.");if(!n)throw new TypeError("You must pass a callback function.");if(typeof n!="function")throw new TypeError("The callback must be a function.");var i=te(this,"event:".concat(t));i.length===0&&this.callMethod("addEventListener",t).catch(function(){}),Y(this,"event:".concat(t),n)}},{key:"off",value:function(t,n){if(!t)throw new TypeError("You must pass an event name.");if(n&&typeof n!="function")throw new TypeError("The callback must be a function.");var i=re(this,"event:".concat(t),n);i&&this.callMethod("removeEventListener",t).catch(function(a){})}},{key:"loadVideo",value:function(t){return this.callMethod("loadVideo",t)}},{key:"ready",value:function(){var t=ae.get(this)||new D(function(n,i){i(new Error("Unknown player. Probably unloaded."))});return D.resolve(t)}},{key:"addCuePoint",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.callMethod("addCuePoint",{time:t,data:n})}},{key:"removeCuePoint",value:function(t){return this.callMethod("removeCuePoint",t)}},{key:"enableTextTrack",value:function(t,n){if(!t)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:t,kind:n})}},{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 I.isEnabled?I.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return I.isEnabled?I.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return I.isEnabled?D.resolve(I.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 t=this;return new D(function(n){if(ae.delete(t),B.delete(t.element),t._originalElement&&(B.delete(t._originalElement),t._originalElement.removeAttribute("data-vimeo-initialized")),t.element&&t.element.nodeName==="IFRAME"&&t.element.parentNode&&(t.element.parentNode.parentNode&&t._originalElement&&t._originalElement!==t.element.parentNode?t.element.parentNode.parentNode.removeChild(t.element.parentNode):t.element.parentNode.removeChild(t.element)),t.element&&t.element.nodeName==="DIV"&&t.element.parentNode){t.element.removeAttribute("data-vimeo-initialized");var i=t.element.querySelector("iframe");i&&i.parentNode&&(i.parentNode.parentNode&&t._originalElement&&t._originalElement!==i.parentNode?i.parentNode.parentNode.removeChild(i.parentNode):i.parentNode.removeChild(i))}t._window.removeEventListener("message",t._onMessage),I.isEnabled&&I.off("fullscreenchange",t.fullscreenchangeHandler),n()})}},{key:"getAutopause",value:function(){return this.get("autopause")}},{key:"setAutopause",value:function(t){return this.set("autopause",t)}},{key:"getBuffered",value:function(){return this.get("buffered")}},{key:"getCameraProps",value:function(){return this.get("cameraProps")}},{key:"setCameraProps",value:function(t){return this.set("cameraProps",t)}},{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 D.all([this.get("colorOne"),this.get("colorTwo"),this.get("colorThree"),this.get("colorFour")])}},{key:"setColor",value:function(t){return this.set("color",t)}},{key:"setColors",value:function(t){if(!Array.isArray(t))return new D(function(a,u){return u(new TypeError("Argument must be an array."))});var n=new D(function(a){return a(null)}),i=[t[0]?this.set("colorOne",t[0]):n,t[1]?this.set("colorTwo",t[1]):n,t[2]?this.set("colorThree",t[2]):n,t[3]?this.set("colorFour",t[3]):n];return D.all(i)}},{key:"getCuePoints",value:function(){return this.get("cuePoints")}},{key:"getCurrentTime",value:function(){return this.get("currentTime")}},{key:"setCurrentTime",value:function(t){return this.set("currentTime",t)}},{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(t){return this.set("loop",t)}},{key:"setMuted",value:function(t){return this.set("muted",t)}},{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(t){return this.set("playbackRate",t)}},{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(t){return this.set("quality",t)}},{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(t){return this.set("volume",t)}},{key:"setTimingSrc",value:function(){var e=W(R().mark(function n(i,a){var u=this,s;return R().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if(i){o.next=2;break}throw new TypeError("A Timing Object must be provided.");case 2:return o.next=4,this.ready();case 4:return s=new rt(this,i,a),x(this,"notifyTimingObjectConnect"),s.addEventListener("disconnect",function(){return x(u,"notifyTimingObjectDisconnect")}),o.abrupt("return",s);case 8:case"end":return o.stop()}},n,this)}));function t(n,i){return e.apply(this,arguments)}return t}()}]),r}();Se||(I=et(),Je(),Xe(),Ke(),Ze());const nt="https://player.vimeo.com/video",it="https://vimeo.com/event",at=/vimeo\.com\/(video\/|event\/)?(\d+)(?:\/([\w-]+))?/;function me(r,e={}){const t={src:ot(r,e),frameborder:0,width:"100%",height:"100%",allow:"accelerometer; fullscreen; autoplay; encrypted-media; gyroscope; picture-in-picture"};return e.config&&(t["data-config"]=JSON.stringify(e.config)),`
|
|
2
|
+
<style>
|
|
3
|
+
:host {
|
|
4
|
+
display: inline-block;
|
|
5
|
+
min-width: 300px;
|
|
6
|
+
min-height: 150px;
|
|
7
|
+
position: relative;
|
|
8
|
+
}
|
|
9
|
+
iframe {
|
|
10
|
+
position: absolute;
|
|
11
|
+
top: 0;
|
|
12
|
+
left: 0;
|
|
13
|
+
}
|
|
14
|
+
:host(:not([controls])) {
|
|
15
|
+
pointer-events: none;
|
|
16
|
+
}
|
|
17
|
+
</style>
|
|
18
|
+
<iframe${ut(t)}></iframe>
|
|
19
|
+
`}function ot(r,e){if(!r.src)return;let t=new URL(r.src);const n=r.src.match(at),i=n&&n[1],a=n&&n[2],u=t.searchParams.get("h")||void 0,s={controls:r.controls===""?null:0,autoplay:r.autoplay,loop:r.loop,muted:r.muted,playsinline:r.playsinline,preload:r.preload??"metadata",transparent:!1,autopause:r.autopause,h:u,...e.config};return i==="event/"?`${it}/${a}/embed?${ge(s)}`:`${nt}/${a}?${ge(s)}`}class Ne extends(globalThis.HTMLElement??class{}){static getTemplateHTML=me;static shadowRootOptions={mode:"open"};static observedAttributes=["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src"];loadComplete=new ye;#l;#f;#p;#t=0;#r=NaN;#n=!1;#e=!this.autoplay;#o=1;#u=0;#i=0;#s=!1;#a=1;#h=NaN;#d=NaN;#c=null;constructor(){super(),this.#v("config")}requestFullscreen(){var e,t;return(t=(e=this.api)==null?void 0:e.requestFullscreen)==null?void 0:t.call(e)}exitFullscreen(){var e,t;return(t=(e=this.api)==null?void 0:e.exitFullscreen)==null?void 0:t.call(e)}requestPictureInPicture(){var e,t;return(t=(e=this.api)==null?void 0:e.requestPictureInPicture)==null?void 0:t.call(e)}exitPictureInPicture(){var e,t;return(t=(e=this.api)==null?void 0:e.exitPictureInPicture)==null?void 0:t.call(e)}get config(){return this.#c}set config(e){this.#c=e}async load(){var e;if(this.#l)return;const t=!this.#f;this.#f&&(this.loadComplete=new ye),this.#f=!0,await(this.#l=Promise.resolve()),this.#l=null,this.#t=0,this.#r=NaN,this.#n=!1,this.#e=!this.autoplay,this.#o=1,this.#u=0,this.#i=0,this.#s=!1,this.#a=1,this.#i=0,this.#h=NaN,this.#d=NaN,this.dispatchEvent(new Event("emptied"));let n=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},a=async()=>{this.#i=1,this.dispatchEvent(new Event("loadedmetadata")),this.api&&(this.#n=await this.api.getMuted(),this.#a=await this.api.getVolume(),this.dispatchEvent(new Event("volumechange")),this.#r=await this.api.getDuration(),this.dispatchEvent(new Event("durationchange"))),this.dispatchEvent(new Event("loadcomplete")),this.loadComplete.resolve()};if(this.#p){this.api=n,await this.api.loadVideo({...i,url:this.src}),await a(),await this.loadComplete;return}this.#p=!0;let u=(e=this.shadowRoot)==null?void 0:e.querySelector("iframe");t&&u&&(this.#c=JSON.parse(u.getAttribute("data-config")||"{}")),this.shadowRoot||(this.attachShadow({mode:"open"}),this.shadowRoot.innerHTML=me(ct(this.attributes),this),u=this.shadowRoot.querySelector("iframe")),this.api=new le(u);const s=document.createElement("video");this.textTracks=s.textTracks,this.api.getTextTracks().then(o=>{o.forEach(b=>{s.addTextTrack(b.kind,b.label,b.language)})}),this.textTracks.addEventListener("change",()=>{const o=Array.from(this.textTracks).find(b=>b.mode==="showing");o?this.api.enableTextTrack(o.language,o.kind):this.api.disableTextTrack()});const h=()=>{this.api.off("loaded",h),a()};this.api.on("loaded",h),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:o})=>{this.#o=o,this.dispatchEvent(new Event("ratechange"))}),this.api.on("volumechange",async({volume:o})=>{this.#a=o,this.api&&(this.#n=await this.api.getMuted()),this.dispatchEvent(new Event("volumechange"))}),this.api.on("durationchange",({duration:o})=>{this.#r=o,this.dispatchEvent(new Event("durationchange"))}),this.api.on("timeupdate",({seconds:o})=>{this.#t=o,this.dispatchEvent(new Event("timeupdate"))}),this.api.on("progress",({seconds:o})=>{this.#u=o,this.dispatchEvent(new Event("progress"))}),this.api.on("resize",({videoWidth:o,videoHeight:b})=>{this.#h=o,this.#d=b,this.dispatchEvent(new Event("resize"))}),await this.loadComplete}async attributeChangedCallback(e,t,n){if(t!==n){switch(e){case"autoplay":case"controls":case"src":{this.load();return}}switch(await this.loadComplete,e){case"loop":{this.api.setLoop(this.loop);break}}}}async play(){var e;this.#e=!1,this.dispatchEvent(new Event("play")),await this.loadComplete;try{await((e=this.api)==null?void 0:e.play())}catch(t){throw this.#e=!0,this.dispatchEvent(new Event("pause")),t}}async pause(){var e;return await this.loadComplete,(e=this.api)==null?void 0:e.pause()}get ended(){return this.#t>=this.#r}get seeking(){return this.#s}get readyState(){return this.#i}get videoWidth(){return this.#h}get videoHeight(){return this.#d}get src(){return this.getAttribute("src")}set src(e){this.src!=e&&this.setAttribute("src",e)}get paused(){return this.#e}get duration(){return this.#r}get autoplay(){return this.hasAttribute("autoplay")}set autoplay(e){this.autoplay!=e&&this.toggleAttribute("autoplay",!!e)}get buffered(){return this.#u>0?we(0,this.#u):we()}get controls(){return this.hasAttribute("controls")}set controls(e){this.controls!=e&&this.toggleAttribute("controls",!!e)}get currentTime(){return this.#t}set currentTime(e){this.currentTime!=e&&(this.#t=e,this.loadComplete.then(()=>{var t;(t=this.api)==null||t.setCurrentTime(e).catch(()=>{})}))}get defaultMuted(){return this.hasAttribute("muted")}set defaultMuted(e){this.defaultMuted!=e&&this.toggleAttribute("muted",!!e)}get loop(){return this.hasAttribute("loop")}set loop(e){this.loop!=e&&this.toggleAttribute("loop",!!e)}get muted(){return this.#n}set muted(e){this.muted!=e&&(this.#n=e,this.loadComplete.then(()=>{var t;(t=this.api)==null||t.setMuted(e).catch(()=>{})}))}get playbackRate(){return this.#o}set playbackRate(e){this.playbackRate!=e&&(this.#o=e,this.loadComplete.then(()=>{var t;(t=this.api)==null||t.setPlaybackRate(e).catch(()=>{})}))}get playsInline(){return this.hasAttribute("playsinline")}set playsInline(e){this.playsInline!=e&&this.toggleAttribute("playsinline",!!e)}get poster(){return this.getAttribute("poster")}set poster(e){this.poster!=e&&this.setAttribute("poster",`${e}`)}get volume(){return this.#a}set volume(e){this.volume!=e&&(this.#a=e,this.loadComplete.then(()=>{var t;(t=this.api)==null||t.setVolume(e).catch(()=>{})}))}#v(e){if(Object.prototype.hasOwnProperty.call(this,e)){const t=this[e];delete this[e],this[e]=t}}}function ut(r){let e="";for(const t in r){const n=r[t];n===""?e+=` ${oe(t)}`:e+=` ${oe(t)}="${oe(`${n}`)}"`}return e}function oe(r){return r.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/`/g,"`")}function ge(r){return String(new URLSearchParams(st(r)))}function st(r){let e={};for(let t in r){let n=r[t];n===!0||n===""?e[t]=1:n===!1?e[t]=0:n!=null&&(e[t]=n)}return e}function ct(r){let e={};for(let t of r)e[t.name]=t.value;return e}class ye extends Promise{constructor(e=()=>{}){let t,n;super((i,a)=>{e(i,a),t=i,n=a}),this.resolve=t,this.reject=n}}function we(r,e){return Array.isArray(r)?ue(r):r==null||e==null||r===0&&e===0?ue([[0,0]]):ue([[r,e]])}function ue(r){return Object.defineProperties(r,{start:{value:e=>r[e][0]},end:{value:e=>r[e][1]}}),r}globalThis.customElements&&!globalThis.customElements.get("vimeo-video")&&globalThis.customElements.define("vimeo-video",Ne);var lt=Ne,ft=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),ht={className:"class",htmlFor:"for"};function Re(r){return r.toLowerCase()}function be(r){if(typeof r=="boolean")return r?"":void 0;if(typeof r!="function"&&!(typeof r=="object"&&r!==null))return r}function dt({react:r,tagName:e,elementClass:t,events:n,displayName:i,defaultProps:a,toAttributeName:u=Re,toAttributeValue:s=be}){const h=Number.parseInt(r.version)>=19,o=r.forwardRef((b,k)=>{var T,P;const g=r.useRef(null),_=r.useRef(new Map),O={},N={},m={},p={};for(const[f,v]of Object.entries(b)){if(ft.has(f)){m[f]=v;continue}const E=u(ht[f]??f);if(t.prototype&&f in t.prototype&&!(f in(((T=globalThis.HTMLElement)==null?void 0:T.prototype)??{}))&&!((P=t.observedAttributes)!=null&&P.some(y=>y===E))){p[f]=v;continue}if(f.startsWith("on")){O[f]=v;continue}const S=s(v);if(E&&S!=null&&(N[E]=String(S),h||(m[E]=S)),E&&h){const y=be(v);S!==y?m[E]=S:m[E]=v}}if(typeof window<"u"){for(const f in O){const v=O[f],E=f.endsWith("Capture"),S=(n?.[f]??f.slice(2).toLowerCase()).slice(0,E?-7:void 0);r.useLayoutEffect(()=>{const y=g?.current;if(!(!y||typeof v!="function"))return y.addEventListener(S,v,E),()=>{y.removeEventListener(S,v,E)}},[g?.current,v])}r.useLayoutEffect(()=>{if(g.current===null)return;const f=new Map;for(const v in p)Ee(g.current,v,p[v]),_.current.delete(v),f.set(v,p[v]);for(const[v,E]of _.current)Ee(g.current,v,void 0);_.current=f})}if(typeof window>"u"&&t?.getTemplateHTML&&t?.shadowRootOptions){const{mode:f,delegatesFocus:v}=t.shadowRootOptions,E=r.createElement("template",{shadowrootmode:f,shadowrootdelegatesfocus:v,dangerouslySetInnerHTML:{__html:t.getTemplateHTML(N,b)},key:"ce-la-react-ssr-template-shadow-root"});m.children=[E,m.children]}return r.createElement(e,{...a,...m,ref:r.useCallback(f=>{g.current=f,typeof k=="function"?k(f):k!==null&&(k.current=f)},[k])},m.children)});return o.displayName=i??t.name,o}function Ee(r,e,t){var n;r[e]=t,t==null&&e in(((n=globalThis.HTMLElement)==null?void 0:n.prototype)??{})&&r.removeAttribute(e)}var vt=dt({react:Ie,tagName:"vimeo-video",elementClass:lt,toAttributeName(r){return r==="muted"?"":r==="defaultMuted"?"muted":Re(r)}});export{vt as default};
|
|
@@ -1,17 +1,7 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/dash.all.min-
|
|
2
|
-
import{P as D}from"./sentry-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/dash.all.min-wCYxg1-F.js","assets/zeni-epic-state-BZv12Eez.js","assets/sentry-Fca4mdIl.js","assets/core-DTlL91ob.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{P as D}from"./sentry-Fca4mdIl.js";import{ba as N}from"./zeni-epic-state-BZv12Eez.js";import{M as A,C as S}from"./mixin-BPAPQfSE.js";import"./core-DTlL91ob.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]="3cc37d82-4deb-471b-80f6-512ec31450d5",t._sentryDebugIdIdentifier="sentry-dbid-3cc37d82-4deb-471b-80f6-512ec31450d5")}catch{}})();class R extends A(S){static shadowRootOptions={...S.shadowRootOptions};static getTemplateHTML=e=>{const{src:n,...o}=e;return S.getTemplateHTML(o)};#t;attributeChangedCallback(e,n,o){e!=="src"&&super.attributeChangedCallback(e,n,o),e==="src"&&n!=o&&this.load()}async _initThumbnails(e){const n=async(d,h)=>{const p=[],g=e.timescale||1,f=e.startNumber||1,w=e.presentationTimeOffset?e.presentationTimeOffset/g:0,_=e.segmentDuration;for(let l=0;l<d;l++){const T=C({thIndex:l,thduration:h,ttiles:d,tduration:_,startNumber:f,pto:w}),E=T+h,M=new Promise((m,y)=>{this.api.provideThumbnail(T,({url:s,width:a,height:c,x:b,y:v})=>{try{const k=new VTTCue(T,E,`${s}#xywh=${b},${v},${a},${c}`);m(k)}catch(k){y(k)}})});p.push(M)}return await Promise.all(p).catch(l=>console.error("Error processing thumbnails",l))},{totalThumbnails:o,thumbnailDuration:i}=$(e),u=await n(o,i);let r=this.nativeEl.querySelector('track[label="thumbnails"]');if(!r){r=O(),this.nativeEl.appendChild(r);const d=x(u);r.src=d,r.dispatchEvent(new Event("change"))}}async load(){if(this.#t){this.api.attachSource(this.src);return}this.#t=!0;const e=await N(()=>import("./dash.all.min-wCYxg1-F.js"),__vite__mapDeps([0,1,2,3]));this.api=e.MediaPlayer().create(),this.api.initialize(this.nativeEl,this.src,this.autoplay),this.api.on(e.MediaPlayer.events.STREAM_INITIALIZED,()=>{const n=this.api.getRepresentationsByType("video");let o=this.videoTracks.getTrackById("main");o||(o=this.addVideoTrack("main"),o.id="main",o.selected=!0),n.forEach(i=>{const u=i.bandwidth??i.bitrate??(Number.isFinite(i.bitrateInKbit)?i.bitrateInKbit*1e3:void 0),r=o.addRendition(i.id,i.width,i.height,i.mimeType??i.codec,u);r.id=i.id}),this.videoRenditions.addEventListener("change",()=>{const i=this.videoRenditions[this.videoRenditions.selectedIndex];i?.id?(this.api.updateSettings({streaming:{abr:{autoSwitchBitrate:{video:!1}}}}),this.api.setRepresentationForTypeById("video",i.id,!0)):this.api.updateSettings({streaming:{abr:{autoSwitchBitrate:{video:!0}}}})}),this.api.isDynamic()||this.api.getRepresentationsByType("image").forEach(async(u,r)=>{r>0||this._initThumbnails(u)})})}}function $(t){var e,n;const o=t.essentialProperties[0],[i,u]=o.value.split("x").map(Number),r=i*u,d=((n=(e=t.adaptation)==null?void 0:e.period)==null?void 0:n.duration)||null,h=t.segmentDuration,p=t.timescale||1,f=h/p/r;return{totalThumbnails:d!=null?Math.ceil(d/f):Math.ceil(h/f),thumbnailDuration:f}}function C({thIndex:t,tduration:e,thduration:n,ttiles:o,startNumber:i,pto:u}){const r=Math.floor(t/o)+i,d=t%o+1,h=(r-1)*e-u,p=(d-1)*n;return h+p}function O(){const t=document.createElement("track");return t.kind="metadata",t.label="thumbnails",t.srclang="en",t.mode="hidden",t.default=!0,t}function x(t){let e=`WEBVTT
|
|
3
3
|
|
|
4
4
|
`;for(const i of t)e+=`${o(i.startTime)} --> ${o(i.endTime)}
|
|
5
5
|
`,e+=`${i.text}
|
|
6
6
|
|
|
7
|
-
`;const n=new Blob([e],{type:"text/vtt"});return URL.createObjectURL(n);function o(i){const u=String(Math.floor(i/3600)).padStart(2,"0"),r=String(Math.floor(i%3600/60)).padStart(2,"0"),d=(i%60).toFixed(3).padStart(6,"0");return`${u}:${r}:${d}`}}globalThis.customElements&&!globalThis.customElements.get("dash-video")&&globalThis.customElements.define("dash-video",R);var B=R,H=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),F={className:"class",htmlFor:"for"};function P(t){return t.toLowerCase()}function I(t){if(typeof t=="boolean")return t?"":void 0;if(typeof t!="function"&&!(typeof t=="object"&&t!==null))return t}function W({react:t,tagName:e,elementClass:n,events:o,displayName:i,defaultProps:u,toAttributeName:r=P,toAttributeValue:d=I}){const h=Number.parseInt(t.version)>=19,p=t.forwardRef((g,f)=>{var w,_;const l=t.useRef(null),T=t.useRef(new Map),E={},M={},m={},y={};for(const[a
|
|
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{q as default};
|
|
7
|
+
`;const n=new Blob([e],{type:"text/vtt"});return URL.createObjectURL(n);function o(i){const u=String(Math.floor(i/3600)).padStart(2,"0"),r=String(Math.floor(i%3600/60)).padStart(2,"0"),d=(i%60).toFixed(3).padStart(6,"0");return`${u}:${r}:${d}`}}globalThis.customElements&&!globalThis.customElements.get("dash-video")&&globalThis.customElements.define("dash-video",R);var B=R,H=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),F={className:"class",htmlFor:"for"};function P(t){return t.toLowerCase()}function I(t){if(typeof t=="boolean")return t?"":void 0;if(typeof t!="function"&&!(typeof t=="object"&&t!==null))return t}function W({react:t,tagName:e,elementClass:n,events:o,displayName:i,defaultProps:u,toAttributeName:r=P,toAttributeValue:d=I}){const h=Number.parseInt(t.version)>=19,p=t.forwardRef((g,f)=>{var w,_;const l=t.useRef(null),T=t.useRef(new Map),E={},M={},m={},y={};for(const[s,a]of Object.entries(g)){if(H.has(s)){m[s]=a;continue}const c=r(F[s]??s);if(n.prototype&&s in n.prototype&&!(s in(((w=globalThis.HTMLElement)==null?void 0:w.prototype)??{}))&&!((_=n.observedAttributes)!=null&&_.some(v=>v===c))){y[s]=a;continue}if(s.startsWith("on")){E[s]=a;continue}const b=d(a);if(c&&b!=null&&(M[c]=String(b),h||(m[c]=b)),c&&h){const v=I(a);b!==v?m[c]=b:m[c]=a}}if(typeof window<"u"){for(const s in E){const a=E[s],c=s.endsWith("Capture"),b=(o?.[s]??s.slice(2).toLowerCase()).slice(0,c?-7:void 0);t.useLayoutEffect(()=>{const v=l?.current;if(!(!v||typeof a!="function"))return v.addEventListener(b,a,c),()=>{v.removeEventListener(b,a,c)}},[l?.current,a])}t.useLayoutEffect(()=>{if(l.current===null)return;const s=new Map;for(const a in y)L(l.current,a,y[a]),T.current.delete(a),s.set(a,y[a]);for(const[a,c]of T.current)L(l.current,a,void 0);T.current=s})}if(typeof window>"u"&&n?.getTemplateHTML&&n?.shadowRootOptions){const{mode:s,delegatesFocus:a}=n.shadowRootOptions,c=t.createElement("template",{shadowrootmode:s,shadowrootdelegatesfocus:a,dangerouslySetInnerHTML:{__html:n.getTemplateHTML(M,g)},key:"ce-la-react-ssr-template-shadow-root"});m.children=[c,m.children]}return t.createElement(e,{...u,...m,ref:t.useCallback(s=>{l.current=s,typeof f=="function"?f(s):f!==null&&(f.current=s)},[f])},m.children)});return p.displayName=i??n.name,p}function L(t,e,n){var o;t[e]=n,n==null&&e in(((o=globalThis.HTMLElement)==null?void 0:o.prototype)??{})&&t.removeAttribute(e)}var q=W({react:D,tagName:"dash-video",elementClass:B,toAttributeName(t){return t==="muted"?"":t==="defaultMuted"?"muted":P(t)}});export{q as default};
|