@byteplus/veplayer-plugin 2.6.0 → 2.6.1-rc.0

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 (31) hide show
  1. package/esm/index.development.js +192 -164
  2. package/esm/index.production.js +2 -2
  3. package/esm/veplayer.plugin.abr.development.js +2 -1
  4. package/esm/veplayer.plugin.abr.production.js +1 -1
  5. package/esm/veplayer.plugin.drm.development.js +2 -1
  6. package/esm/veplayer.plugin.drm.production.js +1 -1
  7. package/esm/veplayer.plugin.flv.development.js +3 -2
  8. package/esm/veplayer.plugin.flv.production.js +1 -1
  9. package/esm/veplayer.plugin.hls.development.js +53 -15
  10. package/esm/veplayer.plugin.hls.production.js +1 -1
  11. package/esm/veplayer.plugin.mp4.development.js +115 -124
  12. package/esm/veplayer.plugin.mp4.production.js +1 -1
  13. package/esm/veplayer.plugin.rtm.development.js +3 -2
  14. package/esm/veplayer.plugin.rtm.production.js +1 -1
  15. package/esm/veplayer.plugin.shaka.development.js +2 -1
  16. package/esm/veplayer.plugin.shaka.production.js +1 -1
  17. package/package.json +1 -1
  18. package/umd/veplayer.plugin.abr.development.js +2 -1
  19. package/umd/veplayer.plugin.abr.production.js +1 -1
  20. package/umd/veplayer.plugin.drm.development.js +2 -1
  21. package/umd/veplayer.plugin.drm.production.js +1 -1
  22. package/umd/veplayer.plugin.flv.development.js +3 -2
  23. package/umd/veplayer.plugin.flv.production.js +1 -1
  24. package/umd/veplayer.plugin.hls.development.js +53 -15
  25. package/umd/veplayer.plugin.hls.production.js +1 -1
  26. package/umd/veplayer.plugin.mp4.development.js +115 -124
  27. package/umd/veplayer.plugin.mp4.production.js +1 -1
  28. package/umd/veplayer.plugin.rtm.development.js +3 -2
  29. package/umd/veplayer.plugin.rtm.production.js +1 -1
  30. package/umd/veplayer.plugin.shaka.development.js +2 -1
  31. package/umd/veplayer.plugin.shaka.production.js +1 -1
@@ -808,7 +808,7 @@
808
808
  var wellKnownSymbol$M = wellKnownSymbol$N;
809
809
  var $TypeError$w = TypeError;
810
810
  var TO_PRIMITIVE$1 = wellKnownSymbol$M("toPrimitive");
