@vonage/vivid 3.0.0-next.20 → 3.0.0-next.23
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/README.md +2 -2
- package/accordion-item/index.js +13 -5
- package/action-group/index.js +19 -4
- package/badge/index.js +4 -1
- package/banner/index.js +10 -9
- package/breadcrumb/index.js +1 -0
- package/breadcrumb-item/index.js +14 -4
- package/button/index.js +8 -3
- package/calendar/index.js +33 -9
- package/calendar-event/index.js +117 -0
- package/card/index.js +12 -17
- package/fab/index.js +8 -3
- package/focus/index.js +1 -1
- package/icon/index.js +3 -1
- package/index.js +15 -9
- package/lib/accordion-item/index.d.ts +2 -0
- package/lib/action-group/action-group.d.ts +1 -0
- package/lib/banner/banner.template.d.ts +0 -2
- package/lib/banner/index.d.ts +1 -0
- package/lib/breadcrumb-item/index.d.ts +1 -0
- package/lib/calendar/calendar.d.ts +3 -1
- package/lib/calendar/index.d.ts +0 -1
- package/lib/calendar-event/calendar-event.d.ts +14 -0
- package/lib/calendar-event/calendar-event.template.d.ts +4 -0
- package/lib/calendar-event/index.d.ts +2 -0
- package/lib/card/index.d.ts +0 -1
- package/lib/components.d.ts +1 -0
- package/lib/side-drawer/side-drawer.d.ts +8 -1
- package/lib/sidenav-item/index.d.ts +1 -0
- package/lib/text-field/text-field.d.ts +1 -0
- package/note/index.js +4 -1
- package/package.json +6 -2
- package/popup/index.js +10 -5
- package/progress/index.js +31 -23
- package/shared/aria-global.js +3 -40
- package/shared/button.js +1 -1
- package/shared/calendar-event.js +26 -0
- package/shared/es.object.assign.js +2 -2
- package/shared/{object-set-prototype-of.js → export.js} +472 -530
- package/shared/focus2.js +2 -459
- package/shared/form-associated.js +460 -0
- package/shared/icon.js +23 -69
- package/shared/iterators.js +61 -0
- package/shared/object-keys.js +13 -0
- package/shared/ref.js +41 -0
- package/shared/text-anchor.template.js +5 -2
- package/shared/to-string.js +51 -0
- package/shared/web.dom-collections.iterator.js +5 -13
- package/side-drawer/index.js +8588 -10
- package/sidenav-item/index.js +10 -6
- package/text/index.js +3 -1
- package/text-anchor/index.js +7 -1
- package/text-field/index.js +14 -5
- package/tooltip/index.js +7 -2
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
2
2
|
|
|
3
|
+
var check = function (it) {
|
|
4
|
+
return it && it.Math == Math && it;
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
8
|
+
var global$a =
|
|
9
|
+
// eslint-disable-next-line es-x/no-global-this -- safe
|
|
10
|
+
check(typeof globalThis == 'object' && globalThis) ||
|
|
11
|
+
check(typeof window == 'object' && window) ||
|
|
12
|
+
// eslint-disable-next-line no-restricted-globals -- safe
|
|
13
|
+
check(typeof self == 'object' && self) ||
|
|
14
|
+
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
15
|
+
// eslint-disable-next-line no-new-func -- fallback
|
|
16
|
+
(function () { return this; })() || Function('return this')();
|
|
17
|
+
|
|
18
|
+
var objectGetOwnPropertyDescriptor = {};
|
|
19
|
+
|
|
3
20
|
var fails$8 = function (exec) {
|
|
4
21
|
try {
|
|
5
22
|
return !!exec();
|
|
@@ -10,7 +27,15 @@ var fails$8 = function (exec) {
|
|
|
10
27
|
|
|
11
28
|
var fails$7 = fails$8;
|
|
12
29
|
|
|
13
|
-
|
|
30
|
+
// Detect IE8's incomplete defineProperty implementation
|
|
31
|
+
var descriptors = !fails$7(function () {
|
|
32
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
33
|
+
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
var fails$6 = fails$8;
|
|
37
|
+
|
|
38
|
+
var functionBindNative = !fails$6(function () {
|
|
14
39
|
// eslint-disable-next-line es-x/no-function-prototype-bind -- safe
|
|
15
40
|
var test = (function () { /* empty */ }).bind();
|
|
16
41
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
@@ -19,37 +44,70 @@ var functionBindNative = !fails$7(function () {
|
|
|
19
44
|
|
|
20
45
|
var NATIVE_BIND$1 = functionBindNative;
|
|
21
46
|
|
|
47
|
+
var call$4 = Function.prototype.call;
|
|
48
|
+
|
|
49
|
+
var functionCall = NATIVE_BIND$1 ? call$4.bind(call$4) : function () {
|
|
50
|
+
return call$4.apply(call$4, arguments);
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
var objectPropertyIsEnumerable = {};
|
|
54
|
+
|
|
55
|
+
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
56
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
57
|
+
var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
58
|
+
|
|
59
|
+
// Nashorn ~ JDK8 bug
|
|
60
|
+
var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
|
|
61
|
+
|
|
62
|
+
// `Object.prototype.propertyIsEnumerable` method implementation
|
|
63
|
+
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
|
|
64
|
+
objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
65
|
+
var descriptor = getOwnPropertyDescriptor$1(this, V);
|
|
66
|
+
return !!descriptor && descriptor.enumerable;
|
|
67
|
+
} : $propertyIsEnumerable;
|
|
68
|
+
|
|
69
|
+
var createPropertyDescriptor$2 = function (bitmap, value) {
|
|
70
|
+
return {
|
|
71
|
+
enumerable: !(bitmap & 1),
|
|
72
|
+
configurable: !(bitmap & 2),
|
|
73
|
+
writable: !(bitmap & 4),
|
|
74
|
+
value: value
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
var NATIVE_BIND = functionBindNative;
|
|
79
|
+
|
|
22
80
|
var FunctionPrototype$1 = Function.prototype;
|
|
23
81
|
var bind = FunctionPrototype$1.bind;
|
|
24
|
-
var call$
|
|
25
|
-
var uncurryThis$
|
|
82
|
+
var call$3 = FunctionPrototype$1.call;
|
|
83
|
+
var uncurryThis$9 = NATIVE_BIND && bind.bind(call$3, call$3);
|
|
26
84
|
|
|
27
|
-
var functionUncurryThis = NATIVE_BIND
|
|
28
|
-
return fn && uncurryThis$
|
|
85
|
+
var functionUncurryThis = NATIVE_BIND ? function (fn) {
|
|
86
|
+
return fn && uncurryThis$9(fn);
|
|
29
87
|
} : function (fn) {
|
|
30
88
|
return fn && function () {
|
|
31
|
-
return call$
|
|
89
|
+
return call$3.apply(fn, arguments);
|
|
32
90
|
};
|
|
33
91
|
};
|
|
34
92
|
|
|
35
|
-
var uncurryThis$
|
|
93
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
36
94
|
|
|
37
|
-
var toString$1 = uncurryThis$
|
|
38
|
-
var stringSlice = uncurryThis$
|
|
95
|
+
var toString$1 = uncurryThis$8({}.toString);
|
|
96
|
+
var stringSlice = uncurryThis$8(''.slice);
|
|
39
97
|
|
|
40
98
|
var classofRaw = function (it) {
|
|
41
99
|
return stringSlice(toString$1(it), 8, -1);
|
|
42
100
|
};
|
|
43
101
|
|
|
44
|
-
var uncurryThis$
|
|
45
|
-
var fails$
|
|
102
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
103
|
+
var fails$5 = fails$8;
|
|
46
104
|
var classof = classofRaw;
|
|
47
105
|
|
|
48
106
|
var $Object$2 = Object;
|
|
49
|
-
var split = uncurryThis$
|
|
107
|
+
var split = uncurryThis$7(''.split);
|
|
50
108
|
|
|
51
109
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
52
|
-
var indexedObject = fails$
|
|
110
|
+
var indexedObject = fails$5(function () {
|
|
53
111
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
54
112
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
55
113
|
return !$Object$2('z').propertyIsEnumerable(0);
|
|
@@ -57,12 +115,12 @@ var indexedObject = fails$6(function () {
|
|
|
57
115
|
return classof(it) == 'String' ? split(it, '') : $Object$2(it);
|
|
58
116
|
} : $Object$2;
|
|
59
117
|
|
|
60
|
-
var $TypeError$
|
|
118
|
+
var $TypeError$5 = TypeError;
|
|
61
119
|
|
|
62
120
|
// `RequireObjectCoercible` abstract operation
|
|
63
121
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
64
122
|
var requireObjectCoercible$2 = function (it) {
|
|
65
|
-
if (it == undefined) throw $TypeError$
|
|
123
|
+
if (it == undefined) throw $TypeError$5("Can't call method on " + it);
|
|
66
124
|
return it;
|
|
67
125
|
};
|
|
68
126
|
|
|
@@ -74,114 +132,42 @@ var toIndexedObject$3 = function (it) {
|
|
|
74
132
|
return IndexedObject(requireObjectCoercible$1(it));
|
|
75
133
|
};
|
|
76
134
|
|
|
77
|
-
|
|
78
|
-
|
|
135
|
+
// `IsCallable` abstract operation
|
|
136
|
+
// https://tc39.es/ecma262/#sec-iscallable
|
|
137
|
+
var isCallable$a = function (argument) {
|
|
138
|
+
return typeof argument == 'function';
|
|
79
139
|
};
|
|
80
140
|
|
|
81
|
-
|
|
82
|
-
var global$a =
|
|
83
|
-
// eslint-disable-next-line es-x/no-global-this -- safe
|
|
84
|
-
check(typeof globalThis == 'object' && globalThis) ||
|
|
85
|
-
check(typeof window == 'object' && window) ||
|
|
86
|
-
// eslint-disable-next-line no-restricted-globals -- safe
|
|
87
|
-
check(typeof self == 'object' && self) ||
|
|
88
|
-
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
89
|
-
// eslint-disable-next-line no-new-func -- fallback
|
|
90
|
-
(function () { return this; })() || Function('return this')();
|
|
91
|
-
|
|
92
|
-
var shared$3 = {exports: {}};
|
|
93
|
-
|
|
94
|
-
var global$9 = global$a;
|
|
141
|
+
var isCallable$9 = isCallable$a;
|
|
95
142
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
var defineGlobalProperty$3 = function (key, value) {
|
|
100
|
-
try {
|
|
101
|
-
defineProperty$2(global$9, key, { value: value, configurable: true, writable: true });
|
|
102
|
-
} catch (error) {
|
|
103
|
-
global$9[key] = value;
|
|
104
|
-
} return value;
|
|
143
|
+
var isObject$5 = function (it) {
|
|
144
|
+
return typeof it == 'object' ? it !== null : isCallable$9(it);
|
|
105
145
|
};
|
|
106
146
|
|
|
107
|
-
var global$
|
|
108
|
-
var
|
|
109
|
-
|
|
110
|
-
var SHARED = '__core-js_shared__';
|
|
111
|
-
var store$3 = global$8[SHARED] || defineGlobalProperty$2(SHARED, {});
|
|
112
|
-
|
|
113
|
-
var sharedStore = store$3;
|
|
114
|
-
|
|
115
|
-
var store$2 = sharedStore;
|
|
116
|
-
|
|
117
|
-
(shared$3.exports = function (key, value) {
|
|
118
|
-
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
|
119
|
-
})('versions', []).push({
|
|
120
|
-
version: '3.22.8',
|
|
121
|
-
mode: 'global',
|
|
122
|
-
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
123
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.22.8/LICENSE',
|
|
124
|
-
source: 'https://github.com/zloirock/core-js'
|
|
125
|
-
});
|
|
126
|
-
|
|
127
|
-
var requireObjectCoercible = requireObjectCoercible$2;
|
|
128
|
-
|
|
129
|
-
var $Object$1 = Object;
|
|
147
|
+
var global$9 = global$a;
|
|
148
|
+
var isCallable$8 = isCallable$a;
|
|
130
149
|
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
var toObject$1 = function (argument) {
|
|
134
|
-
return $Object$1(requireObjectCoercible(argument));
|
|
150
|
+
var aFunction = function (argument) {
|
|
151
|
+
return isCallable$8(argument) ? argument : undefined;
|
|
135
152
|
};
|
|
136
153
|
|
|
137
|
-
var
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
var hasOwnProperty = uncurryThis$7({}.hasOwnProperty);
|
|
141
|
-
|
|
142
|
-
// `HasOwnProperty` abstract operation
|
|
143
|
-
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
144
|
-
// eslint-disable-next-line es-x/no-object-hasown -- safe
|
|
145
|
-
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
146
|
-
return hasOwnProperty(toObject(it), key);
|
|
154
|
+
var getBuiltIn$3 = function (namespace, method) {
|
|
155
|
+
return arguments.length < 2 ? aFunction(global$9[namespace]) : global$9[namespace] && global$9[namespace][method];
|
|
147
156
|
};
|
|
148
157
|
|
|
149
158
|
var uncurryThis$6 = functionUncurryThis;
|
|
150
159
|
|
|
151
|
-
var
|
|
152
|
-
var postfix = Math.random();
|
|
153
|
-
var toString = uncurryThis$6(1.0.toString);
|
|
160
|
+
var objectIsPrototypeOf = uncurryThis$6({}.isPrototypeOf);
|
|
154
161
|
|
|
155
|
-
var
|
|
156
|
-
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
|
157
|
-
};
|
|
158
|
-
|
|
159
|
-
// `IsCallable` abstract operation
|
|
160
|
-
// https://tc39.es/ecma262/#sec-iscallable
|
|
161
|
-
var isCallable$b = function (argument) {
|
|
162
|
-
return typeof argument == 'function';
|
|
163
|
-
};
|
|
164
|
-
|
|
165
|
-
var global$7 = global$a;
|
|
166
|
-
var isCallable$a = isCallable$b;
|
|
167
|
-
|
|
168
|
-
var aFunction = function (argument) {
|
|
169
|
-
return isCallable$a(argument) ? argument : undefined;
|
|
170
|
-
};
|
|
171
|
-
|
|
172
|
-
var getBuiltIn$4 = function (namespace, method) {
|
|
173
|
-
return arguments.length < 2 ? aFunction(global$7[namespace]) : global$7[namespace] && global$7[namespace][method];
|
|
174
|
-
};
|
|
175
|
-
|
|
176
|
-
var getBuiltIn$3 = getBuiltIn$4;
|
|
162
|
+
var getBuiltIn$2 = getBuiltIn$3;
|
|
177
163
|
|
|
178
|
-
var engineUserAgent = getBuiltIn$
|
|
164
|
+
var engineUserAgent = getBuiltIn$2('navigator', 'userAgent') || '';
|
|
179
165
|
|
|
180
|
-
var global$
|
|
166
|
+
var global$8 = global$a;
|
|
181
167
|
var userAgent = engineUserAgent;
|
|
182
168
|
|
|
183
|
-
var process = global$
|
|
184
|
-
var Deno = global$
|
|
169
|
+
var process = global$8.process;
|
|
170
|
+
var Deno = global$8.Deno;
|
|
185
171
|
var versions = process && process.versions || Deno && Deno.version;
|
|
186
172
|
var v8 = versions && versions.v8;
|
|
187
173
|
var match, version;
|
|
@@ -208,10 +194,10 @@ var engineV8Version = version;
|
|
|
208
194
|
/* eslint-disable es-x/no-symbol -- required for testing */
|
|
209
195
|
|
|
210
196
|
var V8_VERSION = engineV8Version;
|
|
211
|
-
var fails$
|
|
197
|
+
var fails$4 = fails$8;
|
|
212
198
|
|
|
213
199
|
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
|
|
214
|
-
var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$
|
|
200
|
+
var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$4(function () {
|
|
215
201
|
var symbol = Symbol();
|
|
216
202
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
217
203
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
@@ -228,118 +214,18 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
|
|
|
228
214
|
&& !Symbol.sham
|
|
229
215
|
&& typeof Symbol.iterator == 'symbol';
|
|
230
216
|
|
|
231
|
-
var
|
|
232
|
-
var
|
|
233
|
-
var hasOwn$7 = hasOwnProperty_1;
|
|
234
|
-
var uid$1 = uid$2;
|
|
235
|
-
var NATIVE_SYMBOL = nativeSymbol;
|
|
236
|
-
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
237
|
-
|
|
238
|
-
var WellKnownSymbolsStore = shared$2('wks');
|
|
239
|
-
var Symbol$1 = global$5.Symbol;
|
|
240
|
-
var symbolFor = Symbol$1 && Symbol$1['for'];
|
|
241
|
-
var createWellKnownSymbol = USE_SYMBOL_AS_UID$1 ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
|
|
242
|
-
|
|
243
|
-
var wellKnownSymbol$2 = function (name) {
|
|
244
|
-
if (!hasOwn$7(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
|
|
245
|
-
var description = 'Symbol.' + name;
|
|
246
|
-
if (NATIVE_SYMBOL && hasOwn$7(Symbol$1, name)) {
|
|
247
|
-
WellKnownSymbolsStore[name] = Symbol$1[name];
|
|
248
|
-
} else if (USE_SYMBOL_AS_UID$1 && symbolFor) {
|
|
249
|
-
WellKnownSymbolsStore[name] = symbolFor(description);
|
|
250
|
-
} else {
|
|
251
|
-
WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
|
|
252
|
-
}
|
|
253
|
-
} return WellKnownSymbolsStore[name];
|
|
254
|
-
};
|
|
255
|
-
|
|
256
|
-
var isCallable$9 = isCallable$b;
|
|
257
|
-
|
|
258
|
-
var isObject$5 = function (it) {
|
|
259
|
-
return typeof it == 'object' ? it !== null : isCallable$9(it);
|
|
260
|
-
};
|
|
261
|
-
|
|
262
|
-
var isObject$4 = isObject$5;
|
|
263
|
-
|
|
264
|
-
var $String$2 = String;
|
|
265
|
-
var $TypeError$5 = TypeError;
|
|
266
|
-
|
|
267
|
-
// `Assert: Type(argument) is Object`
|
|
268
|
-
var anObject$3 = function (argument) {
|
|
269
|
-
if (isObject$4(argument)) return argument;
|
|
270
|
-
throw $TypeError$5($String$2(argument) + ' is not an object');
|
|
271
|
-
};
|
|
272
|
-
|
|
273
|
-
var fails$4 = fails$8;
|
|
274
|
-
|
|
275
|
-
// Detect IE8's incomplete defineProperty implementation
|
|
276
|
-
var descriptors = !fails$4(function () {
|
|
277
|
-
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
278
|
-
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
279
|
-
});
|
|
280
|
-
|
|
281
|
-
var DESCRIPTORS$6 = descriptors;
|
|
282
|
-
var fails$3 = fails$8;
|
|
283
|
-
|
|
284
|
-
// V8 ~ Chrome 36-
|
|
285
|
-
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
286
|
-
var v8PrototypeDefineBug = DESCRIPTORS$6 && fails$3(function () {
|
|
287
|
-
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
288
|
-
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
289
|
-
value: 42,
|
|
290
|
-
writable: false
|
|
291
|
-
}).prototype != 42;
|
|
292
|
-
});
|
|
293
|
-
|
|
294
|
-
var objectDefineProperty = {};
|
|
295
|
-
|
|
296
|
-
var global$4 = global$a;
|
|
297
|
-
var isObject$3 = isObject$5;
|
|
298
|
-
|
|
299
|
-
var document = global$4.document;
|
|
300
|
-
// typeof document.createElement is 'object' in old IE
|
|
301
|
-
var EXISTS$1 = isObject$3(document) && isObject$3(document.createElement);
|
|
302
|
-
|
|
303
|
-
var documentCreateElement = function (it) {
|
|
304
|
-
return EXISTS$1 ? document.createElement(it) : {};
|
|
305
|
-
};
|
|
306
|
-
|
|
307
|
-
var DESCRIPTORS$5 = descriptors;
|
|
308
|
-
var fails$2 = fails$8;
|
|
309
|
-
var createElement = documentCreateElement;
|
|
310
|
-
|
|
311
|
-
// Thanks to IE8 for its funny defineProperty
|
|
312
|
-
var ie8DomDefine = !DESCRIPTORS$5 && !fails$2(function () {
|
|
313
|
-
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
314
|
-
return Object.defineProperty(createElement('div'), 'a', {
|
|
315
|
-
get: function () { return 7; }
|
|
316
|
-
}).a != 7;
|
|
317
|
-
});
|
|
318
|
-
|
|
319
|
-
var NATIVE_BIND = functionBindNative;
|
|
320
|
-
|
|
321
|
-
var call$3 = Function.prototype.call;
|
|
322
|
-
|
|
323
|
-
var functionCall = NATIVE_BIND ? call$3.bind(call$3) : function () {
|
|
324
|
-
return call$3.apply(call$3, arguments);
|
|
325
|
-
};
|
|
326
|
-
|
|
327
|
-
var uncurryThis$5 = functionUncurryThis;
|
|
328
|
-
|
|
329
|
-
var objectIsPrototypeOf = uncurryThis$5({}.isPrototypeOf);
|
|
330
|
-
|
|
331
|
-
var getBuiltIn$2 = getBuiltIn$4;
|
|
332
|
-
var isCallable$8 = isCallable$b;
|
|
217
|
+
var getBuiltIn$1 = getBuiltIn$3;
|
|
218
|
+
var isCallable$7 = isCallable$a;
|
|
333
219
|
var isPrototypeOf = objectIsPrototypeOf;
|
|
334
|
-
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
220
|
+
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
335
221
|
|
|
336
|
-
var $Object = Object;
|
|
222
|
+
var $Object$1 = Object;
|
|
337
223
|
|
|
338
|
-
var isSymbol$2 = USE_SYMBOL_AS_UID ? function (it) {
|
|
224
|
+
var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
339
225
|
return typeof it == 'symbol';
|
|
340
226
|
} : function (it) {
|
|
341
|
-
var $Symbol = getBuiltIn$
|
|
342
|
-
return isCallable$
|
|
227
|
+
var $Symbol = getBuiltIn$1('Symbol');
|
|
228
|
+
return isCallable$7($Symbol) && isPrototypeOf($Symbol.prototype, $Object$1(it));
|
|
343
229
|
};
|
|
344
230
|
|
|
345
231
|
var $String$1 = String;
|
|
@@ -352,14 +238,14 @@ var tryToString$1 = function (argument) {
|
|
|
352
238
|
}
|
|
353
239
|
};
|
|
354
240
|
|
|
355
|
-
var isCallable$
|
|
241
|
+
var isCallable$6 = isCallable$a;
|
|
356
242
|
var tryToString = tryToString$1;
|
|
357
243
|
|
|
358
244
|
var $TypeError$4 = TypeError;
|
|
359
245
|
|
|
360
246
|
// `Assert: IsCallable(argument) is true`
|
|
361
247
|
var aCallable$1 = function (argument) {
|
|
362
|
-
if (isCallable$
|
|
248
|
+
if (isCallable$6(argument)) return argument;
|
|
363
249
|
throw $TypeError$4(tryToString(argument) + ' is not a function');
|
|
364
250
|
};
|
|
365
251
|
|
|
@@ -373,8 +259,8 @@ var getMethod$1 = function (V, P) {
|
|
|
373
259
|
};
|
|
374
260
|
|
|
375
261
|
var call$2 = functionCall;
|
|
376
|
-
var isCallable$
|
|
377
|
-
var isObject$
|
|
262
|
+
var isCallable$5 = isCallable$a;
|
|
263
|
+
var isObject$4 = isObject$5;
|
|
378
264
|
|
|
379
265
|
var $TypeError$3 = TypeError;
|
|
380
266
|
|
|
@@ -382,32 +268,124 @@ var $TypeError$3 = TypeError;
|
|
|
382
268
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
383
269
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
384
270
|
var fn, val;
|
|
385
|
-
if (pref === 'string' && isCallable$
|
|
386
|
-
if (isCallable$
|
|
387
|
-
if (pref !== 'string' && isCallable$
|
|
271
|
+
if (pref === 'string' && isCallable$5(fn = input.toString) && !isObject$4(val = call$2(fn, input))) return val;
|
|
272
|
+
if (isCallable$5(fn = input.valueOf) && !isObject$4(val = call$2(fn, input))) return val;
|
|
273
|
+
if (pref !== 'string' && isCallable$5(fn = input.toString) && !isObject$4(val = call$2(fn, input))) return val;
|
|
388
274
|
throw $TypeError$3("Can't convert object to primitive value");
|
|
389
275
|
};
|
|
390
276
|
|
|
277
|
+
var shared$3 = {exports: {}};
|
|
278
|
+
|
|
279
|
+
var global$7 = global$a;
|
|
280
|
+
|
|
281
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
282
|
+
var defineProperty$1 = Object.defineProperty;
|
|
283
|
+
|
|
284
|
+
var defineGlobalProperty$3 = function (key, value) {
|
|
285
|
+
try {
|
|
286
|
+
defineProperty$1(global$7, key, { value: value, configurable: true, writable: true });
|
|
287
|
+
} catch (error) {
|
|
288
|
+
global$7[key] = value;
|
|
289
|
+
} return value;
|
|
290
|
+
};
|
|
291
|
+
|
|
292
|
+
var global$6 = global$a;
|
|
293
|
+
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
|
294
|
+
|
|
295
|
+
var SHARED = '__core-js_shared__';
|
|
296
|
+
var store$3 = global$6[SHARED] || defineGlobalProperty$2(SHARED, {});
|
|
297
|
+
|
|
298
|
+
var sharedStore = store$3;
|
|
299
|
+
|
|
300
|
+
var store$2 = sharedStore;
|
|
301
|
+
|
|
302
|
+
(shared$3.exports = function (key, value) {
|
|
303
|
+
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
|
304
|
+
})('versions', []).push({
|
|
305
|
+
version: '3.22.8',
|
|
306
|
+
mode: 'global',
|
|
307
|
+
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
308
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.22.8/LICENSE',
|
|
309
|
+
source: 'https://github.com/zloirock/core-js'
|
|
310
|
+
});
|
|
311
|
+
|
|
312
|
+
var requireObjectCoercible = requireObjectCoercible$2;
|
|
313
|
+
|
|
314
|
+
var $Object = Object;
|
|
315
|
+
|
|
316
|
+
// `ToObject` abstract operation
|
|
317
|
+
// https://tc39.es/ecma262/#sec-toobject
|
|
318
|
+
var toObject$1 = function (argument) {
|
|
319
|
+
return $Object(requireObjectCoercible(argument));
|
|
320
|
+
};
|
|
321
|
+
|
|
322
|
+
var uncurryThis$5 = functionUncurryThis;
|
|
323
|
+
var toObject = toObject$1;
|
|
324
|
+
|
|
325
|
+
var hasOwnProperty = uncurryThis$5({}.hasOwnProperty);
|
|
326
|
+
|
|
327
|
+
// `HasOwnProperty` abstract operation
|
|
328
|
+
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
329
|
+
// eslint-disable-next-line es-x/no-object-hasown -- safe
|
|
330
|
+
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
331
|
+
return hasOwnProperty(toObject(it), key);
|
|
332
|
+
};
|
|
333
|
+
|
|
334
|
+
var uncurryThis$4 = functionUncurryThis;
|
|
335
|
+
|
|
336
|
+
var id = 0;
|
|
337
|
+
var postfix = Math.random();
|
|
338
|
+
var toString = uncurryThis$4(1.0.toString);
|
|
339
|
+
|
|
340
|
+
var uid$2 = function (key) {
|
|
341
|
+
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
|
342
|
+
};
|
|
343
|
+
|
|
344
|
+
var global$5 = global$a;
|
|
345
|
+
var shared$2 = shared$3.exports;
|
|
346
|
+
var hasOwn$6 = hasOwnProperty_1;
|
|
347
|
+
var uid$1 = uid$2;
|
|
348
|
+
var NATIVE_SYMBOL = nativeSymbol;
|
|
349
|
+
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
350
|
+
|
|
351
|
+
var WellKnownSymbolsStore = shared$2('wks');
|
|
352
|
+
var Symbol$1 = global$5.Symbol;
|
|
353
|
+
var symbolFor = Symbol$1 && Symbol$1['for'];
|
|
354
|
+
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
|
|
355
|
+
|
|
356
|
+
var wellKnownSymbol$1 = function (name) {
|
|
357
|
+
if (!hasOwn$6(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
|
|
358
|
+
var description = 'Symbol.' + name;
|
|
359
|
+
if (NATIVE_SYMBOL && hasOwn$6(Symbol$1, name)) {
|
|
360
|
+
WellKnownSymbolsStore[name] = Symbol$1[name];
|
|
361
|
+
} else if (USE_SYMBOL_AS_UID && symbolFor) {
|
|
362
|
+
WellKnownSymbolsStore[name] = symbolFor(description);
|
|
363
|
+
} else {
|
|
364
|
+
WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
|
|
365
|
+
}
|
|
366
|
+
} return WellKnownSymbolsStore[name];
|
|
367
|
+
};
|
|
368
|
+
|
|
391
369
|
var call$1 = functionCall;
|
|
392
|
-
var isObject$
|
|
370
|
+
var isObject$3 = isObject$5;
|
|
393
371
|
var isSymbol$1 = isSymbol$2;
|
|
394
372
|
var getMethod = getMethod$1;
|
|
395
373
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
396
|
-
var wellKnownSymbol
|
|
374
|
+
var wellKnownSymbol = wellKnownSymbol$1;
|
|
397
375
|
|
|
398
376
|
var $TypeError$2 = TypeError;
|
|
399
|
-
var TO_PRIMITIVE = wellKnownSymbol
|
|
377
|
+
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
|
|
400
378
|
|
|
401
379
|
// `ToPrimitive` abstract operation
|
|
402
380
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
403
381
|
var toPrimitive$1 = function (input, pref) {
|
|
404
|
-
if (!isObject$
|
|
382
|
+
if (!isObject$3(input) || isSymbol$1(input)) return input;
|
|
405
383
|
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
|
|
406
384
|
var result;
|
|
407
385
|
if (exoticToPrim) {
|
|
408
386
|
if (pref === undefined) pref = 'default';
|
|
409
387
|
result = call$1(exoticToPrim, input, pref);
|
|
410
|
-
if (!isObject$
|
|
388
|
+
if (!isObject$3(result) || isSymbol$1(result)) return result;
|
|
411
389
|
throw $TypeError$2("Can't convert object to primitive value");
|
|
412
390
|
}
|
|
413
391
|
if (pref === undefined) pref = 'number';
|
|
@@ -424,29 +402,101 @@ var toPropertyKey$2 = function (argument) {
|
|
|
424
402
|
return isSymbol(key) ? key : key + '';
|
|
425
403
|
};
|
|
426
404
|
|
|
427
|
-
var
|
|
428
|
-
var
|
|
429
|
-
|
|
430
|
-
var
|
|
405
|
+
var global$4 = global$a;
|
|
406
|
+
var isObject$2 = isObject$5;
|
|
407
|
+
|
|
408
|
+
var document = global$4.document;
|
|
409
|
+
// typeof document.createElement is 'object' in old IE
|
|
410
|
+
var EXISTS$1 = isObject$2(document) && isObject$2(document.createElement);
|
|
411
|
+
|
|
412
|
+
var documentCreateElement = function (it) {
|
|
413
|
+
return EXISTS$1 ? document.createElement(it) : {};
|
|
414
|
+
};
|
|
415
|
+
|
|
416
|
+
var DESCRIPTORS$6 = descriptors;
|
|
417
|
+
var fails$3 = fails$8;
|
|
418
|
+
var createElement = documentCreateElement;
|
|
419
|
+
|
|
420
|
+
// Thanks to IE8 for its funny defineProperty
|
|
421
|
+
var ie8DomDefine = !DESCRIPTORS$6 && !fails$3(function () {
|
|
422
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
423
|
+
return Object.defineProperty(createElement('div'), 'a', {
|
|
424
|
+
get: function () { return 7; }
|
|
425
|
+
}).a != 7;
|
|
426
|
+
});
|
|
427
|
+
|
|
428
|
+
var DESCRIPTORS$5 = descriptors;
|
|
429
|
+
var call = functionCall;
|
|
430
|
+
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
431
|
+
var createPropertyDescriptor$1 = createPropertyDescriptor$2;
|
|
432
|
+
var toIndexedObject$2 = toIndexedObject$3;
|
|
431
433
|
var toPropertyKey$1 = toPropertyKey$2;
|
|
434
|
+
var hasOwn$5 = hasOwnProperty_1;
|
|
435
|
+
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
436
|
+
|
|
437
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
438
|
+
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
439
|
+
|
|
440
|
+
// `Object.getOwnPropertyDescriptor` method
|
|
441
|
+
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
442
|
+
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$5 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
|
443
|
+
O = toIndexedObject$2(O);
|
|
444
|
+
P = toPropertyKey$1(P);
|
|
445
|
+
if (IE8_DOM_DEFINE$1) try {
|
|
446
|
+
return $getOwnPropertyDescriptor$1(O, P);
|
|
447
|
+
} catch (error) { /* empty */ }
|
|
448
|
+
if (hasOwn$5(O, P)) return createPropertyDescriptor$1(!call(propertyIsEnumerableModule.f, O, P), O[P]);
|
|
449
|
+
};
|
|
450
|
+
|
|
451
|
+
var objectDefineProperty = {};
|
|
432
452
|
|
|
453
|
+
var DESCRIPTORS$4 = descriptors;
|
|
454
|
+
var fails$2 = fails$8;
|
|
455
|
+
|
|
456
|
+
// V8 ~ Chrome 36-
|
|
457
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
458
|
+
var v8PrototypeDefineBug = DESCRIPTORS$4 && fails$2(function () {
|
|
459
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
460
|
+
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
461
|
+
value: 42,
|
|
462
|
+
writable: false
|
|
463
|
+
}).prototype != 42;
|
|
464
|
+
});
|
|
465
|
+
|
|
466
|
+
var isObject$1 = isObject$5;
|
|
467
|
+
|
|
468
|
+
var $String = String;
|
|
433
469
|
var $TypeError$1 = TypeError;
|
|
470
|
+
|
|
471
|
+
// `Assert: Type(argument) is Object`
|
|
472
|
+
var anObject$2 = function (argument) {
|
|
473
|
+
if (isObject$1(argument)) return argument;
|
|
474
|
+
throw $TypeError$1($String(argument) + ' is not an object');
|
|
475
|
+
};
|
|
476
|
+
|
|
477
|
+
var DESCRIPTORS$3 = descriptors;
|
|
478
|
+
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
479
|
+
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
480
|
+
var anObject$1 = anObject$2;
|
|
481
|
+
var toPropertyKey = toPropertyKey$2;
|
|
482
|
+
|
|
483
|
+
var $TypeError = TypeError;
|
|
434
484
|
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
435
485
|
var $defineProperty = Object.defineProperty;
|
|
436
486
|
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
437
|
-
var $getOwnPropertyDescriptor
|
|
487
|
+
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
438
488
|
var ENUMERABLE = 'enumerable';
|
|
439
489
|
var CONFIGURABLE$1 = 'configurable';
|
|
440
490
|
var WRITABLE = 'writable';
|
|
441
491
|
|
|
442
492
|
// `Object.defineProperty` method
|
|
443
493
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
444
|
-
objectDefineProperty.f = DESCRIPTORS$
|
|
445
|
-
anObject$
|
|
446
|
-
P = toPropertyKey
|
|
447
|
-
anObject$
|
|
494
|
+
objectDefineProperty.f = DESCRIPTORS$3 ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
|
|
495
|
+
anObject$1(O);
|
|
496
|
+
P = toPropertyKey(P);
|
|
497
|
+
anObject$1(Attributes);
|
|
448
498
|
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
449
|
-
var current = $getOwnPropertyDescriptor
|
|
499
|
+
var current = $getOwnPropertyDescriptor(O, P);
|
|
450
500
|
if (current && current[WRITABLE]) {
|
|
451
501
|
O[P] = Attributes.value;
|
|
452
502
|
Attributes = {
|
|
@@ -457,159 +507,56 @@ objectDefineProperty.f = DESCRIPTORS$4 ? V8_PROTOTYPE_DEFINE_BUG ? function defi
|
|
|
457
507
|
}
|
|
458
508
|
} return $defineProperty(O, P, Attributes);
|
|
459
509
|
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
460
|
-
anObject$
|
|
461
|
-
P = toPropertyKey
|
|
462
|
-
anObject$
|
|
463
|
-
if (IE8_DOM_DEFINE
|
|
510
|
+
anObject$1(O);
|
|
511
|
+
P = toPropertyKey(P);
|
|
512
|
+
anObject$1(Attributes);
|
|
513
|
+
if (IE8_DOM_DEFINE) try {
|
|
464
514
|
return $defineProperty(O, P, Attributes);
|
|
465
|
-
} catch (error) { /* empty */ }
|
|
466
|
-
if ('get' in Attributes || 'set' in Attributes) throw $TypeError
|
|
467
|
-
if ('value' in Attributes) O[P] = Attributes.value;
|
|
468
|
-
return O;
|
|
469
|
-
};
|
|
470
|
-
|
|
471
|
-
var ceil = Math.ceil;
|
|
472
|
-
var floor = Math.floor;
|
|
473
|
-
|
|
474
|
-
// `Math.trunc` method
|
|
475
|
-
// https://tc39.es/ecma262/#sec-math.trunc
|
|
476
|
-
// eslint-disable-next-line es-x/no-math-trunc -- safe
|
|
477
|
-
var mathTrunc = Math.trunc || function trunc(x) {
|
|
478
|
-
var n = +x;
|
|
479
|
-
return (n > 0 ? floor : ceil)(n);
|
|
480
|
-
};
|
|
481
|
-
|
|
482
|
-
var trunc = mathTrunc;
|
|
483
|
-
|
|
484
|
-
// `ToIntegerOrInfinity` abstract operation
|
|
485
|
-
// https://tc39.es/ecma262/#sec-tointegerorinfinity
|
|
486
|
-
var toIntegerOrInfinity$2 = function (argument) {
|
|
487
|
-
var number = +argument;
|
|
488
|
-
// eslint-disable-next-line no-self-compare -- NaN check
|
|
489
|
-
return number !== number || number === 0 ? 0 : trunc(number);
|
|
490
|
-
};
|
|
491
|
-
|
|
492
|
-
var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
|
|
493
|
-
|
|
494
|
-
var max = Math.max;
|
|
495
|
-
var min$1 = Math.min;
|
|
496
|
-
|
|
497
|
-
// Helper for a popular repeating case of the spec:
|
|
498
|
-
// Let integer be ? ToInteger(index).
|
|
499
|
-
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
|
|
500
|
-
var toAbsoluteIndex$1 = function (index, length) {
|
|
501
|
-
var integer = toIntegerOrInfinity$1(index);
|
|
502
|
-
return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
|
|
503
|
-
};
|
|
504
|
-
|
|
505
|
-
var toIntegerOrInfinity = toIntegerOrInfinity$2;
|
|
506
|
-
|
|
507
|
-
var min = Math.min;
|
|
508
|
-
|
|
509
|
-
// `ToLength` abstract operation
|
|
510
|
-
// https://tc39.es/ecma262/#sec-tolength
|
|
511
|
-
var toLength$1 = function (argument) {
|
|
512
|
-
return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
|
513
|
-
};
|
|
514
|
-
|
|
515
|
-
var toLength = toLength$1;
|
|
516
|
-
|
|
517
|
-
// `LengthOfArrayLike` abstract operation
|
|
518
|
-
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
|
519
|
-
var lengthOfArrayLike$1 = function (obj) {
|
|
520
|
-
return toLength(obj.length);
|
|
521
|
-
};
|
|
522
|
-
|
|
523
|
-
var toIndexedObject$2 = toIndexedObject$3;
|
|
524
|
-
var toAbsoluteIndex = toAbsoluteIndex$1;
|
|
525
|
-
var lengthOfArrayLike = lengthOfArrayLike$1;
|
|
526
|
-
|
|
527
|
-
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
528
|
-
var createMethod = function (IS_INCLUDES) {
|
|
529
|
-
return function ($this, el, fromIndex) {
|
|
530
|
-
var O = toIndexedObject$2($this);
|
|
531
|
-
var length = lengthOfArrayLike(O);
|
|
532
|
-
var index = toAbsoluteIndex(fromIndex, length);
|
|
533
|
-
var value;
|
|
534
|
-
// Array#includes uses SameValueZero equality algorithm
|
|
535
|
-
// eslint-disable-next-line no-self-compare -- NaN check
|
|
536
|
-
if (IS_INCLUDES && el != el) while (length > index) {
|
|
537
|
-
value = O[index++];
|
|
538
|
-
// eslint-disable-next-line no-self-compare -- NaN check
|
|
539
|
-
if (value != value) return true;
|
|
540
|
-
// Array#indexOf ignores holes, Array#includes - not
|
|
541
|
-
} else for (;length > index; index++) {
|
|
542
|
-
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
|
|
543
|
-
} return !IS_INCLUDES && -1;
|
|
544
|
-
};
|
|
545
|
-
};
|
|
546
|
-
|
|
547
|
-
var arrayIncludes = {
|
|
548
|
-
// `Array.prototype.includes` method
|
|
549
|
-
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
550
|
-
includes: createMethod(true),
|
|
551
|
-
// `Array.prototype.indexOf` method
|
|
552
|
-
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
|
553
|
-
indexOf: createMethod(false)
|
|
554
|
-
};
|
|
555
|
-
|
|
556
|
-
var hiddenKeys$3 = {};
|
|
557
|
-
|
|
558
|
-
var uncurryThis$4 = functionUncurryThis;
|
|
559
|
-
var hasOwn$6 = hasOwnProperty_1;
|
|
560
|
-
var toIndexedObject$1 = toIndexedObject$3;
|
|
561
|
-
var indexOf = arrayIncludes.indexOf;
|
|
562
|
-
var hiddenKeys$2 = hiddenKeys$3;
|
|
563
|
-
|
|
564
|
-
var push = uncurryThis$4([].push);
|
|
565
|
-
|
|
566
|
-
var objectKeysInternal = function (object, names) {
|
|
567
|
-
var O = toIndexedObject$1(object);
|
|
568
|
-
var i = 0;
|
|
569
|
-
var result = [];
|
|
570
|
-
var key;
|
|
571
|
-
for (key in O) !hasOwn$6(hiddenKeys$2, key) && hasOwn$6(O, key) && push(result, key);
|
|
572
|
-
// Don't enum bug & hidden keys
|
|
573
|
-
while (names.length > i) if (hasOwn$6(O, key = names[i++])) {
|
|
574
|
-
~indexOf(result, key) || push(result, key);
|
|
575
|
-
}
|
|
576
|
-
return result;
|
|
515
|
+
} catch (error) { /* empty */ }
|
|
516
|
+
if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');
|
|
517
|
+
if ('value' in Attributes) O[P] = Attributes.value;
|
|
518
|
+
return O;
|
|
577
519
|
};
|
|
578
520
|
|
|
579
|
-
|
|
580
|
-
var
|
|
581
|
-
|
|
582
|
-
'hasOwnProperty',
|
|
583
|
-
'isPrototypeOf',
|
|
584
|
-
'propertyIsEnumerable',
|
|
585
|
-
'toLocaleString',
|
|
586
|
-
'toString',
|
|
587
|
-
'valueOf'
|
|
588
|
-
];
|
|
521
|
+
var DESCRIPTORS$2 = descriptors;
|
|
522
|
+
var definePropertyModule$1 = objectDefineProperty;
|
|
523
|
+
var createPropertyDescriptor = createPropertyDescriptor$2;
|
|
589
524
|
|
|
590
|
-
var
|
|
525
|
+
var createNonEnumerableProperty$3 = DESCRIPTORS$2 ? function (object, key, value) {
|
|
526
|
+
return definePropertyModule$1.f(object, key, createPropertyDescriptor(1, value));
|
|
527
|
+
} : function (object, key, value) {
|
|
528
|
+
object[key] = value;
|
|
529
|
+
return object;
|
|
530
|
+
};
|
|
591
531
|
|
|
592
|
-
var
|
|
532
|
+
var makeBuiltIn$2 = {exports: {}};
|
|
593
533
|
|
|
594
|
-
var
|
|
595
|
-
var
|
|
534
|
+
var DESCRIPTORS$1 = descriptors;
|
|
535
|
+
var hasOwn$4 = hasOwnProperty_1;
|
|
596
536
|
|
|
597
|
-
var
|
|
537
|
+
var FunctionPrototype = Function.prototype;
|
|
538
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
539
|
+
var getDescriptor = DESCRIPTORS$1 && Object.getOwnPropertyDescriptor;
|
|
598
540
|
|
|
599
|
-
var
|
|
600
|
-
|
|
601
|
-
};
|
|
541
|
+
var EXISTS = hasOwn$4(FunctionPrototype, 'name');
|
|
542
|
+
// additional protection from minified / mangled / dropped function names
|
|
543
|
+
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
544
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$1 || (DESCRIPTORS$1 && getDescriptor(FunctionPrototype, 'name').configurable));
|
|
602
545
|
|
|
603
|
-
var
|
|
546
|
+
var functionName = {
|
|
547
|
+
EXISTS: EXISTS,
|
|
548
|
+
PROPER: PROPER,
|
|
549
|
+
CONFIGURABLE: CONFIGURABLE
|
|
550
|
+
};
|
|
604
551
|
|
|
605
552
|
var uncurryThis$3 = functionUncurryThis;
|
|
606
|
-
var isCallable$
|
|
553
|
+
var isCallable$4 = isCallable$a;
|
|
607
554
|
var store$1 = sharedStore;
|
|
608
555
|
|
|
609
556
|
var functionToString = uncurryThis$3(Function.toString);
|
|
610
557
|
|
|
611
558
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
612
|
-
if (!isCallable$
|
|
559
|
+
if (!isCallable$4(store$1.inspectSource)) {
|
|
613
560
|
store$1.inspectSource = function (it) {
|
|
614
561
|
return functionToString(it);
|
|
615
562
|
};
|
|
@@ -618,42 +565,33 @@ if (!isCallable$5(store$1.inspectSource)) {
|
|
|
618
565
|
var inspectSource$2 = store$1.inspectSource;
|
|
619
566
|
|
|
620
567
|
var global$3 = global$a;
|
|
621
|
-
var isCallable$
|
|
568
|
+
var isCallable$3 = isCallable$a;
|
|
622
569
|
var inspectSource$1 = inspectSource$2;
|
|
623
570
|
|
|
624
571
|
var WeakMap$1 = global$3.WeakMap;
|
|
625
572
|
|
|
626
|
-
var nativeWeakMap = isCallable$
|
|
573
|
+
var nativeWeakMap = isCallable$3(WeakMap$1) && /native code/.test(inspectSource$1(WeakMap$1));
|
|
627
574
|
|
|
628
|
-
var
|
|
629
|
-
|
|
630
|
-
enumerable: !(bitmap & 1),
|
|
631
|
-
configurable: !(bitmap & 2),
|
|
632
|
-
writable: !(bitmap & 4),
|
|
633
|
-
value: value
|
|
634
|
-
};
|
|
635
|
-
};
|
|
575
|
+
var shared$1 = shared$3.exports;
|
|
576
|
+
var uid = uid$2;
|
|
636
577
|
|
|
637
|
-
var
|
|
638
|
-
var definePropertyModule$1 = objectDefineProperty;
|
|
639
|
-
var createPropertyDescriptor$1 = createPropertyDescriptor$2;
|
|
578
|
+
var keys = shared$1('keys');
|
|
640
579
|
|
|
641
|
-
var
|
|
642
|
-
return
|
|
643
|
-
} : function (object, key, value) {
|
|
644
|
-
object[key] = value;
|
|
645
|
-
return object;
|
|
580
|
+
var sharedKey$1 = function (key) {
|
|
581
|
+
return keys[key] || (keys[key] = uid(key));
|
|
646
582
|
};
|
|
647
583
|
|
|
584
|
+
var hiddenKeys$3 = {};
|
|
585
|
+
|
|
648
586
|
var NATIVE_WEAK_MAP = nativeWeakMap;
|
|
649
587
|
var global$2 = global$a;
|
|
650
588
|
var uncurryThis$2 = functionUncurryThis;
|
|
651
589
|
var isObject = isObject$5;
|
|
652
590
|
var createNonEnumerableProperty$2 = createNonEnumerableProperty$3;
|
|
653
|
-
var hasOwn$
|
|
591
|
+
var hasOwn$3 = hasOwnProperty_1;
|
|
654
592
|
var shared = sharedStore;
|
|
655
593
|
var sharedKey = sharedKey$1;
|
|
656
|
-
var hiddenKeys$
|
|
594
|
+
var hiddenKeys$2 = hiddenKeys$3;
|
|
657
595
|
|
|
658
596
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
659
597
|
var TypeError$1 = global$2.TypeError;
|
|
@@ -692,18 +630,18 @@ if (NATIVE_WEAK_MAP || shared.state) {
|
|
|
692
630
|
};
|
|
693
631
|
} else {
|
|
694
632
|
var STATE = sharedKey('state');
|
|
695
|
-
hiddenKeys$
|
|
633
|
+
hiddenKeys$2[STATE] = true;
|
|
696
634
|
set = function (it, metadata) {
|
|
697
|
-
if (hasOwn$
|
|
635
|
+
if (hasOwn$3(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
698
636
|
metadata.facade = it;
|
|
699
637
|
createNonEnumerableProperty$2(it, STATE, metadata);
|
|
700
638
|
return metadata;
|
|
701
639
|
};
|
|
702
640
|
get = function (it) {
|
|
703
|
-
return hasOwn$
|
|
641
|
+
return hasOwn$3(it, STATE) ? it[STATE] : {};
|
|
704
642
|
};
|
|
705
643
|
has = function (it) {
|
|
706
|
-
return hasOwn$
|
|
644
|
+
return hasOwn$3(it, STATE);
|
|
707
645
|
};
|
|
708
646
|
}
|
|
709
647
|
|
|
@@ -715,69 +653,8 @@ var internalState = {
|
|
|
715
653
|
getterFor: getterFor
|
|
716
654
|
};
|
|
717
655
|
|
|
718
|
-
var objectGetOwnPropertyDescriptor = {};
|
|
719
|
-
|
|
720
|
-
var objectPropertyIsEnumerable = {};
|
|
721
|
-
|
|
722
|
-
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
723
|
-
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
724
|
-
var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
725
|
-
|
|
726
|
-
// Nashorn ~ JDK8 bug
|
|
727
|
-
var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
|
|
728
|
-
|
|
729
|
-
// `Object.prototype.propertyIsEnumerable` method implementation
|
|
730
|
-
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
|
|
731
|
-
objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
732
|
-
var descriptor = getOwnPropertyDescriptor$1(this, V);
|
|
733
|
-
return !!descriptor && descriptor.enumerable;
|
|
734
|
-
} : $propertyIsEnumerable;
|
|
735
|
-
|
|
736
|
-
var DESCRIPTORS$2 = descriptors;
|
|
737
|
-
var call = functionCall;
|
|
738
|
-
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
739
|
-
var createPropertyDescriptor = createPropertyDescriptor$2;
|
|
740
|
-
var toIndexedObject = toIndexedObject$3;
|
|
741
|
-
var toPropertyKey = toPropertyKey$2;
|
|
742
|
-
var hasOwn$4 = hasOwnProperty_1;
|
|
743
|
-
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
744
|
-
|
|
745
|
-
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
746
|
-
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
747
|
-
|
|
748
|
-
// `Object.getOwnPropertyDescriptor` method
|
|
749
|
-
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
750
|
-
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$2 ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
|
|
751
|
-
O = toIndexedObject(O);
|
|
752
|
-
P = toPropertyKey(P);
|
|
753
|
-
if (IE8_DOM_DEFINE) try {
|
|
754
|
-
return $getOwnPropertyDescriptor(O, P);
|
|
755
|
-
} catch (error) { /* empty */ }
|
|
756
|
-
if (hasOwn$4(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);
|
|
757
|
-
};
|
|
758
|
-
|
|
759
|
-
var makeBuiltIn$2 = {exports: {}};
|
|
760
|
-
|
|
761
|
-
var DESCRIPTORS$1 = descriptors;
|
|
762
|
-
var hasOwn$3 = hasOwnProperty_1;
|
|
763
|
-
|
|
764
|
-
var FunctionPrototype = Function.prototype;
|
|
765
|
-
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
766
|
-
var getDescriptor = DESCRIPTORS$1 && Object.getOwnPropertyDescriptor;
|
|
767
|
-
|
|
768
|
-
var EXISTS = hasOwn$3(FunctionPrototype, 'name');
|
|
769
|
-
// additional protection from minified / mangled / dropped function names
|
|
770
|
-
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
771
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$1 || (DESCRIPTORS$1 && getDescriptor(FunctionPrototype, 'name').configurable));
|
|
772
|
-
|
|
773
|
-
var functionName = {
|
|
774
|
-
EXISTS: EXISTS,
|
|
775
|
-
PROPER: PROPER,
|
|
776
|
-
CONFIGURABLE: CONFIGURABLE
|
|
777
|
-
};
|
|
778
|
-
|
|
779
656
|
var fails$1 = fails$8;
|
|
780
|
-
var isCallable$
|
|
657
|
+
var isCallable$2 = isCallable$a;
|
|
781
658
|
var hasOwn$2 = hasOwnProperty_1;
|
|
782
659
|
var DESCRIPTORS = descriptors;
|
|
783
660
|
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
|
@@ -787,10 +664,10 @@ var InternalStateModule = internalState;
|
|
|
787
664
|
var enforceInternalState = InternalStateModule.enforce;
|
|
788
665
|
var getInternalState = InternalStateModule.get;
|
|
789
666
|
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
790
|
-
var defineProperty
|
|
667
|
+
var defineProperty = Object.defineProperty;
|
|
791
668
|
|
|
792
669
|
var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails$1(function () {
|
|
793
|
-
return defineProperty
|
|
670
|
+
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
794
671
|
});
|
|
795
672
|
|
|
796
673
|
var TEMPLATE = String(String).split('String');
|
|
@@ -802,14 +679,14 @@ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
|
|
|
802
679
|
if (options && options.getter) name = 'get ' + name;
|
|
803
680
|
if (options && options.setter) name = 'set ' + name;
|
|
804
681
|
if (!hasOwn$2(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
|
805
|
-
defineProperty
|
|
682
|
+
defineProperty(value, 'name', { value: name, configurable: true });
|
|
806
683
|
}
|
|
807
684
|
if (CONFIGURABLE_LENGTH && options && hasOwn$2(options, 'arity') && value.length !== options.arity) {
|
|
808
|
-
defineProperty
|
|
685
|
+
defineProperty(value, 'length', { value: options.arity });
|
|
809
686
|
}
|
|
810
687
|
try {
|
|
811
688
|
if (options && hasOwn$2(options, 'constructor') && options.constructor) {
|
|
812
|
-
if (DESCRIPTORS) defineProperty
|
|
689
|
+
if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });
|
|
813
690
|
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
814
691
|
} else if (value.prototype) value.prototype = undefined;
|
|
815
692
|
} catch (error) { /* empty */ }
|
|
@@ -822,10 +699,10 @@ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
|
|
|
822
699
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
823
700
|
// eslint-disable-next-line no-extend-native -- required
|
|
824
701
|
Function.prototype.toString = makeBuiltIn$1(function toString() {
|
|
825
|
-
return isCallable$
|
|
702
|
+
return isCallable$2(this) && getInternalState(this).source || inspectSource(this);
|
|
826
703
|
}, 'toString');
|
|
827
704
|
|
|
828
|
-
var isCallable$
|
|
705
|
+
var isCallable$1 = isCallable$a;
|
|
829
706
|
var createNonEnumerableProperty$1 = createNonEnumerableProperty$3;
|
|
830
707
|
var makeBuiltIn = makeBuiltIn$2.exports;
|
|
831
708
|
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
|
@@ -834,7 +711,7 @@ var defineBuiltIn$1 = function (O, key, value, options) {
|
|
|
834
711
|
if (!options) options = {};
|
|
835
712
|
var simple = options.enumerable;
|
|
836
713
|
var name = options.name !== undefined ? options.name : key;
|
|
837
|
-
if (isCallable$
|
|
714
|
+
if (isCallable$1(value)) makeBuiltIn(value, name, options);
|
|
838
715
|
if (options.global) {
|
|
839
716
|
if (simple) O[key] = value;
|
|
840
717
|
else defineGlobalProperty$1(key, value);
|
|
@@ -848,6 +725,123 @@ var defineBuiltIn$1 = function (O, key, value, options) {
|
|
|
848
725
|
|
|
849
726
|
var objectGetOwnPropertyNames = {};
|
|
850
727
|
|
|
728
|
+
var ceil = Math.ceil;
|
|
729
|
+
var floor = Math.floor;
|
|
730
|
+
|
|
731
|
+
// `Math.trunc` method
|
|
732
|
+
// https://tc39.es/ecma262/#sec-math.trunc
|
|
733
|
+
// eslint-disable-next-line es-x/no-math-trunc -- safe
|
|
734
|
+
var mathTrunc = Math.trunc || function trunc(x) {
|
|
735
|
+
var n = +x;
|
|
736
|
+
return (n > 0 ? floor : ceil)(n);
|
|
737
|
+
};
|
|
738
|
+
|
|
739
|
+
var trunc = mathTrunc;
|
|
740
|
+
|
|
741
|
+
// `ToIntegerOrInfinity` abstract operation
|
|
742
|
+
// https://tc39.es/ecma262/#sec-tointegerorinfinity
|
|
743
|
+
var toIntegerOrInfinity$2 = function (argument) {
|
|
744
|
+
var number = +argument;
|
|
745
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
|
746
|
+
return number !== number || number === 0 ? 0 : trunc(number);
|
|
747
|
+
};
|
|
748
|
+
|
|
749
|
+
var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
|
|
750
|
+
|
|
751
|
+
var max = Math.max;
|
|
752
|
+
var min$1 = Math.min;
|
|
753
|
+
|
|
754
|
+
// Helper for a popular repeating case of the spec:
|
|
755
|
+
// Let integer be ? ToInteger(index).
|
|
756
|
+
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
|
|
757
|
+
var toAbsoluteIndex$1 = function (index, length) {
|
|
758
|
+
var integer = toIntegerOrInfinity$1(index);
|
|
759
|
+
return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
|
|
760
|
+
};
|
|
761
|
+
|
|
762
|
+
var toIntegerOrInfinity = toIntegerOrInfinity$2;
|
|
763
|
+
|
|
764
|
+
var min = Math.min;
|
|
765
|
+
|
|
766
|
+
// `ToLength` abstract operation
|
|
767
|
+
// https://tc39.es/ecma262/#sec-tolength
|
|
768
|
+
var toLength$1 = function (argument) {
|
|
769
|
+
return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
|
770
|
+
};
|
|
771
|
+
|
|
772
|
+
var toLength = toLength$1;
|
|
773
|
+
|
|
774
|
+
// `LengthOfArrayLike` abstract operation
|
|
775
|
+
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
|
776
|
+
var lengthOfArrayLike$1 = function (obj) {
|
|
777
|
+
return toLength(obj.length);
|
|
778
|
+
};
|
|
779
|
+
|
|
780
|
+
var toIndexedObject$1 = toIndexedObject$3;
|
|
781
|
+
var toAbsoluteIndex = toAbsoluteIndex$1;
|
|
782
|
+
var lengthOfArrayLike = lengthOfArrayLike$1;
|
|
783
|
+
|
|
784
|
+
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
785
|
+
var createMethod = function (IS_INCLUDES) {
|
|
786
|
+
return function ($this, el, fromIndex) {
|
|
787
|
+
var O = toIndexedObject$1($this);
|
|
788
|
+
var length = lengthOfArrayLike(O);
|
|
789
|
+
var index = toAbsoluteIndex(fromIndex, length);
|
|
790
|
+
var value;
|
|
791
|
+
// Array#includes uses SameValueZero equality algorithm
|
|
792
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
|
793
|
+
if (IS_INCLUDES && el != el) while (length > index) {
|
|
794
|
+
value = O[index++];
|
|
795
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
|
796
|
+
if (value != value) return true;
|
|
797
|
+
// Array#indexOf ignores holes, Array#includes - not
|
|
798
|
+
} else for (;length > index; index++) {
|
|
799
|
+
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
|
|
800
|
+
} return !IS_INCLUDES && -1;
|
|
801
|
+
};
|
|
802
|
+
};
|
|
803
|
+
|
|
804
|
+
var arrayIncludes = {
|
|
805
|
+
// `Array.prototype.includes` method
|
|
806
|
+
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
807
|
+
includes: createMethod(true),
|
|
808
|
+
// `Array.prototype.indexOf` method
|
|
809
|
+
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
|
810
|
+
indexOf: createMethod(false)
|
|
811
|
+
};
|
|
812
|
+
|
|
813
|
+
var uncurryThis$1 = functionUncurryThis;
|
|
814
|
+
var hasOwn$1 = hasOwnProperty_1;
|
|
815
|
+
var toIndexedObject = toIndexedObject$3;
|
|
816
|
+
var indexOf = arrayIncludes.indexOf;
|
|
817
|
+
var hiddenKeys$1 = hiddenKeys$3;
|
|
818
|
+
|
|
819
|
+
var push = uncurryThis$1([].push);
|
|
820
|
+
|
|
821
|
+
var objectKeysInternal = function (object, names) {
|
|
822
|
+
var O = toIndexedObject(object);
|
|
823
|
+
var i = 0;
|
|
824
|
+
var result = [];
|
|
825
|
+
var key;
|
|
826
|
+
for (key in O) !hasOwn$1(hiddenKeys$1, key) && hasOwn$1(O, key) && push(result, key);
|
|
827
|
+
// Don't enum bug & hidden keys
|
|
828
|
+
while (names.length > i) if (hasOwn$1(O, key = names[i++])) {
|
|
829
|
+
~indexOf(result, key) || push(result, key);
|
|
830
|
+
}
|
|
831
|
+
return result;
|
|
832
|
+
};
|
|
833
|
+
|
|
834
|
+
// IE8- don't enum bug keys
|
|
835
|
+
var enumBugKeys$1 = [
|
|
836
|
+
'constructor',
|
|
837
|
+
'hasOwnProperty',
|
|
838
|
+
'isPrototypeOf',
|
|
839
|
+
'propertyIsEnumerable',
|
|
840
|
+
'toLocaleString',
|
|
841
|
+
'toString',
|
|
842
|
+
'valueOf'
|
|
843
|
+
];
|
|
844
|
+
|
|
851
845
|
var internalObjectKeys = objectKeysInternal;
|
|
852
846
|
var enumBugKeys = enumBugKeys$1;
|
|
853
847
|
|
|
@@ -865,22 +859,22 @@ var objectGetOwnPropertySymbols = {};
|
|
|
865
859
|
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
|
|
866
860
|
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
867
861
|
|
|
868
|
-
var getBuiltIn = getBuiltIn$
|
|
869
|
-
var uncurryThis
|
|
862
|
+
var getBuiltIn = getBuiltIn$3;
|
|
863
|
+
var uncurryThis = functionUncurryThis;
|
|
870
864
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
871
865
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
872
|
-
var anObject
|
|
866
|
+
var anObject = anObject$2;
|
|
873
867
|
|
|
874
|
-
var concat = uncurryThis
|
|
868
|
+
var concat = uncurryThis([].concat);
|
|
875
869
|
|
|
876
870
|
// all object keys, includes non-enumerable and symbols
|
|
877
871
|
var ownKeys$1 = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
878
|
-
var keys = getOwnPropertyNamesModule.f(anObject
|
|
872
|
+
var keys = getOwnPropertyNamesModule.f(anObject(it));
|
|
879
873
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
|
880
874
|
return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
|
|
881
875
|
};
|
|
882
876
|
|
|
883
|
-
var hasOwn
|
|
877
|
+
var hasOwn = hasOwnProperty_1;
|
|
884
878
|
var ownKeys = ownKeys$1;
|
|
885
879
|
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
886
880
|
var definePropertyModule = objectDefineProperty;
|
|
@@ -891,14 +885,14 @@ var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
|
891
885
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
892
886
|
for (var i = 0; i < keys.length; i++) {
|
|
893
887
|
var key = keys[i];
|
|
894
|
-
if (!hasOwn
|
|
888
|
+
if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
|
|
895
889
|
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
896
890
|
}
|
|
897
891
|
}
|
|
898
892
|
};
|
|
899
893
|
|
|
900
894
|
var fails = fails$8;
|
|
901
|
-
var isCallable
|
|
895
|
+
var isCallable = isCallable$a;
|
|
902
896
|
|
|
903
897
|
var replacement = /#|\.prototype\./;
|
|
904
898
|
|
|
@@ -906,7 +900,7 @@ var isForced$1 = function (feature, detection) {
|
|
|
906
900
|
var value = data[normalize(feature)];
|
|
907
901
|
return value == POLYFILL ? true
|
|
908
902
|
: value == NATIVE ? false
|
|
909
|
-
: isCallable
|
|
903
|
+
: isCallable(detection) ? fails(detection)
|
|
910
904
|
: !!detection;
|
|
911
905
|
};
|
|
912
906
|
|
|
@@ -975,56 +969,4 @@ var _export = function (options, source) {
|
|
|
975
969
|
}
|
|
976
970
|
};
|
|
977
971
|
|
|
978
|
-
|
|
979
|
-
var hasOwn = hasOwnProperty_1;
|
|
980
|
-
var wellKnownSymbol = wellKnownSymbol$2;
|
|
981
|
-
|
|
982
|
-
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
983
|
-
|
|
984
|
-
var setToStringTag = function (target, TAG, STATIC) {
|
|
985
|
-
if (target && !STATIC) target = target.prototype;
|
|
986
|
-
if (target && !hasOwn(target, TO_STRING_TAG)) {
|
|
987
|
-
defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG });
|
|
988
|
-
}
|
|
989
|
-
};
|
|
990
|
-
|
|
991
|
-
var isCallable = isCallable$b;
|
|
992
|
-
|
|
993
|
-
var $String = String;
|
|
994
|
-
var $TypeError = TypeError;
|
|
995
|
-
|
|
996
|
-
var aPossiblePrototype$1 = function (argument) {
|
|
997
|
-
if (typeof argument == 'object' || isCallable(argument)) return argument;
|
|
998
|
-
throw $TypeError("Can't set " + $String(argument) + ' as a prototype');
|
|
999
|
-
};
|
|
1000
|
-
|
|
1001
|
-
/* eslint-disable no-proto -- safe */
|
|
1002
|
-
|
|
1003
|
-
var uncurryThis = functionUncurryThis;
|
|
1004
|
-
var anObject = anObject$3;
|
|
1005
|
-
var aPossiblePrototype = aPossiblePrototype$1;
|
|
1006
|
-
|
|
1007
|
-
// `Object.setPrototypeOf` method
|
|
1008
|
-
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
|
1009
|
-
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
1010
|
-
// eslint-disable-next-line es-x/no-object-setprototypeof -- safe
|
|
1011
|
-
var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
1012
|
-
var CORRECT_SETTER = false;
|
|
1013
|
-
var test = {};
|
|
1014
|
-
var setter;
|
|
1015
|
-
try {
|
|
1016
|
-
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
1017
|
-
setter = uncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
1018
|
-
setter(test, []);
|
|
1019
|
-
CORRECT_SETTER = test instanceof Array;
|
|
1020
|
-
} catch (error) { /* empty */ }
|
|
1021
|
-
return function setPrototypeOf(O, proto) {
|
|
1022
|
-
anObject(O);
|
|
1023
|
-
aPossiblePrototype(proto);
|
|
1024
|
-
if (CORRECT_SETTER) setter(O, proto);
|
|
1025
|
-
else O.__proto__ = proto;
|
|
1026
|
-
return O;
|
|
1027
|
-
};
|
|
1028
|
-
}() : undefined);
|
|
1029
|
-
|
|
1030
|
-
export { classofRaw as A, getBuiltIn$4 as B, objectIsPrototypeOf as C, functionUncurryThis as D, inspectSource$2 as E, tryToString$1 as F, functionBindNative as G, aCallable$1 as H, engineUserAgent as I, objectGetOwnPropertyDescriptor as J, isForced_1 as K, engineV8Version as L, isObject$5 as M, getMethod$1 as N, lengthOfArrayLike$1 as O, requireObjectCoercible$2 as P, indexedObject as Q, objectGetOwnPropertySymbols as R, objectPropertyIsEnumerable as S, shared$3 as T, toIntegerOrInfinity$2 as U, toPropertyKey$2 as V, toAbsoluteIndex$1 as W, toLength$1 as X, _export as _, objectDefineProperty as a, anObject$3 as b, html as c, descriptors as d, enumBugKeys$1 as e, documentCreateElement as f, fails$8 as g, hiddenKeys$3 as h, hasOwnProperty_1 as i, isCallable$b as j, toObject$1 as k, defineBuiltIn$1 as l, createPropertyDescriptor$2 as m, setToStringTag as n, objectKeysInternal as o, iterators as p, objectSetPrototypeOf as q, createNonEnumerableProperty$3 as r, sharedKey$1 as s, toIndexedObject$3 as t, functionCall as u, v8PrototypeDefineBug as v, wellKnownSymbol$2 as w, functionName as x, internalState as y, global$a as z };
|
|
972
|
+
export { lengthOfArrayLike$1 as A, requireObjectCoercible$2 as B, functionName as C, v8PrototypeDefineBug as D, toIndexedObject$3 as E, hiddenKeys$3 as F, sharedKey$1 as G, enumBugKeys$1 as H, toObject$1 as I, createPropertyDescriptor$2 as J, createNonEnumerableProperty$3 as K, objectKeysInternal as L, indexedObject as M, objectGetOwnPropertySymbols as N, objectPropertyIsEnumerable as O, copyConstructorProperties$1 as P, shared$3 as Q, toIntegerOrInfinity$2 as R, toPropertyKey$2 as S, toAbsoluteIndex$1 as T, toLength$1 as U, commonjsGlobal as V, _export as _, getBuiltIn$3 as a, objectIsPrototypeOf as b, classofRaw as c, descriptors as d, fails$8 as e, functionUncurryThis as f, global$a as g, inspectSource$2 as h, isCallable$a as i, anObject$2 as j, functionBindNative as k, aCallable$1 as l, engineUserAgent as m, documentCreateElement as n, objectDefineProperty as o, hasOwnProperty_1 as p, objectGetOwnPropertyDescriptor as q, isForced_1 as r, engineV8Version as s, tryToString$1 as t, defineBuiltIn$1 as u, functionCall as v, wellKnownSymbol$1 as w, isObject$5 as x, internalState as y, getMethod$1 as z };
|