@sinco/react 1.0.2-rc.4 → 1.0.2-rc.5
Sign up to get free protection for your applications and to get access to all the features.
package/index.js
CHANGED
@@ -1,5 +1,3 @@
|
|
1
|
-
import 'react';
|
2
|
-
|
3
1
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
4
2
|
|
5
3
|
var check = function (it) {
|
@@ -7,7 +5,7 @@ var check = function (it) {
|
|
7
5
|
};
|
8
6
|
|
9
7
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
10
|
-
var global$
|
8
|
+
var global$b =
|
11
9
|
// eslint-disable-next-line es/no-global-this -- safe
|
12
10
|
check(typeof globalThis == 'object' && globalThis) ||
|
13
11
|
check(typeof window == 'object' && window) ||
|
@@ -19,7 +17,7 @@ var global$c =
|
|
19
17
|
|
20
18
|
var objectGetOwnPropertyDescriptor = {};
|
21
19
|
|
22
|
-
var fails$
|
20
|
+
var fails$9 = function (exec) {
|
23
21
|
try {
|
24
22
|
return !!exec();
|
25
23
|
} catch (error) {
|
@@ -27,17 +25,17 @@ var fails$b = function (exec) {
|
|
27
25
|
}
|
28
26
|
};
|
29
27
|
|
30
|
-
var fails$
|
28
|
+
var fails$8 = fails$9;
|
31
29
|
|
32
30
|
// Detect IE8's incomplete defineProperty implementation
|
33
|
-
var descriptors = !fails$
|
31
|
+
var descriptors = !fails$8(function () {
|
34
32
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
35
33
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
36
34
|
});
|
37
35
|
|
38
|
-
var fails$
|
36
|
+
var fails$7 = fails$9;
|
39
37
|
|
40
|
-
var functionBindNative = !fails$
|
38
|
+
var functionBindNative = !fails$7(function () {
|
41
39
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
42
40
|
var test = (function () { /* empty */ }).bind();
|
43
41
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
@@ -46,10 +44,10 @@ var functionBindNative = !fails$9(function () {
|
|
46
44
|
|
47
45
|
var NATIVE_BIND$1 = functionBindNative;
|
48
46
|
|
49
|
-
var call$
|
47
|
+
var call$5 = Function.prototype.call;
|
50
48
|
|
51
|
-
var functionCall = NATIVE_BIND$1 ? call$
|
52
|
-
return call$
|
49
|
+
var functionCall = NATIVE_BIND$1 ? call$5.bind(call$5) : function () {
|
50
|
+
return call$5.apply(call$5, arguments);
|
53
51
|
};
|
54
52
|
|
55
53
|
var objectPropertyIsEnumerable = {};
|
@@ -68,7 +66,7 @@ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
68
66
|
return !!descriptor && descriptor.enumerable;
|
69
67
|
} : $propertyIsEnumerable;
|
70
68
|
|
71
|
-
var createPropertyDescriptor$
|
69
|
+
var createPropertyDescriptor$2 = function (bitmap, value) {
|
72
70
|
return {
|
73
71
|
enumerable: !(bitmap & 1),
|
74
72
|
configurable: !(bitmap & 2),
|
@@ -80,39 +78,39 @@ var createPropertyDescriptor$3 = function (bitmap, value) {
|
|
80
78
|
var NATIVE_BIND = functionBindNative;
|
81
79
|
|
82
80
|
var FunctionPrototype$1 = Function.prototype;
|
83
|
-
var call$
|
84
|
-
var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$
|
81
|
+
var call$4 = FunctionPrototype$1.call;
|
82
|
+
var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$4, call$4);
|
85
83
|
|
86
84
|
var functionUncurryThis = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
|
87
85
|
return function () {
|
88
|
-
return call$
|
86
|
+
return call$4.apply(fn, arguments);
|
89
87
|
};
|
90
88
|
};
|
91
89
|
|
92
|
-
var uncurryThis$
|
90
|
+
var uncurryThis$9 = functionUncurryThis;
|
93
91
|
|
94
|
-
var toString$1 = uncurryThis$
|
95
|
-
var stringSlice$1 = uncurryThis$
|
92
|
+
var toString$1 = uncurryThis$9({}.toString);
|
93
|
+
var stringSlice$1 = uncurryThis$9(''.slice);
|
96
94
|
|
97
95
|
var classofRaw = function (it) {
|
98
96
|
return stringSlice$1(toString$1(it), 8, -1);
|
99
97
|
};
|
100
98
|
|
101
|
-
var uncurryThis$
|
102
|
-
var fails$
|
99
|
+
var uncurryThis$8 = functionUncurryThis;
|
100
|
+
var fails$6 = fails$9;
|
103
101
|
var classof = classofRaw;
|
104
102
|
|
105
|
-
var $Object$
|
106
|
-
var split = uncurryThis$
|
103
|
+
var $Object$2 = Object;
|
104
|
+
var split = uncurryThis$8(''.split);
|
107
105
|
|
108
106
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
109
|
-
var indexedObject = fails$
|
107
|
+
var indexedObject = fails$6(function () {
|
110
108
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
111
109
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
112
|
-
return !$Object$
|
110
|
+
return !$Object$2('z').propertyIsEnumerable(0);
|
113
111
|
}) ? function (it) {
|
114
|
-
return classof(it) == 'String' ? split(it, '') : $Object$
|
115
|
-
} : $Object$
|
112
|
+
return classof(it) == 'String' ? split(it, '') : $Object$2(it);
|
113
|
+
} : $Object$2;
|
116
114
|
|
117
115
|
// we can't use just `it == null` since of `document.all` special case
|
118
116
|
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
@@ -122,12 +120,12 @@ var isNullOrUndefined$2 = function (it) {
|
|
122
120
|
|
123
121
|
var isNullOrUndefined$1 = isNullOrUndefined$2;
|
124
122
|
|
125
|
-
var $TypeError$
|
123
|
+
var $TypeError$5 = TypeError;
|
126
124
|
|
127
125
|
// `RequireObjectCoercible` abstract operation
|
128
126
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
129
127
|
var requireObjectCoercible$2 = function (it) {
|
130
|
-
if (isNullOrUndefined$1(it)) throw $TypeError$
|
128
|
+
if (isNullOrUndefined$1(it)) throw $TypeError$5("Can't call method on " + it);
|
131
129
|
return it;
|
132
130
|
};
|
133
131
|
|
@@ -135,7 +133,7 @@ var requireObjectCoercible$2 = function (it) {
|
|
135
133
|
var IndexedObject$1 = indexedObject;
|
136
134
|
var requireObjectCoercible$1 = requireObjectCoercible$2;
|
137
135
|
|
138
|
-
var toIndexedObject$
|
136
|
+
var toIndexedObject$3 = function (it) {
|
139
137
|
return IndexedObject$1(requireObjectCoercible$1(it));
|
140
138
|
};
|
141
139
|
|
@@ -156,45 +154,45 @@ var documentAll$1 = $documentAll$1.all;
|
|
156
154
|
|
157
155
|
// `IsCallable` abstract operation
|
158
156
|
// https://tc39.es/ecma262/#sec-iscallable
|
159
|
-
var isCallable$
|
157
|
+
var isCallable$a = $documentAll$1.IS_HTMLDDA ? function (argument) {
|
160
158
|
return typeof argument == 'function' || argument === documentAll$1;
|
161
159
|
} : function (argument) {
|
162
160
|
return typeof argument == 'function';
|
163
161
|
};
|
164
162
|
|
165
|
-
var isCallable$
|
163
|
+
var isCallable$9 = isCallable$a;
|
166
164
|
var $documentAll = documentAll_1;
|
167
165
|
|
168
166
|
var documentAll = $documentAll.all;
|
169
167
|
|
170
|
-
var isObject$
|
171
|
-
return typeof it == 'object' ? it !== null : isCallable$
|
168
|
+
var isObject$5 = $documentAll.IS_HTMLDDA ? function (it) {
|
169
|
+
return typeof it == 'object' ? it !== null : isCallable$9(it) || it === documentAll;
|
172
170
|
} : function (it) {
|
173
|
-
return typeof it == 'object' ? it !== null : isCallable$
|
171
|
+
return typeof it == 'object' ? it !== null : isCallable$9(it);
|
174
172
|
};
|
175
173
|
|
176
|
-
var global$
|
177
|
-
var isCallable$
|
174
|
+
var global$a = global$b;
|
175
|
+
var isCallable$8 = isCallable$a;
|
178
176
|
|
179
177
|
var aFunction = function (argument) {
|
180
|
-
return isCallable$
|
178
|
+
return isCallable$8(argument) ? argument : undefined;
|
181
179
|
};
|
182
180
|
|
183
|
-
var getBuiltIn$
|
184
|
-
return arguments.length < 2 ? aFunction(global$
|
181
|
+
var getBuiltIn$2 = function (namespace, method) {
|
182
|
+
return arguments.length < 2 ? aFunction(global$a[namespace]) : global$a[namespace] && global$a[namespace][method];
|
185
183
|
};
|
186
184
|
|
187
|
-
var uncurryThis$
|
185
|
+
var uncurryThis$7 = functionUncurryThis;
|
188
186
|
|
189
|
-
var objectIsPrototypeOf = uncurryThis$
|
187
|
+
var objectIsPrototypeOf = uncurryThis$7({}.isPrototypeOf);
|
190
188
|
|
191
189
|
var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
192
190
|
|
193
|
-
var global$
|
191
|
+
var global$9 = global$b;
|
194
192
|
var userAgent = engineUserAgent;
|
195
193
|
|
196
|
-
var process$1 = global$
|
197
|
-
var Deno = global$
|
194
|
+
var process$1 = global$9.process;
|
195
|
+
var Deno = global$9.Deno;
|
198
196
|
var versions = process$1 && process$1.versions || Deno && Deno.version;
|
199
197
|
var v8 = versions && versions.v8;
|
200
198
|
var match, version;
|
@@ -221,19 +219,19 @@ var engineV8Version = version;
|
|
221
219
|
/* eslint-disable es/no-symbol -- required for testing */
|
222
220
|
|
223
221
|
var V8_VERSION = engineV8Version;
|
224
|
-
var fails$
|
225
|
-
var global$
|
222
|
+
var fails$5 = fails$9;
|
223
|
+
var global$8 = global$b;
|
226
224
|
|
227
|
-
var $String$
|
225
|
+
var $String$3 = global$8.String;
|
228
226
|
|
229
227
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
230
|
-
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$
|
228
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$5(function () {
|
231
229
|
var symbol = Symbol();
|
232
230
|
// Chrome 38 Symbol has incorrect toString conversion
|
233
231
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
234
232
|
// nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
|
235
233
|
// of course, fail.
|
236
|
-
return !$String$
|
234
|
+
return !$String$3(symbol) || !(Object(symbol) instanceof Symbol) ||
|
237
235
|
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
238
236
|
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
|
239
237
|
});
|
@@ -246,87 +244,87 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
|
|
246
244
|
&& !Symbol.sham
|
247
245
|
&& typeof Symbol.iterator == 'symbol';
|
248
246
|
|
249
|
-
var getBuiltIn$
|
250
|
-
var isCallable$
|
247
|
+
var getBuiltIn$1 = getBuiltIn$2;
|
248
|
+
var isCallable$7 = isCallable$a;
|
251
249
|
var isPrototypeOf = objectIsPrototypeOf;
|
252
250
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
253
251
|
|
254
|
-
var $Object$
|
252
|
+
var $Object$1 = Object;
|
255
253
|
|
256
254
|
var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
257
255
|
return typeof it == 'symbol';
|
258
256
|
} : function (it) {
|
259
|
-
var $Symbol = getBuiltIn$
|
260
|
-
return isCallable$
|
257
|
+
var $Symbol = getBuiltIn$1('Symbol');
|
258
|
+
return isCallable$7($Symbol) && isPrototypeOf($Symbol.prototype, $Object$1(it));
|
261
259
|
};
|
262
260
|
|
263
|
-
var $String$
|
261
|
+
var $String$2 = String;
|
264
262
|
|
265
263
|
var tryToString$1 = function (argument) {
|
266
264
|
try {
|
267
|
-
return $String$
|
265
|
+
return $String$2(argument);
|
268
266
|
} catch (error) {
|
269
267
|
return 'Object';
|
270
268
|
}
|
271
269
|
};
|
272
270
|
|
273
|
-
var isCallable$
|
271
|
+
var isCallable$6 = isCallable$a;
|
274
272
|
var tryToString = tryToString$1;
|
275
273
|
|
276
|
-
var $TypeError$
|
274
|
+
var $TypeError$4 = TypeError;
|
277
275
|
|
278
276
|
// `Assert: IsCallable(argument) is true`
|
279
|
-
var aCallable$
|
280
|
-
if (isCallable$
|
281
|
-
throw $TypeError$
|
277
|
+
var aCallable$1 = function (argument) {
|
278
|
+
if (isCallable$6(argument)) return argument;
|
279
|
+
throw $TypeError$4(tryToString(argument) + ' is not a function');
|
282
280
|
};
|
283
281
|
|
284
|
-
var aCallable
|
282
|
+
var aCallable = aCallable$1;
|
285
283
|
var isNullOrUndefined = isNullOrUndefined$2;
|
286
284
|
|
287
285
|
// `GetMethod` abstract operation
|
288
286
|
// https://tc39.es/ecma262/#sec-getmethod
|
289
287
|
var getMethod$1 = function (V, P) {
|
290
288
|
var func = V[P];
|
291
|
-
return isNullOrUndefined(func) ? undefined : aCallable
|
289
|
+
return isNullOrUndefined(func) ? undefined : aCallable(func);
|
292
290
|
};
|
293
291
|
|
294
|
-
var call$
|
295
|
-
var isCallable$
|
296
|
-
var isObject$
|
292
|
+
var call$3 = functionCall;
|
293
|
+
var isCallable$5 = isCallable$a;
|
294
|
+
var isObject$4 = isObject$5;
|
297
295
|
|
298
|
-
var $TypeError$
|
296
|
+
var $TypeError$3 = TypeError;
|
299
297
|
|
300
298
|
// `OrdinaryToPrimitive` abstract operation
|
301
299
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
302
300
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
303
301
|
var fn, val;
|
304
|
-
if (pref === 'string' && isCallable$
|
305
|
-
if (isCallable$
|
306
|
-
if (pref !== 'string' && isCallable$
|
307
|
-
throw $TypeError$
|
302
|
+
if (pref === 'string' && isCallable$5(fn = input.toString) && !isObject$4(val = call$3(fn, input))) return val;
|
303
|
+
if (isCallable$5(fn = input.valueOf) && !isObject$4(val = call$3(fn, input))) return val;
|
304
|
+
if (pref !== 'string' && isCallable$5(fn = input.toString) && !isObject$4(val = call$3(fn, input))) return val;
|
305
|
+
throw $TypeError$3("Can't convert object to primitive value");
|
308
306
|
};
|
309
307
|
|
310
308
|
var shared$3 = {exports: {}};
|
311
309
|
|
312
|
-
var global$
|
310
|
+
var global$7 = global$b;
|
313
311
|
|
314
312
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
315
|
-
var defineProperty$
|
313
|
+
var defineProperty$2 = Object.defineProperty;
|
316
314
|
|
317
315
|
var defineGlobalProperty$3 = function (key, value) {
|
318
316
|
try {
|
319
|
-
defineProperty$
|
317
|
+
defineProperty$2(global$7, key, { value: value, configurable: true, writable: true });
|
320
318
|
} catch (error) {
|
321
|
-
global$
|
319
|
+
global$7[key] = value;
|
322
320
|
} return value;
|
323
321
|
};
|
324
322
|
|
325
|
-
var global$
|
323
|
+
var global$6 = global$b;
|
326
324
|
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
327
325
|
|
328
326
|
var SHARED = '__core-js_shared__';
|
329
|
-
var store$3 = global$
|
327
|
+
var store$3 = global$6[SHARED] || defineGlobalProperty$2(SHARED, {});
|
330
328
|
|
331
329
|
var sharedStore = store$3;
|
332
330
|
|
@@ -335,85 +333,85 @@ var store$2 = sharedStore;
|
|
335
333
|
(shared$3.exports = function (key, value) {
|
336
334
|
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
337
335
|
})('versions', []).push({
|
338
|
-
version: '3.
|
336
|
+
version: '3.30.2',
|
339
337
|
mode: 'global',
|
340
338
|
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
|
341
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
339
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE',
|
342
340
|
source: 'https://github.com/zloirock/core-js'
|
343
341
|
});
|
344
342
|
|
345
343
|
var requireObjectCoercible = requireObjectCoercible$2;
|
346
344
|
|
347
|
-
var $Object
|
345
|
+
var $Object = Object;
|
348
346
|
|
349
347
|
// `ToObject` abstract operation
|
350
348
|
// https://tc39.es/ecma262/#sec-toobject
|
351
|
-
var toObject$
|
352
|
-
return $Object
|
349
|
+
var toObject$3 = function (argument) {
|
350
|
+
return $Object(requireObjectCoercible(argument));
|
353
351
|
};
|
354
352
|
|
355
|
-
var uncurryThis$
|
356
|
-
var toObject$
|
353
|
+
var uncurryThis$6 = functionUncurryThis;
|
354
|
+
var toObject$2 = toObject$3;
|
357
355
|
|
358
|
-
var hasOwnProperty$1 = uncurryThis$
|
356
|
+
var hasOwnProperty$1 = uncurryThis$6({}.hasOwnProperty);
|
359
357
|
|
360
358
|
// `HasOwnProperty` abstract operation
|
361
359
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
362
360
|
// eslint-disable-next-line es/no-object-hasown -- safe
|
363
361
|
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
364
|
-
return hasOwnProperty$1(toObject$
|
362
|
+
return hasOwnProperty$1(toObject$2(it), key);
|
365
363
|
};
|
366
364
|
|
367
|
-
var uncurryThis$
|
365
|
+
var uncurryThis$5 = functionUncurryThis;
|
368
366
|
|
369
367
|
var id = 0;
|
370
368
|
var postfix = Math.random();
|
371
|
-
var toString = uncurryThis$
|
369
|
+
var toString = uncurryThis$5(1.0.toString);
|
372
370
|
|
373
371
|
var uid$2 = function (key) {
|
374
372
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
375
373
|
};
|
376
374
|
|
377
|
-
var global$
|
375
|
+
var global$5 = global$b;
|
378
376
|
var shared$2 = shared$3.exports;
|
379
|
-
var hasOwn$
|
377
|
+
var hasOwn$6 = hasOwnProperty_1;
|
380
378
|
var uid$1 = uid$2;
|
381
379
|
var NATIVE_SYMBOL = symbolConstructorDetection;
|
382
380
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
383
381
|
|
384
|
-
var Symbol$1 = global$
|
382
|
+
var Symbol$1 = global$5.Symbol;
|
385
383
|
var WellKnownSymbolsStore = shared$2('wks');
|
386
384
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
|
387
385
|
|
388
|
-
var wellKnownSymbol$
|
389
|
-
if (!hasOwn$
|
390
|
-
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$
|
386
|
+
var wellKnownSymbol$1 = function (name) {
|
387
|
+
if (!hasOwn$6(WellKnownSymbolsStore, name)) {
|
388
|
+
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$6(Symbol$1, name)
|
391
389
|
? Symbol$1[name]
|
392
390
|
: createWellKnownSymbol('Symbol.' + name);
|
393
391
|
} return WellKnownSymbolsStore[name];
|
394
392
|
};
|
395
393
|
|
396
|
-
var call$
|
397
|
-
var isObject$
|
394
|
+
var call$2 = functionCall;
|
395
|
+
var isObject$3 = isObject$5;
|
398
396
|
var isSymbol$1 = isSymbol$2;
|
399
397
|
var getMethod = getMethod$1;
|
400
398
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
401
|
-
var wellKnownSymbol
|
399
|
+
var wellKnownSymbol = wellKnownSymbol$1;
|
402
400
|
|
403
|
-
var $TypeError$
|
404
|
-
var TO_PRIMITIVE = wellKnownSymbol
|
401
|
+
var $TypeError$2 = TypeError;
|
402
|
+
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
|
405
403
|
|
406
404
|
// `ToPrimitive` abstract operation
|
407
405
|
// https://tc39.es/ecma262/#sec-toprimitive
|
408
406
|
var toPrimitive$1 = function (input, pref) {
|
409
|
-
if (!isObject$
|
407
|
+
if (!isObject$3(input) || isSymbol$1(input)) return input;
|
410
408
|
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
|
411
409
|
var result;
|
412
410
|
if (exoticToPrim) {
|
413
411
|
if (pref === undefined) pref = 'default';
|
414
|
-
result = call$
|
415
|
-
if (!isObject$
|
416
|
-
throw $TypeError$
|
412
|
+
result = call$2(exoticToPrim, input, pref);
|
413
|
+
if (!isObject$3(result) || isSymbol$1(result)) return result;
|
414
|
+
throw $TypeError$2("Can't convert object to primitive value");
|
417
415
|
}
|
418
416
|
if (pref === undefined) pref = 'number';
|
419
417
|
return ordinaryToPrimitive(input, pref);
|
@@ -429,36 +427,36 @@ var toPropertyKey$2 = function (argument) {
|
|
429
427
|
return isSymbol(key) ? key : key + '';
|
430
428
|
};
|
431
429
|
|
432
|
-
var global$
|
433
|
-
var isObject$
|
430
|
+
var global$4 = global$b;
|
431
|
+
var isObject$2 = isObject$5;
|
434
432
|
|
435
|
-
var document$1 = global$
|
433
|
+
var document$1 = global$4.document;
|
436
434
|
// typeof document.createElement is 'object' in old IE
|
437
|
-
var EXISTS$1 = isObject$
|
435
|
+
var EXISTS$1 = isObject$2(document$1) && isObject$2(document$1.createElement);
|
438
436
|
|
439
|
-
var documentCreateElement
|
437
|
+
var documentCreateElement = function (it) {
|
440
438
|
return EXISTS$1 ? document$1.createElement(it) : {};
|
441
439
|
};
|
442
440
|
|
443
|
-
var DESCRIPTORS$
|
444
|
-
var fails$
|
445
|
-
var createElement = documentCreateElement
|
441
|
+
var DESCRIPTORS$7 = descriptors;
|
442
|
+
var fails$4 = fails$9;
|
443
|
+
var createElement = documentCreateElement;
|
446
444
|
|
447
445
|
// Thanks to IE8 for its funny defineProperty
|
448
|
-
var ie8DomDefine = !DESCRIPTORS$
|
446
|
+
var ie8DomDefine = !DESCRIPTORS$7 && !fails$4(function () {
|
449
447
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
450
448
|
return Object.defineProperty(createElement('div'), 'a', {
|
451
449
|
get: function () { return 7; }
|
452
450
|
}).a != 7;
|
453
451
|
});
|
454
452
|
|
455
|
-
var DESCRIPTORS$
|
456
|
-
var call$
|
453
|
+
var DESCRIPTORS$6 = descriptors;
|
454
|
+
var call$1 = functionCall;
|
457
455
|
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
458
|
-
var createPropertyDescriptor$
|
459
|
-
var toIndexedObject$
|
456
|
+
var createPropertyDescriptor$1 = createPropertyDescriptor$2;
|
457
|
+
var toIndexedObject$2 = toIndexedObject$3;
|
460
458
|
var toPropertyKey$1 = toPropertyKey$2;
|
461
|
-
var hasOwn$
|
459
|
+
var hasOwn$5 = hasOwnProperty_1;
|
462
460
|
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
463
461
|
|
464
462
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
@@ -466,23 +464,23 @@ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
466
464
|
|
467
465
|
// `Object.getOwnPropertyDescriptor` method
|
468
466
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
469
|
-
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$
|
470
|
-
O = toIndexedObject$
|
467
|
+
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$6 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
468
|
+
O = toIndexedObject$2(O);
|
471
469
|
P = toPropertyKey$1(P);
|
472
470
|
if (IE8_DOM_DEFINE$1) try {
|
473
471
|
return $getOwnPropertyDescriptor$1(O, P);
|
474
472
|
} catch (error) { /* empty */ }
|
475
|
-
if (hasOwn$
|
473
|
+
if (hasOwn$5(O, P)) return createPropertyDescriptor$1(!call$1(propertyIsEnumerableModule$1.f, O, P), O[P]);
|
476
474
|
};
|
477
475
|
|
478
476
|
var objectDefineProperty = {};
|
479
477
|
|
480
|
-
var DESCRIPTORS$
|
481
|
-
var fails$
|
478
|
+
var DESCRIPTORS$5 = descriptors;
|
479
|
+
var fails$3 = fails$9;
|
482
480
|
|
483
481
|
// V8 ~ Chrome 36-
|
484
482
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
485
|
-
var v8PrototypeDefineBug = DESCRIPTORS$
|
483
|
+
var v8PrototypeDefineBug = DESCRIPTORS$5 && fails$3(function () {
|
486
484
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
487
485
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
488
486
|
value: 42,
|
@@ -490,24 +488,24 @@ var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$5(function () {
|
|
490
488
|
}).prototype != 42;
|
491
489
|
});
|
492
490
|
|
493
|
-
var isObject$
|
491
|
+
var isObject$1 = isObject$5;
|
494
492
|
|
495
|
-
var $String$
|
496
|
-
var $TypeError$
|
493
|
+
var $String$1 = String;
|
494
|
+
var $TypeError$1 = TypeError;
|
497
495
|
|
498
496
|
// `Assert: Type(argument) is Object`
|
499
|
-
var anObject$
|
500
|
-
if (isObject$
|
501
|
-
throw $TypeError$
|
497
|
+
var anObject$2 = function (argument) {
|
498
|
+
if (isObject$1(argument)) return argument;
|
499
|
+
throw $TypeError$1($String$1(argument) + ' is not an object');
|
502
500
|
};
|
503
501
|
|
504
|
-
var DESCRIPTORS$
|
502
|
+
var DESCRIPTORS$4 = descriptors;
|
505
503
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
506
|
-
var V8_PROTOTYPE_DEFINE_BUG
|
507
|
-
var anObject$
|
504
|
+
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
505
|
+
var anObject$1 = anObject$2;
|
508
506
|
var toPropertyKey = toPropertyKey$2;
|
509
507
|
|
510
|
-
var $TypeError
|
508
|
+
var $TypeError = TypeError;
|
511
509
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
512
510
|
var $defineProperty = Object.defineProperty;
|
513
511
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
@@ -518,10 +516,10 @@ var WRITABLE = 'writable';
|
|
518
516
|
|
519
517
|
// `Object.defineProperty` method
|
520
518
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
521
|
-
objectDefineProperty.f = DESCRIPTORS$
|
522
|
-
anObject$
|
519
|
+
objectDefineProperty.f = DESCRIPTORS$4 ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
|
520
|
+
anObject$1(O);
|
523
521
|
P = toPropertyKey(P);
|
524
|
-
anObject$
|
522
|
+
anObject$1(Attributes);
|
525
523
|
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
526
524
|
var current = $getOwnPropertyDescriptor(O, P);
|
527
525
|
if (current && current[WRITABLE]) {
|
@@ -534,23 +532,23 @@ objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
534
532
|
}
|
535
533
|
} return $defineProperty(O, P, Attributes);
|
536
534
|
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
537
|
-
anObject$
|
535
|
+
anObject$1(O);
|
538
536
|
P = toPropertyKey(P);
|
539
|
-
anObject$
|
537
|
+
anObject$1(Attributes);
|
540
538
|
if (IE8_DOM_DEFINE) try {
|
541
539
|
return $defineProperty(O, P, Attributes);
|
542
540
|
} catch (error) { /* empty */ }
|
543
|
-
if ('get' in Attributes || 'set' in Attributes) throw $TypeError
|
541
|
+
if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');
|
544
542
|
if ('value' in Attributes) O[P] = Attributes.value;
|
545
543
|
return O;
|
546
544
|
};
|
547
545
|
|
548
|
-
var DESCRIPTORS$
|
549
|
-
var definePropertyModule$
|
550
|
-
var createPropertyDescriptor
|
546
|
+
var DESCRIPTORS$3 = descriptors;
|
547
|
+
var definePropertyModule$2 = objectDefineProperty;
|
548
|
+
var createPropertyDescriptor = createPropertyDescriptor$2;
|
551
549
|
|
552
|
-
var createNonEnumerableProperty$
|
553
|
-
return definePropertyModule$
|
550
|
+
var createNonEnumerableProperty$2 = DESCRIPTORS$3 ? function (object, key, value) {
|
551
|
+
return definePropertyModule$2.f(object, key, createPropertyDescriptor(1, value));
|
554
552
|
} : function (object, key, value) {
|
555
553
|
object[key] = value;
|
556
554
|
return object;
|
@@ -558,17 +556,17 @@ var createNonEnumerableProperty$4 = DESCRIPTORS$5 ? function (object, key, value
|
|
558
556
|
|
559
557
|
var makeBuiltIn$2 = {exports: {}};
|
560
558
|
|
561
|
-
var DESCRIPTORS$
|
562
|
-
var hasOwn$
|
559
|
+
var DESCRIPTORS$2 = descriptors;
|
560
|
+
var hasOwn$4 = hasOwnProperty_1;
|
563
561
|
|
564
562
|
var FunctionPrototype = Function.prototype;
|
565
563
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
566
|
-
var getDescriptor = DESCRIPTORS$
|
564
|
+
var getDescriptor = DESCRIPTORS$2 && Object.getOwnPropertyDescriptor;
|
567
565
|
|
568
|
-
var EXISTS = hasOwn$
|
566
|
+
var EXISTS = hasOwn$4(FunctionPrototype, 'name');
|
569
567
|
// additional protection from minified / mangled / dropped function names
|
570
568
|
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
571
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$
|
569
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$2 || (DESCRIPTORS$2 && getDescriptor(FunctionPrototype, 'name').configurable));
|
572
570
|
|
573
571
|
var functionName = {
|
574
572
|
EXISTS: EXISTS,
|
@@ -576,14 +574,14 @@ var functionName = {
|
|
576
574
|
CONFIGURABLE: CONFIGURABLE
|
577
575
|
};
|
578
576
|
|
579
|
-
var uncurryThis$
|
580
|
-
var isCallable$
|
577
|
+
var uncurryThis$4 = functionUncurryThis;
|
578
|
+
var isCallable$4 = isCallable$a;
|
581
579
|
var store$1 = sharedStore;
|
582
580
|
|
583
|
-
var functionToString = uncurryThis$
|
581
|
+
var functionToString = uncurryThis$4(Function.toString);
|
584
582
|
|
585
583
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
586
|
-
if (!isCallable$
|
584
|
+
if (!isCallable$4(store$1.inspectSource)) {
|
587
585
|
store$1.inspectSource = function (it) {
|
588
586
|
return functionToString(it);
|
589
587
|
};
|
@@ -591,36 +589,36 @@ if (!isCallable$8(store$1.inspectSource)) {
|
|
591
589
|
|
592
590
|
var inspectSource$1 = store$1.inspectSource;
|
593
591
|
|
594
|
-
var global$
|
595
|
-
var isCallable$
|
592
|
+
var global$3 = global$b;
|
593
|
+
var isCallable$3 = isCallable$a;
|
596
594
|
|
597
|
-
var WeakMap$1 = global$
|
595
|
+
var WeakMap$1 = global$3.WeakMap;
|
598
596
|
|
599
|
-
var weakMapBasicDetection = isCallable$
|
597
|
+
var weakMapBasicDetection = isCallable$3(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
600
598
|
|
601
599
|
var shared$1 = shared$3.exports;
|
602
600
|
var uid = uid$2;
|
603
601
|
|
604
602
|
var keys = shared$1('keys');
|
605
603
|
|
606
|
-
var sharedKey$
|
604
|
+
var sharedKey$1 = function (key) {
|
607
605
|
return keys[key] || (keys[key] = uid(key));
|
608
606
|
};
|
609
607
|
|
610
|
-
var hiddenKeys$
|
608
|
+
var hiddenKeys$3 = {};
|
611
609
|
|
612
610
|
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
613
|
-
var global$
|
614
|
-
var isObject
|
615
|
-
var createNonEnumerableProperty$
|
616
|
-
var hasOwn$
|
611
|
+
var global$2 = global$b;
|
612
|
+
var isObject = isObject$5;
|
613
|
+
var createNonEnumerableProperty$1 = createNonEnumerableProperty$2;
|
614
|
+
var hasOwn$3 = hasOwnProperty_1;
|
617
615
|
var shared = sharedStore;
|
618
|
-
var sharedKey
|
619
|
-
var hiddenKeys$
|
616
|
+
var sharedKey = sharedKey$1;
|
617
|
+
var hiddenKeys$2 = hiddenKeys$3;
|
620
618
|
|
621
619
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
622
|
-
var TypeError$1 = global$
|
623
|
-
var WeakMap = global$
|
620
|
+
var TypeError$1 = global$2.TypeError;
|
621
|
+
var WeakMap = global$2.WeakMap;
|
624
622
|
var set, get, has$3;
|
625
623
|
|
626
624
|
var enforce = function (it) {
|
@@ -630,7 +628,7 @@ var enforce = function (it) {
|
|
630
628
|
var getterFor = function (TYPE) {
|
631
629
|
return function (it) {
|
632
630
|
var state;
|
633
|
-
if (!isObject
|
631
|
+
if (!isObject(it) || (state = get(it)).type !== TYPE) {
|
634
632
|
throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
635
633
|
} return state;
|
636
634
|
};
|
@@ -656,19 +654,19 @@ if (NATIVE_WEAK_MAP || shared.state) {
|
|
656
654
|
return store.has(it);
|
657
655
|
};
|
658
656
|
} else {
|
659
|
-
var STATE = sharedKey
|
660
|
-
hiddenKeys$
|
657
|
+
var STATE = sharedKey('state');
|
658
|
+
hiddenKeys$2[STATE] = true;
|
661
659
|
set = function (it, metadata) {
|
662
|
-
if (hasOwn$
|
660
|
+
if (hasOwn$3(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
663
661
|
metadata.facade = it;
|
664
|
-
createNonEnumerableProperty$
|
662
|
+
createNonEnumerableProperty$1(it, STATE, metadata);
|
665
663
|
return metadata;
|
666
664
|
};
|
667
665
|
get = function (it) {
|
668
|
-
return hasOwn$
|
666
|
+
return hasOwn$3(it, STATE) ? it[STATE] : {};
|
669
667
|
};
|
670
668
|
has$3 = function (it) {
|
671
|
-
return hasOwn$
|
669
|
+
return hasOwn$3(it, STATE);
|
672
670
|
};
|
673
671
|
}
|
674
672
|
|
@@ -680,51 +678,51 @@ var internalState = {
|
|
680
678
|
getterFor: getterFor
|
681
679
|
};
|
682
680
|
|
683
|
-
var uncurryThis$
|
684
|
-
var fails$
|
685
|
-
var isCallable$
|
686
|
-
var hasOwn$
|
687
|
-
var DESCRIPTORS$
|
688
|
-
var CONFIGURABLE_FUNCTION_NAME
|
681
|
+
var uncurryThis$3 = functionUncurryThis;
|
682
|
+
var fails$2 = fails$9;
|
683
|
+
var isCallable$2 = isCallable$a;
|
684
|
+
var hasOwn$2 = hasOwnProperty_1;
|
685
|
+
var DESCRIPTORS$1 = descriptors;
|
686
|
+
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
689
687
|
var inspectSource = inspectSource$1;
|
690
|
-
var InternalStateModule
|
688
|
+
var InternalStateModule = internalState;
|
691
689
|
|
692
|
-
var enforceInternalState = InternalStateModule
|
693
|
-
var getInternalState
|
694
|
-
var $String
|
690
|
+
var enforceInternalState = InternalStateModule.enforce;
|
691
|
+
var getInternalState = InternalStateModule.get;
|
692
|
+
var $String = String;
|
695
693
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
696
|
-
var defineProperty$
|
697
|
-
var stringSlice = uncurryThis$
|
698
|
-
var replace = uncurryThis$
|
699
|
-
var join = uncurryThis$
|
694
|
+
var defineProperty$1 = Object.defineProperty;
|
695
|
+
var stringSlice = uncurryThis$3(''.slice);
|
696
|
+
var replace = uncurryThis$3(''.replace);
|
697
|
+
var join = uncurryThis$3([].join);
|
700
698
|
|
701
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$
|
702
|
-
return defineProperty$
|
699
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS$1 && !fails$2(function () {
|
700
|
+
return defineProperty$1(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
703
701
|
});
|
704
702
|
|
705
703
|
var TEMPLATE = String(String).split('String');
|
706
704
|
|
707
705
|
var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
|
708
|
-
if (stringSlice($String
|
709
|
-
name = '[' + replace($String
|
706
|
+
if (stringSlice($String(name), 0, 7) === 'Symbol(') {
|
707
|
+
name = '[' + replace($String(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
|
710
708
|
}
|
711
709
|
if (options && options.getter) name = 'get ' + name;
|
712
710
|
if (options && options.setter) name = 'set ' + name;
|
713
|
-
if (!hasOwn$
|
714
|
-
if (DESCRIPTORS$
|
711
|
+
if (!hasOwn$2(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
712
|
+
if (DESCRIPTORS$1) defineProperty$1(value, 'name', { value: name, configurable: true });
|
715
713
|
else value.name = name;
|
716
714
|
}
|
717
|
-
if (CONFIGURABLE_LENGTH && options && hasOwn$
|
718
|
-
defineProperty$
|
715
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn$2(options, 'arity') && value.length !== options.arity) {
|
716
|
+
defineProperty$1(value, 'length', { value: options.arity });
|
719
717
|
}
|
720
718
|
try {
|
721
|
-
if (options && hasOwn$
|
722
|
-
if (DESCRIPTORS$
|
719
|
+
if (options && hasOwn$2(options, 'constructor') && options.constructor) {
|
720
|
+
if (DESCRIPTORS$1) defineProperty$1(value, 'prototype', { writable: false });
|
723
721
|
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
724
722
|
} else if (value.prototype) value.prototype = undefined;
|
725
723
|
} catch (error) { /* empty */ }
|
726
724
|
var state = enforceInternalState(value);
|
727
|
-
if (!hasOwn$
|
725
|
+
if (!hasOwn$2(state, 'source')) {
|
728
726
|
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
729
727
|
} return value;
|
730
728
|
};
|
@@ -732,19 +730,19 @@ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
|
|
732
730
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
733
731
|
// eslint-disable-next-line no-extend-native -- required
|
734
732
|
Function.prototype.toString = makeBuiltIn$1(function toString() {
|
735
|
-
return isCallable$
|
733
|
+
return isCallable$2(this) && getInternalState(this).source || inspectSource(this);
|
736
734
|
}, 'toString');
|
737
735
|
|
738
|
-
var isCallable$
|
739
|
-
var definePropertyModule$
|
736
|
+
var isCallable$1 = isCallable$a;
|
737
|
+
var definePropertyModule$1 = objectDefineProperty;
|
740
738
|
var makeBuiltIn = makeBuiltIn$2.exports;
|
741
739
|
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
742
740
|
|
743
|
-
var defineBuiltIn$
|
741
|
+
var defineBuiltIn$1 = function (O, key, value, options) {
|
744
742
|
if (!options) options = {};
|
745
743
|
var simple = options.enumerable;
|
746
744
|
var name = options.name !== undefined ? options.name : key;
|
747
|
-
if (isCallable$
|
745
|
+
if (isCallable$1(value)) makeBuiltIn(value, name, options);
|
748
746
|
if (options.global) {
|
749
747
|
if (simple) O[key] = value;
|
750
748
|
else defineGlobalProperty$1(key, value);
|
@@ -754,7 +752,7 @@ var defineBuiltIn$3 = function (O, key, value, options) {
|
|
754
752
|
else if (O[key]) simple = true;
|
755
753
|
} catch (error) { /* empty */ }
|
756
754
|
if (simple) O[key] = value;
|
757
|
-
else definePropertyModule$
|
755
|
+
else definePropertyModule$1.f(O, key, {
|
758
756
|
value: value,
|
759
757
|
enumerable: false,
|
760
758
|
configurable: !options.nonConfigurable,
|
@@ -817,14 +815,14 @@ var lengthOfArrayLike$1 = function (obj) {
|
|
817
815
|
return toLength(obj.length);
|
818
816
|
};
|
819
817
|
|
820
|
-
var toIndexedObject$
|
818
|
+
var toIndexedObject$1 = toIndexedObject$3;
|
821
819
|
var toAbsoluteIndex = toAbsoluteIndex$1;
|
822
820
|
var lengthOfArrayLike = lengthOfArrayLike$1;
|
823
821
|
|
824
822
|
// `Array.prototype.{ indexOf, includes }` methods implementation
|
825
823
|
var createMethod = function (IS_INCLUDES) {
|
826
824
|
return function ($this, el, fromIndex) {
|
827
|
-
var O = toIndexedObject$
|
825
|
+
var O = toIndexedObject$1($this);
|
828
826
|
var length = lengthOfArrayLike(O);
|
829
827
|
var index = toAbsoluteIndex(fromIndex, length);
|
830
828
|
var value;
|
@@ -850,29 +848,29 @@ var arrayIncludes = {
|
|
850
848
|
indexOf: createMethod(false)
|
851
849
|
};
|
852
850
|
|
853
|
-
var uncurryThis$
|
854
|
-
var hasOwn$
|
855
|
-
var toIndexedObject
|
851
|
+
var uncurryThis$2 = functionUncurryThis;
|
852
|
+
var hasOwn$1 = hasOwnProperty_1;
|
853
|
+
var toIndexedObject = toIndexedObject$3;
|
856
854
|
var indexOf = arrayIncludes.indexOf;
|
857
|
-
var hiddenKeys$
|
855
|
+
var hiddenKeys$1 = hiddenKeys$3;
|
858
856
|
|
859
|
-
var push = uncurryThis$
|
857
|
+
var push = uncurryThis$2([].push);
|
860
858
|
|
861
859
|
var objectKeysInternal = function (object, names) {
|
862
|
-
var O = toIndexedObject
|
860
|
+
var O = toIndexedObject(object);
|
863
861
|
var i = 0;
|
864
862
|
var result = [];
|
865
863
|
var key;
|
866
|
-
for (key in O) !hasOwn$
|
864
|
+
for (key in O) !hasOwn$1(hiddenKeys$1, key) && hasOwn$1(O, key) && push(result, key);
|
867
865
|
// Don't enum bug & hidden keys
|
868
|
-
while (names.length > i) if (hasOwn$
|
866
|
+
while (names.length > i) if (hasOwn$1(O, key = names[i++])) {
|
869
867
|
~indexOf(result, key) || push(result, key);
|
870
868
|
}
|
871
869
|
return result;
|
872
870
|
};
|
873
871
|
|
874
872
|
// IE8- don't enum bug keys
|
875
|
-
var enumBugKeys$
|
873
|
+
var enumBugKeys$2 = [
|
876
874
|
'constructor',
|
877
875
|
'hasOwnProperty',
|
878
876
|
'isPrototypeOf',
|
@@ -883,15 +881,15 @@ var enumBugKeys$3 = [
|
|
883
881
|
];
|
884
882
|
|
885
883
|
var internalObjectKeys$1 = objectKeysInternal;
|
886
|
-
var enumBugKeys$
|
884
|
+
var enumBugKeys$1 = enumBugKeys$2;
|
887
885
|
|
888
|
-
var hiddenKeys
|
886
|
+
var hiddenKeys = enumBugKeys$1.concat('length', 'prototype');
|
889
887
|
|
890
888
|
// `Object.getOwnPropertyNames` method
|
891
889
|
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
892
890
|
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
893
891
|
objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
894
|
-
return internalObjectKeys$1(O, hiddenKeys
|
892
|
+
return internalObjectKeys$1(O, hiddenKeys);
|
895
893
|
};
|
896
894
|
|
897
895
|
var objectGetOwnPropertySymbols = {};
|
@@ -899,40 +897,40 @@ var objectGetOwnPropertySymbols = {};
|
|
899
897
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
900
898
|
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
901
899
|
|
902
|
-
var getBuiltIn
|
903
|
-
var uncurryThis$
|
900
|
+
var getBuiltIn = getBuiltIn$2;
|
901
|
+
var uncurryThis$1 = functionUncurryThis;
|
904
902
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
905
903
|
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
906
|
-
var anObject
|
904
|
+
var anObject = anObject$2;
|
907
905
|
|
908
|
-
var concat$1 = uncurryThis$
|
906
|
+
var concat$1 = uncurryThis$1([].concat);
|
909
907
|
|
910
908
|
// all object keys, includes non-enumerable and symbols
|
911
|
-
var ownKeys$1 = getBuiltIn
|
912
|
-
var keys = getOwnPropertyNamesModule.f(anObject
|
909
|
+
var ownKeys$1 = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
910
|
+
var keys = getOwnPropertyNamesModule.f(anObject(it));
|
913
911
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
|
914
912
|
return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
|
915
913
|
};
|
916
914
|
|
917
|
-
var hasOwn
|
915
|
+
var hasOwn = hasOwnProperty_1;
|
918
916
|
var ownKeys = ownKeys$1;
|
919
917
|
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
920
|
-
var definePropertyModule
|
918
|
+
var definePropertyModule = objectDefineProperty;
|
921
919
|
|
922
920
|
var copyConstructorProperties$1 = function (target, source, exceptions) {
|
923
921
|
var keys = ownKeys(source);
|
924
|
-
var defineProperty = definePropertyModule
|
922
|
+
var defineProperty = definePropertyModule.f;
|
925
923
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
926
924
|
for (var i = 0; i < keys.length; i++) {
|
927
925
|
var key = keys[i];
|
928
|
-
if (!hasOwn
|
926
|
+
if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
|
929
927
|
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
930
928
|
}
|
931
929
|
}
|
932
930
|
};
|
933
931
|
|
934
|
-
var fails$
|
935
|
-
var isCallable
|
932
|
+
var fails$1 = fails$9;
|
933
|
+
var isCallable = isCallable$a;
|
936
934
|
|
937
935
|
var replacement = /#|\.prototype\./;
|
938
936
|
|
@@ -940,7 +938,7 @@ var isForced$1 = function (feature, detection) {
|
|
940
938
|
var value = data[normalize(feature)];
|
941
939
|
return value == POLYFILL ? true
|
942
940
|
: value == NATIVE ? false
|
943
|
-
: isCallable
|
941
|
+
: isCallable(detection) ? fails$1(detection)
|
944
942
|
: !!detection;
|
945
943
|
};
|
946
944
|
|
@@ -954,10 +952,10 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
|
|
954
952
|
|
955
953
|
var isForced_1 = isForced$1;
|
956
954
|
|
957
|
-
var global$
|
955
|
+
var global$1 = global$b;
|
958
956
|
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
959
|
-
var createNonEnumerableProperty
|
960
|
-
var defineBuiltIn
|
957
|
+
var createNonEnumerableProperty = createNonEnumerableProperty$2;
|
958
|
+
var defineBuiltIn = defineBuiltIn$1;
|
961
959
|
var defineGlobalProperty = defineGlobalProperty$3;
|
962
960
|
var copyConstructorProperties = copyConstructorProperties$1;
|
963
961
|
var isForced = isForced_1;
|
@@ -983,11 +981,11 @@ var _export = function (options, source) {
|
|
983
981
|
var STATIC = options.stat;
|
984
982
|
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
985
983
|
if (GLOBAL) {
|
986
|
-
target = global$
|
984
|
+
target = global$1;
|
987
985
|
} else if (STATIC) {
|
988
|
-
target = global$
|
986
|
+
target = global$1[TARGET] || defineGlobalProperty(TARGET, {});
|
989
987
|
} else {
|
990
|
-
target = (global$
|
988
|
+
target = (global$1[TARGET] || {}).prototype;
|
991
989
|
}
|
992
990
|
if (target) for (key in source) {
|
993
991
|
sourceProperty = source[key];
|
@@ -1003,46 +1001,46 @@ var _export = function (options, source) {
|
|
1003
1001
|
}
|
1004
1002
|
// add a flag to not completely full polyfills
|
1005
1003
|
if (options.sham || (targetProperty && targetProperty.sham)) {
|
1006
|
-
createNonEnumerableProperty
|
1004
|
+
createNonEnumerableProperty(sourceProperty, 'sham', true);
|
1007
1005
|
}
|
1008
|
-
defineBuiltIn
|
1006
|
+
defineBuiltIn(target, key, sourceProperty, options);
|
1009
1007
|
}
|
1010
1008
|
};
|
1011
1009
|
|
1012
1010
|
var internalObjectKeys = objectKeysInternal;
|
1013
|
-
var enumBugKeys
|
1011
|
+
var enumBugKeys = enumBugKeys$2;
|
1014
1012
|
|
1015
1013
|
// `Object.keys` method
|
1016
1014
|
// https://tc39.es/ecma262/#sec-object.keys
|
1017
1015
|
// eslint-disable-next-line es/no-object-keys -- safe
|
1018
|
-
var objectKeys$
|
1019
|
-
return internalObjectKeys(O, enumBugKeys
|
1016
|
+
var objectKeys$1 = Object.keys || function keys(O) {
|
1017
|
+
return internalObjectKeys(O, enumBugKeys);
|
1020
1018
|
};
|
1021
1019
|
|
1022
|
-
var DESCRIPTORS
|
1023
|
-
var uncurryThis
|
1024
|
-
var call
|
1025
|
-
var fails
|
1026
|
-
var objectKeys
|
1020
|
+
var DESCRIPTORS = descriptors;
|
1021
|
+
var uncurryThis = functionUncurryThis;
|
1022
|
+
var call = functionCall;
|
1023
|
+
var fails = fails$9;
|
1024
|
+
var objectKeys = objectKeys$1;
|
1027
1025
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
1028
1026
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
1029
|
-
var toObject$
|
1027
|
+
var toObject$1 = toObject$3;
|
1030
1028
|
var IndexedObject = indexedObject;
|
1031
1029
|
|
1032
1030
|
// eslint-disable-next-line es/no-object-assign -- safe
|
1033
1031
|
var $assign = Object.assign;
|
1034
1032
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
1035
|
-
var defineProperty
|
1036
|
-
var concat = uncurryThis
|
1033
|
+
var defineProperty = Object.defineProperty;
|
1034
|
+
var concat = uncurryThis([].concat);
|
1037
1035
|
|
1038
1036
|
// `Object.assign` method
|
1039
1037
|
// https://tc39.es/ecma262/#sec-object.assign
|
1040
|
-
var objectAssign$1 = !$assign || fails
|
1038
|
+
var objectAssign$1 = !$assign || fails(function () {
|
1041
1039
|
// should have correct order of operations (Edge bug)
|
1042
|
-
if (DESCRIPTORS
|
1040
|
+
if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
|
1043
1041
|
enumerable: true,
|
1044
1042
|
get: function () {
|
1045
|
-
defineProperty
|
1043
|
+
defineProperty(this, 'b', {
|
1046
1044
|
value: 3,
|
1047
1045
|
enumerable: false
|
1048
1046
|
});
|
@@ -1056,51 +1054,36 @@ var objectAssign$1 = !$assign || fails$2(function () {
|
|
1056
1054
|
var alphabet = 'abcdefghijklmnopqrst';
|
1057
1055
|
A[symbol] = 7;
|
1058
1056
|
alphabet.split('').forEach(function (chr) { B[chr] = chr; });
|
1059
|
-
return $assign({}, A)[symbol] != 7 || objectKeys
|
1057
|
+
return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet;
|
1060
1058
|
}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
|
1061
|
-
var T = toObject$
|
1059
|
+
var T = toObject$1(target);
|
1062
1060
|
var argumentsLength = arguments.length;
|
1063
1061
|
var index = 1;
|
1064
1062
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
1065
1063
|
var propertyIsEnumerable = propertyIsEnumerableModule.f;
|
1066
1064
|
while (argumentsLength > index) {
|
1067
1065
|
var S = IndexedObject(arguments[index++]);
|
1068
|
-
var keys = getOwnPropertySymbols ? concat(objectKeys
|
1066
|
+
var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
|
1069
1067
|
var length = keys.length;
|
1070
1068
|
var j = 0;
|
1071
1069
|
var key;
|
1072
1070
|
while (length > j) {
|
1073
1071
|
key = keys[j++];
|
1074
|
-
if (!DESCRIPTORS
|
1072
|
+
if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];
|
1075
1073
|
}
|
1076
1074
|
} return T;
|
1077
1075
|
} : $assign;
|
1078
1076
|
|
1079
|
-
var
|
1077
|
+
var $ = _export;
|
1080
1078
|
var assign$1 = objectAssign$1;
|
1081
1079
|
|
1082
1080
|
// `Object.assign` method
|
1083
1081
|
// https://tc39.es/ecma262/#sec-object.assign
|
1084
1082
|
// eslint-disable-next-line es/no-object-assign -- required for testing
|
1085
|
-
|
1083
|
+
$({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign$1 }, {
|
1086
1084
|
assign: assign$1
|
1087
1085
|
});
|
1088
1086
|
|
1089
|
-
function _extends$2() {
|
1090
|
-
_extends$2 = Object.assign ? Object.assign.bind() : function (target) {
|
1091
|
-
for (var i = 1; i < arguments.length; i++) {
|
1092
|
-
var source = arguments[i];
|
1093
|
-
for (var key in source) {
|
1094
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
1095
|
-
target[key] = source[key];
|
1096
|
-
}
|
1097
|
-
}
|
1098
|
-
}
|
1099
|
-
return target;
|
1100
|
-
};
|
1101
|
-
return _extends$2.apply(this, arguments);
|
1102
|
-
}
|
1103
|
-
|
1104
1087
|
function isPlainObject(item) {
|
1105
1088
|
return item !== null && typeof item === 'object' && item.constructor === Object;
|
1106
1089
|
}
|
@@ -1117,7 +1100,9 @@ function deepClone(source) {
|
|
1117
1100
|
function deepmerge(target, source, options = {
|
1118
1101
|
clone: true
|
1119
1102
|
}) {
|
1120
|
-
const output = options.clone ?
|
1103
|
+
const output = options.clone ? {
|
1104
|
+
...target
|
1105
|
+
} : target;
|
1121
1106
|
if (isPlainObject(target) && isPlainObject(source)) {
|
1122
1107
|
Object.keys(source).forEach(key => {
|
1123
1108
|
// Avoid prototype pollution
|
@@ -1355,7 +1340,7 @@ var getOwnPropertySymbols = Object.getOwnPropertySymbols;
|
|
1355
1340
|
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
1356
1341
|
var propIsEnumerable = Object.prototype.propertyIsEnumerable;
|
1357
1342
|
|
1358
|
-
function toObject
|
1343
|
+
function toObject(val) {
|
1359
1344
|
if (val === null || val === undefined) {
|
1360
1345
|
throw new TypeError('Object.assign cannot be called with null or undefined');
|
1361
1346
|
}
|
@@ -1409,7 +1394,7 @@ function shouldUseNative() {
|
|
1409
1394
|
|
1410
1395
|
var objectAssign = shouldUseNative() ? Object.assign : function (target, source) {
|
1411
1396
|
var from;
|
1412
|
-
var to = toObject
|
1397
|
+
var to = toObject(target);
|
1413
1398
|
var symbols;
|
1414
1399
|
|
1415
1400
|
for (var s = 1; s < arguments.length; s++) {
|
@@ -2309,34 +2294,6 @@ function generateUtilityClass(componentName, slot, globalStatePrefix = 'Mui') {
|
|
2309
2294
|
return globalStateClass ? `${globalStatePrefix}-${globalStateClass}` : `${ClassNameGenerator$1.generate(componentName)}-${slot}`;
|
2310
2295
|
}
|
2311
2296
|
|
2312
|
-
function _extends$1() {
|
2313
|
-
_extends$1 = Object.assign ? Object.assign.bind() : function (target) {
|
2314
|
-
for (var i = 1; i < arguments.length; i++) {
|
2315
|
-
var source = arguments[i];
|
2316
|
-
for (var key in source) {
|
2317
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
2318
|
-
target[key] = source[key];
|
2319
|
-
}
|
2320
|
-
}
|
2321
|
-
}
|
2322
|
-
return target;
|
2323
|
-
};
|
2324
|
-
return _extends$1.apply(this, arguments);
|
2325
|
-
}
|
2326
|
-
|
2327
|
-
function _objectWithoutPropertiesLoose$1(source, excluded) {
|
2328
|
-
if (source == null) return {};
|
2329
|
-
var target = {};
|
2330
|
-
var sourceKeys = Object.keys(source);
|
2331
|
-
var key, i;
|
2332
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
2333
|
-
key = sourceKeys[i];
|
2334
|
-
if (excluded.indexOf(key) >= 0) continue;
|
2335
|
-
target[key] = source[key];
|
2336
|
-
}
|
2337
|
-
return target;
|
2338
|
-
}
|
2339
|
-
|
2340
2297
|
function _extends() {
|
2341
2298
|
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
2342
2299
|
for (var i = 1; i < arguments.length; i++) {
|
@@ -2463,7 +2420,7 @@ function merge(acc, item) {
|
|
2463
2420
|
|
2464
2421
|
// The breakpoint **start** at this value.
|
2465
2422
|
// For instance with the first breakpoint xs: [xs, sm[.
|
2466
|
-
const values
|
2423
|
+
const values = {
|
2467
2424
|
xs: 0,
|
2468
2425
|
// phone
|
2469
2426
|
sm: 600,
|
@@ -2479,7 +2436,7 @@ const defaultBreakpoints = {
|
|
2479
2436
|
// Sorted ASC by size. That's important.
|
2480
2437
|
// It can't be configured as it's used statically for propTypes.
|
2481
2438
|
keys: ['xs', 'sm', 'md', 'lg', 'xl'],
|
2482
|
-
up: key => `@media (min-width:${values
|
2439
|
+
up: key => `@media (min-width:${values[key]}px)`
|
2483
2440
|
};
|
2484
2441
|
function handleBreakpoints(props, propValue, styleFromPropValue) {
|
2485
2442
|
const theme = props.theme || {};
|
@@ -2494,7 +2451,7 @@ function handleBreakpoints(props, propValue, styleFromPropValue) {
|
|
2494
2451
|
const themeBreakpoints = theme.breakpoints || defaultBreakpoints;
|
2495
2452
|
return Object.keys(propValue).reduce((acc, breakpoint) => {
|
2496
2453
|
// key is breakpoint
|
2497
|
-
if (Object.keys(themeBreakpoints.values || values
|
2454
|
+
if (Object.keys(themeBreakpoints.values || values).indexOf(breakpoint) !== -1) {
|
2498
2455
|
const mediaKey = themeBreakpoints.up(breakpoint);
|
2499
2456
|
acc[mediaKey] = styleFromPropValue(propValue[breakpoint], breakpoint);
|
2500
2457
|
} else {
|
@@ -2985,8 +2942,8 @@ const width = style$1({
|
|
2985
2942
|
const maxWidth = props => {
|
2986
2943
|
if (props.maxWidth !== undefined && props.maxWidth !== null) {
|
2987
2944
|
const styleFromPropValue = propValue => {
|
2988
|
-
var _props$theme;
|
2989
|
-
const breakpoint = ((_props$theme = props.theme) == null
|
2945
|
+
var _props$theme, _props$theme$breakpoi, _props$theme$breakpoi2;
|
2946
|
+
const breakpoint = ((_props$theme = props.theme) == null ? void 0 : (_props$theme$breakpoi = _props$theme.breakpoints) == null ? void 0 : (_props$theme$breakpoi2 = _props$theme$breakpoi.values) == null ? void 0 : _props$theme$breakpoi2[propValue]) || values[propValue];
|
2990
2947
|
return {
|
2991
2948
|
maxWidth: breakpoint || sizingTransform(propValue)
|
2992
2949
|
};
|
@@ -3676,7 +3633,7 @@ function lighten(color, coefficient) {
|
|
3676
3633
|
}
|
3677
3634
|
|
3678
3635
|
function createMixins(breakpoints, mixins) {
|
3679
|
-
return _extends
|
3636
|
+
return _extends({
|
3680
3637
|
toolbar: {
|
3681
3638
|
minHeight: 56,
|
3682
3639
|
[breakpoints.up('xs')]: {
|
@@ -3992,7 +3949,7 @@ function createPalette(palette) {
|
|
3992
3949
|
contrastThreshold = 3,
|
3993
3950
|
tonalOffset = 0.2
|
3994
3951
|
} = palette,
|
3995
|
-
other = _objectWithoutPropertiesLoose
|
3952
|
+
other = _objectWithoutPropertiesLoose(palette, _excluded$3);
|
3996
3953
|
const primary = palette.primary || getDefaultPrimary(mode);
|
3997
3954
|
const secondary = palette.secondary || getDefaultSecondary(mode);
|
3998
3955
|
const error = palette.error || getDefaultError(mode);
|
@@ -4020,7 +3977,7 @@ function createPalette(palette) {
|
|
4020
3977
|
lightShade = 300,
|
4021
3978
|
darkShade = 700
|
4022
3979
|
}) => {
|
4023
|
-
color = _extends
|
3980
|
+
color = _extends({}, color);
|
4024
3981
|
if (!color.main && color[mainShade]) {
|
4025
3982
|
color.main = color[mainShade];
|
4026
3983
|
}
|
@@ -4060,9 +4017,9 @@ const theme2 = createTheme({ palette: {
|
|
4060
4017
|
console.error(`MUI: The palette mode \`${mode}\` is not supported.`);
|
4061
4018
|
}
|
4062
4019
|
}
|
4063
|
-
const paletteOutput = deepmerge(_extends
|
4020
|
+
const paletteOutput = deepmerge(_extends({
|
4064
4021
|
// A collection of common colors.
|
4065
|
-
common: _extends
|
4022
|
+
common: _extends({}, common$1),
|
4066
4023
|
// prevent mutable object.
|
4067
4024
|
// The palette mode, can be light or dark.
|
4068
4025
|
mode,
|
@@ -4147,7 +4104,7 @@ function createTypography(palette, typography) {
|
|
4147
4104
|
allVariants,
|
4148
4105
|
pxToRem: pxToRem2
|
4149
4106
|
} = _ref,
|
4150
|
-
other = _objectWithoutPropertiesLoose
|
4107
|
+
other = _objectWithoutPropertiesLoose(_ref, _excluded$2);
|
4151
4108
|
if (process.env.NODE_ENV !== 'production') {
|
4152
4109
|
if (typeof fontSize !== 'number') {
|
4153
4110
|
console.error('MUI: `fontSize` is required to be a number.');
|
@@ -4158,7 +4115,7 @@ function createTypography(palette, typography) {
|
|
4158
4115
|
}
|
4159
4116
|
const coef = fontSize / 14;
|
4160
4117
|
const pxToRem = pxToRem2 || (size => `${size / htmlFontSize * coef}rem`);
|
4161
|
-
const buildVariant = (fontWeight, size, lineHeight, letterSpacing, casing) => _extends
|
4118
|
+
const buildVariant = (fontWeight, size, lineHeight, letterSpacing, casing) => _extends({
|
4162
4119
|
fontFamily,
|
4163
4120
|
fontWeight,
|
4164
4121
|
fontSize: pxToRem(size),
|
@@ -4189,7 +4146,7 @@ function createTypography(palette, typography) {
|
|
4189
4146
|
letterSpacing: 'inherit'
|
4190
4147
|
}
|
4191
4148
|
};
|
4192
|
-
return deepmerge(_extends
|
4149
|
+
return deepmerge(_extends({
|
4193
4150
|
htmlFontSize,
|
4194
4151
|
pxToRem,
|
4195
4152
|
fontFamily,
|
@@ -4257,15 +4214,15 @@ function getAutoHeightDuration(height) {
|
|
4257
4214
|
return Math.round((4 + 15 * constant ** 0.25 + constant / 5) * 10);
|
4258
4215
|
}
|
4259
4216
|
function createTransitions(inputTransitions) {
|
4260
|
-
const mergedEasing = _extends
|
4261
|
-
const mergedDuration = _extends
|
4217
|
+
const mergedEasing = _extends({}, easing, inputTransitions.easing);
|
4218
|
+
const mergedDuration = _extends({}, duration, inputTransitions.duration);
|
4262
4219
|
const create = (props = ['all'], options = {}) => {
|
4263
4220
|
const {
|
4264
4221
|
duration: durationOption = mergedDuration.standard,
|
4265
4222
|
easing: easingOption = mergedEasing.easeInOut,
|
4266
4223
|
delay = 0
|
4267
4224
|
} = options,
|
4268
|
-
other = _objectWithoutPropertiesLoose
|
4225
|
+
other = _objectWithoutPropertiesLoose(options, _excluded$1);
|
4269
4226
|
if (process.env.NODE_ENV !== 'production') {
|
4270
4227
|
const isString = value => typeof value === 'string';
|
4271
4228
|
// IE11 support, replace with Number.isNaN
|
@@ -4283,16 +4240,13 @@ function createTransitions(inputTransitions) {
|
|
4283
4240
|
if (!isNumber(delay) && !isString(delay)) {
|
4284
4241
|
console.error('MUI: Argument "delay" must be a number or a string.');
|
4285
4242
|
}
|
4286
|
-
if (typeof options !== 'object') {
|
4287
|
-
console.error(['MUI: Secong argument of transition.create must be an object.', "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join('\n'));
|
4288
|
-
}
|
4289
4243
|
if (Object.keys(other).length !== 0) {
|
4290
4244
|
console.error(`MUI: Unrecognized argument(s) [${Object.keys(other).join(',')}].`);
|
4291
4245
|
}
|
4292
4246
|
}
|
4293
4247
|
return (Array.isArray(props) ? props : [props]).map(animatedProp => `${animatedProp} ${typeof durationOption === 'string' ? durationOption : formatMs(durationOption)} ${easingOption} ${typeof delay === 'string' ? delay : formatMs(delay)}`).join(',');
|
4294
4248
|
};
|
4295
|
-
return _extends
|
4249
|
+
return _extends({
|
4296
4250
|
getAutoHeightDuration,
|
4297
4251
|
create
|
4298
4252
|
}, inputTransitions, {
|
@@ -4323,7 +4277,7 @@ function createTheme(options = {}, ...args) {
|
|
4323
4277
|
transitions: transitionsInput = {},
|
4324
4278
|
typography: typographyInput = {}
|
4325
4279
|
} = options,
|
4326
|
-
other = _objectWithoutPropertiesLoose
|
4280
|
+
other = _objectWithoutPropertiesLoose(options, _excluded);
|
4327
4281
|
if (options.vars) {
|
4328
4282
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: \`vars\` is a private field used for CSS variables support.
|
4329
4283
|
Please use another name.` : formatMuiErrorMessage(18));
|
@@ -4337,7 +4291,7 @@ Please use another name.` : formatMuiErrorMessage(18));
|
|
4337
4291
|
shadows: shadows$1.slice(),
|
4338
4292
|
typography: createTypography(palette, typographyInput),
|
4339
4293
|
transitions: createTransitions(transitionsInput),
|
4340
|
-
zIndex: _extends
|
4294
|
+
zIndex: _extends({}, zIndex$1)
|
4341
4295
|
});
|
4342
4296
|
muiTheme = deepmerge(muiTheme, other);
|
4343
4297
|
muiTheme = args.reduce((acc, argument) => deepmerge(acc, argument), muiTheme);
|
@@ -4371,7 +4325,7 @@ Please use another name.` : formatMuiErrorMessage(18));
|
|
4371
4325
|
}
|
4372
4326
|
});
|
4373
4327
|
}
|
4374
|
-
muiTheme.unstable_sxConfig = _extends
|
4328
|
+
muiTheme.unstable_sxConfig = _extends({}, defaultSxConfig$1, other == null ? void 0 : other.unstable_sxConfig);
|
4375
4329
|
muiTheme.unstable_sx = function sx(props) {
|
4376
4330
|
return styleFunctionSx$1({
|
4377
4331
|
sx: props,
|
@@ -4384,15 +4338,93 @@ Please use another name.` : formatMuiErrorMessage(18));
|
|
4384
4338
|
const Componentes = {
|
4385
4339
|
MuiDataGrid: {
|
4386
4340
|
defaultProps: {
|
4387
|
-
|
4341
|
+
columnHeaderHeight: 35,
|
4342
|
+
rowHeight: 32,
|
4343
|
+
density: 'compact'
|
4344
|
+
},
|
4345
|
+
styleOverrides: {
|
4346
|
+
iconButtonContainer: {
|
4347
|
+
fontSize: 16
|
4348
|
+
},
|
4349
|
+
columnHeaderTitle: {
|
4350
|
+
fontFamily: 'Roboto',
|
4351
|
+
fontWeight: 500,
|
4352
|
+
fontSize: 13,
|
4353
|
+
lineHeight: 1.5,
|
4354
|
+
letterSpacing: 0.17
|
4355
|
+
},
|
4356
|
+
cell: {
|
4357
|
+
fontFamily: 'Roboto',
|
4358
|
+
fontWeight: 300,
|
4359
|
+
fontSize: 12,
|
4360
|
+
lineHeight: 1.5,
|
4361
|
+
letterSpacing: 0.17,
|
4362
|
+
// COMPONENTES DENTRO DE CELDAS
|
4363
|
+
'.MuiButtonBase-root': {
|
4364
|
+
lineHeight: 0,
|
4365
|
+
textTransform: 'capitalize'
|
4366
|
+
},
|
4367
|
+
// CELDA ENFOCADA
|
4368
|
+
'.MuiDataGrid-cell': {
|
4369
|
+
'&:focus': {
|
4370
|
+
outline: 'transparent',
|
4371
|
+
borderWidth: 0
|
4372
|
+
}
|
4373
|
+
}
|
4374
|
+
},
|
4375
|
+
// BOTOM MENU EN LAS CABECERA DE CADA COLUMNA
|
4376
|
+
menuIconButton: {
|
4377
|
+
svg: {
|
4378
|
+
fontSize: '16px'
|
4379
|
+
}
|
4380
|
+
},
|
4381
|
+
menu: {
|
4382
|
+
svg: {
|
4383
|
+
fontSize: '16px !important'
|
4384
|
+
},
|
4385
|
+
'.MuiMenuItem-root': {
|
4386
|
+
minHeight: '28px',
|
4387
|
+
height: '28px'
|
4388
|
+
}
|
4389
|
+
},
|
4390
|
+
pinnedRows: {
|
4391
|
+
boxShadow: '0px 1px 3px rgba(24, 39, 75, 0.12), 0px 1px 1px -1px rgba(24, 39, 75, 0.14), 0px 2px 1px -2px rgba(24, 39, 75, 0.2)',
|
4392
|
+
borderTop: '1px solid rgba(228, 236, 244, 1)'
|
4393
|
+
},
|
4394
|
+
root: {
|
4395
|
+
'.MuiDataGrid-cell.MuiDataGrid-cell--editing': {
|
4396
|
+
boxShadow: '0px 1px 3px rgba(24, 39, 75, 0.12), 0px 1px 1px -1px rgba(24, 39, 75, 0.14), 0px 2px 1px -2px rgba(24, 39, 75, 0.2) !important'
|
4397
|
+
},
|
4398
|
+
// FONT-SIZE DE CELDA EN MODO EDICION
|
4399
|
+
'.MuiInputBase-root': {
|
4400
|
+
fontFamily: 'Roboto',
|
4401
|
+
fontWeight: 300,
|
4402
|
+
fontSize: 12,
|
4403
|
+
letterSpacing: 0.17,
|
4404
|
+
borderRadius: '0px'
|
4405
|
+
},
|
4406
|
+
// CELDA FOCUS
|
4407
|
+
'.Mui-focused, .MuiOutlinedInput-notchedOutline': {
|
4408
|
+
borderWidth: '0px !important'
|
4409
|
+
},
|
4410
|
+
'.MuiDataGrid-withBorderColor': {
|
4411
|
+
borderColor: '#d4d5dd'
|
4412
|
+
},
|
4413
|
+
// TAMAÑO PEQUEÑO
|
4414
|
+
'&.MuiDataGrid-root--densityCompact': {
|
4415
|
+
'.MuiSvgIcon-root': {
|
4416
|
+
fontSize: 16
|
4417
|
+
}
|
4418
|
+
}
|
4419
|
+
}
|
4388
4420
|
}
|
4389
4421
|
},
|
4390
4422
|
MuiDialog: {
|
4391
4423
|
styleOverrides: {
|
4392
4424
|
root: {
|
4393
|
-
|
4394
|
-
backgroundColor:
|
4395
|
-
backdropFilter:
|
4425
|
+
'.MuiBackdrop-root': {
|
4426
|
+
backgroundColor: '#f0f0f099',
|
4427
|
+
backdropFilter: 'blur(2px) !important'
|
4396
4428
|
}
|
4397
4429
|
}
|
4398
4430
|
}
|
@@ -4407,23 +4439,23 @@ const Componentes = {
|
|
4407
4439
|
},
|
4408
4440
|
MuiChip: {
|
4409
4441
|
defaultProps: {
|
4410
|
-
size:
|
4442
|
+
size: 'small'
|
4411
4443
|
}
|
4412
4444
|
},
|
4413
4445
|
MuiAlert: {
|
4414
4446
|
styleOverrides: {
|
4415
4447
|
root: {
|
4416
|
-
boxShadow:
|
4417
|
-
paddingY: .5,
|
4448
|
+
boxShadow: '0px 0px 1px rgba(0,0,0,.7)',
|
4449
|
+
paddingY: 0.5,
|
4418
4450
|
paddingX: 2,
|
4419
|
-
alignItems:
|
4420
|
-
border:
|
4451
|
+
alignItems: 'center',
|
4452
|
+
border: 'none'
|
4421
4453
|
}
|
4422
4454
|
}
|
4423
4455
|
},
|
4424
4456
|
MuiButton: {
|
4425
4457
|
defaultProps: {
|
4426
|
-
size:
|
4458
|
+
size: 'small'
|
4427
4459
|
},
|
4428
4460
|
styleOverrides: {
|
4429
4461
|
sizeSmall: {
|
@@ -4439,71 +4471,71 @@ const Componentes = {
|
|
4439
4471
|
fontSize: 14
|
4440
4472
|
},
|
4441
4473
|
root: {
|
4442
|
-
width:
|
4474
|
+
width: 'fit-content'
|
4443
4475
|
}
|
4444
4476
|
}
|
4445
4477
|
},
|
4446
4478
|
MuiButtonGroup: {
|
4447
4479
|
defaultProps: {
|
4448
|
-
size:
|
4480
|
+
size: 'small'
|
4449
4481
|
}
|
4450
4482
|
},
|
4451
4483
|
MuiCheckbox: {
|
4452
4484
|
defaultProps: {
|
4453
|
-
size:
|
4485
|
+
size: 'small'
|
4454
4486
|
}
|
4455
4487
|
},
|
4456
4488
|
MuiFab: {
|
4457
4489
|
defaultProps: {
|
4458
|
-
size:
|
4490
|
+
size: 'small'
|
4459
4491
|
},
|
4460
4492
|
styleOverrides: {
|
4461
4493
|
circular: {
|
4462
|
-
|
4494
|
+
'&.MuiFab-sizeSmall': {
|
4463
4495
|
height: 38,
|
4464
4496
|
width: 38,
|
4465
|
-
|
4497
|
+
'.MuiSvgIcon-fontSizeSmall': {
|
4466
4498
|
height: 20,
|
4467
4499
|
width: 20
|
4468
4500
|
}
|
4469
4501
|
},
|
4470
|
-
|
4502
|
+
'&.MuiFab-sizeMedium': {
|
4471
4503
|
height: 48,
|
4472
4504
|
width: 48,
|
4473
|
-
|
4505
|
+
'& .MuiSvgIcon-fontSizeMedium': {
|
4474
4506
|
height: 22,
|
4475
4507
|
width: 22
|
4476
4508
|
}
|
4477
4509
|
},
|
4478
|
-
|
4510
|
+
'&.MuiFab-sizeLarge': {
|
4479
4511
|
height: 56,
|
4480
4512
|
width: 56,
|
4481
|
-
|
4513
|
+
'& .MuiSvgIcon-fontSizeLarge': {
|
4482
4514
|
height: 24,
|
4483
4515
|
width: 24
|
4484
4516
|
}
|
4485
4517
|
}
|
4486
4518
|
},
|
4487
4519
|
extended: {
|
4488
|
-
|
4520
|
+
'&.MuiFab-sizeSmall': {
|
4489
4521
|
height: 32,
|
4490
|
-
|
4522
|
+
'.MuiSvgIcon-fontSizeSmall': {
|
4491
4523
|
height: 20,
|
4492
4524
|
width: 20,
|
4493
4525
|
marginRight: 4
|
4494
4526
|
}
|
4495
4527
|
},
|
4496
|
-
|
4528
|
+
'&.MuiFab-sizeMedium': {
|
4497
4529
|
height: 38,
|
4498
|
-
|
4530
|
+
'& .MuiSvgIcon-fontSizeMedium': {
|
4499
4531
|
height: 22,
|
4500
4532
|
width: 22,
|
4501
4533
|
marginRight: 4
|
4502
4534
|
}
|
4503
4535
|
},
|
4504
|
-
|
4536
|
+
'&.MuiFab-sizeLarge': {
|
4505
4537
|
height: 48,
|
4506
|
-
|
4538
|
+
'& .MuiSvgIcon-fontSizeLarge': {
|
4507
4539
|
height: 24,
|
4508
4540
|
width: 24,
|
4509
4541
|
marginRight: 4
|
@@ -4514,20 +4546,20 @@ const Componentes = {
|
|
4514
4546
|
},
|
4515
4547
|
MuiFormControl: {
|
4516
4548
|
defaultProps: {
|
4517
|
-
size:
|
4518
|
-
margin:
|
4549
|
+
size: 'small',
|
4550
|
+
margin: 'none'
|
4519
4551
|
}
|
4520
4552
|
},
|
4521
4553
|
MuiFormHelperText: {
|
4522
4554
|
defaultProps: {
|
4523
|
-
margin:
|
4555
|
+
margin: 'dense'
|
4524
4556
|
}
|
4525
4557
|
},
|
4526
4558
|
MuiSvgIcon: {
|
4527
4559
|
styleOverrides: {
|
4528
4560
|
fontSizeSmall: {
|
4529
|
-
width:
|
4530
|
-
height:
|
4561
|
+
width: '1rem',
|
4562
|
+
height: '1rem'
|
4531
4563
|
}
|
4532
4564
|
}
|
4533
4565
|
},
|
@@ -4556,23 +4588,23 @@ const Componentes = {
|
|
4556
4588
|
},
|
4557
4589
|
MuiInputBase: {
|
4558
4590
|
defaultProps: {
|
4559
|
-
margin:
|
4591
|
+
margin: 'none'
|
4560
4592
|
},
|
4561
4593
|
styleOverrides: {
|
4562
4594
|
root: {
|
4563
|
-
|
4595
|
+
'&.MuiInput-underline': {
|
4564
4596
|
marginTop: 9
|
4565
4597
|
},
|
4566
|
-
|
4598
|
+
'.MuiOutlinedInput-input.MuiInputBase-inputSizeSmall': {
|
4567
4599
|
paddingBlock: 5.95
|
4568
4600
|
},
|
4569
|
-
|
4601
|
+
'.MuiOutlinedInput-input': {
|
4570
4602
|
paddingBlock: 14
|
4571
4603
|
},
|
4572
|
-
|
4573
|
-
paddingBlock:
|
4604
|
+
'.MuiFilledInput-input.MuiInputBase-inputSizeSmall': {
|
4605
|
+
paddingBlock: 'none'
|
4574
4606
|
},
|
4575
|
-
|
4607
|
+
'.MuiFilledInput-input': {
|
4576
4608
|
paddingTop: 22,
|
4577
4609
|
paddingBottom: 6
|
4578
4610
|
}
|
@@ -4582,23 +4614,23 @@ const Componentes = {
|
|
4582
4614
|
MuiOutlinedInput: {
|
4583
4615
|
styleOverrides: {
|
4584
4616
|
notchedOutline: {
|
4585
|
-
borderColor:
|
4617
|
+
borderColor: 'rgba(16, 24, 64, 0.23)'
|
4586
4618
|
}
|
4587
4619
|
}
|
4588
4620
|
},
|
4589
4621
|
MuiAutocomplete: {
|
4590
4622
|
defaultProps: {
|
4591
|
-
size:
|
4623
|
+
size: 'small'
|
4592
4624
|
},
|
4593
4625
|
styleOverrides: {
|
4594
4626
|
root: {
|
4595
|
-
|
4596
|
-
padding:
|
4627
|
+
'&.MuiAutocomplete-root .MuiOutlinedInput-root': {
|
4628
|
+
padding: '6px 14px 6px 10px'
|
4597
4629
|
},
|
4598
|
-
|
4630
|
+
'&.MuiAutocomplete-root .MuiOutlinedInput-root.MuiInputBase-sizeSmall': {
|
4599
4631
|
paddingBlock: 3.5,
|
4600
4632
|
paddingRight: 14,
|
4601
|
-
|
4633
|
+
'.MuiIconButton-sizeSmall .MuiAutocomplete-popupIndicator': {
|
4602
4634
|
padding: 5
|
4603
4635
|
}
|
4604
4636
|
}
|
@@ -4608,26 +4640,26 @@ const Componentes = {
|
|
4608
4640
|
MuiCard: {
|
4609
4641
|
styleOverrides: {
|
4610
4642
|
root: {
|
4611
|
-
overflow:
|
4643
|
+
overflow: 'initial'
|
4612
4644
|
}
|
4613
4645
|
}
|
4614
4646
|
},
|
4615
4647
|
MuiInputLabel: {
|
4616
4648
|
styleOverrides: {
|
4617
4649
|
outlined: {
|
4618
|
-
|
4619
|
-
transform:
|
4650
|
+
'&.MuiInputLabel-outlined.MuiInputLabel-sizeSmall ': {
|
4651
|
+
transform: 'translate(14px,7px) scale(1)'
|
4620
4652
|
},
|
4621
|
-
|
4622
|
-
transform:
|
4623
|
-
|
4624
|
-
transform:
|
4653
|
+
'&.MuiInputLabel-outlined ': {
|
4654
|
+
transform: 'translate(14px, 15px) scale(1)',
|
4655
|
+
'&.MuiInputLabel-shrink': {
|
4656
|
+
transform: 'translate(14px, -7px) scale(0.75)'
|
4625
4657
|
}
|
4626
4658
|
}
|
4627
4659
|
}
|
4628
4660
|
},
|
4629
4661
|
defaultProps: {
|
4630
|
-
margin:
|
4662
|
+
margin: 'dense'
|
4631
4663
|
}
|
4632
4664
|
},
|
4633
4665
|
MuiCardHeader: {
|
@@ -4639,18 +4671,18 @@ const Componentes = {
|
|
4639
4671
|
},
|
4640
4672
|
MuiRadio: {
|
4641
4673
|
defaultProps: {
|
4642
|
-
size:
|
4674
|
+
size: 'small'
|
4643
4675
|
}
|
4644
4676
|
},
|
4645
4677
|
MuiSwitch: {
|
4646
4678
|
defaultProps: {
|
4647
|
-
size:
|
4679
|
+
size: 'small'
|
4648
4680
|
}
|
4649
4681
|
},
|
4650
4682
|
MuiTextField: {
|
4651
4683
|
defaultProps: {
|
4652
|
-
size:
|
4653
|
-
margin:
|
4684
|
+
size: 'small',
|
4685
|
+
margin: 'none'
|
4654
4686
|
}
|
4655
4687
|
},
|
4656
4688
|
MuiList: {
|
@@ -4665,7 +4697,7 @@ const Componentes = {
|
|
4665
4697
|
},
|
4666
4698
|
MuiTable: {
|
4667
4699
|
defaultProps: {
|
4668
|
-
size:
|
4700
|
+
size: 'small'
|
4669
4701
|
}
|
4670
4702
|
}
|
4671
4703
|
};
|
@@ -4847,540 +4879,4 @@ const themeOptions = {
|
|
4847
4879
|
|
4848
4880
|
const SincoTheme = createTheme(Object.assign({}, themeOptions));
|
4849
4881
|
|
4850
|
-
var objectDefineProperties = {};
|
4851
|
-
|
4852
|
-
var DESCRIPTORS$1 = descriptors;
|
4853
|
-
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
4854
|
-
var definePropertyModule = objectDefineProperty;
|
4855
|
-
var anObject$2 = anObject$5;
|
4856
|
-
var toIndexedObject$1 = toIndexedObject$5;
|
4857
|
-
var objectKeys = objectKeys$2;
|
4858
|
-
|
4859
|
-
// `Object.defineProperties` method
|
4860
|
-
// https://tc39.es/ecma262/#sec-object.defineproperties
|
4861
|
-
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
4862
|
-
objectDefineProperties.f = DESCRIPTORS$1 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
4863
|
-
anObject$2(O);
|
4864
|
-
var props = toIndexedObject$1(Properties);
|
4865
|
-
var keys = objectKeys(Properties);
|
4866
|
-
var length = keys.length;
|
4867
|
-
var index = 0;
|
4868
|
-
var key;
|
4869
|
-
while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
|
4870
|
-
return O;
|
4871
|
-
};
|
4872
|
-
|
4873
|
-
var getBuiltIn = getBuiltIn$3;
|
4874
|
-
|
4875
|
-
var html$1 = getBuiltIn('document', 'documentElement');
|
4876
|
-
|
4877
|
-
/* global ActiveXObject -- old IE, WSH */
|
4878
|
-
|
4879
|
-
var anObject$1 = anObject$5;
|
4880
|
-
var definePropertiesModule = objectDefineProperties;
|
4881
|
-
var enumBugKeys = enumBugKeys$3;
|
4882
|
-
var hiddenKeys = hiddenKeys$4;
|
4883
|
-
var html = html$1;
|
4884
|
-
var documentCreateElement$1 = documentCreateElement$2;
|
4885
|
-
var sharedKey$1 = sharedKey$3;
|
4886
|
-
|
4887
|
-
var GT = '>';
|
4888
|
-
var LT = '<';
|
4889
|
-
var PROTOTYPE = 'prototype';
|
4890
|
-
var SCRIPT = 'script';
|
4891
|
-
var IE_PROTO$1 = sharedKey$1('IE_PROTO');
|
4892
|
-
|
4893
|
-
var EmptyConstructor = function () { /* empty */ };
|
4894
|
-
|
4895
|
-
var scriptTag = function (content) {
|
4896
|
-
return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
|
4897
|
-
};
|
4898
|
-
|
4899
|
-
// Create object with fake `null` prototype: use ActiveX Object with cleared prototype
|
4900
|
-
var NullProtoObjectViaActiveX = function (activeXDocument) {
|
4901
|
-
activeXDocument.write(scriptTag(''));
|
4902
|
-
activeXDocument.close();
|
4903
|
-
var temp = activeXDocument.parentWindow.Object;
|
4904
|
-
activeXDocument = null; // avoid memory leak
|
4905
|
-
return temp;
|
4906
|
-
};
|
4907
|
-
|
4908
|
-
// Create object with fake `null` prototype: use iframe Object with cleared prototype
|
4909
|
-
var NullProtoObjectViaIFrame = function () {
|
4910
|
-
// Thrash, waste and sodomy: IE GC bug
|
4911
|
-
var iframe = documentCreateElement$1('iframe');
|
4912
|
-
var JS = 'java' + SCRIPT + ':';
|
4913
|
-
var iframeDocument;
|
4914
|
-
iframe.style.display = 'none';
|
4915
|
-
html.appendChild(iframe);
|
4916
|
-
// https://github.com/zloirock/core-js/issues/475
|
4917
|
-
iframe.src = String(JS);
|
4918
|
-
iframeDocument = iframe.contentWindow.document;
|
4919
|
-
iframeDocument.open();
|
4920
|
-
iframeDocument.write(scriptTag('document.F=Object'));
|
4921
|
-
iframeDocument.close();
|
4922
|
-
return iframeDocument.F;
|
4923
|
-
};
|
4924
|
-
|
4925
|
-
// Check for document.domain and active x support
|
4926
|
-
// No need to use active x approach when document.domain is not set
|
4927
|
-
// see https://github.com/es-shims/es5-shim/issues/150
|
4928
|
-
// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
|
4929
|
-
// avoid IE GC bug
|
4930
|
-
var activeXDocument;
|
4931
|
-
var NullProtoObject = function () {
|
4932
|
-
try {
|
4933
|
-
activeXDocument = new ActiveXObject('htmlfile');
|
4934
|
-
} catch (error) { /* ignore */ }
|
4935
|
-
NullProtoObject = typeof document != 'undefined'
|
4936
|
-
? document.domain && activeXDocument
|
4937
|
-
? NullProtoObjectViaActiveX(activeXDocument) // old IE
|
4938
|
-
: NullProtoObjectViaIFrame()
|
4939
|
-
: NullProtoObjectViaActiveX(activeXDocument); // WSH
|
4940
|
-
var length = enumBugKeys.length;
|
4941
|
-
while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
|
4942
|
-
return NullProtoObject();
|
4943
|
-
};
|
4944
|
-
|
4945
|
-
hiddenKeys[IE_PROTO$1] = true;
|
4946
|
-
|
4947
|
-
// `Object.create` method
|
4948
|
-
// https://tc39.es/ecma262/#sec-object.create
|
4949
|
-
// eslint-disable-next-line es/no-object-create -- safe
|
4950
|
-
var objectCreate = Object.create || function create(O, Properties) {
|
4951
|
-
var result;
|
4952
|
-
if (O !== null) {
|
4953
|
-
EmptyConstructor[PROTOTYPE] = anObject$1(O);
|
4954
|
-
result = new EmptyConstructor();
|
4955
|
-
EmptyConstructor[PROTOTYPE] = null;
|
4956
|
-
// add "__proto__" for Object.getPrototypeOf polyfill
|
4957
|
-
result[IE_PROTO$1] = O;
|
4958
|
-
} else result = NullProtoObject();
|
4959
|
-
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
4960
|
-
};
|
4961
|
-
|
4962
|
-
var wellKnownSymbol$4 = wellKnownSymbol$6;
|
4963
|
-
var create$1 = objectCreate;
|
4964
|
-
var defineProperty$2 = objectDefineProperty.f;
|
4965
|
-
|
4966
|
-
var UNSCOPABLES = wellKnownSymbol$4('unscopables');
|
4967
|
-
var ArrayPrototype = Array.prototype;
|
4968
|
-
|
4969
|
-
// Array.prototype[@@unscopables]
|
4970
|
-
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
4971
|
-
if (ArrayPrototype[UNSCOPABLES] == undefined) {
|
4972
|
-
defineProperty$2(ArrayPrototype, UNSCOPABLES, {
|
4973
|
-
configurable: true,
|
4974
|
-
value: create$1(null)
|
4975
|
-
});
|
4976
|
-
}
|
4977
|
-
|
4978
|
-
// add a key to Array.prototype[@@unscopables]
|
4979
|
-
var addToUnscopables$1 = function (key) {
|
4980
|
-
ArrayPrototype[UNSCOPABLES][key] = true;
|
4981
|
-
};
|
4982
|
-
|
4983
|
-
var iterators = {};
|
4984
|
-
|
4985
|
-
var fails$1 = fails$b;
|
4986
|
-
|
4987
|
-
var correctPrototypeGetter = !fails$1(function () {
|
4988
|
-
function F() { /* empty */ }
|
4989
|
-
F.prototype.constructor = null;
|
4990
|
-
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
4991
|
-
return Object.getPrototypeOf(new F()) !== F.prototype;
|
4992
|
-
});
|
4993
|
-
|
4994
|
-
var hasOwn$1 = hasOwnProperty_1;
|
4995
|
-
var isCallable$3 = isCallable$e;
|
4996
|
-
var toObject = toObject$4;
|
4997
|
-
var sharedKey = sharedKey$3;
|
4998
|
-
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
4999
|
-
|
5000
|
-
var IE_PROTO = sharedKey('IE_PROTO');
|
5001
|
-
var $Object = Object;
|
5002
|
-
var ObjectPrototype = $Object.prototype;
|
5003
|
-
|
5004
|
-
// `Object.getPrototypeOf` method
|
5005
|
-
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
5006
|
-
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
5007
|
-
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
|
5008
|
-
var object = toObject(O);
|
5009
|
-
if (hasOwn$1(object, IE_PROTO)) return object[IE_PROTO];
|
5010
|
-
var constructor = object.constructor;
|
5011
|
-
if (isCallable$3(constructor) && object instanceof constructor) {
|
5012
|
-
return constructor.prototype;
|
5013
|
-
} return object instanceof $Object ? ObjectPrototype : null;
|
5014
|
-
};
|
5015
|
-
|
5016
|
-
var fails = fails$b;
|
5017
|
-
var isCallable$2 = isCallable$e;
|
5018
|
-
var isObject = isObject$6;
|
5019
|
-
var getPrototypeOf$1 = objectGetPrototypeOf;
|
5020
|
-
var defineBuiltIn$1 = defineBuiltIn$3;
|
5021
|
-
var wellKnownSymbol$3 = wellKnownSymbol$6;
|
5022
|
-
|
5023
|
-
var ITERATOR$2 = wellKnownSymbol$3('iterator');
|
5024
|
-
var BUGGY_SAFARI_ITERATORS$1 = false;
|
5025
|
-
|
5026
|
-
// `%IteratorPrototype%` object
|
5027
|
-
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
|
5028
|
-
var IteratorPrototype$2, PrototypeOfArrayIteratorPrototype, arrayIterator;
|
5029
|
-
|
5030
|
-
/* eslint-disable es/no-array-prototype-keys -- safe */
|
5031
|
-
if ([].keys) {
|
5032
|
-
arrayIterator = [].keys();
|
5033
|
-
// Safari 8 has buggy iterators w/o `next`
|
5034
|
-
if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS$1 = true;
|
5035
|
-
else {
|
5036
|
-
PrototypeOfArrayIteratorPrototype = getPrototypeOf$1(getPrototypeOf$1(arrayIterator));
|
5037
|
-
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$2 = PrototypeOfArrayIteratorPrototype;
|
5038
|
-
}
|
5039
|
-
}
|
5040
|
-
|
5041
|
-
var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype$2) || fails(function () {
|
5042
|
-
var test = {};
|
5043
|
-
// FF44- legacy iterators case
|
5044
|
-
return IteratorPrototype$2[ITERATOR$2].call(test) !== test;
|
5045
|
-
});
|
5046
|
-
|
5047
|
-
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
|
5048
|
-
|
5049
|
-
// `%IteratorPrototype%[@@iterator]()` method
|
5050
|
-
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
5051
|
-
if (!isCallable$2(IteratorPrototype$2[ITERATOR$2])) {
|
5052
|
-
defineBuiltIn$1(IteratorPrototype$2, ITERATOR$2, function () {
|
5053
|
-
return this;
|
5054
|
-
});
|
5055
|
-
}
|
5056
|
-
|
5057
|
-
var iteratorsCore = {
|
5058
|
-
IteratorPrototype: IteratorPrototype$2,
|
5059
|
-
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
|
5060
|
-
};
|
5061
|
-
|
5062
|
-
var defineProperty$1 = objectDefineProperty.f;
|
5063
|
-
var hasOwn = hasOwnProperty_1;
|
5064
|
-
var wellKnownSymbol$2 = wellKnownSymbol$6;
|
5065
|
-
|
5066
|
-
var TO_STRING_TAG$1 = wellKnownSymbol$2('toStringTag');
|
5067
|
-
|
5068
|
-
var setToStringTag$2 = function (target, TAG, STATIC) {
|
5069
|
-
if (target && !STATIC) target = target.prototype;
|
5070
|
-
if (target && !hasOwn(target, TO_STRING_TAG$1)) {
|
5071
|
-
defineProperty$1(target, TO_STRING_TAG$1, { configurable: true, value: TAG });
|
5072
|
-
}
|
5073
|
-
};
|
5074
|
-
|
5075
|
-
var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
|
5076
|
-
var create = objectCreate;
|
5077
|
-
var createPropertyDescriptor = createPropertyDescriptor$3;
|
5078
|
-
var setToStringTag$1 = setToStringTag$2;
|
5079
|
-
var Iterators$2 = iterators;
|
5080
|
-
|
5081
|
-
var returnThis$1 = function () { return this; };
|
5082
|
-
|
5083
|
-
var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
|
5084
|
-
var TO_STRING_TAG = NAME + ' Iterator';
|
5085
|
-
IteratorConstructor.prototype = create(IteratorPrototype$1, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });
|
5086
|
-
setToStringTag$1(IteratorConstructor, TO_STRING_TAG, false);
|
5087
|
-
Iterators$2[TO_STRING_TAG] = returnThis$1;
|
5088
|
-
return IteratorConstructor;
|
5089
|
-
};
|
5090
|
-
|
5091
|
-
var uncurryThis = functionUncurryThis;
|
5092
|
-
var aCallable = aCallable$2;
|
5093
|
-
|
5094
|
-
var functionUncurryThisAccessor = function (object, key, method) {
|
5095
|
-
try {
|
5096
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
5097
|
-
return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
|
5098
|
-
} catch (error) { /* empty */ }
|
5099
|
-
};
|
5100
|
-
|
5101
|
-
var isCallable$1 = isCallable$e;
|
5102
|
-
|
5103
|
-
var $String = String;
|
5104
|
-
var $TypeError = TypeError;
|
5105
|
-
|
5106
|
-
var aPossiblePrototype$1 = function (argument) {
|
5107
|
-
if (typeof argument == 'object' || isCallable$1(argument)) return argument;
|
5108
|
-
throw $TypeError("Can't set " + $String(argument) + ' as a prototype');
|
5109
|
-
};
|
5110
|
-
|
5111
|
-
/* eslint-disable no-proto -- safe */
|
5112
|
-
|
5113
|
-
var uncurryThisAccessor = functionUncurryThisAccessor;
|
5114
|
-
var anObject = anObject$5;
|
5115
|
-
var aPossiblePrototype = aPossiblePrototype$1;
|
5116
|
-
|
5117
|
-
// `Object.setPrototypeOf` method
|
5118
|
-
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
5119
|
-
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
5120
|
-
// eslint-disable-next-line es/no-object-setprototypeof -- safe
|
5121
|
-
var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
5122
|
-
var CORRECT_SETTER = false;
|
5123
|
-
var test = {};
|
5124
|
-
var setter;
|
5125
|
-
try {
|
5126
|
-
setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');
|
5127
|
-
setter(test, []);
|
5128
|
-
CORRECT_SETTER = test instanceof Array;
|
5129
|
-
} catch (error) { /* empty */ }
|
5130
|
-
return function setPrototypeOf(O, proto) {
|
5131
|
-
anObject(O);
|
5132
|
-
aPossiblePrototype(proto);
|
5133
|
-
if (CORRECT_SETTER) setter(O, proto);
|
5134
|
-
else O.__proto__ = proto;
|
5135
|
-
return O;
|
5136
|
-
};
|
5137
|
-
}() : undefined);
|
5138
|
-
|
5139
|
-
var $ = _export;
|
5140
|
-
var call = functionCall;
|
5141
|
-
var FunctionName = functionName;
|
5142
|
-
var isCallable = isCallable$e;
|
5143
|
-
var createIteratorConstructor = iteratorCreateConstructor;
|
5144
|
-
var getPrototypeOf = objectGetPrototypeOf;
|
5145
|
-
var setPrototypeOf = objectSetPrototypeOf;
|
5146
|
-
var setToStringTag = setToStringTag$2;
|
5147
|
-
var createNonEnumerableProperty$1 = createNonEnumerableProperty$4;
|
5148
|
-
var defineBuiltIn = defineBuiltIn$3;
|
5149
|
-
var wellKnownSymbol$1 = wellKnownSymbol$6;
|
5150
|
-
var Iterators$1 = iterators;
|
5151
|
-
var IteratorsCore = iteratorsCore;
|
5152
|
-
|
5153
|
-
var PROPER_FUNCTION_NAME = FunctionName.PROPER;
|
5154
|
-
var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
|
5155
|
-
var IteratorPrototype = IteratorsCore.IteratorPrototype;
|
5156
|
-
var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
|
5157
|
-
var ITERATOR$1 = wellKnownSymbol$1('iterator');
|
5158
|
-
var KEYS = 'keys';
|
5159
|
-
var VALUES = 'values';
|
5160
|
-
var ENTRIES = 'entries';
|
5161
|
-
|
5162
|
-
var returnThis = function () { return this; };
|
5163
|
-
|
5164
|
-
var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
|
5165
|
-
createIteratorConstructor(IteratorConstructor, NAME, next);
|
5166
|
-
|
5167
|
-
var getIterationMethod = function (KIND) {
|
5168
|
-
if (KIND === DEFAULT && defaultIterator) return defaultIterator;
|
5169
|
-
if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];
|
5170
|
-
switch (KIND) {
|
5171
|
-
case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
|
5172
|
-
case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
|
5173
|
-
case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
|
5174
|
-
} return function () { return new IteratorConstructor(this); };
|
5175
|
-
};
|
5176
|
-
|
5177
|
-
var TO_STRING_TAG = NAME + ' Iterator';
|
5178
|
-
var INCORRECT_VALUES_NAME = false;
|
5179
|
-
var IterablePrototype = Iterable.prototype;
|
5180
|
-
var nativeIterator = IterablePrototype[ITERATOR$1]
|
5181
|
-
|| IterablePrototype['@@iterator']
|
5182
|
-
|| DEFAULT && IterablePrototype[DEFAULT];
|
5183
|
-
var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
|
5184
|
-
var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
|
5185
|
-
var CurrentIteratorPrototype, methods, KEY;
|
5186
|
-
|
5187
|
-
// fix native
|
5188
|
-
if (anyNativeIterator) {
|
5189
|
-
CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
|
5190
|
-
if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
|
5191
|
-
if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
|
5192
|
-
if (setPrototypeOf) {
|
5193
|
-
setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
|
5194
|
-
} else if (!isCallable(CurrentIteratorPrototype[ITERATOR$1])) {
|
5195
|
-
defineBuiltIn(CurrentIteratorPrototype, ITERATOR$1, returnThis);
|
5196
|
-
}
|
5197
|
-
}
|
5198
|
-
// Set @@toStringTag to native iterators
|
5199
|
-
setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true);
|
5200
|
-
}
|
5201
|
-
}
|
5202
|
-
|
5203
|
-
// fix Array.prototype.{ values, @@iterator }.name in V8 / FF
|
5204
|
-
if (PROPER_FUNCTION_NAME && DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {
|
5205
|
-
if (CONFIGURABLE_FUNCTION_NAME) {
|
5206
|
-
createNonEnumerableProperty$1(IterablePrototype, 'name', VALUES);
|
5207
|
-
} else {
|
5208
|
-
INCORRECT_VALUES_NAME = true;
|
5209
|
-
defaultIterator = function values() { return call(nativeIterator, this); };
|
5210
|
-
}
|
5211
|
-
}
|
5212
|
-
|
5213
|
-
// export additional methods
|
5214
|
-
if (DEFAULT) {
|
5215
|
-
methods = {
|
5216
|
-
values: getIterationMethod(VALUES),
|
5217
|
-
keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
|
5218
|
-
entries: getIterationMethod(ENTRIES)
|
5219
|
-
};
|
5220
|
-
if (FORCED) for (KEY in methods) {
|
5221
|
-
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
5222
|
-
defineBuiltIn(IterablePrototype, KEY, methods[KEY]);
|
5223
|
-
}
|
5224
|
-
} else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
|
5225
|
-
}
|
5226
|
-
|
5227
|
-
// define iterator
|
5228
|
-
if (IterablePrototype[ITERATOR$1] !== defaultIterator) {
|
5229
|
-
defineBuiltIn(IterablePrototype, ITERATOR$1, defaultIterator, { name: DEFAULT });
|
5230
|
-
}
|
5231
|
-
Iterators$1[NAME] = defaultIterator;
|
5232
|
-
|
5233
|
-
return methods;
|
5234
|
-
};
|
5235
|
-
|
5236
|
-
// `CreateIterResultObject` abstract operation
|
5237
|
-
// https://tc39.es/ecma262/#sec-createiterresultobject
|
5238
|
-
var createIterResultObject$1 = function (value, done) {
|
5239
|
-
return { value: value, done: done };
|
5240
|
-
};
|
5241
|
-
|
5242
|
-
var toIndexedObject = toIndexedObject$5;
|
5243
|
-
var addToUnscopables = addToUnscopables$1;
|
5244
|
-
var Iterators = iterators;
|
5245
|
-
var InternalStateModule = internalState;
|
5246
|
-
var defineProperty = objectDefineProperty.f;
|
5247
|
-
var defineIterator = iteratorDefine;
|
5248
|
-
var createIterResultObject = createIterResultObject$1;
|
5249
|
-
var DESCRIPTORS = descriptors;
|
5250
|
-
|
5251
|
-
var ARRAY_ITERATOR = 'Array Iterator';
|
5252
|
-
var setInternalState = InternalStateModule.set;
|
5253
|
-
var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);
|
5254
|
-
|
5255
|
-
// `Array.prototype.entries` method
|
5256
|
-
// https://tc39.es/ecma262/#sec-array.prototype.entries
|
5257
|
-
// `Array.prototype.keys` method
|
5258
|
-
// https://tc39.es/ecma262/#sec-array.prototype.keys
|
5259
|
-
// `Array.prototype.values` method
|
5260
|
-
// https://tc39.es/ecma262/#sec-array.prototype.values
|
5261
|
-
// `Array.prototype[@@iterator]` method
|
5262
|
-
// https://tc39.es/ecma262/#sec-array.prototype-@@iterator
|
5263
|
-
// `CreateArrayIterator` internal method
|
5264
|
-
// https://tc39.es/ecma262/#sec-createarrayiterator
|
5265
|
-
var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind) {
|
5266
|
-
setInternalState(this, {
|
5267
|
-
type: ARRAY_ITERATOR,
|
5268
|
-
target: toIndexedObject(iterated), // target
|
5269
|
-
index: 0, // next index
|
5270
|
-
kind: kind // kind
|
5271
|
-
});
|
5272
|
-
// `%ArrayIteratorPrototype%.next` method
|
5273
|
-
// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next
|
5274
|
-
}, function () {
|
5275
|
-
var state = getInternalState(this);
|
5276
|
-
var target = state.target;
|
5277
|
-
var kind = state.kind;
|
5278
|
-
var index = state.index++;
|
5279
|
-
if (!target || index >= target.length) {
|
5280
|
-
state.target = undefined;
|
5281
|
-
return createIterResultObject(undefined, true);
|
5282
|
-
}
|
5283
|
-
if (kind == 'keys') return createIterResultObject(index, false);
|
5284
|
-
if (kind == 'values') return createIterResultObject(target[index], false);
|
5285
|
-
return createIterResultObject([index, target[index]], false);
|
5286
|
-
}, 'values');
|
5287
|
-
|
5288
|
-
// argumentsList[@@iterator] is %ArrayProto_values%
|
5289
|
-
// https://tc39.es/ecma262/#sec-createunmappedargumentsobject
|
5290
|
-
// https://tc39.es/ecma262/#sec-createmappedargumentsobject
|
5291
|
-
var values = Iterators.Arguments = Iterators.Array;
|
5292
|
-
|
5293
|
-
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
5294
|
-
addToUnscopables('keys');
|
5295
|
-
addToUnscopables('values');
|
5296
|
-
addToUnscopables('entries');
|
5297
|
-
|
5298
|
-
// V8 ~ Chrome 45- bug
|
5299
|
-
if (DESCRIPTORS && values.name !== 'values') try {
|
5300
|
-
defineProperty(values, 'name', { value: 'values' });
|
5301
|
-
} catch (error) { /* empty */ }
|
5302
|
-
|
5303
|
-
// iterable DOM collections
|
5304
|
-
// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
|
5305
|
-
var domIterables = {
|
5306
|
-
CSSRuleList: 0,
|
5307
|
-
CSSStyleDeclaration: 0,
|
5308
|
-
CSSValueList: 0,
|
5309
|
-
ClientRectList: 0,
|
5310
|
-
DOMRectList: 0,
|
5311
|
-
DOMStringList: 0,
|
5312
|
-
DOMTokenList: 1,
|
5313
|
-
DataTransferItemList: 0,
|
5314
|
-
FileList: 0,
|
5315
|
-
HTMLAllCollection: 0,
|
5316
|
-
HTMLCollection: 0,
|
5317
|
-
HTMLFormElement: 0,
|
5318
|
-
HTMLSelectElement: 0,
|
5319
|
-
MediaList: 0,
|
5320
|
-
MimeTypeArray: 0,
|
5321
|
-
NamedNodeMap: 0,
|
5322
|
-
NodeList: 1,
|
5323
|
-
PaintRequestList: 0,
|
5324
|
-
Plugin: 0,
|
5325
|
-
PluginArray: 0,
|
5326
|
-
SVGLengthList: 0,
|
5327
|
-
SVGNumberList: 0,
|
5328
|
-
SVGPathSegList: 0,
|
5329
|
-
SVGPointList: 0,
|
5330
|
-
SVGStringList: 0,
|
5331
|
-
SVGTransformList: 0,
|
5332
|
-
SourceBufferList: 0,
|
5333
|
-
StyleSheetList: 0,
|
5334
|
-
TextTrackCueList: 0,
|
5335
|
-
TextTrackList: 0,
|
5336
|
-
TouchList: 0
|
5337
|
-
};
|
5338
|
-
|
5339
|
-
// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`
|
5340
|
-
var documentCreateElement = documentCreateElement$2;
|
5341
|
-
|
5342
|
-
var classList = documentCreateElement('span').classList;
|
5343
|
-
var DOMTokenListPrototype$1 = classList && classList.constructor && classList.constructor.prototype;
|
5344
|
-
|
5345
|
-
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
5346
|
-
|
5347
|
-
var global$1 = global$c;
|
5348
|
-
var DOMIterables = domIterables;
|
5349
|
-
var DOMTokenListPrototype = domTokenListPrototype;
|
5350
|
-
var ArrayIteratorMethods = es_array_iterator;
|
5351
|
-
var createNonEnumerableProperty = createNonEnumerableProperty$4;
|
5352
|
-
var wellKnownSymbol = wellKnownSymbol$6;
|
5353
|
-
|
5354
|
-
var ITERATOR = wellKnownSymbol('iterator');
|
5355
|
-
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
5356
|
-
var ArrayValues = ArrayIteratorMethods.values;
|
5357
|
-
|
5358
|
-
var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
5359
|
-
if (CollectionPrototype) {
|
5360
|
-
// some Chrome versions have non-configurable methods on DOMTokenList
|
5361
|
-
if (CollectionPrototype[ITERATOR] !== ArrayValues) try {
|
5362
|
-
createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);
|
5363
|
-
} catch (error) {
|
5364
|
-
CollectionPrototype[ITERATOR] = ArrayValues;
|
5365
|
-
}
|
5366
|
-
if (!CollectionPrototype[TO_STRING_TAG]) {
|
5367
|
-
createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);
|
5368
|
-
}
|
5369
|
-
if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
|
5370
|
-
// some Chrome versions have non-configurable methods on DOMTokenList
|
5371
|
-
if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
|
5372
|
-
createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
|
5373
|
-
} catch (error) {
|
5374
|
-
CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
|
5375
|
-
}
|
5376
|
-
}
|
5377
|
-
}
|
5378
|
-
};
|
5379
|
-
|
5380
|
-
for (var COLLECTION_NAME in DOMIterables) {
|
5381
|
-
handlePrototype(global$1[COLLECTION_NAME] && global$1[COLLECTION_NAME].prototype, COLLECTION_NAME);
|
5382
|
-
}
|
5383
|
-
|
5384
|
-
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
5385
|
-
|
5386
4882
|
export { SincoTheme };
|