@conboai/storybook.components 0.2.52 → 0.2.53

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.
@@ -7695,7 +7695,7 @@ process.env.NODE_ENV !== "production" && (In.propTypes = {
7695
7695
  */
7696
7696
  variant: i.oneOfType([i.oneOf(["contained", "outlined", "text"]), i.string])
7697
7697
  });
7698
- const dn = "#ffffff", Wl = "#000000", AC = "#F5F6FA", Xo = "#ECEDEF", OC = "rgba(0, 0, 0, 0.26)", PC = "#354290", o8 = "#E5E9F5", Vt = "#5360AE", A0 = "#3F4C9A", LC = "#303D8B", Ip = "#CCD0E7", _C = "#FBFBFD", MC = "#CCD0E7", vu = "#5360AE", Dp = "#E6E7EB", Ap = "#989BAF", NC = "#8A8B8D", FC = "#8d8ea1", $C = "#e5e6ea", BC = "#c2c6db", jC = "#4b569d", pd = "#CECFD1", VC = "#323d7b", UC = "#535ea4", zC = "#6f79b3", HC = "#646ead", s8 = "#4E4E4E", i8 = "#2F2F2F", a8 = "#404040", l8 = "#373737", c8 = "#8E8E8E", u8 = "#747474", d8 = "#D9D9D9", f8 = "#A2A2A2", WC = {
7698
+ const dn = "#ffffff", Wl = "#000000", AC = "#F5F6FA", Xo = "#ECEDEF", OC = "rgba(0, 0, 0, 0.26)", PC = "#354290", s8 = "#E5E9F5", Vt = "#5360AE", A0 = "#3F4C9A", LC = "#303D8B", Ip = "#CCD0E7", _C = "#FBFBFD", MC = "#CCD0E7", vu = "#5360AE", Dp = "#E6E7EB", Ap = "#989BAF", NC = "#8A8B8D", FC = "#8d8ea1", $C = "#e5e6ea", BC = "#c2c6db", jC = "#4b569d", pd = "#CECFD1", VC = "#323d7b", UC = "#535ea4", zC = "#6f79b3", HC = "#646ead", i8 = "#4E4E4E", a8 = "#2F2F2F", l8 = "#404040", c8 = "#373737", u8 = "#8E8E8E", d8 = "#747474", f8 = "#D9D9D9", p8 = "#A2A2A2", WC = {
7699
7699
  small: {
7700
7700
  width: "40px",
7701
7701
  minWidth: "40px"
@@ -40753,7 +40753,7 @@ const u5 = {
40753
40753
  };
40754
40754
  lt.extend(jb);
40755
40755
  lt.extend(Ub);
40756
- const p8 = ({
40756
+ const h8 = ({
40757
40757
  label: t = "",
40758
40758
  onChange: e,
40759
40759
  value: n,
@@ -41810,7 +41810,7 @@ const Zy = {
41810
41810
  id: n.key,
41811
41811
  subItemValues: r.subItemValues
41812
41812
  };
41813
- }), h8 = ({
41813
+ }), m8 = ({
41814
41814
  title: t,
41815
41815
  filterTitle: e,
41816
41816
  data: n,
@@ -41870,8 +41870,8 @@ const Zy = {
41870
41870
  }, W5 = (t, e) => ({
41871
41871
  ...t,
41872
41872
  boxShadow: "none",
41873
- borderTop: `1px solid ${Xo}`,
41874
- borderBottom: `1px solid ${Xo}`,
41873
+ borderTop: `1px solid ${e === "light" ? Xo : "#222222"} `,
41874
+ borderBottom: `1px solid ${e === "light" ? Xo : "#222222"} `,
41875
41875
  backgroundColor: "transparent",
41876
41876
  ".MuiTableRow-root.Mui-selected": {
41877
41877
  backgroundColor: `${Xo} !important`
@@ -41881,7 +41881,15 @@ const Zy = {
41881
41881
  th: {
41882
41882
  borderBottom: `1px solid ${e === "light" ? Xo : "#222222"} `,
41883
41883
  backgroundColor: e === "light" ? "white" : "#121212",
41884
- color: e === "light" ? "" : "rgba(255, 255, 255, 0.5)"
41884
+ color: e === "light" ? "" : "rgba(255, 255, 255, 0.5)",
41885
+ "&:hover": {
41886
+ span: {
41887
+ color: e === "light" ? "" : "rgba(255, 255, 255, 0.87)"
41888
+ },
41889
+ "& path": {
41890
+ fill: e === "light" ? "" : "rgba(255, 255, 255, 0.87)"
41891
+ }
41892
+ }
41885
41893
  }
41886
41894
  }
41887
41895
  },
@@ -41895,7 +41903,14 @@ const Zy = {
41895
41903
  }
41896
41904
  }
41897
41905
  }
41898
- }), G5 = ({
41906
+ }), G5 = (t) => ({
41907
+ p: {
41908
+ color: t === "light" ? "" : "rgba(255, 255, 255, 0.5)"
41909
+ },
41910
+ path: {
41911
+ fill: t === "light" ? "" : "rgba(255, 255, 255, 0.5)"
41912
+ }
41913
+ }), Y5 = ({
41899
41914
  columns: t,
41900
41915
  data: e,
41901
41916
  onCellClick: n,
@@ -41995,7 +42010,10 @@ const Zy = {
41995
42010
  justifyContent: s ? "space-between" : "flex-end",
41996
42011
  alignItems: "center",
41997
42012
  padding: "0",
41998
- sx: { borderTop: `1px solid ${Xo}` },
42013
+ sx: {
42014
+ borderTop: `1px solid ${p === "light" ? Xo : "#222222"} `,
42015
+ backgroundColor: p === "light" ? "white" : "#121212"
42016
+ },
41999
42017
  children: [
42000
42018
  s && /* @__PURE__ */ C.jsx(ct, { item: !0, children: /* @__PURE__ */ C.jsx(
42001
42019
  In,
@@ -42011,12 +42029,18 @@ const Zy = {
42011
42029
  justifyContent: "space-between",
42012
42030
  alignItems: "center",
42013
42031
  children: [
42014
- /* @__PURE__ */ C.jsx(At, { icon: "download", fill: "#212121" }),
42032
+ /* @__PURE__ */ C.jsx(
42033
+ At,
42034
+ {
42035
+ icon: "download",
42036
+ fill: p === "light" ? "#212121" : "rgba(255, 255, 255, 0.5)"
42037
+ }
42038
+ ),
42015
42039
  /* @__PURE__ */ C.jsx(
42016
42040
  kt,
42017
42041
  {
42018
42042
  textTransform: "capitalize",
42019
- color: "#000000",
42043
+ color: p === "light" ? "#000000" : "rgba(255, 255, 255, 0.5)",
42020
42044
  fontWeight: "400",
42021
42045
  fontSize: "12px",
42022
42046
  lineHeight: "20px",
@@ -42038,7 +42062,10 @@ const Zy = {
42038
42062
  rowsPerPage: h,
42039
42063
  page: m,
42040
42064
  onPageChange: T,
42041
- onRowsPerPageChange: S
42065
+ onRowsPerPageChange: S,
42066
+ sx: {
42067
+ ...G5(p)
42068
+ }
42042
42069
  }
42043
42070
  ) })
42044
42071
  ]
@@ -42047,11 +42074,11 @@ const Zy = {
42047
42074
  ]
42048
42075
  }
42049
42076
  );
42050
- }, Y5 = {
42077
+ }, K5 = {
42051
42078
  cursor: "pointer",
42052
42079
  alignSelf: "baseline",
42053
42080
  opacity: 0
42054
- }, K5 = (t) => ({
42081
+ }, q5 = (t) => ({
42055
42082
  height: "36px",
42056
42083
  boxSizing: "border-box",
42057
42084
  padding: "6px 12px 6px 12px",
@@ -42069,7 +42096,7 @@ const Zy = {
42069
42096
  ".remove-icon": {
42070
42097
  opacity: t ? 1 : 0
42071
42098
  }
42072
- }), q5 = {
42099
+ }), X5 = {
42073
42100
  width: "auto",
42074
42101
  paddingLeft: "4px",
42075
42102
  "& .MuiInputBase-root": {
@@ -42084,12 +42111,12 @@ const Zy = {
42084
42111
  input: {
42085
42112
  padding: 0
42086
42113
  }
42087
- }, X5 = (t) => ({
42114
+ }, Z5 = (t) => ({
42088
42115
  minWidth: "6px",
42089
42116
  minHeight: "6px",
42090
42117
  backgroundColor: t,
42091
42118
  borderRadius: "50%"
42092
- }), Z5 = ({
42119
+ }), Q5 = ({
42093
42120
  value: t,
42094
42121
  onEdit: e,
42095
42122
  onDelete: n,
@@ -42106,13 +42133,13 @@ const Zy = {
42106
42133
  y.stopPropagation(), n && n();
42107
42134
  }, h = (y) => {
42108
42135
  y.key === "Enter" && c(!1);
42109
- }, b = X5(s);
42136
+ }, b = Z5(s);
42110
42137
  return /* @__PURE__ */ C.jsx(cl, { title: u, children: /* @__PURE__ */ C.jsxs(
42111
42138
  ct,
42112
42139
  {
42113
42140
  onClick: r,
42114
42141
  container: !0,
42115
- sx: K5(a),
42142
+ sx: q5(a),
42116
42143
  justifyContent: "space-between",
42117
42144
  alignItems: "center",
42118
42145
  flexWrap: "nowrap",
@@ -42126,7 +42153,7 @@ const Zy = {
42126
42153
  Yi,
42127
42154
  {
42128
42155
  autoFocus: !0,
42129
- sx: q5,
42156
+ sx: X5,
42130
42157
  value: u,
42131
42158
  variant: "standard",
42132
42159
  onBlur: p,
@@ -42148,7 +42175,7 @@ const Zy = {
42148
42175
  o ? /* @__PURE__ */ C.jsx(
42149
42176
  kt,
42150
42177
  {
42151
- sx: Y5,
42178
+ sx: K5,
42152
42179
  onClick: g,
42153
42180
  className: "remove-icon",
42154
42181
  children: /* @__PURE__ */ C.jsx(At, { icon: "remove", fillOpacity: "0.8", fill: "white" })
@@ -42157,7 +42184,7 @@ const Zy = {
42157
42184
  ]
42158
42185
  }
42159
42186
  ) });
42160
- }, m8 = ({
42187
+ }, g8 = ({
42161
42188
  tabs: t,
42162
42189
  activeId: e,
42163
42190
  onDelete: n,
@@ -42170,7 +42197,7 @@ const Zy = {
42170
42197
  }, l = (u) => {
42171
42198
  s(u);
42172
42199
  }, c = () => t.map((u) => /* @__PURE__ */ C.jsx(
42173
- Z5,
42200
+ Q5,
42174
42201
  {
42175
42202
  onEdit: (d) => {
42176
42203
  r(u.id, d);
@@ -42204,7 +42231,7 @@ const Zy = {
42204
42231
  ] })
42205
42232
  }
42206
42233
  );
42207
- }, g8 = ({ children: t }) => /* @__PURE__ */ C.jsx(
42234
+ }, b8 = ({ children: t }) => /* @__PURE__ */ C.jsx(
42208
42235
  ct,
42209
42236
  {
42210
42237
  justifyContent: "space-between",
@@ -42214,7 +42241,7 @@ const Zy = {
42214
42241
  sx: { backgroundColor: A0, display: "flex" },
42215
42242
  children: t
42216
42243
  }
42217
- ), b8 = ({ linkContent: t, link: e }) => /* @__PURE__ */ C.jsx(hb, { href: e, height: "100%", children: t }), Q5 = ({
42244
+ ), y8 = ({ linkContent: t, link: e }) => /* @__PURE__ */ C.jsx(hb, { href: e, height: "100%", children: t }), J5 = ({
42218
42245
  setValue: t,
42219
42246
  value: e,
42220
42247
  tabs: n,
@@ -42238,7 +42265,7 @@ const Zy = {
42238
42265
  },
42239
42266
  a.value
42240
42267
  )) }) });
42241
- }, J5 = ({ tabsContent: t }) => t.map((e) => /* @__PURE__ */ C.jsx(nf, { value: e.value, sx: { padding: "20px 0 0" }, children: e.content }, e.value)), e3 = ({
42268
+ }, e3 = ({ tabsContent: t }) => t.map((e) => /* @__PURE__ */ C.jsx(nf, { value: e.value, sx: { padding: "20px 0 0" }, children: e.content }, e.value)), t3 = ({
42242
42269
  setValue: t,
42243
42270
  value: e,
42244
42271
  tabs: n,
@@ -42246,7 +42273,7 @@ const Zy = {
42246
42273
  onChange: o
42247
42274
  }) => /* @__PURE__ */ C.jsxs(tf, { value: e, children: [
42248
42275
  /* @__PURE__ */ C.jsx(
42249
- Q5,
42276
+ J5,
42250
42277
  {
42251
42278
  setValue: t,
42252
42279
  value: e,
@@ -42254,11 +42281,11 @@ const Zy = {
42254
42281
  onChange: o
42255
42282
  }
42256
42283
  ),
42257
- /* @__PURE__ */ C.jsx(J5, { tabsContent: r })
42258
- ] }), y8 = ({ tabsContent: t, tabs: e, onChange: n }) => {
42284
+ /* @__PURE__ */ C.jsx(e3, { tabsContent: r })
42285
+ ] }), v8 = ({ tabsContent: t, tabs: e, onChange: n }) => {
42259
42286
  const [r, o] = ft("0"), s = { background: "none", padding: "20px" };
42260
42287
  return /* @__PURE__ */ C.jsx(at, { sx: s, children: /* @__PURE__ */ C.jsx(
42261
- e3,
42288
+ t3,
42262
42289
  {
42263
42290
  onChange: n,
42264
42291
  value: r,
@@ -42267,7 +42294,7 @@ const Zy = {
42267
42294
  tabsContent: t
42268
42295
  }
42269
42296
  ) });
42270
- }, t3 = () => /* @__PURE__ */ C.jsxs(
42297
+ }, n3 = () => /* @__PURE__ */ C.jsxs(
42271
42298
  "svg",
42272
42299
  {
42273
42300
  width: "4",
@@ -42281,7 +42308,7 @@ const Zy = {
42281
42308
  /* @__PURE__ */ C.jsx("circle", { cx: "2", cy: "14", r: "2", fill: "black", fillOpacity: "0.6" })
42282
42309
  ]
42283
42310
  }
42284
- ), v8 = ({ title: t }) => /* @__PURE__ */ C.jsxs(
42311
+ ), x8 = ({ title: t }) => /* @__PURE__ */ C.jsxs(
42285
42312
  ct,
42286
42313
  {
42287
42314
  container: !0,
@@ -42301,11 +42328,11 @@ const Zy = {
42301
42328
  children: t
42302
42329
  }
42303
42330
  ),
42304
- /* @__PURE__ */ C.jsx(In, { variant: "text", children: /* @__PURE__ */ C.jsx(t3, {}) })
42331
+ /* @__PURE__ */ C.jsx(In, { variant: "text", children: /* @__PURE__ */ C.jsx(n3, {}) })
42305
42332
  ]
42306
42333
  }
42307
- ), n3 = { display: "flex", flexWrap: "wrap", gap: 0.5 };
42308
- function x8({
42334
+ ), r3 = { display: "flex", flexWrap: "wrap", gap: 0.5 };
42335
+ function T8({
42309
42336
  options: t,
42310
42337
  label: e,
42311
42338
  value: n,
@@ -42317,7 +42344,7 @@ function x8({
42317
42344
  target: { value: u }
42318
42345
  } = c;
42319
42346
  r(typeof u == "string" ? u.split(",") : u);
42320
- }, a = (c) => /* @__PURE__ */ C.jsx(at, { sx: n3, children: c.map((u) => /* @__PURE__ */ C.jsx(zi, { label: u }, u)) }), l = {
42347
+ }, a = (c) => /* @__PURE__ */ C.jsx(at, { sx: r3, children: c.map((u) => /* @__PURE__ */ C.jsx(zi, { label: u }, u)) }), l = {
42321
42348
  small: "small",
42322
42349
  medium: "normal"
42323
42350
  };
@@ -42339,7 +42366,7 @@ function x8({
42339
42366
  )
42340
42367
  ] });
42341
42368
  }
42342
- function r3(t) {
42369
+ function o3(t) {
42343
42370
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
42344
42371
  }
42345
42372
  var rv = { exports: {} };
@@ -42433,14 +42460,14 @@ function Qt(t) {
42433
42460
  for (var e = 1; e < arguments.length; e++) {
42434
42461
  var n = arguments[e] != null ? arguments[e] : {};
42435
42462
  e % 2 ? lm(Object(n), !0).forEach(function(r) {
42436
- i3(t, r, n[r]);
42463
+ a3(t, r, n[r]);
42437
42464
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : lm(Object(n)).forEach(function(r) {
42438
42465
  Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
42439
42466
  });
42440
42467
  }
42441
42468
  return t;
42442
42469
  }
42443
- function o3(t, e) {
42470
+ function s3(t, e) {
42444
42471
  if (typeof t != "object" || !t) return t;
42445
42472
  var n = t[Symbol.toPrimitive];
42446
42473
  if (n !== void 0) {
@@ -42450,12 +42477,12 @@ function o3(t, e) {
42450
42477
  }
42451
42478
  return (e === "string" ? String : Number)(t);
42452
42479
  }
42453
- function s3(t) {
42454
- var e = o3(t, "string");
42480
+ function i3(t) {
42481
+ var e = s3(t, "string");
42455
42482
  return typeof e == "symbol" ? e : String(e);
42456
42483
  }
42457
- function i3(t, e, n) {
42458
- return e = s3(e), e in t ? Object.defineProperty(t, e, {
42484
+ function a3(t, e, n) {
42485
+ return e = i3(e), e in t ? Object.defineProperty(t, e, {
42459
42486
  value: n,
42460
42487
  enumerable: !0,
42461
42488
  configurable: !0,
@@ -42474,9 +42501,9 @@ function Yt() {
42474
42501
  }
42475
42502
  const Ye = Number.isFinite || function(t) {
42476
42503
  return typeof t == "number" && isFinite(t);
42477
- }, a3 = Number.isSafeInteger || function(t) {
42478
- return typeof t == "number" && Math.abs(t) <= l3;
42479
- }, l3 = Number.MAX_SAFE_INTEGER || 9007199254740991;
42504
+ }, l3 = Number.isSafeInteger || function(t) {
42505
+ return typeof t == "number" && Math.abs(t) <= c3;
42506
+ }, c3 = Number.MAX_SAFE_INTEGER || 9007199254740991;
42480
42507
  let z = /* @__PURE__ */ function(t) {
42481
42508
  return t.MEDIA_ATTACHING = "hlsMediaAttaching", t.MEDIA_ATTACHED = "hlsMediaAttached", t.MEDIA_DETACHING = "hlsMediaDetaching", t.MEDIA_DETACHED = "hlsMediaDetached", t.BUFFER_RESET = "hlsBufferReset", t.BUFFER_CODECS = "hlsBufferCodecs", t.BUFFER_CREATED = "hlsBufferCreated", t.BUFFER_APPENDING = "hlsBufferAppending", t.BUFFER_APPENDED = "hlsBufferAppended", t.BUFFER_EOS = "hlsBufferEos", t.BUFFER_FLUSHING = "hlsBufferFlushing", t.BUFFER_FLUSHED = "hlsBufferFlushed", t.MANIFEST_LOADING = "hlsManifestLoading", t.MANIFEST_LOADED = "hlsManifestLoaded", t.MANIFEST_PARSED = "hlsManifestParsed", t.LEVEL_SWITCHING = "hlsLevelSwitching", t.LEVEL_SWITCHED = "hlsLevelSwitched", t.LEVEL_LOADING = "hlsLevelLoading", t.LEVEL_LOADED = "hlsLevelLoaded", t.LEVEL_UPDATED = "hlsLevelUpdated", t.LEVEL_PTS_UPDATED = "hlsLevelPtsUpdated", t.LEVELS_UPDATED = "hlsLevelsUpdated", t.AUDIO_TRACKS_UPDATED = "hlsAudioTracksUpdated", t.AUDIO_TRACK_SWITCHING = "hlsAudioTrackSwitching", t.AUDIO_TRACK_SWITCHED = "hlsAudioTrackSwitched", t.AUDIO_TRACK_LOADING = "hlsAudioTrackLoading", t.AUDIO_TRACK_LOADED = "hlsAudioTrackLoaded", t.SUBTITLE_TRACKS_UPDATED = "hlsSubtitleTracksUpdated", t.SUBTITLE_TRACKS_CLEARED = "hlsSubtitleTracksCleared", t.SUBTITLE_TRACK_SWITCH = "hlsSubtitleTrackSwitch", t.SUBTITLE_TRACK_LOADING = "hlsSubtitleTrackLoading", t.SUBTITLE_TRACK_LOADED = "hlsSubtitleTrackLoaded", t.SUBTITLE_FRAG_PROCESSED = "hlsSubtitleFragProcessed", t.CUES_PARSED = "hlsCuesParsed", t.NON_NATIVE_TEXT_TRACKS_FOUND = "hlsNonNativeTextTracksFound", t.INIT_PTS_FOUND = "hlsInitPtsFound", t.FRAG_LOADING = "hlsFragLoading", t.FRAG_LOAD_EMERGENCY_ABORTED = "hlsFragLoadEmergencyAborted", t.FRAG_LOADED = "hlsFragLoaded", t.FRAG_DECRYPTED = "hlsFragDecrypted", t.FRAG_PARSING_INIT_SEGMENT = "hlsFragParsingInitSegment", t.FRAG_PARSING_USERDATA = "hlsFragParsingUserdata", t.FRAG_PARSING_METADATA = "hlsFragParsingMetadata", t.FRAG_PARSED = "hlsFragParsed", t.FRAG_BUFFERED = "hlsFragBuffered", t.FRAG_CHANGED = "hlsFragChanged", t.FPS_DROP = "hlsFpsDrop", t.FPS_DROP_LEVEL_CAPPING = "hlsFpsDropLevelCapping", t.MAX_AUTO_LEVEL_UPDATED = "hlsMaxAutoLevelUpdated", t.ERROR = "hlsError", t.DESTROYING = "hlsDestroying", t.KEY_LOADING = "hlsKeyLoading", t.KEY_LOADED = "hlsKeyLoaded", t.LIVE_BACK_BUFFER_REACHED = "hlsLiveBackBufferReached", t.BACK_BUFFER_REACHED = "hlsBackBufferReached", t.STEERING_MANIFEST_LOADED = "hlsSteeringManifestLoaded", t;
42482
42509
  }({}), Je = /* @__PURE__ */ function(t) {
@@ -42494,18 +42521,18 @@ const ao = function() {
42494
42521
  error: ao
42495
42522
  };
42496
42523
  let di = Iu;
42497
- function c3(t) {
42524
+ function u3(t) {
42498
42525
  const e = self.console[t];
42499
42526
  return e ? e.bind(self.console, `[${t}] >`) : ao;
42500
42527
  }
42501
- function u3(t, ...e) {
42528
+ function d3(t, ...e) {
42502
42529
  e.forEach(function(n) {
42503
- di[n] = t[n] ? t[n].bind(t) : c3(n);
42530
+ di[n] = t[n] ? t[n].bind(t) : u3(n);
42504
42531
  });
42505
42532
  }
42506
- function d3(t, e) {
42533
+ function f3(t, e) {
42507
42534
  if (typeof console == "object" && t === !0 || typeof t == "object") {
42508
- u3(
42535
+ d3(
42509
42536
  t,
42510
42537
  // Remove out from list here to hard-disable a log-level
42511
42538
  // 'trace',
@@ -42523,7 +42550,7 @@ function d3(t, e) {
42523
42550
  } else
42524
42551
  di = Iu;
42525
42552
  }
42526
- const me = di, f3 = /^(\d+)x(\d+)$/, cm = /(.+?)=(".*?"|.*?)(?:,|$)/g;
42553
+ const me = di, p3 = /^(\d+)x(\d+)$/, cm = /(.+?)=(".*?"|.*?)(?:,|$)/g;
42527
42554
  class _t {
42528
42555
  constructor(e) {
42529
42556
  typeof e == "string" && (e = _t.parseAttrList(e)), Yt(this, e);
@@ -42564,7 +42591,7 @@ class _t {
42564
42591
  return this[e] === "YES";
42565
42592
  }
42566
42593
  decimalResolution(e) {
42567
- const n = f3.exec(this[e]);
42594
+ const n = p3.exec(this[e]);
42568
42595
  if (n !== null)
42569
42596
  return {
42570
42597
  width: parseInt(n[1], 10),
@@ -42583,10 +42610,10 @@ class _t {
42583
42610
  return r;
42584
42611
  }
42585
42612
  }
42586
- function p3(t) {
42613
+ function h3(t) {
42587
42614
  return t !== "ID" && t !== "CLASS" && t !== "START-DATE" && t !== "DURATION" && t !== "END-DATE" && t !== "END-ON-NEXT";
42588
42615
  }
42589
- function h3(t) {
42616
+ function m3(t) {
42590
42617
  return t === "SCTE35-OUT" || t === "SCTE35-IN";
42591
42618
  }
42592
42619
  class ov {
@@ -42767,7 +42794,7 @@ class $c extends sv {
42767
42794
  e[wt.AUDIO] = null, e[wt.VIDEO] = null, e[wt.AUDIOVIDEO] = null;
42768
42795
  }
42769
42796
  }
42770
- class m3 extends sv {
42797
+ class g3 extends sv {
42771
42798
  constructor(e, n, r, o, s) {
42772
42799
  super(r), this.fragOffset = 0, this.duration = 0, this.gap = !1, this.independent = !1, this.relurl = void 0, this.fragment = void 0, this.index = void 0, this.stats = new hc(), this.duration = e.decimalFloatingPoint("DURATION"), this.gap = e.bool("GAP"), this.independent = e.bool("INDEPENDENT"), this.relurl = e.enumeratedString("URI"), this.fragment = n, this.index = o;
42773
42800
  const a = e.enumeratedString("BYTERANGE");
@@ -42786,8 +42813,8 @@ class m3 extends sv {
42786
42813
  return !!(e.audio || e.video || e.audiovideo);
42787
42814
  }
42788
42815
  }
42789
- const g3 = 10;
42790
- class b3 {
42816
+ const b3 = 10;
42817
+ class y3 {
42791
42818
  constructor(e) {
42792
42819
  this.PTSKnown = !1, this.alignedSliding = !1, this.averagetargetduration = void 0, this.endCC = 0, this.endSN = 0, this.fragments = void 0, this.fragmentHint = void 0, this.partList = null, this.dateRanges = void 0, this.live = !0, this.ageHeader = 0, this.advancedDateTime = void 0, this.updated = !0, this.advanced = !0, this.availabilityDelay = void 0, this.misses = 0, this.startCC = 0, this.startSN = 0, this.startTimeOffset = null, this.targetduration = 0, this.totalduration = 0, this.type = null, this.url = void 0, this.m3u8 = "", this.version = null, this.canBlockReload = !1, this.canSkipUntil = 0, this.canSkipDateRanges = !1, this.skippedSegments = 0, this.recentlyRemovedDateranges = void 0, this.partHoldBack = 0, this.holdBack = 0, this.partTarget = 0, this.preloadHint = void 0, this.renditionReports = void 0, this.tuneInGoal = 0, this.deltaUpdateFailed = void 0, this.driftStartTime = 0, this.driftEndTime = 0, this.driftStart = 0, this.driftEnd = 0, this.encryptedFragments = void 0, this.playlistParsingError = null, this.variableList = null, this.hasVariableRefs = !1, this.fragments = [], this.encryptedFragments = [], this.dateRanges = {}, this.url = e;
42793
42820
  }
@@ -42803,7 +42830,7 @@ class b3 {
42803
42830
  return this.fragments.length ? Ye(this.fragments[this.fragments.length - 1].programDateTime) : !1;
42804
42831
  }
42805
42832
  get levelTargetDuration() {
42806
- return this.averagetargetduration || this.targetduration || g3;
42833
+ return this.averagetargetduration || this.targetduration || b3;
42807
42834
  }
42808
42835
  get drift() {
42809
42836
  const e = this.driftEndTime - this.driftStartTime;
@@ -42835,25 +42862,25 @@ class b3 {
42835
42862
  function sf(t) {
42836
42863
  return Uint8Array.from(atob(t), (e) => e.charCodeAt(0));
42837
42864
  }
42838
- function y3(t) {
42865
+ function v3(t) {
42839
42866
  const e = Du(t).subarray(0, 16), n = new Uint8Array(16);
42840
42867
  return n.set(e, 16 - e.length), n;
42841
42868
  }
42842
- function v3(t) {
42869
+ function x3(t) {
42843
42870
  const e = function(r, o, s) {
42844
42871
  const a = r[o];
42845
42872
  r[o] = r[s], r[s] = a;
42846
42873
  };
42847
42874
  e(t, 0, 3), e(t, 1, 2), e(t, 4, 5), e(t, 6, 7);
42848
42875
  }
42849
- function x3(t) {
42876
+ function T3(t) {
42850
42877
  const e = t.split(":");
42851
42878
  let n = null;
42852
42879
  if (e[0] === "data" && e.length === 2) {
42853
42880
  const r = e[1].split(";"), o = r[r.length - 1].split(",");
42854
42881
  if (o.length === 2) {
42855
42882
  const s = o[0] === "base64", a = o[1];
42856
- s ? (r.splice(-1, 1), n = sf(a)) : n = y3(a);
42883
+ s ? (r.splice(-1, 1), n = sf(a)) : n = v3(a);
42857
42884
  }
42858
42885
  }
42859
42886
  return n;
@@ -42888,7 +42915,7 @@ function um(t) {
42888
42915
  var iv = {
42889
42916
  WIDEVINE: "edef8ba979d64acea3c827dcd51d21ed"
42890
42917
  };
42891
- function T3(t) {
42918
+ function S3(t) {
42892
42919
  if (t === iv.WIDEVINE)
42893
42920
  return Lt.WIDEVINE;
42894
42921
  }
@@ -42914,7 +42941,7 @@ function Bc(t) {
42914
42941
  const av = function(t) {
42915
42942
  return Ss != null && (t = Ss.navigator) != null && t.requestMediaKeySystemAccess ? self.navigator.requestMediaKeySystemAccess.bind(self.navigator) : null;
42916
42943
  }();
42917
- function S3(t, e, n, r) {
42944
+ function E3(t, e, n, r) {
42918
42945
  let o;
42919
42946
  switch (t) {
42920
42947
  case Lt.FAIRPLAY:
@@ -42930,9 +42957,9 @@ function S3(t, e, n, r) {
42930
42957
  default:
42931
42958
  throw new Error(`Unknown key-system: ${t}`);
42932
42959
  }
42933
- return E3(o, e, n, r);
42960
+ return C3(o, e, n, r);
42934
42961
  }
42935
- function E3(t, e, n, r) {
42962
+ function C3(t, e, n, r) {
42936
42963
  return [{
42937
42964
  initDataTypes: t,
42938
42965
  persistentState: r.persistentState || "optional",
@@ -42966,14 +42993,14 @@ const af = (t, e) => e + 10 <= t.length && t[e] === 73 && t[e + 1] === 68 && t[e
42966
42993
  }, mc = (t, e) => {
42967
42994
  let n = 0;
42968
42995
  return n = (t[e] & 127) << 21, n |= (t[e + 1] & 127) << 14, n |= (t[e + 2] & 127) << 7, n |= t[e + 3] & 127, n;
42969
- }, C3 = (t, e) => af(t, e) && mc(t, e + 6) + 10 <= t.length - e, lf = (t) => {
42996
+ }, w3 = (t, e) => af(t, e) && mc(t, e + 6) + 10 <= t.length - e, lf = (t) => {
42970
42997
  const e = uv(t);
42971
42998
  for (let n = 0; n < e.length; n++) {
42972
42999
  const r = e[n];
42973
43000
  if (cv(r))
42974
- return A3(r);
43001
+ return O3(r);
42975
43002
  }
42976
- }, cv = (t) => t && t.key === "PRIV" && t.info === "com.apple.streaming.transportStreamTimestamp", w3 = (t) => {
43003
+ }, cv = (t) => t && t.key === "PRIV" && t.info === "com.apple.streaming.transportStreamTimestamp", R3 = (t) => {
42977
43004
  const e = String.fromCharCode(t[0], t[1], t[2], t[3]), n = mc(t, 4), r = 10;
42978
43005
  return {
42979
43006
  type: e,
@@ -42988,13 +43015,13 @@ const af = (t, e) => e + 10 <= t.length && t[e] === 73 && t[e + 1] === 68 && t[e
42988
43015
  e += 10;
42989
43016
  const o = e + r;
42990
43017
  for (; e + 8 < o; ) {
42991
- const s = w3(t.subarray(e)), a = R3(s);
43018
+ const s = R3(t.subarray(e)), a = k3(s);
42992
43019
  a && n.push(a), e += s.size + 10;
42993
43020
  }
42994
43021
  lv(t, e) && (e += 10);
42995
43022
  }
42996
43023
  return n;
42997
- }, R3 = (t) => t.type === "PRIV" ? k3(t) : t.type[0] === "W" ? D3(t) : I3(t), k3 = (t) => {
43024
+ }, k3 = (t) => t.type === "PRIV" ? I3(t) : t.type[0] === "W" ? A3(t) : D3(t), I3 = (t) => {
42998
43025
  if (t.size < 2)
42999
43026
  return;
43000
43027
  const e = Rr(t.data, !0), n = new Uint8Array(t.data.subarray(e.length + 1));
@@ -43003,7 +43030,7 @@ const af = (t, e) => e + 10 <= t.length && t[e] === 73 && t[e + 1] === 68 && t[e
43003
43030
  info: e,
43004
43031
  data: n.buffer
43005
43032
  };
43006
- }, I3 = (t) => {
43033
+ }, D3 = (t) => {
43007
43034
  if (t.size < 2)
43008
43035
  return;
43009
43036
  if (t.type === "TXXX") {
@@ -43022,7 +43049,7 @@ const af = (t, e) => e + 10 <= t.length && t[e] === 73 && t[e + 1] === 68 && t[e
43022
43049
  key: t.type,
43023
43050
  data: e
43024
43051
  };
43025
- }, D3 = (t) => {
43052
+ }, A3 = (t) => {
43026
43053
  if (t.type === "WXXX") {
43027
43054
  if (t.size < 2)
43028
43055
  return;
@@ -43041,14 +43068,14 @@ const af = (t, e) => e + 10 <= t.length && t[e] === 73 && t[e + 1] === 68 && t[e
43041
43068
  key: t.type,
43042
43069
  data: e
43043
43070
  };
43044
- }, A3 = (t) => {
43071
+ }, O3 = (t) => {
43045
43072
  if (t.data.byteLength === 8) {
43046
43073
  const e = new Uint8Array(t.data), n = e[3] & 1;
43047
43074
  let r = (e[4] << 23) + (e[5] << 15) + (e[6] << 7) + e[7];
43048
43075
  return r /= 45, n && (r += 4772185884e-2), Math.round(r);
43049
43076
  }
43050
43077
  }, Rr = (t, e = !1) => {
43051
- const n = O3();
43078
+ const n = P3();
43052
43079
  if (n) {
43053
43080
  const u = n.decode(t);
43054
43081
  if (e) {
@@ -43087,7 +43114,7 @@ const af = (t, e) => e + 10 <= t.length && t[e] === 73 && t[e + 1] === 68 && t[e
43087
43114
  return l;
43088
43115
  };
43089
43116
  let jc;
43090
- function O3() {
43117
+ function P3() {
43091
43118
  if (!navigator.userAgent.includes("PlayStation 4"))
43092
43119
  return !jc && typeof self.TextDecoder < "u" && (jc = new self.TextDecoder("utf-8")), jc;
43093
43120
  }
@@ -43100,7 +43127,7 @@ const mr = {
43100
43127
  }
43101
43128
  return e;
43102
43129
  }
43103
- }, pl = Math.pow(2, 32) - 1, P3 = [].push, dv = {
43130
+ }, pl = Math.pow(2, 32) - 1, L3 = [].push, dv = {
43104
43131
  video: 1,
43105
43132
  audio: 2,
43106
43133
  id3: 3,
@@ -43127,7 +43154,7 @@ function pv(t, e) {
43127
43154
  function Vc(t, e, n) {
43128
43155
  t[e] = n >> 24, t[e + 1] = n >> 16 & 255, t[e + 2] = n >> 8 & 255, t[e + 3] = n & 255;
43129
43156
  }
43130
- function L3(t) {
43157
+ function _3(t) {
43131
43158
  const e = t.byteLength;
43132
43159
  for (let n = 0; n < e; ) {
43133
43160
  const r = Ze(t, n);
@@ -43149,13 +43176,13 @@ function nt(t, e) {
43149
43176
  n.push(t.subarray(o + 8, l));
43150
43177
  else {
43151
43178
  const c = nt(t.subarray(o + 8, l), e.slice(1));
43152
- c.length && P3.apply(n, c);
43179
+ c.length && L3.apply(n, c);
43153
43180
  }
43154
43181
  o = l;
43155
43182
  }
43156
43183
  return n;
43157
43184
  }
43158
- function _3(t) {
43185
+ function M3(t) {
43159
43186
  const e = [], n = t[0];
43160
43187
  let r = 8;
43161
43188
  const o = Ze(t, r);
@@ -43208,7 +43235,7 @@ function hv(t) {
43208
43235
  vide: wt.VIDEO
43209
43236
  }[p];
43210
43237
  if (m) {
43211
- const g = nt(s, ["mdia", "minf", "stbl", "stsd"])[0], h = M3(g);
43238
+ const g = nt(s, ["mdia", "minf", "stbl", "stsd"])[0], h = N3(g);
43212
43239
  e[c] = {
43213
43240
  timescale: d,
43214
43241
  type: m
@@ -43229,7 +43256,7 @@ function hv(t) {
43229
43256
  });
43230
43257
  }), e;
43231
43258
  }
43232
- function M3(t) {
43259
+ function N3(t) {
43233
43260
  const e = t.subarray(8), n = e.subarray(86), r = qt(e.subarray(4, 8));
43234
43261
  let o = r;
43235
43262
  const s = r === "enca" || r === "encv";
@@ -43326,7 +43353,7 @@ function ba(t) {
43326
43353
  function pr(t) {
43327
43354
  return (t < 10 ? "0" : "") + t;
43328
43355
  }
43329
- function N3(t, e) {
43356
+ function F3(t, e) {
43330
43357
  if (!t || !e)
43331
43358
  return t;
43332
43359
  const n = e.keyId;
@@ -43355,7 +43382,7 @@ function mv(t) {
43355
43382
  }
43356
43383
  return me.error("[eme] missing 'schm' box"), null;
43357
43384
  }
43358
- function F3(t, e) {
43385
+ function $3(t, e) {
43359
43386
  return nt(e, ["moof", "traf"]).reduce((n, r) => {
43360
43387
  const o = nt(r, ["tfdt"])[0], s = o[0], a = nt(r, ["tfhd"]).reduce((l, c) => {
43361
43388
  const u = Ze(c, 4), d = t[u];
@@ -43375,7 +43402,7 @@ function F3(t, e) {
43375
43402
  return a !== null && Ye(a) && (n === null || a < n) ? a : n;
43376
43403
  }, null);
43377
43404
  }
43378
- function $3(t, e) {
43405
+ function B3(t, e) {
43379
43406
  let n = 0, r = 0, o = 0;
43380
43407
  const s = nt(t, ["moof", "traf"]);
43381
43408
  for (let a = 0; a < s.length; a++) {
@@ -43387,7 +43414,7 @@ function $3(t, e) {
43387
43414
  p & 8 && (p & 2 ? m = Ze(c, 12) : m = Ze(c, 8));
43388
43415
  const g = d.timescale || 9e4, h = nt(l, ["trun"]);
43389
43416
  for (let b = 0; b < h.length; b++) {
43390
- if (n = B3(h[b]), !n && m) {
43417
+ if (n = j3(h[b]), !n && m) {
43391
43418
  const y = Ze(h[b], 4);
43392
43419
  n = m * y;
43393
43420
  }
@@ -43398,7 +43425,7 @@ function $3(t, e) {
43398
43425
  let a = 1 / 0, l = 0, c = 0;
43399
43426
  const u = nt(t, ["sidx"]);
43400
43427
  for (let d = 0; d < u.length; d++) {
43401
- const f = _3(u[d]);
43428
+ const f = M3(u[d]);
43402
43429
  if (f != null && f.references) {
43403
43430
  a = Math.min(a, f.earliestPresentationTime / f.timescale);
43404
43431
  const p = f.references.reduce((m, g) => m + g.info.duration || 0, 0);
@@ -43410,7 +43437,7 @@ function $3(t, e) {
43410
43437
  }
43411
43438
  return r || o;
43412
43439
  }
43413
- function B3(t) {
43440
+ function j3(t) {
43414
43441
  const e = Ze(t, 0);
43415
43442
  let n = 8;
43416
43443
  e & 1 && (n += 4), e & 4 && (n += 4);
@@ -43425,7 +43452,7 @@ function B3(t) {
43425
43452
  }
43426
43453
  return r;
43427
43454
  }
43428
- function j3(t, e, n) {
43455
+ function V3(t, e, n) {
43429
43456
  nt(e, ["moof", "traf"]).forEach((r) => {
43430
43457
  nt(r, ["tfhd"]).forEach((o) => {
43431
43458
  const s = Ze(o, 4), a = t[s];
@@ -43448,7 +43475,7 @@ function j3(t, e, n) {
43448
43475
  });
43449
43476
  });
43450
43477
  }
43451
- function V3(t) {
43478
+ function U3(t) {
43452
43479
  const e = {
43453
43480
  valid: null,
43454
43481
  remainder: null
@@ -43480,7 +43507,7 @@ function pm(t, e) {
43480
43507
  let x = 0;
43481
43508
  const I = (h & 32) !== 0;
43482
43509
  let k = 8;
43483
- g === s && (b && (k += 8), y && (k += 4), v && (T = Ze(m, k), k += 4), S && (x = Ze(m, k), k += 4), I && (k += 4), e.type === "video" && (a = U3(e.codec)), nt(f, ["trun"]).map((L) => {
43510
+ g === s && (b && (k += 8), y && (k += 4), v && (T = Ze(m, k), k += 4), S && (x = Ze(m, k), k += 4), I && (k += 4), e.type === "video" && (a = z3(e.codec)), nt(f, ["trun"]).map((L) => {
43484
43511
  const M = L[0], A = Ze(L, 0) & 16777215, N = (A & 1) !== 0;
43485
43512
  let P = 0;
43486
43513
  const _ = (A & 4) !== 0, E = (A & 256) !== 0;
@@ -43498,7 +43525,7 @@ function pm(t, e) {
43498
43525
  let Y = 0;
43499
43526
  for (; Y < V; ) {
43500
43527
  const X = Ze(r, Q);
43501
- if (Q += 4, z3(a, r[Q])) {
43528
+ if (Q += 4, H3(a, r[Q])) {
43502
43529
  const se = r.subarray(Q, Q + X);
43503
43530
  gv(se, a ? 2 : 1, t + F / o, n);
43504
43531
  }
@@ -43512,14 +43539,14 @@ function pm(t, e) {
43512
43539
  });
43513
43540
  }), n;
43514
43541
  }
43515
- function U3(t) {
43542
+ function z3(t) {
43516
43543
  if (!t)
43517
43544
  return !1;
43518
43545
  const e = t.indexOf("."), n = e < 0 ? t : t.substring(0, e);
43519
43546
  return n === "hvc1" || n === "hev1" || // Dolby Vision
43520
43547
  n === "dvh1" || n === "dvhe";
43521
43548
  }
43522
- function z3(t, e) {
43549
+ function H3(t, e) {
43523
43550
  if (t) {
43524
43551
  const n = e >> 1 & 63;
43525
43552
  return n === 39 || n === 40;
@@ -43608,7 +43635,7 @@ function bv(t) {
43608
43635
  a === n[0] && (a++, n.shift()), s[r] = t[a];
43609
43636
  return s;
43610
43637
  }
43611
- function H3(t) {
43638
+ function W3(t) {
43612
43639
  const e = t[0];
43613
43640
  let n = "", r = "", o = 0, s = 0, a = 0, l = 0, c = 0, u = 0;
43614
43641
  if (e === 0) {
@@ -43622,7 +43649,7 @@ function H3(t) {
43622
43649
  const f = Ze(t, u);
43623
43650
  u += 4;
43624
43651
  const p = Ze(t, u);
43625
- for (u += 4, a = 2 ** 32 * f + p, a3(a) || (a = Number.MAX_SAFE_INTEGER, me.warn("Presentation time exceeds safe integer limit and wrapped to max safe integer in parsing emsg box")), l = Ze(t, u), u += 4, c = Ze(t, u), u += 4; qt(t.subarray(u, u + 1)) !== "\0"; )
43652
+ for (u += 4, a = 2 ** 32 * f + p, l3(a) || (a = Number.MAX_SAFE_INTEGER, me.warn("Presentation time exceeds safe integer limit and wrapped to max safe integer in parsing emsg box")), l = Ze(t, u), u += 4, c = Ze(t, u), u += 4; qt(t.subarray(u, u + 1)) !== "\0"; )
43626
43653
  n += qt(t.subarray(u, u + 1)), u += 1;
43627
43654
  for (n += qt(t.subarray(u, u + 1)), u += 1; qt(t.subarray(u, u + 1)) !== "\0"; )
43628
43655
  r += qt(t.subarray(u, u + 1)), u += 1;
@@ -43640,7 +43667,7 @@ function H3(t) {
43640
43667
  payload: d
43641
43668
  };
43642
43669
  }
43643
- function W3(t, ...e) {
43670
+ function G3(t, ...e) {
43644
43671
  const n = e.length;
43645
43672
  let r = 8, o = n;
43646
43673
  for (; o--; )
@@ -43650,7 +43677,7 @@ function W3(t, ...e) {
43650
43677
  s.set(e[o], r), r += e[o].byteLength;
43651
43678
  return s;
43652
43679
  }
43653
- function G3(t, e, n) {
43680
+ function Y3(t, e, n) {
43654
43681
  if (t.byteLength !== 16)
43655
43682
  throw new RangeError("Invalid system id");
43656
43683
  let r, o;
@@ -43658,7 +43685,7 @@ function G3(t, e, n) {
43658
43685
  let s;
43659
43686
  r > 0 ? (s = new Uint8Array(4), e.length > 0 && new DataView(s.buffer).setUint32(0, e.length, !1)) : s = new Uint8Array();
43660
43687
  const a = new Uint8Array(4);
43661
- return n && n.byteLength > 0 && new DataView(a.buffer).setUint32(0, n.byteLength, !1), W3(
43688
+ return n && n.byteLength > 0 && new DataView(a.buffer).setUint32(0, n.byteLength, !1), G3(
43662
43689
  [112, 115, 115, 104],
43663
43690
  new Uint8Array([
43664
43691
  r,
@@ -43675,7 +43702,7 @@ function G3(t, e, n) {
43675
43702
  n || new Uint8Array()
43676
43703
  );
43677
43704
  }
43678
- function Y3(t) {
43705
+ function K3(t) {
43679
43706
  if (!(t instanceof ArrayBuffer) || t.byteLength < 32)
43680
43707
  return null;
43681
43708
  const e = {
@@ -43728,10 +43755,10 @@ class Oi {
43728
43755
  return null;
43729
43756
  if (this.method === "AES-128" && this.uri && !this.iv) {
43730
43757
  typeof e != "number" && (this.method === "AES-128" && !this.iv && me.warn(`missing IV for initialization segment with method="${this.method}" - compliance issue`), e = 0);
43731
- const r = K3(e);
43758
+ const r = q3(e);
43732
43759
  return new Oi(this.method, this.uri, "identity", this.keyFormatVersions, r);
43733
43760
  }
43734
- const n = x3(this.uri);
43761
+ const n = T3(this.uri);
43735
43762
  if (n)
43736
43763
  switch (this.keyFormat) {
43737
43764
  case gn.WIDEVINE:
@@ -43739,13 +43766,13 @@ class Oi {
43739
43766
  break;
43740
43767
  case gn.PLAYREADY: {
43741
43768
  const r = new Uint8Array([154, 4, 240, 121, 152, 64, 66, 134, 171, 146, 230, 91, 224, 136, 95, 149]);
43742
- this.pssh = G3(r, null, n);
43769
+ this.pssh = Y3(r, null, n);
43743
43770
  const o = new Uint16Array(n.buffer, n.byteOffset, n.byteLength / 2), s = String.fromCharCode.apply(null, Array.from(o)), a = s.substring(s.indexOf("<"), s.length), u = new DOMParser().parseFromString(a, "text/xml").getElementsByTagName("KID")[0];
43744
43771
  if (u) {
43745
43772
  const d = u.childNodes[0] ? u.childNodes[0].nodeValue : u.getAttribute("VALUE");
43746
43773
  if (d) {
43747
43774
  const f = sf(d).subarray(0, 16);
43748
- v3(f), this.keyId = f;
43775
+ x3(f), this.keyId = f;
43749
43776
  }
43750
43777
  }
43751
43778
  break;
@@ -43771,7 +43798,7 @@ class Oi {
43771
43798
  return this;
43772
43799
  }
43773
43800
  }
43774
- function K3(t) {
43801
+ function q3(t) {
43775
43802
  const e = new Uint8Array(16);
43776
43803
  for (let n = 12; n < 16; n++)
43777
43804
  e[n] = t >> 8 * (15 - n) & 255;
@@ -43817,7 +43844,7 @@ function mm(t, e, n) {
43817
43844
  o = e.NAME, s = e.VALUE;
43818
43845
  o in r ? t.playlistParsingError || (t.playlistParsingError = new Error(`EXT-X-DEFINE duplicate Variable Name declarations: "${o}"`)) : r[o] = s || "";
43819
43846
  }
43820
- function q3(t, e, n) {
43847
+ function X3(t, e, n) {
43821
43848
  const r = e.IMPORT;
43822
43849
  if (n && r in n) {
43823
43850
  let o = t.variableList;
@@ -43828,7 +43855,7 @@ function q3(t, e, n) {
43828
43855
  function Co(t = !0) {
43829
43856
  return typeof self > "u" ? void 0 : (t || !self.MediaSource) && self.ManagedMediaSource || self.MediaSource || self.WebKitMediaSource;
43830
43857
  }
43831
- function X3(t) {
43858
+ function Z3(t) {
43832
43859
  return typeof self < "u" && t === self.ManagedMediaSource;
43833
43860
  }
43834
43861
  const hl = {
@@ -43909,7 +43936,7 @@ const hl = {
43909
43936
  wvtt: 1
43910
43937
  }
43911
43938
  };
43912
- function Z3(t, e) {
43939
+ function Q3(t, e) {
43913
43940
  const n = hl[e];
43914
43941
  return !!n && !!n[t.slice(0, 4)];
43915
43942
  }
@@ -43938,7 +43965,7 @@ function ml(t) {
43938
43965
  }, 0);
43939
43966
  }
43940
43967
  const Hc = {};
43941
- function Q3(t, e = !0) {
43968
+ function J3(t, e = !0) {
43942
43969
  if (Hc[t])
43943
43970
  return Hc[t];
43944
43971
  const n = {
@@ -43950,14 +43977,14 @@ function Q3(t, e = !0) {
43950
43977
  return Hc[t] = n[r], n[r];
43951
43978
  return t;
43952
43979
  }
43953
- const J3 = /flac|opus/i;
43980
+ const eB = /flac|opus/i;
43954
43981
  function gl(t, e = !0) {
43955
- return t.replace(J3, (n) => Q3(n.toLowerCase(), e));
43982
+ return t.replace(eB, (n) => J3(n.toLowerCase(), e));
43956
43983
  }
43957
43984
  function bm(t, e) {
43958
43985
  return t && t !== "mp4a" ? t : e && e.split(",")[0];
43959
43986
  }
43960
- function eB(t) {
43987
+ function tB(t) {
43961
43988
  const e = t.split(".");
43962
43989
  if (e.length > 2) {
43963
43990
  let n = e.shift() + ".";
@@ -43965,7 +43992,7 @@ function eB(t) {
43965
43992
  }
43966
43993
  return t;
43967
43994
  }
43968
- const ym = /#EXT-X-STREAM-INF:([^\r\n]*)(?:[\r\n](?:#[^\r\n]*)?)*([^\r\n]+)|#EXT-X-(SESSION-DATA|SESSION-KEY|DEFINE|CONTENT-STEERING|START):([^\r\n]*)[\r\n]+/g, vm = /#EXT-X-MEDIA:(.*)/g, tB = /^#EXT(?:INF|-X-TARGETDURATION):/m, xm = new RegExp([
43995
+ const ym = /#EXT-X-STREAM-INF:([^\r\n]*)(?:[\r\n](?:#[^\r\n]*)?)*([^\r\n]+)|#EXT-X-(SESSION-DATA|SESSION-KEY|DEFINE|CONTENT-STEERING|START):([^\r\n]*)[\r\n]+/g, vm = /#EXT-X-MEDIA:(.*)/g, nB = /^#EXT(?:INF|-X-TARGETDURATION):/m, xm = new RegExp([
43969
43996
  /#EXTINF:\s*(\d*(?:\.\d+)?)(?:,(.*)\s+)?/.source,
43970
43997
  // duration (#EXTINF:<duration>,<title>), group 1 => duration, group 2 => title
43971
43998
  /(?!#) *(\S[^\r\n]*)/.source,
@@ -43976,7 +44003,7 @@ const ym = /#EXT-X-STREAM-INF:([^\r\n]*)(?:[\r\n](?:#[^\r\n]*)?)*([^\r\n]+)|#EXT
43976
44003
  // next segment's program date/time group 5 => the datetime spec
43977
44004
  /#.*/.source
43978
44005
  // All other non-segment oriented tags will match with all groups empty
43979
- ].join("|"), "g"), nB = new RegExp([/#(EXTM3U)/.source, /#EXT-X-(DATERANGE|DEFINE|KEY|MAP|PART|PART-INF|PLAYLIST-TYPE|PRELOAD-HINT|RENDITION-REPORT|SERVER-CONTROL|SKIP|START):(.+)/.source, /#EXT-X-(BITRATE|DISCONTINUITY-SEQUENCE|MEDIA-SEQUENCE|TARGETDURATION|VERSION): *(\d+)/.source, /#EXT-X-(DISCONTINUITY|ENDLIST|GAP|INDEPENDENT-SEGMENTS)/.source, /(#)([^:]*):(.*)/.source, /(#)(.*)(?:.*)\r?\n?/.source].join("|"));
44006
+ ].join("|"), "g"), rB = new RegExp([/#(EXTM3U)/.source, /#EXT-X-(DATERANGE|DEFINE|KEY|MAP|PART|PART-INF|PLAYLIST-TYPE|PRELOAD-HINT|RENDITION-REPORT|SERVER-CONTROL|SKIP|START):(.+)/.source, /#EXT-X-(BITRATE|DISCONTINUITY-SEQUENCE|MEDIA-SEQUENCE|TARGETDURATION|VERSION): *(\d+)/.source, /#EXT-X-(DISCONTINUITY|ENDLIST|GAP|INDEPENDENT-SEGMENTS)/.source, /(#)([^:]*):(.*)/.source, /(#)(.*)(?:.*)\r?\n?/.source].join("|"));
43980
44007
  class xr {
43981
44008
  static findGroup(e, n) {
43982
44009
  for (let r = 0; r < e.length; r++) {
@@ -43991,7 +44018,7 @@ class xr {
43991
44018
  });
43992
44019
  }
43993
44020
  static isMediaPlaylist(e) {
43994
- return tB.test(e);
44021
+ return nB.test(e);
43995
44022
  }
43996
44023
  static parseMasterPlaylist(e, n) {
43997
44024
  const r = hm(e), o = {
@@ -44017,7 +44044,7 @@ class xr {
44017
44044
  name: u.NAME,
44018
44045
  url: xr.resolve(d, n)
44019
44046
  }, p = u.decimalResolution("RESOLUTION");
44020
- p && (f.width = p.width, f.height = p.height), rB(u.CODECS, f), (l = f.unknownCodecs) != null && l.length || s.push(f), o.levels.push(f);
44047
+ p && (f.width = p.width, f.height = p.height), oB(u.CODECS, f), (l = f.unknownCodecs) != null && l.length || s.push(f), o.levels.push(f);
44021
44048
  } else if (a[3]) {
44022
44049
  const u = a[3], d = a[4];
44023
44050
  switch (u) {
@@ -44099,7 +44126,7 @@ class xr {
44099
44126
  return s;
44100
44127
  }
44101
44128
  static parseLevelPlaylist(e, n, r, o, s, a) {
44102
- const l = new b3(n), c = l.fragments;
44129
+ const l = new y3(n), c = l.fragments;
44103
44130
  let u = null, d = 0, f = 0, p = 0, m = 0, g = null, h = new $c(o, n), b, y, v, T = -1, S = !1, x = null;
44104
44131
  for (xm.lastIndex = 0, l.m3u8 = e, l.hasVariableRefs = hm(e); (b = xm.exec(e)) !== null; ) {
44105
44132
  S && (S = !1, h = new $c(o, n), h.start = p, h.sn = d, h.cc = m, h.level = r, u && (h.initSegment = u, h.rawProgramDateTime = u.rawProgramDateTime, u.rawProgramDateTime = null, x && (h.setByteRange(x), x = null)));
@@ -44120,7 +44147,7 @@ class xr {
44120
44147
  } else if (b[5])
44121
44148
  h.rawProgramDateTime = (" " + b[5]).slice(1), h.tagList.push(["PROGRAM-DATE-TIME", h.rawProgramDateTime]), T === -1 && (T = c.length);
44122
44149
  else {
44123
- if (b = b[0].match(nB), !b) {
44150
+ if (b = b[0].match(rB), !b) {
44124
44151
  me.warn("No matches on slow regex match for level playlist!");
44125
44152
  continue;
44126
44153
  }
@@ -44182,7 +44209,7 @@ class xr {
44182
44209
  case "DEFINE": {
44183
44210
  {
44184
44211
  const _ = new _t(N);
44185
- mn(l, _, ["NAME", "VALUE", "IMPORT", "QUERYPARAM"]), "IMPORT" in _ ? q3(l, _, a) : mm(l, _, n);
44212
+ mn(l, _, ["NAME", "VALUE", "IMPORT", "QUERYPARAM"]), "IMPORT" in _ ? X3(l, _, a) : mm(l, _, n);
44186
44213
  }
44187
44214
  break;
44188
44215
  }
@@ -44235,7 +44262,7 @@ class xr {
44235
44262
  _ || (_ = l.partList = []);
44236
44263
  const E = f > 0 ? _[_.length - 1] : void 0, O = f++, $ = new _t(N);
44237
44264
  mn(l, $, ["BYTERANGE", "URI"]);
44238
- const V = new m3($, h, n, O, E);
44265
+ const V = new g3($, h, n, O, E);
44239
44266
  _.push(V), h.duration += V.duration;
44240
44267
  break;
44241
44268
  }
@@ -44263,7 +44290,7 @@ class xr {
44263
44290
  l.endSN = M !== "initSegment" ? M : 0, l.live || (L.endList = !0), k && (l.startCC = k.cc);
44264
44291
  } else
44265
44292
  l.endSN = 0, l.startCC = 0;
44266
- return l.fragmentHint && (p += l.fragmentHint.duration), l.totalduration = p, l.endCC = m, T > 0 && oB(c, T), l;
44293
+ return l.fragmentHint && (p += l.fragmentHint.duration), l.totalduration = p, l.endCC = m, T > 0 && sB(c, T), l;
44267
44294
  }
44268
44295
  }
44269
44296
  function Tm(t, e, n) {
@@ -44279,10 +44306,10 @@ function Sm(t) {
44279
44306
  const n = new _t(t).decimalFloatingPoint("TIME-OFFSET");
44280
44307
  return Ye(n) ? n : null;
44281
44308
  }
44282
- function rB(t, e) {
44309
+ function oB(t, e) {
44283
44310
  let n = (t || "").split(/[ ,]+/).filter((r) => r);
44284
44311
  ["video", "audio", "text"].forEach((r) => {
44285
- const o = n.filter((s) => Z3(s, r));
44312
+ const o = n.filter((s) => Q3(s, r));
44286
44313
  o.length && (e[`${r}Codec`] = o.join(","), n = n.filter((s) => o.indexOf(s) === -1));
44287
44314
  }), e.unknownCodecs = n;
44288
44315
  }
@@ -44290,7 +44317,7 @@ function Em(t, e, n) {
44290
44317
  const r = e[n];
44291
44318
  r && (t[n] = r);
44292
44319
  }
44293
- function oB(t, e) {
44320
+ function sB(t, e) {
44294
44321
  let n = t[e];
44295
44322
  for (let r = e; r--; ) {
44296
44323
  const o = t[r];
@@ -44339,7 +44366,7 @@ function Wc(t, e) {
44339
44366
  let n = t.url;
44340
44367
  return (n === void 0 || n.indexOf("data:") === 0) && (n = e.url), n;
44341
44368
  }
44342
- class sB {
44369
+ class iB {
44343
44370
  constructor(e) {
44344
44371
  this.hls = void 0, this.loaders = /* @__PURE__ */ Object.create(null), this.variableList = null, this.hls = e, this.registerListeners();
44345
44372
  }
@@ -44753,13 +44780,13 @@ function ns(t) {
44753
44780
  function Ou(t, e, n, r) {
44754
44781
  const o = t.mode;
44755
44782
  if (o === "disabled" && (t.mode = "hidden"), t.cues && t.cues.length > 0) {
44756
- const s = aB(t.cues, e, n);
44783
+ const s = lB(t.cues, e, n);
44757
44784
  for (let a = 0; a < s.length; a++)
44758
44785
  (!r || r(s[a])) && t.removeCue(s[a]);
44759
44786
  }
44760
44787
  o === "disabled" && (t.mode = o);
44761
44788
  }
44762
- function iB(t, e) {
44789
+ function aB(t, e) {
44763
44790
  if (e < t[0].startTime)
44764
44791
  return 0;
44765
44792
  const n = t.length - 1;
@@ -44777,8 +44804,8 @@ function iB(t, e) {
44777
44804
  }
44778
44805
  return t[r].startTime - e < e - t[o].startTime ? r : o;
44779
44806
  }
44780
- function aB(t, e, n) {
44781
- const r = [], o = iB(t, e);
44807
+ function lB(t, e, n) {
44808
+ const r = [], o = aB(t, e);
44782
44809
  if (o > -1)
44783
44810
  for (let s = o, a = t.length; s < a; s++) {
44784
44811
  const l = t[s];
@@ -44802,7 +44829,7 @@ var cr = {
44802
44829
  dateRange: "com.apple.quicktime.HLS",
44803
44830
  emsg: "https://aomedia.org/emsg/ID3"
44804
44831
  };
44805
- const lB = 0.25;
44832
+ const cB = 0.25;
44806
44833
  function Pu() {
44807
44834
  if (!(typeof self > "u"))
44808
44835
  return self.VTTCue || self.TextTrackCue;
@@ -44830,10 +44857,10 @@ const va = (() => {
44830
44857
  function Gc(t, e) {
44831
44858
  return t.getTime() / 1e3 - e;
44832
44859
  }
44833
- function cB(t) {
44860
+ function uB(t) {
44834
44861
  return Uint8Array.from(t.replace(/^0x/, "").replace(/([\da-fA-F]{2}) ?/g, "0x$1 ").replace(/ +$/, "").split(" ")).buffer;
44835
44862
  }
44836
- class uB {
44863
+ class dB {
44837
44864
  constructor(e) {
44838
44865
  this.hls = void 0, this.id3Track = null, this.media = null, this.dateRangeCuesAppended = {}, this.hls = e, this._registerListeners();
44839
44866
  }
@@ -44903,7 +44930,7 @@ class uB {
44903
44930
  if (u) {
44904
44931
  const d = s[l].pts;
44905
44932
  let f = d + s[l].duration;
44906
- f > va && (f = va), f - d <= 0 && (f = d + lB);
44933
+ f > va && (f = va), f - d <= 0 && (f = d + cB);
44907
44934
  for (let m = 0; m < u.length; m++) {
44908
44935
  const g = u[m];
44909
44936
  if (!cv(g)) {
@@ -44991,14 +45018,14 @@ class uB {
44991
45018
  const T = Object.keys(p.attr);
44992
45019
  for (let S = 0; S < T.length; S++) {
44993
45020
  const x = T[S];
44994
- if (!p3(x))
45021
+ if (!h3(x))
44995
45022
  continue;
44996
45023
  const I = h[x];
44997
45024
  if (I)
44998
45025
  b && !g.durationKnown && (I.endTime = y);
44999
45026
  else if (u) {
45000
45027
  let k = p.attr[x];
45001
- h3(x) && (k = cB(k));
45028
+ m3(x) && (k = uB(k));
45002
45029
  const L = Im(u, m, y, {
45003
45030
  key: x,
45004
45031
  data: k
@@ -45014,7 +45041,7 @@ class uB {
45014
45041
  }
45015
45042
  }
45016
45043
  }
45017
- class dB {
45044
+ class fB {
45018
45045
  constructor(e) {
45019
45046
  this.hls = void 0, this.config = void 0, this.media = null, this.levelDetails = null, this.currentTime = 0, this.stallCount = 0, this._latency = null, this.timeupdateHandler = () => this.timeupdate(), this.hls = e, this.config = e.config, this.registerListeners();
45020
45047
  }
@@ -45146,11 +45173,11 @@ class dB {
45146
45173
  }
45147
45174
  }
45148
45175
  const Lu = ["NONE", "TYPE-0", "TYPE-1", null];
45149
- function fB(t) {
45176
+ function pB(t) {
45150
45177
  return Lu.indexOf(t) > -1;
45151
45178
  }
45152
45179
  const bl = ["SDR", "PQ", "HLG"];
45153
- function pB(t) {
45180
+ function hB(t) {
45154
45181
  return !!t && bl.indexOf(t) > -1;
45155
45182
  }
45156
45183
  var za = {
@@ -45280,7 +45307,7 @@ function Sv(t, e, n, r, o, s) {
45280
45307
  Yc(h[m], h[m + 1]);
45281
45308
  return t.fragmentHint && Yc(h[h.length - 1], t.fragmentHint), t.PTSKnown = t.alignedSliding = !0, f;
45282
45309
  }
45283
- function hB(t, e) {
45310
+ function mB(t, e) {
45284
45311
  let n = null;
45285
45312
  const r = t.fragments;
45286
45313
  for (let c = r.length - 1; c >= 0; c--) {
@@ -45292,7 +45319,7 @@ function hB(t, e) {
45292
45319
  }
45293
45320
  t.fragmentHint && delete t.fragmentHint.endPTS;
45294
45321
  let o = 0, s;
45295
- if (bB(t, e, (c, u) => {
45322
+ if (yB(t, e, (c, u) => {
45296
45323
  c.relurl && (o = c.cc - u.cc), Ye(c.startPTS) && Ye(c.endPTS) && (u.start = u.startPTS = c.startPTS, u.startDTS = c.startDTS, u.maxStartPTS = c.maxStartPTS, u.endPTS = c.endPTS, u.endDTS = c.endDTS, u.minEndPTS = c.minEndPTS, u.duration = c.endPTS - c.startPTS, u.duration && (s = u), e.PTSKnown = e.alignedSliding = !0), u.elementaryStreams = c.elementaryStreams, u.loader = c.loader, u.stats = c.stats, c.initSegment && (u.initSegment = c.initSegment, n = c.initSegment);
45297
45324
  }), n && (e.fragmentHint ? e.fragments.concat(e.fragmentHint) : e.fragments).forEach((u) => {
45298
45325
  var d;
@@ -45303,14 +45330,14 @@ function hB(t, e) {
45303
45330
  for (let c = e.skippedSegments; c--; )
45304
45331
  e.fragments.shift();
45305
45332
  e.startSN = e.fragments[0].sn, e.startCC = e.fragments[0].cc;
45306
- } else e.canSkipDateRanges && (e.dateRanges = mB(t.dateRanges, e.dateRanges, e.recentlyRemovedDateranges));
45333
+ } else e.canSkipDateRanges && (e.dateRanges = gB(t.dateRanges, e.dateRanges, e.recentlyRemovedDateranges));
45307
45334
  const a = e.fragments;
45308
45335
  if (o) {
45309
45336
  me.warn("discontinuity sliding from playlist, take drift into account");
45310
45337
  for (let c = 0; c < a.length; c++)
45311
45338
  a[c].cc += o;
45312
45339
  }
45313
- e.skippedSegments && (e.startCC = e.fragments[0].cc), gB(t.partList, e.partList, (c, u) => {
45340
+ e.skippedSegments && (e.startCC = e.fragments[0].cc), bB(t.partList, e.partList, (c, u) => {
45314
45341
  u.elementaryStreams = c.elementaryStreams, u.stats = c.stats;
45315
45342
  }), s ? Sv(e, s, s.startPTS, s.endPTS, s.startDTS, s.endDTS) : Ev(t, e), a.length && (e.totalduration = e.edge - a[0].start), e.driftStartTime = t.driftStartTime, e.driftStart = t.driftStart;
45316
45343
  const l = e.advancedDateTime;
@@ -45320,7 +45347,7 @@ function hB(t, e) {
45320
45347
  } else
45321
45348
  e.driftEndTime = t.driftEndTime, e.driftEnd = t.driftEnd, e.advancedDateTime = t.advancedDateTime;
45322
45349
  }
45323
- function mB(t, e, n) {
45350
+ function gB(t, e, n) {
45324
45351
  const r = Yt({}, t);
45325
45352
  return n && n.forEach((o) => {
45326
45353
  delete r[o];
@@ -45329,7 +45356,7 @@ function mB(t, e, n) {
45329
45356
  s.isValid ? r[o] = s : me.warn(`Ignoring invalid Playlist Delta Update DATERANGE tag: "${JSON.stringify(e[o].attr)}"`);
45330
45357
  }), r;
45331
45358
  }
45332
- function gB(t, e, n) {
45359
+ function bB(t, e, n) {
45333
45360
  if (t && e) {
45334
45361
  let r = 0;
45335
45362
  for (let o = 0, s = t.length; o <= s; o++) {
@@ -45338,7 +45365,7 @@ function gB(t, e, n) {
45338
45365
  }
45339
45366
  }
45340
45367
  }
45341
- function bB(t, e, n) {
45368
+ function yB(t, e, n) {
45342
45369
  const r = e.skippedSegments, o = Math.max(t.startSN, e.startSN) - e.startSN, s = (t.fragmentHint ? 1 : 0) + (r ? e.endSN : Math.min(t.endSN, e.endSN)) - e.startSN, a = e.startSN - t.startSN, l = e.fragmentHint ? e.fragments.concat(e.fragmentHint) : e.fragments, c = t.fragmentHint ? t.fragments.concat(t.fragmentHint) : t.fragments;
45343
45370
  for (let u = o; u <= s; u++) {
45344
45371
  const d = c[a + u];
@@ -45358,7 +45385,7 @@ function _u(t, e) {
45358
45385
  t.fragmentHint && (t.fragmentHint.start += e);
45359
45386
  }
45360
45387
  }
45361
- function yB(t, e = 1 / 0) {
45388
+ function vB(t, e = 1 / 0) {
45362
45389
  let n = 1e3 * t.targetduration;
45363
45390
  if (t.updated) {
45364
45391
  const r = t.fragments;
@@ -45370,7 +45397,7 @@ function yB(t, e = 1 / 0) {
45370
45397
  n /= 2;
45371
45398
  return Math.round(n);
45372
45399
  }
45373
- function vB(t, e, n) {
45400
+ function xB(t, e, n) {
45374
45401
  if (!(t != null && t.details))
45375
45402
  return null;
45376
45403
  const r = t.details;
@@ -45427,10 +45454,10 @@ function _m(t) {
45427
45454
  function vl(t, e, n, r) {
45428
45455
  if (!t)
45429
45456
  return !1;
45430
- const o = r == null ? void 0 : r.code, s = e < t.maxNumRetry && (xB(o) || !!n);
45457
+ const o = r == null ? void 0 : r.code, s = e < t.maxNumRetry && (TB(o) || !!n);
45431
45458
  return t.shouldRetry ? t.shouldRetry(t, e, n, r, s) : s;
45432
45459
  }
45433
- function xB(t) {
45460
+ function TB(t) {
45434
45461
  return t === 0 && navigator.onLine === !1 || !!t && (t < 400 || t > 499);
45435
45462
  }
45436
45463
  const Rv = {
@@ -45464,7 +45491,7 @@ const Rv = {
45464
45491
  return null;
45465
45492
  }
45466
45493
  };
45467
- function TB(t, e, n) {
45494
+ function SB(t, e, n) {
45468
45495
  if (e === null || !Array.isArray(t) || !t.length || !Ye(e))
45469
45496
  return null;
45470
45497
  const r = t[0].programDateTime;
@@ -45476,7 +45503,7 @@ function TB(t, e, n) {
45476
45503
  n = n || 0;
45477
45504
  for (let s = 0; s < t.length; ++s) {
45478
45505
  const a = t[s];
45479
- if (EB(e, n, a))
45506
+ if (CB(e, n, a))
45480
45507
  return a;
45481
45508
  }
45482
45509
  return null;
@@ -45488,12 +45515,12 @@ function xl(t, e, n = 0, r = 0, o = 5e-3) {
45488
45515
  const l = t.endDTS - n;
45489
45516
  l > 0 && l < 15e-7 && (n += 15e-7);
45490
45517
  } else n === 0 && e[0].start === 0 && (s = e[0]);
45491
- if (s && ((!t || t.level === s.level) && Mu(n, r, s) === 0 || SB(s, t, Math.min(o, r))))
45518
+ if (s && ((!t || t.level === s.level) && Mu(n, r, s) === 0 || EB(s, t, Math.min(o, r))))
45492
45519
  return s;
45493
45520
  const a = Rv.search(e, Mu.bind(null, n, r));
45494
45521
  return a && (a !== t || !s) ? a : s;
45495
45522
  }
45496
- function SB(t, e, n) {
45523
+ function EB(t, e, n) {
45497
45524
  if (e && e.start === 0 && e.level < t.level && (e.endPTS || 0) > 0) {
45498
45525
  const r = e.tagList.reduce((o, s) => (s[0] === "INF" && (o += parseFloat(s[1])), o), n);
45499
45526
  return t.start <= r;
@@ -45506,11 +45533,11 @@ function Mu(t = 0, e = 0, n) {
45506
45533
  const r = Math.min(e, n.duration + (n.deltaPTS ? n.deltaPTS : 0));
45507
45534
  return n.start + n.duration - r <= t ? 1 : n.start - r > t && n.start ? -1 : 0;
45508
45535
  }
45509
- function EB(t, e, n) {
45536
+ function CB(t, e, n) {
45510
45537
  const r = Math.min(e, n.duration + (n.deltaPTS ? n.deltaPTS : 0)) * 1e3;
45511
45538
  return (n.endProgramDateTime || 0) - r > t;
45512
45539
  }
45513
- function CB(t, e) {
45540
+ function wB(t, e) {
45514
45541
  return Rv.search(t, (n) => n.cc < e ? 1 : n.cc > e ? -1 : 0);
45515
45542
  }
45516
45543
  var nn = {
@@ -45526,7 +45553,7 @@ var nn = {
45526
45553
  MoveAllAlternatesMatchingHDCP: 2,
45527
45554
  SwitchToSDR: 4
45528
45555
  };
45529
- class wB {
45556
+ class RB {
45530
45557
  constructor(e) {
45531
45558
  this.hls = void 0, this.playlistError = 0, this.penalizedRenditions = {}, this.log = void 0, this.warn = void 0, this.error = void 0, this.hls = e, this.log = me.log.bind(me, "[info]:"), this.warn = me.warn.bind(me, "[warning]:"), this.error = me.error.bind(me, "[error]:"), this.registerListeners();
45532
45559
  }
@@ -45821,7 +45848,7 @@ class uf {
45821
45848
  stats: s
45822
45849
  } = n, a = self.performance.now(), l = s.loading.first ? Math.max(0, a - s.loading.first) : 0;
45823
45850
  if (o.advancedDateTime = Date.now() - l, o.live || r != null && r.live) {
45824
- if (o.reloaded(r), r && this.log(`live playlist ${e} ${o.advanced ? "REFRESHED " + o.lastPartSn + "-" + o.lastPartIndex : o.updated ? "UPDATED" : "MISSED"}`), r && o.fragments.length > 0 && hB(r, o), !this.canLoad || !o.live)
45851
+ if (o.reloaded(r), r && this.log(`live playlist ${e} ${o.advanced ? "REFRESHED " + o.lastPartSn + "-" + o.lastPartIndex : o.updated ? "UPDATED" : "MISSED"}`), r && o.fragments.length > 0 && mB(r, o), !this.canLoad || !o.live)
45825
45852
  return;
45826
45853
  let c, u, d;
45827
45854
  if (o.canBlockReload && o.endSN && o.advanced) {
@@ -45847,7 +45874,7 @@ class uf {
45847
45874
  return;
45848
45875
  }
45849
45876
  } else (o.canBlockReload || o.canSkipUntil) && (c = this.getDeliveryDirectives(o, n.deliveryDirectives, u, d));
45850
- const f = this.hls.mainForwardBufferInfo, p = f ? f.end - f.len : 0, m = (o.edge - p) * 1e3, g = yB(o, m);
45877
+ const f = this.hls.mainForwardBufferInfo, p = f ? f.end - f.len : 0, m = (o.edge - p) * 1e3, g = vB(o, m);
45851
45878
  o.updated && a > this.requestScheduled + g && (this.requestScheduled = s.loading.start), u !== void 0 && o.canBlockReload ? this.requestScheduled = s.loading.first + g - (o.partTarget * 1e3 || 1e3) : this.requestScheduled === -1 || this.requestScheduled + g < a ? this.requestScheduled = a : this.requestScheduled - a <= 0 && (this.requestScheduled += g);
45852
45879
  let h = this.requestScheduled - a;
45853
45880
  h = Math.max(0, h), this.log(`reload live playlist ${e} in ${Math.round(h)} ms`), this.timer = self.setTimeout(() => this.loadPlaylist(c), h);
@@ -45900,7 +45927,7 @@ class Ho {
45900
45927
  return this.estimate_;
45901
45928
  }
45902
45929
  }
45903
- class RB {
45930
+ class kB {
45904
45931
  constructor(e, n, r, o = 100) {
45905
45932
  this.defaultEstimate_ = void 0, this.minWeight_ = void 0, this.minDelayMs_ = void 0, this.slow_ = void 0, this.fast_ = void 0, this.defaultTTFB_ = void 0, this.ttfb_ = void 0, this.defaultEstimate_ = r, this.minWeight_ = 1e-3, this.minDelayMs_ = 50, this.slow_ = new Ho(e), this.fast_ = new Ho(n), this.defaultTTFB_ = o, this.ttfb_ = new Ho(e);
45906
45933
  }
@@ -45942,7 +45969,7 @@ const kv = {
45942
45969
  smooth: !0
45943
45970
  }]
45944
45971
  }, Mm = {};
45945
- function kB(t, e, n, r, o, s) {
45972
+ function IB(t, e, n, r, o, s) {
45946
45973
  const a = t.audioCodec ? t.audioGroups : null, l = s == null ? void 0 : s.audioCodec, c = s == null ? void 0 : s.channels, u = c ? parseInt(c) : l ? 1 / 0 : 2;
45947
45974
  let d = null;
45948
45975
  if (a != null && a.length)
@@ -45965,7 +45992,7 @@ function kB(t, e, n, r, o, s) {
45965
45992
  }
45966
45993
  return t.videoCodec !== void 0 && (t.width > 1920 && t.height > 1088 || t.height > 1920 && t.width > 1088 || t.frameRate > Math.max(r, 30) || t.videoRange !== "SDR" && t.videoRange !== n || t.bitrate > Math.max(o, 8e6)) || !!d && Ye(u) && Object.keys(d).some((f) => parseInt(f) > u);
45967
45994
  }
45968
- function IB(t, e, n) {
45995
+ function DB(t, e, n) {
45969
45996
  const r = t.videoCodec, o = t.audioCodec;
45970
45997
  if (!r || !o || !n)
45971
45998
  return Promise.resolve(kv);
@@ -46000,7 +46027,7 @@ function IB(t, e, n) {
46000
46027
  }
46001
46028
  }));
46002
46029
  }), Promise.all(l.map((c) => {
46003
- const u = DB(c);
46030
+ const u = AB(c);
46004
46031
  return Mm[u] || (Mm[u] = n.decodingInfo(c));
46005
46032
  })).then((c) => ({
46006
46033
  supported: !c.some((u) => !u.supported),
@@ -46013,7 +46040,7 @@ function IB(t, e, n) {
46013
46040
  error: c
46014
46041
  }));
46015
46042
  }
46016
- function DB(t) {
46043
+ function AB(t) {
46017
46044
  const {
46018
46045
  audio: e,
46019
46046
  video: n
@@ -46027,7 +46054,7 @@ function DB(t) {
46027
46054
  }
46028
46055
  return "";
46029
46056
  }
46030
- function AB() {
46057
+ function OB() {
46031
46058
  if (typeof matchMedia == "function") {
46032
46059
  const t = matchMedia("(dynamic-range: high)"), e = matchMedia("bad query");
46033
46060
  if (t.media !== e.media)
@@ -46035,20 +46062,20 @@ function AB() {
46035
46062
  }
46036
46063
  return !1;
46037
46064
  }
46038
- function OB(t, e) {
46065
+ function PB(t, e) {
46039
46066
  let n = !1, r = [];
46040
- return t && (n = t !== "SDR", r = [t]), e && (r = e.allowedVideoRanges || bl.slice(0), n = e.preferHDR !== void 0 ? e.preferHDR : AB(), n ? r = r.filter((o) => o !== "SDR") : r = ["SDR"]), {
46067
+ return t && (n = t !== "SDR", r = [t]), e && (r = e.allowedVideoRanges || bl.slice(0), n = e.preferHDR !== void 0 ? e.preferHDR : OB(), n ? r = r.filter((o) => o !== "SDR") : r = ["SDR"]), {
46041
46068
  preferHDR: n,
46042
46069
  allowedVideoRanges: r
46043
46070
  };
46044
46071
  }
46045
- function PB(t, e, n, r, o) {
46072
+ function LB(t, e, n, r, o) {
46046
46073
  const s = Object.keys(t), a = r == null ? void 0 : r.channels, l = r == null ? void 0 : r.audioCodec, c = a && parseInt(a) === 2;
46047
46074
  let u = !0, d = !1, f = 1 / 0, p = 1 / 0, m = 1 / 0, g = 0, h = [];
46048
46075
  const {
46049
46076
  preferHDR: b,
46050
46077
  allowedVideoRanges: y
46051
- } = OB(e, o);
46078
+ } = PB(e, o);
46052
46079
  for (let x = s.length; x--; ) {
46053
46080
  const I = t[s[x]];
46054
46081
  u = I.channels[2] > 0, f = Math.min(f, I.minHeight), p = Math.min(p, I.minFramerate), m = Math.min(m, I.minBitrate);
@@ -46084,7 +46111,7 @@ function PB(t, e, n, r, o) {
46084
46111
  function Or(t, e) {
46085
46112
  me.log(`[abr] start candidates with "${t}" ignored because ${e}`);
46086
46113
  }
46087
- function LB(t) {
46114
+ function _B(t) {
46088
46115
  return t.reduce((e, n) => {
46089
46116
  let r = e.groups[n.groupId];
46090
46117
  r || (r = e.groups[n.groupId] = {
@@ -46103,7 +46130,7 @@ function LB(t) {
46103
46130
  groups: {}
46104
46131
  });
46105
46132
  }
46106
- function _B(t, e, n, r) {
46133
+ function MB(t, e, n, r) {
46107
46134
  return t.slice(n, r + 1).reduce((o, s) => {
46108
46135
  if (!s.codecSet)
46109
46136
  return o;
@@ -46156,9 +46183,9 @@ function us(t, e, n) {
46156
46183
  characteristics: l,
46157
46184
  default: c
46158
46185
  } = t, u = t.forced;
46159
- return (r === void 0 || e.groupId === r) && (o === void 0 || e.name === o) && (s === void 0 || e.lang === s) && (s === void 0 || e.assocLang === a) && (c === void 0 || e.default === c) && (u === void 0 || e.forced === u) && (l === void 0 || MB(l, e.characteristics)) && (n === void 0 || n(t, e));
46186
+ return (r === void 0 || e.groupId === r) && (o === void 0 || e.name === o) && (s === void 0 || e.lang === s) && (s === void 0 || e.assocLang === a) && (c === void 0 || e.default === c) && (u === void 0 || e.forced === u) && (l === void 0 || NB(l, e.characteristics)) && (n === void 0 || n(t, e));
46160
46187
  }
46161
- function MB(t, e = "") {
46188
+ function NB(t, e = "") {
46162
46189
  const n = t.split(","), r = e.split(",");
46163
46190
  return n.length === r.length && !n.some((o) => r.indexOf(o) === -1);
46164
46191
  }
@@ -46169,7 +46196,7 @@ function Wo(t, e) {
46169
46196
  } = t;
46170
46197
  return (n === void 0 || (e.audioCodec || "").substring(0, 4) === n.substring(0, 4)) && (r === void 0 || r === (e.channels || "2"));
46171
46198
  }
46172
- function NB(t, e, n, r, o) {
46199
+ function FB(t, e, n, r, o) {
46173
46200
  const s = e[r], l = e.reduce((p, m, g) => {
46174
46201
  const h = m.uri;
46175
46202
  return (p[h] || (p[h] = [])).push(g), p;
@@ -46195,7 +46222,7 @@ function Nm(t, e, n) {
46195
46222
  return r;
46196
46223
  return -1;
46197
46224
  }
46198
- class FB {
46225
+ class $B {
46199
46226
  constructor(e) {
46200
46227
  this.hls = void 0, this.lastLevelLoadSec = 0, this.lastLoadedFragLevel = -1, this.firstSelection = -1, this._nextAutoLevel = -1, this.nextAutoLevelKey = "", this.audioTracksByGroup = null, this.codecTiers = null, this.timer = -1, this.fragCurrent = null, this.partCurrent = null, this.bitrateTestDelay = 0, this.bwEstimator = void 0, this._abandonRulesCheck = () => {
46201
46228
  const {
@@ -46257,7 +46284,7 @@ class FB {
46257
46284
  }
46258
46285
  initEstimator() {
46259
46286
  const e = this.hls.config;
46260
- return new RB(e.abrEwmaSlowVoD, e.abrEwmaFastVoD, e.abrEwmaDefaultEstimate);
46287
+ return new kB(e.abrEwmaSlowVoD, e.abrEwmaFastVoD, e.abrEwmaDefaultEstimate);
46261
46288
  }
46262
46289
  registerListeners() {
46263
46290
  const {
@@ -46455,11 +46482,11 @@ class FB {
46455
46482
  const {
46456
46483
  audioPreference: L,
46457
46484
  videoPreference: M
46458
- } = y, A = this.audioTracksByGroup || (this.audioTracksByGroup = LB(h));
46485
+ } = y, A = this.audioTracksByGroup || (this.audioTracksByGroup = _B(h));
46459
46486
  if (S) {
46460
46487
  if (this.firstSelection !== -1)
46461
46488
  return this.firstSelection;
46462
- const O = this.codecTiers || (this.codecTiers = _B(g, A, n, r)), $ = PB(O, I, e, L, M), {
46489
+ const O = this.codecTiers || (this.codecTiers = MB(g, A, n, r)), $ = LB(O, I, e, L, M), {
46463
46490
  codecSet: V,
46464
46491
  videoRanges: W,
46465
46492
  minFramerate: U,
@@ -46477,7 +46504,7 @@ class FB {
46477
46504
  continue;
46478
46505
  if (y.useMediaCapabilities && !$.supportedResult && !$.supportedPromise) {
46479
46506
  const q = navigator.mediaCapabilities;
46480
- typeof (q == null ? void 0 : q.decodingInfo) == "function" && kB($, A, I, k, e, L) ? ($.supportedPromise = IB($, A, q), $.supportedPromise.then((Y) => {
46507
+ typeof (q == null ? void 0 : q.decodingInfo) == "function" && IB($, A, I, k, e, L) ? ($.supportedPromise = DB($, A, q), $.supportedPromise.then((Y) => {
46481
46508
  if (!this.hls)
46482
46509
  return;
46483
46510
  $.supportedResult = Y;
@@ -46515,7 +46542,7 @@ class FB {
46515
46542
  this._nextAutoLevel !== o && (this.nextAutoLevelKey = "", this._nextAutoLevel = o);
46516
46543
  }
46517
46544
  }
46518
- class $B {
46545
+ class BB {
46519
46546
  constructor() {
46520
46547
  this._boundTick = void 0, this._tickTimer = null, this._tickInterval = null, this._tickCallCount = 0, this._boundTick = this.tick.bind(this);
46521
46548
  }
@@ -46576,7 +46603,7 @@ var Zt = {
46576
46603
  PARTIAL: "PARTIAL",
46577
46604
  OK: "OK"
46578
46605
  };
46579
- class BB {
46606
+ class jB {
46580
46607
  constructor(e) {
46581
46608
  this.activePartLists = /* @__PURE__ */ Object.create(null), this.endListFragments = /* @__PURE__ */ Object.create(null), this.fragments = /* @__PURE__ */ Object.create(null), this.timeRanges = /* @__PURE__ */ Object.create(null), this.bufferPadding = 0.2, this.hls = void 0, this.hasGaps = !1, this.hls = e, this._registerListeners();
46582
46609
  }
@@ -46825,7 +46852,7 @@ function xa(t) {
46825
46852
  function Go(t) {
46826
46853
  return `${t.type}_${t.level}_${t.sn}`;
46827
46854
  }
46828
- const jB = {
46855
+ const VB = {
46829
46856
  length: 0,
46830
46857
  start: () => 0,
46831
46858
  end: () => 0
@@ -46909,7 +46936,7 @@ class It {
46909
46936
  try {
46910
46937
  return e.buffered;
46911
46938
  } catch (n) {
46912
- return me.log("failed to get media.buffered", n), jB;
46939
+ return me.log("failed to get media.buffered", n), VB;
46913
46940
  }
46914
46941
  }
46915
46942
  }
@@ -46938,10 +46965,10 @@ function Ha(t, e) {
46938
46965
  }
46939
46966
  return null;
46940
46967
  }
46941
- function VB(t, e, n) {
46968
+ function UB(t, e, n) {
46942
46969
  return !!(e && (n.endCC > n.startCC || t && t.cc < n.startCC));
46943
46970
  }
46944
- function UB(t, e) {
46971
+ function zB(t, e) {
46945
46972
  const n = t.fragments, r = e.fragments;
46946
46973
  if (!r.length || !n.length) {
46947
46974
  me.log("No fragments to align");
@@ -46966,12 +46993,12 @@ function Iv(t, e) {
46966
46993
  Fm(n[r], t);
46967
46994
  e.fragmentHint && Fm(e.fragmentHint, t), e.alignedSliding = !0;
46968
46995
  }
46969
- function zB(t, e, n) {
46970
- e && (HB(t, n, e), !n.alignedSliding && e && Tl(n, e), !n.alignedSliding && e && !n.skippedSegments && Ev(e, n));
46971
- }
46972
46996
  function HB(t, e, n) {
46973
- if (VB(t, n, e)) {
46974
- const r = UB(n, e);
46997
+ e && (WB(t, n, e), !n.alignedSliding && e && Tl(n, e), !n.alignedSliding && e && !n.skippedSegments && Ev(e, n));
46998
+ }
46999
+ function WB(t, e, n) {
47000
+ if (UB(t, n, e)) {
47001
+ const r = zB(n, e);
46975
47002
  r && Ye(r.start) && (me.log(`Adjusting PTS using last level due to CC increase within current level ${e.url}`), Iv(r.start, e));
46976
47003
  }
46977
47004
  }
@@ -46991,7 +47018,7 @@ function Tl(t, e) {
46991
47018
  Iv(u, t);
46992
47019
  }
46993
47020
  const $m = Math.pow(2, 17);
46994
- class WB {
47021
+ class GB {
46995
47022
  constructor(e) {
46996
47023
  this.config = void 0, this.loader = null, this.partLoadTimeout = -1, this.config = e;
46997
47024
  }
@@ -47209,7 +47236,7 @@ class Lr extends Error {
47209
47236
  super(e.error.message), this.data = void 0, this.data = e;
47210
47237
  }
47211
47238
  }
47212
- class GB {
47239
+ class YB {
47213
47240
  constructor(e, n) {
47214
47241
  this.subtle = void 0, this.aesIV = void 0, this.subtle = e, this.aesIV = n;
47215
47242
  }
@@ -47220,7 +47247,7 @@ class GB {
47220
47247
  }, n, e);
47221
47248
  }
47222
47249
  }
47223
- class YB {
47250
+ class KB {
47224
47251
  constructor(e, n) {
47225
47252
  this.subtle = void 0, this.key = void 0, this.subtle = e, this.key = n;
47226
47253
  }
@@ -47230,11 +47257,11 @@ class YB {
47230
47257
  }, !1, ["encrypt", "decrypt"]);
47231
47258
  }
47232
47259
  }
47233
- function KB(t) {
47260
+ function qB(t) {
47234
47261
  const e = t.byteLength, n = e && new DataView(t.buffer).getUint8(e - 1);
47235
47262
  return n ? mo(t, 0, e - n) : t;
47236
47263
  }
47237
- class qB {
47264
+ class XB {
47238
47265
  constructor() {
47239
47266
  this.rcon = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], this.subMix = [new Uint32Array(256), new Uint32Array(256), new Uint32Array(256), new Uint32Array(256)], this.invSubMix = [new Uint32Array(256), new Uint32Array(256), new Uint32Array(256), new Uint32Array(256)], this.sBox = new Uint32Array(256), this.invSBox = new Uint32Array(256), this.key = new Uint32Array(0), this.ksRows = 0, this.keySize = 0, this.keySchedule = void 0, this.invKeySchedule = void 0, this.initTable();
47240
47267
  }
@@ -47301,7 +47328,7 @@ class qB {
47301
47328
  return v.buffer;
47302
47329
  }
47303
47330
  }
47304
- const XB = 16;
47331
+ const ZB = 16;
47305
47332
  class ff {
47306
47333
  constructor(e, {
47307
47334
  removePKCS7Padding: n = !0
@@ -47328,7 +47355,7 @@ class ff {
47328
47355
  if (!e || n)
47329
47356
  return this.reset(), null;
47330
47357
  const r = new Uint8Array(e);
47331
- return this.reset(), this.removePKCS7Padding ? KB(r) : r;
47358
+ return this.reset(), this.removePKCS7Padding ? qB(r) : r;
47332
47359
  }
47333
47360
  reset() {
47334
47361
  this.currentResult = null, this.currentIV = null, this.remainderData = null, this.softwareDecrypter && (this.softwareDecrypter = null);
@@ -47354,7 +47381,7 @@ class ff {
47354
47381
  return null;
47355
47382
  o && (r = o);
47356
47383
  let c = this.softwareDecrypter;
47357
- c || (c = this.softwareDecrypter = new qB()), c.expandKey(n);
47384
+ c || (c = this.softwareDecrypter = new XB()), c.expandKey(n);
47358
47385
  const u = s;
47359
47386
  return this.currentResult = c.decrypt(l.buffer, 0, r), this.currentIV = mo(l, -16).buffer, u || null;
47360
47387
  }
@@ -47362,9 +47389,9 @@ class ff {
47362
47389
  if (this.key !== n || !this.fastAesKey) {
47363
47390
  if (!this.subtle)
47364
47391
  return Promise.resolve(this.onWebCryptoError(e, n, r));
47365
- this.key = n, this.fastAesKey = new YB(this.subtle, n);
47392
+ this.key = n, this.fastAesKey = new KB(this.subtle, n);
47366
47393
  }
47367
- return this.fastAesKey.expandKey().then((o) => this.subtle ? (this.logOnce("WebCrypto AES decrypt"), new GB(this.subtle, new Uint8Array(r)).decrypt(e.buffer, o)) : Promise.reject(new Error("web crypto not initialized"))).catch((o) => (me.warn(`[decrypter]: WebCrypto Error, disable WebCrypto API, ${o.name}: ${o.message}`), this.onWebCryptoError(e, n, r)));
47394
+ return this.fastAesKey.expandKey().then((o) => this.subtle ? (this.logOnce("WebCrypto AES decrypt"), new YB(this.subtle, new Uint8Array(r)).decrypt(e.buffer, o)) : Promise.reject(new Error("web crypto not initialized"))).catch((o) => (me.warn(`[decrypter]: WebCrypto Error, disable WebCrypto API, ${o.name}: ${o.message}`), this.onWebCryptoError(e, n, r)));
47368
47395
  }
47369
47396
  onWebCryptoError(e, n, r) {
47370
47397
  this.useSoftware = !0, this.logEnabled = !0, this.softwareDecrypt(e, n, r);
@@ -47375,14 +47402,14 @@ class ff {
47375
47402
  }
47376
47403
  getValidChunk(e) {
47377
47404
  let n = e;
47378
- const r = e.length - e.length % XB;
47405
+ const r = e.length - e.length % ZB;
47379
47406
  return r !== e.length && (n = mo(e, 0, r), this.remainderData = mo(e, r)), n;
47380
47407
  }
47381
47408
  logOnce(e) {
47382
47409
  this.logEnabled && (me.log(`[decrypter]: ${e}`), this.logEnabled = !1);
47383
47410
  }
47384
47411
  }
47385
- const ZB = {
47412
+ const QB = {
47386
47413
  toString: function(t) {
47387
47414
  let e = "";
47388
47415
  const n = t.length;
@@ -47404,9 +47431,9 @@ const ZB = {
47404
47431
  WAITING_INIT_PTS: "WAITING_INIT_PTS",
47405
47432
  WAITING_LEVEL: "WAITING_LEVEL"
47406
47433
  };
47407
- class pf extends $B {
47434
+ class pf extends BB {
47408
47435
  constructor(e, n, r, o, s) {
47409
- super(), this.hls = void 0, this.fragPrevious = null, this.fragCurrent = null, this.fragmentTracker = void 0, this.transmuxer = null, this._state = Ae.STOPPED, this.playlistType = void 0, this.media = null, this.mediaBuffer = null, this.config = void 0, this.bitrateTest = !1, this.lastCurrentTime = 0, this.nextLoadPosition = 0, this.startPosition = 0, this.startTimeOffset = null, this.loadedmetadata = !1, this.retryDate = 0, this.levels = null, this.fragmentLoader = void 0, this.keyLoader = void 0, this.levelLastLoaded = null, this.startFragRequested = !1, this.decrypter = void 0, this.initPTS = [], this.onvseeking = null, this.onvended = null, this.logPrefix = "", this.log = void 0, this.warn = void 0, this.playlistType = s, this.logPrefix = o, this.log = me.log.bind(me, `${o}:`), this.warn = me.warn.bind(me, `${o}:`), this.hls = e, this.fragmentLoader = new WB(e.config), this.keyLoader = r, this.fragmentTracker = n, this.config = e.config, this.decrypter = new ff(e.config), e.on(z.MANIFEST_LOADED, this.onManifestLoaded, this);
47436
+ super(), this.hls = void 0, this.fragPrevious = null, this.fragCurrent = null, this.fragmentTracker = void 0, this.transmuxer = null, this._state = Ae.STOPPED, this.playlistType = void 0, this.media = null, this.mediaBuffer = null, this.config = void 0, this.bitrateTest = !1, this.lastCurrentTime = 0, this.nextLoadPosition = 0, this.startPosition = 0, this.startTimeOffset = null, this.loadedmetadata = !1, this.retryDate = 0, this.levels = null, this.fragmentLoader = void 0, this.keyLoader = void 0, this.levelLastLoaded = null, this.startFragRequested = !1, this.decrypter = void 0, this.initPTS = [], this.onvseeking = null, this.onvended = null, this.logPrefix = "", this.log = void 0, this.warn = void 0, this.playlistType = s, this.logPrefix = o, this.log = me.log.bind(me, `${o}:`), this.warn = me.warn.bind(me, `${o}:`), this.hls = e, this.fragmentLoader = new GB(e.config), this.keyLoader = r, this.fragmentTracker = n, this.config = e.config, this.decrypter = new ff(e.config), e.on(z.MANIFEST_LOADED, this.onManifestLoaded, this);
47410
47437
  }
47411
47438
  doTick() {
47412
47439
  this.onTickEnd();
@@ -47597,7 +47624,7 @@ class pf extends $B {
47597
47624
  fragBufferedComplete(e, n) {
47598
47625
  var r, o, s, a;
47599
47626
  const l = this.mediaBuffer ? this.mediaBuffer : this.media;
47600
- if (this.log(`Buffered ${e.type} sn: ${e.sn}${n ? " part: " + n.index : ""} of ${this.playlistType === Qe.MAIN ? "level" : "track"} ${e.level} (frag:[${((r = e.startPTS) != null ? r : NaN).toFixed(3)}-${((o = e.endPTS) != null ? o : NaN).toFixed(3)}] > buffer:${l ? ZB.toString(It.getBuffered(l)) : "(detached)"})`), e.sn !== "initSegment") {
47627
+ if (this.log(`Buffered ${e.type} sn: ${e.sn}${n ? " part: " + n.index : ""} of ${this.playlistType === Qe.MAIN ? "level" : "track"} ${e.level} (frag:[${((r = e.startPTS) != null ? r : NaN).toFixed(3)}-${((o = e.endPTS) != null ? o : NaN).toFixed(3)}] > buffer:${l ? QB.toString(It.getBuffered(l)) : "(detached)"})`), e.sn !== "initSegment") {
47601
47628
  var c;
47602
47629
  if (e.type !== Qe.SUBTITLE) {
47603
47630
  const d = e.elementaryStreams;
@@ -47726,7 +47753,7 @@ class pf extends $B {
47726
47753
  } = e;
47727
47754
  if (!(n != null && n[o]))
47728
47755
  return this.warn(`Levels object was unset while buffering fragment ${s} of level ${o}. The current chunk will not be buffered.`), null;
47729
- const l = n[o], c = a > -1 ? Pm(l, s, a) : null, u = c ? c.fragment : vB(l, s, r);
47756
+ const l = n[o], c = a > -1 ? Pm(l, s, a) : null, u = c ? c.fragment : xB(l, s, r);
47730
47757
  return u ? (r && r !== u && (u.stats = r.stats), {
47731
47758
  frag: u,
47732
47759
  part: c,
@@ -47863,13 +47890,13 @@ class pf extends $B {
47863
47890
  const r = this.fragPrevious;
47864
47891
  let o = null;
47865
47892
  if (r) {
47866
- if (e.hasProgramDateTime && (this.log(`Live playlist, switching playlist, load frag with same PDT: ${r.programDateTime}`), o = TB(n, r.endProgramDateTime, this.config.maxFragLookUpTolerance)), !o) {
47893
+ if (e.hasProgramDateTime && (this.log(`Live playlist, switching playlist, load frag with same PDT: ${r.programDateTime}`), o = SB(n, r.endProgramDateTime, this.config.maxFragLookUpTolerance)), !o) {
47867
47894
  const s = r.sn + 1;
47868
47895
  if (s >= e.startSN && s <= e.endSN) {
47869
47896
  const a = n[s - e.startSN];
47870
47897
  r.cc === a.cc && (o = a, this.log(`Live playlist, switching playlist, load frag with next SN: ${o.sn}`));
47871
47898
  }
47872
- o || (o = CB(n, r.cc), o && this.log(`Live playlist, switching playlist, load frag with same CC: ${o.sn}`));
47899
+ o || (o = wB(n, r.cc), o && this.log(`Live playlist, switching playlist, load frag with same CC: ${o.sn}`));
47873
47900
  }
47874
47901
  } else {
47875
47902
  const s = this.hls.liveSyncPosition;
@@ -47933,7 +47960,7 @@ class pf extends $B {
47933
47960
  const {
47934
47961
  fragPrevious: c
47935
47962
  } = this;
47936
- zB(c, r, e);
47963
+ HB(c, r, e);
47937
47964
  const u = e.fragments[0].start;
47938
47965
  return this.log(`Live playlist sliding: ${u.toFixed(2)} start-sn: ${n ? n.startSN : "na"}->${e.startSN} prev-sn: ${c ? c.sn : "na"} fragments: ${o}`), u;
47939
47966
  }
@@ -48102,7 +48129,7 @@ class Dv {
48102
48129
  } = this;
48103
48130
  let r;
48104
48131
  if (e.length)
48105
- e.length === 1 ? r = e[0] : r = QB(e, n);
48132
+ e.length === 1 ? r = e[0] : r = JB(e, n);
48106
48133
  else return new Uint8Array(0);
48107
48134
  return this.reset(), r;
48108
48135
  }
@@ -48110,7 +48137,7 @@ class Dv {
48110
48137
  this.chunks.length = 0, this.dataLength = 0;
48111
48138
  }
48112
48139
  }
48113
- function QB(t, e) {
48140
+ function JB(t, e) {
48114
48141
  const n = new Uint8Array(e);
48115
48142
  let r = 0;
48116
48143
  for (let o = 0; o < t.length; o++) {
@@ -48119,10 +48146,10 @@ function QB(t, e) {
48119
48146
  }
48120
48147
  return n;
48121
48148
  }
48122
- function JB() {
48149
+ function e4() {
48123
48150
  return typeof __HLS_WORKER_BUNDLE__ == "function";
48124
48151
  }
48125
- function e4() {
48152
+ function t4() {
48126
48153
  const t = new self.Blob([`var exports={};var module={exports:exports};function define(f){f()};define.amd=true;(${__HLS_WORKER_BUNDLE__.toString()})(true);`], {
48127
48154
  type: "text/javascript"
48128
48155
  }), e = self.URL.createObjectURL(t);
@@ -48131,7 +48158,7 @@ function e4() {
48131
48158
  objectURL: e
48132
48159
  };
48133
48160
  }
48134
- function t4(t) {
48161
+ function n4(t) {
48135
48162
  const e = new self.URL(t, self.location.href).href;
48136
48163
  return {
48137
48164
  worker: new self.Worker(e),
@@ -48180,7 +48207,7 @@ class hf {
48180
48207
  this.cachedData && (e = Zn(this.cachedData, e), this.cachedData = null);
48181
48208
  let r = Ai(e, 0), o = r ? r.length : 0, s;
48182
48209
  const a = this._audioTrack, l = this._id3Track, c = r ? lf(r) : void 0, u = e.length;
48183
- for ((this.basePTS === null || this.frameIndex === 0 && Ye(c)) && (this.basePTS = n4(c, n, this.initPTS), this.lastPTS = this.basePTS), this.lastPTS === null && (this.lastPTS = this.basePTS), r && r.length > 0 && l.samples.push({
48210
+ for ((this.basePTS === null || this.frameIndex === 0 && Ye(c)) && (this.basePTS = r4(c, n, this.initPTS), this.lastPTS = this.basePTS), this.lastPTS === null && (this.lastPTS = this.basePTS), r && r.length > 0 && l.samples.push({
48184
48211
  pts: this.lastPTS,
48185
48212
  dts: this.lastPTS,
48186
48213
  data: r,
@@ -48190,7 +48217,7 @@ class hf {
48190
48217
  if (this.canParse(e, o)) {
48191
48218
  const d = this.appendFrame(a, e, o);
48192
48219
  d ? (this.frameIndex++, this.lastPTS = d.sample.pts, o += d.length, s = o) : o = u;
48193
- } else C3(e, o) ? (r = Ai(e, o), l.samples.push({
48220
+ } else w3(e, o) ? (r = Ai(e, o), l.samples.push({
48194
48221
  pts: this.lastPTS,
48195
48222
  dts: this.lastPTS,
48196
48223
  data: r,
@@ -48224,13 +48251,13 @@ class hf {
48224
48251
  destroy() {
48225
48252
  }
48226
48253
  }
48227
- const n4 = (t, e, n) => {
48254
+ const r4 = (t, e, n) => {
48228
48255
  if (Ye(t))
48229
48256
  return t * 90;
48230
48257
  const r = n ? n.baseTime * 9e4 / n.timescale : 0;
48231
48258
  return e * 9e4 + r;
48232
48259
  };
48233
- function r4(t, e, n, r) {
48260
+ function o4(t, e, n, r) {
48234
48261
  let o, s, a, l;
48235
48262
  const c = navigator.userAgent.toLowerCase(), u = r, d = [96e3, 88200, 64e3, 48e3, 44100, 32e3, 24e3, 22050, 16e3, 12e3, 11025, 8e3, 7350];
48236
48263
  o = ((e[n + 2] & 192) >>> 6) + 1;
@@ -48263,16 +48290,16 @@ function Ov(t, e) {
48263
48290
  function mf(t, e) {
48264
48291
  return (t[e + 3] & 3) << 11 | t[e + 4] << 3 | (t[e + 5] & 224) >>> 5;
48265
48292
  }
48266
- function o4(t, e) {
48293
+ function s4(t, e) {
48267
48294
  return e + 5 < t.length;
48268
48295
  }
48269
48296
  function Sl(t, e) {
48270
48297
  return e + 1 < t.length && Av(t, e);
48271
48298
  }
48272
- function s4(t, e) {
48273
- return o4(t, e) && Av(t, e) && mf(t, e) <= t.length - e;
48274
- }
48275
48299
  function i4(t, e) {
48300
+ return s4(t, e) && Av(t, e) && mf(t, e) <= t.length - e;
48301
+ }
48302
+ function a4(t, e) {
48276
48303
  if (Sl(t, e)) {
48277
48304
  const n = Ov(t, e);
48278
48305
  if (e + n >= t.length)
@@ -48287,7 +48314,7 @@ function i4(t, e) {
48287
48314
  }
48288
48315
  function Pv(t, e, n, r, o) {
48289
48316
  if (!t.samplerate) {
48290
- const s = r4(e, n, r, o);
48317
+ const s = o4(e, n, r, o);
48291
48318
  if (!s)
48292
48319
  return;
48293
48320
  t.config = s.config, t.samplerate = s.samplerate, t.channelCount = s.channelCount, t.codec = s.codec, t.manifestCodec = s.manifestCodec, me.log(`parsed codec:${t.codec}, rate:${s.samplerate}, channels:${s.channelCount}`);
@@ -48296,7 +48323,7 @@ function Pv(t, e, n, r, o) {
48296
48323
  function Lv(t) {
48297
48324
  return 1024 * 9e4 / t;
48298
48325
  }
48299
- function a4(t, e) {
48326
+ function l4(t, e) {
48300
48327
  const n = Ov(t, e);
48301
48328
  if (e + n <= t.length) {
48302
48329
  const r = mf(t, e) - n;
@@ -48308,7 +48335,7 @@ function a4(t, e) {
48308
48335
  }
48309
48336
  }
48310
48337
  function _v(t, e, n, r, o) {
48311
- const s = Lv(t.samplerate), a = r + o * s, l = a4(e, n);
48338
+ const s = Lv(t.samplerate), a = r + o * s, l = l4(e, n);
48312
48339
  let c;
48313
48340
  if (l) {
48314
48341
  const {
@@ -48337,7 +48364,7 @@ function _v(t, e, n, r, o) {
48337
48364
  };
48338
48365
  }
48339
48366
  let Sa = null;
48340
- const l4 = [32, 64, 96, 128, 160, 192, 224, 256, 288, 320, 352, 384, 416, 448, 32, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 32, 48, 56, 64, 80, 96, 112, 128, 144, 160, 176, 192, 224, 256, 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160], c4 = [44100, 48e3, 32e3, 22050, 24e3, 16e3, 11025, 12e3, 8e3], u4 = [
48367
+ const c4 = [32, 64, 96, 128, 160, 192, 224, 256, 288, 320, 352, 384, 416, 448, 32, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 32, 48, 56, 64, 80, 96, 112, 128, 144, 160, 176, 192, 224, 256, 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160], u4 = [44100, 48e3, 32e3, 22050, 24e3, 16e3, 11025, 12e3, 8e3], d4 = [
48341
48368
  // MPEG 2.5
48342
48369
  [
48343
48370
  0,
@@ -48382,7 +48409,7 @@ const l4 = [32, 64, 96, 128, 160, 192, 224, 256, 288, 320, 352, 384, 416, 448, 3
48382
48409
  12
48383
48410
  // Layer1
48384
48411
  ]
48385
- ], d4 = [
48412
+ ], f4 = [
48386
48413
  0,
48387
48414
  // Reserved
48388
48415
  1,
@@ -48412,7 +48439,7 @@ function Mv(t, e, n, r, o) {
48412
48439
  function Nv(t, e) {
48413
48440
  const n = t[e + 1] >> 3 & 3, r = t[e + 1] >> 1 & 3, o = t[e + 2] >> 4 & 15, s = t[e + 2] >> 2 & 3;
48414
48441
  if (n !== 1 && o !== 0 && o !== 15 && s !== 3) {
48415
- const a = t[e + 2] >> 1 & 1, l = t[e + 3] >> 6, c = n === 3 ? 3 - r : r === 3 ? 3 : 4, u = l4[c * 14 + o - 1] * 1e3, f = c4[(n === 3 ? 0 : n === 2 ? 1 : 2) * 3 + s], p = l === 3 ? 1 : 2, m = u4[n][r], g = d4[r], h = m * 8 * g, b = Math.floor(m * u / f + a) * g;
48442
+ const a = t[e + 2] >> 1 & 1, l = t[e + 3] >> 6, c = n === 3 ? 3 - r : r === 3 ? 3 : 4, u = c4[c * 14 + o - 1] * 1e3, f = u4[(n === 3 ? 0 : n === 2 ? 1 : 2) * 3 + s], p = l === 3 ? 1 : 2, m = d4[n][r], g = f4[r], h = m * 8 * g, b = Math.floor(m * u / f + a) * g;
48416
48443
  if (Sa === null) {
48417
48444
  const T = (navigator.userAgent || "").match(/Chrome\/(\d+)/i);
48418
48445
  Sa = T ? parseInt(T[1]) : 0;
@@ -48431,7 +48458,7 @@ function gf(t, e) {
48431
48458
  function Fv(t, e) {
48432
48459
  return e + 1 < t.length && gf(t, e);
48433
48460
  }
48434
- function f4(t, e) {
48461
+ function p4(t, e) {
48435
48462
  return gf(t, e) && 4 <= t.length - e;
48436
48463
  }
48437
48464
  function $v(t, e) {
@@ -48444,7 +48471,7 @@ function $v(t, e) {
48444
48471
  }
48445
48472
  return !1;
48446
48473
  }
48447
- class p4 extends hf {
48474
+ class h4 extends hf {
48448
48475
  constructor(e, n) {
48449
48476
  super(), this.observer = void 0, this.config = void 0, this.observer = e, this.config = n;
48450
48477
  }
@@ -48472,12 +48499,12 @@ class p4 extends hf {
48472
48499
  if ($v(e, r))
48473
48500
  return !1;
48474
48501
  for (let o = e.length; r < o; r++)
48475
- if (i4(e, r))
48502
+ if (a4(e, r))
48476
48503
  return me.log("ADTS sync word found !"), !0;
48477
48504
  return !1;
48478
48505
  }
48479
48506
  canParse(e, n) {
48480
- return s4(e, n);
48507
+ return i4(e, n);
48481
48508
  }
48482
48509
  appendFrame(e, n, r) {
48483
48510
  Pv(e, this.observer, n, r, e.manifestCodec);
@@ -48486,8 +48513,8 @@ class p4 extends hf {
48486
48513
  return o;
48487
48514
  }
48488
48515
  }
48489
- const h4 = /\/emsg[-/]ID3/i;
48490
- class m4 {
48516
+ const m4 = /\/emsg[-/]ID3/i;
48517
+ class g4 {
48491
48518
  constructor(e, n) {
48492
48519
  this.remainderData = null, this.timeOffset = 0, this.config = void 0, this.videoTrack = void 0, this.audioTrack = void 0, this.id3Track = void 0, this.txtTrack = void 0, this.config = n;
48493
48520
  }
@@ -48520,7 +48547,7 @@ class m4 {
48520
48547
  this.remainderData = null;
48521
48548
  }
48522
48549
  static probe(e) {
48523
- return L3(e);
48550
+ return _3(e);
48524
48551
  }
48525
48552
  demux(e, n) {
48526
48553
  this.timeOffset = n;
@@ -48528,7 +48555,7 @@ class m4 {
48528
48555
  const o = this.videoTrack, s = this.txtTrack;
48529
48556
  if (this.config.progressive) {
48530
48557
  this.remainderData && (r = Zn(this.remainderData, e));
48531
- const l = V3(r);
48558
+ const l = U3(r);
48532
48559
  this.remainderData = l.remainder, o.samples = l.valid || new Uint8Array();
48533
48560
  } else
48534
48561
  o.samples = r;
@@ -48556,8 +48583,8 @@ class m4 {
48556
48583
  if (e.samples.length) {
48557
48584
  const o = nt(e.samples, ["emsg"]);
48558
48585
  o && o.forEach((s) => {
48559
- const a = H3(s);
48560
- if (h4.test(a.schemeIdUri)) {
48586
+ const a = W3(s);
48587
+ if (m4.test(a.schemeIdUri)) {
48561
48588
  const l = Ye(a.presentationTime) ? a.presentationTime / a.timeScale : n + a.presentationTimeDelta / a.timeScale;
48562
48589
  let c = a.eventDuration === 4294967295 ? Number.POSITIVE_INFINITY : a.eventDuration / a.timeScale;
48563
48590
  c <= 1e-3 && (c = Number.POSITIVE_INFINITY);
@@ -48592,7 +48619,7 @@ const Bv = (t, e) => {
48592
48619
  }
48593
48620
  return n;
48594
48621
  };
48595
- class g4 extends hf {
48622
+ class b4 extends hf {
48596
48623
  constructor(e) {
48597
48624
  super(), this.observer = void 0, this.observer = e;
48598
48625
  }
@@ -48652,7 +48679,7 @@ function jv(t, e, n, r, o) {
48652
48679
  pts: S
48653
48680
  }), d;
48654
48681
  }
48655
- class b4 {
48682
+ class y4 {
48656
48683
  constructor() {
48657
48684
  this.VideoSample = null;
48658
48685
  }
@@ -48871,7 +48898,7 @@ class Vm {
48871
48898
  return this.readUByte(), this.readUEG(), this.readUEG();
48872
48899
  }
48873
48900
  }
48874
- class y4 extends b4 {
48901
+ class v4 extends y4 {
48875
48902
  parseAVCPES(e, n, r, o, s) {
48876
48903
  const a = this.parseAVCNALu(e, r.data);
48877
48904
  let l = this.VideoSample, c, u = !1;
@@ -48978,7 +49005,7 @@ class y4 extends b4 {
48978
49005
  return e.naluState = o, a;
48979
49006
  }
48980
49007
  }
48981
- class v4 {
49008
+ class x4 {
48982
49009
  constructor(e, n, r) {
48983
49010
  this.keyData = void 0, this.decrypter = void 0, this.keyData = r, this.decrypter = new ff(n, {
48984
49011
  removePKCS7Padding: !1
@@ -49049,7 +49076,7 @@ class v4 {
49049
49076
  const Xt = 188;
49050
49077
  class Gr {
49051
49078
  constructor(e, n, r) {
49052
- this.observer = void 0, this.config = void 0, this.typeSupported = void 0, this.sampleAes = null, this.pmtParsed = !1, this.audioCodec = void 0, this.videoCodec = void 0, this._duration = 0, this._pmtId = -1, this._videoTrack = void 0, this._audioTrack = void 0, this._id3Track = void 0, this._txtTrack = void 0, this.aacOverFlow = null, this.remainderData = null, this.videoParser = void 0, this.observer = e, this.config = n, this.typeSupported = r, this.videoParser = new y4();
49079
+ this.observer = void 0, this.config = void 0, this.typeSupported = void 0, this.sampleAes = null, this.pmtParsed = !1, this.audioCodec = void 0, this.videoCodec = void 0, this._duration = 0, this._pmtId = -1, this._videoTrack = void 0, this._audioTrack = void 0, this._id3Track = void 0, this._txtTrack = void 0, this.aacOverFlow = null, this.remainderData = null, this.videoParser = void 0, this.observer = e, this.config = n, this.typeSupported = r, this.videoParser = new v4();
49053
49080
  }
49054
49081
  static probe(e) {
49055
49082
  const n = Gr.syncOffset(e);
@@ -49165,11 +49192,11 @@ class Gr {
49165
49192
  }), h && (h.data.push(e.subarray(N, k + Xt)), h.size += k + Xt - N);
49166
49193
  break;
49167
49194
  case 0:
49168
- L && (N += e[N] + 1), v = this._pmtId = x4(e, N);
49195
+ L && (N += e[N] + 1), v = this._pmtId = T4(e, N);
49169
49196
  break;
49170
49197
  case v: {
49171
49198
  L && (N += e[N] + 1);
49172
- const P = T4(e, N, this.typeSupported, r, this.observer);
49199
+ const P = S4(e, N, this.typeSupported, r, this.observer);
49173
49200
  d = P.videoPid, d > 0 && (a.pid = d, a.segmentCodec = P.segmentVideoCodec), p = P.audioPid, p > 0 && (l.pid = p, l.segmentCodec = P.segmentAudioCodec), m = P.id3Pid, m > 0 && (c.pid = m), b !== null && !y && (me.warn(`MPEG-TS PMT found at ${k} after unknown PID '${b}'. Backtracking to sync byte @${S} to parse all TS packets.`), b = null, k = S - 188), y = this.pmtParsed = !0;
49174
49201
  break;
49175
49202
  }
@@ -49230,7 +49257,7 @@ class Gr {
49230
49257
  c && (u = Yo(c)) ? (this.parseID3PES(o, u), o.pesData = null) : o.pesData = c;
49231
49258
  }
49232
49259
  demuxSampleAes(e, n, r) {
49233
- const o = this.demux(e, r, !0, !this.config.progressive), s = this.sampleAes = new v4(this.observer, this.config, n);
49260
+ const o = this.demux(e, r, !0, !this.config.progressive), s = this.sampleAes = new x4(this.observer, this.config, n);
49234
49261
  return this.decrypt(o, s);
49235
49262
  }
49236
49263
  decrypt(e, n) {
@@ -49340,10 +49367,10 @@ class Gr {
49340
49367
  function Nu(t, e) {
49341
49368
  return ((t[e + 1] & 31) << 8) + t[e + 2];
49342
49369
  }
49343
- function x4(t, e) {
49370
+ function T4(t, e) {
49344
49371
  return (t[e + 10] & 31) << 8 | t[e + 11];
49345
49372
  }
49346
- function T4(t, e, n, r, o) {
49373
+ function S4(t, e, n, r, o) {
49347
49374
  const s = {
49348
49375
  audioPid: -1,
49349
49376
  videoPid: -1,
@@ -49467,7 +49494,7 @@ function Yo(t) {
49467
49494
  }
49468
49495
  return null;
49469
49496
  }
49470
- class S4 extends hf {
49497
+ class E4 extends hf {
49471
49498
  resetInitSegment(e, n, r, o) {
49472
49499
  super.resetInitSegment(e, n, r, o), this._audioTrack = {
49473
49500
  container: "audio/mpeg",
@@ -49497,7 +49524,7 @@ class S4 extends hf {
49497
49524
  return !1;
49498
49525
  }
49499
49526
  canParse(e, n) {
49500
- return f4(e, n);
49527
+ return p4(e, n);
49501
49528
  }
49502
49529
  appendFrame(e, n, r) {
49503
49530
  if (this.basePTS !== null)
@@ -50539,16 +50566,16 @@ function bf(t, e, n = 1, r = !1) {
50539
50566
  const o = t * e * n;
50540
50567
  return r ? Math.round(o) : o;
50541
50568
  }
50542
- function E4(t, e, n = 1, r = !1) {
50569
+ function C4(t, e, n = 1, r = !1) {
50543
50570
  return bf(t, e, 1 / n, r);
50544
50571
  }
50545
50572
  function Zs(t, e = !1) {
50546
50573
  return bf(t, 1e3, 1 / Vv, e);
50547
50574
  }
50548
- function C4(t, e = 1) {
50575
+ function w4(t, e = 1) {
50549
50576
  return bf(t, Vv, 1 / e);
50550
50577
  }
50551
- const w4 = 10 * 1e3, zm = 1024, R4 = 1152, k4 = 1536;
50578
+ const R4 = 10 * 1e3, zm = 1024, k4 = 1152, I4 = 1536;
50552
50579
  let Ko = null, qc = null;
50553
50580
  class Wa {
50554
50581
  constructor(e, n, r, o = "") {
@@ -50593,7 +50620,7 @@ class Wa {
50593
50620
  f = this.generateIS(e, n, s, a);
50594
50621
  const N = this.isVideoContiguous;
50595
50622
  let P = -1, _;
50596
- if (x && (P = I4(n.samples), !N && this.config.forceKeyFrameOnDiscontinuity))
50623
+ if (x && (P = D4(n.samples), !N && this.config.forceKeyFrameOnDiscontinuity))
50597
50624
  if (g = !0, P > 0) {
50598
50625
  me.warn(`[mp4-remuxer]: Dropped ${P} out of ${T} video samples due to a missing keyframe`);
50599
50626
  const E = this.getVideoStartPts(n.samples);
@@ -50799,9 +50826,9 @@ class Wa {
50799
50826
  getSamplesPerFrame(e) {
50800
50827
  switch (e.segmentCodec) {
50801
50828
  case "mp3":
50802
- return R4;
50803
- case "ac3":
50804
50829
  return k4;
50830
+ case "ac3":
50831
+ return I4;
50805
50832
  default:
50806
50833
  return zm;
50807
50834
  }
@@ -50823,7 +50850,7 @@ class Wa {
50823
50850
  const U = h[V], F = U.pts, B = F - W, H = Math.abs(1e3 * B / a);
50824
50851
  if (B <= -$ * d && g)
50825
50852
  V === 0 && (me.warn(`Audio frame @ ${(F / a).toFixed(3)}s overlaps nextAudioPts by ${Math.round(1e3 * B / a)} ms.`), this.nextAudioPts = y = W = F);
50826
- else if (B >= $ * d && H < w4 && g) {
50853
+ else if (B >= $ * d && H < R4 && g) {
50827
50854
  let Q = Math.round(B / d);
50828
50855
  W = F - Q * d, W < 0 && (Q--, W += d), V === 0 && (this.nextAudioPts = y = W), me.warn(`[mp4-remuxer]: Injecting ${Q} audio frame @ ${(W / a).toFixed(3)}s due to ${Math.round(1e3 * B / a)} ms gap.`);
50829
50856
  for (let q = 0; q < Q; q++) {
@@ -50918,7 +50945,7 @@ function jn(t, e) {
50918
50945
  t += n;
50919
50946
  return t;
50920
50947
  }
50921
- function I4(t) {
50948
+ function D4(t) {
50922
50949
  for (let e = 0; e < t.length; e++)
50923
50950
  if (t[e].key)
50924
50951
  return e;
@@ -50965,7 +50992,7 @@ class Hm {
50965
50992
  };
50966
50993
  }
50967
50994
  }
50968
- class D4 {
50995
+ class A4 {
50969
50996
  constructor() {
50970
50997
  this.emitInitSegment = !1, this.audioCodec = void 0, this.videoCodec = void 0, this.initData = void 0, this.initPTS = null, this.initTracks = void 0, this.lastEndTime = null;
50971
50998
  }
@@ -50978,7 +51005,7 @@ class D4 {
50978
51005
  this.lastEndTime = null;
50979
51006
  }
50980
51007
  resetInitSegment(e, n, r, o) {
50981
- this.audioCodec = n, this.videoCodec = r, this.generateInitSegment(N3(e, o)), this.emitInitSegment = !0;
51008
+ this.audioCodec = n, this.videoCodec = r, this.generateInitSegment(F3(e, o)), this.emitInitSegment = !0;
50982
51009
  }
50983
51010
  generateInitSegment(e) {
50984
51011
  let {
@@ -51034,13 +51061,13 @@ class D4 {
51034
51061
  if ((l = g) != null && l.length || (this.generateInitSegment(p), g = this.initData), !((c = g) != null && c.length))
51035
51062
  return me.warn("[passthrough-remuxer.ts]: Failed to generate initSegment."), f;
51036
51063
  this.emitInitSegment && (m.tracks = this.initTracks, this.emitInitSegment = !1);
51037
- const h = $3(p, g), b = F3(g, p), y = b === null ? s : b;
51038
- (A4(u, y, s, h) || m.timescale !== u.timescale && a) && (m.initPTS = y - s, u && u.timescale === 1 && me.warn(`Adjusting initPTS by ${m.initPTS - u.baseTime}`), this.initPTS = u = {
51064
+ const h = B3(p, g), b = $3(g, p), y = b === null ? s : b;
51065
+ (O4(u, y, s, h) || m.timescale !== u.timescale && a) && (m.initPTS = y - s, u && u.timescale === 1 && me.warn(`Adjusting initPTS by ${m.initPTS - u.baseTime}`), this.initPTS = u = {
51039
51066
  baseTime: m.initPTS,
51040
51067
  timescale: 1
51041
51068
  });
51042
51069
  const v = e ? y - u.baseTime / u.timescale : d, T = v + h;
51043
- j3(g, p, u.baseTime / u.timescale), h > 0 ? this.lastEndTime = T : (me.warn("Duration parsed from mp4 should be greater than zero"), this.resetNextTimestamp());
51070
+ V3(g, p, u.baseTime / u.timescale), h > 0 ? this.lastEndTime = T : (me.warn("Duration parsed from mp4 should be greater than zero"), this.resetNextTimestamp());
51044
51071
  const S = !!g.audio, x = !!g.video;
51045
51072
  let I = "";
51046
51073
  S && (I += "audio"), x && (I += "video");
@@ -51059,7 +51086,7 @@ class D4 {
51059
51086
  return f.audio = k.type === "audio" ? k : void 0, f.video = k.type !== "audio" ? k : void 0, f.initSegment = m, f.id3 = Uv(r, s, u, u), o.samples.length && (f.text = zv(o, s, u)), f;
51060
51087
  }
51061
51088
  }
51062
- function A4(t, e, n, r) {
51089
+ function O4(t, e, n, r) {
51063
51090
  if (t === null)
51064
51091
  return !0;
51065
51092
  const o = Math.max(r, 1), s = e - t.baseTime / t.timescale;
@@ -51086,20 +51113,20 @@ try {
51086
51113
  me.debug("Unable to use Performance API on this environment"), _r = Ss == null ? void 0 : Ss.Date.now;
51087
51114
  }
51088
51115
  const Ga = [{
51089
- demux: m4,
51090
- remux: D4
51116
+ demux: g4,
51117
+ remux: A4
51091
51118
  }, {
51092
51119
  demux: Gr,
51093
51120
  remux: Wa
51094
51121
  }, {
51095
- demux: p4,
51122
+ demux: h4,
51096
51123
  remux: Wa
51097
51124
  }, {
51098
- demux: S4,
51125
+ demux: E4,
51099
51126
  remux: Wa
51100
51127
  }];
51101
51128
  Ga.splice(2, 0, {
51102
- demux: g4,
51129
+ demux: b4,
51103
51130
  remux: Wa
51104
51131
  });
51105
51132
  class Gm {
@@ -51131,7 +51158,7 @@ class Gm {
51131
51158
  defaultInitPts: y,
51132
51159
  duration: v,
51133
51160
  initSegmentData: T
51134
- } = c, S = O4(a, n);
51161
+ } = c, S = P4(a, n);
51135
51162
  if (S && S.method === "AES-128") {
51136
51163
  const L = this.getDecrypter();
51137
51164
  if (L.isSync()) {
@@ -51279,7 +51306,7 @@ class Gm {
51279
51306
  return e || (e = this.decrypter = new ff(this.config)), e;
51280
51307
  }
51281
51308
  }
51282
- function O4(t, e) {
51309
+ function P4(t, e) {
51283
51310
  let n = null;
51284
51311
  return t.byteLength > 0 && (e == null ? void 0 : e.key) != null && e.iv !== null && e.method != null && (n = e), n;
51285
51312
  }
@@ -51290,12 +51317,12 @@ const Xc = (t) => ({
51290
51317
  function Ya(t) {
51291
51318
  return "then" in t && t.then instanceof Function;
51292
51319
  }
51293
- class P4 {
51320
+ class L4 {
51294
51321
  constructor(e, n, r, o, s) {
51295
51322
  this.audioCodec = void 0, this.videoCodec = void 0, this.initSegmentData = void 0, this.duration = void 0, this.defaultInitPts = void 0, this.audioCodec = e, this.videoCodec = n, this.initSegmentData = r, this.duration = o, this.defaultInitPts = s || null;
51296
51323
  }
51297
51324
  }
51298
- class L4 {
51325
+ class _4 {
51299
51326
  constructor(e, n, r, o, s, a) {
51300
51327
  this.discontinuity = void 0, this.contiguous = void 0, this.accurateTimeOffset = void 0, this.trackSwitch = void 0, this.timeOffset = void 0, this.initSegmentChange = void 0, this.discontinuity = e, this.contiguous = n, this.accurateTimeOffset = r, this.trackSwitch = o, this.timeOffset = s, this.initSegmentChange = a;
51301
51328
  }
@@ -51405,7 +51432,7 @@ var Hv = { exports: {} };
51405
51432
  return u ? (d = n ? n + u : u, this._events[d] && a(this, d)) : (this._events = new r(), this._eventsCount = 0), this;
51406
51433
  }, l.prototype.off = l.prototype.removeListener, l.prototype.addListener = l.prototype.on, l.prefixed = n, l.EventEmitter = l, t.exports = l;
51407
51434
  })(Hv);
51408
- var _4 = Hv.exports, yf = /* @__PURE__ */ r3(_4);
51435
+ var M4 = Hv.exports, yf = /* @__PURE__ */ o3(M4);
51409
51436
  class Wv {
51410
51437
  constructor(e, n, r, o) {
51411
51438
  this.error = null, this.hls = void 0, this.id = void 0, this.observer = void 0, this.frag = null, this.part = null, this.useWorker = void 0, this.workerContext = null, this.onwmsg = void 0, this.transmuxer = null, this.onTransmuxComplete = void 0, this.onFlush = void 0;
@@ -51422,9 +51449,9 @@ class Wv {
51422
51449
  mp3: l.isTypeSupported('audio/mp4; codecs="mp3"'),
51423
51450
  ac3: l.isTypeSupported('audio/mp4; codecs="ac-3"')
51424
51451
  };
51425
- if (this.useWorker && typeof Worker < "u" && (s.workerPath || JB())) {
51452
+ if (this.useWorker && typeof Worker < "u" && (s.workerPath || e4())) {
51426
51453
  try {
51427
- s.workerPath ? (me.log(`loading Web Worker ${s.workerPath} for "${n}"`), this.workerContext = t4(s.workerPath)) : (me.log(`injecting Web Worker for "${n}"`), this.workerContext = e4()), this.onwmsg = (f) => this.onWorkerMessage(f);
51454
+ s.workerPath ? (me.log(`loading Web Worker ${s.workerPath} for "${n}"`), this.workerContext = n4(s.workerPath)) : (me.log(`injecting Web Worker for "${n}"`), this.workerContext = t4()), this.onwmsg = (f) => this.onWorkerMessage(f);
51428
51455
  const {
51429
51456
  worker: d
51430
51457
  } = this.workerContext;
@@ -51477,7 +51504,7 @@ class Wv {
51477
51504
  transmuxer: m
51478
51505
  } = this, g = a ? a.start : s.start, h = s.decryptdata, b = this.frag, y = !(b && s.cc === b.cc), v = !(b && u.level === b.level), T = b ? u.sn - b.sn : -1, S = this.part ? u.part - this.part.index : -1, x = T === 0 && u.id > 1 && u.id === (b == null ? void 0 : b.stats.chunkCount), I = !v && (T === 1 || T === 0 && (S === 1 || x && S <= 0)), k = self.performance.now();
51479
51506
  (v || T || s.stats.parsing.start === 0) && (s.stats.parsing.start = k), a && (S || !I) && (a.stats.parsing.start = k);
51480
- const L = !(b && ((f = s.initSegment) == null ? void 0 : f.url) === ((p = b.initSegment) == null ? void 0 : p.url)), M = new L4(y, I, c, v, g, L);
51507
+ const L = !(b && ((f = s.initSegment) == null ? void 0 : f.url) === ((p = b.initSegment) == null ? void 0 : p.url)), M = new _4(y, I, c, v, g, L);
51481
51508
  if (!I || y || L) {
51482
51509
  me.log(`[transmuxer-interface, ${s.type}]: Starting new transmux session for sn: ${u.sn} p: ${u.part} level: ${u.level} id: ${u.id}
51483
51510
  discontinuity: ${y}
@@ -51486,7 +51513,7 @@ class Wv {
51486
51513
  accurateTimeOffset: ${c}
51487
51514
  timeOffset: ${g}
51488
51515
  initSegmentChange: ${L}`);
51489
- const A = new P4(r, o, n, l, d);
51516
+ const A = new L4(r, o, n, l, d);
51490
51517
  this.configureTransmuxer(A);
51491
51518
  }
51492
51519
  if (this.frag = s, this.part = a, this.workerContext)
@@ -51603,7 +51630,7 @@ function Fu(t, e) {
51603
51630
  return e.label.toLowerCase() === t.name.toLowerCase() && (!e.language || e.language.toLowerCase() === (t.lang || "").toLowerCase());
51604
51631
  }
51605
51632
  const Ym = 100;
51606
- class M4 extends pf {
51633
+ class N4 extends pf {
51607
51634
  constructor(e, n, r) {
51608
51635
  super(e, n, r, "[audio-stream-controller]", Qe.AUDIO), this.videoBuffer = null, this.videoTrackCC = -1, this.waitingVideoCC = -1, this.bufferedTrack = null, this.switchingTrack = null, this.trackId = -1, this.waitingData = null, this.mainDetails = null, this.flushing = !1, this.bufferFlushed = !1, this.cachedTrackLoadedData = null, this._registerListeners();
51609
51636
  }
@@ -52080,7 +52107,7 @@ class M4 extends pf {
52080
52107
  this.flushAudioIfNeeded(e), this.bufferedTrack = e, this.switchingTrack = null, n.trigger(z.AUDIO_TRACK_SWITCHED, Qt({}, e));
52081
52108
  }
52082
52109
  }
52083
- class N4 extends uf {
52110
+ class F4 extends uf {
52084
52111
  constructor(e) {
52085
52112
  super(e, "[audio-track-controller]"), this.tracks = [], this.groupIds = null, this.tracksInGroup = [], this.trackId = -1, this.currentTrack = null, this.selectDefaultTrack = !0, this.registerListeners();
52086
52113
  }
@@ -52201,7 +52228,7 @@ class N4 extends uf {
52201
52228
  } else if (o) {
52202
52229
  let a = n.loadLevel;
52203
52230
  a === -1 && (a = n.firstAutoLevel);
52204
- const l = NB(e, n.levels, r, a, Wo);
52231
+ const l = FB(e, n.levels, r, a, Wo);
52205
52232
  if (l === -1)
52206
52233
  return null;
52207
52234
  n.nextLoadLevel = l;
@@ -52291,7 +52318,7 @@ class N4 extends uf {
52291
52318
  }
52292
52319
  }
52293
52320
  const Km = 500;
52294
- class F4 extends pf {
52321
+ class $4 extends pf {
52295
52322
  constructor(e, n, r) {
52296
52323
  super(e, n, r, "[subtitle-stream-controller]", Qe.SUBTITLE), this.currentTrackId = -1, this.tracksBuffered = [], this.mainDetails = null, this._registerListeners();
52297
52324
  }
@@ -52510,10 +52537,10 @@ class F4 extends pf {
52510
52537
  this.fragCurrent = e, e.sn === "initSegment" ? this._loadInitSegment(e, n) : (this.startFragRequested = !0, super.loadFragment(e, n, r));
52511
52538
  }
52512
52539
  get mediaBufferTimeRanges() {
52513
- return new $4(this.tracksBuffered[this.currentTrackId] || []);
52540
+ return new B4(this.tracksBuffered[this.currentTrackId] || []);
52514
52541
  }
52515
52542
  }
52516
- class $4 {
52543
+ class B4 {
52517
52544
  constructor(e) {
52518
52545
  this.buffered = void 0;
52519
52546
  const n = (r, o, s) => {
@@ -52534,7 +52561,7 @@ class $4 {
52534
52561
  };
52535
52562
  }
52536
52563
  }
52537
- class B4 extends uf {
52564
+ class j4 extends uf {
52538
52565
  constructor(e) {
52539
52566
  super(e, "[subtitle-track-controller]"), this.media = null, this.tracks = [], this.groupIds = null, this.tracksInGroup = [], this.trackId = -1, this.currentTrack = null, this.selectDefaultTrack = !0, this.queuedDefaultTrack = -1, this.asyncPollTrackChange = () => this.pollTrackChange(0), this.useTextTrackPolling = !1, this.subtitlePollingInterval = -1, this._subtitleDisplay = !0, this.onTextTracksChanged = () => {
52540
52567
  if (this.useTextTrackPolling || self.clearInterval(this.subtitlePollingInterval), !this.media || !this.hls.config.renderTextTracksNatively)
@@ -52805,7 +52832,7 @@ class B4 extends uf {
52805
52832
  this.loadPlaylist(f);
52806
52833
  }
52807
52834
  }
52808
- class j4 {
52835
+ class V4 {
52809
52836
  constructor(e) {
52810
52837
  this.buffers = void 0, this.queues = {
52811
52838
  video: [],
@@ -52856,7 +52883,7 @@ class j4 {
52856
52883
  }
52857
52884
  }
52858
52885
  const qm = /(avc[1234]|hvc1|hev1|dvh[1e]|vp09|av01)(?:\.[^.,]+)+/;
52859
- class V4 {
52886
+ class U4 {
52860
52887
  constructor(e) {
52861
52888
  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 = {
52862
52889
  audio: 0,
@@ -52887,7 +52914,7 @@ class V4 {
52887
52914
  r !== o && me.error(`Media element src was set while attaching MediaSource (${o} > ${r})`);
52888
52915
  }, this.hls = e;
52889
52916
  const n = "[buffer-controller]";
52890
- this.appendSource = X3(Co(e.config.preferManagedMediaSource)), this.log = me.log.bind(me, n), this.warn = me.warn.bind(me, n), this.error = me.error.bind(me, n), this._initSourceBuffer(), this.registerListeners();
52917
+ this.appendSource = Z3(Co(e.config.preferManagedMediaSource)), this.log = me.log.bind(me, n), this.warn = me.warn.bind(me, n), this.error = me.error.bind(me, n), this._initSourceBuffer(), this.registerListeners();
52891
52918
  }
52892
52919
  hasSourceTypes() {
52893
52920
  return this.getSourceBufferTypes().length > 0 || Object.keys(this.pendingTracks).length > 0;
@@ -52908,7 +52935,7 @@ class V4 {
52908
52935
  e.off(z.MEDIA_ATTACHING, this.onMediaAttaching, this), e.off(z.MEDIA_DETACHING, this.onMediaDetaching, this), e.off(z.MANIFEST_LOADING, this.onManifestLoading, this), e.off(z.MANIFEST_PARSED, this.onManifestParsed, this), e.off(z.BUFFER_RESET, this.onBufferReset, this), e.off(z.BUFFER_APPENDING, this.onBufferAppending, this), e.off(z.BUFFER_CODECS, this.onBufferCodecs, this), e.off(z.BUFFER_EOS, this.onBufferEos, this), e.off(z.BUFFER_FLUSHING, this.onBufferFlushing, this), e.off(z.LEVEL_UPDATED, this.onLevelUpdated, this), e.off(z.FRAG_PARSED, this.onFragParsed, this), e.off(z.FRAG_CHANGED, this.onFragChanged, this);
52909
52936
  }
52910
52937
  _initSourceBuffer() {
52911
- this.sourceBuffer = {}, this.operationQueue = new j4(this.sourceBuffer), this.listeners = {
52938
+ this.sourceBuffer = {}, this.operationQueue = new V4(this.sourceBuffer), this.listeners = {
52912
52939
  audio: [],
52913
52940
  video: [],
52914
52941
  audiovideo: []
@@ -52936,7 +52963,7 @@ class V4 {
52936
52963
  try {
52937
52964
  r.removeAttribute("src");
52938
52965
  const c = self.ManagedMediaSource;
52939
- r.disableRemotePlayback = r.disableRemotePlayback || c && a instanceof c, Xm(r), U4(r, l), r.load();
52966
+ r.disableRemotePlayback = r.disableRemotePlayback || c && a instanceof c, Xm(r), z4(r, l), r.load();
52940
52967
  } catch {
52941
52968
  r.src = l;
52942
52969
  }
@@ -53442,11 +53469,11 @@ function Xm(t) {
53442
53469
  t.removeChild(n);
53443
53470
  });
53444
53471
  }
53445
- function U4(t, e) {
53472
+ function z4(t, e) {
53446
53473
  const n = self.document.createElement("source");
53447
53474
  n.type = "video/mp4", n.src = e, t.appendChild(n);
53448
53475
  }
53449
- const z4 = {
53476
+ const H4 = {
53450
53477
  42: 225,
53451
53478
  // lowercase a, acute accent
53452
53479
  92: 233,
@@ -53634,7 +53661,7 @@ const z4 = {
53634
53661
  // Box drawings heavy up and right
53635
53662
  207: 9499
53636
53663
  // Box drawings heavy up and left
53637
- }, Yv = (t) => String.fromCharCode(z4[t] || t), sr = 15, Pr = 100, H4 = {
53664
+ }, Yv = (t) => String.fromCharCode(H4[t] || t), sr = 15, Pr = 100, W4 = {
53638
53665
  17: 1,
53639
53666
  18: 3,
53640
53667
  21: 5,
@@ -53643,7 +53670,7 @@ const z4 = {
53643
53670
  16: 11,
53644
53671
  19: 12,
53645
53672
  20: 14
53646
- }, W4 = {
53673
+ }, G4 = {
53647
53674
  17: 2,
53648
53675
  18: 4,
53649
53676
  21: 6,
@@ -53651,7 +53678,7 @@ const z4 = {
53651
53678
  23: 10,
53652
53679
  19: 13,
53653
53680
  20: 15
53654
- }, G4 = {
53681
+ }, Y4 = {
53655
53682
  25: 1,
53656
53683
  26: 3,
53657
53684
  29: 5,
@@ -53660,7 +53687,7 @@ const z4 = {
53660
53687
  24: 11,
53661
53688
  27: 12,
53662
53689
  28: 14
53663
- }, Y4 = {
53690
+ }, K4 = {
53664
53691
  25: 2,
53665
53692
  26: 4,
53666
53693
  29: 6,
@@ -53668,8 +53695,8 @@ const z4 = {
53668
53695
  31: 10,
53669
53696
  27: 13,
53670
53697
  28: 15
53671
- }, K4 = ["white", "green", "blue", "cyan", "red", "yellow", "magenta", "black", "transparent"];
53672
- class q4 {
53698
+ }, q4 = ["white", "green", "blue", "cyan", "red", "yellow", "magenta", "black", "transparent"];
53699
+ class X4 {
53673
53700
  constructor() {
53674
53701
  this.time = null, this.verboseLevel = 0;
53675
53702
  }
@@ -53713,7 +53740,7 @@ class Kv {
53713
53740
  return "color=" + this.foreground + ", underline=" + this.underline + ", italics=" + this.italics + ", background=" + this.background + ", flash=" + this.flash;
53714
53741
  }
53715
53742
  }
53716
- class X4 {
53743
+ class Z4 {
53717
53744
  constructor() {
53718
53745
  this.uchar = " ", this.penState = new Kv();
53719
53746
  }
@@ -53736,11 +53763,11 @@ class X4 {
53736
53763
  return this.uchar === " " && this.penState.isDefault();
53737
53764
  }
53738
53765
  }
53739
- class Z4 {
53766
+ class Q4 {
53740
53767
  constructor(e) {
53741
53768
  this.chars = [], this.pos = 0, this.currPenState = new Kv(), this.cueStartTime = null, this.logger = void 0;
53742
53769
  for (let n = 0; n < Pr; n++)
53743
- this.chars.push(new X4());
53770
+ this.chars.push(new Z4());
53744
53771
  this.logger = e;
53745
53772
  }
53746
53773
  equals(e) {
@@ -53821,7 +53848,7 @@ class Zc {
53821
53848
  constructor(e) {
53822
53849
  this.rows = [], this.currRow = sr - 1, this.nrRollUpRows = null, this.lastOutputScreen = null, this.logger = void 0;
53823
53850
  for (let n = 0; n < sr; n++)
53824
- this.rows.push(new Z4(e));
53851
+ this.rows.push(new Q4(e));
53825
53852
  this.logger = e;
53826
53853
  }
53827
53854
  reset() {
@@ -54036,8 +54063,8 @@ class Zm {
54036
54063
  }
54037
54064
  class Qm {
54038
54065
  constructor(e, n, r) {
54039
- this.channels = void 0, this.currentChannel = 0, this.cmdHistory = J4(), this.logger = void 0;
54040
- const o = this.logger = new q4();
54066
+ this.channels = void 0, this.currentChannel = 0, this.cmdHistory = e6(), this.logger = void 0;
54067
+ const o = this.logger = new X4();
54041
54068
  this.channels = [null, new Zm(e, n, o), new Zm(e + 1, r, o)];
54042
54069
  }
54043
54070
  getHandler(e) {
@@ -54059,7 +54086,7 @@ class Qm {
54059
54086
  this.logger.log(3, () => "[" + oo([n[r], n[r + 1]]) + "] -> (" + oo([o, s]) + ")");
54060
54087
  const c = this.cmdHistory;
54061
54088
  if (o >= 16 && o <= 31) {
54062
- if (Q4(o, s, c)) {
54089
+ if (J4(o, s, c)) {
54063
54090
  Ea(null, null, c), this.logger.log(3, () => "Repeated command (" + oo([o, s]) + ") is dropped");
54064
54091
  continue;
54065
54092
  }
@@ -54107,7 +54134,7 @@ class Qm {
54107
54134
  if (!(o || s))
54108
54135
  return !1;
54109
54136
  const a = e <= 23 ? 1 : 2;
54110
- n >= 64 && n <= 95 ? r = a === 1 ? H4[e] : G4[e] : r = a === 1 ? W4[e] : Y4[e];
54137
+ n >= 64 && n <= 95 ? r = a === 1 ? W4[e] : Y4[e] : r = a === 1 ? G4[e] : K4[e];
54111
54138
  const l = this.channels[a];
54112
54139
  return l ? (l.setPAC(this.interpretPAC(r, n)), this.currentChannel = a, !0) : !1;
54113
54140
  }
@@ -54148,7 +54175,7 @@ class Qm {
54148
54175
  return !1;
54149
54176
  let s;
54150
54177
  const a = {};
54151
- e === 16 || e === 24 ? (s = Math.floor((n - 32) / 2), a.background = K4[s], n % 2 === 1 && (a.background = a.background + "_semi")) : n === 45 ? a.background = "transparent" : (a.foreground = "black", n === 47 && (a.underline = !0));
54178
+ e === 16 || e === 24 ? (s = Math.floor((n - 32) / 2), a.background = q4[s], n % 2 === 1 && (a.background = a.background + "_semi")) : n === 45 ? a.background = "transparent" : (a.foreground = "black", n === 47 && (a.underline = !0));
54152
54179
  const l = e <= 23 ? 1 : 2;
54153
54180
  return this.channels[l].setBkgData(a), !0;
54154
54181
  }
@@ -54175,10 +54202,10 @@ class Qm {
54175
54202
  function Ea(t, e, n) {
54176
54203
  n.a = t, n.b = e;
54177
54204
  }
54178
- function Q4(t, e, n) {
54205
+ function J4(t, e, n) {
54179
54206
  return n.a === t && n.b === e;
54180
54207
  }
54181
- function J4() {
54208
+ function e6() {
54182
54209
  return {
54183
54210
  a: null,
54184
54211
  b: null
@@ -54355,7 +54382,7 @@ var vf = function() {
54355
54382
  return self.WebVTT.convertCueToDOMTree(self, this.text);
54356
54383
  }, a;
54357
54384
  }();
54358
- class e6 {
54385
+ class t6 {
54359
54386
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
54360
54387
  decode(e, n) {
54361
54388
  if (!e)
@@ -54372,7 +54399,7 @@ function qv(t) {
54372
54399
  const n = t.match(/^(?:(\d+):)?(\d{2}):(\d{2})(\.\d+)?/);
54373
54400
  return n ? parseFloat(n[2]) > 59 ? e(n[2], n[3], 0, n[4]) : e(n[1], n[2], n[3], n[4]) : null;
54374
54401
  }
54375
- class t6 {
54402
+ class n6 {
54376
54403
  constructor() {
54377
54404
  this.values = /* @__PURE__ */ Object.create(null);
54378
54405
  }
@@ -54427,7 +54454,7 @@ function Xv(t, e, n, r) {
54427
54454
  }
54428
54455
  }
54429
54456
  const $u = new vf(0, 0, ""), wa = $u.align === "middle" ? "middle" : "center";
54430
- function n6(t, e, n) {
54457
+ function r6(t, e, n) {
54431
54458
  const r = t;
54432
54459
  function o() {
54433
54460
  const l = qv(t);
@@ -54436,7 +54463,7 @@ function n6(t, e, n) {
54436
54463
  return t = t.replace(/^[^\sa-zA-Z-]+/, ""), l;
54437
54464
  }
54438
54465
  function s(l, c) {
54439
- const u = new t6();
54466
+ const u = new n6();
54440
54467
  Xv(l, function(p, m) {
54441
54468
  let g;
54442
54469
  switch (p) {
@@ -54480,9 +54507,9 @@ function Zv(t) {
54480
54507
  return t.replace(/<br(?: \/)?>/gi, `
54481
54508
  `);
54482
54509
  }
54483
- class r6 {
54510
+ class o6 {
54484
54511
  constructor() {
54485
- this.state = "INITIAL", this.buffer = "", this.decoder = new e6(), this.regionList = [], this.cue = null, this.oncue = void 0, this.onparsingerror = void 0, this.onflush = void 0;
54512
+ this.state = "INITIAL", this.buffer = "", this.decoder = new t6(), this.regionList = [], this.cue = null, this.oncue = void 0, this.onparsingerror = void 0, this.onflush = void 0;
54486
54513
  }
54487
54514
  parse(e) {
54488
54515
  const n = this;
@@ -54541,7 +54568,7 @@ class r6 {
54541
54568
  continue;
54542
54569
  }
54543
54570
  try {
54544
- n6(s, n.cue, n.regionList);
54571
+ r6(s, n.cue, n.regionList);
54545
54572
  } catch {
54546
54573
  n.cue = null, n.state = "BADCUE";
54547
54574
  continue;
@@ -54583,9 +54610,9 @@ class r6 {
54583
54610
  return e.onflush && e.onflush(), this;
54584
54611
  }
54585
54612
  }
54586
- const o6 = /\r\n|\n\r|\n|\r/g, Qc = function(e, n, r = 0) {
54613
+ const s6 = /\r\n|\n\r|\n|\r/g, Qc = function(e, n, r = 0) {
54587
54614
  return e.slice(r, r + n.length) === n;
54588
- }, s6 = function(e) {
54615
+ }, i6 = function(e) {
54589
54616
  let n = parseInt(e.slice(-3));
54590
54617
  const r = parseInt(e.slice(-6, -4)), o = parseInt(e.slice(-9, -7)), s = e.length > 9 ? parseInt(e.substring(0, e.indexOf(":"))) : 0;
54591
54618
  if (!Ye(n) || !Ye(r) || !Ye(o) || !Ye(s))
@@ -54600,7 +54627,7 @@ const o6 = /\r\n|\n\r|\n|\r/g, Qc = function(e, n, r = 0) {
54600
54627
  function xf(t, e, n) {
54601
54628
  return Jc(t.toString()) + Jc(e.toString()) + Jc(n);
54602
54629
  }
54603
- const i6 = function(e, n, r) {
54630
+ const a6 = function(e, n, r) {
54604
54631
  let o = e[n], s = e[o.prevCC];
54605
54632
  if (!s || !s.new && o.new) {
54606
54633
  e.ccOffset = e.presentationOffset = o.start, o.new = !1;
@@ -54612,16 +54639,16 @@ const i6 = function(e, n, r) {
54612
54639
  }
54613
54640
  e.presentationOffset = r;
54614
54641
  };
54615
- function a6(t, e, n, r, o, s, a) {
54616
- const l = new r6(), c = Rr(new Uint8Array(t)).trim().replace(o6, `
54642
+ function l6(t, e, n, r, o, s, a) {
54643
+ const l = new o6(), c = Rr(new Uint8Array(t)).trim().replace(s6, `
54617
54644
  `).split(`
54618
- `), u = [], d = e ? C4(e.baseTime, e.timescale) : 0;
54645
+ `), u = [], d = e ? w4(e.baseTime, e.timescale) : 0;
54619
54646
  let f = "00:00.000", p = 0, m = 0, g, h = !0;
54620
54647
  l.oncue = function(b) {
54621
54648
  const y = n[r];
54622
54649
  let v = n.ccOffset;
54623
54650
  const T = (p - d) / 9e4;
54624
- if (y != null && y.new && (m !== void 0 ? v = n.ccOffset = y.start : i6(n, r, T)), T) {
54651
+ if (y != null && y.new && (m !== void 0 ? v = n.ccOffset = y.start : a6(n, r, T)), T) {
54625
54652
  if (!e) {
54626
54653
  g = new Error("Missing initPTS for VTT MPEGTS");
54627
54654
  return;
@@ -54647,7 +54674,7 @@ function a6(t, e, n, r, o, s, a) {
54647
54674
  Qc(y, "LOCAL:") ? f = y.slice(6) : Qc(y, "MPEGTS:") && (p = parseInt(y.slice(7)));
54648
54675
  });
54649
54676
  try {
54650
- m = s6(f) / 1e3;
54677
+ m = i6(f) / 1e3;
54651
54678
  } catch (y) {
54652
54679
  g = y;
54653
54680
  }
@@ -54657,7 +54684,7 @@ function a6(t, e, n, r, o, s, a) {
54657
54684
  `);
54658
54685
  }), l.flush();
54659
54686
  }
54660
- const eu = "stpp.ttml.im1t", Qv = /^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/, Jv = /^(\d*(?:\.\d*)?)(h|m|s|ms|f|t)$/, l6 = {
54687
+ const eu = "stpp.ttml.im1t", Qv = /^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/, Jv = /^(\d*(?:\.\d*)?)(h|m|s|ms|f|t)$/, c6 = {
54661
54688
  left: "start",
54662
54689
  center: "center",
54663
54690
  right: "end",
@@ -54670,14 +54697,14 @@ function Jm(t, e, n, r) {
54670
54697
  r(new Error("Could not parse IMSC1 mdat"));
54671
54698
  return;
54672
54699
  }
54673
- const s = o.map((l) => Rr(l)), a = E4(e.baseTime, 1, e.timescale);
54700
+ const s = o.map((l) => Rr(l)), a = C4(e.baseTime, 1, e.timescale);
54674
54701
  try {
54675
- s.forEach((l) => n(c6(l, a)));
54702
+ s.forEach((l) => n(u6(l, a)));
54676
54703
  } catch (l) {
54677
54704
  r(l);
54678
54705
  }
54679
54706
  }
54680
- function c6(t, e) {
54707
+ function u6(t, e) {
54681
54708
  const o = new DOMParser().parseFromString(t, "text/xml").getElementsByTagName("tt")[0];
54682
54709
  if (!o)
54683
54710
  throw new Error("Invalid ttml");
@@ -54702,11 +54729,11 @@ function c6(t, e) {
54702
54729
  }
54703
54730
  const b = new vf(m - e, h - e, p);
54704
54731
  b.id = xf(b.startTime, b.endTime, b.text);
54705
- const y = u[f.getAttribute("region")], v = c[f.getAttribute("style")], T = u6(y, v, c), {
54732
+ const y = u[f.getAttribute("region")], v = c[f.getAttribute("style")], T = d6(y, v, c), {
54706
54733
  textAlign: S
54707
54734
  } = T;
54708
54735
  if (S) {
54709
- const x = l6[S];
54736
+ const x = c6[S];
54710
54737
  x && (b.lineAlign = x), b.align = S;
54711
54738
  }
54712
54739
  return Yt(b, T), b;
@@ -54729,7 +54756,7 @@ function ex(t, e) {
54729
54756
  ` : (s = r.childNodes) != null && s.length ? ex(r, e) : e ? n + r.textContent.trim().replace(/\s+/g, " ") : n + r.textContent;
54730
54757
  }, "");
54731
54758
  }
54732
- function u6(t, e, n) {
54759
+ function d6(t, e, n) {
54733
54760
  const r = "http://www.w3.org/ns/ttml#styling";
54734
54761
  let o = null;
54735
54762
  const s = [
@@ -54761,13 +54788,13 @@ function ru(t, e) {
54761
54788
  if (!t)
54762
54789
  return null;
54763
54790
  let n = qv(t);
54764
- return n === null && (Qv.test(t) ? n = d6(t, e) : Jv.test(t) && (n = f6(t, e))), n;
54791
+ return n === null && (Qv.test(t) ? n = f6(t, e) : Jv.test(t) && (n = p6(t, e))), n;
54765
54792
  }
54766
- function d6(t, e) {
54793
+ function f6(t, e) {
54767
54794
  const n = Qv.exec(t), r = (n[4] | 0) + (n[5] | 0) / e.subFrameRate;
54768
54795
  return (n[1] | 0) * 3600 + (n[2] | 0) * 60 + (n[3] | 0) + r / e.frameRate;
54769
54796
  }
54770
- function f6(t, e) {
54797
+ function p6(t, e) {
54771
54798
  const n = Jv.exec(t), r = Number(n[1]);
54772
54799
  switch (n[2]) {
54773
54800
  case "h":
@@ -54783,7 +54810,7 @@ function f6(t, e) {
54783
54810
  }
54784
54811
  return r;
54785
54812
  }
54786
- class p6 {
54813
+ class h6 {
54787
54814
  constructor(e) {
54788
54815
  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 = rg(), this.captionsProperties = void 0, this.hls = e, this.config = e.config, this.Cues = e.config.cueHandler, this.captionsProperties = {
54789
54816
  textTrack1: {
@@ -54819,7 +54846,7 @@ class p6 {
54819
54846
  addCues(e, n, r, o, s) {
54820
54847
  let a = !1;
54821
54848
  for (let l = s.length; l--; ) {
54822
- const c = s[l], u = h6(c[0], c[1], n, r);
54849
+ const c = s[l], u = m6(c[0], c[1], n, r);
54823
54850
  if (u >= 0 && (c[0] = Math.min(c[0], n), c[1] = Math.max(c[1], r), a = !0, u / (r - n) > 0.5))
54824
54851
  return;
54825
54852
  }
@@ -55059,7 +55086,7 @@ class p6 {
55059
55086
  return;
55060
55087
  }
55061
55088
  const c = this.hls, u = (n = r.initSegment) != null && n.data ? Zn(r.initSegment.data, new Uint8Array(o)) : o;
55062
- a6(u, this.initPTS[r.cc], this.vttCCs, r.cc, r.start, (d) => {
55089
+ l6(u, this.initPTS[r.cc], this.vttCCs, r.cc, r.start, (d) => {
55063
55090
  this._appendCues(d, r.level), c.trigger(z.SUBTITLE_FRAG_PROCESSED, {
55064
55091
  success: !0,
55065
55092
  frag: r
@@ -55175,7 +55202,7 @@ function tx(t) {
55175
55202
  function ng(t, e) {
55176
55203
  return !!t && t.kind === tx(e) && Fu(e, t);
55177
55204
  }
55178
- function h6(t, e, n, r) {
55205
+ function m6(t, e, n, r) {
55179
55206
  return Math.min(e, r) - Math.max(t, n);
55180
55207
  }
55181
55208
  function rg() {
@@ -55313,7 +55340,7 @@ class Tf {
55313
55340
  return s;
55314
55341
  }
55315
55342
  }
55316
- class m6 {
55343
+ class g6 {
55317
55344
  constructor(e) {
55318
55345
  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();
55319
55346
  }
@@ -55432,7 +55459,7 @@ class ds {
55432
55459
  return r(e, n);
55433
55460
  }
55434
55461
  getMediaKeysPromise(e, n, r) {
55435
- const o = S3(e, n, r, this.config.drmSystemOptions), s = this.keySystemAccessPromises[e];
55462
+ const o = E3(e, n, r, this.config.drmSystemOptions), s = this.keySystemAccessPromises[e];
55436
55463
  let a = s == null ? void 0 : s.keySystemAccess;
55437
55464
  if (!a) {
55438
55465
  this.log(`Requesting encrypted media "${e}" key-system access with config: ${JSON.stringify(o)}`), a = this.requestMediaKeySystemAccess(e, o);
@@ -55571,10 +55598,10 @@ class ds {
55571
55598
  return;
55572
55599
  }
55573
55600
  } else {
55574
- const d = Y3(r);
55601
+ const d = K3(r);
55575
55602
  if (d === null)
55576
55603
  return;
55577
- d.version === 0 && d.systemId === iv.WIDEVINE && d.data && (o = d.data.subarray(8, 24)), s = T3(d.systemId);
55604
+ d.version === 0 && d.systemId === iv.WIDEVINE && d.data && (o = d.data.subarray(8, 24)), s = S3(d.systemId);
55578
55605
  }
55579
55606
  if (!s || !o)
55580
55607
  return;
@@ -55920,7 +55947,7 @@ var uo;
55920
55947
  (function(t) {
55921
55948
  t.OBJECT = "CMCD-Object", t.REQUEST = "CMCD-Request", t.SESSION = "CMCD-Session", t.STATUS = "CMCD-Status";
55922
55949
  })(uo || (uo = {}));
55923
- const g6 = {
55950
+ const b6 = {
55924
55951
  [uo.OBJECT]: ["br", "d", "ot", "tb"],
55925
55952
  [uo.REQUEST]: ["bl", "dl", "mtp", "nor", "nrr", "su"],
55926
55953
  [uo.SESSION]: ["cid", "pr", "sf", "sid", "st", "v"],
@@ -55936,42 +55963,42 @@ class nx {
55936
55963
  this.description = void 0, this.description = e;
55937
55964
  }
55938
55965
  }
55939
- const b6 = "Dict";
55940
- function y6(t) {
55966
+ const y6 = "Dict";
55967
+ function v6(t) {
55941
55968
  return Array.isArray(t) ? JSON.stringify(t) : t instanceof Map ? "Map{}" : t instanceof Set ? "Set{}" : typeof t == "object" ? JSON.stringify(t) : String(t);
55942
55969
  }
55943
- function v6(t, e, n, r) {
55944
- return new Error(`failed to ${t} "${y6(e)}" as ${n}`, {
55970
+ function x6(t, e, n, r) {
55971
+ return new Error(`failed to ${t} "${v6(e)}" as ${n}`, {
55945
55972
  cause: r
55946
55973
  });
55947
55974
  }
55948
- const og = "Bare Item", x6 = "Boolean", T6 = "Byte Sequence", S6 = "Decimal", E6 = "Integer";
55949
- function C6(t) {
55975
+ const og = "Bare Item", T6 = "Boolean", S6 = "Byte Sequence", E6 = "Decimal", C6 = "Integer";
55976
+ function w6(t) {
55950
55977
  return t < -999999999999999 || 999999999999999 < t;
55951
55978
  }
55952
- const w6 = /[\x00-\x1f\x7f]+/, R6 = "Token", k6 = "Key";
55979
+ const R6 = /[\x00-\x1f\x7f]+/, k6 = "Token", I6 = "Key";
55953
55980
  function Dr(t, e, n) {
55954
- return v6("serialize", t, e, n);
55981
+ return x6("serialize", t, e, n);
55955
55982
  }
55956
- function I6(t) {
55983
+ function D6(t) {
55957
55984
  if (typeof t != "boolean")
55958
- throw Dr(t, x6);
55985
+ throw Dr(t, T6);
55959
55986
  return t ? "?1" : "?0";
55960
55987
  }
55961
- function D6(t) {
55988
+ function A6(t) {
55962
55989
  return btoa(String.fromCharCode(...t));
55963
55990
  }
55964
- function A6(t) {
55991
+ function O6(t) {
55965
55992
  if (ArrayBuffer.isView(t) === !1)
55966
- throw Dr(t, T6);
55967
- return `:${D6(t)}:`;
55993
+ throw Dr(t, S6);
55994
+ return `:${A6(t)}:`;
55968
55995
  }
55969
55996
  function rx(t) {
55970
- if (C6(t))
55971
- throw Dr(t, E6);
55997
+ if (w6(t))
55998
+ throw Dr(t, C6);
55972
55999
  return t.toString();
55973
56000
  }
55974
- function O6(t) {
56001
+ function P6(t) {
55975
56002
  return `@${rx(t.getTime() / 1e3)}`;
55976
56003
  }
55977
56004
  function ox(t, e) {
@@ -55984,26 +56011,26 @@ function ox(t, e) {
55984
56011
  } else
55985
56012
  return Math.round(t * n) / n;
55986
56013
  }
55987
- function P6(t) {
56014
+ function L6(t) {
55988
56015
  const e = ox(t, 3);
55989
56016
  if (Math.floor(Math.abs(e)).toString().length > 12)
55990
- throw Dr(t, S6);
56017
+ throw Dr(t, E6);
55991
56018
  const n = e.toString();
55992
56019
  return n.includes(".") ? n : `${n}.0`;
55993
56020
  }
55994
- const L6 = "String";
55995
- function _6(t) {
55996
- if (w6.test(t))
55997
- throw Dr(t, L6);
56021
+ const _6 = "String";
56022
+ function M6(t) {
56023
+ if (R6.test(t))
56024
+ throw Dr(t, _6);
55998
56025
  return `"${t.replace(/\\/g, "\\\\").replace(/"/g, '\\"')}"`;
55999
56026
  }
56000
- function M6(t) {
56027
+ function N6(t) {
56001
56028
  return t.description || t.toString().slice(7, -1);
56002
56029
  }
56003
56030
  function sg(t) {
56004
- const e = M6(t);
56031
+ const e = N6(t);
56005
56032
  if (/^([a-zA-Z*])([!#$%&'*+\-.^_`|~\w:/]*)$/.test(e) === !1)
56006
- throw Dr(e, R6);
56033
+ throw Dr(e, k6);
56007
56034
  return e;
56008
56035
  }
56009
56036
  function ju(t) {
@@ -56011,18 +56038,18 @@ function ju(t) {
56011
56038
  case "number":
56012
56039
  if (!Ye(t))
56013
56040
  throw Dr(t, og);
56014
- return Number.isInteger(t) ? rx(t) : P6(t);
56041
+ return Number.isInteger(t) ? rx(t) : L6(t);
56015
56042
  case "string":
56016
- return _6(t);
56043
+ return M6(t);
56017
56044
  case "symbol":
56018
56045
  return sg(t);
56019
56046
  case "boolean":
56020
- return I6(t);
56047
+ return D6(t);
56021
56048
  case "object":
56022
56049
  if (t instanceof Date)
56023
- return O6(t);
56050
+ return P6(t);
56024
56051
  if (t instanceof Uint8Array)
56025
- return A6(t);
56052
+ return O6(t);
56026
56053
  if (t instanceof nx)
56027
56054
  return sg(t);
56028
56055
  default:
@@ -56031,7 +56058,7 @@ function ju(t) {
56031
56058
  }
56032
56059
  function Vu(t) {
56033
56060
  if (/^[a-z*][a-z0-9\-_.*]*$/.test(t) === !1)
56034
- throw Dr(t, k6);
56061
+ throw Dr(t, I6);
56035
56062
  return t;
56036
56063
  }
56037
56064
  function Sf(t) {
@@ -56040,26 +56067,26 @@ function Sf(t) {
56040
56067
  function sx(t) {
56041
56068
  return t instanceof ws ? `${ju(t.value)}${Sf(t.params)}` : ju(t);
56042
56069
  }
56043
- function N6(t) {
56070
+ function F6(t) {
56044
56071
  return `(${t.value.map(sx).join(" ")})${Sf(t.params)}`;
56045
56072
  }
56046
- function F6(t, e = {
56073
+ function $6(t, e = {
56047
56074
  whitespace: !0
56048
56075
  }) {
56049
56076
  if (typeof t != "object")
56050
- throw Dr(t, b6);
56077
+ throw Dr(t, y6);
56051
56078
  const n = t instanceof Map ? t.entries() : Object.entries(t), r = e != null && e.whitespace ? " " : "";
56052
56079
  return Array.from(n).map(([o, s]) => {
56053
56080
  s instanceof ws || (s = new ws(s));
56054
56081
  let a = Vu(o);
56055
- return s.value === !0 ? a += Sf(s.params) : (a += "=", Array.isArray(s.value) ? a += N6(s) : a += sx(s)), a;
56082
+ return s.value === !0 ? a += Sf(s.params) : (a += "=", Array.isArray(s.value) ? a += F6(s) : a += sx(s)), a;
56056
56083
  }).join(`,${r}`);
56057
56084
  }
56058
- function $6(t, e) {
56059
- return F6(t, e);
56085
+ function B6(t, e) {
56086
+ return $6(t, e);
56060
56087
  }
56061
- const B6 = (t) => t === "ot" || t === "sf" || t === "st", j6 = (t) => typeof t == "number" ? Ye(t) : t != null && t !== "" && t !== !1;
56062
- function V6(t, e) {
56088
+ const j6 = (t) => t === "ot" || t === "sf" || t === "st", V6 = (t) => typeof t == "number" ? Ye(t) : t != null && t !== "" && t !== !1;
56089
+ function U6(t, e) {
56063
56090
  const n = new URL(t), r = new URL(e);
56064
56091
  if (n.origin !== r.origin)
56065
56092
  return t;
@@ -56070,7 +56097,7 @@ function V6(t, e) {
56070
56097
  s.shift(), o.unshift("..");
56071
56098
  return o.join("/");
56072
56099
  }
56073
- function U6() {
56100
+ function z6() {
56074
56101
  try {
56075
56102
  return crypto.randomUUID();
56076
56103
  } catch {
@@ -56086,7 +56113,7 @@ function U6() {
56086
56113
  }
56087
56114
  }
56088
56115
  }
56089
- const Ka = (t) => Math.round(t), z6 = (t, e) => (e != null && e.baseUrl && (t = V6(t, e.baseUrl)), encodeURIComponent(t)), ka = (t) => Ka(t / 100) * 100, H6 = {
56116
+ const Ka = (t) => Math.round(t), H6 = (t, e) => (e != null && e.baseUrl && (t = U6(t, e.baseUrl)), encodeURIComponent(t)), ka = (t) => Ka(t / 100) * 100, W6 = {
56090
56117
  /**
56091
56118
  * Bitrate (kbps) rounded integer
56092
56119
  */
@@ -56110,7 +56137,7 @@ const Ka = (t) => Math.round(t), z6 = (t, e) => (e != null && e.baseUrl && (t =
56110
56137
  /**
56111
56138
  * Next Object Request URL encoded
56112
56139
  */
56113
- nor: z6,
56140
+ nor: H6,
56114
56141
  /**
56115
56142
  * Requested maximum throughput (kbps) rounded nearest 100kbps
56116
56143
  */
@@ -56120,47 +56147,47 @@ const Ka = (t) => Math.round(t), z6 = (t, e) => (e != null && e.baseUrl && (t =
56120
56147
  */
56121
56148
  tb: Ka
56122
56149
  };
56123
- function W6(t, e) {
56150
+ function G6(t, e) {
56124
56151
  const n = {};
56125
56152
  if (t == null || typeof t != "object")
56126
56153
  return n;
56127
- const r = Object.keys(t).sort(), o = Yt({}, H6, e == null ? void 0 : e.formatters), s = e == null ? void 0 : e.filter;
56154
+ const r = Object.keys(t).sort(), o = Yt({}, W6, e == null ? void 0 : e.formatters), s = e == null ? void 0 : e.filter;
56128
56155
  return r.forEach((a) => {
56129
56156
  if (s != null && s(a))
56130
56157
  return;
56131
56158
  let l = t[a];
56132
56159
  const c = o[a];
56133
- c && (l = c(l, e)), !(a === "v" && l === 1) && (a == "pr" && l === 1 || j6(l) && (B6(a) && typeof l == "string" && (l = new nx(l)), n[a] = l));
56160
+ c && (l = c(l, e)), !(a === "v" && l === 1) && (a == "pr" && l === 1 || V6(l) && (j6(a) && typeof l == "string" && (l = new nx(l)), n[a] = l));
56134
56161
  }), n;
56135
56162
  }
56136
56163
  function ix(t, e = {}) {
56137
- return t ? $6(W6(t, e), Yt({
56164
+ return t ? B6(G6(t, e), Yt({
56138
56165
  whitespace: !1
56139
56166
  }, e)) : "";
56140
56167
  }
56141
- function G6(t, e = {}) {
56168
+ function Y6(t, e = {}) {
56142
56169
  if (!t)
56143
56170
  return {};
56144
- const n = Object.entries(t), r = Object.entries(g6).concat(Object.entries((e == null ? void 0 : e.customHeaderMap) || {})), o = n.reduce((s, a) => {
56171
+ const n = Object.entries(t), r = Object.entries(b6).concat(Object.entries((e == null ? void 0 : e.customHeaderMap) || {})), o = n.reduce((s, a) => {
56145
56172
  var l, c;
56146
56173
  const [u, d] = a, f = ((l = r.find((p) => p[1].includes(u))) == null ? void 0 : l[0]) || uo.REQUEST;
56147
56174
  return (c = s[f]) != null || (s[f] = {}), s[f][u] = d, s;
56148
56175
  }, {});
56149
56176
  return Object.entries(o).reduce((s, [a, l]) => (s[a] = ix(l, e), s), {});
56150
56177
  }
56151
- function Y6(t, e, n) {
56152
- return Yt(t, G6(e, n));
56178
+ function K6(t, e, n) {
56179
+ return Yt(t, Y6(e, n));
56153
56180
  }
56154
- const K6 = "CMCD";
56155
- function q6(t, e = {}) {
56181
+ const q6 = "CMCD";
56182
+ function X6(t, e = {}) {
56156
56183
  if (!t)
56157
56184
  return "";
56158
56185
  const n = ix(t, e);
56159
- return `${K6}=${encodeURIComponent(n)}`;
56186
+ return `${q6}=${encodeURIComponent(n)}`;
56160
56187
  }
56161
56188
  const ig = /CMCD=[^&#]+/;
56162
- function X6(t, e, n) {
56163
- const r = q6(e, n);
56189
+ function Z6(t, e, n) {
56190
+ const r = X6(e, n);
56164
56191
  if (!r)
56165
56192
  return t;
56166
56193
  if (ig.test(t))
@@ -56168,7 +56195,7 @@ function X6(t, e, n) {
56168
56195
  const o = t.includes("?") ? "&" : "?";
56169
56196
  return `${t}${o}${r}`;
56170
56197
  }
56171
- class Z6 {
56198
+ class Q6 {
56172
56199
  // eslint-disable-line no-restricted-globals
56173
56200
  constructor(e) {
56174
56201
  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 = () => {
@@ -56198,7 +56225,7 @@ class Z6 {
56198
56225
  const n = this.config = e.config, {
56199
56226
  cmcd: r
56200
56227
  } = n;
56201
- r != null && (n.pLoader = this.createPlaylistLoader(), n.fLoader = this.createFragmentLoader(), this.sid = r.sessionId || U6(), this.cid = r.contentId, this.useHeaders = r.useHeaders === !0, this.includeKeys = r.includeKeys, this.registerListeners());
56228
+ r != null && (n.pLoader = this.createPlaylistLoader(), n.fLoader = this.createFragmentLoader(), this.sid = r.sessionId || z6(), this.cid = r.contentId, this.useHeaders = r.useHeaders === !0, this.includeKeys = r.includeKeys, this.registerListeners());
56202
56229
  }
56203
56230
  registerListeners() {
56204
56231
  const e = this.hls;
@@ -56245,7 +56272,7 @@ class Z6 {
56245
56272
  const {
56246
56273
  includeKeys: o
56247
56274
  } = this;
56248
- o && (n = Object.keys(n).reduce((s, a) => (o.includes(a) && (s[a] = n[a]), s), {})), this.useHeaders ? (e.headers || (e.headers = {}), Y6(e.headers, n)) : e.url = X6(e.url, n);
56275
+ o && (n = Object.keys(n).reduce((s, a) => (o.includes(a) && (s[a] = n[a]), s), {})), this.useHeaders ? (e.headers || (e.headers = {}), K6(e.headers, n)) : e.url = Z6(e.url, n);
56249
56276
  }
56250
56277
  /**
56251
56278
  * The CMCD object type.
@@ -56343,8 +56370,8 @@ class Z6 {
56343
56370
  };
56344
56371
  }
56345
56372
  }
56346
- const Q6 = 3e5;
56347
- class J6 {
56373
+ const J6 = 3e5;
56374
+ class ej {
56348
56375
  constructor(e) {
56349
56376
  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 = me.log.bind(me, "[content-steering]:"), this.registerListeners();
56350
56377
  }
@@ -56428,7 +56455,7 @@ class J6 {
56428
56455
  let n;
56429
56456
  const r = this.penalizedPathways, o = performance.now();
56430
56457
  Object.keys(r).forEach((s) => {
56431
- o - r[s] > Q6 && delete r[s];
56458
+ o - r[s] > J6 && delete r[s];
56432
56459
  });
56433
56460
  for (let s = 0; s < e.length; s++) {
56434
56461
  const a = e[s];
@@ -56601,7 +56628,7 @@ function ax(t, e, n, r) {
56601
56628
  u && c.searchParams.set(u, s[u]);
56602
56629
  }), c.href;
56603
56630
  }
56604
- const ej = /^age:\s*[\d.]+\s*$/im;
56631
+ const tj = /^age:\s*[\d.]+\s*$/im;
56605
56632
  class lx {
56606
56633
  constructor(e) {
56607
56634
  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 hc(), this.retryDelay = 0;
@@ -56722,7 +56749,7 @@ class lx {
56722
56749
  }
56723
56750
  getCacheAge() {
56724
56751
  let e = null;
56725
- if (this.loader && ej.test(this.loader.getAllResponseHeaders())) {
56752
+ if (this.loader && tj.test(this.loader.getAllResponseHeaders())) {
56726
56753
  const n = this.loader.getResponseHeader("age");
56727
56754
  e = n ? parseFloat(n) : null;
56728
56755
  }
@@ -56732,7 +56759,7 @@ class lx {
56732
56759
  return this.loader && new RegExp(`^${e}:\\s*[\\d.]+\\s*$`, "im").test(this.loader.getAllResponseHeaders()) ? this.loader.getResponseHeader(e) : null;
56733
56760
  }
56734
56761
  }
56735
- function tj() {
56762
+ function nj() {
56736
56763
  if (
56737
56764
  // @ts-ignore
56738
56765
  self.fetch && self.AbortController && self.ReadableStream && self.Request
@@ -56743,10 +56770,10 @@ function tj() {
56743
56770
  }
56744
56771
  return !1;
56745
56772
  }
56746
- const nj = /(\d+)-(\d+)\/(\d+)/;
56773
+ const rj = /(\d+)-(\d+)\/(\d+)/;
56747
56774
  class lg {
56748
56775
  constructor(e) {
56749
- 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 || ij, this.controller = new self.AbortController(), this.stats = new hc();
56776
+ 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 || aj, this.controller = new self.AbortController(), this.stats = new hc();
56750
56777
  }
56751
56778
  destroy() {
56752
56779
  this.loader = this.callbacks = this.context = this.config = this.request = null, this.abortInternal(), this.response = null, this.fetchSetup = this.controller = this.stats = null;
@@ -56763,7 +56790,7 @@ class lg {
56763
56790
  if (o.loading.start)
56764
56791
  throw new Error("Loader can only be used once.");
56765
56792
  o.loading.start = self.performance.now();
56766
- const s = rj(e, this.controller.signal), a = r.onProgress, l = e.responseType === "arraybuffer", c = l ? "byteLength" : "length", {
56793
+ const s = oj(e, this.controller.signal), a = r.onProgress, l = e.responseType === "arraybuffer", c = l ? "byteLength" : "length", {
56767
56794
  maxTimeToFirstByteMs: u,
56768
56795
  maxLoadTimeMs: d
56769
56796
  } = n.loadPolicy;
@@ -56779,9 +56806,9 @@ class lg {
56779
56806
  status: m,
56780
56807
  statusText: g
56781
56808
  } = f;
56782
- throw new aj(g || "fetch, bad network response", m, f);
56809
+ throw new lj(g || "fetch, bad network response", m, f);
56783
56810
  }
56784
- return o.loading.first = p, o.total = sj(f.headers) || o.total, a && Ye(n.highWaterMark) ? this.loadProgressively(f, o, e, n.highWaterMark, a) : l ? f.arrayBuffer() : e.responseType === "json" ? f.json() : f.text();
56811
+ return o.loading.first = p, o.total = ij(f.headers) || o.total, a && Ye(n.highWaterMark) ? this.loadProgressively(f, o, e, n.highWaterMark, a) : l ? f.arrayBuffer() : e.responseType === "json" ? f.json() : f.text();
56785
56812
  }).then((f) => {
56786
56813
  const p = this.response;
56787
56814
  if (!p)
@@ -56826,7 +56853,7 @@ class lg {
56826
56853
  return c();
56827
56854
  }
56828
56855
  }
56829
- function rj(t, e) {
56856
+ function oj(t, e) {
56830
56857
  const n = {
56831
56858
  method: "GET",
56832
56859
  mode: "cors",
@@ -56836,15 +56863,15 @@ function rj(t, e) {
56836
56863
  };
56837
56864
  return t.rangeEnd && n.headers.set("Range", "bytes=" + t.rangeStart + "-" + String(t.rangeEnd - 1)), n;
56838
56865
  }
56839
- function oj(t) {
56840
- const e = nj.exec(t);
56866
+ function sj(t) {
56867
+ const e = rj.exec(t);
56841
56868
  if (e)
56842
56869
  return parseInt(e[2]) - parseInt(e[1]) + 1;
56843
56870
  }
56844
- function sj(t) {
56871
+ function ij(t) {
56845
56872
  const e = t.get("Content-Range");
56846
56873
  if (e) {
56847
- const r = oj(e);
56874
+ const r = sj(e);
56848
56875
  if (Ye(r))
56849
56876
  return r;
56850
56877
  }
@@ -56852,15 +56879,15 @@ function sj(t) {
56852
56879
  if (n)
56853
56880
  return parseInt(n);
56854
56881
  }
56855
- function ij(t, e) {
56882
+ function aj(t, e) {
56856
56883
  return new self.Request(t.url, e);
56857
56884
  }
56858
- class aj extends Error {
56885
+ class lj extends Error {
56859
56886
  constructor(e, n, r) {
56860
56887
  super(e), this.code = void 0, this.details = void 0, this.code = n, this.details = r;
56861
56888
  }
56862
56889
  }
56863
- const lj = /\s/, cj = {
56890
+ const cj = /\s/, uj = {
56864
56891
  newCue(t, e, n, r) {
56865
56892
  const o = [];
56866
56893
  let s, a, l, c, u;
@@ -56869,14 +56896,14 @@ const lj = /\s/, cj = {
56869
56896
  if (s = r.rows[p], l = !0, c = 0, u = "", !s.isEmpty()) {
56870
56897
  var f;
56871
56898
  for (let h = 0; h < s.chars.length; h++)
56872
- lj.test(s.chars[h].uchar) && l ? c++ : (u += s.chars[h].uchar, l = !1);
56899
+ cj.test(s.chars[h].uchar) && l ? c++ : (u += s.chars[h].uchar, l = !1);
56873
56900
  s.cueStartTime = e, e === n && (n += 1e-4), c >= 16 ? c-- : c++;
56874
56901
  const m = Zv(u.trim()), g = xf(e, n, m);
56875
56902
  t != null && (f = t.cues) != null && f.getCueById(g) || (a = new d(e, n, m), a.id = g, a.line = p + 1, a.align = "left", a.position = 10 + Math.min(80, Math.floor(c * 8 / 32) * 10), o.push(a));
56876
56903
  }
56877
56904
  return t && o.length && (o.sort((p, m) => p.line === "auto" || m.line === "auto" ? 0 : p.line > 8 && m.line > 8 ? m.line - p.line : p.line - m.line), o.forEach((p) => Tv(t, p))), o;
56878
56905
  }
56879
- }, uj = {
56906
+ }, dj = {
56880
56907
  maxTimeToFirstByteMs: 8e3,
56881
56908
  maxLoadTimeMs: 2e4,
56882
56909
  timeoutRetry: null,
@@ -56963,11 +56990,11 @@ const lj = /\s/, cj = {
56963
56990
  // used by eme-controller
56964
56991
  licenseResponseCallback: void 0,
56965
56992
  // used by eme-controller
56966
- abrController: FB,
56967
- bufferController: V4,
56993
+ abrController: $B,
56994
+ bufferController: U4,
56968
56995
  capLevelController: Tf,
56969
- errorController: wB,
56970
- fpsController: m6,
56996
+ errorController: RB,
56997
+ fpsController: g6,
56971
56998
  stretchShortVideoTrack: !1,
56972
56999
  // used by mp4-remuxer
56973
57000
  maxAudioFramesDrift: 1,
@@ -57017,7 +57044,7 @@ const lj = /\s/, cj = {
57017
57044
  enableID3MetadataCues: !0,
57018
57045
  useMediaCapabilities: !0,
57019
57046
  certLoadPolicy: {
57020
- default: uj
57047
+ default: dj
57021
57048
  },
57022
57049
  keyLoadPolicy: {
57023
57050
  default: {
@@ -57115,19 +57142,19 @@ const lj = /\s/, cj = {
57115
57142
  fragLoadingMaxRetry: 6,
57116
57143
  fragLoadingRetryDelay: 1e3,
57117
57144
  fragLoadingMaxRetryTimeout: 64e3
57118
- }, dj()), {}, {
57119
- subtitleStreamController: F4,
57120
- subtitleTrackController: B4,
57121
- timelineController: p6,
57122
- audioStreamController: M4,
57123
- audioTrackController: N4,
57145
+ }, fj()), {}, {
57146
+ subtitleStreamController: $4,
57147
+ subtitleTrackController: j4,
57148
+ timelineController: h6,
57149
+ audioStreamController: N4,
57150
+ audioTrackController: F4,
57124
57151
  emeController: ds,
57125
- cmcdController: Z6,
57126
- contentSteeringController: J6
57152
+ cmcdController: Q6,
57153
+ contentSteeringController: ej
57127
57154
  });
57128
- function dj() {
57155
+ function fj() {
57129
57156
  return {
57130
- cueHandler: cj,
57157
+ cueHandler: uj,
57131
57158
  // used by timeline-controller
57132
57159
  enableWebVTT: !0,
57133
57160
  // used by timeline-controller
@@ -57154,7 +57181,7 @@ function dj() {
57154
57181
  renderTextTracksNatively: !0
57155
57182
  };
57156
57183
  }
57157
- function fj(t, e) {
57184
+ function pj(t, e) {
57158
57185
  if ((e.liveSyncDurationCount || e.liveMaxLatencyDurationCount) && (e.liveSyncDuration || e.liveMaxLatencyDuration))
57159
57186
  throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");
57160
57187
  if (e.liveMaxLatencyDurationCount !== void 0 && (e.liveSyncDurationCount === void 0 || e.liveMaxLatencyDurationCount <= e.liveSyncDurationCount))
@@ -57192,12 +57219,12 @@ function fj(t, e) {
57192
57219
  function Uu(t) {
57193
57220
  return t && typeof t == "object" ? Array.isArray(t) ? t.map(Uu) : Object.keys(t).reduce((e, n) => (e[n] = Uu(t[n]), e), {}) : t;
57194
57221
  }
57195
- function pj(t) {
57222
+ function hj(t) {
57196
57223
  const e = t.loader;
57197
- e !== lg && e !== lx ? (me.log("[config]: Custom loader detected, cannot enable progressive streaming"), t.progressive = !1) : tj() && (t.loader = lg, t.progressive = !0, t.enableSoftwareAES = !0, me.log("[config]: Progressive streaming enabled, using FetchLoader"));
57224
+ e !== lg && e !== lx ? (me.log("[config]: Custom loader detected, cannot enable progressive streaming"), t.progressive = !1) : nj() && (t.loader = lg, t.progressive = !0, t.enableSoftwareAES = !0, me.log("[config]: Progressive streaming enabled, using FetchLoader"));
57198
57225
  }
57199
57226
  let ou;
57200
- class hj extends uf {
57227
+ class mj extends uf {
57201
57228
  constructor(e, n) {
57202
57229
  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();
57203
57230
  }
@@ -57237,7 +57264,7 @@ class hj extends uf {
57237
57264
  audioCodec: g,
57238
57265
  videoCodec: h
57239
57266
  } = d;
57240
- ((f = g) == null ? void 0 : f.indexOf("mp4a.40.34")) !== -1 && (ou || (ou = /chrome|firefox/i.test(navigator.userAgent)), ou && (d.audioCodec = g = void 0)), g && (d.audioCodec = g = gl(g, r)), ((p = h) == null ? void 0 : p.indexOf("avc1")) === 0 && (h = d.videoCodec = eB(h));
57267
+ ((f = g) == null ? void 0 : f.indexOf("mp4a.40.34")) !== -1 && (ou || (ou = /chrome|firefox/i.test(navigator.userAgent)), ou && (d.audioCodec = g = void 0)), g && (d.audioCodec = g = gl(g, r)), ((p = h) == null ? void 0 : p.indexOf("avc1")) === 0 && (h = d.videoCodec = tB(h));
57241
57268
  const {
57242
57269
  width: b,
57243
57270
  height: y,
@@ -57274,7 +57301,7 @@ class hj extends uf {
57274
57301
  videoRange: h,
57275
57302
  width: b,
57276
57303
  height: y
57277
- }) => (!!g || !!(b && y)) && pB(h))), c.length === 0) {
57304
+ }) => (!!g || !!(b && y)) && hB(h))), c.length === 0) {
57278
57305
  Promise.resolve().then(() => {
57279
57306
  if (this.hls) {
57280
57307
  n.levels.length && this.warn(`One or more CODECS in variant not supported: ${JSON.stringify(n.levels[0].attrs)}`);
@@ -57526,7 +57553,7 @@ function cg(t) {
57526
57553
  n.id = e[r] = e[r] || 0, e[r]++;
57527
57554
  });
57528
57555
  }
57529
- class mj {
57556
+ class gj {
57530
57557
  constructor(e) {
57531
57558
  this.config = void 0, this.keyUriToKeyInfo = {}, this.emeController = null, this.config = e;
57532
57559
  }
@@ -57709,19 +57736,19 @@ function dx() {
57709
57736
  const e = ux();
57710
57737
  return !e || e.prototype && typeof e.prototype.appendBuffer == "function" && typeof e.prototype.remove == "function";
57711
57738
  }
57712
- function gj() {
57739
+ function bj() {
57713
57740
  if (!dx())
57714
57741
  return !1;
57715
57742
  const t = Co();
57716
57743
  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"))));
57717
57744
  }
57718
- function bj() {
57745
+ function yj() {
57719
57746
  var t;
57720
57747
  const e = ux();
57721
57748
  return typeof (e == null || (t = e.prototype) == null ? void 0 : t.changeType) == "function";
57722
57749
  }
57723
- const yj = 250, qa = 2, vj = 0.1, xj = 0.05;
57724
- class Tj {
57750
+ const vj = 250, qa = 2, xj = 0.1, Tj = 0.05;
57751
+ class Sj {
57725
57752
  constructor(e, n, r, o) {
57726
57753
  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;
57727
57754
  }
@@ -57787,7 +57814,7 @@ class Tj {
57787
57814
  return;
57788
57815
  }
57789
57816
  const g = m - s;
57790
- if (!l && g >= yj && (this._reportStall(d), !this.media))
57817
+ if (!l && g >= vj && (this._reportStall(d), !this.media))
57791
57818
  return;
57792
57819
  const h = It.bufferInfo(o, a, r.maxBufferHole);
57793
57820
  this._tryFixBufferStall(h, g);
@@ -57876,7 +57903,7 @@ class Tj {
57876
57903
  }
57877
57904
  }
57878
57905
  }
57879
- const f = Math.max(l + xj, s + vj);
57906
+ const f = Math.max(l + Tj, s + xj);
57880
57907
  if (me.warn(`skipping hole, adjusting currentTime from ${s} to ${f}`), this.moved = !0, this.stalled = null, o.currentTime = f, e && !e.gap) {
57881
57908
  const p = new Error(`fragment loaded with buffer holes, seeking from ${s} to ${f}`);
57882
57909
  r.trigger(z.ERROR, {
@@ -57926,8 +57953,8 @@ class Tj {
57926
57953
  }
57927
57954
  }
57928
57955
  }
57929
- const Sj = 100;
57930
- class Ej extends pf {
57956
+ const Ej = 100;
57957
+ class Cj extends pf {
57931
57958
  constructor(e, n, r) {
57932
57959
  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();
57933
57960
  }
@@ -57952,7 +57979,7 @@ class Ej extends pf {
57952
57979
  lastCurrentTime: n,
57953
57980
  hls: r
57954
57981
  } = this;
57955
- if (this.stopLoad(), this.setInterval(Sj), this.level = -1, !this.startFragRequested) {
57982
+ if (this.stopLoad(), this.setInterval(Ej), this.level = -1, !this.startFragRequested) {
57956
57983
  let o = r.startLevel;
57957
57984
  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;
57958
57985
  }
@@ -58122,7 +58149,7 @@ class Ej extends pf {
58122
58149
  onMediaAttached(e, n) {
58123
58150
  super.onMediaAttached(e, n);
58124
58151
  const r = n.media;
58125
- 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 Tj(this.config, r, this.fragmentTracker, this.hls);
58152
+ 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 Sj(this.config, r, this.fragmentTracker, this.hls);
58126
58153
  }
58127
58154
  onMediaDetaching() {
58128
58155
  const {
@@ -58151,7 +58178,7 @@ class Ej extends pf {
58151
58178
  n.levels.forEach((s) => {
58152
58179
  const a = s.audioCodec;
58153
58180
  a && (r = r || a.indexOf("mp4a.40.2") !== -1, o = o || a.indexOf("mp4a.40.5") !== -1);
58154
- }), this.audioCodecSwitch = r && o && !bj(), 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;
58181
+ }), this.audioCodecSwitch = r && o && !yj(), 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;
58155
58182
  }
58156
58183
  onLevelLoading(e, n) {
58157
58184
  const {
@@ -58582,7 +58609,7 @@ class Sr {
58582
58609
  * Check if MediaSource Extensions are available and isTypeSupported checks pass for any baseline codecs.
58583
58610
  */
58584
58611
  static isSupported() {
58585
- return gj();
58612
+ return bj();
58586
58613
  }
58587
58614
  /**
58588
58615
  * Get the MediaSource global used for MSE playback (ManagedMediaSource, MediaSource, or WebKitMediaSource).
@@ -58616,16 +58643,16 @@ class Sr {
58616
58643
  * @param userConfig - Configuration options applied over `Hls.DefaultConfig`
58617
58644
  */
58618
58645
  constructor(e = {}) {
58619
- this.config = void 0, this.userConfig = void 0, this.coreComponents = void 0, this.networkControllers = void 0, this.started = !1, this._emitter = new yf(), 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, d3(e.debug || !1, "Hls instance");
58620
- const n = this.config = fj(Sr.DefaultConfig, e);
58621
- this.userConfig = e, n.progressive && pj(n);
58646
+ this.config = void 0, this.userConfig = void 0, this.coreComponents = void 0, this.networkControllers = void 0, this.started = !1, this._emitter = new yf(), 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, f3(e.debug || !1, "Hls instance");
58647
+ const n = this.config = pj(Sr.DefaultConfig, e);
58648
+ this.userConfig = e, n.progressive && hj(n);
58622
58649
  const {
58623
58650
  abrController: r,
58624
58651
  bufferController: o,
58625
58652
  capLevelController: s,
58626
58653
  errorController: a,
58627
58654
  fpsController: l
58628
- } = n, c = new a(this), u = this.abrController = new r(this), d = this.bufferController = new o(this), f = this.capLevelController = new s(this), p = new l(this), m = new sB(this), g = new uB(this), h = n.contentSteeringController, b = h ? new h(this) : null, y = this.levelController = new hj(this, b), v = new BB(this), T = new mj(this.config), S = this.streamController = new Ej(this, v, T);
58655
+ } = n, c = new a(this), u = this.abrController = new r(this), d = this.bufferController = new o(this), f = this.capLevelController = new s(this), p = new l(this), m = new iB(this), g = new dB(this), h = n.contentSteeringController, b = h ? new h(this) : null, y = this.levelController = new mj(this, b), v = new jB(this), T = new gj(this.config), S = this.streamController = new Cj(this, v, T);
58629
58656
  f.setStreamController(S), p.setStreamController(S);
58630
58657
  const x = [m, y, S];
58631
58658
  b && x.splice(1, 0, b), this.networkControllers = x;
@@ -58634,7 +58661,7 @@ class Sr {
58634
58661
  const k = n.audioStreamController;
58635
58662
  k && x.push(new k(this, v, T)), this.subtitleTrackController = this.createController(n.subtitleTrackController, x);
58636
58663
  const L = n.subtitleStreamController;
58637
- L && x.push(new L(this, v, T)), this.createController(n.timelineController, I), T.emeController = this.emeController = this.createController(n.emeController, I), this.cmcdController = this.createController(n.cmcdController, I), this.latencyController = this.createController(dB, I), this.coreComponents = I, x.push(c);
58664
+ L && x.push(new L(this, v, T)), this.createController(n.timelineController, I), T.emeController = this.emeController = this.createController(n.emeController, I), this.cmcdController = this.createController(n.cmcdController, I), this.latencyController = this.createController(fB, I), this.coreComponents = I, x.push(c);
58638
58665
  const M = c.onErrorOut;
58639
58666
  typeof M == "function" && this.on(z.ERROR, M, c);
58640
58667
  }
@@ -58924,7 +58951,7 @@ class Sr {
58924
58951
  return this._maxHdcpLevel;
58925
58952
  }
58926
58953
  set maxHdcpLevel(e) {
58927
- fB(e) && this._maxHdcpLevel !== e && (this._maxHdcpLevel = e, this.levelController.checkMaxAutoUpdated());
58954
+ pB(e) && this._maxHdcpLevel !== e && (this._maxHdcpLevel = e, this.levelController.checkMaxAutoUpdated());
58928
58955
  }
58929
58956
  /**
58930
58957
  * True when automatic level selection enabled
@@ -59144,7 +59171,7 @@ class Sr {
59144
59171
  }
59145
59172
  }
59146
59173
  Sr.defaultConfig = void 0;
59147
- const Cj = {
59174
+ const wj = {
59148
59175
  svg: {
59149
59176
  path: {
59150
59177
  fill: Vt
@@ -59161,7 +59188,7 @@ const Cj = {
59161
59188
  ".MuiIconButton-root": {
59162
59189
  padding: 0
59163
59190
  }
59164
- }, wj = {
59191
+ }, Rj = {
59165
59192
  position: "absolute",
59166
59193
  left: 0,
59167
59194
  right: 0,
@@ -59173,7 +59200,7 @@ const Cj = {
59173
59200
  width: "100px",
59174
59201
  height: "100px"
59175
59202
  }
59176
- }, Rj = (t) => ({
59203
+ }, kj = (t) => ({
59177
59204
  display: "flex",
59178
59205
  justifyContent: "center",
59179
59206
  alignItems: t ? "center" : "flex-start",
@@ -59181,16 +59208,16 @@ const Cj = {
59181
59208
  overflow: t ? "hidden" : "visible",
59182
59209
  paddingLeft: "15px",
59183
59210
  paddingRight: 0
59184
- }), kj = (t) => ({
59211
+ }), Ij = (t) => ({
59185
59212
  display: t ? "none" : "block",
59186
59213
  maxWidth: "100%"
59187
- }), Ij = (t) => ({
59214
+ }), Dj = (t) => ({
59188
59215
  position: t ? "absolute" : "relative",
59189
59216
  bottom: t ? "5px" : "auto",
59190
59217
  width: t ? "100%" : "auto",
59191
59218
  display: "flex",
59192
59219
  gap: "10px"
59193
- }), Dj = {
59220
+ }), Aj = {
59194
59221
  display: "flex",
59195
59222
  backgroundColor: dn,
59196
59223
  ".MuiContainer-root": {
@@ -59243,7 +59270,7 @@ const Cj = {
59243
59270
  {
59244
59271
  ref: p,
59245
59272
  onMouseMove: v,
59246
- sx: Rj(o),
59273
+ sx: kj(o),
59247
59274
  children: /* @__PURE__ */ C.jsx(
59248
59275
  ct,
59249
59276
  {
@@ -59251,7 +59278,7 @@ const Cj = {
59251
59278
  justifyContent: "center",
59252
59279
  alignItems: "center",
59253
59280
  spacing: 2,
59254
- sx: Cj,
59281
+ sx: wj,
59255
59282
  children: t ? /* @__PURE__ */ C.jsx(kd, { sx: Jy, size: "100px" }) : /* @__PURE__ */ C.jsxs(ct, { container: !0, justifyContent: "center", position: "relative", children: [
59256
59283
  /* @__PURE__ */ C.jsxs(
59257
59284
  "video",
@@ -59262,7 +59289,7 @@ const Cj = {
59262
59289
  var x;
59263
59290
  return c(((x = f.current) == null ? void 0 : x.currentTime) || 0);
59264
59291
  },
59265
- style: kj(t),
59292
+ style: Ij(t),
59266
59293
  onClick: g,
59267
59294
  onPlay: () => a(!0),
59268
59295
  onPause: () => a(!1),
@@ -59273,7 +59300,7 @@ const Cj = {
59273
59300
  }
59274
59301
  ),
59275
59302
  u && /* @__PURE__ */ C.jsxs(C.Fragment, { children: [
59276
- o && /* @__PURE__ */ C.jsx(ct, { sx: wj, children: /* @__PURE__ */ C.jsx(Mt, { onClick: g, children: s ? /* @__PURE__ */ C.jsx(At, { icon: "pause" }) : /* @__PURE__ */ C.jsx(At, { icon: "play" }) }) }),
59303
+ o && /* @__PURE__ */ C.jsx(ct, { sx: Rj, children: /* @__PURE__ */ C.jsx(Mt, { onClick: g, children: s ? /* @__PURE__ */ C.jsx(At, { icon: "pause" }) : /* @__PURE__ */ C.jsx(At, { icon: "play" }) }) }),
59277
59304
  /* @__PURE__ */ C.jsxs(
59278
59305
  ct,
59279
59306
  {
@@ -59283,7 +59310,7 @@ const Cj = {
59283
59310
  justifyContent: "center",
59284
59311
  alignItems: "center",
59285
59312
  padding: o ? "0 10px" : "0",
59286
- sx: Ij(o),
59313
+ sx: Dj(o),
59287
59314
  margin: "0",
59288
59315
  children: [
59289
59316
  !o && /* @__PURE__ */ C.jsx(ct, { children: /* @__PURE__ */ C.jsx(Mt, { onClick: g, children: s ? /* @__PURE__ */ C.jsx(At, { icon: "pause" }) : /* @__PURE__ */ C.jsx(At, { icon: "play" }) }) }),
@@ -59320,14 +59347,14 @@ const Cj = {
59320
59347
  )
59321
59348
  }
59322
59349
  );
59323
- }, Aj = {
59350
+ }, Oj = {
59324
59351
  position: "absolute",
59325
59352
  top: "50%",
59326
59353
  left: "50%",
59327
59354
  width: "60%",
59328
59355
  height: "70%",
59329
59356
  transform: "translate(-50%, -50%)"
59330
- }, Oj = {
59357
+ }, Pj = {
59331
59358
  position: "absolute",
59332
59359
  top: "60px",
59333
59360
  right: "20px",
@@ -59368,8 +59395,8 @@ const Cj = {
59368
59395
  "aria-labelledby": "modal-title",
59369
59396
  "aria-describedby": "modal-description",
59370
59397
  children: /* @__PURE__ */ C.jsxs(C.Fragment, { children: [
59371
- /* @__PURE__ */ C.jsx(at, { sx: Oj, onClick: e, children: /* @__PURE__ */ C.jsx(At, { icon: "close" }) }),
59372
- /* @__PURE__ */ C.jsx(at, { sx: Aj, children: n }),
59398
+ /* @__PURE__ */ C.jsx(at, { sx: Pj, onClick: e, children: /* @__PURE__ */ C.jsx(At, { icon: "close" }) }),
59399
+ /* @__PURE__ */ C.jsx(at, { sx: Oj, children: n }),
59373
59400
  r && /* @__PURE__ */ C.jsxs(C.Fragment, { children: [
59374
59401
  /* @__PURE__ */ C.jsx(
59375
59402
  at,
@@ -59398,7 +59425,7 @@ const Cj = {
59398
59425
  ] })
59399
59426
  ] })
59400
59427
  }
59401
- ), Pj = ({
59428
+ ), Lj = ({
59402
59429
  isModalOpen: t = !1,
59403
59430
  onModalClose: e,
59404
59431
  isLoading: n = !1,
@@ -59412,7 +59439,7 @@ const Cj = {
59412
59439
  isHls: o,
59413
59440
  isModalOpen: t
59414
59441
  }
59415
- ) }), E8 = ({
59442
+ ) }), C8 = ({
59416
59443
  onGenerate: t,
59417
59444
  isLoading: e,
59418
59445
  src: n,
@@ -59430,7 +59457,7 @@ const Cj = {
59430
59457
  justifyContent: "center",
59431
59458
  alignItems: "center",
59432
59459
  mt: "10px",
59433
- sx: Dj,
59460
+ sx: Aj,
59434
59461
  children: o ? /* @__PURE__ */ C.jsxs(C.Fragment, { children: [
59435
59462
  /* @__PURE__ */ C.jsx(
59436
59463
  fx,
@@ -59442,7 +59469,7 @@ const Cj = {
59442
59469
  }
59443
59470
  ),
59444
59471
  /* @__PURE__ */ C.jsx(
59445
- Pj,
59472
+ Lj,
59446
59473
  {
59447
59474
  onModalClose: l,
59448
59475
  src: n,
@@ -59455,7 +59482,7 @@ const Cj = {
59455
59482
  }
59456
59483
  );
59457
59484
  };
59458
- function C8({ label: t, imageSrc: e, onClick: n }) {
59485
+ function w8({ label: t, imageSrc: e, onClick: n }) {
59459
59486
  return /* @__PURE__ */ C.jsxs(
59460
59487
  at,
59461
59488
  {
@@ -59476,21 +59503,21 @@ function C8({ label: t, imageSrc: e, onClick: n }) {
59476
59503
  }
59477
59504
  );
59478
59505
  }
59479
- const Lj = {
59506
+ const _j = {
59480
59507
  border: `1px solid ${dn}`,
59481
59508
  opacity: "40%"
59482
- }, w8 = () => /* @__PURE__ */ C.jsx(at, { sx: Lj }), _j = {
59509
+ }, R8 = () => /* @__PURE__ */ C.jsx(at, { sx: _j }), Mj = {
59483
59510
  width: "36px",
59484
59511
  height: "36px",
59485
59512
  borderRadius: "50%",
59486
59513
  overflow: "hidden"
59487
- }, Mj = {
59514
+ }, Nj = {
59488
59515
  fontWeight: "400",
59489
59516
  fontSize: "20px",
59490
59517
  lineHeight: "20px",
59491
59518
  color: dn
59492
- }, R8 = ({ title: t }) => /* @__PURE__ */ C.jsxs(ct, { container: !0, gap: "8px", alignItems: "center", children: [
59493
- /* @__PURE__ */ C.jsx(at, { sx: _j, display: "flex", alignItems: "center", justifyContent: "center", children: /* @__PURE__ */ C.jsxs(
59519
+ }, k8 = ({ title: t }) => /* @__PURE__ */ C.jsxs(ct, { container: !0, gap: "8px", alignItems: "center", children: [
59520
+ /* @__PURE__ */ C.jsx(at, { sx: Mj, display: "flex", alignItems: "center", justifyContent: "center", children: /* @__PURE__ */ C.jsxs(
59494
59521
  "svg",
59495
59522
  {
59496
59523
  width: "36",
@@ -59549,35 +59576,35 @@ const Lj = {
59549
59576
  ]
59550
59577
  }
59551
59578
  ) }),
59552
- /* @__PURE__ */ C.jsx(kt, { sx: Mj, children: t })
59553
- ] }), Nj = (t) => {
59579
+ /* @__PURE__ */ C.jsx(kt, { sx: Nj, children: t })
59580
+ ] }), Fj = (t) => {
59554
59581
  if (Array.isArray(t))
59555
59582
  return t.join(", ");
59556
59583
  if (typeof t == "object")
59557
59584
  return JSON.stringify(t, null, 2);
59558
- }, Fj = (t) => t == null ? "" : (Nj(t), t.toString()), $j = {
59585
+ }, $j = (t) => t == null ? "" : (Fj(t), t.toString()), Bj = {
59559
59586
  borderBottom: "none",
59560
59587
  width: "66%",
59561
59588
  paddingTop: 0,
59562
59589
  paddingBottom: "8px"
59563
- }, Bj = {
59590
+ }, jj = {
59564
59591
  width: "33%",
59565
59592
  borderBottom: "none",
59566
59593
  paddingTop: 0,
59567
59594
  paddingBottom: "8px"
59568
- }, jj = (t) => ({
59595
+ }, Vj = (t) => ({
59569
59596
  ...t,
59570
59597
  boxShadow: "none"
59571
- }), k8 = ({ columnDefs: t, data: e, sx: n }) => /* @__PURE__ */ C.jsx($d, { component: Jn, sx: jj(n), children: /* @__PURE__ */ C.jsx(Nd, { children: /* @__PURE__ */ C.jsx(Fd, { children: t.map((r, o) => /* @__PURE__ */ C.jsxs(es, { children: [
59572
- /* @__PURE__ */ C.jsx(vr, { component: "th", scope: "row", sx: Bj, children: /* @__PURE__ */ C.jsx(kt, { fontWeight: "500", children: r.headerName }) }),
59573
- /* @__PURE__ */ C.jsx(vr, { sx: $j, children: r.renderCell ? r.renderCell(e[r.field]) : Fj(e[r.field]) })
59574
- ] }, o)) }) }) }), Vj = {
59598
+ }), I8 = ({ columnDefs: t, data: e, sx: n }) => /* @__PURE__ */ C.jsx($d, { component: Jn, sx: Vj(n), children: /* @__PURE__ */ C.jsx(Nd, { children: /* @__PURE__ */ C.jsx(Fd, { children: t.map((r, o) => /* @__PURE__ */ C.jsxs(es, { children: [
59599
+ /* @__PURE__ */ C.jsx(vr, { component: "th", scope: "row", sx: jj, children: /* @__PURE__ */ C.jsx(kt, { fontWeight: "500", children: r.headerName }) }),
59600
+ /* @__PURE__ */ C.jsx(vr, { sx: Bj, children: r.renderCell ? r.renderCell(e[r.field]) : $j(e[r.field]) })
59601
+ ] }, o)) }) }) }), Uj = {
59575
59602
  width: "36px",
59576
59603
  height: "36px",
59577
59604
  borderRadius: "50%",
59578
59605
  overflow: "hidden",
59579
59606
  cursor: "pointer"
59580
- }, I8 = ({ imageSrc: t, alt: e }) => /* @__PURE__ */ C.jsx(at, { sx: Vj, children: /* @__PURE__ */ C.jsx("img", { src: t, alt: e }) }), Uj = {
59607
+ }, D8 = ({ imageSrc: t, alt: e }) => /* @__PURE__ */ C.jsx(at, { sx: Uj, children: /* @__PURE__ */ C.jsx("img", { src: t, alt: e }) }), zj = {
59581
59608
  "& .MuiSwitch-switchBase.Mui-checked": {
59582
59609
  color: dn
59583
59610
  },
@@ -59591,7 +59618,7 @@ const Lj = {
59591
59618
  lineHeight: "16px",
59592
59619
  letterSpacing: "0.15px",
59593
59620
  color: Wl
59594
- }, D8 = ({
59621
+ }, A8 = ({
59595
59622
  checked: t,
59596
59623
  onChange: e,
59597
59624
  leftLabel: n,
@@ -59611,14 +59638,14 @@ const Lj = {
59611
59638
  Si,
59612
59639
  {
59613
59640
  sx: { margin: 0 },
59614
- control: /* @__PURE__ */ C.jsx(Db, { checked: t, onChange: e, sx: Uj }),
59641
+ control: /* @__PURE__ */ C.jsx(Db, { checked: t, onChange: e, sx: zj }),
59615
59642
  label: ""
59616
59643
  }
59617
59644
  ),
59618
59645
  o && /* @__PURE__ */ C.jsx(So, { sx: ug, children: /* @__PURE__ */ C.jsx("span", { title: o, children: o }) })
59619
59646
  ]
59620
59647
  }
59621
- ), zj = ({
59648
+ ), Hj = ({
59622
59649
  isModalOpen: t = !1,
59623
59650
  onModalClose: e,
59624
59651
  startIndex: n,
@@ -59696,7 +59723,7 @@ const Lj = {
59696
59723
  }
59697
59724
  );
59698
59725
  };
59699
- function A8({ images: t }) {
59726
+ function O8({ images: t }) {
59700
59727
  const [e, n] = ft(0), [r, o] = ft(!1), s = () => {
59701
59728
  n((l) => (l + 1) % t.length);
59702
59729
  }, a = () => {
@@ -59729,7 +59756,7 @@ function A8({ images: t }) {
59729
59756
  },
59730
59757
  children: [
59731
59758
  /* @__PURE__ */ C.jsx(
59732
- zj,
59759
+ Hj,
59733
59760
  {
59734
59761
  onModalClose: () => {
59735
59762
  o(!1);
@@ -59791,7 +59818,7 @@ function A8({ images: t }) {
59791
59818
  )
59792
59819
  ] });
59793
59820
  }
59794
- const O8 = ({
59821
+ const P8 = ({
59795
59822
  label: t,
59796
59823
  options: e,
59797
59824
  value: n,
@@ -59803,7 +59830,7 @@ const O8 = ({
59803
59830
  function Ia(t) {
59804
59831
  throw new Error('Could not dynamically require "' + t + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
59805
59832
  }
59806
- var Hj = { exports: {} };
59833
+ var Wj = { exports: {} };
59807
59834
  /*!
59808
59835
 
59809
59836
  JSZip v3.10.1 - A JavaScript class for generating and reading zip files
@@ -62114,8 +62141,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
62114
62141
  }).call(this, typeof Hn < "u" ? Hn : typeof self < "u" ? self : typeof window < "u" ? window : {});
62115
62142
  }, {}] }, {}, [10])(10);
62116
62143
  });
62117
- })(Hj);
62118
- const Wj = (t, e) => {
62144
+ })(Wj);
62145
+ const Gj = (t, e) => {
62119
62146
  for (const n of e)
62120
62147
  if (t.startsWith(n))
62121
62148
  return !0;
@@ -62124,8 +62151,8 @@ const Wj = (t, e) => {
62124
62151
  function dg(t, e) {
62125
62152
  return t.includes(e) ? t.split(e)[0] : t;
62126
62153
  }
62127
- const Gj = "yellow", Yj = "orange";
62128
- function P8({
62154
+ const Yj = "yellow", Kj = "orange";
62155
+ function L8({
62129
62156
  elements: t,
62130
62157
  onSelect: e,
62131
62158
  selectedCluster: n,
@@ -62139,9 +62166,9 @@ function P8({
62139
62166
  if (!l) return null;
62140
62167
  const { tag: c, attributes: u, children: d } = l;
62141
62168
  let f = u.fill;
62142
- (h = u == null ? void 0 : u.id) != null && h.includes("_fill") && (r != null && r.includes(dg(u.id, "_fill")) && (f = Gj), o != null && o.includes(dg(u.id, "_fill")) && (f = Yj));
62169
+ (h = u == null ? void 0 : u.id) != null && h.includes("_fill") && (r != null && r.includes(dg(u.id, "_fill")) && (f = Yj), o != null && o.includes(dg(u.id, "_fill")) && (f = Kj));
62143
62170
  let p = (b = u.id) != null && b.endsWith("_hover") ? "none" : "block";
62144
- (y = u.id) != null && y.includes("_selected") && (s ? p = !n || !Wj(u.id, n) ? "none" : "block" : p = !n || !u.id.startsWith(n) ? "none" : "block");
62171
+ (y = u.id) != null && y.includes("_selected") && (s ? p = !n || !Gj(u.id, n) ? "none" : "block" : p = !n || !u.id.startsWith(n) ? "none" : "block");
62145
62172
  const m = {
62146
62173
  ...u,
62147
62174
  fill: f,
@@ -62163,7 +62190,7 @@ function P8({
62163
62190
  };
62164
62191
  return /* @__PURE__ */ C.jsx(C.Fragment, { children: t && a(t) });
62165
62192
  }
62166
- const Kj = (t, e) => ({
62193
+ const qj = (t, e) => ({
62167
62194
  "&.MuiTextField-root": {
62168
62195
  width: "100%",
62169
62196
  height: "40px",
@@ -62190,7 +62217,7 @@ const Kj = (t, e) => ({
62190
62217
  borderColor: t === "light" ? "rgba(0, 0, 0, .4)" : "rgba(255, 255, 255, .4)"
62191
62218
  }
62192
62219
  }
62193
- }), qj = hg(
62220
+ }), Xj = hg(
62194
62221
  ({
62195
62222
  startAdornment: t,
62196
62223
  endAdornment: e,
@@ -62204,7 +62231,7 @@ const Kj = (t, e) => ({
62204
62231
  Yi,
62205
62232
  {
62206
62233
  ...l,
62207
- sx: Kj(a, s),
62234
+ sx: qj(a, s),
62208
62235
  label: n,
62209
62236
  type: o,
62210
62237
  onChange: r,
@@ -62216,12 +62243,12 @@ const Kj = (t, e) => ({
62216
62243
  }
62217
62244
  )
62218
62245
  );
62219
- qj.displayName = "CustomInput";
62220
- const Xj = un.forwardRef(
62246
+ Xj.displayName = "CustomInput";
62247
+ const Zj = un.forwardRef(
62221
62248
  function(e, n) {
62222
62249
  return /* @__PURE__ */ C.jsx(B0, { elevation: 6, ref: n, variant: "filled", ...e });
62223
62250
  }
62224
- ), L8 = ({
62251
+ ), _8 = ({
62225
62252
  open: t,
62226
62253
  severity: e,
62227
62254
  message: n,
@@ -62235,12 +62262,12 @@ const Xj = un.forwardRef(
62235
62262
  autoHideDuration: r,
62236
62263
  onClose: o,
62237
62264
  anchorOrigin: s,
62238
- children: /* @__PURE__ */ C.jsx(Xj, { onClose: o, severity: e, children: n })
62265
+ children: /* @__PURE__ */ C.jsx(Zj, { onClose: o, severity: e, children: n })
62239
62266
  }
62240
- ), Zj = (t) => t.replace(/_/g, " ").replace(/\b\w/g, (e) => e.toUpperCase()), _8 = (t) => t.join(", ");
62267
+ ), Qj = (t) => t.replace(/_/g, " ").replace(/\b\w/g, (e) => e.toUpperCase()), M8 = (t) => t.join(", ");
62241
62268
  lt.extend(jb);
62242
62269
  lt.extend(Ub);
62243
- const fg = (t, e, n) => lt().startOf(t).set(e, n), Qj = (t, e, n) => lt().endOf(t).set(e, n), Jj = (t) => lt().subtract(1, "day").startOf("day").set("hour", t), pg = (t, e) => lt().subtract(t, e), e8 = () => {
62270
+ const fg = (t, e, n) => lt().startOf(t).set(e, n), Jj = (t, e, n) => lt().endOf(t).set(e, n), e8 = (t) => lt().subtract(1, "day").startOf("day").set("hour", t), pg = (t, e) => lt().subtract(t, e), t8 = () => {
62244
62271
  const e = new Intl.DateTimeFormat(void 0, {
62245
62272
  year: "numeric",
62246
62273
  month: "2-digit",
@@ -62268,30 +62295,30 @@ const fg = (t, e, n) => lt().startOf(t).set(e, n), Qj = (t, e, n) => lt().endOf(
62268
62295
  }
62269
62296
  }).join("");
62270
62297
  return n ? r.replace("hh", "hh") : r.replace("hh", "HH");
62271
- }, M8 = (t) => {
62272
- const e = e8();
62273
- return lt(t).format(e);
62274
62298
  }, N8 = (t) => {
62299
+ const e = t8();
62300
+ return lt(t).format(e);
62301
+ }, F8 = (t) => {
62275
62302
  const r = Math.floor(t / 6e4);
62276
62303
  t %= 6e4;
62277
62304
  const o = Math.floor(t / 1e3);
62278
62305
  let s = "";
62279
62306
  return r > 0 ? (s += `${r} min`, o > 0 && (s += ` ${o} sec`), s) : o > 0 ? (s += `${o} sec`, s) : "0 sec";
62280
- }, hx = (t, e = "UTC") => lt(t).tz(e).startOf("minute").format("YYYY-MM-DDTHH:mm:00.000[Z]"), t8 = (t, e) => lt(t).add(e, "millisecond").toISOString(), mx = (t, e) => lt.tz(t, e).utc().format("YYYY-MM-DDTHH:mm:ss.SSS[Z]"), F8 = (t, e) => lt.utc(t).tz(e).format("YYYY-MM-DDTHH:mm:ssZ"), $8 = (t, e) => lt(t).tz(e).format(), B8 = (t, e) => mx(hx(t, e), e), j8 = (t, e, n) => mx(
62281
- hx(t8(t, n), e),
62307
+ }, hx = (t, e = "UTC") => lt(t).tz(e).startOf("minute").format("YYYY-MM-DDTHH:mm:00.000[Z]"), n8 = (t, e) => lt(t).add(e, "millisecond").toISOString(), mx = (t, e) => lt.tz(t, e).utc().format("YYYY-MM-DDTHH:mm:ss.SSS[Z]"), $8 = (t, e) => lt.utc(t).tz(e).format("YYYY-MM-DDTHH:mm:ssZ"), B8 = (t, e) => lt(t).tz(e).format(), j8 = (t, e) => mx(hx(t, e), e), V8 = (t, e, n) => mx(
62308
+ hx(n8(t, n), e),
62282
62309
  e
62283
- ), V8 = [
62310
+ ), U8 = [
62284
62311
  "Camera 1 (all items)",
62285
62312
  "Camera 5 (all items)",
62286
62313
  "Camera 2 (10 items)",
62287
62314
  "Camera 3 (Zone 1)",
62288
62315
  "Camera 4 (24 items)"
62289
- ], U8 = [
62316
+ ], z8 = [
62290
62317
  { key: "classifier", label: "Classifier" },
62291
62318
  { key: "value", label: "Value" },
62292
62319
  { key: "count", label: "Count" },
62293
62320
  { key: "score", label: "Score" }
62294
- ], z8 = [
62321
+ ], H8 = [
62295
62322
  {
62296
62323
  label: "Summary",
62297
62324
  value: "0",
@@ -62302,23 +62329,23 @@ const fg = (t, e, n) => lt().startOf(t).set(e, n), Qj = (t, e, n) => lt().endOf(
62302
62329
  value: "1",
62303
62330
  disabled: !0
62304
62331
  }
62305
- ], H8 = [
62332
+ ], W8 = [
62306
62333
  { classifier: "Color", value: "Black", count: 50, score: "80%" },
62307
62334
  { classifier: "Color", value: "Yellow", count: 60, score: "70%" },
62308
62335
  { classifier: "Manufacture", value: "Volvo", count: 50, score: "80%" },
62309
62336
  { classifier: "Color", value: "Red", count: 50, score: "40%" },
62310
62337
  { classifier: "Color", value: "Green", count: 75, score: "70%" },
62311
62338
  { classifier: "Manufacture", value: "Man", count: 3, score: "80%" }
62312
- ], W8 = (t) => [
62339
+ ], G8 = (t) => [
62313
62340
  {
62314
62341
  value: "0",
62315
- content: /* @__PURE__ */ C.jsx(G5, { ...t })
62342
+ content: /* @__PURE__ */ C.jsx(Y5, { ...t })
62316
62343
  },
62317
62344
  {
62318
62345
  value: "1",
62319
62346
  content: "More"
62320
62347
  }
62321
- ], G8 = {
62348
+ ], Y8 = {
62322
62349
  data: [
62323
62350
  {
62324
62351
  id: "1",
@@ -62376,15 +62403,15 @@ const fg = (t, e, n) => lt().startOf(t).set(e, n), Qj = (t, e, n) => lt().endOf(
62376
62403
  value: "kit"
62377
62404
  }
62378
62405
  ]
62379
- }, Y8 = [
62406
+ }, K8 = [
62380
62407
  { key: "id", label: "ID" },
62381
62408
  { key: "name", label: "Name" },
62382
62409
  { key: "age", label: "Age" }
62383
- ], K8 = [
62410
+ ], q8 = [
62384
62411
  { id: 1, name: "John Doe", age: 30 },
62385
62412
  { id: 2, name: "Jane Smith", age: 25 },
62386
62413
  { id: 3, name: "Bob Johnson", age: 40 }
62387
- ], q8 = {
62414
+ ], X8 = {
62388
62415
  feed: 139,
62389
62416
  conbo_key: "28145-139-021-64216",
62390
62417
  event_id: "CNB-7987",
@@ -62394,12 +62421,12 @@ const fg = (t, e, n) => lt().startOf(t).set(e, n), Qj = (t, e, n) => lt().endOf(
62394
62421
  end: "2024-05-15T21:05:27.745000Z",
62395
62422
  cargo: "N/A",
62396
62423
  zones: ["Dock main road ", "Hello dock"]
62397
- }, X8 = [
62424
+ }, Z8 = [
62398
62425
  { headerName: "Event ID", field: "event_id" },
62399
62426
  {
62400
62427
  headerName: "Move",
62401
62428
  field: "move",
62402
- renderCell: (t) => Zj(t)
62429
+ renderCell: (t) => Qj(t)
62403
62430
  },
62404
62431
  {
62405
62432
  headerName: "Start",
@@ -62413,7 +62440,7 @@ const fg = (t, e, n) => lt().startOf(t).set(e, n), Qj = (t, e, n) => lt().endOf(
62413
62440
  },
62414
62441
  { headerName: "Cargo", field: "cargo" },
62415
62442
  { headerName: "Zones", field: "zones" }
62416
- ], Z8 = [
62443
+ ], Q8 = [
62417
62444
  { id: "1", color: "#f99191", title: "New title" },
62418
62445
  {
62419
62446
  id: "2",
@@ -62421,7 +62448,7 @@ const fg = (t, e, n) => lt().startOf(t).set(e, n), Qj = (t, e, n) => lt().endOf(
62421
62448
  title: "Message should contain more information"
62422
62449
  },
62423
62450
  { id: "3", color: "#7095f4", title: "Hello, World!" }
62424
- ], Q8 = [
62451
+ ], J8 = [
62425
62452
  {
62426
62453
  label: "Start of the day",
62427
62454
  getValue: () => fg("day", "hour", 6)
@@ -62432,11 +62459,11 @@ const fg = (t, e, n) => lt().startOf(t).set(e, n), Qj = (t, e, n) => lt().endOf(
62432
62459
  },
62433
62460
  {
62434
62461
  label: "End of day today at 18:00",
62435
- getValue: () => Qj("day", "hour", 18)
62462
+ getValue: () => Jj("day", "hour", 18)
62436
62463
  },
62437
62464
  {
62438
62465
  label: "Start of yesterday",
62439
- getValue: () => Jj(6)
62466
+ getValue: () => e8(6)
62440
62467
  },
62441
62468
  {
62442
62469
  label: "One hour ago",
@@ -62446,7 +62473,7 @@ const fg = (t, e, n) => lt().startOf(t).set(e, n), Qj = (t, e, n) => lt().endOf(
62446
62473
  label: "One day ago",
62447
62474
  getValue: () => pg(1, "day")
62448
62475
  }
62449
- ], J8 = [
62476
+ ], eV = [
62450
62477
  {
62451
62478
  value: 864e5,
62452
62479
  label: "1 day"
@@ -62462,16 +62489,16 @@ export {
62462
62489
  VC as ACTIVE_TAB,
62463
62490
  Zr as ActionButton,
62464
62491
  f2 as ActionSelect,
62465
- L8 as AlertPopup,
62466
- C8 as AppTitleBar,
62492
+ _8 as AlertPopup,
62493
+ w8 as AppTitleBar,
62467
62494
  pd as BETWEEN_GRAY_BORDER,
62468
62495
  AC as BG_GRAY_COLOR,
62469
62496
  Wl as BLACK,
62470
62497
  HC as BORDER_TAB,
62471
62498
  p2 as ChipsBar,
62472
- x8 as ChipsMultiSelect,
62473
- qj as CustomInput,
62474
- O8 as CustomSelect,
62499
+ T8 as ChipsMultiSelect,
62500
+ Xj as CustomInput,
62501
+ P8 as CustomSelect,
62475
62502
  jC as DARK_BLUE_BORDER,
62476
62503
  UC as DEFAULT_TAB,
62477
62504
  Xo as DETAILS_VIEW_BG,
@@ -62481,78 +62508,78 @@ export {
62481
62508
  OC as DISABLED_CHECKBOX,
62482
62509
  Ap as DISABLED_TEXT,
62483
62510
  NC as DISABLED_TEXT_ICON,
62484
- p8 as DatePicker,
62485
- w8 as Delimiter,
62486
- y8 as DetailsView,
62487
- v8 as DetailsViewPanel,
62511
+ h8 as DatePicker,
62512
+ R8 as Delimiter,
62513
+ v8 as DetailsView,
62514
+ x8 as DetailsViewPanel,
62488
62515
  U5 as Filter,
62489
- h8 as FilterBox,
62516
+ m8 as FilterBox,
62490
62517
  $C as GRAY_BORDER,
62491
62518
  A0 as HOVER_BTN_PRIMARY,
62492
62519
  MC as HOVER_BTN_SECONDARY,
62493
62520
  PC as HOVER_DARK_BLUE_ICON,
62494
- o8 as HOVER_NAVIGATION_ITEM,
62521
+ s8 as HOVER_NAVIGATION_ITEM,
62495
62522
  zC as HOVER_TAB,
62496
- g8 as Header,
62497
- b8 as HomeLink,
62498
- A8 as ImageBox,
62523
+ b8 as Header,
62524
+ y8 as HomeLink,
62525
+ O8 as ImageBox,
62499
62526
  BC as LIGHT_GRAY_BORDER,
62500
- R8 as Logo,
62501
- G5 as MainTable,
62502
- P8 as MetroMap,
62527
+ k8 as Logo,
62528
+ Y5 as MainTable,
62529
+ L8 as MetroMap,
62503
62530
  B5 as NotificationBar,
62504
- i8 as OPTIMUS_DARK_BG,
62505
- s8 as OPTIMUS_DEFAULT_BORDER,
62506
- l8 as OPTIMUS_LIGHTER_BR,
62507
- a8 as OPTIMUS_LIGHT_BG,
62508
- d8 as OPTIMUS_TEXT_LIGHTGREY,
62509
- f8 as OPTIMUS_TEXT_LIGHTGREY_FADED,
62510
- c8 as OPTIMUS_TEXT_PRIMARY,
62511
- u8 as OPTIMUS_TEXT_SECONDARY,
62531
+ a8 as OPTIMUS_DARK_BG,
62532
+ i8 as OPTIMUS_DEFAULT_BORDER,
62533
+ c8 as OPTIMUS_LIGHTER_BR,
62534
+ l8 as OPTIMUS_LIGHT_BG,
62535
+ f8 as OPTIMUS_TEXT_LIGHTGREY,
62536
+ p8 as OPTIMUS_TEXT_LIGHTGREY_FADED,
62537
+ u8 as OPTIMUS_TEXT_PRIMARY,
62538
+ d8 as OPTIMUS_TEXT_SECONDARY,
62512
62539
  Vt as PASSIVE_BTN_PRIMARY,
62513
62540
  _C as PASSIVE_BTN_SECONDARY,
62514
62541
  fl as PLACEMENTS,
62515
62542
  P5 as SearchInput,
62516
62543
  At as Svg,
62517
- z8 as TABS,
62518
- Z5 as Tab,
62519
- m8 as TabsBar,
62520
- D8 as Toggle,
62521
- I8 as UserAvatar,
62522
- k8 as VerticalTable,
62523
- E8 as VideoBox,
62544
+ H8 as TABS,
62545
+ Q5 as Tab,
62546
+ g8 as TabsBar,
62547
+ A8 as Toggle,
62548
+ D8 as UserAvatar,
62549
+ I8 as VerticalTable,
62550
+ C8 as VideoBox,
62524
62551
  dn as WHITE,
62525
- t8 as addMillisecondsToDate,
62526
- U8 as columnDefs,
62527
- Y8 as columns,
62528
- j8 as convertDateFromUTCWithFormattedDateAndDuration,
62552
+ n8 as addMillisecondsToDate,
62553
+ z8 as columnDefs,
62554
+ K8 as columns,
62555
+ V8 as convertDateFromUTCWithFormattedDateAndDuration,
62529
62556
  mx as convertLocalToUTC,
62530
- B8 as convertLocalToUTCWithFormattedDate,
62531
- $8 as convertTimezone,
62532
- F8 as convertUTCToTimeZone,
62533
- V8 as dataMock,
62534
- H8 as detailsViewDataMock,
62557
+ j8 as convertLocalToUTCWithFormattedDate,
62558
+ B8 as convertTimezone,
62559
+ $8 as convertUTCToTimeZone,
62560
+ U8 as dataMock,
62561
+ W8 as detailsViewDataMock,
62535
62562
  hx as formatDate,
62536
- M8 as formatDateWithLocal,
62537
- N8 as formatDuration,
62538
- _8 as formatValueWithComma,
62539
- Qj as getEndTime,
62540
- e8 as getLocalDateTimeFormat,
62563
+ N8 as formatDateWithLocal,
62564
+ F8 as formatDuration,
62565
+ M8 as formatValueWithComma,
62566
+ Jj as getEndTime,
62567
+ t8 as getLocalDateTimeFormat,
62541
62568
  fg as getStartTime,
62542
- Jj as getStartTimeOfYesterday,
62543
- W8 as getTabsContent,
62569
+ e8 as getStartTimeOfYesterday,
62570
+ G8 as getTabsContent,
62544
62571
  tv as inputLabelSx,
62545
62572
  Jy as loaderSx,
62546
- K8 as mainTableDataMock,
62547
- J8 as mockSelectOptions,
62548
- Q8 as mockShortcut,
62549
- G8 as newFilterMock,
62573
+ q8 as mainTableDataMock,
62574
+ eV as mockSelectOptions,
62575
+ J8 as mockShortcut,
62576
+ Y8 as newFilterMock,
62550
62577
  ev as selectSx,
62551
- Zj as snakeCaseToTitleCase,
62578
+ Qj as snakeCaseToTitleCase,
62552
62579
  pg as subtractTime,
62553
62580
  Zy as tabSx,
62554
- Z8 as tabsMock,
62581
+ Q8 as tabsMock,
62555
62582
  Qy as tabsSx,
62556
- X8 as verticalTableColumnDefs,
62557
- q8 as verticalTableDataMock
62583
+ Z8 as verticalTableColumnDefs,
62584
+ X8 as verticalTableDataMock
62558
62585
  };