@beyondwords/player 0.2.13 → 0.2.14
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/es.js +544 -544
- package/dist/es.js.map +1 -1
- package/dist/umd.js +48 -48
- package/dist/umd.js.map +1 -1
- package/package.json +1 -1
package/dist/es.js
CHANGED
|
@@ -2,7 +2,7 @@ var qu = Object.defineProperty, Yu = Object.defineProperties;
|
|
|
2
2
|
var Zu = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var Fo = Object.getOwnPropertySymbols;
|
|
4
4
|
var zl = Object.prototype.hasOwnProperty, Ll = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var Rs = (t, e, i) => e in t ? qu(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i,
|
|
5
|
+
var Rs = (t, e, i) => e in t ? qu(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i, Xt = (t, e) => {
|
|
6
6
|
for (var i in e || (e = {}))
|
|
7
7
|
zl.call(e, i) && Rs(t, i, e[i]);
|
|
8
8
|
if (Fo)
|
|
@@ -45,11 +45,11 @@ var Ri = (t, e, i) => new Promise((n, o) => {
|
|
|
45
45
|
}, a = (r) => r.done ? n(r.value) : Promise.resolve(r.value).then(s, l);
|
|
46
46
|
a((i = i.apply(t, e)).next());
|
|
47
47
|
});
|
|
48
|
-
/*! version:"0.2.
|
|
48
|
+
/*! version:"0.2.14" */
|
|
49
49
|
function Q() {
|
|
50
50
|
}
|
|
51
|
-
const
|
|
52
|
-
function
|
|
51
|
+
const Xu = (t) => t;
|
|
52
|
+
function Ku(t, e) {
|
|
53
53
|
for (const i in e)
|
|
54
54
|
t[i] = e[i];
|
|
55
55
|
return (
|
|
@@ -66,7 +66,7 @@ function xl() {
|
|
|
66
66
|
function mt(t) {
|
|
67
67
|
t.forEach(fr);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function Jn(t) {
|
|
70
70
|
return typeof t == "function";
|
|
71
71
|
}
|
|
72
72
|
function ke(t, e) {
|
|
@@ -76,7 +76,7 @@ let Uo;
|
|
|
76
76
|
function Di(t, e) {
|
|
77
77
|
return t === e ? !0 : (Uo || (Uo = document.createElement("a")), Uo.href = e, t === Uo.href);
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function Gu(t) {
|
|
80
80
|
return Object.keys(t).length === 0;
|
|
81
81
|
}
|
|
82
82
|
function Qn(t, e, i, n) {
|
|
@@ -86,7 +86,7 @@ function Qn(t, e, i, n) {
|
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
function mr(t, e, i, n) {
|
|
89
|
-
return t[1] && n ?
|
|
89
|
+
return t[1] && n ? Ku(i.ctx.slice(), t[1](n(e))) : i.ctx;
|
|
90
90
|
}
|
|
91
91
|
function $n(t, e, i, n) {
|
|
92
92
|
if (t[2] && n) {
|
|
@@ -130,7 +130,7 @@ function Nl(t) {
|
|
|
130
130
|
];
|
|
131
131
|
}
|
|
132
132
|
const hr = typeof window != "undefined";
|
|
133
|
-
let
|
|
133
|
+
let Ju = hr ? () => window.performance.now() : () => Date.now(), Ls = hr ? (t) => requestAnimationFrame(t) : Q;
|
|
134
134
|
const Zn = /* @__PURE__ */ new Set();
|
|
135
135
|
function _r(t) {
|
|
136
136
|
Zn.forEach((e) => {
|
|
@@ -195,7 +195,7 @@ function Se(t) {
|
|
|
195
195
|
function ie(t) {
|
|
196
196
|
return document.createTextNode(t);
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function G() {
|
|
199
199
|
return ie(" ");
|
|
200
200
|
}
|
|
201
201
|
function Ei() {
|
|
@@ -298,7 +298,7 @@ function rc(t) {
|
|
|
298
298
|
yr().$$.on_destroy.push(t);
|
|
299
299
|
}
|
|
300
300
|
const Fn = [], se = [];
|
|
301
|
-
let
|
|
301
|
+
let Xn = [];
|
|
302
302
|
const nl = [], vr = /* @__PURE__ */ Promise.resolve();
|
|
303
303
|
let ol = !1;
|
|
304
304
|
function br() {
|
|
@@ -308,7 +308,7 @@ function kr() {
|
|
|
308
308
|
return br(), vr;
|
|
309
309
|
}
|
|
310
310
|
function dt(t) {
|
|
311
|
-
|
|
311
|
+
Xn.push(t);
|
|
312
312
|
}
|
|
313
313
|
function ye(t) {
|
|
314
314
|
nl.push(t);
|
|
@@ -330,11 +330,11 @@ function d() {
|
|
|
330
330
|
}
|
|
331
331
|
for (fo(null), Fn.length = 0, xn = 0; se.length; )
|
|
332
332
|
se.pop()();
|
|
333
|
-
for (let e = 0; e <
|
|
334
|
-
const i =
|
|
333
|
+
for (let e = 0; e < Xn.length; e += 1) {
|
|
334
|
+
const i = Xn[e];
|
|
335
335
|
qs.has(i) || (qs.add(i), i());
|
|
336
336
|
}
|
|
337
|
-
|
|
337
|
+
Xn.length = 0;
|
|
338
338
|
} while (Fn.length);
|
|
339
339
|
for (; nl.length; )
|
|
340
340
|
nl.pop()();
|
|
@@ -349,7 +349,7 @@ function uc(t) {
|
|
|
349
349
|
}
|
|
350
350
|
function cc(t) {
|
|
351
351
|
const e = [], i = [];
|
|
352
|
-
|
|
352
|
+
Xn.forEach((n) => t.indexOf(n) === -1 ? e.push(n) : i.push(n)), i.forEach((n) => n()), Xn = e;
|
|
353
353
|
}
|
|
354
354
|
let so;
|
|
355
355
|
function dc() {
|
|
@@ -411,11 +411,11 @@ function Fl(t, e, i, n) {
|
|
|
411
411
|
const {
|
|
412
412
|
delay: k = 0,
|
|
413
413
|
duration: w = 300,
|
|
414
|
-
easing: T =
|
|
414
|
+
easing: T = Xu,
|
|
415
415
|
tick: v = Q,
|
|
416
416
|
css: p
|
|
417
417
|
} = s || gc, z = {
|
|
418
|
-
start:
|
|
418
|
+
start: Ju() + k,
|
|
419
419
|
b: _
|
|
420
420
|
};
|
|
421
421
|
_ || (z.group = un, un.r += 1), "inert" in t && (_ ? c !== void 0 && (t.inert = c) : (c = /** @type {HTMLElement} */
|
|
@@ -441,7 +441,7 @@ function Fl(t, e, i, n) {
|
|
|
441
441
|
}
|
|
442
442
|
return {
|
|
443
443
|
run(_) {
|
|
444
|
-
|
|
444
|
+
Jn(s) ? dc().then(() => {
|
|
445
445
|
s = s({ direction: _ ? "in" : "out" }), A(_);
|
|
446
446
|
}) : A(_);
|
|
447
447
|
},
|
|
@@ -465,17 +465,17 @@ function mc(t, e, i, n, o, s, l, a, r, u, c, g) {
|
|
|
465
465
|
k[t[_].key] = _;
|
|
466
466
|
const w = [], T = /* @__PURE__ */ new Map(), v = /* @__PURE__ */ new Map(), p = [];
|
|
467
467
|
for (_ = A; _--; ) {
|
|
468
|
-
const P = g(o, s, _),
|
|
469
|
-
let Y = l.get(
|
|
470
|
-
Y ? n && p.push(() => Y.p(P, e)) : (Y = u(
|
|
468
|
+
const P = g(o, s, _), X = i(P);
|
|
469
|
+
let Y = l.get(X);
|
|
470
|
+
Y ? n && p.push(() => Y.p(P, e)) : (Y = u(X, P), Y.c()), T.set(X, w[_] = Y), X in k && v.set(X, Math.abs(_ - k[X]));
|
|
471
471
|
}
|
|
472
472
|
const z = /* @__PURE__ */ new Set(), D = /* @__PURE__ */ new Set();
|
|
473
473
|
function S(P) {
|
|
474
474
|
I(P, 1), P.m(a, c), l.set(P.key, P), c = P.first, A--;
|
|
475
475
|
}
|
|
476
476
|
for (; f && A; ) {
|
|
477
|
-
const P = w[A - 1],
|
|
478
|
-
P ===
|
|
477
|
+
const P = w[A - 1], X = t[f - 1], Y = P.key, N = X.key;
|
|
478
|
+
P === X ? (c = P.first, f--, A--) : T.has(N) ? !l.has(Y) || z.has(Y) ? S(P) : D.has(N) ? f-- : v.get(Y) > v.get(N) ? (D.add(Y), S(P)) : (z.add(N), f--) : (r(X, l), f--);
|
|
479
479
|
}
|
|
480
480
|
for (; f--; ) {
|
|
481
481
|
const P = t[f];
|
|
@@ -495,7 +495,7 @@ function fe(t) {
|
|
|
495
495
|
function ce(t, e, i) {
|
|
496
496
|
const { fragment: n, after_update: o } = t.$$;
|
|
497
497
|
n && n.m(e, i), dt(() => {
|
|
498
|
-
const s = t.$$.on_mount.map(fr).filter(
|
|
498
|
+
const s = t.$$.on_mount.map(fr).filter(Jn);
|
|
499
499
|
t.$$.on_destroy ? t.$$.on_destroy.push(...s) : mt(s), t.$$.on_mount = [];
|
|
500
500
|
}), o.forEach(dt);
|
|
501
501
|
}
|
|
@@ -575,7 +575,7 @@ class Te {
|
|
|
575
575
|
* @returns {() => void}
|
|
576
576
|
*/
|
|
577
577
|
$on(e, i) {
|
|
578
|
-
if (!
|
|
578
|
+
if (!Jn(i))
|
|
579
579
|
return Q;
|
|
580
580
|
const n = this.$$.callbacks[e] || (this.$$.callbacks[e] = []);
|
|
581
581
|
return n.push(i), () => {
|
|
@@ -588,12 +588,12 @@ class Te {
|
|
|
588
588
|
* @returns {void}
|
|
589
589
|
*/
|
|
590
590
|
$set(e) {
|
|
591
|
-
this.$$set && !
|
|
591
|
+
this.$$set && !Gu(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
|
|
592
592
|
}
|
|
593
593
|
}
|
|
594
594
|
const _c = "4";
|
|
595
595
|
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(_c);
|
|
596
|
-
const Ac = "@beyondwords/player", mo = "0.2.
|
|
596
|
+
const Ac = "@beyondwords/player", mo = "0.2.14", Ti = (t, e) => {
|
|
597
597
|
t = [t].flat().join(`
|
|
598
598
|
`);
|
|
599
599
|
let i = `${Ac}:
|
|
@@ -668,7 +668,7 @@ const Il = ["user", "media", "browser", "media-session-api", "google-ima-sdk"],
|
|
|
668
668
|
}, be = (t) => {
|
|
669
669
|
Cc(t);
|
|
670
670
|
const e = rs(), i = (/* @__PURE__ */ new Date()).toISOString();
|
|
671
|
-
return
|
|
671
|
+
return Xt({ id: e, createdAt: i, status: "pending" }, t);
|
|
672
672
|
}, Wc = (t, e = {}) => {
|
|
673
673
|
let i;
|
|
674
674
|
try {
|
|
@@ -713,8 +713,8 @@ const Il = ["user", "media", "browser", "media-session-api", "google-ima-sdk"],
|
|
|
713
713
|
r: 2,
|
|
714
714
|
l: 1
|
|
715
715
|
}, Hl = {
|
|
716
|
-
nonPersonalizedDaisybit: "
|
|
717
|
-
personalizedDaisybit: "
|
|
716
|
+
nonPersonalizedDaisybit: "CQEXy8AQEXy8AAAAAAENDgCAAEIAAAAAAAAAg1NX_H__bW9r8X7_aft0eY1P9_j77sQxBhfJE-4F3LvW_JwXx2E5NF36tqoKmRoEu3ZBIUNlHJHUTVmwaogVryHsakWcoTNKJ6BkkFMRM2dYCF5vm4tjeQKY5_p_d3fx2D-t_dv839zzz8VHn3e5fue0-PCdU5-9Dfn9fRfb-9IP9_78v8v8_l_rk2_eT13_pcvr_D--f_87_XW-9_cAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAA.Ig1NX_H__bX9v-X7_6ft0eY1f9_j77sQxBhfJs-4F3LvW_JwX32E7NF36tq4KmRoEu3ZBIUNtHJnUTVmxaogVrzHsakWcoTNKJ-BkkHMRe2dYCF5vm4tjeQKZ5_p_d3f52T_9_dv-39zz39Vnv3e9fuf1-Pjde5_9H_v_fRfb-_If9_7-_8v8_t_rk2_eT1__9evv__--________9_8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAE",
|
|
717
|
+
personalizedDaisybit: "CQEXy8AQEXy8AAAAAAENDgCAAHIAAAAAAAAAg1NX_H__bW9r8X7_aft0eY1P9_j77sQxBhfJE-4F3LvW_JwXx2E5NF36tqoKmRoEu3ZBIUNlHJHUTVmwaogVryHsakWcoTNKJ6BkkFMRM2dYCF5vm4tjeQKY5_p_d3fx2D-t_dv839zzz8VHn3e5fue0-PCdU5-9Dfn9fRfb-9IP9_78v8v8_l_rk2_eT13_pcvr_D--f_87_XW-9_cAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAA.Ig1NX_H__bX9v-X7_6ft0eY1f9_j77sQxBhfJs-4F3LvW_JwX32E7NF36tq4KmRoEu3ZBIUNtHJnUTVmxaogVrzHsakWcoTNKJ-BkkHMRe2dYCF5vm4tjeQKZ5_p_d3f52T_9_dv-39zz39Vnv3e9fuf1-Pjde5_9H_v_fRfb-_If9_7-_8v8_t_rk2_eT1__9evv__--________9_8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAE"
|
|
718
718
|
}, Ec = (t, e, i, n, o, s, l, a, r, u, c, g) => {
|
|
719
719
|
const f = window.location.hostname === "localhost";
|
|
720
720
|
return zc(t) ? Lc(f, i, g) : Sr(t) ? jc(f, t, e, i, n, o, s, l, a, r, u, c) : {};
|
|
@@ -742,7 +742,7 @@ function Fc(t) {
|
|
|
742
742
|
let e, i, n, o, s, l;
|
|
743
743
|
return {
|
|
744
744
|
c() {
|
|
745
|
-
e = y("script"), e.innerHTML = "", n =
|
|
745
|
+
e = y("script"), e.innerHTML = "", n = G(), o = y("div"), Di(e.src, i = "https://imasdk.googleapis.com/js/sdkloader/ima3.js") || ql(e, "src", i), ql(o, "class", "vast-container");
|
|
746
746
|
},
|
|
747
747
|
m(a, r) {
|
|
748
748
|
m(Rc.head, e), E(a, n, r), E(a, o, r), t[22](o), s || (l = [
|
|
@@ -770,15 +770,15 @@ function Fc(t) {
|
|
|
770
770
|
}
|
|
771
771
|
function Uc(t, e, i) {
|
|
772
772
|
let n, o, { vastUrl: s } = e, { preloading: l } = e, { placement: a } = e, { advertConsent: r } = e, { maxImageSize: u } = e, { projectId: c } = e, { playlistId: g } = e, { contentId: f } = e, { contentLanguage: A } = e, { platform: _ } = e, { vendorIdentifier: k } = e, { bundleIdentifier: w } = e, { video: T } = e, { playbackState: v } = e, { duration: p } = e, { currentTime: z } = e, { onEvent: D = () => {
|
|
773
|
-
} } = e, S, P,
|
|
773
|
+
} } = e, S, P, X, Y, N, J, oe;
|
|
774
774
|
const le = () => {
|
|
775
|
-
google.ima.settings.setDisableCustomPlaybackForIOS10Plus(!0), P = new google.ima.AdDisplayContainer(S, T),
|
|
775
|
+
google.ima.settings.setDisableCustomPlaybackForIOS10Plus(!0), P = new google.ima.AdDisplayContainer(S, T), X = new google.ima.AdsLoader(P), X.addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED, $, !1), X.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR, C, !1), Y = new google.ima.AdsRequest(), Y.adTagUrl = o, Y.linearAdSlotWidth = T.clientWidth, Y.linearAdSlotHeight = T.clientHeight, X.requestAds(Y);
|
|
776
776
|
}, $ = (j) => {
|
|
777
777
|
const me = new google.ima.AdsRenderingSettings();
|
|
778
778
|
me.enablePreloading = !0, i(20, N = j.getAdsManager(T, me)), N.addEventListener(google.ima.AdEvent.Type.STARTED, re), N.addEventListener(google.ima.AdEvent.Type.AD_PROGRESS, _e), N.addEventListener(google.ima.AdEvent.Type.CLICK, Ae), N.addEventListener(google.ima.AdEvent.Type.PAUSED, ae), N.addEventListener(google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED, b), N.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR, C);
|
|
779
779
|
}, te = () => {
|
|
780
|
-
if (!
|
|
781
|
-
|
|
780
|
+
if (!J) {
|
|
781
|
+
J = !0, T.pause(), T.load(), P.initialize();
|
|
782
782
|
try {
|
|
783
783
|
N.init(T.clientWidth, T.clientHeight, google.ima.ViewMode.NORMAL), N.start(), x(), Ve();
|
|
784
784
|
} catch (j) {
|
|
@@ -792,9 +792,9 @@ function Uc(t, e, i) {
|
|
|
792
792
|
const Ne = (pe = j.getAd().getCompanionAds(0, 0, me)[0]) == null ? void 0 : pe.data;
|
|
793
793
|
if (!Ne)
|
|
794
794
|
return;
|
|
795
|
-
const
|
|
796
|
-
|
|
797
|
-
const Me = (Ye =
|
|
795
|
+
const Xe = document.createElement("div");
|
|
796
|
+
Xe.innerHTML = Ne.content;
|
|
797
|
+
const Me = (Ye = Xe.firstChild) == null ? void 0 : Ye.getAttribute("href"), Qe = Ne.resourceValue;
|
|
798
798
|
D(be({
|
|
799
799
|
type: "CompanionAdvertChanged",
|
|
800
800
|
description: "The companion advert associated with the VAST advert changed.",
|
|
@@ -863,8 +863,8 @@ function Uc(t, e, i) {
|
|
|
863
863
|
const j = document.createTreeWalker(S);
|
|
864
864
|
let me;
|
|
865
865
|
for (; me = j.nextNode(); ) {
|
|
866
|
-
const Ee = /;(?!([^()]*\([^()]*\))*[^()]*\))/,
|
|
867
|
-
me.style.cssText =
|
|
866
|
+
const Ee = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Xe = me.style.cssText.split(Ee).filter((Me) => Me).map((Me) => Me.includes("!important") ? Me : `${Me} !important`);
|
|
867
|
+
me.style.cssText = Xe.join(";");
|
|
868
868
|
}
|
|
869
869
|
}, Ve = () => {
|
|
870
870
|
S && (i(5, z = Le()), N.resize(T.clientWidth, T.clientHeight, google.ima.ViewMode.NORMAL), requestAnimationFrame(Ve));
|
|
@@ -877,7 +877,7 @@ function Uc(t, e, i) {
|
|
|
877
877
|
} else
|
|
878
878
|
return oe.updatedAt = Date.now(), z;
|
|
879
879
|
};
|
|
880
|
-
function
|
|
880
|
+
function Ke(j) {
|
|
881
881
|
se[j ? "unshift" : "push"](() => {
|
|
882
882
|
S = j, i(0, S);
|
|
883
883
|
});
|
|
@@ -913,7 +913,7 @@ function Uc(t, e, i) {
|
|
|
913
913
|
D,
|
|
914
914
|
N,
|
|
915
915
|
n,
|
|
916
|
-
|
|
916
|
+
Ke
|
|
917
917
|
];
|
|
918
918
|
}
|
|
919
919
|
class Hc extends Te {
|
|
@@ -1059,7 +1059,7 @@ const Yl = (t, e) => {
|
|
|
1059
1059
|
}, qc = (t, e, i) => {
|
|
1060
1060
|
if (!t)
|
|
1061
1061
|
return [];
|
|
1062
|
-
const n = (t.audio || []).map((r) => $i(
|
|
1062
|
+
const n = (t.audio || []).map((r) => $i(Xt({}, r), { format: "audio" })), o = (t.video || []).map((r) => $i(Xt({}, r), { format: "video" })), s = Yl(n, Zl), l = Yl(o, Zl), a = e ? [...l, ...s] : s;
|
|
1063
1063
|
if (i && Yc() || e && Zc()) {
|
|
1064
1064
|
const r = a.filter((c) => !c.url.endsWith(".m3u8")), u = a.filter((c) => c.url.endsWith(".m3u8"));
|
|
1065
1065
|
return [...r, ...u];
|
|
@@ -1077,11 +1077,11 @@ const Yl = (t, e) => {
|
|
|
1077
1077
|
const i = t.url.endsWith(".m3u8"), n = e.url.endsWith(".m3u8");
|
|
1078
1078
|
return i && !n ? -1 : !i && n ? 1 : 0;
|
|
1079
1079
|
};
|
|
1080
|
-
let
|
|
1081
|
-
const
|
|
1082
|
-
return wr(t, e) && (yield
|
|
1083
|
-
}), wr = (t, e) => !(!(t && e) || !((t == null ? void 0 : t.contentType) === "application/x-mpegURL") || (e == null ? void 0 : e.canPlayType("application/vnd.apple.mpegurl")) || !(
|
|
1084
|
-
|
|
1080
|
+
let Kn;
|
|
1081
|
+
const Xc = (t, e) => Ri(void 0, null, function* () {
|
|
1082
|
+
return wr(t, e) && (yield Kc()), Kn;
|
|
1083
|
+
}), wr = (t, e) => !(!(t && e) || !((t == null ? void 0 : t.contentType) === "application/x-mpegURL") || (e == null ? void 0 : e.canPlayType("application/vnd.apple.mpegurl")) || !(Kn ? Kn.isSupported() : !0)), Kc = () => Ri(void 0, null, function* () {
|
|
1084
|
+
Kn || (Kn || (Kn = (yield import("././././././hls.light.min.js")).default), Kn || (Kn = window.Hls));
|
|
1085
1085
|
}), Tr = (t) => {
|
|
1086
1086
|
let e;
|
|
1087
1087
|
try {
|
|
@@ -1090,7 +1090,7 @@ const Kc = (t, e) => Ri(void 0, null, function* () {
|
|
|
1090
1090
|
return t;
|
|
1091
1091
|
}
|
|
1092
1092
|
return e.hash ? t == null ? void 0 : t.slice(0, -e.hash.length) : t;
|
|
1093
|
-
},
|
|
1093
|
+
}, Gc = () => {
|
|
1094
1094
|
const t = {
|
|
1095
1095
|
maxNumRetry: 1 / 0,
|
|
1096
1096
|
retryDelayMs: 10,
|
|
@@ -1112,7 +1112,7 @@ const Kc = (t, e) => Ri(void 0, null, function* () {
|
|
|
1112
1112
|
manifestLoadPolicy: i,
|
|
1113
1113
|
steeringManifestLoadPolicy: i
|
|
1114
1114
|
};
|
|
1115
|
-
},
|
|
1115
|
+
}, Jc = (t, e, i, n, o, s, l) => {
|
|
1116
1116
|
var c, g;
|
|
1117
1117
|
if (window.disableMediaLoad || ((c = n == null ? void 0 : n.detachMedia) == null || c.call(n), (g = n == null ? void 0 : n.destroy) == null || g.call(n), n = null, !e || !t))
|
|
1118
1118
|
return;
|
|
@@ -1120,13 +1120,13 @@ const Kc = (t, e) => Ri(void 0, null, function* () {
|
|
|
1120
1120
|
if (wr(t, e)) {
|
|
1121
1121
|
if (!i)
|
|
1122
1122
|
return "pending";
|
|
1123
|
-
n = new i(
|
|
1123
|
+
n = new i(Xt({
|
|
1124
1124
|
enableWorker: !1,
|
|
1125
1125
|
// Don't use web workers since it's not our website.
|
|
1126
1126
|
autoStartLoad: !1,
|
|
1127
1127
|
// Defer loading audio fragments until playback begins.
|
|
1128
1128
|
maxBufferLength: 5
|
|
1129
|
-
},
|
|
1129
|
+
}, Gc())), n.on(i.Events.ERROR, o), n.on(i.Events.MANIFEST_LOADED, () => {
|
|
1130
1130
|
n.manifestLoaded = !0, s();
|
|
1131
1131
|
}), n.loadSource(t.url), n.attachMedia(e);
|
|
1132
1132
|
} else
|
|
@@ -1140,7 +1140,7 @@ const Kc = (t, e) => Ri(void 0, null, function* () {
|
|
|
1140
1140
|
}
|
|
1141
1141
|
t.startLoad(e), t.loadMediaCalled = !0;
|
|
1142
1142
|
}
|
|
1143
|
-
}, _o = 1e-5,
|
|
1143
|
+
}, _o = 1e-5, Xl = (t, e = 0, i) => t && e > 0 ? `#t=${e}` : i === "video" && Qc() ? `#t=${_o}` : "", Qc = () => {
|
|
1144
1144
|
var e, i;
|
|
1145
1145
|
const t = ((i = (e = navigator == null ? void 0 : navigator.userAgent) == null ? void 0 : e.toLowerCase) == null ? void 0 : i.call(e)) || "";
|
|
1146
1146
|
return t.includes("safari") && !t.includes("chrome");
|
|
@@ -1902,10 +1902,10 @@ const Kc = (t, e) => Ri(void 0, null, function* () {
|
|
|
1902
1902
|
maximizeVideo: "Maximize video",
|
|
1903
1903
|
changePlaybackRate: "Change playback rate",
|
|
1904
1904
|
downloadAudio: "Download audio"
|
|
1905
|
-
},
|
|
1905
|
+
}, Xd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1906
1906
|
__proto__: null,
|
|
1907
1907
|
default: Zd
|
|
1908
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1908
|
+
}, Symbol.toStringTag, { value: "Module" })), Kd = {
|
|
1909
1909
|
isDefaultForLanguage: !0,
|
|
1910
1910
|
listenToThisArticle: "Kuuntele tämä artikkeli",
|
|
1911
1911
|
videoInWidget: "Video is playing in widget",
|
|
@@ -1932,10 +1932,10 @@ const Kc = (t, e) => Ri(void 0, null, function* () {
|
|
|
1932
1932
|
maximizeVideo: "Maximize video",
|
|
1933
1933
|
changePlaybackRate: "Change playback rate",
|
|
1934
1934
|
downloadAudio: "Download audio"
|
|
1935
|
-
},
|
|
1935
|
+
}, Gd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1936
1936
|
__proto__: null,
|
|
1937
|
-
default:
|
|
1938
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1937
|
+
default: Kd
|
|
1938
|
+
}, Symbol.toStringTag, { value: "Module" })), Jd = {
|
|
1939
1939
|
isDefaultForLanguage: !0,
|
|
1940
1940
|
listenToThisArticle: "Makinig sa artikulong ito",
|
|
1941
1941
|
videoInWidget: "Video is playing in widget",
|
|
@@ -1964,7 +1964,7 @@ const Kc = (t, e) => Ri(void 0, null, function* () {
|
|
|
1964
1964
|
downloadAudio: "Download audio"
|
|
1965
1965
|
}, Qd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1966
1966
|
__proto__: null,
|
|
1967
|
-
default:
|
|
1967
|
+
default: Jd
|
|
1968
1968
|
}, Symbol.toStringTag, { value: "Module" })), $d = {
|
|
1969
1969
|
isDefaultForLanguage: !0,
|
|
1970
1970
|
listenToThisArticle: "Écoutez cet article",
|
|
@@ -2627,7 +2627,7 @@ const Kc = (t, e) => Ri(void 0, null, function* () {
|
|
|
2627
2627
|
default: Rg
|
|
2628
2628
|
}, Symbol.toStringTag, { value: "Module" })), Ug = {
|
|
2629
2629
|
isDefaultForLanguage: !0,
|
|
2630
|
-
listenToThisArticle: "
|
|
2630
|
+
listenToThisArticle: "기사를 들어보세요.",
|
|
2631
2631
|
videoInWidget: "Video is playing in widget",
|
|
2632
2632
|
// These translations are used by aria-label.
|
|
2633
2633
|
playAudio: "Play audio",
|
|
@@ -2712,10 +2712,10 @@ const Kc = (t, e) => Ri(void 0, null, function* () {
|
|
|
2712
2712
|
maximizeVideo: "Maximize video",
|
|
2713
2713
|
changePlaybackRate: "Change playback rate",
|
|
2714
2714
|
downloadAudio: "Download audio"
|
|
2715
|
-
},
|
|
2715
|
+
}, Xg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2716
2716
|
__proto__: null,
|
|
2717
2717
|
default: Zg
|
|
2718
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2718
|
+
}, Symbol.toStringTag, { value: "Module" })), Kg = {
|
|
2719
2719
|
isDefaultForLanguage: !0,
|
|
2720
2720
|
listenToThisArticle: "Wuliriza ekitundu kino",
|
|
2721
2721
|
videoInWidget: "Video is playing in widget",
|
|
@@ -2742,10 +2742,10 @@ const Kc = (t, e) => Ri(void 0, null, function* () {
|
|
|
2742
2742
|
maximizeVideo: "Maximize video",
|
|
2743
2743
|
changePlaybackRate: "Change playback rate",
|
|
2744
2744
|
downloadAudio: "Download audio"
|
|
2745
|
-
},
|
|
2745
|
+
}, Gg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2746
2746
|
__proto__: null,
|
|
2747
|
-
default:
|
|
2748
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2747
|
+
default: Kg
|
|
2748
|
+
}, Symbol.toStringTag, { value: "Module" })), Jg = {
|
|
2749
2749
|
isDefaultForLanguage: !0,
|
|
2750
2750
|
listenToThisArticle: "Yoká lisolo oyo",
|
|
2751
2751
|
videoInWidget: "Video is playing in widget",
|
|
@@ -2774,7 +2774,7 @@ const Kc = (t, e) => Ri(void 0, null, function* () {
|
|
|
2774
2774
|
downloadAudio: "Download audio"
|
|
2775
2775
|
}, Qg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2776
2776
|
__proto__: null,
|
|
2777
|
-
default:
|
|
2777
|
+
default: Jg
|
|
2778
2778
|
}, Symbol.toStringTag, { value: "Module" })), $g = {
|
|
2779
2779
|
isDefaultForLanguage: !0,
|
|
2780
2780
|
listenToThisArticle: "ຟັງບົດຄວາມນີ້",
|
|
@@ -3495,7 +3495,7 @@ const Kc = (t, e) => Ri(void 0, null, function* () {
|
|
|
3495
3495
|
}, Zf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3496
3496
|
__proto__: null,
|
|
3497
3497
|
default: Yf
|
|
3498
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
3498
|
+
}, Symbol.toStringTag, { value: "Module" })), Xf = {
|
|
3499
3499
|
isDefaultForLanguage: !0,
|
|
3500
3500
|
listenToThisArticle: "Прослушать эту статью",
|
|
3501
3501
|
videoInWidget: "Video is playing in widget",
|
|
@@ -3522,10 +3522,10 @@ const Kc = (t, e) => Ri(void 0, null, function* () {
|
|
|
3522
3522
|
maximizeVideo: "Maximize video",
|
|
3523
3523
|
changePlaybackRate: "Change playback rate",
|
|
3524
3524
|
downloadAudio: "Download audio"
|
|
3525
|
-
},
|
|
3525
|
+
}, Kf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3526
3526
|
__proto__: null,
|
|
3527
|
-
default:
|
|
3528
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
3527
|
+
default: Xf
|
|
3528
|
+
}, Symbol.toStringTag, { value: "Module" })), Gf = {
|
|
3529
3529
|
isDefaultForLanguage: !0,
|
|
3530
3530
|
listenToThisArticle: "Umva iyi ngingo",
|
|
3531
3531
|
videoInWidget: "Video is playing in widget",
|
|
@@ -3552,9 +3552,9 @@ const Kc = (t, e) => Ri(void 0, null, function* () {
|
|
|
3552
3552
|
maximizeVideo: "Maximize video",
|
|
3553
3553
|
changePlaybackRate: "Change playback rate",
|
|
3554
3554
|
downloadAudio: "Download audio"
|
|
3555
|
-
},
|
|
3555
|
+
}, Jf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3556
3556
|
__proto__: null,
|
|
3557
|
-
default:
|
|
3557
|
+
default: Gf
|
|
3558
3558
|
}, Symbol.toStringTag, { value: "Module" })), Qf = {
|
|
3559
3559
|
isDefaultForLanguage: !0,
|
|
3560
3560
|
listenToThisArticle: "මෙම ලිපියට සවන් දෙන්න",
|
|
@@ -4303,7 +4303,7 @@ const Kc = (t, e) => Ri(void 0, null, function* () {
|
|
|
4303
4303
|
}, Z1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4304
4304
|
__proto__: null,
|
|
4305
4305
|
default: Y1
|
|
4306
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
4306
|
+
}, Symbol.toStringTag, { value: "Module" })), X1 = {
|
|
4307
4307
|
listenToThisArticle: "聽這篇文章",
|
|
4308
4308
|
videoInWidget: "Video is playing in widget",
|
|
4309
4309
|
playAudio: "Play audio",
|
|
@@ -4329,10 +4329,10 @@ const Kc = (t, e) => Ri(void 0, null, function* () {
|
|
|
4329
4329
|
maximizeVideo: "Maximize video",
|
|
4330
4330
|
changePlaybackRate: "Change playback rate",
|
|
4331
4331
|
downloadAudio: "Download audio"
|
|
4332
|
-
},
|
|
4332
|
+
}, K1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4333
4333
|
__proto__: null,
|
|
4334
|
-
default:
|
|
4335
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
4334
|
+
default: X1
|
|
4335
|
+
}, Symbol.toStringTag, { value: "Module" })), G1 = {
|
|
4336
4336
|
isDefaultForLanguage: !0,
|
|
4337
4337
|
listenToThisArticle: "听这篇文章",
|
|
4338
4338
|
videoInWidget: "Video is playing in widget",
|
|
@@ -4359,9 +4359,9 @@ const Kc = (t, e) => Ri(void 0, null, function* () {
|
|
|
4359
4359
|
maximizeVideo: "Maximize video",
|
|
4360
4360
|
changePlaybackRate: "Change playback rate",
|
|
4361
4361
|
downloadAudio: "Download audio"
|
|
4362
|
-
},
|
|
4362
|
+
}, J1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4363
4363
|
__proto__: null,
|
|
4364
|
-
default:
|
|
4364
|
+
default: G1
|
|
4365
4365
|
}, Symbol.toStringTag, { value: "Module" })), Q1 = {
|
|
4366
4366
|
isDefaultForLanguage: !0,
|
|
4367
4367
|
listenToThisArticle: "Lalela lesi sihloko",
|
|
@@ -4421,7 +4421,7 @@ const Kc = (t, e) => Ri(void 0, null, function* () {
|
|
|
4421
4421
|
`The locale '${n}' is missing the translation key '${s}'.`,
|
|
4422
4422
|
`Please set '${s}: "something"' in src/translations/${n}.ts`
|
|
4423
4423
|
]);
|
|
4424
|
-
}, sm = /* @__PURE__ */ Object.assign({ "../translations/af.ts": ed, "../translations/ak.ts": id, "../translations/am.ts": od, "../translations/ar.ts": ld, "../translations/as.ts": rd, "../translations/az.ts": cd, "../translations/be.ts": gd, "../translations/bg.ts": md, "../translations/bm.ts": _d, "../translations/bn.ts": yd, "../translations/bs.ts": bd, "../translations/ca.ts": pd, "../translations/ckb.ts": wd, "../translations/cs.ts": Pd, "../translations/cy.ts": Id, "../translations/da.ts": Bd, "../translations/de.ts": Od, "../translations/ee.ts": Ed, "../translations/el.ts": Ld, "../translations/en.ts": xd, "../translations/eo.ts": Nd, "../translations/es.ts": Fd, "../translations/et.ts": Hd, "../translations/eu.ts": Yd, "../translations/fa.ts":
|
|
4424
|
+
}, sm = /* @__PURE__ */ Object.assign({ "../translations/af.ts": ed, "../translations/ak.ts": id, "../translations/am.ts": od, "../translations/ar.ts": ld, "../translations/as.ts": rd, "../translations/az.ts": cd, "../translations/be.ts": gd, "../translations/bg.ts": md, "../translations/bm.ts": _d, "../translations/bn.ts": yd, "../translations/bs.ts": bd, "../translations/ca.ts": pd, "../translations/ckb.ts": wd, "../translations/cs.ts": Pd, "../translations/cy.ts": Id, "../translations/da.ts": Bd, "../translations/de.ts": Od, "../translations/ee.ts": Ed, "../translations/el.ts": Ld, "../translations/en.ts": xd, "../translations/eo.ts": Nd, "../translations/es.ts": Fd, "../translations/et.ts": Hd, "../translations/eu.ts": Yd, "../translations/fa.ts": Xd, "../translations/fi.ts": Gd, "../translations/fil.ts": Qd, "../translations/fr.ts": eg, "../translations/ga.ts": ig, "../translations/gd.ts": og, "../translations/gl.ts": lg, "../translations/gu.ts": rg, "../translations/ha.ts": cg, "../translations/haw.ts": gg, "../translations/he.ts": mg, "../translations/hi.ts": _g, "../translations/hr.ts": yg, "../translations/hu.ts": bg, "../translations/hy.ts": pg, "../translations/id.ts": wg, "../translations/ig.ts": Pg, "../translations/is.ts": Ig, "../translations/it.ts": Bg, "../translations/iw.ts": Og, "../translations/ja.ts": Eg, "../translations/ka.ts": Lg, "../translations/kk.ts": xg, "../translations/km.ts": Ng, "../translations/kn.ts": Fg, "../translations/ko.ts": Hg, "../translations/ky.ts": Yg, "../translations/lb.ts": Xg, "../translations/lg.ts": Gg, "../translations/ln.ts": Qg, "../translations/lo.ts": ef, "../translations/lt.ts": nf, "../translations/lv.ts": sf, "../translations/mg.ts": af, "../translations/mk.ts": uf, "../translations/ml.ts": df, "../translations/mn.ts": ff, "../translations/mr.ts": hf, "../translations/ms.ts": Af, "../translations/mt.ts": vf, "../translations/my.ts": kf, "../translations/nb.ts": Sf, "../translations/ne.ts": Tf, "../translations/nl.ts": Cf, "../translations/nn.ts": Vf, "../translations/no.ts": Wf, "../translations/om.ts": Mf, "../translations/or.ts": zf, "../translations/pa.ts": jf, "../translations/pl.ts": Df, "../translations/ps.ts": Rf, "../translations/pt.ts": Uf, "../translations/qu.ts": qf, "../translations/ro.ts": Zf, "../translations/ru.ts": Kf, "../translations/rw.ts": Jf, "../translations/si.ts": $f, "../translations/sk.ts": t1, "../translations/sl.ts": n1, "../translations/sn.ts": s1, "../translations/so.ts": a1, "../translations/sq.ts": u1, "../translations/sr.ts": d1, "../translations/sv.ts": f1, "../translations/sw.ts": h1, "../translations/ta.ts": A1, "../translations/te.ts": v1, "../translations/tg.ts": k1, "../translations/th.ts": S1, "../translations/ti.ts": T1, "../translations/tr.ts": C1, "../translations/tt.ts": V1, "../translations/ug.ts": W1, "../translations/uk.ts": M1, "../translations/ur.ts": z1, "../translations/uz.ts": j1, "../translations/vi.ts": D1, "../translations/yi.ts": R1, "../translations/yo.ts": U1, "../translations/zh-HK.ts": q1, "../translations/zh-MO.ts": Z1, "../translations/zh-TW.ts": K1, "../translations/zh.ts": J1, "../translations/zu.ts": $1 }), Ir = Object.entries(sm).map(([t, e]) => [em(t), e.default]), al = Object.fromEntries(Ir.filter(([t, e]) => t.includes("-"))), rl = Object.fromEntries(Ir.filter(([t, e]) => e.isDefaultForLanguage).map(([t, e]) => [t.split("-")[0], e]));
|
|
4425
4425
|
tm(al, rl);
|
|
4426
4426
|
const Pt = (t, { locale: e } = {}) => {
|
|
4427
4427
|
const i = lm(e);
|
|
@@ -4448,7 +4448,7 @@ const Pt = (t, { locale: e } = {}) => {
|
|
|
4448
4448
|
const n = t.filter((u) => Vr(i, u.section)), o = n.findIndex((u) => u.startTime > e), s = o === -1, l = o - 1, a = l === -1;
|
|
4449
4449
|
let r;
|
|
4450
4450
|
return a ? r = 0 : s ? r = n.length - 1 : r = l, t.indexOf(n[r]);
|
|
4451
|
-
},
|
|
4451
|
+
}, Kl = (t, e) => {
|
|
4452
4452
|
const i = Tr(e == null ? void 0 : e.currentSrc), n = t.find((o) => {
|
|
4453
4453
|
var a;
|
|
4454
4454
|
const s = o.url && i === cm(o.url), l = ((a = o.url) == null ? void 0 : a.endsWith(".m3u8")) && (i == null ? void 0 : i.startsWith("blob:"));
|
|
@@ -4493,9 +4493,9 @@ const mm = {}, hm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4493
4493
|
__proto__: null,
|
|
4494
4494
|
default: mm
|
|
4495
4495
|
}, Symbol.toStringTag, { value: "Module" })), _m = /* @__PURE__ */ gm(hm);
|
|
4496
|
-
var
|
|
4496
|
+
var Gl;
|
|
4497
4497
|
function Am() {
|
|
4498
|
-
return
|
|
4498
|
+
return Gl || (Gl = 1, function(t, e) {
|
|
4499
4499
|
(function(i, n) {
|
|
4500
4500
|
t.exports = n();
|
|
4501
4501
|
})(uo, function() {
|
|
@@ -4659,8 +4659,8 @@ function Am() {
|
|
|
4659
4659
|
var p = this.words, z = v.words, D = this.sigBytes, S = v.sigBytes;
|
|
4660
4660
|
if (this.clamp(), D % 4)
|
|
4661
4661
|
for (var P = 0; P < S; P++) {
|
|
4662
|
-
var
|
|
4663
|
-
p[D + P >>> 2] |=
|
|
4662
|
+
var X = z[P >>> 2] >>> 24 - P % 4 * 8 & 255;
|
|
4663
|
+
p[D + P >>> 2] |= X << 24 - (D + P) % 4 * 8;
|
|
4664
4664
|
}
|
|
4665
4665
|
else
|
|
4666
4666
|
for (var Y = 0; Y < S; Y += 4)
|
|
@@ -4863,15 +4863,15 @@ function Am() {
|
|
|
4863
4863
|
* var processedData = bufferedBlockAlgorithm._process(!!'flush');
|
|
4864
4864
|
*/
|
|
4865
4865
|
_process: function(v) {
|
|
4866
|
-
var p, z = this._data, D = z.words, S = z.sigBytes, P = this.blockSize,
|
|
4866
|
+
var p, z = this._data, D = z.words, S = z.sigBytes, P = this.blockSize, X = P * 4, Y = S / X;
|
|
4867
4867
|
v ? Y = n.ceil(Y) : Y = n.max((Y | 0) - this._minBufferSize, 0);
|
|
4868
|
-
var N = Y * P,
|
|
4868
|
+
var N = Y * P, J = n.min(N * 4, S);
|
|
4869
4869
|
if (N) {
|
|
4870
4870
|
for (var oe = 0; oe < N; oe += P)
|
|
4871
4871
|
this._doProcessBlock(D, oe);
|
|
4872
|
-
p = D.splice(0, N), z.sigBytes -=
|
|
4872
|
+
p = D.splice(0, N), z.sigBytes -= J;
|
|
4873
4873
|
}
|
|
4874
|
-
return new g.init(p,
|
|
4874
|
+
return new g.init(p, J);
|
|
4875
4875
|
},
|
|
4876
4876
|
/**
|
|
4877
4877
|
* Creates a copy of this object.
|
|
@@ -5018,8 +5018,8 @@ function Am() {
|
|
|
5018
5018
|
var v = w + T, p = k[v];
|
|
5019
5019
|
k[v] = (p << 8 | p >>> 24) & 16711935 | (p << 24 | p >>> 8) & 4278255360;
|
|
5020
5020
|
}
|
|
5021
|
-
var z = this._hash.words, D = k[w + 0], S = k[w + 1], P = k[w + 2],
|
|
5022
|
-
b = g(b, C, F, x, D, 7, u[0]), x = g(x, b, C, F, S, 12, u[1]), F = g(F, x, b, C, P, 17, u[2]), C = g(C, F, x, b,
|
|
5021
|
+
var z = this._hash.words, D = k[w + 0], S = k[w + 1], P = k[w + 2], X = k[w + 3], Y = k[w + 4], N = k[w + 5], J = k[w + 6], oe = k[w + 7], le = k[w + 8], $ = k[w + 9], te = k[w + 10], re = k[w + 11], _e = k[w + 12], ue = k[w + 13], Ae = k[w + 14], ae = k[w + 15], b = z[0], C = z[1], F = z[2], x = z[3];
|
|
5022
|
+
b = g(b, C, F, x, D, 7, u[0]), x = g(x, b, C, F, S, 12, u[1]), F = g(F, x, b, C, P, 17, u[2]), C = g(C, F, x, b, X, 22, u[3]), b = g(b, C, F, x, Y, 7, u[4]), x = g(x, b, C, F, N, 12, u[5]), F = g(F, x, b, C, J, 17, u[6]), C = g(C, F, x, b, oe, 22, u[7]), b = g(b, C, F, x, le, 7, u[8]), x = g(x, b, C, F, $, 12, u[9]), F = g(F, x, b, C, te, 17, u[10]), C = g(C, F, x, b, re, 22, u[11]), b = g(b, C, F, x, _e, 7, u[12]), x = g(x, b, C, F, ue, 12, u[13]), F = g(F, x, b, C, Ae, 17, u[14]), C = g(C, F, x, b, ae, 22, u[15]), b = f(b, C, F, x, S, 5, u[16]), x = f(x, b, C, F, J, 9, u[17]), F = f(F, x, b, C, re, 14, u[18]), C = f(C, F, x, b, D, 20, u[19]), b = f(b, C, F, x, N, 5, u[20]), x = f(x, b, C, F, te, 9, u[21]), F = f(F, x, b, C, ae, 14, u[22]), C = f(C, F, x, b, Y, 20, u[23]), b = f(b, C, F, x, $, 5, u[24]), x = f(x, b, C, F, Ae, 9, u[25]), F = f(F, x, b, C, X, 14, u[26]), C = f(C, F, x, b, le, 20, u[27]), b = f(b, C, F, x, ue, 5, u[28]), x = f(x, b, C, F, P, 9, u[29]), F = f(F, x, b, C, oe, 14, u[30]), C = f(C, F, x, b, _e, 20, u[31]), b = A(b, C, F, x, N, 4, u[32]), x = A(x, b, C, F, le, 11, u[33]), F = A(F, x, b, C, re, 16, u[34]), C = A(C, F, x, b, Ae, 23, u[35]), b = A(b, C, F, x, S, 4, u[36]), x = A(x, b, C, F, Y, 11, u[37]), F = A(F, x, b, C, oe, 16, u[38]), C = A(C, F, x, b, te, 23, u[39]), b = A(b, C, F, x, ue, 4, u[40]), x = A(x, b, C, F, D, 11, u[41]), F = A(F, x, b, C, X, 16, u[42]), C = A(C, F, x, b, J, 23, u[43]), b = A(b, C, F, x, $, 4, u[44]), x = A(x, b, C, F, _e, 11, u[45]), F = A(F, x, b, C, ae, 16, u[46]), C = A(C, F, x, b, P, 23, u[47]), b = _(b, C, F, x, D, 6, u[48]), x = _(x, b, C, F, oe, 10, u[49]), F = _(F, x, b, C, Ae, 15, u[50]), C = _(C, F, x, b, N, 21, u[51]), b = _(b, C, F, x, _e, 6, u[52]), x = _(x, b, C, F, X, 10, u[53]), F = _(F, x, b, C, te, 15, u[54]), C = _(C, F, x, b, S, 21, u[55]), b = _(b, C, F, x, le, 6, u[56]), x = _(x, b, C, F, ae, 10, u[57]), F = _(F, x, b, C, J, 15, u[58]), C = _(C, F, x, b, ue, 21, u[59]), b = _(b, C, F, x, Y, 6, u[60]), x = _(x, b, C, F, re, 10, u[61]), F = _(F, x, b, C, P, 15, u[62]), C = _(C, F, x, b, $, 21, u[63]), z[0] = z[0] + b | 0, z[1] = z[1] + C | 0, z[2] = z[2] + F | 0, z[3] = z[3] + x | 0;
|
|
5023
5023
|
},
|
|
5024
5024
|
_doFinalize: function() {
|
|
5025
5025
|
var k = this._data, w = k.words, T = this._nDataBytes * 8, v = k.sigBytes * 8;
|
|
@@ -5027,8 +5027,8 @@ function Am() {
|
|
|
5027
5027
|
var p = n.floor(T / 4294967296), z = T;
|
|
5028
5028
|
w[(v + 64 >>> 9 << 4) + 15] = (p << 8 | p >>> 24) & 16711935 | (p << 24 | p >>> 8) & 4278255360, w[(v + 64 >>> 9 << 4) + 14] = (z << 8 | z >>> 24) & 16711935 | (z << 24 | z >>> 8) & 4278255360, k.sigBytes = (w.length + 1) * 4, this._process();
|
|
5029
5029
|
for (var D = this._hash, S = D.words, P = 0; P < 4; P++) {
|
|
5030
|
-
var
|
|
5031
|
-
S[P] = (
|
|
5030
|
+
var X = S[P];
|
|
5031
|
+
S[P] = (X << 8 | X >>> 24) & 16711935 | (X << 24 | X >>> 8) & 4278255360;
|
|
5032
5032
|
}
|
|
5033
5033
|
return D;
|
|
5034
5034
|
},
|
|
@@ -5074,9 +5074,9 @@ const vm = /* @__PURE__ */ dm(ym), bm = (t, e) => {
|
|
|
5074
5074
|
const e = BeyondWords.Player.instances(), i = [...e.entries()], n = i.map(([l, a]) => ({ p: l, player: a })), o = km(i);
|
|
5075
5075
|
let s = t;
|
|
5076
5076
|
for (; s && !ul(s) && !(o.size === 0 || cl(s)); )
|
|
5077
|
-
|
|
5077
|
+
Xs(pm, s, e, n, o), Xs(Sm, s, e, n, o), s = s.parentNode;
|
|
5078
5078
|
for (s = t; s && !ul(s) && !(o.size === 0 || cl(s)); )
|
|
5079
|
-
|
|
5079
|
+
Xs(wm, s, e, n, o), s = s.parentNode;
|
|
5080
5080
|
return Tm(n), Pm(n), n;
|
|
5081
5081
|
}, km = (t) => {
|
|
5082
5082
|
const e = /* @__PURE__ */ new Set();
|
|
@@ -5090,7 +5090,7 @@ const vm = /* @__PURE__ */ dm(ym), bm = (t, e) => {
|
|
|
5090
5090
|
const e = t.nodeName.toLowerCase();
|
|
5091
5091
|
if (e === "a" || t.onclick || t.onmousedown || e === "img" || e === "audio" || e === "input" || e === "textarea" || t.isContentEditable || !!t.closest(".beyondwords-player"))
|
|
5092
5092
|
return !0;
|
|
5093
|
-
},
|
|
5093
|
+
}, Xs = (t, e, i, n, o) => {
|
|
5094
5094
|
if (o.size === 0)
|
|
5095
5095
|
return;
|
|
5096
5096
|
const s = t(e);
|
|
@@ -5141,7 +5141,7 @@ const vm = /* @__PURE__ */ dm(ym), bm = (t, e) => {
|
|
|
5141
5141
|
}, Tm = (t) => {
|
|
5142
5142
|
const e = t.filter((i) => i.segment);
|
|
5143
5143
|
e.sort((i, n) => {
|
|
5144
|
-
const o =
|
|
5144
|
+
const o = Jl[i.player.playbackState] || 0, s = Jl[n.player.playbackState] || 0;
|
|
5145
5145
|
if (o > s)
|
|
5146
5146
|
return -1;
|
|
5147
5147
|
if (o < s)
|
|
@@ -5151,7 +5151,7 @@ const vm = /* @__PURE__ */ dm(ym), bm = (t, e) => {
|
|
|
5151
5151
|
});
|
|
5152
5152
|
for (const [i, n] of e.entries())
|
|
5153
5153
|
n.precedence = i;
|
|
5154
|
-
},
|
|
5154
|
+
}, Jl = { playing: 2, paused: 1, stopped: 0 }, Pm = (t) => {
|
|
5155
5155
|
for (const { player: e, segment: i, segmentElement: n } of t) {
|
|
5156
5156
|
if (!n)
|
|
5157
5157
|
continue;
|
|
@@ -5205,7 +5205,7 @@ function $l(t) {
|
|
|
5205
5205
|
);
|
|
5206
5206
|
return {
|
|
5207
5207
|
c() {
|
|
5208
|
-
e = y("div"), i = y("div"), r.c(), o =
|
|
5208
|
+
e = y("div"), i = y("div"), r.c(), o = G(), u && u.c(), s = G(), c && c.c(), ei(i, "class", "inner svelte-8cyxi7"), ei(e, "class", l = "media-element " + /*position*/
|
|
5209
5209
|
t[26] + " svelte-8cyxi7"), ei(
|
|
5210
5210
|
e,
|
|
5211
5211
|
"style",
|
|
@@ -5331,7 +5331,7 @@ function ta(t) {
|
|
|
5331
5331
|
return {
|
|
5332
5332
|
c() {
|
|
5333
5333
|
e = y("source"), Di(e.src, i = `${/*url*/
|
|
5334
|
-
t[88]}${
|
|
5334
|
+
t[88]}${Xl(
|
|
5335
5335
|
/*isFirstLoad*/
|
|
5336
5336
|
t[23],
|
|
5337
5337
|
/*initialTime*/
|
|
@@ -5355,7 +5355,7 @@ function ta(t) {
|
|
|
5355
5355
|
p(l, a) {
|
|
5356
5356
|
t = l, a[0] & /*sources, isFirstLoad*/
|
|
5357
5357
|
9437184 && !Di(e.src, i = `${/*url*/
|
|
5358
|
-
t[88]}${
|
|
5358
|
+
t[88]}${Xl(
|
|
5359
5359
|
/*isFirstLoad*/
|
|
5360
5360
|
t[23],
|
|
5361
5361
|
/*initialTime*/
|
|
@@ -5712,14 +5712,14 @@ function Om(t) {
|
|
|
5712
5712
|
}
|
|
5713
5713
|
const la = ({ url: t }) => t;
|
|
5714
5714
|
function Mm(t, e, i) {
|
|
5715
|
-
let n, o, s, l, a, r, u, c, g, f, A, _, k, w, T, v, p, z, D, S, { content: P } = e, { contentIndex:
|
|
5715
|
+
let n, o, s, l, a, r, u, c, g, f, A, _, k, w, T, v, p, z, D, S, { content: P } = e, { contentIndex: X } = e, { contentVariant: Y } = e, { introOrOutro: N } = e, { activeAdvert: J } = e, { preloadAdvert: oe } = e, { advertConsent: le } = e, { maxImageSize: $ } = e, { projectId: te } = e, { playlistId: re } = e, { contentId: _e } = e, { contentLanguage: ue } = e, { platform: Ae } = e, { vendorIdentifier: ae } = e, { bundleIdentifier: b } = e, { playbackState: C } = e, { duration: F } = e, { currentTime: x } = e, { playbackRate: Ve } = e, { prevPercentage: Le } = e, { showUserInterface: Ke } = e, { videoBehindWidget: j } = e, { videoBehindStatic: me } = e, { videoMightBeShown: Ee } = e, { widgetPosition: Ne } = e, { widgetWidth: Xe } = e, { widgetMargin: Me } = e, { widgetTarget: Qe } = e, { onEvent: pe = () => {
|
|
5716
5716
|
} } = e, { metadataLoaded: Ye } = e, { video: Pe = void 0 } = e, jt, Oe, je, ze = 0, at = 0, xt = x, Re, ht;
|
|
5717
5717
|
const He = (H) => i(19, ze = H), et = () => Ee, tt = () => u.some((H) => H.format === "video"), gt = () => {
|
|
5718
5718
|
var H;
|
|
5719
5719
|
return (Pe == null ? void 0 : Pe.paused) && ((H = Pe == null ? void 0 : Pe.play()) == null ? void 0 : H.catch(ot));
|
|
5720
5720
|
}, Ie = () => !(Pe != null && Pe.paused) && (Pe == null ? void 0 : Pe.pause()), _t = () => {
|
|
5721
5721
|
je && clearTimeout(je), i(24, je = setTimeout(() => i(24, je = null), 500));
|
|
5722
|
-
},
|
|
5722
|
+
}, Ge = () => {
|
|
5723
5723
|
pe(be({
|
|
5724
5724
|
type: "PlaybackPlaying",
|
|
5725
5725
|
description: "The media began playing from its current playback time.",
|
|
@@ -5751,14 +5751,14 @@ function Mm(t, e, i) {
|
|
|
5751
5751
|
initiatedBy: "media"
|
|
5752
5752
|
}));
|
|
5753
5753
|
}, ut = () => {
|
|
5754
|
-
Ye || (i(43, Ye = !0), i(58, Re =
|
|
5754
|
+
Ye || (i(43, Ye = !0), i(58, Re = Kl(u, Pe)), pe(be({
|
|
5755
5755
|
type: "MetadataLoaded",
|
|
5756
5756
|
description: "The media finished loading its metadata.",
|
|
5757
5757
|
initiatedBy: "media",
|
|
5758
5758
|
loadedMedia: Re
|
|
5759
5759
|
})));
|
|
5760
5760
|
}, It = () => {
|
|
5761
|
-
i(58, Re =
|
|
5761
|
+
i(58, Re = Kl(u, Pe)), pe(be({
|
|
5762
5762
|
type: "MediaLoaded",
|
|
5763
5763
|
description: "The media finished loading its first frame of data.",
|
|
5764
5764
|
initiatedBy: "media",
|
|
@@ -5783,7 +5783,7 @@ function Mm(t, e, i) {
|
|
|
5783
5783
|
description: "The media's current segment was updated.",
|
|
5784
5784
|
initiatedBy: "media",
|
|
5785
5785
|
segment: H,
|
|
5786
|
-
contentIndex:
|
|
5786
|
+
contentIndex: X,
|
|
5787
5787
|
segmentIndex: S,
|
|
5788
5788
|
segmentElement: bt,
|
|
5789
5789
|
precedence: 0
|
|
@@ -5852,7 +5852,7 @@ function Mm(t, e, i) {
|
|
|
5852
5852
|
Pe = H, i(2, Pe);
|
|
5853
5853
|
});
|
|
5854
5854
|
}
|
|
5855
|
-
function
|
|
5855
|
+
function Je() {
|
|
5856
5856
|
F = this.duration, i(3, F);
|
|
5857
5857
|
}
|
|
5858
5858
|
function vt() {
|
|
@@ -5871,7 +5871,7 @@ function Mm(t, e, i) {
|
|
|
5871
5871
|
x = H, i(1, x), i(19, ze);
|
|
5872
5872
|
}
|
|
5873
5873
|
return t.$$set = (H) => {
|
|
5874
|
-
"content" in H && i(5, P = H.content), "contentIndex" in H && i(45,
|
|
5874
|
+
"content" in H && i(5, P = H.content), "contentIndex" in H && i(45, X = H.contentIndex), "contentVariant" in H && i(46, Y = H.contentVariant), "introOrOutro" in H && i(47, N = H.introOrOutro), "activeAdvert" in H && i(48, J = H.activeAdvert), "preloadAdvert" in H && i(49, oe = H.preloadAdvert), "advertConsent" in H && i(6, le = H.advertConsent), "maxImageSize" in H && i(7, $ = H.maxImageSize), "projectId" in H && i(8, te = H.projectId), "playlistId" in H && i(9, re = H.playlistId), "contentId" in H && i(10, _e = H.contentId), "contentLanguage" in H && i(11, ue = H.contentLanguage), "platform" in H && i(12, Ae = H.platform), "vendorIdentifier" in H && i(13, ae = H.vendorIdentifier), "bundleIdentifier" in H && i(14, b = H.bundleIdentifier), "playbackState" in H && i(0, C = H.playbackState), "duration" in H && i(3, F = H.duration), "currentTime" in H && i(1, x = H.currentTime), "playbackRate" in H && i(4, Ve = H.playbackRate), "prevPercentage" in H && i(44, Le = H.prevPercentage), "showUserInterface" in H && i(15, Ke = H.showUserInterface), "videoBehindWidget" in H && i(50, j = H.videoBehindWidget), "videoBehindStatic" in H && i(16, me = H.videoBehindStatic), "videoMightBeShown" in H && i(51, Ee = H.videoMightBeShown), "widgetPosition" in H && i(52, Ne = H.widgetPosition), "widgetWidth" in H && i(53, Xe = H.widgetWidth), "widgetMargin" in H && i(54, Me = H.widgetMargin), "widgetTarget" in H && i(55, Qe = H.widgetTarget), "onEvent" in H && i(17, pe = H.onEvent), "metadataLoaded" in H && i(43, Ye = H.metadataLoaded), "video" in H && i(2, Pe = H.video);
|
|
5875
5875
|
}, t.$$.update = () => {
|
|
5876
5876
|
t.$$.dirty[0] & /*content, videoBehindStatic*/
|
|
5877
5877
|
65568 | t.$$.dirty[1] & /*videoBehindWidget*/
|
|
@@ -5879,34 +5879,34 @@ function Mm(t, e, i) {
|
|
|
5879
5879
|
64 && n && import("./././././././././style.js"), t.$$.dirty[0] & /*time*/
|
|
5880
5880
|
524288 && i(1, x = ze), t.$$.dirty[0] & /*currentTime*/
|
|
5881
5881
|
2 | t.$$.dirty[1] & /*activeAdvert*/
|
|
5882
|
-
131072 && !
|
|
5882
|
+
131072 && !J && kr().then(() => He(x)), t.$$.dirty[0] & /*content*/
|
|
5883
5883
|
32 | t.$$.dirty[1] & /*contentIndex*/
|
|
5884
|
-
16384 && i(67, o = P[
|
|
5884
|
+
16384 && i(67, o = P[X]), t.$$.dirty[2] & /*contentItem*/
|
|
5885
5885
|
32 && i(60, s = (o == null ? void 0 : o.segments) || []), t.$$.dirty[1] & /*contentIndex, introOrOutro, activeAdvert, loadCount*/
|
|
5886
5886
|
67321856 && i(57, at += 1), t.$$.dirty[1] & /*loadCount*/
|
|
5887
5887
|
67108864 && i(23, l = at === 1), t.$$.dirty[0] & /*isFirstLoad*/
|
|
5888
5888
|
8388608 && i(66, a = l && xt), t.$$.dirty[1] & /*introOrOutro*/
|
|
5889
5889
|
65536 && i(61, r = N), t.$$.dirty[1] & /*introOrOutro, activeAdvert*/
|
|
5890
|
-
196608 && !N && i(61, r =
|
|
5890
|
+
196608 && !N && i(61, r = J), t.$$.dirty[1] & /*introOrOutro, activeAdvert, contentVariant*/
|
|
5891
5891
|
229376 | t.$$.dirty[2] & /*contentItem*/
|
|
5892
|
-
32 && !N && !
|
|
5892
|
+
32 && !N && !J && Y === "article" && i(61, r = o), t.$$.dirty[1] & /*introOrOutro, activeAdvert, contentVariant*/
|
|
5893
5893
|
229376 | t.$$.dirty[2] & /*contentItem*/
|
|
5894
|
-
32 && !N && !
|
|
5894
|
+
32 && !N && !J && Y === "summary" && i(61, r = o == null ? void 0 : o.summarization), t.$$.dirty[0] & /*playbackState, currentTime*/
|
|
5895
5895
|
3 && i(62, D = C !== "playing" && x <= _o), t.$$.dirty[1] & /*videoMightBeShown, loadedMedia, mediaObject*/
|
|
5896
5896
|
1209008128 | t.$$.dirty[2] & /*atTheStart*/
|
|
5897
|
-
1 && Ee && (Re == null ? void 0 : Re.format) === "audio" && tt() && D && (i(61, r), i(47, N), i(48,
|
|
5897
|
+
1 && Ee && (Re == null ? void 0 : Re.format) === "audio" && tt() && D && (i(61, r), i(47, N), i(48, J), i(46, Y), i(67, o), i(51, Ee), i(58, Re), i(62, D), i(5, P), i(45, X), i(0, C), i(1, x), i(19, ze)), t.$$.dirty[1] & /*mediaObject*/
|
|
5898
5898
|
1073741824 | t.$$.dirty[2] & /*startPosition*/
|
|
5899
5899
|
16 && i(20, u = qc(r, et(), a)), t.$$.dirty[0] & /*sources*/
|
|
5900
5900
|
1048576 && i(43, Ye = !1), t.$$.dirty[0] & /*sources*/
|
|
5901
5901
|
1048576 && i(44, Le = 0), t.$$.dirty[0] & /*sources, video*/
|
|
5902
|
-
1048580 &&
|
|
5902
|
+
1048580 && Xc(u[0], Pe).then((H) => i(56, jt = H)), t.$$.dirty[0] & /*sources, video, hls*/
|
|
5903
5903
|
1310724 | t.$$.dirty[1] & /*Hls*/
|
|
5904
|
-
33554432 && i(18, Oe =
|
|
5904
|
+
33554432 && i(18, Oe = Jc(u[0], Pe, jt, Oe, kt, ut, gt)), t.$$.dirty[0] & /*playbackState, hls*/
|
|
5905
5905
|
262145 | t.$$.dirty[2] & /*startPosition*/
|
|
5906
5906
|
16 && (C === "playing" || et()) && Pr(Oe, a), t.$$.dirty[1] & /*activeAdvert*/
|
|
5907
|
-
131072 && i(21, c =
|
|
5908
|
-
131072 && i(30, g =
|
|
5909
|
-
131072 && i(29, f =
|
|
5907
|
+
131072 && i(21, c = J == null ? void 0 : J.vastUrl), t.$$.dirty[1] & /*activeAdvert*/
|
|
5908
|
+
131072 && i(30, g = J == null ? void 0 : J.placement), t.$$.dirty[1] & /*activeAdvert*/
|
|
5909
|
+
131072 && i(29, f = J == null ? void 0 : J.clickThroughUrl), t.$$.dirty[1] & /*preloadAdvert*/
|
|
5910
5910
|
262144 && i(28, A = oe == null ? void 0 : oe.vastUrl), t.$$.dirty[0] & /*vastUrl*/
|
|
5911
5911
|
2097152 | t.$$.dirty[1] & /*metadataLoaded*/
|
|
5912
5912
|
4096 && i(65, _ = !c && (Ye || am())), t.$$.dirty[0] & /*playbackState*/
|
|
@@ -5920,10 +5920,10 @@ function Mm(t, e, i) {
|
|
|
5920
5920
|
2097152 && i(26, p = w && Ne !== "auto" ? `fixed-${Ne}` : ""), t.$$.dirty[0] & /*videoBehindSlidingWidget*/
|
|
5921
5921
|
4194304 | t.$$.dirty[1] & /*widgetWidth, widgetMargin*/
|
|
5922
5922
|
12582912 | t.$$.dirty[2] & /*marginWidth*/
|
|
5923
|
-
2 && i(25, z = w ? `width: ${
|
|
5923
|
+
2 && i(25, z = w ? `width: ${Xe}; --margin: ${Me}; --margin-width: ${v}` : ""), t.$$.dirty[0] & /*currentTime*/
|
|
5924
5924
|
2 | t.$$.dirty[1] & /*introOrOutro, activeAdvert, segments, contentVariant*/
|
|
5925
5925
|
537100288 | t.$$.dirty[2] & /*atTheStart*/
|
|
5926
|
-
1 && i(59, S = N ||
|
|
5926
|
+
1 && i(59, S = N || J || D ? -1 : Bl(s, x, Y)), t.$$.dirty[1] & /*segmentIndex*/
|
|
5927
5927
|
268435456 && Vt(), t.$$.dirty[0] & /*videoBehindSlidingWidget*/
|
|
5928
5928
|
4194304 && w && _t(), t.$$.dirty[0] & /*sources, vastUrl*/
|
|
5929
5929
|
3145728 | t.$$.dirty[1] & /*mediaObject*/
|
|
@@ -5944,7 +5944,7 @@ function Mm(t, e, i) {
|
|
|
5944
5944
|
Ae,
|
|
5945
5945
|
ae,
|
|
5946
5946
|
b,
|
|
5947
|
-
|
|
5947
|
+
Ke,
|
|
5948
5948
|
me,
|
|
5949
5949
|
pe,
|
|
5950
5950
|
Oe,
|
|
@@ -5961,7 +5961,7 @@ function Mm(t, e, i) {
|
|
|
5961
5961
|
f,
|
|
5962
5962
|
g,
|
|
5963
5963
|
xt,
|
|
5964
|
-
|
|
5964
|
+
Ge,
|
|
5965
5965
|
Ct,
|
|
5966
5966
|
it,
|
|
5967
5967
|
$e,
|
|
@@ -5974,15 +5974,15 @@ function Mm(t, e, i) {
|
|
|
5974
5974
|
st,
|
|
5975
5975
|
Ye,
|
|
5976
5976
|
Le,
|
|
5977
|
-
|
|
5977
|
+
X,
|
|
5978
5978
|
Y,
|
|
5979
5979
|
N,
|
|
5980
|
-
|
|
5980
|
+
J,
|
|
5981
5981
|
oe,
|
|
5982
5982
|
j,
|
|
5983
5983
|
Ee,
|
|
5984
5984
|
Ne,
|
|
5985
|
-
|
|
5985
|
+
Xe,
|
|
5986
5986
|
Me,
|
|
5987
5987
|
Qe,
|
|
5988
5988
|
jt,
|
|
@@ -5999,7 +5999,7 @@ function Mm(t, e, i) {
|
|
|
5999
5999
|
o,
|
|
6000
6000
|
n,
|
|
6001
6001
|
yt,
|
|
6002
|
-
|
|
6002
|
+
Je,
|
|
6003
6003
|
vt,
|
|
6004
6004
|
lt,
|
|
6005
6005
|
Ze,
|
|
@@ -6379,7 +6379,7 @@ var Nm = 20, Rm = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
6379
6379
|
});
|
|
6380
6380
|
}
|
|
6381
6381
|
return t;
|
|
6382
|
-
},
|
|
6382
|
+
}, Gn = function(t) {
|
|
6383
6383
|
var e = t && t.ownerDocument && t.ownerDocument.defaultView;
|
|
6384
6384
|
return e || cs;
|
|
6385
6385
|
}, Er = xs(0, 0, 0, 0);
|
|
@@ -6409,8 +6409,8 @@ function Ym(t) {
|
|
|
6409
6409
|
var e = t.clientWidth, i = t.clientHeight;
|
|
6410
6410
|
if (!e && !i)
|
|
6411
6411
|
return Er;
|
|
6412
|
-
var n =
|
|
6413
|
-
if (n.boxSizing === "border-box" && (Math.round(a + s) !== e && (a -= aa(n, "left", "right") + s), Math.round(r + l) !== i && (r -= aa(n, "top", "bottom") + l)), !
|
|
6412
|
+
var n = Gn(t).getComputedStyle(t), o = Hm(n), s = o.left + o.right, l = o.top + o.bottom, a = ds(n.width), r = ds(n.height);
|
|
6413
|
+
if (n.boxSizing === "border-box" && (Math.round(a + s) !== e && (a -= aa(n, "left", "right") + s), Math.round(r + l) !== i && (r -= aa(n, "top", "bottom") + l)), !Xm(t)) {
|
|
6414
6414
|
var u = Math.round(a + s) - e, c = Math.round(r + l) - i;
|
|
6415
6415
|
Math.abs(u) !== 1 && (a -= u), Math.abs(c) !== 1 && (r -= c);
|
|
6416
6416
|
}
|
|
@@ -6418,18 +6418,18 @@ function Ym(t) {
|
|
|
6418
6418
|
}
|
|
6419
6419
|
var Zm = /* @__PURE__ */ function() {
|
|
6420
6420
|
return typeof SVGGraphicsElement != "undefined" ? function(t) {
|
|
6421
|
-
return t instanceof
|
|
6421
|
+
return t instanceof Gn(t).SVGGraphicsElement;
|
|
6422
6422
|
} : function(t) {
|
|
6423
|
-
return t instanceof
|
|
6423
|
+
return t instanceof Gn(t).SVGElement && typeof t.getBBox == "function";
|
|
6424
6424
|
};
|
|
6425
6425
|
}();
|
|
6426
|
-
function
|
|
6427
|
-
return t ===
|
|
6426
|
+
function Xm(t) {
|
|
6427
|
+
return t === Gn(t).document.documentElement;
|
|
6428
6428
|
}
|
|
6429
|
-
function
|
|
6429
|
+
function Km(t) {
|
|
6430
6430
|
return gl ? Zm(t) ? qm(t) : Ym(t) : Er;
|
|
6431
6431
|
}
|
|
6432
|
-
function
|
|
6432
|
+
function Gm(t) {
|
|
6433
6433
|
var e = t.x, i = t.y, n = t.width, o = t.height, s = typeof DOMRectReadOnly != "undefined" ? DOMRectReadOnly : Object, l = Object.create(s.prototype);
|
|
6434
6434
|
return Mr(l, {
|
|
6435
6435
|
x: e,
|
|
@@ -6445,14 +6445,14 @@ function Jm(t) {
|
|
|
6445
6445
|
function xs(t, e, i, n) {
|
|
6446
6446
|
return { x: t, y: e, width: i, height: n };
|
|
6447
6447
|
}
|
|
6448
|
-
var
|
|
6448
|
+
var Jm = (
|
|
6449
6449
|
/** @class */
|
|
6450
6450
|
function() {
|
|
6451
6451
|
function t(e) {
|
|
6452
6452
|
this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = xs(0, 0, 0, 0), this.target = e;
|
|
6453
6453
|
}
|
|
6454
6454
|
return t.prototype.isActive = function() {
|
|
6455
|
-
var e =
|
|
6455
|
+
var e = Km(this.target);
|
|
6456
6456
|
return this.contentRect_ = e, e.width !== this.broadcastWidth || e.height !== this.broadcastHeight;
|
|
6457
6457
|
}, t.prototype.broadcastRect = function() {
|
|
6458
6458
|
var e = this.contentRect_;
|
|
@@ -6463,7 +6463,7 @@ var Xm = (
|
|
|
6463
6463
|
/** @class */
|
|
6464
6464
|
/* @__PURE__ */ function() {
|
|
6465
6465
|
function t(e, i) {
|
|
6466
|
-
var n =
|
|
6466
|
+
var n = Gm(i);
|
|
6467
6467
|
Mr(this, { target: e, contentRect: n });
|
|
6468
6468
|
}
|
|
6469
6469
|
return t;
|
|
@@ -6480,16 +6480,16 @@ var Xm = (
|
|
|
6480
6480
|
if (!arguments.length)
|
|
6481
6481
|
throw new TypeError("1 argument required, but only 0 present.");
|
|
6482
6482
|
if (!(typeof Element == "undefined" || !(Element instanceof Object))) {
|
|
6483
|
-
if (!(e instanceof
|
|
6483
|
+
if (!(e instanceof Gn(e).Element))
|
|
6484
6484
|
throw new TypeError('parameter 1 is not of type "Element".');
|
|
6485
6485
|
var i = this.observations_;
|
|
6486
|
-
i.has(e) || (i.set(e, new
|
|
6486
|
+
i.has(e) || (i.set(e, new Jm(e)), this.controller_.addObserver(this), this.controller_.refresh());
|
|
6487
6487
|
}
|
|
6488
6488
|
}, t.prototype.unobserve = function(e) {
|
|
6489
6489
|
if (!arguments.length)
|
|
6490
6490
|
throw new TypeError("1 argument required, but only 0 present.");
|
|
6491
6491
|
if (!(typeof Element == "undefined" || !(Element instanceof Object))) {
|
|
6492
|
-
if (!(e instanceof
|
|
6492
|
+
if (!(e instanceof Gn(e).Element))
|
|
6493
6493
|
throw new TypeError('parameter 1 is not of type "Element".');
|
|
6494
6494
|
var i = this.observations_;
|
|
6495
6495
|
i.has(e) && (i.delete(e), i.size || this.controller_.removeObserver(this));
|
|
@@ -7068,7 +7068,7 @@ class ph extends Te {
|
|
|
7068
7068
|
this.$$set({ onEvent: e }), d();
|
|
7069
7069
|
}
|
|
7070
7070
|
}
|
|
7071
|
-
const
|
|
7071
|
+
const Kt = (t, e, i) => Ce(t, e, e === "style" ? wh(i) : i), Sh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, wh = (t) => t.split(Sh).filter((e) => e).map((e) => e + " !important").join(";");
|
|
7072
7072
|
function Th(t) {
|
|
7073
7073
|
let e, i, n, o, s, l;
|
|
7074
7074
|
return {
|
|
@@ -7076,26 +7076,26 @@ function Th(t) {
|
|
|
7076
7076
|
e = Se("svg"), i = Se("path"), n = Se("text"), o = ie(
|
|
7077
7077
|
/*seconds*/
|
|
7078
7078
|
t[2]
|
|
7079
|
-
),
|
|
7079
|
+
), Kt(
|
|
7080
7080
|
i,
|
|
7081
7081
|
"fill",
|
|
7082
7082
|
/*color*/
|
|
7083
7083
|
t[1]
|
|
7084
|
-
),
|
|
7084
|
+
), Kt(i, "d", "M12.3035 28.3333C9.12574 28.3333 6.39796 27.2778 4.12019 25.1667C1.84241 23.0556 0.581297 20.4444 0.336852 17.3333C0.31463 17.0667 0.397963 16.8333 0.586852 16.6333C0.775741 16.4333 1.01463 16.3333 1.30352 16.3333C1.57019 16.3333 1.79796 16.4278 1.98685 16.6167C2.17574 16.8056 2.29241 17.0444 2.33685 17.3333C2.5813 19.8889 3.64796 22.0278 5.53685 23.75C7.42574 25.4722 9.6813 26.3333 12.3035 26.3333C15.0813 26.3333 17.4424 25.3611 19.3869 23.4167C21.3313 21.4722 22.3035 19.1111 22.3035 16.3333C22.3035 13.5556 21.3591 11.1944 19.4702 9.25C17.5813 7.30555 15.248 6.33333 12.4702 6.33333H11.7369L13.4702 8.06666C13.6702 8.26666 13.7702 8.5 13.7702 8.76666C13.7702 9.03333 13.6702 9.26666 13.4702 9.46666C13.2702 9.66666 13.0369 9.76666 12.7702 9.76666C12.5035 9.76666 12.2702 9.66666 12.0702 9.46666L8.57019 5.96666C8.45907 5.85555 8.3813 5.74444 8.33685 5.63333C8.29241 5.52222 8.27019 5.4 8.27019 5.26666C8.27019 5.13333 8.29241 5.01111 8.33685 4.9C8.3813 4.78889 8.45907 4.67777 8.57019 4.56666L12.1035 1.03333C12.2813 0.855551 12.5035 0.766663 12.7702 0.766663C13.0369 0.766663 13.2702 0.855551 13.4702 1.03333C13.648 1.23333 13.7369 1.46666 13.7369 1.73333C13.7369 2 13.648 2.22222 13.4702 2.4L11.5369 4.33333H12.3035C13.9702 4.33333 15.5313 4.64444 16.9869 5.26666C18.4424 5.88889 19.7146 6.74444 20.8035 7.83333C21.8924 8.92222 22.748 10.1944 23.3702 11.65C23.9924 13.1056 24.3035 14.6667 24.3035 16.3333C24.3035 18 23.9924 19.5611 23.3702 21.0167C22.748 22.4722 21.8924 23.7444 20.8035 24.8333C19.7146 25.9222 18.4424 26.7778 16.9869 27.4C15.5313 28.0222 13.9702 28.3333 12.3035 28.3333Z"), Kt(
|
|
7085
7085
|
n,
|
|
7086
7086
|
"fill",
|
|
7087
7087
|
/*color*/
|
|
7088
7088
|
t[1]
|
|
7089
|
-
),
|
|
7090
|
-
t[0]),
|
|
7091
|
-
t[0]),
|
|
7089
|
+
), Kt(n, "x", "36%"), Kt(n, "y", "46%"), Kt(n, "dominant-baseline", "middle"), Kt(n, "text-anchor", "middle"), Kt(n, "class", "svelte-1xysf6z"), Kt(e, "width", s = 40 * /*scale*/
|
|
7090
|
+
t[0]), Kt(e, "height", l = 40 * /*scale*/
|
|
7091
|
+
t[0]), Kt(e, "viewBox", "-5 -5 35 39"), Kt(e, "fill", "none"), Kt(e, "xmlns", "http://www.w3.org/2000/svg");
|
|
7092
7092
|
},
|
|
7093
7093
|
m(a, r) {
|
|
7094
7094
|
E(a, e, r), m(e, i), m(e, n), m(n, o);
|
|
7095
7095
|
},
|
|
7096
7096
|
p(a, [r]) {
|
|
7097
7097
|
r & /*color*/
|
|
7098
|
-
2 &&
|
|
7098
|
+
2 && Kt(
|
|
7099
7099
|
i,
|
|
7100
7100
|
"fill",
|
|
7101
7101
|
/*color*/
|
|
@@ -7106,16 +7106,16 @@ function Th(t) {
|
|
|
7106
7106
|
/*seconds*/
|
|
7107
7107
|
a[2]
|
|
7108
7108
|
), r & /*color*/
|
|
7109
|
-
2 &&
|
|
7109
|
+
2 && Kt(
|
|
7110
7110
|
n,
|
|
7111
7111
|
"fill",
|
|
7112
7112
|
/*color*/
|
|
7113
7113
|
a[1]
|
|
7114
7114
|
), r & /*scale*/
|
|
7115
7115
|
1 && s !== (s = 40 * /*scale*/
|
|
7116
|
-
a[0]) &&
|
|
7116
|
+
a[0]) && Kt(e, "width", s), r & /*scale*/
|
|
7117
7117
|
1 && l !== (l = 40 * /*scale*/
|
|
7118
|
-
a[0]) &&
|
|
7118
|
+
a[0]) && Kt(e, "height", l);
|
|
7119
7119
|
},
|
|
7120
7120
|
i: Q,
|
|
7121
7121
|
o: Q,
|
|
@@ -7471,7 +7471,7 @@ function Hh(t, e, i) {
|
|
|
7471
7471
|
} } = e, g;
|
|
7472
7472
|
const f = () => {
|
|
7473
7473
|
let A, _, k;
|
|
7474
|
-
o ? (A = "PressedPrevSegment", _ = "The previous segment button was pressed.") : s ? (A = "PressedSeekBack", _ = "The seek backward button was pressed.", k = { seconds: n }) : l && (A = "PressedPrevTrack", _ = "The previous track button was pressed."), c(be(
|
|
7474
|
+
o ? (A = "PressedPrevSegment", _ = "The previous segment button was pressed.") : s ? (A = "PressedSeekBack", _ = "The seek backward button was pressed.", k = { seconds: n }) : l && (A = "PressedPrevTrack", _ = "The previous track button was pressed."), c(be(Xt({
|
|
7475
7475
|
type: A,
|
|
7476
7476
|
description: _,
|
|
7477
7477
|
initiatedBy: "user"
|
|
@@ -7528,34 +7528,34 @@ class qh extends Te {
|
|
|
7528
7528
|
this.$$set({ onEvent: e }), d();
|
|
7529
7529
|
}
|
|
7530
7530
|
}
|
|
7531
|
-
const
|
|
7532
|
-
function
|
|
7531
|
+
const Gt = (t, e, i) => Ce(t, e, e === "style" ? Zh(i) : i), Yh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Zh = (t) => t.split(Yh).filter((e) => e).map((e) => e + " !important").join(";");
|
|
7532
|
+
function Xh(t) {
|
|
7533
7533
|
let e, i, n, o, s, l;
|
|
7534
7534
|
return {
|
|
7535
7535
|
c() {
|
|
7536
7536
|
e = Se("svg"), i = Se("path"), n = Se("text"), o = ie(
|
|
7537
7537
|
/*seconds*/
|
|
7538
7538
|
t[2]
|
|
7539
|
-
),
|
|
7539
|
+
), Gt(
|
|
7540
7540
|
i,
|
|
7541
7541
|
"fill",
|
|
7542
7542
|
/*color*/
|
|
7543
7543
|
t[1]
|
|
7544
|
-
),
|
|
7544
|
+
), Gt(i, "d", "M12.5 28.3333C10.8333 28.3333 9.27222 28.0167 7.81667 27.3833C6.36111 26.75 5.09444 25.8944 4.01667 24.8167C2.93889 23.7389 2.08333 22.4722 1.45 21.0167C0.816667 19.5611 0.5 18 0.5 16.3333C0.5 14.6667 0.816667 13.1056 1.45 11.65C2.08333 10.1944 2.93889 8.92777 4.01667 7.85C5.09444 6.77222 6.36111 5.91666 7.81667 5.28333C9.27222 4.65 10.8333 4.33333 12.5 4.33333H13.2667L11.3333 2.4C11.1556 2.22222 11.0722 1.99444 11.0833 1.71666C11.0944 1.43888 11.1889 1.21111 11.3667 1.03333C11.5444 0.855551 11.7722 0.766663 12.05 0.766663C12.3278 0.766663 12.5556 0.855551 12.7333 1.03333L16.2333 4.56666C16.4333 4.76666 16.5333 5 16.5333 5.26666C16.5333 5.53333 16.4333 5.76666 16.2333 5.96666L12.7333 9.46666C12.5333 9.66666 12.2944 9.76666 12.0167 9.76666C11.7389 9.76666 11.5111 9.66666 11.3333 9.46666C11.1333 9.26666 11.0389 9.03333 11.05 8.76666C11.0611 8.5 11.1667 8.26666 11.3667 8.06666L13.1 6.33333H12.3333C9.57778 6.33333 7.25 7.30555 5.35 9.25C3.45 11.1944 2.5 13.5556 2.5 16.3333C2.5 19.1111 3.47222 21.4722 5.41667 23.4167C7.36111 25.3611 9.72222 26.3333 12.5 26.3333C15.0778 26.3333 17.3222 25.4722 19.2333 23.75C21.1444 22.0278 22.2222 19.8889 22.4667 17.3333C22.5111 17.0444 22.6278 16.8056 22.8167 16.6167C23.0056 16.4278 23.2333 16.3333 23.5 16.3333C23.7889 16.3333 24.0278 16.4333 24.2167 16.6333C24.4056 16.8333 24.4889 17.0667 24.4667 17.3333C24.2222 20.4667 22.95 23.0833 20.65 25.1833C18.35 27.2833 15.6333 28.3333 12.5 28.3333Z"), Gt(
|
|
7545
7545
|
n,
|
|
7546
7546
|
"fill",
|
|
7547
7547
|
/*color*/
|
|
7548
7548
|
t[1]
|
|
7549
|
-
),
|
|
7550
|
-
t[0]),
|
|
7551
|
-
t[0]),
|
|
7549
|
+
), Gt(n, "x", "36%"), Gt(n, "y", "46%"), Gt(n, "dominant-baseline", "middle"), Gt(n, "text-anchor", "middle"), Gt(n, "class", "svelte-1xysf6z"), Gt(e, "width", s = 40 * /*scale*/
|
|
7550
|
+
t[0]), Gt(e, "height", l = 40 * /*scale*/
|
|
7551
|
+
t[0]), Gt(e, "viewBox", "-5 -5 35 39"), Gt(e, "fill", "none"), Gt(e, "xmlns", "http://www.w3.org/2000/svg");
|
|
7552
7552
|
},
|
|
7553
7553
|
m(a, r) {
|
|
7554
7554
|
E(a, e, r), m(e, i), m(e, n), m(n, o);
|
|
7555
7555
|
},
|
|
7556
7556
|
p(a, [r]) {
|
|
7557
7557
|
r & /*color*/
|
|
7558
|
-
2 &&
|
|
7558
|
+
2 && Gt(
|
|
7559
7559
|
i,
|
|
7560
7560
|
"fill",
|
|
7561
7561
|
/*color*/
|
|
@@ -7566,16 +7566,16 @@ function Kh(t) {
|
|
|
7566
7566
|
/*seconds*/
|
|
7567
7567
|
a[2]
|
|
7568
7568
|
), r & /*color*/
|
|
7569
|
-
2 &&
|
|
7569
|
+
2 && Gt(
|
|
7570
7570
|
n,
|
|
7571
7571
|
"fill",
|
|
7572
7572
|
/*color*/
|
|
7573
7573
|
a[1]
|
|
7574
7574
|
), r & /*scale*/
|
|
7575
7575
|
1 && s !== (s = 40 * /*scale*/
|
|
7576
|
-
a[0]) &&
|
|
7576
|
+
a[0]) && Gt(e, "width", s), r & /*scale*/
|
|
7577
7577
|
1 && l !== (l = 40 * /*scale*/
|
|
7578
|
-
a[0]) &&
|
|
7578
|
+
a[0]) && Gt(e, "height", l);
|
|
7579
7579
|
},
|
|
7580
7580
|
i: Q,
|
|
7581
7581
|
o: Q,
|
|
@@ -7584,15 +7584,15 @@ function Kh(t) {
|
|
|
7584
7584
|
}
|
|
7585
7585
|
};
|
|
7586
7586
|
}
|
|
7587
|
-
function
|
|
7587
|
+
function Kh(t, e, i) {
|
|
7588
7588
|
let { scale: n = 1 } = e, { color: o = "#323232" } = e, { seconds: s = 10 } = e;
|
|
7589
7589
|
return t.$$set = (l) => {
|
|
7590
7590
|
"scale" in l && i(0, n = l.scale), "color" in l && i(1, o = l.color), "seconds" in l && i(2, s = l.seconds);
|
|
7591
7591
|
}, [n, o, s];
|
|
7592
7592
|
}
|
|
7593
|
-
class
|
|
7593
|
+
class Gh extends Te {
|
|
7594
7594
|
constructor(e) {
|
|
7595
|
-
super(), we(this, e,
|
|
7595
|
+
super(), we(this, e, Kh, Xh, ke, { scale: 0, color: 1, seconds: 2 });
|
|
7596
7596
|
}
|
|
7597
7597
|
get scale() {
|
|
7598
7598
|
return this.$$.ctx[0];
|
|
@@ -7613,7 +7613,7 @@ class Jh extends Te {
|
|
|
7613
7613
|
this.$$set({ seconds: e }), d();
|
|
7614
7614
|
}
|
|
7615
7615
|
}
|
|
7616
|
-
const qi = (t, e, i) => Ce(t, e, e === "style" ? Qh(i) : i),
|
|
7616
|
+
const qi = (t, e, i) => Ce(t, e, e === "style" ? Qh(i) : i), Jh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Qh = (t) => t.split(Jh).filter((e) => e).map((e) => e + " !important").join(";");
|
|
7617
7617
|
function $h(t) {
|
|
7618
7618
|
let e, i, n, o;
|
|
7619
7619
|
return {
|
|
@@ -7825,7 +7825,7 @@ function c2(t) {
|
|
|
7825
7825
|
}
|
|
7826
7826
|
function d2(t) {
|
|
7827
7827
|
let e, i;
|
|
7828
|
-
return e = new
|
|
7828
|
+
return e = new Gh({
|
|
7829
7829
|
props: {
|
|
7830
7830
|
seconds: (
|
|
7831
7831
|
/*forwardsSeconds*/
|
|
@@ -7931,7 +7931,7 @@ function f2(t, e, i) {
|
|
|
7931
7931
|
} } = e, f;
|
|
7932
7932
|
const A = () => {
|
|
7933
7933
|
let _, k, w;
|
|
7934
|
-
s ? (_ = "PressedNextSegment", k = "The next segment button was pressed.") : l ? (_ = "PressedSeekAhead", k = "The seek ahead button was pressed.", w = { seconds: o }) : a && (_ = "PressedNextTrack", k = "The next track button was pressed."), g(be(
|
|
7934
|
+
s ? (_ = "PressedNextSegment", k = "The next segment button was pressed.") : l ? (_ = "PressedSeekAhead", k = "The seek ahead button was pressed.", w = { seconds: o }) : a && (_ = "PressedNextTrack", k = "The next track button was pressed."), g(be(Xt({
|
|
7935
7935
|
type: _,
|
|
7936
7936
|
description: k,
|
|
7937
7937
|
initiatedBy: "user"
|
|
@@ -8132,7 +8132,7 @@ class w2 extends Te {
|
|
|
8132
8132
|
this.$$set({ color: e }), d();
|
|
8133
8133
|
}
|
|
8134
8134
|
}
|
|
8135
|
-
const ua = (t, e, i) => Yt(t, e, i, 1),
|
|
8135
|
+
const ua = (t, e, i) => Yt(t, e, i, 1), Xo = (t, e, i) => Ce(t, e, e === "style" ? P2(i) : i), T2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, P2 = (t) => t.split(T2).filter((e) => e).map((e) => e + " !important").join(";");
|
|
8136
8136
|
function C2(t) {
|
|
8137
8137
|
let e, i;
|
|
8138
8138
|
return e = new v2({
|
|
@@ -8222,9 +8222,9 @@ function V2(t) {
|
|
|
8222
8222
|
}
|
|
8223
8223
|
return i = c(t), n = u[i] = r[i](t), {
|
|
8224
8224
|
c() {
|
|
8225
|
-
e = y("button"), n.c(),
|
|
8225
|
+
e = y("button"), n.c(), Xo(e, "type", "button"), Xo(e, "class", o = "playlist-button " + /*playerStyle*/
|
|
8226
8226
|
t[1] + " svelte-xhif6r"), ua(e, "outline-offset", 5 * /*scale*/
|
|
8227
|
-
t[2] + "px"),
|
|
8227
|
+
t[2] + "px"), Xo(e, "aria-label", Pt("togglePlaylist"));
|
|
8228
8228
|
},
|
|
8229
8229
|
m(g, f) {
|
|
8230
8230
|
E(g, e, f), u[i].m(e, null), s = !0, l || (a = [
|
|
@@ -8243,7 +8243,7 @@ function V2(t) {
|
|
|
8243
8243
|
u[A] = null;
|
|
8244
8244
|
}), Ue(), n = u[i], n ? n.p(g, f) : (n = u[i] = r[i](g), n.c()), I(n, 1), n.m(e, null)), (!s || f & /*playerStyle*/
|
|
8245
8245
|
2 && o !== (o = "playlist-button " + /*playerStyle*/
|
|
8246
|
-
g[1] + " svelte-xhif6r")) &&
|
|
8246
|
+
g[1] + " svelte-xhif6r")) && Xo(e, "class", o), (!s || f & /*scale*/
|
|
8247
8247
|
4) && ua(e, "outline-offset", 5 * /*scale*/
|
|
8248
8248
|
g[2] + "px");
|
|
8249
8249
|
},
|
|
@@ -8537,7 +8537,7 @@ class R2 extends Te {
|
|
|
8537
8537
|
this.$$set({ color: e }), d();
|
|
8538
8538
|
}
|
|
8539
8539
|
}
|
|
8540
|
-
const
|
|
8540
|
+
const Ko = (t, e, i) => Yt(t, e, i, 1), Ks = (t, e, i) => Ce(t, e, e === "style" ? U2(i) : i), F2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, U2 = (t) => t.split(F2).filter((e) => e).map((e) => e + " !important").join(";");
|
|
8541
8541
|
function ga(t) {
|
|
8542
8542
|
let e, i, n, o, s;
|
|
8543
8543
|
return i = new R2({
|
|
@@ -8553,13 +8553,13 @@ function ga(t) {
|
|
|
8553
8553
|
}
|
|
8554
8554
|
}), {
|
|
8555
8555
|
c() {
|
|
8556
|
-
e = y("button"), fe(i.$$.fragment),
|
|
8557
|
-
t[0] + "px"),
|
|
8556
|
+
e = y("button"), fe(i.$$.fragment), Ks(e, "type", "button"), Ks(e, "class", "download-button svelte-1r5l0am"), Ko(e, "outline-offset", 4.8 * /*scale*/
|
|
8557
|
+
t[0] + "px"), Ko(
|
|
8558
8558
|
e,
|
|
8559
8559
|
"padding",
|
|
8560
8560
|
/*padding*/
|
|
8561
8561
|
t[2] + "px"
|
|
8562
|
-
),
|
|
8562
|
+
), Ks(e, "aria-label", Pt("downloadAudio"));
|
|
8563
8563
|
},
|
|
8564
8564
|
m(l, a) {
|
|
8565
8565
|
E(l, e, a), ce(i, e, null), n = !0, o || (s = [
|
|
@@ -8579,9 +8579,9 @@ function ga(t) {
|
|
|
8579
8579
|
l[0]), a & /*color*/
|
|
8580
8580
|
2 && (r.color = /*color*/
|
|
8581
8581
|
l[1]), i.$set(r), (!n || a & /*scale*/
|
|
8582
|
-
1) &&
|
|
8582
|
+
1) && Ko(e, "outline-offset", 4.8 * /*scale*/
|
|
8583
8583
|
l[0] + "px"), (!n || a & /*padding*/
|
|
8584
|
-
4) &&
|
|
8584
|
+
4) && Ko(
|
|
8585
8585
|
e,
|
|
8586
8586
|
"padding",
|
|
8587
8587
|
/*padding*/
|
|
@@ -8748,7 +8748,7 @@ class jr extends Te {
|
|
|
8748
8748
|
}
|
|
8749
8749
|
}
|
|
8750
8750
|
const Zi = (t, e, i) => Ce(t, e, e === "style" ? Z2(i) : i), Y2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Z2 = (t) => t.split(Y2).filter((e) => e).map((e) => e + " !important").join(";");
|
|
8751
|
-
function
|
|
8751
|
+
function X2(t) {
|
|
8752
8752
|
let e, i, n, o;
|
|
8753
8753
|
return {
|
|
8754
8754
|
c() {
|
|
@@ -8784,15 +8784,15 @@ function K2(t) {
|
|
|
8784
8784
|
}
|
|
8785
8785
|
};
|
|
8786
8786
|
}
|
|
8787
|
-
function
|
|
8787
|
+
function K2(t, e, i) {
|
|
8788
8788
|
let { scale: n = 1 } = e, { color: o = "#323232" } = e;
|
|
8789
8789
|
return t.$$set = (s) => {
|
|
8790
8790
|
"scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
|
|
8791
8791
|
}, [n, o];
|
|
8792
8792
|
}
|
|
8793
|
-
class
|
|
8793
|
+
class G2 extends Te {
|
|
8794
8794
|
constructor(e) {
|
|
8795
|
-
super(), we(this, e,
|
|
8795
|
+
super(), we(this, e, K2, X2, ke, { scale: 0, color: 1 });
|
|
8796
8796
|
}
|
|
8797
8797
|
get scale() {
|
|
8798
8798
|
return this.$$.ctx[0];
|
|
@@ -8807,10 +8807,10 @@ class J2 extends Te {
|
|
|
8807
8807
|
this.$$set({ color: e }), d();
|
|
8808
8808
|
}
|
|
8809
8809
|
}
|
|
8810
|
-
const fa = (t, e, i) => Yt(t, e, i, 1),
|
|
8810
|
+
const fa = (t, e, i) => Yt(t, e, i, 1), Gs = (t, e, i) => Ce(t, e, e === "style" ? Q2(i) : i), J2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Q2 = (t) => t.split(J2).filter((e) => e).map((e) => e + " !important").join(";");
|
|
8811
8811
|
function $2(t) {
|
|
8812
8812
|
let e, i, n, o, s;
|
|
8813
|
-
return i = new
|
|
8813
|
+
return i = new G2({
|
|
8814
8814
|
props: {
|
|
8815
8815
|
scale: (
|
|
8816
8816
|
/*scale*/
|
|
@@ -8823,8 +8823,8 @@ function $2(t) {
|
|
|
8823
8823
|
}
|
|
8824
8824
|
}), {
|
|
8825
8825
|
c() {
|
|
8826
|
-
e = y("button"), fe(i.$$.fragment),
|
|
8827
|
-
t[0] + "px"),
|
|
8826
|
+
e = y("button"), fe(i.$$.fragment), Gs(e, "type", "button"), Gs(e, "class", "maximize-button svelte-fk321i"), fa(e, "outline-offset", 6.4 * /*scale*/
|
|
8827
|
+
t[0] + "px"), Gs(e, "aria-label", Pt("maximizeVideo"));
|
|
8828
8828
|
},
|
|
8829
8829
|
m(l, a) {
|
|
8830
8830
|
E(l, e, a), ce(i, e, null), n = !0, o || (s = [
|
|
@@ -8895,35 +8895,35 @@ class t0 extends Te {
|
|
|
8895
8895
|
this.$$set({ onEvent: e }), d();
|
|
8896
8896
|
}
|
|
8897
8897
|
}
|
|
8898
|
-
const
|
|
8898
|
+
const Xi = (t, e, i) => Ce(t, e, e === "style" ? n0(i) : i), i0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, n0 = (t) => t.split(i0).filter((e) => e).map((e) => e + " !important").join(";");
|
|
8899
8899
|
function o0(t) {
|
|
8900
8900
|
let e, i, n, o;
|
|
8901
8901
|
return {
|
|
8902
8902
|
c() {
|
|
8903
|
-
e = Se("svg"), i = Se("path"),
|
|
8903
|
+
e = Se("svg"), i = Se("path"), Xi(
|
|
8904
8904
|
i,
|
|
8905
8905
|
"fill",
|
|
8906
8906
|
/*color*/
|
|
8907
8907
|
t[1]
|
|
8908
|
-
),
|
|
8909
|
-
t[0]),
|
|
8910
|
-
t[0]),
|
|
8908
|
+
), Xi(i, "d", "M1.66873 11.1188L0.881226 10.3313L5.21248 6.00001L0.881226 1.66876L1.66873 0.881256L5.99998 5.21251L10.3312 0.881256L11.1187 1.66876L6.78748 6.00001L11.1187 10.3313L10.3312 11.1188L5.99998 6.78751L1.66873 11.1188Z"), Xi(e, "width", n = 12 * /*scale*/
|
|
8909
|
+
t[0]), Xi(e, "height", o = 12 * /*scale*/
|
|
8910
|
+
t[0]), Xi(e, "viewBox", "0 0 12 12"), Xi(e, "fill", "none"), Xi(e, "xmlns", "http://www.w3.org/2000/svg");
|
|
8911
8911
|
},
|
|
8912
8912
|
m(s, l) {
|
|
8913
8913
|
E(s, e, l), m(e, i);
|
|
8914
8914
|
},
|
|
8915
8915
|
p(s, [l]) {
|
|
8916
8916
|
l & /*color*/
|
|
8917
|
-
2 &&
|
|
8917
|
+
2 && Xi(
|
|
8918
8918
|
i,
|
|
8919
8919
|
"fill",
|
|
8920
8920
|
/*color*/
|
|
8921
8921
|
s[1]
|
|
8922
8922
|
), l & /*scale*/
|
|
8923
8923
|
1 && n !== (n = 12 * /*scale*/
|
|
8924
|
-
s[0]) &&
|
|
8924
|
+
s[0]) && Xi(e, "width", n), l & /*scale*/
|
|
8925
8925
|
1 && o !== (o = 12 * /*scale*/
|
|
8926
|
-
s[0]) &&
|
|
8926
|
+
s[0]) && Xi(e, "height", o);
|
|
8927
8927
|
},
|
|
8928
8928
|
i: Q,
|
|
8929
8929
|
o: Q,
|
|
@@ -8955,7 +8955,7 @@ class l0 extends Te {
|
|
|
8955
8955
|
this.$$set({ color: e }), d();
|
|
8956
8956
|
}
|
|
8957
8957
|
}
|
|
8958
|
-
const
|
|
8958
|
+
const Go = (t, e, i) => Yt(t, e, i, 1), Js = (t, e, i) => Ce(t, e, e === "style" ? r0(i) : i), a0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, r0 = (t) => t.split(a0).filter((e) => e).map((e) => e + " !important").join(";");
|
|
8959
8959
|
function u0(t) {
|
|
8960
8960
|
let e, i, n, o, s;
|
|
8961
8961
|
return i = new l0({
|
|
@@ -8971,13 +8971,13 @@ function u0(t) {
|
|
|
8971
8971
|
}
|
|
8972
8972
|
}), {
|
|
8973
8973
|
c() {
|
|
8974
|
-
e = y("button"), fe(i.$$.fragment),
|
|
8974
|
+
e = y("button"), fe(i.$$.fragment), Js(e, "type", "button"), Js(e, "class", "close-widget-button svelte-1bnl89m"), Go(
|
|
8975
8975
|
e,
|
|
8976
8976
|
"margin",
|
|
8977
8977
|
/*margin*/
|
|
8978
8978
|
t[2]
|
|
8979
|
-
),
|
|
8980
|
-
t[0] + "px"),
|
|
8979
|
+
), Go(e, "outline-offset", 4.8 * /*scale*/
|
|
8980
|
+
t[0] + "px"), Js(e, "aria-label", Pt("closeWidget"));
|
|
8981
8981
|
},
|
|
8982
8982
|
m(l, a) {
|
|
8983
8983
|
E(l, e, a), ce(i, e, null), n = !0, o || (s = [
|
|
@@ -8997,13 +8997,13 @@ function u0(t) {
|
|
|
8997
8997
|
l[0]), a & /*color*/
|
|
8998
8998
|
2 && (r.color = /*color*/
|
|
8999
8999
|
l[1]), i.$set(r), (!n || a & /*margin*/
|
|
9000
|
-
4) &&
|
|
9000
|
+
4) && Go(
|
|
9001
9001
|
e,
|
|
9002
9002
|
"margin",
|
|
9003
9003
|
/*margin*/
|
|
9004
9004
|
l[2]
|
|
9005
9005
|
), (!n || a & /*scale*/
|
|
9006
|
-
1) &&
|
|
9006
|
+
1) && Go(e, "outline-offset", 4.8 * /*scale*/
|
|
9007
9007
|
l[0] + "px");
|
|
9008
9008
|
},
|
|
9009
9009
|
i(l) {
|
|
@@ -9706,7 +9706,7 @@ class D0 extends Te {
|
|
|
9706
9706
|
this.$$set({ color2: e }), d();
|
|
9707
9707
|
}
|
|
9708
9708
|
}
|
|
9709
|
-
const ha = (t, e, i) => Yt(t, e, i, 1),
|
|
9709
|
+
const ha = (t, e, i) => Yt(t, e, i, 1), Jo = (t, e, i) => Ce(t, e, e === "style" ? R0(i) : i), N0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, R0 = (t) => t.split(N0).filter((e) => e).map((e) => e + " !important").join(";");
|
|
9710
9710
|
function F0(t) {
|
|
9711
9711
|
let e, i, n, o, s;
|
|
9712
9712
|
return i = new D0({ props: { scale: (
|
|
@@ -9714,8 +9714,8 @@ function F0(t) {
|
|
|
9714
9714
|
t[0]
|
|
9715
9715
|
) } }), {
|
|
9716
9716
|
c() {
|
|
9717
|
-
e = y("a"), fe(i.$$.fragment),
|
|
9718
|
-
t[0] + "px"),
|
|
9717
|
+
e = y("a"), fe(i.$$.fragment), Jo(e, "class", "beyondwords svelte-vl0esb"), Jo(e, "href", "https://beyondwords.io/"), Jo(e, "target", "_blank"), ha(e, "outline-offset", 6.4 * /*scale*/
|
|
9718
|
+
t[0] + "px"), Jo(e, "aria-label", Pt("visitBeyondWords")), ne(
|
|
9719
9719
|
e,
|
|
9720
9720
|
"visible",
|
|
9721
9721
|
/*visible*/
|
|
@@ -9869,7 +9869,7 @@ function Z0(t, e, i) {
|
|
|
9869
9869
|
"href" in r && i(0, n = r.href), "scale" in r && i(1, o = r.scale), "color" in r && i(2, s = r.color), "onEvent" in r && i(4, l = r.onEvent);
|
|
9870
9870
|
}, [n, o, s, a, l];
|
|
9871
9871
|
}
|
|
9872
|
-
class
|
|
9872
|
+
class X0 extends Te {
|
|
9873
9873
|
constructor(e) {
|
|
9874
9874
|
super(), we(this, e, Z0, Y0, ke, { href: 0, scale: 1, color: 2, onEvent: 4 });
|
|
9875
9875
|
}
|
|
@@ -9898,8 +9898,8 @@ class K0 extends Te {
|
|
|
9898
9898
|
this.$$set({ onEvent: e }), d();
|
|
9899
9899
|
}
|
|
9900
9900
|
}
|
|
9901
|
-
const Oi = (t, e, i) => Yt(t, e, i, 1), yi = (t, e, i) => Ce(t, e, e === "style" ?
|
|
9902
|
-
function
|
|
9901
|
+
const Oi = (t, e, i) => Yt(t, e, i, 1), yi = (t, e, i) => Ce(t, e, e === "style" ? G0(i) : i), K0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, G0 = (t) => t.split(K0).filter((e) => e).map((e) => e + " !important").join(";");
|
|
9902
|
+
function J0(t) {
|
|
9903
9903
|
let e, i;
|
|
9904
9904
|
return {
|
|
9905
9905
|
c() {
|
|
@@ -10051,7 +10051,7 @@ function $0(t) {
|
|
|
10051
10051
|
function i(s, l) {
|
|
10052
10052
|
return (
|
|
10053
10053
|
/*href*/
|
|
10054
|
-
s[1] ? Q0 :
|
|
10054
|
+
s[1] ? Q0 : J0
|
|
10055
10055
|
);
|
|
10056
10056
|
}
|
|
10057
10057
|
let n = i(t), o = n(t);
|
|
@@ -10432,7 +10432,7 @@ function g_(t) {
|
|
|
10432
10432
|
let e, i, n, o, s, l, a;
|
|
10433
10433
|
return {
|
|
10434
10434
|
c() {
|
|
10435
|
-
e = y("div"), i = y("div"), n =
|
|
10435
|
+
e = y("div"), i = y("div"), n = G(), o = y("div"), Ai(i, "class", "background svelte-1ubgowb"), Rn(
|
|
10436
10436
|
i,
|
|
10437
10437
|
"background",
|
|
10438
10438
|
/*color*/
|
|
@@ -10492,7 +10492,7 @@ function g_(t) {
|
|
|
10492
10492
|
t[12]
|
|
10493
10493
|
),
|
|
10494
10494
|
Z(e, "keydown", function() {
|
|
10495
|
-
|
|
10495
|
+
Jn(gs(
|
|
10496
10496
|
/*onEvent*/
|
|
10497
10497
|
t[5],
|
|
10498
10498
|
"Bar",
|
|
@@ -10612,24 +10612,24 @@ function f_(t, e, i) {
|
|
|
10612
10612
|
})));
|
|
10613
10613
|
}, S = (N) => {
|
|
10614
10614
|
var te, re;
|
|
10615
|
-
const
|
|
10615
|
+
const J = N.clientX || ((re = (te = N.touches) == null ? void 0 : te[0]) == null ? void 0 : re.clientX) || 0, { x: oe, width: le } = A.getBoundingClientRect(), $ = (J - oe) / le;
|
|
10616
10616
|
return Math.max(0, Math.min(1, $));
|
|
10617
10617
|
}, P = (N) => {
|
|
10618
|
-
const
|
|
10619
|
-
if (
|
|
10618
|
+
const J = Math.floor(N);
|
|
10619
|
+
if (J === 0)
|
|
10620
10620
|
return Pt("secondsPlural").replace("{n}", 0);
|
|
10621
|
-
const oe = Math.floor(
|
|
10622
|
-
return [
|
|
10623
|
-
},
|
|
10621
|
+
const oe = Math.floor(J / 60), le = J % 60;
|
|
10622
|
+
return [X(oe, "minutes"), X(le, "seconds")].filter(($) => $).join(" ");
|
|
10623
|
+
}, X = (N, J) => {
|
|
10624
10624
|
if (N === 0)
|
|
10625
10625
|
return;
|
|
10626
|
-
const oe = N === 1 ? `${
|
|
10626
|
+
const oe = N === 1 ? `${J}Singular` : `${J}Plural`;
|
|
10627
10627
|
return Pt(oe).replace("{n}", N);
|
|
10628
10628
|
};
|
|
10629
10629
|
Bo(() => {
|
|
10630
|
-
const N = addEventListener("mouseup", D),
|
|
10630
|
+
const N = addEventListener("mouseup", D), J = addEventListener("mousemove", z), oe = addEventListener("touchend", D), le = addEventListener("touchmove", z);
|
|
10631
10631
|
return () => {
|
|
10632
|
-
removeEventListener("mouseup", N), removeEventListener("mousemove",
|
|
10632
|
+
removeEventListener("mouseup", N), removeEventListener("mousemove", J), removeEventListener("touchend", oe), removeEventListener("touchmove", le);
|
|
10633
10633
|
};
|
|
10634
10634
|
});
|
|
10635
10635
|
function Y(N) {
|
|
@@ -10781,7 +10781,7 @@ function y_(t) {
|
|
|
10781
10781
|
);
|
|
10782
10782
|
return {
|
|
10783
10783
|
c() {
|
|
10784
|
-
e = y("div"), i = Se("svg"), n = Se("circle"), s =
|
|
10784
|
+
e = y("div"), i = Se("svg"), n = Se("circle"), s = G(), c && c.c(), Lt(n, "cx", "50%"), Lt(n, "cy", "50%"), Lt(
|
|
10785
10785
|
n,
|
|
10786
10786
|
"r",
|
|
10787
10787
|
/*radius*/
|
|
@@ -10827,7 +10827,7 @@ function y_(t) {
|
|
|
10827
10827
|
},
|
|
10828
10828
|
m(g, f) {
|
|
10829
10829
|
E(g, e, f), m(e, i), m(i, n), m(e, s), c && c.m(e, null), l = !0, a || (r = Z(e, "keydown", function() {
|
|
10830
|
-
|
|
10830
|
+
Jn(gs(
|
|
10831
10831
|
/*onEvent*/
|
|
10832
10832
|
t[3],
|
|
10833
10833
|
"Circle"
|
|
@@ -11677,49 +11677,49 @@ class Z_ extends Te {
|
|
|
11677
11677
|
this.$$set({ color: e }), d();
|
|
11678
11678
|
}
|
|
11679
11679
|
}
|
|
11680
|
-
const
|
|
11681
|
-
function
|
|
11680
|
+
const Jt = (t, e, i) => Ce(t, e, e === "style" ? K_(i) : i), X_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, K_ = (t) => t.split(X_).filter((e) => e).map((e) => e + " !important").join(";");
|
|
11681
|
+
function G_(t) {
|
|
11682
11682
|
let e, i, n, o, s, l;
|
|
11683
11683
|
return {
|
|
11684
11684
|
c() {
|
|
11685
|
-
e = Se("svg"), i = Se("rect"), n = Se("path"),
|
|
11685
|
+
e = Se("svg"), i = Se("rect"), n = Se("path"), Jt(
|
|
11686
11686
|
i,
|
|
11687
11687
|
"fill",
|
|
11688
11688
|
/*fill*/
|
|
11689
11689
|
t[3]
|
|
11690
|
-
),
|
|
11690
|
+
), Jt(i, "width", "100%"), Jt(i, "height", "100%"), Jt(
|
|
11691
11691
|
n,
|
|
11692
11692
|
"fill",
|
|
11693
11693
|
/*color*/
|
|
11694
11694
|
t[2]
|
|
11695
|
-
),
|
|
11696
|
-
t[1] + ")"),
|
|
11697
|
-
t[0]),
|
|
11698
|
-
t[0]),
|
|
11695
|
+
), Jt(n, "transform", o = "scale(" + /*zoom*/
|
|
11696
|
+
t[1] + ")"), Jt(n, "transform-origin", "50% 50%"), Jt(n, "d", "M0 6.99996V11C0 11.55 0.45 12 1 12H4L7.29 15.29C7.92 15.92 9 15.47 9 14.58V3.40996C9 2.51996 7.92 2.06996 7.29 2.69996L4 5.99996H1C0.45 5.99996 0 6.44996 0 6.99996ZM13.5 8.99996C13.5 7.22996 12.48 5.70996 11 4.96996V13.02C12.48 12.29 13.5 10.77 13.5 8.99996ZM11 1.44996V1.64996C11 2.02996 11.25 2.35996 11.6 2.49996C14.18 3.52996 16 6.05996 16 8.99996C16 11.94 14.18 14.47 11.6 15.5C11.24 15.64 11 15.97 11 16.35V16.55C11 17.18 11.63 17.62 12.21 17.4C15.6 16.11 18 12.84 18 8.99996C18 5.15996 15.6 1.88996 12.21 0.599963C11.63 0.369963 11 0.819963 11 1.44996V1.44996Z"), Jt(e, "width", s = 18 * /*scale*/
|
|
11697
|
+
t[0]), Jt(e, "height", l = 18 * /*scale*/
|
|
11698
|
+
t[0]), Jt(e, "viewBox", "0 0 18 18"), Jt(e, "fill", "none"), Jt(e, "xmlns", "http://www.w3.org/2000/svg");
|
|
11699
11699
|
},
|
|
11700
11700
|
m(a, r) {
|
|
11701
11701
|
E(a, e, r), m(e, i), m(e, n);
|
|
11702
11702
|
},
|
|
11703
11703
|
p(a, [r]) {
|
|
11704
11704
|
r & /*fill*/
|
|
11705
|
-
8 &&
|
|
11705
|
+
8 && Jt(
|
|
11706
11706
|
i,
|
|
11707
11707
|
"fill",
|
|
11708
11708
|
/*fill*/
|
|
11709
11709
|
a[3]
|
|
11710
11710
|
), r & /*color*/
|
|
11711
|
-
4 &&
|
|
11711
|
+
4 && Jt(
|
|
11712
11712
|
n,
|
|
11713
11713
|
"fill",
|
|
11714
11714
|
/*color*/
|
|
11715
11715
|
a[2]
|
|
11716
11716
|
), r & /*zoom*/
|
|
11717
11717
|
2 && o !== (o = "scale(" + /*zoom*/
|
|
11718
|
-
a[1] + ")") &&
|
|
11718
|
+
a[1] + ")") && Jt(n, "transform", o), r & /*scale*/
|
|
11719
11719
|
1 && s !== (s = 18 * /*scale*/
|
|
11720
|
-
a[0]) &&
|
|
11720
|
+
a[0]) && Jt(e, "width", s), r & /*scale*/
|
|
11721
11721
|
1 && l !== (l = 18 * /*scale*/
|
|
11722
|
-
a[0]) &&
|
|
11722
|
+
a[0]) && Jt(e, "height", l);
|
|
11723
11723
|
},
|
|
11724
11724
|
i: Q,
|
|
11725
11725
|
o: Q,
|
|
@@ -11728,7 +11728,7 @@ function J_(t) {
|
|
|
11728
11728
|
}
|
|
11729
11729
|
};
|
|
11730
11730
|
}
|
|
11731
|
-
function
|
|
11731
|
+
function J_(t, e, i) {
|
|
11732
11732
|
let { scale: n = 1 } = e, { zoom: o = 1 } = e, { color: s = "#323232" } = e, { fill: l = "transparent" } = e;
|
|
11733
11733
|
return t.$$set = (a) => {
|
|
11734
11734
|
"scale" in a && i(0, n = a.scale), "zoom" in a && i(1, o = a.zoom), "color" in a && i(2, s = a.color), "fill" in a && i(3, l = a.fill);
|
|
@@ -11736,7 +11736,7 @@ function X_(t, e, i) {
|
|
|
11736
11736
|
}
|
|
11737
11737
|
class Ur extends Te {
|
|
11738
11738
|
constructor(e) {
|
|
11739
|
-
super(), we(this, e,
|
|
11739
|
+
super(), we(this, e, J_, G_, ke, { scale: 0, zoom: 1, color: 2, fill: 3 });
|
|
11740
11740
|
}
|
|
11741
11741
|
get scale() {
|
|
11742
11742
|
return this.$$.ctx[0];
|
|
@@ -11898,7 +11898,7 @@ function Aa(t) {
|
|
|
11898
11898
|
function P(Y) {
|
|
11899
11899
|
t[18](Y);
|
|
11900
11900
|
}
|
|
11901
|
-
let
|
|
11901
|
+
let X = {
|
|
11902
11902
|
onEvent: (
|
|
11903
11903
|
/*onEvent*/
|
|
11904
11904
|
t[8]
|
|
@@ -11930,10 +11930,10 @@ function Aa(t) {
|
|
|
11930
11930
|
};
|
|
11931
11931
|
return (
|
|
11932
11932
|
/*downloadIsVisible*/
|
|
11933
|
-
t[9] !== void 0 && (
|
|
11934
|
-
t[9]), _ = new jr({ props:
|
|
11933
|
+
t[9] !== void 0 && (X.isVisible = /*downloadIsVisible*/
|
|
11934
|
+
t[9]), _ = new jr({ props: X }), se.push(() => ve(_, "isVisible", P)), {
|
|
11935
11935
|
c() {
|
|
11936
|
-
e = y("div"), i = y("button"), o.c(), s =
|
|
11936
|
+
e = y("div"), i = y("button"), o.c(), s = G(), l = y("span"), fe(a.$$.fragment), r = G(), u = y("span"), fe(c.$$.fragment), f = G(), A = y("span"), fe(_.$$.fragment), w = G(), vi(l, "class", "title svelte-1hl1xir"), ne(
|
|
11937
11937
|
l,
|
|
11938
11938
|
"download-is-visible",
|
|
11939
11939
|
/*downloadIsVisible*/
|
|
@@ -11975,9 +11975,9 @@ function Aa(t) {
|
|
|
11975
11975
|
},
|
|
11976
11976
|
p(Y, N) {
|
|
11977
11977
|
t = Y;
|
|
11978
|
-
let
|
|
11979
|
-
n = S(t), n ===
|
|
11980
|
-
D[
|
|
11978
|
+
let J = n;
|
|
11979
|
+
n = S(t), n === J ? D[n].p(t, N) : (Fe(), L(D[J], 1, 1, () => {
|
|
11980
|
+
D[J] = null;
|
|
11981
11981
|
}), Ue(), o = D[n], o ? o.p(t, N) : (o = D[n] = z[n](t), o.c()), I(o, 1), o.m(i, s));
|
|
11982
11982
|
const oe = {};
|
|
11983
11983
|
N & /*content*/
|
|
@@ -12182,8 +12182,8 @@ function nA(t, e, i) {
|
|
|
12182
12182
|
P && P.focus();
|
|
12183
12183
|
}
|
|
12184
12184
|
}, z = (S) => {
|
|
12185
|
-
const P = S.target.parentNode,
|
|
12186
|
-
P.scrollTop =
|
|
12185
|
+
const P = S.target.parentNode, X = Math.round(P.scrollTop / 10) * 10;
|
|
12186
|
+
P.scrollTop = X;
|
|
12187
12187
|
};
|
|
12188
12188
|
function D(S) {
|
|
12189
12189
|
T = S, i(9, T);
|
|
@@ -12326,7 +12326,7 @@ function aA(t) {
|
|
|
12326
12326
|
t[2]
|
|
12327
12327
|
),
|
|
12328
12328
|
Z(e, "mousemove", function() {
|
|
12329
|
-
|
|
12329
|
+
Jn(
|
|
12330
12330
|
/*idleDelay*/
|
|
12331
12331
|
t[0] !== 1 / 0 && /*onMove*/
|
|
12332
12332
|
t[3]
|
|
@@ -12607,7 +12607,7 @@ function pa(t) {
|
|
|
12607
12607
|
) }
|
|
12608
12608
|
}), {
|
|
12609
12609
|
c() {
|
|
12610
|
-
fe(e.$$.fragment), i =
|
|
12610
|
+
fe(e.$$.fragment), i = G(), n = y("span"), s = ie(o), pn(
|
|
12611
12611
|
n,
|
|
12612
12612
|
"color",
|
|
12613
12613
|
/*activeTextColor*/
|
|
@@ -12748,7 +12748,7 @@ function wa(t) {
|
|
|
12748
12748
|
}
|
|
12749
12749
|
}), {
|
|
12750
12750
|
c() {
|
|
12751
|
-
e = y("div"), fe(i.$$.fragment), n =
|
|
12751
|
+
e = y("div"), fe(i.$$.fragment), n = G(), fe(o.$$.fragment), Mi(e, "class", "summary svelte-k6qh1c");
|
|
12752
12752
|
},
|
|
12753
12753
|
m(l, a) {
|
|
12754
12754
|
E(l, e, a), ce(i, e, null), m(e, n), ce(o, e, null), s = !0;
|
|
@@ -13053,7 +13053,7 @@ function Pa(t) {
|
|
|
13053
13053
|
}
|
|
13054
13054
|
}), {
|
|
13055
13055
|
c() {
|
|
13056
|
-
fe(e.$$.fragment), i =
|
|
13056
|
+
fe(e.$$.fragment), i = G(), fe(n.$$.fragment), o = G(), fe(s.$$.fragment);
|
|
13057
13057
|
},
|
|
13058
13058
|
m(a, r) {
|
|
13059
13059
|
ce(e, a, r), E(a, i, r), ce(n, a, r), E(a, o, r), ce(s, a, r), l = !0;
|
|
@@ -13284,7 +13284,7 @@ function Va(t) {
|
|
|
13284
13284
|
}
|
|
13285
13285
|
}), {
|
|
13286
13286
|
c() {
|
|
13287
|
-
fe(e.$$.fragment), i =
|
|
13287
|
+
fe(e.$$.fragment), i = G(), fe(n.$$.fragment);
|
|
13288
13288
|
},
|
|
13289
13289
|
m(s, l) {
|
|
13290
13290
|
ce(e, s, l), E(s, i, l), ce(n, s, l), o = !0;
|
|
@@ -13557,7 +13557,7 @@ function TA(t) {
|
|
|
13557
13557
|
}
|
|
13558
13558
|
function PA(t) {
|
|
13559
13559
|
let e, i;
|
|
13560
|
-
return e = new
|
|
13560
|
+
return e = new X0({
|
|
13561
13561
|
props: {
|
|
13562
13562
|
onEvent: (
|
|
13563
13563
|
/*onEvent*/
|
|
@@ -13729,7 +13729,7 @@ function CA(t) {
|
|
|
13729
13729
|
);
|
|
13730
13730
|
return {
|
|
13731
13731
|
c() {
|
|
13732
|
-
i && i.c(), n =
|
|
13732
|
+
i && i.c(), n = G(), g && g.c(), s = G(), f && f.c(), l = Ei();
|
|
13733
13733
|
},
|
|
13734
13734
|
m(A, _) {
|
|
13735
13735
|
~e && u[e].m(A, _), E(A, n, _), g && g.m(A, _), E(A, s, _), f && f.m(A, _), E(A, l, _), a = !0;
|
|
@@ -13933,7 +13933,7 @@ function BA(t) {
|
|
|
13933
13933
|
t[22] && /*videoPosterImage*/
|
|
13934
13934
|
(t[18] || !/*videoIsBehind*/
|
|
13935
13935
|
t[19]) && ka(t)
|
|
13936
|
-
),
|
|
13936
|
+
), X = (
|
|
13937
13937
|
/*largeImage*/
|
|
13938
13938
|
t[49] && /*isLarge*/
|
|
13939
13939
|
(t[64] || /*isScreen*/
|
|
@@ -13946,7 +13946,7 @@ function BA(t) {
|
|
|
13946
13946
|
function N(b) {
|
|
13947
13947
|
t[88](b);
|
|
13948
13948
|
}
|
|
13949
|
-
function
|
|
13949
|
+
function J(b) {
|
|
13950
13950
|
t[89](b);
|
|
13951
13951
|
}
|
|
13952
13952
|
function oe(b) {
|
|
@@ -13968,7 +13968,7 @@ function BA(t) {
|
|
|
13968
13968
|
t[1] !== void 0 && (le.relativeY = /*relativeY*/
|
|
13969
13969
|
t[1]), /*absoluteY*/
|
|
13970
13970
|
t[2] !== void 0 && (le.absoluteY = /*absoluteY*/
|
|
13971
|
-
t[2]), l = new hA({ props: le }), se.push(() => ve(l, "isVisible", N)), se.push(() => ve(l, "relativeY",
|
|
13971
|
+
t[2]), l = new hA({ props: le }), se.push(() => ve(l, "isVisible", N)), se.push(() => ve(l, "relativeY", J)), se.push(() => ve(l, "absoluteY", oe));
|
|
13972
13972
|
let $ = (
|
|
13973
13973
|
/*isStandard*/
|
|
13974
13974
|
((t[29] || /*isVideo*/
|
|
@@ -14061,13 +14061,13 @@ function BA(t) {
|
|
|
14061
14061
|
);
|
|
14062
14062
|
return {
|
|
14063
14063
|
c() {
|
|
14064
|
-
P && P.c(), e =
|
|
14064
|
+
P && P.c(), e = G(), i = y("div"), X && X.c(), n = G(), Y && Y.c(), o = G(), s = y("div"), fe(l.$$.fragment), c = G(), $ && $.c(), g = G(), te && te.c(), f = G(), re && re.c(), A = G(), fe(_.$$.fragment), k = G(), _e && _e.c(), w = G(), ue && ue.c(), T = G(), Ae && Ae.c(), v = G(), ae && ae.c(), Mi(s, "class", "controls svelte-k6qh1c"), Mi(i, "class", "main svelte-k6qh1c"), Mi(i, "role", "none"), Mi(i, "style", p = /*isVideo*/
|
|
14065
14065
|
t[22] ? "" : `background: ${/*activeBgColor*/
|
|
14066
14066
|
t[60]}`), ne(i, "no-image", !/*largeImage*/
|
|
14067
14067
|
t[49]);
|
|
14068
14068
|
},
|
|
14069
14069
|
m(b, C) {
|
|
14070
|
-
P && P.m(b, C), E(b, e, C), E(b, i, C),
|
|
14070
|
+
P && P.m(b, C), E(b, e, C), E(b, i, C), X && X.m(i, null), m(i, n), Y && Y.m(i, null), m(i, o), m(i, s), ce(l, s, null), m(s, c), $ && $.m(s, null), m(s, g), te && te.m(s, null), m(s, f), re && re.m(s, null), m(s, A), ce(_, s, null), m(s, k), _e && _e.m(s, null), m(s, w), ue && ue.m(s, null), m(s, T), Ae && Ae.m(s, null), m(i, v), ae && ae.m(i, null), z = !0, D || (S = [
|
|
14071
14071
|
Z(
|
|
14072
14072
|
i,
|
|
14073
14073
|
"mousedown",
|
|
@@ -14087,11 +14087,11 @@ function BA(t) {
|
|
|
14087
14087
|
}), Ue()), /*largeImage*/
|
|
14088
14088
|
b[49] && /*isLarge*/
|
|
14089
14089
|
(b[64] || /*isScreen*/
|
|
14090
|
-
b[27]) ?
|
|
14090
|
+
b[27]) ? X ? (X.p(b, C), C[0] & /*isScreen*/
|
|
14091
14091
|
134217728 | C[1] & /*largeImage*/
|
|
14092
14092
|
262144 | C[2] & /*isLarge*/
|
|
14093
|
-
4 && I(
|
|
14094
|
-
|
|
14093
|
+
4 && I(X, 1)) : (X = Sa(b), X.c(), I(X, 1), X.m(i, n)) : X && (Fe(), L(X, 1, 1, () => {
|
|
14094
|
+
X = null;
|
|
14095
14095
|
}), Ue()), /*isLarge*/
|
|
14096
14096
|
b[64] || /*isScreen*/
|
|
14097
14097
|
b[27] ? Y ? (Y.p(b, C), C[0] & /*isScreen*/
|
|
@@ -14201,13 +14201,13 @@ function BA(t) {
|
|
|
14201
14201
|
b[49]);
|
|
14202
14202
|
},
|
|
14203
14203
|
i(b) {
|
|
14204
|
-
z || (I(P), I(
|
|
14204
|
+
z || (I(P), I(X), I(Y), I(l.$$.fragment, b), I($), I(te), I(re), I(_.$$.fragment, b), I(_e), I(ue), I(Ae), I(ae), z = !0);
|
|
14205
14205
|
},
|
|
14206
14206
|
o(b) {
|
|
14207
|
-
L(P), L(
|
|
14207
|
+
L(P), L(X), L(Y), L(l.$$.fragment, b), L($), L(te), L(re), L(_.$$.fragment, b), L(_e), L(ue), L(Ae), L(ae), z = !1;
|
|
14208
14208
|
},
|
|
14209
14209
|
d(b) {
|
|
14210
|
-
b && (M(e), M(i)), P && P.d(b),
|
|
14210
|
+
b && (M(e), M(i)), P && P.d(b), X && X.d(), Y && Y.d(), de(l), $ && $.d(), te && te.d(), re && re.d(), de(_), _e && _e.d(), ue && ue.d(), Ae && Ae.d(), ae && ae.d(), D = !1, mt(S);
|
|
14211
14211
|
}
|
|
14212
14212
|
};
|
|
14213
14213
|
}
|
|
@@ -14327,7 +14327,7 @@ function WA(t) {
|
|
|
14327
14327
|
);
|
|
14328
14328
|
return {
|
|
14329
14329
|
c() {
|
|
14330
|
-
e = y("div"), fe(i.$$.fragment), o =
|
|
14330
|
+
e = y("div"), fe(i.$$.fragment), o = G(), f && f.c(), Mi(e, "class", s = Dl(
|
|
14331
14331
|
/*classes*/
|
|
14332
14332
|
t[41]
|
|
14333
14333
|
) + " svelte-k6qh1c"), pn(
|
|
@@ -14478,10 +14478,10 @@ function WA(t) {
|
|
|
14478
14478
|
};
|
|
14479
14479
|
}
|
|
14480
14480
|
function OA(t, e, i) {
|
|
14481
|
-
let n, o, s, l, a, r, u, c, g, f, A, _, k, w, T, v, p, z, D, S, P,
|
|
14481
|
+
let n, o, s, l, a, r, u, c, g, f, A, _, k, w, T, v, p, z, D, S, P, X, Y, N, J, oe, le, $, te, re, _e, ue, Ae, ae, b, C, F, x, Ve, Le, Ke, j, me, Ee, Ne, Xe;
|
|
14482
14482
|
import("./././././././././style.js");
|
|
14483
|
-
let { playerStyle: Me = "standard" } = e, { callToAction: Qe = void 0 } = e, { skipButtonStyle: pe = "auto" } = e, { playlistStyle: Ye = "auto-5-4" } = e, { playlistToggle: Pe = "auto" } = e, { downloadFormats: jt = [] } = e, { playerTitle: Oe = void 0 } = e, { fixedPosition: je = void 0 } = e, { fixedWidth: ze = "auto" } = e, { fixedMargin: at = "0" } = e, { content: xt = [] } = e, { contentIndex: Re = 0 } = e, { duration: ht = 0 } = e, { currentTime: He = 0 } = e, { playbackState: et = "stopped" } = e, { playbackRate: tt = 1 } = e, { playbackRates: gt = [] } = e, { activeAdvert: Ie = void 0 } = e, { persistentAdvert: _t = void 0 } = e, { companionAdvert:
|
|
14484
|
-
} } = e, { videoPosterImage: ot = "" } = e, { videoIsBehind: Bt = !1 } = e, { isFullScreen: st = !1 } = e, { isVisible: kt = void 0 } = e, { relativeY: qe = void 0 } = e, { absoluteY: yt = void 0 } = e,
|
|
14483
|
+
let { playerStyle: Me = "standard" } = e, { callToAction: Qe = void 0 } = e, { skipButtonStyle: pe = "auto" } = e, { playlistStyle: Ye = "auto-5-4" } = e, { playlistToggle: Pe = "auto" } = e, { downloadFormats: jt = [] } = e, { playerTitle: Oe = void 0 } = e, { fixedPosition: je = void 0 } = e, { fixedWidth: ze = "auto" } = e, { fixedMargin: at = "0" } = e, { content: xt = [] } = e, { contentIndex: Re = 0 } = e, { duration: ht = 0 } = e, { currentTime: He = 0 } = e, { playbackState: et = "stopped" } = e, { playbackRate: tt = 1 } = e, { playbackRates: gt = [] } = e, { activeAdvert: Ie = void 0 } = e, { persistentAdvert: _t = void 0 } = e, { companionAdvert: Ge = void 0 } = e, { textColor: Ct = "#111" } = e, { backgroundColor: it = "#f5f5f5" } = e, { iconColor: $e = "black" } = e, { videoTextColor: rt = "white" } = e, { videoBackgroundColor: ut = "black" } = e, { videoIconColor: It = "white" } = e, { logoIconEnabled: At = !0 } = e, { logoImagePosition: St = void 0 } = e, { maxImageSize: Vt = 0 } = e, { onEvent: nt = () => {
|
|
14484
|
+
} } = e, { videoPosterImage: ot = "" } = e, { videoIsBehind: Bt = !1 } = e, { isFullScreen: st = !1 } = e, { isVisible: kt = void 0 } = e, { relativeY: qe = void 0 } = e, { absoluteY: yt = void 0 } = e, Je, vt, lt, Ze;
|
|
14485
14485
|
const ft = () => {
|
|
14486
14486
|
Ze && clearTimeout(Ze), i(40, Ze = setTimeout(() => i(40, Ze = null), 500));
|
|
14487
14487
|
}, Mt = (B) => {
|
|
@@ -14495,7 +14495,7 @@ function OA(t, e, i) {
|
|
|
14495
14495
|
const B = new eh(([ti]) => {
|
|
14496
14496
|
i(20, vt = ti.contentRect.width);
|
|
14497
14497
|
});
|
|
14498
|
-
return B.observe(
|
|
14498
|
+
return B.observe(Je), () => B.unobserve(Je);
|
|
14499
14499
|
});
|
|
14500
14500
|
function H(B) {
|
|
14501
14501
|
kt = B, i(0, kt);
|
|
@@ -14511,11 +14511,11 @@ function OA(t, e, i) {
|
|
|
14511
14511
|
}
|
|
14512
14512
|
function W(B) {
|
|
14513
14513
|
se[B ? "unshift" : "push"](() => {
|
|
14514
|
-
|
|
14514
|
+
Je = B, i(39, Je);
|
|
14515
14515
|
});
|
|
14516
14516
|
}
|
|
14517
14517
|
return t.$$set = (B) => {
|
|
14518
|
-
"playerStyle" in B && i(3, Me = B.playerStyle), "callToAction" in B && i(4, Qe = B.callToAction), "skipButtonStyle" in B && i(67, pe = B.skipButtonStyle), "playlistStyle" in B && i(5, Ye = B.playlistStyle), "playlistToggle" in B && i(68, Pe = B.playlistToggle), "downloadFormats" in B && i(6, jt = B.downloadFormats), "playerTitle" in B && i(7, Oe = B.playerTitle), "fixedPosition" in B && i(8, je = B.fixedPosition), "fixedWidth" in B && i(69, ze = B.fixedWidth), "fixedMargin" in B && i(9, at = B.fixedMargin), "content" in B && i(10, xt = B.content), "contentIndex" in B && i(11, Re = B.contentIndex), "duration" in B && i(12, ht = B.duration), "currentTime" in B && i(13, He = B.currentTime), "playbackState" in B && i(70, et = B.playbackState), "playbackRate" in B && i(14, tt = B.playbackRate), "playbackRates" in B && i(15, gt = B.playbackRates), "activeAdvert" in B && i(71, Ie = B.activeAdvert), "persistentAdvert" in B && i(72, _t = B.persistentAdvert), "companionAdvert" in B && i(73,
|
|
14518
|
+
"playerStyle" in B && i(3, Me = B.playerStyle), "callToAction" in B && i(4, Qe = B.callToAction), "skipButtonStyle" in B && i(67, pe = B.skipButtonStyle), "playlistStyle" in B && i(5, Ye = B.playlistStyle), "playlistToggle" in B && i(68, Pe = B.playlistToggle), "downloadFormats" in B && i(6, jt = B.downloadFormats), "playerTitle" in B && i(7, Oe = B.playerTitle), "fixedPosition" in B && i(8, je = B.fixedPosition), "fixedWidth" in B && i(69, ze = B.fixedWidth), "fixedMargin" in B && i(9, at = B.fixedMargin), "content" in B && i(10, xt = B.content), "contentIndex" in B && i(11, Re = B.contentIndex), "duration" in B && i(12, ht = B.duration), "currentTime" in B && i(13, He = B.currentTime), "playbackState" in B && i(70, et = B.playbackState), "playbackRate" in B && i(14, tt = B.playbackRate), "playbackRates" in B && i(15, gt = B.playbackRates), "activeAdvert" in B && i(71, Ie = B.activeAdvert), "persistentAdvert" in B && i(72, _t = B.persistentAdvert), "companionAdvert" in B && i(73, Ge = B.companionAdvert), "textColor" in B && i(74, Ct = B.textColor), "backgroundColor" in B && i(75, it = B.backgroundColor), "iconColor" in B && i(76, $e = B.iconColor), "videoTextColor" in B && i(77, rt = B.videoTextColor), "videoBackgroundColor" in B && i(78, ut = B.videoBackgroundColor), "videoIconColor" in B && i(79, It = B.videoIconColor), "logoIconEnabled" in B && i(80, At = B.logoIconEnabled), "logoImagePosition" in B && i(16, St = B.logoImagePosition), "maxImageSize" in B && i(81, Vt = B.maxImageSize), "onEvent" in B && i(17, nt = B.onEvent), "videoPosterImage" in B && i(18, ot = B.videoPosterImage), "videoIsBehind" in B && i(19, Bt = B.videoIsBehind), "isFullScreen" in B && i(82, st = B.isFullScreen), "isVisible" in B && i(0, kt = B.isVisible), "relativeY" in B && i(1, qe = B.relativeY), "absoluteY" in B && i(2, yt = B.absoluteY);
|
|
14519
14519
|
}, t.$$.update = () => {
|
|
14520
14520
|
t.$$.dirty[0] & /*playerStyle*/
|
|
14521
14521
|
8 && i(25, n = Me === "small"), t.$$.dirty[0] & /*playerStyle*/
|
|
@@ -14551,13 +14551,13 @@ function OA(t, e, i) {
|
|
|
14551
14551
|
2 && i(35, S = n || a && je ? 0.8 : l && !f ? 2 : 1), t.$$.dirty[0] & /*isScreen, isVideo, isStopped*/
|
|
14552
14552
|
1212153856 | t.$$.dirty[1] & /*buttonScale*/
|
|
14553
14553
|
16 && i(57, P = S * (l ? 1.5 : a && u ? 1.6 : 1)), t.$$.dirty[0] & /*isVideo, fixedPosition*/
|
|
14554
|
-
4194560 && i(56,
|
|
14554
|
+
4194560 && i(56, X = a && !je ? 1.2 : 1), t.$$.dirty[0] & /*isScreen, isVideo*/
|
|
14555
14555
|
138412032 | t.$$.dirty[1] & /*isMobile*/
|
|
14556
14556
|
2 && i(55, Y = l && !f ? 3 : l ? 2 : a && !f ? 1.5 : 1), t.$$.dirty[0] & /*isScreen, isVideo*/
|
|
14557
14557
|
138412032 | t.$$.dirty[1] & /*isMobile*/
|
|
14558
14558
|
2 && i(54, N = l && !f ? 2.5 : l ? 1.75 : a && !f ? 2 : a ? 1.5 : 1), t.$$.dirty[0] & /*isScreen*/
|
|
14559
14559
|
134217728 | t.$$.dirty[1] & /*isMobile*/
|
|
14560
|
-
2 && i(53,
|
|
14560
|
+
2 && i(53, J = l && !f ? "12px 0" : l ? "4px 0" : "auto"), t.$$.dirty[0] & /*isSmall*/
|
|
14561
14561
|
33554432 | t.$$.dirty[2] & /*fixedWidth*/
|
|
14562
14562
|
128 && i(52, oe = ze === "auto" ? n ? "fit-content" : "" : ze), t.$$.dirty[0] & /*fixedPosition, isStandard*/
|
|
14563
14563
|
536871168 && i(86, le = je === "auto" ? o ? "center" : "right" : je), t.$$.dirty[0] & /*fixedPosition*/
|
|
@@ -14574,8 +14574,8 @@ function OA(t, e, i) {
|
|
|
14574
14574
|
isMobile: f,
|
|
14575
14575
|
isAdvert: c
|
|
14576
14576
|
})), t.$$.dirty[2] & /*companionAdvert, activeAdvert*/
|
|
14577
|
-
2560 && i(85, Ae = (
|
|
14578
|
-
2560 && i(33, ae = (
|
|
14577
|
+
2560 && i(85, Ae = (Ge == null ? void 0 : Ge.imageUrl) || (Ie == null ? void 0 : Ie.imageUrl)), t.$$.dirty[2] & /*companionAdvert, activeAdvert*/
|
|
14578
|
+
2560 && i(33, ae = (Ge == null ? void 0 : Ge.clickThroughUrl) || (Ie == null ? void 0 : Ie.clickThroughUrl)), t.$$.dirty[0] & /*isAdvert, isStopped*/
|
|
14579
14579
|
1342177280 | t.$$.dirty[1] & /*contentItem*/
|
|
14580
14580
|
8 | t.$$.dirty[2] & /*advertImageUrl, persistentAdvert*/
|
|
14581
14581
|
8389632 && i(49, b = c && Ae || !u && (_t == null ? void 0 : _t.imageUrl) || A.imageUrl), t.$$.dirty[0] & /*isAdvert, isStopped*/
|
|
@@ -14590,7 +14590,7 @@ function OA(t, e, i) {
|
|
|
14590
14590
|
128 && i(26, Ve = n && (ze === 0 || ze === "0")), t.$$.dirty[0] & /*forcedCollapsed, isAdvert, isStopped, isHovering*/
|
|
14591
14591
|
1411383296 | t.$$.dirty[1] & /*collapsible*/
|
|
14592
14592
|
1 && i(46, Le = Ve || x && !c && !u && !lt), t.$$.dirty[0] & /*fixedPosition, isSmall, isStandard, isAdvert*/
|
|
14593
|
-
838861056 && i(45,
|
|
14593
|
+
838861056 && i(45, Ke = je && !n && !(o && c)), t.$$.dirty[0] & /*isAdvert, isScreen, fixedPosition, isSmall, forcedCollapsed*/
|
|
14594
14594
|
503316736 | t.$$.dirty[2] & /*logoIconEnabled*/
|
|
14595
14595
|
262144 && i(44, j = At && (!c || l) && !(je && n) && !Ve), t.$$.dirty[0] & /*playlistStyle*/
|
|
14596
14596
|
32 && i(84, me = Ye.split("-")), t.$$.dirty[0] & /*isSmall*/
|
|
@@ -14599,7 +14599,7 @@ function OA(t, e, i) {
|
|
|
14599
14599
|
33554432 | t.$$.dirty[2] & /*playlistToggle, isPlaylist, isFullScreen*/
|
|
14600
14600
|
3145792 && i(42, Ne = (Pe === "show" || Pe === "auto" && g) && !n && !st), t.$$.dirty[0] & /*playerStyle, positionClasses, controlsOrder*/
|
|
14601
14601
|
25165832 | t.$$.dirty[2] & /*playbackState*/
|
|
14602
|
-
256 && i(41,
|
|
14602
|
+
256 && i(41, Xe = `user-interface ${Me} ${et} ${$} ${ue}`), t.$$.dirty[0] & /*fixedPosition*/
|
|
14603
14603
|
256 && je && ft();
|
|
14604
14604
|
}, [
|
|
14605
14605
|
kt,
|
|
@@ -14641,13 +14641,13 @@ function OA(t, e, i) {
|
|
|
14641
14641
|
T,
|
|
14642
14642
|
w,
|
|
14643
14643
|
k,
|
|
14644
|
-
|
|
14644
|
+
Je,
|
|
14645
14645
|
Ze,
|
|
14646
|
-
|
|
14646
|
+
Xe,
|
|
14647
14647
|
Ne,
|
|
14648
14648
|
Ee,
|
|
14649
14649
|
j,
|
|
14650
|
-
|
|
14650
|
+
Ke,
|
|
14651
14651
|
Le,
|
|
14652
14652
|
F,
|
|
14653
14653
|
C,
|
|
@@ -14655,10 +14655,10 @@ function OA(t, e, i) {
|
|
|
14655
14655
|
_e,
|
|
14656
14656
|
te,
|
|
14657
14657
|
oe,
|
|
14658
|
-
|
|
14658
|
+
J,
|
|
14659
14659
|
N,
|
|
14660
14660
|
Y,
|
|
14661
|
-
|
|
14661
|
+
X,
|
|
14662
14662
|
P,
|
|
14663
14663
|
D,
|
|
14664
14664
|
z,
|
|
@@ -14675,7 +14675,7 @@ function OA(t, e, i) {
|
|
|
14675
14675
|
et,
|
|
14676
14676
|
Ie,
|
|
14677
14677
|
_t,
|
|
14678
|
-
|
|
14678
|
+
Ge,
|
|
14679
14679
|
Ct,
|
|
14680
14680
|
it,
|
|
14681
14681
|
$e,
|
|
@@ -15120,7 +15120,7 @@ function NA(t) {
|
|
|
15120
15120
|
};
|
|
15121
15121
|
}
|
|
15122
15122
|
function Na(t) {
|
|
15123
|
-
let e, i, n, o, s, l, a, r, u, c, g, f, A, _, k, w, T, v, p, z, D, S, P,
|
|
15123
|
+
let e, i, n, o, s, l, a, r, u, c, g, f, A, _, k, w, T, v, p, z, D, S, P, X, Y, N, J, oe, le, $, te, re, _e, ue, Ae, ae, b, C, F, x, Ve, Le, Ke, j, me, Ee, Ne, Xe, Me, Qe, pe, Ye, Pe, jt, Oe, je, ze, at, xt, Re, ht, He, et, tt, gt, Ie, _t, Ge, Ct, it, $e, rt, ut, It, At, St, Vt, nt, ot, Bt, st, kt, qe, yt, Je, vt, lt, Ze, ft, Mt, H, bt, ee, V, W, B, ti, ri, Cn, Wt, Pi, Ut, gi, Ht, fi, bi, Ft, ii, Ci, zi, ui, Dt, Ii, ni = $t(
|
|
15124
15124
|
/*content*/
|
|
15125
15125
|
t[43]
|
|
15126
15126
|
), wt = [];
|
|
@@ -15140,38 +15140,38 @@ function Na(t) {
|
|
|
15140
15140
|
pt[R] = Ua(za(t, Vi, R));
|
|
15141
15141
|
return {
|
|
15142
15142
|
c() {
|
|
15143
|
-
e = y("br"), i =
|
|
15144
|
-
`), c = y("input"), g =
|
|
15145
|
-
`), _ = y("input"), k =
|
|
15146
|
-
`), v = y("input"), p =
|
|
15147
|
-
`), S = y("input"), P =
|
|
15148
|
-
`), N = y("input"),
|
|
15149
|
-
`), $ = y("select"), te = y("option"), te.textContent = `${!1}`, re = y("option"), re.textContent = `${!0}`, _e =
|
|
15150
|
-
`), ae = y("input"), b =
|
|
15151
|
-
`), x = y("input"), Ve =
|
|
15152
|
-
`), j = y("select"), me = y("option"), me.textContent = "auto", Ee = y("option"), Ee.textContent = "override", Ne = y("option"), Ne.textContent = "none",
|
|
15143
|
+
e = y("br"), i = G(), n = y("strong"), n.textContent = "Advanced settings:", o = G(), s = y("br"), l = y("br"), a = G(), r = y("div"), u = ie(`projectId:
|
|
15144
|
+
`), c = y("input"), g = G(), f = y("div"), A = ie(`contentId:
|
|
15145
|
+
`), _ = y("input"), k = G(), w = y("div"), T = ie(`playlistId:
|
|
15146
|
+
`), v = y("input"), p = G(), z = y("div"), D = ie(`sourceId:
|
|
15147
|
+
`), S = y("input"), P = G(), X = y("div"), Y = ie(`sourceUrl:
|
|
15148
|
+
`), N = y("input"), J = G(), oe = y("div"), le = ie(`showUserInterface:
|
|
15149
|
+
`), $ = y("select"), te = y("option"), te.textContent = `${!1}`, re = y("option"), re.textContent = `${!0}`, _e = G(), ue = y("div"), Ae = ie(`videoTextColor:
|
|
15150
|
+
`), ae = y("input"), b = G(), C = y("div"), F = ie(`videoIconColor:
|
|
15151
|
+
`), x = y("input"), Ve = G(), Le = y("div"), Ke = ie(`mediaSession:
|
|
15152
|
+
`), j = y("select"), me = y("option"), me.textContent = "auto", Ee = y("option"), Ee.textContent = "override", Ne = y("option"), Ne.textContent = "none", Xe = G(), Me = y("div"), Qe = ie(`contentIndex:
|
|
15153
15153
|
`), pe = y("select");
|
|
15154
15154
|
for (let R = 0; R < wt.length; R += 1)
|
|
15155
15155
|
wt[R].c();
|
|
15156
|
-
Ye =
|
|
15156
|
+
Ye = G(), Pe = y("div"), jt = ie(`introsOutrosIndex:
|
|
15157
15157
|
`), Oe = y("select"), je = y("option"), je.textContent = "-1 (none)";
|
|
15158
15158
|
for (let R = 0; R < Tt.length; R += 1)
|
|
15159
15159
|
Tt[R].c();
|
|
15160
|
-
ze =
|
|
15161
|
-
`), Re = y("select"), ht = y("option"), ht.textContent = `${!1}`, He = y("option"), He.textContent = `${!0}`, et =
|
|
15160
|
+
ze = G(), at = y("div"), xt = ie(`persistentAdImage:
|
|
15161
|
+
`), Re = y("select"), ht = y("option"), ht.textContent = `${!1}`, He = y("option"), He.textContent = `${!0}`, et = G(), tt = y("div"), gt = ie(`persistentIndex:
|
|
15162
15162
|
`), Ie = y("select"), _t = y("option"), _t.textContent = "-1 (none)";
|
|
15163
15163
|
for (let R = 0; R < pt.length; R += 1)
|
|
15164
15164
|
pt[R].c();
|
|
15165
|
-
|
|
15166
|
-
`), $e = y("input"), rt =
|
|
15167
|
-
`), At = y("input"), St =
|
|
15168
|
-
`), ot = y("input"), Bt =
|
|
15169
|
-
`), qe = y("input"), yt =
|
|
15170
|
-
`), lt = y("select"), Ze = y("option"), Ze.textContent = `${!1}`, ft = y("option"), ft.textContent = `${!0}`, Mt =
|
|
15171
|
-
`), ee = y("select"), V = y("option"), V.textContent = "personalized", W = y("option"), W.textContent = "non-personalized", B = y("option"), B.textContent = "under-the-age-of-consent", ti =
|
|
15172
|
-
`), Wt = y("select"), Pi = y("option"), Pi.textContent = "allowed", Ut = y("option"), Ut.textContent = "without-local-storage", gi = y("option"), gi.textContent = "none", Ht =
|
|
15173
|
-
`), Ft = y("input"), ii =
|
|
15174
|
-
`), ui = y("input"), O(n, "class", "svelte-1a8td5m"), O(c, "tabindex", -1), O(c, "type", "text"), O(c, "class", "svelte-1a8td5m"), O(r, "class", "control svelte-1a8td5m"), O(_, "tabindex", -1), O(_, "type", "text"), O(_, "class", "svelte-1a8td5m"), O(f, "class", "control svelte-1a8td5m"), O(v, "tabindex", -1), O(v, "type", "text"), O(v, "class", "svelte-1a8td5m"), O(w, "class", "control svelte-1a8td5m"), O(S, "tabindex", -1), O(S, "type", "text"), O(S, "class", "svelte-1a8td5m"), O(z, "class", "control svelte-1a8td5m"), O(N, "tabindex", -1), O(N, "type", "text"), O(N, "class", "svelte-1a8td5m"), O(
|
|
15165
|
+
Ge = G(), Ct = y("div"), it = ie(`duration:
|
|
15166
|
+
`), $e = y("input"), rt = G(), ut = y("div"), It = ie(`currentTime:
|
|
15167
|
+
`), At = y("input"), St = G(), Vt = y("div"), nt = ie(`playbackRate:
|
|
15168
|
+
`), ot = y("input"), Bt = G(), st = y("div"), kt = ie(`widgetTarget:
|
|
15169
|
+
`), qe = y("input"), yt = G(), Je = y("div"), vt = ie(`logoIconEnabled:
|
|
15170
|
+
`), lt = y("select"), Ze = y("option"), Ze.textContent = `${!1}`, ft = y("option"), ft.textContent = `${!0}`, Mt = G(), H = y("div"), bt = ie(`advertConsent:
|
|
15171
|
+
`), ee = y("select"), V = y("option"), V.textContent = "personalized", W = y("option"), W.textContent = "non-personalized", B = y("option"), B.textContent = "under-the-age-of-consent", ti = G(), ri = y("div"), Cn = ie(`analyticsConsent:
|
|
15172
|
+
`), Wt = y("select"), Pi = y("option"), Pi.textContent = "allowed", Ut = y("option"), Ut.textContent = "without-local-storage", gi = y("option"), gi.textContent = "none", Ht = G(), fi = y("div"), bi = ie(`analyticsCustomUrl:
|
|
15173
|
+
`), Ft = y("input"), ii = G(), Ci = y("div"), zi = ie(`analyticsTag:
|
|
15174
|
+
`), ui = y("input"), O(n, "class", "svelte-1a8td5m"), O(c, "tabindex", -1), O(c, "type", "text"), O(c, "class", "svelte-1a8td5m"), O(r, "class", "control svelte-1a8td5m"), O(_, "tabindex", -1), O(_, "type", "text"), O(_, "class", "svelte-1a8td5m"), O(f, "class", "control svelte-1a8td5m"), O(v, "tabindex", -1), O(v, "type", "text"), O(v, "class", "svelte-1a8td5m"), O(w, "class", "control svelte-1a8td5m"), O(S, "tabindex", -1), O(S, "type", "text"), O(S, "class", "svelte-1a8td5m"), O(z, "class", "control svelte-1a8td5m"), O(N, "tabindex", -1), O(N, "type", "text"), O(N, "class", "svelte-1a8td5m"), O(X, "class", "control svelte-1a8td5m"), te.__value = !1, q(te, te.__value), re.__value = !0, q(re, re.__value), O($, "tabindex", -1), O($, "class", "svelte-1a8td5m"), /*showUserInterface*/
|
|
15175
15175
|
t[5] === void 0 && dt(() => (
|
|
15176
15176
|
/*select0_change_handler_1*/
|
|
15177
15177
|
t[72].call($)
|
|
@@ -15199,7 +15199,7 @@ function Na(t) {
|
|
|
15199
15199
|
t[33] === void 0 && dt(() => (
|
|
15200
15200
|
/*select6_change_handler_1*/
|
|
15201
15201
|
t[84].call(lt)
|
|
15202
|
-
)), O(
|
|
15202
|
+
)), O(Je, "class", "control svelte-1a8td5m"), V.__value = "personalized", q(V, V.__value), W.__value = "non-personalized", q(W, W.__value), B.__value = "under-the-age-of-consent", q(B, B.__value), O(ee, "tabindex", -1), O(ee, "class", "svelte-1a8td5m"), /*advertConsent*/
|
|
15203
15203
|
t[38] === void 0 && dt(() => (
|
|
15204
15204
|
/*select7_change_handler_1*/
|
|
15205
15205
|
t[85].call(ee)
|
|
@@ -15209,46 +15209,46 @@ function Na(t) {
|
|
|
15209
15209
|
t[86].call(Wt)
|
|
15210
15210
|
)), O(ri, "class", "control svelte-1a8td5m"), O(Ft, "tabindex", -1), O(Ft, "type", "text"), O(Ft, "class", "svelte-1a8td5m"), O(fi, "class", "control svelte-1a8td5m"), O(ui, "tabindex", -1), O(ui, "type", "text"), O(ui, "class", "svelte-1a8td5m"), O(Ci, "class", "control svelte-1a8td5m");
|
|
15211
15211
|
},
|
|
15212
|
-
m(R,
|
|
15213
|
-
E(R, e,
|
|
15212
|
+
m(R, K) {
|
|
15213
|
+
E(R, e, K), E(R, i, K), E(R, n, K), E(R, o, K), E(R, s, K), E(R, l, K), E(R, a, K), E(R, r, K), m(r, u), m(r, c), q(
|
|
15214
15214
|
c,
|
|
15215
15215
|
/*projectId*/
|
|
15216
15216
|
t[0]
|
|
15217
|
-
), E(R, g,
|
|
15217
|
+
), E(R, g, K), E(R, f, K), m(f, A), m(f, _), q(
|
|
15218
15218
|
_,
|
|
15219
15219
|
/*contentId*/
|
|
15220
15220
|
t[1]
|
|
15221
|
-
), E(R, k,
|
|
15221
|
+
), E(R, k, K), E(R, w, K), m(w, T), m(w, v), q(
|
|
15222
15222
|
v,
|
|
15223
15223
|
/*playlistId*/
|
|
15224
15224
|
t[2]
|
|
15225
|
-
), E(R, p,
|
|
15225
|
+
), E(R, p, K), E(R, z, K), m(z, D), m(z, S), q(
|
|
15226
15226
|
S,
|
|
15227
15227
|
/*sourceId*/
|
|
15228
15228
|
t[3]
|
|
15229
|
-
), E(R, P,
|
|
15229
|
+
), E(R, P, K), E(R, X, K), m(X, Y), m(X, N), q(
|
|
15230
15230
|
N,
|
|
15231
15231
|
/*sourceUrl*/
|
|
15232
15232
|
t[4]
|
|
15233
|
-
), E(R,
|
|
15233
|
+
), E(R, J, K), E(R, oe, K), m(oe, le), m(oe, $), m($, te), m($, re), We(
|
|
15234
15234
|
$,
|
|
15235
15235
|
/*showUserInterface*/
|
|
15236
15236
|
t[5],
|
|
15237
15237
|
!0
|
|
15238
|
-
), E(R, _e,
|
|
15238
|
+
), E(R, _e, K), E(R, ue, K), m(ue, Ae), m(ue, ae), q(
|
|
15239
15239
|
ae,
|
|
15240
15240
|
/*videoTextColor*/
|
|
15241
15241
|
t[31]
|
|
15242
|
-
), E(R, b,
|
|
15242
|
+
), E(R, b, K), E(R, C, K), m(C, F), m(C, x), q(
|
|
15243
15243
|
x,
|
|
15244
15244
|
/*videoIconColor*/
|
|
15245
15245
|
t[32]
|
|
15246
|
-
), E(R, Ve,
|
|
15246
|
+
), E(R, Ve, K), E(R, Le, K), m(Le, Ke), m(Le, j), m(j, me), m(j, Ee), m(j, Ne), We(
|
|
15247
15247
|
j,
|
|
15248
15248
|
/*mediaSession*/
|
|
15249
15249
|
t[12],
|
|
15250
15250
|
!0
|
|
15251
|
-
), E(R,
|
|
15251
|
+
), E(R, Xe, K), E(R, Me, K), m(Me, Qe), m(Me, pe);
|
|
15252
15252
|
for (let ge = 0; ge < wt.length; ge += 1)
|
|
15253
15253
|
wt[ge] && wt[ge].m(pe, null);
|
|
15254
15254
|
We(
|
|
@@ -15256,7 +15256,7 @@ function Na(t) {
|
|
|
15256
15256
|
/*contentIndex*/
|
|
15257
15257
|
t[13],
|
|
15258
15258
|
!0
|
|
15259
|
-
), E(R, Ye,
|
|
15259
|
+
), E(R, Ye, K), E(R, Pe, K), m(Pe, jt), m(Pe, Oe), m(Oe, je);
|
|
15260
15260
|
for (let ge = 0; ge < Tt.length; ge += 1)
|
|
15261
15261
|
Tt[ge] && Tt[ge].m(Oe, null);
|
|
15262
15262
|
We(
|
|
@@ -15264,12 +15264,12 @@ function Na(t) {
|
|
|
15264
15264
|
/*introsOutrosIndex*/
|
|
15265
15265
|
t[14],
|
|
15266
15266
|
!0
|
|
15267
|
-
), E(R, ze,
|
|
15267
|
+
), E(R, ze, K), E(R, at, K), m(at, xt), m(at, Re), m(Re, ht), m(Re, He), We(
|
|
15268
15268
|
Re,
|
|
15269
15269
|
/*persistentAdImage*/
|
|
15270
15270
|
t[16],
|
|
15271
15271
|
!0
|
|
15272
|
-
), E(R, et,
|
|
15272
|
+
), E(R, et, K), E(R, tt, K), m(tt, gt), m(tt, Ie), m(Ie, _t);
|
|
15273
15273
|
for (let ge = 0; ge < pt.length; ge += 1)
|
|
15274
15274
|
pt[ge] && pt[ge].m(Ie, null);
|
|
15275
15275
|
We(
|
|
@@ -15277,42 +15277,42 @@ function Na(t) {
|
|
|
15277
15277
|
/*persistentIndex*/
|
|
15278
15278
|
t[17],
|
|
15279
15279
|
!0
|
|
15280
|
-
), E(R,
|
|
15280
|
+
), E(R, Ge, K), E(R, Ct, K), m(Ct, it), m(Ct, $e), q(
|
|
15281
15281
|
$e,
|
|
15282
15282
|
/*duration*/
|
|
15283
15283
|
t[18]
|
|
15284
|
-
), E(R, rt,
|
|
15284
|
+
), E(R, rt, K), E(R, ut, K), m(ut, It), m(ut, At), q(
|
|
15285
15285
|
At,
|
|
15286
15286
|
/*currentTime*/
|
|
15287
15287
|
t[19]
|
|
15288
|
-
), E(R, St,
|
|
15288
|
+
), E(R, St, K), E(R, Vt, K), m(Vt, nt), m(Vt, ot), q(
|
|
15289
15289
|
ot,
|
|
15290
15290
|
/*playbackRate*/
|
|
15291
15291
|
t[21]
|
|
15292
|
-
), E(R, Bt,
|
|
15292
|
+
), E(R, Bt, K), E(R, st, K), m(st, kt), m(st, qe), q(
|
|
15293
15293
|
qe,
|
|
15294
15294
|
/*widgetTarget*/
|
|
15295
15295
|
t[26]
|
|
15296
|
-
), E(R, yt,
|
|
15296
|
+
), E(R, yt, K), E(R, Je, K), m(Je, vt), m(Je, lt), m(lt, Ze), m(lt, ft), We(
|
|
15297
15297
|
lt,
|
|
15298
15298
|
/*logoIconEnabled*/
|
|
15299
15299
|
t[33],
|
|
15300
15300
|
!0
|
|
15301
|
-
), E(R, Mt,
|
|
15301
|
+
), E(R, Mt, K), E(R, H, K), m(H, bt), m(H, ee), m(ee, V), m(ee, W), m(ee, B), We(
|
|
15302
15302
|
ee,
|
|
15303
15303
|
/*advertConsent*/
|
|
15304
15304
|
t[38],
|
|
15305
15305
|
!0
|
|
15306
|
-
), E(R, ti,
|
|
15306
|
+
), E(R, ti, K), E(R, ri, K), m(ri, Cn), m(ri, Wt), m(Wt, Pi), m(Wt, Ut), m(Wt, gi), We(
|
|
15307
15307
|
Wt,
|
|
15308
15308
|
/*analyticsConsent*/
|
|
15309
15309
|
t[39],
|
|
15310
15310
|
!0
|
|
15311
|
-
), E(R, Ht,
|
|
15311
|
+
), E(R, Ht, K), E(R, fi, K), m(fi, bi), m(fi, Ft), q(
|
|
15312
15312
|
Ft,
|
|
15313
15313
|
/*analyticsCustomUrl*/
|
|
15314
15314
|
t[40]
|
|
15315
|
-
), E(R, ii,
|
|
15315
|
+
), E(R, ii, K), E(R, Ci, K), m(Ci, zi), m(Ci, ui), q(
|
|
15316
15316
|
ui,
|
|
15317
15317
|
/*analyticsTag*/
|
|
15318
15318
|
t[41]
|
|
@@ -15451,60 +15451,60 @@ function Na(t) {
|
|
|
15451
15451
|
)
|
|
15452
15452
|
], Dt = !0);
|
|
15453
15453
|
},
|
|
15454
|
-
p(R,
|
|
15455
|
-
if (
|
|
15454
|
+
p(R, K) {
|
|
15455
|
+
if (K[0] & /*projectId*/
|
|
15456
15456
|
1 && c.value !== /*projectId*/
|
|
15457
15457
|
R[0] && q(
|
|
15458
15458
|
c,
|
|
15459
15459
|
/*projectId*/
|
|
15460
15460
|
R[0]
|
|
15461
|
-
),
|
|
15461
|
+
), K[0] & /*contentId*/
|
|
15462
15462
|
2 && _.value !== /*contentId*/
|
|
15463
15463
|
R[1] && q(
|
|
15464
15464
|
_,
|
|
15465
15465
|
/*contentId*/
|
|
15466
15466
|
R[1]
|
|
15467
|
-
),
|
|
15467
|
+
), K[0] & /*playlistId*/
|
|
15468
15468
|
4 && v.value !== /*playlistId*/
|
|
15469
15469
|
R[2] && q(
|
|
15470
15470
|
v,
|
|
15471
15471
|
/*playlistId*/
|
|
15472
15472
|
R[2]
|
|
15473
|
-
),
|
|
15473
|
+
), K[0] & /*sourceId*/
|
|
15474
15474
|
8 && S.value !== /*sourceId*/
|
|
15475
15475
|
R[3] && q(
|
|
15476
15476
|
S,
|
|
15477
15477
|
/*sourceId*/
|
|
15478
15478
|
R[3]
|
|
15479
|
-
),
|
|
15479
|
+
), K[0] & /*sourceUrl*/
|
|
15480
15480
|
16 && N.value !== /*sourceUrl*/
|
|
15481
15481
|
R[4] && q(
|
|
15482
15482
|
N,
|
|
15483
15483
|
/*sourceUrl*/
|
|
15484
15484
|
R[4]
|
|
15485
|
-
),
|
|
15485
|
+
), K[0] & /*showUserInterface*/
|
|
15486
15486
|
32 && We(
|
|
15487
15487
|
$,
|
|
15488
15488
|
/*showUserInterface*/
|
|
15489
15489
|
R[5]
|
|
15490
|
-
),
|
|
15490
|
+
), K[1] & /*videoTextColor*/
|
|
15491
15491
|
1 && ae.value !== /*videoTextColor*/
|
|
15492
15492
|
R[31] && q(
|
|
15493
15493
|
ae,
|
|
15494
15494
|
/*videoTextColor*/
|
|
15495
15495
|
R[31]
|
|
15496
|
-
),
|
|
15496
|
+
), K[1] & /*videoIconColor*/
|
|
15497
15497
|
2 && x.value !== /*videoIconColor*/
|
|
15498
15498
|
R[32] && q(
|
|
15499
15499
|
x,
|
|
15500
15500
|
/*videoIconColor*/
|
|
15501
15501
|
R[32]
|
|
15502
|
-
),
|
|
15502
|
+
), K[0] & /*mediaSession*/
|
|
15503
15503
|
4096 && We(
|
|
15504
15504
|
j,
|
|
15505
15505
|
/*mediaSession*/
|
|
15506
15506
|
R[12]
|
|
15507
|
-
),
|
|
15507
|
+
), K[1] & /*content*/
|
|
15508
15508
|
4096) {
|
|
15509
15509
|
ni = $t(
|
|
15510
15510
|
/*content*/
|
|
@@ -15513,18 +15513,18 @@ function Na(t) {
|
|
|
15513
15513
|
let ge;
|
|
15514
15514
|
for (ge = 0; ge < ni.length; ge += 1) {
|
|
15515
15515
|
const Nt = ja(R, ni, ge);
|
|
15516
|
-
wt[ge] ? wt[ge].p(Nt,
|
|
15516
|
+
wt[ge] ? wt[ge].p(Nt, K) : (wt[ge] = Ra(Nt), wt[ge].c(), wt[ge].m(pe, null));
|
|
15517
15517
|
}
|
|
15518
15518
|
for (; ge < wt.length; ge += 1)
|
|
15519
15519
|
wt[ge].d(1);
|
|
15520
15520
|
wt.length = ni.length;
|
|
15521
15521
|
}
|
|
15522
|
-
if (
|
|
15522
|
+
if (K[0] & /*contentIndex*/
|
|
15523
15523
|
8192 && We(
|
|
15524
15524
|
pe,
|
|
15525
15525
|
/*contentIndex*/
|
|
15526
15526
|
R[13]
|
|
15527
|
-
),
|
|
15527
|
+
), K[1] & /*introsOutros*/
|
|
15528
15528
|
8192) {
|
|
15529
15529
|
oi = $t(
|
|
15530
15530
|
/*introsOutros*/
|
|
@@ -15533,23 +15533,23 @@ function Na(t) {
|
|
|
15533
15533
|
let ge;
|
|
15534
15534
|
for (ge = 0; ge < oi.length; ge += 1) {
|
|
15535
15535
|
const Nt = La(R, oi, ge);
|
|
15536
|
-
Tt[ge] ? Tt[ge].p(Nt,
|
|
15536
|
+
Tt[ge] ? Tt[ge].p(Nt, K) : (Tt[ge] = Fa(Nt), Tt[ge].c(), Tt[ge].m(Oe, null));
|
|
15537
15537
|
}
|
|
15538
15538
|
for (; ge < Tt.length; ge += 1)
|
|
15539
15539
|
Tt[ge].d(1);
|
|
15540
15540
|
Tt.length = oi.length;
|
|
15541
15541
|
}
|
|
15542
|
-
if (
|
|
15542
|
+
if (K[0] & /*introsOutrosIndex*/
|
|
15543
15543
|
16384 && We(
|
|
15544
15544
|
Oe,
|
|
15545
15545
|
/*introsOutrosIndex*/
|
|
15546
15546
|
R[14]
|
|
15547
|
-
),
|
|
15547
|
+
), K[0] & /*persistentAdImage*/
|
|
15548
15548
|
65536 && We(
|
|
15549
15549
|
Re,
|
|
15550
15550
|
/*persistentAdImage*/
|
|
15551
15551
|
R[16]
|
|
15552
|
-
),
|
|
15552
|
+
), K[1] & /*adverts*/
|
|
15553
15553
|
16384) {
|
|
15554
15554
|
Vi = $t(
|
|
15555
15555
|
/*adverts*/
|
|
@@ -15558,63 +15558,63 @@ function Na(t) {
|
|
|
15558
15558
|
let ge;
|
|
15559
15559
|
for (ge = 0; ge < Vi.length; ge += 1) {
|
|
15560
15560
|
const Nt = za(R, Vi, ge);
|
|
15561
|
-
pt[ge] ? pt[ge].p(Nt,
|
|
15561
|
+
pt[ge] ? pt[ge].p(Nt, K) : (pt[ge] = Ua(Nt), pt[ge].c(), pt[ge].m(Ie, null));
|
|
15562
15562
|
}
|
|
15563
15563
|
for (; ge < pt.length; ge += 1)
|
|
15564
15564
|
pt[ge].d(1);
|
|
15565
15565
|
pt.length = Vi.length;
|
|
15566
15566
|
}
|
|
15567
|
-
|
|
15567
|
+
K[0] & /*persistentIndex*/
|
|
15568
15568
|
131072 && We(
|
|
15569
15569
|
Ie,
|
|
15570
15570
|
/*persistentIndex*/
|
|
15571
15571
|
R[17]
|
|
15572
|
-
),
|
|
15572
|
+
), K[0] & /*duration*/
|
|
15573
15573
|
262144 && $e.value !== /*duration*/
|
|
15574
15574
|
R[18] && q(
|
|
15575
15575
|
$e,
|
|
15576
15576
|
/*duration*/
|
|
15577
15577
|
R[18]
|
|
15578
|
-
),
|
|
15578
|
+
), K[0] & /*currentTime*/
|
|
15579
15579
|
524288 && At.value !== /*currentTime*/
|
|
15580
15580
|
R[19] && q(
|
|
15581
15581
|
At,
|
|
15582
15582
|
/*currentTime*/
|
|
15583
15583
|
R[19]
|
|
15584
|
-
),
|
|
15584
|
+
), K[0] & /*playbackRate*/
|
|
15585
15585
|
2097152 && ot.value !== /*playbackRate*/
|
|
15586
15586
|
R[21] && q(
|
|
15587
15587
|
ot,
|
|
15588
15588
|
/*playbackRate*/
|
|
15589
15589
|
R[21]
|
|
15590
|
-
),
|
|
15590
|
+
), K[0] & /*widgetTarget*/
|
|
15591
15591
|
67108864 && qe.value !== /*widgetTarget*/
|
|
15592
15592
|
R[26] && q(
|
|
15593
15593
|
qe,
|
|
15594
15594
|
/*widgetTarget*/
|
|
15595
15595
|
R[26]
|
|
15596
|
-
),
|
|
15596
|
+
), K[1] & /*logoIconEnabled*/
|
|
15597
15597
|
4 && We(
|
|
15598
15598
|
lt,
|
|
15599
15599
|
/*logoIconEnabled*/
|
|
15600
15600
|
R[33]
|
|
15601
|
-
),
|
|
15601
|
+
), K[1] & /*advertConsent*/
|
|
15602
15602
|
128 && We(
|
|
15603
15603
|
ee,
|
|
15604
15604
|
/*advertConsent*/
|
|
15605
15605
|
R[38]
|
|
15606
|
-
),
|
|
15606
|
+
), K[1] & /*analyticsConsent*/
|
|
15607
15607
|
256 && We(
|
|
15608
15608
|
Wt,
|
|
15609
15609
|
/*analyticsConsent*/
|
|
15610
15610
|
R[39]
|
|
15611
|
-
),
|
|
15611
|
+
), K[1] & /*analyticsCustomUrl*/
|
|
15612
15612
|
512 && Ft.value !== /*analyticsCustomUrl*/
|
|
15613
15613
|
R[40] && q(
|
|
15614
15614
|
Ft,
|
|
15615
15615
|
/*analyticsCustomUrl*/
|
|
15616
15616
|
R[40]
|
|
15617
|
-
),
|
|
15617
|
+
), K[1] & /*analyticsTag*/
|
|
15618
15618
|
1024 && ui.value !== /*analyticsTag*/
|
|
15619
15619
|
R[41] && q(
|
|
15620
15620
|
ui,
|
|
@@ -15623,7 +15623,7 @@ function Na(t) {
|
|
|
15623
15623
|
);
|
|
15624
15624
|
},
|
|
15625
15625
|
d(R) {
|
|
15626
|
-
R && (M(e), M(i), M(n), M(o), M(s), M(l), M(a), M(r), M(g), M(f), M(k), M(w), M(p), M(z), M(P), M(
|
|
15626
|
+
R && (M(e), M(i), M(n), M(o), M(s), M(l), M(a), M(r), M(g), M(f), M(k), M(w), M(p), M(z), M(P), M(X), M(J), M(oe), M(_e), M(ue), M(b), M(C), M(Ve), M(Le), M(Xe), M(Me), M(Ye), M(Pe), M(ze), M(at), M(et), M(tt), M(Ge), M(Ct), M(rt), M(ut), M(St), M(Vt), M(Bt), M(st), M(yt), M(Je), M(Mt), M(H), M(ti), M(ri), M(Ht), M(fi), M(ii), M(Ci)), Pn(wt, R), Pn(Tt, R), Pn(pt, R), Dt = !1, mt(Ii);
|
|
15627
15627
|
}
|
|
15628
15628
|
};
|
|
15629
15629
|
}
|
|
@@ -15746,7 +15746,7 @@ function FA(t) {
|
|
|
15746
15746
|
};
|
|
15747
15747
|
}
|
|
15748
15748
|
function UA(t) {
|
|
15749
|
-
let e, i, n, o, s, l, a, r, u, c, g, f, A, _, k, w, T, v, p, z, D, S, P,
|
|
15749
|
+
let e, i, n, o, s, l, a, r, u, c, g, f, A, _, k, w, T, v, p, z, D, S, P, X, Y, N, J, oe, le, $, te, re, _e, ue, Ae, ae, b, C, F, x, Ve, Le, Ke, j, me, Ee, Ne, Xe, Me, Qe, pe, Ye, Pe, jt, Oe, je, ze, at, xt, Re, ht, He, et, tt, gt, Ie, _t, Ge, Ct, it, $e, rt, ut, It, At, St, Vt, nt, ot, Bt, st, kt, qe, yt, Je, vt, lt, Ze, ft, Mt, H, bt, ee, V, W, B, ti, ri, Cn, Wt, Pi, Ut, gi, Ht, fi, bi, Ft, ii, Ci, zi, ui, Dt, Ii, ni, wt, oi, Tt, Vi, pt, R, K, ge, Nt, Ni, cn, dn, Oo, In, Mo, ci, gn, fn, mn, hn, _n, Eo, Vn, zo, Li, Lo, io, jo, xo, Ji, no, Qi, oo, Do, An = $t(
|
|
15750
15750
|
/*adverts*/
|
|
15751
15751
|
t[45]
|
|
15752
15752
|
), Zt = [];
|
|
@@ -15768,33 +15768,33 @@ function UA(t) {
|
|
|
15768
15768
|
let jn = No(t), Bi = jn(t);
|
|
15769
15769
|
return {
|
|
15770
15770
|
c() {
|
|
15771
|
-
e = y("div"), i = y("div"), i.innerHTML = '<strong class="svelte-1a8td5m">Player settings:</strong> <a tabindex="-1" target="_blank" class="docs svelte-1a8td5m" href="https://github.com/beyondwords-io/player/blob/main/doc/player-settings.md">view docs</a>', n =
|
|
15772
|
-
`), r = y("select"), u = y("option"), u.textContent = "small", c = y("option"), c.textContent = "standard", g = y("option"), g.textContent = "large", f = y("option"), f.textContent = "video", A =
|
|
15773
|
-
`), w = y("select"), T = y("option"), T.textContent = "stopped", v = y("option"), v.textContent = "playing", p = y("option"), p.textContent = "paused", z =
|
|
15774
|
-
`), P = y("input"),
|
|
15775
|
-
`),
|
|
15776
|
-
`), te = y("select"), re = y("option"), re.textContent = "auto", _e = y("option"), _e.textContent = "segments", ue = y("option"), ue.textContent = "seconds", Ae = y("option"), Ae.textContent = "seconds-15", ae = y("option"), ae.textContent = "seconds-15-30", b = y("option"), b.textContent = "tracks", C =
|
|
15777
|
-
`), Ve = y("select"), Le = y("option"), Le.textContent = "auto",
|
|
15778
|
-
`), Qe = y("select"), pe = y("option"), pe.textContent = "auto", Ye = y("option"), Ye.textContent = "show", Pe = y("option"), Pe.textContent = "hide", jt =
|
|
15771
|
+
e = y("div"), i = y("div"), i.innerHTML = '<strong class="svelte-1a8td5m">Player settings:</strong> <a tabindex="-1" target="_blank" class="docs svelte-1a8td5m" href="https://github.com/beyondwords-io/player/blob/main/doc/player-settings.md">view docs</a>', n = G(), o = y("br"), s = G(), l = y("div"), a = ie(`playerStyle:
|
|
15772
|
+
`), r = y("select"), u = y("option"), u.textContent = "small", c = y("option"), c.textContent = "standard", g = y("option"), g.textContent = "large", f = y("option"), f.textContent = "video", A = G(), _ = y("div"), k = ie(`playbackState:
|
|
15773
|
+
`), w = y("select"), T = y("option"), T.textContent = "stopped", v = y("option"), v.textContent = "playing", p = y("option"), p.textContent = "paused", z = G(), D = y("div"), S = ie(`playerTitle:
|
|
15774
|
+
`), P = y("input"), X = G(), Y = y("div"), N = ie(`callToAction:
|
|
15775
|
+
`), J = y("input"), oe = G(), le = y("div"), $ = ie(`skipButtonStyle:
|
|
15776
|
+
`), te = y("select"), re = y("option"), re.textContent = "auto", _e = y("option"), _e.textContent = "segments", ue = y("option"), ue.textContent = "seconds", Ae = y("option"), Ae.textContent = "seconds-15", ae = y("option"), ae.textContent = "seconds-15-30", b = y("option"), b.textContent = "tracks", C = G(), F = y("div"), x = ie(`playlistStyle:
|
|
15777
|
+
`), Ve = y("select"), Le = y("option"), Le.textContent = "auto", Ke = y("option"), Ke.textContent = "show", j = y("option"), j.textContent = "show-3", me = y("option"), me.textContent = "show-999", Ee = y("option"), Ee.textContent = "hide", Ne = G(), Xe = y("div"), Me = ie(`playlistToggle:
|
|
15778
|
+
`), Qe = y("select"), pe = y("option"), pe.textContent = "auto", Ye = y("option"), Ye.textContent = "show", Pe = y("option"), Pe.textContent = "hide", jt = G(), Oe = y("div"), je = ie(`advertIndex:
|
|
15779
15779
|
`), ze = y("select"), at = y("option"), at.textContent = "-1 (none)";
|
|
15780
15780
|
for (let he = 0; he < Zt.length; he += 1)
|
|
15781
15781
|
Zt[he].c();
|
|
15782
|
-
xt =
|
|
15783
|
-
`), He = y("select"), et = y("option"), et.textContent = "small", tt = y("option"), tt.textContent = "standard", gt = y("option"), gt.textContent = "large", Ie = y("option"), Ie.textContent = "video", _t =
|
|
15784
|
-
`), it = y("select"), $e = y("option"), $e.textContent = "auto", rt = y("option"), rt.textContent = "left", ut = y("option"), ut.textContent = "center", It = y("option"), It.textContent = "right", At =
|
|
15785
|
-
`), nt = y("select"), ot = y("option"), ot.textContent = "auto", Bt = y("option"), Bt.textContent = "400px", st = y("option"), st.textContent = "30rem", kt = y("option"), kt.textContent = "fit-content", qe = y("option"), qe.textContent = "initial", yt = y("option"), yt.textContent = "0",
|
|
15786
|
-
`), Ze = y("select"), ft = y("option"), ft.textContent = "16px", Mt = y("option"), Mt.textContent = "32px", H = y("option"), H.textContent = "32px 16px", bt = y("option"), bt.textContent = "10px 20px 30px 40px", ee =
|
|
15787
|
-
`), B = y("input"), ti =
|
|
15788
|
-
`), Wt = y("input"), Pi =
|
|
15789
|
-
`), Ht = y("input"), fi =
|
|
15790
|
-
`), ii = y("input"), Ci =
|
|
15791
|
-
`), Dt = y("select"), Ii = y("option"), Ii.textContent = "all", ni = y("option"), ni.textContent = "body", wt = y("option"), wt.textContent = "none", oi = y("option"), oi.textContent = "all-none", Tt = y("option"), Tt.textContent = "none-all", Vi =
|
|
15792
|
-
`),
|
|
15793
|
-
`), ci = y("select"), gn = y("option"), gn.textContent = "all", fn = y("option"), fn.textContent = "body", mn = y("option"), mn.textContent = "none", hn = y("option"), hn.textContent = "all-none", _n = y("option"), _n.textContent = "none-all", Eo =
|
|
15782
|
+
xt = G(), Re = y("div"), ht = ie(`widgetStyle:
|
|
15783
|
+
`), He = y("select"), et = y("option"), et.textContent = "small", tt = y("option"), tt.textContent = "standard", gt = y("option"), gt.textContent = "large", Ie = y("option"), Ie.textContent = "video", _t = G(), Ge = y("div"), Ct = ie(`widgetPosition:
|
|
15784
|
+
`), it = y("select"), $e = y("option"), $e.textContent = "auto", rt = y("option"), rt.textContent = "left", ut = y("option"), ut.textContent = "center", It = y("option"), It.textContent = "right", At = G(), St = y("div"), Vt = ie(`widgetWidth:
|
|
15785
|
+
`), nt = y("select"), ot = y("option"), ot.textContent = "auto", Bt = y("option"), Bt.textContent = "400px", st = y("option"), st.textContent = "30rem", kt = y("option"), kt.textContent = "fit-content", qe = y("option"), qe.textContent = "initial", yt = y("option"), yt.textContent = "0", Je = G(), vt = y("div"), lt = ie(`widgetMargin:
|
|
15786
|
+
`), Ze = y("select"), ft = y("option"), ft.textContent = "16px", Mt = y("option"), Mt.textContent = "32px", H = y("option"), H.textContent = "32px 16px", bt = y("option"), bt.textContent = "10px 20px 30px 40px", ee = G(), V = y("div"), W = ie(`textColor:
|
|
15787
|
+
`), B = y("input"), ti = G(), ri = y("div"), Cn = ie(`backgroundColor:
|
|
15788
|
+
`), Wt = y("input"), Pi = G(), Ut = y("div"), gi = ie(`iconColor:
|
|
15789
|
+
`), Ht = y("input"), fi = G(), bi = y("div"), Ft = ie(`highlightColor:
|
|
15790
|
+
`), ii = y("input"), Ci = G(), zi = y("div"), ui = ie(`highlightSections:
|
|
15791
|
+
`), Dt = y("select"), Ii = y("option"), Ii.textContent = "all", ni = y("option"), ni.textContent = "body", wt = y("option"), wt.textContent = "none", oi = y("option"), oi.textContent = "all-none", Tt = y("option"), Tt.textContent = "none-all", Vi = G(), pt = y("div"), R = ie(`clickableSections:
|
|
15792
|
+
`), K = y("select"), ge = y("option"), ge.textContent = "all", Nt = y("option"), Nt.textContent = "body", Ni = y("option"), Ni.textContent = "none", cn = y("option"), cn.textContent = "all-none", dn = y("option"), dn.textContent = "none-all", Oo = G(), In = y("div"), Mo = ie(`segmentWidgetSections:
|
|
15793
|
+
`), ci = y("select"), gn = y("option"), gn.textContent = "all", fn = y("option"), fn.textContent = "body", mn = y("option"), mn.textContent = "none", hn = y("option"), hn.textContent = "all-none", _n = y("option"), _n.textContent = "none-all", Eo = G(), Vn = y("div"), zo = ie(`segmentWidgetPosition:
|
|
15794
15794
|
`), Li = y("select");
|
|
15795
15795
|
for (let he = 0; he < 12; he += 1)
|
|
15796
15796
|
Bn[he].c();
|
|
15797
|
-
Lo =
|
|
15797
|
+
Lo = G(), si && si.c(), io = G(), jo = y("br"), xo = G(), Ji = y("div"), Bi.c(), no = G(), Qi = y("a"), Qi.textContent = "close", O(i, "class", "heading svelte-1a8td5m"), u.__value = "small", q(u, u.__value), c.__value = "standard", q(c, c.__value), g.__value = "large", q(g, g.__value), f.__value = "video", q(f, f.__value), O(r, "tabindex", -1), O(r, "class", "svelte-1a8td5m"), /*playerStyle*/
|
|
15798
15798
|
t[6] === void 0 && dt(() => (
|
|
15799
15799
|
/*select0_change_handler*/
|
|
15800
15800
|
t[47].call(r)
|
|
@@ -15802,11 +15802,11 @@ function UA(t) {
|
|
|
15802
15802
|
t[20] === void 0 && dt(() => (
|
|
15803
15803
|
/*select1_change_handler*/
|
|
15804
15804
|
t[48].call(w)
|
|
15805
|
-
)), O(_, "class", "control svelte-1a8td5m"), O(P, "tabindex", -1), O(P, "type", "text"), O(P, "class", "svelte-1a8td5m"), O(D, "class", "control svelte-1a8td5m"), O(
|
|
15805
|
+
)), O(_, "class", "control svelte-1a8td5m"), O(P, "tabindex", -1), O(P, "type", "text"), O(P, "class", "svelte-1a8td5m"), O(D, "class", "control svelte-1a8td5m"), O(J, "tabindex", -1), O(J, "type", "text"), O(J, "class", "svelte-1a8td5m"), O(Y, "class", "control svelte-1a8td5m"), re.__value = "auto", q(re, re.__value), _e.__value = "segments", q(_e, _e.__value), ue.__value = "seconds", q(ue, ue.__value), Ae.__value = "seconds-15", q(Ae, Ae.__value), ae.__value = "seconds-15-30", q(ae, ae.__value), b.__value = "tracks", q(b, b.__value), O(te, "tabindex", -1), O(te, "class", "svelte-1a8td5m"), /*skipButtonStyle*/
|
|
15806
15806
|
t[9] === void 0 && dt(() => (
|
|
15807
15807
|
/*select2_change_handler*/
|
|
15808
15808
|
t[51].call(te)
|
|
15809
|
-
)), O(le, "class", "control svelte-1a8td5m"), Le.__value = "auto", q(Le, Le.__value),
|
|
15809
|
+
)), O(le, "class", "control svelte-1a8td5m"), Le.__value = "auto", q(Le, Le.__value), Ke.__value = "show", q(Ke, Ke.__value), j.__value = "show-3", q(j, j.__value), me.__value = "show-999", q(me, me.__value), Ee.__value = "hide", q(Ee, Ee.__value), O(Ve, "tabindex", -1), O(Ve, "class", "svelte-1a8td5m"), /*playlistStyle*/
|
|
15810
15810
|
t[10] === void 0 && dt(() => (
|
|
15811
15811
|
/*select3_change_handler*/
|
|
15812
15812
|
t[52].call(Ve)
|
|
@@ -15814,7 +15814,7 @@ function UA(t) {
|
|
|
15814
15814
|
t[11] === void 0 && dt(() => (
|
|
15815
15815
|
/*select4_change_handler*/
|
|
15816
15816
|
t[53].call(Qe)
|
|
15817
|
-
)), O(
|
|
15817
|
+
)), O(Xe, "class", "control svelte-1a8td5m"), at.__value = -1, q(at, at.__value), O(ze, "tabindex", -1), O(ze, "class", "svelte-1a8td5m"), /*advertIndex*/
|
|
15818
15818
|
t[15] === void 0 && dt(() => (
|
|
15819
15819
|
/*select5_change_handler*/
|
|
15820
15820
|
t[54].call(ze)
|
|
@@ -15826,7 +15826,7 @@ function UA(t) {
|
|
|
15826
15826
|
t[23] === void 0 && dt(() => (
|
|
15827
15827
|
/*select7_change_handler*/
|
|
15828
15828
|
t[56].call(it)
|
|
15829
|
-
)), O(
|
|
15829
|
+
)), O(Ge, "class", "control svelte-1a8td5m"), ot.__value = "auto", q(ot, ot.__value), Bt.__value = "400px", q(Bt, Bt.__value), st.__value = "30rem", q(st, st.__value), kt.__value = "fit-content", q(kt, kt.__value), qe.__value = "initial", q(qe, qe.__value), yt.__value = "0", q(yt, yt.__value), O(nt, "tabindex", -1), O(nt, "class", "svelte-1a8td5m"), /*widgetWidth*/
|
|
15830
15830
|
t[24] === void 0 && dt(() => (
|
|
15831
15831
|
/*select8_change_handler*/
|
|
15832
15832
|
t[57].call(nt)
|
|
@@ -15838,10 +15838,10 @@ function UA(t) {
|
|
|
15838
15838
|
t[34] === void 0 && dt(() => (
|
|
15839
15839
|
/*select10_change_handler*/
|
|
15840
15840
|
t[63].call(Dt)
|
|
15841
|
-
)), O(zi, "class", "control svelte-1a8td5m"), ge.__value = "all", q(ge, ge.__value), Nt.__value = "body", q(Nt, Nt.__value), Ni.__value = "none", q(Ni, Ni.__value), cn.__value = "all-none", q(cn, cn.__value), dn.__value = "none-all", q(dn, dn.__value), O(
|
|
15841
|
+
)), O(zi, "class", "control svelte-1a8td5m"), ge.__value = "all", q(ge, ge.__value), Nt.__value = "body", q(Nt, Nt.__value), Ni.__value = "none", q(Ni, Ni.__value), cn.__value = "all-none", q(cn, cn.__value), dn.__value = "none-all", q(dn, dn.__value), O(K, "tabindex", -1), O(K, "class", "svelte-1a8td5m"), /*clickableSections*/
|
|
15842
15842
|
t[35] === void 0 && dt(() => (
|
|
15843
15843
|
/*select11_change_handler*/
|
|
15844
|
-
t[64].call(
|
|
15844
|
+
t[64].call(K)
|
|
15845
15845
|
)), O(pt, "class", "control svelte-1a8td5m"), gn.__value = "all", q(gn, gn.__value), fn.__value = "body", q(fn, fn.__value), mn.__value = "none", q(mn, mn.__value), hn.__value = "all-none", q(hn, hn.__value), _n.__value = "none-all", q(_n, _n.__value), O(ci, "tabindex", -1), O(ci, "class", "svelte-1a8td5m"), /*segmentWidgetSections*/
|
|
15846
15846
|
t[36] === void 0 && dt(() => (
|
|
15847
15847
|
/*select12_change_handler*/
|
|
@@ -15850,7 +15850,7 @@ function UA(t) {
|
|
|
15850
15850
|
t[37] === void 0 && dt(() => (
|
|
15851
15851
|
/*select13_change_handler*/
|
|
15852
15852
|
t[66].call(Li)
|
|
15853
|
-
)), O(Vn, "class", "control svelte-1a8td5m"), O(Qi, "class", "close svelte-1a8td5m"), O(Qi, "tabindex", -1), O(Qi, "href", "#_"), O(
|
|
15853
|
+
)), O(Vn, "class", "control svelte-1a8td5m"), O(Qi, "class", "close svelte-1a8td5m"), O(Qi, "tabindex", -1), O(Qi, "href", "#_"), O(Ji, "class", "settings-toggle svelte-1a8td5m"), O(e, "class", "control-panel");
|
|
15854
15854
|
},
|
|
15855
15855
|
m(he, ct) {
|
|
15856
15856
|
E(he, e, ct), m(e, i), m(e, n), m(e, o), m(e, s), m(e, l), m(l, a), m(l, r), m(r, u), m(r, c), m(r, g), m(r, f), We(
|
|
@@ -15867,8 +15867,8 @@ function UA(t) {
|
|
|
15867
15867
|
P,
|
|
15868
15868
|
/*playerTitle*/
|
|
15869
15869
|
t[7]
|
|
15870
|
-
), m(e,
|
|
15871
|
-
|
|
15870
|
+
), m(e, X), m(e, Y), m(Y, N), m(Y, J), q(
|
|
15871
|
+
J,
|
|
15872
15872
|
/*callToAction*/
|
|
15873
15873
|
t[8]
|
|
15874
15874
|
), m(e, oe), m(e, le), m(le, $), m(le, te), m(te, re), m(te, _e), m(te, ue), m(te, Ae), m(te, ae), m(te, b), We(
|
|
@@ -15876,12 +15876,12 @@ function UA(t) {
|
|
|
15876
15876
|
/*skipButtonStyle*/
|
|
15877
15877
|
t[9],
|
|
15878
15878
|
!0
|
|
15879
|
-
), m(e, C), m(e, F), m(F, x), m(F, Ve), m(Ve, Le), m(Ve,
|
|
15879
|
+
), m(e, C), m(e, F), m(F, x), m(F, Ve), m(Ve, Le), m(Ve, Ke), m(Ve, j), m(Ve, me), m(Ve, Ee), We(
|
|
15880
15880
|
Ve,
|
|
15881
15881
|
/*playlistStyle*/
|
|
15882
15882
|
t[10],
|
|
15883
15883
|
!0
|
|
15884
|
-
), m(e, Ne), m(e,
|
|
15884
|
+
), m(e, Ne), m(e, Xe), m(Xe, Me), m(Xe, Qe), m(Qe, pe), m(Qe, Ye), m(Qe, Pe), We(
|
|
15885
15885
|
Qe,
|
|
15886
15886
|
/*playlistToggle*/
|
|
15887
15887
|
t[11],
|
|
@@ -15899,7 +15899,7 @@ function UA(t) {
|
|
|
15899
15899
|
/*widgetStyle*/
|
|
15900
15900
|
t[22],
|
|
15901
15901
|
!0
|
|
15902
|
-
), m(e, _t), m(e,
|
|
15902
|
+
), m(e, _t), m(e, Ge), m(Ge, Ct), m(Ge, it), m(it, $e), m(it, rt), m(it, ut), m(it, It), We(
|
|
15903
15903
|
it,
|
|
15904
15904
|
/*widgetPosition*/
|
|
15905
15905
|
t[23],
|
|
@@ -15909,7 +15909,7 @@ function UA(t) {
|
|
|
15909
15909
|
/*widgetWidth*/
|
|
15910
15910
|
t[24],
|
|
15911
15911
|
!0
|
|
15912
|
-
), m(e,
|
|
15912
|
+
), m(e, Je), m(e, vt), m(vt, lt), m(vt, Ze), m(Ze, ft), m(Ze, Mt), m(Ze, H), m(Ze, bt), We(
|
|
15913
15913
|
Ze,
|
|
15914
15914
|
/*widgetMargin*/
|
|
15915
15915
|
t[25],
|
|
@@ -15935,8 +15935,8 @@ function UA(t) {
|
|
|
15935
15935
|
/*highlightSections*/
|
|
15936
15936
|
t[34],
|
|
15937
15937
|
!0
|
|
15938
|
-
), m(e, Vi), m(e, pt), m(pt, R), m(pt,
|
|
15939
|
-
|
|
15938
|
+
), m(e, Vi), m(e, pt), m(pt, R), m(pt, K), m(K, ge), m(K, Nt), m(K, Ni), m(K, cn), m(K, dn), We(
|
|
15939
|
+
K,
|
|
15940
15940
|
/*clickableSections*/
|
|
15941
15941
|
t[35],
|
|
15942
15942
|
!0
|
|
@@ -15953,7 +15953,7 @@ function UA(t) {
|
|
|
15953
15953
|
/*segmentWidgetPosition*/
|
|
15954
15954
|
t[37],
|
|
15955
15955
|
!0
|
|
15956
|
-
), m(e, Lo), si && si.m(e, null), m(e, io), m(e, jo), m(e, xo), m(e,
|
|
15956
|
+
), m(e, Lo), si && si.m(e, null), m(e, io), m(e, jo), m(e, xo), m(e, Ji), Bi.m(Ji, null), m(Ji, no), m(Ji, Qi), oo || (Do = [
|
|
15957
15957
|
Z(
|
|
15958
15958
|
r,
|
|
15959
15959
|
"change",
|
|
@@ -15973,7 +15973,7 @@ function UA(t) {
|
|
|
15973
15973
|
t[49]
|
|
15974
15974
|
),
|
|
15975
15975
|
Z(
|
|
15976
|
-
|
|
15976
|
+
J,
|
|
15977
15977
|
"input",
|
|
15978
15978
|
/*input1_input_handler*/
|
|
15979
15979
|
t[50]
|
|
@@ -16057,7 +16057,7 @@ function UA(t) {
|
|
|
16057
16057
|
t[63]
|
|
16058
16058
|
),
|
|
16059
16059
|
Z(
|
|
16060
|
-
|
|
16060
|
+
K,
|
|
16061
16061
|
"change",
|
|
16062
16062
|
/*select11_change_handler*/
|
|
16063
16063
|
t[64]
|
|
@@ -16100,9 +16100,9 @@ function UA(t) {
|
|
|
16100
16100
|
/*playerTitle*/
|
|
16101
16101
|
he[7]
|
|
16102
16102
|
), ct[0] & /*callToAction*/
|
|
16103
|
-
256 &&
|
|
16103
|
+
256 && J.value !== /*callToAction*/
|
|
16104
16104
|
he[8] && q(
|
|
16105
|
-
|
|
16105
|
+
J,
|
|
16106
16106
|
/*callToAction*/
|
|
16107
16107
|
he[8]
|
|
16108
16108
|
), ct[0] & /*skipButtonStyle*/
|
|
@@ -16191,7 +16191,7 @@ function UA(t) {
|
|
|
16191
16191
|
he[34]
|
|
16192
16192
|
), ct[1] & /*clickableSections*/
|
|
16193
16193
|
16 && We(
|
|
16194
|
-
|
|
16194
|
+
K,
|
|
16195
16195
|
/*clickableSections*/
|
|
16196
16196
|
he[35]
|
|
16197
16197
|
), ct[1] & /*segmentWidgetSections*/
|
|
@@ -16205,7 +16205,7 @@ function UA(t) {
|
|
|
16205
16205
|
/*segmentWidgetPosition*/
|
|
16206
16206
|
he[37]
|
|
16207
16207
|
), /*showAdvancedSettings*/
|
|
16208
|
-
he[46] ? si ? si.p(he, ct) : (si = Na(he), si.c(), si.m(e, io)) : si && (si.d(1), si = null), jn === (jn = No(he)) && Bi ? Bi.p(he, ct) : (Bi.d(1), Bi = jn(he), Bi && (Bi.c(), Bi.m(
|
|
16208
|
+
he[46] ? si ? si.p(he, ct) : (si = Na(he), si.c(), si.m(e, io)) : si && (si.d(1), si = null), jn === (jn = No(he)) && Bi ? Bi.p(he, ct) : (Bi.d(1), Bi = jn(he), Bi && (Bi.c(), Bi.m(Ji, no)));
|
|
16209
16209
|
},
|
|
16210
16210
|
i: Q,
|
|
16211
16211
|
o: Q,
|
|
@@ -16216,12 +16216,12 @@ function UA(t) {
|
|
|
16216
16216
|
}
|
|
16217
16217
|
function HA(t, e, i) {
|
|
16218
16218
|
import("./././././././././style.js");
|
|
16219
|
-
let { controlPanel: n } = e, { projectId: o } = e, { contentId: s } = e, { playlistId: l } = e, { sourceId: a } = e, { sourceUrl: r } = e, { showUserInterface: u } = e, { playerStyle: c } = e, { playerTitle: g } = e, { callToAction: f } = e, { skipButtonStyle: A } = e, { playlistStyle: _ } = e, { playlistToggle: k } = e, { mediaSession: w } = e, { content: T } = e, { contentIndex: v } = e, { introsOutros: p } = e, { introsOutrosIndex: z } = e, { adverts: D } = e, { advertIndex: S } = e, { persistentAdImage: P } = e, { persistentIndex:
|
|
16219
|
+
let { controlPanel: n } = e, { projectId: o } = e, { contentId: s } = e, { playlistId: l } = e, { sourceId: a } = e, { sourceUrl: r } = e, { showUserInterface: u } = e, { playerStyle: c } = e, { playerTitle: g } = e, { callToAction: f } = e, { skipButtonStyle: A } = e, { playlistStyle: _ } = e, { playlistToggle: k } = e, { mediaSession: w } = e, { content: T } = e, { contentIndex: v } = e, { introsOutros: p } = e, { introsOutrosIndex: z } = e, { adverts: D } = e, { advertIndex: S } = e, { persistentAdImage: P } = e, { persistentIndex: X } = e, { duration: Y } = e, { currentTime: N } = e, { playbackState: J } = e, { playbackRate: oe } = e, { widgetStyle: le } = e, { widgetPosition: $ } = e, { widgetWidth: te } = e, { widgetMargin: re } = e, { widgetTarget: _e } = e, { textColor: ue } = e, { backgroundColor: Ae } = e, { iconColor: ae } = e, { highlightColor: b } = e, { videoTextColor: C } = e, { videoIconColor: F } = e, { logoIconEnabled: x } = e, { highlightSections: Ve } = e, { clickableSections: Le } = e, { segmentWidgetSections: Ke } = e, { segmentWidgetPosition: j } = e, { advertConsent: me } = e, { analyticsConsent: Ee } = e, { analyticsCustomUrl: Ne } = e, { analyticsTag: Xe } = e, Me = !1;
|
|
16220
16220
|
function Qe() {
|
|
16221
16221
|
c = Et(this), i(6, c);
|
|
16222
16222
|
}
|
|
16223
16223
|
function pe() {
|
|
16224
|
-
|
|
16224
|
+
J = Et(this), i(20, J);
|
|
16225
16225
|
}
|
|
16226
16226
|
function Ye() {
|
|
16227
16227
|
g = this.value, i(7, g);
|
|
@@ -16271,8 +16271,8 @@ function HA(t, e, i) {
|
|
|
16271
16271
|
function _t() {
|
|
16272
16272
|
Le = Et(this), i(35, Le);
|
|
16273
16273
|
}
|
|
16274
|
-
function
|
|
16275
|
-
|
|
16274
|
+
function Ge() {
|
|
16275
|
+
Ke = Et(this), i(36, Ke);
|
|
16276
16276
|
}
|
|
16277
16277
|
function Ct() {
|
|
16278
16278
|
j = Et(this), i(37, j);
|
|
@@ -16314,7 +16314,7 @@ function HA(t, e, i) {
|
|
|
16314
16314
|
P = Et(this), i(16, P);
|
|
16315
16315
|
}
|
|
16316
16316
|
function kt() {
|
|
16317
|
-
|
|
16317
|
+
X = Et(this), i(17, X);
|
|
16318
16318
|
}
|
|
16319
16319
|
function qe() {
|
|
16320
16320
|
Y = this.value, i(18, Y);
|
|
@@ -16322,7 +16322,7 @@ function HA(t, e, i) {
|
|
|
16322
16322
|
function yt() {
|
|
16323
16323
|
N = this.value, i(19, N);
|
|
16324
16324
|
}
|
|
16325
|
-
function
|
|
16325
|
+
function Je() {
|
|
16326
16326
|
oe = this.value, i(21, oe);
|
|
16327
16327
|
}
|
|
16328
16328
|
function vt() {
|
|
@@ -16341,11 +16341,11 @@ function HA(t, e, i) {
|
|
|
16341
16341
|
Ne = this.value, i(40, Ne);
|
|
16342
16342
|
}
|
|
16343
16343
|
function H() {
|
|
16344
|
-
|
|
16344
|
+
Xe = this.value, i(41, Xe);
|
|
16345
16345
|
}
|
|
16346
16346
|
const bt = () => i(46, Me = !1), ee = () => i(46, Me = !0), V = () => n.remove();
|
|
16347
16347
|
return t.$$set = (W) => {
|
|
16348
|
-
"controlPanel" in W && i(42, n = W.controlPanel), "projectId" in W && i(0, o = W.projectId), "contentId" in W && i(1, s = W.contentId), "playlistId" in W && i(2, l = W.playlistId), "sourceId" in W && i(3, a = W.sourceId), "sourceUrl" in W && i(4, r = W.sourceUrl), "showUserInterface" in W && i(5, u = W.showUserInterface), "playerStyle" in W && i(6, c = W.playerStyle), "playerTitle" in W && i(7, g = W.playerTitle), "callToAction" in W && i(8, f = W.callToAction), "skipButtonStyle" in W && i(9, A = W.skipButtonStyle), "playlistStyle" in W && i(10, _ = W.playlistStyle), "playlistToggle" in W && i(11, k = W.playlistToggle), "mediaSession" in W && i(12, w = W.mediaSession), "content" in W && i(43, T = W.content), "contentIndex" in W && i(13, v = W.contentIndex), "introsOutros" in W && i(44, p = W.introsOutros), "introsOutrosIndex" in W && i(14, z = W.introsOutrosIndex), "adverts" in W && i(45, D = W.adverts), "advertIndex" in W && i(15, S = W.advertIndex), "persistentAdImage" in W && i(16, P = W.persistentAdImage), "persistentIndex" in W && i(17,
|
|
16348
|
+
"controlPanel" in W && i(42, n = W.controlPanel), "projectId" in W && i(0, o = W.projectId), "contentId" in W && i(1, s = W.contentId), "playlistId" in W && i(2, l = W.playlistId), "sourceId" in W && i(3, a = W.sourceId), "sourceUrl" in W && i(4, r = W.sourceUrl), "showUserInterface" in W && i(5, u = W.showUserInterface), "playerStyle" in W && i(6, c = W.playerStyle), "playerTitle" in W && i(7, g = W.playerTitle), "callToAction" in W && i(8, f = W.callToAction), "skipButtonStyle" in W && i(9, A = W.skipButtonStyle), "playlistStyle" in W && i(10, _ = W.playlistStyle), "playlistToggle" in W && i(11, k = W.playlistToggle), "mediaSession" in W && i(12, w = W.mediaSession), "content" in W && i(43, T = W.content), "contentIndex" in W && i(13, v = W.contentIndex), "introsOutros" in W && i(44, p = W.introsOutros), "introsOutrosIndex" in W && i(14, z = W.introsOutrosIndex), "adverts" in W && i(45, D = W.adverts), "advertIndex" in W && i(15, S = W.advertIndex), "persistentAdImage" in W && i(16, P = W.persistentAdImage), "persistentIndex" in W && i(17, X = W.persistentIndex), "duration" in W && i(18, Y = W.duration), "currentTime" in W && i(19, N = W.currentTime), "playbackState" in W && i(20, J = W.playbackState), "playbackRate" in W && i(21, oe = W.playbackRate), "widgetStyle" in W && i(22, le = W.widgetStyle), "widgetPosition" in W && i(23, $ = W.widgetPosition), "widgetWidth" in W && i(24, te = W.widgetWidth), "widgetMargin" in W && i(25, re = W.widgetMargin), "widgetTarget" in W && i(26, _e = W.widgetTarget), "textColor" in W && i(27, ue = W.textColor), "backgroundColor" in W && i(28, Ae = W.backgroundColor), "iconColor" in W && i(29, ae = W.iconColor), "highlightColor" in W && i(30, b = W.highlightColor), "videoTextColor" in W && i(31, C = W.videoTextColor), "videoIconColor" in W && i(32, F = W.videoIconColor), "logoIconEnabled" in W && i(33, x = W.logoIconEnabled), "highlightSections" in W && i(34, Ve = W.highlightSections), "clickableSections" in W && i(35, Le = W.clickableSections), "segmentWidgetSections" in W && i(36, Ke = W.segmentWidgetSections), "segmentWidgetPosition" in W && i(37, j = W.segmentWidgetPosition), "advertConsent" in W && i(38, me = W.advertConsent), "analyticsConsent" in W && i(39, Ee = W.analyticsConsent), "analyticsCustomUrl" in W && i(40, Ne = W.analyticsCustomUrl), "analyticsTag" in W && i(41, Xe = W.analyticsTag);
|
|
16349
16349
|
}, [
|
|
16350
16350
|
o,
|
|
16351
16351
|
s,
|
|
@@ -16364,10 +16364,10 @@ function HA(t, e, i) {
|
|
|
16364
16364
|
z,
|
|
16365
16365
|
S,
|
|
16366
16366
|
P,
|
|
16367
|
-
|
|
16367
|
+
X,
|
|
16368
16368
|
Y,
|
|
16369
16369
|
N,
|
|
16370
|
-
|
|
16370
|
+
J,
|
|
16371
16371
|
oe,
|
|
16372
16372
|
le,
|
|
16373
16373
|
$,
|
|
@@ -16383,12 +16383,12 @@ function HA(t, e, i) {
|
|
|
16383
16383
|
x,
|
|
16384
16384
|
Ve,
|
|
16385
16385
|
Le,
|
|
16386
|
-
|
|
16386
|
+
Ke,
|
|
16387
16387
|
j,
|
|
16388
16388
|
me,
|
|
16389
16389
|
Ee,
|
|
16390
16390
|
Ne,
|
|
16391
|
-
|
|
16391
|
+
Xe,
|
|
16392
16392
|
n,
|
|
16393
16393
|
T,
|
|
16394
16394
|
p,
|
|
@@ -16412,7 +16412,7 @@ function HA(t, e, i) {
|
|
|
16412
16412
|
gt,
|
|
16413
16413
|
Ie,
|
|
16414
16414
|
_t,
|
|
16415
|
-
|
|
16415
|
+
Ge,
|
|
16416
16416
|
Ct,
|
|
16417
16417
|
it,
|
|
16418
16418
|
$e,
|
|
@@ -16429,7 +16429,7 @@ function HA(t, e, i) {
|
|
|
16429
16429
|
kt,
|
|
16430
16430
|
qe,
|
|
16431
16431
|
yt,
|
|
16432
|
-
|
|
16432
|
+
Je,
|
|
16433
16433
|
vt,
|
|
16434
16434
|
lt,
|
|
16435
16435
|
Ze,
|
|
@@ -16779,26 +16779,26 @@ class qA extends Te {
|
|
|
16779
16779
|
}
|
|
16780
16780
|
}
|
|
16781
16781
|
const YA = (t, e, i) => {
|
|
16782
|
-
|
|
16782
|
+
KA(t);
|
|
16783
16783
|
const n = new Image();
|
|
16784
16784
|
return n.setAttribute("crossorigin", "anonymous"), new Promise((o, s) => {
|
|
16785
16785
|
n.addEventListener("load", ZA(n, e, i, o, s)), n.addEventListener("error", s), n.src = t;
|
|
16786
16786
|
});
|
|
16787
16787
|
}, ZA = (t, e, i, n, o) => () => {
|
|
16788
16788
|
const s = document.createElement("canvas"), l = s.getContext("2d");
|
|
16789
|
-
s.width = e, s.height = i, l.drawImage(t, 0, 0, e, i), s.toBlob(
|
|
16790
|
-
}, Yn = {},
|
|
16789
|
+
s.width = e, s.height = i, l.drawImage(t, 0, 0, e, i), s.toBlob(XA(t, e, i, n, o));
|
|
16790
|
+
}, Yn = {}, XA = (t, e, i, n, o) => (s) => {
|
|
16791
16791
|
var a;
|
|
16792
16792
|
s || o();
|
|
16793
16793
|
const l = URL.createObjectURL(s);
|
|
16794
16794
|
Yn[a = t.src] || (Yn[a] = []), Yn[t.src].push(l), n({ src: l, sizes: `${e}x${i}`, type: "image/png" });
|
|
16795
|
-
},
|
|
16795
|
+
}, KA = (t) => {
|
|
16796
16796
|
Object.keys(Yn).filter((n) => n !== t).map((n) => Yn[n]).flat().forEach((n) => URL.revokeObjectURL(n));
|
|
16797
|
-
},
|
|
16797
|
+
}, GA = (t, e, i) => Ri(void 0, null, function* () {
|
|
16798
16798
|
t = yield t;
|
|
16799
16799
|
const n = t.innerHTML;
|
|
16800
16800
|
return { src: `data:image/svg+xml,${encodeURIComponent(n)}`, sizes: `${e}x${i}`, type: "image/svg+xml" };
|
|
16801
|
-
}),
|
|
16801
|
+
}), JA = (t, e, i) => Yt(t, e, i, 1), QA = (t, e, i) => Ce(t, e, e === "style" ? e3(i) : i), $A = /;(?!([^()]*\([^()]*\))*[^()]*\))/, e3 = (t) => t.split($A).filter((e) => e).map((e) => e + " !important").join(";");
|
|
16802
16802
|
function Ha(t, e, i) {
|
|
16803
16803
|
const n = t.slice();
|
|
16804
16804
|
return n[41] = e[i], n[42] = e, n[43] = i, n;
|
|
@@ -16834,7 +16834,7 @@ function qa(t) {
|
|
|
16834
16834
|
);
|
|
16835
16835
|
return {
|
|
16836
16836
|
c() {
|
|
16837
|
-
e = y("div"), fe(i.$$.fragment), n =
|
|
16837
|
+
e = y("div"), fe(i.$$.fragment), n = G(), JA(e, "display", "none");
|
|
16838
16838
|
},
|
|
16839
16839
|
m(r, u) {
|
|
16840
16840
|
E(r, e, u), ce(i, e, null), m(e, n), l(), s = !0;
|
|
@@ -16920,7 +16920,7 @@ function t3(t) {
|
|
|
16920
16920
|
};
|
|
16921
16921
|
}
|
|
16922
16922
|
function i3(t, e, i) {
|
|
16923
|
-
let n, o, s, l, a, r, u, c, g, f, A, _, k, w, T, v, p, z, D, S, P,
|
|
16923
|
+
let n, o, s, l, a, r, u, c, g, f, A, _, k, w, T, v, p, z, D, S, P, X;
|
|
16924
16924
|
const Y = [96, 128, 192, 256, 384, 512], N = [
|
|
16925
16925
|
"hangup",
|
|
16926
16926
|
"nextslide",
|
|
@@ -16937,25 +16937,25 @@ function i3(t, e, i) {
|
|
|
16937
16937
|
"togglecamera",
|
|
16938
16938
|
"togglemicrophone"
|
|
16939
16939
|
];
|
|
16940
|
-
let { content:
|
|
16940
|
+
let { content: J = [] } = e, { contentIndex: oe = 0 } = e, { activeAdvert: le = void 0 } = e, { persistentAdvert: $ = void 0 } = e, { companionAdvert: te = void 0 } = e, { duration: re = 0 } = e, { playbackState: _e = "stopped" } = e, { skipButtonStyle: ue = "auto" } = e, { backgroundColor: Ae = "#f5f5f5" } = e, { iconColor: ae = "black" } = e, { onEvent: b = () => {
|
|
16941
16941
|
} } = e, C = [], F = /* @__PURE__ */ new Set(), x = Y.map(() => {
|
|
16942
16942
|
}), Ve = Y.map(() => {
|
|
16943
16943
|
});
|
|
16944
16944
|
const Le = () => i(16, F = F.add(T));
|
|
16945
|
-
function
|
|
16945
|
+
function Ke(j, me) {
|
|
16946
16946
|
se[j ? "unshift" : "push"](() => {
|
|
16947
16947
|
x[me] = j, i(0, x);
|
|
16948
16948
|
});
|
|
16949
16949
|
}
|
|
16950
16950
|
return t.$$set = (j) => {
|
|
16951
|
-
"content" in j && i(4,
|
|
16951
|
+
"content" in j && i(4, J = j.content), "contentIndex" in j && i(5, oe = j.contentIndex), "activeAdvert" in j && i(6, le = j.activeAdvert), "persistentAdvert" in j && i(7, $ = j.persistentAdvert), "companionAdvert" in j && i(8, te = j.companionAdvert), "duration" in j && i(9, re = j.duration), "playbackState" in j && i(10, _e = j.playbackState), "skipButtonStyle" in j && i(11, ue = j.skipButtonStyle), "backgroundColor" in j && i(12, Ae = j.backgroundColor), "iconColor" in j && i(13, ae = j.iconColor), "onEvent" in j && i(14, b = j.onEvent);
|
|
16952
16952
|
}, t.$$.update = () => {
|
|
16953
16953
|
t.$$.dirty[0] & /*playbackState*/
|
|
16954
16954
|
1024 && i(34, n = _e === "stopped"), t.$$.dirty[0] & /*activeAdvert*/
|
|
16955
16955
|
64 | t.$$.dirty[1] & /*isStopped*/
|
|
16956
16956
|
8 && i(36, o = le && !n), t.$$.dirty[0] & /*content*/
|
|
16957
|
-
16 && i(37, s =
|
|
16958
|
-
48 && i(28, l =
|
|
16957
|
+
16 && i(37, s = J.length > 1), t.$$.dirty[0] & /*content, contentIndex*/
|
|
16958
|
+
48 && i(28, l = J[oe]), t.$$.dirty[0] & /*skipButtonStyle*/
|
|
16959
16959
|
2048 | t.$$.dirty[1] & /*isPlaylist*/
|
|
16960
16960
|
64 && i(20, a = ue === "auto" ? s ? "tracks" : "segments" : ue), t.$$.dirty[0] & /*skipStyle*/
|
|
16961
16961
|
1048576 && i(22, r = parseFloat(a.split("-")[1] || 10)), t.$$.dirty[0] & /*skipStyle, backwardsSeconds*/
|
|
@@ -16977,12 +16977,12 @@ function i3(t, e, i) {
|
|
|
16977
16977
|
4 && i(29, T = F.has(w) ? null : w), t.$$.dirty[0] & /*imageUrl*/
|
|
16978
16978
|
536870912 && i(32, v = T ? Y.map((j) => YA(T, j, j)) : []), t.$$.dirty[0] & /*imageUrl*/
|
|
16979
16979
|
536870912 && i(31, p = T ? [{ src: T, sizes: "any" }] : []), t.$$.dirty[0] & /*imageUrl, renderedSvgs*/
|
|
16980
|
-
537001984 && i(30, z = T ? [] : Y.map((j, me) =>
|
|
16980
|
+
537001984 && i(30, z = T ? [] : Y.map((j, me) => GA(Ve[me], j, j))), t.$$.dirty[0] & /*svgArtworks*/
|
|
16981
16981
|
1073741824 | t.$$.dirty[1] & /*pngArtworks, urlArtworks*/
|
|
16982
16982
|
3 && i(27, D = Promise.all([...v, ...p, ...z])), t.$$.dirty[0] & /*contentItem*/
|
|
16983
16983
|
268435456 && i(26, S = (l == null ? void 0 : l.title) || ""), t.$$.dirty[0] & /*artworks*/
|
|
16984
16984
|
134217728 && D.then((j) => i(15, C = j)).catch(Le), t.$$.dirty[0] & /*title, artist, album, artwork*/
|
|
16985
|
-
117473280 && (navigator.mediaSession.metadata = new MediaMetadata({ title: S, artist: P, album:
|
|
16985
|
+
117473280 && (navigator.mediaSession.metadata = new MediaMetadata({ title: S, artist: P, album: X, artwork: C })), t.$$.dirty[0] & /*onEvent*/
|
|
16986
16986
|
16384 && navigator.mediaSession.setActionHandler("play", () => {
|
|
16987
16987
|
b(be({
|
|
16988
16988
|
type: "PressedPlay",
|
|
@@ -17043,7 +17043,7 @@ function i3(t, e, i) {
|
|
|
17043
17043
|
initiatedBy: "media-session-api"
|
|
17044
17044
|
}));
|
|
17045
17045
|
} : null);
|
|
17046
|
-
}, i(25, P = ""), i(24,
|
|
17046
|
+
}, i(25, P = ""), i(24, X = ""), navigator.mediaSession.setByPlayer = !0, N.forEach((j) => {
|
|
17047
17047
|
try {
|
|
17048
17048
|
navigator.mediaSession.setActionHandler(j, null);
|
|
17049
17049
|
} catch (me) {
|
|
@@ -17053,7 +17053,7 @@ function i3(t, e, i) {
|
|
|
17053
17053
|
_,
|
|
17054
17054
|
A,
|
|
17055
17055
|
Y,
|
|
17056
|
-
|
|
17056
|
+
J,
|
|
17057
17057
|
oe,
|
|
17058
17058
|
le,
|
|
17059
17059
|
$,
|
|
@@ -17073,7 +17073,7 @@ function i3(t, e, i) {
|
|
|
17073
17073
|
c,
|
|
17074
17074
|
r,
|
|
17075
17075
|
f,
|
|
17076
|
-
|
|
17076
|
+
X,
|
|
17077
17077
|
P,
|
|
17078
17078
|
S,
|
|
17079
17079
|
D,
|
|
@@ -17087,7 +17087,7 @@ function i3(t, e, i) {
|
|
|
17087
17087
|
k,
|
|
17088
17088
|
o,
|
|
17089
17089
|
s,
|
|
17090
|
-
|
|
17090
|
+
Ke
|
|
17091
17091
|
];
|
|
17092
17092
|
}
|
|
17093
17093
|
class n3 extends Te {
|
|
@@ -17187,7 +17187,7 @@ function Za(t) {
|
|
|
17187
17187
|
let e, i, n, o;
|
|
17188
17188
|
return {
|
|
17189
17189
|
c() {
|
|
17190
|
-
e = y("script"), n =
|
|
17190
|
+
e = y("script"), n = G(), o = y("script"), o.textContent = `window.dataLayer = window.dataLayer || [];
|
|
17191
17191
|
function gtag() { dataLayer.push(arguments); }
|
|
17192
17192
|
gtag("js", new Date());`, e.async = !0, Di(e.src, i = "https://www.googletagmanager.com/gtag/js?id=" + /*analyticsTag*/
|
|
17193
17193
|
t[0]) || Ya(e, "src", i);
|
|
@@ -17243,13 +17243,13 @@ class r3 extends Te {
|
|
|
17243
17243
|
this.$$set({ analyticsTag: e }), d();
|
|
17244
17244
|
}
|
|
17245
17245
|
}
|
|
17246
|
-
const
|
|
17247
|
-
function
|
|
17246
|
+
const Xa = (t, e, i) => Ce(t, e, e === "style" ? c3(i) : i), u3 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, c3 = (t) => t.split(u3).filter((e) => e).map((e) => e + " !important").join(";");
|
|
17247
|
+
function Ka(t) {
|
|
17248
17248
|
let e, i;
|
|
17249
17249
|
return {
|
|
17250
17250
|
c() {
|
|
17251
17251
|
e = y("script"), e.async = !0, Di(e.src, i = "https://geo.ads.audio.thisisdax.com/bulk_sync.js?cb=" + /*cacheBuster*/
|
|
17252
|
-
t[0]) ||
|
|
17252
|
+
t[0]) || Xa(e, "src", i);
|
|
17253
17253
|
},
|
|
17254
17254
|
m(n, o) {
|
|
17255
17255
|
E(n, e, o);
|
|
@@ -17257,7 +17257,7 @@ function Ga(t) {
|
|
|
17257
17257
|
p(n, o) {
|
|
17258
17258
|
o & /*cacheBuster*/
|
|
17259
17259
|
1 && !Di(e.src, i = "https://geo.ads.audio.thisisdax.com/bulk_sync.js?cb=" + /*cacheBuster*/
|
|
17260
|
-
n[0]) &&
|
|
17260
|
+
n[0]) && Xa(e, "src", i);
|
|
17261
17261
|
},
|
|
17262
17262
|
d(n) {
|
|
17263
17263
|
n && M(e);
|
|
@@ -17266,7 +17266,7 @@ function Ga(t) {
|
|
|
17266
17266
|
}
|
|
17267
17267
|
function d3(t) {
|
|
17268
17268
|
let e, i = !/*alreadyLoaded*/
|
|
17269
|
-
t[1] &&
|
|
17269
|
+
t[1] && Ka(t);
|
|
17270
17270
|
return {
|
|
17271
17271
|
c() {
|
|
17272
17272
|
i && i.c(), e = Ei();
|
|
@@ -17276,7 +17276,7 @@ function d3(t) {
|
|
|
17276
17276
|
},
|
|
17277
17277
|
p(n, [o]) {
|
|
17278
17278
|
/*alreadyLoaded*/
|
|
17279
|
-
n[1] ? i && (i.d(1), i = null) : i ? i.p(n, o) : (i =
|
|
17279
|
+
n[1] ? i && (i.d(1), i = null) : i ? i.p(n, o) : (i = Ka(n), i.c(), i.m(e.parentNode, e));
|
|
17280
17280
|
},
|
|
17281
17281
|
i: Q,
|
|
17282
17282
|
o: Q,
|
|
@@ -17380,8 +17380,8 @@ const hl = (t, e) => {
|
|
|
17380
17380
|
return;
|
|
17381
17381
|
const o = [...t.classList].filter((s) => !e.includes(s)).some((s) => s.startsWith("beyondwords-")) ? e.filter((s) => s !== "bwp") : e;
|
|
17382
17382
|
t.classList.remove(...o);
|
|
17383
|
-
},
|
|
17384
|
-
var ko, vs,
|
|
17383
|
+
}, Ga = (t, e, i) => ["beyondwords-widget", "bwp", `id-${t}`, `position-${e}`, `for-${i}-player`], Ja = ["beyondwords-relative", "bwp"];
|
|
17384
|
+
var ko, vs, Xr, bs, Kr, ks, Gr;
|
|
17385
17385
|
const on = class on {
|
|
17386
17386
|
constructor(e) {
|
|
17387
17387
|
// Add the container next to the first DOM node that matches the segment's
|
|
@@ -17401,22 +17401,22 @@ const on = class on {
|
|
|
17401
17401
|
this.update(null, "none");
|
|
17402
17402
|
}
|
|
17403
17403
|
};
|
|
17404
|
-
ko = new WeakMap(), vs = new WeakSet(),
|
|
17404
|
+
ko = new WeakMap(), vs = new WeakSet(), Xr = function(e, i, n, o, s) {
|
|
17405
17405
|
var c;
|
|
17406
|
-
const l = U(c = i, ks,
|
|
17407
|
-
["2-oclock", "3-oclock", "4-oclock", "8-oclock", "9-oclock", "10-oclock"].includes(o) && l.classList.add(...
|
|
17406
|
+
const l = U(c = i, ks, Gr).call(c, n);
|
|
17407
|
+
["2-oclock", "3-oclock", "4-oclock", "8-oclock", "9-oclock", "10-oclock"].includes(o) && l.classList.add(...Ja);
|
|
17408
17408
|
const r = document.createElement("div");
|
|
17409
|
-
r.classList.add(...
|
|
17410
|
-
}, bs = new WeakSet(),
|
|
17411
|
-
const l =
|
|
17409
|
+
r.classList.add(...Ga(e, o, s)), ["11-oclock", "12-oclock", "1-oclock"].includes(o) ? l.insertBefore(r, l.firstChild) : l.appendChild(r), i.containers.push(r), i.onUpdate(i.containers);
|
|
17410
|
+
}, bs = new WeakSet(), Kr = function(e, i, n, o, s) {
|
|
17411
|
+
const l = Ga(e, o, s);
|
|
17412
17412
|
for (let a = 0; a < i.containers.length; a += 1) {
|
|
17413
17413
|
if (!l.every((c) => i.containers[a].classList.contains(c)))
|
|
17414
17414
|
continue;
|
|
17415
17415
|
const u = i.containers[a].parentNode;
|
|
17416
|
-
hl(u,
|
|
17416
|
+
hl(u, Ja), i.containers[a].remove(), i.containers.splice(a, 1), a -= 1;
|
|
17417
17417
|
}
|
|
17418
17418
|
i.onUpdate(i.containers);
|
|
17419
|
-
}, ks = new WeakSet(),
|
|
17419
|
+
}, ks = new WeakSet(), Gr = function(e) {
|
|
17420
17420
|
var s;
|
|
17421
17421
|
const i = e.marker, n = (s = e.segmentElement) == null ? void 0 : s.getAttribute("data-beyondwords-marker");
|
|
17422
17422
|
let o;
|
|
@@ -17425,10 +17425,10 @@ ko = new WeakMap(), vs = new WeakSet(), Kr = function(e, i, n, o, s) {
|
|
|
17425
17425
|
o = document.querySelectorAll(r);
|
|
17426
17426
|
}
|
|
17427
17427
|
return o.length > 0 ? o[0] : e.segmentElement;
|
|
17428
|
-
}, Be(on, vs), Be(on, bs), Be(on, ko, new Ml(U(on, vs,
|
|
17428
|
+
}, Be(on, vs), Be(on, bs), Be(on, ko, new Ml(U(on, vs, Xr), U(on, bs, Kr)));
|
|
17429
17429
|
let _l = on;
|
|
17430
17430
|
const Qa = (t) => ["beyondwords-highlight", "bwp", `id-${t}`];
|
|
17431
|
-
var po, ps,
|
|
17431
|
+
var po, ps, Jr, Ss, Qr, So, yl;
|
|
17432
17432
|
const sn = class sn {
|
|
17433
17433
|
constructor() {
|
|
17434
17434
|
// Highlight the segmentElement and all DOM nodes with the same marker. There
|
|
@@ -17443,7 +17443,7 @@ const sn = class sn {
|
|
|
17443
17443
|
a && ji(sn, po).addInterest(a, this, this, i, o), l && ji(sn, po).removeInterest(l, this), this[`prev${e}`] = a;
|
|
17444
17444
|
}
|
|
17445
17445
|
};
|
|
17446
|
-
po = new WeakMap(), ps = new WeakSet(),
|
|
17446
|
+
po = new WeakMap(), ps = new WeakSet(), Jr = function(e, i, n, o) {
|
|
17447
17447
|
var s;
|
|
17448
17448
|
for (const l of U(s = i, So, yl).call(s, n)) {
|
|
17449
17449
|
const a = document.createTreeWalker(l, NodeFilter.SHOW_TEXT, null, !1);
|
|
@@ -17473,7 +17473,7 @@ po = new WeakMap(), ps = new WeakSet(), Xr = function(e, i, n, o) {
|
|
|
17473
17473
|
i.add(r);
|
|
17474
17474
|
}
|
|
17475
17475
|
return i;
|
|
17476
|
-
}, Be(sn, ps), Be(sn, Ss), Be(sn, po, new Ml(U(sn, ps,
|
|
17476
|
+
}, Be(sn, ps), Be(sn, Ss), Be(sn, po, new Ml(U(sn, ps, Jr), U(sn, Ss, Qr)));
|
|
17477
17477
|
let Al = sn;
|
|
17478
17478
|
const h3 = () => be({
|
|
17479
17479
|
type: "IdentifiersChanged",
|
|
@@ -18412,8 +18412,8 @@ function nr(t) {
|
|
|
18412
18412
|
};
|
|
18413
18413
|
}
|
|
18414
18414
|
function I3(t) {
|
|
18415
|
-
let e, i, n, o, s, l, a, r, u, c, g, f, A, _, k, w, T, v, p, z, D, S, P,
|
|
18416
|
-
function
|
|
18415
|
+
let e, i, n, o, s, l, a, r, u, c, g, f, A, _, k, w, T, v, p, z, D, S, P, X, Y, N, J, oe, le, $, te, re, _e, ue, Ae, ae, b, C, F, x, Ve, Le, Ke, j, me, Ee, Ne;
|
|
18416
|
+
function Xe(V) {
|
|
18417
18417
|
t[131](V);
|
|
18418
18418
|
}
|
|
18419
18419
|
function Me(V) {
|
|
@@ -18473,7 +18473,7 @@ function I3(t) {
|
|
|
18473
18473
|
function _t(V) {
|
|
18474
18474
|
t[150](V);
|
|
18475
18475
|
}
|
|
18476
|
-
function
|
|
18476
|
+
function Ge(V) {
|
|
18477
18477
|
t[151](V);
|
|
18478
18478
|
}
|
|
18479
18479
|
function Ct(V) {
|
|
@@ -18524,7 +18524,7 @@ function I3(t) {
|
|
|
18524
18524
|
function yt(V) {
|
|
18525
18525
|
t[167](V);
|
|
18526
18526
|
}
|
|
18527
|
-
function
|
|
18527
|
+
function Je(V) {
|
|
18528
18528
|
t[168](V);
|
|
18529
18529
|
}
|
|
18530
18530
|
function vt(V) {
|
|
@@ -18653,7 +18653,7 @@ function I3(t) {
|
|
|
18653
18653
|
t[45] !== void 0 && (ee.analyticsCustomUrl = /*analyticsCustomUrl*/
|
|
18654
18654
|
t[45]), /*analyticsTag*/
|
|
18655
18655
|
t[46] !== void 0 && (ee.analyticsTag = /*analyticsTag*/
|
|
18656
|
-
t[46]), e = new qA({ props: ee }), se.push(() => ve(e, "controlPanel",
|
|
18656
|
+
t[46]), e = new qA({ props: ee }), se.push(() => ve(e, "controlPanel", Xe)), se.push(() => ve(e, "projectId", Me)), se.push(() => ve(e, "contentId", Qe)), se.push(() => ve(e, "playlistId", pe)), se.push(() => ve(e, "sourceId", Ye)), se.push(() => ve(e, "sourceUrl", Pe)), se.push(() => ve(e, "showUserInterface", jt)), se.push(() => ve(e, "playerStyle", Oe)), se.push(() => ve(e, "playerTitle", je)), se.push(() => ve(e, "callToAction", ze)), se.push(() => ve(e, "skipButtonStyle", at)), se.push(() => ve(e, "playlistStyle", xt)), se.push(() => ve(e, "playlistToggle", Re)), se.push(() => ve(e, "mediaSession", ht)), se.push(() => ve(e, "contentIndex", He)), se.push(() => ve(e, "introsOutrosIndex", et)), se.push(() => ve(e, "advertIndex", tt)), se.push(() => ve(e, "persistentAdImage", gt)), se.push(() => ve(e, "persistentIndex", Ie)), se.push(() => ve(e, "duration", _t)), se.push(() => ve(e, "currentTime", Ge)), se.push(() => ve(e, "playbackState", Ct)), se.push(() => ve(e, "playbackRate", it)), se.push(() => ve(e, "widgetStyle", $e)), se.push(() => ve(e, "widgetPosition", rt)), se.push(() => ve(e, "widgetWidth", ut)), se.push(() => ve(e, "widgetMargin", It)), se.push(() => ve(e, "widgetTarget", At)), se.push(() => ve(e, "textColor", St)), se.push(() => ve(e, "backgroundColor", Vt)), se.push(() => ve(e, "iconColor", nt)), se.push(() => ve(e, "highlightColor", ot)), se.push(() => ve(e, "videoTextColor", Bt)), se.push(() => ve(e, "videoIconColor", st)), se.push(() => ve(e, "logoIconEnabled", kt)), se.push(() => ve(e, "highlightSections", qe)), se.push(() => ve(e, "clickableSections", yt)), se.push(() => ve(e, "segmentWidgetSections", Je)), se.push(() => ve(e, "segmentWidgetPosition", vt)), se.push(() => ve(e, "currentSegment", lt)), se.push(() => ve(e, "hoveredSegment", Ze)), se.push(() => ve(e, "advertConsent", ft)), se.push(() => ve(e, "analyticsConsent", Mt)), se.push(() => ve(e, "analyticsCustomUrl", H)), se.push(() => ve(e, "analyticsTag", bt)), {
|
|
18657
18657
|
c() {
|
|
18658
18658
|
fe(e.$$.fragment);
|
|
18659
18659
|
},
|
|
@@ -18712,15 +18712,15 @@ function I3(t) {
|
|
|
18712
18712
|
2048 && (S = !0, B.currentTime = /*currentTime*/
|
|
18713
18713
|
V[11], ye(() => S = !1)), !P && W[0] & /*playbackState*/
|
|
18714
18714
|
4096 && (P = !0, B.playbackState = /*playbackState*/
|
|
18715
|
-
V[12], ye(() => P = !1)), !
|
|
18716
|
-
8 && (
|
|
18717
|
-
V[34], ye(() =>
|
|
18715
|
+
V[12], ye(() => P = !1)), !X && W[1] & /*playbackRate*/
|
|
18716
|
+
8 && (X = !0, B.playbackRate = /*playbackRate*/
|
|
18717
|
+
V[34], ye(() => X = !1)), !Y && W[0] & /*widgetStyle*/
|
|
18718
18718
|
8192 && (Y = !0, B.widgetStyle = /*widgetStyle*/
|
|
18719
18719
|
V[13], ye(() => Y = !1)), !N && W[1] & /*widgetPosition*/
|
|
18720
18720
|
16 && (N = !0, B.widgetPosition = /*widgetPosition*/
|
|
18721
|
-
V[35], ye(() => N = !1)), !
|
|
18722
|
-
32 && (
|
|
18723
|
-
V[36], ye(() =>
|
|
18721
|
+
V[35], ye(() => N = !1)), !J && W[1] & /*widgetWidth*/
|
|
18722
|
+
32 && (J = !0, B.widgetWidth = /*widgetWidth*/
|
|
18723
|
+
V[36], ye(() => J = !1)), !oe && W[1] & /*widgetMargin*/
|
|
18724
18724
|
64 && (oe = !0, B.widgetMargin = /*widgetMargin*/
|
|
18725
18725
|
V[37], ye(() => oe = !1)), !le && W[0] & /*widgetTarget*/
|
|
18726
18726
|
16384 && (le = !0, B.widgetTarget = /*widgetTarget*/
|
|
@@ -18750,9 +18750,9 @@ function I3(t) {
|
|
|
18750
18750
|
1048576 && (Ve = !0, B.currentSegment = /*currentSegment*/
|
|
18751
18751
|
V[20], ye(() => Ve = !1)), !Le && W[0] & /*hoveredSegment*/
|
|
18752
18752
|
2097152 && (Le = !0, B.hoveredSegment = /*hoveredSegment*/
|
|
18753
|
-
V[21], ye(() => Le = !1)), !
|
|
18754
|
-
4194304 && (
|
|
18755
|
-
V[22], ye(() =>
|
|
18753
|
+
V[21], ye(() => Le = !1)), !Ke && W[0] & /*advertConsent*/
|
|
18754
|
+
4194304 && (Ke = !0, B.advertConsent = /*advertConsent*/
|
|
18755
|
+
V[22], ye(() => Ke = !1)), !j && W[1] & /*analyticsConsent*/
|
|
18756
18756
|
8192 && (j = !0, B.analyticsConsent = /*analyticsConsent*/
|
|
18757
18757
|
V[44], ye(() => j = !1)), !me && W[1] & /*analyticsCustomUrl*/
|
|
18758
18758
|
16384 && (me = !0, B.analyticsCustomUrl = /*analyticsCustomUrl*/
|
|
@@ -18942,8 +18942,8 @@ function V3(t) {
|
|
|
18942
18942
|
S[178]
|
|
18943
18943
|
);
|
|
18944
18944
|
for (let S = 0; S < w.length; S += 1) {
|
|
18945
|
-
let P = $a(t, w, S),
|
|
18946
|
-
l.set(
|
|
18945
|
+
let P = $a(t, w, S), X = T(P);
|
|
18946
|
+
l.set(X, s[S] = ir(X, P));
|
|
18947
18947
|
}
|
|
18948
18948
|
let v = (
|
|
18949
18949
|
/*controlPanel*/
|
|
@@ -18960,26 +18960,26 @@ function V3(t) {
|
|
|
18960
18960
|
);
|
|
18961
18961
|
return f = new m3({}), {
|
|
18962
18962
|
c() {
|
|
18963
|
-
fe(e.$$.fragment), i =
|
|
18963
|
+
fe(e.$$.fragment), i = G(), _ && _.c(), n = G(), k && k.c(), o = G();
|
|
18964
18964
|
for (let S = 0; S < s.length; S += 1)
|
|
18965
18965
|
s[S].c();
|
|
18966
|
-
a =
|
|
18966
|
+
a = G(), v && v.c(), r = G(), p && p.c(), u = G(), z && z.c(), c = G(), D && D.c(), g = G(), fe(f.$$.fragment);
|
|
18967
18967
|
},
|
|
18968
18968
|
m(S, P) {
|
|
18969
18969
|
ce(e, S, P), E(S, i, P), _ && _.m(S, P), E(S, n, P), k && k.m(S, P), E(S, o, P);
|
|
18970
|
-
for (let
|
|
18971
|
-
s[
|
|
18970
|
+
for (let X = 0; X < s.length; X += 1)
|
|
18971
|
+
s[X] && s[X].m(S, P);
|
|
18972
18972
|
E(S, a, P), v && v.m(S, P), E(S, r, P), p && p.m(S, P), E(S, u, P), z && z.m(S, P), E(S, c, P), D && D.m(S, P), E(S, g, P), ce(f, S, P), A = !0;
|
|
18973
18973
|
},
|
|
18974
18974
|
p(S, P) {
|
|
18975
|
-
const
|
|
18975
|
+
const X = {};
|
|
18976
18976
|
P[2] & /*videoRoot*/
|
|
18977
|
-
32768 && (
|
|
18977
|
+
32768 && (X.root = /*videoRoot*/
|
|
18978
18978
|
S[77]), P[0] & /*contentIndex, contentVariant, advertConsent, projectId, playlistId, showUserInterface, widgetTarget, playbackState, currentTime, metadataLoaded*/
|
|
18979
18979
|
54548645 | P[1] & /*content, platform, widgetPosition, widgetWidth, widgetMargin, mediaElement, duration, playbackRate, prevPercentage*/
|
|
18980
18980
|
1078526076 | P[2] & /*introOrOutro, preloadAdvert, activeAdvert, maxImageSize, contentItem, contentLanguage, vendorIdentifier, bundleIdentifier, videoBehindWidget, videoBehindStatic, videoMightBeShown*/
|
|
18981
18981
|
4787911 | P[5] & /*$$scope*/
|
|
18982
|
-
67108864 && (
|
|
18982
|
+
67108864 && (X.$$scope = { dirty: P, ctx: S }), e.$set(X), /*showStaticInterface*/
|
|
18983
18983
|
S[80] ? _ ? (_.p(S, P), P[2] & /*showStaticInterface*/
|
|
18984
18984
|
262144 && I(_, 1)) : (_ = er(S), _.c(), I(_, 1), _.m(n.parentNode, n)) : _ && (Fe(), L(_, 1, 1, () => {
|
|
18985
18985
|
_ = null;
|
|
@@ -19034,11 +19034,11 @@ function V3(t) {
|
|
|
19034
19034
|
};
|
|
19035
19035
|
}
|
|
19036
19036
|
function B3(t, e, i) {
|
|
19037
|
-
let n, o, s, l, a, r, u, c, g, f, A, _, k, w, T, v, p, z, D, S, P,
|
|
19037
|
+
let n, o, s, l, a, r, u, c, g, f, A, _, k, w, T, v, p, z, D, S, P, X, Y, N, J, oe, le, $, te, { playerApiUrl: re = "https://api.beyondwords.io/v1/projects/{id}/player" } = e, { projectId: _e = void 0 } = e, { contentId: ue = void 0 } = e, { playlistId: Ae = void 0 } = e, { sourceId: ae = void 0 } = e, { sourceUrl: b = void 0 } = e, { playlist: C = [] } = e, { loadContentAs: F = ["article"] } = e, { contentVariant: x = F[0] } = e, { clientSideEnabled: Ve = !1 } = e, { showUserInterface: Le = !0 } = e, { showBottomWidget: Ke = !1 } = e, { playerStyle: j = "standard" } = e, { playerTitle: me = void 0 } = e, { callToAction: Ee = void 0 } = e, { skipButtonStyle: Ne = "auto" } = e, { playlistStyle: Xe = "auto-5-4" } = e, { playlistToggle: Me = "auto" } = e, { downloadFormats: Qe = [] } = e, { mediaSession: pe = "auto" } = e, { content: Ye = [] } = e, { contentIndex: Pe = 0 } = e, { introsOutros: jt = [] } = e, { introsOutrosIndex: Oe = -1 } = e, { adverts: je = [] } = e, { advertIndex: ze = -1 } = e, { preloadAdvertIndex: at = -1 } = e, { minDurationForMidroll: xt = 2 * 60 } = e, { minTimeUntilEndForMidroll: Re = 10 } = e, { persistentAdImage: ht = !1 } = e, { persistentIndex: He = -1 } = e, { duration: et = 0 } = e, { currentTime: tt = 0 } = e, { playbackState: gt = "stopped" } = e, { playbackRate: Ie = 1 } = e, { playbackRates: _t = [0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.1, 1.2, 1.3, 1.4, 1.5, 2, 2.5, 3] } = e, { widgetStyle: Ge = "standard" } = e, { widgetPosition: Ct = "auto" } = e, { widgetWidth: it = "auto" } = e, { widgetMargin: $e = "16px" } = e, { widgetTarget: rt = void 0 } = e, { textColor: ut = "#111" } = e, { backgroundColor: It = "#f5f5f5" } = e, { iconColor: At = "rgba(0, 0, 0, 0.8)" } = e, { highlightColor: St = "#eee" } = e, { videoTextColor: Vt = "white" } = e, { videoBackgroundColor: nt = "black" } = e, { videoIconColor: ot = "white" } = e, { logoIconEnabled: Bt = !0 } = e, { highlightSections: st = "all" } = e, { clickableSections: kt = "all" } = e, { segmentWidgetSections: qe = "body" } = e, { segmentWidgetPosition: yt = "7-oclock" } = e, { currentSegment: Je = void 0 } = e, { hoveredSegment: vt = void 0 } = e, { loadedMedia: lt = void 0 } = e, { previewToken: Ze = void 0 } = e, { advertConsent: ft = "personalized" } = e, { analyticsConsent: Mt = "allowed" } = e, { analyticsCustomUrl: H = void 0 } = e, { analyticsDeviceType: bt = "auto" } = e, { analyticsTag: ee = void 0 } = e, { captureErrors: V = !0 } = e, { onError: W = () => {
|
|
19038
19038
|
} } = e, { transitions: B = [] } = e, { controlPanel: ti = void 0 } = e;
|
|
19039
19039
|
const ri = (...h) => Ft.addEventListener(...h), Cn = (...h) => Ft.removeEventListener(...h);
|
|
19040
|
-
let { initialProps: Wt = {} } = e, { showMediaSession: Pi = !1 } = e, { metadataLoaded: Ut = !1 } = e, { isFullScreen: gi = !1 } = e, { mediaElement: Ht = void 0 } = e, { userInterface: fi = void 0 } = e, { widgetInterface: bi = void 0 } = e, { controller: Ft = void 0 } = e, { logoImagePosition: ii = void 0 } = e, { analyticsUrl: Ci = void 0 } = e, { analyticsId: zi = void 0 } = e, { platform: ui = "web" } = e, { vendorIdentifier: Dt = void 0 } = e, { bundleIdentifier: Ii = void 0 } = e, { contentLanguage: ni = "en" } = e, { listenSessionId: wt = void 0 } = e, { sessionCreatedAt: oi = void 0 } = e, { companionAdvert: Tt = void 0 } = e, { isNewListen: Vi = !1 } = e, { prevPercentage: pt = 0 } = e, { segmentWidgets: R = [] } = e, { segmentContainers:
|
|
19041
|
-
const Ni = (h) => Ft.processEvent(
|
|
19040
|
+
let { initialProps: Wt = {} } = e, { showMediaSession: Pi = !1 } = e, { metadataLoaded: Ut = !1 } = e, { isFullScreen: gi = !1 } = e, { mediaElement: Ht = void 0 } = e, { userInterface: fi = void 0 } = e, { widgetInterface: bi = void 0 } = e, { controller: Ft = void 0 } = e, { logoImagePosition: ii = void 0 } = e, { analyticsUrl: Ci = void 0 } = e, { analyticsId: zi = void 0 } = e, { platform: ui = "web" } = e, { vendorIdentifier: Dt = void 0 } = e, { bundleIdentifier: Ii = void 0 } = e, { contentLanguage: ni = "en" } = e, { listenSessionId: wt = void 0 } = e, { sessionCreatedAt: oi = void 0 } = e, { companionAdvert: Tt = void 0 } = e, { isNewListen: Vi = !1 } = e, { prevPercentage: pt = 0 } = e, { segmentWidgets: R = [] } = e, { segmentContainers: K = new _l((h) => i(51, R = h)) } = e, { segmentClickables: ge = new ml() } = e, { segmentHighlights: Nt = new Al() } = e;
|
|
19041
|
+
const Ni = (h) => Ft.processEvent(Xt({ emittedFrom: D }, h)), cn = () => i(112, N = vt);
|
|
19042
19042
|
function dn(h) {
|
|
19043
19043
|
se[h ? "unshift" : "push"](() => {
|
|
19044
19044
|
Ht = h, i(47, Ht);
|
|
@@ -19072,7 +19072,7 @@ function B3(t, e, i) {
|
|
|
19072
19072
|
bi = h, i(49, bi);
|
|
19073
19073
|
});
|
|
19074
19074
|
}
|
|
19075
|
-
const _n = (h) => Ni($i(
|
|
19075
|
+
const _n = (h) => Ni($i(Xt({}, h), {
|
|
19076
19076
|
emittedFrom: "segment-widget",
|
|
19077
19077
|
widgetSegment: le,
|
|
19078
19078
|
widgetIsCurrent: $
|
|
@@ -19101,7 +19101,7 @@ function B3(t, e, i) {
|
|
|
19101
19101
|
function xo(h) {
|
|
19102
19102
|
j = h, i(6, j);
|
|
19103
19103
|
}
|
|
19104
|
-
function
|
|
19104
|
+
function Ji(h) {
|
|
19105
19105
|
me = h, i(26, me);
|
|
19106
19106
|
}
|
|
19107
19107
|
function no(h) {
|
|
@@ -19111,7 +19111,7 @@ function B3(t, e, i) {
|
|
|
19111
19111
|
Ne = h, i(28, Ne);
|
|
19112
19112
|
}
|
|
19113
19113
|
function oo(h) {
|
|
19114
|
-
|
|
19114
|
+
Xe = h, i(29, Xe);
|
|
19115
19115
|
}
|
|
19116
19116
|
function Do(h) {
|
|
19117
19117
|
Me = h, i(30, Me);
|
|
@@ -19147,7 +19147,7 @@ function B3(t, e, i) {
|
|
|
19147
19147
|
Ie = h, i(34, Ie);
|
|
19148
19148
|
}
|
|
19149
19149
|
function Ot(h) {
|
|
19150
|
-
|
|
19150
|
+
Ge = h, i(13, Ge);
|
|
19151
19151
|
}
|
|
19152
19152
|
function Ro(h) {
|
|
19153
19153
|
Ct = h, i(35, Ct);
|
|
@@ -19195,7 +19195,7 @@ function B3(t, e, i) {
|
|
|
19195
19195
|
yt = h, i(19, yt);
|
|
19196
19196
|
}
|
|
19197
19197
|
function Du(h) {
|
|
19198
|
-
|
|
19198
|
+
Je = h, i(20, Je);
|
|
19199
19199
|
}
|
|
19200
19200
|
function Nu(h) {
|
|
19201
19201
|
vt = h, i(21, vt);
|
|
@@ -19213,7 +19213,7 @@ function B3(t, e, i) {
|
|
|
19213
19213
|
ee = h, i(46, ee);
|
|
19214
19214
|
}
|
|
19215
19215
|
return t.$$set = (h) => {
|
|
19216
|
-
"playerApiUrl" in h && i(85, re = h.playerApiUrl), "projectId" in h && i(0, _e = h.projectId), "contentId" in h && i(1, ue = h.contentId), "playlistId" in h && i(2, Ae = h.playlistId), "sourceId" in h && i(3, ae = h.sourceId), "sourceUrl" in h && i(4, b = h.sourceUrl), "playlist" in h && i(86, C = h.playlist), "loadContentAs" in h && i(87, F = h.loadContentAs), "contentVariant" in h && i(25, x = h.contentVariant), "clientSideEnabled" in h && i(88, Ve = h.clientSideEnabled), "showUserInterface" in h && i(5, Le = h.showUserInterface), "showBottomWidget" in h && i(89,
|
|
19216
|
+
"playerApiUrl" in h && i(85, re = h.playerApiUrl), "projectId" in h && i(0, _e = h.projectId), "contentId" in h && i(1, ue = h.contentId), "playlistId" in h && i(2, Ae = h.playlistId), "sourceId" in h && i(3, ae = h.sourceId), "sourceUrl" in h && i(4, b = h.sourceUrl), "playlist" in h && i(86, C = h.playlist), "loadContentAs" in h && i(87, F = h.loadContentAs), "contentVariant" in h && i(25, x = h.contentVariant), "clientSideEnabled" in h && i(88, Ve = h.clientSideEnabled), "showUserInterface" in h && i(5, Le = h.showUserInterface), "showBottomWidget" in h && i(89, Ke = h.showBottomWidget), "playerStyle" in h && i(6, j = h.playerStyle), "playerTitle" in h && i(26, me = h.playerTitle), "callToAction" in h && i(27, Ee = h.callToAction), "skipButtonStyle" in h && i(28, Ne = h.skipButtonStyle), "playlistStyle" in h && i(29, Xe = h.playlistStyle), "playlistToggle" in h && i(30, Me = h.playlistToggle), "downloadFormats" in h && i(52, Qe = h.downloadFormats), "mediaSession" in h && i(31, pe = h.mediaSession), "content" in h && i(53, Ye = h.content), "contentIndex" in h && i(7, Pe = h.contentIndex), "introsOutros" in h && i(54, jt = h.introsOutros), "introsOutrosIndex" in h && i(8, Oe = h.introsOutrosIndex), "adverts" in h && i(55, je = h.adverts), "advertIndex" in h && i(9, ze = h.advertIndex), "preloadAdvertIndex" in h && i(90, at = h.preloadAdvertIndex), "minDurationForMidroll" in h && i(91, xt = h.minDurationForMidroll), "minTimeUntilEndForMidroll" in h && i(92, Re = h.minTimeUntilEndForMidroll), "persistentAdImage" in h && i(32, ht = h.persistentAdImage), "persistentIndex" in h && i(10, He = h.persistentIndex), "duration" in h && i(33, et = h.duration), "currentTime" in h && i(11, tt = h.currentTime), "playbackState" in h && i(12, gt = h.playbackState), "playbackRate" in h && i(34, Ie = h.playbackRate), "playbackRates" in h && i(56, _t = h.playbackRates), "widgetStyle" in h && i(13, Ge = h.widgetStyle), "widgetPosition" in h && i(35, Ct = h.widgetPosition), "widgetWidth" in h && i(36, it = h.widgetWidth), "widgetMargin" in h && i(37, $e = h.widgetMargin), "widgetTarget" in h && i(14, rt = h.widgetTarget), "textColor" in h && i(38, ut = h.textColor), "backgroundColor" in h && i(39, It = h.backgroundColor), "iconColor" in h && i(40, At = h.iconColor), "highlightColor" in h && i(15, St = h.highlightColor), "videoTextColor" in h && i(41, Vt = h.videoTextColor), "videoBackgroundColor" in h && i(57, nt = h.videoBackgroundColor), "videoIconColor" in h && i(42, ot = h.videoIconColor), "logoIconEnabled" in h && i(43, Bt = h.logoIconEnabled), "highlightSections" in h && i(16, st = h.highlightSections), "clickableSections" in h && i(17, kt = h.clickableSections), "segmentWidgetSections" in h && i(18, qe = h.segmentWidgetSections), "segmentWidgetPosition" in h && i(19, yt = h.segmentWidgetPosition), "currentSegment" in h && i(20, Je = h.currentSegment), "hoveredSegment" in h && i(21, vt = h.hoveredSegment), "loadedMedia" in h && i(93, lt = h.loadedMedia), "previewToken" in h && i(94, Ze = h.previewToken), "advertConsent" in h && i(22, ft = h.advertConsent), "analyticsConsent" in h && i(44, Mt = h.analyticsConsent), "analyticsCustomUrl" in h && i(45, H = h.analyticsCustomUrl), "analyticsDeviceType" in h && i(95, bt = h.analyticsDeviceType), "analyticsTag" in h && i(46, ee = h.analyticsTag), "captureErrors" in h && i(96, V = h.captureErrors), "onError" in h && i(97, W = h.onError), "transitions" in h && i(98, B = h.transitions), "controlPanel" in h && i(23, ti = h.controlPanel), "initialProps" in h && i(101, Wt = h.initialProps), "showMediaSession" in h && i(58, Pi = h.showMediaSession), "metadataLoaded" in h && i(24, Ut = h.metadataLoaded), "isFullScreen" in h && i(59, gi = h.isFullScreen), "mediaElement" in h && i(47, Ht = h.mediaElement), "userInterface" in h && i(48, fi = h.userInterface), "widgetInterface" in h && i(49, bi = h.widgetInterface), "controller" in h && i(102, Ft = h.controller), "logoImagePosition" in h && i(60, ii = h.logoImagePosition), "analyticsUrl" in h && i(103, Ci = h.analyticsUrl), "analyticsId" in h && i(104, zi = h.analyticsId), "platform" in h && i(61, ui = h.platform), "vendorIdentifier" in h && i(62, Dt = h.vendorIdentifier), "bundleIdentifier" in h && i(63, Ii = h.bundleIdentifier), "contentLanguage" in h && i(64, ni = h.contentLanguage), "listenSessionId" in h && i(105, wt = h.listenSessionId), "sessionCreatedAt" in h && i(106, oi = h.sessionCreatedAt), "companionAdvert" in h && i(65, Tt = h.companionAdvert), "isNewListen" in h && i(107, Vi = h.isNewListen), "prevPercentage" in h && i(50, pt = h.prevPercentage), "segmentWidgets" in h && i(51, R = h.segmentWidgets), "segmentContainers" in h && i(108, K = h.segmentContainers), "segmentClickables" in h && i(109, ge = h.segmentClickables), "segmentHighlights" in h && i(110, Nt = h.segmentHighlights);
|
|
19217
19217
|
}, t.$$.update = () => {
|
|
19218
19218
|
t.$$.dirty[0] & /*contentIndex*/
|
|
19219
19219
|
128 | t.$$.dirty[1] & /*content*/
|
|
@@ -19236,7 +19236,7 @@ function B3(t, e, i) {
|
|
|
19236
19236
|
268435456 && i(74, f = gi ? "video" : j), t.$$.dirty[0] & /*widgetTarget*/
|
|
19237
19237
|
16384 && i(14, rt = vl(rt, "widget")), t.$$.dirty[0] & /*widgetTarget*/
|
|
19238
19238
|
16384 | t.$$.dirty[2] & /*showBottomWidget*/
|
|
19239
|
-
134217728 && i(117, A =
|
|
19239
|
+
134217728 && i(117, A = Ke || rt), t.$$.dirty[2] & /*interfaceStyle*/
|
|
19240
19240
|
4096 && i(119, _ = f === "screen"), t.$$.dirty[2] & /*interfaceStyle*/
|
|
19241
19241
|
4096 && i(118, k = f === "large"), t.$$.dirty[3] & /*isScreen, isLarge*/
|
|
19242
19242
|
100663296 && i(81, w = _ ? 120 : k ? 80 : 0), t.$$.dirty[0] & /*showUserInterface*/
|
|
@@ -19245,44 +19245,44 @@ function B3(t, e, i) {
|
|
|
19245
19245
|
4096 && i(80, T = Le && bl(f) && Ye.length > 0), t.$$.dirty[0] & /*showUserInterface, widgetStyle*/
|
|
19246
19246
|
8224 | t.$$.dirty[1] & /*content*/
|
|
19247
19247
|
4194304 | t.$$.dirty[3] & /*showWidget*/
|
|
19248
|
-
16777216 && i(79, v = Le && A && bl(
|
|
19248
|
+
16777216 && i(79, v = Le && A && bl(Ge) && Ye.length > 0), t.$$.dirty[0] & /*controlPanel*/
|
|
19249
19249
|
8388608 && i(23, ti = vl(ti, "control panel")), t.$$.dirty[0] & /*widgetStyle*/
|
|
19250
19250
|
8192 | t.$$.dirty[1] & /*isFullScreen*/
|
|
19251
19251
|
268435456 | t.$$.dirty[3] & /*showWidget*/
|
|
19252
|
-
16777216 && i(73, p = A &&
|
|
19252
|
+
16777216 && i(73, p = A && Ge === "video" && !gi), t.$$.dirty[2] & /*interfaceStyle, videoBehindWidget*/
|
|
19253
19253
|
6144 && i(78, z = f === "video" && !p), t.$$.dirty[2] & /*videoBehindWidget*/
|
|
19254
19254
|
2048 && (D = p ? "bottom-widget" : "inline-player"), t.$$.dirty[0] & /*playerStyle, widgetStyle*/
|
|
19255
|
-
8256 && i(72, S = j === "video" ||
|
|
19255
|
+
8256 && i(72, S = j === "video" || Ge === "video"), t.$$.dirty[0] & /*widgetTarget*/
|
|
19256
19256
|
16384 | t.$$.dirty[2] & /*videoBehindWidget*/
|
|
19257
19257
|
2048 && i(77, P = p ? rt : null), t.$$.dirty[0] & /*metadataLoaded*/
|
|
19258
19258
|
16777216 | t.$$.dirty[2] & /*videoMightBeShown*/
|
|
19259
19259
|
1024 | t.$$.dirty[3] & /*isAudio*/
|
|
19260
|
-
8388608 && i(115,
|
|
19260
|
+
8388608 && i(115, X = u && S && Ut), t.$$.dirty[2] & /*activeAdvert, contentItem*/
|
|
19261
19261
|
640 | t.$$.dirty[3] & /*showVideoPoster, isAdvert*/
|
|
19262
|
-
6291456 && i(76, Y =
|
|
19262
|
+
6291456 && i(76, Y = X ? r && (s == null ? void 0 : s.imageUrl) || (n == null ? void 0 : n.imageUrl) : ""), t.$$.dirty[0] & /*projectId, contentId, playlistId, sourceId, sourceUrl*/
|
|
19263
19263
|
31 | t.$$.dirty[2] & /*playlist*/
|
|
19264
19264
|
16777216 | t.$$.dirty[3] & /*previewToken*/
|
|
19265
19265
|
2 && Ni(h3()), t.$$.dirty[2] & /*loadContentAs*/
|
|
19266
19266
|
33554432 && i(25, x = F[0]), t.$$.dirty[0] & /*hoveredSegment*/
|
|
19267
19267
|
2097152 | t.$$.dirty[3] & /*lastHovered*/
|
|
19268
19268
|
524288 && i(112, N = vt || N), t.$$.dirty[0] & /*currentSegment, segmentWidgetSections*/
|
|
19269
|
-
1310720 && i(111,
|
|
19269
|
+
1310720 && i(111, J = yo("current", Je, qe)), t.$$.dirty[0] & /*currentSegment*/
|
|
19270
19270
|
1048576 | t.$$.dirty[3] & /*currentAllowedInWidget*/
|
|
19271
|
-
262144 &&
|
|
19271
|
+
262144 && J && cn(), t.$$.dirty[0] & /*segmentWidgetSections*/
|
|
19272
19272
|
262144 | t.$$.dirty[3] & /*lastHovered*/
|
|
19273
19273
|
524288 && i(113, oe = yo("hovered", N, qe)), t.$$.dirty[0] & /*currentSegment*/
|
|
19274
19274
|
1048576 | t.$$.dirty[3] & /*hoveredAllowedInWidget, lastHovered, currentAllowedInWidget*/
|
|
19275
|
-
1835008 && i(67, le = oe && N ||
|
|
19275
|
+
1835008 && i(67, le = oe && N || J && Je), t.$$.dirty[0] & /*currentSegment*/
|
|
19276
19276
|
1048576 | t.$$.dirty[2] & /*widgetSegment*/
|
|
19277
|
-
32 && i(70, $ = (le == null ? void 0 : le.marker) === (
|
|
19277
|
+
32 && i(70, $ = (le == null ? void 0 : le.marker) === (Je == null ? void 0 : Je.marker)), t.$$.dirty[2] & /*widgetIsCurrent, activeAdvert, introOrOutro*/
|
|
19278
19278
|
448 && i(75, te = $ || s || o), t.$$.dirty[0] & /*segmentWidgetSections, segmentWidgetPosition, playerStyle*/
|
|
19279
19279
|
786496 | t.$$.dirty[2] & /*widgetSegment*/
|
|
19280
19280
|
32 | t.$$.dirty[3] & /*segmentContainers*/
|
|
19281
|
-
32768 &&
|
|
19281
|
+
32768 && K.update(le, qe, yt, j), t.$$.dirty[0] & /*hoveredSegment, clickableSections*/
|
|
19282
19282
|
2228224 | t.$$.dirty[3] & /*segmentClickables*/
|
|
19283
19283
|
65536 && ge.update(vt, kt), t.$$.dirty[0] & /*currentSegment, highlightSections, highlightColor*/
|
|
19284
19284
|
1146880 | t.$$.dirty[3] & /*segmentHighlights*/
|
|
19285
|
-
131072 && Nt.update("current",
|
|
19285
|
+
131072 && Nt.update("current", Je, st, St), t.$$.dirty[0] & /*hoveredSegment, highlightSections, highlightColor*/
|
|
19286
19286
|
2195456 | t.$$.dirty[3] & /*segmentHighlights*/
|
|
19287
19287
|
131072 && Nt.update("hovered", vt, st, St), t.$$.dirty[0] & /*currentTime*/
|
|
19288
19288
|
2048 | t.$$.dirty[3] & /*transitions, controller*/
|
|
@@ -19301,14 +19301,14 @@ function B3(t, e, i) {
|
|
|
19301
19301
|
He,
|
|
19302
19302
|
tt,
|
|
19303
19303
|
gt,
|
|
19304
|
-
|
|
19304
|
+
Ge,
|
|
19305
19305
|
rt,
|
|
19306
19306
|
St,
|
|
19307
19307
|
st,
|
|
19308
19308
|
kt,
|
|
19309
19309
|
qe,
|
|
19310
19310
|
yt,
|
|
19311
|
-
|
|
19311
|
+
Je,
|
|
19312
19312
|
vt,
|
|
19313
19313
|
ft,
|
|
19314
19314
|
ti,
|
|
@@ -19317,7 +19317,7 @@ function B3(t, e, i) {
|
|
|
19317
19317
|
me,
|
|
19318
19318
|
Ee,
|
|
19319
19319
|
Ne,
|
|
19320
|
-
|
|
19320
|
+
Xe,
|
|
19321
19321
|
Me,
|
|
19322
19322
|
pe,
|
|
19323
19323
|
ht,
|
|
@@ -19377,7 +19377,7 @@ function B3(t, e, i) {
|
|
|
19377
19377
|
C,
|
|
19378
19378
|
F,
|
|
19379
19379
|
Ve,
|
|
19380
|
-
|
|
19380
|
+
Ke,
|
|
19381
19381
|
at,
|
|
19382
19382
|
xt,
|
|
19383
19383
|
Re,
|
|
@@ -19396,14 +19396,14 @@ function B3(t, e, i) {
|
|
|
19396
19396
|
wt,
|
|
19397
19397
|
oi,
|
|
19398
19398
|
Vi,
|
|
19399
|
-
|
|
19399
|
+
K,
|
|
19400
19400
|
ge,
|
|
19401
19401
|
Nt,
|
|
19402
|
-
|
|
19402
|
+
J,
|
|
19403
19403
|
N,
|
|
19404
19404
|
oe,
|
|
19405
19405
|
r,
|
|
19406
|
-
|
|
19406
|
+
X,
|
|
19407
19407
|
u,
|
|
19408
19408
|
A,
|
|
19409
19409
|
k,
|
|
@@ -19427,7 +19427,7 @@ function B3(t, e, i) {
|
|
|
19427
19427
|
io,
|
|
19428
19428
|
jo,
|
|
19429
19429
|
xo,
|
|
19430
|
-
|
|
19430
|
+
Ji,
|
|
19431
19431
|
no,
|
|
19432
19432
|
Qi,
|
|
19433
19433
|
oo,
|
|
@@ -20127,7 +20127,7 @@ const iu = (i, ...n) => Ri(void 0, [i, ...n], function* (t, e = {}) {
|
|
|
20127
20127
|
const o = yield fetch(t, e).catch(() => {
|
|
20128
20128
|
}), s = yield o == null ? void 0 : o.json().catch(() => {
|
|
20129
20129
|
});
|
|
20130
|
-
return (o == null ? void 0 : o.status) !== 200 && Ti(`Failed to fetch ${t}`, $i(
|
|
20130
|
+
return (o == null ? void 0 : o.status) !== 200 && Ti(`Failed to fetch ${t}`, $i(Xt({}, e), {
|
|
20131
20131
|
responseStatus: o == null ? void 0 : o.status,
|
|
20132
20132
|
responseJson: s
|
|
20133
20133
|
})), s;
|
|
@@ -20345,29 +20345,29 @@ const kl = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
|
|
|
20345
20345
|
}
|
|
20346
20346
|
if (!((v = o[s]) != null && v.adsEnabled) || t !== -1)
|
|
20347
20347
|
return -1;
|
|
20348
|
-
const _ =
|
|
20348
|
+
const _ = K3({ content: o, contentIndex: s, currentTime: l, atTheStart: a, atTheEnd: r, minTimeUntilEndForMidroll: c, minDurationForMidroll: g, contentVariant: f });
|
|
20349
20349
|
let k = -1, w = -1 / 0, T = -1 / 0;
|
|
20350
20350
|
for (const [p, z] of e.entries()) {
|
|
20351
20351
|
if (Z3(z) || ru(z) || !_.has(z.placement))
|
|
20352
20352
|
continue;
|
|
20353
|
-
const D =
|
|
20353
|
+
const D = X3[z.type] || 0;
|
|
20354
20354
|
if (D < w)
|
|
20355
20355
|
continue;
|
|
20356
20356
|
const S = n === p ? 1 / 0 : Math.random();
|
|
20357
20357
|
D === w && S < T || (k = p, w = D, T = S);
|
|
20358
20358
|
}
|
|
20359
20359
|
return k;
|
|
20360
|
-
},
|
|
20361
|
-
const r = e === 0, u = e === t.length - 1, c = t.length > 1, g = c && n && !r, f = t[e].segments, A = f[f.length - 1], _ = c ? null :
|
|
20360
|
+
}, X3 = { vast: 1, custom: 0 }, K3 = ({ content: t, contentIndex: e, currentTime: i, atTheStart: n, atTheEnd: o, minTimeUntilEndForMidroll: s, minDurationForMidroll: l, contentVariant: a }) => {
|
|
20361
|
+
const r = e === 0, u = e === t.length - 1, c = t.length > 1, g = c && n && !r, f = t[e].segments, A = f[f.length - 1], _ = c ? null : J3(f, l, a), k = f[_], w = k && i > k.startTime, T = A ? A.startTime + A.duration : 0, v = i > T - s, p = /* @__PURE__ */ new Set();
|
|
20362
20362
|
return n && p.add("pre-roll"), w && !v && p.add("mid-roll"), g && p.add("mid-roll"), o && u && p.add("post-roll"), g && p.add("post-roll"), p;
|
|
20363
|
-
},
|
|
20363
|
+
}, G3 = 0.5, J3 = (t, e, i) => {
|
|
20364
20364
|
const n = t[t.length - 1];
|
|
20365
20365
|
if (!n)
|
|
20366
20366
|
return;
|
|
20367
20367
|
const o = n.startTime + n.duration;
|
|
20368
20368
|
if (o < e)
|
|
20369
20369
|
return;
|
|
20370
|
-
const s = o / 2, l = Bl(t, o / 2, i), u = t[l].startTime >= s -
|
|
20370
|
+
const s = o / 2, l = Bl(t, o / 2, i), u = t[l].startTime >= s - G3 ? l : l + 1;
|
|
20371
20371
|
if (u !== t.length)
|
|
20372
20372
|
return u;
|
|
20373
20373
|
}, Q3 = (t, e, i, n) => {
|
|
@@ -20468,7 +20468,7 @@ const kl = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
|
|
|
20468
20468
|
for (const s of t.instances())
|
|
20469
20469
|
s.showBottomWidget = s === i;
|
|
20470
20470
|
}, gy = { playing: 2, paused: 1, stopped: 0 };
|
|
20471
|
-
var Ts, gu, Ps, fu, Cs, mu, wo, pl, Is, hu, Vs, _u, xi, tn, ln, On, di, Si, To, Sl, Bs, Au, zn, co, an, Mn, Ws, yu, Po, wl,
|
|
20471
|
+
var Ts, gu, Ps, fu, Cs, mu, wo, pl, Is, hu, Vs, _u, xi, tn, ln, On, di, Si, To, Sl, Bs, Au, zn, co, an, Mn, Ws, yu, Po, wl, Ki, vn, Co, Tl, rn, En, qt, li, wn, Hn, Gi, bn, Os, vu, Ms, bu, Ln, go, Io, Pl, Es, ku, Vo, Cl, zs, pu;
|
|
20472
20472
|
class fy {
|
|
20473
20473
|
constructor(e, i) {
|
|
20474
20474
|
// private
|
|
@@ -20487,12 +20487,12 @@ class fy {
|
|
|
20487
20487
|
Be(this, an);
|
|
20488
20488
|
Be(this, Ws);
|
|
20489
20489
|
Be(this, Po);
|
|
20490
|
-
Be(this,
|
|
20490
|
+
Be(this, Ki);
|
|
20491
20491
|
Be(this, Co);
|
|
20492
20492
|
Be(this, rn);
|
|
20493
20493
|
Be(this, qt);
|
|
20494
20494
|
Be(this, wn);
|
|
20495
|
-
Be(this,
|
|
20495
|
+
Be(this, Gi);
|
|
20496
20496
|
Be(this, Os);
|
|
20497
20497
|
Be(this, Ms);
|
|
20498
20498
|
Be(this, Ln);
|
|
@@ -20521,25 +20521,25 @@ class fy {
|
|
|
20521
20521
|
}
|
|
20522
20522
|
// Please document all events and keep in-sync with /doc/player-events.md
|
|
20523
20523
|
handlePressedChangeRate() {
|
|
20524
|
-
U(this,
|
|
20524
|
+
U(this, Ki, vn).call(this, (e) => e + 1, { cycle: !0 });
|
|
20525
20525
|
}
|
|
20526
20526
|
handlePressedEnterOnChangeRate() {
|
|
20527
|
-
U(this,
|
|
20527
|
+
U(this, Ki, vn).call(this, (e) => e + 1, { cycle: !0 });
|
|
20528
20528
|
}
|
|
20529
20529
|
handlePressedSpaceOnChangeRate() {
|
|
20530
|
-
U(this,
|
|
20530
|
+
U(this, Ki, vn).call(this, (e) => e + 1, { cycle: !0 });
|
|
20531
20531
|
}
|
|
20532
20532
|
handlePressedUpOnChangeRate() {
|
|
20533
|
-
U(this,
|
|
20533
|
+
U(this, Ki, vn).call(this, (e) => e + 1);
|
|
20534
20534
|
}
|
|
20535
20535
|
handlePressedRightOnChangeRate() {
|
|
20536
|
-
U(this,
|
|
20536
|
+
U(this, Ki, vn).call(this, (e) => e + 1);
|
|
20537
20537
|
}
|
|
20538
20538
|
handlePressedDownOnChangeRate() {
|
|
20539
|
-
U(this,
|
|
20539
|
+
U(this, Ki, vn).call(this, (e) => e - 1);
|
|
20540
20540
|
}
|
|
20541
20541
|
handlePressedLeftOnChangeRate() {
|
|
20542
|
-
U(this,
|
|
20542
|
+
U(this, Ki, vn).call(this, (e) => e - 1);
|
|
20543
20543
|
}
|
|
20544
20544
|
handlePressedPrevSegment() {
|
|
20545
20545
|
U(this, Co, Tl).call(this, (e) => e - 1);
|
|
@@ -20626,7 +20626,7 @@ class fy {
|
|
|
20626
20626
|
}
|
|
20627
20627
|
handleIdentifiersChanged() {
|
|
20628
20628
|
z3(this.player).then(() => {
|
|
20629
|
-
U(this, wn, Hn).call(this, { atTheStart: !0 }), U(this,
|
|
20629
|
+
U(this, wn, Hn).call(this, { atTheStart: !0 }), U(this, Gi, bn).call(this, { atTheStart: !0 });
|
|
20630
20630
|
});
|
|
20631
20631
|
}
|
|
20632
20632
|
handleNoContentAvailable({ description: e }) {
|
|
@@ -20646,7 +20646,7 @@ class fy {
|
|
|
20646
20646
|
e && !i && !this.preScrubState && (this.player.playbackState = "paused");
|
|
20647
20647
|
}
|
|
20648
20648
|
handleCurrentTimeUpdated() {
|
|
20649
|
-
this.midrollPlayed || U(this,
|
|
20649
|
+
this.midrollPlayed || U(this, Gi, bn).call(this);
|
|
20650
20650
|
const e = this.player.currentTime <= _o, i = this.player.currentTime >= this.player.duration, n = this.player.mediaElement.video.paused || U(this, Bs, Au).call(this);
|
|
20651
20651
|
!e && !i && !n && (this.player.playbackState = "playing");
|
|
20652
20652
|
const o = this.player.currentTime <= 0.5;
|
|
@@ -20655,7 +20655,7 @@ class fy {
|
|
|
20655
20655
|
handlePlaybackEnded() {
|
|
20656
20656
|
U(this, To, Sl).call(this) && (this.midrollPlayed = !0), this.segmentPlayed = !1;
|
|
20657
20657
|
const e = U(this, xi, tn).call(this), i = U(this, di, Si).call(this);
|
|
20658
|
-
U(this,
|
|
20658
|
+
U(this, Gi, bn).call(this, { atTheEnd: !0, wasIntro: e }), !i && (U(this, wn, Hn).call(this, { atTheEnd: !0 }), !e && (U(this, ln, On).call(this) || U(this, di, Si).call(this) || U(this, rn, En).call(this, (n) => n + 1)));
|
|
20659
20659
|
}
|
|
20660
20660
|
handlePlaybackNotAllowed({ description: e }) {
|
|
20661
20661
|
console.warn(`BeyondWords.Player: ${e}`);
|
|
@@ -20665,7 +20665,7 @@ class fy {
|
|
|
20665
20665
|
handlePlaybackErrored({ mediaType: e, preloading: i, errorMessage: n }) {
|
|
20666
20666
|
console.warn(`BeyondWords.Player: ${e} playback error: ${n}`);
|
|
20667
20667
|
const o = U(this, To, Sl).call(this);
|
|
20668
|
-
U(this, xi, tn).call(this) || U(this, ln, On).call(this) ? U(this, wn, Hn).call(this, { errored: !0 }) : U(this, di, Si).call(this) ? U(this,
|
|
20668
|
+
U(this, xi, tn).call(this) || U(this, ln, On).call(this) ? U(this, wn, Hn).call(this, { errored: !0 }) : U(this, di, Si).call(this) ? U(this, Gi, bn).call(this, { errored: !0 }) : i && e === "VAST" ? U(this, Gi, bn).call(this, { preloadingErrored: !0 }) : this.handlePlaybackEnded(), o && !U(this, di, Si).call(this) && (this.midrollPlayed = !0);
|
|
20669
20669
|
}
|
|
20670
20670
|
handleCompanionAdvertChanged({ clickThroughUrl: e, imageUrl: i }) {
|
|
20671
20671
|
this.player.companionAdvert = { clickThroughUrl: e, imageUrl: i };
|
|
@@ -20695,10 +20695,10 @@ class fy {
|
|
|
20695
20695
|
}
|
|
20696
20696
|
handleCurrentSegmentUpdated({ segment: e, contentIndex: i, segmentIndex: n, segmentElement: o }) {
|
|
20697
20697
|
var s;
|
|
20698
|
-
U(this, zn, co).call(this) ? this.player.currentSegment = $i(
|
|
20698
|
+
U(this, zn, co).call(this) ? this.player.currentSegment = $i(Xt({}, e), { contentIndex: i, segmentIndex: n, segmentElement: o }) : this.segmentPlayed || ((s = this.player.segmentContainers) == null || s.reset(), this.player.currentSegment = null);
|
|
20699
20699
|
}
|
|
20700
20700
|
handleHoveredSegmentUpdated({ segment: e, contentIndex: i, segmentIndex: n, segmentElement: o }) {
|
|
20701
|
-
e ? this.player.hoveredSegment = $i(
|
|
20701
|
+
e ? this.player.hoveredSegment = $i(Xt({}, e), { contentIndex: i, segmentIndex: n, segmentElement: o }) : this.player.hoveredSegment = null;
|
|
20702
20702
|
}
|
|
20703
20703
|
handlePressedSegment({ segment: e, contentIndex: i, segmentIndex: n, segmentElement: o }) {
|
|
20704
20704
|
if (!yo("hovered", e, this.player.clickableSections))
|
|
@@ -20707,7 +20707,7 @@ class fy {
|
|
|
20707
20707
|
U(this, an, Mn).call(this);
|
|
20708
20708
|
return;
|
|
20709
20709
|
}
|
|
20710
|
-
i !== this.player.contentIndex && U(this, rn, En).call(this, () => i), U(this, Po, wl).call(this,
|
|
20710
|
+
i !== this.player.contentIndex && U(this, rn, En).call(this, () => i), U(this, Po, wl).call(this, Xt({ contentIndex: i, segmentIndex: n, segmentElement: o }, e));
|
|
20711
20711
|
}
|
|
20712
20712
|
}
|
|
20713
20713
|
Ts = new WeakSet(), gu = function({ type: e }) {
|
|
@@ -20745,8 +20745,8 @@ Ts = new WeakSet(), gu = function({ type: e }) {
|
|
|
20745
20745
|
this.player.playbackState === "playing" && (this.player.playbackState = "paused");
|
|
20746
20746
|
}, Po = new WeakSet(), wl = function(s) {
|
|
20747
20747
|
var l = s, { contentIndex: e, segmentIndex: i, segmentElement: n } = l, o = Fs(l, ["contentIndex", "segmentIndex", "segmentElement"]);
|
|
20748
|
-
U(this, qt, li).call(this, () => o.startTime, e), this.player.currentSegment =
|
|
20749
|
-
},
|
|
20748
|
+
U(this, qt, li).call(this, () => o.startTime, e), this.player.currentSegment = Xt({ contentIndex: e, segmentIndex: i, segmentElement: n }, o), this.player.playbackState = "playing", this.segmentPlayed = !0;
|
|
20749
|
+
}, Ki = new WeakSet(), vn = function(e, { cycle: i } = {}) {
|
|
20750
20750
|
const n = this.player.playbackRates, o = n.length - 1, s = n.indexOf(this.player.playbackRate), l = e(s);
|
|
20751
20751
|
let a;
|
|
20752
20752
|
i ? a = l % n.length : a = Math.max(0, Math.min(o, l)), this.player.playbackRate = n[a] || 1;
|
|
@@ -20758,7 +20758,7 @@ Ts = new WeakSet(), gu = function({ type: e }) {
|
|
|
20758
20758
|
}), this.player.playbackState = "playing") : U(this, zn, co).call(this) && o < 0 && U(this, Is, hu).call(this) ? (U(this, qt, li).call(this, () => 0), U(this, wn, Hn).call(this, { atTheStart: !0 })) : U(this, zn, co).call(this) && o === i.length && U(this, Vs, _u).call(this) ? U(this, qt, li).call(this, () => this.player.duration - 0.01) : U(this, zn, co).call(this) && o >= 0 && o < i.length && U(this, qt, li).call(this, () => i[o].startTime);
|
|
20759
20759
|
}, rn = new WeakSet(), En = function(e) {
|
|
20760
20760
|
const i = e(this.player.contentIndex), n = i < 0 || i >= this.player.content.length;
|
|
20761
|
-
n ? (this.player.playbackState = "stopped", U(this, qt, li).call(this, () => 0)) : (this.player.contentIndex = i, U(this, di, Si).call(this) || (U(this, qt, li).call(this, () => 0), this.midrollPlayed = !1)), U(this, Ln, go).call(this, -1), U(this, wn, Hn).call(this, { atTheStart: !0 }), n || U(this,
|
|
20761
|
+
n ? (this.player.playbackState = "stopped", U(this, qt, li).call(this, () => 0)) : (this.player.contentIndex = i, U(this, di, Si).call(this) || (U(this, qt, li).call(this, () => 0), this.midrollPlayed = !1)), U(this, Ln, go).call(this, -1), U(this, wn, Hn).call(this, { atTheStart: !0 }), n || U(this, Gi, bn).call(this, { atTheStart: !0 });
|
|
20762
20762
|
}, qt = new WeakSet(), li = function(e, i) {
|
|
20763
20763
|
if (U(this, di, Si).call(this))
|
|
20764
20764
|
this.prevTime = e(), this.prevContent = i;
|
|
@@ -20769,7 +20769,7 @@ Ts = new WeakSet(), gu = function({ type: e }) {
|
|
|
20769
20769
|
}, wn = new WeakSet(), Hn = function({ atTheStart: e, atTheEnd: i, errored: n } = {}) {
|
|
20770
20770
|
const { content: o, introsOutros: s, currentTime: l } = this.player, a = typeof this.nextIntroOutro != "undefined" ? this.nextIntroOutro : this.player.introsOutrosIndex, r = typeof this.nextAdvert != "undefined" ? this.nextAdvert : this.player.advertIndex, u = typeof this.prevContent != "undefined" ? this.prevContent : this.player.contentIndex;
|
|
20771
20771
|
U(this, Ln, go).call(this, sy({ introsOutros: s, introsOutrosIndex: a, advertIndex: r, content: o, contentIndex: u, currentTime: l, atTheStart: e, atTheEnd: i, errored: n }));
|
|
20772
|
-
},
|
|
20772
|
+
}, Gi = new WeakSet(), bn = function({ atTheStart: e, atTheEnd: i, wasIntro: n, errored: o, preloadingErrored: s } = {}) {
|
|
20773
20773
|
var w;
|
|
20774
20774
|
const { adverts: l, content: a, currentTime: r, minDurationForMidroll: u, minTimeUntilEndForMidroll: c } = this.player;
|
|
20775
20775
|
let g = typeof this.nextIntroOutro != "undefined" ? this.nextIntroOutro : this.player.introsOutrosIndex;
|
|
@@ -20793,7 +20793,7 @@ Ts = new WeakSet(), gu = function({ type: e }) {
|
|
|
20793
20793
|
} else
|
|
20794
20794
|
delete this.nextIntroOutro;
|
|
20795
20795
|
if (!(this.player.contentIndex <= 0 && this.player.currentTime <= _o) && U(this, xi, tn).call(this, e)) {
|
|
20796
|
-
this.player.introsOutrosIndex = -1, U(this,
|
|
20796
|
+
this.player.introsOutrosIndex = -1, U(this, Gi, bn).call(this, { atTheStart: !0 });
|
|
20797
20797
|
return;
|
|
20798
20798
|
}
|
|
20799
20799
|
const s = U(this, xi, tn).call(this), l = U(this, ln, On).call(this);
|
|
@@ -20967,7 +20967,7 @@ class il {
|
|
|
20967
20967
|
return O3(this.analyticsSink, e);
|
|
20968
20968
|
}
|
|
20969
20969
|
sendToGoogleAnalytics(e, i) {
|
|
20970
|
-
window.gtag("event", e, $i(
|
|
20970
|
+
window.gtag("event", e, $i(Xt({}, i), { send_to: this.analyticsSink }));
|
|
20971
20971
|
}
|
|
20972
20972
|
}
|
|
20973
20973
|
const zy = (t, e) => {
|
|
@@ -21064,8 +21064,8 @@ const Wi = class Wi extends W3 {
|
|
|
21064
21064
|
s.classList.add("beyondwords-player", "bwp"), Wi._styleLoaded || (s.style.display = "none");
|
|
21065
21065
|
const a = new fy(null, Wi);
|
|
21066
21066
|
a.addEventListener("<any>", (u) => zy(this, u));
|
|
21067
|
-
const r =
|
|
21068
|
-
super({ target: s, props: $i(
|
|
21067
|
+
const r = Xt({ showUserInterface: l }, i);
|
|
21068
|
+
super({ target: s, props: $i(Xt({ controller: a }, r), { initialProps: r }) }), a.player = this, ji(Wi, Tn).push(this);
|
|
21069
21069
|
}
|
|
21070
21070
|
static styleLoaded() {
|
|
21071
21071
|
Wi.instances().forEach((e) => e.target.style.removeProperty("display")), Wi._styleLoaded = !0;
|
|
@@ -21099,8 +21099,8 @@ Tn = new WeakMap(), Be(Wi, Tn, []);
|
|
|
21099
21099
|
let ms = Wi;
|
|
21100
21100
|
var gr;
|
|
21101
21101
|
typeof window != "undefined" && (window.BeyondWords || (window.BeyondWords = {}), (gr = window.BeyondWords).Player || (gr.Player = ms));
|
|
21102
|
-
const
|
|
21102
|
+
const Xy = { Player: ms };
|
|
21103
21103
|
export {
|
|
21104
|
-
|
|
21104
|
+
Xy as default
|
|
21105
21105
|
};
|
|
21106
21106
|
//# sourceMappingURL=es.js.map
|