@vention/vention-cli 0.38.38 → 0.38.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/main.esm.js
CHANGED
|
@@ -13,6 +13,7 @@ import { createHash, randomBytes } from 'node:crypto';
|
|
|
13
13
|
import { once } from 'node:events';
|
|
14
14
|
import { createServer } from 'node:http';
|
|
15
15
|
import { createRequire } from 'module';
|
|
16
|
+
import { isDeepStrictEqual } from 'node:util';
|
|
16
17
|
import { setTimeout as setTimeout$1 } from 'node:timers/promises';
|
|
17
18
|
import { execFileSync } from 'child_process';
|
|
18
19
|
|
|
@@ -63,10 +64,10 @@ var functionBindNative = !fails$D(function () {
|
|
|
63
64
|
|
|
64
65
|
var NATIVE_BIND$3 = functionBindNative;
|
|
65
66
|
|
|
66
|
-
var call$
|
|
67
|
+
var call$z = Function.prototype.call;
|
|
67
68
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
68
|
-
var functionCall = NATIVE_BIND$3 ? call$
|
|
69
|
-
return call$
|
|
69
|
+
var functionCall = NATIVE_BIND$3 ? call$z.bind(call$z) : function () {
|
|
70
|
+
return call$z.apply(call$z, arguments);
|
|
70
71
|
};
|
|
71
72
|
|
|
72
73
|
var objectPropertyIsEnumerable = {};
|
|
@@ -97,13 +98,13 @@ var createPropertyDescriptor$6 = function (bitmap, value) {
|
|
|
97
98
|
var NATIVE_BIND$2 = functionBindNative;
|
|
98
99
|
|
|
99
100
|
var FunctionPrototype$2 = Function.prototype;
|
|
100
|
-
var call$
|
|
101
|
+
var call$y = FunctionPrototype$2.call;
|
|
101
102
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
102
|
-
var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$
|
|
103
|
+
var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$y, call$y);
|
|
103
104
|
|
|
104
105
|
var functionUncurryThis = NATIVE_BIND$2 ? uncurryThisWithBind : function (fn) {
|
|
105
106
|
return function () {
|
|
106
|
-
return call$
|
|
107
|
+
return call$y.apply(fn, arguments);
|
|
107
108
|
};
|
|
108
109
|
};
|
|
109
110
|
|
|
@@ -281,22 +282,22 @@ var tryToString$5 = tryToString$6;
|
|
|
281
282
|
var $TypeError$o = TypeError;
|
|
282
283
|
|
|
283
284
|
// `Assert: IsCallable(argument) is true`
|
|
284
|
-
var aCallable$
|
|
285
|
+
var aCallable$k = function (argument) {
|
|
285
286
|
if (isCallable$o(argument)) return argument;
|
|
286
287
|
throw new $TypeError$o(tryToString$5(argument) + ' is not a function');
|
|
287
288
|
};
|
|
288
289
|
|
|
289
|
-
var aCallable$
|
|
290
|
+
var aCallable$j = aCallable$k;
|
|
290
291
|
var isNullOrUndefined$2 = isNullOrUndefined$4;
|
|
291
292
|
|
|
292
293
|
// `GetMethod` abstract operation
|
|
293
294
|
// https://tc39.es/ecma262/#sec-getmethod
|
|
294
295
|
var getMethod$5 = function (V, P) {
|
|
295
296
|
var func = V[P];
|
|
296
|
-
return isNullOrUndefined$2(func) ? undefined : aCallable$
|
|
297
|
+
return isNullOrUndefined$2(func) ? undefined : aCallable$j(func);
|
|
297
298
|
};
|
|
298
299
|
|
|
299
|
-
var call$
|
|
300
|
+
var call$x = functionCall;
|
|
300
301
|
var isCallable$n = isCallable$s;
|
|
301
302
|
var isObject$k = isObject$l;
|
|
302
303
|
|
|
@@ -306,9 +307,9 @@ var $TypeError$n = TypeError;
|
|
|
306
307
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
307
308
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
308
309
|
var fn, val;
|
|
309
|
-
if (pref === 'string' && isCallable$n(fn = input.toString) && !isObject$k(val = call$
|
|
310
|
-
if (isCallable$n(fn = input.valueOf) && !isObject$k(val = call$
|
|
311
|
-
if (pref !== 'string' && isCallable$n(fn = input.toString) && !isObject$k(val = call$
|
|
310
|
+
if (pref === 'string' && isCallable$n(fn = input.toString) && !isObject$k(val = call$x(fn, input))) return val;
|
|
311
|
+
if (isCallable$n(fn = input.valueOf) && !isObject$k(val = call$x(fn, input))) return val;
|
|
312
|
+
if (pref !== 'string' && isCallable$n(fn = input.toString) && !isObject$k(val = call$x(fn, input))) return val;
|
|
312
313
|
throw new $TypeError$n("Can't convert object to primitive value");
|
|
313
314
|
};
|
|
314
315
|
|
|
@@ -357,12 +358,12 @@ var $Object$2 = Object;
|
|
|
357
358
|
|
|
358
359
|
// `ToObject` abstract operation
|
|
359
360
|
// https://tc39.es/ecma262/#sec-toobject
|
|
360
|
-
var toObject$
|
|
361
|
+
var toObject$c = function (argument) {
|
|
361
362
|
return $Object$2(requireObjectCoercible$a(argument));
|
|
362
363
|
};
|
|
363
364
|
|
|
364
365
|
var uncurryThis$F = functionUncurryThis;
|
|
365
|
-
var toObject$
|
|
366
|
+
var toObject$b = toObject$c;
|
|
366
367
|
|
|
367
368
|
var hasOwnProperty = uncurryThis$F({}.hasOwnProperty);
|
|
368
369
|
|
|
@@ -370,7 +371,7 @@ var hasOwnProperty = uncurryThis$F({}.hasOwnProperty);
|
|
|
370
371
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
371
372
|
// eslint-disable-next-line es/no-object-hasown -- safe
|
|
372
373
|
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
373
|
-
return hasOwnProperty(toObject$
|
|
374
|
+
return hasOwnProperty(toObject$b(it), key);
|
|
374
375
|
};
|
|
375
376
|
|
|
376
377
|
var uncurryThis$E = functionUncurryThis;
|
|
@@ -402,7 +403,7 @@ var wellKnownSymbol$n = function (name) {
|
|
|
402
403
|
} return WellKnownSymbolsStore[name];
|
|
403
404
|
};
|
|
404
405
|
|
|
405
|
-
var call$
|
|
406
|
+
var call$w = functionCall;
|
|
406
407
|
var isObject$j = isObject$l;
|
|
407
408
|
var isSymbol$3 = isSymbol$4;
|
|
408
409
|
var getMethod$4 = getMethod$5;
|
|
@@ -420,7 +421,7 @@ var toPrimitive$2 = function (input, pref) {
|
|
|
420
421
|
var result;
|
|
421
422
|
if (exoticToPrim) {
|
|
422
423
|
if (pref === undefined) pref = 'default';
|
|
423
|
-
result = call$
|
|
424
|
+
result = call$w(exoticToPrim, input, pref);
|
|
424
425
|
if (!isObject$j(result) || isSymbol$3(result)) return result;
|
|
425
426
|
throw new $TypeError$m("Can't convert object to primitive value");
|
|
426
427
|
}
|
|
@@ -462,7 +463,7 @@ var ie8DomDefine = !DESCRIPTORS$n && !fails$A(function () {
|
|
|
462
463
|
});
|
|
463
464
|
|
|
464
465
|
var DESCRIPTORS$m = descriptors;
|
|
465
|
-
var call$
|
|
466
|
+
var call$v = functionCall;
|
|
466
467
|
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
|
467
468
|
var createPropertyDescriptor$5 = createPropertyDescriptor$6;
|
|
468
469
|
var toIndexedObject$5 = toIndexedObject$6;
|
|
@@ -481,7 +482,7 @@ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$m ? $getOwnPropertyDescriptor$1 :
|
|
|
481
482
|
if (IE8_DOM_DEFINE$1) try {
|
|
482
483
|
return $getOwnPropertyDescriptor$1(O, P);
|
|
483
484
|
} catch (error) { /* empty */ }
|
|
484
|
-
if (hasOwn$i(O, P)) return createPropertyDescriptor$5(!call$
|
|
485
|
+
if (hasOwn$i(O, P)) return createPropertyDescriptor$5(!call$v(propertyIsEnumerableModule$1.f, O, P), O[P]);
|
|
485
486
|
};
|
|
486
487
|
|
|
487
488
|
var objectDefineProperty = {};
|
|
@@ -505,7 +506,7 @@ var $String$5 = String;
|
|
|
505
506
|
var $TypeError$l = TypeError;
|
|
506
507
|
|
|
507
508
|
// `Assert: Type(argument) is Object`
|
|
508
|
-
var anObject$
|
|
509
|
+
var anObject$o = function (argument) {
|
|
509
510
|
if (isObject$h(argument)) return argument;
|
|
510
511
|
throw new $TypeError$l($String$5(argument) + ' is not an object');
|
|
511
512
|
};
|
|
@@ -513,7 +514,7 @@ var anObject$p = function (argument) {
|
|
|
513
514
|
var DESCRIPTORS$k = descriptors;
|
|
514
515
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
515
516
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
516
|
-
var anObject$
|
|
517
|
+
var anObject$n = anObject$o;
|
|
517
518
|
var toPropertyKey$1 = toPropertyKey$3;
|
|
518
519
|
|
|
519
520
|
var $TypeError$k = TypeError;
|
|
@@ -528,9 +529,9 @@ var WRITABLE = 'writable';
|
|
|
528
529
|
// `Object.defineProperty` method
|
|
529
530
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
530
531
|
objectDefineProperty.f = DESCRIPTORS$k ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
531
|
-
anObject$
|
|
532
|
+
anObject$n(O);
|
|
532
533
|
P = toPropertyKey$1(P);
|
|
533
|
-
anObject$
|
|
534
|
+
anObject$n(Attributes);
|
|
534
535
|
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
535
536
|
var current = $getOwnPropertyDescriptor(O, P);
|
|
536
537
|
if (current && current[WRITABLE]) {
|
|
@@ -543,9 +544,9 @@ objectDefineProperty.f = DESCRIPTORS$k ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
543
544
|
}
|
|
544
545
|
} return $defineProperty(O, P, Attributes);
|
|
545
546
|
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
546
|
-
anObject$
|
|
547
|
+
anObject$n(O);
|
|
547
548
|
P = toPropertyKey$1(P);
|
|
548
|
-
anObject$
|
|
549
|
+
anObject$n(Attributes);
|
|
549
550
|
if (IE8_DOM_DEFINE) try {
|
|
550
551
|
return $defineProperty(O, P, Attributes);
|
|
551
552
|
} catch (error) { /* empty */ }
|
|
@@ -790,13 +791,13 @@ var trunc = mathTrunc;
|
|
|
790
791
|
|
|
791
792
|
// `ToIntegerOrInfinity` abstract operation
|
|
792
793
|
// https://tc39.es/ecma262/#sec-tointegerorinfinity
|
|
793
|
-
var toIntegerOrInfinity$
|
|
794
|
+
var toIntegerOrInfinity$e = function (argument) {
|
|
794
795
|
var number = +argument;
|
|
795
796
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
796
797
|
return number !== number || number === 0 ? 0 : trunc(number);
|
|
797
798
|
};
|
|
798
799
|
|
|
799
|
-
var toIntegerOrInfinity$
|
|
800
|
+
var toIntegerOrInfinity$d = toIntegerOrInfinity$e;
|
|
800
801
|
|
|
801
802
|
var max$3 = Math.max;
|
|
802
803
|
var min$6 = Math.min;
|
|
@@ -805,18 +806,18 @@ var min$6 = Math.min;
|
|
|
805
806
|
// Let integer be ? ToInteger(index).
|
|
806
807
|
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
|
|
807
808
|
var toAbsoluteIndex$3 = function (index, length) {
|
|
808
|
-
var integer = toIntegerOrInfinity$
|
|
809
|
+
var integer = toIntegerOrInfinity$d(index);
|
|
809
810
|
return integer < 0 ? max$3(integer + length, 0) : min$6(integer, length);
|
|
810
811
|
};
|
|
811
812
|
|
|
812
|
-
var toIntegerOrInfinity$
|
|
813
|
+
var toIntegerOrInfinity$c = toIntegerOrInfinity$e;
|
|
813
814
|
|
|
814
815
|
var min$5 = Math.min;
|
|
815
816
|
|
|
816
817
|
// `ToLength` abstract operation
|
|
817
818
|
// https://tc39.es/ecma262/#sec-tolength
|
|
818
819
|
var toLength$7 = function (argument) {
|
|
819
|
-
var len = toIntegerOrInfinity$
|
|
820
|
+
var len = toIntegerOrInfinity$c(argument);
|
|
820
821
|
return len > 0 ? min$5(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
|
821
822
|
};
|
|
822
823
|
|
|
@@ -824,19 +825,19 @@ var toLength$6 = toLength$7;
|
|
|
824
825
|
|
|
825
826
|
// `LengthOfArrayLike` abstract operation
|
|
826
827
|
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
|
827
|
-
var lengthOfArrayLike$
|
|
828
|
+
var lengthOfArrayLike$h = function (obj) {
|
|
828
829
|
return toLength$6(obj.length);
|
|
829
830
|
};
|
|
830
831
|
|
|
831
832
|
var toIndexedObject$4 = toIndexedObject$6;
|
|
832
833
|
var toAbsoluteIndex$2 = toAbsoluteIndex$3;
|
|
833
|
-
var lengthOfArrayLike$
|
|
834
|
+
var lengthOfArrayLike$g = lengthOfArrayLike$h;
|
|
834
835
|
|
|
835
836
|
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
836
837
|
var createMethod$5 = function (IS_INCLUDES) {
|
|
837
838
|
return function ($this, el, fromIndex) {
|
|
838
839
|
var O = toIndexedObject$4($this);
|
|
839
|
-
var length = lengthOfArrayLike$
|
|
840
|
+
var length = lengthOfArrayLike$g(O);
|
|
840
841
|
if (length === 0) return !IS_INCLUDES && -1;
|
|
841
842
|
var index = toAbsoluteIndex$2(fromIndex, length);
|
|
842
843
|
var value;
|
|
@@ -915,13 +916,13 @@ var getBuiltIn$9 = getBuiltIn$b;
|
|
|
915
916
|
var uncurryThis$A = functionUncurryThis;
|
|
916
917
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
917
918
|
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
|
918
|
-
var anObject$
|
|
919
|
+
var anObject$m = anObject$o;
|
|
919
920
|
|
|
920
921
|
var concat$2 = uncurryThis$A([].concat);
|
|
921
922
|
|
|
922
923
|
// all object keys, includes non-enumerable and symbols
|
|
923
924
|
var ownKeys$1 = getBuiltIn$9('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
924
|
-
var keys = getOwnPropertyNamesModule.f(anObject$
|
|
925
|
+
var keys = getOwnPropertyNamesModule.f(anObject$m(it));
|
|
925
926
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
|
|
926
927
|
return getOwnPropertySymbols ? concat$2(keys, getOwnPropertySymbols(it)) : keys;
|
|
927
928
|
};
|
|
@@ -1081,7 +1082,7 @@ var defineBuiltInAccessor$9 = function (target, name, descriptor) {
|
|
|
1081
1082
|
var $$O = _export;
|
|
1082
1083
|
var DESCRIPTORS$g = descriptors;
|
|
1083
1084
|
var globalThis$E = globalThis_1;
|
|
1084
|
-
var call$
|
|
1085
|
+
var call$u = functionCall;
|
|
1085
1086
|
var uncurryThis$z = functionUncurryThis;
|
|
1086
1087
|
var hasOwn$c = hasOwnProperty_1;
|
|
1087
1088
|
var isCallable$g = isCallable$s;
|
|
@@ -1115,7 +1116,7 @@ if (DESCRIPTORS$g && isCallable$g(NativeSymbol) && (!('description' in SymbolPro
|
|
|
1115
1116
|
var nativeFor = SymbolWrapper['for'];
|
|
1116
1117
|
SymbolWrapper['for'] = { 'for': function (key) {
|
|
1117
1118
|
var stringKey = toString$g(key);
|
|
1118
|
-
var symbol = call$
|
|
1119
|
+
var symbol = call$u(nativeFor, this, stringKey);
|
|
1119
1120
|
if (stringKey === '') EmptyStringDescriptionStore[symbol] = true;
|
|
1120
1121
|
return symbol;
|
|
1121
1122
|
} }['for'];
|
|
@@ -1160,7 +1161,7 @@ var objectKeys$2 = Object.keys || function keys(O) {
|
|
|
1160
1161
|
var DESCRIPTORS$f = descriptors;
|
|
1161
1162
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
1162
1163
|
var definePropertyModule$2 = objectDefineProperty;
|
|
1163
|
-
var anObject$
|
|
1164
|
+
var anObject$l = anObject$o;
|
|
1164
1165
|
var toIndexedObject$2 = toIndexedObject$6;
|
|
1165
1166
|
var objectKeys$1 = objectKeys$2;
|
|
1166
1167
|
|
|
@@ -1168,7 +1169,7 @@ var objectKeys$1 = objectKeys$2;
|
|
|
1168
1169
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
1169
1170
|
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
1170
1171
|
objectDefineProperties.f = DESCRIPTORS$f && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
1171
|
-
anObject$
|
|
1172
|
+
anObject$l(O);
|
|
1172
1173
|
var props = toIndexedObject$2(Properties);
|
|
1173
1174
|
var keys = objectKeys$1(Properties);
|
|
1174
1175
|
var length = keys.length;
|
|
@@ -1183,7 +1184,7 @@ var getBuiltIn$8 = getBuiltIn$b;
|
|
|
1183
1184
|
var html$2 = getBuiltIn$8('document', 'documentElement');
|
|
1184
1185
|
|
|
1185
1186
|
/* global ActiveXObject -- old IE, WSH */
|
|
1186
|
-
var anObject$
|
|
1187
|
+
var anObject$k = anObject$o;
|
|
1187
1188
|
var definePropertiesModule = objectDefineProperties;
|
|
1188
1189
|
var enumBugKeys = enumBugKeys$3;
|
|
1189
1190
|
var hiddenKeys = hiddenKeys$4;
|
|
@@ -1258,7 +1259,7 @@ hiddenKeys[IE_PROTO$1] = true;
|
|
|
1258
1259
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
1259
1260
|
var result;
|
|
1260
1261
|
if (O !== null) {
|
|
1261
|
-
EmptyConstructor[PROTOTYPE$1] = anObject$
|
|
1262
|
+
EmptyConstructor[PROTOTYPE$1] = anObject$k(O);
|
|
1262
1263
|
result = new EmptyConstructor();
|
|
1263
1264
|
EmptyConstructor[PROTOTYPE$1] = null;
|
|
1264
1265
|
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
@@ -1284,14 +1285,14 @@ if (ArrayPrototype$1[UNSCOPABLES] === undefined) {
|
|
|
1284
1285
|
}
|
|
1285
1286
|
|
|
1286
1287
|
// add a key to Array.prototype[@@unscopables]
|
|
1287
|
-
var addToUnscopables$
|
|
1288
|
+
var addToUnscopables$5 = function (key) {
|
|
1288
1289
|
ArrayPrototype$1[UNSCOPABLES][key] = true;
|
|
1289
1290
|
};
|
|
1290
1291
|
|
|
1291
1292
|
var $$N = _export;
|
|
1292
1293
|
var $includes = arrayIncludes.includes;
|
|
1293
1294
|
var fails$w = fails$F;
|
|
1294
|
-
var addToUnscopables$
|
|
1295
|
+
var addToUnscopables$4 = addToUnscopables$5;
|
|
1295
1296
|
|
|
1296
1297
|
// FF99+ bug
|
|
1297
1298
|
var BROKEN_ON_SPARSE = fails$w(function () {
|
|
@@ -1314,7 +1315,7 @@ $$N({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE || BROKEN_ON_SPARSE
|
|
|
1314
1315
|
});
|
|
1315
1316
|
|
|
1316
1317
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
1317
|
-
addToUnscopables$
|
|
1318
|
+
addToUnscopables$4('includes');
|
|
1318
1319
|
|
|
1319
1320
|
var isObject$f = isObject$l;
|
|
1320
1321
|
var classof$d = classofRaw$2;
|
|
@@ -1417,12 +1418,12 @@ var globalThis$C = globalThis_1;
|
|
|
1417
1418
|
var path$1 = globalThis$C;
|
|
1418
1419
|
|
|
1419
1420
|
var uncurryThis$x = functionUncurryThis;
|
|
1420
|
-
var aCallable$
|
|
1421
|
+
var aCallable$i = aCallable$k;
|
|
1421
1422
|
|
|
1422
1423
|
var functionUncurryThisAccessor = function (object, key, method) {
|
|
1423
1424
|
try {
|
|
1424
1425
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1425
|
-
return uncurryThis$x(aCallable$
|
|
1426
|
+
return uncurryThis$x(aCallable$i(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
1426
1427
|
} catch (error) { /* empty */ }
|
|
1427
1428
|
};
|
|
1428
1429
|
|
|
@@ -1574,7 +1575,7 @@ var aConstructor$2 = function (argument) {
|
|
|
1574
1575
|
throw new $TypeError$g(tryToString$4(argument) + ' is not a constructor');
|
|
1575
1576
|
};
|
|
1576
1577
|
|
|
1577
|
-
var anObject$
|
|
1578
|
+
var anObject$j = anObject$o;
|
|
1578
1579
|
var aConstructor$1 = aConstructor$2;
|
|
1579
1580
|
var isNullOrUndefined$1 = isNullOrUndefined$4;
|
|
1580
1581
|
var wellKnownSymbol$e = wellKnownSymbol$n;
|
|
@@ -1584,20 +1585,20 @@ var SPECIES$3 = wellKnownSymbol$e('species');
|
|
|
1584
1585
|
// `SpeciesConstructor` abstract operation
|
|
1585
1586
|
// https://tc39.es/ecma262/#sec-speciesconstructor
|
|
1586
1587
|
var speciesConstructor$1 = function (O, defaultConstructor) {
|
|
1587
|
-
var C = anObject$
|
|
1588
|
+
var C = anObject$j(O).constructor;
|
|
1588
1589
|
var S;
|
|
1589
|
-
return C === undefined || isNullOrUndefined$1(S = anObject$
|
|
1590
|
+
return C === undefined || isNullOrUndefined$1(S = anObject$j(C)[SPECIES$3]) ? defaultConstructor : aConstructor$1(S);
|
|
1590
1591
|
};
|
|
1591
1592
|
|
|
1592
1593
|
var NATIVE_BIND$1 = functionBindNative;
|
|
1593
1594
|
|
|
1594
1595
|
var FunctionPrototype = Function.prototype;
|
|
1595
1596
|
var apply$5 = FunctionPrototype.apply;
|
|
1596
|
-
var call$
|
|
1597
|
+
var call$t = FunctionPrototype.call;
|
|
1597
1598
|
|
|
1598
1599
|
// eslint-disable-next-line es/no-function-prototype-bind, es/no-reflect -- safe
|
|
1599
|
-
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$
|
|
1600
|
-
return call$
|
|
1600
|
+
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$t.bind(apply$5) : function () {
|
|
1601
|
+
return call$t.apply(apply$5, arguments);
|
|
1601
1602
|
});
|
|
1602
1603
|
|
|
1603
1604
|
var classofRaw = classofRaw$2;
|
|
@@ -1611,14 +1612,14 @@ var functionUncurryThisClause = function (fn) {
|
|
|
1611
1612
|
};
|
|
1612
1613
|
|
|
1613
1614
|
var uncurryThis$u = functionUncurryThisClause;
|
|
1614
|
-
var aCallable$
|
|
1615
|
+
var aCallable$h = aCallable$k;
|
|
1615
1616
|
var NATIVE_BIND = functionBindNative;
|
|
1616
1617
|
|
|
1617
1618
|
var bind$8 = uncurryThis$u(uncurryThis$u.bind);
|
|
1618
1619
|
|
|
1619
1620
|
// optional / simple context binding
|
|
1620
1621
|
var functionBindContext = function (fn, that) {
|
|
1621
|
-
aCallable$
|
|
1622
|
+
aCallable$h(fn);
|
|
1622
1623
|
return that === undefined ? fn : NATIVE_BIND ? bind$8(fn, that) : function (/* ...args */) {
|
|
1623
1624
|
return fn.apply(that, arguments);
|
|
1624
1625
|
};
|
|
@@ -1944,7 +1945,7 @@ var promiseConstructorDetection = {
|
|
|
1944
1945
|
|
|
1945
1946
|
var newPromiseCapability$2 = {};
|
|
1946
1947
|
|
|
1947
|
-
var aCallable$
|
|
1948
|
+
var aCallable$g = aCallable$k;
|
|
1948
1949
|
|
|
1949
1950
|
var $TypeError$e = TypeError;
|
|
1950
1951
|
|
|
@@ -1955,8 +1956,8 @@ var PromiseCapability = function (C) {
|
|
|
1955
1956
|
resolve = $$resolve;
|
|
1956
1957
|
reject = $$reject;
|
|
1957
1958
|
});
|
|
1958
|
-
this.resolve = aCallable$
|
|
1959
|
-
this.reject = aCallable$
|
|
1959
|
+
this.resolve = aCallable$g(resolve);
|
|
1960
|
+
this.reject = aCallable$g(reject);
|
|
1960
1961
|
};
|
|
1961
1962
|
|
|
1962
1963
|
// `NewPromiseCapability` abstract operation
|
|
@@ -1969,12 +1970,12 @@ var $$L = _export;
|
|
|
1969
1970
|
var IS_NODE$1 = environmentIsNode;
|
|
1970
1971
|
var globalThis$w = globalThis_1;
|
|
1971
1972
|
var path = path$1;
|
|
1972
|
-
var call$
|
|
1973
|
+
var call$s = functionCall;
|
|
1973
1974
|
var defineBuiltIn$8 = defineBuiltIn$a;
|
|
1974
1975
|
var setPrototypeOf$6 = objectSetPrototypeOf;
|
|
1975
1976
|
var setToStringTag$4 = setToStringTag$5;
|
|
1976
1977
|
var setSpecies$3 = setSpecies$4;
|
|
1977
|
-
var aCallable$
|
|
1978
|
+
var aCallable$f = aCallable$k;
|
|
1978
1979
|
var isCallable$c = isCallable$s;
|
|
1979
1980
|
var isObject$c = isObject$l;
|
|
1980
1981
|
var anInstance$3 = anInstance$4;
|
|
@@ -2047,7 +2048,7 @@ var callReaction = function (reaction, state) {
|
|
|
2047
2048
|
if (result === reaction.promise) {
|
|
2048
2049
|
reject(new TypeError$4('Promise-chain cycle'));
|
|
2049
2050
|
} else if (then = isThenable(result)) {
|
|
2050
|
-
call$
|
|
2051
|
+
call$s(then, result, resolve, reject);
|
|
2051
2052
|
} else resolve(result);
|
|
2052
2053
|
} else reject(value);
|
|
2053
2054
|
} catch (error) {
|
|
@@ -2084,7 +2085,7 @@ var dispatchEvent = function (name, promise, reason) {
|
|
|
2084
2085
|
};
|
|
2085
2086
|
|
|
2086
2087
|
var onUnhandled = function (state) {
|
|
2087
|
-
call$
|
|
2088
|
+
call$s(task, globalThis$w, function () {
|
|
2088
2089
|
var promise = state.facade;
|
|
2089
2090
|
var value = state.value;
|
|
2090
2091
|
var IS_UNHANDLED = isUnhandled(state);
|
|
@@ -2107,7 +2108,7 @@ var isUnhandled = function (state) {
|
|
|
2107
2108
|
};
|
|
2108
2109
|
|
|
2109
2110
|
var onHandleUnhandled = function (state) {
|
|
2110
|
-
call$
|
|
2111
|
+
call$s(task, globalThis$w, function () {
|
|
2111
2112
|
var promise = state.facade;
|
|
2112
2113
|
if (IS_NODE$1) {
|
|
2113
2114
|
process$1.emit('rejectionHandled', promise);
|
|
@@ -2141,7 +2142,7 @@ var internalResolve = function (state, value, unwrap) {
|
|
|
2141
2142
|
microtask(function () {
|
|
2142
2143
|
var wrapper = { done: false };
|
|
2143
2144
|
try {
|
|
2144
|
-
call$
|
|
2145
|
+
call$s(then, value,
|
|
2145
2146
|
bind$5(internalResolve, wrapper, state),
|
|
2146
2147
|
bind$5(internalReject, wrapper, state)
|
|
2147
2148
|
);
|
|
@@ -2164,8 +2165,8 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
2164
2165
|
// 25.4.3.1 Promise(executor)
|
|
2165
2166
|
PromiseConstructor = function Promise(executor) {
|
|
2166
2167
|
anInstance$3(this, PromisePrototype);
|
|
2167
|
-
aCallable$
|
|
2168
|
-
call$
|
|
2168
|
+
aCallable$f(executor);
|
|
2169
|
+
call$s(Internal, this);
|
|
2169
2170
|
var state = getInternalPromiseState(this);
|
|
2170
2171
|
try {
|
|
2171
2172
|
executor(bind$5(internalResolve, state), bind$5(internalReject, state));
|
|
@@ -2228,7 +2229,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
2228
2229
|
defineBuiltIn$8(NativePromisePrototype$1, 'then', function then(onFulfilled, onRejected) {
|
|
2229
2230
|
var that = this;
|
|
2230
2231
|
return new PromiseConstructor(function (resolve, reject) {
|
|
2231
|
-
call$
|
|
2232
|
+
call$s(nativeThen, that, resolve, reject);
|
|
2232
2233
|
}).then(onFulfilled, onRejected);
|
|
2233
2234
|
// https://github.com/zloirock/core-js/issues/640
|
|
2234
2235
|
}, { unsafe: true });
|
|
@@ -2284,9 +2285,9 @@ var getIteratorMethod$4 = function (it) {
|
|
|
2284
2285
|
|| Iterators$3[classof$a(it)];
|
|
2285
2286
|
};
|
|
2286
2287
|
|
|
2287
|
-
var call$
|
|
2288
|
-
var aCallable$
|
|
2289
|
-
var anObject$
|
|
2288
|
+
var call$r = functionCall;
|
|
2289
|
+
var aCallable$e = aCallable$k;
|
|
2290
|
+
var anObject$i = anObject$o;
|
|
2290
2291
|
var tryToString$3 = tryToString$6;
|
|
2291
2292
|
var getIteratorMethod$3 = getIteratorMethod$4;
|
|
2292
2293
|
|
|
@@ -2294,44 +2295,44 @@ var $TypeError$d = TypeError;
|
|
|
2294
2295
|
|
|
2295
2296
|
var getIterator$2 = function (argument, usingIterator) {
|
|
2296
2297
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$3(argument) : usingIterator;
|
|
2297
|
-
if (aCallable$
|
|
2298
|
+
if (aCallable$e(iteratorMethod)) return anObject$i(call$r(iteratorMethod, argument));
|
|
2298
2299
|
throw new $TypeError$d(tryToString$3(argument) + ' is not iterable');
|
|
2299
2300
|
};
|
|
2300
2301
|
|
|
2301
|
-
var call$
|
|
2302
|
-
var anObject$
|
|
2302
|
+
var call$q = functionCall;
|
|
2303
|
+
var anObject$h = anObject$o;
|
|
2303
2304
|
var getMethod$2 = getMethod$5;
|
|
2304
2305
|
|
|
2305
|
-
var iteratorClose$
|
|
2306
|
+
var iteratorClose$b = function (iterator, kind, value) {
|
|
2306
2307
|
var innerResult, innerError;
|
|
2307
|
-
anObject$
|
|
2308
|
+
anObject$h(iterator);
|
|
2308
2309
|
try {
|
|
2309
2310
|
innerResult = getMethod$2(iterator, 'return');
|
|
2310
2311
|
if (!innerResult) {
|
|
2311
2312
|
if (kind === 'throw') throw value;
|
|
2312
2313
|
return value;
|
|
2313
2314
|
}
|
|
2314
|
-
innerResult = call$
|
|
2315
|
+
innerResult = call$q(innerResult, iterator);
|
|
2315
2316
|
} catch (error) {
|
|
2316
2317
|
innerError = true;
|
|
2317
2318
|
innerResult = error;
|
|
2318
2319
|
}
|
|
2319
2320
|
if (kind === 'throw') throw value;
|
|
2320
2321
|
if (innerError) throw innerResult;
|
|
2321
|
-
anObject$
|
|
2322
|
+
anObject$h(innerResult);
|
|
2322
2323
|
return value;
|
|
2323
2324
|
};
|
|
2324
2325
|
|
|
2325
2326
|
var bind$4 = functionBindContext;
|
|
2326
|
-
var call$
|
|
2327
|
-
var anObject$
|
|
2327
|
+
var call$p = functionCall;
|
|
2328
|
+
var anObject$g = anObject$o;
|
|
2328
2329
|
var tryToString$2 = tryToString$6;
|
|
2329
2330
|
var isArrayIteratorMethod$1 = isArrayIteratorMethod$2;
|
|
2330
|
-
var lengthOfArrayLike$
|
|
2331
|
+
var lengthOfArrayLike$f = lengthOfArrayLike$h;
|
|
2331
2332
|
var isPrototypeOf$5 = objectIsPrototypeOf;
|
|
2332
2333
|
var getIterator$1 = getIterator$2;
|
|
2333
2334
|
var getIteratorMethod$2 = getIteratorMethod$4;
|
|
2334
|
-
var iteratorClose$
|
|
2335
|
+
var iteratorClose$a = iteratorClose$b;
|
|
2335
2336
|
|
|
2336
2337
|
var $TypeError$c = TypeError;
|
|
2337
2338
|
|
|
@@ -2342,7 +2343,7 @@ var Result = function (stopped, result) {
|
|
|
2342
2343
|
|
|
2343
2344
|
var ResultPrototype = Result.prototype;
|
|
2344
2345
|
|
|
2345
|
-
var iterate$
|
|
2346
|
+
var iterate$7 = function (iterable, unboundFunction, options) {
|
|
2346
2347
|
var that = options && options.that;
|
|
2347
2348
|
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
|
2348
2349
|
var IS_RECORD = !!(options && options.IS_RECORD);
|
|
@@ -2354,13 +2355,13 @@ var iterate$8 = function (iterable, unboundFunction, options) {
|
|
|
2354
2355
|
var stop = function (condition) {
|
|
2355
2356
|
var $iterator = iterator;
|
|
2356
2357
|
iterator = undefined;
|
|
2357
|
-
if ($iterator) iteratorClose$
|
|
2358
|
+
if ($iterator) iteratorClose$a($iterator, 'normal');
|
|
2358
2359
|
return new Result(true, condition);
|
|
2359
2360
|
};
|
|
2360
2361
|
|
|
2361
2362
|
var callFn = function (value) {
|
|
2362
2363
|
if (AS_ENTRIES) {
|
|
2363
|
-
anObject$
|
|
2364
|
+
anObject$g(value);
|
|
2364
2365
|
return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
|
|
2365
2366
|
} return INTERRUPTED ? fn(value, stop) : fn(value);
|
|
2366
2367
|
};
|
|
@@ -2374,7 +2375,7 @@ var iterate$8 = function (iterable, unboundFunction, options) {
|
|
|
2374
2375
|
if (!iterFn) throw new $TypeError$c(tryToString$2(iterable) + ' is not iterable');
|
|
2375
2376
|
// optimisation for array iterators
|
|
2376
2377
|
if (isArrayIteratorMethod$1(iterFn)) {
|
|
2377
|
-
for (index = 0, length = lengthOfArrayLike$
|
|
2378
|
+
for (index = 0, length = lengthOfArrayLike$f(iterable); length > index; index++) {
|
|
2378
2379
|
result = callFn(iterable[index]);
|
|
2379
2380
|
if (result && isPrototypeOf$5(ResultPrototype, result)) return result;
|
|
2380
2381
|
} return new Result(false);
|
|
@@ -2383,13 +2384,13 @@ var iterate$8 = function (iterable, unboundFunction, options) {
|
|
|
2383
2384
|
}
|
|
2384
2385
|
|
|
2385
2386
|
next = IS_RECORD ? iterable.next : iterator.next;
|
|
2386
|
-
while (!(step = call$
|
|
2387
|
+
while (!(step = call$p(next, iterator)).done) {
|
|
2387
2388
|
// `IteratorValue` errors should propagate without closing the iterator
|
|
2388
2389
|
var value = step.value;
|
|
2389
2390
|
try {
|
|
2390
2391
|
result = callFn(value);
|
|
2391
2392
|
} catch (error) {
|
|
2392
|
-
if (iterator) iteratorClose$
|
|
2393
|
+
if (iterator) iteratorClose$a(iterator, 'throw', error);
|
|
2393
2394
|
else throw error;
|
|
2394
2395
|
}
|
|
2395
2396
|
if (typeof result == 'object' && result && isPrototypeOf$5(ResultPrototype, result)) return result;
|
|
@@ -2448,11 +2449,11 @@ var promiseStaticsIncorrectIteration = FORCED_PROMISE_CONSTRUCTOR$3 || !checkCor
|
|
|
2448
2449
|
});
|
|
2449
2450
|
|
|
2450
2451
|
var $$K = _export;
|
|
2451
|
-
var call$
|
|
2452
|
-
var aCallable$
|
|
2452
|
+
var call$o = functionCall;
|
|
2453
|
+
var aCallable$d = aCallable$k;
|
|
2453
2454
|
var newPromiseCapabilityModule$2 = newPromiseCapability$2;
|
|
2454
2455
|
var perform$1 = perform$3;
|
|
2455
|
-
var iterate$
|
|
2456
|
+
var iterate$6 = iterate$7;
|
|
2456
2457
|
var PROMISE_STATICS_INCORRECT_ITERATION$1 = promiseStaticsIncorrectIteration;
|
|
2457
2458
|
|
|
2458
2459
|
// `Promise.all` method
|
|
@@ -2464,15 +2465,15 @@ $$K({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
|
|
|
2464
2465
|
var resolve = capability.resolve;
|
|
2465
2466
|
var reject = capability.reject;
|
|
2466
2467
|
var result = perform$1(function () {
|
|
2467
|
-
var $promiseResolve = aCallable$
|
|
2468
|
+
var $promiseResolve = aCallable$d(C.resolve);
|
|
2468
2469
|
var values = [];
|
|
2469
2470
|
var counter = 0;
|
|
2470
2471
|
var remaining = 1;
|
|
2471
|
-
iterate$
|
|
2472
|
+
iterate$6(iterable, function (promise) {
|
|
2472
2473
|
var index = counter++;
|
|
2473
2474
|
var alreadyCalled = false;
|
|
2474
2475
|
remaining++;
|
|
2475
|
-
call$
|
|
2476
|
+
call$o($promiseResolve, C, promise).then(function (value) {
|
|
2476
2477
|
if (alreadyCalled) return;
|
|
2477
2478
|
alreadyCalled = true;
|
|
2478
2479
|
values[index] = value;
|
|
@@ -2512,11 +2513,11 @@ if (isCallable$b(NativePromiseConstructor)) {
|
|
|
2512
2513
|
}
|
|
2513
2514
|
|
|
2514
2515
|
var $$I = _export;
|
|
2515
|
-
var call$
|
|
2516
|
-
var aCallable$
|
|
2516
|
+
var call$n = functionCall;
|
|
2517
|
+
var aCallable$c = aCallable$k;
|
|
2517
2518
|
var newPromiseCapabilityModule$1 = newPromiseCapability$2;
|
|
2518
2519
|
var perform = perform$3;
|
|
2519
|
-
var iterate$
|
|
2520
|
+
var iterate$5 = iterate$7;
|
|
2520
2521
|
var PROMISE_STATICS_INCORRECT_ITERATION = promiseStaticsIncorrectIteration;
|
|
2521
2522
|
|
|
2522
2523
|
// `Promise.race` method
|
|
@@ -2527,9 +2528,9 @@ $$I({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
|
|
|
2527
2528
|
var capability = newPromiseCapabilityModule$1.f(C);
|
|
2528
2529
|
var reject = capability.reject;
|
|
2529
2530
|
var result = perform(function () {
|
|
2530
|
-
var $promiseResolve = aCallable$
|
|
2531
|
-
iterate$
|
|
2532
|
-
call$
|
|
2531
|
+
var $promiseResolve = aCallable$c(C.resolve);
|
|
2532
|
+
iterate$5(iterable, function (promise) {
|
|
2533
|
+
call$n($promiseResolve, C, promise).then(capability.resolve, reject);
|
|
2533
2534
|
});
|
|
2534
2535
|
});
|
|
2535
2536
|
if (result.error) reject(result.value);
|
|
@@ -2552,12 +2553,12 @@ $$H({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
|
|
|
2552
2553
|
}
|
|
2553
2554
|
});
|
|
2554
2555
|
|
|
2555
|
-
var anObject$
|
|
2556
|
+
var anObject$f = anObject$o;
|
|
2556
2557
|
var isObject$b = isObject$l;
|
|
2557
2558
|
var newPromiseCapability = newPromiseCapability$2;
|
|
2558
2559
|
|
|
2559
2560
|
var promiseResolve$1 = function (C, x) {
|
|
2560
|
-
anObject$
|
|
2561
|
+
anObject$f(C);
|
|
2561
2562
|
if (isObject$b(x) && x.constructor === C) return x;
|
|
2562
2563
|
var promiseCapability = newPromiseCapability.f(C);
|
|
2563
2564
|
var resolve = promiseCapability.resolve;
|
|
@@ -2871,13 +2872,13 @@ var DESCRIPTORS$a = descriptors;
|
|
|
2871
2872
|
var globalThis$u = globalThis_1;
|
|
2872
2873
|
var getBuiltIn$2 = getBuiltIn$b;
|
|
2873
2874
|
var uncurryThis$q = functionUncurryThis;
|
|
2874
|
-
var call$
|
|
2875
|
+
var call$m = functionCall;
|
|
2875
2876
|
var isCallable$9 = isCallable$s;
|
|
2876
2877
|
var isObject$8 = isObject$l;
|
|
2877
2878
|
var isArray$3 = isArray$4;
|
|
2878
2879
|
var hasOwn$7 = hasOwnProperty_1;
|
|
2879
2880
|
var toString$d = toString$h;
|
|
2880
|
-
var lengthOfArrayLike$
|
|
2881
|
+
var lengthOfArrayLike$e = lengthOfArrayLike$h;
|
|
2881
2882
|
var createProperty$4 = createProperty$5;
|
|
2882
2883
|
var fails$s = fails$F;
|
|
2883
2884
|
var parseJSONString$1 = parseJsonString;
|
|
@@ -2925,20 +2926,20 @@ var internalize = function (holder, name, reviver, node) {
|
|
|
2925
2926
|
var nodes = unmodified ? node.nodes : nodeIsArray ? [] : {};
|
|
2926
2927
|
if (nodeIsArray) {
|
|
2927
2928
|
elementRecordsLen = nodes.length;
|
|
2928
|
-
len = lengthOfArrayLike$
|
|
2929
|
+
len = lengthOfArrayLike$e(val);
|
|
2929
2930
|
for (i = 0; i < len; i++) {
|
|
2930
2931
|
internalizeProperty(val, i, internalize(val, '' + i, reviver, i < elementRecordsLen ? nodes[i] : undefined));
|
|
2931
2932
|
}
|
|
2932
2933
|
} else {
|
|
2933
2934
|
keys = enumerableOwnProperties(val);
|
|
2934
|
-
len = lengthOfArrayLike$
|
|
2935
|
+
len = lengthOfArrayLike$e(keys);
|
|
2935
2936
|
for (i = 0; i < len; i++) {
|
|
2936
2937
|
P = keys[i];
|
|
2937
2938
|
internalizeProperty(val, P, internalize(val, P, reviver, hasOwn$7(nodes, P) ? nodes[P] : undefined));
|
|
2938
2939
|
}
|
|
2939
2940
|
}
|
|
2940
2941
|
}
|
|
2941
|
-
return call$
|
|
2942
|
+
return call$m(reviver, holder, name, val, context);
|
|
2942
2943
|
};
|
|
2943
2944
|
|
|
2944
2945
|
var internalizeProperty = function (object, key, value) {
|
|
@@ -3152,7 +3153,7 @@ var nativeRawJson = !fails$r(function () {
|
|
|
3152
3153
|
var $$D = _export;
|
|
3153
3154
|
var getBuiltIn$1 = getBuiltIn$b;
|
|
3154
3155
|
var apply$2 = functionApply;
|
|
3155
|
-
var call$
|
|
3156
|
+
var call$l = functionCall;
|
|
3156
3157
|
var uncurryThis$p = functionUncurryThis;
|
|
3157
3158
|
var fails$q = fails$F;
|
|
3158
3159
|
var isArray$2 = isArray$4;
|
|
@@ -3206,7 +3207,7 @@ var stringifyWithProperSymbolsConversion = WRONG_SYMBOLS_CONVERSION ? function (
|
|
|
3206
3207
|
if (!isCallable$8($replacer) && (it === undefined || isSymbol$1(it))) return; // IE8 returns string on undefined
|
|
3207
3208
|
args[1] = function (key, value) {
|
|
3208
3209
|
// some old implementations (like WebKit) could pass numbers as keys
|
|
3209
|
-
if (isCallable$8($replacer)) value = call$
|
|
3210
|
+
if (isCallable$8($replacer)) value = call$l($replacer, this, $String$1(key), value);
|
|
3210
3211
|
if (!isSymbol$1(value)) return value;
|
|
3211
3212
|
};
|
|
3212
3213
|
return apply$2($stringify, null, args);
|
|
@@ -3255,7 +3256,7 @@ if ($stringify) $$D({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOL
|
|
|
3255
3256
|
|
|
3256
3257
|
var json = stringifyWithProperSymbolsConversion(text, function (key, value) {
|
|
3257
3258
|
// some old implementations (like WebKit) could pass numbers as keys
|
|
3258
|
-
var v = isCallable$8(replacerFunction) ? call$
|
|
3259
|
+
var v = isCallable$8(replacerFunction) ? call$l(replacerFunction, this, $String$1(key), value) : value;
|
|
3259
3260
|
return !NATIVE_RAW_JSON && isRawJSON(v) ? MARK + (push$2(rawStrings, v.rawJSON) - 1) : v;
|
|
3260
3261
|
}, space);
|
|
3261
3262
|
|
|
@@ -3361,12 +3362,12 @@ const getOriginOverride = variableName => {
|
|
|
3361
3362
|
|
|
3362
3363
|
var DESCRIPTORS$9 = descriptors;
|
|
3363
3364
|
var uncurryThis$n = functionUncurryThis;
|
|
3364
|
-
var call$
|
|
3365
|
+
var call$k = functionCall;
|
|
3365
3366
|
var fails$p = fails$F;
|
|
3366
3367
|
var objectKeys = objectKeys$2;
|
|
3367
3368
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
3368
3369
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
3369
|
-
var toObject$
|
|
3370
|
+
var toObject$a = toObject$c;
|
|
3370
3371
|
var IndexedObject$2 = indexedObject;
|
|
3371
3372
|
|
|
3372
3373
|
// eslint-disable-next-line es/no-object-assign -- safe
|
|
@@ -3399,7 +3400,7 @@ var objectAssign = !$assign || fails$p(function () {
|
|
|
3399
3400
|
alphabet.split('').forEach(function (chr) { B[chr] = chr; });
|
|
3400
3401
|
return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet;
|
|
3401
3402
|
}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
|
|
3402
|
-
var T = toObject$
|
|
3403
|
+
var T = toObject$a(target);
|
|
3403
3404
|
var argumentsLength = arguments.length;
|
|
3404
3405
|
var index = 1;
|
|
3405
3406
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
|
@@ -3412,7 +3413,7 @@ var objectAssign = !$assign || fails$p(function () {
|
|
|
3412
3413
|
var key;
|
|
3413
3414
|
while (length > j) {
|
|
3414
3415
|
key = keys[j++];
|
|
3415
|
-
if (!DESCRIPTORS$9 || call$
|
|
3416
|
+
if (!DESCRIPTORS$9 || call$k(propertyIsEnumerable, S, key)) T[key] = S[key];
|
|
3416
3417
|
}
|
|
3417
3418
|
} return T;
|
|
3418
3419
|
} : $assign;
|
|
@@ -3936,7 +3937,7 @@ var correctPrototypeGetter = !fails$o(function () {
|
|
|
3936
3937
|
|
|
3937
3938
|
var hasOwn$6 = hasOwnProperty_1;
|
|
3938
3939
|
var isCallable$7 = isCallable$s;
|
|
3939
|
-
var toObject$
|
|
3940
|
+
var toObject$9 = toObject$c;
|
|
3940
3941
|
var sharedKey = sharedKey$3;
|
|
3941
3942
|
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
3942
3943
|
|
|
@@ -3948,7 +3949,7 @@ var ObjectPrototype$2 = $Object.prototype;
|
|
|
3948
3949
|
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
3949
3950
|
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
3950
3951
|
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
|
|
3951
|
-
var object = toObject$
|
|
3952
|
+
var object = toObject$9(O);
|
|
3952
3953
|
if (hasOwn$6(object, IE_PROTO)) return object[IE_PROTO];
|
|
3953
3954
|
var constructor = object.constructor;
|
|
3954
3955
|
if (isCallable$7(constructor) && object instanceof constructor) {
|
|
@@ -4019,7 +4020,7 @@ var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUME
|
|
|
4019
4020
|
};
|
|
4020
4021
|
|
|
4021
4022
|
var $$z = _export;
|
|
4022
|
-
var call$
|
|
4023
|
+
var call$j = functionCall;
|
|
4023
4024
|
var FunctionName$1 = functionName;
|
|
4024
4025
|
var isCallable$5 = isCallable$s;
|
|
4025
4026
|
var createIteratorConstructor = iteratorCreateConstructor;
|
|
@@ -4091,7 +4092,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
4091
4092
|
createNonEnumerableProperty$7(IterablePrototype, 'name', VALUES);
|
|
4092
4093
|
} else {
|
|
4093
4094
|
INCORRECT_VALUES_NAME = true;
|
|
4094
|
-
defaultIterator = function values() { return call$
|
|
4095
|
+
defaultIterator = function values() { return call$j(nativeIterator, this); };
|
|
4095
4096
|
}
|
|
4096
4097
|
}
|
|
4097
4098
|
|
|
@@ -4125,7 +4126,7 @@ var createIterResultObject$2 = function (value, done) {
|
|
|
4125
4126
|
};
|
|
4126
4127
|
|
|
4127
4128
|
var toIndexedObject$1 = toIndexedObject$6;
|
|
4128
|
-
var addToUnscopables$
|
|
4129
|
+
var addToUnscopables$3 = addToUnscopables$5;
|
|
4129
4130
|
var Iterators = iterators;
|
|
4130
4131
|
var InternalStateModule$4 = internalState;
|
|
4131
4132
|
var defineProperty = objectDefineProperty.f;
|
|
@@ -4176,9 +4177,9 @@ var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind)
|
|
|
4176
4177
|
var values = Iterators.Arguments = Iterators.Array;
|
|
4177
4178
|
|
|
4178
4179
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
4179
|
-
addToUnscopables$
|
|
4180
|
-
addToUnscopables$
|
|
4181
|
-
addToUnscopables$
|
|
4180
|
+
addToUnscopables$3('keys');
|
|
4181
|
+
addToUnscopables$3('values');
|
|
4182
|
+
addToUnscopables$3('entries');
|
|
4182
4183
|
|
|
4183
4184
|
// V8 ~ Chrome 45- bug
|
|
4184
4185
|
if (DESCRIPTORS$8 && values.name !== 'values') try {
|
|
@@ -4188,7 +4189,7 @@ if (DESCRIPTORS$8 && values.name !== 'values') try {
|
|
|
4188
4189
|
var $$y = _export;
|
|
4189
4190
|
var globalThis$s = globalThis_1;
|
|
4190
4191
|
var anInstance$2 = anInstance$4;
|
|
4191
|
-
var anObject$
|
|
4192
|
+
var anObject$e = anObject$o;
|
|
4192
4193
|
var isCallable$4 = isCallable$s;
|
|
4193
4194
|
var getPrototypeOf$2 = objectGetPrototypeOf;
|
|
4194
4195
|
var defineBuiltInAccessor$6 = defineBuiltInAccessor$9;
|
|
@@ -4225,7 +4226,7 @@ var defineIteratorPrototypeAccessor = function (key, value) {
|
|
|
4225
4226
|
return value;
|
|
4226
4227
|
},
|
|
4227
4228
|
set: function (replacement) {
|
|
4228
|
-
anObject$
|
|
4229
|
+
anObject$e(this);
|
|
4229
4230
|
if (this === IteratorPrototype$1) throw new $TypeError$b("You can't redefine this property");
|
|
4230
4231
|
if (hasOwn$5(this, key)) this[key] = replacement;
|
|
4231
4232
|
else createProperty$3(this, key, replacement);
|
|
@@ -4250,7 +4251,7 @@ $$y({ global: true, constructor: true, forced: FORCED$9 }, {
|
|
|
4250
4251
|
|
|
4251
4252
|
// `GetIteratorDirect(obj)` abstract operation
|
|
4252
4253
|
// https://tc39.es/ecma262/#sec-getiteratordirect
|
|
4253
|
-
var getIteratorDirect$
|
|
4254
|
+
var getIteratorDirect$7 = function (obj) {
|
|
4254
4255
|
return {
|
|
4255
4256
|
iterator: obj,
|
|
4256
4257
|
next: obj.next,
|
|
@@ -4261,7 +4262,7 @@ var getIteratorDirect$8 = function (obj) {
|
|
|
4261
4262
|
var globalThis$r = globalThis_1;
|
|
4262
4263
|
|
|
4263
4264
|
// https://github.com/tc39/ecma262/pull/3467
|
|
4264
|
-
var iteratorHelperWithoutClosingOnEarlyError$
|
|
4265
|
+
var iteratorHelperWithoutClosingOnEarlyError$5 = function (METHOD_NAME, ExpectedError) {
|
|
4265
4266
|
var Iterator = globalThis$r.Iterator;
|
|
4266
4267
|
var IteratorPrototype = Iterator && Iterator.prototype;
|
|
4267
4268
|
var method = IteratorPrototype && IteratorPrototype[METHOD_NAME];
|
|
@@ -4282,32 +4283,32 @@ var iteratorHelperWithoutClosingOnEarlyError$6 = function (METHOD_NAME, Expected
|
|
|
4282
4283
|
};
|
|
4283
4284
|
|
|
4284
4285
|
var $$x = _export;
|
|
4285
|
-
var call$
|
|
4286
|
-
var iterate$
|
|
4287
|
-
var aCallable$
|
|
4288
|
-
var anObject$
|
|
4289
|
-
var getIteratorDirect$
|
|
4290
|
-
var iteratorClose$
|
|
4291
|
-
var iteratorHelperWithoutClosingOnEarlyError$
|
|
4286
|
+
var call$i = functionCall;
|
|
4287
|
+
var iterate$4 = iterate$7;
|
|
4288
|
+
var aCallable$b = aCallable$k;
|
|
4289
|
+
var anObject$d = anObject$o;
|
|
4290
|
+
var getIteratorDirect$6 = getIteratorDirect$7;
|
|
4291
|
+
var iteratorClose$9 = iteratorClose$b;
|
|
4292
|
+
var iteratorHelperWithoutClosingOnEarlyError$4 = iteratorHelperWithoutClosingOnEarlyError$5;
|
|
4292
4293
|
|
|
4293
|
-
var forEachWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError$
|
|
4294
|
+
var forEachWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError$4('forEach', TypeError);
|
|
4294
4295
|
|
|
4295
4296
|
// `Iterator.prototype.forEach` method
|
|
4296
4297
|
// https://tc39.es/ecma262/#sec-iterator.prototype.foreach
|
|
4297
4298
|
$$x({ target: 'Iterator', proto: true, real: true, forced: forEachWithoutClosingOnEarlyError }, {
|
|
4298
4299
|
forEach: function forEach(fn) {
|
|
4299
|
-
anObject$
|
|
4300
|
+
anObject$d(this);
|
|
4300
4301
|
try {
|
|
4301
|
-
aCallable$
|
|
4302
|
+
aCallable$b(fn);
|
|
4302
4303
|
} catch (error) {
|
|
4303
|
-
iteratorClose$
|
|
4304
|
+
iteratorClose$9(this, 'throw', error);
|
|
4304
4305
|
}
|
|
4305
4306
|
|
|
4306
|
-
if (forEachWithoutClosingOnEarlyError) return call$
|
|
4307
|
+
if (forEachWithoutClosingOnEarlyError) return call$i(forEachWithoutClosingOnEarlyError, this, fn);
|
|
4307
4308
|
|
|
4308
|
-
var record = getIteratorDirect$
|
|
4309
|
+
var record = getIteratorDirect$6(this);
|
|
4309
4310
|
var counter = 0;
|
|
4310
|
-
iterate$
|
|
4311
|
+
iterate$4(record, function (value) {
|
|
4311
4312
|
fn(value, counter++);
|
|
4312
4313
|
}, { IS_RECORD: true });
|
|
4313
4314
|
}
|
|
@@ -4524,13 +4525,13 @@ var defineBuiltIns$2 = function (target, src, options) {
|
|
|
4524
4525
|
return target;
|
|
4525
4526
|
};
|
|
4526
4527
|
|
|
4527
|
-
var iteratorClose$
|
|
4528
|
+
var iteratorClose$8 = iteratorClose$b;
|
|
4528
4529
|
|
|
4529
4530
|
var iteratorCloseAll$1 = function (iters, kind, value) {
|
|
4530
4531
|
for (var i = iters.length - 1; i >= 0; i--) {
|
|
4531
4532
|
if (iters[i] === undefined) continue;
|
|
4532
4533
|
try {
|
|
4533
|
-
value = iteratorClose$
|
|
4534
|
+
value = iteratorClose$8(iters[i].iterator, kind, value);
|
|
4534
4535
|
} catch (error) {
|
|
4535
4536
|
kind = 'throw';
|
|
4536
4537
|
value = error;
|
|
@@ -4540,7 +4541,7 @@ var iteratorCloseAll$1 = function (iters, kind, value) {
|
|
|
4540
4541
|
return value;
|
|
4541
4542
|
};
|
|
4542
4543
|
|
|
4543
|
-
var call$
|
|
4544
|
+
var call$h = functionCall;
|
|
4544
4545
|
var create$3 = objectCreate;
|
|
4545
4546
|
var createNonEnumerableProperty$5 = createNonEnumerableProperty$d;
|
|
4546
4547
|
var defineBuiltIns$1 = defineBuiltIns$2;
|
|
@@ -4549,7 +4550,7 @@ var InternalStateModule$3 = internalState;
|
|
|
4549
4550
|
var getMethod$1 = getMethod$5;
|
|
4550
4551
|
var IteratorPrototype = iteratorsCore.IteratorPrototype;
|
|
4551
4552
|
var createIterResultObject = createIterResultObject$2;
|
|
4552
|
-
var iteratorClose$
|
|
4553
|
+
var iteratorClose$7 = iteratorClose$b;
|
|
4553
4554
|
var iteratorCloseAll = iteratorCloseAll$1;
|
|
4554
4555
|
|
|
4555
4556
|
var TO_STRING_TAG$1 = wellKnownSymbol$5('toStringTag');
|
|
@@ -4585,21 +4586,21 @@ var createIteratorProxyPrototype = function (IS_ITERATOR) {
|
|
|
4585
4586
|
state.done = true;
|
|
4586
4587
|
if (IS_ITERATOR) {
|
|
4587
4588
|
var returnMethod = getMethod$1(iterator, 'return');
|
|
4588
|
-
return returnMethod ? call$
|
|
4589
|
+
return returnMethod ? call$h(returnMethod, iterator) : createIterResultObject(undefined, true);
|
|
4589
4590
|
}
|
|
4590
4591
|
if (done) return createIterResultObject(undefined, true);
|
|
4591
4592
|
if (state.inner) try {
|
|
4592
|
-
iteratorClose$
|
|
4593
|
+
iteratorClose$7(state.inner.iterator, NORMAL);
|
|
4593
4594
|
} catch (error) {
|
|
4594
|
-
return iteratorClose$
|
|
4595
|
+
return iteratorClose$7(iterator, THROW, error);
|
|
4595
4596
|
}
|
|
4596
4597
|
if (state.openIters) try {
|
|
4597
4598
|
iteratorCloseAll(state.openIters, NORMAL);
|
|
4598
4599
|
} catch (error) {
|
|
4599
|
-
if (iterator) return iteratorClose$
|
|
4600
|
+
if (iterator) return iteratorClose$7(iterator, THROW, error);
|
|
4600
4601
|
throw error;
|
|
4601
4602
|
}
|
|
4602
|
-
if (iterator) iteratorClose$
|
|
4603
|
+
if (iterator) iteratorClose$7(iterator, NORMAL);
|
|
4603
4604
|
return createIterResultObject(undefined, true);
|
|
4604
4605
|
}
|
|
4605
4606
|
});
|
|
@@ -4629,15 +4630,15 @@ var iteratorCreateProxy = function (nextHandler, IS_ITERATOR, RETURN_HANDLER_RES
|
|
|
4629
4630
|
return IteratorProxy;
|
|
4630
4631
|
};
|
|
4631
4632
|
|
|
4632
|
-
var anObject$
|
|
4633
|
-
var iteratorClose$
|
|
4633
|
+
var anObject$c = anObject$o;
|
|
4634
|
+
var iteratorClose$6 = iteratorClose$b;
|
|
4634
4635
|
|
|
4635
4636
|
// call something on iterator step with safe closing on error
|
|
4636
4637
|
var callWithSafeIterationClosing$2 = function (iterator, fn, value, ENTRIES) {
|
|
4637
4638
|
try {
|
|
4638
|
-
return ENTRIES ? fn(anObject$
|
|
4639
|
+
return ENTRIES ? fn(anObject$c(value)[0], value[1]) : fn(value);
|
|
4639
4640
|
} catch (error) {
|
|
4640
|
-
iteratorClose$
|
|
4641
|
+
iteratorClose$6(iterator, 'throw', error);
|
|
4641
4642
|
}
|
|
4642
4643
|
};
|
|
4643
4644
|
|
|
@@ -4654,25 +4655,25 @@ var iteratorHelperThrowsOnInvalidIterator$3 = function (methodName, argument) {
|
|
|
4654
4655
|
};
|
|
4655
4656
|
|
|
4656
4657
|
var $$w = _export;
|
|
4657
|
-
var call$
|
|
4658
|
-
var aCallable$
|
|
4659
|
-
var anObject$
|
|
4660
|
-
var getIteratorDirect$
|
|
4658
|
+
var call$g = functionCall;
|
|
4659
|
+
var aCallable$a = aCallable$k;
|
|
4660
|
+
var anObject$b = anObject$o;
|
|
4661
|
+
var getIteratorDirect$5 = getIteratorDirect$7;
|
|
4661
4662
|
var createIteratorProxy$2 = iteratorCreateProxy;
|
|
4662
4663
|
var callWithSafeIterationClosing$1 = callWithSafeIterationClosing$2;
|
|
4663
|
-
var iteratorClose$
|
|
4664
|
+
var iteratorClose$5 = iteratorClose$b;
|
|
4664
4665
|
var iteratorHelperThrowsOnInvalidIterator$2 = iteratorHelperThrowsOnInvalidIterator$3;
|
|
4665
|
-
var iteratorHelperWithoutClosingOnEarlyError$
|
|
4666
|
+
var iteratorHelperWithoutClosingOnEarlyError$3 = iteratorHelperWithoutClosingOnEarlyError$5;
|
|
4666
4667
|
|
|
4667
4668
|
var MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR = !iteratorHelperThrowsOnInvalidIterator$2('map', function () { /* empty */ });
|
|
4668
4669
|
var mapWithoutClosingOnEarlyError = !MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR
|
|
4669
|
-
&& iteratorHelperWithoutClosingOnEarlyError$
|
|
4670
|
+
&& iteratorHelperWithoutClosingOnEarlyError$3('map', TypeError);
|
|
4670
4671
|
|
|
4671
4672
|
var FORCED$8 = MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR || mapWithoutClosingOnEarlyError;
|
|
4672
4673
|
|
|
4673
4674
|
var IteratorProxy$2 = createIteratorProxy$2(function () {
|
|
4674
4675
|
var iterator = this.iterator;
|
|
4675
|
-
var result = anObject$
|
|
4676
|
+
var result = anObject$b(call$g(this.next, iterator));
|
|
4676
4677
|
var done = this.done = !!result.done;
|
|
4677
4678
|
if (!done) return callWithSafeIterationClosing$1(iterator, this.mapper, [result.value, this.counter++], true);
|
|
4678
4679
|
});
|
|
@@ -4681,23 +4682,23 @@ var IteratorProxy$2 = createIteratorProxy$2(function () {
|
|
|
4681
4682
|
// https://tc39.es/ecma262/#sec-iterator.prototype.map
|
|
4682
4683
|
$$w({ target: 'Iterator', proto: true, real: true, forced: FORCED$8 }, {
|
|
4683
4684
|
map: function map(mapper) {
|
|
4684
|
-
anObject$
|
|
4685
|
+
anObject$b(this);
|
|
4685
4686
|
try {
|
|
4686
|
-
aCallable$
|
|
4687
|
+
aCallable$a(mapper);
|
|
4687
4688
|
} catch (error) {
|
|
4688
|
-
iteratorClose$
|
|
4689
|
+
iteratorClose$5(this, 'throw', error);
|
|
4689
4690
|
}
|
|
4690
4691
|
|
|
4691
|
-
if (mapWithoutClosingOnEarlyError) return call$
|
|
4692
|
+
if (mapWithoutClosingOnEarlyError) return call$g(mapWithoutClosingOnEarlyError, this, mapper);
|
|
4692
4693
|
|
|
4693
|
-
return new IteratorProxy$2(getIteratorDirect$
|
|
4694
|
+
return new IteratorProxy$2(getIteratorDirect$5(this), {
|
|
4694
4695
|
mapper: mapper
|
|
4695
4696
|
});
|
|
4696
4697
|
}
|
|
4697
4698
|
});
|
|
4698
4699
|
|
|
4699
4700
|
var $$v = _export;
|
|
4700
|
-
var iterate$
|
|
4701
|
+
var iterate$3 = iterate$7;
|
|
4701
4702
|
var createProperty$2 = createProperty$5;
|
|
4702
4703
|
|
|
4703
4704
|
// `Object.fromEntries` method
|
|
@@ -4705,7 +4706,7 @@ var createProperty$2 = createProperty$5;
|
|
|
4705
4706
|
$$v({ target: 'Object', stat: true }, {
|
|
4706
4707
|
fromEntries: function fromEntries(iterable) {
|
|
4707
4708
|
var obj = {};
|
|
4708
|
-
iterate$
|
|
4709
|
+
iterate$3(iterable, function (k, v) {
|
|
4709
4710
|
createProperty$2(obj, k, v);
|
|
4710
4711
|
}, { AS_ENTRIES: true });
|
|
4711
4712
|
return obj;
|
|
@@ -4759,12 +4760,12 @@ var FLAGS_GETTER_IS_CORRECT = !fails$l(function () {
|
|
|
4759
4760
|
|
|
4760
4761
|
var regexpFlagsDetection = { correct: FLAGS_GETTER_IS_CORRECT };
|
|
4761
4762
|
|
|
4762
|
-
var anObject$
|
|
4763
|
+
var anObject$a = anObject$o;
|
|
4763
4764
|
|
|
4764
4765
|
// `RegExp.prototype.flags` getter implementation
|
|
4765
4766
|
// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
|
|
4766
4767
|
var regexpFlags$1 = function () {
|
|
4767
|
-
var that = anObject$
|
|
4768
|
+
var that = anObject$a(this);
|
|
4768
4769
|
var result = '';
|
|
4769
4770
|
if (that.hasIndices) result += 'd';
|
|
4770
4771
|
if (that.global) result += 'g';
|
|
@@ -4969,20 +4970,122 @@ function createLoginCommand() {
|
|
|
4969
4970
|
});
|
|
4970
4971
|
}
|
|
4971
4972
|
|
|
4973
|
+
var $TypeError$a = TypeError;
|
|
4974
|
+
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
|
|
4975
|
+
|
|
4976
|
+
var doesNotExceedSafeInteger$1 = function (it) {
|
|
4977
|
+
if (it > MAX_SAFE_INTEGER) throw new $TypeError$a('Maximum allowed index exceeded');
|
|
4978
|
+
return it;
|
|
4979
|
+
};
|
|
4980
|
+
|
|
4981
|
+
var isArray$1 = isArray$4;
|
|
4982
|
+
var lengthOfArrayLike$d = lengthOfArrayLike$h;
|
|
4983
|
+
var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;
|
|
4984
|
+
var bind$3 = functionBindContext;
|
|
4985
|
+
var createProperty$1 = createProperty$5;
|
|
4986
|
+
|
|
4987
|
+
// `FlattenIntoArray` abstract operation
|
|
4988
|
+
// https://tc39.es/ecma262/#sec-flattenintoarray
|
|
4989
|
+
var flattenIntoArray$2 = function (target, original, source, sourceLen, start, depth, mapper, thisArg) {
|
|
4990
|
+
var targetIndex = start;
|
|
4991
|
+
var sourceIndex = 0;
|
|
4992
|
+
var mapFn = mapper ? bind$3(mapper, thisArg) : false;
|
|
4993
|
+
var element, elementLen;
|
|
4994
|
+
|
|
4995
|
+
while (sourceIndex < sourceLen) {
|
|
4996
|
+
if (sourceIndex in source) {
|
|
4997
|
+
element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];
|
|
4998
|
+
|
|
4999
|
+
if (depth > 0 && isArray$1(element)) {
|
|
5000
|
+
elementLen = lengthOfArrayLike$d(element);
|
|
5001
|
+
targetIndex = flattenIntoArray$2(target, original, element, elementLen, targetIndex, depth - 1) - 1;
|
|
5002
|
+
} else {
|
|
5003
|
+
doesNotExceedSafeInteger(targetIndex + 1);
|
|
5004
|
+
createProperty$1(target, targetIndex, element);
|
|
5005
|
+
}
|
|
5006
|
+
|
|
5007
|
+
targetIndex++;
|
|
5008
|
+
}
|
|
5009
|
+
sourceIndex++;
|
|
5010
|
+
}
|
|
5011
|
+
return targetIndex;
|
|
5012
|
+
};
|
|
5013
|
+
|
|
5014
|
+
var flattenIntoArray_1 = flattenIntoArray$2;
|
|
5015
|
+
|
|
5016
|
+
var isArray = isArray$4;
|
|
5017
|
+
var isConstructor = isConstructor$2;
|
|
5018
|
+
var isObject$5 = isObject$l;
|
|
5019
|
+
var wellKnownSymbol$4 = wellKnownSymbol$n;
|
|
5020
|
+
|
|
5021
|
+
var SPECIES$1 = wellKnownSymbol$4('species');
|
|
5022
|
+
var $Array$2 = Array;
|
|
5023
|
+
|
|
5024
|
+
// a part of `ArraySpeciesCreate` abstract operation
|
|
5025
|
+
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
|
5026
|
+
var arraySpeciesConstructor$1 = function (originalArray) {
|
|
5027
|
+
var C;
|
|
5028
|
+
if (isArray(originalArray)) {
|
|
5029
|
+
C = originalArray.constructor;
|
|
5030
|
+
// cross-realm fallback
|
|
5031
|
+
if (isConstructor(C) && (C === $Array$2 || isArray(C.prototype))) C = undefined;
|
|
5032
|
+
else if (isObject$5(C)) {
|
|
5033
|
+
C = C[SPECIES$1];
|
|
5034
|
+
if (C === null) C = undefined;
|
|
5035
|
+
}
|
|
5036
|
+
} return C === undefined ? $Array$2 : C;
|
|
5037
|
+
};
|
|
5038
|
+
|
|
5039
|
+
var arraySpeciesConstructor = arraySpeciesConstructor$1;
|
|
5040
|
+
|
|
5041
|
+
// `ArraySpeciesCreate` abstract operation
|
|
5042
|
+
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
|
5043
|
+
var arraySpeciesCreate$3 = function (originalArray, length) {
|
|
5044
|
+
return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
|
|
5045
|
+
};
|
|
5046
|
+
|
|
4972
5047
|
var $$u = _export;
|
|
4973
|
-
var
|
|
4974
|
-
var
|
|
4975
|
-
var
|
|
4976
|
-
var
|
|
5048
|
+
var flattenIntoArray$1 = flattenIntoArray_1;
|
|
5049
|
+
var toObject$8 = toObject$c;
|
|
5050
|
+
var lengthOfArrayLike$c = lengthOfArrayLike$h;
|
|
5051
|
+
var toIntegerOrInfinity$b = toIntegerOrInfinity$e;
|
|
5052
|
+
var arraySpeciesCreate$2 = arraySpeciesCreate$3;
|
|
5053
|
+
|
|
5054
|
+
// `Array.prototype.flat` method
|
|
5055
|
+
// https://tc39.es/ecma262/#sec-array.prototype.flat
|
|
5056
|
+
$$u({ target: 'Array', proto: true }, {
|
|
5057
|
+
flat: function flat(/* depthArg = 1 */) {
|
|
5058
|
+
var depthArg = arguments.length ? arguments[0] : undefined;
|
|
5059
|
+
var O = toObject$8(this);
|
|
5060
|
+
var sourceLen = lengthOfArrayLike$c(O);
|
|
5061
|
+
var depthNum = depthArg === undefined ? 1 : toIntegerOrInfinity$b(depthArg);
|
|
5062
|
+
var A = arraySpeciesCreate$2(O, 0);
|
|
5063
|
+
flattenIntoArray$1(A, O, O, sourceLen, 0, depthNum);
|
|
5064
|
+
return A;
|
|
5065
|
+
}
|
|
5066
|
+
});
|
|
5067
|
+
|
|
5068
|
+
// this method was added to unscopables after implementation
|
|
5069
|
+
// in popular engines, so it's moved to a separate module
|
|
5070
|
+
var addToUnscopables$2 = addToUnscopables$5;
|
|
5071
|
+
|
|
5072
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
5073
|
+
addToUnscopables$2('flat');
|
|
5074
|
+
|
|
5075
|
+
var $$t = _export;
|
|
5076
|
+
var call$f = functionCall;
|
|
5077
|
+
var aCallable$9 = aCallable$k;
|
|
5078
|
+
var anObject$9 = anObject$o;
|
|
5079
|
+
var getIteratorDirect$4 = getIteratorDirect$7;
|
|
4977
5080
|
var createIteratorProxy$1 = iteratorCreateProxy;
|
|
4978
5081
|
var callWithSafeIterationClosing = callWithSafeIterationClosing$2;
|
|
4979
|
-
var iteratorClose$
|
|
5082
|
+
var iteratorClose$4 = iteratorClose$b;
|
|
4980
5083
|
var iteratorHelperThrowsOnInvalidIterator$1 = iteratorHelperThrowsOnInvalidIterator$3;
|
|
4981
|
-
var iteratorHelperWithoutClosingOnEarlyError$
|
|
5084
|
+
var iteratorHelperWithoutClosingOnEarlyError$2 = iteratorHelperWithoutClosingOnEarlyError$5;
|
|
4982
5085
|
|
|
4983
5086
|
var FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR = !iteratorHelperThrowsOnInvalidIterator$1('filter', function () { /* empty */ });
|
|
4984
5087
|
var filterWithoutClosingOnEarlyError = !FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR
|
|
4985
|
-
&& iteratorHelperWithoutClosingOnEarlyError$
|
|
5088
|
+
&& iteratorHelperWithoutClosingOnEarlyError$2('filter', TypeError);
|
|
4986
5089
|
|
|
4987
5090
|
var FORCED$7 = FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR || filterWithoutClosingOnEarlyError;
|
|
4988
5091
|
|
|
@@ -4992,7 +5095,7 @@ var IteratorProxy$1 = createIteratorProxy$1(function () {
|
|
|
4992
5095
|
var next = this.next;
|
|
4993
5096
|
var result, done, value;
|
|
4994
5097
|
while (true) {
|
|
4995
|
-
result = anObject$
|
|
5098
|
+
result = anObject$9(call$f(next, iterator));
|
|
4996
5099
|
done = this.done = !!result.done;
|
|
4997
5100
|
if (done) return;
|
|
4998
5101
|
value = result.value;
|
|
@@ -5002,52 +5105,52 @@ var IteratorProxy$1 = createIteratorProxy$1(function () {
|
|
|
5002
5105
|
|
|
5003
5106
|
// `Iterator.prototype.filter` method
|
|
5004
5107
|
// https://tc39.es/ecma262/#sec-iterator.prototype.filter
|
|
5005
|
-
$$
|
|
5108
|
+
$$t({ target: 'Iterator', proto: true, real: true, forced: FORCED$7 }, {
|
|
5006
5109
|
filter: function filter(predicate) {
|
|
5007
|
-
anObject$
|
|
5110
|
+
anObject$9(this);
|
|
5008
5111
|
try {
|
|
5009
|
-
aCallable$
|
|
5112
|
+
aCallable$9(predicate);
|
|
5010
5113
|
} catch (error) {
|
|
5011
|
-
iteratorClose$
|
|
5114
|
+
iteratorClose$4(this, 'throw', error);
|
|
5012
5115
|
}
|
|
5013
5116
|
|
|
5014
|
-
if (filterWithoutClosingOnEarlyError) return call$
|
|
5117
|
+
if (filterWithoutClosingOnEarlyError) return call$f(filterWithoutClosingOnEarlyError, this, predicate);
|
|
5015
5118
|
|
|
5016
|
-
return new IteratorProxy$1(getIteratorDirect$
|
|
5119
|
+
return new IteratorProxy$1(getIteratorDirect$4(this), {
|
|
5017
5120
|
predicate: predicate
|
|
5018
5121
|
});
|
|
5019
5122
|
}
|
|
5020
5123
|
});
|
|
5021
5124
|
|
|
5022
|
-
var $$
|
|
5023
|
-
var call$
|
|
5024
|
-
var iterate$
|
|
5025
|
-
var aCallable$
|
|
5026
|
-
var anObject$
|
|
5027
|
-
var getIteratorDirect$
|
|
5028
|
-
var iteratorClose$
|
|
5029
|
-
var iteratorHelperWithoutClosingOnEarlyError$
|
|
5030
|
-
|
|
5031
|
-
var
|
|
5032
|
-
|
|
5033
|
-
// `Iterator.prototype.
|
|
5034
|
-
// https://tc39.es/ecma262/#sec-iterator.prototype.
|
|
5035
|
-
$$
|
|
5036
|
-
|
|
5037
|
-
anObject$
|
|
5125
|
+
var $$s = _export;
|
|
5126
|
+
var call$e = functionCall;
|
|
5127
|
+
var iterate$2 = iterate$7;
|
|
5128
|
+
var aCallable$8 = aCallable$k;
|
|
5129
|
+
var anObject$8 = anObject$o;
|
|
5130
|
+
var getIteratorDirect$3 = getIteratorDirect$7;
|
|
5131
|
+
var iteratorClose$3 = iteratorClose$b;
|
|
5132
|
+
var iteratorHelperWithoutClosingOnEarlyError$1 = iteratorHelperWithoutClosingOnEarlyError$5;
|
|
5133
|
+
|
|
5134
|
+
var someWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError$1('some', TypeError);
|
|
5135
|
+
|
|
5136
|
+
// `Iterator.prototype.some` method
|
|
5137
|
+
// https://tc39.es/ecma262/#sec-iterator.prototype.some
|
|
5138
|
+
$$s({ target: 'Iterator', proto: true, real: true, forced: someWithoutClosingOnEarlyError }, {
|
|
5139
|
+
some: function some(predicate) {
|
|
5140
|
+
anObject$8(this);
|
|
5038
5141
|
try {
|
|
5039
|
-
aCallable$
|
|
5142
|
+
aCallable$8(predicate);
|
|
5040
5143
|
} catch (error) {
|
|
5041
|
-
iteratorClose$
|
|
5144
|
+
iteratorClose$3(this, 'throw', error);
|
|
5042
5145
|
}
|
|
5043
5146
|
|
|
5044
|
-
if (
|
|
5147
|
+
if (someWithoutClosingOnEarlyError) return call$e(someWithoutClosingOnEarlyError, this, predicate);
|
|
5045
5148
|
|
|
5046
|
-
var record = getIteratorDirect$
|
|
5149
|
+
var record = getIteratorDirect$3(this);
|
|
5047
5150
|
var counter = 0;
|
|
5048
|
-
return iterate$
|
|
5049
|
-
if (predicate(value, counter++)) return stop(
|
|
5050
|
-
}, { IS_RECORD: true, INTERRUPTED: true }).
|
|
5151
|
+
return iterate$2(record, function (value, stop) {
|
|
5152
|
+
if (predicate(value, counter++)) return stop();
|
|
5153
|
+
}, { IS_RECORD: true, INTERRUPTED: true }).stopped;
|
|
5051
5154
|
}
|
|
5052
5155
|
});
|
|
5053
5156
|
|
|
@@ -5128,7 +5231,7 @@ const getApplicationLogs = async (connection, applicationId) => {
|
|
|
5128
5231
|
// eslint-disable-next-line es/no-typed-arrays -- safe
|
|
5129
5232
|
var arrayBufferBasicDetection = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';
|
|
5130
5233
|
|
|
5131
|
-
var toIntegerOrInfinity$a = toIntegerOrInfinity$
|
|
5234
|
+
var toIntegerOrInfinity$a = toIntegerOrInfinity$e;
|
|
5132
5235
|
var toLength$4 = toLength$7;
|
|
5133
5236
|
|
|
5134
5237
|
var $RangeError$5 = RangeError;
|
|
@@ -5192,7 +5295,7 @@ var mathFround = Math.fround || function fround(x) {
|
|
|
5192
5295
|
};
|
|
5193
5296
|
|
|
5194
5297
|
// IEEE754 conversions based on https://github.com/feross/ieee754
|
|
5195
|
-
var $Array$
|
|
5298
|
+
var $Array$1 = Array;
|
|
5196
5299
|
var abs = Math.abs;
|
|
5197
5300
|
var pow = Math.pow;
|
|
5198
5301
|
var floor$5 = Math.floor;
|
|
@@ -5200,7 +5303,7 @@ var log = Math.log;
|
|
|
5200
5303
|
var LN2 = Math.LN2;
|
|
5201
5304
|
|
|
5202
5305
|
var pack = function (number, mantissaLength, bytes) {
|
|
5203
|
-
var buffer = $Array$
|
|
5306
|
+
var buffer = $Array$1(bytes);
|
|
5204
5307
|
var exponentLength = bytes * 8 - mantissaLength - 1;
|
|
5205
5308
|
var eMax = (1 << exponentLength) - 1;
|
|
5206
5309
|
var eBias = eMax >> 1;
|
|
@@ -5294,15 +5397,15 @@ var ieee754 = {
|
|
|
5294
5397
|
unpack: unpack
|
|
5295
5398
|
};
|
|
5296
5399
|
|
|
5297
|
-
var toObject$7 = toObject$
|
|
5400
|
+
var toObject$7 = toObject$c;
|
|
5298
5401
|
var toAbsoluteIndex$1 = toAbsoluteIndex$3;
|
|
5299
|
-
var lengthOfArrayLike$
|
|
5402
|
+
var lengthOfArrayLike$b = lengthOfArrayLike$h;
|
|
5300
5403
|
|
|
5301
5404
|
// `Array.prototype.fill` method implementation
|
|
5302
5405
|
// https://tc39.es/ecma262/#sec-array.prototype.fill
|
|
5303
5406
|
var arrayFill$1 = function fill(value /* , start = 0, end = @length */) {
|
|
5304
5407
|
var O = toObject$7(this);
|
|
5305
|
-
var length = lengthOfArrayLike$
|
|
5408
|
+
var length = lengthOfArrayLike$b(O);
|
|
5306
5409
|
var argumentsLength = arguments.length;
|
|
5307
5410
|
var index = toAbsoluteIndex$1(argumentsLength > 1 ? arguments[1] : undefined, length);
|
|
5308
5411
|
var end = argumentsLength > 2 ? arguments[2] : undefined;
|
|
@@ -5321,7 +5424,7 @@ var defineBuiltInAccessor$4 = defineBuiltInAccessor$9;
|
|
|
5321
5424
|
var defineBuiltIns = defineBuiltIns$2;
|
|
5322
5425
|
var fails$k = fails$F;
|
|
5323
5426
|
var anInstance$1 = anInstance$4;
|
|
5324
|
-
var toIntegerOrInfinity$9 = toIntegerOrInfinity$
|
|
5427
|
+
var toIntegerOrInfinity$9 = toIntegerOrInfinity$e;
|
|
5325
5428
|
var toIndex$2 = toIndex$3;
|
|
5326
5429
|
var fround = mathFround;
|
|
5327
5430
|
var IEEE754 = ieee754;
|
|
@@ -5570,7 +5673,7 @@ var arrayBuffer = {
|
|
|
5570
5673
|
DataView: $DataView
|
|
5571
5674
|
};
|
|
5572
5675
|
|
|
5573
|
-
var $$
|
|
5676
|
+
var $$r = _export;
|
|
5574
5677
|
var globalThis$n = globalThis_1;
|
|
5575
5678
|
var arrayBufferModule = arrayBuffer;
|
|
5576
5679
|
var setSpecies$2 = setSpecies$4;
|
|
@@ -5581,17 +5684,17 @@ var NativeArrayBuffer = globalThis$n[ARRAY_BUFFER];
|
|
|
5581
5684
|
|
|
5582
5685
|
// `ArrayBuffer` constructor
|
|
5583
5686
|
// https://tc39.es/ecma262/#sec-arraybuffer-constructor
|
|
5584
|
-
$$
|
|
5687
|
+
$$r({ global: true, constructor: true, forced: NativeArrayBuffer !== ArrayBuffer$6 }, {
|
|
5585
5688
|
ArrayBuffer: ArrayBuffer$6
|
|
5586
5689
|
});
|
|
5587
5690
|
|
|
5588
5691
|
setSpecies$2(ARRAY_BUFFER);
|
|
5589
5692
|
|
|
5590
|
-
var $$
|
|
5693
|
+
var $$q = _export;
|
|
5591
5694
|
var uncurryThis$l = functionUncurryThisClause;
|
|
5592
5695
|
var fails$j = fails$F;
|
|
5593
5696
|
var ArrayBufferModule$1 = arrayBuffer;
|
|
5594
|
-
var anObject$
|
|
5697
|
+
var anObject$7 = anObject$o;
|
|
5595
5698
|
var toAbsoluteIndex = toAbsoluteIndex$3;
|
|
5596
5699
|
var toLength$3 = toLength$7;
|
|
5597
5700
|
|
|
@@ -5608,12 +5711,12 @@ var INCORRECT_SLICE = fails$j(function () {
|
|
|
5608
5711
|
|
|
5609
5712
|
// `ArrayBuffer.prototype.slice` method
|
|
5610
5713
|
// https://tc39.es/ecma262/#sec-arraybuffer.prototype.slice
|
|
5611
|
-
$$
|
|
5714
|
+
$$q({ target: 'ArrayBuffer', proto: true, unsafe: true, forced: INCORRECT_SLICE }, {
|
|
5612
5715
|
slice: function slice(start, end) {
|
|
5613
5716
|
if (nativeArrayBufferSlice && end === undefined) {
|
|
5614
|
-
return nativeArrayBufferSlice(anObject$
|
|
5717
|
+
return nativeArrayBufferSlice(anObject$7(this), start); // FF fix
|
|
5615
5718
|
}
|
|
5616
|
-
var length = anObject$
|
|
5719
|
+
var length = anObject$7(this).byteLength;
|
|
5617
5720
|
var first = toAbsoluteIndex(start, length);
|
|
5618
5721
|
var fin = toAbsoluteIndex(end === undefined ? length : end, length);
|
|
5619
5722
|
var result = new ArrayBuffer$5(toLength$3(fin - first));
|
|
@@ -5677,10 +5780,10 @@ if (DESCRIPTORS$4 && !('detached' in ArrayBufferPrototype$2)) {
|
|
|
5677
5780
|
|
|
5678
5781
|
var isDetached = arrayBufferIsDetached;
|
|
5679
5782
|
|
|
5680
|
-
var $TypeError$
|
|
5783
|
+
var $TypeError$9 = TypeError;
|
|
5681
5784
|
|
|
5682
5785
|
var arrayBufferNotDetached = function (it) {
|
|
5683
|
-
if (isDetached(it)) throw new $TypeError$
|
|
5786
|
+
if (isDetached(it)) throw new $TypeError$9('ArrayBuffer is detached');
|
|
5684
5787
|
return it;
|
|
5685
5788
|
};
|
|
5686
5789
|
|
|
@@ -5800,23 +5903,23 @@ var arrayBufferTransfer = (PROPER_STRUCTURED_CLONE_TRANSFER || detachTransferabl
|
|
|
5800
5903
|
return newBuffer;
|
|
5801
5904
|
};
|
|
5802
5905
|
|
|
5803
|
-
var $$
|
|
5906
|
+
var $$p = _export;
|
|
5804
5907
|
var $transfer$1 = arrayBufferTransfer;
|
|
5805
5908
|
|
|
5806
5909
|
// `ArrayBuffer.prototype.transfer` method
|
|
5807
5910
|
// https://tc39.es/ecma262/#sec-arraybuffer.prototype.transfer
|
|
5808
|
-
if ($transfer$1) $$
|
|
5911
|
+
if ($transfer$1) $$p({ target: 'ArrayBuffer', proto: true }, {
|
|
5809
5912
|
transfer: function transfer() {
|
|
5810
5913
|
return $transfer$1(this, arguments.length ? arguments[0] : undefined, true);
|
|
5811
5914
|
}
|
|
5812
5915
|
});
|
|
5813
5916
|
|
|
5814
|
-
var $$
|
|
5917
|
+
var $$o = _export;
|
|
5815
5918
|
var $transfer = arrayBufferTransfer;
|
|
5816
5919
|
|
|
5817
5920
|
// `ArrayBuffer.prototype.transferToFixedLength` method
|
|
5818
5921
|
// https://tc39.es/ecma262/#sec-arraybuffer.prototype.transfertofixedlength
|
|
5819
|
-
if ($transfer) $$
|
|
5922
|
+
if ($transfer) $$o({ target: 'ArrayBuffer', proto: true }, {
|
|
5820
5923
|
transferToFixedLength: function transferToFixedLength() {
|
|
5821
5924
|
return $transfer(this, arguments.length ? arguments[0] : undefined, false);
|
|
5822
5925
|
}
|
|
@@ -5878,7 +5981,7 @@ var regexpUnsupportedNcg = fails$f(function () {
|
|
|
5878
5981
|
|
|
5879
5982
|
/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
|
|
5880
5983
|
/* eslint-disable regexp/no-useless-quantifier -- testing */
|
|
5881
|
-
var call$
|
|
5984
|
+
var call$d = functionCall;
|
|
5882
5985
|
var uncurryThis$j = functionUncurryThis;
|
|
5883
5986
|
var toString$a = toString$h;
|
|
5884
5987
|
var regexpFlags = regexpFlags$1;
|
|
@@ -5900,8 +6003,8 @@ var stringSlice$6 = uncurryThis$j(''.slice);
|
|
|
5900
6003
|
var UPDATES_LAST_INDEX_WRONG = (function () {
|
|
5901
6004
|
var re1 = /a/;
|
|
5902
6005
|
var re2 = /b*/g;
|
|
5903
|
-
call$
|
|
5904
|
-
call$
|
|
6006
|
+
call$d(nativeExec, re1, 'a');
|
|
6007
|
+
call$d(nativeExec, re2, 'a');
|
|
5905
6008
|
return re1.lastIndex !== 0 || re2.lastIndex !== 0;
|
|
5906
6009
|
})();
|
|
5907
6010
|
|
|
@@ -5930,7 +6033,7 @@ if (PATCH) {
|
|
|
5930
6033
|
|
|
5931
6034
|
if (raw) {
|
|
5932
6035
|
raw.lastIndex = re.lastIndex;
|
|
5933
|
-
result = call$
|
|
6036
|
+
result = call$d(patchedExec, raw, str);
|
|
5934
6037
|
re.lastIndex = raw.lastIndex;
|
|
5935
6038
|
|
|
5936
6039
|
if (result && state.groups) setGroups(result, state.groups);
|
|
@@ -5940,7 +6043,7 @@ if (PATCH) {
|
|
|
5940
6043
|
|
|
5941
6044
|
var groups = state.groups;
|
|
5942
6045
|
var sticky = UNSUPPORTED_Y$1 && re.sticky;
|
|
5943
|
-
var flags = call$
|
|
6046
|
+
var flags = call$d(regexpFlags, re);
|
|
5944
6047
|
var source = re.source;
|
|
5945
6048
|
var charsAdded = 0;
|
|
5946
6049
|
var strCopy = str;
|
|
@@ -5970,7 +6073,7 @@ if (PATCH) {
|
|
|
5970
6073
|
}
|
|
5971
6074
|
if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
|
|
5972
6075
|
|
|
5973
|
-
var match = call$
|
|
6076
|
+
var match = call$d(nativeExec, sticky ? reCopy : re, strCopy);
|
|
5974
6077
|
|
|
5975
6078
|
if (sticky) {
|
|
5976
6079
|
if (match) {
|
|
@@ -5985,7 +6088,7 @@ if (PATCH) {
|
|
|
5985
6088
|
if (NPCG_INCLUDED && match && match.length > 1) {
|
|
5986
6089
|
// Fix browsers whose `exec` methods don't consistently return `undefined`
|
|
5987
6090
|
// for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
|
|
5988
|
-
call$
|
|
6091
|
+
call$d(nativeReplace, match[0], reCopy, function () {
|
|
5989
6092
|
for (var i = 1; i < arguments.length - 2; i++) {
|
|
5990
6093
|
if (arguments[i] === undefined) match[i] = undefined;
|
|
5991
6094
|
}
|
|
@@ -6000,12 +6103,12 @@ if (PATCH) {
|
|
|
6000
6103
|
|
|
6001
6104
|
var regexpExec$2 = patchedExec;
|
|
6002
6105
|
|
|
6003
|
-
var $$
|
|
6106
|
+
var $$n = _export;
|
|
6004
6107
|
var exec$1 = regexpExec$2;
|
|
6005
6108
|
|
|
6006
6109
|
// `RegExp.prototype.exec` method
|
|
6007
6110
|
// https://tc39.es/ecma262/#sec-regexp.prototype.exec
|
|
6008
|
-
$$
|
|
6111
|
+
$$n({ target: 'RegExp', proto: true, forced: /./.exec !== exec$1 }, {
|
|
6009
6112
|
exec: exec$1
|
|
6010
6113
|
});
|
|
6011
6114
|
|
|
@@ -6031,13 +6134,13 @@ var aSet$7 = function (it) {
|
|
|
6031
6134
|
return it;
|
|
6032
6135
|
};
|
|
6033
6136
|
|
|
6034
|
-
var call$
|
|
6137
|
+
var call$c = functionCall;
|
|
6035
6138
|
|
|
6036
6139
|
var iterateSimple$7 = function (record, fn, ITERATOR_INSTEAD_OF_RECORD) {
|
|
6037
6140
|
var iterator = ITERATOR_INSTEAD_OF_RECORD ? record : record.iterator;
|
|
6038
6141
|
var next = record.next;
|
|
6039
6142
|
var step, result;
|
|
6040
|
-
while (!(step = call$
|
|
6143
|
+
while (!(step = call$c(next, iterator)).done) {
|
|
6041
6144
|
result = fn(step.value);
|
|
6042
6145
|
if (result !== undefined) return result;
|
|
6043
6146
|
}
|
|
@@ -6058,14 +6161,14 @@ var setIterate = function (set, fn, interruptible) {
|
|
|
6058
6161
|
};
|
|
6059
6162
|
|
|
6060
6163
|
var SetHelpers$4 = setHelpers;
|
|
6061
|
-
var iterate$
|
|
6164
|
+
var iterate$1 = setIterate;
|
|
6062
6165
|
|
|
6063
6166
|
var Set$2 = SetHelpers$4.Set;
|
|
6064
6167
|
var add$3 = SetHelpers$4.add;
|
|
6065
6168
|
|
|
6066
6169
|
var setClone = function (set) {
|
|
6067
6170
|
var result = new Set$2();
|
|
6068
|
-
iterate$
|
|
6171
|
+
iterate$1(set, function (it) {
|
|
6069
6172
|
add$3(result, it);
|
|
6070
6173
|
});
|
|
6071
6174
|
return result;
|
|
@@ -6078,41 +6181,41 @@ var setSize = uncurryThisAccessor(SetHelpers$3.proto, 'size', 'get') || function
|
|
|
6078
6181
|
return set.size;
|
|
6079
6182
|
};
|
|
6080
6183
|
|
|
6081
|
-
var aCallable$
|
|
6082
|
-
var anObject$
|
|
6083
|
-
var call$
|
|
6084
|
-
var toIntegerOrInfinity$8 = toIntegerOrInfinity$
|
|
6085
|
-
var getIteratorDirect$
|
|
6184
|
+
var aCallable$7 = aCallable$k;
|
|
6185
|
+
var anObject$6 = anObject$o;
|
|
6186
|
+
var call$b = functionCall;
|
|
6187
|
+
var toIntegerOrInfinity$8 = toIntegerOrInfinity$e;
|
|
6188
|
+
var getIteratorDirect$2 = getIteratorDirect$7;
|
|
6086
6189
|
|
|
6087
6190
|
var INVALID_SIZE = 'Invalid size';
|
|
6088
6191
|
var $RangeError$4 = RangeError;
|
|
6089
|
-
var $TypeError$
|
|
6192
|
+
var $TypeError$8 = TypeError;
|
|
6090
6193
|
var max$1 = Math.max;
|
|
6091
6194
|
|
|
6092
6195
|
var SetRecord = function (set, intSize) {
|
|
6093
6196
|
this.set = set;
|
|
6094
6197
|
this.size = max$1(intSize, 0);
|
|
6095
|
-
this.has = aCallable$
|
|
6096
|
-
this.keys = aCallable$
|
|
6198
|
+
this.has = aCallable$7(set.has);
|
|
6199
|
+
this.keys = aCallable$7(set.keys);
|
|
6097
6200
|
};
|
|
6098
6201
|
|
|
6099
6202
|
SetRecord.prototype = {
|
|
6100
6203
|
getIterator: function () {
|
|
6101
|
-
return getIteratorDirect$
|
|
6204
|
+
return getIteratorDirect$2(anObject$6(call$b(this.keys, this.set)));
|
|
6102
6205
|
},
|
|
6103
6206
|
includes: function (it) {
|
|
6104
|
-
return call$
|
|
6207
|
+
return call$b(this.has, this.set, it);
|
|
6105
6208
|
}
|
|
6106
6209
|
};
|
|
6107
6210
|
|
|
6108
6211
|
// `GetSetRecord` abstract operation
|
|
6109
6212
|
// https://tc39.es/proposal-set-methods/#sec-getsetrecord
|
|
6110
6213
|
var getSetRecord$7 = function (obj) {
|
|
6111
|
-
anObject$
|
|
6214
|
+
anObject$6(obj);
|
|
6112
6215
|
var numSize = +obj.size;
|
|
6113
6216
|
// NOTE: If size is undefined, then numSize will be NaN
|
|
6114
6217
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
6115
|
-
if (numSize !== numSize) throw new $TypeError$
|
|
6218
|
+
if (numSize !== numSize) throw new $TypeError$8(INVALID_SIZE);
|
|
6116
6219
|
var intSize = toIntegerOrInfinity$8(numSize);
|
|
6117
6220
|
if (intSize < 0) throw new $RangeError$4(INVALID_SIZE);
|
|
6118
6221
|
return new SetRecord(obj, intSize);
|
|
@@ -6202,7 +6305,7 @@ var setMethodAcceptSetLike$7 = function (name, callback) {
|
|
|
6202
6305
|
}
|
|
6203
6306
|
};
|
|
6204
6307
|
|
|
6205
|
-
var $$
|
|
6308
|
+
var $$m = _export;
|
|
6206
6309
|
var difference = setDifference;
|
|
6207
6310
|
var fails$e = fails$F;
|
|
6208
6311
|
var setMethodAcceptSetLike$6 = setMethodAcceptSetLike$7;
|
|
@@ -6235,7 +6338,7 @@ var FORCED$6 = SET_LIKE_INCORRECT_BEHAVIOR || fails$e(function () {
|
|
|
6235
6338
|
|
|
6236
6339
|
// `Set.prototype.difference` method
|
|
6237
6340
|
// https://tc39.es/ecma262/#sec-set.prototype.difference
|
|
6238
|
-
$$
|
|
6341
|
+
$$m({ target: 'Set', proto: true, real: true, forced: FORCED$6 }, {
|
|
6239
6342
|
difference: difference
|
|
6240
6343
|
});
|
|
6241
6344
|
|
|
@@ -6270,7 +6373,7 @@ var setIntersection = function intersection(other) {
|
|
|
6270
6373
|
return result;
|
|
6271
6374
|
};
|
|
6272
6375
|
|
|
6273
|
-
var $$
|
|
6376
|
+
var $$l = _export;
|
|
6274
6377
|
var fails$d = fails$F;
|
|
6275
6378
|
var intersection = setIntersection;
|
|
6276
6379
|
var setMethodAcceptSetLike$5 = setMethodAcceptSetLike$7;
|
|
@@ -6284,7 +6387,7 @@ var INCORRECT$3 = !setMethodAcceptSetLike$5('intersection', function (result) {
|
|
|
6284
6387
|
|
|
6285
6388
|
// `Set.prototype.intersection` method
|
|
6286
6389
|
// https://tc39.es/ecma262/#sec-set.prototype.intersection
|
|
6287
|
-
$$
|
|
6390
|
+
$$l({ target: 'Set', proto: true, real: true, forced: INCORRECT$3 }, {
|
|
6288
6391
|
intersection: intersection
|
|
6289
6392
|
});
|
|
6290
6393
|
|
|
@@ -6294,7 +6397,7 @@ var size$2 = setSize;
|
|
|
6294
6397
|
var getSetRecord$4 = getSetRecord$7;
|
|
6295
6398
|
var iterateSet = setIterate;
|
|
6296
6399
|
var iterateSimple$3 = iterateSimple$7;
|
|
6297
|
-
var iteratorClose$
|
|
6400
|
+
var iteratorClose$2 = iteratorClose$b;
|
|
6298
6401
|
|
|
6299
6402
|
// `Set.prototype.isDisjointFrom` method
|
|
6300
6403
|
// https://tc39.es/ecma262/#sec-set.prototype.isdisjointfrom
|
|
@@ -6306,11 +6409,11 @@ var setIsDisjointFrom = function isDisjointFrom(other) {
|
|
|
6306
6409
|
}, true) !== false;
|
|
6307
6410
|
var iterator = otherRec.getIterator();
|
|
6308
6411
|
return iterateSimple$3(iterator, function (e) {
|
|
6309
|
-
if (has$4(O, e)) return iteratorClose$
|
|
6412
|
+
if (has$4(O, e)) return iteratorClose$2(iterator.iterator, 'normal', false);
|
|
6310
6413
|
}) !== false;
|
|
6311
6414
|
};
|
|
6312
6415
|
|
|
6313
|
-
var $$
|
|
6416
|
+
var $$k = _export;
|
|
6314
6417
|
var isDisjointFrom = setIsDisjointFrom;
|
|
6315
6418
|
var setMethodAcceptSetLike$4 = setMethodAcceptSetLike$7;
|
|
6316
6419
|
|
|
@@ -6320,13 +6423,13 @@ var INCORRECT$2 = !setMethodAcceptSetLike$4('isDisjointFrom', function (result)
|
|
|
6320
6423
|
|
|
6321
6424
|
// `Set.prototype.isDisjointFrom` method
|
|
6322
6425
|
// https://tc39.es/ecma262/#sec-set.prototype.isdisjointfrom
|
|
6323
|
-
$$
|
|
6426
|
+
$$k({ target: 'Set', proto: true, real: true, forced: INCORRECT$2 }, {
|
|
6324
6427
|
isDisjointFrom: isDisjointFrom
|
|
6325
6428
|
});
|
|
6326
6429
|
|
|
6327
6430
|
var aSet$3 = aSet$7;
|
|
6328
6431
|
var size$1 = setSize;
|
|
6329
|
-
var iterate
|
|
6432
|
+
var iterate = setIterate;
|
|
6330
6433
|
var getSetRecord$3 = getSetRecord$7;
|
|
6331
6434
|
|
|
6332
6435
|
// `Set.prototype.isSubsetOf` method
|
|
@@ -6335,12 +6438,12 @@ var setIsSubsetOf = function isSubsetOf(other) {
|
|
|
6335
6438
|
var O = aSet$3(this);
|
|
6336
6439
|
var otherRec = getSetRecord$3(other);
|
|
6337
6440
|
if (size$1(O) > otherRec.size) return false;
|
|
6338
|
-
return iterate
|
|
6441
|
+
return iterate(O, function (e) {
|
|
6339
6442
|
if (!otherRec.includes(e)) return false;
|
|
6340
6443
|
}, true) !== false;
|
|
6341
6444
|
};
|
|
6342
6445
|
|
|
6343
|
-
var $$
|
|
6446
|
+
var $$j = _export;
|
|
6344
6447
|
var isSubsetOf = setIsSubsetOf;
|
|
6345
6448
|
var setMethodAcceptSetLike$3 = setMethodAcceptSetLike$7;
|
|
6346
6449
|
|
|
@@ -6350,7 +6453,7 @@ var INCORRECT$1 = !setMethodAcceptSetLike$3('isSubsetOf', function (result) {
|
|
|
6350
6453
|
|
|
6351
6454
|
// `Set.prototype.isSubsetOf` method
|
|
6352
6455
|
// https://tc39.es/ecma262/#sec-set.prototype.issubsetof
|
|
6353
|
-
$$
|
|
6456
|
+
$$j({ target: 'Set', proto: true, real: true, forced: INCORRECT$1 }, {
|
|
6354
6457
|
isSubsetOf: isSubsetOf
|
|
6355
6458
|
});
|
|
6356
6459
|
|
|
@@ -6359,7 +6462,7 @@ var has$3 = setHelpers.has;
|
|
|
6359
6462
|
var size = setSize;
|
|
6360
6463
|
var getSetRecord$2 = getSetRecord$7;
|
|
6361
6464
|
var iterateSimple$2 = iterateSimple$7;
|
|
6362
|
-
var iteratorClose$
|
|
6465
|
+
var iteratorClose$1 = iteratorClose$b;
|
|
6363
6466
|
|
|
6364
6467
|
// `Set.prototype.isSupersetOf` method
|
|
6365
6468
|
// https://tc39.es/ecma262/#sec-set.prototype.issupersetof
|
|
@@ -6369,11 +6472,11 @@ var setIsSupersetOf = function isSupersetOf(other) {
|
|
|
6369
6472
|
if (size(O) < otherRec.size) return false;
|
|
6370
6473
|
var iterator = otherRec.getIterator();
|
|
6371
6474
|
return iterateSimple$2(iterator, function (e) {
|
|
6372
|
-
if (!has$3(O, e)) return iteratorClose$
|
|
6475
|
+
if (!has$3(O, e)) return iteratorClose$1(iterator.iterator, 'normal', false);
|
|
6373
6476
|
}) !== false;
|
|
6374
6477
|
};
|
|
6375
6478
|
|
|
6376
|
-
var $$
|
|
6479
|
+
var $$i = _export;
|
|
6377
6480
|
var isSupersetOf = setIsSupersetOf;
|
|
6378
6481
|
var setMethodAcceptSetLike$2 = setMethodAcceptSetLike$7;
|
|
6379
6482
|
|
|
@@ -6383,7 +6486,7 @@ var INCORRECT = !setMethodAcceptSetLike$2('isSupersetOf', function (result) {
|
|
|
6383
6486
|
|
|
6384
6487
|
// `Set.prototype.isSupersetOf` method
|
|
6385
6488
|
// https://tc39.es/ecma262/#sec-set.prototype.issupersetof
|
|
6386
|
-
$$
|
|
6489
|
+
$$i({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
|
|
6387
6490
|
isSupersetOf: isSupersetOf
|
|
6388
6491
|
});
|
|
6389
6492
|
|
|
@@ -6440,7 +6543,7 @@ var setMethodGetKeysBeforeCloningDetection = function (METHOD_NAME) {
|
|
|
6440
6543
|
}
|
|
6441
6544
|
};
|
|
6442
6545
|
|
|
6443
|
-
var $$
|
|
6546
|
+
var $$h = _export;
|
|
6444
6547
|
var symmetricDifference = setSymmetricDifference;
|
|
6445
6548
|
var setMethodGetKeysBeforeCloning$1 = setMethodGetKeysBeforeCloningDetection;
|
|
6446
6549
|
var setMethodAcceptSetLike$1 = setMethodAcceptSetLike$7;
|
|
@@ -6449,7 +6552,7 @@ var FORCED$5 = !setMethodAcceptSetLike$1('symmetricDifference') || !setMethodGet
|
|
|
6449
6552
|
|
|
6450
6553
|
// `Set.prototype.symmetricDifference` method
|
|
6451
6554
|
// https://tc39.es/ecma262/#sec-set.prototype.symmetricdifference
|
|
6452
|
-
$$
|
|
6555
|
+
$$h({ target: 'Set', proto: true, real: true, forced: FORCED$5 }, {
|
|
6453
6556
|
symmetricDifference: symmetricDifference
|
|
6454
6557
|
});
|
|
6455
6558
|
|
|
@@ -6471,7 +6574,7 @@ var setUnion = function union(other) {
|
|
|
6471
6574
|
return result;
|
|
6472
6575
|
};
|
|
6473
6576
|
|
|
6474
|
-
var $$
|
|
6577
|
+
var $$g = _export;
|
|
6475
6578
|
var union = setUnion;
|
|
6476
6579
|
var setMethodGetKeysBeforeCloning = setMethodGetKeysBeforeCloningDetection;
|
|
6477
6580
|
var setMethodAcceptSetLike = setMethodAcceptSetLike$7;
|
|
@@ -6480,24 +6583,24 @@ var FORCED$4 = !setMethodAcceptSetLike('union') || !setMethodGetKeysBeforeClonin
|
|
|
6480
6583
|
|
|
6481
6584
|
// `Set.prototype.union` method
|
|
6482
6585
|
// https://tc39.es/ecma262/#sec-set.prototype.union
|
|
6483
|
-
$$
|
|
6586
|
+
$$g({ target: 'Set', proto: true, real: true, forced: FORCED$4 }, {
|
|
6484
6587
|
union: union
|
|
6485
6588
|
});
|
|
6486
6589
|
|
|
6487
6590
|
// TODO: Remove from `core-js@4` since it's moved to entry points
|
|
6488
6591
|
|
|
6489
|
-
var call$
|
|
6592
|
+
var call$a = functionCall;
|
|
6490
6593
|
var defineBuiltIn$3 = defineBuiltIn$a;
|
|
6491
6594
|
var regexpExec$1 = regexpExec$2;
|
|
6492
6595
|
var fails$c = fails$F;
|
|
6493
|
-
var wellKnownSymbol$
|
|
6596
|
+
var wellKnownSymbol$3 = wellKnownSymbol$n;
|
|
6494
6597
|
var createNonEnumerableProperty$3 = createNonEnumerableProperty$d;
|
|
6495
6598
|
|
|
6496
|
-
var SPECIES
|
|
6599
|
+
var SPECIES = wellKnownSymbol$3('species');
|
|
6497
6600
|
var RegExpPrototype$4 = RegExp.prototype;
|
|
6498
6601
|
|
|
6499
6602
|
var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
6500
|
-
var SYMBOL = wellKnownSymbol$
|
|
6603
|
+
var SYMBOL = wellKnownSymbol$3(KEY);
|
|
6501
6604
|
|
|
6502
6605
|
var DELEGATES_TO_SYMBOL = !fails$c(function () {
|
|
6503
6606
|
// String methods call symbol-named RegExp methods
|
|
@@ -6520,7 +6623,7 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
6520
6623
|
// a new one. We need to return the patched regex when creating the new one.
|
|
6521
6624
|
var constructor = {};
|
|
6522
6625
|
// eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
|
|
6523
|
-
constructor[SPECIES
|
|
6626
|
+
constructor[SPECIES] = function () { return re; };
|
|
6524
6627
|
re = { constructor: constructor, flags: '' };
|
|
6525
6628
|
// eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
|
|
6526
6629
|
re[SYMBOL] = /./[SYMBOL];
|
|
@@ -6548,9 +6651,9 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
6548
6651
|
// The native String method already delegates to @@method (this
|
|
6549
6652
|
// polyfilled function), leasing to infinite recursion.
|
|
6550
6653
|
// We avoid it by directly calling the native @@method method.
|
|
6551
|
-
return { done: true, value: call$
|
|
6654
|
+
return { done: true, value: call$a(nativeRegExpMethod, regexp, str, arg2) };
|
|
6552
6655
|
}
|
|
6553
|
-
return { done: true, value: call$
|
|
6656
|
+
return { done: true, value: call$a(nativeMethod, str, regexp, arg2) };
|
|
6554
6657
|
}
|
|
6555
6658
|
return { done: false };
|
|
6556
6659
|
});
|
|
@@ -6563,7 +6666,7 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
6563
6666
|
};
|
|
6564
6667
|
|
|
6565
6668
|
var uncurryThis$g = functionUncurryThis;
|
|
6566
|
-
var toIntegerOrInfinity$7 = toIntegerOrInfinity$
|
|
6669
|
+
var toIntegerOrInfinity$7 = toIntegerOrInfinity$e;
|
|
6567
6670
|
var toString$9 = toString$h;
|
|
6568
6671
|
var requireObjectCoercible$6 = requireObjectCoercible$c;
|
|
6569
6672
|
|
|
@@ -6605,7 +6708,7 @@ var advanceStringIndex$1 = function (S, index, unicode) {
|
|
|
6605
6708
|
};
|
|
6606
6709
|
|
|
6607
6710
|
var uncurryThis$f = functionUncurryThis;
|
|
6608
|
-
var toObject$6 = toObject$
|
|
6711
|
+
var toObject$6 = toObject$c;
|
|
6609
6712
|
|
|
6610
6713
|
var floor$4 = Math.floor;
|
|
6611
6714
|
var charAt$3 = uncurryThis$f(''.charAt);
|
|
@@ -6650,7 +6753,7 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
|
|
|
6650
6753
|
});
|
|
6651
6754
|
};
|
|
6652
6755
|
|
|
6653
|
-
var call$
|
|
6756
|
+
var call$9 = functionCall;
|
|
6654
6757
|
var hasOwn$4 = hasOwnProperty_1;
|
|
6655
6758
|
var isPrototypeOf$3 = objectIsPrototypeOf;
|
|
6656
6759
|
var regExpFlagsDetection = regexpFlagsDetection;
|
|
@@ -6662,40 +6765,40 @@ var regexpGetFlags = regExpFlagsDetection.correct ? function (it) {
|
|
|
6662
6765
|
return it.flags;
|
|
6663
6766
|
} : function (it) {
|
|
6664
6767
|
return (!regExpFlagsDetection.correct && isPrototypeOf$3(RegExpPrototype$3, it) && !hasOwn$4(it, 'flags'))
|
|
6665
|
-
? call$
|
|
6768
|
+
? call$9(regExpFlagsGetterImplementation, it)
|
|
6666
6769
|
: it.flags;
|
|
6667
6770
|
};
|
|
6668
6771
|
|
|
6669
|
-
var call$
|
|
6670
|
-
var anObject$
|
|
6772
|
+
var call$8 = functionCall;
|
|
6773
|
+
var anObject$5 = anObject$o;
|
|
6671
6774
|
var isCallable$3 = isCallable$s;
|
|
6672
6775
|
var classof$6 = classofRaw$2;
|
|
6673
6776
|
var regexpExec = regexpExec$2;
|
|
6674
6777
|
|
|
6675
|
-
var $TypeError$
|
|
6778
|
+
var $TypeError$7 = TypeError;
|
|
6676
6779
|
|
|
6677
6780
|
// `RegExpExec` abstract operation
|
|
6678
6781
|
// https://tc39.es/ecma262/#sec-regexpexec
|
|
6679
6782
|
var regexpExecAbstract = function (R, S) {
|
|
6680
6783
|
var exec = R.exec;
|
|
6681
6784
|
if (isCallable$3(exec)) {
|
|
6682
|
-
var result = call$
|
|
6683
|
-
if (result !== null) anObject$
|
|
6785
|
+
var result = call$8(exec, R, S);
|
|
6786
|
+
if (result !== null) anObject$5(result);
|
|
6684
6787
|
return result;
|
|
6685
6788
|
}
|
|
6686
|
-
if (classof$6(R) === 'RegExp') return call$
|
|
6687
|
-
throw new $TypeError$
|
|
6789
|
+
if (classof$6(R) === 'RegExp') return call$8(regexpExec, R, S);
|
|
6790
|
+
throw new $TypeError$7('RegExp#exec called on incompatible receiver');
|
|
6688
6791
|
};
|
|
6689
6792
|
|
|
6690
6793
|
var apply$1 = functionApply;
|
|
6691
|
-
var call$
|
|
6794
|
+
var call$7 = functionCall;
|
|
6692
6795
|
var uncurryThis$e = functionUncurryThis;
|
|
6693
6796
|
var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
|
|
6694
6797
|
var fails$b = fails$F;
|
|
6695
|
-
var anObject$
|
|
6798
|
+
var anObject$4 = anObject$o;
|
|
6696
6799
|
var isCallable$2 = isCallable$s;
|
|
6697
|
-
var isObject$
|
|
6698
|
-
var toIntegerOrInfinity$6 = toIntegerOrInfinity$
|
|
6800
|
+
var isObject$4 = isObject$l;
|
|
6801
|
+
var toIntegerOrInfinity$6 = toIntegerOrInfinity$e;
|
|
6699
6802
|
var toLength$2 = toLength$7;
|
|
6700
6803
|
var toString$8 = toString$h;
|
|
6701
6804
|
var requireObjectCoercible$5 = requireObjectCoercible$c;
|
|
@@ -6704,9 +6807,9 @@ var getMethod = getMethod$5;
|
|
|
6704
6807
|
var getSubstitution = getSubstitution$1;
|
|
6705
6808
|
var getRegExpFlags$2 = regexpGetFlags;
|
|
6706
6809
|
var regExpExec = regexpExecAbstract;
|
|
6707
|
-
var wellKnownSymbol$
|
|
6810
|
+
var wellKnownSymbol$2 = wellKnownSymbol$n;
|
|
6708
6811
|
|
|
6709
|
-
var REPLACE = wellKnownSymbol$
|
|
6812
|
+
var REPLACE = wellKnownSymbol$2('replace');
|
|
6710
6813
|
var max = Math.max;
|
|
6711
6814
|
var min$2 = Math.min;
|
|
6712
6815
|
var concat = uncurryThis$e([].concat);
|
|
@@ -6753,15 +6856,15 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
|
|
|
6753
6856
|
// https://tc39.es/ecma262/#sec-string.prototype.replace
|
|
6754
6857
|
function replace(searchValue, replaceValue) {
|
|
6755
6858
|
var O = requireObjectCoercible$5(this);
|
|
6756
|
-
var replacer = isObject$
|
|
6859
|
+
var replacer = isObject$4(searchValue) ? getMethod(searchValue, REPLACE) : undefined;
|
|
6757
6860
|
return replacer
|
|
6758
|
-
? call$
|
|
6759
|
-
: call$
|
|
6861
|
+
? call$7(replacer, searchValue, O, replaceValue)
|
|
6862
|
+
: call$7(nativeReplace, toString$8(O), searchValue, replaceValue);
|
|
6760
6863
|
},
|
|
6761
6864
|
// `RegExp.prototype[@@replace]` method
|
|
6762
6865
|
// https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
|
|
6763
6866
|
function (string, replaceValue) {
|
|
6764
|
-
var rx = anObject$
|
|
6867
|
+
var rx = anObject$4(this);
|
|
6765
6868
|
var S = toString$8(string);
|
|
6766
6869
|
|
|
6767
6870
|
var functionalReplace = isCallable$2(replaceValue);
|
|
@@ -6838,7 +6941,7 @@ var NATIVE_ARRAY_BUFFER = arrayBufferBasicDetection;
|
|
|
6838
6941
|
var DESCRIPTORS$3 = descriptors;
|
|
6839
6942
|
var globalThis$d = globalThis_1;
|
|
6840
6943
|
var isCallable$1 = isCallable$s;
|
|
6841
|
-
var isObject$
|
|
6944
|
+
var isObject$3 = isObject$l;
|
|
6842
6945
|
var hasOwn$3 = hasOwnProperty_1;
|
|
6843
6946
|
var classof$5 = classof$f;
|
|
6844
6947
|
var tryToString$1 = tryToString$6;
|
|
@@ -6848,7 +6951,7 @@ var defineBuiltInAccessor$2 = defineBuiltInAccessor$9;
|
|
|
6848
6951
|
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
6849
6952
|
var getPrototypeOf = objectGetPrototypeOf;
|
|
6850
6953
|
var setPrototypeOf$1 = objectSetPrototypeOf;
|
|
6851
|
-
var wellKnownSymbol$
|
|
6954
|
+
var wellKnownSymbol$1 = wellKnownSymbol$n;
|
|
6852
6955
|
var uid = uid$4;
|
|
6853
6956
|
var InternalStateModule$1 = internalState;
|
|
6854
6957
|
|
|
@@ -6863,7 +6966,7 @@ var TypedArrayPrototype$1 = Int8ArrayPrototype$1 && getPrototypeOf(Int8ArrayProt
|
|
|
6863
6966
|
var ObjectPrototype = Object.prototype;
|
|
6864
6967
|
var TypeError$2 = globalThis$d.TypeError;
|
|
6865
6968
|
|
|
6866
|
-
var TO_STRING_TAG = wellKnownSymbol$
|
|
6969
|
+
var TO_STRING_TAG = wellKnownSymbol$1('toStringTag');
|
|
6867
6970
|
var TYPED_ARRAY_TAG$1 = uid('TYPED_ARRAY_TAG');
|
|
6868
6971
|
var TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor';
|
|
6869
6972
|
// Fixing native typed arrays in Opera Presto crashes the browser, see #595
|
|
@@ -6890,13 +6993,13 @@ var BigIntArrayConstructorsList = {
|
|
|
6890
6993
|
|
|
6891
6994
|
var getTypedArrayConstructor$3 = function (it) {
|
|
6892
6995
|
var proto = getPrototypeOf(it);
|
|
6893
|
-
if (!isObject$
|
|
6996
|
+
if (!isObject$3(proto)) return;
|
|
6894
6997
|
var state = getInternalState$2(proto);
|
|
6895
6998
|
return (state && hasOwn$3(state, TYPED_ARRAY_CONSTRUCTOR)) ? state[TYPED_ARRAY_CONSTRUCTOR] : getTypedArrayConstructor$3(proto);
|
|
6896
6999
|
};
|
|
6897
7000
|
|
|
6898
7001
|
var isTypedArray$1 = function (it) {
|
|
6899
|
-
if (!isObject$
|
|
7002
|
+
if (!isObject$3(it)) return false;
|
|
6900
7003
|
var klass = classof$5(it);
|
|
6901
7004
|
return hasOwn$3(TypedArrayConstructorsList, klass)
|
|
6902
7005
|
|| hasOwn$3(BigIntArrayConstructorsList, klass);
|
|
@@ -6972,7 +7075,7 @@ if (DESCRIPTORS$3 && !hasOwn$3(TypedArrayPrototype$1, TO_STRING_TAG)) {
|
|
|
6972
7075
|
defineBuiltInAccessor$2(TypedArrayPrototype$1, TO_STRING_TAG, {
|
|
6973
7076
|
configurable: true,
|
|
6974
7077
|
get: function () {
|
|
6975
|
-
return isObject$
|
|
7078
|
+
return isObject$3(this) ? this[TYPED_ARRAY_TAG$1] : undefined;
|
|
6976
7079
|
}
|
|
6977
7080
|
});
|
|
6978
7081
|
for (NAME in TypedArrayConstructorsList) if (globalThis$d[NAME]) {
|
|
@@ -7015,7 +7118,7 @@ var typedArrayConstructorsRequireWrappers = !NATIVE_ARRAY_BUFFER_VIEWS$1 || !fai
|
|
|
7015
7118
|
return new Int8Array$3(new ArrayBuffer$2(2), 1, undefined).length !== 1;
|
|
7016
7119
|
});
|
|
7017
7120
|
|
|
7018
|
-
var isObject$
|
|
7121
|
+
var isObject$2 = isObject$l;
|
|
7019
7122
|
|
|
7020
7123
|
var floor$3 = Math.floor;
|
|
7021
7124
|
|
|
@@ -7023,10 +7126,10 @@ var floor$3 = Math.floor;
|
|
|
7023
7126
|
// https://tc39.es/ecma262/#sec-isintegralnumber
|
|
7024
7127
|
// eslint-disable-next-line es/no-number-isinteger -- safe
|
|
7025
7128
|
var isIntegralNumber$1 = Number.isInteger || function isInteger(it) {
|
|
7026
|
-
return !isObject$
|
|
7129
|
+
return !isObject$2(it) && isFinite(it) && floor$3(it) === it;
|
|
7027
7130
|
};
|
|
7028
7131
|
|
|
7029
|
-
var toIntegerOrInfinity$5 = toIntegerOrInfinity$
|
|
7132
|
+
var toIntegerOrInfinity$5 = toIntegerOrInfinity$e;
|
|
7030
7133
|
|
|
7031
7134
|
var $RangeError$3 = RangeError;
|
|
7032
7135
|
|
|
@@ -7070,23 +7173,23 @@ var isBigIntArray$2 = function (it) {
|
|
|
7070
7173
|
|
|
7071
7174
|
var toPrimitive = toPrimitive$2;
|
|
7072
7175
|
|
|
7073
|
-
var $TypeError$
|
|
7176
|
+
var $TypeError$6 = TypeError;
|
|
7074
7177
|
|
|
7075
7178
|
// `ToBigInt` abstract operation
|
|
7076
7179
|
// https://tc39.es/ecma262/#sec-tobigint
|
|
7077
7180
|
var toBigInt$3 = function (argument) {
|
|
7078
7181
|
var prim = toPrimitive(argument, 'number');
|
|
7079
|
-
if (typeof prim == 'number') throw new $TypeError$
|
|
7182
|
+
if (typeof prim == 'number') throw new $TypeError$6("Can't convert number to bigint");
|
|
7080
7183
|
// eslint-disable-next-line es/no-bigint -- safe
|
|
7081
7184
|
return BigInt(prim);
|
|
7082
7185
|
};
|
|
7083
7186
|
|
|
7084
|
-
var bind$
|
|
7085
|
-
var call$
|
|
7086
|
-
var aCallable$
|
|
7187
|
+
var bind$2 = functionBindContext;
|
|
7188
|
+
var call$6 = functionCall;
|
|
7189
|
+
var aCallable$6 = aCallable$k;
|
|
7087
7190
|
var aConstructor = aConstructor$2;
|
|
7088
|
-
var toObject$5 = toObject$
|
|
7089
|
-
var lengthOfArrayLike$
|
|
7191
|
+
var toObject$5 = toObject$c;
|
|
7192
|
+
var lengthOfArrayLike$a = lengthOfArrayLike$h;
|
|
7090
7193
|
var getIterator = getIterator$2;
|
|
7091
7194
|
var getIteratorMethod$1 = getIteratorMethod$4;
|
|
7092
7195
|
var isArrayIteratorMethod = isArrayIteratorMethod$2;
|
|
@@ -7099,7 +7202,7 @@ var typedArrayFrom$1 = function from(source /* , mapfn, thisArg */) {
|
|
|
7099
7202
|
var argumentsLength = arguments.length;
|
|
7100
7203
|
var mapfn = argumentsLength > 1 ? arguments[1] : undefined;
|
|
7101
7204
|
var mapping = mapfn !== undefined;
|
|
7102
|
-
if (mapping) aCallable$
|
|
7205
|
+
if (mapping) aCallable$6(mapfn);
|
|
7103
7206
|
var O = toObject$5(source);
|
|
7104
7207
|
var iteratorMethod = getIteratorMethod$1(O);
|
|
7105
7208
|
var i, length, result, thisIsBigIntArray, value, step, iterator, next;
|
|
@@ -7107,14 +7210,14 @@ var typedArrayFrom$1 = function from(source /* , mapfn, thisArg */) {
|
|
|
7107
7210
|
iterator = getIterator(O, iteratorMethod);
|
|
7108
7211
|
next = iterator.next;
|
|
7109
7212
|
O = [];
|
|
7110
|
-
while (!(step = call$
|
|
7213
|
+
while (!(step = call$6(next, iterator)).done) {
|
|
7111
7214
|
O.push(step.value);
|
|
7112
7215
|
}
|
|
7113
7216
|
}
|
|
7114
7217
|
if (mapping && argumentsLength > 2) {
|
|
7115
|
-
mapfn = bind$
|
|
7218
|
+
mapfn = bind$2(mapfn, arguments[2]);
|
|
7116
7219
|
}
|
|
7117
|
-
length = lengthOfArrayLike$
|
|
7220
|
+
length = lengthOfArrayLike$a(O);
|
|
7118
7221
|
result = new (aTypedArrayConstructor(C))(length);
|
|
7119
7222
|
thisIsBigIntArray = isBigIntArray$1(result);
|
|
7120
7223
|
for (i = 0; length > i; i++) {
|
|
@@ -7125,43 +7228,12 @@ var typedArrayFrom$1 = function from(source /* , mapfn, thisArg */) {
|
|
|
7125
7228
|
return result;
|
|
7126
7229
|
};
|
|
7127
7230
|
|
|
7128
|
-
var
|
|
7129
|
-
var isConstructor = isConstructor$2;
|
|
7130
|
-
var isObject$2 = isObject$l;
|
|
7131
|
-
var wellKnownSymbol$1 = wellKnownSymbol$n;
|
|
7132
|
-
|
|
7133
|
-
var SPECIES = wellKnownSymbol$1('species');
|
|
7134
|
-
var $Array$1 = Array;
|
|
7135
|
-
|
|
7136
|
-
// a part of `ArraySpeciesCreate` abstract operation
|
|
7137
|
-
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
|
7138
|
-
var arraySpeciesConstructor$1 = function (originalArray) {
|
|
7139
|
-
var C;
|
|
7140
|
-
if (isArray$1(originalArray)) {
|
|
7141
|
-
C = originalArray.constructor;
|
|
7142
|
-
// cross-realm fallback
|
|
7143
|
-
if (isConstructor(C) && (C === $Array$1 || isArray$1(C.prototype))) C = undefined;
|
|
7144
|
-
else if (isObject$2(C)) {
|
|
7145
|
-
C = C[SPECIES];
|
|
7146
|
-
if (C === null) C = undefined;
|
|
7147
|
-
}
|
|
7148
|
-
} return C === undefined ? $Array$1 : C;
|
|
7149
|
-
};
|
|
7150
|
-
|
|
7151
|
-
var arraySpeciesConstructor = arraySpeciesConstructor$1;
|
|
7152
|
-
|
|
7153
|
-
// `ArraySpeciesCreate` abstract operation
|
|
7154
|
-
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
|
7155
|
-
var arraySpeciesCreate$2 = function (originalArray, length) {
|
|
7156
|
-
return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
|
|
7157
|
-
};
|
|
7158
|
-
|
|
7159
|
-
var bind$2 = functionBindContext;
|
|
7231
|
+
var bind$1 = functionBindContext;
|
|
7160
7232
|
var IndexedObject$1 = indexedObject;
|
|
7161
|
-
var toObject$4 = toObject$
|
|
7162
|
-
var lengthOfArrayLike$
|
|
7163
|
-
var arraySpeciesCreate$1 = arraySpeciesCreate$
|
|
7164
|
-
var createProperty
|
|
7233
|
+
var toObject$4 = toObject$c;
|
|
7234
|
+
var lengthOfArrayLike$9 = lengthOfArrayLike$h;
|
|
7235
|
+
var arraySpeciesCreate$1 = arraySpeciesCreate$3;
|
|
7236
|
+
var createProperty = createProperty$5;
|
|
7165
7237
|
|
|
7166
7238
|
// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
|
|
7167
7239
|
var createMethod$3 = function (TYPE) {
|
|
@@ -7175,8 +7247,8 @@ var createMethod$3 = function (TYPE) {
|
|
|
7175
7247
|
return function ($this, callbackfn, that) {
|
|
7176
7248
|
var O = toObject$4($this);
|
|
7177
7249
|
var self = IndexedObject$1(O);
|
|
7178
|
-
var length = lengthOfArrayLike$
|
|
7179
|
-
var boundFunction = bind$
|
|
7250
|
+
var length = lengthOfArrayLike$9(self);
|
|
7251
|
+
var boundFunction = bind$1(callbackfn, that);
|
|
7180
7252
|
var index = 0;
|
|
7181
7253
|
var resIndex = 0;
|
|
7182
7254
|
var target = IS_MAP ? arraySpeciesCreate$1($this, length) : IS_FILTER || IS_FILTER_REJECT ? arraySpeciesCreate$1($this, 0) : undefined;
|
|
@@ -7185,15 +7257,15 @@ var createMethod$3 = function (TYPE) {
|
|
|
7185
7257
|
value = self[index];
|
|
7186
7258
|
result = boundFunction(value, index, O);
|
|
7187
7259
|
if (TYPE) {
|
|
7188
|
-
if (IS_MAP) createProperty
|
|
7260
|
+
if (IS_MAP) createProperty(target, index, result); // map
|
|
7189
7261
|
else if (result) switch (TYPE) {
|
|
7190
7262
|
case 3: return true; // some
|
|
7191
7263
|
case 5: return value; // find
|
|
7192
7264
|
case 6: return index; // findIndex
|
|
7193
|
-
case 2: createProperty
|
|
7265
|
+
case 2: createProperty(target, resIndex++, value); // filter
|
|
7194
7266
|
} else switch (TYPE) {
|
|
7195
7267
|
case 4: return false; // every
|
|
7196
|
-
case 7: createProperty
|
|
7268
|
+
case 7: createProperty(target, resIndex++, value); // filterReject
|
|
7197
7269
|
}
|
|
7198
7270
|
}
|
|
7199
7271
|
}
|
|
@@ -7206,19 +7278,19 @@ var arrayIteration = {
|
|
|
7206
7278
|
// https://tc39.es/ecma262/#sec-array.prototype.foreach
|
|
7207
7279
|
forEach: createMethod$3(0)};
|
|
7208
7280
|
|
|
7209
|
-
var lengthOfArrayLike$
|
|
7281
|
+
var lengthOfArrayLike$8 = lengthOfArrayLike$h;
|
|
7210
7282
|
|
|
7211
7283
|
var arrayFromConstructorAndList$2 = function (Constructor, list, $length) {
|
|
7212
7284
|
var index = 0;
|
|
7213
|
-
var length = arguments.length > 2 ? $length : lengthOfArrayLike$
|
|
7285
|
+
var length = arguments.length > 2 ? $length : lengthOfArrayLike$8(list);
|
|
7214
7286
|
var result = new Constructor(length);
|
|
7215
7287
|
while (length > index) result[index] = list[index++];
|
|
7216
7288
|
return result;
|
|
7217
7289
|
};
|
|
7218
7290
|
|
|
7219
|
-
var $$
|
|
7291
|
+
var $$f = _export;
|
|
7220
7292
|
var globalThis$b = globalThis_1;
|
|
7221
|
-
var call$
|
|
7293
|
+
var call$5 = functionCall;
|
|
7222
7294
|
var DESCRIPTORS$2 = descriptors;
|
|
7223
7295
|
var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = typedArrayConstructorsRequireWrappers;
|
|
7224
7296
|
var ArrayBufferViewCore$a = arrayBufferViewCore;
|
|
@@ -7322,7 +7394,7 @@ if (DESCRIPTORS$2) {
|
|
|
7322
7394
|
addGetter(TypedArrayPrototype, 'length');
|
|
7323
7395
|
}
|
|
7324
7396
|
|
|
7325
|
-
$$
|
|
7397
|
+
$$f({ target: 'Object', stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS }, {
|
|
7326
7398
|
getOwnPropertyDescriptor: wrappedGetOwnPropertyDescriptor,
|
|
7327
7399
|
defineProperty: wrappedDefineProperty
|
|
7328
7400
|
});
|
|
@@ -7385,7 +7457,7 @@ if (DESCRIPTORS$2) {
|
|
|
7385
7457
|
} else if (isTypedArray(data)) {
|
|
7386
7458
|
return arrayFromConstructorAndList$1(TypedArrayConstructor, data);
|
|
7387
7459
|
} else {
|
|
7388
|
-
return call$
|
|
7460
|
+
return call$5(typedArrayFrom, TypedArrayConstructor, data);
|
|
7389
7461
|
}
|
|
7390
7462
|
setInternalState(that, {
|
|
7391
7463
|
buffer: buffer,
|
|
@@ -7410,7 +7482,7 @@ if (DESCRIPTORS$2) {
|
|
|
7410
7482
|
? new NativeTypedArrayConstructor(data, toOffset$1(typedArrayOffset, BYTES))
|
|
7411
7483
|
: new NativeTypedArrayConstructor(data);
|
|
7412
7484
|
if (isTypedArray(data)) return arrayFromConstructorAndList$1(TypedArrayConstructor, data);
|
|
7413
|
-
return call$
|
|
7485
|
+
return call$5(typedArrayFrom, TypedArrayConstructor, data);
|
|
7414
7486
|
}(), dummy, TypedArrayConstructor);
|
|
7415
7487
|
});
|
|
7416
7488
|
|
|
@@ -7437,7 +7509,7 @@ if (DESCRIPTORS$2) {
|
|
|
7437
7509
|
|
|
7438
7510
|
exported[CONSTRUCTOR_NAME] = TypedArrayConstructor;
|
|
7439
7511
|
|
|
7440
|
-
$$
|
|
7512
|
+
$$f({ global: true, constructor: true, forced: FORCED, sham: !NATIVE_ARRAY_BUFFER_VIEWS }, exported);
|
|
7441
7513
|
|
|
7442
7514
|
if (!(BYTES_PER_ELEMENT in TypedArrayConstructor)) {
|
|
7443
7515
|
createNonEnumerableProperty$1(TypedArrayConstructor, BYTES_PER_ELEMENT, BYTES);
|
|
@@ -7464,8 +7536,8 @@ createTypedArrayConstructor('Uint8', function (init) {
|
|
|
7464
7536
|
});
|
|
7465
7537
|
|
|
7466
7538
|
var ArrayBufferViewCore$9 = arrayBufferViewCore;
|
|
7467
|
-
var lengthOfArrayLike$
|
|
7468
|
-
var toIntegerOrInfinity$4 = toIntegerOrInfinity$
|
|
7539
|
+
var lengthOfArrayLike$7 = lengthOfArrayLike$h;
|
|
7540
|
+
var toIntegerOrInfinity$4 = toIntegerOrInfinity$e;
|
|
7469
7541
|
|
|
7470
7542
|
var aTypedArray$9 = ArrayBufferViewCore$9.aTypedArray;
|
|
7471
7543
|
var exportTypedArrayMethod$9 = ArrayBufferViewCore$9.exportTypedArrayMethod;
|
|
@@ -7474,7 +7546,7 @@ var exportTypedArrayMethod$9 = ArrayBufferViewCore$9.exportTypedArrayMethod;
|
|
|
7474
7546
|
// https://tc39.es/ecma262/#sec-%typedarray%.prototype.at
|
|
7475
7547
|
exportTypedArrayMethod$9('at', function at(index) {
|
|
7476
7548
|
var O = aTypedArray$9(this);
|
|
7477
|
-
var len = lengthOfArrayLike$
|
|
7549
|
+
var len = lengthOfArrayLike$7(O);
|
|
7478
7550
|
var relativeIndex = toIntegerOrInfinity$4(index);
|
|
7479
7551
|
var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex;
|
|
7480
7552
|
return (k < 0 || k >= len) ? undefined : O[k];
|
|
@@ -7484,7 +7556,7 @@ var ArrayBufferViewCore$8 = arrayBufferViewCore;
|
|
|
7484
7556
|
var $fill = arrayFill$1;
|
|
7485
7557
|
var toBigInt$1 = toBigInt$3;
|
|
7486
7558
|
var classof$2 = classof$f;
|
|
7487
|
-
var call$
|
|
7559
|
+
var call$4 = functionCall;
|
|
7488
7560
|
var uncurryThis$d = functionUncurryThis;
|
|
7489
7561
|
var fails$9 = fails$F;
|
|
7490
7562
|
|
|
@@ -7506,13 +7578,13 @@ exportTypedArrayMethod$8('fill', function fill(value /* , start, end */) {
|
|
|
7506
7578
|
var length = arguments.length;
|
|
7507
7579
|
aTypedArray$8(this);
|
|
7508
7580
|
var actualValue = slice(classof$2(this), 0, 3) === 'Big' ? toBigInt$1(value) : +value;
|
|
7509
|
-
return call$
|
|
7581
|
+
return call$4($fill, this, actualValue, length > 1 ? arguments[1] : undefined, length > 2 ? arguments[2] : undefined);
|
|
7510
7582
|
}, CONVERSION_BUG);
|
|
7511
7583
|
|
|
7512
|
-
var bind
|
|
7584
|
+
var bind = functionBindContext;
|
|
7513
7585
|
var IndexedObject = indexedObject;
|
|
7514
|
-
var toObject$3 = toObject$
|
|
7515
|
-
var lengthOfArrayLike$
|
|
7586
|
+
var toObject$3 = toObject$c;
|
|
7587
|
+
var lengthOfArrayLike$6 = lengthOfArrayLike$h;
|
|
7516
7588
|
|
|
7517
7589
|
// `Array.prototype.{ findLast, findLastIndex }` methods implementation
|
|
7518
7590
|
var createMethod$2 = function (TYPE) {
|
|
@@ -7520,8 +7592,8 @@ var createMethod$2 = function (TYPE) {
|
|
|
7520
7592
|
return function ($this, callbackfn, that) {
|
|
7521
7593
|
var O = toObject$3($this);
|
|
7522
7594
|
var self = IndexedObject(O);
|
|
7523
|
-
var index = lengthOfArrayLike$
|
|
7524
|
-
var boundFunction = bind
|
|
7595
|
+
var index = lengthOfArrayLike$6(self);
|
|
7596
|
+
var boundFunction = bind(callbackfn, that);
|
|
7525
7597
|
var value, result;
|
|
7526
7598
|
while (index-- > 0) {
|
|
7527
7599
|
value = self[index];
|
|
@@ -7569,11 +7641,11 @@ exportTypedArrayMethod$6('findLastIndex', function findLastIndex(predicate /* ,
|
|
|
7569
7641
|
});
|
|
7570
7642
|
|
|
7571
7643
|
var globalThis$a = globalThis_1;
|
|
7572
|
-
var call$
|
|
7644
|
+
var call$3 = functionCall;
|
|
7573
7645
|
var ArrayBufferViewCore$5 = arrayBufferViewCore;
|
|
7574
|
-
var lengthOfArrayLike$
|
|
7646
|
+
var lengthOfArrayLike$5 = lengthOfArrayLike$h;
|
|
7575
7647
|
var toOffset = toOffset$2;
|
|
7576
|
-
var toIndexedObject = toObject$
|
|
7648
|
+
var toIndexedObject = toObject$c;
|
|
7577
7649
|
var fails$8 = fails$F;
|
|
7578
7650
|
|
|
7579
7651
|
var RangeError$1 = globalThis$a.RangeError;
|
|
@@ -7586,7 +7658,7 @@ var exportTypedArrayMethod$5 = ArrayBufferViewCore$5.exportTypedArrayMethod;
|
|
|
7586
7658
|
var WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS = !fails$8(function () {
|
|
7587
7659
|
// eslint-disable-next-line es/no-typed-arrays -- required for testing
|
|
7588
7660
|
var array = new Uint8ClampedArray(2);
|
|
7589
|
-
call$
|
|
7661
|
+
call$3($set, array, { length: 1, 0: 3 }, 1);
|
|
7590
7662
|
return array[1] !== 3;
|
|
7591
7663
|
});
|
|
7592
7664
|
|
|
@@ -7604,9 +7676,9 @@ exportTypedArrayMethod$5('set', function set(arrayLike /* , offset */) {
|
|
|
7604
7676
|
aTypedArray$5(this);
|
|
7605
7677
|
var offset = toOffset(arguments.length > 1 ? arguments[1] : undefined, 1);
|
|
7606
7678
|
var src = toIndexedObject(arrayLike);
|
|
7607
|
-
if (WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS) return call$
|
|
7679
|
+
if (WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS) return call$3($set, this, src, offset);
|
|
7608
7680
|
var length = this.length;
|
|
7609
|
-
var len = lengthOfArrayLike$
|
|
7681
|
+
var len = lengthOfArrayLike$5(src);
|
|
7610
7682
|
var index = 0;
|
|
7611
7683
|
if (len + offset > length) throw new RangeError$1('Wrong length');
|
|
7612
7684
|
while (index < len) this[offset + index] = src[index++];
|
|
@@ -7673,7 +7745,7 @@ var environmentWebkitVersion = !!webkit && +webkit[1];
|
|
|
7673
7745
|
var globalThis$9 = globalThis_1;
|
|
7674
7746
|
var uncurryThis$c = functionUncurryThisClause;
|
|
7675
7747
|
var fails$7 = fails$F;
|
|
7676
|
-
var aCallable$
|
|
7748
|
+
var aCallable$5 = aCallable$k;
|
|
7677
7749
|
var internalSort$1 = arraySort;
|
|
7678
7750
|
var ArrayBufferViewCore$4 = arrayBufferViewCore;
|
|
7679
7751
|
var FF$1 = environmentFfVersion;
|
|
@@ -7734,7 +7806,7 @@ var getSortCompare$1 = function (comparefn) {
|
|
|
7734
7806
|
// `%TypedArray%.prototype.sort` method
|
|
7735
7807
|
// https://tc39.es/ecma262/#sec-%typedarray%.prototype.sort
|
|
7736
7808
|
exportTypedArrayMethod$4('sort', function sort(comparefn) {
|
|
7737
|
-
if (comparefn !== undefined) aCallable$
|
|
7809
|
+
if (comparefn !== undefined) aCallable$5(comparefn);
|
|
7738
7810
|
if (STABLE_SORT$1) return nativeSort$1(this, comparefn);
|
|
7739
7811
|
|
|
7740
7812
|
return internalSort$1(aTypedArray$4(this), getSortCompare$1(comparefn));
|
|
@@ -7772,7 +7844,7 @@ exportTypedArrayMethod$3('toLocaleString', function toLocaleString() {
|
|
|
7772
7844
|
);
|
|
7773
7845
|
}, FORCED$3);
|
|
7774
7846
|
|
|
7775
|
-
var lengthOfArrayLike$
|
|
7847
|
+
var lengthOfArrayLike$4 = lengthOfArrayLike$h;
|
|
7776
7848
|
var ArrayBufferViewCore$2 = arrayBufferViewCore;
|
|
7777
7849
|
|
|
7778
7850
|
var aTypedArray$2 = ArrayBufferViewCore$2.aTypedArray;
|
|
@@ -7783,7 +7855,7 @@ var getTypedArrayConstructor$2 = ArrayBufferViewCore$2.getTypedArrayConstructor;
|
|
|
7783
7855
|
// https://tc39.es/ecma262/#sec-%typedarray%.prototype.toreversed
|
|
7784
7856
|
exportTypedArrayMethod$2('toReversed', function toReversed() {
|
|
7785
7857
|
var O = aTypedArray$2(this);
|
|
7786
|
-
var len = lengthOfArrayLike$
|
|
7858
|
+
var len = lengthOfArrayLike$4(O);
|
|
7787
7859
|
var A = new (getTypedArrayConstructor$2(O))(len);
|
|
7788
7860
|
var k = 0;
|
|
7789
7861
|
for (; k < len; k++) A[k] = O[len - k - 1];
|
|
@@ -7792,7 +7864,7 @@ exportTypedArrayMethod$2('toReversed', function toReversed() {
|
|
|
7792
7864
|
|
|
7793
7865
|
var ArrayBufferViewCore$1 = arrayBufferViewCore;
|
|
7794
7866
|
var uncurryThis$b = functionUncurryThis;
|
|
7795
|
-
var aCallable$
|
|
7867
|
+
var aCallable$4 = aCallable$k;
|
|
7796
7868
|
var arrayFromConstructorAndList = arrayFromConstructorAndList$2;
|
|
7797
7869
|
|
|
7798
7870
|
var aTypedArray$1 = ArrayBufferViewCore$1.aTypedArray;
|
|
@@ -7803,7 +7875,7 @@ var sort = uncurryThis$b(ArrayBufferViewCore$1.TypedArrayPrototype.sort);
|
|
|
7803
7875
|
// `%TypedArray%.prototype.toSorted` method
|
|
7804
7876
|
// https://tc39.es/ecma262/#sec-%typedarray%.prototype.tosorted
|
|
7805
7877
|
exportTypedArrayMethod$1('toSorted', function toSorted(compareFn) {
|
|
7806
|
-
if (compareFn !== undefined) aCallable$
|
|
7878
|
+
if (compareFn !== undefined) aCallable$4(compareFn);
|
|
7807
7879
|
var O = aTypedArray$1(this);
|
|
7808
7880
|
var A = arrayFromConstructorAndList(getTypedArrayConstructor$1(O), O);
|
|
7809
7881
|
return sort(A, compareFn);
|
|
@@ -7811,8 +7883,8 @@ exportTypedArrayMethod$1('toSorted', function toSorted(compareFn) {
|
|
|
7811
7883
|
|
|
7812
7884
|
var ArrayBufferViewCore = arrayBufferViewCore;
|
|
7813
7885
|
var isBigIntArray = isBigIntArray$2;
|
|
7814
|
-
var lengthOfArrayLike$
|
|
7815
|
-
var toIntegerOrInfinity$3 = toIntegerOrInfinity$
|
|
7886
|
+
var lengthOfArrayLike$3 = lengthOfArrayLike$h;
|
|
7887
|
+
var toIntegerOrInfinity$3 = toIntegerOrInfinity$e;
|
|
7816
7888
|
var toBigInt = toBigInt$3;
|
|
7817
7889
|
|
|
7818
7890
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
@@ -7846,7 +7918,7 @@ var THROW_ON_NEGATIVE_FRACTIONAL_INDEX = PROPER_ORDER && function () {
|
|
|
7846
7918
|
// https://tc39.es/ecma262/#sec-%typedarray%.prototype.with
|
|
7847
7919
|
exportTypedArrayMethod('with', { 'with': function (index, value) {
|
|
7848
7920
|
var O = aTypedArray(this);
|
|
7849
|
-
var len = lengthOfArrayLike$
|
|
7921
|
+
var len = lengthOfArrayLike$3(O);
|
|
7850
7922
|
var relativeIndex = toIntegerOrInfinity$3(index);
|
|
7851
7923
|
var actualIndex = relativeIndex < 0 ? len + relativeIndex : relativeIndex;
|
|
7852
7924
|
var numericValue = isBigIntArray(O) ? toBigInt(value) : +value;
|
|
@@ -7860,18 +7932,18 @@ exportTypedArrayMethod('with', { 'with': function (index, value) {
|
|
|
7860
7932
|
var isObject = isObject$l;
|
|
7861
7933
|
|
|
7862
7934
|
var $String = String;
|
|
7863
|
-
var $TypeError$
|
|
7935
|
+
var $TypeError$5 = TypeError;
|
|
7864
7936
|
|
|
7865
7937
|
var anObjectOrUndefined$2 = function (argument) {
|
|
7866
7938
|
if (argument === undefined || isObject(argument)) return argument;
|
|
7867
|
-
throw new $TypeError$
|
|
7939
|
+
throw new $TypeError$5($String(argument) + ' is not an object or undefined');
|
|
7868
7940
|
};
|
|
7869
7941
|
|
|
7870
|
-
var $TypeError$
|
|
7942
|
+
var $TypeError$4 = TypeError;
|
|
7871
7943
|
|
|
7872
7944
|
var aString$2 = function (argument) {
|
|
7873
7945
|
if (typeof argument == 'string') return argument;
|
|
7874
|
-
throw new $TypeError$
|
|
7946
|
+
throw new $TypeError$4('Argument is not a string');
|
|
7875
7947
|
};
|
|
7876
7948
|
|
|
7877
7949
|
var commonAlphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
|
|
@@ -7893,12 +7965,12 @@ var base64Map$2 = {
|
|
|
7893
7965
|
c2iUrl: inverse(base64UrlAlphabet$2)
|
|
7894
7966
|
};
|
|
7895
7967
|
|
|
7896
|
-
var $TypeError$
|
|
7968
|
+
var $TypeError$3 = TypeError;
|
|
7897
7969
|
|
|
7898
7970
|
var getAlphabetOption$2 = function (options) {
|
|
7899
7971
|
var alphabet = options && options.alphabet;
|
|
7900
7972
|
if (alphabet === undefined || alphabet === 'base64' || alphabet === 'base64url') return alphabet || 'base64';
|
|
7901
|
-
throw new $TypeError$
|
|
7973
|
+
throw new $TypeError$3('Incorrect `alphabet` option');
|
|
7902
7974
|
};
|
|
7903
7975
|
|
|
7904
7976
|
var globalThis$7 = globalThis_1;
|
|
@@ -8060,16 +8132,16 @@ var uint8FromBase64 = function (string, options, into, maxLength) {
|
|
|
8060
8132
|
|
|
8061
8133
|
var classof$1 = classof$f;
|
|
8062
8134
|
|
|
8063
|
-
var $TypeError$
|
|
8135
|
+
var $TypeError$2 = TypeError;
|
|
8064
8136
|
|
|
8065
8137
|
// Perform ? RequireInternalSlot(argument, [[TypedArrayName]])
|
|
8066
8138
|
// If argument.[[TypedArrayName]] is not "Uint8Array", throw a TypeError exception
|
|
8067
8139
|
var anUint8Array$4 = function (argument) {
|
|
8068
8140
|
if (classof$1(argument) === 'Uint8Array') return argument;
|
|
8069
|
-
throw new $TypeError$
|
|
8141
|
+
throw new $TypeError$2('Argument is not an Uint8Array');
|
|
8070
8142
|
};
|
|
8071
8143
|
|
|
8072
|
-
var $$
|
|
8144
|
+
var $$e = _export;
|
|
8073
8145
|
var globalThis$6 = globalThis_1;
|
|
8074
8146
|
var $fromBase64 = uint8FromBase64;
|
|
8075
8147
|
var anUint8Array$3 = anUint8Array$4;
|
|
@@ -8096,7 +8168,7 @@ var INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS$2 = !Uint8Array$4 || !Uint8Array$4.proto
|
|
|
8096
8168
|
|
|
8097
8169
|
// `Uint8Array.prototype.setFromBase64` method
|
|
8098
8170
|
// https://tc39.es/ecma262/#sec-uint8array.prototype.setfrombase64
|
|
8099
|
-
if (Uint8Array$4) $$
|
|
8171
|
+
if (Uint8Array$4) $$e({ target: 'Uint8Array', proto: true, forced: INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS$2 }, {
|
|
8100
8172
|
setFromBase64: function setFromBase64(string /* , options */) {
|
|
8101
8173
|
anUint8Array$3(this);
|
|
8102
8174
|
|
|
@@ -8132,7 +8204,7 @@ var uint8FromHex = function (string, into) {
|
|
|
8132
8204
|
return { bytes: bytes, read: written << 1 };
|
|
8133
8205
|
};
|
|
8134
8206
|
|
|
8135
|
-
var $$
|
|
8207
|
+
var $$d = _export;
|
|
8136
8208
|
var globalThis$4 = globalThis_1;
|
|
8137
8209
|
var aString = aString$2;
|
|
8138
8210
|
var anUint8Array$2 = anUint8Array$4;
|
|
@@ -8154,7 +8226,7 @@ function throwsOnLengthTrackingView() {
|
|
|
8154
8226
|
|
|
8155
8227
|
// `Uint8Array.prototype.setFromHex` method
|
|
8156
8228
|
// https://tc39.es/ecma262/#sec-uint8array.prototype.setfromhex
|
|
8157
|
-
if (globalThis$4.Uint8Array) $$
|
|
8229
|
+
if (globalThis$4.Uint8Array) $$d({ target: 'Uint8Array', proto: true, forced: throwsOnLengthTrackingView() }, {
|
|
8158
8230
|
setFromHex: function setFromHex(string) {
|
|
8159
8231
|
anUint8Array$2(this);
|
|
8160
8232
|
aString(string);
|
|
@@ -8164,7 +8236,7 @@ if (globalThis$4.Uint8Array) $$e({ target: 'Uint8Array', proto: true, forced: th
|
|
|
8164
8236
|
}
|
|
8165
8237
|
});
|
|
8166
8238
|
|
|
8167
|
-
var $$
|
|
8239
|
+
var $$c = _export;
|
|
8168
8240
|
var globalThis$3 = globalThis_1;
|
|
8169
8241
|
var uncurryThis$8 = functionUncurryThis;
|
|
8170
8242
|
var anObjectOrUndefined = anObjectOrUndefined$2;
|
|
@@ -8191,7 +8263,7 @@ var INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS$1 = !Uint8Array$2 || !Uint8Array$2.proto
|
|
|
8191
8263
|
|
|
8192
8264
|
// `Uint8Array.prototype.toBase64` method
|
|
8193
8265
|
// https://tc39.es/ecma262/#sec-uint8array.prototype.tobase64
|
|
8194
|
-
if (Uint8Array$2) $$
|
|
8266
|
+
if (Uint8Array$2) $$c({ target: 'Uint8Array', proto: true, forced: INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS$1 }, {
|
|
8195
8267
|
toBase64: function toBase64(/* options */) {
|
|
8196
8268
|
var array = anUint8Array$1(this);
|
|
8197
8269
|
var options = arguments.length ? anObjectOrUndefined(arguments[0]) : undefined;
|
|
@@ -8224,7 +8296,7 @@ if (Uint8Array$2) $$d({ target: 'Uint8Array', proto: true, forced: INCORRECT_BEH
|
|
|
8224
8296
|
}
|
|
8225
8297
|
});
|
|
8226
8298
|
|
|
8227
|
-
var $$
|
|
8299
|
+
var $$b = _export;
|
|
8228
8300
|
var globalThis$2 = globalThis_1;
|
|
8229
8301
|
var uncurryThis$7 = functionUncurryThis;
|
|
8230
8302
|
var anUint8Array = anUint8Array$4;
|
|
@@ -8247,7 +8319,7 @@ var INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS = !Uint8Array$1 || !Uint8Array$1.prototy
|
|
|
8247
8319
|
|
|
8248
8320
|
// `Uint8Array.prototype.toHex` method
|
|
8249
8321
|
// https://tc39.es/ecma262/#sec-uint8array.prototype.tohex
|
|
8250
|
-
if (Uint8Array$1) $$
|
|
8322
|
+
if (Uint8Array$1) $$b({ target: 'Uint8Array', proto: true, forced: INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS }, {
|
|
8251
8323
|
toHex: function toHex() {
|
|
8252
8324
|
anUint8Array(this);
|
|
8253
8325
|
notDetached(this.buffer);
|
|
@@ -8358,64 +8430,21 @@ const readMachineCodeAppDirectoryInfo = async projectPath => {
|
|
|
8358
8430
|
}
|
|
8359
8431
|
};
|
|
8360
8432
|
|
|
8361
|
-
var
|
|
8362
|
-
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
|
|
8363
|
-
|
|
8364
|
-
var doesNotExceedSafeInteger$1 = function (it) {
|
|
8365
|
-
if (it > MAX_SAFE_INTEGER) throw new $TypeError$2('Maximum allowed index exceeded');
|
|
8366
|
-
return it;
|
|
8367
|
-
};
|
|
8368
|
-
|
|
8369
|
-
var isArray = isArray$4;
|
|
8370
|
-
var lengthOfArrayLike$3 = lengthOfArrayLike$g;
|
|
8371
|
-
var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;
|
|
8372
|
-
var bind = functionBindContext;
|
|
8373
|
-
var createProperty = createProperty$5;
|
|
8374
|
-
|
|
8375
|
-
// `FlattenIntoArray` abstract operation
|
|
8376
|
-
// https://tc39.es/ecma262/#sec-flattenintoarray
|
|
8377
|
-
var flattenIntoArray$1 = function (target, original, source, sourceLen, start, depth, mapper, thisArg) {
|
|
8378
|
-
var targetIndex = start;
|
|
8379
|
-
var sourceIndex = 0;
|
|
8380
|
-
var mapFn = mapper ? bind(mapper, thisArg) : false;
|
|
8381
|
-
var element, elementLen;
|
|
8382
|
-
|
|
8383
|
-
while (sourceIndex < sourceLen) {
|
|
8384
|
-
if (sourceIndex in source) {
|
|
8385
|
-
element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];
|
|
8386
|
-
|
|
8387
|
-
if (depth > 0 && isArray(element)) {
|
|
8388
|
-
elementLen = lengthOfArrayLike$3(element);
|
|
8389
|
-
targetIndex = flattenIntoArray$1(target, original, element, elementLen, targetIndex, depth - 1) - 1;
|
|
8390
|
-
} else {
|
|
8391
|
-
doesNotExceedSafeInteger(targetIndex + 1);
|
|
8392
|
-
createProperty(target, targetIndex, element);
|
|
8393
|
-
}
|
|
8394
|
-
|
|
8395
|
-
targetIndex++;
|
|
8396
|
-
}
|
|
8397
|
-
sourceIndex++;
|
|
8398
|
-
}
|
|
8399
|
-
return targetIndex;
|
|
8400
|
-
};
|
|
8401
|
-
|
|
8402
|
-
var flattenIntoArray_1 = flattenIntoArray$1;
|
|
8403
|
-
|
|
8404
|
-
var $$b = _export;
|
|
8433
|
+
var $$a = _export;
|
|
8405
8434
|
var flattenIntoArray = flattenIntoArray_1;
|
|
8406
|
-
var aCallable$
|
|
8407
|
-
var toObject$2 = toObject$
|
|
8408
|
-
var lengthOfArrayLike$2 = lengthOfArrayLike$
|
|
8409
|
-
var arraySpeciesCreate = arraySpeciesCreate$
|
|
8435
|
+
var aCallable$3 = aCallable$k;
|
|
8436
|
+
var toObject$2 = toObject$c;
|
|
8437
|
+
var lengthOfArrayLike$2 = lengthOfArrayLike$h;
|
|
8438
|
+
var arraySpeciesCreate = arraySpeciesCreate$3;
|
|
8410
8439
|
|
|
8411
8440
|
// `Array.prototype.flatMap` method
|
|
8412
8441
|
// https://tc39.es/ecma262/#sec-array.prototype.flatmap
|
|
8413
|
-
$$
|
|
8442
|
+
$$a({ target: 'Array', proto: true }, {
|
|
8414
8443
|
flatMap: function flatMap(callbackfn /* , thisArg */) {
|
|
8415
8444
|
var O = toObject$2(this);
|
|
8416
8445
|
var sourceLen = lengthOfArrayLike$2(O);
|
|
8417
8446
|
var A;
|
|
8418
|
-
aCallable$
|
|
8447
|
+
aCallable$3(callbackfn);
|
|
8419
8448
|
A = arraySpeciesCreate(O, 0);
|
|
8420
8449
|
flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
8421
8450
|
return A;
|
|
@@ -8440,11 +8469,11 @@ var arrayMethodIsStrict$1 = function (METHOD_NAME, argument) {
|
|
|
8440
8469
|
});
|
|
8441
8470
|
};
|
|
8442
8471
|
|
|
8443
|
-
var $$
|
|
8472
|
+
var $$9 = _export;
|
|
8444
8473
|
var uncurryThis$6 = functionUncurryThis;
|
|
8445
|
-
var aCallable$
|
|
8446
|
-
var toObject$1 = toObject$
|
|
8447
|
-
var lengthOfArrayLike$1 = lengthOfArrayLike$
|
|
8474
|
+
var aCallable$2 = aCallable$k;
|
|
8475
|
+
var toObject$1 = toObject$c;
|
|
8476
|
+
var lengthOfArrayLike$1 = lengthOfArrayLike$h;
|
|
8448
8477
|
var deletePropertyOrThrow = deletePropertyOrThrow$1;
|
|
8449
8478
|
var toString$7 = toString$h;
|
|
8450
8479
|
var fails$4 = fails$F;
|
|
@@ -8520,9 +8549,9 @@ var getSortCompare = function (comparefn) {
|
|
|
8520
8549
|
|
|
8521
8550
|
// `Array.prototype.sort` method
|
|
8522
8551
|
// https://tc39.es/ecma262/#sec-array.prototype.sort
|
|
8523
|
-
$$
|
|
8552
|
+
$$9({ target: 'Array', proto: true, forced: FORCED$2 }, {
|
|
8524
8553
|
sort: function sort(comparefn) {
|
|
8525
|
-
if (comparefn !== undefined) aCallable$
|
|
8554
|
+
if (comparefn !== undefined) aCallable$2(comparefn);
|
|
8526
8555
|
|
|
8527
8556
|
var array = toObject$1(this);
|
|
8528
8557
|
|
|
@@ -8550,32 +8579,32 @@ $$a({ target: 'Array', proto: true, forced: FORCED$2 }, {
|
|
|
8550
8579
|
|
|
8551
8580
|
// this method was added to unscopables after implementation
|
|
8552
8581
|
// in popular engines, so it's moved to a separate module
|
|
8553
|
-
var addToUnscopables$1 = addToUnscopables$
|
|
8582
|
+
var addToUnscopables$1 = addToUnscopables$5;
|
|
8554
8583
|
|
|
8555
8584
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
8556
8585
|
addToUnscopables$1('flatMap');
|
|
8557
8586
|
|
|
8558
|
-
var call$
|
|
8559
|
-
var anObject$
|
|
8560
|
-
var getIteratorDirect$
|
|
8587
|
+
var call$2 = functionCall;
|
|
8588
|
+
var anObject$3 = anObject$o;
|
|
8589
|
+
var getIteratorDirect$1 = getIteratorDirect$7;
|
|
8561
8590
|
var getIteratorMethod = getIteratorMethod$4;
|
|
8562
8591
|
|
|
8563
8592
|
var getIteratorFlattenable$1 = function (obj, stringHandling) {
|
|
8564
|
-
if (!stringHandling || typeof obj !== 'string') anObject$
|
|
8593
|
+
if (!stringHandling || typeof obj !== 'string') anObject$3(obj);
|
|
8565
8594
|
var method = getIteratorMethod(obj);
|
|
8566
|
-
return getIteratorDirect$
|
|
8595
|
+
return getIteratorDirect$1(anObject$3(method !== undefined ? call$2(method, obj) : obj));
|
|
8567
8596
|
};
|
|
8568
8597
|
|
|
8569
|
-
var $$
|
|
8570
|
-
var call$
|
|
8571
|
-
var aCallable$
|
|
8572
|
-
var anObject$
|
|
8573
|
-
var getIteratorDirect
|
|
8598
|
+
var $$8 = _export;
|
|
8599
|
+
var call$1 = functionCall;
|
|
8600
|
+
var aCallable$1 = aCallable$k;
|
|
8601
|
+
var anObject$2 = anObject$o;
|
|
8602
|
+
var getIteratorDirect = getIteratorDirect$7;
|
|
8574
8603
|
var getIteratorFlattenable = getIteratorFlattenable$1;
|
|
8575
8604
|
var createIteratorProxy = iteratorCreateProxy;
|
|
8576
|
-
var iteratorClose
|
|
8605
|
+
var iteratorClose = iteratorClose$b;
|
|
8577
8606
|
var iteratorHelperThrowsOnInvalidIterator = iteratorHelperThrowsOnInvalidIterator$3;
|
|
8578
|
-
var iteratorHelperWithoutClosingOnEarlyError
|
|
8607
|
+
var iteratorHelperWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError$5;
|
|
8579
8608
|
|
|
8580
8609
|
// Should not throw an error for an iterator without `return` method. Fixed in Safari 26.2
|
|
8581
8610
|
// https://bugs.webkit.org/show_bug.cgi?id=297532
|
|
@@ -8592,7 +8621,7 @@ function throwsOnIteratorWithoutReturn() {
|
|
|
8592
8621
|
|
|
8593
8622
|
var FLAT_MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR = !iteratorHelperThrowsOnInvalidIterator('flatMap', function () { /* empty */ });
|
|
8594
8623
|
var flatMapWithoutClosingOnEarlyError = !FLAT_MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR
|
|
8595
|
-
&& iteratorHelperWithoutClosingOnEarlyError
|
|
8624
|
+
&& iteratorHelperWithoutClosingOnEarlyError('flatMap', TypeError);
|
|
8596
8625
|
|
|
8597
8626
|
var FORCED$1 = FLAT_MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR || flatMapWithoutClosingOnEarlyError
|
|
8598
8627
|
|| throwsOnIteratorWithoutReturn();
|
|
@@ -8604,35 +8633,35 @@ var IteratorProxy = createIteratorProxy(function () {
|
|
|
8604
8633
|
|
|
8605
8634
|
while (true) {
|
|
8606
8635
|
if (inner = this.inner) try {
|
|
8607
|
-
result = anObject$
|
|
8636
|
+
result = anObject$2(call$1(inner.next, inner.iterator));
|
|
8608
8637
|
if (!result.done) return result.value;
|
|
8609
8638
|
this.inner = null;
|
|
8610
|
-
} catch (error) { iteratorClose
|
|
8639
|
+
} catch (error) { iteratorClose(iterator, 'throw', error); }
|
|
8611
8640
|
|
|
8612
|
-
result = anObject$
|
|
8641
|
+
result = anObject$2(call$1(this.next, iterator));
|
|
8613
8642
|
|
|
8614
8643
|
if (this.done = !!result.done) return;
|
|
8615
8644
|
|
|
8616
8645
|
try {
|
|
8617
8646
|
this.inner = getIteratorFlattenable(mapper(result.value, this.counter++), false);
|
|
8618
|
-
} catch (error) { iteratorClose
|
|
8647
|
+
} catch (error) { iteratorClose(iterator, 'throw', error); }
|
|
8619
8648
|
}
|
|
8620
8649
|
});
|
|
8621
8650
|
|
|
8622
8651
|
// `Iterator.prototype.flatMap` method
|
|
8623
8652
|
// https://tc39.es/ecma262/#sec-iterator.prototype.flatmap
|
|
8624
|
-
$$
|
|
8653
|
+
$$8({ target: 'Iterator', proto: true, real: true, forced: FORCED$1 }, {
|
|
8625
8654
|
flatMap: function flatMap(mapper) {
|
|
8626
|
-
anObject$
|
|
8655
|
+
anObject$2(this);
|
|
8627
8656
|
try {
|
|
8628
|
-
aCallable$
|
|
8657
|
+
aCallable$1(mapper);
|
|
8629
8658
|
} catch (error) {
|
|
8630
|
-
iteratorClose
|
|
8659
|
+
iteratorClose(this, 'throw', error);
|
|
8631
8660
|
}
|
|
8632
8661
|
|
|
8633
|
-
if (flatMapWithoutClosingOnEarlyError) return call$
|
|
8662
|
+
if (flatMapWithoutClosingOnEarlyError) return call$1(flatMapWithoutClosingOnEarlyError, this, mapper);
|
|
8634
8663
|
|
|
8635
|
-
return new IteratorProxy(getIteratorDirect
|
|
8664
|
+
return new IteratorProxy(getIteratorDirect(this), {
|
|
8636
8665
|
mapper: mapper,
|
|
8637
8666
|
inner: null
|
|
8638
8667
|
});
|
|
@@ -9511,11 +9540,6 @@ const resolveConnections = async (session, origins, designId) => {
|
|
|
9511
9540
|
return engineLookup.success ? [buildConnection(engineLookup.url, fetch)] : [];
|
|
9512
9541
|
});
|
|
9513
9542
|
};
|
|
9514
|
-
const resolveConnection$1 = async (session, origins, designId) => {
|
|
9515
|
-
var _a;
|
|
9516
|
-
const designs = await listDesigns$2(session, origins);
|
|
9517
|
-
return (_a = designs.find(design => design.id === designId)) === null || _a === void 0 ? void 0 : _a.connection;
|
|
9518
|
-
};
|
|
9519
9543
|
|
|
9520
9544
|
const LOCAL_DIGITAL_TWIN_URL = "http://localhost:3101";
|
|
9521
9545
|
const connection = {
|
|
@@ -9541,12 +9565,6 @@ const findDigitalTwinApiOrigins = session => {
|
|
|
9541
9565
|
api
|
|
9542
9566
|
};
|
|
9543
9567
|
};
|
|
9544
|
-
const resolveDigitalTwinConnection = async (session, designId) => {
|
|
9545
|
-
if (session.environment === "local") {
|
|
9546
|
-
return resolveConnection();
|
|
9547
|
-
}
|
|
9548
|
-
return resolveConnection$1(session, findDigitalTwinApiOrigins(session), designId);
|
|
9549
|
-
};
|
|
9550
9568
|
const resolveDigitalTwinConnections = async (session, designId) => {
|
|
9551
9569
|
if (session.environment === "local") {
|
|
9552
9570
|
return [await resolveConnection()];
|
|
@@ -9560,26 +9578,57 @@ const listDesigns = async session => {
|
|
|
9560
9578
|
return listDesigns$2(session, findDigitalTwinApiOrigins(session));
|
|
9561
9579
|
};
|
|
9562
9580
|
|
|
9563
|
-
const
|
|
9581
|
+
const exitWithoutTwin$1 = () => {
|
|
9582
|
+
console.log();
|
|
9583
|
+
console.error(chalk.red("Sorry, it seems you do not have that design open with the MachineLogic tab selected."));
|
|
9584
|
+
console.error(chalk.red("Please go to your browser, open your design, and navigate to the MachineLogic page."));
|
|
9585
|
+
process.exit(1);
|
|
9586
|
+
};
|
|
9587
|
+
const getAppFromDigitalTwins = async (session, designId, {
|
|
9588
|
+
applicationId,
|
|
9589
|
+
appName
|
|
9590
|
+
}) => {
|
|
9591
|
+
const connections = await resolveDigitalTwinConnections(session, designId);
|
|
9592
|
+
if (connections.length === 0) {
|
|
9593
|
+
exitWithoutTwin$1();
|
|
9594
|
+
}
|
|
9564
9595
|
console.log(chalk.blue("Fetching all applications with source code from digital twin..."));
|
|
9565
|
-
const
|
|
9566
|
-
|
|
9567
|
-
|
|
9596
|
+
const copies = (await Promise.all(connections.map(async connection => (await getAllApplicationsWithSourceCode(connection)).filter(app => app.id === applicationId).map(app => ({
|
|
9597
|
+
app,
|
|
9598
|
+
connection
|
|
9599
|
+
}))))).flat();
|
|
9600
|
+
const [newestCopy] = copies;
|
|
9601
|
+
if (!newestCopy) {
|
|
9568
9602
|
console.log();
|
|
9569
|
-
console.error(chalk.red(`Application "${
|
|
9603
|
+
console.error(chalk.red(`Application "${appName}" (ID: ${applicationId}) not found in the digital twin.`));
|
|
9570
9604
|
process.exit(1);
|
|
9571
9605
|
}
|
|
9572
|
-
|
|
9606
|
+
if (copies.some(({
|
|
9607
|
+
app
|
|
9608
|
+
}) => !isDeepStrictEqual(app.sourceCode, newestCopy.app.sourceCode))) {
|
|
9609
|
+
console.log();
|
|
9610
|
+
console.error(chalk.red(`This design's twins hold different versions of "${appName}".`));
|
|
9611
|
+
console.error(chalk.red("Each MachineBuilder tab open on the design runs its own twin, and a closed tab's twin can stay up for a while."));
|
|
9612
|
+
console.error(chalk.red("If you just pushed, pull again in a few seconds, once every twin has finished taking the push."));
|
|
9613
|
+
console.error(chalk.red("Otherwise run 'vention push' from a folder with the version you want, which gives every twin that copy."));
|
|
9614
|
+
console.error(chalk.red("Or close the design's other tabs, then pull again once their twins have stopped."));
|
|
9615
|
+
process.exit(1);
|
|
9616
|
+
}
|
|
9617
|
+
return newestCopy;
|
|
9573
9618
|
};
|
|
9574
9619
|
const getAvailableAppsFromDigitalTwin = async connection => {
|
|
9575
9620
|
const allApplications = await getAllApplicationsWithSourceCode(connection);
|
|
9576
9621
|
return allApplications.filter(app => app.type === "machine_code");
|
|
9577
9622
|
};
|
|
9578
9623
|
const createNewAppDirectory = async (session, currentDir) => {
|
|
9624
|
+
const selection = await selectDesignAndApp(session);
|
|
9579
9625
|
const {
|
|
9580
|
-
|
|
9581
|
-
|
|
9582
|
-
} = await
|
|
9626
|
+
app: selectedApp,
|
|
9627
|
+
connection
|
|
9628
|
+
} = await getAppFromDigitalTwins(session, selection.selectedDesign.id, {
|
|
9629
|
+
applicationId: selection.selectedApp.id,
|
|
9630
|
+
appName: selection.selectedApp.name
|
|
9631
|
+
});
|
|
9583
9632
|
if (!selectedApp.sourceCode) {
|
|
9584
9633
|
console.log();
|
|
9585
9634
|
console.log(chalk.yellow("No source code found for this application."));
|
|
@@ -9595,14 +9644,14 @@ const createNewAppDirectory = async (session, currentDir) => {
|
|
|
9595
9644
|
process.exit(1);
|
|
9596
9645
|
}
|
|
9597
9646
|
const appDirectoryPath = await writeApplicationToDisk(selectedApp.name, selectedApp.sourceCode, currentDir);
|
|
9598
|
-
const [assets, mmConfiguration] = await Promise.all([getLibraryAssets(
|
|
9647
|
+
const [assets, mmConfiguration] = await Promise.all([getLibraryAssets(connection), getMmConfiguration(connection)]);
|
|
9599
9648
|
if (assets !== undefined) {
|
|
9600
9649
|
await writeReadonlyJsonFile(appDirectoryPath, ".vention-design-scene-assets.json", assets);
|
|
9601
9650
|
}
|
|
9602
9651
|
await writeReadonlyJsonFile(appDirectoryPath, ".vention-design-configuration.json", mmConfiguration);
|
|
9603
9652
|
await writeMachineCodeAppDirectoryInfo(appDirectoryPath, {
|
|
9604
9653
|
appName: selectedApp.name,
|
|
9605
|
-
designId: selectedDesign.id,
|
|
9654
|
+
designId: selection.selectedDesign.id,
|
|
9606
9655
|
applicationId: selectedApp.id,
|
|
9607
9656
|
lastPulledAt: new Date().toISOString(),
|
|
9608
9657
|
environment: session.environment,
|
|
@@ -9617,14 +9666,10 @@ const createNewAppDirectory = async (session, currentDir) => {
|
|
|
9617
9666
|
const updateExistingAppDirectory = async (session, machineCodeAppDirectoryInfo, currentDir) => {
|
|
9618
9667
|
console.log(chalk.blue(`Found existing project: ${machineCodeAppDirectoryInfo.appName}`));
|
|
9619
9668
|
console.log(chalk.blue(`Design ID: ${machineCodeAppDirectoryInfo.designId}, App ID: ${machineCodeAppDirectoryInfo.applicationId}`));
|
|
9620
|
-
const
|
|
9621
|
-
|
|
9622
|
-
|
|
9623
|
-
|
|
9624
|
-
console.error(chalk.red("Please go to your browser, open your design, and navigate to the MachineLogic page."));
|
|
9625
|
-
process.exit(1);
|
|
9626
|
-
}
|
|
9627
|
-
const appWithSourceCode = await getAppFromDigitalTwin(connection, machineCodeAppDirectoryInfo);
|
|
9669
|
+
const {
|
|
9670
|
+
app: appWithSourceCode,
|
|
9671
|
+
connection
|
|
9672
|
+
} = await getAppFromDigitalTwins(session, machineCodeAppDirectoryInfo.designId, machineCodeAppDirectoryInfo);
|
|
9628
9673
|
await writeApplicationToDisk(appWithSourceCode.name, appWithSourceCode.sourceCode, currentDir, true);
|
|
9629
9674
|
const [assets, mmConfiguration] = await Promise.all([getLibraryAssets(connection), getMmConfiguration(connection)]);
|
|
9630
9675
|
if (assets !== undefined) {
|
|
@@ -9945,10 +9990,10 @@ if (DESCRIPTORS && UNSUPPORTED_DOT_ALL) {
|
|
|
9945
9990
|
|
|
9946
9991
|
// TODO: Remove from `core-js@4` since it's moved to entry points
|
|
9947
9992
|
|
|
9948
|
-
var $$
|
|
9949
|
-
var call
|
|
9993
|
+
var $$7 = _export;
|
|
9994
|
+
var call = functionCall;
|
|
9950
9995
|
var isCallable = isCallable$s;
|
|
9951
|
-
var anObject$
|
|
9996
|
+
var anObject$1 = anObject$o;
|
|
9952
9997
|
var toString$5 = toString$h;
|
|
9953
9998
|
|
|
9954
9999
|
var DELEGATES_TO_EXEC = function () {
|
|
@@ -9965,22 +10010,22 @@ var nativeTest = /./.test;
|
|
|
9965
10010
|
|
|
9966
10011
|
// `RegExp.prototype.test` method
|
|
9967
10012
|
// https://tc39.es/ecma262/#sec-regexp.prototype.test
|
|
9968
|
-
$$
|
|
10013
|
+
$$7({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {
|
|
9969
10014
|
test: function (S) {
|
|
9970
|
-
var R = anObject$
|
|
10015
|
+
var R = anObject$1(this);
|
|
9971
10016
|
var string = toString$5(S);
|
|
9972
10017
|
var exec = R.exec;
|
|
9973
|
-
if (!isCallable(exec)) return call
|
|
9974
|
-
var result = call
|
|
10018
|
+
if (!isCallable(exec)) return call(nativeTest, R, string);
|
|
10019
|
+
var result = call(exec, R, string);
|
|
9975
10020
|
if (result === null) return false;
|
|
9976
|
-
anObject$
|
|
10021
|
+
anObject$1(result);
|
|
9977
10022
|
return true;
|
|
9978
10023
|
}
|
|
9979
10024
|
});
|
|
9980
10025
|
|
|
9981
10026
|
var PROPER_FUNCTION_NAME$1 = functionName.PROPER;
|
|
9982
10027
|
var defineBuiltIn = defineBuiltIn$a;
|
|
9983
|
-
var anObject
|
|
10028
|
+
var anObject = anObject$o;
|
|
9984
10029
|
var $toString = toString$h;
|
|
9985
10030
|
var fails$2 = fails$F;
|
|
9986
10031
|
var getRegExpFlags = regexpGetFlags;
|
|
@@ -9997,7 +10042,7 @@ var INCORRECT_NAME = PROPER_FUNCTION_NAME$1 && nativeToString.name !== TO_STRING
|
|
|
9997
10042
|
// https://tc39.es/ecma262/#sec-regexp.prototype.tostring
|
|
9998
10043
|
if (NOT_GENERIC || INCORRECT_NAME) {
|
|
9999
10044
|
defineBuiltIn(RegExpPrototype, TO_STRING, function toString() {
|
|
10000
|
-
var R = anObject
|
|
10045
|
+
var R = anObject(this);
|
|
10001
10046
|
var pattern = $toString(R.source);
|
|
10002
10047
|
var flags = $toString(getRegExpFlags(R));
|
|
10003
10048
|
return '/' + pattern + '/' + flags;
|
|
@@ -10054,7 +10099,6 @@ function createPushCommand() {
|
|
|
10054
10099
|
}
|
|
10055
10100
|
const currentDir = process.cwd();
|
|
10056
10101
|
const machineCodeAppDirectoryInfo = await readMachineCodeAppDirectoryInfo(currentDir);
|
|
10057
|
-
let linkedConnection;
|
|
10058
10102
|
if (!machineCodeAppDirectoryInfo) {
|
|
10059
10103
|
console.log();
|
|
10060
10104
|
console.log(chalk.yellow("This directory is not linked to a Vention application."));
|
|
@@ -10072,10 +10116,7 @@ function createPushCommand() {
|
|
|
10072
10116
|
console.log(chalk.blue("Push operation cancelled. Run 'vention link' when you're ready to link this directory."));
|
|
10073
10117
|
process.exit(0);
|
|
10074
10118
|
}
|
|
10075
|
-
|
|
10076
|
-
selectedDesign
|
|
10077
|
-
} = await linkDirectory(session, currentDir);
|
|
10078
|
-
linkedConnection = selectedDesign.connection;
|
|
10119
|
+
await linkDirectory(session, currentDir);
|
|
10079
10120
|
console.log(chalk.blue("Continuing with push operation..."));
|
|
10080
10121
|
}
|
|
10081
10122
|
const updatedMachineCodeAppDirectoryInfo = await readMachineCodeAppDirectoryInfo(currentDir);
|
|
@@ -10086,8 +10127,8 @@ function createPushCommand() {
|
|
|
10086
10127
|
console.log();
|
|
10087
10128
|
console.log(chalk.blue(`Pushing changes for project: ${updatedMachineCodeAppDirectoryInfo.appName}`));
|
|
10088
10129
|
console.log(chalk.blue(`Design ID: ${updatedMachineCodeAppDirectoryInfo.designId}, App ID: ${updatedMachineCodeAppDirectoryInfo.applicationId}`));
|
|
10089
|
-
const
|
|
10090
|
-
if (
|
|
10130
|
+
const connections = await resolveDigitalTwinConnections(session, updatedMachineCodeAppDirectoryInfo.designId);
|
|
10131
|
+
if (connections.length === 0) {
|
|
10091
10132
|
console.log();
|
|
10092
10133
|
console.error(chalk.red("Sorry, it seems you do not have that design open with the MachineLogic tab selected."));
|
|
10093
10134
|
console.error(chalk.red("Please go to your browser, open your design, and navigate to the MachineLogic page."));
|
|
@@ -10105,12 +10146,12 @@ function createPushCommand() {
|
|
|
10105
10146
|
uuid: updatedMachineCodeAppDirectoryInfo.uuid
|
|
10106
10147
|
};
|
|
10107
10148
|
console.log(chalk.blue("Pushing to digital twin..."));
|
|
10108
|
-
await pushApplicationToDigitalTwin(connection, applicationToPush);
|
|
10149
|
+
await Promise.all(connections.map(connection => pushApplicationToDigitalTwin(connection, applicationToPush)));
|
|
10109
10150
|
await writeMachineCodeAppDirectoryInfo(currentDir, Object.assign(Object.assign({}, updatedMachineCodeAppDirectoryInfo), {
|
|
10110
10151
|
lastPushedAt: new Date().toISOString()
|
|
10111
10152
|
}));
|
|
10112
10153
|
console.log();
|
|
10113
|
-
console.log(chalk.green(
|
|
10154
|
+
console.log(chalk.green(connections.length === 1 ? "✅ Successfully pushed to digital twin" : `✅ Successfully pushed to the design's ${connections.length} twins`));
|
|
10114
10155
|
console.log(chalk.blue("💡 Your changes have been uploaded!"));
|
|
10115
10156
|
} catch (error) {
|
|
10116
10157
|
handleCommandError(error, "Failed to push application");
|
|
@@ -10141,15 +10182,15 @@ function createPullCommand() {
|
|
|
10141
10182
|
});
|
|
10142
10183
|
}
|
|
10143
10184
|
|
|
10144
|
-
var $$
|
|
10145
|
-
var toObject = toObject$
|
|
10146
|
-
var lengthOfArrayLike = lengthOfArrayLike$
|
|
10147
|
-
var toIntegerOrInfinity$2 = toIntegerOrInfinity$
|
|
10148
|
-
var addToUnscopables = addToUnscopables$
|
|
10185
|
+
var $$6 = _export;
|
|
10186
|
+
var toObject = toObject$c;
|
|
10187
|
+
var lengthOfArrayLike = lengthOfArrayLike$h;
|
|
10188
|
+
var toIntegerOrInfinity$2 = toIntegerOrInfinity$e;
|
|
10189
|
+
var addToUnscopables = addToUnscopables$5;
|
|
10149
10190
|
|
|
10150
10191
|
// `Array.prototype.at` method
|
|
10151
10192
|
// https://tc39.es/ecma262/#sec-array.prototype.at
|
|
10152
|
-
$$
|
|
10193
|
+
$$6({ target: 'Array', proto: true }, {
|
|
10153
10194
|
at: function at(index) {
|
|
10154
10195
|
var O = toObject(this);
|
|
10155
10196
|
var len = lengthOfArrayLike(O);
|
|
@@ -10161,10 +10202,10 @@ $$7({ target: 'Array', proto: true }, {
|
|
|
10161
10202
|
|
|
10162
10203
|
addToUnscopables('at');
|
|
10163
10204
|
|
|
10164
|
-
var $$
|
|
10205
|
+
var $$5 = _export;
|
|
10165
10206
|
var uncurryThis$4 = functionUncurryThis;
|
|
10166
10207
|
var requireObjectCoercible$4 = requireObjectCoercible$c;
|
|
10167
|
-
var toIntegerOrInfinity$1 = toIntegerOrInfinity$
|
|
10208
|
+
var toIntegerOrInfinity$1 = toIntegerOrInfinity$e;
|
|
10168
10209
|
var toString$4 = toString$h;
|
|
10169
10210
|
var fails$1 = fails$F;
|
|
10170
10211
|
|
|
@@ -10177,7 +10218,7 @@ var FORCED = fails$1(function () {
|
|
|
10177
10218
|
|
|
10178
10219
|
// `String.prototype.at` method
|
|
10179
10220
|
// https://tc39.es/ecma262/#sec-string.prototype.at
|
|
10180
|
-
$$
|
|
10221
|
+
$$5({ target: 'String', proto: true, forced: FORCED }, {
|
|
10181
10222
|
at: function at(index) {
|
|
10182
10223
|
var S = toString$4(requireObjectCoercible$4(this));
|
|
10183
10224
|
var len = S.length;
|
|
@@ -10349,14 +10390,14 @@ function createLogsCommand() {
|
|
|
10349
10390
|
return;
|
|
10350
10391
|
}
|
|
10351
10392
|
const session = requireSession(await loadSession());
|
|
10352
|
-
const
|
|
10353
|
-
const
|
|
10354
|
-
if (!
|
|
10393
|
+
const linkedApp = await readLinkedApp();
|
|
10394
|
+
const [appTwin] = await findAppTwins(session, linkedApp);
|
|
10395
|
+
if (!appTwin) {
|
|
10355
10396
|
console.error(chalk.red("Sorry, it seems you do not have that design open with the MachineLogic tab selected."));
|
|
10356
10397
|
console.error(chalk.red("Please go to your browser, open your design, and navigate to the MachineLogic page."));
|
|
10357
10398
|
process.exit(1);
|
|
10358
10399
|
}
|
|
10359
|
-
const logs = await getApplicationLogs(connection,
|
|
10400
|
+
const logs = await getApplicationLogs(appTwin.connection, linkedApp.applicationId);
|
|
10360
10401
|
console.log(logs);
|
|
10361
10402
|
} catch (error) {
|
|
10362
10403
|
handleTwinRunError(error, "Failed to fetch application logs");
|
|
@@ -10364,38 +10405,6 @@ function createLogsCommand() {
|
|
|
10364
10405
|
});
|
|
10365
10406
|
}
|
|
10366
10407
|
|
|
10367
|
-
var $$5 = _export;
|
|
10368
|
-
var call = functionCall;
|
|
10369
|
-
var iterate = iterate$8;
|
|
10370
|
-
var aCallable$1 = aCallable$l;
|
|
10371
|
-
var anObject = anObject$p;
|
|
10372
|
-
var getIteratorDirect = getIteratorDirect$8;
|
|
10373
|
-
var iteratorClose = iteratorClose$c;
|
|
10374
|
-
var iteratorHelperWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError$6;
|
|
10375
|
-
|
|
10376
|
-
var someWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('some', TypeError);
|
|
10377
|
-
|
|
10378
|
-
// `Iterator.prototype.some` method
|
|
10379
|
-
// https://tc39.es/ecma262/#sec-iterator.prototype.some
|
|
10380
|
-
$$5({ target: 'Iterator', proto: true, real: true, forced: someWithoutClosingOnEarlyError }, {
|
|
10381
|
-
some: function some(predicate) {
|
|
10382
|
-
anObject(this);
|
|
10383
|
-
try {
|
|
10384
|
-
aCallable$1(predicate);
|
|
10385
|
-
} catch (error) {
|
|
10386
|
-
iteratorClose(this, 'throw', error);
|
|
10387
|
-
}
|
|
10388
|
-
|
|
10389
|
-
if (someWithoutClosingOnEarlyError) return call(someWithoutClosingOnEarlyError, this, predicate);
|
|
10390
|
-
|
|
10391
|
-
var record = getIteratorDirect(this);
|
|
10392
|
-
var counter = 0;
|
|
10393
|
-
return iterate(record, function (value, stop) {
|
|
10394
|
-
if (predicate(value, counter++)) return stop();
|
|
10395
|
-
}, { IS_RECORD: true, INTERRUPTED: true }).stopped;
|
|
10396
|
-
}
|
|
10397
|
-
});
|
|
10398
|
-
|
|
10399
10408
|
var uncurryThis$3 = functionUncurryThis;
|
|
10400
10409
|
|
|
10401
10410
|
// eslint-disable-next-line es/no-map -- safe
|
|
@@ -10426,7 +10435,7 @@ $$4({ target: 'Map', proto: true, real: true, forced: IS_PURE$1 }, {
|
|
|
10426
10435
|
});
|
|
10427
10436
|
|
|
10428
10437
|
var $$3 = _export;
|
|
10429
|
-
var aCallable = aCallable$
|
|
10438
|
+
var aCallable = aCallable$k;
|
|
10430
10439
|
var MapHelpers = mapHelpers;
|
|
10431
10440
|
var IS_PURE = isPure;
|
|
10432
10441
|
|
|
@@ -10449,7 +10458,7 @@ $$3({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {
|
|
|
10449
10458
|
}
|
|
10450
10459
|
});
|
|
10451
10460
|
|
|
10452
|
-
var toIntegerOrInfinity = toIntegerOrInfinity$
|
|
10461
|
+
var toIntegerOrInfinity = toIntegerOrInfinity$e;
|
|
10453
10462
|
var toString$3 = toString$h;
|
|
10454
10463
|
var requireObjectCoercible$3 = requireObjectCoercible$c;
|
|
10455
10464
|
|
|
@@ -10911,22 +10920,26 @@ function createOpenCommand() {
|
|
|
10911
10920
|
const {
|
|
10912
10921
|
designId
|
|
10913
10922
|
} = await readLinkedApp();
|
|
10923
|
+
const url = `${MACHINE_BUILDER_ORIGINS[session.environment]}/machine-builder/${designId}`;
|
|
10914
10924
|
const report = (opened, message) => console.log(_json ? JSON.stringify({
|
|
10915
10925
|
designId,
|
|
10916
|
-
opened
|
|
10926
|
+
opened,
|
|
10927
|
+
url
|
|
10917
10928
|
}) : chalk.green(message));
|
|
10918
|
-
|
|
10929
|
+
const hasTwin = async () => (await resolveDigitalTwinConnections(session, designId)).length > 0;
|
|
10930
|
+
if (await hasTwin()) {
|
|
10919
10931
|
report(false, `Design ${designId} already has a twin running.`);
|
|
10932
|
+
console.error(chalk.blue("Is its MachineBuilder tab still open? Then keep using that tab."));
|
|
10933
|
+
console.error(chalk.blue(`If you closed it, its twin can stay up for a while. Open the design again at ${url}`));
|
|
10920
10934
|
return;
|
|
10921
10935
|
}
|
|
10922
|
-
const url = `${MACHINE_BUILDER_ORIGINS[session.environment]}/machine-builder/${designId}`;
|
|
10923
10936
|
openInBrowser(url);
|
|
10924
10937
|
console.error(chalk.blue(`Opening ${url}`));
|
|
10925
10938
|
console.error(chalk.blue("Switch to that tab and select MachineLogic to start the design's twin. The tab only loads while it's showing."));
|
|
10926
10939
|
console.error(chalk.blue("Waiting up to 2 minutes..."));
|
|
10927
10940
|
for (let attempt = 0; attempt < TWIN_POLL_ATTEMPTS; attempt++) {
|
|
10928
10941
|
await setTimeout$1(TWIN_POLL_INTERVAL_MS);
|
|
10929
|
-
if (await
|
|
10942
|
+
if (await hasTwin()) {
|
|
10930
10943
|
report(true, `Design ${designId}'s twin is running.`);
|
|
10931
10944
|
return;
|
|
10932
10945
|
}
|