@bolttech/molecules-dropdown 0.33.2 → 0.34.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{index.cjs → index.cjs.js} +1141 -483
- package/index.d.ts +1 -0
- package/package.json +12 -15
- package/src/lib/molecules-dropdown-with-header-options.d.ts +17 -18
- package/src/lib/molecules-dropdown.d.ts +17 -18
- package/src/lib/molecules-dropdown.styles.d.ts +576 -518
- package/src/lib/molecules-dropdown.type.d.ts +1 -1
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
|
-
|
|
6
4
|
var jsxRuntime = require('react/jsx-runtime');
|
|
7
5
|
var react = require('react');
|
|
8
6
|
var atomsSelect = require('@bolttech/atoms-select');
|
|
@@ -12,13 +10,13 @@ var styled = require('styled-components');
|
|
|
12
10
|
var uiUtils = require('@bolttech/ui-utils');
|
|
13
11
|
var reactDom = require('react-dom');
|
|
14
12
|
|
|
15
|
-
function
|
|
13
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
16
14
|
|
|
17
|
-
var styled__default = /*#__PURE__*/
|
|
15
|
+
var styled__default = /*#__PURE__*/_interopDefault(styled);
|
|
18
16
|
|
|
19
17
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
20
18
|
|
|
21
|
-
var fails$
|
|
19
|
+
var fails$j = function (exec) {
|
|
22
20
|
try {
|
|
23
21
|
return !!exec();
|
|
24
22
|
} catch (error) {
|
|
@@ -26,66 +24,67 @@ var fails$h = function (exec) {
|
|
|
26
24
|
}
|
|
27
25
|
};
|
|
28
26
|
|
|
29
|
-
var fails$
|
|
27
|
+
var fails$i = fails$j;
|
|
30
28
|
|
|
31
|
-
var functionBindNative = !fails$
|
|
29
|
+
var functionBindNative = !fails$i(function () {
|
|
32
30
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
33
31
|
var test = (function () { /* empty */ }).bind();
|
|
34
32
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
35
33
|
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
36
34
|
});
|
|
37
35
|
|
|
38
|
-
var NATIVE_BIND$
|
|
36
|
+
var NATIVE_BIND$3 = functionBindNative;
|
|
39
37
|
|
|
40
38
|
var FunctionPrototype$2 = Function.prototype;
|
|
41
|
-
var call$
|
|
42
|
-
|
|
39
|
+
var call$m = FunctionPrototype$2.call;
|
|
40
|
+
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
41
|
+
var uncurryThisWithBind = NATIVE_BIND$3 && FunctionPrototype$2.bind.bind(call$m, call$m);
|
|
43
42
|
|
|
44
|
-
var functionUncurryThis = NATIVE_BIND$
|
|
43
|
+
var functionUncurryThis = NATIVE_BIND$3 ? uncurryThisWithBind : function (fn) {
|
|
45
44
|
return function () {
|
|
46
|
-
return call$
|
|
45
|
+
return call$m.apply(fn, arguments);
|
|
47
46
|
};
|
|
48
47
|
};
|
|
49
48
|
|
|
50
|
-
var uncurryThis$
|
|
49
|
+
var uncurryThis$h = functionUncurryThis;
|
|
51
50
|
|
|
52
|
-
var toString$7 = uncurryThis$
|
|
53
|
-
var stringSlice$5 = uncurryThis$
|
|
51
|
+
var toString$7 = uncurryThis$h({}.toString);
|
|
52
|
+
var stringSlice$5 = uncurryThis$h(''.slice);
|
|
54
53
|
|
|
55
|
-
var classofRaw$
|
|
54
|
+
var classofRaw$2 = function (it) {
|
|
56
55
|
return stringSlice$5(toString$7(it), 8, -1);
|
|
57
56
|
};
|
|
58
57
|
|
|
59
|
-
var uncurryThis$
|
|
60
|
-
var fails$
|
|
61
|
-
var classof$
|
|
58
|
+
var uncurryThis$g = functionUncurryThis;
|
|
59
|
+
var fails$h = fails$j;
|
|
60
|
+
var classof$4 = classofRaw$2;
|
|
62
61
|
|
|
63
62
|
var $Object$4 = Object;
|
|
64
|
-
var split = uncurryThis$
|
|
63
|
+
var split = uncurryThis$g(''.split);
|
|
65
64
|
|
|
66
65
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
67
|
-
var indexedObject = fails$
|
|
66
|
+
var indexedObject = fails$h(function () {
|
|
68
67
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
69
68
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
70
69
|
return !$Object$4('z').propertyIsEnumerable(0);
|
|
71
70
|
}) ? function (it) {
|
|
72
|
-
return classof$
|
|
71
|
+
return classof$4(it) === 'String' ? split(it, '') : $Object$4(it);
|
|
73
72
|
} : $Object$4;
|
|
74
73
|
|
|
75
74
|
// we can't use just `it == null` since of `document.all` special case
|
|
76
75
|
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
|
77
|
-
var isNullOrUndefined$
|
|
76
|
+
var isNullOrUndefined$3 = function (it) {
|
|
78
77
|
return it === null || it === undefined;
|
|
79
78
|
};
|
|
80
79
|
|
|
81
|
-
var isNullOrUndefined$
|
|
80
|
+
var isNullOrUndefined$2 = isNullOrUndefined$3;
|
|
82
81
|
|
|
83
|
-
var $TypeError$
|
|
82
|
+
var $TypeError$b = TypeError;
|
|
84
83
|
|
|
85
84
|
// `RequireObjectCoercible` abstract operation
|
|
86
85
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
87
86
|
var requireObjectCoercible$7 = function (it) {
|
|
88
|
-
if (isNullOrUndefined$
|
|
87
|
+
if (isNullOrUndefined$2(it)) throw new $TypeError$b("Can't call method on " + it);
|
|
89
88
|
return it;
|
|
90
89
|
};
|
|
91
90
|
|
|
@@ -115,34 +114,36 @@ var globalThis_1 =
|
|
|
115
114
|
|
|
116
115
|
var sharedStore = {exports: {}};
|
|
117
116
|
|
|
118
|
-
var globalThis$
|
|
117
|
+
var globalThis$i = globalThis_1;
|
|
119
118
|
|
|
120
119
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
121
|
-
var defineProperty$
|
|
120
|
+
var defineProperty$6 = Object.defineProperty;
|
|
122
121
|
|
|
123
122
|
var defineGlobalProperty$3 = function (key, value) {
|
|
124
123
|
try {
|
|
125
|
-
defineProperty$
|
|
124
|
+
defineProperty$6(globalThis$i, key, { value: value, configurable: true, writable: true });
|
|
126
125
|
} catch (error) {
|
|
127
|
-
globalThis$
|
|
126
|
+
globalThis$i[key] = value;
|
|
128
127
|
} return value;
|
|
129
128
|
};
|
|
130
129
|
|
|
131
|
-
var globalThis$
|
|
130
|
+
var globalThis$h = globalThis_1;
|
|
132
131
|
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
|
133
132
|
|
|
134
133
|
var SHARED = '__core-js_shared__';
|
|
135
|
-
var store$3 = sharedStore.exports = globalThis$
|
|
134
|
+
var store$3 = sharedStore.exports = globalThis$h[SHARED] || defineGlobalProperty$2(SHARED, {});
|
|
136
135
|
|
|
137
136
|
(store$3.versions || (store$3.versions = [])).push({
|
|
138
|
-
version: '3.
|
|
137
|
+
version: '3.48.0',
|
|
139
138
|
mode: 'global',
|
|
140
|
-
copyright: '©
|
|
141
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
139
|
+
copyright: '© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.',
|
|
140
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.48.0/LICENSE',
|
|
142
141
|
source: 'https://github.com/zloirock/core-js'
|
|
143
142
|
});
|
|
144
143
|
|
|
145
|
-
var
|
|
144
|
+
var sharedStoreExports = sharedStore.exports;
|
|
145
|
+
|
|
146
|
+
var store$2 = sharedStoreExports;
|
|
146
147
|
|
|
147
148
|
var shared$4 = function (key, value) {
|
|
148
149
|
return store$2[key] || (store$2[key] = value || {});
|
|
@@ -158,10 +159,10 @@ var toObject$4 = function (argument) {
|
|
|
158
159
|
return $Object$3(requireObjectCoercible$5(argument));
|
|
159
160
|
};
|
|
160
161
|
|
|
161
|
-
var uncurryThis$
|
|
162
|
+
var uncurryThis$f = functionUncurryThis;
|
|
162
163
|
var toObject$3 = toObject$4;
|
|
163
164
|
|
|
164
|
-
var hasOwnProperty = uncurryThis$
|
|
165
|
+
var hasOwnProperty = uncurryThis$f({}.hasOwnProperty);
|
|
165
166
|
|
|
166
167
|
// `HasOwnProperty` abstract operation
|
|
167
168
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
@@ -170,28 +171,28 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
|
170
171
|
return hasOwnProperty(toObject$3(it), key);
|
|
171
172
|
};
|
|
172
173
|
|
|
173
|
-
var uncurryThis$
|
|
174
|
+
var uncurryThis$e = functionUncurryThis;
|
|
174
175
|
|
|
175
176
|
var id = 0;
|
|
176
177
|
var postfix = Math.random();
|
|
177
|
-
var toString$6 = uncurryThis$
|
|
178
|
+
var toString$6 = uncurryThis$e(1.1.toString);
|
|
178
179
|
|
|
179
180
|
var uid$2 = function (key) {
|
|
180
181
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$6(++id + postfix, 36);
|
|
181
182
|
};
|
|
182
183
|
|
|
183
|
-
var globalThis$
|
|
184
|
+
var globalThis$g = globalThis_1;
|
|
184
185
|
|
|
185
|
-
var navigator = globalThis$
|
|
186
|
+
var navigator = globalThis$g.navigator;
|
|
186
187
|
var userAgent$1 = navigator && navigator.userAgent;
|
|
187
188
|
|
|
188
189
|
var environmentUserAgent = userAgent$1 ? String(userAgent$1) : '';
|
|
189
190
|
|
|
190
|
-
var globalThis$
|
|
191
|
+
var globalThis$f = globalThis_1;
|
|
191
192
|
var userAgent = environmentUserAgent;
|
|
192
193
|
|
|
193
|
-
var process = globalThis$
|
|
194
|
-
var Deno = globalThis$
|
|
194
|
+
var process = globalThis$f.process;
|
|
195
|
+
var Deno = globalThis$f.Deno;
|
|
195
196
|
var versions = process && process.versions || Deno && Deno.version;
|
|
196
197
|
var v8 = versions && versions.v8;
|
|
197
198
|
var match, version;
|
|
@@ -217,13 +218,13 @@ var environmentV8Version = version;
|
|
|
217
218
|
|
|
218
219
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
219
220
|
var V8_VERSION = environmentV8Version;
|
|
220
|
-
var fails$
|
|
221
|
-
var globalThis$
|
|
221
|
+
var fails$g = fails$j;
|
|
222
|
+
var globalThis$e = globalThis_1;
|
|
222
223
|
|
|
223
|
-
var $String$5 = globalThis$
|
|
224
|
+
var $String$5 = globalThis$e.String;
|
|
224
225
|
|
|
225
226
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
226
|
-
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$
|
|
227
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$g(function () {
|
|
227
228
|
var symbol = Symbol('symbol detection');
|
|
228
229
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
229
230
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
@@ -241,20 +242,20 @@ var useSymbolAsUid = NATIVE_SYMBOL$1 &&
|
|
|
241
242
|
!Symbol.sham &&
|
|
242
243
|
typeof Symbol.iterator == 'symbol';
|
|
243
244
|
|
|
244
|
-
var globalThis$
|
|
245
|
+
var globalThis$d = globalThis_1;
|
|
245
246
|
var shared$3 = shared$4;
|
|
246
|
-
var hasOwn$
|
|
247
|
+
var hasOwn$a = hasOwnProperty_1;
|
|
247
248
|
var uid$1 = uid$2;
|
|
248
249
|
var NATIVE_SYMBOL = symbolConstructorDetection;
|
|
249
250
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
250
251
|
|
|
251
|
-
var Symbol$1 = globalThis$
|
|
252
|
+
var Symbol$1 = globalThis$d.Symbol;
|
|
252
253
|
var WellKnownSymbolsStore = shared$3('wks');
|
|
253
254
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID$1 ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
|
|
254
255
|
|
|
255
|
-
var wellKnownSymbol$
|
|
256
|
-
if (!hasOwn$
|
|
257
|
-
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$
|
|
256
|
+
var wellKnownSymbol$e = function (name) {
|
|
257
|
+
if (!hasOwn$a(WellKnownSymbolsStore, name)) {
|
|
258
|
+
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$a(Symbol$1, name)
|
|
258
259
|
? Symbol$1[name]
|
|
259
260
|
: createWellKnownSymbol('Symbol.' + name);
|
|
260
261
|
} return WellKnownSymbolsStore[name];
|
|
@@ -266,45 +267,45 @@ var documentAll = typeof document == 'object' && document.all;
|
|
|
266
267
|
// `IsCallable` abstract operation
|
|
267
268
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
268
269
|
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
269
|
-
var isCallable$
|
|
270
|
+
var isCallable$h = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
|
|
270
271
|
return typeof argument == 'function' || argument === documentAll;
|
|
271
272
|
} : function (argument) {
|
|
272
273
|
return typeof argument == 'function';
|
|
273
274
|
};
|
|
274
275
|
|
|
275
|
-
var isCallable$
|
|
276
|
+
var isCallable$g = isCallable$h;
|
|
276
277
|
|
|
277
|
-
var isObject$
|
|
278
|
-
return typeof it == 'object' ? it !== null : isCallable$
|
|
278
|
+
var isObject$a = function (it) {
|
|
279
|
+
return typeof it == 'object' ? it !== null : isCallable$g(it);
|
|
279
280
|
};
|
|
280
281
|
|
|
281
|
-
var isObject$
|
|
282
|
+
var isObject$9 = isObject$a;
|
|
282
283
|
|
|
283
284
|
var $String$4 = String;
|
|
284
|
-
var $TypeError$
|
|
285
|
+
var $TypeError$a = TypeError;
|
|
285
286
|
|
|
286
287
|
// `Assert: Type(argument) is Object`
|
|
287
|
-
var anObject$
|
|
288
|
-
if (isObject$
|
|
289
|
-
throw new $TypeError$
|
|
288
|
+
var anObject$i = function (argument) {
|
|
289
|
+
if (isObject$9(argument)) return argument;
|
|
290
|
+
throw new $TypeError$a($String$4(argument) + ' is not an object');
|
|
290
291
|
};
|
|
291
292
|
|
|
292
293
|
var objectDefineProperties = {};
|
|
293
294
|
|
|
294
|
-
var fails$
|
|
295
|
+
var fails$f = fails$j;
|
|
295
296
|
|
|
296
297
|
// Detect IE8's incomplete defineProperty implementation
|
|
297
|
-
var descriptors = !fails$
|
|
298
|
+
var descriptors = !fails$f(function () {
|
|
298
299
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
299
300
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
|
300
301
|
});
|
|
301
302
|
|
|
302
|
-
var DESCRIPTORS$
|
|
303
|
-
var fails$
|
|
303
|
+
var DESCRIPTORS$b = descriptors;
|
|
304
|
+
var fails$e = fails$j;
|
|
304
305
|
|
|
305
306
|
// V8 ~ Chrome 36-
|
|
306
307
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
307
|
-
var v8PrototypeDefineBug = DESCRIPTORS$
|
|
308
|
+
var v8PrototypeDefineBug = DESCRIPTORS$b && fails$e(function () {
|
|
308
309
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
309
310
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
310
311
|
value: 42,
|
|
@@ -314,55 +315,55 @@ var v8PrototypeDefineBug = DESCRIPTORS$9 && fails$c(function () {
|
|
|
314
315
|
|
|
315
316
|
var objectDefineProperty = {};
|
|
316
317
|
|
|
317
|
-
var globalThis$
|
|
318
|
-
var isObject$
|
|
318
|
+
var globalThis$c = globalThis_1;
|
|
319
|
+
var isObject$8 = isObject$a;
|
|
319
320
|
|
|
320
|
-
var document$1 = globalThis$
|
|
321
|
+
var document$1 = globalThis$c.document;
|
|
321
322
|
// typeof document.createElement is 'object' in old IE
|
|
322
|
-
var EXISTS$1 = isObject$
|
|
323
|
+
var EXISTS$1 = isObject$8(document$1) && isObject$8(document$1.createElement);
|
|
323
324
|
|
|
324
325
|
var documentCreateElement$2 = function (it) {
|
|
325
326
|
return EXISTS$1 ? document$1.createElement(it) : {};
|
|
326
327
|
};
|
|
327
328
|
|
|
328
|
-
var DESCRIPTORS$
|
|
329
|
-
var fails$
|
|
329
|
+
var DESCRIPTORS$a = descriptors;
|
|
330
|
+
var fails$d = fails$j;
|
|
330
331
|
var createElement = documentCreateElement$2;
|
|
331
332
|
|
|
332
333
|
// Thanks to IE8 for its funny defineProperty
|
|
333
|
-
var ie8DomDefine = !DESCRIPTORS$
|
|
334
|
+
var ie8DomDefine = !DESCRIPTORS$a && !fails$d(function () {
|
|
334
335
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
335
336
|
return Object.defineProperty(createElement('div'), 'a', {
|
|
336
337
|
get: function () { return 7; }
|
|
337
338
|
}).a !== 7;
|
|
338
339
|
});
|
|
339
340
|
|
|
340
|
-
var NATIVE_BIND$
|
|
341
|
-
|
|
342
|
-
var call$b = Function.prototype.call;
|
|
341
|
+
var NATIVE_BIND$2 = functionBindNative;
|
|
343
342
|
|
|
344
|
-
var
|
|
345
|
-
|
|
343
|
+
var call$l = Function.prototype.call;
|
|
344
|
+
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
345
|
+
var functionCall = NATIVE_BIND$2 ? call$l.bind(call$l) : function () {
|
|
346
|
+
return call$l.apply(call$l, arguments);
|
|
346
347
|
};
|
|
347
348
|
|
|
348
|
-
var globalThis$
|
|
349
|
-
var isCallable$
|
|
349
|
+
var globalThis$b = globalThis_1;
|
|
350
|
+
var isCallable$f = isCallable$h;
|
|
350
351
|
|
|
351
352
|
var aFunction = function (argument) {
|
|
352
|
-
return isCallable$
|
|
353
|
+
return isCallable$f(argument) ? argument : undefined;
|
|
353
354
|
};
|
|
354
355
|
|
|
355
356
|
var getBuiltIn$3 = function (namespace, method) {
|
|
356
|
-
return arguments.length < 2 ? aFunction(globalThis$
|
|
357
|
+
return arguments.length < 2 ? aFunction(globalThis$b[namespace]) : globalThis$b[namespace] && globalThis$b[namespace][method];
|
|
357
358
|
};
|
|
358
359
|
|
|
359
|
-
var uncurryThis$
|
|
360
|
+
var uncurryThis$d = functionUncurryThis;
|
|
360
361
|
|
|
361
|
-
var objectIsPrototypeOf = uncurryThis$
|
|
362
|
+
var objectIsPrototypeOf = uncurryThis$d({}.isPrototypeOf);
|
|
362
363
|
|
|
363
364
|
var getBuiltIn$2 = getBuiltIn$3;
|
|
364
|
-
var isCallable$
|
|
365
|
-
var isPrototypeOf = objectIsPrototypeOf;
|
|
365
|
+
var isCallable$e = isCallable$h;
|
|
366
|
+
var isPrototypeOf$3 = objectIsPrototypeOf;
|
|
366
367
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
367
368
|
|
|
368
369
|
var $Object$2 = Object;
|
|
@@ -371,12 +372,12 @@ var isSymbol$2 = USE_SYMBOL_AS_UID ? function (it) {
|
|
|
371
372
|
return typeof it == 'symbol';
|
|
372
373
|
} : function (it) {
|
|
373
374
|
var $Symbol = getBuiltIn$2('Symbol');
|
|
374
|
-
return isCallable$
|
|
375
|
+
return isCallable$e($Symbol) && isPrototypeOf$3($Symbol.prototype, $Object$2(it));
|
|
375
376
|
};
|
|
376
377
|
|
|
377
378
|
var $String$3 = String;
|
|
378
379
|
|
|
379
|
-
var tryToString$
|
|
380
|
+
var tryToString$3 = function (argument) {
|
|
380
381
|
try {
|
|
381
382
|
return $String$3(argument);
|
|
382
383
|
} catch (error) {
|
|
@@ -384,64 +385,64 @@ var tryToString$1 = function (argument) {
|
|
|
384
385
|
}
|
|
385
386
|
};
|
|
386
387
|
|
|
387
|
-
var isCallable$
|
|
388
|
-
var tryToString = tryToString$
|
|
388
|
+
var isCallable$d = isCallable$h;
|
|
389
|
+
var tryToString$2 = tryToString$3;
|
|
389
390
|
|
|
390
|
-
var $TypeError$
|
|
391
|
+
var $TypeError$9 = TypeError;
|
|
391
392
|
|
|
392
393
|
// `Assert: IsCallable(argument) is true`
|
|
393
|
-
var aCallable$
|
|
394
|
-
if (isCallable$
|
|
395
|
-
throw new $TypeError$
|
|
394
|
+
var aCallable$9 = function (argument) {
|
|
395
|
+
if (isCallable$d(argument)) return argument;
|
|
396
|
+
throw new $TypeError$9(tryToString$2(argument) + ' is not a function');
|
|
396
397
|
};
|
|
397
398
|
|
|
398
|
-
var aCallable$
|
|
399
|
-
var isNullOrUndefined$
|
|
399
|
+
var aCallable$8 = aCallable$9;
|
|
400
|
+
var isNullOrUndefined$1 = isNullOrUndefined$3;
|
|
400
401
|
|
|
401
402
|
// `GetMethod` abstract operation
|
|
402
403
|
// https://tc39.es/ecma262/#sec-getmethod
|
|
403
|
-
var getMethod$
|
|
404
|
+
var getMethod$6 = function (V, P) {
|
|
404
405
|
var func = V[P];
|
|
405
|
-
return isNullOrUndefined$
|
|
406
|
+
return isNullOrUndefined$1(func) ? undefined : aCallable$8(func);
|
|
406
407
|
};
|
|
407
408
|
|
|
408
|
-
var call$
|
|
409
|
-
var isCallable$
|
|
410
|
-
var isObject$
|
|
409
|
+
var call$k = functionCall;
|
|
410
|
+
var isCallable$c = isCallable$h;
|
|
411
|
+
var isObject$7 = isObject$a;
|
|
411
412
|
|
|
412
|
-
var $TypeError$
|
|
413
|
+
var $TypeError$8 = TypeError;
|
|
413
414
|
|
|
414
415
|
// `OrdinaryToPrimitive` abstract operation
|
|
415
416
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
416
417
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
417
418
|
var fn, val;
|
|
418
|
-
if (pref === 'string' && isCallable$
|
|
419
|
-
if (isCallable$
|
|
420
|
-
if (pref !== 'string' && isCallable$
|
|
421
|
-
throw new $TypeError$
|
|
419
|
+
if (pref === 'string' && isCallable$c(fn = input.toString) && !isObject$7(val = call$k(fn, input))) return val;
|
|
420
|
+
if (isCallable$c(fn = input.valueOf) && !isObject$7(val = call$k(fn, input))) return val;
|
|
421
|
+
if (pref !== 'string' && isCallable$c(fn = input.toString) && !isObject$7(val = call$k(fn, input))) return val;
|
|
422
|
+
throw new $TypeError$8("Can't convert object to primitive value");
|
|
422
423
|
};
|
|
423
424
|
|
|
424
|
-
var call$
|
|
425
|
-
var isObject$
|
|
425
|
+
var call$j = functionCall;
|
|
426
|
+
var isObject$6 = isObject$a;
|
|
426
427
|
var isSymbol$1 = isSymbol$2;
|
|
427
|
-
var getMethod$
|
|
428
|
+
var getMethod$5 = getMethod$6;
|
|
428
429
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
429
|
-
var wellKnownSymbol$
|
|
430
|
+
var wellKnownSymbol$d = wellKnownSymbol$e;
|
|
430
431
|
|
|
431
|
-
var $TypeError$
|
|
432
|
-
var TO_PRIMITIVE = wellKnownSymbol$
|
|
432
|
+
var $TypeError$7 = TypeError;
|
|
433
|
+
var TO_PRIMITIVE = wellKnownSymbol$d('toPrimitive');
|
|
433
434
|
|
|
434
435
|
// `ToPrimitive` abstract operation
|
|
435
436
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
436
437
|
var toPrimitive$1 = function (input, pref) {
|
|
437
|
-
if (!isObject$
|
|
438
|
-
var exoticToPrim = getMethod$
|
|
438
|
+
if (!isObject$6(input) || isSymbol$1(input)) return input;
|
|
439
|
+
var exoticToPrim = getMethod$5(input, TO_PRIMITIVE);
|
|
439
440
|
var result;
|
|
440
441
|
if (exoticToPrim) {
|
|
441
442
|
if (pref === undefined) pref = 'default';
|
|
442
|
-
result = call$
|
|
443
|
-
if (!isObject$
|
|
444
|
-
throw new $TypeError$
|
|
443
|
+
result = call$j(exoticToPrim, input, pref);
|
|
444
|
+
if (!isObject$6(result) || isSymbol$1(result)) return result;
|
|
445
|
+
throw new $TypeError$7("Can't convert object to primitive value");
|
|
445
446
|
}
|
|
446
447
|
if (pref === undefined) pref = 'number';
|
|
447
448
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -457,13 +458,13 @@ var toPropertyKey$2 = function (argument) {
|
|
|
457
458
|
return isSymbol(key) ? key : key + '';
|
|
458
459
|
};
|
|
459
460
|
|
|
460
|
-
var DESCRIPTORS$
|
|
461
|
+
var DESCRIPTORS$9 = descriptors;
|
|
461
462
|
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
462
463
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
463
|
-
var anObject$
|
|
464
|
+
var anObject$h = anObject$i;
|
|
464
465
|
var toPropertyKey$1 = toPropertyKey$2;
|
|
465
466
|
|
|
466
|
-
var $TypeError$
|
|
467
|
+
var $TypeError$6 = TypeError;
|
|
467
468
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
468
469
|
var $defineProperty = Object.defineProperty;
|
|
469
470
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -474,10 +475,10 @@ var WRITABLE = 'writable';
|
|
|
474
475
|
|
|
475
476
|
// `Object.defineProperty` method
|
|
476
477
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
477
|
-
objectDefineProperty.f = DESCRIPTORS$
|
|
478
|
-
anObject$
|
|
478
|
+
objectDefineProperty.f = DESCRIPTORS$9 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
479
|
+
anObject$h(O);
|
|
479
480
|
P = toPropertyKey$1(P);
|
|
480
|
-
anObject$
|
|
481
|
+
anObject$h(Attributes);
|
|
481
482
|
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
482
483
|
var current = $getOwnPropertyDescriptor$1(O, P);
|
|
483
484
|
if (current && current[WRITABLE]) {
|
|
@@ -490,13 +491,13 @@ objectDefineProperty.f = DESCRIPTORS$7 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
490
491
|
}
|
|
491
492
|
} return $defineProperty(O, P, Attributes);
|
|
492
493
|
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
493
|
-
anObject$
|
|
494
|
+
anObject$h(O);
|
|
494
495
|
P = toPropertyKey$1(P);
|
|
495
|
-
anObject$
|
|
496
|
+
anObject$h(Attributes);
|
|
496
497
|
if (IE8_DOM_DEFINE$1) try {
|
|
497
498
|
return $defineProperty(O, P, Attributes);
|
|
498
499
|
} catch (error) { /* empty */ }
|
|
499
|
-
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$
|
|
500
|
+
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$6('Accessors not supported');
|
|
500
501
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
501
502
|
return O;
|
|
502
503
|
};
|
|
@@ -550,19 +551,19 @@ var toLength$1 = toLength$2;
|
|
|
550
551
|
|
|
551
552
|
// `LengthOfArrayLike` abstract operation
|
|
552
553
|
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
|
553
|
-
var lengthOfArrayLike$
|
|
554
|
+
var lengthOfArrayLike$2 = function (obj) {
|
|
554
555
|
return toLength$1(obj.length);
|
|
555
556
|
};
|
|
556
557
|
|
|
557
558
|
var toIndexedObject$4 = toIndexedObject$5;
|
|
558
559
|
var toAbsoluteIndex = toAbsoluteIndex$1;
|
|
559
|
-
var lengthOfArrayLike = lengthOfArrayLike$
|
|
560
|
+
var lengthOfArrayLike$1 = lengthOfArrayLike$2;
|
|
560
561
|
|
|
561
562
|
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
562
563
|
var createMethod$2 = function (IS_INCLUDES) {
|
|
563
564
|
return function ($this, el, fromIndex) {
|
|
564
565
|
var O = toIndexedObject$4($this);
|
|
565
|
-
var length = lengthOfArrayLike(O);
|
|
566
|
+
var length = lengthOfArrayLike$1(O);
|
|
566
567
|
if (length === 0) return !IS_INCLUDES && -1;
|
|
567
568
|
var index = toAbsoluteIndex(fromIndex, length);
|
|
568
569
|
var value;
|
|
@@ -580,9 +581,6 @@ var createMethod$2 = function (IS_INCLUDES) {
|
|
|
580
581
|
};
|
|
581
582
|
|
|
582
583
|
var arrayIncludes = {
|
|
583
|
-
// `Array.prototype.includes` method
|
|
584
|
-
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
585
|
-
includes: createMethod$2(true),
|
|
586
584
|
// `Array.prototype.indexOf` method
|
|
587
585
|
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
|
588
586
|
indexOf: createMethod$2(false)
|
|
@@ -590,22 +588,22 @@ var arrayIncludes = {
|
|
|
590
588
|
|
|
591
589
|
var hiddenKeys$4 = {};
|
|
592
590
|
|
|
593
|
-
var uncurryThis$
|
|
594
|
-
var hasOwn$
|
|
591
|
+
var uncurryThis$c = functionUncurryThis;
|
|
592
|
+
var hasOwn$9 = hasOwnProperty_1;
|
|
595
593
|
var toIndexedObject$3 = toIndexedObject$5;
|
|
596
594
|
var indexOf$1 = arrayIncludes.indexOf;
|
|
597
595
|
var hiddenKeys$3 = hiddenKeys$4;
|
|
598
596
|
|
|
599
|
-
var push$1 = uncurryThis$
|
|
597
|
+
var push$1 = uncurryThis$c([].push);
|
|
600
598
|
|
|
601
599
|
var objectKeysInternal = function (object, names) {
|
|
602
600
|
var O = toIndexedObject$3(object);
|
|
603
601
|
var i = 0;
|
|
604
602
|
var result = [];
|
|
605
603
|
var key;
|
|
606
|
-
for (key in O) !hasOwn$
|
|
604
|
+
for (key in O) !hasOwn$9(hiddenKeys$3, key) && hasOwn$9(O, key) && push$1(result, key);
|
|
607
605
|
// Don't enum bug & hidden keys
|
|
608
|
-
while (names.length > i) if (hasOwn$
|
|
606
|
+
while (names.length > i) if (hasOwn$9(O, key = names[i++])) {
|
|
609
607
|
~indexOf$1(result, key) || push$1(result, key);
|
|
610
608
|
}
|
|
611
609
|
return result;
|
|
@@ -632,24 +630,24 @@ var objectKeys$2 = Object.keys || function keys(O) {
|
|
|
632
630
|
return internalObjectKeys$1(O, enumBugKeys$2);
|
|
633
631
|
};
|
|
634
632
|
|
|
635
|
-
var DESCRIPTORS$
|
|
633
|
+
var DESCRIPTORS$8 = descriptors;
|
|
636
634
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
637
|
-
var definePropertyModule$
|
|
638
|
-
var anObject$
|
|
635
|
+
var definePropertyModule$4 = objectDefineProperty;
|
|
636
|
+
var anObject$g = anObject$i;
|
|
639
637
|
var toIndexedObject$2 = toIndexedObject$5;
|
|
640
638
|
var objectKeys$1 = objectKeys$2;
|
|
641
639
|
|
|
642
640
|
// `Object.defineProperties` method
|
|
643
641
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
644
642
|
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
645
|
-
objectDefineProperties.f = DESCRIPTORS$
|
|
646
|
-
anObject$
|
|
643
|
+
objectDefineProperties.f = DESCRIPTORS$8 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
644
|
+
anObject$g(O);
|
|
647
645
|
var props = toIndexedObject$2(Properties);
|
|
648
646
|
var keys = objectKeys$1(Properties);
|
|
649
647
|
var length = keys.length;
|
|
650
648
|
var index = 0;
|
|
651
649
|
var key;
|
|
652
|
-
while (length > index) definePropertyModule$
|
|
650
|
+
while (length > index) definePropertyModule$4.f(O, key = keys[index++], props[key]);
|
|
653
651
|
return O;
|
|
654
652
|
};
|
|
655
653
|
|
|
@@ -667,7 +665,7 @@ var sharedKey$3 = function (key) {
|
|
|
667
665
|
};
|
|
668
666
|
|
|
669
667
|
/* global ActiveXObject -- old IE, WSH */
|
|
670
|
-
var anObject$
|
|
668
|
+
var anObject$f = anObject$i;
|
|
671
669
|
var definePropertiesModule = objectDefineProperties;
|
|
672
670
|
var enumBugKeys$1 = enumBugKeys$3;
|
|
673
671
|
var hiddenKeys$2 = hiddenKeys$4;
|
|
@@ -742,7 +740,7 @@ hiddenKeys$2[IE_PROTO$1] = true;
|
|
|
742
740
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
743
741
|
var result;
|
|
744
742
|
if (O !== null) {
|
|
745
|
-
EmptyConstructor[PROTOTYPE] = anObject$
|
|
743
|
+
EmptyConstructor[PROTOTYPE] = anObject$f(O);
|
|
746
744
|
result = new EmptyConstructor();
|
|
747
745
|
EmptyConstructor[PROTOTYPE] = null;
|
|
748
746
|
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
@@ -751,37 +749,37 @@ var objectCreate = Object.create || function create(O, Properties) {
|
|
|
751
749
|
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
752
750
|
};
|
|
753
751
|
|
|
754
|
-
var wellKnownSymbol$
|
|
755
|
-
var create$
|
|
756
|
-
var defineProperty$
|
|
752
|
+
var wellKnownSymbol$c = wellKnownSymbol$e;
|
|
753
|
+
var create$3 = objectCreate;
|
|
754
|
+
var defineProperty$5 = objectDefineProperty.f;
|
|
757
755
|
|
|
758
|
-
var UNSCOPABLES = wellKnownSymbol$
|
|
759
|
-
var ArrayPrototype = Array.prototype;
|
|
756
|
+
var UNSCOPABLES = wellKnownSymbol$c('unscopables');
|
|
757
|
+
var ArrayPrototype$1 = Array.prototype;
|
|
760
758
|
|
|
761
759
|
// Array.prototype[@@unscopables]
|
|
762
760
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
763
|
-
if (ArrayPrototype[UNSCOPABLES] === undefined) {
|
|
764
|
-
defineProperty$
|
|
761
|
+
if (ArrayPrototype$1[UNSCOPABLES] === undefined) {
|
|
762
|
+
defineProperty$5(ArrayPrototype$1, UNSCOPABLES, {
|
|
765
763
|
configurable: true,
|
|
766
|
-
value: create$
|
|
764
|
+
value: create$3(null)
|
|
767
765
|
});
|
|
768
766
|
}
|
|
769
767
|
|
|
770
768
|
// add a key to Array.prototype[@@unscopables]
|
|
771
769
|
var addToUnscopables$1 = function (key) {
|
|
772
|
-
ArrayPrototype[UNSCOPABLES][key] = true;
|
|
770
|
+
ArrayPrototype$1[UNSCOPABLES][key] = true;
|
|
773
771
|
};
|
|
774
772
|
|
|
775
773
|
var iterators = {};
|
|
776
774
|
|
|
777
|
-
var globalThis$
|
|
778
|
-
var isCallable$
|
|
775
|
+
var globalThis$a = globalThis_1;
|
|
776
|
+
var isCallable$b = isCallable$h;
|
|
779
777
|
|
|
780
|
-
var WeakMap$1 = globalThis$
|
|
778
|
+
var WeakMap$1 = globalThis$a.WeakMap;
|
|
781
779
|
|
|
782
|
-
var weakMapBasicDetection = isCallable$
|
|
780
|
+
var weakMapBasicDetection = isCallable$b(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
783
781
|
|
|
784
|
-
var createPropertyDescriptor$
|
|
782
|
+
var createPropertyDescriptor$4 = function (bitmap, value) {
|
|
785
783
|
return {
|
|
786
784
|
enumerable: !(bitmap & 1),
|
|
787
785
|
configurable: !(bitmap & 2),
|
|
@@ -790,29 +788,29 @@ var createPropertyDescriptor$3 = function (bitmap, value) {
|
|
|
790
788
|
};
|
|
791
789
|
};
|
|
792
790
|
|
|
793
|
-
var DESCRIPTORS$
|
|
794
|
-
var definePropertyModule$
|
|
795
|
-
var createPropertyDescriptor$
|
|
791
|
+
var DESCRIPTORS$7 = descriptors;
|
|
792
|
+
var definePropertyModule$3 = objectDefineProperty;
|
|
793
|
+
var createPropertyDescriptor$3 = createPropertyDescriptor$4;
|
|
796
794
|
|
|
797
|
-
var createNonEnumerableProperty$
|
|
798
|
-
return definePropertyModule$
|
|
795
|
+
var createNonEnumerableProperty$6 = DESCRIPTORS$7 ? function (object, key, value) {
|
|
796
|
+
return definePropertyModule$3.f(object, key, createPropertyDescriptor$3(1, value));
|
|
799
797
|
} : function (object, key, value) {
|
|
800
798
|
object[key] = value;
|
|
801
799
|
return object;
|
|
802
800
|
};
|
|
803
801
|
|
|
804
802
|
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
805
|
-
var globalThis$
|
|
806
|
-
var isObject$
|
|
807
|
-
var createNonEnumerableProperty$
|
|
808
|
-
var hasOwn$
|
|
809
|
-
var shared$1 =
|
|
803
|
+
var globalThis$9 = globalThis_1;
|
|
804
|
+
var isObject$5 = isObject$a;
|
|
805
|
+
var createNonEnumerableProperty$5 = createNonEnumerableProperty$6;
|
|
806
|
+
var hasOwn$8 = hasOwnProperty_1;
|
|
807
|
+
var shared$1 = sharedStoreExports;
|
|
810
808
|
var sharedKey$1 = sharedKey$3;
|
|
811
809
|
var hiddenKeys$1 = hiddenKeys$4;
|
|
812
810
|
|
|
813
811
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
814
|
-
var TypeError$1 = globalThis$
|
|
815
|
-
var WeakMap = globalThis$
|
|
812
|
+
var TypeError$1 = globalThis$9.TypeError;
|
|
813
|
+
var WeakMap = globalThis$9.WeakMap;
|
|
816
814
|
var set, get, has;
|
|
817
815
|
|
|
818
816
|
var enforce = function (it) {
|
|
@@ -822,7 +820,7 @@ var enforce = function (it) {
|
|
|
822
820
|
var getterFor = function (TYPE) {
|
|
823
821
|
return function (it) {
|
|
824
822
|
var state;
|
|
825
|
-
if (!isObject$
|
|
823
|
+
if (!isObject$5(it) || (state = get(it)).type !== TYPE) {
|
|
826
824
|
throw new TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
|
827
825
|
} return state;
|
|
828
826
|
};
|
|
@@ -851,16 +849,16 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
|
|
|
851
849
|
var STATE = sharedKey$1('state');
|
|
852
850
|
hiddenKeys$1[STATE] = true;
|
|
853
851
|
set = function (it, metadata) {
|
|
854
|
-
if (hasOwn$
|
|
852
|
+
if (hasOwn$8(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
855
853
|
metadata.facade = it;
|
|
856
|
-
createNonEnumerableProperty$
|
|
854
|
+
createNonEnumerableProperty$5(it, STATE, metadata);
|
|
857
855
|
return metadata;
|
|
858
856
|
};
|
|
859
857
|
get = function (it) {
|
|
860
|
-
return hasOwn$
|
|
858
|
+
return hasOwn$8(it, STATE) ? it[STATE] : {};
|
|
861
859
|
};
|
|
862
860
|
has = function (it) {
|
|
863
|
-
return hasOwn$
|
|
861
|
+
return hasOwn$8(it, STATE);
|
|
864
862
|
};
|
|
865
863
|
}
|
|
866
864
|
|
|
@@ -890,13 +888,13 @@ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
|
890
888
|
return !!descriptor && descriptor.enumerable;
|
|
891
889
|
} : $propertyIsEnumerable;
|
|
892
890
|
|
|
893
|
-
var DESCRIPTORS$
|
|
894
|
-
var call$
|
|
891
|
+
var DESCRIPTORS$6 = descriptors;
|
|
892
|
+
var call$i = functionCall;
|
|
895
893
|
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
|
896
|
-
var createPropertyDescriptor$
|
|
894
|
+
var createPropertyDescriptor$2 = createPropertyDescriptor$4;
|
|
897
895
|
var toIndexedObject$1 = toIndexedObject$5;
|
|
898
896
|
var toPropertyKey = toPropertyKey$2;
|
|
899
|
-
var hasOwn$
|
|
897
|
+
var hasOwn$7 = hasOwnProperty_1;
|
|
900
898
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
901
899
|
|
|
902
900
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -904,43 +902,42 @@ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
|
904
902
|
|
|
905
903
|
// `Object.getOwnPropertyDescriptor` method
|
|
906
904
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
907
|
-
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$
|
|
905
|
+
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$6 ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
|
|
908
906
|
O = toIndexedObject$1(O);
|
|
909
907
|
P = toPropertyKey(P);
|
|
910
908
|
if (IE8_DOM_DEFINE) try {
|
|
911
909
|
return $getOwnPropertyDescriptor(O, P);
|
|
912
910
|
} catch (error) { /* empty */ }
|
|
913
|
-
if (hasOwn$
|
|
911
|
+
if (hasOwn$7(O, P)) return createPropertyDescriptor$2(!call$i(propertyIsEnumerableModule$1.f, O, P), O[P]);
|
|
914
912
|
};
|
|
915
913
|
|
|
916
|
-
var makeBuiltIn$
|
|
914
|
+
var makeBuiltIn$3 = {exports: {}};
|
|
917
915
|
|
|
918
|
-
var DESCRIPTORS$
|
|
919
|
-
var hasOwn$
|
|
916
|
+
var DESCRIPTORS$5 = descriptors;
|
|
917
|
+
var hasOwn$6 = hasOwnProperty_1;
|
|
920
918
|
|
|
921
919
|
var FunctionPrototype$1 = Function.prototype;
|
|
922
920
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
923
|
-
var getDescriptor = DESCRIPTORS$
|
|
921
|
+
var getDescriptor = DESCRIPTORS$5 && Object.getOwnPropertyDescriptor;
|
|
924
922
|
|
|
925
|
-
var EXISTS = hasOwn$
|
|
923
|
+
var EXISTS = hasOwn$6(FunctionPrototype$1, 'name');
|
|
926
924
|
// additional protection from minified / mangled / dropped function names
|
|
927
925
|
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
928
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$
|
|
926
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$5 || (DESCRIPTORS$5 && getDescriptor(FunctionPrototype$1, 'name').configurable));
|
|
929
927
|
|
|
930
928
|
var functionName = {
|
|
931
|
-
EXISTS: EXISTS,
|
|
932
929
|
PROPER: PROPER,
|
|
933
930
|
CONFIGURABLE: CONFIGURABLE
|
|
934
931
|
};
|
|
935
932
|
|
|
936
|
-
var uncurryThis$
|
|
937
|
-
var isCallable$
|
|
938
|
-
var store =
|
|
933
|
+
var uncurryThis$b = functionUncurryThis;
|
|
934
|
+
var isCallable$a = isCallable$h;
|
|
935
|
+
var store = sharedStoreExports;
|
|
939
936
|
|
|
940
|
-
var functionToString = uncurryThis$
|
|
937
|
+
var functionToString = uncurryThis$b(Function.toString);
|
|
941
938
|
|
|
942
939
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
943
|
-
if (!isCallable$
|
|
940
|
+
if (!isCallable$a(store.inspectSource)) {
|
|
944
941
|
store.inspectSource = function (it) {
|
|
945
942
|
return functionToString(it);
|
|
946
943
|
};
|
|
@@ -948,71 +945,73 @@ if (!isCallable$9(store.inspectSource)) {
|
|
|
948
945
|
|
|
949
946
|
var inspectSource$1 = store.inspectSource;
|
|
950
947
|
|
|
951
|
-
var uncurryThis$
|
|
952
|
-
var fails$
|
|
953
|
-
var isCallable$
|
|
954
|
-
var hasOwn$
|
|
955
|
-
var DESCRIPTORS$
|
|
948
|
+
var uncurryThis$a = functionUncurryThis;
|
|
949
|
+
var fails$c = fails$j;
|
|
950
|
+
var isCallable$9 = isCallable$h;
|
|
951
|
+
var hasOwn$5 = hasOwnProperty_1;
|
|
952
|
+
var DESCRIPTORS$4 = descriptors;
|
|
956
953
|
var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
|
|
957
954
|
var inspectSource = inspectSource$1;
|
|
958
|
-
var InternalStateModule$
|
|
955
|
+
var InternalStateModule$2 = internalState;
|
|
959
956
|
|
|
960
|
-
var enforceInternalState = InternalStateModule$
|
|
961
|
-
var getInternalState$2 = InternalStateModule$
|
|
957
|
+
var enforceInternalState = InternalStateModule$2.enforce;
|
|
958
|
+
var getInternalState$2 = InternalStateModule$2.get;
|
|
962
959
|
var $String$2 = String;
|
|
963
960
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
964
|
-
var defineProperty$
|
|
965
|
-
var stringSlice$4 = uncurryThis$
|
|
966
|
-
var replace$3 = uncurryThis$
|
|
967
|
-
var join = uncurryThis$
|
|
961
|
+
var defineProperty$4 = Object.defineProperty;
|
|
962
|
+
var stringSlice$4 = uncurryThis$a(''.slice);
|
|
963
|
+
var replace$3 = uncurryThis$a(''.replace);
|
|
964
|
+
var join = uncurryThis$a([].join);
|
|
968
965
|
|
|
969
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$
|
|
970
|
-
return defineProperty$
|
|
966
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS$4 && !fails$c(function () {
|
|
967
|
+
return defineProperty$4(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
971
968
|
});
|
|
972
969
|
|
|
973
970
|
var TEMPLATE = String(String).split('String');
|
|
974
971
|
|
|
975
|
-
var makeBuiltIn$
|
|
972
|
+
var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
976
973
|
if (stringSlice$4($String$2(name), 0, 7) === 'Symbol(') {
|
|
977
974
|
name = '[' + replace$3($String$2(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
|
|
978
975
|
}
|
|
979
976
|
if (options && options.getter) name = 'get ' + name;
|
|
980
977
|
if (options && options.setter) name = 'set ' + name;
|
|
981
|
-
if (!hasOwn$
|
|
982
|
-
if (DESCRIPTORS$
|
|
978
|
+
if (!hasOwn$5(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
|
|
979
|
+
if (DESCRIPTORS$4) defineProperty$4(value, 'name', { value: name, configurable: true });
|
|
983
980
|
else value.name = name;
|
|
984
981
|
}
|
|
985
|
-
if (CONFIGURABLE_LENGTH && options && hasOwn$
|
|
986
|
-
defineProperty$
|
|
982
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn$5(options, 'arity') && value.length !== options.arity) {
|
|
983
|
+
defineProperty$4(value, 'length', { value: options.arity });
|
|
987
984
|
}
|
|
988
985
|
try {
|
|
989
|
-
if (options && hasOwn$
|
|
990
|
-
if (DESCRIPTORS$
|
|
986
|
+
if (options && hasOwn$5(options, 'constructor') && options.constructor) {
|
|
987
|
+
if (DESCRIPTORS$4) defineProperty$4(value, 'prototype', { writable: false });
|
|
991
988
|
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
992
989
|
} else if (value.prototype) value.prototype = undefined;
|
|
993
990
|
} catch (error) { /* empty */ }
|
|
994
991
|
var state = enforceInternalState(value);
|
|
995
|
-
if (!hasOwn$
|
|
992
|
+
if (!hasOwn$5(state, 'source')) {
|
|
996
993
|
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
|
997
994
|
} return value;
|
|
998
995
|
};
|
|
999
996
|
|
|
1000
997
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
1001
998
|
// eslint-disable-next-line no-extend-native -- required
|
|
1002
|
-
Function.prototype.toString = makeBuiltIn$
|
|
1003
|
-
return isCallable$
|
|
999
|
+
Function.prototype.toString = makeBuiltIn$2(function toString() {
|
|
1000
|
+
return isCallable$9(this) && getInternalState$2(this).source || inspectSource(this);
|
|
1004
1001
|
}, 'toString');
|
|
1005
1002
|
|
|
1006
|
-
var
|
|
1007
|
-
|
|
1008
|
-
var
|
|
1003
|
+
var makeBuiltInExports = makeBuiltIn$3.exports;
|
|
1004
|
+
|
|
1005
|
+
var isCallable$8 = isCallable$h;
|
|
1006
|
+
var definePropertyModule$2 = objectDefineProperty;
|
|
1007
|
+
var makeBuiltIn$1 = makeBuiltInExports;
|
|
1009
1008
|
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
|
1010
1009
|
|
|
1011
|
-
var defineBuiltIn$
|
|
1010
|
+
var defineBuiltIn$5 = function (O, key, value, options) {
|
|
1012
1011
|
if (!options) options = {};
|
|
1013
1012
|
var simple = options.enumerable;
|
|
1014
1013
|
var name = options.name !== undefined ? options.name : key;
|
|
1015
|
-
if (isCallable$
|
|
1014
|
+
if (isCallable$8(value)) makeBuiltIn$1(value, name, options);
|
|
1016
1015
|
if (options.global) {
|
|
1017
1016
|
if (simple) O[key] = value;
|
|
1018
1017
|
else defineGlobalProperty$1(key, value);
|
|
@@ -1022,7 +1021,7 @@ var defineBuiltIn$4 = function (O, key, value, options) {
|
|
|
1022
1021
|
else if (O[key]) simple = true;
|
|
1023
1022
|
} catch (error) { /* empty */ }
|
|
1024
1023
|
if (simple) O[key] = value;
|
|
1025
|
-
else definePropertyModule$
|
|
1024
|
+
else definePropertyModule$2.f(O, key, {
|
|
1026
1025
|
value: value,
|
|
1027
1026
|
enumerable: false,
|
|
1028
1027
|
configurable: !options.nonConfigurable,
|
|
@@ -1051,39 +1050,39 @@ var objectGetOwnPropertySymbols = {};
|
|
|
1051
1050
|
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
1052
1051
|
|
|
1053
1052
|
var getBuiltIn = getBuiltIn$3;
|
|
1054
|
-
var uncurryThis$
|
|
1053
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
1055
1054
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
1056
1055
|
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
|
1057
|
-
var anObject$
|
|
1056
|
+
var anObject$e = anObject$i;
|
|
1058
1057
|
|
|
1059
|
-
var concat$2 = uncurryThis$
|
|
1058
|
+
var concat$2 = uncurryThis$9([].concat);
|
|
1060
1059
|
|
|
1061
1060
|
// all object keys, includes non-enumerable and symbols
|
|
1062
1061
|
var ownKeys$1 = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
1063
|
-
var keys = getOwnPropertyNamesModule.f(anObject$
|
|
1062
|
+
var keys = getOwnPropertyNamesModule.f(anObject$e(it));
|
|
1064
1063
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
|
|
1065
1064
|
return getOwnPropertySymbols ? concat$2(keys, getOwnPropertySymbols(it)) : keys;
|
|
1066
1065
|
};
|
|
1067
1066
|
|
|
1068
|
-
var hasOwn$
|
|
1067
|
+
var hasOwn$4 = hasOwnProperty_1;
|
|
1069
1068
|
var ownKeys = ownKeys$1;
|
|
1070
1069
|
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
1071
|
-
var definePropertyModule = objectDefineProperty;
|
|
1070
|
+
var definePropertyModule$1 = objectDefineProperty;
|
|
1072
1071
|
|
|
1073
1072
|
var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
1074
1073
|
var keys = ownKeys(source);
|
|
1075
|
-
var defineProperty = definePropertyModule.f;
|
|
1074
|
+
var defineProperty = definePropertyModule$1.f;
|
|
1076
1075
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
1077
1076
|
for (var i = 0; i < keys.length; i++) {
|
|
1078
1077
|
var key = keys[i];
|
|
1079
|
-
if (!hasOwn$
|
|
1078
|
+
if (!hasOwn$4(target, key) && !(exceptions && hasOwn$4(exceptions, key))) {
|
|
1080
1079
|
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
1081
1080
|
}
|
|
1082
1081
|
}
|
|
1083
1082
|
};
|
|
1084
1083
|
|
|
1085
|
-
var fails$
|
|
1086
|
-
var isCallable$
|
|
1084
|
+
var fails$b = fails$j;
|
|
1085
|
+
var isCallable$7 = isCallable$h;
|
|
1087
1086
|
|
|
1088
1087
|
var replacement = /#|\.prototype\./;
|
|
1089
1088
|
|
|
@@ -1091,7 +1090,7 @@ var isForced$1 = function (feature, detection) {
|
|
|
1091
1090
|
var value = data[normalize(feature)];
|
|
1092
1091
|
return value === POLYFILL ? true
|
|
1093
1092
|
: value === NATIVE ? false
|
|
1094
|
-
: isCallable$
|
|
1093
|
+
: isCallable$7(detection) ? fails$b(detection)
|
|
1095
1094
|
: !!detection;
|
|
1096
1095
|
};
|
|
1097
1096
|
|
|
@@ -1105,10 +1104,10 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
|
|
|
1105
1104
|
|
|
1106
1105
|
var isForced_1 = isForced$1;
|
|
1107
1106
|
|
|
1108
|
-
var globalThis$
|
|
1107
|
+
var globalThis$8 = globalThis_1;
|
|
1109
1108
|
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
1110
|
-
var createNonEnumerableProperty$
|
|
1111
|
-
var defineBuiltIn$
|
|
1109
|
+
var createNonEnumerableProperty$4 = createNonEnumerableProperty$6;
|
|
1110
|
+
var defineBuiltIn$4 = defineBuiltIn$5;
|
|
1112
1111
|
var defineGlobalProperty = defineGlobalProperty$3;
|
|
1113
1112
|
var copyConstructorProperties = copyConstructorProperties$1;
|
|
1114
1113
|
var isForced = isForced_1;
|
|
@@ -1134,11 +1133,11 @@ var _export = function (options, source) {
|
|
|
1134
1133
|
var STATIC = options.stat;
|
|
1135
1134
|
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
1136
1135
|
if (GLOBAL) {
|
|
1137
|
-
target = globalThis$
|
|
1136
|
+
target = globalThis$8;
|
|
1138
1137
|
} else if (STATIC) {
|
|
1139
|
-
target = globalThis$
|
|
1138
|
+
target = globalThis$8[TARGET] || defineGlobalProperty(TARGET, {});
|
|
1140
1139
|
} else {
|
|
1141
|
-
target = globalThis$
|
|
1140
|
+
target = globalThis$8[TARGET] && globalThis$8[TARGET].prototype;
|
|
1142
1141
|
}
|
|
1143
1142
|
if (target) for (key in source) {
|
|
1144
1143
|
sourceProperty = source[key];
|
|
@@ -1154,23 +1153,23 @@ var _export = function (options, source) {
|
|
|
1154
1153
|
}
|
|
1155
1154
|
// add a flag to not completely full polyfills
|
|
1156
1155
|
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
1157
|
-
createNonEnumerableProperty$
|
|
1156
|
+
createNonEnumerableProperty$4(sourceProperty, 'sham', true);
|
|
1158
1157
|
}
|
|
1159
|
-
defineBuiltIn$
|
|
1158
|
+
defineBuiltIn$4(target, key, sourceProperty, options);
|
|
1160
1159
|
}
|
|
1161
1160
|
};
|
|
1162
1161
|
|
|
1163
|
-
var fails$
|
|
1162
|
+
var fails$a = fails$j;
|
|
1164
1163
|
|
|
1165
|
-
var correctPrototypeGetter = !fails$
|
|
1164
|
+
var correctPrototypeGetter = !fails$a(function () {
|
|
1166
1165
|
function F() { /* empty */ }
|
|
1167
1166
|
F.prototype.constructor = null;
|
|
1168
1167
|
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
1169
1168
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
1170
1169
|
});
|
|
1171
1170
|
|
|
1172
|
-
var hasOwn$
|
|
1173
|
-
var isCallable$
|
|
1171
|
+
var hasOwn$3 = hasOwnProperty_1;
|
|
1172
|
+
var isCallable$6 = isCallable$h;
|
|
1174
1173
|
var toObject$2 = toObject$4;
|
|
1175
1174
|
var sharedKey = sharedKey$3;
|
|
1176
1175
|
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
@@ -1184,26 +1183,26 @@ var ObjectPrototype = $Object$1.prototype;
|
|
|
1184
1183
|
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
1185
1184
|
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
|
|
1186
1185
|
var object = toObject$2(O);
|
|
1187
|
-
if (hasOwn$
|
|
1186
|
+
if (hasOwn$3(object, IE_PROTO)) return object[IE_PROTO];
|
|
1188
1187
|
var constructor = object.constructor;
|
|
1189
|
-
if (isCallable$
|
|
1188
|
+
if (isCallable$6(constructor) && object instanceof constructor) {
|
|
1190
1189
|
return constructor.prototype;
|
|
1191
1190
|
} return object instanceof $Object$1 ? ObjectPrototype : null;
|
|
1192
1191
|
};
|
|
1193
1192
|
|
|
1194
|
-
var fails$
|
|
1195
|
-
var isCallable$
|
|
1196
|
-
var isObject$
|
|
1197
|
-
var getPrototypeOf$
|
|
1198
|
-
var defineBuiltIn$
|
|
1199
|
-
var wellKnownSymbol$
|
|
1193
|
+
var fails$9 = fails$j;
|
|
1194
|
+
var isCallable$5 = isCallable$h;
|
|
1195
|
+
var isObject$4 = isObject$a;
|
|
1196
|
+
var getPrototypeOf$2 = objectGetPrototypeOf;
|
|
1197
|
+
var defineBuiltIn$3 = defineBuiltIn$5;
|
|
1198
|
+
var wellKnownSymbol$b = wellKnownSymbol$e;
|
|
1200
1199
|
|
|
1201
|
-
var ITERATOR$
|
|
1200
|
+
var ITERATOR$5 = wellKnownSymbol$b('iterator');
|
|
1202
1201
|
var BUGGY_SAFARI_ITERATORS$1 = false;
|
|
1203
1202
|
|
|
1204
1203
|
// `%IteratorPrototype%` object
|
|
1205
1204
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
|
|
1206
|
-
var IteratorPrototype$
|
|
1205
|
+
var IteratorPrototype$4, PrototypeOfArrayIteratorPrototype, arrayIterator;
|
|
1207
1206
|
|
|
1208
1207
|
/* eslint-disable es/no-array-prototype-keys -- safe */
|
|
1209
1208
|
if ([].keys) {
|
|
@@ -1211,90 +1210,90 @@ if ([].keys) {
|
|
|
1211
1210
|
// Safari 8 has buggy iterators w/o `next`
|
|
1212
1211
|
if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS$1 = true;
|
|
1213
1212
|
else {
|
|
1214
|
-
PrototypeOfArrayIteratorPrototype = getPrototypeOf$
|
|
1215
|
-
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$
|
|
1213
|
+
PrototypeOfArrayIteratorPrototype = getPrototypeOf$2(getPrototypeOf$2(arrayIterator));
|
|
1214
|
+
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$4 = PrototypeOfArrayIteratorPrototype;
|
|
1216
1215
|
}
|
|
1217
1216
|
}
|
|
1218
1217
|
|
|
1219
|
-
var NEW_ITERATOR_PROTOTYPE = !isObject$
|
|
1218
|
+
var NEW_ITERATOR_PROTOTYPE = !isObject$4(IteratorPrototype$4) || fails$9(function () {
|
|
1220
1219
|
var test = {};
|
|
1221
1220
|
// FF44- legacy iterators case
|
|
1222
|
-
return IteratorPrototype$
|
|
1221
|
+
return IteratorPrototype$4[ITERATOR$5].call(test) !== test;
|
|
1223
1222
|
});
|
|
1224
1223
|
|
|
1225
|
-
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$
|
|
1224
|
+
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$4 = {};
|
|
1226
1225
|
|
|
1227
1226
|
// `%IteratorPrototype%[@@iterator]()` method
|
|
1228
1227
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
|
1229
|
-
if (!isCallable$
|
|
1230
|
-
defineBuiltIn$
|
|
1228
|
+
if (!isCallable$5(IteratorPrototype$4[ITERATOR$5])) {
|
|
1229
|
+
defineBuiltIn$3(IteratorPrototype$4, ITERATOR$5, function () {
|
|
1231
1230
|
return this;
|
|
1232
1231
|
});
|
|
1233
1232
|
}
|
|
1234
1233
|
|
|
1235
1234
|
var iteratorsCore = {
|
|
1236
|
-
IteratorPrototype: IteratorPrototype$
|
|
1235
|
+
IteratorPrototype: IteratorPrototype$4,
|
|
1237
1236
|
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
|
|
1238
1237
|
};
|
|
1239
1238
|
|
|
1240
|
-
var defineProperty$
|
|
1241
|
-
var hasOwn = hasOwnProperty_1;
|
|
1242
|
-
var wellKnownSymbol$
|
|
1239
|
+
var defineProperty$3 = objectDefineProperty.f;
|
|
1240
|
+
var hasOwn$2 = hasOwnProperty_1;
|
|
1241
|
+
var wellKnownSymbol$a = wellKnownSymbol$e;
|
|
1243
1242
|
|
|
1244
|
-
var TO_STRING_TAG$
|
|
1243
|
+
var TO_STRING_TAG$4 = wellKnownSymbol$a('toStringTag');
|
|
1245
1244
|
|
|
1246
1245
|
var setToStringTag$3 = function (target, TAG, STATIC) {
|
|
1247
1246
|
if (target && !STATIC) target = target.prototype;
|
|
1248
|
-
if (target && !hasOwn(target, TO_STRING_TAG$
|
|
1249
|
-
defineProperty$
|
|
1247
|
+
if (target && !hasOwn$2(target, TO_STRING_TAG$4)) {
|
|
1248
|
+
defineProperty$3(target, TO_STRING_TAG$4, { configurable: true, value: TAG });
|
|
1250
1249
|
}
|
|
1251
1250
|
};
|
|
1252
1251
|
|
|
1253
|
-
var IteratorPrototype$
|
|
1254
|
-
var create$
|
|
1255
|
-
var createPropertyDescriptor = createPropertyDescriptor$
|
|
1252
|
+
var IteratorPrototype$3 = iteratorsCore.IteratorPrototype;
|
|
1253
|
+
var create$2 = objectCreate;
|
|
1254
|
+
var createPropertyDescriptor$1 = createPropertyDescriptor$4;
|
|
1256
1255
|
var setToStringTag$2 = setToStringTag$3;
|
|
1257
|
-
var Iterators$
|
|
1256
|
+
var Iterators$4 = iterators;
|
|
1258
1257
|
|
|
1259
1258
|
var returnThis$1 = function () { return this; };
|
|
1260
1259
|
|
|
1261
1260
|
var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
|
|
1262
1261
|
var TO_STRING_TAG = NAME + ' Iterator';
|
|
1263
|
-
IteratorConstructor.prototype = create$
|
|
1262
|
+
IteratorConstructor.prototype = create$2(IteratorPrototype$3, { next: createPropertyDescriptor$1(+!ENUMERABLE_NEXT, next) });
|
|
1264
1263
|
setToStringTag$2(IteratorConstructor, TO_STRING_TAG, false);
|
|
1265
|
-
Iterators$
|
|
1264
|
+
Iterators$4[TO_STRING_TAG] = returnThis$1;
|
|
1266
1265
|
return IteratorConstructor;
|
|
1267
1266
|
};
|
|
1268
1267
|
|
|
1269
|
-
var uncurryThis$
|
|
1270
|
-
var aCallable = aCallable$
|
|
1268
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
1269
|
+
var aCallable$7 = aCallable$9;
|
|
1271
1270
|
|
|
1272
1271
|
var functionUncurryThisAccessor = function (object, key, method) {
|
|
1273
1272
|
try {
|
|
1274
1273
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1275
|
-
return uncurryThis$
|
|
1274
|
+
return uncurryThis$8(aCallable$7(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
1276
1275
|
} catch (error) { /* empty */ }
|
|
1277
1276
|
};
|
|
1278
1277
|
|
|
1279
|
-
var isObject$
|
|
1278
|
+
var isObject$3 = isObject$a;
|
|
1280
1279
|
|
|
1281
1280
|
var isPossiblePrototype$1 = function (argument) {
|
|
1282
|
-
return isObject$
|
|
1281
|
+
return isObject$3(argument) || argument === null;
|
|
1283
1282
|
};
|
|
1284
1283
|
|
|
1285
1284
|
var isPossiblePrototype = isPossiblePrototype$1;
|
|
1286
1285
|
|
|
1287
1286
|
var $String$1 = String;
|
|
1288
|
-
var $TypeError$
|
|
1287
|
+
var $TypeError$5 = TypeError;
|
|
1289
1288
|
|
|
1290
1289
|
var aPossiblePrototype$1 = function (argument) {
|
|
1291
1290
|
if (isPossiblePrototype(argument)) return argument;
|
|
1292
|
-
throw new $TypeError$
|
|
1291
|
+
throw new $TypeError$5("Can't set " + $String$1(argument) + ' as a prototype');
|
|
1293
1292
|
};
|
|
1294
1293
|
|
|
1295
1294
|
/* eslint-disable no-proto -- safe */
|
|
1296
1295
|
var uncurryThisAccessor = functionUncurryThisAccessor;
|
|
1297
|
-
var isObject = isObject$
|
|
1296
|
+
var isObject$2 = isObject$a;
|
|
1298
1297
|
var requireObjectCoercible$4 = requireObjectCoercible$7;
|
|
1299
1298
|
var aPossiblePrototype = aPossiblePrototype$1;
|
|
1300
1299
|
|
|
@@ -1314,32 +1313,32 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
1314
1313
|
return function setPrototypeOf(O, proto) {
|
|
1315
1314
|
requireObjectCoercible$4(O);
|
|
1316
1315
|
aPossiblePrototype(proto);
|
|
1317
|
-
if (!isObject(O)) return O;
|
|
1316
|
+
if (!isObject$2(O)) return O;
|
|
1318
1317
|
if (CORRECT_SETTER) setter(O, proto);
|
|
1319
1318
|
else O.__proto__ = proto;
|
|
1320
1319
|
return O;
|
|
1321
1320
|
};
|
|
1322
1321
|
}() : undefined);
|
|
1323
1322
|
|
|
1324
|
-
var $$
|
|
1325
|
-
var call$
|
|
1323
|
+
var $$9 = _export;
|
|
1324
|
+
var call$h = functionCall;
|
|
1326
1325
|
var FunctionName = functionName;
|
|
1327
|
-
var isCallable$
|
|
1326
|
+
var isCallable$4 = isCallable$h;
|
|
1328
1327
|
var createIteratorConstructor = iteratorCreateConstructor;
|
|
1329
|
-
var getPrototypeOf = objectGetPrototypeOf;
|
|
1328
|
+
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
1330
1329
|
var setPrototypeOf = objectSetPrototypeOf;
|
|
1331
1330
|
var setToStringTag$1 = setToStringTag$3;
|
|
1332
|
-
var createNonEnumerableProperty$
|
|
1333
|
-
var defineBuiltIn$
|
|
1334
|
-
var wellKnownSymbol$
|
|
1335
|
-
var Iterators$
|
|
1331
|
+
var createNonEnumerableProperty$3 = createNonEnumerableProperty$6;
|
|
1332
|
+
var defineBuiltIn$2 = defineBuiltIn$5;
|
|
1333
|
+
var wellKnownSymbol$9 = wellKnownSymbol$e;
|
|
1334
|
+
var Iterators$3 = iterators;
|
|
1336
1335
|
var IteratorsCore = iteratorsCore;
|
|
1337
1336
|
|
|
1338
1337
|
var PROPER_FUNCTION_NAME$1 = FunctionName.PROPER;
|
|
1339
1338
|
var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
|
|
1340
|
-
var IteratorPrototype = IteratorsCore.IteratorPrototype;
|
|
1339
|
+
var IteratorPrototype$2 = IteratorsCore.IteratorPrototype;
|
|
1341
1340
|
var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
|
|
1342
|
-
var ITERATOR$
|
|
1341
|
+
var ITERATOR$4 = wellKnownSymbol$9('iterator');
|
|
1343
1342
|
var KEYS = 'keys';
|
|
1344
1343
|
var VALUES = 'values';
|
|
1345
1344
|
var ENTRIES = 'entries';
|
|
@@ -1365,7 +1364,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1365
1364
|
var TO_STRING_TAG = NAME + ' Iterator';
|
|
1366
1365
|
var INCORRECT_VALUES_NAME = false;
|
|
1367
1366
|
var IterablePrototype = Iterable.prototype;
|
|
1368
|
-
var nativeIterator = IterablePrototype[ITERATOR$
|
|
1367
|
+
var nativeIterator = IterablePrototype[ITERATOR$4]
|
|
1369
1368
|
|| IterablePrototype['@@iterator']
|
|
1370
1369
|
|| DEFAULT && IterablePrototype[DEFAULT];
|
|
1371
1370
|
var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
|
|
@@ -1374,13 +1373,13 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1374
1373
|
|
|
1375
1374
|
// fix native
|
|
1376
1375
|
if (anyNativeIterator) {
|
|
1377
|
-
CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
|
|
1376
|
+
CurrentIteratorPrototype = getPrototypeOf$1(anyNativeIterator.call(new Iterable()));
|
|
1378
1377
|
if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
|
|
1379
|
-
if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
|
|
1378
|
+
if (getPrototypeOf$1(CurrentIteratorPrototype) !== IteratorPrototype$2) {
|
|
1380
1379
|
if (setPrototypeOf) {
|
|
1381
|
-
setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
|
|
1382
|
-
} else if (!isCallable$
|
|
1383
|
-
defineBuiltIn$
|
|
1380
|
+
setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype$2);
|
|
1381
|
+
} else if (!isCallable$4(CurrentIteratorPrototype[ITERATOR$4])) {
|
|
1382
|
+
defineBuiltIn$2(CurrentIteratorPrototype, ITERATOR$4, returnThis);
|
|
1384
1383
|
}
|
|
1385
1384
|
}
|
|
1386
1385
|
// Set @@toStringTag to native iterators
|
|
@@ -1391,10 +1390,10 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1391
1390
|
// fix Array.prototype.{ values, @@iterator }.name in V8 / FF
|
|
1392
1391
|
if (PROPER_FUNCTION_NAME$1 && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
|
|
1393
1392
|
if (CONFIGURABLE_FUNCTION_NAME) {
|
|
1394
|
-
createNonEnumerableProperty$
|
|
1393
|
+
createNonEnumerableProperty$3(IterablePrototype, 'name', VALUES);
|
|
1395
1394
|
} else {
|
|
1396
1395
|
INCORRECT_VALUES_NAME = true;
|
|
1397
|
-
defaultIterator = function values() { return call$
|
|
1396
|
+
defaultIterator = function values() { return call$h(nativeIterator, this); };
|
|
1398
1397
|
}
|
|
1399
1398
|
}
|
|
1400
1399
|
|
|
@@ -1407,38 +1406,38 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1407
1406
|
};
|
|
1408
1407
|
if (FORCED) for (KEY in methods) {
|
|
1409
1408
|
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
|
1410
|
-
defineBuiltIn$
|
|
1409
|
+
defineBuiltIn$2(IterablePrototype, KEY, methods[KEY]);
|
|
1411
1410
|
}
|
|
1412
|
-
} else $$
|
|
1411
|
+
} else $$9({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
|
|
1413
1412
|
}
|
|
1414
1413
|
|
|
1415
1414
|
// define iterator
|
|
1416
|
-
if (IterablePrototype[ITERATOR$
|
|
1417
|
-
defineBuiltIn$
|
|
1415
|
+
if (IterablePrototype[ITERATOR$4] !== defaultIterator) {
|
|
1416
|
+
defineBuiltIn$2(IterablePrototype, ITERATOR$4, defaultIterator, { name: DEFAULT });
|
|
1418
1417
|
}
|
|
1419
|
-
Iterators$
|
|
1418
|
+
Iterators$3[NAME] = defaultIterator;
|
|
1420
1419
|
|
|
1421
1420
|
return methods;
|
|
1422
1421
|
};
|
|
1423
1422
|
|
|
1424
1423
|
// `CreateIterResultObject` abstract operation
|
|
1425
1424
|
// https://tc39.es/ecma262/#sec-createiterresultobject
|
|
1426
|
-
var createIterResultObject$
|
|
1425
|
+
var createIterResultObject$2 = function (value, done) {
|
|
1427
1426
|
return { value: value, done: done };
|
|
1428
1427
|
};
|
|
1429
1428
|
|
|
1430
1429
|
var toIndexedObject = toIndexedObject$5;
|
|
1431
1430
|
var addToUnscopables = addToUnscopables$1;
|
|
1432
|
-
var Iterators = iterators;
|
|
1433
|
-
var InternalStateModule = internalState;
|
|
1434
|
-
var defineProperty$
|
|
1431
|
+
var Iterators$2 = iterators;
|
|
1432
|
+
var InternalStateModule$1 = internalState;
|
|
1433
|
+
var defineProperty$2 = objectDefineProperty.f;
|
|
1435
1434
|
var defineIterator = iteratorDefine;
|
|
1436
|
-
var createIterResultObject = createIterResultObject$
|
|
1437
|
-
var DESCRIPTORS$
|
|
1435
|
+
var createIterResultObject$1 = createIterResultObject$2;
|
|
1436
|
+
var DESCRIPTORS$3 = descriptors;
|
|
1438
1437
|
|
|
1439
1438
|
var ARRAY_ITERATOR = 'Array Iterator';
|
|
1440
|
-
var setInternalState = InternalStateModule.set;
|
|
1441
|
-
var getInternalState$1 = InternalStateModule.getterFor(ARRAY_ITERATOR);
|
|
1439
|
+
var setInternalState$1 = InternalStateModule$1.set;
|
|
1440
|
+
var getInternalState$1 = InternalStateModule$1.getterFor(ARRAY_ITERATOR);
|
|
1442
1441
|
|
|
1443
1442
|
// `Array.prototype.entries` method
|
|
1444
1443
|
// https://tc39.es/ecma262/#sec-array.prototype.entries
|
|
@@ -1451,7 +1450,7 @@ var getInternalState$1 = InternalStateModule.getterFor(ARRAY_ITERATOR);
|
|
|
1451
1450
|
// `CreateArrayIterator` internal method
|
|
1452
1451
|
// https://tc39.es/ecma262/#sec-createarrayiterator
|
|
1453
1452
|
var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind) {
|
|
1454
|
-
setInternalState(this, {
|
|
1453
|
+
setInternalState$1(this, {
|
|
1455
1454
|
type: ARRAY_ITERATOR,
|
|
1456
1455
|
target: toIndexedObject(iterated), // target
|
|
1457
1456
|
index: 0, // next index
|
|
@@ -1465,18 +1464,18 @@ var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind)
|
|
|
1465
1464
|
var index = state.index++;
|
|
1466
1465
|
if (!target || index >= target.length) {
|
|
1467
1466
|
state.target = null;
|
|
1468
|
-
return createIterResultObject(undefined, true);
|
|
1467
|
+
return createIterResultObject$1(undefined, true);
|
|
1469
1468
|
}
|
|
1470
1469
|
switch (state.kind) {
|
|
1471
|
-
case 'keys': return createIterResultObject(index, false);
|
|
1472
|
-
case 'values': return createIterResultObject(target[index], false);
|
|
1473
|
-
} return createIterResultObject([index, target[index]], false);
|
|
1470
|
+
case 'keys': return createIterResultObject$1(index, false);
|
|
1471
|
+
case 'values': return createIterResultObject$1(target[index], false);
|
|
1472
|
+
} return createIterResultObject$1([index, target[index]], false);
|
|
1474
1473
|
}, 'values');
|
|
1475
1474
|
|
|
1476
1475
|
// argumentsList[@@iterator] is %ArrayProto_values%
|
|
1477
1476
|
// https://tc39.es/ecma262/#sec-createunmappedargumentsobject
|
|
1478
1477
|
// https://tc39.es/ecma262/#sec-createmappedargumentsobject
|
|
1479
|
-
var values = Iterators.Arguments = Iterators.Array;
|
|
1478
|
+
var values = Iterators$2.Arguments = Iterators$2.Array;
|
|
1480
1479
|
|
|
1481
1480
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
1482
1481
|
addToUnscopables('keys');
|
|
@@ -1484,14 +1483,396 @@ addToUnscopables('values');
|
|
|
1484
1483
|
addToUnscopables('entries');
|
|
1485
1484
|
|
|
1486
1485
|
// V8 ~ Chrome 45- bug
|
|
1487
|
-
if (DESCRIPTORS$
|
|
1488
|
-
defineProperty$
|
|
1486
|
+
if (DESCRIPTORS$3 && values.name !== 'values') try {
|
|
1487
|
+
defineProperty$2(values, 'name', { value: 'values' });
|
|
1489
1488
|
} catch (error) { /* empty */ }
|
|
1490
1489
|
|
|
1490
|
+
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
1491
|
+
|
|
1492
|
+
var $TypeError$4 = TypeError;
|
|
1493
|
+
|
|
1494
|
+
var anInstance$1 = function (it, Prototype) {
|
|
1495
|
+
if (isPrototypeOf$2(Prototype, it)) return it;
|
|
1496
|
+
throw new $TypeError$4('Incorrect invocation');
|
|
1497
|
+
};
|
|
1498
|
+
|
|
1499
|
+
var makeBuiltIn = makeBuiltInExports;
|
|
1500
|
+
var defineProperty$1 = objectDefineProperty;
|
|
1501
|
+
|
|
1502
|
+
var defineBuiltInAccessor$1 = function (target, name, descriptor) {
|
|
1503
|
+
if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
|
|
1504
|
+
if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
|
|
1505
|
+
return defineProperty$1.f(target, name, descriptor);
|
|
1506
|
+
};
|
|
1507
|
+
|
|
1508
|
+
var DESCRIPTORS$2 = descriptors;
|
|
1509
|
+
var definePropertyModule = objectDefineProperty;
|
|
1510
|
+
var createPropertyDescriptor = createPropertyDescriptor$4;
|
|
1511
|
+
|
|
1512
|
+
var createProperty$1 = function (object, key, value) {
|
|
1513
|
+
if (DESCRIPTORS$2) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));
|
|
1514
|
+
else object[key] = value;
|
|
1515
|
+
};
|
|
1516
|
+
|
|
1517
|
+
var $$8 = _export;
|
|
1518
|
+
var globalThis$7 = globalThis_1;
|
|
1519
|
+
var anInstance = anInstance$1;
|
|
1520
|
+
var anObject$d = anObject$i;
|
|
1521
|
+
var isCallable$3 = isCallable$h;
|
|
1522
|
+
var getPrototypeOf = objectGetPrototypeOf;
|
|
1523
|
+
var defineBuiltInAccessor = defineBuiltInAccessor$1;
|
|
1524
|
+
var createProperty = createProperty$1;
|
|
1525
|
+
var fails$8 = fails$j;
|
|
1526
|
+
var hasOwn$1 = hasOwnProperty_1;
|
|
1527
|
+
var wellKnownSymbol$8 = wellKnownSymbol$e;
|
|
1528
|
+
var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
|
|
1529
|
+
var DESCRIPTORS$1 = descriptors;
|
|
1530
|
+
|
|
1531
|
+
var CONSTRUCTOR = 'constructor';
|
|
1532
|
+
var ITERATOR$3 = 'Iterator';
|
|
1533
|
+
var TO_STRING_TAG$3 = wellKnownSymbol$8('toStringTag');
|
|
1534
|
+
|
|
1535
|
+
var $TypeError$3 = TypeError;
|
|
1536
|
+
var NativeIterator = globalThis$7[ITERATOR$3];
|
|
1537
|
+
|
|
1538
|
+
// FF56- have non-standard global helper `Iterator`
|
|
1539
|
+
var FORCED$2 = !isCallable$3(NativeIterator)
|
|
1540
|
+
|| NativeIterator.prototype !== IteratorPrototype$1
|
|
1541
|
+
// FF44- non-standard `Iterator` passes previous tests
|
|
1542
|
+
|| !fails$8(function () { NativeIterator({}); });
|
|
1543
|
+
|
|
1544
|
+
var IteratorConstructor = function Iterator() {
|
|
1545
|
+
anInstance(this, IteratorPrototype$1);
|
|
1546
|
+
if (getPrototypeOf(this) === IteratorPrototype$1) throw new $TypeError$3('Abstract class Iterator not directly constructable');
|
|
1547
|
+
};
|
|
1548
|
+
|
|
1549
|
+
var defineIteratorPrototypeAccessor = function (key, value) {
|
|
1550
|
+
if (DESCRIPTORS$1) {
|
|
1551
|
+
defineBuiltInAccessor(IteratorPrototype$1, key, {
|
|
1552
|
+
configurable: true,
|
|
1553
|
+
get: function () {
|
|
1554
|
+
return value;
|
|
1555
|
+
},
|
|
1556
|
+
set: function (replacement) {
|
|
1557
|
+
anObject$d(this);
|
|
1558
|
+
if (this === IteratorPrototype$1) throw new $TypeError$3("You can't redefine this property");
|
|
1559
|
+
if (hasOwn$1(this, key)) this[key] = replacement;
|
|
1560
|
+
else createProperty(this, key, replacement);
|
|
1561
|
+
}
|
|
1562
|
+
});
|
|
1563
|
+
} else IteratorPrototype$1[key] = value;
|
|
1564
|
+
};
|
|
1565
|
+
|
|
1566
|
+
if (!hasOwn$1(IteratorPrototype$1, TO_STRING_TAG$3)) defineIteratorPrototypeAccessor(TO_STRING_TAG$3, ITERATOR$3);
|
|
1567
|
+
|
|
1568
|
+
if (FORCED$2 || !hasOwn$1(IteratorPrototype$1, CONSTRUCTOR) || IteratorPrototype$1[CONSTRUCTOR] === Object) {
|
|
1569
|
+
defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
|
|
1570
|
+
}
|
|
1571
|
+
|
|
1572
|
+
IteratorConstructor.prototype = IteratorPrototype$1;
|
|
1573
|
+
|
|
1574
|
+
// `Iterator` constructor
|
|
1575
|
+
// https://tc39.es/ecma262/#sec-iterator
|
|
1576
|
+
$$8({ global: true, constructor: true, forced: FORCED$2 }, {
|
|
1577
|
+
Iterator: IteratorConstructor
|
|
1578
|
+
});
|
|
1579
|
+
|
|
1580
|
+
var classofRaw$1 = classofRaw$2;
|
|
1581
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
1582
|
+
|
|
1583
|
+
var functionUncurryThisClause = function (fn) {
|
|
1584
|
+
// Nashorn bug:
|
|
1585
|
+
// https://github.com/zloirock/core-js/issues/1128
|
|
1586
|
+
// https://github.com/zloirock/core-js/issues/1130
|
|
1587
|
+
if (classofRaw$1(fn) === 'Function') return uncurryThis$7(fn);
|
|
1588
|
+
};
|
|
1589
|
+
|
|
1590
|
+
var uncurryThis$6 = functionUncurryThisClause;
|
|
1591
|
+
var aCallable$6 = aCallable$9;
|
|
1592
|
+
var NATIVE_BIND$1 = functionBindNative;
|
|
1593
|
+
|
|
1594
|
+
var bind$1 = uncurryThis$6(uncurryThis$6.bind);
|
|
1595
|
+
|
|
1596
|
+
// optional / simple context binding
|
|
1597
|
+
var functionBindContext = function (fn, that) {
|
|
1598
|
+
aCallable$6(fn);
|
|
1599
|
+
return that === undefined ? fn : NATIVE_BIND$1 ? bind$1(fn, that) : function (/* ...args */) {
|
|
1600
|
+
return fn.apply(that, arguments);
|
|
1601
|
+
};
|
|
1602
|
+
};
|
|
1603
|
+
|
|
1604
|
+
var wellKnownSymbol$7 = wellKnownSymbol$e;
|
|
1605
|
+
var Iterators$1 = iterators;
|
|
1606
|
+
|
|
1607
|
+
var ITERATOR$2 = wellKnownSymbol$7('iterator');
|
|
1608
|
+
var ArrayPrototype = Array.prototype;
|
|
1609
|
+
|
|
1610
|
+
// check on default Array iterator
|
|
1611
|
+
var isArrayIteratorMethod$1 = function (it) {
|
|
1612
|
+
return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$2] === it);
|
|
1613
|
+
};
|
|
1614
|
+
|
|
1615
|
+
var wellKnownSymbol$6 = wellKnownSymbol$e;
|
|
1616
|
+
|
|
1617
|
+
var TO_STRING_TAG$2 = wellKnownSymbol$6('toStringTag');
|
|
1618
|
+
var test = {};
|
|
1619
|
+
// eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
|
|
1620
|
+
test[TO_STRING_TAG$2] = 'z';
|
|
1621
|
+
|
|
1622
|
+
var toStringTagSupport = String(test) === '[object z]';
|
|
1623
|
+
|
|
1624
|
+
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
1625
|
+
var isCallable$2 = isCallable$h;
|
|
1626
|
+
var classofRaw = classofRaw$2;
|
|
1627
|
+
var wellKnownSymbol$5 = wellKnownSymbol$e;
|
|
1628
|
+
|
|
1629
|
+
var TO_STRING_TAG$1 = wellKnownSymbol$5('toStringTag');
|
|
1630
|
+
var $Object = Object;
|
|
1631
|
+
|
|
1632
|
+
// ES3 wrong here
|
|
1633
|
+
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
|
|
1634
|
+
|
|
1635
|
+
// fallback for IE11 Script Access Denied error
|
|
1636
|
+
var tryGet = function (it, key) {
|
|
1637
|
+
try {
|
|
1638
|
+
return it[key];
|
|
1639
|
+
} catch (error) { /* empty */ }
|
|
1640
|
+
};
|
|
1641
|
+
|
|
1642
|
+
// getting tag from ES6+ `Object.prototype.toString`
|
|
1643
|
+
var classof$3 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
1644
|
+
var O, tag, result;
|
|
1645
|
+
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
1646
|
+
// @@toStringTag case
|
|
1647
|
+
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG$1)) == 'string' ? tag
|
|
1648
|
+
// builtinTag case
|
|
1649
|
+
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
1650
|
+
// ES3 arguments fallback
|
|
1651
|
+
: (result = classofRaw(O)) === 'Object' && isCallable$2(O.callee) ? 'Arguments' : result;
|
|
1652
|
+
};
|
|
1653
|
+
|
|
1654
|
+
var classof$2 = classof$3;
|
|
1655
|
+
var getMethod$4 = getMethod$6;
|
|
1656
|
+
var isNullOrUndefined = isNullOrUndefined$3;
|
|
1657
|
+
var Iterators = iterators;
|
|
1658
|
+
var wellKnownSymbol$4 = wellKnownSymbol$e;
|
|
1659
|
+
|
|
1660
|
+
var ITERATOR$1 = wellKnownSymbol$4('iterator');
|
|
1661
|
+
|
|
1662
|
+
var getIteratorMethod$2 = function (it) {
|
|
1663
|
+
if (!isNullOrUndefined(it)) return getMethod$4(it, ITERATOR$1)
|
|
1664
|
+
|| getMethod$4(it, '@@iterator')
|
|
1665
|
+
|| Iterators[classof$2(it)];
|
|
1666
|
+
};
|
|
1667
|
+
|
|
1668
|
+
var call$g = functionCall;
|
|
1669
|
+
var aCallable$5 = aCallable$9;
|
|
1670
|
+
var anObject$c = anObject$i;
|
|
1671
|
+
var tryToString$1 = tryToString$3;
|
|
1672
|
+
var getIteratorMethod$1 = getIteratorMethod$2;
|
|
1673
|
+
|
|
1674
|
+
var $TypeError$2 = TypeError;
|
|
1675
|
+
|
|
1676
|
+
var getIterator$1 = function (argument, usingIterator) {
|
|
1677
|
+
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
|
|
1678
|
+
if (aCallable$5(iteratorMethod)) return anObject$c(call$g(iteratorMethod, argument));
|
|
1679
|
+
throw new $TypeError$2(tryToString$1(argument) + ' is not iterable');
|
|
1680
|
+
};
|
|
1681
|
+
|
|
1682
|
+
var call$f = functionCall;
|
|
1683
|
+
var anObject$b = anObject$i;
|
|
1684
|
+
var getMethod$3 = getMethod$6;
|
|
1685
|
+
|
|
1686
|
+
var iteratorClose$9 = function (iterator, kind, value) {
|
|
1687
|
+
var innerResult, innerError;
|
|
1688
|
+
anObject$b(iterator);
|
|
1689
|
+
try {
|
|
1690
|
+
innerResult = getMethod$3(iterator, 'return');
|
|
1691
|
+
if (!innerResult) {
|
|
1692
|
+
if (kind === 'throw') throw value;
|
|
1693
|
+
return value;
|
|
1694
|
+
}
|
|
1695
|
+
innerResult = call$f(innerResult, iterator);
|
|
1696
|
+
} catch (error) {
|
|
1697
|
+
innerError = true;
|
|
1698
|
+
innerResult = error;
|
|
1699
|
+
}
|
|
1700
|
+
if (kind === 'throw') throw value;
|
|
1701
|
+
if (innerError) throw innerResult;
|
|
1702
|
+
anObject$b(innerResult);
|
|
1703
|
+
return value;
|
|
1704
|
+
};
|
|
1705
|
+
|
|
1706
|
+
var bind = functionBindContext;
|
|
1707
|
+
var call$e = functionCall;
|
|
1708
|
+
var anObject$a = anObject$i;
|
|
1709
|
+
var tryToString = tryToString$3;
|
|
1710
|
+
var isArrayIteratorMethod = isArrayIteratorMethod$1;
|
|
1711
|
+
var lengthOfArrayLike = lengthOfArrayLike$2;
|
|
1712
|
+
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
1713
|
+
var getIterator = getIterator$1;
|
|
1714
|
+
var getIteratorMethod = getIteratorMethod$2;
|
|
1715
|
+
var iteratorClose$8 = iteratorClose$9;
|
|
1716
|
+
|
|
1717
|
+
var $TypeError$1 = TypeError;
|
|
1718
|
+
|
|
1719
|
+
var Result = function (stopped, result) {
|
|
1720
|
+
this.stopped = stopped;
|
|
1721
|
+
this.result = result;
|
|
1722
|
+
};
|
|
1723
|
+
|
|
1724
|
+
var ResultPrototype = Result.prototype;
|
|
1725
|
+
|
|
1726
|
+
var iterate$3 = function (iterable, unboundFunction, options) {
|
|
1727
|
+
var that = options && options.that;
|
|
1728
|
+
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
|
1729
|
+
var IS_RECORD = !!(options && options.IS_RECORD);
|
|
1730
|
+
var IS_ITERATOR = !!(options && options.IS_ITERATOR);
|
|
1731
|
+
var INTERRUPTED = !!(options && options.INTERRUPTED);
|
|
1732
|
+
var fn = bind(unboundFunction, that);
|
|
1733
|
+
var iterator, iterFn, index, length, result, next, step;
|
|
1734
|
+
|
|
1735
|
+
var stop = function (condition) {
|
|
1736
|
+
if (iterator) iteratorClose$8(iterator, 'normal');
|
|
1737
|
+
return new Result(true, condition);
|
|
1738
|
+
};
|
|
1739
|
+
|
|
1740
|
+
var callFn = function (value) {
|
|
1741
|
+
if (AS_ENTRIES) {
|
|
1742
|
+
anObject$a(value);
|
|
1743
|
+
return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
|
|
1744
|
+
} return INTERRUPTED ? fn(value, stop) : fn(value);
|
|
1745
|
+
};
|
|
1746
|
+
|
|
1747
|
+
if (IS_RECORD) {
|
|
1748
|
+
iterator = iterable.iterator;
|
|
1749
|
+
} else if (IS_ITERATOR) {
|
|
1750
|
+
iterator = iterable;
|
|
1751
|
+
} else {
|
|
1752
|
+
iterFn = getIteratorMethod(iterable);
|
|
1753
|
+
if (!iterFn) throw new $TypeError$1(tryToString(iterable) + ' is not iterable');
|
|
1754
|
+
// optimisation for array iterators
|
|
1755
|
+
if (isArrayIteratorMethod(iterFn)) {
|
|
1756
|
+
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
|
|
1757
|
+
result = callFn(iterable[index]);
|
|
1758
|
+
if (result && isPrototypeOf$1(ResultPrototype, result)) return result;
|
|
1759
|
+
} return new Result(false);
|
|
1760
|
+
}
|
|
1761
|
+
iterator = getIterator(iterable, iterFn);
|
|
1762
|
+
}
|
|
1763
|
+
|
|
1764
|
+
next = IS_RECORD ? iterable.next : iterator.next;
|
|
1765
|
+
while (!(step = call$e(next, iterator)).done) {
|
|
1766
|
+
try {
|
|
1767
|
+
result = callFn(step.value);
|
|
1768
|
+
} catch (error) {
|
|
1769
|
+
iteratorClose$8(iterator, 'throw', error);
|
|
1770
|
+
}
|
|
1771
|
+
if (typeof result == 'object' && result && isPrototypeOf$1(ResultPrototype, result)) return result;
|
|
1772
|
+
} return new Result(false);
|
|
1773
|
+
};
|
|
1774
|
+
|
|
1775
|
+
// `GetIteratorDirect(obj)` abstract operation
|
|
1776
|
+
// https://tc39.es/ecma262/#sec-getiteratordirect
|
|
1777
|
+
var getIteratorDirect$5 = function (obj) {
|
|
1778
|
+
return {
|
|
1779
|
+
iterator: obj,
|
|
1780
|
+
next: obj.next,
|
|
1781
|
+
done: false
|
|
1782
|
+
};
|
|
1783
|
+
};
|
|
1784
|
+
|
|
1785
|
+
var globalThis$6 = globalThis_1;
|
|
1786
|
+
|
|
1787
|
+
// https://github.com/tc39/ecma262/pull/3467
|
|
1788
|
+
var iteratorHelperWithoutClosingOnEarlyError$5 = function (METHOD_NAME, ExpectedError) {
|
|
1789
|
+
var Iterator = globalThis$6.Iterator;
|
|
1790
|
+
var IteratorPrototype = Iterator && Iterator.prototype;
|
|
1791
|
+
var method = IteratorPrototype && IteratorPrototype[METHOD_NAME];
|
|
1792
|
+
|
|
1793
|
+
var CLOSED = false;
|
|
1794
|
+
|
|
1795
|
+
if (method) try {
|
|
1796
|
+
method.call({
|
|
1797
|
+
next: function () { return { done: true }; },
|
|
1798
|
+
'return': function () { CLOSED = true; }
|
|
1799
|
+
}, -1);
|
|
1800
|
+
} catch (error) {
|
|
1801
|
+
// https://bugs.webkit.org/show_bug.cgi?id=291195
|
|
1802
|
+
if (!(error instanceof ExpectedError)) CLOSED = false;
|
|
1803
|
+
}
|
|
1804
|
+
|
|
1805
|
+
if (!CLOSED) return method;
|
|
1806
|
+
};
|
|
1807
|
+
|
|
1808
|
+
var $$7 = _export;
|
|
1809
|
+
var call$d = functionCall;
|
|
1810
|
+
var iterate$2 = iterate$3;
|
|
1811
|
+
var aCallable$4 = aCallable$9;
|
|
1812
|
+
var anObject$9 = anObject$i;
|
|
1813
|
+
var getIteratorDirect$4 = getIteratorDirect$5;
|
|
1814
|
+
var iteratorClose$7 = iteratorClose$9;
|
|
1815
|
+
var iteratorHelperWithoutClosingOnEarlyError$4 = iteratorHelperWithoutClosingOnEarlyError$5;
|
|
1816
|
+
|
|
1817
|
+
var findWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError$4('find', TypeError);
|
|
1818
|
+
|
|
1819
|
+
// `Iterator.prototype.find` method
|
|
1820
|
+
// https://tc39.es/ecma262/#sec-iterator.prototype.find
|
|
1821
|
+
$$7({ target: 'Iterator', proto: true, real: true, forced: findWithoutClosingOnEarlyError }, {
|
|
1822
|
+
find: function find(predicate) {
|
|
1823
|
+
anObject$9(this);
|
|
1824
|
+
try {
|
|
1825
|
+
aCallable$4(predicate);
|
|
1826
|
+
} catch (error) {
|
|
1827
|
+
iteratorClose$7(this, 'throw', error);
|
|
1828
|
+
}
|
|
1829
|
+
|
|
1830
|
+
if (findWithoutClosingOnEarlyError) return call$d(findWithoutClosingOnEarlyError, this, predicate);
|
|
1831
|
+
|
|
1832
|
+
var record = getIteratorDirect$4(this);
|
|
1833
|
+
var counter = 0;
|
|
1834
|
+
return iterate$2(record, function (value, stop) {
|
|
1835
|
+
if (predicate(value, counter++)) return stop(value);
|
|
1836
|
+
}, { IS_RECORD: true, INTERRUPTED: true }).result;
|
|
1837
|
+
}
|
|
1838
|
+
});
|
|
1839
|
+
|
|
1840
|
+
var $$6 = _export;
|
|
1841
|
+
var call$c = functionCall;
|
|
1842
|
+
var iterate$1 = iterate$3;
|
|
1843
|
+
var aCallable$3 = aCallable$9;
|
|
1844
|
+
var anObject$8 = anObject$i;
|
|
1845
|
+
var getIteratorDirect$3 = getIteratorDirect$5;
|
|
1846
|
+
var iteratorClose$6 = iteratorClose$9;
|
|
1847
|
+
var iteratorHelperWithoutClosingOnEarlyError$3 = iteratorHelperWithoutClosingOnEarlyError$5;
|
|
1848
|
+
|
|
1849
|
+
var someWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError$3('some', TypeError);
|
|
1850
|
+
|
|
1851
|
+
// `Iterator.prototype.some` method
|
|
1852
|
+
// https://tc39.es/ecma262/#sec-iterator.prototype.some
|
|
1853
|
+
$$6({ target: 'Iterator', proto: true, real: true, forced: someWithoutClosingOnEarlyError }, {
|
|
1854
|
+
some: function some(predicate) {
|
|
1855
|
+
anObject$8(this);
|
|
1856
|
+
try {
|
|
1857
|
+
aCallable$3(predicate);
|
|
1858
|
+
} catch (error) {
|
|
1859
|
+
iteratorClose$6(this, 'throw', error);
|
|
1860
|
+
}
|
|
1861
|
+
|
|
1862
|
+
if (someWithoutClosingOnEarlyError) return call$c(someWithoutClosingOnEarlyError, this, predicate);
|
|
1863
|
+
|
|
1864
|
+
var record = getIteratorDirect$3(this);
|
|
1865
|
+
var counter = 0;
|
|
1866
|
+
return iterate$1(record, function (value, stop) {
|
|
1867
|
+
if (predicate(value, counter++)) return stop();
|
|
1868
|
+
}, { IS_RECORD: true, INTERRUPTED: true }).stopped;
|
|
1869
|
+
}
|
|
1870
|
+
});
|
|
1871
|
+
|
|
1491
1872
|
var DESCRIPTORS = descriptors;
|
|
1492
1873
|
var uncurryThis$5 = functionUncurryThis;
|
|
1493
|
-
var call$
|
|
1494
|
-
var fails$
|
|
1874
|
+
var call$b = functionCall;
|
|
1875
|
+
var fails$7 = fails$j;
|
|
1495
1876
|
var objectKeys = objectKeys$2;
|
|
1496
1877
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
1497
1878
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
@@ -1506,7 +1887,7 @@ var concat$1 = uncurryThis$5([].concat);
|
|
|
1506
1887
|
|
|
1507
1888
|
// `Object.assign` method
|
|
1508
1889
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
1509
|
-
var objectAssign = !$assign || fails$
|
|
1890
|
+
var objectAssign = !$assign || fails$7(function () {
|
|
1510
1891
|
// should have correct order of operations (Edge bug)
|
|
1511
1892
|
if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
|
|
1512
1893
|
enumerable: true,
|
|
@@ -1524,6 +1905,7 @@ var objectAssign = !$assign || fails$6(function () {
|
|
|
1524
1905
|
var symbol = Symbol('assign detection');
|
|
1525
1906
|
var alphabet = 'abcdefghijklmnopqrst';
|
|
1526
1907
|
A[symbol] = 7;
|
|
1908
|
+
// eslint-disable-next-line es/no-array-prototype-foreach -- safe
|
|
1527
1909
|
alphabet.split('').forEach(function (chr) { B[chr] = chr; });
|
|
1528
1910
|
return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet;
|
|
1529
1911
|
}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
|
|
@@ -1540,18 +1922,18 @@ var objectAssign = !$assign || fails$6(function () {
|
|
|
1540
1922
|
var key;
|
|
1541
1923
|
while (length > j) {
|
|
1542
1924
|
key = keys[j++];
|
|
1543
|
-
if (!DESCRIPTORS || call$
|
|
1925
|
+
if (!DESCRIPTORS || call$b(propertyIsEnumerable, S, key)) T[key] = S[key];
|
|
1544
1926
|
}
|
|
1545
1927
|
} return T;
|
|
1546
1928
|
} : $assign;
|
|
1547
1929
|
|
|
1548
|
-
var $$
|
|
1930
|
+
var $$5 = _export;
|
|
1549
1931
|
var assign = objectAssign;
|
|
1550
1932
|
|
|
1551
1933
|
// `Object.assign` method
|
|
1552
1934
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
1553
1935
|
// eslint-disable-next-line es/no-object-assign -- required for testing
|
|
1554
|
-
$$
|
|
1936
|
+
$$5({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
|
|
1555
1937
|
assign: assign
|
|
1556
1938
|
});
|
|
1557
1939
|
|
|
@@ -1599,22 +1981,22 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
|
|
|
1599
1981
|
|
|
1600
1982
|
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
|
1601
1983
|
|
|
1602
|
-
var globalThis$
|
|
1984
|
+
var globalThis$5 = globalThis_1;
|
|
1603
1985
|
var DOMIterables = domIterables;
|
|
1604
1986
|
var DOMTokenListPrototype = domTokenListPrototype;
|
|
1605
1987
|
var ArrayIteratorMethods = es_array_iterator;
|
|
1606
|
-
var createNonEnumerableProperty$
|
|
1988
|
+
var createNonEnumerableProperty$2 = createNonEnumerableProperty$6;
|
|
1607
1989
|
var setToStringTag = setToStringTag$3;
|
|
1608
|
-
var wellKnownSymbol$
|
|
1990
|
+
var wellKnownSymbol$3 = wellKnownSymbol$e;
|
|
1609
1991
|
|
|
1610
|
-
var ITERATOR = wellKnownSymbol$
|
|
1992
|
+
var ITERATOR = wellKnownSymbol$3('iterator');
|
|
1611
1993
|
var ArrayValues = ArrayIteratorMethods.values;
|
|
1612
1994
|
|
|
1613
1995
|
var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
1614
1996
|
if (CollectionPrototype) {
|
|
1615
1997
|
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
1616
1998
|
if (CollectionPrototype[ITERATOR] !== ArrayValues) try {
|
|
1617
|
-
createNonEnumerableProperty$
|
|
1999
|
+
createNonEnumerableProperty$2(CollectionPrototype, ITERATOR, ArrayValues);
|
|
1618
2000
|
} catch (error) {
|
|
1619
2001
|
CollectionPrototype[ITERATOR] = ArrayValues;
|
|
1620
2002
|
}
|
|
@@ -1622,7 +2004,7 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
|
1622
2004
|
if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
|
|
1623
2005
|
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
1624
2006
|
if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
|
|
1625
|
-
createNonEnumerableProperty$
|
|
2007
|
+
createNonEnumerableProperty$2(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
|
|
1626
2008
|
} catch (error) {
|
|
1627
2009
|
CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
|
|
1628
2010
|
}
|
|
@@ -1631,7 +2013,7 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
|
1631
2013
|
};
|
|
1632
2014
|
|
|
1633
2015
|
for (var COLLECTION_NAME in DOMIterables) {
|
|
1634
|
-
handlePrototype(globalThis$
|
|
2016
|
+
handlePrototype(globalThis$5[COLLECTION_NAME] && globalThis$5[COLLECTION_NAME].prototype, COLLECTION_NAME);
|
|
1635
2017
|
}
|
|
1636
2018
|
|
|
1637
2019
|
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
@@ -1650,6 +2032,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
1650
2032
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
1651
2033
|
PERFORMANCE OF THIS SOFTWARE.
|
|
1652
2034
|
***************************************************************************** */
|
|
2035
|
+
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
|
2036
|
+
|
|
1653
2037
|
|
|
1654
2038
|
function __rest(s, e) {
|
|
1655
2039
|
var t = {};
|
|
@@ -1678,46 +2062,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
1678
2062
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
1679
2063
|
};
|
|
1680
2064
|
|
|
1681
|
-
var
|
|
1682
|
-
|
|
1683
|
-
var TO_STRING_TAG$1 = wellKnownSymbol$3('toStringTag');
|
|
1684
|
-
var test = {};
|
|
1685
|
-
|
|
1686
|
-
test[TO_STRING_TAG$1] = 'z';
|
|
1687
|
-
|
|
1688
|
-
var toStringTagSupport = String(test) === '[object z]';
|
|
1689
|
-
|
|
1690
|
-
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
1691
|
-
var isCallable$2 = isCallable$g;
|
|
1692
|
-
var classofRaw = classofRaw$1;
|
|
1693
|
-
var wellKnownSymbol$2 = wellKnownSymbol$a;
|
|
1694
|
-
|
|
1695
|
-
var TO_STRING_TAG = wellKnownSymbol$2('toStringTag');
|
|
1696
|
-
var $Object = Object;
|
|
1697
|
-
|
|
1698
|
-
// ES3 wrong here
|
|
1699
|
-
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
|
|
1700
|
-
|
|
1701
|
-
// fallback for IE11 Script Access Denied error
|
|
1702
|
-
var tryGet = function (it, key) {
|
|
1703
|
-
try {
|
|
1704
|
-
return it[key];
|
|
1705
|
-
} catch (error) { /* empty */ }
|
|
1706
|
-
};
|
|
1707
|
-
|
|
1708
|
-
// getting tag from ES6+ `Object.prototype.toString`
|
|
1709
|
-
var classof$2 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
1710
|
-
var O, tag, result;
|
|
1711
|
-
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
1712
|
-
// @@toStringTag case
|
|
1713
|
-
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
|
|
1714
|
-
// builtinTag case
|
|
1715
|
-
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
1716
|
-
// ES3 arguments fallback
|
|
1717
|
-
: (result = classofRaw(O)) === 'Object' && isCallable$2(O.callee) ? 'Arguments' : result;
|
|
1718
|
-
};
|
|
1719
|
-
|
|
1720
|
-
var classof$1 = classof$2;
|
|
2065
|
+
var classof$1 = classof$3;
|
|
1721
2066
|
|
|
1722
2067
|
var $String = String;
|
|
1723
2068
|
|
|
@@ -1726,12 +2071,12 @@ var toString$5 = function (argument) {
|
|
|
1726
2071
|
return $String(argument);
|
|
1727
2072
|
};
|
|
1728
2073
|
|
|
1729
|
-
var anObject$
|
|
2074
|
+
var anObject$7 = anObject$i;
|
|
1730
2075
|
|
|
1731
2076
|
// `RegExp.prototype.flags` getter implementation
|
|
1732
2077
|
// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
|
|
1733
2078
|
var regexpFlags$1 = function () {
|
|
1734
|
-
var that = anObject$
|
|
2079
|
+
var that = anObject$7(this);
|
|
1735
2080
|
var result = '';
|
|
1736
2081
|
if (that.hasIndices) result += 'd';
|
|
1737
2082
|
if (that.global) result += 'g';
|
|
@@ -1744,13 +2089,13 @@ var regexpFlags$1 = function () {
|
|
|
1744
2089
|
return result;
|
|
1745
2090
|
};
|
|
1746
2091
|
|
|
1747
|
-
var fails$
|
|
1748
|
-
var globalThis$
|
|
2092
|
+
var fails$6 = fails$j;
|
|
2093
|
+
var globalThis$4 = globalThis_1;
|
|
1749
2094
|
|
|
1750
2095
|
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
1751
|
-
var $RegExp$2 = globalThis$
|
|
2096
|
+
var $RegExp$2 = globalThis$4.RegExp;
|
|
1752
2097
|
|
|
1753
|
-
var UNSUPPORTED_Y$1 = fails$
|
|
2098
|
+
var UNSUPPORTED_Y$1 = fails$6(function () {
|
|
1754
2099
|
var re = $RegExp$2('a', 'y');
|
|
1755
2100
|
re.lastIndex = 2;
|
|
1756
2101
|
return re.exec('abcd') !== null;
|
|
@@ -1758,11 +2103,11 @@ var UNSUPPORTED_Y$1 = fails$5(function () {
|
|
|
1758
2103
|
|
|
1759
2104
|
// UC Browser bug
|
|
1760
2105
|
// https://github.com/zloirock/core-js/issues/1008
|
|
1761
|
-
|
|
2106
|
+
UNSUPPORTED_Y$1 || fails$6(function () {
|
|
1762
2107
|
return !$RegExp$2('a', 'y').sticky;
|
|
1763
2108
|
});
|
|
1764
2109
|
|
|
1765
|
-
var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$
|
|
2110
|
+
var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$6(function () {
|
|
1766
2111
|
// https://bugzilla.mozilla.org/show_bug.cgi?id=773687
|
|
1767
2112
|
var re = $RegExp$2('^r', 'gy');
|
|
1768
2113
|
re.lastIndex = 2;
|
|
@@ -1770,29 +2115,26 @@ var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$5(function () {
|
|
|
1770
2115
|
});
|
|
1771
2116
|
|
|
1772
2117
|
var regexpStickyHelpers = {
|
|
1773
|
-
BROKEN_CARET: BROKEN_CARET
|
|
1774
|
-
MISSED_STICKY: MISSED_STICKY,
|
|
1775
|
-
UNSUPPORTED_Y: UNSUPPORTED_Y$1
|
|
1776
|
-
};
|
|
2118
|
+
BROKEN_CARET: BROKEN_CARET};
|
|
1777
2119
|
|
|
1778
|
-
var fails$
|
|
1779
|
-
var globalThis$
|
|
2120
|
+
var fails$5 = fails$j;
|
|
2121
|
+
var globalThis$3 = globalThis_1;
|
|
1780
2122
|
|
|
1781
2123
|
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
|
1782
|
-
var $RegExp$1 = globalThis$
|
|
2124
|
+
var $RegExp$1 = globalThis$3.RegExp;
|
|
1783
2125
|
|
|
1784
|
-
var regexpUnsupportedDotAll = fails$
|
|
2126
|
+
var regexpUnsupportedDotAll = fails$5(function () {
|
|
1785
2127
|
var re = $RegExp$1('.', 's');
|
|
1786
2128
|
return !(re.dotAll && re.test('\n') && re.flags === 's');
|
|
1787
2129
|
});
|
|
1788
2130
|
|
|
1789
|
-
var fails$
|
|
1790
|
-
var globalThis$
|
|
2131
|
+
var fails$4 = fails$j;
|
|
2132
|
+
var globalThis$2 = globalThis_1;
|
|
1791
2133
|
|
|
1792
2134
|
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
|
|
1793
|
-
var $RegExp = globalThis$
|
|
2135
|
+
var $RegExp = globalThis$2.RegExp;
|
|
1794
2136
|
|
|
1795
|
-
var regexpUnsupportedNcg = fails$
|
|
2137
|
+
var regexpUnsupportedNcg = fails$4(function () {
|
|
1796
2138
|
var re = $RegExp('(?<a>b)', 'g');
|
|
1797
2139
|
return re.exec('b').groups.a !== 'b' ||
|
|
1798
2140
|
'b'.replace(re, '$<a>c') !== 'bc';
|
|
@@ -1800,13 +2142,13 @@ var regexpUnsupportedNcg = fails$3(function () {
|
|
|
1800
2142
|
|
|
1801
2143
|
/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
|
|
1802
2144
|
/* eslint-disable regexp/no-useless-quantifier -- testing */
|
|
1803
|
-
var call$
|
|
2145
|
+
var call$a = functionCall;
|
|
1804
2146
|
var uncurryThis$4 = functionUncurryThis;
|
|
1805
2147
|
var toString$4 = toString$5;
|
|
1806
2148
|
var regexpFlags = regexpFlags$1;
|
|
1807
2149
|
var stickyHelpers = regexpStickyHelpers;
|
|
1808
2150
|
var shared = shared$4;
|
|
1809
|
-
var create = objectCreate;
|
|
2151
|
+
var create$1 = objectCreate;
|
|
1810
2152
|
var getInternalState = internalState.get;
|
|
1811
2153
|
var UNSUPPORTED_DOT_ALL = regexpUnsupportedDotAll;
|
|
1812
2154
|
var UNSUPPORTED_NCG = regexpUnsupportedNcg;
|
|
@@ -1822,8 +2164,8 @@ var stringSlice$3 = uncurryThis$4(''.slice);
|
|
|
1822
2164
|
var UPDATES_LAST_INDEX_WRONG = (function () {
|
|
1823
2165
|
var re1 = /a/;
|
|
1824
2166
|
var re2 = /b*/g;
|
|
1825
|
-
call$
|
|
1826
|
-
call$
|
|
2167
|
+
call$a(nativeExec, re1, 'a');
|
|
2168
|
+
call$a(nativeExec, re2, 'a');
|
|
1827
2169
|
return re1.lastIndex !== 0 || re2.lastIndex !== 0;
|
|
1828
2170
|
})();
|
|
1829
2171
|
|
|
@@ -1844,14 +2186,14 @@ if (PATCH) {
|
|
|
1844
2186
|
|
|
1845
2187
|
if (raw) {
|
|
1846
2188
|
raw.lastIndex = re.lastIndex;
|
|
1847
|
-
result = call$
|
|
2189
|
+
result = call$a(patchedExec, raw, str);
|
|
1848
2190
|
re.lastIndex = raw.lastIndex;
|
|
1849
2191
|
return result;
|
|
1850
2192
|
}
|
|
1851
2193
|
|
|
1852
2194
|
var groups = state.groups;
|
|
1853
2195
|
var sticky = UNSUPPORTED_Y && re.sticky;
|
|
1854
|
-
var flags = call$
|
|
2196
|
+
var flags = call$a(regexpFlags, re);
|
|
1855
2197
|
var source = re.source;
|
|
1856
2198
|
var charsAdded = 0;
|
|
1857
2199
|
var strCopy = str;
|
|
@@ -1879,7 +2221,7 @@ if (PATCH) {
|
|
|
1879
2221
|
}
|
|
1880
2222
|
if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
|
|
1881
2223
|
|
|
1882
|
-
match = call$
|
|
2224
|
+
match = call$a(nativeExec, sticky ? reCopy : re, strCopy);
|
|
1883
2225
|
|
|
1884
2226
|
if (sticky) {
|
|
1885
2227
|
if (match) {
|
|
@@ -1894,7 +2236,7 @@ if (PATCH) {
|
|
|
1894
2236
|
if (NPCG_INCLUDED && match && match.length > 1) {
|
|
1895
2237
|
// Fix browsers whose `exec` methods don't consistently return `undefined`
|
|
1896
2238
|
// for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
|
|
1897
|
-
call$
|
|
2239
|
+
call$a(nativeReplace, match[0], reCopy, function () {
|
|
1898
2240
|
for (i = 1; i < arguments.length - 2; i++) {
|
|
1899
2241
|
if (arguments[i] === undefined) match[i] = undefined;
|
|
1900
2242
|
}
|
|
@@ -1902,7 +2244,7 @@ if (PATCH) {
|
|
|
1902
2244
|
}
|
|
1903
2245
|
|
|
1904
2246
|
if (match && groups) {
|
|
1905
|
-
match.groups = object = create(null);
|
|
2247
|
+
match.groups = object = create$1(null);
|
|
1906
2248
|
for (i = 0; i < groups.length; i++) {
|
|
1907
2249
|
group = groups[i];
|
|
1908
2250
|
object[group[0]] = match[group[1]];
|
|
@@ -1915,12 +2257,12 @@ if (PATCH) {
|
|
|
1915
2257
|
|
|
1916
2258
|
var regexpExec$2 = patchedExec;
|
|
1917
2259
|
|
|
1918
|
-
var $$
|
|
2260
|
+
var $$4 = _export;
|
|
1919
2261
|
var exec = regexpExec$2;
|
|
1920
2262
|
|
|
1921
2263
|
// `RegExp.prototype.exec` method
|
|
1922
2264
|
// https://tc39.es/ecma262/#sec-regexp.prototype.exec
|
|
1923
|
-
$$
|
|
2265
|
+
$$4({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
|
|
1924
2266
|
exec: exec
|
|
1925
2267
|
});
|
|
1926
2268
|
|
|
@@ -1928,36 +2270,37 @@ var NATIVE_BIND = functionBindNative;
|
|
|
1928
2270
|
|
|
1929
2271
|
var FunctionPrototype = Function.prototype;
|
|
1930
2272
|
var apply$1 = FunctionPrototype.apply;
|
|
1931
|
-
var call$
|
|
2273
|
+
var call$9 = FunctionPrototype.call;
|
|
1932
2274
|
|
|
1933
|
-
// eslint-disable-next-line es/no-reflect -- safe
|
|
1934
|
-
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call$
|
|
1935
|
-
return call$
|
|
2275
|
+
// eslint-disable-next-line es/no-function-prototype-bind, es/no-reflect -- safe
|
|
2276
|
+
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call$9.bind(apply$1) : function () {
|
|
2277
|
+
return call$9.apply(apply$1, arguments);
|
|
1936
2278
|
});
|
|
1937
2279
|
|
|
1938
2280
|
// TODO: Remove from `core-js@4` since it's moved to entry points
|
|
1939
2281
|
|
|
1940
|
-
var call$
|
|
1941
|
-
var defineBuiltIn = defineBuiltIn$
|
|
2282
|
+
var call$8 = functionCall;
|
|
2283
|
+
var defineBuiltIn$1 = defineBuiltIn$5;
|
|
1942
2284
|
var regexpExec$1 = regexpExec$2;
|
|
1943
|
-
var fails$
|
|
1944
|
-
var wellKnownSymbol$
|
|
1945
|
-
var createNonEnumerableProperty = createNonEnumerableProperty$
|
|
2285
|
+
var fails$3 = fails$j;
|
|
2286
|
+
var wellKnownSymbol$2 = wellKnownSymbol$e;
|
|
2287
|
+
var createNonEnumerableProperty$1 = createNonEnumerableProperty$6;
|
|
1946
2288
|
|
|
1947
|
-
var SPECIES = wellKnownSymbol$
|
|
1948
|
-
var RegExpPrototype = RegExp.prototype;
|
|
2289
|
+
var SPECIES = wellKnownSymbol$2('species');
|
|
2290
|
+
var RegExpPrototype$1 = RegExp.prototype;
|
|
1949
2291
|
|
|
1950
2292
|
var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
1951
|
-
var SYMBOL = wellKnownSymbol$
|
|
2293
|
+
var SYMBOL = wellKnownSymbol$2(KEY);
|
|
1952
2294
|
|
|
1953
|
-
var DELEGATES_TO_SYMBOL = !fails$
|
|
2295
|
+
var DELEGATES_TO_SYMBOL = !fails$3(function () {
|
|
1954
2296
|
// String methods call symbol-named RegExp methods
|
|
1955
2297
|
var O = {};
|
|
2298
|
+
// eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
|
|
1956
2299
|
O[SYMBOL] = function () { return 7; };
|
|
1957
2300
|
return ''[KEY](O) !== 7;
|
|
1958
2301
|
});
|
|
1959
2302
|
|
|
1960
|
-
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$
|
|
2303
|
+
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$3(function () {
|
|
1961
2304
|
// Symbol-named RegExp methods call .exec
|
|
1962
2305
|
var execCalled = false;
|
|
1963
2306
|
var re = /a/;
|
|
@@ -1966,12 +2309,13 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
1966
2309
|
// We can't use real regex here since it causes deoptimization
|
|
1967
2310
|
// and serious performance degradation in V8
|
|
1968
2311
|
// https://github.com/zloirock/core-js/issues/306
|
|
1969
|
-
re = {};
|
|
1970
2312
|
// RegExp[@@split] doesn't call the regex's exec method, but first creates
|
|
1971
2313
|
// a new one. We need to return the patched regex when creating the new one.
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
2314
|
+
var constructor = {};
|
|
2315
|
+
// eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
|
|
2316
|
+
constructor[SPECIES] = function () { return re; };
|
|
2317
|
+
re = { constructor: constructor, flags: '' };
|
|
2318
|
+
// eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
|
|
1975
2319
|
re[SYMBOL] = /./[SYMBOL];
|
|
1976
2320
|
}
|
|
1977
2321
|
|
|
@@ -1992,23 +2336,23 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
1992
2336
|
var nativeRegExpMethod = /./[SYMBOL];
|
|
1993
2337
|
var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
|
|
1994
2338
|
var $exec = regexp.exec;
|
|
1995
|
-
if ($exec === regexpExec$1 || $exec === RegExpPrototype.exec) {
|
|
2339
|
+
if ($exec === regexpExec$1 || $exec === RegExpPrototype$1.exec) {
|
|
1996
2340
|
if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
|
|
1997
2341
|
// The native String method already delegates to @@method (this
|
|
1998
2342
|
// polyfilled function), leasing to infinite recursion.
|
|
1999
2343
|
// We avoid it by directly calling the native @@method method.
|
|
2000
|
-
return { done: true, value: call$
|
|
2344
|
+
return { done: true, value: call$8(nativeRegExpMethod, regexp, str, arg2) };
|
|
2001
2345
|
}
|
|
2002
|
-
return { done: true, value: call$
|
|
2346
|
+
return { done: true, value: call$8(nativeMethod, str, regexp, arg2) };
|
|
2003
2347
|
}
|
|
2004
2348
|
return { done: false };
|
|
2005
2349
|
});
|
|
2006
2350
|
|
|
2007
|
-
defineBuiltIn(String.prototype, KEY, methods[0]);
|
|
2008
|
-
defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]);
|
|
2351
|
+
defineBuiltIn$1(String.prototype, KEY, methods[0]);
|
|
2352
|
+
defineBuiltIn$1(RegExpPrototype$1, SYMBOL, methods[1]);
|
|
2009
2353
|
}
|
|
2010
2354
|
|
|
2011
|
-
if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);
|
|
2355
|
+
if (SHAM) createNonEnumerableProperty$1(RegExpPrototype$1[SYMBOL], 'sham', true);
|
|
2012
2356
|
};
|
|
2013
2357
|
|
|
2014
2358
|
var uncurryThis$3 = functionUncurryThis;
|
|
@@ -2040,9 +2384,6 @@ var createMethod$1 = function (CONVERT_TO_STRING) {
|
|
|
2040
2384
|
};
|
|
2041
2385
|
|
|
2042
2386
|
var stringMultibyte = {
|
|
2043
|
-
// `String.prototype.codePointAt` method
|
|
2044
|
-
// https://tc39.es/ecma262/#sec-string.prototype.codepointat
|
|
2045
|
-
codeAt: createMethod$1(false),
|
|
2046
2387
|
// `String.prototype.at` method
|
|
2047
2388
|
// https://github.com/mathiasbynens/String.prototype.at
|
|
2048
2389
|
charAt: createMethod$1(true)
|
|
@@ -2102,10 +2443,73 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
|
|
|
2102
2443
|
});
|
|
2103
2444
|
};
|
|
2104
2445
|
|
|
2105
|
-
var
|
|
2106
|
-
var
|
|
2107
|
-
|
|
2108
|
-
|
|
2446
|
+
var globalThis$1 = globalThis_1;
|
|
2447
|
+
var fails$2 = fails$j;
|
|
2448
|
+
|
|
2449
|
+
// babel-minify and Closure Compiler transpiles RegExp('.', 'd') -> /./d and it causes SyntaxError
|
|
2450
|
+
var RegExp$1 = globalThis$1.RegExp;
|
|
2451
|
+
|
|
2452
|
+
var FLAGS_GETTER_IS_CORRECT = !fails$2(function () {
|
|
2453
|
+
var INDICES_SUPPORT = true;
|
|
2454
|
+
try {
|
|
2455
|
+
RegExp$1('.', 'd');
|
|
2456
|
+
} catch (error) {
|
|
2457
|
+
INDICES_SUPPORT = false;
|
|
2458
|
+
}
|
|
2459
|
+
|
|
2460
|
+
var O = {};
|
|
2461
|
+
// modern V8 bug
|
|
2462
|
+
var calls = '';
|
|
2463
|
+
var expected = INDICES_SUPPORT ? 'dgimsy' : 'gimsy';
|
|
2464
|
+
|
|
2465
|
+
var addGetter = function (key, chr) {
|
|
2466
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
2467
|
+
Object.defineProperty(O, key, { get: function () {
|
|
2468
|
+
calls += chr;
|
|
2469
|
+
return true;
|
|
2470
|
+
} });
|
|
2471
|
+
};
|
|
2472
|
+
|
|
2473
|
+
var pairs = {
|
|
2474
|
+
dotAll: 's',
|
|
2475
|
+
global: 'g',
|
|
2476
|
+
ignoreCase: 'i',
|
|
2477
|
+
multiline: 'm',
|
|
2478
|
+
sticky: 'y'
|
|
2479
|
+
};
|
|
2480
|
+
|
|
2481
|
+
if (INDICES_SUPPORT) pairs.hasIndices = 'd';
|
|
2482
|
+
|
|
2483
|
+
for (var key in pairs) addGetter(key, pairs[key]);
|
|
2484
|
+
|
|
2485
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
2486
|
+
var result = Object.getOwnPropertyDescriptor(RegExp$1.prototype, 'flags').get.call(O);
|
|
2487
|
+
|
|
2488
|
+
return result !== expected || calls !== expected;
|
|
2489
|
+
});
|
|
2490
|
+
|
|
2491
|
+
var regexpFlagsDetection = { correct: FLAGS_GETTER_IS_CORRECT };
|
|
2492
|
+
|
|
2493
|
+
var call$7 = functionCall;
|
|
2494
|
+
var hasOwn = hasOwnProperty_1;
|
|
2495
|
+
var isPrototypeOf = objectIsPrototypeOf;
|
|
2496
|
+
var regExpFlagsDetection = regexpFlagsDetection;
|
|
2497
|
+
var regExpFlagsGetterImplementation = regexpFlags$1;
|
|
2498
|
+
|
|
2499
|
+
var RegExpPrototype = RegExp.prototype;
|
|
2500
|
+
|
|
2501
|
+
var regexpGetFlags = regExpFlagsDetection.correct ? function (it) {
|
|
2502
|
+
return it.flags;
|
|
2503
|
+
} : function (it) {
|
|
2504
|
+
return (!regExpFlagsDetection.correct && isPrototypeOf(RegExpPrototype, it) && !hasOwn(it, 'flags'))
|
|
2505
|
+
? call$7(regExpFlagsGetterImplementation, it)
|
|
2506
|
+
: it.flags;
|
|
2507
|
+
};
|
|
2508
|
+
|
|
2509
|
+
var call$6 = functionCall;
|
|
2510
|
+
var anObject$6 = anObject$i;
|
|
2511
|
+
var isCallable$1 = isCallable$h;
|
|
2512
|
+
var classof = classofRaw$2;
|
|
2109
2513
|
var regexpExec = regexpExec$2;
|
|
2110
2514
|
|
|
2111
2515
|
var $TypeError = TypeError;
|
|
@@ -2115,33 +2519,34 @@ var $TypeError = TypeError;
|
|
|
2115
2519
|
var regexpExecAbstract = function (R, S) {
|
|
2116
2520
|
var exec = R.exec;
|
|
2117
2521
|
if (isCallable$1(exec)) {
|
|
2118
|
-
var result = call$
|
|
2119
|
-
if (result !== null) anObject$
|
|
2522
|
+
var result = call$6(exec, R, S);
|
|
2523
|
+
if (result !== null) anObject$6(result);
|
|
2120
2524
|
return result;
|
|
2121
2525
|
}
|
|
2122
|
-
if (classof(R) === 'RegExp') return call$
|
|
2526
|
+
if (classof(R) === 'RegExp') return call$6(regexpExec, R, S);
|
|
2123
2527
|
throw new $TypeError('RegExp#exec called on incompatible receiver');
|
|
2124
2528
|
};
|
|
2125
2529
|
|
|
2126
2530
|
var apply = functionApply;
|
|
2127
|
-
var call$
|
|
2531
|
+
var call$5 = functionCall;
|
|
2128
2532
|
var uncurryThis$1 = functionUncurryThis;
|
|
2129
2533
|
var fixRegExpWellKnownSymbolLogic$1 = fixRegexpWellKnownSymbolLogic;
|
|
2130
|
-
var fails$1 = fails$
|
|
2131
|
-
var anObject$
|
|
2132
|
-
var isCallable = isCallable$
|
|
2133
|
-
var
|
|
2534
|
+
var fails$1 = fails$j;
|
|
2535
|
+
var anObject$5 = anObject$i;
|
|
2536
|
+
var isCallable = isCallable$h;
|
|
2537
|
+
var isObject$1 = isObject$a;
|
|
2134
2538
|
var toIntegerOrInfinity = toIntegerOrInfinity$4;
|
|
2135
2539
|
var toLength = toLength$2;
|
|
2136
2540
|
var toString$2 = toString$5;
|
|
2137
2541
|
var requireObjectCoercible$2 = requireObjectCoercible$7;
|
|
2138
2542
|
var advanceStringIndex = advanceStringIndex$1;
|
|
2139
|
-
var getMethod$
|
|
2543
|
+
var getMethod$2 = getMethod$6;
|
|
2140
2544
|
var getSubstitution = getSubstitution$1;
|
|
2545
|
+
var getRegExpFlags = regexpGetFlags;
|
|
2141
2546
|
var regExpExec$1 = regexpExecAbstract;
|
|
2142
|
-
var wellKnownSymbol = wellKnownSymbol$
|
|
2547
|
+
var wellKnownSymbol$1 = wellKnownSymbol$e;
|
|
2143
2548
|
|
|
2144
|
-
var REPLACE = wellKnownSymbol('replace');
|
|
2549
|
+
var REPLACE = wellKnownSymbol$1('replace');
|
|
2145
2550
|
var max = Math.max;
|
|
2146
2551
|
var min = Math.min;
|
|
2147
2552
|
var concat = uncurryThis$1([].concat);
|
|
@@ -2188,15 +2593,15 @@ fixRegExpWellKnownSymbolLogic$1('replace', function (_, nativeReplace, maybeCall
|
|
|
2188
2593
|
// https://tc39.es/ecma262/#sec-string.prototype.replace
|
|
2189
2594
|
function replace(searchValue, replaceValue) {
|
|
2190
2595
|
var O = requireObjectCoercible$2(this);
|
|
2191
|
-
var replacer =
|
|
2596
|
+
var replacer = isObject$1(searchValue) ? getMethod$2(searchValue, REPLACE) : undefined;
|
|
2192
2597
|
return replacer
|
|
2193
|
-
? call$
|
|
2194
|
-
: call$
|
|
2598
|
+
? call$5(replacer, searchValue, O, replaceValue)
|
|
2599
|
+
: call$5(nativeReplace, toString$2(O), searchValue, replaceValue);
|
|
2195
2600
|
},
|
|
2196
2601
|
// `RegExp.prototype[@@replace]` method
|
|
2197
2602
|
// https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
|
|
2198
2603
|
function (string, replaceValue) {
|
|
2199
|
-
var rx = anObject$
|
|
2604
|
+
var rx = anObject$5(this);
|
|
2200
2605
|
var S = toString$2(string);
|
|
2201
2606
|
|
|
2202
2607
|
if (
|
|
@@ -2211,10 +2616,11 @@ fixRegExpWellKnownSymbolLogic$1('replace', function (_, nativeReplace, maybeCall
|
|
|
2211
2616
|
var functionalReplace = isCallable(replaceValue);
|
|
2212
2617
|
if (!functionalReplace) replaceValue = toString$2(replaceValue);
|
|
2213
2618
|
|
|
2214
|
-
var
|
|
2619
|
+
var flags = toString$2(getRegExpFlags(rx));
|
|
2620
|
+
var global = stringIndexOf(flags, 'g') !== -1;
|
|
2215
2621
|
var fullUnicode;
|
|
2216
2622
|
if (global) {
|
|
2217
|
-
fullUnicode =
|
|
2623
|
+
fullUnicode = stringIndexOf(flags, 'u') !== -1;
|
|
2218
2624
|
rx.lastIndex = 0;
|
|
2219
2625
|
}
|
|
2220
2626
|
|
|
@@ -2265,11 +2671,11 @@ fixRegExpWellKnownSymbolLogic$1('replace', function (_, nativeReplace, maybeCall
|
|
|
2265
2671
|
];
|
|
2266
2672
|
}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);
|
|
2267
2673
|
|
|
2268
|
-
const ClickableElement = /*#__PURE__*/styled__default
|
|
2674
|
+
const ClickableElement = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
2269
2675
|
displayName: "molecules-dropdownstyles__ClickableElement",
|
|
2270
2676
|
componentId: "sc-3wugi4-0"
|
|
2271
2677
|
})(["display:flex;flex-direction:column;justify-content:center;cursor:pointer;"]);
|
|
2272
|
-
const ContainerDropdown = /*#__PURE__*/styled__default
|
|
2678
|
+
const ContainerDropdown = /*#__PURE__*/styled__default.default.section.withConfig({
|
|
2273
2679
|
displayName: "molecules-dropdownstyles__ContainerDropdown",
|
|
2274
2680
|
componentId: "sc-3wugi4-1"
|
|
2275
2681
|
})(["display:flex;padding-top:", ";padding-bottom:", ";padding-right:", ";padding-left:", ";gap:", ";background-color:", ";outline:", ";outline-offset:calc(", "* -1);border-radius:", ";box-shadow:", ";margin-bottom:", ";input{display:inline-block;text-overflow:ellipsis;white-space:nowrap;width:100%;overflow-x:hidden;}.fieldLabel{color:", ";font-weight:", ";line-height:", ";font-size:", ";letter-spacing:", ";}.requiredLabel{color:", ";font-weight:", ";line-height:", ";font-size:", ";letter-spacing:", ";}label.material-symbols-sharp{color:", ";}&:focus-within{background-color:", ";outline:", ";", "}", " ", ""], ({
|
|
@@ -2393,7 +2799,7 @@ const ContainerDropdown = /*#__PURE__*/styled__default["default"].section.withCo
|
|
|
2393
2799
|
theme,
|
|
2394
2800
|
$variant
|
|
2395
2801
|
}) => theme.components.dropdown[$variant].text.color.fieldLabel.disable));
|
|
2396
|
-
const SectionContainer = /*#__PURE__*/styled__default
|
|
2802
|
+
const SectionContainer = /*#__PURE__*/styled__default.default.section.withConfig({
|
|
2397
2803
|
displayName: "molecules-dropdownstyles__SectionContainer",
|
|
2398
2804
|
componentId: "sc-3wugi4-2"
|
|
2399
2805
|
})(["position:relative;.top{top:-", ";transform:translateY(-100%);}.bottom{top:", ";}.errorMessage{padding-right:", ";padding-left:", ";label{color:", ";font-weight:", ";line-height:", ";font-size:", ";letter-spacing:", ";}}.helperMessage{padding-right:", ";padding-left:", ";margin-top:", ";label{color:", ";font-weight:", ";line-height:", ";font-size:", ";letter-spacing:", ";}}"], ({
|
|
@@ -2434,17 +2840,17 @@ const SectionContainer = /*#__PURE__*/styled__default["default"].section.withCon
|
|
|
2434
2840
|
}) => theme.components.dropdown.helper.fontSize, ({
|
|
2435
2841
|
theme
|
|
2436
2842
|
}) => theme.components.dropdown.helper.letterSpacing);
|
|
2437
|
-
const InputAndIconDropdown = /*#__PURE__*/styled__default
|
|
2843
|
+
const InputAndIconDropdown = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
2438
2844
|
displayName: "molecules-dropdownstyles__InputAndIconDropdown",
|
|
2439
2845
|
componentId: "sc-3wugi4-3"
|
|
2440
2846
|
})(["display:flex;"]);
|
|
2441
|
-
const ContentDropdown = /*#__PURE__*/styled__default
|
|
2847
|
+
const ContentDropdown = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
2442
2848
|
displayName: "molecules-dropdownstyles__ContentDropdown",
|
|
2443
2849
|
componentId: "sc-3wugi4-4"
|
|
2444
2850
|
})(["flex:1;display:flex;flex-direction:column;gap:", ";"], ({
|
|
2445
2851
|
theme
|
|
2446
2852
|
}) => theme.components.dropdown.contentGap);
|
|
2447
|
-
const FieldLabelAndRequiredLabelDropdown = /*#__PURE__*/styled__default
|
|
2853
|
+
const FieldLabelAndRequiredLabelDropdown = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
2448
2854
|
displayName: "molecules-dropdownstyles__FieldLabelAndRequiredLabelDropdown",
|
|
2449
2855
|
componentId: "sc-3wugi4-5"
|
|
2450
2856
|
})(["gap:", ";display:flex;"], ({
|
|
@@ -2484,7 +2890,7 @@ const ReusableDropdownComponent = _a => {
|
|
|
2484
2890
|
return jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
2485
2891
|
children: [jsxRuntime.jsxs(ContainerDropdown, {
|
|
2486
2892
|
"$variant": variant,
|
|
2487
|
-
"$hasValue": inputValue,
|
|
2893
|
+
"$hasValue": inputValue !== null || inputValue !== undefined || inputValue !== '',
|
|
2488
2894
|
"$hasError": hasError,
|
|
2489
2895
|
"$hasHelperText": !!helperMessage,
|
|
2490
2896
|
disabled: disabled,
|
|
@@ -2570,6 +2976,232 @@ const ReusableDropdownComponent = _a => {
|
|
|
2570
2976
|
});
|
|
2571
2977
|
};
|
|
2572
2978
|
|
|
2979
|
+
var defineBuiltIn = defineBuiltIn$5;
|
|
2980
|
+
|
|
2981
|
+
var defineBuiltIns$1 = function (target, src, options) {
|
|
2982
|
+
for (var key in src) defineBuiltIn(target, key, src[key], options);
|
|
2983
|
+
return target;
|
|
2984
|
+
};
|
|
2985
|
+
|
|
2986
|
+
var iteratorClose$5 = iteratorClose$9;
|
|
2987
|
+
|
|
2988
|
+
var iteratorCloseAll$1 = function (iters, kind, value) {
|
|
2989
|
+
for (var i = iters.length - 1; i >= 0; i--) {
|
|
2990
|
+
if (iters[i] === undefined) continue;
|
|
2991
|
+
try {
|
|
2992
|
+
value = iteratorClose$5(iters[i].iterator, kind, value);
|
|
2993
|
+
} catch (error) {
|
|
2994
|
+
kind = 'throw';
|
|
2995
|
+
value = error;
|
|
2996
|
+
}
|
|
2997
|
+
}
|
|
2998
|
+
if (kind === 'throw') throw value;
|
|
2999
|
+
return value;
|
|
3000
|
+
};
|
|
3001
|
+
|
|
3002
|
+
var call$4 = functionCall;
|
|
3003
|
+
var create = objectCreate;
|
|
3004
|
+
var createNonEnumerableProperty = createNonEnumerableProperty$6;
|
|
3005
|
+
var defineBuiltIns = defineBuiltIns$1;
|
|
3006
|
+
var wellKnownSymbol = wellKnownSymbol$e;
|
|
3007
|
+
var InternalStateModule = internalState;
|
|
3008
|
+
var getMethod$1 = getMethod$6;
|
|
3009
|
+
var IteratorPrototype = iteratorsCore.IteratorPrototype;
|
|
3010
|
+
var createIterResultObject = createIterResultObject$2;
|
|
3011
|
+
var iteratorClose$4 = iteratorClose$9;
|
|
3012
|
+
var iteratorCloseAll = iteratorCloseAll$1;
|
|
3013
|
+
|
|
3014
|
+
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
3015
|
+
var ITERATOR_HELPER = 'IteratorHelper';
|
|
3016
|
+
var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator';
|
|
3017
|
+
var NORMAL = 'normal';
|
|
3018
|
+
var THROW = 'throw';
|
|
3019
|
+
var setInternalState = InternalStateModule.set;
|
|
3020
|
+
|
|
3021
|
+
var createIteratorProxyPrototype = function (IS_ITERATOR) {
|
|
3022
|
+
var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER);
|
|
3023
|
+
|
|
3024
|
+
return defineBuiltIns(create(IteratorPrototype), {
|
|
3025
|
+
next: function next() {
|
|
3026
|
+
var state = getInternalState(this);
|
|
3027
|
+
// for simplification:
|
|
3028
|
+
// for `%WrapForValidIteratorPrototype%.next` or with `state.returnHandlerResult` our `nextHandler` returns `IterResultObject`
|
|
3029
|
+
// for `%IteratorHelperPrototype%.next` - just a value
|
|
3030
|
+
if (IS_ITERATOR) return state.nextHandler();
|
|
3031
|
+
if (state.done) return createIterResultObject(undefined, true);
|
|
3032
|
+
try {
|
|
3033
|
+
var result = state.nextHandler();
|
|
3034
|
+
return state.returnHandlerResult ? result : createIterResultObject(result, state.done);
|
|
3035
|
+
} catch (error) {
|
|
3036
|
+
state.done = true;
|
|
3037
|
+
throw error;
|
|
3038
|
+
}
|
|
3039
|
+
},
|
|
3040
|
+
'return': function () {
|
|
3041
|
+
var state = getInternalState(this);
|
|
3042
|
+
var iterator = state.iterator;
|
|
3043
|
+
state.done = true;
|
|
3044
|
+
if (IS_ITERATOR) {
|
|
3045
|
+
var returnMethod = getMethod$1(iterator, 'return');
|
|
3046
|
+
return returnMethod ? call$4(returnMethod, iterator) : createIterResultObject(undefined, true);
|
|
3047
|
+
}
|
|
3048
|
+
if (state.inner) try {
|
|
3049
|
+
iteratorClose$4(state.inner.iterator, NORMAL);
|
|
3050
|
+
} catch (error) {
|
|
3051
|
+
return iteratorClose$4(iterator, THROW, error);
|
|
3052
|
+
}
|
|
3053
|
+
if (state.openIters) try {
|
|
3054
|
+
iteratorCloseAll(state.openIters, NORMAL);
|
|
3055
|
+
} catch (error) {
|
|
3056
|
+
return iteratorClose$4(iterator, THROW, error);
|
|
3057
|
+
}
|
|
3058
|
+
if (iterator) iteratorClose$4(iterator, NORMAL);
|
|
3059
|
+
return createIterResultObject(undefined, true);
|
|
3060
|
+
}
|
|
3061
|
+
});
|
|
3062
|
+
};
|
|
3063
|
+
|
|
3064
|
+
var WrapForValidIteratorPrototype = createIteratorProxyPrototype(true);
|
|
3065
|
+
var IteratorHelperPrototype = createIteratorProxyPrototype(false);
|
|
3066
|
+
|
|
3067
|
+
createNonEnumerableProperty(IteratorHelperPrototype, TO_STRING_TAG, 'Iterator Helper');
|
|
3068
|
+
|
|
3069
|
+
var iteratorCreateProxy = function (nextHandler, IS_ITERATOR, RETURN_HANDLER_RESULT) {
|
|
3070
|
+
var IteratorProxy = function Iterator(record, state) {
|
|
3071
|
+
if (state) {
|
|
3072
|
+
state.iterator = record.iterator;
|
|
3073
|
+
state.next = record.next;
|
|
3074
|
+
} else state = record;
|
|
3075
|
+
state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER;
|
|
3076
|
+
state.returnHandlerResult = !!RETURN_HANDLER_RESULT;
|
|
3077
|
+
state.nextHandler = nextHandler;
|
|
3078
|
+
state.counter = 0;
|
|
3079
|
+
state.done = false;
|
|
3080
|
+
setInternalState(this, state);
|
|
3081
|
+
};
|
|
3082
|
+
|
|
3083
|
+
IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype;
|
|
3084
|
+
|
|
3085
|
+
return IteratorProxy;
|
|
3086
|
+
};
|
|
3087
|
+
|
|
3088
|
+
var anObject$4 = anObject$i;
|
|
3089
|
+
var iteratorClose$3 = iteratorClose$9;
|
|
3090
|
+
|
|
3091
|
+
// call something on iterator step with safe closing on error
|
|
3092
|
+
var callWithSafeIterationClosing$2 = function (iterator, fn, value, ENTRIES) {
|
|
3093
|
+
try {
|
|
3094
|
+
return ENTRIES ? fn(anObject$4(value)[0], value[1]) : fn(value);
|
|
3095
|
+
} catch (error) {
|
|
3096
|
+
iteratorClose$3(iterator, 'throw', error);
|
|
3097
|
+
}
|
|
3098
|
+
};
|
|
3099
|
+
|
|
3100
|
+
// Should throw an error on invalid iterator
|
|
3101
|
+
// https://issues.chromium.org/issues/336839115
|
|
3102
|
+
var iteratorHelperThrowsOnInvalidIterator$2 = function (methodName, argument) {
|
|
3103
|
+
// eslint-disable-next-line es/no-iterator -- required for testing
|
|
3104
|
+
var method = typeof Iterator == 'function' && Iterator.prototype[methodName];
|
|
3105
|
+
if (method) try {
|
|
3106
|
+
method.call({ next: null }, argument).next();
|
|
3107
|
+
} catch (error) {
|
|
3108
|
+
return true;
|
|
3109
|
+
}
|
|
3110
|
+
};
|
|
3111
|
+
|
|
3112
|
+
var $$3 = _export;
|
|
3113
|
+
var call$3 = functionCall;
|
|
3114
|
+
var aCallable$2 = aCallable$9;
|
|
3115
|
+
var anObject$3 = anObject$i;
|
|
3116
|
+
var getIteratorDirect$2 = getIteratorDirect$5;
|
|
3117
|
+
var createIteratorProxy$1 = iteratorCreateProxy;
|
|
3118
|
+
var callWithSafeIterationClosing$1 = callWithSafeIterationClosing$2;
|
|
3119
|
+
var iteratorClose$2 = iteratorClose$9;
|
|
3120
|
+
var iteratorHelperThrowsOnInvalidIterator$1 = iteratorHelperThrowsOnInvalidIterator$2;
|
|
3121
|
+
var iteratorHelperWithoutClosingOnEarlyError$2 = iteratorHelperWithoutClosingOnEarlyError$5;
|
|
3122
|
+
|
|
3123
|
+
var FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR = !iteratorHelperThrowsOnInvalidIterator$1('filter', function () { /* empty */ });
|
|
3124
|
+
var filterWithoutClosingOnEarlyError = !FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR
|
|
3125
|
+
&& iteratorHelperWithoutClosingOnEarlyError$2('filter', TypeError);
|
|
3126
|
+
|
|
3127
|
+
var FORCED$1 = FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR || filterWithoutClosingOnEarlyError;
|
|
3128
|
+
|
|
3129
|
+
var IteratorProxy$1 = createIteratorProxy$1(function () {
|
|
3130
|
+
var iterator = this.iterator;
|
|
3131
|
+
var predicate = this.predicate;
|
|
3132
|
+
var next = this.next;
|
|
3133
|
+
var result, done, value;
|
|
3134
|
+
while (true) {
|
|
3135
|
+
result = anObject$3(call$3(next, iterator));
|
|
3136
|
+
done = this.done = !!result.done;
|
|
3137
|
+
if (done) return;
|
|
3138
|
+
value = result.value;
|
|
3139
|
+
if (callWithSafeIterationClosing$1(iterator, predicate, [value, this.counter++], true)) return value;
|
|
3140
|
+
}
|
|
3141
|
+
});
|
|
3142
|
+
|
|
3143
|
+
// `Iterator.prototype.filter` method
|
|
3144
|
+
// https://tc39.es/ecma262/#sec-iterator.prototype.filter
|
|
3145
|
+
$$3({ target: 'Iterator', proto: true, real: true, forced: FORCED$1 }, {
|
|
3146
|
+
filter: function filter(predicate) {
|
|
3147
|
+
anObject$3(this);
|
|
3148
|
+
try {
|
|
3149
|
+
aCallable$2(predicate);
|
|
3150
|
+
} catch (error) {
|
|
3151
|
+
iteratorClose$2(this, 'throw', error);
|
|
3152
|
+
}
|
|
3153
|
+
|
|
3154
|
+
if (filterWithoutClosingOnEarlyError) return call$3(filterWithoutClosingOnEarlyError, this, predicate);
|
|
3155
|
+
|
|
3156
|
+
return new IteratorProxy$1(getIteratorDirect$2(this), {
|
|
3157
|
+
predicate: predicate
|
|
3158
|
+
});
|
|
3159
|
+
}
|
|
3160
|
+
});
|
|
3161
|
+
|
|
3162
|
+
var $$2 = _export;
|
|
3163
|
+
var call$2 = functionCall;
|
|
3164
|
+
var aCallable$1 = aCallable$9;
|
|
3165
|
+
var anObject$2 = anObject$i;
|
|
3166
|
+
var getIteratorDirect$1 = getIteratorDirect$5;
|
|
3167
|
+
var createIteratorProxy = iteratorCreateProxy;
|
|
3168
|
+
var callWithSafeIterationClosing = callWithSafeIterationClosing$2;
|
|
3169
|
+
var iteratorClose$1 = iteratorClose$9;
|
|
3170
|
+
var iteratorHelperThrowsOnInvalidIterator = iteratorHelperThrowsOnInvalidIterator$2;
|
|
3171
|
+
var iteratorHelperWithoutClosingOnEarlyError$1 = iteratorHelperWithoutClosingOnEarlyError$5;
|
|
3172
|
+
|
|
3173
|
+
var MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR = !iteratorHelperThrowsOnInvalidIterator('map', function () { /* empty */ });
|
|
3174
|
+
var mapWithoutClosingOnEarlyError = !MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR
|
|
3175
|
+
&& iteratorHelperWithoutClosingOnEarlyError$1('map', TypeError);
|
|
3176
|
+
|
|
3177
|
+
var FORCED = MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR || mapWithoutClosingOnEarlyError;
|
|
3178
|
+
|
|
3179
|
+
var IteratorProxy = createIteratorProxy(function () {
|
|
3180
|
+
var iterator = this.iterator;
|
|
3181
|
+
var result = anObject$2(call$2(this.next, iterator));
|
|
3182
|
+
var done = this.done = !!result.done;
|
|
3183
|
+
if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true);
|
|
3184
|
+
});
|
|
3185
|
+
|
|
3186
|
+
// `Iterator.prototype.map` method
|
|
3187
|
+
// https://tc39.es/ecma262/#sec-iterator.prototype.map
|
|
3188
|
+
$$2({ target: 'Iterator', proto: true, real: true, forced: FORCED }, {
|
|
3189
|
+
map: function map(mapper) {
|
|
3190
|
+
anObject$2(this);
|
|
3191
|
+
try {
|
|
3192
|
+
aCallable$1(mapper);
|
|
3193
|
+
} catch (error) {
|
|
3194
|
+
iteratorClose$1(this, 'throw', error);
|
|
3195
|
+
}
|
|
3196
|
+
|
|
3197
|
+
if (mapWithoutClosingOnEarlyError) return call$2(mapWithoutClosingOnEarlyError, this, mapper);
|
|
3198
|
+
|
|
3199
|
+
return new IteratorProxy(getIteratorDirect$1(this), {
|
|
3200
|
+
mapper: mapper
|
|
3201
|
+
});
|
|
3202
|
+
}
|
|
3203
|
+
});
|
|
3204
|
+
|
|
2573
3205
|
// `SameValue` abstract operation
|
|
2574
3206
|
// https://tc39.es/ecma262/#sec-samevalue
|
|
2575
3207
|
// eslint-disable-next-line es/no-object-is -- safe
|
|
@@ -2578,14 +3210,14 @@ var sameValue$1 = Object.is || function is(x, y) {
|
|
|
2578
3210
|
return x === y ? x !== 0 || 1 / x === 1 / y : x !== x && y !== y;
|
|
2579
3211
|
};
|
|
2580
3212
|
|
|
2581
|
-
var call = functionCall;
|
|
3213
|
+
var call$1 = functionCall;
|
|
2582
3214
|
var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
|
|
2583
|
-
var anObject = anObject$
|
|
2584
|
-
var
|
|
3215
|
+
var anObject$1 = anObject$i;
|
|
3216
|
+
var isObject = isObject$a;
|
|
2585
3217
|
var requireObjectCoercible$1 = requireObjectCoercible$7;
|
|
2586
3218
|
var sameValue = sameValue$1;
|
|
2587
3219
|
var toString$1 = toString$5;
|
|
2588
|
-
var getMethod = getMethod$
|
|
3220
|
+
var getMethod = getMethod$6;
|
|
2589
3221
|
var regExpExec = regexpExecAbstract;
|
|
2590
3222
|
|
|
2591
3223
|
// @@search logic
|
|
@@ -2595,13 +3227,13 @@ fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCal
|
|
|
2595
3227
|
// https://tc39.es/ecma262/#sec-string.prototype.search
|
|
2596
3228
|
function search(regexp) {
|
|
2597
3229
|
var O = requireObjectCoercible$1(this);
|
|
2598
|
-
var searcher =
|
|
2599
|
-
return searcher ? call(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString$1(O));
|
|
3230
|
+
var searcher = isObject(regexp) ? getMethod(regexp, SEARCH) : undefined;
|
|
3231
|
+
return searcher ? call$1(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString$1(O));
|
|
2600
3232
|
},
|
|
2601
3233
|
// `RegExp.prototype[@@search]` method
|
|
2602
3234
|
// https://tc39.es/ecma262/#sec-regexp.prototype-@@search
|
|
2603
3235
|
function (string) {
|
|
2604
|
-
var rx = anObject(this);
|
|
3236
|
+
var rx = anObject$1(this);
|
|
2605
3237
|
var S = toString$1(string);
|
|
2606
3238
|
var res = maybeCallNative(nativeSearch, rx, S);
|
|
2607
3239
|
|
|
@@ -2640,19 +3272,13 @@ var createMethod = function (TYPE) {
|
|
|
2640
3272
|
};
|
|
2641
3273
|
|
|
2642
3274
|
var stringTrim = {
|
|
2643
|
-
// `String.prototype.{ trimLeft, trimStart }` methods
|
|
2644
|
-
// https://tc39.es/ecma262/#sec-string.prototype.trimstart
|
|
2645
|
-
start: createMethod(1),
|
|
2646
|
-
// `String.prototype.{ trimRight, trimEnd }` methods
|
|
2647
|
-
// https://tc39.es/ecma262/#sec-string.prototype.trimend
|
|
2648
|
-
end: createMethod(2),
|
|
2649
3275
|
// `String.prototype.trim` method
|
|
2650
3276
|
// https://tc39.es/ecma262/#sec-string.prototype.trim
|
|
2651
3277
|
trim: createMethod(3)
|
|
2652
3278
|
};
|
|
2653
3279
|
|
|
2654
3280
|
var PROPER_FUNCTION_NAME = functionName.PROPER;
|
|
2655
|
-
var fails = fails$
|
|
3281
|
+
var fails = fails$j;
|
|
2656
3282
|
var whitespaces = whitespaces$2;
|
|
2657
3283
|
|
|
2658
3284
|
var non = '\u200B\u0085\u180E';
|
|
@@ -2667,13 +3293,13 @@ var stringTrimForced = function (METHOD_NAME) {
|
|
|
2667
3293
|
});
|
|
2668
3294
|
};
|
|
2669
3295
|
|
|
2670
|
-
var
|
|
3296
|
+
var $$1 = _export;
|
|
2671
3297
|
var $trim = stringTrim.trim;
|
|
2672
3298
|
var forcedStringTrimMethod = stringTrimForced;
|
|
2673
3299
|
|
|
2674
3300
|
// `String.prototype.trim` method
|
|
2675
3301
|
// https://tc39.es/ecma262/#sec-string.prototype.trim
|
|
2676
|
-
|
|
3302
|
+
$$1({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
|
|
2677
3303
|
trim: function trim() {
|
|
2678
3304
|
return $trim(this);
|
|
2679
3305
|
}
|
|
@@ -2849,6 +3475,38 @@ const Dropdown = /*#__PURE__*/react.forwardRef((_a, ref) => {
|
|
|
2849
3475
|
}));
|
|
2850
3476
|
});
|
|
2851
3477
|
|
|
3478
|
+
var $ = _export;
|
|
3479
|
+
var call = functionCall;
|
|
3480
|
+
var iterate = iterate$3;
|
|
3481
|
+
var aCallable = aCallable$9;
|
|
3482
|
+
var anObject = anObject$i;
|
|
3483
|
+
var getIteratorDirect = getIteratorDirect$5;
|
|
3484
|
+
var iteratorClose = iteratorClose$9;
|
|
3485
|
+
var iteratorHelperWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError$5;
|
|
3486
|
+
|
|
3487
|
+
var forEachWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('forEach', TypeError);
|
|
3488
|
+
|
|
3489
|
+
// `Iterator.prototype.forEach` method
|
|
3490
|
+
// https://tc39.es/ecma262/#sec-iterator.prototype.foreach
|
|
3491
|
+
$({ target: 'Iterator', proto: true, real: true, forced: forEachWithoutClosingOnEarlyError }, {
|
|
3492
|
+
forEach: function forEach(fn) {
|
|
3493
|
+
anObject(this);
|
|
3494
|
+
try {
|
|
3495
|
+
aCallable(fn);
|
|
3496
|
+
} catch (error) {
|
|
3497
|
+
iteratorClose(this, 'throw', error);
|
|
3498
|
+
}
|
|
3499
|
+
|
|
3500
|
+
if (forEachWithoutClosingOnEarlyError) return call(forEachWithoutClosingOnEarlyError, this, fn);
|
|
3501
|
+
|
|
3502
|
+
var record = getIteratorDirect(this);
|
|
3503
|
+
var counter = 0;
|
|
3504
|
+
iterate(record, function (value) {
|
|
3505
|
+
fn(value, counter++);
|
|
3506
|
+
}, { IS_RECORD: true });
|
|
3507
|
+
}
|
|
3508
|
+
});
|
|
3509
|
+
|
|
2852
3510
|
const DropdownWithHeaders = /*#__PURE__*/react.forwardRef((_a, ref) => {
|
|
2853
3511
|
var {
|
|
2854
3512
|
label,
|