@tidal-music/player-web-components 0.2.0 → 0.2.1

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.
@@ -1,6 +1,6 @@
1
1
  import { l as CM, o as DM } from "./_commonjsHelpers-DaMA6jEr-DtILRGNx.js";
2
- import { k as pc, S as mp, y as Br, P as Fi, q as gc, W as Sw, L as xw, I as Ja, b as Qa, x as PM, a as Aw, l as kw, G as LM, c as RM } from "./index-vp_MoGvy.js";
3
- import { C as NM, R as Iw, w as UM } from "./basePlayer-C5QIyqfj-Dxhlf4BZ.js";
2
+ import { k as pc, S as mp, y as Br, P as Fi, q as gc, D as Sw, B as xw, A as $a, b as Qa, R as PM, c as Aw, l as kw, $ as LM, d as RM } from "./index-DHnVYeec.js";
3
+ import { C as NM, R as Iw, w as UM } from "./basePlayer-Rqi9yRuo-4eKn-Akv.js";
4
4
  var Ew = {};
5
5
  /*
6
6
  @license
@@ -12,7 +12,7 @@ var Mw;
12
12
  function jM() {
13
13
  return Mw || (Mw = 1, function(ve) {
14
14
  (function() {
15
- var H = typeof window < "u" ? window : DM, $ = {};
15
+ var G = typeof window < "u" ? window : DM, $ = {};
16
16
  (function(j, tt, dt) {
17
17
  var f;
18
18
  function ct(e) {
@@ -81,7 +81,7 @@ function jM() {
81
81
  if (typeof e.length == "number") return { next: ct(e) };
82
82
  throw Error(String(e) + " is not an iterable or ArrayLike");
83
83
  }
84
- function G(e) {
84
+ function H(e) {
85
85
  if (!(e instanceof Array)) {
86
86
  e = g(e);
87
87
  for (var t, n = []; !(t = e.next()).done; ) n.push(t.value);
@@ -806,27 +806,27 @@ function jM() {
806
806
  }
807
807
  function li(e) {
808
808
  var t = St.apply(1, arguments);
809
- Tp.has(e) || (Tp.add(e), Ie.apply(Ow, G(t)));
809
+ Tp.has(e) || (Tp.add(e), Ie.apply(Ow, H(t)));
810
810
  }
811
811
  function _w() {
812
812
  }
813
813
  var Tp = /* @__PURE__ */ new Set();
814
814
  j.console && ((/* @__PURE__ */ new Map()).set(1, function() {
815
- return console.error.apply(console, G(St.apply(0, arguments)));
815
+ return console.error.apply(console, H(St.apply(0, arguments)));
816
816
  }).set(2, function() {
817
- return console.warn.apply(console, G(St.apply(0, arguments)));
817
+ return console.warn.apply(console, H(St.apply(0, arguments)));
818
818
  }).set(3, function() {
819
- return console.info.apply(console, G(St.apply(0, arguments)));
819
+ return console.info.apply(console, H(St.apply(0, arguments)));
820
820
  }).set(4, function() {
821
- return console.log.apply(console, G(St.apply(0, arguments)));
821
+ return console.log.apply(console, H(St.apply(0, arguments)));
822
822
  }).set(5, function() {
823
- return console.debug.apply(console, G(St.apply(0, arguments)));
823
+ return console.debug.apply(console, H(St.apply(0, arguments)));
824
824
  }).set(6, function() {
825
- return console.debug.apply(console, G(St.apply(0, arguments)));
825
+ return console.debug.apply(console, H(St.apply(0, arguments)));
826
826
  }), Ie = function() {
827
- return console.warn.apply(console, G(St.apply(0, arguments)));
827
+ return console.warn.apply(console, H(St.apply(0, arguments)));
828
828
  }, rr = function() {
829
- console.error.apply(console, G(St.apply(0, arguments)));
829
+ console.error.apply(console, H(St.apply(0, arguments)));
830
830
  });
831
831
  function Cs() {
832
832
  this.g = /* @__PURE__ */ new Map();
@@ -872,7 +872,7 @@ function jM() {
872
872
  }
873
873
  }, f.Ra = function() {
874
874
  if (this.g) {
875
- for (var e = [], t = g(this.g.g.values()), n = t.next(); !n.done; n = t.next()) e.push.apply(e, G(n.value));
875
+ for (var e = [], t = g(this.g.g.values()), n = t.next(); !n.done; n = t.next()) e.push.apply(e, H(n.value));
876
876
  for (e = g(e), t = e.next(); !t.done; t = e.next()) t.value.Ja();
877
877
  this.g.g.clear();
878
878
  }
@@ -910,10 +910,10 @@ function jM() {
910
910
  }
911
911
  var xp = void 0;
912
912
  X("shaka.config.AutoShowText", { NEVER: 0, ALWAYS: 1, IF_PREFERRED_TEXT_LANGUAGE: 2, IF_SUBTITLES_MAY_BE_NEEDED: 3 });
913
- function $e(e) {
913
+ function Je(e) {
914
914
  this.h = e, this.g = void 0;
915
915
  }
916
- $e.prototype.value = function() {
916
+ Je.prototype.value = function() {
917
917
  return this.g === void 0 && (this.g = this.h()), this.g;
918
918
  };
919
919
  /*
@@ -925,7 +925,7 @@ function jM() {
925
925
  function Te() {
926
926
  return Vw.value();
927
927
  }
928
- var Yn = null, Sc = null, Vw = new $e(function() {
928
+ var Yn = null, Sc = null, Vw = new Je(function() {
929
929
  var e = void 0;
930
930
  return Yn && (e = Yn()), !e && Sc && (e = Sc()), e;
931
931
  });
@@ -1089,7 +1089,7 @@ function jM() {
1089
1089
  function Ep(e, t, n) {
1090
1090
  return n = n === void 0 ? 1 / 0 : n, kc(e, t === void 0 ? 0 : t, n, Uint16Array);
1091
1091
  }
1092
- function Jt(e, t, n) {
1092
+ function $t(e, t, n) {
1093
1093
  return n = n === void 0 ? 1 / 0 : n, kc(e, t === void 0 ? 0 : t, n, DataView);
1094
1094
  }
1095
1095
  function kc(e, t, n, r) {
@@ -1098,7 +1098,7 @@ function jM() {
1098
1098
  var o = ((e.byteOffset || 0) + e.byteLength) / a;
1099
1099
  return e = Math.floor(Math.max(0, Math.min(((e.byteOffset || 0) + t) / a, o))), new r(i, e, Math.floor(Math.min(e + Math.max(n, 0), o)) - e);
1100
1100
  }
1101
- X("shaka.util.BufferUtils", qi), qi.toDataView = Jt, qi.toUint16 = Ep, qi.toUint8 = ue, qi.toArrayBuffer = kn, qi.equal = pr;
1101
+ X("shaka.util.BufferUtils", qi), qi.toDataView = $t, qi.toUint16 = Ep, qi.toUint8 = ue, qi.toArrayBuffer = kn, qi.equal = pr;
1102
1102
  function E(e, t, n) {
1103
1103
  var r = St.apply(3, arguments);
1104
1104
  this.severity = e, this.category = t, this.code = n, this.data = r, this.handled = !1, this.message = "Shaka Error " + this.code;
@@ -1264,7 +1264,7 @@ function jM() {
1264
1264
  };
1265
1265
  function di() {
1266
1266
  }
1267
- function Je(e) {
1267
+ function $e(e) {
1268
1268
  if (!e) return "";
1269
1269
  if (e = ue(e), e[0] == 239 && e[1] == 187 && e[2] == 191 && (e = e.subarray(3)), j.TextDecoder && !Te().ph()) return e = new TextDecoder().decode(e), e.includes("�") && rr('Decoded string contains an "unknown character" codepoint. That probably means the UTF8 encoding was incorrect!'), e;
1270
1270
  for (var t = "", n = 0; n < e.length; ++n) {
@@ -1283,7 +1283,7 @@ function jM() {
1283
1283
  if (!n && e.byteLength % 2 != 0) throw new E(2, 2, 2004);
1284
1284
  n = Math.floor(e.byteLength / 2);
1285
1285
  var r = new Uint16Array(n);
1286
- e = Jt(e);
1286
+ e = $t(e);
1287
1287
  for (var i = 0; i < n; i++) r[i] = e.getUint16(2 * i, t);
1288
1288
  return Ec(r);
1289
1289
  }
@@ -1293,12 +1293,12 @@ function jM() {
1293
1293
  }
1294
1294
  if (!e) return "";
1295
1295
  var n = ue(e);
1296
- if (n[0] == 239 && n[1] == 187 && n[2] == 191) return Je(n);
1296
+ if (n[0] == 239 && n[1] == 187 && n[2] == 191) return $e(n);
1297
1297
  if (n[0] == 254 && n[1] == 255) return Vr(n.subarray(2), !1);
1298
1298
  if (n[0] == 255 && n[1] == 254) return Vr(n.subarray(2), !0);
1299
1299
  if (n[0] == 0 && n[2] == 0) return Vr(e, !1);
1300
1300
  if (n[1] == 0 && n[3] == 0) return Vr(e, !0);
1301
- if (t(0) && t(1) && t(2) && t(3)) return Je(e);
1301
+ if (t(0) && t(1) && t(2) && t(3)) return $e(e);
1302
1302
  throw new E(2, 2, 2003);
1303
1303
  }
1304
1304
  function Bn(e) {
@@ -1325,8 +1325,8 @@ function jM() {
1325
1325
  }
1326
1326
  X("shaka.util.StringUtils", di), di.resetFromCharCode = function() {
1327
1327
  Mp.g = void 0;
1328
- }, di.toUTF16 = Ic, di.toUTF8 = Bn, di.fromBytesAutoDetect = ir, di.fromUTF16 = Vr, di.fromUTF8 = Je;
1329
- var Mp = new $e(function() {
1328
+ }, di.toUTF16 = Ic, di.toUTF8 = Bn, di.fromBytesAutoDetect = ir, di.fromUTF16 = Vr, di.fromUTF8 = $e;
1329
+ var Mp = new Je(function() {
1330
1330
  function e(n) {
1331
1331
  try {
1332
1332
  var r = new Uint8Array(n);
@@ -1506,10 +1506,10 @@ function jM() {
1506
1506
  }, f.remove = function() {
1507
1507
  }, f.Uf = function() {
1508
1508
  }, X("shaka.media.IClosedCaptionParser", Up);
1509
- function $n(e) {
1509
+ function Jn(e) {
1510
1510
  this.h = /* @__PURE__ */ new Map(), this.i = 0, this.j = new Pc(), (e = jp(e.toLowerCase())) && (this.j = e()), this.g = new io(), (e = hi) && (this.g = e(), this.h.set(this.i, this.g));
1511
1511
  }
1512
- f = $n.prototype, f.init = function(e, t, n) {
1512
+ f = Jn.prototype, f.init = function(e, t, n) {
1513
1513
  if (t = t === void 0 ? !1 : t, n = n === void 0 ? -1 : n, n != -1 && this.i != n) {
1514
1514
  t = n;
1515
1515
  var r = this.h.get(t);
@@ -1541,15 +1541,15 @@ function jM() {
1541
1541
  function jp(e) {
1542
1542
  return Rc.get(e);
1543
1543
  }
1544
- X("shaka.media.ClosedCaptionParser", $n), $n.findDecoder = function() {
1544
+ X("shaka.media.ClosedCaptionParser", Jn), Jn.findDecoder = function() {
1545
1545
  return hi;
1546
- }, $n.unregisterDecoder = function() {
1546
+ }, Jn.unregisterDecoder = function() {
1547
1547
  hi = null;
1548
- }, $n.registerDecoder = function(e) {
1548
+ }, Jn.registerDecoder = function(e) {
1549
1549
  hi = e;
1550
- }, $n.findParser = jp, $n.unregisterParser = function(e) {
1550
+ }, Jn.findParser = jp, Jn.unregisterParser = function(e) {
1551
1551
  Rc.delete(e);
1552
- }, $n.registerParser = Lc;
1552
+ }, Jn.registerParser = Lc;
1553
1553
  var Rc = /* @__PURE__ */ new Map(), hi = null;
1554
1554
  function pi() {
1555
1555
  this.id = "", this.regionAnchorY = this.regionAnchorX = this.viewportAnchorY = this.viewportAnchorX = 0, this.height = this.width = 100, this.viewportAnchorUnits = this.widthUnits = this.heightUnits = an, this.scroll = Op;
@@ -1598,14 +1598,14 @@ function jM() {
1598
1598
  return e.g == e.h.length ? null : (e = gi(e, /[^ \t\n]*/gm)) ? e[0] : null;
1599
1599
  }
1600
1600
  function oo(e) {
1601
- if (e = gi(e, $w), e == null) return null;
1601
+ if (e = gi(e, Jw), e == null) return null;
1602
1602
  var t = Number(e[2]), n = Number(e[3]);
1603
1603
  return 59 < t || 59 < n ? null : (Number(e[6]) || 0) / 1e3 + n + 60 * t + 3600 * (Number(e[1]) || 0);
1604
1604
  }
1605
- function $i(e) {
1605
+ function Ji(e) {
1606
1606
  return e ? oo(new Wi(e)) : null;
1607
1607
  }
1608
- var $w = /(?:(\d{1,}):)?(\d{2}):(\d{2})((\.(\d{1,3})))?/g;
1608
+ var Jw = /(?:(\d{1,}):)?(\d{2}):(\d{2})((\.(\d{1,3})))?/g;
1609
1609
  function Ns() {
1610
1610
  }
1611
1611
  function Vn(e) {
@@ -1663,14 +1663,14 @@ function jM() {
1663
1663
  return e = ir(e), vi(e, t, n);
1664
1664
  }
1665
1665
  function vi(e, t, n) {
1666
- return e = Jw(e, n === void 0 ? !1 : n), !t && e.length ? e[0] : (e = e.find(function(r) {
1666
+ return e = $w(e, n === void 0 ? !1 : n), !t && e.length ? e[0] : (e = e.find(function(r) {
1667
1667
  return t.split(",").includes(r.tagName);
1668
1668
  })) ? e : null;
1669
1669
  }
1670
1670
  function Uc(e) {
1671
1671
  return Oc.has(e) ? Oc.get(e) : "";
1672
1672
  }
1673
- function Jw(e, t) {
1673
+ function $w(e, t) {
1674
1674
  function n(a, o) {
1675
1675
  o = o === void 0 ? !1 : o;
1676
1676
  for (var s = []; e[i]; ) if (e.charCodeAt(i) == 60) {
@@ -1729,7 +1729,7 @@ Char: ` + e[i]);
1729
1729
  u = l;
1730
1730
  }
1731
1731
  if (s.push(u), typeof u == "string") break;
1732
- u.tagName[0] === "?" && u.children && (s.push.apply(s, G(u.children)), u.children = []);
1732
+ u.tagName[0] === "?" && u.children && (s.push.apply(s, H(u.children)), u.children = []);
1733
1733
  } else u = i, i = e.indexOf("<", i) - 1, i === -2 && (i = e.length), u = e.slice(u, i + 1), o ? 0 < u.length && s.push(u) : (s.length && u.length == 1 && u[0] == `
1734
1734
  ` || 0 < u.trim().length) && s.push(u), i++;
1735
1735
  return s;
@@ -1769,10 +1769,10 @@ Char: ` + e[i]);
1769
1769
  return typeof t == "string";
1770
1770
  }) ? ((e = gt(e)) && (e = e.trim()), e) : null;
1771
1771
  }
1772
- function Jn(e, t, n) {
1772
+ function $n(e, t, n) {
1773
1773
  if (n = n === void 0 ? [] : n, e.tagName === t && n.push(e), e.children) {
1774
1774
  e = g(e.children);
1775
- for (var r = e.next(); !r.done; r = e.next()) Jn(r.value, t, n);
1775
+ for (var r = e.next(); !r.done; r = e.next()) $n(r.value, t, n);
1776
1776
  }
1777
1777
  return n;
1778
1778
  }
@@ -1846,7 +1846,7 @@ Char: ` + e[i]);
1846
1846
  var n = Fs(t.attributes.sel || "");
1847
1847
  if (n.length) {
1848
1848
  var r = n[n.length - 1], i = t.attributes.pos || null;
1849
- n = r.position, n == null && (r.t !== null && (n = Hp(e, "t", r.t)), r.n !== null && (n = Hp(e, "n", r.n))), n === null ? n = i === "prepend" ? 0 : e.length : i === "prepend" ? --n : i === "after" && ++n, i = t.tagName, (r = r.wc) && e[n] ? Gp(e[n], i, r, on(t) || "") : (i !== "remove" && i !== "replace" || e.splice(n, 1), i !== "add" && i !== "replace" || e.splice.apply(e, [n, 0].concat(G(t.children))));
1849
+ n = r.position, n == null && (r.t !== null && (n = Hp(e, "t", r.t)), r.n !== null && (n = Hp(e, "n", r.n))), n === null ? n = i === "prepend" ? 0 : e.length : i === "prepend" ? --n : i === "after" && ++n, i = t.tagName, (r = r.wc) && e[n] ? Gp(e[n], i, r, on(t) || "") : (i !== "remove" && i !== "replace" || e.splice(n, 1), i !== "add" && i !== "replace" || e.splice.apply(e, [n, 0].concat(H(t.children))));
1850
1850
  }
1851
1851
  }
1852
1852
  function Hp(e, t, n) {
@@ -1877,7 +1877,7 @@ Char: ` + e[i]);
1877
1877
  }
1878
1878
  var Oc = /* @__PURE__ */ new Map(), _c = /* @__PURE__ */ new Map();
1879
1879
  function qe(e, t, n) {
1880
- this.startTime = e, this.endTime = t, this.payload = n, this.region = new pi(), this.position = null, this.positionAlign = Gs, this.size = 0, this.textAlign = ur, this.direction = co, this.writingMode = yi, this.lineInterpretation = fo, this.line = null, this.lineHeight = "", this.lineAlign = bi, this.displayAlign = lo, this.fontSize = this.border = this.backgroundImage = this.backgroundColor = this.color = "", this.fontWeight = Jp, this.fontStyle = Vc, this.linePadding = this.letterSpacing = this.fontFamily = "", this.opacity = 1, this.textCombineUpright = "", this.textDecoration = [], this.textStrokeWidth = this.textStrokeColor = this.textShadow = "", this.wrapLine = !0, this.id = "", this.nestedCues = [], this.lineBreak = this.isContainer = !1, this.rubyTag = null, this.cellResolution = { Lc: 32, rows: 15 };
1880
+ this.startTime = e, this.endTime = t, this.payload = n, this.region = new pi(), this.position = null, this.positionAlign = Gs, this.size = 0, this.textAlign = ur, this.direction = co, this.writingMode = yi, this.lineInterpretation = fo, this.line = null, this.lineHeight = "", this.lineAlign = bi, this.displayAlign = lo, this.fontSize = this.border = this.backgroundImage = this.backgroundColor = this.color = "", this.fontWeight = $p, this.fontStyle = Vc, this.linePadding = this.letterSpacing = this.fontFamily = "", this.opacity = 1, this.textCombineUpright = "", this.textDecoration = [], this.textStrokeWidth = this.textStrokeColor = this.textShadow = "", this.wrapLine = !0, this.id = "", this.nestedCues = [], this.lineBreak = this.isContainer = !1, this.rubyTag = null, this.cellResolution = { Lc: 32, rows: 15 };
1881
1881
  }
1882
1882
  function qp(e, t) {
1883
1883
  return e = new qe(e, t, ""), e.lineBreak = !0, e;
@@ -1955,7 +1955,7 @@ Char: ` + e[i]);
1955
1955
  var i = new qe(0, 0, "");
1956
1956
  i.color = r, e.set("." + n, i);
1957
1957
  }
1958
- for (t = g(Object.entries($p)), n = t.next(); !n.done; n = t.next()) r = g(n.value), n = r.next().value, r = r.next().value, i = new qe(0, 0, ""), i.backgroundColor = r, e.set("." + n, i);
1958
+ for (t = g(Object.entries(Jp)), n = t.next(); !n.done; n = t.next()) r = g(n.value), n = r.next().value, r = r.next().value, i = new qe(0, 0, ""), i.backgroundColor = r, e.set("." + n, i);
1959
1959
  }
1960
1960
  function Zw(e) {
1961
1961
  var t = { "< ": "", " >": " &gt;" }, n = /(< +>|<\s|\s>)/g, r = RegExp(n.source);
@@ -1976,7 +1976,7 @@ Char: ` + e[i]);
1976
1976
  r = qp(r.startTime, r.endTime), t.nestedCues.push(r);
1977
1977
  return;
1978
1978
  case "b":
1979
- r.fontWeight = Ji;
1979
+ r.fontWeight = $i;
1980
1980
  break;
1981
1981
  case "i":
1982
1982
  r.fontStyle = Qi;
@@ -1989,7 +1989,7 @@ Char: ` + e[i]);
1989
1989
  break;
1990
1990
  case "div":
1991
1991
  if (a = e.attributes.time, !a) break;
1992
- (a = $i(a)) && (r.startTime = a);
1992
+ (a = Ji(a)) && (r.startTime = a);
1993
1993
  break;
1994
1994
  case "ruby":
1995
1995
  case "rp":
@@ -2021,10 +2021,10 @@ Char: ` + e[i]);
2021
2021
  qe.lineAlign = Fc;
2022
2022
  var Yp = { white: "white", lime: "lime", cyan: "cyan", red: "red", yellow: "yellow", magenta: "magenta", blue: "blue", black: "black" };
2023
2023
  qe.defaultTextColor = Yp;
2024
- var $p = { bg_white: "white", bg_lime: "lime", bg_cyan: "cyan", bg_red: "red", bg_yellow: "yellow", bg_magenta: "magenta", bg_blue: "blue", bg_black: "black" };
2025
- qe.defaultTextBackgroundColor = $p;
2026
- var Jp = 400, Ji = 700;
2027
- qe.fontWeight = { NORMAL: Jp, BOLD: Ji };
2024
+ var Jp = { bg_white: "white", bg_lime: "lime", bg_cyan: "cyan", bg_red: "red", bg_yellow: "yellow", bg_magenta: "magenta", bg_blue: "blue", bg_black: "black" };
2025
+ qe.defaultTextBackgroundColor = Jp;
2026
+ var $p = 400, $i = 700;
2027
+ qe.fontWeight = { NORMAL: $p, BOLD: $i };
2028
2028
  var Vc = "normal", Qi = "italic", Qp = { NORMAL: Vc, ITALIC: Qi, OBLIQUE: "oblique" };
2029
2029
  qe.fontStyle = Qp;
2030
2030
  var wr = "underline";
@@ -2355,7 +2355,7 @@ Char: ` + e[i]);
2355
2355
  return x.Rf.decodingInfos[0][A];
2356
2356
  };
2357
2357
  }(C)).length, k > w ? (w = k, S = [C.Rf]) : k == w && S.push(C.Rf);
2358
- c.push.apply(c, G(S));
2358
+ c.push.apply(c, H(S));
2359
2359
  }), s = c;
2360
2360
  }
2361
2361
  for (n = /* @__PURE__ */ new Set(), t = /* @__PURE__ */ new Set(), s = g(s), i = s.next(); !i.done; i = s.next()) i = i.value, i.audio && n.add(i.audio), i.video && t.add(i.video);
@@ -2749,23 +2749,23 @@ Char: ` + e[i]);
2749
2749
  function Si(e) {
2750
2750
  return { id: e.id, active: !1, type: be, bandwidth: e.bandwidth || 0, language: e.language, label: e.label, kind: e.kind || null, mimeType: e.mimeType, codecs: e.codecs || null, primary: e.primary, roles: e.roles, accessibilityPurpose: e.accessibilityPurpose, forced: e.forced, originalTextId: e.originalId, originalLanguage: e.originalLanguage };
2751
2751
  }
2752
- function $c(e) {
2752
+ function Jc(e) {
2753
2753
  var t = e.width || null, n = e.height || null, r = null;
2754
2754
  e.segmentIndex && (r = Zn(e.segmentIndex));
2755
2755
  var i = e.tilesLayout;
2756
2756
  return r && (i = r.tilesLayout || i), i && t != null && (t /= Number(i.split("x")[0])), i && n != null && (n /= Number(i.split("x")[1])), { id: e.id, type: "image", bandwidth: e.bandwidth || 0, width: t, height: n, mimeType: e.mimeType, codecs: e.codecs || null, tilesLayout: i || null, originalImageId: e.originalId };
2757
2757
  }
2758
- function $s(e) {
2758
+ function Js(e) {
2759
2759
  return e.__shaka_id || (e.__shaka_id = gT++), e.__shaka_id;
2760
2760
  }
2761
2761
  function cg(e) {
2762
- var t = { id: $s(e), active: e.mode != "disabled", type: be, bandwidth: 0, language: Pe(e.language || "und"), label: e.label, kind: e.kind, mimeType: null, codecs: null, primary: !1, roles: [], accessibilityPurpose: null, forced: e.kind == "forced", originalTextId: e.id, originalLanguage: e.language };
2762
+ var t = { id: Js(e), active: e.mode != "disabled", type: be, bandwidth: 0, language: Pe(e.language || "und"), label: e.label, kind: e.kind, mimeType: null, codecs: null, primary: !1, roles: [], accessibilityPurpose: null, forced: e.kind == "forced", originalTextId: e.id, originalLanguage: e.language };
2763
2763
  return e.kind == "captions" && (t.mimeType = "unknown"), e.kind == "subtitles" && (t.mimeType = "text/vtt"), e.kind && (t.roles = [e.kind]), t;
2764
2764
  }
2765
- function Js(e, t) {
2765
+ function $s(e, t) {
2766
2766
  var n = e ? e.language : null;
2767
2767
  if (n = {
2768
- id: $s(e || t),
2768
+ id: Js(e || t),
2769
2769
  active: e ? e.enabled : t.selected,
2770
2770
  type: "variant",
2771
2771
  bandwidth: 0,
@@ -2959,14 +2959,14 @@ Char: ` + e[i]);
2959
2959
  return l && !(l.audio && l.audio.fastSwitching || l.video && l.video.fastSwitching);
2960
2960
  }), n.length || (n = this.F), r = n, n.length != this.F.length && (r = this.F.filter(function(l) {
2961
2961
  return l && !!(l.audio && l.audio.fastSwitching || l.video && l.video.fastSwitching);
2962
- })), n = Jc(this, this.g.restrictions, r, 1 / 0, 1 / 0), e != 1 / 0 || t != 1 / 0) {
2962
+ })), n = $c(this, this.g.restrictions, r, 1 / 0, 1 / 0), e != 1 / 0 || t != 1 / 0) {
2963
2963
  for (n = vT(n), n = g(n), i = n.next(); !i.done; i = n.next()) if (i = i.value, i.height >= e && i.width >= t) {
2964
2964
  e = i.height, t = i.width;
2965
2965
  break;
2966
2966
  }
2967
- n = Jc(this, this.g.restrictions, r, e, t);
2967
+ n = $c(this, this.g.restrictions, r, e, t);
2968
2968
  }
2969
- for (e = this.getBandwidthEstimate(), r.length && !n.length && (n = Jc(this, null, r, 1 / 0, 1 / 0), n = [n[0]]), t = n[0] || null, r = 0; r < n.length; r++) {
2969
+ for (e = this.getBandwidthEstimate(), r.length && !n.length && (n = $c(this, null, r, 1 / 0, 1 / 0), n = [n[0]]), t = n[0] || null, r = 0; r < n.length; r++) {
2970
2970
  i = n[r];
2971
2971
  for (var a = isNaN(this.H) ? 1 : Math.abs(this.H), o = a * i.bandwidth / this.g.bandwidthDowngradeTarget, s = { bandwidth: 1 / 0 }, u = r + 1; u < n.length; u++) if (i.bandwidth != n[u].bandwidth) {
2972
2972
  s = n[u];
@@ -3014,7 +3014,7 @@ Char: ` + e[i]);
3014
3014
  }
3015
3015
  Date.now() - e.s < 1e3 * e.g.switchInterval || (t = e.chooseVariant(), e.getBandwidthEstimate(), t && e.G(t, e.g.clearBufferSwitch, e.g.safeMarginSwitch));
3016
3016
  }
3017
- function Jc(e, t, n, r, i) {
3017
+ function $c(e, t, n, r, i) {
3018
3018
  if (e.C) {
3019
3019
  var a = e.C.Yh();
3020
3020
  a && (n = n.filter(function(o) {
@@ -3057,7 +3057,7 @@ Char: ` + e[i]);
3057
3057
  for (var i = g(t), a = i.next(); !a.done; a = i.next()) if (a = a.value, r.keySystem == a.keySystem) {
3058
3058
  i = /* @__PURE__ */ new Map();
3059
3059
  for (var o = g((r.initData || []).concat(a.initData || [])), s = o.next(); !s.done; s = o.next()) s = s.value, i.set(s.keyId, s);
3060
- i = Array.from(i.values()), o = r.keyIds && a.keyIds ? new Set([].concat(G(r.keyIds), G(a.keyIds))) : r.keyIds || a.keyIds, n.push({ keySystem: r.keySystem, licenseServerUri: r.licenseServerUri || a.licenseServerUri, distinctiveIdentifierRequired: r.distinctiveIdentifierRequired || a.distinctiveIdentifierRequired, persistentStateRequired: r.persistentStateRequired || a.persistentStateRequired, videoRobustness: r.videoRobustness || a.videoRobustness, audioRobustness: r.audioRobustness || a.audioRobustness, serverCertificate: r.serverCertificate || a.serverCertificate, serverCertificateUri: r.serverCertificateUri || a.serverCertificateUri, initData: i, keyIds: o });
3060
+ i = Array.from(i.values()), o = r.keyIds && a.keyIds ? new Set([].concat(H(r.keyIds), H(a.keyIds))) : r.keyIds || a.keyIds, n.push({ keySystem: r.keySystem, licenseServerUri: r.licenseServerUri || a.licenseServerUri, distinctiveIdentifierRequired: r.distinctiveIdentifierRequired || a.distinctiveIdentifierRequired, persistentStateRequired: r.persistentStateRequired || a.persistentStateRequired, videoRobustness: r.videoRobustness || a.videoRobustness, audioRobustness: r.audioRobustness || a.audioRobustness, serverCertificate: r.serverCertificate || a.serverCertificate, serverCertificateUri: r.serverCertificateUri || a.serverCertificateUri, initData: i, keyIds: o });
3061
3061
  break;
3062
3062
  } else nu(r) ? n.push(r) : nu(a) && n.push(a);
3063
3063
  }
@@ -3072,7 +3072,7 @@ Char: ` + e[i]);
3072
3072
  function nu(e) {
3073
3073
  return (e = e.licenseServerUri) ? e.startsWith("data:application/json;base64,") : !1;
3074
3074
  }
3075
- var ru = new $e(function() {
3075
+ var ru = new Je(function() {
3076
3076
  return kn(new Uint8Array([0]));
3077
3077
  }), na = /* @__PURE__ */ new Map();
3078
3078
  function bg(e, t) {
@@ -3508,7 +3508,7 @@ Char: ` + e[i]);
3508
3508
  }), t;
3509
3509
  }
3510
3510
  function ze(e, t) {
3511
- this.h = Jt(e), this.i = t == Cg, this.g = 0;
3511
+ this.h = $t(e), this.i = t == Cg, this.g = 0;
3512
3512
  }
3513
3513
  f = ze.prototype, f.Ga = function() {
3514
3514
  return this.g < this.h.byteLength;
@@ -3569,7 +3569,7 @@ Char: ` + e[i]);
3569
3569
  this.g = e;
3570
3570
  }, f.Vc = function() {
3571
3571
  for (var e = this.g; this.Ga() && this.h.getUint8(this.g) != 0; ) this.g += 1;
3572
- return e = ue(this.h, e, this.g - e), this.g += 1, Je(e);
3572
+ return e = ue(this.h, e, this.g - e), this.g += 1, $e(e);
3573
3573
  };
3574
3574
  function Ar() {
3575
3575
  return new E(2, 3, 3e3);
@@ -3682,7 +3682,7 @@ Char: ` + e[i]);
3682
3682
  function lu(e, t, n, r) {
3683
3683
  var i = e.length, a = t.length + 16 + i;
3684
3684
  0 < r && (a += 4 + 16 * n.size);
3685
- var o = new Uint8Array(a), s = Jt(o), u = 0;
3685
+ var o = new Uint8Array(a), s = $t(o), u = 0;
3686
3686
  if (s.setUint32(u, a), u += 4, s.setUint32(u, 1886614376), u += 4, 1 > r ? s.setUint32(u, 0) : s.setUint32(u, 16777216), u += 4, o.set(t, u), u += t.length, 0 < r) for (s.setUint32(u, n.size), u += 4, t = g(n), n = t.next(); !n.done; n = t.next()) n = fi(n.value), o.set(n, u), u += n.length;
3687
3687
  return s.setUint32(u, i), o.set(e, u + 4), o;
3688
3688
  }
@@ -4091,8 +4091,8 @@ Char: ` + e[i]);
4091
4091
  }
4092
4092
  }
4093
4093
  if (Qc(e.g.keySystem)) if (T = Vr(o.body, !0, !0), T.includes("PlayReadyKeyMessage")) {
4094
- for (T = vi(T, "PlayReadyKeyMessage"), S = Jn(T, "HttpHeader"), S = g(S), k = S.next(); !k.done; k = S.next()) C = k.value, k = Jn(C, "name")[0], C = Jn(C, "value")[0], o.headers[gt(k)] = gt(C);
4095
- T = Jn(T, "Challenge")[0], o.body = In(gt(T));
4094
+ for (T = vi(T, "PlayReadyKeyMessage"), S = $n(T, "HttpHeader"), S = g(S), k = S.next(); !k.done; k = S.next()) C = k.value, k = $n(C, "name")[0], C = $n(C, "value")[0], o.headers[gt(k)] = gt(C);
4095
+ T = $n(T, "Challenge")[0], o.body = In(gt(T));
4096
4096
  } else o.headers["Content-Type"] = "text/xml; charset=utf-8";
4097
4097
  return u = Date.now(), ce(w, 2), c = e.C.pc.request(2, o, { isPreload: e.U() }), e.W.push(c), b(w, c.promise, 4);
4098
4098
  case 4:
@@ -4125,7 +4125,7 @@ Char: ` + e[i]);
4125
4125
  o = a, a = s;
4126
4126
  }
4127
4127
  if (s = Te(), Qc(e.g.keySystem) && o.byteLength == 16 && s.fh()) {
4128
- s = Jt(o);
4128
+ s = $t(o);
4129
4129
  var u = s.getUint32(0, !0), l = s.getUint16(4, !0), c = s.getUint16(6, !0);
4130
4130
  s.setUint32(0, u, !1), s.setUint16(4, l, !1), s.setUint16(6, c, !1);
4131
4131
  }
@@ -4304,7 +4304,7 @@ Char: ` + e[i]);
4304
4304
  }
4305
4305
  if (u.length == 1) n.push(u[0]);
4306
4306
  else if (0 < u.length) {
4307
- for (t = [], u = g(u), r = u.next(); !r.done; r = u.next()) r = j.atob(r.value.split("data:application/json;base64,").pop()), r = JSON.parse(r), t.push.apply(t, G(r.keys));
4307
+ for (t = [], u = g(u), r = u.next(); !r.done; r = u.next()) r = j.atob(r.value.split("data:application/json;base64,").pop()), r = JSON.parse(r), t.push.apply(t, H(r.keys));
4308
4308
  u = JSON.stringify({ keys: t }), n.push("data:application/json;base64," + j.btoa(u));
4309
4309
  }
4310
4310
  }
@@ -4398,7 +4398,7 @@ Char: ` + e[i]);
4398
4398
  for (var i = /* @__PURE__ */ new Set(), a = g(t.variants), o = a.next(); !o.done; o = a.next()) o = o.value, o.audio && i.add(o.audio), o.video && i.add(o.video);
4399
4399
  for (i = g(i), a = i.next(); !a.done; a = i.next()) Yg(e, r.keySystem, a.value);
4400
4400
  }
4401
- $g(e, t);
4401
+ Jg(e, t);
4402
4402
  }
4403
4403
  return n;
4404
4404
  }
@@ -4409,7 +4409,7 @@ Char: ` + e[i]);
4409
4409
  for (var i = r.next(); !i.done; i = r.next()) i = i.value, To(e.h, i.initDataType, i.initData);
4410
4410
  }
4411
4411
  }
4412
- function $g(e, t) {
4412
+ function Jg(e, t) {
4413
4413
  e = e.h ? e.h.Te() : {};
4414
4414
  var n = Object.keys(e);
4415
4415
  n = n.length && n[0] == "00";
@@ -4439,7 +4439,7 @@ Char: ` + e[i]);
4439
4439
  for (t = g(["application/dash+xml", "application/x-mpegurl", "application/vnd.apple.mpegurl", "application/vnd.ms-sstr+xml"]), n = t.next(); !n.done; n = t.next()) n = n.value, e[n] = cr() ? la.has(n) : Ei().canPlayType(n) != "";
4440
4440
  return e;
4441
4441
  }
4442
- function Jg(e, t) {
4442
+ function $g(e, t) {
4443
4443
  if (t) {
4444
4444
  var n = la.get(t.toLowerCase());
4445
4445
  if (n) return n;
@@ -4529,10 +4529,10 @@ Char: ` + e[i]);
4529
4529
  var s = o.id + 1, u = o.stream.width || 0, l = o.stream.height || 0;
4530
4530
  o.type == "audio" && (l = u = 0);
4531
4531
  var c = o.duration * o.timescale, d = Math.floor(c / (Yr + 1));
4532
- switch (c = Math.floor(c % (Yr + 1)), s = new Uint8Array([1, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 3].concat(G(Qe(s, 4)), [0, 0, 0, 0], G(Qe(d, 4)), G(Qe(c, 4)), [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 64, 0, 0, 0], G(Qe(u, 2)), [0, 0], G(Qe(
4532
+ switch (c = Math.floor(c % (Yr + 1)), s = new Uint8Array([1, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 3].concat(H(Qe(s, 4)), [0, 0, 0, 0], H(Qe(d, 4)), H(Qe(c, 4)), [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 64, 0, 0, 0], H(Qe(u, 2)), [0, 0], H(Qe(
4533
4533
  l,
4534
4534
  2
4535
- )), [0, 0])), s = ke("tkhd", s), u = ke, d = o.duration * o.timescale, l = Math.floor(d / (Yr + 1)), d = Math.floor(d % (Yr + 1)), c = o.stream.language, c = c.charCodeAt(0) - 96 << 10 | c.charCodeAt(1) - 96 << 5 | c.charCodeAt(2) - 96, l = new Uint8Array([1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 3].concat(G(Qe(o.timescale, 4)), G(Qe(l, 4)), G(Qe(d, 4)), G(Qe(c, 2)), [0, 0])), l = ke("mdhd", l), d = o, c = new Uint8Array([]), d.type) {
4535
+ )), [0, 0])), s = ke("tkhd", s), u = ke, d = o.duration * o.timescale, l = Math.floor(d / (Yr + 1)), d = Math.floor(d % (Yr + 1)), c = o.stream.language, c = c.charCodeAt(0) - 96 << 10 | c.charCodeAt(1) - 96 << 5 | c.charCodeAt(2) - 96, l = new Uint8Array([1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 3].concat(H(Qe(o.timescale, 4)), H(Qe(l, 4)), H(Qe(d, 4)), H(Qe(c, 2)), [0, 0])), l = ke("mdhd", l), d = o, c = new Uint8Array([]), d.type) {
4536
4536
  case "video":
4537
4537
  c = WT.value();
4538
4538
  break;
@@ -4558,7 +4558,7 @@ Char: ` + e[i]);
4558
4558
  }
4559
4559
  o = u("mdia", l, d, o), r = r("trak", s, o), a.call(i, r);
4560
4560
  }
4561
- for (t = st.apply(Nt, G(t)), a = e.g[0], n = ke, r = a.duration * a.timescale, i = Math.floor(r / (Yr + 1)), r = Math.floor(r % (Yr + 1)), i = new Uint8Array([1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 3].concat(G(Qe(a.timescale, 4)), G(Qe(i, 4)), G(Qe(r, 4)), [
4561
+ for (t = st.apply(Nt, H(t)), a = e.g[0], n = ke, r = a.duration * a.timescale, i = Math.floor(r / (Yr + 1)), r = Math.floor(r % (Yr + 1)), i = new Uint8Array([1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 3].concat(H(Qe(a.timescale, 4)), H(Qe(i, 4)), H(Qe(r, 4)), [
4562
4562
  0,
4563
4563
  1,
4564
4564
  0,
@@ -4639,10 +4639,10 @@ Char: ` + e[i]);
4639
4639
  255,
4640
4640
  255,
4641
4641
  255
4642
- ])), i = ke("mvhd", i), r = [], e = g(e.g), u = e.next(); !u.done; u = e.next()) o = r, s = o.push, u = new Uint8Array([0, 0, 0, 0].concat(G(Qe(u.value.id + 1, 4)), [0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0])), u = ke("trex", u), s.call(o, u);
4643
- if (e = st.apply(Nt, G(r)), e = ke("mvex", e), r = [], a.encrypted) {
4642
+ ])), i = ke("mvhd", i), r = [], e = g(e.g), u = e.next(); !u.done; u = e.next()) o = r, s = o.push, u = new Uint8Array([0, 0, 0, 0].concat(H(Qe(u.value.id + 1, 4)), [0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0])), u = ke("trex", u), s.call(o, u);
4643
+ if (e = st.apply(Nt, H(r)), e = ke("mvex", e), r = [], a.encrypted) {
4644
4644
  for (a = g(a.stream.drmInfos), o = a.next(); !o.done; o = a.next()) if (o = o.value, o.initData) for (o = g(o.initData), s = o.next(); !s.done; s = o.next()) r.push(s.value.initData);
4645
- a = st.apply(Nt, G(r));
4645
+ a = st.apply(Nt, H(r));
4646
4646
  } else a = new Uint8Array([]);
4647
4647
  return e = n("moov", i, t, e, a), t = rS.value(), n = new Uint8Array(t.byteLength + e.byteLength), n.set(t), n.set(e, t.byteLength), n;
4648
4648
  }
@@ -4670,7 +4670,7 @@ Char: ` + e[i]);
4670
4670
  for (a[d++] = s.length, o = 0; o < s.length; o++) a[d++] = (s[o].length & 65280) >> 8, a[d++] = s[o].length & 255, a.set(s[o], d), d += s[o].length;
4671
4671
  i = i("avcC", a);
4672
4672
  }
4673
- n = new Uint8Array([0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0].concat(G(Qe(n, 2)), G(Qe(r, 2)), [
4673
+ n = new Uint8Array([0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0].concat(H(Qe(n, 2)), H(Qe(r, 2)), [
4674
4674
  0,
4675
4675
  72,
4676
4676
  0,
@@ -4722,7 +4722,7 @@ Char: ` + e[i]);
4722
4722
  17,
4723
4723
  17
4724
4724
  ])), r = "avc1", s = em(e), o = new Uint8Array([]), e.encrypted && (o = Ii(e.stream, e.codecs), r = "encv"), r = ke(r, n, i, s, o);
