@instructure/studio-player 1.3.3 → 1.3.4

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.
@@ -6,14 +6,14 @@ import { useRef as Rr, useCallback as jn, useSyncExternalStore as ic, createCont
6
6
  import { initReactI18next as oc, useTranslation as Hn } from "react-i18next";
7
7
  import sc from "i18next";
8
8
  import uc from "i18next-resources-to-backend";
9
- import { S as Pr, U as lc, W as cc, X as fc, Z as ca, _ as Wn, $ as dc, a0 as gc, a1 as hc, a2 as mc, a3 as pc, a4 as yc, a5 as _c, a6 as la, a7 as Xa, a8 as Ec, a9 as qs, aa as vc, ab as Vs, ac as js, ad as Tc, ae as bc, af as Sc, ag as Os, ah as Ms, ai as Ac, aj as za, ak as Ic, al as Rc } from "./vidstack-CX-SWm4x.js";
9
+ import { S as Pr, U as lc, W as cc, X as fc, Z as ca, _ as Wn, $ as dc, a0 as gc, a1 as hc, a2 as mc, a3 as pc, a4 as yc, a5 as _c, a6 as la, a7 as Xa, a8 as Ec, a9 as Vs, aa as vc, ab as js, ac as Ys, ad as Tc, ae as bc, af as Sc, ag as Ms, ah as Ls, ai as Ac, aj as za, ak as Ic, al as Rc } from "./vidstack-CX-SWm4x.js";
10
10
  import { am as zh } from "./vidstack-CX-SWm4x.js";
11
- import { useFloating as fa, autoUpdate as da, shift as no, offset as ro, arrow as io, useMergeRefs as ao, useListNavigation as Ys, useDismiss as oo, useInteractions as so, FloatingFocusManager as uo, FloatingArrow as lo, detectOverflow as wc } from "@floating-ui/react";
11
+ import { useFloating as fa, autoUpdate as da, shift as no, offset as ro, arrow as io, useMergeRefs as ao, useListNavigation as Ks, useDismiss as oo, useInteractions as so, FloatingFocusManager as uo, FloatingArrow as lo, detectOverflow as wc } from "@floating-ui/react";
12
12
  var Wa = { exports: {} };
13
13
  /*! For license information please see dash.all.min.js.LICENSE.txt */
14
- var Ls;
14
+ var Ps;
15
15
  function Cc() {
16
- return Ls || (Ls = 1, function(W, se) {
16
+ return Ps || (Ps = 1, function(W, se) {
17
17
  (function(ve, Be) {
18
18
  W.exports = Be();
19
19
  })(self, function() {
@@ -351,8 +351,8 @@ function Cc() {
351
351
  } }, C.logger = n, C.PenState = d, C.CaptionScreen = B, C.Cea608Parser = J, C.findCea608Nalus = function(M, K, ae) {
352
352
  for (var j = 0, te = K, le = [], Se = function(be, Ze, Qe, ot) {
353
353
  if (be !== 4 || Ze < 8) return null;
354
- var Ae = Qe.getUint8(ot), we = Qe.getUint16(ot + 1), Tt = Qe.getUint32(ot + 3), _t = Qe.getUint8(ot + 7);
355
- return Ae == 181 && we == 49 && Tt == 1195456820 && _t == 3;
354
+ var Ae = Qe.getUint8(ot), we = Qe.getUint16(ot + 1), Tt = Qe.getUint32(ot + 3), pt = Qe.getUint8(ot + 7);
355
+ return Ae == 181 && we == 49 && Tt == 1195456820 && pt == 3;
356
356
  }; te < K + ae; ) {
357
357
  if (j = M.getUint32(te), (31 & M.getUint8(te + 4)) == 6) for (var X = te + 5, De = -1; X < te + 4 + j - 1; ) {
358
358
  De = 0;
@@ -858,8 +858,8 @@ function Cc() {
858
858
  return c ? c.index : -1;
859
859
  }, getInitRequest: function(be, Ze) {
860
860
  return Ze ? function(Qe, ot, Ae) {
861
- var we = new ne.Z(), Tt = ot.adaptation.period, _t = Tt.start;
862
- if (we.mediaType = Ae, we.type = v.w.INIT_SEGMENT_TYPE, we.range = ot.range, we.availabilityStartTime = ae.calcAvailabilityStartTimeFromPresentationTime(_t, ot, d), we.availabilityEndTime = ae.calcAvailabilityEndTimeFromPresentationTime(_t + Tt.duration, ot, d), we.quality = ot.index, we.mediaInfo = Qe, we.representationId = ot.id, Se(we, ot.initialization, ot)) return we.url = (0, p.vi)(we.url, "Bandwidth", ot.bandwidth), we;
861
+ var we = new ne.Z(), Tt = ot.adaptation.period, pt = Tt.start;
862
+ if (we.mediaType = Ae, we.type = v.w.INIT_SEGMENT_TYPE, we.range = ot.range, we.availabilityStartTime = ae.calcAvailabilityStartTimeFromPresentationTime(pt, ot, d), we.availabilityEndTime = ae.calcAvailabilityEndTimeFromPresentationTime(pt + Tt.duration, ot, d), we.quality = ot.index, we.mediaInfo = Qe, we.representationId = ot.id, Se(we, ot.initialization, ot)) return we.url = (0, p.vi)(we.url, "Bandwidth", ot.bandwidth), we;
863
863
  }(be, Ze, te()) : null;
864
864
  }, getNextSegmentRequest: function(be, Ze) {
865
865
  return Ze && Ze.segmentInfoType ? Ue(be, Ze, c ? c.index + 1 : 0) : null;
@@ -875,17 +875,17 @@ function Cc() {
875
875
  if (isNaN(be) || !Ze || !Qe) return NaN;
876
876
  if (be < 0 && (be = 0), isNaN(ot) && (ot = 0.5), De(Ze, Qe, be)) return be;
877
877
  if (Qe.adaptation.period.start + Qe.adaptation.period.duration < be) return NaN;
878
- for (var Ae = isFinite(Qe.adaptation.period.duration) ? Qe.adaptation.period.start + Qe.adaptation.period.duration : be + 30, we = Math.min(be + ot, Ae), Tt = NaN, _t = null; we <= Ae; ) {
878
+ for (var Ae = isFinite(Qe.adaptation.period.duration) ? Qe.adaptation.period.start + Qe.adaptation.period.duration : be + 30, we = Math.min(be + ot, Ae), Tt = NaN, pt = null; we <= Ae; ) {
879
879
  var qe = null;
880
880
  if (we <= Ae && (qe = De(Ze, Qe, we)), qe) {
881
- Tt = we, _t = qe;
881
+ Tt = we, pt = qe;
882
882
  break;
883
883
  }
884
884
  we += ot;
885
885
  }
886
- if (_t) {
887
- var at = _t.startTime + _t.duration;
888
- return be > _t.startTime && at - be > ot ? be : !isNaN(_t.startTime) && be < _t.startTime && Tt > _t.startTime ? _t.startTime + 1e-3 : Math.min(at - ot, Tt);
886
+ if (pt) {
887
+ var at = pt.startTime + pt.duration;
888
+ return be > pt.startTime && at - be > ot ? be : !isNaN(pt.startTime) && be < pt.startTime && Tt > pt.startTime ? pt.startTime + 1e-3 : Math.min(at - ot, Tt);
889
889
  }
890
890
  return Tt;
891
891
  } catch {
@@ -1208,7 +1208,7 @@ function Cc() {
1208
1208
  function c() {
1209
1209
  var i, r, l, _, R, I, y, w, F, q, G, N, U, Z, de, re, ce, he, H, oe, V, fe, g, L, D, O = this.context, A = (0, m.Z)(O).getInstance();
1210
1210
  function ie() {
1211
- k(), Z = !1, q = 0, G = 0, ce = 0, g = !1, he = !0, H = !1, L = !1, oe = NaN, re = NaN, y && (A.off(o.Z.DATA_UPDATE_COMPLETED, ze, i), A.off(o.Z.LOADING_PROGRESS, Vt, i), A.off(o.Z.MANIFEST_UPDATED, ct, i), A.off(o.Z.STREAMS_COMPOSED, ge, i), A.off(n.Z.PLAYBACK_ENDED, ht, i), A.off(n.Z.STREAM_INITIALIZING, Ke, i), A.off(n.Z.REPRESENTATION_SWITCH, Le, i), A.off(n.Z.BUFFER_LEVEL_STATE_CHANGED, gt, i), mt(), y.removeEventListener("canplay", vt), y.removeEventListener("canplaythrough", Et), y.removeEventListener("play", Wt), y.removeEventListener("waiting", zt), y.removeEventListener("playing", gn), y.removeEventListener("pause", pn), y.removeEventListener("error", kt), y.removeEventListener("seeking", Ye), y.removeEventListener("seeked", yt), y.removeEventListener("timeupdate", st), y.removeEventListener("progress", Rt), y.removeEventListener("ratechange", Pt), y.removeEventListener("loadedmetadata", $t), y.removeEventListener("loadeddata", Qt), y.removeEventListener("stalled", Xt), y.removeEventListener("ended", en), y.removeEventListener("volumechange", on)), F = null, y = null, N = null, U = null;
1211
+ k(), Z = !1, q = 0, G = 0, ce = 0, g = !1, he = !0, H = !1, L = !1, oe = NaN, re = NaN, y && (A.off(o.Z.DATA_UPDATE_COMPLETED, ze, i), A.off(o.Z.LOADING_PROGRESS, Vt, i), A.off(o.Z.MANIFEST_UPDATED, ct, i), A.off(o.Z.STREAMS_COMPOSED, ge, i), A.off(n.Z.PLAYBACK_ENDED, ht, i), A.off(n.Z.STREAM_INITIALIZING, Ke, i), A.off(n.Z.REPRESENTATION_SWITCH, Le, i), A.off(n.Z.BUFFER_LEVEL_STATE_CHANGED, gt, i), mt(), y.removeEventListener("canplay", vt), y.removeEventListener("canplaythrough", Et), y.removeEventListener("play", Wt), y.removeEventListener("waiting", zt), y.removeEventListener("playing", gn), y.removeEventListener("pause", pn), y.removeEventListener("error", kt), y.removeEventListener("seeking", Ye), y.removeEventListener("seeked", _t), y.removeEventListener("timeupdate", st), y.removeEventListener("progress", Rt), y.removeEventListener("ratechange", Pt), y.removeEventListener("loadedmetadata", $t), y.removeEventListener("loadeddata", Qt), y.removeEventListener("stalled", Xt), y.removeEventListener("ended", en), y.removeEventListener("volumechange", on)), F = null, y = null, N = null, U = null;
1212
1212
  }
1213
1213
  function z() {
1214
1214
  var Ee = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : null;
@@ -1322,7 +1322,7 @@ function Cc() {
1322
1322
  isNaN(oe) || oe === Ee || (Ee = oe), oe = NaN, r.info("Seeking to: " + Ee), Ge(), A.trigger(o.Z.PLAYBACK_SEEKING, { seekTime: Ee, streamId: N.id });
1323
1323
  }
1324
1324
  }
1325
- function yt() {
1325
+ function _t() {
1326
1326
  r.info("Native video element event: seeked"), V = !1, A.trigger(o.Z.PLAYBACK_SEEKED);
1327
1327
  }
1328
1328
  function st() {
@@ -1387,7 +1387,7 @@ function Cc() {
1387
1387
  g = !1;
1388
1388
  }
1389
1389
  return i = { initialize: function(Ee, $e) {
1390
- N = Ee, $e !== !0 && (y.addEventListener("canplay", vt), y.addEventListener("canplaythrough", Et), y.addEventListener("play", Wt), y.addEventListener("waiting", zt), y.addEventListener("playing", gn), y.addEventListener("pause", pn), y.addEventListener("error", kt), y.addEventListener("seeking", Ye), y.addEventListener("seeked", yt), y.addEventListener("timeupdate", st), y.addEventListener("progress", Rt), y.addEventListener("ratechange", Pt), y.addEventListener("loadedmetadata", $t), y.addEventListener("loadeddata", Qt), y.addEventListener("stalled", Xt), y.addEventListener("ended", en), y.addEventListener("volumechange", on), U = N.manifestInfo.isDynamic, fe = !1, V = !1, A.on(o.Z.DATA_UPDATE_COMPLETED, ze, i), A.on(o.Z.LOADING_PROGRESS, Vt, i), A.on(o.Z.MANIFEST_UPDATED, ct, i), A.on(o.Z.STREAMS_COMPOSED, ge, i), A.on(n.Z.PLAYBACK_ENDED, ht, i, { priority: m.Z.EVENT_PRIORITY_HIGH }), A.on(n.Z.STREAM_INITIALIZING, Ke, i), A.on(n.Z.REPRESENTATION_SWITCH, Le, i), A.on(n.Z.BUFFER_LEVEL_STATE_CHANGED, gt, i), A.on(n.Z.DYNAMIC_TO_STATIC, qt, i), Z && (Z = !1, $()));
1390
+ N = Ee, $e !== !0 && (y.addEventListener("canplay", vt), y.addEventListener("canplaythrough", Et), y.addEventListener("play", Wt), y.addEventListener("waiting", zt), y.addEventListener("playing", gn), y.addEventListener("pause", pn), y.addEventListener("error", kt), y.addEventListener("seeking", Ye), y.addEventListener("seeked", _t), y.addEventListener("timeupdate", st), y.addEventListener("progress", Rt), y.addEventListener("ratechange", Pt), y.addEventListener("loadedmetadata", $t), y.addEventListener("loadeddata", Qt), y.addEventListener("stalled", Xt), y.addEventListener("ended", en), y.addEventListener("volumechange", on), U = N.manifestInfo.isDynamic, fe = !1, V = !1, A.on(o.Z.DATA_UPDATE_COMPLETED, ze, i), A.on(o.Z.LOADING_PROGRESS, Vt, i), A.on(o.Z.MANIFEST_UPDATED, ct, i), A.on(o.Z.STREAMS_COMPOSED, ge, i), A.on(n.Z.PLAYBACK_ENDED, ht, i, { priority: m.Z.EVENT_PRIORITY_HIGH }), A.on(n.Z.STREAM_INITIALIZING, Ke, i), A.on(n.Z.REPRESENTATION_SWITCH, Le, i), A.on(n.Z.BUFFER_LEVEL_STATE_CHANGED, gt, i), A.on(n.Z.DYNAMIC_TO_STATIC, qt, i), Z && (Z = !1, $()));
1391
1391
  }, setConfig: function(Ee) {
1392
1392
  Ee && (Ee.streamController && (l = Ee.streamController), Ee.serviceDescriptionController && (_ = Ee.serviceDescriptionController), Ee.dashMetrics && (R = Ee.dashMetrics), Ee.adapter && (I = Ee.adapter), Ee.videoModel && (y = Ee.videoModel), Ee.timelineConverter && (w = Ee.timelineConverter), Ee.settings && (D = Ee.settings));
1393
1393
  }, getTimeToStreamEnd: z, getBufferLevel: function() {
@@ -1816,7 +1816,7 @@ function Cc() {
1816
1816
  }
1817
1817
  ot.__dashjs_factory_name = "InitCache";
1818
1818
  var Ae = E.Z.getSingletonFactory(ot), we = 0.01, Tt = "BufferController";
1819
- function _t(i) {
1819
+ function pt(i) {
1820
1820
  i = i || {};
1821
1821
  var r, l, _, R, I, y, w, F, q, G, N, U, Z, de, re, ce, he, H, oe, V, fe, g = this.context, L = (0, m.Z)(g).getInstance(), D = i.errHandler, O = i.fragmentModel, A = i.representationController, ie = i.adapter, z = i.textController, ue = i.abrController, $ = i.playbackController, k = i.streamInfo, ee = i.type, pe = i.settings;
1822
1822
  function Pe(Le) {
@@ -1895,7 +1895,7 @@ function Cc() {
1895
1895
  var Ee = Math.max(0.2 * I, 1), $e = I - Ee, Ct = Math.min(pe.get().streaming.buffer.bufferTimeAtTopQuality, 0.9 * $e), xt = Math.min(pe.get().streaming.buffer.bufferTimeAtTopQualityLongForm, 0.9 * $e), yn = { streaming: { buffer: { bufferToKeep: parseFloat(Ee.toFixed(5)), bufferTimeAtTopQuality: parseFloat(Ct.toFixed(5)), bufferTimeAtTopQualityLongForm: parseFloat(xt.toFixed(5)) } } };
1896
1896
  pe.update(yn);
1897
1897
  }
1898
- }(), void (Le.error.code !== 22 && Vt() || (l.warn("Clearing playback buffer to overcome quota exceed situation"), Xt(o.Z.QUOTA_EXCEEDED, { criticalBufferLevel: I, quotaExceededTime: Le.chunk.start }), st(yt())));
1898
+ }(), void (Le.error.code !== 22 && Vt() || (l.warn("Clearing playback buffer to overcome quota exceed situation"), Xt(o.Z.QUOTA_EXCEEDED, { criticalBufferLevel: I, quotaExceededTime: Le.chunk.start }), st(_t())));
1899
1899
  if (q && (Wt(), he = !1, (de = Le.chunk) && de.endFragment)) {
1900
1900
  de && !isNaN(de.index) && (w = Math.max(de.index, w), zt());
1901
1901
  var ct = q.getAllBufferRanges();
@@ -1997,9 +1997,9 @@ function Cc() {
1997
1997
  Z === Le || Le === p.Z.BUFFER_EMPTY && $.getTime() === 0 || ee === t.Z.TEXT && !z.isTextEnabled() || (Z = Le, Xt(o.Z.BUFFER_LEVEL_STATE_CHANGED, { state: Le }), Xt(Le === p.Z.BUFFER_LOADED ? o.Z.BUFFER_LOADED : o.Z.BUFFER_EMPTY), l.debug(Le === p.Z.BUFFER_LOADED ? "Got enough buffer to start" : "Waiting for more buffer before starting playback"));
1998
1998
  }
1999
1999
  function Ye() {
2000
- q && ee !== t.Z.TEXT && (_ || st(yt()));
2000
+ q && ee !== t.Z.TEXT && (_ || st(_t()));
2001
2001
  }
2002
- function yt() {
2002
+ function _t() {
2003
2003
  var Le = [], ct = q.getAllBufferRanges();
2004
2004
  if (!ct || ct.length === 0) return Le;
2005
2005
  var ge = $.getTime(), Ee = Math.max(0, ge - pe.get().streaming.buffer.bufferToKeep), $e = O.getRequests({ state: K.FRAGMENT_MODEL_EXECUTED, time: ge, threshold: we })[0];
@@ -2207,8 +2207,8 @@ function Cc() {
2207
2207
  isNaN(Le) || (F = Le, zt());
2208
2208
  } }, l = (0, h.Z)(g).getInstance().getLogger(r), H = Ae(g).getInstance(), Ke(), r;
2209
2209
  }
2210
- _t.__dashjs_factory_name = Tt;
2211
- var qe = E.Z.getClassFactory(_t), at = "NotFragmentedTextBufferController";
2210
+ pt.__dashjs_factory_name = Tt;
2211
+ var qe = E.Z.getClassFactory(pt), at = "NotFragmentedTextBufferController";
2212
2212
  function me(i) {
2213
2213
  i = i || {};
2214
2214
  var r, l, _, R, I, y, w = this.context, F = (0, m.Z)(w).getInstance(), q = i.textController, G = i.errHandler, N = i.streamInfo, U = i.type;
@@ -2640,7 +2640,7 @@ function Cc() {
2640
2640
  function Ye() {
2641
2641
  Xt(z.getTime()), $t().startScheduleTimer();
2642
2642
  }
2643
- function yt(Ke) {
2643
+ function _t(Ke) {
2644
2644
  var Le = Ke.currentTrackInfo;
2645
2645
  if (Le) {
2646
2646
  var ct = I.find(function(ge) {
@@ -2867,8 +2867,8 @@ function Cc() {
2867
2867
  }
2868
2868
  });
2869
2869
  }, reset: function(Ke, Le) {
2870
- U && U.reset(), y && (y.reset(Ke, Le), y = null), w && (w.reset(), w = null), F && (F.reset(), F = null), Z && (Z = null), ie && ie.unRegisterStreamType(Re(), oe), he.off(o.Z.DATA_UPDATE_COMPLETED, ze, r), he.off(o.Z.INIT_FRAGMENT_NEEDED, nt, r), he.off(o.Z.MEDIA_FRAGMENT_NEEDED, rt, r), he.off(o.Z.INIT_FRAGMENT_LOADED, on, r), he.off(o.Z.MEDIA_FRAGMENT_LOADED, ht, r), he.off(o.Z.BUFFER_LEVEL_STATE_CHANGED, vt, r), he.off(o.Z.BUFFER_CLEARED, Et, r), he.off(o.Z.SEEK_TARGET, Vt, r), he.off(o.Z.FRAGMENT_LOADING_ABANDONED, gn, r), he.off(o.Z.FRAGMENT_LOADING_COMPLETED, pn, r), he.off(o.Z.SET_FRAGMENTED_TEXT_AFTER_DISABLED, Ye, r), he.off(o.Z.SET_NON_FRAGMENTED_TEXT, yt, r), he.off(o.Z.QUOTA_EXCEEDED, st, r), he.off(o.Z.SOURCE_BUFFER_ERROR, gt, r), he.off(o.Z.BYTES_APPENDED_END_FRAGMENT, Wt, r), ut(), oe = null, H = null;
2871
- } }, l = (0, h.Z)(ce).getInstance().getLogger(r), ut(), he.on(o.Z.DATA_UPDATE_COMPLETED, ze, r, { priority: m.Z.EVENT_PRIORITY_HIGH }), he.on(o.Z.INIT_FRAGMENT_NEEDED, nt, r), he.on(o.Z.MEDIA_FRAGMENT_NEEDED, rt, r), he.on(o.Z.INIT_FRAGMENT_LOADED, on, r), he.on(o.Z.MEDIA_FRAGMENT_LOADED, ht, r), he.on(o.Z.BUFFER_LEVEL_STATE_CHANGED, vt, r), he.on(o.Z.BUFFER_CLEARED, Et, r), he.on(o.Z.SEEK_TARGET, Vt, r), he.on(o.Z.FRAGMENT_LOADING_ABANDONED, gn, r), he.on(o.Z.FRAGMENT_LOADING_COMPLETED, pn, r), he.on(o.Z.QUOTA_EXCEEDED, st, r), he.on(o.Z.SET_FRAGMENTED_TEXT_AFTER_DISABLED, Ye, r), he.on(o.Z.SET_NON_FRAGMENTED_TEXT, yt, r), he.on(o.Z.SOURCE_BUFFER_ERROR, gt, r), he.on(o.Z.BYTES_APPENDED_END_FRAGMENT, Wt, r), r;
2870
+ U && U.reset(), y && (y.reset(Ke, Le), y = null), w && (w.reset(), w = null), F && (F.reset(), F = null), Z && (Z = null), ie && ie.unRegisterStreamType(Re(), oe), he.off(o.Z.DATA_UPDATE_COMPLETED, ze, r), he.off(o.Z.INIT_FRAGMENT_NEEDED, nt, r), he.off(o.Z.MEDIA_FRAGMENT_NEEDED, rt, r), he.off(o.Z.INIT_FRAGMENT_LOADED, on, r), he.off(o.Z.MEDIA_FRAGMENT_LOADED, ht, r), he.off(o.Z.BUFFER_LEVEL_STATE_CHANGED, vt, r), he.off(o.Z.BUFFER_CLEARED, Et, r), he.off(o.Z.SEEK_TARGET, Vt, r), he.off(o.Z.FRAGMENT_LOADING_ABANDONED, gn, r), he.off(o.Z.FRAGMENT_LOADING_COMPLETED, pn, r), he.off(o.Z.SET_FRAGMENTED_TEXT_AFTER_DISABLED, Ye, r), he.off(o.Z.SET_NON_FRAGMENTED_TEXT, _t, r), he.off(o.Z.QUOTA_EXCEEDED, st, r), he.off(o.Z.SOURCE_BUFFER_ERROR, gt, r), he.off(o.Z.BYTES_APPENDED_END_FRAGMENT, Wt, r), ut(), oe = null, H = null;
2871
+ } }, l = (0, h.Z)(ce).getInstance().getLogger(r), ut(), he.on(o.Z.DATA_UPDATE_COMPLETED, ze, r, { priority: m.Z.EVENT_PRIORITY_HIGH }), he.on(o.Z.INIT_FRAGMENT_NEEDED, nt, r), he.on(o.Z.MEDIA_FRAGMENT_NEEDED, rt, r), he.on(o.Z.INIT_FRAGMENT_LOADED, on, r), he.on(o.Z.MEDIA_FRAGMENT_LOADED, ht, r), he.on(o.Z.BUFFER_LEVEL_STATE_CHANGED, vt, r), he.on(o.Z.BUFFER_CLEARED, Et, r), he.on(o.Z.SEEK_TARGET, Vt, r), he.on(o.Z.FRAGMENT_LOADING_ABANDONED, gn, r), he.on(o.Z.FRAGMENT_LOADING_COMPLETED, pn, r), he.on(o.Z.QUOTA_EXCEEDED, st, r), he.on(o.Z.SET_FRAGMENTED_TEXT_AFTER_DISABLED, Ye, r), he.on(o.Z.SET_NON_FRAGMENTED_TEXT, _t, r), he.on(o.Z.SOURCE_BUFFER_ERROR, gt, r), he.on(o.Z.BYTES_APPENDED_END_FRAGMENT, Wt, r), r;
2872
2872
  }
2873
2873
  ft.__dashjs_factory_name = "StreamProcessor";
2874
2874
  var Yt = E.Z.getClassFactory(ft), Ot = function i() {
@@ -2987,8 +2987,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2987
2987
  ue.push({ chunkDownloadTimeRelativeMS: ut - g, chunkDownloadDurationMS: Wt, chunkBytes: zt, kbps: Math.round(8 * zt / (Wt / 1e3)), bufferLevel: l.getCurrentBufferLevel(de.mediaType) });
2988
2988
  }
2989
2989
  if (gt) {
2990
- var gn = ut - g, pn = ue.reduce(function(Ye, yt) {
2991
- return Ye + yt.chunkBytes;
2990
+ var gn = ut - g, pn = ue.reduce(function(Ye, _t) {
2991
+ return Ye + _t.chunkBytes;
2992
2992
  }, 0);
2993
2993
  return I.addMeasurement(de, gn, ue, V, fe, O), void N.progress({ loaded: pn, total: pn, lengthComputable: !0, time: I.getEstimatedDownloadDurationMS(de), stream: !0 });
2994
2994
  }
@@ -3002,13 +3002,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
3002
3002
  if (Re) {
3003
3003
  if (oe !== t.Z.ABR_FETCH_THROUGHPUT_CALCULATION_AAST) {
3004
3004
  var gt = null, Wt = null;
3005
- oe === t.Z.ABR_FETCH_THROUGHPUT_CALCULATION_MOOF_PARSING ? (gt = function(Ye, yt) {
3005
+ oe === t.Z.ABR_FETCH_THROUGHPUT_CALCULATION_MOOF_PARSING ? (gt = function(Ye, _t) {
3006
3006
  try {
3007
3007
  var st, Rt;
3008
3008
  st = Ye.filter(function(kt, qt) {
3009
3009
  return qt < Ye.length - 1;
3010
- }), Rt = yt.filter(function(kt, qt) {
3011
- return qt < yt.length - 1;
3010
+ }), Rt = _t.filter(function(kt, qt) {
3011
+ return qt < _t.length - 1;
3012
3012
  });
3013
3013
  var Pt = [];
3014
3014
  if (st.length > 1) {
@@ -3036,10 +3036,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
3036
3036
  return N.onload(), void N.onend();
3037
3037
  }
3038
3038
  if (Et && Et.length > 0) {
3039
- Re = function(Ye, yt) {
3040
- if (Ye.length === 0) return yt;
3041
- var st = new Uint8Array(Ye.length + yt.length);
3042
- return st.set(Ye), st.set(yt, Ye.length), st;
3039
+ Re = function(Ye, _t) {
3040
+ if (Ye.length === 0) return _t;
3041
+ var st = new Uint8Array(Ye.length + _t.length);
3042
+ return st.set(Ye), st.set(_t, Ye.length), st;
3043
3043
  }(Re, Et), pe += Et.length, Ut.push({ ts: Date.now(), bytes: Et.length }), oe === t.Z.ABR_FETCH_THROUGHPUT_CALCULATION_MOOF_PARSING && mt && y.findLastTopIsoBoxCompleted(["moof"], Re, xe).found && (mt = !1, Ie.push({ ts: performance.now(), bytes: Et.length }));
3044
3044
  var zt = y.findLastTopIsoBoxCompleted(["moov", "mdat"], Re, xe);
3045
3045
  if (zt.found) {
@@ -3165,7 +3165,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
3165
3165
  return r = i, (l = [{ key: "init", value: function(_) {
3166
3166
  return _ && (this.schemeIdUri = _.schemeIdUri ? _.schemeIdUri : null, this.value = _.value ? _.value : null, this.id = _.id ? _.id : null, _[e.Z.DVB_URL] && (this.dvbUrl = _[e.Z.DVB_URL]), _[e.Z.DVB_MIMETYPE] && (this.dvbMimeType = _[e.Z.DVB_MIMETYPE]), _[e.Z.DVB_FONTFAMILY] && (this.dvbFontFamily = _[e.Z.DVB_FONTFAMILY])), this;
3167
3167
  } }]) && wt(r.prototype, l), i;
3168
- }(), pt = C(3101), Xe = C.n(pt);
3168
+ }(), yt = C(3101), Xe = C.n(yt);
3169
3169
  function dt() {
3170
3170
  return { areEqual: function(i, r) {
3171
3171
  return Xe()(i, r);
@@ -4560,7 +4560,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
4560
4560
  function Ye(ht) {
4561
4561
  ee && ee.addInbandEvents(ht.events, Oe.id);
4562
4562
  }
4563
- function yt(ht) {
4563
+ function _t(ht) {
4564
4564
  return ht && ht.type ? st(ht.type) : null;
4565
4565
  }
4566
4566
  function st(ht) {
@@ -4678,7 +4678,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
4678
4678
  }
4679
4679
  Promise.all(qt).then(function() {
4680
4680
  for (qt = []; H.length > 0; ) {
4681
- var $e = H.pop(), Ct = $e.newMediaInfo, xt = yt($e.oldMediaInfo);
4681
+ var $e = H.pop(), Ct = $e.newMediaInfo, xt = _t($e.oldMediaInfo);
4682
4682
  if (!xt) return;
4683
4683
  qt.push(xt.prepareTrackSwitch()), qt.push(xt.selectMediaInfo(Ct));
4684
4684
  }
@@ -4721,7 +4721,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
4721
4721
  y = !1;
4722
4722
  var kt = ht.newMediaInfo, qt = g.getValue();
4723
4723
  A.setCurrentMediaInfo(Oe.id, kt.type, kt);
4724
- var Vt = yt(kt);
4724
+ var Vt = _t(kt);
4725
4725
  if (Vt) {
4726
4726
  var Xt = k.getTime();
4727
4727
  l.info("Stream - Process track changed at current time " + Xt), qt.refreshManifestOnSwitchTrack ? (H.push(ht), O.getIsUpdating() || (l.debug("Stream - Refreshing manifest for switch track"), O.refreshManifest())) : Vt.selectMediaInfo(kt).then(function() {
@@ -5013,7 +5013,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
5013
5013
  } }, r = (0, h.Z)(de).getInstance().getLogger(i), q = Hr(de).create(), i;
5014
5014
  }
5015
5015
  Bi.__dashjs_factory_name = "ManifestUpdater";
5016
- var mo = E.Z.getClassFactory(Bi);
5016
+ var po = E.Z.getClassFactory(Bi);
5017
5017
  function _a() {
5018
5018
  var i, r, l, _, R, I, y, w, F, q, G, N, U, Z, de, re, ce = this.context, he = (0, m.Z)(ce).getInstance(), H = (0, tt.Z)(ce).getInstance();
5019
5019
  function oe() {
@@ -5153,7 +5153,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
5153
5153
  var Ea = E.Z.getSingletonFactory(_a);
5154
5154
  Ea.HTTP_TIMEOUT_MS = 5e3, E.Z.updateSingletonFactory(_a.__dashjs_factory_name, Ea);
5155
5155
  var hu = Ea;
5156
- function po() {
5156
+ function yo() {
5157
5157
  var i, r, l, _, R, I = this.context, y = (0, m.Z)(I).getInstance();
5158
5158
  return i = { attachMediaSource: function(w) {
5159
5159
  var F = window.URL.createObjectURL(r);
@@ -5184,9 +5184,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
5184
5184
  }
5185
5185
  } }, R = (0, h.Z)(I).getInstance().getLogger(i), i;
5186
5186
  }
5187
- po.__dashjs_factory_name = "MediaSourceController";
5188
- var mu = E.Z.getSingletonFactory(po);
5189
- function yo() {
5187
+ yo.__dashjs_factory_name = "MediaSourceController";
5188
+ var mu = E.Z.getSingletonFactory(yo);
5189
+ function _o() {
5190
5190
  var i, r, l, _, R, I, y, w, F, q, G, N = "urn:mpeg:dash:event:2012", U = "discarded", Z = "updated", de = "added", re = this.context, ce = (0, m.Z)(re).getInstance();
5191
5191
  function he() {
5192
5192
  if (!y || !w) throw new Error("setConfig function has to be called previously");
@@ -5372,14 +5372,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
5372
5372
  })(), H();
5373
5373
  } }, r = (0, h.Z)(re).getInstance().getLogger(i), H(), i;
5374
5374
  }
5375
- yo.__dashjs_factory_name = "EventController";
5376
- var pu = E.Z.getSingletonFactory(yo), fi = { LEVELS: { SUGGESTION: "Suggestion", WARNING: "Warning", ERROR: "Error" }, EVENTS: { NO_UTC_TIMING_ELEMENT: { key: "NO_UTC_TIMING_ELEMENT", message: "No UTCTiming element is present in the manifest. You may experience playback failures. For a detailed validation use https://conformance.dashif.org/" }, NON_COMPLIANT_SMPTE_IMAGE_ATTRIBUTE: { key: "NON_COMPLIANT_SMPTE_IMAGE_ATTRIBUTE", message: 'SMPTE 2052-1:2013 defines the attribute name as "imageType" and does not define "imagetype"' }, INVALID_DVR_WINDOW: { key: "INVALID_DVR_WINDOW", message: "No valid segment found when applying a specification compliant DVR window calculation. Using SegmentTimeline entries as a fallback." } } };
5375
+ _o.__dashjs_factory_name = "EventController";
5376
+ var pu = E.Z.getSingletonFactory(_o), fi = { LEVELS: { SUGGESTION: "Suggestion", WARNING: "Warning", ERROR: "Error" }, EVENTS: { NO_UTC_TIMING_ELEMENT: { key: "NO_UTC_TIMING_ELEMENT", message: "No UTCTiming element is present in the manifest. You may experience playback failures. For a detailed validation use https://conformance.dashif.org/" }, NON_COMPLIANT_SMPTE_IMAGE_ATTRIBUTE: { key: "NON_COMPLIANT_SMPTE_IMAGE_ATTRIBUTE", message: 'SMPTE 2052-1:2013 defines the attribute name as "imageType" and does not define "imagetype"' }, INVALID_DVR_WINDOW: { key: "INVALID_DVR_WINDOW", message: "No valid segment found when applying a specification compliant DVR window calculation. Using SegmentTimeline entries as a fallback." } } };
5377
5377
  function va(i, r) {
5378
5378
  (r == null || r > i.length) && (r = i.length);
5379
5379
  for (var l = 0, _ = new Array(r); l < r; l++) _[l] = i[l];
5380
5380
  return _;
5381
5381
  }
5382
- function _o() {
5382
+ function Eo() {
5383
5383
  var i, r, l, _, R, I, y, w, F, q, G, N, U, Z, de, re, ce, he, H, oe, V, fe, g, L, D, O, A, ie, z, ue, $, k, ee, pe, Pe, Re, xe, Oe, ut, lt, nt, rt, Ut, Ie, Ge, mt, ze, vt, Et = this.context, gt = (0, m.Z)(Et).getInstance();
5384
5384
  function Wt() {
5385
5385
  if (!(I && I.hasOwnProperty("load") && V && V.hasOwnProperty("initialize") && V.hasOwnProperty("reset") && V.hasOwnProperty("getClientTimeOffset") && y && oe && F && ee)) throw new Error(t.Z.MISSING_CONFIG_ERROR);
@@ -5406,7 +5406,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
5406
5406
  }
5407
5407
  Promise.all(Lt).then(function() {
5408
5408
  return new Promise(function(Sn, _n) {
5409
- g ? Sn() : yt(et, Sn, _n);
5409
+ g ? Sn() : _t(et, Sn, _n);
5410
5410
  });
5411
5411
  }).then(function() {
5412
5412
  gt.trigger(o.Z.STREAMS_COMPOSED), xt();
@@ -5425,7 +5425,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
5425
5425
  var Lt = Ri(et.id);
5426
5426
  return Lt ? Lt.updateData(et) : (Lt = Wr(Et).create({ manifestModel: y, mediaPlayerModel: Pe, dashMetrics: F, manifestUpdater: R, adapter: w, timelineConverter: V, capabilities: l, capabilitiesFilter: _, errHandler: oe, baseURLController: U, segmentBaseController: Z, textController: D, abrController: re, playbackController: ee, eventController: he, mediaController: ce, protectionController: L, videoModel: k, streamInfo: et, settings: Ie }), fe.push(Lt), Lt.initialize(), Promise.resolve());
5427
5427
  }
5428
- function yt(et, Lt, an) {
5428
+ function _t(et, Lt, an) {
5429
5429
  try {
5430
5430
  Xt();
5431
5431
  var hn = F.getCurrentDVRInfo().range;
@@ -5433,7 +5433,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
5433
5433
  mt && clearTimeout(mt);
5434
5434
  var bn = Math.min(1e3 * (-1 * (hn.end - hn.start) + 2), 2147483647);
5435
5435
  return r.debug("Waiting for ".concat(bn, " ms before playback can start")), gt.trigger(o.Z.AST_IN_FUTURE, { delay: bn }), void (mt = setTimeout(function() {
5436
- yt(et, Lt, an);
5436
+ _t(et, Lt, an);
5437
5437
  }, bn));
5438
5438
  }
5439
5439
  Ie.get().streaming.applyProducerReferenceTime && pe.calculateProducerReferenceTimeOffsets(et);
@@ -5809,7 +5809,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
5809
5809
  return fe;
5810
5810
  }
5811
5811
  return i = { initialize: function(et, Lt) {
5812
- Wt(), A = et, O = Lt, V.initialize(), (R = mo(Et).create()).setConfig({ manifestModel: y, adapter: w, manifestLoader: I, errHandler: oe, settings: Ie, contentSteeringController: N }), R.initialize(), (he = pu(Et).getInstance()).setConfig({ manifestUpdater: R, playbackController: ee, settings: Ie }), he.start(), G.setConfig({ dashMetrics: F, baseURLController: U, errHandler: oe, settings: Ie }), G.initialize(), q.setConfig({ settings: Ie }), L && (gt.trigger(o.Z.PROTECTION_CREATED, { controller: L }), L.setMediaElement(k.getElement()), O && L.setProtectionData(O)), gt.on(n.Z.PLAYBACK_TIME_UPDATED, ge, i), gt.on(n.Z.PLAYBACK_SEEKING, Qt, i), gt.on(n.Z.PLAYBACK_ERROR, Jr, i), gt.on(n.Z.PLAYBACK_STARTED, Ee, i), gt.on(n.Z.PLAYBACK_PAUSED, $e, i), gt.on(n.Z.PLAYBACK_ENDED, zn, i), gt.on(n.Z.METRIC_ADDED, ra, i), gt.on(n.Z.MANIFEST_VALIDITY_CHANGED, ta, i), gt.on(n.Z.BUFFER_LEVEL_UPDATED, Ke, i), gt.on(n.Z.QUALITY_CHANGE_REQUESTED, Le, i), o.Z.KEY_SESSION_UPDATED && gt.on(o.Z.KEY_SESSION_UPDATED, pn, i), gt.on(o.Z.MANIFEST_UPDATED, $r, i), gt.on(o.Z.STREAM_BUFFERING_COMPLETED, Ct, i), gt.on(o.Z.TIME_SYNCHRONIZATION_COMPLETED, gn, i), gt.on(o.Z.CURRENT_TRACK_CHANGED, ht, i), gt.on(o.Z.SETTING_UPDATED_LIVE_DELAY, ct, i), gt.on(o.Z.SETTING_UPDATED_LIVE_DELAY_FRAGMENT_COUNT, ct, i);
5812
+ Wt(), A = et, O = Lt, V.initialize(), (R = po(Et).create()).setConfig({ manifestModel: y, adapter: w, manifestLoader: I, errHandler: oe, settings: Ie, contentSteeringController: N }), R.initialize(), (he = pu(Et).getInstance()).setConfig({ manifestUpdater: R, playbackController: ee, settings: Ie }), he.start(), G.setConfig({ dashMetrics: F, baseURLController: U, errHandler: oe, settings: Ie }), G.initialize(), q.setConfig({ settings: Ie }), L && (gt.trigger(o.Z.PROTECTION_CREATED, { controller: L }), L.setMediaElement(k.getElement()), O && L.setProtectionData(O)), gt.on(n.Z.PLAYBACK_TIME_UPDATED, ge, i), gt.on(n.Z.PLAYBACK_SEEKING, Qt, i), gt.on(n.Z.PLAYBACK_ERROR, Jr, i), gt.on(n.Z.PLAYBACK_STARTED, Ee, i), gt.on(n.Z.PLAYBACK_PAUSED, $e, i), gt.on(n.Z.PLAYBACK_ENDED, zn, i), gt.on(n.Z.METRIC_ADDED, ra, i), gt.on(n.Z.MANIFEST_VALIDITY_CHANGED, ta, i), gt.on(n.Z.BUFFER_LEVEL_UPDATED, Ke, i), gt.on(n.Z.QUALITY_CHANGE_REQUESTED, Le, i), o.Z.KEY_SESSION_UPDATED && gt.on(o.Z.KEY_SESSION_UPDATED, pn, i), gt.on(o.Z.MANIFEST_UPDATED, $r, i), gt.on(o.Z.STREAM_BUFFERING_COMPLETED, Ct, i), gt.on(o.Z.TIME_SYNCHRONIZATION_COMPLETED, gn, i), gt.on(o.Z.CURRENT_TRACK_CHANGED, ht, i), gt.on(o.Z.SETTING_UPDATED_LIVE_DELAY, ct, i), gt.on(o.Z.SETTING_UPDATED_LIVE_DELAY_FRAGMENT_COUNT, ct, i);
5813
5813
  }, getActiveStreamInfo: Ar, addDVRMetric: Xt, hasVideoTrack: Or, hasAudioTrack: kr, getStreamById: Ri, getStreamForTime: Vt, getTimeRelativeToStreamId: function(et, Lt) {
5814
5814
  for (var an = null, hn = 0, bn = 0, Sn = null, _n = 0; _n < fe.length; _n++) {
5815
5815
  if (bn = (an = fe[_n]).getStartTime(), Sn = an.getDuration(), Number.isFinite(bn) && (hn = bn), an.getId() === Lt) return et - hn;
@@ -5842,9 +5842,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
5842
5842
  R.getIsUpdating() || R.refreshManifest();
5843
5843
  }, reset: jr }, r = (0, h.Z)(Et).getInstance().getLogger(i), G = hu(Et).getInstance(), q = mu(Et).getInstance(), H = Ae(Et).getInstance(), na(), i;
5844
5844
  }
5845
- _o.__dashjs_factory_name = "StreamController";
5846
- var Eo = E.Z.getSingletonFactory(_o);
5847
- function vo() {
5845
+ Eo.__dashjs_factory_name = "StreamController";
5846
+ var vo = E.Z.getSingletonFactory(Eo);
5847
+ function To() {
5848
5848
  var i, r, l, _, R, I, y, w, F, q, G, N, U = this.context, Z = (0, m.Z)(U).getInstance();
5849
5849
  function de() {
5850
5850
  N.debug("Stopping the gap controller"), R && (clearInterval(R), R = null), function() {
@@ -5938,9 +5938,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
5938
5938
  })();
5939
5939
  } }, N = (0, h.Z)(U).getInstance().getLogger(i), de(), i;
5940
5940
  }
5941
- vo.__dashjs_factory_name = "GapController";
5942
- var yu = E.Z.getSingletonFactory(vo);
5943
- function To() {
5941
+ To.__dashjs_factory_name = "GapController";
5942
+ var yu = E.Z.getSingletonFactory(To);
5943
+ function bo() {
5944
5944
  var i, r, l, _, R, I, y, w, F, q, G = this.context, N = (0, m.Z)(G).getInstance();
5945
5945
  function U() {
5946
5946
  r = !1;
@@ -6030,9 +6030,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
6030
6030
  N.on(n.Z.BUFFER_LEVEL_UPDATED, de, i), N.on(n.Z.BUFFER_LEVEL_STATE_CHANGED, re, i), N.on(n.Z.PLAYBACK_PROGRESS, he, i), N.on(n.Z.PLAYBACK_TIME_UPDATED, he, i), N.on(n.Z.PLAYBACK_SEEKED, Z, i), N.on(o.Z.SETTING_UPDATED_CATCHUP_ENABLED, ce, i), N.on(o.Z.SETTING_UPDATED_PLAYBACK_RATE_MIN, V, i), N.on(o.Z.SETTING_UPDATED_PLAYBACK_RATE_MAX, V, i), N.on(n.Z.STREAM_INITIALIZED, V, i), V();
6031
6031
  } }, q = (0, h.Z)(G).getInstance().getLogger(i), U(), i;
6032
6032
  }
6033
- To.__dashjs_factory_name = "CatchupController";
6034
- var _u = E.Z.getSingletonFactory(To), Eu = [t.Z.SERVICE_DESCRIPTION_DVB_LL_SCHEME], bo = "video", So = "audio";
6035
- function Ao() {
6033
+ bo.__dashjs_factory_name = "CatchupController";
6034
+ var _u = E.Z.getSingletonFactory(bo), Eu = [t.Z.SERVICE_DESCRIPTION_DVB_LL_SCHEME], So = "video", Ao = "audio";
6035
+ function Io() {
6036
6036
  var i, r, l, _, R, I = this.context;
6037
6037
  function y() {
6038
6038
  r = { liveDelay: NaN, liveCatchup: { maxDrift: NaN, playbackRate: { min: NaN, max: NaN } }, minBitrate: {}, maxBitrate: {}, initialBitrate: {}, contentSteering: null }, l = [];
@@ -6103,7 +6103,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
6103
6103
  var Z = {};
6104
6104
  Z.minBandwidth = U.operatingBandwidth.min, Z.maxBandwidth = U.operatingBandwidth.max, Z.targetBandwidth = U.operatingBandwidth.target;
6105
6105
  var de = [];
6106
- U.operatingBandwidth.mediaType === bo || U.operatingBandwidth.mediaType === So ? de.push(U.operatingBandwidth.mediaType) : U.operatingBandwidth.mediaType === "any" && (de.push(So), de.push(bo)), de.forEach(function(re) {
6106
+ U.operatingBandwidth.mediaType === So || U.operatingBandwidth.mediaType === Ao ? de.push(U.operatingBandwidth.mediaType) : U.operatingBandwidth.mediaType === "any" && (de.push(Ao), de.push(So)), de.forEach(function(re) {
6107
6107
  isNaN(Z.minBandwidth) || w("minBitrate", re, Z.minBandwidth), isNaN(Z.maxBandwidth) || w("maxBitrate", re, Z.maxBandwidth), isNaN(Z.targetBandwidth) || w("initialBitrate", re, Z.targetBandwidth);
6108
6108
  });
6109
6109
  }
@@ -6117,8 +6117,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
6117
6117
  F && F.adapter && (R = F.adapter);
6118
6118
  } }, _ = (0, h.Z)(I).getInstance().getLogger(i), y(), i;
6119
6119
  }
6120
- Ao.__dashjs_factory_name = "ServiceDescriptionController";
6121
- var vu = E.Z.getSingletonFactory(Ao), Tu = C(3973), Gi = C.n(Tu), Io = C(3039);
6120
+ Io.__dashjs_factory_name = "ServiceDescriptionController";
6121
+ var vu = E.Z.getSingletonFactory(Io), Tu = C(3973), Gi = C.n(Tu), Ro = C(3039);
6122
6122
  function Ta() {
6123
6123
  var i, r, l, _, R, I, y, w, F = this.context, q = (0, m.Z)(F).getInstance();
6124
6124
  function G(k, ee) {
@@ -6165,7 +6165,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
6165
6165
  }
6166
6166
  function oe(k, ee) {
6167
6167
  try {
6168
- return !k.lang || k.lang instanceof RegExp ? ee.lang.match(k.lang) : ee.lang !== "" && (0, Io.extendedFilter)(ee.lang, Gi()(k.lang)).length > 0;
6168
+ return !k.lang || k.lang instanceof RegExp ? ee.lang.match(k.lang) : ee.lang !== "" && (0, Ro.extendedFilter)(ee.lang, Gi()(k.lang)).length > 0;
6169
6169
  } catch {
6170
6170
  return !1;
6171
6171
  }
@@ -6286,7 +6286,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
6286
6286
  if (k.lang instanceof RegExp) Pe = ee.lang.match(k.lang);
6287
6287
  else if (ee.lang !== "") {
6288
6288
  var Re = Gi()(k.lang);
6289
- Re && (Pe = (0, Io.extendedFilter)(ee.lang, Re).length > 0);
6289
+ Re && (Pe = (0, Ro.extendedFilter)(ee.lang, Re).length > 0);
6290
6290
  }
6291
6291
  } else Pe = !0;
6292
6292
  var xe = k.index === void 0 || k.index === null || ee.index === k.index, Oe = !k.viewpoint || k.viewpoint === ee.viewpoint, ut = !k.role || !!ee.roles.filter(function(rt) {
@@ -6307,18 +6307,18 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
6307
6307
  }, reset: ce }, r = (0, h.Z)(F).getInstance().getLogger(i), ce(), i;
6308
6308
  }
6309
6309
  Ta.__dashjs_factory_name = "MediaController";
6310
- var Ro = E.Z.getSingletonFactory(Ta);
6311
- E.Z.updateSingletonFactory(Ta.__dashjs_factory_name, Ro);
6312
- var bu = Ro, Hi = NaN, wo = function i(r, l) {
6310
+ var wo = E.Z.getSingletonFactory(Ta);
6311
+ E.Z.updateSingletonFactory(Ta.__dashjs_factory_name, wo);
6312
+ var bu = wo, Hi = NaN, Co = function i(r, l) {
6313
6313
  (function(_, R) {
6314
6314
  if (!(_ instanceof R)) throw new TypeError("Cannot call a class as a function");
6315
6315
  })(this, i), this.data = { baseUrls: r || null, selectedIdx: l || Hi }, this.children = [];
6316
6316
  };
6317
- function Co() {
6317
+ function No() {
6318
6318
  var i, r, l, _, R = this.context, I = Zt(R).getInstance();
6319
6319
  function y(G, N, U) {
6320
6320
  var Z = w(U);
6321
- G[N] ? I.areEqual(Z, G[N].data.baseUrls) || (G[N].data.baseUrls = Z, G[N].data.selectedIdx = Hi) : G[N] = new wo(Z);
6321
+ G[N] ? I.areEqual(Z, G[N].data.baseUrls) || (G[N].data.baseUrls = Z, G[N].data.selectedIdx = Hi) : G[N] = new Co(Z);
6322
6322
  }
6323
6323
  function w(G) {
6324
6324
  var N = l.getBaseURLsFromElement(G), U = _.getSynthesizedBaseUrlElements(N);
@@ -6331,7 +6331,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
6331
6331
  });
6332
6332
  }
6333
6333
  function q() {
6334
- r = new wo();
6334
+ r = new Co();
6335
6335
  }
6336
6336
  return i = { reset: q, update: function(G) {
6337
6337
  (function(N) {
@@ -6364,9 +6364,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
6364
6364
  return w(G);
6365
6365
  } }, q(), i;
6366
6366
  }
6367
- Co.__dashjs_factory_name = "BaseURLTreeModel";
6368
- var Su = E.Z.getClassFactory(Co);
6369
- function No(i) {
6367
+ No.__dashjs_factory_name = "BaseURLTreeModel";
6368
+ var Su = E.Z.getClassFactory(No);
6369
+ function Do(i) {
6370
6370
  var r = (i = i || {}).blacklistController;
6371
6371
  return { select: function(l) {
6372
6372
  return l && function(R) {
@@ -6389,9 +6389,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
6389
6389
  var _;
6390
6390
  } };
6391
6391
  }
6392
- No.__dashjs_factory_name = "DVBSelector";
6393
- var Au = E.Z.getClassFactory(No);
6394
- function Do(i) {
6392
+ Do.__dashjs_factory_name = "DVBSelector";
6393
+ var Au = E.Z.getClassFactory(Do);
6394
+ function Oo(i) {
6395
6395
  var r = (i = i || {}).blacklistController;
6396
6396
  return { select: function(l) {
6397
6397
  var _, R = 0;
@@ -6400,9 +6400,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
6400
6400
  }) && (_ = l[R]), _;
6401
6401
  } };
6402
6402
  }
6403
- Do.__dashjs_factory_name = "BasicSelector";
6404
- var Iu = E.Z.getClassFactory(Do);
6405
- function Oo() {
6403
+ Oo.__dashjs_factory_name = "BasicSelector";
6404
+ var Iu = E.Z.getClassFactory(Oo);
6405
+ function Mo() {
6406
6406
  var i, r, l, _ = this.context;
6407
6407
  function R() {
6408
6408
  for (var I = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], y = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], w = 0, F = NaN, q = function() {
@@ -6429,9 +6429,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
6429
6429
  I.blacklistController && (l = I.blacklistController), I.contentSteeringController && (r = I.contentSteeringController);
6430
6430
  } }, r = Sr(_).getInstance(), i;
6431
6431
  }
6432
- Oo.__dashjs_factory_name = "ContentSteeringSelector";
6433
- var Ru = E.Z.getClassFactory(Oo);
6434
- function Mo() {
6432
+ Mo.__dashjs_factory_name = "ContentSteeringSelector";
6433
+ var Ru = E.Z.getClassFactory(Mo);
6434
+ function Lo() {
6435
6435
  var i, r, l, _, R, I, y = this.context, w = (0, m.Z)(y).getInstance(), F = (0, De.Z)(y).getInstance();
6436
6436
  function q() {
6437
6437
  r.reset();
@@ -6452,9 +6452,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
6452
6452
  G.selector && (I = G.selector), G.contentSteeringSelector && (R = G.contentSteeringSelector);
6453
6453
  } }, r = li(y).create({ updateEventName: o.Z.SERVICE_LOCATION_BASE_URL_BLACKLIST_CHANGED, addBlacklistEventName: o.Z.SERVICE_LOCATION_BASE_URL_BLACKLIST_ADD }), l = Iu(y).create({ blacklistController: r }), _ = Au(y).create({ blacklistController: r }), (R = Ru(y).create()).setConfig({ blacklistController: r }), I = l, i;
6454
6454
  }
6455
- Mo.__dashjs_factory_name = "BaseURLSelector";
6456
- var wu = E.Z.getClassFactory(Mo);
6457
- function Lo() {
6455
+ Lo.__dashjs_factory_name = "BaseURLSelector";
6456
+ var wu = E.Z.getClassFactory(Lo);
6457
+ function Po() {
6458
6458
  var i, r, l, _, R, I = this.context, y = (0, m.Z)(I).getInstance(), w = (0, tt.Z)(I).getInstance();
6459
6459
  function F(G) {
6460
6460
  l.update(G), _.chooseSelector(r.getIsDVB(G)), y.trigger(n.Z.BASE_URLS_UPDATED, { baseUrls: q(G) });
@@ -6478,8 +6478,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
6478
6478
  l.invalidateSelectedIndexes(G.entry);
6479
6479
  }, i), i;
6480
6480
  }
6481
- Lo.__dashjs_factory_name = "BaseURLController";
6482
- var Cu = E.Z.getClassFactory(Lo);
6481
+ Po.__dashjs_factory_name = "BaseURLController";
6482
+ var Cu = E.Z.getClassFactory(Po);
6483
6483
  function ba(i) {
6484
6484
  return ba = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(r) {
6485
6485
  return typeof r;
@@ -6503,7 +6503,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
6503
6503
  return r.__proto__ || Object.getPrototypeOf(r);
6504
6504
  }, qi(i);
6505
6505
  }
6506
- var Po = function(i) {
6506
+ var xo = function(i) {
6507
6507
  (function(I, y) {
6508
6508
  if (typeof y != "function" && y !== null) throw new TypeError("Super expression must either be null or a function");
6509
6509
  I.prototype = Object.create(y && y.prototype, { constructor: { value: I, writable: !0, configurable: !0 } }), y && Sa(I, y);
@@ -6533,7 +6533,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
6533
6533
  }
6534
6534
  return R;
6535
6535
  }(S.Z);
6536
- function xo(i) {
6536
+ function Fo(i) {
6537
6537
  i = i || {};
6538
6538
  var r = this.context, l = (0, m.Z)(r).getInstance(), _ = ur(r).create({ errHandler: i.errHandler, dashMetrics: i.dashMetrics, mediaPlayerModel: i.mediaPlayerModel, requestModifier: i.requestModifier, errors: X });
6539
6539
  return { load: function(R, I, y) {
@@ -6542,7 +6542,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
6542
6542
  };
6543
6543
  if (R === "urn:mpeg:dash:resolve-to-zero:2013") w(null, !0);
6544
6544
  else {
6545
- var F = new Po(R, Ue.w.XLINK_EXPANSION_TYPE);
6545
+ var F = new xo(R, Ue.w.XLINK_EXPANSION_TYPE);
6546
6546
  _.load({ request: F, success: function(q) {
6547
6547
  w(q);
6548
6548
  }, error: function() {
@@ -6553,8 +6553,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
6553
6553
  _ && (_.abort(), _ = null);
6554
6554
  } };
6555
6555
  }
6556
- xo.__dashjs_factory_name = "XlinkLoader";
6557
- var Du = E.Z.getClassFactory(xo), Fo = function(i) {
6556
+ Fo.__dashjs_factory_name = "XlinkLoader";
6557
+ var Du = E.Z.getClassFactory(Fo), ko = function(i) {
6558
6558
  (i = i || {}).escapeMode === void 0 && (i.escapeMode = !0), i.attributePrefix === void 0 && (i.attributePrefix = "_"), i.arrayAccessForm = i.arrayAccessForm || "none", i.emptyNodeForm = i.emptyNodeForm || "text", i.enableToStringFunc === void 0 && (i.enableToStringFunc = !0), i.arrayAccessFormPaths = i.arrayAccessFormPaths || [], i.skipEmptyTextNodesForObj === void 0 && (i.skipEmptyTextNodesForObj = !0), i.stripWhitespaces === void 0 && (i.stripWhitespaces = !0), i.datetimeAccessFormPaths = i.datetimeAccessFormPaths || [], i.useDoubleQuotes === void 0 && (i.useDoubleQuotes = !1), i.xmlElementsFilter = i.xmlElementsFilter || [], i.jsonPropertiesFilter = i.jsonPropertiesFilter || [], i.keepCData === void 0 && (i.keepCData = !1), i.ignoreRoot === void 0 && (i.ignoreRoot = !1);
6559
6559
  function r(H) {
6560
6560
  var oe = H.localName;
@@ -6721,7 +6721,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
6721
6721
  return "1.2.0";
6722
6722
  };
6723
6723
  }, di = "onLoad";
6724
- function ko(i) {
6724
+ function Zo(i) {
6725
6725
  i = i || {};
6726
6726
  var r, l, _, R, I, y, w = this.context, F = (0, m.Z)(w).getInstance(), q = (0, tt.Z)(w).getInstance();
6727
6727
  function G(re, ce, he) {
@@ -6772,7 +6772,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
6772
6772
  return { url: re, parentElement: ce, type: he, index: H, resolveType: oe, originalContent: V, resolvedContent: null, resolved: !1 };
6773
6773
  }
6774
6774
  return r = { resolveManifestOnLoad: function(re) {
6775
- I = new Fo({ escapeMode: !1, attributePrefix: "", arrayAccessForm: "property", emptyNodeForm: "object", stripWhitespaces: !1, enableToStringFunc: !1, ignoreRoot: !0, matchers: l }), (R = re).Period_asArray ? G(Z(R.Period_asArray, R, e.Z.PERIOD, di), e.Z.PERIOD, di) : F.trigger(o.Z.XLINK_READY, { manifest: R });
6775
+ I = new ko({ escapeMode: !1, attributePrefix: "", arrayAccessForm: "property", emptyNodeForm: "object", stripWhitespaces: !1, enableToStringFunc: !1, ignoreRoot: !0, matchers: l }), (R = re).Period_asArray ? G(Z(R.Period_asArray, R, e.Z.PERIOD, di), e.Z.PERIOD, di) : F.trigger(o.Z.XLINK_READY, { manifest: R });
6776
6776
  }, setMatchers: function(re) {
6777
6777
  re && (l = re);
6778
6778
  }, setIron: function(re) {
@@ -6781,8 +6781,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
6781
6781
  F.off(o.Z.XLINK_ELEMENT_LOADED, N, r), y && (y.reset(), y = null);
6782
6782
  } }, F.on(o.Z.XLINK_ELEMENT_LOADED, N, r), y = Du(w).create({ errHandler: i.errHandler, dashMetrics: i.dashMetrics, mediaPlayerModel: i.mediaPlayerModel, requestModifier: i.requestModifier, settings: i.settings }), r;
6783
6783
  }
6784
- ko.__dashjs_factory_name = "XlinkController";
6785
- var Ou = E.Z.getClassFactory(ko);
6784
+ Zo.__dashjs_factory_name = "XlinkController";
6785
+ var Ou = E.Z.getClassFactory(Zo);
6786
6786
  function Si(i) {
6787
6787
  return Si = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(r) {
6788
6788
  return typeof r;
@@ -6790,7 +6790,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
6790
6790
  return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r;
6791
6791
  }, Si(i);
6792
6792
  }
6793
- function Zo(i) {
6793
+ function Uo(i) {
6794
6794
  function r(R, I) {
6795
6795
  for (var y in R) I.hasOwnProperty(y) || (I[y] = R[y]);
6796
6796
  }
@@ -6826,8 +6826,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
6826
6826
  return R;
6827
6827
  } };
6828
6828
  }
6829
- Zo.__dashjs_factory_name = "ObjectIron";
6830
- var Mu = E.Z.getClassFactory(Zo);
6829
+ Uo.__dashjs_factory_name = "ObjectIron";
6830
+ var Mu = E.Z.getClassFactory(Uo);
6831
6831
  function Lu(i, r) {
6832
6832
  for (var l = 0; l < r.length; l++) {
6833
6833
  var _ = r[l];
@@ -6934,7 +6934,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
6934
6934
  return r.__proto__ || Object.getPrototypeOf(r);
6935
6935
  }, ji(i);
6936
6936
  }
6937
- var Uo = /^([-])?P(([\d.]*)Y)?(([\d.]*)M)?(([\d.]*)D)?T?(([\d.]*)H)?(([\d.]*)M)?(([\d.]*)S)?/, ku = function(i) {
6937
+ var Bo = /^([-])?P(([\d.]*)Y)?(([\d.]*)M)?(([\d.]*)D)?T?(([\d.]*)H)?(([\d.]*)M)?(([\d.]*)S)?/, ku = function(i) {
6938
6938
  (function(I, y) {
6939
6939
  if (typeof y != "function" && y !== null) throw new TypeError("Super expression must either be null or a function");
6940
6940
  I.prototype = Object.create(y.prototype, { constructor: { value: I, writable: !0, configurable: !0 } }), wa(I, y);
@@ -6960,10 +6960,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
6960
6960
  return function(I, y) {
6961
6961
  if (!(I instanceof y)) throw new TypeError("Cannot call a class as a function");
6962
6962
  }(this, R), _.call(this, function(I) {
6963
- for (var y = [e.Z.MIN_BUFFER_TIME, e.Z.MEDIA_PRESENTATION_DURATION, e.Z.MINIMUM_UPDATE_PERIOD, e.Z.TIMESHIFT_BUFFER_DEPTH, e.Z.MAX_SEGMENT_DURATION, e.Z.MAX_SUBSEGMENT_DURATION, e.Z.SUGGESTED_PRESENTATION_DELAY, e.Z.START, t.Z.START_TIME, e.Z.DURATION], w = y.length, F = 0; F < w; F++) if (I.nodeName === y[F]) return Uo.test(I.value);
6963
+ for (var y = [e.Z.MIN_BUFFER_TIME, e.Z.MEDIA_PRESENTATION_DURATION, e.Z.MINIMUM_UPDATE_PERIOD, e.Z.TIMESHIFT_BUFFER_DEPTH, e.Z.MAX_SEGMENT_DURATION, e.Z.MAX_SUBSEGMENT_DURATION, e.Z.SUGGESTED_PRESENTATION_DELAY, e.Z.START, t.Z.START_TIME, e.Z.DURATION], w = y.length, F = 0; F < w; F++) if (I.nodeName === y[F]) return Bo.test(I.value);
6964
6964
  return !1;
6965
6965
  }, function(I) {
6966
- var y = Uo.exec(I), w = 31536e3 * parseFloat(y[3] || 0) + 2592e3 * parseFloat(y[5] || 0) + 86400 * parseFloat(y[7] || 0) + 3600 * parseFloat(y[9] || 0) + 60 * parseFloat(y[11] || 0) + parseFloat(y[13] || 0);
6966
+ var y = Bo.exec(I), w = 31536e3 * parseFloat(y[3] || 0) + 2592e3 * parseFloat(y[5] || 0) + 86400 * parseFloat(y[7] || 0) + 3600 * parseFloat(y[9] || 0) + 60 * parseFloat(y[11] || 0) + parseFloat(y[13] || 0);
6967
6967
  return y[1] !== void 0 && (w = -w), w;
6968
6968
  });
6969
6969
  }
@@ -6992,7 +6992,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
6992
6992
  return r.__proto__ || Object.getPrototypeOf(r);
6993
6993
  }, Yi(i);
6994
6994
  }
6995
- var Bo = /^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2})(?::([0-9]*)(\.[0-9]*)?)?(?:([+-])([0-9]{2})(?::?)([0-9]{2}))?/, Uu = function(i) {
6995
+ var Go = /^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2})(?::([0-9]*)(\.[0-9]*)?)?(?:([+-])([0-9]{2})(?::?)([0-9]{2}))?/, Uu = function(i) {
6996
6996
  (function(I, y) {
6997
6997
  if (typeof y != "function" && y !== null) throw new TypeError("Super expression must either be null or a function");
6998
6998
  I.prototype = Object.create(y.prototype, { constructor: { value: I, writable: !0, configurable: !0 } }), Na(I, y);
@@ -7018,9 +7018,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
7018
7018
  return function(I, y) {
7019
7019
  if (!(I instanceof y)) throw new TypeError("Cannot call a class as a function");
7020
7020
  }(this, R), _.call(this, function(I) {
7021
- return Bo.test(I.value);
7021
+ return Go.test(I.value);
7022
7022
  }, function(I) {
7023
- var y, w = Bo.exec(I);
7023
+ var y, w = Go.exec(I);
7024
7024
  if (y = Date.UTC(parseInt(w[1], 10), parseInt(w[2], 10) - 1, parseInt(w[3], 10), parseInt(w[4], 10), parseInt(w[5], 10), w[6] && parseInt(w[6], 10) || 0, w[7] && 1e3 * parseFloat(w[7]) || 0), w[9] && w[10]) {
7025
7025
  var F = 60 * parseInt(w[9], 10) + parseInt(w[10], 10);
7026
7026
  y += (w[8] === "+" ? -1 : 1) * F * 60 * 1e3;
@@ -7302,7 +7302,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
7302
7302
  }
7303
7303
  return R;
7304
7304
  }(gi);
7305
- function Go(i) {
7305
+ function Ho(i) {
7306
7306
  i = i || {};
7307
7307
  var r, l, _, R, I, y = this.context, w = i.debug;
7308
7308
  return r = { parse: function(F) {
@@ -7320,11 +7320,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
7320
7320
  return _;
7321
7321
  }, getIron: function() {
7322
7322
  return I;
7323
- } }, l = w.getLogger(r), _ = [new ku(), new Uu(), new Hu(), new Vu(), new xu()], R = new Fo({ escapeMode: !1, attributePrefix: "", arrayAccessForm: "property", emptyNodeForm: "object", stripWhitespaces: !1, enableToStringFunc: !0, ignoreRoot: !1, matchers: _ }), I = Mu(y).create({ adaptationset: new Wu(), period: new Xu() }), r;
7323
+ } }, l = w.getLogger(r), _ = [new ku(), new Uu(), new Hu(), new Vu(), new xu()], R = new ko({ escapeMode: !1, attributePrefix: "", arrayAccessForm: "property", emptyNodeForm: "object", stripWhitespaces: !1, enableToStringFunc: !0, ignoreRoot: !1, matchers: _ }), I = Mu(y).create({ adaptationset: new Wu(), period: new Xu() }), r;
7324
7324
  }
7325
- Go.__dashjs_factory_name = "DashParser";
7326
- var $u = E.Z.getClassFactory(Go);
7327
- function Ho(i) {
7325
+ Ho.__dashjs_factory_name = "DashParser";
7326
+ var $u = E.Z.getClassFactory(Ho);
7327
+ function qo(i) {
7328
7328
  i = i || {};
7329
7329
  var r, l, _, R, I, y = this.context, w = i.debug, F = i.settings, q = (0, m.Z)(y).getInstance(), G = (0, tt.Z)(y).getInstance(), N = i.mssHandler, U = i.errHandler;
7330
7330
  function Z(re) {
@@ -7335,7 +7335,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
7335
7335
  return re.indexOf("SmoothStreamingMedia") > -1 ? (N && (ce = N.createMssParser(), N.createMssFragmentProcessor(), N.registerEvents()), ce) : re.indexOf("MPD") > -1 || re.indexOf("Patch") > -1 ? $u(y).create({ debug: w }) : ce;
7336
7336
  }
7337
7337
  return r = { load: function(re) {
7338
- var ce = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, he = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : null, H = /* @__PURE__ */ new Date(), oe = new Po(re, Ue.w.MPD_TYPE);
7338
+ var ce = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, he = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : null, H = /* @__PURE__ */ new Date(), oe = new xo(re, Ue.w.MPD_TYPE);
7339
7339
  ce && (oe.serviceLocation = ce), he && (oe.queryParams = he), oe.requestStartDate || (oe.requestStartDate = H), q.trigger(o.Z.MANIFEST_LOADING_STARTED, { request: oe }), _.load({ request: oe, success: function(V, fe, g) {
7340
7340
  var L, D, O;
7341
7341
  if (R) if (g && g !== re ? (D = G.parseBaseUrl(g), L = g) : (G.isRelative(re) && (re = G.resolve(re, window.location.href)), D = G.parseBaseUrl(re)), fe != "No Content") if (I === null && (I = de(V)), I !== null) {
@@ -7363,17 +7363,17 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
7363
7363
  q.off(o.Z.XLINK_READY, Z, r), N && N.reset(), R && (R.reset(), R = null), _ && (_.abort(), _ = null);
7364
7364
  } }, l = w.getLogger(r), q.on(o.Z.XLINK_READY, Z, r), _ = ur(y).create({ errHandler: i.errHandler, dashMetrics: i.dashMetrics, mediaPlayerModel: i.mediaPlayerModel, requestModifier: i.requestModifier, urlUtils: G, constants: t.Z, dashConstants: e.Z, errors: X, requestTimeout: i.settings.get().streaming.manifestRequestTimeout }), R = Ou(y).create({ errHandler: U, dashMetrics: i.dashMetrics, mediaPlayerModel: i.mediaPlayerModel, requestModifier: i.requestModifier, settings: i.settings }), I = null, r;
7365
7365
  }
7366
- Ho.__dashjs_factory_name = "ManifestLoader";
7367
- var Ju = E.Z.getClassFactory(Ho);
7368
- function qo() {
7366
+ qo.__dashjs_factory_name = "ManifestLoader";
7367
+ var Ju = E.Z.getClassFactory(qo);
7368
+ function Vo() {
7369
7369
  var i = this.context, r = (0, m.Z)(i).getInstance();
7370
7370
  return { error: function(l) {
7371
7371
  r.trigger(o.Z.ERROR, { error: l });
7372
7372
  } };
7373
7373
  }
7374
- qo.__dashjs_factory_name = "ErrorHandler";
7375
- var el = E.Z.getSingletonFactory(qo), Vo = C(1715);
7376
- function jo() {
7374
+ Vo.__dashjs_factory_name = "ErrorHandler";
7375
+ var el = E.Z.getSingletonFactory(Vo), jo = C(1715);
7376
+ function Yo() {
7377
7377
  var i, r, l, _, R, I, y = this.context, w = (0, m.Z)(y).getInstance();
7378
7378
  function F(q, G) {
7379
7379
  if (!G || !G.Period_asArray || G.Period_asArray.length === 0) return Promise.resolve();
@@ -7465,13 +7465,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
7465
7465
  });
7466
7466
  } }, I = (0, h.Z)(y).getInstance().getLogger(i), i;
7467
7467
  }
7468
- jo.__dashjs_factory_name = "CapabilitiesFilter";
7469
- var tl = E.Z.getSingletonFactory(jo), nl = function i() {
7468
+ Yo.__dashjs_factory_name = "CapabilitiesFilter";
7469
+ var tl = E.Z.getSingletonFactory(Yo), nl = function i() {
7470
7470
  (function(r, l) {
7471
7471
  if (!(r instanceof l)) throw new TypeError("Cannot call a class as a function");
7472
7472
  })(this, i), this.t = null, this.xywh = null, this.track = null, this.id = null, this.s = null, this.r = null;
7473
7473
  };
7474
- function Yo() {
7474
+ function Ko() {
7475
7475
  var i;
7476
7476
  return { initialize: function(r) {
7477
7477
  if (i = new nl(), !r) return null;
@@ -7487,9 +7487,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
7487
7487
  return i;
7488
7488
  } };
7489
7489
  }
7490
- Yo.__dashjs_factory_name = "URIFragmentModel";
7491
- var rl = E.Z.getSingletonFactory(Yo);
7492
- function Ko() {
7490
+ Ko.__dashjs_factory_name = "URIFragmentModel";
7491
+ var rl = E.Z.getSingletonFactory(Ko);
7492
+ function zo() {
7493
7493
  var i, r = this.context, l = (0, m.Z)(r).getInstance();
7494
7494
  return { getValue: function() {
7495
7495
  return i;
@@ -7497,9 +7497,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
7497
7497
  i = _, _ && l.trigger(o.Z.MANIFEST_LOADED, { data: _ });
7498
7498
  } };
7499
7499
  }
7500
- Ko.__dashjs_factory_name = "ManifestModel";
7501
- var il = E.Z.getSingletonFactory(Ko), Za = -0.5;
7502
- function zo() {
7500
+ zo.__dashjs_factory_name = "ManifestModel";
7501
+ var il = E.Z.getSingletonFactory(zo), Za = -0.5;
7502
+ function Wo() {
7503
7503
  var i, r, l, _, R = this.context, I = (0, De.Z)(R).getInstance();
7504
7504
  function y(q, G) {
7505
7505
  return isNaN(q) ? 0 : q > 0 ? (G && r.warn("Supplied minimum playback rate is a positive value when it should be negative or 0. The supplied rate will not be applied and set to 0: 100% playback speed."), 0) : q < Za ? (G && r.warn("Supplied minimum playback rate is out of range and will be limited to ".concat(Za, ": ").concat(-50, "% playback speed.")), Za) : q;
@@ -7549,9 +7549,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
7549
7549
  }, reset: function() {
7550
7550
  } }, r = (0, h.Z)(R).getInstance().getLogger(i), i;
7551
7551
  }
7552
- zo.__dashjs_factory_name = "MediaPlayerModel";
7553
- var al = E.Z.getSingletonFactory(zo), ol = C(1767);
7554
- function Wo(i) {
7552
+ Wo.__dashjs_factory_name = "MediaPlayerModel";
7553
+ var al = E.Z.getSingletonFactory(Wo), ol = C(1767);
7554
+ function Qo(i) {
7555
7555
  var r = (i = i || {}).abrController, l = i.switchHistory, _ = i.droppedFramesHistory, R = i.currentRequest, I = i.useBufferOccupancyABR, y = i.useL2AABR, w = i.useLoLPABR, F = i.streamProcessor ? i.streamProcessor.getScheduleController() : null, q = i.streamProcessor ? i.streamProcessor.getRepresentationInfo() : null, G = i.videoModel ? i.videoModel : null;
7556
7556
  function N() {
7557
7557
  return q ? q.mediaInfo : null;
@@ -7584,9 +7584,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
7584
7584
  return G;
7585
7585
  } };
7586
7586
  }
7587
- Wo.__dashjs_factory_name = "RulesContext";
7588
- var Qo = E.Z.getClassFactory(Wo), Xi = C(2068);
7589
- function Xo() {
7587
+ Qo.__dashjs_factory_name = "RulesContext";
7588
+ var Xo = E.Z.getClassFactory(Qo), Xi = C(2068);
7589
+ function $o() {
7590
7590
  var i = [], r = [];
7591
7591
  return { push: function(l) {
7592
7592
  l.newValue === Xi.Z.NO_CHANGE && (l.newValue = l.oldValue), i[l.oldValue] || (i[l.oldValue] = { noDrops: 0, drops: 0, dropSize: 0 });
@@ -7601,9 +7601,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
7601
7601
  i = [], r = [];
7602
7602
  } };
7603
7603
  }
7604
- Xo.__dashjs_factory_name = "SwitchRequestHistory";
7605
- var sl = E.Z.getClassFactory(Xo);
7606
- function $o() {
7604
+ $o.__dashjs_factory_name = "SwitchRequestHistory";
7605
+ var sl = E.Z.getClassFactory($o);
7606
+ function Jo() {
7607
7607
  var i = {}, r = {}, l = {};
7608
7608
  return { push: function(_, R, I) {
7609
7609
  if (R) {
@@ -7626,9 +7626,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
7626
7626
  i = {}, r = {}, l = {};
7627
7627
  } };
7628
7628
  }
7629
- $o.__dashjs_factory_name = "DroppedFramesHistory";
7630
- var ul = E.Z.getClassFactory($o);
7631
- function Jo(i) {
7629
+ Jo.__dashjs_factory_name = "DroppedFramesHistory";
7630
+ var ul = E.Z.getClassFactory(Jo);
7631
+ function es(i) {
7632
7632
  var r, l, _, R, I, y = this.context, w = (i = i || {}).settings, F = (0, m.Z)(y).getInstance();
7633
7633
  function q(re, ce, he, H) {
7634
7634
  var oe = Math.pow(0.5, he / H.fast);
@@ -7700,8 +7700,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
7700
7700
  }, reset: Z };
7701
7701
  return I = { throughputHalfLife: { fast: 3, slow: 8 }, latencyHalfLife: { fast: 1, slow: 2 } }, Z(), de;
7702
7702
  }
7703
- Jo.__dashjs_factory_name = "ThroughputHistory";
7704
- var ll = E.Z.getClassFactory(Jo);
7703
+ es.__dashjs_factory_name = "ThroughputHistory";
7704
+ var ll = E.Z.getClassFactory(es);
7705
7705
  function Ua() {
7706
7706
  var i, r, l, _, R, I, y, w, F, q, G, N, U, Z, de, re, ce, he, H, oe, V, fe, g, L, D, O, A, ie = this.context, z = (0, h.Z)(ie).getInstance(), ue = (0, m.Z)(ie).getInstance();
7707
7707
  function $() {
@@ -7712,7 +7712,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
7712
7712
  if (Ge && mt && y[mt] && A.get().streaming.abr.autoSwitchBitrate[Ge]) {
7713
7713
  var ze = y[mt][Ge];
7714
7714
  if (ze) {
7715
- var vt = Qo(ie).create({ abrController: i, streamProcessor: ze, currentRequest: Ie.request, useBufferOccupancyABR: g[Ge], useL2AABR: L[Ge], useLoLPABR: D[Ge], videoModel: Z }), Et = l.shouldAbandonFragment(vt, mt);
7715
+ var vt = Xo(ie).create({ abrController: i, streamProcessor: ze, currentRequest: Ie.request, useBufferOccupancyABR: g[Ge], useL2AABR: L[Ge], useLoLPABR: D[Ge], videoModel: Z }), Et = l.shouldAbandonFragment(vt, mt);
7716
7716
  Et.quality > Xi.Z.NO_CHANGE && ze.getFragmentModel().getRequests({ state: K.FRAGMENT_MODEL_LOADING, index: Ie.request.index })[0] && (w[mt][Ge].state = p.Z.ABANDON_LOAD, oe[mt][Ge].reset(), oe[mt][Ge].push({ oldValue: xe(Ge, mt), newValue: Et.quality, confidence: 1, reason: Et.reason }), Oe(Ge, _.getActiveStreamInfo(), Et.quality, Et.reason), clearTimeout(F), F = setTimeout(function() {
7717
7717
  w[mt][Ge].state = p.Z.ALLOW_LOAD, F = null;
7718
7718
  }, A.get().streaming.abandonLoadTimeout));
@@ -7893,7 +7893,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
7893
7893
  mt && V.push(Ge, H, mt);
7894
7894
  }
7895
7895
  if (!A.get().streaming.abr.autoSwitchBitrate[Ie]) return !1;
7896
- var ze = xe(Ie, Ge), vt = Qo(ie).create({ abrController: i, switchHistory: oe[Ge][Ie], droppedFramesHistory: V, streamProcessor: y[Ge][Ie], currentValue: ze, useBufferOccupancyABR: g[Ie], useL2AABR: L[Ie], useLoLPABR: D[Ie], videoModel: Z }), Et = Re(Ie, Ge), gt = Pe(Ie, Ge), Wt = l.getMaxQuality(vt), zt = Wt.quality;
7896
+ var ze = xe(Ie, Ge), vt = Xo(ie).create({ abrController: i, switchHistory: oe[Ge][Ie], droppedFramesHistory: V, streamProcessor: y[Ge][Ie], currentValue: ze, useBufferOccupancyABR: g[Ie], useL2AABR: L[Ie], useLoLPABR: D[Ie], videoModel: Z }), Et = Re(Ie, Ge), gt = Pe(Ie, Ge), Wt = l.getMaxQuality(vt), zt = Wt.quality;
7897
7897
  return Et !== void 0 && (zt > Xi.Z.NO_CHANGE ? zt : ze) < Et && (zt = Et), zt > gt && (zt = gt), oe[Ge][Ie].push({ oldValue: ze, newValue: zt }), zt > Xi.Z.NO_CHANGE && zt !== ze && (w[Ge][Ie].state === p.Z.ALLOW_LOAD || zt < ze) && (ut(Ie, ze, zt, gt, Wt.reason, Ge), !0);
7898
7898
  } catch {
7899
7899
  return !1;
@@ -7921,7 +7921,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
7921
7921
  var Ba = E.Z.getSingletonFactory(Ua);
7922
7922
  Ba.QUALITY_DEFAULT = 0, E.Z.updateSingletonFactory(Ua.__dashjs_factory_name, Ba);
7923
7923
  var cl = Ba, fl = /* @__PURE__ */ new Map([[t.Z.VIDEO_ELEMENT_READY_STATES.HAVE_METADATA, "loadedmetadata"], [t.Z.VIDEO_ELEMENT_READY_STATES.HAVE_CURRENT_DATA, "loadeddata"], [t.Z.VIDEO_ELEMENT_READY_STATES.HAVE_FUTURE_DATA, "canplay"], [t.Z.VIDEO_ELEMENT_READY_STATES.HAVE_ENOUGH_DATA, "canplaythrough"]]);
7924
- function es() {
7924
+ function ts() {
7925
7925
  var i, r, l, _, R, I, y, w, F = this.context, q = (0, m.Z)(F).getInstance(), G = [];
7926
7926
  function N() {
7927
7927
  l && (l.playbackRate = 1, l.removeEventListener("canplay", N));
@@ -8073,9 +8073,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8073
8073
  l && (l.disableRemotePlayback = V);
8074
8074
  } }, r = (0, h.Z)(F).getInstance().getLogger(i), _ = NaN, i;
8075
8075
  }
8076
- es.__dashjs_factory_name = "VideoModel";
8077
- var dl = E.Z.getSingletonFactory(es), gl = [{ oldKey: "dashjs_vbitrate", newKey: "dashjs_video_bitrate" }, { oldKey: "dashjs_abitrate", newKey: "dashjs_audio_bitrate" }, { oldKey: "dashjs_vsettings", newKey: "dashjs_video_settings" }, { oldKey: "dashjs_asettings", newKey: "dashjs_audio_settings" }], ts = "dashjs_?_bitrate", ns = "dashjs_?_settings", hi = "localStorage", rs = "lastBitrate", is = "lastMediaSettings";
8078
- function as(i) {
8076
+ ts.__dashjs_factory_name = "VideoModel";
8077
+ var dl = E.Z.getSingletonFactory(ts), gl = [{ oldKey: "dashjs_vbitrate", newKey: "dashjs_video_bitrate" }, { oldKey: "dashjs_abitrate", newKey: "dashjs_audio_bitrate" }, { oldKey: "dashjs_vsettings", newKey: "dashjs_video_settings" }, { oldKey: "dashjs_asettings", newKey: "dashjs_audio_settings" }], ns = "dashjs_?_bitrate", rs = "dashjs_?_settings", hi = "localStorage", is = "lastBitrate", as = "lastMediaSettings";
8078
+ function os(i) {
8079
8079
  i = i || {};
8080
8080
  var r, l, _, R = this.context, I = i.settings;
8081
8081
  function y(G) {
@@ -8108,8 +8108,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8108
8108
  return r = { getSavedBitrateSettings: function(G) {
8109
8109
  if (q(), !I.get().streaming.lastBitrateCachingInfo.enabled) return NaN;
8110
8110
  var N = NaN;
8111
- if (F(hi, rs)) {
8112
- var U = ts.replace(/\?/, G);
8111
+ if (F(hi, is)) {
8112
+ var U = ns.replace(/\?/, G);
8113
8113
  try {
8114
8114
  var Z = JSON.parse(localStorage.getItem(U)) || {}, de = (/* @__PURE__ */ new Date()).getTime() - parseInt(Z.timestamp, 10) >= I.get().streaming.lastBitrateCachingInfo.ttl || !1, re = parseFloat(Z.bitrate);
8115
8115
  isNaN(re) || de ? de && localStorage.removeItem(U) : (N = re, l.debug("Last saved bitrate for " + G + " was " + re));
@@ -8119,8 +8119,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8119
8119
  }
8120
8120
  return N;
8121
8121
  }, setSavedBitrateSettings: function(G, N) {
8122
- if (F(hi, rs) && N) {
8123
- var U = ts.replace(/\?/, G);
8122
+ if (F(hi, is) && N) {
8123
+ var U = ns.replace(/\?/, G);
8124
8124
  try {
8125
8125
  localStorage.setItem(U, JSON.stringify({ bitrate: N.toFixed(3), timestamp: w() }));
8126
8126
  } catch (Z) {
@@ -8130,8 +8130,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8130
8130
  }, getSavedMediaSettings: function(G) {
8131
8131
  if (q(), !I.get().streaming.lastMediaSettingsCachingInfo.enabled) return null;
8132
8132
  var N = null;
8133
- if (F(hi, is)) {
8134
- var U = ns.replace(/\?/, G);
8133
+ if (F(hi, as)) {
8134
+ var U = rs.replace(/\?/, G);
8135
8135
  try {
8136
8136
  var Z = JSON.parse(localStorage.getItem(U)) || {}, de = (/* @__PURE__ */ new Date()).getTime() - parseInt(Z.timestamp, 10) >= I.get().streaming.lastMediaSettingsCachingInfo.ttl || !1;
8137
8137
  N = Z.settings, de && (localStorage.removeItem(U), N = null);
@@ -8141,8 +8141,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8141
8141
  }
8142
8142
  return N;
8143
8143
  }, setSavedMediaSettings: function(G, N) {
8144
- if (F(hi, is)) {
8145
- var U = ns.replace(/\?/, G);
8144
+ if (F(hi, as)) {
8145
+ var U = rs.replace(/\?/, G);
8146
8146
  try {
8147
8147
  localStorage.setItem(U, JSON.stringify({ settings: N, timestamp: w() }));
8148
8148
  } catch (Z) {
@@ -8161,9 +8161,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8161
8161
  }
8162
8162
  }), r;
8163
8163
  }
8164
- as.__dashjs_factory_name = "DOMStorage";
8165
- var hl = E.Z.getSingletonFactory(as), ml = C(2032), os = C(2011);
8166
- function ss() {
8164
+ os.__dashjs_factory_name = "DOMStorage";
8165
+ var hl = E.Z.getSingletonFactory(os), ml = C(2032), ss = C(2011);
8166
+ function us() {
8167
8167
  var i, r, l, _, R, I, y, w, F, q, G, N, U, Z = this.context;
8168
8168
  function de(H, oe, V, fe) {
8169
8169
  var g = null, L = H ? U.resolve(H.path) : null, D = fe || { init: !0, url: L ? L.url : void 0, range: { start: 0, end: 1500 }, searching: !1, bytesLoaded: 0, bytesToLoad: 1500, mediaType: oe };
@@ -8197,7 +8197,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8197
8197
  };
8198
8198
  for (Oe = 0, ut = xe.length; Oe < ut; Oe++) lt = Ie, nt = Ie + xe[Oe].referenced_size - 1, Ie += xe[Oe].referenced_size, re(H, oe, { start: lt, end: nt }, fe, Ge, ue);
8199
8199
  } else r.debug("Parsing segments from SIDX. representation " + oe + " - id: " + H.id + " for range : " + ue.range.start + " - " + ue.range.end), Re = function(ze, vt) {
8200
- for (var Et, gt, Wt, zt, gn = ze.references, pn = gn.length, Ye = ze.timescale, yt = ze.earliest_presentation_time, st = vt.range.start + ze.offset + ze.first_offset + ze.size, Rt = [], Pt = 0; Pt < pn; Pt++) Wt = gn[Pt].subsegment_duration, zt = gn[Pt].referenced_size, (Et = new os.Z()).duration = Wt, Et.startTime = yt, Et.timescale = Ye, gt = st + zt - 1, Et.mediaRange = st + "-" + gt, Rt.push(Et), yt += Wt, st += zt;
8200
+ for (var Et, gt, Wt, zt, gn = ze.references, pn = gn.length, Ye = ze.timescale, _t = ze.earliest_presentation_time, st = vt.range.start + ze.offset + ze.first_offset + ze.size, Rt = [], Pt = 0; Pt < pn; Pt++) Wt = gn[Pt].subsegment_duration, zt = gn[Pt].referenced_size, (Et = new ss.Z()).duration = Wt, Et.startTime = _t, Et.timescale = Ye, gt = st + zt - 1, Et.mediaRange = st + "-" + gt, Rt.push(Et), _t += Wt, st += zt;
8201
8201
  return Rt;
8202
8202
  }(A, ue), g(Re, H, fe);
8203
8203
  } else {
@@ -8238,9 +8238,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8238
8238
  w && (w.abort(), w = null);
8239
8239
  } };
8240
8240
  }
8241
- ss.__dashjs_factory_name = "SegmentBaseLoader";
8242
- var pl = E.Z.getSingletonFactory(ss);
8243
- function us(i) {
8241
+ us.__dashjs_factory_name = "SegmentBaseLoader";
8242
+ var pl = E.Z.getSingletonFactory(us);
8243
+ function ls(i) {
8244
8244
  var r;
8245
8245
  i = i || {};
8246
8246
  var l = new DataView(i.data), _ = 0;
@@ -8301,9 +8301,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8301
8301
  return _ < l.byteLength;
8302
8302
  } };
8303
8303
  }
8304
- us.__dashjs_factory_name = "EBMLParser";
8305
- var ls = E.Z.getClassFactory(us);
8306
- function cs() {
8304
+ ls.__dashjs_factory_name = "EBMLParser";
8305
+ var cs = E.Z.getClassFactory(ls);
8306
+ function fs() {
8307
8307
  var i, r, l, _, R, I, y, w, F, q, G = this.context;
8308
8308
  function N(U) {
8309
8309
  var Z = new S.Z();
@@ -8329,7 +8329,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8329
8329
  ce = N({ bytesLoaded: 0, bytesToLoad: 8192, range: { start: 0, end: 8192 }, request: ce, url: H, init: !1, mediaType: Z }), r.debug("Parsing ebml header"), w.load({ request: ce, success: function(oe) {
8330
8330
  (function(V, fe, g, L) {
8331
8331
  if (V && V.byteLength !== 0) {
8332
- var D, O, A, ie, z = ls(G).create({ data: V }), ue = g ? g.split("-") : null, $ = null, k = { url: fe, range: { start: ue ? parseFloat(ue[0]) : null, end: ue ? parseFloat(ue[1]) : null }, request: $ };
8332
+ var D, O, A, ie, z = cs(G).create({ data: V }), ue = g ? g.split("-") : null, $ = null, k = { url: fe, range: { start: ue ? parseFloat(ue[0]) : null, end: ue ? parseFloat(ue[1]) : null }, request: $ };
8333
8333
  for (r.debug("Parse EBML header: " + k.url), z.skipOverElement(l.EBML), z.consumeTag(l.Segment), A = z.getMatroskaCodedNum(), A += z.getPos(), ie = z.getPos(); z.moreData() && !z.consumeTagAndSize(l.Segment.Info, !0); ) if (!(z.skipOverElement(l.Segment.SeekHead, !0) || z.skipOverElement(l.Segment.Tracks, !0) || z.skipOverElement(l.Segment.Cues, !0) || z.skipOverElement(l.Void, !0))) throw new Error("no valid top level element found");
8334
8334
  for (; D === void 0; ) {
8335
8335
  var ee = z.getMatroskaCodedNum(!0), pe = z.getMatroskaCodedNum();
@@ -8339,7 +8339,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8339
8339
  O = function(Re, xe, Oe, ut) {
8340
8340
  var lt, nt, rt, Ut, Ie, Ge, mt, ze;
8341
8341
  for (rt = [], Ie = 0, Ge = (nt = function(vt) {
8342
- var Et, gt, Wt = [], zt = ls(G).create({ data: vt });
8342
+ var Et, gt, Wt = [], zt = cs(G).create({ data: vt });
8343
8343
  for (zt.consumeTagAndSize(l.Segment.Cues); zt.moreData() && zt.consumeTagAndSize(l.Segment.Cues.CuePoint, !0); ) {
8344
8344
  for ((Et = {}).CueTime = zt.parseTag(l.Segment.Cues.CuePoint.CueTime), Et.CueTracks = []; zt.moreData() && zt.consumeTag(l.Segment.Cues.CuePoint.CueTrackPositions, !0); ) {
8345
8345
  var gn = zt.getMatroskaCodedNum(), pn = zt.getPos();
@@ -8351,7 +8351,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8351
8351
  }
8352
8352
  if (Wt.length === 0) throw new Error("mandatory cuepoint not found");
8353
8353
  return Wt;
8354
- }(Re)).length; Ie < Ge; Ie += 1) Ut = new os.Z(), lt = Ie < nt.length - 1 ? nt[Ie + 1].CueTime - nt[Ie].CueTime : ut - nt[Ie].CueTime, Ut.duration = lt, Ut.startTime = nt[Ie].CueTime, Ut.timescale = 1e3, mt = nt[Ie].CueTracks[0].ClusterPosition + xe, ze = Ie < nt.length - 1 ? nt[Ie + 1].CueTracks[0].ClusterPosition + xe - 1 : Oe - 1, Ut.mediaRange = mt + "-" + ze, rt.push(Ut);
8354
+ }(Re)).length; Ie < Ge; Ie += 1) Ut = new ss.Z(), lt = Ie < nt.length - 1 ? nt[Ie + 1].CueTime - nt[Ie].CueTime : ut - nt[Ie].CueTime, Ut.duration = lt, Ut.startTime = nt[Ie].CueTime, Ut.timescale = 1e3, mt = nt[Ie].CueTracks[0].ClusterPosition + xe, ze = Ie < nt.length - 1 ? nt[Ie + 1].CueTracks[0].ClusterPosition + xe - 1 : Oe - 1, Ut.mediaRange = mt + "-" + ze, rt.push(Ut);
8355
8355
  return r.debug("Parsed cues: " + rt.length + " cues."), rt;
8356
8356
  }(Pe, ie, A, D), L(O);
8357
8357
  }, error: function() {
@@ -8369,9 +8369,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8369
8369
  w && (w.abort(), w = null);
8370
8370
  } }, l = { EBML: { tag: 440786851, required: !0 }, Segment: { tag: 408125543, required: !0, SeekHead: { tag: 290298740, required: !0 }, Info: { tag: 357149030, required: !0, TimecodeScale: { tag: 2807729, required: !0, parse: "getMatroskaUint" }, Duration: { tag: 17545, required: !0, parse: "getMatroskaFloat" } }, Tracks: { tag: 374648427, required: !0 }, Cues: { tag: 475249515, required: !0, CuePoint: { tag: 187, required: !0, CueTime: { tag: 179, required: !0, parse: "getMatroskaUint" }, CueTrackPositions: { tag: 183, required: !0, CueTrack: { tag: 247, required: !0, parse: "getMatroskaUint" }, CueClusterPosition: { tag: 241, required: !0, parse: "getMatroskaUint" } } } } }, Void: { tag: 236, required: !0 } }, i;
8371
8371
  }
8372
- cs.__dashjs_factory_name = "WebmSegmentBaseLoader";
8373
- var yl = E.Z.getSingletonFactory(cs);
8374
- function fs(i) {
8372
+ fs.__dashjs_factory_name = "WebmSegmentBaseLoader";
8373
+ var yl = E.Z.getSingletonFactory(fs);
8374
+ function ds(i) {
8375
8375
  i = i || {};
8376
8376
  var r, l, _, R = this.context, I = i.eventBus, y = i.events, w = i.dashMetrics, F = i.mediaPlayerModel, q = i.errHandler, G = i.baseURLController, N = i.debug, U = i.boxParser, Z = i.requestModifier, de = i.errors;
8377
8377
  function re(ce) {
@@ -8387,8 +8387,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8387
8387
  l.reset(), _.reset();
8388
8388
  } }, l = pl(R).getInstance(), _ = yl(R).getInstance(), l.setConfig({ baseURLController: G, dashMetrics: w, mediaPlayerModel: F, errHandler: q, eventBus: I, events: y, errors: de, debug: N, boxParser: U, requestModifier: Z }), _.setConfig({ baseURLController: G, dashMetrics: w, mediaPlayerModel: F, errHandler: q, eventBus: I, events: y, errors: de, debug: N, requestModifier: Z }), r;
8389
8389
  }
8390
- fs.__dashjs_factory_name = "SegmentBaseController";
8391
- var _l = E.Z.getSingletonFactory(fs), ds = function i() {
8390
+ ds.__dashjs_factory_name = "SegmentBaseController";
8391
+ var _l = E.Z.getSingletonFactory(ds), gs = function i() {
8392
8392
  (function(r, l) {
8393
8393
  if (!(r instanceof l)) throw new TypeError("Cannot call a class as a function");
8394
8394
  })(this, i), this.id = null, this.quality = null, this.fragmentDuration = null, this.mediaInfo = null, this.MSETimeOffset = null;
@@ -8396,7 +8396,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8396
8396
  (function(r, l) {
8397
8397
  if (!(r instanceof l)) throw new TypeError("Cannot call a class as a function");
8398
8398
  })(this, i), this.id = null, this.index = null, this.type = null, this.streamInfo = null, this.representationCount = 0, this.labels = null, this.lang = null, this.viewpoint = null, this.viewpointsWithSchemeIdUri = null, this.accessibility = null, this.accessibilitiesWithSchemeIdUri = null, this.audioChannelConfiguration = null, this.audioChannelConfigurationsWithSchemeIdUri = null, this.roles = null, this.rolesWithSchemeIdUri = null, this.codec = null, this.mimeType = null, this.contentProtection = null, this.isText = !1, this.KID = null, this.bitrateList = null, this.isFragmented = null, this.isEmbedded = null, this.selectionPriority = 1, this.supplementalProperties = {}, this.supplementalPropertiesAsArray = [], this.essentialProperties = {}, this.essentialPropertiesAsArray = [], this.segmentAlignment = !1, this.subSegmentAlignment = !1;
8399
- }, gs = function i() {
8399
+ }, hs = function i() {
8400
8400
  (function(r, l) {
8401
8401
  if (!(r instanceof l)) throw new TypeError("Cannot call a class as a function");
8402
8402
  })(this, i), this.id = null, this.index = null, this.start = NaN, this.duration = NaN, this.manifestInfo = null, this.isLast = !0;
@@ -8475,7 +8475,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8475
8475
  return this.xpath.getMpdTarget(_, R);
8476
8476
  } }]) && bl(r.prototype, l), i;
8477
8477
  }();
8478
- function hs() {
8478
+ function ms() {
8479
8479
  var i, r, l = this.context;
8480
8480
  return i = { getIsPatch: function(_) {
8481
8481
  return _ && _.hasOwnProperty(e.Z.ORIGINAL_MPD_ID) || !1;
@@ -8508,9 +8508,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8508
8508
  }) : [];
8509
8509
  } }, r = (0, h.Z)(l).getInstance().getLogger(i), i;
8510
8510
  }
8511
- hs.__dashjs_factory_name = "PatchManifestModel";
8512
- var Al = E.Z.getSingletonFactory(hs);
8513
- function ms() {
8511
+ ms.__dashjs_factory_name = "PatchManifestModel";
8512
+ var Al = E.Z.getSingletonFactory(ms);
8513
+ function ps() {
8514
8514
  var i, r, l, _, R, I, y, w = this.context;
8515
8515
  function F(D, O, A) {
8516
8516
  var ie, z = r.getAdaptationsForType(_[0].mpd.manifest, D, O);
@@ -8636,7 +8636,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8636
8636
  D.lang = ie || A, D.roles = ["caption"], D.rolesWithSchemeIdUri = [{ schemeIdUri: "urn:mpeg:dash:role:2011", value: "caption" }];
8637
8637
  }
8638
8638
  function V(D) {
8639
- var O, A, ie = new gs();
8639
+ var O, A, ie = new hs();
8640
8640
  return ie.id = D.id, ie.index = D.index, ie.start = D.start, ie.duration = D.duration, ie.manifestInfo = (O = D.mpd, (A = new El()).dvrWindowSize = O.timeShiftBufferDepth, A.loadedTime = O.manifest.loadedTime, A.availableFrom = O.availabilityStartTime, A.minBufferTime = O.manifest.minBufferTime, A.maxFragmentDuration = O.maxSegmentDuration, A.duration = r.getDuration(O.manifest), A.isDynamic = r.getIsDynamic(O.manifest), A.serviceDescriptions = r.getServiceDescriptions(O.manifest), A.protocol = O.manifest.protocol, A), ie.isLast = D.mpd.manifest.Period_asArray.length === 1 || Math.abs(ie.start + ie.duration - ie.manifestInfo.duration) < 1, ie;
8641
8641
  }
8642
8642
  function fe() {
@@ -8669,7 +8669,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8669
8669
  }(g(O), D);
8670
8670
  }, convertRepresentationToRepresentationInfo: function(D) {
8671
8671
  if (D) {
8672
- var O = new ds(), A = D.adaptation.period.mpd.manifest.Period_asArray[D.adaptation.period.index].AdaptationSet_asArray[D.adaptation.index], ie = r.getRepresentationFor(D.index, A);
8672
+ var O = new gs(), A = D.adaptation.period.mpd.manifest.Period_asArray[D.adaptation.period.index].AdaptationSet_asArray[D.adaptation.index], ie = r.getRepresentationFor(D.index, A);
8673
8673
  return O.id = D.id, O.quality = D.index, O.bandwidth = r.getBandwidth(ie), O.fragmentDuration = D.segmentDuration || (D.segments && D.segments.length > 0 ? D.segments[0].duration : NaN), O.MSETimeOffset = D.MSETimeOffset, O.mediaInfo = H(D.adaptation), O;
8674
8674
  }
8675
8675
  return null;
@@ -8707,13 +8707,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8707
8707
  var ie = [];
8708
8708
  if (_.length > 0) {
8709
8709
  var z = _[0].mpd.manifest;
8710
- if (D instanceof gs) {
8710
+ if (D instanceof hs) {
8711
8711
  var ue = he(D, _);
8712
8712
  ie = r.getEventsForPeriod(ue);
8713
8713
  } else if (D instanceof Ga) {
8714
8714
  var $ = he(A, _);
8715
8715
  ie = r.getEventStreamForAdaptationSet(z, ce(D), $);
8716
- } else if (D instanceof ds) {
8716
+ } else if (D instanceof gs) {
8717
8717
  var k = he(A, _);
8718
8718
  ie = r.getEventStreamForRepresentation(z, O, k);
8719
8719
  }
@@ -8823,8 +8823,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8823
8823
  });
8824
8824
  }, areMediaInfosEqual: q, reset: de }, r = sn(w).getInstance(), l = Al(w).getInstance(), de(), i;
8825
8825
  }
8826
- ms.__dashjs_factory_name = "DashAdapter";
8827
- var Il = E.Z.getSingletonFactory(ms);
8826
+ ps.__dashjs_factory_name = "DashAdapter";
8827
+ var Il = E.Z.getSingletonFactory(ps);
8828
8828
  function Rl(i, r) {
8829
8829
  for (var l = 0; l < r.length; l++) {
8830
8830
  var _ = r[l];
@@ -8886,7 +8886,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8886
8886
  if (!(r instanceof l)) throw new TypeError("Cannot call a class as a function");
8887
8887
  })(this, i), this.loadingRequests = [], this.executedRequests = [];
8888
8888
  };
8889
- function ps(i) {
8889
+ function ys(i) {
8890
8890
  var r, l, _ = (i = i || {}).settings, R = this.context, I = (0, m.Z)(R).getInstance();
8891
8891
  function y() {
8892
8892
  I.trigger(o.Z.METRICS_CHANGED);
@@ -8970,9 +8970,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8970
8970
  U(t.Z.STREAM, p.Z.DVB_ERRORS, Z);
8971
8971
  } }, l = {}, r;
8972
8972
  }
8973
- ps.__dashjs_factory_name = "MetricsModel";
8974
- var Ul = E.Z.getSingletonFactory(ps);
8975
- function ys(i) {
8973
+ ys.__dashjs_factory_name = "MetricsModel";
8974
+ var Ul = E.Z.getSingletonFactory(ys);
8975
+ function _s(i) {
8976
8976
  i = i || {};
8977
8977
  var r, l, _, R, I = this.context, y = i.metricsModel;
8978
8978
  function w(G) {
@@ -9078,9 +9078,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
9078
9078
  y.clearAllCurrentMetrics();
9079
9079
  } }, y = y || Ul(I).getInstance({ settings: i.settings }), l = !0, _ = null, R = null, r;
9080
9080
  }
9081
- ys.__dashjs_factory_name = "DashMetrics";
9082
- var Bl = E.Z.getSingletonFactory(ys);
9083
- function _s() {
9081
+ _s.__dashjs_factory_name = "DashMetrics";
9082
+ var Bl = E.Z.getSingletonFactory(_s);
9083
+ function Es() {
9084
9084
  var i, r, l, _, R = this.context, I = (0, m.Z)(R).getInstance(), y = (0, De.Z)(R).getInstance();
9085
9085
  function w(he) {
9086
9086
  _ = he;
@@ -9184,8 +9184,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
9184
9184
  }(he);
9185
9185
  }, reset: ce }, r = sn(R).getInstance(), ce(), i;
9186
9186
  }
9187
- _s.__dashjs_factory_name = "TimelineConverter";
9188
- var Gl = E.Z.getSingletonFactory(_s), qa = C(4593), $i = C(6934);
9187
+ Es.__dashjs_factory_name = "TimelineConverter";
9188
+ var Gl = E.Z.getSingletonFactory(Es), qa = C(4593), $i = C(6934);
9189
9189
  function Va(i) {
9190
9190
  return Va = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(r) {
9191
9191
  return typeof r;
@@ -9239,7 +9239,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
9239
9239
  }
9240
9240
  return R;
9241
9241
  }(Ga), Vl = C(2295);
9242
- function Es() {
9242
+ function vs() {
9243
9243
  var i = 0;
9244
9244
  function r(w) {
9245
9245
  for (var F = "", q = 0; q < w.length; ++q) F += w[q].uchar;
@@ -9315,9 +9315,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
9315
9315
  return ue;
9316
9316
  } };
9317
9317
  }
9318
- Es.__dashjs_factory_name = "EmbeddedTextHtmlRender";
9319
- var jl = E.Z.getSingletonFactory(Es);
9320
- function vs(i) {
9318
+ vs.__dashjs_factory_name = "EmbeddedTextHtmlRender";
9319
+ var jl = E.Z.getSingletonFactory(vs);
9320
+ function Ts(i) {
9321
9321
  var r, l, _, R, I, y, w, F, q, G, N, U, Z, de, re, ce, he, H = i.errHandler, oe = i.manifestModel, V = i.mediaController, fe = i.videoModel, g = i.textTracks, L = i.vttParser, D = i.vttCustomRenderingParser, O = i.ttmlParser, A = i.streamInfo, ie = i.settings, z = this.context, ue = (0, m.Z)(z).getInstance(), $ = !1;
9322
9322
  function k() {
9323
9323
  y = null, F = NaN, q = [], G = null, w = !1, I = [], R = null;
@@ -9352,22 +9352,22 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
9352
9352
  (gt = _.getSamplesInfo(ze).sampleList).length > 0 && (G = gt[0].cts - vt.start * F), Et.search(t.Z.STPP) >= 0 ? function(Wt, zt, gn) {
9353
9353
  var pn, Ye;
9354
9354
  for (R = R !== null ? R : ut(gn), pn = 0; pn < zt.length; pn++) {
9355
- var yt = zt[pn], st = yt.cts, Rt = Oe(), Pt = Rt + st / F, $t = Pt + yt.duration / F;
9355
+ var _t = zt[pn], st = _t.cts, Rt = Oe(), Pt = Rt + st / F, $t = Pt + _t.duration / F;
9356
9356
  r.buffered.add(Pt, $t);
9357
- var Qt = new DataView(Wt, yt.offset, yt.subSizes[0]), en = $i.Utils.dataViewToString(Qt, t.Z.UTF8), on = [], ht = yt.offset + yt.subSizes[0];
9358
- for (Ye = 1; Ye < yt.subSizes.length; Ye++) {
9359
- var kt = new Uint8Array(Wt, ht, yt.subSizes[Ye]), qt = String.fromCharCode.apply(null, kt);
9360
- on.push(qt), ht += yt.subSizes[Ye];
9357
+ var Qt = new DataView(Wt, _t.offset, _t.subSizes[0]), en = $i.Utils.dataViewToString(Qt, t.Z.UTF8), on = [], ht = _t.offset + _t.subSizes[0];
9358
+ for (Ye = 1; Ye < _t.subSizes.length; Ye++) {
9359
+ var kt = new Uint8Array(Wt, ht, _t.subSizes[Ye]), qt = String.fromCharCode.apply(null, kt);
9360
+ on.push(qt), ht += _t.subSizes[Ye];
9361
9361
  }
9362
9362
  try {
9363
- var Vt = oe.getValue().ttmlTimeIsRelative ? st / F : 0, Xt = R.parse(en, Vt, st / F, (st + yt.duration) / F, on);
9363
+ var Vt = oe.getValue().ttmlTimeIsRelative ? st / F : 0, Xt = R.parse(en, Vt, st / F, (st + _t.duration) / F, on);
9364
9364
  g.addCaptions(N, Rt, Xt);
9365
9365
  } catch (Ke) {
9366
9366
  y.removeExecutedRequestsBeforeTime(), this.remove(), l.error("TTML parser error: " + Ke.message);
9367
9367
  }
9368
9368
  }
9369
9369
  }(ze, gt, Et) : function(Wt, zt) {
9370
- var gn, pn, Ye, yt = [];
9370
+ var gn, pn, Ye, _t = [];
9371
9371
  for (gn = 0; gn < zt.length; gn++) {
9372
9372
  var st = zt[gn];
9373
9373
  st.cts -= G;
@@ -9388,11 +9388,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
9388
9388
  } catch {
9389
9389
  }
9390
9390
  }
9391
- on && on.data && (yt.push(on), l.debug("VTT ".concat(on.start, " - ").concat(on.end, " : ").concat(on.data)));
9391
+ on && on.data && (_t.push(on), l.debug("VTT ".concat(on.start, " - ").concat(on.end, " : ").concat(on.data)));
9392
9392
  }
9393
9393
  }
9394
9394
  }
9395
- yt.length > 0 && g.addCaptions(N, 0, yt);
9395
+ _t.length > 0 && g.addCaptions(N, 0, _t);
9396
9396
  }(ze, gt);
9397
9397
  }
9398
9398
  }(nt, rt, mt) : Ie === t.Z.VIDEO ? function(ze, vt) {
@@ -9424,8 +9424,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
9424
9424
  });
9425
9425
  }), $t;
9426
9426
  }(ze, gt.sampleList), Ye = 0; Ye < ce.length; Ye++) {
9427
- var yt = pn.fields[Ye], st = ce[Ye];
9428
- if (st) for (Et = 0; Et < yt.length; Et++) st.addData(yt[Et][0] / Z, yt[Et][1]);
9427
+ var _t = pn.fields[Ye], st = ce[Ye];
9428
+ if (st) for (Et = 0; Et < _t.length; Et++) st.addData(_t[Et][0] / Z, _t[Et][1]);
9429
9429
  }
9430
9430
  de = Wt, re = gn;
9431
9431
  }
@@ -9492,29 +9492,29 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
9492
9492
  k(), I = [], _ = null;
9493
9493
  } }, l = (0, h.Z)(z).getInstance().getLogger(r), _ = (0, bi.Z)(z).getInstance(), k(), r;
9494
9494
  }
9495
- vs.__dashjs_factory_name = "TextSourceBuffer";
9496
- var Yl = E.Z.getClassFactory(vs), Ya = C(4403);
9497
- function Ts(i, r) {
9495
+ Ts.__dashjs_factory_name = "TextSourceBuffer";
9496
+ var Yl = E.Z.getClassFactory(Ts), Ya = C(4403);
9497
+ function bs(i, r) {
9498
9498
  (r == null || r > i.length) && (r = i.length);
9499
9499
  for (var l = 0, _ = new Array(r); l < r; l++) _[l] = i[l];
9500
9500
  return _;
9501
9501
  }
9502
9502
  var Kl = ["text", "align", "fontSize", "id", "isd", "line", "lineAlign", "lineHeight", "linePadding", "position", "positionAlign", "region", "size", "snapToLines", "vertical"];
9503
- function bs(i) {
9503
+ function Ss(i) {
9504
9504
  var r, l, _, R, I, y, w, F, q, G, N, U, Z, de, re, ce, he, H, oe, V, fe = this.context, g = (0, m.Z)(fe).getInstance(), L = i.videoModel, D = i.streamInfo, O = i.settings;
9505
- function A(Ye, yt, st, Rt, Pt, $t) {
9505
+ function A(Ye, _t, st, Rt, Pt, $t) {
9506
9506
  var Qt = 0, en = 0;
9507
- Ye / yt > st / Rt ? Qt = (en = yt) / Rt * st : en = (Qt = Ye) / st * Rt;
9507
+ Ye / _t > st / Rt ? Qt = (en = _t) / Rt * st : en = (Qt = Ye) / st * Rt;
9508
9508
  var on, ht, kt = 0, qt = 0;
9509
- return Qt / en > Pt ? (qt = en, kt = en * Pt) : (kt = Qt, qt = Qt / Pt), on = (Ye - kt) / 2, ht = (yt - qt) / 2, $t ? { x: on + 0.1 * kt, y: ht + 0.1 * qt, w: 0.8 * kt, h: 0.8 * qt } : { x: on, y: ht, w: kt, h: qt };
9509
+ return Qt / en > Pt ? (qt = en, kt = en * Pt) : (kt = Qt, qt = Qt / Pt), on = (Ye - kt) / 2, ht = (_t - qt) / 2, $t ? { x: on + 0.1 * kt, y: ht + 0.1 * qt, w: 0.8 * kt, h: 0.8 * qt } : { x: on, y: ht, w: kt, h: qt };
9510
9510
  }
9511
- function ie(Ye, yt) {
9511
+ function ie(Ye, _t) {
9512
9512
  var st = L.getClientWidth(), Rt = L.getClientHeight(), Pt = L.getVideoWidth(), $t = L.getVideoHeight(), Qt = L.getVideoRelativeOffsetTop(), en = L.getVideoRelativeOffsetLeft();
9513
9513
  if (Pt !== 0 && $t !== 0) {
9514
9514
  var on = Pt / $t, ht = !1;
9515
9515
  Ye.isFromCEA608 && (on = 1.1666666666666667, ht = !0);
9516
9516
  var kt = A.call(this, st, Rt, Pt, $t, on, ht), qt = kt.w, Vt = kt.h, Xt = kt.x, Ke = kt.y;
9517
- if (qt != q || Vt != G || Xt != w || Ke != F || yt) {
9517
+ if (qt != q || Vt != G || Xt != w || Ke != F || _t) {
9518
9518
  if (w = Xt + en, F = Ke + Qt, q = qt, G = Vt, N) {
9519
9519
  var Le = N.style;
9520
9520
  Le && (Le.left = w + "px", Le.top = F + "px", Le.width = q + "px", Le.height = G + "px", Le.zIndex = de && document[de] || re ? he : null, g.trigger(n.Z.CAPTION_CONTAINER_RESIZE));
@@ -9528,23 +9528,23 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
9528
9528
  }
9529
9529
  }
9530
9530
  function z(Ye) {
9531
- var yt, st, Rt, Pt, $t, Qt = q, en = G;
9531
+ var _t, st, Rt, Pt, $t, Qt = q, en = G;
9532
9532
  if (Ye.cellResolution) {
9533
9533
  var on = [Qt / Ye.cellResolution[0], en / Ye.cellResolution[1]];
9534
9534
  if (Ye.linePadding) {
9535
- for (yt in Ye.linePadding) if (Ye.linePadding.hasOwnProperty(yt)) {
9536
- st = (Ye.linePadding[yt] * on[0]).toString();
9535
+ for (_t in Ye.linePadding) if (Ye.linePadding.hasOwnProperty(_t)) {
9536
+ st = (Ye.linePadding[_t] * on[0]).toString();
9537
9537
  for (var ht = document.getElementsByClassName("spanPadding"), kt = 0; kt < ht.length; kt++) ht[kt].style.cssText = ht[kt].style.cssText.replace(/(padding-left\s*:\s*)[\d.,]+(?=\s*px)/gi, "$1" + st), ht[kt].style.cssText = ht[kt].style.cssText.replace(/(padding-right\s*:\s*)[\d.,]+(?=\s*px)/gi, "$1" + st);
9538
9538
  }
9539
9539
  }
9540
9540
  if (Ye.fontSize) {
9541
- for (yt in Ye.fontSize) if (Ye.fontSize.hasOwnProperty(yt)) {
9542
- Ye.fontSize[yt][0] === "%" ? Rt = Ye.fontSize[yt][1] / 100 : Ye.fontSize[yt][0] === "c" && (Rt = Ye.fontSize[yt][1]), st = (Rt * on[1]).toString(), $t = yt !== "defaultFontSize" ? document.getElementsByClassName(yt) : document.getElementsByClassName("paragraph");
9541
+ for (_t in Ye.fontSize) if (Ye.fontSize.hasOwnProperty(_t)) {
9542
+ Ye.fontSize[_t][0] === "%" ? Rt = Ye.fontSize[_t][1] / 100 : Ye.fontSize[_t][0] === "c" && (Rt = Ye.fontSize[_t][1]), st = (Rt * on[1]).toString(), $t = _t !== "defaultFontSize" ? document.getElementsByClassName(_t) : document.getElementsByClassName("paragraph");
9543
9543
  for (var qt = 0; qt < $t.length; qt++) $t[qt].style.cssText = $t[qt].style.cssText.replace(/(font-size\s*:\s*)[\d.,]+(?=\s*px)/gi, "$1" + st);
9544
9544
  }
9545
9545
  if (Ye.lineHeight) {
9546
- for (yt in Ye.lineHeight) if (Ye.lineHeight.hasOwnProperty(yt)) {
9547
- Ye.lineHeight[yt][0] === "%" ? Pt = Ye.lineHeight[yt][1] / 100 : Ye.fontSize[yt][0] === "c" && (Pt = Ye.lineHeight[yt][1]), st = (Pt * on[1]).toString(), $t = document.getElementsByClassName(yt);
9546
+ for (_t in Ye.lineHeight) if (Ye.lineHeight.hasOwnProperty(_t)) {
9547
+ Ye.lineHeight[_t][0] === "%" ? Pt = Ye.lineHeight[_t][1] / 100 : Ye.fontSize[_t][0] === "c" && (Pt = Ye.lineHeight[_t][1]), st = (Pt * on[1]).toString(), $t = document.getElementsByClassName(_t);
9548
9548
  for (var Vt = 0; Vt < $t.length; Vt++) $t[Vt].style.cssText = $t[Vt].style.cssText.replace(/(line-height\s*:\s*)[\d.,]+(?=\s*px)/gi, "$1" + st);
9549
9549
  }
9550
9550
  }
@@ -9555,51 +9555,51 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
9555
9555
  Xt && N.removeChild(Xt), $(Ye);
9556
9556
  }
9557
9557
  }
9558
- function ue(Ye, yt) {
9558
+ function ue(Ye, _t) {
9559
9559
  var st = /^(urn:)(mpeg:[a-z0-9][a-z0-9-]{0,31}:)(subs:)([0-9]+)$/, Rt = /^#(.*)$/;
9560
- if (st.test(yt)) {
9561
- var Pt = st.exec(yt), $t = parseInt(Pt[4], 10) - 1;
9560
+ if (st.test(_t)) {
9561
+ var Pt = st.exec(_t), $t = parseInt(Pt[4], 10) - 1;
9562
9562
  return "data:image/png;base64," + btoa(Ye.images[$t]);
9563
9563
  }
9564
- if (Rt.test(yt)) {
9565
- var Qt = Rt.exec(yt)[1];
9564
+ if (Rt.test(_t)) {
9565
+ var Qt = Rt.exec(_t)[1];
9566
9566
  return "data:image/png;base64," + Ye.embeddedImages[Qt];
9567
9567
  }
9568
- return yt;
9568
+ return _t;
9569
9569
  }
9570
9570
  function $(Ye) {
9571
9571
  if (N) {
9572
9572
  pn.call(this);
9573
- var yt = document.createElement("div");
9574
- N.appendChild(yt), ce = (0, Ya.renderHTML)(Ye.isd, yt, function(st) {
9573
+ var _t = document.createElement("div");
9574
+ N.appendChild(_t), ce = (0, Ya.renderHTML)(Ye.isd, _t, function(st) {
9575
9575
  return ue(Ye, st);
9576
9576
  }, N.clientHeight, N.clientWidth, O.get().streaming.text.imsc.displayForcedOnlyMode, function(st) {
9577
9577
  l.info("renderCaption :", st);
9578
- }, ce, O.get().streaming.text.imsc.enableRollUp), yt.id = Ye.cueID, g.trigger(n.Z.CAPTION_RENDERED, { captionDiv: yt, currentTrackIdx: y });
9578
+ }, ce, O.get().streaming.text.imsc.enableRollUp), _t.id = Ye.cueID, g.trigger(n.Z.CAPTION_RENDERED, { captionDiv: _t, currentTrackIdx: y });
9579
9579
  }
9580
9580
  }
9581
- function k(Ye, yt) {
9582
- return !!yt && yt.endTime >= Ye.startTime;
9581
+ function k(Ye, _t) {
9582
+ return !!_t && _t.endTime >= Ye.startTime;
9583
9583
  }
9584
- function ee(Ye, yt) {
9584
+ function ee(Ye, _t) {
9585
9585
  return !!O.get().streaming.text.extendSegmentedCues && !!function(st, Rt, Pt) {
9586
9586
  for (var $t = 0; $t < Pt.length; $t++) {
9587
9587
  var Qt = Pt[$t];
9588
9588
  if (JSON.stringify(st[Qt]) !== JSON.stringify(Rt[Qt])) return !1;
9589
9589
  }
9590
9590
  return !0;
9591
- }(yt, Ye, Kl) && (yt.endTime = Math.max(yt.endTime, Ye.endTime), !0);
9591
+ }(_t, Ye, Kl) && (_t.endTime = Math.max(_t.endTime, Ye.endTime), !0);
9592
9592
  }
9593
- function pe(Ye, yt) {
9594
- yt && yt.forEach(function(st) {
9593
+ function pe(Ye, _t) {
9594
+ _t && _t.forEach(function(st) {
9595
9595
  st.kind && st.kind === "image" && (st.src = ue(Ye, st.src)), pe(Ye, st.contents);
9596
9596
  });
9597
9597
  }
9598
- function Pe(Ye, yt, st) {
9598
+ function Pe(Ye, _t, st) {
9599
9599
  var Rt = Ge(Ye), Pt = O.get().streaming.text.dispatchForManualRendering;
9600
9600
  if (Rt && Array.isArray(st) && st.length !== 0) for (var $t = 0; $t < st.length; $t++) {
9601
9601
  var Qt = null, en = st[$t];
9602
- Rt.cellResolution = en.cellResolution, Rt.isFromCEA608 = en.isFromCEA608, isNaN(en.start) || isNaN(en.end) || (Pt ? Qt = Re(en, yt) : nt(en) && N ? Qt = ut(en, yt, Rt) : en.data && (Qt = lt(en, yt, Rt)));
9602
+ Rt.cellResolution = en.cellResolution, Rt.isFromCEA608 = en.isFromCEA608, isNaN(en.start) || isNaN(en.end) || (Pt ? Qt = Re(en, _t) : nt(en) && N ? Qt = ut(en, _t, Rt) : en.data && (Qt = lt(en, _t, Rt)));
9603
9603
  try {
9604
9604
  if (Qt) {
9605
9605
  if (!vt(Rt, Qt)) if (O.get().streaming.text.webvtt.customRenderingEnabled) Rt.manualCueList || (Rt.manualCueList = []), Rt.manualCueList.push(Qt);
@@ -9616,8 +9616,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
9616
9616
  }
9617
9617
  }
9618
9618
  }
9619
- function Re(Ye, yt) {
9620
- var st = rt(Ye, yt);
9619
+ function Re(Ye, _t) {
9620
+ var st = rt(Ye, _t);
9621
9621
  return st.onenter = function() {
9622
9622
  nt(Ye) && V && V.cueID !== st.cueID && Oe(V), delete st.type, V = st, xe(st);
9623
9623
  }, st.onexit = function() {
@@ -9630,8 +9630,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
9630
9630
  function Oe(Ye) {
9631
9631
  g.trigger(n.Z.CUE_EXIT, { cueID: Ye.cueID });
9632
9632
  }
9633
- function ut(Ye, yt, st) {
9634
- var Rt = this, Pt = rt(Ye, yt);
9633
+ function ut(Ye, _t, st) {
9634
+ var Rt = this, Pt = rt(Ye, _t);
9635
9635
  return N.style.left = w + "px", N.style.top = F + "px", N.style.width = q + "px", N.style.height = G + "px", Pt.onenter = function() {
9636
9636
  var $t = this;
9637
9637
  st.mode === t.Z.TEXT_SHOWING && (this.isd ? (oe ? requestAnimationFrame(function() {
@@ -9641,8 +9641,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
9641
9641
  if (N) for (var $t = N.childNodes, Qt = 0; Qt < $t.length; ++Qt) $t[Qt].id === this.cueID && (l.debug("Cue exit id:" + $t[Qt].id), N.removeChild($t[Qt]), --Qt);
9642
9642
  }, Pt;
9643
9643
  }
9644
- function lt(Ye, yt, st) {
9645
- var Rt = rt(Ye, yt);
9644
+ function lt(Ye, _t, st) {
9645
+ var Rt = rt(Ye, _t);
9646
9646
  if (Rt.isActive = !1, Ye.styles) try {
9647
9647
  Ye.styles.align !== void 0 && "align" in Rt && (Rt.align = Ye.styles.align), Ye.styles.line !== void 0 && "line" in Rt && (Rt.line = Ye.styles.line), Ye.styles.snapToLines !== void 0 && "snapToLines" in Rt && (Rt.snapToLines = Ye.styles.snapToLines), Ye.styles.position !== void 0 && "position" in Rt && (Rt.position = Ye.styles.position), Ye.styles.size !== void 0 && "size" in Rt && (Rt.size = Ye.styles.size);
9648
9648
  } catch (Pt) {
@@ -9655,27 +9655,27 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
9655
9655
  function nt(Ye) {
9656
9656
  return Ye.type === "html";
9657
9657
  }
9658
- function rt(Ye, yt) {
9658
+ function rt(Ye, _t) {
9659
9659
  return nt(Ye) ? function(st, Rt) {
9660
9660
  var Pt = new _(st.start + Rt, st.end + Rt, "");
9661
9661
  return Pt.cueHTMLElement = st.cueHTMLElement, Pt.isd = st.isd, Pt.images = st.images, Pt.embeddedImages = st.embeddedImages, Pt.cueID = st.cueID, Pt.scaleCue = z.bind(self), Pt.cellResolution = st.cellResolution, Pt.lineHeight = st.lineHeight, Pt.linePadding = st.linePadding, Pt.fontSize = st.fontSize, Pt.isd && pe(Pt, Pt.isd.contents), Pt;
9662
- }(Ye, yt) : function(st, Rt) {
9662
+ }(Ye, _t) : function(st, Rt) {
9663
9663
  var Pt = new _(st.start - Rt, st.end - Rt, st.data);
9664
9664
  return Pt.cueID = "".concat(Pt.startTime, "_").concat(Pt.endTime), Pt;
9665
- }(Ye, yt);
9665
+ }(Ye, _t);
9666
9666
  }
9667
9667
  function Ut(Ye) {
9668
- if (U) for (var yt = U.childNodes, st = 0; st < yt.length; ++st) yt[st].id === Ye.cueID && (U.removeChild(yt[st]), --st);
9668
+ if (U) for (var _t = U.childNodes, st = 0; st < _t.length; ++st) _t[st].id === Ye.cueID && (U.removeChild(_t[st]), --st);
9669
9669
  }
9670
9670
  function Ie() {
9671
- var Ye, yt = [], st = function(Pt, $t) {
9671
+ var Ye, _t = [], st = function(Pt, $t) {
9672
9672
  var Qt;
9673
9673
  if (typeof Symbol > "u" || Pt[Symbol.iterator] == null) {
9674
9674
  if (Array.isArray(Pt) || (Qt = function(Vt, Xt) {
9675
9675
  if (Vt) {
9676
- if (typeof Vt == "string") return Ts(Vt, Xt);
9676
+ if (typeof Vt == "string") return bs(Vt, Xt);
9677
9677
  var Ke = Object.prototype.toString.call(Vt).slice(8, -1);
9678
- return Ke === "Object" && Vt.constructor && (Ke = Vt.constructor.name), Ke === "Map" || Ke === "Set" ? Array.from(Vt) : Ke === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ke) ? Ts(Vt, Xt) : void 0;
9678
+ return Ke === "Object" && Vt.constructor && (Ke = Vt.constructor.name), Ke === "Map" || Ke === "Set" ? Array.from(Vt) : Ke === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ke) ? bs(Vt, Xt) : void 0;
9679
9679
  }
9680
9680
  }(Pt)) || $t) {
9681
9681
  Qt && (Pt = Qt);
@@ -9709,62 +9709,62 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
9709
9709
  try {
9710
9710
  for (st.s(); !(Ye = st.n()).done; ) {
9711
9711
  var Rt = Ye.value;
9712
- Rt.manualMode === t.Z.TEXT_SHOWING && yt.push(Rt);
9712
+ Rt.manualMode === t.Z.TEXT_SHOWING && _t.push(Rt);
9713
9713
  }
9714
9714
  } catch (Pt) {
9715
9715
  st.e(Pt);
9716
9716
  } finally {
9717
9717
  st.f();
9718
9718
  }
9719
- return yt;
9719
+ return _t;
9720
9720
  }
9721
9721
  function Ge(Ye) {
9722
9722
  return Ye >= 0 && R[Ye] ? L.getTextTrack(R[Ye].kind, R[Ye].id, R[Ye].lang, R[Ye].isTTML, R[Ye].isEmbedded) : null;
9723
9723
  }
9724
9724
  function mt(Ye) {
9725
- var yt = this;
9725
+ var _t = this;
9726
9726
  if (Ye !== y) {
9727
9727
  var st = Ge(y = Ye);
9728
9728
  ze.call(this, st), Z && (clearInterval(Z), Z = null), st && st.renderingType === "html" && (ie.call(this, st, !0), window.ResizeObserver ? (H = new window.ResizeObserver(function() {
9729
- ie.call(yt, st, !0);
9729
+ ie.call(_t, st, !0);
9730
9730
  })).observe(L.getElement()) : Z = setInterval(ie.bind(this, st), 500));
9731
9731
  }
9732
9732
  }
9733
9733
  function ze(Ye) {
9734
9734
  pn.call(this), Ye && Ye.renderingType === "html" ? zt.call(this) : gn.call(this);
9735
9735
  }
9736
- function vt(Ye, yt) {
9736
+ function vt(Ye, _t) {
9737
9737
  if (!Ye.cues) return !1;
9738
- for (var st = 0; st < Ye.cues.length; st++) if (Ye.cues[st].startTime === yt.startTime && Ye.cues[st].endTime === yt.endTime) return !0;
9738
+ for (var st = 0; st < Ye.cues.length; st++) if (Ye.cues[st].startTime === _t.startTime && Ye.cues[st].endTime === _t.endTime) return !0;
9739
9739
  return !1;
9740
9740
  }
9741
- function Et(Ye, yt, st) {
9741
+ function Et(Ye, _t, st) {
9742
9742
  var Rt = !(arguments.length > 3 && arguments[3] !== void 0) || arguments[3];
9743
- return !!Ye && (isNaN(yt) || (Rt ? Ye.startTime : Ye.endTime) >= yt) && (isNaN(st) || (Rt ? Ye.endTime : Ye.startTime) <= st);
9743
+ return !!Ye && (isNaN(_t) || (Rt ? Ye.startTime : Ye.endTime) >= _t) && (isNaN(st) || (Rt ? Ye.endTime : Ye.startTime) <= st);
9744
9744
  }
9745
- function gt(Ye, yt, st) {
9745
+ function gt(Ye, _t, st) {
9746
9746
  var Rt, Pt;
9747
- if (!(st < yt) && Ye && (Ye.cues || Ye.manualCueList)) {
9747
+ if (!(st < _t) && Ye && (Ye.cues || Ye.manualCueList)) {
9748
9748
  var $t = Ye.cues && Ye.cues.length > 0 ? "native" : "custom", Qt = $t === "native" ? Ye.cues : Ye.manualCueList;
9749
9749
  if (!Qt || Qt.length === 0) return;
9750
- for (var en = Qt.length - 1; en >= 0; en--) !Et(Qt[en], yt, st, !0) || (Rt = Qt[en], Pt = L.getTime(), Rt.startTime >= Pt && Rt.endTime <= Pt) || ($t === "native" ? Ye.removeCue(Qt[en]) : (Ut(Qt[en]), delete Ye.manualCueList[en]));
9750
+ for (var en = Qt.length - 1; en >= 0; en--) !Et(Qt[en], _t, st, !0) || (Rt = Qt[en], Pt = L.getTime(), Rt.startTime >= Pt && Rt.endTime <= Pt) || ($t === "native" ? Ye.removeCue(Qt[en]) : (Ut(Qt[en]), delete Ye.manualCueList[en]));
9751
9751
  }
9752
9752
  }
9753
- function Wt(Ye, yt, st) {
9753
+ function Wt(Ye, _t, st) {
9754
9754
  var Rt = !(arguments.length > 3 && arguments[3] !== void 0) || arguments[3];
9755
9755
  if (Ye && (Ye.cues || Ye.manualCueList)) {
9756
9756
  var Pt = Ye.cues && Ye.cues.length > 0 ? "native" : "custom", $t = Pt === "native" ? Ye.cues : Ye.manualCueList;
9757
9757
  if (!$t || $t.length === 0) return;
9758
- for (var Qt = $t.length - 1, en = Qt; en >= 0; en--) Et($t[en], yt, st, Rt) && (Pt === "native" ? ($t[en].onexit && $t[en].onexit(), Ye.removeCue($t[en])) : (Ut($t[en]), delete Ye.manualCueList[en]));
9758
+ for (var Qt = $t.length - 1, en = Qt; en >= 0; en--) Et($t[en], _t, st, Rt) && (Pt === "native" ? ($t[en].onexit && $t[en].onexit(), Ye.removeCue($t[en])) : (Ut($t[en]), delete Ye.manualCueList[en]));
9759
9759
  }
9760
9760
  }
9761
9761
  function zt() {
9762
9762
  var Ye = document.getElementById("native-cue-style");
9763
9763
  if (!Ye) {
9764
9764
  (Ye = document.createElement("style")).id = "native-cue-style", document.head.appendChild(Ye);
9765
- var yt = Ye.sheet, st = L.getElement();
9765
+ var _t = Ye.sheet, st = L.getElement();
9766
9766
  try {
9767
- st && (st.id ? yt.insertRule("#" + st.id + "::cue {background: transparent}", 0) : st.classList.length !== 0 ? yt.insertRule("." + st.className + "::cue {background: transparent}", 0) : yt.insertRule("video::cue {background: transparent}", 0));
9767
+ st && (st.id ? _t.insertRule("#" + st.id + "::cue {background: transparent}", 0) : st.classList.length !== 0 ? _t.insertRule("." + st.className + "::cue {background: transparent}", 0) : _t.insertRule("video::cue {background: transparent}", 0));
9768
9768
  } catch (Rt) {
9769
9769
  l.info("" + Rt.message);
9770
9770
  }
@@ -9788,8 +9788,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
9788
9788
  R.sort(function(Xt, Ke) {
9789
9789
  return Xt.index - Ke.index;
9790
9790
  }), N = L.getTTMLRenderingDiv(), U = L.getVttRenderingDiv();
9791
- for (var yt, st, Rt, Pt, $t, Qt, en = -1, on = 0; on < R.length; on++) {
9792
- var ht = (st = (yt = R[on]).kind, Rt = yt.id !== void 0 ? yt.id : yt.lang, Pt = yt.lang, $t = yt.isTTML, Qt = yt.isEmbedded, L.addTextTrack(st, Rt, Pt, $t, Qt));
9791
+ for (var _t, st, Rt, Pt, $t, Qt, en = -1, on = 0; on < R.length; on++) {
9792
+ var ht = (st = (_t = R[on]).kind, Rt = _t.id !== void 0 ? _t.id : _t.lang, Pt = _t.lang, $t = _t.isTTML, Qt = _t.isEmbedded, L.addTextTrack(st, Rt, Pt, $t, Qt));
9793
9793
  I.push(ht), R[on].defaultTrack && (ht.default = !0, en = on);
9794
9794
  var kt = Ge(on);
9795
9795
  kt && (kt.mode = t.Z.TEXT_SHOWING, N && (R[on].isTTML || R[on].isEmbedded) ? kt.renderingType = "html" : kt.renderingType = "default"), Pe(on, 0, R[on].captionData), g.trigger(n.Z.TEXT_TRACK_ADDED);
@@ -9808,29 +9808,29 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
9808
9808
  }, getCurrentTrackIdx: function() {
9809
9809
  return y;
9810
9810
  }, setCurrentTrackIdx: mt, getTrackIdxForId: function(Ye) {
9811
- for (var yt = -1, st = 0; st < R.length; st++) if (R[st].id === Ye) {
9812
- yt = st;
9811
+ for (var _t = -1, st = 0; st < R.length; st++) if (R[st].id === Ye) {
9812
+ _t = st;
9813
9813
  break;
9814
9814
  }
9815
- return yt;
9815
+ return _t;
9816
9816
  }, getCurrentTrackInfo: function() {
9817
9817
  return R[y];
9818
- }, setModeForTrackIdx: function(Ye, yt) {
9818
+ }, setModeForTrackIdx: function(Ye, _t) {
9819
9819
  var st = Ge(Ye);
9820
- st && st.mode !== yt && (st.mode = yt), st && st.manualMode !== yt && (st.manualMode = yt);
9821
- }, deleteCuesFromTrackIdx: function(Ye, yt, st) {
9820
+ st && st.mode !== _t && (st.mode = _t), st && st.manualMode !== _t && (st.manualMode = _t);
9821
+ }, deleteCuesFromTrackIdx: function(Ye, _t, st) {
9822
9822
  var Rt = Ge(Ye);
9823
- Rt && Wt(Rt, yt, st);
9823
+ Rt && Wt(Rt, _t, st);
9824
9824
  }, deleteAllTextTracks: function() {
9825
- for (var Ye = I ? I.length : 0, yt = 0; yt < Ye; yt++) {
9826
- var st = Ge(yt);
9825
+ for (var Ye = I ? I.length : 0, _t = 0; _t < Ye; _t++) {
9826
+ var st = Ge(_t);
9827
9827
  st && Wt.call(this, st, D.start, D.start + D.duration, !1);
9828
9828
  }
9829
9829
  I = [], R = [], Z && (clearInterval(Z), Z = null), H && L && (H.unobserve(L.getElement()), H = null), y = -1, pn.call(this);
9830
9830
  }, manualCueProcessing: function(Ye) {
9831
- var yt = Ie();
9832
- if (yt.length > 0) {
9833
- var st = yt[0].manualCueList;
9831
+ var _t = Ie();
9832
+ if (_t.length > 0) {
9833
+ var st = _t[0].manualCueList;
9834
9834
  st && st.length > 0 && st.forEach(function(Rt) {
9835
9835
  Rt.startTime <= Ye && Rt.endTime >= Ye && !Rt.isActive ? (Rt.isActive = !0, O.get().streaming.text.dispatchForManualRendering ? xe(Rt) : WebVTT.processCues(window, [Rt], U, Rt.cueID)) : Rt.isActive && (Rt.startTime > Ye || Rt.endTime < Ye) && (Rt.isActive = !1, O.get().streaming.text.dispatchForManualRendering ? Oe(Rt) : Ut(Rt));
9836
9836
  });
@@ -9838,8 +9838,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
9838
9838
  }, disableManualTracks: function() {
9839
9839
  var Ye = Ie();
9840
9840
  if (Ye.length > 0) {
9841
- var yt = Ye[0].manualCueList;
9842
- yt && yt.length > 0 && yt.forEach(function(st) {
9841
+ var _t = Ye[0].manualCueList;
9842
+ _t && _t.length > 0 && _t.forEach(function(st) {
9843
9843
  if (st.isActive) {
9844
9844
  if (st.isActive = !1, O.get().streaming.text.dispatchForManualRendering) Oe(st);
9845
9845
  else if (U) for (var Rt = U.childNodes, Pt = 0; Pt < Rt.length; ++Pt) Rt[Pt].id === st.cueID && (U.removeChild(Rt[Pt]), --Pt);
@@ -9848,9 +9848,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
9848
9848
  }
9849
9849
  } }, l = (0, h.Z)(fe).getInstance().getLogger(r), r;
9850
9850
  }
9851
- bs.__dashjs_factory_name = "TextTracks";
9852
- var zl = E.Z.getClassFactory(bs);
9853
- function Ss() {
9851
+ Ss.__dashjs_factory_name = "TextTracks";
9852
+ var zl = E.Z.getClassFactory(Ss);
9853
+ function As() {
9854
9854
  var i, r, l, _, R, I, y = this.context;
9855
9855
  function w(N) {
9856
9856
  var U = N.split(":"), Z = U.length - 1;
@@ -9896,9 +9896,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
9896
9896
  return de;
9897
9897
  }, getCaptionStyles: q }, r = (0, h.Z)(y).getInstance().getLogger(i), l = /(?:\r\n|\r|\n)/gm, _ = /-->/, R = /(^[\s]+|[\s]+$)/g, I = /\s\b/g, i;
9898
9898
  }
9899
- Ss.__dashjs_factory_name = "VTTParser";
9900
- var Wl = E.Z.getSingletonFactory(Ss);
9901
- function As() {
9899
+ As.__dashjs_factory_name = "VTTParser";
9900
+ var Wl = E.Z.getSingletonFactory(As);
9901
+ function Is() {
9902
9902
  var i, r;
9903
9903
  return i = { parse: function(l) {
9904
9904
  var _ = [];
@@ -9912,9 +9912,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
9912
9912
  }
9913
9913
  }(), i;
9914
9914
  }
9915
- As.__dashjs_factory_name = "VttCustomRenderingParser";
9916
- var Ql = E.Z.getSingletonFactory(As);
9917
- function Is() {
9915
+ Is.__dashjs_factory_name = "VttCustomRenderingParser";
9916
+ var Ql = E.Z.getSingletonFactory(Is);
9917
+ function Rs() {
9918
9918
  var i, r, l = this.context, _ = (0, m.Z)(l).getInstance(), R = 0;
9919
9919
  return i = { parse: function(I, y, w, F, q) {
9920
9920
  var G, N, U, Z = "", de = [], re = {}, ce = {}, he = "", H = "", oe = { onOpenTag: function(D, O, A) {
@@ -9946,9 +9946,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
9946
9946
  return de;
9947
9947
  } }, r = (0, h.Z)(l).getInstance().getLogger(i), i;
9948
9948
  }
9949
- Is.__dashjs_factory_name = "TTMLParser";
9950
- var Xl = E.Z.getSingletonFactory(Is);
9951
- function Rs(i, r) {
9949
+ Rs.__dashjs_factory_name = "TTMLParser";
9950
+ var Xl = E.Z.getSingletonFactory(Rs);
9951
+ function ws(i, r) {
9952
9952
  var l = Object.keys(i);
9953
9953
  if (Object.getOwnPropertySymbols) {
9954
9954
  var _ = Object.getOwnPropertySymbols(i);
@@ -9958,12 +9958,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
9958
9958
  }
9959
9959
  return l;
9960
9960
  }
9961
- function ws(i) {
9961
+ function Cs(i) {
9962
9962
  for (var r = 1; r < arguments.length; r++) {
9963
9963
  var l = arguments[r] != null ? arguments[r] : {};
9964
- r % 2 ? Rs(Object(l), !0).forEach(function(_) {
9964
+ r % 2 ? ws(Object(l), !0).forEach(function(_) {
9965
9965
  $l(i, _, l[_]);
9966
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(i, Object.getOwnPropertyDescriptors(l)) : Rs(Object(l)).forEach(function(_) {
9966
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(i, Object.getOwnPropertyDescriptors(l)) : ws(Object(l)).forEach(function(_) {
9967
9967
  Object.defineProperty(i, _, Object.getOwnPropertyDescriptor(l, _));
9968
9968
  });
9969
9969
  }
@@ -9972,12 +9972,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
9972
9972
  function $l(i, r, l) {
9973
9973
  return r in i ? Object.defineProperty(i, r, { value: l, enumerable: !0, configurable: !0, writable: !0 }) : i[r] = l, i;
9974
9974
  }
9975
- function Cs(i, r) {
9975
+ function Ns(i, r) {
9976
9976
  (r == null || r > i.length) && (r = i.length);
9977
9977
  for (var l = 0, _ = new Array(r); l < r; l++) _[l] = i[l];
9978
9978
  return _;
9979
9979
  }
9980
- function Ns(i) {
9980
+ function Ds(i) {
9981
9981
  var r, l, _, R = this.context, I = (0, m.Z)(R).getInstance(), y = (0, tt.Z)(R).getInstance(), w = i.adapter, F = i.baseURLController;
9982
9982
  function q(U, Z) {
9983
9983
  var de, re, ce = !1;
@@ -10002,7 +10002,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
10002
10002
  }
10003
10003
  function G(U, Z) {
10004
10004
  var de = _[U];
10005
- _[U] = ws(ws({}, de), {}, { status: Z });
10005
+ _[U] = Cs(Cs({}, de), {}, { status: Z });
10006
10006
  }
10007
10007
  function N() {
10008
10008
  _ = [];
@@ -10031,9 +10031,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
10031
10031
  if (typeof Symbol > "u" || ce[Symbol.iterator] == null) {
10032
10032
  if (Array.isArray(ce) || (H = function(D, O) {
10033
10033
  if (D) {
10034
- if (typeof D == "string") return Cs(D, O);
10034
+ if (typeof D == "string") return Ns(D, O);
10035
10035
  var A = Object.prototype.toString.call(D).slice(8, -1);
10036
- return A === "Object" && D.constructor && (A = D.constructor.name), A === "Map" || A === "Set" ? Array.from(D) : A === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(A) ? Cs(D, O) : void 0;
10036
+ return A === "Object" && D.constructor && (A = D.constructor.name), A === "Map" || A === "Set" ? Array.from(D) : A === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(A) ? Ns(D, O) : void 0;
10037
10037
  }
10038
10038
  }(ce)) || he) {
10039
10039
  H && (ce = H);
@@ -10077,9 +10077,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
10077
10077
  })(), N();
10078
10078
  } }, l = (0, h.Z)(R).getInstance().getLogger(r), N(), r;
10079
10079
  }
10080
- Ns.__dashjs_factory_name = "DVBFonts";
10081
- var Jl = E.Z.getClassFactory(Ns);
10082
- function Ds(i) {
10080
+ Ds.__dashjs_factory_name = "DVBFonts";
10081
+ var Jl = E.Z.getClassFactory(Ds);
10082
+ function Os(i) {
10083
10083
  var r, l, _, R, I, y, w, F, q, G, N, U, Z, de, re = this.context, ce = i.adapter, he = i.errHandler, H = i.manifestModel, oe = i.mediaController, V = i.baseURLController, fe = i.videoModel, g = i.settings;
10084
10084
  function L(ee) {
10085
10085
  if (de.error("Could not download ".concat(ee.isEssential ? "an essential" : "a", " font - fontFamily: ").concat(ee.fontFamily, ", url: ").concat(ee.url)), ee.isEssential) {
@@ -10196,8 +10196,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
10196
10196
  });
10197
10197
  } }, G = !1, N = !1, U = !1, I = Wl(re).getInstance(), y = Ql(re).getInstance(), w = Xl(re).getInstance(), F = (0, m.Z)(re).getInstance(), de = (0, h.Z)(re).getInstance().getLogger(r), k(), r;
10198
10198
  }
10199
- Ds.__dashjs_factory_name = "TextController";
10200
- var ec = E.Z.getClassFactory(Ds);
10199
+ Os.__dashjs_factory_name = "TextController";
10200
+ var ec = E.Z.getClassFactory(Os);
10201
10201
  function Ka() {
10202
10202
  var i, r, l, _, R, I, y, w, F, q, G, N, U, Z, de, re, ce, he, H, oe, V, fe, g, L, D, O, A, ie, z, ue, $, k, ee, pe, Pe, Re, xe, Oe, ut, lt = "You must first call initialize() and set a source before calling this method", nt = "You must first call initialize() and set a valid source and view before calling this method", rt = "You must first call attachView() to set the video element before calling this method", Ut = "You must first call attachSource() with a valid source before calling this method", Ie = "MediaPlayer not initialized!", Ge = this.context, mt = (0, m.Z)(Ge).getInstance(), ze = (0, De.Z)(Ge).getInstance(), vt = (0, h.Z)(Ge).getInstance({ settings: ze });
10203
10203
  function Et() {
@@ -10233,7 +10233,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
10233
10233
  }
10234
10234
  return Ee;
10235
10235
  }
10236
- function yt() {
10236
+ function _t() {
10237
10237
  if (!y) throw nt;
10238
10238
  var ge = $t().duration;
10239
10239
  if (ie.getIsDynamic()) {
@@ -10292,7 +10292,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
10292
10292
  }
10293
10293
  function qt() {
10294
10294
  var ge = Vt();
10295
- D || (D = Eo(Ge).getInstance()), O || (O = ec(Ge).create({ errHandler: V, manifestModel: ee, adapter: he, mediaController: U, baseURLController: fe, videoModel: Re, settings: ze })), L.setConfig({ capabilities: g, customParametersModel: oe, adapter: he, settings: ze, manifestModel: ee, errHandler: V }), D.setConfig({ capabilities: g, capabilitiesFilter: L, manifestLoader: ge, manifestModel: ee, mediaPlayerModel: H, customParametersModel: oe, protectionController: Z, textController: O, adapter: he, dashMetrics: k, errHandler: V, timelineConverter: N, videoModel: Re, playbackController: ie, serviceDescriptionController: z, contentSteeringController: ue, abrController: q, mediaController: U, settings: ze, baseURLController: fe, uriFragmentModel: xe, segmentBaseController: ut }), A.setConfig({ settings: ze, playbackController: ie, streamController: D, videoModel: Re, timelineConverter: N, adapter: he }), ie.setConfig({ streamController: D, serviceDescriptionController: z, dashMetrics: k, adapter: he, videoModel: Re, timelineConverter: N, settings: ze }), $.setConfig({ streamController: D, playbackController: ie, mediaPlayerModel: H, videoModel: Re, settings: ze }), q.setConfig({ streamController: D, domStorage: Oe, mediaPlayerModel: H, customParametersModel: oe, cmsdModel: Pe, dashMetrics: k, adapter: he, videoModel: Re, settings: ze }), pe.setConfig({ abrController: q, dashMetrics: k, playbackController: ie }), Pe.setConfig({}), q.initialize(), D.initialize(w, _), O.initialize(), A.initialize(), $.initialize(), pe.initialize(), Pe.initialize(), ue.initialize(), ut.initialize();
10295
+ D || (D = vo(Ge).getInstance()), O || (O = ec(Ge).create({ errHandler: V, manifestModel: ee, adapter: he, mediaController: U, baseURLController: fe, videoModel: Re, settings: ze })), L.setConfig({ capabilities: g, customParametersModel: oe, adapter: he, settings: ze, manifestModel: ee, errHandler: V }), D.setConfig({ capabilities: g, capabilitiesFilter: L, manifestLoader: ge, manifestModel: ee, mediaPlayerModel: H, customParametersModel: oe, protectionController: Z, textController: O, adapter: he, dashMetrics: k, errHandler: V, timelineConverter: N, videoModel: Re, playbackController: ie, serviceDescriptionController: z, contentSteeringController: ue, abrController: q, mediaController: U, settings: ze, baseURLController: fe, uriFragmentModel: xe, segmentBaseController: ut }), A.setConfig({ settings: ze, playbackController: ie, streamController: D, videoModel: Re, timelineConverter: N, adapter: he }), ie.setConfig({ streamController: D, serviceDescriptionController: z, dashMetrics: k, adapter: he, videoModel: Re, timelineConverter: N, settings: ze }), $.setConfig({ streamController: D, playbackController: ie, mediaPlayerModel: H, videoModel: Re, settings: ze }), q.setConfig({ streamController: D, domStorage: Oe, mediaPlayerModel: H, customParametersModel: oe, cmsdModel: Pe, dashMetrics: k, adapter: he, videoModel: Re, settings: ze }), pe.setConfig({ abrController: q, dashMetrics: k, playbackController: ie }), Pe.setConfig({}), q.initialize(), D.initialize(w, _), O.initialize(), A.initialize(), $.initialize(), pe.initialize(), Pe.initialize(), ue.initialize(), ut.initialize();
10296
10296
  }
10297
10297
  function Vt() {
10298
10298
  return Ju(Ge).create({ debug: vt, errHandler: V, dashMetrics: k, mediaPlayerModel: H, requestModifier: (0, Ce.Z)(Ge).getInstance(), mssHandler: re, settings: ze });
@@ -10302,7 +10302,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
10302
10302
  var ge = dashjs.Protection;
10303
10303
  if (typeof ge == "function") {
10304
10304
  var Ee = ge(Ge).create();
10305
- return o.Z.extend(ge.events), n.Z.extend(ge.events, { publicOnly: !0 }), X.extend(ge.errors), g || (g = (0, Vo.Z)(Ge).getInstance()), Z = Ee.createProtectionSystem({ debug: vt, errHandler: V, videoModel: Re, customParametersModel: oe, capabilities: g, eventBus: mt, events: o.Z, BASE64: qa, constants: t.Z, cmcdModel: pe, settings: ze });
10305
+ return o.Z.extend(ge.events), n.Z.extend(ge.events, { publicOnly: !0 }), X.extend(ge.errors), g || (g = (0, jo.Z)(Ge).getInstance()), Z = Ee.createProtectionSystem({ debug: vt, errHandler: V, videoModel: Re, customParametersModel: oe, capabilities: g, eventBus: mt, events: o.Z, BASE64: qa, constants: t.Z, cmcdModel: pe, settings: ze });
10306
10306
  }
10307
10307
  return null;
10308
10308
  }
@@ -10312,7 +10312,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
10312
10312
  var ge = dashjs.OfflineController;
10313
10313
  if (typeof ge == "function") {
10314
10314
  o.Z.extend(ge.events), n.Z.extend(ge.events, { publicOnly: !0 }), X.extend(ge.errors);
10315
- var Ee = Vt(), $e = mo(Ge).create();
10315
+ var Ee = Vt(), $e = po(Ge).create();
10316
10316
  return $e.setConfig({ manifestModel: ee, adapter: he, manifestLoader: Ee, errHandler: V, contentSteeringController: ue }), ce = ge(Ge).create({ debug: vt, manifestUpdater: $e, baseURLController: fe, manifestLoader: Ee, manifestModel: ee, mediaPlayerModel: H, abrController: q, playbackController: ie, adapter: he, errHandler: V, dashMetrics: k, timelineConverter: N, segmentBaseController: ut, schemeLoaderFactory: G, eventBus: mt, events: o.Z, errors: X, constants: t.Z, settings: ze, dashConstants: e.Z, urlUtils: (0, tt.Z)(Ge).getInstance() });
10317
10317
  }
10318
10318
  return null;
@@ -10327,7 +10327,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
10327
10327
  }
10328
10328
  return i = { initialize: function(ge, Ee, $e) {
10329
10329
  var Ct = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : NaN;
10330
- g || (g = (0, Vo.Z)(Ge).getInstance()).setConfig({ settings: ze }), V || (V = el(Ge).getInstance()), g.supportsMediaSource() ? (R || (R = !0, N = Gl(Ge).getInstance(), q || (q = cl(Ge).getInstance()).setConfig({ settings: ze }), G || (G = Kn(Ge).getInstance()), ie || (ie = d(Ge).getInstance()), U || (U = bu(Ge).getInstance()), D || (D = Eo(Ge).getInstance()), A || (A = yu(Ge).getInstance()), $ || ($ = _u(Ge).getInstance()), z || (z = vu(Ge).getInstance()), ue || (ue = Sr(Ge).getInstance()), L || (L = tl(Ge).getInstance()), he = Il(Ge).getInstance(), ee = il(Ge).getInstance(), pe = mn(Ge).getInstance(), Pe = Ft(Ge).getInstance(), k = Bl(Ge).getInstance({ settings: ze }), Oe = hl(Ge).getInstance({ settings: ze }), he.setConfig({ constants: t.Z, cea608parser: v(), errHandler: V, BASE64: qa }), fe || (fe = Cu(Ge).create()), fe.setConfig({ adapter: he, contentSteeringController: ue }), z.setConfig({ adapter: he }), ut || (ut = _l(Ge).getInstance({ dashMetrics: k, mediaPlayerModel: H, errHandler: V, baseURLController: fe, events: o.Z, eventBus: mt, debug: vt, boxParser: (0, bi.Z)(Ge).getInstance(), requestModifier: (0, Ce.Z)(Ge).getInstance(), errors: X })), U.setConfig({ domStorage: Oe, settings: ze, customParametersModel: oe }), H.setConfig({ playbackController: ie, serviceDescriptionController: z }), ue.setConfig({ adapter: he, errHandler: V, dashMetrics: k, mediaPlayerModel: H, manifestModel: ee, serviceDescriptionController: z, eventBus: mt, requestModifier: (0, Ce.Z)(Ge).getInstance() }), Rt(), st($e === void 0 || $e), Ke()), ge && Qt(ge), Ee && on(Ee, Ct), r.info("[dash.js " + Wt() + "] MediaPlayer has been initialized")) : V.error(new ae.Z(X.CAPABILITY_MEDIASOURCE_ERROR_CODE, X.CAPABILITY_MEDIASOURCE_ERROR_MESSAGE));
10330
+ g || (g = (0, jo.Z)(Ge).getInstance()).setConfig({ settings: ze }), V || (V = el(Ge).getInstance()), g.supportsMediaSource() ? (R || (R = !0, N = Gl(Ge).getInstance(), q || (q = cl(Ge).getInstance()).setConfig({ settings: ze }), G || (G = Kn(Ge).getInstance()), ie || (ie = d(Ge).getInstance()), U || (U = bu(Ge).getInstance()), D || (D = vo(Ge).getInstance()), A || (A = yu(Ge).getInstance()), $ || ($ = _u(Ge).getInstance()), z || (z = vu(Ge).getInstance()), ue || (ue = Sr(Ge).getInstance()), L || (L = tl(Ge).getInstance()), he = Il(Ge).getInstance(), ee = il(Ge).getInstance(), pe = mn(Ge).getInstance(), Pe = Ft(Ge).getInstance(), k = Bl(Ge).getInstance({ settings: ze }), Oe = hl(Ge).getInstance({ settings: ze }), he.setConfig({ constants: t.Z, cea608parser: v(), errHandler: V, BASE64: qa }), fe || (fe = Cu(Ge).create()), fe.setConfig({ adapter: he, contentSteeringController: ue }), z.setConfig({ adapter: he }), ut || (ut = _l(Ge).getInstance({ dashMetrics: k, mediaPlayerModel: H, errHandler: V, baseURLController: fe, events: o.Z, eventBus: mt, debug: vt, boxParser: (0, bi.Z)(Ge).getInstance(), requestModifier: (0, Ce.Z)(Ge).getInstance(), errors: X })), U.setConfig({ domStorage: Oe, settings: ze, customParametersModel: oe }), H.setConfig({ playbackController: ie, serviceDescriptionController: z }), ue.setConfig({ adapter: he, errHandler: V, dashMetrics: k, mediaPlayerModel: H, manifestModel: ee, serviceDescriptionController: z, eventBus: mt, requestModifier: (0, Ce.Z)(Ge).getInstance() }), Rt(), st($e === void 0 || $e), Ke()), ge && Qt(ge), Ee && on(Ee, Ct), r.info("[dash.js " + Wt() + "] MediaPlayer has been initialized")) : V.error(new ae.Z(X.CAPABILITY_MEDIASOURCE_ERROR_CODE, X.CAPABILITY_MEDIASOURCE_ERROR_MESSAGE));
10331
10331
  }, setConfig: function(ge) {
10332
10332
  ge && (ge.capabilities && (g = ge.capabilities), ge.capabilitiesFilter && (L = ge.capabilitiesFilter), ge.streamController && (D = ge.streamController), ge.textController && (O = ge.textController), ge.gapController && (A = ge.gapController), ge.playbackController && (ie = ge.playbackController), ge.serviceDescriptionController && (z = ge.serviceDescriptionController), ge.contentSteeringController && (ue = ge.contentSteeringController), ge.catchupController && ($ = ge.catchupController), ge.mediaPlayerModel && (H = ge.mediaPlayerModel), ge.customParametersModel && (oe = ge.customParametersModel), ge.abrController && (q = ge.abrController), ge.schemeLoaderFactory && (G = ge.schemeLoaderFactory), ge.mediaController && (U = ge.mediaController), ge.settings && (ze = ge.settings));
10333
10333
  }, on: function(ge, Ee, $e, Ct) {
@@ -10381,12 +10381,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
10381
10381
  $t().volume = ge;
10382
10382
  }, getVolume: function() {
10383
10383
  return $t().volume;
10384
- }, time: Ye, duration: yt, timeAsUTC: function() {
10384
+ }, time: Ye, duration: _t, timeAsUTC: function() {
10385
10385
  if (!y) throw nt;
10386
10386
  return Ye() < 0 ? NaN : Le(Ye());
10387
10387
  }, durationAsUTC: function() {
10388
10388
  if (!y) throw nt;
10389
- return Le(yt());
10389
+ return Le(_t());
10390
10390
  }, getActiveStream: ht, getDVRWindowSize: function() {
10391
10391
  var ge = D && D.hasVideoTrack() ? t.Z.VIDEO : t.Z.AUDIO, Ee = k.getCurrentDVRInfo(ge);
10392
10392
  return Ee ? Ee.manifestInfo.dvrWindowSize : 0;
@@ -11004,7 +11004,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11004
11004
  (function(Q, Y) {
11005
11005
  if (!(Q instanceof Y)) throw new TypeError("Cannot call a class as a function");
11006
11006
  })(this, b), this.metrics = "", this.Range = [], this.Reporting = [];
11007
- }, _t = function b() {
11007
+ }, pt = function b() {
11008
11008
  (function(Q, Y) {
11009
11009
  if (!(Q instanceof Y)) throw new TypeError("Cannot call a class as a function");
11010
11010
  })(this, b), this.starttime = 0, this.duration = 1 / 0, this._useWallClockTime = !1;
@@ -11020,7 +11020,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11020
11020
  return Ce && Ce.Metrics_asArray && Ce.Metrics_asArray.forEach(function(ke) {
11021
11021
  var Fe = new Tt(), Ne = Q.getIsDynamic(Ce);
11022
11022
  ke.hasOwnProperty("metrics") && (Fe.metrics = ke.metrics, ke.Range_asArray && ke.Range_asArray.forEach(function(He) {
11023
- var it = new _t();
11023
+ var it = new pt();
11024
11024
  it.starttime = function(bt, ft, Yt) {
11025
11025
  var Ot, Ht, Bt = 0;
11026
11026
  return ft ? Bt = Q.getAvailabilityStartTime(bt) / 1e3 : (Ot = Q.getRegularPeriods(bt)).length && (Bt = Ot[0].start), Ht = Bt, Yt && Yt.hasOwnProperty(Y.START_TIME) && (Ht += Yt.starttime), Ht;
@@ -11255,51 +11255,51 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11255
11255
  } });
11256
11256
  var v = { attributes: ["Laurl", "laurl"], prefixes: ["clearkey", "dashif"] }, t = function() {
11257
11257
  function Nt() {
11258
- (function(Ve, pt) {
11259
- if (!(Ve instanceof pt)) throw new TypeError("Cannot call a class as a function");
11258
+ (function(Ve, yt) {
11259
+ if (!(Ve instanceof yt)) throw new TypeError("Cannot call a class as a function");
11260
11260
  })(this, Nt);
11261
11261
  }
11262
11262
  var It, wt;
11263
11263
  return It = Nt, wt = [{ key: "findCencContentProtection", value: function(Ve) {
11264
- for (var pt = null, Xe = 0; Xe < Ve.length; ++Xe) {
11264
+ for (var yt = null, Xe = 0; Xe < Ve.length; ++Xe) {
11265
11265
  var dt = Ve[Xe];
11266
- dt.schemeIdUri.toLowerCase() !== "urn:mpeg:dash:mp4protection:2011" || dt.value.toLowerCase() !== "cenc" && dt.value.toLowerCase() !== "cbcs" || (pt = dt);
11266
+ dt.schemeIdUri.toLowerCase() !== "urn:mpeg:dash:mp4protection:2011" || dt.value.toLowerCase() !== "cenc" && dt.value.toLowerCase() !== "cbcs" || (yt = dt);
11267
11267
  }
11268
- return pt;
11268
+ return yt;
11269
11269
  } }, { key: "getPSSHData", value: function(Ve) {
11270
- var pt = 8, Xe = new DataView(Ve), dt = Xe.getUint8(pt);
11271
- return pt += 20, dt > 0 && (pt += 4 + 16 * Xe.getUint32(pt)), pt += 4, Ve.slice(pt);
11272
- } }, { key: "getPSSHForKeySystem", value: function(Ve, pt) {
11273
- var Xe = Nt.parsePSSHList(pt);
11270
+ var yt = 8, Xe = new DataView(Ve), dt = Xe.getUint8(yt);
11271
+ return yt += 20, dt > 0 && (yt += 4 + 16 * Xe.getUint32(yt)), yt += 4, Ve.slice(yt);
11272
+ } }, { key: "getPSSHForKeySystem", value: function(Ve, yt) {
11273
+ var Xe = Nt.parsePSSHList(yt);
11274
11274
  return Ve && Xe.hasOwnProperty(Ve.uuid.toLowerCase()) ? Xe[Ve.uuid.toLowerCase()] : null;
11275
- } }, { key: "parseInitDataFromContentProtection", value: function(Ve, pt) {
11276
- return "pssh" in Ve ? (Ve.pssh.__text = Ve.pssh.__text.replace(/\r?\n|\r/g, "").replace(/\s+/g, ""), pt.decodeArray(Ve.pssh.__text).buffer) : null;
11275
+ } }, { key: "parseInitDataFromContentProtection", value: function(Ve, yt) {
11276
+ return "pssh" in Ve ? (Ve.pssh.__text = Ve.pssh.__text.replace(/\r?\n|\r/g, "").replace(/\s+/g, ""), yt.decodeArray(Ve.pssh.__text).buffer) : null;
11277
11277
  } }, { key: "parsePSSHList", value: function(Ve) {
11278
11278
  if (Ve == null) return [];
11279
- for (var pt = new DataView(Ve.buffer || Ve), Xe = {}, dt = 0; ; ) {
11279
+ for (var yt = new DataView(Ve.buffer || Ve), Xe = {}, dt = 0; ; ) {
11280
11280
  var Zt, Gt, nn = void 0, rn = dt;
11281
- if (dt >= pt.buffer.byteLength) break;
11282
- if (Zt = dt + pt.getUint32(dt), dt += 4, pt.getUint32(dt) === 1886614376) if (dt += 4, (Gt = pt.getUint8(dt)) === 0 || Gt === 1) {
11281
+ if (dt >= yt.buffer.byteLength) break;
11282
+ if (Zt = dt + yt.getUint32(dt), dt += 4, yt.getUint32(dt) === 1886614376) if (dt += 4, (Gt = yt.getUint8(dt)) === 0 || Gt === 1) {
11283
11283
  dt++, dt += 3, nn = "";
11284
11284
  var Kt = void 0, At = void 0;
11285
- for (Kt = 0; Kt < 4; Kt++) nn += (At = pt.getUint8(dt + Kt).toString(16)).length === 1 ? "0" + At : At;
11286
- for (dt += 4, nn += "-", Kt = 0; Kt < 2; Kt++) nn += (At = pt.getUint8(dt + Kt).toString(16)).length === 1 ? "0" + At : At;
11287
- for (dt += 2, nn += "-", Kt = 0; Kt < 2; Kt++) nn += (At = pt.getUint8(dt + Kt).toString(16)).length === 1 ? "0" + At : At;
11288
- for (dt += 2, nn += "-", Kt = 0; Kt < 2; Kt++) nn += (At = pt.getUint8(dt + Kt).toString(16)).length === 1 ? "0" + At : At;
11289
- for (dt += 2, nn += "-", Kt = 0; Kt < 6; Kt++) nn += (At = pt.getUint8(dt + Kt).toString(16)).length === 1 ? "0" + At : At;
11290
- dt += 6, dt += 4, Xe[nn = nn.toLowerCase()] = pt.buffer.slice(rn, Zt), dt = Zt;
11285
+ for (Kt = 0; Kt < 4; Kt++) nn += (At = yt.getUint8(dt + Kt).toString(16)).length === 1 ? "0" + At : At;
11286
+ for (dt += 4, nn += "-", Kt = 0; Kt < 2; Kt++) nn += (At = yt.getUint8(dt + Kt).toString(16)).length === 1 ? "0" + At : At;
11287
+ for (dt += 2, nn += "-", Kt = 0; Kt < 2; Kt++) nn += (At = yt.getUint8(dt + Kt).toString(16)).length === 1 ? "0" + At : At;
11288
+ for (dt += 2, nn += "-", Kt = 0; Kt < 2; Kt++) nn += (At = yt.getUint8(dt + Kt).toString(16)).length === 1 ? "0" + At : At;
11289
+ for (dt += 2, nn += "-", Kt = 0; Kt < 6; Kt++) nn += (At = yt.getUint8(dt + Kt).toString(16)).length === 1 ? "0" + At : At;
11290
+ dt += 6, dt += 4, Xe[nn = nn.toLowerCase()] = yt.buffer.slice(rn, Zt), dt = Zt;
11291
11291
  } else dt = Zt;
11292
11292
  else dt = Zt;
11293
11293
  }
11294
11294
  return Xe;
11295
- } }, { key: "getLicenseServerUrlFromMediaInfo", value: function(Ve, pt) {
11295
+ } }, { key: "getLicenseServerUrlFromMediaInfo", value: function(Ve, yt) {
11296
11296
  try {
11297
11297
  if (!Ve || Ve.length === 0) return null;
11298
11298
  for (var Xe = 0, dt = null; Xe < Ve.length && !dt; ) {
11299
11299
  var Zt = Ve[Xe];
11300
11300
  if (Zt && Zt.contentProtection && Zt.contentProtection.length > 0) {
11301
11301
  var Gt = Zt.contentProtection.filter(function(dn) {
11302
- return dn.schemeIdUri && dn.schemeIdUri === pt;
11302
+ return dn.schemeIdUri && dn.schemeIdUri === yt;
11303
11303
  });
11304
11304
  if (Gt && Gt.length > 0) for (var nn = 0; nn < Gt.length && !dt; ) {
11305
11305
  for (var rn = Gt[nn], Kt = 0; Kt < v.attributes.length && !dt; ) {
@@ -11320,13 +11320,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11320
11320
  }
11321
11321
  } }], wt && ne(It, wt), Nt;
11322
11322
  }(), e = function Nt(It, wt) {
11323
- (function(Ve, pt) {
11324
- if (!(Ve instanceof pt)) throw new TypeError("Cannot call a class as a function");
11323
+ (function(Ve, yt) {
11324
+ if (!(Ve instanceof yt)) throw new TypeError("Cannot call a class as a function");
11325
11325
  })(this, Nt), this.contentType = It, this.robustness = wt;
11326
- }, p = function Nt(It, wt, Ve, pt, Xe) {
11326
+ }, p = function Nt(It, wt, Ve, yt, Xe) {
11327
11327
  (function(dt, Zt) {
11328
11328
  if (!(dt instanceof Zt)) throw new TypeError("Cannot call a class as a function");
11329
- })(this, Nt), this.initDataTypes = ["cenc"], It && It.length && (this.audioCapabilities = It), wt && wt.length && (this.videoCapabilities = wt), this.distinctiveIdentifier = Ve, this.persistentState = pt, this.sessionTypes = Xe;
11329
+ })(this, Nt), this.initDataTypes = ["cenc"], It && It.length && (this.audioCapabilities = It), wt && wt.length && (this.videoCapabilities = wt), this.distinctiveIdentifier = Ve, this.persistentState = yt, this.sessionTypes = Xe;
11330
11330
  };
11331
11331
  function m(Nt) {
11332
11332
  return m = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(It) {
@@ -11355,8 +11355,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11355
11355
  (function(Xe, dt) {
11356
11356
  if (typeof dt != "function" && dt !== null) throw new TypeError("Super expression must either be null or a function");
11357
11357
  Xe.prototype = Object.create(dt && dt.prototype, { constructor: { value: Xe, writable: !0, configurable: !0 } }), dt && o(Xe, dt);
11358
- })(pt, Nt);
11359
- var It, wt, Ve = (It = pt, wt = function() {
11358
+ })(yt, Nt);
11359
+ var It, wt, Ve = (It = yt, wt = function() {
11360
11360
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
11361
11361
  if (typeof Proxy == "function") return !0;
11362
11362
  try {
@@ -11373,20 +11373,20 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11373
11373
  } else Xe = dt.apply(this, arguments);
11374
11374
  return E(this, Xe);
11375
11375
  });
11376
- function pt() {
11376
+ function yt() {
11377
11377
  var Xe;
11378
11378
  return function(dt, Zt) {
11379
11379
  if (!(dt instanceof Zt)) throw new TypeError("Cannot call a class as a function");
11380
- }(this, pt), (Xe = Ve.call(this)).MEDIA_KEYERR_CODE = 100, Xe.MEDIA_KEYERR_UNKNOWN_CODE = 101, Xe.MEDIA_KEYERR_CLIENT_CODE = 102, Xe.MEDIA_KEYERR_SERVICE_CODE = 103, Xe.MEDIA_KEYERR_OUTPUT_CODE = 104, Xe.MEDIA_KEYERR_HARDWARECHANGE_CODE = 105, Xe.MEDIA_KEYERR_DOMAIN_CODE = 106, Xe.MEDIA_KEY_MESSAGE_ERROR_CODE = 107, Xe.MEDIA_KEY_MESSAGE_NO_CHALLENGE_ERROR_CODE = 108, Xe.SERVER_CERTIFICATE_UPDATED_ERROR_CODE = 109, Xe.KEY_STATUS_CHANGED_EXPIRED_ERROR_CODE = 110, Xe.MEDIA_KEY_MESSAGE_NO_LICENSE_SERVER_URL_ERROR_CODE = 111, Xe.KEY_SYSTEM_ACCESS_DENIED_ERROR_CODE = 112, Xe.KEY_SESSION_CREATED_ERROR_CODE = 113, Xe.MEDIA_KEY_MESSAGE_LICENSER_ERROR_CODE = 114, Xe.MEDIA_KEYERR_UNKNOWN_MESSAGE = "An unspecified error occurred. This value is used for errors that don't match any of the other codes.", Xe.MEDIA_KEYERR_CLIENT_MESSAGE = "The Key System could not be installed or updated.", Xe.MEDIA_KEYERR_SERVICE_MESSAGE = "The message passed into update indicated an error from the license service.", Xe.MEDIA_KEYERR_OUTPUT_MESSAGE = "There is no available output device with the required characteristics for the content protection system.", Xe.MEDIA_KEYERR_HARDWARECHANGE_MESSAGE = "A hardware configuration change caused a content protection error.", Xe.MEDIA_KEYERR_DOMAIN_MESSAGE = "An error occurred in a multi-device domain licensing configuration. The most common error is a failure to join the domain.", Xe.MEDIA_KEY_MESSAGE_ERROR_MESSAGE = "Multiple key sessions were creates with a user-agent that does not support sessionIDs!! Unpredictable behavior ahead!", Xe.MEDIA_KEY_MESSAGE_NO_CHALLENGE_ERROR_MESSAGE = "DRM: Empty key message from CDM", Xe.SERVER_CERTIFICATE_UPDATED_ERROR_MESSAGE = "Error updating server certificate -- ", Xe.KEY_STATUS_CHANGED_EXPIRED_ERROR_MESSAGE = "DRM: KeyStatusChange error! -- License has expired", Xe.MEDIA_KEY_MESSAGE_NO_LICENSE_SERVER_URL_ERROR_MESSAGE = "DRM: No license server URL specified!", Xe.KEY_SYSTEM_ACCESS_DENIED_ERROR_MESSAGE = "DRM: KeySystem Access Denied! -- ", Xe.KEY_SESSION_CREATED_ERROR_MESSAGE = "DRM: unable to create session! --", Xe.MEDIA_KEY_MESSAGE_LICENSER_ERROR_MESSAGE = "DRM: licenser error! --", Xe;
11380
+ }(this, yt), (Xe = Ve.call(this)).MEDIA_KEYERR_CODE = 100, Xe.MEDIA_KEYERR_UNKNOWN_CODE = 101, Xe.MEDIA_KEYERR_CLIENT_CODE = 102, Xe.MEDIA_KEYERR_SERVICE_CODE = 103, Xe.MEDIA_KEYERR_OUTPUT_CODE = 104, Xe.MEDIA_KEYERR_HARDWARECHANGE_CODE = 105, Xe.MEDIA_KEYERR_DOMAIN_CODE = 106, Xe.MEDIA_KEY_MESSAGE_ERROR_CODE = 107, Xe.MEDIA_KEY_MESSAGE_NO_CHALLENGE_ERROR_CODE = 108, Xe.SERVER_CERTIFICATE_UPDATED_ERROR_CODE = 109, Xe.KEY_STATUS_CHANGED_EXPIRED_ERROR_CODE = 110, Xe.MEDIA_KEY_MESSAGE_NO_LICENSE_SERVER_URL_ERROR_CODE = 111, Xe.KEY_SYSTEM_ACCESS_DENIED_ERROR_CODE = 112, Xe.KEY_SESSION_CREATED_ERROR_CODE = 113, Xe.MEDIA_KEY_MESSAGE_LICENSER_ERROR_CODE = 114, Xe.MEDIA_KEYERR_UNKNOWN_MESSAGE = "An unspecified error occurred. This value is used for errors that don't match any of the other codes.", Xe.MEDIA_KEYERR_CLIENT_MESSAGE = "The Key System could not be installed or updated.", Xe.MEDIA_KEYERR_SERVICE_MESSAGE = "The message passed into update indicated an error from the license service.", Xe.MEDIA_KEYERR_OUTPUT_MESSAGE = "There is no available output device with the required characteristics for the content protection system.", Xe.MEDIA_KEYERR_HARDWARECHANGE_MESSAGE = "A hardware configuration change caused a content protection error.", Xe.MEDIA_KEYERR_DOMAIN_MESSAGE = "An error occurred in a multi-device domain licensing configuration. The most common error is a failure to join the domain.", Xe.MEDIA_KEY_MESSAGE_ERROR_MESSAGE = "Multiple key sessions were creates with a user-agent that does not support sessionIDs!! Unpredictable behavior ahead!", Xe.MEDIA_KEY_MESSAGE_NO_CHALLENGE_ERROR_MESSAGE = "DRM: Empty key message from CDM", Xe.SERVER_CERTIFICATE_UPDATED_ERROR_MESSAGE = "Error updating server certificate -- ", Xe.KEY_STATUS_CHANGED_EXPIRED_ERROR_MESSAGE = "DRM: KeyStatusChange error! -- License has expired", Xe.MEDIA_KEY_MESSAGE_NO_LICENSE_SERVER_URL_ERROR_MESSAGE = "DRM: No license server URL specified!", Xe.KEY_SYSTEM_ACCESS_DENIED_ERROR_MESSAGE = "DRM: KeySystem Access Denied! -- ", Xe.KEY_SESSION_CREATED_ERROR_MESSAGE = "DRM: unable to create session! --", Xe.MEDIA_KEY_MESSAGE_LICENSER_ERROR_MESSAGE = "DRM: licenser error! --", Xe;
11381
11381
  }
11382
- return pt;
11383
- }(C(2230).Z))(), c = C(5459), d = function Nt(It, wt, Ve, pt, Xe, dt, Zt, Gt) {
11382
+ return yt;
11383
+ }(C(2230).Z))(), c = C(5459), d = function Nt(It, wt, Ve, yt, Xe, dt, Zt, Gt) {
11384
11384
  (function(nn, rn) {
11385
11385
  if (!(nn instanceof rn)) throw new TypeError("Cannot call a class as a function");
11386
- })(this, Nt), this.url = It, this.method = wt, this.responseType = Ve, this.headers = pt, this.withCredentials = Xe, this.messageType = dt, this.sessionId = Zt, this.data = Gt;
11386
+ })(this, Nt), this.url = It, this.method = wt, this.responseType = Ve, this.headers = yt, this.withCredentials = Xe, this.messageType = dt, this.sessionId = Zt, this.data = Gt;
11387
11387
  }, S = function Nt(It, wt, Ve) {
11388
- (function(pt, Xe) {
11389
- if (!(pt instanceof Xe)) throw new TypeError("Cannot call a class as a function");
11388
+ (function(yt, Xe) {
11389
+ if (!(yt instanceof Xe)) throw new TypeError("Cannot call a class as a function");
11390
11390
  })(this, Nt), this.url = It, this.headers = wt, this.data = Ve;
11391
11391
  }, x = C(7855), B = C(703), P = C(3393), J = C(5448);
11392
11392
  function M(Nt) {
@@ -11397,7 +11397,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11397
11397
  }, M(Nt);
11398
11398
  }
11399
11399
  function K(Nt) {
11400
- var It, wt, Ve, pt, Xe, dt, Zt, Gt, nn, rn, Kt, At = (Nt = Nt || {}).protectionKeyController, tn = Nt.protectionModel, Jt = Nt.eventBus, dn = Nt.events, Tn = Nt.debug, wn = Nt.BASE64, sn = Nt.constants, St = [], Dt = Nt.cmcdModel, jt = Nt.settings, fn = Nt.customParametersModel;
11400
+ var It, wt, Ve, yt, Xe, dt, Zt, Gt, nn, rn, Kt, At = (Nt = Nt || {}).protectionKeyController, tn = Nt.protectionModel, Jt = Nt.eventBus, dn = Nt.events, Tn = Nt.debug, wn = Nt.BASE64, sn = Nt.constants, St = [], Dt = Nt.cmcdModel, jt = Nt.settings, fn = Nt.customParametersModel;
11401
11401
  function mn() {
11402
11402
  if (!(Jt && Jt.hasOwnProperty("on") && At && At.hasOwnProperty("getSupportedKeySystemsFromContentProtection"))) throw new Error("Missing config parameter(s)");
11403
11403
  }
@@ -11485,7 +11485,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11485
11485
  }
11486
11486
  function Br(Ft) {
11487
11487
  var ln = Ft.protData, En = [], Vn = [], Cn = ln && ln.audioRobustness && ln.audioRobustness.length > 0 ? ln.audioRobustness : Zt, Xn = ln && ln.videoRobustness && ln.videoRobustness.length > 0 ? ln.videoRobustness : Zt, Fn = Ft.sessionType, yr = ln && ln.distinctiveIdentifier ? ln.distinctiveIdentifier : "optional", Kn = ln && ln.persistentState ? ln.persistentState : Fn === "temporary" ? "optional" : "required";
11488
- return pt.forEach(function(Un) {
11488
+ return yt.forEach(function(Un) {
11489
11489
  Un.type === sn.AUDIO ? En.push(new e(Un.codec, Cn)) : Un.type === sn.VIDEO && Vn.push(new e(Un.codec, Xn));
11490
11490
  }), new p(En, Vn, yr, Kn, [Fn]);
11491
11491
  }
@@ -11510,7 +11510,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11510
11510
  var Hr = kn.serverURL;
11511
11511
  typeof Hr == "string" && Hr !== "" ? Sr = Hr : M(Hr) === "object" && Hr.hasOwnProperty(Wr) && (Sr = Hr[Wr]);
11512
11512
  } else if (kn && kn.laURL && kn.laURL !== "") Sr = kn.laURL;
11513
- else if (!(Sr = t.getLicenseServerUrlFromMediaInfo(pt, Gt.schemeIdURI)) && !At.isClearKey(Gt)) {
11513
+ else if (!(Sr = t.getLicenseServerUrlFromMediaInfo(yt, Gt.schemeIdURI)) && !At.isClearKey(Gt)) {
11514
11514
  var Bi = t.getPSSHData(ci.initData);
11515
11515
  (Sr = Gt.getLicenseServerURLFromInitData(Bi)) || (Sr = Qr.laURL);
11516
11516
  }
@@ -11595,7 +11595,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11595
11595
  function oi(Ft, ln) {
11596
11596
  if (!jt.get().streaming.protection.ignoreEmeEncryptedEvent) {
11597
11597
  if (wt.debug("DRM: onNeedKey"), Ft.key.initDataType !== "cenc") return void wt.warn("DRM: Only 'cenc' initData is supported! Ignoring initData of type: " + Ft.key.initDataType);
11598
- if (pt.length === 0 && (wt.warn("DRM: onNeedKey called before initializeForMedia, wait until initialized"), (ln = ln === void 0 ? 1 : ln + 1) < 5)) return void St.push(setTimeout(function() {
11598
+ if (yt.length === 0 && (wt.warn("DRM: onNeedKey called before initializeForMedia, wait until initialized"), (ln = ln === void 0 ? 1 : ln + 1) < 5)) return void St.push(setTimeout(function() {
11599
11599
  oi(Ft, ln);
11600
11600
  }, 500));
11601
11601
  var En = Ft.key.initData;
@@ -11613,13 +11613,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11613
11613
  }
11614
11614
  return It = { initializeForMedia: function(Ft) {
11615
11615
  if (!Ft) throw new Error("mediaInfo can not be null or undefined");
11616
- mn(), pt.push(Ft);
11616
+ mn(), yt.push(Ft);
11617
11617
  }, clearMediaInfoArray: function() {
11618
- pt = [];
11618
+ yt = [];
11619
11619
  }, handleKeySystemFromManifest: function() {
11620
- if (pt && pt.length !== 0) {
11620
+ if (yt && yt.length !== 0) {
11621
11621
  var Ft = [];
11622
- pt.forEach(function(ln) {
11622
+ yt.forEach(function(ln) {
11623
11623
  var En = At.getSupportedKeySystemsFromContentProtection(ln.contentProtection, Xe, dt);
11624
11624
  En.length > 0 && (Ft.length === 0 && (Ft = En), Ve.push(En));
11625
11625
  }), Ft && Ft.length > 0 && An(Ft, !0);
@@ -11647,13 +11647,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11647
11647
  }, reset: function() {
11648
11648
  Jt.off(dn.INTERNAL_KEY_MESSAGE, Cr, It), Jt.off(dn.INTERNAL_KEY_STATUS_CHANGED, Tr, It), mn(), ai(), rr(null), Gt = null, nn = !1, tn && (tn.reset(), tn = null), St.forEach(function(Ft) {
11649
11649
  return clearTimeout(Ft);
11650
- }), St = [], pt = [], Ve = [];
11651
- } }, wt = Tn.getLogger(It), Ve = [], pt = [], dt = "temporary", Zt = "", rn = null, Kt = null, Jt.on(dn.INTERNAL_KEY_MESSAGE, Cr, It), Jt.on(dn.INTERNAL_KEY_STATUS_CHANGED, Tr, It), It;
11650
+ }), St = [], yt = [], Ve = [];
11651
+ } }, wt = Tn.getLogger(It), Ve = [], yt = [], dt = "temporary", Zt = "", rn = null, Kt = null, Jt.on(dn.INTERNAL_KEY_MESSAGE, Cr, It), Jt.on(dn.INTERNAL_KEY_STATUS_CHANGED, Tr, It), It;
11652
11652
  }
11653
11653
  K.__dashjs_factory_name = "ProtectionController";
11654
11654
  var ae = J.Z.getClassFactory(K), j = function Nt(It, wt) {
11655
- (function(Ve, pt) {
11656
- if (!(Ve instanceof pt)) throw new TypeError("Cannot call a class as a function");
11655
+ (function(Ve, yt) {
11656
+ if (!(Ve instanceof yt)) throw new TypeError("Cannot call a class as a function");
11657
11657
  })(this, Nt), this.keyID = It, this.key = wt;
11658
11658
  };
11659
11659
  function te(Nt, It) {
@@ -11663,16 +11663,16 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11663
11663
  }
11664
11664
  }
11665
11665
  var le = function() {
11666
- function Nt(Ve, pt) {
11666
+ function Nt(Ve, yt) {
11667
11667
  if (function(Xe, dt) {
11668
11668
  if (!(Xe instanceof dt)) throw new TypeError("Cannot call a class as a function");
11669
- }(this, Nt), pt && pt !== "persistent" && pt !== "temporary") throw new Error("Invalid ClearKey key set type! Must be one of 'persistent' or 'temporary'");
11670
- this.keyPairs = Ve, this.type = pt;
11669
+ }(this, Nt), yt && yt !== "persistent" && yt !== "temporary") throw new Error("Invalid ClearKey key set type! Must be one of 'persistent' or 'temporary'");
11670
+ this.keyPairs = Ve, this.type = yt;
11671
11671
  }
11672
11672
  var It, wt;
11673
11673
  return It = Nt, (wt = [{ key: "toJWK", value: function() {
11674
- var Ve, pt = this.keyPairs.length, Xe = { keys: [] };
11675
- for (Ve = 0; Ve < pt; Ve++) {
11674
+ var Ve, yt = this.keyPairs.length, Xe = { keys: [] };
11675
+ for (Ve = 0; Ve < yt; Ve++) {
11676
11676
  var dt = { kty: "oct", alg: "A128KW", kid: this.keyPairs[Ve].keyID, k: this.keyPairs[Ve].key };
11677
11677
  Xe.keys.push(dt);
11678
11678
  }
@@ -11690,8 +11690,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11690
11690
  }
11691
11691
  var X = new (function() {
11692
11692
  function Nt() {
11693
- (function(Ve, pt) {
11694
- if (!(Ve instanceof pt)) throw new TypeError("Cannot call a class as a function");
11693
+ (function(Ve, yt) {
11694
+ if (!(Ve instanceof yt)) throw new TypeError("Cannot call a class as a function");
11695
11695
  })(this, Nt), this.init();
11696
11696
  }
11697
11697
  var It, wt;
@@ -11703,8 +11703,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11703
11703
  var It = (Nt = Nt || {}).BASE64;
11704
11704
  return { uuid: De, schemeIdURI: We, systemString: Ue, getInitData: function(wt, Ve) {
11705
11705
  try {
11706
- var pt = t.parseInitDataFromContentProtection(wt, It);
11707
- if (!pt && Ve) {
11706
+ var yt = t.parseInitDataFromContentProtection(wt, It);
11707
+ if (!yt && Ve) {
11708
11708
  var Xe = { kids: [function(dt) {
11709
11709
  try {
11710
11710
  var Zt = dt.replace(/-/g, "");
@@ -11715,9 +11715,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11715
11715
  return null;
11716
11716
  }
11717
11717
  }(Ve["cenc:default_KID"])] };
11718
- pt = new TextEncoder().encode(JSON.stringify(Xe));
11718
+ yt = new TextEncoder().encode(JSON.stringify(Xe));
11719
11719
  }
11720
- return pt;
11720
+ return yt;
11721
11721
  } catch {
11722
11722
  return null;
11723
11723
  }
@@ -11730,37 +11730,37 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11730
11730
  }, getCDMData: function() {
11731
11731
  return null;
11732
11732
  }, getClearKeysFromProtectionData: function(wt, Ve) {
11733
- var pt = null;
11733
+ var yt = null;
11734
11734
  if (wt) {
11735
11735
  for (var Xe = JSON.parse(String.fromCharCode.apply(null, new Uint8Array(Ve))), dt = [], Zt = 0; Zt < Xe.kids.length; Zt++) {
11736
11736
  var Gt = Xe.kids[Zt], nn = wt.clearkeys && wt.clearkeys.hasOwnProperty(Gt) ? wt.clearkeys[Gt] : null;
11737
11737
  if (!nn) throw new Error("DRM: ClearKey keyID (" + Gt + ") is not known!");
11738
11738
  dt.push(new j(Gt, nn));
11739
11739
  }
11740
- pt = new le(dt);
11740
+ yt = new le(dt);
11741
11741
  }
11742
- return pt;
11742
+ return yt;
11743
11743
  } };
11744
11744
  }
11745
11745
  be.__dashjs_factory_name = "KeySystemClearKey";
11746
11746
  var Ze = dashjs.FactoryMaker.getSingletonFactory(be), Qe = "1077efec-c0b2-4d02-ace3-3c1e52e2fb4b", ot = X.CLEARKEY_KEYSTEM_STRING, Ae = "urn:uuid:" + Qe;
11747
11747
  function we(Nt) {
11748
11748
  var It, wt = Nt.BASE64, Ve = Nt.debug.getLogger(It);
11749
- return { uuid: Qe, schemeIdURI: Ae, systemString: ot, getInitData: function(pt) {
11750
- return t.parseInitDataFromContentProtection(pt, wt);
11749
+ return { uuid: Qe, schemeIdURI: Ae, systemString: ot, getInitData: function(yt) {
11750
+ return t.parseInitDataFromContentProtection(yt, wt);
11751
11751
  }, getRequestHeadersFromMessage: function() {
11752
11752
  return null;
11753
- }, getLicenseRequestFromMessage: function(pt) {
11754
- return new Uint8Array(pt);
11753
+ }, getLicenseRequestFromMessage: function(yt) {
11754
+ return new Uint8Array(yt);
11755
11755
  }, getLicenseServerURLFromInitData: function() {
11756
11756
  return null;
11757
11757
  }, getCDMData: function() {
11758
11758
  return null;
11759
- }, getClearKeysFromProtectionData: function(pt, Xe) {
11759
+ }, getClearKeysFromProtectionData: function(yt, Xe) {
11760
11760
  var dt = null;
11761
- if (pt) {
11761
+ if (yt) {
11762
11762
  for (var Zt = JSON.parse(String.fromCharCode.apply(null, new Uint8Array(Xe))), Gt = [], nn = 0; nn < Zt.kids.length; nn++) {
11763
- var rn = Zt.kids[nn], Kt = pt.clearkeys && pt.clearkeys.hasOwnProperty(rn) ? pt.clearkeys[rn] : null;
11763
+ var rn = Zt.kids[nn], Kt = yt.clearkeys && yt.clearkeys.hasOwnProperty(rn) ? yt.clearkeys[rn] : null;
11764
11764
  if (!Kt) throw new Error("DRM: ClearKey keyID (" + rn + ") is not known!");
11765
11765
  Gt.push(new j(rn, Kt));
11766
11766
  }
@@ -11770,10 +11770,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11770
11770
  } };
11771
11771
  }
11772
11772
  we.__dashjs_factory_name = "KeySystemW3CClearKey";
11773
- var Tt = dashjs.FactoryMaker.getSingletonFactory(we), _t = "edef8ba9-79d6-4ace-a3c8-27dcd51d21ed", qe = X.WIDEVINE_KEYSTEM_STRING, at = "urn:uuid:" + _t;
11773
+ var Tt = dashjs.FactoryMaker.getSingletonFactory(we), pt = "edef8ba9-79d6-4ace-a3c8-27dcd51d21ed", qe = X.WIDEVINE_KEYSTEM_STRING, at = "urn:uuid:" + pt;
11774
11774
  function me(Nt) {
11775
11775
  var It = (Nt = Nt || {}).BASE64;
11776
- return { uuid: _t, schemeIdURI: at, systemString: qe, getInitData: function(wt) {
11776
+ return { uuid: pt, schemeIdURI: at, systemString: qe, getInitData: function(wt) {
11777
11777
  return t.parseInitDataFromContentProtection(wt, It);
11778
11778
  }, getRequestHeadersFromMessage: function() {
11779
11779
  return null;
@@ -11789,12 +11789,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11789
11789
  var ye = dashjs.FactoryMaker.getSingletonFactory(me), je = "9a04f079-9840-4286-ab92-e65be0885f95", f = X.PLAYREADY_KEYSTEM_STRING, u = "urn:uuid:" + je;
11790
11790
  function T(Nt) {
11791
11791
  var It = "utf-16", wt = (Nt = Nt || {}).BASE64, Ve = Nt.settings;
11792
- function pt() {
11792
+ function yt() {
11793
11793
  if (!wt || !wt.hasOwnProperty("decodeArray") || !wt.hasOwnProperty("decodeArray")) throw new Error("Missing config parameter(s)");
11794
11794
  }
11795
11795
  return { uuid: je, schemeIdURI: u, systemString: f, getInitData: function(Xe) {
11796
11796
  var dt, Zt, Gt, nn, rn, Kt = new Uint8Array([112, 115, 115, 104, 0, 0, 0, 0]), At = new Uint8Array([154, 4, 240, 121, 152, 64, 66, 134, 171, 146, 230, 91, 224, 136, 95, 149]), tn = 0, Jt = null;
11797
- if (pt(), !Xe) return null;
11797
+ if (yt(), !Xe) return null;
11798
11798
  if ("pssh" in Xe) return t.parseInitDataFromContentProtection(Xe, wt);
11799
11799
  if ("pro" in Xe) Jt = wt.decodeArray(Xe.pro.__text);
11800
11800
  else {
@@ -11813,7 +11813,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11813
11813
  var dt = null, Zt = new DOMParser();
11814
11814
  if (Ve && Ve.get().streaming.protection.detectPlayreadyMessageFormat && It === "utf-16" && Xe && Xe.byteLength % 2 == 1) return Xe;
11815
11815
  var Gt = It === "utf-16" ? new Uint16Array(Xe) : new Uint8Array(Xe);
11816
- pt();
11816
+ yt();
11817
11817
  var nn = String.fromCharCode.apply(null, Gt), rn = Zt.parseFromString(nn, "application/xml");
11818
11818
  if (!rn.getElementsByTagName("PlayReadyKeyMessage")[0]) return Xe;
11819
11819
  var Kt = rn.getElementsByTagName("Challenge")[0].childNodes[0].nodeValue;
@@ -11838,7 +11838,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11838
11838
  return null;
11839
11839
  }, getCDMData: function(Xe) {
11840
11840
  var dt, Zt, Gt, nn;
11841
- if (pt(), !Xe) return null;
11841
+ if (yt(), !Xe) return null;
11842
11842
  for (dt = [], nn = 0; nn < Xe.length; ++nn) dt.push(Xe.charCodeAt(nn)), dt.push(0);
11843
11843
  for (dt = String.fromCharCode.apply(null, dt), dt = wt.encode(dt), Zt = '<PlayReadyCDMData type="LicenseAcquisition"><LicenseAcquisition version="1.0" Proactive="false"><CustomData encoding="base64encoded">%CUSTOMDATA%</CustomData></LicenseAcquisition></PlayReadyCDMData>'.replace("%CUSTOMDATA%", dt), Gt = [], nn = 0; nn < Zt.length; ++nn) Gt.push(Zt.charCodeAt(nn)), Gt.push(0);
11844
11844
  return new Uint8Array(Gt).buffer;
@@ -11865,49 +11865,49 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11865
11865
  return "POST";
11866
11866
  }, getResponseType: function(Ve) {
11867
11867
  return wt[Ve].responseType;
11868
- }, getLicenseMessage: function(Ve, pt) {
11868
+ }, getLicenseMessage: function(Ve, yt) {
11869
11869
  return function() {
11870
11870
  if (!It || !It.hasOwnProperty("decodeArray")) throw new Error("Missing config parameter(s)");
11871
- }(), wt[pt].getLicenseMessage(Ve);
11872
- }, getErrorResponse: function(Ve, pt) {
11873
- return wt[pt].getErrorResponse(Ve);
11871
+ }(), wt[yt].getLicenseMessage(Ve);
11872
+ }, getErrorResponse: function(Ve, yt) {
11873
+ return wt[yt].getErrorResponse(Ve);
11874
11874
  } };
11875
11875
  }
11876
11876
  Q.__dashjs_factory_name = "DRMToday";
11877
11877
  var Y = dashjs.FactoryMaker.getSingletonFactory(Q);
11878
11878
  function Ce() {
11879
11879
  var Nt = "http://schemas.xmlsoap.org/soap/envelope/";
11880
- function It(pt) {
11881
- var Xe = String.fromCharCode.apply(null, new Uint8Array(pt));
11880
+ function It(yt) {
11881
+ var Xe = String.fromCharCode.apply(null, new Uint8Array(yt));
11882
11882
  return decodeURIComponent(escape(Xe));
11883
11883
  }
11884
- function wt(pt) {
11884
+ function wt(yt) {
11885
11885
  if (window.DOMParser) {
11886
- var Xe = It(pt), dt = new window.DOMParser().parseFromString(Xe, "text/xml"), Zt = dt ? dt.getElementsByTagNameNS(Nt, "Envelope")[0] : null, Gt = Zt ? Zt.getElementsByTagNameNS(Nt, "Body")[0] : null;
11886
+ var Xe = It(yt), dt = new window.DOMParser().parseFromString(Xe, "text/xml"), Zt = dt ? dt.getElementsByTagNameNS(Nt, "Envelope")[0] : null, Gt = Zt ? Zt.getElementsByTagNameNS(Nt, "Body")[0] : null;
11887
11887
  if (Gt && Gt.getElementsByTagNameNS(Nt, "Fault")[0]) return null;
11888
11888
  }
11889
- return pt;
11889
+ return yt;
11890
11890
  }
11891
- function Ve(pt) {
11891
+ function Ve(yt) {
11892
11892
  var Xe = "", dt = "", Zt = "", Gt = -1, nn = -1;
11893
11893
  if (window.DOMParser) {
11894
- var rn = It(pt), Kt = new window.DOMParser().parseFromString(rn, "text/xml"), At = Kt ? Kt.getElementsByTagNameNS(Nt, "Envelope")[0] : null, tn = At ? At.getElementsByTagNameNS(Nt, "Body")[0] : null, Jt = tn ? tn.getElementsByTagNameNS(Nt, "Fault")[0] : null, dn = Jt ? Jt.getElementsByTagName("detail")[0] : null, Tn = dn ? dn.getElementsByTagName("Exception")[0] : null, wn = null;
11894
+ var rn = It(yt), Kt = new window.DOMParser().parseFromString(rn, "text/xml"), At = Kt ? Kt.getElementsByTagNameNS(Nt, "Envelope")[0] : null, tn = At ? At.getElementsByTagNameNS(Nt, "Body")[0] : null, Jt = tn ? tn.getElementsByTagNameNS(Nt, "Fault")[0] : null, dn = Jt ? Jt.getElementsByTagName("detail")[0] : null, Tn = dn ? dn.getElementsByTagName("Exception")[0] : null, wn = null;
11895
11895
  if (Jt === null) return rn;
11896
11896
  Xe = (wn = Jt.getElementsByTagName("faultstring")[0].firstChild) ? wn.nodeValue : null, Tn !== null && (dt = (wn = Tn.getElementsByTagName("StatusCode")[0]) ? wn.firstChild.nodeValue : null, Gt = (Zt = (wn = Tn.getElementsByTagName("Message")[0]) ? wn.firstChild.nodeValue : null) ? Zt.lastIndexOf("[") + 1 : -1, nn = Zt ? Zt.indexOf("]") : -1, Zt = Zt ? Zt.substring(Gt, nn) : "");
11897
11897
  }
11898
11898
  var sn = "code: ".concat(dt, ", name: ").concat(Xe);
11899
11899
  return Zt && (sn += ", message: ".concat(Zt)), sn;
11900
11900
  }
11901
- return { getServerURLFromMessage: function(pt) {
11902
- return pt;
11901
+ return { getServerURLFromMessage: function(yt) {
11902
+ return yt;
11903
11903
  }, getHTTPMethod: function() {
11904
11904
  return "POST";
11905
11905
  }, getResponseType: function() {
11906
11906
  return "arraybuffer";
11907
- }, getLicenseMessage: function(pt) {
11908
- return wt.call(this, pt);
11909
- }, getErrorResponse: function(pt) {
11910
- return Ve.call(this, pt);
11907
+ }, getLicenseMessage: function(yt) {
11908
+ return wt.call(this, yt);
11909
+ }, getErrorResponse: function(yt) {
11910
+ return Ve.call(this, yt);
11911
11911
  } };
11912
11912
  }
11913
11913
  Ce.__dashjs_factory_name = "PlayReady";
@@ -11937,8 +11937,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11937
11937
  }, getLicenseMessage: function(Nt) {
11938
11938
  if (!Nt.hasOwnProperty("keys")) return null;
11939
11939
  for (var It = [], wt = 0; wt < Nt.keys.length; wt++) {
11940
- var Ve = Nt.keys[wt], pt = Ve.kid.replace(/=/g, ""), Xe = Ve.k.replace(/=/g, "");
11941
- It.push(new j(pt, Xe));
11940
+ var Ve = Nt.keys[wt], yt = Ve.kid.replace(/=/g, ""), Xe = Ve.k.replace(/=/g, "");
11941
+ It.push(new j(yt, Xe));
11942
11942
  }
11943
11943
  return new le(It);
11944
11944
  }, getErrorResponse: function(Nt) {
@@ -11948,7 +11948,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11948
11948
  Ne.__dashjs_factory_name = "ClearKey";
11949
11949
  var He = dashjs.FactoryMaker.getSingletonFactory(Ne);
11950
11950
  function it() {
11951
- var Nt, It, wt, Ve, pt, Xe, dt, Zt, Gt = this.context;
11951
+ var Nt, It, wt, Ve, yt, Xe, dt, Zt, Gt = this.context;
11952
11952
  function nn(At, tn) {
11953
11953
  return tn && At in tn ? tn[At] : null;
11954
11954
  }
@@ -11960,7 +11960,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11960
11960
  }
11961
11961
  return Nt = { initialize: function() {
11962
11962
  var At;
11963
- Ve = [], At = b(Gt).getInstance({ BASE64: pt, settings: Xe }), Ve.push(At), At = ye(Gt).getInstance({ BASE64: pt }), Ve.push(At), At = Ze(Gt).getInstance({ BASE64: pt }), Ve.push(At), dt = At, At = Tt(Gt).getInstance({ BASE64: pt, debug: It }), Ve.push(At), Zt = At;
11963
+ Ve = [], At = b(Gt).getInstance({ BASE64: yt, settings: Xe }), Ve.push(At), At = ye(Gt).getInstance({ BASE64: yt }), Ve.push(At), At = Ze(Gt).getInstance({ BASE64: yt }), Ve.push(At), dt = At, At = Tt(Gt).getInstance({ BASE64: yt, debug: It }), Ve.push(At), Zt = At;
11964
11964
  }, setProtectionData: function(At) {
11965
11965
  for (var tn, Jt, dn = 0; dn < Ve.length; dn++) {
11966
11966
  var Tn = Ve[dn];
@@ -12003,7 +12003,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12003
12003
  }, getLicenseServerModelInstance: function(At, tn, Jt) {
12004
12004
  if (Jt === "license-release" || Jt === "individualization-request") return null;
12005
12005
  var dn = null;
12006
- return tn && tn.hasOwnProperty("drmtoday") ? dn = Y(Gt).getInstance({ BASE64: pt }) : At.systemString === X.WIDEVINE_KEYSTEM_STRING ? dn = Fe(Gt).getInstance() : At.systemString === X.PLAYREADY_KEYSTEM_STRING ? dn = tt(Gt).getInstance() : At.systemString === X.CLEARKEY_KEYSTEM_STRING && (dn = He(Gt).getInstance()), dn;
12006
+ return tn && tn.hasOwnProperty("drmtoday") ? dn = Y(Gt).getInstance({ BASE64: yt }) : At.systemString === X.WIDEVINE_KEYSTEM_STRING ? dn = Fe(Gt).getInstance() : At.systemString === X.PLAYREADY_KEYSTEM_STRING ? dn = tt(Gt).getInstance() : At.systemString === X.CLEARKEY_KEYSTEM_STRING && (dn = He(Gt).getInstance()), dn;
12007
12007
  }, processClearKeyLicenseRequest: function(At, tn, Jt) {
12008
12008
  try {
12009
12009
  return At.getClearKeysFromProtectionData(tn, Jt);
@@ -12011,7 +12011,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12011
12011
  return wt.error("Failed to retrieve clearkeys from ProtectionData"), null;
12012
12012
  }
12013
12013
  }, setConfig: function(At) {
12014
- At && (At.debug && (It = At.debug, wt = It.getLogger(Nt)), At.BASE64 && (pt = At.BASE64), At.settings && (Xe = At.settings));
12014
+ At && (At.debug && (It = At.debug, wt = It.getLogger(Nt)), At.BASE64 && (yt = At.BASE64), At.settings && (Xe = At.settings));
12015
12015
  } }, Nt;
12016
12016
  }
12017
12017
  it.__dashjs_factory_name = "ProtectionKeyController";
@@ -12043,8 +12043,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12043
12043
  (function(Xe, dt) {
12044
12044
  if (typeof dt != "function" && dt !== null) throw new TypeError("Super expression must either be null or a function");
12045
12045
  Xe.prototype = Object.create(dt && dt.prototype, { constructor: { value: Xe, writable: !0, configurable: !0 } }), dt && Yt(Xe, dt);
12046
- })(pt, Nt);
12047
- var It, wt, Ve = (It = pt, wt = function() {
12046
+ })(yt, Nt);
12047
+ var It, wt, Ve = (It = yt, wt = function() {
12048
12048
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
12049
12049
  if (typeof Proxy == "function") return !0;
12050
12050
  try {
@@ -12061,29 +12061,29 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12061
12061
  } else Xe = dt.apply(this, arguments);
12062
12062
  return Ot(this, Xe);
12063
12063
  });
12064
- function pt() {
12064
+ function yt() {
12065
12065
  var Xe;
12066
12066
  return function(dt, Zt) {
12067
12067
  if (!(dt instanceof Zt)) throw new TypeError("Cannot call a class as a function");
12068
- }(this, pt), (Xe = Ve.call(this)).INTERNAL_KEY_MESSAGE = "internalKeyMessage", Xe.INTERNAL_KEY_STATUS_CHANGED = "internalkeyStatusChanged", Xe.KEY_ADDED = "public_keyAdded", Xe.KEY_ERROR = "public_keyError", Xe.KEY_MESSAGE = "public_keyMessage", Xe.KEY_SESSION_CLOSED = "public_keySessionClosed", Xe.KEY_SESSION_CREATED = "public_keySessionCreated", Xe.KEY_SESSION_REMOVED = "public_keySessionRemoved", Xe.KEY_STATUSES_CHANGED = "public_keyStatusesChanged", Xe.KEY_SYSTEM_ACCESS_COMPLETE = "public_keySystemAccessComplete", Xe.KEY_SYSTEM_SELECTED = "public_keySystemSelected", Xe.LICENSE_REQUEST_COMPLETE = "public_licenseRequestComplete", Xe.LICENSE_REQUEST_SENDING = "public_licenseRequestSending", Xe.NEED_KEY = "needkey", Xe.PROTECTION_CREATED = "public_protectioncreated", Xe.PROTECTION_DESTROYED = "public_protectiondestroyed", Xe.SERVER_CERTIFICATE_UPDATED = "serverCertificateUpdated", Xe.TEARDOWN_COMPLETE = "protectionTeardownComplete", Xe.VIDEO_ELEMENT_SELECTED = "videoElementSelected", Xe.KEY_SESSION_UPDATED = "public_keySessionUpdated", Xe;
12068
+ }(this, yt), (Xe = Ve.call(this)).INTERNAL_KEY_MESSAGE = "internalKeyMessage", Xe.INTERNAL_KEY_STATUS_CHANGED = "internalkeyStatusChanged", Xe.KEY_ADDED = "public_keyAdded", Xe.KEY_ERROR = "public_keyError", Xe.KEY_MESSAGE = "public_keyMessage", Xe.KEY_SESSION_CLOSED = "public_keySessionClosed", Xe.KEY_SESSION_CREATED = "public_keySessionCreated", Xe.KEY_SESSION_REMOVED = "public_keySessionRemoved", Xe.KEY_STATUSES_CHANGED = "public_keyStatusesChanged", Xe.KEY_SYSTEM_ACCESS_COMPLETE = "public_keySystemAccessComplete", Xe.KEY_SYSTEM_SELECTED = "public_keySystemSelected", Xe.LICENSE_REQUEST_COMPLETE = "public_licenseRequestComplete", Xe.LICENSE_REQUEST_SENDING = "public_licenseRequestSending", Xe.NEED_KEY = "needkey", Xe.PROTECTION_CREATED = "public_protectioncreated", Xe.PROTECTION_DESTROYED = "public_protectiondestroyed", Xe.SERVER_CERTIFICATE_UPDATED = "serverCertificateUpdated", Xe.TEARDOWN_COMPLETE = "protectionTeardownComplete", Xe.VIDEO_ELEMENT_SELECTED = "videoElementSelected", Xe.KEY_SESSION_UPDATED = "public_keySessionUpdated", Xe;
12069
12069
  }
12070
- return pt;
12070
+ return yt;
12071
12071
  }(C(8342).Z))(), cn = function Nt(It, wt) {
12072
- (function(Ve, pt) {
12073
- if (!(Ve instanceof pt)) throw new TypeError("Cannot call a class as a function");
12072
+ (function(Ve, yt) {
12073
+ if (!(Ve instanceof yt)) throw new TypeError("Cannot call a class as a function");
12074
12074
  })(this, Nt), this.initData = It, this.initDataType = wt;
12075
- }, vn = function Nt(It, wt, Ve, pt) {
12075
+ }, vn = function Nt(It, wt, Ve, yt) {
12076
12076
  (function(Xe, dt) {
12077
12077
  if (!(Xe instanceof dt)) throw new TypeError("Cannot call a class as a function");
12078
- })(this, Nt), this.sessionToken = It, this.message = wt, this.defaultURL = Ve, this.messageType = pt || "license-request";
12078
+ })(this, Nt), this.sessionToken = It, this.message = wt, this.defaultURL = Ve, this.messageType = yt || "license-request";
12079
12079
  }, Ln = function Nt(It, wt) {
12080
- (function(Ve, pt) {
12081
- if (!(Ve instanceof pt)) throw new TypeError("Cannot call a class as a function");
12080
+ (function(Ve, yt) {
12081
+ if (!(Ve instanceof yt)) throw new TypeError("Cannot call a class as a function");
12082
12082
  })(this, Nt), this.keySystem = It, this.ksConfiguration = wt;
12083
12083
  }, Dn = {};
12084
12084
  function xn(Nt) {
12085
12085
  Nt = Nt || {};
12086
- var It, wt, Ve, pt, Xe, dt, Zt, Gt, nn = this.context, rn = Nt.eventBus, Kt = Nt.events, At = Nt.debug;
12086
+ var It, wt, Ve, yt, Xe, dt, Zt, Gt, nn = this.context, rn = Nt.eventBus, Kt = Nt.events, At = Nt.debug;
12087
12087
  function tn(St, Dt, jt, fn) {
12088
12088
  if (navigator.requestMediaKeySystemAccess === void 0 || typeof navigator.requestMediaKeySystemAccess != "function") {
12089
12089
  var mn = "Insecure origins are not allowed";
@@ -12174,7 +12174,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12174
12174
  }, selectKeySystem: function(St) {
12175
12175
  return new Promise(function(Dt, jt) {
12176
12176
  St.mksa.createMediaKeys().then(function(fn) {
12177
- return Ve = St.keySystem, Xe = fn, pt ? pt.setMediaKeys(Xe) : Promise.resolve();
12177
+ return Ve = St.keySystem, Xe = fn, yt ? yt.setMediaKeys(Xe) : Promise.resolve();
12178
12178
  }).then(function() {
12179
12179
  Dt(Ve);
12180
12180
  }).catch(function() {
@@ -12182,7 +12182,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12182
12182
  });
12183
12183
  });
12184
12184
  }, setMediaElement: function(St) {
12185
- pt !== St && (pt && (pt.removeEventListener("encrypted", Zt), pt.setMediaKeys && pt.setMediaKeys(null)), (pt = St) && (pt.addEventListener("encrypted", Zt), pt.setMediaKeys && Xe && pt.setMediaKeys(Xe)));
12185
+ yt !== St && (yt && (yt.removeEventListener("encrypted", Zt), yt.setMediaKeys && yt.setMediaKeys(null)), (yt = St) && (yt.addEventListener("encrypted", Zt), yt.setMediaKeys && Xe && yt.setMediaKeys(Xe)));
12186
12186
  }, setServerCertificate: function(St) {
12187
12187
  if (!Ve || !Xe) throw new Error("Can not set server certificate until you have selected a key system");
12188
12188
  Xe.setServerCertificate(St).then(function() {
@@ -12230,14 +12230,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12230
12230
  var St, Dt = dt.length;
12231
12231
  Dt !== 0 ? function() {
12232
12232
  for (var jt = function(mn) {
12233
- Tn(mn), dt.length === 0 && (pt ? (pt.removeEventListener("encrypted", Zt), pt.setMediaKeys(null).then(function() {
12233
+ Tn(mn), dt.length === 0 && (yt ? (yt.removeEventListener("encrypted", Zt), yt.setMediaKeys(null).then(function() {
12234
12234
  rn.trigger(Kt.TEARDOWN_COMPLETE);
12235
12235
  })) : rn.trigger(Kt.TEARDOWN_COMPLETE));
12236
12236
  }, fn = 0; fn < Dt; fn++) (function(mn) {
12237
12237
  dn(St), jt(mn);
12238
12238
  })(St = dt[fn]);
12239
12239
  }() : rn.trigger(Kt.TEARDOWN_COMPLETE);
12240
- } }, wt = At.getLogger(It), Ve = null, pt = null, Xe = null, dt = [], Gt = bt(nn).getInstance(), Zt = { handleEvent: function(St) {
12240
+ } }, wt = At.getLogger(It), Ve = null, yt = null, Xe = null, dt = [], Gt = bt(nn).getInstance(), Zt = { handleEvent: function(St) {
12241
12241
  if (St.type === "encrypted" && St.initData) {
12242
12242
  var Dt = ArrayBuffer.isView(St.initData) ? St.initData.buffer : St.initData;
12243
12243
  rn.trigger(Kt.NEED_KEY, { key: new cn(Dt, St.initDataType) });
@@ -12248,7 +12248,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12248
12248
  var Jn = dashjs.FactoryMaker.getClassFactory(xn);
12249
12249
  function In(Nt) {
12250
12250
  Nt = Nt || {};
12251
- var It, wt, Ve, pt, Xe, dt, Zt, Gt, nn, rn = this.context, Kt = Nt.eventBus, At = Nt.events, tn = Nt.debug, Jt = Nt.api;
12251
+ var It, wt, Ve, yt, Xe, dt, Zt, Gt, nn, rn = this.context, Kt = Nt.eventBus, At = Nt.events, tn = Nt.debug, Jt = Nt.api;
12252
12252
  function dn() {
12253
12253
  try {
12254
12254
  for (var sn = 0; sn < Zt.length; sn++) Tn(Zt[sn]);
@@ -12304,15 +12304,15 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12304
12304
  }, selectKeySystem: function(sn) {
12305
12305
  return new Promise(function(St, Dt) {
12306
12306
  try {
12307
- Xe = sn.mediaKeys = new window[Jt.MediaKeys](sn.keySystem.systemString), pt = sn.keySystem, dt = sn, Ve && wn(), St(pt);
12307
+ Xe = sn.mediaKeys = new window[Jt.MediaKeys](sn.keySystem.systemString), yt = sn.keySystem, dt = sn, Ve && wn(), St(yt);
12308
12308
  } catch {
12309
- Dt({ error: "Error selecting keys system (" + pt.systemString + ")! Could not create MediaKeys -- TODO" });
12309
+ Dt({ error: "Error selecting keys system (" + yt.systemString + ")! Could not create MediaKeys -- TODO" });
12310
12310
  }
12311
12311
  });
12312
12312
  }, setMediaElement: function(sn) {
12313
12313
  Ve !== sn && (Ve && Ve.removeEventListener(Jt.needkey, Gt), (Ve = sn) && (Ve.addEventListener(Jt.needkey, Gt), Xe && wn()));
12314
12314
  }, createKeySession: function(sn) {
12315
- if (!pt || !Xe || !dt) throw new Error("Can not create sessions until you have selected a key system");
12315
+ if (!yt || !Xe || !dt) throw new Error("Can not create sessions until you have selected a key system");
12316
12316
  var St = null;
12317
12317
  if (dt.ksConfiguration.videoCapabilities && dt.ksConfiguration.videoCapabilities.length > 0 && (St = dt.ksConfiguration.videoCapabilities[0]), St === null && dt.ksConfiguration.audioCapabilities && dt.ksConfiguration.audioCapabilities.length > 0 && (St = dt.ksConfiguration.audioCapabilities[0]), St === null) throw new Error("Can not create sessions for unknown content types.");
12318
12318
  var Dt = St.contentType, jt = Xe.createSession(Dt, new Uint8Array(sn.initData), sn.cdmData ? new Uint8Array(sn.cdmData) : null), fn = function(mn, An) {
@@ -12344,11 +12344,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12344
12344
  jt.addEventListener(Jt.error, fn), jt.addEventListener(Jt.message, fn), jt.addEventListener(Jt.ready, fn), jt.addEventListener(Jt.close, fn), Zt.push(fn), wt.debug("DRM: Session created. SessionID = " + fn.getSessionId()), Kt.trigger(At.KEY_SESSION_CREATED, { data: fn });
12345
12345
  }, updateKeySession: function(sn, St) {
12346
12346
  var Dt = sn.session;
12347
- nn.isClearKey(pt) ? Dt.update(new Uint8Array(St.toJWK())) : Dt.update(new Uint8Array(St)), Kt.trigger(At.KEY_SESSION_UPDATED);
12347
+ nn.isClearKey(yt) ? Dt.update(new Uint8Array(St.toJWK())) : Dt.update(new Uint8Array(St)), Kt.trigger(At.KEY_SESSION_UPDATED);
12348
12348
  }, closeKeySession: Tn, setServerCertificate: function() {
12349
12349
  }, loadKeySession: function() {
12350
12350
  }, removeKeySession: function() {
12351
- }, stop: dn, reset: dn }, wt = tn.getLogger(It), Ve = null, pt = null, Xe = null, dt = null, Zt = [], nn = bt(rn).getInstance(), Gt = { handleEvent: function(sn) {
12351
+ }, stop: dn, reset: dn }, wt = tn.getLogger(It), Ve = null, yt = null, Xe = null, dt = null, Zt = [], nn = bt(rn).getInstance(), Gt = { handleEvent: function(sn) {
12352
12352
  if (sn.type === Jt.needkey && sn.initData) {
12353
12353
  var St = ArrayBuffer.isView(sn.initData) ? sn.initData.buffer : sn.initData;
12354
12354
  Kt.trigger(At.NEED_KEY, { key: new cn(St, "cenc") });
@@ -12359,7 +12359,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12359
12359
  var cr = dashjs.FactoryMaker.getClassFactory(In);
12360
12360
  function Yn(Nt) {
12361
12361
  Nt = Nt || {};
12362
- var It, wt, Ve, pt, Xe, dt, Zt, Gt, nn, rn = this.context, Kt = Nt.eventBus, At = Nt.events, tn = Nt.debug, Jt = Nt.api, dn = Nt.errHandler;
12362
+ var It, wt, Ve, yt, Xe, dt, Zt, Gt, nn, rn = this.context, Kt = Nt.eventBus, At = Nt.events, tn = Nt.debug, Jt = Nt.api, dn = Nt.errHandler;
12363
12363
  function Tn() {
12364
12364
  Ve && St();
12365
12365
  for (var Dt = 0; Dt < Zt.length; Dt++) wn(Zt[Dt]);
@@ -12367,7 +12367,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12367
12367
  }
12368
12368
  function wn(Dt) {
12369
12369
  try {
12370
- Ve[Jt.cancelKeyRequest](pt.systemString, Dt.sessionId);
12370
+ Ve[Jt.cancelKeyRequest](yt.systemString, Dt.sessionId);
12371
12371
  } catch (jt) {
12372
12372
  Kt.trigger(At.KEY_SESSION_CLOSED, { data: null, error: "Error closing session (" + Dt.sessionId + ") " + jt.message });
12373
12373
  }
@@ -12411,7 +12411,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12411
12411
  }
12412
12412
  });
12413
12413
  }, selectKeySystem: function(Dt) {
12414
- return pt = Dt.keySystem, Promise.resolve(pt);
12414
+ return yt = Dt.keySystem, Promise.resolve(yt);
12415
12415
  }, setMediaElement: function(Dt) {
12416
12416
  if (Ve !== Dt) {
12417
12417
  if (Ve) {
@@ -12422,7 +12422,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12422
12422
  (Ve = Dt) && (Ve.addEventListener(Jt.keyerror, nn), Ve.addEventListener(Jt.needkey, nn), Ve.addEventListener(Jt.keymessage, nn), Ve.addEventListener(Jt.keyadded, nn), Kt.trigger(At.VIDEO_ELEMENT_SELECTED));
12423
12423
  }
12424
12424
  }, createKeySession: function(Dt) {
12425
- if (!pt) throw new Error("Can not create sessions until you have selected a key system");
12425
+ if (!yt) throw new Error("Can not create sessions until you have selected a key system");
12426
12426
  if (Gt || Zt.length === 0) {
12427
12427
  var jt = { sessionId: null, keyId: Dt.keyId, initData: Dt.initData, getKeyId: function() {
12428
12428
  return this.keyId;
@@ -12433,18 +12433,18 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12433
12433
  }, getSessionType: function() {
12434
12434
  return "temporary";
12435
12435
  } };
12436
- return dt.push(jt), Ve[Jt.generateKeyRequest](pt.systemString, new Uint8Array(Dt.initData)), jt;
12436
+ return dt.push(jt), Ve[Jt.generateKeyRequest](yt.systemString, new Uint8Array(Dt.initData)), jt;
12437
12437
  }
12438
12438
  throw new Error("Multiple sessions not allowed!");
12439
12439
  }, updateKeySession: function(Dt, jt) {
12440
12440
  var fn = Dt.sessionId;
12441
- if (Xe.isClearKey(pt)) for (var mn = 0; mn < jt.keyPairs.length; mn++) Ve[Jt.addKey](pt.systemString, jt.keyPairs[mn].key, jt.keyPairs[mn].keyID, fn);
12442
- else Ve[Jt.addKey](pt.systemString, new Uint8Array(jt), new Uint8Array(Dt.initData), fn);
12441
+ if (Xe.isClearKey(yt)) for (var mn = 0; mn < jt.keyPairs.length; mn++) Ve[Jt.addKey](yt.systemString, jt.keyPairs[mn].key, jt.keyPairs[mn].keyID, fn);
12442
+ else Ve[Jt.addKey](yt.systemString, new Uint8Array(jt), new Uint8Array(Dt.initData), fn);
12443
12443
  Kt.trigger(At.KEY_SESSION_UPDATED);
12444
12444
  }, closeKeySession: wn, setServerCertificate: function() {
12445
12445
  }, loadKeySession: function() {
12446
12446
  }, removeKeySession: function() {
12447
- }, stop: Tn, reset: Tn }, wt = tn.getLogger(It), Ve = null, pt = null, dt = [], Zt = [], Xe = bt(rn).getInstance(), nn = { handleEvent: function(Dt) {
12447
+ }, stop: Tn, reset: Tn }, wt = tn.getLogger(It), Ve = null, yt = null, dt = [], Zt = [], Xe = bt(rn).getInstance(), nn = { handleEvent: function(Dt) {
12448
12448
  var jt = null;
12449
12449
  switch (Dt.type) {
12450
12450
  case Jt.needkey:
@@ -12491,21 +12491,21 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12491
12491
  var ar = dashjs.FactoryMaker.getClassFactory(Yn), pr = [{ generateKeyRequest: "generateKeyRequest", addKey: "addKey", cancelKeyRequest: "cancelKeyRequest", needkey: "needkey", keyerror: "keyerror", keyadded: "keyadded", keymessage: "keymessage" }, { generateKeyRequest: "webkitGenerateKeyRequest", addKey: "webkitAddKey", cancelKeyRequest: "webkitCancelKeyRequest", needkey: "webkitneedkey", keyerror: "webkitkeyerror", keyadded: "webkitkeyadded", keymessage: "webkitkeymessage" }], or = [{ setMediaKeys: "setMediaKeys", MediaKeys: "MediaKeys", release: "close", needkey: "needkey", error: "keyerror", message: "keymessage", ready: "keyadded", close: "keyclose" }, { setMediaKeys: "msSetMediaKeys", MediaKeys: "MSMediaKeys", release: "close", needkey: "msneedkey", error: "mskeyerror", message: "mskeymessage", ready: "mskeyadded", close: "mskeyclose" }];
12492
12492
  function Er() {
12493
12493
  var Nt, It = this.context;
12494
- function wt(Ve, pt) {
12495
- for (var Xe = 0; Xe < pt.length; Xe++) {
12496
- var dt = pt[Xe];
12494
+ function wt(Ve, yt) {
12495
+ for (var Xe = 0; Xe < yt.length; Xe++) {
12496
+ var dt = yt[Xe];
12497
12497
  if (typeof Ve[dt[Object.keys(dt)[0]]] == "function") return dt;
12498
12498
  }
12499
12499
  return null;
12500
12500
  }
12501
12501
  return Nt = { createProtectionSystem: function(Ve) {
12502
- var pt = null, Xe = bt(It).getInstance();
12502
+ var yt = null, Xe = bt(It).getInstance();
12503
12503
  Xe.setConfig({ debug: Ve.debug, BASE64: Ve.BASE64, settings: Ve.settings }), Xe.initialize();
12504
12504
  var dt = function(Zt) {
12505
12505
  var Gt = Zt.debug, nn = Gt.getLogger(Nt), rn = Zt.eventBus, Kt = Zt.errHandler, At = Zt.videoModel ? Zt.videoModel.getElement() : null;
12506
12506
  return At && At.onencrypted === void 0 || At && At.mediaKeys === void 0 ? wt(At, or) ? (nn.info("EME detected on this user agent! (ProtectionModel_3Feb2014)"), cr(It).create({ debug: Gt, eventBus: rn, events: Zt.events, api: wt(At, or) })) : wt(At, pr) ? (nn.info("EME detected on this user agent! (ProtectionModel_01b)"), ar(It).create({ debug: Gt, eventBus: rn, errHandler: Kt, events: Zt.events, api: wt(At, pr) })) : (nn.warn("No supported version of EME detected on this user agent! - Attempts to play encrypted content will fail!"), null) : (nn.info("EME detected on this user agent! (ProtectionModel_21Jan2015)"), Jn(It).create({ debug: Gt, eventBus: rn, events: Zt.events }));
12507
12507
  }(Ve);
12508
- return !pt && dt && (pt = ae(It).create({ protectionModel: dt, protectionKeyController: Xe, eventBus: Ve.eventBus, debug: Ve.debug, events: Ve.events, BASE64: Ve.BASE64, constants: Ve.constants, cmcdModel: Ve.cmcdModel, customParametersModel: Ve.customParametersModel, settings: Ve.settings }), Ve.capabilities.setEncryptedMediaSupported(!0)), pt;
12508
+ return !yt && dt && (yt = ae(It).create({ protectionModel: dt, protectionKeyController: Xe, eventBus: Ve.eventBus, debug: Ve.debug, events: Ve.events, BASE64: Ve.BASE64, constants: Ve.constants, cmcdModel: Ve.cmcdModel, customParametersModel: Ve.customParametersModel, settings: Ve.settings }), Ve.capabilities.setEncryptedMediaSupported(!0)), yt;
12509
12509
  } };
12510
12510
  }
12511
12511
  Er.__dashjs_factory_name = "Protection";
@@ -12608,11 +12608,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12608
12608
  d = d || {};
12609
12609
  var S, x, B, P = this.context, J = d.dashMetrics, M = d.mediaPlayerModel, K = (0, p.Z)(P).getInstance();
12610
12610
  function ae(Ae, we, Tt) {
12611
- var _t = Tt.reduce(function(me, ye, je) {
12611
+ var pt = Tt.reduce(function(me, ye, je) {
12612
12612
  return ye > Tt[me] ? je : me;
12613
12613
  }, 0);
12614
- if (_t === 0) return null;
12615
- var qe = Math.max(Ae, n + 2 * we.length), at = (Tt[_t] - 1) / (qe / n - 1);
12614
+ if (pt === 0) return null;
12615
+ var qe = Math.max(Ae, n + 2 * we.length), at = (Tt[pt] - 1) / (qe / n - 1);
12616
12616
  return { gp: at, Vp: n / at };
12617
12617
  }
12618
12618
  function j(Ae) {
@@ -12621,10 +12621,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12621
12621
  function te(Ae, we) {
12622
12622
  var Tt = M.getStableBufferTime();
12623
12623
  if (Ae.stableBufferTime !== Tt) {
12624
- var _t = ae(Tt, Ae.bitrates, Ae.utilities);
12625
- if (_t.Vp !== Ae.Vp || _t.gp !== Ae.gp) {
12624
+ var pt = ae(Tt, Ae.bitrates, Ae.utilities);
12625
+ if (pt.Vp !== Ae.Vp || pt.gp !== Ae.gp) {
12626
12626
  var qe = J.getCurrentBufferLevel(we), at = qe + Ae.placeholderBuffer;
12627
- at -= n, at *= _t.Vp / Ae.Vp, at += n, Ae.stableBufferTime = Tt, Ae.Vp = _t.Vp, Ae.gp = _t.gp, Ae.placeholderBuffer = Math.max(0, at - qe);
12627
+ at -= n, at *= pt.Vp / Ae.Vp, at += n, Ae.stableBufferTime = Tt, Ae.Vp = pt.Vp, Ae.gp = pt.gp, Ae.placeholderBuffer = Math.max(0, at - qe);
12628
12628
  }
12629
12629
  }
12630
12630
  }
@@ -12632,8 +12632,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12632
12632
  return Ae.Vp * (Ae.utilities[we] + Ae.gp);
12633
12633
  }
12634
12634
  function Se(Ae, we) {
12635
- for (var Tt = Ae.bitrates[we], _t = Ae.utilities[we], qe = 0, at = we - 1; at >= 0; --at) if (Ae.utilities[at] < Ae.utilities[we]) {
12636
- var me = Ae.bitrates[at], ye = Ae.utilities[at], je = Ae.Vp * (Ae.gp + (Tt * ye - me * _t) / (Tt - me));
12635
+ for (var Tt = Ae.bitrates[we], pt = Ae.utilities[we], qe = 0, at = we - 1; at >= 0; --at) if (Ae.utilities[at] < Ae.utilities[we]) {
12636
+ var me = Ae.bitrates[at], ye = Ae.utilities[at], je = Ae.Vp * (Ae.gp + (Tt * ye - me * pt) / (Tt - me));
12637
12637
  qe = Math.max(qe, je);
12638
12638
  }
12639
12639
  return qe;
@@ -12666,7 +12666,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12666
12666
  function be(Ae, we) {
12667
12667
  if (!isNaN(Ae.lastSegmentStart) && !isNaN(Ae.lastSegmentRequestTimeMs) && !isNaN(Ae.placeholderBuffer)) {
12668
12668
  if (Ae.placeholderBuffer *= 0.99, !isNaN(Ae.lastSegmentFinishTimeMs)) {
12669
- var Tt = J.getCurrentBufferLevel(we) + 1e-3 * (Ae.lastSegmentFinishTimeMs - Ae.lastSegmentRequestTimeMs), _t = le(Ae, Ae.lastQuality), qe = Math.max(0, _t - Tt);
12669
+ var Tt = J.getCurrentBufferLevel(we) + 1e-3 * (Ae.lastSegmentFinishTimeMs - Ae.lastSegmentRequestTimeMs), pt = le(Ae, Ae.lastQuality), qe = Math.max(0, pt - Tt);
12670
12670
  Ae.placeholderBuffer = Math.min(qe, Ae.placeholderBuffer);
12671
12671
  }
12672
12672
  Ae.lastSegmentWasReplacement && !isNaN(Ae.lastSegmentDurationS) && (Ae.placeholderBuffer += Ae.lastSegmentDurationS), Ae.lastSegmentStart = NaN, Ae.lastSegmentRequestTimeMs = NaN;
@@ -12682,9 +12682,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12682
12682
  if (Ae) {
12683
12683
  var we = B[Ae.mediaType];
12684
12684
  if (we && we.state !== 0) {
12685
- var Tt, _t = J.getCurrentBufferLevel(Ae.mediaType);
12685
+ var Tt, pt = J.getCurrentBufferLevel(Ae.mediaType);
12686
12686
  Tt = we.abrQuality > 0 ? Se(we, we.abrQuality) : n;
12687
- var qe = Math.max(0, Tt - _t);
12687
+ var qe = Math.max(0, Tt - pt);
12688
12688
  we.placeholderBuffer = Math.min(we.placeholderBuffer, qe);
12689
12689
  }
12690
12690
  }
@@ -12695,7 +12695,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12695
12695
  return S = { getMaxIndex: function(Ae) {
12696
12696
  var we = (0, v.Z)(P).create();
12697
12697
  if (!(Ae && Ae.hasOwnProperty("getMediaInfo") && Ae.hasOwnProperty("getMediaType") && Ae.hasOwnProperty("getScheduleController") && Ae.hasOwnProperty("getStreamInfo") && Ae.hasOwnProperty("getAbrController") && Ae.hasOwnProperty("useBufferOccupancyABR"))) return we;
12698
- var Tt = Ae.getMediaInfo(), _t = Ae.getMediaType(), qe = Ae.getScheduleController(), at = Ae.getStreamInfo(), me = Ae.getAbrController(), ye = me.getThroughputHistory(), je = at ? at.id : null, f = at && at.manifestInfo && at.manifestInfo.isDynamic, u = Ae.useBufferOccupancyABR();
12698
+ var Tt = Ae.getMediaInfo(), pt = Ae.getMediaType(), qe = Ae.getScheduleController(), at = Ae.getStreamInfo(), me = Ae.getAbrController(), ye = me.getThroughputHistory(), je = at ? at.id : null, f = at && at.manifestInfo && at.manifestInfo.isDynamic, u = Ae.useBufferOccupancyABR();
12699
12699
  if (we.reason = we.reason || {}, !u) return we;
12700
12700
  qe.setTimeToLoadDelay(0);
12701
12701
  var T = function(Ne) {
@@ -12716,7 +12716,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12716
12716
  }(Ne), B[He] = it), it;
12717
12717
  }(Ae);
12718
12718
  if (T.state === 0) return we;
12719
- var b, Q = J.getCurrentBufferLevel(_t), Y = ye.getAverageThroughput(_t, f), Ce = ye.getSafeAverageThroughput(_t, f), tt = ye.getAverageLatency(_t);
12719
+ var b, Q = J.getCurrentBufferLevel(pt), Y = ye.getAverageThroughput(pt, f), Ce = ye.getSafeAverageThroughput(pt, f), tt = ye.getAverageLatency(pt);
12720
12720
  if (we.reason.state = T.state, we.reason.throughput = Y, we.reason.latency = tt, isNaN(Y)) return we;
12721
12721
  switch (T.state) {
12722
12722
  case 1:
@@ -12735,7 +12735,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12735
12735
  Ne.placeholderBuffer += Math.max(0, ft);
12736
12736
  }
12737
12737
  Ne.lastCallTimeMs = it, Ne.lastSegmentStart = NaN, Ne.lastSegmentRequestTimeMs = NaN, Ne.lastSegmentFinishTimeMs = NaN, te(Ne, He);
12738
- })(T, _t), b = function(Ne, He) {
12738
+ })(T, pt), b = function(Ne, He) {
12739
12739
  for (var it = Ne.bitrates.length, bt = NaN, ft = NaN, Yt = 0; Yt < it; ++Yt) {
12740
12740
  var Ot = (Ne.Vp * (Ne.utilities[Yt] + Ne.gp) - He) / Ne.bitrates[Yt];
12741
12741
  (isNaN(ft) || Ot >= ft) && (ft = Ot, bt = Yt);
@@ -12745,7 +12745,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12745
12745
  var ke = me.getQualityForBitrate(Tt, Ce, je, tt);
12746
12746
  b > T.lastQuality && b > ke && (b = Math.max(ke, T.lastQuality));
12747
12747
  var Fe = Math.max(0, Q + T.placeholderBuffer - le(T, b));
12748
- Fe <= T.placeholderBuffer ? (T.placeholderBuffer -= Fe, Fe = 0) : (Fe -= T.placeholderBuffer, T.placeholderBuffer = 0, b < me.getMaxAllowedIndexFor(_t, je) ? qe.setTimeToLoadDelay(1e3 * Fe) : Fe = 0), we.quality = b, we.reason.throughput = Y, we.reason.latency = tt, we.reason.bufferLevel = Q, we.reason.placeholderBuffer = T.placeholderBuffer, we.reason.delay = Fe, T.lastQuality = b;
12748
+ Fe <= T.placeholderBuffer ? (T.placeholderBuffer -= Fe, Fe = 0) : (Fe -= T.placeholderBuffer, T.placeholderBuffer = 0, b < me.getMaxAllowedIndexFor(pt, je) ? qe.setTimeToLoadDelay(1e3 * Fe) : Fe = 0), we.quality = b, we.reason.throughput = Y, we.reason.latency = tt, we.reason.bufferLevel = Q, we.reason.placeholderBuffer = T.placeholderBuffer, we.reason.delay = Fe, T.lastQuality = b;
12749
12749
  break;
12750
12750
  default:
12751
12751
  x.debug("BOLA ABR rule invoked in bad state."), we.quality = me.getQualityForBitrate(Tt, Ce, je, tt), we.reason.state = T.state, we.reason.throughput = Ce, we.reason.latency = tt, T.state = 1, j(T);
@@ -12798,8 +12798,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12798
12798
  if (!P || !P.hasOwnProperty("getCurrentBufferLevel") || !P.hasOwnProperty("getCurrentBufferState")) throw new Error(m.Z.MISSING_CONFIG_ERROR);
12799
12799
  })();
12800
12800
  var te = ae.getMediaType(), le = P.getCurrentBufferState(te), Se = ae.getRepresentationInfo().fragmentDuration, X = ae.getStreamInfo(), De = X ? X.id : null, Ue = ae.getScheduleController(), We = X && X.manifestInfo && X.manifestInfo.isDynamic;
12801
- if (function(_t, qe) {
12802
- return !_t && S[qe].ignoreCount > 0;
12801
+ if (function(pt, qe) {
12802
+ return !pt && S[qe].ignoreCount > 0;
12803
12803
  }(Ue.getPlaybackController().getLowLatencyModeEnabled(), te) || !Se) return j;
12804
12804
  if (le && le.state === o.Z.BUFFER_EMPTY) d.debug("[" + te + "] Switch to index 0; buffer is empty."), j.quality = 0, j.reason = "InsufficientBufferRule: Buffer is empty";
12805
12805
  else {
@@ -12861,7 +12861,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12861
12861
  return c = { getMaxIndex: function(De) {
12862
12862
  var Ue, We = (0, v.Z)(B).create(), be = Math.pow(4, 0.99), Ze = Math.max(Math.pow(4, 1), be * Math.sqrt(4)), Qe = De.getMediaInfo(), ot = De.getMediaType(), Ae = Qe.bitrateList.map(function(Bt) {
12863
12863
  return Bt.bandwidth;
12864
- }), we = Ae.length, Tt = De.getScheduleController(), _t = De.getStreamInfo(), qe = De.getAbrController(), at = qe.getThroughputHistory(), me = _t && _t.manifestInfo && _t.manifestInfo.isDynamic, ye = De.useL2AABR(), je = P.getCurrentBufferLevel(ot, !0), f = at.getSafeAverageThroughput(ot, me), u = at.getAverageThroughput(ot, me), T = at.getAverageLatency(ot), b = De.getVideoModel().getPlaybackRate();
12864
+ }), we = Ae.length, Tt = De.getScheduleController(), pt = De.getStreamInfo(), qe = De.getAbrController(), at = qe.getThroughputHistory(), me = pt && pt.manifestInfo && pt.manifestInfo.isDynamic, ye = De.useL2AABR(), je = P.getCurrentBufferLevel(ot, !0), f = at.getSafeAverageThroughput(ot, me), u = at.getAverageThroughput(ot, me), T = at.getAverageLatency(ot), b = De.getVideoModel().getPlaybackRate();
12865
12865
  if (!(De && De.hasOwnProperty("getMediaInfo") && De.hasOwnProperty("getMediaType") && De.hasOwnProperty("getScheduleController") && De.hasOwnProperty("getStreamInfo") && De.hasOwnProperty("getAbrController") && De.hasOwnProperty("useL2AABR")) || (We.reason = We.reason || {}, !ye || ot === E.Z.AUDIO)) return We;
12866
12866
  Tt.setTimeToLoadDelay(0);
12867
12867
  var Q = function(Bt) {
@@ -12880,7 +12880,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12880
12880
  if (!Y || (We.reason.state = Q.state, We.reason.throughput = u, We.reason.latency = T, isNaN(u))) return We;
12881
12881
  switch (Q.state) {
12882
12882
  case 1:
12883
- if (Ue = qe.getQualityForBitrate(Qe, f, _t.id, T), We.quality = Ue, We.reason.throughput = f, Q.lastQuality = Ue, !isNaN(Q.lastSegmentDurationS) && je >= Y.B_target) {
12883
+ if (Ue = qe.getQualityForBitrate(Qe, f, pt.id, T), We.quality = Ue, We.reason.throughput = f, Q.lastQuality = Ue, !isNaN(Q.lastSegmentDurationS) && je >= Y.B_target) {
12884
12884
  Q.state = 2, Y.Q = be;
12885
12885
  for (var Ce = 0; Ce < we; ++Ce) Ce === Q.lastQuality ? Y.prev_w[Ce] = 1 : Y.prev_w[Ce] = 0;
12886
12886
  }
@@ -12914,7 +12914,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12914
12914
  We.quality = Ue, We.reason.throughput = u, We.reason.latency = T, We.reason.bufferLevel = je, Q.lastQuality = We.quality;
12915
12915
  break;
12916
12916
  default:
12917
- x.debug("L2A ABR rule invoked in bad state."), We.quality = qe.getQualityForBitrate(Qe, f, _t.id, T), We.reason.state = Q.state, We.reason.throughput = f, We.reason.latency = T, Q.state = 1, M(Q);
12917
+ x.debug("L2A ABR rule invoked in bad state."), We.quality = qe.getQualityForBitrate(Qe, f, pt.id, T), We.reason.state = Q.state, We.reason.throughput = f, We.reason.latency = T, Q.state = 1, M(Q);
12918
12918
  }
12919
12919
  return We;
12920
12920
  }, reset: function() {
@@ -13070,14 +13070,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13070
13070
  it !== null && it !== -1 && (n = it);
13071
13071
  })(De, Ze, Ue, We, we, be, Se);
13072
13072
  }
13073
- for (var Tt = null, _t = null, qe = null, at = 0; at < Ze.length; at++) {
13073
+ for (var Tt = null, pt = null, qe = null, at = 0; at < Ze.length; at++) {
13074
13074
  var me = Ze[at], ye = me.state, je = [ye.throughput, ye.latency, ye.rebuffer, ye.switch], f = n.slice(), u = De.getNextBufferWithBitrate(me.bitrate, We, be), T = u < De.getMinBuffer();
13075
13075
  T && p.debug("Buffer is low for bitrate=".concat(me.bitrate, " downloadTime=").concat(Ae, " currentBuffer=").concat(We, " nextBuffer=").concat(u)), (me.bitrate > j - 1e4 || T) && me.bitrate !== h && (f[0] = 100);
13076
13076
  var b = P(je, [Qe, 0, 0, 0], f);
13077
- (Tt === null || b < Tt) && (Tt = b, _t = me.qualityIndex, qe = me);
13077
+ (Tt === null || b < Tt) && (Tt = b, pt = me.qualityIndex, qe = me);
13078
13078
  }
13079
13079
  var Q = Math.abs(ot.bitrate - qe.bitrate) / o;
13080
- return M(ot, Ze, [Qe, te, we, Q]), M(qe, Ze, [Qe, 0, 0, Q]), _t;
13080
+ return M(ot, Ze, [Qe, te, we, Q]), M(qe, Ze, [Qe, 0, 0, Q]), pt;
13081
13081
  }, reset: function() {
13082
13082
  x();
13083
13083
  } }, p = (0, v.Z)(S).getInstance().getLogger(e), x(), e;
@@ -13130,8 +13130,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13130
13130
  be || (be = 0);
13131
13131
  var Ze = We.getPlaybackRate(), Qe = ae.getThroughputHistory().getSafeAverageThroughput(K, Ue);
13132
13132
  if (c.debug("Throughput ".concat(Math.round(Qe), " kbps")), isNaN(Qe) || !Se || ae.getAbandonmentStateFor(j.id, K) === m.Z.ABANDON_LOAD) return M;
13133
- for (var ot = le.bitrateList, Ae = J.getRepresentationInfo().fragmentDuration, we = ot[0].bandwidth / 1e3, Tt = ot[ot.length - 1].bandwidth / 1e3, _t = 0; _t < ot.length; _t++) {
13134
- var qe = ot[_t].bandwidth / 1e3;
13133
+ for (var ot = le.bitrateList, Ae = J.getRepresentationInfo().fragmentDuration, we = ot[0].bandwidth / 1e3, Tt = ot[ot.length - 1].bandwidth / 1e3, pt = 0; pt < ot.length; pt++) {
13134
+ var qe = ot[pt].bandwidth / 1e3;
13135
13135
  qe > Tt ? Tt = qe : qe < we && (we = qe);
13136
13136
  }
13137
13137
  var at = ot[te].bandwidth / 1e3, me = B.getCurrentHttpRequest(K, !0), ye = (me.tresponse.getTime() - me.trequest.getTime()) / 1e3, je = ye > Ae ? ye - Ae : 0;
@@ -13195,11 +13195,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13195
13195
  function d(S) {
13196
13196
  var x, B, P, J, M, K, ae, j, te = this.context, le = S.adapter, Se = S.baseURLController, X = S.streamInfo, De = S.timelineConverter, Ue = S.debug, We = S.eventBus, be = S.events, Ze = S.dashConstants, Qe = (0, p.Z)(te).getInstance();
13197
13197
  function ot(we, Tt) {
13198
- var _t = new e.Z();
13199
- _t.id = we.id, _t.bitrate = we.bandwidth, _t.width = we.width, _t.height = we.height, _t.tilesHor = 1, _t.tilesVert = 1, we.essentialProperties && we.essentialProperties.forEach(function(qe) {
13198
+ var pt = new e.Z();
13199
+ pt.id = we.id, pt.bitrate = we.bandwidth, pt.width = we.width, pt.height = we.height, pt.tilesHor = 1, pt.tilesVert = 1, we.essentialProperties && we.essentialProperties.forEach(function(qe) {
13200
13200
  if (c.indexOf(qe.schemeIdUri) >= 0 && qe.value) {
13201
13201
  var at = qe.value.split("x");
13202
- at.length !== 2 || isNaN(at[0]) || isNaN(at[1]) || (_t.tilesHor = parseInt(at[0], 10), _t.tilesVert = parseInt(at[1], 10));
13202
+ at.length !== 2 || isNaN(at[0]) || isNaN(at[1]) || (pt.tilesHor = parseInt(at[0], 10), pt.tilesVert = parseInt(at[1], 10));
13203
13203
  }
13204
13204
  }), Tt ? K.updateSegmentData(we).then(function(qe) {
13205
13205
  (function(at, me, ye) {
@@ -13222,11 +13222,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13222
13222
  }
13223
13223
  });
13224
13224
  };
13225
- })(_t, we, qe);
13226
- }) : (_t.startNumber = we.startNumber, _t.segmentDuration = we.segmentDuration, _t.timescale = we.timescale, _t.templateUrl = function(qe) {
13225
+ })(pt, we, qe);
13226
+ }) : (pt.startNumber = we.startNumber, pt.segmentDuration = we.segmentDuration, pt.timescale = we.timescale, pt.templateUrl = function(qe) {
13227
13227
  var at = Qe.isRelative(qe.media) ? Qe.resolve(qe.media, Se.resolve(qe.path).url) : qe.media;
13228
13228
  return at ? (0, m.Aj)(at, qe.id) : "";
13229
- }(we)), _t.tilesHor > 0 && _t.tilesVert > 0 && (_t.widthPerTile = _t.width / _t.tilesHor, _t.heightPerTile = _t.height / _t.tilesVert, B.push(_t));
13229
+ }(we)), pt.tilesHor > 0 && pt.tilesVert > 0 && (pt.widthPerTile = pt.width / pt.tilesHor, pt.heightPerTile = pt.height / pt.tilesVert, B.push(pt));
13230
13230
  }
13231
13231
  function Ae() {
13232
13232
  B = [], J = -1, M = null;
@@ -13238,8 +13238,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13238
13238
  var we = le.getVoRepresentations(M);
13239
13239
  we && we.length > 0 && we.forEach(function(Tt) {
13240
13240
  (Tt.segmentInfoType === v.Z.SEGMENT_TEMPLATE && Tt.segmentDuration > 0 && Tt.media || Tt.segmentInfoType === v.Z.SEGMENT_TIMELINE) && ot(Tt), Tt.segmentInfoType === v.Z.SEGMENT_BASE && ot(Tt, !0);
13241
- }), B.length > 0 && B.sort(function(Tt, _t) {
13242
- return Tt.bitrate - _t.bitrate;
13241
+ }), B.length > 0 && B.sort(function(Tt, pt) {
13242
+ return Tt.bitrate - pt.bitrate;
13243
13243
  });
13244
13244
  }
13245
13245
  }, reset: Ae, setTrackByIndex: function(we) {
@@ -13249,8 +13249,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13249
13249
  }, getCurrentTrackIndex: function() {
13250
13250
  return J;
13251
13251
  }, getThumbnailRequestForTime: function(we) {
13252
- for (var Tt, _t = le.getVoRepresentations(M), qe = 0; qe < _t.length; qe++) if (B[J].id === _t[qe].id) {
13253
- Tt = _t[qe];
13252
+ for (var Tt, pt = le.getVoRepresentations(M), qe = 0; qe < pt.length; qe++) if (B[J].id === pt[qe].id) {
13253
+ Tt = pt[qe];
13254
13254
  break;
13255
13255
  }
13256
13256
  return P.getSegmentRequestForTime(M, Tt, we);
@@ -13290,9 +13290,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13290
13290
  We = Ze.getBoxes("moof").length, Ue = ot[ot.length - 1].sequence_number, B = 0, M = [];
13291
13291
  var Ae = -1, we = -1;
13292
13292
  for (le = 0; le < Qe.length; le++) {
13293
- var Tt = Qe[le], _t = Tt.getChildBoxes("traf");
13294
- for (j = 0; j < _t.length; j++) {
13295
- var qe = _t[j], at = qe.getChildBox("tfhd"), me = qe.getChildBox("tfdt");
13293
+ var Tt = Qe[le], pt = Tt.getChildBoxes("traf");
13294
+ for (j = 0; j < pt.length; j++) {
13295
+ var qe = pt[j], at = qe.getChildBox("tfhd"), me = qe.getChildBox("tfdt");
13296
13296
  J = me.baseMediaDecodeTime;
13297
13297
  var ye = qe.getChildBoxes("trun"), je = qe.getChildBoxes("subs");
13298
13298
  for (te = 0; te < ye.length; te++) {
@@ -13899,7 +13899,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13899
13899
  return T;
13900
13900
  case "utf8":
13901
13901
  case "utf-8":
13902
- return _t(f).length;
13902
+ return pt(f).length;
13903
13903
  case "ucs2":
13904
13904
  case "ucs-2":
13905
13905
  case "utf16le":
@@ -13910,7 +13910,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13910
13910
  case "base64":
13911
13911
  return qe(f).length;
13912
13912
  default:
13913
- if (Q) return b ? -1 : _t(f).length;
13913
+ if (Q) return b ? -1 : pt(f).length;
13914
13914
  u = ("" + u).toLowerCase(), Q = !0;
13915
13915
  }
13916
13916
  }
@@ -13994,7 +13994,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13994
13994
  return Ce;
13995
13995
  }
13996
13996
  function K(f, u, T, b) {
13997
- return at(_t(u, f.length - T), f, T, b);
13997
+ return at(pt(u, f.length - T), f, T, b);
13998
13998
  }
13999
13999
  function ae(f, u, T, b) {
14000
14000
  return at(function(Q) {
@@ -14361,7 +14361,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
14361
14361
  return this;
14362
14362
  };
14363
14363
  var Tt = /[^+/0-9A-Za-z-_]/g;
14364
- function _t(f, u) {
14364
+ function pt(f, u) {
14365
14365
  var T;
14366
14366
  u = u || 1 / 0;
14367
14367
  for (var b = f.length, Q = null, Y = [], Ce = 0; Ce < b; ++Ce) {
@@ -15031,7 +15031,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
15031
15031
  }
15032
15032
  if (f === ae && at._state !== Se) this._settledAt(at._state, me, at._result);
15033
15033
  else if (typeof f != "function") this._remaining--, this._result[me] = at;
15034
- else if (ye === _t) {
15034
+ else if (ye === pt) {
15035
15035
  var b = new ye(le);
15036
15036
  T ? be(b, u) : X(b, at, f), this._willSettleAt(b, me);
15037
15037
  } else this._willSettleAt(new ye(function(Q) {
@@ -15049,7 +15049,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
15049
15049
  return ye._settledAt(2, me, je);
15050
15050
  });
15051
15051
  }, qe;
15052
- }(), _t = function() {
15052
+ }(), pt = function() {
15053
15053
  function qe(at) {
15054
15054
  this[te] = Ae++, this._result = this._state = void 0, this._subscribers = [], le !== at && (typeof at != "function" && function() {
15055
15055
  throw new TypeError("You must pass a resolver function as the first argument to the promise constructor");
@@ -15082,23 +15082,23 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
15082
15082
  }) : me.then(at, at);
15083
15083
  }, qe;
15084
15084
  }();
15085
- return _t.prototype.then = ae, _t.all = function(qe) {
15085
+ return pt.prototype.then = ae, pt.all = function(qe) {
15086
15086
  return new Tt(this, qe).promise;
15087
- }, _t.race = function(qe) {
15087
+ }, pt.race = function(qe) {
15088
15088
  var at = this;
15089
15089
  return v(qe) ? new at(function(me, ye) {
15090
15090
  for (var je = qe.length, f = 0; f < je; f++) at.resolve(qe[f]).then(me, ye);
15091
15091
  }) : new at(function(me, ye) {
15092
15092
  return ye(new TypeError("You must pass an array to race."));
15093
15093
  });
15094
- }, _t.resolve = j, _t.reject = function(qe) {
15094
+ }, pt.resolve = j, pt.reject = function(qe) {
15095
15095
  var at = new this(le);
15096
15096
  return be(at, qe), at;
15097
- }, _t._setScheduler = function(qe) {
15097
+ }, pt._setScheduler = function(qe) {
15098
15098
  p = qe;
15099
- }, _t._setAsap = function(qe) {
15099
+ }, pt._setAsap = function(qe) {
15100
15100
  m = qe;
15101
- }, _t._asap = m, _t.polyfill = function() {
15101
+ }, pt._asap = m, pt.polyfill = function() {
15102
15102
  var qe = void 0;
15103
15103
  if (C.g !== void 0) qe = C.g;
15104
15104
  else if (typeof self < "u") qe = self;
@@ -15116,8 +15116,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
15116
15116
  }
15117
15117
  if (me === "[object Promise]" && !at.cast) return;
15118
15118
  }
15119
- qe.Promise = _t;
15120
- }, _t.Promise = _t, _t;
15119
+ qe.Promise = pt;
15120
+ }, pt.Promise = pt, pt;
15121
15121
  }();
15122
15122
  }, 1159: function(Me) {
15123
15123
  var _e, C = typeof Reflect == "object" ? Reflect : null, ne = C && typeof C.apply == "function" ? C.apply : function(x, B, P) {
@@ -15412,10 +15412,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
15412
15412
  var Q, Y = null;
15413
15413
  return (Q = /^(\d+(?:\.\d+)?)f$/.exec(b)) !== null ? T !== null && (Y = parseFloat(Q[1]) / T) : (Q = /^(\d+(?:\.\d+)?)t$/.exec(b)) !== null ? u !== null && (Y = parseFloat(Q[1]) / u) : (Q = /^(\d+(?:\.\d+)?)ms$/.exec(b)) !== null ? Y = parseFloat(Q[1]) / 1e3 : (Q = /^(\d+(?:\.\d+)?)s$/.exec(b)) !== null ? Y = parseFloat(Q[1]) : (Q = /^(\d+(?:\.\d+)?)h$/.exec(b)) !== null ? Y = 3600 * parseFloat(Q[1]) : (Q = /^(\d+(?:\.\d+)?)m$/.exec(b)) !== null ? Y = 60 * parseFloat(Q[1]) : (Q = /^(\d{2,}):(\d\d):(\d\d(?:\.\d+)?)$/.exec(b)) !== null ? Y = 3600 * parseInt(Q[1]) + 60 * parseInt(Q[2]) + parseFloat(Q[3]) : (Q = /^(\d{2,}):(\d\d):(\d\d)\:(\d{2,})$/.exec(b)) !== null && T !== null && (Y = 3600 * parseInt(Q[1]) + 60 * parseInt(Q[2]) + parseInt(Q[3]) + (Q[4] === null ? 0 : parseInt(Q[4]) / T)), Y;
15414
15414
  }
15415
- function _t(u, T, b) {
15415
+ function pt(u, T, b) {
15416
15416
  for (; T.styleRefs.length > 0; ) {
15417
15417
  var Q = T.styleRefs.pop();
15418
- Q in u.styles ? (_t(u, u.styles[Q], b), at(u.styles[Q].styleAttrs, T.styleAttrs)) : ye(b, "Non-existant style id referenced");
15418
+ Q in u.styles ? (pt(u, u.styles[Q], b), at(u.styles[Q].styleAttrs, T.styleAttrs)) : ye(b, "Non-existant style id referenced");
15419
15419
  }
15420
15420
  }
15421
15421
  function qe(u, T, b, Q) {
@@ -15451,7 +15451,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
15451
15451
  var Q = v.parser(!0, { xmlns: !0 }), Y = [], Ce = [], tt = [], ke = 0, Fe = null;
15452
15452
  Q.onclosetag = function(ft) {
15453
15453
  if (Y[0] instanceof be) Fe.head !== null && Fe.head.styling !== null && qe(Fe.head.styling, Y[0].styleRefs, Y[0].styleAttrs, T), delete Y[0].styleRefs;
15454
- else if (Y[0] instanceof c) for (var Yt in Y[0].styles) Y[0].styles.hasOwnProperty(Yt) && _t(Y[0], Y[0].styles[Yt], T);
15454
+ else if (Y[0] instanceof c) for (var Yt in Y[0].styles) Y[0].styles.hasOwnProperty(Yt) && pt(Y[0], Y[0].styles[Yt], T);
15455
15455
  else if (Y[0] instanceof X || Y[0] instanceof De) {
15456
15456
  if (Y[0].contents.length > 1) {
15457
15457
  var Ot, Ht = [Y[0].contents[0]];
@@ -15704,10 +15704,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
15704
15704
  j.bpd === "tb" ? (ot.style.paddingLeft = Tt, ot.style.paddingRight = Tt) : (ot.style.paddingTop = Tt, ot.style.paddingBottom = Tt), j.lp = Ae;
15705
15705
  }
15706
15706
  }
15707
- var _t = le.styleAttrs[e.byName.multiRowAlign.qname];
15708
- if (_t && _t !== "auto") {
15707
+ var pt = le.styleAttrs[e.byName.multiRowAlign.qname];
15708
+ if (pt && pt !== "auto") {
15709
15709
  var qe = document.createElement("span");
15710
- qe.style.display = "inline-block", qe.style.textAlign = _t, X.appendChild(qe), ot = qe, j.mra = _t;
15710
+ qe.style.display = "inline-block", qe.style.textAlign = pt, X.appendChild(qe), ot = qe, j.mra = pt;
15711
15711
  }
15712
15712
  var at = le.styleAttrs[e.byName.rubyReserve.qname];
15713
15713
  if (at && at[0] !== "none" && (j.rubyReserve = at), le.styleAttrs[e.byName.fillLineGap.qname] && (j.flg = !0), le.kind === "span" && le.text) {
@@ -15994,9 +15994,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
15994
15994
  for (var we = 0; we < t.all.length; we++) {
15995
15995
  var Tt = t.all[we];
15996
15996
  if (!(Tt.qname in te.styleAttrs) && !(Tt.qname === t.byName.position.qname && t.byName.origin.qname in te.styleAttrs || Tt.qname === t.byName.origin.qname && t.byName.position.qname in te.styleAttrs)) {
15997
- var _t = d.head.styling.initials[Tt.qname] || Tt.initial;
15998
- if (_t !== null && (te.kind === "region" || Tt.inherit === !1 && _t !== null)) {
15999
- var qe = Tt.parse(_t);
15997
+ var pt = d.head.styling.initials[Tt.qname] || Tt.initial;
15998
+ if (pt !== null && (te.kind === "region" || Tt.inherit === !1 && pt !== null)) {
15999
+ var qe = Tt.parse(pt);
16000
16000
  qe !== null ? (te.styleAttrs[Tt.qname] = qe, Se[Tt.qname] = !0) : c(K, "Invalid initial value for '" + Tt.qname + "' on element '" + te.kind);
16001
16001
  }
16002
16002
  }
@@ -16607,7 +16607,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
16607
16607
  b === ">" ? qe(u) : b === "/" ? u.state = X.OPEN_TAG_SLASH : ae(B, b) ? (u.attribName = b, u.attribValue = "", u.state = X.ATTRIB_NAME) : Ae(u, "Invalid attribute name");
16608
16608
  continue;
16609
16609
  case X.ATTRIB_NAME:
16610
- b === "=" ? u.state = X.ATTRIB_VALUE : b === ">" ? (Ae(u, "Attribute without value"), u.attribValue = u.attribName, _t(u), qe(u)) : ae(o, b) ? u.state = X.ATTRIB_NAME_SAW_WHITE : ae(P, b) ? u.attribName += b : Ae(u, "Invalid attribute name");
16610
+ b === "=" ? u.state = X.ATTRIB_VALUE : b === ">" ? (Ae(u, "Attribute without value"), u.attribValue = u.attribName, pt(u), qe(u)) : ae(o, b) ? u.state = X.ATTRIB_NAME_SAW_WHITE : ae(P, b) ? u.attribName += b : Ae(u, "Invalid attribute name");
16611
16611
  continue;
16612
16612
  case X.ATTRIB_NAME_SAW_WHITE:
16613
16613
  if (b === "=") u.state = X.ATTRIB_VALUE;
@@ -16625,7 +16625,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
16625
16625
  b === "&" ? u.state = X.ATTRIB_VALUE_ENTITY_Q : u.attribValue += b;
16626
16626
  continue;
16627
16627
  }
16628
- _t(u), u.q = "", u.state = X.ATTRIB_VALUE_CLOSED;
16628
+ pt(u), u.q = "", u.state = X.ATTRIB_VALUE_CLOSED;
16629
16629
  continue;
16630
16630
  case X.ATTRIB_VALUE_CLOSED:
16631
16631
  ae(o, b) ? u.state = X.ATTRIB : b === ">" ? qe(u) : b === "/" ? u.state = X.OPEN_TAG_SLASH : ae(B, b) ? (Ae(u, "No whitespace between attributes"), u.attribName = b, u.attribValue = "", u.state = X.ATTRIB_NAME) : Ae(u, "Invalid attribute name");
@@ -16635,7 +16635,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
16635
16635
  b === "&" ? u.state = X.ATTRIB_VALUE_ENTITY_U : u.attribValue += b;
16636
16636
  continue;
16637
16637
  }
16638
- _t(u), b === ">" ? qe(u) : u.state = X.ATTRIB;
16638
+ pt(u), b === ">" ? qe(u) : u.state = X.ATTRIB;
16639
16639
  continue;
16640
16640
  case X.CLOSE_TAG:
16641
16641
  if (u.tagName) b === ">" ? at(u) : ae(P, b) ? u.tagName += b : u.script ? (u.script += "</" + u.tagName, u.tagName = "", u.state = X.SCRIPT) : (j(o, b) && Ae(u, "Invalid tagname in closing tag"), u.state = X.CLOSE_TAG_SAW_WHITE);
@@ -16797,7 +16797,7 @@ Char: ` + f.c), u = new Error(u), f.error = u, Ue(f, "onerror", u), f;
16797
16797
  var T = f.indexOf(":") < 0 ? ["", f] : f.split(":"), b = T[0], Q = T[1];
16798
16798
  return u && f === "xmlns" && (b = "xmlns", Q = ""), { prefix: b, local: Q };
16799
16799
  }
16800
- function _t(f) {
16800
+ function pt(f) {
16801
16801
  if (f.strict || (f.attribName = f.attribName[f.looseCase]()), f.attribList.indexOf(f.attribName) !== -1 || f.tag.attributes.hasOwnProperty(f.attribName)) f.attribName = f.attribValue = "";
16802
16802
  else {
16803
16803
  if (f.opt.xmlns) {
@@ -17117,7 +17117,7 @@ Actual: ` + f.attribValue);
17117
17117
  return ye.length === 0 ? null : (ye.objectMode ? je = ye.buffer.shift() : !me || me >= ye.length ? (je = ye.decoder ? ye.buffer.join("") : ye.buffer.length === 1 ? ye.buffer.first() : ye.buffer.concat(ye.length), ye.buffer.clear()) : je = ye.buffer.consume(me, ye.decoder), je);
17118
17118
  var je;
17119
17119
  }
17120
- function _t(me) {
17120
+ function pt(me) {
17121
17121
  var ye = me._readableState;
17122
17122
  v("endReadable", ye.endEmitted), ye.endEmitted || (ye.ended = !0, process.nextTick(qe, ye, me));
17123
17123
  }
@@ -17134,10 +17134,10 @@ Actual: ` + f.attribValue);
17134
17134
  te.prototype.read = function(me) {
17135
17135
  v("read", me), me = parseInt(me, 10);
17136
17136
  var ye = this._readableState, je = me;
17137
- if (me !== 0 && (ye.emittedReadable = !1), me === 0 && ye.needReadable && ((ye.highWaterMark !== 0 ? ye.length >= ye.highWaterMark : ye.length > 0) || ye.ended)) return v("read: emitReadable", ye.length, ye.ended), ye.length === 0 && ye.ended ? _t(this) : Ue(this), null;
17138
- if ((me = De(me, ye)) === 0 && ye.ended) return ye.length === 0 && _t(this), null;
17137
+ if (me !== 0 && (ye.emittedReadable = !1), me === 0 && ye.needReadable && ((ye.highWaterMark !== 0 ? ye.length >= ye.highWaterMark : ye.length > 0) || ye.ended)) return v("read: emitReadable", ye.length, ye.ended), ye.length === 0 && ye.ended ? pt(this) : Ue(this), null;
17138
+ if ((me = De(me, ye)) === 0 && ye.ended) return ye.length === 0 && pt(this), null;
17139
17139
  var f, u = ye.needReadable;
17140
- return v("need readable", u), (ye.length === 0 || ye.length - me < ye.highWaterMark) && v("length less than watermark", u = !0), ye.ended || ye.reading ? v("reading or ended", u = !1) : u && (v("do read"), ye.reading = !0, ye.sync = !0, ye.length === 0 && (ye.needReadable = !0), this._read(ye.highWaterMark), ye.sync = !1, ye.reading || (me = De(je, ye))), (f = me > 0 ? Tt(me, ye) : null) === null ? (ye.needReadable = ye.length <= ye.highWaterMark, me = 0) : (ye.length -= me, ye.awaitDrain = 0), ye.length === 0 && (ye.ended || (ye.needReadable = !0), je !== me && ye.ended && _t(this)), f !== null && this.emit("data", f), f;
17140
+ return v("need readable", u), (ye.length === 0 || ye.length - me < ye.highWaterMark) && v("length less than watermark", u = !0), ye.ended || ye.reading ? v("reading or ended", u = !1) : u && (v("do read"), ye.reading = !0, ye.sync = !0, ye.length === 0 && (ye.needReadable = !0), this._read(ye.highWaterMark), ye.sync = !1, ye.reading || (me = De(je, ye))), (f = me > 0 ? Tt(me, ye) : null) === null ? (ye.needReadable = ye.length <= ye.highWaterMark, me = 0) : (ye.length -= me, ye.awaitDrain = 0), ye.length === 0 && (ye.ended || (ye.needReadable = !0), je !== me && ye.ended && pt(this)), f !== null && this.emit("data", f), f;
17141
17141
  }, te.prototype._read = function(me) {
17142
17142
  K(this, new J("_read()"));
17143
17143
  }, te.prototype.pipe = function(me, ye) {
@@ -17322,16 +17322,16 @@ Actual: ` + f.attribValue);
17322
17322
  var ot = be.decodeStrings === !1;
17323
17323
  this.decodeStrings = !ot, this.defaultEncoding = be.defaultEncoding || "utf8", this.length = 0, this.writing = !1, this.corked = 0, this.sync = !0, this.bufferProcessing = !1, this.onwrite = function(Ae) {
17324
17324
  (function(we, Tt) {
17325
- var _t = we._writableState, qe = _t.sync, at = _t.writecb;
17325
+ var pt = we._writableState, qe = pt.sync, at = pt.writecb;
17326
17326
  if (typeof at != "function") throw new S();
17327
17327
  if (function(ye) {
17328
17328
  ye.writing = !1, ye.writecb = null, ye.length -= ye.writelen, ye.writelen = 0;
17329
- }(_t), Tt) (function(ye, je, f, u, T) {
17329
+ }(pt), Tt) (function(ye, je, f, u, T) {
17330
17330
  --je.pendingcb, f ? (process.nextTick(T, u), process.nextTick(We, ye, je), ye._writableState.errorEmitted = !0, K(ye, u)) : (T(u), ye._writableState.errorEmitted = !0, K(ye, u), We(ye, je));
17331
- })(we, _t, qe, Tt, at);
17331
+ })(we, pt, qe, Tt, at);
17332
17332
  else {
17333
- var me = De(_t) || we.destroyed;
17334
- me || _t.corked || _t.bufferProcessing || !_t.bufferedRequest || X(we, _t), qe ? process.nextTick(Se, we, _t, me, at) : Se(we, _t, me, at);
17333
+ var me = De(pt) || we.destroyed;
17334
+ me || pt.corked || pt.bufferProcessing || !pt.bufferedRequest || X(we, pt), qe ? process.nextTick(Se, we, pt, me, at) : Se(we, pt, me, at);
17335
17335
  }
17336
17336
  })(Ze, Ae);
17337
17337
  }, this.writecb = null, this.writelen = 0, this.bufferedRequest = null, this.lastBufferedRequest = null, this.pendingcb = 0, this.prefinished = !1, this.errorEmitted = !1, this.emitClose = be.emitClose !== !1, this.autoDestroy = !!be.autoDestroy, this.bufferedRequestCount = 0, this.corkedRequestsFree = new ne(this);
@@ -17355,8 +17355,8 @@ Actual: ` + f.attribValue);
17355
17355
  if (be._writev && Qe && Qe.next) {
17356
17356
  var ot = Ze.bufferedRequestCount, Ae = new Array(ot), we = Ze.corkedRequestsFree;
17357
17357
  we.entry = Qe;
17358
- for (var Tt = 0, _t = !0; Qe; ) Ae[Tt] = Qe, Qe.isBuf || (_t = !1), Qe = Qe.next, Tt += 1;
17359
- Ae.allBuffers = _t, le(be, Ze, !0, Ze.length, Ae, "", we.finish), Ze.pendingcb++, Ze.lastBufferedRequest = null, we.next ? (Ze.corkedRequestsFree = we.next, we.next = null) : Ze.corkedRequestsFree = new ne(Ze), Ze.bufferedRequestCount = 0;
17358
+ for (var Tt = 0, pt = !0; Qe; ) Ae[Tt] = Qe, Qe.isBuf || (pt = !1), Qe = Qe.next, Tt += 1;
17359
+ Ae.allBuffers = pt, le(be, Ze, !0, Ze.length, Ae, "", we.finish), Ze.pendingcb++, Ze.lastBufferedRequest = null, we.next ? (Ze.corkedRequestsFree = we.next, we.next = null) : Ze.corkedRequestsFree = new ne(Ze), Ze.bufferedRequestCount = 0;
17360
17360
  } else {
17361
17361
  for (; Qe; ) {
17362
17362
  var qe = Qe.chunk, at = Qe.encoding, me = Qe.callback;
@@ -17402,15 +17402,15 @@ Actual: ` + f.attribValue);
17402
17402
  K(this, new x());
17403
17403
  }, te.prototype.write = function(be, Ze, Qe) {
17404
17404
  var ot, Ae = this._writableState, we = !1, Tt = !Ae.objectMode && (ot = be, m.isBuffer(ot) || ot instanceof o);
17405
- return Tt && !m.isBuffer(be) && (be = function(_t) {
17406
- return m.from(_t);
17407
- }(be)), typeof Ze == "function" && (Qe = Ze, Ze = null), Tt ? Ze = "buffer" : Ze || (Ze = Ae.defaultEncoding), typeof Qe != "function" && (Qe = ae), Ae.ending ? function(_t, qe) {
17405
+ return Tt && !m.isBuffer(be) && (be = function(pt) {
17406
+ return m.from(pt);
17407
+ }(be)), typeof Ze == "function" && (Qe = Ze, Ze = null), Tt ? Ze = "buffer" : Ze || (Ze = Ae.defaultEncoding), typeof Qe != "function" && (Qe = ae), Ae.ending ? function(pt, qe) {
17408
17408
  var at = new J();
17409
- K(_t, at), process.nextTick(qe, at);
17410
- }(this, Qe) : (Tt || function(_t, qe, at, me) {
17409
+ K(pt, at), process.nextTick(qe, at);
17410
+ }(this, Qe) : (Tt || function(pt, qe, at, me) {
17411
17411
  var ye;
17412
- return at === null ? ye = new P() : typeof at == "string" || qe.objectMode || (ye = new c("chunk", ["string", "Buffer"], at)), !ye || (K(_t, ye), process.nextTick(me, ye), !1);
17413
- }(this, Ae, be, Qe)) && (Ae.pendingcb++, we = function(_t, qe, at, me, ye, je) {
17412
+ return at === null ? ye = new P() : typeof at == "string" || qe.objectMode || (ye = new c("chunk", ["string", "Buffer"], at)), !ye || (K(pt, ye), process.nextTick(me, ye), !1);
17413
+ }(this, Ae, be, Qe)) && (Ae.pendingcb++, we = function(pt, qe, at, me, ye, je) {
17414
17414
  if (!at) {
17415
17415
  var f = function(Q, Y, Ce) {
17416
17416
  return Q.objectMode || Q.decodeStrings === !1 || typeof Y != "string" || (Y = m.from(Y, Ce)), Y;
@@ -17423,7 +17423,7 @@ Actual: ` + f.attribValue);
17423
17423
  if (T || (qe.needDrain = !0), qe.writing || qe.corked) {
17424
17424
  var b = qe.lastBufferedRequest;
17425
17425
  qe.lastBufferedRequest = { chunk: me, encoding: ye, isBuf: at, callback: je, next: null }, b ? b.next = qe.lastBufferedRequest : qe.bufferedRequest = qe.lastBufferedRequest, qe.bufferedRequestCount += 1;
17426
- } else le(_t, qe, !1, u, me, ye, je);
17426
+ } else le(pt, qe, !1, u, me, ye, je);
17427
17427
  return T;
17428
17428
  }(this, Ae, Tt, be, Ze, Qe)), we;
17429
17429
  }, te.prototype.cork = function() {
@@ -17872,7 +17872,7 @@ Actual: ` + f.attribValue);
17872
17872
  }, 1067: function(Me, _e, C) {
17873
17873
  var ne;
17874
17874
  (function(v, t) {
17875
- var e = "function", p = "undefined", m = "object", o = "string", E = "major", h = "model", n = "name", c = "type", d = "vendor", S = "version", x = "architecture", B = "console", P = "mobile", J = "tablet", M = "smarttv", K = "wearable", ae = "embedded", j = "Amazon", te = "Apple", le = "ASUS", Se = "BlackBerry", X = "Browser", De = "Chrome", Ue = "Firefox", We = "Google", be = "Huawei", Ze = "LG", Qe = "Microsoft", ot = "Motorola", Ae = "Opera", we = "Samsung", Tt = "Sharp", _t = "Sony", qe = "Xiaomi", at = "Zebra", me = "Facebook", ye = "Chromium OS", je = "Mac OS", f = function(He) {
17875
+ var e = "function", p = "undefined", m = "object", o = "string", E = "major", h = "model", n = "name", c = "type", d = "vendor", S = "version", x = "architecture", B = "console", P = "mobile", J = "tablet", M = "smarttv", K = "wearable", ae = "embedded", j = "Amazon", te = "Apple", le = "ASUS", Se = "BlackBerry", X = "Browser", De = "Chrome", Ue = "Firefox", We = "Google", be = "Huawei", Ze = "LG", Qe = "Microsoft", ot = "Motorola", Ae = "Opera", we = "Samsung", Tt = "Sharp", pt = "Sony", qe = "Xiaomi", at = "Zebra", me = "Facebook", ye = "Chromium OS", je = "Mac OS", f = function(He) {
17876
17876
  for (var it = {}, bt = 0; bt < He.length; bt++) it[He[bt].toUpperCase()] = He[bt];
17877
17877
  return it;
17878
17878
  }, u = function(He, it) {
@@ -17892,7 +17892,7 @@ Actual: ` + f.attribValue);
17892
17892
  for (var ft = 0; ft < it[bt].length; ft++) if (u(it[bt][ft], He)) return bt === "?" ? t : bt;
17893
17893
  } else if (u(it[bt], He)) return bt === "?" ? t : bt;
17894
17894
  return He;
17895
- }, Ce = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, tt = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [S, [n, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [S, [n, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [n, S], [/opios[\/ ]+([\w\.]+)/i], [S, [n, Ae + " Mini"]], [/\bopr\/([\w\.]+)/i], [S, [n, Ae]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [S, [n, "Baidu"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i, /(heytap|ovi)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [n, S], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [S, [n, "UC" + X]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [S, [n, "WeChat"]], [/konqueror\/([\w\.]+)/i], [S, [n, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [S, [n, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [S, [n, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [S, [n, "Smart Lenovo " + X]], [/(avast|avg)\/([\w\.]+)/i], [[n, /(.+)/, "$1 Secure " + X], S], [/\bfocus\/([\w\.]+)/i], [S, [n, Ue + " Focus"]], [/\bopt\/([\w\.]+)/i], [S, [n, Ae + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [S, [n, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [S, [n, "Dolphin"]], [/coast\/([\w\.]+)/i], [S, [n, Ae + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [S, [n, "MIUI " + X]], [/fxios\/([-\w\.]+)/i], [S, [n, Ue]], [/\bqihu|(qi?ho?o?|360)browser/i], [[n, "360 " + X]], [/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i], [[n, /(.+)/, "$1 " + X], S], [/samsungbrowser\/([\w\.]+)/i], [S, [n, we + " Internet"]], [/(comodo_dragon)\/([\w\.]+)/i], [[n, /_/g, " "], S], [/metasr[\/ ]?([\d\.]+)/i], [S, [n, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[n, "Sogou Mobile"], S], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i], [n, S], [/(lbbrowser)/i, /\[(linkedin)app\]/i], [n], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[n, me], S], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [n, S], [/\bgsa\/([\w\.]+) .*safari\//i], [S, [n, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [S, [n, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [S, [n, De + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[n, De + " WebView"], S], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [S, [n, "Android " + X]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [n, S], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [S, [n, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [S, n], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [n, [S, Y, { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }]], [/(webkit|khtml)\/([\w\.]+)/i], [n, S], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[n, "Netscape"], S], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [S, [n, Ue + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /(links) \(([\w\.]+)/i, /panasonic;(viera)/i], [n, S], [/(cobalt)\/([\w\.]+)/i], [n, [S, /master.|lts./, ""]]], cpu: [[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i], [[x, "amd64"]], [/(ia32(?=;))/i], [[x, T]], [/((?:i[346]|x)86)[;\)]/i], [[x, "ia32"]], [/\b(aarch64|arm(v?8e?l?|_?64))\b/i], [[x, "arm64"]], [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i], [[x, "armhf"]], [/windows (ce|mobile); ppc;/i], [[x, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i], [[x, /ower/, "", T]], [/(sun4\w)[;\)]/i], [[x, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i], [[x, T]]], device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [h, [d, we], [c, J]], [/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]([-\w]+)/i, /sec-(sgh\w+)/i], [h, [d, we], [c, P]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [h, [d, te], [c, P]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [h, [d, te], [c, J]], [/(macintosh);/i], [h, [d, te]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [h, [d, Tt], [c, P]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [h, [d, be], [c, J]], [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [h, [d, be], [c, P]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i], [[h, /_/g, " "], [d, qe], [c, P]], [/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i, /\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[h, /_/g, " "], [d, qe], [c, J]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [h, [d, "OPPO"], [c, P]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [h, [d, "Vivo"], [c, P]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [h, [d, "Realme"], [c, P]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [h, [d, ot], [c, P]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [h, [d, ot], [c, J]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [h, [d, Ze], [c, J]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i], [h, [d, Ze], [c, P]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [h, [d, "Lenovo"], [c, J]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[h, /_/g, " "], [d, "Nokia"], [c, P]], [/(pixel c)\b/i], [h, [d, We], [c, J]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [h, [d, We], [c, P]], [/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [h, [d, _t], [c, P]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[h, "Xperia Tablet"], [d, _t], [c, J]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [h, [d, "OnePlus"], [c, P]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [h, [d, j], [c, J]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[h, /(.+)/g, "Fire Phone $1"], [d, j], [c, P]], [/(playbook);[-\w\),; ]+(rim)/i], [h, d, [c, J]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [h, [d, Se], [c, P]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [h, [d, le], [c, J]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [h, [d, le], [c, P]], [/(nexus 9)/i], [h, [d, "HTC"], [c, J]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [d, [h, /_/g, " "], [c, P]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [h, [d, "Acer"], [c, J]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [h, [d, "Meizu"], [c, P]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [h, [d, "Ulefone"], [c, P]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i, /(hp) ([\w ]+\w)/i, /(asus)-?(\w+)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w]+)/i, /(jolla)/i, /(oppo) ?([\w ]+) bui/i], [d, h, [c, P]], [/(kobo)\s(ereader|touch)/i, /(archos) (gamepad2?)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [d, h, [c, J]], [/(surface duo)/i], [h, [d, Qe], [c, J]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [h, [d, "Fairphone"], [c, P]], [/(u304aa)/i], [h, [d, "AT&T"], [c, P]], [/\bsie-(\w*)/i], [h, [d, "Siemens"], [c, P]], [/\b(rct\w+) b/i], [h, [d, "RCA"], [c, J]], [/\b(venue[\d ]{2,7}) b/i], [h, [d, "Dell"], [c, J]], [/\b(q(?:mv|ta)\w+) b/i], [h, [d, "Verizon"], [c, J]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [h, [d, "Barnes & Noble"], [c, J]], [/\b(tm\d{3}\w+) b/i], [h, [d, "NuVision"], [c, J]], [/\b(k88) b/i], [h, [d, "ZTE"], [c, J]], [/\b(nx\d{3}j) b/i], [h, [d, "ZTE"], [c, P]], [/\b(gen\d{3}) b.+49h/i], [h, [d, "Swiss"], [c, P]], [/\b(zur\d{3}) b/i], [h, [d, "Swiss"], [c, J]], [/\b((zeki)?tb.*\b) b/i], [h, [d, "Zeki"], [c, J]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[d, "Dragon Touch"], h, [c, J]], [/\b(ns-?\w{0,9}) b/i], [h, [d, "Insignia"], [c, J]], [/\b((nxa|next)-?\w{0,9}) b/i], [h, [d, "NextBook"], [c, J]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[d, "Voice"], h, [c, P]], [/\b(lvtel\-)?(v1[12]) b/i], [[d, "LvTel"], h, [c, P]], [/\b(ph-1) /i], [h, [d, "Essential"], [c, P]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [h, [d, "Envizen"], [c, J]], [/\b(trio[-\w\. ]+) b/i], [h, [d, "MachSpeed"], [c, J]], [/\btu_(1491) b/i], [h, [d, "Rotor"], [c, J]], [/(shield[\w ]+) b/i], [h, [d, "Nvidia"], [c, J]], [/(sprint) (\w+)/i], [d, h, [c, P]], [/(kin\.[onetw]{3})/i], [[h, /\./g, " "], [d, Qe], [c, P]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [h, [d, at], [c, J]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [h, [d, at], [c, P]], [/smart-tv.+(samsung)/i], [d, [c, M]], [/hbbtv.+maple;(\d+)/i], [[h, /^/, "SmartTV"], [d, we], [c, M]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[d, Ze], [c, M]], [/(apple) ?tv/i], [d, [h, te + " TV"], [c, M]], [/crkey/i], [[h, De + "cast"], [d, We], [c, M]], [/droid.+aft(\w+)( bui|\))/i], [h, [d, j], [c, M]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [h, [d, Tt], [c, M]], [/(bravia[\w ]+)( bui|\))/i], [h, [d, _t], [c, M]], [/(mitv-\w{5}) bui/i], [h, [d, qe], [c, M]], [/Hbbtv.*(technisat) (.*);/i], [d, h, [c, M]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[d, b], [h, b], [c, M]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[c, M]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [d, h, [c, B]], [/droid.+; (shield) bui/i], [h, [d, "Nvidia"], [c, B]], [/(playstation [345portablevi]+)/i], [h, [d, _t], [c, B]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [h, [d, Qe], [c, B]], [/((pebble))app/i], [d, h, [c, K]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [h, [d, te], [c, K]], [/droid.+; (glass) \d/i], [h, [d, We], [c, K]], [/droid.+; (wt63?0{2,3})\)/i], [h, [d, at], [c, K]], [/(quest( 2| pro)?)/i], [h, [d, me], [c, K]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [d, [c, ae]], [/(aeobc)\b/i], [h, [d, j], [c, ae]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [h, [c, P]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [h, [c, J]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[c, J]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[c, P]], [/(android[-\w\. ]{0,9});.+buil/i], [h, [d, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [S, [n, "EdgeHTML"]], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [S, [n, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [n, S], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [S, n]], os: [[/microsoft (windows) (vista|xp)/i], [n, S], [/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i], [n, [S, Y, Ce]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[S, Y, Ce], [n, "Windows"]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[S, /_/g, "."], [n, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[n, je], [S, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [S, n], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [n, S], [/\(bb(10);/i], [S, [n, Se]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [S, [n, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [S, [n, Ue + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [S, [n, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [S, [n, "watchOS"]], [/crkey\/([\d\.]+)/i], [S, [n, De + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[n, ye], S], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux) ?([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [n, S], [/(sunos) ?([\w\.\d]*)/i], [[n, "Solaris"], S], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [n, S]] }, ke = function(He, it) {
17895
+ }, Ce = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, tt = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [S, [n, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [S, [n, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [n, S], [/opios[\/ ]+([\w\.]+)/i], [S, [n, Ae + " Mini"]], [/\bopr\/([\w\.]+)/i], [S, [n, Ae]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [S, [n, "Baidu"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i, /(heytap|ovi)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [n, S], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [S, [n, "UC" + X]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [S, [n, "WeChat"]], [/konqueror\/([\w\.]+)/i], [S, [n, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [S, [n, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [S, [n, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [S, [n, "Smart Lenovo " + X]], [/(avast|avg)\/([\w\.]+)/i], [[n, /(.+)/, "$1 Secure " + X], S], [/\bfocus\/([\w\.]+)/i], [S, [n, Ue + " Focus"]], [/\bopt\/([\w\.]+)/i], [S, [n, Ae + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [S, [n, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [S, [n, "Dolphin"]], [/coast\/([\w\.]+)/i], [S, [n, Ae + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [S, [n, "MIUI " + X]], [/fxios\/([-\w\.]+)/i], [S, [n, Ue]], [/\bqihu|(qi?ho?o?|360)browser/i], [[n, "360 " + X]], [/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i], [[n, /(.+)/, "$1 " + X], S], [/samsungbrowser\/([\w\.]+)/i], [S, [n, we + " Internet"]], [/(comodo_dragon)\/([\w\.]+)/i], [[n, /_/g, " "], S], [/metasr[\/ ]?([\d\.]+)/i], [S, [n, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[n, "Sogou Mobile"], S], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i], [n, S], [/(lbbrowser)/i, /\[(linkedin)app\]/i], [n], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[n, me], S], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [n, S], [/\bgsa\/([\w\.]+) .*safari\//i], [S, [n, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [S, [n, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [S, [n, De + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[n, De + " WebView"], S], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [S, [n, "Android " + X]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [n, S], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [S, [n, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [S, n], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [n, [S, Y, { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }]], [/(webkit|khtml)\/([\w\.]+)/i], [n, S], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[n, "Netscape"], S], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [S, [n, Ue + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /(links) \(([\w\.]+)/i, /panasonic;(viera)/i], [n, S], [/(cobalt)\/([\w\.]+)/i], [n, [S, /master.|lts./, ""]]], cpu: [[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i], [[x, "amd64"]], [/(ia32(?=;))/i], [[x, T]], [/((?:i[346]|x)86)[;\)]/i], [[x, "ia32"]], [/\b(aarch64|arm(v?8e?l?|_?64))\b/i], [[x, "arm64"]], [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i], [[x, "armhf"]], [/windows (ce|mobile); ppc;/i], [[x, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i], [[x, /ower/, "", T]], [/(sun4\w)[;\)]/i], [[x, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i], [[x, T]]], device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [h, [d, we], [c, J]], [/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]([-\w]+)/i, /sec-(sgh\w+)/i], [h, [d, we], [c, P]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [h, [d, te], [c, P]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [h, [d, te], [c, J]], [/(macintosh);/i], [h, [d, te]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [h, [d, Tt], [c, P]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [h, [d, be], [c, J]], [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [h, [d, be], [c, P]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i], [[h, /_/g, " "], [d, qe], [c, P]], [/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i, /\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[h, /_/g, " "], [d, qe], [c, J]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [h, [d, "OPPO"], [c, P]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [h, [d, "Vivo"], [c, P]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [h, [d, "Realme"], [c, P]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [h, [d, ot], [c, P]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [h, [d, ot], [c, J]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [h, [d, Ze], [c, J]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i], [h, [d, Ze], [c, P]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [h, [d, "Lenovo"], [c, J]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[h, /_/g, " "], [d, "Nokia"], [c, P]], [/(pixel c)\b/i], [h, [d, We], [c, J]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [h, [d, We], [c, P]], [/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [h, [d, pt], [c, P]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[h, "Xperia Tablet"], [d, pt], [c, J]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [h, [d, "OnePlus"], [c, P]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [h, [d, j], [c, J]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[h, /(.+)/g, "Fire Phone $1"], [d, j], [c, P]], [/(playbook);[-\w\),; ]+(rim)/i], [h, d, [c, J]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [h, [d, Se], [c, P]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [h, [d, le], [c, J]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [h, [d, le], [c, P]], [/(nexus 9)/i], [h, [d, "HTC"], [c, J]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [d, [h, /_/g, " "], [c, P]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [h, [d, "Acer"], [c, J]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [h, [d, "Meizu"], [c, P]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [h, [d, "Ulefone"], [c, P]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i, /(hp) ([\w ]+\w)/i, /(asus)-?(\w+)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w]+)/i, /(jolla)/i, /(oppo) ?([\w ]+) bui/i], [d, h, [c, P]], [/(kobo)\s(ereader|touch)/i, /(archos) (gamepad2?)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [d, h, [c, J]], [/(surface duo)/i], [h, [d, Qe], [c, J]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [h, [d, "Fairphone"], [c, P]], [/(u304aa)/i], [h, [d, "AT&T"], [c, P]], [/\bsie-(\w*)/i], [h, [d, "Siemens"], [c, P]], [/\b(rct\w+) b/i], [h, [d, "RCA"], [c, J]], [/\b(venue[\d ]{2,7}) b/i], [h, [d, "Dell"], [c, J]], [/\b(q(?:mv|ta)\w+) b/i], [h, [d, "Verizon"], [c, J]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [h, [d, "Barnes & Noble"], [c, J]], [/\b(tm\d{3}\w+) b/i], [h, [d, "NuVision"], [c, J]], [/\b(k88) b/i], [h, [d, "ZTE"], [c, J]], [/\b(nx\d{3}j) b/i], [h, [d, "ZTE"], [c, P]], [/\b(gen\d{3}) b.+49h/i], [h, [d, "Swiss"], [c, P]], [/\b(zur\d{3}) b/i], [h, [d, "Swiss"], [c, J]], [/\b((zeki)?tb.*\b) b/i], [h, [d, "Zeki"], [c, J]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[d, "Dragon Touch"], h, [c, J]], [/\b(ns-?\w{0,9}) b/i], [h, [d, "Insignia"], [c, J]], [/\b((nxa|next)-?\w{0,9}) b/i], [h, [d, "NextBook"], [c, J]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[d, "Voice"], h, [c, P]], [/\b(lvtel\-)?(v1[12]) b/i], [[d, "LvTel"], h, [c, P]], [/\b(ph-1) /i], [h, [d, "Essential"], [c, P]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [h, [d, "Envizen"], [c, J]], [/\b(trio[-\w\. ]+) b/i], [h, [d, "MachSpeed"], [c, J]], [/\btu_(1491) b/i], [h, [d, "Rotor"], [c, J]], [/(shield[\w ]+) b/i], [h, [d, "Nvidia"], [c, J]], [/(sprint) (\w+)/i], [d, h, [c, P]], [/(kin\.[onetw]{3})/i], [[h, /\./g, " "], [d, Qe], [c, P]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [h, [d, at], [c, J]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [h, [d, at], [c, P]], [/smart-tv.+(samsung)/i], [d, [c, M]], [/hbbtv.+maple;(\d+)/i], [[h, /^/, "SmartTV"], [d, we], [c, M]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[d, Ze], [c, M]], [/(apple) ?tv/i], [d, [h, te + " TV"], [c, M]], [/crkey/i], [[h, De + "cast"], [d, We], [c, M]], [/droid.+aft(\w+)( bui|\))/i], [h, [d, j], [c, M]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [h, [d, Tt], [c, M]], [/(bravia[\w ]+)( bui|\))/i], [h, [d, pt], [c, M]], [/(mitv-\w{5}) bui/i], [h, [d, qe], [c, M]], [/Hbbtv.*(technisat) (.*);/i], [d, h, [c, M]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[d, b], [h, b], [c, M]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[c, M]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [d, h, [c, B]], [/droid.+; (shield) bui/i], [h, [d, "Nvidia"], [c, B]], [/(playstation [345portablevi]+)/i], [h, [d, pt], [c, B]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [h, [d, Qe], [c, B]], [/((pebble))app/i], [d, h, [c, K]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [h, [d, te], [c, K]], [/droid.+; (glass) \d/i], [h, [d, We], [c, K]], [/droid.+; (wt63?0{2,3})\)/i], [h, [d, at], [c, K]], [/(quest( 2| pro)?)/i], [h, [d, me], [c, K]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [d, [c, ae]], [/(aeobc)\b/i], [h, [d, j], [c, ae]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [h, [c, P]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [h, [c, J]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[c, J]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[c, P]], [/(android[-\w\. ]{0,9});.+buil/i], [h, [d, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [S, [n, "EdgeHTML"]], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [S, [n, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [n, S], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [S, n]], os: [[/microsoft (windows) (vista|xp)/i], [n, S], [/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i], [n, [S, Y, Ce]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[S, Y, Ce], [n, "Windows"]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[S, /_/g, "."], [n, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[n, je], [S, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [S, n], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [n, S], [/\(bb(10);/i], [S, [n, Se]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [S, [n, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [S, [n, Ue + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [S, [n, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [S, [n, "watchOS"]], [/crkey\/([\d\.]+)/i], [S, [n, De + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[n, ye], S], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux) ?([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [n, S], [/(sunos) ?([\w\.\d]*)/i], [[n, "Solaris"], S], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [n, S]] }, ke = function(He, it) {
17896
17896
  if (typeof He === m && (it = He, He = t), !(this instanceof ke)) return new ke(He, it).getResult();
17897
17897
  var bt = typeof v !== p && v.navigator ? v.navigator : t, ft = He || (bt && bt.userAgent ? bt.userAgent : ""), Yt = bt && bt.userAgentData ? bt.userAgentData : t, Ot = it ? function(Bt, cn) {
17898
17898
  var vn = {};
@@ -18136,15 +18136,15 @@ sc.use(oc).use(
18136
18136
  escapeValue: !1
18137
18137
  }
18138
18138
  });
18139
- const Ks = eo(null);
18139
+ const zs = eo(null);
18140
18140
  function Lc({
18141
18141
  children: W,
18142
18142
  contextValue: se
18143
18143
  }) {
18144
- return /* @__PURE__ */ Te(Ks.Provider, { value: se, children: W });
18144
+ return /* @__PURE__ */ Te(zs.Provider, { value: se, children: W });
18145
18145
  }
18146
18146
  function wr() {
18147
- const W = to(Ks);
18147
+ const W = to(zs);
18148
18148
  if (!W)
18149
18149
  throw new Error(
18150
18150
  "useStudioPlayerContext must be used within a StudioPlayerContextProvider"
@@ -18154,7 +18154,7 @@ function wr() {
18154
18154
  const ir = (W) => {
18155
18155
  const se = wr();
18156
18156
  return $a(se[W]);
18157
- }, zs = eo(null);
18157
+ }, Ws = eo(null);
18158
18158
  function Pc({
18159
18159
  title: W,
18160
18160
  hideFullScreen: se,
@@ -18213,10 +18213,10 @@ function Pc({
18213
18213
  hideQuizMarkers: P,
18214
18214
  enableSidebar: J
18215
18215
  };
18216
- return /* @__PURE__ */ Te(zs.Provider, { value: M, children: m });
18216
+ return /* @__PURE__ */ Te(Ws.Provider, { value: M, children: m });
18217
18217
  }
18218
18218
  function er() {
18219
- const W = to(zs);
18219
+ const W = to(Ws);
18220
18220
  if (!W)
18221
18221
  throw new Error(
18222
18222
  "useStudioPlayerPropsContext must be used within a StudioPlayerPropsContextProvider"
@@ -18226,11 +18226,11 @@ function er() {
18226
18226
  const xc = "_annotation-overlay_1kxzn_1", Fc = {
18227
18227
  "annotation-overlay": "_annotation-overlay_1kxzn_1",
18228
18228
  annotationOverlay: xc
18229
- }, Ps = 0.25, kc = (W, se) => {
18229
+ }, xs = 0.25, kc = (W, se) => {
18230
18230
  let ve = !1;
18231
18231
  return (Be) => {
18232
18232
  const Je = Be.detail.currentTime;
18233
- Je >= W.time && Je < W.time + Ps && !ve && (ve = !0, se(W)), (Je < W.time || Je >= W.time + Ps) && ve && (ve = !1);
18233
+ Je >= W.time && Je < W.time + xs && !ve && (ve = !0, se(W)), (Je < W.time || Je >= W.time + xs) && ve && (ve = !1);
18234
18234
  };
18235
18235
  };
18236
18236
  function Zc({ annotations: W }) {
@@ -18288,7 +18288,7 @@ const Uc = "_media-buffering-indicator_1fwjr_1", Bc = "_media-buffering-spinner_
18288
18288
  "media-buffering-track-fill": "_media-buffering-track-fill_1fwjr_27",
18289
18289
  mediaBufferingTrackFill: qc
18290
18290
  };
18291
- function Ws() {
18291
+ function Qs() {
18292
18292
  return /* @__PURE__ */ Te("div", { className: aa.mediaBufferingIndicator, children: /* @__PURE__ */ un(lc, { className: aa.mediaBufferingSpinner, size: 96, children: [
18293
18293
  /* @__PURE__ */ Te(cc, { className: aa.mediaBufferingTrack, width: 8 }),
18294
18294
  /* @__PURE__ */ Te(
@@ -18337,7 +18337,7 @@ function jc(W) {
18337
18337
  const se = Ir(() => ({ Escape: W }), [W]);
18338
18338
  return co(se);
18339
18339
  }
18340
- const Qs = (W) => /* @__PURE__ */ Te("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...W, children: /* @__PURE__ */ Te("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.94968 7.74766L3.99993 2.79791L2.79785 3.99999L7.7476 8.94974L2.79785 13.8995L3.99993 15.1016L8.94968 10.1518L13.8994 15.1016L15.1015 13.8995L10.1518 8.94974L15.1015 3.99999L13.8994 2.79791L8.94968 7.74766Z", fill: "currentColor" }) }), Yc = "_controls-overlay_1hs9n_1", Kc = "_keyboard-shortcuts-overlay_1hs9n_11", zc = "_screen-reader-content_1hs9n_76", Wc = "_controls-button_1hs9n_90", Qc = "_keyboard-shortcuts-button_1hs9n_106", Xc = "_kebab-menu-button_1hs9n_116", $c = "_kebab-menu_1hs9n_116", Jc = "_kebab-menu-item_1hs9n_150", ef = "_close-button_1hs9n_189", tf = "_arrow_1hs9n_203", Ur = {
18340
+ const Xs = (W) => /* @__PURE__ */ Te("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...W, children: /* @__PURE__ */ Te("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.94968 7.74766L3.99993 2.79791L2.79785 3.99999L7.7476 8.94974L2.79785 13.8995L3.99993 15.1016L8.94968 10.1518L13.8994 15.1016L15.1015 13.8995L10.1518 8.94974L15.1015 3.99999L13.8994 2.79791L8.94968 7.74766Z", fill: "currentColor" }) }), Yc = "_controls-overlay_1hs9n_1", Kc = "_keyboard-shortcuts-overlay_1hs9n_11", zc = "_screen-reader-content_1hs9n_76", Wc = "_controls-button_1hs9n_90", Qc = "_keyboard-shortcuts-button_1hs9n_106", Xc = "_kebab-menu-button_1hs9n_116", $c = "_kebab-menu_1hs9n_116", Jc = "_kebab-menu-item_1hs9n_150", ef = "_close-button_1hs9n_189", tf = "_arrow_1hs9n_203", Ur = {
18341
18341
  "controls-overlay": "_controls-overlay_1hs9n_1",
18342
18342
  controlsOverlay: Yc,
18343
18343
  "keyboard-shortcuts-overlay": "_keyboard-shortcuts-overlay_1hs9n_11",
@@ -18378,7 +18378,7 @@ function nf({ onClose: W }) {
18378
18378
  onClick: W,
18379
18379
  "aria-label": se("CLOSE"),
18380
18380
  autoFocus: !0,
18381
- children: /* @__PURE__ */ Te(Qs, {})
18381
+ children: /* @__PURE__ */ Te(Xs, {})
18382
18382
  }
18383
18383
  )
18384
18384
  ] }),
@@ -18470,20 +18470,20 @@ function nf({ onClose: W }) {
18470
18470
  }
18471
18471
  );
18472
18472
  }
18473
- function Xs(W) {
18473
+ function $s(W) {
18474
18474
  var se, ve, Be = "";
18475
18475
  if (typeof W == "string" || typeof W == "number") Be += W;
18476
18476
  else if (typeof W == "object") if (Array.isArray(W)) {
18477
18477
  var Je = W.length;
18478
- for (se = 0; se < Je; se++) W[se] && (ve = Xs(W[se])) && (Be && (Be += " "), Be += ve);
18478
+ for (se = 0; se < Je; se++) W[se] && (ve = $s(W[se])) && (Be && (Be += " "), Be += ve);
18479
18479
  } else for (ve in W) W[ve] && (Be && (Be += " "), Be += ve);
18480
18480
  return Be;
18481
18481
  }
18482
18482
  function Ci() {
18483
- for (var W, se, ve = 0, Be = "", Je = arguments.length; ve < Je; ve++) (W = arguments[ve]) && (se = Xs(W)) && (Be && (Be += " "), Be += se);
18483
+ for (var W, se, ve = 0, Be = "", Je = arguments.length; ve < Je; ve++) (W = arguments[ve]) && (se = $s(W)) && (Be && (Be += " "), Be += se);
18484
18484
  return Be;
18485
18485
  }
18486
- const rf = (W) => /* @__PURE__ */ Te("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...W, children: /* @__PURE__ */ Te("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.8 3.6C9.79288 3.6 10.6 2.79288 10.6 1.8C10.6 0.80712 9.79288 0 8.8 0C7.80712 0 7 0.80712 7 1.8C7 2.79288 7.80712 3.6 8.8 3.6ZM10.6 8.99999C10.6 9.99287 9.79288 10.8 8.8 10.8C7.80712 10.8 7 9.99287 7 8.99999C7 8.00711 7.80712 7.19999 8.8 7.19999C9.79288 7.19999 10.6 8.00711 10.6 8.99999ZM10.6 16.2C10.6 17.1929 9.79288 18 8.8 18C7.80712 18 7 17.1929 7 16.2C7 15.2071 7.80712 14.4 8.8 14.4C9.79288 14.4 10.6 15.2071 10.6 16.2Z", fill: "currentColor" }) }), af = (W) => /* @__PURE__ */ Te("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...W, children: /* @__PURE__ */ Te("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14.1074 16.8677C12.8638 16.8677 11.8524 15.8563 11.8524 14.6127C11.8524 14.4154 11.8862 14.2271 11.9336 14.0444C12.0317 13.6701 12.22 13.3318 12.4804 13.059C12.8908 12.6294 13.467 12.3576 14.1074 12.3576C15.3511 12.3576 16.3625 13.369 16.3625 14.6127C16.3625 15.8563 15.3511 16.8677 14.1074 16.8677ZM4.38257 11.2301C3.13891 11.2301 2.12752 10.2187 2.12752 8.97507C2.12752 7.73141 3.13891 6.72002 4.38257 6.72002C5.01623 6.72002 5.58676 6.98386 5.99718 7.40556C6.25989 7.67616 6.44819 8.01329 6.54966 8.38763C6.60153 8.57592 6.63761 8.76986 6.63761 8.97507C6.63761 9.2017 6.59364 9.41818 6.53049 9.62452C6.41887 9.99435 6.22155 10.327 5.94982 10.5908C5.54391 10.9843 4.99256 11.2301 4.38257 11.2301ZM11.8524 3.38257C11.8524 2.13891 12.8638 1.12753 14.1074 1.12753C15.3511 1.12753 16.3625 2.13891 16.3625 3.38257C16.3625 4.62622 15.3511 5.63761 14.1074 5.63761C13.4749 5.63761 12.9055 5.3749 12.4962 4.95546C12.2324 4.68485 12.0429 4.34773 11.9415 3.97339C11.8896 3.78397 11.8524 3.5889 11.8524 3.38257ZM14.1074 11.2301C13.0498 11.2301 12.1151 11.7273 11.495 12.4907L7.52722 10.1996C7.67605 9.81846 7.76513 9.40804 7.76513 8.97507C7.76513 8.56465 7.68056 8.17678 7.54639 7.8126L11.5108 5.5226C12.132 6.27466 13.0588 6.76513 14.1074 6.76513C15.9724 6.76513 17.49 5.24748 17.49 3.38256C17.49 1.51764 15.9724 0 14.1074 0C12.2425 0 10.7249 1.51764 10.7249 3.38256C10.7249 3.79411 10.8094 4.18423 10.9447 4.54842L6.9815 6.83729C6.36136 6.08411 5.43341 5.59251 4.38256 5.59251C2.51764 5.59251 1 7.11015 1 8.97507C1 10.84 2.51764 12.3576 4.38256 12.3576C5.40974 12.3576 6.32077 11.8875 6.94091 11.1625L10.9368 13.4694C10.8072 13.829 10.7249 14.2102 10.7249 14.6127C10.7249 16.4776 12.2425 17.9952 14.1074 17.9952C15.9724 17.9952 17.49 16.4776 17.49 14.6127C17.49 12.7478 15.9724 11.2301 14.1074 11.2301Z", fill: "currentColor" }) }), of = (W) => /* @__PURE__ */ Te("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...W, children: /* @__PURE__ */ Te("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14.7647 16.9412H2.05882V1.05883H10.5294V5.29412H14.7647V16.9412ZM11.5882 1.278L14.5455 4.2353H11.5882V1.278ZM15.3587 3.55129L12.2722 0.464824C11.9715 0.165176 11.5724 0 11.1488 0H1V18H15.8235V4.67471C15.8235 4.25118 15.6584 3.852 15.3587 3.55129ZM1 0H15.8235V18H1V0ZM1 18H15.8235V0H1V18ZM4.17649 5.29412H8.41178V4.23529H4.17649V5.29412ZM4.17649 9.52941H10.5294V8.47059H4.17649V9.52941ZM4.17649 13.7647H8.41178V12.7059H4.17649V13.7647ZM4.17649 7.41177H12.6471V6.35294H4.17649V7.41177ZM4.17649 11.6471H11.5883V10.5882H4.17649V11.6471Z", fill: "currentColor" }) }), sf = (W) => /* @__PURE__ */ Te("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...W, children: /* @__PURE__ */ Te("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.30365 10.9535V0H9.3637V10.9535L12.6986 7.61855L13.4491 8.368L8.83261 12.9824L4.21823 8.368L4.96875 7.61855L8.30365 10.9535ZM3.77376 16.94H13.9354L16.9607 13.9146L17.7091 14.6651L14.3742 18H3.3349L0 14.6651L0.749452 13.9146L3.77376 16.94Z", fill: "currentColor" }) }), $s = (W) => /* @__PURE__ */ Te("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...W, children: /* @__PURE__ */ Te("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14.8234 16.4118C14.8234 16.7029 14.5852 16.9412 14.294 16.9412H3.70577C3.41459 16.9412 3.17636 16.7029 3.17636 16.4118V5.29412H2.11753V16.4118C2.11753 17.2874 2.83012 18 3.70577 18H14.294C15.1697 18 15.8822 17.2874 15.8822 16.4118V5.29412H14.8234V16.4118ZM6.35284 14.8235H7.41166V6.35294H6.35284V14.8235ZM10.5881 14.8235H11.6469V6.35294H10.5881V14.8235ZM12.5682 3.17647L11.4099 0H6.51176L5.35553 3.17647H0V4.23529H18V3.17647H12.5682ZM6.48105 3.17647L7.25293 1.05882H10.6698L11.4416 3.17647H6.48105Z", fill: "currentColor" }) }), uf = (W) => /* @__PURE__ */ Te("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...W, children: /* @__PURE__ */ Te("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M16.9412 15.2941C16.9412 15.5853 16.704 15.8235 16.4118 15.8235H1.58823C1.296 15.8235 1.05882 15.5853 1.05882 15.2941V6.82353C1.05882 6.53235 1.296 6.29412 1.58823 6.29412H16.4118C16.704 6.29412 16.9412 6.53235 16.9412 6.82353V15.2941ZM16.4118 5.23529H9.57494C9.71471 4.42 10.1933 4.17118 10.8254 3.85565C11.6629 3.43741 12.7059 2.91541 12.7059 1H11.6471C11.6471 2.26106 11.1039 2.53212 10.3511 2.90906C9.59824 3.28494 8.68659 3.75506 8.50871 5.23529H1.58824C0.712588 5.23529 0 5.94788 0 6.82353V15.2941C0 16.1698 0.712588 16.8824 1.58824 16.8824H16.4118C17.2874 16.8824 18 16.1698 18 15.2941V6.82353C18 5.94788 17.2874 5.23529 16.4118 5.23529ZM11.1177 11.5882H6.88236C6.59013 11.5882 6.35295 11.8254 6.35295 12.1176V13.1765C6.35295 13.4687 6.59013 13.7059 6.88236 13.7059H11.1177C11.4099 13.7059 11.6471 13.4687 11.6471 13.1765V12.1176C11.6471 11.8254 11.4099 11.5882 11.1177 11.5882ZM14.2941 11.5882H13.2353C12.943 11.5882 12.7059 11.8254 12.7059 12.1176V13.1765C12.7059 13.4687 12.943 13.7059 13.2353 13.7059H14.2941C14.5863 13.7059 14.8235 13.4687 14.8235 13.1765V12.1176C14.8235 11.8254 14.5863 11.5882 14.2941 11.5882ZM4.76472 11.5882H3.7059C3.41366 11.5882 3.17649 11.8254 3.17649 12.1176V13.1765C3.17649 13.4687 3.41366 13.7059 3.7059 13.7059H4.76472C5.05696 13.7059 5.29413 13.4687 5.29413 13.1765V12.1176C5.29413 11.8254 5.05696 11.5882 4.76472 11.5882ZM4.76472 8.41176H3.7059C3.41366 8.41176 3.17649 8.64894 3.17649 8.94118V10C3.17649 10.2922 3.41366 10.5294 3.7059 10.5294H4.76472C5.05696 10.5294 5.29413 10.2922 5.29413 10V8.94118C5.29413 8.64894 5.05696 8.41176 4.76472 8.41176ZM6.88236 10.5294H7.94118C8.23342 10.5294 8.4706 10.2922 8.4706 10V8.94118C8.4706 8.64894 8.23342 8.41176 7.94118 8.41176H6.88236C6.59013 8.41176 6.35295 8.64894 6.35295 8.94118V10C6.35295 10.2922 6.59013 10.5294 6.88236 10.5294ZM11.1176 8.41176H10.0588C9.76658 8.41176 9.52941 8.64894 9.52941 8.94118V10C9.52941 10.2922 9.76658 10.5294 10.0588 10.5294H11.1176C11.4099 10.5294 11.6471 10.2922 11.6471 10V8.94118C11.6471 8.64894 11.4099 8.41176 11.1176 8.41176ZM14.2941 8.41176H13.2353C12.943 8.41176 12.7059 8.64894 12.7059 8.94118V10C12.7059 10.2922 12.943 10.5294 13.2353 10.5294H14.2941C14.5863 10.5294 14.8235 10.2922 14.8235 10V8.94118C14.8235 8.64894 14.5863 8.41176 14.2941 8.41176Z", fill: "currentColor" }) });
18486
+ const rf = (W) => /* @__PURE__ */ Te("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...W, children: /* @__PURE__ */ Te("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.8 3.6C9.79288 3.6 10.6 2.79288 10.6 1.8C10.6 0.80712 9.79288 0 8.8 0C7.80712 0 7 0.80712 7 1.8C7 2.79288 7.80712 3.6 8.8 3.6ZM10.6 8.99999C10.6 9.99287 9.79288 10.8 8.8 10.8C7.80712 10.8 7 9.99287 7 8.99999C7 8.00711 7.80712 7.19999 8.8 7.19999C9.79288 7.19999 10.6 8.00711 10.6 8.99999ZM10.6 16.2C10.6 17.1929 9.79288 18 8.8 18C7.80712 18 7 17.1929 7 16.2C7 15.2071 7.80712 14.4 8.8 14.4C9.79288 14.4 10.6 15.2071 10.6 16.2Z", fill: "currentColor" }) }), af = (W) => /* @__PURE__ */ Te("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...W, children: /* @__PURE__ */ Te("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14.1074 16.8677C12.8638 16.8677 11.8524 15.8563 11.8524 14.6127C11.8524 14.4154 11.8862 14.2271 11.9336 14.0444C12.0317 13.6701 12.22 13.3318 12.4804 13.059C12.8908 12.6294 13.467 12.3576 14.1074 12.3576C15.3511 12.3576 16.3625 13.369 16.3625 14.6127C16.3625 15.8563 15.3511 16.8677 14.1074 16.8677ZM4.38257 11.2301C3.13891 11.2301 2.12752 10.2187 2.12752 8.97507C2.12752 7.73141 3.13891 6.72002 4.38257 6.72002C5.01623 6.72002 5.58676 6.98386 5.99718 7.40556C6.25989 7.67616 6.44819 8.01329 6.54966 8.38763C6.60153 8.57592 6.63761 8.76986 6.63761 8.97507C6.63761 9.2017 6.59364 9.41818 6.53049 9.62452C6.41887 9.99435 6.22155 10.327 5.94982 10.5908C5.54391 10.9843 4.99256 11.2301 4.38257 11.2301ZM11.8524 3.38257C11.8524 2.13891 12.8638 1.12753 14.1074 1.12753C15.3511 1.12753 16.3625 2.13891 16.3625 3.38257C16.3625 4.62622 15.3511 5.63761 14.1074 5.63761C13.4749 5.63761 12.9055 5.3749 12.4962 4.95546C12.2324 4.68485 12.0429 4.34773 11.9415 3.97339C11.8896 3.78397 11.8524 3.5889 11.8524 3.38257ZM14.1074 11.2301C13.0498 11.2301 12.1151 11.7273 11.495 12.4907L7.52722 10.1996C7.67605 9.81846 7.76513 9.40804 7.76513 8.97507C7.76513 8.56465 7.68056 8.17678 7.54639 7.8126L11.5108 5.5226C12.132 6.27466 13.0588 6.76513 14.1074 6.76513C15.9724 6.76513 17.49 5.24748 17.49 3.38256C17.49 1.51764 15.9724 0 14.1074 0C12.2425 0 10.7249 1.51764 10.7249 3.38256C10.7249 3.79411 10.8094 4.18423 10.9447 4.54842L6.9815 6.83729C6.36136 6.08411 5.43341 5.59251 4.38256 5.59251C2.51764 5.59251 1 7.11015 1 8.97507C1 10.84 2.51764 12.3576 4.38256 12.3576C5.40974 12.3576 6.32077 11.8875 6.94091 11.1625L10.9368 13.4694C10.8072 13.829 10.7249 14.2102 10.7249 14.6127C10.7249 16.4776 12.2425 17.9952 14.1074 17.9952C15.9724 17.9952 17.49 16.4776 17.49 14.6127C17.49 12.7478 15.9724 11.2301 14.1074 11.2301Z", fill: "currentColor" }) }), of = (W) => /* @__PURE__ */ Te("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...W, children: /* @__PURE__ */ Te("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14.7647 16.9412H2.05882V1.05883H10.5294V5.29412H14.7647V16.9412ZM11.5882 1.278L14.5455 4.2353H11.5882V1.278ZM15.3587 3.55129L12.2722 0.464824C11.9715 0.165176 11.5724 0 11.1488 0H1V18H15.8235V4.67471C15.8235 4.25118 15.6584 3.852 15.3587 3.55129ZM1 0H15.8235V18H1V0ZM1 18H15.8235V0H1V18ZM4.17649 5.29412H8.41178V4.23529H4.17649V5.29412ZM4.17649 9.52941H10.5294V8.47059H4.17649V9.52941ZM4.17649 13.7647H8.41178V12.7059H4.17649V13.7647ZM4.17649 7.41177H12.6471V6.35294H4.17649V7.41177ZM4.17649 11.6471H11.5883V10.5882H4.17649V11.6471Z", fill: "currentColor" }) }), sf = (W) => /* @__PURE__ */ Te("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...W, children: /* @__PURE__ */ Te("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.30365 10.9535V0H9.3637V10.9535L12.6986 7.61855L13.4491 8.368L8.83261 12.9824L4.21823 8.368L4.96875 7.61855L8.30365 10.9535ZM3.77376 16.94H13.9354L16.9607 13.9146L17.7091 14.6651L14.3742 18H3.3349L0 14.6651L0.749452 13.9146L3.77376 16.94Z", fill: "currentColor" }) }), Js = (W) => /* @__PURE__ */ Te("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...W, children: /* @__PURE__ */ Te("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14.8234 16.4118C14.8234 16.7029 14.5852 16.9412 14.294 16.9412H3.70577C3.41459 16.9412 3.17636 16.7029 3.17636 16.4118V5.29412H2.11753V16.4118C2.11753 17.2874 2.83012 18 3.70577 18H14.294C15.1697 18 15.8822 17.2874 15.8822 16.4118V5.29412H14.8234V16.4118ZM6.35284 14.8235H7.41166V6.35294H6.35284V14.8235ZM10.5881 14.8235H11.6469V6.35294H10.5881V14.8235ZM12.5682 3.17647L11.4099 0H6.51176L5.35553 3.17647H0V4.23529H18V3.17647H12.5682ZM6.48105 3.17647L7.25293 1.05882H10.6698L11.4416 3.17647H6.48105Z", fill: "currentColor" }) }), uf = (W) => /* @__PURE__ */ Te("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...W, children: /* @__PURE__ */ Te("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M16.9412 15.2941C16.9412 15.5853 16.704 15.8235 16.4118 15.8235H1.58823C1.296 15.8235 1.05882 15.5853 1.05882 15.2941V6.82353C1.05882 6.53235 1.296 6.29412 1.58823 6.29412H16.4118C16.704 6.29412 16.9412 6.53235 16.9412 6.82353V15.2941ZM16.4118 5.23529H9.57494C9.71471 4.42 10.1933 4.17118 10.8254 3.85565C11.6629 3.43741 12.7059 2.91541 12.7059 1H11.6471C11.6471 2.26106 11.1039 2.53212 10.3511 2.90906C9.59824 3.28494 8.68659 3.75506 8.50871 5.23529H1.58824C0.712588 5.23529 0 5.94788 0 6.82353V15.2941C0 16.1698 0.712588 16.8824 1.58824 16.8824H16.4118C17.2874 16.8824 18 16.1698 18 15.2941V6.82353C18 5.94788 17.2874 5.23529 16.4118 5.23529ZM11.1177 11.5882H6.88236C6.59013 11.5882 6.35295 11.8254 6.35295 12.1176V13.1765C6.35295 13.4687 6.59013 13.7059 6.88236 13.7059H11.1177C11.4099 13.7059 11.6471 13.4687 11.6471 13.1765V12.1176C11.6471 11.8254 11.4099 11.5882 11.1177 11.5882ZM14.2941 11.5882H13.2353C12.943 11.5882 12.7059 11.8254 12.7059 12.1176V13.1765C12.7059 13.4687 12.943 13.7059 13.2353 13.7059H14.2941C14.5863 13.7059 14.8235 13.4687 14.8235 13.1765V12.1176C14.8235 11.8254 14.5863 11.5882 14.2941 11.5882ZM4.76472 11.5882H3.7059C3.41366 11.5882 3.17649 11.8254 3.17649 12.1176V13.1765C3.17649 13.4687 3.41366 13.7059 3.7059 13.7059H4.76472C5.05696 13.7059 5.29413 13.4687 5.29413 13.1765V12.1176C5.29413 11.8254 5.05696 11.5882 4.76472 11.5882ZM4.76472 8.41176H3.7059C3.41366 8.41176 3.17649 8.64894 3.17649 8.94118V10C3.17649 10.2922 3.41366 10.5294 3.7059 10.5294H4.76472C5.05696 10.5294 5.29413 10.2922 5.29413 10V8.94118C5.29413 8.64894 5.05696 8.41176 4.76472 8.41176ZM6.88236 10.5294H7.94118C8.23342 10.5294 8.4706 10.2922 8.4706 10V8.94118C8.4706 8.64894 8.23342 8.41176 7.94118 8.41176H6.88236C6.59013 8.41176 6.35295 8.64894 6.35295 8.94118V10C6.35295 10.2922 6.59013 10.5294 6.88236 10.5294ZM11.1176 8.41176H10.0588C9.76658 8.41176 9.52941 8.64894 9.52941 8.94118V10C9.52941 10.2922 9.76658 10.5294 10.0588 10.5294H11.1176C11.4099 10.5294 11.6471 10.2922 11.6471 10V8.94118C11.6471 8.64894 11.4099 8.41176 11.1176 8.41176ZM14.2941 8.41176H13.2353C12.943 8.41176 12.7059 8.64894 12.7059 8.94118V10C12.7059 10.2922 12.943 10.5294 13.2353 10.5294H14.2941C14.5863 10.5294 14.8235 10.2922 14.8235 10V8.94118C14.8235 8.64894 14.5863 8.41176 14.2941 8.41176Z", fill: "currentColor" }) });
18487
18487
  function lf(W) {
18488
18488
  return Array.isArray(W) && typeof W[0] == "object";
18489
18489
  }
@@ -18513,7 +18513,7 @@ const hf = {
18513
18513
  share: /* @__PURE__ */ Te(af, {}),
18514
18514
  transcript: /* @__PURE__ */ Te(of, {}),
18515
18515
  media: /* @__PURE__ */ Te(sf, {}),
18516
- delete: /* @__PURE__ */ Te($s, {}),
18516
+ delete: /* @__PURE__ */ Te(Js, {}),
18517
18517
  shortcuts: /* @__PURE__ */ Te(uf, {})
18518
18518
  };
18519
18519
  function mf({ openShortcuts: W, shouldFocus: se }) {
@@ -18533,7 +18533,7 @@ function mf({ openShortcuts: W, shouldFocus: se }) {
18533
18533
  ]
18534
18534
  }), m = (B) => {
18535
18535
  B !== null && se && B.focus();
18536
- }, o = ao([t.setReference, m]), E = Ys(p, {
18536
+ }, o = ao([t.setReference, m]), E = Ks(p, {
18537
18537
  listRef: v,
18538
18538
  activeIndex: Je,
18539
18539
  onNavigate: Mt,
@@ -18629,10 +18629,10 @@ function pf() {
18629
18629
  }
18630
18630
  ) });
18631
18631
  }
18632
- const Js = (W) => /* @__PURE__ */ un("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...W, children: [
18632
+ const eu = (W) => /* @__PURE__ */ un("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...W, children: [
18633
18633
  /* @__PURE__ */ Te("defs", { children: /* @__PURE__ */ Te("clipPath", { id: "clip0_149_104418", children: /* @__PURE__ */ Te("rect", { width: 24, height: 24, fill: "white" }) }) }),
18634
18634
  /* @__PURE__ */ Te("g", { clipPath: "url(#clip0_149_104418)", children: /* @__PURE__ */ Te("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M22.5 21.8125V2.3125C22.5 1.9 22.1625 1.5625 21.75 1.5625H2.25C1.8375 1.5625 1.5 1.9 1.5 2.3125V21.8125C1.5 22.225 1.8375 22.5625 2.25 22.5625H21.75C22.1625 22.5625 22.5 22.225 22.5 21.8125ZM21.75 0.0625C22.9905 0.0625 24 1.072 24 2.3125V21.8125C24 23.053 22.9905 24.0625 21.75 24.0625H2.25C1.0095 24.0625 0 23.053 0 21.8125V2.3125C0 1.072 1.0095 0.0625 2.25 0.0625H21.75ZM10.744 10.6709H8.74403V10.0042H6.07736V14.0042H8.74403V13.3375H10.744V14.6709C10.744 15.4042 10.144 16.0042 9.41069 16.0042H5.41069C4.67736 16.0042 4.07736 15.4042 4.07736 14.6709V9.33753C4.07736 8.6042 4.67736 8.0042 5.41069 8.0042H9.41069C10.144 8.0042 10.744 8.6042 10.744 9.33753V10.6709ZM19.8065 10.6709H17.8065V10.0042H15.1399V14.0042H17.8065V13.3375H19.8065V14.6709C19.8065 15.4042 19.2065 16.0042 18.4732 16.0042H14.4732C13.7399 16.0042 13.1399 15.4042 13.1399 14.6709V9.33753C13.1399 8.6042 13.7399 8.0042 14.4732 8.0042H18.4732C19.2065 8.0042 19.8065 8.6042 19.8065 9.33753V10.6709Z", fill: "currentColor" }) })
18635
- ] }), eu = (W) => /* @__PURE__ */ un("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...W, children: [
18635
+ ] }), tu = (W) => /* @__PURE__ */ un("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...W, children: [
18636
18636
  /* @__PURE__ */ Te("defs", { children: /* @__PURE__ */ Te("clipPath", { id: "clip0_149_104406", children: /* @__PURE__ */ Te("rect", { width: 24, height: 24, fill: "white" }) }) }),
18637
18637
  /* @__PURE__ */ Te("g", { clipPath: "url(#clip0_149_104406)", children: /* @__PURE__ */ Te("path", { d: "M21.3333 0H2.66666C1.18666 0 0 1.35 0 3V21C0 22.65 1.18666 24 2.66666 24H21.3333C22.8 24 24 22.65 24 21V3C24 1.35 22.8 0 21.3333 0ZM10.6667 10.6667H8.66666V10H6V14H8.66666V13.3333H10.6667V14.6667C10.6667 15.4 10.0667 16 9.33334 16H5.33334C4.6 16 4 15.4 4 14.6667V9.33334C4 8.6 4.6 8 5.33334 8H9.33334C10.0667 8 10.6667 8.6 10.6667 9.33334V10.6667ZM20.0042 10.6667H18.0042V10H15.3375V14H18.0042V13.3333H20.0042V14.6667C20.0042 15.4 19.4042 16 18.6708 16H14.6708C13.9375 16 13.3375 15.4 13.3375 14.6667V9.33334C13.3375 8.6 13.9375 8 14.6708 8H18.6708C19.4042 8 20.0042 8.6 20.0042 9.33334V10.6667Z", fill: "currentColor" }) })
18638
18638
  ] });
@@ -18651,14 +18651,14 @@ function yf() {
18651
18651
  onClick: Mt,
18652
18652
  "aria-label": Je(Be ? "CAPTIONS_DISABLE" : "CAPTIONS_ENABLE"),
18653
18653
  "aria-pressed": Be ? "true" : "false",
18654
- children: Be ? /* @__PURE__ */ Te(eu, { className: "controls-button-icon" }) : /* @__PURE__ */ Te(Js, { className: "controls-button-icon" })
18654
+ children: Be ? /* @__PURE__ */ Te(tu, { className: "controls-button-icon" }) : /* @__PURE__ */ Te(eu, { className: "controls-button-icon" })
18655
18655
  }
18656
18656
  ) : null;
18657
18657
  }
18658
18658
  const _f = "_captions_guhpx_1", Ef = {
18659
18659
  captions: _f
18660
18660
  }, vf = (W, se) => W ? se.top : se.bottom;
18661
- function tu({ captions: W }) {
18661
+ function nu({ captions: W }) {
18662
18662
  const { captionOffsetOverride: se, controlsLayout: ve } = er(), Be = ir("captionPositionOnTop"), Je = ir("captionsInvertColors"), Mt = ir("captionsFontSizeMultiplier"), Me = vf(
18663
18663
  Be,
18664
18664
  se ?? {}
@@ -18693,7 +18693,7 @@ function tu({ captions: W }) {
18693
18693
  ) : null
18694
18694
  ] });
18695
18695
  }
18696
- const _i = [0.5, 0.75, 1, 1.25, 1.5, 2], Tf = [0.5, 1, 2, 3, 4], bf = 5, Sf = (W) => {
18696
+ const _i = [0.5, 0.75, 1, 1.25, 1.5, 2], Tf = [0.5, 1, 2, 3, 4], bf = 5, fo = "-ytb", Sf = (W) => {
18697
18697
  const [, se] = mr({});
18698
18698
  return Ir(() => {
18699
18699
  let ve = [];
@@ -18895,7 +18895,7 @@ const td = (W) => /* @__PURE__ */ un("svg", { width: 18, height: 18, viewBox: "0
18895
18895
  /* @__PURE__ */ Te("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.24999 17.6004C6.61818 17.6004 7.76119 16.6363 8.03673 15.3504H18V14.1504H8.03673C7.76119 12.8645 6.61818 11.9004 5.24999 11.9004C3.88181 11.9004 2.7388 12.8645 2.46326 14.1504H0V15.3504H2.46326C2.7388 16.6363 3.88181 17.6004 5.24999 17.6004ZM5.24999 13.1004C4.33872 13.1004 3.59999 13.8391 3.59999 14.7504C3.59999 15.6617 4.33872 16.4004 5.24999 16.4004C6.16126 16.4004 6.89999 15.6617 6.89999 14.7504C6.89999 13.8391 6.16126 13.1004 5.24999 13.1004Z", fill: "currentColor" })
18896
18896
  ] })
18897
18897
  ] });
18898
- function nu(W) {
18898
+ function ru(W) {
18899
18899
  const { width: se, height: ve } = W;
18900
18900
  if (se >= 3800 || ve >= 2100)
18901
18901
  return "2160p";
@@ -18911,7 +18911,7 @@ function rd() {
18911
18911
  }, [W]);
18912
18912
  if (!Be)
18913
18913
  return null;
18914
- const Me = nu(Be), _e = nd(se, ve, Me, Je);
18914
+ const Me = ru(Be), _e = nd(se, ve, Me, Je);
18915
18915
  return /* @__PURE__ */ Te(
18916
18916
  vi,
18917
18917
  {
@@ -18932,7 +18932,7 @@ function id() {
18932
18932
  label: Be("CAPTIONS"),
18933
18933
  hint: (ve == null ? void 0 : ve.label) ?? Be("OFF"),
18934
18934
  onClick: Je,
18935
- Icon: Js
18935
+ Icon: eu
18936
18936
  }
18937
18937
  ) : null;
18938
18938
  }
@@ -18950,7 +18950,7 @@ const ad = (W) => /* @__PURE__ */ Te("svg", { width: 24, height: 24, viewBox: "0
18950
18950
  "menu-icon": "_menu-icon_7nhpo_82",
18951
18951
  menuIcon: dd
18952
18952
  };
18953
- function fo({
18953
+ function go({
18954
18954
  label: W,
18955
18955
  checked: se = !1,
18956
18956
  onClick: ve,
@@ -18977,7 +18977,7 @@ const gd = (W) => /* @__PURE__ */ Te("svg", { width: 18, height: 18, viewBox: "0
18977
18977
  function hd() {
18978
18978
  const { t: W } = Hn(), se = er(), ve = wr(), Be = ir("commentsEnabled");
18979
18979
  return !se.forceComments && se.hasComments ? /* @__PURE__ */ Te(
18980
- fo,
18980
+ go,
18981
18981
  {
18982
18982
  Icon: gd,
18983
18983
  label: W("COMMENTS"),
@@ -19070,7 +19070,7 @@ function vd() {
19070
19070
  function Td() {
19071
19071
  const { t: W } = Hn(), se = wr(), ve = ir("captionPositionOnTop");
19072
19072
  return /* @__PURE__ */ Te(
19073
- fo,
19073
+ go,
19074
19074
  {
19075
19075
  label: W("ON_TOP"),
19076
19076
  onClick: () => se.captionPositionOnTop.set(!ve),
@@ -19081,7 +19081,7 @@ function Td() {
19081
19081
  function bd() {
19082
19082
  const { t: W } = Hn(), se = wr(), ve = ir("captionsInvertColors");
19083
19083
  return /* @__PURE__ */ Te(
19084
- fo,
19084
+ go,
19085
19085
  {
19086
19086
  label: W("INVERT_COLORS"),
19087
19087
  onClick: () => se.captionsInvertColors.set(!ve),
@@ -19114,10 +19114,10 @@ function Ad() {
19114
19114
  `${ve}-${(Me == null ? void 0 : Me.language) || "und"}-${(Me == null ? void 0 : Me.sourceType) || "standard"}`
19115
19115
  )) });
19116
19116
  }
19117
- const ru = "-ytb", Id = (W) => W.map((se) => {
19117
+ const Id = (W) => W.map((se) => {
19118
19118
  const { language: ve, sourceType: Be } = se;
19119
- return Be === "youtube" ? { ...se, language: `${ve}${ru}` } : se;
19120
- }), Rd = (W) => W ? W.replace(ru, "") : null;
19119
+ return Be === "youtube" ? { ...se, language: `${ve}${fo}` } : se;
19120
+ }), Rd = (W) => W ? W.replace(fo, "") : null;
19121
19121
  function sa(W, se) {
19122
19122
  if (!(W != null && W.contentWindow)) return;
19123
19123
  const ve = se ? Rd(se) : null, Be = {
@@ -19131,7 +19131,7 @@ function sa(W, se) {
19131
19131
  };
19132
19132
  W.contentWindow.postMessage(JSON.stringify(Be), "*");
19133
19133
  }
19134
- const xs = {
19134
+ const Fs = {
19135
19135
  0.5: -1,
19136
19136
  1: 0,
19137
19137
  2: 1,
@@ -19147,7 +19147,7 @@ function iu(W, se) {
19147
19147
  args: [
19148
19148
  "captions",
19149
19149
  "fontSize",
19150
- xs[se] !== void 0 ? xs[se] : 0
19150
+ Fs[se] !== void 0 ? Fs[se] : 0
19151
19151
  ]
19152
19152
  };
19153
19153
  (Be = W.contentWindow) == null || Be.postMessage(JSON.stringify(ve), "*");
@@ -19192,7 +19192,7 @@ function Cd() {
19192
19192
  tabIndex: -1,
19193
19193
  className: Lr.menuItem,
19194
19194
  children: [
19195
- /* @__PURE__ */ Te($s, { className: Lr.trashIcon }),
19195
+ /* @__PURE__ */ Te(Js, { className: Lr.trashIcon }),
19196
19196
  /* @__PURE__ */ Te("span", { className: Lr.menuItemLabel, children: ve("CAPTION_DELETE", { language: Be.label }) })
19197
19197
  ]
19198
19198
  },
@@ -19206,7 +19206,7 @@ function Nd() {
19206
19206
  {
19207
19207
  selected: Be === "auto" && W || Mt && !W,
19208
19208
  onClick: () => Je(),
19209
- label: _e ? nu(_e) : Me
19209
+ label: _e ? ru(_e) : Me
19210
19210
  },
19211
19211
  Be
19212
19212
  )) });
@@ -19219,10 +19219,10 @@ function Od(W, se) {
19219
19219
  const ve = Array.from(W.querySelectorAll("button")), Be = ve.indexOf(se);
19220
19220
  return ve[Be + 1] ?? null;
19221
19221
  }
19222
- function Fs(W) {
19222
+ function ks(W) {
19223
19223
  return W.querySelector("button");
19224
19224
  }
19225
- function ks(W) {
19225
+ function Zs(W) {
19226
19226
  const se = Array.from(W.querySelectorAll("button"));
19227
19227
  return se[se.length - 1] ?? null;
19228
19228
  }
@@ -19240,11 +19240,11 @@ function Md(W, se) {
19240
19240
  if (Mt)
19241
19241
  Mt.focus();
19242
19242
  else {
19243
- const Me = ks(ve.current);
19243
+ const Me = Zs(ve.current);
19244
19244
  Me == null || Me.focus();
19245
19245
  }
19246
19246
  } else if (ve.current) {
19247
- const Mt = ks(ve.current);
19247
+ const Mt = Zs(ve.current);
19248
19248
  Mt == null || Mt.focus();
19249
19249
  }
19250
19250
  },
@@ -19258,11 +19258,11 @@ function Md(W, se) {
19258
19258
  if (Mt)
19259
19259
  Mt.focus();
19260
19260
  else {
19261
- const Me = Fs(ve.current);
19261
+ const Me = ks(ve.current);
19262
19262
  Me == null || Me.focus();
19263
19263
  }
19264
19264
  } else if (ve.current) {
19265
- const Mt = Fs(ve.current);
19265
+ const Mt = ks(ve.current);
19266
19266
  Mt == null || Mt.focus();
19267
19267
  }
19268
19268
  },
@@ -19401,7 +19401,7 @@ function ou(W, se = 1e3) {
19401
19401
  }, [se]), Je;
19402
19402
  };
19403
19403
  }
19404
- const go = (W) => /* @__PURE__ */ Te("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...W, children: /* @__PURE__ */ Te("path", { d: "M 11,21 H 5 V 3 h 6 z m 8,0 H 13 V 3 h 6 z", fill: "currentColor" }) }), ho = (W) => /* @__PURE__ */ Te("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...W, children: /* @__PURE__ */ Te("path", { d: "M 5,2 V 22 L 21,12.000665 Z", fill: "currentColor" }) }), kd = (W) => /* @__PURE__ */ Te("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...W, children: /* @__PURE__ */ Te("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.691 3.99987V10.5281L0 4.00655V20.2596L10.691 13.7367V20.2663L23.9987 12.1331L10.691 3.99987Z", fill: "currentColor" }) }), Zd = (W) => /* @__PURE__ */ Te("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...W, children: /* @__PURE__ */ Te("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.309 3.99987L0 12.1331L13.309 20.2663V13.7367L23.9987 20.2596V4.00655L13.309 10.5281V3.99987Z", fill: "currentColor" }) }), su = (W) => /* @__PURE__ */ Te("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...W, children: /* @__PURE__ */ Te("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14.1179 1.41211V22.589H11.2943L5.64717 16.9418V7.05928L11.2943 1.41211H14.1179ZM4.23537 7.05928V16.9418H2.11769C0.957618 16.9418 0.0189406 16.0147 0.00028305 14.8592L0 14.8241V9.17696C0 8.01689 0.927077 7.07822 2.0826 7.05956L2.11769 7.05928H4.23537ZM22.3744 7.93711L24 9.56119L21.5623 11.9988L24 14.4365L22.3744 16.0621L19.9383 13.6245L17.5006 16.0621L15.875 14.4365L18.3127 11.9988L15.875 9.56119L17.5006 7.93711L19.9383 10.3748L22.3744 7.93711Z", fill: "currentColor" }) }), uu = (W) => /* @__PURE__ */ Te("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...W, children: /* @__PURE__ */ Te("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.64714 6.98017V16.8627L11.2943 22.5099H14.1179V1.33301H11.2943L5.64714 6.98017ZM0 9.09785V14.745C0 15.9168 0.945899 16.8627 2.11768 16.8627H4.23537V6.98017H2.11768C0.945899 6.98017 0 7.92607 0 9.09785ZM18.3527 11.9207C18.3527 10.6134 17.8388 9.36962 16.9056 8.4209L17.9094 7.43123C19.1066 8.64396 19.7645 10.2393 19.7645 11.9207C19.7645 13.6036 19.1066 15.1989 17.9094 16.4116L16.9056 15.422C17.8388 14.4732 18.3527 13.2295 18.3527 11.9207Z", fill: "currentColor" }) }), lu = (W) => /* @__PURE__ */ Te("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...W, children: /* @__PURE__ */ Te("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.64714 16.8627V6.98017L11.2943 1.33301H14.1179V22.5099H11.2943L5.64714 16.8627ZM0 14.745V9.09785C0 7.92607 0.945899 6.98017 2.11768 6.98017H4.23537V16.8627H2.11768C0.945899 16.8627 0 15.9168 0 14.745ZM16.9056 8.4209C17.8388 9.36962 18.3527 10.6134 18.3527 11.9207C18.3527 13.2295 17.8388 14.4732 16.9056 15.422L17.9094 16.4116C19.1066 15.1989 19.7645 13.6036 19.7645 11.9207C19.7645 10.2393 19.1066 8.64396 17.9094 7.43123L16.9056 8.4209ZM19.9016 5.43185L20.8997 4.43372C22.9002 6.43422 24 9.09403 24 11.9219C24 14.7497 22.9002 17.4081 20.8997 19.4086L19.9016 18.4104C21.6353 16.6782 22.5882 14.3727 22.5882 11.9219C22.5882 9.46957 21.6353 7.16553 19.9016 5.43185Z", fill: "currentColor" }) }), Ud = "_feedback-overlay_14jdq_1", Bd = "_feedback-message_14jdq_14", Gd = "_feedback-icon_14jdq_30", Hd = "_feedback-icon-animation_14jdq_1", _r = {
19404
+ const ho = (W) => /* @__PURE__ */ Te("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...W, children: /* @__PURE__ */ Te("path", { d: "M 11,21 H 5 V 3 h 6 z m 8,0 H 13 V 3 h 6 z", fill: "currentColor" }) }), mo = (W) => /* @__PURE__ */ Te("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...W, children: /* @__PURE__ */ Te("path", { d: "M 5,2 V 22 L 21,12.000665 Z", fill: "currentColor" }) }), kd = (W) => /* @__PURE__ */ Te("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...W, children: /* @__PURE__ */ Te("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.691 3.99987V10.5281L0 4.00655V20.2596L10.691 13.7367V20.2663L23.9987 12.1331L10.691 3.99987Z", fill: "currentColor" }) }), Zd = (W) => /* @__PURE__ */ Te("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...W, children: /* @__PURE__ */ Te("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.309 3.99987L0 12.1331L13.309 20.2663V13.7367L23.9987 20.2596V4.00655L13.309 10.5281V3.99987Z", fill: "currentColor" }) }), su = (W) => /* @__PURE__ */ Te("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...W, children: /* @__PURE__ */ Te("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14.1179 1.41211V22.589H11.2943L5.64717 16.9418V7.05928L11.2943 1.41211H14.1179ZM4.23537 7.05928V16.9418H2.11769C0.957618 16.9418 0.0189406 16.0147 0.00028305 14.8592L0 14.8241V9.17696C0 8.01689 0.927077 7.07822 2.0826 7.05956L2.11769 7.05928H4.23537ZM22.3744 7.93711L24 9.56119L21.5623 11.9988L24 14.4365L22.3744 16.0621L19.9383 13.6245L17.5006 16.0621L15.875 14.4365L18.3127 11.9988L15.875 9.56119L17.5006 7.93711L19.9383 10.3748L22.3744 7.93711Z", fill: "currentColor" }) }), uu = (W) => /* @__PURE__ */ Te("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...W, children: /* @__PURE__ */ Te("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.64714 6.98017V16.8627L11.2943 22.5099H14.1179V1.33301H11.2943L5.64714 6.98017ZM0 9.09785V14.745C0 15.9168 0.945899 16.8627 2.11768 16.8627H4.23537V6.98017H2.11768C0.945899 6.98017 0 7.92607 0 9.09785ZM18.3527 11.9207C18.3527 10.6134 17.8388 9.36962 16.9056 8.4209L17.9094 7.43123C19.1066 8.64396 19.7645 10.2393 19.7645 11.9207C19.7645 13.6036 19.1066 15.1989 17.9094 16.4116L16.9056 15.422C17.8388 14.4732 18.3527 13.2295 18.3527 11.9207Z", fill: "currentColor" }) }), lu = (W) => /* @__PURE__ */ Te("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...W, children: /* @__PURE__ */ Te("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.64714 16.8627V6.98017L11.2943 1.33301H14.1179V22.5099H11.2943L5.64714 16.8627ZM0 14.745V9.09785C0 7.92607 0.945899 6.98017 2.11768 6.98017H4.23537V16.8627H2.11768C0.945899 16.8627 0 15.9168 0 14.745ZM16.9056 8.4209C17.8388 9.36962 18.3527 10.6134 18.3527 11.9207C18.3527 13.2295 17.8388 14.4732 16.9056 15.422L17.9094 16.4116C19.1066 15.1989 19.7645 13.6036 19.7645 11.9207C19.7645 10.2393 19.1066 8.64396 17.9094 7.43123L16.9056 8.4209ZM19.9016 5.43185L20.8997 4.43372C22.9002 6.43422 24 9.09403 24 11.9219C24 14.7497 22.9002 17.4081 20.8997 19.4086L19.9016 18.4104C21.6353 16.6782 22.5882 14.3727 22.5882 11.9219C22.5882 9.46957 21.6353 7.16553 19.9016 5.43185Z", fill: "currentColor" }) }), Ud = "_feedback-overlay_14jdq_1", Bd = "_feedback-message_14jdq_14", Gd = "_feedback-icon_14jdq_30", Hd = "_feedback-icon-animation_14jdq_1", _r = {
19405
19405
  "feedback-overlay": "_feedback-overlay_14jdq_1",
19406
19406
  feedbackOverlay: Ud,
19407
19407
  "feedback-message": "_feedback-message_14jdq_14",
@@ -19417,7 +19417,7 @@ function qd({ action: W }) {
19417
19417
  return null;
19418
19418
  switch (W) {
19419
19419
  case "togglePaused":
19420
- return /* @__PURE__ */ Te("i", { className: _r.feedbackIcon, children: se.paused ? /* @__PURE__ */ Te(go, {}) : /* @__PURE__ */ Te(ho, {}) });
19420
+ return /* @__PURE__ */ Te("i", { className: _r.feedbackIcon, children: se.paused ? /* @__PURE__ */ Te(ho, {}) : /* @__PURE__ */ Te(mo, {}) });
19421
19421
  case "seekForward":
19422
19422
  case "seekForward10":
19423
19423
  return /* @__PURE__ */ Te("i", { className: _r.feedbackIcon, children: /* @__PURE__ */ Te(kd, { className: "right" }) });
@@ -19425,7 +19425,7 @@ function qd({ action: W }) {
19425
19425
  case "seekBackward10":
19426
19426
  return /* @__PURE__ */ Te("i", { className: _r.feedbackIcon, children: /* @__PURE__ */ Te(Zd, { className: "left" }) });
19427
19427
  case "captionsChange":
19428
- return /* @__PURE__ */ Te("i", { className: _r.feedbackIcon, children: /* @__PURE__ */ Te(eu, {}) });
19428
+ return /* @__PURE__ */ Te("i", { className: _r.feedbackIcon, children: /* @__PURE__ */ Te(tu, {}) });
19429
19429
  case "volumeChange":
19430
19430
  return /* @__PURE__ */ Te("i", { className: _r.feedbackIcon, children: se.muted || se.volume === 0 ? /* @__PURE__ */ Te(su, {}) : se.volume >= 0.5 ? /* @__PURE__ */ Te(lu, {}) : /* @__PURE__ */ Te(uu, {}) });
19431
19431
  default:
@@ -19484,7 +19484,7 @@ function Xd() {
19484
19484
  }
19485
19485
  );
19486
19486
  }
19487
- const $d = "_gestures-container_1fn3b_1", Jd = "_gesture_1fn3b_1", Zs = {
19487
+ const $d = "_gestures-container_1fn3b_1", Jd = "_gesture_1fn3b_1", Us = {
19488
19488
  "gestures-container": "_gestures-container_1fn3b_1",
19489
19489
  gesturesContainer: $d,
19490
19490
  gesture: Jd
@@ -19493,14 +19493,14 @@ function fu() {
19493
19493
  const W = ca(), se = () => {
19494
19494
  W.togglePaused();
19495
19495
  };
19496
- return /* @__PURE__ */ Te("div", { className: Zs.gesturesContainer, children: /* @__PURE__ */ Te("div", { "aria-hidden": !0, className: Zs.gesture, onClick: se }) });
19496
+ return /* @__PURE__ */ Te("div", { className: Us.gesturesContainer, children: /* @__PURE__ */ Te("div", { "aria-hidden": !0, className: Us.gesture, onClick: se }) });
19497
19497
  }
19498
19498
  const eg = (W) => /* @__PURE__ */ Te("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...W, children: /* @__PURE__ */ Te("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12 0V2.66667C17.1453 2.66667 21.3333 6.85333 21.3333 12C21.3333 17.1467 17.1453 21.3333 12 21.3333C6.85467 21.3333 2.66667 17.1467 2.66667 12C2.66667 9.53733 3.64667 7.21867 5.33333 5.49067V8.66667H8V1.33333H0.666667V4H3.05467C1.108 6.176 0 9.012 0 12C0 18.616 5.38267 24 12 24C18.6173 24 24 18.616 24 12C24 5.384 18.6173 0 12 0Z", fill: "currentColor" }) }), tg = "_play-pause-button_vj8da_1", ng = {
19499
19499
  "play-pause-button": "_play-pause-button_vj8da_1",
19500
19500
  playPauseButton: tg
19501
19501
  };
19502
19502
  function rg(W, se) {
19503
- return se ? eg : W ? ho : go;
19503
+ return se ? eg : W ? mo : ho;
19504
19504
  }
19505
19505
  function ig(W, se) {
19506
19506
  return se ? "REPLAY" : W ? "PLAY" : "PAUSE";
@@ -19593,8 +19593,8 @@ function du() {
19593
19593
  className: pi.smallLayoutOverlay,
19594
19594
  "data-testid": "small-layout-overlay",
19595
19595
  children: [
19596
- /* @__PURE__ */ Te(_c, { className: pi.fullScreenCloseIcon, children: /* @__PURE__ */ Te(Qs, {}) }),
19597
- /* @__PURE__ */ Te("i", { className: pi.smallLayoutButton, children: W ? /* @__PURE__ */ Te(ho, { className: pi.smallLayoutIconPlay }) : /* @__PURE__ */ Te(go, { className: pi.smallLayoutIconPause }) }),
19596
+ /* @__PURE__ */ Te(_c, { className: pi.fullScreenCloseIcon, children: /* @__PURE__ */ Te(Xs, {}) }),
19597
+ /* @__PURE__ */ Te("i", { className: pi.smallLayoutButton, children: W ? /* @__PURE__ */ Te(mo, { className: pi.smallLayoutIconPlay }) : /* @__PURE__ */ Te(ho, { className: pi.smallLayoutIconPause }) }),
19598
19598
  /* @__PURE__ */ un("div", { className: pi.smallLayoutTimestamp, children: [
19599
19599
  /* @__PURE__ */ Te(la, { type: "current" }),
19600
19600
  "/",
@@ -19664,7 +19664,7 @@ const Ag = "_comment-markers_2yz4f_1", Ig = "_comment-marker_2yz4f_1", Rg = "_ti
19664
19664
  "tooltip-arrow": "_tooltip-arrow_2yz4f_326",
19665
19665
  tooltipArrow: Xg
19666
19666
  };
19667
- function Us() {
19667
+ function Bs() {
19668
19668
  const W = Wn("duration"), se = er(), ve = ir("commentsEnabled");
19669
19669
  return W > 0 && se.hasComments && ve ? /* @__PURE__ */ Te("div", { className: Mn.commentMarkers, children: se.comments.map((Be) => /* @__PURE__ */ Te(
19670
19670
  "span",
@@ -19696,7 +19696,7 @@ const $g = ac(function({ currentTime: se, position: ve }, Be) {
19696
19696
  element: t
19697
19697
  })
19698
19698
  ]
19699
- }), o = Rr([]), E = oo(m), h = Ys(m, {
19699
+ }), o = Rr([]), E = oo(m), h = Ks(m, {
19700
19700
  listRef: o,
19701
19701
  activeIndex: Me,
19702
19702
  onNavigate: _e,
@@ -20021,7 +20021,7 @@ const ch = {
20021
20021
  normal: Mn.timelineWrapper,
20022
20022
  compact: Mn.timelineWrapperCompact
20023
20023
  };
20024
- function Bs({
20024
+ function Gs({
20025
20025
  layout: W,
20026
20026
  children: se
20027
20027
  }) {
@@ -20049,7 +20049,7 @@ function Bs({
20049
20049
  onDragStart: Je,
20050
20050
  onDragEnd: Mt,
20051
20051
  children: [
20052
- /* @__PURE__ */ un(qs, { className: Mn.track, children: [
20052
+ /* @__PURE__ */ un(Vs, { className: Mn.track, children: [
20053
20053
  /* @__PURE__ */ Te(
20054
20054
  vc,
20055
20055
  {
@@ -20057,13 +20057,13 @@ function Bs({
20057
20057
  }
20058
20058
  ),
20059
20059
  /* @__PURE__ */ Te(
20060
- Vs,
20060
+ js,
20061
20061
  {
20062
20062
  className: Ci(Mn.trackFill, Mn.trackInner)
20063
20063
  }
20064
20064
  )
20065
20065
  ] }),
20066
- /* @__PURE__ */ Te(js, { className: Mn.thumb, ref: _e.setReference }),
20066
+ /* @__PURE__ */ Te(Ys, { className: Mn.thumb, ref: _e.setReference }),
20067
20067
  ve ? /* @__PURE__ */ un(
20068
20068
  "div",
20069
20069
  {
@@ -20116,8 +20116,8 @@ function ph() {
20116
20116
  }
20117
20117
  ),
20118
20118
  /* @__PURE__ */ un(bc, { className: wi.root, children: [
20119
- /* @__PURE__ */ Te(qs, { className: wi.track, children: /* @__PURE__ */ Te(Vs, { className: wi.trackFill }) }),
20120
- /* @__PURE__ */ Te(js, { className: wi.thumb })
20119
+ /* @__PURE__ */ Te(Vs, { className: wi.track, children: /* @__PURE__ */ Te(js, { className: wi.trackFill }) }),
20120
+ /* @__PURE__ */ Te(Ys, { className: wi.thumb })
20121
20121
  ] })
20122
20122
  ] });
20123
20123
  }
@@ -20177,7 +20177,7 @@ function gr(W, se) {
20177
20177
  function hr(W, se) {
20178
20178
  W.preventDefault(), se();
20179
20179
  }
20180
- const Gs = {
20180
+ const Hs = {
20181
20181
  togglePaused: {
20182
20182
  keys: ["Space", "Enter", "k"],
20183
20183
  onKeyDown({ player: W, remote: se, event: ve }) {
@@ -20313,7 +20313,7 @@ function Th(W, se = 1e3) {
20313
20313
  }, se));
20314
20314
  };
20315
20315
  }
20316
- const Hs = {
20316
+ const qs = {
20317
20317
  volume: 1,
20318
20318
  muted: !1,
20319
20319
  lang: null,
@@ -20328,7 +20328,7 @@ class bh {
20328
20328
  constructor() {
20329
20329
  xr(this, "playerId", "studio-player");
20330
20330
  xr(this, "mediaId", null);
20331
- xr(this, "data", Hs);
20331
+ xr(this, "data", qs);
20332
20332
  xr(this, "time", null);
20333
20333
  xr(this, "overrideTime", null);
20334
20334
  xr(this, "saveTime", () => {
@@ -20417,7 +20417,7 @@ class bh {
20417
20417
  } catch {
20418
20418
  }
20419
20419
  this.data = {
20420
- ...Hs,
20420
+ ...qs,
20421
20421
  ...Me
20422
20422
  }, Ja(this.overrideTime) && this.overrideTime >= 0 ? this.time = this.overrideTime : this.time = Mt ? +Mt : null;
20423
20423
  }
@@ -20429,9 +20429,9 @@ class bh {
20429
20429
  }
20430
20430
  function Sh(W, se, ve, Be) {
20431
20431
  const Je = Ir(() => new bh(), []), Mt = Ir(() => W ? {
20432
- ...Gs,
20432
+ ...Hs,
20433
20433
  toggleFullscreen: []
20434
- } : Gs, [W]);
20434
+ } : Hs, [W]);
20435
20435
  return {
20436
20436
  contextValue: Ir(() => {
20437
20437
  const _e = Je.initializeState(Be), C = {
@@ -20471,8 +20471,8 @@ function Ih() {
20471
20471
  return /* @__PURE__ */ un("div", { className: "audio-layout-wrapper", children: [
20472
20472
  /* @__PURE__ */ Te(Ah, {}),
20473
20473
  /* @__PURE__ */ Te(cu, {}),
20474
- /* @__PURE__ */ Te(Ws, {}),
20475
- /* @__PURE__ */ Te(tu, { captions: W.captions }),
20474
+ /* @__PURE__ */ Te(Qs, {}),
20475
+ /* @__PURE__ */ Te(nu, { captions: W.captions }),
20476
20476
  /* @__PURE__ */ Te(du, {}),
20477
20477
  /* @__PURE__ */ Te(fu, {})
20478
20478
  ] });
@@ -20483,8 +20483,8 @@ function Rh() {
20483
20483
  ), ve = Ir(() => se ? Id(W.captions) : W.captions, [W.captions, se]);
20484
20484
  return /* @__PURE__ */ un(Ei, { children: [
20485
20485
  /* @__PURE__ */ Te(cu, {}),
20486
- /* @__PURE__ */ Te(Ws, {}),
20487
- /* @__PURE__ */ Te(tu, { captions: ve }),
20486
+ /* @__PURE__ */ Te(Qs, {}),
20487
+ /* @__PURE__ */ Te(nu, { captions: ve }),
20488
20488
  /* @__PURE__ */ Te(du, {}),
20489
20489
  /* @__PURE__ */ Te(fu, {}),
20490
20490
  /* @__PURE__ */ Te(Pf, { comments: W.comments })
@@ -20544,17 +20544,17 @@ function Ph({
20544
20544
  }),
20545
20545
  inert: ne ? "true" : void 0,
20546
20546
  children: [
20547
- ve === "normal" ? /* @__PURE__ */ un(Bs, { layout: "normal", children: [
20547
+ ve === "normal" ? /* @__PURE__ */ un(Gs, { layout: "normal", children: [
20548
20548
  _e || Mt || Me ? /* @__PURE__ */ Te(lh, {}) : null,
20549
20549
  _e ? /* @__PURE__ */ Te(th, {}) : null,
20550
- /* @__PURE__ */ Te(Us, {})
20550
+ /* @__PURE__ */ Te(Bs, {})
20551
20551
  ] }) : null,
20552
20552
  /* @__PURE__ */ un("div", { className: yi.leftControls, children: [
20553
20553
  /* @__PURE__ */ Te(ag, {}),
20554
20554
  /* @__PURE__ */ Te(ph, {})
20555
20555
  ] }),
20556
20556
  /* @__PURE__ */ Te("div", { className: yi.indicators, children: /* @__PURE__ */ Te(Sg, {}) }),
20557
- ve === "compact" ? /* @__PURE__ */ Te(Bs, { layout: "compact", children: /* @__PURE__ */ Te(Us, {}) }) : null,
20557
+ ve === "compact" ? /* @__PURE__ */ Te(Gs, { layout: "compact", children: /* @__PURE__ */ Te(Bs, {}) }) : null,
20558
20558
  /* @__PURE__ */ un("div", { className: yi.rightControls, children: [
20559
20559
  !Be && /* @__PURE__ */ Te(yf, {}),
20560
20560
  C && /* @__PURE__ */ Te(gg, {}),
@@ -20618,12 +20618,12 @@ function jh({
20618
20618
  }, [Ue, _e]);
20619
20619
  const [We, be] = mr("none"), Ze = jn(
20620
20620
  (we) => {
20621
- Sc(we) ? be("audio") : (Os(we) || Ms(we) || Ac(we)) && be("video"), (Os(we) || za(we)) && Je && (we.video.poster = Je);
20621
+ Sc(we) ? be("audio") : (Ms(we) || Ls(we) || Ac(we)) && be("video"), (Ms(we) || za(we)) && Je && (we.video.poster = Je);
20622
20622
  },
20623
20623
  [Je]
20624
20624
  ), Qe = jn(
20625
20625
  (we) => {
20626
- za(we) ? we.library = Nc.MediaPlayer : Ms(we) && (typeof te == "string" && te.length > 0 ? (we.encryptedPayload = te, we.education = !0, we.autoLoadCaptions = Be.some((Tt) => Tt.sourceType === "youtube"), Se.youtubeEducationProvider.set(we)) : we.cookies = !0);
20626
+ za(we) ? we.library = Nc.MediaPlayer : Ls(we) && (typeof te == "string" && te.length > 0 ? (we.encryptedPayload = te, we.education = !0, we.autoLoadCaptions = Be.some((Tt) => Tt.sourceType === "youtube"), Se.youtubeEducationProvider.set(we)) : we.cookies = !0);
20627
20627
  },
20628
20628
  []
20629
20629
  ), ot = $a(Se.interactionsDisabled), Ae = $a(Se.globalKeysDisabled);
@@ -20658,7 +20658,7 @@ function jh({
20658
20658
  children: /* @__PURE__ */ Te(Lc, { contextValue: Se, children: /* @__PURE__ */ Te(xh, { children: /* @__PURE__ */ un(
20659
20659
  Ic,
20660
20660
  {
20661
- "data-version": "1.3.3",
20661
+ "data-version": "1.3.4",
20662
20662
  crossOrigin: P,
20663
20663
  storage: x ? null : De,
20664
20664
  title: W,
@@ -20668,20 +20668,21 @@ function jh({
20668
20668
  keyDisabled: ot || Ae,
20669
20669
  onTextTracksChange: (we) => {
20670
20670
  const Tt = we == null ? void 0 : we.findIndex(
20671
- (_t) => _t.src === c
20671
+ (pt) => pt.src === c
20672
20672
  );
20673
20673
  Tt > -1 && (we[Tt].mode = "showing");
20674
20674
  },
20675
20675
  onLoadedMetadata: () => {
20676
+ var Tt;
20676
20677
  const we = Se.youtubeEducationProvider.get();
20677
20678
  if (we)
20678
20679
  if (x)
20679
20680
  sa(we.iframe, null);
20680
20681
  else {
20681
- const Tt = De.data.captions && De.data.lang || null;
20682
+ const pt = De.data.captions && ((Tt = De.data.lang) == null ? void 0 : Tt.endsWith(fo)) && De.data.lang || null;
20682
20683
  sa(
20683
20684
  we.iframe,
20684
- Tt
20685
+ pt
20685
20686
  ), iu(
20686
20687
  we.iframe,
20687
20688
  De.data.multiplier
@@ -20729,6 +20730,7 @@ export {
20729
20730
  bf as COMMENT_DURATION,
20730
20731
  _i as PLAYBACK_RATES,
20731
20732
  jh as StudioPlayer,
20733
+ fo as YOUTUBE_CAPTION_SUFFIX,
20732
20734
  Wn as useMediaState,
20733
20735
  zh as useMediaStore
20734
20736
  };