@beyondwords/player 0.1.47 → 0.1.48

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
@@ -45,7 +45,7 @@ var bi = (t, e, i) => new Promise((n, o) => {
45
45
  }, a = (r) => r.done ? n(r.value) : Promise.resolve(r.value).then(s, l);
46
46
  a((i = i.apply(t, e)).next());
47
47
  });
48
- /*! version:"0.1.47" */
48
+ /*! version:"0.1.48" */
49
49
  function Q() {
50
50
  }
51
51
  const Eu = (t) => t;
@@ -593,7 +593,7 @@ class Te {
593
593
  }
594
594
  const tc = "4";
595
595
  typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(tc);
596
- const ic = "@beyondwords/player", oo = "0.1.47", ci = (t, e) => {
596
+ const ic = "@beyondwords/player", oo = "0.1.48", ci = (t, e) => {
597
597
  t = [t].flat().join(`
598
598
  `);
599
599
  let i = `${ic}:
@@ -5018,12 +5018,24 @@ function $1() {
5018
5018
  });
5019
5019
  })(ur);
5020
5020
  var em = ur.exports;
5021
- const tm = /* @__PURE__ */ Z1(em), cr = (t) => {
5022
- const e = BeyondWords.Player.instances(), i = [...e.entries()], n = i.map(([s, l]) => ({ p: s, player: l })), o = im(i);
5023
- for (; t && !nm(t) && !(o.size === 0 || om(t)); )
5024
- Ml(sm, t, e, n, o), Ml(lm, t, e, n, o), t = t.parentNode;
5025
- return am(n), n;
5026
- }, im = (t) => {
5021
+ const tm = /* @__PURE__ */ Z1(em), im = (t, e) => {
5022
+ if (t === e)
5023
+ return !0;
5024
+ if (!t || !e)
5025
+ return !1;
5026
+ const i = t.split("/"), n = e.split("/");
5027
+ if (i.length !== n.length)
5028
+ return !1;
5029
+ for (let o = 0; o < i.length; o += 1)
5030
+ if (i[o] !== n[o] && !i[o].startsWith(`${n[o]}[`) && !n[o].startsWith(`${i[o]}[`))
5031
+ return !1;
5032
+ return !0;
5033
+ }, cr = (t) => {
5034
+ const e = BeyondWords.Player.instances(), i = [...e.entries()], n = i.map(([s, l]) => ({ p: s, player: l })), o = nm(i);
5035
+ for (; t && !om(t) && !(o.size === 0 || sm(t)); )
5036
+ Ml(lm, t, e, n, o), Ml(am, t, e, n, o), t = t.parentNode;
5037
+ return rm(n), n;
5038
+ }, nm = (t) => {
5027
5039
  const e = /* @__PURE__ */ new Set();
5028
5040
  for (const [i, n] of t)
5029
5041
  n.content.some((s) => {
@@ -5031,7 +5043,7 @@ const tm = /* @__PURE__ */ Z1(em), cr = (t) => {
5031
5043
  return (l = s.segments) == null ? void 0 : l.length;
5032
5044
  }) && e.add(i);
5033
5045
  return e;
5034
- }, nm = (t) => t === document || t === document.body || t === document.head, om = (t) => {
5046
+ }, om = (t) => t === document || t === document.body || t === document.head, sm = (t) => {
5035
5047
  if (t.onclick || t.onmousedown)
5036
5048
  return !0;
5037
5049
  const e = t.nodeName.toLowerCase();
@@ -5052,12 +5064,12 @@ const tm = /* @__PURE__ */ Z1(em), cr = (t) => {
5052
5064
  a = f, n[l].segment = g, n[l].contentIndex = r, n[l].segmentIndex = d, n[l].segmentElement = e, o.delete(l);
5053
5065
  }
5054
5066
  }
5055
- }, sm = (t) => {
5067
+ }, lm = (t) => {
5056
5068
  const e = t.getAttribute("data-beyondwords-marker");
5057
5069
  return e ? (i) => i.marker === e : null;
5058
- }, lm = (t) => {
5070
+ }, am = (t) => {
5059
5071
  const e = jl(() => Xs(t)), i = jl(() => dr(t));
5060
- return (n) => n.xpath === e() && n.md5 === i();
5072
+ return (n) => im(n.xpath, e()) && n.md5 === i();
5061
5073
  }, jl = (t) => {
5062
5074
  let e, i;
5063
5075
  return () => (i || (e = t(), i = !0), e);
@@ -5073,7 +5085,7 @@ const tm = /* @__PURE__ */ Z1(em), cr = (t) => {
5073
5085
  return Oo.get(t);
5074
5086
  let e = (n = (i = t.textContent) == null ? void 0 : i.replaceAll(/\s+/g, " ")) == null ? void 0 : n.trim();
5075
5087
  return (!e || e === " ") && (e = ""), Oo.set(t, tm(e).toString()), Oo.get(t);
5076
- }, am = (t) => {
5088
+ }, rm = (t) => {
5077
5089
  const e = t.filter((i) => i.segment);
5078
5090
  e.sort((i, n) => {
5079
5091
  const o = zl[i.player.playbackState] || 0, s = zl[n.player.playbackState] || 0;
@@ -5086,18 +5098,18 @@ const tm = /* @__PURE__ */ Z1(em), cr = (t) => {
5086
5098
  });
5087
5099
  for (const [i, n] of e.entries())
5088
5100
  n.precedence = i;
5089
- }, zl = { playing: 2, paused: 1, stopped: 0 }, rm = (t) => {
5101
+ }, zl = { playing: 2, paused: 1, stopped: 0 }, um = (t) => {
5090
5102
  if (!t)
5091
5103
  return;
5092
- const e = um(t.marker);
5104
+ const e = cm(t.marker);
5093
5105
  if (e.length === 1)
5094
5106
  return e[0];
5095
- const i = cm(t.xpath, t.md5);
5107
+ const i = dm(t.xpath, t.md5);
5096
5108
  if (e.length === 0)
5097
5109
  return i[0];
5098
5110
  const n = e.filter((o) => i.includes(o));
5099
5111
  return n.length !== 0 ? n[0] : e[0];
5100
- }, um = (t) => t ? [...document.querySelectorAll(`[data-beyondwords-marker="${t}"]`)] : [], cm = (t, e) => {
5112
+ }, cm = (t) => t ? [...document.querySelectorAll(`[data-beyondwords-marker="${t}"]`)] : [], dm = (t, e) => {
5101
5113
  if (!t || !e)
5102
5114
  return [];
5103
5115
  const i = document.evaluate(t, document), n = [];
@@ -5108,7 +5120,7 @@ const tm = /* @__PURE__ */ Z1(em), cr = (t) => {
5108
5120
  else
5109
5121
  return n;
5110
5122
  }
5111
- }, ii = (t, e, i) => Ce(t, e, e === "style" ? gm(i) : i), dm = /;(?!([^()]*\([^()]*\))*[^()]*\))/, gm = (t) => t.split(dm).filter((e) => e).map((e) => e + " !important").join(";");
5123
+ }, ii = (t, e, i) => Ce(t, e, e === "style" ? fm(i) : i), gm = /;(?!([^()]*\([^()]*\))*[^()]*\))/, fm = (t) => t.split(gm).filter((e) => e).map((e) => e + " !important").join(";");
5112
5124
  function Ll(t, e, i) {
5113
5125
  const n = t.slice();
5114
5126
  return n[79] = e[i].url, n[80] = e[i].contentType, n[81] = e[i].format, n[83] = i, n;
@@ -5540,7 +5552,7 @@ function Fl(t) {
5540
5552
  }
5541
5553
  };
5542
5554
  }
5543
- function fm(t) {
5555
+ function mm(t) {
5544
5556
  let e, i, n = (
5545
5557
  /*content*/
5546
5558
  t[5].length > 0 && Dl(t)
@@ -5570,7 +5582,7 @@ function fm(t) {
5570
5582
  }
5571
5583
  };
5572
5584
  }
5573
- function mm(t, e, i) {
5585
+ function hm(t, e, i) {
5574
5586
  let n, o, s, l, a, r, u, d, g, f, A, m, y, v, T, p, { content: w } = e, { contentIndex: E } = e, { introOrOutro: D } = e, { activeAdvert: S } = e, { advertConsent: P } = e, { maxImageSize: K } = e, { projectId: N } = e, { playlistId: Y } = e, { contentId: ne } = e, { contentLanguage: ue } = e, { platform: ce } = e, { vendorIdentifier: $ } = e, { bundleIdentifier: ee } = e, { playbackState: te } = e, { duration: de } = e, { currentTime: se } = e, { playbackRate: he } = e, { prevPercentage: re } = e, { showUserInterface: k } = e, { videoBehindWidget: C } = e, { videoBehindStatic: R } = e, { videoMightBeShown: L } = e, { widgetPosition: Be } = e, { widgetWidth: Me } = e, { widgetTarget: J } = e, { onEvent: q = () => {
5575
5587
  } } = e, { metadataLoaded: Pe } = e, { video: _e = void 0 } = e, Je, We, $e, Le = 0, Ne = 0, ct = se, Ve, mt;
5576
5588
  const Ge = (U) => i(19, Le = U), ht = () => L, He = () => {
@@ -5636,7 +5648,7 @@ function mm(t, e, i) {
5636
5648
  initiatedBy: "media"
5637
5649
  }));
5638
5650
  }, wt = () => {
5639
- const U = s[p], je = rm(U);
5651
+ const U = s[p], je = um(U);
5640
5652
  q(ve({
5641
5653
  type: "CurrentSegmentUpdated",
5642
5654
  description: "The media's current segment was updated.",
@@ -5837,13 +5849,13 @@ function mm(t, e, i) {
5837
5849
  tt
5838
5850
  ];
5839
5851
  }
5840
- class hm extends Te {
5852
+ class _m extends Te {
5841
5853
  constructor(e) {
5842
5854
  super(), we(
5843
5855
  this,
5844
5856
  e,
5857
+ hm,
5845
5858
  mm,
5846
- fm,
5847
5859
  Se,
5848
5860
  {
5849
5861
  content: 5,
@@ -6048,11 +6060,11 @@ class hm extends Te {
6048
6060
  this.$$set({ video: e }), c();
6049
6061
  }
6050
6062
  }
6051
- function _m(t) {
6063
+ function Am(t) {
6052
6064
  const e = t - 1;
6053
6065
  return e * e * e + 1;
6054
6066
  }
6055
- function Am(t, { delay: e = 0, duration: i = 400, easing: n = _m, x: o = 0, y: s = 0, opacity: l = 0 } = {}) {
6067
+ function ym(t, { delay: e = 0, duration: i = 400, easing: n = Am, x: o = 0, y: s = 0, opacity: l = 0 } = {}) {
6056
6068
  const a = getComputedStyle(t), r = +a.opacity, u = a.transform === "none" ? "" : a.transform, d = r * (1 - l), [g, f] = Tl(o), [A, m] = Tl(s);
6057
6069
  return {
6058
6070
  delay: e,
@@ -6111,25 +6123,25 @@ var gr = function() {
6111
6123
  );
6112
6124
  }(), Qs = typeof window != "undefined" && typeof document != "undefined" && window.document === document, Go = function() {
6113
6125
  return typeof global != "undefined" && global.Math === Math ? global : typeof self != "undefined" && self.Math === Math ? self : typeof window != "undefined" && window.Math === Math ? window : Function("return this")();
6114
- }(), ym = function() {
6126
+ }(), vm = function() {
6115
6127
  return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(Go) : function(t) {
6116
6128
  return setTimeout(function() {
6117
6129
  return t(Date.now());
6118
6130
  }, 1e3 / 60);
6119
6131
  };
6120
- }(), vm = 2;
6121
- function bm(t, e) {
6132
+ }(), bm = 2;
6133
+ function km(t, e) {
6122
6134
  var i = !1, n = !1, o = 0;
6123
6135
  function s() {
6124
6136
  i && (i = !1, t()), n && a();
6125
6137
  }
6126
6138
  function l() {
6127
- ym(s);
6139
+ vm(s);
6128
6140
  }
6129
6141
  function a() {
6130
6142
  var r = Date.now();
6131
6143
  if (i) {
6132
- if (r - o < vm)
6144
+ if (r - o < bm)
6133
6145
  return;
6134
6146
  n = !0;
6135
6147
  } else
@@ -6138,11 +6150,11 @@ function bm(t, e) {
6138
6150
  }
6139
6151
  return a;
6140
6152
  }
6141
- var km = 20, pm = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], Sm = typeof MutationObserver != "undefined", wm = (
6153
+ var pm = 20, Sm = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], wm = typeof MutationObserver != "undefined", Tm = (
6142
6154
  /** @class */
6143
6155
  function() {
6144
6156
  function t() {
6145
- this.connected_ = !1, this.mutationEventsAdded_ = !1, this.mutationsObserver_ = null, this.observers_ = [], this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh = bm(this.refresh.bind(this), km);
6157
+ this.connected_ = !1, this.mutationEventsAdded_ = !1, this.mutationsObserver_ = null, this.observers_ = [], this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh = km(this.refresh.bind(this), pm);
6146
6158
  }
6147
6159
  return t.prototype.addObserver = function(e) {
6148
6160
  ~this.observers_.indexOf(e) || this.observers_.push(e), this.connected_ || this.connect_();
@@ -6160,7 +6172,7 @@ var km = 20, pm = ["top", "right", "bottom", "left", "width", "height", "size",
6160
6172
  return i.broadcastActive();
6161
6173
  }), e.length > 0;
6162
6174
  }, t.prototype.connect_ = function() {
6163
- !Qs || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), Sm ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, {
6175
+ !Qs || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), wm ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, {
6164
6176
  attributes: !0,
6165
6177
  childList: !0,
6166
6178
  characterData: !0,
@@ -6169,7 +6181,7 @@ var km = 20, pm = ["top", "right", "bottom", "left", "width", "height", "size",
6169
6181
  }, t.prototype.disconnect_ = function() {
6170
6182
  !Qs || !this.connected_ || (document.removeEventListener("transitionend", this.onTransitionEnd_), window.removeEventListener("resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && document.removeEventListener("DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = !1, this.connected_ = !1);
6171
6183
  }, t.prototype.onTransitionEnd_ = function(e) {
6172
- var i = e.propertyName, n = i === void 0 ? "" : i, o = pm.some(function(s) {
6184
+ var i = e.propertyName, n = i === void 0 ? "" : i, o = Sm.some(function(s) {
6173
6185
  return !!~n.indexOf(s);
6174
6186
  });
6175
6187
  o && this.refresh();
@@ -6203,42 +6215,42 @@ function Ul(t) {
6203
6215
  return n + Xo(s);
6204
6216
  }, 0);
6205
6217
  }
6206
- function Tm(t) {
6218
+ function Pm(t) {
6207
6219
  for (var e = ["top", "right", "bottom", "left"], i = {}, n = 0, o = e; n < o.length; n++) {
6208
6220
  var s = o[n], l = t["padding-" + s];
6209
6221
  i[s] = Xo(l);
6210
6222
  }
6211
6223
  return i;
6212
6224
  }
6213
- function Pm(t) {
6225
+ function Cm(t) {
6214
6226
  var e = t.getBBox();
6215
6227
  return Cs(0, 0, e.width, e.height);
6216
6228
  }
6217
- function Cm(t) {
6229
+ function Im(t) {
6218
6230
  var e = t.clientWidth, i = t.clientHeight;
6219
6231
  if (!e && !i)
6220
6232
  return mr;
6221
- var n = Fn(t).getComputedStyle(t), o = Tm(n), s = o.left + o.right, l = o.top + o.bottom, a = Xo(n.width), r = Xo(n.height);
6222
- if (n.boxSizing === "border-box" && (Math.round(a + s) !== e && (a -= Ul(n, "left", "right") + s), Math.round(r + l) !== i && (r -= Ul(n, "top", "bottom") + l)), !Bm(t)) {
6233
+ var n = Fn(t).getComputedStyle(t), o = Pm(n), s = o.left + o.right, l = o.top + o.bottom, a = Xo(n.width), r = Xo(n.height);
6234
+ if (n.boxSizing === "border-box" && (Math.round(a + s) !== e && (a -= Ul(n, "left", "right") + s), Math.round(r + l) !== i && (r -= Ul(n, "top", "bottom") + l)), !Vm(t)) {
6223
6235
  var u = Math.round(a + s) - e, d = Math.round(r + l) - i;
6224
6236
  Math.abs(u) !== 1 && (a -= u), Math.abs(d) !== 1 && (r -= d);
6225
6237
  }
6226
6238
  return Cs(o.left, o.top, a, r);
6227
6239
  }
6228
- var Im = /* @__PURE__ */ function() {
6240
+ var Bm = /* @__PURE__ */ function() {
6229
6241
  return typeof SVGGraphicsElement != "undefined" ? function(t) {
6230
6242
  return t instanceof Fn(t).SVGGraphicsElement;
6231
6243
  } : function(t) {
6232
6244
  return t instanceof Fn(t).SVGElement && typeof t.getBBox == "function";
6233
6245
  };
6234
6246
  }();
6235
- function Bm(t) {
6236
- return t === Fn(t).document.documentElement;
6237
- }
6238
6247
  function Vm(t) {
6239
- return Qs ? Im(t) ? Pm(t) : Cm(t) : mr;
6248
+ return t === Fn(t).document.documentElement;
6240
6249
  }
6241
6250
  function Wm(t) {
6251
+ return Qs ? Bm(t) ? Cm(t) : Im(t) : mr;
6252
+ }
6253
+ function Om(t) {
6242
6254
  var e = t.x, i = t.y, n = t.width, o = t.height, s = typeof DOMRectReadOnly != "undefined" ? DOMRectReadOnly : Object, l = Object.create(s.prototype);
6243
6255
  return fr(l, {
6244
6256
  x: e,
@@ -6254,30 +6266,30 @@ function Wm(t) {
6254
6266
  function Cs(t, e, i, n) {
6255
6267
  return { x: t, y: e, width: i, height: n };
6256
6268
  }
6257
- var Om = (
6269
+ var Em = (
6258
6270
  /** @class */
6259
6271
  function() {
6260
6272
  function t(e) {
6261
6273
  this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = Cs(0, 0, 0, 0), this.target = e;
6262
6274
  }
6263
6275
  return t.prototype.isActive = function() {
6264
- var e = Vm(this.target);
6276
+ var e = Wm(this.target);
6265
6277
  return this.contentRect_ = e, e.width !== this.broadcastWidth || e.height !== this.broadcastHeight;
6266
6278
  }, t.prototype.broadcastRect = function() {
6267
6279
  var e = this.contentRect_;
6268
6280
  return this.broadcastWidth = e.width, this.broadcastHeight = e.height, e;
6269
6281
  }, t;
6270
6282
  }()
6271
- ), Em = (
6283
+ ), Mm = (
6272
6284
  /** @class */
6273
6285
  /* @__PURE__ */ function() {
6274
6286
  function t(e, i) {
6275
- var n = Wm(i);
6287
+ var n = Om(i);
6276
6288
  fr(this, { target: e, contentRect: n });
6277
6289
  }
6278
6290
  return t;
6279
6291
  }()
6280
- ), Mm = (
6292
+ ), jm = (
6281
6293
  /** @class */
6282
6294
  function() {
6283
6295
  function t(e, i, n) {
@@ -6292,7 +6304,7 @@ var Om = (
6292
6304
  if (!(e instanceof Fn(e).Element))
6293
6305
  throw new TypeError('parameter 1 is not of type "Element".');
6294
6306
  var i = this.observations_;
6295
- i.has(e) || (i.set(e, new Om(e)), this.controller_.addObserver(this), this.controller_.refresh());
6307
+ i.has(e) || (i.set(e, new Em(e)), this.controller_.addObserver(this), this.controller_.refresh());
6296
6308
  }
6297
6309
  }, t.prototype.unobserve = function(e) {
6298
6310
  if (!arguments.length)
@@ -6313,7 +6325,7 @@ var Om = (
6313
6325
  }, t.prototype.broadcastActive = function() {
6314
6326
  if (this.hasActive()) {
6315
6327
  var e = this.callbackCtx_, i = this.activeObservations_.map(function(n) {
6316
- return new Em(n.target, n.broadcastRect());
6328
+ return new Mm(n.target, n.broadcastRect());
6317
6329
  });
6318
6330
  this.callback_.call(e, i, e), this.clearActive();
6319
6331
  }
@@ -6331,7 +6343,7 @@ var Om = (
6331
6343
  throw new TypeError("Cannot call a class as a function.");
6332
6344
  if (!arguments.length)
6333
6345
  throw new TypeError("1 argument required, but only 0 present.");
6334
- var i = wm.getInstance(), n = new Mm(e, i, this);
6346
+ var i = Tm.getInstance(), n = new jm(e, i, this);
6335
6347
  hr.set(this, n);
6336
6348
  }
6337
6349
  return t;
@@ -6347,11 +6359,11 @@ var Om = (
6347
6359
  return (e = hr.get(this))[t].apply(e, arguments);
6348
6360
  };
6349
6361
  });
6350
- var jm = function() {
6362
+ var zm = function() {
6351
6363
  return typeof Go.ResizeObserver != "undefined" ? Go.ResizeObserver : _r;
6352
6364
  }();
6353
- const xi = (t, e, i) => Ce(t, e, e === "style" ? Lm(i) : i), zm = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Lm = (t) => t.split(zm).filter((e) => e).map((e) => e + " !important").join(";");
6354
- function Dm(t) {
6365
+ const xi = (t, e, i) => Ce(t, e, e === "style" ? Dm(i) : i), Lm = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Dm = (t) => t.split(Lm).filter((e) => e).map((e) => e + " !important").join(";");
6366
+ function xm(t) {
6355
6367
  let e, i, n, o;
6356
6368
  return {
6357
6369
  c() {
@@ -6387,15 +6399,15 @@ function Dm(t) {
6387
6399
  }
6388
6400
  };
6389
6401
  }
6390
- function xm(t, e, i) {
6402
+ function Nm(t, e, i) {
6391
6403
  let { scale: n = 1 } = e, { color: o = "#323232" } = e;
6392
6404
  return t.$$set = (s) => {
6393
6405
  "scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
6394
6406
  }, [n, o];
6395
6407
  }
6396
- class Nm extends Te {
6408
+ class Rm extends Te {
6397
6409
  constructor(e) {
6398
- super(), we(this, e, xm, Dm, Se, { scale: 0, color: 1 });
6410
+ super(), we(this, e, Nm, xm, Se, { scale: 0, color: 1 });
6399
6411
  }
6400
6412
  get scale() {
6401
6413
  return this.$$.ctx[0];
@@ -6410,8 +6422,8 @@ class Nm extends Te {
6410
6422
  this.$$set({ color: e }), c();
6411
6423
  }
6412
6424
  }
6413
- const Ni = (t, e, i) => Ce(t, e, e === "style" ? Fm(i) : i), Rm = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Fm = (t) => t.split(Rm).filter((e) => e).map((e) => e + " !important").join(";");
6414
- function Um(t) {
6425
+ const Ni = (t, e, i) => Ce(t, e, e === "style" ? Um(i) : i), Fm = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Um = (t) => t.split(Fm).filter((e) => e).map((e) => e + " !important").join(";");
6426
+ function qm(t) {
6415
6427
  let e, i, n, o;
6416
6428
  return {
6417
6429
  c() {
@@ -6447,15 +6459,15 @@ function Um(t) {
6447
6459
  }
6448
6460
  };
6449
6461
  }
6450
- function qm(t, e, i) {
6462
+ function Hm(t, e, i) {
6451
6463
  let { scale: n = 1 } = e, { color: o = "#323232" } = e;
6452
6464
  return t.$$set = (s) => {
6453
6465
  "scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
6454
6466
  }, [n, o];
6455
6467
  }
6456
- class Hm extends Te {
6468
+ class Ym extends Te {
6457
6469
  constructor(e) {
6458
- super(), we(this, e, qm, Um, Se, { scale: 0, color: 1 });
6470
+ super(), we(this, e, Hm, qm, Se, { scale: 0, color: 1 });
6459
6471
  }
6460
6472
  get scale() {
6461
6473
  return this.$$.ctx[0];
@@ -6470,10 +6482,10 @@ class Hm extends Te {
6470
6482
  this.$$set({ color: e }), c();
6471
6483
  }
6472
6484
  }
6473
- const ql = (t, e, i) => Yt(t, e, i, 1), On = (t, e, i) => Ce(t, e, e === "style" ? Zm(i) : i), Ym = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Zm = (t) => t.split(Ym).filter((e) => e).map((e) => e + " !important").join(";");
6474
- function Km(t) {
6485
+ const ql = (t, e, i) => Yt(t, e, i, 1), On = (t, e, i) => Ce(t, e, e === "style" ? Km(i) : i), Zm = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Km = (t) => t.split(Zm).filter((e) => e).map((e) => e + " !important").join(";");
6486
+ function Jm(t) {
6475
6487
  let e, i;
6476
- return e = new Nm({
6488
+ return e = new Rm({
6477
6489
  props: {
6478
6490
  scale: (
6479
6491
  /*scale*/
@@ -6510,9 +6522,9 @@ function Km(t) {
6510
6522
  }
6511
6523
  };
6512
6524
  }
6513
- function Jm(t) {
6525
+ function Gm(t) {
6514
6526
  let e, i;
6515
- return e = new Hm({
6527
+ return e = new Ym({
6516
6528
  props: {
6517
6529
  scale: (
6518
6530
  /*scale*/
@@ -6549,9 +6561,9 @@ function Jm(t) {
6549
6561
  }
6550
6562
  };
6551
6563
  }
6552
- function Gm(t) {
6564
+ function Xm(t) {
6553
6565
  let e, i, n, o, s, l;
6554
- const a = [Jm, Km], r = [];
6566
+ const a = [Gm, Jm], r = [];
6555
6567
  function u(d, g) {
6556
6568
  return (
6557
6569
  /*isPlaying*/
@@ -6615,7 +6627,7 @@ function Gm(t) {
6615
6627
  }
6616
6628
  };
6617
6629
  }
6618
- function Xm(t, e, i) {
6630
+ function Qm(t, e, i) {
6619
6631
  let n, { isPlaying: o = !1 } = e, { tabindex: s = 0 } = e, { scale: l = 1 } = e, { color: a = "#323232" } = e, { onEvent: r = () => {
6620
6632
  } } = e;
6621
6633
  const u = (d) => {
@@ -6634,9 +6646,9 @@ function Xm(t, e, i) {
6634
6646
  1 && i(4, n = kt(o ? "pauseAudio" : "playAudio"));
6635
6647
  }, [o, s, l, a, n, u, r];
6636
6648
  }
6637
- class Qm extends Te {
6649
+ class $m extends Te {
6638
6650
  constructor(e) {
6639
- super(), we(this, e, Xm, Gm, Se, {
6651
+ super(), we(this, e, Qm, Xm, Se, {
6640
6652
  isPlaying: 0,
6641
6653
  tabindex: 1,
6642
6654
  scale: 2,
@@ -6675,8 +6687,8 @@ class Qm extends Te {
6675
6687
  this.$$set({ onEvent: e }), c();
6676
6688
  }
6677
6689
  }
6678
- const fn = (t, e, i) => Yt(t, e, i, 1), gi = (t, e, i) => Ce(t, e, e === "style" ? eh(i) : i), $m = /;(?!([^()]*\([^()]*\))*[^()]*\))/, eh = (t) => t.split($m).filter((e) => e).map((e) => e + " !important").join(";");
6679
- function th(t) {
6690
+ const fn = (t, e, i) => Yt(t, e, i, 1), gi = (t, e, i) => Ce(t, e, e === "style" ? th(i) : i), eh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, th = (t) => t.split(eh).filter((e) => e).map((e) => e + " !important").join(";");
6691
+ function ih(t) {
6680
6692
  let e, i, n, o, s, l, a;
6681
6693
  return {
6682
6694
  c() {
@@ -6797,7 +6809,7 @@ function th(t) {
6797
6809
  }
6798
6810
  };
6799
6811
  }
6800
- function ih(t, e, i) {
6812
+ function nh(t, e, i) {
6801
6813
  let n, o, s, l, { rates: a = [] } = e, { rate: r = 1 } = e, { scale: u = 1 } = e, { color: d = "#323232" } = e, { onEvent: g = () => {
6802
6814
  } } = e;
6803
6815
  const f = () => {
@@ -6836,9 +6848,9 @@ function ih(t, e, i) {
6836
6848
  g
6837
6849
  ];
6838
6850
  }
6839
- class nh extends Te {
6851
+ class oh extends Te {
6840
6852
  constructor(e) {
6841
- super(), we(this, e, ih, th, Se, {
6853
+ super(), we(this, e, nh, ih, Se, {
6842
6854
  rates: 8,
6843
6855
  rate: 0,
6844
6856
  scale: 9,
@@ -6877,8 +6889,8 @@ class nh extends Te {
6877
6889
  this.$$set({ onEvent: e }), c();
6878
6890
  }
6879
6891
  }
6880
- const Qt = (t, e, i) => Ce(t, e, e === "style" ? sh(i) : i), oh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, sh = (t) => t.split(oh).filter((e) => e).map((e) => e + " !important").join(";");
6881
- function lh(t) {
6892
+ const Qt = (t, e, i) => Ce(t, e, e === "style" ? lh(i) : i), sh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, lh = (t) => t.split(sh).filter((e) => e).map((e) => e + " !important").join(";");
6893
+ function ah(t) {
6882
6894
  let e, i, n, o, s, l;
6883
6895
  return {
6884
6896
  c() {
@@ -6933,15 +6945,15 @@ function lh(t) {
6933
6945
  }
6934
6946
  };
6935
6947
  }
6936
- function ah(t, e, i) {
6948
+ function rh(t, e, i) {
6937
6949
  let { scale: n = 1 } = e, { color: o = "#323232" } = e, { seconds: s = 10 } = e;
6938
6950
  return t.$$set = (l) => {
6939
6951
  "scale" in l && i(0, n = l.scale), "color" in l && i(1, o = l.color), "seconds" in l && i(2, s = l.seconds);
6940
6952
  }, [n, o, s];
6941
6953
  }
6942
- class rh extends Te {
6954
+ class uh extends Te {
6943
6955
  constructor(e) {
6944
- super(), we(this, e, ah, lh, Se, { scale: 0, color: 1, seconds: 2 });
6956
+ super(), we(this, e, rh, ah, Se, { scale: 0, color: 1, seconds: 2 });
6945
6957
  }
6946
6958
  get scale() {
6947
6959
  return this.$$.ctx[0];
@@ -6962,8 +6974,8 @@ class rh extends Te {
6962
6974
  this.$$set({ seconds: e }), c();
6963
6975
  }
6964
6976
  }
6965
- const Ri = (t, e, i) => Ce(t, e, e === "style" ? ch(i) : i), uh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, ch = (t) => t.split(uh).filter((e) => e).map((e) => e + " !important").join(";");
6966
- function dh(t) {
6977
+ const Ri = (t, e, i) => Ce(t, e, e === "style" ? dh(i) : i), ch = /;(?!([^()]*\([^()]*\))*[^()]*\))/, dh = (t) => t.split(ch).filter((e) => e).map((e) => e + " !important").join(";");
6978
+ function gh(t) {
6967
6979
  let e, i, n, o;
6968
6980
  return {
6969
6981
  c() {
@@ -6999,15 +7011,15 @@ function dh(t) {
6999
7011
  }
7000
7012
  };
7001
7013
  }
7002
- function gh(t, e, i) {
7014
+ function fh(t, e, i) {
7003
7015
  let { scale: n = 1 } = e, { color: o = "#323232" } = e;
7004
7016
  return t.$$set = (s) => {
7005
7017
  "scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
7006
7018
  }, [n, o];
7007
7019
  }
7008
- class fh extends Te {
7020
+ class mh extends Te {
7009
7021
  constructor(e) {
7010
- super(), we(this, e, gh, dh, Se, { scale: 0, color: 1 });
7022
+ super(), we(this, e, fh, gh, Se, { scale: 0, color: 1 });
7011
7023
  }
7012
7024
  get scale() {
7013
7025
  return this.$$.ctx[0];
@@ -7022,8 +7034,8 @@ class fh extends Te {
7022
7034
  this.$$set({ color: e }), c();
7023
7035
  }
7024
7036
  }
7025
- const ki = (t, e, i) => Ce(t, e, e === "style" ? hh(i) : i), mh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, hh = (t) => t.split(mh).filter((e) => e).map((e) => e + " !important").join(";");
7026
- function _h(t) {
7037
+ const ki = (t, e, i) => Ce(t, e, e === "style" ? _h(i) : i), hh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, _h = (t) => t.split(hh).filter((e) => e).map((e) => e + " !important").join(";");
7038
+ function Ah(t) {
7027
7039
  let e, i, n, o, s;
7028
7040
  return {
7029
7041
  c() {
@@ -7070,15 +7082,15 @@ function _h(t) {
7070
7082
  }
7071
7083
  };
7072
7084
  }
7073
- function Ah(t, e, i) {
7085
+ function yh(t, e, i) {
7074
7086
  let { scale: n = 1 } = e, { color: o = "#323232" } = e;
7075
7087
  return t.$$set = (s) => {
7076
7088
  "scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
7077
7089
  }, [n, o];
7078
7090
  }
7079
- class yh extends Te {
7091
+ class vh extends Te {
7080
7092
  constructor(e) {
7081
- super(), we(this, e, Ah, _h, Se, { scale: 0, color: 1 });
7093
+ super(), we(this, e, yh, Ah, Se, { scale: 0, color: 1 });
7082
7094
  }
7083
7095
  get scale() {
7084
7096
  return this.$$.ctx[0];
@@ -7093,10 +7105,10 @@ class yh extends Te {
7093
7105
  this.$$set({ color: e }), c();
7094
7106
  }
7095
7107
  }
7096
- const Eo = (t, e, i) => Ce(t, e, e === "style" ? bh(i) : i), vh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, bh = (t) => t.split(vh).filter((e) => e).map((e) => e + " !important").join(";");
7097
- function kh(t) {
7108
+ const Eo = (t, e, i) => Ce(t, e, e === "style" ? kh(i) : i), bh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, kh = (t) => t.split(bh).filter((e) => e).map((e) => e + " !important").join(";");
7109
+ function ph(t) {
7098
7110
  let e, i;
7099
- return e = new yh({
7111
+ return e = new vh({
7100
7112
  props: {
7101
7113
  scale: (
7102
7114
  /*scale*/
@@ -7133,9 +7145,9 @@ function kh(t) {
7133
7145
  }
7134
7146
  };
7135
7147
  }
7136
- function ph(t) {
7148
+ function Sh(t) {
7137
7149
  let e, i;
7138
- return e = new fh({
7150
+ return e = new mh({
7139
7151
  props: {
7140
7152
  scale: (
7141
7153
  /*scale*/
@@ -7172,9 +7184,9 @@ function ph(t) {
7172
7184
  }
7173
7185
  };
7174
7186
  }
7175
- function Sh(t) {
7187
+ function wh(t) {
7176
7188
  let e, i;
7177
- return e = new rh({
7189
+ return e = new uh({
7178
7190
  props: {
7179
7191
  seconds: (
7180
7192
  /*backwardsSeconds*/
@@ -7217,9 +7229,9 @@ function Sh(t) {
7217
7229
  }
7218
7230
  };
7219
7231
  }
7220
- function wh(t) {
7232
+ function Th(t) {
7221
7233
  let e, i, n, o, s, l;
7222
- const a = [Sh, ph, kh], r = [];
7234
+ const a = [wh, Sh, ph], r = [];
7223
7235
  function u(d, g) {
7224
7236
  return (
7225
7237
  /*isSeconds*/
@@ -7275,7 +7287,7 @@ function wh(t) {
7275
7287
  }
7276
7288
  };
7277
7289
  }
7278
- function Th(t, e, i) {
7290
+ function Ph(t, e, i) {
7279
7291
  let n, o, s, l, { style: a = "segments" } = e, { scale: r = 1 } = e, { color: u = "#323232" } = e, { onEvent: d = () => {
7280
7292
  } } = e, g;
7281
7293
  const f = () => {
@@ -7308,9 +7320,9 @@ function Th(t, e, i) {
7308
7320
  d
7309
7321
  ];
7310
7322
  }
7311
- class Ph extends Te {
7323
+ class Ch extends Te {
7312
7324
  constructor(e) {
7313
- super(), we(this, e, Th, wh, Se, { style: 8, scale: 0, color: 1, onEvent: 9 });
7325
+ super(), we(this, e, Ph, Th, Se, { style: 8, scale: 0, color: 1, onEvent: 9 });
7314
7326
  }
7315
7327
  get style() {
7316
7328
  return this.$$.ctx[8];
@@ -7337,8 +7349,8 @@ class Ph extends Te {
7337
7349
  this.$$set({ onEvent: e }), c();
7338
7350
  }
7339
7351
  }
7340
- const $t = (t, e, i) => Ce(t, e, e === "style" ? Ih(i) : i), Ch = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Ih = (t) => t.split(Ch).filter((e) => e).map((e) => e + " !important").join(";");
7341
- function Bh(t) {
7352
+ const $t = (t, e, i) => Ce(t, e, e === "style" ? Bh(i) : i), Ih = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Bh = (t) => t.split(Ih).filter((e) => e).map((e) => e + " !important").join(";");
7353
+ function Vh(t) {
7342
7354
  let e, i, n, o, s, l;
7343
7355
  return {
7344
7356
  c() {
@@ -7393,15 +7405,15 @@ function Bh(t) {
7393
7405
  }
7394
7406
  };
7395
7407
  }
7396
- function Vh(t, e, i) {
7408
+ function Wh(t, e, i) {
7397
7409
  let { scale: n = 1 } = e, { color: o = "#323232" } = e, { seconds: s = 10 } = e;
7398
7410
  return t.$$set = (l) => {
7399
7411
  "scale" in l && i(0, n = l.scale), "color" in l && i(1, o = l.color), "seconds" in l && i(2, s = l.seconds);
7400
7412
  }, [n, o, s];
7401
7413
  }
7402
- class Wh extends Te {
7414
+ class Oh extends Te {
7403
7415
  constructor(e) {
7404
- super(), we(this, e, Vh, Bh, Se, { scale: 0, color: 1, seconds: 2 });
7416
+ super(), we(this, e, Wh, Vh, Se, { scale: 0, color: 1, seconds: 2 });
7405
7417
  }
7406
7418
  get scale() {
7407
7419
  return this.$$.ctx[0];
@@ -7422,8 +7434,8 @@ class Wh extends Te {
7422
7434
  this.$$set({ seconds: e }), c();
7423
7435
  }
7424
7436
  }
7425
- const Fi = (t, e, i) => Ce(t, e, e === "style" ? Eh(i) : i), Oh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Eh = (t) => t.split(Oh).filter((e) => e).map((e) => e + " !important").join(";");
7426
- function Mh(t) {
7437
+ const Fi = (t, e, i) => Ce(t, e, e === "style" ? Mh(i) : i), Eh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Mh = (t) => t.split(Eh).filter((e) => e).map((e) => e + " !important").join(";");
7438
+ function jh(t) {
7427
7439
  let e, i, n, o;
7428
7440
  return {
7429
7441
  c() {
@@ -7459,15 +7471,15 @@ function Mh(t) {
7459
7471
  }
7460
7472
  };
7461
7473
  }
7462
- function jh(t, e, i) {
7474
+ function zh(t, e, i) {
7463
7475
  let { scale: n = 1 } = e, { color: o = "#323232" } = e;
7464
7476
  return t.$$set = (s) => {
7465
7477
  "scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
7466
7478
  }, [n, o];
7467
7479
  }
7468
- class zh extends Te {
7480
+ class Lh extends Te {
7469
7481
  constructor(e) {
7470
- super(), we(this, e, jh, Mh, Se, { scale: 0, color: 1 });
7482
+ super(), we(this, e, zh, jh, Se, { scale: 0, color: 1 });
7471
7483
  }
7472
7484
  get scale() {
7473
7485
  return this.$$.ctx[0];
@@ -7482,8 +7494,8 @@ class zh extends Te {
7482
7494
  this.$$set({ color: e }), c();
7483
7495
  }
7484
7496
  }
7485
- const pi = (t, e, i) => Ce(t, e, e === "style" ? Dh(i) : i), Lh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Dh = (t) => t.split(Lh).filter((e) => e).map((e) => e + " !important").join(";");
7486
- function xh(t) {
7497
+ const pi = (t, e, i) => Ce(t, e, e === "style" ? xh(i) : i), Dh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, xh = (t) => t.split(Dh).filter((e) => e).map((e) => e + " !important").join(";");
7498
+ function Nh(t) {
7487
7499
  let e, i, n, o, s;
7488
7500
  return {
7489
7501
  c() {
@@ -7530,15 +7542,15 @@ function xh(t) {
7530
7542
  }
7531
7543
  };
7532
7544
  }
7533
- function Nh(t, e, i) {
7545
+ function Rh(t, e, i) {
7534
7546
  let { scale: n = 1 } = e, { color: o = "#323232" } = e;
7535
7547
  return t.$$set = (s) => {
7536
7548
  "scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
7537
7549
  }, [n, o];
7538
7550
  }
7539
- class Rh extends Te {
7551
+ class Fh extends Te {
7540
7552
  constructor(e) {
7541
- super(), we(this, e, Nh, xh, Se, { scale: 0, color: 1 });
7553
+ super(), we(this, e, Rh, Nh, Se, { scale: 0, color: 1 });
7542
7554
  }
7543
7555
  get scale() {
7544
7556
  return this.$$.ctx[0];
@@ -7553,10 +7565,10 @@ class Rh extends Te {
7553
7565
  this.$$set({ color: e }), c();
7554
7566
  }
7555
7567
  }
7556
- const Mo = (t, e, i) => Ce(t, e, e === "style" ? Uh(i) : i), Fh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Uh = (t) => t.split(Fh).filter((e) => e).map((e) => e + " !important").join(";");
7557
- function qh(t) {
7568
+ const Mo = (t, e, i) => Ce(t, e, e === "style" ? qh(i) : i), Uh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, qh = (t) => t.split(Uh).filter((e) => e).map((e) => e + " !important").join(";");
7569
+ function Hh(t) {
7558
7570
  let e, i;
7559
- return e = new Rh({
7571
+ return e = new Fh({
7560
7572
  props: {
7561
7573
  scale: (
7562
7574
  /*scale*/
@@ -7593,9 +7605,9 @@ function qh(t) {
7593
7605
  }
7594
7606
  };
7595
7607
  }
7596
- function Hh(t) {
7608
+ function Yh(t) {
7597
7609
  let e, i;
7598
- return e = new zh({
7610
+ return e = new Lh({
7599
7611
  props: {
7600
7612
  scale: (
7601
7613
  /*scale*/
@@ -7632,9 +7644,9 @@ function Hh(t) {
7632
7644
  }
7633
7645
  };
7634
7646
  }
7635
- function Yh(t) {
7647
+ function Zh(t) {
7636
7648
  let e, i;
7637
- return e = new Wh({
7649
+ return e = new Oh({
7638
7650
  props: {
7639
7651
  seconds: (
7640
7652
  /*forwardsSeconds*/
@@ -7677,9 +7689,9 @@ function Yh(t) {
7677
7689
  }
7678
7690
  };
7679
7691
  }
7680
- function Zh(t) {
7692
+ function Kh(t) {
7681
7693
  let e, i, n, o, s, l;
7682
- const a = [Yh, Hh, qh], r = [];
7694
+ const a = [Zh, Yh, Hh], r = [];
7683
7695
  function u(d, g) {
7684
7696
  return (
7685
7697
  /*isSeconds*/
@@ -7735,7 +7747,7 @@ function Zh(t) {
7735
7747
  }
7736
7748
  };
7737
7749
  }
7738
- function Kh(t, e, i) {
7750
+ function Jh(t, e, i) {
7739
7751
  let n, o, s, l, a, { style: r = "segments" } = e, { scale: u = 1 } = e, { color: d = "#323232" } = e, { onEvent: g = () => {
7740
7752
  } } = e, f;
7741
7753
  const A = () => {
@@ -7770,9 +7782,9 @@ function Kh(t, e, i) {
7770
7782
  n
7771
7783
  ];
7772
7784
  }
7773
- class Jh extends Te {
7785
+ class Gh extends Te {
7774
7786
  constructor(e) {
7775
- super(), we(this, e, Kh, Zh, Se, { style: 8, scale: 0, color: 1, onEvent: 9 });
7787
+ super(), we(this, e, Jh, Kh, Se, { style: 8, scale: 0, color: 1, onEvent: 9 });
7776
7788
  }
7777
7789
  get style() {
7778
7790
  return this.$$.ctx[8];
@@ -7799,8 +7811,8 @@ class Jh extends Te {
7799
7811
  this.$$set({ onEvent: e }), c();
7800
7812
  }
7801
7813
  }
7802
- const fi = (t, e, i) => Ce(t, e, e === "style" ? Xh(i) : i), Gh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Xh = (t) => t.split(Gh).filter((e) => e).map((e) => e + " !important").join(";");
7803
- function Qh(t) {
7814
+ const fi = (t, e, i) => Ce(t, e, e === "style" ? Qh(i) : i), Xh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Qh = (t) => t.split(Xh).filter((e) => e).map((e) => e + " !important").join(";");
7815
+ function $h(t) {
7804
7816
  let e, i, n, o, s, l;
7805
7817
  return {
7806
7818
  c() {
@@ -7847,15 +7859,15 @@ function Qh(t) {
7847
7859
  }
7848
7860
  };
7849
7861
  }
7850
- function $h(t, e, i) {
7862
+ function e0(t, e, i) {
7851
7863
  let { scale: n = 1 } = e, { color: o = "#323232" } = e;
7852
7864
  return t.$$set = (s) => {
7853
7865
  "scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
7854
7866
  }, [n, o];
7855
7867
  }
7856
- class e0 extends Te {
7868
+ class t0 extends Te {
7857
7869
  constructor(e) {
7858
- super(), we(this, e, $h, Qh, Se, { scale: 0, color: 1 });
7870
+ super(), we(this, e, e0, $h, Se, { scale: 0, color: 1 });
7859
7871
  }
7860
7872
  get scale() {
7861
7873
  return this.$$.ctx[0];
@@ -7870,8 +7882,8 @@ class e0 extends Te {
7870
7882
  this.$$set({ color: e }), c();
7871
7883
  }
7872
7884
  }
7873
- const mi = (t, e, i) => Ce(t, e, e === "style" ? i0(i) : i), t0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, i0 = (t) => t.split(t0).filter((e) => e).map((e) => e + " !important").join(";");
7874
- function n0(t) {
7885
+ const mi = (t, e, i) => Ce(t, e, e === "style" ? n0(i) : i), i0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, n0 = (t) => t.split(i0).filter((e) => e).map((e) => e + " !important").join(";");
7886
+ function o0(t) {
7875
7887
  let e, i, n, o, s, l;
7876
7888
  return {
7877
7889
  c() {
@@ -7918,15 +7930,15 @@ function n0(t) {
7918
7930
  }
7919
7931
  };
7920
7932
  }
7921
- function o0(t, e, i) {
7933
+ function s0(t, e, i) {
7922
7934
  let { scale: n = 1 } = e, { color: o = "#323232" } = e;
7923
7935
  return t.$$set = (s) => {
7924
7936
  "scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
7925
7937
  }, [n, o];
7926
7938
  }
7927
- class s0 extends Te {
7939
+ class l0 extends Te {
7928
7940
  constructor(e) {
7929
- super(), we(this, e, o0, n0, Se, { scale: 0, color: 1 });
7941
+ super(), we(this, e, s0, o0, Se, { scale: 0, color: 1 });
7930
7942
  }
7931
7943
  get scale() {
7932
7944
  return this.$$.ctx[0];
@@ -7941,10 +7953,10 @@ class s0 extends Te {
7941
7953
  this.$$set({ color: e }), c();
7942
7954
  }
7943
7955
  }
7944
- const Hl = (t, e, i) => Yt(t, e, i, 1), jo = (t, e, i) => Ce(t, e, e === "style" ? a0(i) : i), l0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, a0 = (t) => t.split(l0).filter((e) => e).map((e) => e + " !important").join(";");
7945
- function r0(t) {
7956
+ const Hl = (t, e, i) => Yt(t, e, i, 1), jo = (t, e, i) => Ce(t, e, e === "style" ? r0(i) : i), a0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, r0 = (t) => t.split(a0).filter((e) => e).map((e) => e + " !important").join(";");
7957
+ function u0(t) {
7946
7958
  let e, i;
7947
- return e = new e0({
7959
+ return e = new t0({
7948
7960
  props: {
7949
7961
  scale: (
7950
7962
  /*scale*/
@@ -7981,9 +7993,9 @@ function r0(t) {
7981
7993
  }
7982
7994
  };
7983
7995
  }
7984
- function u0(t) {
7996
+ function c0(t) {
7985
7997
  let e, i;
7986
- return e = new s0({
7998
+ return e = new l0({
7987
7999
  props: {
7988
8000
  scale: (
7989
8001
  /*scale*/
@@ -8020,9 +8032,9 @@ function u0(t) {
8020
8032
  }
8021
8033
  };
8022
8034
  }
8023
- function c0(t) {
8035
+ function d0(t) {
8024
8036
  let e, i, n, o, s, l, a;
8025
- const r = [u0, r0], u = [];
8037
+ const r = [c0, u0], u = [];
8026
8038
  function d(g, f) {
8027
8039
  return (
8028
8040
  /*playlistShowing*/
@@ -8067,7 +8079,7 @@ function c0(t) {
8067
8079
  }
8068
8080
  };
8069
8081
  }
8070
- function d0(t, e, i) {
8082
+ function g0(t, e, i) {
8071
8083
  let { playlistShowing: n } = e, { playerStyle: o } = e, { scale: s = 1 } = e, { color: l = "#323232" } = e, { onEvent: a = () => {
8072
8084
  } } = e;
8073
8085
  const r = () => {
@@ -8081,9 +8093,9 @@ function d0(t, e, i) {
8081
8093
  "playlistShowing" in u && i(0, n = u.playlistShowing), "playerStyle" in u && i(1, o = u.playerStyle), "scale" in u && i(2, s = u.scale), "color" in u && i(3, l = u.color), "onEvent" in u && i(5, a = u.onEvent);
8082
8094
  }, [n, o, s, l, r, a];
8083
8095
  }
8084
- class g0 extends Te {
8096
+ class f0 extends Te {
8085
8097
  constructor(e) {
8086
- super(), we(this, e, d0, c0, Se, {
8098
+ super(), we(this, e, g0, d0, Se, {
8087
8099
  playlistShowing: 0,
8088
8100
  playerStyle: 1,
8089
8101
  scale: 2,
@@ -8122,8 +8134,8 @@ class g0 extends Te {
8122
8134
  this.$$set({ onEvent: e }), c();
8123
8135
  }
8124
8136
  }
8125
- const Yl = (t, e, i) => Yt(t, e, i, 1), Zl = (t, e, i) => Ce(t, e, e === "style" ? m0(i) : i), f0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, m0 = (t) => t.split(f0).filter((e) => e).map((e) => e + " !important").join(";");
8126
- function h0(t) {
8137
+ const Yl = (t, e, i) => Yt(t, e, i, 1), Zl = (t, e, i) => Ce(t, e, e === "style" ? h0(i) : i), m0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, h0 = (t) => t.split(m0).filter((e) => e).map((e) => e + " !important").join(";");
8138
+ function _0(t) {
8127
8139
  let e, i, n;
8128
8140
  const o = (
8129
8141
  /*#slots*/
@@ -8223,7 +8235,7 @@ function h0(t) {
8223
8235
  }
8224
8236
  };
8225
8237
  }
8226
- function _0(t, e, i) {
8238
+ function A0(t, e, i) {
8227
8239
  let { $$slots: n = {}, $$scope: o } = e, { playerStyle: s } = e, { isMobile: l } = e, { isAdvert: a } = e, { fixedPosition: r } = e, { scale: u } = e, { controlsOrder: d } = e;
8228
8240
  return t.$$set = (g) => {
8229
8241
  "playerStyle" in g && i(0, s = g.playerStyle), "isMobile" in g && i(1, l = g.isMobile), "isAdvert" in g && i(2, a = g.isAdvert), "fixedPosition" in g && i(3, r = g.fixedPosition), "scale" in g && i(4, u = g.scale), "controlsOrder" in g && i(5, d = g.controlsOrder), "$$scope" in g && i(6, o = g.$$scope);
@@ -8238,9 +8250,9 @@ function _0(t, e, i) {
8238
8250
  n
8239
8251
  ];
8240
8252
  }
8241
- class A0 extends Te {
8253
+ class y0 extends Te {
8242
8254
  constructor(e) {
8243
- super(), we(this, e, _0, h0, Se, {
8255
+ super(), we(this, e, A0, _0, Se, {
8244
8256
  playerStyle: 0,
8245
8257
  isMobile: 1,
8246
8258
  isAdvert: 2,
@@ -8286,8 +8298,8 @@ class A0 extends Te {
8286
8298
  this.$$set({ controlsOrder: e }), c();
8287
8299
  }
8288
8300
  }
8289
- const Ui = (t, e, i) => Ce(t, e, e === "style" ? v0(i) : i), y0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, v0 = (t) => t.split(y0).filter((e) => e).map((e) => e + " !important").join(";");
8290
- function b0(t) {
8301
+ const Ui = (t, e, i) => Ce(t, e, e === "style" ? b0(i) : i), v0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, b0 = (t) => t.split(v0).filter((e) => e).map((e) => e + " !important").join(";");
8302
+ function k0(t) {
8291
8303
  let e, i, n, o;
8292
8304
  return {
8293
8305
  c() {
@@ -8323,15 +8335,15 @@ function b0(t) {
8323
8335
  }
8324
8336
  };
8325
8337
  }
8326
- function k0(t, e, i) {
8338
+ function p0(t, e, i) {
8327
8339
  let { scale: n = 1 } = e, { color: o = "#323232" } = e;
8328
8340
  return t.$$set = (s) => {
8329
8341
  "scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
8330
8342
  }, [n, o];
8331
8343
  }
8332
- class p0 extends Te {
8344
+ class S0 extends Te {
8333
8345
  constructor(e) {
8334
- super(), we(this, e, k0, b0, Se, { scale: 0, color: 1 });
8346
+ super(), we(this, e, p0, k0, Se, { scale: 0, color: 1 });
8335
8347
  }
8336
8348
  get scale() {
8337
8349
  return this.$$.ctx[0];
@@ -8346,10 +8358,10 @@ class p0 extends Te {
8346
8358
  this.$$set({ color: e }), c();
8347
8359
  }
8348
8360
  }
8349
- const zo = (t, e, i) => Yt(t, e, i, 1), Ls = (t, e, i) => Ce(t, e, e === "style" ? w0(i) : i), S0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, w0 = (t) => t.split(S0).filter((e) => e).map((e) => e + " !important").join(";");
8361
+ const zo = (t, e, i) => Yt(t, e, i, 1), Ls = (t, e, i) => Ce(t, e, e === "style" ? T0(i) : i), w0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, T0 = (t) => t.split(w0).filter((e) => e).map((e) => e + " !important").join(";");
8350
8362
  function Kl(t) {
8351
8363
  let e, i, n, o, s;
8352
- return i = new p0({
8364
+ return i = new S0({
8353
8365
  props: {
8354
8366
  scale: (
8355
8367
  /*scale*/
@@ -8408,7 +8420,7 @@ function Kl(t) {
8408
8420
  }
8409
8421
  };
8410
8422
  }
8411
- function T0(t) {
8423
+ function P0(t) {
8412
8424
  let e, i, n = (
8413
8425
  /*audioIndex*/
8414
8426
  (t[3] !== -1 || /*videoIndex*/
@@ -8440,7 +8452,7 @@ function T0(t) {
8440
8452
  }
8441
8453
  };
8442
8454
  }
8443
- function P0(t, e, i) {
8455
+ function C0(t, e, i) {
8444
8456
  let { downloadFormats: n } = e, { contentIndex: o } = e, { audio: s } = e, { video: l } = e, { scale: a = 1 } = e, { color: r = "#323232" } = e, { padding: u = 0 } = e, { isVisible: d } = e, { onEvent: g = () => {
8445
8457
  } } = e;
8446
8458
  const f = (v, T, p) => {
@@ -8489,7 +8501,7 @@ function P0(t, e, i) {
8489
8501
  }
8490
8502
  class Ar extends Te {
8491
8503
  constructor(e) {
8492
- super(), we(this, e, P0, T0, Se, {
8504
+ super(), we(this, e, C0, P0, Se, {
8493
8505
  downloadFormats: 7,
8494
8506
  contentIndex: 8,
8495
8507
  audio: 9,
@@ -8556,8 +8568,8 @@ class Ar extends Te {
8556
8568
  this.$$set({ onEvent: e }), c();
8557
8569
  }
8558
8570
  }
8559
- const qi = (t, e, i) => Ce(t, e, e === "style" ? I0(i) : i), C0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, I0 = (t) => t.split(C0).filter((e) => e).map((e) => e + " !important").join(";");
8560
- function B0(t) {
8571
+ const qi = (t, e, i) => Ce(t, e, e === "style" ? B0(i) : i), I0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, B0 = (t) => t.split(I0).filter((e) => e).map((e) => e + " !important").join(";");
8572
+ function V0(t) {
8561
8573
  let e, i, n, o;
8562
8574
  return {
8563
8575
  c() {
@@ -8593,15 +8605,15 @@ function B0(t) {
8593
8605
  }
8594
8606
  };
8595
8607
  }
8596
- function V0(t, e, i) {
8608
+ function W0(t, e, i) {
8597
8609
  let { scale: n = 1 } = e, { color: o = "#323232" } = e;
8598
8610
  return t.$$set = (s) => {
8599
8611
  "scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
8600
8612
  }, [n, o];
8601
8613
  }
8602
- class W0 extends Te {
8614
+ class O0 extends Te {
8603
8615
  constructor(e) {
8604
- super(), we(this, e, V0, B0, Se, { scale: 0, color: 1 });
8616
+ super(), we(this, e, W0, V0, Se, { scale: 0, color: 1 });
8605
8617
  }
8606
8618
  get scale() {
8607
8619
  return this.$$.ctx[0];
@@ -8616,10 +8628,10 @@ class W0 extends Te {
8616
8628
  this.$$set({ color: e }), c();
8617
8629
  }
8618
8630
  }
8619
- const Jl = (t, e, i) => Yt(t, e, i, 1), Ds = (t, e, i) => Ce(t, e, e === "style" ? E0(i) : i), O0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, E0 = (t) => t.split(O0).filter((e) => e).map((e) => e + " !important").join(";");
8620
- function M0(t) {
8631
+ const Jl = (t, e, i) => Yt(t, e, i, 1), Ds = (t, e, i) => Ce(t, e, e === "style" ? M0(i) : i), E0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, M0 = (t) => t.split(E0).filter((e) => e).map((e) => e + " !important").join(";");
8632
+ function j0(t) {
8621
8633
  let e, i, n, o, s;
8622
- return i = new W0({
8634
+ return i = new O0({
8623
8635
  props: {
8624
8636
  scale: (
8625
8637
  /*scale*/
@@ -8667,7 +8679,7 @@ function M0(t) {
8667
8679
  }
8668
8680
  };
8669
8681
  }
8670
- function j0(t, e, i) {
8682
+ function z0(t, e, i) {
8671
8683
  let { scale: n = 1 } = e, { color: o = "#323232" } = e, { onEvent: s = () => {
8672
8684
  } } = e;
8673
8685
  const l = () => {
@@ -8681,9 +8693,9 @@ function j0(t, e, i) {
8681
8693
  "scale" in a && i(0, n = a.scale), "color" in a && i(1, o = a.color), "onEvent" in a && i(3, s = a.onEvent);
8682
8694
  }, [n, o, l, s];
8683
8695
  }
8684
- class z0 extends Te {
8696
+ class L0 extends Te {
8685
8697
  constructor(e) {
8686
- super(), we(this, e, j0, M0, Se, { scale: 0, color: 1, onEvent: 3 });
8698
+ super(), we(this, e, z0, j0, Se, { scale: 0, color: 1, onEvent: 3 });
8687
8699
  }
8688
8700
  get scale() {
8689
8701
  return this.$$.ctx[0];
@@ -8704,8 +8716,8 @@ class z0 extends Te {
8704
8716
  this.$$set({ onEvent: e }), c();
8705
8717
  }
8706
8718
  }
8707
- const Hi = (t, e, i) => Ce(t, e, e === "style" ? D0(i) : i), L0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, D0 = (t) => t.split(L0).filter((e) => e).map((e) => e + " !important").join(";");
8708
- function x0(t) {
8719
+ const Hi = (t, e, i) => Ce(t, e, e === "style" ? x0(i) : i), D0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, x0 = (t) => t.split(D0).filter((e) => e).map((e) => e + " !important").join(";");
8720
+ function N0(t) {
8709
8721
  let e, i, n, o;
8710
8722
  return {
8711
8723
  c() {
@@ -8741,15 +8753,15 @@ function x0(t) {
8741
8753
  }
8742
8754
  };
8743
8755
  }
8744
- function N0(t, e, i) {
8756
+ function R0(t, e, i) {
8745
8757
  let { scale: n = 1 } = e, { color: o = "#323232" } = e;
8746
8758
  return t.$$set = (s) => {
8747
8759
  "scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
8748
8760
  }, [n, o];
8749
8761
  }
8750
- class R0 extends Te {
8762
+ class F0 extends Te {
8751
8763
  constructor(e) {
8752
- super(), we(this, e, N0, x0, Se, { scale: 0, color: 1 });
8764
+ super(), we(this, e, R0, N0, Se, { scale: 0, color: 1 });
8753
8765
  }
8754
8766
  get scale() {
8755
8767
  return this.$$.ctx[0];
@@ -8764,10 +8776,10 @@ class R0 extends Te {
8764
8776
  this.$$set({ color: e }), c();
8765
8777
  }
8766
8778
  }
8767
- const Lo = (t, e, i) => Yt(t, e, i, 1), xs = (t, e, i) => Ce(t, e, e === "style" ? U0(i) : i), F0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, U0 = (t) => t.split(F0).filter((e) => e).map((e) => e + " !important").join(";");
8768
- function q0(t) {
8779
+ const Lo = (t, e, i) => Yt(t, e, i, 1), xs = (t, e, i) => Ce(t, e, e === "style" ? q0(i) : i), U0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, q0 = (t) => t.split(U0).filter((e) => e).map((e) => e + " !important").join(";");
8780
+ function H0(t) {
8769
8781
  let e, i, n, o, s;
8770
- return i = new R0({
8782
+ return i = new F0({
8771
8783
  props: {
8772
8784
  scale: (
8773
8785
  /*scale*/
@@ -8826,7 +8838,7 @@ function q0(t) {
8826
8838
  }
8827
8839
  };
8828
8840
  }
8829
- function H0(t, e, i) {
8841
+ function Y0(t, e, i) {
8830
8842
  let { scale: n = 1 } = e, { color: o = "#323232" } = e, { margin: s = "auto" } = e, { onEvent: l = () => {
8831
8843
  } } = e;
8832
8844
  const a = () => {
@@ -8840,9 +8852,9 @@ function H0(t, e, i) {
8840
8852
  "scale" in r && i(0, n = r.scale), "color" in r && i(1, o = r.color), "margin" in r && i(2, s = r.margin), "onEvent" in r && i(4, l = r.onEvent);
8841
8853
  }, [n, o, s, a, l];
8842
8854
  }
8843
- class Y0 extends Te {
8855
+ class Z0 extends Te {
8844
8856
  constructor(e) {
8845
- super(), we(this, e, H0, q0, Se, {
8857
+ super(), we(this, e, Y0, H0, Se, {
8846
8858
  scale: 0,
8847
8859
  color: 1,
8848
8860
  margin: 2,
@@ -8874,8 +8886,8 @@ class Y0 extends Te {
8874
8886
  this.$$set({ onEvent: e }), c();
8875
8887
  }
8876
8888
  }
8877
- const Gi = (t, e, i) => Ce(t, e, e === "style" ? K0(i) : i), Z0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, K0 = (t) => t.split(Z0).filter((e) => e).map((e) => e + " !important").join(";");
8878
- function J0(t) {
8889
+ const Gi = (t, e, i) => Ce(t, e, e === "style" ? J0(i) : i), K0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, J0 = (t) => t.split(K0).filter((e) => e).map((e) => e + " !important").join(";");
8890
+ function G0(t) {
8879
8891
  let e, i, n, o;
8880
8892
  return {
8881
8893
  c() {
@@ -8911,15 +8923,15 @@ function J0(t) {
8911
8923
  }
8912
8924
  };
8913
8925
  }
8914
- function G0(t, e, i) {
8926
+ function X0(t, e, i) {
8915
8927
  let { scale: n = 1 } = e, { color: o = "#323232" } = e;
8916
8928
  return t.$$set = (s) => {
8917
8929
  "scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
8918
8930
  }, [n, o];
8919
8931
  }
8920
- class X0 extends Te {
8932
+ class Q0 extends Te {
8921
8933
  constructor(e) {
8922
- super(), we(this, e, G0, J0, Se, { scale: 0, color: 1 });
8934
+ super(), we(this, e, X0, G0, Se, { scale: 0, color: 1 });
8923
8935
  }
8924
8936
  get scale() {
8925
8937
  return this.$$.ctx[0];
@@ -8934,8 +8946,8 @@ class X0 extends Te {
8934
8946
  this.$$set({ color: e }), c();
8935
8947
  }
8936
8948
  }
8937
- const yr = (t) => !t || t != null && t.startsWith("http") ? t : `https://${t}`, pn = (t, e, i) => Ce(t, e, e === "style" ? $0(i) : i), Q0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, $0 = (t) => t.split(Q0).filter((e) => e).map((e) => e + " !important").join(";");
8938
- function e_(t) {
8949
+ const yr = (t) => !t || t != null && t.startsWith("http") ? t : `https://${t}`, pn = (t, e, i) => Ce(t, e, e === "style" ? e_(i) : i), $0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, e_ = (t) => t.split($0).filter((e) => e).map((e) => e + " !important").join(";");
8950
+ function t_(t) {
8939
8951
  let e, i, n, o, s;
8940
8952
  return {
8941
8953
  c() {
@@ -9014,7 +9026,7 @@ function e_(t) {
9014
9026
  }
9015
9027
  };
9016
9028
  }
9017
- function t_(t, e, i) {
9029
+ function i_(t, e, i) {
9018
9030
  let n, o, s, { href: l } = e, { scale: a = 1 } = e, { color: r = "#323232" } = e, { playerStyle: u } = e, { controlsOrder: d } = e, { largeImage: g } = e, { isMobile: f } = e, { endVisible: A } = e, { onEvent: m = () => {
9019
9031
  } } = e;
9020
9032
  const y = () => {
@@ -9047,9 +9059,9 @@ function t_(t, e, i) {
9047
9059
  m
9048
9060
  ];
9049
9061
  }
9050
- class i_ extends Te {
9062
+ class n_ extends Te {
9051
9063
  constructor(e) {
9052
- super(), we(this, e, t_, e_, Se, {
9064
+ super(), we(this, e, i_, t_, Se, {
9053
9065
  href: 9,
9054
9066
  scale: 10,
9055
9067
  color: 11,
@@ -9116,8 +9128,8 @@ class i_ extends Te {
9116
9128
  this.$$set({ onEvent: e }), c();
9117
9129
  }
9118
9130
  }
9119
- const Mt = (t, e, i) => Ce(t, e, e === "style" ? o_(i) : i), n_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, o_ = (t) => t.split(n_).filter((e) => e).map((e) => e + " !important").join(";");
9120
- function s_(t) {
9131
+ const Mt = (t, e, i) => Ce(t, e, e === "style" ? s_(i) : i), o_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, s_ = (t) => t.split(o_).filter((e) => e).map((e) => e + " !important").join(";");
9132
+ function l_(t) {
9121
9133
  let e, i, n, o;
9122
9134
  return {
9123
9135
  c() {
@@ -9151,7 +9163,7 @@ function s_(t) {
9151
9163
  }
9152
9164
  };
9153
9165
  }
9154
- function l_(t) {
9166
+ function a_(t) {
9155
9167
  let e, i, n, o;
9156
9168
  return {
9157
9169
  c() {
@@ -9185,12 +9197,12 @@ function l_(t) {
9185
9197
  }
9186
9198
  };
9187
9199
  }
9188
- function a_(t) {
9200
+ function r_(t) {
9189
9201
  let e;
9190
9202
  function i(s, l) {
9191
9203
  return (
9192
9204
  /*circular*/
9193
- s[2] ? l_ : s_
9205
+ s[2] ? a_ : l_
9194
9206
  );
9195
9207
  }
9196
9208
  let n = i(t), o = n(t);
@@ -9211,7 +9223,7 @@ function a_(t) {
9211
9223
  }
9212
9224
  };
9213
9225
  }
9214
- function r_(t, e, i) {
9226
+ function u_(t, e, i) {
9215
9227
  let { scale: n = 1 } = e, { color: o = "#323232" } = e, { circular: s = !0 } = e;
9216
9228
  return t.$$set = (l) => {
9217
9229
  "scale" in l && i(0, n = l.scale), "color" in l && i(1, o = l.color), "circular" in l && i(2, s = l.circular);
@@ -9219,7 +9231,7 @@ function r_(t, e, i) {
9219
9231
  }
9220
9232
  class vr extends Te {
9221
9233
  constructor(e) {
9222
- super(), we(this, e, r_, a_, Se, { scale: 0, color: 1, circular: 2 });
9234
+ super(), we(this, e, u_, r_, Se, { scale: 0, color: 1, circular: 2 });
9223
9235
  }
9224
9236
  get scale() {
9225
9237
  return this.$$.ctx[0];
@@ -9240,8 +9252,8 @@ class vr extends Te {
9240
9252
  this.$$set({ circular: e }), c();
9241
9253
  }
9242
9254
  }
9243
- const Gl = (t, e, i) => Yt(t, e, i, 1), En = (t, e, i) => Ce(t, e, e === "style" ? c_(i) : i), u_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, c_ = (t) => t.split(u_).filter((e) => e).map((e) => e + " !important").join(";");
9244
- function d_(t) {
9255
+ const Gl = (t, e, i) => Yt(t, e, i, 1), En = (t, e, i) => Ce(t, e, e === "style" ? d_(i) : i), c_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, d_ = (t) => t.split(c_).filter((e) => e).map((e) => e + " !important").join(";");
9256
+ function g_(t) {
9245
9257
  let e;
9246
9258
  return {
9247
9259
  c() {
@@ -9258,7 +9270,7 @@ function d_(t) {
9258
9270
  }
9259
9271
  };
9260
9272
  }
9261
- function g_(t) {
9273
+ function f_(t) {
9262
9274
  let e, i, n, o, s, l;
9263
9275
  return i = new vr({
9264
9276
  props: {
@@ -9324,9 +9336,9 @@ function g_(t) {
9324
9336
  }
9325
9337
  };
9326
9338
  }
9327
- function f_(t) {
9339
+ function m_(t) {
9328
9340
  let e, i, n, o;
9329
- const s = [g_, d_], l = [];
9341
+ const s = [f_, g_], l = [];
9330
9342
  function a(r, u) {
9331
9343
  return (
9332
9344
  /*hrefWithProtocol*/
@@ -9357,7 +9369,7 @@ function f_(t) {
9357
9369
  }
9358
9370
  };
9359
9371
  }
9360
- function m_(t, e, i) {
9372
+ function h_(t, e, i) {
9361
9373
  let n, { href: o } = e, { scale: s = 1 } = e, { color: l = "#323232" } = e, { playerStyle: a } = e, { controlsOrder: r } = e, { onEvent: u = () => {
9362
9374
  } } = e;
9363
9375
  const d = () => {
@@ -9383,9 +9395,9 @@ function m_(t, e, i) {
9383
9395
  u
9384
9396
  ];
9385
9397
  }
9386
- class h_ extends Te {
9398
+ class __ extends Te {
9387
9399
  constructor(e) {
9388
- super(), we(this, e, m_, f_, Se, {
9400
+ super(), we(this, e, h_, m_, Se, {
9389
9401
  href: 6,
9390
9402
  scale: 0,
9391
9403
  color: 1,
@@ -9431,8 +9443,8 @@ class h_ extends Te {
9431
9443
  this.$$set({ onEvent: e }), c();
9432
9444
  }
9433
9445
  }
9434
- const Wt = (t, e, i) => Ce(t, e, e === "style" ? A_(i) : i), __ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, A_ = (t) => t.split(__).filter((e) => e).map((e) => e + " !important").join(";");
9435
- function y_(t) {
9446
+ const Wt = (t, e, i) => Ce(t, e, e === "style" ? y_(i) : i), A_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, y_ = (t) => t.split(A_).filter((e) => e).map((e) => e + " !important").join(";");
9447
+ function v_(t) {
9436
9448
  let e, i, n, o, s, l, a, r, u;
9437
9449
  return {
9438
9450
  c() {
@@ -9486,15 +9498,15 @@ function y_(t) {
9486
9498
  }
9487
9499
  };
9488
9500
  }
9489
- function v_(t, e, i) {
9501
+ function b_(t, e, i) {
9490
9502
  let { scale: n = 1 } = e, { color1: o = "#933afb" } = e, { color2: s = "#fb3a41" } = e, l = `gradient-${Math.random()}`;
9491
9503
  return t.$$set = (a) => {
9492
9504
  "scale" in a && i(0, n = a.scale), "color1" in a && i(1, o = a.color1), "color2" in a && i(2, s = a.color2);
9493
9505
  }, [n, o, s, l];
9494
9506
  }
9495
- class b_ extends Te {
9507
+ class k_ extends Te {
9496
9508
  constructor(e) {
9497
- super(), we(this, e, v_, y_, Se, { scale: 0, color1: 1, color2: 2 });
9509
+ super(), we(this, e, b_, v_, Se, { scale: 0, color1: 1, color2: 2 });
9498
9510
  }
9499
9511
  get scale() {
9500
9512
  return this.$$.ctx[0];
@@ -9515,10 +9527,10 @@ class b_ extends Te {
9515
9527
  this.$$set({ color2: e }), c();
9516
9528
  }
9517
9529
  }
9518
- const Xl = (t, e, i) => Yt(t, e, i, 1), Do = (t, e, i) => Ce(t, e, e === "style" ? p_(i) : i), k_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, p_ = (t) => t.split(k_).filter((e) => e).map((e) => e + " !important").join(";");
9519
- function S_(t) {
9530
+ const Xl = (t, e, i) => Yt(t, e, i, 1), Do = (t, e, i) => Ce(t, e, e === "style" ? S_(i) : i), p_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, S_ = (t) => t.split(p_).filter((e) => e).map((e) => e + " !important").join(";");
9531
+ function w_(t) {
9520
9532
  let e, i, n, o, s;
9521
- return i = new b_({ props: { scale: (
9533
+ return i = new k_({ props: { scale: (
9522
9534
  /*scale*/
9523
9535
  t[0]
9524
9536
  ) } }), {
@@ -9567,7 +9579,7 @@ function S_(t) {
9567
9579
  }
9568
9580
  };
9569
9581
  }
9570
- function w_(t, e, i) {
9582
+ function T_(t, e, i) {
9571
9583
  let { scale: n = 1 } = e, { visible: o = !0 } = e, { onEvent: s = () => {
9572
9584
  } } = e;
9573
9585
  const l = () => {
@@ -9583,7 +9595,7 @@ function w_(t, e, i) {
9583
9595
  }
9584
9596
  let br = class extends Te {
9585
9597
  constructor(e) {
9586
- super(), we(this, e, w_, S_, Se, { scale: 0, visible: 1, onEvent: 3 });
9598
+ super(), we(this, e, T_, w_, Se, { scale: 0, visible: 1, onEvent: 3 });
9587
9599
  }
9588
9600
  get scale() {
9589
9601
  return this.$$.ctx[0];
@@ -9604,8 +9616,8 @@ let br = class extends Te {
9604
9616
  this.$$set({ onEvent: e }), c();
9605
9617
  }
9606
9618
  };
9607
- const Xn = (t, e, i) => Ce(t, e, e === "style" ? P_(i) : i), T_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, P_ = (t) => t.split(T_).filter((e) => e).map((e) => e + " !important").join(";");
9608
- function C_(t) {
9619
+ const Xn = (t, e, i) => Ce(t, e, e === "style" ? C_(i) : i), P_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, C_ = (t) => t.split(P_).filter((e) => e).map((e) => e + " !important").join(";");
9620
+ function I_(t) {
9609
9621
  let e, i, n, o, s;
9610
9622
  return i = new vr({
9611
9623
  props: {
@@ -9664,7 +9676,7 @@ function C_(t) {
9664
9676
  }
9665
9677
  };
9666
9678
  }
9667
- function I_(t, e, i) {
9679
+ function B_(t, e, i) {
9668
9680
  let { href: n } = e, { scale: o = 1 } = e, { color: s = "#323232" } = e, { onEvent: l = () => {
9669
9681
  } } = e;
9670
9682
  const a = () => {
@@ -9678,9 +9690,9 @@ function I_(t, e, i) {
9678
9690
  "href" in r && i(0, n = r.href), "scale" in r && i(1, o = r.scale), "color" in r && i(2, s = r.color), "onEvent" in r && i(4, l = r.onEvent);
9679
9691
  }, [n, o, s, a, l];
9680
9692
  }
9681
- class B_ extends Te {
9693
+ class V_ extends Te {
9682
9694
  constructor(e) {
9683
- super(), we(this, e, I_, C_, Se, { href: 0, scale: 1, color: 2, onEvent: 4 });
9695
+ super(), we(this, e, B_, I_, Se, { href: 0, scale: 1, color: 2, onEvent: 4 });
9684
9696
  }
9685
9697
  get href() {
9686
9698
  return this.$$.ctx[0];
@@ -9707,8 +9719,8 @@ class B_ extends Te {
9707
9719
  this.$$set({ onEvent: e }), c();
9708
9720
  }
9709
9721
  }
9710
- const Wi = (t, e, i) => Yt(t, e, i, 1), Ai = (t, e, i) => Ce(t, e, e === "style" ? W_(i) : i), V_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, W_ = (t) => t.split(V_).filter((e) => e).map((e) => e + " !important").join(";");
9711
- function O_(t) {
9722
+ const Wi = (t, e, i) => Yt(t, e, i, 1), Ai = (t, e, i) => Ce(t, e, e === "style" ? O_(i) : i), W_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, O_ = (t) => t.split(W_).filter((e) => e).map((e) => e + " !important").join(";");
9723
+ function E_(t) {
9712
9724
  let e, i;
9713
9725
  return {
9714
9726
  c() {
@@ -9761,7 +9773,7 @@ function O_(t) {
9761
9773
  }
9762
9774
  };
9763
9775
  }
9764
- function E_(t) {
9776
+ function M_(t) {
9765
9777
  let e, i, n, o, s;
9766
9778
  return {
9767
9779
  c() {
@@ -9855,12 +9867,12 @@ function E_(t) {
9855
9867
  }
9856
9868
  };
9857
9869
  }
9858
- function M_(t) {
9870
+ function j_(t) {
9859
9871
  let e;
9860
9872
  function i(s, l) {
9861
9873
  return (
9862
9874
  /*href*/
9863
- s[1] ? E_ : O_
9875
+ s[1] ? M_ : E_
9864
9876
  );
9865
9877
  }
9866
9878
  let n = i(t), o = n(t);
@@ -9881,7 +9893,7 @@ function M_(t) {
9881
9893
  }
9882
9894
  };
9883
9895
  }
9884
- function j_(t, e, i) {
9896
+ function z_(t, e, i) {
9885
9897
  let { src: n } = e, { href: o } = e, { alt: s = "Player Image" } = e, { size: l = 80 } = e, { onEvent: a = () => {
9886
9898
  } } = e;
9887
9899
  const r = () => {
@@ -9895,9 +9907,9 @@ function j_(t, e, i) {
9895
9907
  "src" in u && i(0, n = u.src), "href" in u && i(1, o = u.href), "alt" in u && i(2, s = u.alt), "size" in u && i(3, l = u.size), "onEvent" in u && i(5, a = u.onEvent);
9896
9908
  }, [n, o, s, l, r, a];
9897
9909
  }
9898
- class z_ extends Te {
9910
+ class L_ extends Te {
9899
9911
  constructor(e) {
9900
- super(), we(this, e, j_, M_, Se, {
9912
+ super(), we(this, e, z_, j_, Se, {
9901
9913
  src: 0,
9902
9914
  href: 1,
9903
9915
  alt: 2,
@@ -9936,8 +9948,8 @@ class z_ extends Te {
9936
9948
  this.$$set({ onEvent: e }), c();
9937
9949
  }
9938
9950
  }
9939
- const xo = (t, e, i) => Ce(t, e, e === "style" ? D_(i) : i), L_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, D_ = (t) => t.split(L_).filter((e) => e).map((e) => e + " !important").join(";");
9940
- function x_(t) {
9951
+ const xo = (t, e, i) => Ce(t, e, e === "style" ? x_(i) : i), D_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, x_ = (t) => t.split(D_).filter((e) => e).map((e) => e + " !important").join(";");
9952
+ function N_(t) {
9941
9953
  var o;
9942
9954
  let e, i = (
9943
9955
  /*title*/
@@ -9977,7 +9989,7 @@ function x_(t) {
9977
9989
  }
9978
9990
  };
9979
9991
  }
9980
- function N_(t, e, i) {
9992
+ function R_(t, e, i) {
9981
9993
  let n, o, { title: s } = e, { playerStyle: l } = e, { scale: a = 1 } = e, { visible: r = !0 } = e, { collapsible: u = !1 } = e, { collapsed: d = !1 } = e, { color: g = "#111" } = e, f;
9982
9994
  function A(m) {
9983
9995
  le[m ? "unshift" : "push"](() => {
@@ -10006,7 +10018,7 @@ function N_(t, e, i) {
10006
10018
  }
10007
10019
  class kr extends Te {
10008
10020
  constructor(e) {
10009
- super(), we(this, e, N_, x_, Se, {
10021
+ super(), we(this, e, R_, N_, Se, {
10010
10022
  title: 0,
10011
10023
  playerStyle: 1,
10012
10024
  scale: 4,
@@ -10059,8 +10071,8 @@ class kr extends Te {
10059
10071
  this.$$set({ color: e }), c();
10060
10072
  }
10061
10073
  }
10062
- const Ns = (t, e, i) => Ce(t, e, e === "style" ? F_(i) : i), R_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, F_ = (t) => t.split(R_).filter((e) => e).map((e) => e + " !important").join(";");
10063
- function U_(t) {
10074
+ const Ns = (t, e, i) => Ce(t, e, e === "style" ? U_(i) : i), F_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, U_ = (t) => t.split(F_).filter((e) => e).map((e) => e + " !important").join(";");
10075
+ function q_(t) {
10064
10076
  var n;
10065
10077
  let e, i = (
10066
10078
  /*title*/
@@ -10141,7 +10153,7 @@ function U_(t) {
10141
10153
  }
10142
10154
  };
10143
10155
  }
10144
- function q_(t, e, i) {
10156
+ function H_(t, e, i) {
10145
10157
  let n, o, s, l, { title: a } = e, { maxLines: r = 1 } = e, { maxWidth: u = void 0 } = e, { center: d = !1 } = e, { bold: g = !1 } = e, { flex: f = "0 1 auto" } = e, { scale: A = 1 } = e, { color: m = "#111" } = e;
10146
10158
  return t.$$set = (y) => {
10147
10159
  "title" in y && i(0, a = y.title), "maxLines" in y && i(1, r = y.maxLines), "maxWidth" in y && i(5, u = y.maxWidth), "center" in y && i(2, d = y.center), "bold" in y && i(3, g = y.bold), "flex" in y && i(6, f = y.flex), "scale" in y && i(7, A = y.scale), "color" in y && i(8, m = y.color);
@@ -10168,7 +10180,7 @@ function q_(t, e, i) {
10168
10180
  }
10169
10181
  class hl extends Te {
10170
10182
  constructor(e) {
10171
- super(), we(this, e, q_, U_, Se, {
10183
+ super(), we(this, e, H_, q_, Se, {
10172
10184
  title: 0,
10173
10185
  maxLines: 1,
10174
10186
  maxWidth: 5,
@@ -10236,8 +10248,8 @@ const Qo = (t, e, i = () => {
10236
10248
  description: `The ${o.toLowerCase()} key was pressed while the progress ${e.toLowerCase()} was focussed.`,
10237
10249
  initiatedBy: "user"
10238
10250
  })), (o === "Left" || o === "Right") && i());
10239
- }, Mn = (t, e, i) => Yt(t, e, i, 1), hi = (t, e, i) => Ce(t, e, e === "style" ? Y_(i) : i), H_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Y_ = (t) => t.split(H_).filter((e) => e).map((e) => e + " !important").join(";");
10240
- function Z_(t) {
10251
+ }, Mn = (t, e, i) => Yt(t, e, i, 1), hi = (t, e, i) => Ce(t, e, e === "style" ? Z_(i) : i), Y_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Z_ = (t) => t.split(Y_).filter((e) => e).map((e) => e + " !important").join(";");
10252
+ function K_(t) {
10241
10253
  let e, i, n, o, s, l, a;
10242
10254
  return {
10243
10255
  c() {
@@ -10386,7 +10398,7 @@ function Z_(t) {
10386
10398
  }
10387
10399
  };
10388
10400
  }
10389
- function K_(t, e, i) {
10401
+ function J_(t, e, i) {
10390
10402
  let n, o, s, l, { progress: a = 0 } = e, { duration: r = 0 } = e, { fullWidth: u = !1 } = e, { readonly: d = !1 } = e, { color: g = "#323232" } = e, { onEvent: f = () => {
10391
10403
  } } = e, A, m, y = !0, v = !0;
10392
10404
  const T = () => {
@@ -10476,9 +10488,9 @@ function K_(t, e, i) {
10476
10488
  N
10477
10489
  ];
10478
10490
  }
10479
- class J_ extends Te {
10491
+ class G_ extends Te {
10480
10492
  constructor(e) {
10481
- super(), we(this, e, K_, Z_, Se, {
10493
+ super(), we(this, e, J_, K_, Se, {
10482
10494
  progress: 0,
10483
10495
  duration: 1,
10484
10496
  fullWidth: 2,
@@ -10524,8 +10536,8 @@ class J_ extends Te {
10524
10536
  this.$$set({ onEvent: e }), c();
10525
10537
  }
10526
10538
  }
10527
- const No = (t, e, i) => Yt(t, e, i, 1), Ot = (t, e, i) => Ce(t, e, e === "style" ? X_(i) : i), G_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, X_ = (t) => t.split(G_).filter((e) => e).map((e) => e + " !important").join(";");
10528
- function Q_(t) {
10539
+ const No = (t, e, i) => Yt(t, e, i, 1), Ot = (t, e, i) => Ce(t, e, e === "style" ? Q_(i) : i), X_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Q_ = (t) => t.split(X_).filter((e) => e).map((e) => e + " !important").join(";");
10540
+ function $_(t) {
10529
10541
  let e;
10530
10542
  const i = (
10531
10543
  /*#slots*/
@@ -10576,7 +10588,7 @@ function Q_(t) {
10576
10588
  }
10577
10589
  };
10578
10590
  }
10579
- function $_(t) {
10591
+ function e2(t) {
10580
10592
  let e, i, n, o, s, l, a, r;
10581
10593
  const u = (
10582
10594
  /*#slots*/
@@ -10730,9 +10742,9 @@ function $_(t) {
10730
10742
  }
10731
10743
  };
10732
10744
  }
10733
- function e2(t) {
10745
+ function t2(t) {
10734
10746
  let e, i, n, o;
10735
- const s = [$_, Q_], l = [];
10747
+ const s = [e2, $_], l = [];
10736
10748
  function a(r, u) {
10737
10749
  return (
10738
10750
  /*enabled*/
@@ -10763,7 +10775,7 @@ function e2(t) {
10763
10775
  }
10764
10776
  };
10765
10777
  }
10766
- function t2(t, e, i) {
10778
+ function i2(t, e, i) {
10767
10779
  let n, o, s, l, a, r, { $$slots: u = {}, $$scope: d } = e, { progress: g = 0 } = e, { enabled: f = !1 } = e, { bold: A } = e, { scale: m = 1 } = e, { color: y = "#323232" } = e, { onEvent: v = () => {
10768
10780
  } } = e;
10769
10781
  return t.$$set = (T) => {
@@ -10793,9 +10805,9 @@ function t2(t, e, i) {
10793
10805
  u
10794
10806
  ];
10795
10807
  }
10796
- class i2 extends Te {
10808
+ class n2 extends Te {
10797
10809
  constructor(e) {
10798
- super(), we(this, e, t2, e2, Se, {
10810
+ super(), we(this, e, i2, t2, Se, {
10799
10811
  progress: 9,
10800
10812
  enabled: 0,
10801
10813
  bold: 10,
@@ -10846,8 +10858,8 @@ const Ln = (t) => {
10846
10858
  const e = Math.floor(t / 3600).toString();
10847
10859
  let i = Math.floor(t % 3600 / 60).toString(), n = Math.floor(t % 60).toString();
10848
10860
  return n.length < 2 && (n = `0${n}`), t < 3600 ? `${i}:${n}` : (i.length < 2 && (i = `0${i}`), `${e}:${i}:${n}`);
10849
- }, Ro = (t, e, i) => Yt(t, e, i, 1), n2 = (t, e, i) => Ce(t, e, e === "style" ? s2(i) : i), o2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, s2 = (t) => t.split(o2).filter((e) => e).map((e) => e + " !important").join(";");
10850
- function l2(t) {
10861
+ }, Ro = (t, e, i) => Yt(t, e, i, 1), o2 = (t, e, i) => Ce(t, e, e === "style" ? l2(i) : i), s2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, l2 = (t) => t.split(s2).filter((e) => e).map((e) => e + " !important").join(";");
10862
+ function a2(t) {
10851
10863
  let e, i, n, o = Ln(
10852
10864
  /*remaining*/
10853
10865
  t[1]
@@ -10857,7 +10869,7 @@ function l2(t) {
10857
10869
  e = b("span"), i = oe(
10858
10870
  /*text*/
10859
10871
  t[0]
10860
- ), n = oe(" • "), s = oe(o), n2(e, "class", "countdown-time svelte-mmsohq"), Ro(e, "font-size", 10 * /*scale*/
10872
+ ), n = oe(" • "), s = oe(o), o2(e, "class", "countdown-time svelte-mmsohq"), Ro(e, "font-size", 10 * /*scale*/
10861
10873
  t[2] + "px"), Ro(
10862
10874
  e,
10863
10875
  "color",
@@ -10895,15 +10907,15 @@ function l2(t) {
10895
10907
  }
10896
10908
  };
10897
10909
  }
10898
- function a2(t, e, i) {
10910
+ function r2(t, e, i) {
10899
10911
  let { text: n } = e, { remaining: o } = e, { scale: s = 1 } = e, { color: l = "#323232" } = e;
10900
10912
  return t.$$set = (a) => {
10901
10913
  "text" in a && i(0, n = a.text), "remaining" in a && i(1, o = a.remaining), "scale" in a && i(2, s = a.scale), "color" in a && i(3, l = a.color);
10902
10914
  }, [n, o, s, l];
10903
10915
  }
10904
- class r2 extends Te {
10916
+ class u2 extends Te {
10905
10917
  constructor(e) {
10906
- super(), we(this, e, a2, l2, Se, {
10918
+ super(), we(this, e, r2, a2, Se, {
10907
10919
  text: 0,
10908
10920
  remaining: 1,
10909
10921
  scale: 2,
@@ -10935,15 +10947,15 @@ class r2 extends Te {
10935
10947
  this.$$set({ color: e }), c();
10936
10948
  }
10937
10949
  }
10938
- const Fo = (t, e, i) => Yt(t, e, i, 1), u2 = (t, e, i) => Ce(t, e, e === "style" ? d2(i) : i), c2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, d2 = (t) => t.split(c2).filter((e) => e).map((e) => e + " !important").join(";");
10939
- function g2(t) {
10950
+ const Fo = (t, e, i) => Yt(t, e, i, 1), c2 = (t, e, i) => Ce(t, e, e === "style" ? g2(i) : i), d2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, g2 = (t) => t.split(d2).filter((e) => e).map((e) => e + " !important").join(";");
10951
+ function f2(t) {
10940
10952
  let e, i, n;
10941
10953
  return {
10942
10954
  c() {
10943
10955
  e = b("div"), i = oe(
10944
10956
  /*minutes*/
10945
10957
  t[3]
10946
- ), n = oe(" min"), u2(e, "class", "duration-in-mins svelte-121qsze"), Fo(e, "font-size", 10 * /*scale*/
10958
+ ), n = oe(" min"), c2(e, "class", "duration-in-mins svelte-121qsze"), Fo(e, "font-size", 10 * /*scale*/
10947
10959
  t[1] + "px"), Fo(
10948
10960
  e,
10949
10961
  "color",
@@ -10988,7 +11000,7 @@ function g2(t) {
10988
11000
  }
10989
11001
  };
10990
11002
  }
10991
- function f2(t, e, i) {
11003
+ function m2(t, e, i) {
10992
11004
  let n, { duration: o = 0 } = e, { bold: s = !1 } = e, { scale: l = 1 } = e, { color: a = "#323232" } = e;
10993
11005
  return t.$$set = (r) => {
10994
11006
  "duration" in r && i(4, o = r.duration), "bold" in r && i(0, s = r.bold), "scale" in r && i(1, l = r.scale), "color" in r && i(2, a = r.color);
@@ -10999,7 +11011,7 @@ function f2(t, e, i) {
10999
11011
  }
11000
11012
  class pr extends Te {
11001
11013
  constructor(e) {
11002
- super(), we(this, e, f2, g2, Se, { duration: 4, bold: 0, scale: 1, color: 2 });
11014
+ super(), we(this, e, m2, f2, Se, { duration: 4, bold: 0, scale: 1, color: 2 });
11003
11015
  }
11004
11016
  get duration() {
11005
11017
  return this.$$.ctx[4];
@@ -11026,8 +11038,8 @@ class pr extends Te {
11026
11038
  this.$$set({ color: e }), c();
11027
11039
  }
11028
11040
  }
11029
- const Uo = (t, e, i) => Yt(t, e, i, 1), m2 = (t, e, i) => Ce(t, e, e === "style" ? _2(i) : i), h2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, _2 = (t) => t.split(h2).filter((e) => e).map((e) => e + " !important").join(";");
11030
- function A2(t) {
11041
+ const Uo = (t, e, i) => Yt(t, e, i, 1), h2 = (t, e, i) => Ce(t, e, e === "style" ? A2(i) : i), _2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, A2 = (t) => t.split(_2).filter((e) => e).map((e) => e + " !important").join(";");
11042
+ function y2(t) {
11031
11043
  let e, i = Ln(
11032
11044
  /*currentTime*/
11033
11045
  t[0]
@@ -11037,7 +11049,7 @@ function A2(t) {
11037
11049
  ) + "", l;
11038
11050
  return {
11039
11051
  c() {
11040
- e = b("span"), n = oe(i), o = oe(" / "), l = oe(s), m2(e, "class", "playback-time svelte-17necdw"), Uo(e, "font-size", 10 * /*scale*/
11052
+ e = b("span"), n = oe(i), o = oe(" / "), l = oe(s), h2(e, "class", "playback-time svelte-17necdw"), Uo(e, "font-size", 10 * /*scale*/
11041
11053
  t[2] + "px"), Uo(
11042
11054
  e,
11043
11055
  "color",
@@ -11074,15 +11086,15 @@ function A2(t) {
11074
11086
  }
11075
11087
  };
11076
11088
  }
11077
- function y2(t, e, i) {
11089
+ function v2(t, e, i) {
11078
11090
  let { currentTime: n = 0 } = e, { duration: o = 0 } = e, { scale: s = 1 } = e, { color: l = "#323232" } = e;
11079
11091
  return t.$$set = (a) => {
11080
11092
  "currentTime" in a && i(0, n = a.currentTime), "duration" in a && i(1, o = a.duration), "scale" in a && i(2, s = a.scale), "color" in a && i(3, l = a.color);
11081
11093
  }, [n, o, s, l];
11082
11094
  }
11083
- class v2 extends Te {
11095
+ class b2 extends Te {
11084
11096
  constructor(e) {
11085
- super(), we(this, e, y2, A2, Se, {
11097
+ super(), we(this, e, v2, y2, Se, {
11086
11098
  currentTime: 0,
11087
11099
  duration: 1,
11088
11100
  scale: 2,
@@ -11114,10 +11126,10 @@ class v2 extends Te {
11114
11126
  this.$$set({ color: e }), c();
11115
11127
  }
11116
11128
  }
11117
- const Qn = (t, e, i) => Ce(t, e, e === "style" ? k2(i) : i), b2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, k2 = (t) => t.split(b2).filter((e) => e).map((e) => e + " !important").join(";");
11118
- function p2(t) {
11129
+ const Qn = (t, e, i) => Ce(t, e, e === "style" ? p2(i) : i), k2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, p2 = (t) => t.split(k2).filter((e) => e).map((e) => e + " !important").join(";");
11130
+ function S2(t) {
11119
11131
  let e, i;
11120
- return e = new v2({
11132
+ return e = new b2({
11121
11133
  props: {
11122
11134
  duration: (
11123
11135
  /*duration*/
@@ -11166,7 +11178,7 @@ function p2(t) {
11166
11178
  }
11167
11179
  };
11168
11180
  }
11169
- function S2(t) {
11181
+ function w2(t) {
11170
11182
  let e, i;
11171
11183
  return e = new pr({
11172
11184
  props: {
@@ -11211,9 +11223,9 @@ function S2(t) {
11211
11223
  }
11212
11224
  };
11213
11225
  }
11214
- function w2(t) {
11226
+ function T2(t) {
11215
11227
  let e, i;
11216
- return e = new r2({
11228
+ return e = new u2({
11217
11229
  props: {
11218
11230
  text: "Ad",
11219
11231
  remaining: (
@@ -11257,7 +11269,7 @@ function w2(t) {
11257
11269
  }
11258
11270
  };
11259
11271
  }
11260
- function T2(t) {
11272
+ function P2(t) {
11261
11273
  return {
11262
11274
  c: Q,
11263
11275
  m: Q,
@@ -11267,9 +11279,9 @@ function T2(t) {
11267
11279
  d: Q
11268
11280
  };
11269
11281
  }
11270
- function P2(t) {
11282
+ function C2(t) {
11271
11283
  let e, i, n, o, s, l;
11272
- const a = [T2, w2, S2, p2], r = [];
11284
+ const a = [P2, T2, w2, S2], r = [];
11273
11285
  function u(d, g) {
11274
11286
  return (
11275
11287
  /*isAdvert*/
@@ -11373,7 +11385,7 @@ function P2(t) {
11373
11385
  }
11374
11386
  };
11375
11387
  }
11376
- function C2(t, e, i) {
11388
+ function I2(t, e, i) {
11377
11389
  let n, o, s, l, a, { duration: r = 0 } = e, { currentTime: u = 0 } = e, { playerStyle: d } = e, { positionClasses: g } = e, { isMobile: f } = e, { isAdvert: A } = e, { isStopped: m } = e, { collapsed: y } = e, { largeImage: v } = e, { showBeyondWords: T } = e, { color: p = "323232" } = e;
11378
11390
  return t.$$set = (w) => {
11379
11391
  "duration" in w && i(0, r = w.duration), "currentTime" in w && i(1, u = w.currentTime), "playerStyle" in w && i(2, d = w.playerStyle), "positionClasses" in w && i(3, g = w.positionClasses), "isMobile" in w && i(4, f = w.isMobile), "isAdvert" in w && i(5, A = w.isAdvert), "isStopped" in w && i(6, m = w.isStopped), "collapsed" in w && i(14, y = w.collapsed), "largeImage" in w && i(7, v = w.largeImage), "showBeyondWords" in w && i(8, T = w.showBeyondWords), "color" in w && i(9, p = w.color);
@@ -11403,9 +11415,9 @@ function C2(t, e, i) {
11403
11415
  o
11404
11416
  ];
11405
11417
  }
11406
- class I2 extends Te {
11418
+ class B2 extends Te {
11407
11419
  constructor(e) {
11408
- super(), we(this, e, C2, P2, Se, {
11420
+ super(), we(this, e, I2, C2, Se, {
11409
11421
  duration: 0,
11410
11422
  currentTime: 1,
11411
11423
  playerStyle: 2,
@@ -11486,8 +11498,8 @@ class I2 extends Te {
11486
11498
  this.$$set({ color: e }), c();
11487
11499
  }
11488
11500
  }
11489
- const ei = (t, e, i) => Ce(t, e, e === "style" ? V2(i) : i), B2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, V2 = (t) => t.split(B2).filter((e) => e).map((e) => e + " !important").join(";");
11490
- function W2(t) {
11501
+ const ei = (t, e, i) => Ce(t, e, e === "style" ? W2(i) : i), V2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, W2 = (t) => t.split(V2).filter((e) => e).map((e) => e + " !important").join(";");
11502
+ function O2(t) {
11491
11503
  let e, i, n, o, s, l;
11492
11504
  return {
11493
11505
  c() {
@@ -11537,7 +11549,7 @@ function W2(t) {
11537
11549
  }
11538
11550
  };
11539
11551
  }
11540
- function O2(t, e, i) {
11552
+ function E2(t, e, i) {
11541
11553
  let { scale: n = 1 } = e, { zoom: o = 1 } = e, { color: s = "#323232" } = e, { fill: l = "transparent" } = e;
11542
11554
  return t.$$set = (a) => {
11543
11555
  "scale" in a && i(0, n = a.scale), "zoom" in a && i(1, o = a.zoom), "color" in a && i(2, s = a.color), "fill" in a && i(3, l = a.fill);
@@ -11545,7 +11557,7 @@ function O2(t, e, i) {
11545
11557
  }
11546
11558
  class Sr extends Te {
11547
11559
  constructor(e) {
11548
- super(), we(this, e, O2, W2, Se, { scale: 0, zoom: 1, color: 2, fill: 3 });
11560
+ super(), we(this, e, E2, O2, Se, { scale: 0, zoom: 1, color: 2, fill: 3 });
11549
11561
  }
11550
11562
  get scale() {
11551
11563
  return this.$$.ctx[0];
@@ -11572,12 +11584,12 @@ class Sr extends Te {
11572
11584
  this.$$set({ fill: e }), c();
11573
11585
  }
11574
11586
  }
11575
- const _n = (t, e, i) => Yt(t, e, i, 1), yi = (t, e, i) => Ce(t, e, e === "style" ? M2(i) : i), E2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, M2 = (t) => t.split(E2).filter((e) => e).map((e) => e + " !important").join(";");
11587
+ const _n = (t, e, i) => Yt(t, e, i, 1), yi = (t, e, i) => Ce(t, e, e === "style" ? j2(i) : i), M2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, j2 = (t) => t.split(M2).filter((e) => e).map((e) => e + " !important").join(";");
11576
11588
  function Ql(t, e, i) {
11577
11589
  const n = t.slice();
11578
11590
  return n[19] = e[i].title, n[20] = e[i].duration, n[21] = e[i].audio, n[22] = e[i].video, n[24] = i, n;
11579
11591
  }
11580
- function j2(t) {
11592
+ function z2(t) {
11581
11593
  let e, i = (
11582
11594
  /*i*/
11583
11595
  t[24] + 1 + ""
@@ -11610,7 +11622,7 @@ function j2(t) {
11610
11622
  }
11611
11623
  };
11612
11624
  }
11613
- function z2(t) {
11625
+ function L2(t) {
11614
11626
  let e, i, n;
11615
11627
  return i = new Sr({
11616
11628
  props: {
@@ -11651,7 +11663,7 @@ function z2(t) {
11651
11663
  }
11652
11664
  function $l(t) {
11653
11665
  let e, i, n, o, s, l, a, r, u, d, g, f, A, m, y, v, T, p, w;
11654
- const E = [z2, j2], D = [];
11666
+ const E = [L2, z2], D = [];
11655
11667
  function S(N, Y) {
11656
11668
  return (
11657
11669
  /*i*/
@@ -11856,7 +11868,7 @@ function $l(t) {
11856
11868
  }
11857
11869
  );
11858
11870
  }
11859
- function L2(t) {
11871
+ function D2(t) {
11860
11872
  let e, i, n, o = ni(
11861
11873
  /*content*/
11862
11874
  t[5]
@@ -11970,7 +11982,7 @@ function L2(t) {
11970
11982
  }
11971
11983
  };
11972
11984
  }
11973
- function D2(t, e, i) {
11985
+ function x2(t, e, i) {
11974
11986
  let n, o, s, l, { style: a = "auto" } = e, { downloadFormats: r = [] } = e, { larger: u = !1 } = e, { textColor: d = "#111" } = e, { backgroundColor: g = "#f5f5f5" } = e, { iconColor: f = "#000" } = e, { content: A = [] } = e, { index: m = 0 } = e, { isMobile: y } = e, { onEvent: v } = e, T;
11975
11987
  const p = (S) => () => {
11976
11988
  v(ve({
@@ -12027,9 +12039,9 @@ function D2(t, e, i) {
12027
12039
  D
12028
12040
  ];
12029
12041
  }
12030
- class x2 extends Te {
12042
+ class N2 extends Te {
12031
12043
  constructor(e) {
12032
- super(), we(this, e, D2, L2, Se, {
12044
+ super(), we(this, e, x2, D2, Se, {
12033
12045
  style: 16,
12034
12046
  downloadFormats: 0,
12035
12047
  larger: 1,
@@ -12103,8 +12115,8 @@ class x2 extends Te {
12103
12115
  this.$$set({ onEvent: e }), c();
12104
12116
  }
12105
12117
  }
12106
- const ea = (t, e, i) => Ce(t, e, e === "style" ? R2(i) : i), N2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, R2 = (t) => t.split(N2).filter((e) => e).map((e) => e + " !important").join(";");
12107
- function F2(t) {
12118
+ const ea = (t, e, i) => Ce(t, e, e === "style" ? F2(i) : i), R2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, F2 = (t) => t.split(R2).filter((e) => e).map((e) => e + " !important").join(";");
12119
+ function U2(t) {
12108
12120
  let e, i, n, o;
12109
12121
  const s = (
12110
12122
  /*#slots*/
@@ -12177,7 +12189,7 @@ function F2(t) {
12177
12189
  }
12178
12190
  };
12179
12191
  }
12180
- function U2(t, e, i) {
12192
+ function q2(t, e, i) {
12181
12193
  let { $$slots: n = {}, $$scope: o } = e, { exitDelay: s = 0 } = e, { idleDelay: l = 1 / 0 } = e, { isHovering: a = !1 } = e, r = !0, u = !0, d, g;
12182
12194
  const f = () => {
12183
12195
  d && clearTimeout(d), g && clearTimeout(g), i(6, r = !1), i(7, u = !1);
@@ -12206,9 +12218,9 @@ function U2(t, e, i) {
12206
12218
  n
12207
12219
  ];
12208
12220
  }
12209
- class q2 extends Te {
12221
+ class H2 extends Te {
12210
12222
  constructor(e) {
12211
- super(), we(this, e, U2, F2, Se, {
12223
+ super(), we(this, e, q2, U2, Se, {
12212
12224
  exitDelay: 5,
12213
12225
  idleDelay: 0,
12214
12226
  isHovering: 4
@@ -12233,8 +12245,8 @@ class q2 extends Te {
12233
12245
  this.$$set({ isHovering: e }), c();
12234
12246
  }
12235
12247
  }
12236
- const H2 = (t, e, i) => Ce(t, e, e === "style" ? Z2(i) : i), Y2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Z2 = (t) => t.split(Y2).filter((e) => e).map((e) => e + " !important").join(";");
12237
- function K2(t) {
12248
+ const Y2 = (t, e, i) => Ce(t, e, e === "style" ? K2(i) : i), Z2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, K2 = (t) => t.split(Z2).filter((e) => e).map((e) => e + " !important").join(";");
12249
+ function J2(t) {
12238
12250
  let e, i;
12239
12251
  const n = (
12240
12252
  /*#slots*/
@@ -12248,7 +12260,7 @@ function K2(t) {
12248
12260
  );
12249
12261
  return {
12250
12262
  c() {
12251
- e = b("div"), o && o.c(), H2(e, "class", "visibility svelte-1exdg3");
12263
+ e = b("div"), o && o.c(), Y2(e, "class", "visibility svelte-1exdg3");
12252
12264
  },
12253
12265
  m(s, l) {
12254
12266
  j(s, e, l), o && o.m(e, null), t[8](e), i = !0;
@@ -12285,7 +12297,7 @@ function K2(t) {
12285
12297
  }
12286
12298
  };
12287
12299
  }
12288
- function J2(t, e, i) {
12300
+ function G2(t, e, i) {
12289
12301
  let { $$slots: n = {}, $$scope: o } = e, s, { enabled: l = !1 } = e, { relativeY: a = void 0 } = e, { absoluteY: r = void 0 } = e, { isVisible: u = void 0 } = e, { onEvent: d = () => {
12290
12302
  } } = e;
12291
12303
  const g = ([A]) => {
@@ -12328,9 +12340,9 @@ function J2(t, e, i) {
12328
12340
  f
12329
12341
  ];
12330
12342
  }
12331
- class G2 extends Te {
12343
+ class X2 extends Te {
12332
12344
  constructor(e) {
12333
- super(), we(this, e, J2, K2, Se, {
12345
+ super(), we(this, e, G2, J2, Se, {
12334
12346
  enabled: 4,
12335
12347
  relativeY: 1,
12336
12348
  absoluteY: 2,
@@ -12369,11 +12381,11 @@ class G2 extends Te {
12369
12381
  this.$$set({ onEvent: e }), c();
12370
12382
  }
12371
12383
  }
12372
- const X2 = ({ playerStyle: t, width: e }) => t === "standard" && e < 380 || t === "large" && e < 380 || t === "video" && e < 480 || t === "screen" && e < 640, Q2 = ({ playerStyle: t, position: e, isMobile: i, isAdvert: n }) => t === "screen" || t === "large" && i ? "symmetrical" : t === "standard" && e === "left" ? "left-to-right" : t === "standard" && i || t === "standard" && e === "right" && n ? "right-to-left" : t === "standard" && e === "right" ? "left-to-right-but-swap-ends" : t === "small" && e === "left" ? "left-to-right" : t === "small" && e === "right" ? "right-to-left" : t === "video" && e === "left" ? "left-to-right" : t === "video" && i || t === "video" && e === "right" ? "right-to-left" : "left-to-right", ta = () => document.fullscreenEnabled || document.webkitFullscreenEnabled, $2 = (t) => {
12384
+ const Q2 = ({ playerStyle: t, width: e }) => t === "standard" && e < 380 || t === "large" && e < 380 || t === "video" && e < 480 || t === "screen" && e < 640, $2 = ({ playerStyle: t, position: e, isMobile: i, isAdvert: n }) => t === "screen" || t === "large" && i ? "symmetrical" : t === "standard" && e === "left" ? "left-to-right" : t === "standard" && i || t === "standard" && e === "right" && n ? "right-to-left" : t === "standard" && e === "right" ? "left-to-right-but-swap-ends" : t === "small" && e === "left" ? "left-to-right" : t === "small" && e === "right" ? "right-to-left" : t === "video" && e === "left" ? "left-to-right" : t === "video" && i || t === "video" && e === "right" ? "right-to-left" : "left-to-right", ta = () => document.fullscreenEnabled || document.webkitFullscreenEnabled, eA = (t) => {
12373
12385
  t.requestFullscreen ? t.requestFullscreen() : t.webkitRequestFullscreen && t.webkitRequestFullscreen();
12374
- }, eA = () => {
12386
+ }, tA = () => {
12375
12387
  document.exitFullscreen ? document.exitFullscreen() : document.webkitExitFullscreen && document.webkitExitFullscreen();
12376
- }, ia = () => document.fullscreenElement || document.webkitCurrentFullScreenElement, $o = (t, e, i) => Yt(t, e, i, 1), Oi = (t, e, i) => Ce(t, e, e === "style" ? iA(i) : i), tA = /;(?!([^()]*\([^()]*\))*[^()]*\))/, iA = (t) => t.split(tA).filter((e) => e).map((e) => e + " !important").join(";");
12388
+ }, ia = () => document.fullscreenElement || document.webkitCurrentFullScreenElement, $o = (t, e, i) => Yt(t, e, i, 1), Oi = (t, e, i) => Ce(t, e, e === "style" ? nA(i) : i), iA = /;(?!([^()]*\([^()]*\))*[^()]*\))/, nA = (t) => t.split(iA).filter((e) => e).map((e) => e + " !important").join(";");
12377
12389
  function na(t) {
12378
12390
  let e, i, n, o = !/*videoPosterImage*/
12379
12391
  t[17] && oa(t);
@@ -12409,7 +12421,7 @@ function na(t) {
12409
12421
  }
12410
12422
  function oa(t) {
12411
12423
  let e, i, n, o = kt("videoInWidget") + "", s, l;
12412
- return e = new X0({
12424
+ return e = new Q0({
12413
12425
  props: { color: (
12414
12426
  /*activeIconColor*/
12415
12427
  t[56]
@@ -12451,7 +12463,7 @@ function oa(t) {
12451
12463
  }
12452
12464
  function sa(t) {
12453
12465
  let e, i;
12454
- return e = new z_({
12466
+ return e = new L_({
12455
12467
  props: {
12456
12468
  onEvent: (
12457
12469
  /*onEvent*/
@@ -12608,9 +12620,9 @@ function la(t) {
12608
12620
  }
12609
12621
  };
12610
12622
  }
12611
- function nA(t) {
12623
+ function oA(t) {
12612
12624
  let e, i;
12613
- return e = new Qm({
12625
+ return e = new $m({
12614
12626
  props: {
12615
12627
  onEvent: (
12616
12628
  /*onEvent*/
@@ -12659,9 +12671,9 @@ function nA(t) {
12659
12671
  }
12660
12672
  };
12661
12673
  }
12662
- function oA(t) {
12674
+ function sA(t) {
12663
12675
  let e, i;
12664
- return e = new i2({
12676
+ return e = new n2({
12665
12677
  props: {
12666
12678
  onEvent: (
12667
12679
  /*onEvent*/
@@ -12688,7 +12700,7 @@ function oA(t) {
12688
12700
  /*activeIconColor*/
12689
12701
  t[56]
12690
12702
  ),
12691
- $$slots: { default: [nA] },
12703
+ $$slots: { default: [oA] },
12692
12704
  $$scope: { ctx: t }
12693
12705
  }
12694
12706
  }), {
@@ -12792,7 +12804,7 @@ function aa(t) {
12792
12804
  }
12793
12805
  function ra(t) {
12794
12806
  let e, i, n, o, s, l;
12795
- return e = new nh({
12807
+ return e = new oh({
12796
12808
  props: {
12797
12809
  onEvent: (
12798
12810
  /*onEvent*/
@@ -12815,7 +12827,7 @@ function ra(t) {
12815
12827
  t[58]
12816
12828
  )
12817
12829
  }
12818
- }), n = new Ph({
12830
+ }), n = new Ch({
12819
12831
  props: {
12820
12832
  onEvent: (
12821
12833
  /*onEvent*/
@@ -12834,7 +12846,7 @@ function ra(t) {
12834
12846
  t[56]
12835
12847
  )
12836
12848
  }
12837
- }), s = new Jh({
12849
+ }), s = new Gh({
12838
12850
  props: {
12839
12851
  onEvent: (
12840
12852
  /*onEvent*/
@@ -12950,7 +12962,7 @@ function ua(t) {
12950
12962
  }
12951
12963
  function ca(t) {
12952
12964
  let e, i;
12953
- return e = new J_({
12965
+ return e = new G_({
12954
12966
  props: {
12955
12967
  onEvent: (
12956
12968
  /*onEvent*/
@@ -13013,7 +13025,7 @@ function ca(t) {
13013
13025
  }
13014
13026
  function da(t) {
13015
13027
  let e, i, n, o;
13016
- return e = new i_({
13028
+ return e = new n_({
13017
13029
  props: {
13018
13030
  onEvent: (
13019
13031
  /*onEvent*/
@@ -13057,7 +13069,7 @@ function da(t) {
13057
13069
  t[44]
13058
13070
  )
13059
13071
  }
13060
- }), n = new h_({
13072
+ }), n = new __({
13061
13073
  props: {
13062
13074
  onEvent: (
13063
13075
  /*onEvent*/
@@ -13146,7 +13158,7 @@ function da(t) {
13146
13158
  }
13147
13159
  function ga(t) {
13148
13160
  let e, i;
13149
- return e = new A0({
13161
+ return e = new y0({
13150
13162
  props: {
13151
13163
  playerStyle: (
13152
13164
  /*playerStyle*/
@@ -13172,7 +13184,7 @@ function ga(t) {
13172
13184
  /*fixedPosition*/
13173
13185
  t[8]
13174
13186
  ),
13175
- $$slots: { default: [rA] },
13187
+ $$slots: { default: [uA] },
13176
13188
  $$scope: { ctx: t }
13177
13189
  }
13178
13190
  }), {
@@ -13212,7 +13224,7 @@ function ga(t) {
13212
13224
  }
13213
13225
  };
13214
13226
  }
13215
- function sA(t) {
13227
+ function lA(t) {
13216
13228
  var n, o;
13217
13229
  let e, i;
13218
13230
  return e = new Ar({
@@ -13296,9 +13308,9 @@ function sA(t) {
13296
13308
  }
13297
13309
  };
13298
13310
  }
13299
- function lA(t) {
13311
+ function aA(t) {
13300
13312
  let e, i;
13301
- return e = new g0({
13313
+ return e = new f0({
13302
13314
  props: {
13303
13315
  onEvent: (
13304
13316
  /*onEvent*/
@@ -13356,9 +13368,9 @@ function lA(t) {
13356
13368
  }
13357
13369
  };
13358
13370
  }
13359
- function aA(t) {
13371
+ function rA(t) {
13360
13372
  let e, i;
13361
- return e = new B_({
13373
+ return e = new V_({
13362
13374
  props: {
13363
13375
  onEvent: (
13364
13376
  /*onEvent*/
@@ -13409,7 +13421,7 @@ function aA(t) {
13409
13421
  }
13410
13422
  function fa(t) {
13411
13423
  let e, i;
13412
- return e = new z0({
13424
+ return e = new L0({
13413
13425
  props: {
13414
13426
  onEvent: (
13415
13427
  /*onEvent*/
@@ -13502,12 +13514,12 @@ function ma(t) {
13502
13514
  }
13503
13515
  };
13504
13516
  }
13505
- function rA(t) {
13517
+ function uA(t) {
13506
13518
  let e, i, n, o = (
13507
13519
  /*isVideo*/
13508
13520
  t[21] && ta()
13509
13521
  ), s, l, a;
13510
- const r = [aA, lA, sA], u = [];
13522
+ const r = [rA, aA, lA], u = [];
13511
13523
  function d(A, m) {
13512
13524
  return (
13513
13525
  /*isScreen*/
@@ -13565,7 +13577,7 @@ function rA(t) {
13565
13577
  }
13566
13578
  function ha(t) {
13567
13579
  let e, i, n, o;
13568
- const s = [cA, uA], l = [];
13580
+ const s = [dA, cA], l = [];
13569
13581
  function a(r, u) {
13570
13582
  return (
13571
13583
  /*showCloseWidget*/
@@ -13627,7 +13639,7 @@ function ha(t) {
13627
13639
  }
13628
13640
  };
13629
13641
  }
13630
- function uA(t) {
13642
+ function cA(t) {
13631
13643
  let e, i;
13632
13644
  return e = new br({
13633
13645
  props: {
@@ -13677,9 +13689,9 @@ function uA(t) {
13677
13689
  }
13678
13690
  };
13679
13691
  }
13680
- function cA(t) {
13692
+ function dA(t) {
13681
13693
  let e, i;
13682
- return e = new Y0({
13694
+ return e = new Z0({
13683
13695
  props: {
13684
13696
  onEvent: (
13685
13697
  /*onEvent*/
@@ -13728,7 +13740,7 @@ function cA(t) {
13728
13740
  }
13729
13741
  };
13730
13742
  }
13731
- function dA(t) {
13743
+ function gA(t) {
13732
13744
  let e, i, n, o, s, l, a, r, u, d, g, f, A, m, y, v, T, p, w, E, D, S, P = (
13733
13745
  /*isVideo*/
13734
13746
  t[21] && /*videoPosterImage*/
@@ -13760,7 +13772,7 @@ function dA(t) {
13760
13772
  ),
13761
13773
  enabled: !/*fixedPosition*/
13762
13774
  t[8],
13763
- $$slots: { default: [oA] },
13775
+ $$slots: { default: [sA] },
13764
13776
  $$scope: { ctx: t }
13765
13777
  };
13766
13778
  /*isVisible*/
@@ -13769,7 +13781,7 @@ function dA(t) {
13769
13781
  t[1] !== void 0 && (ce.relativeY = /*relativeY*/
13770
13782
  t[1]), /*absoluteY*/
13771
13783
  t[2] !== void 0 && (ce.absoluteY = /*absoluteY*/
13772
- t[2]), l = new G2({ props: ce }), le.push(() => ke(l, "isVisible", Y)), le.push(() => ke(l, "relativeY", ne)), le.push(() => ke(l, "absoluteY", ue));
13784
+ t[2]), l = new X2({ props: ce }), le.push(() => ke(l, "isVisible", Y)), le.push(() => ke(l, "relativeY", ne)), le.push(() => ke(l, "absoluteY", ue));
13773
13785
  let $ = (
13774
13786
  /*isStandard*/
13775
13787
  (t[28] && /*isStopped*/
@@ -13789,7 +13801,7 @@ function dA(t) {
13789
13801
  t[19] > 720 && /*controlsOrder*/
13790
13802
  t[22] !== "left-to-right-but-swap-ends" && ua(t)
13791
13803
  );
13792
- m = new I2({
13804
+ m = new B2({
13793
13805
  props: {
13794
13806
  currentTime: (
13795
13807
  /*currentTime*/
@@ -14009,7 +14021,7 @@ function dA(t) {
14009
14021
  }
14010
14022
  function _a(t) {
14011
14023
  let e, i;
14012
- return e = new x2({
14024
+ return e = new N2({
14013
14025
  props: {
14014
14026
  onEvent: (
14015
14027
  /*onEvent*/
@@ -14097,7 +14109,7 @@ function _a(t) {
14097
14109
  }
14098
14110
  };
14099
14111
  }
14100
- function gA(t) {
14112
+ function fA(t) {
14101
14113
  let e, i, n, o, s, l, a, r, u;
14102
14114
  function d(A) {
14103
14115
  t[87](A);
@@ -14111,12 +14123,12 @@ function gA(t) {
14111
14123
  /*isVideo*/
14112
14124
  t[21] ? 1500 : 1 / 0
14113
14125
  ),
14114
- $$slots: { default: [dA] },
14126
+ $$slots: { default: [gA] },
14115
14127
  $$scope: { ctx: t }
14116
14128
  };
14117
14129
  /*isHovering*/
14118
14130
  t[20] !== void 0 && (g.isHovering = /*isHovering*/
14119
- t[20]), i = new q2({ props: g }), le.push(() => ke(i, "isHovering", d));
14131
+ t[20]), i = new H2({ props: g }), le.push(() => ke(i, "isHovering", d));
14120
14132
  let f = (
14121
14133
  /*showPlaylist*/
14122
14134
  t[42] && _a(t)
@@ -14250,7 +14262,7 @@ function gA(t) {
14250
14262
  }
14251
14263
  };
14252
14264
  }
14253
- function fA(t, e, i) {
14265
+ function mA(t, e, i) {
14254
14266
  let n, o, s, l, a, r, u, d, g, f, A, m, y, v, T, p, w, E, D, S, P, K, N, Y, ne, ue, ce, $, ee, te, de, se, he, re, k, C, R, L, Be, Me, J, q, Pe;
14255
14267
  import("./././././././././style.js");
14256
14268
  let { playerStyle: _e = "standard" } = e, { callToAction: Je = void 0 } = e, { skipButtonStyle: We = "auto" } = e, { playlistStyle: $e = "auto-5-4" } = e, { playlistToggle: Le = "auto" } = e, { downloadFormats: Ne = [] } = e, { playerTitle: ct = void 0 } = e, { fixedPosition: Ve = void 0 } = e, { fixedWidth: mt = "auto" } = e, { content: Ge = [] } = e, { contentIndex: ht = 0 } = e, { duration: He = 0 } = e, { currentTime: it = 0 } = e, { playbackState: _t = "stopped" } = e, { playbackRate: Ye = 1 } = e, { playbackRates: At = [] } = e, { activeAdvert: Oe = void 0 } = e, { persistentAdvert: Ze = void 0 } = e, { companionAdvert: Ke = void 0 } = e, { textColor: yt = "#111" } = e, { backgroundColor: Re = "#f5f5f5" } = e, { iconColor: pt = "black" } = e, { videoTextColor: St = "white" } = e, { videoBackgroundColor: wt = "black" } = e, { videoIconColor: Xe = "white" } = e, { logoIconEnabled: et = !0 } = e, { logoImagePosition: Bt = void 0 } = e, { maxImageSize: ot = 0 } = e, { onEvent: vt = () => {
@@ -14265,7 +14277,7 @@ function fA(t, e, i) {
14265
14277
  }));
14266
14278
  };
14267
14279
  vo(() => {
14268
- const W = new jm(([Lt]) => {
14280
+ const W = new zm(([Lt]) => {
14269
14281
  i(19, U = Lt.contentRect.width);
14270
14282
  });
14271
14283
  return W.observe(tt), () => W.unobserve(tt);
@@ -14301,7 +14313,7 @@ function fA(t, e, i) {
14301
14313
  536870912 | t.$$.dirty[2] & /*activeAdvert*/
14302
14314
  64 && i(27, d = Oe && !u), t.$$.dirty[0] & /*content*/
14303
14315
  512 && i(80, g = Ge.length > 1), t.$$.dirty[0] & /*playerStyle, width*/
14304
- 524296 && i(31, f = X2({ playerStyle: _e, width: U })), t.$$.dirty[0] & /*content, contentIndex*/
14316
+ 524296 && i(31, f = Q2({ playerStyle: _e, width: U })), t.$$.dirty[0] & /*content, contentIndex*/
14305
14317
  1536 && i(33, A = Ge[ht] || {}), t.$$.dirty[0] & /*currentTime, duration*/
14306
14318
  6144 && i(59, m = it / He), t.$$.dirty[0] & /*isAdvert*/
14307
14319
  134217728 | t.$$.dirty[2] & /*activeAdvert, textColor*/
@@ -14335,10 +14347,10 @@ function fA(t, e, i) {
14335
14347
  268435712 && i(83, ue = Ve === "auto" ? o ? "center" : "right" : Ve), t.$$.dirty[0] & /*fixedPosition*/
14336
14348
  256 | t.$$.dirty[2] & /*position*/
14337
14349
  2097152 && i(23, ce = Ve ? `fixed fixed-${ue}` : ""), t.$$.dirty[0] & /*fixedPosition, isSmall, isStandard*/
14338
- 285212928 && i(49, $ = (W) => Ve && !window.disableAnimation && Am(W, { y: n || o ? 40 : 100 })), t.$$.dirty[0] & /*playerStyle, isAdvert*/
14350
+ 285212928 && i(49, $ = (W) => Ve && !window.disableAnimation && ym(W, { y: n || o ? 40 : 100 })), t.$$.dirty[0] & /*playerStyle, isAdvert*/
14339
14351
  134217736 | t.$$.dirty[1] & /*isMobile*/
14340
14352
  1 | t.$$.dirty[2] & /*position*/
14341
- 2097152 && i(22, ee = Q2({
14353
+ 2097152 && i(22, ee = $2({
14342
14354
  playerStyle: _e,
14343
14355
  position: ue,
14344
14356
  isMobile: f,
@@ -14467,8 +14479,8 @@ class _l extends Te {
14467
14479
  super(), we(
14468
14480
  this,
14469
14481
  e,
14482
+ mA,
14470
14483
  fA,
14471
- gA,
14472
14484
  Se,
14473
14485
  {
14474
14486
  playerStyle: 3,
@@ -14722,8 +14734,8 @@ class _l extends Te {
14722
14734
  this.$$set({ absoluteY: e }), c();
14723
14735
  }
14724
14736
  }
14725
- const Rs = (t, e, i) => Ce(t, e, e === "style" ? hA(i) : i), mA = /;(?!([^()]*\([^()]*\))*[^()]*\))/, hA = (t) => t.split(mA).filter((e) => e).map((e) => e + " !important").join(";");
14726
- function _A(t) {
14737
+ const Rs = (t, e, i) => Ce(t, e, e === "style" ? _A(i) : i), hA = /;(?!([^()]*\([^()]*\))*[^()]*\))/, _A = (t) => t.split(hA).filter((e) => e).map((e) => e + " !important").join(";");
14738
+ function AA(t) {
14727
14739
  let e, i, n;
14728
14740
  const o = (
14729
14741
  /*#slots*/
@@ -14777,7 +14789,7 @@ function _A(t) {
14777
14789
  }
14778
14790
  };
14779
14791
  }
14780
- function AA(t, e, i) {
14792
+ function yA(t, e, i) {
14781
14793
  let n, { $$slots: o = {}, $$scope: s } = e, { root: l = void 0 } = e, { prepend: a = !1 } = e, r, u;
14782
14794
  vo(() => i(3, u = r.parentNode));
14783
14795
  const d = (A, m) => A.insertBefore(m, A.firstChild), g = (A, m) => A.appendChild(m);
@@ -14798,7 +14810,7 @@ function AA(t, e, i) {
14798
14810
  }
14799
14811
  class Is extends Te {
14800
14812
  constructor(e) {
14801
- super(), we(this, e, AA, _A, Se, { root: 0, prepend: 2 });
14813
+ super(), we(this, e, yA, AA, Se, { root: 0, prepend: 2 });
14802
14814
  }
14803
14815
  get root() {
14804
14816
  return this.$$.ctx[0];
@@ -14813,7 +14825,7 @@ class Is extends Te {
14813
14825
  this.$$set({ prepend: e }), c();
14814
14826
  }
14815
14827
  }
14816
- const M = (t, e, i) => Ce(t, e, e === "style" ? vA(i) : i), yA = /;(?!([^()]*\([^()]*\))*[^()]*\))/, vA = (t) => t.split(yA).filter((e) => e).map((e) => e + " !important").join(";");
14828
+ const M = (t, e, i) => Ce(t, e, e === "style" ? bA(i) : i), vA = /;(?!([^()]*\([^()]*\))*[^()]*\))/, bA = (t) => t.split(vA).filter((e) => e).map((e) => e + " !important").join(";");
14817
14829
  function Aa(t, e, i) {
14818
14830
  const n = t.slice();
14819
14831
  return n[88] = e[i], n[90] = i, n;
@@ -14826,7 +14838,7 @@ function va(t, e, i) {
14826
14838
  const n = t.slice();
14827
14839
  return n[88] = e[i], n[90] = i, n;
14828
14840
  }
14829
- function bA(t, e, i) {
14841
+ function kA(t, e, i) {
14830
14842
  const n = t.slice();
14831
14843
  return n[93] = e[i], n;
14832
14844
  }
@@ -14860,7 +14872,7 @@ function ka(t) {
14860
14872
  }
14861
14873
  };
14862
14874
  }
14863
- function kA(t) {
14875
+ function pA(t) {
14864
14876
  let e;
14865
14877
  return {
14866
14878
  c() {
@@ -15463,7 +15475,7 @@ function Ta(t) {
15463
15475
  }
15464
15476
  };
15465
15477
  }
15466
- function pA(t) {
15478
+ function SA(t) {
15467
15479
  let e, i, n;
15468
15480
  return {
15469
15481
  c() {
@@ -15483,7 +15495,7 @@ function pA(t) {
15483
15495
  }
15484
15496
  };
15485
15497
  }
15486
- function SA(t) {
15498
+ function wA(t) {
15487
15499
  let e, i, n;
15488
15500
  return {
15489
15501
  c() {
@@ -15503,7 +15515,7 @@ function SA(t) {
15503
15515
  }
15504
15516
  };
15505
15517
  }
15506
- function wA(t) {
15518
+ function TA(t) {
15507
15519
  let e, i, n, o, s, l, a, r, u, d, g, f, A, m, y, v, T, p, w, E, D, S, P, K, N, Y, ne, ue, ce, $, ee, te, de, se, he, re, k, C, R, L, Be, Me, J, q, Pe, _e, Je, We, $e, Le, Ne, ct, Ve, mt, Ge, ht, He, it, _t, Ye, At, Oe, Ze, Ke, yt, Re, pt, St, wt, Xe, et, Bt, ot, vt, st, Tt, ut, qe, De, nt, tt, U, je, Qe, jt, zt, Ct, bt, Ae, B, V, W, Lt, ui, wi, Dt, Ti, Zt, Di, dt, di, xt, Pi, Et, oi, Ci, Nt, vi, si, an, Ft, Ki, Rt, Ut, gt, Kt, ft, qt, It, x, X, ae, Jt, rn, un, cn, dn, ko, bn, po, Ei, So, Kn, wo, To, Jn, Po, gn = ni(
15508
15520
  /*adverts*/
15509
15521
  t[43]
@@ -15512,7 +15524,7 @@ function wA(t) {
15512
15524
  Gt[ye] = ka(ba(t, gn, ye));
15513
15525
  let Bs = ni([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]), kn = [];
15514
15526
  for (let ye = 0; ye < 12; ye += 1)
15515
- kn[ye] = kA(bA(t, Bs, ye));
15527
+ kn[ye] = pA(kA(t, Bs, ye));
15516
15528
  let li = (
15517
15529
  /*showAdvancedSettings*/
15518
15530
  t[44] && pa(t)
@@ -15520,7 +15532,7 @@ function wA(t) {
15520
15532
  function Co(ye, lt) {
15521
15533
  return (
15522
15534
  /*showAdvancedSettings*/
15523
- ye[44] ? SA : pA
15535
+ ye[44] ? wA : SA
15524
15536
  );
15525
15537
  }
15526
15538
  let Vn = Co(t), Ii = Vn(t);
@@ -15945,7 +15957,7 @@ function wA(t) {
15945
15957
  }
15946
15958
  };
15947
15959
  }
15948
- function TA(t, e, i) {
15960
+ function PA(t, e, i) {
15949
15961
  import("./././././././././style.js");
15950
15962
  let { projectId: n } = e, { contentId: o } = e, { playlistId: s } = e, { sourceId: l } = e, { sourceUrl: a } = e, { showUserInterface: r } = e, { playerStyle: u } = e, { playerTitle: d } = e, { callToAction: g } = e, { skipButtonStyle: f } = e, { playlistStyle: A } = e, { playlistToggle: m } = e, { mediaSession: y } = e, { content: v } = e, { contentIndex: T } = e, { introsOutros: p } = e, { introsOutrosIndex: w } = e, { adverts: E } = e, { advertIndex: D } = e, { persistentAdImage: S } = e, { persistentIndex: P } = e, { duration: K } = e, { currentTime: N } = e, { playbackState: Y } = e, { playbackRate: ne } = e, { widgetStyle: ue } = e, { widgetPosition: ce } = e, { widgetWidth: $ } = e, { widgetTarget: ee } = e, { textColor: te } = e, { backgroundColor: de } = e, { iconColor: se } = e, { highlightColor: he } = e, { videoTextColor: re } = e, { videoIconColor: k } = e, { logoIconEnabled: C } = e, { highlightSections: R } = e, { clickableSections: L } = e, { segmentWidgetSections: Be } = e, { segmentWidgetPosition: Me } = e, { advertConsent: J } = e, { analyticsConsent: q } = e, { analyticsCustomUrl: Pe } = e, { analyticsTag: _e } = e, Je = !1;
15951
15963
  function We() {
@@ -16165,13 +16177,13 @@ function TA(t, e, i) {
16165
16177
  B
16166
16178
  ];
16167
16179
  }
16168
- class PA extends Te {
16180
+ class CA extends Te {
16169
16181
  constructor(e) {
16170
16182
  super(), we(
16171
16183
  this,
16172
16184
  e,
16185
+ PA,
16173
16186
  TA,
16174
- wA,
16175
16187
  Se,
16176
16188
  {
16177
16189
  projectId: 0,
@@ -16488,27 +16500,27 @@ class PA extends Te {
16488
16500
  this.$$set({ analyticsTag: e }), c();
16489
16501
  }
16490
16502
  }
16491
- const CA = (t, e, i) => {
16492
- VA(t);
16503
+ const IA = (t, e, i) => {
16504
+ WA(t);
16493
16505
  const n = new Image();
16494
16506
  return n.setAttribute("crossorigin", "anonymous"), new Promise((o, s) => {
16495
- n.addEventListener("load", IA(n, e, i, o, s)), n.addEventListener("error", s), n.src = t;
16507
+ n.addEventListener("load", BA(n, e, i, o, s)), n.addEventListener("error", s), n.src = t;
16496
16508
  });
16497
- }, IA = (t, e, i, n, o) => () => {
16509
+ }, BA = (t, e, i, n, o) => () => {
16498
16510
  const s = document.createElement("canvas"), l = s.getContext("2d");
16499
- s.width = e, s.height = i, l.drawImage(t, 0, 0, e, i), s.toBlob(BA(t, e, i, n, o));
16500
- }, Dn = {}, BA = (t, e, i, n, o) => (s) => {
16511
+ s.width = e, s.height = i, l.drawImage(t, 0, 0, e, i), s.toBlob(VA(t, e, i, n, o));
16512
+ }, Dn = {}, VA = (t, e, i, n, o) => (s) => {
16501
16513
  var a;
16502
16514
  s || o();
16503
16515
  const l = URL.createObjectURL(s);
16504
16516
  Dn[a = t.src] || (Dn[a] = []), Dn[t.src].push(l), n({ src: l, sizes: `${e}x${i}`, type: "image/png" });
16505
- }, VA = (t) => {
16517
+ }, WA = (t) => {
16506
16518
  Object.keys(Dn).filter((n) => n !== t).map((n) => Dn[n]).flat().forEach((n) => URL.revokeObjectURL(n));
16507
- }, WA = (t, e, i) => bi(void 0, null, function* () {
16519
+ }, OA = (t, e, i) => bi(void 0, null, function* () {
16508
16520
  t = yield t;
16509
16521
  const n = t.innerHTML;
16510
16522
  return { src: `data:image/svg+xml,${encodeURIComponent(n)}`, sizes: `${e}x${i}`, type: "image/svg+xml" };
16511
- }), OA = (t, e, i) => Yt(t, e, i, 1), EA = (t, e, i) => Ce(t, e, e === "style" ? jA(i) : i), MA = /;(?!([^()]*\([^()]*\))*[^()]*\))/, jA = (t) => t.split(MA).filter((e) => e).map((e) => e + " !important").join(";");
16523
+ }), EA = (t, e, i) => Yt(t, e, i, 1), MA = (t, e, i) => Ce(t, e, e === "style" ? zA(i) : i), jA = /;(?!([^()]*\([^()]*\))*[^()]*\))/, zA = (t) => t.split(jA).filter((e) => e).map((e) => e + " !important").join(";");
16512
16524
  function Pa(t, e, i) {
16513
16525
  const n = t.slice();
16514
16526
  return n[41] = e[i], n[42] = e, n[43] = i, n;
@@ -16544,7 +16556,7 @@ function Ca(t) {
16544
16556
  );
16545
16557
  return {
16546
16558
  c() {
16547
- e = b("div"), me(i.$$.fragment), n = G(), OA(e, "display", "none");
16559
+ e = b("div"), me(i.$$.fragment), n = G(), EA(e, "display", "none");
16548
16560
  },
16549
16561
  m(r, u) {
16550
16562
  j(r, e, u), ge(i, e, null), h(e, n), l(), s = !0;
@@ -16571,7 +16583,7 @@ function Ca(t) {
16571
16583
  }
16572
16584
  };
16573
16585
  }
16574
- function zA(t) {
16586
+ function LA(t) {
16575
16587
  let e, i, n = ni(
16576
16588
  /*imageSizes*/
16577
16589
  t[3]
@@ -16586,7 +16598,7 @@ function zA(t) {
16586
16598
  e = b("div");
16587
16599
  for (let l = 0; l < o.length; l += 1)
16588
16600
  o[l].c();
16589
- EA(e, "class", "media-session");
16601
+ MA(e, "class", "media-session");
16590
16602
  },
16591
16603
  m(l, a) {
16592
16604
  j(l, e, a);
@@ -16629,7 +16641,7 @@ function zA(t) {
16629
16641
  }
16630
16642
  };
16631
16643
  }
16632
- function LA(t, e, i) {
16644
+ function DA(t, e, i) {
16633
16645
  let n, o, s, l, a, r, u, d, g, f, A, m, y, v, T, p, w, E, D, S, P, K;
16634
16646
  const N = [96, 128, 192, 256, 384, 512], Y = [
16635
16647
  "hangup",
@@ -16685,9 +16697,9 @@ function LA(t, e, i) {
16685
16697
  56 && i(33, v = o && y || !n && ($ == null ? void 0 : $.imageUrl) || (l == null ? void 0 : l.imageUrl)), t.$$.dirty[0] & /*failedUrls*/
16686
16698
  65536 | t.$$.dirty[1] & /*imageUrl_*/
16687
16699
  4 && i(29, T = R.has(v) ? null : v), t.$$.dirty[0] & /*imageUrl*/
16688
- 536870912 && i(32, p = T ? N.map((q) => CA(T, q, q)) : []), t.$$.dirty[0] & /*imageUrl*/
16700
+ 536870912 && i(32, p = T ? N.map((q) => IA(T, q, q)) : []), t.$$.dirty[0] & /*imageUrl*/
16689
16701
  536870912 && i(31, w = T ? [{ src: T, sizes: "any" }] : []), t.$$.dirty[0] & /*imageUrl, renderedSvgs*/
16690
- 537001984 && i(30, E = T ? [] : N.map((q, Pe) => WA(Be[Pe], q, q))), t.$$.dirty[0] & /*svgArtworks*/
16702
+ 537001984 && i(30, E = T ? [] : N.map((q, Pe) => OA(Be[Pe], q, q))), t.$$.dirty[0] & /*svgArtworks*/
16691
16703
  1073741824 | t.$$.dirty[1] & /*pngArtworks, urlArtworks*/
16692
16704
  3 && i(27, D = Promise.all([...p, ...w, ...E])), t.$$.dirty[0] & /*contentItem*/
16693
16705
  268435456 && i(26, S = (l == null ? void 0 : l.title) || ""), t.$$.dirty[0] & /*artworks*/
@@ -16800,13 +16812,13 @@ function LA(t, e, i) {
16800
16812
  J
16801
16813
  ];
16802
16814
  }
16803
- class DA extends Te {
16815
+ class xA extends Te {
16804
16816
  constructor(e) {
16805
16817
  super(), we(
16806
16818
  this,
16807
16819
  e,
16820
+ DA,
16808
16821
  LA,
16809
- zA,
16810
16822
  Se,
16811
16823
  {
16812
16824
  content: 4,
@@ -16892,7 +16904,7 @@ class DA extends Te {
16892
16904
  this.$$set({ onEvent: e }), c();
16893
16905
  }
16894
16906
  }
16895
- const Ia = (t, e, i) => Ce(t, e, e === "style" ? NA(i) : i), xA = /;(?!([^()]*\([^()]*\))*[^()]*\))/, NA = (t) => t.split(xA).filter((e) => e).map((e) => e + " !important").join(";");
16907
+ const Ia = (t, e, i) => Ce(t, e, e === "style" ? RA(i) : i), NA = /;(?!([^()]*\([^()]*\))*[^()]*\))/, RA = (t) => t.split(NA).filter((e) => e).map((e) => e + " !important").join(";");
16896
16908
  function Ba(t) {
16897
16909
  let e, i, n, o;
16898
16910
  return {
@@ -16915,7 +16927,7 @@ function Ba(t) {
16915
16927
  }
16916
16928
  };
16917
16929
  }
16918
- function RA(t) {
16930
+ function FA(t) {
16919
16931
  let e, i = !/*alreadyLoaded*/
16920
16932
  t[1] && Ba(t);
16921
16933
  return {
@@ -16936,15 +16948,15 @@ function RA(t) {
16936
16948
  }
16937
16949
  };
16938
16950
  }
16939
- function FA(t, e, i) {
16951
+ function UA(t, e, i) {
16940
16952
  let n, { analyticsTag: o } = e;
16941
16953
  return t.$$set = (s) => {
16942
16954
  "analyticsTag" in s && i(0, o = s.analyticsTag);
16943
16955
  }, i(1, n = window.gtag), [o, n];
16944
16956
  }
16945
- class UA extends Te {
16957
+ class qA extends Te {
16946
16958
  constructor(e) {
16947
- super(), we(this, e, FA, RA, Se, { analyticsTag: 0 });
16959
+ super(), we(this, e, UA, FA, Se, { analyticsTag: 0 });
16948
16960
  }
16949
16961
  get analyticsTag() {
16950
16962
  return this.$$.ctx[0];
@@ -16953,7 +16965,7 @@ class UA extends Te {
16953
16965
  this.$$set({ analyticsTag: e }), c();
16954
16966
  }
16955
16967
  }
16956
- const Va = (t, e, i) => Ce(t, e, e === "style" ? HA(i) : i), qA = /;(?!([^()]*\([^()]*\))*[^()]*\))/, HA = (t) => t.split(qA).filter((e) => e).map((e) => e + " !important").join(";");
16968
+ const Va = (t, e, i) => Ce(t, e, e === "style" ? YA(i) : i), HA = /;(?!([^()]*\([^()]*\))*[^()]*\))/, YA = (t) => t.split(HA).filter((e) => e).map((e) => e + " !important").join(";");
16957
16969
  function Wa(t) {
16958
16970
  let e, i;
16959
16971
  return {
@@ -16974,7 +16986,7 @@ function Wa(t) {
16974
16986
  }
16975
16987
  };
16976
16988
  }
16977
- function YA(t) {
16989
+ function ZA(t) {
16978
16990
  let e, i = !/*alreadyLoaded*/
16979
16991
  t[1] && Wa(t);
16980
16992
  return {
@@ -16995,16 +17007,16 @@ function YA(t) {
16995
17007
  }
16996
17008
  };
16997
17009
  }
16998
- function ZA(t, e, i) {
17010
+ function KA(t, e, i) {
16999
17011
  let n, o;
17000
17012
  return i(1, n = window.daxListenerId), i(0, o = Math.floor(Math.random() * 1e10)), [o, n];
17001
17013
  }
17002
- class KA extends Te {
17014
+ class JA extends Te {
17003
17015
  constructor(e) {
17004
- super(), we(this, e, ZA, YA, Se, {});
17016
+ super(), we(this, e, KA, ZA, Se, {});
17005
17017
  }
17006
17018
  }
17007
- class JA extends Te {
17019
+ class GA extends Te {
17008
17020
  constructor(e) {
17009
17021
  super(), we(this, e, null, null, Se, {});
17010
17022
  }
@@ -17185,7 +17197,7 @@ fo = new WeakMap(), cs = new WeakSet(), Wr = function(e, i, n, o) {
17185
17197
  return i;
17186
17198
  }, Ie(en, cs), Ie(en, ds), Ie(en, fo, new Al(F(en, cs, Wr), F(en, ds, Or)));
17187
17199
  let nl = en;
17188
- const GA = () => ve({
17200
+ const XA = () => ve({
17189
17201
  type: "IdentifiersChanged",
17190
17202
  description: "The Player's content identifiers changed.",
17191
17203
  initiatedBy: "browser"
@@ -17197,13 +17209,13 @@ const GA = () => ve({
17197
17209
  responseStatus: o == null ? void 0 : o.status,
17198
17210
  responseJson: s
17199
17211
  })), s;
17200
- }), XA = (t, e) => vl(t, {
17212
+ }), QA = (t, e) => vl(t, {
17201
17213
  method: "POST",
17202
17214
  headers: { "Content-Type": "application/json" },
17203
17215
  body: JSON.stringify(e, (i, n) => n === void 0 ? null : n)
17204
17216
  });
17205
17217
  var gs, Er;
17206
- class QA {
17218
+ class $A {
17207
17219
  constructor(e, i, n) {
17208
17220
  // private
17209
17221
  Ie(this, gs);
@@ -17235,12 +17247,12 @@ gs = new WeakSet(), Er = function(e) {
17235
17247
  return e.includes("staging") ? "app.staging-beyondwords.io" : "app.beyondwords.io";
17236
17248
  };
17237
17249
  let Sn;
17238
- const $A = (t, e, i, n) => bi(void 0, null, function* () {
17239
- !t || !e || !i || (Sn == null || Sn.destroy(), Sn = new QA(t, e, i), yield Sn.getWebSocketToken(), yield Sn.establishConnection(ey(n), ny), yield Sn.subscribeToStatusChanges());
17240
- }), ey = (t) => (e) => {
17250
+ const ey = (t, e, i, n) => bi(void 0, null, function* () {
17251
+ !t || !e || !i || (Sn == null || Sn.destroy(), Sn = new $A(t, e, i), yield Sn.getWebSocketToken(), yield Sn.establishConnection(ty(n), oy), yield Sn.subscribeToStatusChanges());
17252
+ }), ty = (t) => (e) => {
17241
17253
  var o, s;
17242
- ((s = (o = e == null ? void 0 : e.message) == null ? void 0 : o.result) == null ? void 0 : s.action) === "podcast_state_updated" && ty(e, t), e.type === "reject_subscription" && iy(e);
17243
- }, ty = (t, e) => {
17254
+ ((s = (o = e == null ? void 0 : e.message) == null ? void 0 : o.result) == null ? void 0 : s.action) === "podcast_state_updated" && iy(e, t), e.type === "reject_subscription" && ny(e);
17255
+ }, iy = (t, e) => {
17244
17256
  const i = t.message.result;
17245
17257
  e(ve({
17246
17258
  type: "ContentStatusChanged",
@@ -17252,9 +17264,9 @@ const $A = (t, e, i, n) => bi(void 0, null, function* () {
17252
17264
  sourceUrl: i.source_url,
17253
17265
  contentStatus: i.state
17254
17266
  }));
17255
- }, iy = (t) => {
17256
- ci("The WebSocket status change subscription was rejected.", { webSocketEvent: t });
17257
17267
  }, ny = (t) => {
17268
+ ci("The WebSocket status change subscription was rejected.", { webSocketEvent: t });
17269
+ }, oy = (t) => {
17258
17270
  ci("Unexpected WebSocket error.", { error: t });
17259
17271
  }, Mr = (t) => {
17260
17272
  if (!t())
@@ -17262,9 +17274,9 @@ const $A = (t, e, i, n) => bi(void 0, null, function* () {
17262
17274
  setInterval(() => t() && e(), 10);
17263
17275
  });
17264
17276
  }, es = (t) => {
17265
- const i = Object.keys(t.$$.props).filter((n) => !oy.has(n)).map((n) => [n, t[n]]);
17277
+ const i = Object.keys(t.$$.props).filter((n) => !sy.has(n)).map((n) => [n, t[n]]);
17266
17278
  return Object.fromEntries(i);
17267
- }, oy = /* @__PURE__ */ new Set([
17279
+ }, sy = /* @__PURE__ */ new Set([
17268
17280
  "addEventListener",
17269
17281
  "removeEventListener",
17270
17282
  "mediaElement",
@@ -17280,30 +17292,30 @@ const $A = (t, e, i, n) => bi(void 0, null, function* () {
17280
17292
  return n;
17281
17293
  };
17282
17294
  let $n = -1;
17283
- const zr = [], sy = (t, e, i) => bi(void 0, null, function* () {
17295
+ const zr = [], ly = (t, e, i) => bi(void 0, null, function* () {
17284
17296
  yield Mr(() => e.player);
17285
- const n = e.player, o = ly(n.contentIndex, i, t);
17286
- o > $n && ay(n, $n, o, t), o < $n && ry(n, $n, o), $n = o;
17287
- }), ly = (t, e, i) => {
17297
+ const n = e.player, o = ay(n.contentIndex, i, t);
17298
+ o > $n && ry(n, $n, o, t), o < $n && uy(n, $n, o), $n = o;
17299
+ }), ay = (t, e, i) => {
17288
17300
  const n = i.findIndex((s) => s[0] === t && s[1] > e || s[0] > t);
17289
17301
  return n === -1 ? i.length - 1 : n - 1;
17290
- }, ay = (t, e, i, n) => {
17302
+ }, ry = (t, e, i, n) => {
17291
17303
  for (let o = e + 1; o <= i; o += 1) {
17292
17304
  const s = es(t);
17293
17305
  n[o][2](t);
17294
17306
  const l = es(t), a = jr(s, l);
17295
17307
  zr.push(a);
17296
17308
  }
17297
- }, ry = (t, e, i) => {
17309
+ }, uy = (t, e, i) => {
17298
17310
  for (let n = e; n > i; n -= 1) {
17299
17311
  const o = zr.pop();
17300
17312
  for (const [s, l] of Object.entries(o))
17301
17313
  t[s] = l.previousValue;
17302
17314
  }
17303
- }, uy = (t) => t ? cy(t) ? { newTarget: gy(t), showUserInterface: !0 } : typeof t == "string" ? { newTarget: sl(t), showUserInterface: !0 } : { newTarget: t, showUserInterface: !0 } : { newTarget: dy(), showUserInterface: !1 }, cy = (t) => typeof t == "object" && t.nodeName.toLowerCase() === "script", dy = () => {
17315
+ }, cy = (t) => t ? dy(t) ? { newTarget: fy(t), showUserInterface: !0 } : typeof t == "string" ? { newTarget: sl(t), showUserInterface: !0 } : { newTarget: t, showUserInterface: !0 } : { newTarget: gy(), showUserInterface: !1 }, dy = (t) => typeof t == "object" && t.nodeName.toLowerCase() === "script", gy = () => {
17304
17316
  const t = document.createElement("div");
17305
17317
  return document.body.appendChild(t), t;
17306
- }, gy = (t) => {
17318
+ }, fy = (t) => {
17307
17319
  const e = document.createElement("div");
17308
17320
  return t.parentNode.insertBefore(e, t.nextSibling), e;
17309
17321
  }, sl = (t, e = "player") => {
@@ -17311,12 +17323,12 @@ const zr = [], sy = (t, e, i) => bi(void 0, null, function* () {
17311
17323
  return t;
17312
17324
  const i = document.querySelectorAll(t);
17313
17325
  return i.length === 0 && ci(`Failed to initialize ${e} because the target could not be found.`, { target: t, elements: i }), i.length > 1 && ci(`Failed to initialize ${e} because the target is ambiguous. (${i.length} elements match)`, { target: t, elements: i }), i[0];
17314
- }, fy = ["small", "standard", "large", "screen", "video"], ll = (t) => fy.indexOf(t) !== -1;
17326
+ }, my = ["small", "standard", "large", "screen", "video"], ll = (t) => my.indexOf(t) !== -1;
17315
17327
  function ja(t, e, i) {
17316
17328
  const n = t.slice();
17317
17329
  return n[171] = e[i], n;
17318
17330
  }
17319
- function my(t) {
17331
+ function hy(t) {
17320
17332
  var v;
17321
17333
  let e, i, n, o, s, l, a, r;
17322
17334
  function u(T) {
@@ -17436,7 +17448,7 @@ function my(t) {
17436
17448
  t[48] !== void 0 && (y.prevPercentage = /*prevPercentage*/
17437
17449
  t[48]), /*metadataLoaded*/
17438
17450
  t[24] !== void 0 && (y.metadataLoaded = /*metadataLoaded*/
17439
- t[24]), e = new hm({ props: y }), t[116](e), le.push(() => ke(e, "playbackState", u)), le.push(() => ke(e, "duration", d)), le.push(() => ke(e, "currentTime", g)), le.push(() => ke(e, "playbackRate", f)), le.push(() => ke(e, "prevPercentage", A)), le.push(() => ke(e, "metadataLoaded", m)), {
17451
+ t[24]), e = new _m({ props: y }), t[116](e), le.push(() => ke(e, "playbackState", u)), le.push(() => ke(e, "duration", d)), le.push(() => ke(e, "currentTime", g)), le.push(() => ke(e, "playbackRate", f)), le.push(() => ke(e, "prevPercentage", A)), le.push(() => ke(e, "metadataLoaded", m)), {
17440
17452
  c() {
17441
17453
  me(e.$$.fragment);
17442
17454
  },
@@ -17723,7 +17735,7 @@ function La(t) {
17723
17735
  /*widgetTarget*/
17724
17736
  t[14]
17725
17737
  ),
17726
- $$slots: { default: [hy] },
17738
+ $$slots: { default: [_y] },
17727
17739
  $$scope: { ctx: t }
17728
17740
  }
17729
17741
  }), {
@@ -17754,7 +17766,7 @@ function La(t) {
17754
17766
  }
17755
17767
  };
17756
17768
  }
17757
- function hy(t) {
17769
+ function _y(t) {
17758
17770
  let e, i, n = {
17759
17771
  onEvent: (
17760
17772
  /*onEvent*/
@@ -17954,7 +17966,7 @@ function hy(t) {
17954
17966
  }
17955
17967
  };
17956
17968
  }
17957
- function _y(t) {
17969
+ function Ay(t) {
17958
17970
  let e, i;
17959
17971
  return e = new _l({
17960
17972
  props: {
@@ -18102,7 +18114,7 @@ function Da(t, e) {
18102
18114
  /*root*/
18103
18115
  e[171]
18104
18116
  ),
18105
- $$slots: { default: [_y] },
18117
+ $$slots: { default: [Ay] },
18106
18118
  $$scope: { ctx: e }
18107
18119
  }
18108
18120
  }), {
@@ -18144,7 +18156,7 @@ function xa(t) {
18144
18156
  /*controlPanel*/
18145
18157
  t[23]
18146
18158
  ),
18147
- $$slots: { default: [Ay] },
18159
+ $$slots: { default: [yy] },
18148
18160
  $$scope: { ctx: t }
18149
18161
  }
18150
18162
  }), {
@@ -18174,7 +18186,7 @@ function xa(t) {
18174
18186
  }
18175
18187
  };
18176
18188
  }
18177
- function Ay(t) {
18189
+ function yy(t) {
18178
18190
  let e, i, n, o, s, l, a, r, u, d, g, f, A, m, y, v, T, p, w, E, D, S, P, K, N, Y, ne, ue, ce, $, ee, te, de, se, he, re, k, C, R, L, Be, Me, J, q, Pe;
18179
18191
  function _e(B) {
18180
18192
  t[126](B);
@@ -18406,7 +18418,7 @@ function Ay(t) {
18406
18418
  t[43] !== void 0 && (Ae.analyticsCustomUrl = /*analyticsCustomUrl*/
18407
18419
  t[43]), /*analyticsTag*/
18408
18420
  t[44] !== void 0 && (Ae.analyticsTag = /*analyticsTag*/
18409
- t[44]), e = new PA({ props: Ae }), le.push(() => ke(e, "projectId", _e)), le.push(() => ke(e, "contentId", Je)), le.push(() => ke(e, "playlistId", We)), le.push(() => ke(e, "sourceId", $e)), le.push(() => ke(e, "sourceUrl", Le)), le.push(() => ke(e, "showUserInterface", Ne)), le.push(() => ke(e, "playerStyle", ct)), le.push(() => ke(e, "playerTitle", Ve)), le.push(() => ke(e, "callToAction", mt)), le.push(() => ke(e, "skipButtonStyle", Ge)), le.push(() => ke(e, "playlistStyle", ht)), le.push(() => ke(e, "playlistToggle", He)), le.push(() => ke(e, "mediaSession", it)), le.push(() => ke(e, "contentIndex", _t)), le.push(() => ke(e, "introsOutrosIndex", Ye)), le.push(() => ke(e, "advertIndex", At)), le.push(() => ke(e, "persistentAdImage", Oe)), le.push(() => ke(e, "persistentIndex", Ze)), le.push(() => ke(e, "duration", Ke)), le.push(() => ke(e, "currentTime", yt)), le.push(() => ke(e, "playbackState", Re)), le.push(() => ke(e, "playbackRate", pt)), le.push(() => ke(e, "widgetStyle", St)), le.push(() => ke(e, "widgetPosition", wt)), le.push(() => ke(e, "widgetWidth", Xe)), le.push(() => ke(e, "widgetTarget", et)), le.push(() => ke(e, "textColor", Bt)), le.push(() => ke(e, "backgroundColor", ot)), le.push(() => ke(e, "iconColor", vt)), le.push(() => ke(e, "highlightColor", st)), le.push(() => ke(e, "videoTextColor", Tt)), le.push(() => ke(e, "videoIconColor", ut)), le.push(() => ke(e, "logoIconEnabled", qe)), le.push(() => ke(e, "highlightSections", De)), le.push(() => ke(e, "clickableSections", nt)), le.push(() => ke(e, "segmentWidgetSections", tt)), le.push(() => ke(e, "segmentWidgetPosition", U)), le.push(() => ke(e, "currentSegment", je)), le.push(() => ke(e, "hoveredSegment", Qe)), le.push(() => ke(e, "advertConsent", jt)), le.push(() => ke(e, "analyticsConsent", zt)), le.push(() => ke(e, "analyticsCustomUrl", Ct)), le.push(() => ke(e, "analyticsTag", bt)), {
18421
+ t[44]), e = new CA({ props: Ae }), le.push(() => ke(e, "projectId", _e)), le.push(() => ke(e, "contentId", Je)), le.push(() => ke(e, "playlistId", We)), le.push(() => ke(e, "sourceId", $e)), le.push(() => ke(e, "sourceUrl", Le)), le.push(() => ke(e, "showUserInterface", Ne)), le.push(() => ke(e, "playerStyle", ct)), le.push(() => ke(e, "playerTitle", Ve)), le.push(() => ke(e, "callToAction", mt)), le.push(() => ke(e, "skipButtonStyle", Ge)), le.push(() => ke(e, "playlistStyle", ht)), le.push(() => ke(e, "playlistToggle", He)), le.push(() => ke(e, "mediaSession", it)), le.push(() => ke(e, "contentIndex", _t)), le.push(() => ke(e, "introsOutrosIndex", Ye)), le.push(() => ke(e, "advertIndex", At)), le.push(() => ke(e, "persistentAdImage", Oe)), le.push(() => ke(e, "persistentIndex", Ze)), le.push(() => ke(e, "duration", Ke)), le.push(() => ke(e, "currentTime", yt)), le.push(() => ke(e, "playbackState", Re)), le.push(() => ke(e, "playbackRate", pt)), le.push(() => ke(e, "widgetStyle", St)), le.push(() => ke(e, "widgetPosition", wt)), le.push(() => ke(e, "widgetWidth", Xe)), le.push(() => ke(e, "widgetTarget", et)), le.push(() => ke(e, "textColor", Bt)), le.push(() => ke(e, "backgroundColor", ot)), le.push(() => ke(e, "iconColor", vt)), le.push(() => ke(e, "highlightColor", st)), le.push(() => ke(e, "videoTextColor", Tt)), le.push(() => ke(e, "videoIconColor", ut)), le.push(() => ke(e, "logoIconEnabled", qe)), le.push(() => ke(e, "highlightSections", De)), le.push(() => ke(e, "clickableSections", nt)), le.push(() => ke(e, "segmentWidgetSections", tt)), le.push(() => ke(e, "segmentWidgetPosition", U)), le.push(() => ke(e, "currentSegment", je)), le.push(() => ke(e, "hoveredSegment", Qe)), le.push(() => ke(e, "advertConsent", jt)), le.push(() => ke(e, "analyticsConsent", zt)), le.push(() => ke(e, "analyticsCustomUrl", Ct)), le.push(() => ke(e, "analyticsTag", bt)), {
18410
18422
  c() {
18411
18423
  me(e.$$.fragment);
18412
18424
  },
@@ -18523,7 +18535,7 @@ function Ay(t) {
18523
18535
  }
18524
18536
  function Na(t) {
18525
18537
  let e, i;
18526
- return e = new DA({
18538
+ return e = new xA({
18527
18539
  props: {
18528
18540
  onEvent: (
18529
18541
  /*onEvent*/
@@ -18614,7 +18626,7 @@ function Na(t) {
18614
18626
  }
18615
18627
  function Ra(t) {
18616
18628
  let e, i;
18617
- return e = new UA({
18629
+ return e = new qA({
18618
18630
  props: { analyticsTag: (
18619
18631
  /*analyticsTag*/
18620
18632
  t[44]
@@ -18645,7 +18657,7 @@ function Ra(t) {
18645
18657
  }
18646
18658
  function Fa(t) {
18647
18659
  let e, i;
18648
- return e = new KA({}), {
18660
+ return e = new JA({}), {
18649
18661
  c() {
18650
18662
  me(e.$$.fragment);
18651
18663
  },
@@ -18663,7 +18675,7 @@ function Fa(t) {
18663
18675
  }
18664
18676
  };
18665
18677
  }
18666
- function yy(t) {
18678
+ function vy(t) {
18667
18679
  let e, i, n, o, s = [], l = /* @__PURE__ */ new Map(), a, r, u, d, g, f, A;
18668
18680
  e = new Is({
18669
18681
  props: {
@@ -18672,7 +18684,7 @@ function yy(t) {
18672
18684
  /*videoRoot*/
18673
18685
  t[75]
18674
18686
  ),
18675
- $$slots: { default: [my] },
18687
+ $$slots: { default: [hy] },
18676
18688
  $$scope: { ctx: t }
18677
18689
  }
18678
18690
  });
@@ -18707,7 +18719,7 @@ function yy(t) {
18707
18719
  /*setDaxListenerId*/
18708
18720
  t[80] && Fa()
18709
18721
  );
18710
- return f = new JA({}), {
18722
+ return f = new GA({}), {
18711
18723
  c() {
18712
18724
  me(e.$$.fragment), i = G(), m && m.c(), n = G(), y && y.c(), o = G();
18713
18725
  for (let S = 0; S < s.length; S += 1)
@@ -18782,7 +18794,7 @@ function yy(t) {
18782
18794
  }
18783
18795
  };
18784
18796
  }
18785
- function vy(t, e, i) {
18797
+ function by(t, e, i) {
18786
18798
  let n, o, s, l, a, r, u, d, g, f, A, m, y, v, T, p, w, E, D, S, P, K, N, Y, ne, ue, ce, $, { playerApiUrl: ee = "https://api.beyondwords.io/v1/projects/{id}/player" } = e, { projectId: te = void 0 } = e, { contentId: de = void 0 } = e, { playlistId: se = void 0 } = e, { sourceId: he = void 0 } = e, { sourceUrl: re = void 0 } = e, { playlist: k = [] } = e, { showUserInterface: C = !0 } = e, { showBottomWidget: R = !1 } = e, { playerStyle: L = "standard" } = e, { playerTitle: Be = void 0 } = e, { callToAction: Me = void 0 } = e, { skipButtonStyle: J = "auto" } = e, { playlistStyle: q = "auto-5-4" } = e, { playlistToggle: Pe = "auto" } = e, { downloadFormats: _e = [] } = e, { mediaSession: Je = "auto" } = e, { content: We = [] } = e, { contentIndex: $e = 0 } = e, { introsOutros: Le = [] } = e, { introsOutrosIndex: Ne = -1 } = e, { adverts: ct = [] } = e, { advertIndex: Ve = -1 } = e, { minDurationForMidroll: mt = 2 * 60 } = e, { minTimeUntilEndForMidroll: Ge = 10 } = e, { persistentAdImage: ht = !1 } = e, { persistentIndex: He = -1 } = e, { duration: it = 0 } = e, { currentTime: _t = 0 } = e, { playbackState: Ye = "stopped" } = e, { playbackRate: At = 1 } = e, { playbackRates: Oe = [0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.1, 1.2, 1.3, 1.4, 1.5, 2, 2.5, 3] } = e, { widgetStyle: Ze = "standard" } = e, { widgetPosition: Ke = "auto" } = e, { widgetWidth: yt = "auto" } = e, { widgetTarget: Re = void 0 } = e, { textColor: pt = "#111" } = e, { backgroundColor: St = "#f5f5f5" } = e, { iconColor: wt = "rgba(0, 0, 0, 0.8)" } = e, { highlightColor: Xe = "#eee" } = e, { videoTextColor: et = "white" } = e, { videoBackgroundColor: Bt = "black" } = e, { videoIconColor: ot = "white" } = e, { logoIconEnabled: vt = !0 } = e, { highlightSections: st = "all" } = e, { clickableSections: Tt = "all" } = e, { segmentWidgetSections: ut = "body" } = e, { segmentWidgetPosition: qe = "7-oclock" } = e, { currentSegment: De = void 0 } = e, { hoveredSegment: nt = void 0 } = e, { loadedMedia: tt = void 0 } = e, { advertConsent: U = "personalized" } = e, { analyticsConsent: je = "allowed" } = e, { analyticsCustomUrl: Qe = void 0 } = e, { analyticsDeviceType: jt = "auto" } = e, { analyticsTag: zt = void 0 } = e, { writeToken: Ct = void 0 } = e, { captureErrors: bt = !0 } = e, { onError: Ae = () => {
18787
18799
  } } = e, { transitions: B = [] } = e, { controlPanel: V = void 0 } = e, { clientSideEnabled: W = !1 } = e;
18788
18800
  const Lt = (..._) => xt.addEventListener(..._), ui = (..._) => xt.removeEventListener(..._);
@@ -19002,9 +19014,9 @@ function vy(t, e, i) {
19002
19014
  160 | t.$$.dirty[3] & /*showVideoPoster, isAdvert*/
19003
19015
  196608 && i(74, K = P ? a && (s == null ? void 0 : s.imageUrl) || (n == null ? void 0 : n.imageUrl) : ""), t.$$.dirty[0] & /*projectId, contentId, playlistId, sourceId, sourceUrl*/
19004
19016
  31 | t.$$.dirty[2] & /*playlist*/
19005
- 2097152 && It(GA()), t.$$.dirty[0] & /*projectId*/
19017
+ 2097152 && It(XA()), t.$$.dirty[0] & /*projectId*/
19006
19018
  1 | t.$$.dirty[2] & /*playerApiUrl, writeToken*/
19007
- 135266304 && $A(ee, te, Ct, (_) => It(_)), t.$$.dirty[0] & /*hoveredSegment*/
19019
+ 135266304 && ey(ee, te, Ct, (_) => It(_)), t.$$.dirty[0] & /*hoveredSegment*/
19008
19020
  2097152 | t.$$.dirty[3] & /*lastHovered*/
19009
19021
  16384 && i(107, N = nt || N), t.$$.dirty[0] & /*currentSegment, segmentWidgetSections*/
19010
19022
  1310720 && i(106, Y = ro("current", De, ut)), t.$$.dirty[0] & /*currentSegment*/
@@ -19028,7 +19040,7 @@ function vy(t, e, i) {
19028
19040
  4096 && qt.update("hovered", nt, st, Xe), t.$$.dirty[0] & /*currentTime*/
19029
19041
  2048 | t.$$.dirty[2] & /*transitions*/
19030
19042
  1073741824 | t.$$.dirty[3] & /*controller*/
19031
- 16 && sy(B, xt, _t);
19043
+ 16 && ly(B, xt, _t);
19032
19044
  }, [
19033
19045
  te,
19034
19046
  de,
@@ -19201,13 +19213,13 @@ function vy(t, e, i) {
19201
19213
  Bu
19202
19214
  ];
19203
19215
  }
19204
- let by = class extends Te {
19216
+ let ky = class extends Te {
19205
19217
  constructor(e) {
19206
19218
  super(), we(
19207
19219
  this,
19208
19220
  e,
19221
+ by,
19209
19222
  vy,
19210
- yy,
19211
19223
  Se,
19212
19224
  {
19213
19225
  playerApiUrl: 82,
@@ -19831,7 +19843,7 @@ let by = class extends Te {
19831
19843
  }
19832
19844
  };
19833
19845
  var An, zn;
19834
- class ky {
19846
+ class py {
19835
19847
  constructor(e, i, n) {
19836
19848
  Ie(this, An);
19837
19849
  this.baseUrl = e == null ? void 0 : e.replace("{id}", i), n && (this.headers = {
@@ -19858,26 +19870,26 @@ class ky {
19858
19870
  An = new WeakSet(), zn = function(e) {
19859
19871
  return vl(`${this.baseUrl}/${e}`, { headers: this.headers });
19860
19872
  };
19861
- const al = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.map(al) : Object.fromEntries(Object.entries(t).map(([e, i]) => [e.replace(/([A-Z])/g, (n) => `_${n.toLowerCase()}`), al(i)])), Lr = (t) => t === "dark" || t === "auto" && py() ? "dark" : "light", py = () => window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches, Ua = (t) => bi(void 0, null, function* () {
19862
- const e = new ky(t.playerApiUrl, t.projectId, t.clientSideEnabled);
19873
+ const al = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.map(al) : Object.fromEntries(Object.entries(t).map(([e, i]) => [e.replace(/([A-Z])/g, (n) => `_${n.toLowerCase()}`), al(i)])), Lr = (t) => t === "dark" || t === "auto" && Sy() ? "dark" : "light", Sy = () => window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches, Ua = (t) => bi(void 0, null, function* () {
19874
+ const e = new py(t.playerApiUrl, t.projectId, t.clientSideEnabled);
19863
19875
  if (!t.playerApiUrl || !t.projectId)
19864
19876
  return;
19865
- const i = Sy(t);
19877
+ const i = wy(t);
19866
19878
  if (i.length === 0) {
19867
19879
  t.sourceUrl = window.location.href;
19868
19880
  return;
19869
19881
  }
19870
- const n = yield wy(e, i).catch(() => {
19882
+ const n = yield Ty(e, i).catch(() => {
19871
19883
  });
19872
19884
  if (!(n != null && n.content)) {
19873
- Ty(t);
19885
+ Py(t);
19874
19886
  return;
19875
19887
  }
19876
- Py(t, n);
19877
- }), Sy = (t) => {
19888
+ Cy(t, n);
19889
+ }), wy = (t) => {
19878
19890
  const e = [];
19879
19891
  return t.contentId && e.push({ content_id: t.contentId }), t.playlistId && e.push({ playlist_id: t.playlistId }), t.sourceId && e.push({ source_id: t.sourceId }), t.sourceUrl && e.push({ source_url: t.sourceUrl }), t.playlist && e.push(...al(t.playlist)), [...new Set(e.map(JSON.stringify))].map(JSON.parse);
19880
- }, wy = (t, e) => {
19892
+ }, Ty = (t, e) => {
19881
19893
  const i = e[0];
19882
19894
  if (e.length > 1)
19883
19895
  return t.byIdentifiers(e);
@@ -19889,16 +19901,16 @@ const al = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
19889
19901
  return t.bySourceId(i.source_id);
19890
19902
  if (i.source_url)
19891
19903
  return t.bySourceUrl(i.source_url);
19892
- }, Ty = (t) => {
19904
+ }, Py = (t) => {
19893
19905
  Dr(t), xr(t), Nr(t), t.onEvent(ve({
19894
19906
  type: "NoContentAvailable",
19895
19907
  description: "No published and processed content is available for the identifiers.",
19896
19908
  initiatedBy: "browser"
19897
19909
  }));
19898
- }, Py = (t, e) => {
19910
+ }, Cy = (t, e) => {
19899
19911
  var s, l, a, r;
19900
19912
  const i = Lr(e.settings.theme), n = e.settings[`${i}_theme`], o = e.settings.video_theme;
19901
- Dr(t), xr(t, e), Nr(t, e), ze(t, "playerStyle", e.settings.player_style), ze(t, "playerTitle", ((s = e.playlist) == null ? void 0 : s.title) || e.settings.player_title), ze(t, "callToAction", e.settings.call_to_action === "Listen to this article" ? null : e.settings.call_to_action), ze(t, "skipButtonStyle", e.settings.skip_button_style), ze(t, "downloadFormats", e.settings.download_button_enabled ? ["mp3"] : []), ze(t, "introsOutros", Cy(e.settings)), ze(t, "persistentAdImage", e.settings.persistent_ad_image), ze(t, "duration", (r = (a = (l = t.content[t.contentIndex]) == null ? void 0 : l.audio) == null ? void 0 : a[0]) == null ? void 0 : r.duration), ze(t, "widgetStyle", e.settings.widget_style), ze(t, "widgetPosition", e.settings.widget_position), ze(t, "textColor", n.text_color), ze(t, "backgroundColor", n.background_color), ze(t, "iconColor", n.icon_color), ze(t, "highlightColor", n.highlight_color), ze(t, "videoTextColor", o.text_color), ze(t, "videoBackgroundColor", o.background_color), ze(t, "videoIconColor", o.icon_color), ze(t, "logoIconEnabled", e.settings.logo_icon_enabled), ze(t, "logoImagePosition", e.video_settings.logo_image_position), ze(t, "highlightSections", e.settings.segment_playback_enabled ? "all" : "none"), ze(t, "clickableSections", e.settings.segment_playback_enabled ? "all" : "none"), ze(t, "segmentWidgetSections", (e.settings.segment_playback_enabled, "none")), ze(t, "analyticsConsent", Iy(e.settings)), ze(t, "analyticsCustomUrl", e.settings.analytics_custom_url), ze(t, "analyticsTag", e.settings.analytics_tag), ze(t, "analyticsUrl", e.settings.analytics_url), ze(t, "analyticsId", e.settings.analytics_id), ze(t, "contentLanguage", e.language);
19913
+ Dr(t), xr(t, e), Nr(t, e), ze(t, "playerStyle", e.settings.player_style), ze(t, "playerTitle", ((s = e.playlist) == null ? void 0 : s.title) || e.settings.player_title), ze(t, "callToAction", e.settings.call_to_action === "Listen to this article" ? null : e.settings.call_to_action), ze(t, "skipButtonStyle", e.settings.skip_button_style), ze(t, "downloadFormats", e.settings.download_button_enabled ? ["mp3"] : []), ze(t, "introsOutros", Iy(e.settings)), ze(t, "persistentAdImage", e.settings.persistent_ad_image), ze(t, "duration", (r = (a = (l = t.content[t.contentIndex]) == null ? void 0 : l.audio) == null ? void 0 : a[0]) == null ? void 0 : r.duration), ze(t, "widgetStyle", e.settings.widget_style), ze(t, "widgetPosition", e.settings.widget_position), ze(t, "textColor", n.text_color), ze(t, "backgroundColor", n.background_color), ze(t, "iconColor", n.icon_color), ze(t, "highlightColor", n.highlight_color), ze(t, "videoTextColor", o.text_color), ze(t, "videoBackgroundColor", o.background_color), ze(t, "videoIconColor", o.icon_color), ze(t, "logoIconEnabled", e.settings.logo_icon_enabled), ze(t, "logoImagePosition", e.video_settings.logo_image_position), ze(t, "highlightSections", e.settings.segment_playback_enabled ? "all" : "none"), ze(t, "clickableSections", e.settings.segment_playback_enabled ? "all" : "none"), ze(t, "segmentWidgetSections", (e.settings.segment_playback_enabled, "none")), ze(t, "analyticsConsent", By(e.settings)), ze(t, "analyticsCustomUrl", e.settings.analytics_custom_url), ze(t, "analyticsTag", e.settings.analytics_tag), ze(t, "analyticsUrl", e.settings.analytics_url), ze(t, "analyticsId", e.settings.analytics_id), ze(t, "contentLanguage", e.language);
19902
19914
  }, Dr = (t) => {
19903
19915
  ze(t, "contentIndex", 0), ze(t, "introsOutrosIndex", -1), ze(t, "advertIndex", -1), ze(t, "persistentIndex", -1), ze(t, "duration", 0), ze(t, "currentTime", 0), ze(t, "playbackState", "stopped"), ze(t, "currentSegment", void 0), ze(t, "hoveredSegment", void 0);
19904
19916
  }, xr = (t, e) => {
@@ -19971,15 +19983,15 @@ const al = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
19971
19983
  }, ze = (t, e, i) => {
19972
19984
  var o;
19973
19985
  typeof ((o = t.initialProps) == null ? void 0 : o[e]) != "undefined" || (t[e] = i);
19974
- }, Cy = ({ intro_outro_enabled: t, intro_url: e, outro_url: i }) => {
19986
+ }, Iy = ({ intro_outro_enabled: t, intro_url: e, outro_url: i }) => {
19975
19987
  if (!t)
19976
19988
  return [];
19977
19989
  const n = [];
19978
19990
  return e && n.push({ placement: "pre-roll", audio: [{ url: e }], video: [] }), i && n.push({ placement: "post-roll", audio: [{ url: i }], video: [] }), n;
19979
- }, Iy = ({ analytics_enabled: t, analytics_uuid_enabled: e }) => t ? e ? "allowed" : "without-local-storage" : "none", By = (t, e) => bi(void 0, null, function* () {
19991
+ }, By = ({ analytics_enabled: t, analytics_uuid_enabled: e }) => t ? e ? "allowed" : "without-local-storage" : "none", Vy = (t, e) => bi(void 0, null, function* () {
19980
19992
  const n = yield (yield fetch(t)).blob(), o = URL.createObjectURL(n), s = document.createElement("a");
19981
19993
  document.body.append(s), s.href = o, s.setAttribute("download", e), s.setAttribute("target", "_blank"), s.click(), s.remove();
19982
- }), ts = { vastUrls: /* @__PURE__ */ new Set(), mediaSources: /* @__PURE__ */ new Set() }, Vy = (t) => {
19994
+ }), ts = { vastUrls: /* @__PURE__ */ new Set(), mediaSources: /* @__PURE__ */ new Set() }, Wy = (t) => {
19983
19995
  t.vastUrl && ts.vastUrls.add(t.vastUrl);
19984
19996
  for (const e of [...t.audio || [], ...t.video || []])
19985
19997
  ts.mediaSources.add(e.url);
@@ -19990,127 +20002,127 @@ const al = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
19990
20002
  if (ts.mediaSources.has(e.url))
19991
20003
  return !0;
19992
20004
  return !1;
19993
- }, Fr = /* @__PURE__ */ new Set(), Wy = (t) => {
20005
+ }, Fr = /* @__PURE__ */ new Set(), Oy = (t) => {
19994
20006
  [...t.audio || [], ...t.video || []].forEach((i) => Fr.add(i.url));
19995
- }, Oy = (t) => [...t.audio || [], ...t.video || []].some((i) => Fr.has(i.url)), Ey = ({ introsOutrosIndex: t, adverts: e, advertIndex: i, content: n = [], contentIndex: o, currentTime: s, atTheStart: l, atTheEnd: a, errored: r, minTimeUntilEndForMidroll: u, minDurationForMidroll: d } = {}) => {
20007
+ }, Ey = (t) => [...t.audio || [], ...t.video || []].some((i) => Fr.has(i.url)), My = ({ introsOutrosIndex: t, adverts: e, advertIndex: i, content: n = [], contentIndex: o, currentTime: s, atTheStart: l, atTheEnd: a, errored: r, minTimeUntilEndForMidroll: u, minDurationForMidroll: d } = {}) => {
19996
20008
  var v;
19997
20009
  const g = e && e[i];
19998
20010
  e:
19999
20011
  if (g) {
20000
20012
  if (r) {
20001
- Vy(g);
20013
+ Wy(g);
20002
20014
  break e;
20003
20015
  }
20004
20016
  if (a)
20005
- return Wy(g), -1;
20017
+ return Oy(g), -1;
20006
20018
  if (!a)
20007
20019
  return i;
20008
20020
  }
20009
20021
  if (!((v = n[o]) != null && v.adsEnabled) || t !== -1)
20010
20022
  return -1;
20011
- const f = jy({ content: n, contentIndex: o, currentTime: s, atTheStart: l, atTheEnd: a, minTimeUntilEndForMidroll: u, minDurationForMidroll: d });
20023
+ const f = zy({ content: n, contentIndex: o, currentTime: s, atTheStart: l, atTheEnd: a, minTimeUntilEndForMidroll: u, minDurationForMidroll: d });
20012
20024
  let A = -1, m = -1 / 0, y = -1 / 0;
20013
20025
  for (const [T, p] of e.entries()) {
20014
- if (Oy(p) || Rr(p) || !f.has(p.placement))
20026
+ if (Ey(p) || Rr(p) || !f.has(p.placement))
20015
20027
  continue;
20016
- const w = My[p.type] || 0;
20028
+ const w = jy[p.type] || 0;
20017
20029
  if (w < m)
20018
20030
  continue;
20019
20031
  const E = Math.random();
20020
20032
  w === m && E < y || (A = T, m = w, y = E);
20021
20033
  }
20022
20034
  return A;
20023
- }, My = { vast: 1, custom: 0 }, jy = ({ content: t, contentIndex: e, currentTime: i, atTheStart: n, atTheEnd: o, minTimeUntilEndForMidroll: s, minDurationForMidroll: l }) => {
20024
- const a = e === 0, r = e === t.length - 1, u = t.length > 1, d = u && n && !a, g = t[e].segments, f = g[g.length - 1], A = u ? null : Ly(g, l), m = g[A], y = m && i > m.startTime, v = f ? f.startTime + f.duration : 0, T = i > v - s, p = /* @__PURE__ */ new Set();
20035
+ }, jy = { vast: 1, custom: 0 }, zy = ({ content: t, contentIndex: e, currentTime: i, atTheStart: n, atTheEnd: o, minTimeUntilEndForMidroll: s, minDurationForMidroll: l }) => {
20036
+ const a = e === 0, r = e === t.length - 1, u = t.length > 1, d = u && n && !a, g = t[e].segments, f = g[g.length - 1], A = u ? null : Dy(g, l), m = g[A], y = m && i > m.startTime, v = f ? f.startTime + f.duration : 0, T = i > v - s, p = /* @__PURE__ */ new Set();
20025
20037
  return n && p.add("pre-roll"), y && !T && p.add("mid-roll"), d && p.add("mid-roll"), o && r && p.add("post-roll"), d && p.add("post-roll"), p;
20026
- }, zy = 0.5, Ly = (t, e) => {
20038
+ }, Ly = 0.5, Dy = (t, e) => {
20027
20039
  const i = t[t.length - 1];
20028
20040
  if (!i)
20029
20041
  return;
20030
20042
  const n = i.startTime + i.duration;
20031
20043
  if (n < e)
20032
20044
  return;
20033
- const o = n / 2, s = ml(t, n / 2), r = t[s].startTime >= o - zy ? s : s + 1;
20045
+ const o = n / 2, s = ml(t, n / 2), r = t[s].startTime >= o - Ly ? s : s + 1;
20034
20046
  if (r !== t.length)
20035
20047
  return r;
20036
- }, Dy = (t, e, i, n) => {
20048
+ }, xy = (t, e, i, n) => {
20037
20049
  let o = -1, s = -1 / 0, l = -1 / 0;
20038
20050
  for (const [a, r] of (n || []).entries()) {
20039
20051
  if (!t || Rr(r) || r.type === "vast")
20040
20052
  continue;
20041
- const u = Ny(a, e, i);
20053
+ const u = Ry(a, e, i);
20042
20054
  if (u < s)
20043
20055
  continue;
20044
- const d = xy[r.placement] || 0;
20056
+ const d = Ny[r.placement] || 0;
20045
20057
  u === s && d < l || (o = a, s = u, l = d);
20046
20058
  }
20047
20059
  return o;
20048
- }, xy = { "pre-roll": 2, "mid-roll": 1 }, Ny = (t, e, i) => t === i ? 2 : t === e ? 1 : 0, Ur = { mediaSources: /* @__PURE__ */ new Set() }, Ry = (t) => {
20060
+ }, Ny = { "pre-roll": 2, "mid-roll": 1 }, Ry = (t, e, i) => t === i ? 2 : t === e ? 1 : 0, Ur = { mediaSources: /* @__PURE__ */ new Set() }, Fy = (t) => {
20049
20061
  for (const e of [...t.audio || [], t.video || []])
20050
20062
  Ur.mediaSources.add(e.url);
20051
- }, Fy = (t) => {
20063
+ }, Uy = (t) => {
20052
20064
  for (const e of [...t.audio || [], t.video || []])
20053
20065
  if (Ur.mediaSources.has(e.url))
20054
20066
  return !0;
20055
20067
  return !1;
20056
- }, qr = /* @__PURE__ */ new Set(), Uy = (t) => {
20068
+ }, qr = /* @__PURE__ */ new Set(), qy = (t) => {
20057
20069
  [...t.audio || [], ...t.video || []].forEach((i) => qr.add(i.url));
20058
- }, qy = (t) => [...t.audio || [], ...t.video || []].some((i) => qr.has(i.url)), Hy = ({ introsOutros: t = [], introsOutrosIndex: e, advertIndex: i, content: n, contentIndex: o, currentTime: s, atTheStart: l, atTheEnd: a, errored: r }) => {
20070
+ }, Hy = (t) => [...t.audio || [], ...t.video || []].some((i) => qr.has(i.url)), Yy = ({ introsOutros: t = [], introsOutrosIndex: e, advertIndex: i, content: n, contentIndex: o, currentTime: s, atTheStart: l, atTheEnd: a, errored: r }) => {
20059
20071
  const u = t[e];
20060
20072
  e:
20061
20073
  if (u) {
20062
20074
  if (r) {
20063
- Ry(u);
20075
+ Fy(u);
20064
20076
  break e;
20065
20077
  }
20066
20078
  if (a)
20067
- return Uy(u), -1;
20079
+ return qy(u), -1;
20068
20080
  if (!a)
20069
20081
  return e;
20070
20082
  }
20071
20083
  if (i !== -1)
20072
20084
  return -1;
20073
- const d = Yy({ content: n, contentIndex: o, currentTime: s, atTheStart: l, atTheEnd: a });
20085
+ const d = Zy({ content: n, contentIndex: o, currentTime: s, atTheStart: l, atTheEnd: a });
20074
20086
  let g = -1, f = -1 / 0, A = -1 / 0;
20075
20087
  for (const [m, y] of t.entries()) {
20076
- if (Fy(y) || !d.has(y.placement))
20088
+ if (Uy(y) || !d.has(y.placement))
20077
20089
  continue;
20078
- const v = qy(y) ? 1 : 0;
20090
+ const v = Hy(y) ? 1 : 0;
20079
20091
  if (v < f)
20080
20092
  continue;
20081
20093
  const T = Math.random();
20082
20094
  v === f && T < A || (g = m, f = v, A = T);
20083
20095
  }
20084
20096
  return g;
20085
- }, Yy = ({ content: t, contentIndex: e, currentTime: i, atTheStart: n, atTheEnd: o }) => {
20097
+ }, Zy = ({ content: t, contentIndex: e, currentTime: i, atTheStart: n, atTheEnd: o }) => {
20086
20098
  const s = /* @__PURE__ */ new Set(), l = n && e === 0 && i === 0, a = o && e === t.length - 1;
20087
20099
  return l && s.add("pre-roll"), a && s.add("post-roll"), s;
20088
- }, Zy = (t) => {
20100
+ }, Ky = (t) => {
20089
20101
  if (!navigator.mediaSession)
20090
20102
  return;
20091
20103
  const e = t.instances().some((s) => s.mediaSession === "override");
20092
- if (Gy() && !e)
20104
+ if (Xy() && !e)
20093
20105
  return;
20094
20106
  let i, n = -1 / 0, o = -1 / 0;
20095
20107
  for (const s of t.instances()) {
20096
20108
  if (s.mediaSession === "none")
20097
20109
  continue;
20098
- const l = Ky[s.playbackState] || 0;
20110
+ const l = Jy[s.playbackState] || 0;
20099
20111
  if (l < n)
20100
20112
  continue;
20101
- const a = Jy[s.showMediaSession] || 0;
20113
+ const a = Gy[s.showMediaSession] || 0;
20102
20114
  l === n && a < o || (i = s, n = l, o = a);
20103
20115
  }
20104
20116
  for (const s of t.instances())
20105
20117
  s.showMediaSession = s === i;
20106
20118
  return i;
20107
- }, Ky = { playing: 1, paused: 0, stopped: 0 }, Jy = { true: 1, false: 0 }, Gy = () => {
20119
+ }, Jy = { playing: 1, paused: 0, stopped: 0 }, Gy = { true: 1, false: 0 }, Xy = () => {
20108
20120
  const t = navigator.mediaSession.metadata;
20109
20121
  if (!t || navigator.mediaSession.setByPlayer)
20110
20122
  return !1;
20111
20123
  const { title: e, artist: i, album: n, artwork: o } = t;
20112
20124
  return e || i || n || (o == null ? void 0 : o.length);
20113
- }, Xy = (t) => {
20125
+ }, Qy = (t) => {
20114
20126
  let e = !1, i, n = -1 / 0, o = -1 / 0;
20115
20127
  for (const s of t.instances()) {
20116
20128
  if (!s.userInterface || !ll(s.widgetStyle))
@@ -20121,7 +20133,7 @@ const al = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
20121
20133
  }
20122
20134
  if (!(s.userInterface.relativeY < 0))
20123
20135
  continue;
20124
- const u = Qy[s.playbackState] || 0;
20136
+ const u = $y[s.playbackState] || 0;
20125
20137
  if (u < n)
20126
20138
  continue;
20127
20139
  const d = s.userInterface.absoluteY;
@@ -20130,9 +20142,9 @@ const al = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
20130
20142
  e && n === 0 && (i = null);
20131
20143
  for (const s of t.instances())
20132
20144
  s.showBottomWidget = s === i;
20133
- }, Qy = { playing: 2, paused: 1, stopped: 0 };
20145
+ }, $y = { playing: 2, paused: 1, stopped: 0 };
20134
20146
  var fs, Hr, ms, Yr, hs, Zr, ho, rl, _s, Kr, As, Jr, ji, Xi, tn, wn, _i, Bi, ys, Gr, In, to, nn, Tn, vs, Xr, _o, ul, Yi, mn, Ao, cl, on, Pn, Ht, ai, sn, Cn, Zi, hn, bs, Qr, ks, $r, Bn, io, yo, dl, ps, eu, Ss, tu, ws, iu, Ts, nu;
20135
- class $y {
20147
+ class e3 {
20136
20148
  constructor(e, i) {
20137
20149
  // private
20138
20150
  Ie(this, fs);
@@ -20247,7 +20259,7 @@ class $y {
20247
20259
  handlePlaybackRateUpdated() {
20248
20260
  }
20249
20261
  handleVisibilityChanged() {
20250
- Xy(this.PlayerClass);
20262
+ Qy(this.PlayerClass);
20251
20263
  }
20252
20264
  handlePressedVideoBackground() {
20253
20265
  F(this, nn, Tn).call(this);
@@ -20300,7 +20312,7 @@ class $y {
20300
20312
  this.player.playbackState = "paused";
20301
20313
  }
20302
20314
  handlePlaybackPlaying() {
20303
- this.PlayerClass.instances().filter((n) => n !== this.player).filter((n) => n.playbackState === "playing").forEach((n) => n.playbackState = "paused"), Zy(this.PlayerClass);
20315
+ this.PlayerClass.instances().filter((n) => n !== this.player).filter((n) => n.playbackState === "playing").forEach((n) => n.playbackState = "paused"), Ky(this.PlayerClass);
20304
20316
  }
20305
20317
  handlePlaybackPaused() {
20306
20318
  const e = this.player.playbackState === "playing", i = this.player.currentTime >= this.player.duration - 0.5;
@@ -20328,7 +20340,7 @@ class $y {
20328
20340
  this.player.companionAdvert = { clickThroughUrl: e, imageUrl: i };
20329
20341
  }
20330
20342
  handlePressedMaximize() {
20331
- ia() ? eA() : $2(this.player.target);
20343
+ ia() ? tA() : eA(this.player.target);
20332
20344
  }
20333
20345
  handleFullScreenModeUpdated() {
20334
20346
  const e = ia() === this.player.target, i = e ? "add" : "remove";
@@ -20344,7 +20356,7 @@ class $y {
20344
20356
  handlePressedDownload({ contentIndex: e, audioIndex: i, videoIndex: n }) {
20345
20357
  var d, g;
20346
20358
  const o = this.player.content[e], s = (d = o.audio) == null ? void 0 : d[i], l = (g = o.video) == null ? void 0 : g[n], a = (s || l).url, r = a.split(".").pop(), u = `${o.title}.${r}`;
20347
- return By(a, u);
20359
+ return Vy(a, u);
20348
20360
  }
20349
20361
  handlePressedCloseWidget() {
20350
20362
  for (const e of this.PlayerClass.instances())
@@ -20427,14 +20439,14 @@ fs = new WeakSet(), Hr = function({ type: e }) {
20427
20439
  }
20428
20440
  }, sn = new WeakSet(), Cn = function({ atTheStart: e, atTheEnd: i, errored: n } = {}) {
20429
20441
  const { content: o, introsOutros: s, currentTime: l } = this.player, a = typeof this.nextIntroOutro != "undefined" ? this.nextIntroOutro : this.player.introsOutrosIndex, r = typeof this.nextAdvert != "undefined" ? this.nextAdvert : this.player.advertIndex, u = typeof this.prevContent != "undefined" ? this.prevContent : this.player.contentIndex;
20430
- F(this, Bn, io).call(this, Hy({ introsOutros: s, introsOutrosIndex: a, advertIndex: r, content: o, contentIndex: u, currentTime: l, atTheStart: e, atTheEnd: i, errored: n }));
20442
+ F(this, Bn, io).call(this, Yy({ introsOutros: s, introsOutrosIndex: a, advertIndex: r, content: o, contentIndex: u, currentTime: l, atTheStart: e, atTheEnd: i, errored: n }));
20431
20443
  }, Zi = new WeakSet(), hn = function({ atTheStart: e, atTheEnd: i, wasIntro: n, errored: o } = {}) {
20432
20444
  const { adverts: s, content: l, currentTime: a, minDurationForMidroll: r, minTimeUntilEndForMidroll: u } = this.player;
20433
20445
  let d = typeof this.nextIntroOutro != "undefined" ? this.nextIntroOutro : this.player.introsOutrosIndex;
20434
20446
  const g = typeof this.nextAdvert != "undefined" ? this.nextAdvert : this.player.advertIndex, f = typeof this.prevContent != "undefined" ? this.prevContent : this.player.contentIndex;
20435
- n && (e = !0, i = !1, d = -1), F(this, yo, dl).call(this, Ey({ introsOutrosIndex: d, adverts: s, advertIndex: g, content: l, contentIndex: f, currentTime: a, atTheStart: e, atTheEnd: i, errored: o, minDurationForMidroll: r, minTimeUntilEndForMidroll: u }));
20447
+ n && (e = !0, i = !1, d = -1), F(this, yo, dl).call(this, My({ introsOutrosIndex: d, adverts: s, advertIndex: g, content: l, contentIndex: f, currentTime: a, atTheStart: e, atTheEnd: i, errored: o, minDurationForMidroll: r, minTimeUntilEndForMidroll: u }));
20436
20448
  const A = this.player.persistentAdImage, m = this.player.persistentIndex;
20437
- this.player.persistentIndex = Dy(A, m, g, s);
20449
+ this.player.persistentIndex = xy(A, m, g, s);
20438
20450
  }, bs = new WeakSet(), Qr = function() {
20439
20451
  this.player.playbackState === "playing" && typeof this.nextIntroOutro != "undefined" && (F(this, Bn, io).call(this, this.nextIntroOutro), delete this.nextIntroOutro);
20440
20452
  }, ks = new WeakSet(), $r = function() {
@@ -20475,20 +20487,20 @@ fs = new WeakSet(), Hr = function({ type: e }) {
20475
20487
  return ((n = this.player.currentSegment) == null ? void 0 : n.contentIndex) !== e || ((o = this.player.currentSegment) == null ? void 0 : o.segmentIndex) !== i;
20476
20488
  };
20477
20489
  var bo = "<unknown>";
20478
- function e3(t) {
20490
+ function t3(t) {
20479
20491
  var e = t.split(`
20480
20492
  `);
20481
20493
  return e.reduce(function(i, n) {
20482
- var o = n3(n) || s3(n) || r3(n) || g3(n) || c3(n);
20494
+ var o = o3(n) || l3(n) || u3(n) || f3(n) || d3(n);
20483
20495
  return o && i.push(o), i;
20484
20496
  }, []);
20485
20497
  }
20486
- var t3 = /^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i, i3 = /\((\S*)(?::(\d+))(?::(\d+))\)/;
20487
- function n3(t) {
20488
- var e = t3.exec(t);
20498
+ var i3 = /^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i, n3 = /\((\S*)(?::(\d+))(?::(\d+))\)/;
20499
+ function o3(t) {
20500
+ var e = i3.exec(t);
20489
20501
  if (!e)
20490
20502
  return null;
20491
- var i = e[2] && e[2].indexOf("native") === 0, n = e[2] && e[2].indexOf("eval") === 0, o = i3.exec(e[2]);
20503
+ var i = e[2] && e[2].indexOf("native") === 0, n = e[2] && e[2].indexOf("eval") === 0, o = n3.exec(e[2]);
20492
20504
  return n && o != null && (e[2] = o[1], e[3] = o[2], e[4] = o[3]), {
20493
20505
  file: i ? null : e[2],
20494
20506
  methodName: e[1] || bo,
@@ -20497,9 +20509,9 @@ function n3(t) {
20497
20509
  column: e[4] ? +e[4] : null
20498
20510
  };
20499
20511
  }
20500
- var o3 = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;
20501
- function s3(t) {
20502
- var e = o3.exec(t);
20512
+ var s3 = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;
20513
+ function l3(t) {
20514
+ var e = s3.exec(t);
20503
20515
  return e ? {
20504
20516
  file: e[2],
20505
20517
  methodName: e[1] || bo,
@@ -20508,12 +20520,12 @@ function s3(t) {
20508
20520
  column: e[4] ? +e[4] : null
20509
20521
  } : null;
20510
20522
  }
20511
- var l3 = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i, a3 = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i;
20512
- function r3(t) {
20513
- var e = l3.exec(t);
20523
+ var a3 = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i, r3 = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i;
20524
+ function u3(t) {
20525
+ var e = a3.exec(t);
20514
20526
  if (!e)
20515
20527
  return null;
20516
- var i = e[3] && e[3].indexOf(" > eval") > -1, n = a3.exec(e[3]);
20528
+ var i = e[3] && e[3].indexOf(" > eval") > -1, n = r3.exec(e[3]);
20517
20529
  return i && n != null && (e[3] = n[1], e[4] = n[2], e[5] = null), {
20518
20530
  file: e[3],
20519
20531
  methodName: e[1] || bo,
@@ -20522,9 +20534,9 @@ function r3(t) {
20522
20534
  column: e[5] ? +e[5] : null
20523
20535
  };
20524
20536
  }
20525
- var u3 = /^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?):(\d+)(?::(\d+))?\s*$/i;
20526
- function c3(t) {
20527
- var e = u3.exec(t);
20537
+ var c3 = /^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?):(\d+)(?::(\d+))?\s*$/i;
20538
+ function d3(t) {
20539
+ var e = c3.exec(t);
20528
20540
  return e ? {
20529
20541
  file: e[3],
20530
20542
  methodName: e[1] || bo,
@@ -20533,9 +20545,9 @@ function c3(t) {
20533
20545
  column: e[5] ? +e[5] : null
20534
20546
  } : null;
20535
20547
  }
20536
- var d3 = /^\s*at (?:((?:\[object object\])?[^\\/]+(?: \[as \S+\])?) )?\(?(.*?):(\d+)(?::(\d+))?\)?\s*$/i;
20537
- function g3(t) {
20538
- var e = d3.exec(t);
20548
+ var g3 = /^\s*at (?:((?:\[object object\])?[^\\/]+(?: \[as \S+\])?) )?\(?(.*?):(\d+)(?::(\d+))?\)?\s*$/i;
20549
+ function f3(t) {
20550
+ var e = g3.exec(t);
20539
20551
  return e ? {
20540
20552
  file: e[2],
20541
20553
  methodName: e[1] || bo,
@@ -20545,7 +20557,7 @@ function g3(t) {
20545
20557
  } : null;
20546
20558
  }
20547
20559
  let qa = !1, Fs, Us;
20548
- const f3 = ({ onError: t }) => {
20560
+ const m3 = ({ onError: t }) => {
20549
20561
  if (!t || qa)
20550
20562
  return;
20551
20563
  qa = !0;
@@ -20567,8 +20579,8 @@ const f3 = ({ onError: t }) => {
20567
20579
  };
20568
20580
  }, Ha = (t) => {
20569
20581
  var e;
20570
- return (e = e3((t == null ? void 0 : t.stack) || "")[0]) == null ? void 0 : e.file;
20571
- }, m3 = () => {
20582
+ return (e = t3((t == null ? void 0 : t.stack) || "")[0]) == null ? void 0 : e.file;
20583
+ }, h3 = () => {
20572
20584
  typeof window == "undefined" && ci([
20573
20585
  "Trying to initialize BeyondWords.Player in a server context but this is unsupported.",
20574
20586
  "Please only initialize the player in a context where the global window object is available.",
@@ -20576,17 +20588,17 @@ const f3 = ({ onError: t }) => {
20576
20588
  ]);
20577
20589
  };
20578
20590
  let Ya = !1;
20579
- const h3 = () => {
20580
- Ya || (addEventListener("mousedown", _3), addEventListener("click", y3), addEventListener("mousemove", v3), Ya = !0);
20591
+ const _3 = () => {
20592
+ Ya || (addEventListener("mousedown", A3), addEventListener("click", v3), addEventListener("mousemove", b3), Ya = !0);
20581
20593
  };
20582
20594
  let ou, su;
20583
- const _3 = (t) => {
20595
+ const A3 = (t) => {
20584
20596
  ou = t.pageX, su = t.pageY;
20585
- }, A3 = (t) => {
20597
+ }, y3 = (t) => {
20586
20598
  const e = t.pageX - ou, i = t.pageY - su;
20587
20599
  return Math.sqrt(e * e + i * i) > 5;
20588
- }, y3 = (t) => {
20589
- if (!t.defaultPrevented && !A3(t) && t.button === 0)
20600
+ }, v3 = (t) => {
20601
+ if (!t.defaultPrevented && !y3(t) && t.button === 0)
20590
20602
  for (const { player: e, segment: i, contentIndex: n, segmentIndex: o, segmentElement: s, precedence: l } of cr(t.target))
20591
20603
  i && e.onEvent(ve({
20592
20604
  type: "PressedSegment",
@@ -20599,9 +20611,9 @@ const _3 = (t) => {
20599
20611
  segmentElement: s,
20600
20612
  precedence: l
20601
20613
  }));
20602
- }, v3 = (t) => {
20614
+ }, b3 = (t) => {
20603
20615
  for (const { p: e, player: i, segment: n, contentIndex: o, segmentIndex: s, segmentElement: l, precedence: a } of cr(t.target))
20604
- n && b3(e, o, s) && i.onEvent(ve({
20616
+ k3(e, o, s) && i.onEvent(ve({
20605
20617
  type: "HoveredSegmentUpdated",
20606
20618
  description: "The user hovered over a different segment in the article.",
20607
20619
  initiatedBy: "user",
@@ -20612,7 +20624,7 @@ const _3 = (t) => {
20612
20624
  segmentElement: l,
20613
20625
  precedence: a
20614
20626
  }));
20615
- }, Ho = {}, b3 = (t, e, i) => {
20627
+ }, Ho = {}, k3 = (t, e, i) => {
20616
20628
  Ho[t] || (Ho[t] = {});
20617
20629
  const n = Ho[t];
20618
20630
  return n.contentIndex === e && n.segmentIndex === i ? !1 : (n.contentIndex = e, n.segmentIndex = i, !0);
@@ -20622,28 +20634,28 @@ class qs {
20622
20634
  this.analyticsSink = e;
20623
20635
  }
20624
20636
  sendToCustomAnalytics(e) {
20625
- return XA(this.analyticsSink, e);
20637
+ return QA(this.analyticsSink, e);
20626
20638
  }
20627
20639
  sendToGoogleAnalytics(e, i) {
20628
20640
  window.gtag("event", e, Ji(Xt({}, i), { send_to: this.analyticsSink }));
20629
20641
  }
20630
20642
  }
20631
- const k3 = (t, e) => {
20632
- const i = p3(t, e.type);
20643
+ const p3 = (t, e) => {
20644
+ const i = S3(t, e.type);
20633
20645
  if (!i)
20634
20646
  return;
20635
- const n = S3(t, i);
20636
- hc(n), t.analyticsUrl && t.analyticsConsent !== "none" && new qs(t.analyticsUrl).sendToCustomAnalytics(n), t.analyticsCustomUrl && t.analyticsConsent !== "none" && new qs(t.analyticsCustomUrl).sendToCustomAnalytics(n), t.analyticsTag && new qs(t.analyticsTag).sendToGoogleAnalytics(w3(n), n);
20637
- }, p3 = (t, e) => {
20647
+ const n = w3(t, i);
20648
+ hc(n), t.analyticsUrl && t.analyticsConsent !== "none" && new qs(t.analyticsUrl).sendToCustomAnalytics(n), t.analyticsCustomUrl && t.analyticsConsent !== "none" && new qs(t.analyticsCustomUrl).sendToCustomAnalytics(n), t.analyticsTag && new qs(t.analyticsTag).sendToGoogleAnalytics(T3(n), n);
20649
+ }, S3 = (t, e) => {
20638
20650
  if (e === "MetadataLoaded" && !t.listenSessionId)
20639
20651
  return "load";
20640
- if (e === "PlaybackPlaying" && T3(t) && (t.isNewListen = !0), e === "CurrentTimeUpdated" && t.isNewListen)
20652
+ if (e === "PlaybackPlaying" && P3(t) && (t.isNewListen = !0), e === "CurrentTimeUpdated" && t.isNewListen)
20641
20653
  return t.isNewListen = !1, "play";
20642
- if (e === "CurrentTimeUpdated" && P3(t))
20654
+ if (e === "CurrentTimeUpdated" && C3(t))
20643
20655
  return "play_progress";
20644
20656
  if (e.startsWith("PressedAdvert"))
20645
20657
  return "ad_link_click";
20646
- }, S3 = (t, e) => {
20658
+ }, w3 = (t, e) => {
20647
20659
  var l, a;
20648
20660
  t.listenSessionId || (t.listenSessionId = Jo()), t.sessionCreatedAt || (t.sessionCreatedAt = Date.now());
20649
20661
  const i = ["without-local-storage", "none"].includes(t.analyticsConsent);
@@ -20651,7 +20663,7 @@ const k3 = (t, e) => {
20651
20663
  const n = t.adverts[t.advertIndex], o = t.content[t.contentIndex], s = t.duration ? t.currentTime / t.duration * 100 : 0;
20652
20664
  return {
20653
20665
  event_type: e,
20654
- device_type: C3(t),
20666
+ device_type: I3(t),
20655
20667
  media_type: n ? "ad" : "content",
20656
20668
  project_id: t.projectId,
20657
20669
  content_id: o == null ? void 0 : o.id,
@@ -20672,7 +20684,7 @@ const k3 = (t, e) => {
20672
20684
  player_version: "1",
20673
20685
  player_npm_version: oo
20674
20686
  };
20675
- }, w3 = ({ event_type: t, listen_length_percent: e }) => {
20687
+ }, T3 = ({ event_type: t, listen_length_percent: e }) => {
20676
20688
  const i = Math.floor(e / 10) * 10;
20677
20689
  if (t === "load")
20678
20690
  return "Load";
@@ -20684,7 +20696,7 @@ const k3 = (t, e) => {
20684
20696
  return `${i}% listened`;
20685
20697
  if (t === "ad_link_click")
20686
20698
  return "Advert Click";
20687
- }, T3 = (t) => {
20699
+ }, P3 = (t) => {
20688
20700
  var n, o;
20689
20701
  let e = !1;
20690
20702
  if (t.advertIndex !== -1) {
@@ -20695,22 +20707,22 @@ const k3 = (t, e) => {
20695
20707
  e = s !== t.prevContentId, t.prevContentId = s;
20696
20708
  }
20697
20709
  return e;
20698
- }, P3 = (t) => {
20710
+ }, C3 = (t) => {
20699
20711
  if (t.introsOutrosIndex !== -1)
20700
20712
  return;
20701
20713
  const e = t.prevPercentage + 10, i = t.currentTime / t.duration * 100;
20702
20714
  if (i >= e)
20703
20715
  return t.prevPercentage = Math.floor(i / 10) * 10, !0;
20704
- }, C3 = (t) => t.analyticsDeviceType !== "auto" ? t.analyticsDeviceType : Za(499) ? "phone" : Za(999) ? "tablet" : "desktop", Za = (t) => window.matchMedia && window.matchMedia(`only screen and (max-device-width: ${t}px)`).matches;
20716
+ }, I3 = (t) => t.analyticsDeviceType !== "auto" ? t.analyticsDeviceType : Za(499) ? "phone" : Za(999) ? "tablet" : "desktop", Za = (t) => window.matchMedia && window.matchMedia(`only screen and (max-device-width: ${t}px)`).matches;
20705
20717
  var yn;
20706
- const Vi = class Vi extends by {
20718
+ const Vi = class Vi extends ky {
20707
20719
  constructor(n) {
20708
20720
  var o = n, { target: e } = o, i = Ws(o, ["target"]);
20709
- m3(), f3(i), h3();
20710
- const { newTarget: s, showUserInterface: l } = uy(e);
20721
+ h3(), m3(i), _3();
20722
+ const { newTarget: s, showUserInterface: l } = cy(e);
20711
20723
  s.classList.add("beyondwords-player", "bwp"), Vi._styleLoaded || (s.style.display = "none");
20712
- const a = new $y(null, Vi);
20713
- a.addEventListener("<any>", (u) => k3(this, u));
20724
+ const a = new e3(null, Vi);
20725
+ a.addEventListener("<any>", (u) => p3(this, u));
20714
20726
  const r = Xt({ showUserInterface: l }, i);
20715
20727
  super({ target: s, props: Ji(Xt({ controller: a }, r), { initialProps: r }) }), a.player = this, Mi(Vi, yn).push(this);
20716
20728
  }
@@ -20752,8 +20764,8 @@ yn = new WeakMap(), Ie(Vi, yn, []);
20752
20764
  let is = Vi;
20753
20765
  var Ka;
20754
20766
  typeof window != "undefined" && (window.BeyondWords || (window.BeyondWords = {}), (Ka = window.BeyondWords).Player || (Ka.Player = is));
20755
- const W3 = { Player: is };
20767
+ const O3 = { Player: is };
20756
20768
  export {
20757
- W3 as default
20769
+ O3 as default
20758
20770
  };
20759
20771
  //# sourceMappingURL=es.js.map