4725
- } else e.codecs.includes("hvc1") && (r = e.stream.width || 0, i = e.stream.height || 0, n = new Uint8Array([]), 0 < e.Na.byteLength && (n = ke("hvcC", e.Na)), r = new Uint8Array([0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0].concat(G(Qe(r, 2)), G(Qe(i, 2)), [
4725
+ } else e.codecs.includes("hvc1") && (r = e.stream.width || 0, i = e.stream.height || 0, n = new Uint8Array([]), 0 < e.Na.byteLength && (n = ke("hvcC", e.Na)), r = new Uint8Array([0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0].concat(H(Qe(r, 2)), H(Qe(i, 2)), [
4726
4726
  0,
4727
4727
  72,
4728
4728
  0,
@@ -4776,23 +4776,23 @@ Char: ` + e[i]);
4776
4776
  ])), i = "hvc1", s = em(e), o = new Uint8Array([]), e.encrypted && (o = Ii(e.stream, e.codecs), i = "encv"), r = ke(i, r, n, s, o));
4777
4777
  break;
4778
4778
  case "audio":
4779
- n == "mp3" ? e = ke(".mp3", Eo(e)) : n == "ac-3" ? (n = ke("dac3", e.Ea), r = "ac-3", i = new Uint8Array([]), e.encrypted && (i = Ii(e.stream, e.codecs), r = "enca"), e = ke(r, Eo(e), n, i)) : n == "ec-3" ? (n = ke("dec3", e.Ea), r = "ec-3", i = new Uint8Array([]), e.encrypted && (i = Ii(e.stream, e.codecs), r = "enca"), e = ke(r, Eo(e), n, i)) : n == "opus" ? (n = ke("dOps", e.Ea), r = "Opus", i = new Uint8Array([]), e.encrypted && (i = Ii(e.stream, e.codecs), r = "enca"), e = ke(r, Eo(e), n, i)) : (0 < e.Ea.byteLength ? n = ke("esds", e.Ea) : (n = ke, r = e.id + 1, i = e.stream.channelsCount || 2, o = e.stream.audioSamplingRate || 44100, u = zi("audio", e.codecs.split(",")), l = { 96e3: 0, 88200: 1, 64e3: 2, 48e3: 3, 44100: 4, 32e3: 5, 24e3: 6, 22050: 7, 16e3: 8, 12e3: 9, 11025: 10, 8e3: 11, 7350: 12 }, s = l[o], (u === "mp4a.40.5" || u === "mp4a.40.29") && (s = l[2 * o]), o = parseInt(u.split(".").pop(), 10), r = new Uint8Array([0, 0, 0, 0, 3, 25].concat(G(Qe(r, 2)), [0, 4, 17, 64, 21, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 2, o << 3 | s >>> 1, s << 7 | i << 3, 6, 1, 2])), n = n("esds", r)), r = "mp4a", i = new Uint8Array([]), e.encrypted && (i = Ii(e.stream, e.codecs), r = "enca"), e = ke(r, Eo(e), n, i)), r = e;
4779
+ n == "mp3" ? e = ke(".mp3", Eo(e)) : n == "ac-3" ? (n = ke("dac3", e.Ea), r = "ac-3", i = new Uint8Array([]), e.encrypted && (i = Ii(e.stream, e.codecs), r = "enca"), e = ke(r, Eo(e), n, i)) : n == "ec-3" ? (n = ke("dec3", e.Ea), r = "ec-3", i = new Uint8Array([]), e.encrypted && (i = Ii(e.stream, e.codecs), r = "enca"), e = ke(r, Eo(e), n, i)) : n == "opus" ? (n = ke("dOps", e.Ea), r = "Opus", i = new Uint8Array([]), e.encrypted && (i = Ii(e.stream, e.codecs), r = "enca"), e = ke(r, Eo(e), n, i)) : (0 < e.Ea.byteLength ? n = ke("esds", e.Ea) : (n = ke, r = e.id + 1, i = e.stream.channelsCount || 2, o = e.stream.audioSamplingRate || 44100, u = zi("audio", e.codecs.split(",")), l = { 96e3: 0, 88200: 1, 64e3: 2, 48e3: 3, 44100: 4, 32e3: 5, 24e3: 6, 22050: 7, 16e3: 8, 12e3: 9, 11025: 10, 8e3: 11, 7350: 12 }, s = l[o], (u === "mp4a.40.5" || u === "mp4a.40.29") && (s = l[2 * o]), o = parseInt(u.split(".").pop(), 10), r = new Uint8Array([0, 0, 0, 0, 3, 25].concat(H(Qe(r, 2)), [0, 4, 17, 64, 21, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 2, o << 3 | s >>> 1, s << 7 | i << 3, 6, 1, 2])), n = n("esds", r)), r = "mp4a", i = new Uint8Array([]), e.encrypted && (i = Ii(e.stream, e.codecs), r = "enca"), e = ke(r, Eo(e), n, i)), r = e;
4780
4780
  }
4781
- return e = ke("stsd", nS.value(), r), t("stbl", e, ke("stts", $T.value()), ke("stsc", JT.value()), ke("stsz", ZT.value()), ke("stco", QT.value()));
4781
+ return e = ke("stsd", nS.value(), r), t("stbl", e, ke("stts", JT.value()), ke("stsc", $T.value()), ke("stsz", ZT.value()), ke("stco", QT.value()));
4782
4782
  }
4783
4783
  function em(e) {
4784
4784
  if (!e.Wa && !e.Xa) return new Uint8Array([]);
4785
4785
  var t = e.Xa;
4786
- return e = new Uint8Array([].concat(G(Qe(e.Wa, 4)), G(Qe(t, 4)))), ke("pasp", e);
4786
+ return e = new Uint8Array([].concat(H(Qe(e.Wa, 4)), H(Qe(t, 4)))), ke("pasp", e);
4787
4787
  }
4788
4788
  function Eo(e) {
4789
- return new Uint8Array([0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, e.stream.channelsCount || 2, 0, 16, 0, 0, 0, 0].concat(G(Qe(e.stream.audioSamplingRate || 44100, 2)), [0, 0]));
4789
+ return new Uint8Array([0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, e.stream.channelsCount || 2, 0, 16, 0, 0, 0, 0].concat(H(Qe(e.stream.audioSamplingRate || 44100, 2)), [0, 0]));
4790
4790
  }
4791
4791
  function Ii(e, t) {
4792
4792
  var n = ke;
4793
- t = new Uint8Array([].concat(G(Qe(nm(t.split(".")[0]), 4)))), t = ke("frma", t);
4793
+ t = new Uint8Array([].concat(H(Qe(nm(t.split(".")[0]), 4)))), t = ke("frma", t);
4794
4794
  var r = "cenc", i = e.drmInfos[0];
4795
- i && i.encryptionScheme && (r = i.encryptionScheme), r = new Uint8Array([0, 0, 0, 0].concat(G(Qe(nm(r), 4)), [0, 1, 0, 0])), r = ke("schm", r), i = ke;
4795
+ i && i.encryptionScheme && (r = i.encryptionScheme), r = new Uint8Array([0, 0, 0, 0].concat(H(Qe(nm(r), 4)), [0, 1, 0, 0])), r = ke("schm", r), i = ke;
4796
4796
  var a = new Uint8Array([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
4797
4797
  e = g(e.drmInfos);
4798
4798
  for (var o = e.next(); !o.done; o = e.next()) if ((o = o.value) && o.keyIds && o.keyIds.size) {
@@ -4815,7 +4815,7 @@ Char: ` + e[i]);
4815
4815
  e = g(e.g);
4816
4816
  for (var n = e.next(); !n.done; n = e.next()) {
4817
4817
  n = n.value;
4818
- var r = t.push, i = r.apply, a = ke, o = new Uint8Array([0, 0, 0, 0].concat(G(Qe(n.data ? n.data.Ub : 0, 4))));
4818
+ var r = t.push, i = r.apply, a = ke, o = new Uint8Array([0, 0, 0, 0].concat(H(Qe(n.data ? n.data.Ub : 0, 4))));
4819
4819
  o = ke("mfhd", o);
4820
4820
  var s, u = n.data ? n.data.yb : [], l = new Uint8Array(4 + u.length);
4821
4821
  for (s = 0; s < u.length; s++) {
@@ -4824,17 +4824,17 @@ Char: ` + e[i]);
4824
4824
  }
4825
4825
  u = ke("sdtp", l);
4826
4826
  var d = u.length + 92;
4827
- l = ke, s = new Uint8Array([0, 0, 0, 58].concat(G(Qe(n.id + 1, 4)), [0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0])), s = ke("tfhd", s), c = n.data ? n.data.baseMediaDecodeTime : 0;
4827
+ l = ke, s = new Uint8Array([0, 0, 0, 58].concat(H(Qe(n.id + 1, 4)), [0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0])), s = ke("tfhd", s), c = n.data ? n.data.baseMediaDecodeTime : 0;
4828
4828
  var h = Math.floor(c % (Yr + 1));
4829
- c = new Uint8Array([1, 0, 0, 0].concat(G(Qe(Math.floor(c / (Yr + 1)), 4)), G(Qe(h, 4)))), c = ke("tfdt", c);
4829
+ c = new Uint8Array([1, 0, 0, 0].concat(H(Qe(Math.floor(c / (Yr + 1)), 4)), H(Qe(h, 4)))), c = ke("tfdt", c);
4830
4830
  var p = d;
4831
4831
  d = n.data ? n.data.yb : [], h = d.length;
4832
4832
  var m = 12 + 16 * h, y = new Uint8Array(m);
4833
- for (p += 8 + m, y.set([n.type === "video" ? 1 : 0, 0, 15, 1].concat(G(Qe(h, 4)), G(Qe(p, 4))), 0), p = 0; p < h; p++) {
4833
+ for (p += 8 + m, y.set([n.type === "video" ? 1 : 0, 0, 15, 1].concat(H(Qe(h, 4)), H(Qe(p, 4))), 0), p = 0; p < h; p++) {
4834
4834
  var v = d[p];
4835
4835
  m = Qe(v.duration, 4);
4836
4836
  var w = Qe(v.size, 4), T = v.flags;
4837
- v = Qe(v.rb, 4), y.set([].concat(G(m), G(w), [T.wb << 2 | T.ib, T.kb << 6 | T.jb << 4 | T.xb, T.hb & 61440, T.hb & 15], G(v)), 12 + 16 * p);
4837
+ v = Qe(v.rb, 4), y.set([].concat(H(m), H(w), [T.wb << 2 | T.ib, T.kb << 6 | T.jb << 4 | T.xb, T.hb & 61440, T.hb & 15], H(v)), 12 + 16 * p);
4838
4838
  }
4839
4839
  d = ke("trun", y), u = l("traf", s, c, d, u), a = a(
4840
4840
  "moof",
@@ -4842,12 +4842,12 @@ Char: ` + e[i]);
4842
4842
  u
4843
4843
  ), i.call(r, t, [a, XT(n)]);
4844
4844
  }
4845
- return st.apply(Nt, G(t));
4845
+ return st.apply(Nt, H(t));
4846
4846
  }
4847
4847
  function XT(e) {
4848
4848
  return e = (e.data ? e.data.yb : []).map(function(t) {
4849
4849
  return t.data;
4850
- }), e = st.apply(Nt, G(e)), ke("mdat", e);
4850
+ }), e = st.apply(Nt, H(e)), ke("mdat", e);
4851
4851
  }
4852
4852
  function Qe(e, t) {
4853
4853
  var n = [];
@@ -4869,15 +4869,15 @@ Char: ` + e[i]);
4869
4869
  for (i = new Uint8Array(r), i[0] = r >> 24 & 255, i[1] = r >> 16 & 255, i[2] = r >> 8 & 255, i[3] = r & 255, i.set(n, 4), n = 0, r = 8; n < t.length; n++) i.set(t[n], r), r += t[n].byteLength;
4870
4870
  return i;
4871
4871
  }
4872
- var Yr = Math.pow(2, 32) - 1, rm = /* @__PURE__ */ new Map(), WT = new $e(function() {
4872
+ var Yr = Math.pow(2, 32) - 1, rm = /* @__PURE__ */ new Map(), WT = new Je(function() {
4873
4873
  return new Uint8Array([0, 0, 0, 0, 0, 0, 0, 0, 118, 105, 100, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 86, 105, 100, 101, 111, 72, 97, 110, 100, 108, 101, 114, 0]);
4874
- }), YT = new $e(function() {
4874
+ }), YT = new Je(function() {
4875
4875
  return new Uint8Array([0, 0, 0, 0, 0, 0, 0, 0, 115, 111, 117, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 83, 111, 117, 110, 100, 72, 97, 110, 100, 108, 101, 114, 0]);
4876
- }), $T = new $e(function() {
4876
+ }), JT = new Je(function() {
4877
4877
  return new Uint8Array([0, 0, 0, 0, 0, 0, 0, 0]);
4878
- }), JT = new $e(function() {
4878
+ }), $T = new Je(function() {
4879
4879
  return new Uint8Array([0, 0, 0, 0, 0, 0, 0, 0]);
4880
- }), QT = new $e(function() {
4880
+ }), QT = new Je(function() {
4881
4881
  return new Uint8Array([
4882
4882
  0,
4883
4883
  0,
@@ -4888,18 +4888,18 @@ Char: ` + e[i]);
4888
4888
  0,
4889
4889
  0
4890
4890
  ]);
4891
- }), ZT = new $e(function() {
4891
+ }), ZT = new Je(function() {
4892
4892
  return new Uint8Array([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
4893
- }), eS = new $e(function() {
4893
+ }), eS = new Je(function() {
4894
4894
  return new Uint8Array([0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0]);
4895
- }), tS = new $e(function() {
4895
+ }), tS = new Je(function() {
4896
4896
  return new Uint8Array([0, 0, 0, 0, 0, 0, 0, 0]);
4897
- }), nS = new $e(function() {
4897
+ }), nS = new Je(function() {
4898
4898
  return new Uint8Array([0, 0, 0, 0, 0, 0, 0, 1]);
4899
- }), rS = new $e(function() {
4899
+ }), rS = new Je(function() {
4900
4900
  var e = new Uint8Array([105, 115, 111, 109]), t = new Uint8Array([97, 118, 99, 49]), n = new Uint8Array([0, 0, 0, 1]);
4901
4901
  return ke("ftyp", e, n, e, t);
4902
- }), im = new $e(function() {
4902
+ }), im = new Je(function() {
4903
4903
  var e = new Uint8Array([
4904
4904
  0,
4905
4905
  0,
@@ -4968,7 +4968,7 @@ Char: ` + e[i]);
4968
4968
  var i = t[r - 1], a = t[r];
4969
4969
  n.push(sS(e.subarray(i ? i.start + i.size : 0, a.start + a.size)));
4970
4970
  }
4971
- return st.apply(Nt, G(n));
4971
+ return st.apply(Nt, H(n));
4972
4972
  }
4973
4973
  function sS(e) {
4974
4974
  function t(d) {
@@ -4980,7 +4980,7 @@ Char: ` + e[i]);
4980
4980
  }).R("trun", function(d) {
4981
4981
  r = d, a = mu(d.reader, d.version, d.flags);
4982
4982
  }).parse(e), i && i.Fi !== 2) {
4983
- var s = n.start + Wr(n) + 4 + (i.gj !== null ? 8 : 0), u = Jt(e);
4983
+ var s = n.start + Wr(n) + 4 + (i.gj !== null ? 8 : 0), u = $t(e);
4984
4984
  if (i.Fi !== null) u.setUint32(s, 2);
4985
4985
  else {
4986
4986
  vu(e, n.start, n.size + 4);
@@ -4994,11 +4994,11 @@ Char: ` + e[i]);
4994
4994
  }
4995
4995
  function uS(e, t, n, r, i, a) {
4996
4996
  var o = Ii(e, r.name), s = t.subarray(r.start, r.start + r.size);
4997
- for (e = new Uint8Array(r.size + o.byteLength), e.set(s, 0), Jt(e).setUint32(4, a), e.set(o, r.size), vu(e, 0, e.byteLength), a = new Uint8Array(t.byteLength + e.byteLength), r = Te().$e() ? r.start : r.start + r.size, o = t.subarray(r), a.set(t.subarray(0, r)), a.set(e, r), a.set(o, r + e.byteLength), t = g(i), i = t.next(); !i.done; i = t.next()) i = i.value, vu(a, i.start, i.size + e.byteLength);
4998
- return e = Jt(a, n.start), n = Wr(n), t = e.getUint32(n), e.setUint32(n, t + 1), a;
4997
+ for (e = new Uint8Array(r.size + o.byteLength), e.set(s, 0), $t(e).setUint32(4, a), e.set(o, r.size), vu(e, 0, e.byteLength), a = new Uint8Array(t.byteLength + e.byteLength), r = Te().$e() ? r.start : r.start + r.size, o = t.subarray(r), a.set(t.subarray(0, r)), a.set(e, r), a.set(o, r + e.byteLength), t = g(i), i = t.next(); !i.done; i = t.next()) i = i.value, vu(a, i.start, i.size + e.byteLength);
4998
+ return e = $t(a, n.start), n = Wr(n), t = e.getUint32(n), e.setUint32(n, t + 1), a;
4999
4999
  }
5000
5000
  function vu(e, t, n) {
5001
- e = Jt(e, t), t = e.getUint32(0), t != 0 && (t == 1 ? (e.setUint32(8, n >> 32), e.setUint32(12, n & 4294967295)) : e.setUint32(0, n));
5001
+ e = $t(e, t), t = e.getUint32(0), t != 0 && (t == 1 ? (e.setUint32(8, n >> 32), e.setUint32(12, n & 4294967295)) : e.setUint32(0, n));
5002
5002
  }
5003
5003
  function lS(e) {
5004
5004
  function t(i) {
@@ -5007,7 +5007,7 @@ Char: ` + e[i]);
5007
5007
  var n = ue(e), r = [];
5008
5008
  return new Be().box("moov", t).box("trak", t).box("mdia", t).box("minf", t).box("stbl", t).box("stsd", function(i) {
5009
5009
  r.push({ start: i.start, size: i.size });
5010
- for (var a = Jt(n, i.start), o = 0; o < i.size - 3; o++) {
5010
+ for (var a = $t(n, i.start), o = 0; o < i.size - 3; o++) {
5011
5011
  var s = a.getUint32(o);
5012
5012
  s == 1633889587 ? a.setUint32(o, 1700998451) : s == 1684103987 && a.setUint32(o, 1684366131);
5013
5013
  }
@@ -5182,12 +5182,12 @@ Char: ` + e[i]);
5182
5182
  if (2 > e.size || e.data[0] !== 3) return null;
5183
5183
  var n = e.data.subarray(1).indexOf(0);
5184
5184
  if (n === -1) return null;
5185
- var r = Je(ue(e.data, 1, n)), i = e.data[2 + n], a = e.data.subarray(3 + n).indexOf(0);
5185
+ var r = $e(ue(e.data, 1, n)), i = e.data[2 + n], a = e.data.subarray(3 + n).indexOf(0);
5186
5186
  if (a === -1) return null;
5187
- var o = Je(ue(e.data, 3 + n, a)), s;
5188
- return r === "-->" ? s = Je(ue(e.data, 4 + n + a)) : s = kn(e.data.subarray(4 + n + a)), t.mimeType = r, t.pictureType = i, t.description = o, t.data = s, t;
5187
+ var o = $e(ue(e.data, 3 + n, a)), s;
5188
+ return r === "-->" ? s = $e(ue(e.data, 4 + n + a)) : s = kn(e.data.subarray(4 + n + a)), t.mimeType = r, t.pictureType = i, t.description = o, t.data = s, t;
5189
5189
  }
5190
- return e.type === "TXXX" ? 2 > e.size || e.data[0] !== 3 || (r = e.data.subarray(1).indexOf(0), r === -1) ? null : (n = Je(ue(e.data, 1, r)), e = Je(ue(e.data, 2 + r)).replace(/\0*$/, ""), t.description = n, t.data = e, t) : e.type === "WXXX" ? 2 > e.size || e.data[0] !== 3 || (r = e.data.subarray(1).indexOf(0), r === -1) ? null : (n = Je(ue(e.data, 1, r)), e = Je(ue(e.data, 2 + r)).replace(/\0*$/, ""), t.description = n, t.data = e, t) : e.type === "PRIV" ? 2 > e.size || (n = e.data.indexOf(0), n === -1) ? null : (n = Je(ue(e.data, 0, n)), t.description = n, n == "com.apple.streaming.transportStreamTimestamp" ? (n = e.data.subarray(n.length + 1), e = n[3] & 1, n = (n[4] << 23) + (n[5] << 15) + (n[6] << 7) + n[7], n /= 45, e && (n += 4772185884e-2), t.data = n) : (e = kn(e.data.subarray(n.length + 1)), t.data = e), t) : e.type[0] === "T" ? 2 > e.size || e.data[0] !== 3 ? null : (e = Je(e.data.subarray(1)).replace(/\0*$/, ""), t.data = e, t) : e.type[0] === "W" ? (e = Je(e.data).replace(/\0*$/, ""), t.data = e, t) : e.data ? (t.data = kn(e.data), t) : null;
5190
+ return e.type === "TXXX" ? 2 > e.size || e.data[0] !== 3 || (r = e.data.subarray(1).indexOf(0), r === -1) ? null : (n = $e(ue(e.data, 1, r)), e = $e(ue(e.data, 2 + r)).replace(/\0*$/, ""), t.description = n, t.data = e, t) : e.type === "WXXX" ? 2 > e.size || e.data[0] !== 3 || (r = e.data.subarray(1).indexOf(0), r === -1) ? null : (n = $e(ue(e.data, 1, r)), e = $e(ue(e.data, 2 + r)).replace(/\0*$/, ""), t.description = n, t.data = e, t) : e.type === "PRIV" ? 2 > e.size || (n = e.data.indexOf(0), n === -1) ? null : (n = $e(ue(e.data, 0, n)), t.description = n, n == "com.apple.streaming.transportStreamTimestamp" ? (n = e.data.subarray(n.length + 1), e = n[3] & 1, n = (n[4] << 23) + (n[5] << 15) + (n[6] << 7) + n[7], n /= 45, e && (n += 4772185884e-2), t.data = n) : (e = kn(e.data.subarray(n.length + 1)), t.data = e), t) : e.type[0] === "T" ? 2 > e.size || e.data[0] !== 3 ? null : (e = $e(e.data.subarray(1)).replace(/\0*$/, ""), t.data = e, t) : e.type[0] === "W" ? (e = $e(e.data).replace(/\0*$/, ""), t.data = e, t) : e.data ? (t.data = kn(e.data), t) : null;
5191
5191
  }
5192
5192
  function Mi(e) {
5193
5193
  for (var t = 0, n = []; cm(e, t); ) {
@@ -5381,18 +5381,18 @@ Char: ` + e[i]);
5381
5381
  }
5382
5382
  return 0 <= l && 0 <= a && u.push({ data: e.subarray(l + i, r), fullData: e.subarray(l, r), type: c, time: n, state: a }), !u.length && t.Zd && (n = u.length ? u[u.length - 1] : t.Zd) && (n.data = st(n.data, e), n.fullData = st(n.fullData, e)), t.state = a, u;
5383
5383
  }, f.getMetadata = function() {
5384
- for (var e = [], t = g(this.l), n = t.next(); !n.done; n = t.next()) n = st.apply(Nt, G(n.value)), (n = gd(this, n)) && e.push({ cueTime: n.pts ? n.pts / 9e4 : null, data: n.data, frames: Mi(n.data), dts: n.dts, pts: n.pts });
5384
+ for (var e = [], t = g(this.l), n = t.next(); !n.done; n = t.next()) n = st.apply(Nt, H(n.value)), (n = gd(this, n)) && e.push({ cueTime: n.pts ? n.pts / 9e4 : null, data: n.data, frames: Mi(n.data), dts: n.dts, pts: n.pts });
5385
5385
  return e;
5386
5386
  }, f.sb = function() {
5387
5387
  if (this.i.length && !this.h.length) for (var e = g(this.i), t = e.next(); !t.done; t = e.next()) {
5388
- var n = st.apply(Nt, G(t.value)), r = gd(this, n);
5388
+ var n = st.apply(Nt, H(t.value)), r = gd(this, n);
5389
5389
  t = this.h.length ? this.h[this.h.length - 1] : null, r && r.pts != null && r.dts != null && (!t || t.pts != r.pts && t.dts != r.dts) ? this.h.push(r) : this.h.length && (n = r ? r.data : n) && (t = this.h.pop(), t.data = st(t.data, n), this.h.push(t));
5390
5390
  }
5391
5391
  return this.h;
5392
5392
  }, f.Rc = function(e) {
5393
5393
  if (e = e === void 0 ? !0 : e, this.j.length && !this.g.length) {
5394
5394
  for (var t = g(this.j), n = t.next(); !n.done; n = t.next()) {
5395
- var r = st.apply(Nt, G(n.value)), i = gd(this, r);
5395
+ var r = st.apply(Nt, H(n.value)), i = gd(this, r);
5396
5396
  n = this.g.length ? this.g[this.g.length - 1] : null, i && i.pts != null && i.dts != null && (!n || n.pts != i.pts && n.dts != i.dts) ? this.g.push(i) : this.g.length && (r = i ? i.data : r) && (n = this.g.pop(), n.data = st(n.data, r), this.g.push(n));
5397
5397
  }
5398
5398
  if (e) {
@@ -5411,7 +5411,7 @@ Char: ` + e[i]);
5411
5411
  }, f.Od = function() {
5412
5412
  return { audio: this.B, video: this.m };
5413
5413
  }, f.Xe = function() {
5414
- for (var e = [], t = g(this.Rc()), n = t.next(); !n.done; n = t.next()) e.push.apply(e, G(n.value.nalus));
5414
+ for (var e = [], t = g(this.Rc()), n = t.next(); !n.done; n = t.next()) e.push.apply(e, H(n.value.nalus));
5415
5415
  return e;
5416
5416
  }, f.Yj = function() {
5417
5417
  Me("TsParser.getVideoResolution", "Please use getVideoInfo function instead.");
@@ -5519,7 +5519,7 @@ Char: ` + e[i]);
5519
5519
  e.g && j.ManagedMediaSource && e.i && e.A.useSourceElements && (e.B && e.g.removeChild(e.B), e.B = lm(t, n), e.g.appendChild(e.B), e.g.disableRemotePlayback = !1);
5520
5520
  }
5521
5521
  function yS() {
5522
- var e = 'video/mp4; codecs="avc1.42E01E",video/mp4; codecs="avc3.42E01E",video/mp4; codecs="hev1.1.6.L93.90",video/mp4; codecs="hvc1.1.6.L93.90",video/mp4; codecs="hev1.2.4.L153.B0"; eotf="smpte2084",video/mp4; codecs="hvc1.2.4.L153.B0"; eotf="smpte2084",video/mp4; codecs="vp9",video/mp4; codecs="vp09.00.10.08",video/mp4; codecs="av01.0.01M.08",video/mp4; codecs="dvh1.05.01",video/mp4; codecs="dvh1.20.01",audio/mp4; codecs="mp4a.40.2",audio/mp4; codecs="ac-3",audio/mp4; codecs="ec-3",audio/mp4; codecs="ac-4.02.01.01",audio/mp4; codecs="opus",audio/mp4; codecs="flac",audio/mp4; codecs="dtsc",audio/mp4; codecs="dtse",audio/mp4; codecs="dtsx",audio/mp4; codecs="apac.31.00",video/webm; codecs="vp8",video/webm; codecs="vp9",video/webm; codecs="vp09.00.10.08",audio/webm; codecs="vorbis",audio/webm; codecs="opus",video/mp2t; codecs="avc1.42E01E",video/mp2t; codecs="avc3.42E01E",video/mp2t; codecs="hvc1.1.6.L93.90",video/mp2t; codecs="mp4a.40.2",video/mp2t; codecs="ac-3",video/mp2t; codecs="ec-3",text/vtt,application/mp4; codecs="wvtt",application/ttml+xml,application/mp4; codecs="stpp"'.split(",").concat(G(zr)), t = {};
5522
+ var e = 'video/mp4; codecs="avc1.42E01E",video/mp4; codecs="avc3.42E01E",video/mp4; codecs="hev1.1.6.L93.90",video/mp4; codecs="hvc1.1.6.L93.90",video/mp4; codecs="hev1.2.4.L153.B0"; eotf="smpte2084",video/mp4; codecs="hvc1.2.4.L153.B0"; eotf="smpte2084",video/mp4; codecs="vp9",video/mp4; codecs="vp09.00.10.08",video/mp4; codecs="av01.0.01M.08",video/mp4; codecs="dvh1.05.01",video/mp4; codecs="dvh1.20.01",audio/mp4; codecs="mp4a.40.2",audio/mp4; codecs="ac-3",audio/mp4; codecs="ec-3",audio/mp4; codecs="ac-4.02.01.01",audio/mp4; codecs="opus",audio/mp4; codecs="flac",audio/mp4; codecs="dtsc",audio/mp4; codecs="dtse",audio/mp4; codecs="dtsx",audio/mp4; codecs="apac.31.00",video/webm; codecs="vp8",video/webm; codecs="vp9",video/webm; codecs="vp09.00.10.08",audio/webm; codecs="vorbis",audio/webm; codecs="opus",video/mp2t; codecs="avc1.42E01E",video/mp2t; codecs="avc3.42E01E",video/mp2t; codecs="hvc1.1.6.L93.90",video/mp2t; codecs="mp4a.40.2",video/mp2t; codecs="ac-3",video/mp2t; codecs="ec-3",text/vtt,application/mp4; codecs="wvtt",application/ttml+xml,application/mp4; codecs="stpp"'.split(",").concat(H(zr)), t = {};
5523
5523
  Te(), e = g(e);
5524
5524
  for (var n = e.next(); !n.done; n = e.next()) {
5525
5525
  n = n.value, go(n) ? t[n] = !0 : t[n] = cr() ? Ft(n) || !!Zi(n) : Ei().canPlayType(n) != "";
@@ -5578,7 +5578,7 @@ Char: ` + e[i]);
5578
5578
  var u = e.o.get(t)[0];
5579
5579
  u.p.reject(new E(2, 3, 3014, e.g.error ? e.g.error.code : 0, u.uri));
5580
5580
  }), e.s.D(s, "updateend", function() {
5581
- return $r(e, t);
5581
+ return Jr(e, t);
5582
5582
  }), e.l.set(t, s), e.C.set(t, i), e.Oa.set(t, !!n.drmInfos.length);
5583
5583
  }
5584
5584
  }
@@ -5702,7 +5702,7 @@ Char: ` + e[i]);
5702
5702
  return ya(e, t);
5703
5703
  }, null), kt(e, t, function() {
5704
5704
  return ba(e, t, p);
5705
- }, null))), (t == d.Ca || !e.l.has(d.Ca)) && e.Pa.resolve(p)), w.length) && e.N.onMetadata(w, p, r ? r.endTime : null), a && t == d.Ca && (e.h || Su(e, "application/cea-608", e.G, !1), e.I || (I = m.split(";", 1)[0], e.I = new $n(I)), r ? (D = e.I.vf(n), D.length && rT(e.h, D, r.startTime, r.endTime, p)) : e.I.init(n, s, c)), !e.j.has(t)) {
5705
+ }, null))), (t == d.Ca || !e.l.has(d.Ca)) && e.Pa.resolve(p)), w.length) && e.N.onMetadata(w, p, r ? r.endTime : null), a && t == d.Ca && (e.h || Su(e, "application/cea-608", e.G, !1), e.I || (I = m.split(";", 1)[0], e.I = new Jn(I)), r ? (D = e.I.vf(n), D.length && rT(e.h, D, r.startTime, r.endTime, p)) : e.I.init(n, s, c)), !e.j.has(t)) {
5706
5706
  P.u(9);
5707
5707
  break;
5708
5708
  }
