@vonage/vivid 3.0.0-next.21 → 3.0.0-next.24
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 +12 -7
- package/action-group/index.js +19 -4
- package/badge/index.js +1 -1
- package/banner/index.js +9 -11
- package/breadcrumb/index.js +1 -0
- package/breadcrumb-item/index.js +11 -4
- package/button/index.js +5 -3
- package/calendar/index.js +31 -9
- package/calendar-event/index.js +19 -32
- package/card/index.js +11 -19
- package/checkbox/index.js +176 -0
- package/elevation/index.js +1 -1
- package/fab/index.js +5 -3
- package/focus/index.js +1 -1
- package/header/index.js +91 -0
- package/icon/index.js +1 -1
- package/index.js +13 -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 +3 -1
- package/lib/card/index.d.ts +0 -1
- package/lib/checkbox/checkbox.d.ts +5 -0
- package/lib/checkbox/checkbox.template.d.ts +4 -0
- package/lib/checkbox/index.d.ts +4 -0
- package/lib/components.d.ts +2 -0
- package/lib/header/header.d.ts +11 -0
- package/lib/header/header.template.d.ts +4 -0
- package/lib/header/index.d.ts +2 -0
- package/lib/side-drawer/side-drawer.d.ts +8 -1
- package/lib/sidenav-item/index.d.ts +1 -0
- package/note/index.js +1 -1
- package/package.json +7 -3
- package/popup/index.js +7 -5
- package/progress/index.js +30 -24
- 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 +1 -1
- package/shared/export.js +444 -444
- package/shared/focus2.js +2 -459
- package/shared/form-associated.js +547 -0
- package/shared/icon.js +2 -2
- package/shared/index.js +1 -1
- package/shared/{object-set-prototype-of.js → iterators.js} +20 -20
- package/shared/object-keys.js +1 -1
- package/shared/ref.js +41 -0
- package/shared/text-anchor.template.js +5 -2
- package/shared/to-string.js +1 -1
- package/shared/web.dom-collections.iterator.js +2 -2
- package/side-drawer/index.js +8587 -11
- package/sidenav-item/index.js +7 -6
- package/text/index.js +1 -1
- package/text-anchor/index.js +4 -1
- package/text-field/index.js +7 -5
- package/tooltip/index.js +4 -2
package/shared/export.js
CHANGED
|
@@ -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,16 +44,49 @@ 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$9 = NATIVE_BIND
|
|
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
|
|
85
|
+
var functionUncurryThis = NATIVE_BIND ? function (fn) {
|
|
28
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
|
|
|
@@ -42,14 +100,14 @@ var classofRaw = function (it) {
|
|
|
42
100
|
};
|
|
43
101
|
|
|
44
102
|
var uncurryThis$7 = functionUncurryThis;
|
|
45
|
-
var fails$
|
|
103
|
+
var fails$5 = fails$8;
|
|
46
104
|
var classof = classofRaw;
|
|
47
105
|
|
|
48
106
|
var $Object$2 = Object;
|
|
49
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);
|
|
@@ -74,114 +132,42 @@ var toIndexedObject$3 = function (it) {
|
|
|
74
132
|
return IndexedObject(requireObjectCoercible$1(it));
|
|
75
133
|
};
|
|
76
134
|
|
|
77
|
-
var check = function (it) {
|
|
78
|
-
return it && it.Math == Math && it;
|
|
79
|
-
};
|
|
80
|
-
|
|
81
|
-
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
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;
|
|
95
|
-
|
|
96
|
-
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
97
|
-
var defineProperty$1 = Object.defineProperty;
|
|
98
|
-
|
|
99
|
-
var defineGlobalProperty$3 = function (key, value) {
|
|
100
|
-
try {
|
|
101
|
-
defineProperty$1(global$9, key, { value: value, configurable: true, writable: true });
|
|
102
|
-
} catch (error) {
|
|
103
|
-
global$9[key] = value;
|
|
104
|
-
} return value;
|
|
105
|
-
};
|
|
106
|
-
|
|
107
|
-
var global$8 = global$a;
|
|
108
|
-
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
|
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;
|
|
130
|
-
|
|
131
|
-
// `ToObject` abstract operation
|
|
132
|
-
// https://tc39.es/ecma262/#sec-toobject
|
|
133
|
-
var toObject$1 = function (argument) {
|
|
134
|
-
return $Object$1(requireObjectCoercible(argument));
|
|
135
|
-
};
|
|
136
|
-
|
|
137
|
-
var uncurryThis$6 = functionUncurryThis;
|
|
138
|
-
var toObject = toObject$1;
|
|
139
|
-
|
|
140
|
-
var hasOwnProperty = uncurryThis$6({}.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);
|
|
147
|
-
};
|
|
148
|
-
|
|
149
|
-
var uncurryThis$5 = functionUncurryThis;
|
|
150
|
-
|
|
151
|
-
var id = 0;
|
|
152
|
-
var postfix = Math.random();
|
|
153
|
-
var toString = uncurryThis$5(1.0.toString);
|
|
154
|
-
|
|
155
|
-
var uid$2 = function (key) {
|
|
156
|
-
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
|
157
|
-
};
|
|
158
|
-
|
|
159
135
|
// `IsCallable` abstract operation
|
|
160
136
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
161
137
|
var isCallable$a = function (argument) {
|
|
162
138
|
return typeof argument == 'function';
|
|
163
139
|
};
|
|
164
140
|
|
|
165
|
-
var global$7 = global$a;
|
|
166
141
|
var isCallable$9 = isCallable$a;
|
|
167
142
|
|
|
143
|
+
var isObject$5 = function (it) {
|
|
144
|
+
return typeof it == 'object' ? it !== null : isCallable$9(it);
|
|
145
|
+
};
|
|
146
|
+
|
|
147
|
+
var global$9 = global$a;
|
|
148
|
+
var isCallable$8 = isCallable$a;
|
|
149
|
+
|
|
168
150
|
var aFunction = function (argument) {
|
|
169
|
-
return isCallable$
|
|
151
|
+
return isCallable$8(argument) ? argument : undefined;
|
|
170
152
|
};
|
|
171
153
|
|
|
172
154
|
var getBuiltIn$3 = function (namespace, method) {
|
|
173
|
-
return arguments.length < 2 ? aFunction(global$
|
|
155
|
+
return arguments.length < 2 ? aFunction(global$9[namespace]) : global$9[namespace] && global$9[namespace][method];
|
|
174
156
|
};
|
|
175
157
|
|
|
158
|
+
var uncurryThis$6 = functionUncurryThis;
|
|
159
|
+
|
|
160
|
+
var objectIsPrototypeOf = uncurryThis$6({}.isPrototypeOf);
|
|
161
|
+
|
|
176
162
|
var getBuiltIn$2 = getBuiltIn$3;
|
|
177
163
|
|
|
178
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,125 +214,25 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
|
|
|
228
214
|
&& !Symbol.sham
|
|
229
215
|
&& typeof Symbol.iterator == 'symbol';
|
|
230
216
|
|
|
231
|
-
var global$5 = global$a;
|
|
232
|
-
var shared$2 = shared$3.exports;
|
|
233
|
-
var hasOwn$6 = 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$1 = function (name) {
|
|
244
|
-
if (!hasOwn$6(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
|
|
245
|
-
var description = 'Symbol.' + name;
|
|
246
|
-
if (NATIVE_SYMBOL && hasOwn$6(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$8 = isCallable$a;
|
|
257
|
-
|
|
258
|
-
var isObject$5 = function (it) {
|
|
259
|
-
return typeof it == 'object' ? it !== null : isCallable$8(it);
|
|
260
|
-
};
|
|
261
|
-
|
|
262
|
-
var isObject$4 = isObject$5;
|
|
263
|
-
|
|
264
|
-
var $String$1 = String;
|
|
265
|
-
var $TypeError$4 = TypeError;
|
|
266
|
-
|
|
267
|
-
// `Assert: Type(argument) is Object`
|
|
268
|
-
var anObject$2 = function (argument) {
|
|
269
|
-
if (isObject$4(argument)) return argument;
|
|
270
|
-
throw $TypeError$4($String$1(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$4 = functionUncurryThis;
|
|
328
|
-
|
|
329
|
-
var objectIsPrototypeOf = uncurryThis$4({}.isPrototypeOf);
|
|
330
|
-
|
|
331
217
|
var getBuiltIn$1 = getBuiltIn$3;
|
|
332
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
227
|
var $Symbol = getBuiltIn$1('Symbol');
|
|
342
|
-
return isCallable$7($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));
|
|
228
|
+
return isCallable$7($Symbol) && isPrototypeOf($Symbol.prototype, $Object$1(it));
|
|
343
229
|
};
|
|
344
230
|
|
|
345
|
-
var $String = String;
|
|
231
|
+
var $String$1 = String;
|
|
346
232
|
|
|
347
233
|
var tryToString$1 = function (argument) {
|
|
348
234
|
try {
|
|
349
|
-
return $String(argument);
|
|
235
|
+
return $String$1(argument);
|
|
350
236
|
} catch (error) {
|
|
351
237
|
return 'Object';
|
|
352
238
|
}
|
|
@@ -355,12 +241,12 @@ var tryToString$1 = function (argument) {
|
|
|
355
241
|
var isCallable$6 = isCallable$a;
|
|
356
242
|
var tryToString = tryToString$1;
|
|
357
243
|
|
|
358
|
-
var $TypeError$
|
|
244
|
+
var $TypeError$4 = TypeError;
|
|
359
245
|
|
|
360
246
|
// `Assert: IsCallable(argument) is true`
|
|
361
247
|
var aCallable$1 = function (argument) {
|
|
362
248
|
if (isCallable$6(argument)) return argument;
|
|
363
|
-
throw $TypeError$
|
|
249
|
+
throw $TypeError$4(tryToString(argument) + ' is not a function');
|
|
364
250
|
};
|
|
365
251
|
|
|
366
252
|
var aCallable = aCallable$1;
|
|
@@ -374,41 +260,133 @@ var getMethod$1 = function (V, P) {
|
|
|
374
260
|
|
|
375
261
|
var call$2 = functionCall;
|
|
376
262
|
var isCallable$5 = isCallable$a;
|
|
377
|
-
var isObject$
|
|
263
|
+
var isObject$4 = isObject$5;
|
|
378
264
|
|
|
379
|
-
var $TypeError$
|
|
265
|
+
var $TypeError$3 = TypeError;
|
|
380
266
|
|
|
381
267
|
// `OrdinaryToPrimitive` abstract operation
|
|
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$5(fn = input.toString) && !isObject$
|
|
386
|
-
if (isCallable$5(fn = input.valueOf) && !isObject$
|
|
387
|
-
if (pref !== 'string' && isCallable$5(fn = input.toString) && !isObject$
|
|
388
|
-
throw $TypeError$
|
|
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;
|
|
274
|
+
throw $TypeError$3("Can't convert object to primitive value");
|
|
389
275
|
};
|
|
390
276
|
|
|
391
|
-
var
|
|
392
|
-
var isObject$1 = isObject$5;
|
|
393
|
-
var isSymbol$1 = isSymbol$2;
|
|
394
|
-
var getMethod = getMethod$1;
|
|
395
|
-
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
396
|
-
var wellKnownSymbol = wellKnownSymbol$1;
|
|
277
|
+
var shared$3 = {exports: {}};
|
|
397
278
|
|
|
398
|
-
var $
|
|
399
|
-
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
|
|
279
|
+
var global$7 = global$a;
|
|
400
280
|
|
|
401
|
-
//
|
|
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
|
+
|
|
369
|
+
var call$1 = functionCall;
|
|
370
|
+
var isObject$3 = isObject$5;
|
|
371
|
+
var isSymbol$1 = isSymbol$2;
|
|
372
|
+
var getMethod = getMethod$1;
|
|
373
|
+
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
374
|
+
var wellKnownSymbol = wellKnownSymbol$1;
|
|
375
|
+
|
|
376
|
+
var $TypeError$2 = TypeError;
|
|
377
|
+
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
|
|
378
|
+
|
|
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$
|
|
411
|
-
throw $TypeError$
|
|
388
|
+
if (!isObject$3(result) || isSymbol$1(result)) return result;
|
|
389
|
+
throw $TypeError$2("Can't convert object to primitive value");
|
|
412
390
|
}
|
|
413
391
|
if (pref === undefined) pref = 'number';
|
|
414
392
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -424,29 +402,101 @@ var toPropertyKey$2 = function (argument) {
|
|
|
424
402
|
return isSymbol(key) ? key : key + '';
|
|
425
403
|
};
|
|
426
404
|
|
|
427
|
-
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;
|
|
433
|
+
var toPropertyKey$1 = toPropertyKey$2;
|
|
434
|
+
var hasOwn$5 = hasOwnProperty_1;
|
|
428
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 = {};
|
|
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;
|
|
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;
|
|
429
479
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
430
480
|
var anObject$1 = anObject$2;
|
|
431
|
-
var toPropertyKey
|
|
481
|
+
var toPropertyKey = toPropertyKey$2;
|
|
432
482
|
|
|
433
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$
|
|
494
|
+
objectDefineProperty.f = DESCRIPTORS$3 ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
|
|
445
495
|
anObject$1(O);
|
|
446
|
-
P = toPropertyKey
|
|
496
|
+
P = toPropertyKey(P);
|
|
447
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 = {
|
|
@@ -458,9 +508,9 @@ objectDefineProperty.f = DESCRIPTORS$4 ? V8_PROTOTYPE_DEFINE_BUG ? function defi
|
|
|
458
508
|
} return $defineProperty(O, P, Attributes);
|
|
459
509
|
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
460
510
|
anObject$1(O);
|
|
461
|
-
P = toPropertyKey
|
|
511
|
+
P = toPropertyKey(P);
|
|
462
512
|
anObject$1(Attributes);
|
|
463
|
-
if (IE8_DOM_DEFINE
|
|
513
|
+
if (IE8_DOM_DEFINE) try {
|
|
464
514
|
return $defineProperty(O, P, Attributes);
|
|
465
515
|
} catch (error) { /* empty */ }
|
|
466
516
|
if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');
|
|
@@ -468,139 +518,42 @@ objectDefineProperty.f = DESCRIPTORS$4 ? V8_PROTOTYPE_DEFINE_BUG ? function defi
|
|
|
468
518
|
return O;
|
|
469
519
|
};
|
|
470
520
|
|
|
471
|
-
var
|
|
472
|
-
var
|
|
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;
|
|
521
|
+
var DESCRIPTORS$2 = descriptors;
|
|
522
|
+
var definePropertyModule$1 = objectDefineProperty;
|
|
523
|
+
var createPropertyDescriptor = createPropertyDescriptor$2;
|
|
508
524
|
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
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;
|
|
513
530
|
};
|
|
514
531
|
|
|
515
|
-
var
|
|
532
|
+
var makeBuiltIn$2 = {exports: {}};
|
|
516
533
|
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
var lengthOfArrayLike$1 = function (obj) {
|
|
520
|
-
return toLength(obj.length);
|
|
521
|
-
};
|
|
534
|
+
var DESCRIPTORS$1 = descriptors;
|
|
535
|
+
var hasOwn$4 = hasOwnProperty_1;
|
|
522
536
|
|
|
523
|
-
var
|
|
524
|
-
|
|
525
|
-
var
|
|
537
|
+
var FunctionPrototype = Function.prototype;
|
|
538
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
539
|
+
var getDescriptor = DESCRIPTORS$1 && Object.getOwnPropertyDescriptor;
|
|
526
540
|
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
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
|
-
};
|
|
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));
|
|
546
545
|
|
|
547
|
-
var
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
// `Array.prototype.indexOf` method
|
|
552
|
-
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
|
553
|
-
indexOf: createMethod(false)
|
|
546
|
+
var functionName = {
|
|
547
|
+
EXISTS: EXISTS,
|
|
548
|
+
PROPER: PROPER,
|
|
549
|
+
CONFIGURABLE: CONFIGURABLE
|
|
554
550
|
};
|
|
555
551
|
|
|
556
|
-
var hiddenKeys$3 = {};
|
|
557
|
-
|
|
558
552
|
var uncurryThis$3 = functionUncurryThis;
|
|
559
|
-
var hasOwn$5 = hasOwnProperty_1;
|
|
560
|
-
var toIndexedObject$1 = toIndexedObject$3;
|
|
561
|
-
var indexOf = arrayIncludes.indexOf;
|
|
562
|
-
var hiddenKeys$2 = hiddenKeys$3;
|
|
563
|
-
|
|
564
|
-
var push = uncurryThis$3([].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$5(hiddenKeys$2, key) && hasOwn$5(O, key) && push(result, key);
|
|
572
|
-
// Don't enum bug & hidden keys
|
|
573
|
-
while (names.length > i) if (hasOwn$5(O, key = names[i++])) {
|
|
574
|
-
~indexOf(result, key) || push(result, key);
|
|
575
|
-
}
|
|
576
|
-
return result;
|
|
577
|
-
};
|
|
578
|
-
|
|
579
|
-
// IE8- don't enum bug keys
|
|
580
|
-
var enumBugKeys$1 = [
|
|
581
|
-
'constructor',
|
|
582
|
-
'hasOwnProperty',
|
|
583
|
-
'isPrototypeOf',
|
|
584
|
-
'propertyIsEnumerable',
|
|
585
|
-
'toLocaleString',
|
|
586
|
-
'toString',
|
|
587
|
-
'valueOf'
|
|
588
|
-
];
|
|
589
|
-
|
|
590
|
-
var shared$1 = shared$3.exports;
|
|
591
|
-
var uid = uid$2;
|
|
592
|
-
|
|
593
|
-
var keys = shared$1('keys');
|
|
594
|
-
|
|
595
|
-
var sharedKey$1 = function (key) {
|
|
596
|
-
return keys[key] || (keys[key] = uid(key));
|
|
597
|
-
};
|
|
598
|
-
|
|
599
|
-
var uncurryThis$2 = functionUncurryThis;
|
|
600
553
|
var isCallable$4 = isCallable$a;
|
|
601
554
|
var store$1 = sharedStore;
|
|
602
555
|
|
|
603
|
-
var functionToString = uncurryThis$
|
|
556
|
+
var functionToString = uncurryThis$3(Function.toString);
|
|
604
557
|
|
|
605
558
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
606
559
|
if (!isCallable$4(store$1.inspectSource)) {
|
|
@@ -619,35 +572,26 @@ var WeakMap$1 = global$3.WeakMap;
|
|
|
619
572
|
|
|
620
573
|
var nativeWeakMap = isCallable$3(WeakMap$1) && /native code/.test(inspectSource$1(WeakMap$1));
|
|
621
574
|
|
|
622
|
-
var
|
|
623
|
-
|
|
624
|
-
enumerable: !(bitmap & 1),
|
|
625
|
-
configurable: !(bitmap & 2),
|
|
626
|
-
writable: !(bitmap & 4),
|
|
627
|
-
value: value
|
|
628
|
-
};
|
|
629
|
-
};
|
|
575
|
+
var shared$1 = shared$3.exports;
|
|
576
|
+
var uid = uid$2;
|
|
630
577
|
|
|
631
|
-
var
|
|
632
|
-
var definePropertyModule$1 = objectDefineProperty;
|
|
633
|
-
var createPropertyDescriptor$1 = createPropertyDescriptor$2;
|
|
578
|
+
var keys = shared$1('keys');
|
|
634
579
|
|
|
635
|
-
var
|
|
636
|
-
return
|
|
637
|
-
} : function (object, key, value) {
|
|
638
|
-
object[key] = value;
|
|
639
|
-
return object;
|
|
580
|
+
var sharedKey$1 = function (key) {
|
|
581
|
+
return keys[key] || (keys[key] = uid(key));
|
|
640
582
|
};
|
|
641
583
|
|
|
584
|
+
var hiddenKeys$3 = {};
|
|
585
|
+
|
|
642
586
|
var NATIVE_WEAK_MAP = nativeWeakMap;
|
|
643
587
|
var global$2 = global$a;
|
|
644
|
-
var uncurryThis$
|
|
588
|
+
var uncurryThis$2 = functionUncurryThis;
|
|
645
589
|
var isObject = isObject$5;
|
|
646
590
|
var createNonEnumerableProperty$2 = createNonEnumerableProperty$3;
|
|
647
|
-
var hasOwn$
|
|
591
|
+
var hasOwn$3 = hasOwnProperty_1;
|
|
648
592
|
var shared = sharedStore;
|
|
649
593
|
var sharedKey = sharedKey$1;
|
|
650
|
-
var hiddenKeys$
|
|
594
|
+
var hiddenKeys$2 = hiddenKeys$3;
|
|
651
595
|
|
|
652
596
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
653
597
|
var TypeError$1 = global$2.TypeError;
|
|
@@ -669,9 +613,9 @@ var getterFor = function (TYPE) {
|
|
|
669
613
|
|
|
670
614
|
if (NATIVE_WEAK_MAP || shared.state) {
|
|
671
615
|
var store = shared.state || (shared.state = new WeakMap());
|
|
672
|
-
var wmget = uncurryThis$
|
|
673
|
-
var wmhas = uncurryThis$
|
|
674
|
-
var wmset = uncurryThis$
|
|
616
|
+
var wmget = uncurryThis$2(store.get);
|
|
617
|
+
var wmhas = uncurryThis$2(store.has);
|
|
618
|
+
var wmset = uncurryThis$2(store.set);
|
|
675
619
|
set = function (it, metadata) {
|
|
676
620
|
if (wmhas(store, it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
677
621
|
metadata.facade = it;
|
|
@@ -686,18 +630,18 @@ if (NATIVE_WEAK_MAP || shared.state) {
|
|
|
686
630
|
};
|
|
687
631
|
} else {
|
|
688
632
|
var STATE = sharedKey('state');
|
|
689
|
-
hiddenKeys$
|
|
633
|
+
hiddenKeys$2[STATE] = true;
|
|
690
634
|
set = function (it, metadata) {
|
|
691
|
-
if (hasOwn$
|
|
635
|
+
if (hasOwn$3(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
692
636
|
metadata.facade = it;
|
|
693
637
|
createNonEnumerableProperty$2(it, STATE, metadata);
|
|
694
638
|
return metadata;
|
|
695
639
|
};
|
|
696
640
|
get = function (it) {
|
|
697
|
-
return hasOwn$
|
|
641
|
+
return hasOwn$3(it, STATE) ? it[STATE] : {};
|
|
698
642
|
};
|
|
699
643
|
has = function (it) {
|
|
700
|
-
return hasOwn$
|
|
644
|
+
return hasOwn$3(it, STATE);
|
|
701
645
|
};
|
|
702
646
|
}
|
|
703
647
|
|
|
@@ -709,70 +653,9 @@ var internalState = {
|
|
|
709
653
|
getterFor: getterFor
|
|
710
654
|
};
|
|
711
655
|
|
|
712
|
-
var objectGetOwnPropertyDescriptor = {};
|
|
713
|
-
|
|
714
|
-
var objectPropertyIsEnumerable = {};
|
|
715
|
-
|
|
716
|
-
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
717
|
-
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
718
|
-
var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
719
|
-
|
|
720
|
-
// Nashorn ~ JDK8 bug
|
|
721
|
-
var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
|
|
722
|
-
|
|
723
|
-
// `Object.prototype.propertyIsEnumerable` method implementation
|
|
724
|
-
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
|
|
725
|
-
objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
726
|
-
var descriptor = getOwnPropertyDescriptor$1(this, V);
|
|
727
|
-
return !!descriptor && descriptor.enumerable;
|
|
728
|
-
} : $propertyIsEnumerable;
|
|
729
|
-
|
|
730
|
-
var DESCRIPTORS$2 = descriptors;
|
|
731
|
-
var call = functionCall;
|
|
732
|
-
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
733
|
-
var createPropertyDescriptor = createPropertyDescriptor$2;
|
|
734
|
-
var toIndexedObject = toIndexedObject$3;
|
|
735
|
-
var toPropertyKey = toPropertyKey$2;
|
|
736
|
-
var hasOwn$3 = hasOwnProperty_1;
|
|
737
|
-
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
738
|
-
|
|
739
|
-
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
740
|
-
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
741
|
-
|
|
742
|
-
// `Object.getOwnPropertyDescriptor` method
|
|
743
|
-
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
744
|
-
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$2 ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
|
|
745
|
-
O = toIndexedObject(O);
|
|
746
|
-
P = toPropertyKey(P);
|
|
747
|
-
if (IE8_DOM_DEFINE) try {
|
|
748
|
-
return $getOwnPropertyDescriptor(O, P);
|
|
749
|
-
} catch (error) { /* empty */ }
|
|
750
|
-
if (hasOwn$3(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);
|
|
751
|
-
};
|
|
752
|
-
|
|
753
|
-
var makeBuiltIn$2 = {exports: {}};
|
|
754
|
-
|
|
755
|
-
var DESCRIPTORS$1 = descriptors;
|
|
756
|
-
var hasOwn$2 = hasOwnProperty_1;
|
|
757
|
-
|
|
758
|
-
var FunctionPrototype = Function.prototype;
|
|
759
|
-
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
760
|
-
var getDescriptor = DESCRIPTORS$1 && Object.getOwnPropertyDescriptor;
|
|
761
|
-
|
|
762
|
-
var EXISTS = hasOwn$2(FunctionPrototype, 'name');
|
|
763
|
-
// additional protection from minified / mangled / dropped function names
|
|
764
|
-
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
765
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$1 || (DESCRIPTORS$1 && getDescriptor(FunctionPrototype, 'name').configurable));
|
|
766
|
-
|
|
767
|
-
var functionName = {
|
|
768
|
-
EXISTS: EXISTS,
|
|
769
|
-
PROPER: PROPER,
|
|
770
|
-
CONFIGURABLE: CONFIGURABLE
|
|
771
|
-
};
|
|
772
|
-
|
|
773
656
|
var fails$1 = fails$8;
|
|
774
657
|
var isCallable$2 = isCallable$a;
|
|
775
|
-
var hasOwn$
|
|
658
|
+
var hasOwn$2 = hasOwnProperty_1;
|
|
776
659
|
var DESCRIPTORS = descriptors;
|
|
777
660
|
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
|
778
661
|
var inspectSource = inspectSource$2;
|
|
@@ -795,20 +678,20 @@ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
|
|
|
795
678
|
}
|
|
796
679
|
if (options && options.getter) name = 'get ' + name;
|
|
797
680
|
if (options && options.setter) name = 'set ' + name;
|
|
798
|
-
if (!hasOwn$
|
|
681
|
+
if (!hasOwn$2(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
|
799
682
|
defineProperty(value, 'name', { value: name, configurable: true });
|
|
800
683
|
}
|
|
801
|
-
if (CONFIGURABLE_LENGTH && options && hasOwn$
|
|
684
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn$2(options, 'arity') && value.length !== options.arity) {
|
|
802
685
|
defineProperty(value, 'length', { value: options.arity });
|
|
803
686
|
}
|
|
804
687
|
try {
|
|
805
|
-
if (options && hasOwn$
|
|
688
|
+
if (options && hasOwn$2(options, 'constructor') && options.constructor) {
|
|
806
689
|
if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });
|
|
807
690
|
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
808
691
|
} else if (value.prototype) value.prototype = undefined;
|
|
809
692
|
} catch (error) { /* empty */ }
|
|
810
693
|
var state = enforceInternalState(value);
|
|
811
|
-
if (!hasOwn$
|
|
694
|
+
if (!hasOwn$2(state, 'source')) {
|
|
812
695
|
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
813
696
|
} return value;
|
|
814
697
|
};
|
|
@@ -842,6 +725,123 @@ var defineBuiltIn$1 = function (O, key, value, options) {
|
|
|
842
725
|
|
|
843
726
|
var objectGetOwnPropertyNames = {};
|
|
844
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
|
+
|
|
845
845
|
var internalObjectKeys = objectKeysInternal;
|
|
846
846
|
var enumBugKeys = enumBugKeys$1;
|
|
847
847
|
|
|
@@ -969,4 +969,4 @@ var _export = function (options, source) {
|
|
|
969
969
|
}
|
|
970
970
|
};
|
|
971
971
|
|
|
972
|
-
export {
|
|
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 };
|