@lazycatcloud/lzc-video-player 0.0.41 → 0.0.43

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.
Files changed (59) hide show
  1. package/dist/{browser-ponyfill.4e5aa840.js → browser-ponyfill.2d8446af.js} +1 -1
  2. package/dist/{lzc-video-player.e704f59c.js → lzc-video-player.17283888.js} +818 -221
  3. package/dist/lzc-video-player.js +3 -2
  4. package/dist/{lzc-video-player.d.ts → src/lzc-video-player.d.ts} +1 -0
  5. package/package.json +1 -1
  6. /package/dist/{components → src/components}/Dialog/index.vue.d.ts +0 -0
  7. /package/dist/{components → src/components}/MultipleEdit/choose.vue.d.ts +0 -0
  8. /package/dist/{components → src/components}/PlayList/index.vue.d.ts +0 -0
  9. /package/dist/{components → src/components}/Spectrum/index.vue.d.ts +0 -0
  10. /package/dist/{components → src/components}/Video/components/LzcCurrentTimeDisplay.d.ts +0 -0
  11. /package/dist/{components → src/components}/Video/components/LzcFullscreenToggle.d.ts +0 -0
  12. /package/dist/{components → src/components}/Video/components/LzcLoadingSpinner.d.ts +0 -0
  13. /package/dist/{components → src/components}/Video/components/LzcModal/components/simpleList.vue.d.ts +0 -0
  14. /package/dist/{components → src/components}/Video/components/LzcModal/index.vue.d.ts +0 -0
  15. /package/dist/{components → src/components}/Video/components/LzcModal/list.vue.d.ts +0 -0
  16. /package/dist/{components → src/components}/Video/components/LzcModal/playrate.vue.d.ts +0 -0
  17. /package/dist/{components → src/components}/Video/components/LzcModal/resolution.vue.d.ts +0 -0
  18. /package/dist/{components → src/components}/Video/components/LzcModal/useModal.d.ts +0 -0
  19. /package/dist/{components → src/components}/Video/components/LzcModal.d.ts +0 -0
  20. /package/dist/{components → src/components}/Video/components/LzcOverlay/cast.vue.d.ts +0 -0
  21. /package/dist/{components → src/components}/Video/components/LzcOverlay/castMiddleware.d.ts +0 -0
  22. /package/dist/{components → src/components}/Video/components/LzcOverlay/castPlugin.d.ts +0 -0
  23. /package/dist/{components → src/components}/Video/components/LzcOverlay/casting.vue.d.ts +0 -0
  24. /package/dist/{components → src/components}/Video/components/LzcOverlay/error.vue.d.ts +0 -0
  25. /package/dist/{components → src/components}/Video/components/LzcOverlay/helper.d.ts +0 -0
  26. /package/dist/{components → src/components}/Video/components/LzcOverlay/index.vue.d.ts +0 -0
  27. /package/dist/{components → src/components}/Video/components/LzcOverlay/playing.vue.d.ts +0 -0
  28. /package/dist/{components → src/components}/Video/components/LzcOverlay/playingButtons.vue.d.ts +0 -0
  29. /package/dist/{components → src/components}/Video/components/LzcOverlay/playingLayout.vue.d.ts +0 -0
  30. /package/dist/{components → src/components}/Video/components/LzcOverlay/useCast.d.ts +0 -0
  31. /package/dist/{components → src/components}/Video/components/LzcOverlay/useCommon.d.ts +0 -0
  32. /package/dist/{components → src/components}/Video/components/LzcOverlay.d.ts +0 -0
  33. /package/dist/{components → src/components}/Video/components/LzcPlayRate.d.ts +0 -0
  34. /package/dist/{components → src/components}/Video/components/LzcPlayToggle.d.ts +0 -0
  35. /package/dist/{components → src/components}/Video/components/LzcPlaylistButton.d.ts +0 -0
  36. /package/dist/{components → src/components}/Video/components/LzcPlaylistNext.d.ts +0 -0
  37. /package/dist/{components → src/components}/Video/components/LzcProgress.d.ts +0 -0
  38. /package/dist/{components → src/components}/Video/components/LzcRemainingTimeDisplay.d.ts +0 -0
  39. /package/dist/{components → src/components}/Video/components/LzcResolutionButton.d.ts +0 -0
  40. /package/dist/{components → src/components}/Video/components/LzcSeekBar.d.ts +0 -0
  41. /package/dist/{components → src/components}/Video/components/LzcSubtitleButton.d.ts +0 -0
  42. /package/dist/{components → src/components}/Video/components/useLzcCommon.d.ts +0 -0
  43. /package/dist/{components → src/components}/Video/getSubtitleInfo.d.ts +0 -0
  44. /package/dist/{components → src/components}/Video/hlsjs.d.ts +0 -0
  45. /package/dist/{components → src/components}/Video/index.vue.d.ts +0 -0
  46. /package/dist/{components → src/components}/Video/useSource.d.ts +0 -0
  47. /package/dist/{components → src/components}/Video/useWebview.d.ts +0 -0
  48. /package/dist/{components → src/components}/Video/useWebviewMiddleware.d.ts +0 -0
  49. /package/dist/{components → src/components}/Video/videoFrame.d.ts +0 -0
  50. /package/dist/{i18n → src/i18n}/index.d.ts +0 -0
  51. /package/dist/{model.d.ts → src/model.d.ts} +0 -0
  52. /package/dist/{stores → src/stores}/pinia.d.ts +0 -0
  53. /package/dist/{stores → src/stores}/playlist.d.ts +0 -0
  54. /package/dist/{use → src/use}/useKeyBind.d.ts +0 -0
  55. /package/dist/{use → src/use}/useMultipleEdit.d.ts +0 -0
  56. /package/dist/{use → src/use}/useSdk.d.ts +0 -0
  57. /package/dist/{use → src/use}/useUtils.d.ts +0 -0
  58. /package/dist/{use → src/use}/useVideoFrame.d.ts +0 -0
  59. /package/dist/{utils → src/utils}/sentry.d.ts +0 -0
