@beeq/tailwindcss 1.12.4-beta.2 → 1.12.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs.js +1095 -554
- package/index.esm.js +1095 -554
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -33,7 +33,7 @@ var globalThis_1 =
|
|
|
33
33
|
|
|
34
34
|
var objectGetOwnPropertyDescriptor = {};
|
|
35
35
|
|
|
36
|
-
var fails$
|
|
36
|
+
var fails$f = function (exec) {
|
|
37
37
|
try {
|
|
38
38
|
return !!exec();
|
|
39
39
|
} catch (error) {
|
|
@@ -41,29 +41,29 @@ var fails$e = function (exec) {
|
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
43
|
|
|
44
|
-
var fails$
|
|
44
|
+
var fails$e = fails$f;
|
|
45
45
|
|
|
46
46
|
// Detect IE8's incomplete defineProperty implementation
|
|
47
|
-
var descriptors = !fails$
|
|
47
|
+
var descriptors = !fails$e(function () {
|
|
48
48
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
49
49
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
|
50
50
|
});
|
|
51
51
|
|
|
52
|
-
var fails$
|
|
52
|
+
var fails$d = fails$f;
|
|
53
53
|
|
|
54
|
-
var functionBindNative = !fails$
|
|
54
|
+
var functionBindNative = !fails$d(function () {
|
|
55
55
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
56
|
-
var test =
|
|
56
|
+
var test = function () { /* empty */ }.bind();
|
|
57
57
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
58
58
|
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
59
59
|
});
|
|
60
60
|
|
|
61
61
|
var NATIVE_BIND$3 = functionBindNative;
|
|
62
62
|
|
|
63
|
-
var call$
|
|
63
|
+
var call$e = Function.prototype.call;
|
|
64
64
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
65
|
-
var functionCall = NATIVE_BIND$3 ? call$
|
|
66
|
-
return call$
|
|
65
|
+
var functionCall = NATIVE_BIND$3 ? call$e.bind(call$e) : function () {
|
|
66
|
+
return call$e.apply(call$e, arguments);
|
|
67
67
|
};
|
|
68
68
|
|
|
69
69
|
var objectPropertyIsEnumerable = {};
|
|
@@ -82,7 +82,7 @@ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
|
82
82
|
return !!descriptor && descriptor.enumerable;
|
|
83
83
|
} : $propertyIsEnumerable;
|
|
84
84
|
|
|
85
|
-
var createPropertyDescriptor$
|
|
85
|
+
var createPropertyDescriptor$5 = function (bitmap, value) {
|
|
86
86
|
return {
|
|
87
87
|
enumerable: !(bitmap & 1),
|
|
88
88
|
configurable: !(bitmap & 2),
|
|
@@ -94,39 +94,39 @@ var createPropertyDescriptor$3 = function (bitmap, value) {
|
|
|
94
94
|
var NATIVE_BIND$2 = functionBindNative;
|
|
95
95
|
|
|
96
96
|
var FunctionPrototype$2 = Function.prototype;
|
|
97
|
-
var call$
|
|
97
|
+
var call$d = FunctionPrototype$2.call;
|
|
98
98
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
99
|
-
var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$
|
|
99
|
+
var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$d, call$d);
|
|
100
100
|
|
|
101
101
|
var functionUncurryThis = NATIVE_BIND$2 ? uncurryThisWithBind : function (fn) {
|
|
102
102
|
return function () {
|
|
103
|
-
return call$
|
|
103
|
+
return call$d.apply(fn, arguments);
|
|
104
104
|
};
|
|
105
105
|
};
|
|
106
106
|
|
|
107
|
-
var uncurryThis$
|
|
107
|
+
var uncurryThis$f = functionUncurryThis;
|
|
108
108
|
|
|
109
|
-
var toString$
|
|
110
|
-
var stringSlice$1 = uncurryThis$
|
|
109
|
+
var toString$3 = uncurryThis$f({}.toString);
|
|
110
|
+
var stringSlice$1 = uncurryThis$f(''.slice);
|
|
111
111
|
|
|
112
112
|
var classofRaw$2 = function (it) {
|
|
113
|
-
return stringSlice$1(toString$
|
|
113
|
+
return stringSlice$1(toString$3(it), 8, -1);
|
|
114
114
|
};
|
|
115
115
|
|
|
116
|
-
var uncurryThis$
|
|
117
|
-
var fails$
|
|
118
|
-
var classof$
|
|
116
|
+
var uncurryThis$e = functionUncurryThis;
|
|
117
|
+
var fails$c = fails$f;
|
|
118
|
+
var classof$3 = classofRaw$2;
|
|
119
119
|
|
|
120
120
|
var $Object$4 = Object;
|
|
121
|
-
var split = uncurryThis$
|
|
121
|
+
var split = uncurryThis$e(''.split);
|
|
122
122
|
|
|
123
123
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
124
|
-
var indexedObject = fails$
|
|
124
|
+
var indexedObject = fails$c(function () {
|
|
125
125
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
126
126
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
127
127
|
return !$Object$4('z').propertyIsEnumerable(0);
|
|
128
128
|
}) ? function (it) {
|
|
129
|
-
return classof$
|
|
129
|
+
return classof$3(it) === 'String' ? split(it, '') : $Object$4(it);
|
|
130
130
|
} : $Object$4;
|
|
131
131
|
|
|
132
132
|
// we can't use just `it == null` since of `document.all` special case
|
|
@@ -137,21 +137,21 @@ var isNullOrUndefined$3 = function (it) {
|
|
|
137
137
|
|
|
138
138
|
var isNullOrUndefined$2 = isNullOrUndefined$3;
|
|
139
139
|
|
|
140
|
-
var $TypeError$
|
|
140
|
+
var $TypeError$c = TypeError;
|
|
141
141
|
|
|
142
142
|
// `RequireObjectCoercible` abstract operation
|
|
143
143
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
144
|
-
var requireObjectCoercible$
|
|
145
|
-
if (isNullOrUndefined$2(it)) throw new $TypeError$
|
|
144
|
+
var requireObjectCoercible$3 = function (it) {
|
|
145
|
+
if (isNullOrUndefined$2(it)) throw new $TypeError$c("Can't call method on " + it);
|
|
146
146
|
return it;
|
|
147
147
|
};
|
|
148
148
|
|
|
149
149
|
// toObject with fallback for non-array-like ES3 strings
|
|
150
150
|
var IndexedObject = indexedObject;
|
|
151
|
-
var requireObjectCoercible$
|
|
151
|
+
var requireObjectCoercible$2 = requireObjectCoercible$3;
|
|
152
152
|
|
|
153
|
-
var toIndexedObject$
|
|
154
|
-
return IndexedObject(requireObjectCoercible$
|
|
153
|
+
var toIndexedObject$5 = function (it) {
|
|
154
|
+
return IndexedObject(requireObjectCoercible$2(it));
|
|
155
155
|
};
|
|
156
156
|
|
|
157
157
|
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
@@ -160,45 +160,45 @@ var documentAll = typeof document == 'object' && document.all;
|
|
|
160
160
|
// `IsCallable` abstract operation
|
|
161
161
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
162
162
|
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
163
|
-
var isCallable$
|
|
163
|
+
var isCallable$g = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
|
|
164
164
|
return typeof argument == 'function' || argument === documentAll;
|
|
165
165
|
} : function (argument) {
|
|
166
166
|
return typeof argument == 'function';
|
|
167
167
|
};
|
|
168
168
|
|
|
169
|
-
var isCallable$
|
|
169
|
+
var isCallable$f = isCallable$g;
|
|
170
170
|
|
|
171
|
-
var isObject$
|
|
172
|
-
return typeof it == 'object' ? it !== null : isCallable$
|
|
171
|
+
var isObject$a = function (it) {
|
|
172
|
+
return typeof it == 'object' ? it !== null : isCallable$f(it);
|
|
173
173
|
};
|
|
174
174
|
|
|
175
|
-
var globalThis$
|
|
176
|
-
var isCallable$
|
|
175
|
+
var globalThis$f = globalThis_1;
|
|
176
|
+
var isCallable$e = isCallable$g;
|
|
177
177
|
|
|
178
178
|
var aFunction = function (argument) {
|
|
179
|
-
return isCallable$
|
|
179
|
+
return isCallable$e(argument) ? argument : undefined;
|
|
180
180
|
};
|
|
181
181
|
|
|
182
|
-
var getBuiltIn$
|
|
183
|
-
return arguments.length < 2 ? aFunction(globalThis$
|
|
182
|
+
var getBuiltIn$5 = function (namespace, method) {
|
|
183
|
+
return arguments.length < 2 ? aFunction(globalThis$f[namespace]) : globalThis$f[namespace] && globalThis$f[namespace][method];
|
|
184
184
|
};
|
|
185
185
|
|
|
186
|
-
var uncurryThis$
|
|
186
|
+
var uncurryThis$d = functionUncurryThis;
|
|
187
187
|
|
|
188
|
-
var objectIsPrototypeOf = uncurryThis$
|
|
188
|
+
var objectIsPrototypeOf = uncurryThis$d({}.isPrototypeOf);
|
|
189
189
|
|
|
190
|
-
var globalThis$
|
|
190
|
+
var globalThis$e = globalThis_1;
|
|
191
191
|
|
|
192
|
-
var navigator = globalThis$
|
|
192
|
+
var navigator = globalThis$e.navigator;
|
|
193
193
|
var userAgent$1 = navigator && navigator.userAgent;
|
|
194
194
|
|
|
195
195
|
var environmentUserAgent = userAgent$1 ? String(userAgent$1) : '';
|
|
196
196
|
|
|
197
|
-
var globalThis$
|
|
197
|
+
var globalThis$d = globalThis_1;
|
|
198
198
|
var userAgent = environmentUserAgent;
|
|
199
199
|
|
|
200
|
-
var process = globalThis$
|
|
201
|
-
var Deno = globalThis$
|
|
200
|
+
var process = globalThis$d.process;
|
|
201
|
+
var Deno = globalThis$d.Deno;
|
|
202
202
|
var versions = process && process.versions || Deno && Deno.version;
|
|
203
203
|
var v8 = versions && versions.v8;
|
|
204
204
|
var match, version;
|
|
@@ -224,19 +224,19 @@ var environmentV8Version = version;
|
|
|
224
224
|
|
|
225
225
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
226
226
|
var V8_VERSION = environmentV8Version;
|
|
227
|
-
var fails$
|
|
228
|
-
var globalThis$
|
|
227
|
+
var fails$b = fails$f;
|
|
228
|
+
var globalThis$c = globalThis_1;
|
|
229
229
|
|
|
230
|
-
var $String$
|
|
230
|
+
var $String$5 = globalThis$c.String;
|
|
231
231
|
|
|
232
232
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
233
|
-
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$
|
|
233
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$b(function () {
|
|
234
234
|
var symbol = Symbol('symbol detection');
|
|
235
235
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
236
236
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
237
237
|
// nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
|
|
238
238
|
// of course, fail.
|
|
239
|
-
return !$String$
|
|
239
|
+
return !$String$5(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
240
240
|
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
241
241
|
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
|
|
242
242
|
});
|
|
@@ -248,9 +248,9 @@ var useSymbolAsUid = NATIVE_SYMBOL$1 &&
|
|
|
248
248
|
!Symbol.sham &&
|
|
249
249
|
typeof Symbol.iterator == 'symbol';
|
|
250
250
|
|
|
251
|
-
var getBuiltIn$
|
|
252
|
-
var isCallable$
|
|
253
|
-
var isPrototypeOf$
|
|
251
|
+
var getBuiltIn$4 = getBuiltIn$5;
|
|
252
|
+
var isCallable$d = isCallable$g;
|
|
253
|
+
var isPrototypeOf$3 = objectIsPrototypeOf;
|
|
254
254
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
255
255
|
|
|
256
256
|
var $Object$3 = Object;
|
|
@@ -258,29 +258,29 @@ var $Object$3 = Object;
|
|
|
258
258
|
var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
259
259
|
return typeof it == 'symbol';
|
|
260
260
|
} : function (it) {
|
|
261
|
-
var $Symbol = getBuiltIn$
|
|
262
|
-
return isCallable$
|
|
261
|
+
var $Symbol = getBuiltIn$4('Symbol');
|
|
262
|
+
return isCallable$d($Symbol) && isPrototypeOf$3($Symbol.prototype, $Object$3(it));
|
|
263
263
|
};
|
|
264
264
|
|
|
265
|
-
var $String$
|
|
265
|
+
var $String$4 = String;
|
|
266
266
|
|
|
267
267
|
var tryToString$3 = function (argument) {
|
|
268
268
|
try {
|
|
269
|
-
return $String$
|
|
269
|
+
return $String$4(argument);
|
|
270
270
|
} catch (error) {
|
|
271
271
|
return 'Object';
|
|
272
272
|
}
|
|
273
273
|
};
|
|
274
274
|
|
|
275
|
-
var isCallable$
|
|
275
|
+
var isCallable$c = isCallable$g;
|
|
276
276
|
var tryToString$2 = tryToString$3;
|
|
277
277
|
|
|
278
|
-
var $TypeError$
|
|
278
|
+
var $TypeError$b = TypeError;
|
|
279
279
|
|
|
280
280
|
// `Assert: IsCallable(argument) is true`
|
|
281
281
|
var aCallable$9 = function (argument) {
|
|
282
|
-
if (isCallable$
|
|
283
|
-
throw new $TypeError$
|
|
282
|
+
if (isCallable$c(argument)) return argument;
|
|
283
|
+
throw new $TypeError$b(tryToString$2(argument) + ' is not a function');
|
|
284
284
|
};
|
|
285
285
|
|
|
286
286
|
var aCallable$8 = aCallable$9;
|
|
@@ -293,50 +293,50 @@ var getMethod$4 = function (V, P) {
|
|
|
293
293
|
return isNullOrUndefined$1(func) ? undefined : aCallable$8(func);
|
|
294
294
|
};
|
|
295
295
|
|
|
296
|
-
var call$
|
|
297
|
-
var isCallable$
|
|
298
|
-
var isObject$
|
|
296
|
+
var call$c = functionCall;
|
|
297
|
+
var isCallable$b = isCallable$g;
|
|
298
|
+
var isObject$9 = isObject$a;
|
|
299
299
|
|
|
300
|
-
var $TypeError$
|
|
300
|
+
var $TypeError$a = TypeError;
|
|
301
301
|
|
|
302
302
|
// `OrdinaryToPrimitive` abstract operation
|
|
303
303
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
304
304
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
305
305
|
var fn, val;
|
|
306
|
-
if (pref === 'string' && isCallable$
|
|
307
|
-
if (isCallable$
|
|
308
|
-
if (pref !== 'string' && isCallable$
|
|
309
|
-
throw new $TypeError$
|
|
306
|
+
if (pref === 'string' && isCallable$b(fn = input.toString) && !isObject$9(val = call$c(fn, input))) return val;
|
|
307
|
+
if (isCallable$b(fn = input.valueOf) && !isObject$9(val = call$c(fn, input))) return val;
|
|
308
|
+
if (pref !== 'string' && isCallable$b(fn = input.toString) && !isObject$9(val = call$c(fn, input))) return val;
|
|
309
|
+
throw new $TypeError$a("Can't convert object to primitive value");
|
|
310
310
|
};
|
|
311
311
|
|
|
312
312
|
var sharedStore = {exports: {}};
|
|
313
313
|
|
|
314
314
|
var isPure = false;
|
|
315
315
|
|
|
316
|
-
var globalThis$
|
|
316
|
+
var globalThis$b = globalThis_1;
|
|
317
317
|
|
|
318
318
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
319
|
-
var defineProperty$
|
|
319
|
+
var defineProperty$6 = Object.defineProperty;
|
|
320
320
|
|
|
321
321
|
var defineGlobalProperty$3 = function (key, value) {
|
|
322
322
|
try {
|
|
323
|
-
defineProperty$
|
|
323
|
+
defineProperty$6(globalThis$b, key, { value: value, configurable: true, writable: true });
|
|
324
324
|
} catch (error) {
|
|
325
|
-
globalThis$
|
|
325
|
+
globalThis$b[key] = value;
|
|
326
326
|
} return value;
|
|
327
327
|
};
|
|
328
328
|
|
|
329
|
-
var globalThis$
|
|
329
|
+
var globalThis$a = globalThis_1;
|
|
330
330
|
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
|
331
331
|
|
|
332
332
|
var SHARED = '__core-js_shared__';
|
|
333
|
-
var store$3 = sharedStore.exports = globalThis$
|
|
333
|
+
var store$3 = sharedStore.exports = globalThis$a[SHARED] || defineGlobalProperty$2(SHARED, {});
|
|
334
334
|
|
|
335
335
|
(store$3.versions || (store$3.versions = [])).push({
|
|
336
|
-
version: '3.
|
|
336
|
+
version: '3.49.0',
|
|
337
337
|
mode: 'global',
|
|
338
|
-
copyright: '©
|
|
339
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
338
|
+
copyright: '© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.',
|
|
339
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE',
|
|
340
340
|
source: 'https://github.com/zloirock/core-js'
|
|
341
341
|
});
|
|
342
342
|
|
|
@@ -348,20 +348,20 @@ var shared$3 = function (key, value) {
|
|
|
348
348
|
return store$2[key] || (store$2[key] = value || {});
|
|
349
349
|
};
|
|
350
350
|
|
|
351
|
-
var requireObjectCoercible = requireObjectCoercible$
|
|
351
|
+
var requireObjectCoercible$1 = requireObjectCoercible$3;
|
|
352
352
|
|
|
353
353
|
var $Object$2 = Object;
|
|
354
354
|
|
|
355
355
|
// `ToObject` abstract operation
|
|
356
356
|
// https://tc39.es/ecma262/#sec-toobject
|
|
357
357
|
var toObject$2 = function (argument) {
|
|
358
|
-
return $Object$2(requireObjectCoercible(argument));
|
|
358
|
+
return $Object$2(requireObjectCoercible$1(argument));
|
|
359
359
|
};
|
|
360
360
|
|
|
361
|
-
var uncurryThis$
|
|
361
|
+
var uncurryThis$c = functionUncurryThis;
|
|
362
362
|
var toObject$1 = toObject$2;
|
|
363
363
|
|
|
364
|
-
var hasOwnProperty = uncurryThis$
|
|
364
|
+
var hasOwnProperty = uncurryThis$c({}.hasOwnProperty);
|
|
365
365
|
|
|
366
366
|
// `HasOwnProperty` abstract operation
|
|
367
367
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
@@ -370,56 +370,56 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
|
370
370
|
return hasOwnProperty(toObject$1(it), key);
|
|
371
371
|
};
|
|
372
372
|
|
|
373
|
-
var uncurryThis$
|
|
373
|
+
var uncurryThis$b = functionUncurryThis;
|
|
374
374
|
|
|
375
375
|
var id = 0;
|
|
376
376
|
var postfix = Math.random();
|
|
377
|
-
var toString = uncurryThis$
|
|
377
|
+
var toString$2 = uncurryThis$b(1.1.toString);
|
|
378
378
|
|
|
379
379
|
var uid$2 = function (key) {
|
|
380
|
-
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
|
380
|
+
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$2(++id + postfix, 36);
|
|
381
381
|
};
|
|
382
382
|
|
|
383
|
-
var globalThis$
|
|
383
|
+
var globalThis$9 = globalThis_1;
|
|
384
384
|
var shared$2 = shared$3;
|
|
385
|
-
var hasOwn$
|
|
385
|
+
var hasOwn$a = hasOwnProperty_1;
|
|
386
386
|
var uid$1 = uid$2;
|
|
387
387
|
var NATIVE_SYMBOL = symbolConstructorDetection;
|
|
388
388
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
389
389
|
|
|
390
|
-
var Symbol$1 = globalThis$
|
|
390
|
+
var Symbol$1 = globalThis$9.Symbol;
|
|
391
391
|
var WellKnownSymbolsStore = shared$2('wks');
|
|
392
392
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
|
|
393
393
|
|
|
394
|
-
var wellKnownSymbol$
|
|
395
|
-
if (!hasOwn$
|
|
396
|
-
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$
|
|
394
|
+
var wellKnownSymbol$c = function (name) {
|
|
395
|
+
if (!hasOwn$a(WellKnownSymbolsStore, name)) {
|
|
396
|
+
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$a(Symbol$1, name)
|
|
397
397
|
? Symbol$1[name]
|
|
398
398
|
: createWellKnownSymbol('Symbol.' + name);
|
|
399
399
|
} return WellKnownSymbolsStore[name];
|
|
400
400
|
};
|
|
401
401
|
|
|
402
|
-
var call$
|
|
403
|
-
var isObject$
|
|
402
|
+
var call$b = functionCall;
|
|
403
|
+
var isObject$8 = isObject$a;
|
|
404
404
|
var isSymbol$1 = isSymbol$2;
|
|
405
405
|
var getMethod$3 = getMethod$4;
|
|
406
406
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
407
|
-
var wellKnownSymbol$
|
|
407
|
+
var wellKnownSymbol$b = wellKnownSymbol$c;
|
|
408
408
|
|
|
409
|
-
var $TypeError$
|
|
410
|
-
var TO_PRIMITIVE = wellKnownSymbol$
|
|
409
|
+
var $TypeError$9 = TypeError;
|
|
410
|
+
var TO_PRIMITIVE = wellKnownSymbol$b('toPrimitive');
|
|
411
411
|
|
|
412
412
|
// `ToPrimitive` abstract operation
|
|
413
413
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
414
414
|
var toPrimitive$1 = function (input, pref) {
|
|
415
|
-
if (!isObject$
|
|
415
|
+
if (!isObject$8(input) || isSymbol$1(input)) return input;
|
|
416
416
|
var exoticToPrim = getMethod$3(input, TO_PRIMITIVE);
|
|
417
417
|
var result;
|
|
418
418
|
if (exoticToPrim) {
|
|
419
419
|
if (pref === undefined) pref = 'default';
|
|
420
|
-
result = call$
|
|
421
|
-
if (!isObject$
|
|
422
|
-
throw new $TypeError$
|
|
420
|
+
result = call$b(exoticToPrim, input, pref);
|
|
421
|
+
if (!isObject$8(result) || isSymbol$1(result)) return result;
|
|
422
|
+
throw new $TypeError$9("Can't convert object to primitive value");
|
|
423
423
|
}
|
|
424
424
|
if (pref === undefined) pref = 'number';
|
|
425
425
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -435,36 +435,36 @@ var toPropertyKey$2 = function (argument) {
|
|
|
435
435
|
return isSymbol(key) ? key : key + '';
|
|
436
436
|
};
|
|
437
437
|
|
|
438
|
-
var globalThis$
|
|
439
|
-
var isObject$
|
|
438
|
+
var globalThis$8 = globalThis_1;
|
|
439
|
+
var isObject$7 = isObject$a;
|
|
440
440
|
|
|
441
|
-
var document$1 = globalThis$
|
|
441
|
+
var document$1 = globalThis$8.document;
|
|
442
442
|
// typeof document.createElement is 'object' in old IE
|
|
443
|
-
var EXISTS$1 = isObject$
|
|
443
|
+
var EXISTS$1 = isObject$7(document$1) && isObject$7(document$1.createElement);
|
|
444
444
|
|
|
445
|
-
var documentCreateElement$
|
|
445
|
+
var documentCreateElement$2 = function (it) {
|
|
446
446
|
return EXISTS$1 ? document$1.createElement(it) : {};
|
|
447
447
|
};
|
|
448
448
|
|
|
449
|
-
var DESCRIPTORS$
|
|
450
|
-
var fails$
|
|
451
|
-
var createElement = documentCreateElement$
|
|
449
|
+
var DESCRIPTORS$b = descriptors;
|
|
450
|
+
var fails$a = fails$f;
|
|
451
|
+
var createElement = documentCreateElement$2;
|
|
452
452
|
|
|
453
453
|
// Thanks to IE8 for its funny defineProperty
|
|
454
|
-
var ie8DomDefine = !DESCRIPTORS$
|
|
454
|
+
var ie8DomDefine = !DESCRIPTORS$b && !fails$a(function () {
|
|
455
455
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
456
456
|
return Object.defineProperty(createElement('div'), 'a', {
|
|
457
457
|
get: function () { return 7; }
|
|
458
458
|
}).a !== 7;
|
|
459
459
|
});
|
|
460
460
|
|
|
461
|
-
var DESCRIPTORS$
|
|
462
|
-
var call$
|
|
461
|
+
var DESCRIPTORS$a = descriptors;
|
|
462
|
+
var call$a = functionCall;
|
|
463
463
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
464
|
-
var createPropertyDescriptor$
|
|
465
|
-
var toIndexedObject$
|
|
464
|
+
var createPropertyDescriptor$4 = createPropertyDescriptor$5;
|
|
465
|
+
var toIndexedObject$4 = toIndexedObject$5;
|
|
466
466
|
var toPropertyKey$1 = toPropertyKey$2;
|
|
467
|
-
var hasOwn$
|
|
467
|
+
var hasOwn$9 = hasOwnProperty_1;
|
|
468
468
|
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
469
469
|
|
|
470
470
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -472,23 +472,23 @@ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
|
472
472
|
|
|
473
473
|
// `Object.getOwnPropertyDescriptor` method
|
|
474
474
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
475
|
-
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$
|
|
476
|
-
O = toIndexedObject$
|
|
475
|
+
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$a ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
|
476
|
+
O = toIndexedObject$4(O);
|
|
477
477
|
P = toPropertyKey$1(P);
|
|
478
478
|
if (IE8_DOM_DEFINE$1) try {
|
|
479
479
|
return $getOwnPropertyDescriptor$1(O, P);
|
|
480
480
|
} catch (error) { /* empty */ }
|
|
481
|
-
if (hasOwn$
|
|
481
|
+
if (hasOwn$9(O, P)) return createPropertyDescriptor$4(!call$a(propertyIsEnumerableModule.f, O, P), O[P]);
|
|
482
482
|
};
|
|
483
483
|
|
|
484
484
|
var objectDefineProperty = {};
|
|
485
485
|
|
|
486
|
-
var DESCRIPTORS$
|
|
487
|
-
var fails$
|
|
486
|
+
var DESCRIPTORS$9 = descriptors;
|
|
487
|
+
var fails$9 = fails$f;
|
|
488
488
|
|
|
489
489
|
// V8 ~ Chrome 36-
|
|
490
490
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
491
|
-
var v8PrototypeDefineBug = DESCRIPTORS$
|
|
491
|
+
var v8PrototypeDefineBug = DESCRIPTORS$9 && fails$9(function () {
|
|
492
492
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
493
493
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
494
494
|
value: 42,
|
|
@@ -496,24 +496,24 @@ var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$8(function () {
|
|
|
496
496
|
}).prototype !== 42;
|
|
497
497
|
});
|
|
498
498
|
|
|
499
|
-
var isObject$
|
|
499
|
+
var isObject$6 = isObject$a;
|
|
500
500
|
|
|
501
|
-
var $String$
|
|
502
|
-
var $TypeError$
|
|
501
|
+
var $String$3 = String;
|
|
502
|
+
var $TypeError$8 = TypeError;
|
|
503
503
|
|
|
504
504
|
// `Assert: Type(argument) is Object`
|
|
505
505
|
var anObject$d = function (argument) {
|
|
506
|
-
if (isObject$
|
|
507
|
-
throw new $TypeError$
|
|
506
|
+
if (isObject$6(argument)) return argument;
|
|
507
|
+
throw new $TypeError$8($String$3(argument) + ' is not an object');
|
|
508
508
|
};
|
|
509
509
|
|
|
510
|
-
var DESCRIPTORS$
|
|
510
|
+
var DESCRIPTORS$8 = descriptors;
|
|
511
511
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
512
512
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
513
513
|
var anObject$c = anObject$d;
|
|
514
514
|
var toPropertyKey = toPropertyKey$2;
|
|
515
515
|
|
|
516
|
-
var $TypeError$
|
|
516
|
+
var $TypeError$7 = TypeError;
|
|
517
517
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
518
518
|
var $defineProperty = Object.defineProperty;
|
|
519
519
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -524,7 +524,7 @@ var WRITABLE = 'writable';
|
|
|
524
524
|
|
|
525
525
|
// `Object.defineProperty` method
|
|
526
526
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
527
|
-
objectDefineProperty.f = DESCRIPTORS$
|
|
527
|
+
objectDefineProperty.f = DESCRIPTORS$8 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
528
528
|
anObject$c(O);
|
|
529
529
|
P = toPropertyKey(P);
|
|
530
530
|
anObject$c(Attributes);
|
|
@@ -546,17 +546,17 @@ objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
546
546
|
if (IE8_DOM_DEFINE) try {
|
|
547
547
|
return $defineProperty(O, P, Attributes);
|
|
548
548
|
} catch (error) { /* empty */ }
|
|
549
|
-
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$
|
|
549
|
+
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$7('Accessors not supported');
|
|
550
550
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
551
551
|
return O;
|
|
552
552
|
};
|
|
553
553
|
|
|
554
|
-
var DESCRIPTORS$
|
|
554
|
+
var DESCRIPTORS$7 = descriptors;
|
|
555
555
|
var definePropertyModule$4 = objectDefineProperty;
|
|
556
|
-
var createPropertyDescriptor$
|
|
556
|
+
var createPropertyDescriptor$3 = createPropertyDescriptor$5;
|
|
557
557
|
|
|
558
|
-
var createNonEnumerableProperty$
|
|
559
|
-
return definePropertyModule$4.f(object, key, createPropertyDescriptor$
|
|
558
|
+
var createNonEnumerableProperty$8 = DESCRIPTORS$7 ? function (object, key, value) {
|
|
559
|
+
return definePropertyModule$4.f(object, key, createPropertyDescriptor$3(1, value));
|
|
560
560
|
} : function (object, key, value) {
|
|
561
561
|
object[key] = value;
|
|
562
562
|
return object;
|
|
@@ -564,28 +564,31 @@ var createNonEnumerableProperty$3 = DESCRIPTORS$5 ? function (object, key, value
|
|
|
564
564
|
|
|
565
565
|
var makeBuiltIn$3 = {exports: {}};
|
|
566
566
|
|
|
567
|
-
var DESCRIPTORS$
|
|
568
|
-
var hasOwn$
|
|
567
|
+
var DESCRIPTORS$6 = descriptors;
|
|
568
|
+
var hasOwn$8 = hasOwnProperty_1;
|
|
569
569
|
|
|
570
570
|
var FunctionPrototype$1 = Function.prototype;
|
|
571
571
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
572
|
-
var getDescriptor = DESCRIPTORS$
|
|
572
|
+
var getDescriptor = DESCRIPTORS$6 && Object.getOwnPropertyDescriptor;
|
|
573
573
|
|
|
574
|
-
var EXISTS = hasOwn$
|
|
575
|
-
|
|
574
|
+
var EXISTS = hasOwn$8(FunctionPrototype$1, 'name');
|
|
575
|
+
// additional protection from minified / mangled / dropped function names
|
|
576
|
+
var PROPER = EXISTS && function something() { /* empty */ }.name === 'something';
|
|
577
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$6 || (DESCRIPTORS$6 && getDescriptor(FunctionPrototype$1, 'name').configurable));
|
|
576
578
|
|
|
577
579
|
var functionName = {
|
|
580
|
+
PROPER: PROPER,
|
|
578
581
|
CONFIGURABLE: CONFIGURABLE
|
|
579
582
|
};
|
|
580
583
|
|
|
581
|
-
var uncurryThis$
|
|
582
|
-
var isCallable$
|
|
584
|
+
var uncurryThis$a = functionUncurryThis;
|
|
585
|
+
var isCallable$a = isCallable$g;
|
|
583
586
|
var store$1 = sharedStoreExports;
|
|
584
587
|
|
|
585
|
-
var functionToString = uncurryThis$
|
|
588
|
+
var functionToString = uncurryThis$a(Function.toString);
|
|
586
589
|
|
|
587
590
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
588
|
-
if (!isCallable$
|
|
591
|
+
if (!isCallable$a(store$1.inspectSource)) {
|
|
589
592
|
store$1.inspectSource = function (it) {
|
|
590
593
|
return functionToString(it);
|
|
591
594
|
};
|
|
@@ -593,12 +596,12 @@ if (!isCallable$8(store$1.inspectSource)) {
|
|
|
593
596
|
|
|
594
597
|
var inspectSource$1 = store$1.inspectSource;
|
|
595
598
|
|
|
596
|
-
var globalThis$
|
|
597
|
-
var isCallable$
|
|
599
|
+
var globalThis$7 = globalThis_1;
|
|
600
|
+
var isCallable$9 = isCallable$g;
|
|
598
601
|
|
|
599
|
-
var WeakMap$1 = globalThis$
|
|
602
|
+
var WeakMap$1 = globalThis$7.WeakMap;
|
|
600
603
|
|
|
601
|
-
var weakMapBasicDetection = isCallable$
|
|
604
|
+
var weakMapBasicDetection = isCallable$9(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
602
605
|
|
|
603
606
|
var shared$1 = shared$3;
|
|
604
607
|
var uid = uid$2;
|
|
@@ -612,27 +615,27 @@ var sharedKey$3 = function (key) {
|
|
|
612
615
|
var hiddenKeys$4 = {};
|
|
613
616
|
|
|
614
617
|
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
615
|
-
var globalThis$
|
|
616
|
-
var isObject$
|
|
617
|
-
var createNonEnumerableProperty$
|
|
618
|
-
var hasOwn$
|
|
618
|
+
var globalThis$6 = globalThis_1;
|
|
619
|
+
var isObject$5 = isObject$a;
|
|
620
|
+
var createNonEnumerableProperty$7 = createNonEnumerableProperty$8;
|
|
621
|
+
var hasOwn$7 = hasOwnProperty_1;
|
|
619
622
|
var shared = sharedStoreExports;
|
|
620
623
|
var sharedKey$2 = sharedKey$3;
|
|
621
624
|
var hiddenKeys$3 = hiddenKeys$4;
|
|
622
625
|
|
|
623
626
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
624
|
-
var TypeError$1 = globalThis$
|
|
625
|
-
var WeakMap = globalThis$
|
|
626
|
-
var set$2, get$2, has$
|
|
627
|
+
var TypeError$1 = globalThis$6.TypeError;
|
|
628
|
+
var WeakMap = globalThis$6.WeakMap;
|
|
629
|
+
var set$2, get$2, has$8;
|
|
627
630
|
|
|
628
631
|
var enforce = function (it) {
|
|
629
|
-
return has$
|
|
632
|
+
return has$8(it) ? get$2(it) : set$2(it, {});
|
|
630
633
|
};
|
|
631
634
|
|
|
632
635
|
var getterFor = function (TYPE) {
|
|
633
636
|
return function (it) {
|
|
634
637
|
var state;
|
|
635
|
-
if (!isObject$
|
|
638
|
+
if (!isObject$5(it) || (state = get$2(it)).type !== TYPE) {
|
|
636
639
|
throw new TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
|
637
640
|
} return state;
|
|
638
641
|
};
|
|
@@ -654,79 +657,79 @@ if (NATIVE_WEAK_MAP || shared.state) {
|
|
|
654
657
|
get$2 = function (it) {
|
|
655
658
|
return store.get(it) || {};
|
|
656
659
|
};
|
|
657
|
-
has$
|
|
660
|
+
has$8 = function (it) {
|
|
658
661
|
return store.has(it);
|
|
659
662
|
};
|
|
660
663
|
} else {
|
|
661
664
|
var STATE = sharedKey$2('state');
|
|
662
665
|
hiddenKeys$3[STATE] = true;
|
|
663
666
|
set$2 = function (it, metadata) {
|
|
664
|
-
if (hasOwn$
|
|
667
|
+
if (hasOwn$7(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
665
668
|
metadata.facade = it;
|
|
666
|
-
createNonEnumerableProperty$
|
|
669
|
+
createNonEnumerableProperty$7(it, STATE, metadata);
|
|
667
670
|
return metadata;
|
|
668
671
|
};
|
|
669
672
|
get$2 = function (it) {
|
|
670
|
-
return hasOwn$
|
|
673
|
+
return hasOwn$7(it, STATE) ? it[STATE] : {};
|
|
671
674
|
};
|
|
672
|
-
has$
|
|
673
|
-
return hasOwn$
|
|
675
|
+
has$8 = function (it) {
|
|
676
|
+
return hasOwn$7(it, STATE);
|
|
674
677
|
};
|
|
675
678
|
}
|
|
676
679
|
|
|
677
680
|
var internalState = {
|
|
678
681
|
set: set$2,
|
|
679
682
|
get: get$2,
|
|
680
|
-
has: has$
|
|
683
|
+
has: has$8,
|
|
681
684
|
enforce: enforce,
|
|
682
685
|
getterFor: getterFor
|
|
683
686
|
};
|
|
684
687
|
|
|
685
|
-
var uncurryThis$
|
|
686
|
-
var fails$
|
|
687
|
-
var isCallable$
|
|
688
|
-
var hasOwn$
|
|
689
|
-
var DESCRIPTORS$
|
|
690
|
-
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
|
688
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
689
|
+
var fails$8 = fails$f;
|
|
690
|
+
var isCallable$8 = isCallable$g;
|
|
691
|
+
var hasOwn$6 = hasOwnProperty_1;
|
|
692
|
+
var DESCRIPTORS$5 = descriptors;
|
|
693
|
+
var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
|
|
691
694
|
var inspectSource = inspectSource$1;
|
|
692
|
-
var InternalStateModule$
|
|
695
|
+
var InternalStateModule$2 = internalState;
|
|
693
696
|
|
|
694
|
-
var enforceInternalState = InternalStateModule$
|
|
695
|
-
var getInternalState = InternalStateModule$
|
|
696
|
-
var $String = String;
|
|
697
|
+
var enforceInternalState = InternalStateModule$2.enforce;
|
|
698
|
+
var getInternalState$1 = InternalStateModule$2.get;
|
|
699
|
+
var $String$2 = String;
|
|
697
700
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
698
|
-
var defineProperty$
|
|
699
|
-
var stringSlice = uncurryThis$
|
|
700
|
-
var replace = uncurryThis$
|
|
701
|
-
var join = uncurryThis$
|
|
701
|
+
var defineProperty$5 = Object.defineProperty;
|
|
702
|
+
var stringSlice = uncurryThis$9(''.slice);
|
|
703
|
+
var replace$1 = uncurryThis$9(''.replace);
|
|
704
|
+
var join = uncurryThis$9([].join);
|
|
702
705
|
|
|
703
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$
|
|
704
|
-
return defineProperty$
|
|
706
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS$5 && !fails$8(function () {
|
|
707
|
+
return defineProperty$5(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
705
708
|
});
|
|
706
709
|
|
|
707
710
|
var TEMPLATE = String(String).split('String');
|
|
708
711
|
|
|
709
712
|
var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
710
|
-
if (stringSlice($String(name), 0, 7) === 'Symbol(') {
|
|
711
|
-
name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
|
|
713
|
+
if (stringSlice($String$2(name), 0, 7) === 'Symbol(') {
|
|
714
|
+
name = '[' + replace$1($String$2(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
|
|
712
715
|
}
|
|
713
716
|
if (options && options.getter) name = 'get ' + name;
|
|
714
717
|
if (options && options.setter) name = 'set ' + name;
|
|
715
|
-
if (!hasOwn$
|
|
716
|
-
if (DESCRIPTORS$
|
|
718
|
+
if (!hasOwn$6(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
|
|
719
|
+
if (DESCRIPTORS$5) defineProperty$5(value, 'name', { value: name, configurable: true });
|
|
717
720
|
else value.name = name;
|
|
718
721
|
}
|
|
719
|
-
if (CONFIGURABLE_LENGTH && options && hasOwn$
|
|
720
|
-
defineProperty$
|
|
722
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn$6(options, 'arity') && value.length !== options.arity) {
|
|
723
|
+
defineProperty$5(value, 'length', { value: options.arity });
|
|
721
724
|
}
|
|
722
725
|
try {
|
|
723
|
-
if (options && hasOwn$
|
|
724
|
-
if (DESCRIPTORS$
|
|
726
|
+
if (options && hasOwn$6(options, 'constructor') && options.constructor) {
|
|
727
|
+
if (DESCRIPTORS$5) defineProperty$5(value, 'prototype', { writable: false });
|
|
725
728
|
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
726
729
|
} else if (value.prototype) value.prototype = undefined;
|
|
727
730
|
} catch (error) { /* empty */ }
|
|
728
731
|
var state = enforceInternalState(value);
|
|
729
|
-
if (!hasOwn$
|
|
732
|
+
if (!hasOwn$6(state, 'source')) {
|
|
730
733
|
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
|
731
734
|
} return value;
|
|
732
735
|
};
|
|
@@ -734,21 +737,21 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
|
734
737
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
735
738
|
// eslint-disable-next-line no-extend-native -- required
|
|
736
739
|
Function.prototype.toString = makeBuiltIn$2(function toString() {
|
|
737
|
-
return isCallable$
|
|
740
|
+
return isCallable$8(this) && getInternalState$1(this).source || inspectSource(this);
|
|
738
741
|
}, 'toString');
|
|
739
742
|
|
|
740
743
|
var makeBuiltInExports = makeBuiltIn$3.exports;
|
|
741
744
|
|
|
742
|
-
var isCallable$
|
|
745
|
+
var isCallable$7 = isCallable$g;
|
|
743
746
|
var definePropertyModule$3 = objectDefineProperty;
|
|
744
747
|
var makeBuiltIn$1 = makeBuiltInExports;
|
|
745
748
|
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
|
746
749
|
|
|
747
|
-
var defineBuiltIn$
|
|
750
|
+
var defineBuiltIn$4 = function (O, key, value, options) {
|
|
748
751
|
if (!options) options = {};
|
|
749
752
|
var simple = options.enumerable;
|
|
750
753
|
var name = options.name !== undefined ? options.name : key;
|
|
751
|
-
if (isCallable$
|
|
754
|
+
if (isCallable$7(value)) makeBuiltIn$1(value, name, options);
|
|
752
755
|
if (options.global) {
|
|
753
756
|
if (simple) O[key] = value;
|
|
754
757
|
else defineGlobalProperty$1(key, value);
|
|
@@ -822,14 +825,14 @@ var lengthOfArrayLike$2 = function (obj) {
|
|
|
822
825
|
return toLength(obj.length);
|
|
823
826
|
};
|
|
824
827
|
|
|
825
|
-
var toIndexedObject$
|
|
828
|
+
var toIndexedObject$3 = toIndexedObject$5;
|
|
826
829
|
var toAbsoluteIndex = toAbsoluteIndex$1;
|
|
827
830
|
var lengthOfArrayLike$1 = lengthOfArrayLike$2;
|
|
828
831
|
|
|
829
832
|
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
830
833
|
var createMethod = function (IS_INCLUDES) {
|
|
831
834
|
return function ($this, el, fromIndex) {
|
|
832
|
-
var O = toIndexedObject$
|
|
835
|
+
var O = toIndexedObject$3($this);
|
|
833
836
|
var length = lengthOfArrayLike$1(O);
|
|
834
837
|
if (length === 0) return !IS_INCLUDES && -1;
|
|
835
838
|
var index = toAbsoluteIndex(fromIndex, length);
|
|
@@ -853,22 +856,22 @@ var arrayIncludes = {
|
|
|
853
856
|
indexOf: createMethod(false)
|
|
854
857
|
};
|
|
855
858
|
|
|
856
|
-
var uncurryThis$
|
|
857
|
-
var hasOwn$
|
|
858
|
-
var toIndexedObject$
|
|
859
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
860
|
+
var hasOwn$5 = hasOwnProperty_1;
|
|
861
|
+
var toIndexedObject$2 = toIndexedObject$5;
|
|
859
862
|
var indexOf = arrayIncludes.indexOf;
|
|
860
863
|
var hiddenKeys$2 = hiddenKeys$4;
|
|
861
864
|
|
|
862
|
-
var push = uncurryThis$
|
|
865
|
+
var push = uncurryThis$8([].push);
|
|
863
866
|
|
|
864
867
|
var objectKeysInternal = function (object, names) {
|
|
865
|
-
var O = toIndexedObject$
|
|
868
|
+
var O = toIndexedObject$2(object);
|
|
866
869
|
var i = 0;
|
|
867
870
|
var result = [];
|
|
868
871
|
var key;
|
|
869
|
-
for (key in O) !hasOwn$
|
|
872
|
+
for (key in O) !hasOwn$5(hiddenKeys$2, key) && hasOwn$5(O, key) && push(result, key);
|
|
870
873
|
// Don't enum bug & hidden keys
|
|
871
|
-
while (names.length > i) if (hasOwn$
|
|
874
|
+
while (names.length > i) if (hasOwn$5(O, key = names[i++])) {
|
|
872
875
|
~indexOf(result, key) || push(result, key);
|
|
873
876
|
}
|
|
874
877
|
return result;
|
|
@@ -902,40 +905,40 @@ var objectGetOwnPropertySymbols = {};
|
|
|
902
905
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
903
906
|
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
904
907
|
|
|
905
|
-
var getBuiltIn$
|
|
906
|
-
var uncurryThis$
|
|
908
|
+
var getBuiltIn$3 = getBuiltIn$5;
|
|
909
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
907
910
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
908
911
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
909
912
|
var anObject$b = anObject$d;
|
|
910
913
|
|
|
911
|
-
var concat = uncurryThis$
|
|
914
|
+
var concat = uncurryThis$7([].concat);
|
|
912
915
|
|
|
913
916
|
// all object keys, includes non-enumerable and symbols
|
|
914
|
-
var ownKeys$1 = getBuiltIn$
|
|
917
|
+
var ownKeys$1 = getBuiltIn$3('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
915
918
|
var keys = getOwnPropertyNamesModule.f(anObject$b(it));
|
|
916
919
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
|
917
920
|
return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
|
|
918
921
|
};
|
|
919
922
|
|
|
920
|
-
var hasOwn$
|
|
923
|
+
var hasOwn$4 = hasOwnProperty_1;
|
|
921
924
|
var ownKeys = ownKeys$1;
|
|
922
925
|
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
923
926
|
var definePropertyModule$2 = objectDefineProperty;
|
|
924
927
|
|
|
925
|
-
var copyConstructorProperties$
|
|
928
|
+
var copyConstructorProperties$2 = function (target, source, exceptions) {
|
|
926
929
|
var keys = ownKeys(source);
|
|
927
930
|
var defineProperty = definePropertyModule$2.f;
|
|
928
931
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
929
932
|
for (var i = 0; i < keys.length; i++) {
|
|
930
933
|
var key = keys[i];
|
|
931
|
-
if (!hasOwn$
|
|
934
|
+
if (!hasOwn$4(target, key) && !(exceptions && hasOwn$4(exceptions, key))) {
|
|
932
935
|
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
933
936
|
}
|
|
934
937
|
}
|
|
935
938
|
};
|
|
936
939
|
|
|
937
|
-
var fails$
|
|
938
|
-
var isCallable$
|
|
940
|
+
var fails$7 = fails$f;
|
|
941
|
+
var isCallable$6 = isCallable$g;
|
|
939
942
|
|
|
940
943
|
var replacement = /#|\.prototype\./;
|
|
941
944
|
|
|
@@ -943,7 +946,7 @@ var isForced$1 = function (feature, detection) {
|
|
|
943
946
|
var value = data[normalize(feature)];
|
|
944
947
|
return value === POLYFILL ? true
|
|
945
948
|
: value === NATIVE ? false
|
|
946
|
-
: isCallable$
|
|
949
|
+
: isCallable$6(detection) ? fails$7(detection)
|
|
947
950
|
: !!detection;
|
|
948
951
|
};
|
|
949
952
|
|
|
@@ -957,12 +960,12 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
|
|
|
957
960
|
|
|
958
961
|
var isForced_1 = isForced$1;
|
|
959
962
|
|
|
960
|
-
var globalThis$
|
|
963
|
+
var globalThis$5 = globalThis_1;
|
|
961
964
|
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
962
|
-
var createNonEnumerableProperty$
|
|
963
|
-
var defineBuiltIn$
|
|
965
|
+
var createNonEnumerableProperty$6 = createNonEnumerableProperty$8;
|
|
966
|
+
var defineBuiltIn$3 = defineBuiltIn$4;
|
|
964
967
|
var defineGlobalProperty = defineGlobalProperty$3;
|
|
965
|
-
var copyConstructorProperties = copyConstructorProperties$
|
|
968
|
+
var copyConstructorProperties$1 = copyConstructorProperties$2;
|
|
966
969
|
var isForced = isForced_1;
|
|
967
970
|
|
|
968
971
|
/*
|
|
@@ -986,11 +989,11 @@ var _export = function (options, source) {
|
|
|
986
989
|
var STATIC = options.stat;
|
|
987
990
|
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
988
991
|
if (GLOBAL) {
|
|
989
|
-
target = globalThis$
|
|
992
|
+
target = globalThis$5;
|
|
990
993
|
} else if (STATIC) {
|
|
991
|
-
target = globalThis$
|
|
994
|
+
target = globalThis$5[TARGET] || defineGlobalProperty(TARGET, {});
|
|
992
995
|
} else {
|
|
993
|
-
target = globalThis$
|
|
996
|
+
target = globalThis$5[TARGET] && globalThis$5[TARGET].prototype;
|
|
994
997
|
}
|
|
995
998
|
if (target) for (key in source) {
|
|
996
999
|
sourceProperty = source[key];
|
|
@@ -1002,36 +1005,36 @@ var _export = function (options, source) {
|
|
|
1002
1005
|
// contained in target
|
|
1003
1006
|
if (!FORCED && targetProperty !== undefined) {
|
|
1004
1007
|
if (typeof sourceProperty == typeof targetProperty) continue;
|
|
1005
|
-
copyConstructorProperties(sourceProperty, targetProperty);
|
|
1008
|
+
copyConstructorProperties$1(sourceProperty, targetProperty);
|
|
1006
1009
|
}
|
|
1007
1010
|
// add a flag to not completely full polyfills
|
|
1008
1011
|
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
1009
|
-
createNonEnumerableProperty$
|
|
1012
|
+
createNonEnumerableProperty$6(sourceProperty, 'sham', true);
|
|
1010
1013
|
}
|
|
1011
|
-
defineBuiltIn$
|
|
1014
|
+
defineBuiltIn$3(target, key, sourceProperty, options);
|
|
1012
1015
|
}
|
|
1013
1016
|
};
|
|
1014
1017
|
|
|
1015
|
-
var isPrototypeOf$
|
|
1018
|
+
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
1016
1019
|
|
|
1017
|
-
var $TypeError$
|
|
1020
|
+
var $TypeError$6 = TypeError;
|
|
1018
1021
|
|
|
1019
1022
|
var anInstance$1 = function (it, Prototype) {
|
|
1020
|
-
if (isPrototypeOf$
|
|
1021
|
-
throw new $TypeError$
|
|
1023
|
+
if (isPrototypeOf$2(Prototype, it)) return it;
|
|
1024
|
+
throw new $TypeError$6('Incorrect invocation');
|
|
1022
1025
|
};
|
|
1023
1026
|
|
|
1024
|
-
var fails$
|
|
1027
|
+
var fails$6 = fails$f;
|
|
1025
1028
|
|
|
1026
|
-
var correctPrototypeGetter = !fails$
|
|
1029
|
+
var correctPrototypeGetter = !fails$6(function () {
|
|
1027
1030
|
function F() { /* empty */ }
|
|
1028
1031
|
F.prototype.constructor = null;
|
|
1029
1032
|
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
1030
1033
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
1031
1034
|
});
|
|
1032
1035
|
|
|
1033
|
-
var hasOwn$
|
|
1034
|
-
var isCallable$
|
|
1036
|
+
var hasOwn$3 = hasOwnProperty_1;
|
|
1037
|
+
var isCallable$5 = isCallable$g;
|
|
1035
1038
|
var toObject = toObject$2;
|
|
1036
1039
|
var sharedKey$1 = sharedKey$3;
|
|
1037
1040
|
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
@@ -1045,28 +1048,28 @@ var ObjectPrototype = $Object$1.prototype;
|
|
|
1045
1048
|
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
1046
1049
|
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
|
|
1047
1050
|
var object = toObject(O);
|
|
1048
|
-
if (hasOwn$
|
|
1051
|
+
if (hasOwn$3(object, IE_PROTO$1)) return object[IE_PROTO$1];
|
|
1049
1052
|
var constructor = object.constructor;
|
|
1050
|
-
if (isCallable$
|
|
1053
|
+
if (isCallable$5(constructor) && object instanceof constructor) {
|
|
1051
1054
|
return constructor.prototype;
|
|
1052
1055
|
} return object instanceof $Object$1 ? ObjectPrototype : null;
|
|
1053
1056
|
};
|
|
1054
1057
|
|
|
1055
1058
|
var makeBuiltIn = makeBuiltInExports;
|
|
1056
|
-
var defineProperty = objectDefineProperty;
|
|
1059
|
+
var defineProperty$4 = objectDefineProperty;
|
|
1057
1060
|
|
|
1058
1061
|
var defineBuiltInAccessor$1 = function (target, name, descriptor) {
|
|
1059
1062
|
if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
|
|
1060
1063
|
if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
|
|
1061
|
-
return defineProperty.f(target, name, descriptor);
|
|
1064
|
+
return defineProperty$4.f(target, name, descriptor);
|
|
1062
1065
|
};
|
|
1063
1066
|
|
|
1064
|
-
var DESCRIPTORS$
|
|
1067
|
+
var DESCRIPTORS$4 = descriptors;
|
|
1065
1068
|
var definePropertyModule$1 = objectDefineProperty;
|
|
1066
|
-
var createPropertyDescriptor = createPropertyDescriptor$
|
|
1069
|
+
var createPropertyDescriptor$2 = createPropertyDescriptor$5;
|
|
1067
1070
|
|
|
1068
|
-
var createProperty$
|
|
1069
|
-
if (DESCRIPTORS$
|
|
1071
|
+
var createProperty$2 = function (object, key, value) {
|
|
1072
|
+
if (DESCRIPTORS$4) definePropertyModule$1.f(object, key, createPropertyDescriptor$2(0, value));
|
|
1070
1073
|
else object[key] = value;
|
|
1071
1074
|
};
|
|
1072
1075
|
|
|
@@ -1082,19 +1085,19 @@ var objectKeys$1 = Object.keys || function keys(O) {
|
|
|
1082
1085
|
return internalObjectKeys(O, enumBugKeys$1);
|
|
1083
1086
|
};
|
|
1084
1087
|
|
|
1085
|
-
var DESCRIPTORS$
|
|
1088
|
+
var DESCRIPTORS$3 = descriptors;
|
|
1086
1089
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
1087
1090
|
var definePropertyModule = objectDefineProperty;
|
|
1088
1091
|
var anObject$a = anObject$d;
|
|
1089
|
-
var toIndexedObject = toIndexedObject$
|
|
1092
|
+
var toIndexedObject$1 = toIndexedObject$5;
|
|
1090
1093
|
var objectKeys = objectKeys$1;
|
|
1091
1094
|
|
|
1092
1095
|
// `Object.defineProperties` method
|
|
1093
1096
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
1094
1097
|
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
1095
|
-
objectDefineProperties.f = DESCRIPTORS$
|
|
1098
|
+
objectDefineProperties.f = DESCRIPTORS$3 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
1096
1099
|
anObject$a(O);
|
|
1097
|
-
var props = toIndexedObject(Properties);
|
|
1100
|
+
var props = toIndexedObject$1(Properties);
|
|
1098
1101
|
var keys = objectKeys(Properties);
|
|
1099
1102
|
var length = keys.length;
|
|
1100
1103
|
var index = 0;
|
|
@@ -1103,9 +1106,9 @@ objectDefineProperties.f = DESCRIPTORS$1 && !V8_PROTOTYPE_DEFINE_BUG ? Object.de
|
|
|
1103
1106
|
return O;
|
|
1104
1107
|
};
|
|
1105
1108
|
|
|
1106
|
-
var getBuiltIn$
|
|
1109
|
+
var getBuiltIn$2 = getBuiltIn$5;
|
|
1107
1110
|
|
|
1108
|
-
var html$1 = getBuiltIn$
|
|
1111
|
+
var html$1 = getBuiltIn$2('document', 'documentElement');
|
|
1109
1112
|
|
|
1110
1113
|
/* global ActiveXObject -- old IE, WSH */
|
|
1111
1114
|
var anObject$9 = anObject$d;
|
|
@@ -1113,7 +1116,7 @@ var definePropertiesModule = objectDefineProperties;
|
|
|
1113
1116
|
var enumBugKeys = enumBugKeys$3;
|
|
1114
1117
|
var hiddenKeys = hiddenKeys$4;
|
|
1115
1118
|
var html = html$1;
|
|
1116
|
-
var documentCreateElement = documentCreateElement$
|
|
1119
|
+
var documentCreateElement$1 = documentCreateElement$2;
|
|
1117
1120
|
var sharedKey = sharedKey$3;
|
|
1118
1121
|
|
|
1119
1122
|
var GT = '>';
|
|
@@ -1141,7 +1144,7 @@ var NullProtoObjectViaActiveX = function (activeXDocument) {
|
|
|
1141
1144
|
// Create object with fake `null` prototype: use iframe Object with cleared prototype
|
|
1142
1145
|
var NullProtoObjectViaIFrame = function () {
|
|
1143
1146
|
// Thrash, waste and sodomy: IE GC bug
|
|
1144
|
-
var iframe = documentCreateElement('iframe');
|
|
1147
|
+
var iframe = documentCreateElement$1('iframe');
|
|
1145
1148
|
var JS = 'java' + SCRIPT + ':';
|
|
1146
1149
|
var iframeDocument;
|
|
1147
1150
|
iframe.style.display = 'none';
|
|
@@ -1192,127 +1195,130 @@ var objectCreate = Object.create || function create(O, Properties) {
|
|
|
1192
1195
|
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
1193
1196
|
};
|
|
1194
1197
|
|
|
1195
|
-
var fails$
|
|
1196
|
-
var isCallable$
|
|
1197
|
-
var isObject = isObject$
|
|
1198
|
-
var getPrototypeOf$
|
|
1199
|
-
var defineBuiltIn$
|
|
1200
|
-
var wellKnownSymbol$
|
|
1198
|
+
var fails$5 = fails$f;
|
|
1199
|
+
var isCallable$4 = isCallable$g;
|
|
1200
|
+
var isObject$4 = isObject$a;
|
|
1201
|
+
var getPrototypeOf$2 = objectGetPrototypeOf;
|
|
1202
|
+
var defineBuiltIn$2 = defineBuiltIn$4;
|
|
1203
|
+
var wellKnownSymbol$a = wellKnownSymbol$c;
|
|
1201
1204
|
|
|
1202
|
-
var ITERATOR$
|
|
1205
|
+
var ITERATOR$5 = wellKnownSymbol$a('iterator');
|
|
1206
|
+
var BUGGY_SAFARI_ITERATORS$1 = false;
|
|
1203
1207
|
|
|
1204
1208
|
// `%IteratorPrototype%` object
|
|
1205
1209
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
|
|
1206
|
-
var IteratorPrototype$
|
|
1210
|
+
var IteratorPrototype$4, PrototypeOfArrayIteratorPrototype, arrayIterator;
|
|
1207
1211
|
|
|
1208
1212
|
/* eslint-disable es/no-array-prototype-keys -- safe */
|
|
1209
1213
|
if ([].keys) {
|
|
1210
1214
|
arrayIterator = [].keys();
|
|
1211
1215
|
// Safari 8 has buggy iterators w/o `next`
|
|
1212
|
-
if (!('next' in arrayIterator)) ;
|
|
1216
|
+
if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS$1 = true;
|
|
1213
1217
|
else {
|
|
1214
|
-
PrototypeOfArrayIteratorPrototype = getPrototypeOf$
|
|
1215
|
-
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$
|
|
1218
|
+
PrototypeOfArrayIteratorPrototype = getPrototypeOf$2(getPrototypeOf$2(arrayIterator));
|
|
1219
|
+
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$4 = PrototypeOfArrayIteratorPrototype;
|
|
1216
1220
|
}
|
|
1217
1221
|
}
|
|
1218
1222
|
|
|
1219
|
-
var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype$
|
|
1223
|
+
var NEW_ITERATOR_PROTOTYPE = !isObject$4(IteratorPrototype$4) || fails$5(function () {
|
|
1220
1224
|
var test = {};
|
|
1221
1225
|
// FF44- legacy iterators case
|
|
1222
|
-
return IteratorPrototype$
|
|
1226
|
+
return IteratorPrototype$4[ITERATOR$5].call(test) !== test;
|
|
1223
1227
|
});
|
|
1224
1228
|
|
|
1225
|
-
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$
|
|
1229
|
+
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$4 = {};
|
|
1226
1230
|
|
|
1227
1231
|
// `%IteratorPrototype%[@@iterator]()` method
|
|
1228
1232
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
|
1229
|
-
if (!isCallable$
|
|
1230
|
-
defineBuiltIn$
|
|
1233
|
+
if (!isCallable$4(IteratorPrototype$4[ITERATOR$5])) {
|
|
1234
|
+
defineBuiltIn$2(IteratorPrototype$4, ITERATOR$5, function () {
|
|
1231
1235
|
return this;
|
|
1232
1236
|
});
|
|
1233
1237
|
}
|
|
1234
1238
|
|
|
1235
1239
|
var iteratorsCore = {
|
|
1236
|
-
IteratorPrototype: IteratorPrototype$
|
|
1240
|
+
IteratorPrototype: IteratorPrototype$4,
|
|
1241
|
+
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
|
|
1242
|
+
};
|
|
1237
1243
|
|
|
1238
|
-
var $$
|
|
1239
|
-
var globalThis$
|
|
1244
|
+
var $$f = _export;
|
|
1245
|
+
var globalThis$4 = globalThis_1;
|
|
1240
1246
|
var anInstance = anInstance$1;
|
|
1241
1247
|
var anObject$8 = anObject$d;
|
|
1242
|
-
var isCallable$
|
|
1243
|
-
var getPrototypeOf = objectGetPrototypeOf;
|
|
1248
|
+
var isCallable$3 = isCallable$g;
|
|
1249
|
+
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
1244
1250
|
var defineBuiltInAccessor = defineBuiltInAccessor$1;
|
|
1245
|
-
var createProperty = createProperty$
|
|
1246
|
-
var fails$
|
|
1247
|
-
var hasOwn = hasOwnProperty_1;
|
|
1248
|
-
var wellKnownSymbol$
|
|
1249
|
-
var IteratorPrototype$
|
|
1250
|
-
var DESCRIPTORS = descriptors;
|
|
1251
|
+
var createProperty$1 = createProperty$2;
|
|
1252
|
+
var fails$4 = fails$f;
|
|
1253
|
+
var hasOwn$2 = hasOwnProperty_1;
|
|
1254
|
+
var wellKnownSymbol$9 = wellKnownSymbol$c;
|
|
1255
|
+
var IteratorPrototype$3 = iteratorsCore.IteratorPrototype;
|
|
1256
|
+
var DESCRIPTORS$2 = descriptors;
|
|
1251
1257
|
|
|
1252
1258
|
var CONSTRUCTOR = 'constructor';
|
|
1253
|
-
var ITERATOR$
|
|
1254
|
-
var TO_STRING_TAG$
|
|
1259
|
+
var ITERATOR$4 = 'Iterator';
|
|
1260
|
+
var TO_STRING_TAG$4 = wellKnownSymbol$9('toStringTag');
|
|
1255
1261
|
|
|
1256
|
-
var $TypeError$
|
|
1257
|
-
var NativeIterator = globalThis$
|
|
1262
|
+
var $TypeError$5 = TypeError;
|
|
1263
|
+
var NativeIterator = globalThis$4[ITERATOR$4];
|
|
1258
1264
|
|
|
1259
1265
|
// FF56- have non-standard global helper `Iterator`
|
|
1260
|
-
var FORCED$
|
|
1261
|
-
|| NativeIterator.prototype !== IteratorPrototype$
|
|
1266
|
+
var FORCED$5 = !isCallable$3(NativeIterator)
|
|
1267
|
+
|| NativeIterator.prototype !== IteratorPrototype$3
|
|
1262
1268
|
// FF44- non-standard `Iterator` passes previous tests
|
|
1263
|
-
|| !fails$
|
|
1269
|
+
|| !fails$4(function () { NativeIterator({}); });
|
|
1264
1270
|
|
|
1265
1271
|
var IteratorConstructor = function Iterator() {
|
|
1266
|
-
anInstance(this, IteratorPrototype$
|
|
1267
|
-
if (getPrototypeOf(this) === IteratorPrototype$
|
|
1272
|
+
anInstance(this, IteratorPrototype$3);
|
|
1273
|
+
if (getPrototypeOf$1(this) === IteratorPrototype$3) throw new $TypeError$5('Abstract class Iterator not directly constructable');
|
|
1268
1274
|
};
|
|
1269
1275
|
|
|
1270
1276
|
var defineIteratorPrototypeAccessor = function (key, value) {
|
|
1271
|
-
if (DESCRIPTORS) {
|
|
1272
|
-
defineBuiltInAccessor(IteratorPrototype$
|
|
1277
|
+
if (DESCRIPTORS$2) {
|
|
1278
|
+
defineBuiltInAccessor(IteratorPrototype$3, key, {
|
|
1273
1279
|
configurable: true,
|
|
1274
1280
|
get: function () {
|
|
1275
1281
|
return value;
|
|
1276
1282
|
},
|
|
1277
1283
|
set: function (replacement) {
|
|
1278
1284
|
anObject$8(this);
|
|
1279
|
-
if (this === IteratorPrototype$
|
|
1280
|
-
if (hasOwn(this, key)) this[key] = replacement;
|
|
1281
|
-
else createProperty(this, key, replacement);
|
|
1285
|
+
if (this === IteratorPrototype$3) throw new $TypeError$5("You can't redefine this property");
|
|
1286
|
+
if (hasOwn$2(this, key)) this[key] = replacement;
|
|
1287
|
+
else createProperty$1(this, key, replacement);
|
|
1282
1288
|
}
|
|
1283
1289
|
});
|
|
1284
|
-
} else IteratorPrototype$
|
|
1290
|
+
} else IteratorPrototype$3[key] = value;
|
|
1285
1291
|
};
|
|
1286
1292
|
|
|
1287
|
-
if (!hasOwn(IteratorPrototype$
|
|
1293
|
+
if (!hasOwn$2(IteratorPrototype$3, TO_STRING_TAG$4)) defineIteratorPrototypeAccessor(TO_STRING_TAG$4, ITERATOR$4);
|
|
1288
1294
|
|
|
1289
|
-
if (FORCED$
|
|
1295
|
+
if (FORCED$5 || !hasOwn$2(IteratorPrototype$3, CONSTRUCTOR) || IteratorPrototype$3[CONSTRUCTOR] === Object) {
|
|
1290
1296
|
defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
|
|
1291
1297
|
}
|
|
1292
1298
|
|
|
1293
|
-
IteratorConstructor.prototype = IteratorPrototype$
|
|
1299
|
+
IteratorConstructor.prototype = IteratorPrototype$3;
|
|
1294
1300
|
|
|
1295
1301
|
// `Iterator` constructor
|
|
1296
1302
|
// https://tc39.es/ecma262/#sec-iterator
|
|
1297
|
-
$$
|
|
1303
|
+
$$f({ global: true, constructor: true, forced: FORCED$5 }, {
|
|
1298
1304
|
Iterator: IteratorConstructor
|
|
1299
1305
|
});
|
|
1300
1306
|
|
|
1301
1307
|
var classofRaw$1 = classofRaw$2;
|
|
1302
|
-
var uncurryThis$
|
|
1308
|
+
var uncurryThis$6 = functionUncurryThis;
|
|
1303
1309
|
|
|
1304
1310
|
var functionUncurryThisClause = function (fn) {
|
|
1305
1311
|
// Nashorn bug:
|
|
1306
1312
|
// https://github.com/zloirock/core-js/issues/1128
|
|
1307
1313
|
// https://github.com/zloirock/core-js/issues/1130
|
|
1308
|
-
if (classofRaw$1(fn) === 'Function') return uncurryThis$
|
|
1314
|
+
if (classofRaw$1(fn) === 'Function') return uncurryThis$6(fn);
|
|
1309
1315
|
};
|
|
1310
1316
|
|
|
1311
|
-
var uncurryThis$
|
|
1317
|
+
var uncurryThis$5 = functionUncurryThisClause;
|
|
1312
1318
|
var aCallable$7 = aCallable$9;
|
|
1313
1319
|
var NATIVE_BIND$1 = functionBindNative;
|
|
1314
1320
|
|
|
1315
|
-
var bind$1 = uncurryThis$
|
|
1321
|
+
var bind$1 = uncurryThis$5(uncurryThis$5.bind);
|
|
1316
1322
|
|
|
1317
1323
|
// optional / simple context binding
|
|
1318
1324
|
var functionBindContext = function (fn, that) {
|
|
@@ -1324,32 +1330,32 @@ var functionBindContext = function (fn, that) {
|
|
|
1324
1330
|
|
|
1325
1331
|
var iterators = {};
|
|
1326
1332
|
|
|
1327
|
-
var wellKnownSymbol$
|
|
1328
|
-
var Iterators$
|
|
1333
|
+
var wellKnownSymbol$8 = wellKnownSymbol$c;
|
|
1334
|
+
var Iterators$4 = iterators;
|
|
1329
1335
|
|
|
1330
|
-
var ITERATOR$
|
|
1331
|
-
var ArrayPrototype = Array.prototype;
|
|
1336
|
+
var ITERATOR$3 = wellKnownSymbol$8('iterator');
|
|
1337
|
+
var ArrayPrototype$1 = Array.prototype;
|
|
1332
1338
|
|
|
1333
1339
|
// check on default Array iterator
|
|
1334
1340
|
var isArrayIteratorMethod$1 = function (it) {
|
|
1335
|
-
return it !== undefined && (Iterators$
|
|
1341
|
+
return it !== undefined && (Iterators$4.Array === it || ArrayPrototype$1[ITERATOR$3] === it);
|
|
1336
1342
|
};
|
|
1337
1343
|
|
|
1338
|
-
var wellKnownSymbol$
|
|
1344
|
+
var wellKnownSymbol$7 = wellKnownSymbol$c;
|
|
1339
1345
|
|
|
1340
|
-
var TO_STRING_TAG$
|
|
1346
|
+
var TO_STRING_TAG$3 = wellKnownSymbol$7('toStringTag');
|
|
1341
1347
|
var test = {};
|
|
1342
1348
|
// eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
|
|
1343
|
-
test[TO_STRING_TAG$
|
|
1349
|
+
test[TO_STRING_TAG$3] = 'z';
|
|
1344
1350
|
|
|
1345
1351
|
var toStringTagSupport = String(test) === '[object z]';
|
|
1346
1352
|
|
|
1347
1353
|
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
1348
|
-
var isCallable = isCallable$
|
|
1354
|
+
var isCallable$2 = isCallable$g;
|
|
1349
1355
|
var classofRaw = classofRaw$2;
|
|
1350
|
-
var wellKnownSymbol$
|
|
1356
|
+
var wellKnownSymbol$6 = wellKnownSymbol$c;
|
|
1351
1357
|
|
|
1352
|
-
var TO_STRING_TAG$
|
|
1358
|
+
var TO_STRING_TAG$2 = wellKnownSymbol$6('toStringTag');
|
|
1353
1359
|
var $Object = Object;
|
|
1354
1360
|
|
|
1355
1361
|
// ES3 wrong here
|
|
@@ -1363,46 +1369,46 @@ var tryGet = function (it, key) {
|
|
|
1363
1369
|
};
|
|
1364
1370
|
|
|
1365
1371
|
// getting tag from ES6+ `Object.prototype.toString`
|
|
1366
|
-
var classof$
|
|
1372
|
+
var classof$2 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
1367
1373
|
var O, tag, result;
|
|
1368
1374
|
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
1369
1375
|
// @@toStringTag case
|
|
1370
|
-
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG$
|
|
1376
|
+
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG$2)) == 'string' ? tag
|
|
1371
1377
|
// builtinTag case
|
|
1372
1378
|
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
1373
1379
|
// ES3 arguments fallback
|
|
1374
|
-
: (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
|
|
1380
|
+
: (result = classofRaw(O)) === 'Object' && isCallable$2(O.callee) ? 'Arguments' : result;
|
|
1375
1381
|
};
|
|
1376
1382
|
|
|
1377
|
-
var classof = classof$
|
|
1383
|
+
var classof$1 = classof$2;
|
|
1378
1384
|
var getMethod$2 = getMethod$4;
|
|
1379
1385
|
var isNullOrUndefined = isNullOrUndefined$3;
|
|
1380
|
-
var Iterators = iterators;
|
|
1381
|
-
var wellKnownSymbol$
|
|
1386
|
+
var Iterators$3 = iterators;
|
|
1387
|
+
var wellKnownSymbol$5 = wellKnownSymbol$c;
|
|
1382
1388
|
|
|
1383
|
-
var ITERATOR = wellKnownSymbol$
|
|
1389
|
+
var ITERATOR$2 = wellKnownSymbol$5('iterator');
|
|
1384
1390
|
|
|
1385
1391
|
var getIteratorMethod$2 = function (it) {
|
|
1386
|
-
if (!isNullOrUndefined(it)) return getMethod$2(it, ITERATOR)
|
|
1392
|
+
if (!isNullOrUndefined(it)) return getMethod$2(it, ITERATOR$2)
|
|
1387
1393
|
|| getMethod$2(it, '@@iterator')
|
|
1388
|
-
|| Iterators[classof(it)];
|
|
1394
|
+
|| Iterators$3[classof$1(it)];
|
|
1389
1395
|
};
|
|
1390
1396
|
|
|
1391
|
-
var call$
|
|
1397
|
+
var call$9 = functionCall;
|
|
1392
1398
|
var aCallable$6 = aCallable$9;
|
|
1393
1399
|
var anObject$7 = anObject$d;
|
|
1394
1400
|
var tryToString$1 = tryToString$3;
|
|
1395
1401
|
var getIteratorMethod$1 = getIteratorMethod$2;
|
|
1396
1402
|
|
|
1397
|
-
var $TypeError$
|
|
1403
|
+
var $TypeError$4 = TypeError;
|
|
1398
1404
|
|
|
1399
1405
|
var getIterator$1 = function (argument, usingIterator) {
|
|
1400
1406
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
|
|
1401
|
-
if (aCallable$6(iteratorMethod)) return anObject$7(call$
|
|
1402
|
-
throw new $TypeError$
|
|
1407
|
+
if (aCallable$6(iteratorMethod)) return anObject$7(call$9(iteratorMethod, argument));
|
|
1408
|
+
throw new $TypeError$4(tryToString$1(argument) + ' is not iterable');
|
|
1403
1409
|
};
|
|
1404
1410
|
|
|
1405
|
-
var call$
|
|
1411
|
+
var call$8 = functionCall;
|
|
1406
1412
|
var anObject$6 = anObject$d;
|
|
1407
1413
|
var getMethod$1 = getMethod$4;
|
|
1408
1414
|
|
|
@@ -1415,7 +1421,7 @@ var iteratorClose$9 = function (iterator, kind, value) {
|
|
|
1415
1421
|
if (kind === 'throw') throw value;
|
|
1416
1422
|
return value;
|
|
1417
1423
|
}
|
|
1418
|
-
innerResult = call$
|
|
1424
|
+
innerResult = call$8(innerResult, iterator);
|
|
1419
1425
|
} catch (error) {
|
|
1420
1426
|
innerError = true;
|
|
1421
1427
|
innerResult = error;
|
|
@@ -1427,17 +1433,17 @@ var iteratorClose$9 = function (iterator, kind, value) {
|
|
|
1427
1433
|
};
|
|
1428
1434
|
|
|
1429
1435
|
var bind = functionBindContext;
|
|
1430
|
-
var call$
|
|
1436
|
+
var call$7 = functionCall;
|
|
1431
1437
|
var anObject$5 = anObject$d;
|
|
1432
1438
|
var tryToString = tryToString$3;
|
|
1433
1439
|
var isArrayIteratorMethod = isArrayIteratorMethod$1;
|
|
1434
1440
|
var lengthOfArrayLike = lengthOfArrayLike$2;
|
|
1435
|
-
var isPrototypeOf = objectIsPrototypeOf;
|
|
1441
|
+
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
1436
1442
|
var getIterator = getIterator$1;
|
|
1437
1443
|
var getIteratorMethod = getIteratorMethod$2;
|
|
1438
1444
|
var iteratorClose$8 = iteratorClose$9;
|
|
1439
1445
|
|
|
1440
|
-
var $TypeError$
|
|
1446
|
+
var $TypeError$3 = TypeError;
|
|
1441
1447
|
|
|
1442
1448
|
var Result = function (stopped, result) {
|
|
1443
1449
|
this.stopped = stopped;
|
|
@@ -1446,7 +1452,7 @@ var Result = function (stopped, result) {
|
|
|
1446
1452
|
|
|
1447
1453
|
var ResultPrototype = Result.prototype;
|
|
1448
1454
|
|
|
1449
|
-
var iterate$
|
|
1455
|
+
var iterate$5 = function (iterable, unboundFunction, options) {
|
|
1450
1456
|
var that = options && options.that;
|
|
1451
1457
|
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
|
1452
1458
|
var IS_RECORD = !!(options && options.IS_RECORD);
|
|
@@ -1456,7 +1462,9 @@ var iterate$4 = function (iterable, unboundFunction, options) {
|
|
|
1456
1462
|
var iterator, iterFn, index, length, result, next, step;
|
|
1457
1463
|
|
|
1458
1464
|
var stop = function (condition) {
|
|
1459
|
-
|
|
1465
|
+
var $iterator = iterator;
|
|
1466
|
+
iterator = undefined;
|
|
1467
|
+
if ($iterator) iteratorClose$8($iterator, 'normal');
|
|
1460
1468
|
return new Result(true, condition);
|
|
1461
1469
|
};
|
|
1462
1470
|
|
|
@@ -1473,25 +1481,28 @@ var iterate$4 = function (iterable, unboundFunction, options) {
|
|
|
1473
1481
|
iterator = iterable;
|
|
1474
1482
|
} else {
|
|
1475
1483
|
iterFn = getIteratorMethod(iterable);
|
|
1476
|
-
if (!iterFn) throw new $TypeError$
|
|
1484
|
+
if (!iterFn) throw new $TypeError$3(tryToString(iterable) + ' is not iterable');
|
|
1477
1485
|
// optimisation for array iterators
|
|
1478
1486
|
if (isArrayIteratorMethod(iterFn)) {
|
|
1479
1487
|
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
|
|
1480
1488
|
result = callFn(iterable[index]);
|
|
1481
|
-
if (result && isPrototypeOf(ResultPrototype, result)) return result;
|
|
1489
|
+
if (result && isPrototypeOf$1(ResultPrototype, result)) return result;
|
|
1482
1490
|
} return new Result(false);
|
|
1483
1491
|
}
|
|
1484
1492
|
iterator = getIterator(iterable, iterFn);
|
|
1485
1493
|
}
|
|
1486
1494
|
|
|
1487
1495
|
next = IS_RECORD ? iterable.next : iterator.next;
|
|
1488
|
-
while (!(step = call$
|
|
1496
|
+
while (!(step = call$7(next, iterator)).done) {
|
|
1497
|
+
// `IteratorValue` errors should propagate without closing the iterator
|
|
1498
|
+
var value = step.value;
|
|
1489
1499
|
try {
|
|
1490
|
-
result = callFn(
|
|
1500
|
+
result = callFn(value);
|
|
1491
1501
|
} catch (error) {
|
|
1492
|
-
iteratorClose$8(iterator, 'throw', error);
|
|
1502
|
+
if (iterator) iteratorClose$8(iterator, 'throw', error);
|
|
1503
|
+
else throw error;
|
|
1493
1504
|
}
|
|
1494
|
-
if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;
|
|
1505
|
+
if (typeof result == 'object' && result && isPrototypeOf$1(ResultPrototype, result)) return result;
|
|
1495
1506
|
} return new Result(false);
|
|
1496
1507
|
};
|
|
1497
1508
|
|
|
@@ -1505,11 +1516,11 @@ var getIteratorDirect$4 = function (obj) {
|
|
|
1505
1516
|
};
|
|
1506
1517
|
};
|
|
1507
1518
|
|
|
1508
|
-
var globalThis$
|
|
1519
|
+
var globalThis$3 = globalThis_1;
|
|
1509
1520
|
|
|
1510
1521
|
// https://github.com/tc39/ecma262/pull/3467
|
|
1511
1522
|
var iteratorHelperWithoutClosingOnEarlyError$3 = function (METHOD_NAME, ExpectedError) {
|
|
1512
|
-
var Iterator = globalThis$
|
|
1523
|
+
var Iterator = globalThis$3.Iterator;
|
|
1513
1524
|
var IteratorPrototype = Iterator && Iterator.prototype;
|
|
1514
1525
|
var method = IteratorPrototype && IteratorPrototype[METHOD_NAME];
|
|
1515
1526
|
|
|
@@ -1528,9 +1539,9 @@ var iteratorHelperWithoutClosingOnEarlyError$3 = function (METHOD_NAME, Expected
|
|
|
1528
1539
|
if (!CLOSED) return method;
|
|
1529
1540
|
};
|
|
1530
1541
|
|
|
1531
|
-
var $$
|
|
1532
|
-
var call$
|
|
1533
|
-
var iterate$
|
|
1542
|
+
var $$e = _export;
|
|
1543
|
+
var call$6 = functionCall;
|
|
1544
|
+
var iterate$4 = iterate$5;
|
|
1534
1545
|
var aCallable$5 = aCallable$9;
|
|
1535
1546
|
var anObject$4 = anObject$d;
|
|
1536
1547
|
var getIteratorDirect$3 = getIteratorDirect$4;
|
|
@@ -1541,7 +1552,7 @@ var forEachWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError
|
|
|
1541
1552
|
|
|
1542
1553
|
// `Iterator.prototype.forEach` method
|
|
1543
1554
|
// https://tc39.es/ecma262/#sec-iterator.prototype.foreach
|
|
1544
|
-
$$
|
|
1555
|
+
$$e({ target: 'Iterator', proto: true, real: true, forced: forEachWithoutClosingOnEarlyError }, {
|
|
1545
1556
|
forEach: function forEach(fn) {
|
|
1546
1557
|
anObject$4(this);
|
|
1547
1558
|
try {
|
|
@@ -1550,16 +1561,369 @@ $$b({ target: 'Iterator', proto: true, real: true, forced: forEachWithoutClosing
|
|
|
1550
1561
|
iteratorClose$7(this, 'throw', error);
|
|
1551
1562
|
}
|
|
1552
1563
|
|
|
1553
|
-
if (forEachWithoutClosingOnEarlyError) return call$
|
|
1564
|
+
if (forEachWithoutClosingOnEarlyError) return call$6(forEachWithoutClosingOnEarlyError, this, fn);
|
|
1554
1565
|
|
|
1555
1566
|
var record = getIteratorDirect$3(this);
|
|
1556
1567
|
var counter = 0;
|
|
1557
|
-
iterate$
|
|
1568
|
+
iterate$4(record, function (value) {
|
|
1558
1569
|
fn(value, counter++);
|
|
1559
1570
|
}, { IS_RECORD: true });
|
|
1560
1571
|
}
|
|
1561
1572
|
});
|
|
1562
1573
|
|
|
1574
|
+
// iterable DOM collections
|
|
1575
|
+
// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
|
|
1576
|
+
var domIterables = {
|
|
1577
|
+
CSSRuleList: 0,
|
|
1578
|
+
CSSStyleDeclaration: 0,
|
|
1579
|
+
CSSValueList: 0,
|
|
1580
|
+
ClientRectList: 0,
|
|
1581
|
+
DOMRectList: 0,
|
|
1582
|
+
DOMStringList: 0,
|
|
1583
|
+
DOMTokenList: 1,
|
|
1584
|
+
DataTransferItemList: 0,
|
|
1585
|
+
FileList: 0,
|
|
1586
|
+
HTMLAllCollection: 0,
|
|
1587
|
+
HTMLCollection: 0,
|
|
1588
|
+
HTMLFormElement: 0,
|
|
1589
|
+
HTMLSelectElement: 0,
|
|
1590
|
+
MediaList: 0,
|
|
1591
|
+
MimeTypeArray: 0,
|
|
1592
|
+
NamedNodeMap: 0,
|
|
1593
|
+
NodeList: 1,
|
|
1594
|
+
PaintRequestList: 0,
|
|
1595
|
+
Plugin: 0,
|
|
1596
|
+
PluginArray: 0,
|
|
1597
|
+
SVGLengthList: 0,
|
|
1598
|
+
SVGNumberList: 0,
|
|
1599
|
+
SVGPathSegList: 0,
|
|
1600
|
+
SVGPointList: 0,
|
|
1601
|
+
SVGStringList: 0,
|
|
1602
|
+
SVGTransformList: 0,
|
|
1603
|
+
SourceBufferList: 0,
|
|
1604
|
+
StyleSheetList: 0,
|
|
1605
|
+
TextTrackCueList: 0,
|
|
1606
|
+
TextTrackList: 0,
|
|
1607
|
+
TouchList: 0
|
|
1608
|
+
};
|
|
1609
|
+
|
|
1610
|
+
// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`
|
|
1611
|
+
var documentCreateElement = documentCreateElement$2;
|
|
1612
|
+
|
|
1613
|
+
var classList = documentCreateElement('span').classList;
|
|
1614
|
+
var DOMTokenListPrototype$1 = classList && classList.constructor && classList.constructor.prototype;
|
|
1615
|
+
|
|
1616
|
+
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
|
1617
|
+
|
|
1618
|
+
var wellKnownSymbol$4 = wellKnownSymbol$c;
|
|
1619
|
+
var create$2 = objectCreate;
|
|
1620
|
+
var defineProperty$3 = objectDefineProperty.f;
|
|
1621
|
+
|
|
1622
|
+
var UNSCOPABLES = wellKnownSymbol$4('unscopables');
|
|
1623
|
+
var ArrayPrototype = Array.prototype;
|
|
1624
|
+
|
|
1625
|
+
// Array.prototype[@@unscopables]
|
|
1626
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
1627
|
+
if (ArrayPrototype[UNSCOPABLES] === undefined) {
|
|
1628
|
+
defineProperty$3(ArrayPrototype, UNSCOPABLES, {
|
|
1629
|
+
configurable: true,
|
|
1630
|
+
value: create$2(null)
|
|
1631
|
+
});
|
|
1632
|
+
}
|
|
1633
|
+
|
|
1634
|
+
// add a key to Array.prototype[@@unscopables]
|
|
1635
|
+
var addToUnscopables$1 = function (key) {
|
|
1636
|
+
ArrayPrototype[UNSCOPABLES][key] = true;
|
|
1637
|
+
};
|
|
1638
|
+
|
|
1639
|
+
var defineProperty$2 = objectDefineProperty.f;
|
|
1640
|
+
var hasOwn$1 = hasOwnProperty_1;
|
|
1641
|
+
var wellKnownSymbol$3 = wellKnownSymbol$c;
|
|
1642
|
+
|
|
1643
|
+
var TO_STRING_TAG$1 = wellKnownSymbol$3('toStringTag');
|
|
1644
|
+
|
|
1645
|
+
var setToStringTag$3 = function (target, TAG, STATIC) {
|
|
1646
|
+
if (target && !STATIC) target = target.prototype;
|
|
1647
|
+
if (target && !hasOwn$1(target, TO_STRING_TAG$1)) {
|
|
1648
|
+
defineProperty$2(target, TO_STRING_TAG$1, { configurable: true, value: TAG });
|
|
1649
|
+
}
|
|
1650
|
+
};
|
|
1651
|
+
|
|
1652
|
+
var IteratorPrototype$2 = iteratorsCore.IteratorPrototype;
|
|
1653
|
+
var create$1 = objectCreate;
|
|
1654
|
+
var createPropertyDescriptor$1 = createPropertyDescriptor$5;
|
|
1655
|
+
var setToStringTag$2 = setToStringTag$3;
|
|
1656
|
+
var Iterators$2 = iterators;
|
|
1657
|
+
|
|
1658
|
+
var returnThis$1 = function () { return this; };
|
|
1659
|
+
|
|
1660
|
+
var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
|
|
1661
|
+
var TO_STRING_TAG = NAME + ' Iterator';
|
|
1662
|
+
IteratorConstructor.prototype = create$1(IteratorPrototype$2, { next: createPropertyDescriptor$1(+!ENUMERABLE_NEXT, next) });
|
|
1663
|
+
setToStringTag$2(IteratorConstructor, TO_STRING_TAG, false);
|
|
1664
|
+
Iterators$2[TO_STRING_TAG] = returnThis$1;
|
|
1665
|
+
return IteratorConstructor;
|
|
1666
|
+
};
|
|
1667
|
+
|
|
1668
|
+
var uncurryThis$4 = functionUncurryThis;
|
|
1669
|
+
var aCallable$4 = aCallable$9;
|
|
1670
|
+
|
|
1671
|
+
var functionUncurryThisAccessor = function (object, key, method) {
|
|
1672
|
+
try {
|
|
1673
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1674
|
+
return uncurryThis$4(aCallable$4(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
1675
|
+
} catch (error) { /* empty */ }
|
|
1676
|
+
};
|
|
1677
|
+
|
|
1678
|
+
var isObject$3 = isObject$a;
|
|
1679
|
+
|
|
1680
|
+
var isPossiblePrototype$1 = function (argument) {
|
|
1681
|
+
return isObject$3(argument) || argument === null;
|
|
1682
|
+
};
|
|
1683
|
+
|
|
1684
|
+
var isPossiblePrototype = isPossiblePrototype$1;
|
|
1685
|
+
|
|
1686
|
+
var $String$1 = String;
|
|
1687
|
+
var $TypeError$2 = TypeError;
|
|
1688
|
+
|
|
1689
|
+
var aPossiblePrototype$1 = function (argument) {
|
|
1690
|
+
if (isPossiblePrototype(argument)) return argument;
|
|
1691
|
+
throw new $TypeError$2("Can't set " + $String$1(argument) + ' as a prototype');
|
|
1692
|
+
};
|
|
1693
|
+
|
|
1694
|
+
/* eslint-disable no-proto -- safe */
|
|
1695
|
+
var uncurryThisAccessor$1 = functionUncurryThisAccessor;
|
|
1696
|
+
var isObject$2 = isObject$a;
|
|
1697
|
+
var requireObjectCoercible = requireObjectCoercible$3;
|
|
1698
|
+
var aPossiblePrototype = aPossiblePrototype$1;
|
|
1699
|
+
|
|
1700
|
+
// `Object.setPrototypeOf` method
|
|
1701
|
+
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
|
1702
|
+
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
1703
|
+
// eslint-disable-next-line es/no-object-setprototypeof -- safe
|
|
1704
|
+
var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
1705
|
+
var CORRECT_SETTER = false;
|
|
1706
|
+
var test = {};
|
|
1707
|
+
var setter;
|
|
1708
|
+
try {
|
|
1709
|
+
setter = uncurryThisAccessor$1(Object.prototype, '__proto__', 'set');
|
|
1710
|
+
setter(test, []);
|
|
1711
|
+
CORRECT_SETTER = test instanceof Array;
|
|
1712
|
+
} catch (error) { /* empty */ }
|
|
1713
|
+
return function setPrototypeOf(O, proto) {
|
|
1714
|
+
requireObjectCoercible(O);
|
|
1715
|
+
aPossiblePrototype(proto);
|
|
1716
|
+
if (!isObject$2(O)) return O;
|
|
1717
|
+
if (CORRECT_SETTER) setter(O, proto);
|
|
1718
|
+
else O.__proto__ = proto;
|
|
1719
|
+
return O;
|
|
1720
|
+
};
|
|
1721
|
+
}() : undefined);
|
|
1722
|
+
|
|
1723
|
+
var $$d = _export;
|
|
1724
|
+
var call$5 = functionCall;
|
|
1725
|
+
var FunctionName = functionName;
|
|
1726
|
+
var isCallable$1 = isCallable$g;
|
|
1727
|
+
var createIteratorConstructor = iteratorCreateConstructor;
|
|
1728
|
+
var getPrototypeOf = objectGetPrototypeOf;
|
|
1729
|
+
var setPrototypeOf$2 = objectSetPrototypeOf;
|
|
1730
|
+
var setToStringTag$1 = setToStringTag$3;
|
|
1731
|
+
var createNonEnumerableProperty$5 = createNonEnumerableProperty$8;
|
|
1732
|
+
var defineBuiltIn$1 = defineBuiltIn$4;
|
|
1733
|
+
var wellKnownSymbol$2 = wellKnownSymbol$c;
|
|
1734
|
+
var Iterators$1 = iterators;
|
|
1735
|
+
var IteratorsCore = iteratorsCore;
|
|
1736
|
+
|
|
1737
|
+
var PROPER_FUNCTION_NAME = FunctionName.PROPER;
|
|
1738
|
+
var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
|
|
1739
|
+
var IteratorPrototype$1 = IteratorsCore.IteratorPrototype;
|
|
1740
|
+
var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
|
|
1741
|
+
var ITERATOR$1 = wellKnownSymbol$2('iterator');
|
|
1742
|
+
var KEYS = 'keys';
|
|
1743
|
+
var VALUES = 'values';
|
|
1744
|
+
var ENTRIES = 'entries';
|
|
1745
|
+
|
|
1746
|
+
var returnThis = function () { return this; };
|
|
1747
|
+
|
|
1748
|
+
var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
|
|
1749
|
+
createIteratorConstructor(IteratorConstructor, NAME, next);
|
|
1750
|
+
|
|
1751
|
+
var getIterationMethod = function (KIND) {
|
|
1752
|
+
if (KIND === DEFAULT && defaultIterator) return defaultIterator;
|
|
1753
|
+
if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype) return IterablePrototype[KIND];
|
|
1754
|
+
|
|
1755
|
+
switch (KIND) {
|
|
1756
|
+
case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
|
|
1757
|
+
case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
|
|
1758
|
+
case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
|
|
1759
|
+
}
|
|
1760
|
+
|
|
1761
|
+
return function () { return new IteratorConstructor(this); };
|
|
1762
|
+
};
|
|
1763
|
+
|
|
1764
|
+
var TO_STRING_TAG = NAME + ' Iterator';
|
|
1765
|
+
var INCORRECT_VALUES_NAME = false;
|
|
1766
|
+
var IterablePrototype = Iterable.prototype;
|
|
1767
|
+
var nativeIterator = IterablePrototype[ITERATOR$1]
|
|
1768
|
+
|| IterablePrototype['@@iterator']
|
|
1769
|
+
|| DEFAULT && IterablePrototype[DEFAULT];
|
|
1770
|
+
var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
|
|
1771
|
+
var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
|
|
1772
|
+
var CurrentIteratorPrototype, methods, KEY;
|
|
1773
|
+
|
|
1774
|
+
// fix native
|
|
1775
|
+
if (anyNativeIterator) {
|
|
1776
|
+
CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
|
|
1777
|
+
if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
|
|
1778
|
+
if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype$1) {
|
|
1779
|
+
if (setPrototypeOf$2) {
|
|
1780
|
+
setPrototypeOf$2(CurrentIteratorPrototype, IteratorPrototype$1);
|
|
1781
|
+
} else if (!isCallable$1(CurrentIteratorPrototype[ITERATOR$1])) {
|
|
1782
|
+
defineBuiltIn$1(CurrentIteratorPrototype, ITERATOR$1, returnThis);
|
|
1783
|
+
}
|
|
1784
|
+
}
|
|
1785
|
+
// Set @@toStringTag to native iterators
|
|
1786
|
+
setToStringTag$1(CurrentIteratorPrototype, TO_STRING_TAG, true);
|
|
1787
|
+
}
|
|
1788
|
+
}
|
|
1789
|
+
|
|
1790
|
+
// fix Array.prototype.{ values, @@iterator }.name in V8 / FF
|
|
1791
|
+
if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
|
|
1792
|
+
if (CONFIGURABLE_FUNCTION_NAME) {
|
|
1793
|
+
createNonEnumerableProperty$5(IterablePrototype, 'name', VALUES);
|
|
1794
|
+
} else {
|
|
1795
|
+
INCORRECT_VALUES_NAME = true;
|
|
1796
|
+
defaultIterator = function values() { return call$5(nativeIterator, this); };
|
|
1797
|
+
}
|
|
1798
|
+
}
|
|
1799
|
+
|
|
1800
|
+
// export additional methods
|
|
1801
|
+
if (DEFAULT) {
|
|
1802
|
+
methods = {
|
|
1803
|
+
values: getIterationMethod(VALUES),
|
|
1804
|
+
keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
|
|
1805
|
+
entries: getIterationMethod(ENTRIES)
|
|
1806
|
+
};
|
|
1807
|
+
if (FORCED) for (KEY in methods) {
|
|
1808
|
+
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
|
1809
|
+
defineBuiltIn$1(IterablePrototype, KEY, methods[KEY]);
|
|
1810
|
+
}
|
|
1811
|
+
} else $$d({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
|
|
1812
|
+
}
|
|
1813
|
+
|
|
1814
|
+
// define iterator
|
|
1815
|
+
if (IterablePrototype[ITERATOR$1] !== defaultIterator) {
|
|
1816
|
+
defineBuiltIn$1(IterablePrototype, ITERATOR$1, defaultIterator, { name: DEFAULT });
|
|
1817
|
+
}
|
|
1818
|
+
Iterators$1[NAME] = defaultIterator;
|
|
1819
|
+
|
|
1820
|
+
return methods;
|
|
1821
|
+
};
|
|
1822
|
+
|
|
1823
|
+
// `CreateIterResultObject` abstract operation
|
|
1824
|
+
// https://tc39.es/ecma262/#sec-createiterresultobject
|
|
1825
|
+
var createIterResultObject$2 = function (value, done) {
|
|
1826
|
+
return { value: value, done: done };
|
|
1827
|
+
};
|
|
1828
|
+
|
|
1829
|
+
var toIndexedObject = toIndexedObject$5;
|
|
1830
|
+
var addToUnscopables = addToUnscopables$1;
|
|
1831
|
+
var Iterators = iterators;
|
|
1832
|
+
var InternalStateModule$1 = internalState;
|
|
1833
|
+
var defineProperty$1 = objectDefineProperty.f;
|
|
1834
|
+
var defineIterator = iteratorDefine;
|
|
1835
|
+
var createIterResultObject$1 = createIterResultObject$2;
|
|
1836
|
+
var DESCRIPTORS$1 = descriptors;
|
|
1837
|
+
|
|
1838
|
+
var ARRAY_ITERATOR = 'Array Iterator';
|
|
1839
|
+
var setInternalState$1 = InternalStateModule$1.set;
|
|
1840
|
+
var getInternalState = InternalStateModule$1.getterFor(ARRAY_ITERATOR);
|
|
1841
|
+
|
|
1842
|
+
// `Array.prototype.entries` method
|
|
1843
|
+
// https://tc39.es/ecma262/#sec-array.prototype.entries
|
|
1844
|
+
// `Array.prototype.keys` method
|
|
1845
|
+
// https://tc39.es/ecma262/#sec-array.prototype.keys
|
|
1846
|
+
// `Array.prototype.values` method
|
|
1847
|
+
// https://tc39.es/ecma262/#sec-array.prototype.values
|
|
1848
|
+
// `Array.prototype[@@iterator]` method
|
|
1849
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@iterator
|
|
1850
|
+
// `CreateArrayIterator` internal method
|
|
1851
|
+
// https://tc39.es/ecma262/#sec-createarrayiterator
|
|
1852
|
+
var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind) {
|
|
1853
|
+
setInternalState$1(this, {
|
|
1854
|
+
type: ARRAY_ITERATOR,
|
|
1855
|
+
target: toIndexedObject(iterated), // target
|
|
1856
|
+
index: 0, // next index
|
|
1857
|
+
kind: kind // kind
|
|
1858
|
+
});
|
|
1859
|
+
// `%ArrayIteratorPrototype%.next` method
|
|
1860
|
+
// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next
|
|
1861
|
+
}, function () {
|
|
1862
|
+
var state = getInternalState(this);
|
|
1863
|
+
var target = state.target;
|
|
1864
|
+
var index = state.index++;
|
|
1865
|
+
if (!target || index >= target.length) {
|
|
1866
|
+
state.target = null;
|
|
1867
|
+
return createIterResultObject$1(undefined, true);
|
|
1868
|
+
}
|
|
1869
|
+
switch (state.kind) {
|
|
1870
|
+
case 'keys': return createIterResultObject$1(index, false);
|
|
1871
|
+
case 'values': return createIterResultObject$1(target[index], false);
|
|
1872
|
+
} return createIterResultObject$1([index, target[index]], false);
|
|
1873
|
+
}, 'values');
|
|
1874
|
+
|
|
1875
|
+
// argumentsList[@@iterator] is %ArrayProto_values%
|
|
1876
|
+
// https://tc39.es/ecma262/#sec-createunmappedargumentsobject
|
|
1877
|
+
// https://tc39.es/ecma262/#sec-createmappedargumentsobject
|
|
1878
|
+
var values = Iterators.Arguments = Iterators.Array;
|
|
1879
|
+
|
|
1880
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
1881
|
+
addToUnscopables('keys');
|
|
1882
|
+
addToUnscopables('values');
|
|
1883
|
+
addToUnscopables('entries');
|
|
1884
|
+
|
|
1885
|
+
// V8 ~ Chrome 45- bug
|
|
1886
|
+
if (DESCRIPTORS$1 && values.name !== 'values') try {
|
|
1887
|
+
defineProperty$1(values, 'name', { value: 'values' });
|
|
1888
|
+
} catch (error) { /* empty */ }
|
|
1889
|
+
|
|
1890
|
+
var globalThis$2 = globalThis_1;
|
|
1891
|
+
var DOMIterables = domIterables;
|
|
1892
|
+
var DOMTokenListPrototype = domTokenListPrototype;
|
|
1893
|
+
var ArrayIteratorMethods = es_array_iterator;
|
|
1894
|
+
var createNonEnumerableProperty$4 = createNonEnumerableProperty$8;
|
|
1895
|
+
var setToStringTag = setToStringTag$3;
|
|
1896
|
+
var wellKnownSymbol$1 = wellKnownSymbol$c;
|
|
1897
|
+
|
|
1898
|
+
var ITERATOR = wellKnownSymbol$1('iterator');
|
|
1899
|
+
var ArrayValues = ArrayIteratorMethods.values;
|
|
1900
|
+
|
|
1901
|
+
var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
1902
|
+
if (CollectionPrototype) {
|
|
1903
|
+
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
1904
|
+
if (CollectionPrototype[ITERATOR] !== ArrayValues) try {
|
|
1905
|
+
createNonEnumerableProperty$4(CollectionPrototype, ITERATOR, ArrayValues);
|
|
1906
|
+
} catch (error) {
|
|
1907
|
+
CollectionPrototype[ITERATOR] = ArrayValues;
|
|
1908
|
+
}
|
|
1909
|
+
setToStringTag(CollectionPrototype, COLLECTION_NAME, true);
|
|
1910
|
+
if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
|
|
1911
|
+
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
1912
|
+
if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
|
|
1913
|
+
createNonEnumerableProperty$4(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
|
|
1914
|
+
} catch (error) {
|
|
1915
|
+
CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
|
|
1916
|
+
}
|
|
1917
|
+
}
|
|
1918
|
+
}
|
|
1919
|
+
};
|
|
1920
|
+
|
|
1921
|
+
for (var COLLECTION_NAME in DOMIterables) {
|
|
1922
|
+
handlePrototype(globalThis$2[COLLECTION_NAME] && globalThis$2[COLLECTION_NAME].prototype, COLLECTION_NAME);
|
|
1923
|
+
}
|
|
1924
|
+
|
|
1925
|
+
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
1926
|
+
|
|
1563
1927
|
function flattenObject(obj, prefix = '', result = {}) {
|
|
1564
1928
|
Object.entries(obj).forEach(([key, value]) => {
|
|
1565
1929
|
const newKey = prefix ? `${prefix}-${key}` : key;
|
|
@@ -1580,7 +1944,7 @@ function moduleExists(modulePath) {
|
|
|
1580
1944
|
try {
|
|
1581
1945
|
require.resolve(modulePath);
|
|
1582
1946
|
return true;
|
|
1583
|
-
} catch {
|
|
1947
|
+
} catch (_unused) {
|
|
1584
1948
|
return false;
|
|
1585
1949
|
}
|
|
1586
1950
|
}
|
|
@@ -1593,7 +1957,7 @@ function flattenColorPalette(colors) {
|
|
|
1593
1957
|
default: twFlattenColorPalette
|
|
1594
1958
|
} = require('tailwindcss/lib/util/flattenColorPalette');
|
|
1595
1959
|
return twFlattenColorPalette(colors);
|
|
1596
|
-
} catch {
|
|
1960
|
+
} catch (_unused2) {
|
|
1597
1961
|
return customFlattenColorPalette(colors);
|
|
1598
1962
|
}
|
|
1599
1963
|
}
|
|
@@ -1831,19 +2195,245 @@ const LogicalProperties = plugin(({
|
|
|
1831
2195
|
});
|
|
1832
2196
|
});
|
|
1833
2197
|
|
|
1834
|
-
var
|
|
2198
|
+
var NATIVE_BIND = functionBindNative;
|
|
2199
|
+
|
|
2200
|
+
var FunctionPrototype = Function.prototype;
|
|
2201
|
+
var apply$2 = FunctionPrototype.apply;
|
|
2202
|
+
var call$4 = FunctionPrototype.call;
|
|
2203
|
+
|
|
2204
|
+
// eslint-disable-next-line es/no-function-prototype-bind, es/no-reflect -- safe
|
|
2205
|
+
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call$4.bind(apply$2) : function () {
|
|
2206
|
+
return call$4.apply(apply$2, arguments);
|
|
2207
|
+
});
|
|
2208
|
+
|
|
2209
|
+
var defineProperty = objectDefineProperty.f;
|
|
2210
|
+
|
|
2211
|
+
var proxyAccessor$1 = function (Target, Source, key) {
|
|
2212
|
+
key in Target || defineProperty(Target, key, {
|
|
2213
|
+
configurable: true,
|
|
2214
|
+
get: function () { return Source[key]; },
|
|
2215
|
+
set: function (it) { Source[key] = it; }
|
|
2216
|
+
});
|
|
2217
|
+
};
|
|
2218
|
+
|
|
2219
|
+
var isCallable = isCallable$g;
|
|
2220
|
+
var isObject$1 = isObject$a;
|
|
2221
|
+
var setPrototypeOf$1 = objectSetPrototypeOf;
|
|
2222
|
+
|
|
2223
|
+
// makes subclassing work correct for wrapped built-ins
|
|
2224
|
+
var inheritIfRequired$1 = function ($this, dummy, Wrapper) {
|
|
2225
|
+
var NewTarget, NewTargetPrototype;
|
|
2226
|
+
if (
|
|
2227
|
+
// it can work only with native `setPrototypeOf`
|
|
2228
|
+
setPrototypeOf$1 &&
|
|
2229
|
+
// we haven't completely correct pre-ES6 way for getting `new.target`, so use this
|
|
2230
|
+
isCallable(NewTarget = dummy.constructor) &&
|
|
2231
|
+
NewTarget !== Wrapper &&
|
|
2232
|
+
isObject$1(NewTargetPrototype = NewTarget.prototype) &&
|
|
2233
|
+
NewTargetPrototype !== Wrapper.prototype
|
|
2234
|
+
) setPrototypeOf$1($this, NewTargetPrototype);
|
|
2235
|
+
return $this;
|
|
2236
|
+
};
|
|
2237
|
+
|
|
2238
|
+
var classof = classof$2;
|
|
2239
|
+
|
|
2240
|
+
var $String = String;
|
|
2241
|
+
|
|
2242
|
+
var toString$1 = function (argument) {
|
|
2243
|
+
if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
|
|
2244
|
+
return $String(argument);
|
|
2245
|
+
};
|
|
2246
|
+
|
|
2247
|
+
var toString = toString$1;
|
|
2248
|
+
|
|
2249
|
+
var normalizeStringArgument$1 = function (argument, $default) {
|
|
2250
|
+
return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);
|
|
2251
|
+
};
|
|
2252
|
+
|
|
2253
|
+
var isObject = isObject$a;
|
|
2254
|
+
var createNonEnumerableProperty$3 = createNonEnumerableProperty$8;
|
|
2255
|
+
|
|
2256
|
+
// `InstallErrorCause` abstract operation
|
|
2257
|
+
// https://tc39.es/ecma262/#sec-installerrorcause
|
|
2258
|
+
var installErrorCause$1 = function (O, options) {
|
|
2259
|
+
if (isObject(options) && 'cause' in options) {
|
|
2260
|
+
createNonEnumerableProperty$3(O, 'cause', options.cause);
|
|
2261
|
+
}
|
|
2262
|
+
};
|
|
2263
|
+
|
|
2264
|
+
var uncurryThis$3 = functionUncurryThis;
|
|
2265
|
+
|
|
2266
|
+
var $Error = Error;
|
|
2267
|
+
var replace = uncurryThis$3(''.replace);
|
|
2268
|
+
|
|
2269
|
+
var TEST = (function (arg) { return String(new $Error(arg).stack); })('zxcasd');
|
|
2270
|
+
// eslint-disable-next-line redos/no-vulnerable, sonarjs/slow-regex -- safe
|
|
2271
|
+
var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/;
|
|
2272
|
+
var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);
|
|
2273
|
+
|
|
2274
|
+
var errorStackClear = function (stack, dropEntries) {
|
|
2275
|
+
if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) {
|
|
2276
|
+
while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, '');
|
|
2277
|
+
} return stack;
|
|
2278
|
+
};
|
|
2279
|
+
|
|
2280
|
+
var fails$3 = fails$f;
|
|
2281
|
+
var createPropertyDescriptor = createPropertyDescriptor$5;
|
|
2282
|
+
|
|
2283
|
+
var errorStackInstallable = !fails$3(function () {
|
|
2284
|
+
var error = new Error('a');
|
|
2285
|
+
if (!('stack' in error)) return true;
|
|
2286
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
2287
|
+
Object.defineProperty(error, 'stack', createPropertyDescriptor(1, 7));
|
|
2288
|
+
return error.stack !== 7;
|
|
2289
|
+
});
|
|
2290
|
+
|
|
2291
|
+
var createNonEnumerableProperty$2 = createNonEnumerableProperty$8;
|
|
2292
|
+
var clearErrorStack = errorStackClear;
|
|
2293
|
+
var ERROR_STACK_INSTALLABLE = errorStackInstallable;
|
|
2294
|
+
|
|
2295
|
+
// non-standard V8
|
|
2296
|
+
// eslint-disable-next-line es/no-nonstandard-error-properties -- safe
|
|
2297
|
+
var captureStackTrace = Error.captureStackTrace;
|
|
2298
|
+
|
|
2299
|
+
var errorStackInstall = function (error, C, stack, dropEntries) {
|
|
2300
|
+
if (ERROR_STACK_INSTALLABLE) {
|
|
2301
|
+
if (captureStackTrace) captureStackTrace(error, C);
|
|
2302
|
+
else createNonEnumerableProperty$2(error, 'stack', clearErrorStack(stack, dropEntries));
|
|
2303
|
+
}
|
|
2304
|
+
};
|
|
2305
|
+
|
|
2306
|
+
var getBuiltIn$1 = getBuiltIn$5;
|
|
2307
|
+
var hasOwn = hasOwnProperty_1;
|
|
2308
|
+
var createNonEnumerableProperty$1 = createNonEnumerableProperty$8;
|
|
2309
|
+
var isPrototypeOf = objectIsPrototypeOf;
|
|
2310
|
+
var setPrototypeOf = objectSetPrototypeOf;
|
|
2311
|
+
var copyConstructorProperties = copyConstructorProperties$2;
|
|
2312
|
+
var proxyAccessor = proxyAccessor$1;
|
|
2313
|
+
var inheritIfRequired = inheritIfRequired$1;
|
|
2314
|
+
var normalizeStringArgument = normalizeStringArgument$1;
|
|
2315
|
+
var installErrorCause = installErrorCause$1;
|
|
2316
|
+
var installErrorStack = errorStackInstall;
|
|
2317
|
+
var DESCRIPTORS = descriptors;
|
|
2318
|
+
|
|
2319
|
+
var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) {
|
|
2320
|
+
var STACK_TRACE_LIMIT = 'stackTraceLimit';
|
|
2321
|
+
var OPTIONS_POSITION = IS_AGGREGATE_ERROR ? 2 : 1;
|
|
2322
|
+
var path = FULL_NAME.split('.');
|
|
2323
|
+
var ERROR_NAME = path[path.length - 1];
|
|
2324
|
+
var OriginalError = getBuiltIn$1.apply(null, path);
|
|
2325
|
+
|
|
2326
|
+
if (!OriginalError) return;
|
|
2327
|
+
|
|
2328
|
+
var OriginalErrorPrototype = OriginalError.prototype;
|
|
2329
|
+
|
|
2330
|
+
// V8 9.3- bug https://bugs.chromium.org/p/v8/issues/detail?id=12006
|
|
2331
|
+
if (hasOwn(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause;
|
|
2332
|
+
|
|
2333
|
+
if (!FORCED) return OriginalError;
|
|
2334
|
+
|
|
2335
|
+
var BaseError = getBuiltIn$1('Error');
|
|
2336
|
+
|
|
2337
|
+
var WrappedError = wrapper(function (a, b) {
|
|
2338
|
+
var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b : a, undefined);
|
|
2339
|
+
var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError();
|
|
2340
|
+
if (message !== undefined) createNonEnumerableProperty$1(result, 'message', message);
|
|
2341
|
+
installErrorStack(result, WrappedError, result.stack, 2);
|
|
2342
|
+
if (this && isPrototypeOf(OriginalErrorPrototype, this)) inheritIfRequired(result, this, WrappedError);
|
|
2343
|
+
if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]);
|
|
2344
|
+
return result;
|
|
2345
|
+
});
|
|
2346
|
+
|
|
2347
|
+
WrappedError.prototype = OriginalErrorPrototype;
|
|
2348
|
+
|
|
2349
|
+
if (ERROR_NAME !== 'Error') {
|
|
2350
|
+
if (setPrototypeOf) setPrototypeOf(WrappedError, BaseError);
|
|
2351
|
+
else copyConstructorProperties(WrappedError, BaseError, { name: true });
|
|
2352
|
+
} else if (DESCRIPTORS && STACK_TRACE_LIMIT in OriginalError) {
|
|
2353
|
+
proxyAccessor(WrappedError, OriginalError, STACK_TRACE_LIMIT);
|
|
2354
|
+
proxyAccessor(WrappedError, OriginalError, 'prepareStackTrace');
|
|
2355
|
+
}
|
|
2356
|
+
|
|
2357
|
+
copyConstructorProperties(WrappedError, OriginalError);
|
|
2358
|
+
|
|
2359
|
+
try {
|
|
2360
|
+
// Safari 13- bug: WebAssembly errors does not have a proper `.name`
|
|
2361
|
+
if (OriginalErrorPrototype.name !== ERROR_NAME) {
|
|
2362
|
+
createNonEnumerableProperty$1(OriginalErrorPrototype, 'name', ERROR_NAME);
|
|
2363
|
+
}
|
|
2364
|
+
OriginalErrorPrototype.constructor = WrappedError;
|
|
2365
|
+
} catch (error) { /* empty */ }
|
|
2366
|
+
|
|
2367
|
+
return WrappedError;
|
|
2368
|
+
};
|
|
2369
|
+
|
|
2370
|
+
/* eslint-disable no-unused-vars -- required for functions `.length` */
|
|
2371
|
+
var $$c = _export;
|
|
2372
|
+
var globalThis$1 = globalThis_1;
|
|
2373
|
+
var apply$1 = functionApply;
|
|
2374
|
+
var wrapErrorConstructorWithCause = wrapErrorConstructorWithCause$1;
|
|
2375
|
+
|
|
2376
|
+
var WEB_ASSEMBLY = 'WebAssembly';
|
|
2377
|
+
var WebAssembly = globalThis$1[WEB_ASSEMBLY];
|
|
2378
|
+
|
|
2379
|
+
// eslint-disable-next-line es/no-error-cause -- feature detection
|
|
2380
|
+
var FORCED$4 = new Error('e', { cause: 7 }).cause !== 7;
|
|
2381
|
+
|
|
2382
|
+
var exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) {
|
|
2383
|
+
var O = {};
|
|
2384
|
+
// eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
|
|
2385
|
+
O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED$4);
|
|
2386
|
+
$$c({ global: true, constructor: true, arity: 1, forced: FORCED$4 }, O);
|
|
2387
|
+
};
|
|
2388
|
+
|
|
2389
|
+
var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {
|
|
2390
|
+
if (WebAssembly && WebAssembly[ERROR_NAME]) {
|
|
2391
|
+
var O = {};
|
|
2392
|
+
// eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
|
|
2393
|
+
O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED$4);
|
|
2394
|
+
$$c({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED$4 }, O);
|
|
2395
|
+
}
|
|
2396
|
+
};
|
|
2397
|
+
|
|
2398
|
+
// https://tc39.es/ecma262/#sec-nativeerror
|
|
2399
|
+
exportGlobalErrorCauseWrapper('Error', function (init) {
|
|
2400
|
+
return function Error(message) { return apply$1(init, this, arguments); };
|
|
2401
|
+
});
|
|
2402
|
+
exportGlobalErrorCauseWrapper('EvalError', function (init) {
|
|
2403
|
+
return function EvalError(message) { return apply$1(init, this, arguments); };
|
|
2404
|
+
});
|
|
2405
|
+
exportGlobalErrorCauseWrapper('RangeError', function (init) {
|
|
2406
|
+
return function RangeError(message) { return apply$1(init, this, arguments); };
|
|
2407
|
+
});
|
|
2408
|
+
exportGlobalErrorCauseWrapper('ReferenceError', function (init) {
|
|
2409
|
+
return function ReferenceError(message) { return apply$1(init, this, arguments); };
|
|
2410
|
+
});
|
|
2411
|
+
exportGlobalErrorCauseWrapper('SyntaxError', function (init) {
|
|
2412
|
+
return function SyntaxError(message) { return apply$1(init, this, arguments); };
|
|
2413
|
+
});
|
|
2414
|
+
exportGlobalErrorCauseWrapper('TypeError', function (init) {
|
|
2415
|
+
return function TypeError(message) { return apply$1(init, this, arguments); };
|
|
2416
|
+
});
|
|
2417
|
+
exportGlobalErrorCauseWrapper('URIError', function (init) {
|
|
2418
|
+
return function URIError(message) { return apply$1(init, this, arguments); };
|
|
2419
|
+
});
|
|
2420
|
+
exportWebAssemblyErrorCauseWrapper('CompileError', function (init) {
|
|
2421
|
+
return function CompileError(message) { return apply$1(init, this, arguments); };
|
|
2422
|
+
});
|
|
2423
|
+
exportWebAssemblyErrorCauseWrapper('LinkError', function (init) {
|
|
2424
|
+
return function LinkError(message) { return apply$1(init, this, arguments); };
|
|
2425
|
+
});
|
|
2426
|
+
exportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) {
|
|
2427
|
+
return function RuntimeError(message) { return apply$1(init, this, arguments); };
|
|
2428
|
+
});
|
|
2429
|
+
|
|
2430
|
+
var defineBuiltIn = defineBuiltIn$4;
|
|
1835
2431
|
|
|
1836
2432
|
var defineBuiltIns$1 = function (target, src, options) {
|
|
1837
2433
|
for (var key in src) defineBuiltIn(target, key, src[key], options);
|
|
1838
2434
|
return target;
|
|
1839
2435
|
};
|
|
1840
2436
|
|
|
1841
|
-
// `CreateIterResultObject` abstract operation
|
|
1842
|
-
// https://tc39.es/ecma262/#sec-createiterresultobject
|
|
1843
|
-
var createIterResultObject$1 = function (value, done) {
|
|
1844
|
-
return { value: value, done: done };
|
|
1845
|
-
};
|
|
1846
|
-
|
|
1847
2437
|
var iteratorClose$6 = iteratorClose$9;
|
|
1848
2438
|
|
|
1849
2439
|
var iteratorCloseAll$1 = function (iters, kind, value) {
|
|
@@ -1860,15 +2450,15 @@ var iteratorCloseAll$1 = function (iters, kind, value) {
|
|
|
1860
2450
|
return value;
|
|
1861
2451
|
};
|
|
1862
2452
|
|
|
1863
|
-
var call$
|
|
2453
|
+
var call$3 = functionCall;
|
|
1864
2454
|
var create = objectCreate;
|
|
1865
|
-
var createNonEnumerableProperty = createNonEnumerableProperty$
|
|
2455
|
+
var createNonEnumerableProperty = createNonEnumerableProperty$8;
|
|
1866
2456
|
var defineBuiltIns = defineBuiltIns$1;
|
|
1867
|
-
var wellKnownSymbol = wellKnownSymbol$
|
|
2457
|
+
var wellKnownSymbol = wellKnownSymbol$c;
|
|
1868
2458
|
var InternalStateModule = internalState;
|
|
1869
2459
|
var getMethod = getMethod$4;
|
|
1870
2460
|
var IteratorPrototype = iteratorsCore.IteratorPrototype;
|
|
1871
|
-
var createIterResultObject = createIterResultObject$
|
|
2461
|
+
var createIterResultObject = createIterResultObject$2;
|
|
1872
2462
|
var iteratorClose$5 = iteratorClose$9;
|
|
1873
2463
|
var iteratorCloseAll = iteratorCloseAll$1;
|
|
1874
2464
|
|
|
@@ -1901,11 +2491,13 @@ var createIteratorProxyPrototype = function (IS_ITERATOR) {
|
|
|
1901
2491
|
'return': function () {
|
|
1902
2492
|
var state = getInternalState(this);
|
|
1903
2493
|
var iterator = state.iterator;
|
|
2494
|
+
var done = state.done;
|
|
1904
2495
|
state.done = true;
|
|
1905
2496
|
if (IS_ITERATOR) {
|
|
1906
2497
|
var returnMethod = getMethod(iterator, 'return');
|
|
1907
|
-
return returnMethod ? call$
|
|
2498
|
+
return returnMethod ? call$3(returnMethod, iterator) : createIterResultObject(undefined, true);
|
|
1908
2499
|
}
|
|
2500
|
+
if (done) return createIterResultObject(undefined, true);
|
|
1909
2501
|
if (state.inner) try {
|
|
1910
2502
|
iteratorClose$5(state.inner.iterator, NORMAL);
|
|
1911
2503
|
} catch (error) {
|
|
@@ -1914,7 +2506,8 @@ var createIteratorProxyPrototype = function (IS_ITERATOR) {
|
|
|
1914
2506
|
if (state.openIters) try {
|
|
1915
2507
|
iteratorCloseAll(state.openIters, NORMAL);
|
|
1916
2508
|
} catch (error) {
|
|
1917
|
-
return iteratorClose$5(iterator, THROW, error);
|
|
2509
|
+
if (iterator) return iteratorClose$5(iterator, THROW, error);
|
|
2510
|
+
throw error;
|
|
1918
2511
|
}
|
|
1919
2512
|
if (iterator) iteratorClose$5(iterator, NORMAL);
|
|
1920
2513
|
return createIterResultObject(undefined, true);
|
|
@@ -1970,9 +2563,9 @@ var iteratorHelperThrowsOnInvalidIterator$1 = function (methodName, argument) {
|
|
|
1970
2563
|
}
|
|
1971
2564
|
};
|
|
1972
2565
|
|
|
1973
|
-
var $$
|
|
1974
|
-
var call$
|
|
1975
|
-
var aCallable$
|
|
2566
|
+
var $$b = _export;
|
|
2567
|
+
var call$2 = functionCall;
|
|
2568
|
+
var aCallable$3 = aCallable$9;
|
|
1976
2569
|
var anObject$2 = anObject$d;
|
|
1977
2570
|
var getIteratorDirect$2 = getIteratorDirect$4;
|
|
1978
2571
|
var createIteratorProxy = iteratorCreateProxy;
|
|
@@ -1989,23 +2582,23 @@ var FORCED$3 = MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR || mapWithoutClosingOnEa
|
|
|
1989
2582
|
|
|
1990
2583
|
var IteratorProxy = createIteratorProxy(function () {
|
|
1991
2584
|
var iterator = this.iterator;
|
|
1992
|
-
var result = anObject$2(call$
|
|
2585
|
+
var result = anObject$2(call$2(this.next, iterator));
|
|
1993
2586
|
var done = this.done = !!result.done;
|
|
1994
2587
|
if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true);
|
|
1995
2588
|
});
|
|
1996
2589
|
|
|
1997
2590
|
// `Iterator.prototype.map` method
|
|
1998
2591
|
// https://tc39.es/ecma262/#sec-iterator.prototype.map
|
|
1999
|
-
$$
|
|
2592
|
+
$$b({ target: 'Iterator', proto: true, real: true, forced: FORCED$3 }, {
|
|
2000
2593
|
map: function map(mapper) {
|
|
2001
2594
|
anObject$2(this);
|
|
2002
2595
|
try {
|
|
2003
|
-
aCallable$
|
|
2596
|
+
aCallable$3(mapper);
|
|
2004
2597
|
} catch (error) {
|
|
2005
2598
|
iteratorClose$3(this, 'throw', error);
|
|
2006
2599
|
}
|
|
2007
2600
|
|
|
2008
|
-
if (mapWithoutClosingOnEarlyError) return call$
|
|
2601
|
+
if (mapWithoutClosingOnEarlyError) return call$2(mapWithoutClosingOnEarlyError, this, mapper);
|
|
2009
2602
|
|
|
2010
2603
|
return new IteratorProxy(getIteratorDirect$2(this), {
|
|
2011
2604
|
mapper: mapper
|
|
@@ -2013,26 +2606,15 @@ $$a({ target: 'Iterator', proto: true, real: true, forced: FORCED$3 }, {
|
|
|
2013
2606
|
}
|
|
2014
2607
|
});
|
|
2015
2608
|
|
|
2016
|
-
var
|
|
2017
|
-
|
|
2018
|
-
var
|
|
2019
|
-
var apply$1 = FunctionPrototype.apply;
|
|
2020
|
-
var call$2 = FunctionPrototype.call;
|
|
2021
|
-
|
|
2022
|
-
// eslint-disable-next-line es/no-function-prototype-bind, es/no-reflect -- safe
|
|
2023
|
-
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call$2.bind(apply$1) : function () {
|
|
2024
|
-
return call$2.apply(apply$1, arguments);
|
|
2025
|
-
});
|
|
2026
|
-
|
|
2027
|
-
var $$9 = _export;
|
|
2028
|
-
var iterate$2 = iterate$4;
|
|
2029
|
-
var aCallable$3 = aCallable$9;
|
|
2609
|
+
var $$a = _export;
|
|
2610
|
+
var iterate$3 = iterate$5;
|
|
2611
|
+
var aCallable$2 = aCallable$9;
|
|
2030
2612
|
var anObject$1 = anObject$d;
|
|
2031
2613
|
var getIteratorDirect$1 = getIteratorDirect$4;
|
|
2032
2614
|
var iteratorClose$2 = iteratorClose$9;
|
|
2033
2615
|
var iteratorHelperWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError$3;
|
|
2034
2616
|
var apply = functionApply;
|
|
2035
|
-
var fails$2 = fails$
|
|
2617
|
+
var fails$2 = fails$f;
|
|
2036
2618
|
|
|
2037
2619
|
var $TypeError$1 = TypeError;
|
|
2038
2620
|
|
|
@@ -2046,11 +2628,11 @@ var reduceWithoutClosingOnEarlyError = !FAILS_ON_INITIAL_UNDEFINED && iteratorHe
|
|
|
2046
2628
|
|
|
2047
2629
|
// `Iterator.prototype.reduce` method
|
|
2048
2630
|
// https://tc39.es/ecma262/#sec-iterator.prototype.reduce
|
|
2049
|
-
$$
|
|
2631
|
+
$$a({ target: 'Iterator', proto: true, real: true, forced: FAILS_ON_INITIAL_UNDEFINED || reduceWithoutClosingOnEarlyError }, {
|
|
2050
2632
|
reduce: function reduce(reducer /* , initialValue */) {
|
|
2051
2633
|
anObject$1(this);
|
|
2052
2634
|
try {
|
|
2053
|
-
aCallable$
|
|
2635
|
+
aCallable$2(reducer);
|
|
2054
2636
|
} catch (error) {
|
|
2055
2637
|
iteratorClose$2(this, 'throw', error);
|
|
2056
2638
|
}
|
|
@@ -2062,7 +2644,7 @@ $$9({ target: 'Iterator', proto: true, real: true, forced: FAILS_ON_INITIAL_UNDE
|
|
|
2062
2644
|
}
|
|
2063
2645
|
var record = getIteratorDirect$1(this);
|
|
2064
2646
|
var counter = 0;
|
|
2065
|
-
iterate$
|
|
2647
|
+
iterate$3(record, function (value) {
|
|
2066
2648
|
if (noInitial) {
|
|
2067
2649
|
noInitial = false;
|
|
2068
2650
|
accumulator = value;
|
|
@@ -2076,7 +2658,76 @@ $$9({ target: 'Iterator', proto: true, real: true, forced: FAILS_ON_INITIAL_UNDE
|
|
|
2076
2658
|
}
|
|
2077
2659
|
});
|
|
2078
2660
|
|
|
2079
|
-
var uncurryThis$
|
|
2661
|
+
var uncurryThis$2 = functionUncurryThis;
|
|
2662
|
+
|
|
2663
|
+
// eslint-disable-next-line es/no-map -- safe
|
|
2664
|
+
var MapPrototype = Map.prototype;
|
|
2665
|
+
|
|
2666
|
+
var mapHelpers = {
|
|
2667
|
+
set: uncurryThis$2(MapPrototype.set),
|
|
2668
|
+
get: uncurryThis$2(MapPrototype.get),
|
|
2669
|
+
has: uncurryThis$2(MapPrototype.has),
|
|
2670
|
+
remove: uncurryThis$2(MapPrototype['delete'])};
|
|
2671
|
+
|
|
2672
|
+
var $$9 = _export;
|
|
2673
|
+
var MapHelpers$1 = mapHelpers;
|
|
2674
|
+
var IS_PURE$1 = isPure;
|
|
2675
|
+
|
|
2676
|
+
var get$1 = MapHelpers$1.get;
|
|
2677
|
+
var has$7 = MapHelpers$1.has;
|
|
2678
|
+
var set$1 = MapHelpers$1.set;
|
|
2679
|
+
|
|
2680
|
+
// `Map.prototype.getOrInsert` method
|
|
2681
|
+
// https://tc39.es/ecma262/#sec-map.prototype.getorinsert
|
|
2682
|
+
$$9({ target: 'Map', proto: true, real: true, forced: IS_PURE$1 }, {
|
|
2683
|
+
getOrInsert: function getOrInsert(key, value) {
|
|
2684
|
+
if (has$7(this, key)) return get$1(this, key);
|
|
2685
|
+
set$1(this, key, value);
|
|
2686
|
+
return value;
|
|
2687
|
+
}
|
|
2688
|
+
});
|
|
2689
|
+
|
|
2690
|
+
var $$8 = _export;
|
|
2691
|
+
var aCallable$1 = aCallable$9;
|
|
2692
|
+
var MapHelpers = mapHelpers;
|
|
2693
|
+
var IS_PURE = isPure;
|
|
2694
|
+
|
|
2695
|
+
var get = MapHelpers.get;
|
|
2696
|
+
var has$6 = MapHelpers.has;
|
|
2697
|
+
var set = MapHelpers.set;
|
|
2698
|
+
|
|
2699
|
+
// `Map.prototype.getOrInsertComputed` method
|
|
2700
|
+
// https://tc39.es/ecma262/#sec-map.prototype.getorinsertcomputed
|
|
2701
|
+
$$8({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {
|
|
2702
|
+
getOrInsertComputed: function getOrInsertComputed(key, callbackfn) {
|
|
2703
|
+
var hasKey = has$6(this, key);
|
|
2704
|
+
aCallable$1(callbackfn);
|
|
2705
|
+
if (hasKey) return get(this, key);
|
|
2706
|
+
// CanonicalizeKeyedCollectionKey
|
|
2707
|
+
if (key === 0 && 1 / key === -Infinity) key = 0;
|
|
2708
|
+
var value = callbackfn(key);
|
|
2709
|
+
set(this, key, value);
|
|
2710
|
+
return value;
|
|
2711
|
+
}
|
|
2712
|
+
});
|
|
2713
|
+
|
|
2714
|
+
var $$7 = _export;
|
|
2715
|
+
var iterate$2 = iterate$5;
|
|
2716
|
+
var createProperty = createProperty$2;
|
|
2717
|
+
|
|
2718
|
+
// `Object.fromEntries` method
|
|
2719
|
+
// https://tc39.es/ecma262/#sec-object.fromentries
|
|
2720
|
+
$$7({ target: 'Object', stat: true }, {
|
|
2721
|
+
fromEntries: function fromEntries(iterable) {
|
|
2722
|
+
var obj = {};
|
|
2723
|
+
iterate$2(iterable, function (k, v) {
|
|
2724
|
+
createProperty(obj, k, v);
|
|
2725
|
+
}, { AS_ENTRIES: true });
|
|
2726
|
+
return obj;
|
|
2727
|
+
}
|
|
2728
|
+
});
|
|
2729
|
+
|
|
2730
|
+
var uncurryThis$1 = functionUncurryThis;
|
|
2080
2731
|
|
|
2081
2732
|
// eslint-disable-next-line es/no-set -- safe
|
|
2082
2733
|
var SetPrototype$1 = Set.prototype;
|
|
@@ -2084,17 +2735,17 @@ var SetPrototype$1 = Set.prototype;
|
|
|
2084
2735
|
var setHelpers = {
|
|
2085
2736
|
// eslint-disable-next-line es/no-set -- safe
|
|
2086
2737
|
Set: Set,
|
|
2087
|
-
add: uncurryThis$
|
|
2088
|
-
has: uncurryThis$
|
|
2089
|
-
remove: uncurryThis$
|
|
2738
|
+
add: uncurryThis$1(SetPrototype$1.add),
|
|
2739
|
+
has: uncurryThis$1(SetPrototype$1.has),
|
|
2740
|
+
remove: uncurryThis$1(SetPrototype$1['delete']),
|
|
2090
2741
|
proto: SetPrototype$1
|
|
2091
2742
|
};
|
|
2092
2743
|
|
|
2093
|
-
var has$
|
|
2744
|
+
var has$5 = setHelpers.has;
|
|
2094
2745
|
|
|
2095
2746
|
// Perform ? RequireInternalSlot(M, [[SetData]])
|
|
2096
2747
|
var aSet$7 = function (it) {
|
|
2097
|
-
has$
|
|
2748
|
+
has$5(it);
|
|
2098
2749
|
return it;
|
|
2099
2750
|
};
|
|
2100
2751
|
|
|
@@ -2110,14 +2761,14 @@ var iterateSimple$7 = function (record, fn, ITERATOR_INSTEAD_OF_RECORD) {
|
|
|
2110
2761
|
}
|
|
2111
2762
|
};
|
|
2112
2763
|
|
|
2113
|
-
var uncurryThis
|
|
2764
|
+
var uncurryThis = functionUncurryThis;
|
|
2114
2765
|
var iterateSimple$6 = iterateSimple$7;
|
|
2115
2766
|
var SetHelpers$5 = setHelpers;
|
|
2116
2767
|
|
|
2117
2768
|
var Set$3 = SetHelpers$5.Set;
|
|
2118
2769
|
var SetPrototype = SetHelpers$5.proto;
|
|
2119
|
-
var forEach = uncurryThis
|
|
2120
|
-
var keys = uncurryThis
|
|
2770
|
+
var forEach = uncurryThis(SetPrototype.forEach);
|
|
2771
|
+
var keys = uncurryThis(SetPrototype.keys);
|
|
2121
2772
|
var next = keys(new Set$3()).next;
|
|
2122
2773
|
|
|
2123
2774
|
var setIterate = function (set, fn, interruptible) {
|
|
@@ -2138,16 +2789,6 @@ var setClone = function (set) {
|
|
|
2138
2789
|
return result;
|
|
2139
2790
|
};
|
|
2140
2791
|
|
|
2141
|
-
var uncurryThis$1 = functionUncurryThis;
|
|
2142
|
-
var aCallable$2 = aCallable$9;
|
|
2143
|
-
|
|
2144
|
-
var functionUncurryThisAccessor = function (object, key, method) {
|
|
2145
|
-
try {
|
|
2146
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
2147
|
-
return uncurryThis$1(aCallable$2(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
2148
|
-
} catch (error) { /* empty */ }
|
|
2149
|
-
};
|
|
2150
|
-
|
|
2151
2792
|
var uncurryThisAccessor = functionUncurryThisAccessor;
|
|
2152
2793
|
var SetHelpers$3 = setHelpers;
|
|
2153
2794
|
|
|
@@ -2155,7 +2796,7 @@ var setSize = uncurryThisAccessor(SetHelpers$3.proto, 'size', 'get') || function
|
|
|
2155
2796
|
return set.size;
|
|
2156
2797
|
};
|
|
2157
2798
|
|
|
2158
|
-
var aCallable
|
|
2799
|
+
var aCallable = aCallable$9;
|
|
2159
2800
|
var anObject = anObject$d;
|
|
2160
2801
|
var call = functionCall;
|
|
2161
2802
|
var toIntegerOrInfinity = toIntegerOrInfinity$3;
|
|
@@ -2169,8 +2810,8 @@ var max = Math.max;
|
|
|
2169
2810
|
var SetRecord = function (set, intSize) {
|
|
2170
2811
|
this.set = set;
|
|
2171
2812
|
this.size = max(intSize, 0);
|
|
2172
|
-
this.has = aCallable
|
|
2173
|
-
this.keys = aCallable
|
|
2813
|
+
this.has = aCallable(set.has);
|
|
2814
|
+
this.keys = aCallable(set.keys);
|
|
2174
2815
|
};
|
|
2175
2816
|
|
|
2176
2817
|
SetRecord.prototype = {
|
|
@@ -2203,7 +2844,7 @@ var getSetRecord$6 = getSetRecord$7;
|
|
|
2203
2844
|
var iterateSet$2 = setIterate;
|
|
2204
2845
|
var iterateSimple$5 = iterateSimple$7;
|
|
2205
2846
|
|
|
2206
|
-
var has$
|
|
2847
|
+
var has$4 = SetHelpers$2.has;
|
|
2207
2848
|
var remove$1 = SetHelpers$2.remove;
|
|
2208
2849
|
|
|
2209
2850
|
// `Set.prototype.difference` method
|
|
@@ -2212,16 +2853,16 @@ var setDifference = function difference(other) {
|
|
|
2212
2853
|
var O = aSet$6(this);
|
|
2213
2854
|
var otherRec = getSetRecord$6(other);
|
|
2214
2855
|
var result = clone$2(O);
|
|
2215
|
-
if (size$4(
|
|
2856
|
+
if (size$4(result) <= otherRec.size) iterateSet$2(result, function (e) {
|
|
2216
2857
|
if (otherRec.includes(e)) remove$1(result, e);
|
|
2217
2858
|
});
|
|
2218
2859
|
else iterateSimple$5(otherRec.getIterator(), function (e) {
|
|
2219
|
-
if (has$
|
|
2860
|
+
if (has$4(result, e)) remove$1(result, e);
|
|
2220
2861
|
});
|
|
2221
2862
|
return result;
|
|
2222
2863
|
};
|
|
2223
2864
|
|
|
2224
|
-
var getBuiltIn = getBuiltIn$
|
|
2865
|
+
var getBuiltIn = getBuiltIn$5;
|
|
2225
2866
|
|
|
2226
2867
|
var createSetLike = function (size) {
|
|
2227
2868
|
return {
|
|
@@ -2279,9 +2920,9 @@ var setMethodAcceptSetLike$7 = function (name, callback) {
|
|
|
2279
2920
|
}
|
|
2280
2921
|
};
|
|
2281
2922
|
|
|
2282
|
-
var $$
|
|
2923
|
+
var $$6 = _export;
|
|
2283
2924
|
var difference = setDifference;
|
|
2284
|
-
var fails$1 = fails$
|
|
2925
|
+
var fails$1 = fails$f;
|
|
2285
2926
|
var setMethodAcceptSetLike$6 = setMethodAcceptSetLike$7;
|
|
2286
2927
|
|
|
2287
2928
|
var SET_LIKE_INCORRECT_BEHAVIOR = !setMethodAcceptSetLike$6('difference', function (result) {
|
|
@@ -2312,7 +2953,7 @@ var FORCED$2 = SET_LIKE_INCORRECT_BEHAVIOR || fails$1(function () {
|
|
|
2312
2953
|
|
|
2313
2954
|
// `Set.prototype.difference` method
|
|
2314
2955
|
// https://tc39.es/ecma262/#sec-set.prototype.difference
|
|
2315
|
-
$$
|
|
2956
|
+
$$6({ target: 'Set', proto: true, real: true, forced: FORCED$2 }, {
|
|
2316
2957
|
difference: difference
|
|
2317
2958
|
});
|
|
2318
2959
|
|
|
@@ -2325,7 +2966,7 @@ var iterateSimple$4 = iterateSimple$7;
|
|
|
2325
2966
|
|
|
2326
2967
|
var Set$1 = SetHelpers$1.Set;
|
|
2327
2968
|
var add$2 = SetHelpers$1.add;
|
|
2328
|
-
var has$
|
|
2969
|
+
var has$3 = SetHelpers$1.has;
|
|
2329
2970
|
|
|
2330
2971
|
// `Set.prototype.intersection` method
|
|
2331
2972
|
// https://tc39.es/ecma262/#sec-set.prototype.intersection
|
|
@@ -2336,7 +2977,7 @@ var setIntersection = function intersection(other) {
|
|
|
2336
2977
|
|
|
2337
2978
|
if (size$3(O) > otherRec.size) {
|
|
2338
2979
|
iterateSimple$4(otherRec.getIterator(), function (e) {
|
|
2339
|
-
if (has$
|
|
2980
|
+
if (has$3(O, e)) add$2(result, e);
|
|
2340
2981
|
});
|
|
2341
2982
|
} else {
|
|
2342
2983
|
iterateSet$1(O, function (e) {
|
|
@@ -2347,8 +2988,8 @@ var setIntersection = function intersection(other) {
|
|
|
2347
2988
|
return result;
|
|
2348
2989
|
};
|
|
2349
2990
|
|
|
2350
|
-
var $$
|
|
2351
|
-
var fails = fails$
|
|
2991
|
+
var $$5 = _export;
|
|
2992
|
+
var fails = fails$f;
|
|
2352
2993
|
var intersection = setIntersection;
|
|
2353
2994
|
var setMethodAcceptSetLike$5 = setMethodAcceptSetLike$7;
|
|
2354
2995
|
|
|
@@ -2361,12 +3002,12 @@ var INCORRECT$3 = !setMethodAcceptSetLike$5('intersection', function (result) {
|
|
|
2361
3002
|
|
|
2362
3003
|
// `Set.prototype.intersection` method
|
|
2363
3004
|
// https://tc39.es/ecma262/#sec-set.prototype.intersection
|
|
2364
|
-
$$
|
|
3005
|
+
$$5({ target: 'Set', proto: true, real: true, forced: INCORRECT$3 }, {
|
|
2365
3006
|
intersection: intersection
|
|
2366
3007
|
});
|
|
2367
3008
|
|
|
2368
3009
|
var aSet$4 = aSet$7;
|
|
2369
|
-
var has$
|
|
3010
|
+
var has$2 = setHelpers.has;
|
|
2370
3011
|
var size$2 = setSize;
|
|
2371
3012
|
var getSetRecord$4 = getSetRecord$7;
|
|
2372
3013
|
var iterateSet = setIterate;
|
|
@@ -2383,11 +3024,11 @@ var setIsDisjointFrom = function isDisjointFrom(other) {
|
|
|
2383
3024
|
}, true) !== false;
|
|
2384
3025
|
var iterator = otherRec.getIterator();
|
|
2385
3026
|
return iterateSimple$3(iterator, function (e) {
|
|
2386
|
-
if (has$
|
|
3027
|
+
if (has$2(O, e)) return iteratorClose$1(iterator.iterator, 'normal', false);
|
|
2387
3028
|
}) !== false;
|
|
2388
3029
|
};
|
|
2389
3030
|
|
|
2390
|
-
var $$
|
|
3031
|
+
var $$4 = _export;
|
|
2391
3032
|
var isDisjointFrom = setIsDisjointFrom;
|
|
2392
3033
|
var setMethodAcceptSetLike$4 = setMethodAcceptSetLike$7;
|
|
2393
3034
|
|
|
@@ -2397,7 +3038,7 @@ var INCORRECT$2 = !setMethodAcceptSetLike$4('isDisjointFrom', function (result)
|
|
|
2397
3038
|
|
|
2398
3039
|
// `Set.prototype.isDisjointFrom` method
|
|
2399
3040
|
// https://tc39.es/ecma262/#sec-set.prototype.isdisjointfrom
|
|
2400
|
-
$$
|
|
3041
|
+
$$4({ target: 'Set', proto: true, real: true, forced: INCORRECT$2 }, {
|
|
2401
3042
|
isDisjointFrom: isDisjointFrom
|
|
2402
3043
|
});
|
|
2403
3044
|
|
|
@@ -2417,7 +3058,7 @@ var setIsSubsetOf = function isSubsetOf(other) {
|
|
|
2417
3058
|
}, true) !== false;
|
|
2418
3059
|
};
|
|
2419
3060
|
|
|
2420
|
-
var $$
|
|
3061
|
+
var $$3 = _export;
|
|
2421
3062
|
var isSubsetOf = setIsSubsetOf;
|
|
2422
3063
|
var setMethodAcceptSetLike$3 = setMethodAcceptSetLike$7;
|
|
2423
3064
|
|
|
@@ -2427,12 +3068,12 @@ var INCORRECT$1 = !setMethodAcceptSetLike$3('isSubsetOf', function (result) {
|
|
|
2427
3068
|
|
|
2428
3069
|
// `Set.prototype.isSubsetOf` method
|
|
2429
3070
|
// https://tc39.es/ecma262/#sec-set.prototype.issubsetof
|
|
2430
|
-
$$
|
|
3071
|
+
$$3({ target: 'Set', proto: true, real: true, forced: INCORRECT$1 }, {
|
|
2431
3072
|
isSubsetOf: isSubsetOf
|
|
2432
3073
|
});
|
|
2433
3074
|
|
|
2434
3075
|
var aSet$2 = aSet$7;
|
|
2435
|
-
var has$
|
|
3076
|
+
var has$1 = setHelpers.has;
|
|
2436
3077
|
var size = setSize;
|
|
2437
3078
|
var getSetRecord$2 = getSetRecord$7;
|
|
2438
3079
|
var iterateSimple$2 = iterateSimple$7;
|
|
@@ -2446,11 +3087,11 @@ var setIsSupersetOf = function isSupersetOf(other) {
|
|
|
2446
3087
|
if (size(O) < otherRec.size) return false;
|
|
2447
3088
|
var iterator = otherRec.getIterator();
|
|
2448
3089
|
return iterateSimple$2(iterator, function (e) {
|
|
2449
|
-
if (!has$
|
|
3090
|
+
if (!has$1(O, e)) return iteratorClose(iterator.iterator, 'normal', false);
|
|
2450
3091
|
}) !== false;
|
|
2451
3092
|
};
|
|
2452
3093
|
|
|
2453
|
-
var $$
|
|
3094
|
+
var $$2 = _export;
|
|
2454
3095
|
var isSupersetOf = setIsSupersetOf;
|
|
2455
3096
|
var setMethodAcceptSetLike$2 = setMethodAcceptSetLike$7;
|
|
2456
3097
|
|
|
@@ -2460,7 +3101,7 @@ var INCORRECT = !setMethodAcceptSetLike$2('isSupersetOf', function (result) {
|
|
|
2460
3101
|
|
|
2461
3102
|
// `Set.prototype.isSupersetOf` method
|
|
2462
3103
|
// https://tc39.es/ecma262/#sec-set.prototype.issupersetof
|
|
2463
|
-
$$
|
|
3104
|
+
$$2({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
|
|
2464
3105
|
isSupersetOf: isSupersetOf
|
|
2465
3106
|
});
|
|
2466
3107
|
|
|
@@ -2471,7 +3112,7 @@ var getSetRecord$1 = getSetRecord$7;
|
|
|
2471
3112
|
var iterateSimple$1 = iterateSimple$7;
|
|
2472
3113
|
|
|
2473
3114
|
var add$1 = SetHelpers.add;
|
|
2474
|
-
var has
|
|
3115
|
+
var has = SetHelpers.has;
|
|
2475
3116
|
var remove = SetHelpers.remove;
|
|
2476
3117
|
|
|
2477
3118
|
// `Set.prototype.symmetricDifference` method
|
|
@@ -2481,7 +3122,7 @@ var setSymmetricDifference = function symmetricDifference(other) {
|
|
|
2481
3122
|
var keysIter = getSetRecord$1(other).getIterator();
|
|
2482
3123
|
var result = clone$1(O);
|
|
2483
3124
|
iterateSimple$1(keysIter, function (e) {
|
|
2484
|
-
if (has
|
|
3125
|
+
if (has(O, e)) remove(result, e);
|
|
2485
3126
|
else add$1(result, e);
|
|
2486
3127
|
});
|
|
2487
3128
|
return result;
|
|
@@ -2517,7 +3158,7 @@ var setMethodGetKeysBeforeCloningDetection = function (METHOD_NAME) {
|
|
|
2517
3158
|
}
|
|
2518
3159
|
};
|
|
2519
3160
|
|
|
2520
|
-
var $$
|
|
3161
|
+
var $$1 = _export;
|
|
2521
3162
|
var symmetricDifference = setSymmetricDifference;
|
|
2522
3163
|
var setMethodGetKeysBeforeCloning$1 = setMethodGetKeysBeforeCloningDetection;
|
|
2523
3164
|
var setMethodAcceptSetLike$1 = setMethodAcceptSetLike$7;
|
|
@@ -2526,7 +3167,7 @@ var FORCED$1 = !setMethodAcceptSetLike$1('symmetricDifference') || !setMethodGet
|
|
|
2526
3167
|
|
|
2527
3168
|
// `Set.prototype.symmetricDifference` method
|
|
2528
3169
|
// https://tc39.es/ecma262/#sec-set.prototype.symmetricdifference
|
|
2529
|
-
$$
|
|
3170
|
+
$$1({ target: 'Set', proto: true, real: true, forced: FORCED$1 }, {
|
|
2530
3171
|
symmetricDifference: symmetricDifference
|
|
2531
3172
|
});
|
|
2532
3173
|
|
|
@@ -2548,7 +3189,7 @@ var setUnion = function union(other) {
|
|
|
2548
3189
|
return result;
|
|
2549
3190
|
};
|
|
2550
3191
|
|
|
2551
|
-
var
|
|
3192
|
+
var $ = _export;
|
|
2552
3193
|
var union = setUnion;
|
|
2553
3194
|
var setMethodGetKeysBeforeCloning = setMethodGetKeysBeforeCloningDetection;
|
|
2554
3195
|
var setMethodAcceptSetLike = setMethodAcceptSetLike$7;
|
|
@@ -2557,73 +3198,10 @@ var FORCED = !setMethodAcceptSetLike('union') || !setMethodGetKeysBeforeCloning(
|
|
|
2557
3198
|
|
|
2558
3199
|
// `Set.prototype.union` method
|
|
2559
3200
|
// https://tc39.es/ecma262/#sec-set.prototype.union
|
|
2560
|
-
|
|
3201
|
+
$({ target: 'Set', proto: true, real: true, forced: FORCED }, {
|
|
2561
3202
|
union: union
|
|
2562
3203
|
});
|
|
2563
3204
|
|
|
2564
|
-
var uncurryThis = functionUncurryThis;
|
|
2565
|
-
|
|
2566
|
-
// eslint-disable-next-line es/no-map -- safe
|
|
2567
|
-
var MapPrototype = Map.prototype;
|
|
2568
|
-
|
|
2569
|
-
var mapHelpers = {
|
|
2570
|
-
set: uncurryThis(MapPrototype.set),
|
|
2571
|
-
get: uncurryThis(MapPrototype.get),
|
|
2572
|
-
has: uncurryThis(MapPrototype.has),
|
|
2573
|
-
remove: uncurryThis(MapPrototype['delete'])};
|
|
2574
|
-
|
|
2575
|
-
var has$2 = mapHelpers.has;
|
|
2576
|
-
|
|
2577
|
-
// Perform ? RequireInternalSlot(M, [[MapData]])
|
|
2578
|
-
var aMap$2 = function (it) {
|
|
2579
|
-
has$2(it);
|
|
2580
|
-
return it;
|
|
2581
|
-
};
|
|
2582
|
-
|
|
2583
|
-
var $$1 = _export;
|
|
2584
|
-
var aMap$1 = aMap$2;
|
|
2585
|
-
var MapHelpers$1 = mapHelpers;
|
|
2586
|
-
var IS_PURE$1 = isPure;
|
|
2587
|
-
|
|
2588
|
-
var get$1 = MapHelpers$1.get;
|
|
2589
|
-
var has$1 = MapHelpers$1.has;
|
|
2590
|
-
var set$1 = MapHelpers$1.set;
|
|
2591
|
-
|
|
2592
|
-
// `Map.prototype.getOrInsert` method
|
|
2593
|
-
// https://github.com/tc39/proposal-upsert
|
|
2594
|
-
$$1({ target: 'Map', proto: true, real: true, forced: IS_PURE$1 }, {
|
|
2595
|
-
getOrInsert: function getOrInsert(key, value) {
|
|
2596
|
-
if (has$1(aMap$1(this), key)) return get$1(this, key);
|
|
2597
|
-
set$1(this, key, value);
|
|
2598
|
-
return value;
|
|
2599
|
-
}
|
|
2600
|
-
});
|
|
2601
|
-
|
|
2602
|
-
var $ = _export;
|
|
2603
|
-
var aCallable = aCallable$9;
|
|
2604
|
-
var aMap = aMap$2;
|
|
2605
|
-
var MapHelpers = mapHelpers;
|
|
2606
|
-
var IS_PURE = isPure;
|
|
2607
|
-
|
|
2608
|
-
var get = MapHelpers.get;
|
|
2609
|
-
var has = MapHelpers.has;
|
|
2610
|
-
var set = MapHelpers.set;
|
|
2611
|
-
|
|
2612
|
-
// `Map.prototype.getOrInsertComputed` method
|
|
2613
|
-
// https://github.com/tc39/proposal-upsert
|
|
2614
|
-
$({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {
|
|
2615
|
-
getOrInsertComputed: function getOrInsertComputed(key, callbackfn) {
|
|
2616
|
-
aMap(this);
|
|
2617
|
-
aCallable(callbackfn);
|
|
2618
|
-
if (has(this, key)) return get(this, key);
|
|
2619
|
-
// CanonicalizeKeyedCollectionKey
|
|
2620
|
-
if (key === 0 && 1 / key === -Infinity) key = 0;
|
|
2621
|
-
var value = callbackfn(key);
|
|
2622
|
-
set(this, key, value);
|
|
2623
|
-
return value;
|
|
2624
|
-
}
|
|
2625
|
-
});
|
|
2626
|
-
|
|
2627
3205
|
const cache = new Map();
|
|
2628
3206
|
const processVariables = (theme, prefix, cacheKey) => {
|
|
2629
3207
|
if (cache.has(cacheKey)) return cache.get(cacheKey);
|
|
@@ -2641,17 +3219,11 @@ const resolveInheritance = themes => {
|
|
|
2641
3219
|
if (resolved.has(name)) return resolved.get(name);
|
|
2642
3220
|
const theme = themeMap.get(name);
|
|
2643
3221
|
if (!theme) throw new Error(`Theme "${name}" not found`);
|
|
2644
|
-
const merged = theme.extends ? {
|
|
2645
|
-
...resolve(theme.extends),
|
|
2646
|
-
...theme.theme
|
|
2647
|
-
} : {
|
|
2648
|
-
...theme.theme
|
|
2649
|
-
};
|
|
3222
|
+
const merged = theme.extends ? Object.assign({}, resolve(theme.extends), theme.theme) : Object.assign({}, theme.theme);
|
|
2650
3223
|
resolved.set(name, merged);
|
|
2651
3224
|
return merged;
|
|
2652
3225
|
};
|
|
2653
|
-
return themes.map(t => ({
|
|
2654
|
-
...t,
|
|
3226
|
+
return themes.map(t => Object.assign({}, t, {
|
|
2655
3227
|
theme: resolve(t.name)
|
|
2656
3228
|
}));
|
|
2657
3229
|
};
|
|
@@ -2663,7 +3235,7 @@ function createThemeSwapper({
|
|
|
2663
3235
|
return ({
|
|
2664
3236
|
addBase
|
|
2665
3237
|
}) => {
|
|
2666
|
-
if (!themes
|
|
3238
|
+
if (!(themes != null && themes.length)) throw new Error('At least one theme required');
|
|
2667
3239
|
const names = new Set();
|
|
2668
3240
|
themes.forEach(({
|
|
2669
3241
|
name,
|
|
@@ -2671,7 +3243,7 @@ function createThemeSwapper({
|
|
|
2671
3243
|
}, i) => {
|
|
2672
3244
|
if (!name) throw new Error(`Theme at index ${i} missing name`);
|
|
2673
3245
|
if (names.has(name)) throw new Error(`Duplicate theme: "${name}"`);
|
|
2674
|
-
if (!selectors
|
|
3246
|
+
if (!(selectors != null && selectors.length)) throw new Error(`Theme "${name}" needs selectors`);
|
|
2675
3247
|
names.add(name);
|
|
2676
3248
|
});
|
|
2677
3249
|
if (debug) {
|
|
@@ -3702,22 +4274,16 @@ const TYPOGRAPHY_DEFAULT = {
|
|
|
3702
4274
|
const inherit = 'inherit';
|
|
3703
4275
|
var index = {
|
|
3704
4276
|
theme: {
|
|
3705
|
-
colors: {
|
|
4277
|
+
colors: Object.assign({
|
|
3706
4278
|
inherit,
|
|
3707
4279
|
current: 'currentColor',
|
|
3708
|
-
transparent: 'transparent'
|
|
3709
|
-
|
|
4280
|
+
transparent: 'transparent'
|
|
4281
|
+
}, PRIMITIVE_COLORS, {
|
|
3710
4282
|
focus: DECLARATIVE_COLORS.focus,
|
|
3711
|
-
data: {
|
|
3712
|
-
|
|
3713
|
-
},
|
|
3714
|
-
|
|
3715
|
-
...DECLARATIVE_COLORS.icon
|
|
3716
|
-
},
|
|
3717
|
-
ui: {
|
|
3718
|
-
...DECLARATIVE_COLORS.ui
|
|
3719
|
-
}
|
|
3720
|
-
},
|
|
4283
|
+
data: Object.assign({}, DECLARATIVE_COLORS.data),
|
|
4284
|
+
icon: Object.assign({}, DECLARATIVE_COLORS.icon),
|
|
4285
|
+
ui: Object.assign({}, DECLARATIVE_COLORS.ui)
|
|
4286
|
+
}),
|
|
3721
4287
|
borderRadius: {
|
|
3722
4288
|
none: 'var(--bq-radius--none)',
|
|
3723
4289
|
xs2: 'var(--bq-radius--xs2)',
|
|
@@ -3779,21 +4345,11 @@ var index = {
|
|
|
3779
4345
|
l: 'var(--bq-stroke-l)'
|
|
3780
4346
|
},
|
|
3781
4347
|
extend: {
|
|
3782
|
-
backgroundColor: {
|
|
3783
|
-
|
|
3784
|
-
},
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
},
|
|
3788
|
-
stroke: {
|
|
3789
|
-
...DECLARATIVE_COLORS.stroke
|
|
3790
|
-
},
|
|
3791
|
-
textColor: {
|
|
3792
|
-
...DECLARATIVE_COLORS.text
|
|
3793
|
-
},
|
|
3794
|
-
fill: {
|
|
3795
|
-
...DECLARATIVE_COLORS.icon
|
|
3796
|
-
},
|
|
4348
|
+
backgroundColor: Object.assign({}, DECLARATIVE_COLORS.bg),
|
|
4349
|
+
borderColor: Object.assign({}, DECLARATIVE_COLORS.stroke),
|
|
4350
|
+
stroke: Object.assign({}, DECLARATIVE_COLORS.stroke),
|
|
4351
|
+
textColor: Object.assign({}, DECLARATIVE_COLORS.text),
|
|
4352
|
+
fill: Object.assign({}, DECLARATIVE_COLORS.icon),
|
|
3797
4353
|
content: {
|
|
3798
4354
|
empty: "''"
|
|
3799
4355
|
},
|
|
@@ -3824,12 +4380,9 @@ var index = {
|
|
|
3824
4380
|
addComponents,
|
|
3825
4381
|
theme
|
|
3826
4382
|
}) => {
|
|
3827
|
-
addBase({
|
|
3828
|
-
':root, ::backdrop': {
|
|
3829
|
-
|
|
3830
|
-
},
|
|
3831
|
-
...reset
|
|
3832
|
-
});
|
|
4383
|
+
addBase(Object.assign({
|
|
4384
|
+
':root, ::backdrop': Object.assign({}, CSS_COLORS)
|
|
4385
|
+
}, reset));
|
|
3833
4386
|
addComponents({
|
|
3834
4387
|
'.focus': {
|
|
3835
4388
|
outline: `var(--bq-ring-width, 2px) solid var(--bq-ring-color-focus, ${String(theme('colors.focus'))})`,
|
|
@@ -3840,42 +4393,30 @@ var index = {
|
|
|
3840
4393
|
themes: [{
|
|
3841
4394
|
name: 'base',
|
|
3842
4395
|
selectors: [':root'],
|
|
3843
|
-
theme: {
|
|
3844
|
-
...DefaultRootTheme
|
|
3845
|
-
}
|
|
4396
|
+
theme: Object.assign({}, DefaultRootTheme)
|
|
3846
4397
|
}, {
|
|
3847
4398
|
name: 'light',
|
|
3848
4399
|
selectors: [':root:not([bq-theme]):not([bq-mode])', ':root[bq-theme="beeq"]:not([bq-mode])', '.beeq:not([bq-mode])', '[bq-mode="light"]', '.light'],
|
|
3849
|
-
theme: {
|
|
3850
|
-
...DefaultLightTheme
|
|
3851
|
-
},
|
|
4400
|
+
theme: Object.assign({}, DefaultLightTheme),
|
|
3852
4401
|
mode: true
|
|
3853
4402
|
}, {
|
|
3854
4403
|
name: 'dark',
|
|
3855
4404
|
selectors: ['[bq-mode="dark"]', '.dark'],
|
|
3856
|
-
theme: {
|
|
3857
|
-
...DefaultDarkTheme
|
|
3858
|
-
},
|
|
4405
|
+
theme: Object.assign({}, DefaultDarkTheme),
|
|
3859
4406
|
mode: true
|
|
3860
4407
|
}, {
|
|
3861
4408
|
name: 'endava',
|
|
3862
4409
|
selectors: ['[bq-theme="endava"]', '.endava'],
|
|
3863
|
-
theme: {
|
|
3864
|
-
...EndavaRootTheme
|
|
3865
|
-
}
|
|
4410
|
+
theme: Object.assign({}, EndavaRootTheme)
|
|
3866
4411
|
}, {
|
|
3867
4412
|
name: 'endava-light',
|
|
3868
4413
|
selectors: ['[bq-theme="endava"]:not([bq-mode])', '.endava:not([bq-mode])', '[bq-theme="endava"][bq-mode="light"]', '.endava.light'],
|
|
3869
|
-
theme: {
|
|
3870
|
-
...EndavaLightTheme
|
|
3871
|
-
},
|
|
4414
|
+
theme: Object.assign({}, EndavaLightTheme),
|
|
3872
4415
|
mode: true
|
|
3873
4416
|
}, {
|
|
3874
4417
|
name: 'endava-dark',
|
|
3875
4418
|
selectors: ['[bq-theme="endava"][bq-mode="dark"]', '.endava.dark'],
|
|
3876
|
-
theme: {
|
|
3877
|
-
...EndavaDarkTheme
|
|
3878
|
-
},
|
|
4419
|
+
theme: Object.assign({}, EndavaDarkTheme),
|
|
3879
4420
|
mode: true
|
|
3880
4421
|
}]
|
|
3881
4422
|
})]
|