@conboai/storybook.components 0.2.12 → 0.2.15

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.
@@ -39782,7 +39782,7 @@ const R2 = {
39782
39782
  };
39783
39783
  St.extend(DL);
39784
39784
  St.extend(kL);
39785
- const c3 = ({
39785
+ const c4 = ({
39786
39786
  label: t = "",
39787
39787
  onChange: e,
39788
39788
  value: n,
@@ -40839,7 +40839,7 @@ const Ly = {
40839
40839
  id: n.key,
40840
40840
  subItemValues: r.subItemValues
40841
40841
  };
40842
- }), u3 = ({
40842
+ }), u4 = ({
40843
40843
  title: t,
40844
40844
  filterTitle: e,
40845
40845
  data: n,
@@ -41106,11 +41106,13 @@ const Ly = {
41106
41106
  }) => {
41107
41107
  const [l, c] = ft(!1), [u, d] = ft(t || "Untitled"), f = () => c(!0), p = () => {
41108
41108
  u || d(t || "Untitled"), c(!1);
41109
- }, g = (b) => {
41110
- e(b.target.value), d(b.target.value);
41111
- }, m = (b) => {
41112
- b.stopPropagation(), n && n();
41113
- }, h = dB(i);
41109
+ }, g = (y) => {
41110
+ e(y.target.value), d(y.target.value);
41111
+ }, m = (y) => {
41112
+ y.stopPropagation(), n && n();
41113
+ }, h = (y) => {
41114
+ y.key === "Enter" && c(!1);
41115
+ }, b = dB(i);
41114
41116
  return /* @__PURE__ */ T.jsx(il, { title: u, children: /* @__PURE__ */ T.jsxs(
41115
41117
  lt,
41116
41118
  {
@@ -41124,7 +41126,7 @@ const Ly = {
41124
41126
  minWidth: l ? "100px" : "0",
41125
41127
  gap: "6px",
41126
41128
  children: [
41127
- /* @__PURE__ */ T.jsx(ct, { sx: h }),
41129
+ /* @__PURE__ */ T.jsx(ct, { sx: b }),
41128
41130
  l ? /* @__PURE__ */ T.jsx(
41129
41131
  nc,
41130
41132
  {
@@ -41133,13 +41135,15 @@ const Ly = {
41133
41135
  value: u,
41134
41136
  variant: "standard",
41135
41137
  onBlur: p,
41136
- onChange: g
41138
+ onChange: g,
41139
+ onKeyUp: h
41137
41140
  }
41138
41141
  ) : /* @__PURE__ */ T.jsx(
41139
41142
  wt,
41140
41143
  {
41141
41144
  noWrap: !0,
41142
41145
  maxWidth: "100%",
41146
+ minHeight: "10px",
41143
41147
  flexGrow: "1",
41144
41148
  textAlign: "center",
41145
41149
  onDoubleClick: f,
@@ -41158,7 +41162,7 @@ const Ly = {
41158
41162
  ]
41159
41163
  }
41160
41164
  ) });
41161
- }, d3 = ({
41165
+ }, d4 = ({
41162
41166
  tabs: t,
41163
41167
  activeId: e,
41164
41168
  onDelete: n,
@@ -41205,7 +41209,7 @@ const Ly = {
41205
41209
  ] })
41206
41210
  }
41207
41211
  );
41208
- }, f3 = ({ children: t }) => /* @__PURE__ */ T.jsx(
41212
+ }, f4 = ({ children: t }) => /* @__PURE__ */ T.jsx(
41209
41213
  lt,
41210
41214
  {
41211
41215
  justifyContent: "space-between",
@@ -41215,7 +41219,7 @@ const Ly = {
41215
41219
  sx: { backgroundColor: yb, display: "flex" },
41216
41220
  children: t
41217
41221
  }
41218
- ), p3 = ({ linkContent: t, link: e }) => /* @__PURE__ */ T.jsx(e0, { href: e, height: "100%", children: t }), pB = ({
41222
+ ), p4 = ({ linkContent: t, link: e }) => /* @__PURE__ */ T.jsx(e0, { href: e, height: "100%", children: t }), pB = ({
41219
41223
  setValue: t,
41220
41224
  value: e,
41221
41225
  tabs: n,
@@ -41256,7 +41260,7 @@ const Ly = {
41256
41260
  }
41257
41261
  ),
41258
41262
  /* @__PURE__ */ T.jsx(hB, { tabsContent: r })
41259
- ] }), h3 = ({ tabsContent: t, tabs: e, onChange: n }) => {
41263
+ ] }), h4 = ({ tabsContent: t, tabs: e, onChange: n }) => {
41260
41264
  const [r, o] = ft("0"), i = { background: "none", padding: "20px" };
41261
41265
  return /* @__PURE__ */ T.jsx(ct, { sx: i, children: /* @__PURE__ */ T.jsx(
41262
41266
  mB,
@@ -41282,7 +41286,7 @@ const Ly = {
41282
41286
  /* @__PURE__ */ T.jsx("circle", { cx: "2", cy: "14", r: "2", fill: "black", fillOpacity: "0.6" })
41283
41287
  ]
41284
41288
  }
41285
- ), m3 = ({ title: t }) => /* @__PURE__ */ T.jsxs(
41289
+ ), m4 = ({ title: t }) => /* @__PURE__ */ T.jsxs(
41286
41290
  lt,
41287
41291
  {
41288
41292
  container: !0,
@@ -41306,7 +41310,7 @@ const Ly = {
41306
41310
  ]
41307
41311
  }
41308
41312
  ), gB = { display: "flex", flexWrap: "wrap", gap: 0.5 };
41309
- function g3({
41313
+ function g4({
41310
41314
  options: t,
41311
41315
  label: e,
41312
41316
  value: n,
@@ -51869,7 +51873,7 @@ class JV {
51869
51873
  }
51870
51874
  }
51871
51875
  const Bm = /(avc[1234]|hvc1|hev1|dvh[1e]|vp09|av01)(?:\.[^.,]+)+/;
51872
- class eU {
51876
+ class e5 {
51873
51877
  constructor(e) {
51874
51878
  this.details = null, this._objectUrl = null, this.operationQueue = void 0, this.listeners = void 0, this.hls = void 0, this.bufferCodecEventsExpected = 0, this._bufferCodecEventsTotal = 0, this.media = null, this.mediaSource = null, this.lastMpegAudioChunk = null, this.appendSource = void 0, this.appendErrors = {
51875
51879
  audio: 0,
@@ -51949,7 +51953,7 @@ class eU {
51949
51953
  try {
51950
51954
  r.removeAttribute("src");
51951
51955
  const c = self.ManagedMediaSource;
51952
- r.disableRemotePlayback = r.disableRemotePlayback || c && a instanceof c, jm(r), tU(r, l), r.load();
51956
+ r.disableRemotePlayback = r.disableRemotePlayback || c && a instanceof c, jm(r), t5(r, l), r.load();
51953
51957
  } catch {
51954
51958
  r.src = l;
51955
51959
  }
@@ -52455,11 +52459,11 @@ function jm(t) {
52455
52459
  t.removeChild(n);
52456
52460
  });
52457
52461
  }
52458
- function tU(t, e) {
52462
+ function t5(t, e) {
52459
52463
  const n = self.document.createElement("source");
52460
52464
  n.type = "video/mp4", n.src = e, t.appendChild(n);
52461
52465
  }
52462
- const nU = {
52466
+ const n5 = {
52463
52467
  42: 225,
52464
52468
  // lowercase a, acute accent
52465
52469
  92: 233,
@@ -52647,7 +52651,7 @@ const nU = {
52647
52651
  // Box drawings heavy up and right
52648
52652
  207: 9499
52649
52653
  // Box drawings heavy up and left
52650
- }, kv = (t) => String.fromCharCode(nU[t] || t), rr = 15, Dr = 100, rU = {
52654
+ }, kv = (t) => String.fromCharCode(n5[t] || t), rr = 15, Dr = 100, r5 = {
52651
52655
  17: 1,
52652
52656
  18: 3,
52653
52657
  21: 5,
@@ -52656,7 +52660,7 @@ const nU = {
52656
52660
  16: 11,
52657
52661
  19: 12,
52658
52662
  20: 14
52659
- }, oU = {
52663
+ }, o5 = {
52660
52664
  17: 2,
52661
52665
  18: 4,
52662
52666
  21: 6,
@@ -52664,7 +52668,7 @@ const nU = {
52664
52668
  23: 10,
52665
52669
  19: 13,
52666
52670
  20: 15
52667
- }, sU = {
52671
+ }, s5 = {
52668
52672
  25: 1,
52669
52673
  26: 3,
52670
52674
  29: 5,
@@ -52673,7 +52677,7 @@ const nU = {
52673
52677
  24: 11,
52674
52678
  27: 12,
52675
52679
  28: 14
52676
- }, iU = {
52680
+ }, i5 = {
52677
52681
  25: 2,
52678
52682
  26: 4,
52679
52683
  29: 6,
@@ -52681,8 +52685,8 @@ const nU = {
52681
52685
  31: 10,
52682
52686
  27: 13,
52683
52687
  28: 15
52684
- }, aU = ["white", "green", "blue", "cyan", "red", "yellow", "magenta", "black", "transparent"];
52685
- class lU {
52688
+ }, a5 = ["white", "green", "blue", "cyan", "red", "yellow", "magenta", "black", "transparent"];
52689
+ class l5 {
52686
52690
  constructor() {
52687
52691
  this.time = null, this.verboseLevel = 0;
52688
52692
  }
@@ -52726,7 +52730,7 @@ class Ov {
52726
52730
  return "color=" + this.foreground + ", underline=" + this.underline + ", italics=" + this.italics + ", background=" + this.background + ", flash=" + this.flash;
52727
52731
  }
52728
52732
  }
52729
- class cU {
52733
+ class c5 {
52730
52734
  constructor() {
52731
52735
  this.uchar = " ", this.penState = new Ov();
52732
52736
  }
@@ -52749,11 +52753,11 @@ class cU {
52749
52753
  return this.uchar === " " && this.penState.isDefault();
52750
52754
  }
52751
52755
  }
52752
- class uU {
52756
+ class u5 {
52753
52757
  constructor(e) {
52754
52758
  this.chars = [], this.pos = 0, this.currPenState = new Ov(), this.cueStartTime = null, this.logger = void 0;
52755
52759
  for (let n = 0; n < Dr; n++)
52756
- this.chars.push(new cU());
52760
+ this.chars.push(new c5());
52757
52761
  this.logger = e;
52758
52762
  }
52759
52763
  equals(e) {
@@ -52834,7 +52838,7 @@ class Kc {
52834
52838
  constructor(e) {
52835
52839
  this.rows = [], this.currRow = rr - 1, this.nrRollUpRows = null, this.lastOutputScreen = null, this.logger = void 0;
52836
52840
  for (let n = 0; n < rr; n++)
52837
- this.rows.push(new uU(e));
52841
+ this.rows.push(new u5(e));
52838
52842
  this.logger = e;
52839
52843
  }
52840
52844
  reset() {
@@ -53049,8 +53053,8 @@ class Vm {
53049
53053
  }
53050
53054
  class Um {
53051
53055
  constructor(e, n, r) {
53052
- this.channels = void 0, this.currentChannel = 0, this.cmdHistory = fU(), this.logger = void 0;
53053
- const o = this.logger = new lU();
53056
+ this.channels = void 0, this.currentChannel = 0, this.cmdHistory = f5(), this.logger = void 0;
53057
+ const o = this.logger = new l5();
53054
53058
  this.channels = [null, new Vm(e, n, o), new Vm(e + 1, r, o)];
53055
53059
  }
53056
53060
  getHandler(e) {
@@ -53072,7 +53076,7 @@ class Um {
53072
53076
  this.logger.log(3, () => "[" + no([n[r], n[r + 1]]) + "] -> (" + no([o, i]) + ")");
53073
53077
  const c = this.cmdHistory;
53074
53078
  if (o >= 16 && o <= 31) {
53075
- if (dU(o, i, c)) {
53079
+ if (d5(o, i, c)) {
53076
53080
  Sa(null, null, c), this.logger.log(3, () => "Repeated command (" + no([o, i]) + ") is dropped");
53077
53081
  continue;
53078
53082
  }
@@ -53120,7 +53124,7 @@ class Um {
53120
53124
  if (!(o || i))
53121
53125
  return !1;
53122
53126
  const a = e <= 23 ? 1 : 2;
53123
- n >= 64 && n <= 95 ? r = a === 1 ? rU[e] : sU[e] : r = a === 1 ? oU[e] : iU[e];
53127
+ n >= 64 && n <= 95 ? r = a === 1 ? r5[e] : s5[e] : r = a === 1 ? o5[e] : i5[e];
53124
53128
  const l = this.channels[a];
53125
53129
  return l ? (l.setPAC(this.interpretPAC(r, n)), this.currentChannel = a, !0) : !1;
53126
53130
  }
@@ -53162,7 +53166,7 @@ class Um {
53162
53166
  return !1;
53163
53167
  let i;
53164
53168
  const a = {};
53165
- e === 16 || e === 24 ? (i = Math.floor((n - 32) / 2), a.background = aU[i], n % 2 === 1 && (a.background = a.background + "_semi")) : n === 45 ? a.background = "transparent" : (a.foreground = "black", n === 47 && (a.underline = !0));
53169
+ e === 16 || e === 24 ? (i = Math.floor((n - 32) / 2), a.background = a5[i], n % 2 === 1 && (a.background = a.background + "_semi")) : n === 45 ? a.background = "transparent" : (a.foreground = "black", n === 47 && (a.underline = !0));
53166
53170
  const l = e <= 23 ? 1 : 2;
53167
53171
  return this.channels[l].setBkgData(a), !0;
53168
53172
  }
@@ -53189,10 +53193,10 @@ class Um {
53189
53193
  function Sa(t, e, n) {
53190
53194
  n.a = t, n.b = e;
53191
53195
  }
53192
- function dU(t, e, n) {
53196
+ function d5(t, e, n) {
53193
53197
  return n.a === t && n.b === e;
53194
53198
  }
53195
- function fU() {
53199
+ function f5() {
53196
53200
  return {
53197
53201
  a: null,
53198
53202
  b: null
@@ -53369,7 +53373,7 @@ var hf = function() {
53369
53373
  return self.WebVTT.convertCueToDOMTree(self, this.text);
53370
53374
  }, a;
53371
53375
  }();
53372
- class pU {
53376
+ class p5 {
53373
53377
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
53374
53378
  decode(e, n) {
53375
53379
  if (!e)
@@ -53386,7 +53390,7 @@ function Pv(t) {
53386
53390
  const n = t.match(/^(?:(\d+):)?(\d{2}):(\d{2})(\.\d+)?/);
53387
53391
  return n ? parseFloat(n[2]) > 59 ? e(n[2], n[3], 0, n[4]) : e(n[1], n[2], n[3], n[4]) : null;
53388
53392
  }
53389
- class hU {
53393
+ class h5 {
53390
53394
  constructor() {
53391
53395
  this.values = /* @__PURE__ */ Object.create(null);
53392
53396
  }
@@ -53441,7 +53445,7 @@ function Lv(t, e, n, r) {
53441
53445
  }
53442
53446
  }
53443
53447
  const Mu = new hf(0, 0, ""), Ca = Mu.align === "middle" ? "middle" : "center";
53444
- function mU(t, e, n) {
53448
+ function m5(t, e, n) {
53445
53449
  const r = t;
53446
53450
  function o() {
53447
53451
  const l = Pv(t);
@@ -53450,7 +53454,7 @@ function mU(t, e, n) {
53450
53454
  return t = t.replace(/^[^\sa-zA-Z-]+/, ""), l;
53451
53455
  }
53452
53456
  function i(l, c) {
53453
- const u = new hU();
53457
+ const u = new h5();
53454
53458
  Lv(l, function(p, g) {
53455
53459
  let m;
53456
53460
  switch (p) {
@@ -53494,9 +53498,9 @@ function Mv(t) {
53494
53498
  return t.replace(/<br(?: \/)?>/gi, `
53495
53499
  `);
53496
53500
  }
53497
- class gU {
53501
+ class g5 {
53498
53502
  constructor() {
53499
- this.state = "INITIAL", this.buffer = "", this.decoder = new pU(), this.regionList = [], this.cue = null, this.oncue = void 0, this.onparsingerror = void 0, this.onflush = void 0;
53503
+ this.state = "INITIAL", this.buffer = "", this.decoder = new p5(), this.regionList = [], this.cue = null, this.oncue = void 0, this.onparsingerror = void 0, this.onflush = void 0;
53500
53504
  }
53501
53505
  parse(e) {
53502
53506
  const n = this;
@@ -53555,7 +53559,7 @@ class gU {
53555
53559
  continue;
53556
53560
  }
53557
53561
  try {
53558
- mU(i, n.cue, n.regionList);
53562
+ m5(i, n.cue, n.regionList);
53559
53563
  } catch {
53560
53564
  n.cue = null, n.state = "BADCUE";
53561
53565
  continue;
@@ -53597,9 +53601,9 @@ class gU {
53597
53601
  return e.onflush && e.onflush(), this;
53598
53602
  }
53599
53603
  }
53600
- const bU = /\r\n|\n\r|\n|\r/g, qc = function(e, n, r = 0) {
53604
+ const b5 = /\r\n|\n\r|\n|\r/g, qc = function(e, n, r = 0) {
53601
53605
  return e.slice(r, r + n.length) === n;
53602
- }, yU = function(e) {
53606
+ }, y5 = function(e) {
53603
53607
  let n = parseInt(e.slice(-3));
53604
53608
  const r = parseInt(e.slice(-6, -4)), o = parseInt(e.slice(-9, -7)), i = e.length > 9 ? parseInt(e.substring(0, e.indexOf(":"))) : 0;
53605
53609
  if (!je(n) || !je(r) || !je(o) || !je(i))
@@ -53614,7 +53618,7 @@ const bU = /\r\n|\n\r|\n|\r/g, qc = function(e, n, r = 0) {
53614
53618
  function mf(t, e, n) {
53615
53619
  return Xc(t.toString()) + Xc(e.toString()) + Xc(n);
53616
53620
  }
53617
- const vU = function(e, n, r) {
53621
+ const v5 = function(e, n, r) {
53618
53622
  let o = e[n], i = e[o.prevCC];
53619
53623
  if (!i || !i.new && o.new) {
53620
53624
  e.ccOffset = e.presentationOffset = o.start, o.new = !1;
@@ -53626,8 +53630,8 @@ const vU = function(e, n, r) {
53626
53630
  }
53627
53631
  e.presentationOffset = r;
53628
53632
  };
53629
- function xU(t, e, n, r, o, i, a) {
53630
- const l = new gU(), c = Tr(new Uint8Array(t)).trim().replace(bU, `
53633
+ function x5(t, e, n, r, o, i, a) {
53634
+ const l = new g5(), c = Tr(new Uint8Array(t)).trim().replace(b5, `
53631
53635
  `).split(`
53632
53636
  `), u = [], d = e ? $V(e.baseTime, e.timescale) : 0;
53633
53637
  let f = "00:00.000", p = 0, g = 0, m, h = !0;
@@ -53635,7 +53639,7 @@ function xU(t, e, n, r, o, i, a) {
53635
53639
  const y = n[r];
53636
53640
  let x = n.ccOffset;
53637
53641
  const E = (p - d) / 9e4;
53638
- if (y != null && y.new && (g !== void 0 ? x = n.ccOffset = y.start : vU(n, r, E)), E) {
53642
+ if (y != null && y.new && (g !== void 0 ? x = n.ccOffset = y.start : v5(n, r, E)), E) {
53639
53643
  if (!e) {
53640
53644
  m = new Error("Missing initPTS for VTT MPEGTS");
53641
53645
  return;
@@ -53661,7 +53665,7 @@ function xU(t, e, n, r, o, i, a) {
53661
53665
  qc(y, "LOCAL:") ? f = y.slice(6) : qc(y, "MPEGTS:") && (p = parseInt(y.slice(7)));
53662
53666
  });
53663
53667
  try {
53664
- g = yU(f) / 1e3;
53668
+ g = y5(f) / 1e3;
53665
53669
  } catch (y) {
53666
53670
  m = y;
53667
53671
  }
@@ -53672,7 +53676,7 @@ function xU(t, e, n, r, o, i, a) {
53672
53676
  `);
53673
53677
  }), l.flush();
53674
53678
  }
53675
- const Zc = "stpp.ttml.im1t", _v = /^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/, Nv = /^(\d*(?:\.\d*)?)(h|m|s|ms|f|t)$/, TU = {
53679
+ const Zc = "stpp.ttml.im1t", _v = /^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/, Nv = /^(\d*(?:\.\d*)?)(h|m|s|ms|f|t)$/, T5 = {
53676
53680
  left: "start",
53677
53681
  center: "center",
53678
53682
  right: "end",
@@ -53687,12 +53691,12 @@ function Hm(t, e, n, r) {
53687
53691
  }
53688
53692
  const i = o.map((l) => Tr(l)), a = NV(e.baseTime, 1, e.timescale);
53689
53693
  try {
53690
- i.forEach((l) => n(SU(l, a)));
53694
+ i.forEach((l) => n(S5(l, a)));
53691
53695
  } catch (l) {
53692
53696
  r(l);
53693
53697
  }
53694
53698
  }
53695
- function SU(t, e) {
53699
+ function S5(t, e) {
53696
53700
  const o = new DOMParser().parseFromString(t, "text/xml").getElementsByTagName("tt")[0];
53697
53701
  if (!o)
53698
53702
  throw new Error("Invalid ttml");
@@ -53717,11 +53721,11 @@ function SU(t, e) {
53717
53721
  }
53718
53722
  const b = new hf(g - e, h - e, p);
53719
53723
  b.id = mf(b.startTime, b.endTime, b.text);
53720
- const y = u[f.getAttribute("region")], x = c[f.getAttribute("style")], E = EU(y, x, c), {
53724
+ const y = u[f.getAttribute("region")], x = c[f.getAttribute("style")], E = E5(y, x, c), {
53721
53725
  textAlign: R
53722
53726
  } = E;
53723
53727
  if (R) {
53724
- const v = TU[R];
53728
+ const v = T5[R];
53725
53729
  v && (b.lineAlign = v), b.align = R;
53726
53730
  }
53727
53731
  return Gt(b, E), b;
@@ -53744,7 +53748,7 @@ function $v(t, e) {
53744
53748
  ` : (i = r.childNodes) != null && i.length ? $v(r, e) : e ? n + r.textContent.trim().replace(/\s+/g, " ") : n + r.textContent;
53745
53749
  }, "");
53746
53750
  }
53747
- function EU(t, e, n) {
53751
+ function E5(t, e, n) {
53748
53752
  const r = "http://www.w3.org/ns/ttml#styling";
53749
53753
  let o = null;
53750
53754
  const i = [
@@ -53776,13 +53780,13 @@ function eu(t, e) {
53776
53780
  if (!t)
53777
53781
  return null;
53778
53782
  let n = Pv(t);
53779
- return n === null && (_v.test(t) ? n = CU(t, e) : Nv.test(t) && (n = RU(t, e))), n;
53783
+ return n === null && (_v.test(t) ? n = C5(t, e) : Nv.test(t) && (n = R5(t, e))), n;
53780
53784
  }
53781
- function CU(t, e) {
53785
+ function C5(t, e) {
53782
53786
  const n = _v.exec(t), r = (n[4] | 0) + (n[5] | 0) / e.subFrameRate;
53783
53787
  return (n[1] | 0) * 3600 + (n[2] | 0) * 60 + (n[3] | 0) + r / e.frameRate;
53784
53788
  }
53785
- function RU(t, e) {
53789
+ function R5(t, e) {
53786
53790
  const n = Nv.exec(t), r = Number(n[1]);
53787
53791
  switch (n[2]) {
53788
53792
  case "h":
@@ -53798,7 +53802,7 @@ function RU(t, e) {
53798
53802
  }
53799
53803
  return r;
53800
53804
  }
53801
- class wU {
53805
+ class w5 {
53802
53806
  constructor(e) {
53803
53807
  this.hls = void 0, this.media = null, this.config = void 0, this.enabled = !0, this.Cues = void 0, this.textTracks = [], this.tracks = [], this.initPTS = [], this.unparsedVttFrags = [], this.captionsTracks = {}, this.nonNativeCaptionsTracks = {}, this.cea608Parser1 = void 0, this.cea608Parser2 = void 0, this.lastCc = -1, this.lastSn = -1, this.lastPartIndex = -1, this.prevCC = -1, this.vttCCs = Ym(), this.captionsProperties = void 0, this.hls = e, this.config = e.config, this.Cues = e.config.cueHandler, this.captionsProperties = {
53804
53808
  textTrack1: {
@@ -53834,7 +53838,7 @@ class wU {
53834
53838
  addCues(e, n, r, o, i) {
53835
53839
  let a = !1;
53836
53840
  for (let l = i.length; l--; ) {
53837
- const c = i[l], u = IU(c[0], c[1], n, r);
53841
+ const c = i[l], u = I5(c[0], c[1], n, r);
53838
53842
  if (u >= 0 && (c[0] = Math.min(c[0], n), c[1] = Math.max(c[1], r), a = !0, u / (r - n) > 0.5))
53839
53843
  return;
53840
53844
  }
@@ -54074,7 +54078,7 @@ class wU {
54074
54078
  return;
54075
54079
  }
54076
54080
  const c = this.hls, u = (n = r.initSegment) != null && n.data ? Xn(r.initSegment.data, new Uint8Array(o)) : o;
54077
- xU(u, this.initPTS[r.cc], this.vttCCs, r.cc, r.start, (d) => {
54081
+ x5(u, this.initPTS[r.cc], this.vttCCs, r.cc, r.start, (d) => {
54078
54082
  this._appendCues(d, r.level), c.trigger(P.SUBTITLE_FRAG_PROCESSED, {
54079
54083
  success: !0,
54080
54084
  frag: r
@@ -54190,7 +54194,7 @@ function Fv(t) {
54190
54194
  function Gm(t, e) {
54191
54195
  return !!t && t.kind === Fv(e) && Lu(e, t);
54192
54196
  }
54193
- function IU(t, e, n, r) {
54197
+ function I5(t, e, n, r) {
54194
54198
  return Math.min(e, r) - Math.max(t, n);
54195
54199
  }
54196
54200
  function Ym() {
@@ -54328,7 +54332,7 @@ class gf {
54328
54332
  return i;
54329
54333
  }
54330
54334
  }
54331
- class DU {
54335
+ class D5 {
54332
54336
  constructor(e) {
54333
54337
  this.hls = void 0, this.isVideoPlaybackQualityAvailable = !1, this.timer = void 0, this.media = null, this.lastTime = void 0, this.lastDroppedFrames = 0, this.lastDecodedFrames = 0, this.streamController = void 0, this.hls = e, this.registerListeners();
54334
54338
  }
@@ -54935,7 +54939,7 @@ var co;
54935
54939
  (function(t) {
54936
54940
  t.OBJECT = "CMCD-Object", t.REQUEST = "CMCD-Request", t.SESSION = "CMCD-Session", t.STATUS = "CMCD-Status";
54937
54941
  })(co || (co = {}));
54938
- const AU = {
54942
+ const A5 = {
54939
54943
  [co.OBJECT]: ["br", "d", "ot", "tb"],
54940
54944
  [co.REQUEST]: ["bl", "dl", "mtp", "nor", "nrr", "su"],
54941
54945
  [co.SESSION]: ["cid", "pr", "sf", "sid", "st", "v"],
@@ -54951,42 +54955,42 @@ class Bv {
54951
54955
  this.description = void 0, this.description = e;
54952
54956
  }
54953
54957
  }
54954
- const kU = "Dict";
54955
- function OU(t) {
54958
+ const k5 = "Dict";
54959
+ function O5(t) {
54956
54960
  return Array.isArray(t) ? JSON.stringify(t) : t instanceof Map ? "Map{}" : t instanceof Set ? "Set{}" : typeof t == "object" ? JSON.stringify(t) : String(t);
54957
54961
  }
54958
- function PU(t, e, n, r) {
54959
- return new Error(`failed to ${t} "${OU(e)}" as ${n}`, {
54962
+ function P5(t, e, n, r) {
54963
+ return new Error(`failed to ${t} "${O5(e)}" as ${n}`, {
54960
54964
  cause: r
54961
54965
  });
54962
54966
  }
54963
- const Km = "Bare Item", LU = "Boolean", MU = "Byte Sequence", _U = "Decimal", NU = "Integer";
54964
- function $U(t) {
54967
+ const Km = "Bare Item", L5 = "Boolean", M5 = "Byte Sequence", _5 = "Decimal", N5 = "Integer";
54968
+ function $5(t) {
54965
54969
  return t < -999999999999999 || 999999999999999 < t;
54966
54970
  }
54967
- const FU = /[\x00-\x1f\x7f]+/, BU = "Token", jU = "Key";
54971
+ const F5 = /[\x00-\x1f\x7f]+/, B5 = "Token", j5 = "Key";
54968
54972
  function Cr(t, e, n) {
54969
- return PU("serialize", t, e, n);
54973
+ return P5("serialize", t, e, n);
54970
54974
  }
54971
- function VU(t) {
54975
+ function V5(t) {
54972
54976
  if (typeof t != "boolean")
54973
- throw Cr(t, LU);
54977
+ throw Cr(t, L5);
54974
54978
  return t ? "?1" : "?0";
54975
54979
  }
54976
- function UU(t) {
54980
+ function U5(t) {
54977
54981
  return btoa(String.fromCharCode(...t));
54978
54982
  }
54979
- function HU(t) {
54983
+ function H5(t) {
54980
54984
  if (ArrayBuffer.isView(t) === !1)
54981
- throw Cr(t, MU);
54982
- return `:${UU(t)}:`;
54985
+ throw Cr(t, M5);
54986
+ return `:${U5(t)}:`;
54983
54987
  }
54984
54988
  function jv(t) {
54985
- if ($U(t))
54986
- throw Cr(t, NU);
54989
+ if ($5(t))
54990
+ throw Cr(t, N5);
54987
54991
  return t.toString();
54988
54992
  }
54989
- function WU(t) {
54993
+ function W5(t) {
54990
54994
  return `@${jv(t.getTime() / 1e3)}`;
54991
54995
  }
54992
54996
  function Vv(t, e) {
@@ -54999,26 +55003,26 @@ function Vv(t, e) {
54999
55003
  } else
55000
55004
  return Math.round(t * n) / n;
55001
55005
  }
55002
- function zU(t) {
55006
+ function z5(t) {
55003
55007
  const e = Vv(t, 3);
55004
55008
  if (Math.floor(Math.abs(e)).toString().length > 12)
55005
- throw Cr(t, _U);
55009
+ throw Cr(t, _5);
55006
55010
  const n = e.toString();
55007
55011
  return n.includes(".") ? n : `${n}.0`;
55008
55012
  }
55009
- const GU = "String";
55010
- function YU(t) {
55011
- if (FU.test(t))
55012
- throw Cr(t, GU);
55013
+ const G5 = "String";
55014
+ function Y5(t) {
55015
+ if (F5.test(t))
55016
+ throw Cr(t, G5);
55013
55017
  return `"${t.replace(/\\/g, "\\\\").replace(/"/g, '\\"')}"`;
55014
55018
  }
55015
- function KU(t) {
55019
+ function K5(t) {
55016
55020
  return t.description || t.toString().slice(7, -1);
55017
55021
  }
55018
55022
  function qm(t) {
55019
- const e = KU(t);
55023
+ const e = K5(t);
55020
55024
  if (/^([a-zA-Z*])([!#$%&'*+\-.^_`|~\w:/]*)$/.test(e) === !1)
55021
- throw Cr(e, BU);
55025
+ throw Cr(e, B5);
55022
55026
  return e;
55023
55027
  }
55024
55028
  function Nu(t) {
@@ -55026,18 +55030,18 @@ function Nu(t) {
55026
55030
  case "number":
55027
55031
  if (!je(t))
55028
55032
  throw Cr(t, Km);
55029
- return Number.isInteger(t) ? jv(t) : zU(t);
55033
+ return Number.isInteger(t) ? jv(t) : z5(t);
55030
55034
  case "string":
55031
- return YU(t);
55035
+ return Y5(t);
55032
55036
  case "symbol":
55033
55037
  return qm(t);
55034
55038
  case "boolean":
55035
- return VU(t);
55039
+ return V5(t);
55036
55040
  case "object":
55037
55041
  if (t instanceof Date)
55038
- return WU(t);
55042
+ return W5(t);
55039
55043
  if (t instanceof Uint8Array)
55040
- return HU(t);
55044
+ return H5(t);
55041
55045
  if (t instanceof Bv)
55042
55046
  return qm(t);
55043
55047
  default:
@@ -55046,7 +55050,7 @@ function Nu(t) {
55046
55050
  }
55047
55051
  function $u(t) {
55048
55052
  if (/^[a-z*][a-z0-9\-_.*]*$/.test(t) === !1)
55049
- throw Cr(t, jU);
55053
+ throw Cr(t, j5);
55050
55054
  return t;
55051
55055
  }
55052
55056
  function bf(t) {
@@ -55055,26 +55059,26 @@ function bf(t) {
55055
55059
  function Uv(t) {
55056
55060
  return t instanceof ys ? `${Nu(t.value)}${bf(t.params)}` : Nu(t);
55057
55061
  }
55058
- function qU(t) {
55062
+ function q5(t) {
55059
55063
  return `(${t.value.map(Uv).join(" ")})${bf(t.params)}`;
55060
55064
  }
55061
- function XU(t, e = {
55065
+ function X5(t, e = {
55062
55066
  whitespace: !0
55063
55067
  }) {
55064
55068
  if (typeof t != "object")
55065
- throw Cr(t, kU);
55069
+ throw Cr(t, k5);
55066
55070
  const n = t instanceof Map ? t.entries() : Object.entries(t), r = e != null && e.whitespace ? " " : "";
55067
55071
  return Array.from(n).map(([o, i]) => {
55068
55072
  i instanceof ys || (i = new ys(i));
55069
55073
  let a = $u(o);
55070
- return i.value === !0 ? a += bf(i.params) : (a += "=", Array.isArray(i.value) ? a += qU(i) : a += Uv(i)), a;
55074
+ return i.value === !0 ? a += bf(i.params) : (a += "=", Array.isArray(i.value) ? a += q5(i) : a += Uv(i)), a;
55071
55075
  }).join(`,${r}`);
55072
55076
  }
55073
- function ZU(t, e) {
55074
- return XU(t, e);
55077
+ function Z5(t, e) {
55078
+ return X5(t, e);
55075
55079
  }
55076
- const QU = (t) => t === "ot" || t === "sf" || t === "st", JU = (t) => typeof t == "number" ? je(t) : t != null && t !== "" && t !== !1;
55077
- function e5(t, e) {
55080
+ const Q5 = (t) => t === "ot" || t === "sf" || t === "st", J5 = (t) => typeof t == "number" ? je(t) : t != null && t !== "" && t !== !1;
55081
+ function eU(t, e) {
55078
55082
  const n = new URL(t), r = new URL(e);
55079
55083
  if (n.origin !== r.origin)
55080
55084
  return t;
@@ -55085,7 +55089,7 @@ function e5(t, e) {
55085
55089
  i.shift(), o.unshift("..");
55086
55090
  return o.join("/");
55087
55091
  }
55088
- function t5() {
55092
+ function tU() {
55089
55093
  try {
55090
55094
  return crypto.randomUUID();
55091
55095
  } catch {
@@ -55101,7 +55105,7 @@ function t5() {
55101
55105
  }
55102
55106
  }
55103
55107
  }
55104
- const Ga = (t) => Math.round(t), n5 = (t, e) => (e != null && e.baseUrl && (t = e5(t, e.baseUrl)), encodeURIComponent(t)), wa = (t) => Ga(t / 100) * 100, r5 = {
55108
+ const Ga = (t) => Math.round(t), nU = (t, e) => (e != null && e.baseUrl && (t = eU(t, e.baseUrl)), encodeURIComponent(t)), wa = (t) => Ga(t / 100) * 100, rU = {
55105
55109
  /**
55106
55110
  * Bitrate (kbps) rounded integer
55107
55111
  */
@@ -55125,7 +55129,7 @@ const Ga = (t) => Math.round(t), n5 = (t, e) => (e != null && e.baseUrl && (t =
55125
55129
  /**
55126
55130
  * Next Object Request URL encoded
55127
55131
  */
55128
- nor: n5,
55132
+ nor: nU,
55129
55133
  /**
55130
55134
  * Requested maximum throughput (kbps) rounded nearest 100kbps
55131
55135
  */
@@ -55135,47 +55139,47 @@ const Ga = (t) => Math.round(t), n5 = (t, e) => (e != null && e.baseUrl && (t =
55135
55139
  */
55136
55140
  tb: Ga
55137
55141
  };
55138
- function o5(t, e) {
55142
+ function oU(t, e) {
55139
55143
  const n = {};
55140
55144
  if (t == null || typeof t != "object")
55141
55145
  return n;
55142
- const r = Object.keys(t).sort(), o = Gt({}, r5, e == null ? void 0 : e.formatters), i = e == null ? void 0 : e.filter;
55146
+ const r = Object.keys(t).sort(), o = Gt({}, rU, e == null ? void 0 : e.formatters), i = e == null ? void 0 : e.filter;
55143
55147
  return r.forEach((a) => {
55144
55148
  if (i != null && i(a))
55145
55149
  return;
55146
55150
  let l = t[a];
55147
55151
  const c = o[a];
55148
- c && (l = c(l, e)), !(a === "v" && l === 1) && (a == "pr" && l === 1 || JU(l) && (QU(a) && typeof l == "string" && (l = new Bv(l)), n[a] = l));
55152
+ c && (l = c(l, e)), !(a === "v" && l === 1) && (a == "pr" && l === 1 || J5(l) && (Q5(a) && typeof l == "string" && (l = new Bv(l)), n[a] = l));
55149
55153
  }), n;
55150
55154
  }
55151
55155
  function Hv(t, e = {}) {
55152
- return t ? ZU(o5(t, e), Gt({
55156
+ return t ? Z5(oU(t, e), Gt({
55153
55157
  whitespace: !1
55154
55158
  }, e)) : "";
55155
55159
  }
55156
- function s5(t, e = {}) {
55160
+ function sU(t, e = {}) {
55157
55161
  if (!t)
55158
55162
  return {};
55159
- const n = Object.entries(t), r = Object.entries(AU).concat(Object.entries((e == null ? void 0 : e.customHeaderMap) || {})), o = n.reduce((i, a) => {
55163
+ const n = Object.entries(t), r = Object.entries(A5).concat(Object.entries((e == null ? void 0 : e.customHeaderMap) || {})), o = n.reduce((i, a) => {
55160
55164
  var l, c;
55161
55165
  const [u, d] = a, f = ((l = r.find((p) => p[1].includes(u))) == null ? void 0 : l[0]) || co.REQUEST;
55162
55166
  return (c = i[f]) != null || (i[f] = {}), i[f][u] = d, i;
55163
55167
  }, {});
55164
55168
  return Object.entries(o).reduce((i, [a, l]) => (i[a] = Hv(l, e), i), {});
55165
55169
  }
55166
- function i5(t, e, n) {
55167
- return Gt(t, s5(e, n));
55170
+ function iU(t, e, n) {
55171
+ return Gt(t, sU(e, n));
55168
55172
  }
55169
- const a5 = "CMCD";
55170
- function l5(t, e = {}) {
55173
+ const aU = "CMCD";
55174
+ function lU(t, e = {}) {
55171
55175
  if (!t)
55172
55176
  return "";
55173
55177
  const n = Hv(t, e);
55174
- return `${a5}=${encodeURIComponent(n)}`;
55178
+ return `${aU}=${encodeURIComponent(n)}`;
55175
55179
  }
55176
55180
  const Xm = /CMCD=[^&#]+/;
55177
- function c5(t, e, n) {
55178
- const r = l5(e, n);
55181
+ function cU(t, e, n) {
55182
+ const r = lU(e, n);
55179
55183
  if (!r)
55180
55184
  return t;
55181
55185
  if (Xm.test(t))
@@ -55183,7 +55187,7 @@ function c5(t, e, n) {
55183
55187
  const o = t.includes("?") ? "&" : "?";
55184
55188
  return `${t}${o}${r}`;
55185
55189
  }
55186
- class u5 {
55190
+ class uU {
55187
55191
  // eslint-disable-line no-restricted-globals
55188
55192
  constructor(e) {
55189
55193
  this.hls = void 0, this.config = void 0, this.media = void 0, this.sid = void 0, this.cid = void 0, this.useHeaders = !1, this.includeKeys = void 0, this.initialized = !1, this.starved = !1, this.buffering = !0, this.audioBuffer = void 0, this.videoBuffer = void 0, this.onWaiting = () => {
@@ -55213,7 +55217,7 @@ class u5 {
55213
55217
  const n = this.config = e.config, {
55214
55218
  cmcd: r
55215
55219
  } = n;
55216
- r != null && (n.pLoader = this.createPlaylistLoader(), n.fLoader = this.createFragmentLoader(), this.sid = r.sessionId || t5(), this.cid = r.contentId, this.useHeaders = r.useHeaders === !0, this.includeKeys = r.includeKeys, this.registerListeners());
55220
+ r != null && (n.pLoader = this.createPlaylistLoader(), n.fLoader = this.createFragmentLoader(), this.sid = r.sessionId || tU(), this.cid = r.contentId, this.useHeaders = r.useHeaders === !0, this.includeKeys = r.includeKeys, this.registerListeners());
55217
55221
  }
55218
55222
  registerListeners() {
55219
55223
  const e = this.hls;
@@ -55260,7 +55264,7 @@ class u5 {
55260
55264
  const {
55261
55265
  includeKeys: o
55262
55266
  } = this;
55263
- o && (n = Object.keys(n).reduce((i, a) => (o.includes(a) && (i[a] = n[a]), i), {})), this.useHeaders ? (e.headers || (e.headers = {}), i5(e.headers, n)) : e.url = c5(e.url, n);
55267
+ o && (n = Object.keys(n).reduce((i, a) => (o.includes(a) && (i[a] = n[a]), i), {})), this.useHeaders ? (e.headers || (e.headers = {}), iU(e.headers, n)) : e.url = cU(e.url, n);
55264
55268
  }
55265
55269
  /**
55266
55270
  * The CMCD object type.
@@ -55358,8 +55362,8 @@ class u5 {
55358
55362
  };
55359
55363
  }
55360
55364
  }
55361
- const d5 = 3e5;
55362
- class f5 {
55365
+ const dU = 3e5;
55366
+ class fU {
55363
55367
  constructor(e) {
55364
55368
  this.hls = void 0, this.log = void 0, this.loader = null, this.uri = null, this.pathwayId = ".", this.pathwayPriority = null, this.timeToLoad = 300, this.reloadTimer = -1, this.updated = 0, this.started = !1, this.enabled = !0, this.levels = null, this.audioTracks = null, this.subtitleTracks = null, this.penalizedPathways = {}, this.hls = e, this.log = ae.log.bind(ae, "[content-steering]:"), this.registerListeners();
55365
55369
  }
@@ -55443,7 +55447,7 @@ class f5 {
55443
55447
  let n;
55444
55448
  const r = this.penalizedPathways, o = performance.now();
55445
55449
  Object.keys(r).forEach((i) => {
55446
- o - r[i] > d5 && delete r[i];
55450
+ o - r[i] > dU && delete r[i];
55447
55451
  });
55448
55452
  for (let i = 0; i < e.length; i++) {
55449
55453
  const a = e[i];
@@ -55616,7 +55620,7 @@ function Wv(t, e, n, r) {
55616
55620
  u && c.searchParams.set(u, i[u]);
55617
55621
  }), c.href;
55618
55622
  }
55619
- const p5 = /^age:\s*[\d.]+\s*$/im;
55623
+ const pU = /^age:\s*[\d.]+\s*$/im;
55620
55624
  class zv {
55621
55625
  constructor(e) {
55622
55626
  this.xhrSetup = void 0, this.requestTimeout = void 0, this.retryTimeout = void 0, this.retryDelay = void 0, this.config = null, this.callbacks = null, this.context = null, this.loader = null, this.stats = void 0, this.xhrSetup = e && e.xhrSetup || null, this.stats = new dc(), this.retryDelay = 0;
@@ -55734,7 +55738,7 @@ class zv {
55734
55738
  }
55735
55739
  getCacheAge() {
55736
55740
  let e = null;
55737
- if (this.loader && p5.test(this.loader.getAllResponseHeaders())) {
55741
+ if (this.loader && pU.test(this.loader.getAllResponseHeaders())) {
55738
55742
  const n = this.loader.getResponseHeader("age");
55739
55743
  e = n ? parseFloat(n) : null;
55740
55744
  }
@@ -55744,7 +55748,7 @@ class zv {
55744
55748
  return this.loader && new RegExp(`^${e}:\\s*[\\d.]+\\s*$`, "im").test(this.loader.getAllResponseHeaders()) ? this.loader.getResponseHeader(e) : null;
55745
55749
  }
55746
55750
  }
55747
- function h5() {
55751
+ function hU() {
55748
55752
  if (
55749
55753
  // @ts-ignore
55750
55754
  self.fetch && self.AbortController && self.ReadableStream && self.Request
@@ -55755,10 +55759,10 @@ function h5() {
55755
55759
  }
55756
55760
  return !1;
55757
55761
  }
55758
- const m5 = /(\d+)-(\d+)\/(\d+)/;
55762
+ const mU = /(\d+)-(\d+)\/(\d+)/;
55759
55763
  class Qm {
55760
55764
  constructor(e) {
55761
- this.fetchSetup = void 0, this.requestTimeout = void 0, this.request = null, this.response = null, this.controller = void 0, this.context = null, this.config = null, this.callbacks = null, this.stats = void 0, this.loader = null, this.fetchSetup = e.fetchSetup || v5, this.controller = new self.AbortController(), this.stats = new dc();
55765
+ this.fetchSetup = void 0, this.requestTimeout = void 0, this.request = null, this.response = null, this.controller = void 0, this.context = null, this.config = null, this.callbacks = null, this.stats = void 0, this.loader = null, this.fetchSetup = e.fetchSetup || vU, this.controller = new self.AbortController(), this.stats = new dc();
55762
55766
  }
55763
55767
  destroy() {
55764
55768
  this.loader = this.callbacks = this.context = this.config = this.request = null, this.abortInternal(), this.response = null, this.fetchSetup = this.controller = this.stats = null;
@@ -55775,7 +55779,7 @@ class Qm {
55775
55779
  if (o.loading.start)
55776
55780
  throw new Error("Loader can only be used once.");
55777
55781
  o.loading.start = self.performance.now();
55778
- const i = g5(e, this.controller.signal), a = r.onProgress, l = e.responseType === "arraybuffer", c = l ? "byteLength" : "length", {
55782
+ const i = gU(e, this.controller.signal), a = r.onProgress, l = e.responseType === "arraybuffer", c = l ? "byteLength" : "length", {
55779
55783
  maxTimeToFirstByteMs: u,
55780
55784
  maxLoadTimeMs: d
55781
55785
  } = n.loadPolicy;
@@ -55791,9 +55795,9 @@ class Qm {
55791
55795
  status: g,
55792
55796
  statusText: m
55793
55797
  } = f;
55794
- throw new x5(m || "fetch, bad network response", g, f);
55798
+ throw new xU(m || "fetch, bad network response", g, f);
55795
55799
  }
55796
- return o.loading.first = p, o.total = y5(f.headers) || o.total, a && je(n.highWaterMark) ? this.loadProgressively(f, o, e, n.highWaterMark, a) : l ? f.arrayBuffer() : e.responseType === "json" ? f.json() : f.text();
55800
+ return o.loading.first = p, o.total = yU(f.headers) || o.total, a && je(n.highWaterMark) ? this.loadProgressively(f, o, e, n.highWaterMark, a) : l ? f.arrayBuffer() : e.responseType === "json" ? f.json() : f.text();
55797
55801
  }).then((f) => {
55798
55802
  const p = this.response;
55799
55803
  if (!p)
@@ -55838,7 +55842,7 @@ class Qm {
55838
55842
  return c();
55839
55843
  }
55840
55844
  }
55841
- function g5(t, e) {
55845
+ function gU(t, e) {
55842
55846
  const n = {
55843
55847
  method: "GET",
55844
55848
  mode: "cors",
@@ -55848,15 +55852,15 @@ function g5(t, e) {
55848
55852
  };
55849
55853
  return t.rangeEnd && n.headers.set("Range", "bytes=" + t.rangeStart + "-" + String(t.rangeEnd - 1)), n;
55850
55854
  }
55851
- function b5(t) {
55852
- const e = m5.exec(t);
55855
+ function bU(t) {
55856
+ const e = mU.exec(t);
55853
55857
  if (e)
55854
55858
  return parseInt(e[2]) - parseInt(e[1]) + 1;
55855
55859
  }
55856
- function y5(t) {
55860
+ function yU(t) {
55857
55861
  const e = t.get("Content-Range");
55858
55862
  if (e) {
55859
- const r = b5(e);
55863
+ const r = bU(e);
55860
55864
  if (je(r))
55861
55865
  return r;
55862
55866
  }
@@ -55864,15 +55868,15 @@ function y5(t) {
55864
55868
  if (n)
55865
55869
  return parseInt(n);
55866
55870
  }
55867
- function v5(t, e) {
55871
+ function vU(t, e) {
55868
55872
  return new self.Request(t.url, e);
55869
55873
  }
55870
- class x5 extends Error {
55874
+ class xU extends Error {
55871
55875
  constructor(e, n, r) {
55872
55876
  super(e), this.code = void 0, this.details = void 0, this.code = n, this.details = r;
55873
55877
  }
55874
55878
  }
55875
- const T5 = /\s/, S5 = {
55879
+ const TU = /\s/, SU = {
55876
55880
  newCue(t, e, n, r) {
55877
55881
  const o = [];
55878
55882
  let i, a, l, c, u;
@@ -55881,14 +55885,14 @@ const T5 = /\s/, S5 = {
55881
55885
  if (i = r.rows[p], l = !0, c = 0, u = "", !i.isEmpty()) {
55882
55886
  var f;
55883
55887
  for (let h = 0; h < i.chars.length; h++)
55884
- T5.test(i.chars[h].uchar) && l ? c++ : (u += i.chars[h].uchar, l = !1);
55888
+ TU.test(i.chars[h].uchar) && l ? c++ : (u += i.chars[h].uchar, l = !1);
55885
55889
  i.cueStartTime = e, e === n && (n += 1e-4), c >= 16 ? c-- : c++;
55886
55890
  const g = Mv(u.trim()), m = mf(e, n, g);
55887
55891
  t != null && (f = t.cues) != null && f.getCueById(m) || (a = new d(e, n, g), a.id = m, a.line = p + 1, a.align = "left", a.position = 10 + Math.min(80, Math.floor(c * 8 / 32) * 10), o.push(a));
55888
55892
  }
55889
55893
  return t && o.length && (o.sort((p, g) => p.line === "auto" || g.line === "auto" ? 0 : p.line > 8 && g.line > 8 ? g.line - p.line : p.line - g.line), o.forEach((p) => ov(t, p))), o;
55890
55894
  }
55891
- }, E5 = {
55895
+ }, EU = {
55892
55896
  maxTimeToFirstByteMs: 8e3,
55893
55897
  maxLoadTimeMs: 2e4,
55894
55898
  timeoutRetry: null,
@@ -55976,10 +55980,10 @@ const T5 = /\s/, S5 = {
55976
55980
  licenseResponseCallback: void 0,
55977
55981
  // used by eme-controller
55978
55982
  abrController: Xj,
55979
- bufferController: eU,
55983
+ bufferController: e5,
55980
55984
  capLevelController: gf,
55981
55985
  errorController: Fj,
55982
- fpsController: DU,
55986
+ fpsController: D5,
55983
55987
  stretchShortVideoTrack: !1,
55984
55988
  // used by mp4-remuxer
55985
55989
  maxAudioFramesDrift: 1,
@@ -56029,7 +56033,7 @@ const T5 = /\s/, S5 = {
56029
56033
  enableID3MetadataCues: !0,
56030
56034
  useMediaCapabilities: !0,
56031
56035
  certLoadPolicy: {
56032
- default: E5
56036
+ default: EU
56033
56037
  },
56034
56038
  keyLoadPolicy: {
56035
56039
  default: {
@@ -56127,19 +56131,19 @@ const T5 = /\s/, S5 = {
56127
56131
  fragLoadingMaxRetry: 6,
56128
56132
  fragLoadingRetryDelay: 1e3,
56129
56133
  fragLoadingMaxRetryTimeout: 64e3
56130
- }, C5()), {}, {
56134
+ }, CU()), {}, {
56131
56135
  subtitleStreamController: XV,
56132
56136
  subtitleTrackController: QV,
56133
- timelineController: wU,
56137
+ timelineController: w5,
56134
56138
  audioStreamController: KV,
56135
56139
  audioTrackController: qV,
56136
56140
  emeController: rs,
56137
- cmcdController: u5,
56138
- contentSteeringController: f5
56141
+ cmcdController: uU,
56142
+ contentSteeringController: fU
56139
56143
  });
56140
- function C5() {
56144
+ function CU() {
56141
56145
  return {
56142
- cueHandler: S5,
56146
+ cueHandler: SU,
56143
56147
  // used by timeline-controller
56144
56148
  enableWebVTT: !0,
56145
56149
  // used by timeline-controller
@@ -56166,7 +56170,7 @@ function C5() {
56166
56170
  renderTextTracksNatively: !0
56167
56171
  };
56168
56172
  }
56169
- function R5(t, e) {
56173
+ function RU(t, e) {
56170
56174
  if ((e.liveSyncDurationCount || e.liveMaxLatencyDurationCount) && (e.liveSyncDuration || e.liveMaxLatencyDuration))
56171
56175
  throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");
56172
56176
  if (e.liveMaxLatencyDurationCount !== void 0 && (e.liveSyncDurationCount === void 0 || e.liveMaxLatencyDurationCount <= e.liveSyncDurationCount))
@@ -56204,12 +56208,12 @@ function R5(t, e) {
56204
56208
  function Fu(t) {
56205
56209
  return t && typeof t == "object" ? Array.isArray(t) ? t.map(Fu) : Object.keys(t).reduce((e, n) => (e[n] = Fu(t[n]), e), {}) : t;
56206
56210
  }
56207
- function w5(t) {
56211
+ function wU(t) {
56208
56212
  const e = t.loader;
56209
- e !== Qm && e !== zv ? (ae.log("[config]: Custom loader detected, cannot enable progressive streaming"), t.progressive = !1) : h5() && (t.loader = Qm, t.progressive = !0, t.enableSoftwareAES = !0, ae.log("[config]: Progressive streaming enabled, using FetchLoader"));
56213
+ e !== Qm && e !== zv ? (ae.log("[config]: Custom loader detected, cannot enable progressive streaming"), t.progressive = !1) : hU() && (t.loader = Qm, t.progressive = !0, t.enableSoftwareAES = !0, ae.log("[config]: Progressive streaming enabled, using FetchLoader"));
56210
56214
  }
56211
56215
  let tu;
56212
- class I5 extends of {
56216
+ class IU extends of {
56213
56217
  constructor(e, n) {
56214
56218
  super(e, "[level-controller]"), this._levels = [], this._firstLevel = -1, this._maxAutoLevel = -1, this._startLevel = void 0, this.currentLevel = null, this.currentLevelIndex = -1, this.manualLevelIndex = -1, this.steering = void 0, this.onParsedComplete = void 0, this.steering = n, this._registerListeners();
56215
56219
  }
@@ -56538,7 +56542,7 @@ function Jm(t) {
56538
56542
  n.id = e[r] = e[r] || 0, e[r]++;
56539
56543
  });
56540
56544
  }
56541
- class D5 {
56545
+ class DU {
56542
56546
  constructor(e) {
56543
56547
  this.config = void 0, this.keyUriToKeyInfo = {}, this.emeController = null, this.config = e;
56544
56548
  }
@@ -56721,19 +56725,19 @@ function Kv() {
56721
56725
  const e = Yv();
56722
56726
  return !e || e.prototype && typeof e.prototype.appendBuffer == "function" && typeof e.prototype.remove == "function";
56723
56727
  }
56724
- function A5() {
56728
+ function AU() {
56725
56729
  if (!Kv())
56726
56730
  return !1;
56727
56731
  const t = vo();
56728
56732
  return typeof (t == null ? void 0 : t.isTypeSupported) == "function" && (["avc1.42E01E,mp4a.40.2", "av01.0.01M.08", "vp09.00.50.08"].some((e) => t.isTypeSupported(Pi(e, "video"))) || ["mp4a.40.2", "fLaC"].some((e) => t.isTypeSupported(Pi(e, "audio"))));
56729
56733
  }
56730
- function k5() {
56734
+ function kU() {
56731
56735
  var t;
56732
56736
  const e = Yv();
56733
56737
  return typeof (e == null || (t = e.prototype) == null ? void 0 : t.changeType) == "function";
56734
56738
  }
56735
- const O5 = 250, Ya = 2, P5 = 0.1, L5 = 0.05;
56736
- class M5 {
56739
+ const OU = 250, Ya = 2, PU = 0.1, LU = 0.05;
56740
+ class MU {
56737
56741
  constructor(e, n, r, o) {
56738
56742
  this.config = void 0, this.media = null, this.fragmentTracker = void 0, this.hls = void 0, this.nudgeRetry = 0, this.stallReported = !1, this.stalled = null, this.moved = !1, this.seeking = !1, this.config = e, this.media = n, this.fragmentTracker = r, this.hls = o;
56739
56743
  }
@@ -56799,7 +56803,7 @@ class M5 {
56799
56803
  return;
56800
56804
  }
56801
56805
  const m = g - i;
56802
- if (!l && m >= O5 && (this._reportStall(d), !this.media))
56806
+ if (!l && m >= OU && (this._reportStall(d), !this.media))
56803
56807
  return;
56804
56808
  const h = It.bufferInfo(o, a, r.maxBufferHole);
56805
56809
  this._tryFixBufferStall(h, m);
@@ -56888,7 +56892,7 @@ class M5 {
56888
56892
  }
56889
56893
  }
56890
56894
  }
56891
- const f = Math.max(l + L5, i + P5);
56895
+ const f = Math.max(l + LU, i + PU);
56892
56896
  if (ae.warn(`skipping hole, adjusting currentTime from ${i} to ${f}`), this.moved = !0, this.stalled = null, o.currentTime = f, e && !e.gap) {
56893
56897
  const p = new Error(`fragment loaded with buffer holes, seeking from ${i} to ${f}`);
56894
56898
  r.trigger(P.ERROR, {
@@ -56938,8 +56942,8 @@ class M5 {
56938
56942
  }
56939
56943
  }
56940
56944
  }
56941
- const _5 = 100;
56942
- class N5 extends lf {
56945
+ const _U = 100;
56946
+ class NU extends lf {
56943
56947
  constructor(e, n, r) {
56944
56948
  super(e, n, r, "[stream-controller]", qe.MAIN), this.audioCodecSwap = !1, this.gapController = null, this.level = -1, this._forceStartLoad = !1, this.altAudio = !1, this.audioOnly = !1, this.fragPlaying = null, this.onvplaying = null, this.onvseeked = null, this.fragLastKbps = 0, this.couldBacktrack = !1, this.backtrackFragment = null, this.audioCodecSwitch = !1, this.videoBuffer = null, this._registerListeners();
56945
56949
  }
@@ -56964,7 +56968,7 @@ class N5 extends lf {
56964
56968
  lastCurrentTime: n,
56965
56969
  hls: r
56966
56970
  } = this;
56967
- if (this.stopLoad(), this.setInterval(_5), this.level = -1, !this.startFragRequested) {
56971
+ if (this.stopLoad(), this.setInterval(_U), this.level = -1, !this.startFragRequested) {
56968
56972
  let o = r.startLevel;
56969
56973
  o === -1 && (r.config.testBandwidth && this.levels.length > 1 ? (o = 0, this.bitrateTest = !0) : o = r.firstAutoLevel), r.nextLoadLevel = o, this.level = r.loadLevel, this.loadedmetadata = !1;
56970
56974
  }
@@ -57135,7 +57139,7 @@ class N5 extends lf {
57135
57139
  onMediaAttached(e, n) {
57136
57140
  super.onMediaAttached(e, n);
57137
57141
  const r = n.media;
57138
- this.onvplaying = this.onMediaPlaying.bind(this), this.onvseeked = this.onMediaSeeked.bind(this), r.addEventListener("playing", this.onvplaying), r.addEventListener("seeked", this.onvseeked), this.gapController = new M5(this.config, r, this.fragmentTracker, this.hls);
57142
+ this.onvplaying = this.onMediaPlaying.bind(this), this.onvseeked = this.onMediaSeeked.bind(this), r.addEventListener("playing", this.onvplaying), r.addEventListener("seeked", this.onvseeked), this.gapController = new MU(this.config, r, this.fragmentTracker, this.hls);
57139
57143
  }
57140
57144
  onMediaDetaching() {
57141
57145
  const {
@@ -57164,7 +57168,7 @@ class N5 extends lf {
57164
57168
  n.levels.forEach((i) => {
57165
57169
  const a = i.audioCodec;
57166
57170
  a && (r = r || a.indexOf("mp4a.40.2") !== -1, o = o || a.indexOf("mp4a.40.5") !== -1);
57167
- }), this.audioCodecSwitch = r && o && !k5(), this.audioCodecSwitch && this.log("Both AAC/HE-AAC audio found in levels; declaring level codec as HE-AAC"), this.levels = n.levels, this.startFragRequested = !1;
57171
+ }), this.audioCodecSwitch = r && o && !kU(), this.audioCodecSwitch && this.log("Both AAC/HE-AAC audio found in levels; declaring level codec as HE-AAC"), this.levels = n.levels, this.startFragRequested = !1;
57168
57172
  }
57169
57173
  onLevelLoading(e, n) {
57170
57174
  const {
@@ -57593,7 +57597,7 @@ class br {
57593
57597
  * Check if MediaSource Extensions are available and isTypeSupported checks pass for any baseline codecs.
57594
57598
  */
57595
57599
  static isSupported() {
57596
- return A5();
57600
+ return AU();
57597
57601
  }
57598
57602
  /**
57599
57603
  * Get the MediaSource global used for MSE playback (ManagedMediaSource, MediaSource, or WebKitMediaSource).
@@ -57628,15 +57632,15 @@ class br {
57628
57632
  */
57629
57633
  constructor(e = {}) {
57630
57634
  this.config = void 0, this.userConfig = void 0, this.coreComponents = void 0, this.networkControllers = void 0, this.started = !1, this._emitter = new pf(), 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, RB(e.debug || !1, "Hls instance");
57631
- const n = this.config = R5(br.DefaultConfig, e);
57632
- this.userConfig = e, n.progressive && w5(n);
57635
+ const n = this.config = RU(br.DefaultConfig, e);
57636
+ this.userConfig = e, n.progressive && wU(n);
57633
57637
  const {
57634
57638
  abrController: r,
57635
57639
  bufferController: o,
57636
57640
  capLevelController: i,
57637
57641
  errorController: a,
57638
57642
  fpsController: l
57639
- } = n, c = new a(this), u = this.abrController = new r(this), d = this.bufferController = new o(this), f = this.capLevelController = new i(this), p = new l(this), g = new vj(this), m = new Cj(this), h = n.contentSteeringController, b = h ? new h(this) : null, y = this.levelController = new I5(this, b), x = new Qj(this), E = new D5(this.config), R = this.streamController = new N5(this, x, E);
57643
+ } = n, c = new a(this), u = this.abrController = new r(this), d = this.bufferController = new o(this), f = this.capLevelController = new i(this), p = new l(this), g = new vj(this), m = new Cj(this), h = n.contentSteeringController, b = h ? new h(this) : null, y = this.levelController = new IU(this, b), x = new Qj(this), E = new DU(this.config), R = this.streamController = new NU(this, x, E);
57640
57644
  f.setStreamController(R), p.setStreamController(R);
57641
57645
  const v = [g, y, R];
57642
57646
  b && v.splice(1, 0, b), this.networkControllers = v;
@@ -58156,7 +58160,7 @@ class br {
58156
58160
  }
58157
58161
  }
58158
58162
  br.defaultConfig = void 0;
58159
- const $5 = {
58163
+ const $U = {
58160
58164
  svg: {
58161
58165
  path: {
58162
58166
  fill: Ft
@@ -58173,7 +58177,7 @@ const $5 = {
58173
58177
  ".MuiIconButton-root": {
58174
58178
  padding: 0
58175
58179
  }
58176
- }, F5 = {
58180
+ }, FU = {
58177
58181
  position: "absolute",
58178
58182
  left: 0,
58179
58183
  right: 0,
@@ -58185,7 +58189,7 @@ const $5 = {
58185
58189
  width: "100px",
58186
58190
  height: "100px"
58187
58191
  }
58188
- }, B5 = (t) => ({
58192
+ }, BU = (t) => ({
58189
58193
  display: "flex",
58190
58194
  justifyContent: "center",
58191
58195
  alignItems: t ? "center" : "flex-start",
@@ -58193,16 +58197,16 @@ const $5 = {
58193
58197
  overflow: t ? "hidden" : "visible",
58194
58198
  paddingLeft: "15px",
58195
58199
  paddingRight: 0
58196
- }), j5 = (t) => ({
58200
+ }), jU = (t) => ({
58197
58201
  display: t ? "none" : "block",
58198
58202
  maxWidth: "100%"
58199
- }), V5 = (t) => ({
58203
+ }), VU = (t) => ({
58200
58204
  position: t ? "absolute" : "relative",
58201
58205
  bottom: t ? "5px" : "auto",
58202
58206
  width: t ? "100%" : "auto",
58203
58207
  display: "flex",
58204
58208
  gap: "10px"
58205
- }), U5 = {
58209
+ }), UU = {
58206
58210
  display: "flex",
58207
58211
  backgroundColor: un,
58208
58212
  ".MuiContainer-root": {
@@ -58256,7 +58260,7 @@ const $5 = {
58256
58260
  {
58257
58261
  ref: p,
58258
58262
  onMouseMove: x,
58259
- sx: B5(o),
58263
+ sx: BU(o),
58260
58264
  children: /* @__PURE__ */ T.jsx(
58261
58265
  lt,
58262
58266
  {
@@ -58264,7 +58268,7 @@ const $5 = {
58264
58268
  justifyContent: "center",
58265
58269
  alignItems: "center",
58266
58270
  spacing: 2,
58267
- sx: $5,
58271
+ sx: $U,
58268
58272
  children: t ? /* @__PURE__ */ T.jsx(Sd, { sx: _y, size: "100px" }) : /* @__PURE__ */ T.jsxs(lt, { container: !0, justifyContent: "center", position: "relative", children: [
58269
58273
  /* @__PURE__ */ T.jsxs(
58270
58274
  "video",
@@ -58275,7 +58279,7 @@ const $5 = {
58275
58279
  var v;
58276
58280
  return c(((v = f.current) == null ? void 0 : v.currentTime) || 0);
58277
58281
  },
58278
- style: j5(t),
58282
+ style: jU(t),
58279
58283
  onClick: m,
58280
58284
  onPlay: () => a(!0),
58281
58285
  onPause: () => a(!1),
@@ -58286,7 +58290,7 @@ const $5 = {
58286
58290
  }
58287
58291
  ),
58288
58292
  u && /* @__PURE__ */ T.jsxs(T.Fragment, { children: [
58289
- o && /* @__PURE__ */ T.jsx(lt, { sx: F5, children: /* @__PURE__ */ T.jsx(zt, { onClick: m, children: i ? /* @__PURE__ */ T.jsx($t, { icon: "pause" }) : /* @__PURE__ */ T.jsx($t, { icon: "play" }) }) }),
58293
+ o && /* @__PURE__ */ T.jsx(lt, { sx: FU, children: /* @__PURE__ */ T.jsx(zt, { onClick: m, children: i ? /* @__PURE__ */ T.jsx($t, { icon: "pause" }) : /* @__PURE__ */ T.jsx($t, { icon: "play" }) }) }),
58290
58294
  /* @__PURE__ */ T.jsxs(
58291
58295
  lt,
58292
58296
  {
@@ -58296,7 +58300,7 @@ const $5 = {
58296
58300
  justifyContent: "center",
58297
58301
  alignItems: "center",
58298
58302
  padding: o ? "0 10px" : "0",
58299
- sx: V5(o),
58303
+ sx: VU(o),
58300
58304
  margin: "0",
58301
58305
  children: [
58302
58306
  !o && /* @__PURE__ */ T.jsx(lt, { children: /* @__PURE__ */ T.jsx(zt, { onClick: m, children: i ? /* @__PURE__ */ T.jsx($t, { icon: "pause" }) : /* @__PURE__ */ T.jsx($t, { icon: "play" }) }) }),
@@ -58333,12 +58337,12 @@ const $5 = {
58333
58337
  )
58334
58338
  }
58335
58339
  );
58336
- }, H5 = {
58340
+ }, HU = {
58337
58341
  position: "absolute",
58338
58342
  top: "50%",
58339
58343
  left: "50%",
58340
58344
  transform: "translate(-50%, -50%)"
58341
- }, W5 = {
58345
+ }, WU = {
58342
58346
  position: "absolute",
58343
58347
  top: "60px",
58344
58348
  right: "20px",
@@ -58364,7 +58368,7 @@ const $5 = {
58364
58368
  stroke: un
58365
58369
  }
58366
58370
  }
58367
- }, z5 = ({ open: t, handleClose: e, children: n }) => /* @__PURE__ */ T.jsx(
58371
+ }, zU = ({ open: t, handleClose: e, children: n }) => /* @__PURE__ */ T.jsx(
58368
58372
  Xl,
58369
58373
  {
58370
58374
  open: t,
@@ -58372,17 +58376,17 @@ const $5 = {
58372
58376
  "aria-labelledby": "modal-title",
58373
58377
  "aria-describedby": "modal-description",
58374
58378
  children: /* @__PURE__ */ T.jsxs(T.Fragment, { children: [
58375
- /* @__PURE__ */ T.jsx(ct, { sx: W5, onClick: e, children: /* @__PURE__ */ T.jsx($t, { icon: "close" }) }),
58376
- /* @__PURE__ */ T.jsx(ct, { sx: H5, children: n })
58379
+ /* @__PURE__ */ T.jsx(ct, { sx: WU, onClick: e, children: /* @__PURE__ */ T.jsx($t, { icon: "close" }) }),
58380
+ /* @__PURE__ */ T.jsx(ct, { sx: HU, children: n })
58377
58381
  ] })
58378
58382
  }
58379
- ), G5 = ({
58383
+ ), GU = ({
58380
58384
  isModalOpen: t = !1,
58381
58385
  onModalClose: e,
58382
58386
  isLoading: n = !1,
58383
58387
  src: r,
58384
58388
  isHls: o = !1
58385
- }) => /* @__PURE__ */ T.jsx(z5, { open: t, handleClose: e, children: /* @__PURE__ */ T.jsx(
58389
+ }) => /* @__PURE__ */ T.jsx(zU, { open: t, handleClose: e, children: /* @__PURE__ */ T.jsx(
58386
58390
  qv,
58387
58391
  {
58388
58392
  src: r,
@@ -58390,7 +58394,7 @@ const $5 = {
58390
58394
  isHls: o,
58391
58395
  isModalOpen: t
58392
58396
  }
58393
- ) }), v3 = ({
58397
+ ) }), v4 = ({
58394
58398
  onGenerate: t,
58395
58399
  isLoading: e,
58396
58400
  src: n,
@@ -58408,7 +58412,7 @@ const $5 = {
58408
58412
  justifyContent: "center",
58409
58413
  alignItems: "center",
58410
58414
  mt: "10px",
58411
- sx: U5,
58415
+ sx: UU,
58412
58416
  children: o ? /* @__PURE__ */ T.jsxs(T.Fragment, { children: [
58413
58417
  /* @__PURE__ */ T.jsx(
58414
58418
  qv,
@@ -58420,7 +58424,7 @@ const $5 = {
58420
58424
  }
58421
58425
  ),
58422
58426
  /* @__PURE__ */ T.jsx(
58423
- G5,
58427
+ GU,
58424
58428
  {
58425
58429
  onModalClose: l,
58426
58430
  src: n,
@@ -58433,7 +58437,7 @@ const $5 = {
58433
58437
  }
58434
58438
  );
58435
58439
  };
58436
- function x3({ label: t, imageSrc: e }) {
58440
+ function x4({ label: t, imageSrc: e }) {
58437
58441
  return /* @__PURE__ */ T.jsxs(
58438
58442
  ct,
58439
58443
  {
@@ -58454,50 +58458,108 @@ function x3({ label: t, imageSrc: e }) {
58454
58458
  }
58455
58459
  );
58456
58460
  }
58457
- const Y5 = {
58461
+ const YU = {
58458
58462
  border: `1px solid ${un}`,
58459
58463
  opacity: "40%"
58460
- }, T3 = () => /* @__PURE__ */ T.jsx(ct, { sx: Y5 }), K5 = {
58464
+ }, T4 = () => /* @__PURE__ */ T.jsx(ct, { sx: YU }), KU = {
58461
58465
  width: "36px",
58462
58466
  height: "36px",
58463
58467
  borderRadius: "50%",
58464
58468
  overflow: "hidden"
58465
- }, q5 = {
58469
+ }, qU = {
58466
58470
  fontWeight: "400",
58467
58471
  fontSize: "20px",
58468
58472
  lineHeight: "20px",
58469
58473
  color: un
58470
- }, S3 = ({ logo: t, title: e }) => /* @__PURE__ */ T.jsxs(lt, { container: !0, gap: "8px", alignItems: "center", children: [
58471
- /* @__PURE__ */ T.jsx(ct, { sx: K5, display: "flex", alignItems: "center", justifyContent: "center", children: /* @__PURE__ */ T.jsx("img", { src: t, alt: e, loading: "lazy" }) }),
58472
- /* @__PURE__ */ T.jsx(wt, { sx: q5, children: e })
58473
- ] }), X5 = (t) => {
58474
+ }, S4 = ({ title: t }) => /* @__PURE__ */ T.jsxs(lt, { container: !0, gap: "8px", alignItems: "center", children: [
58475
+ /* @__PURE__ */ T.jsx(ct, { sx: KU, display: "flex", alignItems: "center", justifyContent: "center", children: /* @__PURE__ */ T.jsxs(
58476
+ "svg",
58477
+ {
58478
+ width: "36",
58479
+ height: "36",
58480
+ viewBox: "0 0 36 36",
58481
+ fill: "none",
58482
+ xmlns: "http://www.w3.org/2000/svg",
58483
+ children: [
58484
+ /* @__PURE__ */ T.jsx(
58485
+ "rect",
58486
+ {
58487
+ y: "0.000732422",
58488
+ width: "35.9986",
58489
+ height: "35.9986",
58490
+ rx: "17.9993",
58491
+ fill: "#4AB1F6"
58492
+ }
58493
+ ),
58494
+ /* @__PURE__ */ T.jsx(
58495
+ "path",
58496
+ {
58497
+ d: "M12.3055 14.1909L10.7986 10.8004V15.0884L12.3055 14.1909Z",
58498
+ fill: "white"
58499
+ }
58500
+ ),
58501
+ /* @__PURE__ */ T.jsx(
58502
+ "path",
58503
+ {
58504
+ d: "M10.7986 15.0884H12.7043L12.3055 14.1909L10.7986 15.0884Z",
58505
+ fill: "white"
58506
+ }
58507
+ ),
58508
+ /* @__PURE__ */ T.jsx(
58509
+ "path",
58510
+ {
58511
+ d: "M23.6908 14.1909L23.2919 15.0884H25.1977L23.6908 14.1909Z",
58512
+ fill: "white"
58513
+ }
58514
+ ),
58515
+ /* @__PURE__ */ T.jsx(
58516
+ "path",
58517
+ {
58518
+ d: "M25.1977 15.0884V10.8004L23.6908 14.1909L25.1977 15.0884Z",
58519
+ fill: "white"
58520
+ }
58521
+ ),
58522
+ /* @__PURE__ */ T.jsx(
58523
+ "path",
58524
+ {
58525
+ d: "M17.9981 26.9994L10.7986 22.7114V15.0884M17.9981 26.9994L25.1977 22.7114V15.0884M17.9981 26.9994L12.7043 15.0884M17.9981 26.9994L23.2919 15.0884M10.7986 15.0884V10.8004L12.3055 14.1909M10.7986 15.0884L12.3055 14.1909M10.7986 15.0884H12.7043M25.1977 15.0884V10.8004L23.6908 14.1909M25.1977 15.0884H23.2919M25.1977 15.0884L23.6908 14.1909M12.3055 14.1909L17.9981 10.8004L23.6908 14.1909M12.3055 14.1909L12.7043 15.0884M12.7043 15.0884H23.2919M23.6908 14.1909L23.2919 15.0884",
58526
+ stroke: "white",
58527
+ strokeWidth: "1.43991",
58528
+ strokeLinejoin: "round"
58529
+ }
58530
+ )
58531
+ ]
58532
+ }
58533
+ ) }),
58534
+ /* @__PURE__ */ T.jsx(wt, { sx: qU, children: t })
58535
+ ] }), XU = (t) => {
58474
58536
  if (Array.isArray(t))
58475
58537
  return t.join(", ");
58476
58538
  if (typeof t == "object")
58477
58539
  return JSON.stringify(t, null, 2);
58478
- }, Z5 = (t) => t == null ? "" : (X5(t), t.toString()), Q5 = {
58540
+ }, ZU = (t) => t == null ? "" : (XU(t), t.toString()), QU = {
58479
58541
  borderBottom: "none",
58480
58542
  width: "66%",
58481
58543
  paddingTop: 0,
58482
58544
  paddingBottom: "8px"
58483
- }, J5 = {
58545
+ }, JU = {
58484
58546
  width: "33%",
58485
58547
  borderBottom: "none",
58486
58548
  paddingTop: 0,
58487
58549
  paddingBottom: "8px"
58488
- }, e3 = (t) => ({
58550
+ }, e4 = (t) => ({
58489
58551
  ...t,
58490
58552
  boxShadow: "none"
58491
- }), E3 = ({ columnDefs: t, data: e, sx: n }) => /* @__PURE__ */ T.jsx(Ld, { component: Rr, sx: e3(n), children: /* @__PURE__ */ T.jsx(al, { children: /* @__PURE__ */ T.jsx(Pd, { children: t.map((r, o) => /* @__PURE__ */ T.jsxs(Go, { children: [
58492
- /* @__PURE__ */ T.jsx(hr, { component: "th", scope: "row", sx: J5, children: /* @__PURE__ */ T.jsx(wt, { fontWeight: "500", children: r.headerName }) }),
58493
- /* @__PURE__ */ T.jsx(hr, { sx: Q5, children: r.renderCell ? r.renderCell(e[r.field]) : Z5(e[r.field]) })
58494
- ] }, o)) }) }) }), t3 = {
58553
+ }), E4 = ({ columnDefs: t, data: e, sx: n }) => /* @__PURE__ */ T.jsx(Ld, { component: Rr, sx: e4(n), children: /* @__PURE__ */ T.jsx(al, { children: /* @__PURE__ */ T.jsx(Pd, { children: t.map((r, o) => /* @__PURE__ */ T.jsxs(Go, { children: [
58554
+ /* @__PURE__ */ T.jsx(hr, { component: "th", scope: "row", sx: JU, children: /* @__PURE__ */ T.jsx(wt, { fontWeight: "500", children: r.headerName }) }),
58555
+ /* @__PURE__ */ T.jsx(hr, { sx: QU, children: r.renderCell ? r.renderCell(e[r.field]) : ZU(e[r.field]) })
58556
+ ] }, o)) }) }) }), t4 = {
58495
58557
  width: "36px",
58496
58558
  height: "36px",
58497
58559
  borderRadius: "50%",
58498
58560
  overflow: "hidden",
58499
58561
  cursor: "pointer"
58500
- }, C3 = ({ imageSrc: t, alt: e }) => /* @__PURE__ */ T.jsx(ct, { sx: t3, children: /* @__PURE__ */ T.jsx("img", { src: t, alt: e }) }), n3 = {
58562
+ }, C4 = ({ imageSrc: t, alt: e }) => /* @__PURE__ */ T.jsx(ct, { sx: t4, children: /* @__PURE__ */ T.jsx("img", { src: t, alt: e }) }), n4 = {
58501
58563
  "& .MuiSwitch-switchBase.Mui-checked": {
58502
58564
  color: un
58503
58565
  },
@@ -58511,7 +58573,7 @@ const Y5 = {
58511
58573
  lineHeight: "16px",
58512
58574
  letterSpacing: "0.15px",
58513
58575
  color: Vl
58514
- }, R3 = ({
58576
+ }, R4 = ({
58515
58577
  checked: t,
58516
58578
  onChange: e,
58517
58579
  leftLabel: n,
@@ -58523,13 +58585,13 @@ const Y5 = {
58523
58585
  Ei,
58524
58586
  {
58525
58587
  sx: { margin: 0 },
58526
- control: /* @__PURE__ */ T.jsx(p0, { checked: t, onChange: e, sx: n3 }),
58588
+ control: /* @__PURE__ */ T.jsx(p0, { checked: t, onChange: e, sx: n4 }),
58527
58589
  label: ""
58528
58590
  }
58529
58591
  ),
58530
58592
  o && /* @__PURE__ */ T.jsx(bo, { sx: eg, children: o })
58531
58593
  ] });
58532
- function w3({ images: t }) {
58594
+ function w4({ images: t }) {
58533
58595
  const [e, n] = ft(0), r = () => {
58534
58596
  n((i) => (i + 1) % t.length);
58535
58597
  }, o = () => {
@@ -58607,7 +58669,7 @@ function w3({ images: t }) {
58607
58669
  )
58608
58670
  ] });
58609
58671
  }
58610
- const I3 = ({
58672
+ const I4 = ({
58611
58673
  label: t,
58612
58674
  options: e,
58613
58675
  value: n,
@@ -58615,7 +58677,7 @@ const I3 = ({
58615
58677
  }) => /* @__PURE__ */ T.jsxs(ks, { fullWidth: !0, size: "small", children: [
58616
58678
  /* @__PURE__ */ T.jsx(bo, { sx: $y, children: t }),
58617
58679
  /* @__PURE__ */ T.jsx(Ro, { sx: Ny, label: t, onChange: r, value: n, children: e.map((o) => /* @__PURE__ */ T.jsx(Co, { value: o.value, children: o.label }, o.value)) })
58618
- ] }), r3 = (t) => t.replace(/_/g, " ").replace(/\b\w/g, (e) => e.toUpperCase()), D3 = (t) => t.join(", "), tg = (t, e, n) => St().startOf(t).set(e, n), o3 = (t, e, n) => St().endOf(t).set(e, n), s3 = (t) => St().subtract(1, "day").startOf("day").set("hour", t), ng = (t, e) => St().subtract(t, e), i3 = () => {
58680
+ ] }), r4 = (t) => t.replace(/_/g, " ").replace(/\b\w/g, (e) => e.toUpperCase()), D4 = (t) => t.join(", "), tg = (t, e, n) => St().startOf(t).set(e, n), o4 = (t, e, n) => St().endOf(t).set(e, n), s4 = (t) => St().subtract(1, "day").startOf("day").set("hour", t), ng = (t, e) => St().subtract(t, e), i4 = () => {
58619
58681
  const e = new Intl.DateTimeFormat(void 0, {
58620
58682
  year: "numeric",
58621
58683
  month: "2-digit",
@@ -58643,27 +58705,27 @@ const I3 = ({
58643
58705
  }
58644
58706
  }).join("");
58645
58707
  return n ? r.replace("hh", "hh") : r.replace("hh", "HH");
58646
- }, A3 = (t) => {
58647
- const e = i3();
58708
+ }, A4 = (t) => {
58709
+ const e = i4();
58648
58710
  return St(t).format(e);
58649
- }, k3 = (t) => {
58711
+ }, k4 = (t) => {
58650
58712
  const r = Math.floor(t / 6e4);
58651
58713
  t %= 6e4;
58652
58714
  const o = Math.floor(t / 1e3);
58653
58715
  let i = "";
58654
58716
  return r > 0 ? (i += `${r} min`, o > 0 && (i += ` ${o} sec`), i) : o > 0 ? (i += `${o} sec`, i) : "0 sec";
58655
- }, O3 = [
58717
+ }, O4 = [
58656
58718
  "Camera 1 (all items)",
58657
58719
  "Camera 5 (all items)",
58658
58720
  "Camera 2 (10 items)",
58659
58721
  "Camera 3 (Zone 1)",
58660
58722
  "Camera 4 (24 items)"
58661
- ], P3 = [
58723
+ ], P4 = [
58662
58724
  { key: "classifier", label: "Classifier" },
58663
58725
  { key: "value", label: "Value" },
58664
58726
  { key: "count", label: "Count" },
58665
58727
  { key: "score", label: "Score" }
58666
- ], L3 = [
58728
+ ], L4 = [
58667
58729
  {
58668
58730
  label: "Summary",
58669
58731
  value: "0",
@@ -58674,14 +58736,14 @@ const I3 = ({
58674
58736
  value: "1",
58675
58737
  disabled: !0
58676
58738
  }
58677
- ], M3 = [
58739
+ ], M4 = [
58678
58740
  { classifier: "Color", value: "Black", count: 50, score: "80%" },
58679
58741
  { classifier: "Color", value: "Yellow", count: 60, score: "70%" },
58680
58742
  { classifier: "Manufacture", value: "Volvo", count: 50, score: "80%" },
58681
58743
  { classifier: "Color", value: "Red", count: 50, score: "40%" },
58682
58744
  { classifier: "Color", value: "Green", count: 75, score: "70%" },
58683
58745
  { classifier: "Manufacture", value: "Man", count: 3, score: "80%" }
58684
- ], _3 = (t) => [
58746
+ ], _4 = (t) => [
58685
58747
  {
58686
58748
  value: "0",
58687
58749
  content: /* @__PURE__ */ T.jsx(aB, { ...t })
@@ -58690,7 +58752,7 @@ const I3 = ({
58690
58752
  value: "1",
58691
58753
  content: "More"
58692
58754
  }
58693
- ], N3 = {
58755
+ ], N4 = {
58694
58756
  data: [
58695
58757
  {
58696
58758
  id: "1",
@@ -58748,15 +58810,15 @@ const I3 = ({
58748
58810
  value: "kit"
58749
58811
  }
58750
58812
  ]
58751
- }, $3 = [
58813
+ }, $4 = [
58752
58814
  { key: "id", label: "ID" },
58753
58815
  { key: "name", label: "Name" },
58754
58816
  { key: "age", label: "Age" }
58755
- ], F3 = [
58817
+ ], F4 = [
58756
58818
  { id: 1, name: "John Doe", age: 30 },
58757
58819
  { id: 2, name: "Jane Smith", age: 25 },
58758
58820
  { id: 3, name: "Bob Johnson", age: 40 }
58759
- ], B3 = {
58821
+ ], B4 = {
58760
58822
  feed: 139,
58761
58823
  conbo_key: "28145-139-021-64216",
58762
58824
  event_id: "CNB-7987",
@@ -58766,12 +58828,12 @@ const I3 = ({
58766
58828
  end: "2024-05-15T21:05:27.745000Z",
58767
58829
  cargo: "N/A",
58768
58830
  zones: ["Dock main road ", "Hello dock"]
58769
- }, j3 = [
58831
+ }, j4 = [
58770
58832
  { headerName: "Event ID", field: "event_id" },
58771
58833
  {
58772
58834
  headerName: "Move",
58773
58835
  field: "move",
58774
- renderCell: (t) => r3(t)
58836
+ renderCell: (t) => r4(t)
58775
58837
  },
58776
58838
  {
58777
58839
  headerName: "Start",
@@ -58785,7 +58847,7 @@ const I3 = ({
58785
58847
  },
58786
58848
  { headerName: "Cargo", field: "cargo" },
58787
58849
  { headerName: "Zones", field: "zones" }
58788
- ], V3 = [
58850
+ ], V4 = [
58789
58851
  { id: "1", color: "#f99191", title: "New title" },
58790
58852
  {
58791
58853
  id: "2",
@@ -58793,7 +58855,7 @@ const I3 = ({
58793
58855
  title: "Message should contain more information"
58794
58856
  },
58795
58857
  { id: "3", color: "#7095f4", title: "Hello, World!" }
58796
- ], U3 = [
58858
+ ], U4 = [
58797
58859
  {
58798
58860
  label: "Start of the day",
58799
58861
  getValue: () => tg("day", "hour", 6)
@@ -58804,11 +58866,11 @@ const I3 = ({
58804
58866
  },
58805
58867
  {
58806
58868
  label: "End of day today at 18:00",
58807
- getValue: () => o3("day", "hour", 18)
58869
+ getValue: () => o4("day", "hour", 18)
58808
58870
  },
58809
58871
  {
58810
58872
  label: "Start of yesterday",
58811
- getValue: () => s3(6)
58873
+ getValue: () => s4(6)
58812
58874
  },
58813
58875
  {
58814
58876
  label: "One hour ago",
@@ -58818,7 +58880,7 @@ const I3 = ({
58818
58880
  label: "One day ago",
58819
58881
  getValue: () => ng(1, "day")
58820
58882
  }
58821
- ], H3 = [
58883
+ ], H4 = [
58822
58884
  {
58823
58885
  value: 864e5,
58824
58886
  label: "1 day"
@@ -58834,14 +58896,14 @@ export {
58834
58896
  S1 as ACTIVE_TAB,
58835
58897
  Yr as ActionButton,
58836
58898
  RL as ActionSelect,
58837
- x3 as AppTitleBar,
58899
+ x4 as AppTitleBar,
58838
58900
  ld as BETWEEN_GRAY_BORDER,
58839
58901
  d1 as BG_GRAY_COLOR,
58840
58902
  Vl as BLACK,
58841
58903
  R1 as BORDER_TAB,
58842
58904
  wL as ChipsBar,
58843
- g3 as ChipsMultiSelect,
58844
- I3 as CustomSelect,
58905
+ g4 as ChipsMultiSelect,
58906
+ I4 as CustomSelect,
58845
58907
  T1 as DARK_BLUE_BORDER,
58846
58908
  E1 as DEFAULT_TAB,
58847
58909
  Xs as DETAILS_VIEW_BG,
@@ -58851,22 +58913,22 @@ export {
58851
58913
  f1 as DISABLED_CHECKBOX,
58852
58914
  Rp as DISABLED_TEXT,
58853
58915
  b1 as DISABLED_TEXT_ICON,
58854
- c3 as DatePicker,
58855
- T3 as Delimiter,
58856
- h3 as DetailsView,
58857
- m3 as DetailsViewPanel,
58916
+ c4 as DatePicker,
58917
+ T4 as Delimiter,
58918
+ h4 as DetailsView,
58919
+ m4 as DetailsViewPanel,
58858
58920
  rB as Filter,
58859
- u3 as FilterBox,
58921
+ u4 as FilterBox,
58860
58922
  v1 as GRAY_BORDER,
58861
58923
  yb as HOVER_BTN_PRIMARY,
58862
58924
  g1 as HOVER_BTN_SECONDARY,
58863
58925
  p1 as HOVER_DARK_BLUE_ICON,
58864
58926
  C1 as HOVER_TAB,
58865
- f3 as Header,
58866
- p3 as HomeLink,
58867
- w3 as ImageBox,
58927
+ f4 as Header,
58928
+ p4 as HomeLink,
58929
+ w4 as ImageBox,
58868
58930
  x1 as LIGHT_GRAY_BORDER,
58869
- S3 as Logo,
58931
+ S4 as Logo,
58870
58932
  aB as MainTable,
58871
58933
  eB as NotificationBar,
58872
58934
  Ft as PASSIVE_BTN_PRIMARY,
@@ -58874,38 +58936,38 @@ export {
58874
58936
  ul as PLACEMENTS,
58875
58937
  Y2 as SearchInput,
58876
58938
  $t as Svg,
58877
- L3 as TABS,
58939
+ L4 as TABS,
58878
58940
  fB as Tab,
58879
- d3 as TabsBar,
58880
- R3 as Toggle,
58881
- C3 as UserAvatar,
58882
- E3 as VerticalTable,
58883
- v3 as VideoBox,
58941
+ d4 as TabsBar,
58942
+ R4 as Toggle,
58943
+ C4 as UserAvatar,
58944
+ E4 as VerticalTable,
58945
+ v4 as VideoBox,
58884
58946
  un as WHITE,
58885
- P3 as columnDefs,
58886
- $3 as columns,
58887
- O3 as dataMock,
58888
- M3 as detailsViewDataMock,
58889
- A3 as formatDateWithLocal,
58890
- k3 as formatDuration,
58891
- D3 as formatValueWithComma,
58892
- o3 as getEndTime,
58893
- i3 as getLocalDateTimeFormat,
58947
+ P4 as columnDefs,
58948
+ $4 as columns,
58949
+ O4 as dataMock,
58950
+ M4 as detailsViewDataMock,
58951
+ A4 as formatDateWithLocal,
58952
+ k4 as formatDuration,
58953
+ D4 as formatValueWithComma,
58954
+ o4 as getEndTime,
58955
+ i4 as getLocalDateTimeFormat,
58894
58956
  tg as getStartTime,
58895
- s3 as getStartTimeOfYesterday,
58896
- _3 as getTabsContent,
58957
+ s4 as getStartTimeOfYesterday,
58958
+ _4 as getTabsContent,
58897
58959
  $y as inputLabelSx,
58898
58960
  _y as loaderSx,
58899
- F3 as mainTableDataMock,
58900
- H3 as mockSelectOptions,
58901
- U3 as mockShortcut,
58902
- N3 as newFilterMock,
58961
+ F4 as mainTableDataMock,
58962
+ H4 as mockSelectOptions,
58963
+ U4 as mockShortcut,
58964
+ N4 as newFilterMock,
58903
58965
  Ny as selectSx,
58904
- r3 as snakeCaseToTitleCase,
58966
+ r4 as snakeCaseToTitleCase,
58905
58967
  ng as subtractTime,
58906
58968
  Ly as tabSx,
58907
- V3 as tabsMock,
58969
+ V4 as tabsMock,
58908
58970
  My as tabsSx,
58909
- j3 as verticalTableColumnDefs,
58910
- B3 as verticalTableDataMock
58971
+ j4 as verticalTableColumnDefs,
58972
+ B4 as verticalTableDataMock
58911
58973
  };