@@ -5772,10 +5772,10 @@ Char: ` + e[i]);
5772
5772
  var t = this, n;
5773
5773
  return M(function(r) {
5774
5774
  return r.g == 1 ? (n = At, e == n.Ta ? r.return() : b(r, kt(t, e, function() {
5775
- t.g.currentTime -= 1e-3, $r(t, e);
5775
+ t.g.currentTime -= 1e-3, Jr(t, e);
5776
5776
  }, null), 2)) : t.m ? b(r, kt(t, n.ea, function() {
5777
5777
  var i = n.ea;
5778
- t.g.currentTime -= 1e-3, $r(t, i);
5778
+ t.g.currentTime -= 1e-3, Jr(t, i);
5779
5779
  }, null), 0) : r.u(0);
5780
5780
  });
5781
5781
  };
@@ -5854,20 +5854,20 @@ Char: ` + e[i]);
5854
5854
  });
5855
5855
  }
5856
5856
  function Au(e, t, n, r) {
5857
- r <= n ? $r(e, t) : e.l.get(t).remove(n, r);
5857
+ r <= n ? Jr(e, t) : e.l.get(t).remove(n, r);
5858
5858
  }
5859
5859
  function ya(e, t) {
5860
5860
  var n = e.l.get(t), r = n.appendWindowStart, i = n.appendWindowEnd;
5861
- n.abort(), n.appendWindowStart = r, n.appendWindowEnd = i, $r(e, t);
5861
+ n.abort(), n.appendWindowStart = r, n.appendWindowEnd = i, Jr(e, t);
5862
5862
  }
5863
5863
  function ba(e, t, n) {
5864
- 0 > n && (n += 1e-3), e.l.get(t).timestampOffset = n, $r(e, t);
5864
+ 0 > n && (n += 1e-3), e.l.get(t).timestampOffset = n, Jr(e, t);
5865
5865
  }
5866
5866
  function bm(e, t, n, r) {
5867
5867
  var i = e.l.get(t);
5868
- (i.appendWindowEnd !== r || i.appendWindowStart !== n) && (i.appendWindowStart = 0, i.appendWindowEnd = r, i.appendWindowStart = n), $r(e, t);
5868
+ (i.appendWindowEnd !== r || i.appendWindowStart !== n) && (i.appendWindowStart = 0, i.appendWindowEnd = r, i.appendWindowStart = n), Jr(e, t);
5869
5869
  }
5870
- function $r(e, t) {
5870
+ function Jr(e, t) {
5871
5871
  if (e.F || e.H.g) {
5872
5872
  var n = e.o.get(t);
5873
5873
  n && n.length && ((n = n[0]) && n.p && n.p.resolve(), e.o.set(t, []));
@@ -5932,7 +5932,7 @@ Char: ` + e[i]);
5932
5932
  var i = n + e.A.addExtraFeaturesToSourceBuffer(n);
5933
5933
  e.l.get(t).changeType(i), e.C.set(t, n);
5934
5934
  }
5935
- $r(e, t);
5935
+ Jr(e, t);
5936
5936
  }
5937
5937
  }, null);
5938
5938
  }
@@ -6163,7 +6163,7 @@ Char: ` + e[i]);
6163
6163
  function wa(e, t, n, r) {
6164
6164
  t == HTMLMediaElement.HAVE_NOTHING || e.readyState >= t ? r() : (t = NS.value().get(t), n.Aa(e, t, r));
6165
6165
  }
6166
- var NS = new $e(function() {
6166
+ var NS = new Je(function() {
6167
6167
  return /* @__PURE__ */ new Map([[HTMLMediaElement.HAVE_METADATA, "loadedmetadata"], [HTMLMediaElement.HAVE_CURRENT_DATA, "loadeddata"], [HTMLMediaElement.HAVE_FUTURE_DATA, "canplay"], [HTMLMediaElement.HAVE_ENOUGH_DATA, "canplaythrough"]]);
6168
6168
  });
6169
6169
  function Mm(e, t, n, r) {
@@ -6359,7 +6359,7 @@ Char: ` + e[i]);
6359
6359
  var t = Math.round(1e3 * e[0].startTime) / 1e3;
6360
6360
  this.g = this.g.filter(function(n) {
6361
6361
  return Math.round(1e3 * n.startTime) / 1e3 < t;
6362
- }), this.g.push.apply(this.g, G(e));
6362
+ }), this.g.push.apply(this.g, H(e));
6363
6363
  }
6364
6364
  }, f.Yd = function(e, t) {
6365
6365
  var n = this;
@@ -6383,7 +6383,7 @@ Char: ` + e[i]);
6383
6383
  var n = this;
6384
6384
  this.o || (this.m && this.m.stop(), this.m = new Se(function() {
6385
6385
  var r = t();
6386
- r ? n.g.push.apply(n.g, G(r)) : (n.m.stop(), n.m = null);
6386
+ r ? n.g.push.apply(n.g, H(r)) : (n.m.stop(), n.m = null);
6387
6387
  }), this.m.Fa(e));
6388
6388
  }, Ce.prototype[Symbol.iterator] = function() {
6389
6389
  return this.Wb(0);
@@ -6840,7 +6840,7 @@ Char: ` + e[i]);
6840
6840
  }).parse(e || t, !0, !0), !o.length && !s.length) return null;
6841
6841
  var T = u && !l, S = /* @__PURE__ */ new Map();
6842
6842
  if (l && !n) {
6843
- n = new $n("video/mp4"), e && n.init(e);
6843
+ n = new Jn("video/mp4"), e && n.init(e);
6844
6844
  try {
6845
6845
  n.vf(t);
6846
6846
  for (var k = g(n.Uf()), C = k.next(); !C.done; C = k.next()) {
@@ -6976,7 +6976,7 @@ Char: ` + e[i]);
6976
6976
  for (r = g(e.m.values()), i = r.next(); !i.done; i = r.next()) i.value.Dd(n);
6977
6977
  (n = e.h.get("video")) && (r = n.stream) && (t ? (t = r.trickModeVideo) && !n.Fc && (Ta(e, t, !1, 0, !1), n.Fc = r) : (t = n.Fc) && (n.Fc = null, Ta(e, t, !0, 0, !1)));
6978
6978
  }
6979
- function $m(e, t, n, r, i, a) {
6979
+ function Jm(e, t, n, r, i, a) {
6980
6980
  n = n === void 0 ? !1 : n, r = r === void 0 ? 0 : r, i = i === void 0 ? !1 : i, a = a === void 0 ? !1 : a, e.o = t, e.I && (t.video && Ta(e, t.video, n, r, i, a), t.audio && Ta(e, t.audio, n, r, i, a));
6981
6981
  }
6982
6982
  function Cu(e, t) {
@@ -6985,11 +6985,11 @@ Char: ` + e[i]);
6985
6985
  Ta(e, t, !0, 0, !1), q(n);
6986
6986
  });
6987
6987
  }
6988
- function $S(e) {
6988
+ function JS(e) {
6989
6989
  var t = e.h.get(be);
6990
6990
  t && Ta(e, t.stream, !0, 0, !0);
6991
6991
  }
6992
- function JS(e, t) {
6992
+ function $S(e, t) {
6993
6993
  for (var n = g(e.K.entries()), r = n.next(); !r.done; r = n.next()) {
6994
6994
  var i = g(r.value);
6995
6995
  r = i.next().value, i = i.next().value, r.includes(t.type) && (i(), e.K.delete(r));
@@ -6998,15 +6998,15 @@ Char: ` + e[i]);
6998
6998
  function Ta(e, t, n, r, i, a) {
6999
6999
  var o = e.h.get(t.type);
7000
7000
  o || t.type != be ? o && (o.Fc && (t.trickModeVideo ? (o.Fc = t, t = t.trickModeVideo) : o.Fc = null), o.stream != t || i) && (e.m.has(t) ? o.$ = e.m.get(t) : o.$ && HS(o.$, t), t.type == be && o.stream != t && (i = ht(t.mimeType, t.codecs), Su(e.g.Z, i, e.j.sequenceMode, t.external)), !e.m.has(o.stream) && o.stream.closeSegmentIndex && (o.Qa ? (i = "(" + o.type + ":" + o.stream.id + ")", e.K.has(i) || e.K.set(i, o.stream.closeSegmentIndex)) : o.stream.closeSegmentIndex()), i = o.stream.isAudioMuxedInVideo != t.isAudioMuxedInVideo, o.stream = t, o.sa = null, o.ag = !!a, t.dependencyStream ? o.yc = Du(e, t.dependencyStream) : o.yc = null, i && (o.mb = null, o.lc = null, o.kc = null, t.isAudioMuxedInVideo && (t = null, o.type === "video" ? t = e.h.get("audio") : o.type === "audio" && (t = e.h.get("video")), t && (Sa(t).catch(function() {
7001
- }), t.mb = null, t.lc = null, t.kc = null, Fo(e, t), Jm(e, t).catch(function(s) {
7001
+ }), t.mb = null, t.lc = null, t.kc = null, Fo(e, t), $m(e, t).catch(function(s) {
7002
7002
  e.g && e.g.onError(s);
7003
7003
  })))), n ? o.Kc ? o.Sf = !0 : o.Qa ? (o.Ic = !0, o.Oe = r, o.Sf = !0) : (Cr(o), _d(e, o, !0, r).catch(function(s) {
7004
7004
  e.g && e.g.onError(s);
7005
- })) : o.Qa || o.zb || zt(e, o, 0), Jm(e, o).catch(function(s) {
7005
+ })) : o.Qa || o.zb || zt(e, o, 0), $m(e, o).catch(function(s) {
7006
7006
  e.g && e.g.onError(s);
7007
7007
  })) : WS(e, t);
7008
7008
  }
7009
- function Jm(e, t) {
7009
+ function $m(e, t) {
7010
7010
  var n, r, i;
7011
7011
  return M(function(a) {
7012
7012
  if (a.g == 1)
@@ -7098,7 +7098,7 @@ Char: ` + e[i]);
7098
7098
  case 3:
7099
7099
  return d.return();
7100
7100
  case 2:
7101
- if (JS(e, t), t.stream.segmentIndex) {
7101
+ if ($S(e, t), t.stream.segmentIndex) {
7102
7102
  d.u(4);
7103
7103
  break;
7104
7104
  }
@@ -7272,7 +7272,7 @@ Char: ` + e[i]);
7272
7272
  case 8:
7273
7273
  throw h = de(y), t.Ia = null, h;
7274
7274
  case 9:
7275
- if (p = Math.max.apply(Math, [0].concat(G(e.L))), m = e.g.Qc(), m + r > p) return b(y, Qm(e, t, s.startTime, r), 0);
7275
+ if (p = Math.max.apply(Math, [0].concat(H(e.L))), m = e.g.Qc(), m + r > p) return b(y, Qm(e, t, s.startTime, r), 0);
7276
7276
  y.u(0);
7277
7277
  }
7278
7278
  });
@@ -7582,7 +7582,7 @@ Char: ` + e[i]);
7582
7582
  }
7583
7583
  function Ho(e, t, n) {
7584
7584
  function r(s) {
7585
- Jt(a).setUint32(o, s.byteLength, !0), o += 4, a.set(ue(s), o), o += s.byteLength;
7585
+ $t(a).setUint32(o, s.byteLength, !0), o += 4, a.set(ue(s), o), o += s.byteLength;
7586
7586
  }
7587
7587
  if (!n || !n.byteLength) throw new E(2, 6, 6015);
7588
7588
  var i;
@@ -7599,7 +7599,7 @@ Char: ` + e[i]);
7599
7599
  X("shaka.drm.FairPlay", nn), nn.commonFairPlayResponse = function(e, t) {
7600
7600
  if (e === 2 && (e = t.originalRequest.drmInfo) && tu(e.keySystem)) {
7601
7601
  try {
7602
- var n = Je(t.data);
7602
+ var n = $e(t.data);
7603
7603
  } catch {
7604
7604
  return;
7605
7605
  }
@@ -7670,7 +7670,7 @@ Char: ` + e[i]);
7670
7670
  }
7671
7671
  }
7672
7672
  this.g.Jc && (e = cx(t, this.g.Jc), e.length && (t = e)), this.g.Ed && (e = dx(t, this.g.Ed), e.length && (t = e)), e = gx(t, this.g.spatialAudio), e.length && (t = e);
7673
- var i = [this.g.audioCodec, this.g.Gd].concat(G(this.g.preferredAudioCodecs));
7673
+ var i = [this.g.audioCodec, this.g.Gd].concat(H(this.g.preferredAudioCodecs));
7674
7674
  if (e = i.filter(function(a, o) {
7675
7675
  return a && i.indexOf(a) === o;
7676
7676
  }), e.length) {
@@ -7890,7 +7890,7 @@ Char: ` + e[i]);
7890
7890
  return new rt();
7891
7891
  },
7892
7892
  adaptationSetCriteriaFactory: function() {
7893
- return new (Function.prototype.bind.apply(Ou, [null].concat(G(St.apply(0, arguments)))))();
7893
+ return new (Function.prototype.bind.apply(Ou, [null].concat(H(St.apply(0, arguments)))))();
7894
7894
  },
7895
7895
  abr: { enabled: !0, useNetworkInformation: !0, defaultBandwidthEstimate: 1e6, switchInterval: 8, bandwidthUpgradeTarget: 0.85, bandwidthDowngradeTarget: 0.95, restrictions: {
7896
7896
  minWidth: 0,
@@ -8174,7 +8174,7 @@ Char: ` + e[i]);
8174
8174
  return M(function(s) {
8175
8175
  switch (s.g) {
8176
8176
  case 1:
8177
- if (zd(e, "manifest-parser"), e.l || (e.H = Jg(e.N, e.W), e.l = e.H(), e.l.configure(e.g.manifest, function() {
8177
+ if (zd(e, "manifest-parser"), e.l || (e.H = $g(e.N, e.W), e.l = e.H(), e.l.configure(e.g.manifest, function() {
8178
8178
  return e.C;
8179
8179
  })), t = Date.now() / 1e3, zd(e, "manifest"), e.h) {
8180
8180
  s.u(2);
@@ -8408,7 +8408,7 @@ Char: ` + e[i]);
8408
8408
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
8409
8409
  SOFTWARE.
8410
8410
  */
8411
- for (var Jr = {
8411
+ for (var $r = {
8412
8412
  ach: "Lwo",
8413
8413
  ady: "Адыгэбзэ",
8414
8414
  af: "Afrikaans",
@@ -8623,9 +8623,9 @@ Char: ` + e[i]);
8623
8623
  "zh-SG": "中文(新加坡)",
8624
8624
  "zh-TW": "中文(台灣)",
8625
8625
  "zu-ZA": "isiZulu"
8626
- }, uv = g(Object.keys(Jr)), Wd = uv.next(); !Wd.done; Wd = uv.next()) {
8626
+ }, uv = g(Object.keys($r)), Wd = uv.next(); !Wd.done; Wd = uv.next()) {
8627
8627
  var lv = Wd.value;
8628
- Jr[lv.toLowerCase()] = Jr[lv];
8628
+ $r[lv.toLowerCase()] = $r[lv];
8629
8629
  }
8630
8630
  function cv(e, t) {
8631
8631
  if (e.lineBreak) return `
@@ -8634,7 +8634,7 @@ Char: ` + e[i]);
8634
8634
  return cv(o, e);
8635
8635
  }).join("");
8636
8636
  if (!e.payload) return e.payload;
8637
- var n = [], r = e.fontWeight >= Ji, i = e.fontStyle == Qi, a = e.textDecoration.includes(wr);
8637
+ var n = [], r = e.fontWeight >= $i, i = e.fontStyle == Qi, a = e.textDecoration.includes(wr);
8638
8638
  return r && n.push(["b"]), i && n.push(["i"]), a && n.push(["u"]), i = e.color, i == "" && t && (i = t.color), r = "", (i = dv(i)) && (r += "." + i), i = e.backgroundColor, i == "" && t && (i = t.backgroundColor), (t = dv(i)) && (r += ".bg_" + t), r && n.push(["c", r]), n.reduceRight(function(o, s) {
8639
8639
  var u = g(s);
8640
8640
  return s = u.next().value, u = u.next().value, "<" + s + (u === void 0 ? "" : u) + ">" + o + "</" + s + ">";
@@ -8682,7 +8682,7 @@ Char: ` + e[i]);
8682
8682
  function Yd(e, t) {
8683
8683
  var n = [];
8684
8684
  e = g(fv(e));
8685
- for (var r = e.next(); !r.done; r = e.next()) if (r = r.value, r.isContainer) n.push.apply(n, G(Yd(r.nestedCues, r)));
8685
+ for (var r = e.next(); !r.done; r = e.next()) if (r = r.value, r.isContainer) n.push.apply(n, H(Yd(r.nestedCues, r)));
8686
8686
  else {
8687
8687
  var i = r.clone();
8688
8688
  i.nestedCues = [], i.payload = cv(r, t), n.push(i);
@@ -8725,7 +8725,7 @@ Char: ` + e[i]);
8725
8725
  return o.startTime != s.startTime ? o.startTime - s.startTime : o.endTime != s.endTime ? o.endTime - s.startTime : "line" in VTTCue.prototype ? r.indexOf(s) - r.indexOf(o) : r.indexOf(o) - r.indexOf(s);
8726
8726
  }), t = g(t), n = t.next(); !n.done; n = t.next()) e.addCue(n.value);
8727
8727
  }
8728
- function $d(e, t) {
8728
+ function Jd(e, t) {
8729
8729
  var n = !1;
8730
8730
  e.mode === "disabled" && (n = !0, e.mode = "hidden");
8731
8731
  for (var r = 0; r < e.cues.length; ) {
@@ -8751,12 +8751,12 @@ Char: ` + e[i]);
8751
8751
  a = t.j.ownerDocument.createElement("track"), a.kind = jx(i);
8752
8752
  var o = a, s = void 0;
8753
8753
  if (i.label) s = i.label;
8754
- else if (i.language) if (i.language in Jr) s = Jr[i.language];
8754
+ else if (i.language) if (i.language in $r) s = $r[i.language];
8755
8755
  else {
8756
8756
  var u = zs(i.language);
8757
- u in Jr && (s = Jr[u] + " (" + i.language + ")");
8757
+ u in $r && (s = $r[u] + " (" + i.language + ")");
8758
8758
  }
8759
- s || (s = i.originalTextId, i.language && i.language !== i.originalTextId && (s += " (" + i.language + ")")), o.label = s, i.language in Jr && (a.srclang = i.language), Te().Da() === "CHROMIUM" && (a.src = "data:,WEBVTT"), a.track.mode = "disabled", t.j.appendChild(a);
8759
+ s || (s = i.originalTextId, i.language && i.language !== i.originalTextId && (s += " (" + i.language + ")")), o.label = s, i.language in $r && (a.srclang = i.language), Te().Da() === "CHROMIUM" && (a.src = "data:,WEBVTT"), a.track.mode = "disabled", t.j.appendChild(a);
8760
8760
  }
8761
8761
  n.set(i.id, a), i.active && (t.g = i.id);
8762
8762
  }
@@ -8790,7 +8790,7 @@ Char: ` + e[i]);
8790
8790
  }
8791
8791
  f = yt.prototype, f.configure = function() {
8792
8792
  }, f.remove = function(e, t) {
8793
- if (this.i) this.h.has(this.g) && $d(this.h.get(this.g).track, function(n) {
8793
+ if (this.i) this.h.has(this.g) && Jd(this.h.get(this.g).track, function(n) {
8794
8794
  return n.startTime < t && n.endTime > e;
8795
8795
  });
8796
8796
  else return !1;
@@ -8834,13 +8834,13 @@ Char: ` + e[i]);
8834
8834
  }
8835
8835
  f = Ut.prototype, f.configure = function() {
8836
8836
  }, f.remove = function(e, t) {
8837
- return this.g ? ($d(this.g, function(n) {
8837
+ return this.g ? (Jd(this.g, function(n) {
8838
8838
  return n.startTime < t && n.endTime > e;
8839
8839
  }), !0) : !1;
8840
8840
  }, f.append = function(e) {
8841
8841
  this.g && hv(this.g, e);
8842
8842
  }, f.destroy = function() {
8843
- return this.g && ($d(this.g, function() {
8843
+ return this.g && (Jd(this.g, function() {
8844
8844
  return !0;
8845
8845
  }), this.g.mode = "disabled"), this.g = this.h = null, Promise.resolve();
8846
8846
  }, f.isTextVisible = function() {
@@ -8891,7 +8891,7 @@ Char: ` + e[i]);
8891
8891
  f = Ot.prototype, f.configure = function(e) {
8892
8892
  this.B = e, zo(this), Qr(this, !0);
8893
8893
  }, f.append = function(e) {
8894
- var t = [].concat(G(this.h));
8894
+ var t = [].concat(H(this.h));
8895
8895
  e = g(fv(e));
8896
8896
  for (var n = e.next(), r = {}; !n.done; r = { jg: void 0 }, n = e.next()) r.jg = n.value, t.some(/* @__PURE__ */ function(i) {
8897
8897
  return function(a) {
@@ -8978,7 +8978,7 @@ Char: ` + e[i]);
8978
8978
  var u = n.payload.replace(/\s+$/g, function(c) {
8979
8979
  return " ".repeat(c.length);
8980
8980
  });
8981
- if (a.webkitTextStrokeColor = n.textStrokeColor, a.webkitTextStrokeWidth = n.textStrokeWidth, a.color = n.color, a.direction = n.direction, a.opacity = n.opacity, a.paddingLeft = Jd(n.linePadding, n, e.o), a.paddingRight = Jd(n.linePadding, n, e.o), a.textCombineUpright = n.textCombineUpright, a.textShadow = n.textShadow, n.backgroundImage) a.backgroundImage = "url('" + n.backgroundImage + "')", a.backgroundRepeat = "no-repeat", a.backgroundSize = "contain", a.backgroundPosition = "center", n.backgroundColor && (a.backgroundColor = n.backgroundColor), a.width = "100%", a.height = "100%";
8981
+ if (a.webkitTextStrokeColor = n.textStrokeColor, a.webkitTextStrokeWidth = n.textStrokeWidth, a.color = n.color, a.direction = n.direction, a.opacity = n.opacity, a.paddingLeft = $d(n.linePadding, n, e.o), a.paddingRight = $d(n.linePadding, n, e.o), a.textCombineUpright = n.textCombineUpright, a.textShadow = n.textShadow, n.backgroundImage) a.backgroundImage = "url('" + n.backgroundImage + "')", a.backgroundRepeat = "no-repeat", a.backgroundSize = "contain", a.backgroundPosition = "center", n.backgroundColor && (a.backgroundColor = n.backgroundColor), a.width = "100%", a.height = "100%";
8982
8982
  else {
8983
8983
  if (n.nestedCues.length) var l = t;
8984
8984
  else l = document.createElement("span"), t.appendChild(l);
@@ -8986,9 +8986,9 @@ Char: ` + e[i]);
8986
8986
  return c.backgroundColor;
8987
8987
  })) ? l.style.backgroundColor = t : u && (l.style.backgroundColor = "rgba(0, 0, 0, 0.8)")), u && (l.setAttribute("translate", "no"), l.textContent = u);
8988
8988
  }
8989
- s && !r[r.length - 1].isContainer ? a.display = "inline" : (a.display = "flex", a.flexDirection = "column", a.alignItems = "center", n.textAlign == "left" || n.textAlign == "start" ? (a.width = "100%", a.alignItems = "start") : (n.textAlign == "right" || n.textAlign == "end") && (a.width = "100%", a.alignItems = "end"), a.justifyContent = n.displayAlign == "before" ? "flex-start" : n.displayAlign == "center" ? "center" : "flex-end"), o || (a.margin = "0"), a.fontFamily = n.fontFamily, a.fontWeight = n.fontWeight.toString(), a.fontStyle = n.fontStyle, a.letterSpacing = n.letterSpacing, a.fontSize = Jd(n.fontSize, n, e.o, e.B ? e.B.fontScaleFactor : 1), r = n.line, r != null && (o = n.lineInterpretation, o == fo && (o = 1, s = 16, e.s && 1 > e.s && (s = 32), r = 0 > r ? 100 + r / s * 100 : r / s * 100), o == 1 && (a.position = "absolute", n.writingMode == yi ? (a.width = "100%", n.lineAlign == bi ? a.top = r + "%" : n.lineAlign == "end" && (a.bottom = 100 - r + "%")) : n.writingMode == "vertical-lr" ? (a.height = "100%", n.lineAlign == bi ? a.left = r + "%" : n.lineAlign == "end" && (a.right = 100 - r + "%")) : (a.height = "100%", n.lineAlign == bi ? a.right = r + "%" : n.lineAlign == "end" && (a.left = 100 - r + "%")))), a.lineHeight = n.lineHeight, e = Bx(n), e == "line-left" ? (a.cssFloat = "left", n.position !== null && (a.position = "absolute", n.writingMode == yi ? (a.left = n.position + "%", a.width = "auto") : a.top = n.position + "%")) : e == "line-right" ? (a.cssFloat = "right", n.position !== null && (a.position = "absolute", n.writingMode == yi ? (a.right = 100 - n.position + "%", a.width = "auto") : a.bottom = n.position + "%")) : n.position !== null && n.position != 50 && (a.position = "absolute", n.writingMode == yi ? (a.left = n.position + "%", a.width = "auto") : a.top = n.position + "%"), a.textAlign = n.textAlign, a.textDecoration = n.textDecoration.join(" "), a.writingMode = n.writingMode, "writingMode" in document.documentElement.style && a.writingMode == n.writingMode || (a.webkitWritingMode = n.writingMode), n.size && (n.writingMode == yi ? a.width = n.size + "%" : a.height = n.size + "%");
8989
+ s && !r[r.length - 1].isContainer ? a.display = "inline" : (a.display = "flex", a.flexDirection = "column", a.alignItems = "center", n.textAlign == "left" || n.textAlign == "start" ? (a.width = "100%", a.alignItems = "start") : (n.textAlign == "right" || n.textAlign == "end") && (a.width = "100%", a.alignItems = "end"), a.justifyContent = n.displayAlign == "before" ? "flex-start" : n.displayAlign == "center" ? "center" : "flex-end"), o || (a.margin = "0"), a.fontFamily = n.fontFamily, a.fontWeight = n.fontWeight.toString(), a.fontStyle = n.fontStyle, a.letterSpacing = n.letterSpacing, a.fontSize = $d(n.fontSize, n, e.o, e.B ? e.B.fontScaleFactor : 1), r = n.line, r != null && (o = n.lineInterpretation, o == fo && (o = 1, s = 16, e.s && 1 > e.s && (s = 32), r = 0 > r ? 100 + r / s * 100 : r / s * 100), o == 1 && (a.position = "absolute", n.writingMode == yi ? (a.width = "100%", n.lineAlign == bi ? a.top = r + "%" : n.lineAlign == "end" && (a.bottom = 100 - r + "%")) : n.writingMode == "vertical-lr" ? (a.height = "100%", n.lineAlign == bi ? a.left = r + "%" : n.lineAlign == "end" && (a.right = 100 - r + "%")) : (a.height = "100%", n.lineAlign == bi ? a.right = r + "%" : n.lineAlign == "end" && (a.left = 100 - r + "%")))), a.lineHeight = n.lineHeight, e = Bx(n), e == "line-left" ? (a.cssFloat = "left", n.position !== null && (a.position = "absolute", n.writingMode == yi ? (a.left = n.position + "%", a.width = "auto") : a.top = n.position + "%")) : e == "line-right" ? (a.cssFloat = "right", n.position !== null && (a.position = "absolute", n.writingMode == yi ? (a.right = 100 - n.position + "%", a.width = "auto") : a.bottom = n.position + "%")) : n.position !== null && n.position != 50 && (a.position = "absolute", n.writingMode == yi ? (a.left = n.position + "%", a.width = "auto") : a.top = n.position + "%"), a.textAlign = n.textAlign, a.textDecoration = n.textDecoration.join(" "), a.writingMode = n.writingMode, "writingMode" in document.documentElement.style && a.writingMode == n.writingMode || (a.webkitWritingMode = n.writingMode), n.size && (n.writingMode == yi ? a.width = n.size + "%" : a.height = n.size + "%");
8990
8990
  }
8991
- function Jd(e, t, n, r) {
8991
+ function $d(e, t, n, r) {
8992
8992
  r = r === void 0 ? 1 : r;
8993
8993
  var i = (i = new RegExp(/(\d*\.?\d+)([a-z]+|%+)/).exec(e)) ? { value: Number(i[1]), unit: i[2] } : null;
8994
8994
  if (!i) return e;
@@ -9064,7 +9064,7 @@ Char: ` + e[i]);
9064
9064
  e.s = !1, e.F = !0, e.B = !1, e.l = !1, e.m = 0, e.o = 0, e.A = 0, e.G = !1, e.j = null, e.C.Ra();
9065
9065
  }
9066
9066
  function Kx(e, t) {
9067
- e.l = t, e.l ? e.i == Xu ? e.i = Wu : e.i == Yu && (e.i = $u) : e.i == Wu ? e.i = Xu : e.i == $u && (e.i = Yu);
9067
+ e.l = t, e.l ? e.i == Xu ? e.i = Wu : e.i == Yu && (e.i = Ju) : e.i == Wu ? e.i = Xu : e.i == Ju && (e.i = Yu);
9068
9068
  }
9069
9069
  function qx(e, t) {
9070
9070
  if (e.g && e.g.enabled && e.g.version == yv && e.j && e.j.autoplay) {
@@ -9150,7 +9150,7 @@ Char: ` + e[i]);
9150
9150
  if (t == "text") return e.mimeType === "application/mp4" ? zu : tf;
9151
9151
  }
9152
9152
  }
9153
- function $x(e, t) {
9153
+ function Jx(e, t) {
9154
9154
  if (t = e.h.Vb()[t], !t.length) return NaN;
9155
9155
  var n = e.h.getCurrentTime();
9156
9156
  return (e = t.find(function(r) {
@@ -9164,7 +9164,7 @@ Char: ` + e[i]);
9164
9164
  return r.start <= n && r.end >= n;
9165
9165
  })) ? 1e3 * (e.end - n) : 0;
9166
9166
  }
9167
- function Jx(e, t) {
9167
+ function $x(e, t) {
9168
9168
  var n = e.h.Pb();
9169
9169
  if (!n.length) return NaN;
9170
9170
  e = n[0], n = g(n);
@@ -9219,8 +9219,8 @@ Char: ` + e[i]);
9219
9219
  function ef(e, t) {
9220
9220
  return !t || e.includes("offline:") ? e : (e = new lt(e), e.g.set("CMCD", t), e.toString());
9221
9221
  }
9222
- var vv = "m", Gu = "a", Ku = "v", qu = "av", e2 = "i", tf = "c", zu = "tt", yv = 2, Xu = "d", Wu = "ld", Yu = "h", $u = "lh";
9223
- X("shaka.util.CmcdManager.StreamingFormat", { DASH: Xu, Ml: Wu, HLS: Yu, Nl: $u, am: "s", OTHER: "o" });
9222
+ var vv = "m", Gu = "a", Ku = "v", qu = "av", e2 = "i", tf = "c", zu = "tt", yv = 2, Xu = "d", Wu = "ld", Yu = "h", Ju = "lh";
9223
+ X("shaka.util.CmcdManager.StreamingFormat", { DASH: Xu, Ml: Wu, HLS: Yu, Nl: Ju, am: "s", OTHER: "o" });
9224
9224
  function Dn(e) {
9225
9225
  this.h = e, this.g = null;
9226
9226
  }
@@ -9312,11 +9312,11 @@ Char: ` + e[i]);
9312
9312
  }), this.Pa = null, e && (Me("Player w/ mediaElement", "Please migrate from initializing Player with a mediaElement; use the attach method instead."), this.fc(e, !0)), this.o = null;
9313
9313
  }
9314
9314
  ot(_, Le);
9315
- function Ju(e) {
9315
+ function $u(e) {
9316
9316
  e.S != null && (Lp(e.S), e.S.release(), e.S = null);
9317
9317
  }
9318
9318
  function t2(e, t, n) {
9319
- n || t.lcevc.enabled ? (Ju(e), e.S == null && (e.S = new ro(e.h, e.Gh, t.lcevc, n), e.G && (e.G.M = e.S))) : Ju(e);
9319
+ n || t.lcevc.enabled ? ($u(e), e.S == null && (e.S = new ro(e.h, e.Gh, t.lcevc, n), e.G && (e.G.M = e.S))) : $u(e);
9320
9320
  }
9321
9321
  function He(e, t) {
9322
9322
  return new K(e, t);
@@ -9326,7 +9326,7 @@ Char: ` + e[i]);
9326
9326
  return M(function(n) {
9327
9327
  switch (n.g) {
9328
9328
  case 1:
9329
- return e.m == qn ? n.return() : (Ju(e), t = e.detach(), e.m = qn, b(n, t, 2));
9329
+ return e.m == qn ? n.return() : ($u(e), t = e.detach(), e.m = qn, b(n, t, 2));
9330
9330
  case 2:
9331
9331
  return b(n, e.ng(), 3);
9332
9332
  case 3:
@@ -9415,7 +9415,7 @@ Char: ` + e[i]);
9415
9415
  case 1:
9416
9416
  return n.m != qn && (n.m = nl), b(v, rf(n, "unload"), 2);
9417
9417
  case 2:
9418
- return v.h ? v.return() : (hr(v, 3), n.Oa = !1, Ea(n, "unload"), Ju(n), r = n.qe.map(function(w) {
9418
+ return v.h ? v.return() : (hr(v, 3), n.Oa = !1, Ea(n, "unload"), $u(n), r = n.qe.map(function(w) {
9419
9419
  return w();
9420
9420
  }), n.qe = [], b(v, Promise.all(r), 5));
9421
9421
  case 5:
@@ -9863,7 +9863,7 @@ Char: ` + e[i]);
9863
9863
  if (e.Fh !== t) {
9864
9864
  var n = e.o;
9865
9865
  e.o = t(), e.o.configure ? e.o.configure(e.g.textDisplayer) : Me("Text displayer w/ configure", 'Text displayer should have a "configure" method!'), e.o.setTextLanguage || Me("Text displayer w/ setTextLanguage", 'Text displayer should have a "setTextLanguage" method!'), n ? (e.o.setTextVisibility(n.isTextVisible()), n.destroy().catch(function() {
9866
- })) : e.o.setTextVisibility(e.ba), e.G && IS(e.G, e.o), e.Fh = t, e.l && $S(e.l);
9866
+ })) : e.o.setTextVisibility(e.ba), e.G && IS(e.G, e.o), e.Fh = t, e.l && JS(e.l);
9867
9867
  } else e.o && e.o.configure && e.o.configure(e.g.textDisplayer);
9868
9868
  }
9869
9869
  function of(e) {
@@ -10233,7 +10233,7 @@ Char: ` + e[i]);
10233
10233
  break e;
10234
10234
  case 3:
10235
10235
  case 2:
10236
- c = u.l ? $u : Yu;
10236
+ c = u.l ? Ju : Yu;
10237
10237
  break e;
10238
10238
  case 5:
10239
10239
  c = "s";
@@ -10259,7 +10259,7 @@ Char: ` + e[i]);
10259
10259
  var m = p.ot === Ku || p.ot === Gu || p.ot === qu || p.ot === zu, y = l.stream;
10260
10260
  if (y) {
10261
10261
  var v = u.h.ub();
10262
- if (m && (p.bl = $x(u, y.type), p.ot !== zu)) {
10262
+ if (m && (p.bl = Jx(u, y.type), p.ot !== zu)) {
10263
10263
  var w = mv(u, y.type);
10264
10264
  p.dl = v ? w / Math.abs(v) : w;
10265
10265
  }
@@ -10288,7 +10288,7 @@ Char: ` + e[i]);
10288
10288
  isNaN(U) || (p.rtp = U);
10289
10289
  }
10290
10290
  }
10291
- m && p.ot !== zu && (p.tb = Jx(u, p.ot) / 1e3), Ia(u, o, p);
10291
+ m && p.ot !== zu && (p.tb = $x(u, p.ot) / 1e3), Ia(u, o, p);
10292
10292
  }
10293
10293
  } catch (N) {
10294
10294
  li("CMCD_SEGMENT_ERROR", "Could not generate segment CMCD data.", N);
@@ -10593,8 +10593,8 @@ Char: ` + e[i]);
10593
10593
  if (this.h && this.h.audioTracks) {
10594
10594
  var o = Hv(this);
10595
10595
  return e = Array.from(this.h.audioTracks), e.length ? e.map(function(s) {
10596
- return Js(s, o);
10597
- }) : o ? [Js(null, o)] : [];
10596
+ return $s(s, o);
10597
+ }) : o ? [$s(null, o)] : [];
10598
10598
  }
10599
10599
  return [];
10600
10600
  }, f.Dc = function() {
@@ -10613,7 +10613,7 @@ Char: ` + e[i]);
10613
10613
  }, f.Cj = function() {
10614
10614
  var e = this.Ae;
10615
10615
  return this.i && (e = this.i.imageStreams), e.map(function(t) {
10616
- return $c(t);
10616
+ return Jc(t);
10617
10617
  });
10618
10618
  }, f.qj = function(e) {
10619
10619
  var t = this, n, r;
@@ -10677,7 +10677,7 @@ Char: ` + e[i]);
10677
10677
  this.i && this.F && (t(), !this.ua()) || function() {
10678
10678
  if (n.h && n.h.textTracks) {
10679
10679
  var r = Qu(n), i = r.find(function(s) {
10680
- return $s(s) === e.id;
10680
+ return Js(s) === e.id;
10681
10681
  });
10682
10682
  if (i) {
10683
10683
  if (n.o instanceof yt) {
@@ -10741,7 +10741,7 @@ Char: ` + e[i]);
10741
10741
  if (e.originalAudioId && i.h && i.h.audioTracks) {
10742
10742
  var a = Array.from(i.h.audioTracks);
10743
10743
  a = g(a);
10744
- for (var o = a.next(); !o.done; o = a.next()) if (o = o.value, $s(o) == e.id) {
10744
+ for (var o = a.next(); !o.done; o = a.next()) if (o = o.value, Js(o) == e.id) {
10745
10745
  df(i, o);
10746
10746
  break;
10747
10747
  }
@@ -10849,9 +10849,9 @@ Char: ` + e[i]);
10849
10849
  }
10850
10850
  return Array.from(e.values());
10851
10851
  }, f.sj = function() {
10852
- return $v(this.Pb());
10852
+ return Jv(this.Pb());
10853
10853
  }, f.Rj = function() {
10854
- return $v(this.Dc());
10854
+ return Jv(this.Dc());
10855
10855
  }, f.rj = function() {
10856
10856
  return Array.from(Yv(this.Pb()));
10857
10857
  }, f.Qj = function() {
@@ -11189,7 +11189,7 @@ Char: ` + e[i]);
11189
11189
  fullMimeTypes: /* @__PURE__ */ new Set([ht(S || "", "")]),
11190
11190
  isAudioMuxedInVideo: !1,
11191
11191
  baseOriginalId: null
11192
- }, n.m == cn ? n.Ae.push(k) : n.i.imageStreams.push(k), Xt(n), C.return($c(k));
11192
+ }, n.m == cn ? n.Ae.push(k) : n.i.imageStreams.push(k), Xt(n), C.return(Jc(k));
11193
11193
  }
