@evercam/ui 0.0.55-beta.8 → 0.0.55-beta.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import Ve from "vue";
2
2
  import * as I from "d3";
3
3
  import Ke from "moment-timezone";
4
- var Y = /* @__PURE__ */ ((s) => (s.dot = "dot", s.xs = "xs", s.sm = "sm", s.md = "base", s.base = "base", s.lg = "lg", s.xl = "xl", s["2xl"] = "2xl", s["3xl"] = "3xl", s["4xl"] = "4xl", s["5xl"] = "5xl", s["6xl"] = "6xl", s["7xl"] = "7xl", s["8xl"] = "8xl", s["9xl"] = "9xl", s))(Y || {}), ge = /* @__PURE__ */ ((s) => (s.warning = "warning", s.error = "error", s.info = "info", s.success = "success", s.primary = "primary", s.brand = "brand", s.default = "default", s))(ge || {}), kt = /* @__PURE__ */ ((s) => (s.overview = "overview", s.detailed = "detailed", s.detailedBackground = "detailedBackground", s))(kt || {}), Ae = /* @__PURE__ */ ((s) => (s.bars = "bars", s.dots = "dots", s.lineGraph = "lineGraph", s.barChart = "barGraph", s.milestones = "milestones", s))(Ae || {}), Pt = /* @__PURE__ */ ((s) => (s.zoom = "zoom", s.autoPan = "autoPan", s.initial = "initial", s))(Pt || {});
4
+ var Y = /* @__PURE__ */ ((s) => (s.dot = "dot", s.xs = "xs", s.sm = "sm", s.md = "base", s.base = "base", s.lg = "lg", s.xl = "xl", s["2xl"] = "2xl", s["3xl"] = "3xl", s["4xl"] = "4xl", s["5xl"] = "5xl", s["6xl"] = "6xl", s["7xl"] = "7xl", s["8xl"] = "8xl", s["9xl"] = "9xl", s))(Y || {}), ge = /* @__PURE__ */ ((s) => (s.warning = "warning", s.error = "error", s.info = "info", s.success = "success", s.primary = "primary", s.brand = "brand", s.default = "default", s))(ge || {}), kt = /* @__PURE__ */ ((s) => (s.overview = "overview", s.detailed = "detailed", s.detailedBackground = "detailedBackground", s))(kt || {}), Ae = /* @__PURE__ */ ((s) => (s.bars = "bars", s.dots = "dots", s.lineGraph = "lineGraph", s.barChart = "barGraph", s.milestones = "milestones", s.exclusion = "exclusion", s))(Ae || {}), Pt = /* @__PURE__ */ ((s) => (s.zoom = "zoom", s.autoPan = "autoPan", s.initial = "initial", s))(Pt || {});
5
5
  const ma = Ve.extend({
6
6
  name: "EBadge",
7
7
  props: {
@@ -52,7 +52,7 @@ const ma = Ve.extend({
52
52
  }
53
53
  }
54
54
  });
55
- function Be(s, e, t, i, r, n, a, o) {
55
+ function Ne(s, e, t, i, r, n, a, o) {
56
56
  var l = typeof s == "function" ? s.options : s;
57
57
  e && (l.render = e, l.staticRenderFns = t, l._compiled = !0), i && (l.functional = !0), n && (l._scopeId = "data-v-" + n);
58
58
  var c;
@@ -84,7 +84,7 @@ function Be(s, e, t, i, r, n, a, o) {
84
84
  var ga = function() {
85
85
  var e = this, t = e._self._c;
86
86
  return t("span", { staticClass: "e-badge", class: e.badgeClasses }, [e.showText ? t("span", [e._v(e._s(e.text))]) : e._e()]);
87
- }, pa = [], ya = /* @__PURE__ */ Be(
87
+ }, pa = [], ya = /* @__PURE__ */ Ne(
88
88
  ma,
89
89
  ga,
90
90
  pa,
@@ -153,7 +153,7 @@ var xa = function() {
153
153
  }), e.showBadge ? t("div", { staticClass: "e-avatar__badge e-absolute e-top-0 e-right-0" }, [e._t("badge", function() {
154
154
  return [t("Badge", { attrs: { text: e.badgeText, color: e.badgeColor, size: e.badgeSize } })];
155
155
  })], 2) : e._e()], 2);
156
- }, Ta = [], Ea = /* @__PURE__ */ Be(
156
+ }, Ta = [], Ea = /* @__PURE__ */ Ne(
157
157
  va,
158
158
  xa,
159
159
  Ta,
@@ -3793,7 +3793,7 @@ let ri = Nr;
3793
3793
  var La = (ri.__esModule ? ri : { default: ri }).default;
3794
3794
  const Ra = /* @__PURE__ */ ba(La);
3795
3795
  let ni = qi;
3796
- var we = (ni.__esModule ? ni : { default: ni }).default;
3796
+ var Ie = (ni.__esModule ? ni : { default: ni }).default;
3797
3797
  const Ca = {
3798
3798
  50: "#FCE3E4",
3799
3799
  100: "#F9CDCE",
@@ -3806,12 +3806,12 @@ const Ca = {
3806
3806
  800: "#4E090B",
3807
3807
  900: "#290506"
3808
3808
  }, pe = {
3809
- onprimary: we.white,
3810
- warning: we.amber,
3811
- error: we.rose,
3812
- info: we.cyan,
3813
- success: we.lime,
3814
- primary: we.sky,
3809
+ onprimary: Ie.white,
3810
+ warning: Ie.amber,
3811
+ error: Ie.rose,
3812
+ info: Ie.cyan,
3813
+ success: Ie.lime,
3814
+ primary: Ie.sky,
3815
3815
  brand: Ca
3816
3816
  }, Da = {
3817
3817
  ...pe,
@@ -3836,10 +3836,10 @@ const Ca = {
3836
3836
  "primary-darken": pe.primary[600],
3837
3837
  "primary-lighten": pe.primary[400],
3838
3838
  // Surfaces
3839
- onsurface: we.slate[500],
3840
- onbackground: we.slate[700],
3841
- surface: we.slate[50],
3842
- background: we.white
3839
+ onsurface: Ie.slate[500],
3840
+ onbackground: Ie.slate[700],
3841
+ surface: Ie.slate[50],
3842
+ background: Ie.white
3843
3843
  }, _a = {
3844
3844
  prefix: "e-",
3845
3845
  corePlugins: {
@@ -4001,7 +4001,7 @@ const Ca = {
4001
4001
  var Oa = function() {
4002
4002
  var e = this, t = e._self._c;
4003
4003
  return t("div", { staticClass: "e-icon" }, [t("i", { class: e.iconClasses })]);
4004
- }, Fa = [], Ma = /* @__PURE__ */ Be(
4004
+ }, Fa = [], Ma = /* @__PURE__ */ Ne(
4005
4005
  Pa,
4006
4006
  Oa,
4007
4007
  Fa,
@@ -4079,7 +4079,7 @@ var $a = function() {
4079
4079
  "e-spinner--dark": e.dark,
4080
4080
  "e-spinner--grey": !e.color
4081
4081
  }, style: { opacity: e.opacity }, attrs: { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 1629.32 1608.86", width: e.computedSize, height: e.computedSize } }, [t("path", { staticClass: "e-spinner__primary", style: e.getNthPathStyle(0), attrs: { d: "m1254.12,591.61C992.01,401.11,439.78,0,439.78,0h601.2c14.3,0,48.95,9.02,62.54,38.01,55.27,117.88,111.32,235.46,170.48,351.43,33.16,70.9-8.99,170.35-19.87,202.16" } }), t("path", { staticClass: "e-spinner__secondary", style: e.getNthPathStyle(1), attrs: { d: "m1404.65,131.67c-29.37,89.94-55.8,170.95-82.25,251.93-4.05.87-8.1,1.73-12.15,2.61-40.61-83.95-81.21-167.9-123.12-254.54h217.51Z" } }), t("path", { staticClass: "e-spinner__primary", style: e.getNthPathStyle(2), attrs: { d: "m1129.06,1093.51c100.75-307.98,312.75-956.75,312.75-956.75,0,0,180.36,558.53,184.75,572.14,4.39,13.59,6.45,49.34-16.96,71.19-95.21,88.81-189.88,178.28-282.06,270.2-57.29,53.34-164.86,43.8-198.48,43.21" } }), t("path", { staticClass: "e-spinner__secondary", style: e.getNthPathStyle(3), attrs: { d: "m1342.3,1083.06c66.6-63.43,133.22-126.86,207.93-197.98,21.51,73.55,40.3,137.81,60.64,207.37h-263.35c-1.75-3.13-3.48-6.27-5.22-9.39" } }), t("path", { staticClass: "e-spinner__primary", style: e.getNthPathStyle(4), attrs: { d: "m610.27,1137.17c324.03-.53,1006.55-1.85,1006.55-1.85,0,0-474.19,345.83-485.74,354.25-11.55,8.42-44.87,21.56-72.94,6.14-114.11-62.68-228.69-124.66-344.81-183.5-68.56-37.76-93.12-142.93-103.06-175.04" } }), t("path", { staticClass: "e-spinner__secondary", style: e.getNthPathStyle(5), attrs: { d: "m938.58,1468.29c-62.81,42.58-118.35,80.24-180.28,122.23-28.35-87.22-54.62-168.03-80.89-248.86,2.62-2.92,5.26-5.85,7.9-8.76,81.89,43.78,163.79,87.56,253.26,135.39" } }), t("path", { staticClass: "e-spinner__primary", style: e.getNthPathStyle(6), attrs: { d: "m413.07,652.86c101.35,307.77,314.99,956,314.99,956,0,0-476.23-343.04-487.83-351.39-11.58-8.36-34.44-35.93-28.52-67.4,24.07-127.96,47.3-256.13,67.09-384.8,14.54-76.9,106.84-132.96,134.28-152.42" } }), t("path", { staticClass: "e-spinner__secondary", style: e.getNthPathStyle(7), attrs: { d: "m197.48,1068.8c-62.36-47.73-115.99-88.79-176.78-135.33,75.54-54.91,146.18-106.24,216.83-157.57,3.73,2.24,7.45,4.47,11.19,6.71-16.36,91.3-32.7,182.61-51.25,286.19" } }), t("path", { staticClass: "e-spinner__primary", style: e.getNthPathStyle(8), attrs: { d: "m813.58,314.41C551.63,505.15,0,907.07,0,907.07c0,0,180.68-558.4,185.09-572.01,4.39-13.59,23.65-43.78,55.41-47.8,129.19-16.29,258.32-33.41,386.86-53.99,77.67-9.72,159.3,60.97,186.22,81.13" } }), t("path", { staticClass: "e-spinner__secondary", style: e.getNthPathStyle(9), attrs: { d: "m635.14,199.78c-91.99,12.38-183.97,24.77-288.07,38.76,25.77-73.18,48.3-137.14,73.8-209.53,76.56,55.41,147.27,106.58,217.97,157.75-1.23,4.34-2.46,8.68-3.69,13.02" } })]);
4082
- }, Ua = [], Ga = /* @__PURE__ */ Be(
4082
+ }, Ua = [], Ga = /* @__PURE__ */ Ne(
4083
4083
  Ba,
4084
4084
  $a,
4085
4085
  Ua,
@@ -4152,7 +4152,7 @@ const sn = Ga.exports, Ha = Ve.extend({
4152
4152
  var Va = function() {
4153
4153
  var e = this, t = e._self._c;
4154
4154
  return e._self._setupProxy, t("div", { staticClass: "e-row e-flex e-flex-wrap", class: e.rowClasses }, [e._t("default")], 2);
4155
- }, Ka = [], Wa = /* @__PURE__ */ Be(
4155
+ }, Ka = [], Wa = /* @__PURE__ */ Ne(
4156
4156
  Ha,
4157
4157
  Va,
4158
4158
  Ka,
@@ -4269,7 +4269,7 @@ const za = Wa.exports, Ya = Ve.extend({
4269
4269
  var ja = function() {
4270
4270
  var e = this, t = e._self._c;
4271
4271
  return t("div", { staticClass: "e-col", class: e.colClasses }, [e._t("default")], 2);
4272
- }, qa = [], Xa = /* @__PURE__ */ Be(
4272
+ }, qa = [], Xa = /* @__PURE__ */ Ne(
4273
4273
  Ya,
4274
4274
  ja,
4275
4275
  qa,
@@ -4940,7 +4940,7 @@ const is = (s, e) => e + 10 <= s.length && s[e] === 73 && s[e + 1] === 68 && s[e
4940
4940
  }, So = (s) => s.type === "PRIV" ? bo(s) : s.type[0] === "W" ? Lo(s) : Ao(s), bo = (s) => {
4941
4941
  if (s.size < 2)
4942
4942
  return;
4943
- const e = Me(s.data, !0), t = new Uint8Array(s.data.subarray(e.length + 1));
4943
+ const e = Fe(s.data, !0), t = new Uint8Array(s.data.subarray(e.length + 1));
4944
4944
  return {
4945
4945
  key: s.type,
4946
4946
  info: e,
@@ -4951,16 +4951,16 @@ const is = (s, e) => e + 10 <= s.length && s[e] === 73 && s[e + 1] === 68 && s[e
4951
4951
  return;
4952
4952
  if (s.type === "TXXX") {
4953
4953
  let t = 1;
4954
- const i = Me(s.data.subarray(t), !0);
4954
+ const i = Fe(s.data.subarray(t), !0);
4955
4955
  t += i.length + 1;
4956
- const r = Me(s.data.subarray(t));
4956
+ const r = Fe(s.data.subarray(t));
4957
4957
  return {
4958
4958
  key: s.type,
4959
4959
  info: i,
4960
4960
  data: r
4961
4961
  };
4962
4962
  }
4963
- const e = Me(s.data.subarray(1));
4963
+ const e = Fe(s.data.subarray(1));
4964
4964
  return {
4965
4965
  key: s.type,
4966
4966
  data: e
@@ -4970,16 +4970,16 @@ const is = (s, e) => e + 10 <= s.length && s[e] === 73 && s[e + 1] === 68 && s[e
4970
4970
  if (s.size < 2)
4971
4971
  return;
4972
4972
  let t = 1;
4973
- const i = Me(s.data.subarray(t), !0);
4973
+ const i = Fe(s.data.subarray(t), !0);
4974
4974
  t += i.length + 1;
4975
- const r = Me(s.data.subarray(t));
4975
+ const r = Fe(s.data.subarray(t));
4976
4976
  return {
4977
4977
  key: s.type,
4978
4978
  info: i,
4979
4979
  data: r
4980
4980
  };
4981
4981
  }
4982
- const e = Me(s.data);
4982
+ const e = Fe(s.data);
4983
4983
  return {
4984
4984
  key: s.type,
4985
4985
  data: e
@@ -4990,7 +4990,7 @@ const is = (s, e) => e + 10 <= s.length && s[e] === 73 && s[e + 1] === 68 && s[e
4990
4990
  let i = (e[4] << 23) + (e[5] << 15) + (e[6] << 7) + e[7];
4991
4991
  return i /= 45, t && (i += 4772185884e-2), Math.round(i);
4992
4992
  }
4993
- }, Me = (s, e = !1) => {
4993
+ }, Fe = (s, e = !1) => {
4994
4994
  const t = Co();
4995
4995
  if (t) {
4996
4996
  const c = t.decode(s);
@@ -5034,7 +5034,7 @@ function Co() {
5034
5034
  if (!navigator.userAgent.includes("PlayStation 4"))
5035
5035
  return !li && typeof self.TextDecoder != "undefined" && (li = new self.TextDecoder("utf-8")), li;
5036
5036
  }
5037
- const Ie = {
5037
+ const _e = {
5038
5038
  hexDump: function(s) {
5039
5039
  let e = "";
5040
5040
  for (let t = 0; t < s.length; t++) {
@@ -5283,7 +5283,7 @@ function ko(s, e) {
5283
5283
  const f = pn(d);
5284
5284
  if (f) {
5285
5285
  const m = f.subarray(8, 24);
5286
- m.some((g) => g !== 0) || (S.log(`[eme] Patching keyId in 'enc${l ? "a" : "v"}>sinf>>tenc' box: ${Ie.hexDump(m)} -> ${Ie.hexDump(t)}`), f.set(t, 8));
5286
+ m.some((g) => g !== 0) || (S.log(`[eme] Patching keyId in 'enc${l ? "a" : "v"}>sinf>>tenc' box: ${_e.hexDump(m)} -> ${_e.hexDump(t)}`), f.set(t, 8));
5287
5287
  }
5288
5288
  });
5289
5289
  });
@@ -5532,7 +5532,7 @@ function yn(s, e, t, i) {
5532
5532
  payloadType: a,
5533
5533
  pts: t,
5534
5534
  uuid: h.join(""),
5535
- userData: Me(f),
5535
+ userData: Fe(f),
5536
5536
  userDataBytes: f
5537
5537
  });
5538
5538
  }
@@ -5638,7 +5638,7 @@ function Vo(s) {
5638
5638
  }, t = new DataView(s), i = t.getUint32(0);
5639
5639
  if (s.byteLength !== i && i > 44 || t.getUint32(4) !== 1886614376 || (e.version = t.getUint32(8) >>> 24, e.version > 1))
5640
5640
  return null;
5641
- e.systemId = Ie.hexDump(new Uint8Array(s, 12, 16));
5641
+ e.systemId = _e.hexDump(new Uint8Array(s, 12, 16));
5642
5642
  const n = t.getUint32(28);
5643
5643
  if (e.version === 0) {
5644
5644
  if (i - 32 < n)
@@ -5926,7 +5926,7 @@ const _s = /#EXT-X-STREAM-INF:([^\r\n]*)(?:[\r\n](?:#[^\r\n]*)?)*([^\r\n]+)|#EXT
5926
5926
  /#.*/.source
5927
5927
  // All other non-segment oriented tags will match with all groups empty
5928
5928
  ].join("|"), "g"), Zo = new RegExp([/#(EXTM3U)/.source, /#EXT-X-(DATERANGE|DEFINE|KEY|MAP|PART|PART-INF|PLAYLIST-TYPE|PRELOAD-HINT|RENDITION-REPORT|SERVER-CONTROL|SKIP|START):(.+)/.source, /#EXT-X-(BITRATE|DISCONTINUITY-SEQUENCE|MEDIA-SEQUENCE|TARGETDURATION|VERSION): *(\d+)/.source, /#EXT-X-(DISCONTINUITY|ENDLIST|GAP|INDEPENDENT-SEGMENTS)/.source, /(#)([^:]*):(.*)/.source, /(#)(.*)(?:.*)\r?\n?/.source].join("|"));
5929
- class Pe {
5929
+ class ke {
5930
5930
  static findGroup(e, t) {
5931
5931
  for (let i = 0; i < e.length; i++) {
5932
5932
  const r = e[i];
@@ -5964,7 +5964,7 @@ class Pe {
5964
5964
  attrs: c,
5965
5965
  bitrate: c.decimalInteger("BANDWIDTH") || c.decimalInteger("AVERAGE-BANDWIDTH"),
5966
5966
  name: c.NAME,
5967
- url: Pe.resolve(u, t)
5967
+ url: ke.resolve(u, t)
5968
5968
  }, d = c.decimalResolution("RESOLUTION");
5969
5969
  d && (h.width = d.width, h.height = d.height), Qo(c.CODECS, h), (o = h.unknownCodecs) != null && o.length || n.push(h), r.levels.push(h);
5970
5970
  } else if (a[3]) {
@@ -5992,7 +5992,7 @@ class Pe {
5992
5992
  case "CONTENT-STEERING": {
5993
5993
  const h = new ne(u);
5994
5994
  ve(r, h, ["SERVER-URI", "PATHWAY-ID"]), r.contentSteering = {
5995
- uri: Pe.resolve(h["SERVER-URI"], t),
5995
+ uri: ke.resolve(h["SERVER-URI"], t),
5996
5996
  pathwayId: h["PATHWAY-ID"] || "."
5997
5997
  };
5998
5998
  break;
@@ -6036,10 +6036,10 @@ class Pe {
6036
6036
  autoselect: c.bool("AUTOSELECT"),
6037
6037
  forced: c.bool("FORCED"),
6038
6038
  lang: f,
6039
- url: c.URI ? Pe.resolve(c.URI, t) : ""
6039
+ url: c.URI ? ke.resolve(c.URI, t) : ""
6040
6040
  };
6041
6041
  if (m && (T.assocLang = m), g && (T.channels = g), y && (T.characteristics = y), v && (T.instreamId = v), h != null && h.length) {
6042
- const x = Pe.findGroup(h, T.groupId) || h[0];
6042
+ const x = ke.findGroup(h, T.groupId) || h[0];
6043
6043
  Os(T, x, "audioCodec"), Os(T, x, "textCodec");
6044
6044
  }
6045
6045
  d.push(T);
@@ -6221,7 +6221,7 @@ function ks(s, e, t) {
6221
6221
  ve(t, n, ["KEYFORMAT", "KEYFORMATVERSIONS", "URI", "IV", "URI"]);
6222
6222
  const a = (i = n.METHOD) != null ? i : "", o = n.URI, l = n.hexadecimalInteger("IV"), c = n.KEYFORMATVERSIONS, u = (r = n.KEYFORMAT) != null ? r : "identity";
6223
6223
  o && n.IV && !l && S.error(`Invalid IV: ${n.IV}`);
6224
- const h = o ? Pe.resolve(o, e) : "", d = (c || "1").split("/").map(Number).filter(Number.isFinite);
6224
+ const h = o ? ke.resolve(o, e) : "", d = (c || "1").split("/").map(Number).filter(Number.isFinite);
6225
6225
  return new Tt(a, h, u, d, l);
6226
6226
  }
6227
6227
  function Ps(s) {
@@ -6443,7 +6443,7 @@ class el {
6443
6443
  this.handleManifestParsingError(c, h, new Error("no EXTM3U delimiter"), d || null, u);
6444
6444
  return;
6445
6445
  }
6446
- u.parsing.start = performance.now(), Pe.isMediaPlaylist(m) ? this.handleTrackOrLevelPlaylist(c, u, h, d || null, f) : this.handleMasterPlaylist(c, u, h, d);
6446
+ u.parsing.start = performance.now(), ke.isMediaPlaylist(m) ? this.handleTrackOrLevelPlaylist(c, u, h, d || null, f) : this.handleMasterPlaylist(c, u, h, d);
6447
6447
  },
6448
6448
  onError: (c, u, h, d) => {
6449
6449
  this.handleNetworkError(u, h, !1, c, d);
@@ -6455,7 +6455,7 @@ class el {
6455
6455
  r.load(e, o, l);
6456
6456
  }
6457
6457
  handleMasterPlaylist(e, t, i, r) {
6458
- const n = this.hls, a = e.data, o = fi(e, i), l = Pe.parseMasterPlaylist(a, o);
6458
+ const n = this.hls, a = e.data, o = fi(e, i), l = ke.parseMasterPlaylist(a, o);
6459
6459
  if (l.playlistParsingError) {
6460
6460
  this.handleManifestParsingError(e, i, l.playlistParsingError, r, t);
6461
6461
  return;
@@ -6473,7 +6473,7 @@ class el {
6473
6473
  AUDIO: g = [],
6474
6474
  SUBTITLES: y,
6475
6475
  "CLOSED-CAPTIONS": v
6476
- } = Pe.parseMasterPlaylistMedia(a, o, l);
6476
+ } = ke.parseMasterPlaylistMedia(a, o, l);
6477
6477
  g.length && !g.some((x) => !x.url) && u[0].audioCodec && !u[0].attrs.AUDIO && (S.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"), g.unshift({
6478
6478
  type: "main",
6479
6479
  name: "main",
@@ -6505,7 +6505,7 @@ class el {
6505
6505
  id: o,
6506
6506
  level: l,
6507
6507
  type: c
6508
- } = i, u = fi(e, i), h = 0, d = W(l) ? l : W(o) ? o : 0, f = Bs(i), m = Pe.parseLevelPlaylist(e.data, u, d, f, h, this.variableList);
6508
+ } = i, u = fi(e, i), h = 0, d = W(l) ? l : W(o) ? o : 0, f = Bs(i), m = ke.parseLevelPlaylist(e.data, u, d, f, h, this.variableList);
6509
6509
  if (c === J.MANIFEST) {
6510
6510
  const g = {
6511
6511
  attrs: new ne({}),
@@ -8010,17 +8010,17 @@ function Cl(s, e, t, i, r) {
8010
8010
  if (k === E)
8011
8011
  return E;
8012
8012
  if (R.minBitrate > t)
8013
- return $e(k, `min bitrate of ${R.minBitrate} > current estimate of ${t}`), E;
8013
+ return Be(k, `min bitrate of ${R.minBitrate} > current estimate of ${t}`), E;
8014
8014
  if (!R.hasDefaultAudio)
8015
- return $e(k, "no renditions with default or auto-select sound found"), E;
8015
+ return Be(k, "no renditions with default or auto-select sound found"), E;
8016
8016
  if (o && k.indexOf(o.substring(0, 4)) % 5 !== 0)
8017
- return $e(k, `audio codec preference "${o}" not found`), E;
8017
+ return Be(k, `audio codec preference "${o}" not found`), E;
8018
8018
  if (a && !l) {
8019
8019
  if (!R.channels[a])
8020
- return $e(k, `no renditions with ${a} channel sound found (channels options: ${Object.keys(R.channels)})`), E;
8020
+ return Be(k, `no renditions with ${a} channel sound found (channels options: ${Object.keys(R.channels)})`), E;
8021
8021
  } else if ((!o || l) && c && R.channels[2] === 0)
8022
- return $e(k, "no renditions with stereo sound found"), E;
8023
- return R.minHeight > T ? ($e(k, `min resolution of ${R.minHeight} > maximum of ${T}`), E) : R.minFramerate > x ? ($e(k, `min framerate of ${R.minFramerate} > maximum of ${x}`), E) : g.some((B) => R.videoRanges[B] > 0) ? R.maxScore < m ? ($e(k, `max score of ${R.maxScore} < selected max of ${m}`), E) : E && (Vt(k) >= Vt(E) || R.fragmentError > s[E].fragmentError) ? E : (m = R.maxScore, k) : ($e(k, `no variants with VIDEO-RANGE of ${JSON.stringify(g)} found`), E);
8022
+ return Be(k, "no renditions with stereo sound found"), E;
8023
+ return R.minHeight > T ? (Be(k, `min resolution of ${R.minHeight} > maximum of ${T}`), E) : R.minFramerate > x ? (Be(k, `min framerate of ${R.minFramerate} > maximum of ${x}`), E) : g.some((B) => R.videoRanges[B] > 0) ? R.maxScore < m ? (Be(k, `max score of ${R.maxScore} < selected max of ${m}`), E) : E && (Vt(k) >= Vt(E) || R.fragmentError > s[E].fragmentError) ? E : (m = R.maxScore, k) : (Be(k, `no variants with VIDEO-RANGE of ${JSON.stringify(g)} found`), E);
8024
8024
  }, void 0),
8025
8025
  videoRanges: g,
8026
8026
  preferHDR: y,
@@ -8028,7 +8028,7 @@ function Cl(s, e, t, i, r) {
8028
8028
  minBitrate: f
8029
8029
  };
8030
8030
  }
8031
- function $e(s, e) {
8031
+ function Be(s, e) {
8032
8032
  S.log(`[abr] start candidates with "${s}" ignored because ${e}`);
8033
8033
  }
8034
8034
  function Dl(s) {
@@ -8081,7 +8081,7 @@ function _l(s, e, t, i) {
8081
8081
  }), r;
8082
8082
  }, {});
8083
8083
  }
8084
- function Oe(s, e, t) {
8084
+ function Pe(s, e, t) {
8085
8085
  if ("attrs" in s) {
8086
8086
  const i = e.indexOf(s);
8087
8087
  if (i !== -1)
@@ -8126,11 +8126,11 @@ function wl(s, e, t, i, r) {
8126
8126
  if (d.videoRange !== l || d.frameRate !== c || d.codecSet.substring(0, 4) !== u)
8127
8127
  return !1;
8128
8128
  const f = d.audioGroups, m = t.filter((g) => !f || f.indexOf(g.groupId) !== -1);
8129
- return Oe(s, m, r) > -1;
8129
+ return Pe(s, m, r) > -1;
8130
8130
  });
8131
8131
  return h > -1 ? h : zs(e, i, (d) => {
8132
8132
  const f = d.audioGroups, m = t.filter((g) => !f || f.indexOf(g.groupId) !== -1);
8133
- return Oe(s, m, r) > -1;
8133
+ return Pe(s, m, r) > -1;
8134
8134
  });
8135
8135
  }
8136
8136
  function zs(s, e, t) {
@@ -10083,7 +10083,7 @@ function Xl(s) {
10083
10083
  scriptURL: e
10084
10084
  };
10085
10085
  }
10086
- function ke(s = "", e = 9e4) {
10086
+ function we(s = "", e = 9e4) {
10087
10087
  return {
10088
10088
  type: s,
10089
10089
  id: -1,
@@ -10150,9 +10150,9 @@ class cs {
10150
10150
  }
10151
10151
  return {
10152
10152
  audioTrack: a,
10153
- videoTrack: ke(),
10153
+ videoTrack: we(),
10154
10154
  id3Track: o,
10155
- textTrack: ke()
10155
+ textTrack: we()
10156
10156
  };
10157
10157
  }
10158
10158
  demuxSampleAes(e, t, i) {
@@ -10162,9 +10162,9 @@ class cs {
10162
10162
  const t = this.cachedData;
10163
10163
  return t && (this.cachedData = null, this.demux(t, 0)), {
10164
10164
  audioTrack: this._audioTrack,
10165
- videoTrack: ke(),
10165
+ videoTrack: we(),
10166
10166
  id3Track: this._id3Track,
10167
- textTrack: ke()
10167
+ textTrack: we()
10168
10168
  };
10169
10169
  }
10170
10170
  destroy() {
@@ -10440,8 +10440,8 @@ class uc {
10440
10440
  resetTimeStamp() {
10441
10441
  }
10442
10442
  resetInitSegment(e, t, i, r) {
10443
- const n = this.videoTrack = ke("video", 1), a = this.audioTrack = ke("audio", 1), o = this.txtTrack = ke("text", 1);
10444
- if (this.id3Track = ke("id3", 1), this.timeOffset = 0, !(e != null && e.byteLength))
10443
+ const n = this.videoTrack = we("video", 1), a = this.audioTrack = we("audio", 1), o = this.txtTrack = we("text", 1);
10444
+ if (this.id3Track = we("id3", 1), this.timeOffset = 0, !(e != null && e.byteLength))
10445
10445
  return;
10446
10446
  const l = gn(e);
10447
10447
  if (l.video) {
@@ -10492,9 +10492,9 @@ class uc {
10492
10492
  const r = this.extractID3Track(t, this.timeOffset);
10493
10493
  return i.samples = As(e, t), {
10494
10494
  videoTrack: t,
10495
- audioTrack: ke(),
10495
+ audioTrack: we(),
10496
10496
  id3Track: r,
10497
- textTrack: ke()
10497
+ textTrack: we()
10498
10498
  };
10499
10499
  }
10500
10500
  extractID3Track(e, t) {
@@ -14100,11 +14100,11 @@ class wc extends ns {
14100
14100
  this.tracksInGroup = o;
14101
14101
  const l = this.hls.config.audioPreference;
14102
14102
  if (!n && l) {
14103
- const d = Oe(l, o, et);
14103
+ const d = Pe(l, o, et);
14104
14104
  if (d > -1)
14105
14105
  n = o[d];
14106
14106
  else {
14107
- const f = Oe(l, this.tracks);
14107
+ const f = Pe(l, this.tracks);
14108
14108
  n = this.tracks[f];
14109
14109
  }
14110
14110
  }
@@ -14153,7 +14153,7 @@ class wc extends ns {
14153
14153
  const r = this.currentTrack;
14154
14154
  if (r && at(e, r, et))
14155
14155
  return r;
14156
- const n = Oe(e, this.tracksInGroup, et);
14156
+ const n = Pe(e, this.tracksInGroup, et);
14157
14157
  if (n > -1) {
14158
14158
  const a = this.tracksInGroup[n];
14159
14159
  return this.setAudioTrack(n), a;
@@ -14166,7 +14166,7 @@ class wc extends ns {
14166
14166
  t.nextLoadLevel = o;
14167
14167
  }
14168
14168
  if (e.channels || e.audioCodec) {
14169
- const a = Oe(e, i);
14169
+ const a = Pe(e, i);
14170
14170
  if (a > -1)
14171
14171
  return i[a];
14172
14172
  }
@@ -14591,11 +14591,11 @@ class Oc extends ns {
14591
14591
  const o = this.hls.config.subtitlePreference;
14592
14592
  if (!n && o) {
14593
14593
  this.selectDefaultTrack = !1;
14594
- const u = Oe(o, a);
14594
+ const u = Pe(o, a);
14595
14595
  if (u > -1)
14596
14596
  n = a[u];
14597
14597
  else {
14598
- const h = Oe(o, this.tracks);
14598
+ const h = Pe(o, this.tracks);
14599
14599
  n = this.tracks[h];
14600
14600
  }
14601
14601
  }
@@ -14664,7 +14664,7 @@ class Oc extends ns {
14664
14664
  const i = this.currentTrack;
14665
14665
  if (i && at(e, i))
14666
14666
  return i;
14667
- const r = Oe(e, this.tracksInGroup);
14667
+ const r = Pe(e, this.tracksInGroup);
14668
14668
  if (r > -1) {
14669
14669
  const n = this.tracksInGroup[r];
14670
14670
  return this.setSubtitleTrack(r), n;
@@ -14672,7 +14672,7 @@ class Oc extends ns {
14672
14672
  if (i)
14673
14673
  return null;
14674
14674
  {
14675
- const n = Oe(e, t);
14675
+ const n = Pe(e, t);
14676
14676
  if (n > -1)
14677
14677
  return t[n];
14678
14678
  }
@@ -15596,7 +15596,7 @@ const or = {
15596
15596
  }, jn = function(e) {
15597
15597
  let t = e;
15598
15598
  return or.hasOwnProperty(e) && (t = or[e]), String.fromCharCode(t);
15599
- }, Re = 15, Ue = 100, Bc = {
15599
+ }, Re = 15, $e = 100, Bc = {
15600
15600
  17: 1,
15601
15601
  18: 3,
15602
15602
  21: 5,
@@ -15701,23 +15701,23 @@ class Kc {
15701
15701
  class Wc {
15702
15702
  constructor(e) {
15703
15703
  this.chars = [], this.pos = 0, this.currPenState = new qn(), this.cueStartTime = null, this.logger = void 0;
15704
- for (let t = 0; t < Ue; t++)
15704
+ for (let t = 0; t < $e; t++)
15705
15705
  this.chars.push(new Kc());
15706
15706
  this.logger = e;
15707
15707
  }
15708
15708
  equals(e) {
15709
- for (let t = 0; t < Ue; t++)
15709
+ for (let t = 0; t < $e; t++)
15710
15710
  if (!this.chars[t].equals(e.chars[t]))
15711
15711
  return !1;
15712
15712
  return !0;
15713
15713
  }
15714
15714
  copy(e) {
15715
- for (let t = 0; t < Ue; t++)
15715
+ for (let t = 0; t < $e; t++)
15716
15716
  this.chars[t].copy(e.chars[t]);
15717
15717
  }
15718
15718
  isEmpty() {
15719
15719
  let e = !0;
15720
- for (let t = 0; t < Ue; t++)
15720
+ for (let t = 0; t < $e; t++)
15721
15721
  if (!this.chars[t].isEmpty()) {
15722
15722
  e = !1;
15723
15723
  break;
@@ -15728,7 +15728,7 @@ class Wc {
15728
15728
  * Set the cursor to a valid column.
15729
15729
  */
15730
15730
  setCursor(e) {
15731
- this.pos !== e && (this.pos = e), this.pos < 0 ? (this.logger.log(3, "Negative cursor position " + this.pos), this.pos = 0) : this.pos > Ue && (this.logger.log(3, "Too large cursor position " + this.pos), this.pos = Ue);
15731
+ this.pos !== e && (this.pos = e), this.pos < 0 ? (this.logger.log(3, "Negative cursor position " + this.pos), this.pos = 0) : this.pos > $e && (this.logger.log(3, "Too large cursor position " + this.pos), this.pos = $e);
15732
15732
  }
15733
15733
  /**
15734
15734
  * Move the cursor relative to current position.
@@ -15749,7 +15749,7 @@ class Wc {
15749
15749
  insertChar(e) {
15750
15750
  e >= 144 && this.backSpace();
15751
15751
  const t = jn(e);
15752
- if (this.pos >= Ue) {
15752
+ if (this.pos >= $e) {
15753
15753
  this.logger.log(0, () => "Cannot insert " + e.toString(16) + " (" + t + ") at position " + this.pos + ". Skipping it!");
15754
15754
  return;
15755
15755
  }
@@ -15757,7 +15757,7 @@ class Wc {
15757
15757
  }
15758
15758
  clearFromPos(e) {
15759
15759
  let t;
15760
- for (t = e; t < Ue; t++)
15760
+ for (t = e; t < $e; t++)
15761
15761
  this.chars[t].reset();
15762
15762
  }
15763
15763
  clear() {
@@ -15769,7 +15769,7 @@ class Wc {
15769
15769
  getTextString() {
15770
15770
  const e = [];
15771
15771
  let t = !0;
15772
- for (let i = 0; i < Ue; i++) {
15772
+ for (let i = 0; i < $e; i++) {
15773
15773
  const r = this.chars[i].uchar;
15774
15774
  r !== " " && (t = !1), e.push(r);
15775
15775
  }
@@ -16574,7 +16574,7 @@ const Qc = function(e, t, i) {
16574
16574
  e.presentationOffset = i;
16575
16575
  };
16576
16576
  function Jc(s, e, t, i, r, n, a) {
16577
- const o = new qc(), l = Me(new Uint8Array(s)).trim().replace(Xc, `
16577
+ const o = new qc(), l = Fe(new Uint8Array(s)).trim().replace(Xc, `
16578
16578
  `).split(`
16579
16579
  `), c = [], u = e ? xc(e.baseTime, e.timescale) : 0;
16580
16580
  let h = "00:00.000", d = 0, f = 0, m, g = !0;
@@ -16632,7 +16632,7 @@ function dr(s, e, t, i) {
16632
16632
  i(new Error("Could not parse IMSC1 mdat"));
16633
16633
  return;
16634
16634
  }
16635
- const n = r.map((o) => Me(o)), a = vc(e.baseTime, 1, e.timescale);
16635
+ const n = r.map((o) => Fe(o)), a = vc(e.baseTime, 1, e.timescale);
16636
16636
  try {
16637
16637
  n.forEach((o) => t(tu(o, a)));
16638
16638
  } catch (o) {
@@ -17422,7 +17422,7 @@ class ot {
17422
17422
  keySystem: t,
17423
17423
  mediaKeys: i
17424
17424
  }) {
17425
- this.log(`Creating key-system session "${t}" keyId: ${Ie.hexDump(e.keyId || [])}`);
17425
+ this.log(`Creating key-system session "${t}" keyId: ${_e.hexDump(e.keyId || [])}`);
17426
17426
  const r = i.createSession(), n = {
17427
17427
  decryptdata: e,
17428
17428
  keySystem: t,
@@ -17446,12 +17446,12 @@ class ot {
17446
17446
  throw new Error("Could not read keyId of undefined decryptdata");
17447
17447
  if (e.keyId === null)
17448
17448
  throw new Error("keyId is null");
17449
- return Ie.hexDump(e.keyId);
17449
+ return _e.hexDump(e.keyId);
17450
17450
  }
17451
17451
  updateKeySession(e, t) {
17452
17452
  var i;
17453
17453
  const r = e.mediaKeysSession;
17454
- return this.log(`Updating key-session "${r.sessionId}" for keyID ${Ie.hexDump(((i = e.decryptdata) == null ? void 0 : i.keyId) || [])}
17454
+ return this.log(`Updating key-session "${r.sessionId}" for keyID ${_e.hexDump(((i = e.decryptdata) == null ? void 0 : i.keyId) || [])}
17455
17455
  } (data length: ${t && t.byteLength})`), r.update(t);
17456
17456
  }
17457
17457
  selectKeySystemFormat(e) {
@@ -17544,7 +17544,7 @@ class ot {
17544
17544
  }
17545
17545
  if (!n || !r)
17546
17546
  return;
17547
- const a = Ie.hexDump(r), {
17547
+ const a = _e.hexDump(r), {
17548
17548
  keyIdToKeySessionPromise: o,
17549
17549
  mediaKeySessions: l
17550
17550
  } = this;
@@ -17553,7 +17553,7 @@ class ot {
17553
17553
  const h = l[u], d = h.decryptdata;
17554
17554
  if (d.pssh || !d.keyId)
17555
17555
  continue;
17556
- const f = Ie.hexDump(d.keyId);
17556
+ const f = _e.hexDump(d.keyId);
17557
17557
  if (a === f || d.uri.replace(/-/g, "").indexOf(a) !== -1) {
17558
17558
  c = o[f], delete o[f], d.pssh = new Uint8Array(i), d.keyId = r, c = o[a] = c.then(() => this.generateRequestWithPreferredKeySession(h, t, i, "encrypted-event-key-match"));
17559
17559
  break;
@@ -17662,7 +17662,7 @@ class ot {
17662
17662
  }
17663
17663
  onKeyStatusChange(e) {
17664
17664
  e.mediaKeysSession.keyStatuses.forEach((t, i) => {
17665
- this.log(`key status change "${t}" for keyStatuses keyId: ${Ie.hexDump("buffer" in i ? new Uint8Array(i.buffer, i.byteOffset, i.byteLength) : new Uint8Array(i))} session keyId: ${Ie.hexDump(new Uint8Array(e.decryptdata.keyId || []))} uri: ${e.decryptdata.uri}`), e.keyStatus = t;
17665
+ this.log(`key status change "${t}" for keyStatuses keyId: ${_e.hexDump("buffer" in i ? new Uint8Array(i.buffer, i.byteOffset, i.byteLength) : new Uint8Array(i))} session keyId: ${_e.hexDump(new Uint8Array(e.decryptdata.keyId || []))} uri: ${e.decryptdata.uri}`), e.keyStatus = t;
17666
17666
  });
17667
17667
  }
17668
17668
  fetchServerCertificate(e) {
@@ -17916,12 +17916,12 @@ function pu(s) {
17916
17916
  return s < -999999999999999 || 999999999999999 < s;
17917
17917
  }
17918
17918
  const yu = /[\x00-\x1f\x7f]+/, vu = "Token", xu = "Key";
17919
- function Ne(s, e, t) {
17919
+ function Me(s, e, t) {
17920
17920
  return hu("serialize", s, e, t);
17921
17921
  }
17922
17922
  function Tu(s) {
17923
17923
  if (typeof s != "boolean")
17924
- throw Ne(s, du);
17924
+ throw Me(s, du);
17925
17925
  return s ? "?1" : "?0";
17926
17926
  }
17927
17927
  function Eu(s) {
@@ -17929,12 +17929,12 @@ function Eu(s) {
17929
17929
  }
17930
17930
  function Su(s) {
17931
17931
  if (ArrayBuffer.isView(s) === !1)
17932
- throw Ne(s, fu);
17932
+ throw Me(s, fu);
17933
17933
  return `:${Eu(s)}:`;
17934
17934
  }
17935
17935
  function ra(s) {
17936
17936
  if (pu(s))
17937
- throw Ne(s, gu);
17937
+ throw Me(s, gu);
17938
17938
  return s.toString();
17939
17939
  }
17940
17940
  function bu(s) {
@@ -17953,14 +17953,14 @@ function na(s, e) {
17953
17953
  function Au(s) {
17954
17954
  const e = na(s, 3);
17955
17955
  if (Math.floor(Math.abs(e)).toString().length > 12)
17956
- throw Ne(s, mu);
17956
+ throw Me(s, mu);
17957
17957
  const t = e.toString();
17958
17958
  return t.includes(".") ? t : `${t}.0`;
17959
17959
  }
17960
17960
  const Lu = "String";
17961
17961
  function Ru(s) {
17962
17962
  if (yu.test(s))
17963
- throw Ne(s, Lu);
17963
+ throw Me(s, Lu);
17964
17964
  return `"${s.replace(/\\/g, "\\\\").replace(/"/g, '\\"')}"`;
17965
17965
  }
17966
17966
  function Cu(s) {
@@ -17969,14 +17969,14 @@ function Cu(s) {
17969
17969
  function vr(s) {
17970
17970
  const e = Cu(s);
17971
17971
  if (/^([a-zA-Z*])([!#$%&'*+\-.^_`|~\w:/]*)$/.test(e) === !1)
17972
- throw Ne(e, vu);
17972
+ throw Me(e, vu);
17973
17973
  return e;
17974
17974
  }
17975
17975
  function Ki(s) {
17976
17976
  switch (typeof s) {
17977
17977
  case "number":
17978
17978
  if (!W(s))
17979
- throw Ne(s, yr);
17979
+ throw Me(s, yr);
17980
17980
  return Number.isInteger(s) ? ra(s) : Au(s);
17981
17981
  case "string":
17982
17982
  return Ru(s);
@@ -17992,12 +17992,12 @@ function Ki(s) {
17992
17992
  if (s instanceof sa)
17993
17993
  return vr(s);
17994
17994
  default:
17995
- throw Ne(s, yr);
17995
+ throw Me(s, yr);
17996
17996
  }
17997
17997
  }
17998
17998
  function Wi(s) {
17999
17999
  if (/^[a-z*][a-z0-9\-_.*]*$/.test(s) === !1)
18000
- throw Ne(s, xu);
18000
+ throw Me(s, xu);
18001
18001
  return s;
18002
18002
  }
18003
18003
  function ys(s) {
@@ -18013,7 +18013,7 @@ function _u(s, e = {
18013
18013
  whitespace: !0
18014
18014
  }) {
18015
18015
  if (typeof s != "object")
18016
- throw Ne(s, cu);
18016
+ throw Me(s, cu);
18017
18017
  const t = s instanceof Map ? s.entries() : Object.entries(s), i = e != null && e.whitespace ? " " : "";
18018
18018
  return Array.from(t).map(([r, n]) => {
18019
18019
  n instanceof ht || (n = new ht(n));
@@ -20527,7 +20527,7 @@ class gh extends ls {
20527
20527
  return this._forceStartLoad;
20528
20528
  }
20529
20529
  }
20530
- class Fe {
20530
+ class Oe {
20531
20531
  /**
20532
20532
  * Get the video-dev/hls.js package version.
20533
20533
  */
@@ -20565,13 +20565,13 @@ class Fe {
20565
20565
  * Get the default configuration applied to new instances.
20566
20566
  */
20567
20567
  static get DefaultConfig() {
20568
- return Fe.defaultConfig ? Fe.defaultConfig : ua;
20568
+ return Oe.defaultConfig ? Oe.defaultConfig : ua;
20569
20569
  }
20570
20570
  /**
20571
20571
  * Replace the default configuration applied to new instances.
20572
20572
  */
20573
20573
  static set DefaultConfig(e) {
20574
- Fe.defaultConfig = e;
20574
+ Oe.defaultConfig = e;
20575
20575
  }
20576
20576
  /**
20577
20577
  * Creates an instance of an HLS client that can attach to exactly one `HTMLMediaElement`.
@@ -20579,7 +20579,7 @@ class Fe {
20579
20579
  */
20580
20580
  constructor(e = {}) {
20581
20581
  this.config = void 0, this.userConfig = void 0, this.coreComponents = void 0, this.networkControllers = void 0, this.started = !1, this._emitter = new fs(), this._autoLevelCapping = -1, this._maxHdcpLevel = null, this.abrController = void 0, this.bufferController = void 0, this.capLevelController = void 0, this.latencyController = void 0, this.levelController = void 0, this.streamController = void 0, this.audioTrackController = void 0, this.subtitleTrackController = void 0, this.emeController = void 0, this.cmcdController = void 0, this._media = null, this.url = null, this.triggeringException = void 0, ao(e.debug || !1, "Hls instance");
20582
- const t = this.config = rh(Fe.DefaultConfig, e);
20582
+ const t = this.config = rh(Oe.DefaultConfig, e);
20583
20583
  this.userConfig = e, t.progressive && nh(t);
20584
20584
  const {
20585
20585
  abrController: i,
@@ -21106,7 +21106,7 @@ class Fe {
21106
21106
  return this.streamController.forceStartLoad;
21107
21107
  }
21108
21108
  }
21109
- Fe.defaultConfig = void 0;
21109
+ Oe.defaultConfig = void 0;
21110
21110
  function fa() {
21111
21111
  const s = document;
21112
21112
  return !!(s.fullscreenElement || s.mozFullScreenElement || s.webkitFullscreenElement || s.msFullscreenElement);
@@ -21211,7 +21211,7 @@ const Ci = new Intl.NumberFormat(void 0, {
21211
21211
  isFinished: !1,
21212
21212
  isLoading: !0,
21213
21213
  isError: !1,
21214
- player: new Fe()
21214
+ player: new Oe()
21215
21215
  };
21216
21216
  },
21217
21217
  computed: {
@@ -21236,7 +21236,7 @@ const Ci = new Intl.NumberFormat(void 0, {
21236
21236
  initHls() {
21237
21237
  var e, t, i, r;
21238
21238
  const s = this.$refs.player;
21239
- (e = this.player) != null && e.stopLoad && this.player.stopLoad(), Fe.isSupported() && (this.isLoading = !0, this.player = new Fe({
21239
+ (e = this.player) != null && e.stopLoad && this.player.stopLoad(), Oe.isSupported() && (this.isLoading = !0, this.player = new Oe({
21240
21240
  startPosition: 0,
21241
21241
  xhrSetup: (n) => {
21242
21242
  this.streamingToken && n.setRequestHeader(
@@ -21244,7 +21244,7 @@ const Ci = new Intl.NumberFormat(void 0, {
21244
21244
  `Bearer ${this.streamingToken}`
21245
21245
  );
21246
21246
  }
21247
- }), (t = this.player) == null || t.loadSource(this.sources[0].src), (i = this.player) == null || i.attachMedia(s), (r = this.player) == null || r.on(Fe.Events.MANIFEST_PARSED, () => {
21247
+ }), (t = this.player) == null || t.loadSource(this.sources[0].src), (i = this.player) == null || i.attachMedia(s), (r = this.player) == null || r.on(Oe.Events.MANIFEST_PARSED, () => {
21248
21248
  this.playing && s.play();
21249
21249
  }));
21250
21250
  },
@@ -21452,7 +21452,7 @@ var Th = function() {
21452
21452
  }, Eh = [function() {
21453
21453
  var s = this, e = s._self._c;
21454
21454
  return e("div", { staticClass: "timeline" }, [e("div", { staticClass: "thumb-indicator" })]);
21455
- }], Sh = /* @__PURE__ */ Be(
21455
+ }], Sh = /* @__PURE__ */ Ne(
21456
21456
  xh,
21457
21457
  Th,
21458
21458
  Eh,
@@ -22110,7 +22110,7 @@ var Ch = function() {
22110
22110
  }, style: e.styles, attrs: { tabindex: "0" }, on: { mouseover: (i) => e.onMilestoneMouseOver(i, e.milestone), mousemove: e.onMilestoneMouseMove, mouseleave: (i) => e.onMilestoneMouseLeave(i, e.milestone), click: (i) => e.onMilestoneClick(i, e.milestone) } }, [t("div", { class: e.milestoneClasses.milestoneContent, style: e.contentStyles }, [e._t("content", function() {
22111
22111
  return [t("span", [e._v(" " + e._s(e.milestone.text) + " ")])];
22112
22112
  })], 2), e.dot ? t("div", { class: e.milestoneClasses.milestoneDotContainer, style: e.dotContainerStyles }, [t("div", { class: e.milestoneClasses.milestoneDotLine, style: e.lineStyles }), t("div", { class: e.milestoneClasses.milestoneDotDot, style: e.dotStyles })]) : t("div", { class: e.milestoneClasses.milestoneLabel, style: e.labelStyles }, [e._t("label")], 2)]);
22113
- }, Dh = [], _h = /* @__PURE__ */ Be(
22113
+ }, Dh = [], _h = /* @__PURE__ */ Ne(
22114
22114
  Rh,
22115
22115
  Ch,
22116
22116
  Dh,
@@ -22156,7 +22156,7 @@ const Ih = _h.exports, G = {
22156
22156
  lineGraphDot: "line-graph-dot",
22157
22157
  curtain: "curtain",
22158
22158
  forbiddenInterval: "forbidden-interval"
22159
- }, _e = {
22159
+ }, Ue = {
22160
22160
  transparencyGradient: "transparency-gradient",
22161
22161
  transparencyGradientLight: "transparency-gradient-light",
22162
22162
  loadingGradient: "loading-gradient",
@@ -22258,14 +22258,6 @@ const Ih = _h.exports, G = {
22258
22258
  type: String,
22259
22259
  default: void 0
22260
22260
  },
22261
- minVisibleDate: {
22262
- type: String,
22263
- default: void 0
22264
- },
22265
- maxVisibleDate: {
22266
- type: String,
22267
- default: void 0
22268
- },
22269
22261
  cursorTimestamp: {
22270
22262
  type: [String, void 0],
22271
22263
  default: void 0
@@ -22317,6 +22309,14 @@ const Ih = _h.exports, G = {
22317
22309
  milestonesFirst: {
22318
22310
  type: Boolean,
22319
22311
  default: !0
22312
+ },
22313
+ forbiddenIntervals: {
22314
+ type: Array,
22315
+ default: () => []
22316
+ },
22317
+ forbiddenIntervalColor: {
22318
+ type: String,
22319
+ default: "#ddd"
22320
22320
  }
22321
22321
  },
22322
22322
  data() {
@@ -22553,12 +22553,6 @@ const Ih = _h.exports, G = {
22553
22553
  startDate() {
22554
22554
  this.zoomToStartAndEndDates();
22555
22555
  },
22556
- minDate() {
22557
- this.updateForbiddenIntervals();
22558
- },
22559
- maxDate() {
22560
- this.updateForbiddenIntervals();
22561
- },
22562
22556
  endDate() {
22563
22557
  this.zoomToStartAndEndDates();
22564
22558
  },
@@ -22578,6 +22572,9 @@ const Ih = _h.exports, G = {
22578
22572
  },
22579
22573
  groupsVisibility() {
22580
22574
  this.updateAndRedrawTimeline();
22575
+ },
22576
+ forbiddenIntervals() {
22577
+ this.updateForbiddenIntervals(!0);
22581
22578
  }
22582
22579
  },
22583
22580
  created() {
@@ -22600,7 +22597,7 @@ const Ih = _h.exports, G = {
22600
22597
  );
22601
22598
  return;
22602
22599
  }
22603
- this.initOrUpdateSvg(), this.initDefs(), this.initUtcOffset(), this.initTimeScale(s, e), this.initXAxes(), this.initYScale(), this.initZoomBehavior(), this.initForbiddenIntervals(), this.drawEventsGroups(), this.curtains && (this.initCurtains(), this.emitCurtainChange()), this.initSelectedTimestampCursor(), this.updateMarkers(), this.registerEventsListeners(), this.emitVisibleInterval(Pt.initial), this.selectedDate && this.panOnDateClick && this.panToTimestamp(this.selectedDate), this.isInitialized = !0;
22600
+ this.initOrUpdateSvg(), this.initDefs(), this.initUtcOffset(), this.initTimeScale(s, e), this.initXAxes(), this.initYScale(), this.initZoomBehavior(), this.drawEventsGroups(), this.curtains && (this.initCurtains(), this.emitCurtainChange()), this.initSelectedTimestampCursor(), this.updateMarkers(), this.registerEventsListeners(), this.emitVisibleInterval(Pt.initial), this.selectedDate && this.panOnDateClick && this.panToTimestamp(this.selectedDate), this.isInitialized = !0;
22604
22601
  },
22605
22602
  initRefs() {
22606
22603
  this.tooltip = this.$refs.tooltip, this.cursor = this.$refs.cursor, this.timeline = this.$refs.timelineContainer, this.selectedTimestampCursor = this.$refs.selectedTimestamp, this.wrapperDiv = this.$refs.wrapperDiv;
@@ -22612,17 +22609,17 @@ const Ih = _h.exports, G = {
22612
22609
  const s = this.svg.append("defs");
22613
22610
  Object.entries(this.filteredEventsGroups).forEach(
22614
22611
  ([t, i]) => {
22615
- const { color: r, chartType: n } = i, a = s.append("linearGradient").attr("id", `${_e.loadingGradient}-${t}`).attr("x1", "0%").attr("y1", "0%").attr("x2", "100%").attr("y2", "0%");
22612
+ const { color: r, chartType: n } = i, a = s.append("linearGradient").attr("id", `${Ue.loadingGradient}-${t}`).attr("x1", "0%").attr("y1", "0%").attr("x2", "100%").attr("y2", "0%");
22616
22613
  a.append("stop").attr("offset", "0%").attr("stop-color", r).attr("stop-opacity", "0"), a.append("stop").attr("offset", "50%").attr("stop-color", r).attr("stop-opacity", "0.6"), a.append("stop").attr("offset", "100%").attr("stop-color", r).attr("stop-opacity", "0"), [Ae.lineGraph, Ae.barChart].includes(
22617
22614
  n
22618
22615
  ) && [
22619
22616
  {
22620
- id: _e.transparencyGradientLight,
22617
+ id: Ue.transparencyGradientLight,
22621
22618
  stop: 38,
22622
22619
  opacity: 0.3
22623
22620
  },
22624
22621
  {
22625
- id: _e.transparencyGradient,
22622
+ id: Ue.transparencyGradient,
22626
22623
  stop: 130,
22627
22624
  opacity: 0.4
22628
22625
  }
@@ -22631,7 +22628,7 @@ const Ih = _h.exports, G = {
22631
22628
  h.append("stop").attr("offset", "0%").style("stop-color", r).style("stop-opacity", u), h.append("stop").attr("offset", `${c}%`).style("stop-color", r).style("stop-opacity", 0);
22632
22629
  });
22633
22630
  }
22634
- ), s.append("pattern").attr("id", _e.stripedPattern).attr("width", 6).attr("height", 4).attr("patternUnits", "userSpaceOnUse").attr("patternTransform", "rotate(45)").append("rect").attr("width", 2).attr("height", 6).attr("transform", "translate(0,0)").attr("fill", "#ddd");
22631
+ ), s.append("pattern").attr("id", Ue.stripedPattern).attr("width", 5).attr("height", 3).attr("patternUnits", "userSpaceOnUse").attr("patternTransform", "rotate(45)").append("rect").attr("width", 1).attr("height", 4).attr("transform", "translate(0,0)").attr("fill", this.forbiddenIntervalColor);
22635
22632
  },
22636
22633
  initUtcOffset() {
22637
22634
  const s = this.startDate || this.oldestEvent.timestamp || this.oldestEvent.startDate;
@@ -22864,7 +22861,7 @@ const Ih = _h.exports, G = {
22864
22861
  );
22865
22862
  },
22866
22863
  isZoomAllowed(s) {
22867
- const e = this.initialTimeScale.copy(), t = s.transform.rescaleX(e).domain(), i = this.minVisibleDate ? this.tzStringToDate(this.minVisibleDate) : void 0, r = this.maxVisibleDate ? this.tzStringToDate(this.maxVisibleDate) : void 0;
22864
+ const e = this.initialTimeScale.copy(), t = s.transform.rescaleX(e).domain(), i = this.minDate ? this.tzStringToDate(this.minDate) : void 0, r = this.maxDate ? this.tzStringToDate(this.maxDate) : void 0;
22868
22865
  return (!i || t[0] >= i) && (!r || t[1] <= r);
22869
22866
  },
22870
22867
  handleZoom(s) {
@@ -23011,7 +23008,7 @@ const Ih = _h.exports, G = {
23011
23008
  return parseInt(e.left);
23012
23009
  },
23013
23010
  isTimestampAllowedForMarker(s, e) {
23014
- return (this.minDate ? s >= this.tzStringToDate(this.minDate) : !0) && (this.maxDate ? s <= this.tzStringToDate(this.maxDate) : !0) && (e.minDate ? s >= this.tzStringToDate(e.minDate) : !0) && (e.maxDate ? s <= this.tzStringToDate(e.maxDate) : !0);
23011
+ return (e.minDate ? s >= this.tzStringToDate(e.minDate) : !0) && (e.maxDate ? s <= this.tzStringToDate(e.maxDate) : !0);
23015
23012
  },
23016
23013
  handleMarkerDrag({
23017
23014
  marker: s,
@@ -23088,25 +23085,17 @@ const Ih = _h.exports, G = {
23088
23085
  s - this.rightCurtainWidth + this.curtainHandleWidth
23089
23086
  ).attr("y", -this.curtainHandleWidth).attr("width", this.rightCurtainWidth + this.curtainHandleWidth * 2).attr("height", e + this.curtainHandleWidth * 2);
23090
23087
  },
23091
- initForbiddenIntervals() {
23092
- this.minDate && this.svg.append("rect").attr(
23093
- "class",
23094
- `${G.forbiddenInterval} ${G.forbiddenInterval}--min`
23095
- ), this.maxDate && this.svg.append("rect").attr(
23096
- "class",
23097
- `${G.forbiddenInterval} ${G.forbiddenInterval}--max`
23098
- ), this.updateForbiddenIntervals();
23099
- },
23100
- updateForbiddenIntervals() {
23101
- const s = this.minDate ? this.tzStringToDate(this.minDate).getTime() : null, e = this.maxDate ? this.tzStringToDate(this.maxDate).getTime() : null;
23102
- if (s) {
23103
- const t = this.timeScale(s);
23104
- this.svg.select(`.${G.forbiddenInterval}--min`).attr("x", 0).attr("y", 0).attr("width", t > 0 ? t : 0).attr("height", this.timelineHeight).attr("fill", `url(#${_e.stripedPattern})`);
23105
- }
23106
- if (e) {
23107
- const t = this.timeline.offsetWidth - this.timeScale(e), i = this.timeScale(e);
23108
- this.svg.select(`.${G.forbiddenInterval}--max`).attr("x", i > 0 ? i : 0).attr("y", 0).attr("width", t > 0 ? t : 0).attr("height", this.timelineHeight).attr("fill", `url(#${_e.stripedPattern})`);
23109
- }
23088
+ updateForbiddenIntervals(s = !1) {
23089
+ s && this.svg.selectAll(`.${G.forbiddenInterval}`).remove();
23090
+ const e = this.timeScale.domain();
23091
+ this.forbiddenIntervals.forEach((t, i) => {
23092
+ const r = t.startDate === -1 / 0 ? e[0] : this.tzStringToDate(t.startDate), n = t.endDate === 1 / 0 ? e[1] : this.tzStringToDate(t.endDate), a = this.timeScale(r), o = this.timeScale(n), l = Math.max(o - a, 0);
23093
+ let c = this.svg.select(`.${G.forbiddenInterval}-${i}`);
23094
+ c.empty() && (c = this.svg.append("rect").attr(
23095
+ "class",
23096
+ `${G.forbiddenInterval} ${G.forbiddenInterval}-${i}`
23097
+ ).attr("fill", `url(#${Ue.stripedPattern})`)), c.attr("x", a).attr("y", 0).attr("width", l).attr("height", this.timelineHeight);
23098
+ });
23110
23099
  },
23111
23100
  drawEventsGroups() {
23112
23101
  this.svg.selectAll(`g.${G.eventGroup}`).remove(), this.svg.selectAll(`.${G.barChartGroup}`).remove(), this.svg.selectAll(`.${G.lineGraphGroup}`).remove(), this.svg.selectAll(`.${G.lineGraphGroupLabel}`).remove(), this.svg.selectAll(`.${G.loadingIndicator}`).remove(), this.drawLineGraphEventsGroups(), this.drawBarEventsGroups(), this.drawBarChartEventsGroups(), this.drawMilestonesPlaceholder();
@@ -23158,7 +23147,7 @@ const Ih = _h.exports, G = {
23158
23147
  type: i
23159
23148
  }) {
23160
23149
  const r = I.area().x((a) => this.timeScale(this.tzStringToDate(a.timestamp))).y0(this.timelineHeight).y1((a) => this.yScale(a.count)).curve(I.curveMonotoneX), n = `clip-${i}`;
23161
- e.append("defs").append("clipPath").attr("id", n).append("rect").attr("width", this.timeline.offsetWidth).attr("height", this.chartHeight), e.append("path").datum(s).classed(`${G.lineGraphPath}-${i}`, !0).attr("fill", `url(#${_e.transparencyGradientLight}-${i})`).attr("stroke", t).attr("stroke-linejoin", "round").attr("stroke-linecap", "round").attr("stroke-width", 1).attr("d", (a) => r(a)).attr("clip-path", `url(#${n})`);
23150
+ e.append("defs").append("clipPath").attr("id", n).append("rect").attr("width", this.timeline.offsetWidth).attr("height", this.chartHeight), e.append("path").datum(s).classed(`${G.lineGraphPath}-${i}`, !0).attr("fill", `url(#${Ue.transparencyGradientLight}-${i})`).attr("stroke", t).attr("stroke-linejoin", "round").attr("stroke-linecap", "round").attr("stroke-width", 1).attr("d", (a) => r(a)).attr("clip-path", `url(#${n})`);
23162
23151
  },
23163
23152
  drawLineGraphHoverZones({
23164
23153
  events: s,
@@ -23353,7 +23342,7 @@ const Ih = _h.exports, G = {
23353
23342
  this.svg.append("rect").classed(
23354
23343
  `${G.loadingIndicator} ${G.loadingIndicator}-${e}`,
23355
23344
  !0
23356
- ).attr("x", 0).attr("y", s).attr("width", this.timeline.offsetWidth / 3).attr("height", this.barChartHeight).attr("fill", `url(#${_e.loadingGradient}-${e})`).style("visibility", t ? "visible" : "hidden");
23345
+ ).attr("x", 0).attr("y", s).attr("width", this.timeline.offsetWidth / 3).attr("height", this.barChartHeight).attr("fill", `url(#${Ue.loadingGradient}-${e})`).style("visibility", t ? "visible" : "hidden");
23357
23346
  },
23358
23347
  drawBackground({
23359
23348
  color: s,
@@ -23409,7 +23398,7 @@ const Ih = _h.exports, G = {
23409
23398
  ).attr("x", u).attr("y", -i).attr("width", l).attr("height", this.yScale.range()[0] + i).attr("fill", (f) => f.color || t).attr("fill-opacity", 0), d.append("rect").attr(
23410
23399
  "class",
23411
23400
  (f) => G.eventBar + (f.className ? ` ${f.className}` : "")
23412
- ).attr("x", u).attr("y", h).attr("width", l).attr("height", c).attr("stroke-width", 5).attr("cursor", "pointer").attr("stroke", "#0000").attr("fill", `url(#${_e.transparencyGradient}-${r})`), d.append("rect").attr(
23401
+ ).attr("x", u).attr("y", h).attr("width", l).attr("height", c).attr("stroke-width", 5).attr("cursor", "pointer").attr("stroke", "#0000").attr("fill", `url(#${Ue.transparencyGradient}-${r})`), d.append("rect").attr(
23413
23402
  "class",
23414
23403
  (f) => G.eventBarCap + (f.className ? ` ${f.className}` : "")
23415
23404
  ).attr("x", u).attr("y", h).attr("width", l).attr("height", 2).attr("stroke-width", 0).style("fill", (f) => f.color || t), d.on("mouseover", function(f, m) {
@@ -23430,7 +23419,7 @@ const Ih = _h.exports, G = {
23430
23419
  onBarChartBarMouseOut(s, e) {
23431
23420
  s.classed(G.eventBarContainerHovered, !1), s.selectAll(`.${G.eventBarHoverZone}`).attr("fill-opacity", 0);
23432
23421
  const i = s.selectAll(`.${G.eventBar}`);
23433
- i.attr("fill", `url(#${_e.transparencyGradient}-${e})`), i.attr("fill-opacity", 1);
23422
+ i.attr("fill", `url(#${Ue.transparencyGradient}-${e})`), i.attr("fill-opacity", 1);
23434
23423
  },
23435
23424
  drawTextLabel({
23436
23425
  gElement: s,
@@ -23602,7 +23591,7 @@ var kh = function() {
23602
23591
  return t("div", { key: r }, [t("strong", [e._v(e._s(i.type) + " Count")]), e._v(": " + e._s(i.count) + " ")]);
23603
23592
  })], 2) : e.hoveredEvent ? t("div", [e.hoveredEvent.timestamp ? t("div", [t("strong", [e._v("Event time")]), e._v(": " + e._s(e.hoveredEvent.timestamp) + " ")]) : e._e(), e.hoveredEvent.startDate ? t("div", [t("strong", [e._v("From")]), e._v(":" + e._s(e.hoveredEvent.startDate) + " ")]) : e._e(), e.hoveredEvent.endDate ? t("div", [t("strong", [e._v("To")]), e._v(":" + e._s(e.hoveredEvent.endDate) + " ")]) : e._e()]) : e._e()]) : e._e()];
23604
23593
  }, { event: e.hoveredEvent, counts: e.hoveredCounts, active: e.isHoveringEvent && !e.isInteractingWithCurtain, type: e.hoveredEventType })], 2)], 2);
23605
- }, Ph = [], Oh = /* @__PURE__ */ Be(
23594
+ }, Ph = [], Oh = /* @__PURE__ */ Ne(
23606
23595
  wh,
23607
23596
  kh,
23608
23597
  Ph,
@@ -23669,7 +23658,7 @@ const Fh = Oh.exports, Mh = {
23669
23658
  var Nh = function() {
23670
23659
  var e = this, t = e._self._c;
23671
23660
  return t("div", { staticClass: "video-embed" }, [t("iframe", e._g(e._b({ attrs: { src: e.embedUrl, frameborder: "0", allowfullscreen: "", width: "100%", height: "100%", allow: "autoplay; fullscreen; picture-in-picture" } }, "iframe", e.iframeOptions, !1), e.iframeListeners))]);
23672
- }, Bh = [], $h = /* @__PURE__ */ Be(
23661
+ }, Bh = [], $h = /* @__PURE__ */ Ne(
23673
23662
  Mh,
23674
23663
  Nh,
23675
23664
  Bh,