@evercam/ui 0.0.55-beta.17 → 0.0.55-beta.18

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
@@ -52,7 +52,7 @@ const ga = De.extend({
52
52
  }
53
53
  }
54
54
  });
55
- function Ae(s, e, t, i, r, n, a, o) {
55
+ function Te(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 Ae(s, e, t, i, r, n, a, o) {
84
84
  var pa = 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
- }, ya = [], va = /* @__PURE__ */ Ae(
87
+ }, ya = [], va = /* @__PURE__ */ Te(
88
88
  ga,
89
89
  pa,
90
90
  ya,
@@ -153,7 +153,7 @@ var Ta = 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
- }, Ea = [], Sa = /* @__PURE__ */ Ae(
156
+ }, Ea = [], Sa = /* @__PURE__ */ Te(
157
157
  xa,
158
158
  Ta,
159
159
  Ea,
@@ -3916,14 +3916,14 @@ const _a = {
3916
3916
  pattern: /e-content-(around|baseline|between|center|end|evenly|normal|start|stretch)/
3917
3917
  }
3918
3918
  ]
3919
- }, tn = Ca(Ia), wa = tn.theme.fontSize, ka = tn.theme.colors, Jh = [
3919
+ }, tn = Ca(Ia), wa = tn.theme.fontSize, ka = tn.theme.colors, rd = [
3920
3920
  Y.dot,
3921
3921
  Y.xs,
3922
3922
  Y.sm,
3923
3923
  Y.md,
3924
3924
  Y.lg,
3925
3925
  Y.xl
3926
- ], ed = [
3926
+ ], nd = [
3927
3927
  Y.xs,
3928
3928
  Y.sm,
3929
3929
  Y.md,
@@ -3945,14 +3945,14 @@ const _a = {
3945
3945
  Y["7xl"],
3946
3946
  Y["8xl"],
3947
3947
  Y["9xl"]
3948
- ], td = [
3948
+ ], ad = [
3949
3949
  ge.warning,
3950
3950
  ge.error,
3951
3951
  ge.info,
3952
3952
  ge.success,
3953
3953
  ge.primary,
3954
3954
  ge.default
3955
- ], id = [
3955
+ ], od = [
3956
3956
  "play",
3957
3957
  "pause",
3958
3958
  "ended",
@@ -4001,7 +4001,7 @@ const _a = {
4001
4001
  var Fa = function() {
4002
4002
  var e = this, t = e._self._c;
4003
4003
  return t("div", { staticClass: "e-icon" }, [t("i", { class: e.iconClasses })]);
4004
- }, Ma = [], Na = /* @__PURE__ */ Ae(
4004
+ }, Ma = [], Na = /* @__PURE__ */ Te(
4005
4005
  Oa,
4006
4006
  Fa,
4007
4007
  Ma,
@@ -4079,7 +4079,7 @@ var Ua = 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
- }, Ga = [], Ha = /* @__PURE__ */ Ae(
4082
+ }, Ga = [], Ha = /* @__PURE__ */ Te(
4083
4083
  $a,
4084
4084
  Ua,
4085
4085
  Ga,
@@ -4152,7 +4152,7 @@ const sn = Ha.exports, Va = De.extend({
4152
4152
  var Ka = 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
- }, Wa = [], za = /* @__PURE__ */ Ae(
4155
+ }, Wa = [], za = /* @__PURE__ */ Te(
4156
4156
  Va,
4157
4157
  Ka,
4158
4158
  Wa,
@@ -4269,7 +4269,7 @@ const Ya = za.exports, ja = De.extend({
4269
4269
  var qa = 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
- }, Xa = [], Za = /* @__PURE__ */ Ae(
4272
+ }, Xa = [], Za = /* @__PURE__ */ Te(
4273
4273
  ja,
4274
4274
  qa,
4275
4275
  Xa,
@@ -5401,7 +5401,7 @@ function Bo(s) {
5401
5401
  const i = t[t.length - 1];
5402
5402
  return e.valid = Qe(s, 0, i.byteOffset - 8), e.remainder = Qe(s, i.byteOffset - 8), e;
5403
5403
  }
5404
- function be(s, e) {
5404
+ function Ae(s, e) {
5405
5405
  const t = new Uint8Array(s.length + e.length);
5406
5406
  return t.set(s), t.set(e, s.length), t;
5407
5407
  }
@@ -5442,8 +5442,8 @@ function As(s, e) {
5442
5442
  for (; ce < F; ) {
5443
5443
  const fe = z(i, ee);
5444
5444
  if (ee += 4, Uo(a, i[ee])) {
5445
- const Te = i.subarray(ee, ee + fe);
5446
- yn(Te, a ? 2 : 1, s + M / r, t);
5445
+ const Ee = i.subarray(ee, ee + fe);
5446
+ yn(Ee, a ? 2 : 1, s + M / r, t);
5447
5447
  }
5448
5448
  ee += fe, ce += fe + 4;
5449
5449
  }
@@ -8428,8 +8428,8 @@ class Pl {
8428
8428
  if (!this.hls)
8429
8429
  return;
8430
8430
  U.supportedResult = ce;
8431
- const fe = this.hls.levels, Te = fe.indexOf(U);
8432
- ce.error ? S.warn(`[abr] MediaCapabilities decodingInfo error: "${ce.error}" for level ${Te} ${JSON.stringify(ce)}`) : ce.supported || (S.warn(`[abr] Unsupported MediaCapabilities decodingInfo result for level ${Te} ${JSON.stringify(ce)}`), Te > -1 && fe.length > 1 && (S.log(`[abr] Removing unsupported level ${Te}`), this.hls.removeLevel(Te)));
8431
+ const fe = this.hls.levels, Ee = fe.indexOf(U);
8432
+ ce.error ? S.warn(`[abr] MediaCapabilities decodingInfo error: "${ce.error}" for level ${Ee} ${JSON.stringify(ce)}`) : ce.supported || (S.warn(`[abr] Unsupported MediaCapabilities decodingInfo result for level ${Ee} ${JSON.stringify(ce)}`), Ee > -1 && fe.length > 1 && (S.log(`[abr] Removing unsupported level ${Ee}`), this.hls.removeLevel(Ee)));
8433
8433
  })) : U.supportedResult = _n;
8434
8434
  }
8435
8435
  if (E && U.codecSet !== E || k && U.videoRange !== k || F && R > U.frameRate || !F && R > 0 && R < U.frameRate || U.supportedResult && !(($ = U.supportedResult.decodingInfoResults) != null && $[0].smooth)) {
@@ -9295,7 +9295,7 @@ class os {
9295
9295
  currentResult: n,
9296
9296
  remainderData: a
9297
9297
  } = this;
9298
- this.logOnce("JS AES decrypt"), a && (e = be(a, e), this.remainderData = null);
9298
+ this.logOnce("JS AES decrypt"), a && (e = Ae(a, e), this.remainderData = null);
9299
9299
  const o = this.getValidChunk(e);
9300
9300
  if (!o.length)
9301
9301
  return null;
@@ -9686,7 +9686,7 @@ class ls extends Ol {
9686
9686
  data2: l
9687
9687
  } = e;
9688
9688
  let c = o;
9689
- if (o && l && (c = be(o, l)), !((a = c) != null && a.length))
9689
+ if (o && l && (c = Ae(o, l)), !((a = c) != null && a.length))
9690
9690
  return;
9691
9691
  const u = {
9692
9692
  type: e.type,
@@ -10122,7 +10122,7 @@ class cs {
10122
10122
  }
10123
10123
  // feed incoming data to the front of the parsing pipeline
10124
10124
  demux(e, t) {
10125
- this.cachedData && (e = be(this.cachedData, e), this.cachedData = null);
10125
+ this.cachedData && (e = Ae(this.cachedData, e), this.cachedData = null);
10126
10126
  let i = xt(e, 0), r = i ? i.length : 0, n;
10127
10127
  const a = this._audioTrack, o = this._id3Track, l = i ? ss(i) : void 0, c = e.length;
10128
10128
  for ((this.basePTS === null || this.frameIndex === 0 && W(l)) && (this.basePTS = Ql(l, t, this.initPTS), this.lastPTS = this.basePTS), this.lastPTS === null && (this.lastPTS = this.basePTS), i && i.length > 0 && o.samples.push({
@@ -10145,7 +10145,7 @@ class cs {
10145
10145
  }), r += i.length, n = r) : r++;
10146
10146
  if (r === c && n !== c) {
10147
10147
  const u = Qe(e, n);
10148
- this.cachedData ? this.cachedData = be(this.cachedData, u) : this.cachedData = u;
10148
+ this.cachedData ? this.cachedData = Ae(this.cachedData, u) : this.cachedData = u;
10149
10149
  }
10150
10150
  }
10151
10151
  return {
@@ -10473,7 +10473,7 @@ class hc {
10473
10473
  let i = e;
10474
10474
  const r = this.videoTrack, n = this.txtTrack;
10475
10475
  if (this.config.progressive) {
10476
- this.remainderData && (i = be(this.remainderData, e));
10476
+ this.remainderData && (i = Ae(this.remainderData, e));
10477
10477
  const o = Bo(i);
10478
10478
  this.remainderData = o.remainder, r.samples = o.valid || new Uint8Array();
10479
10479
  } else
@@ -10903,7 +10903,7 @@ class mc extends fc {
10903
10903
  a.push(f);
10904
10904
  } else {
10905
10905
  const f = this.getLastNalUnit(e.samples);
10906
- f && (n && o <= 4 - n && f.state && (f.data = f.data.subarray(0, f.data.byteLength - n)), c > 0 && (f.data = be(f.data, t.subarray(0, c)), f.state = 0));
10906
+ f && (n && o <= 4 - n && f.state && (f.data = f.data.subarray(0, f.data.byteLength - n)), c > 0 && (f.data = Ae(f.data, t.subarray(0, c)), f.state = 0));
10907
10907
  }
10908
10908
  o < i ? (u = t[o] & 31, h = o, d = u, r = 0) : r = -1;
10909
10909
  } else
@@ -10919,7 +10919,7 @@ class mc extends fc {
10919
10919
  }
10920
10920
  if (a.length === 0) {
10921
10921
  const f = this.getLastNalUnit(e.samples);
10922
- f && (f.data = be(f.data, t));
10922
+ f && (f.data = Ae(f.data, t));
10923
10923
  }
10924
10924
  return e.naluState = r, a;
10925
10925
  }
@@ -11057,7 +11057,7 @@ class ze {
11057
11057
  let n;
11058
11058
  const a = this._videoTrack, o = this._audioTrack, l = this._id3Track, c = this._txtTrack;
11059
11059
  let u = a.pid, h = a.pesData, d = o.pid, f = l.pid, m = o.pesData, g = l.pesData, y = null, v = this.pmtParsed, T = this._pmtId, x = e.length;
11060
- if (this.remainderData && (e = be(this.remainderData, e), x = e.length, this.remainderData = null), x < ue && !r)
11060
+ if (this.remainderData && (e = Ae(this.remainderData, e), x = e.length, this.remainderData = null), x < ue && !r)
11061
11061
  return this.remainderData = e, {
11062
11062
  audioTrack: o,
11063
11063
  videoTrack: a,
@@ -11215,7 +11215,7 @@ class ze {
11215
11215
  this.aacOverFlow = null;
11216
11216
  const h = r.missing, d = r.sample.unit.byteLength;
11217
11217
  if (h === -1)
11218
- n = be(r.sample.unit, n);
11218
+ n = Ae(r.sample.unit, n);
11219
11219
  else {
11220
11220
  const f = d - h;
11221
11221
  r.sample.unit.set(n.subarray(0, h), f), e.samples.push(r.sample), i = r.missing;
@@ -11385,7 +11385,7 @@ function it(s) {
11385
11385
  if (!s || s.size === 0)
11386
11386
  return null;
11387
11387
  for (; o[0].length < 19 && o.length > 1; )
11388
- o[0] = be(o[0], o[1]), o.splice(1, 1);
11388
+ o[0] = Ae(o[0], o[1]), o.splice(1, 1);
11389
11389
  if (t = o[0], (t[0] << 16) + (t[1] << 8) + t[2] === 1) {
11390
11390
  if (i = (t[4] << 8) + t[5], i && i > s.size - 6)
11391
11391
  return null;
@@ -12477,7 +12477,7 @@ class A {
12477
12477
  static initSegment(e) {
12478
12478
  A.types || A.init();
12479
12479
  const t = A.moov(e);
12480
- return be(A.FTYP, t);
12480
+ return Ae(A.FTYP, t);
12481
12481
  }
12482
12482
  }
12483
12483
  A.types = void 0;
@@ -12534,7 +12534,7 @@ class Mt {
12534
12534
  let t = !1;
12535
12535
  const i = e.reduce((r, n) => {
12536
12536
  const a = n.pts - r;
12537
- return a < -4294967296 ? (t = !0, Se(r, n.pts)) : a > 0 ? r : n.pts;
12537
+ return a < -4294967296 ? (t = !0, be(r, n.pts)) : a > 0 ? r : n.pts;
12538
12538
  }, e[0].pts);
12539
12539
  return t && S.debug("PTS rollover detected"), i;
12540
12540
  }
@@ -12559,7 +12559,7 @@ class Mt {
12559
12559
  P === -1 && (S.warn(`[mp4-remuxer]: No keyframe found out of ${x} video samples`), m = !1);
12560
12560
  if (this.ISGenerated) {
12561
12561
  if (L && E) {
12562
- const $ = this.getVideoStartPts(t.samples), U = (Se(e.samples[0].pts, $) - $) / t.inputTimeScale;
12562
+ const $ = this.getVideoStartPts(t.samples), U = (be(e.samples[0].pts, $) - $) / t.inputTimeScale;
12563
12563
  g += Math.max(0, U), y += Math.max(0, -U);
12564
12564
  }
12565
12565
  if (L) {
@@ -12616,7 +12616,7 @@ class Mt {
12616
12616
  }, u)
12617
12617
  if (m = t.inputTimeScale, !c || m !== c.timescale) {
12618
12618
  const g = this.getVideoStartPts(a), y = Math.round(m * i);
12619
- f = Math.min(f, Se(a[0].dts, g) - y), d = Math.min(d, g - y);
12619
+ f = Math.min(f, be(a[0].dts, g) - y), d = Math.min(d, g - y);
12620
12620
  } else
12621
12621
  u = !1;
12622
12622
  this.videoTrackConfig = {
@@ -12642,13 +12642,13 @@ class Mt {
12642
12642
  const n = e.inputTimeScale, a = e.samples, o = [], l = a.length, c = this._initPTS;
12643
12643
  let u = this.nextAvcDts, h = 8, d = this.videoSampleDuration, f, m, g = Number.POSITIVE_INFINITY, y = Number.NEGATIVE_INFINITY, v = !1;
12644
12644
  if (!i || u === null) {
12645
- const H = t * n, M = a[0].pts - Se(a[0].dts, a[0].pts);
12645
+ const H = t * n, M = a[0].pts - be(a[0].dts, a[0].pts);
12646
12646
  st && u !== null && Math.abs(H - M - u) < 15e3 ? i = !0 : u = H - M;
12647
12647
  }
12648
12648
  const T = c.baseTime * n / c.timescale;
12649
12649
  for (let H = 0; H < l; H++) {
12650
12650
  const M = a[H];
12651
- M.pts = Se(M.pts - T, u), M.dts = Se(M.dts - T, u), M.dts < a[H > 0 ? H - 1 : H].dts && (v = !0);
12651
+ M.pts = be(M.pts - T, u), M.dts = be(M.dts - T, u), M.dts < a[H > 0 ? H - 1 : H].dts && (v = !0);
12652
12652
  }
12653
12653
  v && a.sort(function(H, M) {
12654
12654
  const Q = H.dts - M.dts, Z = H.pts - M.pts;
@@ -12700,7 +12700,7 @@ class Mt {
12700
12700
  const M = a[H], Q = M.units;
12701
12701
  let Z = 0;
12702
12702
  for (let ce = 0, fe = Q.length; ce < fe; ce++) {
12703
- const Te = Q[ce], ft = Te.data, si = Te.data.byteLength;
12703
+ const Ee = Q[ce], ft = Ee.data, si = Ee.data.byteLength;
12704
12704
  b.setUint32(h, si), h += 4, C.set(ft, h), h += si, Z += 4 + si;
12705
12705
  }
12706
12706
  let ee;
@@ -12709,8 +12709,8 @@ class Mt {
12709
12709
  else {
12710
12710
  const ce = this.config, fe = H > 0 ? M.dts - a[H - 1].dts : L;
12711
12711
  if (ee = H > 0 ? M.pts - a[H - 1].pts : L, ce.stretchShortVideoTrack && this.nextAudioPts !== null) {
12712
- const Te = Math.floor(ce.maxBufferHole * n), ft = (r ? g + r * n : this.nextAudioPts) - M.pts;
12713
- ft > Te ? (d = ft - fe, d < 0 ? d = fe : _ = !0, S.log(`[mp4-remuxer]: It is approximately ${ft / 90} ms to the next segment; using duration ${d / 90} ms for the last video frame.`)) : d = fe;
12712
+ const Ee = Math.floor(ce.maxBufferHole * n), ft = (r ? g + r * n : this.nextAudioPts) - M.pts;
12713
+ ft > Ee ? (d = ft - fe, d < 0 ? d = fe : _ = !0, S.log(`[mp4-remuxer]: It is approximately ${ft / 90} ms to the next segment; using duration ${d / 90} ms for the last video frame.`)) : d = fe;
12714
12714
  } else
12715
12715
  d = fe;
12716
12716
  }
@@ -12769,8 +12769,8 @@ class Mt {
12769
12769
  const a = e.inputTimeScale, o = e.samplerate ? e.samplerate : a, l = a / o, c = this.getSamplesPerFrame(e), u = c * l, h = this._initPTS, d = e.segmentCodec === "mp3" && this.typeSupported.mpeg, f = [], m = n !== void 0;
12770
12770
  let g = e.samples, y = d ? 0 : 8, v = this.nextAudioPts || -1;
12771
12771
  const T = t * a, x = h.baseTime * a / h.timescale;
12772
- if (this.isAudioContiguous = i = i || g.length && v > 0 && (r && Math.abs(T - v) < 9e3 || Math.abs(Se(g[0].pts - x, T) - v) < 20 * u), g.forEach(function(U) {
12773
- U.pts = Se(U.pts - x, T);
12772
+ if (this.isAudioContiguous = i = i || g.length && v > 0 && (r && Math.abs(T - v) < 9e3 || Math.abs(be(g[0].pts - x, T) - v) < 20 * u), g.forEach(function(U) {
12773
+ U.pts = be(U.pts - x, T);
12774
12774
  }), !i || v < 0) {
12775
12775
  if (g = g.filter((U) => U.pts >= 0), !g.length)
12776
12776
  return;
@@ -12869,7 +12869,7 @@ class Mt {
12869
12869
  return e.samples = y, this.remuxAudio(e, t, i, !1);
12870
12870
  }
12871
12871
  }
12872
- function Se(s, e) {
12872
+ function be(s, e) {
12873
12873
  let t;
12874
12874
  if (e === null)
12875
12875
  return s;
@@ -12890,7 +12890,7 @@ function Vn(s, e, t, i) {
12890
12890
  const n = s.inputTimeScale;
12891
12891
  for (let o = 0; o < r; o++) {
12892
12892
  const l = s.samples[o];
12893
- l.pts = Se(l.pts - t.baseTime * n / t.timescale, e * n) / n, l.dts = Se(l.dts - i.baseTime * n / i.timescale, e * n) / n;
12893
+ l.pts = be(l.pts - t.baseTime * n / t.timescale, e * n) / n, l.dts = be(l.dts - i.baseTime * n / i.timescale, e * n) / n;
12894
12894
  }
12895
12895
  const a = s.samples;
12896
12896
  return s.samples = [], {
@@ -12904,7 +12904,7 @@ function Kn(s, e, t) {
12904
12904
  const r = s.inputTimeScale;
12905
12905
  for (let a = 0; a < i; a++) {
12906
12906
  const o = s.samples[a];
12907
- o.pts = Se(o.pts - t.baseTime * r / t.timescale, e * r) / r;
12907
+ o.pts = be(o.pts - t.baseTime * r / t.timescale, e * r) / r;
12908
12908
  }
12909
12909
  s.samples.sort((a, o) => a.pts - o.pts);
12910
12910
  const n = s.samples;
@@ -16589,7 +16589,7 @@ function eu(s, e, t, i, r, n, a) {
16589
16589
  }
16590
16590
  T = x - t.presentationOffset;
16591
16591
  }
16592
- const L = y.endTime - y.startTime, E = Se((y.startTime + T - f) * 9e4, r * 9e4) / 9e4;
16592
+ const L = y.endTime - y.startTime, E = be((y.startTime + T - f) * 9e4, r * 9e4) / 9e4;
16593
16593
  y.startTime = Math.max(E, 0), y.endTime = Math.max(E + L, 0);
16594
16594
  const k = y.text.trim();
16595
16595
  y.text = decodeURIComponent(encodeURIComponent(k)), y.id || (y.id = gs(y.startTime, y.endTime, k)), y.endTime > 0 && c.push(y);
@@ -17024,7 +17024,7 @@ class au {
17024
17024
  a.push(e);
17025
17025
  return;
17026
17026
  }
17027
- const l = this.hls, c = (t = i.initSegment) != null && t.data ? be(i.initSegment.data, new Uint8Array(r)) : r;
17027
+ const l = this.hls, c = (t = i.initSegment) != null && t.data ? Ae(i.initSegment.data, new Uint8Array(r)) : r;
17028
17028
  eu(c, this.initPTS[i.cc], this.vttCCs, i.cc, i.start, (u) => {
17029
17029
  this._appendCues(u, i.level), l.trigger(p.SUBTITLE_FRAG_PROCESSED, {
17030
17030
  success: !0,
@@ -17376,7 +17376,7 @@ class ot {
17376
17376
  keySystem: u,
17377
17377
  mediaKeys: h
17378
17378
  })).catch((h) => {
17379
- c.length ? l(c) : h instanceof Ee ? o(h) : o(new Ee({
17379
+ c.length ? l(c) : h instanceof Se ? o(h) : o(new Se({
17380
17380
  type: q.KEY_SYSTEM_ERROR,
17381
17381
  details: D.KEY_SYSTEM_NO_ACCESS,
17382
17382
  error: h,
@@ -17491,7 +17491,7 @@ class ot {
17491
17491
  throw new Error("invalid state");
17492
17492
  }
17493
17493
  handleError(e) {
17494
- this.hls && (this.error(e.message), e instanceof Ee ? this.hls.trigger(p.ERROR, e.data) : this.hls.trigger(p.ERROR, {
17494
+ this.hls && (this.error(e.message), e instanceof Se ? this.hls.trigger(p.ERROR, e.data) : this.hls.trigger(p.ERROR, {
17495
17495
  type: q.KEY_SYSTEM_ERROR,
17496
17496
  details: D.KEY_SYSTEM_NO_KEYS,
17497
17497
  error: e,
@@ -17508,7 +17508,7 @@ class ot {
17508
17508
  }
17509
17509
  getKeySystemSelectionPromise(e) {
17510
17510
  if (e.length || (e = oi(this.config)), e.length === 0)
17511
- throw new Ee({
17511
+ throw new Se({
17512
17512
  type: q.KEY_SYSTEM_ERROR,
17513
17513
  details: D.KEY_SYSTEM_NO_CONFIGURED_LICENSE,
17514
17514
  fatal: !0
@@ -17635,11 +17635,11 @@ class ot {
17635
17635
  e.mediaKeysSession.addEventListener("message", h), e.mediaKeysSession.addEventListener("keystatuseschange", d);
17636
17636
  const f = new Promise((m, g) => {
17637
17637
  u.on("error", g), u.on("keyStatus", (y) => {
17638
- y.startsWith("usable") ? m() : y === "output-restricted" ? g(new Ee({
17638
+ y.startsWith("usable") ? m() : y === "output-restricted" ? g(new Se({
17639
17639
  type: q.KEY_SYSTEM_ERROR,
17640
17640
  details: D.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED,
17641
17641
  fatal: !1
17642
- }, "HDCP level output restricted")) : y === "internal-error" ? g(new Ee({
17642
+ }, "HDCP level output restricted")) : y === "internal-error" ? g(new Se({
17643
17643
  type: q.KEY_SYSTEM_ERROR,
17644
17644
  details: D.KEY_SYSTEM_STATUS_INTERNAL_ERROR,
17645
17645
  fatal: !0
@@ -17650,7 +17650,7 @@ class ot {
17650
17650
  var m;
17651
17651
  this.log(`Request generated for key-session "${(m = e.mediaKeysSession) == null ? void 0 : m.sessionId}" keyId: ${c}`);
17652
17652
  }).catch((m) => {
17653
- throw new Ee({
17653
+ throw new Se({
17654
17654
  type: q.KEY_SYSTEM_ERROR,
17655
17655
  details: D.KEY_SYSTEM_NO_SESSION,
17656
17656
  error: m,
@@ -17682,7 +17682,7 @@ class ot {
17682
17682
  a(d.data);
17683
17683
  },
17684
17684
  onError: (d, f, m, g) => {
17685
- o(new Ee({
17685
+ o(new Se({
17686
17686
  type: q.KEY_SYSTEM_ERROR,
17687
17687
  details: D.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,
17688
17688
  fatal: !0,
@@ -17694,7 +17694,7 @@ class ot {
17694
17694
  }, `"${e}" certificate request failed (${n}). Status: ${d.code} (${d.text})`));
17695
17695
  },
17696
17696
  onTimeout: (d, f, m) => {
17697
- o(new Ee({
17697
+ o(new Se({
17698
17698
  type: q.KEY_SYSTEM_ERROR,
17699
17699
  details: D.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,
17700
17700
  fatal: !0,
@@ -17717,7 +17717,7 @@ class ot {
17717
17717
  e.setServerCertificate(i).then((a) => {
17718
17718
  this.log(`setServerCertificate ${a ? "success" : "not supported by CDM"} (${i == null ? void 0 : i.byteLength}) on "${t}"`), r(e);
17719
17719
  }).catch((a) => {
17720
- n(new Ee({
17720
+ n(new Se({
17721
17721
  type: q.KEY_SYSTEM_ERROR,
17722
17722
  details: D.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED,
17723
17723
  error: a,
@@ -17728,7 +17728,7 @@ class ot {
17728
17728
  }
17729
17729
  renewLicense(e, t) {
17730
17730
  return this.requestLicense(e, new Uint8Array(t)).then((i) => this.updateKeySession(e, new Uint8Array(i)).catch((r) => {
17731
- throw new Ee({
17731
+ throw new Se({
17732
17732
  type: q.KEY_SYSTEM_ERROR,
17733
17733
  details: D.KEY_SYSTEM_SESSION_UPDATE_FAILED,
17734
17734
  error: r,
@@ -17798,7 +17798,7 @@ class ot {
17798
17798
  } else {
17799
17799
  const l = i.errorRetry, c = l ? l.maxNumRetry : 0;
17800
17800
  if (this._requestLicenseFailureCount++, this._requestLicenseFailureCount > c || o.status >= 400 && o.status < 500)
17801
- n(new Ee({
17801
+ n(new Se({
17802
17802
  type: q.KEY_SYSTEM_ERROR,
17803
17803
  details: D.KEY_SYSTEM_LICENSE_REQUEST_FAILED,
17804
17804
  fatal: !0,
@@ -17869,7 +17869,7 @@ class ot {
17869
17869
  }
17870
17870
  }
17871
17871
  ot.CDMCleanupPromise = void 0;
17872
- class Ee extends Error {
17872
+ class Se extends Error {
17873
17873
  constructor(e, t) {
17874
17874
  super(t), this.data = void 0, e.error || (e.error = new Error(t)), this.data = e, e.err = e.error;
17875
17875
  }
@@ -21452,7 +21452,7 @@ var Eh = function() {
21452
21452
  }, Sh = [function() {
21453
21453
  var s = this, e = s._self._c;
21454
21454
  return e("div", { staticClass: "timeline" }, [e("div", { staticClass: "thumb-indicator" })]);
21455
- }], bh = /* @__PURE__ */ Ae(
21455
+ }], bh = /* @__PURE__ */ Te(
21456
21456
  Th,
21457
21457
  Eh,
21458
21458
  Sh,
@@ -22110,7 +22110,7 @@ var _h = 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 = [], Ih = /* @__PURE__ */ Ae(
22113
+ }, Dh = [], Ih = /* @__PURE__ */ Te(
22114
22114
  Ch,
22115
22115
  _h,
22116
22116
  Dh,
@@ -23624,7 +23624,7 @@ var Ph = function() {
23624
23624
  return t("div", { key: r }, [t("strong", [e._v(e._s(i.type) + " Count")]), e._v(": " + e._s(i.count) + " ")]);
23625
23625
  })], 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()];
23626
23626
  }, { event: e.hoveredEvent, counts: e.hoveredCounts, active: e.isHoveringEvent && !e.isInteractingWithCurtain, type: e.hoveredEventType })], 2)], 2);
23627
- }, Oh = [], Fh = /* @__PURE__ */ Ae(
23627
+ }, Oh = [], Fh = /* @__PURE__ */ Te(
23628
23628
  kh,
23629
23629
  Ph,
23630
23630
  Oh,
@@ -23691,7 +23691,7 @@ const Mh = Fh.exports, Nh = {
23691
23691
  var Bh = function() {
23692
23692
  var e = this, t = e._self._c;
23693
23693
  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))]);
23694
- }, $h = [], Uh = /* @__PURE__ */ Ae(
23694
+ }, $h = [], Uh = /* @__PURE__ */ Te(
23695
23695
  Nh,
23696
23696
  Bh,
23697
23697
  $h,
@@ -23768,7 +23768,7 @@ var Vh = function() {
23768
23768
  "e-heatmap-bar__item__count--light": e.getColorIndex(n) <= 2
23769
23769
  } }, [e._v(" " + e._s(n > 0 ? n : "") + " ")]) : e._e(), e.showNames ? t("span", { staticClass: "e-heatmap-bar__item__name e-text-xs e-text-black e-truncate" }, [e._v(" " + e._s(i) + " ")]) : e._e()]);
23770
23770
  })], 2);
23771
- }, Kh = [], Wh = /* @__PURE__ */ Ae(
23771
+ }, Kh = [], Wh = /* @__PURE__ */ Te(
23772
23772
  Hh,
23773
23773
  Vh,
23774
23774
  Kh,
@@ -23841,7 +23841,7 @@ var Yh = function() {
23841
23841
  return e._self._setupProxy, t("EHeatmapBar", e._g({ attrs: { items: e.heatmapBarItems, "selected-value": e.selectedHour, "show-names": e.showHours, colors: e.colors, label: e.label, dense: e.dense }, scopedSlots: e._u([{ key: "label", fn: function() {
23842
23842
  return [e._t("label")];
23843
23843
  }, proxy: !0 }], null, !0) }, e.$listeners));
23844
- }, jh = [], qh = /* @__PURE__ */ Ae(
23844
+ }, jh = [], qh = /* @__PURE__ */ Te(
23845
23845
  zh,
23846
23846
  Yh,
23847
23847
  jh,
@@ -23851,7 +23851,80 @@ var Yh = function() {
23851
23851
  null,
23852
23852
  null
23853
23853
  );
23854
- const Xh = qh.exports, Cr = {
23854
+ const Xh = qh.exports, Zh = {
23855
+ name: "EReadMore",
23856
+ props: {
23857
+ content: {
23858
+ type: [Array, String],
23859
+ default: () => null
23860
+ },
23861
+ maxLength: {
23862
+ type: Number,
23863
+ default: () => 2
23864
+ },
23865
+ showAll: {
23866
+ type: Boolean,
23867
+ default: !1
23868
+ }
23869
+ },
23870
+ data() {
23871
+ return {
23872
+ showAllContent: !1
23873
+ };
23874
+ },
23875
+ computed: {
23876
+ hiddenContentLength() {
23877
+ var s, e;
23878
+ return Math.max(((e = (s = this.content) == null ? void 0 : s.length) != null ? e : 0) - this.maxLength, 0);
23879
+ },
23880
+ isArrayContent() {
23881
+ return Array.isArray(this.content);
23882
+ },
23883
+ isHiddenTextContent() {
23884
+ return this.hiddenContentLength > 0 && !this.showAllContent && !this.isArrayContent;
23885
+ },
23886
+ isHiddenArrayContent() {
23887
+ return this.hiddenContentLength > 0 && !this.showAllContent && this.isArrayContent;
23888
+ },
23889
+ isContentExpanded() {
23890
+ var s;
23891
+ return this.showAllContent && ((s = this.content) == null ? void 0 : s.length) > 0;
23892
+ }
23893
+ },
23894
+ mounted() {
23895
+ this.showAllContent = this.showAll;
23896
+ },
23897
+ methods: {
23898
+ displayContent() {
23899
+ return this.isArrayContent ? this.displayArrayContent() : this.displayTextContent();
23900
+ },
23901
+ displayArrayContent() {
23902
+ var s, e;
23903
+ return ((s = this.content) == null ? void 0 : s.length) > this.maxLength && this.showAllContent === !1 ? this.content.slice(0, this.maxLength).join(", ") : ((e = this.content) == null ? void 0 : e.length) > -1 ? this.content.join(", ") : "";
23904
+ },
23905
+ displayTextContent() {
23906
+ var s, e;
23907
+ return ((s = this.content) == null ? void 0 : s.length) > this.maxLength && this.showAllContent === !1 ? this.content.substr(0, this.maxLength) : ((e = this.content) == null ? void 0 : e.length) > -1 ? this.content : "";
23908
+ },
23909
+ toggleContentExpansion() {
23910
+ this.showAllContent = !this.showAllContent;
23911
+ }
23912
+ }
23913
+ };
23914
+ var Qh = function() {
23915
+ var e = this, t = e._self._c;
23916
+ return t("span", [t("span", { staticClass: "mr-1", style: { "white-space": e.showAllContent ? "initial" : "nowrap" } }, [e._v(" " + e._s(e.displayContent()) + " ")]), e.isHiddenArrayContent ? t("span", { staticClass: "e-cursor-pointer e-text-primary", on: { click: e.toggleContentExpansion } }, [e._v(" and " + e._s(e.hiddenContentLength) + " more... ")]) : e.isHiddenTextContent ? t("span", { staticClass: "e-cursor-pointer e-text-primary", on: { click: e.toggleContentExpansion } }, [e._v(" see more... ")]) : e._e(), e.isContentExpanded ? t("span", { staticClass: "e-cursor-pointer e-text-primary", on: { click: e.toggleContentExpansion } }, [e._v(" less ")]) : e._e()]);
23917
+ }, Jh = [], ed = /* @__PURE__ */ Te(
23918
+ Zh,
23919
+ Qh,
23920
+ Jh,
23921
+ !1,
23922
+ null,
23923
+ null,
23924
+ null,
23925
+ null
23926
+ );
23927
+ const td = ed.exports, Cr = {
23855
23928
  EAvatar: ba,
23856
23929
  EBadge: Mr,
23857
23930
  EIcon: Ba,
@@ -23862,8 +23935,9 @@ const Xh = qh.exports, Cr = {
23862
23935
  ETimeline: Mh,
23863
23936
  EVideoEmbed: Gh,
23864
23937
  EHeatmapBar: ma,
23865
- EHoursHeatmap: Xh
23866
- }, nd = {
23938
+ EHoursHeatmap: Xh,
23939
+ EReadMore: td
23940
+ }, ud = {
23867
23941
  install(s) {
23868
23942
  Object.keys(Cr).forEach((e) => {
23869
23943
  s.component(e, Cr[e]);
@@ -23873,9 +23947,9 @@ const Xh = qh.exports, Cr = {
23873
23947
  }
23874
23948
  };
23875
23949
  export {
23876
- ed as AvatarSizes,
23877
- td as BadgeColors,
23878
- Jh as BadgeSizes,
23950
+ nd as AvatarSizes,
23951
+ ad as BadgeColors,
23952
+ rd as BadgeSizes,
23879
23953
  ge as BaseColor,
23880
23954
  ka as Colors,
23881
23955
  Rh as DirectivesMap,
@@ -23883,10 +23957,11 @@ export {
23883
23957
  Mr as EBadge,
23884
23958
  Qa as ECol,
23885
23959
  Ba as EIcon,
23960
+ td as EReadMore,
23886
23961
  Ya as ERow,
23887
23962
  sn as ESpinner,
23888
23963
  Mh as ETimeline,
23889
- id as EVENTS,
23964
+ od as EVENTS,
23890
23965
  Gh as EVideoEmbed,
23891
23966
  Ah as EVideoPlayer,
23892
23967
  Pa as IconSizes,
@@ -23898,7 +23973,7 @@ export {
23898
23973
  Pt as TimelineIntervalChangeTrigger,
23899
23974
  Cr as components,
23900
23975
  xh as debounce,
23901
- nd as default,
23976
+ ud as default,
23902
23977
  vh as exitFullScreen,
23903
23978
  tn as fullConfig,
23904
23979
  fa as isFullScreen,