11194
11194
  });
11195
11195
  }, f.Ge = function(e, t, n) {
@@ -11477,7 +11477,7 @@ Char: ` + e[i]);
11477
11477
  }
11478
11478
  function Lr(e) {
11479
11479
  try {
11480
- $g(e.ue, e.i);
11480
+ Jg(e.ue, e.i);
11481
11481
  } catch (n) {
11482
11482
  return Ma(e, n), !1;
11483
11483
  }
@@ -11492,10 +11492,10 @@ Char: ` + e[i]);
11492
11492
  function Xo(e, t, n, r, i, a) {
11493
11493
  a = a === void 0 ? !1 : a;
11494
11494
  var o = e.l.o;
11495
- if (t == o) r && $m(e.l, t, r, i, !0);
11495
+ if (t == o) r && Jm(e.l, t, r, i, !0);
11496
11496
  else {
11497
11497
  var s = e.A.h;
11498
- if (s.h != t && (s.h = t, s.g.push({ timestamp: Date.now() / 1e3, id: t.id, type: "variant", fromAdaptation: n, bandwidth: t.bandwidth })), $m(e.l, t, r, i, a, n), r = null, o && (r = Ti(o)), o = Ti(t), o.active = !0, e.S && (i = e.S, t = t.video)) {
11498
+ if (s.h != t && (s.h = t, s.g.push({ timestamp: Date.now() / 1e3, id: t.id, type: "variant", fromAdaptation: n, bandwidth: t.bandwidth })), Jm(e.l, t, r, i, a, n), r = null, o && (r = Ti(o)), o = Ti(t), o.active = !0, e.S && (i = e.S, t = t.video)) {
11499
11499
  switch (t.dependencyStream && (t = t.dependencyStream), a = 0, s = -1, t.mimeType) {
11500
11500
  case "video/webm":
11501
11501
  a = 1;
@@ -11525,7 +11525,7 @@ Char: ` + e[i]);
11525
11525
  if (t.enabled = !0, n) {
11526
11526
  t.id !== n.id && (n.enabled = !1);
11527
11527
  var r = Hv(e);
11528
- n = Js(n, r), t = Js(t, r), Gv(e, n, t), Kv(e, n, t);
11528
+ n = $s(n, r), t = $s(t, r), Gv(e, n, t), Kv(e, n, t);
11529
11529
  }
11530
11530
  }
11531
11531
  function Hv(e) {
@@ -11645,7 +11645,7 @@ Char: ` + e[i]);
11645
11645
  for (var n = e.next(); !n.done; n = e.next()) n = n.value, n.language ? t.add(Pe(n.language)) : t.add("und");
11646
11646
  return t;
11647
11647
  }
11648
- function $v(e) {
11648
+ function Jv(e) {
11649
11649
  for (var t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), r = 0; r < e.length; r++) {
11650
11650
  var i = e[r], a = "und", o = [];
11651
11651
  i.language && (a = Pe(i.language)), i.type == "variant" ? o = i.audioRoles : o = i.roles, o && o.length || (o = [""]), t.has(a) || t.set(a, /* @__PURE__ */ new Set()), o = g(o);
@@ -11699,10 +11699,10 @@ Char: ` + e[i]);
11699
11699
  }, _.registerSupportPlugin = kv, _.prototype.destroy = _.prototype.destroy;
11700
11700
  var qn = 0, nl = 1, Vt = 2, cn = 3;
11701
11701
  _.LoadMode = { DESTROYED: qn, NOT_LOADED: nl, MEDIA_SOURCE: Vt, SRC_EQUALS: cn }, _.version = "v4.15.9";
11702
- var Jv = ["4", "15"];
11702
+ var $v = ["4", "15"];
11703
11703
  Ap = new function(e) {
11704
11704
  this.g = e, this.i = Hw, this.h = Gw;
11705
- }(new xc(Number(Jv[0]), Number(Jv[1])));
11705
+ }(new xc(Number($v[0]), Number($v[1])));
11706
11706
  var Qv = /* @__PURE__ */ new Map(), rl = null, il = null;
11707
11707
  function Zv() {
11708
11708
  this.g = [], this.i = this.m = this.l = this.j = this.h = 0;
@@ -11821,7 +11821,7 @@ Char: ` + e[i]);
11821
11821
  var c = se(u, "width", Ct) || se(u, "expandedWidth", Ct), d = se(u, "height", Ct) || se(u, "expandedHeight", Ct);
11822
11822
  if (c || d) {
11823
11823
  var h = null;
11824
- (u = u.attributes.minSuggestedDuration) && (h = $i(u)), u = 0, s != null && (u = s), a.push({
11824
+ (u = u.attributes.minSuggestedDuration) && (h = Ji(u)), u = 0, s != null && (u = s), a.push({
11825
11825
  id: null,
11826
11826
  groupId: null,
11827
11827
  startTime: u,
@@ -11856,7 +11856,7 @@ Char: ` + e[i]);
11856
11856
  var r = 0;
11857
11857
  t != null && (r = t);
11858
11858
  var i = null;
11859
- if (n.attributes.skipoffset && (i = $i(n.attributes.skipoffset), isNaN(i) && (i = null)), n = nt(n, "MediaFiles")) {
11859
+ if (n.attributes.skipoffset && (i = Ji(n.attributes.skipoffset), isNaN(i) && (i = null)), n = nt(n, "MediaFiles")) {
11860
11860
  var a = Ne(n, "MediaFile");
11861
11861
  for (n = a, a = a.filter(function(s) {
11862
11862
  return s.attributes.delivery == "streaming";
@@ -11898,7 +11898,7 @@ Char: ` + e[i]);
11898
11898
  e = g(Ne(e, "vmap:AdBreak"));
11899
11899
  for (var n = e.next(); !n.done; n = e.next()) {
11900
11900
  var r = n.value, i = r.attributes.timeOffset;
11901
- i && (n = null, i == "start" ? n = null : i == "end" ? n = 1 / 0 : n = $i(i), (r = nt(r, "vmap:AdSource")) && (r = nt(r, "vmap:AdTagURI")) && (r = gt(r)) && t.push({ time: n, uri: r }));
11901
+ i && (n = null, i == "start" ? n = null : i == "end" ? n = 1 / 0 : n = Ji(i), (r = nt(r, "vmap:AdSource")) && (r = nt(r, "vmap:AdTagURI")) && (r = gt(r)) && t.push({ time: n, uri: r }));
11902
11902
  }
11903
11903
  return t;
11904
11904
  }
@@ -12298,7 +12298,7 @@ Char: ` + e[i]);
12298
12298
  var n;
12299
12299
  M(function(r) {
12300
12300
  if (r.g == 1) return yf(e), b(r, L2(e, t), 2);
12301
- n = r.h, n.length ? $o(e, n) : Ie("Unsupported HLS interstitial", t), q(r);
12301
+ n = r.h, n.length ? Jo(e, n) : Ie("Unsupported HLS interstitial", t), q(r);
12302
12302
  });
12303
12303
  }
12304
12304
  function C2(e, t) {
@@ -12327,7 +12327,7 @@ Char: ` + e[i]);
12327
12327
  if (c = se(m, "x", Ct), c == null || (h = se(m, "y", Ct), h == null) || (m = se(n, "x", Ct), m == null) || (n = se(n, "y", Ct), n == null)) return;
12328
12328
  h = { viewport: { x: u, y: l }, topLeft: { x: c, y: h }, size: { x: m, y: n } };
12329
12329
  }
12330
- $o(e, [{
12330
+ Jo(e, [{
12331
12331
  id: t.id,
12332
12332
  groupId: null,
12333
12333
  startTime: t.startTime,
@@ -12365,15 +12365,15 @@ Char: ` + e[i]);
12365
12365
  return M(function(y) {
12366
12366
  if (y.g == 1) return b(y, bf(t, h.uri, n), 2);
12367
12367
  if (p = y.h, m = so(p, "VAST"), !m) throw new E(2, 10, 10007);
12368
- a.push.apply(a, G(ey(m, h.time))), q(y);
12368
+ a.push.apply(a, H(ey(m, h.time))), q(y);
12369
12369
  });
12370
12370
  }, s = [], u = g(A2(i)), l = u.next(); !l.done; l = u.next()) c = l.value, s.push(o(c));
12371
12371
  return s.length ? b(d, Promise.all(s), 3) : d.u(3);
12372
12372
  }
12373
- $o(t, a), q(d);
12373
+ Jo(t, a), q(d);
12374
12374
  });
12375
12375
  };
12376
- function $o(e, t) {
12376
+ function Jo(e, t) {
12377
12377
  var n, r, i, a, o, s, u, l;
12378
12378
  M(function(c) {
12379
12379
  switch (c.g) {
@@ -12630,7 +12630,7 @@ Char: ` + e[i]);
12630
12630
  }
12631
12631
  return V = i.data, V ? (ce(pe, 4), J = { type: 11 }, b(pe, bf(e, V, J), 6)) : pe.return(n);
12632
12632
  case 6:
12633
- for (z = pe.h, Ee = Je(z), xe = JSON.parse(Ee), (Ue = xe["SKIP-CONTROL"]) && (me = Ue["ENABLE-SKIP-AFTER"], typeof me == "number" && (p = parseFloat(me), isNaN(me) && (p = c ? 0 : null)), le = Ue["ENABLE-SKIP-FOR"], typeof le == "number" && (v = parseFloat(le), isNaN(le) && (v = null))), je = 0; je < xe.ASSETS.length; je++) ye = xe.ASSETS[je], ye.URI && n.push({ id: a + "_shaka_asset_" + je, groupId: a, startTime: s, endTime: u, uri: ye.URI, mimeType: null, isSkippable: c, skipOffset: p, skipFor: v, canJump: d, resumeOffset: S, playoutLimit: x, once: D, pre: R, post: L, timelineRange: U, loop: !1, overlay: null, displayOnBackground: !1, currentVideo: null, background: null });
12633
+ for (z = pe.h, Ee = $e(z), xe = JSON.parse(Ee), (Ue = xe["SKIP-CONTROL"]) && (me = Ue["ENABLE-SKIP-AFTER"], typeof me == "number" && (p = parseFloat(me), isNaN(me) && (p = c ? 0 : null)), le = Ue["ENABLE-SKIP-FOR"], typeof le == "number" && (v = parseFloat(le), isNaN(le) && (v = null))), je = 0; je < xe.ASSETS.length; je++) ye = xe.ASSETS[je], ye.URI && n.push({ id: a + "_shaka_asset_" + je, groupId: a, startTime: s, endTime: u, uri: ye.URI, mimeType: null, isSkippable: c, skipOffset: p, skipFor: v, canJump: d, resumeOffset: S, playoutLimit: x, once: D, pre: R, post: L, timelineRange: U, loop: !1, overlay: null, displayOnBackground: !1, currentVideo: null, background: null });
12634
12634
  ge(pe, 2);
12635
12635
  break;
12636
12636
  case 4:
@@ -12686,7 +12686,7 @@ Char: ` + e[i]);
12686
12686
  }
12687
12687
  }
12688
12688
  function ee(e, t, n, r, i) {
12689
- this.h = e, this.j = $i(this.h.skipOffset), this.g = i, this.i = t, this.l = n, this.o = r, this.m = !1;
12689
+ this.h = e, this.j = Ji(this.h.skipOffset), this.g = i, this.i = t, this.l = n, this.o = r, this.m = !1;
12690
12690
  }
12691
12691
  f = ee.prototype, f.needsSkipUI = function() {
12692
12692
  return !0;
@@ -12760,17 +12760,17 @@ Char: ` + e[i]);
12760
12760
  }, f.release = function() {
12761
12761
  this.l = this.i = this.g = this.h = null;
12762
12762
  }, X("shaka.ads.MediaTailorAd", ee), ee.prototype.release = ee.prototype.release, ee.prototype.getPodIndex = ee.prototype.getPodIndex, ee.prototype.getTimeOffset = ee.prototype.getTimeOffset, ee.prototype.getMediaUrl = ee.prototype.getMediaUrl, ee.prototype.getAdvertiserName = ee.prototype.getAdvertiserName, ee.prototype.getCreativeAdId = ee.prototype.getCreativeAdId, ee.prototype.getAdId = ee.prototype.getAdId, ee.prototype.getVastAdId = ee.prototype.getVastAdId, ee.prototype.getVastMediaWidth = ee.prototype.getVastMediaWidth, ee.prototype.getVastMediaHeight = ee.prototype.getVastMediaHeight, ee.prototype.getVastMediaBitrate = ee.prototype.getVastMediaBitrate, ee.prototype.getDescription = ee.prototype.getDescription, ee.prototype.getTitle = ee.prototype.getTitle, ee.prototype.getPositionInSequence = ee.prototype.getPositionInSequence, ee.prototype.getSequenceLength = ee.prototype.getSequenceLength, ee.prototype.setMuted = ee.prototype.setMuted, ee.prototype.resize = ee.prototype.resize, ee.prototype.isLinear = ee.prototype.isLinear, ee.prototype.isMuted = ee.prototype.isMuted, ee.prototype.setVolume = ee.prototype.setVolume, ee.prototype.getVolume = ee.prototype.getVolume, ee.prototype.play = ee.prototype.play, ee.prototype.pause = ee.prototype.pause, ee.prototype.skip = ee.prototype.skip, ee.prototype.canSkipNow = ee.prototype.canSkipNow, ee.prototype.getTimeUntilSkippable = ee.prototype.getTimeUntilSkippable, ee.prototype.isSkippable = ee.prototype.isSkippable, ee.prototype.isPaused = ee.prototype.isPaused, ee.prototype.getRemainingTime = ee.prototype.getRemainingTime, ee.prototype.getMinSuggestedDuration = ee.prototype.getMinSuggestedDuration, ee.prototype.getDuration = ee.prototype.getDuration, ee.prototype.isUsingAnotherMediaElement = ee.prototype.isUsingAnotherMediaElement, ee.prototype.hasCustomClick = ee.prototype.hasCustomClick, ee.prototype.isClientRendering = ee.prototype.isClientRendering, ee.prototype.needsSkipUI = ee.prototype.needsSkipUI;
12763
- function Jo(e, t, n, r) {
12763
+ function $o(e, t, n, r) {
12764
12764
  this.B = e, this.K = t, this.h = n, this.l = null, this.P = NaN, this.i = r, this.I = !1, this.A = null, this.j = [], this.M = [], this.L = this.C = this.g = null, this.F = /* @__PURE__ */ new Map(), this.m = [], this.s = [], this.G = "", this.N = !0, this.H = "", this.o = new De();
12765
12765
  }
12766
- Jo.prototype.stop = function() {
12766
+ $o.prototype.stop = function() {
12767
12767
  for (var e = g(this.m), t = e.next(); !t.done; t = e.next()) t = t.value, this.o.Ja(t.target, t.type, t.listener);
12768
12768
  Da(this), this.m = [], this.s = [], this.G = "", this.N = !0, this.H = "", this.A = null, this.j = [], this.M = [], this.F.clear();
12769
- }, Jo.prototype.release = function() {
12769
+ }, $o.prototype.release = function() {
12770
12770
  this.stop(), this.o && this.o.release();
12771
- }, Jo.prototype.onManifestUpdated = function(e) {
12771
+ }, $o.prototype.onManifestUpdated = function(e) {
12772
12772
  this.I = e, this.G != "" && (N2(this, this.G, this.N), this.N = !1);
12773
- }, Jo.prototype.getCuePoints = function() {
12773
+ }, $o.prototype.getCuePoints = function() {
12774
12774
  for (var e = [], t = g(this.j), n = t.next(); !n.done; n = t.next()) {
12775
12775
  n = g(n.value.ads);
12776
12776
  for (var r = n.next(); !r.done; r = n.next()) r = r.value, e.push({ start: r.startTimeInSeconds, end: r.startTimeInSeconds + r.durationInSeconds });
@@ -12782,7 +12782,7 @@ Char: ` + e[i]);
12782
12782
  M(function(y) {
12783
12783
  if (y.g == 1) return r = { type: 7 }, i = vt([t], Qn()), i.method = "POST", n && (a = JSON.stringify(n), i.body = Bn(a)), o = e.K.request(7, i, r), ce(y, 2), b(y, o.promise, 4);
12784
12784
  if (y.g != 2) {
12785
- if (s = y.h, u = Je(s.data), l = JSON.parse(u), l.manifestUrl && l.trackingUrl) c = new lt(t), d = new lt(l.trackingUrl), e.G = c.resolve(d).toString(), h = Date.now() / 1e3, p = h - e.P, e.i(new K("ads-loaded", (/* @__PURE__ */ new Map()).set("loadTime", p))), m = new lt(l.manifestUrl), e.l.resolve(c.resolve(m).toString()), e.l = null;
12785
+ if (s = y.h, u = $e(s.data), l = JSON.parse(u), l.manifestUrl && l.trackingUrl) c = new lt(t), d = new lt(l.trackingUrl), e.G = c.resolve(d).toString(), h = Date.now() / 1e3, p = h - e.P, e.i(new K("ads-loaded", (/* @__PURE__ */ new Map()).set("loadTime", p))), m = new lt(l.manifestUrl), e.l.resolve(c.resolve(m).toString()), e.l = null;
12786
12786
  else throw Error("Insufficient data from MediaTailor.");
12787
12787
  return ge(y, 0);
12788
12788
  }
@@ -12795,7 +12795,7 @@ Char: ` + e[i]);
12795
12795
  M(function(S) {
12796
12796
  if (S.g == 1) return r = { type: 8 }, i = vt([t], Qn()), a = e.K.request(7, i, r), ce(S, 2), b(S, a.promise, 4);
12797
12797
  if (S.g != 2) {
12798
- if (o = S.h, s = [], u = Je(o.data), l = JSON.parse(u), 0 < l.avails.length) {
12798
+ if (o = S.h, s = [], u = $e(o.data), l = JSON.parse(u), 0 < l.avails.length) {
12799
12799
  if (JSON.stringify(e.j) != JSON.stringify(l.avails)) {
12800
12800
  for (e.j = l.avails, c = g(e.j), d = c.next(); !d.done; d = c.next()) for (h = d.value, p = g(h.nonLinearAdsList), m = p.next(); !m.done; m = p.next()) for (y = m.value, v = g(y.nonLinearAdList), w = v.next(); !w.done; w = v.next()) T = w.value, U2(e, T);
12801
12801
  s = e.getCuePoints(), e.i(new K("ad-cue-points-changed", (/* @__PURE__ */ new Map()).set("cuepoints", s)));
@@ -12811,7 +12811,7 @@ Char: ` + e[i]);
12811
12811
  M(function(c) {
12812
12812
  if (c.g == 1)
12813
12813
  return !t.staticResource || (n = ly(t), e.F.get(n)) ? c.return() : (r = { type: 9 }, i = vt([t.staticResource], Qn()), a = e.K.request(7, i, r), ce(c, 2), e.F.set(n, []), b(c, a.promise, 4));
12814
- if (c.g != 2) return o = c.h, s = Je(o.data), u = JSON.parse(s), l = u.apps, e.F.set(n, l), ge(c, 0);
12814
+ if (c.g != 2) return o = c.h, s = $e(o.data), u = JSON.parse(s), l = u.apps, e.F.set(n, l), ge(c, 0);
12815
12815
  de(c), e.F.delete(n), q(c);
12816
12816
  });
12817
12817
  }
@@ -13130,7 +13130,7 @@ Char: ` + e[i]);
13130
13130
  t.B = e, t.g && t.g.updateAdsRenderingSettings(t.B);
13131
13131
  }, f.initMediaTailor = function(e, t, n) {
13132
13132
  var r = this;
13133
- this.i && this.i.release(), this.i = new Jo(e, t, n, function(i) {
13133
+ this.i && this.i.release(), this.i = new $o(e, t, n, function(i) {
13134
13134
  return ll(r, i);
13135
13135
  });
13136
13136
  }, f.requestMediaTailorStream = function(e, t, n) {
@@ -13190,13 +13190,13 @@ Char: ` + e[i]);
13190
13190
  break;
13191
13191
  }
13192
13192
  }
13193
- u && $o(e, [{ id: n.id, groupId: null, startTime: i, endTime: a, uri: u, mimeType: null, isSkippable: !1, skipOffset: null, skipFor: null, canJump: !0, resumeOffset: r ? s : null, playoutLimit: o, once: !1, pre: !1, post: !1, timelineRange: t && !r, loop: !1, overlay: null, displayOnBackground: !1, currentVideo: null, background: null }]);
13193
+ u && Jo(e, [{ id: n.id, groupId: null, startTime: i, endTime: a, uri: u, mimeType: null, isSkippable: !1, skipOffset: null, skipFor: null, canJump: !0, resumeOffset: r ? s : null, playoutLimit: o, once: !1, pre: !1, post: !1, timelineRange: t && !r, loop: !1, overlay: null, displayOnBackground: !1, currentVideo: null, background: null }]);
13194
13194
  }
13195
13195
  } else (r == "urn:mpeg:dash:event:2012" || r == "urn:scte:dash:scte214-events") && n.eventNode && nt(n.eventNode, "OverlayEvent") && (this.g || this.initInterstitial(null, e, t), this.g && C2(this.g, n));
13196
13196
  }
13197
13197
  }, f.addCustomInterstitial = function(e) {
13198
13198
  if (!this.g) throw new E(1, 10, 10006);
13199
- $o(this.g, [e]);
13199
+ Jo(this.g, [e]);
13200
13200
  }, f.addAdUrlInterstitial = function(e) {
13201
13201
  if (!this.g) throw new E(1, 10, 10006);
13202
13202
  return this.g.addAdUrlInterstitial(e);
@@ -13372,16 +13372,16 @@ Char: ` + e[i]);
13372
13372
  var n = this;
13373
13373
  if (e == "video") {
13374
13374
  if (F2.includes(t)) return function() {
13375
- return n.zi.apply(n, [e, t].concat(G(St.apply(0, arguments))));
13375
+ return n.zi.apply(n, [e, t].concat(H(St.apply(0, arguments))));
13376
13376
  };
13377
13377
  } else if (e == "player") {
13378
13378
  if (my.has(t) && !this.get("player", "isLive")()) return function() {
13379
13379
  };
13380
13380
  if (V2.includes(t)) return function() {
13381
- return n.zi.apply(n, [e, t].concat(G(St.apply(0, arguments))));
13381
+ return n.zi.apply(n, [e, t].concat(H(St.apply(0, arguments))));
13382
13382
  };
13383
13383
  if (H2.includes(t)) return function() {
13384
- return n.Hk.apply(n, [e, t].concat(G(St.apply(0, arguments))));
13384
+ return n.Hk.apply(n, [e, t].concat(H(St.apply(0, arguments))));
13385
13385
  };
13386
13386
  if (Sf.has(t) || xf.has(t)) return function() {
13387
13387
  return n.g[e][t];
@@ -13603,17 +13603,17 @@ Char: ` + e[i]);
13603
13603
  for (var h = g(i), p = h.next(); !p.done; p = h.next()) {
13604
13604
  p = p.value;
13605
13605
  var m;
13606
- (m = e.od()).He.apply(m, G(p));
13606
+ (m = e.od()).He.apply(m, H(p));
13607
13607
  }
13608
13608
  for (h = g(a), m = h.next(); !m.done; m = h.next()) {
13609
13609
  m = m.value;
13610
13610
  var y;
13611
- (y = e.od()).Hd.apply(y, G(m));
13611
+ (y = e.od()).Hd.apply(y, H(m));
13612
13612
  }
13613
13613
  for (y = g(o), h = y.next(); !h.done; h = y.next()) {
13614
13614
  h = h.value;
13615
13615
  var v;
13616
- (v = e.od()).Ge.apply(v, G(h));
13616
+ (v = e.od()).Ge.apply(v, H(h));
13617
13617
  }
13618
13618
  for (v = g(Tf), y = v.next(); !y.done; y = v.next()) y = y.value, e.i[y] = d[y];
13619
13619
  for (v = g(yy), y = v.next(); !y.done; y = v.next()) h = y.value, y = h[1], h = e.g.get("player", h[0])(), e.h[y](h);
@@ -13665,11 +13665,11 @@ Char: ` + e[i]);
13665
13665
  if (!n) {
13666
13666
  if (t == "addThumbnailsTrack") return function() {
13667
13667
  var r = St.apply(0, arguments);
13668
- return e.C.push(r), hl(e, t, !0).apply(null, G(r));
13668
+ return e.C.push(r), hl(e, t, !0).apply(null, H(r));
13669
13669
  };
13670
13670
  if (t == "addTextTrackAsync") return function() {
13671
13671
  var r = St.apply(0, arguments);
13672
- return e.B.push(r), hl(e, t, !0).apply(null, G(r));
13672
+ return e.B.push(r), hl(e, t, !0).apply(null, H(r));
13673
13673
  };
13674
13674
  if (t == "addChaptersTrack") return function() {
13675
13675
  var r = St.apply(0, arguments);
@@ -13677,7 +13677,7 @@ Char: ` + e[i]);
13677
13677
  e,
13678
13678
  t,
13679
13679
  !0
13680
- ).apply(null, G(r));
13680
+ ).apply(null, H(r));
13681
13681
  };
13682
13682
  }
13683
13683
  if (e.g.vb()) {
@@ -13741,12 +13741,12 @@ Char: ` + e[i]);
13741
13741
  var i = cast.receiver.CastReceiverManager.getInstance().getSystemVolume();
13742
13742
  i && Rr(e, { type: "update", update: { video: { volume: i.level, muted: i.muted } } }, e.l), Rr(e, { type: "event", targetName: "video", event: { type: "volumechange" } }, e.l);
13743
13743
  }, e.s = t.getCastMessageBus("urn:x-cast:com.google.cast.media"), e.s.onMessage = function(i) {
13744
- return J2(
13744
+ return $2(
13745
13745
  e,
13746
13746
  i
13747
13747
  );
13748
13748
  }, e.l = t.getCastMessageBus("urn:x-cast:com.google.shaka.v2"), e.l.onMessage = function(i) {
13749
- return $2(e, i);
13749
+ return J2(e, i);
13750
13750
  }, t.start(), t = g(gy);
13751
13751
  for (var n = t.next(); !n.done; n = t.next()) e.j.D(e.h, n.value, function(i) {
13752
13752
  return Cy(e, "video", i);
@@ -13789,9 +13789,9 @@ Char: ` + e[i]);
13789
13789
  for (r in t.player) i = t.player[r], e.g[r](i);
13790
13790
  return e.F(n), a = e.h.autoplay, t.manifest ? (e.h.autoplay = !1, ce(x, 5), b(x, e.g.load(t.manifest, t.startTime), 7)) : b(x, Promise.resolve(), 3);
13791
13791
  case 7:
13792
- if (t.addThumbnailsTrackCalls) for (o = g(t.addThumbnailsTrackCalls), s = o.next(); !s.done; s = o.next()) u = s.value, e.g.He.apply(e.g, G(u));
13793
- if (t.addTextTrackAsyncCalls) for (l = g(t.addTextTrackAsyncCalls), c = l.next(); !c.done; c = l.next()) d = c.value, e.g.Hd.apply(e.g, G(d));
13794
- if (t.addChaptersTrackCalls) for (h = g(t.addChaptersTrackCalls), p = h.next(); !p.done; p = h.next()) m = p.value, e.g.Ge.apply(e.g, G(m));
13792
+ if (t.addThumbnailsTrackCalls) for (o = g(t.addThumbnailsTrackCalls), s = o.next(); !s.done; s = o.next()) u = s.value, e.g.He.apply(e.g, H(u));
13793
+ if (t.addTextTrackAsyncCalls) for (l = g(t.addTextTrackAsyncCalls), c = l.next(); !c.done; c = l.next()) d = c.value, e.g.Hd.apply(e.g, H(d));
13794
+ if (t.addChaptersTrackCalls) for (h = g(t.addChaptersTrackCalls), p = h.next(); !p.done; p = h.next()) m = p.value, e.g.Ge.apply(e.g, H(m));
13795
13795
  ge(x, 3);
13796
13796
  break;
13797
13797
  case 5:
@@ -13829,7 +13829,7 @@ Char: ` + e[i]);
13829
13829
  var n = { contentId: e.g.nd(), streamType: e.g.V() ? "LIVE" : "BUFFERED", contentType: "" };
13830
13830
  e.g.V() || (n.duration = e.h.duration), e.i && (n.metadata = e.i), Nr(e, t === void 0 ? 0 : t, n);
13831
13831
  }
13832
- function $2(e, t) {
13832
+ function J2(e, t) {
13833
13833
  var n = wf(t.data);
13834
13834
  switch (n.type) {
13835
13835
  case "init":
@@ -13866,7 +13866,7 @@ Char: ` + e[i]);
13866
13866
  });
13867
13867
  }
13868
13868
  }
13869
- function J2(e, t) {
13869
+ function $2(e, t) {
13870
13870
  var n = wf(t.data);
13871
13871
  switch (n.type) {
13872
13872
  case "PLAY":
@@ -14292,7 +14292,7 @@ Char: ` + e[i]);
14292
14292
  this.h.sort(e), this.g.sort(e);
14293
14293
  for (var n = g(this.h), r = n.next(); !r.done; r = n.next()) (r = gA(this, r.value)) && t.push(r);
14294
14294
  for (n = g(this.g), r = n.next(); !r.done; r = n.next()) cA(this.i, r.value);
14295
- for (n = g(this.i.i), r = n.next(); !r.done; r = n.next()) r = mA(this, r.value), t.push.apply(t, G(r));
14295
+ for (n = g(this.i.i), r = n.next(); !r.done; r = n.next()) r = mA(this, r.value), t.push.apply(t, H(r));
14296
14296
  return this.i.i = [], this.h = [], this.g = [], t;
14297
14297
  };
14298
14298
  function gA(e, t) {
@@ -14396,7 +14396,7 @@ Char: ` + e[i]);
14396
14396
  } else 4256 <= c && 4351 >= c && i.g && ((c & 255) != 160 ? Zr(i.g, "_") : Zr(i.g, "[CC]"));
14397
14397
  p = [];
14398
14398
  }
14399
- n.push.apply(n, G(p));
14399
+ n.push.apply(n, H(p));
14400
14400
  }
14401
14401
  }
14402
14402
  }
@@ -14416,7 +14416,7 @@ Char: ` + e[i]);
14416
14416
  return new Ra();
14417
14417
  };
14418
14418
  function Xy(e) {
14419
- for (var t = [], n = e, r = e = 0; r < n.length; ) e == 2 && n[r] == 3 ? (e = 0, n = [].concat(G(n)), n.splice(r, 1), n = new Uint8Array(n)) : n[r] == 0 ? e++ : e = 0, r++;
14419
+ for (var t = [], n = e, r = e = 0; r < n.length; ) e == 2 && n[r] == 3 ? (e = 0, n = [].concat(H(n)), n.splice(r, 1), n = new Uint8Array(n)) : n[r] == 0 ? e++ : e = 0, r++;
14420
14420
  for (e = n, r = 0; r < e.length; ) {
14421
14421
  for (n = 0; e[r] == 255; ) n += 255, r++;
14422
14422
  n += e[r++];
@@ -14477,7 +14477,7 @@ Char: ` + e[i]);
14477
14477
  var l = 0, c = a, d = s.map(function(m) {
14478
14478
  return m.gh;
14479
14479
  });
14480
- for (d = [].concat.apply([], G(d)), d.length && (c = d[0].sampleSize || a), t.skip(o + s[0].mg); t.Ga(); ) {
14480
+ for (d = [].concat.apply([], H(d)), d.length && (c = d[0].sampleSize || a), t.skip(o + s[0].mg); t.Ga(); ) {
14481
14481
  o = t.T();
14482
14482
  var h = t.X(), p = null;
14483
14483
  switch (p = !1, s = 1, e.g) {
@@ -14531,7 +14531,7 @@ Char: ` + e[i]);
14531
14531
  return new yl();
14532
14532
  });
14533
14533
  function yA(e) {
14534
- var t = 0, n = Jt(e), r = n.getUint32(t, !0);
14534
+ var t = 0, n = $t(e), r = n.getUint32(t, !0);
14535
14535
  if (r != e.byteLength) return [];
14536
14536
  e: {
14537
14537
  for (e = t + 6, t = []; e < n.byteLength - 1; ) {
@@ -14557,7 +14557,7 @@ Char: ` + e[i]);
14557
14557
  try {
14558
14558
  var t = Wy(e);
14559
14559
  if (t) e: {
14560
- for (var n = g(Jn(t, "DATA")), r = n.next(); !r.done; r = n.next()) {
14560
+ for (var n = g($n(t, "DATA")), r = n.next(); !r.done; r = n.next()) {
14561
14561
  var i = r.value;
14562
14562
  if (i.children) for (var a = g(i.children), o = a.next(); !o.done; o = a.next()) {
14563
14563
  var s = o.value;
@@ -14615,7 +14615,7 @@ Char: ` + e[i]);
14615
14615
  if (t && (t = gt(t))) return t;
14616
14616
  if ((t = Hn(e.node, "urn:microsoft:playready", "pro")) && gt(t)) return bl(t);
14617
14617
  if ((e = Hn(e.node, "urn:mpeg:cenc:2013", "pssh")) && (e = gt(e))) {
14618
- t = In(e), e = 8, t = Jt(t);
14618
+ t = In(e), e = 8, t = $t(t);
14619
14619
  var n = t.getUint8(e);
14620
14620
  return e += 20, 0 < n && (e += 4 + 16 * t.getUint32(e)), e = ue(t, e + 4), e = Rs(e), e = vi("<pro>" + e + "</pro>"), bl(e);
14621
14621
  }
@@ -14736,7 +14736,7 @@ Char: ` + e[i]);
14736
14736
  return l = j.parseInt(l, 10) || 1, Array(Math.max(0, l - s.length) + 1).join("0") + s;
14737
14737
  });
14738
14738
  }
14739
- function $y(e, t) {
14739
+ function Jy(e, t) {
14740
14740
  var n = Xn(e, t, "timescale"), r = 1;
14741
14741
  n && (r = sr(n) || 1), n = Xn(e, t, "duration");
14742
14742
  var i = (n = sr(n || "")) ? n / r : null, a = Xn(e, t, "startNumber"), o = Number(Xn(e, t, "presentationTimeOffset")) || 0, s = Dt(a || "");
@@ -14759,16 +14759,16 @@ Char: ` + e[i]);
14759
14759
  }
14760
14760
  return { timescale: r, Kf: n, gb: i, ie: s, Ib: o / r || 0, dd: o, timeline: a };
14761
14761
  }
14762
- function Jy(e, t) {
14762
+ function $y(e, t) {
14763
14763
  return [t(e.J), t(e.oa), t(e.ra)].filter(Xr);
14764
14764
  }
14765
14765
  function Xn(e, t, n) {
14766
- t = Jy(e, t), e = null, t = g(t);
14766
+ t = $y(e, t), e = null, t = g(t);
14767
14767
  for (var r = t.next(); !r.done && !(e = r.value.attributes[n]); r = t.next()) ;
14768
14768
  return e;
14769
14769
  }
14770
14770
  function Na(e, t, n) {
14771
- t = Jy(e, t), e = null, t = g(t);
14771
+ t = $y(e, t), e = null, t = g(t);
14772
14772
  for (var r = t.next(); !r.done && !(e = nt(r.value, n)); r = t.next()) ;
14773
14773
  return e;
14774
14774
  }
@@ -14838,7 +14838,7 @@ Char: ` + e[i]);
14838
14838
  return o.parser.stop(), s;
14839
14839
  }
14840
14840
  function ei(e) {
14841
- this.h = Jt(e), this.g = new ze(this.h, 0);
14841
+ this.h = $t(e), this.g = new ze(this.h, 0);
14842
14842
  }
14843
14843
  ei.prototype.Ga = function() {
14844
14844
  return this.g.Ga();
@@ -14867,7 +14867,7 @@ Char: ` + e[i]);
14867
14867
  }
14868
14868
  t = r;
14869
14869
  }
14870
- return t = e.g.Ma() + t <= e.h.byteLength ? t : e.h.byteLength - e.g.Ma(), r = Jt(e.h, e.g.Ma(), t), e.g.skip(t), new DA(
14870
+ return t = e.g.Ma() + t <= e.h.byteLength ? t : e.h.byteLength - e.g.Ma(), r = $t(e.h, e.g.Ma(), t), e.g.skip(t), new DA(
14871
14871
  n,
14872
14872
  r
14873
14873
  );
@@ -15010,7 +15010,7 @@ Char: ` + e[i]);
15010
15010
  }
15011
15011
  function jA(e) {
15012
15012
  var t = _A(e);
15013
- e = $y(e, i0);
15013
+ e = Jy(e, i0);
15014
15014
  var n = e.ie;
15015
15015
  n == 0 && (n = 1);
15016
15016
  var r = 0;
@@ -15083,7 +15083,7 @@ Char: ` + e[i]);
15083
15083
  return e.Gc;
15084
15084
  }
15085
15085
  function BA(e) {
15086
- var t = $y(e, ti), n = Xn(e, ti, "media"), r = Xn(e, ti, "index"), i = Xn(e, ti, "k"), a = 0;
15086
+ var t = Jy(e, ti), n = Xn(e, ti, "media"), r = Xn(e, ti, "index"), i = Xn(e, ti, "k"), a = 0;
15087
15087
  return i && (a = parseInt(i, 10)), { Kf: t.Kf, gb: t.gb, timescale: t.timescale, ie: t.ie, Ib: t.Ib, dd: t.dd, timeline: t.timeline, ac: n && Qt(n), Vd: r, mimeType: e.J.mimeType, codecs: e.J.codecs, bandwidth: e.bandwidth, vk: a };
15088
15088
  }
15089
15089
  function FA(e) {
@@ -15177,7 +15177,7 @@ Char: ` + e[i]);
15177
15177
  return s.end > o.end;
15178
15178
  });
15179
15179
  } else t = t.timeline.slice();
15180
- 0 < t.length && e.h.timeline.push.apply(e.h.timeline, G(t)), e.l !== r && (e.l = r);
15180
+ 0 < t.length && e.h.timeline.push.apply(e.h.timeline, H(t)), e.l !== r && (e.l = r);
15181
15181
  } else e.h = t, e.j = n, e.l = r;
15182
15182
  Bf(e);
15183
15183
  }
@@ -15277,7 +15277,7 @@ Char: ` + e[i]);
15277
15277
  var n, r, i, a, o, s, u;
15278
15278
  return M(function(l) {
15279
15279
  if (l.g == 1) return n = xt(e.i, [KA(e, t)]), r = vt(n, e.o.retryParameters), i = e.A.networkingEngine.request(8, r), Ai(e.G, i), ce(l, 2), b(l, i.promise, 4);
15280
- if (l.g != 2) return a = l.h, o = Je(a.data), s = JSON.parse(o), s.VERSION == 1 && qA(e, s, a.uri), ge(l, 0);
15280
+ if (l.g != 2) return a = l.h, o = $e(a.data), s = JSON.parse(o), s.VERSION == 1 && qA(e, s, a.uri), ge(l, 0);
15281
15281
  if ((u = de(l)) && u.code == 7001) return l.return();
15282
15282
  e.g != null && (e.g.stop(), e.g = null), e.g = new Se(function() {
15283
15283
  us(e, t);
@@ -15571,7 +15571,7 @@ Char: ` + e[i]);
15571
15571
  n || (n = []);
15572
15572
  for (var r = g(t.roles), i = r.next(); !i.done; i = r.next()) i = i.value, n.includes(i) || n.push(i);
15573
15573
  for (e.roles = n, n = g(t.keyIds), r = n.next(); !r.done; r = n.next()) e.keyIds.add(r.value);
15574
- if (e.encrypted = e.encrypted && t.encrypted, e.segments.push.apply(e.segments, G(t.segments)), t.closedCaptions) for (e.closedCaptions || (e.closedCaptions = /* @__PURE__ */ new Map()), t = g(t.closedCaptions), n = t.next(); !n.done; n = t.next()) r = g(n.value), n = r.next().value, r = r.next().value, e.closedCaptions.set(n, r);
15574
+ if (e.encrypted = e.encrypted && t.encrypted, e.segments.push.apply(e.segments, H(t.segments)), t.closedCaptions) for (e.closedCaptions || (e.closedCaptions = /* @__PURE__ */ new Map()), t = g(t.closedCaptions), n = t.next(); !n.done; n = t.next()) r = g(n.value), n = r.next().value, r = r.next().value, e.closedCaptions.set(n, r);
15575
15575
  }
15576
15576
  function f0(e, t, n, r) {
15577
15577
  r = r !== void 0 && r ? n.matchedStreams : [], t = g(t);
@@ -15589,8 +15589,8 @@ Char: ` + e[i]);
15589
15589
  return Vf(e, l, c);
15590
15590
  }, video: function(l, c) {
15591
15591
  return Vf(e, l, c);
15592
- }, text: YA, image: $A }[n.type];
15593
- for (var o = { audio: JA, video: QA, text: ZA, image: ek }[n.type], s = g(t.values()), u = s.next(); !u.done; u = s.next()) u = u.value, !a(n, u) || n.fastSwitching != u.fastSwitching || i && !o(n, i, u) || (i = u);
15592
+ }, text: YA, image: JA }[n.type];
15593
+ for (var o = { audio: $A, video: QA, text: ZA, image: ek }[n.type], s = g(t.values()), u = s.next(); !u.done; u = s.next()) u = u.value, !a(n, u) || n.fastSwitching != u.fastSwitching || i && !o(n, i, u) || (i = u);
15594
15594
  }
15595
15595
  return e.s && !Hf(i) && t.delete(r(i)), i;
15596
15596
  }
@@ -15608,10 +15608,10 @@ Char: ` + e[i]);
15608
15608
  function YA(e, t) {
15609
15609
  return t.language ? !(e.forced !== t.forced || wi(e.language, t.language) == 0 || t.kind != e.kind) : !0;
15610
15610
  }
15611
- function $A() {
15611
+ function JA() {
15612
15612
  return !0;
15613
15613
  }
15614
- function JA(e, t, n) {
15614
+ function $A(e, t, n) {
15615
15615
  var r = g0(e, t, n);
15616
15616
  if (r === dn) return !0;
15617
15617
  if (r === Pn) return !1;
@@ -15786,7 +15786,7 @@ Char: ` + e[i]);
15786
15786
  return null;
15787
15787
  }
15788
15788
  }
15789
- var nk = new $e(function() {
15789
+ var nk = new Je(function() {
15790
15790
  if (typeof trustedTypes < "u") {
15791
15791
  var e = trustedTypes.createPolicy("shaka-player#xml", { createHTML: function(t) {
15792
15792
  return t;
@@ -15852,7 +15852,7 @@ Char: ` + e[i]);
15852
15852
  function Xf(e) {
15853
15853
  var t, n, r, i, a, o, s, u, l, c, d;
15854
15854
  return M(function(h) {
15855
- return h.g == 1 ? (t = 4, n = "MPD", r = wk(e), i = e.A, r.length ? (i = r, n = "Patch", t = 6) : 1 < e.A.length && e.i && (a = ls(e.i, "Location", !0), a.length && (i = a)), o = vt(i, e.g.retryParameters), s = Date.now(), b(h, $f(e, o, 0, { type: t }), 2)) : h.g != 3 ? (u = h.h, e.j ? (u.uri && u.uri != u.originalUri && !e.A.includes(u.uri) && e.A.unshift(u.uri), l = new lt(u.uri), e.ba = l.g.toString(), b(h, rk(e, u.data, u.uri, n), 3)) : h.return(0)) : (c = Date.now(), d = (c - s) / 1e3, e.ya.sample(1, d), e.ka.clear(), h.return(d));
15855
+ return h.g == 1 ? (t = 4, n = "MPD", r = wk(e), i = e.A, r.length ? (i = r, n = "Patch", t = 6) : 1 < e.A.length && e.i && (a = ls(e.i, "Location", !0), a.length && (i = a)), o = vt(i, e.g.retryParameters), s = Date.now(), b(h, Jf(e, o, 0, { type: t }), 2)) : h.g != 3 ? (u = h.h, e.j ? (u.uri && u.uri != u.originalUri && !e.A.includes(u.uri) && e.A.unshift(u.uri), l = new lt(u.uri), e.ba = l.g.toString(), b(h, rk(e, u.data, u.uri, n), 3)) : h.return(0)) : (c = Date.now(), d = (c - s) / 1e3, e.ya.sample(1, d), e.ka.clear(), h.return(d));
15856
15856
  });
15857
15857
  }
15858
15858
  function rk(e, t, n, r) {
@@ -15878,7 +15878,7 @@ Char: ` + e[i]);
15878
15878
  if (e.i ? (p = ls(e.i, "Location", !0), 0 < p.length && (r = e.A = p)) : i.length && (r = e.A = i), e.l.mf = t.attributes.id || "", e.l.be = se(t, "publishTime", br) || 0, e.G = Ne(t, "PatchLocation"), m = Promise.resolve(), (y = nt(t, "ContentSteering")) && e.j)
15879
15879
  for (v = y.attributes.defaultServiceLocation, e.i ? (e.i.i = r, e.i.h = v) : (e.i = new ja(e.j), e.i.configure(e.g), e.i.setManifestType("DASH"), e.i.i = r, e.i.h = v, (w = on(y)) && (se(y, "queryBeforeStart", Bs, !1) ? m = us(e.i, w) : us(e.i, w))), T = g(a.keys()), S = T.next(); !S.done; S = T.next()) k = S.value, C = a.get(k), Oa(e.i, "Location", k, C);
15880
15880
  if (x = Ne(t, "BaseURL"), A = !1, e.i) for (I = g(x), D = I.next(); !D.done; D = I.next()) R = D.value, L = R.attributes.serviceLocation, P = on(R), L && P && (Oa(e.i, "BaseURL", L, P), A = !0);
15881
- if (e.W.splice(0), A && e.i || (B = x.map(on), e.W.push.apply(e.W, G(xt(r, B)))), U = e.i, N = e.W, O = function() {
15881
+ if (e.W.splice(0), A && e.i || (B = x.map(on), e.W.push.apply(e.W, H(xt(r, B)))), U = e.i, N = e.W, O = function() {
15882
15882
  return U && A ? ls(U, "BaseURL") : N.slice();
15883
15883
  }, e.l.cb = O, F = 0, x && x.length && (F = se(x[0], "availabilityTimeOffset", _s) || 0), e.l.qb = F, e.K = se(t, "minimumUpdatePeriod", or, -1), V = se(t, "availabilityStartTime", br), J = se(t, "timeShiftBufferDepth", or), z = e.g.dash.ignoreSuggestedPresentationDelay, Ee = null, z || (Ee = se(t, "suggestedPresentationDelay", or)), xe = e.g.dash.ignoreMaxSegmentDuration, Ue = null, xe || (Ue = se(t, "maxSegmentDuration", or)), me = t.attributes.type || "static", e.h && e.h.presentationTimeline && (e.U = e.h.presentationTimeline.V() && me == "static"), e.l.type = me, e.h) for (le = e.h.presentationTimeline, je = le.Gb(), ye = g(e.o.values()), pe = ye.next(); !pe.done; pe = ye.next()) we = pe.value, we.segmentIndex && we.segmentIndex.$a(je);
15884
15884
  else Ze = e.g.dash.ignoreMinBufferTime, Ye = 0, Ze || (Ye = se(t, "minBufferTime", or) || 0), et = 0, et = Ee != null ? Math.min(Ee, J || 1 / 0) : 0 < e.g.defaultPresentationDelay ? e.g.defaultPresentationDelay : Math.min(1.5 * Ye, J || 1 / 0), le = new oe(V, et, e.g.dash.autoCorrectDrift);
@@ -15958,7 +15958,7 @@ Char: ` + e[i]);
15958
15958
  e,
15959
15959
  I
15960
15960
  );
15961
- for (D = g(a), R = D.next(); !R.done; R = D.next()) L = R.value, i.push.apply(i, G(ak(e, L)));
15961
+ for (D = g(a), R = D.next(); !R.done; R = D.next()) L = R.value, i.push.apply(i, H(ak(e, L)));
15962
15962
  return i.length ? (e.h.periodCount += i.length, e.h.gapCount = e.M, b(B, w0(e, i, !0), 2)) : B.u(2);
15963
15963
  }
15964
15964
  e.l.type == "static" && (P = e.l.nc, e.h.presentationTimeline.pb(P || 1 / 0)), q(B);
@@ -16099,7 +16099,7 @@ Char: ` + e[i]);
16099
16099
  };
16100
16100
  }(d))) && (h.dependencyStream = i.get(h.originalId), h.originalId += h.dependencyStream.originalId, u.push(h));
16101
16101
  }
16102
- u.length && s.streams.push.apply(s.streams, G(u));
16102
+ u.length && s.streams.push.apply(s.streams, H(u));
16103
16103
  }
16104
16104
  if (r = n.filter(function(p) {
16105
16105
  return !p.Ah;
@@ -16113,7 +16113,7 @@ Char: ` + e[i]);
16113
16113
  }
16114
16114
  function kl(e, t, n) {
16115
16115
  return e || !t.length ? [] : t.reduce(function(r, i) {
16116
- return i.contentType != n || r.push.apply(r, G(i.streams)), r;
16116
+ return i.contentType != n || r.push.apply(r, H(i.streams)), r;
16117
16117
  }, []);
16118
16118
  }
16119
16119
  function A0(e, t, n, r) {
@@ -16204,7 +16204,7 @@ Char: ` + e[i]);
16204
16204
  var D = Pe(t.oa.language || "und"), R = t.oa.label, L = /* @__PURE__ */ new Map();
16205
16205
  if (r = Ne(r, "Representation"), !e.g.ignoreSupplementalCodecs) {
16206
16206
  for (d = [], h = g(r), p = h.next(); !p.done; p = h.next()) y = p.value, (p = yr(y, "urn:scte:dash:scte214-extensions", "supplementalCodecs")) && (y = Vn(y), y.attributes.codecs = p.split(" ").join(","), y.attributes.id && (y.attributes.supplementalId = y.attributes.id + "_supplementalCodecs"), d.push(y));
16207
- r.push.apply(r, G(d));
16207
+ r.push.apply(r, H(d));
16208
16208
  }
16209
16209
  if (d = r.map(function(P) {
16210
16210
  var B = fk(e, t, I, l, D, R, s, u, k, P, C, S);
@@ -16217,7 +16217,7 @@ Char: ` + e[i]);
16217
16217
  }
16218
16218
  if (!t.oa.contentType || t.oa.contentType == "application") for (t.oa.contentType = M0(d[0].mimeType, d[0].codecs), c = g(d), h = c.next(); !h.done; h = c.next()) h.value.type = t.oa.contentType;
16219
16219
  for (c = t.oa.id || "__fake__" + e.za++, h = g(d), p = h.next(); !p.done; p = h.next()) {
16220
- for (p = p.value, y = g(I.drmInfos), v = y.next(); !v.done; v = y.next()) v = v.value, v.keyIds = v.keyIds && p.keyIds ? new Set([].concat(G(v.keyIds), G(p.keyIds))) : v.keyIds || p.keyIds;
16220
+ for (p = p.value, y = g(I.drmInfos), v = y.next(); !v.done; v = y.next()) v = v.value, v.keyIds = v.keyIds && p.keyIds ? new Set([].concat(H(v.keyIds), H(p.keyIds))) : v.keyIds || p.keyIds;
16221
16221
  p.groupId = c;
16222
16222
  }
16223
16223
  return r = r.map(function(P) {
@@ -16263,7 +16263,7 @@ Char: ` + e[i]);
16263
16263
  T = { bitsKey: 128, blockCipherMode: "CBC", iv: n.cg.iv, firstMediaSequenceNumber: 0, fetchKey: function() {
16264
16264
  var N, O, F;
16265
16265
  return M(function(V) {
16266
- if (V.g == 1) return b(V, $f(e, x, 6), 2);
16266
+ if (V.g == 1) return b(V, Jf(e, x, 6), 2);
16267
16267
  if (V.g != 3) {
16268
16268
  if (N = V.h, !N.data || N.data.byteLength != 16) throw new E(2, 4, 4049);
16269
16269
  return O = { name: "AES-CBC" }, F = T, b(V, j.crypto.subtle.importKey(
@@ -16496,7 +16496,7 @@ Char: ` + e[i]);
16496
16496
  if (u = d.h, r == "HEAD") {
16497
16497
  if (!u.headers || !u.headers.date) return d.return(0);
16498
16498
  l = u.headers.date;
16499
- } else l = Je(u.data);
16499
+ } else l = $e(u.data);
16500
16500
  return c = Date.parse(l), isNaN(c) ? d.return(0) : d.return(c - Date.now());
16501
16501
  });
16502
16502
  }
@@ -16571,13 +16571,13 @@ Char: ` + e[i]);
16571
16571
  function E0(e, t, n, r, i) {
16572
16572
  var a, o, s, u;
16573
16573
  return M(function(l) {
16574
- return l.g == 1 ? (a = Kn, o = i ? 0 : 1, s = Bo(t, n, r, e.g.retryParameters), b(l, $f(e, s, a, { type: o }), 2)) : (u = l.h, l.return(u.data));
16574
+ return l.g == 1 ? (a = Kn, o = i ? 0 : 1, s = Bo(t, n, r, e.g.retryParameters), b(l, Jf(e, s, a, { type: o }), 2)) : (u = l.h, l.return(u.data));
16575
16575
  });
16576
16576
  }
16577
16577
  function M0(e, t) {
16578
16578
  return t = ht(e, t), go(t) ? be : e.split("/")[0];
16579
16579
  }
16580
- function $f(e, t, n, r) {
16580
+ function Jf(e, t, n, r) {
16581
16581
  return r || (r = {}), r.isPreload = e.na(), t = e.j.networkingEngine.request(n, t, r), Ai(e.P, t), t.promise;
16582
16582
  }
16583
16583
  function wk(e) {
@@ -16596,24 +16596,24 @@ Char: ` + e[i]);
16596
16596
  function El() {
16597
16597
  }
16598
16598
  X("shaka.dependencies", El), El.has = function(e) {
16599
- return Jf.has(e);
16599
+ return $f.has(e);
16600
16600
  }, El.add = function(e, t) {
16601
16601
  if (!D0[e]) throw Error(e + " is not supported");
16602
- e == C0 ? Me("mux.js", "mux.js is no longer used in Shaka Player.") : Jf.set(e, function() {
16602
+ e == C0 ? Me("mux.js", "mux.js is no longer used in Shaka Player.") : $f.set(e, function() {
16603
16603
  return t;
16604
16604
  });
16605
16605
  };
16606
16606
  var C0 = "muxjs", D0 = { xm: C0, ISOBoxer: "ISOBoxer" };
16607
16607
  El.Allowed = D0;
16608
- var Jf = /* @__PURE__ */ new Map([["ISOBoxer", function() {
16608
+ var $f = /* @__PURE__ */ new Map([["ISOBoxer", function() {
16609
16609
  return j.ISOBoxer;
16610
16610
  }]]);
16611
16611
  function Fe() {
16612
- this.j = new $e(function() {
16612
+ this.j = new Je(function() {
16613
16613
  return ["Oculus", "Quest"].some(function(e) {
16614
16614
  return navigator.userAgent.includes(e.toLowerCase());
16615
16615
  }) ? "VR" : navigator.userAgent.match(/Smart( ?|_)TV/i) || navigator.userAgent.match(/Android ?TV/i) ? "TV" : navigator.userAgentData ? navigator.userAgentData.mobile ? "MOBILE" : "DESKTOP" : /(?:iPhone|iPad|iPod)/.test(navigator.userAgent) ? "MOBILE" : navigator.userAgentData && navigator.userAgentData.platform ? navigator.userAgentData.platform.toLowerCase() == "android" ? "MOBILE" : "DESKTOP" : navigator.userAgent.includes("Android") ? "MOBILE" : "DESKTOP";
16616
- }), this.l = new $e(function() {
16616
+ }), this.l = new Je(function() {
16617
16617
  return navigator.vendor.includes("Apple") && (navigator.userAgent.includes("Version/") || navigator.userAgent.includes("OS/")) ? "WEBKIT" : navigator.userAgent.includes("Edge/") ? "EDGE" : navigator.userAgent.includes("Chrome/") ? "CHROMIUM" : navigator.userAgent.includes("Firefox/") ? "GECKO" : "UNKNOWN";
16618
16618
  });
16619
16619
  }
@@ -16682,10 +16682,10 @@ Char: ` + e[i]);
16682
16682
  return "Device: " + this.Nb() + " v" + this.xa() + "; Type: " + this.La();
16683
16683
  };
16684
16684
  function Qf() {
16685
- Fe.call(this), this.g = new $e(function() {
16685
+ Fe.call(this), this.g = new Je(function() {
16686
16686
  var e = navigator.userAgent.match(/Version\/(\d+)/);
16687
16687
  return e || (e = navigator.userAgent.match(/OS (\d+)(?:_\d+)?/)) ? parseInt(e[1], 10) : null;
16688
- }), this.h = new $e(function() {
16688
+ }), this.h = new Je(function() {
16689
16689
  return /(?:iPhone|iPad|iPod)/.test(navigator.userAgent) || 1 < navigator.maxTouchPoints ? "xr" in navigator ? "APPLE_VR" : "MOBILE" : "xr" in navigator ? "APPLE_VR" : "DESKTOP";
16690
16690
  });
16691
16691
  }
@@ -16714,10 +16714,10 @@ Char: ` + e[i]);
16714
16714
  });
16715
16715
  function Zf() {
16716
16716
  if (!L0()) throw Error("Not a Chromecast device!");
16717
- Fe.call(this), this.h = new $e(function() {
16717
+ Fe.call(this), this.h = new Je(function() {
16718
16718
  var e = navigator.userAgent.match(/Chrome\/(\d+)/);
16719
16719
  return e ? parseInt(e[1], 10) : null;
16720
- }), this.g = new $e(function() {
16720
+ }), this.g = new Je(function() {
16721
16721
  var e = navigator.userAgentData && navigator.userAgentData.platform || navigator.userAgent;
16722
16722
  return e = e.toLowerCase(), e.includes("android") ? R0 : e.includes("fuchsia") ? N0 : eh;
16723
16723
  });
@@ -16795,18 +16795,18 @@ Char: ` + e[i]);
16795
16795
  function th() {
16796
16796
  Fe.call(this);
16797
16797
  var e = this;
16798
- this.i = new $e(function() {
16798
+ this.i = new Je(function() {
16799
16799
  var t = navigator.userAgent.match(/(Chrome|Firefox)\/(\d+)/);
16800
16800
  return t ? parseInt(t[2], 10) : null;
16801
- }), this.g = new $e(function() {
16801
+ }), this.g = new Je(function() {
16802
16802
  return navigator.userAgent.match(/Edge?\//) ? "Edge" : navigator.userAgent.includes("Chrome") ? "Chrome" : navigator.userAgent.includes("Firefox") ? "Firefox" : "Unknown";
16803
- }), this.h = new $e(function() {
16803
+ }), this.h = new Je(function() {
16804
16804
  return navigator.userAgentData && navigator.userAgentData.platform ? navigator.userAgentData.platform.toLowerCase() == "windows" : navigator.platform ? navigator.platform.toLowerCase().includes("win32") : !1;
16805
- }), this.s = new $e(function() {
16805
+ }), this.s = new Je(function() {
16806
16806
  return navigator.userAgent.match(/Edge?\//) ? !e.h.value() : !0;
16807
- }), this.o = new $e(function() {
16807
+ }), this.o = new Je(function() {
16808
16808
  return navigator.userAgent.includes("sony.hbbtv.tv");
16809
- }), this.m = new $e(function() {
16809
+ }), this.m = new Je(function() {
16810
16810
  return navigator.userAgentData && navigator.userAgentData.platform ? navigator.userAgentData.platform.toLowerCase() == "android" : !!navigator.userAgent.includes("Android");
16811
16811
  });
16812
16812
  }
@@ -16868,7 +16868,7 @@ Char: ` + e[i]);
16868
16868
  return new nh();
16869
16869
  });
16870
16870
  function rh() {
16871
- Fe.call(this), this.g = new $e(function() {
16871
+ Fe.call(this), this.g = new Je(function() {
16872
16872
  var e = navigator.userAgent.match(/PlayStation (\d+)/);
16873
16873
  return e ? parseInt(e[1], 10) : null;
16874
16874
  });
@@ -16983,9 +16983,9 @@ Char: ` + e[i]);
16983
16983
  return new Ba();
16984
16984
  });
16985
16985
  function ah() {
16986
- Fe.call(this), this.h = new $e(function() {
16986
+ Fe.call(this), this.h = new Je(function() {
16987
16987
  return navigator.userAgent.includes("DT_STB_BCM");
16988
- }), this.g = new $e(function() {
16988
+ }), this.g = new Je(function() {
16989
16989
  if (navigator.userAgent.includes("DT_STB_BCM")) return 11;
16990
16990
  var e = navigator.userAgent.match(/Version\/(\d+)/);
16991
16991
  return e || (e = navigator.userAgent.match(/OS (\d+)(?:_\d+)?/)) ? parseInt(e[1], 10) : null;
@@ -17207,7 +17207,7 @@ Char: ` + e[i]);
17207
17207
  this.g = 0;
17208
17208
  }
17209
17209
  function uh(e, t) {
17210
- t = Je(t), t = t.replace(/\r\n|\r(?=[^\n]|$)/gm, `
17210
+ t = $e(t), t = t.replace(/\r\n|\r(?=[^\n]|$)/gm, `
17211
17211
  `).trim();
17212
17212
  var n = t.split(/\n+/m);
17213
17213
  if (!/^#EXTM3U($|[ \t\n])/m.test(n[0])) throw new E(2, 4, 4015);
@@ -17341,7 +17341,7 @@ Char: ` + e[i]);
17341
17341
  return m.Rd == 0;
17342
17342
  }), r.length && !s && (u = Qk, Nl(e, u.cj), l = r.map(function(m) {
17343
17343
  return m.mc;
17344
- }), e.l.pb(Math.min.apply(Math, G(l))), e.h.updateDuration()), s && dh(e), c = g(r), d = c.next(); !d.done; d = c.next()) h = d.value, h.stream.isAudioMuxedInVideo || !h.stream.segmentIndex || Zn(h.stream.segmentIndex) || e.h.disableStream(h.stream);
17344
+ }), e.l.pb(Math.min.apply(Math, H(l))), e.h.updateDuration()), s && dh(e), c = g(r), d = c.next(); !d.done; d = c.next()) h = d.value, h.stream.isAudioMuxedInVideo || !h.stream.segmentIndex || Zn(h.stream.segmentIndex) || e.h.disableStream(h.stream);
17345
17345
  q(p);
17346
17346
  });
17347
17347
  };
@@ -17370,7 +17370,7 @@ Char: ` + e[i]);
17370
17370
  return d = u.uri, d == u.originalUri || t.O().includes(d) || t.zf.push(d), h = Ln(c.aa, "EXT-X-DEFINE"), p = fh(e, h, d), m = t.stream, y = ch(e, t), b(xe, n1(e, c, m.mimeType, t.O, p), 5);
17371
17371
  case 5:
17372
17372
  for (v = xe.h, w = v.keyIds, T = v.drmInfos, S = v.encrypted, k = v.Hh, m.encrypted || !S || k || (m.encrypted = !0), C = function(Ue, me) {
17373
- return Ue.size === me.size && [].concat(G(Ue)).every(function(le) {
17373
+ return Ue.size === me.size && [].concat(H(Ue)).every(function(le) {
17374
17374
  return me.has(le);
17375
17375
  });
17376
17376
  }, C(m.keyIds, w) || (m.keyIds = w, m.drmInfos = T, e.h.newDrmInfo(m)), x = u1(e, c, y, p, t.O, t.type), A = x.segments, (I = x.bandwidth) && (m.bandwidth = I), D = Eu(m), R = g(A), L = R.next(); !L.done; L = R.next()) P = L.value, P.Y && (P.Y.rd = D);
@@ -17452,7 +17452,7 @@ Char: ` + e[i]);
17452
17452
  return et == "CODECS" && (Tt = Ze.Ti.join(","), Ye = Ye.value.split(","), 1 < Ye.length && (Ye = Zt("audio", Ye)) && (Tt += "," + Ye)), new Cl(et, Tt);
17453
17453
  };
17454
17454
  }(C)), T.push(new Ml(x.id, x.name, I, null)));
17455
- for (h.push.apply(h, G(T)), D = [], R = g(m), L = R.next(), P = {}; !L.done; P = { Ui: void 0 }, L = R.next()) B = L.value, (U = Q(B, "SUPPLEMENTAL-CODECS")) && (P.Ui = U.split(/\s*,\s*/).map(function(Ze) {
17455
+ for (h.push.apply(h, H(T)), D = [], R = g(m), L = R.next(), P = {}; !L.done; P = { Ui: void 0 }, L = R.next()) B = L.value, (U = Q(B, "SUPPLEMENTAL-CODECS")) && (P.Ui = U.split(/\s*,\s*/).map(function(Ze) {
17456
17456
  return Ze.split("/")[0];
17457
17457
  }), N = B.attributes.map(/* @__PURE__ */ function(Ze) {
17458
17458
  return function(Ye) {
@@ -17465,7 +17465,7 @@ Char: ` + e[i]);
17465
17465
  N,
17466
17466
  null
17467
17467
  )));
17468
- m.push.apply(m, G(D));
17468
+ m.push.apply(m, H(D));
17469
17469
  }
17470
17470
  return Ck(e, h), Bk(e, d), O = Uk(e, m), b(we, jk(e, h, y, d, u, e.A, O), 5);
17471
17471
  case 5:
@@ -17543,7 +17543,7 @@ Char: ` + e[i]);
17543
17543
  }
17544
17544
  if (P.length) {
17545
17545
  if (x = B && !U, A = /* @__PURE__ */ new Map(), U && !I) {
17546
- for (I = new $n("video/mp2t"), I.vf(C), C = g(I.Uf()), U = C.next(); !U.done; U = C.next()) U = U.value, A.set(U, U);
17546
+ for (I = new Jn("video/mp2t"), I.vf(C), C = g(I.Uf()), U = C.next(); !U.done; U = C.next()) U = U.value, A.set(U, U);
17547
17547
  I.Fd();
17548
17548
  }
17549
17549
  D = { type: x ? "audio" : "video", mimeType: "video/mp2t", codecs: P.join(", "), language: null, height: D.height, width: D.width, channelCount: null, sampleRate: null, closedCaptions: A, oe: null, colorGamut: null, frameRate: D.frameRate };
@@ -17578,7 +17578,7 @@ Char: ` + e[i]);
17578
17578
  for (var t = 1 / 0, n = 1 / 0, r = g(e.i.values()), i = r.next(); !i.done; i = r.next()) i = i.value, i.stream.segmentIndex && i.stream.type != "text" && !i.stream.isAudioMuxedInVideo && (t = Math.min(t, i.mc), n = Math.min(n, i.Uc));
17579
17579
  t = t - n || 0, isNaN(e.g.availabilityWindowOverride) || (t = e.g.availabilityWindowOverride), e.l.Gf(t);
17580
17580
  }
17581
- } else e.l.pb(J0(e));
17581
+ } else e.l.pb($0(e));
17582
17582
  if (!e.l.o) for (t = g(e.i.values()), n = t.next(); !n.done; n = t.next()) n = n.value, !n.stream.segmentIndex || n.type != "audio" && n.type != "video" || (n = Zn(n.stream.segmentIndex)) && n.h && e.l.mh(n.h);
17583
17583
  e.l.hf();
17584
17584
  }
@@ -17678,7 +17678,7 @@ Char: ` + e[i]);
17678
17678
  }).concat(n.map(function(o) {
17679
17679
  if (e.g.disableThumbnails) return null;
17680
17680
  try {
17681
- var s = $0(e, o);
17681
+ var s = J0(e, o);
17682
17682
  return s.stream.type !== "image" ? null : s.stream;
17683
17683
  } catch (u) {
17684
17684
  if (e.g.hls.ignoreImageStreamFailures) return null;
@@ -17705,7 +17705,7 @@ Char: ` + e[i]);
17705
17705
  }
17706
17706
  function Uk(e, t) {
17707
17707
  return t.map(function(n) {
17708
- return n = $0(e, n), n.stream.type !== "video" ? null : n.stream;
17708
+ return n = J0(e, n), n.stream.type !== "video" ? null : n.stream;
17709
17709
  }).filter(function(n) {
17710
17710
  return n;
17711
17711
  });
@@ -17762,7 +17762,7 @@ Char: ` + e[i]);
17762
17762
  "BANDWIDTH"
17763
17763
  )), J = Q(O, "RESOLUTION"), z = g(J ? J.split("x") : [null, null]), Ee = z.next().value, xe = z.next().value, Ue = Q(O, "VIDEO-RANGE"), (me = Q(O, "REQ-VIDEO-LAYOUT")) && me.includes(",") && (le = me.split(",").filter(function(pe) {
17764
17764
  return pe == "CH-STEREO" || pe == "CH-MONO";
17765
- }), me = le[0]), me = me || "CH-MONO", je = Ok(e, N, r), B.push.apply(B, G(_k(e, je.audio, je.video, V, Ee, xe, F, Ue, me, s, u, o)));
17765
+ }), me = le[0]), me = me || "CH-MONO", je = Ok(e, N, r), B.push.apply(B, H(_k(e, je.audio, je.video, V, Ee, xe, F, Ue, me, s, u, o)));
17766
17766
  return ye.return(B.filter(function(pe) {
17767
17767
  return pe != null;
17768
17768
  }));
@@ -17778,7 +17778,7 @@ Char: ` + e[i]);
17778
17778
  }
17779
17779
  a.length && n.length && (n = n.filter(function(m) {
17780
17780
  return a.includes(Ve(m, "GROUP-ID"));
17781
- }), Nk(e, n, i)), n = (i = a.sort().join(",")) && e.K.has(i) ? e.K.get(i) : [], o ? r.audio.push.apply(r.audio, G(n)) : s && r.video.push.apply(r.video, G(n)), o = !1;
17781
+ }), Nk(e, n, i)), n = (i = a.sort().join(",")) && e.K.has(i) ? e.K.get(i) : [], o ? r.audio.push.apply(r.audio, H(n)) : s && r.video.push.apply(r.video, H(n)), o = !1;
17782
17782
  var p = t.map(function(m) {
17783
17783
  return Ve(
17784
17784
  m,
@@ -17859,7 +17859,7 @@ Char: ` + e[i]);
17859
17859
  return h.g == 1 ? (n = Ve(t, "URI"), r = Q(t, "CODECS", "jpeg") || "", e.i.has(n) ? h.return(e.i.get(n)) : (i = Q(t, "LANGUAGE"), a = Q(t, "NAME"), o = Q(t, "CHARACTERISTICS"), s = Ll(e, e.G++, [n], r, "image", i, !1, a, null, null, o, !1, null, !1), (u = Q(t, "RESOLUTION")) ? b(h, s.stream.createSegmentIndex(), 3) : h.u(2))) : (h.g != 2 && (l = Zn(s.stream.segmentIndex), c = l.tilesLayout) && (s.stream.width = Number(u.split("x")[0]) * Number(c.split("x")[0]), s.stream.height = Number(u.split("x")[1]) * Number(c.split("x")[1])), (d = Q(t, "BANDWIDTH")) && (s.stream.bandwidth = Number(d)), e.i.set(n, s), h.return(s));
17860
17860
  });
17861
17861
  }
17862
- function $0(e, t) {
17862
+ function J0(e, t) {
17863
17863
  var n = "video", r = Ve(t, "URI"), i = Q(t, "CODECS") || "";
17864
17864
  if (i == "mjpg" && (n = "image"), e.i.has(r)) return e.i.get(r);
17865
17865
  var a = Q(t, "LANGUAGE"), o = Q(t, "NAME"), s = Q(t, "CHARACTERISTICS");
@@ -17948,7 +17948,7 @@ Char: ` + e[i]);
17948
17948
  T && !v.segmentIndex && S.abort(), v.segmentIndex && (v.segmentIndex.release(), v.segmentIndex = null), T = null;
17949
17949
  }, w;
17950
17950
  }
17951
- function J0(e) {
17951
+ function $0(e) {
17952
17952
  var t = 1 / 0;
17953
17953
  e = g(e.i.values());
17954
17954
  for (var n = e.next(); !n.done; n = e.next()) n = n.value, n.stream.segmentIndex && n.stream.type != "text" && !n.stream.isAudioMuxedInVideo && (t = Math.min(t, n.mc));
@@ -17963,7 +17963,7 @@ Char: ` + e[i]);
17963
17963
  e.l.$d(n);
17964
17964
  }
17965
17965
  function hh(e, t) {
17966
- if (!Gt(e)) for (var n = J0(e), r = g(t), i = r.next(); !i.done; i = r.next()) i.value.stream.segmentIndex.ld(0, n);
17966
+ if (!Gt(e)) for (var n = $0(e), r = g(t), i = r.next(); !i.done; i = r.next()) i.value.stream.segmentIndex.ld(0, n);
17967
17967
  Q0(e, t.map(function(a) {
17968
17968
  return a.stream;
17969
17969
  })), r = Array.from(e.i.values()).filter(function(a) {
@@ -18527,7 +18527,7 @@ Char: ` + e[i]);
18527
18527
  var yh = (/* @__PURE__ */ new Map()).set("aac", "audio/aac").set("ac3", "audio/ac3").set("ec3", "audio/ec3").set("mp3", "audio/mpeg"), Wk = (/* @__PURE__ */ new Map()).set("mp4", "audio/mp4").set("mp4a", "audio/mp4").set("m4s", "audio/mp4").set("m4i", "audio/mp4").set("m4a", "audio/mp4").set("m4f", "audio/mp4").set("cmfa", "audio/mp4").set("ts", "video/mp2t").set("tsa", "video/mp2t"), Yk = (/* @__PURE__ */ new Map()).set("mp4", "video/mp4").set("mp4v", "video/mp4").set("m4s", "video/mp4").set("m4i", "video/mp4").set("m4v", "video/mp4").set("m4f", "video/mp4").set("cmfv", "video/mp4").set(
18528
18528
  "ts",
18529
18529
  "video/mp2t"
18530
- ).set("tsv", "video/mp2t"), $k = (/* @__PURE__ */ new Map()).set("mp4", "application/mp4").set("m4s", "application/mp4").set("m4i", "application/mp4").set("m4f", "application/mp4").set("cmft", "application/mp4").set("vtt", "text/vtt").set("webvtt", "text/vtt").set("ttml", "application/ttml+xml"), Jk = (/* @__PURE__ */ new Map()).set("jpg", "image/jpeg").set("png", "image/png").set("svg", "image/svg+xml").set("webp", "image/webp").set("avif", "image/avif"), bh = (/* @__PURE__ */ new Map()).set("audio", Wk).set("video", Yk).set("text", $k).set("image", Jk), p1 = new Set(["video/mp2t"].concat(G(zr))), jl = "VOD", g1 = "EVENT", Ol = "LIVE", Qk = { cj: jl, Bl: g1, Ll: Ol };
18530
+ ).set("tsv", "video/mp2t"), Jk = (/* @__PURE__ */ new Map()).set("mp4", "application/mp4").set("m4s", "application/mp4").set("m4i", "application/mp4").set("m4f", "application/mp4").set("cmft", "application/mp4").set("vtt", "text/vtt").set("webvtt", "text/vtt").set("ttml", "application/ttml+xml"), $k = (/* @__PURE__ */ new Map()).set("jpg", "image/jpeg").set("png", "image/png").set("svg", "image/svg+xml").set("webp", "image/webp").set("avif", "image/avif"), bh = (/* @__PURE__ */ new Map()).set("audio", Wk).set("video", Yk).set("text", Jk).set("image", $k), p1 = new Set(["video/mp2t"].concat(H(zr))), jl = "VOD", g1 = "EVENT", Ol = "LIVE", Qk = { cj: jl, Bl: g1, Ll: Ol };
18531
18531
  ki("application/x-mpegurl", function() {
18532
18532
  return new Pl();
18533
18533
  }), ki("application/vnd.apple.mpegurl", function() {
@@ -18618,7 +18618,7 @@ Char: ` + e[i]);
18618
18618
  var T;
18619
18619
  e: {
18620
18620
  if (T = Wy(y)) {
18621
- T = g(Jn(T, "DATA"));
18621
+ T = g($n(T, "DATA"));
18622
18622
  for (var S = T.next(); !S.done; S = T.next()) if (S = nt(S.value, "KID")) {
18623
18623
  T = In(gt(S)), T = new Uint8Array([
18624
18624
  T[3],
@@ -18629,7 +18629,7 @@ Char: ` + e[i]);
18629
18629
  T[4],
18630
18630
  T[7],
18631
18631
  T[6]
18632
- ].concat(G(T.slice(8)))), T = mr(T);
18632
+ ].concat(H(T.slice(8)))), T = mr(T);
18633
18633
  break e;
18634
18634
  }
18635
18635
  }
@@ -19818,7 +19818,7 @@ Char: ` + e[i]);
19818
19818
  return this.l.push(s), t = FI(this, e, t || {}, r || [], i || [], function() {
19819
19819
  var u;
19820
19820
  return M(function(l) {
19821
- return l.g == 1 ? n ? l.u(2) : b(l, Li(e, a.g, o.manifest.retryParameters), 3) : (l.g != 2 && (n = l.h), u = Jg(e, n || null), l.return(u()));
19821
+ return l.g == 1 ? n ? l.u(2) : b(l, Li(e, a.g, o.manifest.retryParameters), 3) : (l.g != 2 && (n = l.h), u = $g(e, n || null), l.return(u()));
19822
19822
  });
19823
19823
  }, o, s), t = new ft(t, function() {
19824
19824
  return kh(s);
@@ -19842,7 +19842,7 @@ Char: ` + e[i]);
19842
19842
  O.u(9);
19843
19843
  break;
19844
19844
  }
19845
- return T = w.value, b(O, $I(e, T, m), 10);
19845
+ return T = w.value, b(O, JI(e, T, m), 10);
19846
19846
  case 10:
19847
19847
  S = O.h, m.imageStreams.push(S), yn(e), w = v.next(), O.u(7);
19848
19848
  break;
@@ -19861,7 +19861,7 @@ Char: ` + e[i]);
19861
19861
  p = p || F;
19862
19862
  }, o, D), 15)) : (x = C.value, b(
19863
19863
  O,
19864
- JI(e, m, x.uri, x.language, x.kind, x.mime, x.codecs),
19864
+ $I(e, m, x.uri, x.language, x.kind, x.mime, x.codecs),
19865
19865
  14
19866
19866
  ));
19867
19867
  case 14:
@@ -20046,7 +20046,7 @@ Char: ` + e[i]);
20046
20046
  case 2:
20047
20047
  for (a = [], o = n.preferredDecodingAttributes, s = n.preferredVideoCodecs, u = n.preferredAudioCodecs, l = n.preferredTextFormats, ag(e, s, u, o, l), c = g(e.variants), d = c.next(); !d.done; d = c.next()) h = d.value, a.push(Ti(h));
20048
20048
  for (p = g(e.textStreams), m = p.next(); !m.done; m = p.next()) y = m.value, a.push(Si(y));
20049
- for (v = g(e.imageStreams), w = v.next(); !w.done; w = v.next()) T = w.value, a.push($c(T));
20049
+ for (v = g(e.imageStreams), w = v.next(); !w.done; w = v.next()) T = w.value, a.push(Jc(T));
20050
20050
  return b(V, n.offline.trackSelectionCallback(a), 3);
20051
20051
  case 3:
20052
20052
  for (S = V.h, k = e.presentationTimeline.getDuration(), C = 0, x = g(S), A = x.next(); !A.done; A = x.next()) I = A.value, D = I.bandwidth * k / 8, C += D;
@@ -20260,7 +20260,7 @@ Char: ` + e[i]);
20260
20260
  return l.return(s);
20261
20261
  });
20262
20262
  }
20263
- function $I(e, t, n) {
20263
+ function JI(e, t, n) {
20264
20264
  var r, i, a, o, s, u, l, c, d, h, p, m, y, v, w;
20265
20265
  return M(function(T) {
20266
20266
  switch (T.g) {
@@ -20323,7 +20323,7 @@ Char: ` + e[i]);
20323
20323
  }
20324
20324
  });
