@vention/machine-logic-ui-sdk 0.26.0 → 0.26.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.esm.js +918 -515
- package/package.json +3 -2
- package/src/lib/components/virtual-keyboard/virtual-keyboard.d.ts +3 -1
- package/index.esm.css +0 -40
package/index.esm.js
CHANGED
|
@@ -2,6 +2,7 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import 'react-simple-keyboard/build/css/index.css';
|
|
3
3
|
import { useState, useRef, useEffect, createContext, useMemo, useContext } from 'react';
|
|
4
4
|
import Keyboard from 'react-simple-keyboard';
|
|
5
|
+
import { tss } from 'tss-react/mui';
|
|
5
6
|
import mqtt from 'mqtt';
|
|
6
7
|
|
|
7
8
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
@@ -24,7 +25,7 @@ var globalThis_1 =
|
|
|
24
25
|
|
|
25
26
|
var objectGetOwnPropertyDescriptor = {};
|
|
26
27
|
|
|
27
|
-
var fails$
|
|
28
|
+
var fails$k = function (exec) {
|
|
28
29
|
try {
|
|
29
30
|
return !!exec();
|
|
30
31
|
} catch (error) {
|
|
@@ -32,29 +33,29 @@ var fails$j = function (exec) {
|
|
|
32
33
|
}
|
|
33
34
|
};
|
|
34
35
|
|
|
35
|
-
var fails$
|
|
36
|
+
var fails$j = fails$k;
|
|
36
37
|
|
|
37
38
|
// Detect IE8's incomplete defineProperty implementation
|
|
38
|
-
var descriptors = !fails$
|
|
39
|
+
var descriptors = !fails$j(function () {
|
|
39
40
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
40
41
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
|
41
42
|
});
|
|
42
43
|
|
|
43
|
-
var fails$
|
|
44
|
+
var fails$i = fails$k;
|
|
44
45
|
|
|
45
|
-
var functionBindNative = !fails$
|
|
46
|
+
var functionBindNative = !fails$i(function () {
|
|
46
47
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
47
48
|
var test = (function () { /* empty */ }).bind();
|
|
48
49
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
49
50
|
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
50
51
|
});
|
|
51
52
|
|
|
52
|
-
var NATIVE_BIND$
|
|
53
|
+
var NATIVE_BIND$3 = functionBindNative;
|
|
53
54
|
|
|
54
|
-
var call$
|
|
55
|
+
var call$k = Function.prototype.call;
|
|
55
56
|
|
|
56
|
-
var functionCall = NATIVE_BIND$
|
|
57
|
-
return call$
|
|
57
|
+
var functionCall = NATIVE_BIND$3 ? call$k.bind(call$k) : function () {
|
|
58
|
+
return call$k.apply(call$k, arguments);
|
|
58
59
|
};
|
|
59
60
|
|
|
60
61
|
var objectPropertyIsEnumerable = {};
|
|
@@ -73,7 +74,7 @@ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
|
73
74
|
return !!descriptor && descriptor.enumerable;
|
|
74
75
|
} : $propertyIsEnumerable;
|
|
75
76
|
|
|
76
|
-
var createPropertyDescriptor$
|
|
77
|
+
var createPropertyDescriptor$4 = function (bitmap, value) {
|
|
77
78
|
return {
|
|
78
79
|
enumerable: !(bitmap & 1),
|
|
79
80
|
configurable: !(bitmap & 2),
|
|
@@ -82,57 +83,57 @@ var createPropertyDescriptor$3 = function (bitmap, value) {
|
|
|
82
83
|
};
|
|
83
84
|
};
|
|
84
85
|
|
|
85
|
-
var NATIVE_BIND$
|
|
86
|
+
var NATIVE_BIND$2 = functionBindNative;
|
|
86
87
|
|
|
87
88
|
var FunctionPrototype$2 = Function.prototype;
|
|
88
|
-
var call$
|
|
89
|
-
var uncurryThisWithBind = NATIVE_BIND$
|
|
89
|
+
var call$j = FunctionPrototype$2.call;
|
|
90
|
+
var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$j, call$j);
|
|
90
91
|
|
|
91
|
-
var functionUncurryThis = NATIVE_BIND$
|
|
92
|
+
var functionUncurryThis = NATIVE_BIND$2 ? uncurryThisWithBind : function (fn) {
|
|
92
93
|
return function () {
|
|
93
|
-
return call$
|
|
94
|
+
return call$j.apply(fn, arguments);
|
|
94
95
|
};
|
|
95
96
|
};
|
|
96
97
|
|
|
97
|
-
var uncurryThis$
|
|
98
|
+
var uncurryThis$j = functionUncurryThis;
|
|
98
99
|
|
|
99
|
-
var toString$9 = uncurryThis$
|
|
100
|
-
var stringSlice$6 = uncurryThis$
|
|
100
|
+
var toString$9 = uncurryThis$j({}.toString);
|
|
101
|
+
var stringSlice$6 = uncurryThis$j(''.slice);
|
|
101
102
|
|
|
102
103
|
var classofRaw$2 = function (it) {
|
|
103
104
|
return stringSlice$6(toString$9(it), 8, -1);
|
|
104
105
|
};
|
|
105
106
|
|
|
106
|
-
var uncurryThis$
|
|
107
|
-
var fails$
|
|
108
|
-
var classof$
|
|
107
|
+
var uncurryThis$i = functionUncurryThis;
|
|
108
|
+
var fails$h = fails$k;
|
|
109
|
+
var classof$6 = classofRaw$2;
|
|
109
110
|
|
|
110
111
|
var $Object$4 = Object;
|
|
111
|
-
var split = uncurryThis$
|
|
112
|
+
var split = uncurryThis$i(''.split);
|
|
112
113
|
|
|
113
114
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
114
|
-
var indexedObject = fails$
|
|
115
|
+
var indexedObject = fails$h(function () {
|
|
115
116
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
116
117
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
117
118
|
return !$Object$4('z').propertyIsEnumerable(0);
|
|
118
119
|
}) ? function (it) {
|
|
119
|
-
return classof$
|
|
120
|
+
return classof$6(it) === 'String' ? split(it, '') : $Object$4(it);
|
|
120
121
|
} : $Object$4;
|
|
121
122
|
|
|
122
123
|
// we can't use just `it == null` since of `document.all` special case
|
|
123
124
|
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
|
124
|
-
var isNullOrUndefined$
|
|
125
|
+
var isNullOrUndefined$5 = function (it) {
|
|
125
126
|
return it === null || it === undefined;
|
|
126
127
|
};
|
|
127
128
|
|
|
128
|
-
var isNullOrUndefined$
|
|
129
|
+
var isNullOrUndefined$4 = isNullOrUndefined$5;
|
|
129
130
|
|
|
130
|
-
var $TypeError$
|
|
131
|
+
var $TypeError$f = TypeError;
|
|
131
132
|
|
|
132
133
|
// `RequireObjectCoercible` abstract operation
|
|
133
134
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
134
135
|
var requireObjectCoercible$8 = function (it) {
|
|
135
|
-
if (isNullOrUndefined$
|
|
136
|
+
if (isNullOrUndefined$4(it)) throw new $TypeError$f("Can't call method on " + it);
|
|
136
137
|
return it;
|
|
137
138
|
};
|
|
138
139
|
|
|
@@ -150,45 +151,45 @@ var documentAll = typeof document == 'object' && document.all;
|
|
|
150
151
|
// `IsCallable` abstract operation
|
|
151
152
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
152
153
|
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
153
|
-
var isCallable$
|
|
154
|
+
var isCallable$i = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
|
|
154
155
|
return typeof argument == 'function' || argument === documentAll;
|
|
155
156
|
} : function (argument) {
|
|
156
157
|
return typeof argument == 'function';
|
|
157
158
|
};
|
|
158
159
|
|
|
159
|
-
var isCallable$
|
|
160
|
+
var isCallable$h = isCallable$i;
|
|
160
161
|
|
|
161
162
|
var isObject$9 = function (it) {
|
|
162
|
-
return typeof it == 'object' ? it !== null : isCallable$
|
|
163
|
+
return typeof it == 'object' ? it !== null : isCallable$h(it);
|
|
163
164
|
};
|
|
164
165
|
|
|
165
|
-
var globalThis$
|
|
166
|
-
var isCallable$
|
|
166
|
+
var globalThis$g = globalThis_1;
|
|
167
|
+
var isCallable$g = isCallable$i;
|
|
167
168
|
|
|
168
169
|
var aFunction = function (argument) {
|
|
169
|
-
return isCallable$
|
|
170
|
+
return isCallable$g(argument) ? argument : undefined;
|
|
170
171
|
};
|
|
171
172
|
|
|
172
173
|
var getBuiltIn$4 = function (namespace, method) {
|
|
173
|
-
return arguments.length < 2 ? aFunction(globalThis$
|
|
174
|
+
return arguments.length < 2 ? aFunction(globalThis$g[namespace]) : globalThis$g[namespace] && globalThis$g[namespace][method];
|
|
174
175
|
};
|
|
175
176
|
|
|
176
|
-
var uncurryThis$
|
|
177
|
+
var uncurryThis$h = functionUncurryThis;
|
|
177
178
|
|
|
178
|
-
var objectIsPrototypeOf = uncurryThis$
|
|
179
|
+
var objectIsPrototypeOf = uncurryThis$h({}.isPrototypeOf);
|
|
179
180
|
|
|
180
|
-
var globalThis$
|
|
181
|
+
var globalThis$f = globalThis_1;
|
|
181
182
|
|
|
182
|
-
var navigator$1 = globalThis$
|
|
183
|
+
var navigator$1 = globalThis$f.navigator;
|
|
183
184
|
var userAgent$1 = navigator$1 && navigator$1.userAgent;
|
|
184
185
|
|
|
185
186
|
var environmentUserAgent = userAgent$1 ? String(userAgent$1) : '';
|
|
186
187
|
|
|
187
|
-
var globalThis$
|
|
188
|
+
var globalThis$e = globalThis_1;
|
|
188
189
|
var userAgent = environmentUserAgent;
|
|
189
190
|
|
|
190
|
-
var process = globalThis$
|
|
191
|
-
var Deno = globalThis$
|
|
191
|
+
var process = globalThis$e.process;
|
|
192
|
+
var Deno = globalThis$e.Deno;
|
|
192
193
|
var versions = process && process.versions || Deno && Deno.version;
|
|
193
194
|
var v8 = versions && versions.v8;
|
|
194
195
|
var match, version;
|
|
@@ -214,13 +215,13 @@ var environmentV8Version = version;
|
|
|
214
215
|
|
|
215
216
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
216
217
|
var V8_VERSION = environmentV8Version;
|
|
217
|
-
var fails$
|
|
218
|
-
var globalThis$
|
|
218
|
+
var fails$g = fails$k;
|
|
219
|
+
var globalThis$d = globalThis_1;
|
|
219
220
|
|
|
220
|
-
var $String$5 = globalThis$
|
|
221
|
+
var $String$5 = globalThis$d.String;
|
|
221
222
|
|
|
222
223
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
223
|
-
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$
|
|
224
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$g(function () {
|
|
224
225
|
var symbol = Symbol('symbol detection');
|
|
225
226
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
226
227
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
@@ -239,8 +240,8 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
|
|
|
239
240
|
&& typeof Symbol.iterator == 'symbol';
|
|
240
241
|
|
|
241
242
|
var getBuiltIn$3 = getBuiltIn$4;
|
|
242
|
-
var isCallable$
|
|
243
|
-
var isPrototypeOf$
|
|
243
|
+
var isCallable$f = isCallable$i;
|
|
244
|
+
var isPrototypeOf$3 = objectIsPrototypeOf;
|
|
244
245
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
245
246
|
|
|
246
247
|
var $Object$3 = Object;
|
|
@@ -249,12 +250,12 @@ var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
|
249
250
|
return typeof it == 'symbol';
|
|
250
251
|
} : function (it) {
|
|
251
252
|
var $Symbol = getBuiltIn$3('Symbol');
|
|
252
|
-
return isCallable$
|
|
253
|
+
return isCallable$f($Symbol) && isPrototypeOf$3($Symbol.prototype, $Object$3(it));
|
|
253
254
|
};
|
|
254
255
|
|
|
255
256
|
var $String$4 = String;
|
|
256
257
|
|
|
257
|
-
var tryToString$
|
|
258
|
+
var tryToString$3 = function (argument) {
|
|
258
259
|
try {
|
|
259
260
|
return $String$4(argument);
|
|
260
261
|
} catch (error) {
|
|
@@ -262,63 +263,65 @@ var tryToString$1 = function (argument) {
|
|
|
262
263
|
}
|
|
263
264
|
};
|
|
264
265
|
|
|
265
|
-
var isCallable$
|
|
266
|
-
var tryToString = tryToString$
|
|
266
|
+
var isCallable$e = isCallable$i;
|
|
267
|
+
var tryToString$2 = tryToString$3;
|
|
267
268
|
|
|
268
|
-
var $TypeError$
|
|
269
|
+
var $TypeError$e = TypeError;
|
|
269
270
|
|
|
270
271
|
// `Assert: IsCallable(argument) is true`
|
|
271
|
-
var aCallable$
|
|
272
|
-
if (isCallable$
|
|
273
|
-
throw new $TypeError$
|
|
272
|
+
var aCallable$7 = function (argument) {
|
|
273
|
+
if (isCallable$e(argument)) return argument;
|
|
274
|
+
throw new $TypeError$e(tryToString$2(argument) + ' is not a function');
|
|
274
275
|
};
|
|
275
276
|
|
|
276
|
-
var aCallable$
|
|
277
|
-
var isNullOrUndefined$
|
|
277
|
+
var aCallable$6 = aCallable$7;
|
|
278
|
+
var isNullOrUndefined$3 = isNullOrUndefined$5;
|
|
278
279
|
|
|
279
280
|
// `GetMethod` abstract operation
|
|
280
281
|
// https://tc39.es/ecma262/#sec-getmethod
|
|
281
|
-
var getMethod$
|
|
282
|
+
var getMethod$6 = function (V, P) {
|
|
282
283
|
var func = V[P];
|
|
283
|
-
return isNullOrUndefined$
|
|
284
|
+
return isNullOrUndefined$3(func) ? undefined : aCallable$6(func);
|
|
284
285
|
};
|
|
285
286
|
|
|
286
|
-
var call$
|
|
287
|
-
var isCallable$
|
|
287
|
+
var call$i = functionCall;
|
|
288
|
+
var isCallable$d = isCallable$i;
|
|
288
289
|
var isObject$8 = isObject$9;
|
|
289
290
|
|
|
290
|
-
var $TypeError$
|
|
291
|
+
var $TypeError$d = TypeError;
|
|
291
292
|
|
|
292
293
|
// `OrdinaryToPrimitive` abstract operation
|
|
293
294
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
294
295
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
295
296
|
var fn, val;
|
|
296
|
-
if (pref === 'string' && isCallable$
|
|
297
|
-
if (isCallable$
|
|
298
|
-
if (pref !== 'string' && isCallable$
|
|
299
|
-
throw new $TypeError$
|
|
297
|
+
if (pref === 'string' && isCallable$d(fn = input.toString) && !isObject$8(val = call$i(fn, input))) return val;
|
|
298
|
+
if (isCallable$d(fn = input.valueOf) && !isObject$8(val = call$i(fn, input))) return val;
|
|
299
|
+
if (pref !== 'string' && isCallable$d(fn = input.toString) && !isObject$8(val = call$i(fn, input))) return val;
|
|
300
|
+
throw new $TypeError$d("Can't convert object to primitive value");
|
|
300
301
|
};
|
|
301
302
|
|
|
302
303
|
var sharedStore = {exports: {}};
|
|
303
304
|
|
|
304
|
-
var
|
|
305
|
+
var isPure = false;
|
|
306
|
+
|
|
307
|
+
var globalThis$c = globalThis_1;
|
|
305
308
|
|
|
306
309
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
307
|
-
var defineProperty$
|
|
310
|
+
var defineProperty$5 = Object.defineProperty;
|
|
308
311
|
|
|
309
312
|
var defineGlobalProperty$3 = function (key, value) {
|
|
310
313
|
try {
|
|
311
|
-
defineProperty$
|
|
314
|
+
defineProperty$5(globalThis$c, key, { value: value, configurable: true, writable: true });
|
|
312
315
|
} catch (error) {
|
|
313
|
-
globalThis$
|
|
316
|
+
globalThis$c[key] = value;
|
|
314
317
|
} return value;
|
|
315
318
|
};
|
|
316
319
|
|
|
317
|
-
var globalThis$
|
|
320
|
+
var globalThis$b = globalThis_1;
|
|
318
321
|
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
|
319
322
|
|
|
320
323
|
var SHARED = '__core-js_shared__';
|
|
321
|
-
var store$3 = sharedStore.exports = globalThis$
|
|
324
|
+
var store$3 = sharedStore.exports = globalThis$b[SHARED] || defineGlobalProperty$2(SHARED, {});
|
|
322
325
|
|
|
323
326
|
(store$3.versions || (store$3.versions = [])).push({
|
|
324
327
|
version: '3.38.1',
|
|
@@ -346,10 +349,10 @@ var toObject$4 = function (argument) {
|
|
|
346
349
|
return $Object$2(requireObjectCoercible$6(argument));
|
|
347
350
|
};
|
|
348
351
|
|
|
349
|
-
var uncurryThis$
|
|
352
|
+
var uncurryThis$g = functionUncurryThis;
|
|
350
353
|
var toObject$3 = toObject$4;
|
|
351
354
|
|
|
352
|
-
var hasOwnProperty = uncurryThis$
|
|
355
|
+
var hasOwnProperty = uncurryThis$g({}.hasOwnProperty);
|
|
353
356
|
|
|
354
357
|
// `HasOwnProperty` abstract operation
|
|
355
358
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
@@ -358,56 +361,56 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
|
358
361
|
return hasOwnProperty(toObject$3(it), key);
|
|
359
362
|
};
|
|
360
363
|
|
|
361
|
-
var uncurryThis$
|
|
364
|
+
var uncurryThis$f = functionUncurryThis;
|
|
362
365
|
|
|
363
366
|
var id = 0;
|
|
364
367
|
var postfix = Math.random();
|
|
365
|
-
var toString$8 = uncurryThis$
|
|
368
|
+
var toString$8 = uncurryThis$f(1.0.toString);
|
|
366
369
|
|
|
367
370
|
var uid$2 = function (key) {
|
|
368
371
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$8(++id + postfix, 36);
|
|
369
372
|
};
|
|
370
373
|
|
|
371
|
-
var globalThis$
|
|
374
|
+
var globalThis$a = globalThis_1;
|
|
372
375
|
var shared$3 = shared$4;
|
|
373
|
-
var hasOwn$
|
|
376
|
+
var hasOwn$a = hasOwnProperty_1;
|
|
374
377
|
var uid$1 = uid$2;
|
|
375
378
|
var NATIVE_SYMBOL = symbolConstructorDetection;
|
|
376
379
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
377
380
|
|
|
378
|
-
var Symbol$1 = globalThis$
|
|
381
|
+
var Symbol$1 = globalThis$a.Symbol;
|
|
379
382
|
var WellKnownSymbolsStore = shared$3('wks');
|
|
380
383
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
|
|
381
384
|
|
|
382
|
-
var wellKnownSymbol$
|
|
383
|
-
if (!hasOwn$
|
|
384
|
-
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$
|
|
385
|
+
var wellKnownSymbol$g = function (name) {
|
|
386
|
+
if (!hasOwn$a(WellKnownSymbolsStore, name)) {
|
|
387
|
+
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$a(Symbol$1, name)
|
|
385
388
|
? Symbol$1[name]
|
|
386
389
|
: createWellKnownSymbol('Symbol.' + name);
|
|
387
390
|
} return WellKnownSymbolsStore[name];
|
|
388
391
|
};
|
|
389
392
|
|
|
390
|
-
var call$
|
|
393
|
+
var call$h = functionCall;
|
|
391
394
|
var isObject$7 = isObject$9;
|
|
392
395
|
var isSymbol$1 = isSymbol$2;
|
|
393
|
-
var getMethod$
|
|
396
|
+
var getMethod$5 = getMethod$6;
|
|
394
397
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
395
|
-
var wellKnownSymbol$
|
|
398
|
+
var wellKnownSymbol$f = wellKnownSymbol$g;
|
|
396
399
|
|
|
397
|
-
var $TypeError$
|
|
398
|
-
var TO_PRIMITIVE = wellKnownSymbol$
|
|
400
|
+
var $TypeError$c = TypeError;
|
|
401
|
+
var TO_PRIMITIVE = wellKnownSymbol$f('toPrimitive');
|
|
399
402
|
|
|
400
403
|
// `ToPrimitive` abstract operation
|
|
401
404
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
402
405
|
var toPrimitive$1 = function (input, pref) {
|
|
403
406
|
if (!isObject$7(input) || isSymbol$1(input)) return input;
|
|
404
|
-
var exoticToPrim = getMethod$
|
|
407
|
+
var exoticToPrim = getMethod$5(input, TO_PRIMITIVE);
|
|
405
408
|
var result;
|
|
406
409
|
if (exoticToPrim) {
|
|
407
410
|
if (pref === undefined) pref = 'default';
|
|
408
|
-
result = call$
|
|
411
|
+
result = call$h(exoticToPrim, input, pref);
|
|
409
412
|
if (!isObject$7(result) || isSymbol$1(result)) return result;
|
|
410
|
-
throw new $TypeError$
|
|
413
|
+
throw new $TypeError$c("Can't convert object to primitive value");
|
|
411
414
|
}
|
|
412
415
|
if (pref === undefined) pref = 'number';
|
|
413
416
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -423,10 +426,10 @@ var toPropertyKey$2 = function (argument) {
|
|
|
423
426
|
return isSymbol(key) ? key : key + '';
|
|
424
427
|
};
|
|
425
428
|
|
|
426
|
-
var globalThis$
|
|
429
|
+
var globalThis$9 = globalThis_1;
|
|
427
430
|
var isObject$6 = isObject$9;
|
|
428
431
|
|
|
429
|
-
var document$1 = globalThis$
|
|
432
|
+
var document$1 = globalThis$9.document;
|
|
430
433
|
// typeof document.createElement is 'object' in old IE
|
|
431
434
|
var EXISTS$1 = isObject$6(document$1) && isObject$6(document$1.createElement);
|
|
432
435
|
|
|
@@ -434,25 +437,25 @@ var documentCreateElement$2 = function (it) {
|
|
|
434
437
|
return EXISTS$1 ? document$1.createElement(it) : {};
|
|
435
438
|
};
|
|
436
439
|
|
|
437
|
-
var DESCRIPTORS$
|
|
438
|
-
var fails$
|
|
440
|
+
var DESCRIPTORS$b = descriptors;
|
|
441
|
+
var fails$f = fails$k;
|
|
439
442
|
var createElement = documentCreateElement$2;
|
|
440
443
|
|
|
441
444
|
// Thanks to IE8 for its funny defineProperty
|
|
442
|
-
var ie8DomDefine = !DESCRIPTORS$
|
|
445
|
+
var ie8DomDefine = !DESCRIPTORS$b && !fails$f(function () {
|
|
443
446
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
444
447
|
return Object.defineProperty(createElement('div'), 'a', {
|
|
445
448
|
get: function () { return 7; }
|
|
446
449
|
}).a !== 7;
|
|
447
450
|
});
|
|
448
451
|
|
|
449
|
-
var DESCRIPTORS$
|
|
450
|
-
var call$
|
|
452
|
+
var DESCRIPTORS$a = descriptors;
|
|
453
|
+
var call$g = functionCall;
|
|
451
454
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
452
|
-
var createPropertyDescriptor$
|
|
455
|
+
var createPropertyDescriptor$3 = createPropertyDescriptor$4;
|
|
453
456
|
var toIndexedObject$4 = toIndexedObject$5;
|
|
454
457
|
var toPropertyKey$1 = toPropertyKey$2;
|
|
455
|
-
var hasOwn$
|
|
458
|
+
var hasOwn$9 = hasOwnProperty_1;
|
|
456
459
|
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
457
460
|
|
|
458
461
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -460,23 +463,23 @@ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
|
460
463
|
|
|
461
464
|
// `Object.getOwnPropertyDescriptor` method
|
|
462
465
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
463
|
-
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$
|
|
466
|
+
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$a ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
|
464
467
|
O = toIndexedObject$4(O);
|
|
465
468
|
P = toPropertyKey$1(P);
|
|
466
469
|
if (IE8_DOM_DEFINE$1) try {
|
|
467
470
|
return $getOwnPropertyDescriptor$1(O, P);
|
|
468
471
|
} catch (error) { /* empty */ }
|
|
469
|
-
if (hasOwn$
|
|
472
|
+
if (hasOwn$9(O, P)) return createPropertyDescriptor$3(!call$g(propertyIsEnumerableModule.f, O, P), O[P]);
|
|
470
473
|
};
|
|
471
474
|
|
|
472
475
|
var objectDefineProperty = {};
|
|
473
476
|
|
|
474
|
-
var DESCRIPTORS$
|
|
475
|
-
var fails$
|
|
477
|
+
var DESCRIPTORS$9 = descriptors;
|
|
478
|
+
var fails$e = fails$k;
|
|
476
479
|
|
|
477
480
|
// V8 ~ Chrome 36-
|
|
478
481
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
479
|
-
var v8PrototypeDefineBug = DESCRIPTORS$
|
|
482
|
+
var v8PrototypeDefineBug = DESCRIPTORS$9 && fails$e(function () {
|
|
480
483
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
481
484
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
482
485
|
value: 42,
|
|
@@ -487,21 +490,21 @@ var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$d(function () {
|
|
|
487
490
|
var isObject$5 = isObject$9;
|
|
488
491
|
|
|
489
492
|
var $String$3 = String;
|
|
490
|
-
var $TypeError$
|
|
493
|
+
var $TypeError$b = TypeError;
|
|
491
494
|
|
|
492
495
|
// `Assert: Type(argument) is Object`
|
|
493
|
-
var anObject$
|
|
496
|
+
var anObject$i = function (argument) {
|
|
494
497
|
if (isObject$5(argument)) return argument;
|
|
495
|
-
throw new $TypeError$
|
|
498
|
+
throw new $TypeError$b($String$3(argument) + ' is not an object');
|
|
496
499
|
};
|
|
497
500
|
|
|
498
|
-
var DESCRIPTORS$
|
|
501
|
+
var DESCRIPTORS$8 = descriptors;
|
|
499
502
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
500
503
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
501
|
-
var anObject$
|
|
504
|
+
var anObject$h = anObject$i;
|
|
502
505
|
var toPropertyKey = toPropertyKey$2;
|
|
503
506
|
|
|
504
|
-
var $TypeError$
|
|
507
|
+
var $TypeError$a = TypeError;
|
|
505
508
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
506
509
|
var $defineProperty = Object.defineProperty;
|
|
507
510
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -512,10 +515,10 @@ var WRITABLE = 'writable';
|
|
|
512
515
|
|
|
513
516
|
// `Object.defineProperty` method
|
|
514
517
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
515
|
-
objectDefineProperty.f = DESCRIPTORS$
|
|
516
|
-
anObject$
|
|
518
|
+
objectDefineProperty.f = DESCRIPTORS$8 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
519
|
+
anObject$h(O);
|
|
517
520
|
P = toPropertyKey(P);
|
|
518
|
-
anObject$
|
|
521
|
+
anObject$h(Attributes);
|
|
519
522
|
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
520
523
|
var current = $getOwnPropertyDescriptor(O, P);
|
|
521
524
|
if (current && current[WRITABLE]) {
|
|
@@ -528,41 +531,41 @@ objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
528
531
|
}
|
|
529
532
|
} return $defineProperty(O, P, Attributes);
|
|
530
533
|
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
531
|
-
anObject$
|
|
534
|
+
anObject$h(O);
|
|
532
535
|
P = toPropertyKey(P);
|
|
533
|
-
anObject$
|
|
536
|
+
anObject$h(Attributes);
|
|
534
537
|
if (IE8_DOM_DEFINE) try {
|
|
535
538
|
return $defineProperty(O, P, Attributes);
|
|
536
539
|
} catch (error) { /* empty */ }
|
|
537
|
-
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$
|
|
540
|
+
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$a('Accessors not supported');
|
|
538
541
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
539
542
|
return O;
|
|
540
543
|
};
|
|
541
544
|
|
|
542
|
-
var DESCRIPTORS$
|
|
543
|
-
var definePropertyModule$
|
|
544
|
-
var createPropertyDescriptor$
|
|
545
|
+
var DESCRIPTORS$7 = descriptors;
|
|
546
|
+
var definePropertyModule$4 = objectDefineProperty;
|
|
547
|
+
var createPropertyDescriptor$2 = createPropertyDescriptor$4;
|
|
545
548
|
|
|
546
|
-
var createNonEnumerableProperty$
|
|
547
|
-
return definePropertyModule$
|
|
549
|
+
var createNonEnumerableProperty$6 = DESCRIPTORS$7 ? function (object, key, value) {
|
|
550
|
+
return definePropertyModule$4.f(object, key, createPropertyDescriptor$2(1, value));
|
|
548
551
|
} : function (object, key, value) {
|
|
549
552
|
object[key] = value;
|
|
550
553
|
return object;
|
|
551
554
|
};
|
|
552
555
|
|
|
553
|
-
var makeBuiltIn$
|
|
556
|
+
var makeBuiltIn$3 = {exports: {}};
|
|
554
557
|
|
|
555
|
-
var DESCRIPTORS$
|
|
556
|
-
var hasOwn$
|
|
558
|
+
var DESCRIPTORS$6 = descriptors;
|
|
559
|
+
var hasOwn$8 = hasOwnProperty_1;
|
|
557
560
|
|
|
558
561
|
var FunctionPrototype$1 = Function.prototype;
|
|
559
562
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
560
|
-
var getDescriptor = DESCRIPTORS$
|
|
563
|
+
var getDescriptor = DESCRIPTORS$6 && Object.getOwnPropertyDescriptor;
|
|
561
564
|
|
|
562
|
-
var EXISTS = hasOwn$
|
|
565
|
+
var EXISTS = hasOwn$8(FunctionPrototype$1, 'name');
|
|
563
566
|
// additional protection from minified / mangled / dropped function names
|
|
564
567
|
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
565
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$
|
|
568
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$6 || (DESCRIPTORS$6 && getDescriptor(FunctionPrototype$1, 'name').configurable));
|
|
566
569
|
|
|
567
570
|
var functionName = {
|
|
568
571
|
EXISTS: EXISTS,
|
|
@@ -570,14 +573,14 @@ var functionName = {
|
|
|
570
573
|
CONFIGURABLE: CONFIGURABLE
|
|
571
574
|
};
|
|
572
575
|
|
|
573
|
-
var uncurryThis$
|
|
574
|
-
var isCallable$
|
|
576
|
+
var uncurryThis$e = functionUncurryThis;
|
|
577
|
+
var isCallable$c = isCallable$i;
|
|
575
578
|
var store$1 = sharedStoreExports;
|
|
576
579
|
|
|
577
|
-
var functionToString = uncurryThis$
|
|
580
|
+
var functionToString = uncurryThis$e(Function.toString);
|
|
578
581
|
|
|
579
582
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
580
|
-
if (!isCallable$
|
|
583
|
+
if (!isCallable$c(store$1.inspectSource)) {
|
|
581
584
|
store$1.inspectSource = function (it) {
|
|
582
585
|
return functionToString(it);
|
|
583
586
|
};
|
|
@@ -585,12 +588,12 @@ if (!isCallable$b(store$1.inspectSource)) {
|
|
|
585
588
|
|
|
586
589
|
var inspectSource$1 = store$1.inspectSource;
|
|
587
590
|
|
|
588
|
-
var globalThis$
|
|
589
|
-
var isCallable$
|
|
591
|
+
var globalThis$8 = globalThis_1;
|
|
592
|
+
var isCallable$b = isCallable$i;
|
|
590
593
|
|
|
591
|
-
var WeakMap$1 = globalThis$
|
|
594
|
+
var WeakMap$1 = globalThis$8.WeakMap;
|
|
592
595
|
|
|
593
|
-
var weakMapBasicDetection = isCallable$
|
|
596
|
+
var weakMapBasicDetection = isCallable$b(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
594
597
|
|
|
595
598
|
var shared$2 = shared$4;
|
|
596
599
|
var uid = uid$2;
|
|
@@ -604,17 +607,17 @@ var sharedKey$3 = function (key) {
|
|
|
604
607
|
var hiddenKeys$4 = {};
|
|
605
608
|
|
|
606
609
|
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
607
|
-
var globalThis$
|
|
610
|
+
var globalThis$7 = globalThis_1;
|
|
608
611
|
var isObject$4 = isObject$9;
|
|
609
|
-
var createNonEnumerableProperty$
|
|
610
|
-
var hasOwn$
|
|
612
|
+
var createNonEnumerableProperty$5 = createNonEnumerableProperty$6;
|
|
613
|
+
var hasOwn$7 = hasOwnProperty_1;
|
|
611
614
|
var shared$1 = sharedStoreExports;
|
|
612
615
|
var sharedKey$2 = sharedKey$3;
|
|
613
616
|
var hiddenKeys$3 = hiddenKeys$4;
|
|
614
617
|
|
|
615
618
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
616
|
-
var TypeError$1 = globalThis$
|
|
617
|
-
var WeakMap = globalThis$
|
|
619
|
+
var TypeError$1 = globalThis$7.TypeError;
|
|
620
|
+
var WeakMap = globalThis$7.WeakMap;
|
|
618
621
|
var set, get, has$6;
|
|
619
622
|
|
|
620
623
|
var enforce = function (it) {
|
|
@@ -653,16 +656,16 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
|
|
|
653
656
|
var STATE = sharedKey$2('state');
|
|
654
657
|
hiddenKeys$3[STATE] = true;
|
|
655
658
|
set = function (it, metadata) {
|
|
656
|
-
if (hasOwn$
|
|
659
|
+
if (hasOwn$7(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
657
660
|
metadata.facade = it;
|
|
658
|
-
createNonEnumerableProperty$
|
|
661
|
+
createNonEnumerableProperty$5(it, STATE, metadata);
|
|
659
662
|
return metadata;
|
|
660
663
|
};
|
|
661
664
|
get = function (it) {
|
|
662
|
-
return hasOwn$
|
|
665
|
+
return hasOwn$7(it, STATE) ? it[STATE] : {};
|
|
663
666
|
};
|
|
664
667
|
has$6 = function (it) {
|
|
665
|
-
return hasOwn$
|
|
668
|
+
return hasOwn$7(it, STATE);
|
|
666
669
|
};
|
|
667
670
|
}
|
|
668
671
|
|
|
@@ -674,73 +677,73 @@ var internalState = {
|
|
|
674
677
|
getterFor: getterFor
|
|
675
678
|
};
|
|
676
679
|
|
|
677
|
-
var uncurryThis$
|
|
678
|
-
var fails$
|
|
679
|
-
var isCallable$
|
|
680
|
-
var hasOwn$
|
|
681
|
-
var DESCRIPTORS$
|
|
680
|
+
var uncurryThis$d = functionUncurryThis;
|
|
681
|
+
var fails$d = fails$k;
|
|
682
|
+
var isCallable$a = isCallable$i;
|
|
683
|
+
var hasOwn$6 = hasOwnProperty_1;
|
|
684
|
+
var DESCRIPTORS$5 = descriptors;
|
|
682
685
|
var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
|
|
683
686
|
var inspectSource = inspectSource$1;
|
|
684
|
-
var InternalStateModule$
|
|
687
|
+
var InternalStateModule$2 = internalState;
|
|
685
688
|
|
|
686
|
-
var enforceInternalState = InternalStateModule$
|
|
687
|
-
var getInternalState$2 = InternalStateModule$
|
|
689
|
+
var enforceInternalState = InternalStateModule$2.enforce;
|
|
690
|
+
var getInternalState$2 = InternalStateModule$2.get;
|
|
688
691
|
var $String$2 = String;
|
|
689
692
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
690
|
-
var defineProperty$
|
|
691
|
-
var stringSlice$5 = uncurryThis$
|
|
692
|
-
var replace$2 = uncurryThis$
|
|
693
|
-
var join = uncurryThis$
|
|
693
|
+
var defineProperty$4 = Object.defineProperty;
|
|
694
|
+
var stringSlice$5 = uncurryThis$d(''.slice);
|
|
695
|
+
var replace$2 = uncurryThis$d(''.replace);
|
|
696
|
+
var join = uncurryThis$d([].join);
|
|
694
697
|
|
|
695
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$
|
|
696
|
-
return defineProperty$
|
|
698
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS$5 && !fails$d(function () {
|
|
699
|
+
return defineProperty$4(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
697
700
|
});
|
|
698
701
|
|
|
699
702
|
var TEMPLATE = String(String).split('String');
|
|
700
703
|
|
|
701
|
-
var makeBuiltIn$
|
|
704
|
+
var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
702
705
|
if (stringSlice$5($String$2(name), 0, 7) === 'Symbol(') {
|
|
703
706
|
name = '[' + replace$2($String$2(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
|
|
704
707
|
}
|
|
705
708
|
if (options && options.getter) name = 'get ' + name;
|
|
706
709
|
if (options && options.setter) name = 'set ' + name;
|
|
707
|
-
if (!hasOwn$
|
|
708
|
-
if (DESCRIPTORS$
|
|
710
|
+
if (!hasOwn$6(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
|
|
711
|
+
if (DESCRIPTORS$5) defineProperty$4(value, 'name', { value: name, configurable: true });
|
|
709
712
|
else value.name = name;
|
|
710
713
|
}
|
|
711
|
-
if (CONFIGURABLE_LENGTH && options && hasOwn$
|
|
712
|
-
defineProperty$
|
|
714
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn$6(options, 'arity') && value.length !== options.arity) {
|
|
715
|
+
defineProperty$4(value, 'length', { value: options.arity });
|
|
713
716
|
}
|
|
714
717
|
try {
|
|
715
|
-
if (options && hasOwn$
|
|
716
|
-
if (DESCRIPTORS$
|
|
718
|
+
if (options && hasOwn$6(options, 'constructor') && options.constructor) {
|
|
719
|
+
if (DESCRIPTORS$5) defineProperty$4(value, 'prototype', { writable: false });
|
|
717
720
|
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
718
721
|
} else if (value.prototype) value.prototype = undefined;
|
|
719
722
|
} catch (error) { /* empty */ }
|
|
720
723
|
var state = enforceInternalState(value);
|
|
721
|
-
if (!hasOwn$
|
|
724
|
+
if (!hasOwn$6(state, 'source')) {
|
|
722
725
|
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
|
723
726
|
} return value;
|
|
724
727
|
};
|
|
725
728
|
|
|
726
729
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
727
730
|
// eslint-disable-next-line no-extend-native -- required
|
|
728
|
-
Function.prototype.toString = makeBuiltIn$
|
|
729
|
-
return isCallable$
|
|
731
|
+
Function.prototype.toString = makeBuiltIn$2(function toString() {
|
|
732
|
+
return isCallable$a(this) && getInternalState$2(this).source || inspectSource(this);
|
|
730
733
|
}, 'toString');
|
|
731
734
|
|
|
732
|
-
var makeBuiltInExports = makeBuiltIn$
|
|
735
|
+
var makeBuiltInExports = makeBuiltIn$3.exports;
|
|
733
736
|
|
|
734
|
-
var isCallable$
|
|
735
|
-
var definePropertyModule$
|
|
736
|
-
var makeBuiltIn = makeBuiltInExports;
|
|
737
|
+
var isCallable$9 = isCallable$i;
|
|
738
|
+
var definePropertyModule$3 = objectDefineProperty;
|
|
739
|
+
var makeBuiltIn$1 = makeBuiltInExports;
|
|
737
740
|
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
|
738
741
|
|
|
739
|
-
var defineBuiltIn$
|
|
742
|
+
var defineBuiltIn$6 = function (O, key, value, options) {
|
|
740
743
|
if (!options) options = {};
|
|
741
744
|
var simple = options.enumerable;
|
|
742
745
|
var name = options.name !== undefined ? options.name : key;
|
|
743
|
-
if (isCallable$
|
|
746
|
+
if (isCallable$9(value)) makeBuiltIn$1(value, name, options);
|
|
744
747
|
if (options.global) {
|
|
745
748
|
if (simple) O[key] = value;
|
|
746
749
|
else defineGlobalProperty$1(key, value);
|
|
@@ -750,7 +753,7 @@ var defineBuiltIn$5 = function (O, key, value, options) {
|
|
|
750
753
|
else if (O[key]) simple = true;
|
|
751
754
|
} catch (error) { /* empty */ }
|
|
752
755
|
if (simple) O[key] = value;
|
|
753
|
-
else definePropertyModule$
|
|
756
|
+
else definePropertyModule$3.f(O, key, {
|
|
754
757
|
value: value,
|
|
755
758
|
enumerable: false,
|
|
756
759
|
configurable: !options.nonConfigurable,
|
|
@@ -810,19 +813,19 @@ var toLength$3 = toLength$4;
|
|
|
810
813
|
|
|
811
814
|
// `LengthOfArrayLike` abstract operation
|
|
812
815
|
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
|
813
|
-
var lengthOfArrayLike$
|
|
816
|
+
var lengthOfArrayLike$3 = function (obj) {
|
|
814
817
|
return toLength$3(obj.length);
|
|
815
818
|
};
|
|
816
819
|
|
|
817
820
|
var toIndexedObject$3 = toIndexedObject$5;
|
|
818
821
|
var toAbsoluteIndex = toAbsoluteIndex$1;
|
|
819
|
-
var lengthOfArrayLike$
|
|
822
|
+
var lengthOfArrayLike$2 = lengthOfArrayLike$3;
|
|
820
823
|
|
|
821
824
|
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
822
825
|
var createMethod$1 = function (IS_INCLUDES) {
|
|
823
826
|
return function ($this, el, fromIndex) {
|
|
824
827
|
var O = toIndexedObject$3($this);
|
|
825
|
-
var length = lengthOfArrayLike$
|
|
828
|
+
var length = lengthOfArrayLike$2(O);
|
|
826
829
|
if (length === 0) return !IS_INCLUDES && -1;
|
|
827
830
|
var index = toAbsoluteIndex(fromIndex, length);
|
|
828
831
|
var value;
|
|
@@ -848,22 +851,22 @@ var arrayIncludes = {
|
|
|
848
851
|
indexOf: createMethod$1(false)
|
|
849
852
|
};
|
|
850
853
|
|
|
851
|
-
var uncurryThis$
|
|
852
|
-
var hasOwn$
|
|
854
|
+
var uncurryThis$c = functionUncurryThis;
|
|
855
|
+
var hasOwn$5 = hasOwnProperty_1;
|
|
853
856
|
var toIndexedObject$2 = toIndexedObject$5;
|
|
854
857
|
var indexOf$1 = arrayIncludes.indexOf;
|
|
855
858
|
var hiddenKeys$2 = hiddenKeys$4;
|
|
856
859
|
|
|
857
|
-
var push$1 = uncurryThis$
|
|
860
|
+
var push$1 = uncurryThis$c([].push);
|
|
858
861
|
|
|
859
862
|
var objectKeysInternal = function (object, names) {
|
|
860
863
|
var O = toIndexedObject$2(object);
|
|
861
864
|
var i = 0;
|
|
862
865
|
var result = [];
|
|
863
866
|
var key;
|
|
864
|
-
for (key in O) !hasOwn$
|
|
867
|
+
for (key in O) !hasOwn$5(hiddenKeys$2, key) && hasOwn$5(O, key) && push$1(result, key);
|
|
865
868
|
// Don't enum bug & hidden keys
|
|
866
|
-
while (names.length > i) if (hasOwn$
|
|
869
|
+
while (names.length > i) if (hasOwn$5(O, key = names[i++])) {
|
|
867
870
|
~indexOf$1(result, key) || push$1(result, key);
|
|
868
871
|
}
|
|
869
872
|
return result;
|
|
@@ -898,39 +901,39 @@ var objectGetOwnPropertySymbols = {};
|
|
|
898
901
|
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
899
902
|
|
|
900
903
|
var getBuiltIn$2 = getBuiltIn$4;
|
|
901
|
-
var uncurryThis$
|
|
904
|
+
var uncurryThis$b = functionUncurryThis;
|
|
902
905
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
903
906
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
904
|
-
var anObject$
|
|
907
|
+
var anObject$g = anObject$i;
|
|
905
908
|
|
|
906
|
-
var concat$1 = uncurryThis$
|
|
909
|
+
var concat$1 = uncurryThis$b([].concat);
|
|
907
910
|
|
|
908
911
|
// all object keys, includes non-enumerable and symbols
|
|
909
912
|
var ownKeys$1 = getBuiltIn$2('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
910
|
-
var keys = getOwnPropertyNamesModule.f(anObject$
|
|
913
|
+
var keys = getOwnPropertyNamesModule.f(anObject$g(it));
|
|
911
914
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
|
912
915
|
return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
|
|
913
916
|
};
|
|
914
917
|
|
|
915
|
-
var hasOwn$
|
|
918
|
+
var hasOwn$4 = hasOwnProperty_1;
|
|
916
919
|
var ownKeys = ownKeys$1;
|
|
917
920
|
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
918
|
-
var definePropertyModule$
|
|
921
|
+
var definePropertyModule$2 = objectDefineProperty;
|
|
919
922
|
|
|
920
923
|
var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
921
924
|
var keys = ownKeys(source);
|
|
922
|
-
var defineProperty = definePropertyModule$
|
|
925
|
+
var defineProperty = definePropertyModule$2.f;
|
|
923
926
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
924
927
|
for (var i = 0; i < keys.length; i++) {
|
|
925
928
|
var key = keys[i];
|
|
926
|
-
if (!hasOwn$
|
|
929
|
+
if (!hasOwn$4(target, key) && !(exceptions && hasOwn$4(exceptions, key))) {
|
|
927
930
|
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
928
931
|
}
|
|
929
932
|
}
|
|
930
933
|
};
|
|
931
934
|
|
|
932
|
-
var fails$
|
|
933
|
-
var isCallable$
|
|
935
|
+
var fails$c = fails$k;
|
|
936
|
+
var isCallable$8 = isCallable$i;
|
|
934
937
|
|
|
935
938
|
var replacement = /#|\.prototype\./;
|
|
936
939
|
|
|
@@ -938,7 +941,7 @@ var isForced$1 = function (feature, detection) {
|
|
|
938
941
|
var value = data[normalize(feature)];
|
|
939
942
|
return value === POLYFILL ? true
|
|
940
943
|
: value === NATIVE ? false
|
|
941
|
-
: isCallable$
|
|
944
|
+
: isCallable$8(detection) ? fails$c(detection)
|
|
942
945
|
: !!detection;
|
|
943
946
|
};
|
|
944
947
|
|
|
@@ -952,10 +955,10 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
|
|
|
952
955
|
|
|
953
956
|
var isForced_1 = isForced$1;
|
|
954
957
|
|
|
955
|
-
var globalThis$
|
|
958
|
+
var globalThis$6 = globalThis_1;
|
|
956
959
|
var getOwnPropertyDescriptor$2 = objectGetOwnPropertyDescriptor.f;
|
|
957
|
-
var createNonEnumerableProperty$
|
|
958
|
-
var defineBuiltIn$
|
|
960
|
+
var createNonEnumerableProperty$4 = createNonEnumerableProperty$6;
|
|
961
|
+
var defineBuiltIn$5 = defineBuiltIn$6;
|
|
959
962
|
var defineGlobalProperty = defineGlobalProperty$3;
|
|
960
963
|
var copyConstructorProperties = copyConstructorProperties$1;
|
|
961
964
|
var isForced = isForced_1;
|
|
@@ -981,11 +984,11 @@ var _export = function (options, source) {
|
|
|
981
984
|
var STATIC = options.stat;
|
|
982
985
|
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
983
986
|
if (GLOBAL) {
|
|
984
|
-
target = globalThis$
|
|
987
|
+
target = globalThis$6;
|
|
985
988
|
} else if (STATIC) {
|
|
986
|
-
target = globalThis$
|
|
989
|
+
target = globalThis$6[TARGET] || defineGlobalProperty(TARGET, {});
|
|
987
990
|
} else {
|
|
988
|
-
target = globalThis$
|
|
991
|
+
target = globalThis$6[TARGET] && globalThis$6[TARGET].prototype;
|
|
989
992
|
}
|
|
990
993
|
if (target) for (key in source) {
|
|
991
994
|
sourceProperty = source[key];
|
|
@@ -1001,9 +1004,9 @@ var _export = function (options, source) {
|
|
|
1001
1004
|
}
|
|
1002
1005
|
// add a flag to not completely full polyfills
|
|
1003
1006
|
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
1004
|
-
createNonEnumerableProperty$
|
|
1007
|
+
createNonEnumerableProperty$4(sourceProperty, 'sham', true);
|
|
1005
1008
|
}
|
|
1006
|
-
defineBuiltIn$
|
|
1009
|
+
defineBuiltIn$5(target, key, sourceProperty, options);
|
|
1007
1010
|
}
|
|
1008
1011
|
};
|
|
1009
1012
|
|
|
@@ -1019,24 +1022,24 @@ var objectKeys$1 = Object.keys || function keys(O) {
|
|
|
1019
1022
|
return internalObjectKeys(O, enumBugKeys$1);
|
|
1020
1023
|
};
|
|
1021
1024
|
|
|
1022
|
-
var DESCRIPTORS$
|
|
1025
|
+
var DESCRIPTORS$4 = descriptors;
|
|
1023
1026
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
1024
|
-
var definePropertyModule = objectDefineProperty;
|
|
1025
|
-
var anObject$
|
|
1027
|
+
var definePropertyModule$1 = objectDefineProperty;
|
|
1028
|
+
var anObject$f = anObject$i;
|
|
1026
1029
|
var toIndexedObject$1 = toIndexedObject$5;
|
|
1027
1030
|
var objectKeys = objectKeys$1;
|
|
1028
1031
|
|
|
1029
1032
|
// `Object.defineProperties` method
|
|
1030
1033
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
1031
1034
|
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
1032
|
-
objectDefineProperties.f = DESCRIPTORS$
|
|
1033
|
-
anObject$
|
|
1035
|
+
objectDefineProperties.f = DESCRIPTORS$4 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
1036
|
+
anObject$f(O);
|
|
1034
1037
|
var props = toIndexedObject$1(Properties);
|
|
1035
1038
|
var keys = objectKeys(Properties);
|
|
1036
1039
|
var length = keys.length;
|
|
1037
1040
|
var index = 0;
|
|
1038
1041
|
var key;
|
|
1039
|
-
while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
|
|
1042
|
+
while (length > index) definePropertyModule$1.f(O, key = keys[index++], props[key]);
|
|
1040
1043
|
return O;
|
|
1041
1044
|
};
|
|
1042
1045
|
|
|
@@ -1045,7 +1048,7 @@ var getBuiltIn$1 = getBuiltIn$4;
|
|
|
1045
1048
|
var html$1 = getBuiltIn$1('document', 'documentElement');
|
|
1046
1049
|
|
|
1047
1050
|
/* global ActiveXObject -- old IE, WSH */
|
|
1048
|
-
var anObject$
|
|
1051
|
+
var anObject$e = anObject$i;
|
|
1049
1052
|
var definePropertiesModule = objectDefineProperties;
|
|
1050
1053
|
var enumBugKeys = enumBugKeys$3;
|
|
1051
1054
|
var hiddenKeys = hiddenKeys$4;
|
|
@@ -1120,7 +1123,7 @@ hiddenKeys[IE_PROTO$1] = true;
|
|
|
1120
1123
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
1121
1124
|
var result;
|
|
1122
1125
|
if (O !== null) {
|
|
1123
|
-
EmptyConstructor[PROTOTYPE] = anObject$
|
|
1126
|
+
EmptyConstructor[PROTOTYPE] = anObject$e(O);
|
|
1124
1127
|
result = new EmptyConstructor();
|
|
1125
1128
|
EmptyConstructor[PROTOTYPE] = null;
|
|
1126
1129
|
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
@@ -1129,41 +1132,41 @@ var objectCreate = Object.create || function create(O, Properties) {
|
|
|
1129
1132
|
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
1130
1133
|
};
|
|
1131
1134
|
|
|
1132
|
-
var wellKnownSymbol$
|
|
1133
|
-
var create$
|
|
1134
|
-
var defineProperty$
|
|
1135
|
+
var wellKnownSymbol$e = wellKnownSymbol$g;
|
|
1136
|
+
var create$3 = objectCreate;
|
|
1137
|
+
var defineProperty$3 = objectDefineProperty.f;
|
|
1135
1138
|
|
|
1136
|
-
var UNSCOPABLES = wellKnownSymbol$
|
|
1137
|
-
var ArrayPrototype = Array.prototype;
|
|
1139
|
+
var UNSCOPABLES = wellKnownSymbol$e('unscopables');
|
|
1140
|
+
var ArrayPrototype$1 = Array.prototype;
|
|
1138
1141
|
|
|
1139
1142
|
// Array.prototype[@@unscopables]
|
|
1140
1143
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
1141
|
-
if (ArrayPrototype[UNSCOPABLES] === undefined) {
|
|
1142
|
-
defineProperty$
|
|
1144
|
+
if (ArrayPrototype$1[UNSCOPABLES] === undefined) {
|
|
1145
|
+
defineProperty$3(ArrayPrototype$1, UNSCOPABLES, {
|
|
1143
1146
|
configurable: true,
|
|
1144
|
-
value: create$
|
|
1147
|
+
value: create$3(null)
|
|
1145
1148
|
});
|
|
1146
1149
|
}
|
|
1147
1150
|
|
|
1148
1151
|
// add a key to Array.prototype[@@unscopables]
|
|
1149
1152
|
var addToUnscopables$2 = function (key) {
|
|
1150
|
-
ArrayPrototype[UNSCOPABLES][key] = true;
|
|
1153
|
+
ArrayPrototype$1[UNSCOPABLES][key] = true;
|
|
1151
1154
|
};
|
|
1152
1155
|
|
|
1153
|
-
var $$
|
|
1156
|
+
var $$g = _export;
|
|
1154
1157
|
var $includes = arrayIncludes.includes;
|
|
1155
|
-
var fails$
|
|
1158
|
+
var fails$b = fails$k;
|
|
1156
1159
|
var addToUnscopables$1 = addToUnscopables$2;
|
|
1157
1160
|
|
|
1158
1161
|
// FF99+ bug
|
|
1159
|
-
var BROKEN_ON_SPARSE = fails$
|
|
1162
|
+
var BROKEN_ON_SPARSE = fails$b(function () {
|
|
1160
1163
|
// eslint-disable-next-line es/no-array-prototype-includes -- detection
|
|
1161
1164
|
return !Array(1).includes();
|
|
1162
1165
|
});
|
|
1163
1166
|
|
|
1164
1167
|
// `Array.prototype.includes` method
|
|
1165
1168
|
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
1166
|
-
$$
|
|
1169
|
+
$$g({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
|
|
1167
1170
|
includes: function includes(el /* , fromIndex = 0 */) {
|
|
1168
1171
|
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
|
|
1169
1172
|
}
|
|
@@ -1174,17 +1177,17 @@ addToUnscopables$1('includes');
|
|
|
1174
1177
|
|
|
1175
1178
|
var iterators = {};
|
|
1176
1179
|
|
|
1177
|
-
var fails$
|
|
1180
|
+
var fails$a = fails$k;
|
|
1178
1181
|
|
|
1179
|
-
var correctPrototypeGetter = !fails$
|
|
1182
|
+
var correctPrototypeGetter = !fails$a(function () {
|
|
1180
1183
|
function F() { /* empty */ }
|
|
1181
1184
|
F.prototype.constructor = null;
|
|
1182
1185
|
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
1183
1186
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
1184
1187
|
});
|
|
1185
1188
|
|
|
1186
|
-
var hasOwn$
|
|
1187
|
-
var isCallable$
|
|
1189
|
+
var hasOwn$3 = hasOwnProperty_1;
|
|
1190
|
+
var isCallable$7 = isCallable$i;
|
|
1188
1191
|
var toObject$2 = toObject$4;
|
|
1189
1192
|
var sharedKey = sharedKey$3;
|
|
1190
1193
|
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
@@ -1198,26 +1201,26 @@ var ObjectPrototype = $Object$1.prototype;
|
|
|
1198
1201
|
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
1199
1202
|
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
|
|
1200
1203
|
var object = toObject$2(O);
|
|
1201
|
-
if (hasOwn$
|
|
1204
|
+
if (hasOwn$3(object, IE_PROTO)) return object[IE_PROTO];
|
|
1202
1205
|
var constructor = object.constructor;
|
|
1203
|
-
if (isCallable$
|
|
1206
|
+
if (isCallable$7(constructor) && object instanceof constructor) {
|
|
1204
1207
|
return constructor.prototype;
|
|
1205
1208
|
} return object instanceof $Object$1 ? ObjectPrototype : null;
|
|
1206
1209
|
};
|
|
1207
1210
|
|
|
1208
|
-
var fails$
|
|
1209
|
-
var isCallable$
|
|
1211
|
+
var fails$9 = fails$k;
|
|
1212
|
+
var isCallable$6 = isCallable$i;
|
|
1210
1213
|
var isObject$3 = isObject$9;
|
|
1211
|
-
var getPrototypeOf$
|
|
1212
|
-
var defineBuiltIn$
|
|
1213
|
-
var wellKnownSymbol$
|
|
1214
|
+
var getPrototypeOf$2 = objectGetPrototypeOf;
|
|
1215
|
+
var defineBuiltIn$4 = defineBuiltIn$6;
|
|
1216
|
+
var wellKnownSymbol$d = wellKnownSymbol$g;
|
|
1214
1217
|
|
|
1215
|
-
var ITERATOR$
|
|
1218
|
+
var ITERATOR$5 = wellKnownSymbol$d('iterator');
|
|
1216
1219
|
var BUGGY_SAFARI_ITERATORS$1 = false;
|
|
1217
1220
|
|
|
1218
1221
|
// `%IteratorPrototype%` object
|
|
1219
1222
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
|
|
1220
|
-
var IteratorPrototype$
|
|
1223
|
+
var IteratorPrototype$4, PrototypeOfArrayIteratorPrototype, arrayIterator;
|
|
1221
1224
|
|
|
1222
1225
|
/* eslint-disable es/no-array-prototype-keys -- safe */
|
|
1223
1226
|
if ([].keys) {
|
|
@@ -1225,68 +1228,68 @@ if ([].keys) {
|
|
|
1225
1228
|
// Safari 8 has buggy iterators w/o `next`
|
|
1226
1229
|
if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS$1 = true;
|
|
1227
1230
|
else {
|
|
1228
|
-
PrototypeOfArrayIteratorPrototype = getPrototypeOf$
|
|
1229
|
-
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$
|
|
1231
|
+
PrototypeOfArrayIteratorPrototype = getPrototypeOf$2(getPrototypeOf$2(arrayIterator));
|
|
1232
|
+
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$4 = PrototypeOfArrayIteratorPrototype;
|
|
1230
1233
|
}
|
|
1231
1234
|
}
|
|
1232
1235
|
|
|
1233
|
-
var NEW_ITERATOR_PROTOTYPE = !isObject$3(IteratorPrototype$
|
|
1236
|
+
var NEW_ITERATOR_PROTOTYPE = !isObject$3(IteratorPrototype$4) || fails$9(function () {
|
|
1234
1237
|
var test = {};
|
|
1235
1238
|
// FF44- legacy iterators case
|
|
1236
|
-
return IteratorPrototype$
|
|
1239
|
+
return IteratorPrototype$4[ITERATOR$5].call(test) !== test;
|
|
1237
1240
|
});
|
|
1238
1241
|
|
|
1239
|
-
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$
|
|
1242
|
+
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$4 = {};
|
|
1240
1243
|
|
|
1241
1244
|
// `%IteratorPrototype%[@@iterator]()` method
|
|
1242
1245
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
|
1243
|
-
if (!isCallable$
|
|
1244
|
-
defineBuiltIn$
|
|
1246
|
+
if (!isCallable$6(IteratorPrototype$4[ITERATOR$5])) {
|
|
1247
|
+
defineBuiltIn$4(IteratorPrototype$4, ITERATOR$5, function () {
|
|
1245
1248
|
return this;
|
|
1246
1249
|
});
|
|
1247
1250
|
}
|
|
1248
1251
|
|
|
1249
1252
|
var iteratorsCore = {
|
|
1250
|
-
IteratorPrototype: IteratorPrototype$
|
|
1253
|
+
IteratorPrototype: IteratorPrototype$4,
|
|
1251
1254
|
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
|
|
1252
1255
|
};
|
|
1253
1256
|
|
|
1254
|
-
var defineProperty$
|
|
1255
|
-
var hasOwn$
|
|
1256
|
-
var wellKnownSymbol$
|
|
1257
|
+
var defineProperty$2 = objectDefineProperty.f;
|
|
1258
|
+
var hasOwn$2 = hasOwnProperty_1;
|
|
1259
|
+
var wellKnownSymbol$c = wellKnownSymbol$g;
|
|
1257
1260
|
|
|
1258
|
-
var TO_STRING_TAG$
|
|
1261
|
+
var TO_STRING_TAG$4 = wellKnownSymbol$c('toStringTag');
|
|
1259
1262
|
|
|
1260
1263
|
var setToStringTag$3 = function (target, TAG, STATIC) {
|
|
1261
1264
|
if (target && !STATIC) target = target.prototype;
|
|
1262
|
-
if (target && !hasOwn$
|
|
1263
|
-
defineProperty$
|
|
1265
|
+
if (target && !hasOwn$2(target, TO_STRING_TAG$4)) {
|
|
1266
|
+
defineProperty$2(target, TO_STRING_TAG$4, { configurable: true, value: TAG });
|
|
1264
1267
|
}
|
|
1265
1268
|
};
|
|
1266
1269
|
|
|
1267
|
-
var IteratorPrototype$
|
|
1268
|
-
var create$
|
|
1269
|
-
var createPropertyDescriptor = createPropertyDescriptor$
|
|
1270
|
+
var IteratorPrototype$3 = iteratorsCore.IteratorPrototype;
|
|
1271
|
+
var create$2 = objectCreate;
|
|
1272
|
+
var createPropertyDescriptor$1 = createPropertyDescriptor$4;
|
|
1270
1273
|
var setToStringTag$2 = setToStringTag$3;
|
|
1271
|
-
var Iterators$
|
|
1274
|
+
var Iterators$4 = iterators;
|
|
1272
1275
|
|
|
1273
1276
|
var returnThis$1 = function () { return this; };
|
|
1274
1277
|
|
|
1275
1278
|
var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
|
|
1276
1279
|
var TO_STRING_TAG = NAME + ' Iterator';
|
|
1277
|
-
IteratorConstructor.prototype = create$
|
|
1280
|
+
IteratorConstructor.prototype = create$2(IteratorPrototype$3, { next: createPropertyDescriptor$1(+!ENUMERABLE_NEXT, next) });
|
|
1278
1281
|
setToStringTag$2(IteratorConstructor, TO_STRING_TAG, false);
|
|
1279
|
-
Iterators$
|
|
1282
|
+
Iterators$4[TO_STRING_TAG] = returnThis$1;
|
|
1280
1283
|
return IteratorConstructor;
|
|
1281
1284
|
};
|
|
1282
1285
|
|
|
1283
|
-
var uncurryThis$
|
|
1284
|
-
var aCallable$
|
|
1286
|
+
var uncurryThis$a = functionUncurryThis;
|
|
1287
|
+
var aCallable$5 = aCallable$7;
|
|
1285
1288
|
|
|
1286
1289
|
var functionUncurryThisAccessor = function (object, key, method) {
|
|
1287
1290
|
try {
|
|
1288
1291
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1289
|
-
return uncurryThis$
|
|
1292
|
+
return uncurryThis$a(aCallable$5(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
1290
1293
|
} catch (error) { /* empty */ }
|
|
1291
1294
|
};
|
|
1292
1295
|
|
|
@@ -1299,11 +1302,11 @@ var isPossiblePrototype$1 = function (argument) {
|
|
|
1299
1302
|
var isPossiblePrototype = isPossiblePrototype$1;
|
|
1300
1303
|
|
|
1301
1304
|
var $String$1 = String;
|
|
1302
|
-
var $TypeError$
|
|
1305
|
+
var $TypeError$9 = TypeError;
|
|
1303
1306
|
|
|
1304
1307
|
var aPossiblePrototype$1 = function (argument) {
|
|
1305
1308
|
if (isPossiblePrototype(argument)) return argument;
|
|
1306
|
-
throw new $TypeError$
|
|
1309
|
+
throw new $TypeError$9("Can't set " + $String$1(argument) + ' as a prototype');
|
|
1307
1310
|
};
|
|
1308
1311
|
|
|
1309
1312
|
/* eslint-disable no-proto -- safe */
|
|
@@ -1335,25 +1338,25 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
1335
1338
|
};
|
|
1336
1339
|
}() : undefined);
|
|
1337
1340
|
|
|
1338
|
-
var $$
|
|
1339
|
-
var call$
|
|
1341
|
+
var $$f = _export;
|
|
1342
|
+
var call$f = functionCall;
|
|
1340
1343
|
var FunctionName = functionName;
|
|
1341
|
-
var isCallable$
|
|
1344
|
+
var isCallable$5 = isCallable$i;
|
|
1342
1345
|
var createIteratorConstructor = iteratorCreateConstructor;
|
|
1343
|
-
var getPrototypeOf = objectGetPrototypeOf;
|
|
1346
|
+
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
1344
1347
|
var setPrototypeOf = objectSetPrototypeOf;
|
|
1345
1348
|
var setToStringTag$1 = setToStringTag$3;
|
|
1346
|
-
var createNonEnumerableProperty$
|
|
1347
|
-
var defineBuiltIn$
|
|
1348
|
-
var wellKnownSymbol$
|
|
1349
|
-
var Iterators$
|
|
1349
|
+
var createNonEnumerableProperty$3 = createNonEnumerableProperty$6;
|
|
1350
|
+
var defineBuiltIn$3 = defineBuiltIn$6;
|
|
1351
|
+
var wellKnownSymbol$b = wellKnownSymbol$g;
|
|
1352
|
+
var Iterators$3 = iterators;
|
|
1350
1353
|
var IteratorsCore = iteratorsCore;
|
|
1351
1354
|
|
|
1352
1355
|
var PROPER_FUNCTION_NAME$1 = FunctionName.PROPER;
|
|
1353
1356
|
var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
|
|
1354
|
-
var IteratorPrototype = IteratorsCore.IteratorPrototype;
|
|
1357
|
+
var IteratorPrototype$2 = IteratorsCore.IteratorPrototype;
|
|
1355
1358
|
var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
|
|
1356
|
-
var ITERATOR$
|
|
1359
|
+
var ITERATOR$4 = wellKnownSymbol$b('iterator');
|
|
1357
1360
|
var KEYS = 'keys';
|
|
1358
1361
|
var VALUES = 'values';
|
|
1359
1362
|
var ENTRIES = 'entries';
|
|
@@ -1379,7 +1382,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1379
1382
|
var TO_STRING_TAG = NAME + ' Iterator';
|
|
1380
1383
|
var INCORRECT_VALUES_NAME = false;
|
|
1381
1384
|
var IterablePrototype = Iterable.prototype;
|
|
1382
|
-
var nativeIterator = IterablePrototype[ITERATOR$
|
|
1385
|
+
var nativeIterator = IterablePrototype[ITERATOR$4]
|
|
1383
1386
|
|| IterablePrototype['@@iterator']
|
|
1384
1387
|
|| DEFAULT && IterablePrototype[DEFAULT];
|
|
1385
1388
|
var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
|
|
@@ -1388,13 +1391,13 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1388
1391
|
|
|
1389
1392
|
// fix native
|
|
1390
1393
|
if (anyNativeIterator) {
|
|
1391
|
-
CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
|
|
1394
|
+
CurrentIteratorPrototype = getPrototypeOf$1(anyNativeIterator.call(new Iterable()));
|
|
1392
1395
|
if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
|
|
1393
|
-
if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
|
|
1396
|
+
if (getPrototypeOf$1(CurrentIteratorPrototype) !== IteratorPrototype$2) {
|
|
1394
1397
|
if (setPrototypeOf) {
|
|
1395
|
-
setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
|
|
1396
|
-
} else if (!isCallable$
|
|
1397
|
-
defineBuiltIn$
|
|
1398
|
+
setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype$2);
|
|
1399
|
+
} else if (!isCallable$5(CurrentIteratorPrototype[ITERATOR$4])) {
|
|
1400
|
+
defineBuiltIn$3(CurrentIteratorPrototype, ITERATOR$4, returnThis);
|
|
1398
1401
|
}
|
|
1399
1402
|
}
|
|
1400
1403
|
// Set @@toStringTag to native iterators
|
|
@@ -1405,10 +1408,10 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1405
1408
|
// fix Array.prototype.{ values, @@iterator }.name in V8 / FF
|
|
1406
1409
|
if (PROPER_FUNCTION_NAME$1 && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
|
|
1407
1410
|
if (CONFIGURABLE_FUNCTION_NAME) {
|
|
1408
|
-
createNonEnumerableProperty$
|
|
1411
|
+
createNonEnumerableProperty$3(IterablePrototype, 'name', VALUES);
|
|
1409
1412
|
} else {
|
|
1410
1413
|
INCORRECT_VALUES_NAME = true;
|
|
1411
|
-
defaultIterator = function values() { return call$
|
|
1414
|
+
defaultIterator = function values() { return call$f(nativeIterator, this); };
|
|
1412
1415
|
}
|
|
1413
1416
|
}
|
|
1414
1417
|
|
|
@@ -1421,38 +1424,38 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1421
1424
|
};
|
|
1422
1425
|
if (FORCED) for (KEY in methods) {
|
|
1423
1426
|
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
|
1424
|
-
defineBuiltIn$
|
|
1427
|
+
defineBuiltIn$3(IterablePrototype, KEY, methods[KEY]);
|
|
1425
1428
|
}
|
|
1426
|
-
} else $$
|
|
1429
|
+
} else $$f({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
|
|
1427
1430
|
}
|
|
1428
1431
|
|
|
1429
1432
|
// define iterator
|
|
1430
|
-
if (IterablePrototype[ITERATOR$
|
|
1431
|
-
defineBuiltIn$
|
|
1433
|
+
if (IterablePrototype[ITERATOR$4] !== defaultIterator) {
|
|
1434
|
+
defineBuiltIn$3(IterablePrototype, ITERATOR$4, defaultIterator, { name: DEFAULT });
|
|
1432
1435
|
}
|
|
1433
|
-
Iterators$
|
|
1436
|
+
Iterators$3[NAME] = defaultIterator;
|
|
1434
1437
|
|
|
1435
1438
|
return methods;
|
|
1436
1439
|
};
|
|
1437
1440
|
|
|
1438
1441
|
// `CreateIterResultObject` abstract operation
|
|
1439
1442
|
// https://tc39.es/ecma262/#sec-createiterresultobject
|
|
1440
|
-
var createIterResultObject$
|
|
1443
|
+
var createIterResultObject$2 = function (value, done) {
|
|
1441
1444
|
return { value: value, done: done };
|
|
1442
1445
|
};
|
|
1443
1446
|
|
|
1444
1447
|
var toIndexedObject = toIndexedObject$5;
|
|
1445
1448
|
var addToUnscopables = addToUnscopables$2;
|
|
1446
|
-
var Iterators = iterators;
|
|
1447
|
-
var InternalStateModule = internalState;
|
|
1448
|
-
var defineProperty = objectDefineProperty.f;
|
|
1449
|
+
var Iterators$2 = iterators;
|
|
1450
|
+
var InternalStateModule$1 = internalState;
|
|
1451
|
+
var defineProperty$1 = objectDefineProperty.f;
|
|
1449
1452
|
var defineIterator = iteratorDefine;
|
|
1450
|
-
var createIterResultObject = createIterResultObject$
|
|
1451
|
-
var DESCRIPTORS$
|
|
1453
|
+
var createIterResultObject$1 = createIterResultObject$2;
|
|
1454
|
+
var DESCRIPTORS$3 = descriptors;
|
|
1452
1455
|
|
|
1453
1456
|
var ARRAY_ITERATOR = 'Array Iterator';
|
|
1454
|
-
var setInternalState = InternalStateModule.set;
|
|
1455
|
-
var getInternalState$1 = InternalStateModule.getterFor(ARRAY_ITERATOR);
|
|
1457
|
+
var setInternalState$1 = InternalStateModule$1.set;
|
|
1458
|
+
var getInternalState$1 = InternalStateModule$1.getterFor(ARRAY_ITERATOR);
|
|
1456
1459
|
|
|
1457
1460
|
// `Array.prototype.entries` method
|
|
1458
1461
|
// https://tc39.es/ecma262/#sec-array.prototype.entries
|
|
@@ -1465,7 +1468,7 @@ var getInternalState$1 = InternalStateModule.getterFor(ARRAY_ITERATOR);
|
|
|
1465
1468
|
// `CreateArrayIterator` internal method
|
|
1466
1469
|
// https://tc39.es/ecma262/#sec-createarrayiterator
|
|
1467
1470
|
var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind) {
|
|
1468
|
-
setInternalState(this, {
|
|
1471
|
+
setInternalState$1(this, {
|
|
1469
1472
|
type: ARRAY_ITERATOR,
|
|
1470
1473
|
target: toIndexedObject(iterated), // target
|
|
1471
1474
|
index: 0, // next index
|
|
@@ -1479,18 +1482,18 @@ var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind)
|
|
|
1479
1482
|
var index = state.index++;
|
|
1480
1483
|
if (!target || index >= target.length) {
|
|
1481
1484
|
state.target = null;
|
|
1482
|
-
return createIterResultObject(undefined, true);
|
|
1485
|
+
return createIterResultObject$1(undefined, true);
|
|
1483
1486
|
}
|
|
1484
1487
|
switch (state.kind) {
|
|
1485
|
-
case 'keys': return createIterResultObject(index, false);
|
|
1486
|
-
case 'values': return createIterResultObject(target[index], false);
|
|
1487
|
-
} return createIterResultObject([index, target[index]], false);
|
|
1488
|
+
case 'keys': return createIterResultObject$1(index, false);
|
|
1489
|
+
case 'values': return createIterResultObject$1(target[index], false);
|
|
1490
|
+
} return createIterResultObject$1([index, target[index]], false);
|
|
1488
1491
|
}, 'values');
|
|
1489
1492
|
|
|
1490
1493
|
// argumentsList[@@iterator] is %ArrayProto_values%
|
|
1491
1494
|
// https://tc39.es/ecma262/#sec-createunmappedargumentsobject
|
|
1492
1495
|
// https://tc39.es/ecma262/#sec-createmappedargumentsobject
|
|
1493
|
-
var values = Iterators.Arguments = Iterators.Array;
|
|
1496
|
+
var values = Iterators$2.Arguments = Iterators$2.Array;
|
|
1494
1497
|
|
|
1495
1498
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
1496
1499
|
addToUnscopables('keys');
|
|
@@ -1498,25 +1501,25 @@ addToUnscopables('values');
|
|
|
1498
1501
|
addToUnscopables('entries');
|
|
1499
1502
|
|
|
1500
1503
|
// V8 ~ Chrome 45- bug
|
|
1501
|
-
if (DESCRIPTORS$
|
|
1502
|
-
defineProperty(values, 'name', { value: 'values' });
|
|
1504
|
+
if (DESCRIPTORS$3 && values.name !== 'values') try {
|
|
1505
|
+
defineProperty$1(values, 'name', { value: 'values' });
|
|
1503
1506
|
} catch (error) { /* empty */ }
|
|
1504
1507
|
|
|
1505
|
-
var wellKnownSymbol$
|
|
1508
|
+
var wellKnownSymbol$a = wellKnownSymbol$g;
|
|
1506
1509
|
|
|
1507
|
-
var TO_STRING_TAG$
|
|
1510
|
+
var TO_STRING_TAG$3 = wellKnownSymbol$a('toStringTag');
|
|
1508
1511
|
var test = {};
|
|
1509
1512
|
|
|
1510
|
-
test[TO_STRING_TAG$
|
|
1513
|
+
test[TO_STRING_TAG$3] = 'z';
|
|
1511
1514
|
|
|
1512
1515
|
var toStringTagSupport = String(test) === '[object z]';
|
|
1513
1516
|
|
|
1514
1517
|
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
1515
|
-
var isCallable$
|
|
1518
|
+
var isCallable$4 = isCallable$i;
|
|
1516
1519
|
var classofRaw$1 = classofRaw$2;
|
|
1517
|
-
var wellKnownSymbol$
|
|
1520
|
+
var wellKnownSymbol$9 = wellKnownSymbol$g;
|
|
1518
1521
|
|
|
1519
|
-
var TO_STRING_TAG = wellKnownSymbol$
|
|
1522
|
+
var TO_STRING_TAG$2 = wellKnownSymbol$9('toStringTag');
|
|
1520
1523
|
var $Object = Object;
|
|
1521
1524
|
|
|
1522
1525
|
// ES3 wrong here
|
|
@@ -1530,32 +1533,32 @@ var tryGet = function (it, key) {
|
|
|
1530
1533
|
};
|
|
1531
1534
|
|
|
1532
1535
|
// getting tag from ES6+ `Object.prototype.toString`
|
|
1533
|
-
var classof$
|
|
1536
|
+
var classof$5 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
|
|
1534
1537
|
var O, tag, result;
|
|
1535
1538
|
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
1536
1539
|
// @@toStringTag case
|
|
1537
|
-
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
|
|
1540
|
+
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG$2)) == 'string' ? tag
|
|
1538
1541
|
// builtinTag case
|
|
1539
1542
|
: CORRECT_ARGUMENTS ? classofRaw$1(O)
|
|
1540
1543
|
// ES3 arguments fallback
|
|
1541
|
-
: (result = classofRaw$1(O)) === 'Object' && isCallable$
|
|
1544
|
+
: (result = classofRaw$1(O)) === 'Object' && isCallable$4(O.callee) ? 'Arguments' : result;
|
|
1542
1545
|
};
|
|
1543
1546
|
|
|
1544
|
-
var classof$
|
|
1547
|
+
var classof$4 = classof$5;
|
|
1545
1548
|
|
|
1546
1549
|
var $String = String;
|
|
1547
1550
|
|
|
1548
1551
|
var toString$7 = function (argument) {
|
|
1549
|
-
if (classof$
|
|
1552
|
+
if (classof$4(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
|
|
1550
1553
|
return $String(argument);
|
|
1551
1554
|
};
|
|
1552
1555
|
|
|
1553
|
-
var anObject$
|
|
1556
|
+
var anObject$d = anObject$i;
|
|
1554
1557
|
|
|
1555
1558
|
// `RegExp.prototype.flags` getter implementation
|
|
1556
1559
|
// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
|
|
1557
1560
|
var regexpFlags$1 = function () {
|
|
1558
|
-
var that = anObject$
|
|
1561
|
+
var that = anObject$d(this);
|
|
1559
1562
|
var result = '';
|
|
1560
1563
|
if (that.hasIndices) result += 'd';
|
|
1561
1564
|
if (that.global) result += 'g';
|
|
@@ -1568,13 +1571,13 @@ var regexpFlags$1 = function () {
|
|
|
1568
1571
|
return result;
|
|
1569
1572
|
};
|
|
1570
1573
|
|
|
1571
|
-
var fails$
|
|
1572
|
-
var globalThis$
|
|
1574
|
+
var fails$8 = fails$k;
|
|
1575
|
+
var globalThis$5 = globalThis_1;
|
|
1573
1576
|
|
|
1574
1577
|
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
1575
|
-
var $RegExp$2 = globalThis$
|
|
1578
|
+
var $RegExp$2 = globalThis$5.RegExp;
|
|
1576
1579
|
|
|
1577
|
-
var UNSUPPORTED_Y$1 = fails$
|
|
1580
|
+
var UNSUPPORTED_Y$1 = fails$8(function () {
|
|
1578
1581
|
var re = $RegExp$2('a', 'y');
|
|
1579
1582
|
re.lastIndex = 2;
|
|
1580
1583
|
return re.exec('abcd') !== null;
|
|
@@ -1582,11 +1585,11 @@ var UNSUPPORTED_Y$1 = fails$7(function () {
|
|
|
1582
1585
|
|
|
1583
1586
|
// UC Browser bug
|
|
1584
1587
|
// https://github.com/zloirock/core-js/issues/1008
|
|
1585
|
-
var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$
|
|
1588
|
+
var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$8(function () {
|
|
1586
1589
|
return !$RegExp$2('a', 'y').sticky;
|
|
1587
1590
|
});
|
|
1588
1591
|
|
|
1589
|
-
var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$
|
|
1592
|
+
var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$8(function () {
|
|
1590
1593
|
// https://bugzilla.mozilla.org/show_bug.cgi?id=773687
|
|
1591
1594
|
var re = $RegExp$2('^r', 'gy');
|
|
1592
1595
|
re.lastIndex = 2;
|
|
@@ -1599,24 +1602,24 @@ var regexpStickyHelpers = {
|
|
|
1599
1602
|
UNSUPPORTED_Y: UNSUPPORTED_Y$1
|
|
1600
1603
|
};
|
|
1601
1604
|
|
|
1602
|
-
var fails$
|
|
1603
|
-
var globalThis$
|
|
1605
|
+
var fails$7 = fails$k;
|
|
1606
|
+
var globalThis$4 = globalThis_1;
|
|
1604
1607
|
|
|
1605
1608
|
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
|
1606
|
-
var $RegExp$1 = globalThis$
|
|
1609
|
+
var $RegExp$1 = globalThis$4.RegExp;
|
|
1607
1610
|
|
|
1608
|
-
var regexpUnsupportedDotAll = fails$
|
|
1611
|
+
var regexpUnsupportedDotAll = fails$7(function () {
|
|
1609
1612
|
var re = $RegExp$1('.', 's');
|
|
1610
1613
|
return !(re.dotAll && re.test('\n') && re.flags === 's');
|
|
1611
1614
|
});
|
|
1612
1615
|
|
|
1613
|
-
var fails$
|
|
1614
|
-
var globalThis$
|
|
1616
|
+
var fails$6 = fails$k;
|
|
1617
|
+
var globalThis$3 = globalThis_1;
|
|
1615
1618
|
|
|
1616
1619
|
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
|
|
1617
|
-
var $RegExp = globalThis$
|
|
1620
|
+
var $RegExp = globalThis$3.RegExp;
|
|
1618
1621
|
|
|
1619
|
-
var regexpUnsupportedNcg = fails$
|
|
1622
|
+
var regexpUnsupportedNcg = fails$6(function () {
|
|
1620
1623
|
var re = $RegExp('(?<a>b)', 'g');
|
|
1621
1624
|
return re.exec('b').groups.a !== 'b' ||
|
|
1622
1625
|
'b'.replace(re, '$<a>c') !== 'bc';
|
|
@@ -1624,13 +1627,13 @@ var regexpUnsupportedNcg = fails$5(function () {
|
|
|
1624
1627
|
|
|
1625
1628
|
/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
|
|
1626
1629
|
/* eslint-disable regexp/no-useless-quantifier -- testing */
|
|
1627
|
-
var call$
|
|
1628
|
-
var uncurryThis$
|
|
1630
|
+
var call$e = functionCall;
|
|
1631
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
1629
1632
|
var toString$6 = toString$7;
|
|
1630
1633
|
var regexpFlags = regexpFlags$1;
|
|
1631
1634
|
var stickyHelpers = regexpStickyHelpers;
|
|
1632
1635
|
var shared = shared$4;
|
|
1633
|
-
var create = objectCreate;
|
|
1636
|
+
var create$1 = objectCreate;
|
|
1634
1637
|
var getInternalState = internalState.get;
|
|
1635
1638
|
var UNSUPPORTED_DOT_ALL = regexpUnsupportedDotAll;
|
|
1636
1639
|
var UNSUPPORTED_NCG = regexpUnsupportedNcg;
|
|
@@ -1638,16 +1641,16 @@ var UNSUPPORTED_NCG = regexpUnsupportedNcg;
|
|
|
1638
1641
|
var nativeReplace = shared('native-string-replace', String.prototype.replace);
|
|
1639
1642
|
var nativeExec = RegExp.prototype.exec;
|
|
1640
1643
|
var patchedExec = nativeExec;
|
|
1641
|
-
var charAt$3 = uncurryThis$
|
|
1642
|
-
var indexOf = uncurryThis$
|
|
1643
|
-
var replace$1 = uncurryThis$
|
|
1644
|
-
var stringSlice$4 = uncurryThis$
|
|
1644
|
+
var charAt$3 = uncurryThis$9(''.charAt);
|
|
1645
|
+
var indexOf = uncurryThis$9(''.indexOf);
|
|
1646
|
+
var replace$1 = uncurryThis$9(''.replace);
|
|
1647
|
+
var stringSlice$4 = uncurryThis$9(''.slice);
|
|
1645
1648
|
|
|
1646
1649
|
var UPDATES_LAST_INDEX_WRONG = (function () {
|
|
1647
1650
|
var re1 = /a/;
|
|
1648
1651
|
var re2 = /b*/g;
|
|
1649
|
-
call$
|
|
1650
|
-
call$
|
|
1652
|
+
call$e(nativeExec, re1, 'a');
|
|
1653
|
+
call$e(nativeExec, re2, 'a');
|
|
1651
1654
|
return re1.lastIndex !== 0 || re2.lastIndex !== 0;
|
|
1652
1655
|
})();
|
|
1653
1656
|
|
|
@@ -1668,14 +1671,14 @@ if (PATCH) {
|
|
|
1668
1671
|
|
|
1669
1672
|
if (raw) {
|
|
1670
1673
|
raw.lastIndex = re.lastIndex;
|
|
1671
|
-
result = call$
|
|
1674
|
+
result = call$e(patchedExec, raw, str);
|
|
1672
1675
|
re.lastIndex = raw.lastIndex;
|
|
1673
1676
|
return result;
|
|
1674
1677
|
}
|
|
1675
1678
|
|
|
1676
1679
|
var groups = state.groups;
|
|
1677
1680
|
var sticky = UNSUPPORTED_Y && re.sticky;
|
|
1678
|
-
var flags = call$
|
|
1681
|
+
var flags = call$e(regexpFlags, re);
|
|
1679
1682
|
var source = re.source;
|
|
1680
1683
|
var charsAdded = 0;
|
|
1681
1684
|
var strCopy = str;
|
|
@@ -1703,7 +1706,7 @@ if (PATCH) {
|
|
|
1703
1706
|
}
|
|
1704
1707
|
if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
|
|
1705
1708
|
|
|
1706
|
-
match = call$
|
|
1709
|
+
match = call$e(nativeExec, sticky ? reCopy : re, strCopy);
|
|
1707
1710
|
|
|
1708
1711
|
if (sticky) {
|
|
1709
1712
|
if (match) {
|
|
@@ -1718,7 +1721,7 @@ if (PATCH) {
|
|
|
1718
1721
|
if (NPCG_INCLUDED && match && match.length > 1) {
|
|
1719
1722
|
// Fix browsers whose `exec` methods don't consistently return `undefined`
|
|
1720
1723
|
// for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
|
|
1721
|
-
call$
|
|
1724
|
+
call$e(nativeReplace, match[0], reCopy, function () {
|
|
1722
1725
|
for (i = 1; i < arguments.length - 2; i++) {
|
|
1723
1726
|
if (arguments[i] === undefined) match[i] = undefined;
|
|
1724
1727
|
}
|
|
@@ -1726,7 +1729,7 @@ if (PATCH) {
|
|
|
1726
1729
|
}
|
|
1727
1730
|
|
|
1728
1731
|
if (match && groups) {
|
|
1729
|
-
match.groups = object = create(null);
|
|
1732
|
+
match.groups = object = create$1(null);
|
|
1730
1733
|
for (i = 0; i < groups.length; i++) {
|
|
1731
1734
|
group = groups[i];
|
|
1732
1735
|
object[group[0]] = match[group[1]];
|
|
@@ -1739,48 +1742,48 @@ if (PATCH) {
|
|
|
1739
1742
|
|
|
1740
1743
|
var regexpExec$2 = patchedExec;
|
|
1741
1744
|
|
|
1742
|
-
var $$
|
|
1745
|
+
var $$e = _export;
|
|
1743
1746
|
var exec = regexpExec$2;
|
|
1744
1747
|
|
|
1745
1748
|
// `RegExp.prototype.exec` method
|
|
1746
1749
|
// https://tc39.es/ecma262/#sec-regexp.prototype.exec
|
|
1747
|
-
$$
|
|
1750
|
+
$$e({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
|
|
1748
1751
|
exec: exec
|
|
1749
1752
|
});
|
|
1750
1753
|
|
|
1751
|
-
var call$
|
|
1752
|
-
var hasOwn = hasOwnProperty_1;
|
|
1753
|
-
var isPrototypeOf = objectIsPrototypeOf;
|
|
1754
|
+
var call$d = functionCall;
|
|
1755
|
+
var hasOwn$1 = hasOwnProperty_1;
|
|
1756
|
+
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
1754
1757
|
var regExpFlags = regexpFlags$1;
|
|
1755
1758
|
|
|
1756
1759
|
var RegExpPrototype$2 = RegExp.prototype;
|
|
1757
1760
|
|
|
1758
1761
|
var regexpGetFlags = function (R) {
|
|
1759
1762
|
var flags = R.flags;
|
|
1760
|
-
return flags === undefined && !('flags' in RegExpPrototype$2) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype$2, R)
|
|
1761
|
-
? call$
|
|
1763
|
+
return flags === undefined && !('flags' in RegExpPrototype$2) && !hasOwn$1(R, 'flags') && isPrototypeOf$2(RegExpPrototype$2, R)
|
|
1764
|
+
? call$d(regExpFlags, R) : flags;
|
|
1762
1765
|
};
|
|
1763
1766
|
|
|
1764
1767
|
var PROPER_FUNCTION_NAME = functionName.PROPER;
|
|
1765
|
-
var defineBuiltIn$
|
|
1766
|
-
var anObject$
|
|
1768
|
+
var defineBuiltIn$2 = defineBuiltIn$6;
|
|
1769
|
+
var anObject$c = anObject$i;
|
|
1767
1770
|
var $toString = toString$7;
|
|
1768
|
-
var fails$
|
|
1771
|
+
var fails$5 = fails$k;
|
|
1769
1772
|
var getRegExpFlags = regexpGetFlags;
|
|
1770
1773
|
|
|
1771
1774
|
var TO_STRING = 'toString';
|
|
1772
1775
|
var RegExpPrototype$1 = RegExp.prototype;
|
|
1773
1776
|
var nativeToString = RegExpPrototype$1[TO_STRING];
|
|
1774
1777
|
|
|
1775
|
-
var NOT_GENERIC = fails$
|
|
1778
|
+
var NOT_GENERIC = fails$5(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
|
|
1776
1779
|
// FF44- RegExp#toString has a wrong name
|
|
1777
1780
|
var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;
|
|
1778
1781
|
|
|
1779
1782
|
// `RegExp.prototype.toString` method
|
|
1780
1783
|
// https://tc39.es/ecma262/#sec-regexp.prototype.tostring
|
|
1781
1784
|
if (NOT_GENERIC || INCORRECT_NAME) {
|
|
1782
|
-
defineBuiltIn$
|
|
1783
|
-
var R = anObject$
|
|
1785
|
+
defineBuiltIn$2(RegExpPrototype$1, TO_STRING, function toString() {
|
|
1786
|
+
var R = anObject$c(this);
|
|
1784
1787
|
var pattern = $toString(R.source);
|
|
1785
1788
|
var flags = $toString(getRegExpFlags(R));
|
|
1786
1789
|
return '/' + pattern + '/' + flags;
|
|
@@ -1788,31 +1791,31 @@ if (NOT_GENERIC || INCORRECT_NAME) {
|
|
|
1788
1791
|
}
|
|
1789
1792
|
|
|
1790
1793
|
var isObject = isObject$9;
|
|
1791
|
-
var classof$
|
|
1792
|
-
var wellKnownSymbol$
|
|
1794
|
+
var classof$3 = classofRaw$2;
|
|
1795
|
+
var wellKnownSymbol$8 = wellKnownSymbol$g;
|
|
1793
1796
|
|
|
1794
|
-
var MATCH$1 = wellKnownSymbol$
|
|
1797
|
+
var MATCH$1 = wellKnownSymbol$8('match');
|
|
1795
1798
|
|
|
1796
1799
|
// `IsRegExp` abstract operation
|
|
1797
1800
|
// https://tc39.es/ecma262/#sec-isregexp
|
|
1798
1801
|
var isRegexp = function (it) {
|
|
1799
1802
|
var isRegExp;
|
|
1800
|
-
return isObject(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$
|
|
1803
|
+
return isObject(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$3(it) === 'RegExp');
|
|
1801
1804
|
};
|
|
1802
1805
|
|
|
1803
1806
|
var isRegExp = isRegexp;
|
|
1804
1807
|
|
|
1805
|
-
var $TypeError$
|
|
1808
|
+
var $TypeError$8 = TypeError;
|
|
1806
1809
|
|
|
1807
1810
|
var notARegexp = function (it) {
|
|
1808
1811
|
if (isRegExp(it)) {
|
|
1809
|
-
throw new $TypeError$
|
|
1812
|
+
throw new $TypeError$8("The method doesn't accept regular expressions");
|
|
1810
1813
|
} return it;
|
|
1811
1814
|
};
|
|
1812
1815
|
|
|
1813
|
-
var wellKnownSymbol$
|
|
1816
|
+
var wellKnownSymbol$7 = wellKnownSymbol$g;
|
|
1814
1817
|
|
|
1815
|
-
var MATCH = wellKnownSymbol$
|
|
1818
|
+
var MATCH = wellKnownSymbol$7('match');
|
|
1816
1819
|
|
|
1817
1820
|
var correctIsRegexpLogic = function (METHOD_NAME) {
|
|
1818
1821
|
var regexp = /./;
|
|
@@ -1826,18 +1829,18 @@ var correctIsRegexpLogic = function (METHOD_NAME) {
|
|
|
1826
1829
|
} return false;
|
|
1827
1830
|
};
|
|
1828
1831
|
|
|
1829
|
-
var $$
|
|
1830
|
-
var uncurryThis$
|
|
1832
|
+
var $$d = _export;
|
|
1833
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
1831
1834
|
var notARegExp$1 = notARegexp;
|
|
1832
1835
|
var requireObjectCoercible$4 = requireObjectCoercible$8;
|
|
1833
1836
|
var toString$5 = toString$7;
|
|
1834
1837
|
var correctIsRegExpLogic$1 = correctIsRegexpLogic;
|
|
1835
1838
|
|
|
1836
|
-
var stringIndexOf$1 = uncurryThis$
|
|
1839
|
+
var stringIndexOf$1 = uncurryThis$8(''.indexOf);
|
|
1837
1840
|
|
|
1838
1841
|
// `String.prototype.includes` method
|
|
1839
1842
|
// https://tc39.es/ecma262/#sec-string.prototype.includes
|
|
1840
|
-
$$
|
|
1843
|
+
$$d({ target: 'String', proto: true, forced: !correctIsRegExpLogic$1('includes') }, {
|
|
1841
1844
|
includes: function includes(searchString /* , position = 0 */) {
|
|
1842
1845
|
return !!~stringIndexOf$1(
|
|
1843
1846
|
toString$5(requireObjectCoercible$4(this)),
|
|
@@ -1849,27 +1852,27 @@ $$a({ target: 'String', proto: true, forced: !correctIsRegExpLogic$1('includes')
|
|
|
1849
1852
|
|
|
1850
1853
|
// TODO: Remove from `core-js@4` since it's moved to entry points
|
|
1851
1854
|
|
|
1852
|
-
var call$
|
|
1853
|
-
var defineBuiltIn = defineBuiltIn$
|
|
1855
|
+
var call$c = functionCall;
|
|
1856
|
+
var defineBuiltIn$1 = defineBuiltIn$6;
|
|
1854
1857
|
var regexpExec$1 = regexpExec$2;
|
|
1855
|
-
var fails$
|
|
1856
|
-
var wellKnownSymbol$
|
|
1857
|
-
var createNonEnumerableProperty$
|
|
1858
|
+
var fails$4 = fails$k;
|
|
1859
|
+
var wellKnownSymbol$6 = wellKnownSymbol$g;
|
|
1860
|
+
var createNonEnumerableProperty$2 = createNonEnumerableProperty$6;
|
|
1858
1861
|
|
|
1859
|
-
var SPECIES = wellKnownSymbol$
|
|
1862
|
+
var SPECIES = wellKnownSymbol$6('species');
|
|
1860
1863
|
var RegExpPrototype = RegExp.prototype;
|
|
1861
1864
|
|
|
1862
1865
|
var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
1863
|
-
var SYMBOL = wellKnownSymbol$
|
|
1866
|
+
var SYMBOL = wellKnownSymbol$6(KEY);
|
|
1864
1867
|
|
|
1865
|
-
var DELEGATES_TO_SYMBOL = !fails$
|
|
1868
|
+
var DELEGATES_TO_SYMBOL = !fails$4(function () {
|
|
1866
1869
|
// String methods call symbol-named RegExp methods
|
|
1867
1870
|
var O = {};
|
|
1868
1871
|
O[SYMBOL] = function () { return 7; };
|
|
1869
1872
|
return ''[KEY](O) !== 7;
|
|
1870
1873
|
});
|
|
1871
1874
|
|
|
1872
|
-
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$
|
|
1875
|
+
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$4(function () {
|
|
1873
1876
|
// Symbol-named RegExp methods call .exec
|
|
1874
1877
|
var execCalled = false;
|
|
1875
1878
|
var re = /a/;
|
|
@@ -1909,28 +1912,28 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
1909
1912
|
// The native String method already delegates to @@method (this
|
|
1910
1913
|
// polyfilled function), leasing to infinite recursion.
|
|
1911
1914
|
// We avoid it by directly calling the native @@method method.
|
|
1912
|
-
return { done: true, value: call$
|
|
1915
|
+
return { done: true, value: call$c(nativeRegExpMethod, regexp, str, arg2) };
|
|
1913
1916
|
}
|
|
1914
|
-
return { done: true, value: call$
|
|
1917
|
+
return { done: true, value: call$c(nativeMethod, str, regexp, arg2) };
|
|
1915
1918
|
}
|
|
1916
1919
|
return { done: false };
|
|
1917
1920
|
});
|
|
1918
1921
|
|
|
1919
|
-
defineBuiltIn(String.prototype, KEY, methods[0]);
|
|
1920
|
-
defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]);
|
|
1922
|
+
defineBuiltIn$1(String.prototype, KEY, methods[0]);
|
|
1923
|
+
defineBuiltIn$1(RegExpPrototype, SYMBOL, methods[1]);
|
|
1921
1924
|
}
|
|
1922
1925
|
|
|
1923
|
-
if (SHAM) createNonEnumerableProperty$
|
|
1926
|
+
if (SHAM) createNonEnumerableProperty$2(RegExpPrototype[SYMBOL], 'sham', true);
|
|
1924
1927
|
};
|
|
1925
1928
|
|
|
1926
|
-
var uncurryThis$
|
|
1929
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
1927
1930
|
var toIntegerOrInfinity$2 = toIntegerOrInfinity$5;
|
|
1928
1931
|
var toString$4 = toString$7;
|
|
1929
1932
|
var requireObjectCoercible$3 = requireObjectCoercible$8;
|
|
1930
1933
|
|
|
1931
|
-
var charAt$2 = uncurryThis$
|
|
1932
|
-
var charCodeAt = uncurryThis$
|
|
1933
|
-
var stringSlice$3 = uncurryThis$
|
|
1934
|
+
var charAt$2 = uncurryThis$7(''.charAt);
|
|
1935
|
+
var charCodeAt = uncurryThis$7(''.charCodeAt);
|
|
1936
|
+
var stringSlice$3 = uncurryThis$7(''.slice);
|
|
1934
1937
|
|
|
1935
1938
|
var createMethod = function (CONVERT_TO_STRING) {
|
|
1936
1939
|
return function ($this, pos) {
|
|
@@ -1968,35 +1971,35 @@ var advanceStringIndex$2 = function (S, index, unicode) {
|
|
|
1968
1971
|
return index + (unicode ? charAt$1(S, index).length : 1);
|
|
1969
1972
|
};
|
|
1970
1973
|
|
|
1971
|
-
var call$
|
|
1972
|
-
var anObject$
|
|
1973
|
-
var isCallable$
|
|
1974
|
-
var classof$
|
|
1974
|
+
var call$b = functionCall;
|
|
1975
|
+
var anObject$b = anObject$i;
|
|
1976
|
+
var isCallable$3 = isCallable$i;
|
|
1977
|
+
var classof$2 = classofRaw$2;
|
|
1975
1978
|
var regexpExec = regexpExec$2;
|
|
1976
1979
|
|
|
1977
|
-
var $TypeError$
|
|
1980
|
+
var $TypeError$7 = TypeError;
|
|
1978
1981
|
|
|
1979
1982
|
// `RegExpExec` abstract operation
|
|
1980
1983
|
// https://tc39.es/ecma262/#sec-regexpexec
|
|
1981
1984
|
var regexpExecAbstract = function (R, S) {
|
|
1982
1985
|
var exec = R.exec;
|
|
1983
|
-
if (isCallable$
|
|
1984
|
-
var result = call$
|
|
1985
|
-
if (result !== null) anObject$
|
|
1986
|
+
if (isCallable$3(exec)) {
|
|
1987
|
+
var result = call$b(exec, R, S);
|
|
1988
|
+
if (result !== null) anObject$b(result);
|
|
1986
1989
|
return result;
|
|
1987
1990
|
}
|
|
1988
|
-
if (classof$
|
|
1989
|
-
throw new $TypeError$
|
|
1991
|
+
if (classof$2(R) === 'RegExp') return call$b(regexpExec, R, S);
|
|
1992
|
+
throw new $TypeError$7('RegExp#exec called on incompatible receiver');
|
|
1990
1993
|
};
|
|
1991
1994
|
|
|
1992
|
-
var call$
|
|
1995
|
+
var call$a = functionCall;
|
|
1993
1996
|
var fixRegExpWellKnownSymbolLogic$1 = fixRegexpWellKnownSymbolLogic;
|
|
1994
|
-
var anObject$
|
|
1995
|
-
var isNullOrUndefined$
|
|
1997
|
+
var anObject$a = anObject$i;
|
|
1998
|
+
var isNullOrUndefined$2 = isNullOrUndefined$5;
|
|
1996
1999
|
var toLength$2 = toLength$4;
|
|
1997
2000
|
var toString$3 = toString$7;
|
|
1998
2001
|
var requireObjectCoercible$2 = requireObjectCoercible$8;
|
|
1999
|
-
var getMethod$
|
|
2002
|
+
var getMethod$4 = getMethod$6;
|
|
2000
2003
|
var advanceStringIndex$1 = advanceStringIndex$2;
|
|
2001
2004
|
var regExpExec$1 = regexpExecAbstract;
|
|
2002
2005
|
|
|
@@ -2007,13 +2010,13 @@ fixRegExpWellKnownSymbolLogic$1('match', function (MATCH, nativeMatch, maybeCall
|
|
|
2007
2010
|
// https://tc39.es/ecma262/#sec-string.prototype.match
|
|
2008
2011
|
function match(regexp) {
|
|
2009
2012
|
var O = requireObjectCoercible$2(this);
|
|
2010
|
-
var matcher = isNullOrUndefined$
|
|
2011
|
-
return matcher ? call$
|
|
2013
|
+
var matcher = isNullOrUndefined$2(regexp) ? undefined : getMethod$4(regexp, MATCH);
|
|
2014
|
+
return matcher ? call$a(matcher, regexp, O) : new RegExp(regexp)[MATCH](toString$3(O));
|
|
2012
2015
|
},
|
|
2013
2016
|
// `RegExp.prototype[@@match]` method
|
|
2014
2017
|
// https://tc39.es/ecma262/#sec-regexp.prototype-@@match
|
|
2015
2018
|
function (string) {
|
|
2016
|
-
var rx = anObject$
|
|
2019
|
+
var rx = anObject$a(this);
|
|
2017
2020
|
var S = toString$3(string);
|
|
2018
2021
|
var res = maybeCallNative(nativeMatch, rx, S);
|
|
2019
2022
|
|
|
@@ -2081,30 +2084,30 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
|
|
|
2081
2084
|
|
|
2082
2085
|
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
|
2083
2086
|
|
|
2084
|
-
var globalThis$
|
|
2087
|
+
var globalThis$2 = globalThis_1;
|
|
2085
2088
|
var DOMIterables = domIterables;
|
|
2086
2089
|
var DOMTokenListPrototype = domTokenListPrototype;
|
|
2087
2090
|
var ArrayIteratorMethods = es_array_iterator;
|
|
2088
|
-
var createNonEnumerableProperty = createNonEnumerableProperty$
|
|
2091
|
+
var createNonEnumerableProperty$1 = createNonEnumerableProperty$6;
|
|
2089
2092
|
var setToStringTag = setToStringTag$3;
|
|
2090
|
-
var wellKnownSymbol$
|
|
2093
|
+
var wellKnownSymbol$5 = wellKnownSymbol$g;
|
|
2091
2094
|
|
|
2092
|
-
var ITERATOR = wellKnownSymbol$
|
|
2095
|
+
var ITERATOR$3 = wellKnownSymbol$5('iterator');
|
|
2093
2096
|
var ArrayValues = ArrayIteratorMethods.values;
|
|
2094
2097
|
|
|
2095
2098
|
var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
2096
2099
|
if (CollectionPrototype) {
|
|
2097
2100
|
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
2098
|
-
if (CollectionPrototype[ITERATOR] !== ArrayValues) try {
|
|
2099
|
-
createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);
|
|
2101
|
+
if (CollectionPrototype[ITERATOR$3] !== ArrayValues) try {
|
|
2102
|
+
createNonEnumerableProperty$1(CollectionPrototype, ITERATOR$3, ArrayValues);
|
|
2100
2103
|
} catch (error) {
|
|
2101
|
-
CollectionPrototype[ITERATOR] = ArrayValues;
|
|
2104
|
+
CollectionPrototype[ITERATOR$3] = ArrayValues;
|
|
2102
2105
|
}
|
|
2103
2106
|
setToStringTag(CollectionPrototype, COLLECTION_NAME, true);
|
|
2104
2107
|
if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
|
|
2105
2108
|
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
2106
2109
|
if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
|
|
2107
|
-
createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
|
|
2110
|
+
createNonEnumerableProperty$1(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
|
|
2108
2111
|
} catch (error) {
|
|
2109
2112
|
CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
|
|
2110
2113
|
}
|
|
@@ -2113,7 +2116,7 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
|
2113
2116
|
};
|
|
2114
2117
|
|
|
2115
2118
|
for (var COLLECTION_NAME in DOMIterables) {
|
|
2116
|
-
handlePrototype(globalThis$
|
|
2119
|
+
handlePrototype(globalThis$2[COLLECTION_NAME] && globalThis$2[COLLECTION_NAME].prototype, COLLECTION_NAME);
|
|
2117
2120
|
}
|
|
2118
2121
|
|
|
2119
2122
|
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
@@ -2178,6 +2181,9 @@ const KeyboardLayoutsByInputType = {
|
|
|
2178
2181
|
};
|
|
2179
2182
|
|
|
2180
2183
|
const VirtualKeyboard = () => {
|
|
2184
|
+
const {
|
|
2185
|
+
classes
|
|
2186
|
+
} = useStyles();
|
|
2181
2187
|
const [initialInputValue, setInitialInputValue] = useState();
|
|
2182
2188
|
const [toggleLayoutOnInput, setToggleLayoutOnInput] = useState(false);
|
|
2183
2189
|
const [isKeyboardVisible, setIsKeyboardVisible] = useState(false);
|
|
@@ -2373,6 +2379,7 @@ const VirtualKeyboard = () => {
|
|
|
2373
2379
|
ref: keyboardContainerRef,
|
|
2374
2380
|
onMouseDown: handleKeyboardContainerEvents,
|
|
2375
2381
|
onTouchStart: handleKeyboardContainerEvents,
|
|
2382
|
+
className: classes.virtualKeyboard,
|
|
2376
2383
|
children: jsx(Keyboard, {
|
|
2377
2384
|
keyboardRef: ref => {
|
|
2378
2385
|
virtualKeyboardRef.current = ref;
|
|
@@ -2443,25 +2450,59 @@ function isTextSelected(inputElement) {
|
|
|
2443
2450
|
return (selection === null || selection === void 0 ? void 0 : selection.toString()) === inputElement.value;
|
|
2444
2451
|
}
|
|
2445
2452
|
}
|
|
2453
|
+
const useStyles = tss.create({
|
|
2454
|
+
virtualKeyboard: {
|
|
2455
|
+
height: "45vh",
|
|
2456
|
+
position: "sticky",
|
|
2457
|
+
bottom: 0,
|
|
2458
|
+
flexShrink: 0,
|
|
2459
|
+
fontSize: "26px",
|
|
2460
|
+
zIndex: 999999,
|
|
2461
|
+
// The ultimate "above everything"
|
|
2462
|
+
/* Make the keyboard take up all the height provided by its parent (#virtual_keyboard) */
|
|
2463
|
+
"& .react-simple-keyboard": {
|
|
2464
|
+
height: "100%"
|
|
2465
|
+
},
|
|
2466
|
+
"& .hg-rows": {
|
|
2467
|
+
height: "100%",
|
|
2468
|
+
display: "flex",
|
|
2469
|
+
flexDirection: "column",
|
|
2470
|
+
"& .hg-row": {
|
|
2471
|
+
flexGrow: 1
|
|
2472
|
+
}
|
|
2473
|
+
},
|
|
2474
|
+
"& .hg-theme-default .hg-button": {
|
|
2475
|
+
height: "100%",
|
|
2476
|
+
/* Make sure the "@" button which can appear when to change to the "shift" layout takes up all the space */
|
|
2477
|
+
"&[data-skbtn='@']": {
|
|
2478
|
+
maxWidth: "initial"
|
|
2479
|
+
},
|
|
2480
|
+
/* Keep the "@" and ".com" buttons small when next to the space bar */
|
|
2481
|
+
"&[data-skbtn='.com'][data-skbtnuid='default-r4b0'], &[data-skbtn='.com'][data-skbtnuid='shift-r4b0'], &[data-skbtn='@'][data-skbtnuid='default-r4b1'], &[data-skbtn='@'][data-skbtnuid='shift-r4b1']": {
|
|
2482
|
+
maxWidth: "120px"
|
|
2483
|
+
}
|
|
2484
|
+
}
|
|
2485
|
+
}
|
|
2486
|
+
});
|
|
2446
2487
|
|
|
2447
|
-
var NATIVE_BIND = functionBindNative;
|
|
2488
|
+
var NATIVE_BIND$1 = functionBindNative;
|
|
2448
2489
|
|
|
2449
2490
|
var FunctionPrototype = Function.prototype;
|
|
2450
2491
|
var apply$1 = FunctionPrototype.apply;
|
|
2451
|
-
var call$
|
|
2492
|
+
var call$9 = FunctionPrototype.call;
|
|
2452
2493
|
|
|
2453
2494
|
// eslint-disable-next-line es/no-reflect -- safe
|
|
2454
|
-
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call$
|
|
2455
|
-
return call$
|
|
2495
|
+
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$9.bind(apply$1) : function () {
|
|
2496
|
+
return call$9.apply(apply$1, arguments);
|
|
2456
2497
|
});
|
|
2457
2498
|
|
|
2458
|
-
var uncurryThis$
|
|
2499
|
+
var uncurryThis$6 = functionUncurryThis;
|
|
2459
2500
|
var toObject$1 = toObject$4;
|
|
2460
2501
|
|
|
2461
2502
|
var floor = Math.floor;
|
|
2462
|
-
var charAt = uncurryThis$
|
|
2463
|
-
var replace = uncurryThis$
|
|
2464
|
-
var stringSlice$2 = uncurryThis$
|
|
2503
|
+
var charAt = uncurryThis$6(''.charAt);
|
|
2504
|
+
var replace = uncurryThis$6(''.replace);
|
|
2505
|
+
var stringSlice$2 = uncurryThis$6(''.slice);
|
|
2465
2506
|
// eslint-disable-next-line redos/no-vulnerable -- safe
|
|
2466
2507
|
var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;
|
|
2467
2508
|
var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g;
|
|
@@ -2502,30 +2543,30 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
|
|
|
2502
2543
|
};
|
|
2503
2544
|
|
|
2504
2545
|
var apply = functionApply;
|
|
2505
|
-
var call$
|
|
2506
|
-
var uncurryThis$
|
|
2546
|
+
var call$8 = functionCall;
|
|
2547
|
+
var uncurryThis$5 = functionUncurryThis;
|
|
2507
2548
|
var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
|
|
2508
|
-
var fails$
|
|
2509
|
-
var anObject$
|
|
2510
|
-
var isCallable$
|
|
2511
|
-
var isNullOrUndefined = isNullOrUndefined$
|
|
2549
|
+
var fails$3 = fails$k;
|
|
2550
|
+
var anObject$9 = anObject$i;
|
|
2551
|
+
var isCallable$2 = isCallable$i;
|
|
2552
|
+
var isNullOrUndefined$1 = isNullOrUndefined$5;
|
|
2512
2553
|
var toIntegerOrInfinity$1 = toIntegerOrInfinity$5;
|
|
2513
2554
|
var toLength$1 = toLength$4;
|
|
2514
2555
|
var toString$2 = toString$7;
|
|
2515
2556
|
var requireObjectCoercible$1 = requireObjectCoercible$8;
|
|
2516
2557
|
var advanceStringIndex = advanceStringIndex$2;
|
|
2517
|
-
var getMethod$
|
|
2558
|
+
var getMethod$3 = getMethod$6;
|
|
2518
2559
|
var getSubstitution = getSubstitution$1;
|
|
2519
2560
|
var regExpExec = regexpExecAbstract;
|
|
2520
|
-
var wellKnownSymbol = wellKnownSymbol$
|
|
2561
|
+
var wellKnownSymbol$4 = wellKnownSymbol$g;
|
|
2521
2562
|
|
|
2522
|
-
var REPLACE = wellKnownSymbol('replace');
|
|
2563
|
+
var REPLACE = wellKnownSymbol$4('replace');
|
|
2523
2564
|
var max$1 = Math.max;
|
|
2524
2565
|
var min$1 = Math.min;
|
|
2525
|
-
var concat = uncurryThis$
|
|
2526
|
-
var push = uncurryThis$
|
|
2527
|
-
var stringIndexOf = uncurryThis$
|
|
2528
|
-
var stringSlice$1 = uncurryThis$
|
|
2566
|
+
var concat = uncurryThis$5([].concat);
|
|
2567
|
+
var push = uncurryThis$5([].push);
|
|
2568
|
+
var stringIndexOf = uncurryThis$5(''.indexOf);
|
|
2569
|
+
var stringSlice$1 = uncurryThis$5(''.slice);
|
|
2529
2570
|
|
|
2530
2571
|
var maybeToString = function (it) {
|
|
2531
2572
|
return it === undefined ? it : String(it);
|
|
@@ -2546,7 +2587,7 @@ var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
|
|
|
2546
2587
|
return false;
|
|
2547
2588
|
})();
|
|
2548
2589
|
|
|
2549
|
-
var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$
|
|
2590
|
+
var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$3(function () {
|
|
2550
2591
|
var re = /./;
|
|
2551
2592
|
re.exec = function () {
|
|
2552
2593
|
var result = [];
|
|
@@ -2566,15 +2607,15 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
|
|
|
2566
2607
|
// https://tc39.es/ecma262/#sec-string.prototype.replace
|
|
2567
2608
|
function replace(searchValue, replaceValue) {
|
|
2568
2609
|
var O = requireObjectCoercible$1(this);
|
|
2569
|
-
var replacer = isNullOrUndefined(searchValue) ? undefined : getMethod$
|
|
2610
|
+
var replacer = isNullOrUndefined$1(searchValue) ? undefined : getMethod$3(searchValue, REPLACE);
|
|
2570
2611
|
return replacer
|
|
2571
|
-
? call$
|
|
2572
|
-
: call$
|
|
2612
|
+
? call$8(replacer, searchValue, O, replaceValue)
|
|
2613
|
+
: call$8(nativeReplace, toString$2(O), searchValue, replaceValue);
|
|
2573
2614
|
},
|
|
2574
2615
|
// `RegExp.prototype[@@replace]` method
|
|
2575
2616
|
// https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
|
|
2576
2617
|
function (string, replaceValue) {
|
|
2577
|
-
var rx = anObject$
|
|
2618
|
+
var rx = anObject$9(this);
|
|
2578
2619
|
var S = toString$2(string);
|
|
2579
2620
|
|
|
2580
2621
|
if (
|
|
@@ -2586,7 +2627,7 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
|
|
|
2586
2627
|
if (res.done) return res.value;
|
|
2587
2628
|
}
|
|
2588
2629
|
|
|
2589
|
-
var functionalReplace = isCallable$
|
|
2630
|
+
var functionalReplace = isCallable$2(replaceValue);
|
|
2590
2631
|
if (!functionalReplace) replaceValue = toString$2(replaceValue);
|
|
2591
2632
|
|
|
2592
2633
|
var global = rx.global;
|
|
@@ -2644,17 +2685,17 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
|
|
|
2644
2685
|
}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);
|
|
2645
2686
|
|
|
2646
2687
|
var classofRaw = classofRaw$2;
|
|
2647
|
-
var uncurryThis$
|
|
2688
|
+
var uncurryThis$4 = functionUncurryThis;
|
|
2648
2689
|
|
|
2649
2690
|
var functionUncurryThisClause = function (fn) {
|
|
2650
2691
|
// Nashorn bug:
|
|
2651
2692
|
// https://github.com/zloirock/core-js/issues/1128
|
|
2652
2693
|
// https://github.com/zloirock/core-js/issues/1130
|
|
2653
|
-
if (classofRaw(fn) === 'Function') return uncurryThis$
|
|
2694
|
+
if (classofRaw(fn) === 'Function') return uncurryThis$4(fn);
|
|
2654
2695
|
};
|
|
2655
2696
|
|
|
2656
|
-
var $$
|
|
2657
|
-
var uncurryThis$
|
|
2697
|
+
var $$c = _export;
|
|
2698
|
+
var uncurryThis$3 = functionUncurryThisClause;
|
|
2658
2699
|
var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
|
|
2659
2700
|
var toLength = toLength$4;
|
|
2660
2701
|
var toString$1 = toString$7;
|
|
@@ -2662,7 +2703,7 @@ var notARegExp = notARegexp;
|
|
|
2662
2703
|
var requireObjectCoercible = requireObjectCoercible$8;
|
|
2663
2704
|
var correctIsRegExpLogic = correctIsRegexpLogic;
|
|
2664
2705
|
|
|
2665
|
-
var stringSlice = uncurryThis$
|
|
2706
|
+
var stringSlice = uncurryThis$3(''.slice);
|
|
2666
2707
|
var min = Math.min;
|
|
2667
2708
|
|
|
2668
2709
|
var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith');
|
|
@@ -2674,7 +2715,7 @@ var MDN_POLYFILL_BUG = !CORRECT_IS_REGEXP_LOGIC && !!function () {
|
|
|
2674
2715
|
|
|
2675
2716
|
// `String.prototype.startsWith` method
|
|
2676
2717
|
// https://tc39.es/ecma262/#sec-string.prototype.startswith
|
|
2677
|
-
$$
|
|
2718
|
+
$$c({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {
|
|
2678
2719
|
startsWith: function startsWith(searchString /* , position = 0 */) {
|
|
2679
2720
|
var that = toString$1(requireObjectCoercible(this));
|
|
2680
2721
|
notARegExp(searchString);
|
|
@@ -2716,24 +2757,24 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
2716
2757
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
2717
2758
|
};
|
|
2718
2759
|
|
|
2719
|
-
var classof = classofRaw$2;
|
|
2760
|
+
var classof$1 = classofRaw$2;
|
|
2720
2761
|
|
|
2721
2762
|
// `IsArray` abstract operation
|
|
2722
2763
|
// https://tc39.es/ecma262/#sec-isarray
|
|
2723
2764
|
// eslint-disable-next-line es/no-array-isarray -- safe
|
|
2724
2765
|
var isArray$1 = Array.isArray || function isArray(argument) {
|
|
2725
|
-
return classof(argument) === 'Array';
|
|
2766
|
+
return classof$1(argument) === 'Array';
|
|
2726
2767
|
};
|
|
2727
2768
|
|
|
2728
|
-
var DESCRIPTORS = descriptors;
|
|
2769
|
+
var DESCRIPTORS$2 = descriptors;
|
|
2729
2770
|
var isArray = isArray$1;
|
|
2730
2771
|
|
|
2731
|
-
var $TypeError$
|
|
2772
|
+
var $TypeError$6 = TypeError;
|
|
2732
2773
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
2733
2774
|
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
2734
2775
|
|
|
2735
2776
|
// Safari < 13 does not throw an error in this case
|
|
2736
|
-
var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {
|
|
2777
|
+
var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS$2 && !function () {
|
|
2737
2778
|
// makes no sense without proper strict mode support
|
|
2738
2779
|
if (this !== undefined) return true;
|
|
2739
2780
|
try {
|
|
@@ -2746,28 +2787,28 @@ var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {
|
|
|
2746
2787
|
|
|
2747
2788
|
var arraySetLength = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
|
|
2748
2789
|
if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
|
|
2749
|
-
throw new $TypeError$
|
|
2790
|
+
throw new $TypeError$6('Cannot set read only .length');
|
|
2750
2791
|
} return O.length = length;
|
|
2751
2792
|
} : function (O, length) {
|
|
2752
2793
|
return O.length = length;
|
|
2753
2794
|
};
|
|
2754
2795
|
|
|
2755
|
-
var $TypeError$
|
|
2796
|
+
var $TypeError$5 = TypeError;
|
|
2756
2797
|
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
|
|
2757
2798
|
|
|
2758
2799
|
var doesNotExceedSafeInteger$1 = function (it) {
|
|
2759
|
-
if (it > MAX_SAFE_INTEGER) throw $TypeError$
|
|
2800
|
+
if (it > MAX_SAFE_INTEGER) throw $TypeError$5('Maximum allowed index exceeded');
|
|
2760
2801
|
return it;
|
|
2761
2802
|
};
|
|
2762
2803
|
|
|
2763
|
-
var $$
|
|
2804
|
+
var $$b = _export;
|
|
2764
2805
|
var toObject = toObject$4;
|
|
2765
|
-
var lengthOfArrayLike = lengthOfArrayLike$
|
|
2806
|
+
var lengthOfArrayLike$1 = lengthOfArrayLike$3;
|
|
2766
2807
|
var setArrayLength = arraySetLength;
|
|
2767
2808
|
var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;
|
|
2768
|
-
var fails$
|
|
2809
|
+
var fails$2 = fails$k;
|
|
2769
2810
|
|
|
2770
|
-
var INCORRECT_TO_LENGTH = fails$
|
|
2811
|
+
var INCORRECT_TO_LENGTH = fails$2(function () {
|
|
2771
2812
|
return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
|
|
2772
2813
|
});
|
|
2773
2814
|
|
|
@@ -2782,15 +2823,15 @@ var properErrorOnNonWritableLength = function () {
|
|
|
2782
2823
|
}
|
|
2783
2824
|
};
|
|
2784
2825
|
|
|
2785
|
-
var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
|
|
2826
|
+
var FORCED$1 = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
|
|
2786
2827
|
|
|
2787
2828
|
// `Array.prototype.push` method
|
|
2788
2829
|
// https://tc39.es/ecma262/#sec-array.prototype.push
|
|
2789
|
-
$$
|
|
2830
|
+
$$b({ target: 'Array', proto: true, arity: 1, forced: FORCED$1 }, {
|
|
2790
2831
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
2791
2832
|
push: function push(item) {
|
|
2792
2833
|
var O = toObject(this);
|
|
2793
|
-
var len = lengthOfArrayLike(O);
|
|
2834
|
+
var len = lengthOfArrayLike$1(O);
|
|
2794
2835
|
var argCount = arguments.length;
|
|
2795
2836
|
doesNotExceedSafeInteger(len + argCount);
|
|
2796
2837
|
for (var i = 0; i < argCount; i++) {
|
|
@@ -2804,10 +2845,10 @@ $$8({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
|
|
|
2804
2845
|
|
|
2805
2846
|
// TODO: Remove from `core-js@4` since it's moved to entry points
|
|
2806
2847
|
|
|
2807
|
-
var $$
|
|
2808
|
-
var call$
|
|
2809
|
-
var isCallable = isCallable$
|
|
2810
|
-
var anObject$
|
|
2848
|
+
var $$a = _export;
|
|
2849
|
+
var call$7 = functionCall;
|
|
2850
|
+
var isCallable$1 = isCallable$i;
|
|
2851
|
+
var anObject$8 = anObject$i;
|
|
2811
2852
|
var toString = toString$7;
|
|
2812
2853
|
|
|
2813
2854
|
var DELEGATES_TO_EXEC = function () {
|
|
@@ -2824,19 +2865,415 @@ var nativeTest = /./.test;
|
|
|
2824
2865
|
|
|
2825
2866
|
// `RegExp.prototype.test` method
|
|
2826
2867
|
// https://tc39.es/ecma262/#sec-regexp.prototype.test
|
|
2827
|
-
$$
|
|
2868
|
+
$$a({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {
|
|
2828
2869
|
test: function (S) {
|
|
2829
|
-
var R = anObject$
|
|
2870
|
+
var R = anObject$8(this);
|
|
2830
2871
|
var string = toString(S);
|
|
2831
2872
|
var exec = R.exec;
|
|
2832
|
-
if (!isCallable(exec)) return call$
|
|
2833
|
-
var result = call$
|
|
2873
|
+
if (!isCallable$1(exec)) return call$7(nativeTest, R, string);
|
|
2874
|
+
var result = call$7(exec, R, string);
|
|
2834
2875
|
if (result === null) return false;
|
|
2835
|
-
anObject$
|
|
2876
|
+
anObject$8(result);
|
|
2836
2877
|
return true;
|
|
2837
2878
|
}
|
|
2838
2879
|
});
|
|
2839
2880
|
|
|
2881
|
+
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
2882
|
+
|
|
2883
|
+
var $TypeError$4 = TypeError;
|
|
2884
|
+
|
|
2885
|
+
var anInstance$1 = function (it, Prototype) {
|
|
2886
|
+
if (isPrototypeOf$1(Prototype, it)) return it;
|
|
2887
|
+
throw new $TypeError$4('Incorrect invocation');
|
|
2888
|
+
};
|
|
2889
|
+
|
|
2890
|
+
var makeBuiltIn = makeBuiltInExports;
|
|
2891
|
+
var defineProperty = objectDefineProperty;
|
|
2892
|
+
|
|
2893
|
+
var defineBuiltInAccessor$1 = function (target, name, descriptor) {
|
|
2894
|
+
if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
|
|
2895
|
+
if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
|
|
2896
|
+
return defineProperty.f(target, name, descriptor);
|
|
2897
|
+
};
|
|
2898
|
+
|
|
2899
|
+
var DESCRIPTORS$1 = descriptors;
|
|
2900
|
+
var definePropertyModule = objectDefineProperty;
|
|
2901
|
+
var createPropertyDescriptor = createPropertyDescriptor$4;
|
|
2902
|
+
|
|
2903
|
+
var createProperty$1 = function (object, key, value) {
|
|
2904
|
+
if (DESCRIPTORS$1) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));
|
|
2905
|
+
else object[key] = value;
|
|
2906
|
+
};
|
|
2907
|
+
|
|
2908
|
+
var $$9 = _export;
|
|
2909
|
+
var globalThis$1 = globalThis_1;
|
|
2910
|
+
var anInstance = anInstance$1;
|
|
2911
|
+
var anObject$7 = anObject$i;
|
|
2912
|
+
var isCallable = isCallable$i;
|
|
2913
|
+
var getPrototypeOf = objectGetPrototypeOf;
|
|
2914
|
+
var defineBuiltInAccessor = defineBuiltInAccessor$1;
|
|
2915
|
+
var createProperty = createProperty$1;
|
|
2916
|
+
var fails$1 = fails$k;
|
|
2917
|
+
var hasOwn = hasOwnProperty_1;
|
|
2918
|
+
var wellKnownSymbol$3 = wellKnownSymbol$g;
|
|
2919
|
+
var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
|
|
2920
|
+
var DESCRIPTORS = descriptors;
|
|
2921
|
+
|
|
2922
|
+
var CONSTRUCTOR = 'constructor';
|
|
2923
|
+
var ITERATOR$2 = 'Iterator';
|
|
2924
|
+
var TO_STRING_TAG$1 = wellKnownSymbol$3('toStringTag');
|
|
2925
|
+
|
|
2926
|
+
var $TypeError$3 = TypeError;
|
|
2927
|
+
var NativeIterator = globalThis$1[ITERATOR$2];
|
|
2928
|
+
|
|
2929
|
+
// FF56- have non-standard global helper `Iterator`
|
|
2930
|
+
var FORCED = !isCallable(NativeIterator)
|
|
2931
|
+
|| NativeIterator.prototype !== IteratorPrototype$1
|
|
2932
|
+
// FF44- non-standard `Iterator` passes previous tests
|
|
2933
|
+
|| !fails$1(function () { NativeIterator({}); });
|
|
2934
|
+
|
|
2935
|
+
var IteratorConstructor = function Iterator() {
|
|
2936
|
+
anInstance(this, IteratorPrototype$1);
|
|
2937
|
+
if (getPrototypeOf(this) === IteratorPrototype$1) throw new $TypeError$3('Abstract class Iterator not directly constructable');
|
|
2938
|
+
};
|
|
2939
|
+
|
|
2940
|
+
var defineIteratorPrototypeAccessor = function (key, value) {
|
|
2941
|
+
if (DESCRIPTORS) {
|
|
2942
|
+
defineBuiltInAccessor(IteratorPrototype$1, key, {
|
|
2943
|
+
configurable: true,
|
|
2944
|
+
get: function () {
|
|
2945
|
+
return value;
|
|
2946
|
+
},
|
|
2947
|
+
set: function (replacement) {
|
|
2948
|
+
anObject$7(this);
|
|
2949
|
+
if (this === IteratorPrototype$1) throw new $TypeError$3("You can't redefine this property");
|
|
2950
|
+
if (hasOwn(this, key)) this[key] = replacement;
|
|
2951
|
+
else createProperty(this, key, replacement);
|
|
2952
|
+
}
|
|
2953
|
+
});
|
|
2954
|
+
} else IteratorPrototype$1[key] = value;
|
|
2955
|
+
};
|
|
2956
|
+
|
|
2957
|
+
if (!hasOwn(IteratorPrototype$1, TO_STRING_TAG$1)) defineIteratorPrototypeAccessor(TO_STRING_TAG$1, ITERATOR$2);
|
|
2958
|
+
|
|
2959
|
+
if (FORCED || !hasOwn(IteratorPrototype$1, CONSTRUCTOR) || IteratorPrototype$1[CONSTRUCTOR] === Object) {
|
|
2960
|
+
defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
|
|
2961
|
+
}
|
|
2962
|
+
|
|
2963
|
+
IteratorConstructor.prototype = IteratorPrototype$1;
|
|
2964
|
+
|
|
2965
|
+
// `Iterator` constructor
|
|
2966
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
2967
|
+
$$9({ global: true, constructor: true, forced: FORCED }, {
|
|
2968
|
+
Iterator: IteratorConstructor
|
|
2969
|
+
});
|
|
2970
|
+
|
|
2971
|
+
// `GetIteratorDirect(obj)` abstract operation
|
|
2972
|
+
// https://tc39.es/proposal-iterator-helpers/#sec-getiteratordirect
|
|
2973
|
+
var getIteratorDirect$3 = function (obj) {
|
|
2974
|
+
return {
|
|
2975
|
+
iterator: obj,
|
|
2976
|
+
next: obj.next,
|
|
2977
|
+
done: false
|
|
2978
|
+
};
|
|
2979
|
+
};
|
|
2980
|
+
|
|
2981
|
+
var defineBuiltIn = defineBuiltIn$6;
|
|
2982
|
+
|
|
2983
|
+
var defineBuiltIns$1 = function (target, src, options) {
|
|
2984
|
+
for (var key in src) defineBuiltIn(target, key, src[key], options);
|
|
2985
|
+
return target;
|
|
2986
|
+
};
|
|
2987
|
+
|
|
2988
|
+
var call$6 = functionCall;
|
|
2989
|
+
var anObject$6 = anObject$i;
|
|
2990
|
+
var getMethod$2 = getMethod$6;
|
|
2991
|
+
|
|
2992
|
+
var iteratorClose$5 = function (iterator, kind, value) {
|
|
2993
|
+
var innerResult, innerError;
|
|
2994
|
+
anObject$6(iterator);
|
|
2995
|
+
try {
|
|
2996
|
+
innerResult = getMethod$2(iterator, 'return');
|
|
2997
|
+
if (!innerResult) {
|
|
2998
|
+
if (kind === 'throw') throw value;
|
|
2999
|
+
return value;
|
|
3000
|
+
}
|
|
3001
|
+
innerResult = call$6(innerResult, iterator);
|
|
3002
|
+
} catch (error) {
|
|
3003
|
+
innerError = true;
|
|
3004
|
+
innerResult = error;
|
|
3005
|
+
}
|
|
3006
|
+
if (kind === 'throw') throw value;
|
|
3007
|
+
if (innerError) throw innerResult;
|
|
3008
|
+
anObject$6(innerResult);
|
|
3009
|
+
return value;
|
|
3010
|
+
};
|
|
3011
|
+
|
|
3012
|
+
var call$5 = functionCall;
|
|
3013
|
+
var create = objectCreate;
|
|
3014
|
+
var createNonEnumerableProperty = createNonEnumerableProperty$6;
|
|
3015
|
+
var defineBuiltIns = defineBuiltIns$1;
|
|
3016
|
+
var wellKnownSymbol$2 = wellKnownSymbol$g;
|
|
3017
|
+
var InternalStateModule = internalState;
|
|
3018
|
+
var getMethod$1 = getMethod$6;
|
|
3019
|
+
var IteratorPrototype = iteratorsCore.IteratorPrototype;
|
|
3020
|
+
var createIterResultObject = createIterResultObject$2;
|
|
3021
|
+
var iteratorClose$4 = iteratorClose$5;
|
|
3022
|
+
|
|
3023
|
+
var TO_STRING_TAG = wellKnownSymbol$2('toStringTag');
|
|
3024
|
+
var ITERATOR_HELPER = 'IteratorHelper';
|
|
3025
|
+
var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator';
|
|
3026
|
+
var setInternalState = InternalStateModule.set;
|
|
3027
|
+
|
|
3028
|
+
var createIteratorProxyPrototype = function (IS_ITERATOR) {
|
|
3029
|
+
var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER);
|
|
3030
|
+
|
|
3031
|
+
return defineBuiltIns(create(IteratorPrototype), {
|
|
3032
|
+
next: function next() {
|
|
3033
|
+
var state = getInternalState(this);
|
|
3034
|
+
// for simplification:
|
|
3035
|
+
// for `%WrapForValidIteratorPrototype%.next` our `nextHandler` returns `IterResultObject`
|
|
3036
|
+
// for `%IteratorHelperPrototype%.next` - just a value
|
|
3037
|
+
if (IS_ITERATOR) return state.nextHandler();
|
|
3038
|
+
try {
|
|
3039
|
+
var result = state.done ? undefined : state.nextHandler();
|
|
3040
|
+
return createIterResultObject(result, state.done);
|
|
3041
|
+
} catch (error) {
|
|
3042
|
+
state.done = true;
|
|
3043
|
+
throw error;
|
|
3044
|
+
}
|
|
3045
|
+
},
|
|
3046
|
+
'return': function () {
|
|
3047
|
+
var state = getInternalState(this);
|
|
3048
|
+
var iterator = state.iterator;
|
|
3049
|
+
state.done = true;
|
|
3050
|
+
if (IS_ITERATOR) {
|
|
3051
|
+
var returnMethod = getMethod$1(iterator, 'return');
|
|
3052
|
+
return returnMethod ? call$5(returnMethod, iterator) : createIterResultObject(undefined, true);
|
|
3053
|
+
}
|
|
3054
|
+
if (state.inner) try {
|
|
3055
|
+
iteratorClose$4(state.inner.iterator, 'normal');
|
|
3056
|
+
} catch (error) {
|
|
3057
|
+
return iteratorClose$4(iterator, 'throw', error);
|
|
3058
|
+
}
|
|
3059
|
+
iteratorClose$4(iterator, 'normal');
|
|
3060
|
+
return createIterResultObject(undefined, true);
|
|
3061
|
+
}
|
|
3062
|
+
});
|
|
3063
|
+
};
|
|
3064
|
+
|
|
3065
|
+
var WrapForValidIteratorPrototype = createIteratorProxyPrototype(true);
|
|
3066
|
+
var IteratorHelperPrototype = createIteratorProxyPrototype(false);
|
|
3067
|
+
|
|
3068
|
+
createNonEnumerableProperty(IteratorHelperPrototype, TO_STRING_TAG, 'Iterator Helper');
|
|
3069
|
+
|
|
3070
|
+
var iteratorCreateProxy = function (nextHandler, IS_ITERATOR) {
|
|
3071
|
+
var IteratorProxy = function Iterator(record, state) {
|
|
3072
|
+
if (state) {
|
|
3073
|
+
state.iterator = record.iterator;
|
|
3074
|
+
state.next = record.next;
|
|
3075
|
+
} else state = record;
|
|
3076
|
+
state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER;
|
|
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$5 = anObject$i;
|
|
3089
|
+
var iteratorClose$3 = iteratorClose$5;
|
|
3090
|
+
|
|
3091
|
+
// call something on iterator step with safe closing on error
|
|
3092
|
+
var callWithSafeIterationClosing$1 = function (iterator, fn, value, ENTRIES) {
|
|
3093
|
+
try {
|
|
3094
|
+
return ENTRIES ? fn(anObject$5(value)[0], value[1]) : fn(value);
|
|
3095
|
+
} catch (error) {
|
|
3096
|
+
iteratorClose$3(iterator, 'throw', error);
|
|
3097
|
+
}
|
|
3098
|
+
};
|
|
3099
|
+
|
|
3100
|
+
var $$8 = _export;
|
|
3101
|
+
var call$4 = functionCall;
|
|
3102
|
+
var aCallable$4 = aCallable$7;
|
|
3103
|
+
var anObject$4 = anObject$i;
|
|
3104
|
+
var getIteratorDirect$2 = getIteratorDirect$3;
|
|
3105
|
+
var createIteratorProxy = iteratorCreateProxy;
|
|
3106
|
+
var callWithSafeIterationClosing = callWithSafeIterationClosing$1;
|
|
3107
|
+
var IS_PURE = isPure;
|
|
3108
|
+
|
|
3109
|
+
var IteratorProxy = createIteratorProxy(function () {
|
|
3110
|
+
var iterator = this.iterator;
|
|
3111
|
+
var predicate = this.predicate;
|
|
3112
|
+
var next = this.next;
|
|
3113
|
+
var result, done, value;
|
|
3114
|
+
while (true) {
|
|
3115
|
+
result = anObject$4(call$4(next, iterator));
|
|
3116
|
+
done = this.done = !!result.done;
|
|
3117
|
+
if (done) return;
|
|
3118
|
+
value = result.value;
|
|
3119
|
+
if (callWithSafeIterationClosing(iterator, predicate, [value, this.counter++], true)) return value;
|
|
3120
|
+
}
|
|
3121
|
+
});
|
|
3122
|
+
|
|
3123
|
+
// `Iterator.prototype.filter` method
|
|
3124
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
3125
|
+
$$8({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, {
|
|
3126
|
+
filter: function filter(predicate) {
|
|
3127
|
+
anObject$4(this);
|
|
3128
|
+
aCallable$4(predicate);
|
|
3129
|
+
return new IteratorProxy(getIteratorDirect$2(this), {
|
|
3130
|
+
predicate: predicate
|
|
3131
|
+
});
|
|
3132
|
+
}
|
|
3133
|
+
});
|
|
3134
|
+
|
|
3135
|
+
var uncurryThis$2 = functionUncurryThisClause;
|
|
3136
|
+
var aCallable$3 = aCallable$7;
|
|
3137
|
+
var NATIVE_BIND = functionBindNative;
|
|
3138
|
+
|
|
3139
|
+
var bind$1 = uncurryThis$2(uncurryThis$2.bind);
|
|
3140
|
+
|
|
3141
|
+
// optional / simple context binding
|
|
3142
|
+
var functionBindContext = function (fn, that) {
|
|
3143
|
+
aCallable$3(fn);
|
|
3144
|
+
return that === undefined ? fn : NATIVE_BIND ? bind$1(fn, that) : function (/* ...args */) {
|
|
3145
|
+
return fn.apply(that, arguments);
|
|
3146
|
+
};
|
|
3147
|
+
};
|
|
3148
|
+
|
|
3149
|
+
var wellKnownSymbol$1 = wellKnownSymbol$g;
|
|
3150
|
+
var Iterators$1 = iterators;
|
|
3151
|
+
|
|
3152
|
+
var ITERATOR$1 = wellKnownSymbol$1('iterator');
|
|
3153
|
+
var ArrayPrototype = Array.prototype;
|
|
3154
|
+
|
|
3155
|
+
// check on default Array iterator
|
|
3156
|
+
var isArrayIteratorMethod$1 = function (it) {
|
|
3157
|
+
return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$1] === it);
|
|
3158
|
+
};
|
|
3159
|
+
|
|
3160
|
+
var classof = classof$5;
|
|
3161
|
+
var getMethod = getMethod$6;
|
|
3162
|
+
var isNullOrUndefined = isNullOrUndefined$5;
|
|
3163
|
+
var Iterators = iterators;
|
|
3164
|
+
var wellKnownSymbol = wellKnownSymbol$g;
|
|
3165
|
+
|
|
3166
|
+
var ITERATOR = wellKnownSymbol('iterator');
|
|
3167
|
+
|
|
3168
|
+
var getIteratorMethod$2 = function (it) {
|
|
3169
|
+
if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)
|
|
3170
|
+
|| getMethod(it, '@@iterator')
|
|
3171
|
+
|| Iterators[classof(it)];
|
|
3172
|
+
};
|
|
3173
|
+
|
|
3174
|
+
var call$3 = functionCall;
|
|
3175
|
+
var aCallable$2 = aCallable$7;
|
|
3176
|
+
var anObject$3 = anObject$i;
|
|
3177
|
+
var tryToString$1 = tryToString$3;
|
|
3178
|
+
var getIteratorMethod$1 = getIteratorMethod$2;
|
|
3179
|
+
|
|
3180
|
+
var $TypeError$2 = TypeError;
|
|
3181
|
+
|
|
3182
|
+
var getIterator$1 = function (argument, usingIterator) {
|
|
3183
|
+
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
|
|
3184
|
+
if (aCallable$2(iteratorMethod)) return anObject$3(call$3(iteratorMethod, argument));
|
|
3185
|
+
throw new $TypeError$2(tryToString$1(argument) + ' is not iterable');
|
|
3186
|
+
};
|
|
3187
|
+
|
|
3188
|
+
var bind = functionBindContext;
|
|
3189
|
+
var call$2 = functionCall;
|
|
3190
|
+
var anObject$2 = anObject$i;
|
|
3191
|
+
var tryToString = tryToString$3;
|
|
3192
|
+
var isArrayIteratorMethod = isArrayIteratorMethod$1;
|
|
3193
|
+
var lengthOfArrayLike = lengthOfArrayLike$3;
|
|
3194
|
+
var isPrototypeOf = objectIsPrototypeOf;
|
|
3195
|
+
var getIterator = getIterator$1;
|
|
3196
|
+
var getIteratorMethod = getIteratorMethod$2;
|
|
3197
|
+
var iteratorClose$2 = iteratorClose$5;
|
|
3198
|
+
|
|
3199
|
+
var $TypeError$1 = TypeError;
|
|
3200
|
+
|
|
3201
|
+
var Result = function (stopped, result) {
|
|
3202
|
+
this.stopped = stopped;
|
|
3203
|
+
this.result = result;
|
|
3204
|
+
};
|
|
3205
|
+
|
|
3206
|
+
var ResultPrototype = Result.prototype;
|
|
3207
|
+
|
|
3208
|
+
var iterate$3 = function (iterable, unboundFunction, options) {
|
|
3209
|
+
var that = options && options.that;
|
|
3210
|
+
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
|
3211
|
+
var IS_RECORD = !!(options && options.IS_RECORD);
|
|
3212
|
+
var IS_ITERATOR = !!(options && options.IS_ITERATOR);
|
|
3213
|
+
var INTERRUPTED = !!(options && options.INTERRUPTED);
|
|
3214
|
+
var fn = bind(unboundFunction, that);
|
|
3215
|
+
var iterator, iterFn, index, length, result, next, step;
|
|
3216
|
+
|
|
3217
|
+
var stop = function (condition) {
|
|
3218
|
+
if (iterator) iteratorClose$2(iterator, 'normal', condition);
|
|
3219
|
+
return new Result(true, condition);
|
|
3220
|
+
};
|
|
3221
|
+
|
|
3222
|
+
var callFn = function (value) {
|
|
3223
|
+
if (AS_ENTRIES) {
|
|
3224
|
+
anObject$2(value);
|
|
3225
|
+
return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
|
|
3226
|
+
} return INTERRUPTED ? fn(value, stop) : fn(value);
|
|
3227
|
+
};
|
|
3228
|
+
|
|
3229
|
+
if (IS_RECORD) {
|
|
3230
|
+
iterator = iterable.iterator;
|
|
3231
|
+
} else if (IS_ITERATOR) {
|
|
3232
|
+
iterator = iterable;
|
|
3233
|
+
} else {
|
|
3234
|
+
iterFn = getIteratorMethod(iterable);
|
|
3235
|
+
if (!iterFn) throw new $TypeError$1(tryToString(iterable) + ' is not iterable');
|
|
3236
|
+
// optimisation for array iterators
|
|
3237
|
+
if (isArrayIteratorMethod(iterFn)) {
|
|
3238
|
+
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
|
|
3239
|
+
result = callFn(iterable[index]);
|
|
3240
|
+
if (result && isPrototypeOf(ResultPrototype, result)) return result;
|
|
3241
|
+
} return new Result(false);
|
|
3242
|
+
}
|
|
3243
|
+
iterator = getIterator(iterable, iterFn);
|
|
3244
|
+
}
|
|
3245
|
+
|
|
3246
|
+
next = IS_RECORD ? iterable.next : iterator.next;
|
|
3247
|
+
while (!(step = call$2(next, iterator)).done) {
|
|
3248
|
+
try {
|
|
3249
|
+
result = callFn(step.value);
|
|
3250
|
+
} catch (error) {
|
|
3251
|
+
iteratorClose$2(iterator, 'throw', error);
|
|
3252
|
+
}
|
|
3253
|
+
if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;
|
|
3254
|
+
} return new Result(false);
|
|
3255
|
+
};
|
|
3256
|
+
|
|
3257
|
+
var $$7 = _export;
|
|
3258
|
+
var iterate$2 = iterate$3;
|
|
3259
|
+
var aCallable$1 = aCallable$7;
|
|
3260
|
+
var anObject$1 = anObject$i;
|
|
3261
|
+
var getIteratorDirect$1 = getIteratorDirect$3;
|
|
3262
|
+
|
|
3263
|
+
// `Iterator.prototype.forEach` method
|
|
3264
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
3265
|
+
$$7({ target: 'Iterator', proto: true, real: true }, {
|
|
3266
|
+
forEach: function forEach(fn) {
|
|
3267
|
+
anObject$1(this);
|
|
3268
|
+
aCallable$1(fn);
|
|
3269
|
+
var record = getIteratorDirect$1(this);
|
|
3270
|
+
var counter = 0;
|
|
3271
|
+
iterate$2(record, function (value) {
|
|
3272
|
+
fn(value, counter++);
|
|
3273
|
+
}, { IS_RECORD: true });
|
|
3274
|
+
}
|
|
3275
|
+
});
|
|
3276
|
+
|
|
2840
3277
|
const MQTT_TIMEOUT_SECONDS = 3;
|
|
2841
3278
|
const MQTT_TIMEOUT_MS = MQTT_TIMEOUT_SECONDS * 1000;
|
|
2842
3279
|
const KEEP_ALIVE_SECONDS = 5;
|
|
@@ -2973,13 +3410,13 @@ var aSet$7 = function (it) {
|
|
|
2973
3410
|
return it;
|
|
2974
3411
|
};
|
|
2975
3412
|
|
|
2976
|
-
var call$
|
|
3413
|
+
var call$1 = functionCall;
|
|
2977
3414
|
|
|
2978
3415
|
var iterateSimple$7 = function (record, fn, ITERATOR_INSTEAD_OF_RECORD) {
|
|
2979
3416
|
var iterator = ITERATOR_INSTEAD_OF_RECORD ? record : record.iterator;
|
|
2980
3417
|
var next = record.next;
|
|
2981
3418
|
var step, result;
|
|
2982
|
-
while (!(step = call$
|
|
3419
|
+
while (!(step = call$1(next, iterator)).done) {
|
|
2983
3420
|
result = fn(step.value);
|
|
2984
3421
|
if (result !== undefined) return result;
|
|
2985
3422
|
}
|
|
@@ -3020,21 +3457,11 @@ var setSize = uncurryThisAccessor(SetHelpers$3.proto, 'size', 'get') || function
|
|
|
3020
3457
|
return set.size;
|
|
3021
3458
|
};
|
|
3022
3459
|
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
var
|
|
3026
|
-
return {
|
|
3027
|
-
iterator: obj,
|
|
3028
|
-
next: obj.next,
|
|
3029
|
-
done: false
|
|
3030
|
-
};
|
|
3031
|
-
};
|
|
3032
|
-
|
|
3033
|
-
var aCallable = aCallable$3;
|
|
3034
|
-
var anObject$1 = anObject$c;
|
|
3035
|
-
var call$1 = functionCall;
|
|
3460
|
+
var aCallable = aCallable$7;
|
|
3461
|
+
var anObject = anObject$i;
|
|
3462
|
+
var call = functionCall;
|
|
3036
3463
|
var toIntegerOrInfinity = toIntegerOrInfinity$5;
|
|
3037
|
-
var getIteratorDirect = getIteratorDirect$
|
|
3464
|
+
var getIteratorDirect = getIteratorDirect$3;
|
|
3038
3465
|
|
|
3039
3466
|
var INVALID_SIZE = 'Invalid size';
|
|
3040
3467
|
var $RangeError = RangeError;
|
|
@@ -3050,17 +3477,17 @@ var SetRecord = function (set, intSize) {
|
|
|
3050
3477
|
|
|
3051
3478
|
SetRecord.prototype = {
|
|
3052
3479
|
getIterator: function () {
|
|
3053
|
-
return getIteratorDirect(anObject
|
|
3480
|
+
return getIteratorDirect(anObject(call(this.keys, this.set)));
|
|
3054
3481
|
},
|
|
3055
3482
|
includes: function (it) {
|
|
3056
|
-
return call
|
|
3483
|
+
return call(this.has, this.set, it);
|
|
3057
3484
|
}
|
|
3058
3485
|
};
|
|
3059
3486
|
|
|
3060
3487
|
// `GetSetRecord` abstract operation
|
|
3061
3488
|
// https://tc39.es/proposal-set-methods/#sec-getsetrecord
|
|
3062
3489
|
var getSetRecord$7 = function (obj) {
|
|
3063
|
-
anObject
|
|
3490
|
+
anObject(obj);
|
|
3064
3491
|
var numSize = +obj.size;
|
|
3065
3492
|
// NOTE: If size is undefined, then numSize will be NaN
|
|
3066
3493
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
@@ -3173,7 +3600,7 @@ var setIntersection = function intersection(other) {
|
|
|
3173
3600
|
};
|
|
3174
3601
|
|
|
3175
3602
|
var $$5 = _export;
|
|
3176
|
-
var fails = fails$
|
|
3603
|
+
var fails = fails$k;
|
|
3177
3604
|
var intersection = setIntersection;
|
|
3178
3605
|
var setMethodAcceptSetLike$5 = setMethodAcceptSetLike$7;
|
|
3179
3606
|
|
|
@@ -3188,37 +3615,13 @@ $$5({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
|
|
|
3188
3615
|
intersection: intersection
|
|
3189
3616
|
});
|
|
3190
3617
|
|
|
3191
|
-
var call = functionCall;
|
|
3192
|
-
var anObject = anObject$c;
|
|
3193
|
-
var getMethod = getMethod$4;
|
|
3194
|
-
|
|
3195
|
-
var iteratorClose$2 = function (iterator, kind, value) {
|
|
3196
|
-
var innerResult, innerError;
|
|
3197
|
-
anObject(iterator);
|
|
3198
|
-
try {
|
|
3199
|
-
innerResult = getMethod(iterator, 'return');
|
|
3200
|
-
if (!innerResult) {
|
|
3201
|
-
if (kind === 'throw') throw value;
|
|
3202
|
-
return value;
|
|
3203
|
-
}
|
|
3204
|
-
innerResult = call(innerResult, iterator);
|
|
3205
|
-
} catch (error) {
|
|
3206
|
-
innerError = true;
|
|
3207
|
-
innerResult = error;
|
|
3208
|
-
}
|
|
3209
|
-
if (kind === 'throw') throw value;
|
|
3210
|
-
if (innerError) throw innerResult;
|
|
3211
|
-
anObject(innerResult);
|
|
3212
|
-
return value;
|
|
3213
|
-
};
|
|
3214
|
-
|
|
3215
3618
|
var aSet$4 = aSet$7;
|
|
3216
3619
|
var has$2 = setHelpers.has;
|
|
3217
3620
|
var size$2 = setSize;
|
|
3218
3621
|
var getSetRecord$4 = getSetRecord$7;
|
|
3219
3622
|
var iterateSet = setIterate;
|
|
3220
3623
|
var iterateSimple$3 = iterateSimple$7;
|
|
3221
|
-
var iteratorClose$1 = iteratorClose$
|
|
3624
|
+
var iteratorClose$1 = iteratorClose$5;
|
|
3222
3625
|
|
|
3223
3626
|
// `Set.prototype.isDisjointFrom` method
|
|
3224
3627
|
// https://tc39.github.io/proposal-set-methods/#Set.prototype.isDisjointFrom
|
|
@@ -3275,7 +3678,7 @@ var has$1 = setHelpers.has;
|
|
|
3275
3678
|
var size = setSize;
|
|
3276
3679
|
var getSetRecord$2 = getSetRecord$7;
|
|
3277
3680
|
var iterateSimple$2 = iterateSimple$7;
|
|
3278
|
-
var iteratorClose = iteratorClose$
|
|
3681
|
+
var iteratorClose = iteratorClose$5;
|
|
3279
3682
|
|
|
3280
3683
|
// `Set.prototype.isSupersetOf` method
|
|
3281
3684
|
// https://tc39.github.io/proposal-set-methods/#Set.prototype.isSupersetOf
|
|
@@ -3451,4 +3854,4 @@ const useMqttSubscription = props => {
|
|
|
3451
3854
|
return message;
|
|
3452
3855
|
};
|
|
3453
3856
|
|
|
3454
|
-
export { MqttClient, MqttProvider, VirtualKeyboard, closeCustomUi, connectToMqttAndGetClient, getExecutionEngineHttpUrl, getMachineCodeProcessHttpUrl, getMqttWsUrl, getMqttWsUrlGivenUiIframeUrl, isOnEdge, isTouchScreenDevice, mqttContext, navigateControlCenter, useMqttSubscription };
|
|
3857
|
+
export { MqttClient, MqttProvider, VirtualKeyboard, closeCustomUi, connectToMqttAndGetClient, getExecutionEngineHttpUrl, getMachineCodeProcessHttpUrl, getMqttWsUrl, getMqttWsUrlGivenUiIframeUrl, isOnEdge, isTouchScreenDevice, mqttContext, navigateControlCenter, useMqttSubscription, useStyles };
|