@beyondwords/player 0.1.45 → 0.1.47
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 +398 -403
- package/dist/es.js.map +1 -1
- package/dist/umd.js +25 -25
- package/dist/umd.js.map +1 -1
- package/package.json +3 -3
package/dist/es.js
CHANGED
|
@@ -9,7 +9,7 @@ var Vs = (t, e, i) => e in t ? Vu(t, e, { enumerable: !0, configurable: !0, writ
|
|
|
9
9
|
for (var i of Bo(e))
|
|
10
10
|
kl.call(e, i) && Vs(t, i, e[i]);
|
|
11
11
|
return t;
|
|
12
|
-
},
|
|
12
|
+
}, Ji = (t, e) => Wu(t, Ou(e));
|
|
13
13
|
var Ws = (t, e) => {
|
|
14
14
|
var i = {};
|
|
15
15
|
for (var n in t)
|
|
@@ -45,7 +45,7 @@ var bi = (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.1.
|
|
48
|
+
/*! version:"0.1.47" */
|
|
49
49
|
function Q() {
|
|
50
50
|
}
|
|
51
51
|
const Eu = (t) => t;
|
|
@@ -57,14 +57,14 @@ function Mu(t, e) {
|
|
|
57
57
|
t
|
|
58
58
|
);
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function Ja(t) {
|
|
61
61
|
return t();
|
|
62
62
|
}
|
|
63
63
|
function Sl() {
|
|
64
64
|
return /* @__PURE__ */ Object.create(null);
|
|
65
65
|
}
|
|
66
66
|
function rt(t) {
|
|
67
|
-
t.forEach(
|
|
67
|
+
t.forEach(Ja);
|
|
68
68
|
}
|
|
69
69
|
function Un(t) {
|
|
70
70
|
return typeof t == "function";
|
|
@@ -241,7 +241,7 @@ function Fu(t, e, { bubbles: i = !1, cancelable: n = !1 } = {}) {
|
|
|
241
241
|
return new CustomEvent(t, { detail: e, bubbles: i, cancelable: n });
|
|
242
242
|
}
|
|
243
243
|
const Zo = /* @__PURE__ */ new Map();
|
|
244
|
-
let
|
|
244
|
+
let Ko = 0;
|
|
245
245
|
function Uu(t) {
|
|
246
246
|
let e = 5381, i = t.length;
|
|
247
247
|
for (; i--; )
|
|
@@ -265,18 +265,18 @@ function Pl(t, e, i, n, o, s, l, a = 0) {
|
|
|
265
265
|
}`, g = `__svelte_${Uu(d)}_${a}`, f = $a(t), { stylesheet: A, rules: m } = Zo.get(f) || qu(f, t);
|
|
266
266
|
m[g] || (m[g] = !0, A.insertRule(`@keyframes ${g} ${d}`, A.cssRules.length));
|
|
267
267
|
const y = t.style.animation || "";
|
|
268
|
-
return t.style.animation = `${y ? `${y}, ` : ""}${g} ${n}ms linear ${o}ms 1 both`,
|
|
268
|
+
return t.style.animation = `${y ? `${y}, ` : ""}${g} ${n}ms linear ${o}ms 1 both`, Ko += 1, g;
|
|
269
269
|
}
|
|
270
270
|
function Hu(t, e) {
|
|
271
271
|
const i = (t.style.animation || "").split(", "), n = i.filter(
|
|
272
272
|
e ? (s) => s.indexOf(e) < 0 : (s) => s.indexOf("__svelte") === -1
|
|
273
273
|
// remove all Svelte animations
|
|
274
274
|
), o = i.length - n.length;
|
|
275
|
-
o && (t.style.animation = n.join(", "),
|
|
275
|
+
o && (t.style.animation = n.join(", "), Ko -= o, Ko || Yu());
|
|
276
276
|
}
|
|
277
277
|
function Yu() {
|
|
278
278
|
Ps(() => {
|
|
279
|
-
|
|
279
|
+
Ko || (Zo.forEach((t) => {
|
|
280
280
|
const { ownerNode: e } = t.stylesheet;
|
|
281
281
|
e && O(e);
|
|
282
282
|
}), Zo.clear());
|
|
@@ -323,7 +323,7 @@ function c() {
|
|
|
323
323
|
try {
|
|
324
324
|
for (; Wn < jn.length; ) {
|
|
325
325
|
const e = jn[Wn];
|
|
326
|
-
Wn++, no(e),
|
|
326
|
+
Wn++, no(e), Ku(e.$$);
|
|
327
327
|
}
|
|
328
328
|
} catch (e) {
|
|
329
329
|
throw jn.length = 0, Wn = 0, e;
|
|
@@ -340,14 +340,14 @@ function c() {
|
|
|
340
340
|
Hs.pop()();
|
|
341
341
|
Ys = !1, Ms.clear(), no(t);
|
|
342
342
|
}
|
|
343
|
-
function
|
|
343
|
+
function Ku(t) {
|
|
344
344
|
if (t.fragment !== null) {
|
|
345
345
|
t.update(), rt(t.before_update);
|
|
346
346
|
const e = t.dirty;
|
|
347
347
|
t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(at);
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
|
-
function
|
|
350
|
+
function Ju(t) {
|
|
351
351
|
const e = [], i = [];
|
|
352
352
|
Nn.forEach((n) => t.indexOf(n) === -1 ? e.push(n) : i.push(n)), i.forEach((n) => n()), Nn = e;
|
|
353
353
|
}
|
|
@@ -465,17 +465,17 @@ function $u(t, e, i, n, o, s, l, a, r, u, d, g) {
|
|
|
465
465
|
y[t[m].key] = m;
|
|
466
466
|
const v = [], T = /* @__PURE__ */ new Map(), p = /* @__PURE__ */ new Map(), w = [];
|
|
467
467
|
for (m = A; m--; ) {
|
|
468
|
-
const P = g(o, s, m),
|
|
469
|
-
let N = l.get(
|
|
470
|
-
N ? n && w.push(() => N.p(P, e)) : (N = u(
|
|
468
|
+
const P = g(o, s, m), K = i(P);
|
|
469
|
+
let N = l.get(K);
|
|
470
|
+
N ? n && w.push(() => N.p(P, e)) : (N = u(K, P), N.c()), T.set(K, v[m] = N), K in y && p.set(K, Math.abs(m - y[K]));
|
|
471
471
|
}
|
|
472
472
|
const E = /* @__PURE__ */ new Set(), D = /* @__PURE__ */ new Set();
|
|
473
473
|
function S(P) {
|
|
474
474
|
I(P, 1), P.m(a, d), l.set(P.key, P), d = P.first, A--;
|
|
475
475
|
}
|
|
476
476
|
for (; f && A; ) {
|
|
477
|
-
const P = v[A - 1],
|
|
478
|
-
P ===
|
|
477
|
+
const P = v[A - 1], K = t[f - 1], N = P.key, Y = K.key;
|
|
478
|
+
P === K ? (d = P.first, f--, A--) : T.has(Y) ? !l.has(N) || E.has(N) ? S(P) : D.has(Y) ? f-- : p.get(N) > p.get(Y) ? (D.add(N), S(P)) : (E.add(Y), f--) : (r(K, l), f--);
|
|
479
479
|
}
|
|
480
480
|
for (; f--; ) {
|
|
481
481
|
const P = t[f];
|
|
@@ -495,13 +495,13 @@ function me(t) {
|
|
|
495
495
|
function ge(t, e, i) {
|
|
496
496
|
const { fragment: n, after_update: o } = t.$$;
|
|
497
497
|
n && n.m(e, i), at(() => {
|
|
498
|
-
const s = t.$$.on_mount.map(
|
|
498
|
+
const s = t.$$.on_mount.map(Ja).filter(Un);
|
|
499
499
|
t.$$.on_destroy ? t.$$.on_destroy.push(...s) : rt(s), t.$$.on_mount = [];
|
|
500
500
|
}), o.forEach(at);
|
|
501
501
|
}
|
|
502
502
|
function fe(t, e) {
|
|
503
503
|
const i = t.$$;
|
|
504
|
-
i.fragment !== null && (
|
|
504
|
+
i.fragment !== null && (Ju(i.after_update), rt(i.on_destroy), i.fragment && i.fragment.d(e), i.on_destroy = i.fragment = null, i.ctx = []);
|
|
505
505
|
}
|
|
506
506
|
function ec(t, e) {
|
|
507
507
|
t.$$.dirty[0] === -1 && (jn.push(t), ir(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
|
|
@@ -593,7 +593,7 @@ class Te {
|
|
|
593
593
|
}
|
|
594
594
|
const tc = "4";
|
|
595
595
|
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(tc);
|
|
596
|
-
const ic = "@beyondwords/player", oo = "0.1.
|
|
596
|
+
const ic = "@beyondwords/player", oo = "0.1.47", ci = (t, e) => {
|
|
597
597
|
t = [t].flat().join(`
|
|
598
598
|
`);
|
|
599
599
|
let i = `${ic}:
|
|
@@ -632,7 +632,7 @@ function lc(t, e = 0) {
|
|
|
632
632
|
const ac = typeof crypto != "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Il = {
|
|
633
633
|
randomUUID: ac
|
|
634
634
|
};
|
|
635
|
-
function
|
|
635
|
+
function Jo(t, e, i) {
|
|
636
636
|
if (Il.randomUUID && !e && !t)
|
|
637
637
|
return Il.randomUUID();
|
|
638
638
|
t = t || {};
|
|
@@ -667,7 +667,7 @@ const gl = ["user", "media", "browser", "media-session-api", "google-ima-sdk", "
|
|
|
667
667
|
Object.prototype.hasOwnProperty.call(t, e) || ci(`Invalid event: missing a '${e}' property`, t), i(t[e]) || ci(`Invalid event: '${e}: ${t[e]}' is invalid`, t);
|
|
668
668
|
}, ve = (t) => {
|
|
669
669
|
gc(t);
|
|
670
|
-
const e =
|
|
670
|
+
const e = Jo(), i = (/* @__PURE__ */ new Date()).toISOString();
|
|
671
671
|
return Xt({ id: e, createdAt: i, status: "pending" }, t);
|
|
672
672
|
}, _c = (t, e = {}) => {
|
|
673
673
|
let i;
|
|
@@ -682,19 +682,19 @@ const gl = ["user", "media", "browser", "media-session-api", "google-ima-sdk", "
|
|
|
682
682
|
return i.search = n.toString(), i.toString();
|
|
683
683
|
}, Ac = (t) => {
|
|
684
684
|
var o;
|
|
685
|
-
const e =
|
|
685
|
+
const e = Ks(t);
|
|
686
686
|
if (!e)
|
|
687
687
|
return "";
|
|
688
688
|
let i = e, n = -1;
|
|
689
689
|
for (const [s, l] of e.searchParams) {
|
|
690
|
-
const a =
|
|
690
|
+
const a = Ks(l);
|
|
691
691
|
if (!a)
|
|
692
692
|
continue;
|
|
693
693
|
const r = yc[s] || 0;
|
|
694
694
|
r <= n || (i = a, n = r);
|
|
695
695
|
}
|
|
696
696
|
return ((o = i == null ? void 0 : i.hostname) == null ? void 0 : o.replace(/^www./, "")) || "";
|
|
697
|
-
},
|
|
697
|
+
}, Ks = (t) => {
|
|
698
698
|
try {
|
|
699
699
|
return new URL(t);
|
|
700
700
|
} catch (e) {
|
|
@@ -713,8 +713,8 @@ const gl = ["user", "media", "browser", "media-session-api", "google-ima-sdk", "
|
|
|
713
713
|
r: 2,
|
|
714
714
|
l: 1
|
|
715
715
|
}, Bl = {
|
|
716
|
-
nonPersonalizedDaisybit: "
|
|
717
|
-
personalizedDaisybit: "
|
|
716
|
+
nonPersonalizedDaisybit: "CP1pK0AP1pK0AAAAAAENDgCAAEIAAAAAAAAAg1NX_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: "CP1pK0AP1pK0AAAAAAENDgCAAHIAAAAAAAAAg1NX_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
|
}, vc = (t, e, i, n, o, s, l, a, r, u, d, g) => {
|
|
719
719
|
const f = window.location.hostname === "localhost";
|
|
720
720
|
return bc(t) ? kc(f, i, g) : sr(t) ? pc(f, t, e, i, n, o, s, l, a, r, u, d) : {};
|
|
@@ -725,7 +725,7 @@ const gl = ["user", "media", "browser", "media-session-api", "google-ima-sdk", "
|
|
|
725
725
|
var m, y;
|
|
726
726
|
const f = {};
|
|
727
727
|
e != null && e.includes("cid=") || console.warn("BeyondWords.Player: The DAX VAST URL does not contain the 'cid' parameter."), window.daxListenerId && (f.dax_listenerid = window.daxListenerId), n === "personalized" ? f.gdpr_consent = Bl.personalizedDaisybit : f.gdpr_consent = Bl.nonPersonalizedDaisybit, f.att = 0, d && (f.idfv = d);
|
|
728
|
-
const A = (y = (m =
|
|
728
|
+
const A = (y = (m = Ks(window.location.href)) == null ? void 0 : m.hostname) == null ? void 0 : y.replace(/^www./, "");
|
|
729
729
|
if (A && !t && (f.u = A), f.adc_min = 1, f.adc_max = 1, i === "pre-roll" ? f.sd = 0 : i === "mid-roll" ? f.sd = -1 : i === "post-roll" && (f.sd = -2), f.delivery_type = "streaming", g && (f.bi = g), f.content_language = r.split(/[_-]/)[0], f.collectionid = s ? `project-${s}` : "no-project", f.showid = l ? `playlist-${l}` : "no-playlist", f.episodeid = a ? `content-${a}` : "no-content", f.explicit = !1, f.dax_player = "BeyondWords Player", f.dax_version = oo, u === "ios" ? f.dax_platform = "iOS" : u === "android" ? f.dax_platform = "Android" : f.dax_platform = "web", f.isLoggedIn = !1, o > 0) {
|
|
730
730
|
const v = o * (window.devicePixelRatio || 1);
|
|
731
731
|
f.comp_size = `${v}x${v}`, f.is_comp_allowed = 1;
|
|
@@ -770,30 +770,30 @@ function Cc(t) {
|
|
|
770
770
|
}
|
|
771
771
|
function Ic(t, e, i) {
|
|
772
772
|
let n, o, { vastUrl: s } = e, { placement: l } = e, { advertConsent: a } = e, { maxImageSize: r } = e, { projectId: u } = e, { playlistId: d } = e, { contentId: g } = e, { contentLanguage: f } = e, { platform: A } = e, { vendorIdentifier: m } = e, { bundleIdentifier: y } = e, { video: v } = e, { playbackState: T } = e, { duration: p } = e, { currentTime: w } = e, { onEvent: E = () => {
|
|
773
|
-
} } = e, D, S, P,
|
|
773
|
+
} } = e, D, S, P, K, N, Y, ne;
|
|
774
774
|
const ue = () => {
|
|
775
|
-
S = new google.ima.AdDisplayContainer(D, v), P = new google.ima.AdsLoader(S), P.addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED, ce, !1), P.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR, k, !1),
|
|
776
|
-
}, ce = (
|
|
777
|
-
i(19, N =
|
|
775
|
+
S = new google.ima.AdDisplayContainer(D, v), P = new google.ima.AdsLoader(S), P.addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED, ce, !1), P.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR, k, !1), K = new google.ima.AdsRequest(), K.adTagUrl = o, K.linearAdSlotWidth = v.clientWidth, K.linearAdSlotHeight = v.clientHeight, P.requestAds(K);
|
|
776
|
+
}, ce = (J) => {
|
|
777
|
+
i(19, N = J.getAdsManager(v)), N.addEventListener(google.ima.AdEvent.Type.STARTED, ee), N.addEventListener(google.ima.AdEvent.Type.AD_PROGRESS, te), N.addEventListener(google.ima.AdEvent.Type.CLICK, se), N.addEventListener(google.ima.AdEvent.Type.PAUSED, he), N.addEventListener(google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED, re), N.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR, k);
|
|
778
778
|
}, $ = () => {
|
|
779
779
|
if (!Y) {
|
|
780
780
|
Y = !0, v.pause(), v.load(), S.initialize();
|
|
781
781
|
try {
|
|
782
782
|
N.init(v.clientWidth, v.clientHeight, google.ima.ViewMode.NORMAL), N.start(), R(), L();
|
|
783
|
-
} catch (
|
|
784
|
-
k(null,
|
|
783
|
+
} catch (J) {
|
|
784
|
+
k(null, J);
|
|
785
785
|
}
|
|
786
786
|
}
|
|
787
|
-
}, ee = (
|
|
787
|
+
}, ee = (J) => {
|
|
788
788
|
var Le, Ne;
|
|
789
789
|
const q = new google.ima.CompanionAdSelectionSettings();
|
|
790
790
|
q.resourceType = google.ima.CompanionAdSelectionSettings.ResourceType.STATIC, q.creativeType = google.ima.CompanionAdSelectionSettings.CreativeType.IMAGE, q.sizeCriteria = google.ima.CompanionAdSelectionSettings.SizeCriteria.IGNORE;
|
|
791
|
-
const _e = (Le =
|
|
791
|
+
const _e = (Le = J.getAd().getCompanionAds(0, 0, q)[0]) == null ? void 0 : Le.data;
|
|
792
792
|
if (!_e)
|
|
793
793
|
return;
|
|
794
|
-
const
|
|
795
|
-
|
|
796
|
-
const We = (Ne =
|
|
794
|
+
const Je = document.createElement("div");
|
|
795
|
+
Je.innerHTML = _e.content;
|
|
796
|
+
const We = (Ne = Je.firstChild) == null ? void 0 : Ne.getAttribute("href"), $e = _e.resourceValue;
|
|
797
797
|
E(ve({
|
|
798
798
|
type: "CompanionAdvertChanged",
|
|
799
799
|
description: "The companion advert associated with the VAST advert changed.",
|
|
@@ -801,8 +801,8 @@ function Ic(t, e, i) {
|
|
|
801
801
|
clickThroughUrl: We,
|
|
802
802
|
imageUrl: $e
|
|
803
803
|
}));
|
|
804
|
-
}, te = (
|
|
805
|
-
ne =
|
|
804
|
+
}, te = (J) => {
|
|
805
|
+
ne = J.getAdData(), ne.updatedAt = Date.now(), ne.minDuration = de(ne), E(ve({
|
|
806
806
|
type: "CurrentTimeUpdated",
|
|
807
807
|
description: "The media's current time was updated.",
|
|
808
808
|
initiatedBy: "media"
|
|
@@ -811,8 +811,8 @@ function Ic(t, e, i) {
|
|
|
811
811
|
description: "The media's duration was updated.",
|
|
812
812
|
initiatedBy: "google-ima-sdk"
|
|
813
813
|
})));
|
|
814
|
-
}, de = ({ duration:
|
|
815
|
-
const Pe = Math.min(
|
|
814
|
+
}, de = ({ duration: J, adBreakDuration: q }) => {
|
|
815
|
+
const Pe = Math.min(J || 1 / 0, q || 1 / 0);
|
|
816
816
|
return Pe === 1 / 0 ? 0 : Pe;
|
|
817
817
|
}, se = () => {
|
|
818
818
|
E(ve({
|
|
@@ -838,8 +838,8 @@ function Ic(t, e, i) {
|
|
|
838
838
|
clickThroughUrl: null,
|
|
839
839
|
imageUrl: null
|
|
840
840
|
}));
|
|
841
|
-
}, k = (
|
|
842
|
-
q = q ||
|
|
841
|
+
}, k = (J, q) => {
|
|
842
|
+
q = q || J.getError(), N == null || N.destroy(), E(ve({
|
|
843
843
|
type: "PlaybackErrored",
|
|
844
844
|
description: "The media failed to play.",
|
|
845
845
|
initiatedBy: "google-ima-sdk",
|
|
@@ -857,11 +857,11 @@ function Ic(t, e, i) {
|
|
|
857
857
|
errorMessage: "The ima3.js script was blocked."
|
|
858
858
|
}));
|
|
859
859
|
}, R = () => {
|
|
860
|
-
const
|
|
860
|
+
const J = document.createTreeWalker(D);
|
|
861
861
|
let q;
|
|
862
|
-
for (; q =
|
|
863
|
-
const Pe = /;(?!([^()]*\([^()]*\))*[^()]*\))/,
|
|
864
|
-
q.style.cssText =
|
|
862
|
+
for (; q = J.nextNode(); ) {
|
|
863
|
+
const Pe = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Je = q.style.cssText.split(Pe).filter((We) => We).map((We) => We.includes("!important") ? We : `${We} !important`);
|
|
864
|
+
q.style.cssText = Je.join(";");
|
|
865
865
|
}
|
|
866
866
|
}, L = () => {
|
|
867
867
|
D && (i(5, w = Be()), N.resize(v.clientWidth, v.clientHeight, google.ima.ViewMode.NORMAL), requestAnimationFrame(L));
|
|
@@ -869,18 +869,18 @@ function Ic(t, e, i) {
|
|
|
869
869
|
if (!ne)
|
|
870
870
|
return 0;
|
|
871
871
|
if (T === "playing") {
|
|
872
|
-
const
|
|
873
|
-
return ne.currentTime +
|
|
872
|
+
const J = (Date.now() - ne.updatedAt) / 1e3;
|
|
873
|
+
return ne.currentTime + J;
|
|
874
874
|
} else
|
|
875
875
|
return ne.updatedAt = Date.now(), w;
|
|
876
876
|
};
|
|
877
|
-
function Me(
|
|
878
|
-
le[
|
|
879
|
-
D =
|
|
877
|
+
function Me(J) {
|
|
878
|
+
le[J ? "unshift" : "push"](() => {
|
|
879
|
+
D = J, i(0, D);
|
|
880
880
|
});
|
|
881
881
|
}
|
|
882
|
-
return t.$$set = (
|
|
883
|
-
"vastUrl" in
|
|
882
|
+
return t.$$set = (J) => {
|
|
883
|
+
"vastUrl" in J && i(6, s = J.vastUrl), "placement" in J && i(7, l = J.placement), "advertConsent" in J && i(8, a = J.advertConsent), "maxImageSize" in J && i(9, r = J.maxImageSize), "projectId" in J && i(10, u = J.projectId), "playlistId" in J && i(11, d = J.playlistId), "contentId" in J && i(12, g = J.contentId), "contentLanguage" in J && i(13, f = J.contentLanguage), "platform" in J && i(14, A = J.platform), "vendorIdentifier" in J && i(15, m = J.vendorIdentifier), "bundleIdentifier" in J && i(16, y = J.bundleIdentifier), "video" in J && i(17, v = J.video), "playbackState" in J && i(3, T = J.playbackState), "duration" in J && i(4, p = J.duration), "currentTime" in J && i(5, w = J.currentTime), "onEvent" in J && i(18, E = J.onEvent);
|
|
884
884
|
}, t.$$.update = () => {
|
|
885
885
|
t.$$.dirty[0] & /*vastUrl, placement, advertConsent, maxImageSize, projectId, playlistId, contentId, contentLanguage, platform, vendorIdentifier, bundleIdentifier, video*/
|
|
886
886
|
262080 && i(20, n = vc(s, l, a, r, u, d, g, f, A, m, y, Sc(v))), t.$$.dirty[0] & /*vastUrl, adParams*/
|
|
@@ -1042,7 +1042,7 @@ class Bc extends Te {
|
|
|
1042
1042
|
const Vc = (t, e, i) => {
|
|
1043
1043
|
if (!t)
|
|
1044
1044
|
return [];
|
|
1045
|
-
const n = (t.audio || []).map((l) =>
|
|
1045
|
+
const n = (t.audio || []).map((l) => Ji(Xt({}, l), { format: "audio" })), o = (t.video || []).map((l) => Ji(Xt({}, l), { format: "video" })), s = e ? [...o, ...n] : n;
|
|
1046
1046
|
if (i && Wc()) {
|
|
1047
1047
|
const l = s.filter((r) => !r.url.endsWith(".m3u8")), a = s.filter((r) => r.url.endsWith(".m3u8"));
|
|
1048
1048
|
return [...l, ...a];
|
|
@@ -1289,10 +1289,10 @@ const Oc = (t, e) => bi(void 0, null, function* () {
|
|
|
1289
1289
|
maximizeVideo: "Maximize video",
|
|
1290
1290
|
changePlaybackRate: "Change playback rate",
|
|
1291
1291
|
downloadAudio: "Download audio"
|
|
1292
|
-
},
|
|
1292
|
+
}, Kc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1293
1293
|
__proto__: null,
|
|
1294
1294
|
default: Zc
|
|
1295
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1295
|
+
}, Symbol.toStringTag, { value: "Module" })), Jc = {
|
|
1296
1296
|
isDefaultForLanguage: !0,
|
|
1297
1297
|
listenToThisArticle: "Слухайце гэты артыкул",
|
|
1298
1298
|
videoInWidget: "Video is playing in widget",
|
|
@@ -1321,7 +1321,7 @@ const Oc = (t, e) => bi(void 0, null, function* () {
|
|
|
1321
1321
|
downloadAudio: "Download audio"
|
|
1322
1322
|
}, Gc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1323
1323
|
__proto__: null,
|
|
1324
|
-
default:
|
|
1324
|
+
default: Jc
|
|
1325
1325
|
}, Symbol.toStringTag, { value: "Module" })), Xc = {
|
|
1326
1326
|
isDefaultForLanguage: !0,
|
|
1327
1327
|
listenToThisArticle: "Чуйте тази статия",
|
|
@@ -2099,10 +2099,10 @@ const Oc = (t, e) => bi(void 0, null, function* () {
|
|
|
2099
2099
|
maximizeVideo: "Maximize video",
|
|
2100
2100
|
changePlaybackRate: "Change playback rate",
|
|
2101
2101
|
downloadAudio: "Download audio"
|
|
2102
|
-
},
|
|
2102
|
+
}, Kd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2103
2103
|
__proto__: null,
|
|
2104
2104
|
default: Zd
|
|
2105
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2105
|
+
}, Symbol.toStringTag, { value: "Module" })), Jd = {
|
|
2106
2106
|
isDefaultForLanguage: !0,
|
|
2107
2107
|
listenToThisArticle: "E hoʻolohe i kēia ʻatikala",
|
|
2108
2108
|
videoInWidget: "Video is playing in widget",
|
|
@@ -2131,7 +2131,7 @@ const Oc = (t, e) => bi(void 0, null, function* () {
|
|
|
2131
2131
|
downloadAudio: "Download audio"
|
|
2132
2132
|
}, Gd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2133
2133
|
__proto__: null,
|
|
2134
|
-
default:
|
|
2134
|
+
default: Jd
|
|
2135
2135
|
}, Symbol.toStringTag, { value: "Module" })), Xd = {
|
|
2136
2136
|
isDefaultForLanguage: !0,
|
|
2137
2137
|
listenToThisArticle: "האזינו למאמר הזה",
|
|
@@ -2909,10 +2909,10 @@ const Oc = (t, e) => bi(void 0, null, function* () {
|
|
|
2909
2909
|
maximizeVideo: "Maximize video",
|
|
2910
2910
|
changePlaybackRate: "Change playback rate",
|
|
2911
2911
|
downloadAudio: "Download audio"
|
|
2912
|
-
},
|
|
2912
|
+
}, Kg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2913
2913
|
__proto__: null,
|
|
2914
2914
|
default: Zg
|
|
2915
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2915
|
+
}, Symbol.toStringTag, { value: "Module" })), Jg = {
|
|
2916
2916
|
isDefaultForLanguage: !0,
|
|
2917
2917
|
listenToThisArticle: "Энэ нийтлэлийг сонсоорой",
|
|
2918
2918
|
videoInWidget: "Video is playing in widget",
|
|
@@ -2941,7 +2941,7 @@ const Oc = (t, e) => bi(void 0, null, function* () {
|
|
|
2941
2941
|
downloadAudio: "Download audio"
|
|
2942
2942
|
}, Gg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2943
2943
|
__proto__: null,
|
|
2944
|
-
default:
|
|
2944
|
+
default: Jg
|
|
2945
2945
|
}, Symbol.toStringTag, { value: "Module" })), Xg = {
|
|
2946
2946
|
isDefaultForLanguage: !0,
|
|
2947
2947
|
listenToThisArticle: "हा लेख ऐका",
|
|
@@ -3692,7 +3692,7 @@ const Oc = (t, e) => bi(void 0, null, function* () {
|
|
|
3692
3692
|
}, Zf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3693
3693
|
__proto__: null,
|
|
3694
3694
|
default: Yf
|
|
3695
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
3695
|
+
}, Symbol.toStringTag, { value: "Module" })), Kf = {
|
|
3696
3696
|
isDefaultForLanguage: !0,
|
|
3697
3697
|
listenToThisArticle: "Слушајте овај чланак",
|
|
3698
3698
|
videoInWidget: "Video is playing in widget",
|
|
@@ -3719,9 +3719,9 @@ const Oc = (t, e) => bi(void 0, null, function* () {
|
|
|
3719
3719
|
maximizeVideo: "Maximize video",
|
|
3720
3720
|
changePlaybackRate: "Change playback rate",
|
|
3721
3721
|
downloadAudio: "Download audio"
|
|
3722
|
-
},
|
|
3722
|
+
}, Jf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3723
3723
|
__proto__: null,
|
|
3724
|
-
default:
|
|
3724
|
+
default: Kf
|
|
3725
3725
|
}, Symbol.toStringTag, { value: "Module" })), Gf = {
|
|
3726
3726
|
isDefaultForLanguage: !0,
|
|
3727
3727
|
listenToThisArticle: "Lyssna på den här artikeln",
|
|
@@ -4378,8 +4378,8 @@ const Oc = (t, e) => bi(void 0, null, function* () {
|
|
|
4378
4378
|
`The locale '${n}' is missing the translation key '${s}'.`,
|
|
4379
4379
|
`Please set '${s}: "something"' in src/translations/${n}.ts`
|
|
4380
4380
|
]);
|
|
4381
|
-
}, U1 = /* @__PURE__ */ Object.assign({ "../translations/af.ts": Dc, "../translations/ak.ts": Nc, "../translations/am.ts": Fc, "../translations/ar.ts": qc, "../translations/as.ts": Yc, "../translations/az.ts":
|
|
4382
|
-
x1(
|
|
4381
|
+
}, U1 = /* @__PURE__ */ Object.assign({ "../translations/af.ts": Dc, "../translations/ak.ts": Nc, "../translations/am.ts": Fc, "../translations/ar.ts": qc, "../translations/as.ts": Yc, "../translations/az.ts": Kc, "../translations/be.ts": Gc, "../translations/bg.ts": Qc, "../translations/bm.ts": ed, "../translations/bn.ts": id, "../translations/bs.ts": od, "../translations/ca.ts": ld, "../translations/ckb.ts": rd, "../translations/cs.ts": cd, "../translations/cy.ts": gd, "../translations/da.ts": md, "../translations/de.ts": _d, "../translations/ee.ts": yd, "../translations/el.ts": bd, "../translations/en.ts": pd, "../translations/eo.ts": wd, "../translations/es.ts": Pd, "../translations/et.ts": Id, "../translations/eu.ts": Vd, "../translations/fa.ts": Od, "../translations/fi.ts": Md, "../translations/fil.ts": zd, "../translations/fr.ts": Dd, "../translations/ga.ts": Nd, "../translations/gd.ts": Fd, "../translations/gl.ts": qd, "../translations/gu.ts": Yd, "../translations/ha.ts": Kd, "../translations/haw.ts": Gd, "../translations/he.ts": Qd, "../translations/hi.ts": eg, "../translations/hr.ts": ig, "../translations/hu.ts": og, "../translations/hy.ts": lg, "../translations/id.ts": rg, "../translations/ig.ts": cg, "../translations/is.ts": gg, "../translations/it.ts": mg, "../translations/iw.ts": _g, "../translations/ja.ts": yg, "../translations/ka.ts": bg, "../translations/kk.ts": pg, "../translations/km.ts": wg, "../translations/kn.ts": Pg, "../translations/ko.ts": Ig, "../translations/ky.ts": Vg, "../translations/lb.ts": Og, "../translations/lg.ts": Mg, "../translations/ln.ts": zg, "../translations/lo.ts": Dg, "../translations/lt.ts": Ng, "../translations/lv.ts": Fg, "../translations/mg.ts": qg, "../translations/mk.ts": Yg, "../translations/ml.ts": Kg, "../translations/mn.ts": Gg, "../translations/mr.ts": Qg, "../translations/ms.ts": ef, "../translations/mt.ts": nf, "../translations/my.ts": sf, "../translations/nb.ts": af, "../translations/ne.ts": uf, "../translations/nl.ts": df, "../translations/nn.ts": ff, "../translations/no.ts": hf, "../translations/om.ts": Af, "../translations/or.ts": vf, "../translations/pa.ts": kf, "../translations/pl.ts": Sf, "../translations/ps.ts": Tf, "../translations/pt.ts": Cf, "../translations/qu.ts": Bf, "../translations/ro.ts": Wf, "../translations/ru.ts": Ef, "../translations/rw.ts": jf, "../translations/si.ts": Lf, "../translations/sk.ts": xf, "../translations/sl.ts": Rf, "../translations/sn.ts": Uf, "../translations/so.ts": Hf, "../translations/sq.ts": Zf, "../translations/sr.ts": Jf, "../translations/sv.ts": Xf, "../translations/sw.ts": $f, "../translations/ta.ts": t1, "../translations/te.ts": n1, "../translations/tg.ts": s1, "../translations/th.ts": a1, "../translations/ti.ts": u1, "../translations/tr.ts": d1, "../translations/tt.ts": f1, "../translations/ug.ts": h1, "../translations/uk.ts": A1, "../translations/ur.ts": v1, "../translations/uz.ts": k1, "../translations/vi.ts": S1, "../translations/yi.ts": T1, "../translations/yo.ts": C1, "../translations/zh-HK.ts": B1, "../translations/zh-MO.ts": W1, "../translations/zh-TW.ts": E1, "../translations/zh.ts": j1, "../translations/zu.ts": L1 }), rr = Object.entries(U1).map(([t, e]) => [D1(t), e.default]), Js = Object.fromEntries(rr.filter(([t, e]) => t.includes("-"))), Gs = Object.fromEntries(rr.filter(([t, e]) => e.isDefaultForLanguage).map(([t, e]) => [t.split("-")[0], e]));
|
|
4382
|
+
x1(Js, Gs);
|
|
4383
4383
|
const kt = (t, { locale: e } = {}) => {
|
|
4384
4384
|
const i = q1(e);
|
|
4385
4385
|
return i[t] || ci([
|
|
@@ -4390,8 +4390,8 @@ const kt = (t, { locale: e } = {}) => {
|
|
|
4390
4390
|
const e = [t, ...navigator.languages, "en"].filter((i) => i);
|
|
4391
4391
|
for (const i of e) {
|
|
4392
4392
|
const n = i.split("-")[0];
|
|
4393
|
-
if (
|
|
4394
|
-
return
|
|
4393
|
+
if (Js[i])
|
|
4394
|
+
return Js[i];
|
|
4395
4395
|
if (Gs[n])
|
|
4396
4396
|
return Gs[n];
|
|
4397
4397
|
}
|
|
@@ -4423,7 +4423,7 @@ var eo = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
4423
4423
|
function Z1(t) {
|
|
4424
4424
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
4425
4425
|
}
|
|
4426
|
-
function
|
|
4426
|
+
function K1(t) {
|
|
4427
4427
|
if (t.__esModule)
|
|
4428
4428
|
return t;
|
|
4429
4429
|
var e = t.default;
|
|
@@ -4445,14 +4445,14 @@ function J1(t) {
|
|
|
4445
4445
|
}), i;
|
|
4446
4446
|
}
|
|
4447
4447
|
var ur = { exports: {} };
|
|
4448
|
-
function
|
|
4448
|
+
function J1(t) {
|
|
4449
4449
|
throw new Error('Could not dynamically require "' + t + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
4450
4450
|
}
|
|
4451
4451
|
var zs = { exports: {} };
|
|
4452
4452
|
const G1 = {}, X1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4453
4453
|
__proto__: null,
|
|
4454
4454
|
default: G1
|
|
4455
|
-
}, Symbol.toStringTag, { value: "Module" })), Q1 = /* @__PURE__ */
|
|
4455
|
+
}, Symbol.toStringTag, { value: "Module" })), Q1 = /* @__PURE__ */ K1(X1);
|
|
4456
4456
|
var El;
|
|
4457
4457
|
function $1() {
|
|
4458
4458
|
return El || (El = 1, function(t, e) {
|
|
@@ -4461,7 +4461,7 @@ function $1() {
|
|
|
4461
4461
|
})(eo, function() {
|
|
4462
4462
|
var i = i || function(n, o) {
|
|
4463
4463
|
var s;
|
|
4464
|
-
if (typeof window != "undefined" && window.crypto && (s = window.crypto), typeof self != "undefined" && self.crypto && (s = self.crypto), typeof globalThis != "undefined" && globalThis.crypto && (s = globalThis.crypto), !s && typeof window != "undefined" && window.msCrypto && (s = window.msCrypto), !s && typeof eo != "undefined" && eo.crypto && (s = eo.crypto), !s && typeof
|
|
4464
|
+
if (typeof window != "undefined" && window.crypto && (s = window.crypto), typeof self != "undefined" && self.crypto && (s = self.crypto), typeof globalThis != "undefined" && globalThis.crypto && (s = globalThis.crypto), !s && typeof window != "undefined" && window.msCrypto && (s = window.msCrypto), !s && typeof eo != "undefined" && eo.crypto && (s = eo.crypto), !s && typeof J1 == "function")
|
|
4465
4465
|
try {
|
|
4466
4466
|
s = Q1;
|
|
4467
4467
|
} catch (p) {
|
|
@@ -4480,14 +4480,14 @@ function $1() {
|
|
|
4480
4480
|
}
|
|
4481
4481
|
}
|
|
4482
4482
|
throw new Error("Native crypto module could not be used to get secure random number.");
|
|
4483
|
-
}, a = Object.create || function() {
|
|
4483
|
+
}, a = Object.create || /* @__PURE__ */ function() {
|
|
4484
4484
|
function p() {
|
|
4485
4485
|
}
|
|
4486
4486
|
return function(w) {
|
|
4487
4487
|
var E;
|
|
4488
4488
|
return p.prototype = w, E = new p(), p.prototype = null, E;
|
|
4489
4489
|
};
|
|
4490
|
-
}(), r = {}, u = r.lib = {}, d = u.Base = function() {
|
|
4490
|
+
}(), r = {}, u = r.lib = {}, d = u.Base = /* @__PURE__ */ function() {
|
|
4491
4491
|
return {
|
|
4492
4492
|
/**
|
|
4493
4493
|
* Creates a new object that inherits from this object.
|
|
@@ -4619,8 +4619,8 @@ function $1() {
|
|
|
4619
4619
|
var w = this.words, E = p.words, D = this.sigBytes, S = p.sigBytes;
|
|
4620
4620
|
if (this.clamp(), D % 4)
|
|
4621
4621
|
for (var P = 0; P < S; P++) {
|
|
4622
|
-
var
|
|
4623
|
-
w[D + P >>> 2] |=
|
|
4622
|
+
var K = E[P >>> 2] >>> 24 - P % 4 * 8 & 255;
|
|
4623
|
+
w[D + P >>> 2] |= K << 24 - (D + P) % 4 * 8;
|
|
4624
4624
|
}
|
|
4625
4625
|
else
|
|
4626
4626
|
for (var N = 0; N < S; N += 4)
|
|
@@ -4823,7 +4823,7 @@ function $1() {
|
|
|
4823
4823
|
* var processedData = bufferedBlockAlgorithm._process(!!'flush');
|
|
4824
4824
|
*/
|
|
4825
4825
|
_process: function(p) {
|
|
4826
|
-
var w, E = this._data, D = E.words, S = E.sigBytes, P = this.blockSize,
|
|
4826
|
+
var w, E = this._data, D = E.words, S = E.sigBytes, P = this.blockSize, K = P * 4, N = S / K;
|
|
4827
4827
|
p ? N = n.ceil(N) : N = n.max((N | 0) - this._minBufferSize, 0);
|
|
4828
4828
|
var Y = N * P, ne = n.min(Y * 4, S);
|
|
4829
4829
|
if (Y) {
|
|
@@ -4978,8 +4978,8 @@ function $1() {
|
|
|
4978
4978
|
var p = v + T, w = y[p];
|
|
4979
4979
|
y[p] = (w << 8 | w >>> 24) & 16711935 | (w << 24 | w >>> 8) & 4278255360;
|
|
4980
4980
|
}
|
|
4981
|
-
var E = this._hash.words, D = y[v + 0], S = y[v + 1], P = y[v + 2],
|
|
4982
|
-
k = g(k, C, R, L, D, 7, u[0]), L = g(L, k, C, R, S, 12, u[1]), R = g(R, L, k, C, P, 17, u[2]), C = g(C, R, L, k,
|
|
4981
|
+
var E = this._hash.words, D = y[v + 0], S = y[v + 1], P = y[v + 2], K = y[v + 3], N = y[v + 4], Y = y[v + 5], ne = y[v + 6], ue = y[v + 7], ce = y[v + 8], $ = y[v + 9], ee = y[v + 10], te = y[v + 11], de = y[v + 12], se = y[v + 13], he = y[v + 14], re = y[v + 15], k = E[0], C = E[1], R = E[2], L = E[3];
|
|
4982
|
+
k = g(k, C, R, L, D, 7, u[0]), L = g(L, k, C, R, S, 12, u[1]), R = g(R, L, k, C, P, 17, u[2]), C = g(C, R, L, k, K, 22, u[3]), k = g(k, C, R, L, N, 7, u[4]), L = g(L, k, C, R, Y, 12, u[5]), R = g(R, L, k, C, ne, 17, u[6]), C = g(C, R, L, k, ue, 22, u[7]), k = g(k, C, R, L, ce, 7, u[8]), L = g(L, k, C, R, $, 12, u[9]), R = g(R, L, k, C, ee, 17, u[10]), C = g(C, R, L, k, te, 22, u[11]), k = g(k, C, R, L, de, 7, u[12]), L = g(L, k, C, R, se, 12, u[13]), R = g(R, L, k, C, he, 17, u[14]), C = g(C, R, L, k, re, 22, u[15]), k = f(k, C, R, L, S, 5, u[16]), L = f(L, k, C, R, ne, 9, u[17]), R = f(R, L, k, C, te, 14, u[18]), C = f(C, R, L, k, D, 20, u[19]), k = f(k, C, R, L, Y, 5, u[20]), L = f(L, k, C, R, ee, 9, u[21]), R = f(R, L, k, C, re, 14, u[22]), C = f(C, R, L, k, N, 20, u[23]), k = f(k, C, R, L, $, 5, u[24]), L = f(L, k, C, R, he, 9, u[25]), R = f(R, L, k, C, K, 14, u[26]), C = f(C, R, L, k, ce, 20, u[27]), k = f(k, C, R, L, se, 5, u[28]), L = f(L, k, C, R, P, 9, u[29]), R = f(R, L, k, C, ue, 14, u[30]), C = f(C, R, L, k, de, 20, u[31]), k = A(k, C, R, L, Y, 4, u[32]), L = A(L, k, C, R, ce, 11, u[33]), R = A(R, L, k, C, te, 16, u[34]), C = A(C, R, L, k, he, 23, u[35]), k = A(k, C, R, L, S, 4, u[36]), L = A(L, k, C, R, N, 11, u[37]), R = A(R, L, k, C, ue, 16, u[38]), C = A(C, R, L, k, ee, 23, u[39]), k = A(k, C, R, L, se, 4, u[40]), L = A(L, k, C, R, D, 11, u[41]), R = A(R, L, k, C, K, 16, u[42]), C = A(C, R, L, k, ne, 23, u[43]), k = A(k, C, R, L, $, 4, u[44]), L = A(L, k, C, R, de, 11, u[45]), R = A(R, L, k, C, re, 16, u[46]), C = A(C, R, L, k, P, 23, u[47]), k = m(k, C, R, L, D, 6, u[48]), L = m(L, k, C, R, ue, 10, u[49]), R = m(R, L, k, C, he, 15, u[50]), C = m(C, R, L, k, Y, 21, u[51]), k = m(k, C, R, L, de, 6, u[52]), L = m(L, k, C, R, K, 10, u[53]), R = m(R, L, k, C, ee, 15, u[54]), C = m(C, R, L, k, S, 21, u[55]), k = m(k, C, R, L, ce, 6, u[56]), L = m(L, k, C, R, re, 10, u[57]), R = m(R, L, k, C, ne, 15, u[58]), C = m(C, R, L, k, se, 21, u[59]), k = m(k, C, R, L, N, 6, u[60]), L = m(L, k, C, R, te, 10, u[61]), R = m(R, L, k, C, P, 15, u[62]), C = m(C, R, L, k, $, 21, u[63]), E[0] = E[0] + k | 0, E[1] = E[1] + C | 0, E[2] = E[2] + R | 0, E[3] = E[3] + L | 0;
|
|
4983
4983
|
},
|
|
4984
4984
|
_doFinalize: function() {
|
|
4985
4985
|
var y = this._data, v = y.words, T = this._nDataBytes * 8, p = y.sigBytes * 8;
|
|
@@ -4987,8 +4987,8 @@ function $1() {
|
|
|
4987
4987
|
var w = n.floor(T / 4294967296), E = T;
|
|
4988
4988
|
v[(p + 64 >>> 9 << 4) + 15] = (w << 8 | w >>> 24) & 16711935 | (w << 24 | w >>> 8) & 4278255360, v[(p + 64 >>> 9 << 4) + 14] = (E << 8 | E >>> 24) & 16711935 | (E << 24 | E >>> 8) & 4278255360, y.sigBytes = (v.length + 1) * 4, this._process();
|
|
4989
4989
|
for (var D = this._hash, S = D.words, P = 0; P < 4; P++) {
|
|
4990
|
-
var
|
|
4991
|
-
S[P] = (
|
|
4990
|
+
var K = S[P];
|
|
4991
|
+
S[P] = (K << 8 | K >>> 24) & 16711935 | (K << 24 | K >>> 8) & 4278255360;
|
|
4992
4992
|
}
|
|
4993
4993
|
return D;
|
|
4994
4994
|
},
|
|
@@ -5108,8 +5108,7 @@ const tm = /* @__PURE__ */ Z1(em), cr = (t) => {
|
|
|
5108
5108
|
else
|
|
5109
5109
|
return n;
|
|
5110
5110
|
}
|
|
5111
|
-
};
|
|
5112
|
-
const ii = (t, e, i) => Ce(t, e, e === "style" ? gm(i) : i), dm = /;(?!([^()]*\([^()]*\))*[^()]*\))/, gm = (t) => t.split(dm).filter((e) => e).map((e) => e + " !important").join(";");
|
|
5111
|
+
}, ii = (t, e, i) => Ce(t, e, e === "style" ? gm(i) : i), dm = /;(?!([^()]*\([^()]*\))*[^()]*\))/, gm = (t) => t.split(dm).filter((e) => e).map((e) => e + " !important").join(";");
|
|
5113
5112
|
function Ll(t, e, i) {
|
|
5114
5113
|
const n = t.slice();
|
|
5115
5114
|
return n[79] = e[i].url, n[80] = e[i].contentType, n[81] = e[i].format, n[83] = i, n;
|
|
@@ -5572,9 +5571,9 @@ function fm(t) {
|
|
|
5572
5571
|
};
|
|
5573
5572
|
}
|
|
5574
5573
|
function mm(t, e, i) {
|
|
5575
|
-
let n, o, s, l, a, r, u, d, g, f, A, m, y, v, T, p, { content: w } = e, { contentIndex: E } = e, { introOrOutro: D } = e, { activeAdvert: S } = e, { advertConsent: P } = e, { maxImageSize:
|
|
5576
|
-
} } = e, { metadataLoaded: Pe } = e, { video: _e = void 0 } = e,
|
|
5577
|
-
const Ge = (U) =>
|
|
5574
|
+
let n, o, s, l, a, r, u, d, g, f, A, m, y, v, T, p, { content: w } = e, { contentIndex: E } = e, { introOrOutro: D } = e, { activeAdvert: S } = e, { advertConsent: P } = e, { maxImageSize: K } = e, { projectId: N } = e, { playlistId: Y } = e, { contentId: ne } = e, { contentLanguage: ue } = e, { platform: ce } = e, { vendorIdentifier: $ } = e, { bundleIdentifier: ee } = e, { playbackState: te } = e, { duration: de } = e, { currentTime: se } = e, { playbackRate: he } = e, { prevPercentage: re } = e, { showUserInterface: k } = e, { videoBehindWidget: C } = e, { videoBehindStatic: R } = e, { videoMightBeShown: L } = e, { widgetPosition: Be } = e, { widgetWidth: Me } = e, { widgetTarget: J } = e, { onEvent: q = () => {
|
|
5575
|
+
} } = e, { metadataLoaded: Pe } = e, { video: _e = void 0 } = e, Je, We, $e, Le = 0, Ne = 0, ct = se, Ve, mt;
|
|
5576
|
+
const Ge = (U) => i(19, Le = U), ht = () => L, He = () => {
|
|
5578
5577
|
var U;
|
|
5579
5578
|
return (_e == null ? void 0 : _e.paused) && ((U = _e == null ? void 0 : _e.play()) == null ? void 0 : U.catch(et));
|
|
5580
5579
|
}, it = () => !(_e != null && _e.paused) && (_e == null ? void 0 : _e.pause()), _t = () => {
|
|
@@ -5604,7 +5603,7 @@ function mm(t, e, i) {
|
|
|
5604
5603
|
},
|
|
5605
5604
|
3e3
|
|
5606
5605
|
);
|
|
5607
|
-
},
|
|
5606
|
+
}, Ke = () => {
|
|
5608
5607
|
q(ve({
|
|
5609
5608
|
type: "DurationUpdated",
|
|
5610
5609
|
description: "The media's duration was updated.",
|
|
@@ -5723,7 +5722,7 @@ function mm(t, e, i) {
|
|
|
5723
5722
|
se = U, i(1, se), i(19, Le);
|
|
5724
5723
|
}
|
|
5725
5724
|
return t.$$set = (U) => {
|
|
5726
|
-
"content" in U && i(5, w = U.content), "contentIndex" in U && i(44, E = U.contentIndex), "introOrOutro" in U && i(45, D = U.introOrOutro), "activeAdvert" in U && i(46, S = U.activeAdvert), "advertConsent" in U && i(6, P = U.advertConsent), "maxImageSize" in U && i(7,
|
|
5725
|
+
"content" in U && i(5, w = U.content), "contentIndex" in U && i(44, E = U.contentIndex), "introOrOutro" in U && i(45, D = U.introOrOutro), "activeAdvert" in U && i(46, S = U.activeAdvert), "advertConsent" in U && i(6, P = U.advertConsent), "maxImageSize" in U && i(7, K = U.maxImageSize), "projectId" in U && i(8, N = U.projectId), "playlistId" in U && i(9, Y = U.playlistId), "contentId" in U && i(10, ne = U.contentId), "contentLanguage" in U && i(11, ue = U.contentLanguage), "platform" in U && i(12, ce = U.platform), "vendorIdentifier" in U && i(13, $ = U.vendorIdentifier), "bundleIdentifier" in U && i(14, ee = U.bundleIdentifier), "playbackState" in U && i(0, te = U.playbackState), "duration" in U && i(3, de = U.duration), "currentTime" in U && i(1, se = U.currentTime), "playbackRate" in U && i(4, he = U.playbackRate), "prevPercentage" in U && i(43, re = U.prevPercentage), "showUserInterface" in U && i(15, k = U.showUserInterface), "videoBehindWidget" in U && i(47, C = U.videoBehindWidget), "videoBehindStatic" in U && i(16, R = U.videoBehindStatic), "videoMightBeShown" in U && i(48, L = U.videoMightBeShown), "widgetPosition" in U && i(49, Be = U.widgetPosition), "widgetWidth" in U && i(50, Me = U.widgetWidth), "widgetTarget" in U && i(51, J = U.widgetTarget), "onEvent" in U && i(17, q = U.onEvent), "metadataLoaded" in U && i(42, Pe = U.metadataLoaded), "video" in U && i(2, _e = U.video);
|
|
5727
5726
|
}, t.$$.update = () => {
|
|
5728
5727
|
t.$$.dirty[0] & /*content, videoBehindStatic*/
|
|
5729
5728
|
65568 | t.$$.dirty[1] & /*videoBehindWidget*/
|
|
@@ -5731,7 +5730,7 @@ function mm(t, e, i) {
|
|
|
5731
5730
|
1073741824 && n && import("./././././././././style.js"), t.$$.dirty[0] & /*time*/
|
|
5732
5731
|
524288 && i(1, se = Le), t.$$.dirty[0] & /*currentTime*/
|
|
5733
5732
|
2 | t.$$.dirty[1] & /*activeAdvert*/
|
|
5734
|
-
32768 && !S && Ge(se), t.$$.dirty[0] & /*content*/
|
|
5733
|
+
32768 && !S && nr().then(() => Ge(se)), t.$$.dirty[0] & /*content*/
|
|
5735
5734
|
32 | t.$$.dirty[1] & /*contentIndex*/
|
|
5736
5735
|
8192 && i(60, o = w[E]), t.$$.dirty[1] & /*contentItem*/
|
|
5737
5736
|
536870912 && i(56, s = (o == null ? void 0 : o.segments) || []), t.$$.dirty[1] & /*contentIndex, introOrOutro, activeAdvert, loadCount*/
|
|
@@ -5746,9 +5745,9 @@ function mm(t, e, i) {
|
|
|
5746
5745
|
402653184 && i(20, u = Vc(r, ht(), a)), t.$$.dirty[0] & /*sources*/
|
|
5747
5746
|
1048576 && i(42, Pe = !1), t.$$.dirty[0] & /*sources*/
|
|
5748
5747
|
1048576 && i(43, re = 0), t.$$.dirty[0] & /*sources, video*/
|
|
5749
|
-
1048580 && Oc(u[0], _e).then((U) => i(52,
|
|
5748
|
+
1048580 && Oc(u[0], _e).then((U) => i(52, Je = U)), t.$$.dirty[0] & /*sources, video, hls*/
|
|
5750
5749
|
1310724 | t.$$.dirty[1] & /*Hls*/
|
|
5751
|
-
2097152 && i(18, We = jc(u[0], _e,
|
|
5750
|
+
2097152 && i(18, We = jc(u[0], _e, Je, We, ot, yt, He)), t.$$.dirty[0] & /*playbackState, hls*/
|
|
5752
5751
|
262145 | t.$$.dirty[1] & /*startPosition*/
|
|
5753
5752
|
268435456 && (te === "playing" || ht()) && ar(We, a), t.$$.dirty[1] & /*activeAdvert*/
|
|
5754
5753
|
32768 && i(21, d = S == null ? void 0 : S.vastUrl), t.$$.dirty[1] & /*activeAdvert*/
|
|
@@ -5756,8 +5755,8 @@ function mm(t, e, i) {
|
|
|
5756
5755
|
32768 && i(28, f = S == null ? void 0 : S.clickThroughUrl), t.$$.dirty[0] & /*vastUrl, playbackState*/
|
|
5757
5756
|
2097153 | t.$$.dirty[1] & /*metadataLoaded*/
|
|
5758
5757
|
2048 && Pe && !d && (te === "playing" ? He() : it()), t.$$.dirty[1] & /*videoBehindWidget, widgetTarget*/
|
|
5759
|
-
1114112 && i(27, A = C &&
|
|
5760
|
-
1114112 && i(22, m = C && !
|
|
5758
|
+
1114112 && i(27, A = C && J), t.$$.dirty[1] & /*videoBehindWidget, widgetTarget*/
|
|
5759
|
+
1114112 && i(22, m = C && !J), t.$$.dirty[0] & /*videoBehindSlidingWidget*/
|
|
5761
5760
|
4194304 | t.$$.dirty[1] & /*widgetPosition*/
|
|
5762
5761
|
262144 && i(26, y = m && Be !== "auto" ? `fixed-${Be}` : ""), t.$$.dirty[0] & /*videoBehindSlidingWidget*/
|
|
5763
5762
|
4194304 | t.$$.dirty[1] & /*widgetWidth*/
|
|
@@ -5774,7 +5773,7 @@ function mm(t, e, i) {
|
|
|
5774
5773
|
he,
|
|
5775
5774
|
w,
|
|
5776
5775
|
P,
|
|
5777
|
-
|
|
5776
|
+
K,
|
|
5778
5777
|
N,
|
|
5779
5778
|
Y,
|
|
5780
5779
|
ne,
|
|
@@ -5802,7 +5801,7 @@ function mm(t, e, i) {
|
|
|
5802
5801
|
At,
|
|
5803
5802
|
Oe,
|
|
5804
5803
|
Ze,
|
|
5805
|
-
|
|
5804
|
+
Ke,
|
|
5806
5805
|
yt,
|
|
5807
5806
|
Re,
|
|
5808
5807
|
pt,
|
|
@@ -5818,8 +5817,8 @@ function mm(t, e, i) {
|
|
|
5818
5817
|
L,
|
|
5819
5818
|
Be,
|
|
5820
5819
|
Me,
|
|
5821
|
-
|
|
5822
|
-
|
|
5820
|
+
J,
|
|
5821
|
+
Je,
|
|
5823
5822
|
Ne,
|
|
5824
5823
|
Ve,
|
|
5825
5824
|
p,
|
|
@@ -6226,7 +6225,7 @@ function Cm(t) {
|
|
|
6226
6225
|
}
|
|
6227
6226
|
return Cs(o.left, o.top, a, r);
|
|
6228
6227
|
}
|
|
6229
|
-
var Im = function() {
|
|
6228
|
+
var Im = /* @__PURE__ */ function() {
|
|
6230
6229
|
return typeof SVGGraphicsElement != "undefined" ? function(t) {
|
|
6231
6230
|
return t instanceof Fn(t).SVGGraphicsElement;
|
|
6232
6231
|
} : function(t) {
|
|
@@ -6271,7 +6270,7 @@ var Om = (
|
|
|
6271
6270
|
}()
|
|
6272
6271
|
), Em = (
|
|
6273
6272
|
/** @class */
|
|
6274
|
-
function() {
|
|
6273
|
+
/* @__PURE__ */ function() {
|
|
6275
6274
|
function t(e, i) {
|
|
6276
6275
|
var n = Wm(i);
|
|
6277
6276
|
fr(this, { target: e, contentRect: n });
|
|
@@ -6326,7 +6325,7 @@ var Om = (
|
|
|
6326
6325
|
}()
|
|
6327
6326
|
), hr = typeof WeakMap != "undefined" ? /* @__PURE__ */ new WeakMap() : new gr(), _r = (
|
|
6328
6327
|
/** @class */
|
|
6329
|
-
function() {
|
|
6328
|
+
/* @__PURE__ */ function() {
|
|
6330
6329
|
function t(e) {
|
|
6331
6330
|
if (!(this instanceof t))
|
|
6332
6331
|
throw new TypeError("Cannot call a class as a function.");
|
|
@@ -6472,7 +6471,7 @@ class Hm extends Te {
|
|
|
6472
6471
|
}
|
|
6473
6472
|
}
|
|
6474
6473
|
const ql = (t, e, i) => Yt(t, e, i, 1), On = (t, e, i) => Ce(t, e, e === "style" ? Zm(i) : i), Ym = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Zm = (t) => t.split(Ym).filter((e) => e).map((e) => e + " !important").join(";");
|
|
6475
|
-
function
|
|
6474
|
+
function Km(t) {
|
|
6476
6475
|
let e, i;
|
|
6477
6476
|
return e = new Nm({
|
|
6478
6477
|
props: {
|
|
@@ -6511,7 +6510,7 @@ function Jm(t) {
|
|
|
6511
6510
|
}
|
|
6512
6511
|
};
|
|
6513
6512
|
}
|
|
6514
|
-
function
|
|
6513
|
+
function Jm(t) {
|
|
6515
6514
|
let e, i;
|
|
6516
6515
|
return e = new Hm({
|
|
6517
6516
|
props: {
|
|
@@ -6552,7 +6551,7 @@ function Km(t) {
|
|
|
6552
6551
|
}
|
|
6553
6552
|
function Gm(t) {
|
|
6554
6553
|
let e, i, n, o, s, l;
|
|
6555
|
-
const a = [
|
|
6554
|
+
const a = [Jm, Km], r = [];
|
|
6556
6555
|
function u(d, g) {
|
|
6557
6556
|
return (
|
|
6558
6557
|
/*isPlaying*/
|
|
@@ -7736,7 +7735,7 @@ function Zh(t) {
|
|
|
7736
7735
|
}
|
|
7737
7736
|
};
|
|
7738
7737
|
}
|
|
7739
|
-
function
|
|
7738
|
+
function Kh(t, e, i) {
|
|
7740
7739
|
let n, o, s, l, a, { style: r = "segments" } = e, { scale: u = 1 } = e, { color: d = "#323232" } = e, { onEvent: g = () => {
|
|
7741
7740
|
} } = e, f;
|
|
7742
7741
|
const A = () => {
|
|
@@ -7771,9 +7770,9 @@ function Jh(t, e, i) {
|
|
|
7771
7770
|
n
|
|
7772
7771
|
];
|
|
7773
7772
|
}
|
|
7774
|
-
class
|
|
7773
|
+
class Jh extends Te {
|
|
7775
7774
|
constructor(e) {
|
|
7776
|
-
super(), we(this, e,
|
|
7775
|
+
super(), we(this, e, Kh, Zh, Se, { style: 8, scale: 0, color: 1, onEvent: 9 });
|
|
7777
7776
|
}
|
|
7778
7777
|
get style() {
|
|
7779
7778
|
return this.$$.ctx[8];
|
|
@@ -7854,7 +7853,7 @@ function $h(t, e, i) {
|
|
|
7854
7853
|
"scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
|
|
7855
7854
|
}, [n, o];
|
|
7856
7855
|
}
|
|
7857
|
-
class
|
|
7856
|
+
class e0 extends Te {
|
|
7858
7857
|
constructor(e) {
|
|
7859
7858
|
super(), we(this, e, $h, Qh, Se, { scale: 0, color: 1 });
|
|
7860
7859
|
}
|
|
@@ -7871,8 +7870,8 @@ class e_ extends Te {
|
|
|
7871
7870
|
this.$$set({ color: e }), c();
|
|
7872
7871
|
}
|
|
7873
7872
|
}
|
|
7874
|
-
const mi = (t, e, i) => Ce(t, e, e === "style" ?
|
|
7875
|
-
function
|
|
7873
|
+
const mi = (t, e, i) => Ce(t, e, e === "style" ? i0(i) : i), t0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, i0 = (t) => t.split(t0).filter((e) => e).map((e) => e + " !important").join(";");
|
|
7874
|
+
function n0(t) {
|
|
7876
7875
|
let e, i, n, o, s, l;
|
|
7877
7876
|
return {
|
|
7878
7877
|
c() {
|
|
@@ -7919,15 +7918,15 @@ function n_(t) {
|
|
|
7919
7918
|
}
|
|
7920
7919
|
};
|
|
7921
7920
|
}
|
|
7922
|
-
function
|
|
7921
|
+
function o0(t, e, i) {
|
|
7923
7922
|
let { scale: n = 1 } = e, { color: o = "#323232" } = e;
|
|
7924
7923
|
return t.$$set = (s) => {
|
|
7925
7924
|
"scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
|
|
7926
7925
|
}, [n, o];
|
|
7927
7926
|
}
|
|
7928
|
-
class
|
|
7927
|
+
class s0 extends Te {
|
|
7929
7928
|
constructor(e) {
|
|
7930
|
-
super(), we(this, e,
|
|
7929
|
+
super(), we(this, e, o0, n0, Se, { scale: 0, color: 1 });
|
|
7931
7930
|
}
|
|
7932
7931
|
get scale() {
|
|
7933
7932
|
return this.$$.ctx[0];
|
|
@@ -7942,10 +7941,10 @@ class s_ extends Te {
|
|
|
7942
7941
|
this.$$set({ color: e }), c();
|
|
7943
7942
|
}
|
|
7944
7943
|
}
|
|
7945
|
-
const Hl = (t, e, i) => Yt(t, e, i, 1), jo = (t, e, i) => Ce(t, e, e === "style" ?
|
|
7946
|
-
function
|
|
7944
|
+
const Hl = (t, e, i) => Yt(t, e, i, 1), jo = (t, e, i) => Ce(t, e, e === "style" ? a0(i) : i), l0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, a0 = (t) => t.split(l0).filter((e) => e).map((e) => e + " !important").join(";");
|
|
7945
|
+
function r0(t) {
|
|
7947
7946
|
let e, i;
|
|
7948
|
-
return e = new
|
|
7947
|
+
return e = new e0({
|
|
7949
7948
|
props: {
|
|
7950
7949
|
scale: (
|
|
7951
7950
|
/*scale*/
|
|
@@ -7982,9 +7981,9 @@ function r_(t) {
|
|
|
7982
7981
|
}
|
|
7983
7982
|
};
|
|
7984
7983
|
}
|
|
7985
|
-
function
|
|
7984
|
+
function u0(t) {
|
|
7986
7985
|
let e, i;
|
|
7987
|
-
return e = new
|
|
7986
|
+
return e = new s0({
|
|
7988
7987
|
props: {
|
|
7989
7988
|
scale: (
|
|
7990
7989
|
/*scale*/
|
|
@@ -8021,9 +8020,9 @@ function u_(t) {
|
|
|
8021
8020
|
}
|
|
8022
8021
|
};
|
|
8023
8022
|
}
|
|
8024
|
-
function
|
|
8023
|
+
function c0(t) {
|
|
8025
8024
|
let e, i, n, o, s, l, a;
|
|
8026
|
-
const r = [
|
|
8025
|
+
const r = [u0, r0], u = [];
|
|
8027
8026
|
function d(g, f) {
|
|
8028
8027
|
return (
|
|
8029
8028
|
/*playlistShowing*/
|
|
@@ -8068,7 +8067,7 @@ function c_(t) {
|
|
|
8068
8067
|
}
|
|
8069
8068
|
};
|
|
8070
8069
|
}
|
|
8071
|
-
function
|
|
8070
|
+
function d0(t, e, i) {
|
|
8072
8071
|
let { playlistShowing: n } = e, { playerStyle: o } = e, { scale: s = 1 } = e, { color: l = "#323232" } = e, { onEvent: a = () => {
|
|
8073
8072
|
} } = e;
|
|
8074
8073
|
const r = () => {
|
|
@@ -8082,9 +8081,9 @@ function d_(t, e, i) {
|
|
|
8082
8081
|
"playlistShowing" in u && i(0, n = u.playlistShowing), "playerStyle" in u && i(1, o = u.playerStyle), "scale" in u && i(2, s = u.scale), "color" in u && i(3, l = u.color), "onEvent" in u && i(5, a = u.onEvent);
|
|
8083
8082
|
}, [n, o, s, l, r, a];
|
|
8084
8083
|
}
|
|
8085
|
-
class
|
|
8084
|
+
class g0 extends Te {
|
|
8086
8085
|
constructor(e) {
|
|
8087
|
-
super(), we(this, e,
|
|
8086
|
+
super(), we(this, e, d0, c0, Se, {
|
|
8088
8087
|
playlistShowing: 0,
|
|
8089
8088
|
playerStyle: 1,
|
|
8090
8089
|
scale: 2,
|
|
@@ -8123,8 +8122,8 @@ class g_ extends Te {
|
|
|
8123
8122
|
this.$$set({ onEvent: e }), c();
|
|
8124
8123
|
}
|
|
8125
8124
|
}
|
|
8126
|
-
const Yl = (t, e, i) => Yt(t, e, i, 1), Zl = (t, e, i) => Ce(t, e, e === "style" ?
|
|
8127
|
-
function
|
|
8125
|
+
const Yl = (t, e, i) => Yt(t, e, i, 1), Zl = (t, e, i) => Ce(t, e, e === "style" ? m0(i) : i), f0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, m0 = (t) => t.split(f0).filter((e) => e).map((e) => e + " !important").join(";");
|
|
8126
|
+
function h0(t) {
|
|
8128
8127
|
let e, i, n;
|
|
8129
8128
|
const o = (
|
|
8130
8129
|
/*#slots*/
|
|
@@ -8224,7 +8223,7 @@ function h_(t) {
|
|
|
8224
8223
|
}
|
|
8225
8224
|
};
|
|
8226
8225
|
}
|
|
8227
|
-
function
|
|
8226
|
+
function _0(t, e, i) {
|
|
8228
8227
|
let { $$slots: n = {}, $$scope: o } = e, { playerStyle: s } = e, { isMobile: l } = e, { isAdvert: a } = e, { fixedPosition: r } = e, { scale: u } = e, { controlsOrder: d } = e;
|
|
8229
8228
|
return t.$$set = (g) => {
|
|
8230
8229
|
"playerStyle" in g && i(0, s = g.playerStyle), "isMobile" in g && i(1, l = g.isMobile), "isAdvert" in g && i(2, a = g.isAdvert), "fixedPosition" in g && i(3, r = g.fixedPosition), "scale" in g && i(4, u = g.scale), "controlsOrder" in g && i(5, d = g.controlsOrder), "$$scope" in g && i(6, o = g.$$scope);
|
|
@@ -8239,9 +8238,9 @@ function __(t, e, i) {
|
|
|
8239
8238
|
n
|
|
8240
8239
|
];
|
|
8241
8240
|
}
|
|
8242
|
-
class
|
|
8241
|
+
class A0 extends Te {
|
|
8243
8242
|
constructor(e) {
|
|
8244
|
-
super(), we(this, e,
|
|
8243
|
+
super(), we(this, e, _0, h0, Se, {
|
|
8245
8244
|
playerStyle: 0,
|
|
8246
8245
|
isMobile: 1,
|
|
8247
8246
|
isAdvert: 2,
|
|
@@ -8287,8 +8286,8 @@ class A_ extends Te {
|
|
|
8287
8286
|
this.$$set({ controlsOrder: e }), c();
|
|
8288
8287
|
}
|
|
8289
8288
|
}
|
|
8290
|
-
const Ui = (t, e, i) => Ce(t, e, e === "style" ?
|
|
8291
|
-
function
|
|
8289
|
+
const Ui = (t, e, i) => Ce(t, e, e === "style" ? v0(i) : i), y0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, v0 = (t) => t.split(y0).filter((e) => e).map((e) => e + " !important").join(";");
|
|
8290
|
+
function b0(t) {
|
|
8292
8291
|
let e, i, n, o;
|
|
8293
8292
|
return {
|
|
8294
8293
|
c() {
|
|
@@ -8324,15 +8323,15 @@ function b_(t) {
|
|
|
8324
8323
|
}
|
|
8325
8324
|
};
|
|
8326
8325
|
}
|
|
8327
|
-
function
|
|
8326
|
+
function k0(t, e, i) {
|
|
8328
8327
|
let { scale: n = 1 } = e, { color: o = "#323232" } = e;
|
|
8329
8328
|
return t.$$set = (s) => {
|
|
8330
8329
|
"scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
|
|
8331
8330
|
}, [n, o];
|
|
8332
8331
|
}
|
|
8333
|
-
class
|
|
8332
|
+
class p0 extends Te {
|
|
8334
8333
|
constructor(e) {
|
|
8335
|
-
super(), we(this, e,
|
|
8334
|
+
super(), we(this, e, k0, b0, Se, { scale: 0, color: 1 });
|
|
8336
8335
|
}
|
|
8337
8336
|
get scale() {
|
|
8338
8337
|
return this.$$.ctx[0];
|
|
@@ -8347,10 +8346,10 @@ class p_ extends Te {
|
|
|
8347
8346
|
this.$$set({ color: e }), c();
|
|
8348
8347
|
}
|
|
8349
8348
|
}
|
|
8350
|
-
const zo = (t, e, i) => Yt(t, e, i, 1), Ls = (t, e, i) => Ce(t, e, e === "style" ?
|
|
8351
|
-
function
|
|
8349
|
+
const zo = (t, e, i) => Yt(t, e, i, 1), Ls = (t, e, i) => Ce(t, e, e === "style" ? w0(i) : i), S0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, w0 = (t) => t.split(S0).filter((e) => e).map((e) => e + " !important").join(";");
|
|
8350
|
+
function Kl(t) {
|
|
8352
8351
|
let e, i, n, o, s;
|
|
8353
|
-
return i = new
|
|
8352
|
+
return i = new p0({
|
|
8354
8353
|
props: {
|
|
8355
8354
|
scale: (
|
|
8356
8355
|
/*scale*/
|
|
@@ -8409,11 +8408,11 @@ function Jl(t) {
|
|
|
8409
8408
|
}
|
|
8410
8409
|
};
|
|
8411
8410
|
}
|
|
8412
|
-
function
|
|
8411
|
+
function T0(t) {
|
|
8413
8412
|
let e, i, n = (
|
|
8414
8413
|
/*audioIndex*/
|
|
8415
8414
|
(t[3] !== -1 || /*videoIndex*/
|
|
8416
|
-
t[4] !== -1) &&
|
|
8415
|
+
t[4] !== -1) && Kl(t)
|
|
8417
8416
|
);
|
|
8418
8417
|
return {
|
|
8419
8418
|
c() {
|
|
@@ -8426,7 +8425,7 @@ function T_(t) {
|
|
|
8426
8425
|
/*audioIndex*/
|
|
8427
8426
|
o[3] !== -1 || /*videoIndex*/
|
|
8428
8427
|
o[4] !== -1 ? n ? (n.p(o, s), s & /*audioIndex, videoIndex*/
|
|
8429
|
-
24 && I(n, 1)) : (n =
|
|
8428
|
+
24 && I(n, 1)) : (n = Kl(o), n.c(), I(n, 1), n.m(e.parentNode, e)) : n && (Fe(), z(n, 1, 1, () => {
|
|
8430
8429
|
n = null;
|
|
8431
8430
|
}), Ue());
|
|
8432
8431
|
},
|
|
@@ -8441,7 +8440,7 @@ function T_(t) {
|
|
|
8441
8440
|
}
|
|
8442
8441
|
};
|
|
8443
8442
|
}
|
|
8444
|
-
function
|
|
8443
|
+
function P0(t, e, i) {
|
|
8445
8444
|
let { downloadFormats: n } = e, { contentIndex: o } = e, { audio: s } = e, { video: l } = e, { scale: a = 1 } = e, { color: r = "#323232" } = e, { padding: u = 0 } = e, { isVisible: d } = e, { onEvent: g = () => {
|
|
8446
8445
|
} } = e;
|
|
8447
8446
|
const f = (v, T, p) => {
|
|
@@ -8490,7 +8489,7 @@ function P_(t, e, i) {
|
|
|
8490
8489
|
}
|
|
8491
8490
|
class Ar extends Te {
|
|
8492
8491
|
constructor(e) {
|
|
8493
|
-
super(), we(this, e,
|
|
8492
|
+
super(), we(this, e, P0, T0, Se, {
|
|
8494
8493
|
downloadFormats: 7,
|
|
8495
8494
|
contentIndex: 8,
|
|
8496
8495
|
audio: 9,
|
|
@@ -8557,8 +8556,8 @@ class Ar extends Te {
|
|
|
8557
8556
|
this.$$set({ onEvent: e }), c();
|
|
8558
8557
|
}
|
|
8559
8558
|
}
|
|
8560
|
-
const qi = (t, e, i) => Ce(t, e, e === "style" ?
|
|
8561
|
-
function
|
|
8559
|
+
const qi = (t, e, i) => Ce(t, e, e === "style" ? I0(i) : i), C0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, I0 = (t) => t.split(C0).filter((e) => e).map((e) => e + " !important").join(";");
|
|
8560
|
+
function B0(t) {
|
|
8562
8561
|
let e, i, n, o;
|
|
8563
8562
|
return {
|
|
8564
8563
|
c() {
|
|
@@ -8594,15 +8593,15 @@ function B_(t) {
|
|
|
8594
8593
|
}
|
|
8595
8594
|
};
|
|
8596
8595
|
}
|
|
8597
|
-
function
|
|
8596
|
+
function V0(t, e, i) {
|
|
8598
8597
|
let { scale: n = 1 } = e, { color: o = "#323232" } = e;
|
|
8599
8598
|
return t.$$set = (s) => {
|
|
8600
8599
|
"scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
|
|
8601
8600
|
}, [n, o];
|
|
8602
8601
|
}
|
|
8603
|
-
class
|
|
8602
|
+
class W0 extends Te {
|
|
8604
8603
|
constructor(e) {
|
|
8605
|
-
super(), we(this, e,
|
|
8604
|
+
super(), we(this, e, V0, B0, Se, { scale: 0, color: 1 });
|
|
8606
8605
|
}
|
|
8607
8606
|
get scale() {
|
|
8608
8607
|
return this.$$.ctx[0];
|
|
@@ -8617,10 +8616,10 @@ class W_ extends Te {
|
|
|
8617
8616
|
this.$$set({ color: e }), c();
|
|
8618
8617
|
}
|
|
8619
8618
|
}
|
|
8620
|
-
const
|
|
8621
|
-
function
|
|
8619
|
+
const Jl = (t, e, i) => Yt(t, e, i, 1), Ds = (t, e, i) => Ce(t, e, e === "style" ? E0(i) : i), O0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, E0 = (t) => t.split(O0).filter((e) => e).map((e) => e + " !important").join(";");
|
|
8620
|
+
function M0(t) {
|
|
8622
8621
|
let e, i, n, o, s;
|
|
8623
|
-
return i = new
|
|
8622
|
+
return i = new W0({
|
|
8624
8623
|
props: {
|
|
8625
8624
|
scale: (
|
|
8626
8625
|
/*scale*/
|
|
@@ -8633,7 +8632,7 @@ function M_(t) {
|
|
|
8633
8632
|
}
|
|
8634
8633
|
}), {
|
|
8635
8634
|
c() {
|
|
8636
|
-
e = b("button"), me(i.$$.fragment), Ds(e, "type", "button"), Ds(e, "class", "maximize-button svelte-fk321i"),
|
|
8635
|
+
e = b("button"), me(i.$$.fragment), Ds(e, "type", "button"), Ds(e, "class", "maximize-button svelte-fk321i"), Jl(e, "outline-offset", 6.4 * /*scale*/
|
|
8637
8636
|
t[0] + "px"), Ds(e, "aria-label", kt("maximizeVideo"));
|
|
8638
8637
|
},
|
|
8639
8638
|
m(l, a) {
|
|
@@ -8654,7 +8653,7 @@ function M_(t) {
|
|
|
8654
8653
|
l[0]), a & /*color*/
|
|
8655
8654
|
2 && (r.color = /*color*/
|
|
8656
8655
|
l[1]), i.$set(r), (!n || a & /*scale*/
|
|
8657
|
-
1) &&
|
|
8656
|
+
1) && Jl(e, "outline-offset", 6.4 * /*scale*/
|
|
8658
8657
|
l[0] + "px");
|
|
8659
8658
|
},
|
|
8660
8659
|
i(l) {
|
|
@@ -8668,7 +8667,7 @@ function M_(t) {
|
|
|
8668
8667
|
}
|
|
8669
8668
|
};
|
|
8670
8669
|
}
|
|
8671
|
-
function
|
|
8670
|
+
function j0(t, e, i) {
|
|
8672
8671
|
let { scale: n = 1 } = e, { color: o = "#323232" } = e, { onEvent: s = () => {
|
|
8673
8672
|
} } = e;
|
|
8674
8673
|
const l = () => {
|
|
@@ -8682,9 +8681,9 @@ function j_(t, e, i) {
|
|
|
8682
8681
|
"scale" in a && i(0, n = a.scale), "color" in a && i(1, o = a.color), "onEvent" in a && i(3, s = a.onEvent);
|
|
8683
8682
|
}, [n, o, l, s];
|
|
8684
8683
|
}
|
|
8685
|
-
class
|
|
8684
|
+
class z0 extends Te {
|
|
8686
8685
|
constructor(e) {
|
|
8687
|
-
super(), we(this, e,
|
|
8686
|
+
super(), we(this, e, j0, M0, Se, { scale: 0, color: 1, onEvent: 3 });
|
|
8688
8687
|
}
|
|
8689
8688
|
get scale() {
|
|
8690
8689
|
return this.$$.ctx[0];
|
|
@@ -8705,8 +8704,8 @@ class z_ extends Te {
|
|
|
8705
8704
|
this.$$set({ onEvent: e }), c();
|
|
8706
8705
|
}
|
|
8707
8706
|
}
|
|
8708
|
-
const Hi = (t, e, i) => Ce(t, e, e === "style" ?
|
|
8709
|
-
function
|
|
8707
|
+
const Hi = (t, e, i) => Ce(t, e, e === "style" ? D0(i) : i), L0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, D0 = (t) => t.split(L0).filter((e) => e).map((e) => e + " !important").join(";");
|
|
8708
|
+
function x0(t) {
|
|
8710
8709
|
let e, i, n, o;
|
|
8711
8710
|
return {
|
|
8712
8711
|
c() {
|
|
@@ -8742,15 +8741,15 @@ function x_(t) {
|
|
|
8742
8741
|
}
|
|
8743
8742
|
};
|
|
8744
8743
|
}
|
|
8745
|
-
function
|
|
8744
|
+
function N0(t, e, i) {
|
|
8746
8745
|
let { scale: n = 1 } = e, { color: o = "#323232" } = e;
|
|
8747
8746
|
return t.$$set = (s) => {
|
|
8748
8747
|
"scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
|
|
8749
8748
|
}, [n, o];
|
|
8750
8749
|
}
|
|
8751
|
-
class
|
|
8750
|
+
class R0 extends Te {
|
|
8752
8751
|
constructor(e) {
|
|
8753
|
-
super(), we(this, e,
|
|
8752
|
+
super(), we(this, e, N0, x0, Se, { scale: 0, color: 1 });
|
|
8754
8753
|
}
|
|
8755
8754
|
get scale() {
|
|
8756
8755
|
return this.$$.ctx[0];
|
|
@@ -8765,10 +8764,10 @@ class R_ extends Te {
|
|
|
8765
8764
|
this.$$set({ color: e }), c();
|
|
8766
8765
|
}
|
|
8767
8766
|
}
|
|
8768
|
-
const Lo = (t, e, i) => Yt(t, e, i, 1), xs = (t, e, i) => Ce(t, e, e === "style" ?
|
|
8769
|
-
function
|
|
8767
|
+
const Lo = (t, e, i) => Yt(t, e, i, 1), xs = (t, e, i) => Ce(t, e, e === "style" ? U0(i) : i), F0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, U0 = (t) => t.split(F0).filter((e) => e).map((e) => e + " !important").join(";");
|
|
8768
|
+
function q0(t) {
|
|
8770
8769
|
let e, i, n, o, s;
|
|
8771
|
-
return i = new
|
|
8770
|
+
return i = new R0({
|
|
8772
8771
|
props: {
|
|
8773
8772
|
scale: (
|
|
8774
8773
|
/*scale*/
|
|
@@ -8827,7 +8826,7 @@ function q_(t) {
|
|
|
8827
8826
|
}
|
|
8828
8827
|
};
|
|
8829
8828
|
}
|
|
8830
|
-
function
|
|
8829
|
+
function H0(t, e, i) {
|
|
8831
8830
|
let { scale: n = 1 } = e, { color: o = "#323232" } = e, { margin: s = "auto" } = e, { onEvent: l = () => {
|
|
8832
8831
|
} } = e;
|
|
8833
8832
|
const a = () => {
|
|
@@ -8841,9 +8840,9 @@ function H_(t, e, i) {
|
|
|
8841
8840
|
"scale" in r && i(0, n = r.scale), "color" in r && i(1, o = r.color), "margin" in r && i(2, s = r.margin), "onEvent" in r && i(4, l = r.onEvent);
|
|
8842
8841
|
}, [n, o, s, a, l];
|
|
8843
8842
|
}
|
|
8844
|
-
class
|
|
8843
|
+
class Y0 extends Te {
|
|
8845
8844
|
constructor(e) {
|
|
8846
|
-
super(), we(this, e,
|
|
8845
|
+
super(), we(this, e, H0, q0, Se, {
|
|
8847
8846
|
scale: 0,
|
|
8848
8847
|
color: 1,
|
|
8849
8848
|
margin: 2,
|
|
@@ -8875,8 +8874,8 @@ class Y_ extends Te {
|
|
|
8875
8874
|
this.$$set({ onEvent: e }), c();
|
|
8876
8875
|
}
|
|
8877
8876
|
}
|
|
8878
|
-
const Gi = (t, e, i) => Ce(t, e, e === "style" ?
|
|
8879
|
-
function
|
|
8877
|
+
const Gi = (t, e, i) => Ce(t, e, e === "style" ? K0(i) : i), Z0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, K0 = (t) => t.split(Z0).filter((e) => e).map((e) => e + " !important").join(";");
|
|
8878
|
+
function J0(t) {
|
|
8880
8879
|
let e, i, n, o;
|
|
8881
8880
|
return {
|
|
8882
8881
|
c() {
|
|
@@ -8912,15 +8911,15 @@ function K_(t) {
|
|
|
8912
8911
|
}
|
|
8913
8912
|
};
|
|
8914
8913
|
}
|
|
8915
|
-
function
|
|
8914
|
+
function G0(t, e, i) {
|
|
8916
8915
|
let { scale: n = 1 } = e, { color: o = "#323232" } = e;
|
|
8917
8916
|
return t.$$set = (s) => {
|
|
8918
8917
|
"scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
|
|
8919
8918
|
}, [n, o];
|
|
8920
8919
|
}
|
|
8921
|
-
class
|
|
8920
|
+
class X0 extends Te {
|
|
8922
8921
|
constructor(e) {
|
|
8923
|
-
super(), we(this, e,
|
|
8922
|
+
super(), we(this, e, G0, J0, Se, { scale: 0, color: 1 });
|
|
8924
8923
|
}
|
|
8925
8924
|
get scale() {
|
|
8926
8925
|
return this.$$.ctx[0];
|
|
@@ -8935,9 +8934,8 @@ class X_ extends Te {
|
|
|
8935
8934
|
this.$$set({ color: e }), c();
|
|
8936
8935
|
}
|
|
8937
8936
|
}
|
|
8938
|
-
const yr = (t) => !t || t != null && t.startsWith("http") ? t : `https://${t}
|
|
8939
|
-
|
|
8940
|
-
function e0(t) {
|
|
8937
|
+
const yr = (t) => !t || t != null && t.startsWith("http") ? t : `https://${t}`, pn = (t, e, i) => Ce(t, e, e === "style" ? $0(i) : i), Q0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, $0 = (t) => t.split(Q0).filter((e) => e).map((e) => e + " !important").join(";");
|
|
8938
|
+
function e_(t) {
|
|
8941
8939
|
let e, i, n, o, s;
|
|
8942
8940
|
return {
|
|
8943
8941
|
c() {
|
|
@@ -9016,7 +9014,7 @@ function e0(t) {
|
|
|
9016
9014
|
}
|
|
9017
9015
|
};
|
|
9018
9016
|
}
|
|
9019
|
-
function
|
|
9017
|
+
function t_(t, e, i) {
|
|
9020
9018
|
let n, o, s, { href: l } = e, { scale: a = 1 } = e, { color: r = "#323232" } = e, { playerStyle: u } = e, { controlsOrder: d } = e, { largeImage: g } = e, { isMobile: f } = e, { endVisible: A } = e, { onEvent: m = () => {
|
|
9021
9019
|
} } = e;
|
|
9022
9020
|
const y = () => {
|
|
@@ -9049,9 +9047,9 @@ function t0(t, e, i) {
|
|
|
9049
9047
|
m
|
|
9050
9048
|
];
|
|
9051
9049
|
}
|
|
9052
|
-
class
|
|
9050
|
+
class i_ extends Te {
|
|
9053
9051
|
constructor(e) {
|
|
9054
|
-
super(), we(this, e,
|
|
9052
|
+
super(), we(this, e, t_, e_, Se, {
|
|
9055
9053
|
href: 9,
|
|
9056
9054
|
scale: 10,
|
|
9057
9055
|
color: 11,
|
|
@@ -9118,8 +9116,8 @@ class i0 extends Te {
|
|
|
9118
9116
|
this.$$set({ onEvent: e }), c();
|
|
9119
9117
|
}
|
|
9120
9118
|
}
|
|
9121
|
-
const Mt = (t, e, i) => Ce(t, e, e === "style" ?
|
|
9122
|
-
function
|
|
9119
|
+
const Mt = (t, e, i) => Ce(t, e, e === "style" ? o_(i) : i), n_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, o_ = (t) => t.split(n_).filter((e) => e).map((e) => e + " !important").join(";");
|
|
9120
|
+
function s_(t) {
|
|
9123
9121
|
let e, i, n, o;
|
|
9124
9122
|
return {
|
|
9125
9123
|
c() {
|
|
@@ -9153,7 +9151,7 @@ function s0(t) {
|
|
|
9153
9151
|
}
|
|
9154
9152
|
};
|
|
9155
9153
|
}
|
|
9156
|
-
function
|
|
9154
|
+
function l_(t) {
|
|
9157
9155
|
let e, i, n, o;
|
|
9158
9156
|
return {
|
|
9159
9157
|
c() {
|
|
@@ -9187,12 +9185,12 @@ function l0(t) {
|
|
|
9187
9185
|
}
|
|
9188
9186
|
};
|
|
9189
9187
|
}
|
|
9190
|
-
function
|
|
9188
|
+
function a_(t) {
|
|
9191
9189
|
let e;
|
|
9192
9190
|
function i(s, l) {
|
|
9193
9191
|
return (
|
|
9194
9192
|
/*circular*/
|
|
9195
|
-
s[2] ?
|
|
9193
|
+
s[2] ? l_ : s_
|
|
9196
9194
|
);
|
|
9197
9195
|
}
|
|
9198
9196
|
let n = i(t), o = n(t);
|
|
@@ -9213,7 +9211,7 @@ function a0(t) {
|
|
|
9213
9211
|
}
|
|
9214
9212
|
};
|
|
9215
9213
|
}
|
|
9216
|
-
function
|
|
9214
|
+
function r_(t, e, i) {
|
|
9217
9215
|
let { scale: n = 1 } = e, { color: o = "#323232" } = e, { circular: s = !0 } = e;
|
|
9218
9216
|
return t.$$set = (l) => {
|
|
9219
9217
|
"scale" in l && i(0, n = l.scale), "color" in l && i(1, o = l.color), "circular" in l && i(2, s = l.circular);
|
|
@@ -9221,7 +9219,7 @@ function r0(t, e, i) {
|
|
|
9221
9219
|
}
|
|
9222
9220
|
class vr extends Te {
|
|
9223
9221
|
constructor(e) {
|
|
9224
|
-
super(), we(this, e,
|
|
9222
|
+
super(), we(this, e, r_, a_, Se, { scale: 0, color: 1, circular: 2 });
|
|
9225
9223
|
}
|
|
9226
9224
|
get scale() {
|
|
9227
9225
|
return this.$$.ctx[0];
|
|
@@ -9242,8 +9240,8 @@ class vr extends Te {
|
|
|
9242
9240
|
this.$$set({ circular: e }), c();
|
|
9243
9241
|
}
|
|
9244
9242
|
}
|
|
9245
|
-
const Gl = (t, e, i) => Yt(t, e, i, 1), En = (t, e, i) => Ce(t, e, e === "style" ?
|
|
9246
|
-
function
|
|
9243
|
+
const Gl = (t, e, i) => Yt(t, e, i, 1), En = (t, e, i) => Ce(t, e, e === "style" ? c_(i) : i), u_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, c_ = (t) => t.split(u_).filter((e) => e).map((e) => e + " !important").join(";");
|
|
9244
|
+
function d_(t) {
|
|
9247
9245
|
let e;
|
|
9248
9246
|
return {
|
|
9249
9247
|
c() {
|
|
@@ -9260,7 +9258,7 @@ function d0(t) {
|
|
|
9260
9258
|
}
|
|
9261
9259
|
};
|
|
9262
9260
|
}
|
|
9263
|
-
function
|
|
9261
|
+
function g_(t) {
|
|
9264
9262
|
let e, i, n, o, s, l;
|
|
9265
9263
|
return i = new vr({
|
|
9266
9264
|
props: {
|
|
@@ -9326,9 +9324,9 @@ function g0(t) {
|
|
|
9326
9324
|
}
|
|
9327
9325
|
};
|
|
9328
9326
|
}
|
|
9329
|
-
function
|
|
9327
|
+
function f_(t) {
|
|
9330
9328
|
let e, i, n, o;
|
|
9331
|
-
const s = [
|
|
9329
|
+
const s = [g_, d_], l = [];
|
|
9332
9330
|
function a(r, u) {
|
|
9333
9331
|
return (
|
|
9334
9332
|
/*hrefWithProtocol*/
|
|
@@ -9359,7 +9357,7 @@ function f0(t) {
|
|
|
9359
9357
|
}
|
|
9360
9358
|
};
|
|
9361
9359
|
}
|
|
9362
|
-
function
|
|
9360
|
+
function m_(t, e, i) {
|
|
9363
9361
|
let n, { href: o } = e, { scale: s = 1 } = e, { color: l = "#323232" } = e, { playerStyle: a } = e, { controlsOrder: r } = e, { onEvent: u = () => {
|
|
9364
9362
|
} } = e;
|
|
9365
9363
|
const d = () => {
|
|
@@ -9385,9 +9383,9 @@ function m0(t, e, i) {
|
|
|
9385
9383
|
u
|
|
9386
9384
|
];
|
|
9387
9385
|
}
|
|
9388
|
-
class
|
|
9386
|
+
class h_ extends Te {
|
|
9389
9387
|
constructor(e) {
|
|
9390
|
-
super(), we(this, e,
|
|
9388
|
+
super(), we(this, e, m_, f_, Se, {
|
|
9391
9389
|
href: 6,
|
|
9392
9390
|
scale: 0,
|
|
9393
9391
|
color: 1,
|
|
@@ -9433,8 +9431,8 @@ class h0 extends Te {
|
|
|
9433
9431
|
this.$$set({ onEvent: e }), c();
|
|
9434
9432
|
}
|
|
9435
9433
|
}
|
|
9436
|
-
const Wt = (t, e, i) => Ce(t, e, e === "style" ?
|
|
9437
|
-
function
|
|
9434
|
+
const Wt = (t, e, i) => Ce(t, e, e === "style" ? A_(i) : i), __ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, A_ = (t) => t.split(__).filter((e) => e).map((e) => e + " !important").join(";");
|
|
9435
|
+
function y_(t) {
|
|
9438
9436
|
let e, i, n, o, s, l, a, r, u;
|
|
9439
9437
|
return {
|
|
9440
9438
|
c() {
|
|
@@ -9488,15 +9486,15 @@ function y0(t) {
|
|
|
9488
9486
|
}
|
|
9489
9487
|
};
|
|
9490
9488
|
}
|
|
9491
|
-
function
|
|
9489
|
+
function v_(t, e, i) {
|
|
9492
9490
|
let { scale: n = 1 } = e, { color1: o = "#933afb" } = e, { color2: s = "#fb3a41" } = e, l = `gradient-${Math.random()}`;
|
|
9493
9491
|
return t.$$set = (a) => {
|
|
9494
9492
|
"scale" in a && i(0, n = a.scale), "color1" in a && i(1, o = a.color1), "color2" in a && i(2, s = a.color2);
|
|
9495
9493
|
}, [n, o, s, l];
|
|
9496
9494
|
}
|
|
9497
|
-
class
|
|
9495
|
+
class b_ extends Te {
|
|
9498
9496
|
constructor(e) {
|
|
9499
|
-
super(), we(this, e,
|
|
9497
|
+
super(), we(this, e, v_, y_, Se, { scale: 0, color1: 1, color2: 2 });
|
|
9500
9498
|
}
|
|
9501
9499
|
get scale() {
|
|
9502
9500
|
return this.$$.ctx[0];
|
|
@@ -9517,10 +9515,10 @@ class b0 extends Te {
|
|
|
9517
9515
|
this.$$set({ color2: e }), c();
|
|
9518
9516
|
}
|
|
9519
9517
|
}
|
|
9520
|
-
const Xl = (t, e, i) => Yt(t, e, i, 1), Do = (t, e, i) => Ce(t, e, e === "style" ?
|
|
9521
|
-
function
|
|
9518
|
+
const Xl = (t, e, i) => Yt(t, e, i, 1), Do = (t, e, i) => Ce(t, e, e === "style" ? p_(i) : i), k_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, p_ = (t) => t.split(k_).filter((e) => e).map((e) => e + " !important").join(";");
|
|
9519
|
+
function S_(t) {
|
|
9522
9520
|
let e, i, n, o, s;
|
|
9523
|
-
return i = new
|
|
9521
|
+
return i = new b_({ props: { scale: (
|
|
9524
9522
|
/*scale*/
|
|
9525
9523
|
t[0]
|
|
9526
9524
|
) } }), {
|
|
@@ -9569,7 +9567,7 @@ function S0(t) {
|
|
|
9569
9567
|
}
|
|
9570
9568
|
};
|
|
9571
9569
|
}
|
|
9572
|
-
function
|
|
9570
|
+
function w_(t, e, i) {
|
|
9573
9571
|
let { scale: n = 1 } = e, { visible: o = !0 } = e, { onEvent: s = () => {
|
|
9574
9572
|
} } = e;
|
|
9575
9573
|
const l = () => {
|
|
@@ -9585,7 +9583,7 @@ function w0(t, e, i) {
|
|
|
9585
9583
|
}
|
|
9586
9584
|
let br = class extends Te {
|
|
9587
9585
|
constructor(e) {
|
|
9588
|
-
super(), we(this, e,
|
|
9586
|
+
super(), we(this, e, w_, S_, Se, { scale: 0, visible: 1, onEvent: 3 });
|
|
9589
9587
|
}
|
|
9590
9588
|
get scale() {
|
|
9591
9589
|
return this.$$.ctx[0];
|
|
@@ -9606,8 +9604,8 @@ let br = class extends Te {
|
|
|
9606
9604
|
this.$$set({ onEvent: e }), c();
|
|
9607
9605
|
}
|
|
9608
9606
|
};
|
|
9609
|
-
const Xn = (t, e, i) => Ce(t, e, e === "style" ?
|
|
9610
|
-
function
|
|
9607
|
+
const Xn = (t, e, i) => Ce(t, e, e === "style" ? P_(i) : i), T_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, P_ = (t) => t.split(T_).filter((e) => e).map((e) => e + " !important").join(";");
|
|
9608
|
+
function C_(t) {
|
|
9611
9609
|
let e, i, n, o, s;
|
|
9612
9610
|
return i = new vr({
|
|
9613
9611
|
props: {
|
|
@@ -9666,7 +9664,7 @@ function C0(t) {
|
|
|
9666
9664
|
}
|
|
9667
9665
|
};
|
|
9668
9666
|
}
|
|
9669
|
-
function
|
|
9667
|
+
function I_(t, e, i) {
|
|
9670
9668
|
let { href: n } = e, { scale: o = 1 } = e, { color: s = "#323232" } = e, { onEvent: l = () => {
|
|
9671
9669
|
} } = e;
|
|
9672
9670
|
const a = () => {
|
|
@@ -9680,9 +9678,9 @@ function I0(t, e, i) {
|
|
|
9680
9678
|
"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);
|
|
9681
9679
|
}, [n, o, s, a, l];
|
|
9682
9680
|
}
|
|
9683
|
-
class
|
|
9681
|
+
class B_ extends Te {
|
|
9684
9682
|
constructor(e) {
|
|
9685
|
-
super(), we(this, e,
|
|
9683
|
+
super(), we(this, e, I_, C_, Se, { href: 0, scale: 1, color: 2, onEvent: 4 });
|
|
9686
9684
|
}
|
|
9687
9685
|
get href() {
|
|
9688
9686
|
return this.$$.ctx[0];
|
|
@@ -9709,8 +9707,8 @@ class B0 extends Te {
|
|
|
9709
9707
|
this.$$set({ onEvent: e }), c();
|
|
9710
9708
|
}
|
|
9711
9709
|
}
|
|
9712
|
-
const Wi = (t, e, i) => Yt(t, e, i, 1), Ai = (t, e, i) => Ce(t, e, e === "style" ?
|
|
9713
|
-
function
|
|
9710
|
+
const Wi = (t, e, i) => Yt(t, e, i, 1), Ai = (t, e, i) => Ce(t, e, e === "style" ? W_(i) : i), V_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, W_ = (t) => t.split(V_).filter((e) => e).map((e) => e + " !important").join(";");
|
|
9711
|
+
function O_(t) {
|
|
9714
9712
|
let e, i;
|
|
9715
9713
|
return {
|
|
9716
9714
|
c() {
|
|
@@ -9763,7 +9761,7 @@ function O0(t) {
|
|
|
9763
9761
|
}
|
|
9764
9762
|
};
|
|
9765
9763
|
}
|
|
9766
|
-
function
|
|
9764
|
+
function E_(t) {
|
|
9767
9765
|
let e, i, n, o, s;
|
|
9768
9766
|
return {
|
|
9769
9767
|
c() {
|
|
@@ -9857,12 +9855,12 @@ function E0(t) {
|
|
|
9857
9855
|
}
|
|
9858
9856
|
};
|
|
9859
9857
|
}
|
|
9860
|
-
function
|
|
9858
|
+
function M_(t) {
|
|
9861
9859
|
let e;
|
|
9862
9860
|
function i(s, l) {
|
|
9863
9861
|
return (
|
|
9864
9862
|
/*href*/
|
|
9865
|
-
s[1] ?
|
|
9863
|
+
s[1] ? E_ : O_
|
|
9866
9864
|
);
|
|
9867
9865
|
}
|
|
9868
9866
|
let n = i(t), o = n(t);
|
|
@@ -9883,7 +9881,7 @@ function M0(t) {
|
|
|
9883
9881
|
}
|
|
9884
9882
|
};
|
|
9885
9883
|
}
|
|
9886
|
-
function
|
|
9884
|
+
function j_(t, e, i) {
|
|
9887
9885
|
let { src: n } = e, { href: o } = e, { alt: s = "Player Image" } = e, { size: l = 80 } = e, { onEvent: a = () => {
|
|
9888
9886
|
} } = e;
|
|
9889
9887
|
const r = () => {
|
|
@@ -9897,9 +9895,9 @@ function j0(t, e, i) {
|
|
|
9897
9895
|
"src" in u && i(0, n = u.src), "href" in u && i(1, o = u.href), "alt" in u && i(2, s = u.alt), "size" in u && i(3, l = u.size), "onEvent" in u && i(5, a = u.onEvent);
|
|
9898
9896
|
}, [n, o, s, l, r, a];
|
|
9899
9897
|
}
|
|
9900
|
-
class
|
|
9898
|
+
class z_ extends Te {
|
|
9901
9899
|
constructor(e) {
|
|
9902
|
-
super(), we(this, e,
|
|
9900
|
+
super(), we(this, e, j_, M_, Se, {
|
|
9903
9901
|
src: 0,
|
|
9904
9902
|
href: 1,
|
|
9905
9903
|
alt: 2,
|
|
@@ -9938,8 +9936,8 @@ class z0 extends Te {
|
|
|
9938
9936
|
this.$$set({ onEvent: e }), c();
|
|
9939
9937
|
}
|
|
9940
9938
|
}
|
|
9941
|
-
const xo = (t, e, i) => Ce(t, e, e === "style" ?
|
|
9942
|
-
function
|
|
9939
|
+
const xo = (t, e, i) => Ce(t, e, e === "style" ? D_(i) : i), L_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, D_ = (t) => t.split(L_).filter((e) => e).map((e) => e + " !important").join(";");
|
|
9940
|
+
function x_(t) {
|
|
9943
9941
|
var o;
|
|
9944
9942
|
let e, i = (
|
|
9945
9943
|
/*title*/
|
|
@@ -9979,7 +9977,7 @@ function x0(t) {
|
|
|
9979
9977
|
}
|
|
9980
9978
|
};
|
|
9981
9979
|
}
|
|
9982
|
-
function
|
|
9980
|
+
function N_(t, e, i) {
|
|
9983
9981
|
let n, o, { title: s } = e, { playerStyle: l } = e, { scale: a = 1 } = e, { visible: r = !0 } = e, { collapsible: u = !1 } = e, { collapsed: d = !1 } = e, { color: g = "#111" } = e, f;
|
|
9984
9982
|
function A(m) {
|
|
9985
9983
|
le[m ? "unshift" : "push"](() => {
|
|
@@ -10008,7 +10006,7 @@ function N0(t, e, i) {
|
|
|
10008
10006
|
}
|
|
10009
10007
|
class kr extends Te {
|
|
10010
10008
|
constructor(e) {
|
|
10011
|
-
super(), we(this, e,
|
|
10009
|
+
super(), we(this, e, N_, x_, Se, {
|
|
10012
10010
|
title: 0,
|
|
10013
10011
|
playerStyle: 1,
|
|
10014
10012
|
scale: 4,
|
|
@@ -10061,8 +10059,8 @@ class kr extends Te {
|
|
|
10061
10059
|
this.$$set({ color: e }), c();
|
|
10062
10060
|
}
|
|
10063
10061
|
}
|
|
10064
|
-
const Ns = (t, e, i) => Ce(t, e, e === "style" ?
|
|
10065
|
-
function
|
|
10062
|
+
const Ns = (t, e, i) => Ce(t, e, e === "style" ? F_(i) : i), R_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, F_ = (t) => t.split(R_).filter((e) => e).map((e) => e + " !important").join(";");
|
|
10063
|
+
function U_(t) {
|
|
10066
10064
|
var n;
|
|
10067
10065
|
let e, i = (
|
|
10068
10066
|
/*title*/
|
|
@@ -10143,7 +10141,7 @@ function U0(t) {
|
|
|
10143
10141
|
}
|
|
10144
10142
|
};
|
|
10145
10143
|
}
|
|
10146
|
-
function
|
|
10144
|
+
function q_(t, e, i) {
|
|
10147
10145
|
let n, o, s, l, { title: a } = e, { maxLines: r = 1 } = e, { maxWidth: u = void 0 } = e, { center: d = !1 } = e, { bold: g = !1 } = e, { flex: f = "0 1 auto" } = e, { scale: A = 1 } = e, { color: m = "#111" } = e;
|
|
10148
10146
|
return t.$$set = (y) => {
|
|
10149
10147
|
"title" in y && i(0, a = y.title), "maxLines" in y && i(1, r = y.maxLines), "maxWidth" in y && i(5, u = y.maxWidth), "center" in y && i(2, d = y.center), "bold" in y && i(3, g = y.bold), "flex" in y && i(6, f = y.flex), "scale" in y && i(7, A = y.scale), "color" in y && i(8, m = y.color);
|
|
@@ -10170,7 +10168,7 @@ function q0(t, e, i) {
|
|
|
10170
10168
|
}
|
|
10171
10169
|
class hl extends Te {
|
|
10172
10170
|
constructor(e) {
|
|
10173
|
-
super(), we(this, e,
|
|
10171
|
+
super(), we(this, e, q_, U_, Se, {
|
|
10174
10172
|
title: 0,
|
|
10175
10173
|
maxLines: 1,
|
|
10176
10174
|
maxWidth: 5,
|
|
@@ -10238,9 +10236,8 @@ const Qo = (t, e, i = () => {
|
|
|
10238
10236
|
description: `The ${o.toLowerCase()} key was pressed while the progress ${e.toLowerCase()} was focussed.`,
|
|
10239
10237
|
initiatedBy: "user"
|
|
10240
10238
|
})), (o === "Left" || o === "Right") && i());
|
|
10241
|
-
};
|
|
10242
|
-
|
|
10243
|
-
function Z0(t) {
|
|
10239
|
+
}, Mn = (t, e, i) => Yt(t, e, i, 1), hi = (t, e, i) => Ce(t, e, e === "style" ? Y_(i) : i), H_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Y_ = (t) => t.split(H_).filter((e) => e).map((e) => e + " !important").join(";");
|
|
10240
|
+
function Z_(t) {
|
|
10244
10241
|
let e, i, n, o, s, l, a;
|
|
10245
10242
|
return {
|
|
10246
10243
|
c() {
|
|
@@ -10389,7 +10386,7 @@ function Z0(t) {
|
|
|
10389
10386
|
}
|
|
10390
10387
|
};
|
|
10391
10388
|
}
|
|
10392
|
-
function
|
|
10389
|
+
function K_(t, e, i) {
|
|
10393
10390
|
let n, o, s, l, { progress: a = 0 } = e, { duration: r = 0 } = e, { fullWidth: u = !1 } = e, { readonly: d = !1 } = e, { color: g = "#323232" } = e, { onEvent: f = () => {
|
|
10394
10391
|
} } = e, A, m, y = !0, v = !0;
|
|
10395
10392
|
const T = () => {
|
|
@@ -10431,8 +10428,8 @@ function J0(t, e, i) {
|
|
|
10431
10428
|
if (ne === 0)
|
|
10432
10429
|
return kt("secondsPlural").replace("{n}", 0);
|
|
10433
10430
|
const ue = Math.floor(ne / 60), ce = ne % 60;
|
|
10434
|
-
return [
|
|
10435
|
-
},
|
|
10431
|
+
return [K(ue, "minutes"), K(ce, "seconds")].filter(($) => $).join(" ");
|
|
10432
|
+
}, K = (Y, ne) => {
|
|
10436
10433
|
if (Y === 0)
|
|
10437
10434
|
return;
|
|
10438
10435
|
const ue = Y === 1 ? `${ne}Singular` : `${ne}Plural`;
|
|
@@ -10479,9 +10476,9 @@ function J0(t, e, i) {
|
|
|
10479
10476
|
N
|
|
10480
10477
|
];
|
|
10481
10478
|
}
|
|
10482
|
-
class
|
|
10479
|
+
class J_ extends Te {
|
|
10483
10480
|
constructor(e) {
|
|
10484
|
-
super(), we(this, e,
|
|
10481
|
+
super(), we(this, e, K_, Z_, Se, {
|
|
10485
10482
|
progress: 0,
|
|
10486
10483
|
duration: 1,
|
|
10487
10484
|
fullWidth: 2,
|
|
@@ -10527,8 +10524,8 @@ class K0 extends Te {
|
|
|
10527
10524
|
this.$$set({ onEvent: e }), c();
|
|
10528
10525
|
}
|
|
10529
10526
|
}
|
|
10530
|
-
const No = (t, e, i) => Yt(t, e, i, 1), Ot = (t, e, i) => Ce(t, e, e === "style" ?
|
|
10531
|
-
function
|
|
10527
|
+
const No = (t, e, i) => Yt(t, e, i, 1), Ot = (t, e, i) => Ce(t, e, e === "style" ? X_(i) : i), G_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, X_ = (t) => t.split(G_).filter((e) => e).map((e) => e + " !important").join(";");
|
|
10528
|
+
function Q_(t) {
|
|
10532
10529
|
let e;
|
|
10533
10530
|
const i = (
|
|
10534
10531
|
/*#slots*/
|
|
@@ -10579,7 +10576,7 @@ function Q0(t) {
|
|
|
10579
10576
|
}
|
|
10580
10577
|
};
|
|
10581
10578
|
}
|
|
10582
|
-
function $
|
|
10579
|
+
function $_(t) {
|
|
10583
10580
|
let e, i, n, o, s, l, a, r;
|
|
10584
10581
|
const u = (
|
|
10585
10582
|
/*#slots*/
|
|
@@ -10735,7 +10732,7 @@ function $0(t) {
|
|
|
10735
10732
|
}
|
|
10736
10733
|
function e2(t) {
|
|
10737
10734
|
let e, i, n, o;
|
|
10738
|
-
const s = [$
|
|
10735
|
+
const s = [$_, Q_], l = [];
|
|
10739
10736
|
function a(r, u) {
|
|
10740
10737
|
return (
|
|
10741
10738
|
/*enabled*/
|
|
@@ -10849,8 +10846,7 @@ const Ln = (t) => {
|
|
|
10849
10846
|
const e = Math.floor(t / 3600).toString();
|
|
10850
10847
|
let i = Math.floor(t % 3600 / 60).toString(), n = Math.floor(t % 60).toString();
|
|
10851
10848
|
return n.length < 2 && (n = `0${n}`), t < 3600 ? `${i}:${n}` : (i.length < 2 && (i = `0${i}`), `${e}:${i}:${n}`);
|
|
10852
|
-
};
|
|
10853
|
-
const Ro = (t, e, i) => Yt(t, e, i, 1), n2 = (t, e, i) => Ce(t, e, e === "style" ? s2(i) : i), o2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, s2 = (t) => t.split(o2).filter((e) => e).map((e) => e + " !important").join(";");
|
|
10849
|
+
}, Ro = (t, e, i) => Yt(t, e, i, 1), n2 = (t, e, i) => Ce(t, e, e === "style" ? s2(i) : i), o2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, s2 = (t) => t.split(o2).filter((e) => e).map((e) => e + " !important").join(";");
|
|
10854
10850
|
function l2(t) {
|
|
10855
10851
|
let e, i, n, o = Ln(
|
|
10856
10852
|
/*remaining*/
|
|
@@ -11711,7 +11707,7 @@ function $l(t) {
|
|
|
11711
11707
|
function P(N) {
|
|
11712
11708
|
t[18](N);
|
|
11713
11709
|
}
|
|
11714
|
-
let
|
|
11710
|
+
let K = {
|
|
11715
11711
|
onEvent: (
|
|
11716
11712
|
/*onEvent*/
|
|
11717
11713
|
t[8]
|
|
@@ -11743,8 +11739,8 @@ function $l(t) {
|
|
|
11743
11739
|
};
|
|
11744
11740
|
return (
|
|
11745
11741
|
/*downloadIsVisible*/
|
|
11746
|
-
t[9] !== void 0 && (
|
|
11747
|
-
t[9]), m = new Ar({ props:
|
|
11742
|
+
t[9] !== void 0 && (K.isVisible = /*downloadIsVisible*/
|
|
11743
|
+
t[9]), m = new Ar({ props: K }), le.push(() => ke(m, "isVisible", P)), {
|
|
11748
11744
|
c() {
|
|
11749
11745
|
e = b("div"), i = b("button"), o.c(), s = G(), l = b("span"), me(a.$$.fragment), r = G(), u = b("span"), me(d.$$.fragment), f = G(), A = b("span"), me(m.$$.fragment), v = G(), yi(l, "class", "title svelte-1hl1xir"), ie(
|
|
11750
11746
|
l,
|
|
@@ -11995,8 +11991,8 @@ function D2(t, e, i) {
|
|
|
11995
11991
|
P && P.focus();
|
|
11996
11992
|
}
|
|
11997
11993
|
}, E = (S) => {
|
|
11998
|
-
const P = S.target.parentNode,
|
|
11999
|
-
P.scrollTop =
|
|
11994
|
+
const P = S.target.parentNode, K = Math.round(P.scrollTop / 10) * 10;
|
|
11995
|
+
P.scrollTop = K;
|
|
12000
11996
|
};
|
|
12001
11997
|
function D(S) {
|
|
12002
11998
|
T = S, i(9, T);
|
|
@@ -12238,7 +12234,7 @@ class q2 extends Te {
|
|
|
12238
12234
|
}
|
|
12239
12235
|
}
|
|
12240
12236
|
const H2 = (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(";");
|
|
12241
|
-
function
|
|
12237
|
+
function K2(t) {
|
|
12242
12238
|
let e, i;
|
|
12243
12239
|
const n = (
|
|
12244
12240
|
/*#slots*/
|
|
@@ -12289,7 +12285,7 @@ function J2(t) {
|
|
|
12289
12285
|
}
|
|
12290
12286
|
};
|
|
12291
12287
|
}
|
|
12292
|
-
function
|
|
12288
|
+
function J2(t, e, i) {
|
|
12293
12289
|
let { $$slots: n = {}, $$scope: o } = e, s, { enabled: l = !1 } = e, { relativeY: a = void 0 } = e, { absoluteY: r = void 0 } = e, { isVisible: u = void 0 } = e, { onEvent: d = () => {
|
|
12294
12290
|
} } = e;
|
|
12295
12291
|
const g = ([A]) => {
|
|
@@ -12334,7 +12330,7 @@ function K2(t, e, i) {
|
|
|
12334
12330
|
}
|
|
12335
12331
|
class G2 extends Te {
|
|
12336
12332
|
constructor(e) {
|
|
12337
|
-
super(), we(this, e,
|
|
12333
|
+
super(), we(this, e, J2, K2, Se, {
|
|
12338
12334
|
enabled: 4,
|
|
12339
12335
|
relativeY: 1,
|
|
12340
12336
|
absoluteY: 2,
|
|
@@ -12377,8 +12373,7 @@ const X2 = ({ playerStyle: t, width: e }) => t === "standard" && e < 380 || t ==
|
|
|
12377
12373
|
t.requestFullscreen ? t.requestFullscreen() : t.webkitRequestFullscreen && t.webkitRequestFullscreen();
|
|
12378
12374
|
}, eA = () => {
|
|
12379
12375
|
document.exitFullscreen ? document.exitFullscreen() : document.webkitExitFullscreen && document.webkitExitFullscreen();
|
|
12380
|
-
}, ia = () => document.fullscreenElement || document.webkitCurrentFullScreenElement;
|
|
12381
|
-
const $o = (t, e, i) => Yt(t, e, i, 1), Oi = (t, e, i) => Ce(t, e, e === "style" ? iA(i) : i), tA = /;(?!([^()]*\([^()]*\))*[^()]*\))/, iA = (t) => t.split(tA).filter((e) => e).map((e) => e + " !important").join(";");
|
|
12376
|
+
}, ia = () => document.fullscreenElement || document.webkitCurrentFullScreenElement, $o = (t, e, i) => Yt(t, e, i, 1), Oi = (t, e, i) => Ce(t, e, e === "style" ? iA(i) : i), tA = /;(?!([^()]*\([^()]*\))*[^()]*\))/, iA = (t) => t.split(tA).filter((e) => e).map((e) => e + " !important").join(";");
|
|
12382
12377
|
function na(t) {
|
|
12383
12378
|
let e, i, n, o = !/*videoPosterImage*/
|
|
12384
12379
|
t[17] && oa(t);
|
|
@@ -12414,7 +12409,7 @@ function na(t) {
|
|
|
12414
12409
|
}
|
|
12415
12410
|
function oa(t) {
|
|
12416
12411
|
let e, i, n, o = kt("videoInWidget") + "", s, l;
|
|
12417
|
-
return e = new
|
|
12412
|
+
return e = new X0({
|
|
12418
12413
|
props: { color: (
|
|
12419
12414
|
/*activeIconColor*/
|
|
12420
12415
|
t[56]
|
|
@@ -12456,7 +12451,7 @@ function oa(t) {
|
|
|
12456
12451
|
}
|
|
12457
12452
|
function sa(t) {
|
|
12458
12453
|
let e, i;
|
|
12459
|
-
return e = new
|
|
12454
|
+
return e = new z_({
|
|
12460
12455
|
props: {
|
|
12461
12456
|
onEvent: (
|
|
12462
12457
|
/*onEvent*/
|
|
@@ -12839,7 +12834,7 @@ function ra(t) {
|
|
|
12839
12834
|
t[56]
|
|
12840
12835
|
)
|
|
12841
12836
|
}
|
|
12842
|
-
}), s = new
|
|
12837
|
+
}), s = new Jh({
|
|
12843
12838
|
props: {
|
|
12844
12839
|
onEvent: (
|
|
12845
12840
|
/*onEvent*/
|
|
@@ -12955,7 +12950,7 @@ function ua(t) {
|
|
|
12955
12950
|
}
|
|
12956
12951
|
function ca(t) {
|
|
12957
12952
|
let e, i;
|
|
12958
|
-
return e = new
|
|
12953
|
+
return e = new J_({
|
|
12959
12954
|
props: {
|
|
12960
12955
|
onEvent: (
|
|
12961
12956
|
/*onEvent*/
|
|
@@ -13018,7 +13013,7 @@ function ca(t) {
|
|
|
13018
13013
|
}
|
|
13019
13014
|
function da(t) {
|
|
13020
13015
|
let e, i, n, o;
|
|
13021
|
-
return e = new
|
|
13016
|
+
return e = new i_({
|
|
13022
13017
|
props: {
|
|
13023
13018
|
onEvent: (
|
|
13024
13019
|
/*onEvent*/
|
|
@@ -13062,7 +13057,7 @@ function da(t) {
|
|
|
13062
13057
|
t[44]
|
|
13063
13058
|
)
|
|
13064
13059
|
}
|
|
13065
|
-
}), n = new
|
|
13060
|
+
}), n = new h_({
|
|
13066
13061
|
props: {
|
|
13067
13062
|
onEvent: (
|
|
13068
13063
|
/*onEvent*/
|
|
@@ -13151,7 +13146,7 @@ function da(t) {
|
|
|
13151
13146
|
}
|
|
13152
13147
|
function ga(t) {
|
|
13153
13148
|
let e, i;
|
|
13154
|
-
return e = new
|
|
13149
|
+
return e = new A0({
|
|
13155
13150
|
props: {
|
|
13156
13151
|
playerStyle: (
|
|
13157
13152
|
/*playerStyle*/
|
|
@@ -13303,7 +13298,7 @@ function sA(t) {
|
|
|
13303
13298
|
}
|
|
13304
13299
|
function lA(t) {
|
|
13305
13300
|
let e, i;
|
|
13306
|
-
return e = new
|
|
13301
|
+
return e = new g0({
|
|
13307
13302
|
props: {
|
|
13308
13303
|
onEvent: (
|
|
13309
13304
|
/*onEvent*/
|
|
@@ -13363,7 +13358,7 @@ function lA(t) {
|
|
|
13363
13358
|
}
|
|
13364
13359
|
function aA(t) {
|
|
13365
13360
|
let e, i;
|
|
13366
|
-
return e = new
|
|
13361
|
+
return e = new B_({
|
|
13367
13362
|
props: {
|
|
13368
13363
|
onEvent: (
|
|
13369
13364
|
/*onEvent*/
|
|
@@ -13414,7 +13409,7 @@ function aA(t) {
|
|
|
13414
13409
|
}
|
|
13415
13410
|
function fa(t) {
|
|
13416
13411
|
let e, i;
|
|
13417
|
-
return e = new
|
|
13412
|
+
return e = new z0({
|
|
13418
13413
|
props: {
|
|
13419
13414
|
onEvent: (
|
|
13420
13415
|
/*onEvent*/
|
|
@@ -13684,7 +13679,7 @@ function uA(t) {
|
|
|
13684
13679
|
}
|
|
13685
13680
|
function cA(t) {
|
|
13686
13681
|
let e, i;
|
|
13687
|
-
return e = new
|
|
13682
|
+
return e = new Y0({
|
|
13688
13683
|
props: {
|
|
13689
13684
|
onEvent: (
|
|
13690
13685
|
/*onEvent*/
|
|
@@ -13739,7 +13734,7 @@ function dA(t) {
|
|
|
13739
13734
|
t[21] && /*videoPosterImage*/
|
|
13740
13735
|
(t[17] || !/*videoIsBehind*/
|
|
13741
13736
|
t[18]) && na(t)
|
|
13742
|
-
),
|
|
13737
|
+
), K = (
|
|
13743
13738
|
/*largeImage*/
|
|
13744
13739
|
t[48] && /*isLarge*/
|
|
13745
13740
|
(t[61] || /*isScreen*/
|
|
@@ -13866,13 +13861,13 @@ function dA(t) {
|
|
|
13866
13861
|
);
|
|
13867
13862
|
return {
|
|
13868
13863
|
c() {
|
|
13869
|
-
P && P.c(), e = G(), i = b("div"),
|
|
13864
|
+
P && P.c(), e = G(), i = b("div"), K && K.c(), n = G(), N && N.c(), o = G(), s = b("div"), me(l.$$.fragment), d = G(), $ && $.c(), g = G(), ee && ee.c(), f = G(), te && te.c(), A = G(), me(m.$$.fragment), y = G(), de && de.c(), v = G(), se && se.c(), T = G(), he && he.c(), p = G(), re && re.c(), Oi(s, "class", "controls svelte-1typsi4"), Oi(i, "class", "main svelte-1typsi4"), Oi(i, "role", "none"), Oi(i, "style", w = /*isVideo*/
|
|
13870
13865
|
t[21] ? "" : `background: ${/*activeBgColor*/
|
|
13871
13866
|
t[57]}`), ie(i, "no-image", !/*largeImage*/
|
|
13872
13867
|
t[48]);
|
|
13873
13868
|
},
|
|
13874
13869
|
m(k, C) {
|
|
13875
|
-
P && P.m(k, C), j(k, e, C), j(k, i, C),
|
|
13870
|
+
P && P.m(k, C), j(k, e, C), j(k, i, C), K && K.m(i, null), h(i, n), N && N.m(i, null), h(i, o), h(i, s), ge(l, s, null), h(s, d), $ && $.m(s, null), h(s, g), ee && ee.m(s, null), h(s, f), te && te.m(s, null), h(s, A), ge(m, s, null), h(s, y), de && de.m(s, null), h(s, v), se && se.m(s, null), h(s, T), he && he.m(s, null), h(i, p), re && re.m(i, null), E = !0, D || (S = [
|
|
13876
13871
|
Z(
|
|
13877
13872
|
i,
|
|
13878
13873
|
"mousedown",
|
|
@@ -13892,10 +13887,10 @@ function dA(t) {
|
|
|
13892
13887
|
}), Ue()), /*largeImage*/
|
|
13893
13888
|
k[48] && /*isLarge*/
|
|
13894
13889
|
(k[61] || /*isScreen*/
|
|
13895
|
-
k[26]) ?
|
|
13890
|
+
k[26]) ? K ? (K.p(k, C), C[0] & /*isScreen*/
|
|
13896
13891
|
67108864 | C[1] & /*largeImage, isLarge*/
|
|
13897
|
-
1073872896 && I(
|
|
13898
|
-
|
|
13892
|
+
1073872896 && I(K, 1)) : (K = sa(k), K.c(), I(K, 1), K.m(i, n)) : K && (Fe(), z(K, 1, 1, () => {
|
|
13893
|
+
K = null;
|
|
13899
13894
|
}), Ue()), /*isLarge*/
|
|
13900
13895
|
k[61] || /*isScreen*/
|
|
13901
13896
|
k[26] ? N ? (N.p(k, C), C[0] & /*isScreen*/
|
|
@@ -14002,13 +13997,13 @@ function dA(t) {
|
|
|
14002
13997
|
k[48]);
|
|
14003
13998
|
},
|
|
14004
13999
|
i(k) {
|
|
14005
|
-
E || (I(P), I(
|
|
14000
|
+
E || (I(P), I(K), I(N), I(l.$$.fragment, k), I($), I(ee), I(te), I(m.$$.fragment, k), I(de), I(se), I(he), I(re), E = !0);
|
|
14006
14001
|
},
|
|
14007
14002
|
o(k) {
|
|
14008
|
-
z(P), z(
|
|
14003
|
+
z(P), z(K), z(N), z(l.$$.fragment, k), z($), z(ee), z(te), z(m.$$.fragment, k), z(de), z(se), z(he), z(re), E = !1;
|
|
14009
14004
|
},
|
|
14010
14005
|
d(k) {
|
|
14011
|
-
k && (O(e), O(i)), P && P.d(k),
|
|
14006
|
+
k && (O(e), O(i)), P && P.d(k), K && K.d(), N && N.d(), fe(l), $ && $.d(), ee && ee.d(), te && te.d(), fe(m), de && de.d(), se && se.d(), he && he.d(), re && re.d(), D = !1, rt(S);
|
|
14012
14007
|
}
|
|
14013
14008
|
};
|
|
14014
14009
|
}
|
|
@@ -14256,9 +14251,9 @@ function gA(t) {
|
|
|
14256
14251
|
};
|
|
14257
14252
|
}
|
|
14258
14253
|
function fA(t, e, i) {
|
|
14259
|
-
let n, o, s, l, a, r, u, d, g, f, A, m, y, v, T, p, w, E, D, S, P,
|
|
14254
|
+
let n, o, s, l, a, r, u, d, g, f, A, m, y, v, T, p, w, E, D, S, P, K, N, Y, ne, ue, ce, $, ee, te, de, se, he, re, k, C, R, L, Be, Me, J, q, Pe;
|
|
14260
14255
|
import("./././././././././style.js");
|
|
14261
|
-
let { playerStyle: _e = "standard" } = e, { callToAction:
|
|
14256
|
+
let { playerStyle: _e = "standard" } = e, { callToAction: Je = void 0 } = e, { skipButtonStyle: We = "auto" } = e, { playlistStyle: $e = "auto-5-4" } = e, { playlistToggle: Le = "auto" } = e, { downloadFormats: Ne = [] } = e, { playerTitle: ct = void 0 } = e, { fixedPosition: Ve = void 0 } = e, { fixedWidth: mt = "auto" } = e, { content: Ge = [] } = e, { contentIndex: ht = 0 } = e, { duration: He = 0 } = e, { currentTime: it = 0 } = e, { playbackState: _t = "stopped" } = e, { playbackRate: Ye = 1 } = e, { playbackRates: At = [] } = e, { activeAdvert: Oe = void 0 } = e, { persistentAdvert: Ze = void 0 } = e, { companionAdvert: Ke = void 0 } = e, { textColor: yt = "#111" } = e, { backgroundColor: Re = "#f5f5f5" } = e, { iconColor: pt = "black" } = e, { videoTextColor: St = "white" } = e, { videoBackgroundColor: wt = "black" } = e, { videoIconColor: Xe = "white" } = e, { logoIconEnabled: et = !0 } = e, { logoImagePosition: Bt = void 0 } = e, { maxImageSize: ot = 0 } = e, { onEvent: vt = () => {
|
|
14262
14257
|
} } = e, { videoPosterImage: st = "" } = e, { videoIsBehind: Tt = !1 } = e, { isFullScreen: ut = !1 } = e, { isVisible: qe = void 0 } = e, { relativeY: De = void 0 } = e, { absoluteY: nt = void 0 } = e, tt, U, je, Qe;
|
|
14263
14258
|
const jt = () => {
|
|
14264
14259
|
Qe && clearTimeout(Qe), i(39, Qe = setTimeout(() => i(39, Qe = null), 500));
|
|
@@ -14293,7 +14288,7 @@ function fA(t, e, i) {
|
|
|
14293
14288
|
});
|
|
14294
14289
|
}
|
|
14295
14290
|
return t.$$set = (W) => {
|
|
14296
|
-
"playerStyle" in W && i(3, _e = W.playerStyle), "callToAction" in W && i(4,
|
|
14291
|
+
"playerStyle" in W && i(3, _e = W.playerStyle), "callToAction" in W && i(4, Je = W.callToAction), "skipButtonStyle" in W && i(64, We = W.skipButtonStyle), "playlistStyle" in W && i(5, $e = W.playlistStyle), "playlistToggle" in W && i(65, Le = W.playlistToggle), "downloadFormats" in W && i(6, Ne = W.downloadFormats), "playerTitle" in W && i(7, ct = W.playerTitle), "fixedPosition" in W && i(8, Ve = W.fixedPosition), "fixedWidth" in W && i(66, mt = W.fixedWidth), "content" in W && i(9, Ge = W.content), "contentIndex" in W && i(10, ht = W.contentIndex), "duration" in W && i(11, He = W.duration), "currentTime" in W && i(12, it = W.currentTime), "playbackState" in W && i(67, _t = W.playbackState), "playbackRate" in W && i(13, Ye = W.playbackRate), "playbackRates" in W && i(14, At = W.playbackRates), "activeAdvert" in W && i(68, Oe = W.activeAdvert), "persistentAdvert" in W && i(69, Ze = W.persistentAdvert), "companionAdvert" in W && i(70, Ke = W.companionAdvert), "textColor" in W && i(71, yt = W.textColor), "backgroundColor" in W && i(72, Re = W.backgroundColor), "iconColor" in W && i(73, pt = W.iconColor), "videoTextColor" in W && i(74, St = W.videoTextColor), "videoBackgroundColor" in W && i(75, wt = W.videoBackgroundColor), "videoIconColor" in W && i(76, Xe = W.videoIconColor), "logoIconEnabled" in W && i(77, et = W.logoIconEnabled), "logoImagePosition" in W && i(15, Bt = W.logoImagePosition), "maxImageSize" in W && i(78, ot = W.maxImageSize), "onEvent" in W && i(16, vt = W.onEvent), "videoPosterImage" in W && i(17, st = W.videoPosterImage), "videoIsBehind" in W && i(18, Tt = W.videoIsBehind), "isFullScreen" in W && i(79, ut = W.isFullScreen), "isVisible" in W && i(0, qe = W.isVisible), "relativeY" in W && i(1, De = W.relativeY), "absoluteY" in W && i(2, nt = W.absoluteY);
|
|
14297
14292
|
}, t.$$.update = () => {
|
|
14298
14293
|
t.$$.dirty[0] & /*playerStyle*/
|
|
14299
14294
|
8 && i(24, n = _e === "small"), t.$$.dirty[0] & /*playerStyle*/
|
|
@@ -14330,7 +14325,7 @@ function fA(t, e, i) {
|
|
|
14330
14325
|
606076928 | t.$$.dirty[1] & /*buttonScale*/
|
|
14331
14326
|
8 && i(54, P = S * (l ? 1.5 : a && u ? 1.6 : 1)), t.$$.dirty[0] & /*isScreen, isVideo*/
|
|
14332
14327
|
69206016 | t.$$.dirty[1] & /*isMobile*/
|
|
14333
|
-
1 && i(53,
|
|
14328
|
+
1 && i(53, K = l && !f ? 3 : l ? 2 : a && !f ? 1.5 : 1), t.$$.dirty[0] & /*isScreen, isVideo*/
|
|
14334
14329
|
69206016 | t.$$.dirty[1] & /*isMobile*/
|
|
14335
14330
|
1 && i(52, N = l && !f ? 2.5 : l ? 1.75 : a && !f ? 2 : a ? 1.5 : 1), t.$$.dirty[0] & /*isScreen*/
|
|
14336
14331
|
67108864 | t.$$.dirty[1] & /*isMobile*/
|
|
@@ -14349,8 +14344,8 @@ function fA(t, e, i) {
|
|
|
14349
14344
|
isMobile: f,
|
|
14350
14345
|
isAdvert: d
|
|
14351
14346
|
})), t.$$.dirty[2] & /*companionAdvert, activeAdvert*/
|
|
14352
|
-
320 && i(82, te = (
|
|
14353
|
-
320 && i(32, de = (
|
|
14347
|
+
320 && i(82, te = (Ke == null ? void 0 : Ke.imageUrl) || (Oe == null ? void 0 : Oe.imageUrl)), t.$$.dirty[2] & /*companionAdvert, activeAdvert*/
|
|
14348
|
+
320 && i(32, de = (Ke == null ? void 0 : Ke.clickThroughUrl) || (Oe == null ? void 0 : Oe.clickThroughUrl)), t.$$.dirty[0] & /*isAdvert, isStopped*/
|
|
14354
14349
|
671088640 | t.$$.dirty[1] & /*contentItem*/
|
|
14355
14350
|
4 | t.$$.dirty[2] & /*advertImageUrl, persistentAdvert*/
|
|
14356
14351
|
1048704 && i(48, se = d && te || !u && (Ze == null ? void 0 : Ze.imageUrl) || A.imageUrl), t.$$.dirty[0] & /*isAdvert, isStopped*/
|
|
@@ -14369,7 +14364,7 @@ function fA(t, e, i) {
|
|
|
14369
14364
|
32768 && i(43, Be = et && (!d || l) && !(Ve && n) && !C), t.$$.dirty[0] & /*playlistStyle*/
|
|
14370
14365
|
32 && i(81, Me = $e.split("-")), t.$$.dirty[0] & /*isSmall*/
|
|
14371
14366
|
16777216 | t.$$.dirty[2] & /*playlistParts, isPlaylist*/
|
|
14372
|
-
786432 && i(42,
|
|
14367
|
+
786432 && i(42, J = (Me[0] === "show" || Me[0] === "auto" && g) && !n), t.$$.dirty[0] & /*isSmall*/
|
|
14373
14368
|
16777216 | t.$$.dirty[2] & /*playlistToggle, isPlaylist, isFullScreen*/
|
|
14374
14369
|
393224 && i(41, q = (Le === "show" || Le === "auto" && g) && !n && !ut), t.$$.dirty[0] & /*playerStyle, positionClasses, controlsOrder*/
|
|
14375
14370
|
12582920 | t.$$.dirty[2] & /*playbackState*/
|
|
@@ -14380,7 +14375,7 @@ function fA(t, e, i) {
|
|
|
14380
14375
|
De,
|
|
14381
14376
|
nt,
|
|
14382
14377
|
_e,
|
|
14383
|
-
|
|
14378
|
+
Je,
|
|
14384
14379
|
$e,
|
|
14385
14380
|
Ne,
|
|
14386
14381
|
ct,
|
|
@@ -14418,7 +14413,7 @@ function fA(t, e, i) {
|
|
|
14418
14413
|
Qe,
|
|
14419
14414
|
Pe,
|
|
14420
14415
|
q,
|
|
14421
|
-
|
|
14416
|
+
J,
|
|
14422
14417
|
Be,
|
|
14423
14418
|
L,
|
|
14424
14419
|
R,
|
|
@@ -14429,7 +14424,7 @@ function fA(t, e, i) {
|
|
|
14429
14424
|
ne,
|
|
14430
14425
|
Y,
|
|
14431
14426
|
N,
|
|
14432
|
-
|
|
14427
|
+
K,
|
|
14433
14428
|
P,
|
|
14434
14429
|
D,
|
|
14435
14430
|
E,
|
|
@@ -14446,7 +14441,7 @@ function fA(t, e, i) {
|
|
|
14446
14441
|
_t,
|
|
14447
14442
|
Oe,
|
|
14448
14443
|
Ze,
|
|
14449
|
-
|
|
14444
|
+
Ke,
|
|
14450
14445
|
yt,
|
|
14451
14446
|
Re,
|
|
14452
14447
|
pt,
|
|
@@ -14883,18 +14878,18 @@ function kA(t) {
|
|
|
14883
14878
|
};
|
|
14884
14879
|
}
|
|
14885
14880
|
function pa(t) {
|
|
14886
|
-
let e, i, n, o, s, l, a, r, u, d, g, f, A, m, y, v, T, p, w, E, D, S, P,
|
|
14881
|
+
let e, i, n, o, s, l, a, r, u, d, g, f, A, m, y, v, T, p, w, E, D, S, P, K, N, Y, ne, ue, ce, $, ee, te, de, se, he, re, k, C, R, L, Be, Me, J, q, Pe, _e, Je, We, $e, Le, Ne, ct, Ve, mt, Ge, ht, He, it, _t, Ye, At, Oe, Ze, Ke, yt, Re, pt, St, wt, Xe, et, Bt, ot, vt, st, Tt, ut, qe, De, nt, tt, U, je, Qe, jt, zt, Ct, bt, Ae, B, V, W, Lt, ui, wi, Dt, Ti, Zt, Di, dt, di, xt, Pi, Et, oi, Ci, Nt, vi, si, an, Ft, Ki, Rt, Ut = ni(
|
|
14887
14882
|
/*content*/
|
|
14888
14883
|
t[41]
|
|
14889
14884
|
), gt = [];
|
|
14890
14885
|
for (let x = 0; x < Ut.length; x += 1)
|
|
14891
14886
|
gt[x] = Sa(va(t, Ut, x));
|
|
14892
|
-
let
|
|
14887
|
+
let Kt = ni(
|
|
14893
14888
|
/*introsOutros*/
|
|
14894
14889
|
t[42]
|
|
14895
14890
|
), ft = [];
|
|
14896
|
-
for (let x = 0; x <
|
|
14897
|
-
ft[x] = wa(ya(t,
|
|
14891
|
+
for (let x = 0; x < Kt.length; x += 1)
|
|
14892
|
+
ft[x] = wa(ya(t, Kt, x));
|
|
14898
14893
|
let qt = ni(
|
|
14899
14894
|
/*adverts*/
|
|
14900
14895
|
t[43]
|
|
@@ -14907,12 +14902,12 @@ function pa(t) {
|
|
|
14907
14902
|
`), d = b("input"), g = G(), f = b("div"), A = oe(`contentId:
|
|
14908
14903
|
`), m = b("input"), y = G(), v = b("div"), T = oe(`playlistId:
|
|
14909
14904
|
`), p = b("input"), w = G(), E = b("div"), D = oe(`sourceId:
|
|
14910
|
-
`), S = b("input"), P = G(),
|
|
14905
|
+
`), S = b("input"), P = G(), K = b("div"), N = oe(`sourceUrl:
|
|
14911
14906
|
`), Y = b("input"), ne = G(), ue = b("div"), ce = oe(`showUserInterface:
|
|
14912
14907
|
`), $ = b("select"), ee = b("option"), ee.textContent = `${!1}`, te = b("option"), te.textContent = `${!0}`, de = G(), se = b("div"), he = oe(`videoTextColor:
|
|
14913
14908
|
`), re = b("input"), k = G(), C = b("div"), R = oe(`videoIconColor:
|
|
14914
|
-
`), L = b("input"), Be = G(), Me = b("div"),
|
|
14915
|
-
`), q = b("select"), Pe = b("option"), Pe.textContent = "auto", _e = b("option"), _e.textContent = "override",
|
|
14909
|
+
`), L = b("input"), Be = G(), Me = b("div"), J = oe(`mediaSession:
|
|
14910
|
+
`), q = b("select"), Pe = b("option"), Pe.textContent = "auto", _e = b("option"), _e.textContent = "override", Je = b("option"), Je.textContent = "none", We = G(), $e = b("div"), Le = oe(`contentIndex:
|
|
14916
14911
|
`), Ne = b("select");
|
|
14917
14912
|
for (let x = 0; x < gt.length; x += 1)
|
|
14918
14913
|
gt[x].c();
|
|
@@ -14921,7 +14916,7 @@ function pa(t) {
|
|
|
14921
14916
|
for (let x = 0; x < ft.length; x += 1)
|
|
14922
14917
|
ft[x].c();
|
|
14923
14918
|
He = G(), it = b("div"), _t = oe(`persistentAdImage:
|
|
14924
|
-
`), Ye = b("select"), At = b("option"), At.textContent = `${!1}`, Oe = b("option"), Oe.textContent = `${!0}`, Ze = G(),
|
|
14919
|
+
`), Ye = b("select"), At = b("option"), At.textContent = `${!1}`, Oe = b("option"), Oe.textContent = `${!0}`, Ze = G(), Ke = b("div"), yt = oe(`persistentIndex:
|
|
14925
14920
|
`), Re = b("select"), pt = b("option"), pt.textContent = "-1 (none)";
|
|
14926
14921
|
for (let x = 0; x < It.length; x += 1)
|
|
14927
14922
|
It[x].c();
|
|
@@ -14934,11 +14929,11 @@ function pa(t) {
|
|
|
14934
14929
|
`), Lt = b("select"), ui = b("option"), ui.textContent = "personalized", wi = b("option"), wi.textContent = "non-personalized", Dt = b("option"), Dt.textContent = "under-the-age-of-consent", Ti = G(), Zt = b("div"), Di = oe(`analyticsConsent:
|
|
14935
14930
|
`), dt = b("select"), di = b("option"), di.textContent = "allowed", xt = b("option"), xt.textContent = "without-local-storage", Pi = b("option"), Pi.textContent = "none", Et = G(), oi = b("div"), Ci = oe(`analyticsCustomUrl:
|
|
14936
14931
|
`), Nt = b("input"), vi = G(), si = b("div"), an = oe(`analyticsTag:
|
|
14937
|
-
`), Ft = b("input"), M(n, "class", "svelte-g76q0j"), M(d, "tabindex", -1), M(d, "type", "text"), M(d, "class", "svelte-g76q0j"), M(r, "class", "control svelte-g76q0j"), M(m, "tabindex", -1), M(m, "type", "text"), M(m, "class", "svelte-g76q0j"), M(f, "class", "control svelte-g76q0j"), M(p, "tabindex", -1), M(p, "type", "text"), M(p, "class", "svelte-g76q0j"), M(v, "class", "control svelte-g76q0j"), M(S, "tabindex", -1), M(S, "type", "text"), M(S, "class", "svelte-g76q0j"), M(E, "class", "control svelte-g76q0j"), M(Y, "tabindex", -1), M(Y, "type", "text"), M(Y, "class", "svelte-g76q0j"), M(
|
|
14932
|
+
`), Ft = b("input"), M(n, "class", "svelte-g76q0j"), M(d, "tabindex", -1), M(d, "type", "text"), M(d, "class", "svelte-g76q0j"), M(r, "class", "control svelte-g76q0j"), M(m, "tabindex", -1), M(m, "type", "text"), M(m, "class", "svelte-g76q0j"), M(f, "class", "control svelte-g76q0j"), M(p, "tabindex", -1), M(p, "type", "text"), M(p, "class", "svelte-g76q0j"), M(v, "class", "control svelte-g76q0j"), M(S, "tabindex", -1), M(S, "type", "text"), M(S, "class", "svelte-g76q0j"), M(E, "class", "control svelte-g76q0j"), M(Y, "tabindex", -1), M(Y, "type", "text"), M(Y, "class", "svelte-g76q0j"), M(K, "class", "control svelte-g76q0j"), ee.__value = !1, H(ee, ee.__value), te.__value = !0, H(te, te.__value), M($, "tabindex", -1), M($, "class", "svelte-g76q0j"), /*showUserInterface*/
|
|
14938
14933
|
t[5] === void 0 && at(() => (
|
|
14939
14934
|
/*select0_change_handler_1*/
|
|
14940
14935
|
t[69].call($)
|
|
14941
|
-
)), M(ue, "class", "control svelte-g76q0j"), M(re, "tabindex", -1), M(re, "type", "text"), M(re, "class", "svelte-g76q0j"), M(se, "class", "control svelte-g76q0j"), M(L, "tabindex", -1), M(L, "type", "text"), M(L, "class", "svelte-g76q0j"), M(C, "class", "control svelte-g76q0j"), Pe.__value = "auto", H(Pe, Pe.__value), _e.__value = "override", H(_e, _e.__value),
|
|
14936
|
+
)), M(ue, "class", "control svelte-g76q0j"), M(re, "tabindex", -1), M(re, "type", "text"), M(re, "class", "svelte-g76q0j"), M(se, "class", "control svelte-g76q0j"), M(L, "tabindex", -1), M(L, "type", "text"), M(L, "class", "svelte-g76q0j"), M(C, "class", "control svelte-g76q0j"), Pe.__value = "auto", H(Pe, Pe.__value), _e.__value = "override", H(_e, _e.__value), Je.__value = "none", H(Je, Je.__value), M(q, "tabindex", -1), M(q, "class", "svelte-g76q0j"), /*mediaSession*/
|
|
14942
14937
|
t[12] === void 0 && at(() => (
|
|
14943
14938
|
/*select1_change_handler_1*/
|
|
14944
14939
|
t[72].call(q)
|
|
@@ -14958,7 +14953,7 @@ function pa(t) {
|
|
|
14958
14953
|
t[17] === void 0 && at(() => (
|
|
14959
14954
|
/*select5_change_handler_1*/
|
|
14960
14955
|
t[76].call(Re)
|
|
14961
|
-
)), M(
|
|
14956
|
+
)), M(Ke, "class", "control svelte-g76q0j"), M(et, "tabindex", -1), M(et, "type", "text"), M(et, "class", "svelte-g76q0j"), M(wt, "class", "control svelte-g76q0j"), M(st, "tabindex", -1), M(st, "type", "text"), M(st, "class", "svelte-g76q0j"), M(ot, "class", "control svelte-g76q0j"), M(De, "tabindex", -1), M(De, "type", "text"), M(De, "class", "svelte-g76q0j"), M(ut, "class", "control svelte-g76q0j"), M(je, "tabindex", -1), M(je, "type", "text"), M(je, "class", "svelte-g76q0j"), M(tt, "class", "control svelte-g76q0j"), bt.__value = !1, H(bt, bt.__value), Ae.__value = !0, H(Ae, Ae.__value), M(Ct, "tabindex", -1), M(Ct, "class", "svelte-g76q0j"), /*logoIconEnabled*/
|
|
14962
14957
|
t[32] === void 0 && at(() => (
|
|
14963
14958
|
/*select6_change_handler_1*/
|
|
14964
14959
|
t[81].call(Ct)
|
|
@@ -14989,7 +14984,7 @@ function pa(t) {
|
|
|
14989
14984
|
S,
|
|
14990
14985
|
/*sourceId*/
|
|
14991
14986
|
t[3]
|
|
14992
|
-
), j(x, P, X), j(x,
|
|
14987
|
+
), j(x, P, X), j(x, K, X), h(K, N), h(K, Y), H(
|
|
14993
14988
|
Y,
|
|
14994
14989
|
/*sourceUrl*/
|
|
14995
14990
|
t[4]
|
|
@@ -15006,7 +15001,7 @@ function pa(t) {
|
|
|
15006
15001
|
L,
|
|
15007
15002
|
/*videoIconColor*/
|
|
15008
15003
|
t[31]
|
|
15009
|
-
), j(x, Be, X), j(x, Me, X), h(Me,
|
|
15004
|
+
), j(x, Be, X), j(x, Me, X), h(Me, J), h(Me, q), h(q, Pe), h(q, _e), h(q, Je), Ee(
|
|
15010
15005
|
q,
|
|
15011
15006
|
/*mediaSession*/
|
|
15012
15007
|
t[12],
|
|
@@ -15032,7 +15027,7 @@ function pa(t) {
|
|
|
15032
15027
|
/*persistentAdImage*/
|
|
15033
15028
|
t[16],
|
|
15034
15029
|
!0
|
|
15035
|
-
), j(x, Ze, X), j(x,
|
|
15030
|
+
), j(x, Ze, X), j(x, Ke, X), h(Ke, yt), h(Ke, Re), h(Re, pt);
|
|
15036
15031
|
for (let ae = 0; ae < It.length; ae += 1)
|
|
15037
15032
|
It[ae] && It[ae].m(Re, null);
|
|
15038
15033
|
Ee(
|
|
@@ -15079,7 +15074,7 @@ function pa(t) {
|
|
|
15079
15074
|
Ft,
|
|
15080
15075
|
/*analyticsTag*/
|
|
15081
15076
|
t[40]
|
|
15082
|
-
),
|
|
15077
|
+
), Ki || (Rt = [
|
|
15083
15078
|
Z(
|
|
15084
15079
|
d,
|
|
15085
15080
|
"input",
|
|
@@ -15212,7 +15207,7 @@ function pa(t) {
|
|
|
15212
15207
|
/*input12_input_handler*/
|
|
15213
15208
|
t[85]
|
|
15214
15209
|
)
|
|
15215
|
-
],
|
|
15210
|
+
], Ki = !0);
|
|
15216
15211
|
},
|
|
15217
15212
|
p(x, X) {
|
|
15218
15213
|
if (X[0] & /*projectId*/
|
|
@@ -15275,8 +15270,8 @@ function pa(t) {
|
|
|
15275
15270
|
);
|
|
15276
15271
|
let ae;
|
|
15277
15272
|
for (ae = 0; ae < Ut.length; ae += 1) {
|
|
15278
|
-
const
|
|
15279
|
-
gt[ae] ? gt[ae].p(
|
|
15273
|
+
const Jt = va(x, Ut, ae);
|
|
15274
|
+
gt[ae] ? gt[ae].p(Jt, X) : (gt[ae] = Sa(Jt), gt[ae].c(), gt[ae].m(Ne, null));
|
|
15280
15275
|
}
|
|
15281
15276
|
for (; ae < gt.length; ae += 1)
|
|
15282
15277
|
gt[ae].d(1);
|
|
@@ -15289,18 +15284,18 @@ function pa(t) {
|
|
|
15289
15284
|
x[13]
|
|
15290
15285
|
), X[1] & /*introsOutros*/
|
|
15291
15286
|
2048) {
|
|
15292
|
-
|
|
15287
|
+
Kt = ni(
|
|
15293
15288
|
/*introsOutros*/
|
|
15294
15289
|
x[42]
|
|
15295
15290
|
);
|
|
15296
15291
|
let ae;
|
|
15297
|
-
for (ae = 0; ae <
|
|
15298
|
-
const
|
|
15299
|
-
ft[ae] ? ft[ae].p(
|
|
15292
|
+
for (ae = 0; ae < Kt.length; ae += 1) {
|
|
15293
|
+
const Jt = ya(x, Kt, ae);
|
|
15294
|
+
ft[ae] ? ft[ae].p(Jt, X) : (ft[ae] = wa(Jt), ft[ae].c(), ft[ae].m(Ge, null));
|
|
15300
15295
|
}
|
|
15301
15296
|
for (; ae < ft.length; ae += 1)
|
|
15302
15297
|
ft[ae].d(1);
|
|
15303
|
-
ft.length =
|
|
15298
|
+
ft.length = Kt.length;
|
|
15304
15299
|
}
|
|
15305
15300
|
if (X[0] & /*introsOutrosIndex*/
|
|
15306
15301
|
16384 && Ee(
|
|
@@ -15320,8 +15315,8 @@ function pa(t) {
|
|
|
15320
15315
|
);
|
|
15321
15316
|
let ae;
|
|
15322
15317
|
for (ae = 0; ae < qt.length; ae += 1) {
|
|
15323
|
-
const
|
|
15324
|
-
It[ae] ? It[ae].p(
|
|
15318
|
+
const Jt = Aa(x, qt, ae);
|
|
15319
|
+
It[ae] ? It[ae].p(Jt, X) : (It[ae] = Ta(Jt), It[ae].c(), It[ae].m(Re, null));
|
|
15325
15320
|
}
|
|
15326
15321
|
for (; ae < It.length; ae += 1)
|
|
15327
15322
|
It[ae].d(1);
|
|
@@ -15386,7 +15381,7 @@ function pa(t) {
|
|
|
15386
15381
|
);
|
|
15387
15382
|
},
|
|
15388
15383
|
d(x) {
|
|
15389
|
-
x && (O(e), O(i), O(n), O(o), O(s), O(l), O(a), O(r), O(g), O(f), O(y), O(v), O(w), O(E), O(P), O(
|
|
15384
|
+
x && (O(e), O(i), O(n), O(o), O(s), O(l), O(a), O(r), O(g), O(f), O(y), O(v), O(w), O(E), O(P), O(K), O(ne), O(ue), O(de), O(se), O(k), O(C), O(Be), O(Me), O(We), O($e), O(ct), O(Ve), O(He), O(it), O(Ze), O(Ke), O(St), O(wt), O(Bt), O(ot), O(Tt), O(ut), O(nt), O(tt), O(Qe), O(jt), O(B), O(V), O(Ti), O(Zt), O(Et), O(oi), O(vi), O(si)), vn(gt, x), vn(ft, x), vn(It, x), Ki = !1, rt(Rt);
|
|
15390
15385
|
}
|
|
15391
15386
|
};
|
|
15392
15387
|
}
|
|
@@ -15509,7 +15504,7 @@ function SA(t) {
|
|
|
15509
15504
|
};
|
|
15510
15505
|
}
|
|
15511
15506
|
function wA(t) {
|
|
15512
|
-
let e, i, n, o, s, l, a, r, u, d, g, f, A, m, y, v, T, p, w, E, D, S, P,
|
|
15507
|
+
let e, i, n, o, s, l, a, r, u, d, g, f, A, m, y, v, T, p, w, E, D, S, P, K, N, Y, ne, ue, ce, $, ee, te, de, se, he, re, k, C, R, L, Be, Me, J, q, Pe, _e, Je, We, $e, Le, Ne, ct, Ve, mt, Ge, ht, He, it, _t, Ye, At, Oe, Ze, Ke, yt, Re, pt, St, wt, Xe, et, Bt, ot, vt, st, Tt, ut, qe, De, nt, tt, U, je, Qe, jt, zt, Ct, bt, Ae, B, V, W, Lt, ui, wi, Dt, Ti, Zt, Di, dt, di, xt, Pi, Et, oi, Ci, Nt, vi, si, an, Ft, Ki, Rt, Ut, gt, Kt, ft, qt, It, x, X, ae, Jt, rn, un, cn, dn, ko, bn, po, Ei, So, Kn, wo, To, Jn, Po, gn = ni(
|
|
15513
15508
|
/*adverts*/
|
|
15514
15509
|
t[43]
|
|
15515
15510
|
), Gt = [];
|
|
@@ -15534,29 +15529,29 @@ function wA(t) {
|
|
|
15534
15529
|
e = b("div"), i = b("div"), i.innerHTML = '<strong class="svelte-g76q0j">Player settings:</strong> <a tabindex="-1" target="_blank" class="docs svelte-g76q0j" href="https://github.com/beyondwords-io/player/blob/main/doc/player-settings.md">view docs</a>', n = G(), o = b("br"), s = G(), l = b("div"), a = oe(`playerStyle:
|
|
15535
15530
|
`), r = b("select"), u = b("option"), u.textContent = "small", d = b("option"), d.textContent = "standard", g = b("option"), g.textContent = "large", f = b("option"), f.textContent = "video", A = G(), m = b("div"), y = oe(`playbackState:
|
|
15536
15531
|
`), v = b("select"), T = b("option"), T.textContent = "stopped", p = b("option"), p.textContent = "playing", w = b("option"), w.textContent = "paused", E = G(), D = b("div"), S = oe(`playerTitle:
|
|
15537
|
-
`), P = b("input"),
|
|
15532
|
+
`), P = b("input"), K = G(), N = b("div"), Y = oe(`callToAction:
|
|
15538
15533
|
`), ne = b("input"), ue = G(), ce = b("div"), $ = oe(`skipButtonStyle:
|
|
15539
15534
|
`), ee = b("select"), te = b("option"), te.textContent = "auto", de = b("option"), de.textContent = "segments", se = b("option"), se.textContent = "seconds", he = b("option"), he.textContent = "seconds-15", re = b("option"), re.textContent = "seconds-15-30", k = b("option"), k.textContent = "tracks", C = G(), R = b("div"), L = oe(`playlistStyle:
|
|
15540
|
-
`), Be = b("select"), Me = b("option"), Me.textContent = "auto",
|
|
15535
|
+
`), Be = b("select"), Me = b("option"), Me.textContent = "auto", J = b("option"), J.textContent = "show", q = b("option"), q.textContent = "show-3", Pe = b("option"), Pe.textContent = "show-999", _e = b("option"), _e.textContent = "hide", Je = G(), We = b("div"), $e = oe(`playlistToggle:
|
|
15541
15536
|
`), Le = b("select"), Ne = b("option"), Ne.textContent = "auto", ct = b("option"), ct.textContent = "show", Ve = b("option"), Ve.textContent = "hide", mt = G(), Ge = b("div"), ht = oe(`advertIndex:
|
|
15542
15537
|
`), He = b("select"), it = b("option"), it.textContent = "-1 (none)";
|
|
15543
15538
|
for (let ye = 0; ye < Gt.length; ye += 1)
|
|
15544
15539
|
Gt[ye].c();
|
|
15545
15540
|
_t = G(), Ye = b("div"), At = oe(`widgetStyle:
|
|
15546
|
-
`), Oe = b("select"), Ze = b("option"), Ze.textContent = "small",
|
|
15541
|
+
`), Oe = b("select"), Ze = b("option"), Ze.textContent = "small", Ke = b("option"), Ke.textContent = "standard", yt = b("option"), yt.textContent = "large", Re = b("option"), Re.textContent = "video", pt = G(), St = b("div"), wt = oe(`widgetPosition:
|
|
15547
15542
|
`), Xe = b("select"), et = b("option"), et.textContent = "auto", Bt = b("option"), Bt.textContent = "left", ot = b("option"), ot.textContent = "center", vt = b("option"), vt.textContent = "right", st = G(), Tt = b("div"), ut = oe(`widgetWidth:
|
|
15548
15543
|
`), qe = b("select"), De = b("option"), De.textContent = "auto", nt = b("option"), nt.textContent = "400px", tt = b("option"), tt.textContent = "30rem", U = b("option"), U.textContent = "fit-content", je = b("option"), je.textContent = "initial", Qe = b("option"), Qe.textContent = "0", jt = G(), zt = b("div"), Ct = oe(`textColor:
|
|
15549
15544
|
`), bt = b("input"), Ae = G(), B = b("div"), V = oe(`backgroundColor:
|
|
15550
15545
|
`), W = b("input"), Lt = G(), ui = b("div"), wi = oe(`iconColor:
|
|
15551
15546
|
`), Dt = b("input"), Ti = G(), Zt = b("div"), Di = oe(`highlightColor:
|
|
15552
15547
|
`), dt = b("input"), di = G(), xt = b("div"), Pi = oe(`highlightSections:
|
|
15553
|
-
`), Et = b("select"), oi = b("option"), oi.textContent = "all", Ci = b("option"), Ci.textContent = "body", Nt = b("option"), Nt.textContent = "none", vi = b("option"), vi.textContent = "all-none", si = b("option"), si.textContent = "none-all", an = G(), Ft = b("div"),
|
|
15554
|
-
`), Rt = b("select"), Ut = b("option"), Ut.textContent = "all", gt = b("option"), gt.textContent = "body",
|
|
15555
|
-
`), ae = b("select"),
|
|
15548
|
+
`), Et = b("select"), oi = b("option"), oi.textContent = "all", Ci = b("option"), Ci.textContent = "body", Nt = b("option"), Nt.textContent = "none", vi = b("option"), vi.textContent = "all-none", si = b("option"), si.textContent = "none-all", an = G(), Ft = b("div"), Ki = oe(`clickableSections:
|
|
15549
|
+
`), Rt = b("select"), Ut = b("option"), Ut.textContent = "all", gt = b("option"), gt.textContent = "body", Kt = b("option"), Kt.textContent = "none", ft = b("option"), ft.textContent = "all-none", qt = b("option"), qt.textContent = "none-all", It = G(), x = b("div"), X = oe(`segmentWidgetSections:
|
|
15550
|
+
`), ae = b("select"), Jt = b("option"), Jt.textContent = "all", rn = b("option"), rn.textContent = "body", un = b("option"), un.textContent = "none", cn = b("option"), cn.textContent = "all-none", dn = b("option"), dn.textContent = "none-all", ko = G(), bn = b("div"), po = oe(`segmentWidgetPosition:
|
|
15556
15551
|
`), Ei = b("select");
|
|
15557
15552
|
for (let ye = 0; ye < 12; ye += 1)
|
|
15558
15553
|
kn[ye].c();
|
|
15559
|
-
So = G(), li && li.c(),
|
|
15554
|
+
So = G(), li && li.c(), Kn = G(), wo = b("br"), To = G(), Ii.c(), M(i, "class", "heading svelte-g76q0j"), u.__value = "small", H(u, u.__value), d.__value = "standard", H(d, d.__value), g.__value = "large", H(g, g.__value), f.__value = "video", H(f, f.__value), M(r, "tabindex", -1), M(r, "class", "svelte-g76q0j"), /*playerStyle*/
|
|
15560
15555
|
t[6] === void 0 && at(() => (
|
|
15561
15556
|
/*select0_change_handler*/
|
|
15562
15557
|
t[45].call(r)
|
|
@@ -15568,7 +15563,7 @@ function wA(t) {
|
|
|
15568
15563
|
t[9] === void 0 && at(() => (
|
|
15569
15564
|
/*select2_change_handler*/
|
|
15570
15565
|
t[49].call(ee)
|
|
15571
|
-
)), M(ce, "class", "control svelte-g76q0j"), Me.__value = "auto", H(Me, Me.__value),
|
|
15566
|
+
)), M(ce, "class", "control svelte-g76q0j"), Me.__value = "auto", H(Me, Me.__value), J.__value = "show", H(J, J.__value), q.__value = "show-3", H(q, q.__value), Pe.__value = "show-999", H(Pe, Pe.__value), _e.__value = "hide", H(_e, _e.__value), M(Be, "tabindex", -1), M(Be, "class", "svelte-g76q0j"), /*playlistStyle*/
|
|
15572
15567
|
t[10] === void 0 && at(() => (
|
|
15573
15568
|
/*select3_change_handler*/
|
|
15574
15569
|
t[50].call(Be)
|
|
@@ -15580,7 +15575,7 @@ function wA(t) {
|
|
|
15580
15575
|
t[15] === void 0 && at(() => (
|
|
15581
15576
|
/*select5_change_handler*/
|
|
15582
15577
|
t[52].call(He)
|
|
15583
|
-
)), M(Ge, "class", "control svelte-g76q0j"), Ze.__value = "small", H(Ze, Ze.__value),
|
|
15578
|
+
)), M(Ge, "class", "control svelte-g76q0j"), Ze.__value = "small", H(Ze, Ze.__value), Ke.__value = "standard", H(Ke, Ke.__value), yt.__value = "large", H(yt, yt.__value), Re.__value = "video", H(Re, Re.__value), M(Oe, "tabindex", -1), M(Oe, "class", "svelte-g76q0j"), /*widgetStyle*/
|
|
15584
15579
|
t[22] === void 0 && at(() => (
|
|
15585
15580
|
/*select6_change_handler*/
|
|
15586
15581
|
t[53].call(Oe)
|
|
@@ -15596,11 +15591,11 @@ function wA(t) {
|
|
|
15596
15591
|
t[33] === void 0 && at(() => (
|
|
15597
15592
|
/*select9_change_handler*/
|
|
15598
15593
|
t[60].call(Et)
|
|
15599
|
-
)), M(xt, "class", "control svelte-g76q0j"), Ut.__value = "all", H(Ut, Ut.__value), gt.__value = "body", H(gt, gt.__value),
|
|
15594
|
+
)), M(xt, "class", "control svelte-g76q0j"), Ut.__value = "all", H(Ut, Ut.__value), gt.__value = "body", H(gt, gt.__value), Kt.__value = "none", H(Kt, Kt.__value), ft.__value = "all-none", H(ft, ft.__value), qt.__value = "none-all", H(qt, qt.__value), M(Rt, "tabindex", -1), M(Rt, "class", "svelte-g76q0j"), /*clickableSections*/
|
|
15600
15595
|
t[34] === void 0 && at(() => (
|
|
15601
15596
|
/*select10_change_handler*/
|
|
15602
15597
|
t[61].call(Rt)
|
|
15603
|
-
)), M(Ft, "class", "control svelte-g76q0j"),
|
|
15598
|
+
)), M(Ft, "class", "control svelte-g76q0j"), Jt.__value = "all", H(Jt, Jt.__value), rn.__value = "body", H(rn, rn.__value), un.__value = "none", H(un, un.__value), cn.__value = "all-none", H(cn, cn.__value), dn.__value = "none-all", H(dn, dn.__value), M(ae, "tabindex", -1), M(ae, "class", "svelte-g76q0j"), /*segmentWidgetSections*/
|
|
15604
15599
|
t[35] === void 0 && at(() => (
|
|
15605
15600
|
/*select11_change_handler*/
|
|
15606
15601
|
t[62].call(ae)
|
|
@@ -15625,7 +15620,7 @@ function wA(t) {
|
|
|
15625
15620
|
P,
|
|
15626
15621
|
/*playerTitle*/
|
|
15627
15622
|
t[7]
|
|
15628
|
-
), h(e,
|
|
15623
|
+
), h(e, K), h(e, N), h(N, Y), h(N, ne), H(
|
|
15629
15624
|
ne,
|
|
15630
15625
|
/*callToAction*/
|
|
15631
15626
|
t[8]
|
|
@@ -15634,12 +15629,12 @@ function wA(t) {
|
|
|
15634
15629
|
/*skipButtonStyle*/
|
|
15635
15630
|
t[9],
|
|
15636
15631
|
!0
|
|
15637
|
-
), h(e, C), h(e, R), h(R, L), h(R, Be), h(Be, Me), h(Be,
|
|
15632
|
+
), h(e, C), h(e, R), h(R, L), h(R, Be), h(Be, Me), h(Be, J), h(Be, q), h(Be, Pe), h(Be, _e), Ee(
|
|
15638
15633
|
Be,
|
|
15639
15634
|
/*playlistStyle*/
|
|
15640
15635
|
t[10],
|
|
15641
15636
|
!0
|
|
15642
|
-
), h(e,
|
|
15637
|
+
), h(e, Je), h(e, We), h(We, $e), h(We, Le), h(Le, Ne), h(Le, ct), h(Le, Ve), Ee(
|
|
15643
15638
|
Le,
|
|
15644
15639
|
/*playlistToggle*/
|
|
15645
15640
|
t[11],
|
|
@@ -15652,7 +15647,7 @@ function wA(t) {
|
|
|
15652
15647
|
/*advertIndex*/
|
|
15653
15648
|
t[15],
|
|
15654
15649
|
!0
|
|
15655
|
-
), h(e, _t), h(e, Ye), h(Ye, At), h(Ye, Oe), h(Oe, Ze), h(Oe,
|
|
15650
|
+
), h(e, _t), h(e, Ye), h(Ye, At), h(Ye, Oe), h(Oe, Ze), h(Oe, Ke), h(Oe, yt), h(Oe, Re), Ee(
|
|
15656
15651
|
Oe,
|
|
15657
15652
|
/*widgetStyle*/
|
|
15658
15653
|
t[22],
|
|
@@ -15688,12 +15683,12 @@ function wA(t) {
|
|
|
15688
15683
|
/*highlightSections*/
|
|
15689
15684
|
t[33],
|
|
15690
15685
|
!0
|
|
15691
|
-
), h(e, an), h(e, Ft), h(Ft,
|
|
15686
|
+
), h(e, an), h(e, Ft), h(Ft, Ki), h(Ft, Rt), h(Rt, Ut), h(Rt, gt), h(Rt, Kt), h(Rt, ft), h(Rt, qt), Ee(
|
|
15692
15687
|
Rt,
|
|
15693
15688
|
/*clickableSections*/
|
|
15694
15689
|
t[34],
|
|
15695
15690
|
!0
|
|
15696
|
-
), h(e, It), h(e, x), h(x, X), h(x, ae), h(ae,
|
|
15691
|
+
), h(e, It), h(e, x), h(x, X), h(x, ae), h(ae, Jt), h(ae, rn), h(ae, un), h(ae, cn), h(ae, dn), Ee(
|
|
15697
15692
|
ae,
|
|
15698
15693
|
/*segmentWidgetSections*/
|
|
15699
15694
|
t[35],
|
|
@@ -15706,7 +15701,7 @@ function wA(t) {
|
|
|
15706
15701
|
/*segmentWidgetPosition*/
|
|
15707
15702
|
t[36],
|
|
15708
15703
|
!0
|
|
15709
|
-
), h(e, So), li && li.m(e, null), h(e,
|
|
15704
|
+
), h(e, So), li && li.m(e, null), h(e, Kn), h(e, wo), h(e, To), Ii.m(e, null), Jn || (Po = [
|
|
15710
15705
|
Z(
|
|
15711
15706
|
r,
|
|
15712
15707
|
"change",
|
|
@@ -15821,7 +15816,7 @@ function wA(t) {
|
|
|
15821
15816
|
/*select12_change_handler*/
|
|
15822
15817
|
t[63]
|
|
15823
15818
|
)
|
|
15824
|
-
],
|
|
15819
|
+
], Jn = !0);
|
|
15825
15820
|
},
|
|
15826
15821
|
p(ye, lt) {
|
|
15827
15822
|
if (lt[0] & /*playerStyle*/
|
|
@@ -15941,18 +15936,18 @@ function wA(t) {
|
|
|
15941
15936
|
/*segmentWidgetPosition*/
|
|
15942
15937
|
ye[36]
|
|
15943
15938
|
), /*showAdvancedSettings*/
|
|
15944
|
-
ye[44] ? li ? li.p(ye, lt) : (li = pa(ye), li.c(), li.m(e,
|
|
15939
|
+
ye[44] ? li ? li.p(ye, lt) : (li = pa(ye), li.c(), li.m(e, Kn)) : li && (li.d(1), li = null), Vn === (Vn = Co(ye)) && Ii ? Ii.p(ye, lt) : (Ii.d(1), Ii = Vn(ye), Ii && (Ii.c(), Ii.m(e, null)));
|
|
15945
15940
|
},
|
|
15946
15941
|
i: Q,
|
|
15947
15942
|
o: Q,
|
|
15948
15943
|
d(ye) {
|
|
15949
|
-
ye && O(e), vn(Gt, ye), vn(kn, ye), li && li.d(), Ii.d(),
|
|
15944
|
+
ye && O(e), vn(Gt, ye), vn(kn, ye), li && li.d(), Ii.d(), Jn = !1, rt(Po);
|
|
15950
15945
|
}
|
|
15951
15946
|
};
|
|
15952
15947
|
}
|
|
15953
15948
|
function TA(t, e, i) {
|
|
15954
15949
|
import("./././././././././style.js");
|
|
15955
|
-
let { projectId: n } = e, { contentId: o } = e, { playlistId: s } = e, { sourceId: l } = e, { sourceUrl: a } = e, { showUserInterface: r } = e, { playerStyle: u } = e, { playerTitle: d } = e, { callToAction: g } = e, { skipButtonStyle: f } = e, { playlistStyle: A } = e, { playlistToggle: m } = e, { mediaSession: y } = e, { content: v } = e, { contentIndex: T } = e, { introsOutros: p } = e, { introsOutrosIndex: w } = e, { adverts: E } = e, { advertIndex: D } = e, { persistentAdImage: S } = e, { persistentIndex: P } = e, { duration:
|
|
15950
|
+
let { projectId: n } = e, { contentId: o } = e, { playlistId: s } = e, { sourceId: l } = e, { sourceUrl: a } = e, { showUserInterface: r } = e, { playerStyle: u } = e, { playerTitle: d } = e, { callToAction: g } = e, { skipButtonStyle: f } = e, { playlistStyle: A } = e, { playlistToggle: m } = e, { mediaSession: y } = e, { content: v } = e, { contentIndex: T } = e, { introsOutros: p } = e, { introsOutrosIndex: w } = e, { adverts: E } = e, { advertIndex: D } = e, { persistentAdImage: S } = e, { persistentIndex: P } = e, { duration: K } = e, { currentTime: N } = e, { playbackState: Y } = e, { playbackRate: ne } = e, { widgetStyle: ue } = e, { widgetPosition: ce } = e, { widgetWidth: $ } = e, { widgetTarget: ee } = e, { textColor: te } = e, { backgroundColor: de } = e, { iconColor: se } = e, { highlightColor: he } = e, { videoTextColor: re } = e, { videoIconColor: k } = e, { logoIconEnabled: C } = e, { highlightSections: R } = e, { clickableSections: L } = e, { segmentWidgetSections: Be } = e, { segmentWidgetPosition: Me } = e, { advertConsent: J } = e, { analyticsConsent: q } = e, { analyticsCustomUrl: Pe } = e, { analyticsTag: _e } = e, Je = !1;
|
|
15956
15951
|
function We() {
|
|
15957
15952
|
u = Vt(this), i(6, u);
|
|
15958
15953
|
}
|
|
@@ -16001,7 +15996,7 @@ function TA(t, e, i) {
|
|
|
16001
15996
|
function Ze() {
|
|
16002
15997
|
R = Vt(this), i(33, R);
|
|
16003
15998
|
}
|
|
16004
|
-
function
|
|
15999
|
+
function Ke() {
|
|
16005
16000
|
L = Vt(this), i(34, L);
|
|
16006
16001
|
}
|
|
16007
16002
|
function yt() {
|
|
@@ -16050,7 +16045,7 @@ function TA(t, e, i) {
|
|
|
16050
16045
|
P = Vt(this), i(17, P);
|
|
16051
16046
|
}
|
|
16052
16047
|
function nt() {
|
|
16053
|
-
|
|
16048
|
+
K = this.value, i(18, K);
|
|
16054
16049
|
}
|
|
16055
16050
|
function tt() {
|
|
16056
16051
|
N = this.value, i(19, N);
|
|
@@ -16065,7 +16060,7 @@ function TA(t, e, i) {
|
|
|
16065
16060
|
C = Vt(this), i(32, C);
|
|
16066
16061
|
}
|
|
16067
16062
|
function jt() {
|
|
16068
|
-
|
|
16063
|
+
J = Vt(this), i(37, J);
|
|
16069
16064
|
}
|
|
16070
16065
|
function zt() {
|
|
16071
16066
|
q = Vt(this), i(38, q);
|
|
@@ -16076,9 +16071,9 @@ function TA(t, e, i) {
|
|
|
16076
16071
|
function bt() {
|
|
16077
16072
|
_e = this.value, i(40, _e);
|
|
16078
16073
|
}
|
|
16079
|
-
const Ae = () => i(44,
|
|
16074
|
+
const Ae = () => i(44, Je = !1), B = () => i(44, Je = !0);
|
|
16080
16075
|
return t.$$set = (V) => {
|
|
16081
|
-
"projectId" in V && i(0, n = V.projectId), "contentId" in V && i(1, o = V.contentId), "playlistId" in V && i(2, s = V.playlistId), "sourceId" in V && i(3, l = V.sourceId), "sourceUrl" in V && i(4, a = V.sourceUrl), "showUserInterface" in V && i(5, r = V.showUserInterface), "playerStyle" in V && i(6, u = V.playerStyle), "playerTitle" in V && i(7, d = V.playerTitle), "callToAction" in V && i(8, g = V.callToAction), "skipButtonStyle" in V && i(9, f = V.skipButtonStyle), "playlistStyle" in V && i(10, A = V.playlistStyle), "playlistToggle" in V && i(11, m = V.playlistToggle), "mediaSession" in V && i(12, y = V.mediaSession), "content" in V && i(41, v = V.content), "contentIndex" in V && i(13, T = V.contentIndex), "introsOutros" in V && i(42, p = V.introsOutros), "introsOutrosIndex" in V && i(14, w = V.introsOutrosIndex), "adverts" in V && i(43, E = V.adverts), "advertIndex" in V && i(15, D = V.advertIndex), "persistentAdImage" in V && i(16, S = V.persistentAdImage), "persistentIndex" in V && i(17, P = V.persistentIndex), "duration" in V && i(18,
|
|
16076
|
+
"projectId" in V && i(0, n = V.projectId), "contentId" in V && i(1, o = V.contentId), "playlistId" in V && i(2, s = V.playlistId), "sourceId" in V && i(3, l = V.sourceId), "sourceUrl" in V && i(4, a = V.sourceUrl), "showUserInterface" in V && i(5, r = V.showUserInterface), "playerStyle" in V && i(6, u = V.playerStyle), "playerTitle" in V && i(7, d = V.playerTitle), "callToAction" in V && i(8, g = V.callToAction), "skipButtonStyle" in V && i(9, f = V.skipButtonStyle), "playlistStyle" in V && i(10, A = V.playlistStyle), "playlistToggle" in V && i(11, m = V.playlistToggle), "mediaSession" in V && i(12, y = V.mediaSession), "content" in V && i(41, v = V.content), "contentIndex" in V && i(13, T = V.contentIndex), "introsOutros" in V && i(42, p = V.introsOutros), "introsOutrosIndex" in V && i(14, w = V.introsOutrosIndex), "adverts" in V && i(43, E = V.adverts), "advertIndex" in V && i(15, D = V.advertIndex), "persistentAdImage" in V && i(16, S = V.persistentAdImage), "persistentIndex" in V && i(17, P = V.persistentIndex), "duration" in V && i(18, K = V.duration), "currentTime" in V && i(19, N = V.currentTime), "playbackState" in V && i(20, Y = V.playbackState), "playbackRate" in V && i(21, ne = V.playbackRate), "widgetStyle" in V && i(22, ue = V.widgetStyle), "widgetPosition" in V && i(23, ce = V.widgetPosition), "widgetWidth" in V && i(24, $ = V.widgetWidth), "widgetTarget" in V && i(25, ee = V.widgetTarget), "textColor" in V && i(26, te = V.textColor), "backgroundColor" in V && i(27, de = V.backgroundColor), "iconColor" in V && i(28, se = V.iconColor), "highlightColor" in V && i(29, he = V.highlightColor), "videoTextColor" in V && i(30, re = V.videoTextColor), "videoIconColor" in V && i(31, k = V.videoIconColor), "logoIconEnabled" in V && i(32, C = V.logoIconEnabled), "highlightSections" in V && i(33, R = V.highlightSections), "clickableSections" in V && i(34, L = V.clickableSections), "segmentWidgetSections" in V && i(35, Be = V.segmentWidgetSections), "segmentWidgetPosition" in V && i(36, Me = V.segmentWidgetPosition), "advertConsent" in V && i(37, J = V.advertConsent), "analyticsConsent" in V && i(38, q = V.analyticsConsent), "analyticsCustomUrl" in V && i(39, Pe = V.analyticsCustomUrl), "analyticsTag" in V && i(40, _e = V.analyticsTag);
|
|
16082
16077
|
}, [
|
|
16083
16078
|
n,
|
|
16084
16079
|
o,
|
|
@@ -16098,7 +16093,7 @@ function TA(t, e, i) {
|
|
|
16098
16093
|
D,
|
|
16099
16094
|
S,
|
|
16100
16095
|
P,
|
|
16101
|
-
|
|
16096
|
+
K,
|
|
16102
16097
|
N,
|
|
16103
16098
|
Y,
|
|
16104
16099
|
ne,
|
|
@@ -16117,14 +16112,14 @@ function TA(t, e, i) {
|
|
|
16117
16112
|
L,
|
|
16118
16113
|
Be,
|
|
16119
16114
|
Me,
|
|
16120
|
-
|
|
16115
|
+
J,
|
|
16121
16116
|
q,
|
|
16122
16117
|
Pe,
|
|
16123
16118
|
_e,
|
|
16124
16119
|
v,
|
|
16125
16120
|
p,
|
|
16126
16121
|
E,
|
|
16127
|
-
|
|
16122
|
+
Je,
|
|
16128
16123
|
We,
|
|
16129
16124
|
$e,
|
|
16130
16125
|
Le,
|
|
@@ -16141,7 +16136,7 @@ function TA(t, e, i) {
|
|
|
16141
16136
|
At,
|
|
16142
16137
|
Oe,
|
|
16143
16138
|
Ze,
|
|
16144
|
-
|
|
16139
|
+
Ke,
|
|
16145
16140
|
yt,
|
|
16146
16141
|
Re,
|
|
16147
16142
|
pt,
|
|
@@ -16635,7 +16630,7 @@ function zA(t) {
|
|
|
16635
16630
|
};
|
|
16636
16631
|
}
|
|
16637
16632
|
function LA(t, e, i) {
|
|
16638
|
-
let n, o, s, l, a, r, u, d, g, f, A, m, y, v, T, p, w, E, D, S, P,
|
|
16633
|
+
let n, o, s, l, a, r, u, d, g, f, A, m, y, v, T, p, w, E, D, S, P, K;
|
|
16639
16634
|
const N = [96, 128, 192, 256, 384, 512], Y = [
|
|
16640
16635
|
"hangup",
|
|
16641
16636
|
"nextslide",
|
|
@@ -16657,7 +16652,7 @@ function LA(t, e, i) {
|
|
|
16657
16652
|
}), Be = N.map(() => {
|
|
16658
16653
|
});
|
|
16659
16654
|
const Me = () => i(16, R = R.add(T));
|
|
16660
|
-
function
|
|
16655
|
+
function J(q, Pe) {
|
|
16661
16656
|
le[q ? "unshift" : "push"](() => {
|
|
16662
16657
|
L[Pe] = q, i(0, L);
|
|
16663
16658
|
});
|
|
@@ -16697,7 +16692,7 @@ function LA(t, e, i) {
|
|
|
16697
16692
|
3 && i(27, D = Promise.all([...p, ...w, ...E])), t.$$.dirty[0] & /*contentItem*/
|
|
16698
16693
|
268435456 && i(26, S = (l == null ? void 0 : l.title) || ""), t.$$.dirty[0] & /*artworks*/
|
|
16699
16694
|
134217728 && D.then((q) => i(15, C = q)).catch(Me), t.$$.dirty[0] & /*title, artist, album, artwork*/
|
|
16700
|
-
117473280 && (navigator.mediaSession.metadata = new MediaMetadata({ title: S, artist: P, album:
|
|
16695
|
+
117473280 && (navigator.mediaSession.metadata = new MediaMetadata({ title: S, artist: P, album: K, artwork: C })), t.$$.dirty[0] & /*onEvent*/
|
|
16701
16696
|
16384 && navigator.mediaSession.setActionHandler("play", () => {
|
|
16702
16697
|
k(ve({
|
|
16703
16698
|
type: "PressedPlay",
|
|
@@ -16758,7 +16753,7 @@ function LA(t, e, i) {
|
|
|
16758
16753
|
initiatedBy: "media-session-api"
|
|
16759
16754
|
}));
|
|
16760
16755
|
} : null);
|
|
16761
|
-
}, i(25, P = ""), i(24,
|
|
16756
|
+
}, i(25, P = ""), i(24, K = ""), navigator.mediaSession.setByPlayer = !0, Y.forEach((q) => {
|
|
16762
16757
|
try {
|
|
16763
16758
|
navigator.mediaSession.setActionHandler(q, null);
|
|
16764
16759
|
} catch (Pe) {
|
|
@@ -16788,7 +16783,7 @@ function LA(t, e, i) {
|
|
|
16788
16783
|
d,
|
|
16789
16784
|
r,
|
|
16790
16785
|
f,
|
|
16791
|
-
|
|
16786
|
+
K,
|
|
16792
16787
|
P,
|
|
16793
16788
|
S,
|
|
16794
16789
|
D,
|
|
@@ -16802,7 +16797,7 @@ function LA(t, e, i) {
|
|
|
16802
16797
|
y,
|
|
16803
16798
|
o,
|
|
16804
16799
|
s,
|
|
16805
|
-
|
|
16800
|
+
J
|
|
16806
16801
|
];
|
|
16807
16802
|
}
|
|
16808
16803
|
class DA extends Te {
|
|
@@ -17004,12 +16999,12 @@ function ZA(t, e, i) {
|
|
|
17004
16999
|
let n, o;
|
|
17005
17000
|
return i(1, n = window.daxListenerId), i(0, o = Math.floor(Math.random() * 1e10)), [o, n];
|
|
17006
17001
|
}
|
|
17007
|
-
class
|
|
17002
|
+
class KA extends Te {
|
|
17008
17003
|
constructor(e) {
|
|
17009
17004
|
super(), we(this, e, ZA, YA, Se, {});
|
|
17010
17005
|
}
|
|
17011
17006
|
}
|
|
17012
|
-
class
|
|
17007
|
+
class JA extends Te {
|
|
17013
17008
|
constructor(e) {
|
|
17014
17009
|
super(), we(this, e, null, null, Se, {});
|
|
17015
17010
|
}
|
|
@@ -17198,7 +17193,7 @@ const GA = () => ve({
|
|
|
17198
17193
|
const o = yield fetch(t, e).catch(() => {
|
|
17199
17194
|
}), s = yield o == null ? void 0 : o.json().catch(() => {
|
|
17200
17195
|
});
|
|
17201
|
-
return (o == null ? void 0 : o.status) !== 200 && ci(`Failed to fetch ${t}`,
|
|
17196
|
+
return (o == null ? void 0 : o.status) !== 200 && ci(`Failed to fetch ${t}`, Ji(Xt({}, e), {
|
|
17202
17197
|
responseStatus: o == null ? void 0 : o.status,
|
|
17203
17198
|
responseJson: s
|
|
17204
17199
|
})), s;
|
|
@@ -18180,11 +18175,11 @@ function xa(t) {
|
|
|
18180
18175
|
};
|
|
18181
18176
|
}
|
|
18182
18177
|
function Ay(t) {
|
|
18183
|
-
let e, i, n, o, s, l, a, r, u, d, g, f, A, m, y, v, T, p, w, E, D, S, P,
|
|
18178
|
+
let e, i, n, o, s, l, a, r, u, d, g, f, A, m, y, v, T, p, w, E, D, S, P, K, N, Y, ne, ue, ce, $, ee, te, de, se, he, re, k, C, R, L, Be, Me, J, q, Pe;
|
|
18184
18179
|
function _e(B) {
|
|
18185
18180
|
t[126](B);
|
|
18186
18181
|
}
|
|
18187
|
-
function
|
|
18182
|
+
function Je(B) {
|
|
18188
18183
|
t[127](B);
|
|
18189
18184
|
}
|
|
18190
18185
|
function We(B) {
|
|
@@ -18235,7 +18230,7 @@ function Ay(t) {
|
|
|
18235
18230
|
function Ze(B) {
|
|
18236
18231
|
t[143](B);
|
|
18237
18232
|
}
|
|
18238
|
-
function
|
|
18233
|
+
function Ke(B) {
|
|
18239
18234
|
t[144](B);
|
|
18240
18235
|
}
|
|
18241
18236
|
function yt(B) {
|
|
@@ -18411,7 +18406,7 @@ function Ay(t) {
|
|
|
18411
18406
|
t[43] !== void 0 && (Ae.analyticsCustomUrl = /*analyticsCustomUrl*/
|
|
18412
18407
|
t[43]), /*analyticsTag*/
|
|
18413
18408
|
t[44] !== void 0 && (Ae.analyticsTag = /*analyticsTag*/
|
|
18414
|
-
t[44]), e = new PA({ props: Ae }), le.push(() => ke(e, "projectId", _e)), le.push(() => ke(e, "contentId",
|
|
18409
|
+
t[44]), e = new PA({ props: Ae }), le.push(() => ke(e, "projectId", _e)), le.push(() => ke(e, "contentId", Je)), le.push(() => ke(e, "playlistId", We)), le.push(() => ke(e, "sourceId", $e)), le.push(() => ke(e, "sourceUrl", Le)), le.push(() => ke(e, "showUserInterface", Ne)), le.push(() => ke(e, "playerStyle", ct)), le.push(() => ke(e, "playerTitle", Ve)), le.push(() => ke(e, "callToAction", mt)), le.push(() => ke(e, "skipButtonStyle", Ge)), le.push(() => ke(e, "playlistStyle", ht)), le.push(() => ke(e, "playlistToggle", He)), le.push(() => ke(e, "mediaSession", it)), le.push(() => ke(e, "contentIndex", _t)), le.push(() => ke(e, "introsOutrosIndex", Ye)), le.push(() => ke(e, "advertIndex", At)), le.push(() => ke(e, "persistentAdImage", Oe)), le.push(() => ke(e, "persistentIndex", Ze)), le.push(() => ke(e, "duration", Ke)), le.push(() => ke(e, "currentTime", yt)), le.push(() => ke(e, "playbackState", Re)), le.push(() => ke(e, "playbackRate", pt)), le.push(() => ke(e, "widgetStyle", St)), le.push(() => ke(e, "widgetPosition", wt)), le.push(() => ke(e, "widgetWidth", Xe)), le.push(() => ke(e, "widgetTarget", et)), le.push(() => ke(e, "textColor", Bt)), le.push(() => ke(e, "backgroundColor", ot)), le.push(() => ke(e, "iconColor", vt)), le.push(() => ke(e, "highlightColor", st)), le.push(() => ke(e, "videoTextColor", Tt)), le.push(() => ke(e, "videoIconColor", ut)), le.push(() => ke(e, "logoIconEnabled", qe)), le.push(() => ke(e, "highlightSections", De)), le.push(() => ke(e, "clickableSections", nt)), le.push(() => ke(e, "segmentWidgetSections", tt)), le.push(() => ke(e, "segmentWidgetPosition", U)), le.push(() => ke(e, "currentSegment", je)), le.push(() => ke(e, "hoveredSegment", Qe)), le.push(() => ke(e, "advertConsent", jt)), le.push(() => ke(e, "analyticsConsent", zt)), le.push(() => ke(e, "analyticsCustomUrl", Ct)), le.push(() => ke(e, "analyticsTag", bt)), {
|
|
18415
18410
|
c() {
|
|
18416
18411
|
me(e.$$.fragment);
|
|
18417
18412
|
},
|
|
@@ -18470,9 +18465,9 @@ function Ay(t) {
|
|
|
18470
18465
|
4096 && (S = !0, W.playbackState = /*playbackState*/
|
|
18471
18466
|
B[12], be(() => S = !1)), !P && V[1] & /*playbackRate*/
|
|
18472
18467
|
4 && (P = !0, W.playbackRate = /*playbackRate*/
|
|
18473
|
-
B[33], be(() => P = !1)), !
|
|
18474
|
-
8192 && (
|
|
18475
|
-
B[13], be(() =>
|
|
18468
|
+
B[33], be(() => P = !1)), !K && V[0] & /*widgetStyle*/
|
|
18469
|
+
8192 && (K = !0, W.widgetStyle = /*widgetStyle*/
|
|
18470
|
+
B[13], be(() => K = !1)), !N && V[1] & /*widgetPosition*/
|
|
18476
18471
|
8 && (N = !0, W.widgetPosition = /*widgetPosition*/
|
|
18477
18472
|
B[34], be(() => N = !1)), !Y && V[1] & /*widgetWidth*/
|
|
18478
18473
|
16 && (Y = !0, W.widgetWidth = /*widgetWidth*/
|
|
@@ -18508,9 +18503,9 @@ function Ay(t) {
|
|
|
18508
18503
|
4194304 && (Be = !0, W.advertConsent = /*advertConsent*/
|
|
18509
18504
|
B[22], be(() => Be = !1)), !Me && V[1] & /*analyticsConsent*/
|
|
18510
18505
|
2048 && (Me = !0, W.analyticsConsent = /*analyticsConsent*/
|
|
18511
|
-
B[42], be(() => Me = !1)), !
|
|
18512
|
-
4096 && (
|
|
18513
|
-
B[43], be(() =>
|
|
18506
|
+
B[42], be(() => Me = !1)), !J && V[1] & /*analyticsCustomUrl*/
|
|
18507
|
+
4096 && (J = !0, W.analyticsCustomUrl = /*analyticsCustomUrl*/
|
|
18508
|
+
B[43], be(() => J = !1)), !q && V[1] & /*analyticsTag*/
|
|
18514
18509
|
8192 && (q = !0, W.analyticsTag = /*analyticsTag*/
|
|
18515
18510
|
B[44], be(() => q = !1)), e.$set(W);
|
|
18516
18511
|
},
|
|
@@ -18650,7 +18645,7 @@ function Ra(t) {
|
|
|
18650
18645
|
}
|
|
18651
18646
|
function Fa(t) {
|
|
18652
18647
|
let e, i;
|
|
18653
|
-
return e = new
|
|
18648
|
+
return e = new KA({}), {
|
|
18654
18649
|
c() {
|
|
18655
18650
|
me(e.$$.fragment);
|
|
18656
18651
|
},
|
|
@@ -18696,8 +18691,8 @@ function yy(t) {
|
|
|
18696
18691
|
S[171]
|
|
18697
18692
|
);
|
|
18698
18693
|
for (let S = 0; S < v.length; S += 1) {
|
|
18699
|
-
let P = ja(t, v, S),
|
|
18700
|
-
l.set(
|
|
18694
|
+
let P = ja(t, v, S), K = T(P);
|
|
18695
|
+
l.set(K, s[S] = Da(K, P));
|
|
18701
18696
|
}
|
|
18702
18697
|
let p = (
|
|
18703
18698
|
/*controlPanel*/
|
|
@@ -18712,7 +18707,7 @@ function yy(t) {
|
|
|
18712
18707
|
/*setDaxListenerId*/
|
|
18713
18708
|
t[80] && Fa()
|
|
18714
18709
|
);
|
|
18715
|
-
return f = new
|
|
18710
|
+
return f = new JA({}), {
|
|
18716
18711
|
c() {
|
|
18717
18712
|
me(e.$$.fragment), i = G(), m && m.c(), n = G(), y && y.c(), o = G();
|
|
18718
18713
|
for (let S = 0; S < s.length; S += 1)
|
|
@@ -18721,19 +18716,19 @@ function yy(t) {
|
|
|
18721
18716
|
},
|
|
18722
18717
|
m(S, P) {
|
|
18723
18718
|
ge(e, S, P), j(S, i, P), m && m.m(S, P), j(S, n, P), y && y.m(S, P), j(S, o, P);
|
|
18724
|
-
for (let
|
|
18725
|
-
s[
|
|
18719
|
+
for (let K = 0; K < s.length; K += 1)
|
|
18720
|
+
s[K] && s[K].m(S, P);
|
|
18726
18721
|
j(S, a, P), p && p.m(S, P), j(S, r, P), w && w.m(S, P), j(S, u, P), E && E.m(S, P), j(S, d, P), D && D.m(S, P), j(S, g, P), ge(f, S, P), A = !0;
|
|
18727
18722
|
},
|
|
18728
18723
|
p(S, P) {
|
|
18729
|
-
const
|
|
18724
|
+
const K = {};
|
|
18730
18725
|
P[2] & /*videoRoot*/
|
|
18731
|
-
8192 && (
|
|
18726
|
+
8192 && (K.root = /*videoRoot*/
|
|
18732
18727
|
S[75]), P[0] & /*contentIndex, advertConsent, projectId, playlistId, showUserInterface, widgetTarget, playbackState, currentTime, metadataLoaded*/
|
|
18733
18728
|
20994213 | P[1] & /*content, platform, vendorIdentifier, bundleIdentifier, widgetPosition, widgetWidth, mediaElement, duration, playbackRate, prevPercentage*/
|
|
18734
18729
|
1880244254 | P[2] & /*introOrOutro, activeAdvert, maxImageSize, contentItem, contentLanguage, videoBehindWidget, videoBehindStatic, videoMightBeShown*/
|
|
18735
18730
|
148401 | P[5] & /*$$scope*/
|
|
18736
|
-
524288 && (
|
|
18731
|
+
524288 && (K.$$scope = { dirty: P, ctx: S }), e.$set(K), /*showStaticInterface*/
|
|
18737
18732
|
S[78] ? m ? (m.p(S, P), P[2] & /*showStaticInterface*/
|
|
18738
18733
|
65536 && I(m, 1)) : (m = za(S), m.c(), I(m, 1), m.m(n.parentNode, n)) : m && (Fe(), z(m, 1, 1, () => {
|
|
18739
18734
|
m = null;
|
|
@@ -18788,10 +18783,10 @@ function yy(t) {
|
|
|
18788
18783
|
};
|
|
18789
18784
|
}
|
|
18790
18785
|
function vy(t, e, i) {
|
|
18791
|
-
let n, o, s, l, a, r, u, d, g, f, A, m, y, v, T, p, w, E, D, S, P,
|
|
18786
|
+
let n, o, s, l, a, r, u, d, g, f, A, m, y, v, T, p, w, E, D, S, P, K, N, Y, ne, ue, ce, $, { playerApiUrl: ee = "https://api.beyondwords.io/v1/projects/{id}/player" } = e, { projectId: te = void 0 } = e, { contentId: de = void 0 } = e, { playlistId: se = void 0 } = e, { sourceId: he = void 0 } = e, { sourceUrl: re = void 0 } = e, { playlist: k = [] } = e, { showUserInterface: C = !0 } = e, { showBottomWidget: R = !1 } = e, { playerStyle: L = "standard" } = e, { playerTitle: Be = void 0 } = e, { callToAction: Me = void 0 } = e, { skipButtonStyle: J = "auto" } = e, { playlistStyle: q = "auto-5-4" } = e, { playlistToggle: Pe = "auto" } = e, { downloadFormats: _e = [] } = e, { mediaSession: Je = "auto" } = e, { content: We = [] } = e, { contentIndex: $e = 0 } = e, { introsOutros: Le = [] } = e, { introsOutrosIndex: Ne = -1 } = e, { adverts: ct = [] } = e, { advertIndex: Ve = -1 } = e, { minDurationForMidroll: mt = 2 * 60 } = e, { minTimeUntilEndForMidroll: Ge = 10 } = e, { persistentAdImage: ht = !1 } = e, { persistentIndex: He = -1 } = e, { duration: it = 0 } = e, { currentTime: _t = 0 } = e, { playbackState: Ye = "stopped" } = e, { playbackRate: At = 1 } = e, { playbackRates: Oe = [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: Ze = "standard" } = e, { widgetPosition: Ke = "auto" } = e, { widgetWidth: yt = "auto" } = e, { widgetTarget: Re = void 0 } = e, { textColor: pt = "#111" } = e, { backgroundColor: St = "#f5f5f5" } = e, { iconColor: wt = "rgba(0, 0, 0, 0.8)" } = e, { highlightColor: Xe = "#eee" } = e, { videoTextColor: et = "white" } = e, { videoBackgroundColor: Bt = "black" } = e, { videoIconColor: ot = "white" } = e, { logoIconEnabled: vt = !0 } = e, { highlightSections: st = "all" } = e, { clickableSections: Tt = "all" } = e, { segmentWidgetSections: ut = "body" } = e, { segmentWidgetPosition: qe = "7-oclock" } = e, { currentSegment: De = void 0 } = e, { hoveredSegment: nt = void 0 } = e, { loadedMedia: tt = void 0 } = e, { advertConsent: U = "personalized" } = e, { analyticsConsent: je = "allowed" } = e, { analyticsCustomUrl: Qe = void 0 } = e, { analyticsDeviceType: jt = "auto" } = e, { analyticsTag: zt = void 0 } = e, { writeToken: Ct = void 0 } = e, { captureErrors: bt = !0 } = e, { onError: Ae = () => {
|
|
18792
18787
|
} } = e, { transitions: B = [] } = e, { controlPanel: V = void 0 } = e, { clientSideEnabled: W = !1 } = e;
|
|
18793
18788
|
const Lt = (..._) => xt.addEventListener(..._), ui = (..._) => xt.removeEventListener(..._);
|
|
18794
|
-
let { initialProps: wi = {} } = e, { showMediaSession: Dt = !1 } = e, { metadataLoaded: Ti = !1 } = e, { isFullScreen: Zt = !1 } = e, { mediaElement: Di = void 0 } = e, { userInterface: dt = void 0 } = e, { widgetInterface: di = void 0 } = e, { controller: xt = void 0 } = e, { logoImagePosition: Pi = void 0 } = e, { analyticsUrl: Et = void 0 } = e, { analyticsId: oi = void 0 } = e, { platform: Ci = "web" } = e, { vendorIdentifier: Nt = void 0 } = e, { bundleIdentifier: vi = void 0 } = e, { contentLanguage: si = "en" } = e, { listenSessionId: an = void 0 } = e, { sessionCreatedAt: Ft = void 0 } = e, { companionAdvert:
|
|
18789
|
+
let { initialProps: wi = {} } = e, { showMediaSession: Dt = !1 } = e, { metadataLoaded: Ti = !1 } = e, { isFullScreen: Zt = !1 } = e, { mediaElement: Di = void 0 } = e, { userInterface: dt = void 0 } = e, { widgetInterface: di = void 0 } = e, { controller: xt = void 0 } = e, { logoImagePosition: Pi = void 0 } = e, { analyticsUrl: Et = void 0 } = e, { analyticsId: oi = void 0 } = e, { platform: Ci = "web" } = e, { vendorIdentifier: Nt = void 0 } = e, { bundleIdentifier: vi = void 0 } = e, { contentLanguage: si = "en" } = e, { listenSessionId: an = void 0 } = e, { sessionCreatedAt: Ft = void 0 } = e, { companionAdvert: Ki = void 0 } = e, { isNewListen: Rt = !1 } = e, { prevPercentage: Ut = 0 } = e, { segmentWidgets: gt = [] } = e, { segmentContainers: Kt = new il((_) => i(49, gt = _)) } = e, { segmentClickables: ft = new el() } = e, { segmentHighlights: qt = new nl() } = e;
|
|
18795
18790
|
const It = (_) => xt.processEvent(Xt({ emittedFrom: E }, _)), x = () => i(107, N = nt);
|
|
18796
18791
|
function X(_) {
|
|
18797
18792
|
le[_ ? "unshift" : "push"](() => {
|
|
@@ -18801,7 +18796,7 @@ function vy(t, e, i) {
|
|
|
18801
18796
|
function ae(_) {
|
|
18802
18797
|
Ye = _, i(12, Ye);
|
|
18803
18798
|
}
|
|
18804
|
-
function
|
|
18799
|
+
function Jt(_) {
|
|
18805
18800
|
it = _, i(32, it);
|
|
18806
18801
|
}
|
|
18807
18802
|
function rn(_) {
|
|
@@ -18826,7 +18821,7 @@ function vy(t, e, i) {
|
|
|
18826
18821
|
di = _, i(47, di);
|
|
18827
18822
|
});
|
|
18828
18823
|
}
|
|
18829
|
-
const po = (_) => It(
|
|
18824
|
+
const po = (_) => It(Ji(Xt({}, _), {
|
|
18830
18825
|
emittedFrom: "segment-widget",
|
|
18831
18826
|
widgetSegment: ue,
|
|
18832
18827
|
widgetIsCurrent: ce
|
|
@@ -18837,7 +18832,7 @@ function vy(t, e, i) {
|
|
|
18837
18832
|
function So(_) {
|
|
18838
18833
|
de = _, i(1, de);
|
|
18839
18834
|
}
|
|
18840
|
-
function
|
|
18835
|
+
function Kn(_) {
|
|
18841
18836
|
se = _, i(2, se);
|
|
18842
18837
|
}
|
|
18843
18838
|
function wo(_) {
|
|
@@ -18846,7 +18841,7 @@ function vy(t, e, i) {
|
|
|
18846
18841
|
function To(_) {
|
|
18847
18842
|
re = _, i(4, re);
|
|
18848
18843
|
}
|
|
18849
|
-
function
|
|
18844
|
+
function Jn(_) {
|
|
18850
18845
|
C = _, i(5, C);
|
|
18851
18846
|
}
|
|
18852
18847
|
function Po(_) {
|
|
@@ -18859,7 +18854,7 @@ function vy(t, e, i) {
|
|
|
18859
18854
|
Me = _, i(26, Me);
|
|
18860
18855
|
}
|
|
18861
18856
|
function Bs(_) {
|
|
18862
|
-
|
|
18857
|
+
J = _, i(27, J);
|
|
18863
18858
|
}
|
|
18864
18859
|
function kn(_) {
|
|
18865
18860
|
q = _, i(28, q);
|
|
@@ -18868,7 +18863,7 @@ function vy(t, e, i) {
|
|
|
18868
18863
|
Pe = _, i(29, Pe);
|
|
18869
18864
|
}
|
|
18870
18865
|
function Co(_) {
|
|
18871
|
-
|
|
18866
|
+
Je = _, i(30, Je);
|
|
18872
18867
|
}
|
|
18873
18868
|
function Vn(_) {
|
|
18874
18869
|
$e = _, i(7, $e);
|
|
@@ -18901,7 +18896,7 @@ function vy(t, e, i) {
|
|
|
18901
18896
|
Ze = _, i(13, Ze);
|
|
18902
18897
|
}
|
|
18903
18898
|
function cu(_) {
|
|
18904
|
-
|
|
18899
|
+
Ke = _, i(34, Ke);
|
|
18905
18900
|
}
|
|
18906
18901
|
function du(_) {
|
|
18907
18902
|
yt = _, i(35, yt);
|
|
@@ -18961,7 +18956,7 @@ function vy(t, e, i) {
|
|
|
18961
18956
|
zt = _, i(44, zt);
|
|
18962
18957
|
}
|
|
18963
18958
|
return t.$$set = (_) => {
|
|
18964
|
-
"playerApiUrl" in _ && i(82, ee = _.playerApiUrl), "projectId" in _ && i(0, te = _.projectId), "contentId" in _ && i(1, de = _.contentId), "playlistId" in _ && i(2, se = _.playlistId), "sourceId" in _ && i(3, he = _.sourceId), "sourceUrl" in _ && i(4, re = _.sourceUrl), "playlist" in _ && i(83, k = _.playlist), "showUserInterface" in _ && i(5, C = _.showUserInterface), "showBottomWidget" in _ && i(84, R = _.showBottomWidget), "playerStyle" in _ && i(6, L = _.playerStyle), "playerTitle" in _ && i(25, Be = _.playerTitle), "callToAction" in _ && i(26, Me = _.callToAction), "skipButtonStyle" in _ && i(27,
|
|
18959
|
+
"playerApiUrl" in _ && i(82, ee = _.playerApiUrl), "projectId" in _ && i(0, te = _.projectId), "contentId" in _ && i(1, de = _.contentId), "playlistId" in _ && i(2, se = _.playlistId), "sourceId" in _ && i(3, he = _.sourceId), "sourceUrl" in _ && i(4, re = _.sourceUrl), "playlist" in _ && i(83, k = _.playlist), "showUserInterface" in _ && i(5, C = _.showUserInterface), "showBottomWidget" in _ && i(84, R = _.showBottomWidget), "playerStyle" in _ && i(6, L = _.playerStyle), "playerTitle" in _ && i(25, Be = _.playerTitle), "callToAction" in _ && i(26, Me = _.callToAction), "skipButtonStyle" in _ && i(27, J = _.skipButtonStyle), "playlistStyle" in _ && i(28, q = _.playlistStyle), "playlistToggle" in _ && i(29, Pe = _.playlistToggle), "downloadFormats" in _ && i(50, _e = _.downloadFormats), "mediaSession" in _ && i(30, Je = _.mediaSession), "content" in _ && i(51, We = _.content), "contentIndex" in _ && i(7, $e = _.contentIndex), "introsOutros" in _ && i(52, Le = _.introsOutros), "introsOutrosIndex" in _ && i(8, Ne = _.introsOutrosIndex), "adverts" in _ && i(53, ct = _.adverts), "advertIndex" in _ && i(9, Ve = _.advertIndex), "minDurationForMidroll" in _ && i(85, mt = _.minDurationForMidroll), "minTimeUntilEndForMidroll" in _ && i(86, Ge = _.minTimeUntilEndForMidroll), "persistentAdImage" in _ && i(31, ht = _.persistentAdImage), "persistentIndex" in _ && i(10, He = _.persistentIndex), "duration" in _ && i(32, it = _.duration), "currentTime" in _ && i(11, _t = _.currentTime), "playbackState" in _ && i(12, Ye = _.playbackState), "playbackRate" in _ && i(33, At = _.playbackRate), "playbackRates" in _ && i(54, Oe = _.playbackRates), "widgetStyle" in _ && i(13, Ze = _.widgetStyle), "widgetPosition" in _ && i(34, Ke = _.widgetPosition), "widgetWidth" in _ && i(35, yt = _.widgetWidth), "widgetTarget" in _ && i(14, Re = _.widgetTarget), "textColor" in _ && i(36, pt = _.textColor), "backgroundColor" in _ && i(37, St = _.backgroundColor), "iconColor" in _ && i(38, wt = _.iconColor), "highlightColor" in _ && i(15, Xe = _.highlightColor), "videoTextColor" in _ && i(39, et = _.videoTextColor), "videoBackgroundColor" in _ && i(55, Bt = _.videoBackgroundColor), "videoIconColor" in _ && i(40, ot = _.videoIconColor), "logoIconEnabled" in _ && i(41, vt = _.logoIconEnabled), "highlightSections" in _ && i(16, st = _.highlightSections), "clickableSections" in _ && i(17, Tt = _.clickableSections), "segmentWidgetSections" in _ && i(18, ut = _.segmentWidgetSections), "segmentWidgetPosition" in _ && i(19, qe = _.segmentWidgetPosition), "currentSegment" in _ && i(20, De = _.currentSegment), "hoveredSegment" in _ && i(21, nt = _.hoveredSegment), "loadedMedia" in _ && i(87, tt = _.loadedMedia), "advertConsent" in _ && i(22, U = _.advertConsent), "analyticsConsent" in _ && i(42, je = _.analyticsConsent), "analyticsCustomUrl" in _ && i(43, Qe = _.analyticsCustomUrl), "analyticsDeviceType" in _ && i(88, jt = _.analyticsDeviceType), "analyticsTag" in _ && i(44, zt = _.analyticsTag), "writeToken" in _ && i(89, Ct = _.writeToken), "captureErrors" in _ && i(90, bt = _.captureErrors), "onError" in _ && i(91, Ae = _.onError), "transitions" in _ && i(92, B = _.transitions), "controlPanel" in _ && i(23, V = _.controlPanel), "clientSideEnabled" in _ && i(93, W = _.clientSideEnabled), "initialProps" in _ && i(96, wi = _.initialProps), "showMediaSession" in _ && i(56, Dt = _.showMediaSession), "metadataLoaded" in _ && i(24, Ti = _.metadataLoaded), "isFullScreen" in _ && i(57, Zt = _.isFullScreen), "mediaElement" in _ && i(45, Di = _.mediaElement), "userInterface" in _ && i(46, dt = _.userInterface), "widgetInterface" in _ && i(47, di = _.widgetInterface), "controller" in _ && i(97, xt = _.controller), "logoImagePosition" in _ && i(58, Pi = _.logoImagePosition), "analyticsUrl" in _ && i(98, Et = _.analyticsUrl), "analyticsId" in _ && i(99, oi = _.analyticsId), "platform" in _ && i(59, Ci = _.platform), "vendorIdentifier" in _ && i(60, Nt = _.vendorIdentifier), "bundleIdentifier" in _ && i(61, vi = _.bundleIdentifier), "contentLanguage" in _ && i(62, si = _.contentLanguage), "listenSessionId" in _ && i(100, an = _.listenSessionId), "sessionCreatedAt" in _ && i(101, Ft = _.sessionCreatedAt), "companionAdvert" in _ && i(63, Ki = _.companionAdvert), "isNewListen" in _ && i(102, Rt = _.isNewListen), "prevPercentage" in _ && i(48, Ut = _.prevPercentage), "segmentWidgets" in _ && i(49, gt = _.segmentWidgets), "segmentContainers" in _ && i(103, Kt = _.segmentContainers), "segmentClickables" in _ && i(104, ft = _.segmentClickables), "segmentHighlights" in _ && i(105, qt = _.segmentHighlights);
|
|
18965
18960
|
}, t.$$.update = () => {
|
|
18966
18961
|
t.$$.dirty[0] & /*contentIndex*/
|
|
18967
18962
|
128 | t.$$.dirty[1] & /*content*/
|
|
@@ -19005,7 +19000,7 @@ function vy(t, e, i) {
|
|
|
19005
19000
|
256 | t.$$.dirty[3] & /*isAudio*/
|
|
19006
19001
|
262144 && i(110, P = r && D && Ti), t.$$.dirty[2] & /*activeAdvert, contentItem*/
|
|
19007
19002
|
160 | t.$$.dirty[3] & /*showVideoPoster, isAdvert*/
|
|
19008
|
-
196608 && i(74,
|
|
19003
|
+
196608 && i(74, K = P ? a && (s == null ? void 0 : s.imageUrl) || (n == null ? void 0 : n.imageUrl) : ""), t.$$.dirty[0] & /*projectId, contentId, playlistId, sourceId, sourceUrl*/
|
|
19009
19004
|
31 | t.$$.dirty[2] & /*playlist*/
|
|
19010
19005
|
2097152 && It(GA()), t.$$.dirty[0] & /*projectId*/
|
|
19011
19006
|
1 | t.$$.dirty[2] & /*playerApiUrl, writeToken*/
|
|
@@ -19024,7 +19019,7 @@ function vy(t, e, i) {
|
|
|
19024
19019
|
112 && i(73, $ = ce || s || o), t.$$.dirty[0] & /*segmentWidgetSections, segmentWidgetPosition, playerStyle*/
|
|
19025
19020
|
786496 | t.$$.dirty[2] & /*widgetSegment*/
|
|
19026
19021
|
8 | t.$$.dirty[3] & /*segmentContainers*/
|
|
19027
|
-
1024 &&
|
|
19022
|
+
1024 && Kt.update(ue, ut, qe, L), t.$$.dirty[0] & /*hoveredSegment, clickableSections*/
|
|
19028
19023
|
2228224 | t.$$.dirty[3] & /*segmentClickables*/
|
|
19029
19024
|
2048 && ft.update(nt, Tt), t.$$.dirty[0] & /*currentSegment, highlightSections, highlightColor*/
|
|
19030
19025
|
1146880 | t.$$.dirty[3] & /*segmentHighlights*/
|
|
@@ -19062,14 +19057,14 @@ function vy(t, e, i) {
|
|
|
19062
19057
|
Ti,
|
|
19063
19058
|
Be,
|
|
19064
19059
|
Me,
|
|
19065
|
-
|
|
19060
|
+
J,
|
|
19066
19061
|
q,
|
|
19067
19062
|
Pe,
|
|
19068
|
-
|
|
19063
|
+
Je,
|
|
19069
19064
|
ht,
|
|
19070
19065
|
it,
|
|
19071
19066
|
At,
|
|
19072
|
-
|
|
19067
|
+
Ke,
|
|
19073
19068
|
yt,
|
|
19074
19069
|
pt,
|
|
19075
19070
|
St,
|
|
@@ -19098,7 +19093,7 @@ function vy(t, e, i) {
|
|
|
19098
19093
|
Nt,
|
|
19099
19094
|
vi,
|
|
19100
19095
|
si,
|
|
19101
|
-
|
|
19096
|
+
Ki,
|
|
19102
19097
|
It,
|
|
19103
19098
|
ue,
|
|
19104
19099
|
o,
|
|
@@ -19109,7 +19104,7 @@ function vy(t, e, i) {
|
|
|
19109
19104
|
p,
|
|
19110
19105
|
g,
|
|
19111
19106
|
$,
|
|
19112
|
-
|
|
19107
|
+
K,
|
|
19113
19108
|
S,
|
|
19114
19109
|
w,
|
|
19115
19110
|
T,
|
|
@@ -19138,7 +19133,7 @@ function vy(t, e, i) {
|
|
|
19138
19133
|
an,
|
|
19139
19134
|
Ft,
|
|
19140
19135
|
Rt,
|
|
19141
|
-
|
|
19136
|
+
Kt,
|
|
19142
19137
|
ft,
|
|
19143
19138
|
qt,
|
|
19144
19139
|
Y,
|
|
@@ -19153,7 +19148,7 @@ function vy(t, e, i) {
|
|
|
19153
19148
|
u,
|
|
19154
19149
|
X,
|
|
19155
19150
|
ae,
|
|
19156
|
-
|
|
19151
|
+
Jt,
|
|
19157
19152
|
rn,
|
|
19158
19153
|
un,
|
|
19159
19154
|
cn,
|
|
@@ -19163,10 +19158,10 @@ function vy(t, e, i) {
|
|
|
19163
19158
|
po,
|
|
19164
19159
|
Ei,
|
|
19165
19160
|
So,
|
|
19166
|
-
|
|
19161
|
+
Kn,
|
|
19167
19162
|
wo,
|
|
19168
19163
|
To,
|
|
19169
|
-
|
|
19164
|
+
Jn,
|
|
19170
19165
|
Po,
|
|
19171
19166
|
gn,
|
|
19172
19167
|
Gt,
|
|
@@ -20100,16 +20095,16 @@ const al = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
|
|
|
20100
20095
|
for (const s of t.instances()) {
|
|
20101
20096
|
if (s.mediaSession === "none")
|
|
20102
20097
|
continue;
|
|
20103
|
-
const l =
|
|
20098
|
+
const l = Ky[s.playbackState] || 0;
|
|
20104
20099
|
if (l < n)
|
|
20105
20100
|
continue;
|
|
20106
|
-
const a =
|
|
20101
|
+
const a = Jy[s.showMediaSession] || 0;
|
|
20107
20102
|
l === n && a < o || (i = s, n = l, o = a);
|
|
20108
20103
|
}
|
|
20109
20104
|
for (const s of t.instances())
|
|
20110
20105
|
s.showMediaSession = s === i;
|
|
20111
20106
|
return i;
|
|
20112
|
-
},
|
|
20107
|
+
}, Ky = { playing: 1, paused: 0, stopped: 0 }, Jy = { true: 1, false: 0 }, Gy = () => {
|
|
20113
20108
|
const t = navigator.mediaSession.metadata;
|
|
20114
20109
|
if (!t || navigator.mediaSession.setByPlayer)
|
|
20115
20110
|
return !1;
|
|
@@ -20136,7 +20131,7 @@ const al = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
|
|
|
20136
20131
|
for (const s of t.instances())
|
|
20137
20132
|
s.showBottomWidget = s === i;
|
|
20138
20133
|
}, Qy = { playing: 2, paused: 1, stopped: 0 };
|
|
20139
|
-
var fs, Hr, ms, Yr, hs, Zr, ho, rl, _s,
|
|
20134
|
+
var fs, Hr, ms, Yr, hs, Zr, ho, rl, _s, Kr, As, Jr, ji, Xi, tn, wn, _i, Bi, ys, Gr, In, to, nn, Tn, vs, Xr, _o, ul, Yi, mn, Ao, cl, on, Pn, Ht, ai, sn, Cn, Zi, hn, bs, Qr, ks, $r, Bn, io, yo, dl, ps, eu, Ss, tu, ws, iu, Ts, nu;
|
|
20140
20135
|
class $y {
|
|
20141
20136
|
constructor(e, i) {
|
|
20142
20137
|
// private
|
|
@@ -20172,7 +20167,7 @@ class $y {
|
|
|
20172
20167
|
}
|
|
20173
20168
|
addEventListener(e, i) {
|
|
20174
20169
|
e === "<any>" || this[`handle${e}`] || ci(`Cannot add listener for unknown event type '${e}'.`);
|
|
20175
|
-
const o = `listener-handle-${
|
|
20170
|
+
const o = `listener-handle-${Jo()}`;
|
|
20176
20171
|
return this.eventListeners[e] = this.eventListeners[e] || {}, this.eventListeners[e][o] = i, o;
|
|
20177
20172
|
}
|
|
20178
20173
|
removeEventListener(e, i) {
|
|
@@ -20362,10 +20357,10 @@ class $y {
|
|
|
20362
20357
|
}
|
|
20363
20358
|
handleCurrentSegmentUpdated({ segment: e, contentIndex: i, segmentIndex: n, segmentElement: o }) {
|
|
20364
20359
|
var s;
|
|
20365
|
-
F(this, In, to).call(this) ? this.player.currentSegment =
|
|
20360
|
+
F(this, In, to).call(this) ? this.player.currentSegment = Ji(Xt({}, e), { contentIndex: i, segmentIndex: n, segmentElement: o }) : this.segmentPlayed || ((s = this.player.segmentContainers) == null || s.reset(), this.player.currentSegment = null);
|
|
20366
20361
|
}
|
|
20367
20362
|
handleHoveredSegmentUpdated({ segment: e, contentIndex: i, segmentIndex: n, segmentElement: o }) {
|
|
20368
|
-
e ? this.player.hoveredSegment =
|
|
20363
|
+
e ? this.player.hoveredSegment = Ji(Xt({}, e), { contentIndex: i, segmentIndex: n, segmentElement: o }) : this.player.hoveredSegment = null;
|
|
20369
20364
|
}
|
|
20370
20365
|
handlePressedSegment({ segment: e, contentIndex: i, segmentIndex: n, segmentElement: o }) {
|
|
20371
20366
|
if (!ro("hovered", e, this.player.clickableSections))
|
|
@@ -20386,9 +20381,9 @@ fs = new WeakSet(), Hr = function({ type: e }) {
|
|
|
20386
20381
|
}, ho = new WeakSet(), rl = function(e, i) {
|
|
20387
20382
|
const n = this.eventListeners[e] || {};
|
|
20388
20383
|
Object.values(n).forEach((o) => o(i));
|
|
20389
|
-
}, _s = new WeakSet(),
|
|
20384
|
+
}, _s = new WeakSet(), Kr = function() {
|
|
20390
20385
|
return this.player.introsOutros.some((e) => e.placement === "pre-roll");
|
|
20391
|
-
}, As = new WeakSet(),
|
|
20386
|
+
}, As = new WeakSet(), Jr = function() {
|
|
20392
20387
|
return this.player.introsOutros.some((e) => e.placement === "post-roll");
|
|
20393
20388
|
}, ji = new WeakSet(), Xi = function(e = this.player.introsOutrosIndex) {
|
|
20394
20389
|
var i, n, o;
|
|
@@ -20419,7 +20414,7 @@ fs = new WeakSet(), Hr = function({ type: e }) {
|
|
|
20419
20414
|
F(this, ji, Xi).call(this) && o >= 0 ? this.handlePlaybackEnded() : F(this, tn, wn).call(this) && o < 0 ? (F(this, Bn, io).call(this, -1), F(this, Ht, ai).call(this, () => {
|
|
20420
20415
|
var s;
|
|
20421
20416
|
return ((s = i[i.length - 1]) == null ? void 0 : s.startTime) || 0.01;
|
|
20422
|
-
}), this.player.playbackState = "playing") : F(this, In, to).call(this) && o < 0 && F(this, _s,
|
|
20417
|
+
}), this.player.playbackState = "playing") : F(this, In, to).call(this) && o < 0 && F(this, _s, Kr).call(this) ? (F(this, Ht, ai).call(this, () => 0), F(this, sn, Cn).call(this, { atTheStart: !0 })) : F(this, In, to).call(this) && o === i.length && F(this, As, Jr).call(this) ? F(this, Ht, ai).call(this, () => this.player.duration - 0.01) : F(this, In, to).call(this) && o >= 0 && o < i.length && F(this, Ht, ai).call(this, () => i[o].startTime);
|
|
20423
20418
|
}, on = new WeakSet(), Pn = function(e) {
|
|
20424
20419
|
const i = e(this.player.contentIndex), n = i < 0 || i >= this.player.content.length;
|
|
20425
20420
|
n ? (this.player.playbackState = "stopped", F(this, Ht, ai).call(this, () => 0)) : (this.player.contentIndex = i, F(this, _i, Bi).call(this) || (F(this, Ht, ai).call(this, () => 0), this.midrollPlayed = !1)), F(this, Bn, io).call(this, -1), F(this, sn, Cn).call(this, { atTheStart: !0 }), n || F(this, Zi, hn).call(this, { atTheStart: !0 });
|
|
@@ -20630,7 +20625,7 @@ class qs {
|
|
|
20630
20625
|
return XA(this.analyticsSink, e);
|
|
20631
20626
|
}
|
|
20632
20627
|
sendToGoogleAnalytics(e, i) {
|
|
20633
|
-
window.gtag("event", e,
|
|
20628
|
+
window.gtag("event", e, Ji(Xt({}, i), { send_to: this.analyticsSink }));
|
|
20634
20629
|
}
|
|
20635
20630
|
}
|
|
20636
20631
|
const k3 = (t, e) => {
|
|
@@ -20650,9 +20645,9 @@ const k3 = (t, e) => {
|
|
|
20650
20645
|
return "ad_link_click";
|
|
20651
20646
|
}, S3 = (t, e) => {
|
|
20652
20647
|
var l, a;
|
|
20653
|
-
t.listenSessionId || (t.listenSessionId =
|
|
20648
|
+
t.listenSessionId || (t.listenSessionId = Jo()), t.sessionCreatedAt || (t.sessionCreatedAt = Date.now());
|
|
20654
20649
|
const i = ["without-local-storage", "none"].includes(t.analyticsConsent);
|
|
20655
|
-
i || localStorage.beyondwords || (localStorage.beyondwords = JSON.stringify(
|
|
20650
|
+
i || localStorage.beyondwords || (localStorage.beyondwords = JSON.stringify(Jo()));
|
|
20656
20651
|
const n = t.adverts[t.advertIndex], o = t.content[t.contentIndex], s = t.duration ? t.currentTime / t.duration * 100 : 0;
|
|
20657
20652
|
return {
|
|
20658
20653
|
event_type: e,
|
|
@@ -20717,7 +20712,7 @@ const Vi = class Vi extends by {
|
|
|
20717
20712
|
const a = new $y(null, Vi);
|
|
20718
20713
|
a.addEventListener("<any>", (u) => k3(this, u));
|
|
20719
20714
|
const r = Xt({ showUserInterface: l }, i);
|
|
20720
|
-
super({ target: s, props:
|
|
20715
|
+
super({ target: s, props: Ji(Xt({ controller: a }, r), { initialProps: r }) }), a.player = this, Mi(Vi, yn).push(this);
|
|
20721
20716
|
}
|
|
20722
20717
|
static styleLoaded() {
|
|
20723
20718
|
Vi.instances().forEach((e) => e.target.style.removeProperty("display")), Vi._styleLoaded = !0;
|
|
@@ -20755,8 +20750,8 @@ const Vi = class Vi extends by {
|
|
|
20755
20750
|
};
|
|
20756
20751
|
yn = new WeakMap(), Ie(Vi, yn, []);
|
|
20757
20752
|
let is = Vi;
|
|
20758
|
-
var
|
|
20759
|
-
typeof window != "undefined" && (window.BeyondWords || (window.BeyondWords = {}), (
|
|
20753
|
+
var Ka;
|
|
20754
|
+
typeof window != "undefined" && (window.BeyondWords || (window.BeyondWords = {}), (Ka = window.BeyondWords).Player || (Ka.Player = is));
|
|
20760
20755
|
const W3 = { Player: is };
|
|
20761
20756
|
export {
|
|
20762
20757
|
W3 as default
|