20325
20325
  }
20326
- function JI(e, t, n, r, i, a, o) {
20326
+ function $I(e, t, n, r, i, a, o) {
20327
20327
  var s, u, l;
20328
20328
  return M(function(c) {
20329
20329
  if (c.g == 1) return a ? c.u(2) : b(c, G1(e, n), 3);
@@ -20583,16 +20583,16 @@ Char: ` + e[i]);
20583
20583
  function Y1() {
20584
20584
  }
20585
20585
  var ys;
20586
- function $1() {
20586
+ function J1() {
20587
20587
  Te().If() && !ys && !navigator.emeEncryptionSchemePolyfilled && navigator.requestMediaKeySystemAccess && MediaKeySystemAccess.prototype.getConfiguration && (ys = navigator.requestMediaKeySystemAccess, navigator.requestMediaKeySystemAccess = uE, navigator.emeEncryptionSchemePolyfilled = !0);
20588
20588
  }
20589
20589
  function uE(e, t) {
20590
20590
  var n = this, r;
20591
20591
  return M(function(i) {
20592
- return i.g == 1 ? b(i, ys.call(n, e, t), 2) : (r = i.h, W1(r) ? (navigator.requestMediaKeySystemAccess = ys, i.return(r)) : (navigator.requestMediaKeySystemAccess = J1, i.return(J1.call(n, e, t))));
20592
+ return i.g == 1 ? b(i, ys.call(n, e, t), 2) : (r = i.h, W1(r) ? (navigator.requestMediaKeySystemAccess = ys, i.return(r)) : (navigator.requestMediaKeySystemAccess = $1, i.return($1.call(n, e, t))));
20593
20593
  });
20594
20594
  }
20595
- function J1(e, t) {
20595
+ function $1(e, t) {
20596
20596
  var n = this, r, i, a, o, s, u, l, c, d, h, p, m;
20597
20597
  return M(function(y) {
20598
20598
  if (y.g == 1) {
@@ -20608,7 +20608,7 @@ Char: ` + e[i]);
20608
20608
  return Nh(n.encryptionScheme, t);
20609
20609
  });
20610
20610
  }
