@dereekb/model 12.6.21 → 12.7.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.
- package/index.cjs.js +81 -167
- package/index.esm.js +81 -167
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -589,7 +589,7 @@ var global$b =
|
|
|
589
589
|
|
|
590
590
|
var objectGetOwnPropertyDescriptor = {};
|
|
591
591
|
|
|
592
|
-
var fails$
|
|
592
|
+
var fails$b = function (exec) {
|
|
593
593
|
try {
|
|
594
594
|
return !!exec();
|
|
595
595
|
} catch (error) {
|
|
@@ -597,17 +597,17 @@ var fails$c = function (exec) {
|
|
|
597
597
|
}
|
|
598
598
|
};
|
|
599
599
|
|
|
600
|
-
var fails$
|
|
600
|
+
var fails$a = fails$b;
|
|
601
601
|
|
|
602
602
|
// Detect IE8's incomplete defineProperty implementation
|
|
603
|
-
var descriptors = !fails$
|
|
603
|
+
var descriptors = !fails$a(function () {
|
|
604
604
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
605
605
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
|
606
606
|
});
|
|
607
607
|
|
|
608
|
-
var fails$
|
|
608
|
+
var fails$9 = fails$b;
|
|
609
609
|
|
|
610
|
-
var functionBindNative = !fails$
|
|
610
|
+
var functionBindNative = !fails$9(function () {
|
|
611
611
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
612
612
|
var test = (function () { /* empty */ }).bind();
|
|
613
613
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
@@ -626,15 +626,15 @@ var objectPropertyIsEnumerable = {};
|
|
|
626
626
|
|
|
627
627
|
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
628
628
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
629
|
-
var getOwnPropertyDescriptor$
|
|
629
|
+
var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
630
630
|
|
|
631
631
|
// Nashorn ~ JDK8 bug
|
|
632
|
-
var NASHORN_BUG = getOwnPropertyDescriptor$
|
|
632
|
+
var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
|
|
633
633
|
|
|
634
634
|
// `Object.prototype.propertyIsEnumerable` method implementation
|
|
635
635
|
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
|
|
636
636
|
objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
637
|
-
var descriptor = getOwnPropertyDescriptor$
|
|
637
|
+
var descriptor = getOwnPropertyDescriptor$1(this, V);
|
|
638
638
|
return !!descriptor && descriptor.enumerable;
|
|
639
639
|
} : $propertyIsEnumerable;
|
|
640
640
|
|
|
@@ -669,19 +669,19 @@ var classofRaw = function (it) {
|
|
|
669
669
|
};
|
|
670
670
|
|
|
671
671
|
var uncurryThis$7 = functionUncurryThis;
|
|
672
|
-
var fails$
|
|
673
|
-
var classof
|
|
672
|
+
var fails$8 = fails$b;
|
|
673
|
+
var classof = classofRaw;
|
|
674
674
|
|
|
675
675
|
var $Object$3 = Object;
|
|
676
676
|
var split = uncurryThis$7(''.split);
|
|
677
677
|
|
|
678
678
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
679
|
-
var indexedObject = fails$
|
|
679
|
+
var indexedObject = fails$8(function () {
|
|
680
680
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
681
681
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
682
682
|
return !$Object$3('z').propertyIsEnumerable(0);
|
|
683
683
|
}) ? function (it) {
|
|
684
|
-
return classof
|
|
684
|
+
return classof(it) === 'String' ? split(it, '') : $Object$3(it);
|
|
685
685
|
} : $Object$3;
|
|
686
686
|
|
|
687
687
|
// we can't use just `it == null` since of `document.all` special case
|
|
@@ -692,12 +692,12 @@ var isNullOrUndefined$2 = function (it) {
|
|
|
692
692
|
|
|
693
693
|
var isNullOrUndefined$1 = isNullOrUndefined$2;
|
|
694
694
|
|
|
695
|
-
var $TypeError$
|
|
695
|
+
var $TypeError$7 = TypeError;
|
|
696
696
|
|
|
697
697
|
// `RequireObjectCoercible` abstract operation
|
|
698
698
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
699
699
|
var requireObjectCoercible$2 = function (it) {
|
|
700
|
-
if (isNullOrUndefined$1(it)) throw new $TypeError$
|
|
700
|
+
if (isNullOrUndefined$1(it)) throw new $TypeError$7("Can't call method on " + it);
|
|
701
701
|
return it;
|
|
702
702
|
};
|
|
703
703
|
|
|
@@ -774,13 +774,13 @@ var engineV8Version = version;
|
|
|
774
774
|
|
|
775
775
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
776
776
|
var V8_VERSION = engineV8Version;
|
|
777
|
-
var fails$
|
|
777
|
+
var fails$7 = fails$b;
|
|
778
778
|
var global$8 = global$b;
|
|
779
779
|
|
|
780
780
|
var $String$3 = global$8.String;
|
|
781
781
|
|
|
782
782
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
783
|
-
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$
|
|
783
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$7(function () {
|
|
784
784
|
var symbol = Symbol('symbol detection');
|
|
785
785
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
786
786
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
@@ -825,12 +825,12 @@ var tryToString$1 = function (argument) {
|
|
|
825
825
|
var isCallable$9 = isCallable$d;
|
|
826
826
|
var tryToString = tryToString$1;
|
|
827
827
|
|
|
828
|
-
var $TypeError$
|
|
828
|
+
var $TypeError$6 = TypeError;
|
|
829
829
|
|
|
830
830
|
// `Assert: IsCallable(argument) is true`
|
|
831
831
|
var aCallable$2 = function (argument) {
|
|
832
832
|
if (isCallable$9(argument)) return argument;
|
|
833
|
-
throw new $TypeError$
|
|
833
|
+
throw new $TypeError$6(tryToString(argument) + ' is not a function');
|
|
834
834
|
};
|
|
835
835
|
|
|
836
836
|
var aCallable$1 = aCallable$2;
|
|
@@ -847,7 +847,7 @@ var call$5 = functionCall;
|
|
|
847
847
|
var isCallable$8 = isCallable$d;
|
|
848
848
|
var isObject$5 = isObject$6;
|
|
849
849
|
|
|
850
|
-
var $TypeError$
|
|
850
|
+
var $TypeError$5 = TypeError;
|
|
851
851
|
|
|
852
852
|
// `OrdinaryToPrimitive` abstract operation
|
|
853
853
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
@@ -856,7 +856,7 @@ var ordinaryToPrimitive$1 = function (input, pref) {
|
|
|
856
856
|
if (pref === 'string' && isCallable$8(fn = input.toString) && !isObject$5(val = call$5(fn, input))) return val;
|
|
857
857
|
if (isCallable$8(fn = input.valueOf) && !isObject$5(val = call$5(fn, input))) return val;
|
|
858
858
|
if (pref !== 'string' && isCallable$8(fn = input.toString) && !isObject$5(val = call$5(fn, input))) return val;
|
|
859
|
-
throw new $TypeError$
|
|
859
|
+
throw new $TypeError$5("Can't convert object to primitive value");
|
|
860
860
|
};
|
|
861
861
|
|
|
862
862
|
var sharedStore = {exports: {}};
|
|
@@ -904,12 +904,12 @@ var $Object$1 = Object;
|
|
|
904
904
|
|
|
905
905
|
// `ToObject` abstract operation
|
|
906
906
|
// https://tc39.es/ecma262/#sec-toobject
|
|
907
|
-
var toObject$
|
|
907
|
+
var toObject$2 = function (argument) {
|
|
908
908
|
return $Object$1(requireObjectCoercible(argument));
|
|
909
909
|
};
|
|
910
910
|
|
|
911
911
|
var uncurryThis$5 = functionUncurryThis;
|
|
912
|
-
var toObject$
|
|
912
|
+
var toObject$1 = toObject$2;
|
|
913
913
|
|
|
914
914
|
var hasOwnProperty = uncurryThis$5({}.hasOwnProperty);
|
|
915
915
|
|
|
@@ -917,7 +917,7 @@ var hasOwnProperty = uncurryThis$5({}.hasOwnProperty);
|
|
|
917
917
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
918
918
|
// eslint-disable-next-line es/no-object-hasown -- safe
|
|
919
919
|
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
920
|
-
return hasOwnProperty(toObject$
|
|
920
|
+
return hasOwnProperty(toObject$1(it), key);
|
|
921
921
|
};
|
|
922
922
|
|
|
923
923
|
var uncurryThis$4 = functionUncurryThis;
|
|
@@ -956,7 +956,7 @@ var getMethod$2 = getMethod$3;
|
|
|
956
956
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
957
957
|
var wellKnownSymbol$3 = wellKnownSymbol$4;
|
|
958
958
|
|
|
959
|
-
var $TypeError$
|
|
959
|
+
var $TypeError$4 = TypeError;
|
|
960
960
|
var TO_PRIMITIVE = wellKnownSymbol$3('toPrimitive');
|
|
961
961
|
|
|
962
962
|
// `ToPrimitive` abstract operation
|
|
@@ -969,7 +969,7 @@ var toPrimitive$1 = function (input, pref) {
|
|
|
969
969
|
if (pref === undefined) pref = 'default';
|
|
970
970
|
result = call$4(exoticToPrim, input, pref);
|
|
971
971
|
if (!isObject$4(result) || isSymbol$1(result)) return result;
|
|
972
|
-
throw new $TypeError$
|
|
972
|
+
throw new $TypeError$4("Can't convert object to primitive value");
|
|
973
973
|
}
|
|
974
974
|
if (pref === undefined) pref = 'number';
|
|
975
975
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -996,19 +996,19 @@ var documentCreateElement$1 = function (it) {
|
|
|
996
996
|
return EXISTS$1 ? document$1.createElement(it) : {};
|
|
997
997
|
};
|
|
998
998
|
|
|
999
|
-
var DESCRIPTORS$
|
|
1000
|
-
var fails$
|
|
999
|
+
var DESCRIPTORS$9 = descriptors;
|
|
1000
|
+
var fails$6 = fails$b;
|
|
1001
1001
|
var createElement = documentCreateElement$1;
|
|
1002
1002
|
|
|
1003
1003
|
// Thanks to IE8 for its funny defineProperty
|
|
1004
|
-
var ie8DomDefine = !DESCRIPTORS$
|
|
1004
|
+
var ie8DomDefine = !DESCRIPTORS$9 && !fails$6(function () {
|
|
1005
1005
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
1006
1006
|
return Object.defineProperty(createElement('div'), 'a', {
|
|
1007
1007
|
get: function () { return 7; }
|
|
1008
1008
|
}).a !== 7;
|
|
1009
1009
|
});
|
|
1010
1010
|
|
|
1011
|
-
var DESCRIPTORS$
|
|
1011
|
+
var DESCRIPTORS$8 = descriptors;
|
|
1012
1012
|
var call$3 = functionCall;
|
|
1013
1013
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
1014
1014
|
var createPropertyDescriptor$2 = createPropertyDescriptor$3;
|
|
@@ -1022,7 +1022,7 @@ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
|
1022
1022
|
|
|
1023
1023
|
// `Object.getOwnPropertyDescriptor` method
|
|
1024
1024
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
1025
|
-
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$
|
|
1025
|
+
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$8 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
|
1026
1026
|
O = toIndexedObject$3(O);
|
|
1027
1027
|
P = toPropertyKey$1(P);
|
|
1028
1028
|
if (IE8_DOM_DEFINE$1) try {
|
|
@@ -1033,12 +1033,12 @@ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$9 ? $getOwnPropertyDescriptor$1 :
|
|
|
1033
1033
|
|
|
1034
1034
|
var objectDefineProperty = {};
|
|
1035
1035
|
|
|
1036
|
-
var DESCRIPTORS$
|
|
1037
|
-
var fails$
|
|
1036
|
+
var DESCRIPTORS$7 = descriptors;
|
|
1037
|
+
var fails$5 = fails$b;
|
|
1038
1038
|
|
|
1039
1039
|
// V8 ~ Chrome 36-
|
|
1040
1040
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
1041
|
-
var v8PrototypeDefineBug = DESCRIPTORS$
|
|
1041
|
+
var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$5(function () {
|
|
1042
1042
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
1043
1043
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
1044
1044
|
value: 42,
|
|
@@ -1049,21 +1049,21 @@ var v8PrototypeDefineBug = DESCRIPTORS$8 && fails$6(function () {
|
|
|
1049
1049
|
var isObject$2 = isObject$6;
|
|
1050
1050
|
|
|
1051
1051
|
var $String$1 = String;
|
|
1052
|
-
var $TypeError$
|
|
1052
|
+
var $TypeError$3 = TypeError;
|
|
1053
1053
|
|
|
1054
1054
|
// `Assert: Type(argument) is Object`
|
|
1055
1055
|
var anObject$8 = function (argument) {
|
|
1056
1056
|
if (isObject$2(argument)) return argument;
|
|
1057
|
-
throw new $TypeError$
|
|
1057
|
+
throw new $TypeError$3($String$1(argument) + ' is not an object');
|
|
1058
1058
|
};
|
|
1059
1059
|
|
|
1060
|
-
var DESCRIPTORS$
|
|
1060
|
+
var DESCRIPTORS$6 = descriptors;
|
|
1061
1061
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
1062
1062
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
1063
1063
|
var anObject$7 = anObject$8;
|
|
1064
1064
|
var toPropertyKey = toPropertyKey$2;
|
|
1065
1065
|
|
|
1066
|
-
var $TypeError$
|
|
1066
|
+
var $TypeError$2 = TypeError;
|
|
1067
1067
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
1068
1068
|
var $defineProperty = Object.defineProperty;
|
|
1069
1069
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -1074,7 +1074,7 @@ var WRITABLE = 'writable';
|
|
|
1074
1074
|
|
|
1075
1075
|
// `Object.defineProperty` method
|
|
1076
1076
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
1077
|
-
objectDefineProperty.f = DESCRIPTORS$
|
|
1077
|
+
objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
1078
1078
|
anObject$7(O);
|
|
1079
1079
|
P = toPropertyKey(P);
|
|
1080
1080
|
anObject$7(Attributes);
|
|
@@ -1096,16 +1096,16 @@ objectDefineProperty.f = DESCRIPTORS$7 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
1096
1096
|
if (IE8_DOM_DEFINE) try {
|
|
1097
1097
|
return $defineProperty(O, P, Attributes);
|
|
1098
1098
|
} catch (error) { /* empty */ }
|
|
1099
|
-
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$
|
|
1099
|
+
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$2('Accessors not supported');
|
|
1100
1100
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
1101
1101
|
return O;
|
|
1102
1102
|
};
|
|
1103
1103
|
|
|
1104
|
-
var DESCRIPTORS$
|
|
1104
|
+
var DESCRIPTORS$5 = descriptors;
|
|
1105
1105
|
var definePropertyModule$4 = objectDefineProperty;
|
|
1106
1106
|
var createPropertyDescriptor$1 = createPropertyDescriptor$3;
|
|
1107
1107
|
|
|
1108
|
-
var createNonEnumerableProperty$3 = DESCRIPTORS$
|
|
1108
|
+
var createNonEnumerableProperty$3 = DESCRIPTORS$5 ? function (object, key, value) {
|
|
1109
1109
|
return definePropertyModule$4.f(object, key, createPropertyDescriptor$1(1, value));
|
|
1110
1110
|
} : function (object, key, value) {
|
|
1111
1111
|
object[key] = value;
|
|
@@ -1114,17 +1114,17 @@ var createNonEnumerableProperty$3 = DESCRIPTORS$6 ? function (object, key, value
|
|
|
1114
1114
|
|
|
1115
1115
|
var makeBuiltIn$3 = {exports: {}};
|
|
1116
1116
|
|
|
1117
|
-
var DESCRIPTORS$
|
|
1117
|
+
var DESCRIPTORS$4 = descriptors;
|
|
1118
1118
|
var hasOwn$6 = hasOwnProperty_1;
|
|
1119
1119
|
|
|
1120
1120
|
var FunctionPrototype = Function.prototype;
|
|
1121
1121
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1122
|
-
var getDescriptor = DESCRIPTORS$
|
|
1122
|
+
var getDescriptor = DESCRIPTORS$4 && Object.getOwnPropertyDescriptor;
|
|
1123
1123
|
|
|
1124
1124
|
var EXISTS = hasOwn$6(FunctionPrototype, 'name');
|
|
1125
1125
|
// additional protection from minified / mangled / dropped function names
|
|
1126
1126
|
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
1127
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$
|
|
1127
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$4 || (DESCRIPTORS$4 && getDescriptor(FunctionPrototype, 'name').configurable));
|
|
1128
1128
|
|
|
1129
1129
|
var functionName = {
|
|
1130
1130
|
EXISTS: EXISTS,
|
|
@@ -1237,10 +1237,10 @@ var internalState = {
|
|
|
1237
1237
|
};
|
|
1238
1238
|
|
|
1239
1239
|
var uncurryThis$2 = functionUncurryThis;
|
|
1240
|
-
var fails$
|
|
1240
|
+
var fails$4 = fails$b;
|
|
1241
1241
|
var isCallable$5 = isCallable$d;
|
|
1242
1242
|
var hasOwn$4 = hasOwnProperty_1;
|
|
1243
|
-
var DESCRIPTORS$
|
|
1243
|
+
var DESCRIPTORS$3 = descriptors;
|
|
1244
1244
|
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
|
1245
1245
|
var inspectSource = inspectSource$1;
|
|
1246
1246
|
var InternalStateModule$1 = internalState;
|
|
@@ -1254,7 +1254,7 @@ var stringSlice = uncurryThis$2(''.slice);
|
|
|
1254
1254
|
var replace = uncurryThis$2(''.replace);
|
|
1255
1255
|
var join = uncurryThis$2([].join);
|
|
1256
1256
|
|
|
1257
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$
|
|
1257
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS$3 && !fails$4(function () {
|
|
1258
1258
|
return defineProperty$1(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
1259
1259
|
});
|
|
1260
1260
|
|
|
@@ -1267,7 +1267,7 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
|
1267
1267
|
if (options && options.getter) name = 'get ' + name;
|
|
1268
1268
|
if (options && options.setter) name = 'set ' + name;
|
|
1269
1269
|
if (!hasOwn$4(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
|
1270
|
-
if (DESCRIPTORS$
|
|
1270
|
+
if (DESCRIPTORS$3) defineProperty$1(value, 'name', { value: name, configurable: true });
|
|
1271
1271
|
else value.name = name;
|
|
1272
1272
|
}
|
|
1273
1273
|
if (CONFIGURABLE_LENGTH && options && hasOwn$4(options, 'arity') && value.length !== options.arity) {
|
|
@@ -1275,7 +1275,7 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
|
1275
1275
|
}
|
|
1276
1276
|
try {
|
|
1277
1277
|
if (options && hasOwn$4(options, 'constructor') && options.constructor) {
|
|
1278
|
-
if (DESCRIPTORS$
|
|
1278
|
+
if (DESCRIPTORS$3) defineProperty$1(value, 'prototype', { writable: false });
|
|
1279
1279
|
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
1280
1280
|
} else if (value.prototype) value.prototype = undefined;
|
|
1281
1281
|
} catch (error) { /* empty */ }
|
|
@@ -1372,19 +1372,19 @@ var toLength = toLength$1;
|
|
|
1372
1372
|
|
|
1373
1373
|
// `LengthOfArrayLike` abstract operation
|
|
1374
1374
|
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
|
1375
|
-
var lengthOfArrayLike$
|
|
1375
|
+
var lengthOfArrayLike$1 = function (obj) {
|
|
1376
1376
|
return toLength(obj.length);
|
|
1377
1377
|
};
|
|
1378
1378
|
|
|
1379
1379
|
var toIndexedObject$2 = toIndexedObject$4;
|
|
1380
1380
|
var toAbsoluteIndex = toAbsoluteIndex$1;
|
|
1381
|
-
var lengthOfArrayLike
|
|
1381
|
+
var lengthOfArrayLike = lengthOfArrayLike$1;
|
|
1382
1382
|
|
|
1383
1383
|
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
1384
1384
|
var createMethod = function (IS_INCLUDES) {
|
|
1385
1385
|
return function ($this, el, fromIndex) {
|
|
1386
1386
|
var O = toIndexedObject$2($this);
|
|
1387
|
-
var length = lengthOfArrayLike
|
|
1387
|
+
var length = lengthOfArrayLike(O);
|
|
1388
1388
|
if (length === 0) return !IS_INCLUDES && -1;
|
|
1389
1389
|
var index = toAbsoluteIndex(fromIndex, length);
|
|
1390
1390
|
var value;
|
|
@@ -1491,7 +1491,7 @@ var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
|
1491
1491
|
}
|
|
1492
1492
|
};
|
|
1493
1493
|
|
|
1494
|
-
var fails$
|
|
1494
|
+
var fails$3 = fails$b;
|
|
1495
1495
|
var isCallable$3 = isCallable$d;
|
|
1496
1496
|
|
|
1497
1497
|
var replacement = /#|\.prototype\./;
|
|
@@ -1500,7 +1500,7 @@ var isForced$1 = function (feature, detection) {
|
|
|
1500
1500
|
var value = data[normalize(feature)];
|
|
1501
1501
|
return value === POLYFILL ? true
|
|
1502
1502
|
: value === NATIVE ? false
|
|
1503
|
-
: isCallable$3(detection) ? fails$
|
|
1503
|
+
: isCallable$3(detection) ? fails$3(detection)
|
|
1504
1504
|
: !!detection;
|
|
1505
1505
|
};
|
|
1506
1506
|
|
|
@@ -1515,7 +1515,7 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
|
|
|
1515
1515
|
var isForced_1 = isForced$1;
|
|
1516
1516
|
|
|
1517
1517
|
var global$2 = global$b;
|
|
1518
|
-
var getOwnPropertyDescriptor
|
|
1518
|
+
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
1519
1519
|
var createNonEnumerableProperty$1 = createNonEnumerableProperty$3;
|
|
1520
1520
|
var defineBuiltIn$2 = defineBuiltIn$3;
|
|
1521
1521
|
var defineGlobalProperty = defineGlobalProperty$3;
|
|
@@ -1552,7 +1552,7 @@ var _export = function (options, source) {
|
|
|
1552
1552
|
if (target) for (key in source) {
|
|
1553
1553
|
sourceProperty = source[key];
|
|
1554
1554
|
if (options.dontCallGetSet) {
|
|
1555
|
-
descriptor = getOwnPropertyDescriptor
|
|
1555
|
+
descriptor = getOwnPropertyDescriptor(target, key);
|
|
1556
1556
|
targetProperty = descriptor && descriptor.value;
|
|
1557
1557
|
} else targetProperty = target[key];
|
|
1558
1558
|
FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
|
|
@@ -1571,16 +1571,16 @@ var _export = function (options, source) {
|
|
|
1571
1571
|
|
|
1572
1572
|
var isPrototypeOf = objectIsPrototypeOf;
|
|
1573
1573
|
|
|
1574
|
-
var $TypeError$
|
|
1574
|
+
var $TypeError$1 = TypeError;
|
|
1575
1575
|
|
|
1576
1576
|
var anInstance$1 = function (it, Prototype) {
|
|
1577
1577
|
if (isPrototypeOf(Prototype, it)) return it;
|
|
1578
|
-
throw new $TypeError$
|
|
1578
|
+
throw new $TypeError$1('Incorrect invocation');
|
|
1579
1579
|
};
|
|
1580
1580
|
|
|
1581
|
-
var fails$
|
|
1581
|
+
var fails$2 = fails$b;
|
|
1582
1582
|
|
|
1583
|
-
var correctPrototypeGetter = !fails$
|
|
1583
|
+
var correctPrototypeGetter = !fails$2(function () {
|
|
1584
1584
|
function F() { /* empty */ }
|
|
1585
1585
|
F.prototype.constructor = null;
|
|
1586
1586
|
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
@@ -1589,7 +1589,7 @@ var correctPrototypeGetter = !fails$3(function () {
|
|
|
1589
1589
|
|
|
1590
1590
|
var hasOwn$1 = hasOwnProperty_1;
|
|
1591
1591
|
var isCallable$2 = isCallable$d;
|
|
1592
|
-
var toObject
|
|
1592
|
+
var toObject = toObject$2;
|
|
1593
1593
|
var sharedKey$1 = sharedKey$3;
|
|
1594
1594
|
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
1595
1595
|
|
|
@@ -1601,7 +1601,7 @@ var ObjectPrototype = $Object.prototype;
|
|
|
1601
1601
|
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
1602
1602
|
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
1603
1603
|
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
|
|
1604
|
-
var object = toObject
|
|
1604
|
+
var object = toObject(O);
|
|
1605
1605
|
if (hasOwn$1(object, IE_PROTO$1)) return object[IE_PROTO$1];
|
|
1606
1606
|
var constructor = object.constructor;
|
|
1607
1607
|
if (isCallable$2(constructor) && object instanceof constructor) {
|
|
@@ -1618,12 +1618,12 @@ var defineBuiltInAccessor$1 = function (target, name, descriptor) {
|
|
|
1618
1618
|
return defineProperty.f(target, name, descriptor);
|
|
1619
1619
|
};
|
|
1620
1620
|
|
|
1621
|
-
var DESCRIPTORS$
|
|
1621
|
+
var DESCRIPTORS$2 = descriptors;
|
|
1622
1622
|
var definePropertyModule$1 = objectDefineProperty;
|
|
1623
1623
|
var createPropertyDescriptor = createPropertyDescriptor$3;
|
|
1624
1624
|
|
|
1625
1625
|
var createProperty$1 = function (object, key, value) {
|
|
1626
|
-
if (DESCRIPTORS$
|
|
1626
|
+
if (DESCRIPTORS$2) definePropertyModule$1.f(object, key, createPropertyDescriptor(0, value));
|
|
1627
1627
|
else object[key] = value;
|
|
1628
1628
|
};
|
|
1629
1629
|
|
|
@@ -1639,7 +1639,7 @@ var objectKeys$1 = Object.keys || function keys(O) {
|
|
|
1639
1639
|
return internalObjectKeys(O, enumBugKeys$1);
|
|
1640
1640
|
};
|
|
1641
1641
|
|
|
1642
|
-
var DESCRIPTORS$
|
|
1642
|
+
var DESCRIPTORS$1 = descriptors;
|
|
1643
1643
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
1644
1644
|
var definePropertyModule = objectDefineProperty;
|
|
1645
1645
|
var anObject$5 = anObject$8;
|
|
@@ -1649,7 +1649,7 @@ var objectKeys = objectKeys$1;
|
|
|
1649
1649
|
// `Object.defineProperties` method
|
|
1650
1650
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
1651
1651
|
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
1652
|
-
objectDefineProperties.f = DESCRIPTORS$
|
|
1652
|
+
objectDefineProperties.f = DESCRIPTORS$1 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
1653
1653
|
anObject$5(O);
|
|
1654
1654
|
var props = toIndexedObject(Properties);
|
|
1655
1655
|
var keys = objectKeys(Properties);
|
|
@@ -1748,7 +1748,7 @@ var objectCreate = Object.create || function create(O, Properties) {
|
|
|
1748
1748
|
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
1749
1749
|
};
|
|
1750
1750
|
|
|
1751
|
-
var fails$
|
|
1751
|
+
var fails$1 = fails$b;
|
|
1752
1752
|
var isCallable$1 = isCallable$d;
|
|
1753
1753
|
var isObject = isObject$6;
|
|
1754
1754
|
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
@@ -1773,7 +1773,7 @@ if ([].keys) {
|
|
|
1773
1773
|
}
|
|
1774
1774
|
}
|
|
1775
1775
|
|
|
1776
|
-
var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype$2) || fails$
|
|
1776
|
+
var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype$2) || fails$1(function () {
|
|
1777
1777
|
var test = {};
|
|
1778
1778
|
// FF44- legacy iterators case
|
|
1779
1779
|
return IteratorPrototype$2[ITERATOR$1].call(test) !== test;
|
|
@@ -1794,7 +1794,7 @@ var iteratorsCore = {
|
|
|
1794
1794
|
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS
|
|
1795
1795
|
};
|
|
1796
1796
|
|
|
1797
|
-
var $$
|
|
1797
|
+
var $$1 = _export;
|
|
1798
1798
|
var global$1 = global$b;
|
|
1799
1799
|
var anInstance = anInstance$1;
|
|
1800
1800
|
var anObject$3 = anObject$8;
|
|
@@ -1802,32 +1802,32 @@ var isCallable = isCallable$d;
|
|
|
1802
1802
|
var getPrototypeOf = objectGetPrototypeOf;
|
|
1803
1803
|
var defineBuiltInAccessor = defineBuiltInAccessor$1;
|
|
1804
1804
|
var createProperty = createProperty$1;
|
|
1805
|
-
var fails
|
|
1805
|
+
var fails = fails$b;
|
|
1806
1806
|
var hasOwn = hasOwnProperty_1;
|
|
1807
1807
|
var wellKnownSymbol$1 = wellKnownSymbol$4;
|
|
1808
1808
|
var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
|
|
1809
|
-
var DESCRIPTORS
|
|
1809
|
+
var DESCRIPTORS = descriptors;
|
|
1810
1810
|
|
|
1811
1811
|
var CONSTRUCTOR = 'constructor';
|
|
1812
1812
|
var ITERATOR = 'Iterator';
|
|
1813
1813
|
var TO_STRING_TAG$1 = wellKnownSymbol$1('toStringTag');
|
|
1814
1814
|
|
|
1815
|
-
var $TypeError
|
|
1815
|
+
var $TypeError = TypeError;
|
|
1816
1816
|
var NativeIterator = global$1[ITERATOR];
|
|
1817
1817
|
|
|
1818
1818
|
// FF56- have non-standard global helper `Iterator`
|
|
1819
|
-
var FORCED
|
|
1819
|
+
var FORCED = !isCallable(NativeIterator)
|
|
1820
1820
|
|| NativeIterator.prototype !== IteratorPrototype$1
|
|
1821
1821
|
// FF44- non-standard `Iterator` passes previous tests
|
|
1822
|
-
|| !fails
|
|
1822
|
+
|| !fails(function () { NativeIterator({}); });
|
|
1823
1823
|
|
|
1824
1824
|
var IteratorConstructor = function Iterator() {
|
|
1825
1825
|
anInstance(this, IteratorPrototype$1);
|
|
1826
|
-
if (getPrototypeOf(this) === IteratorPrototype$1) throw new $TypeError
|
|
1826
|
+
if (getPrototypeOf(this) === IteratorPrototype$1) throw new $TypeError('Abstract class Iterator not directly constructable');
|
|
1827
1827
|
};
|
|
1828
1828
|
|
|
1829
1829
|
var defineIteratorPrototypeAccessor = function (key, value) {
|
|
1830
|
-
if (DESCRIPTORS
|
|
1830
|
+
if (DESCRIPTORS) {
|
|
1831
1831
|
defineBuiltInAccessor(IteratorPrototype$1, key, {
|
|
1832
1832
|
configurable: true,
|
|
1833
1833
|
get: function () {
|
|
@@ -1835,7 +1835,7 @@ var defineIteratorPrototypeAccessor = function (key, value) {
|
|
|
1835
1835
|
},
|
|
1836
1836
|
set: function (replacement) {
|
|
1837
1837
|
anObject$3(this);
|
|
1838
|
-
if (this === IteratorPrototype$1) throw new $TypeError
|
|
1838
|
+
if (this === IteratorPrototype$1) throw new $TypeError("You can't redefine this property");
|
|
1839
1839
|
if (hasOwn(this, key)) this[key] = replacement;
|
|
1840
1840
|
else createProperty(this, key, replacement);
|
|
1841
1841
|
}
|
|
@@ -1845,7 +1845,7 @@ var defineIteratorPrototypeAccessor = function (key, value) {
|
|
|
1845
1845
|
|
|
1846
1846
|
if (!hasOwn(IteratorPrototype$1, TO_STRING_TAG$1)) defineIteratorPrototypeAccessor(TO_STRING_TAG$1, ITERATOR);
|
|
1847
1847
|
|
|
1848
|
-
if (FORCED
|
|
1848
|
+
if (FORCED || !hasOwn(IteratorPrototype$1, CONSTRUCTOR) || IteratorPrototype$1[CONSTRUCTOR] === Object) {
|
|
1849
1849
|
defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
|
|
1850
1850
|
}
|
|
1851
1851
|
|
|
@@ -1853,7 +1853,7 @@ IteratorConstructor.prototype = IteratorPrototype$1;
|
|
|
1853
1853
|
|
|
1854
1854
|
// `Iterator` constructor
|
|
1855
1855
|
// https://github.com/tc39/proposal-iterator-helpers
|
|
1856
|
-
$$
|
|
1856
|
+
$$1({ global: true, constructor: true, forced: FORCED }, {
|
|
1857
1857
|
Iterator: IteratorConstructor
|
|
1858
1858
|
});
|
|
1859
1859
|
|
|
@@ -2016,13 +2016,13 @@ var iteratorMap = function map(mapper) {
|
|
|
2016
2016
|
});
|
|
2017
2017
|
};
|
|
2018
2018
|
|
|
2019
|
-
var
|
|
2019
|
+
var $ = _export;
|
|
2020
2020
|
var map = iteratorMap;
|
|
2021
2021
|
var IS_PURE = isPure;
|
|
2022
2022
|
|
|
2023
2023
|
// `Iterator.prototype.map` method
|
|
2024
2024
|
// https://github.com/tc39/proposal-iterator-helpers
|
|
2025
|
-
|
|
2025
|
+
$({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, {
|
|
2026
2026
|
map: map
|
|
2027
2027
|
});
|
|
2028
2028
|
|
|
@@ -2244,92 +2244,6 @@ function syncEntitySynchronizer(config) {
|
|
|
2244
2244
|
};
|
|
2245
2245
|
}
|
|
2246
2246
|
|
|
2247
|
-
var classof = classofRaw;
|
|
2248
|
-
|
|
2249
|
-
// `IsArray` abstract operation
|
|
2250
|
-
// https://tc39.es/ecma262/#sec-isarray
|
|
2251
|
-
// eslint-disable-next-line es/no-array-isarray -- safe
|
|
2252
|
-
var isArray$1 = Array.isArray || function isArray(argument) {
|
|
2253
|
-
return classof(argument) === 'Array';
|
|
2254
|
-
};
|
|
2255
|
-
|
|
2256
|
-
var DESCRIPTORS = descriptors;
|
|
2257
|
-
var isArray = isArray$1;
|
|
2258
|
-
|
|
2259
|
-
var $TypeError$1 = TypeError;
|
|
2260
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
2261
|
-
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
2262
|
-
|
|
2263
|
-
// Safari < 13 does not throw an error in this case
|
|
2264
|
-
var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {
|
|
2265
|
-
// makes no sense without proper strict mode support
|
|
2266
|
-
if (this !== undefined) return true;
|
|
2267
|
-
try {
|
|
2268
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
2269
|
-
Object.defineProperty([], 'length', { writable: false }).length = 1;
|
|
2270
|
-
} catch (error) {
|
|
2271
|
-
return error instanceof TypeError;
|
|
2272
|
-
}
|
|
2273
|
-
}();
|
|
2274
|
-
|
|
2275
|
-
var arraySetLength = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
|
|
2276
|
-
if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
|
|
2277
|
-
throw new $TypeError$1('Cannot set read only .length');
|
|
2278
|
-
} return O.length = length;
|
|
2279
|
-
} : function (O, length) {
|
|
2280
|
-
return O.length = length;
|
|
2281
|
-
};
|
|
2282
|
-
|
|
2283
|
-
var $TypeError = TypeError;
|
|
2284
|
-
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
|
|
2285
|
-
|
|
2286
|
-
var doesNotExceedSafeInteger$1 = function (it) {
|
|
2287
|
-
if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');
|
|
2288
|
-
return it;
|
|
2289
|
-
};
|
|
2290
|
-
|
|
2291
|
-
var $ = _export;
|
|
2292
|
-
var toObject = toObject$3;
|
|
2293
|
-
var lengthOfArrayLike = lengthOfArrayLike$2;
|
|
2294
|
-
var setArrayLength = arraySetLength;
|
|
2295
|
-
var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;
|
|
2296
|
-
var fails = fails$c;
|
|
2297
|
-
|
|
2298
|
-
var INCORRECT_TO_LENGTH = fails(function () {
|
|
2299
|
-
return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
|
|
2300
|
-
});
|
|
2301
|
-
|
|
2302
|
-
// V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError
|
|
2303
|
-
// https://bugs.chromium.org/p/v8/issues/detail?id=12681
|
|
2304
|
-
var properErrorOnNonWritableLength = function () {
|
|
2305
|
-
try {
|
|
2306
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
2307
|
-
Object.defineProperty([], 'length', { writable: false }).push();
|
|
2308
|
-
} catch (error) {
|
|
2309
|
-
return error instanceof TypeError;
|
|
2310
|
-
}
|
|
2311
|
-
};
|
|
2312
|
-
|
|
2313
|
-
var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
|
|
2314
|
-
|
|
2315
|
-
// `Array.prototype.push` method
|
|
2316
|
-
// https://tc39.es/ecma262/#sec-array.prototype.push
|
|
2317
|
-
$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
|
|
2318
|
-
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
2319
|
-
push: function push(item) {
|
|
2320
|
-
var O = toObject(this);
|
|
2321
|
-
var len = lengthOfArrayLike(O);
|
|
2322
|
-
var argCount = arguments.length;
|
|
2323
|
-
doesNotExceedSafeInteger(len + argCount);
|
|
2324
|
-
for (var i = 0; i < argCount; i++) {
|
|
2325
|
-
O[len] = arguments[i];
|
|
2326
|
-
len++;
|
|
2327
|
-
}
|
|
2328
|
-
setArrayLength(O, len);
|
|
2329
|
-
return len;
|
|
2330
|
-
}
|
|
2331
|
-
});
|
|
2332
|
-
|
|
2333
2247
|
function basicSyncEntityCommonTypeSynchronizerInstanceFactory(config) {
|
|
2334
2248
|
const {
|
|
2335
2249
|
commonType,
|
package/index.esm.js
CHANGED
|
@@ -587,7 +587,7 @@ var global$b =
|
|
|
587
587
|
|
|
588
588
|
var objectGetOwnPropertyDescriptor = {};
|
|
589
589
|
|
|
590
|
-
var fails$
|
|
590
|
+
var fails$b = function (exec) {
|
|
591
591
|
try {
|
|
592
592
|
return !!exec();
|
|
593
593
|
} catch (error) {
|
|
@@ -595,17 +595,17 @@ var fails$c = function (exec) {
|
|
|
595
595
|
}
|
|
596
596
|
};
|
|
597
597
|
|
|
598
|
-
var fails$
|
|
598
|
+
var fails$a = fails$b;
|
|
599
599
|
|
|
600
600
|
// Detect IE8's incomplete defineProperty implementation
|
|
601
|
-
var descriptors = !fails$
|
|
601
|
+
var descriptors = !fails$a(function () {
|
|
602
602
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
603
603
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
|
604
604
|
});
|
|
605
605
|
|
|
606
|
-
var fails$
|
|
606
|
+
var fails$9 = fails$b;
|
|
607
607
|
|
|
608
|
-
var functionBindNative = !fails$
|
|
608
|
+
var functionBindNative = !fails$9(function () {
|
|
609
609
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
610
610
|
var test = (function () { /* empty */ }).bind();
|
|
611
611
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
@@ -624,15 +624,15 @@ var objectPropertyIsEnumerable = {};
|
|
|
624
624
|
|
|
625
625
|
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
626
626
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
627
|
-
var getOwnPropertyDescriptor$
|
|
627
|
+
var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
628
628
|
|
|
629
629
|
// Nashorn ~ JDK8 bug
|
|
630
|
-
var NASHORN_BUG = getOwnPropertyDescriptor$
|
|
630
|
+
var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
|
|
631
631
|
|
|
632
632
|
// `Object.prototype.propertyIsEnumerable` method implementation
|
|
633
633
|
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
|
|
634
634
|
objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
635
|
-
var descriptor = getOwnPropertyDescriptor$
|
|
635
|
+
var descriptor = getOwnPropertyDescriptor$1(this, V);
|
|
636
636
|
return !!descriptor && descriptor.enumerable;
|
|
637
637
|
} : $propertyIsEnumerable;
|
|
638
638
|
|
|
@@ -667,19 +667,19 @@ var classofRaw = function (it) {
|
|
|
667
667
|
};
|
|
668
668
|
|
|
669
669
|
var uncurryThis$7 = functionUncurryThis;
|
|
670
|
-
var fails$
|
|
671
|
-
var classof
|
|
670
|
+
var fails$8 = fails$b;
|
|
671
|
+
var classof = classofRaw;
|
|
672
672
|
|
|
673
673
|
var $Object$3 = Object;
|
|
674
674
|
var split = uncurryThis$7(''.split);
|
|
675
675
|
|
|
676
676
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
677
|
-
var indexedObject = fails$
|
|
677
|
+
var indexedObject = fails$8(function () {
|
|
678
678
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
679
679
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
680
680
|
return !$Object$3('z').propertyIsEnumerable(0);
|
|
681
681
|
}) ? function (it) {
|
|
682
|
-
return classof
|
|
682
|
+
return classof(it) === 'String' ? split(it, '') : $Object$3(it);
|
|
683
683
|
} : $Object$3;
|
|
684
684
|
|
|
685
685
|
// we can't use just `it == null` since of `document.all` special case
|
|
@@ -690,12 +690,12 @@ var isNullOrUndefined$2 = function (it) {
|
|
|
690
690
|
|
|
691
691
|
var isNullOrUndefined$1 = isNullOrUndefined$2;
|
|
692
692
|
|
|
693
|
-
var $TypeError$
|
|
693
|
+
var $TypeError$7 = TypeError;
|
|
694
694
|
|
|
695
695
|
// `RequireObjectCoercible` abstract operation
|
|
696
696
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
697
697
|
var requireObjectCoercible$2 = function (it) {
|
|
698
|
-
if (isNullOrUndefined$1(it)) throw new $TypeError$
|
|
698
|
+
if (isNullOrUndefined$1(it)) throw new $TypeError$7("Can't call method on " + it);
|
|
699
699
|
return it;
|
|
700
700
|
};
|
|
701
701
|
|
|
@@ -772,13 +772,13 @@ var engineV8Version = version;
|
|
|
772
772
|
|
|
773
773
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
774
774
|
var V8_VERSION = engineV8Version;
|
|
775
|
-
var fails$
|
|
775
|
+
var fails$7 = fails$b;
|
|
776
776
|
var global$8 = global$b;
|
|
777
777
|
|
|
778
778
|
var $String$3 = global$8.String;
|
|
779
779
|
|
|
780
780
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
781
|
-
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$
|
|
781
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$7(function () {
|
|
782
782
|
var symbol = Symbol('symbol detection');
|
|
783
783
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
784
784
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
@@ -823,12 +823,12 @@ var tryToString$1 = function (argument) {
|
|
|
823
823
|
var isCallable$9 = isCallable$d;
|
|
824
824
|
var tryToString = tryToString$1;
|
|
825
825
|
|
|
826
|
-
var $TypeError$
|
|
826
|
+
var $TypeError$6 = TypeError;
|
|
827
827
|
|
|
828
828
|
// `Assert: IsCallable(argument) is true`
|
|
829
829
|
var aCallable$2 = function (argument) {
|
|
830
830
|
if (isCallable$9(argument)) return argument;
|
|
831
|
-
throw new $TypeError$
|
|
831
|
+
throw new $TypeError$6(tryToString(argument) + ' is not a function');
|
|
832
832
|
};
|
|
833
833
|
|
|
834
834
|
var aCallable$1 = aCallable$2;
|
|
@@ -845,7 +845,7 @@ var call$5 = functionCall;
|
|
|
845
845
|
var isCallable$8 = isCallable$d;
|
|
846
846
|
var isObject$5 = isObject$6;
|
|
847
847
|
|
|
848
|
-
var $TypeError$
|
|
848
|
+
var $TypeError$5 = TypeError;
|
|
849
849
|
|
|
850
850
|
// `OrdinaryToPrimitive` abstract operation
|
|
851
851
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
@@ -854,7 +854,7 @@ var ordinaryToPrimitive$1 = function (input, pref) {
|
|
|
854
854
|
if (pref === 'string' && isCallable$8(fn = input.toString) && !isObject$5(val = call$5(fn, input))) return val;
|
|
855
855
|
if (isCallable$8(fn = input.valueOf) && !isObject$5(val = call$5(fn, input))) return val;
|
|
856
856
|
if (pref !== 'string' && isCallable$8(fn = input.toString) && !isObject$5(val = call$5(fn, input))) return val;
|
|
857
|
-
throw new $TypeError$
|
|
857
|
+
throw new $TypeError$5("Can't convert object to primitive value");
|
|
858
858
|
};
|
|
859
859
|
|
|
860
860
|
var sharedStore = {exports: {}};
|
|
@@ -902,12 +902,12 @@ var $Object$1 = Object;
|
|
|
902
902
|
|
|
903
903
|
// `ToObject` abstract operation
|
|
904
904
|
// https://tc39.es/ecma262/#sec-toobject
|
|
905
|
-
var toObject$
|
|
905
|
+
var toObject$2 = function (argument) {
|
|
906
906
|
return $Object$1(requireObjectCoercible(argument));
|
|
907
907
|
};
|
|
908
908
|
|
|
909
909
|
var uncurryThis$5 = functionUncurryThis;
|
|
910
|
-
var toObject$
|
|
910
|
+
var toObject$1 = toObject$2;
|
|
911
911
|
|
|
912
912
|
var hasOwnProperty = uncurryThis$5({}.hasOwnProperty);
|
|
913
913
|
|
|
@@ -915,7 +915,7 @@ var hasOwnProperty = uncurryThis$5({}.hasOwnProperty);
|
|
|
915
915
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
916
916
|
// eslint-disable-next-line es/no-object-hasown -- safe
|
|
917
917
|
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
918
|
-
return hasOwnProperty(toObject$
|
|
918
|
+
return hasOwnProperty(toObject$1(it), key);
|
|
919
919
|
};
|
|
920
920
|
|
|
921
921
|
var uncurryThis$4 = functionUncurryThis;
|
|
@@ -954,7 +954,7 @@ var getMethod$2 = getMethod$3;
|
|
|
954
954
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
955
955
|
var wellKnownSymbol$3 = wellKnownSymbol$4;
|
|
956
956
|
|
|
957
|
-
var $TypeError$
|
|
957
|
+
var $TypeError$4 = TypeError;
|
|
958
958
|
var TO_PRIMITIVE = wellKnownSymbol$3('toPrimitive');
|
|
959
959
|
|
|
960
960
|
// `ToPrimitive` abstract operation
|
|
@@ -967,7 +967,7 @@ var toPrimitive$1 = function (input, pref) {
|
|
|
967
967
|
if (pref === undefined) pref = 'default';
|
|
968
968
|
result = call$4(exoticToPrim, input, pref);
|
|
969
969
|
if (!isObject$4(result) || isSymbol$1(result)) return result;
|
|
970
|
-
throw new $TypeError$
|
|
970
|
+
throw new $TypeError$4("Can't convert object to primitive value");
|
|
971
971
|
}
|
|
972
972
|
if (pref === undefined) pref = 'number';
|
|
973
973
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -994,19 +994,19 @@ var documentCreateElement$1 = function (it) {
|
|
|
994
994
|
return EXISTS$1 ? document$1.createElement(it) : {};
|
|
995
995
|
};
|
|
996
996
|
|
|
997
|
-
var DESCRIPTORS$
|
|
998
|
-
var fails$
|
|
997
|
+
var DESCRIPTORS$9 = descriptors;
|
|
998
|
+
var fails$6 = fails$b;
|
|
999
999
|
var createElement = documentCreateElement$1;
|
|
1000
1000
|
|
|
1001
1001
|
// Thanks to IE8 for its funny defineProperty
|
|
1002
|
-
var ie8DomDefine = !DESCRIPTORS$
|
|
1002
|
+
var ie8DomDefine = !DESCRIPTORS$9 && !fails$6(function () {
|
|
1003
1003
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
1004
1004
|
return Object.defineProperty(createElement('div'), 'a', {
|
|
1005
1005
|
get: function () { return 7; }
|
|
1006
1006
|
}).a !== 7;
|
|
1007
1007
|
});
|
|
1008
1008
|
|
|
1009
|
-
var DESCRIPTORS$
|
|
1009
|
+
var DESCRIPTORS$8 = descriptors;
|
|
1010
1010
|
var call$3 = functionCall;
|
|
1011
1011
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
1012
1012
|
var createPropertyDescriptor$2 = createPropertyDescriptor$3;
|
|
@@ -1020,7 +1020,7 @@ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
|
1020
1020
|
|
|
1021
1021
|
// `Object.getOwnPropertyDescriptor` method
|
|
1022
1022
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
1023
|
-
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$
|
|
1023
|
+
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$8 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
|
1024
1024
|
O = toIndexedObject$3(O);
|
|
1025
1025
|
P = toPropertyKey$1(P);
|
|
1026
1026
|
if (IE8_DOM_DEFINE$1) try {
|
|
@@ -1031,12 +1031,12 @@ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$9 ? $getOwnPropertyDescriptor$1 :
|
|
|
1031
1031
|
|
|
1032
1032
|
var objectDefineProperty = {};
|
|
1033
1033
|
|
|
1034
|
-
var DESCRIPTORS$
|
|
1035
|
-
var fails$
|
|
1034
|
+
var DESCRIPTORS$7 = descriptors;
|
|
1035
|
+
var fails$5 = fails$b;
|
|
1036
1036
|
|
|
1037
1037
|
// V8 ~ Chrome 36-
|
|
1038
1038
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
1039
|
-
var v8PrototypeDefineBug = DESCRIPTORS$
|
|
1039
|
+
var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$5(function () {
|
|
1040
1040
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
1041
1041
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
1042
1042
|
value: 42,
|
|
@@ -1047,21 +1047,21 @@ var v8PrototypeDefineBug = DESCRIPTORS$8 && fails$6(function () {
|
|
|
1047
1047
|
var isObject$2 = isObject$6;
|
|
1048
1048
|
|
|
1049
1049
|
var $String$1 = String;
|
|
1050
|
-
var $TypeError$
|
|
1050
|
+
var $TypeError$3 = TypeError;
|
|
1051
1051
|
|
|
1052
1052
|
// `Assert: Type(argument) is Object`
|
|
1053
1053
|
var anObject$8 = function (argument) {
|
|
1054
1054
|
if (isObject$2(argument)) return argument;
|
|
1055
|
-
throw new $TypeError$
|
|
1055
|
+
throw new $TypeError$3($String$1(argument) + ' is not an object');
|
|
1056
1056
|
};
|
|
1057
1057
|
|
|
1058
|
-
var DESCRIPTORS$
|
|
1058
|
+
var DESCRIPTORS$6 = descriptors;
|
|
1059
1059
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
1060
1060
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
1061
1061
|
var anObject$7 = anObject$8;
|
|
1062
1062
|
var toPropertyKey = toPropertyKey$2;
|
|
1063
1063
|
|
|
1064
|
-
var $TypeError$
|
|
1064
|
+
var $TypeError$2 = TypeError;
|
|
1065
1065
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
1066
1066
|
var $defineProperty = Object.defineProperty;
|
|
1067
1067
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -1072,7 +1072,7 @@ var WRITABLE = 'writable';
|
|
|
1072
1072
|
|
|
1073
1073
|
// `Object.defineProperty` method
|
|
1074
1074
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
1075
|
-
objectDefineProperty.f = DESCRIPTORS$
|
|
1075
|
+
objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
1076
1076
|
anObject$7(O);
|
|
1077
1077
|
P = toPropertyKey(P);
|
|
1078
1078
|
anObject$7(Attributes);
|
|
@@ -1094,16 +1094,16 @@ objectDefineProperty.f = DESCRIPTORS$7 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
1094
1094
|
if (IE8_DOM_DEFINE) try {
|
|
1095
1095
|
return $defineProperty(O, P, Attributes);
|
|
1096
1096
|
} catch (error) { /* empty */ }
|
|
1097
|
-
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$
|
|
1097
|
+
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$2('Accessors not supported');
|
|
1098
1098
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
1099
1099
|
return O;
|
|
1100
1100
|
};
|
|
1101
1101
|
|
|
1102
|
-
var DESCRIPTORS$
|
|
1102
|
+
var DESCRIPTORS$5 = descriptors;
|
|
1103
1103
|
var definePropertyModule$4 = objectDefineProperty;
|
|
1104
1104
|
var createPropertyDescriptor$1 = createPropertyDescriptor$3;
|
|
1105
1105
|
|
|
1106
|
-
var createNonEnumerableProperty$3 = DESCRIPTORS$
|
|
1106
|
+
var createNonEnumerableProperty$3 = DESCRIPTORS$5 ? function (object, key, value) {
|
|
1107
1107
|
return definePropertyModule$4.f(object, key, createPropertyDescriptor$1(1, value));
|
|
1108
1108
|
} : function (object, key, value) {
|
|
1109
1109
|
object[key] = value;
|
|
@@ -1112,17 +1112,17 @@ var createNonEnumerableProperty$3 = DESCRIPTORS$6 ? function (object, key, value
|
|
|
1112
1112
|
|
|
1113
1113
|
var makeBuiltIn$3 = {exports: {}};
|
|
1114
1114
|
|
|
1115
|
-
var DESCRIPTORS$
|
|
1115
|
+
var DESCRIPTORS$4 = descriptors;
|
|
1116
1116
|
var hasOwn$6 = hasOwnProperty_1;
|
|
1117
1117
|
|
|
1118
1118
|
var FunctionPrototype = Function.prototype;
|
|
1119
1119
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1120
|
-
var getDescriptor = DESCRIPTORS$
|
|
1120
|
+
var getDescriptor = DESCRIPTORS$4 && Object.getOwnPropertyDescriptor;
|
|
1121
1121
|
|
|
1122
1122
|
var EXISTS = hasOwn$6(FunctionPrototype, 'name');
|
|
1123
1123
|
// additional protection from minified / mangled / dropped function names
|
|
1124
1124
|
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
1125
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$
|
|
1125
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$4 || (DESCRIPTORS$4 && getDescriptor(FunctionPrototype, 'name').configurable));
|
|
1126
1126
|
|
|
1127
1127
|
var functionName = {
|
|
1128
1128
|
EXISTS: EXISTS,
|
|
@@ -1235,10 +1235,10 @@ var internalState = {
|
|
|
1235
1235
|
};
|
|
1236
1236
|
|
|
1237
1237
|
var uncurryThis$2 = functionUncurryThis;
|
|
1238
|
-
var fails$
|
|
1238
|
+
var fails$4 = fails$b;
|
|
1239
1239
|
var isCallable$5 = isCallable$d;
|
|
1240
1240
|
var hasOwn$4 = hasOwnProperty_1;
|
|
1241
|
-
var DESCRIPTORS$
|
|
1241
|
+
var DESCRIPTORS$3 = descriptors;
|
|
1242
1242
|
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
|
1243
1243
|
var inspectSource = inspectSource$1;
|
|
1244
1244
|
var InternalStateModule$1 = internalState;
|
|
@@ -1252,7 +1252,7 @@ var stringSlice = uncurryThis$2(''.slice);
|
|
|
1252
1252
|
var replace = uncurryThis$2(''.replace);
|
|
1253
1253
|
var join = uncurryThis$2([].join);
|
|
1254
1254
|
|
|
1255
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$
|
|
1255
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS$3 && !fails$4(function () {
|
|
1256
1256
|
return defineProperty$1(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
1257
1257
|
});
|
|
1258
1258
|
|
|
@@ -1265,7 +1265,7 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
|
1265
1265
|
if (options && options.getter) name = 'get ' + name;
|
|
1266
1266
|
if (options && options.setter) name = 'set ' + name;
|
|
1267
1267
|
if (!hasOwn$4(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
|
1268
|
-
if (DESCRIPTORS$
|
|
1268
|
+
if (DESCRIPTORS$3) defineProperty$1(value, 'name', { value: name, configurable: true });
|
|
1269
1269
|
else value.name = name;
|
|
1270
1270
|
}
|
|
1271
1271
|
if (CONFIGURABLE_LENGTH && options && hasOwn$4(options, 'arity') && value.length !== options.arity) {
|
|
@@ -1273,7 +1273,7 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
|
1273
1273
|
}
|
|
1274
1274
|
try {
|
|
1275
1275
|
if (options && hasOwn$4(options, 'constructor') && options.constructor) {
|
|
1276
|
-
if (DESCRIPTORS$
|
|
1276
|
+
if (DESCRIPTORS$3) defineProperty$1(value, 'prototype', { writable: false });
|
|
1277
1277
|
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
1278
1278
|
} else if (value.prototype) value.prototype = undefined;
|
|
1279
1279
|
} catch (error) { /* empty */ }
|
|
@@ -1370,19 +1370,19 @@ var toLength = toLength$1;
|
|
|
1370
1370
|
|
|
1371
1371
|
// `LengthOfArrayLike` abstract operation
|
|
1372
1372
|
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
|
1373
|
-
var lengthOfArrayLike$
|
|
1373
|
+
var lengthOfArrayLike$1 = function (obj) {
|
|
1374
1374
|
return toLength(obj.length);
|
|
1375
1375
|
};
|
|
1376
1376
|
|
|
1377
1377
|
var toIndexedObject$2 = toIndexedObject$4;
|
|
1378
1378
|
var toAbsoluteIndex = toAbsoluteIndex$1;
|
|
1379
|
-
var lengthOfArrayLike
|
|
1379
|
+
var lengthOfArrayLike = lengthOfArrayLike$1;
|
|
1380
1380
|
|
|
1381
1381
|
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
1382
1382
|
var createMethod = function (IS_INCLUDES) {
|
|
1383
1383
|
return function ($this, el, fromIndex) {
|
|
1384
1384
|
var O = toIndexedObject$2($this);
|
|
1385
|
-
var length = lengthOfArrayLike
|
|
1385
|
+
var length = lengthOfArrayLike(O);
|
|
1386
1386
|
if (length === 0) return !IS_INCLUDES && -1;
|
|
1387
1387
|
var index = toAbsoluteIndex(fromIndex, length);
|
|
1388
1388
|
var value;
|
|
@@ -1489,7 +1489,7 @@ var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
|
1489
1489
|
}
|
|
1490
1490
|
};
|
|
1491
1491
|
|
|
1492
|
-
var fails$
|
|
1492
|
+
var fails$3 = fails$b;
|
|
1493
1493
|
var isCallable$3 = isCallable$d;
|
|
1494
1494
|
|
|
1495
1495
|
var replacement = /#|\.prototype\./;
|
|
@@ -1498,7 +1498,7 @@ var isForced$1 = function (feature, detection) {
|
|
|
1498
1498
|
var value = data[normalize(feature)];
|
|
1499
1499
|
return value === POLYFILL ? true
|
|
1500
1500
|
: value === NATIVE ? false
|
|
1501
|
-
: isCallable$3(detection) ? fails$
|
|
1501
|
+
: isCallable$3(detection) ? fails$3(detection)
|
|
1502
1502
|
: !!detection;
|
|
1503
1503
|
};
|
|
1504
1504
|
|
|
@@ -1513,7 +1513,7 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
|
|
|
1513
1513
|
var isForced_1 = isForced$1;
|
|
1514
1514
|
|
|
1515
1515
|
var global$2 = global$b;
|
|
1516
|
-
var getOwnPropertyDescriptor
|
|
1516
|
+
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
1517
1517
|
var createNonEnumerableProperty$1 = createNonEnumerableProperty$3;
|
|
1518
1518
|
var defineBuiltIn$2 = defineBuiltIn$3;
|
|
1519
1519
|
var defineGlobalProperty = defineGlobalProperty$3;
|
|
@@ -1550,7 +1550,7 @@ var _export = function (options, source) {
|
|
|
1550
1550
|
if (target) for (key in source) {
|
|
1551
1551
|
sourceProperty = source[key];
|
|
1552
1552
|
if (options.dontCallGetSet) {
|
|
1553
|
-
descriptor = getOwnPropertyDescriptor
|
|
1553
|
+
descriptor = getOwnPropertyDescriptor(target, key);
|
|
1554
1554
|
targetProperty = descriptor && descriptor.value;
|
|
1555
1555
|
} else targetProperty = target[key];
|
|
1556
1556
|
FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
|
|
@@ -1569,16 +1569,16 @@ var _export = function (options, source) {
|
|
|
1569
1569
|
|
|
1570
1570
|
var isPrototypeOf = objectIsPrototypeOf;
|
|
1571
1571
|
|
|
1572
|
-
var $TypeError$
|
|
1572
|
+
var $TypeError$1 = TypeError;
|
|
1573
1573
|
|
|
1574
1574
|
var anInstance$1 = function (it, Prototype) {
|
|
1575
1575
|
if (isPrototypeOf(Prototype, it)) return it;
|
|
1576
|
-
throw new $TypeError$
|
|
1576
|
+
throw new $TypeError$1('Incorrect invocation');
|
|
1577
1577
|
};
|
|
1578
1578
|
|
|
1579
|
-
var fails$
|
|
1579
|
+
var fails$2 = fails$b;
|
|
1580
1580
|
|
|
1581
|
-
var correctPrototypeGetter = !fails$
|
|
1581
|
+
var correctPrototypeGetter = !fails$2(function () {
|
|
1582
1582
|
function F() { /* empty */ }
|
|
1583
1583
|
F.prototype.constructor = null;
|
|
1584
1584
|
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
@@ -1587,7 +1587,7 @@ var correctPrototypeGetter = !fails$3(function () {
|
|
|
1587
1587
|
|
|
1588
1588
|
var hasOwn$1 = hasOwnProperty_1;
|
|
1589
1589
|
var isCallable$2 = isCallable$d;
|
|
1590
|
-
var toObject
|
|
1590
|
+
var toObject = toObject$2;
|
|
1591
1591
|
var sharedKey$1 = sharedKey$3;
|
|
1592
1592
|
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
1593
1593
|
|
|
@@ -1599,7 +1599,7 @@ var ObjectPrototype = $Object.prototype;
|
|
|
1599
1599
|
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
1600
1600
|
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
1601
1601
|
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
|
|
1602
|
-
var object = toObject
|
|
1602
|
+
var object = toObject(O);
|
|
1603
1603
|
if (hasOwn$1(object, IE_PROTO$1)) return object[IE_PROTO$1];
|
|
1604
1604
|
var constructor = object.constructor;
|
|
1605
1605
|
if (isCallable$2(constructor) && object instanceof constructor) {
|
|
@@ -1616,12 +1616,12 @@ var defineBuiltInAccessor$1 = function (target, name, descriptor) {
|
|
|
1616
1616
|
return defineProperty.f(target, name, descriptor);
|
|
1617
1617
|
};
|
|
1618
1618
|
|
|
1619
|
-
var DESCRIPTORS$
|
|
1619
|
+
var DESCRIPTORS$2 = descriptors;
|
|
1620
1620
|
var definePropertyModule$1 = objectDefineProperty;
|
|
1621
1621
|
var createPropertyDescriptor = createPropertyDescriptor$3;
|
|
1622
1622
|
|
|
1623
1623
|
var createProperty$1 = function (object, key, value) {
|
|
1624
|
-
if (DESCRIPTORS$
|
|
1624
|
+
if (DESCRIPTORS$2) definePropertyModule$1.f(object, key, createPropertyDescriptor(0, value));
|
|
1625
1625
|
else object[key] = value;
|
|
1626
1626
|
};
|
|
1627
1627
|
|
|
@@ -1637,7 +1637,7 @@ var objectKeys$1 = Object.keys || function keys(O) {
|
|
|
1637
1637
|
return internalObjectKeys(O, enumBugKeys$1);
|
|
1638
1638
|
};
|
|
1639
1639
|
|
|
1640
|
-
var DESCRIPTORS$
|
|
1640
|
+
var DESCRIPTORS$1 = descriptors;
|
|
1641
1641
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
1642
1642
|
var definePropertyModule = objectDefineProperty;
|
|
1643
1643
|
var anObject$5 = anObject$8;
|
|
@@ -1647,7 +1647,7 @@ var objectKeys = objectKeys$1;
|
|
|
1647
1647
|
// `Object.defineProperties` method
|
|
1648
1648
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
1649
1649
|
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
1650
|
-
objectDefineProperties.f = DESCRIPTORS$
|
|
1650
|
+
objectDefineProperties.f = DESCRIPTORS$1 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
1651
1651
|
anObject$5(O);
|
|
1652
1652
|
var props = toIndexedObject(Properties);
|
|
1653
1653
|
var keys = objectKeys(Properties);
|
|
@@ -1746,7 +1746,7 @@ var objectCreate = Object.create || function create(O, Properties) {
|
|
|
1746
1746
|
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
1747
1747
|
};
|
|
1748
1748
|
|
|
1749
|
-
var fails$
|
|
1749
|
+
var fails$1 = fails$b;
|
|
1750
1750
|
var isCallable$1 = isCallable$d;
|
|
1751
1751
|
var isObject = isObject$6;
|
|
1752
1752
|
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
@@ -1771,7 +1771,7 @@ if ([].keys) {
|
|
|
1771
1771
|
}
|
|
1772
1772
|
}
|
|
1773
1773
|
|
|
1774
|
-
var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype$2) || fails$
|
|
1774
|
+
var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype$2) || fails$1(function () {
|
|
1775
1775
|
var test = {};
|
|
1776
1776
|
// FF44- legacy iterators case
|
|
1777
1777
|
return IteratorPrototype$2[ITERATOR$1].call(test) !== test;
|
|
@@ -1792,7 +1792,7 @@ var iteratorsCore = {
|
|
|
1792
1792
|
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS
|
|
1793
1793
|
};
|
|
1794
1794
|
|
|
1795
|
-
var $$
|
|
1795
|
+
var $$1 = _export;
|
|
1796
1796
|
var global$1 = global$b;
|
|
1797
1797
|
var anInstance = anInstance$1;
|
|
1798
1798
|
var anObject$3 = anObject$8;
|
|
@@ -1800,32 +1800,32 @@ var isCallable = isCallable$d;
|
|
|
1800
1800
|
var getPrototypeOf = objectGetPrototypeOf;
|
|
1801
1801
|
var defineBuiltInAccessor = defineBuiltInAccessor$1;
|
|
1802
1802
|
var createProperty = createProperty$1;
|
|
1803
|
-
var fails
|
|
1803
|
+
var fails = fails$b;
|
|
1804
1804
|
var hasOwn = hasOwnProperty_1;
|
|
1805
1805
|
var wellKnownSymbol$1 = wellKnownSymbol$4;
|
|
1806
1806
|
var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
|
|
1807
|
-
var DESCRIPTORS
|
|
1807
|
+
var DESCRIPTORS = descriptors;
|
|
1808
1808
|
|
|
1809
1809
|
var CONSTRUCTOR = 'constructor';
|
|
1810
1810
|
var ITERATOR = 'Iterator';
|
|
1811
1811
|
var TO_STRING_TAG$1 = wellKnownSymbol$1('toStringTag');
|
|
1812
1812
|
|
|
1813
|
-
var $TypeError
|
|
1813
|
+
var $TypeError = TypeError;
|
|
1814
1814
|
var NativeIterator = global$1[ITERATOR];
|
|
1815
1815
|
|
|
1816
1816
|
// FF56- have non-standard global helper `Iterator`
|
|
1817
|
-
var FORCED
|
|
1817
|
+
var FORCED = !isCallable(NativeIterator)
|
|
1818
1818
|
|| NativeIterator.prototype !== IteratorPrototype$1
|
|
1819
1819
|
// FF44- non-standard `Iterator` passes previous tests
|
|
1820
|
-
|| !fails
|
|
1820
|
+
|| !fails(function () { NativeIterator({}); });
|
|
1821
1821
|
|
|
1822
1822
|
var IteratorConstructor = function Iterator() {
|
|
1823
1823
|
anInstance(this, IteratorPrototype$1);
|
|
1824
|
-
if (getPrototypeOf(this) === IteratorPrototype$1) throw new $TypeError
|
|
1824
|
+
if (getPrototypeOf(this) === IteratorPrototype$1) throw new $TypeError('Abstract class Iterator not directly constructable');
|
|
1825
1825
|
};
|
|
1826
1826
|
|
|
1827
1827
|
var defineIteratorPrototypeAccessor = function (key, value) {
|
|
1828
|
-
if (DESCRIPTORS
|
|
1828
|
+
if (DESCRIPTORS) {
|
|
1829
1829
|
defineBuiltInAccessor(IteratorPrototype$1, key, {
|
|
1830
1830
|
configurable: true,
|
|
1831
1831
|
get: function () {
|
|
@@ -1833,7 +1833,7 @@ var defineIteratorPrototypeAccessor = function (key, value) {
|
|
|
1833
1833
|
},
|
|
1834
1834
|
set: function (replacement) {
|
|
1835
1835
|
anObject$3(this);
|
|
1836
|
-
if (this === IteratorPrototype$1) throw new $TypeError
|
|
1836
|
+
if (this === IteratorPrototype$1) throw new $TypeError("You can't redefine this property");
|
|
1837
1837
|
if (hasOwn(this, key)) this[key] = replacement;
|
|
1838
1838
|
else createProperty(this, key, replacement);
|
|
1839
1839
|
}
|
|
@@ -1843,7 +1843,7 @@ var defineIteratorPrototypeAccessor = function (key, value) {
|
|
|
1843
1843
|
|
|
1844
1844
|
if (!hasOwn(IteratorPrototype$1, TO_STRING_TAG$1)) defineIteratorPrototypeAccessor(TO_STRING_TAG$1, ITERATOR);
|
|
1845
1845
|
|
|
1846
|
-
if (FORCED
|
|
1846
|
+
if (FORCED || !hasOwn(IteratorPrototype$1, CONSTRUCTOR) || IteratorPrototype$1[CONSTRUCTOR] === Object) {
|
|
1847
1847
|
defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
|
|
1848
1848
|
}
|
|
1849
1849
|
|
|
@@ -1851,7 +1851,7 @@ IteratorConstructor.prototype = IteratorPrototype$1;
|
|
|
1851
1851
|
|
|
1852
1852
|
// `Iterator` constructor
|
|
1853
1853
|
// https://github.com/tc39/proposal-iterator-helpers
|
|
1854
|
-
$$
|
|
1854
|
+
$$1({ global: true, constructor: true, forced: FORCED }, {
|
|
1855
1855
|
Iterator: IteratorConstructor
|
|
1856
1856
|
});
|
|
1857
1857
|
|
|
@@ -2014,13 +2014,13 @@ var iteratorMap = function map(mapper) {
|
|
|
2014
2014
|
});
|
|
2015
2015
|
};
|
|
2016
2016
|
|
|
2017
|
-
var
|
|
2017
|
+
var $ = _export;
|
|
2018
2018
|
var map = iteratorMap;
|
|
2019
2019
|
var IS_PURE = isPure;
|
|
2020
2020
|
|
|
2021
2021
|
// `Iterator.prototype.map` method
|
|
2022
2022
|
// https://github.com/tc39/proposal-iterator-helpers
|
|
2023
|
-
|
|
2023
|
+
$({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, {
|
|
2024
2024
|
map: map
|
|
2025
2025
|
});
|
|
2026
2026
|
|
|
@@ -2242,92 +2242,6 @@ function syncEntitySynchronizer(config) {
|
|
|
2242
2242
|
};
|
|
2243
2243
|
}
|
|
2244
2244
|
|
|
2245
|
-
var classof = classofRaw;
|
|
2246
|
-
|
|
2247
|
-
// `IsArray` abstract operation
|
|
2248
|
-
// https://tc39.es/ecma262/#sec-isarray
|
|
2249
|
-
// eslint-disable-next-line es/no-array-isarray -- safe
|
|
2250
|
-
var isArray$1 = Array.isArray || function isArray(argument) {
|
|
2251
|
-
return classof(argument) === 'Array';
|
|
2252
|
-
};
|
|
2253
|
-
|
|
2254
|
-
var DESCRIPTORS = descriptors;
|
|
2255
|
-
var isArray = isArray$1;
|
|
2256
|
-
|
|
2257
|
-
var $TypeError$1 = TypeError;
|
|
2258
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
2259
|
-
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
2260
|
-
|
|
2261
|
-
// Safari < 13 does not throw an error in this case
|
|
2262
|
-
var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {
|
|
2263
|
-
// makes no sense without proper strict mode support
|
|
2264
|
-
if (this !== undefined) return true;
|
|
2265
|
-
try {
|
|
2266
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
2267
|
-
Object.defineProperty([], 'length', { writable: false }).length = 1;
|
|
2268
|
-
} catch (error) {
|
|
2269
|
-
return error instanceof TypeError;
|
|
2270
|
-
}
|
|
2271
|
-
}();
|
|
2272
|
-
|
|
2273
|
-
var arraySetLength = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
|
|
2274
|
-
if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
|
|
2275
|
-
throw new $TypeError$1('Cannot set read only .length');
|
|
2276
|
-
} return O.length = length;
|
|
2277
|
-
} : function (O, length) {
|
|
2278
|
-
return O.length = length;
|
|
2279
|
-
};
|
|
2280
|
-
|
|
2281
|
-
var $TypeError = TypeError;
|
|
2282
|
-
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
|
|
2283
|
-
|
|
2284
|
-
var doesNotExceedSafeInteger$1 = function (it) {
|
|
2285
|
-
if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');
|
|
2286
|
-
return it;
|
|
2287
|
-
};
|
|
2288
|
-
|
|
2289
|
-
var $ = _export;
|
|
2290
|
-
var toObject = toObject$3;
|
|
2291
|
-
var lengthOfArrayLike = lengthOfArrayLike$2;
|
|
2292
|
-
var setArrayLength = arraySetLength;
|
|
2293
|
-
var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;
|
|
2294
|
-
var fails = fails$c;
|
|
2295
|
-
|
|
2296
|
-
var INCORRECT_TO_LENGTH = fails(function () {
|
|
2297
|
-
return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
|
|
2298
|
-
});
|
|
2299
|
-
|
|
2300
|
-
// V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError
|
|
2301
|
-
// https://bugs.chromium.org/p/v8/issues/detail?id=12681
|
|
2302
|
-
var properErrorOnNonWritableLength = function () {
|
|
2303
|
-
try {
|
|
2304
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
2305
|
-
Object.defineProperty([], 'length', { writable: false }).push();
|
|
2306
|
-
} catch (error) {
|
|
2307
|
-
return error instanceof TypeError;
|
|
2308
|
-
}
|
|
2309
|
-
};
|
|
2310
|
-
|
|
2311
|
-
var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
|
|
2312
|
-
|
|
2313
|
-
// `Array.prototype.push` method
|
|
2314
|
-
// https://tc39.es/ecma262/#sec-array.prototype.push
|
|
2315
|
-
$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
|
|
2316
|
-
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
2317
|
-
push: function push(item) {
|
|
2318
|
-
var O = toObject(this);
|
|
2319
|
-
var len = lengthOfArrayLike(O);
|
|
2320
|
-
var argCount = arguments.length;
|
|
2321
|
-
doesNotExceedSafeInteger(len + argCount);
|
|
2322
|
-
for (var i = 0; i < argCount; i++) {
|
|
2323
|
-
O[len] = arguments[i];
|
|
2324
|
-
len++;
|
|
2325
|
-
}
|
|
2326
|
-
setArrayLength(O, len);
|
|
2327
|
-
return len;
|
|
2328
|
-
}
|
|
2329
|
-
});
|
|
2330
|
-
|
|
2331
2245
|
function basicSyncEntityCommonTypeSynchronizerInstanceFactory(config) {
|
|
2332
2246
|
const {
|
|
2333
2247
|
commonType,
|