@beyondwords/player 0.1.52 → 0.1.53

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 CHANGED
@@ -2,15 +2,15 @@ var ju = Object.defineProperty, zu = Object.defineProperties;
2
2
  var Lu = Object.getOwnPropertyDescriptors;
3
3
  var Bo = Object.getOwnPropertySymbols;
4
4
  var Tl = Object.prototype.hasOwnProperty, Pl = Object.prototype.propertyIsEnumerable;
5
- var Ws = (t, e, i) => e in t ? ju(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i, Xt = (t, e) => {
5
+ var Os = (t, e, i) => e in t ? ju(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i, Xt = (t, e) => {
6
6
  for (var i in e || (e = {}))
7
- Tl.call(e, i) && Ws(t, i, e[i]);
7
+ Tl.call(e, i) && Os(t, i, e[i]);
8
8
  if (Bo)
9
9
  for (var i of Bo(e))
10
- Pl.call(e, i) && Ws(t, i, e[i]);
10
+ Pl.call(e, i) && Os(t, i, e[i]);
11
11
  return t;
12
12
  }, Ki = (t, e) => zu(t, Lu(e));
13
- var Os = (t, e) => {
13
+ var Es = (t, e) => {
14
14
  var i = {};
15
15
  for (var n in t)
16
16
  Tl.call(t, n) && e.indexOf(n) < 0 && (i[n] = t[n]);
@@ -19,16 +19,16 @@ var Os = (t, e) => {
19
19
  e.indexOf(n) < 0 && Pl.call(t, n) && (i[n] = t[n]);
20
20
  return i;
21
21
  };
22
- var Es = (t, e, i) => (Ws(t, typeof e != "symbol" ? e + "" : e, i), i), Ms = (t, e, i) => {
22
+ var Ms = (t, e, i) => (Os(t, typeof e != "symbol" ? e + "" : e, i), i), js = (t, e, i) => {
23
23
  if (!e.has(t))
24
24
  throw TypeError("Cannot " + i);
25
25
  };
26
- var Mi = (t, e, i) => (Ms(t, e, "read from private field"), i ? i.call(t) : e.get(t)), Ie = (t, e, i) => {
26
+ var Mi = (t, e, i) => (js(t, e, "read from private field"), i ? i.call(t) : e.get(t)), Ie = (t, e, i) => {
27
27
  if (e.has(t))
28
28
  throw TypeError("Cannot add the same private member more than once");
29
29
  e instanceof WeakSet ? e.add(t) : e.set(t, i);
30
- }, Cl = (t, e, i, n) => (Ms(t, e, "write to private field"), n ? n.call(t, i) : e.set(t, i), i);
31
- var F = (t, e, i) => (Ms(t, e, "access private method"), i);
30
+ }, Cl = (t, e, i, n) => (js(t, e, "write to private field"), n ? n.call(t, i) : e.set(t, i), i);
31
+ var F = (t, e, i) => (js(t, e, "access private method"), i);
32
32
  var bi = (t, e, i) => new Promise((n, o) => {
33
33
  var s = (r) => {
34
34
  try {
@@ -45,11 +45,11 @@ var bi = (t, e, i) => new Promise((n, o) => {
45
45
  }, a = (r) => r.done ? n(r.value) : Promise.resolve(r.value).then(s, l);
46
46
  a((i = i.apply(t, e)).next());
47
47
  });
48
- /*! version:"0.1.52" */
48
+ /*! version:"0.1.53" */
49
49
  function Q() {
50
50
  }
51
51
  const Du = (t) => t;
52
- function xu(t, e) {
52
+ function Nu(t, e) {
53
53
  for (const i in e)
54
54
  t[i] = e[i];
55
55
  return (
@@ -76,7 +76,7 @@ let Vo;
76
76
  function zi(t, e) {
77
77
  return t === e ? !0 : (Vo || (Vo = document.createElement("a")), Vo.href = e, t === Vo.href);
78
78
  }
79
- function Nu(t) {
79
+ function xu(t) {
80
80
  return Object.keys(t).length === 0;
81
81
  }
82
82
  function Hn(t, e, i, n) {
@@ -86,7 +86,7 @@ function Hn(t, e, i, n) {
86
86
  }
87
87
  }
88
88
  function tr(t, e, i, n) {
89
- return t[1] && n ? xu(i.ctx.slice(), t[1](n(e))) : i.ctx;
89
+ return t[1] && n ? Nu(i.ctx.slice(), t[1](n(e))) : i.ctx;
90
90
  }
91
91
  function qn(t, e, i, n) {
92
92
  if (t[2] && n) {
@@ -130,21 +130,21 @@ function Vl(t) {
130
130
  ];
131
131
  }
132
132
  const ir = typeof window != "undefined";
133
- let Ru = ir ? () => window.performance.now() : () => Date.now(), Ps = ir ? (t) => requestAnimationFrame(t) : Q;
134
- const xn = /* @__PURE__ */ new Set();
133
+ let Ru = ir ? () => window.performance.now() : () => Date.now(), Cs = ir ? (t) => requestAnimationFrame(t) : Q;
134
+ const Nn = /* @__PURE__ */ new Set();
135
135
  function nr(t) {
136
- xn.forEach((e) => {
137
- e.c(t) || (xn.delete(e), e.f());
138
- }), xn.size !== 0 && Ps(nr);
136
+ Nn.forEach((e) => {
137
+ e.c(t) || (Nn.delete(e), e.f());
138
+ }), Nn.size !== 0 && Cs(nr);
139
139
  }
140
140
  function Fu(t) {
141
141
  let e;
142
- return xn.size === 0 && Ps(nr), {
142
+ return Nn.size === 0 && Cs(nr), {
143
143
  promise: new Promise((i) => {
144
- xn.add(e = { c: t, f: i });
144
+ Nn.add(e = { c: t, f: i });
145
145
  }),
146
146
  abort() {
147
- xn.delete(e);
147
+ Nn.delete(e);
148
148
  }
149
149
  };
150
150
  }
@@ -275,7 +275,7 @@ function Gu(t, e) {
275
275
  o && (t.style.animation = n.join(", "), Jo -= o, Jo || Xu());
276
276
  }
277
277
  function Xu() {
278
- Ps(() => {
278
+ Cs(() => {
279
279
  Jo || (Zo.forEach((t) => {
280
280
  const { ownerNode: e } = t.stylesheet;
281
281
  e && O(e);
@@ -298,22 +298,22 @@ function Qu(t) {
298
298
  sr().$$.on_destroy.push(t);
299
299
  }
300
300
  const jn = [], oe = [];
301
- let Nn = [];
302
- const Zs = [], lr = /* @__PURE__ */ Promise.resolve();
303
- let Js = !1;
301
+ let xn = [];
302
+ const Js = [], lr = /* @__PURE__ */ Promise.resolve();
303
+ let Ks = !1;
304
304
  function ar() {
305
- Js || (Js = !0, lr.then(c));
305
+ Ks || (Ks = !0, lr.then(c));
306
306
  }
307
307
  function rr() {
308
308
  return ar(), lr;
309
309
  }
310
310
  function at(t) {
311
- Nn.push(t);
311
+ xn.push(t);
312
312
  }
313
313
  function be(t) {
314
- Zs.push(t);
314
+ Js.push(t);
315
315
  }
316
- const js = /* @__PURE__ */ new Set();
316
+ const zs = /* @__PURE__ */ new Set();
317
317
  let Wn = 0;
318
318
  function c() {
319
319
  if (Wn !== 0)
@@ -330,15 +330,15 @@ function c() {
330
330
  }
331
331
  for (no(null), jn.length = 0, Wn = 0; oe.length; )
332
332
  oe.pop()();
333
- for (let e = 0; e < Nn.length; e += 1) {
334
- const i = Nn[e];
335
- js.has(i) || (js.add(i), i());
333
+ for (let e = 0; e < xn.length; e += 1) {
334
+ const i = xn[e];
335
+ zs.has(i) || (zs.add(i), i());
336
336
  }
337
- Nn.length = 0;
337
+ xn.length = 0;
338
338
  } while (jn.length);
339
- for (; Zs.length; )
340
- Zs.pop()();
341
- Js = !1, js.clear(), no(t);
339
+ for (; Js.length; )
340
+ Js.pop()();
341
+ Ks = !1, zs.clear(), no(t);
342
342
  }
343
343
  function $u(t) {
344
344
  if (t.fragment !== null) {
@@ -349,7 +349,7 @@ function $u(t) {
349
349
  }
350
350
  function ec(t) {
351
351
  const e = [], i = [];
352
- Nn.forEach((n) => t.indexOf(n) === -1 ? e.push(n) : i.push(n)), i.forEach((n) => n()), Nn = e;
352
+ xn.forEach((n) => t.indexOf(n) === -1 ? e.push(n) : i.push(n)), i.forEach((n) => n()), xn = e;
353
353
  }
354
354
  let Gn;
355
355
  function tc() {
@@ -357,7 +357,7 @@ function tc() {
357
357
  Gn = null;
358
358
  })), Gn;
359
359
  }
360
- function zs(t, e, i) {
360
+ function Ls(t, e, i) {
361
361
  t.dispatchEvent(Zu(`${e ? "intro" : "outro"}${i}`));
362
362
  }
363
363
  const Yo = /* @__PURE__ */ new Set();
@@ -419,8 +419,8 @@ function Ol(t, e, i, n) {
419
419
  b: m
420
420
  };
421
421
  m || (E.group = ln, ln.r += 1), "inert" in t && (m ? d !== void 0 && (t.inert = d) : (d = /** @type {HTMLElement} */
422
- t.inert, t.inert = !0)), a || r ? r = E : (S && (g(), u = Wl(t, l, m, v, y, P, S)), m && p(0, 1), a = f(E, v), at(() => zs(t, m, "start")), Fu((D) => {
423
- if (r && D > r.start && (a = f(r, v), r = null, zs(t, a.b, "start"), S && (g(), u = Wl(
422
+ t.inert, t.inert = !0)), a || r ? r = E : (S && (g(), u = Wl(t, l, m, v, y, P, S)), m && p(0, 1), a = f(E, v), at(() => Ls(t, m, "start")), Fu((D) => {
423
+ if (r && D > r.start && (a = f(r, v), r = null, Ls(t, a.b, "start"), S && (g(), u = Wl(
424
424
  t,
425
425
  l,
426
426
  a.b,
@@ -430,7 +430,7 @@ function Ol(t, e, i, n) {
430
430
  s.css
431
431
  ))), a) {
432
432
  if (D >= a.end)
433
- p(l = a.b, 1 - l), zs(t, a.b, "end"), r || (a.b ? g() : --a.group.r || rt(a.group.c)), a = null;
433
+ p(l = a.b, 1 - l), Ls(t, a.b, "end"), r || (a.b ? g() : --a.group.r || rt(a.group.c)), a = null;
434
434
  else if (D >= a.start) {
435
435
  const w = D - a.start;
436
436
  l = a.a + a.d * P(w / a.duration), p(l, 1 - l);
@@ -554,7 +554,7 @@ class Te {
554
554
  *
555
555
  * @type {any}
556
556
  */
557
- Es(this, "$$");
557
+ Ms(this, "$$");
558
558
  /**
559
559
  * ### PRIVATE API
560
560
  *
@@ -562,7 +562,7 @@ class Te {
562
562
  *
563
563
  * @type {any}
564
564
  */
565
- Es(this, "$$set");
565
+ Ms(this, "$$set");
566
566
  }
567
567
  /** @returns {void} */
568
568
  $destroy() {
@@ -588,12 +588,12 @@ class Te {
588
588
  * @returns {void}
589
589
  */
590
590
  $set(e) {
591
- this.$$set && !Nu(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
591
+ this.$$set && !xu(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
592
592
  }
593
593
  }
594
594
  const lc = "4";
595
595
  typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(lc);
596
- const ac = "@beyondwords/player", oo = "0.1.52", yi = (t, e) => {
596
+ const ac = "@beyondwords/player", oo = "0.1.53", yi = (t, e) => {
597
597
  t = [t].flat().join(`
598
598
  `);
599
599
  let i = `${ac}:
@@ -646,24 +646,24 @@ function Ko(t, e, i) {
646
646
  return dc(n);
647
647
  }
648
648
  const Al = ["user", "media", "browser", "media-session-api", "google-ima-sdk", "websocket"], ur = ["inline-player", "bottom-widget", "segment", "segment-widget"], fc = ["handled", "ignored-due-to-advert", "ignored-due-to-scrubbing", "ignored-due-to-precedence"], mc = ["load", "play", "play_progress", "ad_link_click"], hc = ["phone", "tablet", "desktop", "ios", "android"], _c = ["content", "ad"], Ac = (t) => {
649
- Ne(t, "type", (e) => yl(e)), Ne(t, "description", (e) => e.length > 0), Ne(t, "initiatedBy", (e) => Al.includes(e));
649
+ xe(t, "type", (e) => yl(e)), xe(t, "description", (e) => e.length > 0), xe(t, "initiatedBy", (e) => Al.includes(e));
650
650
  }, yc = (t) => {
651
- Ne(t, "type", (e) => yl(e)), Ne(t, "description", (e) => e.length > 0), Ne(t, "initiatedBy", (e) => Al.includes(e)), Ne(t, "emittedFrom", (e) => ur.includes(e)), Ne(t, "id", (e) => so(e)), Ne(t, "createdAt", (e) => Ks(e)), Ne(t, "status", (e) => e === "pending");
651
+ xe(t, "type", (e) => yl(e)), xe(t, "description", (e) => e.length > 0), xe(t, "initiatedBy", (e) => Al.includes(e)), xe(t, "emittedFrom", (e) => ur.includes(e)), xe(t, "id", (e) => so(e)), xe(t, "createdAt", (e) => Gs(e)), xe(t, "status", (e) => e === "pending");
652
652
  }, vc = (t) => {
653
- Ne(t, "type", (e) => yl(e)), Ne(t, "description", (e) => e.length > 0), Ne(t, "initiatedBy", (e) => Al.includes(e)), Ne(t, "emittedFrom", (e) => ur.includes(e)), Ne(t, "id", (e) => so(e)), Ne(t, "createdAt", (e) => Ks(e)), Ne(t, "status", (e) => fc.includes(e)), Ne(t, "changedProps", (e) => typeof e == "object"), Ne(t, "processedAt", (e) => Ks(e));
653
+ xe(t, "type", (e) => yl(e)), xe(t, "description", (e) => e.length > 0), xe(t, "initiatedBy", (e) => Al.includes(e)), xe(t, "emittedFrom", (e) => ur.includes(e)), xe(t, "id", (e) => so(e)), xe(t, "createdAt", (e) => Gs(e)), xe(t, "status", (e) => fc.includes(e)), xe(t, "changedProps", (e) => typeof e == "object"), xe(t, "processedAt", (e) => Gs(e));
654
654
  }, bc = (t) => {
655
- Ne(t, "event_type", (e) => mc.includes(e)), Ne(t, "device_type", (e) => hc.includes(e)), Ne(t, "media_type", (e) => _c.includes(e)), Ne(t, "content_id", (e) => !e || so(e)), Ne(t, "project_id", (e) => !e || e > 0), Ne(t, "analytics_id", (e) => !e || e > 0), Ne(t, "ad_id", (e) => !e || e > 0), Ne(t, "media_id", (e) => !e || e > 0), Ne(t, "local_storage_id", (e) => !e || so(e)), Ne(t, "listen_session_id", (e) => !e || so(e)), Ne(t, "session_created_at", (e) => e >= 0), Ne(t, "duration", (e) => e >= 0), Ne(t, "listen_length_percent", (e) => e >= 0 && e <= 100), Ne(t, "listen_length_seconds", (e) => e >= 0), Ne(t, "speed", (e) => e >= 0), Ne(t, "location", (e) => e.length > 0), Ne(t, "referrer", (e) => typeof e == "string"), Ne(t, "player_version", (e) => e.length > 0), Ne(t, "player_npm_version", (e) => e.length > 0);
655
+ xe(t, "event_type", (e) => mc.includes(e)), xe(t, "device_type", (e) => hc.includes(e)), xe(t, "media_type", (e) => _c.includes(e)), xe(t, "content_id", (e) => !e || so(e)), xe(t, "project_id", (e) => !e || e > 0), xe(t, "analytics_id", (e) => !e || e > 0), xe(t, "ad_id", (e) => !e || e > 0), xe(t, "media_id", (e) => !e || e > 0), xe(t, "local_storage_id", (e) => !e || so(e)), xe(t, "listen_session_id", (e) => !e || so(e)), xe(t, "session_created_at", (e) => e >= 0), xe(t, "duration", (e) => e >= 0), xe(t, "listen_length_percent", (e) => e >= 0 && e <= 100), xe(t, "listen_length_seconds", (e) => e >= 0), xe(t, "speed", (e) => e >= 0), xe(t, "location", (e) => e.length > 0), xe(t, "referrer", (e) => typeof e == "string"), xe(t, "player_version", (e) => e.length > 0), xe(t, "player_npm_version", (e) => e.length > 0);
656
656
  }, yl = (t) => {
657
657
  t = t || "<invalid>";
658
658
  const e = t[0] === t[0].toUpperCase(), i = t.match(/[^a-zA-Z]/);
659
659
  return e && !i;
660
- }, Ks = (t) => {
660
+ }, Gs = (t) => {
661
661
  try {
662
662
  return new Date(Date.parse(t)).toISOString() === t;
663
663
  } catch (e) {
664
664
  return !1;
665
665
  }
666
- }, Ne = (t, e, i) => {
666
+ }, xe = (t, e, i) => {
667
667
  Object.prototype.hasOwnProperty.call(t, e) || yi(`Invalid event: missing a '${e}' property`, t), i(t[e]) || yi(`Invalid event: '${e}: ${t[e]}' is invalid`, t);
668
668
  }, ve = (t) => {
669
669
  Ac(t);
@@ -682,19 +682,19 @@ const Al = ["user", "media", "browser", "media-session-api", "google-ima-sdk", "
682
682
  return i.search = n.toString(), i.toString();
683
683
  }, pc = (t) => {
684
684
  var o;
685
- const e = Gs(t);
685
+ const e = Xs(t);
686
686
  if (!e)
687
687
  return "";
688
688
  let i = e, n = -1;
689
689
  for (const [s, l] of e.searchParams) {
690
- const a = Gs(l);
690
+ const a = Xs(l);
691
691
  if (!a)
692
692
  continue;
693
693
  const r = Sc[s] || 0;
694
694
  r <= n || (i = a, n = r);
695
695
  }
696
696
  return ((o = i == null ? void 0 : i.hostname) == null ? void 0 : o.replace(/^www./, "")) || "";
697
- }, Gs = (t) => {
697
+ }, Xs = (t) => {
698
698
  try {
699
699
  return new URL(t);
700
700
  } catch (e) {
@@ -713,8 +713,8 @@ const Al = ["user", "media", "browser", "media-session-api", "google-ima-sdk", "
713
713
  r: 2,
714
714
  l: 1
715
715
  }, Ml = {
716
- nonPersonalizedDaisybit: "CP3MC8AP3MC8AAAAAAENDgCAAEIAAAAAAAAAg1NX_H__bW9r8X7_aft0eY1P9_j77sQxBhfJE-4F3LvW_JwXx2E5NF36tqoKmRoEu3ZBIUNlHJHUTVmwaogVryHsakWcoTNKJ6BkkFMRM2dYCF5vm4tjeQKY5_p_d3fx2D-t_dv839zzz8VHn3e5fue0-PCdU5-9Dfn9fRfb-9IP9_78v8v8_l_rk2_eT13_pcvr_D--f_87_XW-9_cAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAA.Ig1NX_H__bX9v-X7_6ft0eY1f9_j77sQxBhfJs-4F3LvW_JwX32E7NF36tq4KmRoEu3ZBIUNtHJnUTVmxaogVrzHsakWcoTNKJ-BkkHMRe2dYCF5vm4tjeQKZ5_p_d3f52T_9_dv-39zz39Vnv3e9fuf1-Pjde5_9H_v_fRfb-_If9_7-_8v8_t_rk2_eT1__9evv__--________9_8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAE",
717
- personalizedDaisybit: "CP3MC8AP3MC8AAAAAAENDgCAAHIAAAAAAAAAg1NX_H__bW9r8X7_aft0eY1P9_j77sQxBhfJE-4F3LvW_JwXx2E5NF36tqoKmRoEu3ZBIUNlHJHUTVmwaogVryHsakWcoTNKJ6BkkFMRM2dYCF5vm4tjeQKY5_p_d3fx2D-t_dv839zzz8VHn3e5fue0-PCdU5-9Dfn9fRfb-9IP9_78v8v8_l_rk2_eT13_pcvr_D--f_87_XW-9_cAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAA.Ig1NX_H__bX9v-X7_6ft0eY1f9_j77sQxBhfJs-4F3LvW_JwX32E7NF36tq4KmRoEu3ZBIUNtHJnUTVmxaogVrzHsakWcoTNKJ-BkkHMRe2dYCF5vm4tjeQKZ5_p_d3f52T_9_dv-39zz39Vnv3e9fuf1-Pjde5_9H_v_fRfb-_If9_7-_8v8_t_rk2_eT1__9evv__--________9_8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAE"
716
+ nonPersonalizedDaisybit: "CP4N9sAP4N9sAAAAAAENDgCAAEIAAAAAAAAAg1NX_H__bW9r8X7_aft0eY1P9_j77sQxBhfJE-4F3LvW_JwXx2E5NF36tqoKmRoEu3ZBIUNlHJHUTVmwaogVryHsakWcoTNKJ6BkkFMRM2dYCF5vm4tjeQKY5_p_d3fx2D-t_dv839zzz8VHn3e5fue0-PCdU5-9Dfn9fRfb-9IP9_78v8v8_l_rk2_eT13_pcvr_D--f_87_XW-9_cAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAA.Ig1NX_H__bX9v-X7_6ft0eY1f9_j77sQxBhfJs-4F3LvW_JwX32E7NF36tq4KmRoEu3ZBIUNtHJnUTVmxaogVrzHsakWcoTNKJ-BkkHMRe2dYCF5vm4tjeQKZ5_p_d3f52T_9_dv-39zz39Vnv3e9fuf1-Pjde5_9H_v_fRfb-_If9_7-_8v8_t_rk2_eT1__9evv__--________9_8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAE",
717
+ personalizedDaisybit: "CP4N9sAP4N9sAAAAAAENDgCAAHIAAAAAAAAAg1NX_H__bW9r8X7_aft0eY1P9_j77sQxBhfJE-4F3LvW_JwXx2E5NF36tqoKmRoEu3ZBIUNlHJHUTVmwaogVryHsakWcoTNKJ6BkkFMRM2dYCF5vm4tjeQKY5_p_d3fx2D-t_dv839zzz8VHn3e5fue0-PCdU5-9Dfn9fRfb-9IP9_78v8v8_l_rk2_eT13_pcvr_D--f_87_XW-9_cAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAA.Ig1NX_H__bX9v-X7_6ft0eY1f9_j77sQxBhfJs-4F3LvW_JwX32E7NF36tq4KmRoEu3ZBIUNtHJnUTVmxaogVrzHsakWcoTNKJ-BkkHMRe2dYCF5vm4tjeQKZ5_p_d3f52T_9_dv-39zz39Vnv3e9fuf1-Pjde5_9H_v_fRfb-_If9_7-_8v8_t_rk2_eT1__9evv__--________9_8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAE"
718
718
  }, wc = (t, e, i, n, o, s, l, a, r, u, d, g) => {
719
719
  const f = window.location.hostname === "localhost";
720
720
  return Tc(t) ? Pc(f, i, g) : cr(t) ? Cc(f, t, e, i, n, o, s, l, a, r, u, d) : {};
@@ -725,7 +725,7 @@ const Al = ["user", "media", "browser", "media-session-api", "google-ima-sdk", "
725
725
  var m, y;
726
726
  const f = {};
727
727
  e != null && e.includes("cid=") || console.warn("BeyondWords.Player: The DAX VAST URL does not contain the 'cid' parameter."), window.daxListenerId && (f.dax_listenerid = window.daxListenerId), n === "personalized" ? f.gdpr_consent = Ml.personalizedDaisybit : f.gdpr_consent = Ml.nonPersonalizedDaisybit, f.att = 0, d && (f.idfv = d);
728
- const A = (y = (m = Gs(window.location.href)) == null ? void 0 : m.hostname) == null ? void 0 : y.replace(/^www./, "");
728
+ const A = (y = (m = Xs(window.location.href)) == null ? void 0 : m.hostname) == null ? void 0 : y.replace(/^www./, "");
729
729
  if (A && !t && (f.u = A), f.adc_min = 1, f.adc_max = 1, i === "pre-roll" ? f.sd = 0 : i === "mid-roll" ? f.sd = -1 : i === "post-roll" && (f.sd = -2), f.delivery_type = "streaming", g && (f.bi = g), f.content_language = r.split(/[_-]/)[0], f.collectionid = s ? `project-${s}` : "no-project", f.showid = l ? `playlist-${l}` : "no-playlist", f.episodeid = a ? `content-${a}` : "no-content", f.explicit = !1, f.dax_player = "BeyondWords Player", f.dax_version = oo, u === "ios" ? f.dax_platform = "iOS" : u === "android" ? f.dax_platform = "Android" : f.dax_platform = "web", f.isLoggedIn = !1, o > 0) {
730
730
  const v = o * (window.devicePixelRatio || 1);
731
731
  f.comp_size = `${v}x${v}`, f.is_comp_allowed = 1;
@@ -779,7 +779,7 @@ function Ec(t, e, i) {
779
779
  if (!q) {
780
780
  q = !0, v.pause(), v.load(), w.initialize();
781
781
  try {
782
- R.init(v.clientWidth, v.clientHeight, google.ima.ViewMode.NORMAL), R.start(), N(), L();
782
+ R.init(v.clientWidth, v.clientHeight, google.ima.ViewMode.NORMAL), R.start(), x(), L();
783
783
  } catch (G) {
784
784
  k(null, G);
785
785
  }
@@ -856,7 +856,7 @@ function Ec(t, e, i) {
856
856
  mediaUrl: o,
857
857
  errorMessage: "The ima3.js script was blocked."
858
858
  }));
859
- }, N = () => {
859
+ }, x = () => {
860
860
  const G = document.createTreeWalker(D);
861
861
  let J;
862
862
  for (; J = G.nextNode(); ) {
@@ -1067,7 +1067,7 @@ const Lc = (t, e) => bi(void 0, null, function* () {
1067
1067
  return dr(t, e) && (yield Dc()), Rn;
1068
1068
  }), dr = (t, e) => !(!(t && e) || !((t == null ? void 0 : t.contentType) === "application/x-mpegURL") || (e == null ? void 0 : e.canPlayType("application/vnd.apple.mpegurl")) || !(Rn ? Rn.isSupported() : !0)), Dc = () => bi(void 0, null, function* () {
1069
1069
  Rn || (Rn || (Rn = (yield import("././././././hls.light.min.js")).default), Rn || (Rn = window.Hls));
1070
- }), xc = () => {
1070
+ }), Nc = () => {
1071
1071
  const t = {
1072
1072
  maxNumRetry: 1 / 0,
1073
1073
  retryDelayMs: 10,
@@ -1089,7 +1089,7 @@ const Lc = (t, e) => bi(void 0, null, function* () {
1089
1089
  manifestLoadPolicy: i,
1090
1090
  steeringManifestLoadPolicy: i
1091
1091
  };
1092
- }, Nc = (t, e, i, n, o, s, l) => {
1092
+ }, xc = (t, e, i, n, o, s, l) => {
1093
1093
  var d, g;
1094
1094
  if (window.disableMediaLoad || ((d = n == null ? void 0 : n.detachMedia) == null || d.call(n), (g = n == null ? void 0 : n.destroy) == null || g.call(n), n = null, !e || !t))
1095
1095
  return;
@@ -1103,7 +1103,7 @@ const Lc = (t, e) => bi(void 0, null, function* () {
1103
1103
  autoStartLoad: !1,
1104
1104
  // Defer loading audio fragments until playback begins.
1105
1105
  maxBufferLength: 5
1106
- }, xc())), n.on(i.Events.ERROR, o), n.on(i.Events.MANIFEST_LOADED, () => {
1106
+ }, Nc())), n.on(i.Events.ERROR, o), n.on(i.Events.MANIFEST_LOADED, () => {
1107
1107
  n.manifestLoaded = !0, s();
1108
1108
  }), n.loadSource(t.url), n.attachMedia(e);
1109
1109
  } else
@@ -1898,10 +1898,10 @@ const Lc = (t, e) => bi(void 0, null, function* () {
1898
1898
  maximizeVideo: "Maximize video",
1899
1899
  changePlaybackRate: "Change playback rate",
1900
1900
  downloadAudio: "Download audio"
1901
- }, xd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1901
+ }, Nd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1902
1902
  __proto__: null,
1903
1903
  default: Dd
1904
- }, Symbol.toStringTag, { value: "Module" })), Nd = {
1904
+ }, Symbol.toStringTag, { value: "Module" })), xd = {
1905
1905
  isDefaultForLanguage: !0,
1906
1906
  listenToThisArticle: "Makinig sa artikulong ito",
1907
1907
  videoInWidget: "Video is playing in widget",
@@ -1930,7 +1930,7 @@ const Lc = (t, e) => bi(void 0, null, function* () {
1930
1930
  downloadAudio: "Download audio"
1931
1931
  }, Rd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1932
1932
  __proto__: null,
1933
- default: Nd
1933
+ default: xd
1934
1934
  }, Symbol.toStringTag, { value: "Module" })), Fd = {
1935
1935
  isDefaultForLanguage: !0,
1936
1936
  listenToThisArticle: "Écoutez cet article",
@@ -2708,10 +2708,10 @@ const Lc = (t, e) => bi(void 0, null, function* () {
2708
2708
  maximizeVideo: "Maximize video",
2709
2709
  changePlaybackRate: "Change playback rate",
2710
2710
  downloadAudio: "Download audio"
2711
- }, xg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2711
+ }, Ng = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2712
2712
  __proto__: null,
2713
2713
  default: Dg
2714
- }, Symbol.toStringTag, { value: "Module" })), Ng = {
2714
+ }, Symbol.toStringTag, { value: "Module" })), xg = {
2715
2715
  isDefaultForLanguage: !0,
2716
2716
  listenToThisArticle: "Yoká lisolo oyo",
2717
2717
  videoInWidget: "Video is playing in widget",
@@ -2740,7 +2740,7 @@ const Lc = (t, e) => bi(void 0, null, function* () {
2740
2740
  downloadAudio: "Download audio"
2741
2741
  }, Rg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2742
2742
  __proto__: null,
2743
- default: Ng
2743
+ default: xg
2744
2744
  }, Symbol.toStringTag, { value: "Module" })), Fg = {
2745
2745
  isDefaultForLanguage: !0,
2746
2746
  listenToThisArticle: "ຟັງບົດຄວາມນີ້",
@@ -3491,7 +3491,7 @@ const Lc = (t, e) => bi(void 0, null, function* () {
3491
3491
  }, Df = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3492
3492
  __proto__: null,
3493
3493
  default: Lf
3494
- }, Symbol.toStringTag, { value: "Module" })), xf = {
3494
+ }, Symbol.toStringTag, { value: "Module" })), Nf = {
3495
3495
  isDefaultForLanguage: !0,
3496
3496
  listenToThisArticle: "Umva iyi ngingo",
3497
3497
  videoInWidget: "Video is playing in widget",
@@ -3518,9 +3518,9 @@ const Lc = (t, e) => bi(void 0, null, function* () {
3518
3518
  maximizeVideo: "Maximize video",
3519
3519
  changePlaybackRate: "Change playback rate",
3520
3520
  downloadAudio: "Download audio"
3521
- }, Nf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3521
+ }, xf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3522
3522
  __proto__: null,
3523
- default: xf
3523
+ default: Nf
3524
3524
  }, Symbol.toStringTag, { value: "Module" })), Rf = {
3525
3525
  isDefaultForLanguage: !0,
3526
3526
  listenToThisArticle: "මෙම ලිපියට සවන් දෙන්න",
@@ -4298,7 +4298,7 @@ const Lc = (t, e) => bi(void 0, null, function* () {
4298
4298
  }, D1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4299
4299
  __proto__: null,
4300
4300
  default: L1
4301
- }, Symbol.toStringTag, { value: "Module" })), x1 = {
4301
+ }, Symbol.toStringTag, { value: "Module" })), N1 = {
4302
4302
  isDefaultForLanguage: !0,
4303
4303
  listenToThisArticle: "听这篇文章",
4304
4304
  videoInWidget: "Video is playing in widget",
@@ -4325,9 +4325,9 @@ const Lc = (t, e) => bi(void 0, null, function* () {
4325
4325
  maximizeVideo: "Maximize video",
4326
4326
  changePlaybackRate: "Change playback rate",
4327
4327
  downloadAudio: "Download audio"
4328
- }, N1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4328
+ }, x1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4329
4329
  __proto__: null,
4330
- default: x1
4330
+ default: N1
4331
4331
  }, Symbol.toStringTag, { value: "Module" })), R1 = {
4332
4332
  isDefaultForLanguage: !0,
4333
4333
  listenToThisArticle: "Lalela lesi sihloko",
@@ -4387,8 +4387,8 @@ const Lc = (t, e) => bi(void 0, null, function* () {
4387
4387
  `The locale '${n}' is missing the translation key '${s}'.`,
4388
4388
  `Please set '${s}: "something"' in src/translations/${n}.ts`
4389
4389
  ]);
4390
- }, J1 = /* @__PURE__ */ Object.assign({ "../translations/af.ts": Uc, "../translations/ak.ts": qc, "../translations/am.ts": Zc, "../translations/ar.ts": Kc, "../translations/as.ts": Xc, "../translations/az.ts": $c, "../translations/be.ts": td, "../translations/bg.ts": nd, "../translations/bm.ts": sd, "../translations/bn.ts": ad, "../translations/bs.ts": ud, "../translations/ca.ts": dd, "../translations/ckb.ts": fd, "../translations/cs.ts": hd, "../translations/cy.ts": Ad, "../translations/da.ts": vd, "../translations/de.ts": kd, "../translations/ee.ts": Sd, "../translations/el.ts": Td, "../translations/en.ts": Cd, "../translations/eo.ts": Bd, "../translations/es.ts": Wd, "../translations/et.ts": Ed, "../translations/eu.ts": jd, "../translations/fa.ts": Ld, "../translations/fi.ts": xd, "../translations/fil.ts": Rd, "../translations/fr.ts": Ud, "../translations/ga.ts": qd, "../translations/gd.ts": Zd, "../translations/gl.ts": Kd, "../translations/gu.ts": Xd, "../translations/ha.ts": $d, "../translations/haw.ts": tg, "../translations/he.ts": ng, "../translations/hi.ts": sg, "../translations/hr.ts": ag, "../translations/hu.ts": ug, "../translations/hy.ts": dg, "../translations/id.ts": fg, "../translations/ig.ts": hg, "../translations/is.ts": Ag, "../translations/it.ts": vg, "../translations/iw.ts": kg, "../translations/ja.ts": Sg, "../translations/ka.ts": Tg, "../translations/kk.ts": Cg, "../translations/km.ts": Bg, "../translations/kn.ts": Wg, "../translations/ko.ts": Eg, "../translations/ky.ts": jg, "../translations/lb.ts": Lg, "../translations/lg.ts": xg, "../translations/ln.ts": Rg, "../translations/lo.ts": Ug, "../translations/lt.ts": qg, "../translations/lv.ts": Zg, "../translations/mg.ts": Kg, "../translations/mk.ts": Xg, "../translations/ml.ts": $g, "../translations/mn.ts": tf, "../translations/mr.ts": of, "../translations/ms.ts": lf, "../translations/mt.ts": rf, "../translations/my.ts": cf, "../translations/nb.ts": gf, "../translations/ne.ts": mf, "../translations/nl.ts": _f, "../translations/nn.ts": yf, "../translations/no.ts": bf, "../translations/om.ts": pf, "../translations/or.ts": wf, "../translations/pa.ts": Pf, "../translations/pl.ts": If, "../translations/ps.ts": Vf, "../translations/pt.ts": Of, "../translations/qu.ts": Mf, "../translations/ro.ts": zf, "../translations/ru.ts": Df, "../translations/rw.ts": Nf, "../translations/si.ts": Ff, "../translations/sk.ts": Hf, "../translations/sl.ts": Yf, "../translations/sn.ts": Jf, "../translations/so.ts": Gf, "../translations/sq.ts": Qf, "../translations/sr.ts": e1, "../translations/sv.ts": i1, "../translations/sw.ts": o1, "../translations/ta.ts": l1, "../translations/te.ts": r1, "../translations/tg.ts": c1, "../translations/th.ts": g1, "../translations/ti.ts": m1, "../translations/tr.ts": _1, "../translations/tt.ts": y1, "../translations/ug.ts": b1, "../translations/uk.ts": p1, "../translations/ur.ts": w1, "../translations/uz.ts": P1, "../translations/vi.ts": I1, "../translations/yi.ts": V1, "../translations/yo.ts": O1, "../translations/zh-HK.ts": M1, "../translations/zh-MO.ts": z1, "../translations/zh-TW.ts": D1, "../translations/zh.ts": N1, "../translations/zu.ts": F1 }), fr = Object.entries(J1).map(([t, e]) => [U1(t), e.default]), Xs = Object.fromEntries(fr.filter(([t, e]) => t.includes("-"))), Qs = Object.fromEntries(fr.filter(([t, e]) => e.isDefaultForLanguage).map(([t, e]) => [t.split("-")[0], e]));
4391
- H1(Xs, Qs);
4390
+ }, J1 = /* @__PURE__ */ Object.assign({ "../translations/af.ts": Uc, "../translations/ak.ts": qc, "../translations/am.ts": Zc, "../translations/ar.ts": Kc, "../translations/as.ts": Xc, "../translations/az.ts": $c, "../translations/be.ts": td, "../translations/bg.ts": nd, "../translations/bm.ts": sd, "../translations/bn.ts": ad, "../translations/bs.ts": ud, "../translations/ca.ts": dd, "../translations/ckb.ts": fd, "../translations/cs.ts": hd, "../translations/cy.ts": Ad, "../translations/da.ts": vd, "../translations/de.ts": kd, "../translations/ee.ts": Sd, "../translations/el.ts": Td, "../translations/en.ts": Cd, "../translations/eo.ts": Bd, "../translations/es.ts": Wd, "../translations/et.ts": Ed, "../translations/eu.ts": jd, "../translations/fa.ts": Ld, "../translations/fi.ts": Nd, "../translations/fil.ts": Rd, "../translations/fr.ts": Ud, "../translations/ga.ts": qd, "../translations/gd.ts": Zd, "../translations/gl.ts": Kd, "../translations/gu.ts": Xd, "../translations/ha.ts": $d, "../translations/haw.ts": tg, "../translations/he.ts": ng, "../translations/hi.ts": sg, "../translations/hr.ts": ag, "../translations/hu.ts": ug, "../translations/hy.ts": dg, "../translations/id.ts": fg, "../translations/ig.ts": hg, "../translations/is.ts": Ag, "../translations/it.ts": vg, "../translations/iw.ts": kg, "../translations/ja.ts": Sg, "../translations/ka.ts": Tg, "../translations/kk.ts": Cg, "../translations/km.ts": Bg, "../translations/kn.ts": Wg, "../translations/ko.ts": Eg, "../translations/ky.ts": jg, "../translations/lb.ts": Lg, "../translations/lg.ts": Ng, "../translations/ln.ts": Rg, "../translations/lo.ts": Ug, "../translations/lt.ts": qg, "../translations/lv.ts": Zg, "../translations/mg.ts": Kg, "../translations/mk.ts": Xg, "../translations/ml.ts": $g, "../translations/mn.ts": tf, "../translations/mr.ts": of, "../translations/ms.ts": lf, "../translations/mt.ts": rf, "../translations/my.ts": cf, "../translations/nb.ts": gf, "../translations/ne.ts": mf, "../translations/nl.ts": _f, "../translations/nn.ts": yf, "../translations/no.ts": bf, "../translations/om.ts": pf, "../translations/or.ts": wf, "../translations/pa.ts": Pf, "../translations/pl.ts": If, "../translations/ps.ts": Vf, "../translations/pt.ts": Of, "../translations/qu.ts": Mf, "../translations/ro.ts": zf, "../translations/ru.ts": Df, "../translations/rw.ts": xf, "../translations/si.ts": Ff, "../translations/sk.ts": Hf, "../translations/sl.ts": Yf, "../translations/sn.ts": Jf, "../translations/so.ts": Gf, "../translations/sq.ts": Qf, "../translations/sr.ts": e1, "../translations/sv.ts": i1, "../translations/sw.ts": o1, "../translations/ta.ts": l1, "../translations/te.ts": r1, "../translations/tg.ts": c1, "../translations/th.ts": g1, "../translations/ti.ts": m1, "../translations/tr.ts": _1, "../translations/tt.ts": y1, "../translations/ug.ts": b1, "../translations/uk.ts": p1, "../translations/ur.ts": w1, "../translations/uz.ts": P1, "../translations/vi.ts": I1, "../translations/yi.ts": V1, "../translations/yo.ts": O1, "../translations/zh-HK.ts": M1, "../translations/zh-MO.ts": z1, "../translations/zh-TW.ts": D1, "../translations/zh.ts": x1, "../translations/zu.ts": F1 }), fr = Object.entries(J1).map(([t, e]) => [U1(t), e.default]), Qs = Object.fromEntries(fr.filter(([t, e]) => t.includes("-"))), $s = Object.fromEntries(fr.filter(([t, e]) => e.isDefaultForLanguage).map(([t, e]) => [t.split("-")[0], e]));
4391
+ H1(Qs, $s);
4392
4392
  const bt = (t, { locale: e } = {}) => {
4393
4393
  const i = K1(e);
4394
4394
  return i[t] || yi([
@@ -4399,10 +4399,10 @@ const bt = (t, { locale: e } = {}) => {
4399
4399
  const e = [t, ...navigator.languages, "en"].filter((i) => i);
4400
4400
  for (const i of e) {
4401
4401
  const n = i.split("-")[0];
4402
- if (Xs[i])
4403
- return Xs[i];
4404
- if (Qs[n])
4405
- return Qs[n];
4402
+ if (Qs[i])
4403
+ return Qs[i];
4404
+ if ($s[n])
4405
+ return $s[n];
4406
4406
  }
4407
4407
  }, ri = (t) => {
4408
4408
  t.detail !== 0 && t.currentTarget.blur();
@@ -4413,7 +4413,7 @@ const bt = (t, { locale: e } = {}) => {
4413
4413
  }, vl = (t, e) => {
4414
4414
  const i = t.findIndex((l) => l.startTime > e), n = i === -1, o = i - 1;
4415
4415
  return o === -1 ? 0 : n ? t.length - 1 : o;
4416
- }, xl = (t, e) => {
4416
+ }, Nl = (t, e) => {
4417
4417
  const i = X1(e == null ? void 0 : e.currentSrc), n = t.find((o) => {
4418
4418
  var a;
4419
4419
  const s = o.url && i === Q1(o.url), l = ((a = o.url) == null ? void 0 : a.endsWith(".m3u8")) && (i == null ? void 0 : i.startsWith("blob:"));
@@ -4461,14 +4461,14 @@ var mr = { exports: {} };
4461
4461
  function tm(t) {
4462
4462
  throw new Error('Could not dynamically require "' + t + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
4463
4463
  }
4464
- var Ls = { exports: {} };
4464
+ var Ds = { exports: {} };
4465
4465
  const im = {}, nm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4466
4466
  __proto__: null,
4467
4467
  default: im
4468
4468
  }, Symbol.toStringTag, { value: "Module" })), om = /* @__PURE__ */ em(nm);
4469
- var Nl;
4469
+ var xl;
4470
4470
  function sm() {
4471
- return Nl || (Nl = 1, function(t, e) {
4471
+ return xl || (xl = 1, function(t, e) {
4472
4472
  (function(i, n) {
4473
4473
  t.exports = n();
4474
4474
  })(eo, function() {
@@ -4965,7 +4965,7 @@ function sm() {
4965
4965
  }(Math);
4966
4966
  return i;
4967
4967
  });
4968
- }(Ls)), Ls.exports;
4968
+ }(Ds)), Ds.exports;
4969
4969
  }
4970
4970
  (function(t, e) {
4971
4971
  (function(i, n) {
@@ -4991,8 +4991,8 @@ function sm() {
4991
4991
  var p = v + P, S = y[p];
4992
4992
  y[p] = (S << 8 | S >>> 24) & 16711935 | (S << 24 | S >>> 8) & 4278255360;
4993
4993
  }
4994
- var E = this._hash.words, D = y[v + 0], w = y[v + 1], T = y[v + 2], Z = y[v + 3], R = y[v + 4], q = y[v + 5], ie = y[v + 6], de = y[v + 7], ge = y[v + 8], $ = y[v + 9], ee = y[v + 10], le = y[v + 11], ue = y[v + 12], ae = y[v + 13], ce = y[v + 14], re = y[v + 15], k = E[0], C = E[1], N = E[2], L = E[3];
4995
- k = g(k, C, N, L, D, 7, u[0]), L = g(L, k, C, N, w, 12, u[1]), N = g(N, L, k, C, T, 17, u[2]), C = g(C, N, L, k, Z, 22, u[3]), k = g(k, C, N, L, R, 7, u[4]), L = g(L, k, C, N, q, 12, u[5]), N = g(N, L, k, C, ie, 17, u[6]), C = g(C, N, L, k, de, 22, u[7]), k = g(k, C, N, L, ge, 7, u[8]), L = g(L, k, C, N, $, 12, u[9]), N = g(N, L, k, C, ee, 17, u[10]), C = g(C, N, L, k, le, 22, u[11]), k = g(k, C, N, L, ue, 7, u[12]), L = g(L, k, C, N, ae, 12, u[13]), N = g(N, L, k, C, ce, 17, u[14]), C = g(C, N, L, k, re, 22, u[15]), k = f(k, C, N, L, w, 5, u[16]), L = f(L, k, C, N, ie, 9, u[17]), N = f(N, L, k, C, le, 14, u[18]), C = f(C, N, L, k, D, 20, u[19]), k = f(k, C, N, L, q, 5, u[20]), L = f(L, k, C, N, ee, 9, u[21]), N = f(N, L, k, C, re, 14, u[22]), C = f(C, N, L, k, R, 20, u[23]), k = f(k, C, N, L, $, 5, u[24]), L = f(L, k, C, N, ce, 9, u[25]), N = f(N, L, k, C, Z, 14, u[26]), C = f(C, N, L, k, ge, 20, u[27]), k = f(k, C, N, L, ae, 5, u[28]), L = f(L, k, C, N, T, 9, u[29]), N = f(N, L, k, C, de, 14, u[30]), C = f(C, N, L, k, ue, 20, u[31]), k = A(k, C, N, L, q, 4, u[32]), L = A(L, k, C, N, ge, 11, u[33]), N = A(N, L, k, C, le, 16, u[34]), C = A(C, N, L, k, ce, 23, u[35]), k = A(k, C, N, L, w, 4, u[36]), L = A(L, k, C, N, R, 11, u[37]), N = A(N, L, k, C, de, 16, u[38]), C = A(C, N, L, k, ee, 23, u[39]), k = A(k, C, N, L, ae, 4, u[40]), L = A(L, k, C, N, D, 11, u[41]), N = A(N, L, k, C, Z, 16, u[42]), C = A(C, N, L, k, ie, 23, u[43]), k = A(k, C, N, L, $, 4, u[44]), L = A(L, k, C, N, ue, 11, u[45]), N = A(N, L, k, C, re, 16, u[46]), C = A(C, N, L, k, T, 23, u[47]), k = m(k, C, N, L, D, 6, u[48]), L = m(L, k, C, N, de, 10, u[49]), N = m(N, L, k, C, ce, 15, u[50]), C = m(C, N, L, k, q, 21, u[51]), k = m(k, C, N, L, ue, 6, u[52]), L = m(L, k, C, N, Z, 10, u[53]), N = m(N, L, k, C, ee, 15, u[54]), C = m(C, N, L, k, w, 21, u[55]), k = m(k, C, N, L, ge, 6, u[56]), L = m(L, k, C, N, re, 10, u[57]), N = m(N, L, k, C, ie, 15, u[58]), C = m(C, N, L, k, ae, 21, u[59]), k = m(k, C, N, L, R, 6, u[60]), L = m(L, k, C, N, le, 10, u[61]), N = m(N, L, k, C, T, 15, u[62]), C = m(C, N, L, k, $, 21, u[63]), E[0] = E[0] + k | 0, E[1] = E[1] + C | 0, E[2] = E[2] + N | 0, E[3] = E[3] + L | 0;
4994
+ var E = this._hash.words, D = y[v + 0], w = y[v + 1], T = y[v + 2], Z = y[v + 3], R = y[v + 4], q = y[v + 5], ie = y[v + 6], de = y[v + 7], ge = y[v + 8], $ = y[v + 9], ee = y[v + 10], le = y[v + 11], ue = y[v + 12], ae = y[v + 13], ce = y[v + 14], re = y[v + 15], k = E[0], C = E[1], x = E[2], L = E[3];
4995
+ k = g(k, C, x, L, D, 7, u[0]), L = g(L, k, C, x, w, 12, u[1]), x = g(x, L, k, C, T, 17, u[2]), C = g(C, x, L, k, Z, 22, u[3]), k = g(k, C, x, L, R, 7, u[4]), L = g(L, k, C, x, q, 12, u[5]), x = g(x, L, k, C, ie, 17, u[6]), C = g(C, x, L, k, de, 22, u[7]), k = g(k, C, x, L, ge, 7, u[8]), L = g(L, k, C, x, $, 12, u[9]), x = g(x, L, k, C, ee, 17, u[10]), C = g(C, x, L, k, le, 22, u[11]), k = g(k, C, x, L, ue, 7, u[12]), L = g(L, k, C, x, ae, 12, u[13]), x = g(x, L, k, C, ce, 17, u[14]), C = g(C, x, L, k, re, 22, u[15]), k = f(k, C, x, L, w, 5, u[16]), L = f(L, k, C, x, ie, 9, u[17]), x = f(x, L, k, C, le, 14, u[18]), C = f(C, x, L, k, D, 20, u[19]), k = f(k, C, x, L, q, 5, u[20]), L = f(L, k, C, x, ee, 9, u[21]), x = f(x, L, k, C, re, 14, u[22]), C = f(C, x, L, k, R, 20, u[23]), k = f(k, C, x, L, $, 5, u[24]), L = f(L, k, C, x, ce, 9, u[25]), x = f(x, L, k, C, Z, 14, u[26]), C = f(C, x, L, k, ge, 20, u[27]), k = f(k, C, x, L, ae, 5, u[28]), L = f(L, k, C, x, T, 9, u[29]), x = f(x, L, k, C, de, 14, u[30]), C = f(C, x, L, k, ue, 20, u[31]), k = A(k, C, x, L, q, 4, u[32]), L = A(L, k, C, x, ge, 11, u[33]), x = A(x, L, k, C, le, 16, u[34]), C = A(C, x, L, k, ce, 23, u[35]), k = A(k, C, x, L, w, 4, u[36]), L = A(L, k, C, x, R, 11, u[37]), x = A(x, L, k, C, de, 16, u[38]), C = A(C, x, L, k, ee, 23, u[39]), k = A(k, C, x, L, ae, 4, u[40]), L = A(L, k, C, x, D, 11, u[41]), x = A(x, L, k, C, Z, 16, u[42]), C = A(C, x, L, k, ie, 23, u[43]), k = A(k, C, x, L, $, 4, u[44]), L = A(L, k, C, x, ue, 11, u[45]), x = A(x, L, k, C, re, 16, u[46]), C = A(C, x, L, k, T, 23, u[47]), k = m(k, C, x, L, D, 6, u[48]), L = m(L, k, C, x, de, 10, u[49]), x = m(x, L, k, C, ce, 15, u[50]), C = m(C, x, L, k, q, 21, u[51]), k = m(k, C, x, L, ue, 6, u[52]), L = m(L, k, C, x, Z, 10, u[53]), x = m(x, L, k, C, ee, 15, u[54]), C = m(C, x, L, k, w, 21, u[55]), k = m(k, C, x, L, ge, 6, u[56]), L = m(L, k, C, x, re, 10, u[57]), x = m(x, L, k, C, ie, 15, u[58]), C = m(C, x, L, k, ae, 21, u[59]), k = m(k, C, x, L, R, 6, u[60]), L = m(L, k, C, x, le, 10, u[61]), x = m(x, L, k, C, T, 15, u[62]), C = m(C, x, L, k, $, 21, u[63]), E[0] = E[0] + k | 0, E[1] = E[1] + C | 0, E[2] = E[2] + x | 0, E[3] = E[3] + L | 0;
4996
4996
  },
4997
4997
  _doFinalize: function() {
4998
4998
  var y = this._data, v = y.words, P = this._nDataBytes * 8, p = y.sigBytes * 8;
@@ -5046,10 +5046,10 @@ const am = /* @__PURE__ */ $1(lm), rm = (t, e) => {
5046
5046
  }, hr = (t) => {
5047
5047
  const e = BeyondWords.Player.instances(), i = [...e.entries()], n = i.map(([l, a]) => ({ p: l, player: a })), o = um(i);
5048
5048
  let s = t;
5049
- for (; s && !$s(s) && !(o.size === 0 || el(s)); )
5050
- Ds(cm, s, e, n, o), Ds(dm, s, e, n, o), s = s.parentNode;
5051
- for (s = t; s && !$s(s) && !(o.size === 0 || el(s)); )
5052
- Ds(gm, s, e, n, o), s = s.parentNode;
5049
+ for (; s && !el(s) && !(o.size === 0 || tl(s)); )
5050
+ Ns(cm, s, e, n, o), Ns(dm, s, e, n, o), s = s.parentNode;
5051
+ for (s = t; s && !el(s) && !(o.size === 0 || tl(s)); )
5052
+ Ns(gm, s, e, n, o), s = s.parentNode;
5053
5053
  return fm(n), mm(n), n;
5054
5054
  }, um = (t) => {
5055
5055
  const e = /* @__PURE__ */ new Set();
@@ -5059,11 +5059,11 @@ const am = /* @__PURE__ */ $1(lm), rm = (t, e) => {
5059
5059
  return (l = s.segments) == null ? void 0 : l.length;
5060
5060
  }) && e.add(i);
5061
5061
  return e;
5062
- }, $s = (t) => t === document || t === document.body || t === document.head, el = (t) => {
5062
+ }, el = (t) => t === document || t === document.body || t === document.head, tl = (t) => {
5063
5063
  const e = t.nodeName.toLowerCase();
5064
5064
  if (e === "a" || t.onclick || t.onmousedown || e === "img" || e === "audio" || e === "input" || e === "textarea" || t.isContentEditable)
5065
5065
  return !0;
5066
- }, Ds = (t, e, i, n, o) => {
5066
+ }, Ns = (t, e, i, n, o) => {
5067
5067
  if (o.size === 0)
5068
5068
  return;
5069
5069
  const s = t(e);
@@ -5079,18 +5079,21 @@ const am = /* @__PURE__ */ $1(lm), rm = (t, e) => {
5079
5079
  continue;
5080
5080
  u = m, n[l].segment = A, n[l].contentIndex = d, n[l].segmentIndex = f, n[l].segmentElement = e, r = !0;
5081
5081
  }
5082
- a && (!r || $s(e.parentNode)) && o.delete(l);
5082
+ a && (!r || el(e.parentNode)) && o.delete(l);
5083
5083
  }
5084
5084
  }, cm = (t) => {
5085
5085
  const e = t.getAttribute("data-beyondwords-marker");
5086
5086
  return e ? (i) => i.marker === e : null;
5087
5087
  }, dm = (t) => {
5088
- const e = tl(() => il(t)), i = tl(() => Cs(t));
5088
+ const e = Go(() => il(t)), i = Go(() => Is(t));
5089
5089
  return (n) => rm(n.xpath, e()) && n.md5 === i();
5090
5090
  }, gm = (t) => {
5091
- const e = tl(() => Cs(t));
5092
- return (i) => i.md5 === e();
5093
- }, tl = (t) => {
5091
+ const e = Go(() => {
5092
+ var n;
5093
+ return (n = t.textContent) == null ? void 0 : n.trim();
5094
+ }), i = Go(() => Is(t));
5095
+ return (n) => e().length > 0 && n.md5 === i();
5096
+ }, Go = (t) => {
5094
5097
  let e, i;
5095
5098
  return () => (i || (e = t(), i = !0), e);
5096
5099
  }, il = (t) => {
@@ -5099,7 +5102,7 @@ const am = /* @__PURE__ */ $1(lm), rm = (t, e) => {
5099
5102
  return "";
5100
5103
  const i = t.nodeName.toLowerCase(), n = [...e.children].filter((s) => s.nodeName.toLowerCase() === i);
5101
5104
  return n.length === 1 ? `${il(e)}/${i}` : `${il(e)}/${i}[${n.indexOf(t) + 1}]`;
5102
- }, Oo = /* @__PURE__ */ new WeakMap(), Cs = (t) => {
5105
+ }, Oo = /* @__PURE__ */ new WeakMap(), Is = (t) => {
5103
5106
  var i, n;
5104
5107
  if (Oo.has(t))
5105
5108
  return Oo.get(t);
@@ -5123,7 +5126,7 @@ const am = /* @__PURE__ */ $1(lm), rm = (t, e) => {
5123
5126
  if (!n)
5124
5127
  continue;
5125
5128
  i.matchedElement = n;
5126
- const s = [...n.parentNode.children].filter((a) => a !== n).filter((a) => !el(a)), l = new Map(s.map((a) => [Cs(a), a]));
5129
+ const s = [...n.parentNode.children].filter((a) => a !== n).filter((a) => !tl(a)), l = new Map(s.map((a) => [Is(a), a]));
5127
5130
  for (const a of e.content)
5128
5131
  for (const r of a.segments)
5129
5132
  r.matchedElement || (r.matchedElement = l.get(r.md5));
@@ -5147,7 +5150,7 @@ const am = /* @__PURE__ */ $1(lm), rm = (t, e) => {
5147
5150
  const i = document.evaluate(t, document), n = [];
5148
5151
  for (; ; ) {
5149
5152
  const o = i.iterateNext();
5150
- if (o && Cs(o) === e)
5153
+ if (o && Is(o) === e)
5151
5154
  n.push(o);
5152
5155
  else
5153
5156
  return n;
@@ -5163,7 +5166,7 @@ function Ul(t) {
5163
5166
  t[18] !== "pending" && !window.disableMediaLoad && Hl(t)
5164
5167
  );
5165
5168
  function A() {
5166
- cancelAnimationFrame(s), n.paused || (s = Ps(A), o = !0), t[65].call(n);
5169
+ cancelAnimationFrame(s), n.paused || (s = Cs(A), o = !0), t[65].call(n);
5167
5170
  }
5168
5171
  let m = (
5169
5172
  /*vastUrl*/
@@ -5615,7 +5618,7 @@ function bm(t) {
5615
5618
  };
5616
5619
  }
5617
5620
  function km(t, e, i) {
5618
- let n, o, s, l, a, r, u, d, g, f, A, m, y, v, P, p, S, { content: E } = e, { contentIndex: D } = e, { introOrOutro: w } = e, { activeAdvert: T } = e, { advertConsent: Z } = e, { maxImageSize: R } = e, { projectId: q } = e, { playlistId: ie } = e, { contentId: de } = e, { contentLanguage: ge } = e, { platform: $ } = e, { vendorIdentifier: ee } = e, { bundleIdentifier: le } = e, { playbackState: ue } = e, { duration: ae } = e, { currentTime: ce } = e, { playbackRate: re } = e, { prevPercentage: k } = e, { showUserInterface: C } = e, { videoBehindWidget: N } = e, { videoBehindStatic: L } = e, { videoMightBeShown: Be } = e, { widgetPosition: Ee } = e, { widgetWidth: G } = e, { widgetTarget: J } = e, { onEvent: _e = () => {
5621
+ let n, o, s, l, a, r, u, d, g, f, A, m, y, v, P, p, S, { content: E } = e, { contentIndex: D } = e, { introOrOutro: w } = e, { activeAdvert: T } = e, { advertConsent: Z } = e, { maxImageSize: R } = e, { projectId: q } = e, { playlistId: ie } = e, { contentId: de } = e, { contentLanguage: ge } = e, { platform: $ } = e, { vendorIdentifier: ee } = e, { bundleIdentifier: le } = e, { playbackState: ue } = e, { duration: ae } = e, { currentTime: ce } = e, { playbackRate: re } = e, { prevPercentage: k } = e, { showUserInterface: C } = e, { videoBehindWidget: x } = e, { videoBehindStatic: L } = e, { videoMightBeShown: Be } = e, { widgetPosition: Ee } = e, { widgetWidth: G } = e, { widgetTarget: J } = e, { onEvent: _e = () => {
5619
5622
  } } = e, { metadataLoaded: Ve } = e, { video: Pe = void 0 } = e, Re, je, Fe, Me = 0, ut = 0, Le = ce, it, qe;
5620
5623
  const mt = (U) => i(19, Me = U), Xe = () => Be, Qe = () => {
5621
5624
  var U;
@@ -5654,14 +5657,14 @@ function km(t, e, i) {
5654
5657
  initiatedBy: "media"
5655
5658
  }));
5656
5659
  }, De = () => {
5657
- Ve || (i(42, Ve = !0), i(54, it = xl(u, Pe)), _e(ve({
5660
+ Ve || (i(42, Ve = !0), i(54, it = Nl(u, Pe)), _e(ve({
5658
5661
  type: "MetadataLoaded",
5659
5662
  description: "The media finished loading its metadata.",
5660
5663
  initiatedBy: "media",
5661
5664
  loadedMedia: it
5662
5665
  })));
5663
5666
  }, pt = () => {
5664
- i(54, it = xl(u, Pe)), _e(ve({
5667
+ i(54, it = Nl(u, Pe)), _e(ve({
5665
5668
  type: "MediaLoaded",
5666
5669
  description: "The media finished loading its first frame of data.",
5667
5670
  initiatedBy: "media",
@@ -5753,7 +5756,7 @@ function km(t, e, i) {
5753
5756
  function Ye() {
5754
5757
  Me = this.currentTime, i(19, Me);
5755
5758
  }
5756
- function xe() {
5759
+ function Ne() {
5757
5760
  re = this.playbackRate, i(4, re);
5758
5761
  }
5759
5762
  function nt(U) {
@@ -5766,11 +5769,11 @@ function km(t, e, i) {
5766
5769
  ce = U, i(1, ce), i(19, Me);
5767
5770
  }
5768
5771
  return t.$$set = (U) => {
5769
- "content" in U && i(5, E = U.content), "contentIndex" in U && i(44, D = U.contentIndex), "introOrOutro" in U && i(45, w = U.introOrOutro), "activeAdvert" in U && i(46, T = U.activeAdvert), "advertConsent" in U && i(6, Z = U.advertConsent), "maxImageSize" in U && i(7, R = U.maxImageSize), "projectId" in U && i(8, q = U.projectId), "playlistId" in U && i(9, ie = U.playlistId), "contentId" in U && i(10, de = U.contentId), "contentLanguage" in U && i(11, ge = U.contentLanguage), "platform" in U && i(12, $ = U.platform), "vendorIdentifier" in U && i(13, ee = U.vendorIdentifier), "bundleIdentifier" in U && i(14, le = U.bundleIdentifier), "playbackState" in U && i(0, ue = U.playbackState), "duration" in U && i(3, ae = U.duration), "currentTime" in U && i(1, ce = U.currentTime), "playbackRate" in U && i(4, re = U.playbackRate), "prevPercentage" in U && i(43, k = U.prevPercentage), "showUserInterface" in U && i(15, C = U.showUserInterface), "videoBehindWidget" in U && i(47, N = U.videoBehindWidget), "videoBehindStatic" in U && i(16, L = U.videoBehindStatic), "videoMightBeShown" in U && i(48, Be = U.videoMightBeShown), "widgetPosition" in U && i(49, Ee = U.widgetPosition), "widgetWidth" in U && i(50, G = U.widgetWidth), "widgetTarget" in U && i(51, J = U.widgetTarget), "onEvent" in U && i(17, _e = U.onEvent), "metadataLoaded" in U && i(42, Ve = U.metadataLoaded), "video" in U && i(2, Pe = U.video);
5772
+ "content" in U && i(5, E = U.content), "contentIndex" in U && i(44, D = U.contentIndex), "introOrOutro" in U && i(45, w = U.introOrOutro), "activeAdvert" in U && i(46, T = U.activeAdvert), "advertConsent" in U && i(6, Z = U.advertConsent), "maxImageSize" in U && i(7, R = U.maxImageSize), "projectId" in U && i(8, q = U.projectId), "playlistId" in U && i(9, ie = U.playlistId), "contentId" in U && i(10, de = U.contentId), "contentLanguage" in U && i(11, ge = U.contentLanguage), "platform" in U && i(12, $ = U.platform), "vendorIdentifier" in U && i(13, ee = U.vendorIdentifier), "bundleIdentifier" in U && i(14, le = U.bundleIdentifier), "playbackState" in U && i(0, ue = U.playbackState), "duration" in U && i(3, ae = U.duration), "currentTime" in U && i(1, ce = U.currentTime), "playbackRate" in U && i(4, re = U.playbackRate), "prevPercentage" in U && i(43, k = U.prevPercentage), "showUserInterface" in U && i(15, C = U.showUserInterface), "videoBehindWidget" in U && i(47, x = U.videoBehindWidget), "videoBehindStatic" in U && i(16, L = U.videoBehindStatic), "videoMightBeShown" in U && i(48, Be = U.videoMightBeShown), "widgetPosition" in U && i(49, Ee = U.widgetPosition), "widgetWidth" in U && i(50, G = U.widgetWidth), "widgetTarget" in U && i(51, J = U.widgetTarget), "onEvent" in U && i(17, _e = U.onEvent), "metadataLoaded" in U && i(42, Ve = U.metadataLoaded), "video" in U && i(2, Pe = U.video);
5770
5773
  }, t.$$.update = () => {
5771
5774
  t.$$.dirty[0] & /*content, videoBehindStatic*/
5772
5775
  65568 | t.$$.dirty[1] & /*videoBehindWidget*/
5773
- 65536 && i(62, n = E.length > 0 && (L || N)), t.$$.dirty[2] & /*stylesNeeded*/
5776
+ 65536 && i(62, n = E.length > 0 && (L || x)), t.$$.dirty[2] & /*stylesNeeded*/
5774
5777
  1 && n && import("./././././././././style.js"), t.$$.dirty[0] & /*time*/
5775
5778
  524288 && i(1, ce = Me), t.$$.dirty[0] & /*currentTime*/
5776
5779
  2 | t.$$.dirty[1] & /*activeAdvert*/
@@ -5791,7 +5794,7 @@ function km(t, e, i) {
5791
5794
  1048576 && i(43, k = 0), t.$$.dirty[0] & /*sources, video*/
5792
5795
  1048580 && Lc(u[0], Pe).then((U) => i(52, Re = U)), t.$$.dirty[0] & /*sources, video, hls*/
5793
5796
  1310724 | t.$$.dirty[1] & /*Hls*/
5794
- 2097152 && i(18, je = Nc(u[0], Pe, Re, je, Tt, De, Qe)), t.$$.dirty[0] & /*playbackState, hls*/
5797
+ 2097152 && i(18, je = xc(u[0], Pe, Re, je, Tt, De, Qe)), t.$$.dirty[0] & /*playbackState, hls*/
5795
5798
  262145 | t.$$.dirty[1] & /*startPosition*/
5796
5799
  536870912 && (ue === "playing" || Xe()) && gr(je, a), t.$$.dirty[1] & /*activeAdvert*/
5797
5800
  32768 && i(21, d = T == null ? void 0 : T.vastUrl), t.$$.dirty[1] & /*activeAdvert*/
@@ -5801,8 +5804,8 @@ function km(t, e, i) {
5801
5804
  2048 && i(59, A = !d && (Ve || G1())), t.$$.dirty[0] & /*playbackState*/
5802
5805
  1 | t.$$.dirty[1] & /*controlPlayback*/
5803
5806
  268435456 && A && (ue === "playing" ? Qe() : ht()), t.$$.dirty[1] & /*videoBehindWidget, widgetTarget*/
5804
- 1114112 && i(27, m = N && J), t.$$.dirty[1] & /*videoBehindWidget, widgetTarget*/
5805
- 1114112 && i(22, y = N && !J), t.$$.dirty[0] & /*videoBehindSlidingWidget*/
5807
+ 1114112 && i(27, m = x && J), t.$$.dirty[1] & /*videoBehindWidget, widgetTarget*/
5808
+ 1114112 && i(22, y = x && !J), t.$$.dirty[0] & /*videoBehindSlidingWidget*/
5806
5809
  4194304 | t.$$.dirty[1] & /*widgetPosition*/
5807
5810
  262144 && i(26, v = y && Ee !== "auto" ? `fixed-${Ee}` : ""), t.$$.dirty[0] & /*videoBehindSlidingWidget*/
5808
5811
  4194304 | t.$$.dirty[1] & /*widgetWidth*/
@@ -5859,7 +5862,7 @@ function km(t, e, i) {
5859
5862
  D,
5860
5863
  w,
5861
5864
  T,
5862
- N,
5865
+ x,
5863
5866
  Be,
5864
5867
  Ee,
5865
5868
  G,
@@ -5878,7 +5881,7 @@ function km(t, e, i) {
5878
5881
  Pt,
5879
5882
  ct,
5880
5883
  Ye,
5881
- xe,
5884
+ Ne,
5882
5885
  nt,
5883
5886
  tt,
5884
5887
  At
@@ -6156,10 +6159,10 @@ var _r = function() {
6156
6159
  }, e;
6157
6160
  }()
6158
6161
  );
6159
- }(), nl = typeof window != "undefined" && typeof document != "undefined" && window.document === document, Go = function() {
6162
+ }(), nl = typeof window != "undefined" && typeof document != "undefined" && window.document === document, Xo = function() {
6160
6163
  return typeof global != "undefined" && global.Math === Math ? global : typeof self != "undefined" && self.Math === Math ? self : typeof window != "undefined" && window.Math === Math ? window : Function("return this")();
6161
6164
  }(), Tm = function() {
6162
- return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(Go) : function(t) {
6165
+ return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(Xo) : function(t) {
6163
6166
  return setTimeout(function() {
6164
6167
  return t(Date.now());
6165
6168
  }, 1e3 / 60);
@@ -6237,9 +6240,9 @@ var Im = 20, Bm = ["top", "right", "bottom", "left", "width", "height", "size",
6237
6240
  return t;
6238
6241
  }, Fn = function(t) {
6239
6242
  var e = t && t.ownerDocument && t.ownerDocument.defaultView;
6240
- return e || Go;
6241
- }, yr = Is(0, 0, 0, 0);
6242
- function Xo(t) {
6243
+ return e || Xo;
6244
+ }, yr = Bs(0, 0, 0, 0);
6245
+ function Qo(t) {
6243
6246
  return parseFloat(t) || 0;
6244
6247
  }
6245
6248
  function Jl(t) {
@@ -6247,30 +6250,30 @@ function Jl(t) {
6247
6250
  e[i - 1] = arguments[i];
6248
6251
  return e.reduce(function(n, o) {
6249
6252
  var s = t["border-" + o + "-width"];
6250
- return n + Xo(s);
6253
+ return n + Qo(s);
6251
6254
  }, 0);
6252
6255
  }
6253
6256
  function Om(t) {
6254
6257
  for (var e = ["top", "right", "bottom", "left"], i = {}, n = 0, o = e; n < o.length; n++) {
6255
6258
  var s = o[n], l = t["padding-" + s];
6256
- i[s] = Xo(l);
6259
+ i[s] = Qo(l);
6257
6260
  }
6258
6261
  return i;
6259
6262
  }
6260
6263
  function Em(t) {
6261
6264
  var e = t.getBBox();
6262
- return Is(0, 0, e.width, e.height);
6265
+ return Bs(0, 0, e.width, e.height);
6263
6266
  }
6264
6267
  function Mm(t) {
6265
6268
  var e = t.clientWidth, i = t.clientHeight;
6266
6269
  if (!e && !i)
6267
6270
  return yr;
6268
- var n = Fn(t).getComputedStyle(t), o = Om(n), s = o.left + o.right, l = o.top + o.bottom, a = Xo(n.width), r = Xo(n.height);
6271
+ var n = Fn(t).getComputedStyle(t), o = Om(n), s = o.left + o.right, l = o.top + o.bottom, a = Qo(n.width), r = Qo(n.height);
6269
6272
  if (n.boxSizing === "border-box" && (Math.round(a + s) !== e && (a -= Jl(n, "left", "right") + s), Math.round(r + l) !== i && (r -= Jl(n, "top", "bottom") + l)), !zm(t)) {
6270
6273
  var u = Math.round(a + s) - e, d = Math.round(r + l) - i;
6271
6274
  Math.abs(u) !== 1 && (a -= u), Math.abs(d) !== 1 && (r -= d);
6272
6275
  }
6273
- return Is(o.left, o.top, a, r);
6276
+ return Bs(o.left, o.top, a, r);
6274
6277
  }
6275
6278
  var jm = /* @__PURE__ */ function() {
6276
6279
  return typeof SVGGraphicsElement != "undefined" ? function(t) {
@@ -6298,14 +6301,14 @@ function Dm(t) {
6298
6301
  left: e
6299
6302
  }), l;
6300
6303
  }
6301
- function Is(t, e, i, n) {
6304
+ function Bs(t, e, i, n) {
6302
6305
  return { x: t, y: e, width: i, height: n };
6303
6306
  }
6304
- var xm = (
6307
+ var Nm = (
6305
6308
  /** @class */
6306
6309
  function() {
6307
6310
  function t(e) {
6308
- this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = Is(0, 0, 0, 0), this.target = e;
6311
+ this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = Bs(0, 0, 0, 0), this.target = e;
6309
6312
  }
6310
6313
  return t.prototype.isActive = function() {
6311
6314
  var e = Lm(this.target);
@@ -6315,7 +6318,7 @@ var xm = (
6315
6318
  return this.broadcastWidth = e.width, this.broadcastHeight = e.height, e;
6316
6319
  }, t;
6317
6320
  }()
6318
- ), Nm = (
6321
+ ), xm = (
6319
6322
  /** @class */
6320
6323
  /* @__PURE__ */ function() {
6321
6324
  function t(e, i) {
@@ -6339,7 +6342,7 @@ var xm = (
6339
6342
  if (!(e instanceof Fn(e).Element))
6340
6343
  throw new TypeError('parameter 1 is not of type "Element".');
6341
6344
  var i = this.observations_;
6342
- i.has(e) || (i.set(e, new xm(e)), this.controller_.addObserver(this), this.controller_.refresh());
6345
+ i.has(e) || (i.set(e, new Nm(e)), this.controller_.addObserver(this), this.controller_.refresh());
6343
6346
  }
6344
6347
  }, t.prototype.unobserve = function(e) {
6345
6348
  if (!arguments.length)
@@ -6360,7 +6363,7 @@ var xm = (
6360
6363
  }, t.prototype.broadcastActive = function() {
6361
6364
  if (this.hasActive()) {
6362
6365
  var e = this.callbackCtx_, i = this.activeObservations_.map(function(n) {
6363
- return new Nm(n.target, n.broadcastRect());
6366
+ return new xm(n.target, n.broadcastRect());
6364
6367
  });
6365
6368
  this.callback_.call(e, i, e), this.clearActive();
6366
6369
  }
@@ -6395,37 +6398,37 @@ var xm = (
6395
6398
  };
6396
6399
  });
6397
6400
  var Fm = function() {
6398
- return typeof Go.ResizeObserver != "undefined" ? Go.ResizeObserver : br;
6401
+ return typeof Xo.ResizeObserver != "undefined" ? Xo.ResizeObserver : br;
6399
6402
  }();
6400
- const xi = (t, e, i) => Ce(t, e, e === "style" ? Hm(i) : i), Um = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Hm = (t) => t.split(Um).filter((e) => e).map((e) => e + " !important").join(";");
6403
+ const Ni = (t, e, i) => Ce(t, e, e === "style" ? Hm(i) : i), Um = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Hm = (t) => t.split(Um).filter((e) => e).map((e) => e + " !important").join(";");
6401
6404
  function qm(t) {
6402
6405
  let e, i, n, o;
6403
6406
  return {
6404
6407
  c() {
6405
- e = pe("svg"), i = pe("path"), xi(
6408
+ e = pe("svg"), i = pe("path"), Ni(
6406
6409
  i,
6407
6410
  "fill",
6408
6411
  /*color*/
6409
6412
  t[1]
6410
- ), xi(i, "d", "M14 0.666748C6.63996 0.666748 0.666626 6.64008 0.666626 14.0001C0.666626 21.3601 6.63996 27.3334 14 27.3334C21.36 27.3334 27.3333 21.3601 27.3333 14.0001C27.3333 6.64008 21.36 0.666748 14 0.666748ZM11.3333 18.6667V9.33341C11.3333 8.78675 11.96 8.46675 12.4 8.80008L18.6266 13.4667C18.9866 13.7334 18.9866 14.2667 18.6266 14.5334L12.4 19.2001C11.96 19.5334 11.3333 19.2134 11.3333 18.6667Z"), xi(e, "width", n = 40 * /*scale*/
6411
- t[0]), xi(e, "height", o = 40 * /*scale*/
6412
- t[0]), xi(e, "viewBox", "0.6667 0.6667 26.6667 26.6667"), xi(e, "fill", "none"), xi(e, "xmlns", "http://www.w3.org/2000/svg");
6413
+ ), Ni(i, "d", "M14 0.666748C6.63996 0.666748 0.666626 6.64008 0.666626 14.0001C0.666626 21.3601 6.63996 27.3334 14 27.3334C21.36 27.3334 27.3333 21.3601 27.3333 14.0001C27.3333 6.64008 21.36 0.666748 14 0.666748ZM11.3333 18.6667V9.33341C11.3333 8.78675 11.96 8.46675 12.4 8.80008L18.6266 13.4667C18.9866 13.7334 18.9866 14.2667 18.6266 14.5334L12.4 19.2001C11.96 19.5334 11.3333 19.2134 11.3333 18.6667Z"), Ni(e, "width", n = 40 * /*scale*/
6414
+ t[0]), Ni(e, "height", o = 40 * /*scale*/
6415
+ t[0]), Ni(e, "viewBox", "0.6667 0.6667 26.6667 26.6667"), Ni(e, "fill", "none"), Ni(e, "xmlns", "http://www.w3.org/2000/svg");
6413
6416
  },
6414
6417
  m(s, l) {
6415
6418
  j(s, e, l), h(e, i);
6416
6419
  },
6417
6420
  p(s, [l]) {
6418
6421
  l & /*color*/
6419
- 2 && xi(
6422
+ 2 && Ni(
6420
6423
  i,
6421
6424
  "fill",
6422
6425
  /*color*/
6423
6426
  s[1]
6424
6427
  ), l & /*scale*/
6425
6428
  1 && n !== (n = 40 * /*scale*/
6426
- s[0]) && xi(e, "width", n), l & /*scale*/
6429
+ s[0]) && Ni(e, "width", n), l & /*scale*/
6427
6430
  1 && o !== (o = 40 * /*scale*/
6428
- s[0]) && xi(e, "height", o);
6431
+ s[0]) && Ni(e, "height", o);
6429
6432
  },
6430
6433
  i: Q,
6431
6434
  o: Q,
@@ -6457,35 +6460,35 @@ class Zm extends Te {
6457
6460
  this.$$set({ color: e }), c();
6458
6461
  }
6459
6462
  }
6460
- const Ni = (t, e, i) => Ce(t, e, e === "style" ? Km(i) : i), Jm = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Km = (t) => t.split(Jm).filter((e) => e).map((e) => e + " !important").join(";");
6463
+ const xi = (t, e, i) => Ce(t, e, e === "style" ? Km(i) : i), Jm = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Km = (t) => t.split(Jm).filter((e) => e).map((e) => e + " !important").join(";");
6461
6464
  function Gm(t) {
6462
6465
  let e, i, n, o;
6463
6466
  return {
6464
6467
  c() {
6465
- e = pe("svg"), i = pe("path"), Ni(
6468
+ e = pe("svg"), i = pe("path"), xi(
6466
6469
  i,
6467
6470
  "fill",
6468
6471
  /*color*/
6469
6472
  t[1]
6470
- ), Ni(i, "d", "M14 0.666748C6.63996 0.666748 0.666626 6.64008 0.666626 14.0001C0.666626 21.3601 6.63996 27.3334 14 27.3334C21.36 27.3334 27.3333 21.3601 27.3333 14.0001C27.3333 6.64008 21.36 0.666748 14 0.666748ZM11.3333 19.3334C10.6 19.3334 9.99996 18.7334 9.99996 18.0001V10.0001C9.99996 9.26675 10.6 8.66675 11.3333 8.66675C12.0666 8.66675 12.6666 9.26675 12.6666 10.0001V18.0001C12.6666 18.7334 12.0666 19.3334 11.3333 19.3334ZM16.6666 19.3334C15.9333 19.3334 15.3333 18.7334 15.3333 18.0001V10.0001C15.3333 9.26675 15.9333 8.66675 16.6666 8.66675C17.4 8.66675 18 9.26675 18 10.0001V18.0001C18 18.7334 17.4 19.3334 16.6666 19.3334Z"), Ni(e, "width", n = 40 * /*scale*/
6471
- t[0]), Ni(e, "height", o = 40 * /*scale*/
6472
- t[0]), Ni(e, "viewBox", "0.6667 0.6667 26.6667 26.6667"), Ni(e, "fill", "none"), Ni(e, "xmlns", "http://www.w3.org/2000/svg");
6473
+ ), xi(i, "d", "M14 0.666748C6.63996 0.666748 0.666626 6.64008 0.666626 14.0001C0.666626 21.3601 6.63996 27.3334 14 27.3334C21.36 27.3334 27.3333 21.3601 27.3333 14.0001C27.3333 6.64008 21.36 0.666748 14 0.666748ZM11.3333 19.3334C10.6 19.3334 9.99996 18.7334 9.99996 18.0001V10.0001C9.99996 9.26675 10.6 8.66675 11.3333 8.66675C12.0666 8.66675 12.6666 9.26675 12.6666 10.0001V18.0001C12.6666 18.7334 12.0666 19.3334 11.3333 19.3334ZM16.6666 19.3334C15.9333 19.3334 15.3333 18.7334 15.3333 18.0001V10.0001C15.3333 9.26675 15.9333 8.66675 16.6666 8.66675C17.4 8.66675 18 9.26675 18 10.0001V18.0001C18 18.7334 17.4 19.3334 16.6666 19.3334Z"), xi(e, "width", n = 40 * /*scale*/
6474
+ t[0]), xi(e, "height", o = 40 * /*scale*/
6475
+ t[0]), xi(e, "viewBox", "0.6667 0.6667 26.6667 26.6667"), xi(e, "fill", "none"), xi(e, "xmlns", "http://www.w3.org/2000/svg");
6473
6476
  },
6474
6477
  m(s, l) {
6475
6478
  j(s, e, l), h(e, i);
6476
6479
  },
6477
6480
  p(s, [l]) {
6478
6481
  l & /*color*/
6479
- 2 && Ni(
6482
+ 2 && xi(
6480
6483
  i,
6481
6484
  "fill",
6482
6485
  /*color*/
6483
6486
  s[1]
6484
6487
  ), l & /*scale*/
6485
6488
  1 && n !== (n = 40 * /*scale*/
6486
- s[0]) && Ni(e, "width", n), l & /*scale*/
6489
+ s[0]) && xi(e, "width", n), l & /*scale*/
6487
6490
  1 && o !== (o = 40 * /*scale*/
6488
- s[0]) && Ni(e, "height", o);
6491
+ s[0]) && xi(e, "height", o);
6489
6492
  },
6490
6493
  i: Q,
6491
6494
  o: Q,
@@ -7469,7 +7472,7 @@ class Dh extends Te {
7469
7472
  this.$$set({ seconds: e }), c();
7470
7473
  }
7471
7474
  }
7472
- const Fi = (t, e, i) => Ce(t, e, e === "style" ? Nh(i) : i), xh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Nh = (t) => t.split(xh).filter((e) => e).map((e) => e + " !important").join(";");
7475
+ const Fi = (t, e, i) => Ce(t, e, e === "style" ? xh(i) : i), Nh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, xh = (t) => t.split(Nh).filter((e) => e).map((e) => e + " !important").join(";");
7473
7476
  function Rh(t) {
7474
7477
  let e, i, n, o;
7475
7478
  return {
@@ -8663,7 +8666,7 @@ class D0 extends Te {
8663
8666
  this.$$set({ color: e }), c();
8664
8667
  }
8665
8668
  }
8666
- const ea = (t, e, i) => Yt(t, e, i, 1), Ns = (t, e, i) => Ce(t, e, e === "style" ? N0(i) : i), x0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, N0 = (t) => t.split(x0).filter((e) => e).map((e) => e + " !important").join(";");
8669
+ const ea = (t, e, i) => Yt(t, e, i, 1), Rs = (t, e, i) => Ce(t, e, e === "style" ? x0(i) : i), N0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, x0 = (t) => t.split(N0).filter((e) => e).map((e) => e + " !important").join(";");
8667
8670
  function R0(t) {
8668
8671
  let e, i, n, o, s;
8669
8672
  return i = new D0({
@@ -8679,8 +8682,8 @@ function R0(t) {
8679
8682
  }
8680
8683
  }), {
8681
8684
  c() {
8682
- e = b("button"), he(i.$$.fragment), Ns(e, "type", "button"), Ns(e, "class", "maximize-button svelte-fk321i"), ea(e, "outline-offset", 6.4 * /*scale*/
8683
- t[0] + "px"), Ns(e, "aria-label", bt("maximizeVideo"));
8685
+ e = b("button"), he(i.$$.fragment), Rs(e, "type", "button"), Rs(e, "class", "maximize-button svelte-fk321i"), ea(e, "outline-offset", 6.4 * /*scale*/
8686
+ t[0] + "px"), Rs(e, "aria-label", bt("maximizeVideo"));
8684
8687
  },
8685
8688
  m(l, a) {
8686
8689
  j(l, e, a), fe(i, e, null), n = !0, o || (s = [
@@ -8811,7 +8814,7 @@ class J0 extends Te {
8811
8814
  this.$$set({ color: e }), c();
8812
8815
  }
8813
8816
  }
8814
- const Lo = (t, e, i) => Yt(t, e, i, 1), Rs = (t, e, i) => Ce(t, e, e === "style" ? G0(i) : i), K0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, G0 = (t) => t.split(K0).filter((e) => e).map((e) => e + " !important").join(";");
8817
+ const Lo = (t, e, i) => Yt(t, e, i, 1), Fs = (t, e, i) => Ce(t, e, e === "style" ? G0(i) : i), K0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, G0 = (t) => t.split(K0).filter((e) => e).map((e) => e + " !important").join(";");
8815
8818
  function X0(t) {
8816
8819
  let e, i, n, o, s;
8817
8820
  return i = new J0({
@@ -8827,13 +8830,13 @@ function X0(t) {
8827
8830
  }
8828
8831
  }), {
8829
8832
  c() {
8830
- e = b("button"), he(i.$$.fragment), Rs(e, "type", "button"), Rs(e, "class", "close-widget-button svelte-1bnl89m"), Lo(
8833
+ e = b("button"), he(i.$$.fragment), Fs(e, "type", "button"), Fs(e, "class", "close-widget-button svelte-1bnl89m"), Lo(
8831
8834
  e,
8832
8835
  "margin",
8833
8836
  /*margin*/
8834
8837
  t[2]
8835
8838
  ), Lo(e, "outline-offset", 4.8 * /*scale*/
8836
- t[0] + "px"), Rs(e, "aria-label", bt("closeWidget"));
8839
+ t[0] + "px"), Fs(e, "aria-label", bt("closeWidget"));
8837
8840
  },
8838
8841
  m(l, a) {
8839
8842
  j(l, e, a), fe(i, e, null), n = !0, o || (s = [
@@ -9755,7 +9758,7 @@ class z_ extends Te {
9755
9758
  }
9756
9759
  }
9757
9760
  const Wi = (t, e, i) => Yt(t, e, i, 1), _i = (t, e, i) => Ce(t, e, e === "style" ? D_(i) : i), L_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, D_ = (t) => t.split(L_).filter((e) => e).map((e) => e + " !important").join(";");
9758
- function x_(t) {
9761
+ function N_(t) {
9759
9762
  let e, i;
9760
9763
  return {
9761
9764
  c() {
@@ -9808,7 +9811,7 @@ function x_(t) {
9808
9811
  }
9809
9812
  };
9810
9813
  }
9811
- function N_(t) {
9814
+ function x_(t) {
9812
9815
  let e, i, n, o, s;
9813
9816
  return {
9814
9817
  c() {
@@ -9907,7 +9910,7 @@ function R_(t) {
9907
9910
  function i(s, l) {
9908
9911
  return (
9909
9912
  /*href*/
9910
- s[1] ? N_ : x_
9913
+ s[1] ? x_ : N_
9911
9914
  );
9912
9915
  }
9913
9916
  let n = i(t), o = n(t);
@@ -9983,7 +9986,7 @@ class U_ extends Te {
9983
9986
  this.$$set({ onEvent: e }), c();
9984
9987
  }
9985
9988
  }
9986
- const xo = (t, e, i) => Ce(t, e, e === "style" ? q_(i) : i), H_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, q_ = (t) => t.split(H_).filter((e) => e).map((e) => e + " !important").join(";");
9989
+ const No = (t, e, i) => Ce(t, e, e === "style" ? q_(i) : i), H_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, q_ = (t) => t.split(H_).filter((e) => e).map((e) => e + " !important").join(";");
9987
9990
  function Y_(t) {
9988
9991
  var o;
9989
9992
  let e, i = (
@@ -9992,8 +9995,8 @@ function Y_(t) {
9992
9995
  ), n;
9993
9996
  return {
9994
9997
  c() {
9995
- e = b("div"), xo(e, "class", n = "player-title " + /*playerStyle*/
9996
- t[1] + " svelte-xrh20u"), xo(
9998
+ e = b("div"), No(e, "class", n = "player-title " + /*playerStyle*/
9999
+ t[1] + " svelte-xrh20u"), No(
9997
10000
  e,
9998
10001
  "style",
9999
10002
  /*style*/
@@ -10009,8 +10012,8 @@ function Y_(t) {
10009
10012
  1 && i !== (i = /*title*/
10010
10013
  (((a = s[0]) == null ? void 0 : a.replaceAll(/<[^>]+>/gi, "")) || "") + "") && (e.innerHTML = i), l & /*playerStyle*/
10011
10014
  2 && n !== (n = "player-title " + /*playerStyle*/
10012
- s[1] + " svelte-xrh20u") && xo(e, "class", n), l & /*style*/
10013
- 8 && xo(
10015
+ s[1] + " svelte-xrh20u") && No(e, "class", n), l & /*style*/
10016
+ 8 && No(
10014
10017
  e,
10015
10018
  "style",
10016
10019
  /*style*/
@@ -10106,7 +10109,7 @@ class Tr extends Te {
10106
10109
  this.$$set({ color: e }), c();
10107
10110
  }
10108
10111
  }
10109
- const Fs = (t, e, i) => Ce(t, e, e === "style" ? K_(i) : i), J_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, K_ = (t) => t.split(J_).filter((e) => e).map((e) => e + " !important").join(";");
10112
+ const Us = (t, e, i) => Ce(t, e, e === "style" ? K_(i) : i), J_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, K_ = (t) => t.split(J_).filter((e) => e).map((e) => e + " !important").join(";");
10110
10113
  function G_(t) {
10111
10114
  var n;
10112
10115
  let e, i = (
@@ -10115,7 +10118,7 @@ function G_(t) {
10115
10118
  );
10116
10119
  return {
10117
10120
  c() {
10118
- e = b("div"), Fs(e, "class", "content-title svelte-mtaayt"), Fs(
10121
+ e = b("div"), Us(e, "class", "content-title svelte-mtaayt"), Us(
10119
10122
  e,
10120
10123
  "style",
10121
10124
  /*style*/
@@ -10150,7 +10153,7 @@ function G_(t) {
10150
10153
  s & /*title*/
10151
10154
  1 && i !== (i = /*title*/
10152
10155
  (((l = o[0]) == null ? void 0 : l.replaceAll(/<[^>]+>/gi, "")) || "") + "") && (e.innerHTML = i), s & /*style*/
10153
- 16 && Fs(
10156
+ 16 && Us(
10154
10157
  e,
10155
10158
  "style",
10156
10159
  /*style*/
@@ -10275,7 +10278,7 @@ class bl extends Te {
10275
10278
  this.$$set({ color: e }), c();
10276
10279
  }
10277
10280
  }
10278
- const Qo = (t, e, i = () => {
10281
+ const $o = (t, e, i = () => {
10279
10282
  }) => (n) => {
10280
10283
  let o;
10281
10284
  n.key === "ArrowLeft" && (o = "Left"), n.key === "ArrowRight" && (o = "Right"), n.key === " " && (o = "Space"), n.key === "Enter" && (o = "Enter"), o && (n.preventDefault(), t(ve({
@@ -10348,13 +10351,13 @@ function e2(t) {
10348
10351
  t[12]
10349
10352
  ),
10350
10353
  Y(e, "keydown", function() {
10351
- Un(Qo(
10354
+ Un($o(
10352
10355
  /*onEvent*/
10353
10356
  t[5],
10354
10357
  "Bar",
10355
10358
  /*handleLeftOrRight*/
10356
10359
  t[11]
10357
- )) && Qo(
10360
+ )) && $o(
10358
10361
  /*onEvent*/
10359
10362
  t[5],
10360
10363
  "Bar",
@@ -10571,7 +10574,7 @@ class i2 extends Te {
10571
10574
  this.$$set({ onEvent: e }), c();
10572
10575
  }
10573
10576
  }
10574
- const No = (t, e, i) => Yt(t, e, i, 1), Mt = (t, e, i) => Ce(t, e, e === "style" ? o2(i) : i), n2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, o2 = (t) => t.split(n2).filter((e) => e).map((e) => e + " !important").join(";");
10577
+ const xo = (t, e, i) => Yt(t, e, i, 1), Mt = (t, e, i) => Ce(t, e, e === "style" ? o2(i) : i), n2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, o2 = (t) => t.split(n2).filter((e) => e).map((e) => e + " !important").join(";");
10575
10578
  function s2(t) {
10576
10579
  let e;
10577
10580
  const i = (
@@ -10669,12 +10672,12 @@ function l2(t) {
10669
10672
  "height",
10670
10673
  /*size*/
10671
10674
  t[8]
10672
- ), Mt(i, "xmlns", "http://www.w3.org/2000/svg"), Mt(i, "class", "svelte-niuvgx"), Mt(e, "class", "progress-circle svelte-niuvgx"), Mt(e, "role", "none"), No(
10675
+ ), Mt(i, "xmlns", "http://www.w3.org/2000/svg"), Mt(i, "class", "svelte-niuvgx"), Mt(e, "class", "progress-circle svelte-niuvgx"), Mt(e, "role", "none"), xo(
10673
10676
  e,
10674
10677
  "width",
10675
10678
  /*scale*/
10676
10679
  t[1] * 40 + "px"
10677
- ), No(
10680
+ ), xo(
10678
10681
  e,
10679
10682
  "height",
10680
10683
  /*scale*/
@@ -10683,11 +10686,11 @@ function l2(t) {
10683
10686
  },
10684
10687
  m(g, f) {
10685
10688
  j(g, e, f), h(e, i), h(i, n), h(e, s), d && d.m(e, null), l = !0, a || (r = Y(e, "keydown", function() {
10686
- Un(Qo(
10689
+ Un($o(
10687
10690
  /*onEvent*/
10688
10691
  t[3],
10689
10692
  "Circle"
10690
- )) && Qo(
10693
+ )) && $o(
10691
10694
  /*onEvent*/
10692
10695
  t[3],
10693
10696
  "Circle"
@@ -10753,13 +10756,13 @@ function l2(t) {
10753
10756
  ),
10754
10757
  null
10755
10758
  ), (!l || f & /*scale*/
10756
- 2) && No(
10759
+ 2) && xo(
10757
10760
  e,
10758
10761
  "width",
10759
10762
  /*scale*/
10760
10763
  t[1] * 40 + "px"
10761
10764
  ), (!l || f & /*scale*/
10762
- 2) && No(
10765
+ 2) && xo(
10763
10766
  e,
10764
10767
  "height",
10765
10768
  /*scale*/
@@ -11584,7 +11587,7 @@ function D2(t) {
11584
11587
  }
11585
11588
  };
11586
11589
  }
11587
- function x2(t, e, i) {
11590
+ function N2(t, e, i) {
11588
11591
  let { scale: n = 1 } = e, { zoom: o = 1 } = e, { color: s = "#323232" } = e, { fill: l = "transparent" } = e;
11589
11592
  return t.$$set = (a) => {
11590
11593
  "scale" in a && i(0, n = a.scale), "zoom" in a && i(1, o = a.zoom), "color" in a && i(2, s = a.color), "fill" in a && i(3, l = a.fill);
@@ -11592,7 +11595,7 @@ function x2(t, e, i) {
11592
11595
  }
11593
11596
  class Cr extends Te {
11594
11597
  constructor(e) {
11595
- super(), we(this, e, x2, D2, Se, { scale: 0, zoom: 1, color: 2, fill: 3 });
11598
+ super(), we(this, e, N2, D2, Se, { scale: 0, zoom: 1, color: 2, fill: 3 });
11596
11599
  }
11597
11600
  get scale() {
11598
11601
  return this.$$.ctx[0];
@@ -11619,7 +11622,7 @@ class Cr extends Te {
11619
11622
  this.$$set({ fill: e }), c();
11620
11623
  }
11621
11624
  }
11622
- const _n = (t, e, i) => Yt(t, e, i, 1), Ai = (t, e, i) => Ce(t, e, e === "style" ? R2(i) : i), N2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, R2 = (t) => t.split(N2).filter((e) => e).map((e) => e + " !important").join(";");
11625
+ const _n = (t, e, i) => Yt(t, e, i, 1), Ai = (t, e, i) => Ce(t, e, e === "style" ? R2(i) : i), x2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, R2 = (t) => t.split(x2).filter((e) => e).map((e) => e + " !important").join(";");
11623
11626
  function na(t, e, i) {
11624
11627
  const n = t.slice();
11625
11628
  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;
@@ -12420,7 +12423,7 @@ const oA = ({ playerStyle: t, width: e }) => t === "standard" && e < 380 || t ==
12420
12423
  t.requestFullscreen ? t.requestFullscreen() : t.webkitRequestFullscreen && t.webkitRequestFullscreen();
12421
12424
  }, aA = () => {
12422
12425
  document.exitFullscreen ? document.exitFullscreen() : document.webkitExitFullscreen && document.webkitExitFullscreen();
12423
- }, aa = () => document.fullscreenElement || document.webkitCurrentFullScreenElement, $o = (t, e, i) => Yt(t, e, i, 1), Oi = (t, e, i) => Ce(t, e, e === "style" ? uA(i) : i), rA = /;(?!([^()]*\([^()]*\))*[^()]*\))/, uA = (t) => t.split(rA).filter((e) => e).map((e) => e + " !important").join(";");
12426
+ }, aa = () => document.fullscreenElement || document.webkitCurrentFullScreenElement, es = (t, e, i) => Yt(t, e, i, 1), Oi = (t, e, i) => Ce(t, e, e === "style" ? uA(i) : i), rA = /;(?!([^()]*\([^()]*\))*[^()]*\))/, uA = (t) => t.split(rA).filter((e) => e).map((e) => e + " !important").join(";");
12424
12427
  function ra(t) {
12425
12428
  let e, i, n, o = !/*videoPosterImage*/
12426
12429
  t[17] && ua(t);
@@ -12463,7 +12466,7 @@ function ua(t) {
12463
12466
  ) }
12464
12467
  }), {
12465
12468
  c() {
12466
- he(e.$$.fragment), i = K(), n = b("span"), s = ne(o), $o(
12469
+ he(e.$$.fragment), i = K(), n = b("span"), s = ne(o), es(
12467
12470
  n,
12468
12471
  "color",
12469
12472
  /*activeTextColor*/
@@ -12478,7 +12481,7 @@ function ua(t) {
12478
12481
  r[1] & /*activeIconColor*/
12479
12482
  33554432 && (u.color = /*activeIconColor*/
12480
12483
  a[56]), e.$set(u), (!l || r[1] & /*activeTextColor*/
12481
- 134217728) && $o(
12484
+ 134217728) && es(
12482
12485
  n,
12483
12486
  "color",
12484
12487
  /*activeTextColor*/
@@ -13945,21 +13948,21 @@ function yA(t) {
13945
13948
  1073741824 && I(R, 1)) : (R = da(k), R.c(), I(R, 1), R.m(i, o)) : R && (Ue(), z(R, 1, 1, () => {
13946
13949
  R = null;
13947
13950
  }), He());
13948
- const N = {};
13951
+ const x = {};
13949
13952
  C[0] & /*onEvent*/
13950
- 65536 && (N.onEvent = /*onEvent*/
13953
+ 65536 && (x.onEvent = /*onEvent*/
13951
13954
  k[16]), C[0] & /*fixedPosition*/
13952
- 256 && (N.enabled = !/*fixedPosition*/
13955
+ 256 && (x.enabled = !/*fixedPosition*/
13953
13956
  k[8]), C[0] & /*onEvent, isScreen, isSmall*/
13954
13957
  83951616 | C[1] & /*progress, playPauseScale, activeIconColor, isPlaying*/
13955
13958
  847249408 | C[2] & /*$$scope*/
13956
- 134217728 && (N.$$scope = { dirty: C, ctx: k }), !a && C[0] & /*isVisible*/
13957
- 1 && (a = !0, N.isVisible = /*isVisible*/
13959
+ 134217728 && (x.$$scope = { dirty: C, ctx: k }), !a && C[0] & /*isVisible*/
13960
+ 1 && (a = !0, x.isVisible = /*isVisible*/
13958
13961
  k[0], be(() => a = !1)), !r && C[0] & /*relativeY*/
13959
- 2 && (r = !0, N.relativeY = /*relativeY*/
13962
+ 2 && (r = !0, x.relativeY = /*relativeY*/
13960
13963
  k[1], be(() => r = !1)), !u && C[0] & /*absoluteY*/
13961
- 4 && (u = !0, N.absoluteY = /*absoluteY*/
13962
- k[2], be(() => u = !1)), l.$set(N), /*isStandard*/
13964
+ 4 && (u = !0, x.absoluteY = /*absoluteY*/
13965
+ k[2], be(() => u = !1)), l.$set(x), /*isStandard*/
13963
13966
  k[28] && /*isStopped*/
13964
13967
  k[29] || /*isSmall*/
13965
13968
  k[24] ? $ ? ($.p(k, C), C[0] & /*isStandard, isStopped, isSmall*/
@@ -14173,7 +14176,7 @@ function vA(t) {
14173
14176
  e = b("div"), he(i.$$.fragment), o = K(), f && f.c(), Oi(e, "class", s = Bl(
14174
14177
  /*classes*/
14175
14178
  t[40]
14176
- ) + " svelte-1typsi4"), $o(
14179
+ ) + " svelte-1typsi4"), es(
14177
14180
  e,
14178
14181
  "width",
14179
14182
  /*widthStyle*/
@@ -14233,7 +14236,7 @@ function vA(t) {
14233
14236
  /*classes*/
14234
14237
  A[40]
14235
14238
  ) + " svelte-1typsi4")) && Oi(e, "class", s), (!a || m[1] & /*widthStyle*/
14236
- 524288) && $o(
14239
+ 524288) && es(
14237
14240
  e,
14238
14241
  "width",
14239
14242
  /*widthStyle*/
@@ -14298,10 +14301,10 @@ function vA(t) {
14298
14301
  };
14299
14302
  }
14300
14303
  function bA(t, e, i) {
14301
- let n, o, s, l, a, r, u, d, g, f, A, m, y, v, P, p, S, E, D, w, T, Z, R, q, ie, de, ge, $, ee, le, ue, ae, ce, re, k, C, N, L, Be, Ee, G, J, _e;
14304
+ let n, o, s, l, a, r, u, d, g, f, A, m, y, v, P, p, S, E, D, w, T, Z, R, q, ie, de, ge, $, ee, le, ue, ae, ce, re, k, C, x, L, Be, Ee, G, J, _e;
14302
14305
  import("./././././././././style.js");
14303
14306
  let { playerStyle: Ve = "standard" } = e, { callToAction: Pe = void 0 } = e, { skipButtonStyle: Re = "auto" } = e, { playlistStyle: je = "auto-5-4" } = e, { playlistToggle: Fe = "auto" } = e, { downloadFormats: Me = [] } = e, { playerTitle: ut = void 0 } = e, { fixedPosition: Le = void 0 } = e, { fixedWidth: it = "auto" } = e, { content: qe = [] } = e, { contentIndex: mt = 0 } = e, { duration: Xe = 0 } = e, { currentTime: Qe = 0 } = e, { playbackState: ht = "stopped" } = e, { playbackRate: Je = 1 } = e, { playbackRates: _t = [] } = e, { activeAdvert: We = void 0 } = e, { persistentAdvert: Ke = void 0 } = e, { companionAdvert: Ge = void 0 } = e, { textColor: kt = "#111" } = e, { backgroundColor: De = "#f5f5f5" } = e, { iconColor: pt = "black" } = e, { videoTextColor: St = "white" } = e, { videoBackgroundColor: wt = "black" } = e, { videoIconColor: $e = "white" } = e, { logoIconEnabled: et = !0 } = e, { logoImagePosition: Vt = void 0 } = e, { maxImageSize: st = 0 } = e, { onEvent: Tt = () => {
14304
- } } = e, { videoPosterImage: ot = "" } = e, { videoIsBehind: Pt = !1 } = e, { isFullScreen: ct = !1 } = e, { isVisible: Ye = void 0 } = e, { relativeY: xe = void 0 } = e, { absoluteY: nt = void 0 } = e, tt, At, U, Ze;
14307
+ } } = e, { videoPosterImage: ot = "" } = e, { videoIsBehind: Pt = !1 } = e, { isFullScreen: ct = !1 } = e, { isVisible: Ye = void 0 } = e, { relativeY: Ne = void 0 } = e, { absoluteY: nt = void 0 } = e, tt, At, U, Ze;
14305
14308
  const yt = () => {
14306
14309
  Ze && clearTimeout(Ze), i(39, Ze = setTimeout(() => i(39, Ze = null), 500));
14307
14310
  }, Wt = (W) => {
@@ -14321,7 +14324,7 @@ function bA(t, e, i) {
14321
14324
  Ye = W, i(0, Ye);
14322
14325
  }
14323
14326
  function vt(W) {
14324
- xe = W, i(1, xe);
14327
+ Ne = W, i(1, Ne);
14325
14328
  }
14326
14329
  function Ae(W) {
14327
14330
  nt = W, i(2, nt);
@@ -14335,7 +14338,7 @@ function bA(t, e, i) {
14335
14338
  });
14336
14339
  }
14337
14340
  return t.$$set = (W) => {
14338
- "playerStyle" in W && i(3, Ve = W.playerStyle), "callToAction" in W && i(4, Pe = W.callToAction), "skipButtonStyle" in W && i(64, Re = W.skipButtonStyle), "playlistStyle" in W && i(5, je = W.playlistStyle), "playlistToggle" in W && i(65, Fe = W.playlistToggle), "downloadFormats" in W && i(6, Me = W.downloadFormats), "playerTitle" in W && i(7, ut = W.playerTitle), "fixedPosition" in W && i(8, Le = W.fixedPosition), "fixedWidth" in W && i(66, it = W.fixedWidth), "content" in W && i(9, qe = W.content), "contentIndex" in W && i(10, mt = W.contentIndex), "duration" in W && i(11, Xe = W.duration), "currentTime" in W && i(12, Qe = W.currentTime), "playbackState" in W && i(67, ht = W.playbackState), "playbackRate" in W && i(13, Je = W.playbackRate), "playbackRates" in W && i(14, _t = W.playbackRates), "activeAdvert" in W && i(68, We = W.activeAdvert), "persistentAdvert" in W && i(69, Ke = W.persistentAdvert), "companionAdvert" in W && i(70, Ge = W.companionAdvert), "textColor" in W && i(71, kt = W.textColor), "backgroundColor" in W && i(72, De = W.backgroundColor), "iconColor" in W && i(73, pt = W.iconColor), "videoTextColor" in W && i(74, St = W.videoTextColor), "videoBackgroundColor" in W && i(75, wt = W.videoBackgroundColor), "videoIconColor" in W && i(76, $e = W.videoIconColor), "logoIconEnabled" in W && i(77, et = W.logoIconEnabled), "logoImagePosition" in W && i(15, Vt = W.logoImagePosition), "maxImageSize" in W && i(78, st = W.maxImageSize), "onEvent" in W && i(16, Tt = W.onEvent), "videoPosterImage" in W && i(17, ot = W.videoPosterImage), "videoIsBehind" in W && i(18, Pt = W.videoIsBehind), "isFullScreen" in W && i(79, ct = W.isFullScreen), "isVisible" in W && i(0, Ye = W.isVisible), "relativeY" in W && i(1, xe = W.relativeY), "absoluteY" in W && i(2, nt = W.absoluteY);
14341
+ "playerStyle" in W && i(3, Ve = W.playerStyle), "callToAction" in W && i(4, Pe = W.callToAction), "skipButtonStyle" in W && i(64, Re = W.skipButtonStyle), "playlistStyle" in W && i(5, je = W.playlistStyle), "playlistToggle" in W && i(65, Fe = W.playlistToggle), "downloadFormats" in W && i(6, Me = W.downloadFormats), "playerTitle" in W && i(7, ut = W.playerTitle), "fixedPosition" in W && i(8, Le = W.fixedPosition), "fixedWidth" in W && i(66, it = W.fixedWidth), "content" in W && i(9, qe = W.content), "contentIndex" in W && i(10, mt = W.contentIndex), "duration" in W && i(11, Xe = W.duration), "currentTime" in W && i(12, Qe = W.currentTime), "playbackState" in W && i(67, ht = W.playbackState), "playbackRate" in W && i(13, Je = W.playbackRate), "playbackRates" in W && i(14, _t = W.playbackRates), "activeAdvert" in W && i(68, We = W.activeAdvert), "persistentAdvert" in W && i(69, Ke = W.persistentAdvert), "companionAdvert" in W && i(70, Ge = W.companionAdvert), "textColor" in W && i(71, kt = W.textColor), "backgroundColor" in W && i(72, De = W.backgroundColor), "iconColor" in W && i(73, pt = W.iconColor), "videoTextColor" in W && i(74, St = W.videoTextColor), "videoBackgroundColor" in W && i(75, wt = W.videoBackgroundColor), "videoIconColor" in W && i(76, $e = W.videoIconColor), "logoIconEnabled" in W && i(77, et = W.logoIconEnabled), "logoImagePosition" in W && i(15, Vt = W.logoImagePosition), "maxImageSize" in W && i(78, st = W.maxImageSize), "onEvent" in W && i(16, Tt = W.onEvent), "videoPosterImage" in W && i(17, ot = W.videoPosterImage), "videoIsBehind" in W && i(18, Pt = W.videoIsBehind), "isFullScreen" in W && i(79, ct = W.isFullScreen), "isVisible" in W && i(0, Ye = W.isVisible), "relativeY" in W && i(1, Ne = W.relativeY), "absoluteY" in W && i(2, nt = W.absoluteY);
14339
14342
  }, t.$$.update = () => {
14340
14343
  t.$$.dirty[0] & /*playerStyle*/
14341
14344
  8 && i(24, n = Ve === "small"), t.$$.dirty[0] & /*playerStyle*/
@@ -14405,7 +14408,7 @@ function bA(t, e, i) {
14405
14408
  16 && i(30, k = n && Le && it === "auto"), t.$$.dirty[0] & /*isSmall*/
14406
14409
  16777216 | t.$$.dirty[2] & /*fixedWidth*/
14407
14410
  16 && i(25, C = n && (it === 0 || it === "0")), t.$$.dirty[0] & /*forcedCollapsed, collapsible, isAdvert, isStopped, isHovering*/
14408
- 1779433472 && i(45, N = C || k && !d && !u && !U), t.$$.dirty[0] & /*fixedPosition, isSmall, isStandard, isAdvert*/
14411
+ 1779433472 && i(45, x = C || k && !d && !u && !U), t.$$.dirty[0] & /*fixedPosition, isSmall, isStandard, isAdvert*/
14409
14412
  419430656 && i(44, L = Le && !n && !(o && d)), t.$$.dirty[0] & /*isAdvert, isScreen, fixedPosition, isSmall, forcedCollapsed*/
14410
14413
  251658496 | t.$$.dirty[2] & /*logoIconEnabled*/
14411
14414
  32768 && i(43, Be = et && (!d || l) && !(Le && n) && !C), t.$$.dirty[0] & /*playlistStyle*/
@@ -14419,7 +14422,7 @@ function bA(t, e, i) {
14419
14422
  256 && Le && yt();
14420
14423
  }, [
14421
14424
  Ye,
14422
- xe,
14425
+ Ne,
14423
14426
  nt,
14424
14427
  Ve,
14425
14428
  Pe,
@@ -14463,7 +14466,7 @@ function bA(t, e, i) {
14463
14466
  G,
14464
14467
  Be,
14465
14468
  L,
14466
- N,
14469
+ x,
14467
14470
  re,
14468
14471
  ce,
14469
14472
  ae,
@@ -14769,7 +14772,7 @@ class kl extends Te {
14769
14772
  this.$$set({ absoluteY: e }), c();
14770
14773
  }
14771
14774
  }
14772
- const Us = (t, e, i) => Ce(t, e, e === "style" ? pA(i) : i), kA = /;(?!([^()]*\([^()]*\))*[^()]*\))/, pA = (t) => t.split(kA).filter((e) => e).map((e) => e + " !important").join(";");
14775
+ const Hs = (t, e, i) => Ce(t, e, e === "style" ? pA(i) : i), kA = /;(?!([^()]*\([^()]*\))*[^()]*\))/, pA = (t) => t.split(kA).filter((e) => e).map((e) => e + " !important").join(";");
14773
14776
  function SA(t) {
14774
14777
  let e, i, n;
14775
14778
  const o = (
@@ -14784,7 +14787,7 @@ function SA(t) {
14784
14787
  );
14785
14788
  return {
14786
14789
  c() {
14787
- e = b("div"), s && s.c(), Us(e, "class", "external-widget"), Us(e, "style", i = /*root*/
14790
+ e = b("div"), s && s.c(), Hs(e, "class", "external-widget"), Hs(e, "style", i = /*root*/
14788
14791
  t[0] ? "position: relative" : "");
14789
14792
  },
14790
14793
  m(l, a) {
@@ -14811,7 +14814,7 @@ function SA(t) {
14811
14814
  null
14812
14815
  ), (!n || a & /*root*/
14813
14816
  1 && i !== (i = /*root*/
14814
- l[0] ? "position: relative" : "")) && Us(e, "style", i);
14817
+ l[0] ? "position: relative" : "")) && Hs(e, "style", i);
14815
14818
  },
14816
14819
  i(l) {
14817
14820
  n || (I(s, l), n = !0);
@@ -14843,7 +14846,7 @@ function wA(t, e, i) {
14843
14846
  1 && ((A = l == null ? void 0 : l.classList) == null || A.add("beyondwords-widget", "bwp"));
14844
14847
  }, [l, r, a, u, n, s, o, f];
14845
14848
  }
14846
- class Bs extends Te {
14849
+ class Vs extends Te {
14847
14850
  constructor(e) {
14848
14851
  super(), we(this, e, wA, SA, Se, { root: 0, prepend: 2 });
14849
14852
  }
@@ -14925,24 +14928,24 @@ function IA(t) {
14925
14928
  };
14926
14929
  }
14927
14930
  function Ca(t) {
14928
- let e, i, n, o, s, l, a, r, u, d, g, f, A, m, y, v, P, p, S, E, D, w, T, Z, R, q, ie, de, ge, $, ee, le, ue, ae, ce, re, k, C, N, L, Be, Ee, G, J, _e, Ve, Pe, Re, je, Fe, Me, ut, Le, it, qe, mt, Xe, Qe, ht, Je, _t, We, Ke, Ge, kt, De, pt, St, wt, $e, et, Vt, st, Tt, ot, Pt, ct, Ye, xe, nt, tt, At, U, Ze, yt, Wt, It, vt, Ae, B, V, W, Lt, ui, wi, Dt, Ti, Zt, Di, dt, ci, xt, Pi, jt, oi, Ci, Nt, vi, si, an, Ft, Ji, Rt, Ut = ni(
14931
+ let e, i, n, o, s, l, a, r, u, d, g, f, A, m, y, v, P, p, S, E, D, w, T, Z, R, q, ie, de, ge, $, ee, le, ue, ae, ce, re, k, C, x, L, Be, Ee, G, J, _e, Ve, Pe, Re, je, Fe, Me, ut, Le, it, qe, mt, Xe, Qe, ht, Je, _t, We, Ke, Ge, kt, De, pt, St, wt, $e, et, Vt, st, Tt, ot, Pt, ct, Ye, Ne, nt, tt, At, U, Ze, yt, Wt, It, vt, Ae, B, V, W, Lt, ui, wi, Dt, Ti, Zt, Di, dt, ci, Nt, Pi, jt, oi, Ci, xt, vi, si, an, Ft, Ji, Rt, Ut = ni(
14929
14932
  /*content*/
14930
14933
  t[41]
14931
14934
  ), gt = [];
14932
- for (let x = 0; x < Ut.length; x += 1)
14933
- gt[x] = Ia(wa(t, Ut, x));
14935
+ for (let N = 0; N < Ut.length; N += 1)
14936
+ gt[N] = Ia(wa(t, Ut, N));
14934
14937
  let Jt = ni(
14935
14938
  /*introsOutros*/
14936
14939
  t[42]
14937
14940
  ), ft = [];
14938
- for (let x = 0; x < Jt.length; x += 1)
14939
- ft[x] = Ba(Sa(t, Jt, x));
14941
+ for (let N = 0; N < Jt.length; N += 1)
14942
+ ft[N] = Ba(Sa(t, Jt, N));
14940
14943
  let Ht = ni(
14941
14944
  /*adverts*/
14942
14945
  t[43]
14943
14946
  ), Bt = [];
14944
- for (let x = 0; x < Ht.length; x += 1)
14945
- Bt[x] = Va(pa(t, Ht, x));
14947
+ for (let N = 0; N < Ht.length; N += 1)
14948
+ Bt[N] = Va(pa(t, Ht, N));
14946
14949
  return {
14947
14950
  c() {
14948
14951
  e = b("br"), i = K(), n = b("strong"), n.textContent = "Advanced settings:", o = K(), s = b("br"), l = b("br"), a = K(), r = b("div"), u = ne(`projectId:
@@ -14952,30 +14955,30 @@ function Ca(t) {
14952
14955
  `), w = b("input"), T = K(), Z = b("div"), R = ne(`sourceUrl:
14953
14956
  `), q = b("input"), ie = K(), de = b("div"), ge = ne(`showUserInterface:
14954
14957
  `), $ = b("select"), ee = b("option"), ee.textContent = `${!1}`, le = b("option"), le.textContent = `${!0}`, ue = K(), ae = b("div"), ce = ne(`videoTextColor:
14955
- `), re = b("input"), k = K(), C = b("div"), N = ne(`videoIconColor:
14958
+ `), re = b("input"), k = K(), C = b("div"), x = ne(`videoIconColor:
14956
14959
  `), L = b("input"), Be = K(), Ee = b("div"), G = ne(`mediaSession:
14957
14960
  `), J = b("select"), _e = b("option"), _e.textContent = "auto", Ve = b("option"), Ve.textContent = "override", Pe = b("option"), Pe.textContent = "none", Re = K(), je = b("div"), Fe = ne(`contentIndex:
14958
14961
  `), Me = b("select");
14959
- for (let x = 0; x < gt.length; x += 1)
14960
- gt[x].c();
14962
+ for (let N = 0; N < gt.length; N += 1)
14963
+ gt[N].c();
14961
14964
  ut = K(), Le = b("div"), it = ne(`introsOutrosIndex:
14962
14965
  `), qe = b("select"), mt = b("option"), mt.textContent = "-1 (none)";
14963
- for (let x = 0; x < ft.length; x += 1)
14964
- ft[x].c();
14966
+ for (let N = 0; N < ft.length; N += 1)
14967
+ ft[N].c();
14965
14968
  Xe = K(), Qe = b("div"), ht = ne(`persistentAdImage:
14966
14969
  `), Je = b("select"), _t = b("option"), _t.textContent = `${!1}`, We = b("option"), We.textContent = `${!0}`, Ke = K(), Ge = b("div"), kt = ne(`persistentIndex:
14967
14970
  `), De = b("select"), pt = b("option"), pt.textContent = "-1 (none)";
14968
- for (let x = 0; x < Bt.length; x += 1)
14969
- Bt[x].c();
14971
+ for (let N = 0; N < Bt.length; N += 1)
14972
+ Bt[N].c();
14970
14973
  St = K(), wt = b("div"), $e = ne(`duration:
14971
14974
  `), et = b("input"), Vt = K(), st = b("div"), Tt = ne(`currentTime:
14972
14975
  `), ot = b("input"), Pt = K(), ct = b("div"), Ye = ne(`playbackRate:
14973
- `), xe = b("input"), nt = K(), tt = b("div"), At = ne(`widgetTarget:
14976
+ `), Ne = b("input"), nt = K(), tt = b("div"), At = ne(`widgetTarget:
14974
14977
  `), U = b("input"), Ze = K(), yt = b("div"), Wt = ne(`logoIconEnabled:
14975
14978
  `), It = b("select"), vt = b("option"), vt.textContent = `${!1}`, Ae = b("option"), Ae.textContent = `${!0}`, B = K(), V = b("div"), W = ne(`advertConsent:
14976
14979
  `), Lt = b("select"), ui = b("option"), ui.textContent = "personalized", wi = b("option"), wi.textContent = "non-personalized", Dt = b("option"), Dt.textContent = "under-the-age-of-consent", Ti = K(), Zt = b("div"), Di = ne(`analyticsConsent:
14977
- `), dt = b("select"), ci = b("option"), ci.textContent = "allowed", xt = b("option"), xt.textContent = "without-local-storage", Pi = b("option"), Pi.textContent = "none", jt = K(), oi = b("div"), Ci = ne(`analyticsCustomUrl:
14978
- `), Nt = b("input"), vi = K(), si = b("div"), an = ne(`analyticsTag:
14980
+ `), dt = b("select"), ci = b("option"), ci.textContent = "allowed", Nt = b("option"), Nt.textContent = "without-local-storage", Pi = b("option"), Pi.textContent = "none", jt = K(), oi = b("div"), Ci = ne(`analyticsCustomUrl:
14981
+ `), xt = b("input"), vi = K(), si = b("div"), an = ne(`analyticsTag:
14979
14982
  `), Ft = b("input"), M(n, "class", "svelte-g76q0j"), M(d, "tabindex", -1), M(d, "type", "text"), M(d, "class", "svelte-g76q0j"), M(r, "class", "control svelte-g76q0j"), M(m, "tabindex", -1), M(m, "type", "text"), M(m, "class", "svelte-g76q0j"), M(f, "class", "control svelte-g76q0j"), M(p, "tabindex", -1), M(p, "type", "text"), M(p, "class", "svelte-g76q0j"), M(v, "class", "control svelte-g76q0j"), M(w, "tabindex", -1), M(w, "type", "text"), M(w, "class", "svelte-g76q0j"), M(E, "class", "control svelte-g76q0j"), M(q, "tabindex", -1), M(q, "type", "text"), M(q, "class", "svelte-g76q0j"), M(Z, "class", "control svelte-g76q0j"), ee.__value = !1, H(ee, ee.__value), le.__value = !0, H(le, le.__value), M($, "tabindex", -1), M($, "class", "svelte-g76q0j"), /*showUserInterface*/
14980
14983
  t[5] === void 0 && at(() => (
14981
14984
  /*select0_change_handler_1*/
@@ -15000,7 +15003,7 @@ function Ca(t) {
15000
15003
  t[17] === void 0 && at(() => (
15001
15004
  /*select5_change_handler_1*/
15002
15005
  t[76].call(De)
15003
- )), M(Ge, "class", "control svelte-g76q0j"), M(et, "tabindex", -1), M(et, "type", "text"), M(et, "class", "svelte-g76q0j"), M(wt, "class", "control svelte-g76q0j"), M(ot, "tabindex", -1), M(ot, "type", "text"), M(ot, "class", "svelte-g76q0j"), M(st, "class", "control svelte-g76q0j"), M(xe, "tabindex", -1), M(xe, "type", "text"), M(xe, "class", "svelte-g76q0j"), M(ct, "class", "control svelte-g76q0j"), M(U, "tabindex", -1), M(U, "type", "text"), M(U, "class", "svelte-g76q0j"), M(tt, "class", "control svelte-g76q0j"), vt.__value = !1, H(vt, vt.__value), Ae.__value = !0, H(Ae, Ae.__value), M(It, "tabindex", -1), M(It, "class", "svelte-g76q0j"), /*logoIconEnabled*/
15006
+ )), M(Ge, "class", "control svelte-g76q0j"), M(et, "tabindex", -1), M(et, "type", "text"), M(et, "class", "svelte-g76q0j"), M(wt, "class", "control svelte-g76q0j"), M(ot, "tabindex", -1), M(ot, "type", "text"), M(ot, "class", "svelte-g76q0j"), M(st, "class", "control svelte-g76q0j"), M(Ne, "tabindex", -1), M(Ne, "type", "text"), M(Ne, "class", "svelte-g76q0j"), M(ct, "class", "control svelte-g76q0j"), M(U, "tabindex", -1), M(U, "type", "text"), M(U, "class", "svelte-g76q0j"), M(tt, "class", "control svelte-g76q0j"), vt.__value = !1, H(vt, vt.__value), Ae.__value = !0, H(Ae, Ae.__value), M(It, "tabindex", -1), M(It, "class", "svelte-g76q0j"), /*logoIconEnabled*/
15004
15007
  t[32] === void 0 && at(() => (
15005
15008
  /*select6_change_handler_1*/
15006
15009
  t[81].call(It)
@@ -15008,52 +15011,52 @@ function Ca(t) {
15008
15011
  t[37] === void 0 && at(() => (
15009
15012
  /*select7_change_handler_1*/
15010
15013
  t[82].call(Lt)
15011
- )), M(V, "class", "control svelte-g76q0j"), ci.__value = "allowed", H(ci, ci.__value), xt.__value = "without-local-storage", H(xt, xt.__value), Pi.__value = "none", H(Pi, Pi.__value), M(dt, "tabindex", -1), M(dt, "class", "svelte-g76q0j"), /*analyticsConsent*/
15014
+ )), M(V, "class", "control svelte-g76q0j"), ci.__value = "allowed", H(ci, ci.__value), Nt.__value = "without-local-storage", H(Nt, Nt.__value), Pi.__value = "none", H(Pi, Pi.__value), M(dt, "tabindex", -1), M(dt, "class", "svelte-g76q0j"), /*analyticsConsent*/
15012
15015
  t[38] === void 0 && at(() => (
15013
15016
  /*select8_change_handler_1*/
15014
15017
  t[83].call(dt)
15015
- )), M(Zt, "class", "control svelte-g76q0j"), M(Nt, "tabindex", -1), M(Nt, "type", "text"), M(Nt, "class", "svelte-g76q0j"), M(oi, "class", "control svelte-g76q0j"), M(Ft, "tabindex", -1), M(Ft, "type", "text"), M(Ft, "class", "svelte-g76q0j"), M(si, "class", "control svelte-g76q0j");
15018
+ )), M(Zt, "class", "control svelte-g76q0j"), M(xt, "tabindex", -1), M(xt, "type", "text"), M(xt, "class", "svelte-g76q0j"), M(oi, "class", "control svelte-g76q0j"), M(Ft, "tabindex", -1), M(Ft, "type", "text"), M(Ft, "class", "svelte-g76q0j"), M(si, "class", "control svelte-g76q0j");
15016
15019
  },
15017
- m(x, X) {
15018
- j(x, e, X), j(x, i, X), j(x, n, X), j(x, o, X), j(x, s, X), j(x, l, X), j(x, a, X), j(x, r, X), h(r, u), h(r, d), H(
15020
+ m(N, X) {
15021
+ j(N, e, X), j(N, i, X), j(N, n, X), j(N, o, X), j(N, s, X), j(N, l, X), j(N, a, X), j(N, r, X), h(r, u), h(r, d), H(
15019
15022
  d,
15020
15023
  /*projectId*/
15021
15024
  t[0]
15022
- ), j(x, g, X), j(x, f, X), h(f, A), h(f, m), H(
15025
+ ), j(N, g, X), j(N, f, X), h(f, A), h(f, m), H(
15023
15026
  m,
15024
15027
  /*contentId*/
15025
15028
  t[1]
15026
- ), j(x, y, X), j(x, v, X), h(v, P), h(v, p), H(
15029
+ ), j(N, y, X), j(N, v, X), h(v, P), h(v, p), H(
15027
15030
  p,
15028
15031
  /*playlistId*/
15029
15032
  t[2]
15030
- ), j(x, S, X), j(x, E, X), h(E, D), h(E, w), H(
15033
+ ), j(N, S, X), j(N, E, X), h(E, D), h(E, w), H(
15031
15034
  w,
15032
15035
  /*sourceId*/
15033
15036
  t[3]
15034
- ), j(x, T, X), j(x, Z, X), h(Z, R), h(Z, q), H(
15037
+ ), j(N, T, X), j(N, Z, X), h(Z, R), h(Z, q), H(
15035
15038
  q,
15036
15039
  /*sourceUrl*/
15037
15040
  t[4]
15038
- ), j(x, ie, X), j(x, de, X), h(de, ge), h(de, $), h($, ee), h($, le), Oe(
15041
+ ), j(N, ie, X), j(N, de, X), h(de, ge), h(de, $), h($, ee), h($, le), Oe(
15039
15042
  $,
15040
15043
  /*showUserInterface*/
15041
15044
  t[5],
15042
15045
  !0
15043
- ), j(x, ue, X), j(x, ae, X), h(ae, ce), h(ae, re), H(
15046
+ ), j(N, ue, X), j(N, ae, X), h(ae, ce), h(ae, re), H(
15044
15047
  re,
15045
15048
  /*videoTextColor*/
15046
15049
  t[30]
15047
- ), j(x, k, X), j(x, C, X), h(C, N), h(C, L), H(
15050
+ ), j(N, k, X), j(N, C, X), h(C, x), h(C, L), H(
15048
15051
  L,
15049
15052
  /*videoIconColor*/
15050
15053
  t[31]
15051
- ), j(x, Be, X), j(x, Ee, X), h(Ee, G), h(Ee, J), h(J, _e), h(J, Ve), h(J, Pe), Oe(
15054
+ ), j(N, Be, X), j(N, Ee, X), h(Ee, G), h(Ee, J), h(J, _e), h(J, Ve), h(J, Pe), Oe(
15052
15055
  J,
15053
15056
  /*mediaSession*/
15054
15057
  t[12],
15055
15058
  !0
15056
- ), j(x, Re, X), j(x, je, X), h(je, Fe), h(je, Me);
15059
+ ), j(N, Re, X), j(N, je, X), h(je, Fe), h(je, Me);
15057
15060
  for (let se = 0; se < gt.length; se += 1)
15058
15061
  gt[se] && gt[se].m(Me, null);
15059
15062
  Oe(
@@ -15061,7 +15064,7 @@ function Ca(t) {
15061
15064
  /*contentIndex*/
15062
15065
  t[13],
15063
15066
  !0
15064
- ), j(x, ut, X), j(x, Le, X), h(Le, it), h(Le, qe), h(qe, mt);
15067
+ ), j(N, ut, X), j(N, Le, X), h(Le, it), h(Le, qe), h(qe, mt);
15065
15068
  for (let se = 0; se < ft.length; se += 1)
15066
15069
  ft[se] && ft[se].m(qe, null);
15067
15070
  Oe(
@@ -15069,12 +15072,12 @@ function Ca(t) {
15069
15072
  /*introsOutrosIndex*/
15070
15073
  t[14],
15071
15074
  !0
15072
- ), j(x, Xe, X), j(x, Qe, X), h(Qe, ht), h(Qe, Je), h(Je, _t), h(Je, We), Oe(
15075
+ ), j(N, Xe, X), j(N, Qe, X), h(Qe, ht), h(Qe, Je), h(Je, _t), h(Je, We), Oe(
15073
15076
  Je,
15074
15077
  /*persistentAdImage*/
15075
15078
  t[16],
15076
15079
  !0
15077
- ), j(x, Ke, X), j(x, Ge, X), h(Ge, kt), h(Ge, De), h(De, pt);
15080
+ ), j(N, Ke, X), j(N, Ge, X), h(Ge, kt), h(Ge, De), h(De, pt);
15078
15081
  for (let se = 0; se < Bt.length; se += 1)
15079
15082
  Bt[se] && Bt[se].m(De, null);
15080
15083
  Oe(
@@ -15082,42 +15085,42 @@ function Ca(t) {
15082
15085
  /*persistentIndex*/
15083
15086
  t[17],
15084
15087
  !0
15085
- ), j(x, St, X), j(x, wt, X), h(wt, $e), h(wt, et), H(
15088
+ ), j(N, St, X), j(N, wt, X), h(wt, $e), h(wt, et), H(
15086
15089
  et,
15087
15090
  /*duration*/
15088
15091
  t[18]
15089
- ), j(x, Vt, X), j(x, st, X), h(st, Tt), h(st, ot), H(
15092
+ ), j(N, Vt, X), j(N, st, X), h(st, Tt), h(st, ot), H(
15090
15093
  ot,
15091
15094
  /*currentTime*/
15092
15095
  t[19]
15093
- ), j(x, Pt, X), j(x, ct, X), h(ct, Ye), h(ct, xe), H(
15094
- xe,
15096
+ ), j(N, Pt, X), j(N, ct, X), h(ct, Ye), h(ct, Ne), H(
15097
+ Ne,
15095
15098
  /*playbackRate*/
15096
15099
  t[21]
15097
- ), j(x, nt, X), j(x, tt, X), h(tt, At), h(tt, U), H(
15100
+ ), j(N, nt, X), j(N, tt, X), h(tt, At), h(tt, U), H(
15098
15101
  U,
15099
15102
  /*widgetTarget*/
15100
15103
  t[25]
15101
- ), j(x, Ze, X), j(x, yt, X), h(yt, Wt), h(yt, It), h(It, vt), h(It, Ae), Oe(
15104
+ ), j(N, Ze, X), j(N, yt, X), h(yt, Wt), h(yt, It), h(It, vt), h(It, Ae), Oe(
15102
15105
  It,
15103
15106
  /*logoIconEnabled*/
15104
15107
  t[32],
15105
15108
  !0
15106
- ), j(x, B, X), j(x, V, X), h(V, W), h(V, Lt), h(Lt, ui), h(Lt, wi), h(Lt, Dt), Oe(
15109
+ ), j(N, B, X), j(N, V, X), h(V, W), h(V, Lt), h(Lt, ui), h(Lt, wi), h(Lt, Dt), Oe(
15107
15110
  Lt,
15108
15111
  /*advertConsent*/
15109
15112
  t[37],
15110
15113
  !0
15111
- ), j(x, Ti, X), j(x, Zt, X), h(Zt, Di), h(Zt, dt), h(dt, ci), h(dt, xt), h(dt, Pi), Oe(
15114
+ ), j(N, Ti, X), j(N, Zt, X), h(Zt, Di), h(Zt, dt), h(dt, ci), h(dt, Nt), h(dt, Pi), Oe(
15112
15115
  dt,
15113
15116
  /*analyticsConsent*/
15114
15117
  t[38],
15115
15118
  !0
15116
- ), j(x, jt, X), j(x, oi, X), h(oi, Ci), h(oi, Nt), H(
15117
- Nt,
15119
+ ), j(N, jt, X), j(N, oi, X), h(oi, Ci), h(oi, xt), H(
15120
+ xt,
15118
15121
  /*analyticsCustomUrl*/
15119
15122
  t[39]
15120
- ), j(x, vi, X), j(x, si, X), h(si, an), h(si, Ft), H(
15123
+ ), j(N, vi, X), j(N, si, X), h(si, an), h(si, Ft), H(
15121
15124
  Ft,
15122
15125
  /*analyticsTag*/
15123
15126
  t[40]
@@ -15213,7 +15216,7 @@ function Ca(t) {
15213
15216
  t[78]
15214
15217
  ),
15215
15218
  Y(
15216
- xe,
15219
+ Ne,
15217
15220
  "input",
15218
15221
  /*input9_input_handler*/
15219
15222
  t[79]
@@ -15243,7 +15246,7 @@ function Ca(t) {
15243
15246
  t[83]
15244
15247
  ),
15245
15248
  Y(
15246
- Nt,
15249
+ xt,
15247
15250
  "input",
15248
15251
  /*input11_input_handler*/
15249
15252
  t[84]
@@ -15256,68 +15259,68 @@ function Ca(t) {
15256
15259
  )
15257
15260
  ], Ji = !0);
15258
15261
  },
15259
- p(x, X) {
15262
+ p(N, X) {
15260
15263
  if (X[0] & /*projectId*/
15261
15264
  1 && d.value !== /*projectId*/
15262
- x[0] && H(
15265
+ N[0] && H(
15263
15266
  d,
15264
15267
  /*projectId*/
15265
- x[0]
15268
+ N[0]
15266
15269
  ), X[0] & /*contentId*/
15267
15270
  2 && m.value !== /*contentId*/
15268
- x[1] && H(
15271
+ N[1] && H(
15269
15272
  m,
15270
15273
  /*contentId*/
15271
- x[1]
15274
+ N[1]
15272
15275
  ), X[0] & /*playlistId*/
15273
15276
  4 && p.value !== /*playlistId*/
15274
- x[2] && H(
15277
+ N[2] && H(
15275
15278
  p,
15276
15279
  /*playlistId*/
15277
- x[2]
15280
+ N[2]
15278
15281
  ), X[0] & /*sourceId*/
15279
15282
  8 && w.value !== /*sourceId*/
15280
- x[3] && H(
15283
+ N[3] && H(
15281
15284
  w,
15282
15285
  /*sourceId*/
15283
- x[3]
15286
+ N[3]
15284
15287
  ), X[0] & /*sourceUrl*/
15285
15288
  16 && q.value !== /*sourceUrl*/
15286
- x[4] && H(
15289
+ N[4] && H(
15287
15290
  q,
15288
15291
  /*sourceUrl*/
15289
- x[4]
15292
+ N[4]
15290
15293
  ), X[0] & /*showUserInterface*/
15291
15294
  32 && Oe(
15292
15295
  $,
15293
15296
  /*showUserInterface*/
15294
- x[5]
15297
+ N[5]
15295
15298
  ), X[0] & /*videoTextColor*/
15296
15299
  1073741824 && re.value !== /*videoTextColor*/
15297
- x[30] && H(
15300
+ N[30] && H(
15298
15301
  re,
15299
15302
  /*videoTextColor*/
15300
- x[30]
15303
+ N[30]
15301
15304
  ), X[1] & /*videoIconColor*/
15302
15305
  1 && L.value !== /*videoIconColor*/
15303
- x[31] && H(
15306
+ N[31] && H(
15304
15307
  L,
15305
15308
  /*videoIconColor*/
15306
- x[31]
15309
+ N[31]
15307
15310
  ), X[0] & /*mediaSession*/
15308
15311
  4096 && Oe(
15309
15312
  J,
15310
15313
  /*mediaSession*/
15311
- x[12]
15314
+ N[12]
15312
15315
  ), X[1] & /*content*/
15313
15316
  1024) {
15314
15317
  Ut = ni(
15315
15318
  /*content*/
15316
- x[41]
15319
+ N[41]
15317
15320
  );
15318
15321
  let se;
15319
15322
  for (se = 0; se < Ut.length; se += 1) {
15320
- const Kt = wa(x, Ut, se);
15323
+ const Kt = wa(N, Ut, se);
15321
15324
  gt[se] ? gt[se].p(Kt, X) : (gt[se] = Ia(Kt), gt[se].c(), gt[se].m(Me, null));
15322
15325
  }
15323
15326
  for (; se < gt.length; se += 1)
@@ -15328,16 +15331,16 @@ function Ca(t) {
15328
15331
  8192 && Oe(
15329
15332
  Me,
15330
15333
  /*contentIndex*/
15331
- x[13]
15334
+ N[13]
15332
15335
  ), X[1] & /*introsOutros*/
15333
15336
  2048) {
15334
15337
  Jt = ni(
15335
15338
  /*introsOutros*/
15336
- x[42]
15339
+ N[42]
15337
15340
  );
15338
15341
  let se;
15339
15342
  for (se = 0; se < Jt.length; se += 1) {
15340
- const Kt = Sa(x, Jt, se);
15343
+ const Kt = Sa(N, Jt, se);
15341
15344
  ft[se] ? ft[se].p(Kt, X) : (ft[se] = Ba(Kt), ft[se].c(), ft[se].m(qe, null));
15342
15345
  }
15343
15346
  for (; se < ft.length; se += 1)
@@ -15348,21 +15351,21 @@ function Ca(t) {
15348
15351
  16384 && Oe(
15349
15352
  qe,
15350
15353
  /*introsOutrosIndex*/
15351
- x[14]
15354
+ N[14]
15352
15355
  ), X[0] & /*persistentAdImage*/
15353
15356
  65536 && Oe(
15354
15357
  Je,
15355
15358
  /*persistentAdImage*/
15356
- x[16]
15359
+ N[16]
15357
15360
  ), X[1] & /*adverts*/
15358
15361
  4096) {
15359
15362
  Ht = ni(
15360
15363
  /*adverts*/
15361
- x[43]
15364
+ N[43]
15362
15365
  );
15363
15366
  let se;
15364
15367
  for (se = 0; se < Ht.length; se += 1) {
15365
- const Kt = pa(x, Ht, se);
15368
+ const Kt = pa(N, Ht, se);
15366
15369
  Bt[se] ? Bt[se].p(Kt, X) : (Bt[se] = Va(Kt), Bt[se].c(), Bt[se].m(De, null));
15367
15370
  }
15368
15371
  for (; se < Bt.length; se += 1)
@@ -15373,62 +15376,62 @@ function Ca(t) {
15373
15376
  131072 && Oe(
15374
15377
  De,
15375
15378
  /*persistentIndex*/
15376
- x[17]
15379
+ N[17]
15377
15380
  ), X[0] & /*duration*/
15378
15381
  262144 && et.value !== /*duration*/
15379
- x[18] && H(
15382
+ N[18] && H(
15380
15383
  et,
15381
15384
  /*duration*/
15382
- x[18]
15385
+ N[18]
15383
15386
  ), X[0] & /*currentTime*/
15384
15387
  524288 && ot.value !== /*currentTime*/
15385
- x[19] && H(
15388
+ N[19] && H(
15386
15389
  ot,
15387
15390
  /*currentTime*/
15388
- x[19]
15391
+ N[19]
15389
15392
  ), X[0] & /*playbackRate*/
15390
- 2097152 && xe.value !== /*playbackRate*/
15391
- x[21] && H(
15392
- xe,
15393
+ 2097152 && Ne.value !== /*playbackRate*/
15394
+ N[21] && H(
15395
+ Ne,
15393
15396
  /*playbackRate*/
15394
- x[21]
15397
+ N[21]
15395
15398
  ), X[0] & /*widgetTarget*/
15396
15399
  33554432 && U.value !== /*widgetTarget*/
15397
- x[25] && H(
15400
+ N[25] && H(
15398
15401
  U,
15399
15402
  /*widgetTarget*/
15400
- x[25]
15403
+ N[25]
15401
15404
  ), X[1] & /*logoIconEnabled*/
15402
15405
  2 && Oe(
15403
15406
  It,
15404
15407
  /*logoIconEnabled*/
15405
- x[32]
15408
+ N[32]
15406
15409
  ), X[1] & /*advertConsent*/
15407
15410
  64 && Oe(
15408
15411
  Lt,
15409
15412
  /*advertConsent*/
15410
- x[37]
15413
+ N[37]
15411
15414
  ), X[1] & /*analyticsConsent*/
15412
15415
  128 && Oe(
15413
15416
  dt,
15414
15417
  /*analyticsConsent*/
15415
- x[38]
15418
+ N[38]
15416
15419
  ), X[1] & /*analyticsCustomUrl*/
15417
- 256 && Nt.value !== /*analyticsCustomUrl*/
15418
- x[39] && H(
15419
- Nt,
15420
+ 256 && xt.value !== /*analyticsCustomUrl*/
15421
+ N[39] && H(
15422
+ xt,
15420
15423
  /*analyticsCustomUrl*/
15421
- x[39]
15424
+ N[39]
15422
15425
  ), X[1] & /*analyticsTag*/
15423
15426
  512 && Ft.value !== /*analyticsTag*/
15424
- x[40] && H(
15427
+ N[40] && H(
15425
15428
  Ft,
15426
15429
  /*analyticsTag*/
15427
- x[40]
15430
+ N[40]
15428
15431
  );
15429
15432
  },
15430
- d(x) {
15431
- x && (O(e), O(i), O(n), O(o), O(s), O(l), O(a), O(r), O(g), O(f), O(y), O(v), O(S), O(E), O(T), O(Z), O(ie), O(de), O(ue), O(ae), O(k), O(C), O(Be), O(Ee), O(Re), O(je), O(ut), O(Le), O(Xe), O(Qe), O(Ke), O(Ge), O(St), O(wt), O(Vt), O(st), O(Pt), O(ct), O(nt), O(tt), O(Ze), O(yt), O(B), O(V), O(Ti), O(Zt), O(jt), O(oi), O(vi), O(si)), vn(gt, x), vn(ft, x), vn(Bt, x), Ji = !1, rt(Rt);
15433
+ d(N) {
15434
+ N && (O(e), O(i), O(n), O(o), O(s), O(l), O(a), O(r), O(g), O(f), O(y), O(v), O(S), O(E), O(T), O(Z), O(ie), O(de), O(ue), O(ae), O(k), O(C), O(Be), O(Ee), O(Re), O(je), O(ut), O(Le), O(Xe), O(Qe), O(Ke), O(Ge), O(St), O(wt), O(Vt), O(st), O(Pt), O(ct), O(nt), O(tt), O(Ze), O(yt), O(B), O(V), O(Ti), O(Zt), O(jt), O(oi), O(vi), O(si)), vn(gt, N), vn(ft, N), vn(Bt, N), Ji = !1, rt(Rt);
15432
15435
  }
15433
15436
  };
15434
15437
  }
@@ -15551,15 +15554,15 @@ function VA(t) {
15551
15554
  };
15552
15555
  }
15553
15556
  function WA(t) {
15554
- let e, i, n, o, s, l, a, r, u, d, g, f, A, m, y, v, P, p, S, E, D, w, T, Z, R, q, ie, de, ge, $, ee, le, ue, ae, ce, re, k, C, N, L, Be, Ee, G, J, _e, Ve, Pe, Re, je, Fe, Me, ut, Le, it, qe, mt, Xe, Qe, ht, Je, _t, We, Ke, Ge, kt, De, pt, St, wt, $e, et, Vt, st, Tt, ot, Pt, ct, Ye, xe, nt, tt, At, U, Ze, yt, Wt, It, vt, Ae, B, V, W, Lt, ui, wi, Dt, Ti, Zt, Di, dt, ci, xt, Pi, jt, oi, Ci, Nt, vi, si, an, Ft, Ji, Rt, Ut, gt, Jt, ft, Ht, Bt, x, X, se, Kt, rn, un, cn, dn, ko, bn, po, Ei, So, Jn, wo, To, Kn, Po, gn = ni(
15557
+ let e, i, n, o, s, l, a, r, u, d, g, f, A, m, y, v, P, p, S, E, D, w, T, Z, R, q, ie, de, ge, $, ee, le, ue, ae, ce, re, k, C, x, L, Be, Ee, G, J, _e, Ve, Pe, Re, je, Fe, Me, ut, Le, it, qe, mt, Xe, Qe, ht, Je, _t, We, Ke, Ge, kt, De, pt, St, wt, $e, et, Vt, st, Tt, ot, Pt, ct, Ye, Ne, nt, tt, At, U, Ze, yt, Wt, It, vt, Ae, B, V, W, Lt, ui, wi, Dt, Ti, Zt, Di, dt, ci, Nt, Pi, jt, oi, Ci, xt, vi, si, an, Ft, Ji, Rt, Ut, gt, Jt, ft, Ht, Bt, N, X, se, Kt, rn, un, cn, dn, ko, bn, po, Ei, So, Jn, wo, To, Kn, Po, gn = ni(
15555
15558
  /*adverts*/
15556
15559
  t[43]
15557
15560
  ), Gt = [];
15558
15561
  for (let ye = 0; ye < gn.length; ye += 1)
15559
15562
  Gt[ye] = Pa(Ta(t, gn, ye));
15560
- let Vs = ni([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]), kn = [];
15563
+ let Ws = ni([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]), kn = [];
15561
15564
  for (let ye = 0; ye < 12; ye += 1)
15562
- kn[ye] = IA(CA(t, Vs, ye));
15565
+ kn[ye] = IA(CA(t, Ws, ye));
15563
15566
  let li = (
15564
15567
  /*showAdvancedSettings*/
15565
15568
  t[44] && Ca(t)
@@ -15578,7 +15581,7 @@ function WA(t) {
15578
15581
  `), v = b("select"), P = b("option"), P.textContent = "stopped", p = b("option"), p.textContent = "playing", S = b("option"), S.textContent = "paused", E = K(), D = b("div"), w = ne(`playerTitle:
15579
15582
  `), T = b("input"), Z = K(), R = b("div"), q = ne(`callToAction:
15580
15583
  `), ie = b("input"), de = K(), ge = b("div"), $ = ne(`skipButtonStyle:
15581
- `), ee = b("select"), le = b("option"), le.textContent = "auto", ue = b("option"), ue.textContent = "segments", ae = b("option"), ae.textContent = "seconds", ce = b("option"), ce.textContent = "seconds-15", re = b("option"), re.textContent = "seconds-15-30", k = b("option"), k.textContent = "tracks", C = K(), N = b("div"), L = ne(`playlistStyle:
15584
+ `), ee = b("select"), le = b("option"), le.textContent = "auto", ue = b("option"), ue.textContent = "segments", ae = b("option"), ae.textContent = "seconds", ce = b("option"), ce.textContent = "seconds-15", re = b("option"), re.textContent = "seconds-15-30", k = b("option"), k.textContent = "tracks", C = K(), x = b("div"), L = ne(`playlistStyle:
15582
15585
  `), Be = b("select"), Ee = b("option"), Ee.textContent = "auto", G = b("option"), G.textContent = "show", J = b("option"), J.textContent = "show-3", _e = b("option"), _e.textContent = "show-999", Ve = b("option"), Ve.textContent = "hide", Pe = K(), Re = b("div"), je = ne(`playlistToggle:
15583
15586
  `), Fe = b("select"), Me = b("option"), Me.textContent = "auto", ut = b("option"), ut.textContent = "show", Le = b("option"), Le.textContent = "hide", it = K(), qe = b("div"), mt = ne(`advertIndex:
15584
15587
  `), Xe = b("select"), Qe = b("option"), Qe.textContent = "-1 (none)";
@@ -15587,13 +15590,13 @@ function WA(t) {
15587
15590
  ht = K(), Je = b("div"), _t = ne(`widgetStyle:
15588
15591
  `), We = b("select"), Ke = b("option"), Ke.textContent = "small", Ge = b("option"), Ge.textContent = "standard", kt = b("option"), kt.textContent = "large", De = b("option"), De.textContent = "video", pt = K(), St = b("div"), wt = ne(`widgetPosition:
15589
15592
  `), $e = b("select"), et = b("option"), et.textContent = "auto", Vt = b("option"), Vt.textContent = "left", st = b("option"), st.textContent = "center", Tt = b("option"), Tt.textContent = "right", ot = K(), Pt = b("div"), ct = ne(`widgetWidth:
15590
- `), Ye = b("select"), xe = b("option"), xe.textContent = "auto", nt = b("option"), nt.textContent = "400px", tt = b("option"), tt.textContent = "30rem", At = b("option"), At.textContent = "fit-content", U = b("option"), U.textContent = "initial", Ze = b("option"), Ze.textContent = "0", yt = K(), Wt = b("div"), It = ne(`textColor:
15593
+ `), Ye = b("select"), Ne = b("option"), Ne.textContent = "auto", nt = b("option"), nt.textContent = "400px", tt = b("option"), tt.textContent = "30rem", At = b("option"), At.textContent = "fit-content", U = b("option"), U.textContent = "initial", Ze = b("option"), Ze.textContent = "0", yt = K(), Wt = b("div"), It = ne(`textColor:
15591
15594
  `), vt = b("input"), Ae = K(), B = b("div"), V = ne(`backgroundColor:
15592
15595
  `), W = b("input"), Lt = K(), ui = b("div"), wi = ne(`iconColor:
15593
15596
  `), Dt = b("input"), Ti = K(), Zt = b("div"), Di = ne(`highlightColor:
15594
- `), dt = b("input"), ci = K(), xt = b("div"), Pi = ne(`highlightSections:
15595
- `), jt = b("select"), oi = b("option"), oi.textContent = "all", Ci = b("option"), Ci.textContent = "body", Nt = b("option"), Nt.textContent = "none", vi = b("option"), vi.textContent = "all-none", si = b("option"), si.textContent = "none-all", an = K(), Ft = b("div"), Ji = ne(`clickableSections:
15596
- `), Rt = b("select"), Ut = b("option"), Ut.textContent = "all", gt = b("option"), gt.textContent = "body", Jt = b("option"), Jt.textContent = "none", ft = b("option"), ft.textContent = "all-none", Ht = b("option"), Ht.textContent = "none-all", Bt = K(), x = b("div"), X = ne(`segmentWidgetSections:
15597
+ `), dt = b("input"), ci = K(), Nt = b("div"), Pi = ne(`highlightSections:
15598
+ `), jt = b("select"), oi = b("option"), oi.textContent = "all", Ci = b("option"), Ci.textContent = "body", xt = b("option"), xt.textContent = "none", vi = b("option"), vi.textContent = "all-none", si = b("option"), si.textContent = "none-all", an = K(), Ft = b("div"), Ji = ne(`clickableSections:
15599
+ `), Rt = b("select"), Ut = b("option"), Ut.textContent = "all", gt = b("option"), gt.textContent = "body", Jt = b("option"), Jt.textContent = "none", ft = b("option"), ft.textContent = "all-none", Ht = b("option"), Ht.textContent = "none-all", Bt = K(), N = b("div"), X = ne(`segmentWidgetSections:
15597
15600
  `), se = b("select"), Kt = b("option"), Kt.textContent = "all", rn = b("option"), rn.textContent = "body", un = b("option"), un.textContent = "none", cn = b("option"), cn.textContent = "all-none", dn = b("option"), dn.textContent = "none-all", ko = K(), bn = b("div"), po = ne(`segmentWidgetPosition:
15598
15601
  `), Ei = b("select");
15599
15602
  for (let ye = 0; ye < 12; ye += 1)
@@ -15614,7 +15617,7 @@ function WA(t) {
15614
15617
  t[10] === void 0 && at(() => (
15615
15618
  /*select3_change_handler*/
15616
15619
  t[50].call(Be)
15617
- )), M(N, "class", "control svelte-g76q0j"), Me.__value = "auto", H(Me, Me.__value), ut.__value = "show", H(ut, ut.__value), Le.__value = "hide", H(Le, Le.__value), M(Fe, "tabindex", -1), M(Fe, "class", "svelte-g76q0j"), /*playlistToggle*/
15620
+ )), M(x, "class", "control svelte-g76q0j"), Me.__value = "auto", H(Me, Me.__value), ut.__value = "show", H(ut, ut.__value), Le.__value = "hide", H(Le, Le.__value), M(Fe, "tabindex", -1), M(Fe, "class", "svelte-g76q0j"), /*playlistToggle*/
15618
15621
  t[11] === void 0 && at(() => (
15619
15622
  /*select4_change_handler*/
15620
15623
  t[51].call(Fe)
@@ -15630,15 +15633,15 @@ function WA(t) {
15630
15633
  t[23] === void 0 && at(() => (
15631
15634
  /*select7_change_handler*/
15632
15635
  t[54].call($e)
15633
- )), M(St, "class", "control svelte-g76q0j"), xe.__value = "auto", H(xe, xe.__value), nt.__value = "400px", H(nt, nt.__value), tt.__value = "30rem", H(tt, tt.__value), At.__value = "fit-content", H(At, At.__value), U.__value = "initial", H(U, U.__value), Ze.__value = "0", H(Ze, Ze.__value), M(Ye, "tabindex", -1), M(Ye, "class", "svelte-g76q0j"), /*widgetWidth*/
15636
+ )), M(St, "class", "control svelte-g76q0j"), Ne.__value = "auto", H(Ne, Ne.__value), nt.__value = "400px", H(nt, nt.__value), tt.__value = "30rem", H(tt, tt.__value), At.__value = "fit-content", H(At, At.__value), U.__value = "initial", H(U, U.__value), Ze.__value = "0", H(Ze, Ze.__value), M(Ye, "tabindex", -1), M(Ye, "class", "svelte-g76q0j"), /*widgetWidth*/
15634
15637
  t[24] === void 0 && at(() => (
15635
15638
  /*select8_change_handler*/
15636
15639
  t[55].call(Ye)
15637
- )), M(Pt, "class", "control svelte-g76q0j"), M(vt, "tabindex", -1), M(vt, "type", "text"), M(vt, "class", "svelte-g76q0j"), M(Wt, "class", "control svelte-g76q0j"), M(W, "tabindex", -1), M(W, "type", "text"), M(W, "class", "svelte-g76q0j"), M(B, "class", "control svelte-g76q0j"), M(Dt, "tabindex", -1), M(Dt, "type", "text"), M(Dt, "class", "svelte-g76q0j"), M(ui, "class", "control svelte-g76q0j"), M(dt, "tabindex", -1), M(dt, "type", "text"), M(dt, "class", "svelte-g76q0j"), M(Zt, "class", "control svelte-g76q0j"), oi.__value = "all", H(oi, oi.__value), Ci.__value = "body", H(Ci, Ci.__value), Nt.__value = "none", H(Nt, Nt.__value), vi.__value = "all-none", H(vi, vi.__value), si.__value = "none-all", H(si, si.__value), M(jt, "tabindex", -1), M(jt, "class", "svelte-g76q0j"), /*highlightSections*/
15640
+ )), M(Pt, "class", "control svelte-g76q0j"), M(vt, "tabindex", -1), M(vt, "type", "text"), M(vt, "class", "svelte-g76q0j"), M(Wt, "class", "control svelte-g76q0j"), M(W, "tabindex", -1), M(W, "type", "text"), M(W, "class", "svelte-g76q0j"), M(B, "class", "control svelte-g76q0j"), M(Dt, "tabindex", -1), M(Dt, "type", "text"), M(Dt, "class", "svelte-g76q0j"), M(ui, "class", "control svelte-g76q0j"), M(dt, "tabindex", -1), M(dt, "type", "text"), M(dt, "class", "svelte-g76q0j"), M(Zt, "class", "control svelte-g76q0j"), oi.__value = "all", H(oi, oi.__value), Ci.__value = "body", H(Ci, Ci.__value), xt.__value = "none", H(xt, xt.__value), vi.__value = "all-none", H(vi, vi.__value), si.__value = "none-all", H(si, si.__value), M(jt, "tabindex", -1), M(jt, "class", "svelte-g76q0j"), /*highlightSections*/
15638
15641
  t[33] === void 0 && at(() => (
15639
15642
  /*select9_change_handler*/
15640
15643
  t[60].call(jt)
15641
- )), M(xt, "class", "control svelte-g76q0j"), Ut.__value = "all", H(Ut, Ut.__value), gt.__value = "body", H(gt, gt.__value), Jt.__value = "none", H(Jt, Jt.__value), ft.__value = "all-none", H(ft, ft.__value), Ht.__value = "none-all", H(Ht, Ht.__value), M(Rt, "tabindex", -1), M(Rt, "class", "svelte-g76q0j"), /*clickableSections*/
15644
+ )), M(Nt, "class", "control svelte-g76q0j"), Ut.__value = "all", H(Ut, Ut.__value), gt.__value = "body", H(gt, gt.__value), Jt.__value = "none", H(Jt, Jt.__value), ft.__value = "all-none", H(ft, ft.__value), Ht.__value = "none-all", H(Ht, Ht.__value), M(Rt, "tabindex", -1), M(Rt, "class", "svelte-g76q0j"), /*clickableSections*/
15642
15645
  t[34] === void 0 && at(() => (
15643
15646
  /*select10_change_handler*/
15644
15647
  t[61].call(Rt)
@@ -15646,7 +15649,7 @@ function WA(t) {
15646
15649
  t[35] === void 0 && at(() => (
15647
15650
  /*select11_change_handler*/
15648
15651
  t[62].call(se)
15649
- )), M(x, "class", "control svelte-g76q0j"), M(Ei, "tabindex", -1), M(Ei, "class", "svelte-g76q0j"), /*segmentWidgetPosition*/
15652
+ )), M(N, "class", "control svelte-g76q0j"), M(Ei, "tabindex", -1), M(Ei, "class", "svelte-g76q0j"), /*segmentWidgetPosition*/
15650
15653
  t[36] === void 0 && at(() => (
15651
15654
  /*select12_change_handler*/
15652
15655
  t[63].call(Ei)
@@ -15676,7 +15679,7 @@ function WA(t) {
15676
15679
  /*skipButtonStyle*/
15677
15680
  t[9],
15678
15681
  !0
15679
- ), h(e, C), h(e, N), h(N, L), h(N, Be), h(Be, Ee), h(Be, G), h(Be, J), h(Be, _e), h(Be, Ve), Oe(
15682
+ ), h(e, C), h(e, x), h(x, L), h(x, Be), h(Be, Ee), h(Be, G), h(Be, J), h(Be, _e), h(Be, Ve), Oe(
15680
15683
  Be,
15681
15684
  /*playlistStyle*/
15682
15685
  t[10],
@@ -15704,7 +15707,7 @@ function WA(t) {
15704
15707
  /*widgetPosition*/
15705
15708
  t[23],
15706
15709
  !0
15707
- ), h(e, ot), h(e, Pt), h(Pt, ct), h(Pt, Ye), h(Ye, xe), h(Ye, nt), h(Ye, tt), h(Ye, At), h(Ye, U), h(Ye, Ze), Oe(
15710
+ ), h(e, ot), h(e, Pt), h(Pt, ct), h(Pt, Ye), h(Ye, Ne), h(Ye, nt), h(Ye, tt), h(Ye, At), h(Ye, U), h(Ye, Ze), Oe(
15708
15711
  Ye,
15709
15712
  /*widgetWidth*/
15710
15713
  t[24],
@@ -15725,7 +15728,7 @@ function WA(t) {
15725
15728
  dt,
15726
15729
  /*highlightColor*/
15727
15730
  t[29]
15728
- ), h(e, ci), h(e, xt), h(xt, Pi), h(xt, jt), h(jt, oi), h(jt, Ci), h(jt, Nt), h(jt, vi), h(jt, si), Oe(
15731
+ ), h(e, ci), h(e, Nt), h(Nt, Pi), h(Nt, jt), h(jt, oi), h(jt, Ci), h(jt, xt), h(jt, vi), h(jt, si), Oe(
15729
15732
  jt,
15730
15733
  /*highlightSections*/
15731
15734
  t[33],
@@ -15735,7 +15738,7 @@ function WA(t) {
15735
15738
  /*clickableSections*/
15736
15739
  t[34],
15737
15740
  !0
15738
- ), h(e, Bt), h(e, x), h(x, X), h(x, se), h(se, Kt), h(se, rn), h(se, un), h(se, cn), h(se, dn), Oe(
15741
+ ), h(e, Bt), h(e, N), h(N, X), h(N, se), h(se, Kt), h(se, rn), h(se, un), h(se, cn), h(se, dn), Oe(
15739
15742
  se,
15740
15743
  /*segmentWidgetSections*/
15741
15744
  t[35],
@@ -15994,7 +15997,7 @@ function WA(t) {
15994
15997
  }
15995
15998
  function OA(t, e, i) {
15996
15999
  import("./././././././././style.js");
15997
- let { projectId: n } = e, { contentId: o } = e, { playlistId: s } = e, { sourceId: l } = e, { sourceUrl: a } = e, { showUserInterface: r } = e, { playerStyle: u } = e, { playerTitle: d } = e, { callToAction: g } = e, { skipButtonStyle: f } = e, { playlistStyle: A } = e, { playlistToggle: m } = e, { mediaSession: y } = e, { content: v } = e, { contentIndex: P } = e, { introsOutros: p } = e, { introsOutrosIndex: S } = e, { adverts: E } = e, { advertIndex: D } = e, { persistentAdImage: w } = e, { persistentIndex: T } = e, { duration: Z } = e, { currentTime: R } = e, { playbackState: q } = e, { playbackRate: ie } = e, { widgetStyle: de } = e, { widgetPosition: ge } = e, { widgetWidth: $ } = e, { widgetTarget: ee } = e, { textColor: le } = e, { backgroundColor: ue } = e, { iconColor: ae } = e, { highlightColor: ce } = e, { videoTextColor: re } = e, { videoIconColor: k } = e, { logoIconEnabled: C } = e, { highlightSections: N } = e, { clickableSections: L } = e, { segmentWidgetSections: Be } = e, { segmentWidgetPosition: Ee } = e, { advertConsent: G } = e, { analyticsConsent: J } = e, { analyticsCustomUrl: _e } = e, { analyticsTag: Ve } = e, Pe = !1;
16000
+ let { projectId: n } = e, { contentId: o } = e, { playlistId: s } = e, { sourceId: l } = e, { sourceUrl: a } = e, { showUserInterface: r } = e, { playerStyle: u } = e, { playerTitle: d } = e, { callToAction: g } = e, { skipButtonStyle: f } = e, { playlistStyle: A } = e, { playlistToggle: m } = e, { mediaSession: y } = e, { content: v } = e, { contentIndex: P } = e, { introsOutros: p } = e, { introsOutrosIndex: S } = e, { adverts: E } = e, { advertIndex: D } = e, { persistentAdImage: w } = e, { persistentIndex: T } = e, { duration: Z } = e, { currentTime: R } = e, { playbackState: q } = e, { playbackRate: ie } = e, { widgetStyle: de } = e, { widgetPosition: ge } = e, { widgetWidth: $ } = e, { widgetTarget: ee } = e, { textColor: le } = e, { backgroundColor: ue } = e, { iconColor: ae } = e, { highlightColor: ce } = e, { videoTextColor: re } = e, { videoIconColor: k } = e, { logoIconEnabled: C } = e, { highlightSections: x } = e, { clickableSections: L } = e, { segmentWidgetSections: Be } = e, { segmentWidgetPosition: Ee } = e, { advertConsent: G } = e, { analyticsConsent: J } = e, { analyticsCustomUrl: _e } = e, { analyticsTag: Ve } = e, Pe = !1;
15998
16001
  function Re() {
15999
16002
  u = Ot(this), i(6, u);
16000
16003
  }
@@ -16041,7 +16044,7 @@ function OA(t, e, i) {
16041
16044
  ce = this.value, i(29, ce);
16042
16045
  }
16043
16046
  function Ke() {
16044
- N = Ot(this), i(33, N);
16047
+ x = Ot(this), i(33, x);
16045
16048
  }
16046
16049
  function Ge() {
16047
16050
  L = Ot(this), i(34, L);
@@ -16088,7 +16091,7 @@ function OA(t, e, i) {
16088
16091
  function Ye() {
16089
16092
  w = Ot(this), i(16, w);
16090
16093
  }
16091
- function xe() {
16094
+ function Ne() {
16092
16095
  T = Ot(this), i(17, T);
16093
16096
  }
16094
16097
  function nt() {
@@ -16120,7 +16123,7 @@ function OA(t, e, i) {
16120
16123
  }
16121
16124
  const Ae = () => i(44, Pe = !1), B = () => i(44, Pe = !0);
16122
16125
  return t.$$set = (V) => {
16123
- "projectId" in V && i(0, n = V.projectId), "contentId" in V && i(1, o = V.contentId), "playlistId" in V && i(2, s = V.playlistId), "sourceId" in V && i(3, l = V.sourceId), "sourceUrl" in V && i(4, a = V.sourceUrl), "showUserInterface" in V && i(5, r = V.showUserInterface), "playerStyle" in V && i(6, u = V.playerStyle), "playerTitle" in V && i(7, d = V.playerTitle), "callToAction" in V && i(8, g = V.callToAction), "skipButtonStyle" in V && i(9, f = V.skipButtonStyle), "playlistStyle" in V && i(10, A = V.playlistStyle), "playlistToggle" in V && i(11, m = V.playlistToggle), "mediaSession" in V && i(12, y = V.mediaSession), "content" in V && i(41, v = V.content), "contentIndex" in V && i(13, P = V.contentIndex), "introsOutros" in V && i(42, p = V.introsOutros), "introsOutrosIndex" in V && i(14, S = V.introsOutrosIndex), "adverts" in V && i(43, E = V.adverts), "advertIndex" in V && i(15, D = V.advertIndex), "persistentAdImage" in V && i(16, w = V.persistentAdImage), "persistentIndex" in V && i(17, T = V.persistentIndex), "duration" in V && i(18, Z = V.duration), "currentTime" in V && i(19, R = V.currentTime), "playbackState" in V && i(20, q = V.playbackState), "playbackRate" in V && i(21, ie = V.playbackRate), "widgetStyle" in V && i(22, de = V.widgetStyle), "widgetPosition" in V && i(23, ge = V.widgetPosition), "widgetWidth" in V && i(24, $ = V.widgetWidth), "widgetTarget" in V && i(25, ee = V.widgetTarget), "textColor" in V && i(26, le = V.textColor), "backgroundColor" in V && i(27, ue = V.backgroundColor), "iconColor" in V && i(28, ae = V.iconColor), "highlightColor" in V && i(29, ce = V.highlightColor), "videoTextColor" in V && i(30, re = V.videoTextColor), "videoIconColor" in V && i(31, k = V.videoIconColor), "logoIconEnabled" in V && i(32, C = V.logoIconEnabled), "highlightSections" in V && i(33, N = V.highlightSections), "clickableSections" in V && i(34, L = V.clickableSections), "segmentWidgetSections" in V && i(35, Be = V.segmentWidgetSections), "segmentWidgetPosition" in V && i(36, Ee = V.segmentWidgetPosition), "advertConsent" in V && i(37, G = V.advertConsent), "analyticsConsent" in V && i(38, J = V.analyticsConsent), "analyticsCustomUrl" in V && i(39, _e = V.analyticsCustomUrl), "analyticsTag" in V && i(40, Ve = V.analyticsTag);
16126
+ "projectId" in V && i(0, n = V.projectId), "contentId" in V && i(1, o = V.contentId), "playlistId" in V && i(2, s = V.playlistId), "sourceId" in V && i(3, l = V.sourceId), "sourceUrl" in V && i(4, a = V.sourceUrl), "showUserInterface" in V && i(5, r = V.showUserInterface), "playerStyle" in V && i(6, u = V.playerStyle), "playerTitle" in V && i(7, d = V.playerTitle), "callToAction" in V && i(8, g = V.callToAction), "skipButtonStyle" in V && i(9, f = V.skipButtonStyle), "playlistStyle" in V && i(10, A = V.playlistStyle), "playlistToggle" in V && i(11, m = V.playlistToggle), "mediaSession" in V && i(12, y = V.mediaSession), "content" in V && i(41, v = V.content), "contentIndex" in V && i(13, P = V.contentIndex), "introsOutros" in V && i(42, p = V.introsOutros), "introsOutrosIndex" in V && i(14, S = V.introsOutrosIndex), "adverts" in V && i(43, E = V.adverts), "advertIndex" in V && i(15, D = V.advertIndex), "persistentAdImage" in V && i(16, w = V.persistentAdImage), "persistentIndex" in V && i(17, T = V.persistentIndex), "duration" in V && i(18, Z = V.duration), "currentTime" in V && i(19, R = V.currentTime), "playbackState" in V && i(20, q = V.playbackState), "playbackRate" in V && i(21, ie = V.playbackRate), "widgetStyle" in V && i(22, de = V.widgetStyle), "widgetPosition" in V && i(23, ge = V.widgetPosition), "widgetWidth" in V && i(24, $ = V.widgetWidth), "widgetTarget" in V && i(25, ee = V.widgetTarget), "textColor" in V && i(26, le = V.textColor), "backgroundColor" in V && i(27, ue = V.backgroundColor), "iconColor" in V && i(28, ae = V.iconColor), "highlightColor" in V && i(29, ce = V.highlightColor), "videoTextColor" in V && i(30, re = V.videoTextColor), "videoIconColor" in V && i(31, k = V.videoIconColor), "logoIconEnabled" in V && i(32, C = V.logoIconEnabled), "highlightSections" in V && i(33, x = V.highlightSections), "clickableSections" in V && i(34, L = V.clickableSections), "segmentWidgetSections" in V && i(35, Be = V.segmentWidgetSections), "segmentWidgetPosition" in V && i(36, Ee = V.segmentWidgetPosition), "advertConsent" in V && i(37, G = V.advertConsent), "analyticsConsent" in V && i(38, J = V.analyticsConsent), "analyticsCustomUrl" in V && i(39, _e = V.analyticsCustomUrl), "analyticsTag" in V && i(40, Ve = V.analyticsTag);
16124
16127
  }, [
16125
16128
  n,
16126
16129
  o,
@@ -16155,7 +16158,7 @@ function OA(t, e, i) {
16155
16158
  re,
16156
16159
  k,
16157
16160
  C,
16158
- N,
16161
+ x,
16159
16162
  L,
16160
16163
  Be,
16161
16164
  Ee,
@@ -16198,7 +16201,7 @@ function OA(t, e, i) {
16198
16201
  Pt,
16199
16202
  ct,
16200
16203
  Ye,
16201
- xe,
16204
+ Ne,
16202
16205
  nt,
16203
16206
  tt,
16204
16207
  At,
@@ -16555,7 +16558,7 @@ const MA = (t, e, i) => {
16555
16558
  t = yield t;
16556
16559
  const n = t.innerHTML;
16557
16560
  return { src: `data:image/svg+xml,${encodeURIComponent(n)}`, sizes: `${e}x${i}`, type: "image/svg+xml" };
16558
- }), xA = (t, e, i) => Yt(t, e, i, 1), NA = (t, e, i) => Ce(t, e, e === "style" ? FA(i) : i), RA = /;(?!([^()]*\([^()]*\))*[^()]*\))/, FA = (t) => t.split(RA).filter((e) => e).map((e) => e + " !important").join(";");
16561
+ }), NA = (t, e, i) => Yt(t, e, i, 1), xA = (t, e, i) => Ce(t, e, e === "style" ? FA(i) : i), RA = /;(?!([^()]*\([^()]*\))*[^()]*\))/, FA = (t) => t.split(RA).filter((e) => e).map((e) => e + " !important").join(";");
16559
16562
  function Wa(t, e, i) {
16560
16563
  const n = t.slice();
16561
16564
  return n[41] = e[i], n[42] = e, n[43] = i, n;
@@ -16591,7 +16594,7 @@ function Oa(t) {
16591
16594
  );
16592
16595
  return {
16593
16596
  c() {
16594
- e = b("div"), he(i.$$.fragment), n = K(), xA(e, "display", "none");
16597
+ e = b("div"), he(i.$$.fragment), n = K(), NA(e, "display", "none");
16595
16598
  },
16596
16599
  m(r, u) {
16597
16600
  j(r, e, u), fe(i, e, null), h(e, n), l(), s = !0;
@@ -16633,7 +16636,7 @@ function UA(t) {
16633
16636
  e = b("div");
16634
16637
  for (let l = 0; l < o.length; l += 1)
16635
16638
  o[l].c();
16636
- NA(e, "class", "media-session");
16639
+ xA(e, "class", "media-session");
16637
16640
  },
16638
16641
  m(l, a) {
16639
16642
  j(l, e, a);
@@ -16695,10 +16698,10 @@ function HA(t, e, i) {
16695
16698
  "togglemicrophone"
16696
16699
  ];
16697
16700
  let { content: ie = [] } = e, { contentIndex: de = 0 } = e, { activeAdvert: ge = void 0 } = e, { persistentAdvert: $ = void 0 } = e, { companionAdvert: ee = void 0 } = e, { duration: le = 0 } = e, { playbackState: ue = "stopped" } = e, { skipButtonStyle: ae = "auto" } = e, { backgroundColor: ce = "#f5f5f5" } = e, { iconColor: re = "black" } = e, { onEvent: k = () => {
16698
- } } = e, C = [], N = /* @__PURE__ */ new Set(), L = R.map(() => {
16701
+ } } = e, C = [], x = /* @__PURE__ */ new Set(), L = R.map(() => {
16699
16702
  }), Be = R.map(() => {
16700
16703
  });
16701
- const Ee = () => i(16, N = N.add(P));
16704
+ const Ee = () => i(16, x = x.add(P));
16702
16705
  function G(J, _e) {
16703
16706
  oe[J ? "unshift" : "push"](() => {
16704
16707
  L[_e] = J, i(0, L);
@@ -16731,7 +16734,7 @@ function HA(t, e, i) {
16731
16734
  268435584 | t.$$.dirty[1] & /*isAdvert, advertImageUrl, isStopped*/
16732
16735
  56 && i(33, v = o && y || !n && ($ == null ? void 0 : $.imageUrl) || (l == null ? void 0 : l.imageUrl)), t.$$.dirty[0] & /*failedUrls*/
16733
16736
  65536 | t.$$.dirty[1] & /*imageUrl_*/
16734
- 4 && i(29, P = N.has(v) ? null : v), t.$$.dirty[0] & /*imageUrl*/
16737
+ 4 && i(29, P = x.has(v) ? null : v), t.$$.dirty[0] & /*imageUrl*/
16735
16738
  536870912 && i(32, p = P ? R.map((J) => MA(P, J, J)) : []), t.$$.dirty[0] & /*imageUrl*/
16736
16739
  536870912 && i(31, S = P ? [{ src: P, sizes: "any" }] : []), t.$$.dirty[0] & /*imageUrl, renderedSvgs*/
16737
16740
  537001984 && i(30, E = P ? [] : R.map((J, _e) => DA(Be[_e], J, J))), t.$$.dirty[0] & /*svgArtworks*/
@@ -16822,7 +16825,7 @@ function HA(t, e, i) {
16822
16825
  re,
16823
16826
  k,
16824
16827
  C,
16825
- N,
16828
+ x,
16826
16829
  Be,
16827
16830
  g,
16828
16831
  u,
@@ -17056,12 +17059,12 @@ class iy extends Te {
17056
17059
  super(), we(this, e, null, null, Se, {});
17057
17060
  }
17058
17061
  }
17059
- var uo, ol, is, Ir;
17062
+ var uo, ol, ns, Ir;
17060
17063
  class pl {
17061
17064
  constructor(e, i) {
17062
17065
  // private
17063
17066
  Ie(this, uo);
17064
- Ie(this, is);
17067
+ Ie(this, ns);
17065
17068
  this.onSelected = e, this.onDeselected = i, this.consumers = {};
17066
17069
  }
17067
17070
  addInterest(e, i, ...n) {
@@ -17074,7 +17077,7 @@ class pl {
17074
17077
  var l;
17075
17078
  (l = this.consumers)[e] || (l[e] = []);
17076
17079
  const n = this.consumers[e].slice(-1)[0];
17077
- if (F(this, is, Ir).call(this, this.consumers[e], (a) => a.consumerId === i), !(n && i === n.consumerId))
17080
+ if (F(this, ns, Ir).call(this, this.consumers[e], (a) => a.consumerId === i), !(n && i === n.consumerId))
17078
17081
  return;
17079
17082
  const s = this.consumers[e].slice(-1)[0];
17080
17083
  s && F(this, uo, ol).call(this, n.args, s.args) || (this.onDeselected(e, ...n.args), s && this.onSelected(e, ...s.args));
@@ -17082,24 +17085,24 @@ class pl {
17082
17085
  }
17083
17086
  uo = new WeakSet(), ol = function(e, i) {
17084
17087
  return e.length === i.length && e.every((n, o) => n === i[o]);
17085
- }, is = new WeakSet(), Ir = function(e, i) {
17088
+ }, ns = new WeakSet(), Ir = function(e, i) {
17086
17089
  for (let n = e.length - 1; n >= 0; n -= 1)
17087
17090
  if (i(e[n])) {
17088
17091
  e.splice(n, 1);
17089
17092
  return;
17090
17093
  }
17091
17094
  };
17092
- var ns, Br;
17095
+ var os, Br;
17093
17096
  class Sl {
17094
17097
  constructor() {
17095
- Ie(this, ns);
17098
+ Ie(this, os);
17096
17099
  this.randomIds = /* @__PURE__ */ new WeakMap();
17097
17100
  }
17098
17101
  fetchOrAdd(e) {
17099
- return e != null && e.segmentElement ? e.marker ? e.marker : (this.uniqueIds.has(e.segmentElement) || this.uniqueIds.set(e.segmentElement, F(this, ns, Br).call(this)), this.randomIds.get(e.segmentElement)) : null;
17102
+ return e != null && e.segmentElement ? e.marker ? e.marker : (this.uniqueIds.has(e.segmentElement) || this.uniqueIds.set(e.segmentElement, F(this, os, Br).call(this)), this.randomIds.get(e.segmentElement)) : null;
17100
17103
  }
17101
17104
  }
17102
- ns = new WeakSet(), Br = function() {
17105
+ os = new WeakSet(), Br = function() {
17103
17106
  return Math.random().toString(36).substring(2);
17104
17107
  };
17105
17108
  const ro = (t, e, i) => {
@@ -17108,7 +17111,7 @@ const ro = (t, e, i) => {
17108
17111
  const s = t === "current" ? n : o;
17109
17112
  return s === "all" || s === "body" && (e == null ? void 0 : e.section) === "body";
17110
17113
  }, Ho = ["beyondwords-clickable", "bwp"];
17111
- var co, os, Vr, ss, Wr;
17114
+ var co, ss, Vr, ls, Wr;
17112
17115
  const Qi = class Qi {
17113
17116
  constructor() {
17114
17117
  this.ids = new Sl();
@@ -17118,19 +17121,19 @@ const Qi = class Qi {
17118
17121
  s && Mi(Qi, co).addInterest(s, this, e), o && Mi(Qi, co).removeInterest(o, this), this.previous = s;
17119
17122
  }
17120
17123
  };
17121
- co = new WeakMap(), os = new WeakSet(), Vr = function(e, i) {
17124
+ co = new WeakMap(), ss = new WeakSet(), Vr = function(e, i) {
17122
17125
  if (i.segmentElement.classList.add(...Ho), !i.marker)
17123
17126
  return;
17124
17127
  const n = document.querySelectorAll(`[data-beyondwords-marker="${i.marker}"]`);
17125
17128
  for (const o of n)
17126
17129
  o.classList.add(...Ho);
17127
- }, ss = new WeakSet(), Wr = function(e, i) {
17130
+ }, ls = new WeakSet(), Wr = function(e, i) {
17128
17131
  if (ll(i.segmentElement, Ho), !i.marker)
17129
17132
  return;
17130
17133
  const n = document.querySelectorAll(`[data-beyondwords-marker="${i.marker}"]`);
17131
17134
  for (const o of n)
17132
17135
  ll(o, Ho);
17133
- }, Ie(Qi, os), Ie(Qi, ss), Ie(Qi, co, new pl(F(Qi, os, Vr), F(Qi, ss, Wr)));
17136
+ }, Ie(Qi, ss), Ie(Qi, ls), Ie(Qi, co, new pl(F(Qi, ss, Vr), F(Qi, ls, Wr)));
17134
17137
  let sl = Qi;
17135
17138
  const ll = (t, e) => {
17136
17139
  if (!t)
@@ -17138,7 +17141,7 @@ const ll = (t, e) => {
17138
17141
  const o = [...t.classList].filter((s) => !e.includes(s)).some((s) => s.startsWith("beyondwords-")) ? e.filter((s) => s !== "bwp") : e;
17139
17142
  t.classList.remove(...o);
17140
17143
  }, La = (t, e, i) => ["beyondwords-widget", "bwp", `id-${t}`, `position-${e}`, `for-${i}-player`], Da = ["beyondwords-relative", "bwp"];
17141
- var go, ls, Or, as, Er, rs, Mr;
17144
+ var go, as, Or, rs, Er, us, Mr;
17142
17145
  const $i = class $i {
17143
17146
  constructor(e) {
17144
17147
  // Add the container next to the first DOM node that matches the segment's
@@ -17147,7 +17150,7 @@ const $i = class $i {
17147
17150
  // the API. In this case, pool all of the elements together and add the
17148
17151
  // container next to the first one on the page. If there are no markers on the
17149
17152
  // page for the segment then add the container next to the segmentElement.
17150
- Ie(this, rs);
17153
+ Ie(this, us);
17151
17154
  this.onUpdate = e, this.containers = [], this.ids = new Sl();
17152
17155
  }
17153
17156
  update(e, i, n, o) {
@@ -17158,13 +17161,13 @@ const $i = class $i {
17158
17161
  this.update(null, "none");
17159
17162
  }
17160
17163
  };
17161
- go = new WeakMap(), ls = new WeakSet(), Or = function(e, i, n, o, s) {
17164
+ go = new WeakMap(), as = new WeakSet(), Or = function(e, i, n, o, s) {
17162
17165
  var d;
17163
- const l = F(d = i, rs, Mr).call(d, n);
17166
+ const l = F(d = i, us, Mr).call(d, n);
17164
17167
  ["2-oclock", "3-oclock", "4-oclock", "8-oclock", "9-oclock", "10-oclock"].includes(o) && l.classList.add(...Da);
17165
17168
  const r = document.createElement("div");
17166
17169
  r.classList.add(...La(e, o, s)), ["11-oclock", "12-oclock", "1-oclock"].includes(o) ? l.insertBefore(r, l.firstChild) : l.appendChild(r), i.containers.push(r), i.onUpdate(i.containers);
17167
- }, as = new WeakSet(), Er = function(e, i, n, o, s) {
17170
+ }, rs = new WeakSet(), Er = function(e, i, n, o, s) {
17168
17171
  const l = La(e, o, s);
17169
17172
  for (let a = 0; a < i.containers.length; a += 1) {
17170
17173
  if (!l.every((d) => i.containers[a].classList.contains(d)))
@@ -17173,7 +17176,7 @@ go = new WeakMap(), ls = new WeakSet(), Or = function(e, i, n, o, s) {
17173
17176
  ll(u, Da), i.containers[a].remove(), i.containers.splice(a, 1), a -= 1;
17174
17177
  }
17175
17178
  i.onUpdate(i.containers);
17176
- }, rs = new WeakSet(), Mr = function(e) {
17179
+ }, us = new WeakSet(), Mr = function(e) {
17177
17180
  var s;
17178
17181
  const i = e.marker, n = (s = e.segmentElement) == null ? void 0 : s.getAttribute("data-beyondwords-marker");
17179
17182
  let o;
@@ -17182,10 +17185,10 @@ go = new WeakMap(), ls = new WeakSet(), Or = function(e, i, n, o, s) {
17182
17185
  o = document.querySelectorAll(r);
17183
17186
  }
17184
17187
  return o.length > 0 ? o[0] : e.segmentElement;
17185
- }, Ie($i, ls), Ie($i, as), Ie($i, go, new pl(F($i, ls, Or), F($i, as, Er)));
17188
+ }, Ie($i, as), Ie($i, rs), Ie($i, go, new pl(F($i, as, Or), F($i, rs, Er)));
17186
17189
  let al = $i;
17187
- const xa = (t) => ["beyondwords-highlight", "bwp", `id-${t}`];
17188
- var fo, us, jr, cs, zr, mo, ul;
17190
+ const Na = (t) => ["beyondwords-highlight", "bwp", `id-${t}`];
17191
+ var fo, cs, jr, ds, zr, mo, ul;
17189
17192
  const en = class en {
17190
17193
  constructor() {
17191
17194
  // Highlight the segmentElement and all DOM nodes with the same marker. There
@@ -17200,7 +17203,7 @@ const en = class en {
17200
17203
  a && Mi(en, fo).addInterest(a, this, this, i, o), l && Mi(en, fo).removeInterest(l, this), this[`prev${e}`] = a;
17201
17204
  }
17202
17205
  };
17203
- fo = new WeakMap(), us = new WeakSet(), jr = function(e, i, n, o) {
17206
+ fo = new WeakMap(), cs = new WeakSet(), jr = function(e, i, n, o) {
17204
17207
  var s;
17205
17208
  for (const l of F(s = i, mo, ul).call(s, n)) {
17206
17209
  const a = document.createTreeWalker(l, NodeFilter.SHOW_TEXT, null, !1);
@@ -17210,13 +17213,13 @@ fo = new WeakMap(), us = new WeakSet(), jr = function(e, i, n, o) {
17210
17213
  continue;
17211
17214
  r.parentNode.nodeName.toLowerCase() === "a" && (r = r.parentNode);
17212
17215
  const g = document.createElement("mark");
17213
- g.classList.add(...xa(e)), g.style.background = o, r.parentNode.insertBefore(g, r), g.appendChild(r);
17216
+ g.classList.add(...Na(e)), g.style.background = o, r.parentNode.insertBefore(g, r), g.appendChild(r);
17214
17217
  }
17215
17218
  }
17216
- }, cs = new WeakSet(), zr = function(e, i, n) {
17219
+ }, ds = new WeakSet(), zr = function(e, i, n) {
17217
17220
  var o;
17218
17221
  for (const s of F(o = i, mo, ul).call(o, n)) {
17219
- const l = s.querySelectorAll(`mark.${xa(e)}`);
17222
+ const l = s.querySelectorAll(`mark.${Na(e)}`);
17220
17223
  for (const a of l)
17221
17224
  for (const r of a.childNodes)
17222
17225
  a.parentNode.insertBefore(r, a), a.remove();
@@ -17230,7 +17233,7 @@ fo = new WeakMap(), us = new WeakSet(), jr = function(e, i, n, o) {
17230
17233
  i.add(r);
17231
17234
  }
17232
17235
  return i;
17233
- }, Ie(en, us), Ie(en, cs), Ie(en, fo, new pl(F(en, us, jr), F(en, cs, zr)));
17236
+ }, Ie(en, cs), Ie(en, ds), Ie(en, fo, new pl(F(en, cs, jr), F(en, ds, zr)));
17234
17237
  let rl = en;
17235
17238
  const ny = () => ve({
17236
17239
  type: "IdentifiersChanged",
@@ -17249,12 +17252,12 @@ const ny = () => ve({
17249
17252
  headers: { "Content-Type": "application/json" },
17250
17253
  body: JSON.stringify(e, (i, n) => n === void 0 ? null : n)
17251
17254
  });
17252
- var ds, Lr;
17255
+ var gs, Lr;
17253
17256
  class sy {
17254
17257
  constructor(e, i, n) {
17255
17258
  // private
17256
- Ie(this, ds);
17257
- this.baseUrl = F(this, ds, Lr).call(this, e), this.projectId = i, this.writeToken = n;
17259
+ Ie(this, gs);
17260
+ this.baseUrl = F(this, gs, Lr).call(this, e), this.projectId = i, this.writeToken = n;
17258
17261
  }
17259
17262
  getWebSocketToken() {
17260
17263
  return bi(this, null, function* () {
@@ -17278,7 +17281,7 @@ class sy {
17278
17281
  }, this.webSocket.close(), this.webSocket = null);
17279
17282
  }
17280
17283
  }
17281
- ds = new WeakSet(), Lr = function(e) {
17284
+ gs = new WeakSet(), Lr = function(e) {
17282
17285
  return e.includes("staging") ? "app.staging-beyondwords.io" : "app.beyondwords.io";
17283
17286
  };
17284
17287
  let Sn;
@@ -17308,7 +17311,7 @@ const ly = (t, e, i, n) => bi(void 0, null, function* () {
17308
17311
  return new Promise((e) => {
17309
17312
  setInterval(() => t() && e(), 10);
17310
17313
  });
17311
- }, xr = (t, e) => {
17314
+ }, Nr = (t, e) => {
17312
17315
  const i = /* @__PURE__ */ new Set([...Object.keys(t), ...Object.keys(e)]), n = {};
17313
17316
  for (const o of i) {
17314
17317
  const s = t[o], l = e[o];
@@ -17317,7 +17320,7 @@ const ly = (t, e, i, n) => bi(void 0, null, function* () {
17317
17320
  return n;
17318
17321
  };
17319
17322
  let $n = -1;
17320
- const Nr = [], dy = (t, e, i) => bi(void 0, null, function* () {
17323
+ const xr = [], dy = (t, e, i) => bi(void 0, null, function* () {
17321
17324
  yield Dr(() => e.player);
17322
17325
  const n = e.player, o = gy(n.contentIndex, i, t);
17323
17326
  o > $n && fy(n, $n, o, t), o < $n && my(n, $n, o), $n = o;
@@ -17328,12 +17331,12 @@ const Nr = [], dy = (t, e, i) => bi(void 0, null, function* () {
17328
17331
  for (let o = e + 1; o <= i; o += 1) {
17329
17332
  const s = t.properties();
17330
17333
  n[o][2](t);
17331
- const l = t.properties(), a = xr(s, l);
17332
- Nr.push(a);
17334
+ const l = t.properties(), a = Nr(s, l);
17335
+ xr.push(a);
17333
17336
  }
17334
17337
  }, my = (t, e, i) => {
17335
17338
  for (let n = e; n > i; n -= 1) {
17336
- const o = Nr.pop();
17339
+ const o = xr.pop();
17337
17340
  for (const [s, l] of Object.entries(o))
17338
17341
  t[s] = l.previousValue;
17339
17342
  }
@@ -17349,7 +17352,7 @@ const Nr = [], dy = (t, e, i) => bi(void 0, null, function* () {
17349
17352
  const i = document.querySelectorAll(t);
17350
17353
  return i.length === 0 && yi(`Failed to initialize ${e} because the target could not be found.`, { target: t, elements: i }), i.length > 1 && yi(`Failed to initialize ${e} because the target is ambiguous. (${i.length} elements match)`, { target: t, elements: i }), i[0];
17351
17354
  }, vy = ["small", "standard", "large", "screen", "video"], dl = (t) => vy.indexOf(t) !== -1;
17352
- function Na(t, e, i) {
17355
+ function xa(t, e, i) {
17353
17356
  const n = t.slice();
17354
17357
  return n[171] = e[i], n;
17355
17358
  }
@@ -17754,7 +17757,7 @@ function Ra(t) {
17754
17757
  }
17755
17758
  function Fa(t) {
17756
17759
  let e, i;
17757
- return e = new Bs({
17760
+ return e = new Vs({
17758
17761
  props: {
17759
17762
  root: (
17760
17763
  /*widgetTarget*/
@@ -18133,7 +18136,7 @@ function py(t) {
18133
18136
  }
18134
18137
  function Ua(t, e) {
18135
18138
  let i, n, o;
18136
- return n = new Bs({
18139
+ return n = new Vs({
18137
18140
  props: {
18138
18141
  root: (
18139
18142
  /*root*/
@@ -18175,7 +18178,7 @@ function Ua(t, e) {
18175
18178
  }
18176
18179
  function Ha(t) {
18177
18180
  let e, i;
18178
- return e = new Bs({
18181
+ return e = new Vs({
18179
18182
  props: {
18180
18183
  root: (
18181
18184
  /*controlPanel*/
@@ -18212,7 +18215,7 @@ function Ha(t) {
18212
18215
  };
18213
18216
  }
18214
18217
  function Sy(t) {
18215
- let e, i, n, o, s, l, a, r, u, d, g, f, A, m, y, v, P, p, S, E, D, w, T, Z, R, q, ie, de, ge, $, ee, le, ue, ae, ce, re, k, C, N, L, Be, Ee, G, J, _e;
18218
+ let e, i, n, o, s, l, a, r, u, d, g, f, A, m, y, v, P, p, S, E, D, w, T, Z, R, q, ie, de, ge, $, ee, le, ue, ae, ce, re, k, C, x, L, Be, Ee, G, J, _e;
18216
18219
  function Ve(B) {
18217
18220
  t[126](B);
18218
18221
  }
@@ -18312,7 +18315,7 @@ function Sy(t) {
18312
18315
  function Ye(B) {
18313
18316
  t[158](B);
18314
18317
  }
18315
- function xe(B) {
18318
+ function Ne(B) {
18316
18319
  t[159](B);
18317
18320
  }
18318
18321
  function nt(B) {
@@ -18443,7 +18446,7 @@ function Sy(t) {
18443
18446
  t[43] !== void 0 && (Ae.analyticsCustomUrl = /*analyticsCustomUrl*/
18444
18447
  t[43]), /*analyticsTag*/
18445
18448
  t[44] !== void 0 && (Ae.analyticsTag = /*analyticsTag*/
18446
- t[44]), e = new EA({ props: Ae }), oe.push(() => ke(e, "projectId", Ve)), oe.push(() => ke(e, "contentId", Pe)), oe.push(() => ke(e, "playlistId", Re)), oe.push(() => ke(e, "sourceId", je)), oe.push(() => ke(e, "sourceUrl", Fe)), oe.push(() => ke(e, "showUserInterface", Me)), oe.push(() => ke(e, "playerStyle", ut)), oe.push(() => ke(e, "playerTitle", Le)), oe.push(() => ke(e, "callToAction", it)), oe.push(() => ke(e, "skipButtonStyle", qe)), oe.push(() => ke(e, "playlistStyle", mt)), oe.push(() => ke(e, "playlistToggle", Xe)), oe.push(() => ke(e, "mediaSession", Qe)), oe.push(() => ke(e, "contentIndex", ht)), oe.push(() => ke(e, "introsOutrosIndex", Je)), oe.push(() => ke(e, "advertIndex", _t)), oe.push(() => ke(e, "persistentAdImage", We)), oe.push(() => ke(e, "persistentIndex", Ke)), oe.push(() => ke(e, "duration", Ge)), oe.push(() => ke(e, "currentTime", kt)), oe.push(() => ke(e, "playbackState", De)), oe.push(() => ke(e, "playbackRate", pt)), oe.push(() => ke(e, "widgetStyle", St)), oe.push(() => ke(e, "widgetPosition", wt)), oe.push(() => ke(e, "widgetWidth", $e)), oe.push(() => ke(e, "widgetTarget", et)), oe.push(() => ke(e, "textColor", Vt)), oe.push(() => ke(e, "backgroundColor", st)), oe.push(() => ke(e, "iconColor", Tt)), oe.push(() => ke(e, "highlightColor", ot)), oe.push(() => ke(e, "videoTextColor", Pt)), oe.push(() => ke(e, "videoIconColor", ct)), oe.push(() => ke(e, "logoIconEnabled", Ye)), oe.push(() => ke(e, "highlightSections", xe)), oe.push(() => ke(e, "clickableSections", nt)), oe.push(() => ke(e, "segmentWidgetSections", tt)), oe.push(() => ke(e, "segmentWidgetPosition", At)), oe.push(() => ke(e, "currentSegment", U)), oe.push(() => ke(e, "hoveredSegment", Ze)), oe.push(() => ke(e, "advertConsent", yt)), oe.push(() => ke(e, "analyticsConsent", Wt)), oe.push(() => ke(e, "analyticsCustomUrl", It)), oe.push(() => ke(e, "analyticsTag", vt)), {
18449
+ t[44]), e = new EA({ props: Ae }), oe.push(() => ke(e, "projectId", Ve)), oe.push(() => ke(e, "contentId", Pe)), oe.push(() => ke(e, "playlistId", Re)), oe.push(() => ke(e, "sourceId", je)), oe.push(() => ke(e, "sourceUrl", Fe)), oe.push(() => ke(e, "showUserInterface", Me)), oe.push(() => ke(e, "playerStyle", ut)), oe.push(() => ke(e, "playerTitle", Le)), oe.push(() => ke(e, "callToAction", it)), oe.push(() => ke(e, "skipButtonStyle", qe)), oe.push(() => ke(e, "playlistStyle", mt)), oe.push(() => ke(e, "playlistToggle", Xe)), oe.push(() => ke(e, "mediaSession", Qe)), oe.push(() => ke(e, "contentIndex", ht)), oe.push(() => ke(e, "introsOutrosIndex", Je)), oe.push(() => ke(e, "advertIndex", _t)), oe.push(() => ke(e, "persistentAdImage", We)), oe.push(() => ke(e, "persistentIndex", Ke)), oe.push(() => ke(e, "duration", Ge)), oe.push(() => ke(e, "currentTime", kt)), oe.push(() => ke(e, "playbackState", De)), oe.push(() => ke(e, "playbackRate", pt)), oe.push(() => ke(e, "widgetStyle", St)), oe.push(() => ke(e, "widgetPosition", wt)), oe.push(() => ke(e, "widgetWidth", $e)), oe.push(() => ke(e, "widgetTarget", et)), oe.push(() => ke(e, "textColor", Vt)), oe.push(() => ke(e, "backgroundColor", st)), oe.push(() => ke(e, "iconColor", Tt)), oe.push(() => ke(e, "highlightColor", ot)), oe.push(() => ke(e, "videoTextColor", Pt)), oe.push(() => ke(e, "videoIconColor", ct)), oe.push(() => ke(e, "logoIconEnabled", Ye)), oe.push(() => ke(e, "highlightSections", Ne)), oe.push(() => ke(e, "clickableSections", nt)), oe.push(() => ke(e, "segmentWidgetSections", tt)), oe.push(() => ke(e, "segmentWidgetPosition", At)), oe.push(() => ke(e, "currentSegment", U)), oe.push(() => ke(e, "hoveredSegment", Ze)), oe.push(() => ke(e, "advertConsent", yt)), oe.push(() => ke(e, "analyticsConsent", Wt)), oe.push(() => ke(e, "analyticsCustomUrl", It)), oe.push(() => ke(e, "analyticsTag", vt)), {
18447
18450
  c() {
18448
18451
  he(e.$$.fragment);
18449
18452
  },
@@ -18532,9 +18535,9 @@ function Sy(t) {
18532
18535
  262144 && (k = !0, W.segmentWidgetSections = /*segmentWidgetSections*/
18533
18536
  B[18], be(() => k = !1)), !C && V[0] & /*segmentWidgetPosition*/
18534
18537
  524288 && (C = !0, W.segmentWidgetPosition = /*segmentWidgetPosition*/
18535
- B[19], be(() => C = !1)), !N && V[0] & /*currentSegment*/
18536
- 1048576 && (N = !0, W.currentSegment = /*currentSegment*/
18537
- B[20], be(() => N = !1)), !L && V[0] & /*hoveredSegment*/
18538
+ B[19], be(() => C = !1)), !x && V[0] & /*currentSegment*/
18539
+ 1048576 && (x = !0, W.currentSegment = /*currentSegment*/
18540
+ B[20], be(() => x = !1)), !L && V[0] & /*hoveredSegment*/
18538
18541
  2097152 && (L = !0, W.hoveredSegment = /*hoveredSegment*/
18539
18542
  B[21], be(() => L = !1)), !Be && V[0] & /*advertConsent*/
18540
18543
  4194304 && (Be = !0, W.advertConsent = /*advertConsent*/
@@ -18702,7 +18705,7 @@ function Za(t) {
18702
18705
  }
18703
18706
  function wy(t) {
18704
18707
  let e, i, n, o, s = [], l = /* @__PURE__ */ new Map(), a, r, u, d, g, f, A;
18705
- e = new Bs({
18708
+ e = new Vs({
18706
18709
  props: {
18707
18710
  prepend: !0,
18708
18711
  root: (
@@ -18728,7 +18731,7 @@ function wy(t) {
18728
18731
  w[171]
18729
18732
  );
18730
18733
  for (let w = 0; w < v.length; w += 1) {
18731
- let T = Na(t, v, w), Z = P(T);
18734
+ let T = xa(t, v, w), Z = P(T);
18732
18735
  l.set(Z, s[w] = Ua(Z, T));
18733
18736
  }
18734
18737
  let p = (
@@ -18779,7 +18782,7 @@ function wy(t) {
18779
18782
  526446 && (v = ni(
18780
18783
  /*segmentWidgets*/
18781
18784
  w[49]
18782
- ), Ue(), s = oc(s, T, P, 1, w, v, l, a.parentNode, nc, Ua, a, Na), He()), /*controlPanel*/
18785
+ ), Ue(), s = oc(s, T, P, 1, w, v, l, a.parentNode, nc, Ua, a, xa), He()), /*controlPanel*/
18783
18786
  w[23] ? p ? (p.p(w, T), T[0] & /*controlPanel*/
18784
18787
  8388608 && I(p, 1)) : (p = Ha(w), p.c(), I(p, 1), p.m(r.parentNode, r)) : p && (Ue(), z(p, 1, 1, () => {
18785
18788
  p = null;
@@ -18820,11 +18823,11 @@ function wy(t) {
18820
18823
  };
18821
18824
  }
18822
18825
  function Ty(t, e, i) {
18823
- let n, o, s, l, a, r, u, d, g, f, A, m, y, v, P, p, S, E, D, w, T, Z, R, q, ie, de, ge, $, { playerApiUrl: ee = "https://api.beyondwords.io/v1/projects/{id}/player" } = e, { projectId: le = void 0 } = e, { contentId: ue = void 0 } = e, { playlistId: ae = void 0 } = e, { sourceId: ce = void 0 } = e, { sourceUrl: re = void 0 } = e, { playlist: k = [] } = e, { showUserInterface: C = !0 } = e, { showBottomWidget: N = !1 } = e, { playerStyle: L = "standard" } = e, { playerTitle: Be = void 0 } = e, { callToAction: Ee = void 0 } = e, { skipButtonStyle: G = "auto" } = e, { playlistStyle: J = "auto-5-4" } = e, { playlistToggle: _e = "auto" } = e, { downloadFormats: Ve = [] } = e, { mediaSession: Pe = "auto" } = e, { content: Re = [] } = e, { contentIndex: je = 0 } = e, { introsOutros: Fe = [] } = e, { introsOutrosIndex: Me = -1 } = e, { adverts: ut = [] } = e, { advertIndex: Le = -1 } = e, { minDurationForMidroll: it = 2 * 60 } = e, { minTimeUntilEndForMidroll: qe = 10 } = e, { persistentAdImage: mt = !1 } = e, { persistentIndex: Xe = -1 } = e, { duration: Qe = 0 } = e, { currentTime: ht = 0 } = e, { playbackState: Je = "stopped" } = e, { playbackRate: _t = 1 } = e, { playbackRates: We = [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: Ke = "standard" } = e, { widgetPosition: Ge = "auto" } = e, { widgetWidth: kt = "auto" } = e, { widgetTarget: De = void 0 } = e, { textColor: pt = "#111" } = e, { backgroundColor: St = "#f5f5f5" } = e, { iconColor: wt = "rgba(0, 0, 0, 0.8)" } = e, { highlightColor: $e = "#eee" } = e, { videoTextColor: et = "white" } = e, { videoBackgroundColor: Vt = "black" } = e, { videoIconColor: st = "white" } = e, { logoIconEnabled: Tt = !0 } = e, { highlightSections: ot = "all" } = e, { clickableSections: Pt = "all" } = e, { segmentWidgetSections: ct = "body" } = e, { segmentWidgetPosition: Ye = "7-oclock" } = e, { currentSegment: xe = void 0 } = e, { hoveredSegment: nt = void 0 } = e, { loadedMedia: tt = void 0 } = e, { advertConsent: At = "personalized" } = e, { analyticsConsent: U = "allowed" } = e, { analyticsCustomUrl: Ze = void 0 } = e, { analyticsDeviceType: yt = "auto" } = e, { analyticsTag: Wt = void 0 } = e, { writeToken: It = void 0 } = e, { captureErrors: vt = !0 } = e, { onError: Ae = () => {
18826
+ let n, o, s, l, a, r, u, d, g, f, A, m, y, v, P, p, S, E, D, w, T, Z, R, q, ie, de, ge, $, { playerApiUrl: ee = "https://api.beyondwords.io/v1/projects/{id}/player" } = e, { projectId: le = void 0 } = e, { contentId: ue = void 0 } = e, { playlistId: ae = void 0 } = e, { sourceId: ce = void 0 } = e, { sourceUrl: re = void 0 } = e, { playlist: k = [] } = e, { showUserInterface: C = !0 } = e, { showBottomWidget: x = !1 } = e, { playerStyle: L = "standard" } = e, { playerTitle: Be = void 0 } = e, { callToAction: Ee = void 0 } = e, { skipButtonStyle: G = "auto" } = e, { playlistStyle: J = "auto-5-4" } = e, { playlistToggle: _e = "auto" } = e, { downloadFormats: Ve = [] } = e, { mediaSession: Pe = "auto" } = e, { content: Re = [] } = e, { contentIndex: je = 0 } = e, { introsOutros: Fe = [] } = e, { introsOutrosIndex: Me = -1 } = e, { adverts: ut = [] } = e, { advertIndex: Le = -1 } = e, { minDurationForMidroll: it = 2 * 60 } = e, { minTimeUntilEndForMidroll: qe = 10 } = e, { persistentAdImage: mt = !1 } = e, { persistentIndex: Xe = -1 } = e, { duration: Qe = 0 } = e, { currentTime: ht = 0 } = e, { playbackState: Je = "stopped" } = e, { playbackRate: _t = 1 } = e, { playbackRates: We = [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: Ke = "standard" } = e, { widgetPosition: Ge = "auto" } = e, { widgetWidth: kt = "auto" } = e, { widgetTarget: De = void 0 } = e, { textColor: pt = "#111" } = e, { backgroundColor: St = "#f5f5f5" } = e, { iconColor: wt = "rgba(0, 0, 0, 0.8)" } = e, { highlightColor: $e = "#eee" } = e, { videoTextColor: et = "white" } = e, { videoBackgroundColor: Vt = "black" } = e, { videoIconColor: st = "white" } = e, { logoIconEnabled: Tt = !0 } = e, { highlightSections: ot = "all" } = e, { clickableSections: Pt = "all" } = e, { segmentWidgetSections: ct = "body" } = e, { segmentWidgetPosition: Ye = "7-oclock" } = e, { currentSegment: Ne = void 0 } = e, { hoveredSegment: nt = void 0 } = e, { loadedMedia: tt = void 0 } = e, { advertConsent: At = "personalized" } = e, { analyticsConsent: U = "allowed" } = e, { analyticsCustomUrl: Ze = void 0 } = e, { analyticsDeviceType: yt = "auto" } = e, { analyticsTag: Wt = void 0 } = e, { writeToken: It = void 0 } = e, { captureErrors: vt = !0 } = e, { onError: Ae = () => {
18824
18827
  } } = e, { transitions: B = [] } = e, { controlPanel: V = void 0 } = e, { clientSideEnabled: W = !1 } = e;
18825
- const Lt = (..._) => xt.addEventListener(..._), ui = (..._) => xt.removeEventListener(..._);
18826
- let { initialProps: wi = {} } = e, { showMediaSession: Dt = !1 } = e, { metadataLoaded: Ti = !1 } = e, { isFullScreen: Zt = !1 } = e, { mediaElement: Di = void 0 } = e, { userInterface: dt = void 0 } = e, { widgetInterface: ci = void 0 } = e, { controller: xt = void 0 } = e, { logoImagePosition: Pi = void 0 } = e, { analyticsUrl: jt = void 0 } = e, { analyticsId: oi = void 0 } = e, { platform: Ci = "web" } = e, { vendorIdentifier: Nt = void 0 } = e, { bundleIdentifier: vi = void 0 } = e, { contentLanguage: si = "en" } = e, { listenSessionId: an = void 0 } = e, { sessionCreatedAt: Ft = void 0 } = e, { companionAdvert: Ji = void 0 } = e, { isNewListen: Rt = !1 } = e, { prevPercentage: Ut = 0 } = e, { segmentWidgets: gt = [] } = e, { segmentContainers: Jt = new al((_) => i(49, gt = _)) } = e, { segmentClickables: ft = new sl() } = e, { segmentHighlights: Ht = new rl() } = e;
18827
- const Bt = (_) => xt.processEvent(Xt({ emittedFrom: E }, _)), x = () => i(107, R = nt);
18828
+ const Lt = (..._) => Nt.addEventListener(..._), ui = (..._) => Nt.removeEventListener(..._);
18829
+ let { initialProps: wi = {} } = e, { showMediaSession: Dt = !1 } = e, { metadataLoaded: Ti = !1 } = e, { isFullScreen: Zt = !1 } = e, { mediaElement: Di = void 0 } = e, { userInterface: dt = void 0 } = e, { widgetInterface: ci = void 0 } = e, { controller: Nt = void 0 } = e, { logoImagePosition: Pi = void 0 } = e, { analyticsUrl: jt = void 0 } = e, { analyticsId: oi = void 0 } = e, { platform: Ci = "web" } = e, { vendorIdentifier: xt = void 0 } = e, { bundleIdentifier: vi = void 0 } = e, { contentLanguage: si = "en" } = e, { listenSessionId: an = void 0 } = e, { sessionCreatedAt: Ft = void 0 } = e, { companionAdvert: Ji = void 0 } = e, { isNewListen: Rt = !1 } = e, { prevPercentage: Ut = 0 } = e, { segmentWidgets: gt = [] } = e, { segmentContainers: Jt = new al((_) => i(49, gt = _)) } = e, { segmentClickables: ft = new sl() } = e, { segmentHighlights: Ht = new rl() } = e;
18830
+ const Bt = (_) => Nt.processEvent(Xt({ emittedFrom: E }, _)), N = () => i(107, R = nt);
18828
18831
  function X(_) {
18829
18832
  oe[_ ? "unshift" : "push"](() => {
18830
18833
  Di = _, i(45, Di);
@@ -18890,7 +18893,7 @@ function Ty(t, e, i) {
18890
18893
  function Gt(_) {
18891
18894
  Ee = _, i(26, Ee);
18892
18895
  }
18893
- function Vs(_) {
18896
+ function Ws(_) {
18894
18897
  G = _, i(27, G);
18895
18898
  }
18896
18899
  function kn(_) {
@@ -18975,7 +18978,7 @@ function Ty(t, e, i) {
18975
18978
  Ye = _, i(19, Ye);
18976
18979
  }
18977
18980
  function Bu(_) {
18978
- xe = _, i(20, xe);
18981
+ Ne = _, i(20, Ne);
18979
18982
  }
18980
18983
  function Vu(_) {
18981
18984
  nt = _, i(21, nt);
@@ -18993,7 +18996,7 @@ function Ty(t, e, i) {
18993
18996
  Wt = _, i(44, Wt);
18994
18997
  }
18995
18998
  return t.$$set = (_) => {
18996
- "playerApiUrl" in _ && i(82, ee = _.playerApiUrl), "projectId" in _ && i(0, le = _.projectId), "contentId" in _ && i(1, ue = _.contentId), "playlistId" in _ && i(2, ae = _.playlistId), "sourceId" in _ && i(3, ce = _.sourceId), "sourceUrl" in _ && i(4, re = _.sourceUrl), "playlist" in _ && i(83, k = _.playlist), "showUserInterface" in _ && i(5, C = _.showUserInterface), "showBottomWidget" in _ && i(84, N = _.showBottomWidget), "playerStyle" in _ && i(6, L = _.playerStyle), "playerTitle" in _ && i(25, Be = _.playerTitle), "callToAction" in _ && i(26, Ee = _.callToAction), "skipButtonStyle" in _ && i(27, G = _.skipButtonStyle), "playlistStyle" in _ && i(28, J = _.playlistStyle), "playlistToggle" in _ && i(29, _e = _.playlistToggle), "downloadFormats" in _ && i(50, Ve = _.downloadFormats), "mediaSession" in _ && i(30, Pe = _.mediaSession), "content" in _ && i(51, Re = _.content), "contentIndex" in _ && i(7, je = _.contentIndex), "introsOutros" in _ && i(52, Fe = _.introsOutros), "introsOutrosIndex" in _ && i(8, Me = _.introsOutrosIndex), "adverts" in _ && i(53, ut = _.adverts), "advertIndex" in _ && i(9, Le = _.advertIndex), "minDurationForMidroll" in _ && i(85, it = _.minDurationForMidroll), "minTimeUntilEndForMidroll" in _ && i(86, qe = _.minTimeUntilEndForMidroll), "persistentAdImage" in _ && i(31, mt = _.persistentAdImage), "persistentIndex" in _ && i(10, Xe = _.persistentIndex), "duration" in _ && i(32, Qe = _.duration), "currentTime" in _ && i(11, ht = _.currentTime), "playbackState" in _ && i(12, Je = _.playbackState), "playbackRate" in _ && i(33, _t = _.playbackRate), "playbackRates" in _ && i(54, We = _.playbackRates), "widgetStyle" in _ && i(13, Ke = _.widgetStyle), "widgetPosition" in _ && i(34, Ge = _.widgetPosition), "widgetWidth" in _ && i(35, kt = _.widgetWidth), "widgetTarget" in _ && i(14, De = _.widgetTarget), "textColor" in _ && i(36, pt = _.textColor), "backgroundColor" in _ && i(37, St = _.backgroundColor), "iconColor" in _ && i(38, wt = _.iconColor), "highlightColor" in _ && i(15, $e = _.highlightColor), "videoTextColor" in _ && i(39, et = _.videoTextColor), "videoBackgroundColor" in _ && i(55, Vt = _.videoBackgroundColor), "videoIconColor" in _ && i(40, st = _.videoIconColor), "logoIconEnabled" in _ && i(41, Tt = _.logoIconEnabled), "highlightSections" in _ && i(16, ot = _.highlightSections), "clickableSections" in _ && i(17, Pt = _.clickableSections), "segmentWidgetSections" in _ && i(18, ct = _.segmentWidgetSections), "segmentWidgetPosition" in _ && i(19, Ye = _.segmentWidgetPosition), "currentSegment" in _ && i(20, xe = _.currentSegment), "hoveredSegment" in _ && i(21, nt = _.hoveredSegment), "loadedMedia" in _ && i(87, tt = _.loadedMedia), "advertConsent" in _ && i(22, At = _.advertConsent), "analyticsConsent" in _ && i(42, U = _.analyticsConsent), "analyticsCustomUrl" in _ && i(43, Ze = _.analyticsCustomUrl), "analyticsDeviceType" in _ && i(88, yt = _.analyticsDeviceType), "analyticsTag" in _ && i(44, Wt = _.analyticsTag), "writeToken" in _ && i(89, It = _.writeToken), "captureErrors" in _ && i(90, vt = _.captureErrors), "onError" in _ && i(91, Ae = _.onError), "transitions" in _ && i(92, B = _.transitions), "controlPanel" in _ && i(23, V = _.controlPanel), "clientSideEnabled" in _ && i(93, W = _.clientSideEnabled), "initialProps" in _ && i(96, wi = _.initialProps), "showMediaSession" in _ && i(56, Dt = _.showMediaSession), "metadataLoaded" in _ && i(24, Ti = _.metadataLoaded), "isFullScreen" in _ && i(57, Zt = _.isFullScreen), "mediaElement" in _ && i(45, Di = _.mediaElement), "userInterface" in _ && i(46, dt = _.userInterface), "widgetInterface" in _ && i(47, ci = _.widgetInterface), "controller" in _ && i(97, xt = _.controller), "logoImagePosition" in _ && i(58, Pi = _.logoImagePosition), "analyticsUrl" in _ && i(98, jt = _.analyticsUrl), "analyticsId" in _ && i(99, oi = _.analyticsId), "platform" in _ && i(59, Ci = _.platform), "vendorIdentifier" in _ && i(60, Nt = _.vendorIdentifier), "bundleIdentifier" in _ && i(61, vi = _.bundleIdentifier), "contentLanguage" in _ && i(62, si = _.contentLanguage), "listenSessionId" in _ && i(100, an = _.listenSessionId), "sessionCreatedAt" in _ && i(101, Ft = _.sessionCreatedAt), "companionAdvert" in _ && i(63, Ji = _.companionAdvert), "isNewListen" in _ && i(102, Rt = _.isNewListen), "prevPercentage" in _ && i(48, Ut = _.prevPercentage), "segmentWidgets" in _ && i(49, gt = _.segmentWidgets), "segmentContainers" in _ && i(103, Jt = _.segmentContainers), "segmentClickables" in _ && i(104, ft = _.segmentClickables), "segmentHighlights" in _ && i(105, Ht = _.segmentHighlights);
18999
+ "playerApiUrl" in _ && i(82, ee = _.playerApiUrl), "projectId" in _ && i(0, le = _.projectId), "contentId" in _ && i(1, ue = _.contentId), "playlistId" in _ && i(2, ae = _.playlistId), "sourceId" in _ && i(3, ce = _.sourceId), "sourceUrl" in _ && i(4, re = _.sourceUrl), "playlist" in _ && i(83, k = _.playlist), "showUserInterface" in _ && i(5, C = _.showUserInterface), "showBottomWidget" in _ && i(84, x = _.showBottomWidget), "playerStyle" in _ && i(6, L = _.playerStyle), "playerTitle" in _ && i(25, Be = _.playerTitle), "callToAction" in _ && i(26, Ee = _.callToAction), "skipButtonStyle" in _ && i(27, G = _.skipButtonStyle), "playlistStyle" in _ && i(28, J = _.playlistStyle), "playlistToggle" in _ && i(29, _e = _.playlistToggle), "downloadFormats" in _ && i(50, Ve = _.downloadFormats), "mediaSession" in _ && i(30, Pe = _.mediaSession), "content" in _ && i(51, Re = _.content), "contentIndex" in _ && i(7, je = _.contentIndex), "introsOutros" in _ && i(52, Fe = _.introsOutros), "introsOutrosIndex" in _ && i(8, Me = _.introsOutrosIndex), "adverts" in _ && i(53, ut = _.adverts), "advertIndex" in _ && i(9, Le = _.advertIndex), "minDurationForMidroll" in _ && i(85, it = _.minDurationForMidroll), "minTimeUntilEndForMidroll" in _ && i(86, qe = _.minTimeUntilEndForMidroll), "persistentAdImage" in _ && i(31, mt = _.persistentAdImage), "persistentIndex" in _ && i(10, Xe = _.persistentIndex), "duration" in _ && i(32, Qe = _.duration), "currentTime" in _ && i(11, ht = _.currentTime), "playbackState" in _ && i(12, Je = _.playbackState), "playbackRate" in _ && i(33, _t = _.playbackRate), "playbackRates" in _ && i(54, We = _.playbackRates), "widgetStyle" in _ && i(13, Ke = _.widgetStyle), "widgetPosition" in _ && i(34, Ge = _.widgetPosition), "widgetWidth" in _ && i(35, kt = _.widgetWidth), "widgetTarget" in _ && i(14, De = _.widgetTarget), "textColor" in _ && i(36, pt = _.textColor), "backgroundColor" in _ && i(37, St = _.backgroundColor), "iconColor" in _ && i(38, wt = _.iconColor), "highlightColor" in _ && i(15, $e = _.highlightColor), "videoTextColor" in _ && i(39, et = _.videoTextColor), "videoBackgroundColor" in _ && i(55, Vt = _.videoBackgroundColor), "videoIconColor" in _ && i(40, st = _.videoIconColor), "logoIconEnabled" in _ && i(41, Tt = _.logoIconEnabled), "highlightSections" in _ && i(16, ot = _.highlightSections), "clickableSections" in _ && i(17, Pt = _.clickableSections), "segmentWidgetSections" in _ && i(18, ct = _.segmentWidgetSections), "segmentWidgetPosition" in _ && i(19, Ye = _.segmentWidgetPosition), "currentSegment" in _ && i(20, Ne = _.currentSegment), "hoveredSegment" in _ && i(21, nt = _.hoveredSegment), "loadedMedia" in _ && i(87, tt = _.loadedMedia), "advertConsent" in _ && i(22, At = _.advertConsent), "analyticsConsent" in _ && i(42, U = _.analyticsConsent), "analyticsCustomUrl" in _ && i(43, Ze = _.analyticsCustomUrl), "analyticsDeviceType" in _ && i(88, yt = _.analyticsDeviceType), "analyticsTag" in _ && i(44, Wt = _.analyticsTag), "writeToken" in _ && i(89, It = _.writeToken), "captureErrors" in _ && i(90, vt = _.captureErrors), "onError" in _ && i(91, Ae = _.onError), "transitions" in _ && i(92, B = _.transitions), "controlPanel" in _ && i(23, V = _.controlPanel), "clientSideEnabled" in _ && i(93, W = _.clientSideEnabled), "initialProps" in _ && i(96, wi = _.initialProps), "showMediaSession" in _ && i(56, Dt = _.showMediaSession), "metadataLoaded" in _ && i(24, Ti = _.metadataLoaded), "isFullScreen" in _ && i(57, Zt = _.isFullScreen), "mediaElement" in _ && i(45, Di = _.mediaElement), "userInterface" in _ && i(46, dt = _.userInterface), "widgetInterface" in _ && i(47, ci = _.widgetInterface), "controller" in _ && i(97, Nt = _.controller), "logoImagePosition" in _ && i(58, Pi = _.logoImagePosition), "analyticsUrl" in _ && i(98, jt = _.analyticsUrl), "analyticsId" in _ && i(99, oi = _.analyticsId), "platform" in _ && i(59, Ci = _.platform), "vendorIdentifier" in _ && i(60, xt = _.vendorIdentifier), "bundleIdentifier" in _ && i(61, vi = _.bundleIdentifier), "contentLanguage" in _ && i(62, si = _.contentLanguage), "listenSessionId" in _ && i(100, an = _.listenSessionId), "sessionCreatedAt" in _ && i(101, Ft = _.sessionCreatedAt), "companionAdvert" in _ && i(63, Ji = _.companionAdvert), "isNewListen" in _ && i(102, Rt = _.isNewListen), "prevPercentage" in _ && i(48, Ut = _.prevPercentage), "segmentWidgets" in _ && i(49, gt = _.segmentWidgets), "segmentContainers" in _ && i(103, Jt = _.segmentContainers), "segmentClickables" in _ && i(104, ft = _.segmentClickables), "segmentHighlights" in _ && i(105, Ht = _.segmentHighlights);
18997
19000
  }, t.$$.update = () => {
18998
19001
  t.$$.dirty[0] & /*contentIndex*/
18999
19002
  128 | t.$$.dirty[1] & /*content*/
@@ -19014,7 +19017,7 @@ function Ty(t, e, i) {
19014
19017
  67108864 && i(72, g = Zt ? "video" : L), t.$$.dirty[0] & /*widgetTarget*/
19015
19018
  16384 && i(14, De = cl(De, "widget")), t.$$.dirty[0] & /*widgetTarget*/
19016
19019
  16384 | t.$$.dirty[2] & /*showBottomWidget*/
19017
- 4194304 && i(112, f = N || De), t.$$.dirty[2] & /*interfaceStyle*/
19020
+ 4194304 && i(112, f = x || De), t.$$.dirty[2] & /*interfaceStyle*/
19018
19021
  1024 && i(114, A = g === "screen"), t.$$.dirty[2] & /*interfaceStyle*/
19019
19022
  1024 && i(113, m = g === "large"), t.$$.dirty[3] & /*isScreen, isLarge*/
19020
19023
  3145728 && i(79, y = A ? 120 : m ? 80 : 0), t.$$.dirty[0] & /*showUserInterface*/
@@ -19044,15 +19047,15 @@ function Ty(t, e, i) {
19044
19047
  135266304 && ly(ee, le, It, (_) => Bt(_)), t.$$.dirty[0] & /*hoveredSegment*/
19045
19048
  2097152 | t.$$.dirty[3] & /*lastHovered*/
19046
19049
  16384 && i(107, R = nt || R), t.$$.dirty[0] & /*currentSegment, segmentWidgetSections*/
19047
- 1310720 && i(106, q = ro("current", xe, ct)), t.$$.dirty[0] & /*currentSegment*/
19050
+ 1310720 && i(106, q = ro("current", Ne, ct)), t.$$.dirty[0] & /*currentSegment*/
19048
19051
  1048576 | t.$$.dirty[3] & /*currentAllowedInWidget*/
19049
- 8192 && q && x(), t.$$.dirty[0] & /*segmentWidgetSections*/
19052
+ 8192 && q && N(), t.$$.dirty[0] & /*segmentWidgetSections*/
19050
19053
  262144 | t.$$.dirty[3] & /*lastHovered*/
19051
19054
  16384 && i(108, ie = ro("hovered", R, ct)), t.$$.dirty[0] & /*currentSegment*/
19052
19055
  1048576 | t.$$.dirty[3] & /*hoveredAllowedInWidget, lastHovered, currentAllowedInWidget*/
19053
- 57344 && i(65, de = ie && R || q && xe), t.$$.dirty[0] & /*currentSegment*/
19056
+ 57344 && i(65, de = ie && R || q && Ne), t.$$.dirty[0] & /*currentSegment*/
19054
19057
  1048576 | t.$$.dirty[2] & /*widgetSegment*/
19055
- 8 && i(68, ge = (de == null ? void 0 : de.marker) === (xe == null ? void 0 : xe.marker)), t.$$.dirty[2] & /*widgetIsCurrent, activeAdvert, introOrOutro*/
19058
+ 8 && i(68, ge = (de == null ? void 0 : de.marker) === (Ne == null ? void 0 : Ne.marker)), t.$$.dirty[2] & /*widgetIsCurrent, activeAdvert, introOrOutro*/
19056
19059
  112 && i(73, $ = ge || s || o), t.$$.dirty[0] & /*segmentWidgetSections, segmentWidgetPosition, playerStyle*/
19057
19060
  786496 | t.$$.dirty[2] & /*widgetSegment*/
19058
19061
  8 | t.$$.dirty[3] & /*segmentContainers*/
@@ -19060,12 +19063,12 @@ function Ty(t, e, i) {
19060
19063
  2228224 | t.$$.dirty[3] & /*segmentClickables*/
19061
19064
  2048 && ft.update(nt, Pt), t.$$.dirty[0] & /*currentSegment, highlightSections, highlightColor*/
19062
19065
  1146880 | t.$$.dirty[3] & /*segmentHighlights*/
19063
- 4096 && Ht.update("current", xe, ot, $e), t.$$.dirty[0] & /*hoveredSegment, highlightSections, highlightColor*/
19066
+ 4096 && Ht.update("current", Ne, ot, $e), t.$$.dirty[0] & /*hoveredSegment, highlightSections, highlightColor*/
19064
19067
  2195456 | t.$$.dirty[3] & /*segmentHighlights*/
19065
19068
  4096 && Ht.update("hovered", nt, ot, $e), t.$$.dirty[0] & /*currentTime*/
19066
19069
  2048 | t.$$.dirty[2] & /*transitions*/
19067
19070
  1073741824 | t.$$.dirty[3] & /*controller*/
19068
- 16 && dy(B, xt, ht);
19071
+ 16 && dy(B, Nt, ht);
19069
19072
  }, [
19070
19073
  le,
19071
19074
  ue,
@@ -19087,7 +19090,7 @@ function Ty(t, e, i) {
19087
19090
  Pt,
19088
19091
  ct,
19089
19092
  Ye,
19090
- xe,
19093
+ Ne,
19091
19094
  nt,
19092
19095
  At,
19093
19096
  V,
@@ -19127,7 +19130,7 @@ function Ty(t, e, i) {
19127
19130
  Zt,
19128
19131
  Pi,
19129
19132
  Ci,
19130
- Nt,
19133
+ xt,
19131
19134
  vi,
19132
19135
  si,
19133
19136
  Ji,
@@ -19151,7 +19154,7 @@ function Ty(t, e, i) {
19151
19154
  l,
19152
19155
  ee,
19153
19156
  k,
19154
- N,
19157
+ x,
19155
19158
  it,
19156
19159
  qe,
19157
19160
  tt,
@@ -19164,7 +19167,7 @@ function Ty(t, e, i) {
19164
19167
  Lt,
19165
19168
  ui,
19166
19169
  wi,
19167
- xt,
19170
+ Nt,
19168
19171
  jt,
19169
19172
  oi,
19170
19173
  an,
@@ -19202,7 +19205,7 @@ function Ty(t, e, i) {
19202
19205
  Po,
19203
19206
  gn,
19204
19207
  Gt,
19205
- Vs,
19208
+ Ws,
19206
19209
  kn,
19207
19210
  li,
19208
19211
  Co,
@@ -20022,20 +20025,20 @@ const gl = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
20022
20025
  }, jy = ({ analytics_enabled: t, analytics_uuid_enabled: e }) => t ? e ? "allowed" : "without-local-storage" : "none", zy = (t, e) => bi(void 0, null, function* () {
20023
20026
  const n = yield (yield fetch(t)).blob(), o = URL.createObjectURL(n), s = document.createElement("a");
20024
20027
  document.body.append(s), s.href = o, s.setAttribute("download", e), s.setAttribute("target", "_blank"), s.click(), s.remove();
20025
- }), es = { vastUrls: /* @__PURE__ */ new Set(), mediaSources: /* @__PURE__ */ new Set() }, Ly = (t) => {
20026
- t.vastUrl && es.vastUrls.add(t.vastUrl);
20028
+ }), ts = { vastUrls: /* @__PURE__ */ new Set(), mediaSources: /* @__PURE__ */ new Set() }, Ly = (t) => {
20029
+ t.vastUrl && ts.vastUrls.add(t.vastUrl);
20027
20030
  for (const e of [...t.audio || [], ...t.video || []])
20028
- es.mediaSources.add(e.url);
20031
+ ts.mediaSources.add(e.url);
20029
20032
  }, qr = (t) => {
20030
- if (t.vastUrl && es.vastUrls.has(t.vastUrl))
20033
+ if (t.vastUrl && ts.vastUrls.has(t.vastUrl))
20031
20034
  return !0;
20032
20035
  for (const e of [...t.audio || [], ...t.video || []])
20033
- if (es.mediaSources.has(e.url))
20036
+ if (ts.mediaSources.has(e.url))
20034
20037
  return !0;
20035
20038
  return !1;
20036
20039
  }, Yr = /* @__PURE__ */ new Set(), Dy = (t) => {
20037
20040
  [...t.audio || [], ...t.video || []].forEach((i) => Yr.add(i.url));
20038
- }, xy = (t) => [...t.audio || [], ...t.video || []].some((i) => Yr.has(i.url)), Ny = ({ introsOutrosIndex: t, adverts: e, advertIndex: i, content: n = [], contentIndex: o, currentTime: s, atTheStart: l, atTheEnd: a, errored: r, minTimeUntilEndForMidroll: u, minDurationForMidroll: d } = {}) => {
20041
+ }, Ny = (t) => [...t.audio || [], ...t.video || []].some((i) => Yr.has(i.url)), xy = ({ introsOutrosIndex: t, adverts: e, advertIndex: i, content: n = [], contentIndex: o, currentTime: s, atTheStart: l, atTheEnd: a, errored: r, minTimeUntilEndForMidroll: u, minDurationForMidroll: d } = {}) => {
20039
20042
  var v;
20040
20043
  const g = e && e[i];
20041
20044
  e:
@@ -20054,7 +20057,7 @@ const gl = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
20054
20057
  const f = Fy({ content: n, contentIndex: o, currentTime: s, atTheStart: l, atTheEnd: a, minTimeUntilEndForMidroll: u, minDurationForMidroll: d });
20055
20058
  let A = -1, m = -1 / 0, y = -1 / 0;
20056
20059
  for (const [P, p] of e.entries()) {
20057
- if (xy(p) || qr(p) || !f.has(p.placement))
20060
+ if (Ny(p) || qr(p) || !f.has(p.placement))
20058
20061
  continue;
20059
20062
  const S = Ry[p.type] || 0;
20060
20063
  if (S < m)
@@ -20174,24 +20177,24 @@ const gl = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
20174
20177
  for (const s of t.instances())
20175
20178
  s.showBottomWidget = s === i;
20176
20179
  }, s3 = { playing: 2, paused: 1, stopped: 0 };
20177
- var gs, Kr, fs, Gr, ms, Xr, ho, fl, hs, Qr, _s, $r, ji, Xi, tn, wn, hi, Bi, As, eu, ys, tu, In, to, nn, Tn, vs, iu, _o, ml, Yi, mn, Ao, hl, on, Pn, qt, ai, sn, Cn, Zi, hn, bs, nu, ks, ou, Bn, io, yo, _l, ps, su, Ss, lu, ws, au, Ts, ru;
20180
+ var fs, Kr, ms, Gr, hs, Xr, ho, fl, _s, Qr, As, $r, ji, Xi, tn, wn, hi, Bi, ys, eu, vs, tu, In, to, nn, Tn, bs, iu, _o, ml, Yi, mn, Ao, hl, on, Pn, qt, ai, sn, Cn, Zi, hn, ks, nu, ps, ou, Bn, io, yo, _l, Ss, su, ws, lu, Ts, au, Ps, ru;
20178
20181
  class l3 {
20179
20182
  constructor(e, i) {
20180
20183
  // private
20181
- Ie(this, gs);
20182
20184
  Ie(this, fs);
20183
20185
  Ie(this, ms);
20184
- Ie(this, ho);
20185
20186
  Ie(this, hs);
20187
+ Ie(this, ho);
20186
20188
  Ie(this, _s);
20189
+ Ie(this, As);
20187
20190
  Ie(this, ji);
20188
20191
  Ie(this, tn);
20189
20192
  Ie(this, hi);
20190
- Ie(this, As);
20191
20193
  Ie(this, ys);
20194
+ Ie(this, vs);
20192
20195
  Ie(this, In);
20193
20196
  Ie(this, nn);
20194
- Ie(this, vs);
20197
+ Ie(this, bs);
20195
20198
  Ie(this, _o);
20196
20199
  Ie(this, Yi);
20197
20200
  Ie(this, Ao);
@@ -20199,14 +20202,14 @@ class l3 {
20199
20202
  Ie(this, qt);
20200
20203
  Ie(this, sn);
20201
20204
  Ie(this, Zi);
20202
- Ie(this, bs);
20203
20205
  Ie(this, ks);
20206
+ Ie(this, ps);
20204
20207
  Ie(this, Bn);
20205
20208
  Ie(this, yo);
20206
- Ie(this, ps);
20207
20209
  Ie(this, Ss);
20208
20210
  Ie(this, ws);
20209
20211
  Ie(this, Ts);
20212
+ Ie(this, Ps);
20210
20213
  this.player = e, this.PlayerClass = i, this.eventListeners = { "<any>": {} };
20211
20214
  }
20212
20215
  addEventListener(e, i) {
@@ -20221,9 +20224,9 @@ class l3 {
20221
20224
  return bi(this, null, function* () {
20222
20225
  yield Dr(() => this.player), yc(e);
20223
20226
  const i = this[`handle${e.type}`], n = this.player.properties();
20224
- F(this, gs, Kr).call(this, e) ? e.status = "ignored-due-to-advert" : F(this, fs, Gr).call(this, e) ? e.status = "ignored-due-to-scrubbing" : F(this, ms, Xr).call(this, e) ? e.status = "ignored-due-to-precedence" : i ? (yield i.call(this, e), F(this, bs, nu).call(this), F(this, ks, ou).call(this), e.status = "handled") : yi("No handler function for event.", e);
20227
+ F(this, fs, Kr).call(this, e) ? e.status = "ignored-due-to-advert" : F(this, ms, Gr).call(this, e) ? e.status = "ignored-due-to-scrubbing" : F(this, hs, Xr).call(this, e) ? e.status = "ignored-due-to-precedence" : i ? (yield i.call(this, e), F(this, ks, nu).call(this), F(this, ps, ou).call(this), e.status = "handled") : yi("No handler function for event.", e);
20225
20228
  const o = this.player.properties();
20226
- e.changedProps = xr(n, o), e.processedAt = (/* @__PURE__ */ new Date()).toISOString(), vc(e), F(this, ho, fl).call(this, e.type, e), F(this, ho, fl).call(this, "<any>", e);
20229
+ e.changedProps = Nr(n, o), e.processedAt = (/* @__PURE__ */ new Date()).toISOString(), vc(e), F(this, ho, fl).call(this, e.type, e), F(this, ho, fl).call(this, "<any>", e);
20227
20230
  });
20228
20231
  }
20229
20232
  // Please document all events and keep in-sync with /doc/player-events.md
@@ -20323,7 +20326,7 @@ class l3 {
20323
20326
  F(this, qt, ai).call(this, (e) => e + 5);
20324
20327
  }
20325
20328
  handlePressedProgressBar({ ratio: e }) {
20326
- this.preScrubState = this.player.playbackState, this.pauseTimeout = setTimeout(() => F(this, vs, iu).call(this), 100), F(this, qt, ai).call(this, (i, n) => e * n), e !== 0 && (this.segmentPlayed = !0);
20329
+ this.preScrubState = this.player.playbackState, this.pauseTimeout = setTimeout(() => F(this, bs, iu).call(this), 100), F(this, qt, ai).call(this, (i, n) => e * n), e !== 0 && (this.segmentPlayed = !0);
20327
20330
  }
20328
20331
  handleScrubbedProgressBar({ ratio: e }) {
20329
20332
  F(this, qt, ai).call(this, (i, n) => e * n - 0.01), e !== 0 && (this.segmentPlayed = !0);
@@ -20354,11 +20357,11 @@ class l3 {
20354
20357
  }
20355
20358
  handleCurrentTimeUpdated() {
20356
20359
  this.midrollPlayed || F(this, Zi, hn).call(this);
20357
- const e = this.player.currentTime <= lo, i = this.player.currentTime >= this.player.duration, n = this.player.mediaElement.video.paused || F(this, ys, tu).call(this);
20360
+ const e = this.player.currentTime <= lo, i = this.player.currentTime >= this.player.duration, n = this.player.mediaElement.video.paused || F(this, vs, tu).call(this);
20358
20361
  !e && !i && !n && (this.player.playbackState = "playing");
20359
20362
  }
20360
20363
  handlePlaybackEnded() {
20361
- F(this, As, eu).call(this) && (this.midrollPlayed = !0), this.segmentPlayed = !1;
20364
+ F(this, ys, eu).call(this) && (this.midrollPlayed = !0), this.segmentPlayed = !1;
20362
20365
  const e = F(this, ji, Xi).call(this), i = F(this, hi, Bi).call(this);
20363
20366
  F(this, Zi, hn).call(this, { atTheEnd: !0, wasIntro: e }), !i && (F(this, sn, Cn).call(this, { atTheEnd: !0 }), !e && (F(this, tn, wn).call(this) || F(this, hi, Bi).call(this) || F(this, on, Pn).call(this, (n) => n + 1)));
20364
20367
  }
@@ -20397,7 +20400,7 @@ class l3 {
20397
20400
  e.playbackState = "paused", e.widgetStyle = "closed-by-user";
20398
20401
  }
20399
20402
  handleContentStatusChanged({ contentId: e, legacyId: i, sourceId: n, sourceUrl: o, contentStatus: s }) {
20400
- s === "processed" && this.player.playbackState === "stopped" && this.player.contentIndex === 0 && this.player.currentTime === 0 && F(this, ws, au).call(this, { contentId: e, legacyId: i, sourceId: n, sourceUrl: o }) && Ja(this.player).then(() => {
20403
+ s === "processed" && this.player.playbackState === "stopped" && this.player.contentIndex === 0 && this.player.currentTime === 0 && F(this, Ts, au).call(this, { contentId: e, legacyId: i, sourceId: n, sourceUrl: o }) && Ja(this.player).then(() => {
20401
20404
  F(this, sn, Cn).call(this, { atTheStart: !0 }), F(this, Zi, hn).call(this, { atTheStart: !0 });
20402
20405
  });
20403
20406
  }
@@ -20411,25 +20414,25 @@ class l3 {
20411
20414
  handlePressedSegment({ segment: e, contentIndex: i, segmentIndex: n, segmentElement: o }) {
20412
20415
  if (!ro("hovered", e, this.player.clickableSections))
20413
20416
  return;
20414
- if (!F(this, Ts, ru).call(this, { contentIndex: i, segmentIndex: n }) && !F(this, hi, Bi).call(this)) {
20417
+ if (!F(this, Ps, ru).call(this, { contentIndex: i, segmentIndex: n }) && !F(this, hi, Bi).call(this)) {
20415
20418
  F(this, nn, Tn).call(this);
20416
20419
  return;
20417
20420
  }
20418
20421
  i !== this.player.contentIndex && F(this, on, Pn).call(this, () => i), F(this, _o, ml).call(this, Xt({ contentIndex: i, segmentIndex: n, segmentElement: o }, e));
20419
20422
  }
20420
20423
  }
20421
- gs = new WeakSet(), Kr = function({ type: e }) {
20424
+ fs = new WeakSet(), Kr = function({ type: e }) {
20422
20425
  return F(this, hi, Bi).call(this) && (e.includes("ChangeRate") || e.includes("PrevSegment") || e.includes("NextSegment") || e.includes("SeekBack") || e.includes("SeekAhead") || e.includes("Progress") && !e.includes("Space") && !e.includes("Enter"));
20423
- }, fs = new WeakSet(), Gr = function({ type: e }) {
20426
+ }, ms = new WeakSet(), Gr = function({ type: e }) {
20424
20427
  return this.preScrubState && (e.includes("CurrentTimeUpdated") || e.includes("PlaybackEnded"));
20425
- }, ms = new WeakSet(), Xr = function({ type: e, precedence: i }) {
20428
+ }, hs = new WeakSet(), Xr = function({ type: e, precedence: i }) {
20426
20429
  return e.includes("PressedSegment") && i > 0;
20427
20430
  }, ho = new WeakSet(), fl = function(e, i) {
20428
20431
  const n = this.eventListeners[e] || {};
20429
20432
  Object.values(n).forEach((o) => o(i));
20430
- }, hs = new WeakSet(), Qr = function() {
20433
+ }, _s = new WeakSet(), Qr = function() {
20431
20434
  return this.player.introsOutros.some((e) => e.placement === "pre-roll");
20432
- }, _s = new WeakSet(), $r = function() {
20435
+ }, As = new WeakSet(), $r = function() {
20433
20436
  return this.player.introsOutros.some((e) => e.placement === "post-roll");
20434
20437
  }, ji = new WeakSet(), Xi = function(e = this.player.introsOutrosIndex) {
20435
20438
  var i, n, o;
@@ -20439,20 +20442,20 @@ gs = new WeakSet(), Kr = function({ type: e }) {
20439
20442
  return ((o = (n = (i = this.player) == null ? void 0 : i.introsOutros) == null ? void 0 : n[e]) == null ? void 0 : o.placement) === "post-roll";
20440
20443
  }, hi = new WeakSet(), Bi = function() {
20441
20444
  return this.player.advertIndex !== -1;
20442
- }, As = new WeakSet(), eu = function() {
20445
+ }, ys = new WeakSet(), eu = function() {
20443
20446
  var e;
20444
20447
  return ((e = this.player.adverts[this.player.advertIndex]) == null ? void 0 : e.placement) === "mid-roll";
20445
- }, ys = new WeakSet(), tu = function() {
20448
+ }, vs = new WeakSet(), tu = function() {
20446
20449
  var e;
20447
20450
  return !!((e = this.player.adverts[this.player.advertIndex]) != null && e.vastUrl);
20448
20451
  }, In = new WeakSet(), to = function() {
20449
20452
  return !F(this, ji, Xi).call(this) && !F(this, tn, wn).call(this) && !F(this, hi, Bi).call(this);
20450
20453
  }, nn = new WeakSet(), Tn = function() {
20451
20454
  this.player.playbackState === "playing" ? this.player.playbackState = "paused" : this.player.playbackState = "playing";
20452
- }, vs = new WeakSet(), iu = function() {
20455
+ }, bs = new WeakSet(), iu = function() {
20453
20456
  this.player.playbackState === "playing" && (this.player.playbackState = "paused");
20454
20457
  }, _o = new WeakSet(), ml = function(s) {
20455
- var l = s, { contentIndex: e, segmentIndex: i, segmentElement: n } = l, o = Os(l, ["contentIndex", "segmentIndex", "segmentElement"]);
20458
+ var l = s, { contentIndex: e, segmentIndex: i, segmentElement: n } = l, o = Es(l, ["contentIndex", "segmentIndex", "segmentElement"]);
20456
20459
  F(this, qt, ai).call(this, () => o.startTime, e), this.player.currentSegment = Xt({ contentIndex: e, segmentIndex: i, segmentElement: n }, o), this.player.playbackState = "playing", this.segmentPlayed = !0;
20457
20460
  }, Yi = new WeakSet(), mn = function(e, { cycle: i } = {}) {
20458
20461
  const n = this.player.playbackRates, o = n.length - 1, s = n.indexOf(this.player.playbackRate), l = e(s);
@@ -20463,7 +20466,7 @@ gs = new WeakSet(), Kr = function({ type: e }) {
20463
20466
  F(this, ji, Xi).call(this) && o >= 0 ? this.handlePlaybackEnded() : F(this, tn, wn).call(this) && o < 0 ? (F(this, Bn, io).call(this, -1), F(this, qt, ai).call(this, () => {
20464
20467
  var s;
20465
20468
  return ((s = i[i.length - 1]) == null ? void 0 : s.startTime) || 0.01;
20466
- }), this.player.playbackState = "playing") : F(this, In, to).call(this) && o < 0 && F(this, hs, Qr).call(this) ? (F(this, qt, ai).call(this, () => 0), F(this, sn, Cn).call(this, { atTheStart: !0 })) : F(this, In, to).call(this) && o === i.length && F(this, _s, $r).call(this) ? F(this, qt, ai).call(this, () => this.player.duration - 0.01) : F(this, In, to).call(this) && o >= 0 && o < i.length && F(this, qt, ai).call(this, () => i[o].startTime);
20469
+ }), this.player.playbackState = "playing") : F(this, In, to).call(this) && o < 0 && F(this, _s, Qr).call(this) ? (F(this, qt, ai).call(this, () => 0), F(this, sn, Cn).call(this, { atTheStart: !0 })) : F(this, In, to).call(this) && o === i.length && F(this, As, $r).call(this) ? F(this, qt, ai).call(this, () => this.player.duration - 0.01) : F(this, In, to).call(this) && o >= 0 && o < i.length && F(this, qt, ai).call(this, () => i[o].startTime);
20467
20470
  }, on = new WeakSet(), Pn = function(e) {
20468
20471
  const i = e(this.player.contentIndex), n = i < 0 || i >= this.player.content.length;
20469
20472
  n ? (this.player.playbackState = "stopped", F(this, qt, ai).call(this, () => 0)) : (this.player.contentIndex = i, F(this, hi, Bi).call(this) || (F(this, qt, ai).call(this, () => 0), this.midrollPlayed = !1)), F(this, Bn, io).call(this, -1), F(this, sn, Cn).call(this, { atTheStart: !0 }), n || F(this, Zi, hn).call(this, { atTheStart: !0 });
@@ -20481,12 +20484,12 @@ gs = new WeakSet(), Kr = function({ type: e }) {
20481
20484
  const { adverts: s, content: l, currentTime: a, minDurationForMidroll: r, minTimeUntilEndForMidroll: u } = this.player;
20482
20485
  let d = typeof this.nextIntroOutro != "undefined" ? this.nextIntroOutro : this.player.introsOutrosIndex;
20483
20486
  const g = typeof this.nextAdvert != "undefined" ? this.nextAdvert : this.player.advertIndex, f = typeof this.prevContent != "undefined" ? this.prevContent : this.player.contentIndex;
20484
- n && (e = !0, i = !1, d = -1), F(this, yo, _l).call(this, Ny({ introsOutrosIndex: d, adverts: s, advertIndex: g, content: l, contentIndex: f, currentTime: a, atTheStart: e, atTheEnd: i, errored: o, minDurationForMidroll: r, minTimeUntilEndForMidroll: u }));
20487
+ n && (e = !0, i = !1, d = -1), F(this, yo, _l).call(this, xy({ introsOutrosIndex: d, adverts: s, advertIndex: g, content: l, contentIndex: f, currentTime: a, atTheStart: e, atTheEnd: i, errored: o, minDurationForMidroll: r, minTimeUntilEndForMidroll: u }));
20485
20488
  const A = this.player.persistentAdImage, m = this.player.persistentIndex;
20486
20489
  this.player.persistentIndex = qy(A, m, g, s);
20487
- }, bs = new WeakSet(), nu = function() {
20490
+ }, ks = new WeakSet(), nu = function() {
20488
20491
  this.player.playbackState === "playing" && typeof this.nextIntroOutro != "undefined" && (F(this, Bn, io).call(this, this.nextIntroOutro), delete this.nextIntroOutro);
20489
- }, ks = new WeakSet(), ou = function() {
20492
+ }, ps = new WeakSet(), ou = function() {
20490
20493
  this.player.playbackState === "playing" && typeof this.nextAdvert != "undefined" && (F(this, yo, _l).call(this, this.nextAdvert), delete this.nextAdvert);
20491
20494
  }, Bn = new WeakSet(), io = function(e) {
20492
20495
  if (this.player.playbackState !== "playing" && e !== -1) {
@@ -20511,15 +20514,15 @@ gs = new WeakSet(), Kr = function({ type: e }) {
20511
20514
  const n = F(this, hi, Bi).call(this);
20512
20515
  this.player.advertIndex = e;
20513
20516
  const o = !n && F(this, hi, Bi).call(this), s = n && !F(this, hi, Bi).call(this);
20514
- o && F(this, ps, su).call(this), s && F(this, Ss, lu).call(this);
20515
- }, ps = new WeakSet(), su = function() {
20517
+ o && F(this, Ss, su).call(this), s && F(this, ws, lu).call(this);
20518
+ }, Ss = new WeakSet(), su = function() {
20516
20519
  F(this, ji, Xi).call(this) || (this.prevTime = this.player.currentTime), this.prevRate = this.player.playbackRate, this.prevContent = this.player.contentIndex, this.player.currentTime = 0, this.player.playbackRate = 1;
20517
- }, Ss = new WeakSet(), lu = function() {
20520
+ }, ws = new WeakSet(), lu = function() {
20518
20521
  this.player.playbackRate = this.prevRate || 1, this.player.contentIndex !== this.prevContent || (this.player.currentTime = this.prevTime), delete this.prevTime, delete this.prevRate, delete this.prevContent;
20519
- }, ws = new WeakSet(), au = function({ contentId: e, legacyId: i, sourceId: n, sourceUrl: o }) {
20522
+ }, Ts = new WeakSet(), au = function({ contentId: e, legacyId: i, sourceId: n, sourceUrl: o }) {
20520
20523
  var s, l, a, r;
20521
20524
  return this.player.contentId === e || this.player.contentId === i || this.player.sourceId === n || this.player.sourceUrl === o || ((s = this.player.playlist) == null ? void 0 : s.some((u) => u.contentId === e)) || ((l = this.player.playlist) == null ? void 0 : l.some((u) => u.contentId === i)) || ((a = this.player.playlist) == null ? void 0 : a.some((u) => u.sourceId === n)) || ((r = this.player.playlist) == null ? void 0 : r.some((u) => u.sourceUrl === o));
20522
- }, Ts = new WeakSet(), ru = function({ contentIndex: e, segmentIndex: i }) {
20525
+ }, Ps = new WeakSet(), ru = function({ contentIndex: e, segmentIndex: i }) {
20523
20526
  var n, o;
20524
20527
  return ((n = this.player.currentSegment) == null ? void 0 : n.contentIndex) !== e || ((o = this.player.currentSegment) == null ? void 0 : o.segmentIndex) !== i;
20525
20528
  };
@@ -20593,18 +20596,18 @@ function v3(t) {
20593
20596
  column: e[4] ? +e[4] : null
20594
20597
  } : null;
20595
20598
  }
20596
- let Ka = !1, Hs, qs;
20599
+ let Ka = !1, qs, Ys;
20597
20600
  const b3 = ({ onError: t }) => {
20598
20601
  if (!t || Ka)
20599
20602
  return;
20600
20603
  Ka = !0;
20601
20604
  const e = Ga(new Error()), i = e == null ? void 0 : e.match(/setErrorHandler/);
20602
- Hs = window.onerror, qs = window.onunhandledrejection, window.onerror = (n, o, s, l, a) => {
20605
+ qs = window.onerror, Ys = window.onunhandledrejection, window.onerror = (n, o, s, l, a) => {
20603
20606
  var g;
20604
20607
  const r = o === e, u = (g = a == null ? void 0 : a.message) == null ? void 0 : g.match(/request was interrupted/);
20605
20608
  if ((i || r || u) && t(a))
20606
20609
  return !0;
20607
- Hs && Hs(n, o, s, l, a);
20610
+ qs && qs(n, o, s, l, a);
20608
20611
  }, window.onunhandledrejection = (n) => {
20609
20612
  var r;
20610
20613
  const o = n.reason, s = Ga(o) === e, l = (r = o == null ? void 0 : o.message) == null ? void 0 : r.match(/request was interrupted/);
@@ -20612,7 +20615,7 @@ const b3 = ({ onError: t }) => {
20612
20615
  n.preventDefault();
20613
20616
  return;
20614
20617
  }
20615
- qs && qs(n);
20618
+ Ys && Ys(n);
20616
20619
  };
20617
20620
  }, Ga = (t) => {
20618
20621
  var e;
@@ -20666,7 +20669,7 @@ const S3 = (t) => {
20666
20669
  const n = qo[t];
20667
20670
  return n.contentIndex === e && n.segmentIndex === i ? !1 : (n.contentIndex = e, n.segmentIndex = i, !0);
20668
20671
  };
20669
- class Ys {
20672
+ class Zs {
20670
20673
  constructor(e) {
20671
20674
  this.analyticsSink = e;
20672
20675
  }
@@ -20682,7 +20685,7 @@ const I3 = (t, e) => {
20682
20685
  if (!i)
20683
20686
  return;
20684
20687
  const n = V3(t, i);
20685
- bc(n), t.analyticsUrl && t.analyticsConsent !== "none" && new Ys(t.analyticsUrl).sendToCustomAnalytics(n), t.analyticsCustomUrl && t.analyticsConsent !== "none" && new Ys(t.analyticsCustomUrl).sendToCustomAnalytics(n), t.analyticsTag && new Ys(t.analyticsTag).sendToGoogleAnalytics(W3(n), n);
20688
+ bc(n), t.analyticsUrl && t.analyticsConsent !== "none" && new Zs(t.analyticsUrl).sendToCustomAnalytics(n), t.analyticsCustomUrl && t.analyticsConsent !== "none" && new Zs(t.analyticsCustomUrl).sendToCustomAnalytics(n), t.analyticsTag && new Zs(t.analyticsTag).sendToGoogleAnalytics(W3(n), n);
20686
20689
  }, B3 = (t, e) => {
20687
20690
  if (e === "ContentAvailable" && !t.listenSessionId)
20688
20691
  return "load";
@@ -20764,7 +20767,7 @@ const I3 = (t, e) => {
20764
20767
  var yn;
20765
20768
  const Vi = class Vi extends Py {
20766
20769
  constructor(n) {
20767
- var o = n, { target: e } = o, i = Os(o, ["target"]);
20770
+ var o = n, { target: e } = o, i = Es(o, ["target"]);
20768
20771
  k3(), b3(i), p3();
20769
20772
  const { newTarget: s, showUserInterface: l } = hy(e);
20770
20773
  s.classList.add("beyondwords-player", "bwp"), Vi._styleLoaded || (s.style.display = "none");
@@ -20802,10 +20805,10 @@ const Vi = class Vi extends Py {
20802
20805
  }
20803
20806
  };
20804
20807
  yn = new WeakMap(), Ie(Vi, yn, []);
20805
- let ts = Vi;
20808
+ let is = Vi;
20806
20809
  var $a;
20807
- typeof window != "undefined" && (window.BeyondWords || (window.BeyondWords = {}), ($a = window.BeyondWords).Player || ($a.Player = ts));
20808
- const R3 = { Player: ts };
20810
+ typeof window != "undefined" && (window.BeyondWords || (window.BeyondWords = {}), ($a = window.BeyondWords).Player || ($a.Player = is));
20811
+ const R3 = { Player: is };
20809
20812
  export {
20810
20813
  R3 as default
20811
20814
  };