20611
- Lt.EmeEncryptionScheme = Y1, Y1.install = $1, Kt($1);
20611
+ Lt.EmeEncryptionScheme = Y1, Y1.install = J1, Kt(J1);
20612
20612
  function Z1() {
20613
20613
  }
20614
20614
  function eb() {
@@ -20870,7 +20870,7 @@ Char: ` + e[i]);
20870
20870
  t.type = "portrait-secondary", t.angle = 180;
20871
20871
  }
20872
20872
  }
20873
- var t = new $l();
20873
+ var t = new Jl();
20874
20874
  screen.orientation = t, e(), j.addEventListener("orientationchange", function() {
20875
20875
  e();
20876
20876
  var n = new K("change");
@@ -20878,10 +20878,10 @@ Char: ` + e[i]);
20878
20878
  });
20879
20879
  }
20880
20880
  Lt.Orientation = lb, lb.install = cb;
20881
- function $l() {
20881
+ function Jl() {
20882
20882
  Le.call(this), this.type = "", this.angle = 0;
20883
20883
  }
20884
- ot($l, Le), $l.prototype.lock = function(e) {
20884
+ ot(Jl, Le), Jl.prototype.lock = function(e) {
20885
20885
  function t(r) {
20886
20886
  return screen.lockOrientation ? screen.lockOrientation(r) : screen.mozLockOrientation ? screen.mozLockOrientation(r) : screen.msLockOrientation ? screen.msLockOrientation(r) : !1;
20887
20887
  }
@@ -20897,18 +20897,18 @@ Char: ` + e[i]);
20897
20897
  n = t(e);
20898
20898
  }
20899
20899
  return n ? Promise.resolve() : (e = Error("screen.orientation.lock() is not available on this device"), e.name = "NotSupportedError", e.code = DOMException.NOT_SUPPORTED_ERR, Promise.reject(e));
20900
- }, $l.prototype.unlock = function() {
20900
+ }, Jl.prototype.unlock = function() {
20901
20901
  screen.unlockOrientation ? screen.unlockOrientation() : screen.mozUnlockOrientation ? screen.mozUnlockOrientation() : screen.msUnlockOrientation && screen.msUnlockOrientation();
20902
20902
  }, Kt(cb);
20903
20903
  function Uh() {
20904
20904
  }
20905
20905
  var jh, Oh, _h, Bh, Fh, Vh;
20906
20906
  function db(e) {
20907
- j.HTMLVideoElement && j.WebKitMediaKeys && j.shakaMediaKeysPolyfill != Gh && (e !== void 0 && e && (jh = !0, Oh = Object.getOwnPropertyDescriptor(HTMLMediaElement.prototype, "mediaKeys"), _h = HTMLMediaElement.prototype.setMediaKeys, Bh = j.MediaKeys, Fh = j.MediaKeySystemAccess, Vh = navigator.requestMediaKeySystemAccess), delete HTMLMediaElement.prototype.mediaKeys, HTMLMediaElement.prototype.mediaKeys = null, HTMLMediaElement.prototype.setMediaKeys = SE, j.MediaKeys = ws, j.MediaKeySystemAccess = Jl, navigator.requestMediaKeySystemAccess = TE, j.shakaMediaKeysPolyfill = Gh, Zs.clear(), na.clear());
20907
+ j.HTMLVideoElement && j.WebKitMediaKeys && j.shakaMediaKeysPolyfill != Gh && (e !== void 0 && e && (jh = !0, Oh = Object.getOwnPropertyDescriptor(HTMLMediaElement.prototype, "mediaKeys"), _h = HTMLMediaElement.prototype.setMediaKeys, Bh = j.MediaKeys, Fh = j.MediaKeySystemAccess, Vh = navigator.requestMediaKeySystemAccess), delete HTMLMediaElement.prototype.mediaKeys, HTMLMediaElement.prototype.mediaKeys = null, HTMLMediaElement.prototype.setMediaKeys = SE, j.MediaKeys = ws, j.MediaKeySystemAccess = $l, navigator.requestMediaKeySystemAccess = TE, j.shakaMediaKeysPolyfill = Gh, Zs.clear(), na.clear());
20908
20908
  }
20909
20909
  function TE(e, t) {
20910
20910
  try {
20911
- var n = new Jl(e, t);
20911
+ var n = new $l(e, t);
20912
20912
  return Promise.resolve(n);
20913
20913
  } catch (r) {
20914
20914
  return Promise.reject(r);
@@ -20919,7 +20919,7 @@ Char: ` + e[i]);
20919
20919
  return t && t != e && fb(t, null), delete this.mediaKeys, (this.mediaKeys = e) ? fb(e, this) : Promise.resolve();
20920
20920
  }
20921
20921
  function xE(e) {
20922
- if (e = ue(e.initData), Jt(e).getUint32(0, !0) + 4 != e.byteLength) throw new RangeError("Malformed FairPlay init data");
20922
+ if (e = ue(e.initData), $t(e).getUint32(0, !0) + 4 != e.byteLength) throw new RangeError("Malformed FairPlay init data");
20923
20923
  e = Vr(e.subarray(4), !0), e = Bn(e);
20924
20924
  var t = new Event("encrypted");
20925
20925
  t.initDataType = "skd", t.initData = kn(e), this.dispatchEvent(t);
@@ -20927,7 +20927,7 @@ Char: ` + e[i]);
20927
20927
  Lt.PatchedMediaKeysApple = Uh, Uh.uninstall = function() {
20928
20928
  j.shakaMediaKeysPolyfill == Gh && jh && (jh = !1, Object.defineProperty(HTMLMediaElement.prototype, "mediaKeys", Oh), HTMLMediaElement.prototype.setMediaKeys = _h, j.MediaKeys = Bh, j.MediaKeySystemAccess = Fh, navigator.requestMediaKeySystemAccess = Vh, Oh = Vh = _h = Fh = Bh = null, j.shakaMediaKeysPolyfill = "", Zs.clear(), na.clear());
20929
20929
  }, Uh.install = db;
20930
- function Jl(e, t) {
20930
+ function $l(e, t) {
20931
20931
  if (this.keySystem = e, e.startsWith("com.apple.fps")) for (e = g(t), t = e.next(); !t.done; t = e.next()) {
20932
20932
  var n = t.value;
20933
20933
  if (n.persistentState == "required") t = null;
@@ -20948,10 +20948,10 @@ Char: ` + e[i]);
20948
20948
  }
20949
20949
  throw e = Error("Unsupported keySystem"), e.name = "NotSupportedError", e.code = DOMException.NOT_SUPPORTED_ERR, e;
20950
20950
  }
