@volcengine/veplayer-plugin 2.2.0-rc.0 → 2.3.0-rc.1

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 (36) hide show
  1. package/LICENSE +20 -0
  2. package/esm/index.d.ts +2 -0
  3. package/esm/index.development.js +75169 -69866
  4. package/esm/index.production.js +4 -5
  5. package/esm/veplayer.plugin.drm.development.js +1577 -0
  6. package/esm/veplayer.plugin.drm.production.js +2 -0
  7. package/esm/veplayer.plugin.flv.development.js +45 -23
  8. package/esm/veplayer.plugin.flv.production.js +1 -1
  9. package/esm/veplayer.plugin.hls.development.js +80 -58
  10. package/esm/veplayer.plugin.hls.production.js +1 -1
  11. package/esm/veplayer.plugin.mp4.development.js +10674 -5866
  12. package/esm/veplayer.plugin.mp4.production.js +1 -1
  13. package/esm/veplayer.plugin.rtm.development.js +19 -17
  14. package/esm/veplayer.plugin.rtm.production.js +1 -1
  15. package/esm/veplayer.plugin.time.shift.development.js +3 -3
  16. package/esm/veplayer.plugin.time.shift.production.js +1 -1
  17. package/esm/veplayer.plugin.xgvideo.development.js +228 -226
  18. package/esm/veplayer.plugin.xgvideo.production.js +1 -1
  19. package/package.json +8 -3
  20. package/umd/index.d.ts +2 -0
  21. package/umd/index.development.js +74071 -68723
  22. package/umd/index.production.js +1 -1
  23. package/umd/veplayer.plugin.drm.development.js +1579 -0
  24. package/umd/veplayer.plugin.drm.production.js +1 -0
  25. package/umd/veplayer.plugin.flv.development.js +28 -5
  26. package/umd/veplayer.plugin.flv.production.js +1 -1
  27. package/umd/veplayer.plugin.hls.development.js +42 -21
  28. package/umd/veplayer.plugin.hls.production.js +1 -1
  29. package/umd/veplayer.plugin.mp4.development.js +10218 -5410
  30. package/umd/veplayer.plugin.mp4.production.js +1 -1
  31. package/umd/veplayer.plugin.rtm.development.js +3 -2
  32. package/umd/veplayer.plugin.rtm.production.js +1 -1
  33. package/umd/veplayer.plugin.time.shift.development.js +3 -3
  34. package/umd/veplayer.plugin.time.shift.production.js +1 -1
  35. package/umd/veplayer.plugin.xgvideo.development.js +2 -1
  36. package/umd/veplayer.plugin.xgvideo.production.js +1 -1
