@beeq/tailwindcss 1.12.3 → 1.12.4-beta.2
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 +448 -991
- package/index.esm.js +448 -991
- 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$e = function (exec) {
|
|
37
37
|
try {
|
|
38
38
|
return !!exec();
|
|
39
39
|
} catch (error) {
|
|
@@ -41,17 +41,17 @@ var fails$f = function (exec) {
|
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
43
|
|
|
44
|
-
var fails$
|
|
44
|
+
var fails$d = fails$e;
|
|
45
45
|
|
|
46
46
|
// Detect IE8's incomplete defineProperty implementation
|
|
47
|
-
var descriptors = !fails$
|
|
47
|
+
var descriptors = !fails$d(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$c = fails$e;
|
|
53
53
|
|
|
54
|
-
var functionBindNative = !fails$
|
|
54
|
+
var functionBindNative = !fails$c(function () {
|
|
55
55
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
56
56
|
var test = (function () { /* empty */ }).bind();
|
|
57
57
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
@@ -60,10 +60,10 @@ var functionBindNative = !fails$d(function () {
|
|
|
60
60
|
|
|
61
61
|
var NATIVE_BIND$3 = functionBindNative;
|
|
62
62
|
|
|
63
|
-
var call$
|
|
63
|
+
var call$d = 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$d.bind(call$d) : function () {
|
|
66
|
+
return call$d.apply(call$d, 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$3 = function (bitmap, value) {
|
|
86
86
|
return {
|
|
87
87
|
enumerable: !(bitmap & 1),
|
|
88
88
|
configurable: !(bitmap & 2),
|
|
@@ -94,39 +94,39 @@ var createPropertyDescriptor$5 = 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$c = 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$c, call$c);
|
|
100
100
|
|
|
101
101
|
var functionUncurryThis = NATIVE_BIND$2 ? uncurryThisWithBind : function (fn) {
|
|
102
102
|
return function () {
|
|
103
|
-
return call$
|
|
103
|
+
return call$c.apply(fn, arguments);
|
|
104
104
|
};
|
|
105
105
|
};
|
|
106
106
|
|
|
107
|
-
var uncurryThis$
|
|
107
|
+
var uncurryThis$e = functionUncurryThis;
|
|
108
108
|
|
|
109
|
-
var toString$
|
|
110
|
-
var stringSlice$1 = uncurryThis$
|
|
109
|
+
var toString$1 = uncurryThis$e({}.toString);
|
|
110
|
+
var stringSlice$1 = uncurryThis$e(''.slice);
|
|
111
111
|
|
|
112
112
|
var classofRaw$2 = function (it) {
|
|
113
|
-
return stringSlice$1(toString$
|
|
113
|
+
return stringSlice$1(toString$1(it), 8, -1);
|
|
114
114
|
};
|
|
115
115
|
|
|
116
|
-
var uncurryThis$
|
|
117
|
-
var fails$
|
|
118
|
-
var classof$
|
|
116
|
+
var uncurryThis$d = functionUncurryThis;
|
|
117
|
+
var fails$b = fails$e;
|
|
118
|
+
var classof$2 = classofRaw$2;
|
|
119
119
|
|
|
120
120
|
var $Object$4 = Object;
|
|
121
|
-
var split = uncurryThis$
|
|
121
|
+
var split = uncurryThis$d(''.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$b(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$2(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$b = 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$2 = function (it) {
|
|
145
|
+
if (isNullOrUndefined$2(it)) throw new $TypeError$b("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$1 = requireObjectCoercible$2;
|
|
152
152
|
|
|
153
|
-
var toIndexedObject$
|
|
154
|
-
return IndexedObject(requireObjectCoercible$
|
|
153
|
+
var toIndexedObject$4 = function (it) {
|
|
154
|
+
return IndexedObject(requireObjectCoercible$1(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$e = 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$d = isCallable$e;
|
|
170
170
|
|
|
171
|
-
var isObject$
|
|
172
|
-
return typeof it == 'object' ? it !== null : isCallable$
|
|
171
|
+
var isObject$6 = function (it) {
|
|
172
|
+
return typeof it == 'object' ? it !== null : isCallable$d(it);
|
|
173
173
|
};
|
|
174
174
|
|
|
175
|
-
var globalThis$
|
|
176
|
-
var isCallable$
|
|
175
|
+
var globalThis$d = globalThis_1;
|
|
176
|
+
var isCallable$c = isCallable$e;
|
|
177
177
|
|
|
178
178
|
var aFunction = function (argument) {
|
|
179
|
-
return isCallable$
|
|
179
|
+
return isCallable$c(argument) ? argument : undefined;
|
|
180
180
|
};
|
|
181
181
|
|
|
182
|
-
var getBuiltIn$
|
|
183
|
-
return arguments.length < 2 ? aFunction(globalThis$
|
|
182
|
+
var getBuiltIn$4 = function (namespace, method) {
|
|
183
|
+
return arguments.length < 2 ? aFunction(globalThis$d[namespace]) : globalThis$d[namespace] && globalThis$d[namespace][method];
|
|
184
184
|
};
|
|
185
185
|
|
|
186
|
-
var uncurryThis$
|
|
186
|
+
var uncurryThis$c = functionUncurryThis;
|
|
187
187
|
|
|
188
|
-
var objectIsPrototypeOf = uncurryThis$
|
|
188
|
+
var objectIsPrototypeOf = uncurryThis$c({}.isPrototypeOf);
|
|
189
189
|
|
|
190
|
-
var globalThis$
|
|
190
|
+
var globalThis$c = globalThis_1;
|
|
191
191
|
|
|
192
|
-
var navigator = globalThis$
|
|
192
|
+
var navigator = globalThis$c.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$b = globalThis_1;
|
|
198
198
|
var userAgent = environmentUserAgent;
|
|
199
199
|
|
|
200
|
-
var process = globalThis$
|
|
201
|
-
var Deno = globalThis$
|
|
200
|
+
var process = globalThis$b.process;
|
|
201
|
+
var Deno = globalThis$b.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$a = fails$e;
|
|
228
|
+
var globalThis$a = globalThis_1;
|
|
229
229
|
|
|
230
|
-
var $String$
|
|
230
|
+
var $String$3 = globalThis$a.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$a(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$3(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$3 = getBuiltIn$4;
|
|
252
|
+
var isCallable$b = isCallable$e;
|
|
253
|
+
var isPrototypeOf$2 = 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$3('Symbol');
|
|
262
|
+
return isCallable$b($Symbol) && isPrototypeOf$2($Symbol.prototype, $Object$3(it));
|
|
263
263
|
};
|
|
264
264
|
|
|
265
|
-
var $String$
|
|
265
|
+
var $String$2 = String;
|
|
266
266
|
|
|
267
267
|
var tryToString$3 = function (argument) {
|
|
268
268
|
try {
|
|
269
|
-
return $String$
|
|
269
|
+
return $String$2(argument);
|
|
270
270
|
} catch (error) {
|
|
271
271
|
return 'Object';
|
|
272
272
|
}
|
|
273
273
|
};
|
|
274
274
|
|
|
275
|
-
var isCallable$
|
|
275
|
+
var isCallable$a = isCallable$e;
|
|
276
276
|
var tryToString$2 = tryToString$3;
|
|
277
277
|
|
|
278
|
-
var $TypeError$
|
|
278
|
+
var $TypeError$a = 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$a(argument)) return argument;
|
|
283
|
+
throw new $TypeError$a(tryToString$2(argument) + ' is not a function');
|
|
284
284
|
};
|
|
285
285
|
|
|
286
286
|
var aCallable$8 = aCallable$9;
|
|
@@ -293,44 +293,44 @@ 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$b = functionCall;
|
|
297
|
+
var isCallable$9 = isCallable$e;
|
|
298
|
+
var isObject$5 = isObject$6;
|
|
299
299
|
|
|
300
|
-
var $TypeError$
|
|
300
|
+
var $TypeError$9 = 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$9(fn = input.toString) && !isObject$5(val = call$b(fn, input))) return val;
|
|
307
|
+
if (isCallable$9(fn = input.valueOf) && !isObject$5(val = call$b(fn, input))) return val;
|
|
308
|
+
if (pref !== 'string' && isCallable$9(fn = input.toString) && !isObject$5(val = call$b(fn, input))) return val;
|
|
309
|
+
throw new $TypeError$9("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$9 = globalThis_1;
|
|
317
317
|
|
|
318
318
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
319
|
-
var defineProperty$
|
|
319
|
+
var defineProperty$2 = Object.defineProperty;
|
|
320
320
|
|
|
321
321
|
var defineGlobalProperty$3 = function (key, value) {
|
|
322
322
|
try {
|
|
323
|
-
defineProperty$
|
|
323
|
+
defineProperty$2(globalThis$9, key, { value: value, configurable: true, writable: true });
|
|
324
324
|
} catch (error) {
|
|
325
|
-
globalThis$
|
|
325
|
+
globalThis$9[key] = value;
|
|
326
326
|
} return value;
|
|
327
327
|
};
|
|
328
328
|
|
|
329
|
-
var globalThis$
|
|
329
|
+
var globalThis$8 = 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$8[SHARED] || defineGlobalProperty$2(SHARED, {});
|
|
334
334
|
|
|
335
335
|
(store$3.versions || (store$3.versions = [])).push({
|
|
336
336
|
version: '3.47.0',
|
|
@@ -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
|
|
351
|
+
var requireObjectCoercible = requireObjectCoercible$2;
|
|
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
|
|
358
|
+
return $Object$2(requireObjectCoercible(argument));
|
|
359
359
|
};
|
|
360
360
|
|
|
361
|
-
var uncurryThis$
|
|
361
|
+
var uncurryThis$b = functionUncurryThis;
|
|
362
362
|
var toObject$1 = toObject$2;
|
|
363
363
|
|
|
364
|
-
var hasOwnProperty = uncurryThis$
|
|
364
|
+
var hasOwnProperty = uncurryThis$b({}.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$a = functionUncurryThis;
|
|
374
374
|
|
|
375
375
|
var id = 0;
|
|
376
376
|
var postfix = Math.random();
|
|
377
|
-
var toString
|
|
377
|
+
var toString = uncurryThis$a(1.1.toString);
|
|
378
378
|
|
|
379
379
|
var uid$2 = function (key) {
|
|
380
|
-
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString
|
|
380
|
+
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
|
381
381
|
};
|
|
382
382
|
|
|
383
|
-
var globalThis$
|
|
383
|
+
var globalThis$7 = globalThis_1;
|
|
384
384
|
var shared$2 = shared$3;
|
|
385
|
-
var hasOwn$
|
|
385
|
+
var hasOwn$8 = 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$7.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$8 = function (name) {
|
|
395
|
+
if (!hasOwn$8(WellKnownSymbolsStore, name)) {
|
|
396
|
+
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$8(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$a = functionCall;
|
|
403
|
+
var isObject$4 = isObject$6;
|
|
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$7 = wellKnownSymbol$8;
|
|
408
408
|
|
|
409
|
-
var $TypeError$
|
|
410
|
-
var TO_PRIMITIVE = wellKnownSymbol$
|
|
409
|
+
var $TypeError$8 = TypeError;
|
|
410
|
+
var TO_PRIMITIVE = wellKnownSymbol$7('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$4(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$a(exoticToPrim, input, pref);
|
|
421
|
+
if (!isObject$4(result) || isSymbol$1(result)) return result;
|
|
422
|
+
throw new $TypeError$8("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$6 = globalThis_1;
|
|
439
|
+
var isObject$3 = isObject$6;
|
|
440
440
|
|
|
441
|
-
var document$1 = globalThis$
|
|
441
|
+
var document$1 = globalThis$6.document;
|
|
442
442
|
// typeof document.createElement is 'object' in old IE
|
|
443
|
-
var EXISTS$1 = isObject$
|
|
443
|
+
var EXISTS$1 = isObject$3(document$1) && isObject$3(document$1.createElement);
|
|
444
444
|
|
|
445
|
-
var documentCreateElement$
|
|
445
|
+
var documentCreateElement$1 = 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$9 = descriptors;
|
|
450
|
+
var fails$9 = fails$e;
|
|
451
|
+
var createElement = documentCreateElement$1;
|
|
452
452
|
|
|
453
453
|
// Thanks to IE8 for its funny defineProperty
|
|
454
|
-
var ie8DomDefine = !DESCRIPTORS$
|
|
454
|
+
var ie8DomDefine = !DESCRIPTORS$9 && !fails$9(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$8 = descriptors;
|
|
462
|
+
var call$9 = functionCall;
|
|
463
463
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
464
|
-
var createPropertyDescriptor$
|
|
465
|
-
var toIndexedObject$
|
|
464
|
+
var createPropertyDescriptor$2 = createPropertyDescriptor$3;
|
|
465
|
+
var toIndexedObject$3 = toIndexedObject$4;
|
|
466
466
|
var toPropertyKey$1 = toPropertyKey$2;
|
|
467
|
-
var hasOwn$
|
|
467
|
+
var hasOwn$7 = 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$8 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
|
476
|
+
O = toIndexedObject$3(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$7(O, P)) return createPropertyDescriptor$2(!call$9(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$7 = descriptors;
|
|
487
|
+
var fails$8 = fails$e;
|
|
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$7 && fails$8(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$9 && fails$9(function () {
|
|
|
496
496
|
}).prototype !== 42;
|
|
497
497
|
});
|
|
498
498
|
|
|
499
|
-
var isObject$
|
|
499
|
+
var isObject$2 = isObject$6;
|
|
500
500
|
|
|
501
|
-
var $String$
|
|
502
|
-
var $TypeError$
|
|
501
|
+
var $String$1 = String;
|
|
502
|
+
var $TypeError$7 = 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$2(argument)) return argument;
|
|
507
|
+
throw new $TypeError$7($String$1(argument) + ' is not an object');
|
|
508
508
|
};
|
|
509
509
|
|
|
510
|
-
var DESCRIPTORS$
|
|
510
|
+
var DESCRIPTORS$6 = 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$6 = 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$6 ? 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$8 ? 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$6('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$5 = descriptors;
|
|
555
555
|
var definePropertyModule$4 = objectDefineProperty;
|
|
556
|
-
var createPropertyDescriptor$
|
|
556
|
+
var createPropertyDescriptor$1 = createPropertyDescriptor$3;
|
|
557
557
|
|
|
558
|
-
var createNonEnumerableProperty$
|
|
559
|
-
return definePropertyModule$4.f(object, key, createPropertyDescriptor$
|
|
558
|
+
var createNonEnumerableProperty$3 = DESCRIPTORS$5 ? function (object, key, value) {
|
|
559
|
+
return definePropertyModule$4.f(object, key, createPropertyDescriptor$1(1, value));
|
|
560
560
|
} : function (object, key, value) {
|
|
561
561
|
object[key] = value;
|
|
562
562
|
return object;
|
|
@@ -564,31 +564,28 @@ var createNonEnumerableProperty$8 = DESCRIPTORS$7 ? function (object, key, value
|
|
|
564
564
|
|
|
565
565
|
var makeBuiltIn$3 = {exports: {}};
|
|
566
566
|
|
|
567
|
-
var DESCRIPTORS$
|
|
568
|
-
var hasOwn$
|
|
567
|
+
var DESCRIPTORS$4 = descriptors;
|
|
568
|
+
var hasOwn$6 = 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$4 && Object.getOwnPropertyDescriptor;
|
|
573
573
|
|
|
574
|
-
var EXISTS = hasOwn$
|
|
575
|
-
|
|
576
|
-
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
577
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$6 || (DESCRIPTORS$6 && getDescriptor(FunctionPrototype$1, 'name').configurable));
|
|
574
|
+
var EXISTS = hasOwn$6(FunctionPrototype$1, 'name');
|
|
575
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$4 || (DESCRIPTORS$4 && getDescriptor(FunctionPrototype$1, 'name').configurable));
|
|
578
576
|
|
|
579
577
|
var functionName = {
|
|
580
|
-
PROPER: PROPER,
|
|
581
578
|
CONFIGURABLE: CONFIGURABLE
|
|
582
579
|
};
|
|
583
580
|
|
|
584
|
-
var uncurryThis$
|
|
585
|
-
var isCallable$
|
|
581
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
582
|
+
var isCallable$8 = isCallable$e;
|
|
586
583
|
var store$1 = sharedStoreExports;
|
|
587
584
|
|
|
588
|
-
var functionToString = uncurryThis$
|
|
585
|
+
var functionToString = uncurryThis$9(Function.toString);
|
|
589
586
|
|
|
590
587
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
591
|
-
if (!isCallable$
|
|
588
|
+
if (!isCallable$8(store$1.inspectSource)) {
|
|
592
589
|
store$1.inspectSource = function (it) {
|
|
593
590
|
return functionToString(it);
|
|
594
591
|
};
|
|
@@ -596,12 +593,12 @@ if (!isCallable$a(store$1.inspectSource)) {
|
|
|
596
593
|
|
|
597
594
|
var inspectSource$1 = store$1.inspectSource;
|
|
598
595
|
|
|
599
|
-
var globalThis$
|
|
600
|
-
var isCallable$
|
|
596
|
+
var globalThis$5 = globalThis_1;
|
|
597
|
+
var isCallable$7 = isCallable$e;
|
|
601
598
|
|
|
602
|
-
var WeakMap$1 = globalThis$
|
|
599
|
+
var WeakMap$1 = globalThis$5.WeakMap;
|
|
603
600
|
|
|
604
|
-
var weakMapBasicDetection = isCallable$
|
|
601
|
+
var weakMapBasicDetection = isCallable$7(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
605
602
|
|
|
606
603
|
var shared$1 = shared$3;
|
|
607
604
|
var uid = uid$2;
|
|
@@ -615,17 +612,17 @@ var sharedKey$3 = function (key) {
|
|
|
615
612
|
var hiddenKeys$4 = {};
|
|
616
613
|
|
|
617
614
|
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
618
|
-
var globalThis$
|
|
619
|
-
var isObject$
|
|
620
|
-
var createNonEnumerableProperty$
|
|
621
|
-
var hasOwn$
|
|
615
|
+
var globalThis$4 = globalThis_1;
|
|
616
|
+
var isObject$1 = isObject$6;
|
|
617
|
+
var createNonEnumerableProperty$2 = createNonEnumerableProperty$3;
|
|
618
|
+
var hasOwn$5 = hasOwnProperty_1;
|
|
622
619
|
var shared = sharedStoreExports;
|
|
623
620
|
var sharedKey$2 = sharedKey$3;
|
|
624
621
|
var hiddenKeys$3 = hiddenKeys$4;
|
|
625
622
|
|
|
626
623
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
627
|
-
var TypeError$1 = globalThis$
|
|
628
|
-
var WeakMap = globalThis$
|
|
624
|
+
var TypeError$1 = globalThis$4.TypeError;
|
|
625
|
+
var WeakMap = globalThis$4.WeakMap;
|
|
629
626
|
var set$2, get$2, has$9;
|
|
630
627
|
|
|
631
628
|
var enforce = function (it) {
|
|
@@ -635,7 +632,7 @@ var enforce = function (it) {
|
|
|
635
632
|
var getterFor = function (TYPE) {
|
|
636
633
|
return function (it) {
|
|
637
634
|
var state;
|
|
638
|
-
if (!isObject$
|
|
635
|
+
if (!isObject$1(it) || (state = get$2(it)).type !== TYPE) {
|
|
639
636
|
throw new TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
|
640
637
|
} return state;
|
|
641
638
|
};
|
|
@@ -664,16 +661,16 @@ if (NATIVE_WEAK_MAP || shared.state) {
|
|
|
664
661
|
var STATE = sharedKey$2('state');
|
|
665
662
|
hiddenKeys$3[STATE] = true;
|
|
666
663
|
set$2 = function (it, metadata) {
|
|
667
|
-
if (hasOwn$
|
|
664
|
+
if (hasOwn$5(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
668
665
|
metadata.facade = it;
|
|
669
|
-
createNonEnumerableProperty$
|
|
666
|
+
createNonEnumerableProperty$2(it, STATE, metadata);
|
|
670
667
|
return metadata;
|
|
671
668
|
};
|
|
672
669
|
get$2 = function (it) {
|
|
673
|
-
return hasOwn$
|
|
670
|
+
return hasOwn$5(it, STATE) ? it[STATE] : {};
|
|
674
671
|
};
|
|
675
672
|
has$9 = function (it) {
|
|
676
|
-
return hasOwn$
|
|
673
|
+
return hasOwn$5(it, STATE);
|
|
677
674
|
};
|
|
678
675
|
}
|
|
679
676
|
|
|
@@ -685,51 +682,51 @@ var internalState = {
|
|
|
685
682
|
getterFor: getterFor
|
|
686
683
|
};
|
|
687
684
|
|
|
688
|
-
var uncurryThis$
|
|
689
|
-
var fails$
|
|
690
|
-
var isCallable$
|
|
691
|
-
var hasOwn$
|
|
692
|
-
var DESCRIPTORS$
|
|
693
|
-
var CONFIGURABLE_FUNCTION_NAME
|
|
685
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
686
|
+
var fails$7 = fails$e;
|
|
687
|
+
var isCallable$6 = isCallable$e;
|
|
688
|
+
var hasOwn$4 = hasOwnProperty_1;
|
|
689
|
+
var DESCRIPTORS$3 = descriptors;
|
|
690
|
+
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
|
694
691
|
var inspectSource = inspectSource$1;
|
|
695
|
-
var InternalStateModule$
|
|
692
|
+
var InternalStateModule$1 = internalState;
|
|
696
693
|
|
|
697
|
-
var enforceInternalState = InternalStateModule$
|
|
698
|
-
var getInternalState
|
|
699
|
-
var $String
|
|
694
|
+
var enforceInternalState = InternalStateModule$1.enforce;
|
|
695
|
+
var getInternalState = InternalStateModule$1.get;
|
|
696
|
+
var $String = String;
|
|
700
697
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
701
|
-
var defineProperty$
|
|
702
|
-
var stringSlice = uncurryThis$
|
|
703
|
-
var replace
|
|
704
|
-
var join = uncurryThis$
|
|
698
|
+
var defineProperty$1 = Object.defineProperty;
|
|
699
|
+
var stringSlice = uncurryThis$8(''.slice);
|
|
700
|
+
var replace = uncurryThis$8(''.replace);
|
|
701
|
+
var join = uncurryThis$8([].join);
|
|
705
702
|
|
|
706
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$
|
|
707
|
-
return defineProperty$
|
|
703
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS$3 && !fails$7(function () {
|
|
704
|
+
return defineProperty$1(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
708
705
|
});
|
|
709
706
|
|
|
710
707
|
var TEMPLATE = String(String).split('String');
|
|
711
708
|
|
|
712
709
|
var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
713
|
-
if (stringSlice($String
|
|
714
|
-
name = '[' + replace
|
|
710
|
+
if (stringSlice($String(name), 0, 7) === 'Symbol(') {
|
|
711
|
+
name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
|
|
715
712
|
}
|
|
716
713
|
if (options && options.getter) name = 'get ' + name;
|
|
717
714
|
if (options && options.setter) name = 'set ' + name;
|
|
718
|
-
if (!hasOwn$
|
|
719
|
-
if (DESCRIPTORS$
|
|
715
|
+
if (!hasOwn$4(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
|
716
|
+
if (DESCRIPTORS$3) defineProperty$1(value, 'name', { value: name, configurable: true });
|
|
720
717
|
else value.name = name;
|
|
721
718
|
}
|
|
722
|
-
if (CONFIGURABLE_LENGTH && options && hasOwn$
|
|
723
|
-
defineProperty$
|
|
719
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn$4(options, 'arity') && value.length !== options.arity) {
|
|
720
|
+
defineProperty$1(value, 'length', { value: options.arity });
|
|
724
721
|
}
|
|
725
722
|
try {
|
|
726
|
-
if (options && hasOwn$
|
|
727
|
-
if (DESCRIPTORS$
|
|
723
|
+
if (options && hasOwn$4(options, 'constructor') && options.constructor) {
|
|
724
|
+
if (DESCRIPTORS$3) defineProperty$1(value, 'prototype', { writable: false });
|
|
728
725
|
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
729
726
|
} else if (value.prototype) value.prototype = undefined;
|
|
730
727
|
} catch (error) { /* empty */ }
|
|
731
728
|
var state = enforceInternalState(value);
|
|
732
|
-
if (!hasOwn$
|
|
729
|
+
if (!hasOwn$4(state, 'source')) {
|
|
733
730
|
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
|
734
731
|
} return value;
|
|
735
732
|
};
|
|
@@ -737,21 +734,21 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
|
737
734
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
738
735
|
// eslint-disable-next-line no-extend-native -- required
|
|
739
736
|
Function.prototype.toString = makeBuiltIn$2(function toString() {
|
|
740
|
-
return isCallable$
|
|
737
|
+
return isCallable$6(this) && getInternalState(this).source || inspectSource(this);
|
|
741
738
|
}, 'toString');
|
|
742
739
|
|
|
743
740
|
var makeBuiltInExports = makeBuiltIn$3.exports;
|
|
744
741
|
|
|
745
|
-
var isCallable$
|
|
742
|
+
var isCallable$5 = isCallable$e;
|
|
746
743
|
var definePropertyModule$3 = objectDefineProperty;
|
|
747
744
|
var makeBuiltIn$1 = makeBuiltInExports;
|
|
748
745
|
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
|
749
746
|
|
|
750
|
-
var defineBuiltIn$
|
|
747
|
+
var defineBuiltIn$3 = function (O, key, value, options) {
|
|
751
748
|
if (!options) options = {};
|
|
752
749
|
var simple = options.enumerable;
|
|
753
750
|
var name = options.name !== undefined ? options.name : key;
|
|
754
|
-
if (isCallable$
|
|
751
|
+
if (isCallable$5(value)) makeBuiltIn$1(value, name, options);
|
|
755
752
|
if (options.global) {
|
|
756
753
|
if (simple) O[key] = value;
|
|
757
754
|
else defineGlobalProperty$1(key, value);
|
|
@@ -825,14 +822,14 @@ var lengthOfArrayLike$2 = function (obj) {
|
|
|
825
822
|
return toLength(obj.length);
|
|
826
823
|
};
|
|
827
824
|
|
|
828
|
-
var toIndexedObject$
|
|
825
|
+
var toIndexedObject$2 = toIndexedObject$4;
|
|
829
826
|
var toAbsoluteIndex = toAbsoluteIndex$1;
|
|
830
827
|
var lengthOfArrayLike$1 = lengthOfArrayLike$2;
|
|
831
828
|
|
|
832
829
|
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
833
830
|
var createMethod = function (IS_INCLUDES) {
|
|
834
831
|
return function ($this, el, fromIndex) {
|
|
835
|
-
var O = toIndexedObject$
|
|
832
|
+
var O = toIndexedObject$2($this);
|
|
836
833
|
var length = lengthOfArrayLike$1(O);
|
|
837
834
|
if (length === 0) return !IS_INCLUDES && -1;
|
|
838
835
|
var index = toAbsoluteIndex(fromIndex, length);
|
|
@@ -856,22 +853,22 @@ var arrayIncludes = {
|
|
|
856
853
|
indexOf: createMethod(false)
|
|
857
854
|
};
|
|
858
855
|
|
|
859
|
-
var uncurryThis$
|
|
860
|
-
var hasOwn$
|
|
861
|
-
var toIndexedObject$
|
|
856
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
857
|
+
var hasOwn$3 = hasOwnProperty_1;
|
|
858
|
+
var toIndexedObject$1 = toIndexedObject$4;
|
|
862
859
|
var indexOf = arrayIncludes.indexOf;
|
|
863
860
|
var hiddenKeys$2 = hiddenKeys$4;
|
|
864
861
|
|
|
865
|
-
var push = uncurryThis$
|
|
862
|
+
var push = uncurryThis$7([].push);
|
|
866
863
|
|
|
867
864
|
var objectKeysInternal = function (object, names) {
|
|
868
|
-
var O = toIndexedObject$
|
|
865
|
+
var O = toIndexedObject$1(object);
|
|
869
866
|
var i = 0;
|
|
870
867
|
var result = [];
|
|
871
868
|
var key;
|
|
872
|
-
for (key in O) !hasOwn$
|
|
869
|
+
for (key in O) !hasOwn$3(hiddenKeys$2, key) && hasOwn$3(O, key) && push(result, key);
|
|
873
870
|
// Don't enum bug & hidden keys
|
|
874
|
-
while (names.length > i) if (hasOwn$
|
|
871
|
+
while (names.length > i) if (hasOwn$3(O, key = names[i++])) {
|
|
875
872
|
~indexOf(result, key) || push(result, key);
|
|
876
873
|
}
|
|
877
874
|
return result;
|
|
@@ -905,40 +902,40 @@ var objectGetOwnPropertySymbols = {};
|
|
|
905
902
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
906
903
|
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
907
904
|
|
|
908
|
-
var getBuiltIn$
|
|
909
|
-
var uncurryThis$
|
|
905
|
+
var getBuiltIn$2 = getBuiltIn$4;
|
|
906
|
+
var uncurryThis$6 = functionUncurryThis;
|
|
910
907
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
911
908
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
912
909
|
var anObject$b = anObject$d;
|
|
913
910
|
|
|
914
|
-
var concat = uncurryThis$
|
|
911
|
+
var concat = uncurryThis$6([].concat);
|
|
915
912
|
|
|
916
913
|
// all object keys, includes non-enumerable and symbols
|
|
917
|
-
var ownKeys$1 = getBuiltIn$
|
|
914
|
+
var ownKeys$1 = getBuiltIn$2('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
918
915
|
var keys = getOwnPropertyNamesModule.f(anObject$b(it));
|
|
919
916
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
|
920
917
|
return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
|
|
921
918
|
};
|
|
922
919
|
|
|
923
|
-
var hasOwn$
|
|
920
|
+
var hasOwn$2 = hasOwnProperty_1;
|
|
924
921
|
var ownKeys = ownKeys$1;
|
|
925
922
|
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
926
923
|
var definePropertyModule$2 = objectDefineProperty;
|
|
927
924
|
|
|
928
|
-
var copyConstructorProperties$
|
|
925
|
+
var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
929
926
|
var keys = ownKeys(source);
|
|
930
927
|
var defineProperty = definePropertyModule$2.f;
|
|
931
928
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
932
929
|
for (var i = 0; i < keys.length; i++) {
|
|
933
930
|
var key = keys[i];
|
|
934
|
-
if (!hasOwn$
|
|
931
|
+
if (!hasOwn$2(target, key) && !(exceptions && hasOwn$2(exceptions, key))) {
|
|
935
932
|
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
936
933
|
}
|
|
937
934
|
}
|
|
938
935
|
};
|
|
939
936
|
|
|
940
|
-
var fails$
|
|
941
|
-
var isCallable$
|
|
937
|
+
var fails$6 = fails$e;
|
|
938
|
+
var isCallable$4 = isCallable$e;
|
|
942
939
|
|
|
943
940
|
var replacement = /#|\.prototype\./;
|
|
944
941
|
|
|
@@ -946,7 +943,7 @@ var isForced$1 = function (feature, detection) {
|
|
|
946
943
|
var value = data[normalize(feature)];
|
|
947
944
|
return value === POLYFILL ? true
|
|
948
945
|
: value === NATIVE ? false
|
|
949
|
-
: isCallable$
|
|
946
|
+
: isCallable$4(detection) ? fails$6(detection)
|
|
950
947
|
: !!detection;
|
|
951
948
|
};
|
|
952
949
|
|
|
@@ -960,12 +957,12 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
|
|
|
960
957
|
|
|
961
958
|
var isForced_1 = isForced$1;
|
|
962
959
|
|
|
963
|
-
var globalThis$
|
|
960
|
+
var globalThis$3 = globalThis_1;
|
|
964
961
|
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
965
|
-
var createNonEnumerableProperty$
|
|
966
|
-
var defineBuiltIn$
|
|
962
|
+
var createNonEnumerableProperty$1 = createNonEnumerableProperty$3;
|
|
963
|
+
var defineBuiltIn$2 = defineBuiltIn$3;
|
|
967
964
|
var defineGlobalProperty = defineGlobalProperty$3;
|
|
968
|
-
var copyConstructorProperties
|
|
965
|
+
var copyConstructorProperties = copyConstructorProperties$1;
|
|
969
966
|
var isForced = isForced_1;
|
|
970
967
|
|
|
971
968
|
/*
|
|
@@ -989,11 +986,11 @@ var _export = function (options, source) {
|
|
|
989
986
|
var STATIC = options.stat;
|
|
990
987
|
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
991
988
|
if (GLOBAL) {
|
|
992
|
-
target = globalThis$
|
|
989
|
+
target = globalThis$3;
|
|
993
990
|
} else if (STATIC) {
|
|
994
|
-
target = globalThis$
|
|
991
|
+
target = globalThis$3[TARGET] || defineGlobalProperty(TARGET, {});
|
|
995
992
|
} else {
|
|
996
|
-
target = globalThis$
|
|
993
|
+
target = globalThis$3[TARGET] && globalThis$3[TARGET].prototype;
|
|
997
994
|
}
|
|
998
995
|
if (target) for (key in source) {
|
|
999
996
|
sourceProperty = source[key];
|
|
@@ -1005,36 +1002,36 @@ var _export = function (options, source) {
|
|
|
1005
1002
|
// contained in target
|
|
1006
1003
|
if (!FORCED && targetProperty !== undefined) {
|
|
1007
1004
|
if (typeof sourceProperty == typeof targetProperty) continue;
|
|
1008
|
-
copyConstructorProperties
|
|
1005
|
+
copyConstructorProperties(sourceProperty, targetProperty);
|
|
1009
1006
|
}
|
|
1010
1007
|
// add a flag to not completely full polyfills
|
|
1011
1008
|
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
1012
|
-
createNonEnumerableProperty$
|
|
1009
|
+
createNonEnumerableProperty$1(sourceProperty, 'sham', true);
|
|
1013
1010
|
}
|
|
1014
|
-
defineBuiltIn$
|
|
1011
|
+
defineBuiltIn$2(target, key, sourceProperty, options);
|
|
1015
1012
|
}
|
|
1016
1013
|
};
|
|
1017
1014
|
|
|
1018
|
-
var isPrototypeOf$
|
|
1015
|
+
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
1019
1016
|
|
|
1020
|
-
var $TypeError$
|
|
1017
|
+
var $TypeError$5 = TypeError;
|
|
1021
1018
|
|
|
1022
1019
|
var anInstance$1 = function (it, Prototype) {
|
|
1023
|
-
if (isPrototypeOf$
|
|
1024
|
-
throw new $TypeError$
|
|
1020
|
+
if (isPrototypeOf$1(Prototype, it)) return it;
|
|
1021
|
+
throw new $TypeError$5('Incorrect invocation');
|
|
1025
1022
|
};
|
|
1026
1023
|
|
|
1027
|
-
var fails$
|
|
1024
|
+
var fails$5 = fails$e;
|
|
1028
1025
|
|
|
1029
|
-
var correctPrototypeGetter = !fails$
|
|
1026
|
+
var correctPrototypeGetter = !fails$5(function () {
|
|
1030
1027
|
function F() { /* empty */ }
|
|
1031
1028
|
F.prototype.constructor = null;
|
|
1032
1029
|
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
1033
1030
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
1034
1031
|
});
|
|
1035
1032
|
|
|
1036
|
-
var hasOwn$
|
|
1037
|
-
var isCallable$
|
|
1033
|
+
var hasOwn$1 = hasOwnProperty_1;
|
|
1034
|
+
var isCallable$3 = isCallable$e;
|
|
1038
1035
|
var toObject = toObject$2;
|
|
1039
1036
|
var sharedKey$1 = sharedKey$3;
|
|
1040
1037
|
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
@@ -1048,28 +1045,28 @@ var ObjectPrototype = $Object$1.prototype;
|
|
|
1048
1045
|
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
1049
1046
|
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
|
|
1050
1047
|
var object = toObject(O);
|
|
1051
|
-
if (hasOwn$
|
|
1048
|
+
if (hasOwn$1(object, IE_PROTO$1)) return object[IE_PROTO$1];
|
|
1052
1049
|
var constructor = object.constructor;
|
|
1053
|
-
if (isCallable$
|
|
1050
|
+
if (isCallable$3(constructor) && object instanceof constructor) {
|
|
1054
1051
|
return constructor.prototype;
|
|
1055
1052
|
} return object instanceof $Object$1 ? ObjectPrototype : null;
|
|
1056
1053
|
};
|
|
1057
1054
|
|
|
1058
1055
|
var makeBuiltIn = makeBuiltInExports;
|
|
1059
|
-
var defineProperty
|
|
1056
|
+
var defineProperty = objectDefineProperty;
|
|
1060
1057
|
|
|
1061
1058
|
var defineBuiltInAccessor$1 = function (target, name, descriptor) {
|
|
1062
1059
|
if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
|
|
1063
1060
|
if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
|
|
1064
|
-
return defineProperty
|
|
1061
|
+
return defineProperty.f(target, name, descriptor);
|
|
1065
1062
|
};
|
|
1066
1063
|
|
|
1067
|
-
var DESCRIPTORS$
|
|
1064
|
+
var DESCRIPTORS$2 = descriptors;
|
|
1068
1065
|
var definePropertyModule$1 = objectDefineProperty;
|
|
1069
|
-
var createPropertyDescriptor
|
|
1066
|
+
var createPropertyDescriptor = createPropertyDescriptor$3;
|
|
1070
1067
|
|
|
1071
|
-
var createProperty$
|
|
1072
|
-
if (DESCRIPTORS$
|
|
1068
|
+
var createProperty$1 = function (object, key, value) {
|
|
1069
|
+
if (DESCRIPTORS$2) definePropertyModule$1.f(object, key, createPropertyDescriptor(0, value));
|
|
1073
1070
|
else object[key] = value;
|
|
1074
1071
|
};
|
|
1075
1072
|
|
|
@@ -1085,19 +1082,19 @@ var objectKeys$1 = Object.keys || function keys(O) {
|
|
|
1085
1082
|
return internalObjectKeys(O, enumBugKeys$1);
|
|
1086
1083
|
};
|
|
1087
1084
|
|
|
1088
|
-
var DESCRIPTORS$
|
|
1085
|
+
var DESCRIPTORS$1 = descriptors;
|
|
1089
1086
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
1090
1087
|
var definePropertyModule = objectDefineProperty;
|
|
1091
1088
|
var anObject$a = anObject$d;
|
|
1092
|
-
var toIndexedObject
|
|
1089
|
+
var toIndexedObject = toIndexedObject$4;
|
|
1093
1090
|
var objectKeys = objectKeys$1;
|
|
1094
1091
|
|
|
1095
1092
|
// `Object.defineProperties` method
|
|
1096
1093
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
1097
1094
|
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
1098
|
-
objectDefineProperties.f = DESCRIPTORS$
|
|
1095
|
+
objectDefineProperties.f = DESCRIPTORS$1 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
1099
1096
|
anObject$a(O);
|
|
1100
|
-
var props = toIndexedObject
|
|
1097
|
+
var props = toIndexedObject(Properties);
|
|
1101
1098
|
var keys = objectKeys(Properties);
|
|
1102
1099
|
var length = keys.length;
|
|
1103
1100
|
var index = 0;
|
|
@@ -1106,9 +1103,9 @@ objectDefineProperties.f = DESCRIPTORS$3 && !V8_PROTOTYPE_DEFINE_BUG ? Object.de
|
|
|
1106
1103
|
return O;
|
|
1107
1104
|
};
|
|
1108
1105
|
|
|
1109
|
-
var getBuiltIn$
|
|
1106
|
+
var getBuiltIn$1 = getBuiltIn$4;
|
|
1110
1107
|
|
|
1111
|
-
var html$1 = getBuiltIn$
|
|
1108
|
+
var html$1 = getBuiltIn$1('document', 'documentElement');
|
|
1112
1109
|
|
|
1113
1110
|
/* global ActiveXObject -- old IE, WSH */
|
|
1114
1111
|
var anObject$9 = anObject$d;
|
|
@@ -1116,7 +1113,7 @@ var definePropertiesModule = objectDefineProperties;
|
|
|
1116
1113
|
var enumBugKeys = enumBugKeys$3;
|
|
1117
1114
|
var hiddenKeys = hiddenKeys$4;
|
|
1118
1115
|
var html = html$1;
|
|
1119
|
-
var documentCreateElement
|
|
1116
|
+
var documentCreateElement = documentCreateElement$1;
|
|
1120
1117
|
var sharedKey = sharedKey$3;
|
|
1121
1118
|
|
|
1122
1119
|
var GT = '>';
|
|
@@ -1144,7 +1141,7 @@ var NullProtoObjectViaActiveX = function (activeXDocument) {
|
|
|
1144
1141
|
// Create object with fake `null` prototype: use iframe Object with cleared prototype
|
|
1145
1142
|
var NullProtoObjectViaIFrame = function () {
|
|
1146
1143
|
// Thrash, waste and sodomy: IE GC bug
|
|
1147
|
-
var iframe = documentCreateElement
|
|
1144
|
+
var iframe = documentCreateElement('iframe');
|
|
1148
1145
|
var JS = 'java' + SCRIPT + ':';
|
|
1149
1146
|
var iframeDocument;
|
|
1150
1147
|
iframe.style.display = 'none';
|
|
@@ -1195,130 +1192,127 @@ var objectCreate = Object.create || function create(O, Properties) {
|
|
|
1195
1192
|
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
1196
1193
|
};
|
|
1197
1194
|
|
|
1198
|
-
var fails$
|
|
1199
|
-
var isCallable$
|
|
1200
|
-
var isObject
|
|
1201
|
-
var getPrototypeOf$
|
|
1202
|
-
var defineBuiltIn$
|
|
1203
|
-
var wellKnownSymbol$
|
|
1195
|
+
var fails$4 = fails$e;
|
|
1196
|
+
var isCallable$2 = isCallable$e;
|
|
1197
|
+
var isObject = isObject$6;
|
|
1198
|
+
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
1199
|
+
var defineBuiltIn$1 = defineBuiltIn$3;
|
|
1200
|
+
var wellKnownSymbol$6 = wellKnownSymbol$8;
|
|
1204
1201
|
|
|
1205
|
-
var ITERATOR$
|
|
1206
|
-
var BUGGY_SAFARI_ITERATORS$1 = false;
|
|
1202
|
+
var ITERATOR$3 = wellKnownSymbol$6('iterator');
|
|
1207
1203
|
|
|
1208
1204
|
// `%IteratorPrototype%` object
|
|
1209
1205
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
|
|
1210
|
-
var IteratorPrototype$
|
|
1206
|
+
var IteratorPrototype$2, PrototypeOfArrayIteratorPrototype, arrayIterator;
|
|
1211
1207
|
|
|
1212
1208
|
/* eslint-disable es/no-array-prototype-keys -- safe */
|
|
1213
1209
|
if ([].keys) {
|
|
1214
1210
|
arrayIterator = [].keys();
|
|
1215
1211
|
// Safari 8 has buggy iterators w/o `next`
|
|
1216
|
-
if (!('next' in arrayIterator))
|
|
1212
|
+
if (!('next' in arrayIterator)) ;
|
|
1217
1213
|
else {
|
|
1218
|
-
PrototypeOfArrayIteratorPrototype = getPrototypeOf$
|
|
1219
|
-
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$
|
|
1214
|
+
PrototypeOfArrayIteratorPrototype = getPrototypeOf$1(getPrototypeOf$1(arrayIterator));
|
|
1215
|
+
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$2 = PrototypeOfArrayIteratorPrototype;
|
|
1220
1216
|
}
|
|
1221
1217
|
}
|
|
1222
1218
|
|
|
1223
|
-
var NEW_ITERATOR_PROTOTYPE = !isObject
|
|
1219
|
+
var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype$2) || fails$4(function () {
|
|
1224
1220
|
var test = {};
|
|
1225
1221
|
// FF44- legacy iterators case
|
|
1226
|
-
return IteratorPrototype$
|
|
1222
|
+
return IteratorPrototype$2[ITERATOR$3].call(test) !== test;
|
|
1227
1223
|
});
|
|
1228
1224
|
|
|
1229
|
-
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$
|
|
1225
|
+
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
|
|
1230
1226
|
|
|
1231
1227
|
// `%IteratorPrototype%[@@iterator]()` method
|
|
1232
1228
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
|
1233
|
-
if (!isCallable$
|
|
1234
|
-
defineBuiltIn$
|
|
1229
|
+
if (!isCallable$2(IteratorPrototype$2[ITERATOR$3])) {
|
|
1230
|
+
defineBuiltIn$1(IteratorPrototype$2, ITERATOR$3, function () {
|
|
1235
1231
|
return this;
|
|
1236
1232
|
});
|
|
1237
1233
|
}
|
|
1238
1234
|
|
|
1239
1235
|
var iteratorsCore = {
|
|
1240
|
-
IteratorPrototype: IteratorPrototype$
|
|
1241
|
-
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
|
|
1242
|
-
};
|
|
1236
|
+
IteratorPrototype: IteratorPrototype$2};
|
|
1243
1237
|
|
|
1244
|
-
var $$
|
|
1245
|
-
var globalThis$
|
|
1238
|
+
var $$c = _export;
|
|
1239
|
+
var globalThis$2 = globalThis_1;
|
|
1246
1240
|
var anInstance = anInstance$1;
|
|
1247
1241
|
var anObject$8 = anObject$d;
|
|
1248
|
-
var isCallable$
|
|
1249
|
-
var getPrototypeOf
|
|
1242
|
+
var isCallable$1 = isCallable$e;
|
|
1243
|
+
var getPrototypeOf = objectGetPrototypeOf;
|
|
1250
1244
|
var defineBuiltInAccessor = defineBuiltInAccessor$1;
|
|
1251
|
-
var createProperty
|
|
1252
|
-
var fails$
|
|
1253
|
-
var hasOwn
|
|
1254
|
-
var wellKnownSymbol$
|
|
1255
|
-
var IteratorPrototype$
|
|
1256
|
-
var DESCRIPTORS
|
|
1245
|
+
var createProperty = createProperty$1;
|
|
1246
|
+
var fails$3 = fails$e;
|
|
1247
|
+
var hasOwn = hasOwnProperty_1;
|
|
1248
|
+
var wellKnownSymbol$5 = wellKnownSymbol$8;
|
|
1249
|
+
var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
|
|
1250
|
+
var DESCRIPTORS = descriptors;
|
|
1257
1251
|
|
|
1258
1252
|
var CONSTRUCTOR = 'constructor';
|
|
1259
|
-
var ITERATOR$
|
|
1260
|
-
var TO_STRING_TAG$
|
|
1253
|
+
var ITERATOR$2 = 'Iterator';
|
|
1254
|
+
var TO_STRING_TAG$3 = wellKnownSymbol$5('toStringTag');
|
|
1261
1255
|
|
|
1262
|
-
var $TypeError$
|
|
1263
|
-
var NativeIterator = globalThis$
|
|
1256
|
+
var $TypeError$4 = TypeError;
|
|
1257
|
+
var NativeIterator = globalThis$2[ITERATOR$2];
|
|
1264
1258
|
|
|
1265
1259
|
// FF56- have non-standard global helper `Iterator`
|
|
1266
|
-
var FORCED$
|
|
1267
|
-
|| NativeIterator.prototype !== IteratorPrototype$
|
|
1260
|
+
var FORCED$4 = !isCallable$1(NativeIterator)
|
|
1261
|
+
|| NativeIterator.prototype !== IteratorPrototype$1
|
|
1268
1262
|
// FF44- non-standard `Iterator` passes previous tests
|
|
1269
|
-
|| !fails$
|
|
1263
|
+
|| !fails$3(function () { NativeIterator({}); });
|
|
1270
1264
|
|
|
1271
1265
|
var IteratorConstructor = function Iterator() {
|
|
1272
|
-
anInstance(this, IteratorPrototype$
|
|
1273
|
-
if (getPrototypeOf
|
|
1266
|
+
anInstance(this, IteratorPrototype$1);
|
|
1267
|
+
if (getPrototypeOf(this) === IteratorPrototype$1) throw new $TypeError$4('Abstract class Iterator not directly constructable');
|
|
1274
1268
|
};
|
|
1275
1269
|
|
|
1276
1270
|
var defineIteratorPrototypeAccessor = function (key, value) {
|
|
1277
|
-
if (DESCRIPTORS
|
|
1278
|
-
defineBuiltInAccessor(IteratorPrototype$
|
|
1271
|
+
if (DESCRIPTORS) {
|
|
1272
|
+
defineBuiltInAccessor(IteratorPrototype$1, key, {
|
|
1279
1273
|
configurable: true,
|
|
1280
1274
|
get: function () {
|
|
1281
1275
|
return value;
|
|
1282
1276
|
},
|
|
1283
1277
|
set: function (replacement) {
|
|
1284
1278
|
anObject$8(this);
|
|
1285
|
-
if (this === IteratorPrototype$
|
|
1286
|
-
if (hasOwn
|
|
1287
|
-
else createProperty
|
|
1279
|
+
if (this === IteratorPrototype$1) throw new $TypeError$4("You can't redefine this property");
|
|
1280
|
+
if (hasOwn(this, key)) this[key] = replacement;
|
|
1281
|
+
else createProperty(this, key, replacement);
|
|
1288
1282
|
}
|
|
1289
1283
|
});
|
|
1290
|
-
} else IteratorPrototype$
|
|
1284
|
+
} else IteratorPrototype$1[key] = value;
|
|
1291
1285
|
};
|
|
1292
1286
|
|
|
1293
|
-
if (!hasOwn
|
|
1287
|
+
if (!hasOwn(IteratorPrototype$1, TO_STRING_TAG$3)) defineIteratorPrototypeAccessor(TO_STRING_TAG$3, ITERATOR$2);
|
|
1294
1288
|
|
|
1295
|
-
if (FORCED$
|
|
1289
|
+
if (FORCED$4 || !hasOwn(IteratorPrototype$1, CONSTRUCTOR) || IteratorPrototype$1[CONSTRUCTOR] === Object) {
|
|
1296
1290
|
defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
|
|
1297
1291
|
}
|
|
1298
1292
|
|
|
1299
|
-
IteratorConstructor.prototype = IteratorPrototype$
|
|
1293
|
+
IteratorConstructor.prototype = IteratorPrototype$1;
|
|
1300
1294
|
|
|
1301
1295
|
// `Iterator` constructor
|
|
1302
1296
|
// https://tc39.es/ecma262/#sec-iterator
|
|
1303
|
-
$$
|
|
1297
|
+
$$c({ global: true, constructor: true, forced: FORCED$4 }, {
|
|
1304
1298
|
Iterator: IteratorConstructor
|
|
1305
1299
|
});
|
|
1306
1300
|
|
|
1307
1301
|
var classofRaw$1 = classofRaw$2;
|
|
1308
|
-
var uncurryThis$
|
|
1302
|
+
var uncurryThis$5 = functionUncurryThis;
|
|
1309
1303
|
|
|
1310
1304
|
var functionUncurryThisClause = function (fn) {
|
|
1311
1305
|
// Nashorn bug:
|
|
1312
1306
|
// https://github.com/zloirock/core-js/issues/1128
|
|
1313
1307
|
// https://github.com/zloirock/core-js/issues/1130
|
|
1314
|
-
if (classofRaw$1(fn) === 'Function') return uncurryThis$
|
|
1308
|
+
if (classofRaw$1(fn) === 'Function') return uncurryThis$5(fn);
|
|
1315
1309
|
};
|
|
1316
1310
|
|
|
1317
|
-
var uncurryThis$
|
|
1311
|
+
var uncurryThis$4 = functionUncurryThisClause;
|
|
1318
1312
|
var aCallable$7 = aCallable$9;
|
|
1319
1313
|
var NATIVE_BIND$1 = functionBindNative;
|
|
1320
1314
|
|
|
1321
|
-
var bind$1 = uncurryThis$
|
|
1315
|
+
var bind$1 = uncurryThis$4(uncurryThis$4.bind);
|
|
1322
1316
|
|
|
1323
1317
|
// optional / simple context binding
|
|
1324
1318
|
var functionBindContext = function (fn, that) {
|
|
@@ -1330,32 +1324,32 @@ var functionBindContext = function (fn, that) {
|
|
|
1330
1324
|
|
|
1331
1325
|
var iterators = {};
|
|
1332
1326
|
|
|
1333
|
-
var wellKnownSymbol$
|
|
1334
|
-
var Iterators$
|
|
1327
|
+
var wellKnownSymbol$4 = wellKnownSymbol$8;
|
|
1328
|
+
var Iterators$1 = iterators;
|
|
1335
1329
|
|
|
1336
|
-
var ITERATOR$
|
|
1337
|
-
var ArrayPrototype
|
|
1330
|
+
var ITERATOR$1 = wellKnownSymbol$4('iterator');
|
|
1331
|
+
var ArrayPrototype = Array.prototype;
|
|
1338
1332
|
|
|
1339
1333
|
// check on default Array iterator
|
|
1340
1334
|
var isArrayIteratorMethod$1 = function (it) {
|
|
1341
|
-
return it !== undefined && (Iterators$
|
|
1335
|
+
return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$1] === it);
|
|
1342
1336
|
};
|
|
1343
1337
|
|
|
1344
|
-
var wellKnownSymbol$
|
|
1338
|
+
var wellKnownSymbol$3 = wellKnownSymbol$8;
|
|
1345
1339
|
|
|
1346
|
-
var TO_STRING_TAG$
|
|
1340
|
+
var TO_STRING_TAG$2 = wellKnownSymbol$3('toStringTag');
|
|
1347
1341
|
var test = {};
|
|
1348
1342
|
// eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
|
|
1349
|
-
test[TO_STRING_TAG$
|
|
1343
|
+
test[TO_STRING_TAG$2] = 'z';
|
|
1350
1344
|
|
|
1351
1345
|
var toStringTagSupport = String(test) === '[object z]';
|
|
1352
1346
|
|
|
1353
1347
|
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
1354
|
-
var isCallable
|
|
1348
|
+
var isCallable = isCallable$e;
|
|
1355
1349
|
var classofRaw = classofRaw$2;
|
|
1356
|
-
var wellKnownSymbol$
|
|
1350
|
+
var wellKnownSymbol$2 = wellKnownSymbol$8;
|
|
1357
1351
|
|
|
1358
|
-
var TO_STRING_TAG$
|
|
1352
|
+
var TO_STRING_TAG$1 = wellKnownSymbol$2('toStringTag');
|
|
1359
1353
|
var $Object = Object;
|
|
1360
1354
|
|
|
1361
1355
|
// ES3 wrong here
|
|
@@ -1369,46 +1363,46 @@ var tryGet = function (it, key) {
|
|
|
1369
1363
|
};
|
|
1370
1364
|
|
|
1371
1365
|
// getting tag from ES6+ `Object.prototype.toString`
|
|
1372
|
-
var classof$
|
|
1366
|
+
var classof$1 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
1373
1367
|
var O, tag, result;
|
|
1374
1368
|
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
1375
1369
|
// @@toStringTag case
|
|
1376
|
-
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG$
|
|
1370
|
+
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG$1)) == 'string' ? tag
|
|
1377
1371
|
// builtinTag case
|
|
1378
1372
|
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
1379
1373
|
// ES3 arguments fallback
|
|
1380
|
-
: (result = classofRaw(O)) === 'Object' && isCallable
|
|
1374
|
+
: (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
|
|
1381
1375
|
};
|
|
1382
1376
|
|
|
1383
|
-
var classof
|
|
1377
|
+
var classof = classof$1;
|
|
1384
1378
|
var getMethod$2 = getMethod$4;
|
|
1385
1379
|
var isNullOrUndefined = isNullOrUndefined$3;
|
|
1386
|
-
var Iterators
|
|
1387
|
-
var wellKnownSymbol$
|
|
1380
|
+
var Iterators = iterators;
|
|
1381
|
+
var wellKnownSymbol$1 = wellKnownSymbol$8;
|
|
1388
1382
|
|
|
1389
|
-
var ITERATOR
|
|
1383
|
+
var ITERATOR = wellKnownSymbol$1('iterator');
|
|
1390
1384
|
|
|
1391
1385
|
var getIteratorMethod$2 = function (it) {
|
|
1392
|
-
if (!isNullOrUndefined(it)) return getMethod$2(it, ITERATOR
|
|
1386
|
+
if (!isNullOrUndefined(it)) return getMethod$2(it, ITERATOR)
|
|
1393
1387
|
|| getMethod$2(it, '@@iterator')
|
|
1394
|
-
|| Iterators
|
|
1388
|
+
|| Iterators[classof(it)];
|
|
1395
1389
|
};
|
|
1396
1390
|
|
|
1397
|
-
var call$
|
|
1391
|
+
var call$8 = functionCall;
|
|
1398
1392
|
var aCallable$6 = aCallable$9;
|
|
1399
1393
|
var anObject$7 = anObject$d;
|
|
1400
1394
|
var tryToString$1 = tryToString$3;
|
|
1401
1395
|
var getIteratorMethod$1 = getIteratorMethod$2;
|
|
1402
1396
|
|
|
1403
|
-
var $TypeError$
|
|
1397
|
+
var $TypeError$3 = TypeError;
|
|
1404
1398
|
|
|
1405
1399
|
var getIterator$1 = function (argument, usingIterator) {
|
|
1406
1400
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
|
|
1407
|
-
if (aCallable$6(iteratorMethod)) return anObject$7(call$
|
|
1408
|
-
throw new $TypeError$
|
|
1401
|
+
if (aCallable$6(iteratorMethod)) return anObject$7(call$8(iteratorMethod, argument));
|
|
1402
|
+
throw new $TypeError$3(tryToString$1(argument) + ' is not iterable');
|
|
1409
1403
|
};
|
|
1410
1404
|
|
|
1411
|
-
var call$
|
|
1405
|
+
var call$7 = functionCall;
|
|
1412
1406
|
var anObject$6 = anObject$d;
|
|
1413
1407
|
var getMethod$1 = getMethod$4;
|
|
1414
1408
|
|
|
@@ -1421,7 +1415,7 @@ var iteratorClose$9 = function (iterator, kind, value) {
|
|
|
1421
1415
|
if (kind === 'throw') throw value;
|
|
1422
1416
|
return value;
|
|
1423
1417
|
}
|
|
1424
|
-
innerResult = call$
|
|
1418
|
+
innerResult = call$7(innerResult, iterator);
|
|
1425
1419
|
} catch (error) {
|
|
1426
1420
|
innerError = true;
|
|
1427
1421
|
innerResult = error;
|
|
@@ -1433,17 +1427,17 @@ var iteratorClose$9 = function (iterator, kind, value) {
|
|
|
1433
1427
|
};
|
|
1434
1428
|
|
|
1435
1429
|
var bind = functionBindContext;
|
|
1436
|
-
var call$
|
|
1430
|
+
var call$6 = functionCall;
|
|
1437
1431
|
var anObject$5 = anObject$d;
|
|
1438
1432
|
var tryToString = tryToString$3;
|
|
1439
1433
|
var isArrayIteratorMethod = isArrayIteratorMethod$1;
|
|
1440
1434
|
var lengthOfArrayLike = lengthOfArrayLike$2;
|
|
1441
|
-
var isPrototypeOf
|
|
1435
|
+
var isPrototypeOf = objectIsPrototypeOf;
|
|
1442
1436
|
var getIterator = getIterator$1;
|
|
1443
1437
|
var getIteratorMethod = getIteratorMethod$2;
|
|
1444
1438
|
var iteratorClose$8 = iteratorClose$9;
|
|
1445
1439
|
|
|
1446
|
-
var $TypeError$
|
|
1440
|
+
var $TypeError$2 = TypeError;
|
|
1447
1441
|
|
|
1448
1442
|
var Result = function (stopped, result) {
|
|
1449
1443
|
this.stopped = stopped;
|
|
@@ -1452,7 +1446,7 @@ var Result = function (stopped, result) {
|
|
|
1452
1446
|
|
|
1453
1447
|
var ResultPrototype = Result.prototype;
|
|
1454
1448
|
|
|
1455
|
-
var iterate$
|
|
1449
|
+
var iterate$4 = function (iterable, unboundFunction, options) {
|
|
1456
1450
|
var that = options && options.that;
|
|
1457
1451
|
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
|
1458
1452
|
var IS_RECORD = !!(options && options.IS_RECORD);
|
|
@@ -1479,25 +1473,25 @@ var iterate$5 = function (iterable, unboundFunction, options) {
|
|
|
1479
1473
|
iterator = iterable;
|
|
1480
1474
|
} else {
|
|
1481
1475
|
iterFn = getIteratorMethod(iterable);
|
|
1482
|
-
if (!iterFn) throw new $TypeError$
|
|
1476
|
+
if (!iterFn) throw new $TypeError$2(tryToString(iterable) + ' is not iterable');
|
|
1483
1477
|
// optimisation for array iterators
|
|
1484
1478
|
if (isArrayIteratorMethod(iterFn)) {
|
|
1485
1479
|
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
|
|
1486
1480
|
result = callFn(iterable[index]);
|
|
1487
|
-
if (result && isPrototypeOf
|
|
1481
|
+
if (result && isPrototypeOf(ResultPrototype, result)) return result;
|
|
1488
1482
|
} return new Result(false);
|
|
1489
1483
|
}
|
|
1490
1484
|
iterator = getIterator(iterable, iterFn);
|
|
1491
1485
|
}
|
|
1492
1486
|
|
|
1493
1487
|
next = IS_RECORD ? iterable.next : iterator.next;
|
|
1494
|
-
while (!(step = call$
|
|
1488
|
+
while (!(step = call$6(next, iterator)).done) {
|
|
1495
1489
|
try {
|
|
1496
1490
|
result = callFn(step.value);
|
|
1497
1491
|
} catch (error) {
|
|
1498
1492
|
iteratorClose$8(iterator, 'throw', error);
|
|
1499
1493
|
}
|
|
1500
|
-
if (typeof result == 'object' && result && isPrototypeOf
|
|
1494
|
+
if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;
|
|
1501
1495
|
} return new Result(false);
|
|
1502
1496
|
};
|
|
1503
1497
|
|
|
@@ -1511,11 +1505,11 @@ var getIteratorDirect$4 = function (obj) {
|
|
|
1511
1505
|
};
|
|
1512
1506
|
};
|
|
1513
1507
|
|
|
1514
|
-
var globalThis$
|
|
1508
|
+
var globalThis$1 = globalThis_1;
|
|
1515
1509
|
|
|
1516
1510
|
// https://github.com/tc39/ecma262/pull/3467
|
|
1517
1511
|
var iteratorHelperWithoutClosingOnEarlyError$3 = function (METHOD_NAME, ExpectedError) {
|
|
1518
|
-
var Iterator = globalThis$
|
|
1512
|
+
var Iterator = globalThis$1.Iterator;
|
|
1519
1513
|
var IteratorPrototype = Iterator && Iterator.prototype;
|
|
1520
1514
|
var method = IteratorPrototype && IteratorPrototype[METHOD_NAME];
|
|
1521
1515
|
|
|
@@ -1534,9 +1528,9 @@ var iteratorHelperWithoutClosingOnEarlyError$3 = function (METHOD_NAME, Expected
|
|
|
1534
1528
|
if (!CLOSED) return method;
|
|
1535
1529
|
};
|
|
1536
1530
|
|
|
1537
|
-
var $$
|
|
1538
|
-
var call$
|
|
1539
|
-
var iterate$
|
|
1531
|
+
var $$b = _export;
|
|
1532
|
+
var call$5 = functionCall;
|
|
1533
|
+
var iterate$3 = iterate$4;
|
|
1540
1534
|
var aCallable$5 = aCallable$9;
|
|
1541
1535
|
var anObject$4 = anObject$d;
|
|
1542
1536
|
var getIteratorDirect$3 = getIteratorDirect$4;
|
|
@@ -1547,7 +1541,7 @@ var forEachWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError
|
|
|
1547
1541
|
|
|
1548
1542
|
// `Iterator.prototype.forEach` method
|
|
1549
1543
|
// https://tc39.es/ecma262/#sec-iterator.prototype.foreach
|
|
1550
|
-
$$
|
|
1544
|
+
$$b({ target: 'Iterator', proto: true, real: true, forced: forEachWithoutClosingOnEarlyError }, {
|
|
1551
1545
|
forEach: function forEach(fn) {
|
|
1552
1546
|
anObject$4(this);
|
|
1553
1547
|
try {
|
|
@@ -1556,369 +1550,16 @@ $$e({ target: 'Iterator', proto: true, real: true, forced: forEachWithoutClosing
|
|
|
1556
1550
|
iteratorClose$7(this, 'throw', error);
|
|
1557
1551
|
}
|
|
1558
1552
|
|
|
1559
|
-
if (forEachWithoutClosingOnEarlyError) return call$
|
|
1553
|
+
if (forEachWithoutClosingOnEarlyError) return call$5(forEachWithoutClosingOnEarlyError, this, fn);
|
|
1560
1554
|
|
|
1561
1555
|
var record = getIteratorDirect$3(this);
|
|
1562
1556
|
var counter = 0;
|
|
1563
|
-
iterate$
|
|
1557
|
+
iterate$3(record, function (value) {
|
|
1564
1558
|
fn(value, counter++);
|
|
1565
1559
|
}, { IS_RECORD: true });
|
|
1566
1560
|
}
|
|
1567
1561
|
});
|
|
1568
1562
|
|
|
1569
|
-
// iterable DOM collections
|
|
1570
|
-
// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
|
|
1571
|
-
var domIterables = {
|
|
1572
|
-
CSSRuleList: 0,
|
|
1573
|
-
CSSStyleDeclaration: 0,
|
|
1574
|
-
CSSValueList: 0,
|
|
1575
|
-
ClientRectList: 0,
|
|
1576
|
-
DOMRectList: 0,
|
|
1577
|
-
DOMStringList: 0,
|
|
1578
|
-
DOMTokenList: 1,
|
|
1579
|
-
DataTransferItemList: 0,
|
|
1580
|
-
FileList: 0,
|
|
1581
|
-
HTMLAllCollection: 0,
|
|
1582
|
-
HTMLCollection: 0,
|
|
1583
|
-
HTMLFormElement: 0,
|
|
1584
|
-
HTMLSelectElement: 0,
|
|
1585
|
-
MediaList: 0,
|
|
1586
|
-
MimeTypeArray: 0,
|
|
1587
|
-
NamedNodeMap: 0,
|
|
1588
|
-
NodeList: 1,
|
|
1589
|
-
PaintRequestList: 0,
|
|
1590
|
-
Plugin: 0,
|
|
1591
|
-
PluginArray: 0,
|
|
1592
|
-
SVGLengthList: 0,
|
|
1593
|
-
SVGNumberList: 0,
|
|
1594
|
-
SVGPathSegList: 0,
|
|
1595
|
-
SVGPointList: 0,
|
|
1596
|
-
SVGStringList: 0,
|
|
1597
|
-
SVGTransformList: 0,
|
|
1598
|
-
SourceBufferList: 0,
|
|
1599
|
-
StyleSheetList: 0,
|
|
1600
|
-
TextTrackCueList: 0,
|
|
1601
|
-
TextTrackList: 0,
|
|
1602
|
-
TouchList: 0
|
|
1603
|
-
};
|
|
1604
|
-
|
|
1605
|
-
// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`
|
|
1606
|
-
var documentCreateElement = documentCreateElement$2;
|
|
1607
|
-
|
|
1608
|
-
var classList = documentCreateElement('span').classList;
|
|
1609
|
-
var DOMTokenListPrototype$1 = classList && classList.constructor && classList.constructor.prototype;
|
|
1610
|
-
|
|
1611
|
-
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
|
1612
|
-
|
|
1613
|
-
var wellKnownSymbol$4 = wellKnownSymbol$c;
|
|
1614
|
-
var create$2 = objectCreate;
|
|
1615
|
-
var defineProperty$3 = objectDefineProperty.f;
|
|
1616
|
-
|
|
1617
|
-
var UNSCOPABLES = wellKnownSymbol$4('unscopables');
|
|
1618
|
-
var ArrayPrototype = Array.prototype;
|
|
1619
|
-
|
|
1620
|
-
// Array.prototype[@@unscopables]
|
|
1621
|
-
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
1622
|
-
if (ArrayPrototype[UNSCOPABLES] === undefined) {
|
|
1623
|
-
defineProperty$3(ArrayPrototype, UNSCOPABLES, {
|
|
1624
|
-
configurable: true,
|
|
1625
|
-
value: create$2(null)
|
|
1626
|
-
});
|
|
1627
|
-
}
|
|
1628
|
-
|
|
1629
|
-
// add a key to Array.prototype[@@unscopables]
|
|
1630
|
-
var addToUnscopables$1 = function (key) {
|
|
1631
|
-
ArrayPrototype[UNSCOPABLES][key] = true;
|
|
1632
|
-
};
|
|
1633
|
-
|
|
1634
|
-
var defineProperty$2 = objectDefineProperty.f;
|
|
1635
|
-
var hasOwn$1 = hasOwnProperty_1;
|
|
1636
|
-
var wellKnownSymbol$3 = wellKnownSymbol$c;
|
|
1637
|
-
|
|
1638
|
-
var TO_STRING_TAG$1 = wellKnownSymbol$3('toStringTag');
|
|
1639
|
-
|
|
1640
|
-
var setToStringTag$3 = function (target, TAG, STATIC) {
|
|
1641
|
-
if (target && !STATIC) target = target.prototype;
|
|
1642
|
-
if (target && !hasOwn$1(target, TO_STRING_TAG$1)) {
|
|
1643
|
-
defineProperty$2(target, TO_STRING_TAG$1, { configurable: true, value: TAG });
|
|
1644
|
-
}
|
|
1645
|
-
};
|
|
1646
|
-
|
|
1647
|
-
var IteratorPrototype$2 = iteratorsCore.IteratorPrototype;
|
|
1648
|
-
var create$1 = objectCreate;
|
|
1649
|
-
var createPropertyDescriptor$1 = createPropertyDescriptor$5;
|
|
1650
|
-
var setToStringTag$2 = setToStringTag$3;
|
|
1651
|
-
var Iterators$2 = iterators;
|
|
1652
|
-
|
|
1653
|
-
var returnThis$1 = function () { return this; };
|
|
1654
|
-
|
|
1655
|
-
var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
|
|
1656
|
-
var TO_STRING_TAG = NAME + ' Iterator';
|
|
1657
|
-
IteratorConstructor.prototype = create$1(IteratorPrototype$2, { next: createPropertyDescriptor$1(+!ENUMERABLE_NEXT, next) });
|
|
1658
|
-
setToStringTag$2(IteratorConstructor, TO_STRING_TAG, false);
|
|
1659
|
-
Iterators$2[TO_STRING_TAG] = returnThis$1;
|
|
1660
|
-
return IteratorConstructor;
|
|
1661
|
-
};
|
|
1662
|
-
|
|
1663
|
-
var uncurryThis$4 = functionUncurryThis;
|
|
1664
|
-
var aCallable$4 = aCallable$9;
|
|
1665
|
-
|
|
1666
|
-
var functionUncurryThisAccessor = function (object, key, method) {
|
|
1667
|
-
try {
|
|
1668
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1669
|
-
return uncurryThis$4(aCallable$4(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
1670
|
-
} catch (error) { /* empty */ }
|
|
1671
|
-
};
|
|
1672
|
-
|
|
1673
|
-
var isObject$3 = isObject$a;
|
|
1674
|
-
|
|
1675
|
-
var isPossiblePrototype$1 = function (argument) {
|
|
1676
|
-
return isObject$3(argument) || argument === null;
|
|
1677
|
-
};
|
|
1678
|
-
|
|
1679
|
-
var isPossiblePrototype = isPossiblePrototype$1;
|
|
1680
|
-
|
|
1681
|
-
var $String$1 = String;
|
|
1682
|
-
var $TypeError$2 = TypeError;
|
|
1683
|
-
|
|
1684
|
-
var aPossiblePrototype$1 = function (argument) {
|
|
1685
|
-
if (isPossiblePrototype(argument)) return argument;
|
|
1686
|
-
throw new $TypeError$2("Can't set " + $String$1(argument) + ' as a prototype');
|
|
1687
|
-
};
|
|
1688
|
-
|
|
1689
|
-
/* eslint-disable no-proto -- safe */
|
|
1690
|
-
var uncurryThisAccessor$1 = functionUncurryThisAccessor;
|
|
1691
|
-
var isObject$2 = isObject$a;
|
|
1692
|
-
var requireObjectCoercible = requireObjectCoercible$3;
|
|
1693
|
-
var aPossiblePrototype = aPossiblePrototype$1;
|
|
1694
|
-
|
|
1695
|
-
// `Object.setPrototypeOf` method
|
|
1696
|
-
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
|
1697
|
-
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
1698
|
-
// eslint-disable-next-line es/no-object-setprototypeof -- safe
|
|
1699
|
-
var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
1700
|
-
var CORRECT_SETTER = false;
|
|
1701
|
-
var test = {};
|
|
1702
|
-
var setter;
|
|
1703
|
-
try {
|
|
1704
|
-
setter = uncurryThisAccessor$1(Object.prototype, '__proto__', 'set');
|
|
1705
|
-
setter(test, []);
|
|
1706
|
-
CORRECT_SETTER = test instanceof Array;
|
|
1707
|
-
} catch (error) { /* empty */ }
|
|
1708
|
-
return function setPrototypeOf(O, proto) {
|
|
1709
|
-
requireObjectCoercible(O);
|
|
1710
|
-
aPossiblePrototype(proto);
|
|
1711
|
-
if (!isObject$2(O)) return O;
|
|
1712
|
-
if (CORRECT_SETTER) setter(O, proto);
|
|
1713
|
-
else O.__proto__ = proto;
|
|
1714
|
-
return O;
|
|
1715
|
-
};
|
|
1716
|
-
}() : undefined);
|
|
1717
|
-
|
|
1718
|
-
var $$d = _export;
|
|
1719
|
-
var call$5 = functionCall;
|
|
1720
|
-
var FunctionName = functionName;
|
|
1721
|
-
var isCallable$1 = isCallable$g;
|
|
1722
|
-
var createIteratorConstructor = iteratorCreateConstructor;
|
|
1723
|
-
var getPrototypeOf = objectGetPrototypeOf;
|
|
1724
|
-
var setPrototypeOf$2 = objectSetPrototypeOf;
|
|
1725
|
-
var setToStringTag$1 = setToStringTag$3;
|
|
1726
|
-
var createNonEnumerableProperty$5 = createNonEnumerableProperty$8;
|
|
1727
|
-
var defineBuiltIn$1 = defineBuiltIn$4;
|
|
1728
|
-
var wellKnownSymbol$2 = wellKnownSymbol$c;
|
|
1729
|
-
var Iterators$1 = iterators;
|
|
1730
|
-
var IteratorsCore = iteratorsCore;
|
|
1731
|
-
|
|
1732
|
-
var PROPER_FUNCTION_NAME = FunctionName.PROPER;
|
|
1733
|
-
var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
|
|
1734
|
-
var IteratorPrototype$1 = IteratorsCore.IteratorPrototype;
|
|
1735
|
-
var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
|
|
1736
|
-
var ITERATOR$1 = wellKnownSymbol$2('iterator');
|
|
1737
|
-
var KEYS = 'keys';
|
|
1738
|
-
var VALUES = 'values';
|
|
1739
|
-
var ENTRIES = 'entries';
|
|
1740
|
-
|
|
1741
|
-
var returnThis = function () { return this; };
|
|
1742
|
-
|
|
1743
|
-
var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
|
|
1744
|
-
createIteratorConstructor(IteratorConstructor, NAME, next);
|
|
1745
|
-
|
|
1746
|
-
var getIterationMethod = function (KIND) {
|
|
1747
|
-
if (KIND === DEFAULT && defaultIterator) return defaultIterator;
|
|
1748
|
-
if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype) return IterablePrototype[KIND];
|
|
1749
|
-
|
|
1750
|
-
switch (KIND) {
|
|
1751
|
-
case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
|
|
1752
|
-
case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
|
|
1753
|
-
case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
|
|
1754
|
-
}
|
|
1755
|
-
|
|
1756
|
-
return function () { return new IteratorConstructor(this); };
|
|
1757
|
-
};
|
|
1758
|
-
|
|
1759
|
-
var TO_STRING_TAG = NAME + ' Iterator';
|
|
1760
|
-
var INCORRECT_VALUES_NAME = false;
|
|
1761
|
-
var IterablePrototype = Iterable.prototype;
|
|
1762
|
-
var nativeIterator = IterablePrototype[ITERATOR$1]
|
|
1763
|
-
|| IterablePrototype['@@iterator']
|
|
1764
|
-
|| DEFAULT && IterablePrototype[DEFAULT];
|
|
1765
|
-
var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
|
|
1766
|
-
var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
|
|
1767
|
-
var CurrentIteratorPrototype, methods, KEY;
|
|
1768
|
-
|
|
1769
|
-
// fix native
|
|
1770
|
-
if (anyNativeIterator) {
|
|
1771
|
-
CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
|
|
1772
|
-
if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
|
|
1773
|
-
if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype$1) {
|
|
1774
|
-
if (setPrototypeOf$2) {
|
|
1775
|
-
setPrototypeOf$2(CurrentIteratorPrototype, IteratorPrototype$1);
|
|
1776
|
-
} else if (!isCallable$1(CurrentIteratorPrototype[ITERATOR$1])) {
|
|
1777
|
-
defineBuiltIn$1(CurrentIteratorPrototype, ITERATOR$1, returnThis);
|
|
1778
|
-
}
|
|
1779
|
-
}
|
|
1780
|
-
// Set @@toStringTag to native iterators
|
|
1781
|
-
setToStringTag$1(CurrentIteratorPrototype, TO_STRING_TAG, true);
|
|
1782
|
-
}
|
|
1783
|
-
}
|
|
1784
|
-
|
|
1785
|
-
// fix Array.prototype.{ values, @@iterator }.name in V8 / FF
|
|
1786
|
-
if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
|
|
1787
|
-
if (CONFIGURABLE_FUNCTION_NAME) {
|
|
1788
|
-
createNonEnumerableProperty$5(IterablePrototype, 'name', VALUES);
|
|
1789
|
-
} else {
|
|
1790
|
-
INCORRECT_VALUES_NAME = true;
|
|
1791
|
-
defaultIterator = function values() { return call$5(nativeIterator, this); };
|
|
1792
|
-
}
|
|
1793
|
-
}
|
|
1794
|
-
|
|
1795
|
-
// export additional methods
|
|
1796
|
-
if (DEFAULT) {
|
|
1797
|
-
methods = {
|
|
1798
|
-
values: getIterationMethod(VALUES),
|
|
1799
|
-
keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
|
|
1800
|
-
entries: getIterationMethod(ENTRIES)
|
|
1801
|
-
};
|
|
1802
|
-
if (FORCED) for (KEY in methods) {
|
|
1803
|
-
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
|
1804
|
-
defineBuiltIn$1(IterablePrototype, KEY, methods[KEY]);
|
|
1805
|
-
}
|
|
1806
|
-
} else $$d({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
|
|
1807
|
-
}
|
|
1808
|
-
|
|
1809
|
-
// define iterator
|
|
1810
|
-
if (IterablePrototype[ITERATOR$1] !== defaultIterator) {
|
|
1811
|
-
defineBuiltIn$1(IterablePrototype, ITERATOR$1, defaultIterator, { name: DEFAULT });
|
|
1812
|
-
}
|
|
1813
|
-
Iterators$1[NAME] = defaultIterator;
|
|
1814
|
-
|
|
1815
|
-
return methods;
|
|
1816
|
-
};
|
|
1817
|
-
|
|
1818
|
-
// `CreateIterResultObject` abstract operation
|
|
1819
|
-
// https://tc39.es/ecma262/#sec-createiterresultobject
|
|
1820
|
-
var createIterResultObject$2 = function (value, done) {
|
|
1821
|
-
return { value: value, done: done };
|
|
1822
|
-
};
|
|
1823
|
-
|
|
1824
|
-
var toIndexedObject = toIndexedObject$5;
|
|
1825
|
-
var addToUnscopables = addToUnscopables$1;
|
|
1826
|
-
var Iterators = iterators;
|
|
1827
|
-
var InternalStateModule$1 = internalState;
|
|
1828
|
-
var defineProperty$1 = objectDefineProperty.f;
|
|
1829
|
-
var defineIterator = iteratorDefine;
|
|
1830
|
-
var createIterResultObject$1 = createIterResultObject$2;
|
|
1831
|
-
var DESCRIPTORS$1 = descriptors;
|
|
1832
|
-
|
|
1833
|
-
var ARRAY_ITERATOR = 'Array Iterator';
|
|
1834
|
-
var setInternalState$1 = InternalStateModule$1.set;
|
|
1835
|
-
var getInternalState = InternalStateModule$1.getterFor(ARRAY_ITERATOR);
|
|
1836
|
-
|
|
1837
|
-
// `Array.prototype.entries` method
|
|
1838
|
-
// https://tc39.es/ecma262/#sec-array.prototype.entries
|
|
1839
|
-
// `Array.prototype.keys` method
|
|
1840
|
-
// https://tc39.es/ecma262/#sec-array.prototype.keys
|
|
1841
|
-
// `Array.prototype.values` method
|
|
1842
|
-
// https://tc39.es/ecma262/#sec-array.prototype.values
|
|
1843
|
-
// `Array.prototype[@@iterator]` method
|
|
1844
|
-
// https://tc39.es/ecma262/#sec-array.prototype-@@iterator
|
|
1845
|
-
// `CreateArrayIterator` internal method
|
|
1846
|
-
// https://tc39.es/ecma262/#sec-createarrayiterator
|
|
1847
|
-
var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind) {
|
|
1848
|
-
setInternalState$1(this, {
|
|
1849
|
-
type: ARRAY_ITERATOR,
|
|
1850
|
-
target: toIndexedObject(iterated), // target
|
|
1851
|
-
index: 0, // next index
|
|
1852
|
-
kind: kind // kind
|
|
1853
|
-
});
|
|
1854
|
-
// `%ArrayIteratorPrototype%.next` method
|
|
1855
|
-
// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next
|
|
1856
|
-
}, function () {
|
|
1857
|
-
var state = getInternalState(this);
|
|
1858
|
-
var target = state.target;
|
|
1859
|
-
var index = state.index++;
|
|
1860
|
-
if (!target || index >= target.length) {
|
|
1861
|
-
state.target = null;
|
|
1862
|
-
return createIterResultObject$1(undefined, true);
|
|
1863
|
-
}
|
|
1864
|
-
switch (state.kind) {
|
|
1865
|
-
case 'keys': return createIterResultObject$1(index, false);
|
|
1866
|
-
case 'values': return createIterResultObject$1(target[index], false);
|
|
1867
|
-
} return createIterResultObject$1([index, target[index]], false);
|
|
1868
|
-
}, 'values');
|
|
1869
|
-
|
|
1870
|
-
// argumentsList[@@iterator] is %ArrayProto_values%
|
|
1871
|
-
// https://tc39.es/ecma262/#sec-createunmappedargumentsobject
|
|
1872
|
-
// https://tc39.es/ecma262/#sec-createmappedargumentsobject
|
|
1873
|
-
var values = Iterators.Arguments = Iterators.Array;
|
|
1874
|
-
|
|
1875
|
-
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
1876
|
-
addToUnscopables('keys');
|
|
1877
|
-
addToUnscopables('values');
|
|
1878
|
-
addToUnscopables('entries');
|
|
1879
|
-
|
|
1880
|
-
// V8 ~ Chrome 45- bug
|
|
1881
|
-
if (DESCRIPTORS$1 && values.name !== 'values') try {
|
|
1882
|
-
defineProperty$1(values, 'name', { value: 'values' });
|
|
1883
|
-
} catch (error) { /* empty */ }
|
|
1884
|
-
|
|
1885
|
-
var globalThis$2 = globalThis_1;
|
|
1886
|
-
var DOMIterables = domIterables;
|
|
1887
|
-
var DOMTokenListPrototype = domTokenListPrototype;
|
|
1888
|
-
var ArrayIteratorMethods = es_array_iterator;
|
|
1889
|
-
var createNonEnumerableProperty$4 = createNonEnumerableProperty$8;
|
|
1890
|
-
var setToStringTag = setToStringTag$3;
|
|
1891
|
-
var wellKnownSymbol$1 = wellKnownSymbol$c;
|
|
1892
|
-
|
|
1893
|
-
var ITERATOR = wellKnownSymbol$1('iterator');
|
|
1894
|
-
var ArrayValues = ArrayIteratorMethods.values;
|
|
1895
|
-
|
|
1896
|
-
var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
1897
|
-
if (CollectionPrototype) {
|
|
1898
|
-
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
1899
|
-
if (CollectionPrototype[ITERATOR] !== ArrayValues) try {
|
|
1900
|
-
createNonEnumerableProperty$4(CollectionPrototype, ITERATOR, ArrayValues);
|
|
1901
|
-
} catch (error) {
|
|
1902
|
-
CollectionPrototype[ITERATOR] = ArrayValues;
|
|
1903
|
-
}
|
|
1904
|
-
setToStringTag(CollectionPrototype, COLLECTION_NAME, true);
|
|
1905
|
-
if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
|
|
1906
|
-
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
1907
|
-
if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
|
|
1908
|
-
createNonEnumerableProperty$4(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
|
|
1909
|
-
} catch (error) {
|
|
1910
|
-
CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
|
|
1911
|
-
}
|
|
1912
|
-
}
|
|
1913
|
-
}
|
|
1914
|
-
};
|
|
1915
|
-
|
|
1916
|
-
for (var COLLECTION_NAME in DOMIterables) {
|
|
1917
|
-
handlePrototype(globalThis$2[COLLECTION_NAME] && globalThis$2[COLLECTION_NAME].prototype, COLLECTION_NAME);
|
|
1918
|
-
}
|
|
1919
|
-
|
|
1920
|
-
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
1921
|
-
|
|
1922
1563
|
function flattenObject(obj, prefix = '', result = {}) {
|
|
1923
1564
|
Object.entries(obj).forEach(([key, value]) => {
|
|
1924
1565
|
const newKey = prefix ? `${prefix}-${key}` : key;
|
|
@@ -1939,7 +1580,7 @@ function moduleExists(modulePath) {
|
|
|
1939
1580
|
try {
|
|
1940
1581
|
require.resolve(modulePath);
|
|
1941
1582
|
return true;
|
|
1942
|
-
} catch
|
|
1583
|
+
} catch {
|
|
1943
1584
|
return false;
|
|
1944
1585
|
}
|
|
1945
1586
|
}
|
|
@@ -1952,7 +1593,7 @@ function flattenColorPalette(colors) {
|
|
|
1952
1593
|
default: twFlattenColorPalette
|
|
1953
1594
|
} = require('tailwindcss/lib/util/flattenColorPalette');
|
|
1954
1595
|
return twFlattenColorPalette(colors);
|
|
1955
|
-
} catch
|
|
1596
|
+
} catch {
|
|
1956
1597
|
return customFlattenColorPalette(colors);
|
|
1957
1598
|
}
|
|
1958
1599
|
}
|
|
@@ -2190,245 +1831,19 @@ const LogicalProperties = plugin(({
|
|
|
2190
1831
|
});
|
|
2191
1832
|
});
|
|
2192
1833
|
|
|
2193
|
-
var
|
|
2194
|
-
|
|
2195
|
-
var FunctionPrototype = Function.prototype;
|
|
2196
|
-
var apply$2 = FunctionPrototype.apply;
|
|
2197
|
-
var call$4 = FunctionPrototype.call;
|
|
2198
|
-
|
|
2199
|
-
// eslint-disable-next-line es/no-function-prototype-bind, es/no-reflect -- safe
|
|
2200
|
-
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call$4.bind(apply$2) : function () {
|
|
2201
|
-
return call$4.apply(apply$2, arguments);
|
|
2202
|
-
});
|
|
2203
|
-
|
|
2204
|
-
var defineProperty = objectDefineProperty.f;
|
|
2205
|
-
|
|
2206
|
-
var proxyAccessor$1 = function (Target, Source, key) {
|
|
2207
|
-
key in Target || defineProperty(Target, key, {
|
|
2208
|
-
configurable: true,
|
|
2209
|
-
get: function () { return Source[key]; },
|
|
2210
|
-
set: function (it) { Source[key] = it; }
|
|
2211
|
-
});
|
|
2212
|
-
};
|
|
2213
|
-
|
|
2214
|
-
var isCallable = isCallable$g;
|
|
2215
|
-
var isObject$1 = isObject$a;
|
|
2216
|
-
var setPrototypeOf$1 = objectSetPrototypeOf;
|
|
2217
|
-
|
|
2218
|
-
// makes subclassing work correct for wrapped built-ins
|
|
2219
|
-
var inheritIfRequired$1 = function ($this, dummy, Wrapper) {
|
|
2220
|
-
var NewTarget, NewTargetPrototype;
|
|
2221
|
-
if (
|
|
2222
|
-
// it can work only with native `setPrototypeOf`
|
|
2223
|
-
setPrototypeOf$1 &&
|
|
2224
|
-
// we haven't completely correct pre-ES6 way for getting `new.target`, so use this
|
|
2225
|
-
isCallable(NewTarget = dummy.constructor) &&
|
|
2226
|
-
NewTarget !== Wrapper &&
|
|
2227
|
-
isObject$1(NewTargetPrototype = NewTarget.prototype) &&
|
|
2228
|
-
NewTargetPrototype !== Wrapper.prototype
|
|
2229
|
-
) setPrototypeOf$1($this, NewTargetPrototype);
|
|
2230
|
-
return $this;
|
|
2231
|
-
};
|
|
2232
|
-
|
|
2233
|
-
var classof = classof$2;
|
|
2234
|
-
|
|
2235
|
-
var $String = String;
|
|
2236
|
-
|
|
2237
|
-
var toString$1 = function (argument) {
|
|
2238
|
-
if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
|
|
2239
|
-
return $String(argument);
|
|
2240
|
-
};
|
|
2241
|
-
|
|
2242
|
-
var toString = toString$1;
|
|
2243
|
-
|
|
2244
|
-
var normalizeStringArgument$1 = function (argument, $default) {
|
|
2245
|
-
return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);
|
|
2246
|
-
};
|
|
2247
|
-
|
|
2248
|
-
var isObject = isObject$a;
|
|
2249
|
-
var createNonEnumerableProperty$3 = createNonEnumerableProperty$8;
|
|
2250
|
-
|
|
2251
|
-
// `InstallErrorCause` abstract operation
|
|
2252
|
-
// https://tc39.es/ecma262/#sec-installerrorcause
|
|
2253
|
-
var installErrorCause$1 = function (O, options) {
|
|
2254
|
-
if (isObject(options) && 'cause' in options) {
|
|
2255
|
-
createNonEnumerableProperty$3(O, 'cause', options.cause);
|
|
2256
|
-
}
|
|
2257
|
-
};
|
|
2258
|
-
|
|
2259
|
-
var uncurryThis$3 = functionUncurryThis;
|
|
2260
|
-
|
|
2261
|
-
var $Error = Error;
|
|
2262
|
-
var replace = uncurryThis$3(''.replace);
|
|
2263
|
-
|
|
2264
|
-
var TEST = (function (arg) { return String(new $Error(arg).stack); })('zxcasd');
|
|
2265
|
-
// eslint-disable-next-line redos/no-vulnerable, sonarjs/slow-regex -- safe
|
|
2266
|
-
var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/;
|
|
2267
|
-
var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);
|
|
2268
|
-
|
|
2269
|
-
var errorStackClear = function (stack, dropEntries) {
|
|
2270
|
-
if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) {
|
|
2271
|
-
while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, '');
|
|
2272
|
-
} return stack;
|
|
2273
|
-
};
|
|
2274
|
-
|
|
2275
|
-
var fails$3 = fails$f;
|
|
2276
|
-
var createPropertyDescriptor = createPropertyDescriptor$5;
|
|
2277
|
-
|
|
2278
|
-
var errorStackInstallable = !fails$3(function () {
|
|
2279
|
-
var error = new Error('a');
|
|
2280
|
-
if (!('stack' in error)) return true;
|
|
2281
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
2282
|
-
Object.defineProperty(error, 'stack', createPropertyDescriptor(1, 7));
|
|
2283
|
-
return error.stack !== 7;
|
|
2284
|
-
});
|
|
2285
|
-
|
|
2286
|
-
var createNonEnumerableProperty$2 = createNonEnumerableProperty$8;
|
|
2287
|
-
var clearErrorStack = errorStackClear;
|
|
2288
|
-
var ERROR_STACK_INSTALLABLE = errorStackInstallable;
|
|
2289
|
-
|
|
2290
|
-
// non-standard V8
|
|
2291
|
-
// eslint-disable-next-line es/no-nonstandard-error-properties -- safe
|
|
2292
|
-
var captureStackTrace = Error.captureStackTrace;
|
|
2293
|
-
|
|
2294
|
-
var errorStackInstall = function (error, C, stack, dropEntries) {
|
|
2295
|
-
if (ERROR_STACK_INSTALLABLE) {
|
|
2296
|
-
if (captureStackTrace) captureStackTrace(error, C);
|
|
2297
|
-
else createNonEnumerableProperty$2(error, 'stack', clearErrorStack(stack, dropEntries));
|
|
2298
|
-
}
|
|
2299
|
-
};
|
|
2300
|
-
|
|
2301
|
-
var getBuiltIn$1 = getBuiltIn$5;
|
|
2302
|
-
var hasOwn = hasOwnProperty_1;
|
|
2303
|
-
var createNonEnumerableProperty$1 = createNonEnumerableProperty$8;
|
|
2304
|
-
var isPrototypeOf = objectIsPrototypeOf;
|
|
2305
|
-
var setPrototypeOf = objectSetPrototypeOf;
|
|
2306
|
-
var copyConstructorProperties = copyConstructorProperties$2;
|
|
2307
|
-
var proxyAccessor = proxyAccessor$1;
|
|
2308
|
-
var inheritIfRequired = inheritIfRequired$1;
|
|
2309
|
-
var normalizeStringArgument = normalizeStringArgument$1;
|
|
2310
|
-
var installErrorCause = installErrorCause$1;
|
|
2311
|
-
var installErrorStack = errorStackInstall;
|
|
2312
|
-
var DESCRIPTORS = descriptors;
|
|
2313
|
-
|
|
2314
|
-
var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) {
|
|
2315
|
-
var STACK_TRACE_LIMIT = 'stackTraceLimit';
|
|
2316
|
-
var OPTIONS_POSITION = IS_AGGREGATE_ERROR ? 2 : 1;
|
|
2317
|
-
var path = FULL_NAME.split('.');
|
|
2318
|
-
var ERROR_NAME = path[path.length - 1];
|
|
2319
|
-
var OriginalError = getBuiltIn$1.apply(null, path);
|
|
2320
|
-
|
|
2321
|
-
if (!OriginalError) return;
|
|
2322
|
-
|
|
2323
|
-
var OriginalErrorPrototype = OriginalError.prototype;
|
|
2324
|
-
|
|
2325
|
-
// V8 9.3- bug https://bugs.chromium.org/p/v8/issues/detail?id=12006
|
|
2326
|
-
if (hasOwn(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause;
|
|
2327
|
-
|
|
2328
|
-
if (!FORCED) return OriginalError;
|
|
2329
|
-
|
|
2330
|
-
var BaseError = getBuiltIn$1('Error');
|
|
2331
|
-
|
|
2332
|
-
var WrappedError = wrapper(function (a, b) {
|
|
2333
|
-
var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b : a, undefined);
|
|
2334
|
-
var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError();
|
|
2335
|
-
if (message !== undefined) createNonEnumerableProperty$1(result, 'message', message);
|
|
2336
|
-
installErrorStack(result, WrappedError, result.stack, 2);
|
|
2337
|
-
if (this && isPrototypeOf(OriginalErrorPrototype, this)) inheritIfRequired(result, this, WrappedError);
|
|
2338
|
-
if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]);
|
|
2339
|
-
return result;
|
|
2340
|
-
});
|
|
2341
|
-
|
|
2342
|
-
WrappedError.prototype = OriginalErrorPrototype;
|
|
2343
|
-
|
|
2344
|
-
if (ERROR_NAME !== 'Error') {
|
|
2345
|
-
if (setPrototypeOf) setPrototypeOf(WrappedError, BaseError);
|
|
2346
|
-
else copyConstructorProperties(WrappedError, BaseError, { name: true });
|
|
2347
|
-
} else if (DESCRIPTORS && STACK_TRACE_LIMIT in OriginalError) {
|
|
2348
|
-
proxyAccessor(WrappedError, OriginalError, STACK_TRACE_LIMIT);
|
|
2349
|
-
proxyAccessor(WrappedError, OriginalError, 'prepareStackTrace');
|
|
2350
|
-
}
|
|
2351
|
-
|
|
2352
|
-
copyConstructorProperties(WrappedError, OriginalError);
|
|
2353
|
-
|
|
2354
|
-
try {
|
|
2355
|
-
// Safari 13- bug: WebAssembly errors does not have a proper `.name`
|
|
2356
|
-
if (OriginalErrorPrototype.name !== ERROR_NAME) {
|
|
2357
|
-
createNonEnumerableProperty$1(OriginalErrorPrototype, 'name', ERROR_NAME);
|
|
2358
|
-
}
|
|
2359
|
-
OriginalErrorPrototype.constructor = WrappedError;
|
|
2360
|
-
} catch (error) { /* empty */ }
|
|
2361
|
-
|
|
2362
|
-
return WrappedError;
|
|
2363
|
-
};
|
|
2364
|
-
|
|
2365
|
-
/* eslint-disable no-unused-vars -- required for functions `.length` */
|
|
2366
|
-
var $$c = _export;
|
|
2367
|
-
var globalThis$1 = globalThis_1;
|
|
2368
|
-
var apply$1 = functionApply;
|
|
2369
|
-
var wrapErrorConstructorWithCause = wrapErrorConstructorWithCause$1;
|
|
2370
|
-
|
|
2371
|
-
var WEB_ASSEMBLY = 'WebAssembly';
|
|
2372
|
-
var WebAssembly = globalThis$1[WEB_ASSEMBLY];
|
|
2373
|
-
|
|
2374
|
-
// eslint-disable-next-line es/no-error-cause -- feature detection
|
|
2375
|
-
var FORCED$4 = new Error('e', { cause: 7 }).cause !== 7;
|
|
2376
|
-
|
|
2377
|
-
var exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) {
|
|
2378
|
-
var O = {};
|
|
2379
|
-
// eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
|
|
2380
|
-
O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED$4);
|
|
2381
|
-
$$c({ global: true, constructor: true, arity: 1, forced: FORCED$4 }, O);
|
|
2382
|
-
};
|
|
2383
|
-
|
|
2384
|
-
var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {
|
|
2385
|
-
if (WebAssembly && WebAssembly[ERROR_NAME]) {
|
|
2386
|
-
var O = {};
|
|
2387
|
-
// eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
|
|
2388
|
-
O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED$4);
|
|
2389
|
-
$$c({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED$4 }, O);
|
|
2390
|
-
}
|
|
2391
|
-
};
|
|
2392
|
-
|
|
2393
|
-
// https://tc39.es/ecma262/#sec-nativeerror
|
|
2394
|
-
exportGlobalErrorCauseWrapper('Error', function (init) {
|
|
2395
|
-
return function Error(message) { return apply$1(init, this, arguments); };
|
|
2396
|
-
});
|
|
2397
|
-
exportGlobalErrorCauseWrapper('EvalError', function (init) {
|
|
2398
|
-
return function EvalError(message) { return apply$1(init, this, arguments); };
|
|
2399
|
-
});
|
|
2400
|
-
exportGlobalErrorCauseWrapper('RangeError', function (init) {
|
|
2401
|
-
return function RangeError(message) { return apply$1(init, this, arguments); };
|
|
2402
|
-
});
|
|
2403
|
-
exportGlobalErrorCauseWrapper('ReferenceError', function (init) {
|
|
2404
|
-
return function ReferenceError(message) { return apply$1(init, this, arguments); };
|
|
2405
|
-
});
|
|
2406
|
-
exportGlobalErrorCauseWrapper('SyntaxError', function (init) {
|
|
2407
|
-
return function SyntaxError(message) { return apply$1(init, this, arguments); };
|
|
2408
|
-
});
|
|
2409
|
-
exportGlobalErrorCauseWrapper('TypeError', function (init) {
|
|
2410
|
-
return function TypeError(message) { return apply$1(init, this, arguments); };
|
|
2411
|
-
});
|
|
2412
|
-
exportGlobalErrorCauseWrapper('URIError', function (init) {
|
|
2413
|
-
return function URIError(message) { return apply$1(init, this, arguments); };
|
|
2414
|
-
});
|
|
2415
|
-
exportWebAssemblyErrorCauseWrapper('CompileError', function (init) {
|
|
2416
|
-
return function CompileError(message) { return apply$1(init, this, arguments); };
|
|
2417
|
-
});
|
|
2418
|
-
exportWebAssemblyErrorCauseWrapper('LinkError', function (init) {
|
|
2419
|
-
return function LinkError(message) { return apply$1(init, this, arguments); };
|
|
2420
|
-
});
|
|
2421
|
-
exportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) {
|
|
2422
|
-
return function RuntimeError(message) { return apply$1(init, this, arguments); };
|
|
2423
|
-
});
|
|
2424
|
-
|
|
2425
|
-
var defineBuiltIn = defineBuiltIn$4;
|
|
1834
|
+
var defineBuiltIn = defineBuiltIn$3;
|
|
2426
1835
|
|
|
2427
1836
|
var defineBuiltIns$1 = function (target, src, options) {
|
|
2428
1837
|
for (var key in src) defineBuiltIn(target, key, src[key], options);
|
|
2429
1838
|
return target;
|
|
2430
1839
|
};
|
|
2431
1840
|
|
|
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
|
+
|
|
2432
1847
|
var iteratorClose$6 = iteratorClose$9;
|
|
2433
1848
|
|
|
2434
1849
|
var iteratorCloseAll$1 = function (iters, kind, value) {
|
|
@@ -2445,15 +1860,15 @@ var iteratorCloseAll$1 = function (iters, kind, value) {
|
|
|
2445
1860
|
return value;
|
|
2446
1861
|
};
|
|
2447
1862
|
|
|
2448
|
-
var call$
|
|
1863
|
+
var call$4 = functionCall;
|
|
2449
1864
|
var create = objectCreate;
|
|
2450
|
-
var createNonEnumerableProperty = createNonEnumerableProperty$
|
|
1865
|
+
var createNonEnumerableProperty = createNonEnumerableProperty$3;
|
|
2451
1866
|
var defineBuiltIns = defineBuiltIns$1;
|
|
2452
|
-
var wellKnownSymbol = wellKnownSymbol$
|
|
1867
|
+
var wellKnownSymbol = wellKnownSymbol$8;
|
|
2453
1868
|
var InternalStateModule = internalState;
|
|
2454
1869
|
var getMethod = getMethod$4;
|
|
2455
1870
|
var IteratorPrototype = iteratorsCore.IteratorPrototype;
|
|
2456
|
-
var createIterResultObject = createIterResultObject$
|
|
1871
|
+
var createIterResultObject = createIterResultObject$1;
|
|
2457
1872
|
var iteratorClose$5 = iteratorClose$9;
|
|
2458
1873
|
var iteratorCloseAll = iteratorCloseAll$1;
|
|
2459
1874
|
|
|
@@ -2489,7 +1904,7 @@ var createIteratorProxyPrototype = function (IS_ITERATOR) {
|
|
|
2489
1904
|
state.done = true;
|
|
2490
1905
|
if (IS_ITERATOR) {
|
|
2491
1906
|
var returnMethod = getMethod(iterator, 'return');
|
|
2492
|
-
return returnMethod ? call$
|
|
1907
|
+
return returnMethod ? call$4(returnMethod, iterator) : createIterResultObject(undefined, true);
|
|
2493
1908
|
}
|
|
2494
1909
|
if (state.inner) try {
|
|
2495
1910
|
iteratorClose$5(state.inner.iterator, NORMAL);
|
|
@@ -2555,9 +1970,9 @@ var iteratorHelperThrowsOnInvalidIterator$1 = function (methodName, argument) {
|
|
|
2555
1970
|
}
|
|
2556
1971
|
};
|
|
2557
1972
|
|
|
2558
|
-
var $$
|
|
2559
|
-
var call$
|
|
2560
|
-
var aCallable$
|
|
1973
|
+
var $$a = _export;
|
|
1974
|
+
var call$3 = functionCall;
|
|
1975
|
+
var aCallable$4 = aCallable$9;
|
|
2561
1976
|
var anObject$2 = anObject$d;
|
|
2562
1977
|
var getIteratorDirect$2 = getIteratorDirect$4;
|
|
2563
1978
|
var createIteratorProxy = iteratorCreateProxy;
|
|
@@ -2574,23 +1989,23 @@ var FORCED$3 = MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR || mapWithoutClosingOnEa
|
|
|
2574
1989
|
|
|
2575
1990
|
var IteratorProxy = createIteratorProxy(function () {
|
|
2576
1991
|
var iterator = this.iterator;
|
|
2577
|
-
var result = anObject$2(call$
|
|
1992
|
+
var result = anObject$2(call$3(this.next, iterator));
|
|
2578
1993
|
var done = this.done = !!result.done;
|
|
2579
1994
|
if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true);
|
|
2580
1995
|
});
|
|
2581
1996
|
|
|
2582
1997
|
// `Iterator.prototype.map` method
|
|
2583
1998
|
// https://tc39.es/ecma262/#sec-iterator.prototype.map
|
|
2584
|
-
$$
|
|
1999
|
+
$$a({ target: 'Iterator', proto: true, real: true, forced: FORCED$3 }, {
|
|
2585
2000
|
map: function map(mapper) {
|
|
2586
2001
|
anObject$2(this);
|
|
2587
2002
|
try {
|
|
2588
|
-
aCallable$
|
|
2003
|
+
aCallable$4(mapper);
|
|
2589
2004
|
} catch (error) {
|
|
2590
2005
|
iteratorClose$3(this, 'throw', error);
|
|
2591
2006
|
}
|
|
2592
2007
|
|
|
2593
|
-
if (mapWithoutClosingOnEarlyError) return call$
|
|
2008
|
+
if (mapWithoutClosingOnEarlyError) return call$3(mapWithoutClosingOnEarlyError, this, mapper);
|
|
2594
2009
|
|
|
2595
2010
|
return new IteratorProxy(getIteratorDirect$2(this), {
|
|
2596
2011
|
mapper: mapper
|
|
@@ -2598,15 +2013,26 @@ $$b({ target: 'Iterator', proto: true, real: true, forced: FORCED$3 }, {
|
|
|
2598
2013
|
}
|
|
2599
2014
|
});
|
|
2600
2015
|
|
|
2601
|
-
var
|
|
2602
|
-
|
|
2603
|
-
var
|
|
2016
|
+
var NATIVE_BIND = functionBindNative;
|
|
2017
|
+
|
|
2018
|
+
var FunctionPrototype = Function.prototype;
|
|
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;
|
|
2604
2030
|
var anObject$1 = anObject$d;
|
|
2605
2031
|
var getIteratorDirect$1 = getIteratorDirect$4;
|
|
2606
2032
|
var iteratorClose$2 = iteratorClose$9;
|
|
2607
2033
|
var iteratorHelperWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError$3;
|
|
2608
2034
|
var apply = functionApply;
|
|
2609
|
-
var fails$2 = fails$
|
|
2035
|
+
var fails$2 = fails$e;
|
|
2610
2036
|
|
|
2611
2037
|
var $TypeError$1 = TypeError;
|
|
2612
2038
|
|
|
@@ -2620,11 +2046,11 @@ var reduceWithoutClosingOnEarlyError = !FAILS_ON_INITIAL_UNDEFINED && iteratorHe
|
|
|
2620
2046
|
|
|
2621
2047
|
// `Iterator.prototype.reduce` method
|
|
2622
2048
|
// https://tc39.es/ecma262/#sec-iterator.prototype.reduce
|
|
2623
|
-
$$
|
|
2049
|
+
$$9({ target: 'Iterator', proto: true, real: true, forced: FAILS_ON_INITIAL_UNDEFINED || reduceWithoutClosingOnEarlyError }, {
|
|
2624
2050
|
reduce: function reduce(reducer /* , initialValue */) {
|
|
2625
2051
|
anObject$1(this);
|
|
2626
2052
|
try {
|
|
2627
|
-
aCallable$
|
|
2053
|
+
aCallable$3(reducer);
|
|
2628
2054
|
} catch (error) {
|
|
2629
2055
|
iteratorClose$2(this, 'throw', error);
|
|
2630
2056
|
}
|
|
@@ -2636,7 +2062,7 @@ $$a({ target: 'Iterator', proto: true, real: true, forced: FAILS_ON_INITIAL_UNDE
|
|
|
2636
2062
|
}
|
|
2637
2063
|
var record = getIteratorDirect$1(this);
|
|
2638
2064
|
var counter = 0;
|
|
2639
|
-
iterate$
|
|
2065
|
+
iterate$2(record, function (value) {
|
|
2640
2066
|
if (noInitial) {
|
|
2641
2067
|
noInitial = false;
|
|
2642
2068
|
accumulator = value;
|
|
@@ -2650,23 +2076,7 @@ $$a({ target: 'Iterator', proto: true, real: true, forced: FAILS_ON_INITIAL_UNDE
|
|
|
2650
2076
|
}
|
|
2651
2077
|
});
|
|
2652
2078
|
|
|
2653
|
-
var
|
|
2654
|
-
var iterate$2 = iterate$5;
|
|
2655
|
-
var createProperty = createProperty$2;
|
|
2656
|
-
|
|
2657
|
-
// `Object.fromEntries` method
|
|
2658
|
-
// https://tc39.es/ecma262/#sec-object.fromentries
|
|
2659
|
-
$$9({ target: 'Object', stat: true }, {
|
|
2660
|
-
fromEntries: function fromEntries(iterable) {
|
|
2661
|
-
var obj = {};
|
|
2662
|
-
iterate$2(iterable, function (k, v) {
|
|
2663
|
-
createProperty(obj, k, v);
|
|
2664
|
-
}, { AS_ENTRIES: true });
|
|
2665
|
-
return obj;
|
|
2666
|
-
}
|
|
2667
|
-
});
|
|
2668
|
-
|
|
2669
|
-
var uncurryThis$2 = functionUncurryThis;
|
|
2079
|
+
var uncurryThis$3 = functionUncurryThis;
|
|
2670
2080
|
|
|
2671
2081
|
// eslint-disable-next-line es/no-set -- safe
|
|
2672
2082
|
var SetPrototype$1 = Set.prototype;
|
|
@@ -2674,9 +2084,9 @@ var SetPrototype$1 = Set.prototype;
|
|
|
2674
2084
|
var setHelpers = {
|
|
2675
2085
|
// eslint-disable-next-line es/no-set -- safe
|
|
2676
2086
|
Set: Set,
|
|
2677
|
-
add: uncurryThis$
|
|
2678
|
-
has: uncurryThis$
|
|
2679
|
-
remove: uncurryThis$
|
|
2087
|
+
add: uncurryThis$3(SetPrototype$1.add),
|
|
2088
|
+
has: uncurryThis$3(SetPrototype$1.has),
|
|
2089
|
+
remove: uncurryThis$3(SetPrototype$1['delete']),
|
|
2680
2090
|
proto: SetPrototype$1
|
|
2681
2091
|
};
|
|
2682
2092
|
|
|
@@ -2700,14 +2110,14 @@ var iterateSimple$7 = function (record, fn, ITERATOR_INSTEAD_OF_RECORD) {
|
|
|
2700
2110
|
}
|
|
2701
2111
|
};
|
|
2702
2112
|
|
|
2703
|
-
var uncurryThis$
|
|
2113
|
+
var uncurryThis$2 = functionUncurryThis;
|
|
2704
2114
|
var iterateSimple$6 = iterateSimple$7;
|
|
2705
2115
|
var SetHelpers$5 = setHelpers;
|
|
2706
2116
|
|
|
2707
2117
|
var Set$3 = SetHelpers$5.Set;
|
|
2708
2118
|
var SetPrototype = SetHelpers$5.proto;
|
|
2709
|
-
var forEach = uncurryThis$
|
|
2710
|
-
var keys = uncurryThis$
|
|
2119
|
+
var forEach = uncurryThis$2(SetPrototype.forEach);
|
|
2120
|
+
var keys = uncurryThis$2(SetPrototype.keys);
|
|
2711
2121
|
var next = keys(new Set$3()).next;
|
|
2712
2122
|
|
|
2713
2123
|
var setIterate = function (set, fn, interruptible) {
|
|
@@ -2728,6 +2138,16 @@ var setClone = function (set) {
|
|
|
2728
2138
|
return result;
|
|
2729
2139
|
};
|
|
2730
2140
|
|
|
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
|
+
|
|
2731
2151
|
var uncurryThisAccessor = functionUncurryThisAccessor;
|
|
2732
2152
|
var SetHelpers$3 = setHelpers;
|
|
2733
2153
|
|
|
@@ -2801,7 +2221,7 @@ var setDifference = function difference(other) {
|
|
|
2801
2221
|
return result;
|
|
2802
2222
|
};
|
|
2803
2223
|
|
|
2804
|
-
var getBuiltIn = getBuiltIn$
|
|
2224
|
+
var getBuiltIn = getBuiltIn$4;
|
|
2805
2225
|
|
|
2806
2226
|
var createSetLike = function (size) {
|
|
2807
2227
|
return {
|
|
@@ -2861,7 +2281,7 @@ var setMethodAcceptSetLike$7 = function (name, callback) {
|
|
|
2861
2281
|
|
|
2862
2282
|
var $$8 = _export;
|
|
2863
2283
|
var difference = setDifference;
|
|
2864
|
-
var fails$1 = fails$
|
|
2284
|
+
var fails$1 = fails$e;
|
|
2865
2285
|
var setMethodAcceptSetLike$6 = setMethodAcceptSetLike$7;
|
|
2866
2286
|
|
|
2867
2287
|
var SET_LIKE_INCORRECT_BEHAVIOR = !setMethodAcceptSetLike$6('difference', function (result) {
|
|
@@ -2928,7 +2348,7 @@ var setIntersection = function intersection(other) {
|
|
|
2928
2348
|
};
|
|
2929
2349
|
|
|
2930
2350
|
var $$7 = _export;
|
|
2931
|
-
var fails = fails$
|
|
2351
|
+
var fails = fails$e;
|
|
2932
2352
|
var intersection = setIntersection;
|
|
2933
2353
|
var setMethodAcceptSetLike$5 = setMethodAcceptSetLike$7;
|
|
2934
2354
|
|
|
@@ -3221,11 +2641,17 @@ const resolveInheritance = themes => {
|
|
|
3221
2641
|
if (resolved.has(name)) return resolved.get(name);
|
|
3222
2642
|
const theme = themeMap.get(name);
|
|
3223
2643
|
if (!theme) throw new Error(`Theme "${name}" not found`);
|
|
3224
|
-
const merged = theme.extends ?
|
|
2644
|
+
const merged = theme.extends ? {
|
|
2645
|
+
...resolve(theme.extends),
|
|
2646
|
+
...theme.theme
|
|
2647
|
+
} : {
|
|
2648
|
+
...theme.theme
|
|
2649
|
+
};
|
|
3225
2650
|
resolved.set(name, merged);
|
|
3226
2651
|
return merged;
|
|
3227
2652
|
};
|
|
3228
|
-
return themes.map(t =>
|
|
2653
|
+
return themes.map(t => ({
|
|
2654
|
+
...t,
|
|
3229
2655
|
theme: resolve(t.name)
|
|
3230
2656
|
}));
|
|
3231
2657
|
};
|
|
@@ -3237,7 +2663,7 @@ function createThemeSwapper({
|
|
|
3237
2663
|
return ({
|
|
3238
2664
|
addBase
|
|
3239
2665
|
}) => {
|
|
3240
|
-
if (!
|
|
2666
|
+
if (!themes?.length) throw new Error('At least one theme required');
|
|
3241
2667
|
const names = new Set();
|
|
3242
2668
|
themes.forEach(({
|
|
3243
2669
|
name,
|
|
@@ -3245,7 +2671,7 @@ function createThemeSwapper({
|
|
|
3245
2671
|
}, i) => {
|
|
3246
2672
|
if (!name) throw new Error(`Theme at index ${i} missing name`);
|
|
3247
2673
|
if (names.has(name)) throw new Error(`Duplicate theme: "${name}"`);
|
|
3248
|
-
if (!
|
|
2674
|
+
if (!selectors?.length) throw new Error(`Theme "${name}" needs selectors`);
|
|
3249
2675
|
names.add(name);
|
|
3250
2676
|
});
|
|
3251
2677
|
if (debug) {
|
|
@@ -4276,16 +3702,22 @@ const TYPOGRAPHY_DEFAULT = {
|
|
|
4276
3702
|
const inherit = 'inherit';
|
|
4277
3703
|
var index = {
|
|
4278
3704
|
theme: {
|
|
4279
|
-
colors:
|
|
3705
|
+
colors: {
|
|
4280
3706
|
inherit,
|
|
4281
3707
|
current: 'currentColor',
|
|
4282
|
-
transparent: 'transparent'
|
|
4283
|
-
|
|
3708
|
+
transparent: 'transparent',
|
|
3709
|
+
...PRIMITIVE_COLORS,
|
|
4284
3710
|
focus: DECLARATIVE_COLORS.focus,
|
|
4285
|
-
data:
|
|
4286
|
-
|
|
4287
|
-
|
|
4288
|
-
|
|
3711
|
+
data: {
|
|
3712
|
+
...DECLARATIVE_COLORS.data
|
|
3713
|
+
},
|
|
3714
|
+
icon: {
|
|
3715
|
+
...DECLARATIVE_COLORS.icon
|
|
3716
|
+
},
|
|
3717
|
+
ui: {
|
|
3718
|
+
...DECLARATIVE_COLORS.ui
|
|
3719
|
+
}
|
|
3720
|
+
},
|
|
4289
3721
|
borderRadius: {
|
|
4290
3722
|
none: 'var(--bq-radius--none)',
|
|
4291
3723
|
xs2: 'var(--bq-radius--xs2)',
|
|
@@ -4347,11 +3779,21 @@ var index = {
|
|
|
4347
3779
|
l: 'var(--bq-stroke-l)'
|
|
4348
3780
|
},
|
|
4349
3781
|
extend: {
|
|
4350
|
-
backgroundColor:
|
|
4351
|
-
|
|
4352
|
-
|
|
4353
|
-
|
|
4354
|
-
|
|
3782
|
+
backgroundColor: {
|
|
3783
|
+
...DECLARATIVE_COLORS.bg
|
|
3784
|
+
},
|
|
3785
|
+
borderColor: {
|
|
3786
|
+
...DECLARATIVE_COLORS.stroke
|
|
3787
|
+
},
|
|
3788
|
+
stroke: {
|
|
3789
|
+
...DECLARATIVE_COLORS.stroke
|
|
3790
|
+
},
|
|
3791
|
+
textColor: {
|
|
3792
|
+
...DECLARATIVE_COLORS.text
|
|
3793
|
+
},
|
|
3794
|
+
fill: {
|
|
3795
|
+
...DECLARATIVE_COLORS.icon
|
|
3796
|
+
},
|
|
4355
3797
|
content: {
|
|
4356
3798
|
empty: "''"
|
|
4357
3799
|
},
|
|
@@ -4382,9 +3824,12 @@ var index = {
|
|
|
4382
3824
|
addComponents,
|
|
4383
3825
|
theme
|
|
4384
3826
|
}) => {
|
|
4385
|
-
addBase(
|
|
4386
|
-
':root, ::backdrop':
|
|
4387
|
-
|
|
3827
|
+
addBase({
|
|
3828
|
+
':root, ::backdrop': {
|
|
3829
|
+
...CSS_COLORS
|
|
3830
|
+
},
|
|
3831
|
+
...reset
|
|
3832
|
+
});
|
|
4388
3833
|
addComponents({
|
|
4389
3834
|
'.focus': {
|
|
4390
3835
|
outline: `var(--bq-ring-width, 2px) solid var(--bq-ring-color-focus, ${String(theme('colors.focus'))})`,
|
|
@@ -4395,30 +3840,42 @@ var index = {
|
|
|
4395
3840
|
themes: [{
|
|
4396
3841
|
name: 'base',
|
|
4397
3842
|
selectors: [':root'],
|
|
4398
|
-
theme:
|
|
3843
|
+
theme: {
|
|
3844
|
+
...DefaultRootTheme
|
|
3845
|
+
}
|
|
4399
3846
|
}, {
|
|
4400
3847
|
name: 'light',
|
|
4401
3848
|
selectors: [':root:not([bq-theme]):not([bq-mode])', ':root[bq-theme="beeq"]:not([bq-mode])', '.beeq:not([bq-mode])', '[bq-mode="light"]', '.light'],
|
|
4402
|
-
theme:
|
|
3849
|
+
theme: {
|
|
3850
|
+
...DefaultLightTheme
|
|
3851
|
+
},
|
|
4403
3852
|
mode: true
|
|
4404
3853
|
}, {
|
|
4405
3854
|
name: 'dark',
|
|
4406
3855
|
selectors: ['[bq-mode="dark"]', '.dark'],
|
|
4407
|
-
theme:
|
|
3856
|
+
theme: {
|
|
3857
|
+
...DefaultDarkTheme
|
|
3858
|
+
},
|
|
4408
3859
|
mode: true
|
|
4409
3860
|
}, {
|
|
4410
3861
|
name: 'endava',
|
|
4411
3862
|
selectors: ['[bq-theme="endava"]', '.endava'],
|
|
4412
|
-
theme:
|
|
3863
|
+
theme: {
|
|
3864
|
+
...EndavaRootTheme
|
|
3865
|
+
}
|
|
4413
3866
|
}, {
|
|
4414
3867
|
name: 'endava-light',
|
|
4415
3868
|
selectors: ['[bq-theme="endava"]:not([bq-mode])', '.endava:not([bq-mode])', '[bq-theme="endava"][bq-mode="light"]', '.endava.light'],
|
|
4416
|
-
theme:
|
|
3869
|
+
theme: {
|
|
3870
|
+
...EndavaLightTheme
|
|
3871
|
+
},
|
|
4417
3872
|
mode: true
|
|
4418
3873
|
}, {
|
|
4419
3874
|
name: 'endava-dark',
|
|
4420
3875
|
selectors: ['[bq-theme="endava"][bq-mode="dark"]', '.endava.dark'],
|
|
4421
|
-
theme:
|
|
3876
|
+
theme: {
|
|
3877
|
+
...EndavaDarkTheme
|
|
3878
|
+
},
|
|
4422
3879
|
mode: true
|
|
4423
3880
|
}]
|
|
4424
3881
|
})]
|