20951
- Jl.prototype.createMediaKeys = function() {
20951
+ $l.prototype.createMediaKeys = function() {
20952
20952
  var e = new ws(this.keySystem);
20953
20953
  return Promise.resolve(e);
20954
- }, Jl.prototype.getConfiguration = function() {
20954
+ }, $l.prototype.getConfiguration = function() {
20955
20955
  return this.g;
20956
20956
  };
20957
20957
  function ws(e) {
@@ -21194,7 +21194,7 @@ Char: ` + e[i]);
21194
21194
  });
21195
21195
  else {
21196
21196
  if (e.g = t, e.i == "webkit-org.w3.clearkey") {
21197
- var r = Je(n), i = JSON.parse(r);
21197
+ var r = $e(n), i = JSON.parse(r);
21198
21198
  i.keys[0].kty != "oct" && (e.g.reject(Error("Response is not a valid JSON Web Key Set.")), e.g = null), r = In(i.keys[0].k), i = In(i.keys[0].kid);
21199
21199
  } else r = ue(n), i = null;
21200
21200
  var a = Kh("addKey");
@@ -21384,7 +21384,7 @@ Char: ` + e[i]);
21384
21384
  }, f.getItems = function() {
21385
21385
  return this.g.slice();
21386
21386
  }, f.insertItems = function(e) {
21387
- this.g.push.apply(this.g, G(e)), this.dispatchEvent(new K("itemsinserted"));
21387
+ this.g.push.apply(this.g, H(e)), this.dispatchEvent(new K("itemsinserted"));
21388
21388
  }, f.removeAllItems = function() {
21389
21389
  var e = this;
21390
21390
  return M(function(t) {
@@ -21475,7 +21475,7 @@ Char: ` + e[i]);
21475
21475
  }, bn.prototype.setManifestType = function() {
21476
21476
  }, bn.prototype.parseMedia = function(e, t) {
21477
21477
  var n = null, r = [];
21478
- e = Je(e).split(/\r?\n/), e = g(e);
21478
+ e = $e(e).split(/\r?\n/), e = g(e);
21479
21479
  for (var i = e.next(); !i.done; i = e.next()) if ((i = i.value) && !/^\s+$/.test(i) && (i = FE.exec(i))) {
21480
21480
  var a = VE.exec(i[1]);
21481
21481
  a = 60 * parseInt(a[1], 10) + parseFloat(a[2].replace(",", ".")), i = new qe(a, t.segmentEnd ? t.segmentEnd : a + 2, i[2]), n && (n.endTime = a, r.push(n)), n = i;
@@ -21492,17 +21492,17 @@ Char: ` + e[i]);
21492
21492
  }, fn.prototype.setSequenceMode = function() {
21493
21493
  }, fn.prototype.setManifestType = function() {
21494
21494
  }, fn.prototype.parseMedia = function(e, t, n, r) {
21495
- var i = Je(e);
21495
+ var i = $e(e);
21496
21496
  if (e = [], i == "") return e;
21497
21497
  var a = vi(i, "tt", !0);
21498
21498
  if (!a) throw new E(2, 2, 2005, "Failed to parse TTML.");
21499
- if (i = Jn(a, "body")[0], !i) return [];
21499
+ if (i = $n(a, "body")[0], !i) return [];
21500
21500
  var o = ar(a, Ss, "frameRate"), s = ar(a, Ss, "subFrameRate"), u = ar(a, Ss, "frameRateMultiplier"), l = ar(a, Ss, "tickRate"), c = ar(a, Ss, "cellResolution"), d = a.attributes["xml:space"] || "default", h = ar(a, rc, "extent");
21501
21501
  if (d != "default" && d != "preserve") throw new E(2, 2, 2005, "Invalid xml:space value: " + d);
21502
- d = d == "default", o = new zE(o, s, u, l), c = qE(c), s = Jn(a, "metadata")[0], s = (s ? s.children : []).filter(function(y) {
21502
+ d = d == "default", o = new zE(o, s, u, l), c = qE(c), s = $n(a, "metadata")[0], s = (s ? s.children : []).filter(function(y) {
21503
21503
  return y != `
21504
21504
  `;
21505
- }), u = Jn(a, "style"), a = Jn(a, "region"), l = [];
21505
+ }), u = $n(a, "style"), a = $n(a, "region"), l = [];
21506
21506
  for (var p = g(a), m = p.next(); !m.done; m = p.next()) (m = HE(m.value, u, h)) && l.push(m);
21507
21507
  if (Ne(i, "p").length) throw new E(2, 2, 2001, "<p> can only be inside <div> in TTML");
21508
21508
  for (h = g(Ne(i, "div")), p = h.next(); !p.done; p = h.next()) if (Ne(p.value, "span").length) throw new E(2, 2, 2001, "<span> can only be inside <p> in TTML");
@@ -21545,18 +21545,18 @@ Char: ` + e[i]);
21545
21545
  }
21546
21546
  return (e = tc(e, t, "origin")) && (s = (a = ep.exec(e)) || tp.exec(e), s != null && (r.viewportAnchorX = Number(s[1]), r.viewportAnchorY = Number(s[2]), a ? o || (r.width = 100 - r.viewportAnchorX, r.widthUnits = an, r.height = 100 - r.viewportAnchorY, r.heightUnits = an) : (i != null && (r.viewportAnchorY = 100 * r.viewportAnchorY / i), n != null && (r.viewportAnchorX = 100 * r.viewportAnchorX / n)), r.viewportAnchorUnits = a || n != null ? an : 0)), r;
21547
21547
  }
21548
- function $h(e) {
21548
+ function Jh(e) {
21549
21549
  var t = e.match(/rgba\(([^)]+)\)/);
21550
21550
  return t && (t = t[1].split(","), t.length == 4) ? (t[3] = String(Number(t[3]) / 255), "rgba(" + t.join(",") + ")") : e;
21551
21551
  }
21552
21552
  function GE(e, t, n, r, i, a, o, s) {
21553
- if (o = o || s, Bt(t, n, a, "direction", o) == "rtl" && (e.direction = "rtl"), s = Bt(t, n, a, "writingMode", o), s == "tb" || s == "tblr" ? e.writingMode = "vertical-lr" : s == "tbrl" ? e.writingMode = "vertical-rl" : s == "rltb" || s == "rl" ? e.direction = "rtl" : s && (e.direction = co), (s = Bt(t, n, a, "textAlign", !0)) ? (e.positionAlign = YE.get(s), e.lineAlign = WE.get(s), e.textAlign = Bc[s.toUpperCase()]) : e.textAlign = ur, (s = Bt(t, n, a, "displayAlign", !0)) && (e.displayAlign = Wp[s.toUpperCase()]), (s = Bt(t, n, a, "color", o)) && (e.color = $h(s)), (s = Bt(
21553
+ if (o = o || s, Bt(t, n, a, "direction", o) == "rtl" && (e.direction = "rtl"), s = Bt(t, n, a, "writingMode", o), s == "tb" || s == "tblr" ? e.writingMode = "vertical-lr" : s == "tbrl" ? e.writingMode = "vertical-rl" : s == "rltb" || s == "rl" ? e.direction = "rtl" : s && (e.direction = co), (s = Bt(t, n, a, "textAlign", !0)) ? (e.positionAlign = YE.get(s), e.lineAlign = WE.get(s), e.textAlign = Bc[s.toUpperCase()]) : e.textAlign = ur, (s = Bt(t, n, a, "displayAlign", !0)) && (e.displayAlign = Wp[s.toUpperCase()]), (s = Bt(t, n, a, "color", o)) && (e.color = Jh(s)), (s = Bt(
21554
21554
  t,
21555
21555
  n,
21556
21556
  a,
21557
21557
  "backgroundColor",
21558
21558
  o
21559
- )) && (e.backgroundColor = $h(s)), (s = Bt(t, n, a, "border", o)) && (e.border = s), s = Bt(t, n, a, "fontFamily", o)) switch (s) {
21559
+ )) && (e.backgroundColor = Jh(s)), (s = Bt(t, n, a, "border", o)) && (e.border = s), s = Bt(t, n, a, "fontFamily", o)) switch (s) {
21560
21560
  case "monospaceSerif":
21561
21561
  e.fontFamily = "Courier New,Liberation Mono,Courier,monospace";
21562
21562
  break;
@@ -21577,7 +21577,7 @@ Char: ` + e[i]);
21577
21577
  return u != "default";
21578
21578
  }).join(",");
21579
21579
  }
21580
- switch ((s = Bt(t, n, a, "fontWeight", o)) && s == "bold" && (e.fontWeight = Ji), s = Bt(t, n, a, "wrapOption", o), e.wrapLine = !(s && s == "noWrap"), (s = Bt(t, n, a, "lineHeight", o)) && s.match(Ka) && (e.lineHeight = s), (s = Bt(t, n, a, "fontSize", o)) && (s.match(Ka) || s.match(XE)) && (e.fontSize = s), (s = Bt(t, n, a, "fontStyle", o)) && (e.fontStyle = Qp[s.toUpperCase()]), r ? (i = r.attributes.imageType || r.attributes.imagetype, s = r.attributes.encoding, r = gt(r).trim(), i == "PNG" && s == "Base64" && r && (e.backgroundImage = "data:image/png;base64," + r)) : i && (e.backgroundImage = i), (r = Bt(t, n, a, "textOutline", o)) && (r = r.split(" "), r[0].match(Ka) ? e.textStrokeColor = e.color : (e.textStrokeColor = $h(r[0]), r.shift()), r[0] && r[0].match(Ka) ? e.textStrokeWidth = r[0] : e.textStrokeColor = ""), (r = Bt(t, n, a, "letterSpacing", o)) && r.match(Ka) && (e.letterSpacing = r), (r = Bt(t, n, a, "linePadding", o)) && r.match(Ka) && (e.linePadding = r), (r = Bt(t, n, a, "opacity", o)) && (e.opacity = parseFloat(r)), (r = tc(n, a, "textDecoration")) && jb(e, r), (r = Jh(t, a, "textDecoration")) && jb(e, r), (r = Bt(t, n, a, "textCombine", o)) && (e.textCombineUpright = r), Bt(t, n, a, "ruby", o)) {
21580
+ switch ((s = Bt(t, n, a, "fontWeight", o)) && s == "bold" && (e.fontWeight = $i), s = Bt(t, n, a, "wrapOption", o), e.wrapLine = !(s && s == "noWrap"), (s = Bt(t, n, a, "lineHeight", o)) && s.match(Ka) && (e.lineHeight = s), (s = Bt(t, n, a, "fontSize", o)) && (s.match(Ka) || s.match(XE)) && (e.fontSize = s), (s = Bt(t, n, a, "fontStyle", o)) && (e.fontStyle = Qp[s.toUpperCase()]), r ? (i = r.attributes.imageType || r.attributes.imagetype, s = r.attributes.encoding, r = gt(r).trim(), i == "PNG" && s == "Base64" && r && (e.backgroundImage = "data:image/png;base64," + r)) : i && (e.backgroundImage = i), (r = Bt(t, n, a, "textOutline", o)) && (r = r.split(" "), r[0].match(Ka) ? e.textStrokeColor = e.color : (e.textStrokeColor = Jh(r[0]), r.shift()), r[0] && r[0].match(Ka) ? e.textStrokeWidth = r[0] : e.textStrokeColor = ""), (r = Bt(t, n, a, "letterSpacing", o)) && r.match(Ka) && (e.letterSpacing = r), (r = Bt(t, n, a, "linePadding", o)) && r.match(Ka) && (e.linePadding = r), (r = Bt(t, n, a, "opacity", o)) && (e.opacity = parseFloat(r)), (r = tc(n, a, "textDecoration")) && jb(e, r), (r = $h(t, a, "textDecoration")) && jb(e, r), (r = Bt(t, n, a, "textCombine", o)) && (e.textCombineUpright = r), Bt(t, n, a, "ruby", o)) {
21581
21581
  case "container":
21582
21582
  e.rubyTag = "ruby";
21583
21583
  break;
@@ -21608,14 +21608,14 @@ Char: ` + e[i]);
21608
21608
  }
21609
21609
  }
21610
21610
  function Bt(e, t, n, r, i) {
21611
- return i = i === void 0 ? !0 : i, (e = Jh(e, n, r)) ? e : i ? tc(t, n, r) : null;
21611
+ return i = i === void 0 ? !0 : i, (e = $h(e, n, r)) ? e : i ? tc(t, n, r) : null;
21612
21612
  }
21613
21613
  function tc(e, t, n) {
21614
21614
  if (!e) return null;
21615
21615
  var r = ar(e, rc, n);
21616
21616
  return r || Ob(e, t, n);
21617
21617
  }
21618
- function Jh(e, t, n) {
21618
+ function $h(e, t, n) {
21619
21619
  var r = ar(e, rc, n);
21620
21620
  return r || Ob(e, t, n);
21621
21621
  }
@@ -21623,7 +21623,7 @@ Char: ` + e[i]);
21623
21623
  e = nc(e, "style", t, "");
21624
21624
  for (var r = null, i = 0; i < e.length; i++) {
21625
21625
  var a = yr(e[i], "urn:ebu:tt:style", n);
21626
- a || (a = ar(e[i], rc, n)), a || (a = Jh(e[i], t, n)), a && (r = a);
21626
+ a || (a = ar(e[i], rc, n)), a || (a = $h(e[i], t, n)), a && (r = a);
21627
21627
  }
21628
21628
  return r;
21629
21629
  }
@@ -21708,7 +21708,7 @@ Char: ` + e[i]);
21708
21708
  a.push(w);
21709
21709
  })
21710
21710
  ).parse(e, !1), a.length == 0) throw new E(2, 2, 2007);
21711
- for (var u = st.apply(Nt, G(a)), l = 0, c = 0; c < s.length; c++) {
21711
+ for (var u = st.apply(Nt, H(a)), l = 0, c = 0; c < s.length; c++) {
21712
21712
  var d = ue(u, l, s[c]);
21713
21713
  l += s[c];
21714
21714
  var h = o.get(c);
@@ -21751,14 +21751,14 @@ Char: ` + e[i]);
21751
21751
  }, Yt.prototype.setManifestType = function(e) {
21752
21752
  this.g = e;
21753
21753
  }, Yt.prototype.parseMedia = function(e, t) {
21754
- e = Je(e), e = e.replace(/\r\n|\r(?=[^\n]|$)/gm, `
21754
+ e = $e(e), e = e.replace(/\r\n|\r(?=[^\n]|$)/gm, `
21755
21755
  `);
21756
21756
  var n = e.split(/\n{2,}/m);
21757
21757
  if (!/^WEBVTT($|[ \t\n])/m.test(n[0])) throw new E(2, 2, 2e3);
21758
21758
  if (e = t.vttOffset, this.g == "HLS") if (n[0].includes("X-TIMESTAMP-MAP")) {
21759
21759
  var r = n[0];
21760
21760
  if (e = r.match(/LOCAL:((?:(\d{1,}):)?(\d{2}):(\d{2})\.(\d{3}))/m), r = r.match(/MPEGTS:(\d+)/m), !e || !r) throw new E(2, 2, 2e3);
21761
- if (e = $i(e[1]), e == null) throw new E(2, 2, 2e3);
21761
+ if (e = Ji(e[1]), e == null) throw new E(2, 2, 2e3);
21762
21762
  r = Number(r[1]);
21763
21763
  for (var i = t.segmentStart - t.periodStart; 95443.7176888889 <= i; ) i -= 95443.7176888889, r += 8589934592;
21764
21764
  e = t.periodStart + r / 9e4 - e;
@@ -21800,7 +21800,7 @@ Char: ` + e[i]);
21800
21800
  c = !0, l.fontSize = p;
21801
21801
  break;
21802
21802
  case "font-weight":
21803
- (700 <= parseInt(p, 10) || p == "bold") && (c = !0, l.fontWeight = Ji);
21803
+ (700 <= parseInt(p, 10) || p == "bold") && (c = !0, l.fontWeight = $i);
21804
21804
  break;
21805
21805
  case "font-style":
21806
21806
  switch (p) {
@@ -21847,9 +21847,9 @@ Char: ` + e[i]);
21847
21847
  };
21848
21848
  function zb(e, t, n) {
21849
21849
  var r;
21850
- (r = /^align:(start|middle|center|end|left|right)$/.exec(t)) ? (t = r[1], t == "middle" ? e.textAlign = ur : e.textAlign = Bc[t.toUpperCase()]) : (r = /^vertical:(lr|rl)$/.exec(t)) ? e.writingMode = r[1] == "lr" ? "vertical-lr" : "vertical-rl" : (r = /^size:([\d.]+)%$/.exec(t)) ? e.size = Number(r[1]) : (r = /^position:([\d.]+)%(?:,(line-left|line-right|middle|center|start|end|auto))?$/.exec(t)) ? (e.position = Number(r[1]), r[2] && (t = r[2], e.positionAlign = t == "line-left" || t == "start" ? "line-left" : t == "line-right" || t == "end" ? "line-right" : t == "center" || t == "middle" ? "center" : Gs)) : (r = /^region:(.*)$/.exec(t)) ? (t = $E(n, r[1])) && (e.region = t) : (n = /^line:([\d.]+)%(?:,(start|end|center))?$/.exec(t)) ? (e.lineInterpretation = 1, e.line = Number(n[1]), n[2] && (e.lineAlign = Fc[n[2].toUpperCase()])) : (n = /^line:(-?\d+)(?:,(start|end|center))?$/.exec(t)) && (e.lineInterpretation = fo, e.line = Number(n[1]), n[2] && (e.lineAlign = Fc[n[2].toUpperCase()]));
21850
+ (r = /^align:(start|middle|center|end|left|right)$/.exec(t)) ? (t = r[1], t == "middle" ? e.textAlign = ur : e.textAlign = Bc[t.toUpperCase()]) : (r = /^vertical:(lr|rl)$/.exec(t)) ? e.writingMode = r[1] == "lr" ? "vertical-lr" : "vertical-rl" : (r = /^size:([\d.]+)%$/.exec(t)) ? e.size = Number(r[1]) : (r = /^position:([\d.]+)%(?:,(line-left|line-right|middle|center|start|end|auto))?$/.exec(t)) ? (e.position = Number(r[1]), r[2] && (t = r[2], e.positionAlign = t == "line-left" || t == "start" ? "line-left" : t == "line-right" || t == "end" ? "line-right" : t == "center" || t == "middle" ? "center" : Gs)) : (r = /^region:(.*)$/.exec(t)) ? (t = JE(n, r[1])) && (e.region = t) : (n = /^line:([\d.]+)%(?:,(start|end|center))?$/.exec(t)) ? (e.lineInterpretation = 1, e.line = Number(n[1]), n[2] && (e.lineAlign = Fc[n[2].toUpperCase()])) : (n = /^line:(-?\d+)(?:,(start|end|center))?$/.exec(t)) && (e.lineInterpretation = fo, e.line = Number(n[1]), n[2] && (e.lineAlign = Fc[n[2].toUpperCase()]));
21851
21851
  }
21852
- function $E(e, t) {
21852
+ function JE(e, t) {
21853
21853
  return e = e.filter(function(n) {
21854
21854
  return n.id == t;
21855
21855
  }), e.length ? e[0] : null;
@@ -21897,19 +21897,19 @@ Char: ` + e[i]);
21897
21897
  var v = c.T();
21898
21898
  y += v;
21899
21899
  var w = c.T(), T = null;
21900
- uu(w) == "vttc" ? 8 < v && (T = c.Tb(v - 8)) : c.skip(v - 8), p && T && (v = JE(T, t.periodStart + m / this.g, t.periodStart + e / this.g), a.push(v));
21900
+ uu(w) == "vttc" ? 8 < v && (T = c.Tb(v - 8)) : c.skip(v - 8), p && T && (v = $E(T, t.periodStart + m / this.g, t.periodStart + e / this.g), a.push(v));
21901
21901
  } while (h.sampleSize && y < h.sampleSize);
21902
21902
  }
21903
21903
  return a.filter(Xr);
21904
21904
  };
21905
- function JE(e, t, n) {
21905
+ function $E(e, t, n) {
21906
21906
  var r, i, a;
21907
21907
  return new Be().box("payl", sa(function(o) {
21908
- r = Je(o);
21908
+ r = $e(o);
21909
21909
  })).box("iden", sa(function(o) {
21910
- i = Je(o);
21910
+ i = $e(o);
21911
21911
  })).box("sttg", sa(function(o) {
21912
- a = Je(o);
21912
+ a = $e(o);
21913
21913
  })).parse(e), r ? QE(r, i, a, t, n) : null;
21914
21914
  }
21915
21915
  function QE(e, t, n, r, i) {
@@ -21925,7 +21925,7 @@ Char: ` + e[i]);
21925
21925
  }, Tn.prototype.setSequenceMode = function() {
21926
21926
  }, Tn.prototype.setManifestType = function() {
21927
21927
  }, Tn.prototype.parseMedia = function(e) {
21928
- var t = Je(e).replace(/\r+/g, "");
21928
+ var t = $e(e).replace(/\r+/g, "");
21929
21929
  if (t = t.trim(), e = [], t == "") return e;
21930
21930
  t = g(t.split(`
21931
21931
 
@@ -21949,7 +21949,7 @@ Char: ` + e[i]);
21949
21949
  }, hn.prototype.setSequenceMode = function() {
21950
21950
  }, hn.prototype.setManifestType = function() {
21951
21951
  }, hn.prototype.parseMedia = function(e, t, n) {
21952
- return e = Je(e), e = Xb(e), e = ue(Bn(e)), this.g.parseMedia(e, t, n, []);
21952
+ return e = $e(e), e = Xb(e), e = ue(Bn(e)), this.g.parseMedia(e, t, n, []);
21953
21953
  };
21954
21954
  function Xb(e) {
21955
21955
  var t = `WEBVTT
@@ -21975,13 +21975,13 @@ Char: ` + e[i]);
21975
21975
  }, Sn.prototype.setManifestType = function() {
21976
21976
  }, Sn.prototype.parseMedia = function(e) {
21977
21977
  var t = "", n = "", r = null, i = null;
21978
- for (i = Je(e).split(/\r?\n\s*\r?\n/), e = g(i), i = e.next(); !i.done; i = e.next()) {
21978
+ for (i = $e(e).split(/\r?\n\s*\r?\n/), e = g(i), i = e.next(); !i.done; i = e.next()) {
21979
21979
  var a = i.value;
21980
21980
  i = a, (a = eM.exec(a)) && (r = a[1], i = a[2]), r == "V4 Styles" || r == "V4+ Styles" ? (t = i, t = n ? t + (`
21981
21981
  ` + i) : i) : r == "Events" && (n = n ? n + (`
21982
21982
  ` + i) : i);
21983
21983
  }
21984
- for (r = [], i = null, t = g(t.split(/\r?\n/)), e = t.next(); !e.done; e = t.next()) if (e = e.value, !/^\s*;/.test(e) && (a = $b.exec(e))) {
21984
+ for (r = [], i = null, t = g(t.split(/\r?\n/)), e = t.next(); !e.done; e = t.next()) if (e = e.value, !/^\s*;/.test(e) && (a = Jb.exec(e))) {
21985
21985
  if (e = a[1].trim(), a = a[2].trim(), e == "Format") i = a.split(ic);
21986
21986
  else if (e == "Style") {
21987
21987
  e = a.split(ic), a = {};
@@ -21989,7 +21989,7 @@ Char: ` + e[i]);
21989
21989
  r.push(a);
21990
21990
  }
21991
21991
  }
21992
- for (i = [], t = null, n = g(n.split(/\r?\n/)), a = n.next(), e = {}; !a.done; e = { Qi: void 0 }, a = n.next()) if (a = a.value, !/^\s*;/.test(a) && (o = $b.exec(a))) {
21992
+ for (i = [], t = null, n = g(n.split(/\r?\n/)), a = n.next(), e = {}; !a.done; e = { Qi: void 0 }, a = n.next()) if (a = a.value, !/^\s*;/.test(a) && (o = Jb.exec(a))) {
21993
21993
  if (a = o[1].trim(), o = o[2].trim(), a == "Format") t = o.split(ic);
21994
21994
  else if (a == "Dialogue") {
21995
21995
  o = o.split(ic), a = {};
@@ -22008,7 +22008,7 @@ Char: ` + e[i]);
22008
22008
  };
22009
22009
  function ZE(e, t) {
22010
22010
  var n = t.Fontname;
22011
- if (n && (e.fontFamily = n), (n = t.Fontsize) && (e.fontSize = n + "px"), (n = t.PrimaryColour) && (n = Wb(n)) && (e.color = n), (n = t.BackColour) && (n = Wb(n)) && (e.backgroundColor = n), t.Bold && (e.fontWeight = Ji), t.Italic && (e.fontStyle = Qi), t.Underline && e.textDecoration.push(wr), (n = t.Spacing) && (e.letterSpacing = n + "px"), n = t.Alignment) switch (parseInt(n, 10)) {
22011
+ if (n && (e.fontFamily = n), (n = t.Fontsize) && (e.fontSize = n + "px"), (n = t.PrimaryColour) && (n = Wb(n)) && (e.color = n), (n = t.BackColour) && (n = Wb(n)) && (e.backgroundColor = n), t.Bold && (e.fontWeight = $i), t.Italic && (e.fontStyle = Qi), t.Underline && e.textDecoration.push(wr), (n = t.Spacing) && (e.letterSpacing = n + "px"), n = t.Alignment) switch (parseInt(n, 10)) {
22012
22012
  case 1:
22013
22013
  e.displayAlign = lo, e.textAlign = "start";
22014
22014
  break;
@@ -22045,11 +22045,11 @@ Char: ` + e[i]);
22045
22045
  return e = tM.exec(e), 3600 * (e[1] ? parseInt(e[1].replace(":", ""), 10) : 0) + 60 * parseInt(e[2], 10) + parseFloat(e[3]);
22046
22046
  }
22047
22047
  X("shaka.text.SsaTextParser", Sn), Sn.prototype.parseMedia = Sn.prototype.parseMedia, Sn.prototype.setManifestType = Sn.prototype.setManifestType, Sn.prototype.setSequenceMode = Sn.prototype.setSequenceMode, Sn.prototype.parseInit = Sn.prototype.parseInit;
22048
- var eM = /^\s*\[([^\]]+)\]\r?\n([\s\S]*)/, $b = /^\s*([^:]+):\s*(.*)/, ic = /\s*,\s*/, tM = /^(\d+:)?(\d{1,2}):(\d{1,2}(?:[.]\d{1,3})?)?$/;
22048
+ var eM = /^\s*\[([^\]]+)\]\r?\n([\s\S]*)/, Jb = /^\s*([^:]+):\s*(.*)/, ic = /\s*,\s*/, tM = /^(\d+:)?(\d{1,2}):(\d{1,2}(?:[.]\d{1,3})?)?$/;
22049
22049
  Pt("text/x-ssa", function() {
22050
22050
  return new Sn();
22051
22051
  });
22052
- function Jb(e, t) {
22052
+ function $b(e, t) {
22053
22053
  var n = e[t + 1] & 1 ? 7 : 9;
22054
22054
  return t + n <= e.length && (e = ((e[t + 3] & 3) << 11 | e[t + 4] << 3 | (e[t + 5] & 224) >>> 5) - n, 0 < e) ? { Ud: n, qa: e } : null;
22055
22055
  }
@@ -22129,7 +22129,7 @@ Char: ` + e[i]);
22129
22129
  })) && (e = a.data), a = Qb(i, o), !a) return Promise.reject(new E(2, 3, 3018, n ? n.O()[0] : null));
22130
22130
  t.audioSamplingRate = a.sampleRate, t.channelsCount = a.channelCount;
22131
22131
  for (var s = []; o < i.length; ) {
22132
- var u = Jb(i, o);
22132
+ var u = $b(i, o);
22133
22133
  if (!u) return Promise.reject(new E(2, 3, 3018, n ? n.O()[0] : null));
22134
22134
  var l = u.Ud + u.qa;
22135
22135
  o + l <= i.length && s.push({ data: i.subarray(o + u.Ud, o + l), size: u.qa, duration: 1024, rb: 0, flags: { wb: 0, kb: 0, jb: 0, hb: 0, ib: 2, xb: 0 } }), o += l;
@@ -22378,7 +22378,7 @@ Char: ` + e[i]);
22378
22378
  var h = Re(n), p = [1, 12, 10, 16, 40, 24, 20, 32, 80, 18, 15, 64, 160, 4, 3, 2], m = [1, 11, 11, 11, 33, 11, 11, 11, 33, 11, 11, 33, 99, 3, 2, 1];
22379
22379
  0 < h && 16 >= h ? (r = p[h - 1], i = m[h - 1]) : h === 255 && (r = Ae(n, 16), i = Ae(n, 16));
22380
22380
  }
