@beyondwords/player 0.1.10 → 0.1.11
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 +501 -498
- package/dist/es.js.map +1 -1
- package/dist/umd.js +8 -8
- package/dist/umd.js.map +1 -1
- package/package.json +1 -1
package/dist/es.js
CHANGED
|
@@ -45,7 +45,7 @@ var vi = (t, e, i) => new Promise((n, s) => {
|
|
|
45
45
|
}, r = (a) => a.done ? n(a.value) : Promise.resolve(a.value).then(o, l);
|
|
46
46
|
r((i = i.apply(t, e)).next());
|
|
47
47
|
});
|
|
48
|
-
/*! version:"0.1.
|
|
48
|
+
/*! version:"0.1.11" */
|
|
49
49
|
function K() {
|
|
50
50
|
}
|
|
51
51
|
const Oa = (t) => t;
|
|
@@ -627,7 +627,7 @@ class pe {
|
|
|
627
627
|
}
|
|
628
628
|
const oc = "4";
|
|
629
629
|
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(oc);
|
|
630
|
-
const lc = "@beyondwords/player", xs = "0.1.
|
|
630
|
+
const lc = "@beyondwords/player", xs = "0.1.11", ui = (t, e) => {
|
|
631
631
|
t = [t].flat().join(`
|
|
632
632
|
`);
|
|
633
633
|
let i = `${lc}:
|
|
@@ -3701,13 +3701,16 @@ const Bt = (t, { locale: e } = {}) => {
|
|
|
3701
3701
|
return s === -1 ? 0 : n ? t.length - 1 : s;
|
|
3702
3702
|
}, U1 = (t, e) => {
|
|
3703
3703
|
const i = t.find((n) => {
|
|
3704
|
-
var l, r
|
|
3705
|
-
const s = n.url && (
|
|
3704
|
+
var l, r;
|
|
3705
|
+
const s = n.url && (e == null ? void 0 : e.currentSrc) === F1(n.url), o = ((l = n.url) == null ? void 0 : l.endsWith(".m3u8")) && ((r = e == null ? void 0 : e.currentSrc) == null ? void 0 : r.startsWith("blob:"));
|
|
3706
3706
|
return s || o;
|
|
3707
3707
|
});
|
|
3708
3708
|
return i || console.warn("BeyondWords.Player: media was loaded but failed to set loadedMedia"), i;
|
|
3709
|
+
}, F1 = (t) => {
|
|
3710
|
+
const e = document.createElement("a");
|
|
3711
|
+
return e.href = t, e.href;
|
|
3709
3712
|
};
|
|
3710
|
-
const Gt = (t, e, i) => Pe(t, e, e === "style" ?
|
|
3713
|
+
const Gt = (t, e, i) => Pe(t, e, e === "style" ? H1(i) : i), q1 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, H1 = (t) => t.split(q1).filter((e) => e).map((e) => e + " !important").join(";");
|
|
3711
3714
|
function fl(t, e, i) {
|
|
3712
3715
|
const n = t.slice();
|
|
3713
3716
|
return n[66] = e[i].url, n[67] = e[i].contentType, n[68] = e[i].format, n[70] = i, n;
|
|
@@ -4066,7 +4069,7 @@ function yl(t) {
|
|
|
4066
4069
|
}
|
|
4067
4070
|
};
|
|
4068
4071
|
}
|
|
4069
|
-
function
|
|
4072
|
+
function Y1(t) {
|
|
4070
4073
|
let e, i, n = (
|
|
4071
4074
|
/*content*/
|
|
4072
4075
|
t[5].length > 0 && hl(t)
|
|
@@ -4096,7 +4099,7 @@ function H1(t) {
|
|
|
4096
4099
|
}
|
|
4097
4100
|
};
|
|
4098
4101
|
}
|
|
4099
|
-
function
|
|
4102
|
+
function Z1(t, e, i) {
|
|
4100
4103
|
let n, s, o, l, r, a, d, c, g, v, m, _, k, y, C, { content: V } = e, { contentIndex: Y } = e, { introOrOutro: j } = e, { activeAdvert: M } = e, { advertConsent: L } = e, { playbackState: N } = e, { duration: J } = e, { currentTime: R } = e, { playbackRate: X } = e, { prevPercentage: Te } = e, { showUserInterface: me } = e, { videoBehindWidget: ve } = e, { videoBehindStatic: ie } = e, { videoMightBeShown: $ } = e, { widgetPosition: U } = e, { widgetWidth: se } = e, { widgetTarget: ge } = e, { onEvent: Z = () => {
|
|
4101
4104
|
} } = e, { isLoaded: le } = e, { video: w = void 0 } = e, F, Se, we, Ie = 0, G = 0, Ce = R, Ae;
|
|
4102
4105
|
const xe = (x) => i(11, Ie = x), Fe = () => $, tt = () => {
|
|
@@ -4320,13 +4323,13 @@ function Y1(t, e, i) {
|
|
|
4320
4323
|
rt
|
|
4321
4324
|
];
|
|
4322
4325
|
}
|
|
4323
|
-
class
|
|
4326
|
+
class K1 extends pe {
|
|
4324
4327
|
constructor(e) {
|
|
4325
4328
|
super(), ke(
|
|
4326
4329
|
this,
|
|
4327
4330
|
e,
|
|
4331
|
+
Z1,
|
|
4328
4332
|
Y1,
|
|
4329
|
-
H1,
|
|
4330
4333
|
be,
|
|
4331
4334
|
{
|
|
4332
4335
|
content: 5,
|
|
@@ -4475,11 +4478,11 @@ class Z1 extends pe {
|
|
|
4475
4478
|
this.$$set({ video: e }), u();
|
|
4476
4479
|
}
|
|
4477
4480
|
}
|
|
4478
|
-
function
|
|
4481
|
+
function J1(t) {
|
|
4479
4482
|
const e = t - 1;
|
|
4480
4483
|
return e * e * e + 1;
|
|
4481
4484
|
}
|
|
4482
|
-
function
|
|
4485
|
+
function G1(t, { delay: e = 0, duration: i = 400, easing: n = J1, x: s = 0, y: o = 0, opacity: l = 0 } = {}) {
|
|
4483
4486
|
const r = getComputedStyle(t), a = +r.opacity, d = r.transform === "none" ? "" : r.transform, c = a * (1 - l), [g, v] = rl(s), [m, _] = rl(o);
|
|
4484
4487
|
return {
|
|
4485
4488
|
delay: e,
|
|
@@ -4490,8 +4493,8 @@ function J1(t, { delay: e = 0, duration: i = 400, easing: n = K1, x: s = 0, y: o
|
|
|
4490
4493
|
opacity: ${a - c * y}`
|
|
4491
4494
|
};
|
|
4492
4495
|
}
|
|
4493
|
-
const Wi = (t, e, i) => Pe(t, e, e === "style" ?
|
|
4494
|
-
function
|
|
4496
|
+
const Wi = (t, e, i) => Pe(t, e, e === "style" ? Q1(i) : i), X1 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Q1 = (t) => t.split(X1).filter((e) => e).map((e) => e + " !important").join(";");
|
|
4497
|
+
function $1(t) {
|
|
4495
4498
|
let e, i, n, s;
|
|
4496
4499
|
return {
|
|
4497
4500
|
c() {
|
|
@@ -4527,15 +4530,15 @@ function Q1(t) {
|
|
|
4527
4530
|
}
|
|
4528
4531
|
};
|
|
4529
4532
|
}
|
|
4530
|
-
function
|
|
4533
|
+
function ef(t, e, i) {
|
|
4531
4534
|
let { scale: n = 1 } = e, { color: s = "#323232" } = e;
|
|
4532
4535
|
return t.$$set = (o) => {
|
|
4533
4536
|
"scale" in o && i(0, n = o.scale), "color" in o && i(1, s = o.color);
|
|
4534
4537
|
}, [n, s];
|
|
4535
4538
|
}
|
|
4536
|
-
class
|
|
4539
|
+
class tf extends pe {
|
|
4537
4540
|
constructor(e) {
|
|
4538
|
-
super(), ke(this, e, $1,
|
|
4541
|
+
super(), ke(this, e, ef, $1, be, { scale: 0, color: 1 });
|
|
4539
4542
|
}
|
|
4540
4543
|
get scale() {
|
|
4541
4544
|
return this.$$.ctx[0];
|
|
@@ -4550,8 +4553,8 @@ class ef extends pe {
|
|
|
4550
4553
|
this.$$set({ color: e }), u();
|
|
4551
4554
|
}
|
|
4552
4555
|
}
|
|
4553
|
-
const ji = (t, e, i) => Pe(t, e, e === "style" ?
|
|
4554
|
-
function
|
|
4556
|
+
const ji = (t, e, i) => Pe(t, e, e === "style" ? sf(i) : i), nf = /;(?!([^()]*\([^()]*\))*[^()]*\))/, sf = (t) => t.split(nf).filter((e) => e).map((e) => e + " !important").join(";");
|
|
4557
|
+
function of(t) {
|
|
4555
4558
|
let e, i, n, s;
|
|
4556
4559
|
return {
|
|
4557
4560
|
c() {
|
|
@@ -4587,15 +4590,15 @@ function sf(t) {
|
|
|
4587
4590
|
}
|
|
4588
4591
|
};
|
|
4589
4592
|
}
|
|
4590
|
-
function
|
|
4593
|
+
function lf(t, e, i) {
|
|
4591
4594
|
let { scale: n = 1 } = e, { color: s = "#323232" } = e;
|
|
4592
4595
|
return t.$$set = (o) => {
|
|
4593
4596
|
"scale" in o && i(0, n = o.scale), "color" in o && i(1, s = o.color);
|
|
4594
4597
|
}, [n, s];
|
|
4595
4598
|
}
|
|
4596
|
-
class
|
|
4599
|
+
class rf extends pe {
|
|
4597
4600
|
constructor(e) {
|
|
4598
|
-
super(), ke(this, e,
|
|
4601
|
+
super(), ke(this, e, lf, of, be, { scale: 0, color: 1 });
|
|
4599
4602
|
}
|
|
4600
4603
|
get scale() {
|
|
4601
4604
|
return this.$$.ctx[0];
|
|
@@ -4610,10 +4613,10 @@ class lf extends pe {
|
|
|
4610
4613
|
this.$$set({ color: e }), u();
|
|
4611
4614
|
}
|
|
4612
4615
|
}
|
|
4613
|
-
const bl = (t, e, i) => Ut(t, e, i, 1), Wn = (t, e, i) => Pe(t, e, e === "style" ?
|
|
4614
|
-
function
|
|
4616
|
+
const bl = (t, e, i) => Ut(t, e, i, 1), Wn = (t, e, i) => Pe(t, e, e === "style" ? cf(i) : i), af = /;(?!([^()]*\([^()]*\))*[^()]*\))/, cf = (t) => t.split(af).filter((e) => e).map((e) => e + " !important").join(";");
|
|
4617
|
+
function uf(t) {
|
|
4615
4618
|
let e, i;
|
|
4616
|
-
return e = new
|
|
4619
|
+
return e = new tf({
|
|
4617
4620
|
props: {
|
|
4618
4621
|
scale: (
|
|
4619
4622
|
/*scale*/
|
|
@@ -4650,9 +4653,9 @@ function cf(t) {
|
|
|
4650
4653
|
}
|
|
4651
4654
|
};
|
|
4652
4655
|
}
|
|
4653
|
-
function
|
|
4656
|
+
function df(t) {
|
|
4654
4657
|
let e, i;
|
|
4655
|
-
return e = new
|
|
4658
|
+
return e = new rf({
|
|
4656
4659
|
props: {
|
|
4657
4660
|
scale: (
|
|
4658
4661
|
/*scale*/
|
|
@@ -4689,9 +4692,9 @@ function uf(t) {
|
|
|
4689
4692
|
}
|
|
4690
4693
|
};
|
|
4691
4694
|
}
|
|
4692
|
-
function
|
|
4695
|
+
function gf(t) {
|
|
4693
4696
|
let e, i, n, s, o, l;
|
|
4694
|
-
const r = [
|
|
4697
|
+
const r = [df, uf], a = [];
|
|
4695
4698
|
function d(c, g) {
|
|
4696
4699
|
return (
|
|
4697
4700
|
/*isPlaying*/
|
|
@@ -4755,7 +4758,7 @@ function df(t) {
|
|
|
4755
4758
|
}
|
|
4756
4759
|
};
|
|
4757
4760
|
}
|
|
4758
|
-
function
|
|
4761
|
+
function ff(t, e, i) {
|
|
4759
4762
|
let n, { isPlaying: s = !1 } = e, { tabindex: o = 0 } = e, { scale: l = 1 } = e, { color: r = "#323232" } = e, { onEvent: a = () => {
|
|
4760
4763
|
} } = e;
|
|
4761
4764
|
const d = (c) => {
|
|
@@ -4774,9 +4777,9 @@ function gf(t, e, i) {
|
|
|
4774
4777
|
1 && i(4, n = Bt(s ? "pauseAudio" : "playAudio"));
|
|
4775
4778
|
}, [s, o, l, r, n, d, a];
|
|
4776
4779
|
}
|
|
4777
|
-
class
|
|
4780
|
+
class hf extends pe {
|
|
4778
4781
|
constructor(e) {
|
|
4779
|
-
super(), ke(this, e,
|
|
4782
|
+
super(), ke(this, e, ff, gf, be, {
|
|
4780
4783
|
isPlaying: 0,
|
|
4781
4784
|
tabindex: 1,
|
|
4782
4785
|
scale: 2,
|
|
@@ -4815,8 +4818,8 @@ class ff extends pe {
|
|
|
4815
4818
|
this.$$set({ onEvent: e }), u();
|
|
4816
4819
|
}
|
|
4817
4820
|
}
|
|
4818
|
-
const an = (t, e, i) => Ut(t, e, i, 1), Cs = (t, e, i) => Pe(t, e, e === "style" ?
|
|
4819
|
-
function
|
|
4821
|
+
const an = (t, e, i) => Ut(t, e, i, 1), Cs = (t, e, i) => Pe(t, e, e === "style" ? mf(i) : i), _f = /;(?!([^()]*\([^()]*\))*[^()]*\))/, mf = (t) => t.split(_f).filter((e) => e).map((e) => e + " !important").join(";");
|
|
4822
|
+
function vf(t) {
|
|
4820
4823
|
let e, i, n, s, o, l;
|
|
4821
4824
|
return {
|
|
4822
4825
|
c() {
|
|
@@ -4901,7 +4904,7 @@ function mf(t) {
|
|
|
4901
4904
|
}
|
|
4902
4905
|
};
|
|
4903
4906
|
}
|
|
4904
|
-
function
|
|
4907
|
+
function yf(t, e, i) {
|
|
4905
4908
|
let n, s, { rate: o = 1 } = e, { scale: l = 1 } = e, { color: r = "#323232" } = e, { onEvent: a = () => {
|
|
4906
4909
|
} } = e;
|
|
4907
4910
|
const d = () => {
|
|
@@ -4926,9 +4929,9 @@ function vf(t, e, i) {
|
|
|
4926
4929
|
64 && i(2, s = `${12 * l}px`);
|
|
4927
4930
|
}, [o, r, s, n, d, c, l, a];
|
|
4928
4931
|
}
|
|
4929
|
-
class
|
|
4932
|
+
class bf extends pe {
|
|
4930
4933
|
constructor(e) {
|
|
4931
|
-
super(), ke(this, e,
|
|
4934
|
+
super(), ke(this, e, yf, vf, be, { rate: 0, scale: 6, color: 1, onEvent: 7 });
|
|
4932
4935
|
}
|
|
4933
4936
|
get rate() {
|
|
4934
4937
|
return this.$$.ctx[0];
|
|
@@ -4955,8 +4958,8 @@ class yf extends pe {
|
|
|
4955
4958
|
this.$$set({ onEvent: e }), u();
|
|
4956
4959
|
}
|
|
4957
4960
|
}
|
|
4958
|
-
const Yt = (t, e, i) => Pe(t, e, e === "style" ?
|
|
4959
|
-
function
|
|
4961
|
+
const Yt = (t, e, i) => Pe(t, e, e === "style" ? pf(i) : i), kf = /;(?!([^()]*\([^()]*\))*[^()]*\))/, pf = (t) => t.split(kf).filter((e) => e).map((e) => e + " !important").join(";");
|
|
4962
|
+
function Sf(t) {
|
|
4960
4963
|
let e, i, n, s, o, l;
|
|
4961
4964
|
return {
|
|
4962
4965
|
c() {
|
|
@@ -5011,15 +5014,15 @@ function pf(t) {
|
|
|
5011
5014
|
}
|
|
5012
5015
|
};
|
|
5013
5016
|
}
|
|
5014
|
-
function
|
|
5017
|
+
function wf(t, e, i) {
|
|
5015
5018
|
let { scale: n = 1 } = e, { color: s = "#323232" } = e, { seconds: o = 10 } = e;
|
|
5016
5019
|
return t.$$set = (l) => {
|
|
5017
5020
|
"scale" in l && i(0, n = l.scale), "color" in l && i(1, s = l.color), "seconds" in l && i(2, o = l.seconds);
|
|
5018
5021
|
}, [n, s, o];
|
|
5019
5022
|
}
|
|
5020
|
-
class
|
|
5023
|
+
class Pf extends pe {
|
|
5021
5024
|
constructor(e) {
|
|
5022
|
-
super(), ke(this, e,
|
|
5025
|
+
super(), ke(this, e, wf, Sf, be, { scale: 0, color: 1, seconds: 2 });
|
|
5023
5026
|
}
|
|
5024
5027
|
get scale() {
|
|
5025
5028
|
return this.$$.ctx[0];
|
|
@@ -5040,8 +5043,8 @@ class wf extends pe {
|
|
|
5040
5043
|
this.$$set({ seconds: e }), u();
|
|
5041
5044
|
}
|
|
5042
5045
|
}
|
|
5043
|
-
const Mi = (t, e, i) => Pe(t, e, e === "style" ?
|
|
5044
|
-
function
|
|
5046
|
+
const Mi = (t, e, i) => Pe(t, e, e === "style" ? Cf(i) : i), Tf = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Cf = (t) => t.split(Tf).filter((e) => e).map((e) => e + " !important").join(";");
|
|
5047
|
+
function Af(t) {
|
|
5045
5048
|
let e, i, n, s;
|
|
5046
5049
|
return {
|
|
5047
5050
|
c() {
|
|
@@ -5077,15 +5080,15 @@ function Cf(t) {
|
|
|
5077
5080
|
}
|
|
5078
5081
|
};
|
|
5079
5082
|
}
|
|
5080
|
-
function
|
|
5083
|
+
function Bf(t, e, i) {
|
|
5081
5084
|
let { scale: n = 1 } = e, { color: s = "#323232" } = e;
|
|
5082
5085
|
return t.$$set = (o) => {
|
|
5083
5086
|
"scale" in o && i(0, n = o.scale), "color" in o && i(1, s = o.color);
|
|
5084
5087
|
}, [n, s];
|
|
5085
5088
|
}
|
|
5086
|
-
class
|
|
5089
|
+
class If extends pe {
|
|
5087
5090
|
constructor(e) {
|
|
5088
|
-
super(), ke(this, e,
|
|
5091
|
+
super(), ke(this, e, Bf, Af, be, { scale: 0, color: 1 });
|
|
5089
5092
|
}
|
|
5090
5093
|
get scale() {
|
|
5091
5094
|
return this.$$.ctx[0];
|
|
@@ -5100,8 +5103,8 @@ class Bf extends pe {
|
|
|
5100
5103
|
this.$$set({ color: e }), u();
|
|
5101
5104
|
}
|
|
5102
5105
|
}
|
|
5103
|
-
const yi = (t, e, i) => Pe(t, e, e === "style" ?
|
|
5104
|
-
function
|
|
5106
|
+
const yi = (t, e, i) => Pe(t, e, e === "style" ? Wf(i) : i), Vf = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Wf = (t) => t.split(Vf).filter((e) => e).map((e) => e + " !important").join(";");
|
|
5107
|
+
function jf(t) {
|
|
5105
5108
|
let e, i, n, s, o;
|
|
5106
5109
|
return {
|
|
5107
5110
|
c() {
|
|
@@ -5148,15 +5151,15 @@ function Wf(t) {
|
|
|
5148
5151
|
}
|
|
5149
5152
|
};
|
|
5150
5153
|
}
|
|
5151
|
-
function
|
|
5154
|
+
function Mf(t, e, i) {
|
|
5152
5155
|
let { scale: n = 1 } = e, { color: s = "#323232" } = e;
|
|
5153
5156
|
return t.$$set = (o) => {
|
|
5154
5157
|
"scale" in o && i(0, n = o.scale), "color" in o && i(1, s = o.color);
|
|
5155
5158
|
}, [n, s];
|
|
5156
5159
|
}
|
|
5157
|
-
class
|
|
5160
|
+
class Of extends pe {
|
|
5158
5161
|
constructor(e) {
|
|
5159
|
-
super(), ke(this, e,
|
|
5162
|
+
super(), ke(this, e, Mf, jf, be, { scale: 0, color: 1 });
|
|
5160
5163
|
}
|
|
5161
5164
|
get scale() {
|
|
5162
5165
|
return this.$$.ctx[0];
|
|
@@ -5171,10 +5174,10 @@ class Mf extends pe {
|
|
|
5171
5174
|
this.$$set({ color: e }), u();
|
|
5172
5175
|
}
|
|
5173
5176
|
}
|
|
5174
|
-
const As = (t, e, i) => Pe(t, e, e === "style" ?
|
|
5175
|
-
function
|
|
5177
|
+
const As = (t, e, i) => Pe(t, e, e === "style" ? Ef(i) : i), zf = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Ef = (t) => t.split(zf).filter((e) => e).map((e) => e + " !important").join(";");
|
|
5178
|
+
function Lf(t) {
|
|
5176
5179
|
let e, i;
|
|
5177
|
-
return e = new
|
|
5180
|
+
return e = new Of({
|
|
5178
5181
|
props: {
|
|
5179
5182
|
scale: (
|
|
5180
5183
|
/*scale*/
|
|
@@ -5211,9 +5214,9 @@ function Ef(t) {
|
|
|
5211
5214
|
}
|
|
5212
5215
|
};
|
|
5213
5216
|
}
|
|
5214
|
-
function
|
|
5217
|
+
function Nf(t) {
|
|
5215
5218
|
let e, i;
|
|
5216
|
-
return e = new
|
|
5219
|
+
return e = new If({
|
|
5217
5220
|
props: {
|
|
5218
5221
|
scale: (
|
|
5219
5222
|
/*scale*/
|
|
@@ -5250,9 +5253,9 @@ function Lf(t) {
|
|
|
5250
5253
|
}
|
|
5251
5254
|
};
|
|
5252
5255
|
}
|
|
5253
|
-
function
|
|
5256
|
+
function Df(t) {
|
|
5254
5257
|
let e, i;
|
|
5255
|
-
return e = new
|
|
5258
|
+
return e = new Pf({
|
|
5256
5259
|
props: {
|
|
5257
5260
|
seconds: (
|
|
5258
5261
|
/*backwardsSeconds*/
|
|
@@ -5295,9 +5298,9 @@ function Nf(t) {
|
|
|
5295
5298
|
}
|
|
5296
5299
|
};
|
|
5297
5300
|
}
|
|
5298
|
-
function
|
|
5301
|
+
function xf(t) {
|
|
5299
5302
|
let e, i, n, s, o, l;
|
|
5300
|
-
const r = [Nf, Lf
|
|
5303
|
+
const r = [Df, Nf, Lf], a = [];
|
|
5301
5304
|
function d(c, g) {
|
|
5302
5305
|
return (
|
|
5303
5306
|
/*isSeconds*/
|
|
@@ -5353,7 +5356,7 @@ function Df(t) {
|
|
|
5353
5356
|
}
|
|
5354
5357
|
};
|
|
5355
5358
|
}
|
|
5356
|
-
function
|
|
5359
|
+
function Rf(t, e, i) {
|
|
5357
5360
|
let n, s, o, l, { style: r = "segments" } = e, { scale: a = 1 } = e, { color: d = "#323232" } = e, { onEvent: c = () => {
|
|
5358
5361
|
} } = e, g;
|
|
5359
5362
|
const v = () => {
|
|
@@ -5386,9 +5389,9 @@ function xf(t, e, i) {
|
|
|
5386
5389
|
c
|
|
5387
5390
|
];
|
|
5388
5391
|
}
|
|
5389
|
-
class
|
|
5392
|
+
class Uf extends pe {
|
|
5390
5393
|
constructor(e) {
|
|
5391
|
-
super(), ke(this, e,
|
|
5394
|
+
super(), ke(this, e, Rf, xf, be, { style: 8, scale: 0, color: 1, onEvent: 9 });
|
|
5392
5395
|
}
|
|
5393
5396
|
get style() {
|
|
5394
5397
|
return this.$$.ctx[8];
|
|
@@ -5415,8 +5418,8 @@ class Rf extends pe {
|
|
|
5415
5418
|
this.$$set({ onEvent: e }), u();
|
|
5416
5419
|
}
|
|
5417
5420
|
}
|
|
5418
|
-
const Zt = (t, e, i) => Pe(t, e, e === "style" ?
|
|
5419
|
-
function
|
|
5421
|
+
const Zt = (t, e, i) => Pe(t, e, e === "style" ? qf(i) : i), Ff = /;(?!([^()]*\([^()]*\))*[^()]*\))/, qf = (t) => t.split(Ff).filter((e) => e).map((e) => e + " !important").join(";");
|
|
5422
|
+
function Hf(t) {
|
|
5420
5423
|
let e, i, n, s, o, l;
|
|
5421
5424
|
return {
|
|
5422
5425
|
c() {
|
|
@@ -5471,15 +5474,15 @@ function qf(t) {
|
|
|
5471
5474
|
}
|
|
5472
5475
|
};
|
|
5473
5476
|
}
|
|
5474
|
-
function
|
|
5477
|
+
function Yf(t, e, i) {
|
|
5475
5478
|
let { scale: n = 1 } = e, { color: s = "#323232" } = e, { seconds: o = 10 } = e;
|
|
5476
5479
|
return t.$$set = (l) => {
|
|
5477
5480
|
"scale" in l && i(0, n = l.scale), "color" in l && i(1, s = l.color), "seconds" in l && i(2, o = l.seconds);
|
|
5478
5481
|
}, [n, s, o];
|
|
5479
5482
|
}
|
|
5480
|
-
class
|
|
5483
|
+
class Zf extends pe {
|
|
5481
5484
|
constructor(e) {
|
|
5482
|
-
super(), ke(this, e,
|
|
5485
|
+
super(), ke(this, e, Yf, Hf, be, { scale: 0, color: 1, seconds: 2 });
|
|
5483
5486
|
}
|
|
5484
5487
|
get scale() {
|
|
5485
5488
|
return this.$$.ctx[0];
|
|
@@ -5500,8 +5503,8 @@ class Yf extends pe {
|
|
|
5500
5503
|
this.$$set({ seconds: e }), u();
|
|
5501
5504
|
}
|
|
5502
5505
|
}
|
|
5503
|
-
const Oi = (t, e, i) => Pe(t, e, e === "style" ?
|
|
5504
|
-
function
|
|
5506
|
+
const Oi = (t, e, i) => Pe(t, e, e === "style" ? Jf(i) : i), Kf = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Jf = (t) => t.split(Kf).filter((e) => e).map((e) => e + " !important").join(";");
|
|
5507
|
+
function Gf(t) {
|
|
5505
5508
|
let e, i, n, s;
|
|
5506
5509
|
return {
|
|
5507
5510
|
c() {
|
|
@@ -5537,15 +5540,15 @@ function Jf(t) {
|
|
|
5537
5540
|
}
|
|
5538
5541
|
};
|
|
5539
5542
|
}
|
|
5540
|
-
function
|
|
5543
|
+
function Xf(t, e, i) {
|
|
5541
5544
|
let { scale: n = 1 } = e, { color: s = "#323232" } = e;
|
|
5542
5545
|
return t.$$set = (o) => {
|
|
5543
5546
|
"scale" in o && i(0, n = o.scale), "color" in o && i(1, s = o.color);
|
|
5544
5547
|
}, [n, s];
|
|
5545
5548
|
}
|
|
5546
|
-
class
|
|
5549
|
+
class Qf extends pe {
|
|
5547
5550
|
constructor(e) {
|
|
5548
|
-
super(), ke(this, e,
|
|
5551
|
+
super(), ke(this, e, Xf, Gf, be, { scale: 0, color: 1 });
|
|
5549
5552
|
}
|
|
5550
5553
|
get scale() {
|
|
5551
5554
|
return this.$$.ctx[0];
|
|
@@ -5560,8 +5563,8 @@ class Xf extends pe {
|
|
|
5560
5563
|
this.$$set({ color: e }), u();
|
|
5561
5564
|
}
|
|
5562
5565
|
}
|
|
5563
|
-
const bi = (t, e, i) => Pe(t, e, e === "style" ?
|
|
5564
|
-
function
|
|
5566
|
+
const bi = (t, e, i) => Pe(t, e, e === "style" ? eh(i) : i), $f = /;(?!([^()]*\([^()]*\))*[^()]*\))/, eh = (t) => t.split($f).filter((e) => e).map((e) => e + " !important").join(";");
|
|
5567
|
+
function th(t) {
|
|
5565
5568
|
let e, i, n, s, o;
|
|
5566
5569
|
return {
|
|
5567
5570
|
c() {
|
|
@@ -5608,15 +5611,15 @@ function eh(t) {
|
|
|
5608
5611
|
}
|
|
5609
5612
|
};
|
|
5610
5613
|
}
|
|
5611
|
-
function
|
|
5614
|
+
function ih(t, e, i) {
|
|
5612
5615
|
let { scale: n = 1 } = e, { color: s = "#323232" } = e;
|
|
5613
5616
|
return t.$$set = (o) => {
|
|
5614
5617
|
"scale" in o && i(0, n = o.scale), "color" in o && i(1, s = o.color);
|
|
5615
5618
|
}, [n, s];
|
|
5616
5619
|
}
|
|
5617
|
-
class
|
|
5620
|
+
class nh extends pe {
|
|
5618
5621
|
constructor(e) {
|
|
5619
|
-
super(), ke(this, e,
|
|
5622
|
+
super(), ke(this, e, ih, th, be, { scale: 0, color: 1 });
|
|
5620
5623
|
}
|
|
5621
5624
|
get scale() {
|
|
5622
5625
|
return this.$$.ctx[0];
|
|
@@ -5631,10 +5634,10 @@ class ih extends pe {
|
|
|
5631
5634
|
this.$$set({ color: e }), u();
|
|
5632
5635
|
}
|
|
5633
5636
|
}
|
|
5634
|
-
const Bs = (t, e, i) => Pe(t, e, e === "style" ?
|
|
5635
|
-
function
|
|
5637
|
+
const Bs = (t, e, i) => Pe(t, e, e === "style" ? oh(i) : i), sh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, oh = (t) => t.split(sh).filter((e) => e).map((e) => e + " !important").join(";");
|
|
5638
|
+
function lh(t) {
|
|
5636
5639
|
let e, i;
|
|
5637
|
-
return e = new
|
|
5640
|
+
return e = new nh({
|
|
5638
5641
|
props: {
|
|
5639
5642
|
scale: (
|
|
5640
5643
|
/*scale*/
|
|
@@ -5671,9 +5674,9 @@ function oh(t) {
|
|
|
5671
5674
|
}
|
|
5672
5675
|
};
|
|
5673
5676
|
}
|
|
5674
|
-
function
|
|
5677
|
+
function rh(t) {
|
|
5675
5678
|
let e, i;
|
|
5676
|
-
return e = new
|
|
5679
|
+
return e = new Qf({
|
|
5677
5680
|
props: {
|
|
5678
5681
|
scale: (
|
|
5679
5682
|
/*scale*/
|
|
@@ -5710,9 +5713,9 @@ function lh(t) {
|
|
|
5710
5713
|
}
|
|
5711
5714
|
};
|
|
5712
5715
|
}
|
|
5713
|
-
function
|
|
5716
|
+
function ah(t) {
|
|
5714
5717
|
let e, i;
|
|
5715
|
-
return e = new
|
|
5718
|
+
return e = new Zf({
|
|
5716
5719
|
props: {
|
|
5717
5720
|
seconds: (
|
|
5718
5721
|
/*forwardsSeconds*/
|
|
@@ -5755,9 +5758,9 @@ function rh(t) {
|
|
|
5755
5758
|
}
|
|
5756
5759
|
};
|
|
5757
5760
|
}
|
|
5758
|
-
function
|
|
5761
|
+
function ch(t) {
|
|
5759
5762
|
let e, i, n, s, o, l;
|
|
5760
|
-
const r = [rh, lh
|
|
5763
|
+
const r = [ah, rh, lh], a = [];
|
|
5761
5764
|
function d(c, g) {
|
|
5762
5765
|
return (
|
|
5763
5766
|
/*isSeconds*/
|
|
@@ -5813,7 +5816,7 @@ function ah(t) {
|
|
|
5813
5816
|
}
|
|
5814
5817
|
};
|
|
5815
5818
|
}
|
|
5816
|
-
function
|
|
5819
|
+
function uh(t, e, i) {
|
|
5817
5820
|
let n, s, o, l, r, { style: a = "segments" } = e, { scale: d = 1 } = e, { color: c = "#323232" } = e, { onEvent: g = () => {
|
|
5818
5821
|
} } = e, v;
|
|
5819
5822
|
const m = () => {
|
|
@@ -5848,9 +5851,9 @@ function ch(t, e, i) {
|
|
|
5848
5851
|
n
|
|
5849
5852
|
];
|
|
5850
5853
|
}
|
|
5851
|
-
class
|
|
5854
|
+
class dh extends pe {
|
|
5852
5855
|
constructor(e) {
|
|
5853
|
-
super(), ke(this, e,
|
|
5856
|
+
super(), ke(this, e, uh, ch, be, { style: 8, scale: 0, color: 1, onEvent: 9 });
|
|
5854
5857
|
}
|
|
5855
5858
|
get style() {
|
|
5856
5859
|
return this.$$.ctx[8];
|
|
@@ -5877,8 +5880,8 @@ class uh extends pe {
|
|
|
5877
5880
|
this.$$set({ onEvent: e }), u();
|
|
5878
5881
|
}
|
|
5879
5882
|
}
|
|
5880
|
-
const di = (t, e, i) => Pe(t, e, e === "style" ?
|
|
5881
|
-
function
|
|
5883
|
+
const di = (t, e, i) => Pe(t, e, e === "style" ? fh(i) : i), gh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, fh = (t) => t.split(gh).filter((e) => e).map((e) => e + " !important").join(";");
|
|
5884
|
+
function hh(t) {
|
|
5882
5885
|
let e, i, n, s, o, l;
|
|
5883
5886
|
return {
|
|
5884
5887
|
c() {
|
|
@@ -5925,15 +5928,15 @@ function fh(t) {
|
|
|
5925
5928
|
}
|
|
5926
5929
|
};
|
|
5927
5930
|
}
|
|
5928
|
-
function
|
|
5931
|
+
function _h(t, e, i) {
|
|
5929
5932
|
let { scale: n = 1 } = e, { color: s = "#323232" } = e;
|
|
5930
5933
|
return t.$$set = (o) => {
|
|
5931
5934
|
"scale" in o && i(0, n = o.scale), "color" in o && i(1, s = o.color);
|
|
5932
5935
|
}, [n, s];
|
|
5933
5936
|
}
|
|
5934
|
-
class
|
|
5937
|
+
class mh extends pe {
|
|
5935
5938
|
constructor(e) {
|
|
5936
|
-
super(), ke(this, e,
|
|
5939
|
+
super(), ke(this, e, _h, hh, be, { scale: 0, color: 1 });
|
|
5937
5940
|
}
|
|
5938
5941
|
get scale() {
|
|
5939
5942
|
return this.$$.ctx[0];
|
|
@@ -5948,8 +5951,8 @@ class _h extends pe {
|
|
|
5948
5951
|
this.$$set({ color: e }), u();
|
|
5949
5952
|
}
|
|
5950
5953
|
}
|
|
5951
|
-
const gi = (t, e, i) => Pe(t, e, e === "style" ?
|
|
5952
|
-
function
|
|
5954
|
+
const gi = (t, e, i) => Pe(t, e, e === "style" ? yh(i) : i), vh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, yh = (t) => t.split(vh).filter((e) => e).map((e) => e + " !important").join(";");
|
|
5955
|
+
function bh(t) {
|
|
5953
5956
|
let e, i, n, s, o, l;
|
|
5954
5957
|
return {
|
|
5955
5958
|
c() {
|
|
@@ -5996,15 +5999,15 @@ function yh(t) {
|
|
|
5996
5999
|
}
|
|
5997
6000
|
};
|
|
5998
6001
|
}
|
|
5999
|
-
function
|
|
6002
|
+
function kh(t, e, i) {
|
|
6000
6003
|
let { scale: n = 1 } = e, { color: s = "#323232" } = e;
|
|
6001
6004
|
return t.$$set = (o) => {
|
|
6002
6005
|
"scale" in o && i(0, n = o.scale), "color" in o && i(1, s = o.color);
|
|
6003
6006
|
}, [n, s];
|
|
6004
6007
|
}
|
|
6005
|
-
class
|
|
6008
|
+
class ph extends pe {
|
|
6006
6009
|
constructor(e) {
|
|
6007
|
-
super(), ke(this, e,
|
|
6010
|
+
super(), ke(this, e, kh, bh, be, { scale: 0, color: 1 });
|
|
6008
6011
|
}
|
|
6009
6012
|
get scale() {
|
|
6010
6013
|
return this.$$.ctx[0];
|
|
@@ -6019,10 +6022,10 @@ class kh extends pe {
|
|
|
6019
6022
|
this.$$set({ color: e }), u();
|
|
6020
6023
|
}
|
|
6021
6024
|
}
|
|
6022
|
-
const kl = (t, e, i) => Ut(t, e, i, 1), Is = (t, e, i) => Pe(t, e, e === "style" ?
|
|
6023
|
-
function
|
|
6025
|
+
const kl = (t, e, i) => Ut(t, e, i, 1), Is = (t, e, i) => Pe(t, e, e === "style" ? wh(i) : i), Sh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, wh = (t) => t.split(Sh).filter((e) => e).map((e) => e + " !important").join(";");
|
|
6026
|
+
function Ph(t) {
|
|
6024
6027
|
let e, i;
|
|
6025
|
-
return e = new
|
|
6028
|
+
return e = new mh({
|
|
6026
6029
|
props: {
|
|
6027
6030
|
scale: (
|
|
6028
6031
|
/*scale*/
|
|
@@ -6059,9 +6062,9 @@ function wh(t) {
|
|
|
6059
6062
|
}
|
|
6060
6063
|
};
|
|
6061
6064
|
}
|
|
6062
|
-
function
|
|
6065
|
+
function Th(t) {
|
|
6063
6066
|
let e, i;
|
|
6064
|
-
return e = new
|
|
6067
|
+
return e = new ph({
|
|
6065
6068
|
props: {
|
|
6066
6069
|
scale: (
|
|
6067
6070
|
/*scale*/
|
|
@@ -6098,9 +6101,9 @@ function Ph(t) {
|
|
|
6098
6101
|
}
|
|
6099
6102
|
};
|
|
6100
6103
|
}
|
|
6101
|
-
function
|
|
6104
|
+
function Ch(t) {
|
|
6102
6105
|
let e, i, n, s, o, l, r;
|
|
6103
|
-
const a = [
|
|
6106
|
+
const a = [Th, Ph], d = [];
|
|
6104
6107
|
function c(g, v) {
|
|
6105
6108
|
return (
|
|
6106
6109
|
/*playlistShowing*/
|
|
@@ -6145,7 +6148,7 @@ function Th(t) {
|
|
|
6145
6148
|
}
|
|
6146
6149
|
};
|
|
6147
6150
|
}
|
|
6148
|
-
function
|
|
6151
|
+
function Ah(t, e, i) {
|
|
6149
6152
|
let { playlistShowing: n } = e, { playerStyle: s } = e, { scale: o = 1 } = e, { color: l = "#323232" } = e, { onEvent: r = () => {
|
|
6150
6153
|
} } = e;
|
|
6151
6154
|
const a = () => {
|
|
@@ -6159,9 +6162,9 @@ function Ch(t, e, i) {
|
|
|
6159
6162
|
"playlistShowing" in d && i(0, n = d.playlistShowing), "playerStyle" in d && i(1, s = d.playerStyle), "scale" in d && i(2, o = d.scale), "color" in d && i(3, l = d.color), "onEvent" in d && i(5, r = d.onEvent);
|
|
6160
6163
|
}, [n, s, o, l, a, r];
|
|
6161
6164
|
}
|
|
6162
|
-
class
|
|
6165
|
+
class Bh extends pe {
|
|
6163
6166
|
constructor(e) {
|
|
6164
|
-
super(), ke(this, e,
|
|
6167
|
+
super(), ke(this, e, Ah, Ch, be, {
|
|
6165
6168
|
playlistShowing: 0,
|
|
6166
6169
|
playerStyle: 1,
|
|
6167
6170
|
scale: 2,
|
|
@@ -6200,8 +6203,8 @@ class Ah extends pe {
|
|
|
6200
6203
|
this.$$set({ onEvent: e }), u();
|
|
6201
6204
|
}
|
|
6202
6205
|
}
|
|
6203
|
-
const pl = (t, e, i) => Ut(t, e, i, 1), Sl = (t, e, i) => Pe(t, e, e === "style" ?
|
|
6204
|
-
function
|
|
6206
|
+
const pl = (t, e, i) => Ut(t, e, i, 1), Sl = (t, e, i) => Pe(t, e, e === "style" ? Vh(i) : i), Ih = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Vh = (t) => t.split(Ih).filter((e) => e).map((e) => e + " !important").join(";");
|
|
6207
|
+
function Wh(t) {
|
|
6205
6208
|
let e, i, n;
|
|
6206
6209
|
const s = (
|
|
6207
6210
|
/*#slots*/
|
|
@@ -6301,7 +6304,7 @@ function Vh(t) {
|
|
|
6301
6304
|
}
|
|
6302
6305
|
};
|
|
6303
6306
|
}
|
|
6304
|
-
function
|
|
6307
|
+
function jh(t, e, i) {
|
|
6305
6308
|
let { $$slots: n = {}, $$scope: s } = e, { playerStyle: o } = e, { isMobile: l } = e, { isAdvert: r } = e, { fixedPosition: a } = e, { scale: d } = e, { controlsOrder: c } = e;
|
|
6306
6309
|
return t.$$set = (g) => {
|
|
6307
6310
|
"playerStyle" in g && i(0, o = g.playerStyle), "isMobile" in g && i(1, l = g.isMobile), "isAdvert" in g && i(2, r = g.isAdvert), "fixedPosition" in g && i(3, a = g.fixedPosition), "scale" in g && i(4, d = g.scale), "controlsOrder" in g && i(5, c = g.controlsOrder), "$$scope" in g && i(6, s = g.$$scope);
|
|
@@ -6316,9 +6319,9 @@ function Wh(t, e, i) {
|
|
|
6316
6319
|
n
|
|
6317
6320
|
];
|
|
6318
6321
|
}
|
|
6319
|
-
class
|
|
6322
|
+
class Mh extends pe {
|
|
6320
6323
|
constructor(e) {
|
|
6321
|
-
super(), ke(this, e,
|
|
6324
|
+
super(), ke(this, e, jh, Wh, be, {
|
|
6322
6325
|
playerStyle: 0,
|
|
6323
6326
|
isMobile: 1,
|
|
6324
6327
|
isAdvert: 2,
|
|
@@ -6364,8 +6367,8 @@ class jh extends pe {
|
|
|
6364
6367
|
this.$$set({ controlsOrder: e }), u();
|
|
6365
6368
|
}
|
|
6366
6369
|
}
|
|
6367
|
-
const zi = (t, e, i) => Pe(t, e, e === "style" ?
|
|
6368
|
-
function
|
|
6370
|
+
const zi = (t, e, i) => Pe(t, e, e === "style" ? zh(i) : i), Oh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, zh = (t) => t.split(Oh).filter((e) => e).map((e) => e + " !important").join(";");
|
|
6371
|
+
function Eh(t) {
|
|
6369
6372
|
let e, i, n, s;
|
|
6370
6373
|
return {
|
|
6371
6374
|
c() {
|
|
@@ -6401,15 +6404,15 @@ function zh(t) {
|
|
|
6401
6404
|
}
|
|
6402
6405
|
};
|
|
6403
6406
|
}
|
|
6404
|
-
function
|
|
6407
|
+
function Lh(t, e, i) {
|
|
6405
6408
|
let { scale: n = 1 } = e, { color: s = "#323232" } = e;
|
|
6406
6409
|
return t.$$set = (o) => {
|
|
6407
6410
|
"scale" in o && i(0, n = o.scale), "color" in o && i(1, s = o.color);
|
|
6408
6411
|
}, [n, s];
|
|
6409
6412
|
}
|
|
6410
|
-
class
|
|
6413
|
+
class Nh extends pe {
|
|
6411
6414
|
constructor(e) {
|
|
6412
|
-
super(), ke(this, e,
|
|
6415
|
+
super(), ke(this, e, Lh, Eh, be, { scale: 0, color: 1 });
|
|
6413
6416
|
}
|
|
6414
6417
|
get scale() {
|
|
6415
6418
|
return this.$$.ctx[0];
|
|
@@ -6424,10 +6427,10 @@ class Lh extends pe {
|
|
|
6424
6427
|
this.$$set({ color: e }), u();
|
|
6425
6428
|
}
|
|
6426
6429
|
}
|
|
6427
|
-
const Vs = (t, e, i) => Ut(t, e, i, 1), Co = (t, e, i) => Pe(t, e, e === "style" ?
|
|
6430
|
+
const Vs = (t, e, i) => Ut(t, e, i, 1), Co = (t, e, i) => Pe(t, e, e === "style" ? xh(i) : i), Dh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, xh = (t) => t.split(Dh).filter((e) => e).map((e) => e + " !important").join(";");
|
|
6428
6431
|
function wl(t) {
|
|
6429
6432
|
let e, i, n, s, o;
|
|
6430
|
-
return i = new
|
|
6433
|
+
return i = new Nh({
|
|
6431
6434
|
props: {
|
|
6432
6435
|
scale: (
|
|
6433
6436
|
/*scale*/
|
|
@@ -6486,7 +6489,7 @@ function wl(t) {
|
|
|
6486
6489
|
}
|
|
6487
6490
|
};
|
|
6488
6491
|
}
|
|
6489
|
-
function
|
|
6492
|
+
function Rh(t) {
|
|
6490
6493
|
let e, i, n = (
|
|
6491
6494
|
/*audioIndex*/
|
|
6492
6495
|
(t[3] !== -1 || /*videoIndex*/
|
|
@@ -6518,7 +6521,7 @@ function xh(t) {
|
|
|
6518
6521
|
}
|
|
6519
6522
|
};
|
|
6520
6523
|
}
|
|
6521
|
-
function
|
|
6524
|
+
function Uh(t, e, i) {
|
|
6522
6525
|
let { downloadFormats: n } = e, { contentIndex: s } = e, { audio: o } = e, { video: l } = e, { scale: r = 1 } = e, { color: a = "#323232" } = e, { padding: d = 0 } = e, { isVisible: c } = e, { onEvent: g = () => {
|
|
6523
6526
|
} } = e;
|
|
6524
6527
|
const v = (y, C, V) => {
|
|
@@ -6567,7 +6570,7 @@ function Rh(t, e, i) {
|
|
|
6567
6570
|
}
|
|
6568
6571
|
class Mr extends pe {
|
|
6569
6572
|
constructor(e) {
|
|
6570
|
-
super(), ke(this, e,
|
|
6573
|
+
super(), ke(this, e, Uh, Rh, be, {
|
|
6571
6574
|
downloadFormats: 7,
|
|
6572
6575
|
contentIndex: 8,
|
|
6573
6576
|
audio: 9,
|
|
@@ -6634,8 +6637,8 @@ class Mr extends pe {
|
|
|
6634
6637
|
this.$$set({ onEvent: e }), u();
|
|
6635
6638
|
}
|
|
6636
6639
|
}
|
|
6637
|
-
const Ei = (t, e, i) => Pe(t, e, e === "style" ?
|
|
6638
|
-
function
|
|
6640
|
+
const Ei = (t, e, i) => Pe(t, e, e === "style" ? qh(i) : i), Fh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, qh = (t) => t.split(Fh).filter((e) => e).map((e) => e + " !important").join(";");
|
|
6641
|
+
function Hh(t) {
|
|
6639
6642
|
let e, i, n, s;
|
|
6640
6643
|
return {
|
|
6641
6644
|
c() {
|
|
@@ -6671,15 +6674,15 @@ function qh(t) {
|
|
|
6671
6674
|
}
|
|
6672
6675
|
};
|
|
6673
6676
|
}
|
|
6674
|
-
function
|
|
6677
|
+
function Yh(t, e, i) {
|
|
6675
6678
|
let { scale: n = 1 } = e, { color: s = "#323232" } = e;
|
|
6676
6679
|
return t.$$set = (o) => {
|
|
6677
6680
|
"scale" in o && i(0, n = o.scale), "color" in o && i(1, s = o.color);
|
|
6678
6681
|
}, [n, s];
|
|
6679
6682
|
}
|
|
6680
|
-
class
|
|
6683
|
+
class Zh extends pe {
|
|
6681
6684
|
constructor(e) {
|
|
6682
|
-
super(), ke(this, e,
|
|
6685
|
+
super(), ke(this, e, Yh, Hh, be, { scale: 0, color: 1 });
|
|
6683
6686
|
}
|
|
6684
6687
|
get scale() {
|
|
6685
6688
|
return this.$$.ctx[0];
|
|
@@ -6694,10 +6697,10 @@ class Yh extends pe {
|
|
|
6694
6697
|
this.$$set({ color: e }), u();
|
|
6695
6698
|
}
|
|
6696
6699
|
}
|
|
6697
|
-
const Pl = (t, e, i) => Ut(t, e, i, 1), Ao = (t, e, i) => Pe(t, e, e === "style" ?
|
|
6698
|
-
function
|
|
6700
|
+
const Pl = (t, e, i) => Ut(t, e, i, 1), Ao = (t, e, i) => Pe(t, e, e === "style" ? Jh(i) : i), Kh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Jh = (t) => t.split(Kh).filter((e) => e).map((e) => e + " !important").join(";");
|
|
6701
|
+
function Gh(t) {
|
|
6699
6702
|
let e, i, n, s, o;
|
|
6700
|
-
return i = new
|
|
6703
|
+
return i = new Zh({
|
|
6701
6704
|
props: {
|
|
6702
6705
|
scale: (
|
|
6703
6706
|
/*scale*/
|
|
@@ -6745,7 +6748,7 @@ function Jh(t) {
|
|
|
6745
6748
|
}
|
|
6746
6749
|
};
|
|
6747
6750
|
}
|
|
6748
|
-
function
|
|
6751
|
+
function Xh(t, e, i) {
|
|
6749
6752
|
let { scale: n = 1 } = e, { color: s = "#323232" } = e, { onEvent: o = () => {
|
|
6750
6753
|
} } = e;
|
|
6751
6754
|
const l = () => {
|
|
@@ -6759,9 +6762,9 @@ function Gh(t, e, i) {
|
|
|
6759
6762
|
"scale" in r && i(0, n = r.scale), "color" in r && i(1, s = r.color), "onEvent" in r && i(3, o = r.onEvent);
|
|
6760
6763
|
}, [n, s, l, o];
|
|
6761
6764
|
}
|
|
6762
|
-
class
|
|
6765
|
+
class Qh extends pe {
|
|
6763
6766
|
constructor(e) {
|
|
6764
|
-
super(), ke(this, e,
|
|
6767
|
+
super(), ke(this, e, Xh, Gh, be, { scale: 0, color: 1, onEvent: 3 });
|
|
6765
6768
|
}
|
|
6766
6769
|
get scale() {
|
|
6767
6770
|
return this.$$.ctx[0];
|
|
@@ -6782,8 +6785,8 @@ class Xh extends pe {
|
|
|
6782
6785
|
this.$$set({ onEvent: e }), u();
|
|
6783
6786
|
}
|
|
6784
6787
|
}
|
|
6785
|
-
const Li = (t, e, i) => Pe(t, e, e === "style" ?
|
|
6786
|
-
function
|
|
6788
|
+
const Li = (t, e, i) => Pe(t, e, e === "style" ? e_(i) : i), $h = /;(?!([^()]*\([^()]*\))*[^()]*\))/, e_ = (t) => t.split($h).filter((e) => e).map((e) => e + " !important").join(";");
|
|
6789
|
+
function t_(t) {
|
|
6787
6790
|
let e, i, n, s;
|
|
6788
6791
|
return {
|
|
6789
6792
|
c() {
|
|
@@ -6819,15 +6822,15 @@ function e_(t) {
|
|
|
6819
6822
|
}
|
|
6820
6823
|
};
|
|
6821
6824
|
}
|
|
6822
|
-
function
|
|
6825
|
+
function i_(t, e, i) {
|
|
6823
6826
|
let { scale: n = 1 } = e, { color: s = "#323232" } = e;
|
|
6824
6827
|
return t.$$set = (o) => {
|
|
6825
6828
|
"scale" in o && i(0, n = o.scale), "color" in o && i(1, s = o.color);
|
|
6826
6829
|
}, [n, s];
|
|
6827
6830
|
}
|
|
6828
|
-
class
|
|
6831
|
+
class n_ extends pe {
|
|
6829
6832
|
constructor(e) {
|
|
6830
|
-
super(), ke(this, e,
|
|
6833
|
+
super(), ke(this, e, i_, t_, be, { scale: 0, color: 1 });
|
|
6831
6834
|
}
|
|
6832
6835
|
get scale() {
|
|
6833
6836
|
return this.$$.ctx[0];
|
|
@@ -6842,10 +6845,10 @@ class i_ extends pe {
|
|
|
6842
6845
|
this.$$set({ color: e }), u();
|
|
6843
6846
|
}
|
|
6844
6847
|
}
|
|
6845
|
-
const Ws = (t, e, i) => Ut(t, e, i, 1), Bo = (t, e, i) => Pe(t, e, e === "style" ?
|
|
6846
|
-
function
|
|
6848
|
+
const Ws = (t, e, i) => Ut(t, e, i, 1), Bo = (t, e, i) => Pe(t, e, e === "style" ? o_(i) : i), s_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, o_ = (t) => t.split(s_).filter((e) => e).map((e) => e + " !important").join(";");
|
|
6849
|
+
function l_(t) {
|
|
6847
6850
|
let e, i, n, s, o;
|
|
6848
|
-
return i = new
|
|
6851
|
+
return i = new n_({
|
|
6849
6852
|
props: {
|
|
6850
6853
|
scale: (
|
|
6851
6854
|
/*scale*/
|
|
@@ -6904,7 +6907,7 @@ function o_(t) {
|
|
|
6904
6907
|
}
|
|
6905
6908
|
};
|
|
6906
6909
|
}
|
|
6907
|
-
function
|
|
6910
|
+
function r_(t, e, i) {
|
|
6908
6911
|
let { scale: n = 1 } = e, { color: s = "#323232" } = e, { margin: o = "auto" } = e, { onEvent: l = () => {
|
|
6909
6912
|
} } = e;
|
|
6910
6913
|
const r = () => {
|
|
@@ -6918,9 +6921,9 @@ function l_(t, e, i) {
|
|
|
6918
6921
|
"scale" in a && i(0, n = a.scale), "color" in a && i(1, s = a.color), "margin" in a && i(2, o = a.margin), "onEvent" in a && i(4, l = a.onEvent);
|
|
6919
6922
|
}, [n, s, o, r, l];
|
|
6920
6923
|
}
|
|
6921
|
-
class
|
|
6924
|
+
class a_ extends pe {
|
|
6922
6925
|
constructor(e) {
|
|
6923
|
-
super(), ke(this, e,
|
|
6926
|
+
super(), ke(this, e, r_, l_, be, {
|
|
6924
6927
|
scale: 0,
|
|
6925
6928
|
color: 1,
|
|
6926
6929
|
margin: 2,
|
|
@@ -6952,8 +6955,8 @@ class r_ extends pe {
|
|
|
6952
6955
|
this.$$set({ onEvent: e }), u();
|
|
6953
6956
|
}
|
|
6954
6957
|
}
|
|
6955
|
-
const Ui = (t, e, i) => Pe(t, e, e === "style" ?
|
|
6956
|
-
function
|
|
6958
|
+
const Ui = (t, e, i) => Pe(t, e, e === "style" ? u_(i) : i), c_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, u_ = (t) => t.split(c_).filter((e) => e).map((e) => e + " !important").join(";");
|
|
6959
|
+
function d_(t) {
|
|
6957
6960
|
let e, i, n, s;
|
|
6958
6961
|
return {
|
|
6959
6962
|
c() {
|
|
@@ -6989,15 +6992,15 @@ function u_(t) {
|
|
|
6989
6992
|
}
|
|
6990
6993
|
};
|
|
6991
6994
|
}
|
|
6992
|
-
function
|
|
6995
|
+
function g_(t, e, i) {
|
|
6993
6996
|
let { scale: n = 1 } = e, { color: s = "#323232" } = e;
|
|
6994
6997
|
return t.$$set = (o) => {
|
|
6995
6998
|
"scale" in o && i(0, n = o.scale), "color" in o && i(1, s = o.color);
|
|
6996
6999
|
}, [n, s];
|
|
6997
7000
|
}
|
|
6998
|
-
class
|
|
7001
|
+
class f_ extends pe {
|
|
6999
7002
|
constructor(e) {
|
|
7000
|
-
super(), ke(this, e,
|
|
7003
|
+
super(), ke(this, e, g_, d_, be, { scale: 0, color: 1 });
|
|
7001
7004
|
}
|
|
7002
7005
|
get scale() {
|
|
7003
7006
|
return this.$$.ctx[0];
|
|
@@ -7012,8 +7015,8 @@ class g_ extends pe {
|
|
|
7012
7015
|
this.$$set({ color: e }), u();
|
|
7013
7016
|
}
|
|
7014
7017
|
}
|
|
7015
|
-
const bn = (t, e, i) => Pe(t, e, e === "style" ?
|
|
7016
|
-
function
|
|
7018
|
+
const bn = (t, e, i) => Pe(t, e, e === "style" ? __(i) : i), h_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, __ = (t) => t.split(h_).filter((e) => e).map((e) => e + " !important").join(";");
|
|
7019
|
+
function m_(t) {
|
|
7017
7020
|
let e, i = (
|
|
7018
7021
|
/*text*/
|
|
7019
7022
|
(t[6] || "") + ""
|
|
@@ -7086,7 +7089,7 @@ function __(t) {
|
|
|
7086
7089
|
}
|
|
7087
7090
|
};
|
|
7088
7091
|
}
|
|
7089
|
-
function
|
|
7092
|
+
function v_(t, e, i) {
|
|
7090
7093
|
let n, s, { href: o } = e, { scale: l = 1 } = e, { color: r = "#323232" } = e, { playerStyle: a } = e, { controlsOrder: d } = e, { largeImage: c } = e, { isMobile: g } = e, { onEvent: v = () => {
|
|
7091
7094
|
} } = e;
|
|
7092
7095
|
const m = () => {
|
|
@@ -7116,9 +7119,9 @@ function m_(t, e, i) {
|
|
|
7116
7119
|
v
|
|
7117
7120
|
];
|
|
7118
7121
|
}
|
|
7119
|
-
class
|
|
7122
|
+
class y_ extends pe {
|
|
7120
7123
|
constructor(e) {
|
|
7121
|
-
super(), ke(this, e,
|
|
7124
|
+
super(), ke(this, e, v_, m_, be, {
|
|
7122
7125
|
href: 0,
|
|
7123
7126
|
scale: 8,
|
|
7124
7127
|
color: 9,
|
|
@@ -7178,8 +7181,8 @@ class v_ extends pe {
|
|
|
7178
7181
|
this.$$set({ onEvent: e }), u();
|
|
7179
7182
|
}
|
|
7180
7183
|
}
|
|
7181
|
-
const Mt = (t, e, i) => Pe(t, e, e === "style" ?
|
|
7182
|
-
function
|
|
7184
|
+
const Mt = (t, e, i) => Pe(t, e, e === "style" ? k_(i) : i), b_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, k_ = (t) => t.split(b_).filter((e) => e).map((e) => e + " !important").join(";");
|
|
7185
|
+
function p_(t) {
|
|
7183
7186
|
let e, i, n, s;
|
|
7184
7187
|
return {
|
|
7185
7188
|
c() {
|
|
@@ -7213,7 +7216,7 @@ function k_(t) {
|
|
|
7213
7216
|
}
|
|
7214
7217
|
};
|
|
7215
7218
|
}
|
|
7216
|
-
function
|
|
7219
|
+
function S_(t) {
|
|
7217
7220
|
let e, i, n, s;
|
|
7218
7221
|
return {
|
|
7219
7222
|
c() {
|
|
@@ -7247,12 +7250,12 @@ function p_(t) {
|
|
|
7247
7250
|
}
|
|
7248
7251
|
};
|
|
7249
7252
|
}
|
|
7250
|
-
function
|
|
7253
|
+
function w_(t) {
|
|
7251
7254
|
let e;
|
|
7252
7255
|
function i(o, l) {
|
|
7253
7256
|
return (
|
|
7254
7257
|
/*circular*/
|
|
7255
|
-
o[2] ?
|
|
7258
|
+
o[2] ? S_ : p_
|
|
7256
7259
|
);
|
|
7257
7260
|
}
|
|
7258
7261
|
let n = i(t), s = n(t);
|
|
@@ -7273,7 +7276,7 @@ function S_(t) {
|
|
|
7273
7276
|
}
|
|
7274
7277
|
};
|
|
7275
7278
|
}
|
|
7276
|
-
function
|
|
7279
|
+
function P_(t, e, i) {
|
|
7277
7280
|
let { scale: n = 1 } = e, { color: s = "#323232" } = e, { circular: o = !0 } = e;
|
|
7278
7281
|
return t.$$set = (l) => {
|
|
7279
7282
|
"scale" in l && i(0, n = l.scale), "color" in l && i(1, s = l.color), "circular" in l && i(2, o = l.circular);
|
|
@@ -7281,7 +7284,7 @@ function w_(t, e, i) {
|
|
|
7281
7284
|
}
|
|
7282
7285
|
class Or extends pe {
|
|
7283
7286
|
constructor(e) {
|
|
7284
|
-
super(), ke(this, e,
|
|
7287
|
+
super(), ke(this, e, P_, w_, be, { scale: 0, color: 1, circular: 2 });
|
|
7285
7288
|
}
|
|
7286
7289
|
get scale() {
|
|
7287
7290
|
return this.$$.ctx[0];
|
|
@@ -7302,8 +7305,8 @@ class Or extends pe {
|
|
|
7302
7305
|
this.$$set({ circular: e }), u();
|
|
7303
7306
|
}
|
|
7304
7307
|
}
|
|
7305
|
-
const Tl = (t, e, i) => Ut(t, e, i, 1), jn = (t, e, i) => Pe(t, e, e === "style" ?
|
|
7306
|
-
function
|
|
7308
|
+
const Tl = (t, e, i) => Ut(t, e, i, 1), jn = (t, e, i) => Pe(t, e, e === "style" ? C_(i) : i), T_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, C_ = (t) => t.split(T_).filter((e) => e).map((e) => e + " !important").join(";");
|
|
7309
|
+
function A_(t) {
|
|
7307
7310
|
let e;
|
|
7308
7311
|
return {
|
|
7309
7312
|
c() {
|
|
@@ -7320,7 +7323,7 @@ function C_(t) {
|
|
|
7320
7323
|
}
|
|
7321
7324
|
};
|
|
7322
7325
|
}
|
|
7323
|
-
function
|
|
7326
|
+
function B_(t) {
|
|
7324
7327
|
let e, i, n, s, o, l;
|
|
7325
7328
|
return i = new Or({
|
|
7326
7329
|
props: {
|
|
@@ -7386,9 +7389,9 @@ function A_(t) {
|
|
|
7386
7389
|
}
|
|
7387
7390
|
};
|
|
7388
7391
|
}
|
|
7389
|
-
function
|
|
7392
|
+
function I_(t) {
|
|
7390
7393
|
let e, i, n, s;
|
|
7391
|
-
const o = [
|
|
7394
|
+
const o = [B_, A_], l = [];
|
|
7392
7395
|
function r(a, d) {
|
|
7393
7396
|
return (
|
|
7394
7397
|
/*href*/
|
|
@@ -7419,7 +7422,7 @@ function B_(t) {
|
|
|
7419
7422
|
}
|
|
7420
7423
|
};
|
|
7421
7424
|
}
|
|
7422
|
-
function
|
|
7425
|
+
function V_(t, e, i) {
|
|
7423
7426
|
let { href: n } = e, { scale: s = 1 } = e, { color: o = "#323232" } = e, { playerStyle: l } = e, { controlsOrder: r } = e, { onEvent: a = () => {
|
|
7424
7427
|
} } = e;
|
|
7425
7428
|
const d = () => {
|
|
@@ -7433,9 +7436,9 @@ function I_(t, e, i) {
|
|
|
7433
7436
|
"href" in c && i(0, n = c.href), "scale" in c && i(1, s = c.scale), "color" in c && i(2, o = c.color), "playerStyle" in c && i(3, l = c.playerStyle), "controlsOrder" in c && i(4, r = c.controlsOrder), "onEvent" in c && i(6, a = c.onEvent);
|
|
7434
7437
|
}, [n, s, o, l, r, d, a];
|
|
7435
7438
|
}
|
|
7436
|
-
class
|
|
7439
|
+
class W_ extends pe {
|
|
7437
7440
|
constructor(e) {
|
|
7438
|
-
super(), ke(this, e,
|
|
7441
|
+
super(), ke(this, e, V_, I_, be, {
|
|
7439
7442
|
href: 0,
|
|
7440
7443
|
scale: 1,
|
|
7441
7444
|
color: 2,
|
|
@@ -7481,8 +7484,8 @@ class V_ extends pe {
|
|
|
7481
7484
|
this.$$set({ onEvent: e }), u();
|
|
7482
7485
|
}
|
|
7483
7486
|
}
|
|
7484
|
-
const At = (t, e, i) => Pe(t, e, e === "style" ?
|
|
7485
|
-
function
|
|
7487
|
+
const At = (t, e, i) => Pe(t, e, e === "style" ? M_(i) : i), j_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, M_ = (t) => t.split(j_).filter((e) => e).map((e) => e + " !important").join(";");
|
|
7488
|
+
function O_(t) {
|
|
7486
7489
|
let e, i, n, s, o, l, r, a, d;
|
|
7487
7490
|
return {
|
|
7488
7491
|
c() {
|
|
@@ -7536,15 +7539,15 @@ function M_(t) {
|
|
|
7536
7539
|
}
|
|
7537
7540
|
};
|
|
7538
7541
|
}
|
|
7539
|
-
function
|
|
7542
|
+
function z_(t, e, i) {
|
|
7540
7543
|
let { scale: n = 1 } = e, { color1: s = "#933afb" } = e, { color2: o = "#fb3a41" } = e, l = `gradient-${Math.random()}`;
|
|
7541
7544
|
return t.$$set = (r) => {
|
|
7542
7545
|
"scale" in r && i(0, n = r.scale), "color1" in r && i(1, s = r.color1), "color2" in r && i(2, o = r.color2);
|
|
7543
7546
|
}, [n, s, o, l];
|
|
7544
7547
|
}
|
|
7545
|
-
class
|
|
7548
|
+
class E_ extends pe {
|
|
7546
7549
|
constructor(e) {
|
|
7547
|
-
super(), ke(this, e,
|
|
7550
|
+
super(), ke(this, e, z_, O_, be, { scale: 0, color1: 1, color2: 2 });
|
|
7548
7551
|
}
|
|
7549
7552
|
get scale() {
|
|
7550
7553
|
return this.$$.ctx[0];
|
|
@@ -7565,10 +7568,10 @@ class z_ extends pe {
|
|
|
7565
7568
|
this.$$set({ color2: e }), u();
|
|
7566
7569
|
}
|
|
7567
7570
|
}
|
|
7568
|
-
const Cl = (t, e, i) => Ut(t, e, i, 1), js = (t, e, i) => Pe(t, e, e === "style" ?
|
|
7569
|
-
function
|
|
7571
|
+
const Cl = (t, e, i) => Ut(t, e, i, 1), js = (t, e, i) => Pe(t, e, e === "style" ? N_(i) : i), L_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, N_ = (t) => t.split(L_).filter((e) => e).map((e) => e + " !important").join(";");
|
|
7572
|
+
function D_(t) {
|
|
7570
7573
|
let e, i, n, s, o;
|
|
7571
|
-
return i = new
|
|
7574
|
+
return i = new E_({ props: { scale: (
|
|
7572
7575
|
/*scale*/
|
|
7573
7576
|
t[0]
|
|
7574
7577
|
) } }), {
|
|
@@ -7617,7 +7620,7 @@ function N_(t) {
|
|
|
7617
7620
|
}
|
|
7618
7621
|
};
|
|
7619
7622
|
}
|
|
7620
|
-
function
|
|
7623
|
+
function x_(t, e, i) {
|
|
7621
7624
|
let { scale: n = 1 } = e, { visible: s = !0 } = e, { onEvent: o = () => {
|
|
7622
7625
|
} } = e;
|
|
7623
7626
|
const l = () => {
|
|
@@ -7633,7 +7636,7 @@ function D_(t, e, i) {
|
|
|
7633
7636
|
}
|
|
7634
7637
|
let zr = class extends pe {
|
|
7635
7638
|
constructor(e) {
|
|
7636
|
-
super(), ke(this, e,
|
|
7639
|
+
super(), ke(this, e, x_, D_, be, { scale: 0, visible: 1, onEvent: 3 });
|
|
7637
7640
|
}
|
|
7638
7641
|
get scale() {
|
|
7639
7642
|
return this.$$.ctx[0];
|
|
@@ -7654,8 +7657,8 @@ let zr = class extends pe {
|
|
|
7654
7657
|
this.$$set({ onEvent: e }), u();
|
|
7655
7658
|
}
|
|
7656
7659
|
};
|
|
7657
|
-
const Zn = (t, e, i) => Pe(t, e, e === "style" ?
|
|
7658
|
-
function
|
|
7660
|
+
const Zn = (t, e, i) => Pe(t, e, e === "style" ? U_(i) : i), R_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, U_ = (t) => t.split(R_).filter((e) => e).map((e) => e + " !important").join(";");
|
|
7661
|
+
function F_(t) {
|
|
7659
7662
|
let e, i, n, s, o;
|
|
7660
7663
|
return i = new Or({
|
|
7661
7664
|
props: {
|
|
@@ -7714,7 +7717,7 @@ function U_(t) {
|
|
|
7714
7717
|
}
|
|
7715
7718
|
};
|
|
7716
7719
|
}
|
|
7717
|
-
function
|
|
7720
|
+
function q_(t, e, i) {
|
|
7718
7721
|
let { href: n } = e, { scale: s = 1 } = e, { color: o = "#323232" } = e, { onEvent: l = () => {
|
|
7719
7722
|
} } = e;
|
|
7720
7723
|
const r = () => {
|
|
@@ -7728,9 +7731,9 @@ function F_(t, e, i) {
|
|
|
7728
7731
|
"href" in a && i(0, n = a.href), "scale" in a && i(1, s = a.scale), "color" in a && i(2, o = a.color), "onEvent" in a && i(4, l = a.onEvent);
|
|
7729
7732
|
}, [n, s, o, r, l];
|
|
7730
7733
|
}
|
|
7731
|
-
class
|
|
7734
|
+
class H_ extends pe {
|
|
7732
7735
|
constructor(e) {
|
|
7733
|
-
super(), ke(this, e,
|
|
7736
|
+
super(), ke(this, e, q_, F_, be, { href: 0, scale: 1, color: 2, onEvent: 4 });
|
|
7734
7737
|
}
|
|
7735
7738
|
get href() {
|
|
7736
7739
|
return this.$$.ctx[0];
|
|
@@ -7757,8 +7760,8 @@ class q_ extends pe {
|
|
|
7757
7760
|
this.$$set({ onEvent: e }), u();
|
|
7758
7761
|
}
|
|
7759
7762
|
}
|
|
7760
|
-
const cn = (t, e, i) => Ut(t, e, i, 1), Fi = (t, e, i) => Pe(t, e, e === "style" ?
|
|
7761
|
-
function
|
|
7763
|
+
const cn = (t, e, i) => Ut(t, e, i, 1), Fi = (t, e, i) => Pe(t, e, e === "style" ? Z_(i) : i), Y_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Z_ = (t) => t.split(Y_).filter((e) => e).map((e) => e + " !important").join(";");
|
|
7764
|
+
function K_(t) {
|
|
7762
7765
|
let e, i, n, s, o, l;
|
|
7763
7766
|
return {
|
|
7764
7767
|
c() {
|
|
@@ -7852,7 +7855,7 @@ function Z_(t) {
|
|
|
7852
7855
|
}
|
|
7853
7856
|
};
|
|
7854
7857
|
}
|
|
7855
|
-
function
|
|
7858
|
+
function J_(t, e, i) {
|
|
7856
7859
|
let n, { src: s } = e, { href: o } = e, { alt: l = "Player Image" } = e, { scale: r = 1 } = e, { onEvent: a = () => {
|
|
7857
7860
|
} } = e;
|
|
7858
7861
|
const d = () => {
|
|
@@ -7869,9 +7872,9 @@ function K_(t, e, i) {
|
|
|
7869
7872
|
32 && i(3, n = `${r * 80}px`);
|
|
7870
7873
|
}, [s, o, l, n, d, r, a];
|
|
7871
7874
|
}
|
|
7872
|
-
class
|
|
7875
|
+
class G_ extends pe {
|
|
7873
7876
|
constructor(e) {
|
|
7874
|
-
super(), ke(this, e,
|
|
7877
|
+
super(), ke(this, e, J_, K_, be, {
|
|
7875
7878
|
src: 0,
|
|
7876
7879
|
href: 1,
|
|
7877
7880
|
alt: 2,
|
|
@@ -7910,8 +7913,8 @@ class J_ extends pe {
|
|
|
7910
7913
|
this.$$set({ onEvent: e }), u();
|
|
7911
7914
|
}
|
|
7912
7915
|
}
|
|
7913
|
-
const Ms = (t, e, i) => Pe(t, e, e === "style" ?
|
|
7914
|
-
function
|
|
7916
|
+
const Ms = (t, e, i) => Pe(t, e, e === "style" ? Q_(i) : i), X_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Q_ = (t) => t.split(X_).filter((e) => e).map((e) => e + " !important").join(";");
|
|
7917
|
+
function $_(t) {
|
|
7915
7918
|
var s;
|
|
7916
7919
|
let e, i = (
|
|
7917
7920
|
/*title*/
|
|
@@ -7951,7 +7954,7 @@ function Q_(t) {
|
|
|
7951
7954
|
}
|
|
7952
7955
|
};
|
|
7953
7956
|
}
|
|
7954
|
-
function
|
|
7957
|
+
function e0(t, e, i) {
|
|
7955
7958
|
let n, s, { title: o } = e, { playerStyle: l } = e, { scale: r = 1 } = e, { visible: a = !0 } = e, { collapsible: d = !1 } = e, { collapsed: c = !1 } = e, { color: g = "#111" } = e, v;
|
|
7956
7959
|
function m(_) {
|
|
7957
7960
|
te[_ ? "unshift" : "push"](() => {
|
|
@@ -7980,7 +7983,7 @@ function $_(t, e, i) {
|
|
|
7980
7983
|
}
|
|
7981
7984
|
class Er extends pe {
|
|
7982
7985
|
constructor(e) {
|
|
7983
|
-
super(), ke(this, e, $_,
|
|
7986
|
+
super(), ke(this, e, e0, $_, be, {
|
|
7984
7987
|
title: 0,
|
|
7985
7988
|
playerStyle: 1,
|
|
7986
7989
|
scale: 4,
|
|
@@ -8033,8 +8036,8 @@ class Er extends pe {
|
|
|
8033
8036
|
this.$$set({ color: e }), u();
|
|
8034
8037
|
}
|
|
8035
8038
|
}
|
|
8036
|
-
const Io = (t, e, i) => Pe(t, e, e === "style" ?
|
|
8037
|
-
function
|
|
8039
|
+
const Io = (t, e, i) => Pe(t, e, e === "style" ? i0(i) : i), t0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, i0 = (t) => t.split(t0).filter((e) => e).map((e) => e + " !important").join(";");
|
|
8040
|
+
function n0(t) {
|
|
8038
8041
|
var n;
|
|
8039
8042
|
let e, i = (
|
|
8040
8043
|
/*title*/
|
|
@@ -8115,7 +8118,7 @@ function i0(t) {
|
|
|
8115
8118
|
}
|
|
8116
8119
|
};
|
|
8117
8120
|
}
|
|
8118
|
-
function
|
|
8121
|
+
function s0(t, e, i) {
|
|
8119
8122
|
let n, s, o, l, { title: r } = e, { maxLines: a = 1 } = e, { maxWidth: d = void 0 } = e, { center: c = !1 } = e, { bold: g = !1 } = e, { flex: v = "0 1 auto" } = e, { scale: m = 1 } = e, { color: _ = "#111" } = e;
|
|
8120
8123
|
return t.$$set = (k) => {
|
|
8121
8124
|
"title" in k && i(0, r = k.title), "maxLines" in k && i(1, a = k.maxLines), "maxWidth" in k && i(5, d = k.maxWidth), "center" in k && i(2, c = k.center), "bold" in k && i(3, g = k.bold), "flex" in k && i(6, v = k.flex), "scale" in k && i(7, m = k.scale), "color" in k && i(8, _ = k.color);
|
|
@@ -8142,7 +8145,7 @@ function n0(t, e, i) {
|
|
|
8142
8145
|
}
|
|
8143
8146
|
class $o extends pe {
|
|
8144
8147
|
constructor(e) {
|
|
8145
|
-
super(), ke(this, e,
|
|
8148
|
+
super(), ke(this, e, s0, n0, be, {
|
|
8146
8149
|
title: 0,
|
|
8147
8150
|
maxLines: 1,
|
|
8148
8151
|
maxWidth: 5,
|
|
@@ -8210,8 +8213,8 @@ const qs = (t, e) => (i) => {
|
|
|
8210
8213
|
initiatedBy: "user"
|
|
8211
8214
|
})));
|
|
8212
8215
|
};
|
|
8213
|
-
const Mn = (t, e, i) => Ut(t, e, i, 1), Kn = (t, e, i) => Pe(t, e, e === "style" ?
|
|
8214
|
-
function
|
|
8216
|
+
const Mn = (t, e, i) => Ut(t, e, i, 1), Kn = (t, e, i) => Pe(t, e, e === "style" ? l0(i) : i), o0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, l0 = (t) => t.split(o0).filter((e) => e).map((e) => e + " !important").join(";");
|
|
8217
|
+
function r0(t) {
|
|
8215
8218
|
let e, i, n, s, o, l;
|
|
8216
8219
|
return {
|
|
8217
8220
|
c() {
|
|
@@ -8321,7 +8324,7 @@ function l0(t) {
|
|
|
8321
8324
|
}
|
|
8322
8325
|
};
|
|
8323
8326
|
}
|
|
8324
|
-
function
|
|
8327
|
+
function a0(t, e, i) {
|
|
8325
8328
|
let { progress: n = 0 } = e, { fullWidth: s = !1 } = e, { readonly: o = !1 } = e, { color: l = "#323232" } = e, { onEvent: r = () => {
|
|
8326
8329
|
} } = e, a, d;
|
|
8327
8330
|
const c = (k) => {
|
|
@@ -8380,9 +8383,9 @@ function r0(t, e, i) {
|
|
|
8380
8383
|
_
|
|
8381
8384
|
];
|
|
8382
8385
|
}
|
|
8383
|
-
class
|
|
8386
|
+
class c0 extends pe {
|
|
8384
8387
|
constructor(e) {
|
|
8385
|
-
super(), ke(this, e,
|
|
8388
|
+
super(), ke(this, e, a0, r0, be, {
|
|
8386
8389
|
progress: 0,
|
|
8387
8390
|
fullWidth: 1,
|
|
8388
8391
|
readonly: 2,
|
|
@@ -8421,8 +8424,8 @@ class a0 extends pe {
|
|
|
8421
8424
|
this.$$set({ onEvent: e }), u();
|
|
8422
8425
|
}
|
|
8423
8426
|
}
|
|
8424
|
-
const Os = (t, e, i) => Ut(t, e, i, 1), Wt = (t, e, i) => Pe(t, e, e === "style" ?
|
|
8425
|
-
function
|
|
8427
|
+
const Os = (t, e, i) => Ut(t, e, i, 1), Wt = (t, e, i) => Pe(t, e, e === "style" ? d0(i) : i), u0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, d0 = (t) => t.split(u0).filter((e) => e).map((e) => e + " !important").join(";");
|
|
8428
|
+
function g0(t) {
|
|
8426
8429
|
let e;
|
|
8427
8430
|
const i = (
|
|
8428
8431
|
/*#slots*/
|
|
@@ -8473,7 +8476,7 @@ function d0(t) {
|
|
|
8473
8476
|
}
|
|
8474
8477
|
};
|
|
8475
8478
|
}
|
|
8476
|
-
function
|
|
8479
|
+
function f0(t) {
|
|
8477
8480
|
let e, i, n, s, o, l, r, a;
|
|
8478
8481
|
const d = (
|
|
8479
8482
|
/*#slots*/
|
|
@@ -8627,9 +8630,9 @@ function g0(t) {
|
|
|
8627
8630
|
}
|
|
8628
8631
|
};
|
|
8629
8632
|
}
|
|
8630
|
-
function
|
|
8633
|
+
function h0(t) {
|
|
8631
8634
|
let e, i, n, s;
|
|
8632
|
-
const o = [
|
|
8635
|
+
const o = [f0, g0], l = [];
|
|
8633
8636
|
function r(a, d) {
|
|
8634
8637
|
return (
|
|
8635
8638
|
/*enabled*/
|
|
@@ -8661,7 +8664,7 @@ function f0(t) {
|
|
|
8661
8664
|
}
|
|
8662
8665
|
};
|
|
8663
8666
|
}
|
|
8664
|
-
function
|
|
8667
|
+
function _0(t, e, i) {
|
|
8665
8668
|
let n, s, o, l, r, a, { $$slots: d = {}, $$scope: c } = e, { progress: g = 0 } = e, { enabled: v = !1 } = e, { bold: m } = e, { scale: _ = 1 } = e, { color: k = "#323232" } = e, { onEvent: y = () => {
|
|
8666
8669
|
} } = e;
|
|
8667
8670
|
return t.$$set = (C) => {
|
|
@@ -8691,9 +8694,9 @@ function h0(t, e, i) {
|
|
|
8691
8694
|
d
|
|
8692
8695
|
];
|
|
8693
8696
|
}
|
|
8694
|
-
class
|
|
8697
|
+
class m0 extends pe {
|
|
8695
8698
|
constructor(e) {
|
|
8696
|
-
super(), ke(this, e,
|
|
8699
|
+
super(), ke(this, e, _0, h0, be, {
|
|
8697
8700
|
progress: 0,
|
|
8698
8701
|
enabled: 1,
|
|
8699
8702
|
bold: 10,
|
|
@@ -8745,8 +8748,8 @@ const zn = (t) => {
|
|
|
8745
8748
|
let i = Math.floor(t % 3600 / 60).toString(), n = Math.floor(t % 60).toString();
|
|
8746
8749
|
return n.length < 2 && (n = `0${n}`), t < 3600 ? `${i}:${n}` : (i.length < 2 && (i = `0${i}`), `${e}:${i}:${n}`);
|
|
8747
8750
|
};
|
|
8748
|
-
const zs = (t, e, i) => Ut(t, e, i, 1),
|
|
8749
|
-
function
|
|
8751
|
+
const zs = (t, e, i) => Ut(t, e, i, 1), v0 = (t, e, i) => Pe(t, e, e === "style" ? b0(i) : i), y0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, b0 = (t) => t.split(y0).filter((e) => e).map((e) => e + " !important").join(";");
|
|
8752
|
+
function k0(t) {
|
|
8750
8753
|
let e, i, n, s = zn(
|
|
8751
8754
|
/*remaining*/
|
|
8752
8755
|
t[1]
|
|
@@ -8756,7 +8759,7 @@ function b0(t) {
|
|
|
8756
8759
|
e = b("span"), i = Q(
|
|
8757
8760
|
/*text*/
|
|
8758
8761
|
t[0]
|
|
8759
|
-
), n = Q(" • "), o = Q(s),
|
|
8762
|
+
), n = Q(" • "), o = Q(s), v0(e, "class", "countdown-time svelte-mmsohq"), zs(e, "font-size", 10 * /*scale*/
|
|
8760
8763
|
t[2] + "px"), zs(
|
|
8761
8764
|
e,
|
|
8762
8765
|
"color",
|
|
@@ -8794,15 +8797,15 @@ function b0(t) {
|
|
|
8794
8797
|
}
|
|
8795
8798
|
};
|
|
8796
8799
|
}
|
|
8797
|
-
function
|
|
8800
|
+
function p0(t, e, i) {
|
|
8798
8801
|
let { text: n } = e, { remaining: s } = e, { scale: o = 1 } = e, { color: l = "#323232" } = e;
|
|
8799
8802
|
return t.$$set = (r) => {
|
|
8800
8803
|
"text" in r && i(0, n = r.text), "remaining" in r && i(1, s = r.remaining), "scale" in r && i(2, o = r.scale), "color" in r && i(3, l = r.color);
|
|
8801
8804
|
}, [n, s, o, l];
|
|
8802
8805
|
}
|
|
8803
|
-
class
|
|
8806
|
+
class S0 extends pe {
|
|
8804
8807
|
constructor(e) {
|
|
8805
|
-
super(), ke(this, e,
|
|
8808
|
+
super(), ke(this, e, p0, k0, be, {
|
|
8806
8809
|
text: 0,
|
|
8807
8810
|
remaining: 1,
|
|
8808
8811
|
scale: 2,
|
|
@@ -8834,15 +8837,15 @@ class p0 extends pe {
|
|
|
8834
8837
|
this.$$set({ color: e }), u();
|
|
8835
8838
|
}
|
|
8836
8839
|
}
|
|
8837
|
-
const Es = (t, e, i) => Ut(t, e, i, 1),
|
|
8838
|
-
function
|
|
8840
|
+
const Es = (t, e, i) => Ut(t, e, i, 1), w0 = (t, e, i) => Pe(t, e, e === "style" ? T0(i) : i), P0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, T0 = (t) => t.split(P0).filter((e) => e).map((e) => e + " !important").join(";");
|
|
8841
|
+
function C0(t) {
|
|
8839
8842
|
let e, i, n;
|
|
8840
8843
|
return {
|
|
8841
8844
|
c() {
|
|
8842
8845
|
e = b("div"), i = Q(
|
|
8843
8846
|
/*minutes*/
|
|
8844
8847
|
t[3]
|
|
8845
|
-
), n = Q(" min"),
|
|
8848
|
+
), n = Q(" min"), w0(e, "class", "duration-in-mins svelte-121qsze"), Es(e, "font-size", 10 * /*scale*/
|
|
8846
8849
|
t[1] + "px"), Es(
|
|
8847
8850
|
e,
|
|
8848
8851
|
"color",
|
|
@@ -8887,7 +8890,7 @@ function T0(t) {
|
|
|
8887
8890
|
}
|
|
8888
8891
|
};
|
|
8889
8892
|
}
|
|
8890
|
-
function
|
|
8893
|
+
function A0(t, e, i) {
|
|
8891
8894
|
let n, { duration: s = 0 } = e, { bold: o = !1 } = e, { scale: l = 1 } = e, { color: r = "#323232" } = e;
|
|
8892
8895
|
return t.$$set = (a) => {
|
|
8893
8896
|
"duration" in a && i(4, s = a.duration), "bold" in a && i(0, o = a.bold), "scale" in a && i(1, l = a.scale), "color" in a && i(2, r = a.color);
|
|
@@ -8898,7 +8901,7 @@ function C0(t, e, i) {
|
|
|
8898
8901
|
}
|
|
8899
8902
|
class Lr extends pe {
|
|
8900
8903
|
constructor(e) {
|
|
8901
|
-
super(), ke(this, e,
|
|
8904
|
+
super(), ke(this, e, A0, C0, be, { duration: 4, bold: 0, scale: 1, color: 2 });
|
|
8902
8905
|
}
|
|
8903
8906
|
get duration() {
|
|
8904
8907
|
return this.$$.ctx[4];
|
|
@@ -8925,8 +8928,8 @@ class Lr extends pe {
|
|
|
8925
8928
|
this.$$set({ color: e }), u();
|
|
8926
8929
|
}
|
|
8927
8930
|
}
|
|
8928
|
-
const Ls = (t, e, i) => Ut(t, e, i, 1),
|
|
8929
|
-
function
|
|
8931
|
+
const Ls = (t, e, i) => Ut(t, e, i, 1), B0 = (t, e, i) => Pe(t, e, e === "style" ? V0(i) : i), I0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, V0 = (t) => t.split(I0).filter((e) => e).map((e) => e + " !important").join(";");
|
|
8932
|
+
function W0(t) {
|
|
8930
8933
|
let e, i = zn(
|
|
8931
8934
|
/*currentTime*/
|
|
8932
8935
|
t[0]
|
|
@@ -8936,7 +8939,7 @@ function V0(t) {
|
|
|
8936
8939
|
) + "", l;
|
|
8937
8940
|
return {
|
|
8938
8941
|
c() {
|
|
8939
|
-
e = b("span"), n = Q(i), s = Q(" / "), l = Q(o),
|
|
8942
|
+
e = b("span"), n = Q(i), s = Q(" / "), l = Q(o), B0(e, "class", "playback-time svelte-17necdw"), Ls(e, "font-size", 10 * /*scale*/
|
|
8940
8943
|
t[2] + "px"), Ls(
|
|
8941
8944
|
e,
|
|
8942
8945
|
"color",
|
|
@@ -8973,15 +8976,15 @@ function V0(t) {
|
|
|
8973
8976
|
}
|
|
8974
8977
|
};
|
|
8975
8978
|
}
|
|
8976
|
-
function
|
|
8979
|
+
function j0(t, e, i) {
|
|
8977
8980
|
let { currentTime: n = 0 } = e, { duration: s = 0 } = e, { scale: o = 1 } = e, { color: l = "#323232" } = e;
|
|
8978
8981
|
return t.$$set = (r) => {
|
|
8979
8982
|
"currentTime" in r && i(0, n = r.currentTime), "duration" in r && i(1, s = r.duration), "scale" in r && i(2, o = r.scale), "color" in r && i(3, l = r.color);
|
|
8980
8983
|
}, [n, s, o, l];
|
|
8981
8984
|
}
|
|
8982
|
-
class
|
|
8985
|
+
class M0 extends pe {
|
|
8983
8986
|
constructor(e) {
|
|
8984
|
-
super(), ke(this, e,
|
|
8987
|
+
super(), ke(this, e, j0, W0, be, {
|
|
8985
8988
|
currentTime: 0,
|
|
8986
8989
|
duration: 1,
|
|
8987
8990
|
scale: 2,
|
|
@@ -9013,10 +9016,10 @@ class j0 extends pe {
|
|
|
9013
9016
|
this.$$set({ color: e }), u();
|
|
9014
9017
|
}
|
|
9015
9018
|
}
|
|
9016
|
-
const Jn = (t, e, i) => Pe(t, e, e === "style" ?
|
|
9017
|
-
function
|
|
9019
|
+
const Jn = (t, e, i) => Pe(t, e, e === "style" ? z0(i) : i), O0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, z0 = (t) => t.split(O0).filter((e) => e).map((e) => e + " !important").join(";");
|
|
9020
|
+
function E0(t) {
|
|
9018
9021
|
let e, i;
|
|
9019
|
-
return e = new
|
|
9022
|
+
return e = new M0({
|
|
9020
9023
|
props: {
|
|
9021
9024
|
duration: (
|
|
9022
9025
|
/*duration*/
|
|
@@ -9065,7 +9068,7 @@ function z0(t) {
|
|
|
9065
9068
|
}
|
|
9066
9069
|
};
|
|
9067
9070
|
}
|
|
9068
|
-
function
|
|
9071
|
+
function L0(t) {
|
|
9069
9072
|
let e, i;
|
|
9070
9073
|
return e = new Lr({
|
|
9071
9074
|
props: {
|
|
@@ -9110,9 +9113,9 @@ function E0(t) {
|
|
|
9110
9113
|
}
|
|
9111
9114
|
};
|
|
9112
9115
|
}
|
|
9113
|
-
function
|
|
9116
|
+
function N0(t) {
|
|
9114
9117
|
let e, i;
|
|
9115
|
-
return e = new
|
|
9118
|
+
return e = new S0({
|
|
9116
9119
|
props: {
|
|
9117
9120
|
text: "Ad",
|
|
9118
9121
|
remaining: (
|
|
@@ -9156,7 +9159,7 @@ function L0(t) {
|
|
|
9156
9159
|
}
|
|
9157
9160
|
};
|
|
9158
9161
|
}
|
|
9159
|
-
function
|
|
9162
|
+
function D0(t) {
|
|
9160
9163
|
return {
|
|
9161
9164
|
c: K,
|
|
9162
9165
|
m: K,
|
|
@@ -9166,9 +9169,9 @@ function N0(t) {
|
|
|
9166
9169
|
d: K
|
|
9167
9170
|
};
|
|
9168
9171
|
}
|
|
9169
|
-
function
|
|
9172
|
+
function x0(t) {
|
|
9170
9173
|
let e, i, n, s, o, l;
|
|
9171
|
-
const r = [N0, L0, E0
|
|
9174
|
+
const r = [D0, N0, L0, E0], a = [];
|
|
9172
9175
|
function d(c, g) {
|
|
9173
9176
|
return (
|
|
9174
9177
|
/*isAdvert*/
|
|
@@ -9269,7 +9272,7 @@ function D0(t) {
|
|
|
9269
9272
|
}
|
|
9270
9273
|
};
|
|
9271
9274
|
}
|
|
9272
|
-
function
|
|
9275
|
+
function R0(t, e, i) {
|
|
9273
9276
|
let n, s, o, l, r, { duration: a = 0 } = e, { currentTime: d = 0 } = e, { playerStyle: c } = e, { positionClasses: g } = e, { isMobile: v } = e, { isAdvert: m } = e, { isStopped: _ } = e, { collapsed: k } = e, { largeImage: y } = e, { color: C = "323232" } = e;
|
|
9274
9277
|
return t.$$set = (V) => {
|
|
9275
9278
|
"duration" in V && i(0, a = V.duration), "currentTime" in V && i(1, d = V.currentTime), "playerStyle" in V && i(2, c = V.playerStyle), "positionClasses" in V && i(3, g = V.positionClasses), "isMobile" in V && i(4, v = V.isMobile), "isAdvert" in V && i(5, m = V.isAdvert), "isStopped" in V && i(6, _ = V.isStopped), "collapsed" in V && i(13, k = V.collapsed), "largeImage" in V && i(7, y = V.largeImage), "color" in V && i(8, C = V.color);
|
|
@@ -9298,9 +9301,9 @@ function x0(t, e, i) {
|
|
|
9298
9301
|
s
|
|
9299
9302
|
];
|
|
9300
9303
|
}
|
|
9301
|
-
class
|
|
9304
|
+
class U0 extends pe {
|
|
9302
9305
|
constructor(e) {
|
|
9303
|
-
super(), ke(this, e,
|
|
9306
|
+
super(), ke(this, e, R0, x0, be, {
|
|
9304
9307
|
duration: 0,
|
|
9305
9308
|
currentTime: 1,
|
|
9306
9309
|
playerStyle: 2,
|
|
@@ -9374,8 +9377,8 @@ class R0 extends pe {
|
|
|
9374
9377
|
this.$$set({ color: e }), u();
|
|
9375
9378
|
}
|
|
9376
9379
|
}
|
|
9377
|
-
const Kt = (t, e, i) => Pe(t, e, e === "style" ?
|
|
9378
|
-
function
|
|
9380
|
+
const Kt = (t, e, i) => Pe(t, e, e === "style" ? q0(i) : i), F0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, q0 = (t) => t.split(F0).filter((e) => e).map((e) => e + " !important").join(";");
|
|
9381
|
+
function H0(t) {
|
|
9379
9382
|
let e, i, n, s, o, l;
|
|
9380
9383
|
return {
|
|
9381
9384
|
c() {
|
|
@@ -9425,7 +9428,7 @@ function q0(t) {
|
|
|
9425
9428
|
}
|
|
9426
9429
|
};
|
|
9427
9430
|
}
|
|
9428
|
-
function
|
|
9431
|
+
function Y0(t, e, i) {
|
|
9429
9432
|
let { scale: n = 1 } = e, { zoom: s = 1 } = e, { color: o = "#323232" } = e, { fill: l = "transparent" } = e;
|
|
9430
9433
|
return t.$$set = (r) => {
|
|
9431
9434
|
"scale" in r && i(0, n = r.scale), "zoom" in r && i(1, s = r.zoom), "color" in r && i(2, o = r.color), "fill" in r && i(3, l = r.fill);
|
|
@@ -9433,7 +9436,7 @@ function H0(t, e, i) {
|
|
|
9433
9436
|
}
|
|
9434
9437
|
class Nr extends pe {
|
|
9435
9438
|
constructor(e) {
|
|
9436
|
-
super(), ke(this, e,
|
|
9439
|
+
super(), ke(this, e, Y0, H0, be, { scale: 0, zoom: 1, color: 2, fill: 3 });
|
|
9437
9440
|
}
|
|
9438
9441
|
get scale() {
|
|
9439
9442
|
return this.$$.ctx[0];
|
|
@@ -9460,12 +9463,12 @@ class Nr extends pe {
|
|
|
9460
9463
|
this.$$set({ fill: e }), u();
|
|
9461
9464
|
}
|
|
9462
9465
|
}
|
|
9463
|
-
const gn = (t, e, i) => Ut(t, e, i, 1), hi = (t, e, i) => Pe(t, e, e === "style" ?
|
|
9466
|
+
const gn = (t, e, i) => Ut(t, e, i, 1), hi = (t, e, i) => Pe(t, e, e === "style" ? K0(i) : i), Z0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, K0 = (t) => t.split(Z0).filter((e) => e).map((e) => e + " !important").join(";");
|
|
9464
9467
|
function Al(t, e, i) {
|
|
9465
9468
|
const n = t.slice();
|
|
9466
9469
|
return n[19] = e[i].title, n[20] = e[i].duration, n[21] = e[i].audio, n[22] = e[i].video, n[24] = i, n;
|
|
9467
9470
|
}
|
|
9468
|
-
function
|
|
9471
|
+
function J0(t) {
|
|
9469
9472
|
let e, i = (
|
|
9470
9473
|
/*i*/
|
|
9471
9474
|
t[24] + 1 + ""
|
|
@@ -9498,7 +9501,7 @@ function K0(t) {
|
|
|
9498
9501
|
}
|
|
9499
9502
|
};
|
|
9500
9503
|
}
|
|
9501
|
-
function
|
|
9504
|
+
function G0(t) {
|
|
9502
9505
|
let e, i, n;
|
|
9503
9506
|
return i = new Nr({
|
|
9504
9507
|
props: {
|
|
@@ -9539,7 +9542,7 @@ function J0(t) {
|
|
|
9539
9542
|
}
|
|
9540
9543
|
function Bl(t) {
|
|
9541
9544
|
let e, i, n, s, o, l, r, a, d, c, g, v, m, _, k, y, C, V, Y;
|
|
9542
|
-
const j = [
|
|
9545
|
+
const j = [G0, J0], M = [];
|
|
9543
9546
|
function L(R, X) {
|
|
9544
9547
|
return (
|
|
9545
9548
|
/*i*/
|
|
@@ -9744,7 +9747,7 @@ function Bl(t) {
|
|
|
9744
9747
|
}
|
|
9745
9748
|
);
|
|
9746
9749
|
}
|
|
9747
|
-
function
|
|
9750
|
+
function X0(t) {
|
|
9748
9751
|
let e, i, n, s = Xt(
|
|
9749
9752
|
/*content*/
|
|
9750
9753
|
t[5]
|
|
@@ -9858,7 +9861,7 @@ function G0(t) {
|
|
|
9858
9861
|
}
|
|
9859
9862
|
};
|
|
9860
9863
|
}
|
|
9861
|
-
function
|
|
9864
|
+
function Q0(t, e, i) {
|
|
9862
9865
|
let n, s, o, l, { style: r = "auto" } = e, { downloadFormats: a = [] } = e, { larger: d = !1 } = e, { textColor: c = "#111" } = e, { backgroundColor: g = "#f5f5f5" } = e, { iconColor: v = "#000" } = e, { content: m = [] } = e, { index: _ = 0 } = e, { isMobile: k } = e, { onEvent: y } = e, C;
|
|
9863
9866
|
const V = (L) => () => {
|
|
9864
9867
|
y(_e({
|
|
@@ -9915,9 +9918,9 @@ function X0(t, e, i) {
|
|
|
9915
9918
|
M
|
|
9916
9919
|
];
|
|
9917
9920
|
}
|
|
9918
|
-
class
|
|
9921
|
+
class $0 extends pe {
|
|
9919
9922
|
constructor(e) {
|
|
9920
|
-
super(), ke(this, e,
|
|
9923
|
+
super(), ke(this, e, Q0, X0, be, {
|
|
9921
9924
|
style: 16,
|
|
9922
9925
|
downloadFormats: 0,
|
|
9923
9926
|
larger: 1,
|
|
@@ -9991,8 +9994,8 @@ class Q0 extends pe {
|
|
|
9991
9994
|
this.$$set({ onEvent: e }), u();
|
|
9992
9995
|
}
|
|
9993
9996
|
}
|
|
9994
|
-
const Il = (t, e, i) => Pe(t, e, e === "style" ?
|
|
9995
|
-
function
|
|
9997
|
+
const Il = (t, e, i) => Pe(t, e, e === "style" ? tm(i) : i), em = /;(?!([^()]*\([^()]*\))*[^()]*\))/, tm = (t) => t.split(em).filter((e) => e).map((e) => e + " !important").join(";");
|
|
9998
|
+
function im(t) {
|
|
9996
9999
|
let e, i, n, s;
|
|
9997
10000
|
const o = (
|
|
9998
10001
|
/*#slots*/
|
|
@@ -10065,7 +10068,7 @@ function tm(t) {
|
|
|
10065
10068
|
}
|
|
10066
10069
|
};
|
|
10067
10070
|
}
|
|
10068
|
-
function
|
|
10071
|
+
function nm(t, e, i) {
|
|
10069
10072
|
let { $$slots: n = {}, $$scope: s } = e, { exitDelay: o = 0 } = e, { idleDelay: l = 1 / 0 } = e, { isHovering: r = !1 } = e, a = !0, d = !0, c, g;
|
|
10070
10073
|
const v = () => {
|
|
10071
10074
|
c && clearTimeout(c), g && clearTimeout(g), i(6, a = !1), i(7, d = !1);
|
|
@@ -10094,9 +10097,9 @@ function im(t, e, i) {
|
|
|
10094
10097
|
n
|
|
10095
10098
|
];
|
|
10096
10099
|
}
|
|
10097
|
-
class
|
|
10100
|
+
class sm extends pe {
|
|
10098
10101
|
constructor(e) {
|
|
10099
|
-
super(), ke(this, e,
|
|
10102
|
+
super(), ke(this, e, nm, im, be, {
|
|
10100
10103
|
exitDelay: 5,
|
|
10101
10104
|
idleDelay: 0,
|
|
10102
10105
|
isHovering: 4
|
|
@@ -10121,8 +10124,8 @@ class nm extends pe {
|
|
|
10121
10124
|
this.$$set({ isHovering: e }), u();
|
|
10122
10125
|
}
|
|
10123
10126
|
}
|
|
10124
|
-
const
|
|
10125
|
-
function
|
|
10127
|
+
const om = (t, e, i) => Pe(t, e, e === "style" ? rm(i) : i), lm = /;(?!([^()]*\([^()]*\))*[^()]*\))/, rm = (t) => t.split(lm).filter((e) => e).map((e) => e + " !important").join(";");
|
|
10128
|
+
function am(t) {
|
|
10126
10129
|
let e, i;
|
|
10127
10130
|
const n = (
|
|
10128
10131
|
/*#slots*/
|
|
@@ -10136,7 +10139,7 @@ function rm(t) {
|
|
|
10136
10139
|
);
|
|
10137
10140
|
return {
|
|
10138
10141
|
c() {
|
|
10139
|
-
e = b("div"), s && s.c(),
|
|
10142
|
+
e = b("div"), s && s.c(), om(e, "class", "visibility svelte-1exdg3");
|
|
10140
10143
|
},
|
|
10141
10144
|
m(o, l) {
|
|
10142
10145
|
B(o, e, l), s && s.m(e, null), t[8](e), i = !0;
|
|
@@ -10173,7 +10176,7 @@ function rm(t) {
|
|
|
10173
10176
|
}
|
|
10174
10177
|
};
|
|
10175
10178
|
}
|
|
10176
|
-
function
|
|
10179
|
+
function cm(t, e, i) {
|
|
10177
10180
|
let { $$slots: n = {}, $$scope: s } = e, o, { enabled: l = !1 } = e, { relativeY: r = void 0 } = e, { absoluteY: a = void 0 } = e, { isVisible: d = void 0 } = e, { onEvent: c = () => {
|
|
10178
10181
|
} } = e;
|
|
10179
10182
|
const g = ([m]) => {
|
|
@@ -10216,9 +10219,9 @@ function am(t, e, i) {
|
|
|
10216
10219
|
v
|
|
10217
10220
|
];
|
|
10218
10221
|
}
|
|
10219
|
-
class
|
|
10222
|
+
class um extends pe {
|
|
10220
10223
|
constructor(e) {
|
|
10221
|
-
super(), ke(this, e,
|
|
10224
|
+
super(), ke(this, e, cm, am, be, {
|
|
10222
10225
|
enabled: 4,
|
|
10223
10226
|
relativeY: 1,
|
|
10224
10227
|
absoluteY: 2,
|
|
@@ -10257,12 +10260,12 @@ class cm extends pe {
|
|
|
10257
10260
|
this.$$set({ onEvent: e }), u();
|
|
10258
10261
|
}
|
|
10259
10262
|
}
|
|
10260
|
-
const
|
|
10263
|
+
const dm = ({ playerStyle: t, width: e }) => t === "standard" && e < 380 || t === "large" && e < 380 || t === "video" && e < 480 || t === "screen" && e < 640, gm = ({ playerStyle: t, position: e, isMobile: i, isAdvert: n }) => t === "screen" || t === "large" && i ? "symmetrical" : t === "standard" && e === "left" ? "left-to-right" : t === "standard" && i || t === "standard" && e === "right" && n ? "right-to-left" : t === "standard" && e === "right" ? "left-to-right-but-swap-ends" : t === "small" && e === "left" ? "left-to-right" : t === "small" && e === "right" ? "right-to-left" : t === "video" && e === "left" ? "left-to-right" : t === "video" && i || t === "video" && e === "right" ? "right-to-left" : "left-to-right", Vl = () => document.fullscreenEnabled || document.webkitFullscreenEnabled, fm = (t) => {
|
|
10261
10264
|
t.requestFullscreen ? t.requestFullscreen() : t.webkitRequestFullscreen && t.webkitRequestFullscreen();
|
|
10262
|
-
},
|
|
10265
|
+
}, hm = () => {
|
|
10263
10266
|
document.exitFullscreen ? document.exitFullscreen() : document.webkitExitFullscreen && document.webkitExitFullscreen();
|
|
10264
10267
|
}, Wl = () => document.fullscreenElement || document.webkitCurrentFullScreenElement;
|
|
10265
|
-
const Hs = (t, e, i) => Ut(t, e, i, 1), Ci = (t, e, i) => Pe(t, e, e === "style" ?
|
|
10268
|
+
const Hs = (t, e, i) => Ut(t, e, i, 1), Ci = (t, e, i) => Pe(t, e, e === "style" ? mm(i) : i), _m = /;(?!([^()]*\([^()]*\))*[^()]*\))/, mm = (t) => t.split(_m).filter((e) => e).map((e) => e + " !important").join(";");
|
|
10266
10269
|
function jl(t) {
|
|
10267
10270
|
let e, i, n, s = !/*videoPosterImage*/
|
|
10268
10271
|
t[17] && Ml(t);
|
|
@@ -10298,7 +10301,7 @@ function jl(t) {
|
|
|
10298
10301
|
}
|
|
10299
10302
|
function Ml(t) {
|
|
10300
10303
|
let e, i, n, s = Bt("videoInWidget") + "", o, l;
|
|
10301
|
-
return e = new
|
|
10304
|
+
return e = new f_({
|
|
10302
10305
|
props: { color: (
|
|
10303
10306
|
/*activeIconColor*/
|
|
10304
10307
|
t[53]
|
|
@@ -10340,7 +10343,7 @@ function Ml(t) {
|
|
|
10340
10343
|
}
|
|
10341
10344
|
function Ol(t) {
|
|
10342
10345
|
let e, i;
|
|
10343
|
-
return e = new
|
|
10346
|
+
return e = new G_({
|
|
10344
10347
|
props: {
|
|
10345
10348
|
onEvent: (
|
|
10346
10349
|
/*onEvent*/
|
|
@@ -10500,9 +10503,9 @@ function zl(t) {
|
|
|
10500
10503
|
}
|
|
10501
10504
|
};
|
|
10502
10505
|
}
|
|
10503
|
-
function
|
|
10506
|
+
function vm(t) {
|
|
10504
10507
|
let e, i;
|
|
10505
|
-
return e = new
|
|
10508
|
+
return e = new hf({
|
|
10506
10509
|
props: {
|
|
10507
10510
|
onEvent: (
|
|
10508
10511
|
/*onEvent*/
|
|
@@ -10551,9 +10554,9 @@ function mm(t) {
|
|
|
10551
10554
|
}
|
|
10552
10555
|
};
|
|
10553
10556
|
}
|
|
10554
|
-
function
|
|
10557
|
+
function ym(t) {
|
|
10555
10558
|
let e, i;
|
|
10556
|
-
return e = new
|
|
10559
|
+
return e = new m0({
|
|
10557
10560
|
props: {
|
|
10558
10561
|
onEvent: (
|
|
10559
10562
|
/*onEvent*/
|
|
@@ -10580,7 +10583,7 @@ function vm(t) {
|
|
|
10580
10583
|
/*activeIconColor*/
|
|
10581
10584
|
t[53]
|
|
10582
10585
|
),
|
|
10583
|
-
$$slots: { default: [
|
|
10586
|
+
$$slots: { default: [vm] },
|
|
10584
10587
|
$$scope: { ctx: t }
|
|
10585
10588
|
}
|
|
10586
10589
|
}), {
|
|
@@ -10684,7 +10687,7 @@ function El(t) {
|
|
|
10684
10687
|
}
|
|
10685
10688
|
function Ll(t) {
|
|
10686
10689
|
let e, i, n, s, o, l;
|
|
10687
|
-
return e = new
|
|
10690
|
+
return e = new bf({
|
|
10688
10691
|
props: {
|
|
10689
10692
|
onEvent: (
|
|
10690
10693
|
/*onEvent*/
|
|
@@ -10703,7 +10706,7 @@ function Ll(t) {
|
|
|
10703
10706
|
t[55]
|
|
10704
10707
|
)
|
|
10705
10708
|
}
|
|
10706
|
-
}), n = new
|
|
10709
|
+
}), n = new Uf({
|
|
10707
10710
|
props: {
|
|
10708
10711
|
onEvent: (
|
|
10709
10712
|
/*onEvent*/
|
|
@@ -10722,7 +10725,7 @@ function Ll(t) {
|
|
|
10722
10725
|
t[53]
|
|
10723
10726
|
)
|
|
10724
10727
|
}
|
|
10725
|
-
}), o = new
|
|
10728
|
+
}), o = new dh({
|
|
10726
10729
|
props: {
|
|
10727
10730
|
onEvent: (
|
|
10728
10731
|
/*onEvent*/
|
|
@@ -10836,7 +10839,7 @@ function Nl(t) {
|
|
|
10836
10839
|
}
|
|
10837
10840
|
function Dl(t) {
|
|
10838
10841
|
let e, i;
|
|
10839
|
-
return e = new
|
|
10842
|
+
return e = new c0({
|
|
10840
10843
|
props: {
|
|
10841
10844
|
onEvent: (
|
|
10842
10845
|
/*onEvent*/
|
|
@@ -10893,7 +10896,7 @@ function Dl(t) {
|
|
|
10893
10896
|
}
|
|
10894
10897
|
function xl(t) {
|
|
10895
10898
|
let e, i, n, s;
|
|
10896
|
-
return e = new
|
|
10899
|
+
return e = new y_({
|
|
10897
10900
|
props: {
|
|
10898
10901
|
onEvent: (
|
|
10899
10902
|
/*onEvent*/
|
|
@@ -10932,7 +10935,7 @@ function xl(t) {
|
|
|
10932
10935
|
t[32]
|
|
10933
10936
|
)
|
|
10934
10937
|
}
|
|
10935
|
-
}), n = new
|
|
10938
|
+
}), n = new W_({
|
|
10936
10939
|
props: {
|
|
10937
10940
|
onEvent: (
|
|
10938
10941
|
/*onEvent*/
|
|
@@ -11018,7 +11021,7 @@ function xl(t) {
|
|
|
11018
11021
|
}
|
|
11019
11022
|
function Rl(t) {
|
|
11020
11023
|
let e, i;
|
|
11021
|
-
return e = new
|
|
11024
|
+
return e = new Mh({
|
|
11022
11025
|
props: {
|
|
11023
11026
|
playerStyle: (
|
|
11024
11027
|
/*playerStyle*/
|
|
@@ -11044,7 +11047,7 @@ function Rl(t) {
|
|
|
11044
11047
|
/*fixedPosition*/
|
|
11045
11048
|
t[8]
|
|
11046
11049
|
),
|
|
11047
|
-
$$slots: { default: [
|
|
11050
|
+
$$slots: { default: [Sm] },
|
|
11048
11051
|
$$scope: { ctx: t }
|
|
11049
11052
|
}
|
|
11050
11053
|
}), {
|
|
@@ -11084,7 +11087,7 @@ function Rl(t) {
|
|
|
11084
11087
|
}
|
|
11085
11088
|
};
|
|
11086
11089
|
}
|
|
11087
|
-
function
|
|
11090
|
+
function bm(t) {
|
|
11088
11091
|
var n, s;
|
|
11089
11092
|
let e, i;
|
|
11090
11093
|
return e = new Mr({
|
|
@@ -11168,9 +11171,9 @@ function ym(t) {
|
|
|
11168
11171
|
}
|
|
11169
11172
|
};
|
|
11170
11173
|
}
|
|
11171
|
-
function
|
|
11174
|
+
function km(t) {
|
|
11172
11175
|
let e, i;
|
|
11173
|
-
return e = new
|
|
11176
|
+
return e = new Bh({
|
|
11174
11177
|
props: {
|
|
11175
11178
|
onEvent: (
|
|
11176
11179
|
/*onEvent*/
|
|
@@ -11228,9 +11231,9 @@ function bm(t) {
|
|
|
11228
11231
|
}
|
|
11229
11232
|
};
|
|
11230
11233
|
}
|
|
11231
|
-
function
|
|
11234
|
+
function pm(t) {
|
|
11232
11235
|
let e, i;
|
|
11233
|
-
return e = new
|
|
11236
|
+
return e = new H_({
|
|
11234
11237
|
props: {
|
|
11235
11238
|
onEvent: (
|
|
11236
11239
|
/*onEvent*/
|
|
@@ -11281,7 +11284,7 @@ function km(t) {
|
|
|
11281
11284
|
}
|
|
11282
11285
|
function Ul(t) {
|
|
11283
11286
|
let e, i;
|
|
11284
|
-
return e = new
|
|
11287
|
+
return e = new Qh({
|
|
11285
11288
|
props: {
|
|
11286
11289
|
onEvent: (
|
|
11287
11290
|
/*onEvent*/
|
|
@@ -11374,12 +11377,12 @@ function Fl(t) {
|
|
|
11374
11377
|
}
|
|
11375
11378
|
};
|
|
11376
11379
|
}
|
|
11377
|
-
function
|
|
11380
|
+
function Sm(t) {
|
|
11378
11381
|
let e, i, n, s = (
|
|
11379
11382
|
/*isVideo*/
|
|
11380
11383
|
t[21] && Vl()
|
|
11381
11384
|
), o, l, r;
|
|
11382
|
-
const a = [km, bm
|
|
11385
|
+
const a = [pm, km, bm], d = [];
|
|
11383
11386
|
function c(m, _) {
|
|
11384
11387
|
return (
|
|
11385
11388
|
/*isScreen*/
|
|
@@ -11437,7 +11440,7 @@ function pm(t) {
|
|
|
11437
11440
|
}
|
|
11438
11441
|
function ql(t) {
|
|
11439
11442
|
let e, i, n, s;
|
|
11440
|
-
const o = [
|
|
11443
|
+
const o = [Pm, wm], l = [];
|
|
11441
11444
|
function r(a, d) {
|
|
11442
11445
|
return (
|
|
11443
11446
|
/*showCloseWidget*/
|
|
@@ -11479,7 +11482,7 @@ function ql(t) {
|
|
|
11479
11482
|
}
|
|
11480
11483
|
};
|
|
11481
11484
|
}
|
|
11482
|
-
function
|
|
11485
|
+
function wm(t) {
|
|
11483
11486
|
let e, i;
|
|
11484
11487
|
return e = new zr({
|
|
11485
11488
|
props: {
|
|
@@ -11529,9 +11532,9 @@ function Sm(t) {
|
|
|
11529
11532
|
}
|
|
11530
11533
|
};
|
|
11531
11534
|
}
|
|
11532
|
-
function
|
|
11535
|
+
function Pm(t) {
|
|
11533
11536
|
let e, i;
|
|
11534
|
-
return e = new
|
|
11537
|
+
return e = new a_({
|
|
11535
11538
|
props: {
|
|
11536
11539
|
onEvent: (
|
|
11537
11540
|
/*onEvent*/
|
|
@@ -11580,7 +11583,7 @@ function wm(t) {
|
|
|
11580
11583
|
}
|
|
11581
11584
|
};
|
|
11582
11585
|
}
|
|
11583
|
-
function
|
|
11586
|
+
function Tm(t) {
|
|
11584
11587
|
let e, i, n, s, o, l, r, a, d, c, g, v, m, _, k, y, C, V, Y, j, M, L, N = (
|
|
11585
11588
|
/*isVideo*/
|
|
11586
11589
|
t[21] && /*videoPosterImage*/
|
|
@@ -11612,7 +11615,7 @@ function Pm(t) {
|
|
|
11612
11615
|
),
|
|
11613
11616
|
enabled: !/*fixedPosition*/
|
|
11614
11617
|
t[8],
|
|
11615
|
-
$$slots: { default: [
|
|
11618
|
+
$$slots: { default: [ym] },
|
|
11616
11619
|
$$scope: { ctx: t }
|
|
11617
11620
|
};
|
|
11618
11621
|
/*isVisible*/
|
|
@@ -11621,7 +11624,7 @@ function Pm(t) {
|
|
|
11621
11624
|
t[1] !== void 0 && (ve.relativeY = /*relativeY*/
|
|
11622
11625
|
t[1]), /*absoluteY*/
|
|
11623
11626
|
t[2] !== void 0 && (ve.absoluteY = /*absoluteY*/
|
|
11624
|
-
t[2]), l = new
|
|
11627
|
+
t[2]), l = new um({ props: ve }), te.push(() => he(l, "isVisible", X)), te.push(() => he(l, "relativeY", Te)), te.push(() => he(l, "absoluteY", me));
|
|
11625
11628
|
let ie = (
|
|
11626
11629
|
/*isStandard*/
|
|
11627
11630
|
(t[28] && /*isStopped*/
|
|
@@ -11641,7 +11644,7 @@ function Pm(t) {
|
|
|
11641
11644
|
t[19] > 720 && /*controlsOrder*/
|
|
11642
11645
|
t[22] !== "left-to-right-but-swap-ends" && Nl(t)
|
|
11643
11646
|
);
|
|
11644
|
-
_ = new
|
|
11647
|
+
_ = new U0({
|
|
11645
11648
|
props: {
|
|
11646
11649
|
currentTime: (
|
|
11647
11650
|
/*currentTime*/
|
|
@@ -11851,7 +11854,7 @@ function Pm(t) {
|
|
|
11851
11854
|
}
|
|
11852
11855
|
function Hl(t) {
|
|
11853
11856
|
let e, i;
|
|
11854
|
-
return e = new
|
|
11857
|
+
return e = new $0({
|
|
11855
11858
|
props: {
|
|
11856
11859
|
onEvent: (
|
|
11857
11860
|
/*onEvent*/
|
|
@@ -11939,7 +11942,7 @@ function Hl(t) {
|
|
|
11939
11942
|
}
|
|
11940
11943
|
};
|
|
11941
11944
|
}
|
|
11942
|
-
function
|
|
11945
|
+
function Cm(t) {
|
|
11943
11946
|
let e, i, n, s, o, l, r, a, d, c;
|
|
11944
11947
|
function g(_) {
|
|
11945
11948
|
t[80](_);
|
|
@@ -11953,12 +11956,12 @@ function Tm(t) {
|
|
|
11953
11956
|
/*isVideo*/
|
|
11954
11957
|
t[21] ? 1500 : 1 / 0
|
|
11955
11958
|
),
|
|
11956
|
-
$$slots: { default: [
|
|
11959
|
+
$$slots: { default: [Tm] },
|
|
11957
11960
|
$$scope: { ctx: t }
|
|
11958
11961
|
};
|
|
11959
11962
|
/*isHovering*/
|
|
11960
11963
|
t[20] !== void 0 && (v.isHovering = /*isHovering*/
|
|
11961
|
-
t[20]), i = new
|
|
11964
|
+
t[20]), i = new sm({ props: v }), te.push(() => he(i, "isHovering", g));
|
|
11962
11965
|
let m = (
|
|
11963
11966
|
/*showPlaylist*/
|
|
11964
11967
|
t[40] && Hl(t)
|
|
@@ -12099,7 +12102,7 @@ function Tm(t) {
|
|
|
12099
12102
|
}
|
|
12100
12103
|
};
|
|
12101
12104
|
}
|
|
12102
|
-
function
|
|
12105
|
+
function Am(t, e, i) {
|
|
12103
12106
|
let n, s, o, l, r, a, d, c, g, v, m, _, k, y, C, V, Y, j, M, L, N, J, R, X, Te, me, ve, ie, $, U, se, ge, Z, le, w, F, Se, we, Ie, G;
|
|
12104
12107
|
import("./././././././././style.js");
|
|
12105
12108
|
let { playerStyle: Ce = "standard" } = e, { callToAction: Ae = void 0 } = e, { skipButtonStyle: xe = "auto" } = e, { playlistStyle: Fe = "auto-5-4" } = e, { playlistToggle: tt = "auto" } = e, { downloadFormats: ft = [] } = e, { playerTitle: bt = void 0 } = e, { fixedPosition: We = void 0 } = e, { fixedWidth: je = "auto" } = e, { content: Je = [] } = e, { contentIndex: qe = 0 } = e, { duration: St = 0 } = e, { currentTime: Ze = 0 } = e, { playbackState: Ge = "stopped" } = e, { playbackRate: Xe = 1 } = e, { activeAdvert: Ee = void 0 } = e, { persistentAdvert: Qe = void 0 } = e, { textColor: He = "#111" } = e, { backgroundColor: gt = "#f5f5f5" } = e, { iconColor: Re = "black" } = e, { videoTextColor: ot = "white" } = e, { videoBackgroundColor: it = "black" } = e, { videoIconColor: wt = "white" } = e, { logoIconEnabled: Ue = !0 } = e, { logoImagePosition: kt = void 0 } = e, { onEvent: rt = () => {
|
|
@@ -12141,7 +12144,7 @@ function Cm(t, e, i) {
|
|
|
12141
12144
|
4 && i(29, d = Ge === "stopped"), t.$$.dirty[0] & /*activeAdvert, isStopped*/
|
|
12142
12145
|
536887296 && i(27, c = Ee && !d), t.$$.dirty[0] & /*content*/
|
|
12143
12146
|
512 && i(74, g = Je.length > 1), t.$$.dirty[0] & /*playerStyle, width*/
|
|
12144
|
-
524296 && i(32, v =
|
|
12147
|
+
524296 && i(32, v = dm({ playerStyle: Ce, width: at })), t.$$.dirty[0] & /*content, contentIndex*/
|
|
12145
12148
|
1536 && i(31, m = Je[qe] || {}), t.$$.dirty[0] & /*currentTime, duration*/
|
|
12146
12149
|
6144 && i(56, _ = Ze / St), t.$$.dirty[0] & /*isAdvert, activeAdvert*/
|
|
12147
12150
|
134234112 | t.$$.dirty[2] & /*textColor*/
|
|
@@ -12176,10 +12179,10 @@ function Cm(t, e, i) {
|
|
|
12176
12179
|
268435712 && i(76, me = We === "auto" ? s ? "center" : "right" : We), t.$$.dirty[0] & /*fixedPosition*/
|
|
12177
12180
|
256 | t.$$.dirty[2] & /*position*/
|
|
12178
12181
|
16384 && i(23, ve = We ? `fixed fixed-${me}` : ""), t.$$.dirty[0] & /*fixedPosition, isSmall, isStandard*/
|
|
12179
|
-
285212928 && i(46, ie = (D) => We && !window.disableAnimation &&
|
|
12182
|
+
285212928 && i(46, ie = (D) => We && !window.disableAnimation && G1(D, { y: n || s ? 40 : 100 })), t.$$.dirty[0] & /*playerStyle, isAdvert*/
|
|
12180
12183
|
134217736 | t.$$.dirty[1] & /*isMobile*/
|
|
12181
12184
|
2 | t.$$.dirty[2] & /*position*/
|
|
12182
|
-
16384 && i(22, $ =
|
|
12185
|
+
16384 && i(22, $ = gm({
|
|
12183
12186
|
playerStyle: Ce,
|
|
12184
12187
|
position: me,
|
|
12185
12188
|
isMobile: v,
|
|
@@ -12296,8 +12299,8 @@ class el extends pe {
|
|
|
12296
12299
|
super(), ke(
|
|
12297
12300
|
this,
|
|
12298
12301
|
e,
|
|
12302
|
+
Am,
|
|
12299
12303
|
Cm,
|
|
12300
|
-
Tm,
|
|
12301
12304
|
be,
|
|
12302
12305
|
{
|
|
12303
12306
|
playerStyle: 3,
|
|
@@ -12530,8 +12533,8 @@ class el extends pe {
|
|
|
12530
12533
|
this.$$set({ absoluteY: e }), u();
|
|
12531
12534
|
}
|
|
12532
12535
|
}
|
|
12533
|
-
const Vo = (t, e, i) => Pe(t, e, e === "style" ?
|
|
12534
|
-
function
|
|
12536
|
+
const Vo = (t, e, i) => Pe(t, e, e === "style" ? Im(i) : i), Bm = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Im = (t) => t.split(Bm).filter((e) => e).map((e) => e + " !important").join(";");
|
|
12537
|
+
function Vm(t) {
|
|
12535
12538
|
let e, i, n;
|
|
12536
12539
|
const s = (
|
|
12537
12540
|
/*#slots*/
|
|
@@ -12585,7 +12588,7 @@ function Im(t) {
|
|
|
12585
12588
|
}
|
|
12586
12589
|
};
|
|
12587
12590
|
}
|
|
12588
|
-
function
|
|
12591
|
+
function Wm(t, e, i) {
|
|
12589
12592
|
let n, { $$slots: s = {}, $$scope: o } = e, { root: l = void 0 } = e, { prepend: r = !1 } = e, a, d;
|
|
12590
12593
|
vo(() => i(3, d = a.parentNode));
|
|
12591
12594
|
const c = (m, _) => m.insertBefore(_, m.firstChild), g = (m, _) => m.appendChild(_);
|
|
@@ -12606,7 +12609,7 @@ function Vm(t, e, i) {
|
|
|
12606
12609
|
}
|
|
12607
12610
|
class yo extends pe {
|
|
12608
12611
|
constructor(e) {
|
|
12609
|
-
super(), ke(this, e,
|
|
12612
|
+
super(), ke(this, e, Wm, Vm, be, { root: 0, prepend: 2 });
|
|
12610
12613
|
}
|
|
12611
12614
|
get root() {
|
|
12612
12615
|
return this.$$.ctx[0];
|
|
@@ -12621,7 +12624,7 @@ class yo extends pe {
|
|
|
12621
12624
|
this.$$set({ prepend: e }), u();
|
|
12622
12625
|
}
|
|
12623
12626
|
}
|
|
12624
|
-
const T = (t, e, i) => Pe(t, e, e === "style" ?
|
|
12627
|
+
const T = (t, e, i) => Pe(t, e, e === "style" ? Mm(i) : i), jm = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Mm = (t) => t.split(jm).filter((e) => e).map((e) => e + " !important").join(";");
|
|
12625
12628
|
function Yl(t, e, i) {
|
|
12626
12629
|
const n = t.slice();
|
|
12627
12630
|
return n[88] = e[i], n[90] = i, n;
|
|
@@ -12634,7 +12637,7 @@ function Kl(t, e, i) {
|
|
|
12634
12637
|
const n = t.slice();
|
|
12635
12638
|
return n[88] = e[i], n[90] = i, n;
|
|
12636
12639
|
}
|
|
12637
|
-
function
|
|
12640
|
+
function Om(t, e, i) {
|
|
12638
12641
|
const n = t.slice();
|
|
12639
12642
|
return n[93] = e[i], n;
|
|
12640
12643
|
}
|
|
@@ -12668,7 +12671,7 @@ function Gl(t) {
|
|
|
12668
12671
|
}
|
|
12669
12672
|
};
|
|
12670
12673
|
}
|
|
12671
|
-
function
|
|
12674
|
+
function zm(t) {
|
|
12672
12675
|
let e;
|
|
12673
12676
|
return {
|
|
12674
12677
|
c() {
|
|
@@ -13271,7 +13274,7 @@ function er(t) {
|
|
|
13271
13274
|
}
|
|
13272
13275
|
};
|
|
13273
13276
|
}
|
|
13274
|
-
function
|
|
13277
|
+
function Em(t) {
|
|
13275
13278
|
let e, i, n;
|
|
13276
13279
|
return {
|
|
13277
13280
|
c() {
|
|
@@ -13291,7 +13294,7 @@ function zm(t) {
|
|
|
13291
13294
|
}
|
|
13292
13295
|
};
|
|
13293
13296
|
}
|
|
13294
|
-
function
|
|
13297
|
+
function Lm(t) {
|
|
13295
13298
|
let e, i, n;
|
|
13296
13299
|
return {
|
|
13297
13300
|
c() {
|
|
@@ -13311,7 +13314,7 @@ function Em(t) {
|
|
|
13311
13314
|
}
|
|
13312
13315
|
};
|
|
13313
13316
|
}
|
|
13314
|
-
function
|
|
13317
|
+
function Nm(t) {
|
|
13315
13318
|
let e, i, n, s, o, l, r, a, d, c, g, v, m, _, k, y, C, V, Y, j, M, L, N, J, R, X, Te, me, ve, ie, $, U, se, ge, Z, le, w, F, Se, we, Ie, G, Ce, Ae, xe, Fe, tt, ft, bt, We, je, Je, qe, St, Ze, Ge, Xe, Ee, Qe, He, gt, Re, ot, it, wt, Ue, kt, rt, x, Oe, Le, Ke, Ye, ht, at, pt, _t, $e, ct, Ot, Pt, zt, lt, Lt, D, Qt, It, ut, ue, S, P, oe, Vt, si, pi, Et, xi, oi, en, dt, _i, $t, mi, Tt, Nt, Ai, Dt, Si, li, mn, Ft, tn, xt, ri, mt, ai, vt, ci, jt, W, q, ee, qt, nn, sn, on, ln, hs, vn, _s, Bi, ms, qn, vs, ys, Hn, bs, rn = Xt(
|
|
13316
13319
|
/*adverts*/
|
|
13317
13320
|
t[43]
|
|
@@ -13320,7 +13323,7 @@ function Lm(t) {
|
|
|
13320
13323
|
Ht[de] = Gl(Jl(t, rn, de));
|
|
13321
13324
|
let bo = Xt([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]), yn = [];
|
|
13322
13325
|
for (let de = 0; de < 12; de += 1)
|
|
13323
|
-
yn[de] = Om(
|
|
13326
|
+
yn[de] = zm(Om(t, bo, de));
|
|
13324
13327
|
let ei = (
|
|
13325
13328
|
/*showAdvancedSettings*/
|
|
13326
13329
|
t[44] && Xl(t)
|
|
@@ -13328,7 +13331,7 @@ function Lm(t) {
|
|
|
13328
13331
|
function ks(de, nt) {
|
|
13329
13332
|
return (
|
|
13330
13333
|
/*showAdvancedSettings*/
|
|
13331
|
-
de[44] ?
|
|
13334
|
+
de[44] ? Lm : Em
|
|
13332
13335
|
);
|
|
13333
13336
|
}
|
|
13334
13337
|
let In = ks(t), wi = In(t);
|
|
@@ -13753,7 +13756,7 @@ function Lm(t) {
|
|
|
13753
13756
|
}
|
|
13754
13757
|
};
|
|
13755
13758
|
}
|
|
13756
|
-
function
|
|
13759
|
+
function Dm(t, e, i) {
|
|
13757
13760
|
import("./././././././././style.js");
|
|
13758
13761
|
let { projectId: n } = e, { contentId: s } = e, { playlistId: o } = e, { sourceId: l } = e, { sourceUrl: r } = e, { showUserInterface: a } = e, { playerStyle: d } = e, { playerTitle: c } = e, { callToAction: g } = e, { skipButtonStyle: v } = e, { playlistStyle: m } = e, { playlistToggle: _ } = e, { mediaSession: k } = e, { content: y } = e, { contentIndex: C } = e, { introsOutros: V } = e, { introsOutrosIndex: Y } = e, { adverts: j } = e, { advertIndex: M } = e, { persistentAdImage: L } = e, { persistentIndex: N } = e, { duration: J } = e, { currentTime: R } = e, { playbackState: X } = e, { playbackRate: Te } = e, { widgetStyle: me } = e, { widgetPosition: ve } = e, { widgetWidth: ie } = e, { widgetTarget: $ } = e, { textColor: U } = e, { backgroundColor: se } = e, { iconColor: ge } = e, { highlightColor: Z } = e, { videoTextColor: le } = e, { videoIconColor: w } = e, { logoIconEnabled: F } = e, { highlightSections: Se } = e, { clickableSections: we } = e, { segmentWidgetSections: Ie } = e, { segmentWidgetPosition: G } = e, { advertConsent: Ce } = e, { analyticsConsent: Ae } = e, { analyticsCustomUrl: xe } = e, { analyticsTag: Fe } = e, tt = !1;
|
|
13759
13762
|
function ft() {
|
|
@@ -13973,13 +13976,13 @@ function Nm(t, e, i) {
|
|
|
13973
13976
|
S
|
|
13974
13977
|
];
|
|
13975
13978
|
}
|
|
13976
|
-
class
|
|
13979
|
+
class xm extends pe {
|
|
13977
13980
|
constructor(e) {
|
|
13978
13981
|
super(), ke(
|
|
13979
13982
|
this,
|
|
13980
13983
|
e,
|
|
13984
|
+
Dm,
|
|
13981
13985
|
Nm,
|
|
13982
|
-
Lm,
|
|
13983
13986
|
be,
|
|
13984
13987
|
{
|
|
13985
13988
|
projectId: 0,
|
|
@@ -14296,27 +14299,27 @@ class Dm extends pe {
|
|
|
14296
14299
|
this.$$set({ analyticsTag: e }), u();
|
|
14297
14300
|
}
|
|
14298
14301
|
}
|
|
14299
|
-
const
|
|
14300
|
-
|
|
14302
|
+
const Rm = (t, e, i) => {
|
|
14303
|
+
qm(t);
|
|
14301
14304
|
const n = new Image();
|
|
14302
14305
|
return n.setAttribute("crossorigin", "anonymous"), new Promise((s, o) => {
|
|
14303
|
-
n.addEventListener("load",
|
|
14306
|
+
n.addEventListener("load", Um(n, e, i, s, o)), n.addEventListener("error", o), n.src = t;
|
|
14304
14307
|
});
|
|
14305
|
-
},
|
|
14308
|
+
}, Um = (t, e, i, n, s) => () => {
|
|
14306
14309
|
const o = document.createElement("canvas"), l = o.getContext("2d");
|
|
14307
|
-
o.width = e, o.height = i, l.drawImage(t, 0, 0, e, i), o.toBlob(
|
|
14308
|
-
}, En = {},
|
|
14310
|
+
o.width = e, o.height = i, l.drawImage(t, 0, 0, e, i), o.toBlob(Fm(t, e, i, n, s));
|
|
14311
|
+
}, En = {}, Fm = (t, e, i, n, s) => (o) => {
|
|
14309
14312
|
var r;
|
|
14310
14313
|
o || s();
|
|
14311
14314
|
const l = URL.createObjectURL(o);
|
|
14312
14315
|
En[r = t.src] || (En[r] = []), En[t.src].push(l), n({ src: l, sizes: `${e}x${i}`, type: "image/png" });
|
|
14313
|
-
},
|
|
14316
|
+
}, qm = (t) => {
|
|
14314
14317
|
Object.keys(En).filter((n) => n !== t).map((n) => En[n]).flat().forEach((n) => URL.revokeObjectURL(n));
|
|
14315
|
-
},
|
|
14318
|
+
}, Hm = (t, e, i) => vi(void 0, null, function* () {
|
|
14316
14319
|
t = yield t;
|
|
14317
14320
|
const n = t.innerHTML;
|
|
14318
14321
|
return { src: `data:image/svg+xml,${encodeURIComponent(n)}`, sizes: `${e}x${i}`, type: "image/svg+xml" };
|
|
14319
|
-
}),
|
|
14322
|
+
}), Ym = (t, e, i) => Ut(t, e, i, 1), Zm = (t, e, i) => Pe(t, e, e === "style" ? Jm(i) : i), Km = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Jm = (t) => t.split(Km).filter((e) => e).map((e) => e + " !important").join(";");
|
|
14320
14323
|
function tr(t, e, i) {
|
|
14321
14324
|
const n = t.slice();
|
|
14322
14325
|
return n[39] = e[i], n[40] = e, n[41] = i, n;
|
|
@@ -14352,7 +14355,7 @@ function ir(t) {
|
|
|
14352
14355
|
);
|
|
14353
14356
|
return {
|
|
14354
14357
|
c() {
|
|
14355
|
-
e = b("div"), ce(i.$$.fragment), n = H(),
|
|
14358
|
+
e = b("div"), ce(i.$$.fragment), n = H(), Ym(e, "display", "none");
|
|
14356
14359
|
},
|
|
14357
14360
|
m(a, d) {
|
|
14358
14361
|
B(a, e, d), re(i, e, null), f(e, n), l(), o = !0;
|
|
@@ -14379,7 +14382,7 @@ function ir(t) {
|
|
|
14379
14382
|
}
|
|
14380
14383
|
};
|
|
14381
14384
|
}
|
|
14382
|
-
function
|
|
14385
|
+
function Gm(t) {
|
|
14383
14386
|
let e, i, n = Xt(
|
|
14384
14387
|
/*imageSizes*/
|
|
14385
14388
|
t[3]
|
|
@@ -14394,7 +14397,7 @@ function Jm(t) {
|
|
|
14394
14397
|
e = b("div");
|
|
14395
14398
|
for (let l = 0; l < s.length; l += 1)
|
|
14396
14399
|
s[l].c();
|
|
14397
|
-
|
|
14400
|
+
Zm(e, "class", "media-session");
|
|
14398
14401
|
},
|
|
14399
14402
|
m(l, r) {
|
|
14400
14403
|
B(l, e, r);
|
|
@@ -14437,7 +14440,7 @@ function Jm(t) {
|
|
|
14437
14440
|
}
|
|
14438
14441
|
};
|
|
14439
14442
|
}
|
|
14440
|
-
function
|
|
14443
|
+
function Xm(t, e, i) {
|
|
14441
14444
|
let n, s, o, l, r, a, d, c, g, v, m, _, k, y, C, V, Y, j, M, L, N;
|
|
14442
14445
|
const J = [96, 128, 192, 256, 384, 512], R = [
|
|
14443
14446
|
"hangup",
|
|
@@ -14492,9 +14495,9 @@ function Gm(t, e, i) {
|
|
|
14492
14495
|
12 && i(32, k = s && me.imageUrl || !n && (ve == null ? void 0 : ve.imageUrl) || (l == null ? void 0 : l.imageUrl)), t.$$.dirty[0] & /*failedUrls*/
|
|
14493
14496
|
32768 | t.$$.dirty[1] & /*imageUrl_*/
|
|
14494
14497
|
2 && i(28, y = w.has(k) ? null : k), t.$$.dirty[0] & /*imageUrl*/
|
|
14495
|
-
268435456 && i(31, C = y ? J.map((G) =>
|
|
14498
|
+
268435456 && i(31, C = y ? J.map((G) => Rm(y, G, G)) : []), t.$$.dirty[0] & /*imageUrl*/
|
|
14496
14499
|
268435456 && i(30, V = y ? [{ src: y, sizes: "any" }] : []), t.$$.dirty[0] & /*imageUrl, renderedSvgs*/
|
|
14497
|
-
268500992 && i(29, Y = y ? [] : J.map((G, Ce) =>
|
|
14500
|
+
268500992 && i(29, Y = y ? [] : J.map((G, Ce) => Hm(Se[Ce], G, G))), t.$$.dirty[0] & /*urlArtworks, svgArtworks*/
|
|
14498
14501
|
1610612736 | t.$$.dirty[1] & /*pngArtworks*/
|
|
14499
14502
|
1 && i(26, j = Promise.all([...C, ...V, ...Y])), t.$$.dirty[0] & /*contentItem*/
|
|
14500
14503
|
134217728 && i(25, M = (l == null ? void 0 : l.title) || ""), t.$$.dirty[0] & /*artworks*/
|
|
@@ -14605,13 +14608,13 @@ function Gm(t, e, i) {
|
|
|
14605
14608
|
Ie
|
|
14606
14609
|
];
|
|
14607
14610
|
}
|
|
14608
|
-
class
|
|
14611
|
+
class Qm extends pe {
|
|
14609
14612
|
constructor(e) {
|
|
14610
14613
|
super(), ke(
|
|
14611
14614
|
this,
|
|
14612
14615
|
e,
|
|
14616
|
+
Xm,
|
|
14613
14617
|
Gm,
|
|
14614
|
-
Jm,
|
|
14615
14618
|
be,
|
|
14616
14619
|
{
|
|
14617
14620
|
content: 4,
|
|
@@ -14690,7 +14693,7 @@ class Xm extends pe {
|
|
|
14690
14693
|
this.$$set({ onEvent: e }), u();
|
|
14691
14694
|
}
|
|
14692
14695
|
}
|
|
14693
|
-
const nr = (t, e, i) => Pe(t, e, e === "style" ?
|
|
14696
|
+
const nr = (t, e, i) => Pe(t, e, e === "style" ? e2(i) : i), $m = /;(?!([^()]*\([^()]*\))*[^()]*\))/, e2 = (t) => t.split($m).filter((e) => e).map((e) => e + " !important").join(";");
|
|
14694
14697
|
function sr(t) {
|
|
14695
14698
|
let e, i, n, s;
|
|
14696
14699
|
return {
|
|
@@ -14713,7 +14716,7 @@ function sr(t) {
|
|
|
14713
14716
|
}
|
|
14714
14717
|
};
|
|
14715
14718
|
}
|
|
14716
|
-
function
|
|
14719
|
+
function t2(t) {
|
|
14717
14720
|
let e, i = !/*alreadyLoaded*/
|
|
14718
14721
|
t[1] && sr(t);
|
|
14719
14722
|
return {
|
|
@@ -14734,15 +14737,15 @@ function e2(t) {
|
|
|
14734
14737
|
}
|
|
14735
14738
|
};
|
|
14736
14739
|
}
|
|
14737
|
-
function
|
|
14740
|
+
function i2(t, e, i) {
|
|
14738
14741
|
let n, { analyticsTag: s } = e;
|
|
14739
14742
|
return t.$$set = (o) => {
|
|
14740
14743
|
"analyticsTag" in o && i(0, s = o.analyticsTag);
|
|
14741
14744
|
}, i(1, n = window.gtag), [s, n];
|
|
14742
14745
|
}
|
|
14743
|
-
class
|
|
14746
|
+
class n2 extends pe {
|
|
14744
14747
|
constructor(e) {
|
|
14745
|
-
super(), ke(this, e,
|
|
14748
|
+
super(), ke(this, e, i2, t2, be, { analyticsTag: 0 });
|
|
14746
14749
|
}
|
|
14747
14750
|
get analyticsTag() {
|
|
14748
14751
|
return this.$$.ctx[0];
|
|
@@ -14751,7 +14754,7 @@ class i2 extends pe {
|
|
|
14751
14754
|
this.$$set({ analyticsTag: e }), u();
|
|
14752
14755
|
}
|
|
14753
14756
|
}
|
|
14754
|
-
class
|
|
14757
|
+
class s2 extends pe {
|
|
14755
14758
|
constructor(e) {
|
|
14756
14759
|
super(), ke(this, e, null, null, be, {});
|
|
14757
14760
|
}
|
|
@@ -14878,7 +14881,7 @@ as = new WeakMap(), eo = new WeakSet(), Hr = function(e, i, n, s) {
|
|
|
14878
14881
|
i.onUpdate(i.containers);
|
|
14879
14882
|
}, Ve(Zi, eo), Ve(Zi, to), Ve(Zi, as, new tl(O(Zi, eo, Hr), O(Zi, to, Yr)));
|
|
14880
14883
|
let Uo = Zi;
|
|
14881
|
-
const
|
|
14884
|
+
const o2 = () => _e({
|
|
14882
14885
|
type: "IdentifiersChanged",
|
|
14883
14886
|
description: "The Player's content identifiers changed.",
|
|
14884
14887
|
initiatedBy: "browser"
|
|
@@ -14890,13 +14893,13 @@ const s2 = () => _e({
|
|
|
14890
14893
|
responseStatus: s == null ? void 0 : s.status,
|
|
14891
14894
|
responseJson: o
|
|
14892
14895
|
})), o;
|
|
14893
|
-
}),
|
|
14896
|
+
}), l2 = (t, e) => Tn(t, {
|
|
14894
14897
|
method: "POST",
|
|
14895
14898
|
headers: { "Content-Type": "application/json" },
|
|
14896
14899
|
body: JSON.stringify(e, (i, n) => n === void 0 ? null : n)
|
|
14897
14900
|
});
|
|
14898
14901
|
var io, Zr;
|
|
14899
|
-
class
|
|
14902
|
+
class r2 {
|
|
14900
14903
|
constructor(e, i, n) {
|
|
14901
14904
|
// private
|
|
14902
14905
|
Ve(this, io);
|
|
@@ -14928,12 +14931,12 @@ io = new WeakSet(), Zr = function(e) {
|
|
|
14928
14931
|
return e.includes("staging") ? "app.staging-beyondwords.io" : "app.beyondwords.io";
|
|
14929
14932
|
};
|
|
14930
14933
|
let kn;
|
|
14931
|
-
const
|
|
14932
|
-
!t || !e || !i || (kn == null || kn.destroy(), kn = new
|
|
14933
|
-
}),
|
|
14934
|
+
const a2 = (t, e, i, n) => vi(void 0, null, function* () {
|
|
14935
|
+
!t || !e || !i || (kn == null || kn.destroy(), kn = new r2(t, e, i), yield kn.getWebSocketToken(), yield kn.establishConnection(c2(n), g2), yield kn.subscribeToStatusChanges());
|
|
14936
|
+
}), c2 = (t) => (e) => {
|
|
14934
14937
|
var s, o;
|
|
14935
|
-
((o = (s = e == null ? void 0 : e.message) == null ? void 0 : s.result) == null ? void 0 : o.action) === "podcast_state_updated" &&
|
|
14936
|
-
},
|
|
14938
|
+
((o = (s = e == null ? void 0 : e.message) == null ? void 0 : s.result) == null ? void 0 : o.action) === "podcast_state_updated" && u2(e, t), e.type === "reject_subscription" && d2(e);
|
|
14939
|
+
}, u2 = (t, e) => {
|
|
14937
14940
|
const i = t.message.result;
|
|
14938
14941
|
e(_e({
|
|
14939
14942
|
type: "ContentStatusChanged",
|
|
@@ -14945,9 +14948,9 @@ const r2 = (t, e, i, n) => vi(void 0, null, function* () {
|
|
|
14945
14948
|
sourceUrl: i.source_url,
|
|
14946
14949
|
contentStatus: i.state
|
|
14947
14950
|
}));
|
|
14948
|
-
}, u2 = (t) => {
|
|
14949
|
-
ui("The WebSocket status change subscription was rejected.", { webSocketEvent: t });
|
|
14950
14951
|
}, d2 = (t) => {
|
|
14952
|
+
ui("The WebSocket status change subscription was rejected.", { webSocketEvent: t });
|
|
14953
|
+
}, g2 = (t) => {
|
|
14951
14954
|
ui("Unexpected WebSocket error.", { error: t });
|
|
14952
14955
|
}, Kr = (t) => {
|
|
14953
14956
|
if (!t())
|
|
@@ -14955,9 +14958,9 @@ const r2 = (t, e, i, n) => vi(void 0, null, function* () {
|
|
|
14955
14958
|
setInterval(() => t() && e(), 10);
|
|
14956
14959
|
});
|
|
14957
14960
|
}, Ys = (t) => {
|
|
14958
|
-
const i = Object.keys(t.$$.props).filter((n) => !
|
|
14961
|
+
const i = Object.keys(t.$$.props).filter((n) => !f2.has(n)).map((n) => [n, t[n]]);
|
|
14959
14962
|
return Object.fromEntries(i);
|
|
14960
|
-
},
|
|
14963
|
+
}, f2 = /* @__PURE__ */ new Set([
|
|
14961
14964
|
"addEventListener",
|
|
14962
14965
|
"removeEventListener",
|
|
14963
14966
|
"mediaElement",
|
|
@@ -14973,30 +14976,30 @@ const r2 = (t, e, i, n) => vi(void 0, null, function* () {
|
|
|
14973
14976
|
return n;
|
|
14974
14977
|
};
|
|
14975
14978
|
let Gn = -1;
|
|
14976
|
-
const Gr = [],
|
|
14979
|
+
const Gr = [], h2 = (t, e, i) => vi(void 0, null, function* () {
|
|
14977
14980
|
yield Kr(() => e.player);
|
|
14978
|
-
const n = e.player, s =
|
|
14979
|
-
s > Gn &&
|
|
14980
|
-
}),
|
|
14981
|
+
const n = e.player, s = _2(n.contentIndex, i, t);
|
|
14982
|
+
s > Gn && m2(n, Gn, s, t), s < Gn && v2(n, Gn, s), Gn = s;
|
|
14983
|
+
}), _2 = (t, e, i) => {
|
|
14981
14984
|
const n = i.findIndex((o) => o[0] === t && o[1] > e || o[0] > t);
|
|
14982
14985
|
return n === -1 ? i.length - 1 : n - 1;
|
|
14983
|
-
},
|
|
14986
|
+
}, m2 = (t, e, i, n) => {
|
|
14984
14987
|
for (let s = e + 1; s <= i; s += 1) {
|
|
14985
14988
|
const o = Ys(t);
|
|
14986
14989
|
n[s][2](t);
|
|
14987
14990
|
const l = Ys(t), r = Jr(o, l);
|
|
14988
14991
|
Gr.push(r);
|
|
14989
14992
|
}
|
|
14990
|
-
},
|
|
14993
|
+
}, v2 = (t, e, i) => {
|
|
14991
14994
|
for (let n = e; n > i; n -= 1) {
|
|
14992
14995
|
const s = Gr.pop();
|
|
14993
14996
|
for (const [o, l] of Object.entries(s))
|
|
14994
14997
|
t[o] = l.previousValue;
|
|
14995
14998
|
}
|
|
14996
|
-
},
|
|
14999
|
+
}, y2 = (t) => t ? b2(t) ? { newTarget: p2(t), showUserInterface: !0 } : typeof t == "string" ? { newTarget: Fo(t), showUserInterface: !0 } : { newTarget: t, showUserInterface: !0 } : { newTarget: k2(), showUserInterface: !1 }, b2 = (t) => typeof t == "object" && t.nodeName.toLowerCase() === "script", k2 = () => {
|
|
14997
15000
|
const t = document.createElement("div");
|
|
14998
15001
|
return document.body.appendChild(t), t;
|
|
14999
|
-
},
|
|
15002
|
+
}, p2 = (t) => {
|
|
15000
15003
|
const e = document.createElement("div");
|
|
15001
15004
|
return t.parentNode.insertBefore(e, t.nextSibling), e;
|
|
15002
15005
|
}, Fo = (t, e = "player") => {
|
|
@@ -15004,12 +15007,12 @@ const Gr = [], f2 = (t, e, i) => vi(void 0, null, function* () {
|
|
|
15004
15007
|
return t;
|
|
15005
15008
|
const i = document.querySelectorAll(t);
|
|
15006
15009
|
return i.length === 0 && ui(`Failed to initialize ${e} because the target could not be found.`, { target: t, elements: i }), i.length > 1 && ui(`Failed to initialize ${e} because the target is ambiguous. (${i.length} elements match)`, { target: t, elements: i }), i[0];
|
|
15007
|
-
},
|
|
15010
|
+
}, S2 = ["small", "standard", "large", "screen", "video"], qo = (t) => S2.indexOf(t) !== -1;
|
|
15008
15011
|
function cr(t, e, i) {
|
|
15009
15012
|
const n = t.slice();
|
|
15010
15013
|
return n[157] = e[i], n;
|
|
15011
15014
|
}
|
|
15012
|
-
function
|
|
15015
|
+
function w2(t) {
|
|
15013
15016
|
let e, i, n, s, o, l, r, a;
|
|
15014
15017
|
function d(y) {
|
|
15015
15018
|
t[103](y);
|
|
@@ -15096,7 +15099,7 @@ function S2(t) {
|
|
|
15096
15099
|
t[48] !== void 0 && (k.prevPercentage = /*prevPercentage*/
|
|
15097
15100
|
t[48]), /*isLoaded*/
|
|
15098
15101
|
t[23] !== void 0 && (k.isLoaded = /*isLoaded*/
|
|
15099
|
-
t[23]), e = new
|
|
15102
|
+
t[23]), e = new K1({ props: k }), t[102](e), te.push(() => he(e, "playbackState", d)), te.push(() => he(e, "duration", c)), te.push(() => he(e, "currentTime", g)), te.push(() => he(e, "playbackRate", v)), te.push(() => he(e, "prevPercentage", m)), te.push(() => he(e, "isLoaded", _)), {
|
|
15100
15103
|
c() {
|
|
15101
15104
|
ce(e.$$.fragment);
|
|
15102
15105
|
},
|
|
@@ -15348,7 +15351,7 @@ function dr(t) {
|
|
|
15348
15351
|
/*widgetTarget*/
|
|
15349
15352
|
t[14]
|
|
15350
15353
|
),
|
|
15351
|
-
$$slots: { default: [
|
|
15354
|
+
$$slots: { default: [P2] },
|
|
15352
15355
|
$$scope: { ctx: t }
|
|
15353
15356
|
}
|
|
15354
15357
|
}), {
|
|
@@ -15379,7 +15382,7 @@ function dr(t) {
|
|
|
15379
15382
|
}
|
|
15380
15383
|
};
|
|
15381
15384
|
}
|
|
15382
|
-
function
|
|
15385
|
+
function P2(t) {
|
|
15383
15386
|
let e, i, n = {
|
|
15384
15387
|
onEvent: (
|
|
15385
15388
|
/*onEvent*/
|
|
@@ -15561,7 +15564,7 @@ function w2(t) {
|
|
|
15561
15564
|
}
|
|
15562
15565
|
};
|
|
15563
15566
|
}
|
|
15564
|
-
function
|
|
15567
|
+
function T2(t) {
|
|
15565
15568
|
let e, i;
|
|
15566
15569
|
return e = new el({
|
|
15567
15570
|
props: {
|
|
@@ -15705,7 +15708,7 @@ function gr(t, e) {
|
|
|
15705
15708
|
/*root*/
|
|
15706
15709
|
e[157]
|
|
15707
15710
|
),
|
|
15708
|
-
$$slots: { default: [
|
|
15711
|
+
$$slots: { default: [T2] },
|
|
15709
15712
|
$$scope: { ctx: e }
|
|
15710
15713
|
}
|
|
15711
15714
|
}), {
|
|
@@ -15747,7 +15750,7 @@ function fr(t) {
|
|
|
15747
15750
|
/*controlPanel*/
|
|
15748
15751
|
t[22]
|
|
15749
15752
|
),
|
|
15750
|
-
$$slots: { default: [
|
|
15753
|
+
$$slots: { default: [C2] },
|
|
15751
15754
|
$$scope: { ctx: t }
|
|
15752
15755
|
}
|
|
15753
15756
|
}), {
|
|
@@ -15777,7 +15780,7 @@ function fr(t) {
|
|
|
15777
15780
|
}
|
|
15778
15781
|
};
|
|
15779
15782
|
}
|
|
15780
|
-
function
|
|
15783
|
+
function C2(t) {
|
|
15781
15784
|
let e, i, n, s, o, l, r, a, d, c, g, v, m, _, k, y, C, V, Y, j, M, L, N, J, R, X, Te, me, ve, ie, $, U, se, ge, Z, le, w, F, Se, we, Ie, G, Ce, Ae, xe;
|
|
15782
15785
|
function Fe(S) {
|
|
15783
15786
|
t[112](S);
|
|
@@ -16009,7 +16012,7 @@ function T2(t) {
|
|
|
16009
16012
|
t[43] !== void 0 && (ue.analyticsCustomUrl = /*analyticsCustomUrl*/
|
|
16010
16013
|
t[43]), /*analyticsTag*/
|
|
16011
16014
|
t[44] !== void 0 && (ue.analyticsTag = /*analyticsTag*/
|
|
16012
|
-
t[44]), e = new
|
|
16015
|
+
t[44]), e = new xm({ props: ue }), te.push(() => he(e, "projectId", Fe)), te.push(() => he(e, "contentId", tt)), te.push(() => he(e, "playlistId", ft)), te.push(() => he(e, "sourceId", bt)), te.push(() => he(e, "sourceUrl", We)), te.push(() => he(e, "showUserInterface", je)), te.push(() => he(e, "playerStyle", Je)), te.push(() => he(e, "playerTitle", qe)), te.push(() => he(e, "callToAction", St)), te.push(() => he(e, "skipButtonStyle", Ze)), te.push(() => he(e, "playlistStyle", Ge)), te.push(() => he(e, "playlistToggle", Xe)), te.push(() => he(e, "mediaSession", Ee)), te.push(() => he(e, "contentIndex", Qe)), te.push(() => he(e, "introsOutrosIndex", He)), te.push(() => he(e, "advertIndex", gt)), te.push(() => he(e, "persistentAdImage", Re)), te.push(() => he(e, "persistentIndex", ot)), te.push(() => he(e, "duration", it)), te.push(() => he(e, "currentTime", wt)), te.push(() => he(e, "playbackState", Ue)), te.push(() => he(e, "playbackRate", kt)), te.push(() => he(e, "widgetStyle", rt)), te.push(() => he(e, "widgetPosition", x)), te.push(() => he(e, "widgetWidth", Oe)), te.push(() => he(e, "widgetTarget", Le)), te.push(() => he(e, "textColor", Ke)), te.push(() => he(e, "backgroundColor", Ye)), te.push(() => he(e, "iconColor", ht)), te.push(() => he(e, "highlightColor", at)), te.push(() => he(e, "videoTextColor", pt)), te.push(() => he(e, "videoIconColor", _t)), te.push(() => he(e, "logoIconEnabled", $e)), te.push(() => he(e, "highlightSections", ct)), te.push(() => he(e, "clickableSections", Ot)), te.push(() => he(e, "segmentWidgetSections", Pt)), te.push(() => he(e, "segmentWidgetPosition", zt)), te.push(() => he(e, "currentSegment", lt)), te.push(() => he(e, "hoveredSegment", Lt)), te.push(() => he(e, "advertConsent", D)), te.push(() => he(e, "analyticsConsent", Qt)), te.push(() => he(e, "analyticsCustomUrl", It)), te.push(() => he(e, "analyticsTag", ut)), {
|
|
16013
16016
|
c() {
|
|
16014
16017
|
ce(e.$$.fragment);
|
|
16015
16018
|
},
|
|
@@ -16126,7 +16129,7 @@ function T2(t) {
|
|
|
16126
16129
|
}
|
|
16127
16130
|
function hr(t) {
|
|
16128
16131
|
let e, i;
|
|
16129
|
-
return e = new
|
|
16132
|
+
return e = new Qm({
|
|
16130
16133
|
props: {
|
|
16131
16134
|
onEvent: (
|
|
16132
16135
|
/*onEvent*/
|
|
@@ -16211,7 +16214,7 @@ function hr(t) {
|
|
|
16211
16214
|
}
|
|
16212
16215
|
function _r(t) {
|
|
16213
16216
|
let e, i;
|
|
16214
|
-
return e = new
|
|
16217
|
+
return e = new n2({
|
|
16215
16218
|
props: { analyticsTag: (
|
|
16216
16219
|
/*analyticsTag*/
|
|
16217
16220
|
t[44]
|
|
@@ -16240,7 +16243,7 @@ function _r(t) {
|
|
|
16240
16243
|
}
|
|
16241
16244
|
};
|
|
16242
16245
|
}
|
|
16243
|
-
function
|
|
16246
|
+
function A2(t) {
|
|
16244
16247
|
let e, i, n, s, o = [], l = /* @__PURE__ */ new Map(), r, a, d, c, g, v;
|
|
16245
16248
|
e = new yo({
|
|
16246
16249
|
props: {
|
|
@@ -16249,7 +16252,7 @@ function C2(t) {
|
|
|
16249
16252
|
/*videoRoot*/
|
|
16250
16253
|
t[68]
|
|
16251
16254
|
),
|
|
16252
|
-
$$slots: { default: [
|
|
16255
|
+
$$slots: { default: [w2] },
|
|
16253
16256
|
$$scope: { ctx: t }
|
|
16254
16257
|
}
|
|
16255
16258
|
});
|
|
@@ -16281,7 +16284,7 @@ function C2(t) {
|
|
|
16281
16284
|
/*analyticsTag*/
|
|
16282
16285
|
t[44] && _r(t)
|
|
16283
16286
|
);
|
|
16284
|
-
return g = new
|
|
16287
|
+
return g = new s2({}), {
|
|
16285
16288
|
c() {
|
|
16286
16289
|
ce(e.$$.fragment), i = H(), m && m.c(), n = H(), _ && _.c(), s = H();
|
|
16287
16290
|
for (let j = 0; j < o.length; j += 1)
|
|
@@ -16352,7 +16355,7 @@ function C2(t) {
|
|
|
16352
16355
|
}
|
|
16353
16356
|
};
|
|
16354
16357
|
}
|
|
16355
|
-
function
|
|
16358
|
+
function B2(t, e, i) {
|
|
16356
16359
|
let n, s, o, l, r, a, d, c, g, v, m, _, k, y, C, V, Y, j, M, L, N, J, R, { playerApiUrl: X = "https://api.beyondwords.io/v1/projects/{id}/player" } = e, { projectId: Te = void 0 } = e, { contentId: me = void 0 } = e, { playlistId: ve = void 0 } = e, { sourceId: ie = void 0 } = e, { sourceUrl: $ = void 0 } = e, { playlist: U = [] } = e, { showUserInterface: se = !0 } = e, { showBottomWidget: ge = !1 } = e, { playerStyle: Z = "standard" } = e, { playerTitle: le = void 0 } = e, { callToAction: w = void 0 } = e, { skipButtonStyle: F = "auto" } = e, { playlistStyle: Se = "auto-5-4" } = e, { playlistToggle: we = "auto" } = e, { downloadFormats: Ie = [] } = e, { mediaSession: G = "auto" } = e, { content: Ce = [] } = e, { contentIndex: Ae = 0 } = e, { introsOutros: xe = [] } = e, { introsOutrosIndex: Fe = -1 } = e, { adverts: tt = [] } = e, { advertIndex: ft = -1 } = e, { persistentAdImage: bt = !1 } = e, { persistentIndex: We = -1 } = e, { duration: je = 0 } = e, { currentTime: Je = 0 } = e, { playbackState: qe = "stopped" } = e, { playbackRate: St = 1 } = e, { playbackRates: Ze = [0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.1, 1.2, 1.3, 1.4, 1.5, 2, 2.5, 3] } = e, { widgetStyle: Ge = "standard" } = e, { widgetPosition: Xe = "auto" } = e, { widgetWidth: Ee = "auto" } = e, { widgetTarget: Qe = void 0 } = e, { textColor: He = "#111" } = e, { backgroundColor: gt = "#f5f5f5" } = e, { iconColor: Re = "rgba(0, 0, 0, 0.8)" } = e, { highlightColor: ot = "#eee" } = e, { videoTextColor: it = "white" } = e, { videoBackgroundColor: wt = "black" } = e, { videoIconColor: Ue = "white" } = e, { logoIconEnabled: kt = !0 } = e, { highlightSections: rt = "all" } = e, { clickableSections: x = "all" } = e, { segmentWidgetSections: Oe = "body" } = e, { segmentWidgetPosition: Le = "7-oclock" } = e, { currentSegment: Ke = void 0 } = e, { hoveredSegment: Ye = void 0 } = e, { loadedMedia: ht = void 0 } = e, { advertConsent: at = "personalized" } = e, { analyticsConsent: pt = "allowed" } = e, { analyticsCustomUrl: _t = void 0 } = e, { analyticsTag: $e = void 0 } = e, { writeToken: ct = void 0 } = e, { captureErrors: Ot = !0 } = e, { onError: Pt = () => {
|
|
16357
16360
|
} } = e, { transitions: zt = [] } = e, { controlPanel: lt = void 0 } = e;
|
|
16358
16361
|
const Lt = (...h) => Vt.addEventListener(...h), D = (...h) => Vt.removeEventListener(...h);
|
|
@@ -16539,7 +16542,7 @@ function A2(t, e, i) {
|
|
|
16539
16542
|
4194304 && i(72, l = tt[We]), t.$$.dirty[0] & /*playbackState*/
|
|
16540
16543
|
4096 | t.$$.dirty[1] & /*activeAdvert*/
|
|
16541
16544
|
1073741824 && i(98, r = o && qe !== "stopped"), t.$$.dirty[2] & /*loadedMedia*/
|
|
16542
|
-
32768 && i(100, a = (ht == null ? void 0 : ht.format) === "
|
|
16545
|
+
32768 && i(100, a = (ht == null ? void 0 : ht.format) === "audio"), t.$$.dirty[0] & /*playerStyle*/
|
|
16543
16546
|
64 | t.$$.dirty[1] & /*isFullScreen*/
|
|
16544
16547
|
33554432 && i(65, d = ue ? "video" : Z), t.$$.dirty[0] & /*widgetTarget*/
|
|
16545
16548
|
16384 && i(14, Qe = Fo(Qe, "widget")), t.$$.dirty[0] & /*widgetTarget*/
|
|
@@ -16561,14 +16564,14 @@ function A2(t, e, i) {
|
|
|
16561
16564
|
16384 | t.$$.dirty[2] & /*videoBehindWidget*/
|
|
16562
16565
|
4 && i(68, C = m ? Qe : null), t.$$.dirty[0] & /*isLoaded*/
|
|
16563
16566
|
8388608 | t.$$.dirty[2] & /*videoMightBeShown*/
|
|
16564
|
-
2 | t.$$.dirty[3] & /*
|
|
16565
|
-
128 && i(99, V =
|
|
16567
|
+
2 | t.$$.dirty[3] & /*isAudio*/
|
|
16568
|
+
128 && i(99, V = a && y && ut), t.$$.dirty[1] & /*activeAdvert*/
|
|
16566
16569
|
1073741824 | t.$$.dirty[3] & /*showVideoPoster, isAdvert, contentItem*/
|
|
16567
16570
|
112 && i(67, Y = V ? r && (o == null ? void 0 : o.imageUrl) || (n == null ? void 0 : n.imageUrl) : ""), t.$$.dirty[0] & /*projectId, contentId, playlistId, sourceId, sourceUrl*/
|
|
16568
16571
|
31 | t.$$.dirty[2] & /*playlist*/
|
|
16569
|
-
4096 && Nt(
|
|
16572
|
+
4096 && Nt(o2()), t.$$.dirty[0] & /*projectId*/
|
|
16570
16573
|
1 | t.$$.dirty[2] & /*playerApiUrl, writeToken*/
|
|
16571
|
-
67584 &&
|
|
16574
|
+
67584 && a2(X, Te, ct, (h) => Nt(h)), t.$$.dirty[0] & /*hoveredSegment*/
|
|
16572
16575
|
2097152 | t.$$.dirty[3] & /*lastHovered*/
|
|
16573
16576
|
4 && i(95, j = Ye || j), t.$$.dirty[0] & /*currentSegment, segmentWidgetSections*/
|
|
16574
16577
|
1310720 && i(94, M = ss("current", Ke, Oe)), t.$$.dirty[0] & /*currentSegment*/
|
|
@@ -16592,7 +16595,7 @@ function A2(t, e, i) {
|
|
|
16592
16595
|
2195456 | t.$$.dirty[3] & /*segmentHighlights*/
|
|
16593
16596
|
1 && Tt.update("hovered", Ye, rt, ot), t.$$.dirty[0] & /*currentTime*/
|
|
16594
16597
|
2048 | t.$$.dirty[2] & /*transitions, controller*/
|
|
16595
|
-
8912896 &&
|
|
16598
|
+
8912896 && h2(zt, Vt, Je);
|
|
16596
16599
|
}, [
|
|
16597
16600
|
Te,
|
|
16598
16601
|
me,
|
|
@@ -16751,13 +16754,13 @@ function A2(t, e, i) {
|
|
|
16751
16754
|
Va
|
|
16752
16755
|
];
|
|
16753
16756
|
}
|
|
16754
|
-
let
|
|
16757
|
+
let I2 = class extends pe {
|
|
16755
16758
|
constructor(e) {
|
|
16756
16759
|
super(), ke(
|
|
16757
16760
|
this,
|
|
16758
16761
|
e,
|
|
16762
|
+
B2,
|
|
16759
16763
|
A2,
|
|
16760
|
-
C2,
|
|
16761
16764
|
be,
|
|
16762
16765
|
{
|
|
16763
16766
|
playerApiUrl: 73,
|
|
@@ -17317,7 +17320,7 @@ let B2 = class extends pe {
|
|
|
17317
17320
|
return this.$$.ctx[58];
|
|
17318
17321
|
}
|
|
17319
17322
|
};
|
|
17320
|
-
class
|
|
17323
|
+
class V2 {
|
|
17321
17324
|
constructor(e, i) {
|
|
17322
17325
|
this.baseUrl = e == null ? void 0 : e.replace("{id}", i);
|
|
17323
17326
|
}
|
|
@@ -17337,24 +17340,24 @@ class I2 {
|
|
|
17337
17340
|
return Tn(`${this.baseUrl}/by_identifiers/${encodeURIComponent(JSON.stringify(e))}`);
|
|
17338
17341
|
}
|
|
17339
17342
|
}
|
|
17340
|
-
const Ho = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.map(Ho) : Object.fromEntries(Object.entries(t).map(([e, i]) => [e.replace(/([A-Z])/g, (n) => `_${n.toLowerCase()}`), Ho(i)])), Xr = (t) => t === "dark" || t === "auto" &&
|
|
17341
|
-
const e = new
|
|
17343
|
+
const Ho = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.map(Ho) : Object.fromEntries(Object.entries(t).map(([e, i]) => [e.replace(/([A-Z])/g, (n) => `_${n.toLowerCase()}`), Ho(i)])), Xr = (t) => t === "dark" || t === "auto" && W2() ? "dark" : "light", W2 = () => window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches, mr = (t) => vi(void 0, null, function* () {
|
|
17344
|
+
const e = new V2(t.playerApiUrl, t.projectId);
|
|
17342
17345
|
if (!t.playerApiUrl || !t.projectId)
|
|
17343
17346
|
return;
|
|
17344
|
-
const i =
|
|
17347
|
+
const i = j2(t);
|
|
17345
17348
|
if (i.length === 0)
|
|
17346
17349
|
return;
|
|
17347
|
-
const n = yield
|
|
17350
|
+
const n = yield M2(e, i).catch(() => {
|
|
17348
17351
|
});
|
|
17349
17352
|
if (!(n != null && n.content)) {
|
|
17350
|
-
|
|
17353
|
+
O2(t);
|
|
17351
17354
|
return;
|
|
17352
17355
|
}
|
|
17353
|
-
|
|
17354
|
-
}),
|
|
17356
|
+
z2(t, n);
|
|
17357
|
+
}), j2 = (t) => {
|
|
17355
17358
|
const e = [];
|
|
17356
17359
|
return t.contentId && e.push({ content_id: t.contentId }), t.playlistId && e.push({ playlist_id: t.playlistId }), t.sourceId && e.push({ source_id: t.sourceId }), t.sourceUrl && e.push({ source_url: t.sourceUrl }), t.playlist && e.push(...Ho(t.playlist)), [...new Set(e.map(JSON.stringify))].map(JSON.parse);
|
|
17357
|
-
},
|
|
17360
|
+
}, M2 = (t, e) => {
|
|
17358
17361
|
const i = e[0];
|
|
17359
17362
|
if (e.length > 1)
|
|
17360
17363
|
return t.byIdentifiers(e);
|
|
@@ -17366,16 +17369,16 @@ const Ho = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
|
|
|
17366
17369
|
return t.bySourceId(i.source_id);
|
|
17367
17370
|
if (i.source_url)
|
|
17368
17371
|
return t.bySourceUrl(i.source_url);
|
|
17369
|
-
},
|
|
17372
|
+
}, O2 = (t) => {
|
|
17370
17373
|
Qr(t), $r(t), ea(t), t.onEvent(_e({
|
|
17371
17374
|
type: "NoContentAvailable",
|
|
17372
17375
|
description: "No published and processed content is available for the identifiers.",
|
|
17373
17376
|
initiatedBy: "browser"
|
|
17374
17377
|
}));
|
|
17375
|
-
},
|
|
17378
|
+
}, z2 = (t, e) => {
|
|
17376
17379
|
var o;
|
|
17377
17380
|
const i = Xr(e.settings.theme), n = e.settings[`${i}_theme`], s = e.settings.video_theme;
|
|
17378
|
-
Qr(t), $r(t, e), ea(t, e), ze(t, "playerStyle", e.settings.player_style), ze(t, "playerTitle", ((o = e.playlist) == null ? void 0 : o.title) || e.settings.player_title), ze(t, "callToAction", e.settings.call_to_action === "Listen to this article" ? null : e.settings.call_to_action), ze(t, "skipButtonStyle", e.settings.skip_button_style), ze(t, "downloadFormats", e.settings.download_button_enabled ? ["mp3"] : []), ze(t, "introsOutros",
|
|
17381
|
+
Qr(t), $r(t, e), ea(t, e), ze(t, "playerStyle", e.settings.player_style), ze(t, "playerTitle", ((o = e.playlist) == null ? void 0 : o.title) || e.settings.player_title), ze(t, "callToAction", e.settings.call_to_action === "Listen to this article" ? null : e.settings.call_to_action), ze(t, "skipButtonStyle", e.settings.skip_button_style), ze(t, "downloadFormats", e.settings.download_button_enabled ? ["mp3"] : []), ze(t, "introsOutros", E2(e.settings)), ze(t, "persistentAdImage", e.settings.persistent_ad_image), ze(t, "widgetStyle", e.settings.widget_style), ze(t, "widgetPosition", e.settings.widget_position), ze(t, "textColor", n.text_color), ze(t, "backgroundColor", n.background_color), ze(t, "iconColor", n.icon_color), ze(t, "highlightColor", n.highlight_color), ze(t, "videoTextColor", s.text_color), ze(t, "videoBackgroundColor", s.background_color), ze(t, "videoIconColor", s.icon_color), ze(t, "logoIconEnabled", e.settings.logo_icon_enabled), ze(t, "logoImagePosition", e.video_settings.logo_image_position), ze(t, "highlightSections", e.settings.segment_playback_enabled ? "all" : "none"), ze(t, "clickableSections", e.settings.segment_playback_enabled ? "all" : "none"), ze(t, "segmentWidgetSections", (e.settings.segment_playback_enabled, "none")), ze(t, "analyticsConsent", L2(e.settings)), ze(t, "analyticsCustomUrl", e.settings.analytics_custom_url), ze(t, "analyticsTag", e.settings.analytics_tag), ze(t, "analyticsUrl", e.settings.analytics_url), ze(t, "analyticsId", e.settings.analytics_id);
|
|
17379
17382
|
}, Qr = (t) => {
|
|
17380
17383
|
ze(t, "contentIndex", 0), ze(t, "introsOutrosIndex", -1), ze(t, "advertIndex", -1), ze(t, "persistentIndex", -1), ze(t, "duration", 0), ze(t, "currentTime", 0), ze(t, "playbackState", "stopped"), ze(t, "currentSegment", void 0), ze(t, "hoveredSegment", void 0);
|
|
17381
17384
|
}, $r = (t, e) => {
|
|
@@ -17446,15 +17449,15 @@ const Ho = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
|
|
|
17446
17449
|
}, ze = (t, e, i) => {
|
|
17447
17450
|
var s;
|
|
17448
17451
|
typeof ((s = t.initialProps) == null ? void 0 : s[e]) != "undefined" || (t[e] = i);
|
|
17449
|
-
},
|
|
17452
|
+
}, E2 = ({ intro_outro_enabled: t, intro_url: e, outro_url: i }) => {
|
|
17450
17453
|
if (!t)
|
|
17451
17454
|
return [];
|
|
17452
17455
|
const n = [];
|
|
17453
17456
|
return e && n.push({ placement: "pre-roll", audio: [{ url: e }], video: [] }), i && n.push({ placement: "post-roll", audio: [{ url: i }], video: [] }), n;
|
|
17454
|
-
},
|
|
17457
|
+
}, L2 = ({ analytics_enabled: t, analytics_uuid_enabled: e }) => t ? e ? "allowed" : "without-local-storage" : "none", N2 = (t, e) => vi(void 0, null, function* () {
|
|
17455
17458
|
const n = yield (yield fetch(t)).blob(), s = URL.createObjectURL(n), o = document.createElement("a");
|
|
17456
17459
|
document.body.append(o), o.href = s, o.setAttribute("download", e), o.setAttribute("target", "_blank"), o.click(), o.remove();
|
|
17457
|
-
}), Zs = { vastUrls: /* @__PURE__ */ new Set(), mediaSources: /* @__PURE__ */ new Set() },
|
|
17460
|
+
}), Zs = { vastUrls: /* @__PURE__ */ new Set(), mediaSources: /* @__PURE__ */ new Set() }, D2 = (t) => {
|
|
17458
17461
|
t.vastUrl && Zs.vastUrls.add(t.vastUrl);
|
|
17459
17462
|
for (const e of [...t.audio || [], ...t.video || []])
|
|
17460
17463
|
Zs.mediaSources.add(e.url);
|
|
@@ -17465,127 +17468,127 @@ const Ho = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
|
|
|
17465
17468
|
if (Zs.mediaSources.has(e.url))
|
|
17466
17469
|
return !0;
|
|
17467
17470
|
return !1;
|
|
17468
|
-
}, ia = /* @__PURE__ */ new Set(),
|
|
17471
|
+
}, ia = /* @__PURE__ */ new Set(), x2 = (t) => {
|
|
17469
17472
|
[...t.audio || [], ...t.video || []].forEach((i) => ia.add(i.url));
|
|
17470
|
-
},
|
|
17473
|
+
}, R2 = (t) => [...t.audio || [], ...t.video || []].some((i) => ia.has(i.url)), U2 = ({ introsOutrosIndex: t, adverts: e, advertIndex: i, content: n = [], contentIndex: s, currentTime: o, atTheStart: l, atTheEnd: r, errored: a } = {}) => {
|
|
17471
17474
|
var _;
|
|
17472
17475
|
const d = e && e[i];
|
|
17473
17476
|
e:
|
|
17474
17477
|
if (d) {
|
|
17475
17478
|
if (a) {
|
|
17476
|
-
|
|
17479
|
+
D2(d);
|
|
17477
17480
|
break e;
|
|
17478
17481
|
}
|
|
17479
17482
|
if (r)
|
|
17480
|
-
return
|
|
17483
|
+
return x2(d), -1;
|
|
17481
17484
|
if (!r)
|
|
17482
17485
|
return i;
|
|
17483
17486
|
}
|
|
17484
17487
|
if (!((_ = n[s]) != null && _.adsEnabled) || t !== -1)
|
|
17485
17488
|
return -1;
|
|
17486
|
-
const c =
|
|
17489
|
+
const c = q2({ content: n, contentIndex: s, currentTime: o, atTheStart: l, atTheEnd: r });
|
|
17487
17490
|
let g = -1, v = -1 / 0, m = -1 / 0;
|
|
17488
17491
|
for (const [k, y] of e.entries()) {
|
|
17489
|
-
if (
|
|
17492
|
+
if (R2(y) || ta(y) || !c.has(y.placement))
|
|
17490
17493
|
continue;
|
|
17491
|
-
const C =
|
|
17494
|
+
const C = F2[y.type] || 0;
|
|
17492
17495
|
if (C < v)
|
|
17493
17496
|
continue;
|
|
17494
17497
|
const V = Math.random();
|
|
17495
17498
|
C === v && V < m || (g = k, v = C, m = V);
|
|
17496
17499
|
}
|
|
17497
17500
|
return g;
|
|
17498
|
-
},
|
|
17499
|
-
const o = e === 0, l = e === t.length - 1, r = t.length > 1, a = r && n && !o, d = t[e].segments, c = d[d.length - 1], g = r ? null :
|
|
17501
|
+
}, F2 = { vast: 1, custom: 0 }, q2 = ({ content: t, contentIndex: e, currentTime: i, atTheStart: n, atTheEnd: s }) => {
|
|
17502
|
+
const o = e === 0, l = e === t.length - 1, r = t.length > 1, a = r && n && !o, d = t[e].segments, c = d[d.length - 1], g = r ? null : K2(d), v = d[g], m = v && i > v.startTime, _ = c ? c.startTime + c.duration : 0, k = i > _ - Y2, y = /* @__PURE__ */ new Set();
|
|
17500
17503
|
return n && y.add("pre-roll"), m && !k && y.add("mid-roll"), a && y.add("mid-roll"), s && l && y.add("post-roll"), a && y.add("post-roll"), y;
|
|
17501
|
-
},
|
|
17504
|
+
}, H2 = 2 * 60, Y2 = 10, Z2 = 0.5, K2 = (t) => {
|
|
17502
17505
|
const e = t[t.length - 1];
|
|
17503
17506
|
if (!e)
|
|
17504
17507
|
return;
|
|
17505
17508
|
const i = e.startTime + e.duration;
|
|
17506
|
-
if (i <
|
|
17509
|
+
if (i < H2)
|
|
17507
17510
|
return;
|
|
17508
|
-
const n = i / 2, s = Qo(t, i / 2), r = t[s].startTime >= n -
|
|
17511
|
+
const n = i / 2, s = Qo(t, i / 2), r = t[s].startTime >= n - Z2 ? s : s + 1;
|
|
17509
17512
|
if (r !== t.length)
|
|
17510
17513
|
return r;
|
|
17511
|
-
},
|
|
17514
|
+
}, J2 = (t, e, i, n) => {
|
|
17512
17515
|
let s = -1, o = -1 / 0, l = -1 / 0;
|
|
17513
17516
|
for (const [r, a] of (n || []).entries()) {
|
|
17514
17517
|
if (!t || ta(a) || a.type === "vast")
|
|
17515
17518
|
continue;
|
|
17516
|
-
const d =
|
|
17519
|
+
const d = X2(r, e, i);
|
|
17517
17520
|
if (d < o)
|
|
17518
17521
|
continue;
|
|
17519
|
-
const c =
|
|
17522
|
+
const c = G2[a.placement] || 0;
|
|
17520
17523
|
d === o && c < l || (s = r, o = d, l = c);
|
|
17521
17524
|
}
|
|
17522
17525
|
return s;
|
|
17523
|
-
},
|
|
17526
|
+
}, G2 = { "pre-roll": 2, "mid-roll": 1 }, X2 = (t, e, i) => t === i ? 2 : t === e ? 1 : 0, na = { mediaSources: /* @__PURE__ */ new Set() }, Q2 = (t) => {
|
|
17524
17527
|
for (const e of [...t.audio || [], t.video || []])
|
|
17525
17528
|
na.mediaSources.add(e.url);
|
|
17526
|
-
},
|
|
17529
|
+
}, $2 = (t) => {
|
|
17527
17530
|
for (const e of [...t.audio || [], t.video || []])
|
|
17528
17531
|
if (na.mediaSources.has(e.url))
|
|
17529
17532
|
return !0;
|
|
17530
17533
|
return !1;
|
|
17531
|
-
}, sa = /* @__PURE__ */ new Set(),
|
|
17534
|
+
}, sa = /* @__PURE__ */ new Set(), e3 = (t) => {
|
|
17532
17535
|
[...t.audio || [], ...t.video || []].forEach((i) => sa.add(i.url));
|
|
17533
|
-
},
|
|
17536
|
+
}, t3 = (t) => [...t.audio || [], ...t.video || []].some((i) => sa.has(i.url)), i3 = ({ introsOutros: t = [], introsOutrosIndex: e, advertIndex: i, content: n, contentIndex: s, currentTime: o, atTheStart: l, atTheEnd: r, errored: a }) => {
|
|
17534
17537
|
const d = t[e];
|
|
17535
17538
|
e:
|
|
17536
17539
|
if (d) {
|
|
17537
17540
|
if (a) {
|
|
17538
|
-
|
|
17541
|
+
Q2(d);
|
|
17539
17542
|
break e;
|
|
17540
17543
|
}
|
|
17541
17544
|
if (r)
|
|
17542
|
-
return
|
|
17545
|
+
return e3(d), -1;
|
|
17543
17546
|
if (!r)
|
|
17544
17547
|
return e;
|
|
17545
17548
|
}
|
|
17546
17549
|
if (i !== -1)
|
|
17547
17550
|
return -1;
|
|
17548
|
-
const c =
|
|
17551
|
+
const c = n3({ content: n, contentIndex: s, currentTime: o, atTheStart: l, atTheEnd: r });
|
|
17549
17552
|
let g = -1, v = -1 / 0, m = -1 / 0;
|
|
17550
17553
|
for (const [_, k] of t.entries()) {
|
|
17551
|
-
if (
|
|
17554
|
+
if ($2(k) || !c.has(k.placement))
|
|
17552
17555
|
continue;
|
|
17553
|
-
const y =
|
|
17556
|
+
const y = t3(k) ? 1 : 0;
|
|
17554
17557
|
if (y < v)
|
|
17555
17558
|
continue;
|
|
17556
17559
|
const C = Math.random();
|
|
17557
17560
|
y === v && C < m || (g = _, v = y, m = C);
|
|
17558
17561
|
}
|
|
17559
17562
|
return g;
|
|
17560
|
-
},
|
|
17563
|
+
}, n3 = ({ content: t, contentIndex: e, currentTime: i, atTheStart: n, atTheEnd: s }) => {
|
|
17561
17564
|
const o = /* @__PURE__ */ new Set(), l = n && e === 0 && i === 0, r = s && e === t.length - 1;
|
|
17562
17565
|
return l && o.add("pre-roll"), r && o.add("post-roll"), o;
|
|
17563
|
-
},
|
|
17566
|
+
}, s3 = (t) => {
|
|
17564
17567
|
if (!navigator.mediaSession)
|
|
17565
17568
|
return;
|
|
17566
17569
|
const e = t.instances().some((o) => o.mediaSession === "override");
|
|
17567
|
-
if (
|
|
17570
|
+
if (r3() && !e)
|
|
17568
17571
|
return;
|
|
17569
17572
|
let i, n = -1 / 0, s = -1 / 0;
|
|
17570
17573
|
for (const o of t.instances()) {
|
|
17571
17574
|
if (o.mediaSession === "none")
|
|
17572
17575
|
continue;
|
|
17573
|
-
const l =
|
|
17576
|
+
const l = o3[o.playbackState] || 0;
|
|
17574
17577
|
if (l < n)
|
|
17575
17578
|
continue;
|
|
17576
|
-
const r =
|
|
17579
|
+
const r = l3[o.showMediaSession] || 0;
|
|
17577
17580
|
l === n && r < s || (i = o, n = l, s = r);
|
|
17578
17581
|
}
|
|
17579
17582
|
for (const o of t.instances())
|
|
17580
17583
|
o.showMediaSession = o === i;
|
|
17581
17584
|
return i;
|
|
17582
|
-
},
|
|
17585
|
+
}, o3 = { playing: 1, paused: 0, stopped: 0 }, l3 = { true: 1, false: 0 }, r3 = () => {
|
|
17583
17586
|
const t = navigator.mediaSession.metadata;
|
|
17584
17587
|
if (!t || navigator.mediaSession.setByPlayer)
|
|
17585
17588
|
return !1;
|
|
17586
17589
|
const { title: e, artist: i, album: n, artwork: s } = t;
|
|
17587
17590
|
return e || i || n || (s == null ? void 0 : s.length);
|
|
17588
|
-
},
|
|
17591
|
+
}, a3 = (t) => {
|
|
17589
17592
|
let e = !1, i, n = -1 / 0, s = -1 / 0;
|
|
17590
17593
|
for (const o of t.instances()) {
|
|
17591
17594
|
if (!o.userInterface || !qo(o.widgetStyle))
|
|
@@ -17596,7 +17599,7 @@ const Ho = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
|
|
|
17596
17599
|
}
|
|
17597
17600
|
if (!(o.userInterface.relativeY < 0))
|
|
17598
17601
|
continue;
|
|
17599
|
-
const d =
|
|
17602
|
+
const d = c3[o.playbackState] || 0;
|
|
17600
17603
|
if (d < n)
|
|
17601
17604
|
continue;
|
|
17602
17605
|
const c = o.userInterface.absoluteY;
|
|
@@ -17605,9 +17608,9 @@ const Ho = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
|
|
|
17605
17608
|
e && n === 0 && (i = null);
|
|
17606
17609
|
for (const o of t.instances())
|
|
17607
17610
|
o.showBottomWidget = o === i;
|
|
17608
|
-
},
|
|
17611
|
+
}, c3 = { playing: 2, paused: 1, stopped: 0 };
|
|
17609
17612
|
var no, oa, so, la, cs, Yo, oo, ra, lo, aa, Vi, qi, Ki, pn, fi, Pi, ro, ca, Cn, Xn, Ji, Sn, ao, ua, us, Zo, Ni, un, ds, Ko, Gi, wn, Rt, ii, Xi, Pn, Di, dn, co, da, uo, ga, An, Qn, gs, Jo, go, fa, fo, ha, ho, _a, _o, ma;
|
|
17610
|
-
class
|
|
17613
|
+
class u3 {
|
|
17611
17614
|
constructor(e, i) {
|
|
17612
17615
|
// private
|
|
17613
17616
|
Ve(this, no);
|
|
@@ -17716,7 +17719,7 @@ class c3 {
|
|
|
17716
17719
|
handlePlaybackRateUpdated() {
|
|
17717
17720
|
}
|
|
17718
17721
|
handleVisibilityChanged() {
|
|
17719
|
-
|
|
17722
|
+
a3(this.PlayerClass);
|
|
17720
17723
|
}
|
|
17721
17724
|
handlePressedVideoBackground() {
|
|
17722
17725
|
O(this, Ji, Sn).call(this);
|
|
@@ -17769,7 +17772,7 @@ class c3 {
|
|
|
17769
17772
|
this.player.playbackState = "paused";
|
|
17770
17773
|
}
|
|
17771
17774
|
handlePlaybackPlaying() {
|
|
17772
|
-
this.PlayerClass.instances().filter((n) => n !== this.player).filter((n) => n.playbackState === "playing").forEach((n) => n.playbackState = "paused"),
|
|
17775
|
+
this.PlayerClass.instances().filter((n) => n !== this.player).filter((n) => n.playbackState === "playing").forEach((n) => n.playbackState = "paused"), s3(this.PlayerClass);
|
|
17773
17776
|
}
|
|
17774
17777
|
handlePlaybackPaused() {
|
|
17775
17778
|
const e = this.player.playbackState === "playing", i = this.player.currentTime >= this.player.duration - 0.5;
|
|
@@ -17794,7 +17797,7 @@ class c3 {
|
|
|
17794
17797
|
console.warn(`BeyondWords.Player: ${e} playback error: ${i}`), O(this, Vi, qi).call(this) || O(this, Ki, pn).call(this) ? O(this, Xi, Pn).call(this, { errored: !0 }) : O(this, fi, Pi).call(this) ? O(this, Di, dn).call(this, { errored: !0 }) : this.handlePlaybackEnded();
|
|
17795
17798
|
}
|
|
17796
17799
|
handlePressedMaximize() {
|
|
17797
|
-
Wl() ?
|
|
17800
|
+
Wl() ? hm() : fm(this.player.target);
|
|
17798
17801
|
}
|
|
17799
17802
|
handleFullScreenModeUpdated() {
|
|
17800
17803
|
const e = Wl() === this.player.target, i = e ? "add" : "remove";
|
|
@@ -17810,7 +17813,7 @@ class c3 {
|
|
|
17810
17813
|
handlePressedDownload({ contentIndex: e, audioIndex: i, videoIndex: n }) {
|
|
17811
17814
|
var c, g;
|
|
17812
17815
|
const s = this.player.content[e], o = (c = s.audio) == null ? void 0 : c[i], l = (g = s.video) == null ? void 0 : g[n], r = (o || l).url, a = r.split(".").pop(), d = `${s.title}.${a}`;
|
|
17813
|
-
return
|
|
17816
|
+
return N2(r, d);
|
|
17814
17817
|
}
|
|
17815
17818
|
handlePressedCloseWidget() {
|
|
17816
17819
|
for (const e of this.PlayerClass.instances())
|
|
@@ -17891,14 +17894,14 @@ no = new WeakSet(), oa = function({ type: e }) {
|
|
|
17891
17894
|
}
|
|
17892
17895
|
}, Xi = new WeakSet(), Pn = function({ atTheStart: e, atTheEnd: i, errored: n } = {}) {
|
|
17893
17896
|
const { content: s, introsOutros: o, currentTime: l } = this.player, r = typeof this.nextIntroOutro != "undefined" ? this.nextIntroOutro : this.player.introsOutrosIndex, a = typeof this.nextAdvert != "undefined" ? this.nextAdvert : this.player.advertIndex, d = typeof this.prevContent != "undefined" ? this.prevContent : this.player.contentIndex;
|
|
17894
|
-
O(this, An, Qn).call(this,
|
|
17897
|
+
O(this, An, Qn).call(this, i3({ introsOutros: o, introsOutrosIndex: r, advertIndex: a, content: s, contentIndex: d, currentTime: l, atTheStart: e, atTheEnd: i, errored: n }));
|
|
17895
17898
|
}, Di = new WeakSet(), dn = function({ atTheStart: e, atTheEnd: i, wasIntro: n, errored: s } = {}) {
|
|
17896
17899
|
const { adverts: o, content: l, currentTime: r } = this.player;
|
|
17897
17900
|
let a = typeof this.nextIntroOutro != "undefined" ? this.nextIntroOutro : this.player.introsOutrosIndex;
|
|
17898
17901
|
const d = typeof this.nextAdvert != "undefined" ? this.nextAdvert : this.player.advertIndex, c = typeof this.prevContent != "undefined" ? this.prevContent : this.player.contentIndex;
|
|
17899
|
-
n && (e = !0, i = !1, a = -1), O(this, gs, Jo).call(this,
|
|
17902
|
+
n && (e = !0, i = !1, a = -1), O(this, gs, Jo).call(this, U2({ introsOutrosIndex: a, adverts: o, advertIndex: d, content: l, contentIndex: c, currentTime: r, atTheStart: e, atTheEnd: i, errored: s }));
|
|
17900
17903
|
const g = this.player.persistentAdImage, v = this.player.persistentIndex;
|
|
17901
|
-
this.player.persistentIndex =
|
|
17904
|
+
this.player.persistentIndex = J2(g, v, d, o);
|
|
17902
17905
|
}, co = new WeakSet(), da = function() {
|
|
17903
17906
|
this.player.playbackState === "playing" && typeof this.nextIntroOutro != "undefined" && (O(this, An, Qn).call(this, this.nextIntroOutro), delete this.nextIntroOutro);
|
|
17904
17907
|
}, uo = new WeakSet(), ga = function() {
|
|
@@ -17939,20 +17942,20 @@ no = new WeakSet(), oa = function({ type: e }) {
|
|
|
17939
17942
|
return ((n = this.player.currentSegment) == null ? void 0 : n.contentIndex) !== e || ((s = this.player.currentSegment) == null ? void 0 : s.segmentIndex) !== i;
|
|
17940
17943
|
};
|
|
17941
17944
|
var fs = "<unknown>";
|
|
17942
|
-
function
|
|
17945
|
+
function d3(t) {
|
|
17943
17946
|
var e = t.split(`
|
|
17944
17947
|
`);
|
|
17945
17948
|
return e.reduce(function(i, n) {
|
|
17946
|
-
var s =
|
|
17949
|
+
var s = h3(n) || m3(n) || b3(n) || w3(n) || p3(n);
|
|
17947
17950
|
return s && i.push(s), i;
|
|
17948
17951
|
}, []);
|
|
17949
17952
|
}
|
|
17950
|
-
var
|
|
17951
|
-
function
|
|
17952
|
-
var e =
|
|
17953
|
+
var g3 = /^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i, f3 = /\((\S*)(?::(\d+))(?::(\d+))\)/;
|
|
17954
|
+
function h3(t) {
|
|
17955
|
+
var e = g3.exec(t);
|
|
17953
17956
|
if (!e)
|
|
17954
17957
|
return null;
|
|
17955
|
-
var i = e[2] && e[2].indexOf("native") === 0, n = e[2] && e[2].indexOf("eval") === 0, s =
|
|
17958
|
+
var i = e[2] && e[2].indexOf("native") === 0, n = e[2] && e[2].indexOf("eval") === 0, s = f3.exec(e[2]);
|
|
17956
17959
|
return n && s != null && (e[2] = s[1], e[3] = s[2], e[4] = s[3]), {
|
|
17957
17960
|
file: i ? null : e[2],
|
|
17958
17961
|
methodName: e[1] || fs,
|
|
@@ -17961,9 +17964,9 @@ function f3(t) {
|
|
|
17961
17964
|
column: e[4] ? +e[4] : null
|
|
17962
17965
|
};
|
|
17963
17966
|
}
|
|
17964
|
-
var
|
|
17965
|
-
function
|
|
17966
|
-
var e =
|
|
17967
|
+
var _3 = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;
|
|
17968
|
+
function m3(t) {
|
|
17969
|
+
var e = _3.exec(t);
|
|
17967
17970
|
return e ? {
|
|
17968
17971
|
file: e[2],
|
|
17969
17972
|
methodName: e[1] || fs,
|
|
@@ -17972,12 +17975,12 @@ function _3(t) {
|
|
|
17972
17975
|
column: e[4] ? +e[4] : null
|
|
17973
17976
|
} : null;
|
|
17974
17977
|
}
|
|
17975
|
-
var
|
|
17976
|
-
function
|
|
17977
|
-
var e =
|
|
17978
|
+
var v3 = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i, y3 = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i;
|
|
17979
|
+
function b3(t) {
|
|
17980
|
+
var e = v3.exec(t);
|
|
17978
17981
|
if (!e)
|
|
17979
17982
|
return null;
|
|
17980
|
-
var i = e[3] && e[3].indexOf(" > eval") > -1, n =
|
|
17983
|
+
var i = e[3] && e[3].indexOf(" > eval") > -1, n = y3.exec(e[3]);
|
|
17981
17984
|
return i && n != null && (e[3] = n[1], e[4] = n[2], e[5] = null), {
|
|
17982
17985
|
file: e[3],
|
|
17983
17986
|
methodName: e[1] || fs,
|
|
@@ -17986,9 +17989,9 @@ function y3(t) {
|
|
|
17986
17989
|
column: e[5] ? +e[5] : null
|
|
17987
17990
|
};
|
|
17988
17991
|
}
|
|
17989
|
-
var
|
|
17990
|
-
function
|
|
17991
|
-
var e =
|
|
17992
|
+
var k3 = /^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?):(\d+)(?::(\d+))?\s*$/i;
|
|
17993
|
+
function p3(t) {
|
|
17994
|
+
var e = k3.exec(t);
|
|
17992
17995
|
return e ? {
|
|
17993
17996
|
file: e[3],
|
|
17994
17997
|
methodName: e[1] || fs,
|
|
@@ -17997,9 +18000,9 @@ function k3(t) {
|
|
|
17997
18000
|
column: e[5] ? +e[5] : null
|
|
17998
18001
|
} : null;
|
|
17999
18002
|
}
|
|
18000
|
-
var
|
|
18001
|
-
function
|
|
18002
|
-
var e =
|
|
18003
|
+
var S3 = /^\s*at (?:((?:\[object object\])?[^\\/]+(?: \[as \S+\])?) )?\(?(.*?):(\d+)(?::(\d+))?\)?\s*$/i;
|
|
18004
|
+
function w3(t) {
|
|
18005
|
+
var e = S3.exec(t);
|
|
18003
18006
|
return e ? {
|
|
18004
18007
|
file: e[2],
|
|
18005
18008
|
methodName: e[1] || fs,
|
|
@@ -18009,7 +18012,7 @@ function S3(t) {
|
|
|
18009
18012
|
} : null;
|
|
18010
18013
|
}
|
|
18011
18014
|
let vr = !1, Wo, jo;
|
|
18012
|
-
const
|
|
18015
|
+
const P3 = ({ onError: t }) => {
|
|
18013
18016
|
if (!t || vr)
|
|
18014
18017
|
return;
|
|
18015
18018
|
vr = !0;
|
|
@@ -18031,8 +18034,8 @@ const w3 = ({ onError: t }) => {
|
|
|
18031
18034
|
};
|
|
18032
18035
|
}, yr = (t) => {
|
|
18033
18036
|
var e;
|
|
18034
|
-
return (e =
|
|
18035
|
-
},
|
|
18037
|
+
return (e = d3((t == null ? void 0 : t.stack) || "")[0]) == null ? void 0 : e.file;
|
|
18038
|
+
}, T3 = () => {
|
|
18036
18039
|
typeof window == "undefined" && ui([
|
|
18037
18040
|
"Trying to initialize BeyondWords.Player in a server context but this is unsupported.",
|
|
18038
18041
|
"Please only initialize the player in a context where the global window object is available.",
|
|
@@ -18040,13 +18043,13 @@ const w3 = ({ onError: t }) => {
|
|
|
18040
18043
|
]);
|
|
18041
18044
|
};
|
|
18042
18045
|
let br = !1;
|
|
18043
|
-
const
|
|
18044
|
-
br || (br = !0, addEventListener("mousedown",
|
|
18045
|
-
}, C3 = (t) => {
|
|
18046
|
-
ba = t.pageX, ka = t.pageY;
|
|
18046
|
+
const C3 = () => {
|
|
18047
|
+
br || (br = !0, addEventListener("mousedown", A3), addEventListener("click", B3), addEventListener("mousemove", I3));
|
|
18047
18048
|
}, A3 = (t) => {
|
|
18049
|
+
ba = t.pageX, ka = t.pageY;
|
|
18050
|
+
}, B3 = (t) => {
|
|
18048
18051
|
var i;
|
|
18049
|
-
if (t.defaultPrevented ||
|
|
18052
|
+
if (t.defaultPrevented || V3(t) || t.button !== 0)
|
|
18050
18053
|
return;
|
|
18051
18054
|
const e = (i = va(t.target)) == null ? void 0 : i.getAttribute(_n);
|
|
18052
18055
|
if (e)
|
|
@@ -18062,12 +18065,12 @@ const T3 = () => {
|
|
|
18062
18065
|
segmentIndex: l
|
|
18063
18066
|
}));
|
|
18064
18067
|
}
|
|
18065
|
-
},
|
|
18068
|
+
}, I3 = (t) => {
|
|
18066
18069
|
var n;
|
|
18067
18070
|
const e = document.elementFromPoint(t.clientX, t.clientY), i = (n = va(e)) == null ? void 0 : n.getAttribute(_n);
|
|
18068
18071
|
for (const [s, o] of BeyondWords.Player.instances().entries()) {
|
|
18069
18072
|
const { segment: l, contentIndex: r, segmentIndex: a } = ya(o, i);
|
|
18070
|
-
|
|
18073
|
+
W3(s, r, a) && o.onEvent(_e({
|
|
18071
18074
|
type: "HoveredSegmentUpdated",
|
|
18072
18075
|
description: "The user hovered over a different segment in the article.",
|
|
18073
18076
|
initiatedBy: "user",
|
|
@@ -18099,10 +18102,10 @@ const T3 = () => {
|
|
|
18099
18102
|
return i;
|
|
18100
18103
|
};
|
|
18101
18104
|
let ba, ka;
|
|
18102
|
-
const
|
|
18105
|
+
const V3 = (t) => {
|
|
18103
18106
|
const e = t.pageX - ba, i = t.pageY - ka;
|
|
18104
18107
|
return Math.sqrt(e * e + i * i) > 5;
|
|
18105
|
-
}, Ns = {},
|
|
18108
|
+
}, Ns = {}, W3 = (t, e, i) => {
|
|
18106
18109
|
Ns[t] || (Ns[t] = {});
|
|
18107
18110
|
const n = Ns[t];
|
|
18108
18111
|
return n.contentIndex === e && n.segmentIndex === i ? !1 : (n.contentIndex = e, n.segmentIndex = i, !0);
|
|
@@ -18112,28 +18115,28 @@ class Mo {
|
|
|
18112
18115
|
this.analyticsSink = e;
|
|
18113
18116
|
}
|
|
18114
18117
|
sendToCustomAnalytics(e) {
|
|
18115
|
-
return
|
|
18118
|
+
return l2(this.analyticsSink, e);
|
|
18116
18119
|
}
|
|
18117
18120
|
sendToGoogleAnalytics(e, i) {
|
|
18118
18121
|
window.gtag("event", e, Ri(ti({}, i), { send_to: this.analyticsSink }));
|
|
18119
18122
|
}
|
|
18120
18123
|
}
|
|
18121
|
-
const
|
|
18122
|
-
const i =
|
|
18124
|
+
const j3 = (t, e) => {
|
|
18125
|
+
const i = M3(t, e.type);
|
|
18123
18126
|
if (!i)
|
|
18124
18127
|
return;
|
|
18125
|
-
const n =
|
|
18126
|
-
bc(n), t.analyticsUrl && t.analyticsConsent !== "none" && new Mo(t.analyticsUrl).sendToCustomAnalytics(n), t.analyticsCustomUrl && t.analyticsConsent !== "none" && new Mo(t.analyticsCustomUrl).sendToCustomAnalytics(n), t.analyticsTag && new Mo(t.analyticsTag).sendToGoogleAnalytics(
|
|
18127
|
-
},
|
|
18128
|
+
const n = O3(t, i);
|
|
18129
|
+
bc(n), t.analyticsUrl && t.analyticsConsent !== "none" && new Mo(t.analyticsUrl).sendToCustomAnalytics(n), t.analyticsCustomUrl && t.analyticsConsent !== "none" && new Mo(t.analyticsCustomUrl).sendToCustomAnalytics(n), t.analyticsTag && new Mo(t.analyticsTag).sendToGoogleAnalytics(z3(n), n);
|
|
18130
|
+
}, M3 = (t, e) => {
|
|
18128
18131
|
if (e === "MediaLoaded" && !t.listenSessionId)
|
|
18129
18132
|
return "load";
|
|
18130
|
-
if (e === "PlaybackPlaying" &&
|
|
18133
|
+
if (e === "PlaybackPlaying" && E3(t) && (t.isNewListen = !0), e === "CurrentTimeUpdated" && t.isNewListen)
|
|
18131
18134
|
return t.isNewListen = !1, "play";
|
|
18132
|
-
if (e === "CurrentTimeUpdated" &&
|
|
18135
|
+
if (e === "CurrentTimeUpdated" && L3(t))
|
|
18133
18136
|
return "play_progress";
|
|
18134
18137
|
if (e.startsWith("PressedAdvert"))
|
|
18135
18138
|
return "ad_link_click";
|
|
18136
|
-
},
|
|
18139
|
+
}, O3 = (t, e) => {
|
|
18137
18140
|
var l, r;
|
|
18138
18141
|
t.listenSessionId || (t.listenSessionId = Fs()), t.sessionCreatedAt || (t.sessionCreatedAt = Date.now());
|
|
18139
18142
|
const i = ["without-local-storage", "none"].includes(t.analyticsConsent);
|
|
@@ -18141,7 +18144,7 @@ const W3 = (t, e) => {
|
|
|
18141
18144
|
const n = t.adverts[t.advertIndex], s = t.content[t.contentIndex], o = t.duration ? t.currentTime / t.duration * 100 : 0;
|
|
18142
18145
|
return {
|
|
18143
18146
|
event_type: e,
|
|
18144
|
-
device_type:
|
|
18147
|
+
device_type: N3(),
|
|
18145
18148
|
media_type: n ? "ad" : "content",
|
|
18146
18149
|
project_id: t.projectId,
|
|
18147
18150
|
content_id: s == null ? void 0 : s.id,
|
|
@@ -18162,7 +18165,7 @@ const W3 = (t, e) => {
|
|
|
18162
18165
|
player_version: "1",
|
|
18163
18166
|
player_npm_version: xs
|
|
18164
18167
|
};
|
|
18165
|
-
},
|
|
18168
|
+
}, z3 = ({ event_type: t, listen_length_percent: e }) => {
|
|
18166
18169
|
const i = Math.floor(e / 10) * 10;
|
|
18167
18170
|
if (t === "load")
|
|
18168
18171
|
return "Load";
|
|
@@ -18174,7 +18177,7 @@ const W3 = (t, e) => {
|
|
|
18174
18177
|
return `${i}% listened`;
|
|
18175
18178
|
if (t === "ad_link_click")
|
|
18176
18179
|
return "Advert Click";
|
|
18177
|
-
},
|
|
18180
|
+
}, E3 = (t) => {
|
|
18178
18181
|
var n, s;
|
|
18179
18182
|
let e = !1;
|
|
18180
18183
|
if (t.advertIndex !== -1) {
|
|
@@ -18185,22 +18188,22 @@ const W3 = (t, e) => {
|
|
|
18185
18188
|
e = o !== t.prevContentId, t.prevContentId = o;
|
|
18186
18189
|
}
|
|
18187
18190
|
return e;
|
|
18188
|
-
},
|
|
18191
|
+
}, L3 = (t) => {
|
|
18189
18192
|
if (t.introsOutrosIndex !== -1)
|
|
18190
18193
|
return;
|
|
18191
18194
|
const e = t.prevPercentage + 10, i = t.currentTime / t.duration * 100;
|
|
18192
18195
|
if (i >= e)
|
|
18193
18196
|
return t.prevPercentage = Math.floor(i / 10) * 10, !0;
|
|
18194
|
-
},
|
|
18197
|
+
}, N3 = () => kr(499) ? "phone" : kr(999) ? "tablet" : "desktop", kr = (t) => window.matchMedia && window.matchMedia(`only screen and (max-device-width: ${t}px)`).matches;
|
|
18195
18198
|
var fn;
|
|
18196
|
-
const Ti = class Ti extends
|
|
18199
|
+
const Ti = class Ti extends I2 {
|
|
18197
18200
|
constructor(n) {
|
|
18198
18201
|
var s = n, { target: e } = s, i = po(s, ["target"]);
|
|
18199
|
-
|
|
18200
|
-
const { newTarget: o, showUserInterface: l } =
|
|
18202
|
+
T3(), P3(i), C3();
|
|
18203
|
+
const { newTarget: o, showUserInterface: l } = y2(e);
|
|
18201
18204
|
o.classList.add("beyondwords-player", "bwp"), Ti._styleLoaded || (o.style.display = "none");
|
|
18202
|
-
const r = new
|
|
18203
|
-
r.addEventListener("<any>", (d) =>
|
|
18205
|
+
const r = new u3(null, Ti);
|
|
18206
|
+
r.addEventListener("<any>", (d) => j3(this, d));
|
|
18204
18207
|
const a = ti({ showUserInterface: l }, i);
|
|
18205
18208
|
super({ target: o, props: Ri(ti({ controller: r }, a), { initialProps: a }) }), r.player = this, Ii(Ti, fn).push(this);
|
|
18206
18209
|
}
|
|
@@ -18242,8 +18245,8 @@ fn = new WeakMap(), Ve(Ti, fn, []);
|
|
|
18242
18245
|
let Ks = Ti;
|
|
18243
18246
|
var pr;
|
|
18244
18247
|
typeof window != "undefined" && (window.BeyondWords || (window.BeyondWords = {}), (pr = window.BeyondWords).Player || (pr.Player = Ks));
|
|
18245
|
-
const
|
|
18248
|
+
const U3 = { Player: Ks };
|
|
18246
18249
|
export {
|
|
18247
|
-
|
|
18250
|
+
U3 as default
|
|
18248
18251
|
};
|
|
18249
18252
|
//# sourceMappingURL=es.js.map
|