@beyondwords/player 0.0.0-beta24 → 0.0.0-beta25

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
@@ -66,7 +66,7 @@ function li(t) {
66
66
  function Ns(t) {
67
67
  return typeof t == "function";
68
68
  }
69
- function et(t, e) {
69
+ function tt(t, e) {
70
70
  return t != t ? e == e : t !== e || t && typeof t == "object" || typeof t == "function";
71
71
  }
72
72
  let Ba;
@@ -171,7 +171,7 @@ function Nn(t, e) {
171
171
  function N(t) {
172
172
  return document.createElement(t);
173
173
  }
174
- function $e(t) {
174
+ function et(t) {
175
175
  return document.createElementNS("http://www.w3.org/2000/svg", t);
176
176
  }
177
177
  function Re(t) {
@@ -183,7 +183,7 @@ function Pe() {
183
183
  function as() {
184
184
  return Re("");
185
185
  }
186
- function ye(t, e, i, r) {
186
+ function me(t, e, i, r) {
187
187
  return t.addEventListener(e, i, r), () => t.removeEventListener(e, i, r);
188
188
  }
189
189
  function nt(t, e, i) {
@@ -233,10 +233,10 @@ function D0(t, e) {
233
233
  r.setAttribute("style", "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"), r.setAttribute("aria-hidden", "true"), r.tabIndex = -1;
234
234
  const a = R0();
235
235
  let l;
236
- return a ? (r.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", l = ye(window, "message", (g) => {
236
+ return a ? (r.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", l = me(window, "message", (g) => {
237
237
  g.source === r.contentWindow && e();
238
238
  })) : (r.src = "about:blank", r.onload = () => {
239
- l = ye(r.contentWindow, "resize", e), e();
239
+ l = me(r.contentWindow, "resize", e), e();
240
240
  }), I(t, r), () => {
241
241
  (a || l && r.contentWindow) && l(), ee(r);
242
242
  };
@@ -494,7 +494,7 @@ function Ge(t, e) {
494
494
  function Y0(t, e) {
495
495
  t.$$.dirty[0] === -1 && (_s.push(t), tf(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
496
496
  }
497
- function tt(t, e, i, r, a, l, g, p = [-1]) {
497
+ function it(t, e, i, r, a, l, g, p = [-1]) {
498
498
  const _ = aa;
499
499
  ta(t);
500
500
  const T = t.$$ = {
@@ -533,7 +533,7 @@ function tt(t, e, i, r, a, l, g, p = [-1]) {
533
533
  }
534
534
  ta(_);
535
535
  }
536
- class it {
536
+ class rt {
537
537
  $destroy() {
538
538
  Ge(this, 1), this.$destroy = Ce;
539
539
  }
@@ -550,7 +550,7 @@ class it {
550
550
  this.$$set && !A0(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
551
551
  }
552
552
  }
553
- const q0 = "@beyondwords/player", eu = "0.0.0-beta24", er = (t, e) => {
553
+ const q0 = "@beyondwords/player", eu = "0.0.0-beta25", er = (t, e) => {
554
554
  t = [t].flat().join(`
555
555
  `);
556
556
  let i = `${q0}:
@@ -622,7 +622,7 @@ const tu = ["user", "media", "browser", "media-session-api", "google-ima-sdk", "
622
622
  }
623
623
  }, pt = (t, e, i) => {
624
624
  Object.prototype.hasOwnProperty.call(t, e) || er(`Invalid event: missing a '${e}' property`, t), i(t[e]) || er(`Invalid event: '${e}: ${t[e]}' is invalid`, t);
625
- }, rt = (t) => {
625
+ }, $e = (t) => {
626
626
  nv(t);
627
627
  const e = lo(), i = (/* @__PURE__ */ new Date()).toISOString();
628
628
  return de({ id: e, createdAt: i, status: "pending" }, t);
@@ -654,13 +654,13 @@ function gv(t) {
654
654
  },
655
655
  m(p, _) {
656
656
  I(hv.head, e), ie(p, r, _), ie(p, a, _), t[12](a), l || (g = [
657
- ye(
657
+ me(
658
658
  e,
659
659
  "load",
660
660
  /*initializeIMA*/
661
661
  t[1]
662
662
  ),
663
- ye(
663
+ me(
664
664
  e,
665
665
  "error",
666
666
  /*onScriptError*/
@@ -693,35 +693,35 @@ function vv(t, e, i) {
693
693
  }
694
694
  }
695
695
  }, be = (Z) => {
696
- ue = Z.getAdData(), ue.updatedAt = Date.now(), C(rt({
696
+ ue = Z.getAdData(), ue.updatedAt = Date.now(), C($e({
697
697
  type: "CurrentTimeUpdated",
698
698
  description: "The media's current time was updated.",
699
699
  initiatedBy: "media"
700
- })), T !== ue.duration && (i(4, T = ue.duration), C(rt({
700
+ })), T !== ue.duration && (i(4, T = ue.duration), C($e({
701
701
  type: "DurationUpdated",
702
702
  description: "The media's duration was updated.",
703
703
  initiatedBy: "google-ima-sdk"
704
704
  })));
705
705
  }, $ = () => {
706
- C(rt({
706
+ C($e({
707
707
  type: "PressedAdvertVideo",
708
708
  description: "The video background was pressed to open the advert in a new tab.",
709
709
  initiatedBy: "user"
710
710
  }));
711
711
  }, L = () => {
712
- _ !== "paused" && (i(3, _ = "paused"), C(rt({
712
+ _ !== "paused" && (i(3, _ = "paused"), C($e({
713
713
  type: "PlaybackPaused",
714
714
  description: "The media became paused at its current playback time.",
715
715
  initiatedBy: "google-ima-sdk"
716
716
  })));
717
717
  }, ae = () => {
718
- C(rt({
718
+ C($e({
719
719
  type: "PlaybackEnded",
720
720
  description: "The media finished playing because it reached the end.",
721
721
  initiatedBy: "google-ima-sdk"
722
722
  }));
723
723
  }, W = (Z, B) => {
724
- B = B || Z.getError(), H == null || H.destroy(), C(rt({
724
+ B = B || Z.getError(), H == null || H.destroy(), C($e({
725
725
  type: "PlaybackErrored",
726
726
  description: "The media failed to play.",
727
727
  initiatedBy: "google-ima-sdk",
@@ -730,7 +730,7 @@ function vv(t, e, i) {
730
730
  errorMessage: `${B.getMessage()} (code=${B.getErrorCode()})`
731
731
  }));
732
732
  }, Xe = () => {
733
- C(rt({
733
+ C($e({
734
734
  type: "PlaybackErrored",
735
735
  description: "The media failed to play.",
736
736
  initiatedBy: "browser",
@@ -785,9 +785,9 @@ function vv(t, e, i) {
785
785
  K
786
786
  ];
787
787
  }
788
- class mv extends it {
788
+ class mv extends rt {
789
789
  constructor(e) {
790
- super(), tt(this, e, vv, gv, et, {
790
+ super(), it(this, e, vv, gv, tt, {
791
791
  vastUrl: 6,
792
792
  advertConsent: 7,
793
793
  video: 8,
@@ -1708,7 +1708,7 @@ var nf = { exports: {} };
1708
1708
  });
1709
1709
  }), c;
1710
1710
  }
1711
- function me(d, c) {
1711
+ function pe(d, c) {
1712
1712
  if (!d || !c)
1713
1713
  return d;
1714
1714
  var u = c.keyId;
@@ -2245,7 +2245,7 @@ var nf = { exports: {} };
2245
2245
  w.title = re || null, w.tagList.push(re ? ["INF", fe, re] : ["INF", fe]);
2246
2246
  } else if (O[3]) {
2247
2247
  if ($(w.duration)) {
2248
- w.start = E, D && pe(w, D, v), w.sn = b, w.level = s, w.cc = A, w.urlId = f, m.push(w);
2248
+ w.start = E, D && _e(w, D, v), w.sn = b, w.level = s, w.cc = A, w.urlId = f, m.push(w);
2249
2249
  var ne = (" " + O[3]).slice(1);
2250
2250
  w.relurl = ne, Zt(w, x), x = w, E += w.duration, b++, S = 0, q = !0;
2251
2251
  }
@@ -2371,7 +2371,7 @@ var nf = { exports: {} };
2371
2371
  }
2372
2372
  }
2373
2373
  }
2374
- x && !x.relurl ? (m.pop(), E -= x.duration, v.partList && (v.fragmentHint = x)) : v.partList && (Zt(w, x), w.cc = A, v.fragmentHint = w, D && pe(w, D, v));
2374
+ x && !x.relurl ? (m.pop(), E -= x.duration, v.partList && (v.fragmentHint = x)) : v.partList && (Zt(w, x), w.cc = A, v.fragmentHint = w, D && _e(w, D, v));
2375
2375
  var Zi = m.length, nr = m[0], un = m[Zi - 1];
2376
2376
  if (E += v.skippedSegments * v.targetduration, E > 0 && Zi && un) {
2377
2377
  v.averagetargetduration = E / Zi;
@@ -2425,14 +2425,14 @@ var nf = { exports: {} };
2425
2425
  function j(d, c, u, n) {
2426
2426
  d.relurl = c.URI, c.BYTERANGE && d.setByteRange(c.BYTERANGE), d.level = u, d.sn = "initSegment", n && (d.levelkeys = n), d.initSegment = null;
2427
2427
  }
2428
- function pe(d, c, u) {
2428
+ function _e(d, c, u) {
2429
2429
  d.levelkeys = c;
2430
2430
  var n = u.encryptedFragments;
2431
2431
  (!n.length || n[n.length - 1].levelkeys !== c) && Object.keys(c).some(function(s) {
2432
2432
  return c[s].isCommonEncryption;
2433
2433
  }) && n.push(d);
2434
2434
  }
2435
- var _e = {
2435
+ var ye = {
2436
2436
  MANIFEST: "manifest",
2437
2437
  LEVEL: "level",
2438
2438
  AUDIO_TRACK: "audioTrack",
@@ -2445,9 +2445,9 @@ var nf = { exports: {} };
2445
2445
  function Ar(d) {
2446
2446
  var c = d.type;
2447
2447
  switch (c) {
2448
- case _e.AUDIO_TRACK:
2448
+ case ye.AUDIO_TRACK:
2449
2449
  return ot.AUDIO;
2450
- case _e.SUBTITLE_TRACK:
2450
+ case ye.SUBTITLE_TRACK:
2451
2451
  return ot.SUBTITLE;
2452
2452
  default:
2453
2453
  return ot.MAIN;
@@ -2491,7 +2491,7 @@ var nf = { exports: {} };
2491
2491
  id: null,
2492
2492
  level: 0,
2493
2493
  responseType: "text",
2494
- type: _e.MANIFEST,
2494
+ type: ye.MANIFEST,
2495
2495
  url: o,
2496
2496
  deliveryDirectives: null
2497
2497
  });
@@ -2501,7 +2501,7 @@ var nf = { exports: {} };
2501
2501
  id: o,
2502
2502
  level: f,
2503
2503
  responseType: "text",
2504
- type: _e.LEVEL,
2504
+ type: ye.LEVEL,
2505
2505
  url: h,
2506
2506
  deliveryDirectives: v
2507
2507
  });
@@ -2512,7 +2512,7 @@ var nf = { exports: {} };
2512
2512
  groupId: f,
2513
2513
  level: null,
2514
2514
  responseType: "text",
2515
- type: _e.AUDIO_TRACK,
2515
+ type: ye.AUDIO_TRACK,
2516
2516
  url: h,
2517
2517
  deliveryDirectives: v
2518
2518
  });
@@ -2523,7 +2523,7 @@ var nf = { exports: {} };
2523
2523
  groupId: f,
2524
2524
  level: null,
2525
2525
  responseType: "text",
2526
- type: _e.SUBTITLE_TRACK,
2526
+ type: ye.SUBTITLE_TRACK,
2527
2527
  url: h,
2528
2528
  deliveryDirectives: v
2529
2529
  });
@@ -2538,12 +2538,12 @@ var nf = { exports: {} };
2538
2538
  B.log("[playlist-loader]: aborting previous loader for type: " + n.type), h.abort();
2539
2539
  }
2540
2540
  var m;
2541
- if (n.type === _e.MANIFEST ? m = f.manifestLoadPolicy.default : m = T({}, f.playlistLoadPolicy.default, {
2541
+ if (n.type === ye.MANIFEST ? m = f.manifestLoadPolicy.default : m = T({}, f.playlistLoadPolicy.default, {
2542
2542
  timeoutRetry: null,
2543
2543
  errorRetry: null
2544
2544
  }), h = this.createInternalLoader(n), (s = n.deliveryDirectives) != null && s.part) {
2545
2545
  var y;
2546
- if (n.type === _e.LEVEL && n.level !== null ? y = this.hls.levels[n.level].details : n.type === _e.AUDIO_TRACK && n.id !== null ? y = this.hls.audioTracks[n.id].details : n.type === _e.SUBTITLE_TRACK && n.id !== null && (y = this.hls.subtitleTracks[n.id].details), y) {
2546
+ if (n.type === ye.LEVEL && n.level !== null ? y = this.hls.levels[n.level].details : n.type === ye.AUDIO_TRACK && n.id !== null ? y = this.hls.audioTracks[n.id].details : n.type === ye.SUBTITLE_TRACK && n.id !== null && (y = this.hls.subtitleTracks[n.id].details), y) {
2547
2547
  var b = y.partTarget, S = y.targetduration;
2548
2548
  if (b && S) {
2549
2549
  var E = Math.max(b * 3, S * 0.8) * 1e3;
@@ -2621,7 +2621,7 @@ var nf = { exports: {} };
2621
2621
  });
2622
2622
  }, c.handleTrackOrLevelPlaylist = function(n, s, o, f, h) {
2623
2623
  var v = this.hls, m = o.id, y = o.level, b = o.type, S = br(n, o), E = $(m) ? m : 0, A = $(y) ? y : E, x = Ar(o), w = Mi.parseLevelPlaylist(n.data, S, A, x, E, this.variableList);
2624
- if (b === _e.MANIFEST) {
2624
+ if (b === ye.MANIFEST) {
2625
2625
  var O = {
2626
2626
  attrs: new xe({}),
2627
2627
  bitrate: 0,
@@ -2647,7 +2647,7 @@ var nf = { exports: {} };
2647
2647
  this.hls.trigger(L.ERROR, {
2648
2648
  type: ae.NETWORK_ERROR,
2649
2649
  details: W.MANIFEST_PARSING_ERROR,
2650
- fatal: s.type === _e.MANIFEST,
2650
+ fatal: s.type === ye.MANIFEST,
2651
2651
  url: n.url,
2652
2652
  err: o,
2653
2653
  error: o,
@@ -2660,21 +2660,21 @@ var nf = { exports: {} };
2660
2660
  }, c.handleNetworkError = function(n, s, o, f, h) {
2661
2661
  o === void 0 && (o = !1);
2662
2662
  var v = "A network " + (o ? "timeout" : "error" + (f ? " (status " + f.code + ")" : "")) + " occurred while loading " + n.type;
2663
- n.type === _e.LEVEL ? v += ": " + n.level + " id: " + n.id : (n.type === _e.AUDIO_TRACK || n.type === _e.SUBTITLE_TRACK) && (v += " id: " + n.id + ' group-id: "' + n.groupId + '"');
2663
+ n.type === ye.LEVEL ? v += ": " + n.level + " id: " + n.id : (n.type === ye.AUDIO_TRACK || n.type === ye.SUBTITLE_TRACK) && (v += " id: " + n.id + ' group-id: "' + n.groupId + '"');
2664
2664
  var m = new Error(v);
2665
2665
  B.warn("[playlist-loader]: " + v);
2666
2666
  var y = W.UNKNOWN, b = !1, S = this.getInternalLoader(n);
2667
2667
  switch (n.type) {
2668
- case _e.MANIFEST:
2668
+ case ye.MANIFEST:
2669
2669
  y = o ? W.MANIFEST_LOAD_TIMEOUT : W.MANIFEST_LOAD_ERROR, b = !0;
2670
2670
  break;
2671
- case _e.LEVEL:
2671
+ case ye.LEVEL:
2672
2672
  y = o ? W.LEVEL_LOAD_TIMEOUT : W.LEVEL_LOAD_ERROR, b = !1;
2673
2673
  break;
2674
- case _e.AUDIO_TRACK:
2674
+ case ye.AUDIO_TRACK:
2675
2675
  y = o ? W.AUDIO_TRACK_LOAD_TIMEOUT : W.AUDIO_TRACK_LOAD_ERROR, b = !1;
2676
2676
  break;
2677
- case _e.SUBTITLE_TRACK:
2677
+ case ye.SUBTITLE_TRACK:
2678
2678
  y = o ? W.SUBTITLE_TRACK_LOAD_TIMEOUT : W.SUBTITLE_LOAD_ERROR, b = !1;
2679
2679
  break;
2680
2680
  }
@@ -2738,8 +2738,8 @@ var nf = { exports: {} };
2738
2738
  return;
2739
2739
  }
2740
2740
  switch (n.live && v && (v.getCacheAge && (n.ageHeader = v.getCacheAge() || 0), (!v.getCacheAge || isNaN(n.ageHeader)) && (n.ageHeader = 0)), y) {
2741
- case _e.MANIFEST:
2742
- case _e.LEVEL:
2741
+ case ye.MANIFEST:
2742
+ case ye.LEVEL:
2743
2743
  m.trigger(L.LEVEL_LOADED, {
2744
2744
  details: n,
2745
2745
  level: O || 0,
@@ -2749,7 +2749,7 @@ var nf = { exports: {} };
2749
2749
  deliveryDirectives: A
2750
2750
  });
2751
2751
  break;
2752
- case _e.AUDIO_TRACK:
2752
+ case ye.AUDIO_TRACK:
2753
2753
  m.trigger(L.AUDIO_TRACK_LOADED, {
2754
2754
  details: n,
2755
2755
  id: S || 0,
@@ -2759,7 +2759,7 @@ var nf = { exports: {} };
2759
2759
  deliveryDirectives: A
2760
2760
  });
2761
2761
  break;
2762
- case _e.SUBTITLE_TRACK:
2762
+ case ye.SUBTITLE_TRACK:
2763
2763
  m.trigger(L.SUBTITLE_TRACK_LOADED, {
2764
2764
  details: n,
2765
2765
  id: S || 0,
@@ -3472,7 +3472,7 @@ var nf = { exports: {} };
3472
3472
  case W.SUBTITLE_TRACK_LOAD_TIMEOUT:
3473
3473
  if (h) {
3474
3474
  var b = f.levels[f.loadLevel];
3475
- if (b && (h.type === _e.AUDIO_TRACK && h.groupId === b.audioGroupId || h.type === _e.SUBTITLE_TRACK && h.groupId === b.textGroupId)) {
3475
+ if (b && (h.type === ye.AUDIO_TRACK && h.groupId === b.audioGroupId || h.type === ye.SUBTITLE_TRACK && h.groupId === b.textGroupId)) {
3476
3476
  s.errorAction = this.getPlaylistRetryOrSwitchAction(s, f.loadLevel), s.errorAction.action = fr.SendAlternateToPenaltyBox, s.errorAction.flags = Wr.MoveAllAlternatesMatchingHost;
3477
3477
  return;
3478
3478
  }
@@ -3558,7 +3558,7 @@ var nf = { exports: {} };
3558
3558
  continue;
3559
3559
  }
3560
3560
  } else {
3561
- if (E === _e.AUDIO_TRACK && A === O.audioGroupId || E === _e.SUBTITLE_TRACK && A === O.textGroupId)
3561
+ if (E === ye.AUDIO_TRACK && A === O.audioGroupId || E === ye.SUBTITLE_TRACK && A === O.textGroupId)
3562
3562
  continue;
3563
3563
  if (b === ot.AUDIO && f.audioGroupId === O.audioGroupId || b === ot.SUBTITLE && f.textGroupId === O.textGroupId)
3564
3564
  continue;
@@ -3849,7 +3849,7 @@ var nf = { exports: {} };
3849
3849
  };
3850
3850
  this.hls.trigger(L.MANIFEST_PARSED, M), (this.hls.config.autoStartLoad || this.hls.forceStartLoad) && this.hls.startLoad(this.hls.config.startPosition);
3851
3851
  }, u.onError = function(s, o) {
3852
- o.fatal || !o.context || o.context.type === _e.LEVEL && o.context.level === this.level && this.checkRetry(o);
3852
+ o.fatal || !o.context || o.context.type === ye.LEVEL && o.context.level === this.level && this.checkRetry(o);
3853
3853
  }, u.onFragLoaded = function(s, o) {
3854
3854
  var f = o.frag;
3855
3855
  if (f !== void 0 && f.type === ot.MAIN) {
@@ -7944,7 +7944,7 @@ var nf = { exports: {} };
7944
7944
  }, c.resetNextTimestamp = function() {
7945
7945
  this.lastEndTime = null;
7946
7946
  }, c.resetInitSegment = function(n, s, o, f) {
7947
- this.audioCodec = s, this.videoCodec = o, this.generateInitSegment(me(n, f)), this.emitInitSegment = !0;
7947
+ this.audioCodec = s, this.videoCodec = o, this.generateInitSegment(pe(n, f)), this.emitInitSegment = !0;
7948
7948
  }, c.generateInitSegment = function(n) {
7949
7949
  var s = this.audioCodec, o = this.videoCodec;
7950
7950
  if (!(n != null && n.byteLength)) {
@@ -8986,7 +8986,7 @@ var nf = { exports: {} };
8986
8986
  case W.LEVEL_LOAD_ERROR:
8987
8987
  case W.LEVEL_LOAD_TIMEOUT:
8988
8988
  case W.LEVEL_PARSING_ERROR:
8989
- !o.levelRetry && this.state === Be.WAITING_LEVEL && ((f = o.context) == null ? void 0 : f.type) === _e.LEVEL && (this.state = Be.IDLE);
8989
+ !o.levelRetry && this.state === Be.WAITING_LEVEL && ((f = o.context) == null ? void 0 : f.type) === ye.LEVEL && (this.state = Be.IDLE);
8990
8990
  break;
8991
8991
  case W.BUFFER_FULL_ERROR:
8992
8992
  if (!o.parent || o.parent !== "main")
@@ -13754,7 +13754,7 @@ function _c(t) {
13754
13754
  t[50]);
13755
13755
  },
13756
13756
  m(g, p) {
13757
- ie(g, e, p), a || (l = ye(
13757
+ ie(g, e, p), a || (l = me(
13758
13758
  e,
13759
13759
  "error",
13760
13760
  /*handleSourceError*/
@@ -13936,50 +13936,50 @@ function Cy(t) {
13936
13936
  t[3]
13937
13937
  ) || (r.playbackRate = /*playbackRate*/
13938
13938
  t[3]), I(i, _), oe && oe.m(i, null), I(i, T), ue && ue.m(i, null), C = !0, F || (U = [
13939
- ye(
13939
+ me(
13940
13940
  r,
13941
13941
  "durationchange",
13942
13942
  /*video_1_durationchange_handler*/
13943
13943
  t[38]
13944
13944
  ),
13945
- ye(r, "timeupdate", H),
13946
- ye(
13945
+ me(r, "timeupdate", H),
13946
+ me(
13947
13947
  r,
13948
13948
  "ratechange",
13949
13949
  /*video_1_ratechange_handler*/
13950
13950
  t[40]
13951
13951
  ),
13952
- ye(
13952
+ me(
13953
13953
  r,
13954
13954
  "play",
13955
13955
  /*handlePlay*/
13956
13956
  t[17]
13957
13957
  ),
13958
- ye(
13958
+ me(
13959
13959
  r,
13960
13960
  "pause",
13961
13961
  /*handlePause*/
13962
13962
  t[18]
13963
13963
  ),
13964
- ye(
13964
+ me(
13965
13965
  r,
13966
13966
  "ended",
13967
13967
  /*handleEnded*/
13968
13968
  t[19]
13969
13969
  ),
13970
- ye(
13970
+ me(
13971
13971
  r,
13972
13972
  "durationchange",
13973
13973
  /*handleDurationChange*/
13974
13974
  t[20]
13975
13975
  ),
13976
- ye(
13976
+ me(
13977
13977
  r,
13978
13978
  "timeupdate",
13979
13979
  /*handleTimeUpdate*/
13980
13980
  t[21]
13981
13981
  ),
13982
- ye(
13982
+ me(
13983
13983
  r,
13984
13984
  "ratechange",
13985
13985
  /*handleRateChange*/
@@ -14063,37 +14063,37 @@ function Ly(t, e, i) {
14063
14063
  const B = (Se) => i(9, Z = Se), Ke = () => {
14064
14064
  K && clearTimeout(K), i(12, K = setTimeout(() => i(12, K = null), 500));
14065
14065
  }, Me = () => {
14066
- we(rt({
14066
+ we($e({
14067
14067
  type: "PlaybackPlaying",
14068
14068
  description: "The media began playing from its current playback time.",
14069
14069
  initiatedBy: "media"
14070
14070
  }));
14071
14071
  }, xe = () => {
14072
- we(rt({
14072
+ we($e({
14073
14073
  type: "PlaybackPaused",
14074
14074
  description: "The media became paused at its current playback time.",
14075
14075
  initiatedBy: "media"
14076
14076
  }));
14077
14077
  }, Fe = () => {
14078
- we(rt({
14078
+ we($e({
14079
14079
  type: "PlaybackEnded",
14080
14080
  description: "The media finished playing because it reached the end.",
14081
14081
  initiatedBy: "media"
14082
14082
  }));
14083
14083
  }, te = () => {
14084
- we(rt({
14084
+ we($e({
14085
14085
  type: "DurationUpdated",
14086
14086
  description: "The media's duration was updated.",
14087
14087
  initiatedBy: "media"
14088
14088
  }));
14089
14089
  }, ve = () => {
14090
- p || we(rt({
14090
+ p || we($e({
14091
14091
  type: "CurrentTimeUpdated",
14092
14092
  description: "The media's current time was updated.",
14093
14093
  initiatedBy: "media"
14094
14094
  }));
14095
14095
  }, ft = () => {
14096
- we(rt({
14096
+ we($e({
14097
14097
  type: "CurrentSegmentUpdated",
14098
14098
  description: "The media's current segment was updated.",
14099
14099
  initiatedBy: "media",
@@ -14102,13 +14102,13 @@ function Ly(t, e, i) {
14102
14102
  segmentIndex: U
14103
14103
  }));
14104
14104
  }, Ee = () => {
14105
- we(rt({
14105
+ we($e({
14106
14106
  type: "PlaybackRateUpdated",
14107
14107
  description: "The media's playback rate was updated.",
14108
14108
  initiatedBy: "media"
14109
14109
  }));
14110
14110
  }, Le = (Se) => () => {
14111
- Se === g.length - 1 && we(rt({
14111
+ Se === g.length - 1 && we($e({
14112
14112
  type: "PlaybackErrored",
14113
14113
  description: "The media failed to play.",
14114
14114
  initiatedBy: "media",
@@ -14117,7 +14117,7 @@ function Ly(t, e, i) {
14117
14117
  errorMessage: "The video tag contains sources but none are playable."
14118
14118
  }));
14119
14119
  }, Ye = (Se, gt) => {
14120
- gt.fatal && (Oe == null || Oe.destroy(), i(31, Oe = null), we(rt({
14120
+ gt.fatal && (Oe == null || Oe.destroy(), i(31, Oe = null), we($e({
14121
14121
  type: "PlaybackErrored",
14122
14122
  description: "The media failed to play.",
14123
14123
  initiatedBy: "media",
@@ -14126,7 +14126,7 @@ function Ly(t, e, i) {
14126
14126
  errorMessage: `${gt.type} ${gt.details}`
14127
14127
  })));
14128
14128
  }, wt = () => {
14129
- we(rt({
14129
+ we($e({
14130
14130
  type: "FullScreenModeUpdated",
14131
14131
  description: "The browser entered or exited full screen mode.",
14132
14132
  initiatedBy: "browser"
@@ -14236,14 +14236,14 @@ function Ly(t, e, i) {
14236
14236
  kt
14237
14237
  ];
14238
14238
  }
14239
- class Iy extends it {
14239
+ class Iy extends rt {
14240
14240
  constructor(e) {
14241
- super(), tt(
14241
+ super(), it(
14242
14242
  this,
14243
14243
  e,
14244
14244
  Ly,
14245
14245
  Cy,
14246
- et,
14246
+ tt,
14247
14247
  {
14248
14248
  content: 25,
14249
14249
  contentIndex: 26,
@@ -14376,7 +14376,7 @@ function My(t) {
14376
14376
  let e, i, r, a;
14377
14377
  return {
14378
14378
  c() {
14379
- e = $e("svg"), i = $e("path"), Hr(
14379
+ e = et("svg"), i = et("path"), Hr(
14380
14380
  i,
14381
14381
  "fill",
14382
14382
  /*color*/
@@ -14414,9 +14414,9 @@ function Ny(t, e, i) {
14414
14414
  "scale" in l && i(0, r = l.scale), "color" in l && i(1, a = l.color);
14415
14415
  }, [r, a];
14416
14416
  }
14417
- class Fy extends it {
14417
+ class Fy extends rt {
14418
14418
  constructor(e) {
14419
- super(), tt(this, e, Ny, My, et, { scale: 0, color: 1 });
14419
+ super(), it(this, e, Ny, My, tt, { scale: 0, color: 1 });
14420
14420
  }
14421
14421
  get scale() {
14422
14422
  return this.$$.ctx[0];
@@ -14436,7 +14436,7 @@ function Wy(t) {
14436
14436
  let e, i, r, a;
14437
14437
  return {
14438
14438
  c() {
14439
- e = $e("svg"), i = $e("path"), Kr(
14439
+ e = et("svg"), i = et("path"), Kr(
14440
14440
  i,
14441
14441
  "fill",
14442
14442
  /*color*/
@@ -14474,9 +14474,9 @@ function jy(t, e, i) {
14474
14474
  "scale" in l && i(0, r = l.scale), "color" in l && i(1, a = l.color);
14475
14475
  }, [r, a];
14476
14476
  }
14477
- class Gy extends it {
14477
+ class Gy extends rt {
14478
14478
  constructor(e) {
14479
- super(), tt(this, e, jy, Wy, et, { scale: 0, color: 1 });
14479
+ super(), it(this, e, jy, Wy, tt, { scale: 0, color: 1 });
14480
14480
  }
14481
14481
  get scale() {
14482
14482
  return this.$$.ctx[0];
@@ -14597,13 +14597,13 @@ function qy(t) {
14597
14597
  },
14598
14598
  m(k, C) {
14599
14599
  ie(k, e, C), _[i].m(e, null), a = !0, l || (g = [
14600
- ye(
14600
+ me(
14601
14601
  e,
14602
14602
  "click",
14603
14603
  /*handleClick*/
14604
14604
  t[5]
14605
14605
  ),
14606
- ye(e, "mouseup", Br)
14606
+ me(e, "mouseup", Br)
14607
14607
  ], l = !0);
14608
14608
  },
14609
14609
  p(k, [C]) {
@@ -14643,7 +14643,7 @@ function Xy(t, e, i) {
14643
14643
  const T = (k) => {
14644
14644
  k.preventDefault();
14645
14645
  const C = a ? "Pause" : "Play";
14646
- _(rt({
14646
+ _($e({
14647
14647
  type: `Pressed${C}`,
14648
14648
  description: `The ${C.toLowerCase()} button was pressed.`,
14649
14649
  initiatedBy: "user"
@@ -14656,9 +14656,9 @@ function Xy(t, e, i) {
14656
14656
  1 && i(4, r = pi(a ? "pauseAudio" : "playAudio"));
14657
14657
  }, [a, l, g, p, r, T, _];
14658
14658
  }
14659
- class Zy extends it {
14659
+ class Zy extends rt {
14660
14660
  constructor(e) {
14661
- super(), tt(this, e, Xy, qy, et, {
14661
+ super(), it(this, e, Xy, qy, tt, {
14662
14662
  isPlaying: 0,
14663
14663
  tabindex: 1,
14664
14664
  scale: 2,
@@ -14729,14 +14729,14 @@ function $y(t) {
14729
14729
  },
14730
14730
  m(p, _) {
14731
14731
  ie(p, e, _), I(e, i), I(i, r), I(i, a), l || (g = [
14732
- ye(
14732
+ me(
14733
14733
  e,
14734
14734
  "click",
14735
14735
  /*handleClick*/
14736
14736
  t[4]
14737
14737
  ),
14738
- ye(e, "mouseup", Br),
14739
- ye(
14738
+ me(e, "mouseup", Br),
14739
+ me(
14740
14740
  e,
14741
14741
  "keydown",
14742
14742
  /*handleKeyDown*/
@@ -14787,14 +14787,14 @@ function e1(t, e, i) {
14787
14787
  let r, a, { speed: l = 1 } = e, { scale: g = 1 } = e, { color: p = "#323232" } = e, { onEvent: _ = () => {
14788
14788
  } } = e;
14789
14789
  const T = () => {
14790
- _(rt({
14790
+ _($e({
14791
14791
  type: "PressedChangeSpeed",
14792
14792
  description: "The change speed button was pressed.",
14793
14793
  initiatedBy: "user"
14794
14794
  }));
14795
14795
  }, k = (C) => {
14796
14796
  let F;
14797
- C.key === "ArrowLeft" && (F = "Left"), C.key === "ArrowRight" && (F = "Right"), C.key === "ArrowDown" && (F = "Down"), C.key === "ArrowUp" && (F = "Up"), C.key === " " && (F = "Space"), C.key === "Enter" && (F = "Enter"), F && (C.preventDefault(), _(rt({
14797
+ C.key === "ArrowLeft" && (F = "Left"), C.key === "ArrowRight" && (F = "Right"), C.key === "ArrowDown" && (F = "Down"), C.key === "ArrowUp" && (F = "Up"), C.key === " " && (F = "Space"), C.key === "Enter" && (F = "Enter"), F && (C.preventDefault(), _($e({
14798
14798
  type: `Pressed${F}OnChangeSpeed`,
14799
14799
  description: `The ${F.toLowerCase()} key was pressed while change speed was focussed.`,
14800
14800
  initiatedBy: "user"
@@ -14808,9 +14808,9 @@ function e1(t, e, i) {
14808
14808
  64 && i(2, a = `${12 * g}px`);
14809
14809
  }, [l, p, a, r, T, k, g, _];
14810
14810
  }
14811
- class t1 extends it {
14811
+ class t1 extends rt {
14812
14812
  constructor(e) {
14813
- super(), tt(this, e, e1, $y, et, { speed: 0, scale: 6, color: 1, onEvent: 7 });
14813
+ super(), it(this, e, e1, $y, tt, { speed: 0, scale: 6, color: 1, onEvent: 7 });
14814
14814
  }
14815
14815
  get speed() {
14816
14816
  return this.$$.ctx[0];
@@ -14842,7 +14842,7 @@ function n1(t) {
14842
14842
  let e, i, r, a, l, g;
14843
14843
  return {
14844
14844
  c() {
14845
- e = $e("svg"), i = $e("path"), r = $e("text"), a = Re(
14845
+ e = et("svg"), i = et("path"), r = et("text"), a = Re(
14846
14846
  /*seconds*/
14847
14847
  t[2]
14848
14848
  ), Wi(
@@ -14899,9 +14899,9 @@ function s1(t, e, i) {
14899
14899
  "scale" in g && i(0, r = g.scale), "color" in g && i(1, a = g.color), "seconds" in g && i(2, l = g.seconds);
14900
14900
  }, [r, a, l];
14901
14901
  }
14902
- class a1 extends it {
14902
+ class a1 extends rt {
14903
14903
  constructor(e) {
14904
- super(), tt(this, e, s1, n1, et, { scale: 0, color: 1, seconds: 2 });
14904
+ super(), it(this, e, s1, n1, tt, { scale: 0, color: 1, seconds: 2 });
14905
14905
  }
14906
14906
  get scale() {
14907
14907
  return this.$$.ctx[0];
@@ -14927,7 +14927,7 @@ function u1(t) {
14927
14927
  let e, i, r, a;
14928
14928
  return {
14929
14929
  c() {
14930
- e = $e("svg"), i = $e("path"), Yr(
14930
+ e = et("svg"), i = et("path"), Yr(
14931
14931
  i,
14932
14932
  "fill",
14933
14933
  /*color*/
@@ -14965,9 +14965,9 @@ function c1(t, e, i) {
14965
14965
  "scale" in l && i(0, r = l.scale), "color" in l && i(1, a = l.color);
14966
14966
  }, [r, a];
14967
14967
  }
14968
- class d1 extends it {
14968
+ class d1 extends rt {
14969
14969
  constructor(e) {
14970
- super(), tt(this, e, c1, u1, et, { scale: 0, color: 1 });
14970
+ super(), it(this, e, c1, u1, tt, { scale: 0, color: 1 });
14971
14971
  }
14972
14972
  get scale() {
14973
14973
  return this.$$.ctx[0];
@@ -14987,7 +14987,7 @@ function g1(t) {
14987
14987
  let e, i, r, a, l;
14988
14988
  return {
14989
14989
  c() {
14990
- e = $e("svg"), i = $e("path"), r = $e("path"), gr(
14990
+ e = et("svg"), i = et("path"), r = et("path"), gr(
14991
14991
  i,
14992
14992
  "fill",
14993
14993
  /*color*/
@@ -15036,9 +15036,9 @@ function v1(t, e, i) {
15036
15036
  "scale" in l && i(0, r = l.scale), "color" in l && i(1, a = l.color);
15037
15037
  }, [r, a];
15038
15038
  }
15039
- class m1 extends it {
15039
+ class m1 extends rt {
15040
15040
  constructor(e) {
15041
- super(), tt(this, e, v1, g1, et, { scale: 0, color: 1 });
15041
+ super(), it(this, e, v1, g1, tt, { scale: 0, color: 1 });
15042
15042
  }
15043
15043
  get scale() {
15044
15044
  return this.$$.ctx[0];
@@ -15203,13 +15203,13 @@ function T1(t) {
15203
15203
  },
15204
15204
  m(k, C) {
15205
15205
  ie(k, e, C), ~i && _[i].m(e, null), a = !0, l || (g = [
15206
- ye(
15206
+ me(
15207
15207
  e,
15208
15208
  "click",
15209
15209
  /*handleClick*/
15210
15210
  t[7]
15211
15211
  ),
15212
- ye(e, "mouseup", Br)
15212
+ me(e, "mouseup", Br)
15213
15213
  ], l = !0);
15214
15214
  },
15215
15215
  p(k, [C]) {
@@ -15240,7 +15240,7 @@ function k1(t, e, i) {
15240
15240
  } } = e, C;
15241
15241
  const F = () => {
15242
15242
  let U, V, z;
15243
- a ? (U = "PressedPrevSegment", V = "The previous segment button was pressed.") : l ? (U = "PressedSeekBack", V = "The seek backward button was pressed.", z = { seconds: r }) : g && (U = "PressedPrevTrack", V = "The previous track button was pressed."), k(rt(de({
15243
+ a ? (U = "PressedPrevSegment", V = "The previous segment button was pressed.") : l ? (U = "PressedSeekBack", V = "The seek backward button was pressed.", z = { seconds: r }) : g && (U = "PressedPrevTrack", V = "The previous track button was pressed."), k($e(de({
15244
15244
  type: U,
15245
15245
  description: V,
15246
15246
  initiatedBy: "user"
@@ -15269,9 +15269,9 @@ function k1(t, e, i) {
15269
15269
  k
15270
15270
  ];
15271
15271
  }
15272
- class E1 extends it {
15272
+ class E1 extends rt {
15273
15273
  constructor(e) {
15274
- super(), tt(this, e, k1, T1, et, { style: 8, scale: 0, color: 1, onEvent: 9 });
15274
+ super(), it(this, e, k1, T1, tt, { style: 8, scale: 0, color: 1, onEvent: 9 });
15275
15275
  }
15276
15276
  get style() {
15277
15277
  return this.$$.ctx[8];
@@ -15303,7 +15303,7 @@ function P1(t) {
15303
15303
  let e, i, r, a, l, g;
15304
15304
  return {
15305
15305
  c() {
15306
- e = $e("svg"), i = $e("path"), r = $e("text"), a = Re(
15306
+ e = et("svg"), i = et("path"), r = et("text"), a = Re(
15307
15307
  /*seconds*/
15308
15308
  t[2]
15309
15309
  ), ji(
@@ -15360,9 +15360,9 @@ function w1(t, e, i) {
15360
15360
  "scale" in g && i(0, r = g.scale), "color" in g && i(1, a = g.color), "seconds" in g && i(2, l = g.seconds);
15361
15361
  }, [r, a, l];
15362
15362
  }
15363
- class C1 extends it {
15363
+ class C1 extends rt {
15364
15364
  constructor(e) {
15365
- super(), tt(this, e, w1, P1, et, { scale: 0, color: 1, seconds: 2 });
15365
+ super(), it(this, e, w1, P1, tt, { scale: 0, color: 1, seconds: 2 });
15366
15366
  }
15367
15367
  get scale() {
15368
15368
  return this.$$.ctx[0];
@@ -15388,7 +15388,7 @@ function R1(t) {
15388
15388
  let e, i, r, a;
15389
15389
  return {
15390
15390
  c() {
15391
- e = $e("svg"), i = $e("path"), qr(
15391
+ e = et("svg"), i = et("path"), qr(
15392
15392
  i,
15393
15393
  "fill",
15394
15394
  /*color*/
@@ -15426,9 +15426,9 @@ function D1(t, e, i) {
15426
15426
  "scale" in l && i(0, r = l.scale), "color" in l && i(1, a = l.color);
15427
15427
  }, [r, a];
15428
15428
  }
15429
- class O1 extends it {
15429
+ class O1 extends rt {
15430
15430
  constructor(e) {
15431
- super(), tt(this, e, D1, R1, et, { scale: 0, color: 1 });
15431
+ super(), it(this, e, D1, R1, tt, { scale: 0, color: 1 });
15432
15432
  }
15433
15433
  get scale() {
15434
15434
  return this.$$.ctx[0];
@@ -15448,7 +15448,7 @@ function N1(t) {
15448
15448
  let e, i, r, a, l;
15449
15449
  return {
15450
15450
  c() {
15451
- e = $e("svg"), i = $e("path"), r = $e("path"), vr(
15451
+ e = et("svg"), i = et("path"), r = et("path"), vr(
15452
15452
  i,
15453
15453
  "fill",
15454
15454
  /*color*/
@@ -15497,9 +15497,9 @@ function F1(t, e, i) {
15497
15497
  "scale" in l && i(0, r = l.scale), "color" in l && i(1, a = l.color);
15498
15498
  }, [r, a];
15499
15499
  }
15500
- class U1 extends it {
15500
+ class U1 extends rt {
15501
15501
  constructor(e) {
15502
- super(), tt(this, e, F1, N1, et, { scale: 0, color: 1 });
15502
+ super(), it(this, e, F1, N1, tt, { scale: 0, color: 1 });
15503
15503
  }
15504
15504
  get scale() {
15505
15505
  return this.$$.ctx[0];
@@ -15664,13 +15664,13 @@ function H1(t) {
15664
15664
  },
15665
15665
  m(k, C) {
15666
15666
  ie(k, e, C), ~i && _[i].m(e, null), a = !0, l || (g = [
15667
- ye(
15667
+ me(
15668
15668
  e,
15669
15669
  "click",
15670
15670
  /*handleClick*/
15671
15671
  t[7]
15672
15672
  ),
15673
- ye(e, "mouseup", Br)
15673
+ me(e, "mouseup", Br)
15674
15674
  ], l = !0);
15675
15675
  },
15676
15676
  p(k, [C]) {
@@ -15701,7 +15701,7 @@ function K1(t, e, i) {
15701
15701
  } } = e, F;
15702
15702
  const U = () => {
15703
15703
  let V, z, H;
15704
- l ? (V = "PressedNextSegment", z = "The next segment button was pressed.") : g ? (V = "PressedSeekAhead", z = "The seek ahead button was pressed.", H = { seconds: a }) : p && (V = "PressedNextTrack", z = "The next track button was pressed."), C(rt(de({
15704
+ l ? (V = "PressedNextSegment", z = "The next segment button was pressed.") : g ? (V = "PressedSeekAhead", z = "The seek ahead button was pressed.", H = { seconds: a }) : p && (V = "PressedNextTrack", z = "The next track button was pressed."), C($e(de({
15705
15705
  type: V,
15706
15706
  description: z,
15707
15707
  initiatedBy: "user"
@@ -15731,9 +15731,9 @@ function K1(t, e, i) {
15731
15731
  r
15732
15732
  ];
15733
15733
  }
15734
- class Y1 extends it {
15734
+ class Y1 extends rt {
15735
15735
  constructor(e) {
15736
- super(), tt(this, e, K1, H1, et, { style: 8, scale: 0, color: 1, onEvent: 9 });
15736
+ super(), it(this, e, K1, H1, tt, { style: 8, scale: 0, color: 1, onEvent: 9 });
15737
15737
  }
15738
15738
  get style() {
15739
15739
  return this.$$.ctx[8];
@@ -15765,7 +15765,7 @@ function Z1(t) {
15765
15765
  let e, i, r, a, l, g;
15766
15766
  return {
15767
15767
  c() {
15768
- e = $e("svg"), i = $e("path"), r = $e("g"), a = $e("path"), sr(
15768
+ e = et("svg"), i = et("path"), r = et("g"), a = et("path"), sr(
15769
15769
  i,
15770
15770
  "fill",
15771
15771
  /*color*/
@@ -15814,9 +15814,9 @@ function J1(t, e, i) {
15814
15814
  "scale" in l && i(0, r = l.scale), "color" in l && i(1, a = l.color);
15815
15815
  }, [r, a];
15816
15816
  }
15817
- class Q1 extends it {
15817
+ class Q1 extends rt {
15818
15818
  constructor(e) {
15819
- super(), tt(this, e, J1, Z1, et, { scale: 0, color: 1 });
15819
+ super(), it(this, e, J1, Z1, tt, { scale: 0, color: 1 });
15820
15820
  }
15821
15821
  get scale() {
15822
15822
  return this.$$.ctx[0];
@@ -15836,7 +15836,7 @@ function tb(t) {
15836
15836
  let e, i, r, a, l, g;
15837
15837
  return {
15838
15838
  c() {
15839
- e = $e("svg"), i = $e("path"), r = $e("g"), a = $e("path"), ar(
15839
+ e = et("svg"), i = et("path"), r = et("g"), a = et("path"), ar(
15840
15840
  i,
15841
15841
  "fill",
15842
15842
  /*color*/
@@ -15885,9 +15885,9 @@ function ib(t, e, i) {
15885
15885
  "scale" in l && i(0, r = l.scale), "color" in l && i(1, a = l.color);
15886
15886
  }, [r, a];
15887
15887
  }
15888
- class rb extends it {
15888
+ class rb extends rt {
15889
15889
  constructor(e) {
15890
- super(), tt(this, e, ib, tb, et, { scale: 0, color: 1 });
15890
+ super(), it(this, e, ib, tb, tt, { scale: 0, color: 1 });
15891
15891
  }
15892
15892
  get scale() {
15893
15893
  return this.$$.ctx[0];
@@ -15998,13 +15998,13 @@ function lb(t) {
15998
15998
  },
15999
15999
  m(C, F) {
16000
16000
  ie(C, e, F), T[i].m(e, null), l = !0, g || (p = [
16001
- ye(
16001
+ me(
16002
16002
  e,
16003
16003
  "click",
16004
16004
  /*handleClick*/
16005
16005
  t[4]
16006
16006
  ),
16007
- ye(e, "mouseup", Br)
16007
+ me(e, "mouseup", Br)
16008
16008
  ], g = !0);
16009
16009
  },
16010
16010
  p(C, [F]) {
@@ -16032,7 +16032,7 @@ function ub(t, e, i) {
16032
16032
  let { playlistShowing: r } = e, { playerStyle: a } = e, { scale: l = 1 } = e, { color: g = "#323232" } = e, { onEvent: p = () => {
16033
16033
  } } = e;
16034
16034
  const _ = () => {
16035
- p(rt({
16035
+ p($e({
16036
16036
  type: "PressedTogglePlaylist",
16037
16037
  description: "The toggle playlist button was pressed.",
16038
16038
  initiatedBy: "user"
@@ -16042,9 +16042,9 @@ function ub(t, e, i) {
16042
16042
  "playlistShowing" in T && i(0, r = T.playlistShowing), "playerStyle" in T && i(1, a = T.playerStyle), "scale" in T && i(2, l = T.scale), "color" in T && i(3, g = T.color), "onEvent" in T && i(5, p = T.onEvent);
16043
16043
  }, [r, a, l, g, _, p];
16044
16044
  }
16045
- class cb extends it {
16045
+ class cb extends rt {
16046
16046
  constructor(e) {
16047
- super(), tt(this, e, ub, lb, et, {
16047
+ super(), it(this, e, ub, lb, tt, {
16048
16048
  playlistShowing: 0,
16049
16049
  playerStyle: 1,
16050
16050
  scale: 2,
@@ -16177,9 +16177,9 @@ function gb(t, e, i) {
16177
16177
  "playerStyle" in T && i(0, l = T.playerStyle), "isMobile" in T && i(1, g = T.isMobile), "isAdvert" in T && i(2, p = T.isAdvert), "scale" in T && i(3, _ = T.scale), "$$scope" in T && i(4, a = T.$$scope);
16178
16178
  }, [l, g, p, _, a, r];
16179
16179
  }
16180
- class vb extends it {
16180
+ class vb extends rt {
16181
16181
  constructor(e) {
16182
- super(), tt(this, e, gb, hb, et, {
16182
+ super(), it(this, e, gb, hb, tt, {
16183
16183
  playerStyle: 0,
16184
16184
  isMobile: 1,
16185
16185
  isAdvert: 2,
@@ -16216,7 +16216,7 @@ function _b(t) {
16216
16216
  let e, i, r, a;
16217
16217
  return {
16218
16218
  c() {
16219
- e = $e("svg"), i = $e("path"), Xr(
16219
+ e = et("svg"), i = et("path"), Xr(
16220
16220
  i,
16221
16221
  "fill",
16222
16222
  /*color*/
@@ -16254,9 +16254,9 @@ function yb(t, e, i) {
16254
16254
  "scale" in l && i(0, r = l.scale), "color" in l && i(1, a = l.color);
16255
16255
  }, [r, a];
16256
16256
  }
16257
- class bb extends it {
16257
+ class bb extends rt {
16258
16258
  constructor(e) {
16259
- super(), tt(this, e, yb, _b, et, { scale: 0, color: 1 });
16259
+ super(), it(this, e, yb, _b, tt, { scale: 0, color: 1 });
16260
16260
  }
16261
16261
  get scale() {
16262
16262
  return this.$$.ctx[0];
@@ -16292,13 +16292,13 @@ function kb(t) {
16292
16292
  },
16293
16293
  m(g, p) {
16294
16294
  ie(g, e, p), je(i, e, null), r = !0, a || (l = [
16295
- ye(
16295
+ me(
16296
16296
  e,
16297
16297
  "click",
16298
16298
  /*handleClick*/
16299
16299
  t[2]
16300
16300
  ),
16301
- ye(e, "mouseup", Br)
16301
+ me(e, "mouseup", Br)
16302
16302
  ], a = !0);
16303
16303
  },
16304
16304
  p(g, [p]) {
@@ -16326,7 +16326,7 @@ function Eb(t, e, i) {
16326
16326
  let { scale: r = 1 } = e, { color: a = "#323232" } = e, { onEvent: l = () => {
16327
16327
  } } = e;
16328
16328
  const g = () => {
16329
- l(rt({
16329
+ l($e({
16330
16330
  type: "PressedMaximize",
16331
16331
  description: "The maximize button was pressed.",
16332
16332
  initiatedBy: "user"
@@ -16336,9 +16336,9 @@ function Eb(t, e, i) {
16336
16336
  "scale" in p && i(0, r = p.scale), "color" in p && i(1, a = p.color), "onEvent" in p && i(3, l = p.onEvent);
16337
16337
  }, [r, a, g, l];
16338
16338
  }
16339
- class Ab extends it {
16339
+ class Ab extends rt {
16340
16340
  constructor(e) {
16341
- super(), tt(this, e, Eb, kb, et, { scale: 0, color: 1, onEvent: 3 });
16341
+ super(), it(this, e, Eb, kb, tt, { scale: 0, color: 1, onEvent: 3 });
16342
16342
  }
16343
16343
  get scale() {
16344
16344
  return this.$$.ctx[0];
@@ -16364,7 +16364,7 @@ function wb(t) {
16364
16364
  let e, i, r, a;
16365
16365
  return {
16366
16366
  c() {
16367
- e = $e("svg"), i = $e("path"), Zr(
16367
+ e = et("svg"), i = et("path"), Zr(
16368
16368
  i,
16369
16369
  "fill",
16370
16370
  /*color*/
@@ -16402,9 +16402,9 @@ function Cb(t, e, i) {
16402
16402
  "scale" in l && i(0, r = l.scale), "color" in l && i(1, a = l.color);
16403
16403
  }, [r, a];
16404
16404
  }
16405
- class Lb extends it {
16405
+ class Lb extends rt {
16406
16406
  constructor(e) {
16407
- super(), tt(this, e, Cb, wb, et, { scale: 0, color: 1 });
16407
+ super(), it(this, e, Cb, wb, tt, { scale: 0, color: 1 });
16408
16408
  }
16409
16409
  get scale() {
16410
16410
  return this.$$.ctx[0];
@@ -16440,13 +16440,13 @@ function Db(t) {
16440
16440
  },
16441
16441
  m(g, p) {
16442
16442
  ie(g, e, p), je(i, e, null), r = !0, a || (l = [
16443
- ye(
16443
+ me(
16444
16444
  e,
16445
16445
  "click",
16446
16446
  /*handleClick*/
16447
16447
  t[2]
16448
16448
  ),
16449
- ye(e, "mouseup", Br)
16449
+ me(e, "mouseup", Br)
16450
16450
  ], a = !0);
16451
16451
  },
16452
16452
  p(g, [p]) {
@@ -16474,7 +16474,7 @@ function Ob(t, e, i) {
16474
16474
  let { scale: r = 1 } = e, { color: a = "#323232" } = e, { onEvent: l = () => {
16475
16475
  } } = e;
16476
16476
  const g = () => {
16477
- l(rt({
16477
+ l($e({
16478
16478
  type: "PressedScrollToPlayer",
16479
16479
  description: "The scroll to player button was pressed.",
16480
16480
  initiatedBy: "user"
@@ -16484,9 +16484,9 @@ function Ob(t, e, i) {
16484
16484
  "scale" in p && i(0, r = p.scale), "color" in p && i(1, a = p.color), "onEvent" in p && i(3, l = p.onEvent);
16485
16485
  }, [r, a, g, l];
16486
16486
  }
16487
- class Bb extends it {
16487
+ class Bb extends rt {
16488
16488
  constructor(e) {
16489
- super(), tt(this, e, Ob, Db, et, { scale: 0, color: 1, onEvent: 3 });
16489
+ super(), it(this, e, Ob, Db, tt, { scale: 0, color: 1, onEvent: 3 });
16490
16490
  }
16491
16491
  get scale() {
16492
16492
  return this.$$.ctx[0];
@@ -16512,7 +16512,7 @@ function Fb(t) {
16512
16512
  let e, i, r, a;
16513
16513
  return {
16514
16514
  c() {
16515
- e = $e("svg"), i = $e("path"), Jr(
16515
+ e = et("svg"), i = et("path"), Jr(
16516
16516
  i,
16517
16517
  "fill",
16518
16518
  /*color*/
@@ -16550,9 +16550,9 @@ function Ub(t, e, i) {
16550
16550
  "scale" in l && i(0, r = l.scale), "color" in l && i(1, a = l.color);
16551
16551
  }, [r, a];
16552
16552
  }
16553
- class Vb extends it {
16553
+ class Vb extends rt {
16554
16554
  constructor(e) {
16555
- super(), tt(this, e, Ub, Fb, et, { scale: 0, color: 1 });
16555
+ super(), it(this, e, Ub, Fb, tt, { scale: 0, color: 1 });
16556
16556
  }
16557
16557
  get scale() {
16558
16558
  return this.$$.ctx[0];
@@ -16593,13 +16593,13 @@ function Gb(t) {
16593
16593
  },
16594
16594
  m(g, p) {
16595
16595
  ie(g, e, p), je(i, e, null), r = !0, a || (l = [
16596
- ye(
16596
+ me(
16597
16597
  e,
16598
16598
  "click",
16599
16599
  /*handleClick*/
16600
16600
  t[3]
16601
16601
  ),
16602
- ye(e, "mouseup", Br)
16602
+ me(e, "mouseup", Br)
16603
16603
  ], a = !0);
16604
16604
  },
16605
16605
  p(g, [p]) {
@@ -16633,7 +16633,7 @@ function zb(t, e, i) {
16633
16633
  let { scale: r = 1 } = e, { color: a = "#323232" } = e, { margin: l = "auto" } = e, { onEvent: g = () => {
16634
16634
  } } = e;
16635
16635
  const p = () => {
16636
- g(rt({
16636
+ g($e({
16637
16637
  type: "PressedCloseWidget",
16638
16638
  description: "The close widget button was pressed.",
16639
16639
  initiatedBy: "user"
@@ -16643,9 +16643,9 @@ function zb(t, e, i) {
16643
16643
  "scale" in _ && i(0, r = _.scale), "color" in _ && i(1, a = _.color), "margin" in _ && i(2, l = _.margin), "onEvent" in _ && i(4, g = _.onEvent);
16644
16644
  }, [r, a, l, p, g];
16645
16645
  }
16646
- class Hb extends it {
16646
+ class Hb extends rt {
16647
16647
  constructor(e) {
16648
- super(), tt(this, e, zb, Gb, et, {
16648
+ super(), it(this, e, zb, Gb, tt, {
16649
16649
  scale: 0,
16650
16650
  color: 1,
16651
16651
  margin: 2,
@@ -16706,7 +16706,7 @@ function qb(t) {
16706
16706
  );
16707
16707
  },
16708
16708
  m(p, _) {
16709
- ie(p, e, _), I(e, r), l || (g = ye(
16709
+ ie(p, e, _), I(e, r), l || (g = me(
16710
16710
  e,
16711
16711
  "click",
16712
16712
  /*handleClick*/
@@ -16752,7 +16752,7 @@ function Xb(t, e, i) {
16752
16752
  let r, a, { href: l } = e, { scale: g = 1 } = e, { color: p = "#323232" } = e, { playerStyle: _ } = e, { controlsOrder: T } = e, { largeImage: k } = e, { isMobile: C } = e, { onEvent: F = () => {
16753
16753
  } } = e;
16754
16754
  const U = () => {
16755
- F(rt({
16755
+ F($e({
16756
16756
  type: "PressedAdvertLink",
16757
16757
  description: "The advert link was pressed to open the click-through URL in a new tab.",
16758
16758
  initiatedBy: "user"
@@ -16778,9 +16778,9 @@ function Xb(t, e, i) {
16778
16778
  F
16779
16779
  ];
16780
16780
  }
16781
- class Zb extends it {
16781
+ class Zb extends rt {
16782
16782
  constructor(e) {
16783
- super(), tt(this, e, Xb, qb, et, {
16783
+ super(), it(this, e, Xb, qb, tt, {
16784
16784
  href: 0,
16785
16785
  scale: 8,
16786
16786
  color: 9,
@@ -16845,7 +16845,7 @@ function $b(t) {
16845
16845
  let e, i, r, a;
16846
16846
  return {
16847
16847
  c() {
16848
- e = $e("svg"), i = $e("path"), Ei(
16848
+ e = et("svg"), i = et("path"), Ei(
16849
16849
  i,
16850
16850
  "fill",
16851
16851
  /*color*/
@@ -16879,7 +16879,7 @@ function eS(t) {
16879
16879
  let e, i, r, a;
16880
16880
  return {
16881
16881
  c() {
16882
- e = $e("svg"), i = $e("path"), Ei(
16882
+ e = et("svg"), i = et("path"), Ei(
16883
16883
  i,
16884
16884
  "fill",
16885
16885
  /*color*/
@@ -16941,9 +16941,9 @@ function iS(t, e, i) {
16941
16941
  "scale" in g && i(0, r = g.scale), "color" in g && i(1, a = g.color), "circular" in g && i(2, l = g.circular);
16942
16942
  }, [r, a, l];
16943
16943
  }
16944
- class af extends it {
16944
+ class af extends rt {
16945
16945
  constructor(e) {
16946
- super(), tt(this, e, iS, tS, et, { scale: 0, color: 1, circular: 2 });
16946
+ super(), it(this, e, iS, tS, tt, { scale: 0, color: 1, circular: 2 });
16947
16947
  }
16948
16948
  get scale() {
16949
16949
  return this.$$.ctx[0];
@@ -17008,7 +17008,7 @@ function aS(t) {
17008
17008
  t[1] + "px"), ps(e, "aria-label", pi("visitAdvert"));
17009
17009
  },
17010
17010
  m(p, _) {
17011
- ie(p, e, _), je(i, e, null), a = !0, l || (g = ye(
17011
+ ie(p, e, _), je(i, e, null), a = !0, l || (g = me(
17012
17012
  e,
17013
17013
  "click",
17014
17014
  /*handleClick*/
@@ -17082,7 +17082,7 @@ function lS(t, e, i) {
17082
17082
  let { href: r } = e, { scale: a = 1 } = e, { color: l = "#323232" } = e, { playerStyle: g } = e, { controlsOrder: p } = e, { onEvent: _ = () => {
17083
17083
  } } = e;
17084
17084
  const T = () => {
17085
- r && _(rt({
17085
+ r && _($e({
17086
17086
  type: "PressedAdvertButton",
17087
17087
  description: "The advert button was pressed to open the click-through URL in a new tab.",
17088
17088
  initiatedBy: "user"
@@ -17092,9 +17092,9 @@ function lS(t, e, i) {
17092
17092
  "href" in k && i(0, r = k.href), "scale" in k && i(1, a = k.scale), "color" in k && i(2, l = k.color), "playerStyle" in k && i(3, g = k.playerStyle), "controlsOrder" in k && i(4, p = k.controlsOrder), "onEvent" in k && i(6, _ = k.onEvent);
17093
17093
  }, [r, a, l, g, p, T, _];
17094
17094
  }
17095
- class uS extends it {
17095
+ class uS extends rt {
17096
17096
  constructor(e) {
17097
- super(), tt(this, e, lS, oS, et, {
17097
+ super(), it(this, e, lS, oS, tt, {
17098
17098
  href: 0,
17099
17099
  scale: 1,
17100
17100
  color: 2,
@@ -17145,7 +17145,7 @@ function fS(t) {
17145
17145
  let e, i, r, a, l, g, p, _, T;
17146
17146
  return {
17147
17147
  c() {
17148
- e = $e("svg"), i = $e("path"), r = $e("path"), a = $e("defs"), l = $e("linearGradient"), g = $e("stop"), p = $e("stop"), mi(i, "fill", "url(#gradient)"), mi(i, "d", "M4.51819 0C3.20323 0.00414605 2.06058 0.402167 1.23154 1.23171C0.401171 2.06225 0.00315099 3.20622 0 4.52301V4.55435C0.00613614 7.21612 1.61729 10.5771 4.523 13.4826C6.55223 15.5125 8.90619 16.989 11.1512 17.6401C11.9816 17.8809 12.7653 18 13.4871 18C14.8315 18 15.9609 17.5859 16.7732 16.7738C18.0215 15.5255 18.3298 13.5286 17.6401 11.1512C16.9891 8.90638 15.5126 6.55259 13.4826 4.52284C10.5769 1.61679 7.2161 0.00597031 4.55417 0H4.51819ZM11.5084 16.4099C9.46706 15.818 7.30764 14.4566 5.42849 12.577C1.70684 8.85563 0.199673 4.07507 2.13703 2.13737C2.7125 1.56207 3.53856 1.29058 4.51354 1.29058C6.82123 1.29058 9.9611 2.81235 12.5771 5.42851C14.4569 7.308 15.8176 9.46709 16.41 11.5083C16.9634 13.4166 16.7709 14.9649 15.8677 15.8681C15.302 16.4331 14.4843 16.72 13.4841 16.72C12.8859 16.72 12.222 16.6172 11.5084 16.4099Z"), mi(r, "fill", "url(#gradient)"), mi(r, "d", "M11.1483 0.360687C8.90517 1.01235 6.55252 2.48946 4.52328 4.5188C0.166276 8.87725 -1.28019 14.2587 1.23026 16.7697C2.06293 17.6026 3.21138 18 4.5339 18C7.19718 18 10.5655 16.3873 13.4767 13.4752C17.8334 9.11694 19.28 3.73601 16.7702 1.22481C15.9583 0.413305 14.8303 0 13.4865 0C12.7642 0 11.9795 0.11951 11.1483 0.360687ZM2.14341 15.856C1.24354 14.9563 1.05288 13.4115 1.60627 11.5066C2.19817 9.468 3.55852 7.31101 5.43692 5.43222C7.31433 3.55376 9.47084 2.19334 11.5085 1.60093C12.2231 1.39362 12.8867 1.29071 13.4845 1.29071C14.4808 1.29071 15.2947 1.57604 15.8566 2.13856C16.7563 3.0382 16.947 4.5832 16.3937 6.48756C15.8018 8.52586 14.4415 10.683 12.5632 12.562C9.94941 15.1771 6.8127 16.6998 4.50967 16.6998C3.53911 16.6998 2.71639 16.4293 2.14341 15.856Z"), mi(
17148
+ e = et("svg"), i = et("path"), r = et("path"), a = et("defs"), l = et("linearGradient"), g = et("stop"), p = et("stop"), mi(i, "fill", "url(#gradient)"), mi(i, "d", "M4.51819 0C3.20323 0.00414605 2.06058 0.402167 1.23154 1.23171C0.401171 2.06225 0.00315099 3.20622 0 4.52301V4.55435C0.00613614 7.21612 1.61729 10.5771 4.523 13.4826C6.55223 15.5125 8.90619 16.989 11.1512 17.6401C11.9816 17.8809 12.7653 18 13.4871 18C14.8315 18 15.9609 17.5859 16.7732 16.7738C18.0215 15.5255 18.3298 13.5286 17.6401 11.1512C16.9891 8.90638 15.5126 6.55259 13.4826 4.52284C10.5769 1.61679 7.2161 0.00597031 4.55417 0H4.51819ZM11.5084 16.4099C9.46706 15.818 7.30764 14.4566 5.42849 12.577C1.70684 8.85563 0.199673 4.07507 2.13703 2.13737C2.7125 1.56207 3.53856 1.29058 4.51354 1.29058C6.82123 1.29058 9.9611 2.81235 12.5771 5.42851C14.4569 7.308 15.8176 9.46709 16.41 11.5083C16.9634 13.4166 16.7709 14.9649 15.8677 15.8681C15.302 16.4331 14.4843 16.72 13.4841 16.72C12.8859 16.72 12.222 16.6172 11.5084 16.4099Z"), mi(r, "fill", "url(#gradient)"), mi(r, "d", "M11.1483 0.360687C8.90517 1.01235 6.55252 2.48946 4.52328 4.5188C0.166276 8.87725 -1.28019 14.2587 1.23026 16.7697C2.06293 17.6026 3.21138 18 4.5339 18C7.19718 18 10.5655 16.3873 13.4767 13.4752C17.8334 9.11694 19.28 3.73601 16.7702 1.22481C15.9583 0.413305 14.8303 0 13.4865 0C12.7642 0 11.9795 0.11951 11.1483 0.360687ZM2.14341 15.856C1.24354 14.9563 1.05288 13.4115 1.60627 11.5066C2.19817 9.468 3.55852 7.31101 5.43692 5.43222C7.31433 3.55376 9.47084 2.19334 11.5085 1.60093C12.2231 1.39362 12.8867 1.29071 13.4845 1.29071C14.4808 1.29071 15.2947 1.57604 15.8566 2.13856C16.7563 3.0382 16.947 4.5832 16.3937 6.48756C15.8018 8.52586 14.4415 10.683 12.5632 12.562C9.94941 15.1771 6.8127 16.6998 4.50967 16.6998C3.53911 16.6998 2.71639 16.4293 2.14341 15.856Z"), mi(
17149
17149
  g,
17150
17150
  "stop-color",
17151
17151
  /*color1*/
@@ -17194,9 +17194,9 @@ function hS(t, e, i) {
17194
17194
  "scale" in g && i(0, r = g.scale), "color1" in g && i(1, a = g.color1), "color2" in g && i(2, l = g.color2);
17195
17195
  }, [r, a, l];
17196
17196
  }
17197
- class gS extends it {
17197
+ class gS extends rt {
17198
17198
  constructor(e) {
17199
- super(), tt(this, e, hS, fS, et, { scale: 0, color1: 1, color2: 2 });
17199
+ super(), it(this, e, hS, fS, tt, { scale: 0, color1: 1, color2: 2 });
17200
17200
  }
17201
17201
  get scale() {
17202
17202
  return this.$$.ctx[0];
@@ -17234,7 +17234,7 @@ function pS(t) {
17234
17234
  );
17235
17235
  },
17236
17236
  m(g, p) {
17237
- ie(g, e, p), je(i, e, null), r = !0, a || (l = ye(
17237
+ ie(g, e, p), je(i, e, null), r = !0, a || (l = me(
17238
17238
  e,
17239
17239
  "click",
17240
17240
  /*handleClick*/
@@ -17270,7 +17270,7 @@ function _S(t, e, i) {
17270
17270
  let { scale: r = 1 } = e, { visible: a = !0 } = e, { onEvent: l = () => {
17271
17271
  } } = e;
17272
17272
  const g = () => {
17273
- l(rt({
17273
+ l($e({
17274
17274
  type: "PressedBeyondWords",
17275
17275
  description: "The BeyondWords logo was pressed to open the BeyondWords website in a new tab.",
17276
17276
  initiatedBy: "user"
@@ -17280,9 +17280,9 @@ function _S(t, e, i) {
17280
17280
  "scale" in p && i(0, r = p.scale), "visible" in p && i(1, a = p.visible), "onEvent" in p && i(3, l = p.onEvent);
17281
17281
  }, [r, a, g, l];
17282
17282
  }
17283
- let yS = class extends it {
17283
+ let yS = class extends rt {
17284
17284
  constructor(e) {
17285
- super(), tt(this, e, _S, pS, et, { scale: 0, visible: 1, onEvent: 3 });
17285
+ super(), it(this, e, _S, pS, tt, { scale: 0, visible: 1, onEvent: 3 });
17286
17286
  }
17287
17287
  get scale() {
17288
17288
  return this.$$.ctx[0];
@@ -17328,7 +17328,7 @@ function TS(t) {
17328
17328
  ), qs(e, "target", "_blank"), qs(e, "aria-label", pi("visitSourceArticle"));
17329
17329
  },
17330
17330
  m(g, p) {
17331
- ie(g, e, p), je(i, e, null), r = !0, a || (l = ye(
17331
+ ie(g, e, p), je(i, e, null), r = !0, a || (l = me(
17332
17332
  e,
17333
17333
  "click",
17334
17334
  /*handleClick*/
@@ -17364,7 +17364,7 @@ function kS(t, e, i) {
17364
17364
  let { href: r } = e, { scale: a = 1 } = e, { color: l = "#323232" } = e, { onEvent: g = () => {
17365
17365
  } } = e;
17366
17366
  const p = () => {
17367
- g(rt({
17367
+ g($e({
17368
17368
  type: "PressedSourceUrl",
17369
17369
  description: "The source URL button was pressed to open the source article in a new tab.",
17370
17370
  initiatedBy: "user"
@@ -17374,9 +17374,9 @@ function kS(t, e, i) {
17374
17374
  "href" in _ && i(0, r = _.href), "scale" in _ && i(1, a = _.scale), "color" in _ && i(2, l = _.color), "onEvent" in _ && i(4, g = _.onEvent);
17375
17375
  }, [r, a, l, p, g];
17376
17376
  }
17377
- class ES extends it {
17377
+ class ES extends rt {
17378
17378
  constructor(e) {
17379
- super(), tt(this, e, kS, TS, et, { href: 0, scale: 1, color: 2, onEvent: 4 });
17379
+ super(), it(this, e, kS, TS, tt, { href: 0, scale: 1, color: 2, onEvent: 4 });
17380
17380
  }
17381
17381
  get href() {
17382
17382
  return this.$$.ctx[0];
@@ -17405,7 +17405,7 @@ class ES extends it {
17405
17405
  }
17406
17406
  const wn = (t, e, i) => Ri(t, e, i, 1), dn = (t, e, i) => nt(t, e, e === "style" ? xS(i) : i), AS = /;(?!([^()]*\([^()]*\))*[^()]*\))/, xS = (t) => t.split(AS).map((e) => e + " !important").join(";");
17407
17407
  function PS(t) {
17408
- let e, i, r, a;
17408
+ let e, i, r, a, l, g;
17409
17409
  return {
17410
17410
  c() {
17411
17411
  e = N("a"), i = N("img"), rs(i.src, r = /*src*/
@@ -17440,68 +17440,87 @@ function PS(t) {
17440
17440
  t[3]
17441
17441
  ), dn(e, "aria-label", pi("visitAdvert"));
17442
17442
  },
17443
- m(l, g) {
17444
- ie(l, e, g), I(e, i);
17443
+ m(p, _) {
17444
+ ie(p, e, _), I(e, i), l || (g = me(
17445
+ e,
17446
+ "click",
17447
+ /*handleClick*/
17448
+ t[4]
17449
+ ), l = !0);
17445
17450
  },
17446
- p(l, [g]) {
17447
- g & /*src*/
17451
+ p(p, [_]) {
17452
+ _ & /*src*/
17448
17453
  1 && !rs(i.src, r = /*src*/
17449
- l[0]) && dn(i, "src", r), g & /*alt*/
17454
+ p[0]) && dn(i, "src", r), _ & /*alt*/
17450
17455
  4 && dn(
17451
17456
  i,
17452
17457
  "alt",
17453
17458
  /*alt*/
17454
- l[2]
17455
- ), g & /*size*/
17459
+ p[2]
17460
+ ), _ & /*size*/
17456
17461
  8 && wn(
17457
17462
  i,
17458
17463
  "width",
17459
17464
  /*size*/
17460
- l[3]
17461
- ), g & /*size*/
17465
+ p[3]
17466
+ ), _ & /*size*/
17462
17467
  8 && wn(
17463
17468
  i,
17464
17469
  "height",
17465
17470
  /*size*/
17466
- l[3]
17467
- ), g & /*href*/
17471
+ p[3]
17472
+ ), _ & /*href*/
17468
17473
  2 && a !== (a = /*href*/
17469
- l[1] ? (
17474
+ p[1] ? (
17470
17475
  /*href*/
17471
- l[1]
17472
- ) : null) && dn(e, "href", a), g & /*size*/
17476
+ p[1]
17477
+ ) : null) && dn(e, "href", a), _ & /*size*/
17473
17478
  8 && wn(
17474
17479
  e,
17475
17480
  "width",
17476
17481
  /*size*/
17477
- l[3]
17478
- ), g & /*size*/
17482
+ p[3]
17483
+ ), _ & /*size*/
17479
17484
  8 && wn(
17480
17485
  e,
17481
17486
  "height",
17482
17487
  /*size*/
17483
- l[3]
17488
+ p[3]
17484
17489
  );
17485
17490
  },
17486
17491
  i: Ce,
17487
17492
  o: Ce,
17488
- d(l) {
17489
- l && ee(e);
17493
+ d(p) {
17494
+ p && ee(e), l = !1, g();
17490
17495
  }
17491
17496
  };
17492
17497
  }
17493
17498
  function wS(t, e, i) {
17494
- let r, { src: a } = e, { href: l } = e, { alt: g = "Player Image" } = e, { scale: p = 1 } = e;
17495
- return t.$$set = (_) => {
17496
- "src" in _ && i(0, a = _.src), "href" in _ && i(1, l = _.href), "alt" in _ && i(2, g = _.alt), "scale" in _ && i(4, p = _.scale);
17499
+ let r, { src: a } = e, { href: l } = e, { alt: g = "Player Image" } = e, { scale: p = 1 } = e, { onEvent: _ = () => {
17500
+ } } = e;
17501
+ const T = () => {
17502
+ l && _($e({
17503
+ type: "PressedAdvertImage",
17504
+ description: "The advert image was pressed to open the click-through URL in a new tab.",
17505
+ initiatedBy: "user"
17506
+ }));
17507
+ };
17508
+ return t.$$set = (k) => {
17509
+ "src" in k && i(0, a = k.src), "href" in k && i(1, l = k.href), "alt" in k && i(2, g = k.alt), "scale" in k && i(5, p = k.scale), "onEvent" in k && i(6, _ = k.onEvent);
17497
17510
  }, t.$$.update = () => {
17498
17511
  t.$$.dirty & /*scale*/
17499
- 16 && i(3, r = `${p * 80}px`);
17500
- }, [a, l, g, r, p];
17512
+ 32 && i(3, r = `${p * 80}px`);
17513
+ }, [a, l, g, r, T, p, _];
17501
17514
  }
17502
- class CS extends it {
17515
+ class CS extends rt {
17503
17516
  constructor(e) {
17504
- super(), tt(this, e, wS, PS, et, { src: 0, href: 1, alt: 2, scale: 4 });
17517
+ super(), it(this, e, wS, PS, tt, {
17518
+ src: 0,
17519
+ href: 1,
17520
+ alt: 2,
17521
+ scale: 5,
17522
+ onEvent: 6
17523
+ });
17505
17524
  }
17506
17525
  get src() {
17507
17526
  return this.$$.ctx[0];
@@ -17522,11 +17541,17 @@ class CS extends it {
17522
17541
  this.$$set({ alt: e }), P();
17523
17542
  }
17524
17543
  get scale() {
17525
- return this.$$.ctx[4];
17544
+ return this.$$.ctx[5];
17526
17545
  }
17527
17546
  set scale(e) {
17528
17547
  this.$$set({ scale: e }), P();
17529
17548
  }
17549
+ get onEvent() {
17550
+ return this.$$.ctx[6];
17551
+ }
17552
+ set onEvent(e) {
17553
+ this.$$set({ onEvent: e }), P();
17554
+ }
17530
17555
  }
17531
17556
  const za = (t, e, i) => nt(t, e, e === "style" ? IS(i) : i), LS = /;(?!([^()]*\([^()]*\))*[^()]*\))/, IS = (t) => t.split(LS).map((e) => e + " !important").join(";");
17532
17557
  function RS(t) {
@@ -17596,9 +17621,9 @@ function DS(t, e, i) {
17596
17621
  U
17597
17622
  ];
17598
17623
  }
17599
- class of extends it {
17624
+ class of extends rt {
17600
17625
  constructor(e) {
17601
- super(), tt(this, e, DS, RS, et, {
17626
+ super(), it(this, e, DS, RS, tt, {
17602
17627
  title: 0,
17603
17628
  playerStyle: 1,
17604
17629
  scale: 4,
@@ -17758,9 +17783,9 @@ function NS(t, e, i) {
17758
17783
  r
17759
17784
  ];
17760
17785
  }
17761
- class nu extends it {
17786
+ class nu extends rt {
17762
17787
  constructor(e) {
17763
- super(), tt(this, e, NS, MS, et, {
17788
+ super(), it(this, e, NS, MS, tt, {
17764
17789
  title: 0,
17765
17790
  maxLines: 1,
17766
17791
  maxWidth: 5,
@@ -17822,7 +17847,7 @@ class nu extends it {
17822
17847
  }
17823
17848
  const uo = (t, e) => (i) => {
17824
17849
  let r;
17825
- i.key === "ArrowLeft" && (r = "Left"), i.key === "ArrowRight" && (r = "Right"), i.key === " " && (r = "Space"), i.key === "Enter" && (r = "Enter"), r && (i.preventDefault(), t(rt({
17850
+ i.key === "ArrowLeft" && (r = "Left"), i.key === "ArrowRight" && (r = "Right"), i.key === " " && (r = "Space"), i.key === "Enter" && (r = "Enter"), r && (i.preventDefault(), t($e({
17826
17851
  type: `Pressed${r}OnProgress${e}`,
17827
17852
  description: `The ${r.toLowerCase()} key was pressed while the progress ${e.toLowerCase()} was focussed.`,
17828
17853
  initiatedBy: "user"
@@ -17854,13 +17879,13 @@ function VS(t) {
17854
17879
  },
17855
17880
  m(_, T) {
17856
17881
  ie(_, e, T), I(e, i), I(e, r), I(e, a), t[8](e), g || (p = [
17857
- ye(
17882
+ me(
17858
17883
  e,
17859
17884
  "mousedown",
17860
17885
  /*handleMouseDown*/
17861
17886
  t[6]
17862
17887
  ),
17863
- ye(e, "keydown", function() {
17888
+ me(e, "keydown", function() {
17864
17889
  Ns(uo(
17865
17890
  /*onEvent*/
17866
17891
  t[3],
@@ -17871,7 +17896,7 @@ function VS(t) {
17871
17896
  "Bar"
17872
17897
  ).apply(this, arguments);
17873
17898
  }),
17874
- ye(e, "mouseup", Br)
17899
+ me(e, "mouseup", Br)
17875
17900
  ], g = !0);
17876
17901
  },
17877
17902
  p(_, [T]) {
@@ -17909,7 +17934,7 @@ function WS(t, e, i) {
17909
17934
  let r, { progress: a = 0 } = e, { fullWidth: l = !1 } = e, { readonly: g = !1 } = e, { color: p = "#323232" } = e, { onEvent: _ = () => {
17910
17935
  } } = e, T, k;
17911
17936
  const C = (H) => {
17912
- k = !0, _(rt({
17937
+ k = !0, _($e({
17913
17938
  type: "PressedProgressBar",
17914
17939
  description: "The progress bar was pressed at some ratio.",
17915
17940
  initiatedBy: "user",
@@ -17921,7 +17946,7 @@ function WS(t, e, i) {
17921
17946
  U();
17922
17947
  return;
17923
17948
  }
17924
- _(rt({
17949
+ _($e({
17925
17950
  type: "ScrubbedProgressBar",
17926
17951
  description: "The user pressed on the progress bar then dragged.",
17927
17952
  initiatedBy: "user",
@@ -17929,7 +17954,7 @@ function WS(t, e, i) {
17929
17954
  }));
17930
17955
  }
17931
17956
  }, U = () => {
17932
- k && (k = !1, _(rt({
17957
+ k && (k = !1, _($e({
17933
17958
  type: "FinishedScrubbingProgressBar",
17934
17959
  description: "The user let go after scrubbing the progress bar.",
17935
17960
  initiatedBy: "user"
@@ -17966,9 +17991,9 @@ function WS(t, e, i) {
17966
17991
  z
17967
17992
  ];
17968
17993
  }
17969
- class jS extends it {
17994
+ class jS extends rt {
17970
17995
  constructor(e) {
17971
- super(), tt(this, e, WS, VS, et, {
17996
+ super(), it(this, e, WS, VS, tt, {
17972
17997
  progress: 0,
17973
17998
  fullWidth: 1,
17974
17999
  readonly: 2,
@@ -18073,7 +18098,7 @@ function KS(t) {
18073
18098
  );
18074
18099
  return {
18075
18100
  c() {
18076
- e = N("div"), i = $e("svg"), r = $e("circle"), l = Pe(), k && k.c(), Ti(r, "cx", "50%"), Ti(r, "cy", "50%"), Ti(
18101
+ e = N("div"), i = et("svg"), r = et("circle"), l = Pe(), k && k.c(), Ti(r, "cx", "50%"), Ti(r, "cy", "50%"), Ti(
18077
18102
  r,
18078
18103
  "r",
18079
18104
  /*radius*/
@@ -18118,7 +18143,7 @@ function KS(t) {
18118
18143
  );
18119
18144
  },
18120
18145
  m(C, F) {
18121
- ie(C, e, F), I(e, i), I(i, r), I(e, l), k && k.m(e, null), g = !0, p || (_ = ye(e, "keydown", function() {
18146
+ ie(C, e, F), I(e, i), I(i, r), I(e, l), k && k.m(e, null), g = !0, p || (_ = me(e, "keydown", function() {
18122
18147
  Ns(uo(
18123
18148
  /*onEvent*/
18124
18149
  t[4],
@@ -18277,9 +18302,9 @@ function qS(t, e, i) {
18277
18302
  T
18278
18303
  ];
18279
18304
  }
18280
- class XS extends it {
18305
+ class XS extends rt {
18281
18306
  constructor(e) {
18282
- super(), tt(this, e, qS, YS, et, {
18307
+ super(), it(this, e, qS, YS, tt, {
18283
18308
  progress: 0,
18284
18309
  enabled: 1,
18285
18310
  bold: 10,
@@ -18386,9 +18411,9 @@ function eT(t, e, i) {
18386
18411
  "text" in p && i(0, r = p.text), "remaining" in p && i(1, a = p.remaining), "scale" in p && i(2, l = p.scale), "color" in p && i(3, g = p.color);
18387
18412
  }, [r, a, l, g];
18388
18413
  }
18389
- class tT extends it {
18414
+ class tT extends rt {
18390
18415
  constructor(e) {
18391
- super(), tt(this, e, eT, $S, et, {
18416
+ super(), it(this, e, eT, $S, tt, {
18392
18417
  text: 0,
18393
18418
  remaining: 1,
18394
18419
  scale: 2,
@@ -18482,9 +18507,9 @@ function aT(t, e, i) {
18482
18507
  16 && i(3, r = Math.max(1, Math.round((a || 0) / 60)));
18483
18508
  }, [l, g, p, r, a];
18484
18509
  }
18485
- class lf extends it {
18510
+ class lf extends rt {
18486
18511
  constructor(e) {
18487
- super(), tt(this, e, aT, sT, et, { duration: 4, bold: 0, scale: 1, color: 2 });
18512
+ super(), it(this, e, aT, sT, tt, { duration: 4, bold: 0, scale: 1, color: 2 });
18488
18513
  }
18489
18514
  get duration() {
18490
18515
  return this.$$.ctx[4];
@@ -18565,9 +18590,9 @@ function dT(t, e, i) {
18565
18590
  "currentTime" in p && i(0, r = p.currentTime), "duration" in p && i(1, a = p.duration), "scale" in p && i(2, l = p.scale), "color" in p && i(3, g = p.color);
18566
18591
  }, [r, a, l, g];
18567
18592
  }
18568
- class fT extends it {
18593
+ class fT extends rt {
18569
18594
  constructor(e) {
18570
- super(), tt(this, e, dT, cT, et, {
18595
+ super(), it(this, e, dT, cT, tt, {
18571
18596
  currentTime: 0,
18572
18597
  duration: 1,
18573
18598
  scale: 2,
@@ -18884,9 +18909,9 @@ function bT(t, e, i) {
18884
18909
  a
18885
18910
  ];
18886
18911
  }
18887
- class ST extends it {
18912
+ class ST extends rt {
18888
18913
  constructor(e) {
18889
- super(), tt(this, e, bT, yT, et, {
18914
+ super(), it(this, e, bT, yT, tt, {
18890
18915
  duration: 0,
18891
18916
  currentTime: 1,
18892
18917
  playerStyle: 2,
@@ -18965,7 +18990,7 @@ function ET(t) {
18965
18990
  let e, i, r, a, l, g;
18966
18991
  return {
18967
18992
  c() {
18968
- e = $e("svg"), i = $e("rect"), r = $e("path"), Gi(
18993
+ e = et("svg"), i = et("rect"), r = et("path"), Gi(
18969
18994
  i,
18970
18995
  "fill",
18971
18996
  /*fill*/
@@ -19017,9 +19042,9 @@ function AT(t, e, i) {
19017
19042
  "scale" in p && i(0, r = p.scale), "zoom" in p && i(1, a = p.zoom), "color" in p && i(2, l = p.color), "fill" in p && i(3, g = p.fill);
19018
19043
  }, [r, a, l, g];
19019
19044
  }
19020
- class uf extends it {
19045
+ class uf extends rt {
19021
19046
  constructor(e) {
19022
- super(), tt(this, e, AT, ET, et, { scale: 0, zoom: 1, color: 2, fill: 3 });
19047
+ super(), it(this, e, AT, ET, tt, { scale: 0, zoom: 1, color: 2, fill: 3 });
19023
19048
  }
19024
19049
  get scale() {
19025
19050
  return this.$$.ctx[0];
@@ -19051,7 +19076,7 @@ function wT(t) {
19051
19076
  let e, i, r, a;
19052
19077
  return {
19053
19078
  c() {
19054
- e = $e("svg"), i = $e("path"), Qr(
19079
+ e = et("svg"), i = et("path"), Qr(
19055
19080
  i,
19056
19081
  "fill",
19057
19082
  /*color*/
@@ -19089,9 +19114,9 @@ function CT(t, e, i) {
19089
19114
  "scale" in l && i(0, r = l.scale), "color" in l && i(1, a = l.color);
19090
19115
  }, [r, a];
19091
19116
  }
19092
- class LT extends it {
19117
+ class LT extends rt {
19093
19118
  constructor(e) {
19094
- super(), tt(this, e, CT, wT, et, { scale: 0, color: 1 });
19119
+ super(), it(this, e, CT, wT, tt, { scale: 0, color: 1 });
19095
19120
  }
19096
19121
  get scale() {
19097
19122
  return this.$$.ctx[0];
@@ -19127,13 +19152,13 @@ function DT(t) {
19127
19152
  },
19128
19153
  m(g, p) {
19129
19154
  ie(g, e, p), je(i, e, null), r = !0, a || (l = [
19130
- ye(
19155
+ me(
19131
19156
  e,
19132
19157
  "click",
19133
19158
  /*handleClick*/
19134
19159
  t[2]
19135
19160
  ),
19136
- ye(e, "mouseup", Br)
19161
+ me(e, "mouseup", Br)
19137
19162
  ], a = !0);
19138
19163
  },
19139
19164
  p(g, [p]) {
@@ -19161,7 +19186,7 @@ function OT(t, e, i) {
19161
19186
  let { contentIndex: r } = e, { mediaIndex: a } = e, { scale: l = 1 } = e, { color: g = "#323232" } = e, { onEvent: p = () => {
19162
19187
  } } = e;
19163
19188
  const _ = (T) => {
19164
- T.stopPropagation(), p(rt({
19189
+ T.stopPropagation(), p($e({
19165
19190
  type: "PressedDownload",
19166
19191
  description: "The download button next to a playlist item was pressed.",
19167
19192
  initiatedBy: "user",
@@ -19173,9 +19198,9 @@ function OT(t, e, i) {
19173
19198
  "contentIndex" in T && i(3, r = T.contentIndex), "mediaIndex" in T && i(4, a = T.mediaIndex), "scale" in T && i(0, l = T.scale), "color" in T && i(1, g = T.color), "onEvent" in T && i(5, p = T.onEvent);
19174
19199
  }, [l, g, _, r, a, p];
19175
19200
  }
19176
- class BT extends it {
19201
+ class BT extends rt {
19177
19202
  constructor(e) {
19178
- super(), tt(this, e, OT, DT, et, {
19203
+ super(), it(this, e, OT, DT, tt, {
19179
19204
  contentIndex: 3,
19180
19205
  mediaIndex: 4,
19181
19206
  scale: 0,
@@ -19420,7 +19445,7 @@ function Rc(t) {
19420
19445
  },
19421
19446
  m(le, be) {
19422
19447
  ie(le, e, be), ue[i].m(e, null), I(e, a), I(e, l), je(g, l, null), I(e, p), I(e, _), ge && ge.m(_, null), I(e, T), I(e, k), je(C, k, null), I(e, F), V = !0, z || (H = [
19423
- ye(
19448
+ me(
19424
19449
  e,
19425
19450
  "click",
19426
19451
  /*handleClick*/
@@ -19429,19 +19454,19 @@ function Rc(t) {
19429
19454
  t[23]
19430
19455
  )
19431
19456
  ),
19432
- ye(
19457
+ me(
19433
19458
  e,
19434
19459
  "keydown",
19435
19460
  /*handleKeydown*/
19436
19461
  t[12]
19437
19462
  ),
19438
- ye(
19463
+ me(
19439
19464
  e,
19440
19465
  "focus",
19441
19466
  /*handleFocus*/
19442
19467
  t[13]
19443
19468
  ),
19444
- ye(e, "mouseup", Br)
19469
+ me(e, "mouseup", Br)
19445
19470
  ], z = !0);
19446
19471
  },
19447
19472
  p(le, be) {
@@ -19614,7 +19639,7 @@ function VT(t) {
19614
19639
  function WT(t, e, i) {
19615
19640
  let r, a, l, g, { style: p = "auto" } = e, { downloadFormats: _ = [] } = e, { larger: T = !1 } = e, { textColor: k = "#111" } = e, { backgroundColor: C = "#f5f5f5" } = e, { iconColor: F = "#000" } = e, { content: U = [] } = e, { index: V = 0 } = e, { isMobile: z } = e, { onEvent: H } = e;
19616
19641
  const oe = (le) => () => {
19617
- H(rt({
19642
+ H($e({
19618
19643
  type: "PressedPlaylistItem",
19619
19644
  description: "A playlist item was pressed.",
19620
19645
  initiatedBy: "user",
@@ -19671,9 +19696,9 @@ function WT(t, e, i) {
19671
19696
  _
19672
19697
  ];
19673
19698
  }
19674
- class jT extends it {
19699
+ class jT extends rt {
19675
19700
  constructor(e) {
19676
- super(), tt(this, e, WT, VT, et, {
19701
+ super(), it(this, e, WT, VT, tt, {
19677
19702
  style: 15,
19678
19703
  downloadFormats: 16,
19679
19704
  larger: 0,
@@ -19766,19 +19791,19 @@ function KT(t) {
19766
19791
  },
19767
19792
  m(p, _) {
19768
19793
  ie(p, e, _), g && g.m(e, null), i = !0, r || (a = [
19769
- ye(
19794
+ me(
19770
19795
  e,
19771
19796
  "mouseenter",
19772
19797
  /*onEnter*/
19773
19798
  t[1]
19774
19799
  ),
19775
- ye(
19800
+ me(
19776
19801
  e,
19777
19802
  "mouseleave",
19778
19803
  /*onLeave*/
19779
19804
  t[2]
19780
19805
  ),
19781
- ye(e, "mousemove", function() {
19806
+ me(e, "mousemove", function() {
19782
19807
  Ns(
19783
19808
  /*idleDelay*/
19784
19809
  t[0] !== 1 / 0 && /*onMove*/
@@ -19850,9 +19875,9 @@ function YT(t, e, i) {
19850
19875
  r
19851
19876
  ];
19852
19877
  }
19853
- class qT extends it {
19878
+ class qT extends rt {
19854
19879
  constructor(e) {
19855
- super(), tt(this, e, YT, KT, et, {
19880
+ super(), it(this, e, YT, KT, tt, {
19856
19881
  exitDelay: 5,
19857
19882
  idleDelay: 0,
19858
19883
  isHovering: 4
@@ -19933,7 +19958,7 @@ function $T(t, e, i) {
19933
19958
  let { $$slots: r = {}, $$scope: a } = e, l, { enabled: g = !1 } = e, { relativeY: p = void 0 } = e, { absoluteY: _ = void 0 } = e, { isVisible: T = void 0 } = e, { onEvent: k = () => {
19934
19959
  } } = e;
19935
19960
  const C = ([U]) => {
19936
- i(1, p = U.boundingClientRect.y), i(2, _ = p + window.scrollY), T !== U.isIntersecting && (i(3, T = U.isIntersecting), k(rt({
19961
+ i(1, p = U.boundingClientRect.y), i(2, _ = p + window.scrollY), T !== U.isIntersecting && (i(3, T = U.isIntersecting), k($e({
19937
19962
  type: "VisibilityChanged",
19938
19963
  description: "The player was scrolled into or out of view.",
19939
19964
  initiatedBy: "user",
@@ -19972,9 +19997,9 @@ function $T(t, e, i) {
19972
19997
  F
19973
19998
  ];
19974
19999
  }
19975
- class ek extends it {
20000
+ class ek extends rt {
19976
20001
  constructor(e) {
19977
- super(), tt(this, e, $T, QT, et, {
20002
+ super(), it(this, e, $T, QT, tt, {
19978
20003
  enabled: 4,
19979
20004
  relativeY: 1,
19980
20005
  absoluteY: 2,
@@ -20088,7 +20113,7 @@ function Oc(t) {
20088
20113
  e,
20089
20114
  /*div_elementresize_handler*/
20090
20115
  t[75].bind(e)
20091
- ), _ = !0, T || (k = ye(
20116
+ ), _ = !0, T || (k = me(
20092
20117
  e,
20093
20118
  "outrostart",
20094
20119
  /*animate*/
@@ -20206,6 +20231,10 @@ function Mc(t) {
20206
20231
  let e, i;
20207
20232
  return e = new CS({
20208
20233
  props: {
20234
+ onEvent: (
20235
+ /*onEvent*/
20236
+ t[15]
20237
+ ),
20209
20238
  src: (
20210
20239
  /*largeImage*/
20211
20240
  t[42]
@@ -20229,7 +20258,9 @@ function Mc(t) {
20229
20258
  },
20230
20259
  p(r, a) {
20231
20260
  const l = {};
20232
- a[1] & /*largeImage*/
20261
+ a[0] & /*onEvent*/
20262
+ 32768 && (l.onEvent = /*onEvent*/
20263
+ r[15]), a[1] & /*largeImage*/
20233
20264
  2048 && (l.src = /*largeImage*/
20234
20265
  r[42]), a[1] & /*largeImageHref*/
20235
20266
  1024 && (l.href = /*largeImageHref*/
@@ -21536,13 +21567,13 @@ function pk(t) {
21536
21567
  },
21537
21568
  m(te, ve) {
21538
21569
  $ && $.m(te, ve), ie(te, e, ve), ie(te, i, ve), L && L.m(i, null), I(i, r), ae && ae.m(i, null), I(i, a), W && W.m(i, null), I(i, l), I(i, g), je(p, g, null), I(g, C), K && K.m(g, null), I(g, F), Z && Z.m(g, null), I(g, U), B && B.m(g, null), I(g, V), je(z, g, null), I(g, H), Ke && Ke.m(g, null), I(g, oe), Me && Me.m(g, null), I(g, ue), xe && xe.m(g, null), I(i, he), Fe && Fe.m(i, null), ge = !0, le || (be = [
21539
- ye(
21570
+ me(
21540
21571
  i,
21541
21572
  "mousedown",
21542
21573
  /*handleMouseDown*/
21543
21574
  t[58]
21544
21575
  ),
21545
- ye(i, "keyup", null)
21576
+ me(i, "keyup", null)
21546
21577
  ], le = !0);
21547
21578
  },
21548
21579
  p(te, ve) {
@@ -21814,30 +21845,30 @@ function yk(t, e, i) {
21814
21845
  } } = e, { videoIsBehind: Wt = !1 } = e, { isVisible: ei = void 0 } = e, { relativeY: Xt = void 0 } = e, { absoluteY: ti = void 0 } = e, ui, Ct, at;
21815
21846
  const ii = () => {
21816
21847
  at && clearTimeout(at), i(34, at = setTimeout(() => i(34, at = null), 500));
21817
- }, De = (me) => {
21818
- !p || !(me.button === 0) || !me.target.classList.contains("main") || Dt(rt({
21848
+ }, De = (pe) => {
21849
+ !p || !(pe.button === 0) || !pe.target.classList.contains("main") || Dt($e({
21819
21850
  type: "PressedVideoBackground",
21820
21851
  description: "The video background was pressed.",
21821
21852
  initiatedBy: "user"
21822
21853
  }));
21823
21854
  };
21824
- function ci(me) {
21825
- ei = me, i(0, ei);
21855
+ function ci(pe) {
21856
+ ei = pe, i(0, ei);
21826
21857
  }
21827
- function zt(me) {
21828
- Xt = me, i(1, Xt);
21858
+ function zt(pe) {
21859
+ Xt = pe, i(1, Xt);
21829
21860
  }
21830
- function Ze(me) {
21831
- ti = me, i(2, ti);
21861
+ function Ze(pe) {
21862
+ ti = pe, i(2, ti);
21832
21863
  }
21833
- function bi(me) {
21834
- Ct = me, i(18, Ct);
21864
+ function bi(pe) {
21865
+ Ct = pe, i(18, Ct);
21835
21866
  }
21836
21867
  function Mt() {
21837
21868
  ui = this.clientWidth, i(17, ui);
21838
21869
  }
21839
- return t.$$set = (me) => {
21840
- "playerStyle" in me && i(3, Ye = me.playerStyle), "callToAction" in me && i(4, wt = me.callToAction), "skipButtonStyle" in me && i(59, Tt = me.skipButtonStyle), "playlistStyle" in me && i(5, qt = me.playlistStyle), "playlistToggle" in me && i(60, yt = me.playlistToggle), "downloadFormats" in me && i(6, Ut = me.downloadFormats), "playerTitle" in me && i(7, Vt = me.playerTitle), "fixedPosition" in me && i(8, lt = me.fixedPosition), "fixedWidth" in me && i(61, kt = me.fixedWidth), "content" in me && i(9, Se = me.content), "contentIndex" in me && i(10, gt = me.contentIndex), "duration" in me && i(11, $t = me.duration), "currentTime" in me && i(12, Gt = me.currentTime), "playbackState" in me && i(62, Ot = me.playbackState), "playbackRate" in me && i(13, bt = me.playbackRate), "activeAdvert" in me && i(14, st = me.activeAdvert), "persistentAdvert" in me && i(63, Bt = me.persistentAdvert), "textColor" in me && i(64, si = me.textColor), "backgroundColor" in me && i(65, ai = me.backgroundColor), "iconColor" in me && i(66, It = me.iconColor), "logoIconEnabled" in me && i(67, Rt = me.logoIconEnabled), "onEvent" in me && i(15, Dt = me.onEvent), "videoIsBehind" in me && i(16, Wt = me.videoIsBehind), "isVisible" in me && i(0, ei = me.isVisible), "relativeY" in me && i(1, Xt = me.relativeY), "absoluteY" in me && i(2, ti = me.absoluteY);
21870
+ return t.$$set = (pe) => {
21871
+ "playerStyle" in pe && i(3, Ye = pe.playerStyle), "callToAction" in pe && i(4, wt = pe.callToAction), "skipButtonStyle" in pe && i(59, Tt = pe.skipButtonStyle), "playlistStyle" in pe && i(5, qt = pe.playlistStyle), "playlistToggle" in pe && i(60, yt = pe.playlistToggle), "downloadFormats" in pe && i(6, Ut = pe.downloadFormats), "playerTitle" in pe && i(7, Vt = pe.playerTitle), "fixedPosition" in pe && i(8, lt = pe.fixedPosition), "fixedWidth" in pe && i(61, kt = pe.fixedWidth), "content" in pe && i(9, Se = pe.content), "contentIndex" in pe && i(10, gt = pe.contentIndex), "duration" in pe && i(11, $t = pe.duration), "currentTime" in pe && i(12, Gt = pe.currentTime), "playbackState" in pe && i(62, Ot = pe.playbackState), "playbackRate" in pe && i(13, bt = pe.playbackRate), "activeAdvert" in pe && i(14, st = pe.activeAdvert), "persistentAdvert" in pe && i(63, Bt = pe.persistentAdvert), "textColor" in pe && i(64, si = pe.textColor), "backgroundColor" in pe && i(65, ai = pe.backgroundColor), "iconColor" in pe && i(66, It = pe.iconColor), "logoIconEnabled" in pe && i(67, Rt = pe.logoIconEnabled), "onEvent" in pe && i(15, Dt = pe.onEvent), "videoIsBehind" in pe && i(16, Wt = pe.videoIsBehind), "isVisible" in pe && i(0, ei = pe.isVisible), "relativeY" in pe && i(1, Xt = pe.relativeY), "absoluteY" in pe && i(2, ti = pe.absoluteY);
21841
21872
  }, t.$$.update = () => {
21842
21873
  t.$$.dirty[0] & /*playerStyle*/
21843
21874
  8 && i(22, r = Ye === "small"), t.$$.dirty[0] & /*playerStyle*/
@@ -21875,7 +21906,7 @@ function yk(t, e, i) {
21875
21906
  67109120 && i(70, Xe = lt === "auto" ? a ? "center" : "right" : lt), t.$$.dirty[0] & /*fixedPosition*/
21876
21907
  256 | t.$$.dirty[2] & /*position*/
21877
21908
  256 && i(21, we = lt ? `fixed fixed-${Xe}` : ""), t.$$.dirty[0] & /*fixedPosition, isSmall, isStandard*/
21878
- 71303424 && i(44, Ie = (me) => lt && Dy(me, { y: r || a ? 40 : 100 })), t.$$.dirty[0] & /*playerStyle, isMobile, isAdvert*/
21909
+ 71303424 && i(44, Ie = (pe) => lt && Dy(pe, { y: r || a ? 40 : 100 })), t.$$.dirty[0] & /*playerStyle, isMobile, isAdvert*/
21879
21910
  1107296264 | t.$$.dirty[2] & /*position*/
21880
21911
  256 && i(20, Oe = ik({
21881
21912
  playerStyle: Ye,
@@ -21984,14 +22015,14 @@ function yk(t, e, i) {
21984
22015
  Mt
21985
22016
  ];
21986
22017
  }
21987
- class su extends it {
22018
+ class su extends rt {
21988
22019
  constructor(e) {
21989
- super(), tt(
22020
+ super(), it(
21990
22021
  this,
21991
22022
  e,
21992
22023
  yk,
21993
22024
  _k,
21994
- et,
22025
+ tt,
21995
22026
  {
21996
22027
  playerStyle: 3,
21997
22028
  callToAction: 4,
@@ -22250,9 +22281,9 @@ function Ek(t, e, i) {
22250
22281
  4 && ((T = r == null ? void 0 : r.classList) == null || T.add("beyondwords-widget", "bwp"));
22251
22282
  }, [p, g, r, l, a, _];
22252
22283
  }
22253
- class au extends it {
22284
+ class au extends rt {
22254
22285
  constructor(e) {
22255
- super(), tt(this, e, Ek, kk, et, { root: 1 });
22286
+ super(), it(this, e, Ek, kk, tt, { root: 1 });
22256
22287
  }
22257
22288
  get root() {
22258
22289
  return this.$$.ctx[1];
@@ -22328,7 +22359,7 @@ function wk(t) {
22328
22359
  };
22329
22360
  }
22330
22361
  function $c(t) {
22331
- let e, i, r, a, l, g, p, _, T, k, C, F, U, V, z, H, oe, ue, he, ge, le, be, $, L, ae, W, Xe, we, Ie, Oe, K, Z, B, Ke, Me, xe, Fe, te, ve, ft, Ee, Le, Ye, wt, Tt, qt, yt, Ut, Vt, lt, kt, Se, gt, $t, Gt, Ot, bt, st, Bt, si, ai, It, Rt, Dt, Wt, ei, Xt, ti, ui, Ct, at, ii, De, ci, zt, Ze, bi, Mt, me, di, fi, _i, hi, Ai, Ue, Y, J, Ne, Mr, Di, Nr, ri, lr, Ki, Yi, Oi, tr, _r, xi, Pi, ir, yr, Bi, yi, Mi, wi = (
22362
+ let e, i, r, a, l, g, p, _, T, k, C, F, U, V, z, H, oe, ue, he, ge, le, be, $, L, ae, W, Xe, we, Ie, Oe, K, Z, B, Ke, Me, xe, Fe, te, ve, ft, Ee, Le, Ye, wt, Tt, qt, yt, Ut, Vt, lt, kt, Se, gt, $t, Gt, Ot, bt, st, Bt, si, ai, It, Rt, Dt, Wt, ei, Xt, ti, ui, Ct, at, ii, De, ci, zt, Ze, bi, Mt, pe, di, fi, _i, hi, Ai, Ue, Y, J, Ne, Mr, Di, Nr, ri, lr, Ki, Yi, Oi, tr, _r, xi, Pi, ir, yr, Bi, yi, Mi, wi = (
22332
22363
  /*content*/
22333
22364
  t[39]
22334
22365
  ), Ht = [];
@@ -22373,7 +22404,7 @@ function $c(t) {
22373
22404
  `), Xt = N("input"), ti = Pe(), ui = N("div"), Ct = Re(`playbackRate:
22374
22405
  `), at = N("input"), ii = Pe(), De = N("div"), ci = Re(`widgetTarget:
22375
22406
  `), zt = N("input"), Ze = Pe(), bi = N("div"), Mt = Re(`logoIconEnabled:
22376
- `), me = N("select"), di = N("option"), di.textContent = `${!1}`, fi = N("option"), fi.textContent = `${!0}`, _i = Pe(), hi = N("div"), Ai = Re(`advertConsent:
22407
+ `), pe = N("select"), di = N("option"), di.textContent = `${!1}`, fi = N("option"), fi.textContent = `${!0}`, _i = Pe(), hi = N("div"), Ai = Re(`advertConsent:
22377
22408
  `), Ue = N("select"), Y = N("option"), Y.textContent = "personalized", J = N("option"), J.textContent = "non-personalized", Ne = N("option"), Ne.textContent = "under-the-age-of-consent", Mr = Pe(), Di = N("div"), Nr = Re(`analyticsConsent:
22378
22409
  `), ri = N("select"), lr = N("option"), lr.textContent = "allowed", Ki = N("option"), Ki.textContent = "without-local-storage", Yi = N("option"), Yi.textContent = "none", Oi = Pe(), tr = N("div"), _r = Re(`analyticsCustomUrl:
22379
22410
  `), xi = N("input"), Pi = Pe(), ir = N("div"), yr = Re(`analyticsTag:
@@ -22401,10 +22432,10 @@ function $c(t) {
22401
22432
  t[17] === void 0 && Ft(() => (
22402
22433
  /*select5_change_handler_1*/
22403
22434
  t[72].call(st)
22404
- )), Q(Ot, "class", "control svelte-g76q0j"), Q(Rt, "tabindex", -1), Q(Rt, "type", "text"), Q(Rt, "class", "svelte-g76q0j"), Q(ai, "class", "control svelte-g76q0j"), Q(Xt, "tabindex", -1), Q(Xt, "type", "text"), Q(Xt, "class", "svelte-g76q0j"), Q(Wt, "class", "control svelte-g76q0j"), Q(at, "tabindex", -1), Q(at, "type", "text"), Q(at, "class", "svelte-g76q0j"), Q(ui, "class", "control svelte-g76q0j"), Q(zt, "tabindex", -1), Q(zt, "type", "text"), Q(zt, "class", "svelte-g76q0j"), Q(De, "class", "control svelte-g76q0j"), di.__value = !1, di.value = di.__value, fi.__value = !0, fi.value = fi.__value, Q(me, "tabindex", -1), Q(me, "class", "svelte-g76q0j"), /*logoIconEnabled*/
22435
+ )), Q(Ot, "class", "control svelte-g76q0j"), Q(Rt, "tabindex", -1), Q(Rt, "type", "text"), Q(Rt, "class", "svelte-g76q0j"), Q(ai, "class", "control svelte-g76q0j"), Q(Xt, "tabindex", -1), Q(Xt, "type", "text"), Q(Xt, "class", "svelte-g76q0j"), Q(Wt, "class", "control svelte-g76q0j"), Q(at, "tabindex", -1), Q(at, "type", "text"), Q(at, "class", "svelte-g76q0j"), Q(ui, "class", "control svelte-g76q0j"), Q(zt, "tabindex", -1), Q(zt, "type", "text"), Q(zt, "class", "svelte-g76q0j"), Q(De, "class", "control svelte-g76q0j"), di.__value = !1, di.value = di.__value, fi.__value = !0, fi.value = fi.__value, Q(pe, "tabindex", -1), Q(pe, "class", "svelte-g76q0j"), /*logoIconEnabled*/
22405
22436
  t[30] === void 0 && Ft(() => (
22406
22437
  /*select6_change_handler_1*/
22407
- t[77].call(me)
22438
+ t[77].call(pe)
22408
22439
  )), Q(bi, "class", "control svelte-g76q0j"), Y.__value = "personalized", Y.value = Y.__value, J.__value = "non-personalized", J.value = J.__value, Ne.__value = "under-the-age-of-consent", Ne.value = Ne.__value, Q(Ue, "tabindex", -1), Q(Ue, "class", "svelte-g76q0j"), /*advertConsent*/
22409
22440
  t[35] === void 0 && Ft(() => (
22410
22441
  /*select7_change_handler_1*/
@@ -22415,221 +22446,221 @@ function $c(t) {
22415
22446
  t[79].call(ri)
22416
22447
  )), Q(Di, "class", "control svelte-g76q0j"), Q(xi, "tabindex", -1), Q(xi, "type", "text"), Q(xi, "class", "svelte-g76q0j"), Q(tr, "class", "control svelte-g76q0j"), Q(Bi, "tabindex", -1), Q(Bi, "type", "text"), Q(Bi, "class", "svelte-g76q0j"), Q(ir, "class", "control svelte-g76q0j");
22417
22448
  },
22418
- m(j, pe) {
22419
- ie(j, e, pe), ie(j, i, pe), ie(j, r, pe), ie(j, a, pe), ie(j, l, pe), ie(j, g, pe), ie(j, p, pe), ie(j, _, pe), I(_, T), I(_, k), St(
22449
+ m(j, _e) {
22450
+ ie(j, e, _e), ie(j, i, _e), ie(j, r, _e), ie(j, a, _e), ie(j, l, _e), ie(j, g, _e), ie(j, p, _e), ie(j, _, _e), I(_, T), I(_, k), St(
22420
22451
  k,
22421
22452
  /*projectId*/
22422
22453
  t[0]
22423
- ), ie(j, C, pe), ie(j, F, pe), I(F, U), I(F, V), St(
22454
+ ), ie(j, C, _e), ie(j, F, _e), I(F, U), I(F, V), St(
22424
22455
  V,
22425
22456
  /*contentId*/
22426
22457
  t[1]
22427
- ), ie(j, z, pe), ie(j, H, pe), I(H, oe), I(H, ue), St(
22458
+ ), ie(j, z, _e), ie(j, H, _e), I(H, oe), I(H, ue), St(
22428
22459
  ue,
22429
22460
  /*playlistId*/
22430
22461
  t[2]
22431
- ), ie(j, he, pe), ie(j, ge, pe), I(ge, le), I(ge, be), St(
22462
+ ), ie(j, he, _e), ie(j, ge, _e), I(ge, le), I(ge, be), St(
22432
22463
  be,
22433
22464
  /*sourceId*/
22434
22465
  t[3]
22435
- ), ie(j, $, pe), ie(j, L, pe), I(L, ae), I(L, W), St(
22466
+ ), ie(j, $, _e), ie(j, L, _e), I(L, ae), I(L, W), St(
22436
22467
  W,
22437
22468
  /*sourceUrl*/
22438
22469
  t[4]
22439
- ), ie(j, Xe, pe), ie(j, we, pe), I(we, Ie), I(we, Oe), I(Oe, K), I(Oe, Z), ut(
22470
+ ), ie(j, Xe, _e), ie(j, we, _e), I(we, Ie), I(we, Oe), I(Oe, K), I(Oe, Z), ut(
22440
22471
  Oe,
22441
22472
  /*showUserInterface*/
22442
22473
  t[5],
22443
22474
  !0
22444
- ), ie(j, B, pe), ie(j, Ke, pe), I(Ke, Me), I(Ke, xe), I(xe, Fe), I(xe, te), I(xe, ve), ut(
22475
+ ), ie(j, B, _e), ie(j, Ke, _e), I(Ke, Me), I(Ke, xe), I(xe, Fe), I(xe, te), I(xe, ve), ut(
22445
22476
  xe,
22446
22477
  /*mediaSession*/
22447
22478
  t[12],
22448
22479
  !0
22449
- ), ie(j, ft, pe), ie(j, Ee, pe), I(Ee, Le), I(Ee, Ye);
22450
- for (let _e = 0; _e < Ht.length; _e += 1)
22451
- Ht[_e] && Ht[_e].m(Ye, null);
22480
+ ), ie(j, ft, _e), ie(j, Ee, _e), I(Ee, Le), I(Ee, Ye);
22481
+ for (let ye = 0; ye < Ht.length; ye += 1)
22482
+ Ht[ye] && Ht[ye].m(Ye, null);
22452
22483
  ut(
22453
22484
  Ye,
22454
22485
  /*contentIndex*/
22455
22486
  t[13],
22456
22487
  !0
22457
- ), ie(j, wt, pe), ie(j, Tt, pe), I(Tt, qt), I(Tt, yt), I(yt, Ut);
22458
- for (let _e = 0; _e < Kt.length; _e += 1)
22459
- Kt[_e] && Kt[_e].m(yt, null);
22488
+ ), ie(j, wt, _e), ie(j, Tt, _e), I(Tt, qt), I(Tt, yt), I(yt, Ut);
22489
+ for (let ye = 0; ye < Kt.length; ye += 1)
22490
+ Kt[ye] && Kt[ye].m(yt, null);
22460
22491
  ut(
22461
22492
  yt,
22462
22493
  /*introsOutrosIndex*/
22463
22494
  t[14],
22464
22495
  !0
22465
- ), ie(j, Vt, pe), ie(j, lt, pe), I(lt, kt), I(lt, Se), I(Se, gt), I(Se, $t), ut(
22496
+ ), ie(j, Vt, _e), ie(j, lt, _e), I(lt, kt), I(lt, Se), I(Se, gt), I(Se, $t), ut(
22466
22497
  Se,
22467
22498
  /*persistentAdImage*/
22468
22499
  t[16],
22469
22500
  !0
22470
- ), ie(j, Gt, pe), ie(j, Ot, pe), I(Ot, bt), I(Ot, st), I(st, Bt);
22471
- for (let _e = 0; _e < Zt.length; _e += 1)
22472
- Zt[_e] && Zt[_e].m(st, null);
22501
+ ), ie(j, Gt, _e), ie(j, Ot, _e), I(Ot, bt), I(Ot, st), I(st, Bt);
22502
+ for (let ye = 0; ye < Zt.length; ye += 1)
22503
+ Zt[ye] && Zt[ye].m(st, null);
22473
22504
  ut(
22474
22505
  st,
22475
22506
  /*persistentIndex*/
22476
22507
  t[17],
22477
22508
  !0
22478
- ), ie(j, si, pe), ie(j, ai, pe), I(ai, It), I(ai, Rt), St(
22509
+ ), ie(j, si, _e), ie(j, ai, _e), I(ai, It), I(ai, Rt), St(
22479
22510
  Rt,
22480
22511
  /*duration*/
22481
22512
  t[18]
22482
- ), ie(j, Dt, pe), ie(j, Wt, pe), I(Wt, ei), I(Wt, Xt), St(
22513
+ ), ie(j, Dt, _e), ie(j, Wt, _e), I(Wt, ei), I(Wt, Xt), St(
22483
22514
  Xt,
22484
22515
  /*currentTime*/
22485
22516
  t[19]
22486
- ), ie(j, ti, pe), ie(j, ui, pe), I(ui, Ct), I(ui, at), St(
22517
+ ), ie(j, ti, _e), ie(j, ui, _e), I(ui, Ct), I(ui, at), St(
22487
22518
  at,
22488
22519
  /*playbackRate*/
22489
22520
  t[21]
22490
- ), ie(j, ii, pe), ie(j, De, pe), I(De, ci), I(De, zt), St(
22521
+ ), ie(j, ii, _e), ie(j, De, _e), I(De, ci), I(De, zt), St(
22491
22522
  zt,
22492
22523
  /*widgetTarget*/
22493
22524
  t[25]
22494
- ), ie(j, Ze, pe), ie(j, bi, pe), I(bi, Mt), I(bi, me), I(me, di), I(me, fi), ut(
22495
- me,
22525
+ ), ie(j, Ze, _e), ie(j, bi, _e), I(bi, Mt), I(bi, pe), I(pe, di), I(pe, fi), ut(
22526
+ pe,
22496
22527
  /*logoIconEnabled*/
22497
22528
  t[30],
22498
22529
  !0
22499
- ), ie(j, _i, pe), ie(j, hi, pe), I(hi, Ai), I(hi, Ue), I(Ue, Y), I(Ue, J), I(Ue, Ne), ut(
22530
+ ), ie(j, _i, _e), ie(j, hi, _e), I(hi, Ai), I(hi, Ue), I(Ue, Y), I(Ue, J), I(Ue, Ne), ut(
22500
22531
  Ue,
22501
22532
  /*advertConsent*/
22502
22533
  t[35],
22503
22534
  !0
22504
- ), ie(j, Mr, pe), ie(j, Di, pe), I(Di, Nr), I(Di, ri), I(ri, lr), I(ri, Ki), I(ri, Yi), ut(
22535
+ ), ie(j, Mr, _e), ie(j, Di, _e), I(Di, Nr), I(Di, ri), I(ri, lr), I(ri, Ki), I(ri, Yi), ut(
22505
22536
  ri,
22506
22537
  /*analyticsConsent*/
22507
22538
  t[36],
22508
22539
  !0
22509
- ), ie(j, Oi, pe), ie(j, tr, pe), I(tr, _r), I(tr, xi), St(
22540
+ ), ie(j, Oi, _e), ie(j, tr, _e), I(tr, _r), I(tr, xi), St(
22510
22541
  xi,
22511
22542
  /*analyticsCustomUrl*/
22512
22543
  t[37]
22513
- ), ie(j, Pi, pe), ie(j, ir, pe), I(ir, yr), I(ir, Bi), St(
22544
+ ), ie(j, Pi, _e), ie(j, ir, _e), I(ir, yr), I(ir, Bi), St(
22514
22545
  Bi,
22515
22546
  /*analyticsTag*/
22516
22547
  t[38]
22517
22548
  ), yi || (Mi = [
22518
- ye(
22549
+ me(
22519
22550
  k,
22520
22551
  "input",
22521
22552
  /*input0_input_handler_1*/
22522
22553
  t[62]
22523
22554
  ),
22524
- ye(
22555
+ me(
22525
22556
  V,
22526
22557
  "input",
22527
22558
  /*input1_input_handler_1*/
22528
22559
  t[63]
22529
22560
  ),
22530
- ye(
22561
+ me(
22531
22562
  ue,
22532
22563
  "input",
22533
22564
  /*input2_input_handler_1*/
22534
22565
  t[64]
22535
22566
  ),
22536
- ye(
22567
+ me(
22537
22568
  be,
22538
22569
  "input",
22539
22570
  /*input3_input_handler_1*/
22540
22571
  t[65]
22541
22572
  ),
22542
- ye(
22573
+ me(
22543
22574
  W,
22544
22575
  "input",
22545
22576
  /*input4_input_handler_1*/
22546
22577
  t[66]
22547
22578
  ),
22548
- ye(
22579
+ me(
22549
22580
  Oe,
22550
22581
  "change",
22551
22582
  /*select0_change_handler_1*/
22552
22583
  t[67]
22553
22584
  ),
22554
- ye(
22585
+ me(
22555
22586
  xe,
22556
22587
  "change",
22557
22588
  /*select1_change_handler_1*/
22558
22589
  t[68]
22559
22590
  ),
22560
- ye(
22591
+ me(
22561
22592
  Ye,
22562
22593
  "change",
22563
22594
  /*select2_change_handler_1*/
22564
22595
  t[69]
22565
22596
  ),
22566
- ye(
22597
+ me(
22567
22598
  yt,
22568
22599
  "change",
22569
22600
  /*select3_change_handler_1*/
22570
22601
  t[70]
22571
22602
  ),
22572
- ye(
22603
+ me(
22573
22604
  Se,
22574
22605
  "change",
22575
22606
  /*select4_change_handler_1*/
22576
22607
  t[71]
22577
22608
  ),
22578
- ye(
22609
+ me(
22579
22610
  st,
22580
22611
  "change",
22581
22612
  /*select5_change_handler_1*/
22582
22613
  t[72]
22583
22614
  ),
22584
- ye(
22615
+ me(
22585
22616
  Rt,
22586
22617
  "input",
22587
22618
  /*input5_input_handler_1*/
22588
22619
  t[73]
22589
22620
  ),
22590
- ye(
22621
+ me(
22591
22622
  Xt,
22592
22623
  "input",
22593
22624
  /*input6_input_handler*/
22594
22625
  t[74]
22595
22626
  ),
22596
- ye(
22627
+ me(
22597
22628
  at,
22598
22629
  "input",
22599
22630
  /*input7_input_handler*/
22600
22631
  t[75]
22601
22632
  ),
22602
- ye(
22633
+ me(
22603
22634
  zt,
22604
22635
  "input",
22605
22636
  /*input8_input_handler*/
22606
22637
  t[76]
22607
22638
  ),
22608
- ye(
22609
- me,
22639
+ me(
22640
+ pe,
22610
22641
  "change",
22611
22642
  /*select6_change_handler_1*/
22612
22643
  t[77]
22613
22644
  ),
22614
- ye(
22645
+ me(
22615
22646
  Ue,
22616
22647
  "change",
22617
22648
  /*select7_change_handler_1*/
22618
22649
  t[78]
22619
22650
  ),
22620
- ye(
22651
+ me(
22621
22652
  ri,
22622
22653
  "change",
22623
22654
  /*select8_change_handler_1*/
22624
22655
  t[79]
22625
22656
  ),
22626
- ye(
22657
+ me(
22627
22658
  xi,
22628
22659
  "input",
22629
22660
  /*input9_input_handler*/
22630
22661
  t[80]
22631
22662
  ),
22632
- ye(
22663
+ me(
22633
22664
  Bi,
22634
22665
  "input",
22635
22666
  /*input10_input_handler*/
@@ -22637,152 +22668,152 @@ function $c(t) {
22637
22668
  )
22638
22669
  ], yi = !0);
22639
22670
  },
22640
- p(j, pe) {
22641
- if (pe[0] & /*projectId*/
22671
+ p(j, _e) {
22672
+ if (_e[0] & /*projectId*/
22642
22673
  1 && k.value !== /*projectId*/
22643
22674
  j[0] && St(
22644
22675
  k,
22645
22676
  /*projectId*/
22646
22677
  j[0]
22647
- ), pe[0] & /*contentId*/
22678
+ ), _e[0] & /*contentId*/
22648
22679
  2 && V.value !== /*contentId*/
22649
22680
  j[1] && St(
22650
22681
  V,
22651
22682
  /*contentId*/
22652
22683
  j[1]
22653
- ), pe[0] & /*playlistId*/
22684
+ ), _e[0] & /*playlistId*/
22654
22685
  4 && ue.value !== /*playlistId*/
22655
22686
  j[2] && St(
22656
22687
  ue,
22657
22688
  /*playlistId*/
22658
22689
  j[2]
22659
- ), pe[0] & /*sourceId*/
22690
+ ), _e[0] & /*sourceId*/
22660
22691
  8 && be.value !== /*sourceId*/
22661
22692
  j[3] && St(
22662
22693
  be,
22663
22694
  /*sourceId*/
22664
22695
  j[3]
22665
- ), pe[0] & /*sourceUrl*/
22696
+ ), _e[0] & /*sourceUrl*/
22666
22697
  16 && W.value !== /*sourceUrl*/
22667
22698
  j[4] && St(
22668
22699
  W,
22669
22700
  /*sourceUrl*/
22670
22701
  j[4]
22671
- ), pe[0] & /*showUserInterface*/
22702
+ ), _e[0] & /*showUserInterface*/
22672
22703
  32 && ut(
22673
22704
  Oe,
22674
22705
  /*showUserInterface*/
22675
22706
  j[5]
22676
- ), pe[0] & /*mediaSession*/
22707
+ ), _e[0] & /*mediaSession*/
22677
22708
  4096 && ut(
22678
22709
  xe,
22679
22710
  /*mediaSession*/
22680
22711
  j[12]
22681
- ), pe[1] & /*content*/
22712
+ ), _e[1] & /*content*/
22682
22713
  256) {
22683
22714
  wi = /*content*/
22684
22715
  j[39];
22685
- let _e;
22686
- for (_e = 0; _e < wi.length; _e += 1) {
22687
- const ot = Zc(j, wi, _e);
22688
- Ht[_e] ? Ht[_e].p(ot, pe) : (Ht[_e] = ed(ot), Ht[_e].c(), Ht[_e].m(Ye, null));
22716
+ let ye;
22717
+ for (ye = 0; ye < wi.length; ye += 1) {
22718
+ const ot = Zc(j, wi, ye);
22719
+ Ht[ye] ? Ht[ye].p(ot, _e) : (Ht[ye] = ed(ot), Ht[ye].c(), Ht[ye].m(Ye, null));
22689
22720
  }
22690
- for (; _e < Ht.length; _e += 1)
22691
- Ht[_e].d(1);
22721
+ for (; ye < Ht.length; ye += 1)
22722
+ Ht[ye].d(1);
22692
22723
  Ht.length = wi.length;
22693
22724
  }
22694
- if (pe[0] & /*contentIndex*/
22725
+ if (_e[0] & /*contentIndex*/
22695
22726
  8192 && ut(
22696
22727
  Ye,
22697
22728
  /*contentIndex*/
22698
22729
  j[13]
22699
- ), pe[1] & /*introsOutros*/
22730
+ ), _e[1] & /*introsOutros*/
22700
22731
  512) {
22701
22732
  Ni = /*introsOutros*/
22702
22733
  j[40];
22703
- let _e;
22704
- for (_e = 0; _e < Ni.length; _e += 1) {
22705
- const ot = Xc(j, Ni, _e);
22706
- Kt[_e] ? Kt[_e].p(ot, pe) : (Kt[_e] = td(ot), Kt[_e].c(), Kt[_e].m(yt, null));
22734
+ let ye;
22735
+ for (ye = 0; ye < Ni.length; ye += 1) {
22736
+ const ot = Xc(j, Ni, ye);
22737
+ Kt[ye] ? Kt[ye].p(ot, _e) : (Kt[ye] = td(ot), Kt[ye].c(), Kt[ye].m(yt, null));
22707
22738
  }
22708
- for (; _e < Kt.length; _e += 1)
22709
- Kt[_e].d(1);
22739
+ for (; ye < Kt.length; ye += 1)
22740
+ Kt[ye].d(1);
22710
22741
  Kt.length = Ni.length;
22711
22742
  }
22712
- if (pe[0] & /*introsOutrosIndex*/
22743
+ if (_e[0] & /*introsOutrosIndex*/
22713
22744
  16384 && ut(
22714
22745
  yt,
22715
22746
  /*introsOutrosIndex*/
22716
22747
  j[14]
22717
- ), pe[0] & /*persistentAdImage*/
22748
+ ), _e[0] & /*persistentAdImage*/
22718
22749
  65536 && ut(
22719
22750
  Se,
22720
22751
  /*persistentAdImage*/
22721
22752
  j[16]
22722
- ), pe[1] & /*adverts*/
22753
+ ), _e[1] & /*adverts*/
22723
22754
  1024) {
22724
22755
  ur = /*adverts*/
22725
22756
  j[41];
22726
- let _e;
22727
- for (_e = 0; _e < ur.length; _e += 1) {
22728
- const ot = qc(j, ur, _e);
22729
- Zt[_e] ? Zt[_e].p(ot, pe) : (Zt[_e] = id(ot), Zt[_e].c(), Zt[_e].m(st, null));
22757
+ let ye;
22758
+ for (ye = 0; ye < ur.length; ye += 1) {
22759
+ const ot = qc(j, ur, ye);
22760
+ Zt[ye] ? Zt[ye].p(ot, _e) : (Zt[ye] = id(ot), Zt[ye].c(), Zt[ye].m(st, null));
22730
22761
  }
22731
- for (; _e < Zt.length; _e += 1)
22732
- Zt[_e].d(1);
22762
+ for (; ye < Zt.length; ye += 1)
22763
+ Zt[ye].d(1);
22733
22764
  Zt.length = ur.length;
22734
22765
  }
22735
- pe[0] & /*persistentIndex*/
22766
+ _e[0] & /*persistentIndex*/
22736
22767
  131072 && ut(
22737
22768
  st,
22738
22769
  /*persistentIndex*/
22739
22770
  j[17]
22740
- ), pe[0] & /*duration*/
22771
+ ), _e[0] & /*duration*/
22741
22772
  262144 && Rt.value !== /*duration*/
22742
22773
  j[18] && St(
22743
22774
  Rt,
22744
22775
  /*duration*/
22745
22776
  j[18]
22746
- ), pe[0] & /*currentTime*/
22777
+ ), _e[0] & /*currentTime*/
22747
22778
  524288 && Xt.value !== /*currentTime*/
22748
22779
  j[19] && St(
22749
22780
  Xt,
22750
22781
  /*currentTime*/
22751
22782
  j[19]
22752
- ), pe[0] & /*playbackRate*/
22783
+ ), _e[0] & /*playbackRate*/
22753
22784
  2097152 && at.value !== /*playbackRate*/
22754
22785
  j[21] && St(
22755
22786
  at,
22756
22787
  /*playbackRate*/
22757
22788
  j[21]
22758
- ), pe[0] & /*widgetTarget*/
22789
+ ), _e[0] & /*widgetTarget*/
22759
22790
  33554432 && zt.value !== /*widgetTarget*/
22760
22791
  j[25] && St(
22761
22792
  zt,
22762
22793
  /*widgetTarget*/
22763
22794
  j[25]
22764
- ), pe[0] & /*logoIconEnabled*/
22795
+ ), _e[0] & /*logoIconEnabled*/
22765
22796
  1073741824 && ut(
22766
- me,
22797
+ pe,
22767
22798
  /*logoIconEnabled*/
22768
22799
  j[30]
22769
- ), pe[1] & /*advertConsent*/
22800
+ ), _e[1] & /*advertConsent*/
22770
22801
  16 && ut(
22771
22802
  Ue,
22772
22803
  /*advertConsent*/
22773
22804
  j[35]
22774
- ), pe[1] & /*analyticsConsent*/
22805
+ ), _e[1] & /*analyticsConsent*/
22775
22806
  32 && ut(
22776
22807
  ri,
22777
22808
  /*analyticsConsent*/
22778
22809
  j[36]
22779
- ), pe[1] & /*analyticsCustomUrl*/
22810
+ ), _e[1] & /*analyticsCustomUrl*/
22780
22811
  64 && xi.value !== /*analyticsCustomUrl*/
22781
22812
  j[37] && St(
22782
22813
  xi,
22783
22814
  /*analyticsCustomUrl*/
22784
22815
  j[37]
22785
- ), pe[1] & /*analyticsTag*/
22816
+ ), _e[1] & /*analyticsTag*/
22786
22817
  128 && Bi.value !== /*analyticsTag*/
22787
22818
  j[38] && St(
22788
22819
  Bi,
@@ -22880,7 +22911,7 @@ function Ck(t) {
22880
22911
  e = N("a"), e.textContent = "show advanced settings", Q(e, "tabindex", -1), Q(e, "href", "#_"), Q(e, "class", "svelte-g76q0j");
22881
22912
  },
22882
22913
  m(a, l) {
22883
- ie(a, e, l), i || (r = ye(
22914
+ ie(a, e, l), i || (r = me(
22884
22915
  e,
22885
22916
  "click",
22886
22917
  /*click_handler_1*/
@@ -22900,7 +22931,7 @@ function Lk(t) {
22900
22931
  e = N("a"), e.textContent = "hide advanced settings", Q(e, "tabindex", -1), Q(e, "href", "#_"), Q(e, "class", "svelte-g76q0j");
22901
22932
  },
22902
22933
  m(a, l) {
22903
- ie(a, e, l), i || (r = ye(
22934
+ ie(a, e, l), i || (r = me(
22904
22935
  e,
22905
22936
  "click",
22906
22937
  /*click_handler*/
@@ -22914,7 +22945,7 @@ function Lk(t) {
22914
22945
  };
22915
22946
  }
22916
22947
  function Ik(t) {
22917
- let e, i, r, a, l, g, p, _, T, k, C, F, U, V, z, H, oe, ue, he, ge, le, be, $, L, ae, W, Xe, we, Ie, Oe, K, Z, B, Ke, Me, xe, Fe, te, ve, ft, Ee, Le, Ye, wt, Tt, qt, yt, Ut, Vt, lt, kt, Se, gt, $t, Gt, Ot, bt, st, Bt, si, ai, It, Rt, Dt, Wt, ei, Xt, ti, ui, Ct, at, ii, De, ci, zt, Ze, bi, Mt, me, di, fi, _i, hi, Ai, Ue, Y, J, Ne, Mr, Di, Nr, ri, lr, Ki, Yi, Oi, tr, _r, xi, Pi, ir, yr, Bi, yi, Mi, wi, Ht, Ni, Kt, ur, Zt, j, pe, _e, ot, Ar, br, Fr, os, rn, ls, Fi, Ur, Si, Vr, Sr, cr, bn, nn, us, dr, Sn, xr, cs, Wn, jn, Tn, Pr = (
22948
+ let e, i, r, a, l, g, p, _, T, k, C, F, U, V, z, H, oe, ue, he, ge, le, be, $, L, ae, W, Xe, we, Ie, Oe, K, Z, B, Ke, Me, xe, Fe, te, ve, ft, Ee, Le, Ye, wt, Tt, qt, yt, Ut, Vt, lt, kt, Se, gt, $t, Gt, Ot, bt, st, Bt, si, ai, It, Rt, Dt, Wt, ei, Xt, ti, ui, Ct, at, ii, De, ci, zt, Ze, bi, Mt, pe, di, fi, _i, hi, Ai, Ue, Y, J, Ne, Mr, Di, Nr, ri, lr, Ki, Yi, Oi, tr, _r, xi, Pi, ir, yr, Bi, yi, Mi, wi, Ht, Ni, Kt, ur, Zt, j, _e, ye, ot, Ar, br, Fr, os, rn, ls, Fi, Ur, Si, Vr, Sr, cr, bn, nn, us, dr, Sn, xr, cs, Wn, jn, Tn, Pr = (
22918
22949
  /*adverts*/
22919
22950
  t[41]
22920
22951
  ), R = [];
@@ -22952,13 +22983,13 @@ function Ik(t) {
22952
22983
  Bt = Pe(), si = N("div"), ai = Re(`widgetStyle:
22953
22984
  `), It = N("select"), Rt = N("option"), Rt.textContent = "small", Dt = N("option"), Dt.textContent = "standard", Wt = N("option"), Wt.textContent = "large", ei = N("option"), ei.textContent = "video", Xt = Pe(), ti = N("div"), ui = Re(`widgetPosition:
22954
22985
  `), Ct = N("select"), at = N("option"), at.textContent = "auto", ii = N("option"), ii.textContent = "left", De = N("option"), De.textContent = "center", ci = N("option"), ci.textContent = "right", zt = Pe(), Ze = N("div"), bi = Re(`widgetWidth:
22955
- `), Mt = N("select"), me = N("option"), me.textContent = "auto", di = N("option"), di.textContent = "400px", fi = N("option"), fi.textContent = "30rem", _i = N("option"), _i.textContent = "fit-content", hi = N("option"), hi.textContent = "initial", Ai = N("option"), Ai.textContent = "0", Ue = Pe(), Y = N("div"), J = Re(`textColor:
22986
+ `), Mt = N("select"), pe = N("option"), pe.textContent = "auto", di = N("option"), di.textContent = "400px", fi = N("option"), fi.textContent = "30rem", _i = N("option"), _i.textContent = "fit-content", hi = N("option"), hi.textContent = "initial", Ai = N("option"), Ai.textContent = "0", Ue = Pe(), Y = N("div"), J = Re(`textColor:
22956
22987
  `), Ne = N("input"), Mr = Pe(), Di = N("div"), Nr = Re(`backgroundColor:
22957
22988
  `), ri = N("input"), lr = Pe(), Ki = N("div"), Yi = Re(`iconColor:
22958
22989
  `), Oi = N("input"), tr = Pe(), _r = N("div"), xi = Re(`highlightColor:
22959
22990
  `), Pi = N("input"), ir = Pe(), yr = N("div"), Bi = Re(`highlightSections:
22960
22991
  `), yi = N("select"), Mi = N("option"), Mi.textContent = "all", wi = N("option"), wi.textContent = "body", Ht = N("option"), Ht.textContent = "none", Ni = N("option"), Ni.textContent = "all-none", Kt = N("option"), Kt.textContent = "none-all", ur = Pe(), Zt = N("div"), j = Re(`clickableSections:
22961
- `), pe = N("select"), _e = N("option"), _e.textContent = "all", ot = N("option"), ot.textContent = "body", Ar = N("option"), Ar.textContent = "none", br = N("option"), br.textContent = "all-none", Fr = N("option"), Fr.textContent = "none-all", os = Pe(), rn = N("div"), ls = Re(`segmentWidgetSections:
22992
+ `), _e = N("select"), ye = N("option"), ye.textContent = "all", ot = N("option"), ot.textContent = "body", Ar = N("option"), Ar.textContent = "none", br = N("option"), br.textContent = "all-none", Fr = N("option"), Fr.textContent = "none-all", os = Pe(), rn = N("div"), ls = Re(`segmentWidgetSections:
22962
22993
  `), Fi = N("select"), Ur = N("option"), Ur.textContent = "all", Si = N("option"), Si.textContent = "body", Vr = N("option"), Vr.textContent = "none", Sr = N("option"), Sr.textContent = "all-none", cr = N("option"), cr.textContent = "none-all", bn = Pe(), nn = N("div"), us = Re(`segmentWidgetPosition:
22963
22994
  `), dr = N("select");
22964
22995
  for (let ze = 0; ze < 12; ze += 1)
@@ -22995,7 +23026,7 @@ function Ik(t) {
22995
23026
  t[23] === void 0 && Ft(() => (
22996
23027
  /*select7_change_handler*/
22997
23028
  t[52].call(Ct)
22998
- )), Q(ti, "class", "control svelte-g76q0j"), me.__value = "auto", me.value = me.__value, di.__value = "400px", di.value = di.__value, fi.__value = "30rem", fi.value = fi.__value, _i.__value = "fit-content", _i.value = _i.__value, hi.__value = "initial", hi.value = hi.__value, Ai.__value = "0", Ai.value = Ai.__value, Q(Mt, "tabindex", -1), Q(Mt, "class", "svelte-g76q0j"), /*widgetWidth*/
23029
+ )), Q(ti, "class", "control svelte-g76q0j"), pe.__value = "auto", pe.value = pe.__value, di.__value = "400px", di.value = di.__value, fi.__value = "30rem", fi.value = fi.__value, _i.__value = "fit-content", _i.value = _i.__value, hi.__value = "initial", hi.value = hi.__value, Ai.__value = "0", Ai.value = Ai.__value, Q(Mt, "tabindex", -1), Q(Mt, "class", "svelte-g76q0j"), /*widgetWidth*/
22999
23030
  t[24] === void 0 && Ft(() => (
23000
23031
  /*select8_change_handler*/
23001
23032
  t[53].call(Mt)
@@ -23003,10 +23034,10 @@ function Ik(t) {
23003
23034
  t[31] === void 0 && Ft(() => (
23004
23035
  /*select9_change_handler*/
23005
23036
  t[58].call(yi)
23006
- )), Q(yr, "class", "control svelte-g76q0j"), _e.__value = "all", _e.value = _e.__value, ot.__value = "body", ot.value = ot.__value, Ar.__value = "none", Ar.value = Ar.__value, br.__value = "all-none", br.value = br.__value, Fr.__value = "none-all", Fr.value = Fr.__value, Q(pe, "tabindex", -1), Q(pe, "class", "svelte-g76q0j"), /*clickableSections*/
23037
+ )), Q(yr, "class", "control svelte-g76q0j"), ye.__value = "all", ye.value = ye.__value, ot.__value = "body", ot.value = ot.__value, Ar.__value = "none", Ar.value = Ar.__value, br.__value = "all-none", br.value = br.__value, Fr.__value = "none-all", Fr.value = Fr.__value, Q(_e, "tabindex", -1), Q(_e, "class", "svelte-g76q0j"), /*clickableSections*/
23007
23038
  t[32] === void 0 && Ft(() => (
23008
23039
  /*select10_change_handler*/
23009
- t[59].call(pe)
23040
+ t[59].call(_e)
23010
23041
  )), Q(Zt, "class", "control svelte-g76q0j"), Ur.__value = "all", Ur.value = Ur.__value, Si.__value = "body", Si.value = Si.__value, Vr.__value = "none", Vr.value = Vr.__value, Sr.__value = "all-none", Sr.value = Sr.__value, cr.__value = "none-all", cr.value = cr.__value, Q(Fi, "tabindex", -1), Q(Fi, "class", "svelte-g76q0j"), /*segmentWidgetSections*/
23011
23042
  t[33] === void 0 && Ft(() => (
23012
23043
  /*select11_change_handler*/
@@ -23069,7 +23100,7 @@ function Ik(t) {
23069
23100
  /*widgetPosition*/
23070
23101
  t[23],
23071
23102
  !0
23072
- ), I(e, zt), I(e, Ze), I(Ze, bi), I(Ze, Mt), I(Mt, me), I(Mt, di), I(Mt, fi), I(Mt, _i), I(Mt, hi), I(Mt, Ai), ut(
23103
+ ), I(e, zt), I(e, Ze), I(Ze, bi), I(Ze, Mt), I(Mt, pe), I(Mt, di), I(Mt, fi), I(Mt, _i), I(Mt, hi), I(Mt, Ai), ut(
23073
23104
  Mt,
23074
23105
  /*widgetWidth*/
23075
23106
  t[24],
@@ -23095,8 +23126,8 @@ function Ik(t) {
23095
23126
  /*highlightSections*/
23096
23127
  t[31],
23097
23128
  !0
23098
- ), I(e, ur), I(e, Zt), I(Zt, j), I(Zt, pe), I(pe, _e), I(pe, ot), I(pe, Ar), I(pe, br), I(pe, Fr), ut(
23099
- pe,
23129
+ ), I(e, ur), I(e, Zt), I(Zt, j), I(Zt, _e), I(_e, ye), I(_e, ot), I(_e, Ar), I(_e, br), I(_e, Fr), ut(
23130
+ _e,
23100
23131
  /*clickableSections*/
23101
23132
  t[32],
23102
23133
  !0
@@ -23114,115 +23145,115 @@ function Ik(t) {
23114
23145
  t[34],
23115
23146
  !0
23116
23147
  ), I(e, Sn), qi && qi.m(e, null), I(e, xr), I(e, cs), I(e, Wn), Tr.m(e, null), jn || (Tn = [
23117
- ye(
23148
+ me(
23118
23149
  _,
23119
23150
  "change",
23120
23151
  /*select0_change_handler*/
23121
23152
  t[43]
23122
23153
  ),
23123
- ye(
23154
+ me(
23124
23155
  H,
23125
23156
  "change",
23126
23157
  /*select1_change_handler*/
23127
23158
  t[44]
23128
23159
  ),
23129
- ye(
23160
+ me(
23130
23161
  $,
23131
23162
  "input",
23132
23163
  /*input0_input_handler*/
23133
23164
  t[45]
23134
23165
  ),
23135
- ye(
23166
+ me(
23136
23167
  Xe,
23137
23168
  "input",
23138
23169
  /*input1_input_handler*/
23139
23170
  t[46]
23140
23171
  ),
23141
- ye(
23172
+ me(
23142
23173
  K,
23143
23174
  "change",
23144
23175
  /*select2_change_handler*/
23145
23176
  t[47]
23146
23177
  ),
23147
- ye(
23178
+ me(
23148
23179
  Ee,
23149
23180
  "change",
23150
23181
  /*select3_change_handler*/
23151
23182
  t[48]
23152
23183
  ),
23153
- ye(
23184
+ me(
23154
23185
  lt,
23155
23186
  "change",
23156
23187
  /*select4_change_handler*/
23157
23188
  t[49]
23158
23189
  ),
23159
- ye(
23190
+ me(
23160
23191
  bt,
23161
23192
  "change",
23162
23193
  /*select5_change_handler*/
23163
23194
  t[50]
23164
23195
  ),
23165
- ye(
23196
+ me(
23166
23197
  It,
23167
23198
  "change",
23168
23199
  /*select6_change_handler*/
23169
23200
  t[51]
23170
23201
  ),
23171
- ye(
23202
+ me(
23172
23203
  Ct,
23173
23204
  "change",
23174
23205
  /*select7_change_handler*/
23175
23206
  t[52]
23176
23207
  ),
23177
- ye(
23208
+ me(
23178
23209
  Mt,
23179
23210
  "change",
23180
23211
  /*select8_change_handler*/
23181
23212
  t[53]
23182
23213
  ),
23183
- ye(
23214
+ me(
23184
23215
  Ne,
23185
23216
  "input",
23186
23217
  /*input2_input_handler*/
23187
23218
  t[54]
23188
23219
  ),
23189
- ye(
23220
+ me(
23190
23221
  ri,
23191
23222
  "input",
23192
23223
  /*input3_input_handler*/
23193
23224
  t[55]
23194
23225
  ),
23195
- ye(
23226
+ me(
23196
23227
  Oi,
23197
23228
  "input",
23198
23229
  /*input4_input_handler*/
23199
23230
  t[56]
23200
23231
  ),
23201
- ye(
23232
+ me(
23202
23233
  Pi,
23203
23234
  "input",
23204
23235
  /*input5_input_handler*/
23205
23236
  t[57]
23206
23237
  ),
23207
- ye(
23238
+ me(
23208
23239
  yi,
23209
23240
  "change",
23210
23241
  /*select9_change_handler*/
23211
23242
  t[58]
23212
23243
  ),
23213
- ye(
23214
- pe,
23244
+ me(
23245
+ _e,
23215
23246
  "change",
23216
23247
  /*select10_change_handler*/
23217
23248
  t[59]
23218
23249
  ),
23219
- ye(
23250
+ me(
23220
23251
  Fi,
23221
23252
  "change",
23222
23253
  /*select11_change_handler*/
23223
23254
  t[60]
23224
23255
  ),
23225
- ye(
23256
+ me(
23226
23257
  dr,
23227
23258
  "change",
23228
23259
  /*select12_change_handler*/
@@ -23332,7 +23363,7 @@ function Ik(t) {
23332
23363
  ze[31]
23333
23364
  ), Nt[1] & /*clickableSections*/
23334
23365
  2 && ut(
23335
- pe,
23366
+ _e,
23336
23367
  /*clickableSections*/
23337
23368
  ze[32]
23338
23369
  ), Nt[1] & /*segmentWidgetSections*/
@@ -23456,7 +23487,7 @@ function Rk(t, e, i) {
23456
23487
  function Mt() {
23457
23488
  Xe = this.value, i(21, Xe);
23458
23489
  }
23459
- function me() {
23490
+ function pe() {
23460
23491
  K = this.value, i(25, K);
23461
23492
  }
23462
23493
  function di() {
@@ -23554,7 +23585,7 @@ function Rk(t, e, i) {
23554
23585
  Ze,
23555
23586
  bi,
23556
23587
  Mt,
23557
- me,
23588
+ pe,
23558
23589
  di,
23559
23590
  fi,
23560
23591
  _i,
@@ -23564,14 +23595,14 @@ function Rk(t, e, i) {
23564
23595
  Y
23565
23596
  ];
23566
23597
  }
23567
- class Dk extends it {
23598
+ class Dk extends rt {
23568
23599
  constructor(e) {
23569
- super(), tt(
23600
+ super(), it(
23570
23601
  this,
23571
23602
  e,
23572
23603
  Rk,
23573
23604
  Ik,
23574
- et,
23605
+ tt,
23575
23606
  {
23576
23607
  projectId: 0,
23577
23608
  contentId: 1,
@@ -24076,21 +24107,21 @@ function zk(t, e, i) {
24076
24107
  67108864 && ge.then((Le) => i(14, xe = Le)).catch(ft), t.$$.dirty[0] & /*title, artist, album, artwork*/
24077
24108
  58736640 && (navigator.mediaSession.metadata = new MediaMetadata({ title: le, artist: be, album: $, artwork: xe })), t.$$.dirty[0] & /*onEvent*/
24078
24109
  8192 && navigator.mediaSession.setActionHandler("play", () => {
24079
- Me(rt({
24110
+ Me($e({
24080
24111
  type: "PressedPlay",
24081
24112
  description: "The play button was pressed.",
24082
24113
  initiatedBy: "media-session-api"
24083
24114
  }));
24084
24115
  }), t.$$.dirty[0] & /*onEvent*/
24085
24116
  8192 && navigator.mediaSession.setActionHandler("pause", () => {
24086
- Me(rt({
24117
+ Me($e({
24087
24118
  type: "PressedPause",
24088
24119
  description: "The pause button was pressed.",
24089
24120
  initiatedBy: "media-session-api"
24090
24121
  }));
24091
24122
  }), t.$$.dirty[0] & /*allowScrubbing, onEvent, duration*/
24092
24123
  4202752 && navigator.mediaSession.setActionHandler("seekto", F ? ({ seekTime: Le }) => {
24093
- Me(rt({
24124
+ Me($e({
24094
24125
  type: "ScrubbedProgressBar",
24095
24126
  description: "The user pressed on the progress bar then dragged.",
24096
24127
  initiatedBy: "media-session-api",
@@ -24098,7 +24129,7 @@ function zk(t, e, i) {
24098
24129
  }));
24099
24130
  } : null), t.$$.dirty[0] & /*showSeekButtons, skipStyle, onEvent, backwardsSeconds*/
24100
24131
  3678208 && navigator.mediaSession.setActionHandler("seekbackward", k ? ({ seekOffset: Le }) => {
24101
- Me(rt(p === "seconds" || Le ? {
24132
+ Me($e(p === "seconds" || Le ? {
24102
24133
  type: "PressedSeekBack",
24103
24134
  description: "The seek backward button was pressed.",
24104
24135
  initiatedBy: "media-session-api",
@@ -24110,7 +24141,7 @@ function zk(t, e, i) {
24110
24141
  }));
24111
24142
  } : null), t.$$.dirty[0] & /*showSeekButtons, skipStyle, onEvent, forwardsSeconds*/
24112
24143
  1843200 && navigator.mediaSession.setActionHandler("seekforward", k ? ({ seekOffset: Le }) => {
24113
- Me(rt(p === "seconds" || Le ? {
24144
+ Me($e(p === "seconds" || Le ? {
24114
24145
  type: "PressedSeekAhead",
24115
24146
  description: "The seek ahead button was pressed.",
24116
24147
  initiatedBy: "media-session-api",
@@ -24122,14 +24153,14 @@ function zk(t, e, i) {
24122
24153
  }));
24123
24154
  } : null), t.$$.dirty[0] & /*showTrackButtons, onEvent*/
24124
24155
  139264 && navigator.mediaSession.setActionHandler("previoustrack", C ? () => {
24125
- Me(rt({
24156
+ Me($e({
24126
24157
  type: "PressedPrevTrack",
24127
24158
  description: "The previous track button was pressed.",
24128
24159
  initiatedBy: "media-session-api"
24129
24160
  }));
24130
24161
  } : null), t.$$.dirty[0] & /*showTrackButtons, onEvent*/
24131
24162
  139264 && navigator.mediaSession.setActionHandler("nexttrack", C ? () => {
24132
- Me(rt({
24163
+ Me($e({
24133
24164
  type: "PressedNextTrack",
24134
24165
  description: "The next track button was pressed.",
24135
24166
  initiatedBy: "media-session-api"
@@ -24180,14 +24211,14 @@ function zk(t, e, i) {
24180
24211
  Ee
24181
24212
  ];
24182
24213
  }
24183
- class Hk extends it {
24214
+ class Hk extends rt {
24184
24215
  constructor(e) {
24185
- super(), tt(
24216
+ super(), it(
24186
24217
  this,
24187
24218
  e,
24188
24219
  zk,
24189
24220
  Gk,
24190
- et,
24221
+ tt,
24191
24222
  {
24192
24223
  content: 4,
24193
24224
  contentIndex: 5,
@@ -24315,9 +24346,9 @@ function Xk(t, e, i) {
24315
24346
  "analyticsTag" in l && i(0, a = l.analyticsTag);
24316
24347
  }, i(1, r = window.gtag), [a, r];
24317
24348
  }
24318
- class Zk extends it {
24349
+ class Zk extends rt {
24319
24350
  constructor(e) {
24320
- super(), tt(this, e, Xk, qk, et, { analyticsTag: 0 });
24351
+ super(), it(this, e, Xk, qk, tt, { analyticsTag: 0 });
24321
24352
  }
24322
24353
  get analyticsTag() {
24323
24354
  return this.$$.ctx[0];
@@ -24326,9 +24357,9 @@ class Zk extends it {
24326
24357
  this.$$set({ analyticsTag: e }), P();
24327
24358
  }
24328
24359
  }
24329
- class Jk extends it {
24360
+ class Jk extends rt {
24330
24361
  constructor(e) {
24331
- super(), tt(this, e, null, null, et, {});
24362
+ super(), it(this, e, null, null, tt, {});
24332
24363
  }
24333
24364
  }
24334
24365
  var ha, Ol, po, cf;
@@ -24455,7 +24486,7 @@ ma = new WeakMap(), To = new WeakSet(), mf = function(e, i, r, a) {
24455
24486
  }
24456
24487
  i.onUpdate(i.containers);
24457
24488
  }, ht(Ss, To), ht(Ss, ko), ht(Ss, ma, new ou(ce(xs, To, mf), ce(xs, ko, pf)));
24458
- const Qk = () => rt({
24489
+ const Qk = () => $e({
24459
24490
  type: "IdentifiersChanged",
24460
24491
  description: "The Player's content identifiers changed.",
24461
24492
  initiatedBy: "browser"
@@ -24512,7 +24543,7 @@ const t2 = (t, e, i, r) => zr(void 0, null, function* () {
24512
24543
  ((l = (a = e == null ? void 0 : e.message) == null ? void 0 : a.result) == null ? void 0 : l.action) === "podcast_state_updated" && r2(e, t), e.type === "reject_subscription" && n2(e);
24513
24544
  }, r2 = (t, e) => {
24514
24545
  const i = t.message.result;
24515
- e(rt({
24546
+ e($e({
24516
24547
  type: "ContentStatusChanged",
24517
24548
  description: "The processing status of a content item within the project changed.",
24518
24549
  initiatedBy: "websocket",
@@ -25229,7 +25260,7 @@ function p2(t) {
25229
25260
  function Mt(Y) {
25230
25261
  t[127](Y);
25231
25262
  }
25232
- function me(Y) {
25263
+ function pe(Y) {
25233
25264
  t[128](Y);
25234
25265
  }
25235
25266
  function di(Y) {
@@ -25344,7 +25375,7 @@ function p2(t) {
25344
25375
  t[40] !== void 0 && (Ue.analyticsCustomUrl = /*analyticsCustomUrl*/
25345
25376
  t[40]), /*analyticsTag*/
25346
25377
  t[41] !== void 0 && (Ue.analyticsTag = /*analyticsTag*/
25347
- t[41]), e = new Dk({ props: Ue }), Ve.push(() => Qe(e, "projectId", wt)), Ve.push(() => Qe(e, "contentId", Tt)), Ve.push(() => Qe(e, "playlistId", qt)), Ve.push(() => Qe(e, "sourceId", yt)), Ve.push(() => Qe(e, "sourceUrl", Ut)), Ve.push(() => Qe(e, "showUserInterface", Vt)), Ve.push(() => Qe(e, "playerStyle", lt)), Ve.push(() => Qe(e, "playerTitle", kt)), Ve.push(() => Qe(e, "callToAction", Se)), Ve.push(() => Qe(e, "skipButtonStyle", gt)), Ve.push(() => Qe(e, "playlistStyle", $t)), Ve.push(() => Qe(e, "playlistToggle", Gt)), Ve.push(() => Qe(e, "mediaSession", Ot)), Ve.push(() => Qe(e, "contentIndex", bt)), Ve.push(() => Qe(e, "introsOutrosIndex", st)), Ve.push(() => Qe(e, "advertIndex", Bt)), Ve.push(() => Qe(e, "persistentAdImage", si)), Ve.push(() => Qe(e, "persistentIndex", ai)), Ve.push(() => Qe(e, "duration", It)), Ve.push(() => Qe(e, "currentTime", Rt)), Ve.push(() => Qe(e, "playbackState", Dt)), Ve.push(() => Qe(e, "playbackRate", Wt)), Ve.push(() => Qe(e, "widgetStyle", ei)), Ve.push(() => Qe(e, "widgetPosition", Xt)), Ve.push(() => Qe(e, "widgetWidth", ti)), Ve.push(() => Qe(e, "widgetTarget", ui)), Ve.push(() => Qe(e, "textColor", Ct)), Ve.push(() => Qe(e, "backgroundColor", at)), Ve.push(() => Qe(e, "iconColor", ii)), Ve.push(() => Qe(e, "highlightColor", De)), Ve.push(() => Qe(e, "logoIconEnabled", ci)), Ve.push(() => Qe(e, "highlightSections", zt)), Ve.push(() => Qe(e, "clickableSections", Ze)), Ve.push(() => Qe(e, "segmentWidgetSections", bi)), Ve.push(() => Qe(e, "segmentWidgetPosition", Mt)), Ve.push(() => Qe(e, "currentSegment", me)), Ve.push(() => Qe(e, "hoveredSegment", di)), Ve.push(() => Qe(e, "advertConsent", fi)), Ve.push(() => Qe(e, "analyticsConsent", _i)), Ve.push(() => Qe(e, "analyticsCustomUrl", hi)), Ve.push(() => Qe(e, "analyticsTag", Ai)), {
25378
+ t[41]), e = new Dk({ props: Ue }), Ve.push(() => Qe(e, "projectId", wt)), Ve.push(() => Qe(e, "contentId", Tt)), Ve.push(() => Qe(e, "playlistId", qt)), Ve.push(() => Qe(e, "sourceId", yt)), Ve.push(() => Qe(e, "sourceUrl", Ut)), Ve.push(() => Qe(e, "showUserInterface", Vt)), Ve.push(() => Qe(e, "playerStyle", lt)), Ve.push(() => Qe(e, "playerTitle", kt)), Ve.push(() => Qe(e, "callToAction", Se)), Ve.push(() => Qe(e, "skipButtonStyle", gt)), Ve.push(() => Qe(e, "playlistStyle", $t)), Ve.push(() => Qe(e, "playlistToggle", Gt)), Ve.push(() => Qe(e, "mediaSession", Ot)), Ve.push(() => Qe(e, "contentIndex", bt)), Ve.push(() => Qe(e, "introsOutrosIndex", st)), Ve.push(() => Qe(e, "advertIndex", Bt)), Ve.push(() => Qe(e, "persistentAdImage", si)), Ve.push(() => Qe(e, "persistentIndex", ai)), Ve.push(() => Qe(e, "duration", It)), Ve.push(() => Qe(e, "currentTime", Rt)), Ve.push(() => Qe(e, "playbackState", Dt)), Ve.push(() => Qe(e, "playbackRate", Wt)), Ve.push(() => Qe(e, "widgetStyle", ei)), Ve.push(() => Qe(e, "widgetPosition", Xt)), Ve.push(() => Qe(e, "widgetWidth", ti)), Ve.push(() => Qe(e, "widgetTarget", ui)), Ve.push(() => Qe(e, "textColor", Ct)), Ve.push(() => Qe(e, "backgroundColor", at)), Ve.push(() => Qe(e, "iconColor", ii)), Ve.push(() => Qe(e, "highlightColor", De)), Ve.push(() => Qe(e, "logoIconEnabled", ci)), Ve.push(() => Qe(e, "highlightSections", zt)), Ve.push(() => Qe(e, "clickableSections", Ze)), Ve.push(() => Qe(e, "segmentWidgetSections", bi)), Ve.push(() => Qe(e, "segmentWidgetPosition", Mt)), Ve.push(() => Qe(e, "currentSegment", pe)), Ve.push(() => Qe(e, "hoveredSegment", di)), Ve.push(() => Qe(e, "advertConsent", fi)), Ve.push(() => Qe(e, "analyticsConsent", _i)), Ve.push(() => Qe(e, "analyticsCustomUrl", hi)), Ve.push(() => Qe(e, "analyticsTag", Ai)), {
25348
25379
  c() {
25349
25380
  He(e.$$.fragment);
25350
25381
  },
@@ -25766,7 +25797,7 @@ function _2(t) {
25766
25797
  function y2(t, e, i) {
25767
25798
  let r, a, l, g, p, _, T, k, C, F, U, V, z, { playerApiUrl: H = "https://api.beyondwords.io/v1/projects/{id}/player" } = e, { projectId: oe = void 0 } = e, { contentId: ue = void 0 } = e, { playlistId: he = void 0 } = e, { sourceId: ge = void 0 } = e, { sourceUrl: le = void 0 } = e, { playlist: be = [] } = e, { showUserInterface: $ = !0 } = e, { playerStyle: L = "standard" } = e, { playerTitle: ae = void 0 } = e, { callToAction: W = void 0 } = e, { skipButtonStyle: Xe = "auto" } = e, { playlistStyle: we = "auto-5-4" } = e, { playlistToggle: Ie = "auto" } = e, { downloadFormats: Oe = [] } = e, { mediaSession: K = "auto" } = e, { content: Z = [] } = e, { contentIndex: B = 0 } = e, { introsOutros: Ke = [] } = e, { introsOutrosIndex: Me = -1 } = e, { adverts: xe = [] } = e, { advertIndex: Fe = -1 } = e, { persistentAdImage: te = !1 } = e, { persistentIndex: ve = -1 } = e, { duration: ft = 0 } = e, { currentTime: Ee = 0 } = e, { playbackState: Le = "stopped" } = e, { playbackRate: Ye = 1 } = e, { widgetStyle: wt = "standard" } = e, { widgetPosition: Tt = "auto" } = e, { widgetWidth: qt = "auto" } = e, { widgetTarget: yt = void 0 } = e, { textColor: Ut = "#111" } = e, { backgroundColor: Vt = "#f5f5f5" } = e, { iconColor: lt = "rgba(0, 0, 0, 0.8)" } = e, { highlightColor: kt = "#eee" } = e, { logoIconEnabled: Se = !0 } = e, { highlightSections: gt = "all" } = e, { clickableSections: $t = "all" } = e, { segmentWidgetSections: Gt = "body" } = e, { segmentWidgetPosition: Ot = "7-oclock" } = e, { currentSegment: bt = void 0 } = e, { hoveredSegment: st = void 0 } = e, { advertConsent: Bt = "personalized" } = e, { analyticsConsent: si = "allowed" } = e, { analyticsCustomUrl: ai = void 0 } = e, { analyticsTag: It = void 0 } = e, { writeToken: Rt = void 0 } = e, { captureErrors: Dt = !0 } = e, { transitions: Wt = [] } = e, { controlPanel: ei = void 0 } = e;
25768
25799
  const Xt = (...R) => Ze.addEventListener(...R), ti = (...R) => Ze.removeEventListener(...R);
25769
- let { initialProps: ui = {} } = e, { showBottomWidget: Ct = !1 } = e, { showMediaSession: at = !1 } = e, { isFullScreen: ii = !1 } = e, { mediaElement: De = void 0 } = e, { userInterface: ci = void 0 } = e, { widgetInterface: zt = void 0 } = e, { controller: Ze = void 0 } = e, { analyticsUrl: bi = void 0 } = e, { analyticsId: Mt = void 0 } = e, { listenSessionId: me = void 0 } = e, { sessionCreatedAt: di = void 0 } = e, { emitPlayEvent: fi = void 0 } = e, { prevPercentage: _i = 0 } = e, { segmentWidgets: hi = [] } = e, { segmentContainers: Ai = new Ss((R) => i(46, hi = R)) } = e, { segmentClickables: Ue = new bs() } = e, { segmentHighlights: Y = new ys() } = e;
25800
+ let { initialProps: ui = {} } = e, { showBottomWidget: Ct = !1 } = e, { showMediaSession: at = !1 } = e, { isFullScreen: ii = !1 } = e, { mediaElement: De = void 0 } = e, { userInterface: ci = void 0 } = e, { widgetInterface: zt = void 0 } = e, { controller: Ze = void 0 } = e, { analyticsUrl: bi = void 0 } = e, { analyticsId: Mt = void 0 } = e, { listenSessionId: pe = void 0 } = e, { sessionCreatedAt: di = void 0 } = e, { emitPlayEvent: fi = void 0 } = e, { prevPercentage: _i = 0 } = e, { segmentWidgets: hi = [] } = e, { segmentContainers: Ai = new Ss((R) => i(46, hi = R)) } = e, { segmentClickables: Ue = new bs() } = e, { segmentHighlights: Y = new ys() } = e;
25770
25801
  const J = (R) => Ze.processEvent(de({ emittedFrom: p }, R)), Ne = () => i(82, k = st);
25771
25802
  function Mr(R) {
25772
25803
  Ve[R ? "unshift" : "push"](() => {
@@ -25848,10 +25879,10 @@ function y2(t, e, i) {
25848
25879
  function j(R) {
25849
25880
  Me = R, i(8, Me);
25850
25881
  }
25851
- function pe(R) {
25882
+ function _e(R) {
25852
25883
  Fe = R, i(9, Fe);
25853
25884
  }
25854
- function _e(R) {
25885
+ function ye(R) {
25855
25886
  te = R, i(28, te);
25856
25887
  }
25857
25888
  function ot(R) {
@@ -25927,7 +25958,7 @@ function y2(t, e, i) {
25927
25958
  It = R, i(41, It);
25928
25959
  }
25929
25960
  return t.$$set = (R) => {
25930
- "playerApiUrl" in R && i(63, H = R.playerApiUrl), "projectId" in R && i(0, oe = R.projectId), "contentId" in R && i(1, ue = R.contentId), "playlistId" in R && i(2, he = R.playlistId), "sourceId" in R && i(3, ge = R.sourceId), "sourceUrl" in R && i(4, le = R.sourceUrl), "playlist" in R && i(64, be = R.playlist), "showUserInterface" in R && i(5, $ = R.showUserInterface), "playerStyle" in R && i(6, L = R.playerStyle), "playerTitle" in R && i(22, ae = R.playerTitle), "callToAction" in R && i(23, W = R.callToAction), "skipButtonStyle" in R && i(24, Xe = R.skipButtonStyle), "playlistStyle" in R && i(25, we = R.playlistStyle), "playlistToggle" in R && i(26, Ie = R.playlistToggle), "downloadFormats" in R && i(47, Oe = R.downloadFormats), "mediaSession" in R && i(27, K = R.mediaSession), "content" in R && i(48, Z = R.content), "contentIndex" in R && i(7, B = R.contentIndex), "introsOutros" in R && i(49, Ke = R.introsOutros), "introsOutrosIndex" in R && i(8, Me = R.introsOutrosIndex), "adverts" in R && i(50, xe = R.adverts), "advertIndex" in R && i(9, Fe = R.advertIndex), "persistentAdImage" in R && i(28, te = R.persistentAdImage), "persistentIndex" in R && i(10, ve = R.persistentIndex), "duration" in R && i(29, ft = R.duration), "currentTime" in R && i(11, Ee = R.currentTime), "playbackState" in R && i(30, Le = R.playbackState), "playbackRate" in R && i(31, Ye = R.playbackRate), "widgetStyle" in R && i(12, wt = R.widgetStyle), "widgetPosition" in R && i(32, Tt = R.widgetPosition), "widgetWidth" in R && i(33, qt = R.widgetWidth), "widgetTarget" in R && i(13, yt = R.widgetTarget), "textColor" in R && i(34, Ut = R.textColor), "backgroundColor" in R && i(35, Vt = R.backgroundColor), "iconColor" in R && i(36, lt = R.iconColor), "highlightColor" in R && i(14, kt = R.highlightColor), "logoIconEnabled" in R && i(37, Se = R.logoIconEnabled), "highlightSections" in R && i(15, gt = R.highlightSections), "clickableSections" in R && i(16, $t = R.clickableSections), "segmentWidgetSections" in R && i(17, Gt = R.segmentWidgetSections), "segmentWidgetPosition" in R && i(18, Ot = R.segmentWidgetPosition), "currentSegment" in R && i(19, bt = R.currentSegment), "hoveredSegment" in R && i(20, st = R.hoveredSegment), "advertConsent" in R && i(38, Bt = R.advertConsent), "analyticsConsent" in R && i(39, si = R.analyticsConsent), "analyticsCustomUrl" in R && i(40, ai = R.analyticsCustomUrl), "analyticsTag" in R && i(41, It = R.analyticsTag), "writeToken" in R && i(65, Rt = R.writeToken), "captureErrors" in R && i(66, Dt = R.captureErrors), "transitions" in R && i(67, Wt = R.transitions), "controlPanel" in R && i(21, ei = R.controlPanel), "initialProps" in R && i(70, ui = R.initialProps), "showBottomWidget" in R && i(51, Ct = R.showBottomWidget), "showMediaSession" in R && i(52, at = R.showMediaSession), "isFullScreen" in R && i(71, ii = R.isFullScreen), "mediaElement" in R && i(42, De = R.mediaElement), "userInterface" in R && i(43, ci = R.userInterface), "widgetInterface" in R && i(44, zt = R.widgetInterface), "controller" in R && i(72, Ze = R.controller), "analyticsUrl" in R && i(73, bi = R.analyticsUrl), "analyticsId" in R && i(74, Mt = R.analyticsId), "listenSessionId" in R && i(75, me = R.listenSessionId), "sessionCreatedAt" in R && i(76, di = R.sessionCreatedAt), "emitPlayEvent" in R && i(77, fi = R.emitPlayEvent), "prevPercentage" in R && i(45, _i = R.prevPercentage), "segmentWidgets" in R && i(46, hi = R.segmentWidgets), "segmentContainers" in R && i(78, Ai = R.segmentContainers), "segmentClickables" in R && i(79, Ue = R.segmentClickables), "segmentHighlights" in R && i(80, Y = R.segmentHighlights);
25961
+ "playerApiUrl" in R && i(63, H = R.playerApiUrl), "projectId" in R && i(0, oe = R.projectId), "contentId" in R && i(1, ue = R.contentId), "playlistId" in R && i(2, he = R.playlistId), "sourceId" in R && i(3, ge = R.sourceId), "sourceUrl" in R && i(4, le = R.sourceUrl), "playlist" in R && i(64, be = R.playlist), "showUserInterface" in R && i(5, $ = R.showUserInterface), "playerStyle" in R && i(6, L = R.playerStyle), "playerTitle" in R && i(22, ae = R.playerTitle), "callToAction" in R && i(23, W = R.callToAction), "skipButtonStyle" in R && i(24, Xe = R.skipButtonStyle), "playlistStyle" in R && i(25, we = R.playlistStyle), "playlistToggle" in R && i(26, Ie = R.playlistToggle), "downloadFormats" in R && i(47, Oe = R.downloadFormats), "mediaSession" in R && i(27, K = R.mediaSession), "content" in R && i(48, Z = R.content), "contentIndex" in R && i(7, B = R.contentIndex), "introsOutros" in R && i(49, Ke = R.introsOutros), "introsOutrosIndex" in R && i(8, Me = R.introsOutrosIndex), "adverts" in R && i(50, xe = R.adverts), "advertIndex" in R && i(9, Fe = R.advertIndex), "persistentAdImage" in R && i(28, te = R.persistentAdImage), "persistentIndex" in R && i(10, ve = R.persistentIndex), "duration" in R && i(29, ft = R.duration), "currentTime" in R && i(11, Ee = R.currentTime), "playbackState" in R && i(30, Le = R.playbackState), "playbackRate" in R && i(31, Ye = R.playbackRate), "widgetStyle" in R && i(12, wt = R.widgetStyle), "widgetPosition" in R && i(32, Tt = R.widgetPosition), "widgetWidth" in R && i(33, qt = R.widgetWidth), "widgetTarget" in R && i(13, yt = R.widgetTarget), "textColor" in R && i(34, Ut = R.textColor), "backgroundColor" in R && i(35, Vt = R.backgroundColor), "iconColor" in R && i(36, lt = R.iconColor), "highlightColor" in R && i(14, kt = R.highlightColor), "logoIconEnabled" in R && i(37, Se = R.logoIconEnabled), "highlightSections" in R && i(15, gt = R.highlightSections), "clickableSections" in R && i(16, $t = R.clickableSections), "segmentWidgetSections" in R && i(17, Gt = R.segmentWidgetSections), "segmentWidgetPosition" in R && i(18, Ot = R.segmentWidgetPosition), "currentSegment" in R && i(19, bt = R.currentSegment), "hoveredSegment" in R && i(20, st = R.hoveredSegment), "advertConsent" in R && i(38, Bt = R.advertConsent), "analyticsConsent" in R && i(39, si = R.analyticsConsent), "analyticsCustomUrl" in R && i(40, ai = R.analyticsCustomUrl), "analyticsTag" in R && i(41, It = R.analyticsTag), "writeToken" in R && i(65, Rt = R.writeToken), "captureErrors" in R && i(66, Dt = R.captureErrors), "transitions" in R && i(67, Wt = R.transitions), "controlPanel" in R && i(21, ei = R.controlPanel), "initialProps" in R && i(70, ui = R.initialProps), "showBottomWidget" in R && i(51, Ct = R.showBottomWidget), "showMediaSession" in R && i(52, at = R.showMediaSession), "isFullScreen" in R && i(71, ii = R.isFullScreen), "mediaElement" in R && i(42, De = R.mediaElement), "userInterface" in R && i(43, ci = R.userInterface), "widgetInterface" in R && i(44, zt = R.widgetInterface), "controller" in R && i(72, Ze = R.controller), "analyticsUrl" in R && i(73, bi = R.analyticsUrl), "analyticsId" in R && i(74, Mt = R.analyticsId), "listenSessionId" in R && i(75, pe = R.listenSessionId), "sessionCreatedAt" in R && i(76, di = R.sessionCreatedAt), "emitPlayEvent" in R && i(77, fi = R.emitPlayEvent), "prevPercentage" in R && i(45, _i = R.prevPercentage), "segmentWidgets" in R && i(46, hi = R.segmentWidgets), "segmentContainers" in R && i(78, Ai = R.segmentContainers), "segmentClickables" in R && i(79, Ue = R.segmentClickables), "segmentHighlights" in R && i(80, Y = R.segmentHighlights);
25931
25962
  }, t.$$.update = () => {
25932
25963
  t.$$.dirty[0] & /*introsOutrosIndex*/
25933
25964
  256 | t.$$.dirty[1] & /*introsOutros*/
@@ -26051,7 +26082,7 @@ function y2(t, e, i) {
26051
26082
  Ze,
26052
26083
  bi,
26053
26084
  Mt,
26054
- me,
26085
+ pe,
26055
26086
  di,
26056
26087
  fi,
26057
26088
  Ai,
@@ -26084,8 +26115,8 @@ function y2(t, e, i) {
26084
26115
  ur,
26085
26116
  Zt,
26086
26117
  j,
26087
- pe,
26088
26118
  _e,
26119
+ ye,
26089
26120
  ot,
26090
26121
  Ar,
26091
26122
  br,
@@ -26112,14 +26143,14 @@ function y2(t, e, i) {
26112
26143
  Pr
26113
26144
  ];
26114
26145
  }
26115
- let b2 = class extends it {
26146
+ let b2 = class extends rt {
26116
26147
  constructor(e) {
26117
- super(), tt(
26148
+ super(), it(
26118
26149
  this,
26119
26150
  e,
26120
26151
  y2,
26121
26152
  _2,
26122
- et,
26153
+ tt,
26123
26154
  {
26124
26155
  playerApiUrl: 63,
26125
26156
  projectId: 0,
@@ -26966,6 +26997,8 @@ class e3 {
26966
26997
  }
26967
26998
  handlePressedAdvertButton() {
26968
26999
  }
27000
+ handlePressedAdvertImage() {
27001
+ }
26969
27002
  handlePressedAdvertVideo() {
26970
27003
  }
26971
27004
  handlePressedBeyondWords() {
@@ -31054,7 +31087,7 @@ const h6 = () => {
31054
31087
  if (e)
31055
31088
  for (const r of BeyondWords.Player.instances()) {
31056
31089
  const { segment: a, contentIndex: l, segmentIndex: g } = Th(r, e);
31057
- a && r.onEvent(rt({
31090
+ a && r.onEvent($e({
31058
31091
  type: "PressedSegment",
31059
31092
  description: "The user pressed on a segment in the article.",
31060
31093
  initiatedBy: "user",
@@ -31069,7 +31102,7 @@ const h6 = () => {
31069
31102
  const e = document.elementFromPoint(t.clientX, t.clientY), i = (r = Sh(e)) == null ? void 0 : r.getAttribute(Un);
31070
31103
  for (const [a, l] of BeyondWords.Player.instances().entries()) {
31071
31104
  const { segment: g, contentIndex: p, segmentIndex: _ } = Th(l, i);
31072
- _6(a, p, _) && l.onEvent(rt({
31105
+ _6(a, p, _) && l.onEvent($e({
31073
31106
  type: "HoveredSegmentUpdated",
31074
31107
  description: "The user hovered over a different segment in the article.",
31075
31108
  initiatedBy: "user",