22381
- return n = (2 - s) * (o + 1) * 16 - 2 * c - 2 * d, a = 16 * (a + 1) - 2 * u - 2 * l, u = [], t = t.fullData, u.push(t.byteLength >>> 8 & 255), u.push(t.byteLength & 255), u = u.concat.apply(u, G(t)), t = [], e = e.fullData, t.push(e.byteLength >>> 8 & 255), t.push(e.byteLength & 255), t = t.concat.apply(t, G(e)), e = new Uint8Array([
22381
+ return n = (2 - s) * (o + 1) * 16 - 2 * c - 2 * d, a = 16 * (a + 1) - 2 * u - 2 * l, u = [], t = t.fullData, u.push(t.byteLength >>> 8 & 255), u.push(t.byteLength & 255), u = u.concat.apply(u, H(t)), t = [], e = e.fullData, t.push(e.byteLength >>> 8 & 255), t.push(e.byteLength & 255), t = t.concat.apply(t, H(e)), e = new Uint8Array([
22382
22382
  1,
22383
22383
  u[3],
22384
22384
  u[4],
@@ -22398,7 +22398,7 @@ Char: ` + e[i]);
22398
22398
  var w = v.fullData.byteLength, T = new Uint8Array(4);
22399
22399
  T[0] = w >> 24 & 255, T[1] = w >> 16 & 255, T[2] = w >> 8 & 255, T[3] = w & 255, m.push(T), m.push(v.fullData);
22400
22400
  }
22401
- i.data = st.apply(Nt, G(m)), r.push(i);
22401
+ i.data = st.apply(Nt, H(m)), r.push(i);
22402
22402
  }
22403
22403
  }
22404
22404
  for (var r = [], i = null, a = !1, o = 0; o < e.length; o++) {
@@ -22612,7 +22612,7 @@ Char: ` + e[i]);
22612
22612
  SPDX-License-Identifier: BSD-3-Clause
22613
22613
  */
22614
22614
  function An(e) {
22615
- this.h = e, (this.g = Jf.get("ISOBoxer")()) && mM(this);
22615
+ this.h = e, (this.g = $f.get("ISOBoxer")()) && mM(this);
22616
22616
  }
22617
22617
  function mM(e) {
22618
22618
  function t() {
@@ -22732,7 +22732,7 @@ Char: ` + e[i]);
22732
22732
  var T = void 0;
22733
22733
  T = v + 1 < y.length ? (y[v + 1].dts || 0) - (w.dts || 0) : 1 < y.length ? (w.dts || 0) - (y[v - 1].dts || 0) : 9e4 * (n.endTime - n.startTime), h.push({ data: w.data, size: w.data.byteLength, duration: T, rb: Math.round((w.pts || 0) - (w.dts || 0)), flags: { wb: 0, kb: 0, jb: 0, hb: 0, ib: w.isKeyframe ? 2 : 1, xb: w.isKeyframe ? 0 : 1 } });
22734
22734
  }
22735
- for (var S = [], k = g(m), C = k.next(); !C.done; C = k.next()) S.push.apply(S, G(C.value.nalus));
22735
+ for (var S = [], k = g(m), C = k.next(); !C.done; C = k.next()) S.push.apply(S, H(C.value.nalus));
22736
22736
  var x = iM(S);
22737
22737
  if (!x || p == null) throw new E(2, 3, 3018, n ? n.O()[0] : null);
22738
22738
  t.height = x.height, t.width = x.width, d = { id: t.id, type: "video", codecs: "avc1", encrypted: t.encrypted && 0 < t.drmInfos.length, timescale: 9e4, duration: r, Ab: [], Ea: new Uint8Array([]), Na: x.Na, Wa: x.Wa, Xa: x.Xa, data: { Ub: this.g, baseMediaDecodeTime: p, yb: h }, stream: t };
@@ -22742,7 +22742,7 @@ Char: ` + e[i]);
22742
22742
  if (!R.length) throw new E(2, 3, 3023, n ? n.O()[0] : null);
22743
22743
  for (var L = 0; L < R.length; L++) {
22744
22744
  var P = R[L], B = P.nalus;
22745
- D.push.apply(D, G(B));
22745
+ D.push.apply(D, H(B));
22746
22746
  for (var U = !1, N = [], O = !1, F = g(B), V = F.next(); !V.done; V = F.next()) {
22747
22747
  var J = V.value;
22748
22748
  switch (J.type) {
@@ -22779,7 +22779,7 @@ Char: ` + e[i]);
22779
22779
  xe[0] = Ee >> 24 & 255, xe[1] = Ee >> 16 & 255, xe[2] = Ee >> 8 & 255, xe[3] = Ee & 255, N.push(xe), N.push(J.fullData);
22780
22780
  }
22781
22781
  }
22782
- var Ue = N.length ? { data: st.apply(Nt, G(N)), isKeyframe: U } : null;
22782
+ var Ue = N.length ? { data: st.apply(Nt, H(N)), isKeyframe: U } : null;
22783
22783
  if (Ue) {
22784
22784
  I == null && P.dts != null && (I = P.dts);
22785
22785
  var me = void 0;
@@ -22824,7 +22824,7 @@ Char: ` + e[i]);
22824
22824
  Oe
22825
22825
  ), !ye) throw new E(2, 3, 3018, n ? n.O()[0] : null);
22826
22826
  for (t.audioSamplingRate = ye.sampleRate, t.channelsCount = ye.channelCount, pe == null && Tt.pts !== null && (pe = Tt.pts); Oe < pt.length; ) {
22827
- var pn = Jb(pt, Oe);
22827
+ var pn = $b(pt, Oe);
22828
22828
  if (!pn) {
22829
22829
  Ze = pt.subarray(Oe, pt.length), we = -1;
22830
22830
  break;
@@ -22902,64 +22902,64 @@ Char: ` + e[i]);
22902
22902
  case "opus":
22903
22903
  var gw = [], fc = null, fr = u.G;
22904
22904
  if (!fr) throw new E(2, 3, 3018, n ? n.O()[0] : null);
22905
- var $t = [];
22905
+ var Jt = [];
22906
22906
  switch (fr.jj) {
22907
22907
  case 1:
22908
22908
  case 2:
22909
- $t = [0];
22909
+ Jt = [0];
22910
22910
  break;
22911
22911
  case 0:
22912
- $t = [255, 1, 1, 0, 1];
22912
+ Jt = [255, 1, 1, 0, 1];
22913
22913
  break;
22914
22914
  case 128:
22915
- $t = [255, 2, 0, 0, 1];
22915
+ Jt = [255, 2, 0, 0, 1];
22916
22916
  break;
22917
22917
  case 3:
22918
- $t = [1, 2, 1, 0, 2, 1];
22918
+ Jt = [1, 2, 1, 0, 2, 1];
22919
22919
  break;
22920
22920
  case 4:
22921
- $t = [1, 2, 2, 0, 1, 2, 3];
22921
+ Jt = [1, 2, 2, 0, 1, 2, 3];
22922
22922
  break;
22923
22923
  case 5:
22924
- $t = [1, 3, 2, 0, 4, 1, 2, 3];
22924
+ Jt = [1, 3, 2, 0, 4, 1, 2, 3];
22925
22925
  break;
22926
22926
  case 6:
22927
- $t = [1, 4, 2, 0, 4, 1, 2, 3, 5];
22927
+ Jt = [1, 4, 2, 0, 4, 1, 2, 3, 5];
22928
22928
  break;
22929
22929
  case 7:
22930
- $t = [1, 4, 2, 0, 4, 1, 2, 3, 5, 6];
22930
+ Jt = [1, 4, 2, 0, 4, 1, 2, 3, 5, 6];
22931
22931
  break;
22932
22932
  case 8:
22933
- $t = [1, 5, 3, 0, 6, 1, 2, 3, 4, 5, 7];
22933
+ Jt = [1, 5, 3, 0, 6, 1, 2, 3, 4, 5, 7];
22934
22934
  break;
22935
22935
  case 130:
22936
- $t = [1, 1, 2, 0, 1];
22936
+ Jt = [1, 1, 2, 0, 1];
22937
22937
  break;
22938
22938
  case 131:
22939
- $t = [1, 1, 3, 0, 1, 2];
22939
+ Jt = [1, 1, 3, 0, 1, 2];
22940
22940
  break;
22941
22941
  case 132:
22942
- $t = [1, 1, 4, 0, 1, 2, 3];
22942
+ Jt = [1, 1, 4, 0, 1, 2, 3];
22943
22943
  break;
22944
22944
  case 133:
22945
- $t = [1, 1, 5, 0, 1, 2, 3, 4];
22945
+ Jt = [1, 1, 5, 0, 1, 2, 3, 4];
22946
22946
  break;
22947
22947
  case 134:
22948
- $t = [1, 1, 6, 0, 1, 2, 3, 4, 5];
22948
+ Jt = [1, 1, 6, 0, 1, 2, 3, 4, 5];
22949
22949
  break;
22950
22950
  case 135:
22951
- $t = [1, 1, 7, 0, 1, 2, 3, 4, 5, 6];
22951
+ Jt = [1, 1, 7, 0, 1, 2, 3, 4, 5, 6];
22952
22952
  break;
22953
22953
  case 136:
22954
- $t = [1, 1, 8, 0, 1, 2, 3, 4, 5, 6, 7];
22954
+ Jt = [1, 1, 8, 0, 1, 2, 3, 4, 5, 6, 7];
22955
22955
  }
22956
- for (var mw = new Uint8Array([0, fr.channelCount, 0, 0, fr.sampleRate >>> 24 & 255, fr.sampleRate >>> 17 & 255, fr.sampleRate >>> 8 & 255, fr.sampleRate >>> 0 & 255, 0, 0].concat(G($t))), vw = fr.sampleRate, yw = g(u.sb()), fp = yw.next(); !fp.done; fp = yw.next()) {
22957
- var hp = fp.value, $a = hp.data;
22956
+ for (var mw = new Uint8Array([0, fr.channelCount, 0, 0, fr.sampleRate >>> 24 & 255, fr.sampleRate >>> 17 & 255, fr.sampleRate >>> 8 & 255, fr.sampleRate >>> 0 & 255, 0, 0].concat(H(Jt))), vw = fr.sampleRate, yw = g(u.sb()), fp = yw.next(); !fp.done; fp = yw.next()) {
22957
+ var hp = fp.value, Ja = hp.data;
22958
22958
  fc == null && hp.pts !== null && (fc = hp.pts);
22959
- for (var As = 0; As < $a.length; ) {
22960
- for (var AM = ($a[As + 1] & 16) !== 0, kM = ($a[As + 1] & 8) !== 0, _r = As + 2, hc = 0; $a[_r] === 255; ) hc += 255, _r += 1;
22961
- hc += $a[_r], _r += 1, _r += AM ? 2 : 0, _r += kM ? 2 : 0;
22962
- var bw = $a.slice(_r, _r + hc);
22959
+ for (var As = 0; As < Ja.length; ) {
22960
+ for (var AM = (Ja[As + 1] & 16) !== 0, kM = (Ja[As + 1] & 8) !== 0, _r = As + 2, hc = 0; Ja[_r] === 255; ) hc += 255, _r += 1;
22961
+ hc += Ja[_r], _r += 1, _r += AM ? 2 : 0, _r += kM ? 2 : 0;
22962
+ var bw = Ja.slice(_r, _r + hc);
22963
22963
  gw.push({
22964
22964
  data: bw,
22965
22965
  size: bw.byteLength,
@@ -22997,17 +22997,17 @@ Char: ` + e[i]);
22997
22997
  function aw() {
22998
22998
  }
22999
22999
  ot(aw, nn), X("shaka.util.FairPlayUtils", aw);
23000
- }).call($, H, H, void 0);
23000
+ }).call($, G, G, void 0);
23001
23001
  for (var fe in $.shaka) ve[fe] = $.shaka[fe];
23002
23002
  })();
23003
23003
  }(Ew)), Ew;
23004
23004
  }
23005
23005
  var OM = jM();
23006
23006
  const Rt = /* @__PURE__ */ CM(OM);
23007
- function _M(ve, H) {
23007
+ function _M(ve, G) {
23008
23008
  const $ = Br.now(), fe = ve.mimeType, j = ve.codecs, tt = ve.bandwidth, dt = ve.width, f = ve.height;
23009
23009
  return {
23010
- assetPosition: H,
23010
+ assetPosition: G,
23011
23011
  bandwidth: tt,
23012
23012
  codecs: j,
23013
23013
  mimeType: fe,
@@ -23016,26 +23016,26 @@ function _M(ve, H) {
23016
23016
  videoWidth: dt
23017
23017
  };
23018
23018
  }
23019
- async function BM(ve, H, $) {
23020
- const fe = _M(H, $);
23019
+ async function BM(ve, G, $) {
23020
+ const fe = _M(G, $);
23021
23021
  return fe.mimeType && fe.codecs && await gc({
23022
23022
  adaptations: [fe],
23023
23023
  streamingSessionId: ve
23024
23024
  }), fe;
23025
23025
  }
23026
23026
  function FM(ve) {
23027
- let H;
23027
+ let G;
23028
23028
  const $ = () => {
23029
23029
  const j = ve.getVariantTracks().find((dt) => dt.active), tt = ve.getMediaElement();
23030
- H && tt && BM(
23031
- H,
23030
+ G && tt && BM(
23031
+ G,
23032
23032
  j,
23033
23033
  tt.currentTime
23034
23034
  ).catch(console.error);
23035
23035
  };
23036
23036
  ve.addEventListener("adaptation", $), ve.addEventListener("variantchanged", $);
23037
23037
  const fe = (j) => {
23038
- j instanceof CustomEvent && (H = j.detail.playbackContext.playbackSessionId);
23038
+ j instanceof CustomEvent && (G = j.detail.playbackContext.playbackSessionId);
23039
23039
  };
23040
23040
  return Qa.addEventListener("media-product-transition", fe), function() {
23041
23041
  ve.removeEventListener("adaptation", $), ve.removeEventListener("variantchanged", $), Qa.removeEventListener(
@@ -23055,22 +23055,22 @@ async function VM() {
23055
23055
  }
23056
23056
  }
23057
23057
  function HM(ve) {
23058
- const H = [];
23058
+ const G = [];
23059
23059
  for (let $ = 0; $ < ve.length; $++)
23060
- H.push(ve[$].charCodeAt(0));
23061
- return new Uint8Array(H);
23060
+ G.push(ve[$].charCodeAt(0));
23061
+ return new Uint8Array(G);
23062
23062
  }
23063
23063
  function GM(ve) {
23064
- const H = Rt.util.StringUtils.fromUTF8(ve.data), $ = JSON.parse(H), fe = Rt.util.Uint8ArrayUtils.fromBase64($.payload);
23064
+ const G = Rt.util.StringUtils.fromUTF8(ve.data), $ = JSON.parse(G), fe = Rt.util.Uint8ArrayUtils.fromBase64($.payload);
23065
23065
  if (/playready/.exec(ve.uri)) {
23066
23066
  const j = atob(String.fromCharCode.apply(null, fe));
23067
23067
  ve.data = HM(j);
23068
23068
  } else
23069
23069
  ve.data = fe;
23070
23070
  }
23071
- function KM(ve, H) {
23071
+ function KM(ve, G) {
23072
23072
  if (ve.body instanceof ArrayBuffer || ve.body instanceof Uint8Array) {
23073
- const { securityToken: $, streamingSessionId: fe } = H, j = ve.body instanceof Uint8Array ? ve.body : new Uint8Array(ve.body), tt = String.fromCharCode(...j), dt = {
23073
+ const { securityToken: $, streamingSessionId: fe } = G, j = ve.body instanceof Uint8Array ? ve.body : new Uint8Array(ve.body), tt = String.fromCharCode(...j), dt = {
23074
23074
  payload: btoa(tt),
23075
23075
  // Add whatever else we want to communicate to the server
23076
23076
  securityToken: $,
@@ -23086,9 +23086,9 @@ const Za = {
23086
23086
  isPlaying: !1,
23087
23087
  isSeeking: !1
23088
23088
  }, qM = (ve) => new Promise(
23089
- (H) => ve.addEventListener("waiting", () => H(), { once: !0 })
23089
+ (G) => ve.addEventListener("waiting", () => G(), { once: !0 })
23090
23090
  ), zM = (ve) => new Promise(
23091
- (H) => ve.addEventListener("playing", () => H(), { once: !0 })
23091
+ (G) => ve.addEventListener("playing", () => G(), { once: !0 })
23092
23092
  );
23093
23093
  function XM() {
23094
23094
  Za.isSeeking = !0;
@@ -23099,7 +23099,7 @@ function WM() {
23099
23099
  function YM() {
23100
23100
  Za.isPlaying = !1;
23101
23101
  }
23102
- async function $M(ve, H) {
23102
+ async function JM(ve, G) {
23103
23103
  Za.isPlaying = !0, await qM(ve);
23104
23104
  const $ = ve.currentTime;
23105
23105
  if (!Za.isPlaying || $ === 0)
@@ -23114,16 +23114,16 @@ async function $M(ve, H) {
23114
23114
  reason: j,
23115
23115
  startTimestamp: fe
23116
23116
  }],
23117
- streamingSessionId: H
23117
+ streamingSessionId: G
23118
23118
  });
23119
23119
  }
23120
- function JM(ve) {
23121
- let H;
23120
+ function $M(ve) {
23121
+ let G;
23122
23122
  Qa.addEventListener("media-product-transition", (dt) => {
23123
- dt instanceof CustomEvent && (H = dt.detail.playbackContext.playbackSessionId);
23123
+ dt instanceof CustomEvent && (G = dt.detail.playbackContext.playbackSessionId);
23124
23124
  });
23125
23125
  const $ = () => YM(), fe = () => {
23126
- H && $M(ve, H).catch(
23126
+ G && JM(ve, G).catch(
23127
23127
  console.error
23128
23128
  );
23129
23129
  }, j = () => XM(), tt = () => WM();
@@ -23868,10 +23868,10 @@ class rC extends NM {
23868
23868
  name = "shakaPlayer";
23869
23869
  shakaInstance;
23870
23870
  constructor() {
23871
- super(), this.playbackState = "IDLE", this.#o = this.#f(), pc("outputDevicesEnabled") && (async () => Vi = (await import("./output-devices-Jno8Kp5B-CAnEAv_Z.js")).outputDevices)(), mp.addEventListener("authorized", () => {
23871
+ super(), this.playbackState = "IDLE", this.#o = this.#f(), pc("outputDevicesEnabled") && (async () => Vi = (await import("./output-devices-CUurcKto-C_F_9nLk.js")).outputDevices)(), mp.addEventListener("authorized", () => {
23872
23872
  this.shakaInstance && this.#s(this.shakaInstance).catch(console.error);
23873
23873
  });
23874
- const H = () => {
23874
+ const G = () => {
23875
23875
  this.mediaElement && !this.mediaElement.paused && (this.playbackState = "PLAYING");
23876
23876
  }, $ = (ut) => {
23877
23877
  const Fr = ut.type === "buffering" && this.mediaElement && this.mediaElement.networkState === HTMLMediaElement.NETWORK_LOADING;
@@ -23901,28 +23901,28 @@ class rC extends NM {
23901
23901
  endedHandler: dt,
23902
23902
  errorHandler: f,
23903
23903
  pauseHandler: fe,
23904
- playHandler: H,
23905
- playingHandler: H,
23904
+ playHandler: G,
23905
+ playingHandler: G,
23906
23906
  seekedHandler: ct,
23907
23907
  stalledHandler: $,
23908
23908
  timeUpdateHandler: j,
23909
23909
  waitingHandler: $
23910
23910
  }, this.#n = {
23911
23911
  bufferingHandler: (ut) => {
23912
- ut.buffering ? $(ut) : this.hasStarted() && H();
23912
+ ut.buffering ? $(ut) : this.hasStarted() && G();
23913
23913
  },
23914
23914
  errorHandler: (ut) => this.#u(ut),
23915
23915
  loadedHandler: fe,
23916
23916
  stallDetectedHandler: $
23917
23917
  };
23918
23918
  }
23919
- async #s(H) {
23919
+ async #s(G) {
23920
23920
  const { clientId: $ } = await mp.credentialsProvider.getCredentials();
23921
23921
  if (!$ || "Cypress" in window)
23922
23922
  return;
23923
23923
  const fe = pc("apiUrl"), j = await Rt.Player.probeSupport();
23924
23924
  if (j.drm["com.widevine.alpha"])
23925
- this.debugLog("Configuring widevine DRM."), H.configure({
23925
+ this.debugLog("Configuring widevine DRM."), G.configure({
23926
23926
  drm: {
23927
23927
  advanced: {
23928
23928
  "com.widevine.alpha": {
@@ -23937,7 +23937,7 @@ class rC extends NM {
23937
23937
  }
23938
23938
  });
23939
23939
  else if (j.drm["com.microsoft.playready"])
23940
- this.debugLog("Configuring playready DRM."), H.configure({
23940
+ this.debugLog("Configuring playready DRM."), G.configure({
23941
23941
  drm: {
23942
23942
  servers: {
23943
23943
  "com.microsoft.playready": `${fe}/drm/licenses/playready?token=${$}`
@@ -23947,7 +23947,7 @@ class rC extends NM {
23947
23947
  else if (j.drm["com.apple.fps.1_0"]) {
23948
23948
  this.debugLog("Configuring fairplay DRM."), Rt.polyfill.PatchedMediaKeysApple.install();
23949
23949
  const tt = await VM();
23950
- H.configure({
23950
+ G.configure({
23951
23951
  drm: {
23952
23952
  advanced: {
23953
23953
  "com.apple.fps.1_0": {
@@ -23964,22 +23964,17 @@ class rC extends NM {
23964
23964
  }
23965
23965
  }
23966
23966
  /**
23967
- * Playback of media product type demo needs to be done with
23968
- * useNativeHlsForFairPlay and preferNativeHls set to false.
23967
+ * Playback of media product type demo needed to be done with
23968
+ * useNativeHlsForFairPlay and preferNativeHls set to false, but
23969
+ * we don't support `demo` anymore.
23969
23970
  */
23970
- async #c(H, $) {
23971
- await Rt.util.FairPlayUtils.isFairPlaySupported() && H && (H.getConfiguration().streaming.preferNativeHls !== ($.productType !== "demo") && H.configure(
23972
- "streaming.preferNativeHls",
23973
- $.productType !== "demo"
23974
- ), H.getConfiguration().streaming.useNativeHlsForFairPlay !== ($.productType !== "demo") && H.configure(
23975
- "streaming.useNativeHlsForFairPlay",
23976
- $.productType !== "demo"
23977
- ), await H.unload(!0));
23971
+ async #c(G) {
23972
+ await Rt.util.FairPlayUtils.isFairPlaySupported() && G && (G.getConfiguration().streaming.preferNativeHls !== !0 && G.configure("streaming.preferNativeHls", !0), G.getConfiguration().streaming.useNativeHlsForFairPlay !== !0 && G.configure("streaming.useNativeHlsForFairPlay", !0), await G.unload(!0));
23978
23973
  }
23979
- async #d(H) {
23980
- this.debugLog("createShakaPlayer", H);
23974
+ async #d(G) {
23975
+ this.debugLog("createShakaPlayer", G);
23981
23976
  const $ = new Rt.Player();
23982
- await $.attach(H), JM(H), FM($);
23977
+ await $.attach(G), $M(G), FM($);
23983
23978
  const fe = await Rt.util.FairPlayUtils.isFairPlaySupported(), j = {
23984
23979
  backoffFactor: 2,
23985
23980
  // the multiplicative backoff factor between retries
@@ -24082,12 +24077,12 @@ class rC extends NM {
24082
24077
  ), performance.clearMarks(
24083
24078
  "streaming_metrics:drm_license_fetch:startTimestamp"
24084
24079
  )));
24085
- }), this.#p($, !0), this.#h(Ja, !0), $;
24080
+ }), this.#p($, !0), this.#h($a, !0), $;
24086
24081
  }
24087
- #u(H) {
24082
+ #u(G) {
24088
24083
  if (this.#t)
24089
24084
  return;
24090
- const $ = H.detail, fe = `S${$.code}`;
24085
+ const $ = G.detail, fe = `S${$.code}`;
24091
24086
  switch ($.code) {
24092
24087
  case Rt.util.Error.Code.LICENSE_REQUEST_FAILED:
24093
24088
  this.currentStreamingSessionId && Sw([
@@ -24127,13 +24122,13 @@ class rC extends NM {
24127
24122
  ), j || this.finishCurrentMediaProduct("error")), j && (this.#a = !0);
24128
24123
  }
24129
24124
  async #l({
24130
- assetPosition: H,
24125
+ assetPosition: G,
24131
24126
  assetUriOrPreloader: $,
24132
24127
  mediaProduct: fe,
24133
24128
  playbackInfo: j,
24134
24129
  streamInfo: tt
24135
24130
  }) {
24136
- this.debugLog("loadAndDispatchMediaProductTransition"), this.currentTime = H;
24131
+ this.debugLog("loadAndDispatchMediaProductTransition"), this.currentTime = G;
24137
24132
  const { shakaInstance: dt } = this;
24138
24133
  if (!dt)
24139
24134
  return;
@@ -24146,7 +24141,7 @@ class rC extends NM {
24146
24141
  { once: !0 }
24147
24142
  );
24148
24143
  });
24149
- dt.load($, H).catch(
24144
+ dt.load($, G).catch(
24150
24145
  (ut) => this.#u(
24151
24146
  new CustomEvent("shaka-error", { detail: ut })
24152
24147
  )
@@ -24160,7 +24155,7 @@ class rC extends NM {
24160
24155
  ).playbackContext;
24161
24156
  else {
24162
24157
  const ut = await new Promise(
24163
- (Fr) => Ja.addEventListener(
24158
+ (Fr) => $a.addEventListener(
24164
24159
  "durationchange",
24165
24160
  (_n) => {
24166
24161
  _n.target instanceof HTMLMediaElement && Fr(_n.target.duration);
@@ -24169,7 +24164,7 @@ class rC extends NM {
24169
24164
  )
24170
24165
  );
24171
24166
  ct = Iw({
24172
- assetPosition: H,
24167
+ assetPosition: G,
24173
24168
  duration: ut,
24174
24169
  playbackInfo: j,
24175
24170
  streamInfo: tt
@@ -24183,69 +24178,69 @@ class rC extends NM {
24183
24178
  );
24184
24179
  }
24185
24180
  async #f() {
24186
- this.debugLog("loadLibraries"), Rt.polyfill.installAll(), await Aw(), this.shakaInstance = await this.#d(Ja);
24181
+ this.debugLog("loadLibraries"), Rt.polyfill.installAll(), await Aw(), this.shakaInstance = await this.#d($a);
24187
24182
  }
24188
- #h(H, $) {
24183
+ #h(G, $) {
24189
24184
  this.debugLog(
24190
24185
  "mediaElementEvents",
24191
24186
  $ ? "adding to" : "removing from",
24192
- H
24187
+ G
24193
24188
  );
24194
24189
  const fe = $ ? "addEventListener" : "removeEventListener";
24195
- H[fe](
24190
+ G[fe](
24196
24191
  "durationchange",
24197
24192
  this.#e.durationChangeHandler,
24198
24193
  {
24199
24194
  passive: !0
24200
24195
  }
24201
- ), H[fe]("play", this.#e.playHandler, {
24196
+ ), G[fe]("play", this.#e.playHandler, {
24202
24197
  passive: !0
24203
- }), H[fe](
24198
+ }), G[fe](
24204
24199
  "playing",
24205
24200
  this.#e.playingHandler,
24206
24201
  { passive: !0 }
24207
- ), H[fe](
24202
+ ), G[fe](
24208
24203
  "timeupdate",
24209
24204
  this.#e.timeUpdateHandler,
24210
24205
  { passive: !0 }
24211
- ), H[fe](
24206
+ ), G[fe](
24212
24207
  "pause",
24213
24208
  this.#e.pauseHandler,
24214
24209
  { passive: !0 }
24215
- ), H[fe](
24210
+ ), G[fe](
24216
24211
  "ended",
24217
24212
  this.#e.endedHandler,
24218
24213
  { passive: !0 }
24219
- ), H[fe](
24214
+ ), G[fe](
24220
24215
  "error",
24221
24216
  this.#e.errorHandler,
24222
24217
  { passive: !0 }
24223
- ), H[fe](
24218
+ ), G[fe](
24224
24219
  "waiting",
24225
24220
  this.#e.waitingHandler,
24226
24221
  { passive: !0 }
24227
- ), H[fe](
24222
+ ), G[fe](
24228
24223
  "stalled",
24229
24224
  this.#e.stalledHandler,
24230
24225
  { passive: !0 }
24231
- ), H[fe](
24226
+ ), G[fe](
24232
24227
  "seeked",
24233
24228
  this.#e.seekedHandler,
24234
24229
  { passive: !0 }
24235
24230
  );
24236
24231
  }
24237
- #p(H, $) {
24232
+ #p(G, $) {
24238
24233
  this.debugLog("shakaEvents");
24239
24234
  const fe = $ ? "addEventListener" : "removeEventListener";
24240
- H[fe]("error", this.#n.errorHandler, !1), H[fe](
24235
+ G[fe]("error", this.#n.errorHandler, !1), G[fe](
24241
24236
  "buffering",
24242
24237
  this.#n.bufferingHandler,
24243
24238
  !1
24244
- ), H[fe](
24239
+ ), G[fe](
24245
24240
  "stalldetected",
24246
24241
  this.#n.stallDetectedHandler,
24247
24242
  !1
24248
- ), H[fe](
24243
+ ), G[fe](
24249
24244
  "loaded",
24250
24245
  this.#n.loadedHandler,
24251
24246
  !1
@@ -24254,12 +24249,9 @@ class rC extends NM {
24254
24249
  getPosition() {
24255
24250
  return this.currentTime;
24256
24251
  }
24257
- async load(H, $) {
24258
- this.debugLog("load", H), await this.ready, this.currentTime = H.assetPosition, this.startAssetPosition = H.assetPosition, await this.reset(), this.#t = !1, await this.#c(
24259
- this.shakaInstance,
24260
- H.mediaProduct
24261
- ), await Aw();
24262
- const { assetPosition: fe, mediaProduct: j, playbackInfo: tt, streamInfo: dt } = H;
24252
+ async load(G, $) {
24253
+ this.debugLog("load", G), await this.ready, this.currentTime = G.assetPosition, this.startAssetPosition = G.assetPosition, await this.reset(), this.#t = !1, await this.#c(this.shakaInstance), await Aw();
24254
+ const { assetPosition: fe, mediaProduct: j, playbackInfo: tt, streamInfo: dt } = G;
24263
24255
  this.currentStreamingSessionId = dt.streamingSessionId, $ === "explicit" && (this.playbackState = "NOT_PLAYING");
24264
24256
  const { mediaElement: f, shakaInstance: ct } = this;
24265
24257
  if (!(!ct || !f))
@@ -24271,57 +24263,57 @@ class rC extends NM {
24271
24263
  streamInfo: dt
24272
24264
  });
24273
24265
  }
24274
- async next(H) {
24275
- if (this.debugLog("next", H), !this.shakaInstance) {
24266
+ async next(G) {
24267
+ if (this.debugLog("next", G), !this.shakaInstance) {
24276
24268
  console.warn("Shaka not initialized.");
24277
24269
  return;
24278
24270
  }
24279
24271
  if (this.#r = await this.shakaInstance.preload(
24280
- H.streamInfo.streamUrl
24281
- ), this.playbackState === "IDLE" && (this.playbackState = "NOT_PLAYING"), this.preloadedStreamingSessionId = H.streamInfo.streamingSessionId, H.streamInfo.duration) {
24272
+ G.streamInfo.streamUrl
24273
+ ), this.playbackState === "IDLE" && (this.playbackState = "NOT_PLAYING"), this.preloadedStreamingSessionId = G.streamInfo.streamingSessionId, G.streamInfo.duration) {
24282
24274
  const $ = Iw({
24283
24275
  assetPosition: 0,
24284
- duration: H.streamInfo.duration,
24285
- playbackInfo: H.playbackInfo,
24286
- streamInfo: H.streamInfo
24276
+ duration: G.streamInfo.duration,
24277
+ playbackInfo: G.playbackInfo,
24278
+ streamInfo: G.streamInfo
24287
24279
  });
24288
24280
  Fi.saveMediaProductTransition(
24289
- H.streamInfo.streamingSessionId,
24281
+ G.streamInfo.streamingSessionId,
24290
24282
  {
24291
- mediaProduct: H.mediaProduct,
24283
+ mediaProduct: G.mediaProduct,
24292
24284
  playbackContext: $
24293
24285
  }
24294
24286
  );
24295
24287
  }
24296
- this.#i = H, this.#t = !1;
24288
+ this.#i = G, this.#t = !1;
24297
24289
  }
24298
24290
  pause() {
24299
24291
  this.debugLog("pause"), this.mediaElement && this.mediaElement.pause();
24300
24292
  }
24301
24293
  async play() {
24302
24294
  if (this.debugLog("play"), await this.maybeHardReload(), this.#a) {
24303
- const H = this.shakaInstance?.retryStreaming();
24304
- if (this.#a = !H, !H) {
24295
+ const G = this.shakaInstance?.retryStreaming();
24296
+ if (this.#a = !G, !G) {
24305
24297
  this.playbackState = "NOT_PLAYING", this.finishCurrentMediaProduct("error");
24306
24298
  return;
24307
24299
  }
24308
24300
  }
24309
24301
  if (this.playbackState === "IDLE")
24310
24302
  return this.debugLog("is IDLE, returning early"), Promise.resolve();
24311
- "setSinkId" in Ja && await this.updateOutputDevice(), this.mediaProductStarted(this.currentStreamingSessionId), this.setStateToXIfNotYInZMs(1e3, "PLAYING", "STALLED"), await this.mediaElement?.play();
24303
+ "setSinkId" in $a && await this.updateOutputDevice(), this.mediaProductStarted(this.currentStreamingSessionId), this.setStateToXIfNotYInZMs(1e3, "PLAYING", "STALLED"), await this.mediaElement?.play();
24312
24304
  }
24313
- async playbackEngineEndedHandler(H) {
24305
+ async playbackEngineEndedHandler(G) {
24314
24306
  if (this.isActivePlayer) {
24315
- const { reason: $ } = H.detail;
24307
+ const { reason: $ } = G.detail;
24316
24308
  $ === "completed" && (this.hasNextItem() ? (await this.skipToPreloadedMediaProduct(), await this.play()) : (kw.preloadedStreamingSessionId ? this.debugLog(
24317
24309
  `Switching player from ${this.name} to ${kw.preloadPlayer?.name}`
24318
24310
  ) : this.debugLog("No next item queued."), this.playbackState = "NOT_PLAYING"));
24319
24311
  }
24320
24312
  }
24321
- async reset({ keepPreload: H } = { keepPreload: !1 }) {
24313
+ async reset({ keepPreload: G } = { keepPreload: !1 }) {
24322
24314
  if (this.debugLog("reset"), this.#t)
24323
24315
  return;
24324
- H || await this.unloadPreloadedMediaProduct(), this.playbackState !== "IDLE" && this.finishCurrentMediaProduct("skip"), this.playbackState = "IDLE", this.detachPlaybackEngineEndedHandler(), this.currentStreamingSessionId = void 0, H || (this.preloadedStreamingSessionId = void 0), this.#t = !0;
24316
+ G || await this.unloadPreloadedMediaProduct(), this.playbackState !== "IDLE" && this.finishCurrentMediaProduct("skip"), this.playbackState = "IDLE", this.detachPlaybackEngineEndedHandler(), this.currentStreamingSessionId = void 0, G || (this.preloadedStreamingSessionId = void 0), this.#t = !0;
24325
24317
  const { mediaElement: $, shakaInstance: fe } = this;
24326
24318
  if (fe && $ && $.readyState !== 0)
24327
24319
  return fe.unload(
@@ -24330,13 +24322,13 @@ class rC extends NM {
24330
24322
  );
24331
24323
  }
24332
24324
  // eslint-disable-next-line @typescript-eslint/no-misused-promises
24333
- seek(H) {
24334
- this.debugLog("seek", H);
24325
+ seek(G) {
24326
+ this.debugLog("seek", G);
24335
24327
  const { mediaElement: $ } = this;
24336
24328
  if (!$)
24337
24329
  return;
24338
- this.seekStart(this.currentTime), this.currentTime = H;
24339
- const fe = H;
24330
+ this.seekStart(this.currentTime), this.currentTime = G;
24331
+ const fe = G;
24340
24332
  return "fastSeek" in $ ? $.fastSeek(fe) : $.currentTime = fe, new Promise((j) => {
24341
24333
  $.addEventListener(
24342
24334
  "seeked",
@@ -24351,12 +24343,12 @@ class rC extends NM {
24351
24343
  this.preloadedStreamingSessionId
24352
24344
  ), this.#i) {
24353
24345
  const {
24354
- mediaProduct: H,
24346
+ mediaProduct: G,
24355
24347
  playbackInfo: $,
24356
24348
  streamInfo: fe
24357
24349
  } = this.#i, j = Fi.getMediaProductTransition(
24358
24350
  fe.streamingSessionId
24359
- )?.mediaProduct ?? H;
24351
+ )?.mediaProduct ?? G;
24360
24352
  return this.#l({
24361
24353
  assetPosition: 0,
24362
24354
  assetUriOrPreloader: this.#r ?? fe.streamUrl,
@@ -24369,8 +24361,8 @@ class rC extends NM {
24369
24361
  }
24370
24362
  togglePlayback() {
24371
24363
  this.debugLog("togglePlayback");
24372
- const { mediaElement: H } = this;
24373
- H && (H.paused ? H.play().catch(console.error) : H.pause());
24364
+ const { mediaElement: G } = this;
24365
+ G && (G.paused ? G.play().catch(console.error) : G.pause());
24374
24366
  }
24375
24367
  async unloadPreloadedMediaProduct() {
24376
24368
  this.debugLog(
@@ -24383,10 +24375,10 @@ class rC extends NM {
24383
24375
  return;
24384
24376
  if (Vi && !Vi.activeDevice || !pc("outputDevicesEnabled"))
24385
24377
  return Promise.resolve();
24386
- const H = Vi.activeDevice.webDeviceId;
24378
+ const G = Vi.activeDevice.webDeviceId;
24387
24379
  this.outputDeviceType = Vi.activeDevice.type;
24388
24380
  try {
24389
- await Ja.setSinkId(H), Qa.dispatchEvent(
24381
+ await $a.setSinkId(G), Qa.dispatchEvent(
24390
24382
  LM(Vi.activeDevice.id)
24391
24383
  );
24392
24384
  } catch ($) {
@@ -24394,7 +24386,7 @@ class rC extends NM {
24394
24386
  }
24395
24387
  }
24396
24388
  get mediaElement() {
24397
- return Ja;
24389
+ return $a;
24398
24390
  }
24399
24391
  get ready() {
24400
24392
  return this.#o;
@@ -24402,8 +24394,8 @@ class rC extends NM {
24402
24394
  get volume() {
24403
24395
  return pc("desiredVolumeLevel");
24404
24396
  }
24405
- set volume(H) {
24406
- this.debugLog("Setting volume to", H), this.mediaElement && (this.mediaElement.volume = H);
24397
+ set volume(G) {
24398
+ this.debugLog("Setting volume to", G), this.mediaElement && (this.mediaElement.volume = G);
24407
24399
  }
24408
24400
  }
24409
24401
  export {