@@ -1342,17 +1342,17 @@ var createMethod$6 = function(TYPE) {
1342
1342
  var self2 = IndexedObject$5(O);
1343
1343
  var boundFunction = bind$9(callbackfn, that);
1344
1344
  var length = lengthOfArrayLike$h(self2);
1345
- var index2 = 0;
1345
+ var index = 0;
1346
1346
  var create3 = specificCreate || arraySpeciesCreate$2;
1347
1347
  var target = IS_MAP ? create3($this, length) : IS_FILTER || IS_FILTER_REJECT ? create3($this, 0) : void 0;
1348
1348
  var value, result;
1349
- for (; length > index2; index2++)
1350
- if (NO_HOLES || index2 in self2) {
1351
- value = self2[index2];
1352
- result = boundFunction(value, index2, O);
1349
+ for (; length > index; index++)
1350
+ if (NO_HOLES || index in self2) {
1351
+ value = self2[index];
1352
+ result = boundFunction(value, index, O);
1353
1353
  if (TYPE) {
1354
1354
  if (IS_MAP)
1355
- target[index2] = result;
1355
+ target[index] = result;
1356
1356
  else if (result)
1357
1357
  switch (TYPE) {
1358
1358
  case 3:
@@ -1360,7 +1360,7 @@ var createMethod$6 = function(TYPE) {
1360
1360
  case 5:
1361
1361
  return value;
1362
1362
  case 6:
1363
- return index2;
1363
+ return index;
1364
1364
  case 2:
1365
1365
  push$7(target, value);
1366
1366
  }
@@ -1474,8 +1474,8 @@ var objectGetOwnPropertyNames = {};
1474
1474
  var toIntegerOrInfinity$a = toIntegerOrInfinity$c;
1475
1475
  var max$4 = Math.max;
1476
1476
  var min$4 = Math.min;
1477
- var toAbsoluteIndex$7 = function(index2, length) {
1478
- var integer = toIntegerOrInfinity$a(index2);
1477
+ var toAbsoluteIndex$7 = function(index, length) {
1478
+ var integer = toIntegerOrInfinity$a(index);
1479
1479
  return integer < 0 ? max$4(integer + length, 0) : min$4(integer, length);
1480
1480
  };
1481
1481
  var toIndexedObject$9 = toIndexedObject$b;
@@ -1485,18 +1485,18 @@ var createMethod$5 = function(IS_INCLUDES) {
1485
1485
  return function($this, el, fromIndex) {
1486
1486
  var O = toIndexedObject$9($this);
1487
1487
  var length = lengthOfArrayLike$g(O);
1488
- var index2 = toAbsoluteIndex$6(fromIndex, length);
1488
+ var index = toAbsoluteIndex$6(fromIndex, length);
1489
1489
  var value;
1490
1490
  if (IS_INCLUDES && el != el)
1491
- while (length > index2) {
1492
- value = O[index2++];
1491
+ while (length > index) {
1492
+ value = O[index++];
1493
1493
  if (value != value)
1494
1494
  return true;
1495
1495
  }
1496
1496
  else
1497
- for (; length > index2; index2++) {
1498
- if ((IS_INCLUDES || index2 in O) && O[index2] === el)
1499
- return IS_INCLUDES || index2 || 0;
1497
+ for (; length > index; index++) {
1498
+ if ((IS_INCLUDES || index in O) && O[index] === el)
1499
+ return IS_INCLUDES || index || 0;
1500
1500
  }
1501
1501
  return !IS_INCLUDES && -1;
1502
1502
  };
@@ -1741,10 +1741,10 @@ objectDefineProperties.f = DESCRIPTORS$d && !V8_PROTOTYPE_DEFINE_BUG ? Object.de
1741
1741
  var props = toIndexedObject$6(Properties);
1742
1742
  var keys5 = objectKeys$2(Properties);
1743
1743
  var length = keys5.length;
1744
- var index2 = 0;
1744
+ var index = 0;
1745
1745
  var key;
1746
- while (length > index2)
1747
- definePropertyModule$2.f(O, key = keys5[index2++], props[key]);
1746
+ while (length > index)
1747
+ definePropertyModule$2.f(O, key = keys5[index++], props[key]);
1748
1748
  return O;
1749
1749
  };
1750
1750
  var getBuiltIn$4 = getBuiltIn$9;
@@ -2043,8 +2043,8 @@ var stringMultibyte = {
2043
2043
  charAt: createMethod$4(true)
2044
2044
  };
2045
2045
  var charAt$5 = stringMultibyte.charAt;
2046
- var advanceStringIndex$1 = function(S, index2, unicode) {
2047
- return index2 + (unicode ? charAt$5(S, index2).length : 1);
2046
+ var advanceStringIndex$1 = function(S, index, unicode) {
2047
+ return index + (unicode ? charAt$5(S, index).length : 1);
2048
2048
  };
2049
2049
  var uncurryThis$o = functionUncurryThis;
2050
2050
  var toObject$c = toObject$f;
@@ -2964,7 +2964,7 @@ var iterate$2 = function(iterable, unboundFunction, options) {
2964
2964
  var IS_ITERATOR = !!(options && options.IS_ITERATOR);
2965
2965
  var INTERRUPTED = !!(options && options.INTERRUPTED);
2966
2966
  var fn = bind$5(unboundFunction, that);
2967
- var iterator, iterFn, index2, length, result, next3, step;
2967
+ var iterator, iterFn, index, length, result, next3, step;
2968
2968
  var stop = function(condition) {
2969
2969
  if (iterator)
2970
2970
  iteratorClose$1(iterator, "normal", condition);
@@ -2986,8 +2986,8 @@ var iterate$2 = function(iterable, unboundFunction, options) {
2986
2986
  if (!iterFn)
2987
2987
  throw $TypeError$5(tryToString$2(iterable) + " is not iterable");
2988
2988
  if (isArrayIteratorMethod$2(iterFn)) {
2989
- for (index2 = 0, length = lengthOfArrayLike$e(iterable); length > index2; index2++) {
2990
- result = callFn(iterable[index2]);
2989
+ for (index = 0, length = lengthOfArrayLike$e(iterable); length > index; index++) {
2990
+ result = callFn(iterable[index]);
2991
2991
  if (result && isPrototypeOf$4(ResultPrototype, result))
2992
2992
  return result;
2993
2993
  }
@@ -3072,14 +3072,14 @@ $$q({ target: "Promise", stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
3072
3072
  var counter2 = 0;
3073
3073
  var remaining = 1;
3074
3074
  iterate$1(iterable, function(promise2) {
3075
- var index2 = counter2++;
3075
+ var index = counter2++;
3076
3076
  var alreadyCalled = false;
3077
3077
  remaining++;
3078
3078
  call$b($promiseResolve, C, promise2).then(function(value) {
3079
3079
  if (alreadyCalled)
3080
3080
  return;
3081
3081
  alreadyCalled = true;
3082
- values4[index2] = value;
3082
+ values4[index] = value;
3083
3083
  --remaining || resolve2(values4);
3084
3084
  }, reject2);
3085
3085
  });
@@ -3332,7 +3332,7 @@ var toNumeric = function(value) {
3332
3332
  };
3333
3333
  var toNumber = function(argument) {
3334
3334
  var it = toPrimitive$1(argument, "number");
3335
- var first, third, radix, maxCode, digits, length, index2, code;
3335
+ var first, third, radix, maxCode, digits, length, index, code;
3336
3336
  if (isSymbol$1(it))
3337
3337
  throw TypeError$4("Cannot convert a Symbol value to a number");
3338
3338
  if (typeof it == "string" && it.length > 2) {
@@ -3359,8 +3359,8 @@ var toNumber = function(argument) {
3359
3359
  }
3360
3360
  digits = arraySlice$5(it, 2);
3361
3361
  length = digits.length;
3362
- for (index2 = 0; index2 < length; index2++) {
3363
- code = charCodeAt$1(digits, index2);
3362
+ for (index = 0; index < length; index++) {
3363
+ code = charCodeAt$1(digits, index);
3364
3364
  if (code < 48 || code > maxCode)
3365
3365
  return NaN;
3366
3366
  }
@@ -3434,11 +3434,11 @@ var arrayFill$1 = function fill(value) {
3434
3434
  var O = toObject$a(this);
3435
3435
  var length = lengthOfArrayLike$c(O);
3436
3436
  var argumentsLength = arguments.length;
3437
- var index2 = toAbsoluteIndex$4(argumentsLength > 1 ? arguments[1] : void 0, length);
3437
+ var index = toAbsoluteIndex$4(argumentsLength > 1 ? arguments[1] : void 0, length);
3438
3438
  var end = argumentsLength > 2 ? arguments[2] : void 0;
3439
3439
  var endPos = end === void 0 ? length : toAbsoluteIndex$4(end, length);
3440
- while (endPos > index2)
3441
- O[index2++] = value;
3440
+ while (endPos > index)
3441
+ O[index++] = value;
3442
3442
  return O;
3443
3443
  };
3444
3444
  var wellKnownSymbol$8 = wellKnownSymbol$o;
@@ -3852,16 +3852,16 @@ var es_array_iterator = defineIterator$1(Array, "Array", function(iterated, kind
3852
3852
  var state = getInternalState$4(this);
3853
3853
  var target = state.target;
3854
3854
  var kind = state.kind;
3855
- var index2 = state.index++;
3856
- if (!target || index2 >= target.length) {
3855
+ var index = state.index++;
3856
+ if (!target || index >= target.length) {
3857
3857
  state.target = void 0;
3858
3858
  return createIterResultObject$1(void 0, true);
3859
3859
  }
3860
3860
  if (kind == "keys")
3861
- return createIterResultObject$1(index2, false);
3861
+ return createIterResultObject$1(index, false);
3862
3862
  if (kind == "values")
3863
- return createIterResultObject$1(target[index2], false);
3864
- return createIterResultObject$1([index2, target[index2]], false);
3863
+ return createIterResultObject$1(target[index], false);
3864
+ return createIterResultObject$1([index, target[index]], false);
3865
3865
  }, "values");
3866
3866
  var values = Iterators.Arguments = Iterators.Array;
3867
3867
  addToUnscopables$2("keys");
@@ -4107,7 +4107,7 @@ var pack = function(number, mantissaLength, bytes) {
4107
4107
  var eBias = eMax >> 1;
4108
4108
  var rt = mantissaLength === 23 ? pow$2(2, -24) - pow$2(2, -77) : 0;
4109
4109
  var sign = number < 0 || number === 0 && 1 / number < 0 ? 1 : 0;
4110
- var index2 = 0;
4110
+ var index = 0;
4111
4111
  var exponent, mantissa, c;
4112
4112
  number = abs(number);
4113
4113
  if (number != number || number === Infinity) {
@@ -4141,18 +4141,18 @@ var pack = function(number, mantissaLength, bytes) {
4141
4141
  }
4142
4142
  }
4143
4143
  while (mantissaLength >= 8) {
4144
- buffer[index2++] = mantissa & 255;
4144
+ buffer[index++] = mantissa & 255;
4145
4145
  mantissa /= 256;
4146
4146
  mantissaLength -= 8;
4147
4147
  }
4148
4148
  exponent = exponent << mantissaLength | mantissa;
4149
4149
  exponentLength += mantissaLength;
4150
4150
  while (exponentLength > 0) {
4151
- buffer[index2++] = exponent & 255;
4151
+ buffer[index++] = exponent & 255;
4152
4152
  exponent /= 256;
4153
4153
  exponentLength -= 8;
4154
4154
  }
4155
- buffer[--index2] |= sign * 128;
4155
+ buffer[--index] |= sign * 128;
4156
4156
  return buffer;
4157
4157
  };
4158
4158
  var unpack = function(buffer, mantissaLength) {
@@ -4161,20 +4161,20 @@ var unpack = function(buffer, mantissaLength) {
4161
4161
  var eMax = (1 << exponentLength) - 1;
4162
4162
  var eBias = eMax >> 1;
4163
4163
  var nBits = exponentLength - 7;
4164
- var index2 = bytes - 1;
4165
- var sign = buffer[index2--];
4164
+ var index = bytes - 1;
4165
+ var sign = buffer[index--];
4166
4166
  var exponent = sign & 127;
4167
4167
  var mantissa;
4168
4168
  sign >>= 7;
4169
4169
  while (nBits > 0) {
4170
- exponent = exponent * 256 + buffer[index2--];
4170
+ exponent = exponent * 256 + buffer[index--];
4171
4171
  nBits -= 8;
4172
4172
  }
4173
4173
  mantissa = exponent & (1 << -nBits) - 1;
4174
4174
  exponent >>= -nBits;
4175
4175
  nBits += mantissaLength;
4176
4176
  while (nBits > 0) {
4177
- mantissa = mantissa * 256 + buffer[index2--];
4177
+ mantissa = mantissa * 256 + buffer[index--];
4178
4178
  nBits -= 8;
4179
4179
  }
4180
4180
  if (exponent === 0) {
@@ -4256,8 +4256,8 @@ var addGetter$1 = function(Constructor2, key) {
4256
4256
  return getInternalState$2(this)[key];
4257
4257
  } });
4258
4258
  };
4259
- var get = function(view, count, index2, isLittleEndian) {
4260
- var intIndex = toIndex$1(index2);
4259
+ var get = function(view, count, index, isLittleEndian) {
4260
+ var intIndex = toIndex$1(index);
4261
4261
  var store = getInternalState$2(view);
4262
4262
  if (intIndex + count > store.byteLength)
4263
4263
  throw RangeError$3(WRONG_INDEX);
@@ -4266,8 +4266,8 @@ var get = function(view, count, index2, isLittleEndian) {
4266
4266
  var pack2 = arraySlice$4(bytes, start, start + count);
4267
4267
  return isLittleEndian ? pack2 : reverse(pack2);
4268
4268
  };
4269
- var set = function(view, count, index2, conversion, value, isLittleEndian) {
4270
- var intIndex = toIndex$1(index2);
4269
+ var set = function(view, count, index, conversion, value, isLittleEndian) {
4270
+ var intIndex = toIndex$1(index);
4271
4271
  var store = getInternalState$2(view);
4272
4272
  if (intIndex + count > store.byteLength)
4273
4273
  throw RangeError$3(WRONG_INDEX);
@@ -4542,11 +4542,11 @@ var BYTES_PER_ELEMENT = "BYTES_PER_ELEMENT";
4542
4542
  var WRONG_LENGTH = "Wrong length";
4543
4543
  var fromList = function(C, list) {
4544
4544
  aTypedArrayConstructor$1(C);
4545
- var index2 = 0;
4545
+ var index = 0;
4546
4546
  var length = list.length;
4547
4547
  var result = new C(length);
4548
- while (length > index2)
4549
- result[index2] = list[index2++];
4548
+ while (length > index)
4549
+ result[index] = list[index++];
4550
4550
  return result;
4551
4551
  };
4552
4552
  var addGetter = function(it, key) {
@@ -4595,23 +4595,23 @@ if (DESCRIPTORS$7) {
4595
4595
  var TypedArrayConstructor = NativeTypedArrayConstructor;
4596
4596
  var TypedArrayConstructorPrototype = TypedArrayConstructor && TypedArrayConstructor.prototype;
4597
4597
  var exported = {};
4598
- var getter = function(that, index2) {
4598
+ var getter = function(that, index) {
4599
4599
  var data2 = getInternalState$1(that);
4600
- return data2.view[GETTER](index2 * BYTES + data2.byteOffset, true);
4600
+ return data2.view[GETTER](index * BYTES + data2.byteOffset, true);
4601
4601
  };
4602
- var setter = function(that, index2, value) {
4602
+ var setter = function(that, index, value) {
4603
4603
  var data2 = getInternalState$1(that);
4604
4604
  if (CLAMPED)
4605
4605
  value = (value = round(value)) < 0 ? 0 : value > 255 ? 255 : value & 255;
4606
- data2.view[SETTER](index2 * BYTES + data2.byteOffset, value, true);
4606
+ data2.view[SETTER](index * BYTES + data2.byteOffset, value, true);
4607
4607
  };
4608
- var addElement = function(that, index2) {
4609
- nativeDefineProperty(that, index2, {
4608
+ var addElement = function(that, index) {
4609
+ nativeDefineProperty(that, index, {
4610
4610
  get: function() {
4611
- return getter(this, index2);
4611
+ return getter(this, index);
4612
4612
  },
4613
4613
  set: function(value) {
4614
- return setter(this, index2, value);
4614
+ return setter(this, index, value);
4615
4615
  },
4616
4616
  enumerable: true
4617
4617
  });
@@ -4619,7 +4619,7 @@ if (DESCRIPTORS$7) {
4619
4619
  if (!NATIVE_ARRAY_BUFFER_VIEWS) {
4620
4620
  TypedArrayConstructor = wrapper(function(that, data2, offset, $length) {
4621
4621
  anInstance$2(that, TypedArrayConstructorPrototype);
4622
- var index2 = 0;
4622
+ var index = 0;
4623
4623
  var byteOffset = 0;
4624
4624
  var buffer, byteLength, length;
4625
4625
  if (!isObject$2(data2)) {
@@ -4654,8 +4654,8 @@ if (DESCRIPTORS$7) {
4654
4654
  length,
4655
4655
  view: new DataView$1(buffer)
4656
4656
  });
4657
- while (index2 < length)
4658
- addElement(that, index2++);
4657
+ while (index < length)
4658
+ addElement(that, index++);
4659
4659
  });
4660
4660
  if (setPrototypeOf)
4661
4661
  setPrototypeOf(TypedArrayConstructor, TypedArray);
@@ -4715,10 +4715,10 @@ var lengthOfArrayLike$a = lengthOfArrayLike$i;
4715
4715
  var toIntegerOrInfinity$4 = toIntegerOrInfinity$c;
4716
4716
  var aTypedArray$o = ArrayBufferViewCore$p.aTypedArray;
4717
4717
  var exportTypedArrayMethod$p = ArrayBufferViewCore$p.exportTypedArrayMethod;
4718
- exportTypedArrayMethod$p("at", function at(index2) {
4718
+ exportTypedArrayMethod$p("at", function at(index) {
4719
4719
  var O = aTypedArray$o(this);
4720
4720
  var len = lengthOfArrayLike$a(O);
4721
- var relativeIndex = toIntegerOrInfinity$4(index2);
4721
+ var relativeIndex = toIntegerOrInfinity$4(index);
4722
4722
  var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex;
4723
4723
  return k < 0 || k >= len ? void 0 : O[k];
4724
4724
  });
@@ -4797,11 +4797,11 @@ exportTypedArrayMethod$m("fill", function fill3(value) {
4797
4797
  }, CONVERSION_BUG);
4798
4798
  var lengthOfArrayLike$8 = lengthOfArrayLike$i;
4799
4799
  var arrayFromConstructorAndList$1 = function(Constructor2, list) {
4800
- var index2 = 0;
4800
+ var index = 0;
4801
4801
  var length = lengthOfArrayLike$8(list);
4802
4802
  var result = new Constructor2(length);
4803
- while (length > index2)
4804
- result[index2] = list[index2++];
4803
+ while (length > index)
4804
+ result[index] = list[index++];
4805
4805
  return result;
4806
4806
  };
4807
4807
  var ArrayBufferViewCore$l = arrayBufferViewCore;
@@ -4849,17 +4849,17 @@ var createMethod$2 = function(TYPE) {
4849
4849
  var O = toObject$6($this);
4850
4850
  var self2 = IndexedObject$3(O);
4851
4851
  var boundFunction = bind$3(callbackfn, that);
4852
- var index2 = lengthOfArrayLike$7(self2);
4852
+ var index = lengthOfArrayLike$7(self2);
4853
4853
  var value, result;
4854
- while (index2-- > 0) {
4855
- value = self2[index2];
4856
- result = boundFunction(value, index2, O);
4854
+ while (index-- > 0) {
4855
+ value = self2[index];
4856
+ result = boundFunction(value, index, O);
4857
4857
  if (result)
4858
4858
  switch (TYPE) {
4859
4859
  case 0:
4860
4860
  return value;
4861
4861
  case 1:
4862
- return index2;
4862
+ return index;
4863
4863
  }
4864
4864
  }
4865
4865
  return IS_FIND_LAST_INDEX ? -1 : void 0;
@@ -4960,14 +4960,14 @@ var arrayLastIndexOf = FORCED$5 ? function lastIndexOf(searchElement) {
4960
4960
  return apply$2($lastIndexOf$1, this, arguments) || 0;
4961
4961
  var O = toIndexedObject$4(this);
4962
4962
  var length = lengthOfArrayLike$6(O);
4963
- var index2 = length - 1;
4963
+ var index = length - 1;
4964
4964
  if (arguments.length > 1)
4965
- index2 = min$1(index2, toIntegerOrInfinity$3(arguments[1]));
4966
- if (index2 < 0)
4967
- index2 = length + index2;
4968
- for (; index2 >= 0; index2--)
4969
- if (index2 in O && O[index2] === searchElement)
4970
- return index2 || 0;
4965
+ index = min$1(index, toIntegerOrInfinity$3(arguments[1]));
4966
+ if (index < 0)
4967
+ index = length + index;
4968
+ for (; index >= 0; index--)
4969
+ if (index in O && O[index] === searchElement)
4970
+ return index || 0;
4971
4971
  return -1;
4972
4972
  } : $lastIndexOf$1;
4973
4973
  var ArrayBufferViewCore$a = arrayBufferViewCore;
@@ -5000,23 +5000,23 @@ var createMethod$1 = function(IS_RIGHT) {
5000
5000
  var O = toObject$5(that);
5001
5001
  var self2 = IndexedObject$2(O);
5002
5002
  var length = lengthOfArrayLike$5(O);
5003
- var index2 = IS_RIGHT ? length - 1 : 0;
5003
+ var index = IS_RIGHT ? length - 1 : 0;
5004
5004
  var i = IS_RIGHT ? -1 : 1;
5005
5005
  if (argumentsLength < 2)
5006
5006
  while (true) {
5007
- if (index2 in self2) {
5008
- memo = self2[index2];
5009
- index2 += i;
5007
+ if (index in self2) {
5008
+ memo = self2[index];
5009
+ index += i;
5010
5010
  break;
5011
5011
  }
5012
- index2 += i;
5013
- if (IS_RIGHT ? index2 < 0 : length <= index2) {
5012
+ index += i;
5013
+ if (IS_RIGHT ? index < 0 : length <= index) {
5014
5014
  throw $TypeError$1("Reduce of empty array with no initial value");
5015
5015
  }
5016
5016
  }
5017
- for (; IS_RIGHT ? index2 >= 0 : length > index2; index2 += i)
5018
- if (index2 in self2) {
5019
- memo = callbackfn(memo, self2[index2], index2, O);
5017
+ for (; IS_RIGHT ? index >= 0 : length > index; index += i)
5018
+ if (index in self2) {
5019
+ memo = callbackfn(memo, self2[index], index, O);
5020
5020
  }
5021
5021
  return memo;
5022
5022
  };
@@ -5053,11 +5053,11 @@ exportTypedArrayMethod$7("reverse", function reverse2() {
5053
5053
  var that = this;
5054
5054
  var length = aTypedArray$6(that).length;
5055
5055
  var middle = floor$4(length / 2);
5056
- var index2 = 0;
5056
+ var index = 0;
5057
5057
  var value;
5058
- while (index2 < middle) {
5059
- value = that[index2];
5060
- that[index2++] = that[--length];
5058
+ while (index < middle) {
5059
+ value = that[index];
5060
+ that[index++] = that[--length];
5061
5061
  that[length] = value;
5062
5062
  }
5063
5063
  return that;
@@ -5094,11 +5094,11 @@ exportTypedArrayMethod$6("set", function set2(arrayLike) {
5094
5094
  return call$4($set, this, src, offset);
5095
5095
  var length = this.length;
5096
5096
  var len = lengthOfArrayLike$4(src);
5097
- var index2 = 0;
5097
+ var index = 0;
5098
5098
  if (len + offset > length)
5099
5099
  throw RangeError$1("Wrong length");
5100
- while (index2 < len)
5101
- this[offset + index2] = src[index2++];
5100
+ while (index < len)
5101
+ this[offset + index] = src[index++];
5102
5102
  }, !WORKS_WITH_OBJECTS_AND_GEERIC_ON_TYPED_ARRAYS || TO_OBJECT_BUG);
5103
5103
  var ArrayBufferViewCore$4 = arrayBufferViewCore;
5104
5104
  var typedArraySpeciesConstructor$1 = typedArraySpeciesConstructor$4;
@@ -5112,11 +5112,11 @@ var FORCED$4 = fails$a(function() {
5112
5112
  exportTypedArrayMethod$5("slice", function slice2(start, end) {
5113
5113
  var list = arraySlice$3(aTypedArray$4(this), start, end);
5114
5114
  var C = typedArraySpeciesConstructor$1(this);
5115
- var index2 = 0;
5115
+ var index = 0;
5116
5116
  var length = list.length;
5117
5117
  var result = new C(length);
5118
- while (length > index2)
5119
- result[index2] = list[index2++];
5118
+ while (length > index)
5119
+ result[index] = list[index++];
5120
5120
  return result;
5121
5121
  }, FORCED$4);
5122
5122
  var ArrayBufferViewCore$3 = arrayBufferViewCore;
@@ -5202,17 +5202,17 @@ var STABLE_SORT$1 = !!nativeSort$1 && !fails$9(function() {
5202
5202
  return WEBKIT$1 < 602;
5203
5203
  var array = new Uint16Array(516);
5204
5204
  var expected = Array(516);
5205
- var index2, mod;
5206
- for (index2 = 0; index2 < 516; index2++) {
5207
- mod = index2 % 4;
5208
- array[index2] = 515 - index2;
5209
- expected[index2] = index2 - 2 * mod + 3;
5205
+ var index, mod;
5206
+ for (index = 0; index < 516; index++) {
5207
+ mod = index % 4;
5208
+ array[index] = 515 - index;
5209
+ expected[index] = index - 2 * mod + 3;
5210
5210
  }
5211
5211
  nativeSort$1(array, function(a, b) {
5212
5212
  return (a / 4 | 0) - (b / 4 | 0);
5213
5213
  });
5214
- for (index2 = 0; index2 < 516; index2++) {
5215
- if (array[index2] !== expected[index2])
5214
+ for (index = 0; index < 516; index++) {
5215
+ if (array[index] !== expected[index])
5216
5216
  return true;
5217
5217
  }
5218
5218
  });
@@ -5427,11 +5427,11 @@ var objectAssign = !$assign || fails$6(function() {
5427
5427
  }) ? function assign(target, source) {
5428
5428
  var T = toObject$4(target);
5429
5429
  var argumentsLength = arguments.length;
5430
- var index2 = 1;
5430
+ var index = 1;
5431
5431
  var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
5432
5432
  var propertyIsEnumerable3 = propertyIsEnumerableModule.f;
5433
- while (argumentsLength > index2) {
5434
- var S = IndexedObject$1(arguments[index2++]);
5433
+ while (argumentsLength > index) {
5434
+ var S = IndexedObject$1(arguments[index++]);
5435
5435
  var keys5 = getOwnPropertySymbols ? concat2(objectKeys$1(S), getOwnPropertySymbols(S)) : objectKeys$1(S);
5436
5436
  var length = keys5.length;
5437
5437
  var j = 0;
@@ -6068,7 +6068,7 @@ var STABLE_SORT = !fails$5(function() {
6068
6068
  if (WEBKIT)
6069
6069
  return WEBKIT < 603;
6070
6070
  var result = "";
6071
- var code, chr, value, index2;
6071
+ var code, chr, value, index;
6072
6072
  for (code = 65; code < 76; code++) {
6073
6073
  chr = String.fromCharCode(code);
6074
6074
  switch (code) {
@@ -6085,15 +6085,15 @@ var STABLE_SORT = !fails$5(function() {
6085
6085
  default:
6086
6086
  value = 2;
6087
6087
  }
6088
- for (index2 = 0; index2 < 47; index2++) {
6089
- test.push({ k: chr + index2, v: value });
6088
+ for (index = 0; index < 47; index++) {
6089
+ test.push({ k: chr + index, v: value });
6090
6090
  }
6091
6091
  }
6092
6092
  test.sort(function(a, b) {
6093
6093
  return b.v - a.v;
6094
6094
  });
6095
- for (index2 = 0; index2 < test.length; index2++) {
6096
- chr = test[index2].k.charAt(0);
6095
+ for (index = 0; index < test.length; index++) {
6096
+ chr = test[index].k.charAt(0);
6097
6097
  if (result.charAt(result.length - 1) !== chr)
6098
6098
  result += chr;
6099
6099
  }
@@ -6120,18 +6120,18 @@ $$a({ target: "Array", proto: true, forced: FORCED$2 }, {
6120
6120
  return comparefn === void 0 ? nativeSort(array) : nativeSort(array, comparefn);
6121
6121
  var items = [];
6122
6122
  var arrayLength = lengthOfArrayLike$2(array);
6123
- var itemsLength, index2;
6124
- for (index2 = 0; index2 < arrayLength; index2++) {
6125
- if (index2 in array)
6126
- push$4(items, array[index2]);
6123
+ var itemsLength, index;
6124
+ for (index = 0; index < arrayLength; index++) {
6125
+ if (index in array)
6126
+ push$4(items, array[index]);
6127
6127
  }
6128
6128
  internalSort(items, getSortCompare(comparefn));
6129
6129
  itemsLength = lengthOfArrayLike$2(items);
6130
- index2 = 0;
6131
- while (index2 < itemsLength)
6132
- array[index2] = items[index2++];
6133
- while (index2 < arrayLength)
6134
- deletePropertyOrThrow$1(array, index2++);
6130
+ index = 0;
6131
+ while (index < itemsLength)
6132
+ array[index] = items[index++];
6133
+ while (index < arrayLength)
6134
+ deletePropertyOrThrow$1(array, index++);
6135
6135
  return array;
6136
6136
  }
6137
6137
  });
@@ -6847,8 +6847,8 @@ var AudioRender = /* @__PURE__ */ function(_BaseRender) {
6847
6847
  var g711Buffer = new Uint8Array(byteLength);
6848
6848
  var startDts = 0;
6849
6849
  var offset = 0;
6850
- this._sampleQueue.forEach(function(x, index2) {
6851
- if (index2 === 0) {
6850
+ this._sampleQueue.forEach(function(x, index) {
6851
+ if (index === 0) {
6852
6852
  startDts = x.dts;
6853
6853
  }
6854
6854
  g711Buffer.set(x.data, offset);
@@ -7112,11 +7112,11 @@ defineIterator(String, "String", function(iterated) {
7112
7112
  }, function next() {
7113
7113
  var state = getInternalState(this);
7114
7114
  var string = state.string;
7115
- var index2 = state.index;
7115
+ var index = state.index;
7116
7116
  var point;
7117
- if (index2 >= string.length)
7117
+ if (index >= string.length)
7118
7118
  return createIterResultObject(void 0, true);
7119
- point = charAt$2(string, index2);
7119
+ point = charAt$2(string, index);
7120
7120
  state.index += point.length;
7121
7121
  return createIterResultObject(point, false);
7122
7122
  });
@@ -7480,25 +7480,25 @@ var arrayFrom$1 = function from2(arrayLike) {
7480
7480
  if (mapping)
7481
7481
  mapfn = bind$2(mapfn, argumentsLength > 2 ? arguments[2] : void 0);
7482
7482
  var iteratorMethod = getIteratorMethod$1(O);
7483
- var index2 = 0;
7483
+ var index = 0;
7484
7484
  var length, result, step, iterator, next3, value;
7485
7485
  if (iteratorMethod && !(this === $Array && isArrayIteratorMethod(iteratorMethod))) {
7486
7486
  iterator = getIterator$1(O, iteratorMethod);
7487
7487
  next3 = iterator.next;
7488
7488
  result = IS_CONSTRUCTOR ? new this() : [];
7489
- for (; !(step = call$1(next3, iterator)).done; index2++) {
7490
- value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index2], true) : step.value;
7491
- createProperty(result, index2, value);
7489
+ for (; !(step = call$1(next3, iterator)).done; index++) {
7490
+ value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;
7491
+ createProperty(result, index, value);
7492
7492
  }
7493
7493
  } else {
7494
7494
  length = lengthOfArrayLike(O);
7495
7495
  result = IS_CONSTRUCTOR ? new this(length) : $Array(length);
7496
- for (; length > index2; index2++) {
7497
- value = mapping ? mapfn(O[index2], index2) : O[index2];
7498
- createProperty(result, index2, value);
7496
+ for (; length > index; index++) {
7497
+ value = mapping ? mapfn(O[index], index) : O[index];
7498
+ createProperty(result, index, value);
7499
7499
  }
7500
7500
  }
7501
- result.length = index2;
7501
+ result.length = index;
7502
7502
  return result;
7503
7503
  };
7504
7504
  var $$4 = _export;
@@ -9650,8 +9650,8 @@ var MP4Remuxer = /* @__PURE__ */ function() {
9650
9650
  }
9651
9651
  }, {
9652
9652
  key: "_fillStcoSamples",
9653
- value: function _fillStcoSamples(stcoSamples, index2, samplePerChunk, chunkOffset) {
9654
- if (!(index2 % samplePerChunk)) {
9653
+ value: function _fillStcoSamples(stcoSamples, index, samplePerChunk, chunkOffset) {
9654
+ if (!(index % samplePerChunk)) {
9655
9655
  stcoSamples.push(chunkOffset);
9656
9656
  }
9657
9657
  }
@@ -10485,10 +10485,10 @@ URLSearchParamsState.prototype = {
10485
10485
  parseQuery: function(query) {
10486
10486
  if (query) {
10487
10487
  var attributes = split$1(query, "&");
10488
- var index2 = 0;
10488
+ var index = 0;
10489
10489
  var attribute, entry;
10490
- while (index2 < attributes.length) {
10491
- attribute = attributes[index2++];
10490
+ while (index < attributes.length) {
10491
+ attribute = attributes[index++];
10492
10492
  if (attribute.length) {
10493
10493
  entry = split$1(attribute, "=");
10494
10494
  push$2(this.entries, {
@@ -10502,10 +10502,10 @@ URLSearchParamsState.prototype = {
10502
10502
  serialize: function() {
10503
10503
  var entries4 = this.entries;
10504
10504
  var result = [];
10505
- var index2 = 0;
10505
+ var index = 0;
10506
10506
  var entry;
10507
- while (index2 < entries4.length) {
10508
- entry = entries4[index2++];
10507
+ while (index < entries4.length) {
10508
+ entry = entries4[index++];
10509
10509
  push$2(result, serialize(entry.key) + "=" + serialize(entry.value));
10510
10510
  }
10511
10511
  return join$1(result, "&");
@@ -10541,12 +10541,12 @@ defineBuiltIns(URLSearchParamsPrototype, {
10541
10541
  var state = getInternalParamsState(this);
10542
10542
  var entries4 = state.entries;
10543
10543
  var key = $toString$1(name);
10544
- var index2 = 0;
10545
- while (index2 < entries4.length) {
10546
- if (entries4[index2].key === key)
10547
- splice2(entries4, index2, 1);
10544
+ var index = 0;
10545
+ while (index < entries4.length) {
10546
+ if (entries4[index].key === key)
10547
+ splice2(entries4, index, 1);
10548
10548
  else
10549
- index2++;
10549
+ index++;
10550
10550
  }
10551
10551
  state.updateURL();
10552
10552
  },
@@ -10556,10 +10556,10 @@ defineBuiltIns(URLSearchParamsPrototype, {
10556
10556
  validateArgumentsLength$1(arguments.length, 1);
10557
10557
  var entries4 = getInternalParamsState(this).entries;
10558
10558
  var key = $toString$1(name);
10559
- var index2 = 0;
10560
- for (; index2 < entries4.length; index2++) {
10561
- if (entries4[index2].key === key)
10562
- return entries4[index2].value;
10559
+ var index = 0;
10560
+ for (; index < entries4.length; index++) {
10561
+ if (entries4[index].key === key)
10562
+ return entries4[index].value;
10563
10563
  }
10564
10564
  return null;
10565
10565
  },
@@ -10570,10 +10570,10 @@ defineBuiltIns(URLSearchParamsPrototype, {
10570
10570
  var entries4 = getInternalParamsState(this).entries;
10571
10571
  var key = $toString$1(name);
10572
10572
  var result = [];
10573
- var index2 = 0;
10574
- for (; index2 < entries4.length; index2++) {
10575
- if (entries4[index2].key === key)
10576
- push$2(result, entries4[index2].value);
10573
+ var index = 0;
10574
+ for (; index < entries4.length; index++) {
10575
+ if (entries4[index].key === key)
10576
+ push$2(result, entries4[index].value);
10577
10577
  }
10578
10578
  return result;
10579
10579
  },
@@ -10583,9 +10583,9 @@ defineBuiltIns(URLSearchParamsPrototype, {
10583
10583
  validateArgumentsLength$1(arguments.length, 1);
10584
10584
  var entries4 = getInternalParamsState(this).entries;
10585
10585
  var key = $toString$1(name);
10586
- var index2 = 0;
10587
- while (index2 < entries4.length) {
10588
- if (entries4[index2++].key === key)
10586
+ var index = 0;
10587
+ while (index < entries4.length) {
10588
+ if (entries4[index++].key === key)
10589
10589
  return true;
10590
10590
  }
10591
10591
  return false;
@@ -10599,13 +10599,13 @@ defineBuiltIns(URLSearchParamsPrototype, {
10599
10599
  var found = false;
10600
10600
  var key = $toString$1(name);
10601
10601
  var val = $toString$1(value);
10602
- var index2 = 0;
10602
+ var index = 0;
10603
10603
  var entry;
10604
- for (; index2 < entries4.length; index2++) {
10605
- entry = entries4[index2];
10604
+ for (; index < entries4.length; index++) {
10605
+ entry = entries4[index];
10606
10606
  if (entry.key === key) {
10607
10607
  if (found)
10608
- splice2(entries4, index2--, 1);
10608
+ splice2(entries4, index--, 1);
10609
10609
  else {
10610
10610
  found = true;
10611
10611
  entry.value = val;
@@ -10629,10 +10629,10 @@ defineBuiltIns(URLSearchParamsPrototype, {
10629
10629
  forEach: function forEach4(callback) {
10630
10630
  var entries4 = getInternalParamsState(this).entries;
10631
10631
  var boundFunction = bind$1(callback, arguments.length > 1 ? arguments[1] : void 0);
10632
- var index2 = 0;
10632
+ var index = 0;
10633
10633
  var entry;
10634
- while (index2 < entries4.length) {
10635
- entry = entries4[index2++];
10634
+ while (index < entries4.length) {
10635
+ entry = entries4[index++];
10636
10636
  boundFunction(entry.value, entry.key, this);
10637
10637
  }
10638
10638
  },
@@ -10759,7 +10759,7 @@ var TAB_AND_NEW_LINE = /[\t\n\r]/g;
10759
10759
  var EOF;
10760
10760
  var parseIPv4 = function(input) {
10761
10761
  var parts = split(input, ".");
10762
- var partsLength, numbers, index2, part, radix, number, ipv4;
10762
+ var partsLength, numbers, index, part, radix, number, ipv4;
10763
10763
  if (parts.length && parts[parts.length - 1] == "") {
10764
10764
  parts.length--;
10765
10765
  }
@@ -10767,8 +10767,8 @@ var parseIPv4 = function(input) {
10767
10767
  if (partsLength > 4)
10768
10768
  return input;
10769
10769
  numbers = [];
10770
- for (index2 = 0; index2 < partsLength; index2++) {
10771
- part = parts[index2];
10770
+ for (index = 0; index < partsLength; index++) {
10771
+ part = parts[index];
10772
10772
  if (part == "")
10773
10773
  return input;
10774
10774
  radix = 10;
@@ -10785,17 +10785,17 @@ var parseIPv4 = function(input) {
10785
10785
  }
10786
10786
  push$1(numbers, number);
10787
10787
  }
10788
- for (index2 = 0; index2 < partsLength; index2++) {
10789
- number = numbers[index2];
10790
- if (index2 == partsLength - 1) {
10788
+ for (index = 0; index < partsLength; index++) {
10789
+ number = numbers[index];
10790
+ if (index == partsLength - 1) {
10791
10791
  if (number >= pow$1(256, 5 - partsLength))
10792
10792
  return null;
10793
10793
  } else if (number > 255)
10794
10794
  return null;
10795
10795
  }
10796
10796
  ipv4 = pop(numbers);
10797
- for (index2 = 0; index2 < numbers.length; index2++) {
10798
- ipv4 += numbers[index2] * pow$1(256, 3 - index2);
10797
+ for (index = 0; index < numbers.length; index++) {
10798
+ ipv4 += numbers[index] * pow$1(256, 3 - index);
10799
10799
  }
10800
10800
  return ipv4;
10801
10801
  };
@@ -10894,9 +10894,9 @@ var findLongestZeroSequence = function(ipv6) {
10894
10894
  var maxLength = 1;
10895
10895
  var currStart = null;
10896
10896
  var currLength = 0;
10897
- var index2 = 0;
10898
- for (; index2 < 8; index2++) {
10899
- if (ipv6[index2] !== 0) {
10897
+ var index = 0;
10898
+ for (; index < 8; index++) {
10899
+ if (ipv6[index] !== 0) {
10900
10900
  if (currLength > maxLength) {
10901
10901
  maxIndex = currStart;
10902
10902
  maxLength = currLength;
@@ -10905,7 +10905,7 @@ var findLongestZeroSequence = function(ipv6) {
10905
10905
  currLength = 0;
10906
10906
  } else {
10907
10907
  if (currStart === null)
10908
- currStart = index2;
10908
+ currStart = index;
10909
10909
  ++currLength;
10910
10910
  }
10911
10911
  }
@@ -10916,10 +10916,10 @@ var findLongestZeroSequence = function(ipv6) {
10916
10916
  return maxIndex;
10917
10917
  };
10918
10918
  var serializeHost = function(host) {
10919
- var result, index2, compress, ignore0;
10919
+ var result, index, compress, ignore0;
10920
10920
  if (typeof host == "number") {
10921
10921
  result = [];
10922
- for (index2 = 0; index2 < 4; index2++) {
10922
+ for (index = 0; index < 4; index++) {
10923
10923
  unshift(result, host % 256);
10924
10924
  host = floor$1(host / 256);
10925
10925
  }
@@ -10927,17 +10927,17 @@ var serializeHost = function(host) {
10927
10927
  } else if (typeof host == "object") {
10928
10928
  result = "";
10929
10929
  compress = findLongestZeroSequence(host);
10930
- for (index2 = 0; index2 < 8; index2++) {
10931
- if (ignore0 && host[index2] === 0)
10930
+ for (index = 0; index < 8; index++) {
10931
+ if (ignore0 && host[index] === 0)
10932
10932
  continue;
10933
10933
  if (ignore0)
10934
10934
  ignore0 = false;
10935
- if (compress === index2) {
10936
- result += index2 ? ":" : "::";
10935
+ if (compress === index) {
10936
+ result += index ? ":" : "::";
10937
10937
  ignore0 = true;
10938
10938
  } else {
10939
- result += numberToString(host[index2], 16);
10940
- if (index2 < 7)
10939
+ result += numberToString(host[index], 16);
10940
+ if (index < 7)
10941
10941
  result += ":";
10942
10942
  }
10943
10943
  }
@@ -11450,7 +11450,7 @@ URLState.prototype = {
11450
11450
  },
11451
11451
  // https://url.spec.whatwg.org/#host-parsing
11452
11452
  parseHost: function(input) {
11453
- var result, codePoints, index2;
11453
+ var result, codePoints, index;
11454
11454
  if (charAt(input, 0) == "[") {
11455
11455
  if (charAt(input, input.length - 1) != "]")
11456
11456
  return INVALID_HOST;
@@ -11463,8 +11463,8 @@ URLState.prototype = {
11463
11463
  return INVALID_HOST;
11464
11464
  result = "";
11465
11465
  codePoints = arrayFrom(input);
11466
- for (index2 = 0; index2 < codePoints.length; index2++) {
11467
- result += percentEncode(codePoints[index2], C0ControlPercentEncodeSet);
11466
+ for (index = 0; index < codePoints.length; index++) {
11467
+ result += percentEncode(codePoints[index], C0ControlPercentEncodeSet);
11468
11468
  }
11469
11469
  this.host = result;
11470
11470
  } else {
@@ -11837,7 +11837,7 @@ var Buffer = /* @__PURE__ */ function() {
11837
11837
  };
11838
11838
  var start = 0;
11839
11839
  var end = 0;
11840
- var index2 = 0;
11840
+ var index = 0;
11841
11841
  var nextStart = 0;
11842
11842
  var nextEnd = 0;
11843
11843
  var prevStart = 0;
@@ -11848,7 +11848,7 @@ var Buffer = /* @__PURE__ */ function() {
11848
11848
  if (pos + maxHole >= item[0] && pos < item[1]) {
11849
11849
  start = item[0];
11850
11850
  end = item[1];
11851
- index2 = i;
11851
+ index = i;
11852
11852
  } else if (pos + maxHole < item[0]) {
11853
11853
  nextStart = item[0];
11854
11854
  nextEnd = item[1];
@@ -11861,7 +11861,7 @@ var Buffer = /* @__PURE__ */ function() {
11861
11861
  return {
11862
11862
  start,
11863
11863
  end,
11864
- index: index2,
11864
+ index,
11865
11865
  buffers,
11866
11866
  nextStart,
11867
11867
  nextEnd,
@@ -12639,11 +12639,11 @@ var MediaCache = /* @__PURE__ */ function() {
12639
12639
  }, {
12640
12640
  key: "getCachedMedia",
12641
12641
  value: function getCachedMedia(codec) {
12642
- var index2 = this._queue.findIndex(function(x) {
12642
+ var index = this._queue.findIndex(function(x) {
12643
12643
  return x.codec === codec;
12644
12644
  });
12645
- if (index2 !== -1) {
12646
- return this._queue.splice(index2, 1)[0];
12645
+ if (index !== -1) {
12646
+ return this._queue.splice(index, 1)[0];
12647
12647
  }
12648
12648
  return null;
12649
12649
  }
@@ -13595,7 +13595,7 @@ var VideoTimeRange = /* @__PURE__ */ function() {
13595
13595
  }, {
13596
13596
  key: "getFrame",
13597
13597
  value: function getFrame() {
13598
- var index2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0;
13598
+ var index = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0;
13599
13599
  var f;
13600
13600
  if (this.isLive) {
13601
13601
  return this._currentFrameQueue.shift();
@@ -13605,10 +13605,10 @@ var VideoTimeRange = /* @__PURE__ */ function() {
13605
13605
  f = this._currentFrameQueue[--this._frameIndexInQueue];
13606
13606
  if (!f)
13607
13607
  return;
13608
- var got = this.switchBuffer((f.dts - this._baseDts) / 1e3, this._frameIndexInQueue++, index2);
13608
+ var got = this.switchBuffer((f.dts - this._baseDts) / 1e3, this._frameIndexInQueue++, index);
13609
13609
  if (!got)
13610
13610
  return;
13611
- return this.getFrame(++index2);
13611
+ return this.getFrame(++index);
13612
13612
  }
13613
13613
  this._frameIndexInQueue++;
13614
13614
  return f;
@@ -13622,8 +13622,8 @@ var VideoTimeRange = /* @__PURE__ */ function() {
13622
13622
  }
13623
13623
  }, {
13624
13624
  key: "updateFrameIndexForPreciseSeek",
13625
- value: function updateFrameIndexForPreciseSeek(index2) {
13626
- this._frameIndexInQueue = index2;
13625
+ value: function updateFrameIndexForPreciseSeek(index) {
13626
+ this._frameIndexInQueue = index;
13627
13627
  }
13628
13628
  }, {
13629
13629
  key: "switchBuffer",
@@ -15668,10 +15668,10 @@ var VideoDecoderController = /* @__PURE__ */ function(_EventEmitter) {
15668
15668
  if (!samples[0].keyframe) {
15669
15669
  console.error(this.TAG, "_getFragmentDuration", "gop firstFrame is not keyframe");
15670
15670
  }
15671
- samples.forEach(function(item, index2) {
15672
- if (item.keyframe && index2) {
15673
- duration += samples[index2 - 1].dts - samples[position].dts;
15674
- position = index2;
15671
+ samples.forEach(function(item, index) {
15672
+ if (item.keyframe && index) {
15673
+ duration += samples[index - 1].dts - samples[position].dts;
15674
+ position = index;
15675
15675
  }
15676
15676
  });
15677
15677
  duration += samples[samples.length - 1].dts - samples[position].dts;
@@ -16416,8 +16416,8 @@ var DecodeController = /* @__PURE__ */ function(_EventEmitter) {
16416
16416
  if (logger.enable) {
16417
16417
  logger.log(this.TAG, "doDecode ".concat(frameList.length, " frames for precise seek"));
16418
16418
  }
16419
- frameList.forEach(function(f, index2) {
16420
- _this3._doDecodeInternal(f, true, index2 >= nbFrame - 6);
16419
+ frameList.forEach(function(f, index) {
16420
+ _this3._doDecodeInternal(f, true, index >= nbFrame - 6);
16421
16421
  });
16422
16422
  this._inDecoding = true;
16423
16423
  this._decoderWorker.postMessage({
@@ -17478,11 +17478,11 @@ var TimeLine = /* @__PURE__ */ function(_EventEmitter) {
17478
17478
  return this.audioRender.buffered;
17479
17479
  return {
17480
17480
  length: this.audioRender.buffered.length,
17481
- start: function start(index2) {
17482
- return Math.max(_this3.audioRender.buffered.start(index2), _this3.videoRender.buffered.start(index2));
17481
+ start: function start(index) {
17482
+ return Math.max(_this3.audioRender.buffered.start(index), _this3.videoRender.buffered.start(index));
17483
17483
  },
17484
- end: function end(index2) {
17485
- return Math.min(_this3.audioRender.buffered.end(index2), _this3.videoRender.buffered.end(index2));
17484
+ end: function end(index) {
17485
+ return Math.min(_this3.audioRender.buffered.end(index), _this3.videoRender.buffered.end(index));
17486
17486
  }
17487
17487
  };
17488
17488
  }
@@ -17893,29 +17893,29 @@ var log = function(x) {
17893
17893
  return n;
17894
17894
  };
17895
17895
  var multiply = function(data2, n, c) {
17896
- var index2 = -1;
17896
+ var index = -1;
17897
17897
  var c2 = c;
17898
- while (++index2 < 6) {
17899
- c2 += n * data2[index2];
17900
- data2[index2] = c2 % 1e7;
17898
+ while (++index < 6) {
17899
+ c2 += n * data2[index];
17900
+ data2[index] = c2 % 1e7;
17901
17901
  c2 = floor(c2 / 1e7);
17902
17902
  }
17903
17903
  };
17904
17904
  var divide = function(data2, n) {
17905
- var index2 = 6;
17905
+ var index = 6;
17906
17906
  var c = 0;
17907
- while (--index2 >= 0) {
17908
- c += data2[index2];
17909
- data2[index2] = floor(c / n);
17907
+ while (--index >= 0) {
17908
+ c += data2[index];
17909
+ data2[index] = floor(c / n);
17910
17910
  c = c % n * 1e7;
17911
17911
  }
17912
17912
  };
17913
17913
  var dataToString = function(data2) {
17914
- var index2 = 6;
17914
+ var index = 6;
17915
17915
  var s = "";
17916
- while (--index2 >= 0) {
17917
- if (s !== "" || index2 === 0 || data2[index2] !== 0) {
17918
- var t = $String(data2[index2]);
17916
+ while (--index >= 0) {
17917
+ if (s !== "" || index === 0 || data2[index] !== 0) {
17918
+ var t = $String(data2[index]);
17919
17919
  s = s === "" ? t : s + repeat2("0", 7 - t.length) + t;
17920
17920
  }
17921
17921
  }
@@ -18998,8 +18998,8 @@ var XGVideo = /* @__PURE__ */ function(_Parent) {
18998
18998
  value: function dump() {
18999
18999
  var buffered = this.buffered;
19000
19000
  console.log(buffered);
19001
- return new Array(buffered.length).fill(0).map(function(_, index2) {
19002
- return [buffered.start(index2), buffered.end(index2)];
19001
+ return new Array(buffered.length).fill(0).map(function(_, index) {
19002
+ return [buffered.start(index), buffered.end(index)];
19003
19003
  });
19004
19004
  }
19005
19005
  }], [{
@@ -19089,7 +19089,9 @@ try {
19089
19089
  customElements.get(getEleName()) || customElements.define(getEleName(), XGVideo);
19090
19090
  } catch (e) {
19091
19091
  }
19092
- var index = { XGVideoPlugin: XGVideo };
19092
+ const DynamicModule = window["VePlayer"].DynamicModule;
19093
+ const __PLUGIN_NAME__ = DynamicModule.PluginXgvideo;
19093
19094
  export {
19094
- index as default
19095
+ XGVideo as XGVideoPlugin,
19096
+ __PLUGIN_NAME__
19095
19097
  };