811
- var toPrimitive$7 = function(input, pref) {
811
+ var toPrimitive$8 = function(input, pref) {
812
812
  if (!isObject$I(input) || isSymbol$a(input))
813
813
  return input;
814
814
  var exoticToPrim = getMethod$9(input, TO_PRIMITIVE$1);
@@ -825,10 +825,10 @@
825
825
  pref = "number";
826
826
  return ordinaryToPrimitive$2(input, pref);
827
827
  };
828
- var toPrimitive$6 = toPrimitive$7;
828
+ var toPrimitive$7 = toPrimitive$8;
829
829
  var isSymbol$9 = isSymbol$b;
830
- var toPropertyKey$a = function(argument) {
831
- var key2 = toPrimitive$6(argument, "string");
830
+ var toPropertyKey$b = function(argument) {
831
+ var key2 = toPrimitive$7(argument, "string");
832
832
  return isSymbol$9(key2) ? key2 : key2 + "";
833
833
  };
834
834
  var global$1b = global$1h;
@@ -853,13 +853,13 @@
853
853
  var propertyIsEnumerableModule$3 = objectPropertyIsEnumerable$1;
854
854
  var createPropertyDescriptor$c = createPropertyDescriptor$d;
855
855
  var toIndexedObject$m = toIndexedObject$n;
856
- var toPropertyKey$9 = toPropertyKey$a;
856
+ var toPropertyKey$a = toPropertyKey$b;
857
857
  var hasOwn$B = hasOwnProperty_1$1;
858
858
  var IE8_DOM_DEFINE$3 = ie8DomDefine$1;
859
859
  var $getOwnPropertyDescriptor$4 = Object.getOwnPropertyDescriptor;
860
860
  objectGetOwnPropertyDescriptor$1.f = DESCRIPTORS$D ? $getOwnPropertyDescriptor$4 : function getOwnPropertyDescriptor2(O, P) {
861
861
  O = toIndexedObject$m(O);
862
- P = toPropertyKey$9(P);
862
+ P = toPropertyKey$a(P);
863
863
  if (IE8_DOM_DEFINE$3)
864
864
  try {
865
865
  return $getOwnPropertyDescriptor$4(O, P);
@@ -890,7 +890,7 @@
890
890
  var IE8_DOM_DEFINE$2 = ie8DomDefine$1;
891
891
  var V8_PROTOTYPE_DEFINE_BUG$3 = v8PrototypeDefineBug$1;
892
892
  var anObject$z = anObject$A;
893
- var toPropertyKey$8 = toPropertyKey$a;
893
+ var toPropertyKey$9 = toPropertyKey$b;
894
894
  var $TypeError$u = TypeError;
895
895
  var $defineProperty$2 = Object.defineProperty;
896
896
  var $getOwnPropertyDescriptor$3 = Object.getOwnPropertyDescriptor;
@@ -899,7 +899,7 @@
899
899
  var WRITABLE$1 = "writable";
900
900
  objectDefineProperty$1.f = DESCRIPTORS$B ? V8_PROTOTYPE_DEFINE_BUG$3 ? function defineProperty2(O, P, Attributes) {
901
901
  anObject$z(O);
902
- P = toPropertyKey$8(P);
902
+ P = toPropertyKey$9(P);
903
903
  anObject$z(Attributes);
904
904
  if (typeof O === "function" && P === "prototype" && "value" in Attributes && WRITABLE$1 in Attributes && !Attributes[WRITABLE$1]) {
905
905
  var current = $getOwnPropertyDescriptor$3(O, P);
@@ -915,7 +915,7 @@
915
915
  return $defineProperty$2(O, P, Attributes);
916
916
  } : $defineProperty$2 : function defineProperty2(O, P, Attributes) {
917
917
  anObject$z(O);
918
- P = toPropertyKey$8(P);
918
+ P = toPropertyKey$9(P);
919
919
  anObject$z(Attributes);
920
920
  if (IE8_DOM_DEFINE$2)
921
921
  try {
@@ -1585,11 +1585,11 @@
1585
1585
  throw $TypeError$s("Maximum allowed index exceeded");
1586
1586
  return it;
1587
1587
  };
1588
- var toPropertyKey$7 = toPropertyKey$a;
1588
+ var toPropertyKey$8 = toPropertyKey$b;
1589
1589
  var definePropertyModule$a = objectDefineProperty$1;
1590
1590
  var createPropertyDescriptor$a = createPropertyDescriptor$d;
1591
1591
  var createProperty$8 = function(object, key2, value2) {
1592
- var propertyKey = toPropertyKey$7(key2);
1592
+ var propertyKey = toPropertyKey$8(key2);
1593
1593
  if (propertyKey in object)
1594
1594
  definePropertyModule$a.f(object, propertyKey, createPropertyDescriptor$a(0, value2));
1595
1595
  else
@@ -3348,7 +3348,7 @@
3348
3348
  var inheritIfRequired$6 = inheritIfRequired$7;
3349
3349
  var isPrototypeOf$c = objectIsPrototypeOf$1;
3350
3350
  var isSymbol$7 = isSymbol$b;
3351
- var toPrimitive$5 = toPrimitive$7;
3351
+ var toPrimitive$6 = toPrimitive$8;
3352
3352
  var fails$16 = fails$1q;
3353
3353
  var getOwnPropertyNames$5 = objectGetOwnPropertyNames$1.f;
3354
3354
  var getOwnPropertyDescriptor$7 = objectGetOwnPropertyDescriptor$1.f;
@@ -3362,11 +3362,11 @@
3362
3362
  var arraySlice$g = uncurryThis$13("".slice);
3363
3363
  var charCodeAt$3 = uncurryThis$13("".charCodeAt);
3364
3364
  var toNumeric$1 = function(value2) {
3365
- var primValue = toPrimitive$5(value2, "number");
3365
+ var primValue = toPrimitive$6(value2, "number");
3366
3366
  return typeof primValue == "bigint" ? primValue : toNumber$1(primValue);
3367
3367
  };
3368
3368
  var toNumber$1 = function(argument) {
3369
- var it = toPrimitive$5(argument, "number");
3369
+ var it = toPrimitive$6(argument, "number");
3370
3370
  var first, third, radix, maxCode, digits, length, index, code;
3371
3371
  if (isSymbol$7(it))
3372
3372
  throw TypeError$9("Cannot convert a Symbol value to a number");
@@ -4746,7 +4746,7 @@
4746
4746
  }
4747
4747
  }
4748
4748
  };
4749
- var version$2 = "3.0.21-rc.5";
4749
+ var version$2 = "3.0.21-alpha.13";
4750
4750
  var ERROR_MAP = {
4751
4751
  1: 5101,
4752
4752
  2: 5102,
@@ -4923,8 +4923,9 @@
4923
4923
  if (index !== -1) {
4924
4924
  hooks.splice(index, 1);
4925
4925
  }
4926
+ } else if (__hooks[hookName]) {
4927
+ __hooks[hookName] = null;
4926
4928
  }
4927
- delete __hooks[hookName];
4928
4929
  }
4929
4930
  function hooksDescriptor(instance) {
4930
4931
  var presetHooks = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
@@ -7322,7 +7323,7 @@
7322
7323
  var wellKnownSymbol$r = wellKnownSymbol$s;
7323
7324
  var $TypeError$g = TypeError;
7324
7325
  var TO_PRIMITIVE = wellKnownSymbol$r("toPrimitive");
7325
- var toPrimitive$4 = function(input, pref) {
7326
+ var toPrimitive$5 = function(input, pref) {
7326
7327
  if (!isObject$s(input) || isSymbol$5(input))
7327
7328
  return input;
7328
7329
  var exoticToPrim = getMethod$5(input, TO_PRIMITIVE);
@@ -7339,10 +7340,10 @@
7339
7340
  pref = "number";
7340
7341
  return ordinaryToPrimitive(input, pref);
7341
7342
  };
7342
- var toPrimitive$3 = toPrimitive$4;
7343
+ var toPrimitive$4 = toPrimitive$5;
7343
7344
  var isSymbol$4 = isSymbol$6;
7344
- var toPropertyKey$6 = function(argument) {
7345
- var key2 = toPrimitive$3(argument, "string");
7345
+ var toPropertyKey$7 = function(argument) {
7346
+ var key2 = toPrimitive$4(argument, "string");
7346
7347
  return isSymbol$4(key2) ? key2 : key2 + "";
7347
7348
  };
7348
7349
  var global$L = global$S;
@@ -7367,13 +7368,13 @@
7367
7368
  var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
7368
7369
  var createPropertyDescriptor$6 = createPropertyDescriptor$7;
7369
7370
  var toIndexedObject$f = toIndexedObject$g;
7370
- var toPropertyKey$5 = toPropertyKey$6;
7371
+ var toPropertyKey$6 = toPropertyKey$7;
7371
7372
  var hasOwn$n = hasOwnProperty_1;
7372
7373
  var IE8_DOM_DEFINE$1 = ie8DomDefine;
7373
7374
  var $getOwnPropertyDescriptor$2 = Object.getOwnPropertyDescriptor;
7374
7375
  objectGetOwnPropertyDescriptor.f = DESCRIPTORS$n ? $getOwnPropertyDescriptor$2 : function getOwnPropertyDescriptor2(O, P) {
7375
7376
  O = toIndexedObject$f(O);
7376
- P = toPropertyKey$5(P);
7377
+ P = toPropertyKey$6(P);
7377
7378
  if (IE8_DOM_DEFINE$1)
7378
7379
  try {
7379
7380
  return $getOwnPropertyDescriptor$2(O, P);
@@ -7404,7 +7405,7 @@
7404
7405
  var IE8_DOM_DEFINE = ie8DomDefine;
7405
7406
  var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
7406
7407
  var anObject$m = anObject$n;
7407
- var toPropertyKey$4 = toPropertyKey$6;
7408
+ var toPropertyKey$5 = toPropertyKey$7;
7408
7409
  var $TypeError$e = TypeError;
7409
7410
  var $defineProperty$1 = Object.defineProperty;
7410
7411
  var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
@@ -7413,7 +7414,7 @@
7413
7414
  var WRITABLE = "writable";
7414
7415
  objectDefineProperty.f = DESCRIPTORS$l ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty2(O, P, Attributes) {
7415
7416
  anObject$m(O);
7416
- P = toPropertyKey$4(P);
7417
+ P = toPropertyKey$5(P);
7417
7418
  anObject$m(Attributes);
7418
7419
  if (typeof O === "function" && P === "prototype" && "value" in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
7419
7420
  var current = $getOwnPropertyDescriptor$1(O, P);
@@ -7429,7 +7430,7 @@
7429
7430
  return $defineProperty$1(O, P, Attributes);
7430
7431
  } : $defineProperty$1 : function defineProperty2(O, P, Attributes) {
7431
7432
  anObject$m(O);
7432
- P = toPropertyKey$4(P);
7433
+ P = toPropertyKey$5(P);
7433
7434
  anObject$m(Attributes);
7434
7435
  if (IE8_DOM_DEFINE)
7435
7436
  try {
@@ -7888,30 +7889,44 @@
7888
7889
  func.apply(context, args);
7889
7890
  };
7890
7891
  }
7891
- function _classCallCheck$4(instance, Constructor2) {
7892
- if (!(instance instanceof Constructor2)) {
7892
+ function _classCallCheck$4(a, n) {
7893
+ if (!(a instanceof n))
7893
7894
  throw new TypeError("Cannot call a class as a function");
7895
+ }
7896
+ function _typeof$2(o) {
7897
+ "@babel/helpers - typeof";
7898
+ return _typeof$2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
7899
+ return typeof o2;
7900
+ } : function(o2) {
7901
+ return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
7902
+ }, _typeof$2(o);
7903
+ }
7904
+ function toPrimitive$3(t, r) {
7905
+ if ("object" != _typeof$2(t) || !t)
7906
+ return t;
7907
+ var e = t[Symbol.toPrimitive];
7908
+ if (void 0 !== e) {
7909
+ var i = e.call(t, r || "default");
7910
+ if ("object" != _typeof$2(i))
7911
+ return i;
7912
+ throw new TypeError("@@toPrimitive must return a primitive value.");
7894
7913
  }
7914
+ return ("string" === r ? String : Number)(t);
7895
7915
  }
7896
- function _defineProperties$4(target, props) {
7897
- for (var i = 0; i < props.length; i++) {
7898
- var descriptor = props[i];
7899
- descriptor.enumerable = descriptor.enumerable || false;
7900
- descriptor.configurable = true;
7901
- if ("value" in descriptor)
7902
- descriptor.writable = true;
7903
- Object.defineProperty(target, descriptor.key, descriptor);
7916
+ function toPropertyKey$4(t) {
7917
+ var i = toPrimitive$3(t, "string");
7918
+ return "symbol" == _typeof$2(i) ? i : i + "";
7919
+ }
7920
+ function _defineProperties$4(e, r) {
7921
+ for (var t = 0; t < r.length; t++) {
7922
+ var o = r[t];
7923
+ o.enumerable = o.enumerable || false, o.configurable = true, "value" in o && (o.writable = true), Object.defineProperty(e, toPropertyKey$4(o.key), o);
7904
7924
  }
7905
7925
  }
7906
- function _createClass$4(Constructor2, protoProps, staticProps) {
7907
- if (protoProps)
7908
- _defineProperties$4(Constructor2.prototype, protoProps);
7909
- if (staticProps)
7910
- _defineProperties$4(Constructor2, staticProps);
7911
- Object.defineProperty(Constructor2, "prototype", {
7926
+ function _createClass$4(e, r, t) {
7927
+ return r && _defineProperties$4(e.prototype, r), t && _defineProperties$4(e, t), Object.defineProperty(e, "prototype", {
7912
7928
  writable: false
7913
- });
7914
- return Constructor2;
7929
+ }), e;
7915
7930
  }
7916
7931
  var wellKnownSymbol$q = wellKnownSymbol$s;
7917
7932
  var TO_STRING_TAG$5 = wellKnownSymbol$q("toStringTag");
@@ -9582,7 +9597,7 @@
9582
9597
  O[index++] = value2;
9583
9598
  return O;
9584
9599
  };
9585
- var toPropertyKey$3 = toPropertyKey$6;
9600
+ var toPropertyKey$3 = toPropertyKey$7;
9586
9601
  var definePropertyModule$3 = objectDefineProperty;
9587
9602
  var createPropertyDescriptor$3 = createPropertyDescriptor$7;
9588
9603
  var createProperty$2 = function(object, key2, value2) {
@@ -10113,7 +10128,7 @@
10113
10128
  var klass = classof$d(it);
10114
10129
  return klass == "BigInt64Array" || klass == "BigUint64Array";
10115
10130
  };
10116
- var toPrimitive$2 = toPrimitive$4;
10131
+ var toPrimitive$2 = toPrimitive$5;
10117
10132
  var $TypeError$6 = TypeError;
10118
10133
  var toBigInt$5 = function(argument) {
10119
10134
  var prim = toPrimitive$2(argument, "number");
@@ -10295,7 +10310,7 @@
10295
10310
  var toLength$b = toLength$g;
10296
10311
  var toIndex$3 = toIndex$5;
10297
10312
  var toOffset$4 = toOffset$5;
10298
- var toPropertyKey$2 = toPropertyKey$6;
10313
+ var toPropertyKey$2 = toPropertyKey$7;
10299
10314
  var hasOwn$c = hasOwnProperty_1;
10300
10315
  var classof$b = classof$k;
10301
10316
  var isObject$g = isObject$u;
@@ -12364,7 +12379,7 @@
12364
12379
  var isBigIntArray$1 = function(it) {
12365
12380
  return slice$1(classof$8(it), 0, 3) === "Big";
12366
12381
  };
12367
- var toPrimitive$1 = toPrimitive$7;
12382
+ var toPrimitive$1 = toPrimitive$8;
12368
12383
  var $TypeError$3 = TypeError;
12369
12384
  var toBigInt$2 = function(argument) {
12370
12385
  var prim = toPrimitive$1(argument, "number");
@@ -12425,7 +12440,7 @@
12425
12440
  var toLength$6 = toLength$i;
12426
12441
  var toIndex = toIndex$2;
12427
12442
  var toOffset$1 = toOffset$2;
12428
- var toPropertyKey$1 = toPropertyKey$a;
12443
+ var toPropertyKey$1 = toPropertyKey$b;
12429
12444
  var hasOwn$a = hasOwnProperty_1$1;
12430
12445
  var classof$7 = classof$s;
12431
12446
  var isObject$d = isObject$K;
@@ -21427,13 +21442,13 @@
21427
21442
  }
21428
21443
  }, exports2;
21429
21444
  }
21430
- function _typeof$2(obj) {
21445
+ function _typeof$1(obj) {
21431
21446
  "@babel/helpers - typeof";
21432
- return _typeof$2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
21447
+ return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
21433
21448
  return typeof obj2;
21434
21449
  } : function(obj2) {
21435
21450
  return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
21436
- }, _typeof$2(obj);
21451
+ }, _typeof$1(obj);
21437
21452
  }
21438
21453
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key2, arg) {
21439
21454
  try {
@@ -21899,7 +21914,7 @@
21899
21914
  });
21900
21915
  var toString$b = Object.prototype.toString;
21901
21916
  function isObject$8(a) {
21902
- return a !== null && _typeof$2(a) === "object";
21917
+ return a !== null && _typeof$1(a) === "object";
21903
21918
  }
21904
21919
  function isPlainObject(val) {
21905
21920
  if (toString$b.call(val) !== "[object Object]") {
@@ -29281,7 +29296,7 @@
29281
29296
  var isPrototypeOf$3 = objectIsPrototypeOf$1;
29282
29297
  var anObject$2 = anObject$A;
29283
29298
  var toIndexedObject$3 = toIndexedObject$n;
29284
- var toPropertyKey = toPropertyKey$a;
29299
+ var toPropertyKey = toPropertyKey$b;
29285
29300
  var $toString$1 = toString$t;
29286
29301
  var createPropertyDescriptor = createPropertyDescriptor$d;
29287
29302
  var nativeObjectCreate = objectCreate$1;
@@ -29768,13 +29783,13 @@
29768
29783
  DASH: "DASH",
29769
29784
  HLS: "HLS"
29770
29785
  };
29771
- function _typeof$1(obj) {
29786
+ function _typeof(obj) {
29772
29787
  "@babel/helpers - typeof";
29773
- return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
29788
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
29774
29789
  return typeof obj2;
29775
29790
  } : function(obj2) {
29776
29791
  return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
29777
- }, _typeof$1(obj);
29792
+ }, _typeof(obj);
29778
29793
  }
29779
29794
  function _classCallCheck(instance, Constructor2) {
29780
29795
  if (!(instance instanceof Constructor2)) {
@@ -30942,7 +30957,7 @@
30942
30957
  var storeName = options.storeName;
30943
30958
  var key2 = name + "_" + storeName;
30944
30959
  this.key = key2;
30945
- if (!window[key2] || _typeof$1(window[key2]) !== "object") {
30960
+ if (!window[key2] || _typeof(window[key2]) !== "object") {
30946
30961
  window[key2] = {};
30947
30962
  }
30948
30963
  this.store = window[key2];
@@ -33375,7 +33390,7 @@
33375
33390
  var inheritIfRequired = inheritIfRequired$5;
33376
33391
  var isPrototypeOf = objectIsPrototypeOf;
33377
33392
  var isSymbol = isSymbol$6;
33378
- var toPrimitive = toPrimitive$4;
33393
+ var toPrimitive = toPrimitive$5;
33379
33394
  var fails$6 = fails$13;
33380
33395
  var getOwnPropertyNames = objectGetOwnPropertyNames.f;
33381
33396
  var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
@@ -33764,92 +33779,68 @@
33764
33779
  return isObject$1(result) ? result : instance;
33765
33780
  }
33766
33781
  });
33767
- function _arrayLikeToArray(arr, len) {
33768
- if (len == null || len > arr.length)
33769
- len = arr.length;
33770
- for (var i = 0, arr2 = new Array(len); i < len; i++) {
33771
- arr2[i] = arr[i];
33772
- }
33773
- return arr2;
33782
+ function _arrayLikeToArray(r, a) {
33783
+ (null == a || a > r.length) && (a = r.length);
33784
+ for (var e = 0, n = Array(a); e < a; e++)
33785
+ n[e] = r[e];
33786
+ return n;
33774
33787
  }
33775
- function _arrayWithoutHoles(arr) {
33776
- if (Array.isArray(arr))
33777
- return _arrayLikeToArray(arr);
33788
+ function _arrayWithoutHoles(r) {
33789
+ if (Array.isArray(r))
33790
+ return _arrayLikeToArray(r);
33778
33791
  }
33779
- function _iterableToArray(iter) {
33780
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
33781
- return Array.from(iter);
33792
+ function _iterableToArray(r) {
33793
+ if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"])
33794
+ return Array.from(r);
33782
33795
  }
33783
- function _unsupportedIterableToArray(o, minLen) {
33784
- if (!o)
33785
- return;
33786
- if (typeof o === "string")
33787
- return _arrayLikeToArray(o, minLen);
33788
- var n = Object.prototype.toString.call(o).slice(8, -1);
33789
- if (n === "Object" && o.constructor)
33790
- n = o.constructor.name;
33791
- if (n === "Map" || n === "Set")
33792
- return Array.from(o);
33793
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
33794
- return _arrayLikeToArray(o, minLen);
33796
+ function _unsupportedIterableToArray(r, a) {
33797
+ if (r) {
33798
+ if ("string" == typeof r)
33799
+ return _arrayLikeToArray(r, a);
33800
+ var t = {}.toString.call(r).slice(8, -1);
33801
+ return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
33802
+ }
33795
33803
  }
33796
33804
  function _nonIterableSpread() {
33797
33805
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
33798
33806
  }
33799
- function _toConsumableArray(arr) {
33800
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
33807
+ function _toConsumableArray(r) {
33808
+ return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
33801
33809
  }
33802
- function _assertThisInitialized(self2) {
33803
- if (self2 === void 0) {
33810
+ function _assertThisInitialized(e) {
33811
+ if (void 0 === e)
33804
33812
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
33805
- }
33806
- return self2;
33813
+ return e;
33807
33814
  }
33808
- function _setPrototypeOf(o, p) {
33809
- _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o2, p2) {
33810
- o2.__proto__ = p2;
33811
- return o2;
33812
- };
33813
- return _setPrototypeOf(o, p);
33815
+ function _setPrototypeOf(t, e) {
33816
+ return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t2, e2) {
33817
+ return t2.__proto__ = e2, t2;
33818
+ }, _setPrototypeOf(t, e);
33814
33819
  }
33815
- function _inherits(subClass, superClass) {
33816
- if (typeof superClass !== "function" && superClass !== null) {
33820
+ function _inherits(t, e) {
33821
+ if ("function" != typeof e && null !== e)
33817
33822
  throw new TypeError("Super expression must either be null or a function");
33818
- }
33819
- subClass.prototype = Object.create(superClass && superClass.prototype, {
33823
+ t.prototype = Object.create(e && e.prototype, {
33820
33824
  constructor: {
33821
- value: subClass,
33825
+ value: t,
33822
33826
  writable: true,
33823
33827
  configurable: true
33824
33828
  }
33825
- });
33826
- Object.defineProperty(subClass, "prototype", {
33829
+ }), Object.defineProperty(t, "prototype", {
33827
33830
  writable: false
33828
- });
33829
- if (superClass)
33830
- _setPrototypeOf(subClass, superClass);
33831
+ }), e && _setPrototypeOf(t, e);
33831
33832
  }
33832
- function _typeof(obj) {
33833
- "@babel/helpers - typeof";
33834
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
33835
- return typeof obj2;
33836
- } : function(obj2) {
33837
- return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
33838
- }, _typeof(obj);
33839
- }
33840
- function _possibleConstructorReturn(self2, call2) {
33841
- if (call2 && (_typeof(call2) === "object" || typeof call2 === "function")) {
33842
- return call2;
33843
- } else if (call2 !== void 0) {
33833
+ function _possibleConstructorReturn(t, e) {
33834
+ if (e && ("object" == _typeof$2(e) || "function" == typeof e))
33835
+ return e;
33836
+ if (void 0 !== e)
33844
33837
  throw new TypeError("Derived constructors may only return object or undefined");
33845
- }
33846
- return _assertThisInitialized(self2);
33838
+ return _assertThisInitialized(t);
33847
33839
  }
33848
- function _getPrototypeOf(o) {
33849
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf2(o2) {
33850
- return o2.__proto__ || Object.getPrototypeOf(o2);
33851
- };
33852
- return _getPrototypeOf(o);
33840
+ function _getPrototypeOf(t) {
33841
+ return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t2) {
33842
+ return t2.__proto__ || Object.getPrototypeOf(t2);
33843
+ }, _getPrototypeOf(t);
33853
33844
  }
33854
33845
  var $$4 = _export;
33855
33846
  var toObject$1 = toObject$i;