@@ -1,6 +1,6 @@
1
- var Jn = Object.defineProperty;
2
- var Yn = (r, e, n) => e in r ? Jn(r, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : r[e] = n;
3
- var Kn = (r, e, n) => (Yn(r, typeof e != "symbol" ? e + "" : e, n), n);
1
+ var Yn = Object.defineProperty;
2
+ var Xn = (r, e, n) => e in r ? Yn(r, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : r[e] = n;
3
+ var Qn = (r, e, n) => (Xn(r, typeof e != "symbol" ? e + "" : e, n), n);
4
4
  import { defineComponent, ref, computed, markRaw, getCurrentInstance, h, watch, onBeforeUnmount, Transition, openBlock, createElementBlock, createElementVNode, normalizeClass, createBlock, reactive, onDeactivated, nextTick, onMounted, onUnmounted, Teleport, createVNode, unref, withCtx, toDisplayString, createCommentVNode, inject, useCssVars, watchEffect, withModifiers, Fragment as Fragment$1, renderList, createTextVNode, renderSlot, createApp, withDirectives, onBeforeUpdate, onActivated, toRaw, getCurrentScope, onScopeDispose, normalizeStyle, toRefs } from "vue";
5
5
  import { defineStore, getActivePinia, createPinia } from "pinia";
6
6
  const lzcVideoPlayer = "";
@@ -2847,7 +2847,7 @@ Document.prototype = {
2847
2847
  return r.ownerDocument = this, r.childNodes = new NodeList(), r;
2848
2848
  },
2849
2849
  createTextNode: function(r) {
2850
- var e = new Text$1();
2850
+ var e = new Text$2();
2851
2851
  return e.ownerDocument = this, e.appendData(r), e;
2852
2852
  },
2853
2853
  createComment: function(r) {
@@ -2982,9 +2982,9 @@ CharacterData.prototype = {
2982
2982
  }
2983
2983
  };
2984
2984
  _extends$1(CharacterData, Node$1);
2985
- function Text$1() {
2985
+ function Text$2() {
2986
2986
  }
2987
- Text$1.prototype = {
2987
+ Text$2.prototype = {
2988
2988
  nodeName: "#text",
2989
2989
  nodeType: TEXT_NODE,
2990
2990
  splitText: function(r) {
@@ -2994,7 +2994,7 @@ Text$1.prototype = {
2994
2994
  return this.parentNode && this.parentNode.insertBefore(s, this.nextSibling), s;
2995
2995
  }
2996
2996
  };
2997
- _extends$1(Text$1, CharacterData);
2997
+ _extends$1(Text$2, CharacterData);
2998
2998
  function Comment() {
2999
2999
  }
3000
3000
  Comment.prototype = {
@@ -11454,13 +11454,13 @@ var ResizeManager = /* @__PURE__ */ function(r) {
11454
11454
  }, e;
11455
11455
  }(Component$1$1);
11456
11456
  Component$1$1.registerComponent("ResizeManager", ResizeManager);
11457
- var defaults$1 = {
11457
+ var defaults$2 = {
11458
11458
  trackingThreshold: 20,
11459
11459
  liveTolerance: 15
11460
11460
  }, LiveTracker = /* @__PURE__ */ function(r) {
11461
11461
  _inheritsLoose(e, r);
11462
11462
  function e(s, a) {
11463
- var o, u = mergeOptions$3(defaults$1, a, {
11463
+ var o, u = mergeOptions$3(defaults$2, a, {
11464
11464
  createEl: !1
11465
11465
  });
11466
11466
  return o = r.call(this, s, u) || this, o.handleVisibilityChange_ = function(l) {
@@ -13255,7 +13255,7 @@ ALL.names.forEach(function(r) {
13255
13255
  });
13256
13256
  Player.prototype.crossorigin = Player.prototype.crossOrigin;
13257
13257
  Player.players = {};
13258
- var navigator$1 = window_1.navigator;
13258
+ var navigator$2 = window_1.navigator;
13259
13259
  Player.prototype.options_ = {
13260
13260
  techOrder: Tech$1.defaultTechOrder_,
13261
13261
  html5: {},
@@ -13263,7 +13263,7 @@ Player.prototype.options_ = {
13263
13263
  playbackRates: [],
13264
13264
  liveui: !1,
13265
13265
  children: ["mediaLoader", "posterImage", "textTrackDisplay", "loadingSpinner", "bigPlayButton", "liveTracker", "controlBar", "errorDisplay", "textTrackSettings", "resizeManager"],
13266
- language: navigator$1 && (navigator$1.languages && navigator$1.languages[0] || navigator$1.userLanguage || navigator$1.language) || "en",
13266
+ language: navigator$2 && (navigator$2.languages && navigator$2.languages[0] || navigator$2.userLanguage || navigator$2.language) || "en",
13267
13267
  languages: {},
13268
13268
  notSupportedMessage: "No compatible source was found for this media.",
13269
13269
  normalizeAutoplay: !1,
@@ -16856,17 +16856,17 @@ browserWorkerPolyFill(self);
16856
16856
  Ie === ve[0] && (Ie++, ve.shift()), Ee[Ce] = ie[Ie];
16857
16857
  return Ee;
16858
16858
  }, Z = function(ie) {
16859
- var de = 0, ve = 0, Ce = 0, Oe = 0, Ee, Ie, Qe, rt, wt, Vr, pn, mn, gn, Wr, vn, He = [1, 1], yn, Ot;
16859
+ var de = 0, ve = 0, Ce = 0, Oe = 0, Ee, Ie, Qe, rt, wt, Vr, mn, gn, vn, Wr, yn, He = [1, 1], bn, Ot;
16860
16860
  if (Ee = new Fr(ie), Ie = Ee.readUnsignedByte(), rt = Ee.readUnsignedByte(), Qe = Ee.readUnsignedByte(), Ee.skipUnsignedExpGolomb(), _r[Ie] && (wt = Ee.readUnsignedExpGolomb(), wt === 3 && Ee.skipBits(1), Ee.skipUnsignedExpGolomb(), Ee.skipUnsignedExpGolomb(), Ee.skipBits(1), Ee.readBoolean()))
16861
- for (vn = wt !== 3 ? 8 : 12, Ot = 0; Ot < vn; Ot++)
16861
+ for (yn = wt !== 3 ? 8 : 12, Ot = 0; Ot < yn; Ot++)
16862
16862
  Ee.readBoolean() && (Ot < 6 ? re(16, Ee) : re(64, Ee));
16863
16863
  if (Ee.skipUnsignedExpGolomb(), Vr = Ee.readUnsignedExpGolomb(), Vr === 0)
16864
16864
  Ee.readUnsignedExpGolomb();
16865
16865
  else if (Vr === 1)
16866
- for (Ee.skipBits(1), Ee.skipExpGolomb(), Ee.skipExpGolomb(), pn = Ee.readUnsignedExpGolomb(), Ot = 0; Ot < pn; Ot++)
16866
+ for (Ee.skipBits(1), Ee.skipExpGolomb(), Ee.skipExpGolomb(), mn = Ee.readUnsignedExpGolomb(), Ot = 0; Ot < mn; Ot++)
16867
16867
  Ee.skipExpGolomb();
16868
- if (Ee.skipUnsignedExpGolomb(), Ee.skipBits(1), mn = Ee.readUnsignedExpGolomb(), gn = Ee.readUnsignedExpGolomb(), Wr = Ee.readBits(1), Wr === 0 && Ee.skipBits(1), Ee.skipBits(1), Ee.readBoolean() && (de = Ee.readUnsignedExpGolomb(), ve = Ee.readUnsignedExpGolomb(), Ce = Ee.readUnsignedExpGolomb(), Oe = Ee.readUnsignedExpGolomb()), Ee.readBoolean() && Ee.readBoolean()) {
16869
- switch (yn = Ee.readUnsignedByte(), yn) {
16868
+ if (Ee.skipUnsignedExpGolomb(), Ee.skipBits(1), gn = Ee.readUnsignedExpGolomb(), vn = Ee.readUnsignedExpGolomb(), Wr = Ee.readBits(1), Wr === 0 && Ee.skipBits(1), Ee.skipBits(1), Ee.readBoolean() && (de = Ee.readUnsignedExpGolomb(), ve = Ee.readUnsignedExpGolomb(), Ce = Ee.readUnsignedExpGolomb(), Oe = Ee.readUnsignedExpGolomb()), Ee.readBoolean() && Ee.readBoolean()) {
16869
+ switch (bn = Ee.readUnsignedByte(), bn) {
16870
16870
  case 1:
16871
16871
  He = [1, 1];
16872
16872
  break;
@@ -16926,8 +16926,8 @@ browserWorkerPolyFill(self);
16926
16926
  profileIdc: Ie,
16927
16927
  levelIdc: Qe,
16928
16928
  profileCompatibility: rt,
16929
- width: (mn + 1) * 16 - de * 2 - ve * 2,
16930
- height: (2 - Wr) * (gn + 1) * 16 - Ce * 2 - Oe * 2,
16929
+ width: (gn + 1) * 16 - de * 2 - ve * 2,
16930
+ height: (2 - Wr) * (vn + 1) * 16 - Ce * 2 - Oe * 2,
16931
16931
  sarRatio: He
16932
16932
  };
16933
16933
  };
@@ -17321,13 +17321,13 @@ browserWorkerPolyFill(self);
17321
17321
  for (M = 0; M < _.byteLength; )
17322
17322
  q = Yr(_[M] << 24 | _[M + 1] << 16 | _[M + 2] << 8 | _[M + 3]), V = yt(_.subarray(M + 4, M + 8)), Z = q > 1 ? M + q : _.byteLength, V === k[0] && (k.length === 1 ? D.push(_.subarray(M + 8, Z)) : (re = K(_.subarray(M + 8, Z), k.slice(1)), re.length && (D = D.concat(re)))), M = Z;
17323
17323
  return D;
17324
- }, $e = sr, qt = Yt.toUnsigned, Xt = a.getUint64, bn = function(_) {
17324
+ }, $e = sr, qt = Yt.toUnsigned, Xt = a.getUint64, _n = function(_) {
17325
17325
  var k = {
17326
17326
  version: _[0],
17327
17327
  flags: new Uint8Array(_.subarray(1, 4))
17328
17328
  };
17329
17329
  return k.version === 1 ? k.baseMediaDecodeTime = Xt(_.subarray(4)) : k.baseMediaDecodeTime = qt(_[4] << 24 | _[5] << 16 | _[6] << 8 | _[7]), k;
17330
- }, Xr = bn, _n = function(_) {
17330
+ }, Xr = _n, Sn = function(_) {
17331
17331
  return {
17332
17332
  isLeading: (_[0] & 12) >>> 2,
17333
17333
  dependsOn: _[0] & 3,
@@ -17337,7 +17337,7 @@ browserWorkerPolyFill(self);
17337
17337
  isNonSyncSample: _[1] & 1,
17338
17338
  degradationPriority: _[2] << 8 | _[3]
17339
17339
  };
17340
- }, Zr = _n, Sn = function(_) {
17340
+ }, Zr = Sn, Tn = function(_) {
17341
17341
  var k = {
17342
17342
  version: _[0],
17343
17343
  flags: new Uint8Array(_.subarray(1, 4)),
@@ -17348,16 +17348,16 @@ browserWorkerPolyFill(self);
17348
17348
  }, de += 4, V && (ve.duration = D.getUint32(de), de += 4), Z && (ve.size = D.getUint32(de), de += 4), se && (k.version === 1 ? ve.compositionTimeOffset = D.getInt32(de) : ve.compositionTimeOffset = D.getUint32(de), de += 4), k.samples.push(ve), ie--); ie--; )
17349
17349
  ve = {}, V && (ve.duration = D.getUint32(de), de += 4), Z && (ve.size = D.getUint32(de), de += 4), re && (ve.flags = Zr(_.subarray(de, de + 4)), de += 4), se && (k.version === 1 ? ve.compositionTimeOffset = D.getInt32(de) : ve.compositionTimeOffset = D.getUint32(de), de += 4), k.samples.push(ve);
17350
17350
  return k;
17351
- }, en = Sn, Tn = function(_) {
17351
+ }, tn = Tn, En = function(_) {
17352
17352
  var k = new DataView(_.buffer, _.byteOffset, _.byteLength), D = {
17353
17353
  version: _[0],
17354
17354
  flags: new Uint8Array(_.subarray(1, 4)),
17355
17355
  trackId: k.getUint32(4)
17356
17356
  }, M = D.flags[2] & 1, q = D.flags[2] & 2, V = D.flags[2] & 8, Z = D.flags[2] & 16, re = D.flags[2] & 32, se = D.flags[0] & 65536, ie = D.flags[0] & 131072, de;
17357
17357
  return de = 8, M && (de += 4, D.baseDataOffset = k.getUint32(12), de += 4), q && (D.sampleDescriptionIndex = k.getUint32(de), de += 4), V && (D.defaultSampleDuration = k.getUint32(de), de += 4), Z && (D.defaultSampleSize = k.getUint32(de), de += 4), re && (D.defaultSampleFlags = k.getUint32(de)), se && (D.durationIsEmpty = !0), !M && ie && (D.baseDataOffsetIsMoof = !0), D;
17358
- }, tn = Tn, rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Zt;
17359
- typeof window < "u" ? Zt = window : typeof rn < "u" ? Zt = rn : typeof self < "u" ? Zt = self : Zt = {};
17360
- var er = Zt, En = Et.discardEmulationPreventionBytes, An = It.CaptionStream, Cn = function(_, k) {
17358
+ }, rn = En, nn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Zt;
17359
+ typeof window < "u" ? Zt = window : typeof nn < "u" ? Zt = nn : typeof self < "u" ? Zt = self : Zt = {};
17360
+ var er = Zt, An = Et.discardEmulationPreventionBytes, Cn = It.CaptionStream, wn = function(_, k) {
17361
17361
  for (var D = _, M = 0; M < k.length; M++) {
17362
17362
  var q = k[M];
17363
17363
  if (D < q.size)
@@ -17365,7 +17365,7 @@ browserWorkerPolyFill(self);
17365
17365
  D -= q.size;
17366
17366
  }
17367
17367
  return null;
17368
- }, wn = function(_, k, D) {
17368
+ }, On = function(_, k, D) {
17369
17369
  var M = new DataView(_.buffer, _.byteOffset, _.byteLength), q = {
17370
17370
  logs: [],
17371
17371
  seiNals: []
@@ -17374,12 +17374,12 @@ browserWorkerPolyFill(self);
17374
17374
  if (re = M.getUint32(Z), Z += 4, !(re <= 0))
17375
17375
  switch (_[Z] & 31) {
17376
17376
  case 6:
17377
- var ie = _.subarray(Z + 1, Z + 1 + re), de = Cn(Z, k);
17377
+ var ie = _.subarray(Z + 1, Z + 1 + re), de = wn(Z, k);
17378
17378
  if (V = {
17379
17379
  nalUnitType: "sei_rbsp",
17380
17380
  size: re,
17381
17381
  data: ie,
17382
- escapedRBSP: En(ie),
17382
+ escapedRBSP: An(ie),
17383
17383
  trackId: D
17384
17384
  }, de)
17385
17385
  V.pts = de.pts, V.dts = de.dts, se = de;
@@ -17396,15 +17396,15 @@ browserWorkerPolyFill(self);
17396
17396
  break;
17397
17397
  }
17398
17398
  return q;
17399
- }, On = function(_, k, D) {
17399
+ }, Dn = function(_, k, D) {
17400
17400
  var M = k, q = D.defaultSampleDuration || 0, V = D.defaultSampleSize || 0, Z = D.trackId, re = [];
17401
17401
  return _.forEach(function(se) {
17402
- var ie = en(se), de = ie.samples;
17402
+ var ie = tn(se), de = ie.samples;
17403
17403
  de.forEach(function(ve) {
17404
17404
  ve.duration === void 0 && (ve.duration = q), ve.size === void 0 && (ve.size = V), ve.trackId = Z, ve.dts = M, ve.compositionTimeOffset === void 0 && (ve.compositionTimeOffset = 0), typeof M == "bigint" ? (ve.pts = M + er.BigInt(ve.compositionTimeOffset), M += er.BigInt(ve.duration)) : (ve.pts = M + ve.compositionTimeOffset, M += ve.duration);
17405
17405
  }), re = re.concat(de);
17406
17406
  }), re;
17407
- }, Dn = function(_, k) {
17407
+ }, In = function(_, k) {
17408
17408
  var D = $e(_, ["moof", "traf"]), M = $e(_, ["mdat"]), q = {}, V = [];
17409
17409
  return M.forEach(function(Z, re) {
17410
17410
  var se = D[re];
@@ -17413,29 +17413,29 @@ browserWorkerPolyFill(self);
17413
17413
  traf: se
17414
17414
  });
17415
17415
  }), V.forEach(function(Z) {
17416
- var re = Z.mdat, se = Z.traf, ie = $e(se, ["tfhd"]), de = tn(ie[0]), ve = de.trackId, Ce = $e(se, ["tfdt"]), Oe = Ce.length > 0 ? Xr(Ce[0]).baseMediaDecodeTime : 0, Ee = $e(se, ["trun"]), Ie, Qe;
17417
- k === ve && Ee.length > 0 && (Ie = On(Ee, Oe, de), Qe = wn(re, Ie, ve), q[ve] || (q[ve] = {
17416
+ var re = Z.mdat, se = Z.traf, ie = $e(se, ["tfhd"]), de = rn(ie[0]), ve = de.trackId, Ce = $e(se, ["tfdt"]), Oe = Ce.length > 0 ? Xr(Ce[0]).baseMediaDecodeTime : 0, Ee = $e(se, ["trun"]), Ie, Qe;
17417
+ k === ve && Ee.length > 0 && (Ie = Dn(Ee, Oe, de), Qe = On(re, Ie, ve), q[ve] || (q[ve] = {
17418
17418
  seiNals: [],
17419
17419
  logs: []
17420
17420
  }), q[ve].seiNals = q[ve].seiNals.concat(Qe.seiNals), q[ve].logs = q[ve].logs.concat(Qe.logs));
17421
17421
  }), q;
17422
- }, In = function(_, k, D) {
17422
+ }, kn = function(_, k, D) {
17423
17423
  var M;
17424
17424
  if (k === null)
17425
17425
  return null;
17426
- M = Dn(_, k);
17426
+ M = In(_, k);
17427
17427
  var q = M[k] || {};
17428
17428
  return {
17429
17429
  seiNals: q.seiNals,
17430
17430
  logs: q.logs,
17431
17431
  timescale: D
17432
17432
  };
17433
- }, kn = function() {
17433
+ }, Pn = function() {
17434
17434
  var _ = !1, k, D, M, q, V, Z;
17435
17435
  this.isInitialized = function() {
17436
17436
  return _;
17437
17437
  }, this.init = function(re) {
17438
- k = new An(), _ = !0, Z = re ? re.isPartial : !1, k.on("data", function(se) {
17438
+ k = new Cn(), _ = !0, Z = re ? re.isPartial : !1, k.on("data", function(se) {
17439
17439
  se.startTime = se.startPts / q, se.endTime = se.endPts / q, V.captions.push(se), V.captionStreams[se.stream] = !0;
17440
17440
  }), k.on("log", function(se) {
17441
17441
  V.logs.push(se);
@@ -17457,7 +17457,7 @@ browserWorkerPolyFill(self);
17457
17457
  var ve = D.shift();
17458
17458
  this.parse(ve, se, ie);
17459
17459
  }
17460
- return de = In(re, M, q), de && de.logs && (V.logs = V.logs.concat(de.logs)), de === null || !de.seiNals ? V.logs.length ? {
17460
+ return de = kn(re, M, q), de && de.logs && (V.logs = V.logs.concat(de.logs)), de === null || !de.seiNals ? V.logs.length ? {
17461
17461
  logs: V.logs,
17462
17462
  captions: [],
17463
17463
  captionStreams: []
@@ -17487,29 +17487,29 @@ browserWorkerPolyFill(self);
17487
17487
  logs: []
17488
17488
  }, this.resetCaptionStream();
17489
17489
  }, this.reset();
17490
- }, Pn = kn, Er = Yt.toUnsigned, tr = Yt.toHexString, xn = a.getUint64, nn, an, sn, un, ln, qr;
17491
- nn = function(_) {
17490
+ }, xn = Pn, Er = Yt.toUnsigned, tr = Yt.toHexString, Rn = a.getUint64, an, sn, un, ln, cn, qr;
17491
+ an = function(_) {
17492
17492
  var k = {}, D = $e(_, ["moov", "trak"]);
17493
17493
  return D.reduce(function(M, q) {
17494
17494
  var V, Z, re, se, ie;
17495
17495
  return V = $e(q, ["tkhd"])[0], !V || (Z = V[0], re = Z === 0 ? 12 : 20, se = Er(V[re] << 24 | V[re + 1] << 16 | V[re + 2] << 8 | V[re + 3]), ie = $e(q, ["mdia", "mdhd"])[0], !ie) ? null : (Z = ie[0], re = Z === 0 ? 12 : 20, M[se] = Er(ie[re] << 24 | ie[re + 1] << 16 | ie[re + 2] << 8 | ie[re + 3]), M);
17496
17496
  }, k);
17497
- }, an = function(_, k) {
17497
+ }, sn = function(_, k) {
17498
17498
  var D;
17499
17499
  D = $e(k, ["moof", "traf"]);
17500
17500
  var M = D.reduce(function(q, V) {
17501
17501
  var Z = $e(V, ["tfhd"])[0], re = Er(Z[4] << 24 | Z[5] << 16 | Z[6] << 8 | Z[7]), se = _[re] || 9e4, ie = $e(V, ["tfdt"])[0], de = new DataView(ie.buffer, ie.byteOffset, ie.byteLength), ve;
17502
- ie[0] === 1 ? ve = xn(ie.subarray(4, 12)) : ve = de.getUint32(4);
17502
+ ie[0] === 1 ? ve = Rn(ie.subarray(4, 12)) : ve = de.getUint32(4);
17503
17503
  var Ce;
17504
17504
  return typeof ve == "bigint" ? Ce = ve / er.BigInt(se) : typeof ve == "number" && !isNaN(ve) && (Ce = ve / se), Ce < Number.MAX_SAFE_INTEGER && (Ce = Number(Ce)), Ce < q && (q = Ce), q;
17505
17505
  }, 1 / 0);
17506
17506
  return typeof M == "bigint" || isFinite(M) ? M : 0;
17507
- }, sn = function(_, k) {
17507
+ }, un = function(_, k) {
17508
17508
  var D = $e(k, ["moof", "traf"]), M = 0, q = 0, V;
17509
17509
  if (D && D.length) {
17510
17510
  var Z = $e(D[0], ["tfhd"])[0], re = $e(D[0], ["trun"])[0], se = $e(D[0], ["tfdt"])[0];
17511
17511
  if (Z) {
17512
- var ie = tn(Z);
17512
+ var ie = rn(Z);
17513
17513
  V = ie.trackId;
17514
17514
  }
17515
17515
  if (se) {
@@ -17517,7 +17517,7 @@ browserWorkerPolyFill(self);
17517
17517
  M = de.baseMediaDecodeTime;
17518
17518
  }
17519
17519
  if (re) {
17520
- var ve = en(re);
17520
+ var ve = tn(re);
17521
17521
  ve.samples && ve.samples.length && (q = ve.samples[0].compositionTimeOffset || 0);
17522
17522
  }
17523
17523
  }
@@ -17525,7 +17525,7 @@ browserWorkerPolyFill(self);
17525
17525
  typeof M == "bigint" && (q = er.BigInt(q), Ce = er.BigInt(Ce));
17526
17526
  var Oe = (M + q) / Ce;
17527
17527
  return typeof Oe == "bigint" && Oe < Number.MAX_SAFE_INTEGER && (Oe = Number(Oe)), Oe;
17528
- }, un = function(_) {
17528
+ }, ln = function(_) {
17529
17529
  var k = $e(_, ["moov", "trak"]), D = [];
17530
17530
  return k.forEach(function(M) {
17531
17531
  var q = $e(M, ["mdia", "hdlr"]), V = $e(M, ["tkhd"]);
@@ -17537,7 +17537,7 @@ browserWorkerPolyFill(self);
17537
17537
  }, qr = function(_) {
17538
17538
  var k = _[0], D = k === 0 ? 12 : 20;
17539
17539
  return Er(_[D] << 24 | _[D + 1] << 16 | _[D + 2] << 8 | _[D + 3]);
17540
- }, ln = function(_) {
17540
+ }, cn = function(_) {
17541
17541
  var k = $e(_, ["moov", "trak"]), D = [];
17542
17542
  return k.forEach(function(M) {
17543
17543
  var q = {}, V = $e(M, ["tkhd"])[0], Z, re;
@@ -17558,16 +17558,16 @@ browserWorkerPolyFill(self);
17558
17558
  Ie && (q.timescale = qr(Ie)), D.push(q);
17559
17559
  }), D;
17560
17560
  };
17561
- var cn = {
17561
+ var dn = {
17562
17562
  findBox: $e,
17563
17563
  parseType: yt,
17564
- timescale: nn,
17565
- startTime: an,
17566
- compositionStartTime: sn,
17567
- videoTrackIds: un,
17568
- tracks: ln,
17564
+ timescale: an,
17565
+ startTime: sn,
17566
+ compositionStartTime: un,
17567
+ videoTrackIds: ln,
17568
+ tracks: cn,
17569
17569
  getTimescaleFromMediaHeader: qr
17570
- }, dn = function(_) {
17570
+ }, fn = function(_) {
17571
17571
  var k = _[1] & 31;
17572
17572
  return k <<= 8, k |= _[2], k;
17573
17573
  }, Ar = function(_) {
@@ -17575,13 +17575,13 @@ browserWorkerPolyFill(self);
17575
17575
  }, Cr = function(_) {
17576
17576
  var k = 0;
17577
17577
  return (_[3] & 48) >>> 4 > 1 && (k += _[4] + 1), k;
17578
- }, Rn = function(_, k) {
17579
- var D = dn(_);
17578
+ }, Ln = function(_, k) {
17579
+ var D = fn(_);
17580
17580
  return D === 0 ? "pat" : D === k ? "pmt" : k ? "pes" : null;
17581
- }, Ln = function(_) {
17581
+ }, Mn = function(_) {
17582
17582
  var k = Ar(_), D = 4 + Cr(_);
17583
17583
  return k && (D += _[D] + 1), (_[D + 10] & 31) << 8 | _[D + 11];
17584
- }, Mn = function(_) {
17584
+ }, Nn = function(_) {
17585
17585
  var k = {}, D = Ar(_), M = 4 + Cr(_);
17586
17586
  if (D && (M += _[M] + 1), !!(_[M + 5] & 1)) {
17587
17587
  var q, V, Z;
@@ -17592,8 +17592,8 @@ browserWorkerPolyFill(self);
17592
17592
  }
17593
17593
  return k;
17594
17594
  }
17595
- }, Nn = function(_, k) {
17596
- var D = dn(_), M = k[D];
17595
+ }, Fn = function(_, k) {
17596
+ var D = fn(_), M = k[D];
17597
17597
  switch (M) {
17598
17598
  case Ke.H264_STREAM_TYPE:
17599
17599
  return "video";
@@ -17604,7 +17604,7 @@ browserWorkerPolyFill(self);
17604
17604
  default:
17605
17605
  return null;
17606
17606
  }
17607
- }, Fn = function(_) {
17607
+ }, $n = function(_) {
17608
17608
  var k = Ar(_);
17609
17609
  if (!k)
17610
17610
  return null;
@@ -17628,7 +17628,7 @@ browserWorkerPolyFill(self);
17628
17628
  default:
17629
17629
  return null;
17630
17630
  }
17631
- }, $n = function(_) {
17631
+ }, Bn = function(_) {
17632
17632
  for (var k = 4 + Cr(_), D = _.subarray(k), M = 0, q = 0, V = !1, Z; q < D.byteLength - 3; q++)
17633
17633
  if (D[q + 2] === 1) {
17634
17634
  M = q + 5;
@@ -17662,17 +17662,17 @@ browserWorkerPolyFill(self);
17662
17662
  break;
17663
17663
  }
17664
17664
  return D = D.subarray(q), M -= q, q = 0, D && D.byteLength > 3 && (Z = Gr(D[q + 3] & 31), Z === "slice_layer_without_partitioning_rbsp_idr" && (V = !0)), V;
17665
- }, Bn = {
17666
- parseType: Rn,
17667
- parsePat: Ln,
17668
- parsePmt: Mn,
17665
+ }, Un = {
17666
+ parseType: Ln,
17667
+ parsePat: Mn,
17668
+ parsePmt: Nn,
17669
17669
  parsePayloadUnitStartIndicator: Ar,
17670
- parsePesType: Nn,
17671
- parsePesTime: Fn,
17672
- videoPacketContainsKeyFrame: $n
17670
+ parsePesType: Fn,
17671
+ parsePesTime: $n,
17672
+ videoPacketContainsKeyFrame: Bn
17673
17673
  }, Gt = hr.handleRollover, Fe = {};
17674
- Fe.ts = Bn, Fe.aac = Ge;
17675
- var Ct = Re.ONE_SECOND_IN_TS, tt = 188, ht = 71, Un = function(_, k) {
17674
+ Fe.ts = Un, Fe.aac = Ge;
17675
+ var Ct = Re.ONE_SECOND_IN_TS, tt = 188, ht = 71, jn = function(_, k) {
17676
17676
  for (var D = 0, M = tt, q, V; M < _.byteLength; ) {
17677
17677
  if (_[D] === ht && _[M] === ht) {
17678
17678
  switch (q = _.subarray(D, M), V = Fe.ts.parseType(q, k.pid), V) {
@@ -17691,7 +17691,7 @@ browserWorkerPolyFill(self);
17691
17691
  }
17692
17692
  D++, M++;
17693
17693
  }
17694
- }, fn = function(_, k, D) {
17694
+ }, hn = function(_, k, D) {
17695
17695
  for (var M = 0, q = tt, V, Z, re, se, ie, de = !1; q <= _.byteLength; ) {
17696
17696
  if (_[M] === ht && (_[q] === ht || q === _.byteLength)) {
17697
17697
  switch (V = _.subarray(M, q), Z = Fe.ts.parseType(V, k.pid), Z) {
@@ -17720,7 +17720,7 @@ browserWorkerPolyFill(self);
17720
17720
  }
17721
17721
  M--, q--;
17722
17722
  }
17723
- }, jn = function(_, k, D) {
17723
+ }, qn = function(_, k, D) {
17724
17724
  for (var M = 0, q = tt, V, Z, re, se, ie, de, ve, Ce, Oe = !1, Ee = {
17725
17725
  data: [],
17726
17726
  size: 0
@@ -17763,7 +17763,7 @@ browserWorkerPolyFill(self);
17763
17763
  }
17764
17764
  M--, q--;
17765
17765
  }
17766
- }, qn = function(_, k) {
17766
+ }, Gn = function(_, k) {
17767
17767
  if (_.audio && _.audio.length) {
17768
17768
  var D = k;
17769
17769
  (typeof D > "u" || isNaN(D)) && (D = _.audio[0].dts), _.audio.forEach(function(V) {
@@ -17779,7 +17779,7 @@ browserWorkerPolyFill(self);
17779
17779
  q.dts = Gt(q.dts, M), q.pts = Gt(q.pts, M), q.dtsTime = q.dts / Ct, q.ptsTime = q.pts / Ct;
17780
17780
  }
17781
17781
  }
17782
- }, Gn = function(_) {
17782
+ }, Vn = function(_) {
17783
17783
  for (var k = !1, D = 0, M = null, q = null, V = 0, Z = 0, re; _.length - Z >= 3; ) {
17784
17784
  var se = Fe.aac.parseType(_, Z);
17785
17785
  switch (se) {
@@ -17826,32 +17826,32 @@ browserWorkerPolyFill(self);
17826
17826
  }]
17827
17827
  };
17828
17828
  return de;
17829
- }, Vn = function(_) {
17829
+ }, Wn = function(_) {
17830
17830
  var k = {
17831
17831
  pid: null,
17832
17832
  table: null
17833
17833
  }, D = {};
17834
- Un(_, k);
17834
+ jn(_, k);
17835
17835
  for (var M in k.table)
17836
17836
  if (k.table.hasOwnProperty(M)) {
17837
17837
  var q = k.table[M];
17838
17838
  switch (q) {
17839
17839
  case Ke.H264_STREAM_TYPE:
17840
- D.video = [], jn(_, k, D), D.video.length === 0 && delete D.video;
17840
+ D.video = [], qn(_, k, D), D.video.length === 0 && delete D.video;
17841
17841
  break;
17842
17842
  case Ke.ADTS_STREAM_TYPE:
17843
- D.audio = [], fn(_, k, D), D.audio.length === 0 && delete D.audio;
17843
+ D.audio = [], hn(_, k, D), D.audio.length === 0 && delete D.audio;
17844
17844
  break;
17845
17845
  }
17846
17846
  }
17847
17847
  return D;
17848
- }, Wn = function(_, k) {
17848
+ }, Hn = function(_, k) {
17849
17849
  var D = Fe.aac.isLikelyAacData(_), M;
17850
- return D ? M = Gn(_) : M = Vn(_), !M || !M.audio && !M.video ? null : (qn(M, k), M);
17851
- }, Hn = {
17852
- inspect: Wn,
17853
- parseAudioPes_: fn
17854
- }, zn = function(_, k) {
17850
+ return D ? M = Vn(_) : M = Wn(_), !M || !M.audio && !M.video ? null : (Gn(M, k), M);
17851
+ }, zn = {
17852
+ inspect: Hn,
17853
+ parseAudioPes_: hn
17854
+ }, Kn = function(_, k) {
17855
17855
  k.on("data", function(D) {
17856
17856
  var M = D.initSegment;
17857
17857
  D.initSegment = {
@@ -17944,15 +17944,15 @@ browserWorkerPolyFill(self);
17944
17944
  log: D
17945
17945
  });
17946
17946
  });
17947
- }, hn = /* @__PURE__ */ function() {
17947
+ }, pn = /* @__PURE__ */ function() {
17948
17948
  function K(k, D) {
17949
17949
  this.options = D || {}, this.self = k, this.init();
17950
17950
  }
17951
17951
  var _ = K.prototype;
17952
17952
  return _.init = function() {
17953
- this.transmuxer && this.transmuxer.dispose(), this.transmuxer = new zr.Transmuxer(this.options), zn(this.self, this.transmuxer);
17953
+ this.transmuxer && this.transmuxer.dispose(), this.transmuxer = new zr.Transmuxer(this.options), Kn(this.self, this.transmuxer);
17954
17954
  }, _.pushMp4Captions = function(D) {
17955
- this.captionParser || (this.captionParser = new Pn(), this.captionParser.init());
17955
+ this.captionParser || (this.captionParser = new xn(), this.captionParser.init());
17956
17956
  var M = new Uint8Array(D.data, D.byteOffset, D.byteLength), q = this.captionParser.parse(M, D.trackIds, D.timescales);
17957
17957
  this.self.postMessage({
17958
17958
  action: "mp4Captions",
@@ -17961,21 +17961,21 @@ browserWorkerPolyFill(self);
17961
17961
  data: M.buffer
17962
17962
  }, [M.buffer]);
17963
17963
  }, _.probeMp4StartTime = function(D) {
17964
- var M = D.timescales, q = D.data, V = cn.startTime(M, q);
17964
+ var M = D.timescales, q = D.data, V = dn.startTime(M, q);
17965
17965
  this.self.postMessage({
17966
17966
  action: "probeMp4StartTime",
17967
17967
  startTime: V,
17968
17968
  data: q
17969
17969
  }, [q.buffer]);
17970
17970
  }, _.probeMp4Tracks = function(D) {
17971
- var M = D.data, q = cn.tracks(M);
17971
+ var M = D.data, q = dn.tracks(M);
17972
17972
  this.self.postMessage({
17973
17973
  action: "probeMp4Tracks",
17974
17974
  tracks: q,
17975
17975
  data: M
17976
17976
  }, [M.buffer]);
17977
17977
  }, _.probeTs = function(D) {
17978
- var M = D.data, q = D.baseStartTime, V = typeof q == "number" && !isNaN(q) ? q * Re.ONE_SECOND_IN_TS : void 0, Z = Hn.inspect(M, V), re = null;
17978
+ var M = D.data, q = D.baseStartTime, V = typeof q == "number" && !isNaN(q) ? q * Re.ONE_SECOND_IN_TS : void 0, Z = zn.inspect(M, V), re = null;
17979
17979
  Z && (re = {
17980
17980
  hasVideo: Z.video && Z.video.length === 2 || !1,
17981
17981
  hasAudio: Z.audio && Z.audio.length === 2 || !1
@@ -18016,10 +18016,10 @@ browserWorkerPolyFill(self);
18016
18016
  }();
18017
18017
  self.onmessage = function(K) {
18018
18018
  if (K.data.action === "init" && K.data.options) {
18019
- this.messageHandlers = new hn(self, K.data.options);
18019
+ this.messageHandlers = new pn(self, K.data.options);
18020
18020
  return;
18021
18021
  }
18022
- this.messageHandlers || (this.messageHandlers = new hn(self)), K.data && K.data.action && K.data.action !== "init" && this.messageHandlers[K.data.action] && this.messageHandlers[K.data.action](K.data);
18022
+ this.messageHandlers || (this.messageHandlers = new pn(self)), K.data && K.data.action && K.data.action !== "init" && this.messageHandlers[K.data.action] && this.messageHandlers[K.data.action](K.data);
18023
18023
  };
18024
18024
  })), TransmuxWorker$1 = factory$2(workerCode$1$1), handleData_$1 = function(e, n, s) {
18025
18025
  var a = e.data.segment, o = a.type, u = a.initSegment, l = a.captions, c = a.captionStreams, d = a.metadata, f = a.videoFrameDtsTime, p = a.videoFramePtsTime;
@@ -22444,30 +22444,30 @@ if (!videojs.getPlugin || !videojs.getPlugin("reloadSourceOnError")) {
22444
22444
  var registerPlugin$2 = videojs.registerPlugin || videojs.plugin;
22445
22445
  registerPlugin$2("reloadSourceOnError", reloadSourceOnError$1);
22446
22446
  }
22447
- const Play = "\u64AD\u653E", Pause = "\u6682\u505C", Duration = "\u65F6\u957F", LIVE = "\u76F4\u64AD", Loaded = "\u52A0\u8F7D\u5B8C\u6210", Progress = "\u8FDB\u5EA6", Fullscreen = "\u5168\u5C4F", Mute = "\u9759\u97F3", Unmute = "\u5F00\u542F\u97F3\u6548", Subtitles = "\u5B57\u5E55", Captions = "\u5185\u5D4C\u5B57\u5E55", Chapters = "\u8282\u76EE\u6BB5\u843D", Descriptions = "\u63CF\u8FF0", Close = "\u5173\u95ED", Replay = "\u91CD\u65B0\u64AD\u653E", Text = "\u6587\u5B57", White = "\u767D", Black = "\u9ED1", Red = "\u7EA2", Green = "\u7EFF", Blue = "\u84DD", Yellow = "\u9EC4", Magenta = "\u7D2B\u7EA2", Cyan = "\u9752", Background = "\u80CC\u666F", Window = "\u7A97\u53E3", Transparent = "\u900F\u660E", Opaque = "\u4E0D\u900F\u660E", None = "\u65E0", Raised = "\u6D6E\u96D5", Depressed = "\u538B\u4F4E", Uniform = "\u5747\u5300", Dropshadow = "\u4E0B\u9634\u5F71", Casual = "\u8212\u9002", Script = "\u624B\u5199\u4F53", Reset = "\u91CD\u7F6E", Done = "\u5B8C\u6210", videoZH = {
22448
- Play,
22449
- Pause,
22447
+ const Play$1 = "\u64AD\u653E", Pause$1 = "\u6682\u505C", Duration$1 = "\u65F6\u957F", LIVE$1 = "\u76F4\u64AD", Loaded$1 = "\u52A0\u8F7D\u5B8C\u6210", Progress$1 = "\u8FDB\u5EA6", Fullscreen$1 = "\u5168\u5C4F", Mute$1 = "\u9759\u97F3", Unmute$1 = "\u5F00\u542F\u97F3\u6548", Subtitles$1 = "\u5B57\u5E55", Captions$1 = "\u5185\u5D4C\u5B57\u5E55", Chapters$1 = "\u8282\u76EE\u6BB5\u843D", Descriptions$1 = "\u63CF\u8FF0", Close$1 = "\u5173\u95ED", Replay$1 = "\u91CD\u65B0\u64AD\u653E", Text$1 = "\u6587\u5B57", White$1 = "\u767D", Black$1 = "\u9ED1", Red$1 = "\u7EA2", Green$1 = "\u7EFF", Blue$1 = "\u84DD", Yellow$1 = "\u9EC4", Magenta$1 = "\u7D2B\u7EA2", Cyan$1 = "\u9752", Background$1 = "\u80CC\u666F", Window$1 = "\u7A97\u53E3", Transparent$1 = "\u900F\u660E", Opaque$1 = "\u4E0D\u900F\u660E", None$1 = "\u65E0", Raised$1 = "\u6D6E\u96D5", Depressed$1 = "\u538B\u4F4E", Uniform$1 = "\u5747\u5300", Dropshadow$1 = "\u4E0B\u9634\u5F71", Casual$1 = "\u8212\u9002", Script$1 = "\u624B\u5199\u4F53", Reset$1 = "\u91CD\u7F6E", Done$1 = "\u5B8C\u6210", videoZH = {
22448
+ Play: Play$1,
22449
+ Pause: Pause$1,
22450
22450
  "Current Time": "\u5F53\u524D\u65F6\u95F4",
22451
- Duration,
22451
+ Duration: Duration$1,
22452
22452
  "Remaining Time": "\u5269\u4F59\u65F6\u95F4",
22453
22453
  "Stream Type": "\u5A92\u4F53\u6D41\u7C7B\u578B",
22454
- LIVE,
22455
- Loaded,
22456
- Progress,
22457
- Fullscreen,
22454
+ LIVE: LIVE$1,
22455
+ Loaded: Loaded$1,
22456
+ Progress: Progress$1,
22457
+ Fullscreen: Fullscreen$1,
22458
22458
  "Non-Fullscreen": "\u9000\u51FA\u5168\u5C4F",
22459
22459
  "Picture-in-Picture": "\u753B\u4E2D\u753B",
22460
22460
  "Exit Picture-in-Picture": "\u9000\u51FA\u753B\u4E2D\u753B",
22461
- Mute,
22462
- Unmute,
22461
+ Mute: Mute$1,
22462
+ Unmute: Unmute$1,
22463
22463
  "Playback Rate": "\u64AD\u653E\u901F\u5EA6",
22464
- Subtitles,
22464
+ Subtitles: Subtitles$1,
22465
22465
  "subtitles off": "\u5173\u95ED\u5B57\u5E55",
22466
- Captions,
22466
+ Captions: Captions$1,
22467
22467
  "captions off": "\u5173\u95ED\u5185\u5D4C\u5B57\u5E55",
22468
- Chapters,
22468
+ Chapters: Chapters$1,
22469
22469
  "Close Modal Dialog": "\u5173\u95ED\u5F39\u7A97",
22470
- Descriptions,
22470
+ Descriptions: Descriptions$1,
22471
22471
  "descriptions off": "\u5173\u95ED\u63CF\u8FF0",
22472
22472
  "Audio Track": "\u97F3\u8F68",
22473
22473
  "You aborted the media playback": "\u89C6\u9891\u64AD\u653E\u88AB\u7EC8\u6B62",
@@ -22477,7 +22477,7 @@ const Play = "\u64AD\u653E", Pause = "\u6682\u505C", Duration = "\u65F6\u957F",
22477
22477
  "No compatible source was found for this media.": "\u65E0\u6CD5\u627E\u5230\u6B64\u89C6\u9891\u517C\u5BB9\u7684\u6E90\u3002",
22478
22478
  "The media is encrypted and we do not have the keys to decrypt it.": "\u89C6\u9891\u5DF2\u52A0\u5BC6\uFF0C\u65E0\u6CD5\u89E3\u5BC6\u3002",
22479
22479
  "Play Video": "\u64AD\u653E\u89C6\u9891",
22480
- Close,
22480
+ Close: Close$1,
22481
22481
  "Modal Window": "\u5F39\u7A97",
22482
22482
  "This is a modal window": "\u8FD9\u662F\u4E00\u4E2A\u5F39\u7A97",
22483
22483
  "This modal can be closed by pressing the Escape key or activating the close button.": "\u53EF\u4EE5\u6309ESC\u6309\u952E\u6216\u542F\u7528\u5173\u95ED\u6309\u94AE\u6765\u5173\u95ED\u6B64\u5F39\u7A97\u3002",
@@ -22488,11 +22488,101 @@ const Play = "\u64AD\u653E", Pause = "\u6682\u505C", Duration = "\u65F6\u957F",
22488
22488
  "captions settings": "\u5B57\u5E55\u8BBE\u5B9A",
22489
22489
  "Audio Player": "\u97F3\u9891\u64AD\u653E\u5668",
22490
22490
  "Video Player": "\u89C6\u9891\u64AD\u653E\u5668",
22491
- Replay,
22491
+ Replay: Replay$1,
22492
22492
  "Progress Bar": "\u8FDB\u5EA6\u6761",
22493
22493
  "Volume Level": "\u97F3\u91CF",
22494
22494
  "subtitles settings": "\u5B57\u5E55\u8BBE\u5B9A",
22495
22495
  "descriptions settings": "\u63CF\u8FF0\u8BBE\u5B9A",
22496
+ Text: Text$1,
22497
+ White: White$1,
22498
+ Black: Black$1,
22499
+ Red: Red$1,
22500
+ Green: Green$1,
22501
+ Blue: Blue$1,
22502
+ Yellow: Yellow$1,
22503
+ Magenta: Magenta$1,
22504
+ Cyan: Cyan$1,
22505
+ Background: Background$1,
22506
+ Window: Window$1,
22507
+ Transparent: Transparent$1,
22508
+ "Semi-Transparent": "\u534A\u900F\u660E",
22509
+ Opaque: Opaque$1,
22510
+ "Font Size": "\u5B57\u4F53\u5C3A\u5BF8",
22511
+ "Text Edge Style": "\u5B57\u4F53\u8FB9\u7F18\u6837\u5F0F",
22512
+ None: None$1,
22513
+ Raised: Raised$1,
22514
+ Depressed: Depressed$1,
22515
+ Uniform: Uniform$1,
22516
+ Dropshadow: Dropshadow$1,
22517
+ "Font Family": "\u5B57\u4F53\u5E93",
22518
+ "Proportional Sans-Serif": "\u6BD4\u4F8B\u65E0\u7EC6\u4F53",
22519
+ "Monospace Sans-Serif": "\u5355\u95F4\u9694\u65E0\u7EC6\u4F53",
22520
+ "Proportional Serif": "\u6BD4\u4F8B\u7EC6\u4F53",
22521
+ "Monospace Serif": "\u5355\u95F4\u9694\u7EC6\u4F53",
22522
+ Casual: Casual$1,
22523
+ Script: Script$1,
22524
+ "Small Caps": "\u5C0F\u578B\u5927\u5199\u5B57\u4F53",
22525
+ Reset: Reset$1,
22526
+ "restore all settings to the default values": "\u6062\u590D\u5168\u90E8\u8BBE\u5B9A\u81F3\u9884\u8BBE\u503C",
22527
+ Done: Done$1,
22528
+ "Caption Settings Dialog": "\u5B57\u5E55\u8BBE\u5B9A\u7A97\u53E3",
22529
+ "Beginning of dialog window. Escape will cancel and close the window.": "\u6253\u5F00\u5BF9\u8BDD\u7A97\u53E3\u3002Escape\u952E\u5C06\u53D6\u6D88\u5E76\u5173\u95ED\u5BF9\u8BDD\u7A97\u53E3",
22530
+ "End of dialog window.": "\u7ED3\u675F\u5BF9\u8BDD\u7A97\u53E3",
22531
+ "Seek to live, currently behind live": "\u5C1D\u8BD5\u76F4\u64AD\uFF0C\u5F53\u524D\u4E3A\u5EF6\u65F6\u64AD\u653E",
22532
+ "Seek to live, currently playing live": "\u5C1D\u8BD5\u76F4\u64AD\uFF0C\u5F53\u524D\u4E3A\u5B9E\u65F6\u64AD\u653E",
22533
+ "progress bar timing: currentTime={1} duration={2}": "{1}/{2}",
22534
+ "{1} is loading.": "\u6B63\u5728\u52A0\u8F7D {1}\u3002",
22535
+ "No content": "\u65E0\u5185\u5BB9"
22536
+ }, Play = "Play", Pause = "Pause", Replay = "Replay", Duration = "Duration", LIVE = "LIVE", Loaded = "Loaded", Progress = "Progress", Fullscreen = "Fullscreen", Mute = "Mute", Unmute = "Unmute", Subtitles = "Subtitles", Captions = "Captions", Chapters = "Chapters", Descriptions = "Descriptions", Close = "Close", Text = "Text", White = "White", Black = "Black", Red = "Red", Green = "Green", Blue = "Blue", Yellow = "Yellow", Magenta = "Magenta", Cyan = "Cyan", Background = "Background", Window = "Window", Transparent = "Transparent", Opaque = "Opaque", None = "None", Raised = "Raised", Depressed = "Depressed", Uniform = "Uniform", Dropshadow = "Dropshadow", Casual = "Casual", Script = "Script", Reset = "Reset", Done = "Done", videoEN = {
22537
+ "Audio Player": "Audio Player",
22538
+ "Video Player": "Video Player",
22539
+ Play,
22540
+ Pause,
22541
+ Replay,
22542
+ "Current Time": "Current Time",
22543
+ Duration,
22544
+ "Remaining Time": "Remaining Time",
22545
+ "Stream Type": "Stream Type",
22546
+ LIVE,
22547
+ "Seek to live, currently behind live": "Seek to live, currently behind live",
22548
+ "Seek to live, currently playing live": "Seek to live, currently playing live",
22549
+ Loaded,
22550
+ Progress,
22551
+ "Progress Bar": "Progress Bar",
22552
+ "progress bar timing: currentTime={1} duration={2}": "{1} of {2}",
22553
+ Fullscreen,
22554
+ "Non-Fullscreen": "Exit Fullscreen",
22555
+ Mute,
22556
+ Unmute,
22557
+ "Playback Rate": "Playback Rate",
22558
+ Subtitles,
22559
+ "subtitles off": "subtitles off",
22560
+ Captions,
22561
+ "captions off": "captions off",
22562
+ Chapters,
22563
+ Descriptions,
22564
+ "descriptions off": "descriptions off",
22565
+ "Audio Track": "Audio Track",
22566
+ "Volume Level": "Volume Level",
22567
+ "You aborted the media playback": "You aborted the media playback",
22568
+ "A network error caused the media download to fail part-way.": "A network error caused the media download to fail part-way.",
22569
+ "The media could not be loaded, either because the server or network failed or because the format is not supported.": "The media could not be loaded, either because the server or network failed or because the format is not supported.",
22570
+ "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.": "The media playback was aborted due to a corruption problem or because the media used features your browser did not support.",
22571
+ "No compatible source was found for this media.": "No compatible source was found for this media.",
22572
+ "The media is encrypted and we do not have the keys to decrypt it.": "The media is encrypted and we do not have the keys to decrypt it.",
22573
+ "Play Video": "Play Video",
22574
+ Close,
22575
+ "Close Modal Dialog": "Close Modal Dialog",
22576
+ "Modal Window": "Modal Window",
22577
+ "This is a modal window": "This is a modal window",
22578
+ "This modal can be closed by pressing the Escape key or activating the close button.": "This modal can be closed by pressing the Escape key or activating the close button.",
22579
+ ", opens captions settings dialog": ", opens captions settings dialog",
22580
+ ", opens subtitles settings dialog": ", opens subtitles settings dialog",
22581
+ ", opens descriptions settings dialog": ", opens descriptions settings dialog",
22582
+ ", selected": ", selected",
22583
+ "captions settings": "captions settings",
22584
+ "subtitles settings": "subtitles settings",
22585
+ "descriptions settings": "descriptions settings",
22496
22586
  Text,
22497
22587
  White,
22498
22588
  Black,
@@ -22505,34 +22595,33 @@ const Play = "\u64AD\u653E", Pause = "\u6682\u505C", Duration = "\u65F6\u957F",
22505
22595
  Background,
22506
22596
  Window,
22507
22597
  Transparent,
22508
- "Semi-Transparent": "\u534A\u900F\u660E",
22598
+ "Semi-Transparent": "Semi-Transparent",
22509
22599
  Opaque,
22510
- "Font Size": "\u5B57\u4F53\u5C3A\u5BF8",
22511
- "Text Edge Style": "\u5B57\u4F53\u8FB9\u7F18\u6837\u5F0F",
22600
+ "Font Size": "Font Size",
22601
+ "Text Edge Style": "Text Edge Style",
22512
22602
  None,
22513
22603
  Raised,
22514
22604
  Depressed,
22515
22605
  Uniform,
22516
22606
  Dropshadow,
22517
- "Font Family": "\u5B57\u4F53\u5E93",
22518
- "Proportional Sans-Serif": "\u6BD4\u4F8B\u65E0\u7EC6\u4F53",
22519
- "Monospace Sans-Serif": "\u5355\u95F4\u9694\u65E0\u7EC6\u4F53",
22520
- "Proportional Serif": "\u6BD4\u4F8B\u7EC6\u4F53",
22521
- "Monospace Serif": "\u5355\u95F4\u9694\u7EC6\u4F53",
22607
+ "Font Family": "Font Family",
22608
+ "Proportional Sans-Serif": "Proportional Sans-Serif",
22609
+ "Monospace Sans-Serif": "Monospace Sans-Serif",
22610
+ "Proportional Serif": "Proportional Serif",
22611
+ "Monospace Serif": "Monospace Serif",
22522
22612
  Casual,
22523
22613
  Script,
22524
- "Small Caps": "\u5C0F\u578B\u5927\u5199\u5B57\u4F53",
22614
+ "Small Caps": "Small Caps",
22525
22615
  Reset,
22526
- "restore all settings to the default values": "\u6062\u590D\u5168\u90E8\u8BBE\u5B9A\u81F3\u9884\u8BBE\u503C",
22616
+ "restore all settings to the default values": "restore all settings to the default values",
22527
22617
  Done,
22528
- "Caption Settings Dialog": "\u5B57\u5E55\u8BBE\u5B9A\u7A97\u53E3",
22529
- "Beginning of dialog window. Escape will cancel and close the window.": "\u6253\u5F00\u5BF9\u8BDD\u7A97\u53E3\u3002Escape\u952E\u5C06\u53D6\u6D88\u5E76\u5173\u95ED\u5BF9\u8BDD\u7A97\u53E3",
22530
- "End of dialog window.": "\u7ED3\u675F\u5BF9\u8BDD\u7A97\u53E3",
22531
- "Seek to live, currently behind live": "\u5C1D\u8BD5\u76F4\u64AD\uFF0C\u5F53\u524D\u4E3A\u5EF6\u65F6\u64AD\u653E",
22532
- "Seek to live, currently playing live": "\u5C1D\u8BD5\u76F4\u64AD\uFF0C\u5F53\u524D\u4E3A\u5B9E\u65F6\u64AD\u653E",
22533
- "progress bar timing: currentTime={1} duration={2}": "{1}/{2}",
22534
- "{1} is loading.": "\u6B63\u5728\u52A0\u8F7D {1}\u3002",
22535
- "No content": "\u65E0\u5185\u5BB9"
22618
+ "Caption Settings Dialog": "Caption Settings Dialog",
22619
+ "Beginning of dialog window. Escape will cancel and close the window.": "Beginning of dialog window. Escape will cancel and close the window.",
22620
+ "End of dialog window.": "End of dialog window.",
22621
+ "{1} is loading.": "{1} is loading.",
22622
+ "Exit Picture-in-Picture": "Exit Picture-in-Picture",
22623
+ "Picture-in-Picture": "Picture-in-Picture",
22624
+ "No content": "No content"
22536
22625
  };
22537
22626
  /*! @name @videojs/http-streaming @version 2.16.2 @license Apache-2.0 */
22538
22627
  var resolveUrl = resolveUrl$2, resolveManifestRedirect = function(e, n, s) {
@@ -25857,17 +25946,17 @@ browserWorkerPolyFill(self);
25857
25946
  Ie === ve[0] && (Ie++, ve.shift()), Ee[Ce] = ie[Ie];
25858
25947
  return Ee;
25859
25948
  }, Z = function(ie) {
25860
- var de = 0, ve = 0, Ce = 0, Oe = 0, Ee, Ie, Qe, rt, wt, Vr, pn, mn, gn, Wr, vn, He = [1, 1], yn, Ot;
25949
+ var de = 0, ve = 0, Ce = 0, Oe = 0, Ee, Ie, Qe, rt, wt, Vr, mn, gn, vn, Wr, yn, He = [1, 1], bn, Ot;
25861
25950
  if (Ee = new Fr(ie), Ie = Ee.readUnsignedByte(), rt = Ee.readUnsignedByte(), Qe = Ee.readUnsignedByte(), Ee.skipUnsignedExpGolomb(), _r[Ie] && (wt = Ee.readUnsignedExpGolomb(), wt === 3 && Ee.skipBits(1), Ee.skipUnsignedExpGolomb(), Ee.skipUnsignedExpGolomb(), Ee.skipBits(1), Ee.readBoolean()))
25862
- for (vn = wt !== 3 ? 8 : 12, Ot = 0; Ot < vn; Ot++)
25951
+ for (yn = wt !== 3 ? 8 : 12, Ot = 0; Ot < yn; Ot++)
25863
25952
  Ee.readBoolean() && (Ot < 6 ? re(16, Ee) : re(64, Ee));
25864
25953
  if (Ee.skipUnsignedExpGolomb(), Vr = Ee.readUnsignedExpGolomb(), Vr === 0)
25865
25954
  Ee.readUnsignedExpGolomb();
25866
25955
  else if (Vr === 1)
25867
- for (Ee.skipBits(1), Ee.skipExpGolomb(), Ee.skipExpGolomb(), pn = Ee.readUnsignedExpGolomb(), Ot = 0; Ot < pn; Ot++)
25956
+ for (Ee.skipBits(1), Ee.skipExpGolomb(), Ee.skipExpGolomb(), mn = Ee.readUnsignedExpGolomb(), Ot = 0; Ot < mn; Ot++)
25868
25957
  Ee.skipExpGolomb();
25869
- if (Ee.skipUnsignedExpGolomb(), Ee.skipBits(1), mn = Ee.readUnsignedExpGolomb(), gn = Ee.readUnsignedExpGolomb(), Wr = Ee.readBits(1), Wr === 0 && Ee.skipBits(1), Ee.skipBits(1), Ee.readBoolean() && (de = Ee.readUnsignedExpGolomb(), ve = Ee.readUnsignedExpGolomb(), Ce = Ee.readUnsignedExpGolomb(), Oe = Ee.readUnsignedExpGolomb()), Ee.readBoolean() && Ee.readBoolean()) {
25870
- switch (yn = Ee.readUnsignedByte(), yn) {
25958
+ if (Ee.skipUnsignedExpGolomb(), Ee.skipBits(1), gn = Ee.readUnsignedExpGolomb(), vn = Ee.readUnsignedExpGolomb(), Wr = Ee.readBits(1), Wr === 0 && Ee.skipBits(1), Ee.skipBits(1), Ee.readBoolean() && (de = Ee.readUnsignedExpGolomb(), ve = Ee.readUnsignedExpGolomb(), Ce = Ee.readUnsignedExpGolomb(), Oe = Ee.readUnsignedExpGolomb()), Ee.readBoolean() && Ee.readBoolean()) {
25959
+ switch (bn = Ee.readUnsignedByte(), bn) {
25871
25960
  case 1:
25872
25961
  He = [1, 1];
25873
25962
  break;
@@ -25927,8 +26016,8 @@ browserWorkerPolyFill(self);
25927
26016
  profileIdc: Ie,
25928
26017
  levelIdc: Qe,
25929
26018
  profileCompatibility: rt,
25930
- width: (mn + 1) * 16 - de * 2 - ve * 2,
25931
- height: (2 - Wr) * (gn + 1) * 16 - Ce * 2 - Oe * 2,
26019
+ width: (gn + 1) * 16 - de * 2 - ve * 2,
26020
+ height: (2 - Wr) * (vn + 1) * 16 - Ce * 2 - Oe * 2,
25932
26021
  sarRatio: He
25933
26022
  };
25934
26023
  };
@@ -26322,13 +26411,13 @@ browserWorkerPolyFill(self);
26322
26411
  for (M = 0; M < _.byteLength; )
26323
26412
  q = Yr(_[M] << 24 | _[M + 1] << 16 | _[M + 2] << 8 | _[M + 3]), V = yt(_.subarray(M + 4, M + 8)), Z = q > 1 ? M + q : _.byteLength, V === k[0] && (k.length === 1 ? D.push(_.subarray(M + 8, Z)) : (re = K(_.subarray(M + 8, Z), k.slice(1)), re.length && (D = D.concat(re)))), M = Z;
26324
26413
  return D;
26325
- }, $e = sr, qt = Yt.toUnsigned, Xt = a.getUint64, bn = function(_) {
26414
+ }, $e = sr, qt = Yt.toUnsigned, Xt = a.getUint64, _n = function(_) {
26326
26415
  var k = {
26327
26416
  version: _[0],
26328
26417
  flags: new Uint8Array(_.subarray(1, 4))
26329
26418
  };
26330
26419
  return k.version === 1 ? k.baseMediaDecodeTime = Xt(_.subarray(4)) : k.baseMediaDecodeTime = qt(_[4] << 24 | _[5] << 16 | _[6] << 8 | _[7]), k;
26331
- }, Xr = bn, _n = function(_) {
26420
+ }, Xr = _n, Sn = function(_) {
26332
26421
  return {
26333
26422
  isLeading: (_[0] & 12) >>> 2,
26334
26423
  dependsOn: _[0] & 3,
@@ -26338,7 +26427,7 @@ browserWorkerPolyFill(self);
26338
26427
  isNonSyncSample: _[1] & 1,
26339
26428
  degradationPriority: _[2] << 8 | _[3]
26340
26429
  };
26341
- }, Zr = _n, Sn = function(_) {
26430
+ }, Zr = Sn, Tn = function(_) {
26342
26431
  var k = {
26343
26432
  version: _[0],
26344
26433
  flags: new Uint8Array(_.subarray(1, 4)),
@@ -26349,16 +26438,16 @@ browserWorkerPolyFill(self);
26349
26438
  }, de += 4, V && (ve.duration = D.getUint32(de), de += 4), Z && (ve.size = D.getUint32(de), de += 4), se && (k.version === 1 ? ve.compositionTimeOffset = D.getInt32(de) : ve.compositionTimeOffset = D.getUint32(de), de += 4), k.samples.push(ve), ie--); ie--; )
26350
26439
  ve = {}, V && (ve.duration = D.getUint32(de), de += 4), Z && (ve.size = D.getUint32(de), de += 4), re && (ve.flags = Zr(_.subarray(de, de + 4)), de += 4), se && (k.version === 1 ? ve.compositionTimeOffset = D.getInt32(de) : ve.compositionTimeOffset = D.getUint32(de), de += 4), k.samples.push(ve);
26351
26440
  return k;
26352
- }, en = Sn, Tn = function(_) {
26441
+ }, tn = Tn, En = function(_) {
26353
26442
  var k = new DataView(_.buffer, _.byteOffset, _.byteLength), D = {
26354
26443
  version: _[0],
26355
26444
  flags: new Uint8Array(_.subarray(1, 4)),
26356
26445
  trackId: k.getUint32(4)
26357
26446
  }, M = D.flags[2] & 1, q = D.flags[2] & 2, V = D.flags[2] & 8, Z = D.flags[2] & 16, re = D.flags[2] & 32, se = D.flags[0] & 65536, ie = D.flags[0] & 131072, de;
26358
26447
  return de = 8, M && (de += 4, D.baseDataOffset = k.getUint32(12), de += 4), q && (D.sampleDescriptionIndex = k.getUint32(de), de += 4), V && (D.defaultSampleDuration = k.getUint32(de), de += 4), Z && (D.defaultSampleSize = k.getUint32(de), de += 4), re && (D.defaultSampleFlags = k.getUint32(de)), se && (D.durationIsEmpty = !0), !M && ie && (D.baseDataOffsetIsMoof = !0), D;
26359
- }, tn = Tn, rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Zt;
26360
- typeof window < "u" ? Zt = window : typeof rn < "u" ? Zt = rn : typeof self < "u" ? Zt = self : Zt = {};
26361
- var er = Zt, En = Et.discardEmulationPreventionBytes, An = It.CaptionStream, Cn = function(_, k) {
26448
+ }, rn = En, nn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Zt;
26449
+ typeof window < "u" ? Zt = window : typeof nn < "u" ? Zt = nn : typeof self < "u" ? Zt = self : Zt = {};
26450
+ var er = Zt, An = Et.discardEmulationPreventionBytes, Cn = It.CaptionStream, wn = function(_, k) {
26362
26451
  for (var D = _, M = 0; M < k.length; M++) {
26363
26452
  var q = k[M];
26364
26453
  if (D < q.size)
@@ -26366,7 +26455,7 @@ browserWorkerPolyFill(self);
26366
26455
  D -= q.size;
26367
26456
  }
26368
26457
  return null;
26369
- }, wn = function(_, k, D) {
26458
+ }, On = function(_, k, D) {
26370
26459
  var M = new DataView(_.buffer, _.byteOffset, _.byteLength), q = {
26371
26460
  logs: [],
26372
26461
  seiNals: []
@@ -26375,12 +26464,12 @@ browserWorkerPolyFill(self);
26375
26464
  if (re = M.getUint32(Z), Z += 4, !(re <= 0))
26376
26465
  switch (_[Z] & 31) {
26377
26466
  case 6:
26378
- var ie = _.subarray(Z + 1, Z + 1 + re), de = Cn(Z, k);
26467
+ var ie = _.subarray(Z + 1, Z + 1 + re), de = wn(Z, k);
26379
26468
  if (V = {
26380
26469
  nalUnitType: "sei_rbsp",
26381
26470
  size: re,
26382
26471
  data: ie,
26383
- escapedRBSP: En(ie),
26472
+ escapedRBSP: An(ie),
26384
26473
  trackId: D
26385
26474
  }, de)
26386
26475
  V.pts = de.pts, V.dts = de.dts, se = de;
@@ -26397,15 +26486,15 @@ browserWorkerPolyFill(self);
26397
26486
  break;
26398
26487
  }
26399
26488
  return q;
26400
- }, On = function(_, k, D) {
26489
+ }, Dn = function(_, k, D) {
26401
26490
  var M = k, q = D.defaultSampleDuration || 0, V = D.defaultSampleSize || 0, Z = D.trackId, re = [];
26402
26491
  return _.forEach(function(se) {
26403
- var ie = en(se), de = ie.samples;
26492
+ var ie = tn(se), de = ie.samples;
26404
26493
  de.forEach(function(ve) {
26405
26494
  ve.duration === void 0 && (ve.duration = q), ve.size === void 0 && (ve.size = V), ve.trackId = Z, ve.dts = M, ve.compositionTimeOffset === void 0 && (ve.compositionTimeOffset = 0), typeof M == "bigint" ? (ve.pts = M + er.BigInt(ve.compositionTimeOffset), M += er.BigInt(ve.duration)) : (ve.pts = M + ve.compositionTimeOffset, M += ve.duration);
26406
26495
  }), re = re.concat(de);
26407
26496
  }), re;
26408
- }, Dn = function(_, k) {
26497
+ }, In = function(_, k) {
26409
26498
  var D = $e(_, ["moof", "traf"]), M = $e(_, ["mdat"]), q = {}, V = [];
26410
26499
  return M.forEach(function(Z, re) {
26411
26500
  var se = D[re];
@@ -26414,29 +26503,29 @@ browserWorkerPolyFill(self);
26414
26503
  traf: se
26415
26504
  });
26416
26505
  }), V.forEach(function(Z) {
26417
- var re = Z.mdat, se = Z.traf, ie = $e(se, ["tfhd"]), de = tn(ie[0]), ve = de.trackId, Ce = $e(se, ["tfdt"]), Oe = Ce.length > 0 ? Xr(Ce[0]).baseMediaDecodeTime : 0, Ee = $e(se, ["trun"]), Ie, Qe;
26418
- k === ve && Ee.length > 0 && (Ie = On(Ee, Oe, de), Qe = wn(re, Ie, ve), q[ve] || (q[ve] = {
26506
+ var re = Z.mdat, se = Z.traf, ie = $e(se, ["tfhd"]), de = rn(ie[0]), ve = de.trackId, Ce = $e(se, ["tfdt"]), Oe = Ce.length > 0 ? Xr(Ce[0]).baseMediaDecodeTime : 0, Ee = $e(se, ["trun"]), Ie, Qe;
26507
+ k === ve && Ee.length > 0 && (Ie = Dn(Ee, Oe, de), Qe = On(re, Ie, ve), q[ve] || (q[ve] = {
26419
26508
  seiNals: [],
26420
26509
  logs: []
26421
26510
  }), q[ve].seiNals = q[ve].seiNals.concat(Qe.seiNals), q[ve].logs = q[ve].logs.concat(Qe.logs));
26422
26511
  }), q;
26423
- }, In = function(_, k, D) {
26512
+ }, kn = function(_, k, D) {
26424
26513
  var M;
26425
26514
  if (k === null)
26426
26515
  return null;
26427
- M = Dn(_, k);
26516
+ M = In(_, k);
26428
26517
  var q = M[k] || {};
26429
26518
  return {
26430
26519
  seiNals: q.seiNals,
26431
26520
  logs: q.logs,
26432
26521
  timescale: D
26433
26522
  };
26434
- }, kn = function() {
26523
+ }, Pn = function() {
26435
26524
  var _ = !1, k, D, M, q, V, Z;
26436
26525
  this.isInitialized = function() {
26437
26526
  return _;
26438
26527
  }, this.init = function(re) {
26439
- k = new An(), _ = !0, Z = re ? re.isPartial : !1, k.on("data", function(se) {
26528
+ k = new Cn(), _ = !0, Z = re ? re.isPartial : !1, k.on("data", function(se) {
26440
26529
  se.startTime = se.startPts / q, se.endTime = se.endPts / q, V.captions.push(se), V.captionStreams[se.stream] = !0;
26441
26530
  }), k.on("log", function(se) {
26442
26531
  V.logs.push(se);
@@ -26458,7 +26547,7 @@ browserWorkerPolyFill(self);
26458
26547
  var ve = D.shift();
26459
26548
  this.parse(ve, se, ie);
26460
26549
  }
26461
- return de = In(re, M, q), de && de.logs && (V.logs = V.logs.concat(de.logs)), de === null || !de.seiNals ? V.logs.length ? {
26550
+ return de = kn(re, M, q), de && de.logs && (V.logs = V.logs.concat(de.logs)), de === null || !de.seiNals ? V.logs.length ? {
26462
26551
  logs: V.logs,
26463
26552
  captions: [],
26464
26553
  captionStreams: []
@@ -26488,29 +26577,29 @@ browserWorkerPolyFill(self);
26488
26577
  logs: []
26489
26578
  }, this.resetCaptionStream();
26490
26579
  }, this.reset();
26491
- }, Pn = kn, Er = Yt.toUnsigned, tr = Yt.toHexString, xn = a.getUint64, nn, an, sn, un, ln, qr;
26492
- nn = function(_) {
26580
+ }, xn = Pn, Er = Yt.toUnsigned, tr = Yt.toHexString, Rn = a.getUint64, an, sn, un, ln, cn, qr;
26581
+ an = function(_) {
26493
26582
  var k = {}, D = $e(_, ["moov", "trak"]);
26494
26583
  return D.reduce(function(M, q) {
26495
26584
  var V, Z, re, se, ie;
26496
26585
  return V = $e(q, ["tkhd"])[0], !V || (Z = V[0], re = Z === 0 ? 12 : 20, se = Er(V[re] << 24 | V[re + 1] << 16 | V[re + 2] << 8 | V[re + 3]), ie = $e(q, ["mdia", "mdhd"])[0], !ie) ? null : (Z = ie[0], re = Z === 0 ? 12 : 20, M[se] = Er(ie[re] << 24 | ie[re + 1] << 16 | ie[re + 2] << 8 | ie[re + 3]), M);
26497
26586
  }, k);
26498
- }, an = function(_, k) {
26587
+ }, sn = function(_, k) {
26499
26588
  var D;
26500
26589
  D = $e(k, ["moof", "traf"]);
26501
26590
  var M = D.reduce(function(q, V) {
26502
26591
  var Z = $e(V, ["tfhd"])[0], re = Er(Z[4] << 24 | Z[5] << 16 | Z[6] << 8 | Z[7]), se = _[re] || 9e4, ie = $e(V, ["tfdt"])[0], de = new DataView(ie.buffer, ie.byteOffset, ie.byteLength), ve;
26503
- ie[0] === 1 ? ve = xn(ie.subarray(4, 12)) : ve = de.getUint32(4);
26592
+ ie[0] === 1 ? ve = Rn(ie.subarray(4, 12)) : ve = de.getUint32(4);
26504
26593
  var Ce;
26505
26594
  return typeof ve == "bigint" ? Ce = ve / er.BigInt(se) : typeof ve == "number" && !isNaN(ve) && (Ce = ve / se), Ce < Number.MAX_SAFE_INTEGER && (Ce = Number(Ce)), Ce < q && (q = Ce), q;
26506
26595
  }, 1 / 0);
26507
26596
  return typeof M == "bigint" || isFinite(M) ? M : 0;
26508
- }, sn = function(_, k) {
26597
+ }, un = function(_, k) {
26509
26598
  var D = $e(k, ["moof", "traf"]), M = 0, q = 0, V;
26510
26599
  if (D && D.length) {
26511
26600
  var Z = $e(D[0], ["tfhd"])[0], re = $e(D[0], ["trun"])[0], se = $e(D[0], ["tfdt"])[0];
26512
26601
  if (Z) {
26513
- var ie = tn(Z);
26602
+ var ie = rn(Z);
26514
26603
  V = ie.trackId;
26515
26604
  }
26516
26605
  if (se) {
@@ -26518,7 +26607,7 @@ browserWorkerPolyFill(self);
26518
26607
  M = de.baseMediaDecodeTime;
26519
26608
  }
26520
26609
  if (re) {
26521
- var ve = en(re);
26610
+ var ve = tn(re);
26522
26611
  ve.samples && ve.samples.length && (q = ve.samples[0].compositionTimeOffset || 0);
26523
26612
  }
26524
26613
  }
@@ -26526,7 +26615,7 @@ browserWorkerPolyFill(self);
26526
26615
  typeof M == "bigint" && (q = er.BigInt(q), Ce = er.BigInt(Ce));
26527
26616
  var Oe = (M + q) / Ce;
26528
26617
  return typeof Oe == "bigint" && Oe < Number.MAX_SAFE_INTEGER && (Oe = Number(Oe)), Oe;
26529
- }, un = function(_) {
26618
+ }, ln = function(_) {
26530
26619
  var k = $e(_, ["moov", "trak"]), D = [];
26531
26620
  return k.forEach(function(M) {
26532
26621
  var q = $e(M, ["mdia", "hdlr"]), V = $e(M, ["tkhd"]);
@@ -26538,7 +26627,7 @@ browserWorkerPolyFill(self);
26538
26627
  }, qr = function(_) {
26539
26628
  var k = _[0], D = k === 0 ? 12 : 20;
26540
26629
  return Er(_[D] << 24 | _[D + 1] << 16 | _[D + 2] << 8 | _[D + 3]);
26541
- }, ln = function(_) {
26630
+ }, cn = function(_) {
26542
26631
  var k = $e(_, ["moov", "trak"]), D = [];
26543
26632
  return k.forEach(function(M) {
26544
26633
  var q = {}, V = $e(M, ["tkhd"])[0], Z, re;
@@ -26559,16 +26648,16 @@ browserWorkerPolyFill(self);
26559
26648
  Ie && (q.timescale = qr(Ie)), D.push(q);
26560
26649
  }), D;
26561
26650
  };
26562
- var cn = {
26651
+ var dn = {
26563
26652
  findBox: $e,
26564
26653
  parseType: yt,
26565
- timescale: nn,
26566
- startTime: an,
26567
- compositionStartTime: sn,
26568
- videoTrackIds: un,
26569
- tracks: ln,
26654
+ timescale: an,
26655
+ startTime: sn,
26656
+ compositionStartTime: un,
26657
+ videoTrackIds: ln,
26658
+ tracks: cn,
26570
26659
  getTimescaleFromMediaHeader: qr
26571
- }, dn = function(_) {
26660
+ }, fn = function(_) {
26572
26661
  var k = _[1] & 31;
26573
26662
  return k <<= 8, k |= _[2], k;
26574
26663
  }, Ar = function(_) {
@@ -26576,13 +26665,13 @@ browserWorkerPolyFill(self);
26576
26665
  }, Cr = function(_) {
26577
26666
  var k = 0;
26578
26667
  return (_[3] & 48) >>> 4 > 1 && (k += _[4] + 1), k;
26579
- }, Rn = function(_, k) {
26580
- var D = dn(_);
26668
+ }, Ln = function(_, k) {
26669
+ var D = fn(_);
26581
26670
  return D === 0 ? "pat" : D === k ? "pmt" : k ? "pes" : null;
26582
- }, Ln = function(_) {
26671
+ }, Mn = function(_) {
26583
26672
  var k = Ar(_), D = 4 + Cr(_);
26584
26673
  return k && (D += _[D] + 1), (_[D + 10] & 31) << 8 | _[D + 11];
26585
- }, Mn = function(_) {
26674
+ }, Nn = function(_) {
26586
26675
  var k = {}, D = Ar(_), M = 4 + Cr(_);
26587
26676
  if (D && (M += _[M] + 1), !!(_[M + 5] & 1)) {
26588
26677
  var q, V, Z;
@@ -26593,8 +26682,8 @@ browserWorkerPolyFill(self);
26593
26682
  }
26594
26683
  return k;
26595
26684
  }
26596
- }, Nn = function(_, k) {
26597
- var D = dn(_), M = k[D];
26685
+ }, Fn = function(_, k) {
26686
+ var D = fn(_), M = k[D];
26598
26687
  switch (M) {
26599
26688
  case Ke.H264_STREAM_TYPE:
26600
26689
  return "video";
@@ -26605,7 +26694,7 @@ browserWorkerPolyFill(self);
26605
26694
  default:
26606
26695
  return null;
26607
26696
  }
26608
- }, Fn = function(_) {
26697
+ }, $n = function(_) {
26609
26698
  var k = Ar(_);
26610
26699
  if (!k)
26611
26700
  return null;
@@ -26629,7 +26718,7 @@ browserWorkerPolyFill(self);
26629
26718
  default:
26630
26719
  return null;
26631
26720
  }
26632
- }, $n = function(_) {
26721
+ }, Bn = function(_) {
26633
26722
  for (var k = 4 + Cr(_), D = _.subarray(k), M = 0, q = 0, V = !1, Z; q < D.byteLength - 3; q++)
26634
26723
  if (D[q + 2] === 1) {
26635
26724
  M = q + 5;
@@ -26663,17 +26752,17 @@ browserWorkerPolyFill(self);
26663
26752
  break;
26664
26753
  }
26665
26754
  return D = D.subarray(q), M -= q, q = 0, D && D.byteLength > 3 && (Z = Gr(D[q + 3] & 31), Z === "slice_layer_without_partitioning_rbsp_idr" && (V = !0)), V;
26666
- }, Bn = {
26667
- parseType: Rn,
26668
- parsePat: Ln,
26669
- parsePmt: Mn,
26755
+ }, Un = {
26756
+ parseType: Ln,
26757
+ parsePat: Mn,
26758
+ parsePmt: Nn,
26670
26759
  parsePayloadUnitStartIndicator: Ar,
26671
- parsePesType: Nn,
26672
- parsePesTime: Fn,
26673
- videoPacketContainsKeyFrame: $n
26760
+ parsePesType: Fn,
26761
+ parsePesTime: $n,
26762
+ videoPacketContainsKeyFrame: Bn
26674
26763
  }, Gt = hr.handleRollover, Fe = {};
26675
- Fe.ts = Bn, Fe.aac = Ge;
26676
- var Ct = Re.ONE_SECOND_IN_TS, tt = 188, ht = 71, Un = function(_, k) {
26764
+ Fe.ts = Un, Fe.aac = Ge;
26765
+ var Ct = Re.ONE_SECOND_IN_TS, tt = 188, ht = 71, jn = function(_, k) {
26677
26766
  for (var D = 0, M = tt, q, V; M < _.byteLength; ) {
26678
26767
  if (_[D] === ht && _[M] === ht) {
26679
26768
  switch (q = _.subarray(D, M), V = Fe.ts.parseType(q, k.pid), V) {
@@ -26692,7 +26781,7 @@ browserWorkerPolyFill(self);
26692
26781
  }
26693
26782
  D++, M++;
26694
26783
  }
26695
- }, fn = function(_, k, D) {
26784
+ }, hn = function(_, k, D) {
26696
26785
  for (var M = 0, q = tt, V, Z, re, se, ie, de = !1; q <= _.byteLength; ) {
26697
26786
  if (_[M] === ht && (_[q] === ht || q === _.byteLength)) {
26698
26787
  switch (V = _.subarray(M, q), Z = Fe.ts.parseType(V, k.pid), Z) {
@@ -26721,7 +26810,7 @@ browserWorkerPolyFill(self);
26721
26810
  }
26722
26811
  M--, q--;
26723
26812
  }
26724
- }, jn = function(_, k, D) {
26813
+ }, qn = function(_, k, D) {
26725
26814
  for (var M = 0, q = tt, V, Z, re, se, ie, de, ve, Ce, Oe = !1, Ee = {
26726
26815
  data: [],
26727
26816
  size: 0
@@ -26764,7 +26853,7 @@ browserWorkerPolyFill(self);
26764
26853
  }
26765
26854
  M--, q--;
26766
26855
  }
26767
- }, qn = function(_, k) {
26856
+ }, Gn = function(_, k) {
26768
26857
  if (_.audio && _.audio.length) {
26769
26858
  var D = k;
26770
26859
  (typeof D > "u" || isNaN(D)) && (D = _.audio[0].dts), _.audio.forEach(function(V) {
@@ -26780,7 +26869,7 @@ browserWorkerPolyFill(self);
26780
26869
  q.dts = Gt(q.dts, M), q.pts = Gt(q.pts, M), q.dtsTime = q.dts / Ct, q.ptsTime = q.pts / Ct;
26781
26870
  }
26782
26871
  }
26783
- }, Gn = function(_) {
26872
+ }, Vn = function(_) {
26784
26873
  for (var k = !1, D = 0, M = null, q = null, V = 0, Z = 0, re; _.length - Z >= 3; ) {
26785
26874
  var se = Fe.aac.parseType(_, Z);
26786
26875
  switch (se) {
@@ -26827,32 +26916,32 @@ browserWorkerPolyFill(self);
26827
26916
  }]
26828
26917
  };
26829
26918
  return de;
26830
- }, Vn = function(_) {
26919
+ }, Wn = function(_) {
26831
26920
  var k = {
26832
26921
  pid: null,
26833
26922
  table: null
26834
26923
  }, D = {};
26835
- Un(_, k);
26924
+ jn(_, k);
26836
26925
  for (var M in k.table)
26837
26926
  if (k.table.hasOwnProperty(M)) {
26838
26927
  var q = k.table[M];
26839
26928
  switch (q) {
26840
26929
  case Ke.H264_STREAM_TYPE:
26841
- D.video = [], jn(_, k, D), D.video.length === 0 && delete D.video;
26930
+ D.video = [], qn(_, k, D), D.video.length === 0 && delete D.video;
26842
26931
  break;
26843
26932
  case Ke.ADTS_STREAM_TYPE:
26844
- D.audio = [], fn(_, k, D), D.audio.length === 0 && delete D.audio;
26933
+ D.audio = [], hn(_, k, D), D.audio.length === 0 && delete D.audio;
26845
26934
  break;
26846
26935
  }
26847
26936
  }
26848
26937
  return D;
26849
- }, Wn = function(_, k) {
26938
+ }, Hn = function(_, k) {
26850
26939
  var D = Fe.aac.isLikelyAacData(_), M;
26851
- return D ? M = Gn(_) : M = Vn(_), !M || !M.audio && !M.video ? null : (qn(M, k), M);
26852
- }, Hn = {
26853
- inspect: Wn,
26854
- parseAudioPes_: fn
26855
- }, zn = function(_, k) {
26940
+ return D ? M = Vn(_) : M = Wn(_), !M || !M.audio && !M.video ? null : (Gn(M, k), M);
26941
+ }, zn = {
26942
+ inspect: Hn,
26943
+ parseAudioPes_: hn
26944
+ }, Kn = function(_, k) {
26856
26945
  k.on("data", function(D) {
26857
26946
  var M = D.initSegment;
26858
26947
  D.initSegment = {
@@ -26945,15 +27034,15 @@ browserWorkerPolyFill(self);
26945
27034
  log: D
26946
27035
  });
26947
27036
  });
26948
- }, hn = /* @__PURE__ */ function() {
27037
+ }, pn = /* @__PURE__ */ function() {
26949
27038
  function K(k, D) {
26950
27039
  this.options = D || {}, this.self = k, this.init();
26951
27040
  }
26952
27041
  var _ = K.prototype;
26953
27042
  return _.init = function() {
26954
- this.transmuxer && this.transmuxer.dispose(), this.transmuxer = new zr.Transmuxer(this.options), zn(this.self, this.transmuxer);
27043
+ this.transmuxer && this.transmuxer.dispose(), this.transmuxer = new zr.Transmuxer(this.options), Kn(this.self, this.transmuxer);
26955
27044
  }, _.pushMp4Captions = function(D) {
26956
- this.captionParser || (this.captionParser = new Pn(), this.captionParser.init());
27045
+ this.captionParser || (this.captionParser = new xn(), this.captionParser.init());
26957
27046
  var M = new Uint8Array(D.data, D.byteOffset, D.byteLength), q = this.captionParser.parse(M, D.trackIds, D.timescales);
26958
27047
  this.self.postMessage({
26959
27048
  action: "mp4Captions",
@@ -26962,21 +27051,21 @@ browserWorkerPolyFill(self);
26962
27051
  data: M.buffer
26963
27052
  }, [M.buffer]);
26964
27053
  }, _.probeMp4StartTime = function(D) {
26965
- var M = D.timescales, q = D.data, V = cn.startTime(M, q);
27054
+ var M = D.timescales, q = D.data, V = dn.startTime(M, q);
26966
27055
  this.self.postMessage({
26967
27056
  action: "probeMp4StartTime",
26968
27057
  startTime: V,
26969
27058
  data: q
26970
27059
  }, [q.buffer]);
26971
27060
  }, _.probeMp4Tracks = function(D) {
26972
- var M = D.data, q = cn.tracks(M);
27061
+ var M = D.data, q = dn.tracks(M);
26973
27062
  this.self.postMessage({
26974
27063
  action: "probeMp4Tracks",
26975
27064
  tracks: q,
26976
27065
  data: M
26977
27066
  }, [M.buffer]);
26978
27067
  }, _.probeTs = function(D) {
26979
- var M = D.data, q = D.baseStartTime, V = typeof q == "number" && !isNaN(q) ? q * Re.ONE_SECOND_IN_TS : void 0, Z = Hn.inspect(M, V), re = null;
27068
+ var M = D.data, q = D.baseStartTime, V = typeof q == "number" && !isNaN(q) ? q * Re.ONE_SECOND_IN_TS : void 0, Z = zn.inspect(M, V), re = null;
26980
27069
  Z && (re = {
26981
27070
  hasVideo: Z.video && Z.video.length === 2 || !1,
26982
27071
  hasAudio: Z.audio && Z.audio.length === 2 || !1
@@ -27017,10 +27106,10 @@ browserWorkerPolyFill(self);
27017
27106
  }();
27018
27107
  self.onmessage = function(K) {
27019
27108
  if (K.data.action === "init" && K.data.options) {
27020
- this.messageHandlers = new hn(self, K.data.options);
27109
+ this.messageHandlers = new pn(self, K.data.options);
27021
27110
  return;
27022
27111
  }
27023
- this.messageHandlers || (this.messageHandlers = new hn(self)), K.data && K.data.action && K.data.action !== "init" && this.messageHandlers[K.data.action] && this.messageHandlers[K.data.action](K.data);
27112
+ this.messageHandlers || (this.messageHandlers = new pn(self)), K.data && K.data.action && K.data.action !== "init" && this.messageHandlers[K.data.action] && this.messageHandlers[K.data.action](K.data);
27024
27113
  };
27025
27114
  })), TransmuxWorker = factory$1(workerCode$1), handleData_ = function(e, n, s) {
27026
27115
  var a = e.data.segment, o = a.type, u = a.initSegment, l = a.captions, c = a.captionStreams, d = a.metadata, f = a.videoFrameDtsTime, p = a.videoFramePtsTime;
@@ -43020,7 +43109,7 @@ function parseOptions(r, e, n, s) {
43020
43109
  e(l, c);
43021
43110
  }
43022
43111
  }
43023
- const defaults = new VTTCue(0, 0, ""), center = defaults.align === "middle" ? "middle" : "center";
43112
+ const defaults$1 = new VTTCue(0, 0, ""), center = defaults$1.align === "middle" ? "middle" : "center";
43024
43113
  function parseCue(r, e, n) {
43025
43114
  const s = r;
43026
43115
  function a() {
@@ -43059,9 +43148,9 @@ function parseCue(r, e, n) {
43059
43148
  }
43060
43149
  }, /:/, /\s/), c.region = d.get("region", null), c.vertical = d.get("vertical", "");
43061
43150
  let f = d.get("line", "auto");
43062
- f === "auto" && defaults.line === -1 && (f = -1), c.line = f, c.lineAlign = d.get("lineAlign", "start"), c.snapToLines = d.get("snapToLines", !0), c.size = d.get("size", 100), c.align = d.get("align", center);
43151
+ f === "auto" && defaults$1.line === -1 && (f = -1), c.line = f, c.lineAlign = d.get("lineAlign", "start"), c.snapToLines = d.get("snapToLines", !0), c.size = d.get("size", 100), c.align = d.get("align", center);
43063
43152
  let p = d.get("position", "auto");
43064
- p === "auto" && defaults.position === 50 && (p = c.align === "start" || c.align === "left" ? 0 : c.align === "end" || c.align === "right" ? 100 : 50), c.position = p;
43153
+ p === "auto" && defaults$1.position === 50 && (p = c.align === "start" || c.align === "left" ? 0 : c.align === "end" || c.align === "right" ? 100 : 50), c.position = p;
43065
43154
  }
43066
43155
  function u() {
43067
43156
  r = r.replace(/^\s+/, "");
@@ -53387,11 +53476,278 @@ instance.setDefaultNamespace;
53387
53476
  instance.hasLoadedNamespace;
53388
53477
  instance.loadNamespaces;
53389
53478
  instance.loadLanguages;
53479
+ const {
53480
+ slice,
53481
+ forEach
53482
+ } = [];
53483
+ function defaults(r) {
53484
+ return forEach.call(slice.call(arguments, 1), (e) => {
53485
+ if (e)
53486
+ for (const n in e)
53487
+ r[n] === void 0 && (r[n] = e[n]);
53488
+ }), r;
53489
+ }
53490
+ const fieldContentRegExp = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, serializeCookie = function(r, e) {
53491
+ const s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
53492
+ path: "/"
53493
+ }, a = encodeURIComponent(e);
53494
+ let o = `${r}=${a}`;
53495
+ if (s.maxAge > 0) {
53496
+ const u = s.maxAge - 0;
53497
+ if (Number.isNaN(u))
53498
+ throw new Error("maxAge should be a Number");
53499
+ o += `; Max-Age=${Math.floor(u)}`;
53500
+ }
53501
+ if (s.domain) {
53502
+ if (!fieldContentRegExp.test(s.domain))
53503
+ throw new TypeError("option domain is invalid");
53504
+ o += `; Domain=${s.domain}`;
53505
+ }
53506
+ if (s.path) {
53507
+ if (!fieldContentRegExp.test(s.path))
53508
+ throw new TypeError("option path is invalid");
53509
+ o += `; Path=${s.path}`;
53510
+ }
53511
+ if (s.expires) {
53512
+ if (typeof s.expires.toUTCString != "function")
53513
+ throw new TypeError("option expires is invalid");
53514
+ o += `; Expires=${s.expires.toUTCString()}`;
53515
+ }
53516
+ if (s.httpOnly && (o += "; HttpOnly"), s.secure && (o += "; Secure"), s.sameSite)
53517
+ switch (typeof s.sameSite == "string" ? s.sameSite.toLowerCase() : s.sameSite) {
53518
+ case !0:
53519
+ o += "; SameSite=Strict";
53520
+ break;
53521
+ case "lax":
53522
+ o += "; SameSite=Lax";
53523
+ break;
53524
+ case "strict":
53525
+ o += "; SameSite=Strict";
53526
+ break;
53527
+ case "none":
53528
+ o += "; SameSite=None";
53529
+ break;
53530
+ default:
53531
+ throw new TypeError("option sameSite is invalid");
53532
+ }
53533
+ return o;
53534
+ }, cookie = {
53535
+ create(r, e, n, s) {
53536
+ let a = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
53537
+ path: "/",
53538
+ sameSite: "strict"
53539
+ };
53540
+ n && (a.expires = new Date(), a.expires.setTime(a.expires.getTime() + n * 60 * 1e3)), s && (a.domain = s), document.cookie = serializeCookie(r, encodeURIComponent(e), a);
53541
+ },
53542
+ read(r) {
53543
+ const e = `${r}=`, n = document.cookie.split(";");
53544
+ for (let s = 0; s < n.length; s++) {
53545
+ let a = n[s];
53546
+ for (; a.charAt(0) === " "; )
53547
+ a = a.substring(1, a.length);
53548
+ if (a.indexOf(e) === 0)
53549
+ return a.substring(e.length, a.length);
53550
+ }
53551
+ return null;
53552
+ },
53553
+ remove(r) {
53554
+ this.create(r, "", -1);
53555
+ }
53556
+ };
53557
+ var cookie$1 = {
53558
+ name: "cookie",
53559
+ lookup(r) {
53560
+ let {
53561
+ lookupCookie: e
53562
+ } = r;
53563
+ if (e && typeof document < "u")
53564
+ return cookie.read(e) || void 0;
53565
+ },
53566
+ cacheUserLanguage(r, e) {
53567
+ let {
53568
+ lookupCookie: n,
53569
+ cookieMinutes: s,
53570
+ cookieDomain: a,
53571
+ cookieOptions: o
53572
+ } = e;
53573
+ n && typeof document < "u" && cookie.create(n, r, s, a, o);
53574
+ }
53575
+ }, querystring = {
53576
+ name: "querystring",
53577
+ lookup(r) {
53578
+ var s;
53579
+ let {
53580
+ lookupQuerystring: e
53581
+ } = r, n;
53582
+ if (typeof window < "u") {
53583
+ let {
53584
+ search: a
53585
+ } = window.location;
53586
+ !window.location.search && ((s = window.location.hash) == null ? void 0 : s.indexOf("?")) > -1 && (a = window.location.hash.substring(window.location.hash.indexOf("?")));
53587
+ const u = a.substring(1).split("&");
53588
+ for (let l = 0; l < u.length; l++) {
53589
+ const c = u[l].indexOf("=");
53590
+ c > 0 && u[l].substring(0, c) === e && (n = u[l].substring(c + 1));
53591
+ }
53592
+ }
53593
+ return n;
53594
+ }
53595
+ };
53596
+ let hasLocalStorageSupport = null;
53597
+ const localStorageAvailable = () => {
53598
+ if (hasLocalStorageSupport !== null)
53599
+ return hasLocalStorageSupport;
53600
+ try {
53601
+ hasLocalStorageSupport = window !== "undefined" && window.localStorage !== null;
53602
+ const r = "i18next.translate.boo";
53603
+ window.localStorage.setItem(r, "foo"), window.localStorage.removeItem(r);
53604
+ } catch {
53605
+ hasLocalStorageSupport = !1;
53606
+ }
53607
+ return hasLocalStorageSupport;
53608
+ };
53609
+ var localStorage = {
53610
+ name: "localStorage",
53611
+ lookup(r) {
53612
+ let {
53613
+ lookupLocalStorage: e
53614
+ } = r;
53615
+ if (e && localStorageAvailable())
53616
+ return window.localStorage.getItem(e) || void 0;
53617
+ },
53618
+ cacheUserLanguage(r, e) {
53619
+ let {
53620
+ lookupLocalStorage: n
53621
+ } = e;
53622
+ n && localStorageAvailable() && window.localStorage.setItem(n, r);
53623
+ }
53624
+ };
53625
+ let hasSessionStorageSupport = null;
53626
+ const sessionStorageAvailable = () => {
53627
+ if (hasSessionStorageSupport !== null)
53628
+ return hasSessionStorageSupport;
53629
+ try {
53630
+ hasSessionStorageSupport = window !== "undefined" && window.sessionStorage !== null;
53631
+ const r = "i18next.translate.boo";
53632
+ window.sessionStorage.setItem(r, "foo"), window.sessionStorage.removeItem(r);
53633
+ } catch {
53634
+ hasSessionStorageSupport = !1;
53635
+ }
53636
+ return hasSessionStorageSupport;
53637
+ };
53638
+ var sessionStorage = {
53639
+ name: "sessionStorage",
53640
+ lookup(r) {
53641
+ let {
53642
+ lookupSessionStorage: e
53643
+ } = r;
53644
+ if (e && sessionStorageAvailable())
53645
+ return window.sessionStorage.getItem(e) || void 0;
53646
+ },
53647
+ cacheUserLanguage(r, e) {
53648
+ let {
53649
+ lookupSessionStorage: n
53650
+ } = e;
53651
+ n && sessionStorageAvailable() && window.sessionStorage.setItem(n, r);
53652
+ }
53653
+ }, navigator$1 = {
53654
+ name: "navigator",
53655
+ lookup(r) {
53656
+ const e = [];
53657
+ if (typeof navigator < "u") {
53658
+ const {
53659
+ languages: n,
53660
+ userLanguage: s,
53661
+ language: a
53662
+ } = navigator;
53663
+ if (n)
53664
+ for (let o = 0; o < n.length; o++)
53665
+ e.push(n[o]);
53666
+ s && e.push(s), a && e.push(a);
53667
+ }
53668
+ return e.length > 0 ? e : void 0;
53669
+ }
53670
+ }, htmlTag = {
53671
+ name: "htmlTag",
53672
+ lookup(r) {
53673
+ let {
53674
+ htmlTag: e
53675
+ } = r, n;
53676
+ const s = e || (typeof document < "u" ? document.documentElement : null);
53677
+ return s && typeof s.getAttribute == "function" && (n = s.getAttribute("lang")), n;
53678
+ }
53679
+ }, path = {
53680
+ name: "path",
53681
+ lookup(r) {
53682
+ var a;
53683
+ let {
53684
+ lookupFromPathIndex: e
53685
+ } = r;
53686
+ if (typeof window > "u")
53687
+ return;
53688
+ const n = window.location.pathname.match(/\/([a-zA-Z-]*)/g);
53689
+ return Array.isArray(n) ? (a = n[typeof e == "number" ? e : 0]) == null ? void 0 : a.replace("/", "") : void 0;
53690
+ }
53691
+ }, subdomain = {
53692
+ name: "subdomain",
53693
+ lookup(r) {
53694
+ var a, o;
53695
+ let {
53696
+ lookupFromSubdomainIndex: e
53697
+ } = r;
53698
+ const n = typeof e == "number" ? e + 1 : 1, s = typeof window < "u" && ((o = (a = window.location) == null ? void 0 : a.hostname) == null ? void 0 : o.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i));
53699
+ if (!!s)
53700
+ return s[n];
53701
+ }
53702
+ };
53390
53703
  let canCookies = !1;
53391
53704
  try {
53392
53705
  document.cookie, canCookies = !0;
53393
53706
  } catch {
53394
53707
  }
53708
+ const order = ["querystring", "cookie", "localStorage", "sessionStorage", "navigator", "htmlTag"];
53709
+ canCookies || order.splice(1, 1);
53710
+ const getDefaults$1 = () => ({
53711
+ order,
53712
+ lookupQuerystring: "lng",
53713
+ lookupCookie: "i18next",
53714
+ lookupLocalStorage: "i18nextLng",
53715
+ lookupSessionStorage: "i18nextLng",
53716
+ caches: ["localStorage"],
53717
+ excludeCacheFor: ["cimode"],
53718
+ convertDetectedLanguage: (r) => r
53719
+ });
53720
+ class Browser {
53721
+ constructor(e) {
53722
+ let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
53723
+ this.type = "languageDetector", this.detectors = {}, this.init(e, n);
53724
+ }
53725
+ init() {
53726
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
53727
+ languageUtils: {}
53728
+ }, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
53729
+ this.services = e, this.options = defaults(n, this.options || {}, getDefaults$1()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = (a) => a.replace("-", "_")), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = s, this.addDetector(cookie$1), this.addDetector(querystring), this.addDetector(localStorage), this.addDetector(sessionStorage), this.addDetector(navigator$1), this.addDetector(htmlTag), this.addDetector(path), this.addDetector(subdomain);
53730
+ }
53731
+ addDetector(e) {
53732
+ return this.detectors[e.name] = e, this;
53733
+ }
53734
+ detect() {
53735
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.options.order, n = [];
53736
+ return e.forEach((s) => {
53737
+ if (this.detectors[s]) {
53738
+ let a = this.detectors[s].lookup(this.options);
53739
+ a && typeof a == "string" && (a = [a]), a && (n = n.concat(a));
53740
+ }
53741
+ }), n = n.map((s) => this.options.convertDetectedLanguage(s)), this.services && this.services.languageUtils && this.services.languageUtils.getBestMatchFromCodes ? n : n.length > 0 ? n[0] : null;
53742
+ }
53743
+ cacheUserLanguage(e) {
53744
+ let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.options.caches;
53745
+ !n || this.options.excludeCacheFor && this.options.excludeCacheFor.indexOf(e) > -1 || n.forEach((s) => {
53746
+ this.detectors[s] && this.detectors[s].cacheUserLanguage(e, this.options);
53747
+ });
53748
+ }
53749
+ }
53750
+ Browser.type = "languageDetector";
53395
53751
  function _typeof$2(r) {
53396
53752
  return _typeof$2 = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
53397
53753
  return typeof e;
@@ -53464,7 +53820,7 @@ typeof ActiveXObject == "function" && (typeof global < "u" && global.ActiveXObje
53464
53820
  typeof fetchApi != "function" && (fetchApi = void 0);
53465
53821
  if (!fetchApi && !XmlHttpRequestApi && !ActiveXObjectApi)
53466
53822
  try {
53467
- import("./browser-ponyfill.4e5aa840.js").then((r) => r.b).then(function(r) {
53823
+ import("./browser-ponyfill.2d8446af.js").then((r) => r.b).then(function(r) {
53468
53824
  fetchApi = r.default;
53469
53825
  }).catch(function() {
53470
53826
  });
@@ -53770,6 +54126,246 @@ defineComponent({
53770
54126
  };
53771
54127
  }
53772
54128
  });
54129
+ const src$1 = {
54130
+ components: {
54131
+ dialog: {
54132
+ index: {
54133
+ cancel: "Cancel",
54134
+ confirm: "Confirm"
54135
+ }
54136
+ },
54137
+ play_list: {
54138
+ index: {
54139
+ button_delete: "Delete {{selectedKeys}}",
54140
+ cancel_select_all: "Cancel All",
54141
+ delete_desc: "Does it delete the selected playback record?",
54142
+ delete_title: "Confirm deletion",
54143
+ edit: "Edit",
54144
+ expired: "expired",
54145
+ no_available_content: "No broadcast content at this time",
54146
+ play_list: "playlist",
54147
+ select: "please select",
54148
+ select_all: "Select All",
54149
+ watch_to: "Watch it on: {{info}}%",
54150
+ watching: "Watching: {{ft}}"
54151
+ }
54152
+ },
54153
+ video: {
54154
+ components: {
54155
+ lzc_fullscreen_toggle: {
54156
+ exit_fullscreen: "Exit full screen",
54157
+ fullscreen: "full screen"
54158
+ },
54159
+ lzc_modal: {
54160
+ play_rate: {
54161
+ toast_playback_rate: "{{rate}} is playing at double speed."
54162
+ },
54163
+ resolution: {
54164
+ auto: "auto",
54165
+ raw: "original picture quality",
54166
+ switched_to: "Successfully switched to {{tips}} quality.",
54167
+ switching: "Switching. Please wait.",
54168
+ text_raw: "original picture quality"
54169
+ }
54170
+ },
54171
+ lzc_overlay: {
54172
+ cast: {
54173
+ film_delivery: "Video Delivery",
54174
+ searching: "Searching for equipment..."
54175
+ },
54176
+ casting: {
54177
+ button_back_play: "Back to Play",
54178
+ screen_casting_failed: "Failed to cast the screen",
54179
+ screen_casting_tips_content: "You can perform other actions on your current device without affecting the playback of {{videoName}}.",
54180
+ text_casting: "delivering"
54181
+ },
54182
+ error: {
54183
+ decode_failed_subtitle: "Supported video formats are: mp4, m3u8, mkv",
54184
+ decode_failed_title: "Video decoding failure",
54185
+ encrypted_video_title: "Encrypted video, no password decryption",
54186
+ file_not_exist_title: "Failed to load the video, probably because there is no access rights or the file no longer exists",
54187
+ paly_failed_title: "Playback fails, network error causes media download to fail in midstream",
54188
+ request_assets_over_title: "Requesting a resource cutoff. Please replay.",
54189
+ unknown_error_title: "unknown error"
54190
+ },
54191
+ use_cast: {
54192
+ error_not_device: "No screen casting device selected",
54193
+ not_selected_device: "No equipment selected"
54194
+ }
54195
+ },
54196
+ lzc_play_rate: {
54197
+ speed_btn_text_1: "speed",
54198
+ speed_btn_text_2: "speed",
54199
+ speed_btn_text_3: "speed"
54200
+ },
54201
+ lzc_playlist_button: {
54202
+ text_playlist: "playlist"
54203
+ },
54204
+ lzc_resolution_button: {
54205
+ auto_quality_btn_text: "auto({{text}})",
54206
+ definition_btn_text_1: "quality",
54207
+ definition_btn_text_2: "quality",
54208
+ original_quality_btn_text: "original picture quality"
54209
+ }
54210
+ },
54211
+ lzc_overlay: {
54212
+ playing: {
54213
+ play_btn_text: "Suspended"
54214
+ }
54215
+ },
54216
+ video_frame: {
54217
+ not_exist_cover_image: "Can't find a usable cover image"
54218
+ }
54219
+ }
54220
+ },
54221
+ stores: {
54222
+ playlist: {
54223
+ history_error_text: "Invalid video recordings",
54224
+ not_exist_error_text: "{{sourceUrl}} does not exist"
54225
+ }
54226
+ },
54227
+ views: {
54228
+ mobile: {
54229
+ home: {
54230
+ button_open_file: "Open file",
54231
+ button_playlist: "playlist",
54232
+ button_start_play: "start playing",
54233
+ title_select_file: "Selecting a Web Drive File"
54234
+ }
54235
+ }
54236
+ }
54237
+ }, en = {
54238
+ src: src$1
54239
+ }, src = {
54240
+ components: {
54241
+ dialog: {
54242
+ index: {
54243
+ cancel: "\u53D6\u6D88",
54244
+ confirm: "\u786E\u5B9A"
54245
+ }
54246
+ },
54247
+ play_list: {
54248
+ index: {
54249
+ button_delete: "\u5220\u9664{{selectedKeys}}",
54250
+ cancel_select_all: "\u53D6\u6D88\u5168\u9009",
54251
+ delete_desc: "\u662F\u5426\u5220\u9664\u5DF2\u9009\u4E2D\u7684\u64AD\u653E\u8BB0\u5F55\uFF1F",
54252
+ delete_title: "\u786E\u8BA4\u5220\u9664",
54253
+ edit: "\u7F16\u8F91",
54254
+ expired: "\u5DF2\u5931\u6548",
54255
+ no_available_content: "\u6682\u65E0\u64AD\u653E\u5185\u5BB9",
54256
+ play_list: "\u64AD\u653E\u5217\u8868",
54257
+ select: "\u8BF7\u9009\u62E9",
54258
+ select_all: "\u5168\u9009",
54259
+ watch_to: "\u89C2\u770B\u81F3: {{info}}%",
54260
+ watching: "\u6B63\u5728\u89C2\u770B\uFF1A{{ft}}"
54261
+ }
54262
+ },
54263
+ video: {
54264
+ components: {
54265
+ lzc_fullscreen_toggle: {
54266
+ exit_fullscreen: "\u9000\u51FA\u5168\u5C4F",
54267
+ fullscreen: "\u5168\u5C4F"
54268
+ },
54269
+ lzc_modal: {
54270
+ play_rate: {
54271
+ toast_playback_rate: "{{rate}}\u500D\u901F\u64AD\u653E\u4E2D"
54272
+ },
54273
+ resolution: {
54274
+ auto: "\u81EA\u52A8",
54275
+ raw: "\u539F\u59CB\u753B\u8D28",
54276
+ switched_to: "\u5DF2\u6210\u529F\u5207\u6362\u81F3 {{tips}} \u6E05\u6670\u5EA6",
54277
+ switching: "\u5207\u6362\u4E2D\uFF0C\u8BF7\u7A0D\u7B49",
54278
+ text_raw: "\u539F\u59CB\u753B\u8D28"
54279
+ }
54280
+ },
54281
+ lzc_overlay: {
54282
+ cast: {
54283
+ film_delivery: "\u5F71\u7247\u6295\u9001",
54284
+ searching: "\u6B63\u5728\u641C\u7D22\u8BBE\u5907\u2026"
54285
+ },
54286
+ casting: {
54287
+ button_back_play: "\u8FD4\u56DE\u64AD\u653E",
54288
+ screen_casting_failed: "\u6295\u5C4F\u5931\u8D25",
54289
+ screen_casting_tips_content: "\u6B63\u5728\u6295\u9001\u300A{{videoName}}\u300B\uFF0C\u60A8\u53EF\u4EE5\u5728\u5F53\u524D\u8BBE\u5907\u4E0A\u8FDB\u884C\u5176\u4ED6\u64CD\u4F5C\uFF0C\u4E0D\u4F1A\u5F71\u54CD\u64AD\u653E",
54290
+ text_casting: "\u6295\u9001\u4E2D"
54291
+ },
54292
+ error: {
54293
+ decode_failed_subtitle: "\u652F\u6301\u7684\u89C6\u9891\u683C\u5F0F\u6709: mp4, m3u8, mkv",
54294
+ decode_failed_title: "\u89C6\u9891\u89E3\u7801\u5931\u8D25",
54295
+ encrypted_video_title: "\u52A0\u5BC6\u89C6\u9891\uFF0C\u6CA1\u6709\u5BC6\u7801\u89E3\u5BC6",
54296
+ file_not_exist_title: "\u52A0\u8F7D\u89C6\u9891\u5931\u8D25\uFF0C\u53EF\u80FD\u662F\u56E0\u4E3A\u6CA1\u6709\u8BBF\u95EE\u6743\u9650\u6216\u8005\u6587\u4EF6\u5DF2\u7ECF\u4E0D\u5B58\u5728",
54297
+ paly_failed_title: "\u64AD\u653E\u5931\u8D25\uFF0C\u7F51\u7EDC\u9519\u8BEF\u5BFC\u81F4\u5A92\u4F53\u4E0B\u8F7D\u4E2D\u9014\u5931\u8D25",
54298
+ request_assets_over_title: "\u8BF7\u6C42\u8D44\u6E90\u7EC8\u65AD\uFF0C\u8BF7\u91CD\u65B0\u64AD\u653E",
54299
+ unknown_error_title: "\u672A\u77E5\u9519\u8BEF"
54300
+ },
54301
+ use_cast: {
54302
+ error_not_device: "\u6CA1\u6709\u9009\u62E9\u6295\u5C4F\u8BBE\u5907",
54303
+ not_selected_device: "\u6CA1\u6709\u9009\u62E9\u8BBE\u5907"
54304
+ }
54305
+ },
54306
+ lzc_play_rate: {
54307
+ speed_btn_text_1: "\u500D\u901F",
54308
+ speed_btn_text_2: "\u500D\u901F",
54309
+ speed_btn_text_3: "\u500D\u901F"
54310
+ },
54311
+ lzc_playlist_button: {
54312
+ text_playlist: "\u64AD\u653E\u5217\u8868"
54313
+ },
54314
+ lzc_resolution_button: {
54315
+ auto_quality_btn_text: "\u81EA\u52A8({{text}})",
54316
+ definition_btn_text_1: "\u6E05\u6670\u5EA6",
54317
+ definition_btn_text_2: "\u6E05\u6670\u5EA6",
54318
+ original_quality_btn_text: "\u539F\u59CB\u753B\u8D28"
54319
+ }
54320
+ },
54321
+ lzc_overlay: {
54322
+ playing: {
54323
+ play_btn_text: "\u5DF2\u6682\u505C"
54324
+ }
54325
+ },
54326
+ video_frame: {
54327
+ not_exist_cover_image: "\u627E\u4E0D\u5230\u53EF\u7528\u7684\u5C01\u9762\u56FE\u7247"
54328
+ }
54329
+ }
54330
+ },
54331
+ stores: {
54332
+ playlist: {
54333
+ history_error_text: "\u65E0\u6548\u7684\u89C6\u9891\u8BB0\u5F55",
54334
+ not_exist_error_text: "{{sourceUrl}} \u4E0D\u5B58\u5728"
54335
+ }
54336
+ },
54337
+ views: {
54338
+ mobile: {
54339
+ home: {
54340
+ button_open_file: "\u6253\u5F00\u6587\u4EF6",
54341
+ button_playlist: "\u64AD\u653E\u5217\u8868",
54342
+ button_start_play: "\u5F00\u59CB\u64AD\u653E",
54343
+ title_select_file: "\u9009\u62E9\u7F51\u76D8\u6587\u4EF6"
54344
+ }
54345
+ }
54346
+ }
54347
+ }, zh = {
54348
+ src
54349
+ };
54350
+ async function init(r, e, n = instance) {
54351
+ return await n.use(Backend).use(Browser).init(
54352
+ {
54353
+ lng: navigator.language,
54354
+ debug: !1,
54355
+ fallbackLng: "zh",
54356
+ resources: {
54357
+ en: {
54358
+ translation: en
54359
+ },
54360
+ zh: {
54361
+ translation: zh
54362
+ }
54363
+ },
54364
+ ...r
54365
+ },
54366
+ e
54367
+ );
54368
+ }
53773
54369
  const db = new dist$1.MiniDB(), useHistoryInfo = () => {
53774
54370
  const e = defineStore("historyInfo", {
53775
54371
  state: () => ({
@@ -58218,8 +58814,8 @@ const Dialog = {
58218
58814
  r.dialog = globalDialog(DialogPlugin, !0, e), this.__installed !== !0 && (this.create = r.dialog);
58219
58815
  }
58220
58816
  };
58221
- var Qn;
58222
- const pinia = (Qn = getActivePinia()) != null ? Qn : createPinia(), Component$c = videojs.getComponent("ModalDialog");
58817
+ var Jn;
58818
+ const pinia = (Jn = getActivePinia()) != null ? Jn : createPinia(), Component$c = videojs.getComponent("ModalDialog");
58223
58819
  class LzcModal extends Component$c {
58224
58820
  constructor(e, n) {
58225
58821
  const s = {
@@ -88539,7 +89135,7 @@ function updatePosInfo(r) {
88539
89135
  }
88540
89136
  async function doPlayAction(r, e) {
88541
89137
  const n = e.split("?");
88542
- n.length == 2 ? e = e.startsWith("/") ? n[0].replace(/_lzc\/media\/hls/, "").replace("//", "/").replace("/master.m3u8", "") : encodeURI(n[0] + "?" + n[1]) : e = e.startsWith("/") ? e.replace(/_lzc\/media\/hls/, "").replace("//", "/").replace("/master.m3u8", "") : encodeURI(e), castLoading.value = !0, await doAction({
89138
+ n.length == 2 ? (e = e.substring(e.indexOf("/_lzc/media/hls")), e = e.startsWith("/") ? n[0].replace(/_lzc\/media\/hls/, "").replace("//", "/").replace("/master.m3u8", "") : encodeURI(n[0] + "?" + n[1])) : (e = e.substring(e.indexOf("/_lzc/media/hls")), e = e.startsWith("/") ? e.replace(/_lzc\/media\/hls/, "").replace("//", "/").replace("/master.m3u8", "") : encodeURI(e)), castLoading.value = !0, await doAction({
88543
89139
  mediaFile: e,
88544
89140
  action: dlna.DoActionRequest_Action.Play
88545
89141
  }), castLoading.value = !1, subscribe(r);
@@ -89234,7 +89830,7 @@ class LzcCast extends Tech {
89234
89830
  preload: "metadata"
89235
89831
  });
89236
89832
  super(a, s);
89237
- Kn(this, "_currentTime", 0);
89833
+ Qn(this, "_currentTime", 0);
89238
89834
  }
89239
89835
  currentTime() {
89240
89836
  return this._currentTime;
@@ -89534,7 +90130,7 @@ const NextSvg = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZ
89534
90130
  class LzcPlaylistNext extends Button$1 {
89535
90131
  constructor(n, s) {
89536
90132
  super(n, s);
89537
- Kn(this, "store");
90133
+ Qn(this, "store");
89538
90134
  this.store = useHistoryInfo();
89539
90135
  }
89540
90136
  createEl() {
@@ -89922,7 +90518,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
89922
90518
  },
89923
90519
  emits: ["back", "controlBarActive"],
89924
90520
  setup(r, { emit: e }) {
89925
- videojs.addLanguage("zh-CN", videoZH);
90521
+ videojs.addLanguage("zh", videoZH), videojs.addLanguage("en", videoEN);
89926
90522
  const n = e, s = r, { shortcutToggle: a } = toRefs(s);
89927
90523
  let o;
89928
90524
  const u = ref(null);
@@ -89939,7 +90535,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
89939
90535
  fluid: !1,
89940
90536
  fill: !0,
89941
90537
  responsive: !0,
89942
- language: "zh-CN",
90538
+ language: navigator.language,
89943
90539
  autoplay: !0,
89944
90540
  inactivityTimeout: 1e4,
89945
90541
  bigPlayButton: !0,
@@ -90027,5 +90623,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
90027
90623
  });
90028
90624
  export {
90029
90625
  _sfc_main as _,
90030
- commonjsGlobal as c
90626
+ commonjsGlobal as c,
90627
+ init as i
90031
90628
  };