@vention/machine-logic-ui-sdk 0.0.12 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.esm.js +609 -2054
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -11,7 +11,7 @@ var check = function (it) {
11
11
  };
12
12
 
13
13
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
14
- var global$l =
14
+ var global$e =
15
15
  // eslint-disable-next-line es/no-global-this -- safe
16
16
  check(typeof globalThis == 'object' && globalThis) ||
17
17
  check(typeof window == 'object' && window) ||
@@ -24,7 +24,7 @@ var global$l =
24
24
 
25
25
  var objectGetOwnPropertyDescriptor = {};
26
26
 
27
- var fails$l = function (exec) {
27
+ var fails$h = function (exec) {
28
28
  try {
29
29
  return !!exec();
30
30
  } catch (error) {
@@ -32,44 +32,44 @@ var fails$l = function (exec) {
32
32
  }
33
33
  };
34
34
 
35
- var fails$k = fails$l;
35
+ var fails$g = fails$h;
36
36
 
37
37
  // Detect IE8's incomplete defineProperty implementation
38
- var descriptors = !fails$k(function () {
38
+ var descriptors = !fails$g(function () {
39
39
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
40
40
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
41
41
  });
42
42
 
43
- var fails$j = fails$l;
43
+ var fails$f = fails$h;
44
44
 
45
- var functionBindNative = !fails$j(function () {
45
+ var functionBindNative = !fails$f(function () {
46
46
  // eslint-disable-next-line es/no-function-prototype-bind -- safe
47
47
  var test = (function () { /* empty */ }).bind();
48
48
  // eslint-disable-next-line no-prototype-builtins -- safe
49
49
  return typeof test != 'function' || test.hasOwnProperty('prototype');
50
50
  });
51
51
 
52
- var NATIVE_BIND$3 = functionBindNative;
52
+ var NATIVE_BIND$1 = functionBindNative;
53
53
 
54
- var call$j = Function.prototype.call;
54
+ var call$9 = Function.prototype.call;
55
55
 
56
- var functionCall = NATIVE_BIND$3 ? call$j.bind(call$j) : function () {
57
- return call$j.apply(call$j, arguments);
56
+ var functionCall = NATIVE_BIND$1 ? call$9.bind(call$9) : function () {
57
+ return call$9.apply(call$9, arguments);
58
58
  };
59
59
 
60
60
  var objectPropertyIsEnumerable = {};
61
61
 
62
62
  var $propertyIsEnumerable = {}.propertyIsEnumerable;
63
63
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
64
- var getOwnPropertyDescriptor$4 = Object.getOwnPropertyDescriptor;
64
+ var getOwnPropertyDescriptor$3 = Object.getOwnPropertyDescriptor;
65
65
 
66
66
  // Nashorn ~ JDK8 bug
67
- var NASHORN_BUG = getOwnPropertyDescriptor$4 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
67
+ var NASHORN_BUG = getOwnPropertyDescriptor$3 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
68
68
 
69
69
  // `Object.prototype.propertyIsEnumerable` method implementation
70
70
  // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
71
71
  objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
72
- var descriptor = getOwnPropertyDescriptor$4(this, V);
72
+ var descriptor = getOwnPropertyDescriptor$3(this, V);
73
73
  return !!descriptor && descriptor.enumerable;
74
74
  } : $propertyIsEnumerable;
75
75
 
@@ -82,66 +82,66 @@ var createPropertyDescriptor$3 = function (bitmap, value) {
82
82
  };
83
83
  };
84
84
 
85
- var NATIVE_BIND$2 = functionBindNative;
85
+ var NATIVE_BIND = functionBindNative;
86
86
 
87
- var FunctionPrototype$2 = Function.prototype;
88
- var call$i = FunctionPrototype$2.call;
89
- var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$i, call$i);
87
+ var FunctionPrototype$1 = Function.prototype;
88
+ var call$8 = FunctionPrototype$1.call;
89
+ var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$8, call$8);
90
90
 
91
- var functionUncurryThis = NATIVE_BIND$2 ? uncurryThisWithBind : function (fn) {
91
+ var functionUncurryThis = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
92
92
  return function () {
93
- return call$i.apply(fn, arguments);
93
+ return call$8.apply(fn, arguments);
94
94
  };
95
95
  };
96
96
 
97
- var uncurryThis$k = functionUncurryThis;
97
+ var uncurryThis$e = functionUncurryThis;
98
98
 
99
- var toString$8 = uncurryThis$k({}.toString);
100
- var stringSlice$6 = uncurryThis$k(''.slice);
99
+ var toString$6 = uncurryThis$e({}.toString);
100
+ var stringSlice$3 = uncurryThis$e(''.slice);
101
101
 
102
102
  var classofRaw$2 = function (it) {
103
- return stringSlice$6(toString$8(it), 8, -1);
103
+ return stringSlice$3(toString$6(it), 8, -1);
104
104
  };
105
105
 
106
- var uncurryThis$j = functionUncurryThis;
107
- var fails$i = fails$l;
108
- var classof$8 = classofRaw$2;
106
+ var uncurryThis$d = functionUncurryThis;
107
+ var fails$e = fails$h;
108
+ var classof$4 = classofRaw$2;
109
109
 
110
110
  var $Object$4 = Object;
111
- var split = uncurryThis$j(''.split);
111
+ var split = uncurryThis$d(''.split);
112
112
 
113
113
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
114
- var indexedObject = fails$i(function () {
114
+ var indexedObject = fails$e(function () {
115
115
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
116
116
  // eslint-disable-next-line no-prototype-builtins -- safe
117
117
  return !$Object$4('z').propertyIsEnumerable(0);
118
118
  }) ? function (it) {
119
- return classof$8(it) === 'String' ? split(it, '') : $Object$4(it);
119
+ return classof$4(it) === 'String' ? split(it, '') : $Object$4(it);
120
120
  } : $Object$4;
121
121
 
122
122
  // we can't use just `it == null` since of `document.all` special case
123
123
  // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
124
- var isNullOrUndefined$5 = function (it) {
124
+ var isNullOrUndefined$2 = function (it) {
125
125
  return it === null || it === undefined;
126
126
  };
127
127
 
128
- var isNullOrUndefined$4 = isNullOrUndefined$5;
128
+ var isNullOrUndefined$1 = isNullOrUndefined$2;
129
129
 
130
- var $TypeError$g = TypeError;
130
+ var $TypeError$9 = TypeError;
131
131
 
132
132
  // `RequireObjectCoercible` abstract operation
133
133
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
134
- var requireObjectCoercible$7 = function (it) {
135
- if (isNullOrUndefined$4(it)) throw new $TypeError$g("Can't call method on " + it);
134
+ var requireObjectCoercible$5 = function (it) {
135
+ if (isNullOrUndefined$1(it)) throw new $TypeError$9("Can't call method on " + it);
136
136
  return it;
137
137
  };
138
138
 
139
139
  // toObject with fallback for non-array-like ES3 strings
140
140
  var IndexedObject$1 = indexedObject;
141
- var requireObjectCoercible$6 = requireObjectCoercible$7;
141
+ var requireObjectCoercible$4 = requireObjectCoercible$5;
142
142
 
143
143
  var toIndexedObject$5 = function (it) {
144
- return IndexedObject$1(requireObjectCoercible$6(it));
144
+ return IndexedObject$1(requireObjectCoercible$4(it));
145
145
  };
146
146
 
147
147
  // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
@@ -150,41 +150,41 @@ var documentAll = typeof document == 'object' && document.all;
150
150
  // `IsCallable` abstract operation
151
151
  // https://tc39.es/ecma262/#sec-iscallable
152
152
  // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
153
- var isCallable$m = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
153
+ var isCallable$f = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
154
154
  return typeof argument == 'function' || argument === documentAll;
155
155
  } : function (argument) {
156
156
  return typeof argument == 'function';
157
157
  };
158
158
 
159
- var isCallable$l = isCallable$m;
159
+ var isCallable$e = isCallable$f;
160
160
 
161
- var isObject$b = function (it) {
162
- return typeof it == 'object' ? it !== null : isCallable$l(it);
161
+ var isObject$9 = function (it) {
162
+ return typeof it == 'object' ? it !== null : isCallable$e(it);
163
163
  };
164
164
 
165
- var global$k = global$l;
166
- var isCallable$k = isCallable$m;
165
+ var global$d = global$e;
166
+ var isCallable$d = isCallable$f;
167
167
 
168
168
  var aFunction = function (argument) {
169
- return isCallable$k(argument) ? argument : undefined;
169
+ return isCallable$d(argument) ? argument : undefined;
170
170
  };
171
171
 
172
- var getBuiltIn$7 = function (namespace, method) {
173
- return arguments.length < 2 ? aFunction(global$k[namespace]) : global$k[namespace] && global$k[namespace][method];
172
+ var getBuiltIn$3 = function (namespace, method) {
173
+ return arguments.length < 2 ? aFunction(global$d[namespace]) : global$d[namespace] && global$d[namespace][method];
174
174
  };
175
175
 
176
- var uncurryThis$i = functionUncurryThis;
176
+ var uncurryThis$c = functionUncurryThis;
177
177
 
178
- var objectIsPrototypeOf = uncurryThis$i({}.isPrototypeOf);
178
+ var objectIsPrototypeOf = uncurryThis$c({}.isPrototypeOf);
179
179
 
180
180
  var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
181
181
 
182
- var global$j = global$l;
183
- var userAgent$3 = engineUserAgent;
182
+ var global$c = global$e;
183
+ var userAgent = engineUserAgent;
184
184
 
185
- var process$3 = global$j.process;
186
- var Deno$1 = global$j.Deno;
187
- var versions = process$3 && process$3.versions || Deno$1 && Deno$1.version;
185
+ var process = global$c.process;
186
+ var Deno = global$c.Deno;
187
+ var versions = process && process.versions || Deno && Deno.version;
188
188
  var v8 = versions && versions.v8;
189
189
  var match, version;
190
190
 
@@ -197,10 +197,10 @@ if (v8) {
197
197
 
198
198
  // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
199
199
  // so check `userAgent` even if `.v8` exists, but 0
200
- if (!version && userAgent$3) {
201
- match = userAgent$3.match(/Edge\/(\d+)/);
200
+ if (!version && userAgent) {
201
+ match = userAgent.match(/Edge\/(\d+)/);
202
202
  if (!match || match[1] >= 74) {
203
- match = userAgent$3.match(/Chrome\/(\d+)/);
203
+ match = userAgent.match(/Chrome\/(\d+)/);
204
204
  if (match) version = +match[1];
205
205
  }
206
206
  }
@@ -208,14 +208,14 @@ if (!version && userAgent$3) {
208
208
  var engineV8Version = version;
209
209
 
210
210
  /* eslint-disable es/no-symbol -- required for testing */
211
- var V8_VERSION$1 = engineV8Version;
212
- var fails$h = fails$l;
213
- var global$i = global$l;
211
+ var V8_VERSION = engineV8Version;
212
+ var fails$d = fails$h;
213
+ var global$b = global$e;
214
214
 
215
- var $String$5 = global$i.String;
215
+ var $String$5 = global$b.String;
216
216
 
217
217
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
218
- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$h(function () {
218
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$d(function () {
219
219
  var symbol = Symbol('symbol detection');
220
220
  // Chrome 38 Symbol has incorrect toString conversion
221
221
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
@@ -223,7 +223,7 @@ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$h(func
223
223
  // of course, fail.
224
224
  return !$String$5(symbol) || !(Object(symbol) instanceof Symbol) ||
225
225
  // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
226
- !Symbol.sham && V8_VERSION$1 && V8_VERSION$1 < 41;
226
+ !Symbol.sham && V8_VERSION && V8_VERSION < 41;
227
227
  });
228
228
 
229
229
  /* eslint-disable es/no-symbol -- required for testing */
@@ -233,9 +233,9 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
233
233
  && !Symbol.sham
234
234
  && typeof Symbol.iterator == 'symbol';
235
235
 
236
- var getBuiltIn$6 = getBuiltIn$7;
237
- var isCallable$j = isCallable$m;
238
- var isPrototypeOf$3 = objectIsPrototypeOf;
236
+ var getBuiltIn$2 = getBuiltIn$3;
237
+ var isCallable$c = isCallable$f;
238
+ var isPrototypeOf$1 = objectIsPrototypeOf;
239
239
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
240
240
 
241
241
  var $Object$3 = Object;
@@ -243,13 +243,13 @@ var $Object$3 = Object;
243
243
  var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
244
244
  return typeof it == 'symbol';
245
245
  } : function (it) {
246
- var $Symbol = getBuiltIn$6('Symbol');
247
- return isCallable$j($Symbol) && isPrototypeOf$3($Symbol.prototype, $Object$3(it));
246
+ var $Symbol = getBuiltIn$2('Symbol');
247
+ return isCallable$c($Symbol) && isPrototypeOf$1($Symbol.prototype, $Object$3(it));
248
248
  };
249
249
 
250
250
  var $String$4 = String;
251
251
 
252
- var tryToString$4 = function (argument) {
252
+ var tryToString$1 = function (argument) {
253
253
  try {
254
254
  return $String$4(argument);
255
255
  } catch (error) {
@@ -257,59 +257,59 @@ var tryToString$4 = function (argument) {
257
257
  }
258
258
  };
259
259
 
260
- var isCallable$i = isCallable$m;
261
- var tryToString$3 = tryToString$4;
260
+ var isCallable$b = isCallable$f;
261
+ var tryToString = tryToString$1;
262
262
 
263
- var $TypeError$f = TypeError;
263
+ var $TypeError$8 = TypeError;
264
264
 
265
265
  // `Assert: IsCallable(argument) is true`
266
- var aCallable$8 = function (argument) {
267
- if (isCallable$i(argument)) return argument;
268
- throw new $TypeError$f(tryToString$3(argument) + ' is not a function');
266
+ var aCallable$2 = function (argument) {
267
+ if (isCallable$b(argument)) return argument;
268
+ throw new $TypeError$8(tryToString(argument) + ' is not a function');
269
269
  };
270
270
 
271
- var aCallable$7 = aCallable$8;
272
- var isNullOrUndefined$3 = isNullOrUndefined$5;
271
+ var aCallable$1 = aCallable$2;
272
+ var isNullOrUndefined = isNullOrUndefined$2;
273
273
 
274
274
  // `GetMethod` abstract operation
275
275
  // https://tc39.es/ecma262/#sec-getmethod
276
- var getMethod$4 = function (V, P) {
276
+ var getMethod$1 = function (V, P) {
277
277
  var func = V[P];
278
- return isNullOrUndefined$3(func) ? undefined : aCallable$7(func);
278
+ return isNullOrUndefined(func) ? undefined : aCallable$1(func);
279
279
  };
280
280
 
281
- var call$h = functionCall;
282
- var isCallable$h = isCallable$m;
283
- var isObject$a = isObject$b;
281
+ var call$7 = functionCall;
282
+ var isCallable$a = isCallable$f;
283
+ var isObject$8 = isObject$9;
284
284
 
285
- var $TypeError$e = TypeError;
285
+ var $TypeError$7 = TypeError;
286
286
 
287
287
  // `OrdinaryToPrimitive` abstract operation
288
288
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
289
289
  var ordinaryToPrimitive$1 = function (input, pref) {
290
290
  var fn, val;
291
- if (pref === 'string' && isCallable$h(fn = input.toString) && !isObject$a(val = call$h(fn, input))) return val;
292
- if (isCallable$h(fn = input.valueOf) && !isObject$a(val = call$h(fn, input))) return val;
293
- if (pref !== 'string' && isCallable$h(fn = input.toString) && !isObject$a(val = call$h(fn, input))) return val;
294
- throw new $TypeError$e("Can't convert object to primitive value");
291
+ if (pref === 'string' && isCallable$a(fn = input.toString) && !isObject$8(val = call$7(fn, input))) return val;
292
+ if (isCallable$a(fn = input.valueOf) && !isObject$8(val = call$7(fn, input))) return val;
293
+ if (pref !== 'string' && isCallable$a(fn = input.toString) && !isObject$8(val = call$7(fn, input))) return val;
294
+ throw new $TypeError$7("Can't convert object to primitive value");
295
295
  };
296
296
 
297
297
  var sharedStore = {exports: {}};
298
298
 
299
- var global$h = global$l;
299
+ var global$a = global$e;
300
300
 
301
301
  // eslint-disable-next-line es/no-object-defineproperty -- safe
302
- var defineProperty$6 = Object.defineProperty;
302
+ var defineProperty$5 = Object.defineProperty;
303
303
 
304
304
  var defineGlobalProperty$3 = function (key, value) {
305
305
  try {
306
- defineProperty$6(global$h, key, { value: value, configurable: true, writable: true });
306
+ defineProperty$5(global$a, key, { value: value, configurable: true, writable: true });
307
307
  } catch (error) {
308
- global$h[key] = value;
308
+ global$a[key] = value;
309
309
  } return value;
310
310
  };
311
311
 
312
- var globalThis$1 = global$l;
312
+ var globalThis$1 = global$e;
313
313
  var defineGlobalProperty$2 = defineGlobalProperty$3;
314
314
 
315
315
  var SHARED = '__core-js_shared__';
@@ -331,78 +331,78 @@ var shared$4 = function (key, value) {
331
331
  return store$2[key] || (store$2[key] = value || {});
332
332
  };
333
333
 
334
- var requireObjectCoercible$5 = requireObjectCoercible$7;
334
+ var requireObjectCoercible$3 = requireObjectCoercible$5;
335
335
 
336
336
  var $Object$2 = Object;
337
337
 
338
338
  // `ToObject` abstract operation
339
339
  // https://tc39.es/ecma262/#sec-toobject
340
- var toObject$5 = function (argument) {
341
- return $Object$2(requireObjectCoercible$5(argument));
340
+ var toObject$4 = function (argument) {
341
+ return $Object$2(requireObjectCoercible$3(argument));
342
342
  };
343
343
 
344
- var uncurryThis$h = functionUncurryThis;
345
- var toObject$4 = toObject$5;
344
+ var uncurryThis$b = functionUncurryThis;
345
+ var toObject$3 = toObject$4;
346
346
 
347
- var hasOwnProperty = uncurryThis$h({}.hasOwnProperty);
347
+ var hasOwnProperty = uncurryThis$b({}.hasOwnProperty);
348
348
 
349
349
  // `HasOwnProperty` abstract operation
350
350
  // https://tc39.es/ecma262/#sec-hasownproperty
351
351
  // eslint-disable-next-line es/no-object-hasown -- safe
352
352
  var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
353
- return hasOwnProperty(toObject$4(it), key);
353
+ return hasOwnProperty(toObject$3(it), key);
354
354
  };
355
355
 
356
- var uncurryThis$g = functionUncurryThis;
356
+ var uncurryThis$a = functionUncurryThis;
357
357
 
358
358
  var id = 0;
359
359
  var postfix = Math.random();
360
- var toString$7 = uncurryThis$g(1.0.toString);
360
+ var toString$5 = uncurryThis$a(1.0.toString);
361
361
 
362
362
  var uid$2 = function (key) {
363
- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$7(++id + postfix, 36);
363
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$5(++id + postfix, 36);
364
364
  };
365
365
 
366
- var global$g = global$l;
366
+ var global$9 = global$e;
367
367
  var shared$3 = shared$4;
368
- var hasOwn$a = hasOwnProperty_1;
368
+ var hasOwn$9 = hasOwnProperty_1;
369
369
  var uid$1 = uid$2;
370
370
  var NATIVE_SYMBOL = symbolConstructorDetection;
371
371
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
372
372
 
373
- var Symbol$1 = global$g.Symbol;
373
+ var Symbol$1 = global$9.Symbol;
374
374
  var WellKnownSymbolsStore = shared$3('wks');
375
375
  var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
376
376
 
377
- var wellKnownSymbol$i = function (name) {
378
- if (!hasOwn$a(WellKnownSymbolsStore, name)) {
379
- WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$a(Symbol$1, name)
377
+ var wellKnownSymbol$a = function (name) {
378
+ if (!hasOwn$9(WellKnownSymbolsStore, name)) {
379
+ WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$9(Symbol$1, name)
380
380
  ? Symbol$1[name]
381
381
  : createWellKnownSymbol('Symbol.' + name);
382
382
  } return WellKnownSymbolsStore[name];
383
383
  };
384
384
 
385
- var call$g = functionCall;
386
- var isObject$9 = isObject$b;
385
+ var call$6 = functionCall;
386
+ var isObject$7 = isObject$9;
387
387
  var isSymbol$1 = isSymbol$2;
388
- var getMethod$3 = getMethod$4;
388
+ var getMethod = getMethod$1;
389
389
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
390
- var wellKnownSymbol$h = wellKnownSymbol$i;
390
+ var wellKnownSymbol$9 = wellKnownSymbol$a;
391
391
 
392
- var $TypeError$d = TypeError;
393
- var TO_PRIMITIVE = wellKnownSymbol$h('toPrimitive');
392
+ var $TypeError$6 = TypeError;
393
+ var TO_PRIMITIVE = wellKnownSymbol$9('toPrimitive');
394
394
 
395
395
  // `ToPrimitive` abstract operation
396
396
  // https://tc39.es/ecma262/#sec-toprimitive
397
397
  var toPrimitive$1 = function (input, pref) {
398
- if (!isObject$9(input) || isSymbol$1(input)) return input;
399
- var exoticToPrim = getMethod$3(input, TO_PRIMITIVE);
398
+ if (!isObject$7(input) || isSymbol$1(input)) return input;
399
+ var exoticToPrim = getMethod(input, TO_PRIMITIVE);
400
400
  var result;
401
401
  if (exoticToPrim) {
402
402
  if (pref === undefined) pref = 'default';
403
- result = call$g(exoticToPrim, input, pref);
404
- if (!isObject$9(result) || isSymbol$1(result)) return result;
405
- throw new $TypeError$d("Can't convert object to primitive value");
403
+ result = call$6(exoticToPrim, input, pref);
404
+ if (!isObject$7(result) || isSymbol$1(result)) return result;
405
+ throw new $TypeError$6("Can't convert object to primitive value");
406
406
  }
407
407
  if (pref === undefined) pref = 'number';
408
408
  return ordinaryToPrimitive(input, pref);
@@ -418,36 +418,36 @@ var toPropertyKey$2 = function (argument) {
418
418
  return isSymbol(key) ? key : key + '';
419
419
  };
420
420
 
421
- var global$f = global$l;
422
- var isObject$8 = isObject$b;
421
+ var global$8 = global$e;
422
+ var isObject$6 = isObject$9;
423
423
 
424
- var document$3 = global$f.document;
424
+ var document$1 = global$8.document;
425
425
  // typeof document.createElement is 'object' in old IE
426
- var EXISTS$1 = isObject$8(document$3) && isObject$8(document$3.createElement);
426
+ var EXISTS$1 = isObject$6(document$1) && isObject$6(document$1.createElement);
427
427
 
428
428
  var documentCreateElement$2 = function (it) {
429
- return EXISTS$1 ? document$3.createElement(it) : {};
429
+ return EXISTS$1 ? document$1.createElement(it) : {};
430
430
  };
431
431
 
432
- var DESCRIPTORS$c = descriptors;
433
- var fails$g = fails$l;
434
- var createElement$1 = documentCreateElement$2;
432
+ var DESCRIPTORS$a = descriptors;
433
+ var fails$c = fails$h;
434
+ var createElement = documentCreateElement$2;
435
435
 
436
436
  // Thanks to IE8 for its funny defineProperty
437
- var ie8DomDefine = !DESCRIPTORS$c && !fails$g(function () {
437
+ var ie8DomDefine = !DESCRIPTORS$a && !fails$c(function () {
438
438
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
439
- return Object.defineProperty(createElement$1('div'), 'a', {
439
+ return Object.defineProperty(createElement('div'), 'a', {
440
440
  get: function () { return 7; }
441
441
  }).a !== 7;
442
442
  });
443
443
 
444
- var DESCRIPTORS$b = descriptors;
445
- var call$f = functionCall;
444
+ var DESCRIPTORS$9 = descriptors;
445
+ var call$5 = functionCall;
446
446
  var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
447
447
  var createPropertyDescriptor$2 = createPropertyDescriptor$3;
448
448
  var toIndexedObject$4 = toIndexedObject$5;
449
449
  var toPropertyKey$1 = toPropertyKey$2;
450
- var hasOwn$9 = hasOwnProperty_1;
450
+ var hasOwn$8 = hasOwnProperty_1;
451
451
  var IE8_DOM_DEFINE$1 = ie8DomDefine;
452
452
 
453
453
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
@@ -455,23 +455,23 @@ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
455
455
 
456
456
  // `Object.getOwnPropertyDescriptor` method
457
457
  // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
458
- objectGetOwnPropertyDescriptor.f = DESCRIPTORS$b ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
458
+ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$9 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
459
459
  O = toIndexedObject$4(O);
460
460
  P = toPropertyKey$1(P);
461
461
  if (IE8_DOM_DEFINE$1) try {
462
462
  return $getOwnPropertyDescriptor$1(O, P);
463
463
  } catch (error) { /* empty */ }
464
- if (hasOwn$9(O, P)) return createPropertyDescriptor$2(!call$f(propertyIsEnumerableModule$1.f, O, P), O[P]);
464
+ if (hasOwn$8(O, P)) return createPropertyDescriptor$2(!call$5(propertyIsEnumerableModule$1.f, O, P), O[P]);
465
465
  };
466
466
 
467
467
  var objectDefineProperty = {};
468
468
 
469
- var DESCRIPTORS$a = descriptors;
470
- var fails$f = fails$l;
469
+ var DESCRIPTORS$8 = descriptors;
470
+ var fails$b = fails$h;
471
471
 
472
472
  // V8 ~ Chrome 36-
473
473
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
474
- var v8PrototypeDefineBug = DESCRIPTORS$a && fails$f(function () {
474
+ var v8PrototypeDefineBug = DESCRIPTORS$8 && fails$b(function () {
475
475
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
476
476
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
477
477
  value: 42,
@@ -479,24 +479,24 @@ var v8PrototypeDefineBug = DESCRIPTORS$a && fails$f(function () {
479
479
  }).prototype !== 42;
480
480
  });
481
481
 
482
- var isObject$7 = isObject$b;
482
+ var isObject$5 = isObject$9;
483
483
 
484
484
  var $String$3 = String;
485
- var $TypeError$c = TypeError;
485
+ var $TypeError$5 = TypeError;
486
486
 
487
487
  // `Assert: Type(argument) is Object`
488
- var anObject$e = function (argument) {
489
- if (isObject$7(argument)) return argument;
490
- throw new $TypeError$c($String$3(argument) + ' is not an object');
488
+ var anObject$7 = function (argument) {
489
+ if (isObject$5(argument)) return argument;
490
+ throw new $TypeError$5($String$3(argument) + ' is not an object');
491
491
  };
492
492
 
493
- var DESCRIPTORS$9 = descriptors;
493
+ var DESCRIPTORS$7 = descriptors;
494
494
  var IE8_DOM_DEFINE = ie8DomDefine;
495
495
  var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
496
- var anObject$d = anObject$e;
496
+ var anObject$6 = anObject$7;
497
497
  var toPropertyKey = toPropertyKey$2;
498
498
 
499
- var $TypeError$b = TypeError;
499
+ var $TypeError$4 = TypeError;
500
500
  // eslint-disable-next-line es/no-object-defineproperty -- safe
501
501
  var $defineProperty = Object.defineProperty;
502
502
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
@@ -507,10 +507,10 @@ var WRITABLE = 'writable';
507
507
 
508
508
  // `Object.defineProperty` method
509
509
  // https://tc39.es/ecma262/#sec-object.defineproperty
510
- objectDefineProperty.f = DESCRIPTORS$9 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
511
- anObject$d(O);
510
+ objectDefineProperty.f = DESCRIPTORS$7 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
511
+ anObject$6(O);
512
512
  P = toPropertyKey(P);
513
- anObject$d(Attributes);
513
+ anObject$6(Attributes);
514
514
  if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
515
515
  var current = $getOwnPropertyDescriptor(O, P);
516
516
  if (current && current[WRITABLE]) {
@@ -523,41 +523,41 @@ objectDefineProperty.f = DESCRIPTORS$9 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
523
523
  }
524
524
  } return $defineProperty(O, P, Attributes);
525
525
  } : $defineProperty : function defineProperty(O, P, Attributes) {
526
- anObject$d(O);
526
+ anObject$6(O);
527
527
  P = toPropertyKey(P);
528
- anObject$d(Attributes);
528
+ anObject$6(Attributes);
529
529
  if (IE8_DOM_DEFINE) try {
530
530
  return $defineProperty(O, P, Attributes);
531
531
  } catch (error) { /* empty */ }
532
- if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$b('Accessors not supported');
532
+ if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$4('Accessors not supported');
533
533
  if ('value' in Attributes) O[P] = Attributes.value;
534
534
  return O;
535
535
  };
536
536
 
537
- var DESCRIPTORS$8 = descriptors;
537
+ var DESCRIPTORS$6 = descriptors;
538
538
  var definePropertyModule$3 = objectDefineProperty;
539
539
  var createPropertyDescriptor$1 = createPropertyDescriptor$3;
540
540
 
541
- var createNonEnumerableProperty$5 = DESCRIPTORS$8 ? function (object, key, value) {
541
+ var createNonEnumerableProperty$4 = DESCRIPTORS$6 ? function (object, key, value) {
542
542
  return definePropertyModule$3.f(object, key, createPropertyDescriptor$1(1, value));
543
543
  } : function (object, key, value) {
544
544
  object[key] = value;
545
545
  return object;
546
546
  };
547
547
 
548
- var makeBuiltIn$3 = {exports: {}};
548
+ var makeBuiltIn$2 = {exports: {}};
549
549
 
550
- var DESCRIPTORS$7 = descriptors;
551
- var hasOwn$8 = hasOwnProperty_1;
550
+ var DESCRIPTORS$5 = descriptors;
551
+ var hasOwn$7 = hasOwnProperty_1;
552
552
 
553
- var FunctionPrototype$1 = Function.prototype;
553
+ var FunctionPrototype = Function.prototype;
554
554
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
555
- var getDescriptor = DESCRIPTORS$7 && Object.getOwnPropertyDescriptor;
555
+ var getDescriptor = DESCRIPTORS$5 && Object.getOwnPropertyDescriptor;
556
556
 
557
- var EXISTS = hasOwn$8(FunctionPrototype$1, 'name');
557
+ var EXISTS = hasOwn$7(FunctionPrototype, 'name');
558
558
  // additional protection from minified / mangled / dropped function names
559
559
  var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
560
- var CONFIGURABLE = EXISTS && (!DESCRIPTORS$7 || (DESCRIPTORS$7 && getDescriptor(FunctionPrototype$1, 'name').configurable));
560
+ var CONFIGURABLE = EXISTS && (!DESCRIPTORS$5 || (DESCRIPTORS$5 && getDescriptor(FunctionPrototype, 'name').configurable));
561
561
 
562
562
  var functionName = {
563
563
  EXISTS: EXISTS,
@@ -565,27 +565,27 @@ var functionName = {
565
565
  CONFIGURABLE: CONFIGURABLE
566
566
  };
567
567
 
568
- var uncurryThis$f = functionUncurryThis;
569
- var isCallable$g = isCallable$m;
568
+ var uncurryThis$9 = functionUncurryThis;
569
+ var isCallable$9 = isCallable$f;
570
570
  var store$1 = sharedStoreExports;
571
571
 
572
- var functionToString = uncurryThis$f(Function.toString);
572
+ var functionToString = uncurryThis$9(Function.toString);
573
573
 
574
574
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
575
- if (!isCallable$g(store$1.inspectSource)) {
575
+ if (!isCallable$9(store$1.inspectSource)) {
576
576
  store$1.inspectSource = function (it) {
577
577
  return functionToString(it);
578
578
  };
579
579
  }
580
580
 
581
- var inspectSource$3 = store$1.inspectSource;
581
+ var inspectSource$1 = store$1.inspectSource;
582
582
 
583
- var global$e = global$l;
584
- var isCallable$f = isCallable$m;
583
+ var global$7 = global$e;
584
+ var isCallable$8 = isCallable$f;
585
585
 
586
- var WeakMap$1 = global$e.WeakMap;
586
+ var WeakMap$1 = global$7.WeakMap;
587
587
 
588
- var weakMapBasicDetection = isCallable$f(WeakMap$1) && /native code/.test(String(WeakMap$1));
588
+ var weakMapBasicDetection = isCallable$8(WeakMap$1) && /native code/.test(String(WeakMap$1));
589
589
 
590
590
  var shared$2 = shared$4;
591
591
  var uid = uid$2;
@@ -599,28 +599,28 @@ var sharedKey$3 = function (key) {
599
599
  var hiddenKeys$4 = {};
600
600
 
601
601
  var NATIVE_WEAK_MAP = weakMapBasicDetection;
602
- var global$d = global$l;
603
- var isObject$6 = isObject$b;
604
- var createNonEnumerableProperty$4 = createNonEnumerableProperty$5;
605
- var hasOwn$7 = hasOwnProperty_1;
602
+ var global$6 = global$e;
603
+ var isObject$4 = isObject$9;
604
+ var createNonEnumerableProperty$3 = createNonEnumerableProperty$4;
605
+ var hasOwn$6 = hasOwnProperty_1;
606
606
  var shared$1 = sharedStoreExports;
607
607
  var sharedKey$2 = sharedKey$3;
608
608
  var hiddenKeys$3 = hiddenKeys$4;
609
609
 
610
610
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
611
- var TypeError$2 = global$d.TypeError;
612
- var WeakMap = global$d.WeakMap;
613
- var set$1, get, has;
611
+ var TypeError$1 = global$6.TypeError;
612
+ var WeakMap = global$6.WeakMap;
613
+ var set, get, has;
614
614
 
615
615
  var enforce = function (it) {
616
- return has(it) ? get(it) : set$1(it, {});
616
+ return has(it) ? get(it) : set(it, {});
617
617
  };
618
618
 
619
619
  var getterFor = function (TYPE) {
620
620
  return function (it) {
621
621
  var state;
622
- if (!isObject$6(it) || (state = get(it)).type !== TYPE) {
623
- throw new TypeError$2('Incompatible receiver, ' + TYPE + ' required');
622
+ if (!isObject$4(it) || (state = get(it)).type !== TYPE) {
623
+ throw new TypeError$1('Incompatible receiver, ' + TYPE + ' required');
624
624
  } return state;
625
625
  };
626
626
  };
@@ -632,8 +632,8 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
632
632
  store.has = store.has;
633
633
  store.set = store.set;
634
634
  /* eslint-enable no-self-assign -- prototype methods protection */
635
- set$1 = function (it, metadata) {
636
- if (store.has(it)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
635
+ set = function (it, metadata) {
636
+ if (store.has(it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
637
637
  metadata.facade = it;
638
638
  store.set(it, metadata);
639
639
  return metadata;
@@ -647,95 +647,95 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
647
647
  } else {
648
648
  var STATE = sharedKey$2('state');
649
649
  hiddenKeys$3[STATE] = true;
650
- set$1 = function (it, metadata) {
651
- if (hasOwn$7(it, STATE)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
650
+ set = function (it, metadata) {
651
+ if (hasOwn$6(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
652
652
  metadata.facade = it;
653
- createNonEnumerableProperty$4(it, STATE, metadata);
653
+ createNonEnumerableProperty$3(it, STATE, metadata);
654
654
  return metadata;
655
655
  };
656
656
  get = function (it) {
657
- return hasOwn$7(it, STATE) ? it[STATE] : {};
657
+ return hasOwn$6(it, STATE) ? it[STATE] : {};
658
658
  };
659
659
  has = function (it) {
660
- return hasOwn$7(it, STATE);
660
+ return hasOwn$6(it, STATE);
661
661
  };
662
662
  }
663
663
 
664
664
  var internalState = {
665
- set: set$1,
665
+ set: set,
666
666
  get: get,
667
667
  has: has,
668
668
  enforce: enforce,
669
669
  getterFor: getterFor
670
670
  };
671
671
 
672
- var uncurryThis$e = functionUncurryThis;
673
- var fails$e = fails$l;
674
- var isCallable$e = isCallable$m;
675
- var hasOwn$6 = hasOwnProperty_1;
676
- var DESCRIPTORS$6 = descriptors;
672
+ var uncurryThis$8 = functionUncurryThis;
673
+ var fails$a = fails$h;
674
+ var isCallable$7 = isCallable$f;
675
+ var hasOwn$5 = hasOwnProperty_1;
676
+ var DESCRIPTORS$4 = descriptors;
677
677
  var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
678
- var inspectSource$2 = inspectSource$3;
679
- var InternalStateModule$2 = internalState;
678
+ var inspectSource = inspectSource$1;
679
+ var InternalStateModule$1 = internalState;
680
680
 
681
- var enforceInternalState = InternalStateModule$2.enforce;
682
- var getInternalState$2 = InternalStateModule$2.get;
681
+ var enforceInternalState = InternalStateModule$1.enforce;
682
+ var getInternalState$2 = InternalStateModule$1.get;
683
683
  var $String$2 = String;
684
684
  // eslint-disable-next-line es/no-object-defineproperty -- safe
685
- var defineProperty$5 = Object.defineProperty;
686
- var stringSlice$5 = uncurryThis$e(''.slice);
687
- var replace$2 = uncurryThis$e(''.replace);
688
- var join = uncurryThis$e([].join);
685
+ var defineProperty$4 = Object.defineProperty;
686
+ var stringSlice$2 = uncurryThis$8(''.slice);
687
+ var replace$1 = uncurryThis$8(''.replace);
688
+ var join = uncurryThis$8([].join);
689
689
 
690
- var CONFIGURABLE_LENGTH = DESCRIPTORS$6 && !fails$e(function () {
691
- return defineProperty$5(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
690
+ var CONFIGURABLE_LENGTH = DESCRIPTORS$4 && !fails$a(function () {
691
+ return defineProperty$4(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
692
692
  });
693
693
 
694
694
  var TEMPLATE = String(String).split('String');
695
695
 
696
- var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
697
- if (stringSlice$5($String$2(name), 0, 7) === 'Symbol(') {
698
- name = '[' + replace$2($String$2(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
696
+ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
697
+ if (stringSlice$2($String$2(name), 0, 7) === 'Symbol(') {
698
+ name = '[' + replace$1($String$2(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
699
699
  }
700
700
  if (options && options.getter) name = 'get ' + name;
701
701
  if (options && options.setter) name = 'set ' + name;
702
- if (!hasOwn$6(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
703
- if (DESCRIPTORS$6) defineProperty$5(value, 'name', { value: name, configurable: true });
702
+ if (!hasOwn$5(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
703
+ if (DESCRIPTORS$4) defineProperty$4(value, 'name', { value: name, configurable: true });
704
704
  else value.name = name;
705
705
  }
706
- if (CONFIGURABLE_LENGTH && options && hasOwn$6(options, 'arity') && value.length !== options.arity) {
707
- defineProperty$5(value, 'length', { value: options.arity });
706
+ if (CONFIGURABLE_LENGTH && options && hasOwn$5(options, 'arity') && value.length !== options.arity) {
707
+ defineProperty$4(value, 'length', { value: options.arity });
708
708
  }
709
709
  try {
710
- if (options && hasOwn$6(options, 'constructor') && options.constructor) {
711
- if (DESCRIPTORS$6) defineProperty$5(value, 'prototype', { writable: false });
710
+ if (options && hasOwn$5(options, 'constructor') && options.constructor) {
711
+ if (DESCRIPTORS$4) defineProperty$4(value, 'prototype', { writable: false });
712
712
  // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
713
713
  } else if (value.prototype) value.prototype = undefined;
714
714
  } catch (error) { /* empty */ }
715
715
  var state = enforceInternalState(value);
716
- if (!hasOwn$6(state, 'source')) {
716
+ if (!hasOwn$5(state, 'source')) {
717
717
  state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
718
718
  } return value;
719
719
  };
720
720
 
721
721
  // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
722
722
  // eslint-disable-next-line no-extend-native -- required
723
- Function.prototype.toString = makeBuiltIn$2(function toString() {
724
- return isCallable$e(this) && getInternalState$2(this).source || inspectSource$2(this);
723
+ Function.prototype.toString = makeBuiltIn$1(function toString() {
724
+ return isCallable$7(this) && getInternalState$2(this).source || inspectSource(this);
725
725
  }, 'toString');
726
726
 
727
- var makeBuiltInExports = makeBuiltIn$3.exports;
727
+ var makeBuiltInExports = makeBuiltIn$2.exports;
728
728
 
729
- var isCallable$d = isCallable$m;
729
+ var isCallable$6 = isCallable$f;
730
730
  var definePropertyModule$2 = objectDefineProperty;
731
- var makeBuiltIn$1 = makeBuiltInExports;
731
+ var makeBuiltIn = makeBuiltInExports;
732
732
  var defineGlobalProperty$1 = defineGlobalProperty$3;
733
733
 
734
- var defineBuiltIn$7 = function (O, key, value, options) {
734
+ var defineBuiltIn$4 = function (O, key, value, options) {
735
735
  if (!options) options = {};
736
736
  var simple = options.enumerable;
737
737
  var name = options.name !== undefined ? options.name : key;
738
- if (isCallable$d(value)) makeBuiltIn$1(value, name, options);
738
+ if (isCallable$6(value)) makeBuiltIn(value, name, options);
739
739
  if (options.global) {
740
740
  if (simple) O[key] = value;
741
741
  else defineGlobalProperty$1(key, value);
@@ -757,67 +757,67 @@ var defineBuiltIn$7 = function (O, key, value, options) {
757
757
  var objectGetOwnPropertyNames = {};
758
758
 
759
759
  var ceil = Math.ceil;
760
- var floor$1 = Math.floor;
760
+ var floor = Math.floor;
761
761
 
762
762
  // `Math.trunc` method
763
763
  // https://tc39.es/ecma262/#sec-math.trunc
764
764
  // eslint-disable-next-line es/no-math-trunc -- safe
765
765
  var mathTrunc = Math.trunc || function trunc(x) {
766
766
  var n = +x;
767
- return (n > 0 ? floor$1 : ceil)(n);
767
+ return (n > 0 ? floor : ceil)(n);
768
768
  };
769
769
 
770
770
  var trunc = mathTrunc;
771
771
 
772
772
  // `ToIntegerOrInfinity` abstract operation
773
773
  // https://tc39.es/ecma262/#sec-tointegerorinfinity
774
- var toIntegerOrInfinity$4 = function (argument) {
774
+ var toIntegerOrInfinity$2 = function (argument) {
775
775
  var number = +argument;
776
776
  // eslint-disable-next-line no-self-compare -- NaN check
777
777
  return number !== number || number === 0 ? 0 : trunc(number);
778
778
  };
779
779
 
780
- var toIntegerOrInfinity$3 = toIntegerOrInfinity$4;
780
+ var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
781
781
 
782
- var max$1 = Math.max;
783
- var min$3 = Math.min;
782
+ var max = Math.max;
783
+ var min$2 = Math.min;
784
784
 
785
785
  // Helper for a popular repeating case of the spec:
786
786
  // Let integer be ? ToInteger(index).
787
787
  // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
788
788
  var toAbsoluteIndex$1 = function (index, length) {
789
- var integer = toIntegerOrInfinity$3(index);
790
- return integer < 0 ? max$1(integer + length, 0) : min$3(integer, length);
789
+ var integer = toIntegerOrInfinity$1(index);
790
+ return integer < 0 ? max(integer + length, 0) : min$2(integer, length);
791
791
  };
792
792
 
793
- var toIntegerOrInfinity$2 = toIntegerOrInfinity$4;
793
+ var toIntegerOrInfinity = toIntegerOrInfinity$2;
794
794
 
795
- var min$2 = Math.min;
795
+ var min$1 = Math.min;
796
796
 
797
797
  // `ToLength` abstract operation
798
798
  // https://tc39.es/ecma262/#sec-tolength
799
- var toLength$3 = function (argument) {
800
- var len = toIntegerOrInfinity$2(argument);
801
- return len > 0 ? min$2(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
799
+ var toLength$2 = function (argument) {
800
+ var len = toIntegerOrInfinity(argument);
801
+ return len > 0 ? min$1(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
802
802
  };
803
803
 
804
- var toLength$2 = toLength$3;
804
+ var toLength$1 = toLength$2;
805
805
 
806
806
  // `LengthOfArrayLike` abstract operation
807
807
  // https://tc39.es/ecma262/#sec-lengthofarraylike
808
- var lengthOfArrayLike$3 = function (obj) {
809
- return toLength$2(obj.length);
808
+ var lengthOfArrayLike$2 = function (obj) {
809
+ return toLength$1(obj.length);
810
810
  };
811
811
 
812
812
  var toIndexedObject$3 = toIndexedObject$5;
813
813
  var toAbsoluteIndex = toAbsoluteIndex$1;
814
- var lengthOfArrayLike$2 = lengthOfArrayLike$3;
814
+ var lengthOfArrayLike$1 = lengthOfArrayLike$2;
815
815
 
816
816
  // `Array.prototype.{ indexOf, includes }` methods implementation
817
- var createMethod$1 = function (IS_INCLUDES) {
817
+ var createMethod = function (IS_INCLUDES) {
818
818
  return function ($this, el, fromIndex) {
819
819
  var O = toIndexedObject$3($this);
820
- var length = lengthOfArrayLike$2(O);
820
+ var length = lengthOfArrayLike$1(O);
821
821
  if (length === 0) return !IS_INCLUDES && -1;
822
822
  var index = toAbsoluteIndex(fromIndex, length);
823
823
  var value;
@@ -837,29 +837,29 @@ var createMethod$1 = function (IS_INCLUDES) {
837
837
  var arrayIncludes = {
838
838
  // `Array.prototype.includes` method
839
839
  // https://tc39.es/ecma262/#sec-array.prototype.includes
840
- includes: createMethod$1(true),
840
+ includes: createMethod(true),
841
841
  // `Array.prototype.indexOf` method
842
842
  // https://tc39.es/ecma262/#sec-array.prototype.indexof
843
- indexOf: createMethod$1(false)
843
+ indexOf: createMethod(false)
844
844
  };
845
845
 
846
- var uncurryThis$d = functionUncurryThis;
847
- var hasOwn$5 = hasOwnProperty_1;
846
+ var uncurryThis$7 = functionUncurryThis;
847
+ var hasOwn$4 = hasOwnProperty_1;
848
848
  var toIndexedObject$2 = toIndexedObject$5;
849
849
  var indexOf$1 = arrayIncludes.indexOf;
850
850
  var hiddenKeys$2 = hiddenKeys$4;
851
851
 
852
- var push$1 = uncurryThis$d([].push);
852
+ var push = uncurryThis$7([].push);
853
853
 
854
854
  var objectKeysInternal = function (object, names) {
855
855
  var O = toIndexedObject$2(object);
856
856
  var i = 0;
857
857
  var result = [];
858
858
  var key;
859
- for (key in O) !hasOwn$5(hiddenKeys$2, key) && hasOwn$5(O, key) && push$1(result, key);
859
+ for (key in O) !hasOwn$4(hiddenKeys$2, key) && hasOwn$4(O, key) && push(result, key);
860
860
  // Don't enum bug & hidden keys
861
- while (names.length > i) if (hasOwn$5(O, key = names[i++])) {
862
- ~indexOf$1(result, key) || push$1(result, key);
861
+ while (names.length > i) if (hasOwn$4(O, key = names[i++])) {
862
+ ~indexOf$1(result, key) || push(result, key);
863
863
  }
864
864
  return result;
865
865
  };
@@ -892,22 +892,22 @@ var objectGetOwnPropertySymbols = {};
892
892
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
893
893
  objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
894
894
 
895
- var getBuiltIn$5 = getBuiltIn$7;
896
- var uncurryThis$c = functionUncurryThis;
895
+ var getBuiltIn$1 = getBuiltIn$3;
896
+ var uncurryThis$6 = functionUncurryThis;
897
897
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
898
898
  var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
899
- var anObject$c = anObject$e;
899
+ var anObject$5 = anObject$7;
900
900
 
901
- var concat$2 = uncurryThis$c([].concat);
901
+ var concat$1 = uncurryThis$6([].concat);
902
902
 
903
903
  // all object keys, includes non-enumerable and symbols
904
- var ownKeys$1 = getBuiltIn$5('Reflect', 'ownKeys') || function ownKeys(it) {
905
- var keys = getOwnPropertyNamesModule.f(anObject$c(it));
904
+ var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
905
+ var keys = getOwnPropertyNamesModule.f(anObject$5(it));
906
906
  var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
907
- return getOwnPropertySymbols ? concat$2(keys, getOwnPropertySymbols(it)) : keys;
907
+ return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
908
908
  };
909
909
 
910
- var hasOwn$4 = hasOwnProperty_1;
910
+ var hasOwn$3 = hasOwnProperty_1;
911
911
  var ownKeys = ownKeys$1;
912
912
  var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
913
913
  var definePropertyModule$1 = objectDefineProperty;
@@ -918,42 +918,42 @@ var copyConstructorProperties$1 = function (target, source, exceptions) {
918
918
  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
919
919
  for (var i = 0; i < keys.length; i++) {
920
920
  var key = keys[i];
921
- if (!hasOwn$4(target, key) && !(exceptions && hasOwn$4(exceptions, key))) {
921
+ if (!hasOwn$3(target, key) && !(exceptions && hasOwn$3(exceptions, key))) {
922
922
  defineProperty(target, key, getOwnPropertyDescriptor(source, key));
923
923
  }
924
924
  }
925
925
  };
926
926
 
927
- var fails$d = fails$l;
928
- var isCallable$c = isCallable$m;
927
+ var fails$9 = fails$h;
928
+ var isCallable$5 = isCallable$f;
929
929
 
930
930
  var replacement = /#|\.prototype\./;
931
931
 
932
- var isForced$2 = function (feature, detection) {
932
+ var isForced$1 = function (feature, detection) {
933
933
  var value = data[normalize(feature)];
934
934
  return value === POLYFILL ? true
935
935
  : value === NATIVE ? false
936
- : isCallable$c(detection) ? fails$d(detection)
936
+ : isCallable$5(detection) ? fails$9(detection)
937
937
  : !!detection;
938
938
  };
939
939
 
940
- var normalize = isForced$2.normalize = function (string) {
940
+ var normalize = isForced$1.normalize = function (string) {
941
941
  return String(string).replace(replacement, '.').toLowerCase();
942
942
  };
943
943
 
944
- var data = isForced$2.data = {};
945
- var NATIVE = isForced$2.NATIVE = 'N';
946
- var POLYFILL = isForced$2.POLYFILL = 'P';
944
+ var data = isForced$1.data = {};
945
+ var NATIVE = isForced$1.NATIVE = 'N';
946
+ var POLYFILL = isForced$1.POLYFILL = 'P';
947
947
 
948
- var isForced_1 = isForced$2;
948
+ var isForced_1 = isForced$1;
949
949
 
950
- var global$c = global$l;
951
- var getOwnPropertyDescriptor$3 = objectGetOwnPropertyDescriptor.f;
952
- var createNonEnumerableProperty$3 = createNonEnumerableProperty$5;
953
- var defineBuiltIn$6 = defineBuiltIn$7;
950
+ var global$5 = global$e;
951
+ var getOwnPropertyDescriptor$2 = objectGetOwnPropertyDescriptor.f;
952
+ var createNonEnumerableProperty$2 = createNonEnumerableProperty$4;
953
+ var defineBuiltIn$3 = defineBuiltIn$4;
954
954
  var defineGlobalProperty = defineGlobalProperty$3;
955
955
  var copyConstructorProperties = copyConstructorProperties$1;
956
- var isForced$1 = isForced_1;
956
+ var isForced = isForced_1;
957
957
 
958
958
  /*
959
959
  options.target - name of the target object
@@ -976,19 +976,19 @@ var _export = function (options, source) {
976
976
  var STATIC = options.stat;
977
977
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
978
978
  if (GLOBAL) {
979
- target = global$c;
979
+ target = global$5;
980
980
  } else if (STATIC) {
981
- target = global$c[TARGET] || defineGlobalProperty(TARGET, {});
981
+ target = global$5[TARGET] || defineGlobalProperty(TARGET, {});
982
982
  } else {
983
- target = global$c[TARGET] && global$c[TARGET].prototype;
983
+ target = global$5[TARGET] && global$5[TARGET].prototype;
984
984
  }
985
985
  if (target) for (key in source) {
986
986
  sourceProperty = source[key];
987
987
  if (options.dontCallGetSet) {
988
- descriptor = getOwnPropertyDescriptor$3(target, key);
988
+ descriptor = getOwnPropertyDescriptor$2(target, key);
989
989
  targetProperty = descriptor && descriptor.value;
990
990
  } else targetProperty = target[key];
991
- FORCED = isForced$1(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
991
+ FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
992
992
  // contained in target
993
993
  if (!FORCED && targetProperty !== undefined) {
994
994
  if (typeof sourceProperty == typeof targetProperty) continue;
@@ -996,9 +996,9 @@ var _export = function (options, source) {
996
996
  }
997
997
  // add a flag to not completely full polyfills
998
998
  if (options.sham || (targetProperty && targetProperty.sham)) {
999
- createNonEnumerableProperty$3(sourceProperty, 'sham', true);
999
+ createNonEnumerableProperty$2(sourceProperty, 'sham', true);
1000
1000
  }
1001
- defineBuiltIn$6(target, key, sourceProperty, options);
1001
+ defineBuiltIn$3(target, key, sourceProperty, options);
1002
1002
  }
1003
1003
  };
1004
1004
 
@@ -1014,18 +1014,18 @@ var objectKeys$2 = Object.keys || function keys(O) {
1014
1014
  return internalObjectKeys(O, enumBugKeys$1);
1015
1015
  };
1016
1016
 
1017
- var DESCRIPTORS$5 = descriptors;
1017
+ var DESCRIPTORS$3 = descriptors;
1018
1018
  var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
1019
1019
  var definePropertyModule = objectDefineProperty;
1020
- var anObject$b = anObject$e;
1020
+ var anObject$4 = anObject$7;
1021
1021
  var toIndexedObject$1 = toIndexedObject$5;
1022
1022
  var objectKeys$1 = objectKeys$2;
1023
1023
 
1024
1024
  // `Object.defineProperties` method
1025
1025
  // https://tc39.es/ecma262/#sec-object.defineproperties
1026
1026
  // eslint-disable-next-line es/no-object-defineproperties -- safe
1027
- objectDefineProperties.f = DESCRIPTORS$5 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
1028
- anObject$b(O);
1027
+ objectDefineProperties.f = DESCRIPTORS$3 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
1028
+ anObject$4(O);
1029
1029
  var props = toIndexedObject$1(Properties);
1030
1030
  var keys = objectKeys$1(Properties);
1031
1031
  var length = keys.length;
@@ -1035,16 +1035,16 @@ objectDefineProperties.f = DESCRIPTORS$5 && !V8_PROTOTYPE_DEFINE_BUG ? Object.de
1035
1035
  return O;
1036
1036
  };
1037
1037
 
1038
- var getBuiltIn$4 = getBuiltIn$7;
1038
+ var getBuiltIn = getBuiltIn$3;
1039
1039
 
1040
- var html$2 = getBuiltIn$4('document', 'documentElement');
1040
+ var html$1 = getBuiltIn('document', 'documentElement');
1041
1041
 
1042
1042
  /* global ActiveXObject -- old IE, WSH */
1043
- var anObject$a = anObject$e;
1043
+ var anObject$3 = anObject$7;
1044
1044
  var definePropertiesModule = objectDefineProperties;
1045
1045
  var enumBugKeys = enumBugKeys$3;
1046
1046
  var hiddenKeys = hiddenKeys$4;
1047
- var html$1 = html$2;
1047
+ var html = html$1;
1048
1048
  var documentCreateElement$1 = documentCreateElement$2;
1049
1049
  var sharedKey$1 = sharedKey$3;
1050
1050
 
@@ -1076,7 +1076,7 @@ var NullProtoObjectViaIFrame = function () {
1076
1076
  var JS = 'java' + SCRIPT + ':';
1077
1077
  var iframeDocument;
1078
1078
  iframe.style.display = 'none';
1079
- html$1.appendChild(iframe);
1079
+ html.appendChild(iframe);
1080
1080
  // https://github.com/zloirock/core-js/issues/475
1081
1081
  iframe.src = String(JS);
1082
1082
  iframeDocument = iframe.contentWindow.document;
@@ -1114,7 +1114,7 @@ hiddenKeys[IE_PROTO$1] = true;
1114
1114
  var objectCreate = Object.create || function create(O, Properties) {
1115
1115
  var result;
1116
1116
  if (O !== null) {
1117
- EmptyConstructor[PROTOTYPE] = anObject$a(O);
1117
+ EmptyConstructor[PROTOTYPE] = anObject$3(O);
1118
1118
  result = new EmptyConstructor();
1119
1119
  EmptyConstructor[PROTOTYPE] = null;
1120
1120
  // add "__proto__" for Object.getPrototypeOf polyfill
@@ -1123,17 +1123,17 @@ var objectCreate = Object.create || function create(O, Properties) {
1123
1123
  return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
1124
1124
  };
1125
1125
 
1126
- var wellKnownSymbol$g = wellKnownSymbol$i;
1126
+ var wellKnownSymbol$8 = wellKnownSymbol$a;
1127
1127
  var create$2 = objectCreate;
1128
- var defineProperty$4 = objectDefineProperty.f;
1128
+ var defineProperty$3 = objectDefineProperty.f;
1129
1129
 
1130
- var UNSCOPABLES = wellKnownSymbol$g('unscopables');
1131
- var ArrayPrototype$1 = Array.prototype;
1130
+ var UNSCOPABLES = wellKnownSymbol$8('unscopables');
1131
+ var ArrayPrototype = Array.prototype;
1132
1132
 
1133
1133
  // Array.prototype[@@unscopables]
1134
1134
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1135
- if (ArrayPrototype$1[UNSCOPABLES] === undefined) {
1136
- defineProperty$4(ArrayPrototype$1, UNSCOPABLES, {
1135
+ if (ArrayPrototype[UNSCOPABLES] === undefined) {
1136
+ defineProperty$3(ArrayPrototype, UNSCOPABLES, {
1137
1137
  configurable: true,
1138
1138
  value: create$2(null)
1139
1139
  });
@@ -1141,23 +1141,23 @@ if (ArrayPrototype$1[UNSCOPABLES] === undefined) {
1141
1141
 
1142
1142
  // add a key to Array.prototype[@@unscopables]
1143
1143
  var addToUnscopables$2 = function (key) {
1144
- ArrayPrototype$1[UNSCOPABLES][key] = true;
1144
+ ArrayPrototype[UNSCOPABLES][key] = true;
1145
1145
  };
1146
1146
 
1147
- var $$d = _export;
1147
+ var $$7 = _export;
1148
1148
  var $includes = arrayIncludes.includes;
1149
- var fails$c = fails$l;
1149
+ var fails$8 = fails$h;
1150
1150
  var addToUnscopables$1 = addToUnscopables$2;
1151
1151
 
1152
1152
  // FF99+ bug
1153
- var BROKEN_ON_SPARSE = fails$c(function () {
1153
+ var BROKEN_ON_SPARSE = fails$8(function () {
1154
1154
  // eslint-disable-next-line es/no-array-prototype-includes -- detection
1155
1155
  return !Array(1).includes();
1156
1156
  });
1157
1157
 
1158
1158
  // `Array.prototype.includes` method
1159
1159
  // https://tc39.es/ecma262/#sec-array.prototype.includes
1160
- $$d({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
1160
+ $$7({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
1161
1161
  includes: function includes(el /* , fromIndex = 0 */) {
1162
1162
  return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
1163
1163
  }
@@ -1168,18 +1168,18 @@ addToUnscopables$1('includes');
1168
1168
 
1169
1169
  var iterators = {};
1170
1170
 
1171
- var fails$b = fails$l;
1171
+ var fails$7 = fails$h;
1172
1172
 
1173
- var correctPrototypeGetter = !fails$b(function () {
1173
+ var correctPrototypeGetter = !fails$7(function () {
1174
1174
  function F() { /* empty */ }
1175
1175
  F.prototype.constructor = null;
1176
1176
  // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
1177
1177
  return Object.getPrototypeOf(new F()) !== F.prototype;
1178
1178
  });
1179
1179
 
1180
- var hasOwn$3 = hasOwnProperty_1;
1181
- var isCallable$b = isCallable$m;
1182
- var toObject$3 = toObject$5;
1180
+ var hasOwn$2 = hasOwnProperty_1;
1181
+ var isCallable$4 = isCallable$f;
1182
+ var toObject$2 = toObject$4;
1183
1183
  var sharedKey = sharedKey$3;
1184
1184
  var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
1185
1185
 
@@ -1191,22 +1191,22 @@ var ObjectPrototype = $Object$1.prototype;
1191
1191
  // https://tc39.es/ecma262/#sec-object.getprototypeof
1192
1192
  // eslint-disable-next-line es/no-object-getprototypeof -- safe
1193
1193
  var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
1194
- var object = toObject$3(O);
1195
- if (hasOwn$3(object, IE_PROTO)) return object[IE_PROTO];
1194
+ var object = toObject$2(O);
1195
+ if (hasOwn$2(object, IE_PROTO)) return object[IE_PROTO];
1196
1196
  var constructor = object.constructor;
1197
- if (isCallable$b(constructor) && object instanceof constructor) {
1197
+ if (isCallable$4(constructor) && object instanceof constructor) {
1198
1198
  return constructor.prototype;
1199
1199
  } return object instanceof $Object$1 ? ObjectPrototype : null;
1200
1200
  };
1201
1201
 
1202
- var fails$a = fails$l;
1203
- var isCallable$a = isCallable$m;
1204
- var isObject$5 = isObject$b;
1202
+ var fails$6 = fails$h;
1203
+ var isCallable$3 = isCallable$f;
1204
+ var isObject$3 = isObject$9;
1205
1205
  var getPrototypeOf$1 = objectGetPrototypeOf;
1206
- var defineBuiltIn$5 = defineBuiltIn$7;
1207
- var wellKnownSymbol$f = wellKnownSymbol$i;
1206
+ var defineBuiltIn$2 = defineBuiltIn$4;
1207
+ var wellKnownSymbol$7 = wellKnownSymbol$a;
1208
1208
 
1209
- var ITERATOR$5 = wellKnownSymbol$f('iterator');
1209
+ var ITERATOR$2 = wellKnownSymbol$7('iterator');
1210
1210
  var BUGGY_SAFARI_ITERATORS$1 = false;
1211
1211
 
1212
1212
  // `%IteratorPrototype%` object
@@ -1224,18 +1224,18 @@ if ([].keys) {
1224
1224
  }
1225
1225
  }
1226
1226
 
1227
- var NEW_ITERATOR_PROTOTYPE = !isObject$5(IteratorPrototype$2) || fails$a(function () {
1227
+ var NEW_ITERATOR_PROTOTYPE = !isObject$3(IteratorPrototype$2) || fails$6(function () {
1228
1228
  var test = {};
1229
1229
  // FF44- legacy iterators case
1230
- return IteratorPrototype$2[ITERATOR$5].call(test) !== test;
1230
+ return IteratorPrototype$2[ITERATOR$2].call(test) !== test;
1231
1231
  });
1232
1232
 
1233
1233
  if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
1234
1234
 
1235
1235
  // `%IteratorPrototype%[@@iterator]()` method
1236
1236
  // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
1237
- if (!isCallable$a(IteratorPrototype$2[ITERATOR$5])) {
1238
- defineBuiltIn$5(IteratorPrototype$2, ITERATOR$5, function () {
1237
+ if (!isCallable$3(IteratorPrototype$2[ITERATOR$2])) {
1238
+ defineBuiltIn$2(IteratorPrototype$2, ITERATOR$2, function () {
1239
1239
  return this;
1240
1240
  });
1241
1241
  }
@@ -1245,65 +1245,65 @@ var iteratorsCore = {
1245
1245
  BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
1246
1246
  };
1247
1247
 
1248
- var defineProperty$3 = objectDefineProperty.f;
1249
- var hasOwn$2 = hasOwnProperty_1;
1250
- var wellKnownSymbol$e = wellKnownSymbol$i;
1248
+ var defineProperty$2 = objectDefineProperty.f;
1249
+ var hasOwn$1 = hasOwnProperty_1;
1250
+ var wellKnownSymbol$6 = wellKnownSymbol$a;
1251
1251
 
1252
- var TO_STRING_TAG$2 = wellKnownSymbol$e('toStringTag');
1252
+ var TO_STRING_TAG$2 = wellKnownSymbol$6('toStringTag');
1253
1253
 
1254
- var setToStringTag$4 = function (target, TAG, STATIC) {
1254
+ var setToStringTag$3 = function (target, TAG, STATIC) {
1255
1255
  if (target && !STATIC) target = target.prototype;
1256
- if (target && !hasOwn$2(target, TO_STRING_TAG$2)) {
1257
- defineProperty$3(target, TO_STRING_TAG$2, { configurable: true, value: TAG });
1256
+ if (target && !hasOwn$1(target, TO_STRING_TAG$2)) {
1257
+ defineProperty$2(target, TO_STRING_TAG$2, { configurable: true, value: TAG });
1258
1258
  }
1259
1259
  };
1260
1260
 
1261
1261
  var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
1262
1262
  var create$1 = objectCreate;
1263
1263
  var createPropertyDescriptor = createPropertyDescriptor$3;
1264
- var setToStringTag$3 = setToStringTag$4;
1265
- var Iterators$4 = iterators;
1264
+ var setToStringTag$2 = setToStringTag$3;
1265
+ var Iterators$2 = iterators;
1266
1266
 
1267
1267
  var returnThis$1 = function () { return this; };
1268
1268
 
1269
1269
  var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
1270
1270
  var TO_STRING_TAG = NAME + ' Iterator';
1271
1271
  IteratorConstructor.prototype = create$1(IteratorPrototype$1, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });
1272
- setToStringTag$3(IteratorConstructor, TO_STRING_TAG, false);
1273
- Iterators$4[TO_STRING_TAG] = returnThis$1;
1272
+ setToStringTag$2(IteratorConstructor, TO_STRING_TAG, false);
1273
+ Iterators$2[TO_STRING_TAG] = returnThis$1;
1274
1274
  return IteratorConstructor;
1275
1275
  };
1276
1276
 
1277
- var uncurryThis$b = functionUncurryThis;
1278
- var aCallable$6 = aCallable$8;
1277
+ var uncurryThis$5 = functionUncurryThis;
1278
+ var aCallable = aCallable$2;
1279
1279
 
1280
1280
  var functionUncurryThisAccessor = function (object, key, method) {
1281
1281
  try {
1282
1282
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1283
- return uncurryThis$b(aCallable$6(Object.getOwnPropertyDescriptor(object, key)[method]));
1283
+ return uncurryThis$5(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
1284
1284
  } catch (error) { /* empty */ }
1285
1285
  };
1286
1286
 
1287
- var isObject$4 = isObject$b;
1287
+ var isObject$2 = isObject$9;
1288
1288
 
1289
1289
  var isPossiblePrototype$1 = function (argument) {
1290
- return isObject$4(argument) || argument === null;
1290
+ return isObject$2(argument) || argument === null;
1291
1291
  };
1292
1292
 
1293
1293
  var isPossiblePrototype = isPossiblePrototype$1;
1294
1294
 
1295
1295
  var $String$1 = String;
1296
- var $TypeError$a = TypeError;
1296
+ var $TypeError$3 = TypeError;
1297
1297
 
1298
1298
  var aPossiblePrototype$1 = function (argument) {
1299
1299
  if (isPossiblePrototype(argument)) return argument;
1300
- throw new $TypeError$a("Can't set " + $String$1(argument) + ' as a prototype');
1300
+ throw new $TypeError$3("Can't set " + $String$1(argument) + ' as a prototype');
1301
1301
  };
1302
1302
 
1303
1303
  /* eslint-disable no-proto -- safe */
1304
1304
  var uncurryThisAccessor = functionUncurryThisAccessor;
1305
- var isObject$3 = isObject$b;
1306
- var requireObjectCoercible$4 = requireObjectCoercible$7;
1305
+ var isObject$1 = isObject$9;
1306
+ var requireObjectCoercible$2 = requireObjectCoercible$5;
1307
1307
  var aPossiblePrototype = aPossiblePrototype$1;
1308
1308
 
1309
1309
  // `Object.setPrototypeOf` method
@@ -1320,34 +1320,34 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
1320
1320
  CORRECT_SETTER = test instanceof Array;
1321
1321
  } catch (error) { /* empty */ }
1322
1322
  return function setPrototypeOf(O, proto) {
1323
- requireObjectCoercible$4(O);
1323
+ requireObjectCoercible$2(O);
1324
1324
  aPossiblePrototype(proto);
1325
- if (!isObject$3(O)) return O;
1325
+ if (!isObject$1(O)) return O;
1326
1326
  if (CORRECT_SETTER) setter(O, proto);
1327
1327
  else O.__proto__ = proto;
1328
1328
  return O;
1329
1329
  };
1330
1330
  }() : undefined);
1331
1331
 
1332
- var $$c = _export;
1333
- var call$e = functionCall;
1332
+ var $$6 = _export;
1333
+ var call$4 = functionCall;
1334
1334
  var FunctionName = functionName;
1335
- var isCallable$9 = isCallable$m;
1335
+ var isCallable$2 = isCallable$f;
1336
1336
  var createIteratorConstructor = iteratorCreateConstructor;
1337
1337
  var getPrototypeOf = objectGetPrototypeOf;
1338
- var setPrototypeOf$1 = objectSetPrototypeOf;
1339
- var setToStringTag$2 = setToStringTag$4;
1340
- var createNonEnumerableProperty$2 = createNonEnumerableProperty$5;
1341
- var defineBuiltIn$4 = defineBuiltIn$7;
1342
- var wellKnownSymbol$d = wellKnownSymbol$i;
1343
- var Iterators$3 = iterators;
1338
+ var setPrototypeOf = objectSetPrototypeOf;
1339
+ var setToStringTag$1 = setToStringTag$3;
1340
+ var createNonEnumerableProperty$1 = createNonEnumerableProperty$4;
1341
+ var defineBuiltIn$1 = defineBuiltIn$4;
1342
+ var wellKnownSymbol$5 = wellKnownSymbol$a;
1343
+ var Iterators$1 = iterators;
1344
1344
  var IteratorsCore = iteratorsCore;
1345
1345
 
1346
1346
  var PROPER_FUNCTION_NAME$1 = FunctionName.PROPER;
1347
1347
  var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
1348
1348
  var IteratorPrototype = IteratorsCore.IteratorPrototype;
1349
1349
  var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
1350
- var ITERATOR$4 = wellKnownSymbol$d('iterator');
1350
+ var ITERATOR$1 = wellKnownSymbol$5('iterator');
1351
1351
  var KEYS = 'keys';
1352
1352
  var VALUES = 'values';
1353
1353
  var ENTRIES = 'entries';
@@ -1373,7 +1373,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1373
1373
  var TO_STRING_TAG = NAME + ' Iterator';
1374
1374
  var INCORRECT_VALUES_NAME = false;
1375
1375
  var IterablePrototype = Iterable.prototype;
1376
- var nativeIterator = IterablePrototype[ITERATOR$4]
1376
+ var nativeIterator = IterablePrototype[ITERATOR$1]
1377
1377
  || IterablePrototype['@@iterator']
1378
1378
  || DEFAULT && IterablePrototype[DEFAULT];
1379
1379
  var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
@@ -1385,24 +1385,24 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1385
1385
  CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
1386
1386
  if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
1387
1387
  if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
1388
- if (setPrototypeOf$1) {
1389
- setPrototypeOf$1(CurrentIteratorPrototype, IteratorPrototype);
1390
- } else if (!isCallable$9(CurrentIteratorPrototype[ITERATOR$4])) {
1391
- defineBuiltIn$4(CurrentIteratorPrototype, ITERATOR$4, returnThis);
1388
+ if (setPrototypeOf) {
1389
+ setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
1390
+ } else if (!isCallable$2(CurrentIteratorPrototype[ITERATOR$1])) {
1391
+ defineBuiltIn$1(CurrentIteratorPrototype, ITERATOR$1, returnThis);
1392
1392
  }
1393
1393
  }
1394
1394
  // Set @@toStringTag to native iterators
1395
- setToStringTag$2(CurrentIteratorPrototype, TO_STRING_TAG, true);
1395
+ setToStringTag$1(CurrentIteratorPrototype, TO_STRING_TAG, true);
1396
1396
  }
1397
1397
  }
1398
1398
 
1399
1399
  // fix Array.prototype.{ values, @@iterator }.name in V8 / FF
1400
1400
  if (PROPER_FUNCTION_NAME$1 && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
1401
1401
  if (CONFIGURABLE_FUNCTION_NAME) {
1402
- createNonEnumerableProperty$2(IterablePrototype, 'name', VALUES);
1402
+ createNonEnumerableProperty$1(IterablePrototype, 'name', VALUES);
1403
1403
  } else {
1404
1404
  INCORRECT_VALUES_NAME = true;
1405
- defaultIterator = function values() { return call$e(nativeIterator, this); };
1405
+ defaultIterator = function values() { return call$4(nativeIterator, this); };
1406
1406
  }
1407
1407
  }
1408
1408
 
@@ -1415,16 +1415,16 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1415
1415
  };
1416
1416
  if (FORCED) for (KEY in methods) {
1417
1417
  if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
1418
- defineBuiltIn$4(IterablePrototype, KEY, methods[KEY]);
1418
+ defineBuiltIn$1(IterablePrototype, KEY, methods[KEY]);
1419
1419
  }
1420
- } else $$c({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1420
+ } else $$6({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1421
1421
  }
1422
1422
 
1423
1423
  // define iterator
1424
- if (IterablePrototype[ITERATOR$4] !== defaultIterator) {
1425
- defineBuiltIn$4(IterablePrototype, ITERATOR$4, defaultIterator, { name: DEFAULT });
1424
+ if (IterablePrototype[ITERATOR$1] !== defaultIterator) {
1425
+ defineBuiltIn$1(IterablePrototype, ITERATOR$1, defaultIterator, { name: DEFAULT });
1426
1426
  }
1427
- Iterators$3[NAME] = defaultIterator;
1427
+ Iterators$1[NAME] = defaultIterator;
1428
1428
 
1429
1429
  return methods;
1430
1430
  };
@@ -1437,16 +1437,16 @@ var createIterResultObject$1 = function (value, done) {
1437
1437
 
1438
1438
  var toIndexedObject = toIndexedObject$5;
1439
1439
  var addToUnscopables = addToUnscopables$2;
1440
- var Iterators$2 = iterators;
1441
- var InternalStateModule$1 = internalState;
1442
- var defineProperty$2 = objectDefineProperty.f;
1440
+ var Iterators = iterators;
1441
+ var InternalStateModule = internalState;
1442
+ var defineProperty$1 = objectDefineProperty.f;
1443
1443
  var defineIterator = iteratorDefine;
1444
1444
  var createIterResultObject = createIterResultObject$1;
1445
- var DESCRIPTORS$4 = descriptors;
1445
+ var DESCRIPTORS$2 = descriptors;
1446
1446
 
1447
1447
  var ARRAY_ITERATOR = 'Array Iterator';
1448
- var setInternalState$1 = InternalStateModule$1.set;
1449
- var getInternalState$1 = InternalStateModule$1.getterFor(ARRAY_ITERATOR);
1448
+ var setInternalState = InternalStateModule.set;
1449
+ var getInternalState$1 = InternalStateModule.getterFor(ARRAY_ITERATOR);
1450
1450
 
1451
1451
  // `Array.prototype.entries` method
1452
1452
  // https://tc39.es/ecma262/#sec-array.prototype.entries
@@ -1459,7 +1459,7 @@ var getInternalState$1 = InternalStateModule$1.getterFor(ARRAY_ITERATOR);
1459
1459
  // `CreateArrayIterator` internal method
1460
1460
  // https://tc39.es/ecma262/#sec-createarrayiterator
1461
1461
  var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind) {
1462
- setInternalState$1(this, {
1462
+ setInternalState(this, {
1463
1463
  type: ARRAY_ITERATOR,
1464
1464
  target: toIndexedObject(iterated), // target
1465
1465
  index: 0, // next index
@@ -1484,7 +1484,7 @@ var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind)
1484
1484
  // argumentsList[@@iterator] is %ArrayProto_values%
1485
1485
  // https://tc39.es/ecma262/#sec-createunmappedargumentsobject
1486
1486
  // https://tc39.es/ecma262/#sec-createmappedargumentsobject
1487
- var values = Iterators$2.Arguments = Iterators$2.Array;
1487
+ var values = Iterators.Arguments = Iterators.Array;
1488
1488
 
1489
1489
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1490
1490
  addToUnscopables('keys');
@@ -1492,34 +1492,34 @@ addToUnscopables('values');
1492
1492
  addToUnscopables('entries');
1493
1493
 
1494
1494
  // V8 ~ Chrome 45- bug
1495
- if (DESCRIPTORS$4 && values.name !== 'values') try {
1496
- defineProperty$2(values, 'name', { value: 'values' });
1495
+ if (DESCRIPTORS$2 && values.name !== 'values') try {
1496
+ defineProperty$1(values, 'name', { value: 'values' });
1497
1497
  } catch (error) { /* empty */ }
1498
1498
 
1499
- var DESCRIPTORS$3 = descriptors;
1500
- var uncurryThis$a = functionUncurryThis;
1501
- var call$d = functionCall;
1502
- var fails$9 = fails$l;
1499
+ var DESCRIPTORS$1 = descriptors;
1500
+ var uncurryThis$4 = functionUncurryThis;
1501
+ var call$3 = functionCall;
1502
+ var fails$5 = fails$h;
1503
1503
  var objectKeys = objectKeys$2;
1504
1504
  var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
1505
1505
  var propertyIsEnumerableModule = objectPropertyIsEnumerable;
1506
- var toObject$2 = toObject$5;
1506
+ var toObject$1 = toObject$4;
1507
1507
  var IndexedObject = indexedObject;
1508
1508
 
1509
1509
  // eslint-disable-next-line es/no-object-assign -- safe
1510
1510
  var $assign = Object.assign;
1511
1511
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1512
- var defineProperty$1 = Object.defineProperty;
1513
- var concat$1 = uncurryThis$a([].concat);
1512
+ var defineProperty = Object.defineProperty;
1513
+ var concat = uncurryThis$4([].concat);
1514
1514
 
1515
1515
  // `Object.assign` method
1516
1516
  // https://tc39.es/ecma262/#sec-object.assign
1517
- var objectAssign = !$assign || fails$9(function () {
1517
+ var objectAssign = !$assign || fails$5(function () {
1518
1518
  // should have correct order of operations (Edge bug)
1519
- if (DESCRIPTORS$3 && $assign({ b: 1 }, $assign(defineProperty$1({}, 'a', {
1519
+ if (DESCRIPTORS$1 && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
1520
1520
  enumerable: true,
1521
1521
  get: function () {
1522
- defineProperty$1(this, 'b', {
1522
+ defineProperty(this, 'b', {
1523
1523
  value: 3,
1524
1524
  enumerable: false
1525
1525
  });
@@ -1535,37 +1535,37 @@ var objectAssign = !$assign || fails$9(function () {
1535
1535
  alphabet.split('').forEach(function (chr) { B[chr] = chr; });
1536
1536
  return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet;
1537
1537
  }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
1538
- var T = toObject$2(target);
1538
+ var T = toObject$1(target);
1539
1539
  var argumentsLength = arguments.length;
1540
1540
  var index = 1;
1541
1541
  var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
1542
1542
  var propertyIsEnumerable = propertyIsEnumerableModule.f;
1543
1543
  while (argumentsLength > index) {
1544
1544
  var S = IndexedObject(arguments[index++]);
1545
- var keys = getOwnPropertySymbols ? concat$1(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
1545
+ var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
1546
1546
  var length = keys.length;
1547
1547
  var j = 0;
1548
1548
  var key;
1549
1549
  while (length > j) {
1550
1550
  key = keys[j++];
1551
- if (!DESCRIPTORS$3 || call$d(propertyIsEnumerable, S, key)) T[key] = S[key];
1551
+ if (!DESCRIPTORS$1 || call$3(propertyIsEnumerable, S, key)) T[key] = S[key];
1552
1552
  }
1553
1553
  } return T;
1554
1554
  } : $assign;
1555
1555
 
1556
- var $$b = _export;
1556
+ var $$5 = _export;
1557
1557
  var assign = objectAssign;
1558
1558
 
1559
1559
  // `Object.assign` method
1560
1560
  // https://tc39.es/ecma262/#sec-object.assign
1561
1561
  // eslint-disable-next-line es/no-object-assign -- required for testing
1562
- $$b({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1562
+ $$5({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1563
1563
  assign: assign
1564
1564
  });
1565
1565
 
1566
- var wellKnownSymbol$c = wellKnownSymbol$i;
1566
+ var wellKnownSymbol$4 = wellKnownSymbol$a;
1567
1567
 
1568
- var TO_STRING_TAG$1 = wellKnownSymbol$c('toStringTag');
1568
+ var TO_STRING_TAG$1 = wellKnownSymbol$4('toStringTag');
1569
1569
  var test = {};
1570
1570
 
1571
1571
  test[TO_STRING_TAG$1] = 'z';
@@ -1573,11 +1573,11 @@ test[TO_STRING_TAG$1] = 'z';
1573
1573
  var toStringTagSupport = String(test) === '[object z]';
1574
1574
 
1575
1575
  var TO_STRING_TAG_SUPPORT = toStringTagSupport;
1576
- var isCallable$8 = isCallable$m;
1576
+ var isCallable$1 = isCallable$f;
1577
1577
  var classofRaw$1 = classofRaw$2;
1578
- var wellKnownSymbol$b = wellKnownSymbol$i;
1578
+ var wellKnownSymbol$3 = wellKnownSymbol$a;
1579
1579
 
1580
- var TO_STRING_TAG = wellKnownSymbol$b('toStringTag');
1580
+ var TO_STRING_TAG = wellKnownSymbol$3('toStringTag');
1581
1581
  var $Object = Object;
1582
1582
 
1583
1583
  // ES3 wrong here
@@ -1591,7 +1591,7 @@ var tryGet = function (it, key) {
1591
1591
  };
1592
1592
 
1593
1593
  // getting tag from ES6+ `Object.prototype.toString`
1594
- var classof$7 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
1594
+ var classof$3 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
1595
1595
  var O, tag, result;
1596
1596
  return it === undefined ? 'Undefined' : it === null ? 'Null'
1597
1597
  // @@toStringTag case
@@ -1599,24 +1599,24 @@ var classof$7 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
1599
1599
  // builtinTag case
1600
1600
  : CORRECT_ARGUMENTS ? classofRaw$1(O)
1601
1601
  // ES3 arguments fallback
1602
- : (result = classofRaw$1(O)) === 'Object' && isCallable$8(O.callee) ? 'Arguments' : result;
1602
+ : (result = classofRaw$1(O)) === 'Object' && isCallable$1(O.callee) ? 'Arguments' : result;
1603
1603
  };
1604
1604
 
1605
- var classof$6 = classof$7;
1605
+ var classof$2 = classof$3;
1606
1606
 
1607
1607
  var $String = String;
1608
1608
 
1609
- var toString$6 = function (argument) {
1610
- if (classof$6(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
1609
+ var toString$4 = function (argument) {
1610
+ if (classof$2(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
1611
1611
  return $String(argument);
1612
1612
  };
1613
1613
 
1614
- var anObject$9 = anObject$e;
1614
+ var anObject$2 = anObject$7;
1615
1615
 
1616
1616
  // `RegExp.prototype.flags` getter implementation
1617
1617
  // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
1618
1618
  var regexpFlags$1 = function () {
1619
- var that = anObject$9(this);
1619
+ var that = anObject$2(this);
1620
1620
  var result = '';
1621
1621
  if (that.hasIndices) result += 'd';
1622
1622
  if (that.global) result += 'g';
@@ -1629,71 +1629,71 @@ var regexpFlags$1 = function () {
1629
1629
  return result;
1630
1630
  };
1631
1631
 
1632
- var call$c = functionCall;
1633
- var hasOwn$1 = hasOwnProperty_1;
1634
- var isPrototypeOf$2 = objectIsPrototypeOf;
1632
+ var call$2 = functionCall;
1633
+ var hasOwn = hasOwnProperty_1;
1634
+ var isPrototypeOf = objectIsPrototypeOf;
1635
1635
  var regExpFlags = regexpFlags$1;
1636
1636
 
1637
- var RegExpPrototype$2 = RegExp.prototype;
1637
+ var RegExpPrototype$1 = RegExp.prototype;
1638
1638
 
1639
1639
  var regexpGetFlags = function (R) {
1640
1640
  var flags = R.flags;
1641
- return flags === undefined && !('flags' in RegExpPrototype$2) && !hasOwn$1(R, 'flags') && isPrototypeOf$2(RegExpPrototype$2, R)
1642
- ? call$c(regExpFlags, R) : flags;
1641
+ return flags === undefined && !('flags' in RegExpPrototype$1) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype$1, R)
1642
+ ? call$2(regExpFlags, R) : flags;
1643
1643
  };
1644
1644
 
1645
1645
  var PROPER_FUNCTION_NAME = functionName.PROPER;
1646
- var defineBuiltIn$3 = defineBuiltIn$7;
1647
- var anObject$8 = anObject$e;
1648
- var $toString = toString$6;
1649
- var fails$8 = fails$l;
1646
+ var defineBuiltIn = defineBuiltIn$4;
1647
+ var anObject$1 = anObject$7;
1648
+ var $toString = toString$4;
1649
+ var fails$4 = fails$h;
1650
1650
  var getRegExpFlags = regexpGetFlags;
1651
1651
 
1652
1652
  var TO_STRING = 'toString';
1653
- var RegExpPrototype$1 = RegExp.prototype;
1654
- var nativeToString = RegExpPrototype$1[TO_STRING];
1653
+ var RegExpPrototype = RegExp.prototype;
1654
+ var nativeToString = RegExpPrototype[TO_STRING];
1655
1655
 
1656
- var NOT_GENERIC = fails$8(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
1656
+ var NOT_GENERIC = fails$4(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
1657
1657
  // FF44- RegExp#toString has a wrong name
1658
1658
  var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;
1659
1659
 
1660
1660
  // `RegExp.prototype.toString` method
1661
1661
  // https://tc39.es/ecma262/#sec-regexp.prototype.tostring
1662
1662
  if (NOT_GENERIC || INCORRECT_NAME) {
1663
- defineBuiltIn$3(RegExpPrototype$1, TO_STRING, function toString() {
1664
- var R = anObject$8(this);
1663
+ defineBuiltIn(RegExpPrototype, TO_STRING, function toString() {
1664
+ var R = anObject$1(this);
1665
1665
  var pattern = $toString(R.source);
1666
1666
  var flags = $toString(getRegExpFlags(R));
1667
1667
  return '/' + pattern + '/' + flags;
1668
1668
  }, { unsafe: true });
1669
1669
  }
1670
1670
 
1671
- var isObject$2 = isObject$b;
1672
- var classof$5 = classofRaw$2;
1673
- var wellKnownSymbol$a = wellKnownSymbol$i;
1671
+ var isObject = isObject$9;
1672
+ var classof$1 = classofRaw$2;
1673
+ var wellKnownSymbol$2 = wellKnownSymbol$a;
1674
1674
 
1675
- var MATCH$1 = wellKnownSymbol$a('match');
1675
+ var MATCH$1 = wellKnownSymbol$2('match');
1676
1676
 
1677
1677
  // `IsRegExp` abstract operation
1678
1678
  // https://tc39.es/ecma262/#sec-isregexp
1679
1679
  var isRegexp = function (it) {
1680
1680
  var isRegExp;
1681
- return isObject$2(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$5(it) === 'RegExp');
1681
+ return isObject(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$1(it) === 'RegExp');
1682
1682
  };
1683
1683
 
1684
1684
  var isRegExp = isRegexp;
1685
1685
 
1686
- var $TypeError$9 = TypeError;
1686
+ var $TypeError$2 = TypeError;
1687
1687
 
1688
1688
  var notARegexp = function (it) {
1689
1689
  if (isRegExp(it)) {
1690
- throw new $TypeError$9("The method doesn't accept regular expressions");
1690
+ throw new $TypeError$2("The method doesn't accept regular expressions");
1691
1691
  } return it;
1692
1692
  };
1693
1693
 
1694
- var wellKnownSymbol$9 = wellKnownSymbol$i;
1694
+ var wellKnownSymbol$1 = wellKnownSymbol$a;
1695
1695
 
1696
- var MATCH = wellKnownSymbol$9('match');
1696
+ var MATCH = wellKnownSymbol$1('match');
1697
1697
 
1698
1698
  var correctIsRegexpLogic = function (METHOD_NAME) {
1699
1699
  var regexp = /./;
@@ -1707,22 +1707,22 @@ var correctIsRegexpLogic = function (METHOD_NAME) {
1707
1707
  } return false;
1708
1708
  };
1709
1709
 
1710
- var $$a = _export;
1711
- var uncurryThis$9 = functionUncurryThis;
1710
+ var $$4 = _export;
1711
+ var uncurryThis$3 = functionUncurryThis;
1712
1712
  var notARegExp$1 = notARegexp;
1713
- var requireObjectCoercible$3 = requireObjectCoercible$7;
1714
- var toString$5 = toString$6;
1713
+ var requireObjectCoercible$1 = requireObjectCoercible$5;
1714
+ var toString$3 = toString$4;
1715
1715
  var correctIsRegExpLogic$1 = correctIsRegexpLogic;
1716
1716
 
1717
- var stringIndexOf$1 = uncurryThis$9(''.indexOf);
1717
+ var stringIndexOf = uncurryThis$3(''.indexOf);
1718
1718
 
1719
1719
  // `String.prototype.includes` method
1720
1720
  // https://tc39.es/ecma262/#sec-string.prototype.includes
1721
- $$a({ target: 'String', proto: true, forced: !correctIsRegExpLogic$1('includes') }, {
1721
+ $$4({ target: 'String', proto: true, forced: !correctIsRegExpLogic$1('includes') }, {
1722
1722
  includes: function includes(searchString /* , position = 0 */) {
1723
- return !!~stringIndexOf$1(
1724
- toString$5(requireObjectCoercible$3(this)),
1725
- toString$5(notARegExp$1(searchString)),
1723
+ return !!~stringIndexOf(
1724
+ toString$3(requireObjectCoercible$1(this)),
1725
+ toString$3(notARegExp$1(searchString)),
1726
1726
  arguments.length > 1 ? arguments[1] : undefined
1727
1727
  );
1728
1728
  }
@@ -1772,30 +1772,30 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
1772
1772
 
1773
1773
  var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
1774
1774
 
1775
- var global$b = global$l;
1775
+ var global$4 = global$e;
1776
1776
  var DOMIterables = domIterables;
1777
1777
  var DOMTokenListPrototype = domTokenListPrototype;
1778
1778
  var ArrayIteratorMethods = es_array_iterator;
1779
- var createNonEnumerableProperty$1 = createNonEnumerableProperty$5;
1780
- var setToStringTag$1 = setToStringTag$4;
1781
- var wellKnownSymbol$8 = wellKnownSymbol$i;
1779
+ var createNonEnumerableProperty = createNonEnumerableProperty$4;
1780
+ var setToStringTag = setToStringTag$3;
1781
+ var wellKnownSymbol = wellKnownSymbol$a;
1782
1782
 
1783
- var ITERATOR$3 = wellKnownSymbol$8('iterator');
1783
+ var ITERATOR = wellKnownSymbol('iterator');
1784
1784
  var ArrayValues = ArrayIteratorMethods.values;
1785
1785
 
1786
1786
  var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
1787
1787
  if (CollectionPrototype) {
1788
1788
  // some Chrome versions have non-configurable methods on DOMTokenList
1789
- if (CollectionPrototype[ITERATOR$3] !== ArrayValues) try {
1790
- createNonEnumerableProperty$1(CollectionPrototype, ITERATOR$3, ArrayValues);
1789
+ if (CollectionPrototype[ITERATOR] !== ArrayValues) try {
1790
+ createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);
1791
1791
  } catch (error) {
1792
- CollectionPrototype[ITERATOR$3] = ArrayValues;
1792
+ CollectionPrototype[ITERATOR] = ArrayValues;
1793
1793
  }
1794
- setToStringTag$1(CollectionPrototype, COLLECTION_NAME, true);
1794
+ setToStringTag(CollectionPrototype, COLLECTION_NAME, true);
1795
1795
  if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
1796
1796
  // some Chrome versions have non-configurable methods on DOMTokenList
1797
1797
  if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
1798
- createNonEnumerableProperty$1(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
1798
+ createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
1799
1799
  } catch (error) {
1800
1800
  CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
1801
1801
  }
@@ -1804,7 +1804,7 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
1804
1804
  };
1805
1805
 
1806
1806
  for (var COLLECTION_NAME in DOMIterables) {
1807
- handlePrototype(global$b[COLLECTION_NAME] && global$b[COLLECTION_NAME].prototype, COLLECTION_NAME);
1807
+ handlePrototype(global$4[COLLECTION_NAME] && global$4[COLLECTION_NAME].prototype, COLLECTION_NAME);
1808
1808
  }
1809
1809
 
1810
1810
  handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
@@ -2090,1123 +2090,172 @@ function isTextSelected(inputElement) {
2090
2090
  }
2091
2091
  }
2092
2092
 
2093
- var global$a = global$l;
2094
- var classof$4 = classofRaw$2;
2095
-
2096
- var engineIsNode = classof$4(global$a.process) === 'process';
2097
-
2098
- var makeBuiltIn = makeBuiltInExports;
2099
- var defineProperty = objectDefineProperty;
2093
+ var classofRaw = classofRaw$2;
2094
+ var uncurryThis$2 = functionUncurryThis;
2100
2095
 
2101
- var defineBuiltInAccessor$1 = function (target, name, descriptor) {
2102
- if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
2103
- if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
2104
- return defineProperty.f(target, name, descriptor);
2096
+ var functionUncurryThisClause = function (fn) {
2097
+ // Nashorn bug:
2098
+ // https://github.com/zloirock/core-js/issues/1128
2099
+ // https://github.com/zloirock/core-js/issues/1130
2100
+ if (classofRaw(fn) === 'Function') return uncurryThis$2(fn);
2105
2101
  };
2106
2102
 
2107
- var getBuiltIn$3 = getBuiltIn$7;
2108
- var defineBuiltInAccessor = defineBuiltInAccessor$1;
2109
- var wellKnownSymbol$7 = wellKnownSymbol$i;
2110
- var DESCRIPTORS$2 = descriptors;
2103
+ var $$3 = _export;
2104
+ var uncurryThis$1 = functionUncurryThisClause;
2105
+ var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
2106
+ var toLength = toLength$2;
2107
+ var toString$2 = toString$4;
2108
+ var notARegExp = notARegexp;
2109
+ var requireObjectCoercible = requireObjectCoercible$5;
2110
+ var correctIsRegExpLogic = correctIsRegexpLogic;
2111
2111
 
2112
- var SPECIES$3 = wellKnownSymbol$7('species');
2112
+ var stringSlice$1 = uncurryThis$1(''.slice);
2113
+ var min = Math.min;
2113
2114
 
2114
- var setSpecies$1 = function (CONSTRUCTOR_NAME) {
2115
- var Constructor = getBuiltIn$3(CONSTRUCTOR_NAME);
2115
+ var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith');
2116
+ // https://github.com/zloirock/core-js/pull/702
2117
+ var MDN_POLYFILL_BUG = !CORRECT_IS_REGEXP_LOGIC && !!function () {
2118
+ var descriptor = getOwnPropertyDescriptor$1(String.prototype, 'startsWith');
2119
+ return descriptor && !descriptor.writable;
2120
+ }();
2116
2121
 
2117
- if (DESCRIPTORS$2 && Constructor && !Constructor[SPECIES$3]) {
2118
- defineBuiltInAccessor(Constructor, SPECIES$3, {
2119
- configurable: true,
2120
- get: function () { return this; }
2121
- });
2122
+ // `String.prototype.startsWith` method
2123
+ // https://tc39.es/ecma262/#sec-string.prototype.startswith
2124
+ $$3({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {
2125
+ startsWith: function startsWith(searchString /* , position = 0 */) {
2126
+ var that = toString$2(requireObjectCoercible(this));
2127
+ notARegExp(searchString);
2128
+ var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length));
2129
+ var search = toString$2(searchString);
2130
+ return stringSlice$1(that, index, index + search.length) === search;
2122
2131
  }
2123
- };
2132
+ });
2124
2133
 
2125
- var isPrototypeOf$1 = objectIsPrototypeOf;
2134
+ /******************************************************************************
2135
+ Copyright (c) Microsoft Corporation.
2136
+
2137
+ Permission to use, copy, modify, and/or distribute this software for any
2138
+ purpose with or without fee is hereby granted.
2139
+
2140
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
2141
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
2142
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
2143
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
2144
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
2145
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
2146
+ PERFORMANCE OF THIS SOFTWARE.
2147
+ ***************************************************************************** */
2148
+ /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
2149
+
2150
+
2151
+ function __awaiter(thisArg, _arguments, P, generator) {
2152
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
2153
+ return new (P || (P = Promise))(function (resolve, reject) {
2154
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
2155
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
2156
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
2157
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
2158
+ });
2159
+ }
2160
+
2161
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
2162
+ var e = new Error(message);
2163
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
2164
+ };
2126
2165
 
2127
- var $TypeError$8 = TypeError;
2166
+ var classof = classofRaw$2;
2128
2167
 
2129
- var anInstance$1 = function (it, Prototype) {
2130
- if (isPrototypeOf$1(Prototype, it)) return it;
2131
- throw new $TypeError$8('Incorrect invocation');
2168
+ // `IsArray` abstract operation
2169
+ // https://tc39.es/ecma262/#sec-isarray
2170
+ // eslint-disable-next-line es/no-array-isarray -- safe
2171
+ var isArray$1 = Array.isArray || function isArray(argument) {
2172
+ return classof(argument) === 'Array';
2132
2173
  };
2133
2174
 
2134
- var uncurryThis$8 = functionUncurryThis;
2135
- var fails$7 = fails$l;
2136
- var isCallable$7 = isCallable$m;
2137
- var classof$3 = classof$7;
2138
- var getBuiltIn$2 = getBuiltIn$7;
2139
- var inspectSource$1 = inspectSource$3;
2140
-
2141
- var noop = function () { /* empty */ };
2142
- var construct = getBuiltIn$2('Reflect', 'construct');
2143
- var constructorRegExp = /^\s*(?:class|function)\b/;
2144
- var exec$1 = uncurryThis$8(constructorRegExp.exec);
2145
- var INCORRECT_TO_STRING = !constructorRegExp.test(noop);
2146
-
2147
- var isConstructorModern = function isConstructor(argument) {
2148
- if (!isCallable$7(argument)) return false;
2149
- try {
2150
- construct(noop, [], argument);
2151
- return true;
2152
- } catch (error) {
2153
- return false;
2154
- }
2155
- };
2175
+ var DESCRIPTORS = descriptors;
2176
+ var isArray = isArray$1;
2156
2177
 
2157
- var isConstructorLegacy = function isConstructor(argument) {
2158
- if (!isCallable$7(argument)) return false;
2159
- switch (classof$3(argument)) {
2160
- case 'AsyncFunction':
2161
- case 'GeneratorFunction':
2162
- case 'AsyncGeneratorFunction': return false;
2163
- }
2178
+ var $TypeError$1 = TypeError;
2179
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
2180
+ var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
2181
+
2182
+ // Safari < 13 does not throw an error in this case
2183
+ var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {
2184
+ // makes no sense without proper strict mode support
2185
+ if (this !== undefined) return true;
2164
2186
  try {
2165
- // we can't check .prototype since constructors produced by .bind haven't it
2166
- // `Function#toString` throws on some built-it function in some legacy engines
2167
- // (for example, `DOMQuad` and similar in FF41-)
2168
- return INCORRECT_TO_STRING || !!exec$1(constructorRegExp, inspectSource$1(argument));
2187
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
2188
+ Object.defineProperty([], 'length', { writable: false }).length = 1;
2169
2189
  } catch (error) {
2170
- return true;
2190
+ return error instanceof TypeError;
2171
2191
  }
2172
- };
2173
-
2174
- isConstructorLegacy.sham = true;
2175
-
2176
- // `IsConstructor` abstract operation
2177
- // https://tc39.es/ecma262/#sec-isconstructor
2178
- var isConstructor$1 = !construct || fails$7(function () {
2179
- var called;
2180
- return isConstructorModern(isConstructorModern.call)
2181
- || !isConstructorModern(Object)
2182
- || !isConstructorModern(function () { called = true; })
2183
- || called;
2184
- }) ? isConstructorLegacy : isConstructorModern;
2192
+ }();
2185
2193
 
2186
- var isConstructor = isConstructor$1;
2187
- var tryToString$2 = tryToString$4;
2194
+ var arraySetLength = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
2195
+ if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
2196
+ throw new $TypeError$1('Cannot set read only .length');
2197
+ } return O.length = length;
2198
+ } : function (O, length) {
2199
+ return O.length = length;
2200
+ };
2188
2201
 
2189
- var $TypeError$7 = TypeError;
2202
+ var $TypeError = TypeError;
2203
+ var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
2190
2204
 
2191
- // `Assert: IsConstructor(argument) is true`
2192
- var aConstructor$1 = function (argument) {
2193
- if (isConstructor(argument)) return argument;
2194
- throw new $TypeError$7(tryToString$2(argument) + ' is not a constructor');
2205
+ var doesNotExceedSafeInteger$1 = function (it) {
2206
+ if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');
2207
+ return it;
2195
2208
  };
2196
2209
 
2197
- var anObject$7 = anObject$e;
2198
- var aConstructor = aConstructor$1;
2199
- var isNullOrUndefined$2 = isNullOrUndefined$5;
2200
- var wellKnownSymbol$6 = wellKnownSymbol$i;
2210
+ var $$2 = _export;
2211
+ var toObject = toObject$4;
2212
+ var lengthOfArrayLike = lengthOfArrayLike$2;
2213
+ var setArrayLength = arraySetLength;
2214
+ var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;
2215
+ var fails$3 = fails$h;
2201
2216
 
2202
- var SPECIES$2 = wellKnownSymbol$6('species');
2217
+ var INCORRECT_TO_LENGTH = fails$3(function () {
2218
+ return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
2219
+ });
2203
2220
 
2204
- // `SpeciesConstructor` abstract operation
2205
- // https://tc39.es/ecma262/#sec-speciesconstructor
2206
- var speciesConstructor$1 = function (O, defaultConstructor) {
2207
- var C = anObject$7(O).constructor;
2208
- var S;
2209
- return C === undefined || isNullOrUndefined$2(S = anObject$7(C)[SPECIES$2]) ? defaultConstructor : aConstructor(S);
2221
+ // V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError
2222
+ // https://bugs.chromium.org/p/v8/issues/detail?id=12681
2223
+ var properErrorOnNonWritableLength = function () {
2224
+ try {
2225
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
2226
+ Object.defineProperty([], 'length', { writable: false }).push();
2227
+ } catch (error) {
2228
+ return error instanceof TypeError;
2229
+ }
2210
2230
  };
2211
2231
 
2212
- var NATIVE_BIND$1 = functionBindNative;
2213
-
2214
- var FunctionPrototype = Function.prototype;
2215
- var apply$2 = FunctionPrototype.apply;
2216
- var call$b = FunctionPrototype.call;
2232
+ var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
2217
2233
 
2218
- // eslint-disable-next-line es/no-reflect -- safe
2219
- var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$b.bind(apply$2) : function () {
2220
- return call$b.apply(apply$2, arguments);
2234
+ // `Array.prototype.push` method
2235
+ // https://tc39.es/ecma262/#sec-array.prototype.push
2236
+ $$2({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
2237
+ // eslint-disable-next-line no-unused-vars -- required for `.length`
2238
+ push: function push(item) {
2239
+ var O = toObject(this);
2240
+ var len = lengthOfArrayLike(O);
2241
+ var argCount = arguments.length;
2242
+ doesNotExceedSafeInteger(len + argCount);
2243
+ for (var i = 0; i < argCount; i++) {
2244
+ O[len] = arguments[i];
2245
+ len++;
2246
+ }
2247
+ setArrayLength(O, len);
2248
+ return len;
2249
+ }
2221
2250
  });
2222
2251
 
2223
- var classofRaw = classofRaw$2;
2224
- var uncurryThis$7 = functionUncurryThis;
2225
-
2226
- var functionUncurryThisClause = function (fn) {
2227
- // Nashorn bug:
2228
- // https://github.com/zloirock/core-js/issues/1128
2229
- // https://github.com/zloirock/core-js/issues/1130
2230
- if (classofRaw(fn) === 'Function') return uncurryThis$7(fn);
2231
- };
2232
-
2233
- var uncurryThis$6 = functionUncurryThisClause;
2234
- var aCallable$5 = aCallable$8;
2235
- var NATIVE_BIND = functionBindNative;
2236
-
2237
- var bind$4 = uncurryThis$6(uncurryThis$6.bind);
2238
-
2239
- // optional / simple context binding
2240
- var functionBindContext = function (fn, that) {
2241
- aCallable$5(fn);
2242
- return that === undefined ? fn : NATIVE_BIND ? bind$4(fn, that) : function (/* ...args */) {
2243
- return fn.apply(that, arguments);
2244
- };
2245
- };
2246
-
2247
- var uncurryThis$5 = functionUncurryThis;
2248
-
2249
- var arraySlice$1 = uncurryThis$5([].slice);
2250
-
2251
- var $TypeError$6 = TypeError;
2252
-
2253
- var validateArgumentsLength$1 = function (passed, required) {
2254
- if (passed < required) throw new $TypeError$6('Not enough arguments');
2255
- return passed;
2256
- };
2257
-
2258
- var userAgent$2 = engineUserAgent;
2259
-
2260
- // eslint-disable-next-line redos/no-vulnerable -- safe
2261
- var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
2262
-
2263
- var global$9 = global$l;
2264
- var apply$1 = functionApply;
2265
- var bind$3 = functionBindContext;
2266
- var isCallable$6 = isCallable$m;
2267
- var hasOwn = hasOwnProperty_1;
2268
- var fails$6 = fails$l;
2269
- var html = html$2;
2270
- var arraySlice = arraySlice$1;
2271
- var createElement = documentCreateElement$2;
2272
- var validateArgumentsLength = validateArgumentsLength$1;
2273
- var IS_IOS$1 = engineIsIos;
2274
- var IS_NODE$3 = engineIsNode;
2275
-
2276
- var set = global$9.setImmediate;
2277
- var clear = global$9.clearImmediate;
2278
- var process$2 = global$9.process;
2279
- var Dispatch = global$9.Dispatch;
2280
- var Function$1 = global$9.Function;
2281
- var MessageChannel = global$9.MessageChannel;
2282
- var String$1 = global$9.String;
2283
- var counter = 0;
2284
- var queue$2 = {};
2285
- var ONREADYSTATECHANGE = 'onreadystatechange';
2286
- var $location, defer, channel, port;
2287
-
2288
- fails$6(function () {
2289
- // Deno throws a ReferenceError on `location` access without `--location` flag
2290
- $location = global$9.location;
2291
- });
2292
-
2293
- var run = function (id) {
2294
- if (hasOwn(queue$2, id)) {
2295
- var fn = queue$2[id];
2296
- delete queue$2[id];
2297
- fn();
2298
- }
2299
- };
2300
-
2301
- var runner = function (id) {
2302
- return function () {
2303
- run(id);
2304
- };
2305
- };
2306
-
2307
- var eventListener = function (event) {
2308
- run(event.data);
2309
- };
2310
-
2311
- var globalPostMessageDefer = function (id) {
2312
- // old engines have not location.origin
2313
- global$9.postMessage(String$1(id), $location.protocol + '//' + $location.host);
2314
- };
2315
-
2316
- // Node.js 0.9+ & IE10+ has setImmediate, otherwise:
2317
- if (!set || !clear) {
2318
- set = function setImmediate(handler) {
2319
- validateArgumentsLength(arguments.length, 1);
2320
- var fn = isCallable$6(handler) ? handler : Function$1(handler);
2321
- var args = arraySlice(arguments, 1);
2322
- queue$2[++counter] = function () {
2323
- apply$1(fn, undefined, args);
2324
- };
2325
- defer(counter);
2326
- return counter;
2327
- };
2328
- clear = function clearImmediate(id) {
2329
- delete queue$2[id];
2330
- };
2331
- // Node.js 0.8-
2332
- if (IS_NODE$3) {
2333
- defer = function (id) {
2334
- process$2.nextTick(runner(id));
2335
- };
2336
- // Sphere (JS game engine) Dispatch API
2337
- } else if (Dispatch && Dispatch.now) {
2338
- defer = function (id) {
2339
- Dispatch.now(runner(id));
2340
- };
2341
- // Browsers with MessageChannel, includes WebWorkers
2342
- // except iOS - https://github.com/zloirock/core-js/issues/624
2343
- } else if (MessageChannel && !IS_IOS$1) {
2344
- channel = new MessageChannel();
2345
- port = channel.port2;
2346
- channel.port1.onmessage = eventListener;
2347
- defer = bind$3(port.postMessage, port);
2348
- // Browsers with postMessage, skip WebWorkers
2349
- // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
2350
- } else if (
2351
- global$9.addEventListener &&
2352
- isCallable$6(global$9.postMessage) &&
2353
- !global$9.importScripts &&
2354
- $location && $location.protocol !== 'file:' &&
2355
- !fails$6(globalPostMessageDefer)
2356
- ) {
2357
- defer = globalPostMessageDefer;
2358
- global$9.addEventListener('message', eventListener, false);
2359
- // IE8-
2360
- } else if (ONREADYSTATECHANGE in createElement('script')) {
2361
- defer = function (id) {
2362
- html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () {
2363
- html.removeChild(this);
2364
- run(id);
2365
- };
2366
- };
2367
- // Rest old browsers
2368
- } else {
2369
- defer = function (id) {
2370
- setTimeout(runner(id), 0);
2371
- };
2372
- }
2373
- }
2374
-
2375
- var task$1 = {
2376
- set: set,
2377
- clear: clear
2378
- };
2379
-
2380
- var global$8 = global$l;
2381
- var DESCRIPTORS$1 = descriptors;
2382
-
2383
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
2384
- var getOwnPropertyDescriptor$2 = Object.getOwnPropertyDescriptor;
2385
-
2386
- // Avoid NodeJS experimental warning
2387
- var safeGetBuiltIn$1 = function (name) {
2388
- if (!DESCRIPTORS$1) return global$8[name];
2389
- var descriptor = getOwnPropertyDescriptor$2(global$8, name);
2390
- return descriptor && descriptor.value;
2391
- };
2392
-
2393
- var Queue$2 = function () {
2394
- this.head = null;
2395
- this.tail = null;
2396
- };
2397
-
2398
- Queue$2.prototype = {
2399
- add: function (item) {
2400
- var entry = { item: item, next: null };
2401
- var tail = this.tail;
2402
- if (tail) tail.next = entry;
2403
- else this.head = entry;
2404
- this.tail = entry;
2405
- },
2406
- get: function () {
2407
- var entry = this.head;
2408
- if (entry) {
2409
- var next = this.head = entry.next;
2410
- if (next === null) this.tail = null;
2411
- return entry.item;
2412
- }
2413
- }
2414
- };
2415
-
2416
- var queue$1 = Queue$2;
2417
-
2418
- var userAgent$1 = engineUserAgent;
2419
-
2420
- var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$1) && typeof Pebble != 'undefined';
2421
-
2422
- var userAgent = engineUserAgent;
2423
-
2424
- var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
2425
-
2426
- var global$7 = global$l;
2427
- var safeGetBuiltIn = safeGetBuiltIn$1;
2428
- var bind$2 = functionBindContext;
2429
- var macrotask = task$1.set;
2430
- var Queue$1 = queue$1;
2431
- var IS_IOS = engineIsIos;
2432
- var IS_IOS_PEBBLE = engineIsIosPebble;
2433
- var IS_WEBOS_WEBKIT = engineIsWebosWebkit;
2434
- var IS_NODE$2 = engineIsNode;
2435
-
2436
- var MutationObserver = global$7.MutationObserver || global$7.WebKitMutationObserver;
2437
- var document$2 = global$7.document;
2438
- var process$1 = global$7.process;
2439
- var Promise$1 = global$7.Promise;
2440
- var microtask$1 = safeGetBuiltIn('queueMicrotask');
2441
- var notify$1, toggle, node, promise, then;
2442
-
2443
- // modern engines have queueMicrotask method
2444
- if (!microtask$1) {
2445
- var queue = new Queue$1();
2446
-
2447
- var flush = function () {
2448
- var parent, fn;
2449
- if (IS_NODE$2 && (parent = process$1.domain)) parent.exit();
2450
- while (fn = queue.get()) try {
2451
- fn();
2452
- } catch (error) {
2453
- if (queue.head) notify$1();
2454
- throw error;
2455
- }
2456
- if (parent) parent.enter();
2457
- };
2458
-
2459
- // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339
2460
- // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898
2461
- if (!IS_IOS && !IS_NODE$2 && !IS_WEBOS_WEBKIT && MutationObserver && document$2) {
2462
- toggle = true;
2463
- node = document$2.createTextNode('');
2464
- new MutationObserver(flush).observe(node, { characterData: true });
2465
- notify$1 = function () {
2466
- node.data = toggle = !toggle;
2467
- };
2468
- // environments with maybe non-completely correct, but existent Promise
2469
- } else if (!IS_IOS_PEBBLE && Promise$1 && Promise$1.resolve) {
2470
- // Promise.resolve without an argument throws an error in LG WebOS 2
2471
- promise = Promise$1.resolve(undefined);
2472
- // workaround of WebKit ~ iOS Safari 10.1 bug
2473
- promise.constructor = Promise$1;
2474
- then = bind$2(promise.then, promise);
2475
- notify$1 = function () {
2476
- then(flush);
2477
- };
2478
- // Node.js without promises
2479
- } else if (IS_NODE$2) {
2480
- notify$1 = function () {
2481
- process$1.nextTick(flush);
2482
- };
2483
- // for other environments - macrotask based on:
2484
- // - setImmediate
2485
- // - MessageChannel
2486
- // - window.postMessage
2487
- // - onreadystatechange
2488
- // - setTimeout
2489
- } else {
2490
- // `webpack` dev server bug on IE global methods - use bind(fn, global)
2491
- macrotask = bind$2(macrotask, global$7);
2492
- notify$1 = function () {
2493
- macrotask(flush);
2494
- };
2495
- }
2496
-
2497
- microtask$1 = function (fn) {
2498
- if (!queue.head) notify$1();
2499
- queue.add(fn);
2500
- };
2501
- }
2502
-
2503
- var microtask_1 = microtask$1;
2504
-
2505
- var hostReportErrors$1 = function (a, b) {
2506
- try {
2507
- // eslint-disable-next-line no-console -- safe
2508
- arguments.length === 1 ? console.error(a) : console.error(a, b);
2509
- } catch (error) { /* empty */ }
2510
- };
2511
-
2512
- var perform$3 = function (exec) {
2513
- try {
2514
- return { error: false, value: exec() };
2515
- } catch (error) {
2516
- return { error: true, value: error };
2517
- }
2518
- };
2519
-
2520
- var global$6 = global$l;
2521
-
2522
- var promiseNativeConstructor = global$6.Promise;
2523
-
2524
- /* global Deno -- Deno case */
2525
- var engineIsDeno = typeof Deno == 'object' && Deno && typeof Deno.version == 'object';
2526
-
2527
- var IS_DENO$1 = engineIsDeno;
2528
- var IS_NODE$1 = engineIsNode;
2529
-
2530
- var engineIsBrowser = !IS_DENO$1 && !IS_NODE$1
2531
- && typeof window == 'object'
2532
- && typeof document == 'object';
2533
-
2534
- var global$5 = global$l;
2535
- var NativePromiseConstructor$3 = promiseNativeConstructor;
2536
- var isCallable$5 = isCallable$m;
2537
- var isForced = isForced_1;
2538
- var inspectSource = inspectSource$3;
2539
- var wellKnownSymbol$5 = wellKnownSymbol$i;
2540
- var IS_BROWSER = engineIsBrowser;
2541
- var IS_DENO = engineIsDeno;
2542
- var V8_VERSION = engineV8Version;
2543
-
2544
- NativePromiseConstructor$3 && NativePromiseConstructor$3.prototype;
2545
- var SPECIES$1 = wellKnownSymbol$5('species');
2546
- var SUBCLASSING = false;
2547
- var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$5(global$5.PromiseRejectionEvent);
2548
-
2549
- var FORCED_PROMISE_CONSTRUCTOR$5 = isForced('Promise', function () {
2550
- var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor$3);
2551
- var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(NativePromiseConstructor$3);
2552
- // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables
2553
- // https://bugs.chromium.org/p/chromium/issues/detail?id=830565
2554
- // We can't detect it synchronously, so just check versions
2555
- if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true;
2556
- // We can't use @@species feature detection in V8 since it causes
2557
- // deoptimization and performance degradation
2558
- // https://github.com/zloirock/core-js/issues/679
2559
- if (!V8_VERSION || V8_VERSION < 51 || !/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) {
2560
- // Detect correctness of subclassing with @@species support
2561
- var promise = new NativePromiseConstructor$3(function (resolve) { resolve(1); });
2562
- var FakePromise = function (exec) {
2563
- exec(function () { /* empty */ }, function () { /* empty */ });
2564
- };
2565
- var constructor = promise.constructor = {};
2566
- constructor[SPECIES$1] = FakePromise;
2567
- SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;
2568
- if (!SUBCLASSING) return true;
2569
- // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test
2570
- } return !GLOBAL_CORE_JS_PROMISE && (IS_BROWSER || IS_DENO) && !NATIVE_PROMISE_REJECTION_EVENT$1;
2571
- });
2572
-
2573
- var promiseConstructorDetection = {
2574
- CONSTRUCTOR: FORCED_PROMISE_CONSTRUCTOR$5,
2575
- REJECTION_EVENT: NATIVE_PROMISE_REJECTION_EVENT$1,
2576
- SUBCLASSING: SUBCLASSING
2577
- };
2578
-
2579
- var newPromiseCapability$2 = {};
2580
-
2581
- var aCallable$4 = aCallable$8;
2582
-
2583
- var $TypeError$5 = TypeError;
2584
-
2585
- var PromiseCapability = function (C) {
2586
- var resolve, reject;
2587
- this.promise = new C(function ($$resolve, $$reject) {
2588
- if (resolve !== undefined || reject !== undefined) throw new $TypeError$5('Bad Promise constructor');
2589
- resolve = $$resolve;
2590
- reject = $$reject;
2591
- });
2592
- this.resolve = aCallable$4(resolve);
2593
- this.reject = aCallable$4(reject);
2594
- };
2595
-
2596
- // `NewPromiseCapability` abstract operation
2597
- // https://tc39.es/ecma262/#sec-newpromisecapability
2598
- newPromiseCapability$2.f = function (C) {
2599
- return new PromiseCapability(C);
2600
- };
2601
-
2602
- var $$9 = _export;
2603
- var IS_NODE = engineIsNode;
2604
- var global$4 = global$l;
2605
- var call$a = functionCall;
2606
- var defineBuiltIn$2 = defineBuiltIn$7;
2607
- var setPrototypeOf = objectSetPrototypeOf;
2608
- var setToStringTag = setToStringTag$4;
2609
- var setSpecies = setSpecies$1;
2610
- var aCallable$3 = aCallable$8;
2611
- var isCallable$4 = isCallable$m;
2612
- var isObject$1 = isObject$b;
2613
- var anInstance = anInstance$1;
2614
- var speciesConstructor = speciesConstructor$1;
2615
- var task = task$1.set;
2616
- var microtask = microtask_1;
2617
- var hostReportErrors = hostReportErrors$1;
2618
- var perform$2 = perform$3;
2619
- var Queue = queue$1;
2620
- var InternalStateModule = internalState;
2621
- var NativePromiseConstructor$2 = promiseNativeConstructor;
2622
- var PromiseConstructorDetection = promiseConstructorDetection;
2623
- var newPromiseCapabilityModule$3 = newPromiseCapability$2;
2624
-
2625
- var PROMISE = 'Promise';
2626
- var FORCED_PROMISE_CONSTRUCTOR$4 = PromiseConstructorDetection.CONSTRUCTOR;
2627
- var NATIVE_PROMISE_REJECTION_EVENT = PromiseConstructorDetection.REJECTION_EVENT;
2628
- var NATIVE_PROMISE_SUBCLASSING = PromiseConstructorDetection.SUBCLASSING;
2629
- var getInternalPromiseState = InternalStateModule.getterFor(PROMISE);
2630
- var setInternalState = InternalStateModule.set;
2631
- var NativePromisePrototype$1 = NativePromiseConstructor$2 && NativePromiseConstructor$2.prototype;
2632
- var PromiseConstructor = NativePromiseConstructor$2;
2633
- var PromisePrototype = NativePromisePrototype$1;
2634
- var TypeError$1 = global$4.TypeError;
2635
- var document$1 = global$4.document;
2636
- var process = global$4.process;
2637
- var newPromiseCapability$1 = newPromiseCapabilityModule$3.f;
2638
- var newGenericPromiseCapability = newPromiseCapability$1;
2639
-
2640
- var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$4.dispatchEvent);
2641
- var UNHANDLED_REJECTION = 'unhandledrejection';
2642
- var REJECTION_HANDLED = 'rejectionhandled';
2643
- var PENDING = 0;
2644
- var FULFILLED = 1;
2645
- var REJECTED = 2;
2646
- var HANDLED = 1;
2647
- var UNHANDLED = 2;
2648
-
2649
- var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;
2650
-
2651
- // helpers
2652
- var isThenable = function (it) {
2653
- var then;
2654
- return isObject$1(it) && isCallable$4(then = it.then) ? then : false;
2655
- };
2656
-
2657
- var callReaction = function (reaction, state) {
2658
- var value = state.value;
2659
- var ok = state.state === FULFILLED;
2660
- var handler = ok ? reaction.ok : reaction.fail;
2661
- var resolve = reaction.resolve;
2662
- var reject = reaction.reject;
2663
- var domain = reaction.domain;
2664
- var result, then, exited;
2665
- try {
2666
- if (handler) {
2667
- if (!ok) {
2668
- if (state.rejection === UNHANDLED) onHandleUnhandled(state);
2669
- state.rejection = HANDLED;
2670
- }
2671
- if (handler === true) result = value;
2672
- else {
2673
- if (domain) domain.enter();
2674
- result = handler(value); // can throw
2675
- if (domain) {
2676
- domain.exit();
2677
- exited = true;
2678
- }
2679
- }
2680
- if (result === reaction.promise) {
2681
- reject(new TypeError$1('Promise-chain cycle'));
2682
- } else if (then = isThenable(result)) {
2683
- call$a(then, result, resolve, reject);
2684
- } else resolve(result);
2685
- } else reject(value);
2686
- } catch (error) {
2687
- if (domain && !exited) domain.exit();
2688
- reject(error);
2689
- }
2690
- };
2691
-
2692
- var notify = function (state, isReject) {
2693
- if (state.notified) return;
2694
- state.notified = true;
2695
- microtask(function () {
2696
- var reactions = state.reactions;
2697
- var reaction;
2698
- while (reaction = reactions.get()) {
2699
- callReaction(reaction, state);
2700
- }
2701
- state.notified = false;
2702
- if (isReject && !state.rejection) onUnhandled(state);
2703
- });
2704
- };
2705
-
2706
- var dispatchEvent = function (name, promise, reason) {
2707
- var event, handler;
2708
- if (DISPATCH_EVENT) {
2709
- event = document$1.createEvent('Event');
2710
- event.promise = promise;
2711
- event.reason = reason;
2712
- event.initEvent(name, false, true);
2713
- global$4.dispatchEvent(event);
2714
- } else event = { promise: promise, reason: reason };
2715
- if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$4['on' + name])) handler(event);
2716
- else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
2717
- };
2718
-
2719
- var onUnhandled = function (state) {
2720
- call$a(task, global$4, function () {
2721
- var promise = state.facade;
2722
- var value = state.value;
2723
- var IS_UNHANDLED = isUnhandled(state);
2724
- var result;
2725
- if (IS_UNHANDLED) {
2726
- result = perform$2(function () {
2727
- if (IS_NODE) {
2728
- process.emit('unhandledRejection', value, promise);
2729
- } else dispatchEvent(UNHANDLED_REJECTION, promise, value);
2730
- });
2731
- // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should
2732
- state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED;
2733
- if (result.error) throw result.value;
2734
- }
2735
- });
2736
- };
2737
-
2738
- var isUnhandled = function (state) {
2739
- return state.rejection !== HANDLED && !state.parent;
2740
- };
2741
-
2742
- var onHandleUnhandled = function (state) {
2743
- call$a(task, global$4, function () {
2744
- var promise = state.facade;
2745
- if (IS_NODE) {
2746
- process.emit('rejectionHandled', promise);
2747
- } else dispatchEvent(REJECTION_HANDLED, promise, state.value);
2748
- });
2749
- };
2750
-
2751
- var bind$1 = function (fn, state, unwrap) {
2752
- return function (value) {
2753
- fn(state, value, unwrap);
2754
- };
2755
- };
2756
-
2757
- var internalReject = function (state, value, unwrap) {
2758
- if (state.done) return;
2759
- state.done = true;
2760
- if (unwrap) state = unwrap;
2761
- state.value = value;
2762
- state.state = REJECTED;
2763
- notify(state, true);
2764
- };
2765
-
2766
- var internalResolve = function (state, value, unwrap) {
2767
- if (state.done) return;
2768
- state.done = true;
2769
- if (unwrap) state = unwrap;
2770
- try {
2771
- if (state.facade === value) throw new TypeError$1("Promise can't be resolved itself");
2772
- var then = isThenable(value);
2773
- if (then) {
2774
- microtask(function () {
2775
- var wrapper = { done: false };
2776
- try {
2777
- call$a(then, value,
2778
- bind$1(internalResolve, wrapper, state),
2779
- bind$1(internalReject, wrapper, state)
2780
- );
2781
- } catch (error) {
2782
- internalReject(wrapper, error, state);
2783
- }
2784
- });
2785
- } else {
2786
- state.value = value;
2787
- state.state = FULFILLED;
2788
- notify(state, false);
2789
- }
2790
- } catch (error) {
2791
- internalReject({ done: false }, error, state);
2792
- }
2793
- };
2794
-
2795
- // constructor polyfill
2796
- if (FORCED_PROMISE_CONSTRUCTOR$4) {
2797
- // 25.4.3.1 Promise(executor)
2798
- PromiseConstructor = function Promise(executor) {
2799
- anInstance(this, PromisePrototype);
2800
- aCallable$3(executor);
2801
- call$a(Internal, this);
2802
- var state = getInternalPromiseState(this);
2803
- try {
2804
- executor(bind$1(internalResolve, state), bind$1(internalReject, state));
2805
- } catch (error) {
2806
- internalReject(state, error);
2807
- }
2808
- };
2809
-
2810
- PromisePrototype = PromiseConstructor.prototype;
2811
-
2812
- // eslint-disable-next-line no-unused-vars -- required for `.length`
2813
- Internal = function Promise(executor) {
2814
- setInternalState(this, {
2815
- type: PROMISE,
2816
- done: false,
2817
- notified: false,
2818
- parent: false,
2819
- reactions: new Queue(),
2820
- rejection: false,
2821
- state: PENDING,
2822
- value: undefined
2823
- });
2824
- };
2825
-
2826
- // `Promise.prototype.then` method
2827
- // https://tc39.es/ecma262/#sec-promise.prototype.then
2828
- Internal.prototype = defineBuiltIn$2(PromisePrototype, 'then', function then(onFulfilled, onRejected) {
2829
- var state = getInternalPromiseState(this);
2830
- var reaction = newPromiseCapability$1(speciesConstructor(this, PromiseConstructor));
2831
- state.parent = true;
2832
- reaction.ok = isCallable$4(onFulfilled) ? onFulfilled : true;
2833
- reaction.fail = isCallable$4(onRejected) && onRejected;
2834
- reaction.domain = IS_NODE ? process.domain : undefined;
2835
- if (state.state === PENDING) state.reactions.add(reaction);
2836
- else microtask(function () {
2837
- callReaction(reaction, state);
2838
- });
2839
- return reaction.promise;
2840
- });
2841
-
2842
- OwnPromiseCapability = function () {
2843
- var promise = new Internal();
2844
- var state = getInternalPromiseState(promise);
2845
- this.promise = promise;
2846
- this.resolve = bind$1(internalResolve, state);
2847
- this.reject = bind$1(internalReject, state);
2848
- };
2849
-
2850
- newPromiseCapabilityModule$3.f = newPromiseCapability$1 = function (C) {
2851
- return C === PromiseConstructor || C === PromiseWrapper
2852
- ? new OwnPromiseCapability(C)
2853
- : newGenericPromiseCapability(C);
2854
- };
2855
-
2856
- if (isCallable$4(NativePromiseConstructor$2) && NativePromisePrototype$1 !== Object.prototype) {
2857
- nativeThen = NativePromisePrototype$1.then;
2858
-
2859
- if (!NATIVE_PROMISE_SUBCLASSING) {
2860
- // make `Promise#then` return a polyfilled `Promise` for native promise-based APIs
2861
- defineBuiltIn$2(NativePromisePrototype$1, 'then', function then(onFulfilled, onRejected) {
2862
- var that = this;
2863
- return new PromiseConstructor(function (resolve, reject) {
2864
- call$a(nativeThen, that, resolve, reject);
2865
- }).then(onFulfilled, onRejected);
2866
- // https://github.com/zloirock/core-js/issues/640
2867
- }, { unsafe: true });
2868
- }
2869
-
2870
- // make `.constructor === Promise` work for native promise-based APIs
2871
- try {
2872
- delete NativePromisePrototype$1.constructor;
2873
- } catch (error) { /* empty */ }
2874
-
2875
- // make `instanceof Promise` work for native promise-based APIs
2876
- if (setPrototypeOf) {
2877
- setPrototypeOf(NativePromisePrototype$1, PromisePrototype);
2878
- }
2879
- }
2880
- }
2881
-
2882
- $$9({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR$4 }, {
2883
- Promise: PromiseConstructor
2884
- });
2885
-
2886
- setToStringTag(PromiseConstructor, PROMISE, false);
2887
- setSpecies(PROMISE);
2888
-
2889
- var wellKnownSymbol$4 = wellKnownSymbol$i;
2890
- var Iterators$1 = iterators;
2891
-
2892
- var ITERATOR$2 = wellKnownSymbol$4('iterator');
2893
- var ArrayPrototype = Array.prototype;
2894
-
2895
- // check on default Array iterator
2896
- var isArrayIteratorMethod$1 = function (it) {
2897
- return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$2] === it);
2898
- };
2899
-
2900
- var classof$2 = classof$7;
2901
- var getMethod$2 = getMethod$4;
2902
- var isNullOrUndefined$1 = isNullOrUndefined$5;
2903
- var Iterators = iterators;
2904
- var wellKnownSymbol$3 = wellKnownSymbol$i;
2905
-
2906
- var ITERATOR$1 = wellKnownSymbol$3('iterator');
2907
-
2908
- var getIteratorMethod$2 = function (it) {
2909
- if (!isNullOrUndefined$1(it)) return getMethod$2(it, ITERATOR$1)
2910
- || getMethod$2(it, '@@iterator')
2911
- || Iterators[classof$2(it)];
2912
- };
2913
-
2914
- var call$9 = functionCall;
2915
- var aCallable$2 = aCallable$8;
2916
- var anObject$6 = anObject$e;
2917
- var tryToString$1 = tryToString$4;
2918
- var getIteratorMethod$1 = getIteratorMethod$2;
2919
-
2920
- var $TypeError$4 = TypeError;
2921
-
2922
- var getIterator$1 = function (argument, usingIterator) {
2923
- var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
2924
- if (aCallable$2(iteratorMethod)) return anObject$6(call$9(iteratorMethod, argument));
2925
- throw new $TypeError$4(tryToString$1(argument) + ' is not iterable');
2926
- };
2927
-
2928
- var call$8 = functionCall;
2929
- var anObject$5 = anObject$e;
2930
- var getMethod$1 = getMethod$4;
2931
-
2932
- var iteratorClose$1 = function (iterator, kind, value) {
2933
- var innerResult, innerError;
2934
- anObject$5(iterator);
2935
- try {
2936
- innerResult = getMethod$1(iterator, 'return');
2937
- if (!innerResult) {
2938
- if (kind === 'throw') throw value;
2939
- return value;
2940
- }
2941
- innerResult = call$8(innerResult, iterator);
2942
- } catch (error) {
2943
- innerError = true;
2944
- innerResult = error;
2945
- }
2946
- if (kind === 'throw') throw value;
2947
- if (innerError) throw innerResult;
2948
- anObject$5(innerResult);
2949
- return value;
2950
- };
2951
-
2952
- var bind = functionBindContext;
2953
- var call$7 = functionCall;
2954
- var anObject$4 = anObject$e;
2955
- var tryToString = tryToString$4;
2956
- var isArrayIteratorMethod = isArrayIteratorMethod$1;
2957
- var lengthOfArrayLike$1 = lengthOfArrayLike$3;
2958
- var isPrototypeOf = objectIsPrototypeOf;
2959
- var getIterator = getIterator$1;
2960
- var getIteratorMethod = getIteratorMethod$2;
2961
- var iteratorClose = iteratorClose$1;
2962
-
2963
- var $TypeError$3 = TypeError;
2964
-
2965
- var Result = function (stopped, result) {
2966
- this.stopped = stopped;
2967
- this.result = result;
2968
- };
2969
-
2970
- var ResultPrototype = Result.prototype;
2971
-
2972
- var iterate$2 = function (iterable, unboundFunction, options) {
2973
- var that = options && options.that;
2974
- var AS_ENTRIES = !!(options && options.AS_ENTRIES);
2975
- var IS_RECORD = !!(options && options.IS_RECORD);
2976
- var IS_ITERATOR = !!(options && options.IS_ITERATOR);
2977
- var INTERRUPTED = !!(options && options.INTERRUPTED);
2978
- var fn = bind(unboundFunction, that);
2979
- var iterator, iterFn, index, length, result, next, step;
2980
-
2981
- var stop = function (condition) {
2982
- if (iterator) iteratorClose(iterator, 'normal', condition);
2983
- return new Result(true, condition);
2984
- };
2985
-
2986
- var callFn = function (value) {
2987
- if (AS_ENTRIES) {
2988
- anObject$4(value);
2989
- return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
2990
- } return INTERRUPTED ? fn(value, stop) : fn(value);
2991
- };
2992
-
2993
- if (IS_RECORD) {
2994
- iterator = iterable.iterator;
2995
- } else if (IS_ITERATOR) {
2996
- iterator = iterable;
2997
- } else {
2998
- iterFn = getIteratorMethod(iterable);
2999
- if (!iterFn) throw new $TypeError$3(tryToString(iterable) + ' is not iterable');
3000
- // optimisation for array iterators
3001
- if (isArrayIteratorMethod(iterFn)) {
3002
- for (index = 0, length = lengthOfArrayLike$1(iterable); length > index; index++) {
3003
- result = callFn(iterable[index]);
3004
- if (result && isPrototypeOf(ResultPrototype, result)) return result;
3005
- } return new Result(false);
3006
- }
3007
- iterator = getIterator(iterable, iterFn);
3008
- }
3009
-
3010
- next = IS_RECORD ? iterable.next : iterator.next;
3011
- while (!(step = call$7(next, iterator)).done) {
3012
- try {
3013
- result = callFn(step.value);
3014
- } catch (error) {
3015
- iteratorClose(iterator, 'throw', error);
3016
- }
3017
- if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;
3018
- } return new Result(false);
3019
- };
3020
-
3021
- var wellKnownSymbol$2 = wellKnownSymbol$i;
3022
-
3023
- var ITERATOR = wellKnownSymbol$2('iterator');
3024
- var SAFE_CLOSING = false;
3025
-
3026
- try {
3027
- var called = 0;
3028
- var iteratorWithReturn = {
3029
- next: function () {
3030
- return { done: !!called++ };
3031
- },
3032
- 'return': function () {
3033
- SAFE_CLOSING = true;
3034
- }
3035
- };
3036
- iteratorWithReturn[ITERATOR] = function () {
3037
- return this;
3038
- };
3039
- // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing
3040
- Array.from(iteratorWithReturn, function () { throw 2; });
3041
- } catch (error) { /* empty */ }
3042
-
3043
- var checkCorrectnessOfIteration$1 = function (exec, SKIP_CLOSING) {
3044
- try {
3045
- if (!SKIP_CLOSING && !SAFE_CLOSING) return false;
3046
- } catch (error) { return false; } // workaround of old WebKit + `eval` bug
3047
- var ITERATION_SUPPORT = false;
3048
- try {
3049
- var object = {};
3050
- object[ITERATOR] = function () {
3051
- return {
3052
- next: function () {
3053
- return { done: ITERATION_SUPPORT = true };
3054
- }
3055
- };
3056
- };
3057
- exec(object);
3058
- } catch (error) { /* empty */ }
3059
- return ITERATION_SUPPORT;
3060
- };
3061
-
3062
- var NativePromiseConstructor$1 = promiseNativeConstructor;
3063
- var checkCorrectnessOfIteration = checkCorrectnessOfIteration$1;
3064
- var FORCED_PROMISE_CONSTRUCTOR$3 = promiseConstructorDetection.CONSTRUCTOR;
3065
-
3066
- var promiseStaticsIncorrectIteration = FORCED_PROMISE_CONSTRUCTOR$3 || !checkCorrectnessOfIteration(function (iterable) {
3067
- NativePromiseConstructor$1.all(iterable).then(undefined, function () { /* empty */ });
3068
- });
3069
-
3070
- var $$8 = _export;
3071
- var call$6 = functionCall;
3072
- var aCallable$1 = aCallable$8;
3073
- var newPromiseCapabilityModule$2 = newPromiseCapability$2;
3074
- var perform$1 = perform$3;
3075
- var iterate$1 = iterate$2;
3076
- var PROMISE_STATICS_INCORRECT_ITERATION$1 = promiseStaticsIncorrectIteration;
3077
-
3078
- // `Promise.all` method
3079
- // https://tc39.es/ecma262/#sec-promise.all
3080
- $$8({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION$1 }, {
3081
- all: function all(iterable) {
3082
- var C = this;
3083
- var capability = newPromiseCapabilityModule$2.f(C);
3084
- var resolve = capability.resolve;
3085
- var reject = capability.reject;
3086
- var result = perform$1(function () {
3087
- var $promiseResolve = aCallable$1(C.resolve);
3088
- var values = [];
3089
- var counter = 0;
3090
- var remaining = 1;
3091
- iterate$1(iterable, function (promise) {
3092
- var index = counter++;
3093
- var alreadyCalled = false;
3094
- remaining++;
3095
- call$6($promiseResolve, C, promise).then(function (value) {
3096
- if (alreadyCalled) return;
3097
- alreadyCalled = true;
3098
- values[index] = value;
3099
- --remaining || resolve(values);
3100
- }, reject);
3101
- });
3102
- --remaining || resolve(values);
3103
- });
3104
- if (result.error) reject(result.value);
3105
- return capability.promise;
3106
- }
3107
- });
3108
-
3109
- var $$7 = _export;
3110
- var FORCED_PROMISE_CONSTRUCTOR$2 = promiseConstructorDetection.CONSTRUCTOR;
3111
- var NativePromiseConstructor = promiseNativeConstructor;
3112
- var getBuiltIn$1 = getBuiltIn$7;
3113
- var isCallable$3 = isCallable$m;
3114
- var defineBuiltIn$1 = defineBuiltIn$7;
3115
-
3116
- var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
3117
-
3118
- // `Promise.prototype.catch` method
3119
- // https://tc39.es/ecma262/#sec-promise.prototype.catch
3120
- $$7({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR$2, real: true }, {
3121
- 'catch': function (onRejected) {
3122
- return this.then(undefined, onRejected);
3123
- }
3124
- });
3125
-
3126
- // makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`
3127
- if (isCallable$3(NativePromiseConstructor)) {
3128
- var method = getBuiltIn$1('Promise').prototype['catch'];
3129
- if (NativePromisePrototype['catch'] !== method) {
3130
- defineBuiltIn$1(NativePromisePrototype, 'catch', method, { unsafe: true });
3131
- }
3132
- }
3133
-
3134
- var $$6 = _export;
3135
- var call$5 = functionCall;
3136
- var aCallable = aCallable$8;
3137
- var newPromiseCapabilityModule$1 = newPromiseCapability$2;
3138
- var perform = perform$3;
3139
- var iterate = iterate$2;
3140
- var PROMISE_STATICS_INCORRECT_ITERATION = promiseStaticsIncorrectIteration;
3141
-
3142
- // `Promise.race` method
3143
- // https://tc39.es/ecma262/#sec-promise.race
3144
- $$6({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
3145
- race: function race(iterable) {
3146
- var C = this;
3147
- var capability = newPromiseCapabilityModule$1.f(C);
3148
- var reject = capability.reject;
3149
- var result = perform(function () {
3150
- var $promiseResolve = aCallable(C.resolve);
3151
- iterate(iterable, function (promise) {
3152
- call$5($promiseResolve, C, promise).then(capability.resolve, reject);
3153
- });
3154
- });
3155
- if (result.error) reject(result.value);
3156
- return capability.promise;
3157
- }
3158
- });
3159
-
3160
- var $$5 = _export;
3161
- var newPromiseCapabilityModule = newPromiseCapability$2;
3162
- var FORCED_PROMISE_CONSTRUCTOR$1 = promiseConstructorDetection.CONSTRUCTOR;
3163
-
3164
- // `Promise.reject` method
3165
- // https://tc39.es/ecma262/#sec-promise.reject
3166
- $$5({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
3167
- reject: function reject(r) {
3168
- var capability = newPromiseCapabilityModule.f(this);
3169
- var capabilityReject = capability.reject;
3170
- capabilityReject(r);
3171
- return capability.promise;
3172
- }
3173
- });
3174
-
3175
- var anObject$3 = anObject$e;
3176
- var isObject = isObject$b;
3177
- var newPromiseCapability = newPromiseCapability$2;
3178
-
3179
- var promiseResolve$1 = function (C, x) {
3180
- anObject$3(C);
3181
- if (isObject(x) && x.constructor === C) return x;
3182
- var promiseCapability = newPromiseCapability.f(C);
3183
- var resolve = promiseCapability.resolve;
3184
- resolve(x);
3185
- return promiseCapability.promise;
3186
- };
3187
-
3188
- var $$4 = _export;
3189
- var getBuiltIn = getBuiltIn$7;
3190
- var FORCED_PROMISE_CONSTRUCTOR = promiseConstructorDetection.CONSTRUCTOR;
3191
- var promiseResolve = promiseResolve$1;
3192
-
3193
- getBuiltIn('Promise');
3194
-
3195
- // `Promise.resolve` method
3196
- // https://tc39.es/ecma262/#sec-promise.resolve
3197
- $$4({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
3198
- resolve: function resolve(x) {
3199
- return promiseResolve(this, x);
3200
- }
3201
- });
3202
-
3203
- var fails$5 = fails$l;
3204
- var global$3 = global$l;
2252
+ var fails$2 = fails$h;
2253
+ var global$3 = global$e;
3205
2254
 
3206
2255
  // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
3207
2256
  var $RegExp$2 = global$3.RegExp;
3208
2257
 
3209
- var UNSUPPORTED_Y$1 = fails$5(function () {
2258
+ var UNSUPPORTED_Y$1 = fails$2(function () {
3210
2259
  var re = $RegExp$2('a', 'y');
3211
2260
  re.lastIndex = 2;
3212
2261
  return re.exec('abcd') !== null;
@@ -3214,11 +2263,11 @@ var UNSUPPORTED_Y$1 = fails$5(function () {
3214
2263
 
3215
2264
  // UC Browser bug
3216
2265
  // https://github.com/zloirock/core-js/issues/1008
3217
- var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$5(function () {
2266
+ var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$2(function () {
3218
2267
  return !$RegExp$2('a', 'y').sticky;
3219
2268
  });
3220
2269
 
3221
- var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$5(function () {
2270
+ var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$2(function () {
3222
2271
  // https://bugzilla.mozilla.org/show_bug.cgi?id=773687
3223
2272
  var re = $RegExp$2('^r', 'gy');
3224
2273
  re.lastIndex = 2;
@@ -3231,24 +2280,24 @@ var regexpStickyHelpers = {
3231
2280
  UNSUPPORTED_Y: UNSUPPORTED_Y$1
3232
2281
  };
3233
2282
 
3234
- var fails$4 = fails$l;
3235
- var global$2 = global$l;
2283
+ var fails$1 = fails$h;
2284
+ var global$2 = global$e;
3236
2285
 
3237
2286
  // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
3238
2287
  var $RegExp$1 = global$2.RegExp;
3239
2288
 
3240
- var regexpUnsupportedDotAll = fails$4(function () {
2289
+ var regexpUnsupportedDotAll = fails$1(function () {
3241
2290
  var re = $RegExp$1('.', 's');
3242
2291
  return !(re.dotAll && re.test('\n') && re.flags === 's');
3243
2292
  });
3244
2293
 
3245
- var fails$3 = fails$l;
3246
- var global$1 = global$l;
2294
+ var fails = fails$h;
2295
+ var global$1 = global$e;
3247
2296
 
3248
2297
  // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
3249
2298
  var $RegExp = global$1.RegExp;
3250
2299
 
3251
- var regexpUnsupportedNcg = fails$3(function () {
2300
+ var regexpUnsupportedNcg = fails(function () {
3252
2301
  var re = $RegExp('(?<a>b)', 'g');
3253
2302
  return re.exec('b').groups.a !== 'b' ||
3254
2303
  'b'.replace(re, '$<a>c') !== 'bc';
@@ -3256,9 +2305,9 @@ var regexpUnsupportedNcg = fails$3(function () {
3256
2305
 
3257
2306
  /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
3258
2307
  /* eslint-disable regexp/no-useless-quantifier -- testing */
3259
- var call$4 = functionCall;
3260
- var uncurryThis$4 = functionUncurryThis;
3261
- var toString$4 = toString$6;
2308
+ var call$1 = functionCall;
2309
+ var uncurryThis = functionUncurryThis;
2310
+ var toString$1 = toString$4;
3262
2311
  var regexpFlags = regexpFlags$1;
3263
2312
  var stickyHelpers = regexpStickyHelpers;
3264
2313
  var shared = shared$4;
@@ -3270,16 +2319,16 @@ var UNSUPPORTED_NCG = regexpUnsupportedNcg;
3270
2319
  var nativeReplace = shared('native-string-replace', String.prototype.replace);
3271
2320
  var nativeExec = RegExp.prototype.exec;
3272
2321
  var patchedExec = nativeExec;
3273
- var charAt$3 = uncurryThis$4(''.charAt);
3274
- var indexOf = uncurryThis$4(''.indexOf);
3275
- var replace$1 = uncurryThis$4(''.replace);
3276
- var stringSlice$4 = uncurryThis$4(''.slice);
2322
+ var charAt = uncurryThis(''.charAt);
2323
+ var indexOf = uncurryThis(''.indexOf);
2324
+ var replace = uncurryThis(''.replace);
2325
+ var stringSlice = uncurryThis(''.slice);
3277
2326
 
3278
2327
  var UPDATES_LAST_INDEX_WRONG = (function () {
3279
2328
  var re1 = /a/;
3280
2329
  var re2 = /b*/g;
3281
- call$4(nativeExec, re1, 'a');
3282
- call$4(nativeExec, re2, 'a');
2330
+ call$1(nativeExec, re1, 'a');
2331
+ call$1(nativeExec, re2, 'a');
3283
2332
  return re1.lastIndex !== 0 || re2.lastIndex !== 0;
3284
2333
  })();
3285
2334
 
@@ -3294,33 +2343,33 @@ if (PATCH) {
3294
2343
  patchedExec = function exec(string) {
3295
2344
  var re = this;
3296
2345
  var state = getInternalState(re);
3297
- var str = toString$4(string);
2346
+ var str = toString$1(string);
3298
2347
  var raw = state.raw;
3299
2348
  var result, reCopy, lastIndex, match, i, object, group;
3300
2349
 
3301
2350
  if (raw) {
3302
2351
  raw.lastIndex = re.lastIndex;
3303
- result = call$4(patchedExec, raw, str);
2352
+ result = call$1(patchedExec, raw, str);
3304
2353
  re.lastIndex = raw.lastIndex;
3305
2354
  return result;
3306
2355
  }
3307
2356
 
3308
2357
  var groups = state.groups;
3309
2358
  var sticky = UNSUPPORTED_Y && re.sticky;
3310
- var flags = call$4(regexpFlags, re);
2359
+ var flags = call$1(regexpFlags, re);
3311
2360
  var source = re.source;
3312
2361
  var charsAdded = 0;
3313
2362
  var strCopy = str;
3314
2363
 
3315
2364
  if (sticky) {
3316
- flags = replace$1(flags, 'y', '');
2365
+ flags = replace(flags, 'y', '');
3317
2366
  if (indexOf(flags, 'g') === -1) {
3318
2367
  flags += 'g';
3319
2368
  }
3320
2369
 
3321
- strCopy = stringSlice$4(str, re.lastIndex);
2370
+ strCopy = stringSlice(str, re.lastIndex);
3322
2371
  // Support anchored sticky behavior.
3323
- if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt$3(str, re.lastIndex - 1) !== '\n')) {
2372
+ if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\n')) {
3324
2373
  source = '(?: ' + source + ')';
3325
2374
  strCopy = ' ' + strCopy;
3326
2375
  charsAdded++;
@@ -3335,12 +2384,12 @@ if (PATCH) {
3335
2384
  }
3336
2385
  if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
3337
2386
 
3338
- match = call$4(nativeExec, sticky ? reCopy : re, strCopy);
2387
+ match = call$1(nativeExec, sticky ? reCopy : re, strCopy);
3339
2388
 
3340
2389
  if (sticky) {
3341
2390
  if (match) {
3342
- match.input = stringSlice$4(match.input, charsAdded);
3343
- match[0] = stringSlice$4(match[0], charsAdded);
2391
+ match.input = stringSlice(match.input, charsAdded);
2392
+ match[0] = stringSlice(match[0], charsAdded);
3344
2393
  match.index = re.lastIndex;
3345
2394
  re.lastIndex += match[0].length;
3346
2395
  } else re.lastIndex = 0;
@@ -3350,7 +2399,7 @@ if (PATCH) {
3350
2399
  if (NPCG_INCLUDED && match && match.length > 1) {
3351
2400
  // Fix browsers whose `exec` methods don't consistently return `undefined`
3352
2401
  // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
3353
- call$4(nativeReplace, match[0], reCopy, function () {
2402
+ call$1(nativeReplace, match[0], reCopy, function () {
3354
2403
  for (i = 1; i < arguments.length - 2; i++) {
3355
2404
  if (arguments[i] === undefined) match[i] = undefined;
3356
2405
  }
@@ -3369,503 +2418,24 @@ if (PATCH) {
3369
2418
  };
3370
2419
  }
3371
2420
 
3372
- var regexpExec$2 = patchedExec;
2421
+ var regexpExec = patchedExec;
3373
2422
 
3374
- var $$3 = _export;
3375
- var exec = regexpExec$2;
2423
+ var $$1 = _export;
2424
+ var exec = regexpExec;
3376
2425
 
3377
2426
  // `RegExp.prototype.exec` method
3378
2427
  // https://tc39.es/ecma262/#sec-regexp.prototype.exec
3379
- $$3({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
2428
+ $$1({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
3380
2429
  exec: exec
3381
2430
  });
3382
2431
 
3383
2432
  // TODO: Remove from `core-js@4` since it's moved to entry points
3384
2433
 
3385
- var call$3 = functionCall;
3386
- var defineBuiltIn = defineBuiltIn$7;
3387
- var regexpExec$1 = regexpExec$2;
3388
- var fails$2 = fails$l;
3389
- var wellKnownSymbol$1 = wellKnownSymbol$i;
3390
- var createNonEnumerableProperty = createNonEnumerableProperty$5;
3391
-
3392
- var SPECIES = wellKnownSymbol$1('species');
3393
- var RegExpPrototype = RegExp.prototype;
3394
-
3395
- var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
3396
- var SYMBOL = wellKnownSymbol$1(KEY);
3397
-
3398
- var DELEGATES_TO_SYMBOL = !fails$2(function () {
3399
- // String methods call symbol-named RegExp methods
3400
- var O = {};
3401
- O[SYMBOL] = function () { return 7; };
3402
- return ''[KEY](O) !== 7;
3403
- });
3404
-
3405
- var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$2(function () {
3406
- // Symbol-named RegExp methods call .exec
3407
- var execCalled = false;
3408
- var re = /a/;
3409
-
3410
- if (KEY === 'split') {
3411
- // We can't use real regex here since it causes deoptimization
3412
- // and serious performance degradation in V8
3413
- // https://github.com/zloirock/core-js/issues/306
3414
- re = {};
3415
- // RegExp[@@split] doesn't call the regex's exec method, but first creates
3416
- // a new one. We need to return the patched regex when creating the new one.
3417
- re.constructor = {};
3418
- re.constructor[SPECIES] = function () { return re; };
3419
- re.flags = '';
3420
- re[SYMBOL] = /./[SYMBOL];
3421
- }
3422
-
3423
- re.exec = function () {
3424
- execCalled = true;
3425
- return null;
3426
- };
3427
-
3428
- re[SYMBOL]('');
3429
- return !execCalled;
3430
- });
3431
-
3432
- if (
3433
- !DELEGATES_TO_SYMBOL ||
3434
- !DELEGATES_TO_EXEC ||
3435
- FORCED
3436
- ) {
3437
- var nativeRegExpMethod = /./[SYMBOL];
3438
- var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
3439
- var $exec = regexp.exec;
3440
- if ($exec === regexpExec$1 || $exec === RegExpPrototype.exec) {
3441
- if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
3442
- // The native String method already delegates to @@method (this
3443
- // polyfilled function), leasing to infinite recursion.
3444
- // We avoid it by directly calling the native @@method method.
3445
- return { done: true, value: call$3(nativeRegExpMethod, regexp, str, arg2) };
3446
- }
3447
- return { done: true, value: call$3(nativeMethod, str, regexp, arg2) };
3448
- }
3449
- return { done: false };
3450
- });
3451
-
3452
- defineBuiltIn(String.prototype, KEY, methods[0]);
3453
- defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]);
3454
- }
3455
-
3456
- if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);
3457
- };
3458
-
3459
- var uncurryThis$3 = functionUncurryThis;
3460
- var toIntegerOrInfinity$1 = toIntegerOrInfinity$4;
3461
- var toString$3 = toString$6;
3462
- var requireObjectCoercible$2 = requireObjectCoercible$7;
3463
-
3464
- var charAt$2 = uncurryThis$3(''.charAt);
3465
- var charCodeAt = uncurryThis$3(''.charCodeAt);
3466
- var stringSlice$3 = uncurryThis$3(''.slice);
3467
-
3468
- var createMethod = function (CONVERT_TO_STRING) {
3469
- return function ($this, pos) {
3470
- var S = toString$3(requireObjectCoercible$2($this));
3471
- var position = toIntegerOrInfinity$1(pos);
3472
- var size = S.length;
3473
- var first, second;
3474
- if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;
3475
- first = charCodeAt(S, position);
3476
- return first < 0xD800 || first > 0xDBFF || position + 1 === size
3477
- || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF
3478
- ? CONVERT_TO_STRING
3479
- ? charAt$2(S, position)
3480
- : first
3481
- : CONVERT_TO_STRING
3482
- ? stringSlice$3(S, position, position + 2)
3483
- : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
3484
- };
3485
- };
3486
-
3487
- var stringMultibyte = {
3488
- // `String.prototype.codePointAt` method
3489
- // https://tc39.es/ecma262/#sec-string.prototype.codepointat
3490
- codeAt: createMethod(false),
3491
- // `String.prototype.at` method
3492
- // https://github.com/mathiasbynens/String.prototype.at
3493
- charAt: createMethod(true)
3494
- };
3495
-
3496
- var charAt$1 = stringMultibyte.charAt;
3497
-
3498
- // `AdvanceStringIndex` abstract operation
3499
- // https://tc39.es/ecma262/#sec-advancestringindex
3500
- var advanceStringIndex$1 = function (S, index, unicode) {
3501
- return index + (unicode ? charAt$1(S, index).length : 1);
3502
- };
3503
-
3504
- var uncurryThis$2 = functionUncurryThis;
3505
- var toObject$1 = toObject$5;
3506
-
3507
- var floor = Math.floor;
3508
- var charAt = uncurryThis$2(''.charAt);
3509
- var replace = uncurryThis$2(''.replace);
3510
- var stringSlice$2 = uncurryThis$2(''.slice);
3511
- // eslint-disable-next-line redos/no-vulnerable -- safe
3512
- var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;
3513
- var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g;
3514
-
3515
- // `GetSubstitution` abstract operation
3516
- // https://tc39.es/ecma262/#sec-getsubstitution
3517
- var getSubstitution$1 = function (matched, str, position, captures, namedCaptures, replacement) {
3518
- var tailPos = position + matched.length;
3519
- var m = captures.length;
3520
- var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
3521
- if (namedCaptures !== undefined) {
3522
- namedCaptures = toObject$1(namedCaptures);
3523
- symbols = SUBSTITUTION_SYMBOLS;
3524
- }
3525
- return replace(replacement, symbols, function (match, ch) {
3526
- var capture;
3527
- switch (charAt(ch, 0)) {
3528
- case '$': return '$';
3529
- case '&': return matched;
3530
- case '`': return stringSlice$2(str, 0, position);
3531
- case "'": return stringSlice$2(str, tailPos);
3532
- case '<':
3533
- capture = namedCaptures[stringSlice$2(ch, 1, -1)];
3534
- break;
3535
- default: // \d\d?
3536
- var n = +ch;
3537
- if (n === 0) return match;
3538
- if (n > m) {
3539
- var f = floor(n / 10);
3540
- if (f === 0) return match;
3541
- if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1);
3542
- return match;
3543
- }
3544
- capture = captures[n - 1];
3545
- }
3546
- return capture === undefined ? '' : capture;
3547
- });
3548
- };
3549
-
3550
- var call$2 = functionCall;
3551
- var anObject$2 = anObject$e;
3552
- var isCallable$2 = isCallable$m;
3553
- var classof$1 = classofRaw$2;
3554
- var regexpExec = regexpExec$2;
3555
-
3556
- var $TypeError$2 = TypeError;
3557
-
3558
- // `RegExpExec` abstract operation
3559
- // https://tc39.es/ecma262/#sec-regexpexec
3560
- var regexpExecAbstract = function (R, S) {
3561
- var exec = R.exec;
3562
- if (isCallable$2(exec)) {
3563
- var result = call$2(exec, R, S);
3564
- if (result !== null) anObject$2(result);
3565
- return result;
3566
- }
3567
- if (classof$1(R) === 'RegExp') return call$2(regexpExec, R, S);
3568
- throw new $TypeError$2('RegExp#exec called on incompatible receiver');
3569
- };
3570
-
3571
- var apply = functionApply;
3572
- var call$1 = functionCall;
3573
- var uncurryThis$1 = functionUncurryThis;
3574
- var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
3575
- var fails$1 = fails$l;
3576
- var anObject$1 = anObject$e;
3577
- var isCallable$1 = isCallable$m;
3578
- var isNullOrUndefined = isNullOrUndefined$5;
3579
- var toIntegerOrInfinity = toIntegerOrInfinity$4;
3580
- var toLength$1 = toLength$3;
3581
- var toString$2 = toString$6;
3582
- var requireObjectCoercible$1 = requireObjectCoercible$7;
3583
- var advanceStringIndex = advanceStringIndex$1;
3584
- var getMethod = getMethod$4;
3585
- var getSubstitution = getSubstitution$1;
3586
- var regExpExec = regexpExecAbstract;
3587
- var wellKnownSymbol = wellKnownSymbol$i;
3588
-
3589
- var REPLACE = wellKnownSymbol('replace');
3590
- var max = Math.max;
3591
- var min$1 = Math.min;
3592
- var concat = uncurryThis$1([].concat);
3593
- var push = uncurryThis$1([].push);
3594
- var stringIndexOf = uncurryThis$1(''.indexOf);
3595
- var stringSlice$1 = uncurryThis$1(''.slice);
3596
-
3597
- var maybeToString = function (it) {
3598
- return it === undefined ? it : String(it);
3599
- };
3600
-
3601
- // IE <= 11 replaces $0 with the whole match, as if it was $&
3602
- // https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0
3603
- var REPLACE_KEEPS_$0 = (function () {
3604
- // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing
3605
- return 'a'.replace(/./, '$0') === '$0';
3606
- })();
3607
-
3608
- // Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string
3609
- var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
3610
- if (/./[REPLACE]) {
3611
- return /./[REPLACE]('a', '$0') === '';
3612
- }
3613
- return false;
3614
- })();
3615
-
3616
- var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$1(function () {
3617
- var re = /./;
3618
- re.exec = function () {
3619
- var result = [];
3620
- result.groups = { a: '7' };
3621
- return result;
3622
- };
3623
- // eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive
3624
- return ''.replace(re, '$<a>') !== '7';
3625
- });
3626
-
3627
- // @@replace logic
3628
- fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) {
3629
- var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';
3630
-
3631
- return [
3632
- // `String.prototype.replace` method
3633
- // https://tc39.es/ecma262/#sec-string.prototype.replace
3634
- function replace(searchValue, replaceValue) {
3635
- var O = requireObjectCoercible$1(this);
3636
- var replacer = isNullOrUndefined(searchValue) ? undefined : getMethod(searchValue, REPLACE);
3637
- return replacer
3638
- ? call$1(replacer, searchValue, O, replaceValue)
3639
- : call$1(nativeReplace, toString$2(O), searchValue, replaceValue);
3640
- },
3641
- // `RegExp.prototype[@@replace]` method
3642
- // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
3643
- function (string, replaceValue) {
3644
- var rx = anObject$1(this);
3645
- var S = toString$2(string);
3646
-
3647
- if (
3648
- typeof replaceValue == 'string' &&
3649
- stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 &&
3650
- stringIndexOf(replaceValue, '$<') === -1
3651
- ) {
3652
- var res = maybeCallNative(nativeReplace, rx, S, replaceValue);
3653
- if (res.done) return res.value;
3654
- }
3655
-
3656
- var functionalReplace = isCallable$1(replaceValue);
3657
- if (!functionalReplace) replaceValue = toString$2(replaceValue);
3658
-
3659
- var global = rx.global;
3660
- var fullUnicode;
3661
- if (global) {
3662
- fullUnicode = rx.unicode;
3663
- rx.lastIndex = 0;
3664
- }
3665
-
3666
- var results = [];
3667
- var result;
3668
- while (true) {
3669
- result = regExpExec(rx, S);
3670
- if (result === null) break;
3671
-
3672
- push(results, result);
3673
- if (!global) break;
3674
-
3675
- var matchStr = toString$2(result[0]);
3676
- if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength$1(rx.lastIndex), fullUnicode);
3677
- }
3678
-
3679
- var accumulatedResult = '';
3680
- var nextSourcePosition = 0;
3681
- for (var i = 0; i < results.length; i++) {
3682
- result = results[i];
3683
-
3684
- var matched = toString$2(result[0]);
3685
- var position = max(min$1(toIntegerOrInfinity(result.index), S.length), 0);
3686
- var captures = [];
3687
- var replacement;
3688
- // NOTE: This is equivalent to
3689
- // captures = result.slice(1).map(maybeToString)
3690
- // but for some reason `nativeSlice.call(result, 1, result.length)` (called in
3691
- // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and
3692
- // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.
3693
- for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j]));
3694
- var namedCaptures = result.groups;
3695
- if (functionalReplace) {
3696
- var replacerArgs = concat([matched], captures, position, S);
3697
- if (namedCaptures !== undefined) push(replacerArgs, namedCaptures);
3698
- replacement = toString$2(apply(replaceValue, undefined, replacerArgs));
3699
- } else {
3700
- replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
3701
- }
3702
- if (position >= nextSourcePosition) {
3703
- accumulatedResult += stringSlice$1(S, nextSourcePosition, position) + replacement;
3704
- nextSourcePosition = position + matched.length;
3705
- }
3706
- }
3707
-
3708
- return accumulatedResult + stringSlice$1(S, nextSourcePosition);
3709
- }
3710
- ];
3711
- }, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);
3712
-
3713
- var $$2 = _export;
3714
- var uncurryThis = functionUncurryThisClause;
3715
- var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
3716
- var toLength = toLength$3;
3717
- var toString$1 = toString$6;
3718
- var notARegExp = notARegexp;
3719
- var requireObjectCoercible = requireObjectCoercible$7;
3720
- var correctIsRegExpLogic = correctIsRegexpLogic;
3721
-
3722
- var stringSlice = uncurryThis(''.slice);
3723
- var min = Math.min;
3724
-
3725
- var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith');
3726
- // https://github.com/zloirock/core-js/pull/702
3727
- var MDN_POLYFILL_BUG = !CORRECT_IS_REGEXP_LOGIC && !!function () {
3728
- var descriptor = getOwnPropertyDescriptor$1(String.prototype, 'startsWith');
3729
- return descriptor && !descriptor.writable;
3730
- }();
3731
-
3732
- // `String.prototype.startsWith` method
3733
- // https://tc39.es/ecma262/#sec-string.prototype.startswith
3734
- $$2({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {
3735
- startsWith: function startsWith(searchString /* , position = 0 */) {
3736
- var that = toString$1(requireObjectCoercible(this));
3737
- notARegExp(searchString);
3738
- var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length));
3739
- var search = toString$1(searchString);
3740
- return stringSlice(that, index, index + search.length) === search;
3741
- }
3742
- });
3743
-
3744
- /******************************************************************************
3745
- Copyright (c) Microsoft Corporation.
3746
-
3747
- Permission to use, copy, modify, and/or distribute this software for any
3748
- purpose with or without fee is hereby granted.
3749
-
3750
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
3751
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
3752
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
3753
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
3754
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
3755
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
3756
- PERFORMANCE OF THIS SOFTWARE.
3757
- ***************************************************************************** */
3758
- /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
3759
-
3760
-
3761
- function __awaiter(thisArg, _arguments, P, generator) {
3762
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3763
- return new (P || (P = Promise))(function (resolve, reject) {
3764
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
3765
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
3766
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
3767
- step((generator = generator.apply(thisArg, _arguments || [])).next());
3768
- });
3769
- }
3770
-
3771
- typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
3772
- var e = new Error(message);
3773
- return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
3774
- };
3775
-
3776
- var classof = classofRaw$2;
3777
-
3778
- // `IsArray` abstract operation
3779
- // https://tc39.es/ecma262/#sec-isarray
3780
- // eslint-disable-next-line es/no-array-isarray -- safe
3781
- var isArray$1 = Array.isArray || function isArray(argument) {
3782
- return classof(argument) === 'Array';
3783
- };
3784
-
3785
- var DESCRIPTORS = descriptors;
3786
- var isArray = isArray$1;
3787
-
3788
- var $TypeError$1 = TypeError;
3789
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
3790
- var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
3791
-
3792
- // Safari < 13 does not throw an error in this case
3793
- var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {
3794
- // makes no sense without proper strict mode support
3795
- if (this !== undefined) return true;
3796
- try {
3797
- // eslint-disable-next-line es/no-object-defineproperty -- safe
3798
- Object.defineProperty([], 'length', { writable: false }).length = 1;
3799
- } catch (error) {
3800
- return error instanceof TypeError;
3801
- }
3802
- }();
3803
-
3804
- var arraySetLength = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
3805
- if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
3806
- throw new $TypeError$1('Cannot set read only .length');
3807
- } return O.length = length;
3808
- } : function (O, length) {
3809
- return O.length = length;
3810
- };
3811
-
3812
- var $TypeError = TypeError;
3813
- var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
3814
-
3815
- var doesNotExceedSafeInteger$1 = function (it) {
3816
- if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');
3817
- return it;
3818
- };
3819
-
3820
- var $$1 = _export;
3821
- var toObject = toObject$5;
3822
- var lengthOfArrayLike = lengthOfArrayLike$3;
3823
- var setArrayLength = arraySetLength;
3824
- var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;
3825
- var fails = fails$l;
3826
-
3827
- var INCORRECT_TO_LENGTH = fails(function () {
3828
- return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
3829
- });
3830
-
3831
- // V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError
3832
- // https://bugs.chromium.org/p/v8/issues/detail?id=12681
3833
- var properErrorOnNonWritableLength = function () {
3834
- try {
3835
- // eslint-disable-next-line es/no-object-defineproperty -- safe
3836
- Object.defineProperty([], 'length', { writable: false }).push();
3837
- } catch (error) {
3838
- return error instanceof TypeError;
3839
- }
3840
- };
3841
-
3842
- var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
3843
-
3844
- // `Array.prototype.push` method
3845
- // https://tc39.es/ecma262/#sec-array.prototype.push
3846
- $$1({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
3847
- // eslint-disable-next-line no-unused-vars -- required for `.length`
3848
- push: function push(item) {
3849
- var O = toObject(this);
3850
- var len = lengthOfArrayLike(O);
3851
- var argCount = arguments.length;
3852
- doesNotExceedSafeInteger(len + argCount);
3853
- for (var i = 0; i < argCount; i++) {
3854
- O[len] = arguments[i];
3855
- len++;
3856
- }
3857
- setArrayLength(O, len);
3858
- return len;
3859
- }
3860
- });
3861
-
3862
- // TODO: Remove from `core-js@4` since it's moved to entry points
3863
-
3864
2434
  var $ = _export;
3865
2435
  var call = functionCall;
3866
- var isCallable = isCallable$m;
3867
- var anObject = anObject$e;
3868
- var toString = toString$6;
2436
+ var isCallable = isCallable$f;
2437
+ var anObject = anObject$7;
2438
+ var toString = toString$4;
3869
2439
 
3870
2440
  var DELEGATES_TO_EXEC = function () {
3871
2441
  var execCalled = false;
@@ -3972,25 +2542,10 @@ const isOnEdge = () => {
3972
2542
  return window.location.hostname.startsWith("192.168") || window.location.hostname.startsWith("localhost");
3973
2543
  };
3974
2544
  const getExecutionEngineHttpUrl = () => {
3975
- const url = window.location.hostname;
3976
- const executionEngineUrl = isOnEdge() ? `http://${url}:3100` : `${window.location.origin}/digital-twin/execution-engine`;
3977
- return executionEngineUrl;
2545
+ return isOnEdge() ? `http://${window.location.hostname}:3100` : `${window.location.origin}/digital-twin/execution-engine`;
3978
2546
  };
3979
2547
  const getMqttWsUrl = () => __awaiter(void 0, void 0, void 0, function* () {
3980
- if (isOnEdge()) {
3981
- return `ws://${window.location.hostname}:9001`;
3982
- }
3983
- /**
3984
- * We are not trying to allocate a new Machine Motion here. By the time a custom UI can be opened in the CAD (assembler),
3985
- * we would have already been allocated a Virtual Machine Motion, and a repeated request to the
3986
- * alloc endpoint will just re-return the connection details of the Virtual Machine Motion that
3987
- * has already been allocated.
3988
- */
3989
- const response = yield fetch(`${window.location.origin}/orchestrator/allocator/vmm_connection_details`);
3990
- const data = yield response.json();
3991
- const url = `${data.message.host}/${data.message.token}/mqtt`;
3992
- const websocketUrl = url.replace("https", "wss");
3993
- return websocketUrl;
2548
+ return isOnEdge() ? `ws://${window.location.hostname}:9001` : `wss://${window.location.hostname}/digital-twin/mqtt`;
3994
2549
  });
3995
2550
  const connectToMqttAndGetClient = () => __awaiter(void 0, void 0, void 0, function* () {
3996
2551
  const websocketUrl = yield getMqttWsUrl();