@vonage/vivid 3.0.0-next.3 → 3.0.0-next.30
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 +49 -4
- package/accordion/index.js +61 -0
- package/accordion-item/index.js +133 -0
- package/action-group/index.js +49 -0
- package/badge/index.js +27 -22
- package/banner/index.js +148 -0
- package/breadcrumb/index.js +41 -150
- package/breadcrumb-item/index.js +18 -8
- package/button/index.js +40 -663
- package/calendar/index.js +1550 -0
- package/calendar-event/index.js +117 -0
- package/card/index.js +134 -0
- package/checkbox/index.js +176 -0
- package/elevation/index.js +4 -38
- package/fab/index.js +101 -0
- package/focus/index.js +20 -3
- package/header/index.js +68 -0
- package/icon/index.js +40 -5
- package/index.d.ts +1 -0
- package/index.js +50 -14
- package/layout/index.js +5 -5
- package/lib/accordion/accordion.d.ts +9 -0
- package/lib/accordion/accordion.template.d.ts +4 -0
- package/lib/accordion/index.d.ts +2 -0
- package/lib/accordion-item/accordion-item.d.ts +13 -0
- package/lib/accordion-item/accordion-item.template.d.ts +4 -0
- package/lib/accordion-item/index.d.ts +4 -0
- package/lib/action-group/action-group.d.ts +10 -0
- package/lib/action-group/action-group.template.d.ts +4 -0
- package/lib/action-group/index.d.ts +2 -0
- package/lib/badge/badge.d.ts +8 -8
- package/lib/badge/index.d.ts +1 -1
- package/lib/banner/banner.d.ts +20 -0
- package/lib/banner/banner.template.d.ts +4 -0
- package/lib/banner/index.d.ts +3 -0
- package/lib/breadcrumb/breadcrumb.template.d.ts +4 -0
- package/lib/breadcrumb-item/breadcrumb-item.d.ts +1 -1
- package/lib/breadcrumb-item/breadcrumb-item.template.d.ts +0 -1
- package/lib/breadcrumb-item/index.d.ts +2 -0
- package/lib/button/button.d.ts +9 -8
- package/lib/button/index.d.ts +2 -19
- package/lib/calendar/calendar.d.ts +13 -0
- package/lib/calendar/calendar.template.d.ts +4 -0
- package/lib/calendar/helpers/calendar.date-functions.d.ts +2 -0
- package/lib/calendar/helpers/calendar.event-context.d.ts +6 -0
- package/lib/calendar/helpers/calendar.keyboard-interactions.d.ts +9 -0
- package/lib/calendar/index.d.ts +2 -0
- 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/card.d.ts +10 -0
- package/lib/card/card.template.d.ts +4 -0
- package/lib/card/index.d.ts +4 -0
- 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 +23 -5
- package/lib/elevation/elevation.d.ts +2 -1
- package/lib/elevation/index.d.ts +1 -1
- package/lib/enums.d.ts +14 -7
- package/lib/fab/fab.d.ts +13 -0
- package/lib/fab/fab.template.d.ts +4 -0
- package/lib/fab/index.d.ts +4 -0
- package/lib/focus/index.d.ts +1 -1
- package/lib/header/header.d.ts +5 -0
- package/lib/header/header.template.d.ts +4 -0
- package/lib/header/index.d.ts +3 -0
- package/lib/icon/icon.d.ts +4 -5
- package/lib/layout/index.d.ts +1 -1
- package/lib/layout/layout.d.ts +3 -3
- package/lib/note/index.d.ts +2 -0
- package/lib/note/note.d.ts +10 -0
- package/lib/note/note.template.d.ts +5 -0
- package/lib/popup/index.d.ts +4 -0
- package/lib/popup/popup.d.ts +17 -0
- package/lib/popup/popup.template.d.ts +4 -0
- package/lib/progress/index.d.ts +2 -0
- package/lib/progress/progress.d.ts +9 -0
- package/lib/progress/progress.template.d.ts +5 -0
- package/lib/progress-ring/index.d.ts +2 -0
- package/lib/progress-ring/progress-ring.d.ts +7 -0
- package/lib/progress-ring/progress-ring.template.d.ts +4 -0
- package/lib/side-drawer/index.d.ts +2 -0
- package/lib/side-drawer/side-drawer.d.ts +7 -0
- package/lib/side-drawer/side-drawer.template.d.ts +4 -0
- package/lib/sidenav/index.d.ts +2 -0
- package/lib/sidenav/sidenav.d.ts +3 -0
- package/lib/sidenav/sidenav.template.d.ts +4 -0
- package/lib/sidenav-item/index.d.ts +1 -0
- package/lib/sidenav-item/sidenav-item.d.ts +4 -5
- package/lib/text/index.d.ts +2 -0
- package/lib/text/text.d.ts +10 -0
- package/lib/text/text.template.d.ts +4 -0
- package/lib/text-anchor/text-anchor.d.ts +4 -1
- package/lib/text-field/index.d.ts +4 -0
- package/lib/text-field/text-field.d.ts +23 -0
- package/lib/text-field/text-field.template.d.ts +5 -0
- package/lib/tooltip/index.d.ts +3 -0
- package/lib/tooltip/tooltip.d.ts +8 -0
- package/lib/tooltip/tooltip.template.d.ts +4 -0
- package/note/index.js +68 -0
- package/package.json +36 -6
- package/popup/index.js +2110 -0
- package/progress/index.js +107 -0
- package/progress-ring/index.js +82 -0
- package/shared/_has.js +58 -0
- package/shared/affix.js +10 -25
- package/shared/anchor.js +10 -3
- package/shared/aria-global.js +20 -20
- package/shared/base-progress.js +70 -0
- package/shared/breadcrumb-item.js +2 -2
- package/shared/button.js +195 -0
- package/shared/calendar-event.js +26 -0
- package/shared/enums.js +79 -0
- package/shared/es.object.assign.js +69 -0
- package/shared/export.js +972 -0
- package/shared/focus.js +5 -0
- package/shared/focus2.js +11 -0
- package/shared/form-associated.js +547 -0
- package/shared/icon.js +1389 -0
- package/shared/index.js +4940 -1426
- package/shared/index2.js +27 -4901
- package/shared/iterators.js +61 -0
- package/shared/object-keys.js +13 -0
- package/shared/patterns/affix.d.ts +3 -4
- package/shared/patterns/focus.d.ts +3 -0
- package/shared/patterns/index.d.ts +1 -0
- package/shared/slotted.js +119 -0
- package/shared/text-anchor.js +12 -0
- package/shared/text-anchor.template.js +16 -6
- package/shared/to-string.js +51 -0
- package/shared/web.dom-collections.iterator.js +46 -1059
- package/shared/when.js +15 -0
- package/side-drawer/index.js +82 -0
- package/sidenav/index.js +17 -0
- package/sidenav-item/index.js +24 -61
- package/styles/themes/dark.css +16 -4
- package/styles/themes/light.css +16 -4
- package/text/index.js +48 -0
- package/text-anchor/index.js +13 -13
- package/text-field/index.js +411 -0
- package/tooltip/index.js +70 -0
- package/shared/index3.js +0 -21
|
@@ -1,1033 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
return it && it.Math == Math && it;
|
|
5
|
-
};
|
|
6
|
-
|
|
7
|
-
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
8
|
-
var global$o =
|
|
9
|
-
// eslint-disable-next-line es/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
|
-
|
|
20
|
-
var fails$9 = function (exec) {
|
|
21
|
-
try {
|
|
22
|
-
return !!exec();
|
|
23
|
-
} catch (error) {
|
|
24
|
-
return true;
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
var fails$8 = fails$9;
|
|
29
|
-
|
|
30
|
-
// Detect IE8's incomplete defineProperty implementation
|
|
31
|
-
var descriptors = !fails$8(function () {
|
|
32
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
33
|
-
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
34
|
-
});
|
|
35
|
-
|
|
36
|
-
var fails$7 = fails$9;
|
|
37
|
-
|
|
38
|
-
var functionBindNative = !fails$7(function () {
|
|
39
|
-
var test = (function () { /* empty */ }).bind();
|
|
40
|
-
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
41
|
-
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
42
|
-
});
|
|
43
|
-
|
|
44
|
-
var NATIVE_BIND$1 = functionBindNative;
|
|
45
|
-
|
|
46
|
-
var call$5 = Function.prototype.call;
|
|
47
|
-
|
|
48
|
-
var functionCall = NATIVE_BIND$1 ? call$5.bind(call$5) : function () {
|
|
49
|
-
return call$5.apply(call$5, arguments);
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
var objectPropertyIsEnumerable = {};
|
|
53
|
-
|
|
54
|
-
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
55
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
56
|
-
var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
57
|
-
|
|
58
|
-
// Nashorn ~ JDK8 bug
|
|
59
|
-
var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
|
|
60
|
-
|
|
61
|
-
// `Object.prototype.propertyIsEnumerable` method implementation
|
|
62
|
-
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
|
|
63
|
-
objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
64
|
-
var descriptor = getOwnPropertyDescriptor$1(this, V);
|
|
65
|
-
return !!descriptor && descriptor.enumerable;
|
|
66
|
-
} : $propertyIsEnumerable;
|
|
67
|
-
|
|
68
|
-
var createPropertyDescriptor$3 = function (bitmap, value) {
|
|
69
|
-
return {
|
|
70
|
-
enumerable: !(bitmap & 1),
|
|
71
|
-
configurable: !(bitmap & 2),
|
|
72
|
-
writable: !(bitmap & 4),
|
|
73
|
-
value: value
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
|
|
77
|
-
var NATIVE_BIND = functionBindNative;
|
|
78
|
-
|
|
79
|
-
var FunctionPrototype$1 = Function.prototype;
|
|
80
|
-
var bind = FunctionPrototype$1.bind;
|
|
81
|
-
var call$4 = FunctionPrototype$1.call;
|
|
82
|
-
var uncurryThis$a = NATIVE_BIND && bind.bind(call$4, call$4);
|
|
83
|
-
|
|
84
|
-
var functionUncurryThis = NATIVE_BIND ? function (fn) {
|
|
85
|
-
return fn && uncurryThis$a(fn);
|
|
86
|
-
} : function (fn) {
|
|
87
|
-
return fn && function () {
|
|
88
|
-
return call$4.apply(fn, arguments);
|
|
89
|
-
};
|
|
90
|
-
};
|
|
91
|
-
|
|
92
|
-
var uncurryThis$9 = functionUncurryThis;
|
|
93
|
-
|
|
94
|
-
var toString$1 = uncurryThis$9({}.toString);
|
|
95
|
-
var stringSlice = uncurryThis$9(''.slice);
|
|
96
|
-
|
|
97
|
-
var classofRaw = function (it) {
|
|
98
|
-
return stringSlice(toString$1(it), 8, -1);
|
|
99
|
-
};
|
|
100
|
-
|
|
101
|
-
var global$n = global$o;
|
|
102
|
-
var uncurryThis$8 = functionUncurryThis;
|
|
103
|
-
var fails$6 = fails$9;
|
|
104
|
-
var classof = classofRaw;
|
|
105
|
-
|
|
106
|
-
var Object$4 = global$n.Object;
|
|
107
|
-
var split = uncurryThis$8(''.split);
|
|
108
|
-
|
|
109
|
-
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
110
|
-
var indexedObject = fails$6(function () {
|
|
111
|
-
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
112
|
-
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
113
|
-
return !Object$4('z').propertyIsEnumerable(0);
|
|
114
|
-
}) ? function (it) {
|
|
115
|
-
return classof(it) == 'String' ? split(it, '') : Object$4(it);
|
|
116
|
-
} : Object$4;
|
|
117
|
-
|
|
118
|
-
var global$m = global$o;
|
|
119
|
-
|
|
120
|
-
var TypeError$7 = global$m.TypeError;
|
|
121
|
-
|
|
122
|
-
// `RequireObjectCoercible` abstract operation
|
|
123
|
-
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
124
|
-
var requireObjectCoercible$2 = function (it) {
|
|
125
|
-
if (it == undefined) throw TypeError$7("Can't call method on " + it);
|
|
126
|
-
return it;
|
|
127
|
-
};
|
|
128
|
-
|
|
129
|
-
// toObject with fallback for non-array-like ES3 strings
|
|
130
|
-
var IndexedObject = indexedObject;
|
|
131
|
-
var requireObjectCoercible$1 = requireObjectCoercible$2;
|
|
132
|
-
|
|
133
|
-
var toIndexedObject$5 = function (it) {
|
|
134
|
-
return IndexedObject(requireObjectCoercible$1(it));
|
|
135
|
-
};
|
|
136
|
-
|
|
137
|
-
// `IsCallable` abstract operation
|
|
138
|
-
// https://tc39.es/ecma262/#sec-iscallable
|
|
139
|
-
var isCallable$d = function (argument) {
|
|
140
|
-
return typeof argument == 'function';
|
|
141
|
-
};
|
|
142
|
-
|
|
143
|
-
var isCallable$c = isCallable$d;
|
|
144
|
-
|
|
145
|
-
var isObject$5 = function (it) {
|
|
146
|
-
return typeof it == 'object' ? it !== null : isCallable$c(it);
|
|
147
|
-
};
|
|
148
|
-
|
|
149
|
-
var global$l = global$o;
|
|
150
|
-
var isCallable$b = isCallable$d;
|
|
151
|
-
|
|
152
|
-
var aFunction = function (argument) {
|
|
153
|
-
return isCallable$b(argument) ? argument : undefined;
|
|
154
|
-
};
|
|
155
|
-
|
|
156
|
-
var getBuiltIn$4 = function (namespace, method) {
|
|
157
|
-
return arguments.length < 2 ? aFunction(global$l[namespace]) : global$l[namespace] && global$l[namespace][method];
|
|
158
|
-
};
|
|
159
|
-
|
|
160
|
-
var uncurryThis$7 = functionUncurryThis;
|
|
161
|
-
|
|
162
|
-
var objectIsPrototypeOf = uncurryThis$7({}.isPrototypeOf);
|
|
163
|
-
|
|
164
|
-
var getBuiltIn$3 = getBuiltIn$4;
|
|
165
|
-
|
|
166
|
-
var engineUserAgent = getBuiltIn$3('navigator', 'userAgent') || '';
|
|
167
|
-
|
|
168
|
-
var global$k = global$o;
|
|
169
|
-
var userAgent = engineUserAgent;
|
|
170
|
-
|
|
171
|
-
var process = global$k.process;
|
|
172
|
-
var Deno = global$k.Deno;
|
|
173
|
-
var versions = process && process.versions || Deno && Deno.version;
|
|
174
|
-
var v8 = versions && versions.v8;
|
|
175
|
-
var match, version;
|
|
176
|
-
|
|
177
|
-
if (v8) {
|
|
178
|
-
match = v8.split('.');
|
|
179
|
-
// in old Chrome, versions of V8 isn't V8 = Chrome / 10
|
|
180
|
-
// but their correct versions are not interesting for us
|
|
181
|
-
version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
|
|
185
|
-
// so check `userAgent` even if `.v8` exists, but 0
|
|
186
|
-
if (!version && userAgent) {
|
|
187
|
-
match = userAgent.match(/Edge\/(\d+)/);
|
|
188
|
-
if (!match || match[1] >= 74) {
|
|
189
|
-
match = userAgent.match(/Chrome\/(\d+)/);
|
|
190
|
-
if (match) version = +match[1];
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
var engineV8Version = version;
|
|
195
|
-
|
|
196
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
|
197
|
-
|
|
198
|
-
var V8_VERSION = engineV8Version;
|
|
199
|
-
var fails$5 = fails$9;
|
|
200
|
-
|
|
201
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
202
|
-
var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$5(function () {
|
|
203
|
-
var symbol = Symbol();
|
|
204
|
-
// Chrome 38 Symbol has incorrect toString conversion
|
|
205
|
-
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
206
|
-
return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
207
|
-
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
208
|
-
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
|
|
209
|
-
});
|
|
210
|
-
|
|
211
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
|
212
|
-
|
|
213
|
-
var NATIVE_SYMBOL$1 = nativeSymbol;
|
|
214
|
-
|
|
215
|
-
var useSymbolAsUid = NATIVE_SYMBOL$1
|
|
216
|
-
&& !Symbol.sham
|
|
217
|
-
&& typeof Symbol.iterator == 'symbol';
|
|
218
|
-
|
|
219
|
-
var global$j = global$o;
|
|
220
|
-
var getBuiltIn$2 = getBuiltIn$4;
|
|
221
|
-
var isCallable$a = isCallable$d;
|
|
222
|
-
var isPrototypeOf = objectIsPrototypeOf;
|
|
223
|
-
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
224
|
-
|
|
225
|
-
var Object$3 = global$j.Object;
|
|
226
|
-
|
|
227
|
-
var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
228
|
-
return typeof it == 'symbol';
|
|
229
|
-
} : function (it) {
|
|
230
|
-
var $Symbol = getBuiltIn$2('Symbol');
|
|
231
|
-
return isCallable$a($Symbol) && isPrototypeOf($Symbol.prototype, Object$3(it));
|
|
232
|
-
};
|
|
233
|
-
|
|
234
|
-
var global$i = global$o;
|
|
235
|
-
|
|
236
|
-
var String$3 = global$i.String;
|
|
237
|
-
|
|
238
|
-
var tryToString$1 = function (argument) {
|
|
239
|
-
try {
|
|
240
|
-
return String$3(argument);
|
|
241
|
-
} catch (error) {
|
|
242
|
-
return 'Object';
|
|
243
|
-
}
|
|
244
|
-
};
|
|
245
|
-
|
|
246
|
-
var global$h = global$o;
|
|
247
|
-
var isCallable$9 = isCallable$d;
|
|
248
|
-
var tryToString = tryToString$1;
|
|
249
|
-
|
|
250
|
-
var TypeError$6 = global$h.TypeError;
|
|
251
|
-
|
|
252
|
-
// `Assert: IsCallable(argument) is true`
|
|
253
|
-
var aCallable$1 = function (argument) {
|
|
254
|
-
if (isCallable$9(argument)) return argument;
|
|
255
|
-
throw TypeError$6(tryToString(argument) + ' is not a function');
|
|
256
|
-
};
|
|
257
|
-
|
|
258
|
-
var aCallable = aCallable$1;
|
|
259
|
-
|
|
260
|
-
// `GetMethod` abstract operation
|
|
261
|
-
// https://tc39.es/ecma262/#sec-getmethod
|
|
262
|
-
var getMethod$1 = function (V, P) {
|
|
263
|
-
var func = V[P];
|
|
264
|
-
return func == null ? undefined : aCallable(func);
|
|
265
|
-
};
|
|
266
|
-
|
|
267
|
-
var global$g = global$o;
|
|
268
|
-
var call$3 = functionCall;
|
|
269
|
-
var isCallable$8 = isCallable$d;
|
|
270
|
-
var isObject$4 = isObject$5;
|
|
271
|
-
|
|
272
|
-
var TypeError$5 = global$g.TypeError;
|
|
273
|
-
|
|
274
|
-
// `OrdinaryToPrimitive` abstract operation
|
|
275
|
-
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
276
|
-
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
277
|
-
var fn, val;
|
|
278
|
-
if (pref === 'string' && isCallable$8(fn = input.toString) && !isObject$4(val = call$3(fn, input))) return val;
|
|
279
|
-
if (isCallable$8(fn = input.valueOf) && !isObject$4(val = call$3(fn, input))) return val;
|
|
280
|
-
if (pref !== 'string' && isCallable$8(fn = input.toString) && !isObject$4(val = call$3(fn, input))) return val;
|
|
281
|
-
throw TypeError$5("Can't convert object to primitive value");
|
|
282
|
-
};
|
|
283
|
-
|
|
284
|
-
var shared$3 = {exports: {}};
|
|
285
|
-
|
|
286
|
-
var global$f = global$o;
|
|
287
|
-
|
|
288
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
289
|
-
var defineProperty$2 = Object.defineProperty;
|
|
290
|
-
|
|
291
|
-
var setGlobal$3 = function (key, value) {
|
|
292
|
-
try {
|
|
293
|
-
defineProperty$2(global$f, key, { value: value, configurable: true, writable: true });
|
|
294
|
-
} catch (error) {
|
|
295
|
-
global$f[key] = value;
|
|
296
|
-
} return value;
|
|
297
|
-
};
|
|
298
|
-
|
|
299
|
-
var global$e = global$o;
|
|
300
|
-
var setGlobal$2 = setGlobal$3;
|
|
301
|
-
|
|
302
|
-
var SHARED = '__core-js_shared__';
|
|
303
|
-
var store$3 = global$e[SHARED] || setGlobal$2(SHARED, {});
|
|
304
|
-
|
|
305
|
-
var sharedStore = store$3;
|
|
306
|
-
|
|
307
|
-
var store$2 = sharedStore;
|
|
308
|
-
|
|
309
|
-
(shared$3.exports = function (key, value) {
|
|
310
|
-
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
|
311
|
-
})('versions', []).push({
|
|
312
|
-
version: '3.21.0',
|
|
313
|
-
mode: 'global',
|
|
314
|
-
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
315
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.21.0/LICENSE',
|
|
316
|
-
source: 'https://github.com/zloirock/core-js'
|
|
317
|
-
});
|
|
318
|
-
|
|
319
|
-
var global$d = global$o;
|
|
320
|
-
var requireObjectCoercible = requireObjectCoercible$2;
|
|
321
|
-
|
|
322
|
-
var Object$2 = global$d.Object;
|
|
323
|
-
|
|
324
|
-
// `ToObject` abstract operation
|
|
325
|
-
// https://tc39.es/ecma262/#sec-toobject
|
|
326
|
-
var toObject$2 = function (argument) {
|
|
327
|
-
return Object$2(requireObjectCoercible(argument));
|
|
328
|
-
};
|
|
329
|
-
|
|
330
|
-
var uncurryThis$6 = functionUncurryThis;
|
|
331
|
-
var toObject$1 = toObject$2;
|
|
332
|
-
|
|
333
|
-
var hasOwnProperty = uncurryThis$6({}.hasOwnProperty);
|
|
334
|
-
|
|
335
|
-
// `HasOwnProperty` abstract operation
|
|
336
|
-
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
337
|
-
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
338
|
-
return hasOwnProperty(toObject$1(it), key);
|
|
339
|
-
};
|
|
340
|
-
|
|
341
|
-
var uncurryThis$5 = functionUncurryThis;
|
|
342
|
-
|
|
343
|
-
var id = 0;
|
|
344
|
-
var postfix = Math.random();
|
|
345
|
-
var toString = uncurryThis$5(1.0.toString);
|
|
346
|
-
|
|
347
|
-
var uid$2 = function (key) {
|
|
348
|
-
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
|
349
|
-
};
|
|
350
|
-
|
|
351
|
-
var global$c = global$o;
|
|
352
|
-
var shared$2 = shared$3.exports;
|
|
353
|
-
var hasOwn$8 = hasOwnProperty_1;
|
|
354
|
-
var uid$1 = uid$2;
|
|
355
|
-
var NATIVE_SYMBOL = nativeSymbol;
|
|
356
|
-
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
357
|
-
|
|
358
|
-
var WellKnownSymbolsStore = shared$2('wks');
|
|
359
|
-
var Symbol$1 = global$c.Symbol;
|
|
360
|
-
var symbolFor = Symbol$1 && Symbol$1['for'];
|
|
361
|
-
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
|
|
362
|
-
|
|
363
|
-
var wellKnownSymbol$6 = function (name) {
|
|
364
|
-
if (!hasOwn$8(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
|
|
365
|
-
var description = 'Symbol.' + name;
|
|
366
|
-
if (NATIVE_SYMBOL && hasOwn$8(Symbol$1, name)) {
|
|
367
|
-
WellKnownSymbolsStore[name] = Symbol$1[name];
|
|
368
|
-
} else if (USE_SYMBOL_AS_UID && symbolFor) {
|
|
369
|
-
WellKnownSymbolsStore[name] = symbolFor(description);
|
|
370
|
-
} else {
|
|
371
|
-
WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
|
|
372
|
-
}
|
|
373
|
-
} return WellKnownSymbolsStore[name];
|
|
374
|
-
};
|
|
375
|
-
|
|
376
|
-
var global$b = global$o;
|
|
377
|
-
var call$2 = functionCall;
|
|
378
|
-
var isObject$3 = isObject$5;
|
|
379
|
-
var isSymbol$1 = isSymbol$2;
|
|
380
|
-
var getMethod = getMethod$1;
|
|
381
|
-
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
382
|
-
var wellKnownSymbol$5 = wellKnownSymbol$6;
|
|
383
|
-
|
|
384
|
-
var TypeError$4 = global$b.TypeError;
|
|
385
|
-
var TO_PRIMITIVE = wellKnownSymbol$5('toPrimitive');
|
|
386
|
-
|
|
387
|
-
// `ToPrimitive` abstract operation
|
|
388
|
-
// https://tc39.es/ecma262/#sec-toprimitive
|
|
389
|
-
var toPrimitive$1 = function (input, pref) {
|
|
390
|
-
if (!isObject$3(input) || isSymbol$1(input)) return input;
|
|
391
|
-
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
|
|
392
|
-
var result;
|
|
393
|
-
if (exoticToPrim) {
|
|
394
|
-
if (pref === undefined) pref = 'default';
|
|
395
|
-
result = call$2(exoticToPrim, input, pref);
|
|
396
|
-
if (!isObject$3(result) || isSymbol$1(result)) return result;
|
|
397
|
-
throw TypeError$4("Can't convert object to primitive value");
|
|
398
|
-
}
|
|
399
|
-
if (pref === undefined) pref = 'number';
|
|
400
|
-
return ordinaryToPrimitive(input, pref);
|
|
401
|
-
};
|
|
402
|
-
|
|
403
|
-
var toPrimitive = toPrimitive$1;
|
|
404
|
-
var isSymbol = isSymbol$2;
|
|
405
|
-
|
|
406
|
-
// `ToPropertyKey` abstract operation
|
|
407
|
-
// https://tc39.es/ecma262/#sec-topropertykey
|
|
408
|
-
var toPropertyKey$2 = function (argument) {
|
|
409
|
-
var key = toPrimitive(argument, 'string');
|
|
410
|
-
return isSymbol(key) ? key : key + '';
|
|
411
|
-
};
|
|
412
|
-
|
|
413
|
-
var global$a = global$o;
|
|
414
|
-
var isObject$2 = isObject$5;
|
|
415
|
-
|
|
416
|
-
var document$1 = global$a.document;
|
|
417
|
-
// typeof document.createElement is 'object' in old IE
|
|
418
|
-
var EXISTS$1 = isObject$2(document$1) && isObject$2(document$1.createElement);
|
|
419
|
-
|
|
420
|
-
var documentCreateElement$2 = function (it) {
|
|
421
|
-
return EXISTS$1 ? document$1.createElement(it) : {};
|
|
422
|
-
};
|
|
423
|
-
|
|
424
|
-
var DESCRIPTORS$7 = descriptors;
|
|
425
|
-
var fails$4 = fails$9;
|
|
426
|
-
var createElement = documentCreateElement$2;
|
|
427
|
-
|
|
428
|
-
// Thanks to IE8 for its funny defineProperty
|
|
429
|
-
var ie8DomDefine = !DESCRIPTORS$7 && !fails$4(function () {
|
|
430
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
431
|
-
return Object.defineProperty(createElement('div'), 'a', {
|
|
432
|
-
get: function () { return 7; }
|
|
433
|
-
}).a != 7;
|
|
434
|
-
});
|
|
435
|
-
|
|
436
|
-
var DESCRIPTORS$6 = descriptors;
|
|
437
|
-
var call$1 = functionCall;
|
|
438
|
-
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
439
|
-
var createPropertyDescriptor$2 = createPropertyDescriptor$3;
|
|
440
|
-
var toIndexedObject$4 = toIndexedObject$5;
|
|
441
|
-
var toPropertyKey$1 = toPropertyKey$2;
|
|
442
|
-
var hasOwn$7 = hasOwnProperty_1;
|
|
443
|
-
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
444
|
-
|
|
445
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
446
|
-
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
447
|
-
|
|
448
|
-
// `Object.getOwnPropertyDescriptor` method
|
|
449
|
-
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
450
|
-
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$6 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
|
451
|
-
O = toIndexedObject$4(O);
|
|
452
|
-
P = toPropertyKey$1(P);
|
|
453
|
-
if (IE8_DOM_DEFINE$1) try {
|
|
454
|
-
return $getOwnPropertyDescriptor$1(O, P);
|
|
455
|
-
} catch (error) { /* empty */ }
|
|
456
|
-
if (hasOwn$7(O, P)) return createPropertyDescriptor$2(!call$1(propertyIsEnumerableModule.f, O, P), O[P]);
|
|
457
|
-
};
|
|
458
|
-
|
|
459
|
-
var objectDefineProperty = {};
|
|
460
|
-
|
|
461
|
-
var DESCRIPTORS$5 = descriptors;
|
|
462
|
-
var fails$3 = fails$9;
|
|
463
|
-
|
|
464
|
-
// V8 ~ Chrome 36-
|
|
465
|
-
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
466
|
-
var v8PrototypeDefineBug = DESCRIPTORS$5 && fails$3(function () {
|
|
467
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
468
|
-
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
469
|
-
value: 42,
|
|
470
|
-
writable: false
|
|
471
|
-
}).prototype != 42;
|
|
472
|
-
});
|
|
473
|
-
|
|
474
|
-
var global$9 = global$o;
|
|
475
|
-
var isObject$1 = isObject$5;
|
|
476
|
-
|
|
477
|
-
var String$2 = global$9.String;
|
|
478
|
-
var TypeError$3 = global$9.TypeError;
|
|
479
|
-
|
|
480
|
-
// `Assert: Type(argument) is Object`
|
|
481
|
-
var anObject$5 = function (argument) {
|
|
482
|
-
if (isObject$1(argument)) return argument;
|
|
483
|
-
throw TypeError$3(String$2(argument) + ' is not an object');
|
|
484
|
-
};
|
|
485
|
-
|
|
486
|
-
var global$8 = global$o;
|
|
487
|
-
var DESCRIPTORS$4 = descriptors;
|
|
488
|
-
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
489
|
-
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
490
|
-
var anObject$4 = anObject$5;
|
|
491
|
-
var toPropertyKey = toPropertyKey$2;
|
|
492
|
-
|
|
493
|
-
var TypeError$2 = global$8.TypeError;
|
|
494
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
495
|
-
var $defineProperty = Object.defineProperty;
|
|
496
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
497
|
-
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
498
|
-
var ENUMERABLE = 'enumerable';
|
|
499
|
-
var CONFIGURABLE$1 = 'configurable';
|
|
500
|
-
var WRITABLE = 'writable';
|
|
501
|
-
|
|
502
|
-
// `Object.defineProperty` method
|
|
503
|
-
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
504
|
-
objectDefineProperty.f = DESCRIPTORS$4 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
505
|
-
anObject$4(O);
|
|
506
|
-
P = toPropertyKey(P);
|
|
507
|
-
anObject$4(Attributes);
|
|
508
|
-
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
509
|
-
var current = $getOwnPropertyDescriptor(O, P);
|
|
510
|
-
if (current && current[WRITABLE]) {
|
|
511
|
-
O[P] = Attributes.value;
|
|
512
|
-
Attributes = {
|
|
513
|
-
configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
|
|
514
|
-
enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
|
|
515
|
-
writable: false
|
|
516
|
-
};
|
|
517
|
-
}
|
|
518
|
-
} return $defineProperty(O, P, Attributes);
|
|
519
|
-
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
520
|
-
anObject$4(O);
|
|
521
|
-
P = toPropertyKey(P);
|
|
522
|
-
anObject$4(Attributes);
|
|
523
|
-
if (IE8_DOM_DEFINE) try {
|
|
524
|
-
return $defineProperty(O, P, Attributes);
|
|
525
|
-
} catch (error) { /* empty */ }
|
|
526
|
-
if ('get' in Attributes || 'set' in Attributes) throw TypeError$2('Accessors not supported');
|
|
527
|
-
if ('value' in Attributes) O[P] = Attributes.value;
|
|
528
|
-
return O;
|
|
529
|
-
};
|
|
530
|
-
|
|
531
|
-
var DESCRIPTORS$3 = descriptors;
|
|
532
|
-
var definePropertyModule$3 = objectDefineProperty;
|
|
533
|
-
var createPropertyDescriptor$1 = createPropertyDescriptor$3;
|
|
534
|
-
|
|
535
|
-
var createNonEnumerableProperty$5 = DESCRIPTORS$3 ? function (object, key, value) {
|
|
536
|
-
return definePropertyModule$3.f(object, key, createPropertyDescriptor$1(1, value));
|
|
537
|
-
} : function (object, key, value) {
|
|
538
|
-
object[key] = value;
|
|
539
|
-
return object;
|
|
540
|
-
};
|
|
541
|
-
|
|
542
|
-
var redefine$3 = {exports: {}};
|
|
543
|
-
|
|
544
|
-
var uncurryThis$4 = functionUncurryThis;
|
|
545
|
-
var isCallable$7 = isCallable$d;
|
|
546
|
-
var store$1 = sharedStore;
|
|
547
|
-
|
|
548
|
-
var functionToString = uncurryThis$4(Function.toString);
|
|
549
|
-
|
|
550
|
-
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
551
|
-
if (!isCallable$7(store$1.inspectSource)) {
|
|
552
|
-
store$1.inspectSource = function (it) {
|
|
553
|
-
return functionToString(it);
|
|
554
|
-
};
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
var inspectSource$2 = store$1.inspectSource;
|
|
558
|
-
|
|
559
|
-
var global$7 = global$o;
|
|
560
|
-
var isCallable$6 = isCallable$d;
|
|
561
|
-
var inspectSource$1 = inspectSource$2;
|
|
562
|
-
|
|
563
|
-
var WeakMap$1 = global$7.WeakMap;
|
|
564
|
-
|
|
565
|
-
var nativeWeakMap = isCallable$6(WeakMap$1) && /native code/.test(inspectSource$1(WeakMap$1));
|
|
566
|
-
|
|
567
|
-
var shared$1 = shared$3.exports;
|
|
568
|
-
var uid = uid$2;
|
|
569
|
-
|
|
570
|
-
var keys = shared$1('keys');
|
|
571
|
-
|
|
572
|
-
var sharedKey$3 = function (key) {
|
|
573
|
-
return keys[key] || (keys[key] = uid(key));
|
|
574
|
-
};
|
|
575
|
-
|
|
576
|
-
var hiddenKeys$4 = {};
|
|
577
|
-
|
|
578
|
-
var NATIVE_WEAK_MAP = nativeWeakMap;
|
|
579
|
-
var global$6 = global$o;
|
|
580
|
-
var uncurryThis$3 = functionUncurryThis;
|
|
581
|
-
var isObject = isObject$5;
|
|
582
|
-
var createNonEnumerableProperty$4 = createNonEnumerableProperty$5;
|
|
583
|
-
var hasOwn$6 = hasOwnProperty_1;
|
|
584
|
-
var shared = sharedStore;
|
|
585
|
-
var sharedKey$2 = sharedKey$3;
|
|
586
|
-
var hiddenKeys$3 = hiddenKeys$4;
|
|
587
|
-
|
|
588
|
-
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
589
|
-
var TypeError$1 = global$6.TypeError;
|
|
590
|
-
var WeakMap = global$6.WeakMap;
|
|
591
|
-
var set, get, has;
|
|
592
|
-
|
|
593
|
-
var enforce = function (it) {
|
|
594
|
-
return has(it) ? get(it) : set(it, {});
|
|
595
|
-
};
|
|
596
|
-
|
|
597
|
-
var getterFor = function (TYPE) {
|
|
598
|
-
return function (it) {
|
|
599
|
-
var state;
|
|
600
|
-
if (!isObject(it) || (state = get(it)).type !== TYPE) {
|
|
601
|
-
throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
|
602
|
-
} return state;
|
|
603
|
-
};
|
|
604
|
-
};
|
|
605
|
-
|
|
606
|
-
if (NATIVE_WEAK_MAP || shared.state) {
|
|
607
|
-
var store = shared.state || (shared.state = new WeakMap());
|
|
608
|
-
var wmget = uncurryThis$3(store.get);
|
|
609
|
-
var wmhas = uncurryThis$3(store.has);
|
|
610
|
-
var wmset = uncurryThis$3(store.set);
|
|
611
|
-
set = function (it, metadata) {
|
|
612
|
-
if (wmhas(store, it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
613
|
-
metadata.facade = it;
|
|
614
|
-
wmset(store, it, metadata);
|
|
615
|
-
return metadata;
|
|
616
|
-
};
|
|
617
|
-
get = function (it) {
|
|
618
|
-
return wmget(store, it) || {};
|
|
619
|
-
};
|
|
620
|
-
has = function (it) {
|
|
621
|
-
return wmhas(store, it);
|
|
622
|
-
};
|
|
623
|
-
} else {
|
|
624
|
-
var STATE = sharedKey$2('state');
|
|
625
|
-
hiddenKeys$3[STATE] = true;
|
|
626
|
-
set = function (it, metadata) {
|
|
627
|
-
if (hasOwn$6(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
628
|
-
metadata.facade = it;
|
|
629
|
-
createNonEnumerableProperty$4(it, STATE, metadata);
|
|
630
|
-
return metadata;
|
|
631
|
-
};
|
|
632
|
-
get = function (it) {
|
|
633
|
-
return hasOwn$6(it, STATE) ? it[STATE] : {};
|
|
634
|
-
};
|
|
635
|
-
has = function (it) {
|
|
636
|
-
return hasOwn$6(it, STATE);
|
|
637
|
-
};
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
var internalState = {
|
|
641
|
-
set: set,
|
|
642
|
-
get: get,
|
|
643
|
-
has: has,
|
|
644
|
-
enforce: enforce,
|
|
645
|
-
getterFor: getterFor
|
|
646
|
-
};
|
|
647
|
-
|
|
648
|
-
var DESCRIPTORS$2 = descriptors;
|
|
649
|
-
var hasOwn$5 = hasOwnProperty_1;
|
|
650
|
-
|
|
651
|
-
var FunctionPrototype = Function.prototype;
|
|
652
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
653
|
-
var getDescriptor = DESCRIPTORS$2 && Object.getOwnPropertyDescriptor;
|
|
654
|
-
|
|
655
|
-
var EXISTS = hasOwn$5(FunctionPrototype, 'name');
|
|
656
|
-
// additional protection from minified / mangled / dropped function names
|
|
657
|
-
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
658
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$2 || (DESCRIPTORS$2 && getDescriptor(FunctionPrototype, 'name').configurable));
|
|
659
|
-
|
|
660
|
-
var functionName = {
|
|
661
|
-
EXISTS: EXISTS,
|
|
662
|
-
PROPER: PROPER,
|
|
663
|
-
CONFIGURABLE: CONFIGURABLE
|
|
664
|
-
};
|
|
665
|
-
|
|
666
|
-
var global$5 = global$o;
|
|
667
|
-
var isCallable$5 = isCallable$d;
|
|
668
|
-
var hasOwn$4 = hasOwnProperty_1;
|
|
669
|
-
var createNonEnumerableProperty$3 = createNonEnumerableProperty$5;
|
|
670
|
-
var setGlobal$1 = setGlobal$3;
|
|
671
|
-
var inspectSource = inspectSource$2;
|
|
672
|
-
var InternalStateModule$1 = internalState;
|
|
673
|
-
var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
|
|
674
|
-
|
|
675
|
-
var getInternalState$1 = InternalStateModule$1.get;
|
|
676
|
-
var enforceInternalState = InternalStateModule$1.enforce;
|
|
677
|
-
var TEMPLATE = String(String).split('String');
|
|
678
|
-
|
|
679
|
-
(redefine$3.exports = function (O, key, value, options) {
|
|
680
|
-
var unsafe = options ? !!options.unsafe : false;
|
|
681
|
-
var simple = options ? !!options.enumerable : false;
|
|
682
|
-
var noTargetGet = options ? !!options.noTargetGet : false;
|
|
683
|
-
var name = options && options.name !== undefined ? options.name : key;
|
|
684
|
-
var state;
|
|
685
|
-
if (isCallable$5(value)) {
|
|
686
|
-
if (String(name).slice(0, 7) === 'Symbol(') {
|
|
687
|
-
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
688
|
-
}
|
|
689
|
-
if (!hasOwn$4(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
|
|
690
|
-
createNonEnumerableProperty$3(value, 'name', name);
|
|
691
|
-
}
|
|
692
|
-
state = enforceInternalState(value);
|
|
693
|
-
if (!state.source) {
|
|
694
|
-
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
695
|
-
}
|
|
696
|
-
}
|
|
697
|
-
if (O === global$5) {
|
|
698
|
-
if (simple) O[key] = value;
|
|
699
|
-
else setGlobal$1(key, value);
|
|
700
|
-
return;
|
|
701
|
-
} else if (!unsafe) {
|
|
702
|
-
delete O[key];
|
|
703
|
-
} else if (!noTargetGet && O[key]) {
|
|
704
|
-
simple = true;
|
|
705
|
-
}
|
|
706
|
-
if (simple) O[key] = value;
|
|
707
|
-
else createNonEnumerableProperty$3(O, key, value);
|
|
708
|
-
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
709
|
-
})(Function.prototype, 'toString', function toString() {
|
|
710
|
-
return isCallable$5(this) && getInternalState$1(this).source || inspectSource(this);
|
|
711
|
-
});
|
|
712
|
-
|
|
713
|
-
var objectGetOwnPropertyNames = {};
|
|
714
|
-
|
|
715
|
-
var ceil = Math.ceil;
|
|
716
|
-
var floor = Math.floor;
|
|
717
|
-
|
|
718
|
-
// `ToIntegerOrInfinity` abstract operation
|
|
719
|
-
// https://tc39.es/ecma262/#sec-tointegerorinfinity
|
|
720
|
-
var toIntegerOrInfinity$2 = function (argument) {
|
|
721
|
-
var number = +argument;
|
|
722
|
-
// eslint-disable-next-line no-self-compare -- safe
|
|
723
|
-
return number !== number || number === 0 ? 0 : (number > 0 ? floor : ceil)(number);
|
|
724
|
-
};
|
|
725
|
-
|
|
726
|
-
var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
|
|
727
|
-
|
|
728
|
-
var max = Math.max;
|
|
729
|
-
var min$1 = Math.min;
|
|
730
|
-
|
|
731
|
-
// Helper for a popular repeating case of the spec:
|
|
732
|
-
// Let integer be ? ToInteger(index).
|
|
733
|
-
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
|
|
734
|
-
var toAbsoluteIndex$1 = function (index, length) {
|
|
735
|
-
var integer = toIntegerOrInfinity$1(index);
|
|
736
|
-
return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
|
|
737
|
-
};
|
|
738
|
-
|
|
739
|
-
var toIntegerOrInfinity = toIntegerOrInfinity$2;
|
|
740
|
-
|
|
741
|
-
var min = Math.min;
|
|
742
|
-
|
|
743
|
-
// `ToLength` abstract operation
|
|
744
|
-
// https://tc39.es/ecma262/#sec-tolength
|
|
745
|
-
var toLength$1 = function (argument) {
|
|
746
|
-
return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
|
747
|
-
};
|
|
748
|
-
|
|
749
|
-
var toLength = toLength$1;
|
|
750
|
-
|
|
751
|
-
// `LengthOfArrayLike` abstract operation
|
|
752
|
-
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
|
753
|
-
var lengthOfArrayLike$1 = function (obj) {
|
|
754
|
-
return toLength(obj.length);
|
|
755
|
-
};
|
|
756
|
-
|
|
757
|
-
var toIndexedObject$3 = toIndexedObject$5;
|
|
758
|
-
var toAbsoluteIndex = toAbsoluteIndex$1;
|
|
759
|
-
var lengthOfArrayLike = lengthOfArrayLike$1;
|
|
760
|
-
|
|
761
|
-
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
762
|
-
var createMethod = function (IS_INCLUDES) {
|
|
763
|
-
return function ($this, el, fromIndex) {
|
|
764
|
-
var O = toIndexedObject$3($this);
|
|
765
|
-
var length = lengthOfArrayLike(O);
|
|
766
|
-
var index = toAbsoluteIndex(fromIndex, length);
|
|
767
|
-
var value;
|
|
768
|
-
// Array#includes uses SameValueZero equality algorithm
|
|
769
|
-
// eslint-disable-next-line no-self-compare -- NaN check
|
|
770
|
-
if (IS_INCLUDES && el != el) while (length > index) {
|
|
771
|
-
value = O[index++];
|
|
772
|
-
// eslint-disable-next-line no-self-compare -- NaN check
|
|
773
|
-
if (value != value) return true;
|
|
774
|
-
// Array#indexOf ignores holes, Array#includes - not
|
|
775
|
-
} else for (;length > index; index++) {
|
|
776
|
-
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
|
|
777
|
-
} return !IS_INCLUDES && -1;
|
|
778
|
-
};
|
|
779
|
-
};
|
|
780
|
-
|
|
781
|
-
var arrayIncludes = {
|
|
782
|
-
// `Array.prototype.includes` method
|
|
783
|
-
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
784
|
-
includes: createMethod(true),
|
|
785
|
-
// `Array.prototype.indexOf` method
|
|
786
|
-
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
|
787
|
-
indexOf: createMethod(false)
|
|
788
|
-
};
|
|
789
|
-
|
|
790
|
-
var uncurryThis$2 = functionUncurryThis;
|
|
791
|
-
var hasOwn$3 = hasOwnProperty_1;
|
|
792
|
-
var toIndexedObject$2 = toIndexedObject$5;
|
|
793
|
-
var indexOf = arrayIncludes.indexOf;
|
|
794
|
-
var hiddenKeys$2 = hiddenKeys$4;
|
|
795
|
-
|
|
796
|
-
var push = uncurryThis$2([].push);
|
|
797
|
-
|
|
798
|
-
var objectKeysInternal = function (object, names) {
|
|
799
|
-
var O = toIndexedObject$2(object);
|
|
800
|
-
var i = 0;
|
|
801
|
-
var result = [];
|
|
802
|
-
var key;
|
|
803
|
-
for (key in O) !hasOwn$3(hiddenKeys$2, key) && hasOwn$3(O, key) && push(result, key);
|
|
804
|
-
// Don't enum bug & hidden keys
|
|
805
|
-
while (names.length > i) if (hasOwn$3(O, key = names[i++])) {
|
|
806
|
-
~indexOf(result, key) || push(result, key);
|
|
807
|
-
}
|
|
808
|
-
return result;
|
|
809
|
-
};
|
|
810
|
-
|
|
811
|
-
// IE8- don't enum bug keys
|
|
812
|
-
var enumBugKeys$3 = [
|
|
813
|
-
'constructor',
|
|
814
|
-
'hasOwnProperty',
|
|
815
|
-
'isPrototypeOf',
|
|
816
|
-
'propertyIsEnumerable',
|
|
817
|
-
'toLocaleString',
|
|
818
|
-
'toString',
|
|
819
|
-
'valueOf'
|
|
820
|
-
];
|
|
821
|
-
|
|
822
|
-
var internalObjectKeys$1 = objectKeysInternal;
|
|
823
|
-
var enumBugKeys$2 = enumBugKeys$3;
|
|
824
|
-
|
|
825
|
-
var hiddenKeys$1 = enumBugKeys$2.concat('length', 'prototype');
|
|
826
|
-
|
|
827
|
-
// `Object.getOwnPropertyNames` method
|
|
828
|
-
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
829
|
-
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
|
830
|
-
objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
831
|
-
return internalObjectKeys$1(O, hiddenKeys$1);
|
|
832
|
-
};
|
|
833
|
-
|
|
834
|
-
var objectGetOwnPropertySymbols = {};
|
|
835
|
-
|
|
836
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
837
|
-
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
838
|
-
|
|
839
|
-
var getBuiltIn$1 = getBuiltIn$4;
|
|
840
|
-
var uncurryThis$1 = functionUncurryThis;
|
|
841
|
-
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
842
|
-
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
843
|
-
var anObject$3 = anObject$5;
|
|
844
|
-
|
|
845
|
-
var concat = uncurryThis$1([].concat);
|
|
846
|
-
|
|
847
|
-
// all object keys, includes non-enumerable and symbols
|
|
848
|
-
var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
849
|
-
var keys = getOwnPropertyNamesModule.f(anObject$3(it));
|
|
850
|
-
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
|
851
|
-
return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
|
|
852
|
-
};
|
|
853
|
-
|
|
854
|
-
var hasOwn$2 = hasOwnProperty_1;
|
|
855
|
-
var ownKeys = ownKeys$1;
|
|
856
|
-
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
857
|
-
var definePropertyModule$2 = objectDefineProperty;
|
|
858
|
-
|
|
859
|
-
var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
860
|
-
var keys = ownKeys(source);
|
|
861
|
-
var defineProperty = definePropertyModule$2.f;
|
|
862
|
-
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
863
|
-
for (var i = 0; i < keys.length; i++) {
|
|
864
|
-
var key = keys[i];
|
|
865
|
-
if (!hasOwn$2(target, key) && !(exceptions && hasOwn$2(exceptions, key))) {
|
|
866
|
-
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
867
|
-
}
|
|
868
|
-
}
|
|
869
|
-
};
|
|
870
|
-
|
|
871
|
-
var fails$2 = fails$9;
|
|
872
|
-
var isCallable$4 = isCallable$d;
|
|
873
|
-
|
|
874
|
-
var replacement = /#|\.prototype\./;
|
|
875
|
-
|
|
876
|
-
var isForced$1 = function (feature, detection) {
|
|
877
|
-
var value = data[normalize(feature)];
|
|
878
|
-
return value == POLYFILL ? true
|
|
879
|
-
: value == NATIVE ? false
|
|
880
|
-
: isCallable$4(detection) ? fails$2(detection)
|
|
881
|
-
: !!detection;
|
|
882
|
-
};
|
|
883
|
-
|
|
884
|
-
var normalize = isForced$1.normalize = function (string) {
|
|
885
|
-
return String(string).replace(replacement, '.').toLowerCase();
|
|
886
|
-
};
|
|
887
|
-
|
|
888
|
-
var data = isForced$1.data = {};
|
|
889
|
-
var NATIVE = isForced$1.NATIVE = 'N';
|
|
890
|
-
var POLYFILL = isForced$1.POLYFILL = 'P';
|
|
891
|
-
|
|
892
|
-
var isForced_1 = isForced$1;
|
|
893
|
-
|
|
894
|
-
var global$4 = global$o;
|
|
895
|
-
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
896
|
-
var createNonEnumerableProperty$2 = createNonEnumerableProperty$5;
|
|
897
|
-
var redefine$2 = redefine$3.exports;
|
|
898
|
-
var setGlobal = setGlobal$3;
|
|
899
|
-
var copyConstructorProperties = copyConstructorProperties$1;
|
|
900
|
-
var isForced = isForced_1;
|
|
901
|
-
|
|
902
|
-
/*
|
|
903
|
-
options.target - name of the target object
|
|
904
|
-
options.global - target is the global object
|
|
905
|
-
options.stat - export as static methods of target
|
|
906
|
-
options.proto - export as prototype methods of target
|
|
907
|
-
options.real - real prototype method for the `pure` version
|
|
908
|
-
options.forced - export even if the native feature is available
|
|
909
|
-
options.bind - bind methods to the target, required for the `pure` version
|
|
910
|
-
options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
|
|
911
|
-
options.unsafe - use the simple assignment of property instead of delete + defineProperty
|
|
912
|
-
options.sham - add a flag to not completely full polyfills
|
|
913
|
-
options.enumerable - export as enumerable property
|
|
914
|
-
options.noTargetGet - prevent calling a getter on target
|
|
915
|
-
options.name - the .name of the function if it does not match the key
|
|
916
|
-
*/
|
|
917
|
-
var _export = function (options, source) {
|
|
918
|
-
var TARGET = options.target;
|
|
919
|
-
var GLOBAL = options.global;
|
|
920
|
-
var STATIC = options.stat;
|
|
921
|
-
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
922
|
-
if (GLOBAL) {
|
|
923
|
-
target = global$4;
|
|
924
|
-
} else if (STATIC) {
|
|
925
|
-
target = global$4[TARGET] || setGlobal(TARGET, {});
|
|
926
|
-
} else {
|
|
927
|
-
target = (global$4[TARGET] || {}).prototype;
|
|
928
|
-
}
|
|
929
|
-
if (target) for (key in source) {
|
|
930
|
-
sourceProperty = source[key];
|
|
931
|
-
if (options.noTargetGet) {
|
|
932
|
-
descriptor = getOwnPropertyDescriptor(target, key);
|
|
933
|
-
targetProperty = descriptor && descriptor.value;
|
|
934
|
-
} else targetProperty = target[key];
|
|
935
|
-
FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
|
|
936
|
-
// contained in target
|
|
937
|
-
if (!FORCED && targetProperty !== undefined) {
|
|
938
|
-
if (typeof sourceProperty == typeof targetProperty) continue;
|
|
939
|
-
copyConstructorProperties(sourceProperty, targetProperty);
|
|
940
|
-
}
|
|
941
|
-
// add a flag to not completely full polyfills
|
|
942
|
-
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
943
|
-
createNonEnumerableProperty$2(sourceProperty, 'sham', true);
|
|
944
|
-
}
|
|
945
|
-
// extend global
|
|
946
|
-
redefine$2(target, key, sourceProperty, options);
|
|
947
|
-
}
|
|
948
|
-
};
|
|
949
|
-
|
|
950
|
-
var global$3 = global$o;
|
|
951
|
-
var isCallable$3 = isCallable$d;
|
|
952
|
-
|
|
953
|
-
var String$1 = global$3.String;
|
|
954
|
-
var TypeError = global$3.TypeError;
|
|
955
|
-
|
|
956
|
-
var aPossiblePrototype$1 = function (argument) {
|
|
957
|
-
if (typeof argument == 'object' || isCallable$3(argument)) return argument;
|
|
958
|
-
throw TypeError("Can't set " + String$1(argument) + ' as a prototype');
|
|
959
|
-
};
|
|
960
|
-
|
|
961
|
-
/* eslint-disable no-proto -- safe */
|
|
962
|
-
|
|
963
|
-
var uncurryThis = functionUncurryThis;
|
|
964
|
-
var anObject$2 = anObject$5;
|
|
965
|
-
var aPossiblePrototype = aPossiblePrototype$1;
|
|
966
|
-
|
|
967
|
-
// `Object.setPrototypeOf` method
|
|
968
|
-
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
|
969
|
-
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
970
|
-
// eslint-disable-next-line es/no-object-setprototypeof -- safe
|
|
971
|
-
var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
972
|
-
var CORRECT_SETTER = false;
|
|
973
|
-
var test = {};
|
|
974
|
-
var setter;
|
|
975
|
-
try {
|
|
976
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
977
|
-
setter = uncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
978
|
-
setter(test, []);
|
|
979
|
-
CORRECT_SETTER = test instanceof Array;
|
|
980
|
-
} catch (error) { /* empty */ }
|
|
981
|
-
return function setPrototypeOf(O, proto) {
|
|
982
|
-
anObject$2(O);
|
|
983
|
-
aPossiblePrototype(proto);
|
|
984
|
-
if (CORRECT_SETTER) setter(O, proto);
|
|
985
|
-
else O.__proto__ = proto;
|
|
986
|
-
return O;
|
|
987
|
-
};
|
|
988
|
-
}() : undefined);
|
|
989
|
-
|
|
990
|
-
var defineProperty$1 = objectDefineProperty.f;
|
|
991
|
-
var hasOwn$1 = hasOwnProperty_1;
|
|
992
|
-
var wellKnownSymbol$4 = wellKnownSymbol$6;
|
|
993
|
-
|
|
994
|
-
var TO_STRING_TAG$1 = wellKnownSymbol$4('toStringTag');
|
|
995
|
-
|
|
996
|
-
var setToStringTag$2 = function (target, TAG, STATIC) {
|
|
997
|
-
if (target && !STATIC) target = target.prototype;
|
|
998
|
-
if (target && !hasOwn$1(target, TO_STRING_TAG$1)) {
|
|
999
|
-
defineProperty$1(target, TO_STRING_TAG$1, { configurable: true, value: TAG });
|
|
1000
|
-
}
|
|
1001
|
-
};
|
|
1002
|
-
|
|
1003
|
-
var iterators = {};
|
|
1004
|
-
|
|
1005
|
-
var getBuiltIn = getBuiltIn$4;
|
|
1006
|
-
|
|
1007
|
-
var html$1 = getBuiltIn('document', 'documentElement');
|
|
1
|
+
import { d as descriptors, D as v8PrototypeDefineBug, o as objectDefineProperty, j as anObject$2, E as toIndexedObject$2, F as hiddenKeys$1, G as sharedKey$2, H as enumBugKeys$1, n as documentCreateElement$2, w as wellKnownSymbol$4, e as fails$2, p as hasOwnProperty_1, i as isCallable$3, I as toObject$1, u as defineBuiltIn$2, J as createPropertyDescriptor$1, _ as _export, K as createNonEnumerableProperty$2, v as functionCall, C as functionName, y as internalState, g as global$1 } from './export.js';
|
|
2
|
+
import { o as objectKeys$1 } from './object-keys.js';
|
|
3
|
+
import { h as html$1, s as setToStringTag$2, i as iterators, o as objectSetPrototypeOf } from './iterators.js';
|
|
1008
4
|
|
|
1009
5
|
var objectDefineProperties = {};
|
|
1010
6
|
|
|
1011
|
-
var internalObjectKeys = objectKeysInternal;
|
|
1012
|
-
var enumBugKeys$1 = enumBugKeys$3;
|
|
1013
|
-
|
|
1014
|
-
// `Object.keys` method
|
|
1015
|
-
// https://tc39.es/ecma262/#sec-object.keys
|
|
1016
|
-
// eslint-disable-next-line es/no-object-keys -- safe
|
|
1017
|
-
var objectKeys$1 = Object.keys || function keys(O) {
|
|
1018
|
-
return internalObjectKeys(O, enumBugKeys$1);
|
|
1019
|
-
};
|
|
1020
|
-
|
|
1021
7
|
var DESCRIPTORS$1 = descriptors;
|
|
1022
8
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
1023
|
-
var definePropertyModule
|
|
1024
|
-
var anObject$1 = anObject$
|
|
1025
|
-
var toIndexedObject$1 = toIndexedObject$
|
|
9
|
+
var definePropertyModule = objectDefineProperty;
|
|
10
|
+
var anObject$1 = anObject$2;
|
|
11
|
+
var toIndexedObject$1 = toIndexedObject$2;
|
|
1026
12
|
var objectKeys = objectKeys$1;
|
|
1027
13
|
|
|
1028
14
|
// `Object.defineProperties` method
|
|
1029
15
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
1030
|
-
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
16
|
+
// eslint-disable-next-line es-x/no-object-defineproperties -- safe
|
|
1031
17
|
objectDefineProperties.f = DESCRIPTORS$1 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
1032
18
|
anObject$1(O);
|
|
1033
19
|
var props = toIndexedObject$1(Properties);
|
|
@@ -1035,19 +21,19 @@ objectDefineProperties.f = DESCRIPTORS$1 && !V8_PROTOTYPE_DEFINE_BUG ? Object.de
|
|
|
1035
21
|
var length = keys.length;
|
|
1036
22
|
var index = 0;
|
|
1037
23
|
var key;
|
|
1038
|
-
while (length > index) definePropertyModule
|
|
24
|
+
while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
|
|
1039
25
|
return O;
|
|
1040
26
|
};
|
|
1041
27
|
|
|
1042
28
|
/* global ActiveXObject -- old IE, WSH */
|
|
1043
29
|
|
|
1044
|
-
var anObject = anObject$
|
|
30
|
+
var anObject = anObject$2;
|
|
1045
31
|
var definePropertiesModule = objectDefineProperties;
|
|
1046
|
-
var enumBugKeys = enumBugKeys$
|
|
1047
|
-
var hiddenKeys = hiddenKeys$
|
|
32
|
+
var enumBugKeys = enumBugKeys$1;
|
|
33
|
+
var hiddenKeys = hiddenKeys$1;
|
|
1048
34
|
var html = html$1;
|
|
1049
35
|
var documentCreateElement$1 = documentCreateElement$2;
|
|
1050
|
-
var sharedKey$1 = sharedKey$
|
|
36
|
+
var sharedKey$1 = sharedKey$2;
|
|
1051
37
|
|
|
1052
38
|
var GT = '>';
|
|
1053
39
|
var LT = '<';
|
|
@@ -1111,6 +97,7 @@ hiddenKeys[IE_PROTO$1] = true;
|
|
|
1111
97
|
|
|
1112
98
|
// `Object.create` method
|
|
1113
99
|
// https://tc39.es/ecma262/#sec-object.create
|
|
100
|
+
// eslint-disable-next-line es-x/no-object-create -- safe
|
|
1114
101
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
1115
102
|
var result;
|
|
1116
103
|
if (O !== null) {
|
|
@@ -1123,9 +110,9 @@ var objectCreate = Object.create || function create(O, Properties) {
|
|
|
1123
110
|
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
1124
111
|
};
|
|
1125
112
|
|
|
1126
|
-
var wellKnownSymbol$3 = wellKnownSymbol$
|
|
113
|
+
var wellKnownSymbol$3 = wellKnownSymbol$4;
|
|
1127
114
|
var create$1 = objectCreate;
|
|
1128
|
-
var
|
|
115
|
+
var defineProperty$1 = objectDefineProperty.f;
|
|
1129
116
|
|
|
1130
117
|
var UNSCOPABLES = wellKnownSymbol$3('unscopables');
|
|
1131
118
|
var ArrayPrototype = Array.prototype;
|
|
@@ -1133,7 +120,7 @@ var ArrayPrototype = Array.prototype;
|
|
|
1133
120
|
// Array.prototype[@@unscopables]
|
|
1134
121
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
1135
122
|
if (ArrayPrototype[UNSCOPABLES] == undefined) {
|
|
1136
|
-
|
|
123
|
+
defineProperty$1(ArrayPrototype, UNSCOPABLES, {
|
|
1137
124
|
configurable: true,
|
|
1138
125
|
value: create$1(null)
|
|
1139
126
|
});
|
|
@@ -1144,42 +131,42 @@ var addToUnscopables$1 = function (key) {
|
|
|
1144
131
|
ArrayPrototype[UNSCOPABLES][key] = true;
|
|
1145
132
|
};
|
|
1146
133
|
|
|
1147
|
-
var fails$1 = fails$
|
|
134
|
+
var fails$1 = fails$2;
|
|
1148
135
|
|
|
1149
136
|
var correctPrototypeGetter = !fails$1(function () {
|
|
1150
137
|
function F() { /* empty */ }
|
|
1151
138
|
F.prototype.constructor = null;
|
|
1152
|
-
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
139
|
+
// eslint-disable-next-line es-x/no-object-getprototypeof -- required for testing
|
|
1153
140
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
1154
141
|
});
|
|
1155
142
|
|
|
1156
|
-
var global$2 = global$o;
|
|
1157
143
|
var hasOwn = hasOwnProperty_1;
|
|
1158
|
-
var isCallable$2 = isCallable$
|
|
1159
|
-
var toObject = toObject$
|
|
1160
|
-
var sharedKey = sharedKey$
|
|
144
|
+
var isCallable$2 = isCallable$3;
|
|
145
|
+
var toObject = toObject$1;
|
|
146
|
+
var sharedKey = sharedKey$2;
|
|
1161
147
|
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
1162
148
|
|
|
1163
149
|
var IE_PROTO = sharedKey('IE_PROTO');
|
|
1164
|
-
var Object
|
|
1165
|
-
var ObjectPrototype = Object
|
|
150
|
+
var $Object = Object;
|
|
151
|
+
var ObjectPrototype = $Object.prototype;
|
|
1166
152
|
|
|
1167
153
|
// `Object.getPrototypeOf` method
|
|
1168
154
|
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
1169
|
-
|
|
155
|
+
// eslint-disable-next-line es-x/no-object-getprototypeof -- safe
|
|
156
|
+
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
|
|
1170
157
|
var object = toObject(O);
|
|
1171
158
|
if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];
|
|
1172
159
|
var constructor = object.constructor;
|
|
1173
160
|
if (isCallable$2(constructor) && object instanceof constructor) {
|
|
1174
161
|
return constructor.prototype;
|
|
1175
|
-
} return object instanceof Object
|
|
162
|
+
} return object instanceof $Object ? ObjectPrototype : null;
|
|
1176
163
|
};
|
|
1177
164
|
|
|
1178
|
-
var fails = fails$
|
|
1179
|
-
var isCallable$1 = isCallable$
|
|
165
|
+
var fails = fails$2;
|
|
166
|
+
var isCallable$1 = isCallable$3;
|
|
1180
167
|
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
1181
|
-
var
|
|
1182
|
-
var wellKnownSymbol$2 = wellKnownSymbol$
|
|
168
|
+
var defineBuiltIn$1 = defineBuiltIn$2;
|
|
169
|
+
var wellKnownSymbol$2 = wellKnownSymbol$4;
|
|
1183
170
|
|
|
1184
171
|
var ITERATOR$2 = wellKnownSymbol$2('iterator');
|
|
1185
172
|
var BUGGY_SAFARI_ITERATORS$1 = false;
|
|
@@ -1188,7 +175,7 @@ var BUGGY_SAFARI_ITERATORS$1 = false;
|
|
|
1188
175
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
|
|
1189
176
|
var IteratorPrototype$2, PrototypeOfArrayIteratorPrototype, arrayIterator;
|
|
1190
177
|
|
|
1191
|
-
/* eslint-disable es/no-array-prototype-keys -- safe */
|
|
178
|
+
/* eslint-disable es-x/no-array-prototype-keys -- safe */
|
|
1192
179
|
if ([].keys) {
|
|
1193
180
|
arrayIterator = [].keys();
|
|
1194
181
|
// Safari 8 has buggy iterators w/o `next`
|
|
@@ -1210,7 +197,7 @@ if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
|
|
|
1210
197
|
// `%IteratorPrototype%[@@iterator]()` method
|
|
1211
198
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
|
1212
199
|
if (!isCallable$1(IteratorPrototype$2[ITERATOR$2])) {
|
|
1213
|
-
|
|
200
|
+
defineBuiltIn$1(IteratorPrototype$2, ITERATOR$2, function () {
|
|
1214
201
|
return this;
|
|
1215
202
|
});
|
|
1216
203
|
}
|
|
@@ -1222,7 +209,7 @@ var iteratorsCore = {
|
|
|
1222
209
|
|
|
1223
210
|
var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
|
|
1224
211
|
var create = objectCreate;
|
|
1225
|
-
var createPropertyDescriptor = createPropertyDescriptor$
|
|
212
|
+
var createPropertyDescriptor = createPropertyDescriptor$1;
|
|
1226
213
|
var setToStringTag$1 = setToStringTag$2;
|
|
1227
214
|
var Iterators$2 = iterators;
|
|
1228
215
|
|
|
@@ -1239,14 +226,14 @@ var createIteratorConstructor$1 = function (IteratorConstructor, NAME, next, ENU
|
|
|
1239
226
|
var $ = _export;
|
|
1240
227
|
var call = functionCall;
|
|
1241
228
|
var FunctionName = functionName;
|
|
1242
|
-
var isCallable = isCallable$
|
|
229
|
+
var isCallable = isCallable$3;
|
|
1243
230
|
var createIteratorConstructor = createIteratorConstructor$1;
|
|
1244
231
|
var getPrototypeOf = objectGetPrototypeOf;
|
|
1245
232
|
var setPrototypeOf = objectSetPrototypeOf;
|
|
1246
233
|
var setToStringTag = setToStringTag$2;
|
|
1247
|
-
var createNonEnumerableProperty$1 = createNonEnumerableProperty$
|
|
1248
|
-
var
|
|
1249
|
-
var wellKnownSymbol$1 = wellKnownSymbol$
|
|
234
|
+
var createNonEnumerableProperty$1 = createNonEnumerableProperty$2;
|
|
235
|
+
var defineBuiltIn = defineBuiltIn$2;
|
|
236
|
+
var wellKnownSymbol$1 = wellKnownSymbol$4;
|
|
1250
237
|
var Iterators$1 = iterators;
|
|
1251
238
|
var IteratorsCore = iteratorsCore;
|
|
1252
239
|
|
|
@@ -1292,7 +279,7 @@ var defineIterator$1 = function (Iterable, NAME, IteratorConstructor, next, DEFA
|
|
|
1292
279
|
if (setPrototypeOf) {
|
|
1293
280
|
setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
|
|
1294
281
|
} else if (!isCallable(CurrentIteratorPrototype[ITERATOR$1])) {
|
|
1295
|
-
|
|
282
|
+
defineBuiltIn(CurrentIteratorPrototype, ITERATOR$1, returnThis);
|
|
1296
283
|
}
|
|
1297
284
|
}
|
|
1298
285
|
// Set @@toStringTag to native iterators
|
|
@@ -1319,21 +306,21 @@ var defineIterator$1 = function (Iterable, NAME, IteratorConstructor, next, DEFA
|
|
|
1319
306
|
};
|
|
1320
307
|
if (FORCED) for (KEY in methods) {
|
|
1321
308
|
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
|
1322
|
-
|
|
309
|
+
defineBuiltIn(IterablePrototype, KEY, methods[KEY]);
|
|
1323
310
|
}
|
|
1324
311
|
} else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
|
|
1325
312
|
}
|
|
1326
313
|
|
|
1327
314
|
// define iterator
|
|
1328
315
|
if (IterablePrototype[ITERATOR$1] !== defaultIterator) {
|
|
1329
|
-
|
|
316
|
+
defineBuiltIn(IterablePrototype, ITERATOR$1, defaultIterator, { name: DEFAULT });
|
|
1330
317
|
}
|
|
1331
318
|
Iterators$1[NAME] = defaultIterator;
|
|
1332
319
|
|
|
1333
320
|
return methods;
|
|
1334
321
|
};
|
|
1335
322
|
|
|
1336
|
-
var toIndexedObject = toIndexedObject$
|
|
323
|
+
var toIndexedObject = toIndexedObject$2;
|
|
1337
324
|
var addToUnscopables = addToUnscopables$1;
|
|
1338
325
|
var Iterators = iterators;
|
|
1339
326
|
var InternalStateModule = internalState;
|
|
@@ -1437,12 +424,12 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
|
|
|
1437
424
|
|
|
1438
425
|
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
|
1439
426
|
|
|
1440
|
-
var global
|
|
427
|
+
var global = global$1;
|
|
1441
428
|
var DOMIterables = domIterables;
|
|
1442
429
|
var DOMTokenListPrototype = domTokenListPrototype;
|
|
1443
430
|
var ArrayIteratorMethods = es_array_iterator;
|
|
1444
|
-
var createNonEnumerableProperty = createNonEnumerableProperty$
|
|
1445
|
-
var wellKnownSymbol = wellKnownSymbol$
|
|
431
|
+
var createNonEnumerableProperty = createNonEnumerableProperty$2;
|
|
432
|
+
var wellKnownSymbol = wellKnownSymbol$4;
|
|
1446
433
|
|
|
1447
434
|
var ITERATOR = wellKnownSymbol('iterator');
|
|
1448
435
|
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
@@ -1471,9 +458,9 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
|
1471
458
|
};
|
|
1472
459
|
|
|
1473
460
|
for (var COLLECTION_NAME in DOMIterables) {
|
|
1474
|
-
handlePrototype(global
|
|
461
|
+
handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype, COLLECTION_NAME);
|
|
1475
462
|
}
|
|
1476
463
|
|
|
1477
464
|
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
1478
465
|
|
|
1479
|
-
export {
|
|
466
|
+
export { objectCreate as o };
|