@intelligentgraphics/ig.gfx.packager 2.1.1 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.js +953 -550
- package/build/index.js.map +1 -1
- package/package.json +24 -3
- package/readme.md +6 -0
package/build/index.js
CHANGED
|
@@ -306,14 +306,16 @@ var isArray = Array.isArray || function (xs) {
|
|
|
306
306
|
|
|
307
307
|
module.exports = minimatch;
|
|
308
308
|
minimatch.Minimatch = Minimatch;
|
|
309
|
-
|
|
309
|
+
|
|
310
|
+
var path = function () {
|
|
311
|
+
try {
|
|
312
|
+
return __webpack_require__(/*! path */ "path");
|
|
313
|
+
} catch (e) {}
|
|
314
|
+
}() || {
|
|
310
315
|
sep: '/'
|
|
311
316
|
};
|
|
312
317
|
|
|
313
|
-
|
|
314
|
-
path = __webpack_require__(/*! path */ "path");
|
|
315
|
-
} catch (er) {}
|
|
316
|
-
|
|
318
|
+
minimatch.sep = path.sep;
|
|
317
319
|
var GLOBSTAR = minimatch.GLOBSTAR = Minimatch.GLOBSTAR = {};
|
|
318
320
|
|
|
319
321
|
var expand = __webpack_require__(/*! brace-expansion */ "../../node_modules/brace-expansion/index.js");
|
|
@@ -374,51 +376,71 @@ function filter(pattern, options) {
|
|
|
374
376
|
}
|
|
375
377
|
|
|
376
378
|
function ext(a, b) {
|
|
377
|
-
a = a || {};
|
|
378
379
|
b = b || {};
|
|
379
380
|
var t = {};
|
|
380
|
-
Object.keys(b).forEach(function (k) {
|
|
381
|
-
t[k] = b[k];
|
|
382
|
-
});
|
|
383
381
|
Object.keys(a).forEach(function (k) {
|
|
384
382
|
t[k] = a[k];
|
|
385
383
|
});
|
|
384
|
+
Object.keys(b).forEach(function (k) {
|
|
385
|
+
t[k] = b[k];
|
|
386
|
+
});
|
|
386
387
|
return t;
|
|
387
388
|
}
|
|
388
389
|
|
|
389
390
|
minimatch.defaults = function (def) {
|
|
390
|
-
if (!def || !Object.keys(def).length)
|
|
391
|
+
if (!def || typeof def !== 'object' || !Object.keys(def).length) {
|
|
392
|
+
return minimatch;
|
|
393
|
+
}
|
|
394
|
+
|
|
391
395
|
var orig = minimatch;
|
|
392
396
|
|
|
393
397
|
var m = function minimatch(p, pattern, options) {
|
|
394
|
-
return orig
|
|
398
|
+
return orig(p, pattern, ext(def, options));
|
|
395
399
|
};
|
|
396
400
|
|
|
397
401
|
m.Minimatch = function Minimatch(pattern, options) {
|
|
398
402
|
return new orig.Minimatch(pattern, ext(def, options));
|
|
399
403
|
};
|
|
400
404
|
|
|
405
|
+
m.Minimatch.defaults = function defaults(options) {
|
|
406
|
+
return orig.defaults(ext(def, options)).Minimatch;
|
|
407
|
+
};
|
|
408
|
+
|
|
409
|
+
m.filter = function filter(pattern, options) {
|
|
410
|
+
return orig.filter(pattern, ext(def, options));
|
|
411
|
+
};
|
|
412
|
+
|
|
413
|
+
m.defaults = function defaults(options) {
|
|
414
|
+
return orig.defaults(ext(def, options));
|
|
415
|
+
};
|
|
416
|
+
|
|
417
|
+
m.makeRe = function makeRe(pattern, options) {
|
|
418
|
+
return orig.makeRe(pattern, ext(def, options));
|
|
419
|
+
};
|
|
420
|
+
|
|
421
|
+
m.braceExpand = function braceExpand(pattern, options) {
|
|
422
|
+
return orig.braceExpand(pattern, ext(def, options));
|
|
423
|
+
};
|
|
424
|
+
|
|
425
|
+
m.match = function (list, pattern, options) {
|
|
426
|
+
return orig.match(list, pattern, ext(def, options));
|
|
427
|
+
};
|
|
428
|
+
|
|
401
429
|
return m;
|
|
402
430
|
};
|
|
403
431
|
|
|
404
432
|
Minimatch.defaults = function (def) {
|
|
405
|
-
if (!def || !Object.keys(def).length) return Minimatch;
|
|
406
433
|
return minimatch.defaults(def).Minimatch;
|
|
407
434
|
};
|
|
408
435
|
|
|
409
436
|
function minimatch(p, pattern, options) {
|
|
410
|
-
|
|
411
|
-
throw new TypeError('glob pattern string required');
|
|
412
|
-
}
|
|
413
|
-
|
|
437
|
+
assertValidPattern(pattern);
|
|
414
438
|
if (!options) options = {}; // shortcut: comments match nothing.
|
|
415
439
|
|
|
416
440
|
if (!options.nocomment && pattern.charAt(0) === '#') {
|
|
417
441
|
return false;
|
|
418
|
-
}
|
|
419
|
-
|
|
442
|
+
}
|
|
420
443
|
|
|
421
|
-
if (pattern.trim() === '') return p === '';
|
|
422
444
|
return new Minimatch(pattern, options).match(p);
|
|
423
445
|
}
|
|
424
446
|
|
|
@@ -427,14 +449,11 @@ function Minimatch(pattern, options) {
|
|
|
427
449
|
return new Minimatch(pattern, options);
|
|
428
450
|
}
|
|
429
451
|
|
|
430
|
-
|
|
431
|
-
throw new TypeError('glob pattern string required');
|
|
432
|
-
}
|
|
433
|
-
|
|
452
|
+
assertValidPattern(pattern);
|
|
434
453
|
if (!options) options = {};
|
|
435
454
|
pattern = pattern.trim(); // windows support: need to use /, not \
|
|
436
455
|
|
|
437
|
-
if (path.sep !== '/') {
|
|
456
|
+
if (!options.allowWindowsEscape && path.sep !== '/') {
|
|
438
457
|
pattern = pattern.split(path.sep).join('/');
|
|
439
458
|
}
|
|
440
459
|
|
|
@@ -444,7 +463,8 @@ function Minimatch(pattern, options) {
|
|
|
444
463
|
this.regexp = null;
|
|
445
464
|
this.negate = false;
|
|
446
465
|
this.comment = false;
|
|
447
|
-
this.empty = false;
|
|
466
|
+
this.empty = false;
|
|
467
|
+
this.partial = !!options.partial; // make the set of regexps etc.
|
|
448
468
|
|
|
449
469
|
this.make();
|
|
450
470
|
}
|
|
@@ -454,8 +474,6 @@ Minimatch.prototype.debug = function () {};
|
|
|
454
474
|
Minimatch.prototype.make = make;
|
|
455
475
|
|
|
456
476
|
function make() {
|
|
457
|
-
// don't do it more than once.
|
|
458
|
-
if (this._made) return;
|
|
459
477
|
var pattern = this.pattern;
|
|
460
478
|
var options = this.options; // empty patterns and comments match nothing.
|
|
461
479
|
|
|
@@ -473,7 +491,9 @@ function make() {
|
|
|
473
491
|
this.parseNegate(); // step 2: expand braces
|
|
474
492
|
|
|
475
493
|
var set = this.globSet = this.braceExpand();
|
|
476
|
-
if (options.debug) this.debug =
|
|
494
|
+
if (options.debug) this.debug = function debug() {
|
|
495
|
+
console.error.apply(console, arguments);
|
|
496
|
+
};
|
|
477
497
|
this.debug(this.pattern, set); // step 3: now we have a set, so turn each one into a series of path-portion
|
|
478
498
|
// matching patterns.
|
|
479
499
|
// These will be regexps, except in the case of "**", which is
|
|
@@ -541,18 +561,28 @@ function braceExpand(pattern, options) {
|
|
|
541
561
|
}
|
|
542
562
|
|
|
543
563
|
pattern = typeof pattern === 'undefined' ? this.pattern : pattern;
|
|
564
|
+
assertValidPattern(pattern); // Thanks to Yeting Li <https://github.com/yetingli> for
|
|
565
|
+
// improving this regexp to avoid a ReDOS vulnerability.
|
|
544
566
|
|
|
545
|
-
if (
|
|
546
|
-
throw new TypeError('undefined pattern');
|
|
547
|
-
}
|
|
548
|
-
|
|
549
|
-
if (options.nobrace || !pattern.match(/\{.*\}/)) {
|
|
567
|
+
if (options.nobrace || !/\{(?:(?!\{).)*\}/.test(pattern)) {
|
|
550
568
|
// shortcut. no need to expand.
|
|
551
569
|
return [pattern];
|
|
552
570
|
}
|
|
553
571
|
|
|
554
572
|
return expand(pattern);
|
|
555
|
-
}
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
var MAX_PATTERN_LENGTH = 1024 * 64;
|
|
576
|
+
|
|
577
|
+
var assertValidPattern = function (pattern) {
|
|
578
|
+
if (typeof pattern !== 'string') {
|
|
579
|
+
throw new TypeError('invalid pattern');
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
if (pattern.length > MAX_PATTERN_LENGTH) {
|
|
583
|
+
throw new TypeError('pattern is too long');
|
|
584
|
+
}
|
|
585
|
+
}; // parse a component of the expanded set.
|
|
556
586
|
// At this point, no pattern may contain "/" in it
|
|
557
587
|
// so we're going to return a 2d array, where each entry is the full
|
|
558
588
|
// pattern, split on '/', and then turned into a regular expression.
|
|
@@ -569,13 +599,13 @@ Minimatch.prototype.parse = parse;
|
|
|
569
599
|
var SUBPARSE = {};
|
|
570
600
|
|
|
571
601
|
function parse(pattern, isSub) {
|
|
572
|
-
|
|
573
|
-
throw new TypeError('pattern is too long');
|
|
574
|
-
}
|
|
575
|
-
|
|
602
|
+
assertValidPattern(pattern);
|
|
576
603
|
var options = this.options; // shortcuts
|
|
577
604
|
|
|
578
|
-
if (
|
|
605
|
+
if (pattern === '**') {
|
|
606
|
+
if (!options.noglobstar) return GLOBSTAR;else pattern = '*';
|
|
607
|
+
}
|
|
608
|
+
|
|
579
609
|
if (pattern === '') return '';
|
|
580
610
|
var re = '';
|
|
581
611
|
var hasMagic = !!options.nocase;
|
|
@@ -629,10 +659,13 @@ function parse(pattern, isSub) {
|
|
|
629
659
|
}
|
|
630
660
|
|
|
631
661
|
switch (c) {
|
|
662
|
+
/* istanbul ignore next */
|
|
632
663
|
case '/':
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
664
|
+
{
|
|
665
|
+
// completely not allowed, even escaped.
|
|
666
|
+
// Should already be path-split by now.
|
|
667
|
+
return false;
|
|
668
|
+
}
|
|
636
669
|
|
|
637
670
|
case '\\':
|
|
638
671
|
clearStateChar();
|
|
@@ -750,28 +783,26 @@ function parse(pattern, isSub) {
|
|
|
750
783
|
continue;
|
|
751
784
|
} // handle the case where we left a class open.
|
|
752
785
|
// "[z-a]" is valid, equivalent to "\[z-a\]"
|
|
786
|
+
// split where the last [ was, make sure we don't have
|
|
787
|
+
// an invalid re. if so, re-walk the contents of the
|
|
788
|
+
// would-be class to re-translate any characters that
|
|
789
|
+
// were passed through as-is
|
|
790
|
+
// TODO: It would probably be faster to determine this
|
|
791
|
+
// without a try/catch and a new RegExp, but it's tricky
|
|
792
|
+
// to do safely. For now, this is safe and works.
|
|
753
793
|
|
|
754
794
|
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
//
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
RegExp('[' + cs + ']');
|
|
767
|
-
} catch (er) {
|
|
768
|
-
// not a valid class!
|
|
769
|
-
var sp = this.parse(cs, SUBPARSE);
|
|
770
|
-
re = re.substr(0, reClassStart) + '\\[' + sp[0] + '\\]';
|
|
771
|
-
hasMagic = hasMagic || sp[1];
|
|
772
|
-
inClass = false;
|
|
773
|
-
continue;
|
|
774
|
-
}
|
|
795
|
+
var cs = pattern.substring(classStart + 1, i);
|
|
796
|
+
|
|
797
|
+
try {
|
|
798
|
+
RegExp('[' + cs + ']');
|
|
799
|
+
} catch (er) {
|
|
800
|
+
// not a valid class!
|
|
801
|
+
var sp = this.parse(cs, SUBPARSE);
|
|
802
|
+
re = re.substr(0, reClassStart) + '\\[' + sp[0] + '\\]';
|
|
803
|
+
hasMagic = hasMagic || sp[1];
|
|
804
|
+
inClass = false;
|
|
805
|
+
continue;
|
|
775
806
|
} // finish up the class.
|
|
776
807
|
|
|
777
808
|
|
|
@@ -853,8 +884,8 @@ function parse(pattern, isSub) {
|
|
|
853
884
|
var addPatternStart = false;
|
|
854
885
|
|
|
855
886
|
switch (re.charAt(0)) {
|
|
856
|
-
case '.':
|
|
857
887
|
case '[':
|
|
888
|
+
case '.':
|
|
858
889
|
case '(':
|
|
859
890
|
addPatternStart = true;
|
|
860
891
|
} // Hack to work around lack of negative lookbehind in JS
|
|
@@ -919,7 +950,9 @@ function parse(pattern, isSub) {
|
|
|
919
950
|
|
|
920
951
|
try {
|
|
921
952
|
var regExp = new RegExp('^' + re + '$', flags);
|
|
922
|
-
} catch (er)
|
|
953
|
+
} catch (er)
|
|
954
|
+
/* istanbul ignore next - should be impossible */
|
|
955
|
+
{
|
|
923
956
|
// If it was an invalid regular expression, then it can't match
|
|
924
957
|
// anything. This trick looks for a character after the end of
|
|
925
958
|
// the string, which is of course impossible, except in multi-line
|
|
@@ -969,7 +1002,9 @@ function makeRe() {
|
|
|
969
1002
|
|
|
970
1003
|
try {
|
|
971
1004
|
this.regexp = new RegExp(re, flags);
|
|
972
|
-
} catch (ex)
|
|
1005
|
+
} catch (ex)
|
|
1006
|
+
/* istanbul ignore next - should be impossible */
|
|
1007
|
+
{
|
|
973
1008
|
this.regexp = false;
|
|
974
1009
|
}
|
|
975
1010
|
|
|
@@ -990,9 +1025,8 @@ minimatch.match = function (list, pattern, options) {
|
|
|
990
1025
|
return list;
|
|
991
1026
|
};
|
|
992
1027
|
|
|
993
|
-
Minimatch.prototype.match = match
|
|
994
|
-
|
|
995
|
-
function match(f, partial) {
|
|
1028
|
+
Minimatch.prototype.match = function match(f, partial) {
|
|
1029
|
+
if (typeof partial === 'undefined') partial = this.partial;
|
|
996
1030
|
this.debug('match', f, this.pattern); // short-circuit in the case of busted things.
|
|
997
1031
|
// comments, etc.
|
|
998
1032
|
|
|
@@ -1043,7 +1077,7 @@ function match(f, partial) {
|
|
|
1043
1077
|
|
|
1044
1078
|
if (options.flipNegate) return false;
|
|
1045
1079
|
return this.negate;
|
|
1046
|
-
} // set partial to true to test if, for example,
|
|
1080
|
+
}; // set partial to true to test if, for example,
|
|
1047
1081
|
// "/a/b" matches the start of "/*/b/*/d"
|
|
1048
1082
|
// Partial means, if you run out of file before you run
|
|
1049
1083
|
// out of pattern, then that's fine, as long as all
|
|
@@ -1066,6 +1100,8 @@ Minimatch.prototype.matchOne = function (file, pattern, partial) {
|
|
|
1066
1100
|
this.debug(pattern, p, f); // should be impossible.
|
|
1067
1101
|
// some invalid regexp stuff in the set.
|
|
1068
1102
|
|
|
1103
|
+
/* istanbul ignore if */
|
|
1104
|
+
|
|
1069
1105
|
if (p === false) return false;
|
|
1070
1106
|
|
|
1071
1107
|
if (p === GLOBSTAR) {
|
|
@@ -1135,6 +1171,8 @@ Minimatch.prototype.matchOne = function (file, pattern, partial) {
|
|
|
1135
1171
|
// However, in partial mode, we can't say this is necessarily over.
|
|
1136
1172
|
// If there's more *pattern* left, then
|
|
1137
1173
|
|
|
1174
|
+
/* istanbul ignore if */
|
|
1175
|
+
|
|
1138
1176
|
|
|
1139
1177
|
if (partial) {
|
|
1140
1178
|
// ran out of file
|
|
@@ -1151,12 +1189,7 @@ Minimatch.prototype.matchOne = function (file, pattern, partial) {
|
|
|
1151
1189
|
var hit;
|
|
1152
1190
|
|
|
1153
1191
|
if (typeof p === 'string') {
|
|
1154
|
-
|
|
1155
|
-
hit = f.toLowerCase() === p.toLowerCase();
|
|
1156
|
-
} else {
|
|
1157
|
-
hit = f === p;
|
|
1158
|
-
}
|
|
1159
|
-
|
|
1192
|
+
hit = f === p;
|
|
1160
1193
|
this.debug('string match', p, f, hit);
|
|
1161
1194
|
} else {
|
|
1162
1195
|
hit = f.match(p);
|
|
@@ -1186,14 +1219,17 @@ Minimatch.prototype.matchOne = function (file, pattern, partial) {
|
|
|
1186
1219
|
// this is ok if we're doing the match as part of
|
|
1187
1220
|
// a glob fs traversal.
|
|
1188
1221
|
return partial;
|
|
1189
|
-
} else
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1222
|
+
} else
|
|
1223
|
+
/* istanbul ignore else */
|
|
1224
|
+
if (pi === pl) {
|
|
1225
|
+
// ran out of pattern, still have file left.
|
|
1226
|
+
// this is only acceptable if we're on the very last
|
|
1227
|
+
// empty segment of a file with a trailing slash.
|
|
1228
|
+
// a/* should match a/b/
|
|
1229
|
+
return fi === fl - 1 && file[fi] === '';
|
|
1230
|
+
} // should be unreachable.
|
|
1231
|
+
|
|
1232
|
+
/* istanbul ignore next */
|
|
1197
1233
|
|
|
1198
1234
|
|
|
1199
1235
|
throw new Error('wtf?');
|
|
@@ -1328,6 +1364,7 @@ exports.__asyncValues = __asyncValues;
|
|
|
1328
1364
|
exports.__await = __await;
|
|
1329
1365
|
exports.__awaiter = __awaiter;
|
|
1330
1366
|
exports.__classPrivateFieldGet = __classPrivateFieldGet;
|
|
1367
|
+
exports.__classPrivateFieldIn = __classPrivateFieldIn;
|
|
1331
1368
|
exports.__classPrivateFieldSet = __classPrivateFieldSet;
|
|
1332
1369
|
exports.__createBinding = void 0;
|
|
1333
1370
|
exports.__decorate = __decorate;
|
|
@@ -1350,7 +1387,7 @@ __webpack_require__(/*! core-js/modules/es.promise.js */ "../../node_modules/cor
|
|
|
1350
1387
|
|
|
1351
1388
|
__webpack_require__(/*! core-js/modules/es.symbol.description.js */ "../../node_modules/core-js/modules/es.symbol.description.js");
|
|
1352
1389
|
|
|
1353
|
-
|
|
1390
|
+
/******************************************************************************
|
|
1354
1391
|
Copyright (c) Microsoft Corporation.
|
|
1355
1392
|
|
|
1356
1393
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -1577,12 +1614,18 @@ function __generator(thisArg, body) {
|
|
|
1577
1614
|
|
|
1578
1615
|
var __createBinding = Object.create ? function (o, m, k, k2) {
|
|
1579
1616
|
if (k2 === undefined) k2 = k;
|
|
1580
|
-
Object.
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1617
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
1618
|
+
|
|
1619
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
1620
|
+
desc = {
|
|
1621
|
+
enumerable: true,
|
|
1622
|
+
get: function () {
|
|
1623
|
+
return m[k];
|
|
1624
|
+
}
|
|
1625
|
+
};
|
|
1626
|
+
}
|
|
1627
|
+
|
|
1628
|
+
Object.defineProperty(o, k2, desc);
|
|
1586
1629
|
} : function (o, m, k, k2) {
|
|
1587
1630
|
if (k2 === undefined) k2 = k;
|
|
1588
1631
|
o[k2] = m[k];
|
|
@@ -1806,6 +1849,11 @@ function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
|
1806
1849
|
return kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value), value;
|
|
1807
1850
|
}
|
|
1808
1851
|
|
|
1852
|
+
function __classPrivateFieldIn(state, receiver) {
|
|
1853
|
+
if (receiver === null || typeof receiver !== "object" && typeof receiver !== "function") throw new TypeError("Cannot use 'in' operator on non-object");
|
|
1854
|
+
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
1855
|
+
}
|
|
1856
|
+
|
|
1809
1857
|
/***/ }),
|
|
1810
1858
|
|
|
1811
1859
|
/***/ "../core/build/command.js":
|
|
@@ -1868,8 +1916,8 @@ class Command {
|
|
|
1868
1916
|
return {
|
|
1869
1917
|
command: this.params.cmd || this.params.name,
|
|
1870
1918
|
describe: this.params.description,
|
|
1871
|
-
handler: this.params.handler,
|
|
1872
|
-
builder: this.buildOptions
|
|
1919
|
+
handler: args => this.params.handler(args),
|
|
1920
|
+
builder: args => this.buildOptions(args)
|
|
1873
1921
|
};
|
|
1874
1922
|
}
|
|
1875
1923
|
|
|
@@ -2050,6 +2098,12 @@ exports.writeConfig = writeConfig;
|
|
|
2050
2098
|
|
|
2051
2099
|
__webpack_require__(/*! core-js/modules/es.promise.js */ "../../node_modules/core-js/modules/es.promise.js");
|
|
2052
2100
|
|
|
2101
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
2102
|
+
|
|
2103
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
2104
|
+
|
|
2105
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
2106
|
+
|
|
2053
2107
|
Object.defineProperty(exports, "__esModule", ({
|
|
2054
2108
|
value: true
|
|
2055
2109
|
}));
|
|
@@ -2109,7 +2163,7 @@ const exec = ({
|
|
|
2109
2163
|
onMessage,
|
|
2110
2164
|
onStdErr
|
|
2111
2165
|
}) => new Promise((resolve, reject) => {
|
|
2112
|
-
const cp = execa(cmd,
|
|
2166
|
+
const cp = execa(cmd, _objectSpread(_objectSpread({}, options), {}, {
|
|
2113
2167
|
maxBuffer: Infinity,
|
|
2114
2168
|
shell: true
|
|
2115
2169
|
}));
|
|
@@ -2427,12 +2481,18 @@ exports.PathUtil = PathUtil;
|
|
|
2427
2481
|
const GitUtil = __webpack_require__(/*! ./gitUtil */ "../core/build/gitUtil.js");
|
|
2428
2482
|
|
|
2429
2483
|
exports.GitUtil = GitUtil;
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2484
|
+
|
|
2485
|
+
tslib_1.__exportStar(__webpack_require__(/*! ./limiter */ "../core/build/limiter.js"), exports);
|
|
2486
|
+
|
|
2487
|
+
tslib_1.__exportStar(__webpack_require__(/*! ./typedEmitter */ "../core/build/typedEmitter.js"), exports);
|
|
2488
|
+
|
|
2489
|
+
tslib_1.__exportStar(__webpack_require__(/*! ./packageVersion */ "../core/build/packageVersion.js"), exports);
|
|
2490
|
+
|
|
2491
|
+
tslib_1.__exportStar(__webpack_require__(/*! ./config */ "../core/build/config.js"), exports);
|
|
2492
|
+
|
|
2493
|
+
tslib_1.__exportStar(__webpack_require__(/*! ./types/pjson */ "../core/build/types/pjson.js"), exports);
|
|
2494
|
+
|
|
2495
|
+
tslib_1.__exportStar(__webpack_require__(/*! ./workers */ "../core/build/workers/index.js"), exports);
|
|
2436
2496
|
|
|
2437
2497
|
var commandRegistry_1 = __webpack_require__(/*! ./commandRegistry */ "../core/build/commandRegistry.js");
|
|
2438
2498
|
|
|
@@ -2451,8 +2511,10 @@ Object.defineProperty(exports, "Command", ({
|
|
|
2451
2511
|
return command_1.Command;
|
|
2452
2512
|
}
|
|
2453
2513
|
}));
|
|
2454
|
-
|
|
2455
|
-
|
|
2514
|
+
|
|
2515
|
+
tslib_1.__exportStar(__webpack_require__(/*! ./toposort */ "../core/build/toposort.js"), exports);
|
|
2516
|
+
|
|
2517
|
+
tslib_1.__exportStar(__webpack_require__(/*! ./findLargest */ "../core/build/findLargest.js"), exports);
|
|
2456
2518
|
|
|
2457
2519
|
/***/ }),
|
|
2458
2520
|
|
|
@@ -2537,6 +2599,12 @@ exports.Limiter = Limiter;
|
|
|
2537
2599
|
"use strict";
|
|
2538
2600
|
|
|
2539
2601
|
|
|
2602
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
2603
|
+
|
|
2604
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
2605
|
+
|
|
2606
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
2607
|
+
|
|
2540
2608
|
Object.defineProperty(exports, "__esModule", ({
|
|
2541
2609
|
value: true
|
|
2542
2610
|
}));
|
|
@@ -2648,7 +2716,7 @@ class PackageVersion {
|
|
|
2648
2716
|
}
|
|
2649
2717
|
|
|
2650
2718
|
clone() {
|
|
2651
|
-
return new PackageVersion(this.major, this.minor, this.patch, this.preRelease ?
|
|
2719
|
+
return new PackageVersion(this.major, this.minor, this.patch, this.preRelease ? _objectSpread({}, this.preRelease) : undefined, this.buildNumber);
|
|
2652
2720
|
}
|
|
2653
2721
|
|
|
2654
2722
|
incrementMajor() {
|
|
@@ -3119,7 +3187,8 @@ class WorkMaster extends typedEmitter_1.TypedEmitter {
|
|
|
3119
3187
|
}
|
|
3120
3188
|
|
|
3121
3189
|
exports.WorkMaster = WorkMaster;
|
|
3122
|
-
|
|
3190
|
+
|
|
3191
|
+
tslib_1.__exportStar(__webpack_require__(/*! ./slave */ "../core/build/workers/slave.js"), exports);
|
|
3123
3192
|
|
|
3124
3193
|
/***/ }),
|
|
3125
3194
|
|
|
@@ -3234,9 +3303,9 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
3234
3303
|
|
|
3235
3304
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
3236
3305
|
|
|
3237
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
3306
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3238
3307
|
|
|
3239
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
3308
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
3240
3309
|
|
|
3241
3310
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
3242
3311
|
|
|
@@ -3258,6 +3327,10 @@ const buildFolders = async options => {
|
|
|
3258
3327
|
path: folderPath,
|
|
3259
3328
|
data: packageData
|
|
3260
3329
|
}] of sortedPackages) {
|
|
3330
|
+
if (options.skipPackagesWithoutTsFiles && (0, _tsc.findTypescriptFiles)(folderPath).length === 0) {
|
|
3331
|
+
continue;
|
|
3332
|
+
}
|
|
3333
|
+
|
|
3261
3334
|
ensureTsConfig(folderPath);
|
|
3262
3335
|
const data = (0, _packages.loadDataFromFolder)(folderPath);
|
|
3263
3336
|
|
|
@@ -3273,17 +3346,17 @@ const buildFolders = async options => {
|
|
|
3273
3346
|
const srcFilePath = path.join(options.outDir || folderPath, `${data.Package}.d.ts`);
|
|
3274
3347
|
|
|
3275
3348
|
if (fs.existsSync(srcFilePath)) {
|
|
3276
|
-
fs.mkdirSync("lib", {
|
|
3349
|
+
fs.mkdirSync(path.join(options.cwd, "lib"), {
|
|
3277
3350
|
recursive: true
|
|
3278
3351
|
});
|
|
3279
3352
|
logStep((0, _localization.translate)("messages.basicsCopy"));
|
|
3280
|
-
fs.copyFileSync(srcFilePath, path.join("lib", `${data.Package}.d.ts`));
|
|
3353
|
+
fs.copyFileSync(srcFilePath, path.join(options.cwd, "lib", `${data.Package}.d.ts`));
|
|
3281
3354
|
}
|
|
3282
3355
|
}
|
|
3283
3356
|
|
|
3284
3357
|
if (options.docs) {
|
|
3285
3358
|
logStep((0, _localization.translate)("messages.docsGeneration"));
|
|
3286
|
-
await (0, _docs.generateDocs)(folderPath, path.join(options.outDir || folderPath, `${data.Package}.d.ts`), path.join(
|
|
3359
|
+
await (0, _docs.generateDocs)(folderPath, path.join(options.outDir || folderPath, `${data.Package}.d.ts`), path.join(options.cwd, "docs", data.Package), data.Package);
|
|
3287
3360
|
} // logStep(translate("messages.built"));
|
|
3288
3361
|
|
|
3289
3362
|
|
|
@@ -3392,9 +3465,9 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
3392
3465
|
|
|
3393
3466
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
3394
3467
|
|
|
3395
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
3468
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3396
3469
|
|
|
3397
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
3470
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
3398
3471
|
|
|
3399
3472
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
3400
3473
|
|
|
@@ -3450,7 +3523,8 @@ const releaseFolder = async (folderPath, options) => {
|
|
|
3450
3523
|
if (!options.pushOnly) {
|
|
3451
3524
|
writeVersionFile(fullPackageName, newVersion);
|
|
3452
3525
|
await (0, _build.buildFolders)(_objectSpread(_objectSpread({}, options), {}, {
|
|
3453
|
-
directories: [folderPath]
|
|
3526
|
+
directories: [folderPath],
|
|
3527
|
+
skipPackagesWithoutTsFiles: true
|
|
3454
3528
|
}));
|
|
3455
3529
|
}
|
|
3456
3530
|
|
|
@@ -3740,7 +3814,7 @@ var path = _interopRequireWildcard(__webpack_require__(/*! path */ "path"));
|
|
|
3740
3814
|
|
|
3741
3815
|
var fs = _interopRequireWildcard(__webpack_require__(/*! fs-extra */ "fs-extra"));
|
|
3742
3816
|
|
|
3743
|
-
var
|
|
3817
|
+
var _jszip = _interopRequireDefault(__webpack_require__(/*! jszip */ "jszip"));
|
|
3744
3818
|
|
|
3745
3819
|
var terser = _interopRequireWildcard(__webpack_require__(/*! terser */ "terser"));
|
|
3746
3820
|
|
|
@@ -3748,9 +3822,13 @@ var _ajv = _interopRequireDefault(__webpack_require__(/*! ajv */ "ajv"));
|
|
|
3748
3822
|
|
|
3749
3823
|
var _axios = _interopRequireDefault(__webpack_require__(/*! axios */ "axios"));
|
|
3750
3824
|
|
|
3825
|
+
var stream = _interopRequireWildcard(__webpack_require__(/*! stream */ "stream"));
|
|
3826
|
+
|
|
3827
|
+
var _util = __webpack_require__(/*! util */ "util");
|
|
3828
|
+
|
|
3751
3829
|
var _igTools = __webpack_require__(/*! @intelligentgraphics/ig.tools.core */ "../core/build/index.js");
|
|
3752
3830
|
|
|
3753
|
-
var
|
|
3831
|
+
var _util2 = __webpack_require__(/*! ./util */ "./src/util.ts");
|
|
3754
3832
|
|
|
3755
3833
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
3756
3834
|
|
|
@@ -3758,12 +3836,13 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
3758
3836
|
|
|
3759
3837
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
3760
3838
|
|
|
3761
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
3839
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3762
3840
|
|
|
3763
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
3841
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
3764
3842
|
|
|
3765
3843
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
3766
3844
|
|
|
3845
|
+
const pipeline = (0, _util.promisify)(stream.pipeline);
|
|
3767
3846
|
const PLUGIN_ID = "0feba3a0-b6d1-11e6-9598-0800200c9a66";
|
|
3768
3847
|
const PACKAGE_FILE = "_Package.json";
|
|
3769
3848
|
const INDEX_FILE = "_Index.json";
|
|
@@ -3780,7 +3859,7 @@ const runtimeScripts = ["Interactor", "Core", "Mixed"];
|
|
|
3780
3859
|
const notRuntimeScripts = ["Context", "Evaluator"];
|
|
3781
3860
|
|
|
3782
3861
|
const executePackager = async options => {
|
|
3783
|
-
const logStep = step => (0,
|
|
3862
|
+
const logStep = step => (0, _util2.logPackageMessage)(`${options.domain}.${options.subdomain}`, step);
|
|
3784
3863
|
|
|
3785
3864
|
const packageName = `${options.domain}.${options.subdomain}_${options.version}`;
|
|
3786
3865
|
const binDir = path.join(options.cwd, "bin");
|
|
@@ -3913,13 +3992,7 @@ Packaging without a javascript file is only allowed when animation json files ar
|
|
|
3913
3992
|
fs.unlinkSync(zipFilePath);
|
|
3914
3993
|
} catch {}
|
|
3915
3994
|
|
|
3916
|
-
const
|
|
3917
|
-
const archive = (0, _archiver.default)("zip", {
|
|
3918
|
-
zlib: {
|
|
3919
|
-
level: 9
|
|
3920
|
-
}
|
|
3921
|
-
});
|
|
3922
|
-
archive.pipe(zipOutputStream);
|
|
3995
|
+
const archive = new _jszip.default();
|
|
3923
3996
|
let library = "";
|
|
3924
3997
|
|
|
3925
3998
|
if (libFile) {
|
|
@@ -3959,9 +4032,7 @@ Packaging without a javascript file is only allowed when animation json files ar
|
|
|
3959
4032
|
const minifyResult = terser.minify(library, {
|
|
3960
4033
|
ecma: 5
|
|
3961
4034
|
});
|
|
3962
|
-
archive.
|
|
3963
|
-
name: `${domain}.${subdomain}.js`
|
|
3964
|
-
});
|
|
4035
|
+
archive.file(`${domain}.${subdomain}.js`, minifyResult.code);
|
|
3965
4036
|
|
|
3966
4037
|
for (const directory of scriptDirectories) {
|
|
3967
4038
|
try {
|
|
@@ -3987,16 +4058,15 @@ Packaging without a javascript file is only allowed when animation json files ar
|
|
|
3987
4058
|
continue;
|
|
3988
4059
|
}
|
|
3989
4060
|
|
|
3990
|
-
archive.
|
|
3991
|
-
name: file
|
|
3992
|
-
});
|
|
4061
|
+
archive.file(file, fs.createReadStream(path.join(directory, file)));
|
|
3993
4062
|
}
|
|
3994
4063
|
} catch (err) {
|
|
3995
4064
|
console.error(`Script directory "${directory}" does not exist`);
|
|
3996
4065
|
}
|
|
3997
4066
|
}
|
|
3998
4067
|
|
|
3999
|
-
|
|
4068
|
+
const zipOutputStream = fs.createWriteStream(zipFilePath);
|
|
4069
|
+
await pipeline(archive.generateNodeStream(), zipOutputStream);
|
|
4000
4070
|
};
|
|
4001
4071
|
|
|
4002
4072
|
const uploadArchive = async ({
|
|
@@ -4176,7 +4246,7 @@ exports.loadDataFromFolder = loadDataFromFolder;
|
|
|
4176
4246
|
Object.defineProperty(exports, "__esModule", ({
|
|
4177
4247
|
value: true
|
|
4178
4248
|
}));
|
|
4179
|
-
exports.tryReadTsConfig = exports.build = void 0;
|
|
4249
|
+
exports.tryReadTsConfig = exports.findTypescriptFiles = exports.build = void 0;
|
|
4180
4250
|
|
|
4181
4251
|
__webpack_require__(/*! core-js/modules/es.promise.js */ "../../node_modules/core-js/modules/es.promise.js");
|
|
4182
4252
|
|
|
@@ -4194,9 +4264,9 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
4194
4264
|
|
|
4195
4265
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
4196
4266
|
|
|
4197
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
4267
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4198
4268
|
|
|
4199
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
4269
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4200
4270
|
|
|
4201
4271
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
4202
4272
|
|
|
@@ -4215,6 +4285,14 @@ const tryReadTsConfig = folderPath => {
|
|
|
4215
4285
|
|
|
4216
4286
|
exports.tryReadTsConfig = tryReadTsConfig;
|
|
4217
4287
|
|
|
4288
|
+
const findTypescriptFiles = folderPath => glob.sync("**/*.ts", {
|
|
4289
|
+
absolute: true,
|
|
4290
|
+
cwd: folderPath,
|
|
4291
|
+
ignore: "node_modules/**/*"
|
|
4292
|
+
});
|
|
4293
|
+
|
|
4294
|
+
exports.findTypescriptFiles = findTypescriptFiles;
|
|
4295
|
+
|
|
4218
4296
|
const build = async (folderPath, options) => {
|
|
4219
4297
|
const config = tryReadTsConfig(folderPath);
|
|
4220
4298
|
config.compilerOptions.lib = ["es5", "dom"];
|
|
@@ -4260,11 +4338,12 @@ ${data}`;
|
|
|
4260
4338
|
}
|
|
4261
4339
|
};
|
|
4262
4340
|
|
|
4263
|
-
const files =
|
|
4264
|
-
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
}
|
|
4341
|
+
const files = findTypescriptFiles(folderPath);
|
|
4342
|
+
|
|
4343
|
+
if (files.length === 0) {
|
|
4344
|
+
throw new Error(`Expected typescript files to exist when building a package. Packages only constisting of animation jsons do not need to be built.`);
|
|
4345
|
+
}
|
|
4346
|
+
|
|
4268
4347
|
const programOptions = {
|
|
4269
4348
|
rootNames: files,
|
|
4270
4349
|
options: compilerOptions,
|
|
@@ -4329,9 +4408,9 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
4329
4408
|
|
|
4330
4409
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
4331
4410
|
|
|
4332
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
4411
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4333
4412
|
|
|
4334
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
4413
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4335
4414
|
|
|
4336
4415
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
4337
4416
|
|
|
@@ -4446,16 +4525,15 @@ exports.parsePackageDomains = parsePackageDomains;
|
|
|
4446
4525
|
\**********************************************************/
|
|
4447
4526
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4448
4527
|
|
|
4449
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4450
4528
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
4451
4529
|
var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "../../node_modules/core-js/internals/try-to-string.js");
|
|
4452
4530
|
|
|
4453
|
-
var TypeError =
|
|
4531
|
+
var $TypeError = TypeError;
|
|
4454
4532
|
|
|
4455
4533
|
// `Assert: IsCallable(argument) is true`
|
|
4456
4534
|
module.exports = function (argument) {
|
|
4457
4535
|
if (isCallable(argument)) return argument;
|
|
4458
|
-
throw TypeError(tryToString(argument) + ' is not a function');
|
|
4536
|
+
throw $TypeError(tryToString(argument) + ' is not a function');
|
|
4459
4537
|
};
|
|
4460
4538
|
|
|
4461
4539
|
|
|
@@ -4467,16 +4545,15 @@ module.exports = function (argument) {
|
|
|
4467
4545
|
\*************************************************************/
|
|
4468
4546
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4469
4547
|
|
|
4470
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4471
4548
|
var isConstructor = __webpack_require__(/*! ../internals/is-constructor */ "../../node_modules/core-js/internals/is-constructor.js");
|
|
4472
4549
|
var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "../../node_modules/core-js/internals/try-to-string.js");
|
|
4473
4550
|
|
|
4474
|
-
var TypeError =
|
|
4551
|
+
var $TypeError = TypeError;
|
|
4475
4552
|
|
|
4476
4553
|
// `Assert: IsConstructor(argument) is true`
|
|
4477
4554
|
module.exports = function (argument) {
|
|
4478
4555
|
if (isConstructor(argument)) return argument;
|
|
4479
|
-
throw TypeError(tryToString(argument) + ' is not a constructor');
|
|
4556
|
+
throw $TypeError(tryToString(argument) + ' is not a constructor');
|
|
4480
4557
|
};
|
|
4481
4558
|
|
|
4482
4559
|
|
|
@@ -4488,15 +4565,14 @@ module.exports = function (argument) {
|
|
|
4488
4565
|
\********************************************************************/
|
|
4489
4566
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4490
4567
|
|
|
4491
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4492
4568
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
4493
4569
|
|
|
4494
|
-
var String =
|
|
4495
|
-
var TypeError =
|
|
4570
|
+
var $String = String;
|
|
4571
|
+
var $TypeError = TypeError;
|
|
4496
4572
|
|
|
4497
4573
|
module.exports = function (argument) {
|
|
4498
4574
|
if (typeof argument == 'object' || isCallable(argument)) return argument;
|
|
4499
|
-
throw TypeError("Can't set " + String(argument) + ' as a prototype');
|
|
4575
|
+
throw $TypeError("Can't set " + $String(argument) + ' as a prototype');
|
|
4500
4576
|
};
|
|
4501
4577
|
|
|
4502
4578
|
|
|
@@ -4508,14 +4584,13 @@ module.exports = function (argument) {
|
|
|
4508
4584
|
\***********************************************************/
|
|
4509
4585
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4510
4586
|
|
|
4511
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4512
4587
|
var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../../node_modules/core-js/internals/object-is-prototype-of.js");
|
|
4513
4588
|
|
|
4514
|
-
var TypeError =
|
|
4589
|
+
var $TypeError = TypeError;
|
|
4515
4590
|
|
|
4516
4591
|
module.exports = function (it, Prototype) {
|
|
4517
4592
|
if (isPrototypeOf(Prototype, it)) return it;
|
|
4518
|
-
throw TypeError('Incorrect invocation');
|
|
4593
|
+
throw $TypeError('Incorrect invocation');
|
|
4519
4594
|
};
|
|
4520
4595
|
|
|
4521
4596
|
|
|
@@ -4527,16 +4602,15 @@ module.exports = function (it, Prototype) {
|
|
|
4527
4602
|
\*********************************************************/
|
|
4528
4603
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4529
4604
|
|
|
4530
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4531
4605
|
var isObject = __webpack_require__(/*! ../internals/is-object */ "../../node_modules/core-js/internals/is-object.js");
|
|
4532
4606
|
|
|
4533
|
-
var String =
|
|
4534
|
-
var TypeError =
|
|
4607
|
+
var $String = String;
|
|
4608
|
+
var $TypeError = TypeError;
|
|
4535
4609
|
|
|
4536
4610
|
// `Assert: Type(argument) is Object`
|
|
4537
4611
|
module.exports = function (argument) {
|
|
4538
4612
|
if (isObject(argument)) return argument;
|
|
4539
|
-
throw TypeError(String(argument) + ' is not an object');
|
|
4613
|
+
throw $TypeError($String(argument) + ' is not an object');
|
|
4540
4614
|
};
|
|
4541
4615
|
|
|
4542
4616
|
|
|
@@ -4621,7 +4695,7 @@ try {
|
|
|
4621
4695
|
iteratorWithReturn[ITERATOR] = function () {
|
|
4622
4696
|
return this;
|
|
4623
4697
|
};
|
|
4624
|
-
// eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing
|
|
4698
|
+
// eslint-disable-next-line es-x/no-array-from, no-throw-literal -- required for testing
|
|
4625
4699
|
Array.from(iteratorWithReturn, function () { throw 2; });
|
|
4626
4700
|
} catch (error) { /* empty */ }
|
|
4627
4701
|
|
|
@@ -4669,14 +4743,13 @@ module.exports = function (it) {
|
|
|
4669
4743
|
\*******************************************************/
|
|
4670
4744
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4671
4745
|
|
|
4672
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4673
4746
|
var TO_STRING_TAG_SUPPORT = __webpack_require__(/*! ../internals/to-string-tag-support */ "../../node_modules/core-js/internals/to-string-tag-support.js");
|
|
4674
4747
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
4675
4748
|
var classofRaw = __webpack_require__(/*! ../internals/classof-raw */ "../../node_modules/core-js/internals/classof-raw.js");
|
|
4676
4749
|
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../../node_modules/core-js/internals/well-known-symbol.js");
|
|
4677
4750
|
|
|
4678
4751
|
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
4679
|
-
var Object =
|
|
4752
|
+
var $Object = Object;
|
|
4680
4753
|
|
|
4681
4754
|
// ES3 wrong here
|
|
4682
4755
|
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
|
|
@@ -4693,7 +4766,7 @@ module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
|
4693
4766
|
var O, tag, result;
|
|
4694
4767
|
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
4695
4768
|
// @@toStringTag case
|
|
4696
|
-
: typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag
|
|
4769
|
+
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
|
|
4697
4770
|
// builtinTag case
|
|
4698
4771
|
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
4699
4772
|
// ES3 arguments fallback
|
|
@@ -4714,13 +4787,15 @@ var ownKeys = __webpack_require__(/*! ../internals/own-keys */ "../../node_modul
|
|
|
4714
4787
|
var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "../../node_modules/core-js/internals/object-get-own-property-descriptor.js");
|
|
4715
4788
|
var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../../node_modules/core-js/internals/object-define-property.js");
|
|
4716
4789
|
|
|
4717
|
-
module.exports = function (target, source) {
|
|
4790
|
+
module.exports = function (target, source, exceptions) {
|
|
4718
4791
|
var keys = ownKeys(source);
|
|
4719
4792
|
var defineProperty = definePropertyModule.f;
|
|
4720
4793
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
4721
4794
|
for (var i = 0; i < keys.length; i++) {
|
|
4722
4795
|
var key = keys[i];
|
|
4723
|
-
if (!hasOwn(target, key)
|
|
4796
|
+
if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
|
|
4797
|
+
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
4798
|
+
}
|
|
4724
4799
|
}
|
|
4725
4800
|
};
|
|
4726
4801
|
|
|
@@ -4763,6 +4838,63 @@ module.exports = function (bitmap, value) {
|
|
|
4763
4838
|
};
|
|
4764
4839
|
|
|
4765
4840
|
|
|
4841
|
+
/***/ }),
|
|
4842
|
+
|
|
4843
|
+
/***/ "../../node_modules/core-js/internals/define-built-in.js":
|
|
4844
|
+
/*!***************************************************************!*\
|
|
4845
|
+
!*** ../../node_modules/core-js/internals/define-built-in.js ***!
|
|
4846
|
+
\***************************************************************/
|
|
4847
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4848
|
+
|
|
4849
|
+
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
4850
|
+
var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../../node_modules/core-js/internals/object-define-property.js");
|
|
4851
|
+
var makeBuiltIn = __webpack_require__(/*! ../internals/make-built-in */ "../../node_modules/core-js/internals/make-built-in.js");
|
|
4852
|
+
var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../../node_modules/core-js/internals/define-global-property.js");
|
|
4853
|
+
|
|
4854
|
+
module.exports = function (O, key, value, options) {
|
|
4855
|
+
if (!options) options = {};
|
|
4856
|
+
var simple = options.enumerable;
|
|
4857
|
+
var name = options.name !== undefined ? options.name : key;
|
|
4858
|
+
if (isCallable(value)) makeBuiltIn(value, name, options);
|
|
4859
|
+
if (options.global) {
|
|
4860
|
+
if (simple) O[key] = value;
|
|
4861
|
+
else defineGlobalProperty(key, value);
|
|
4862
|
+
} else {
|
|
4863
|
+
if (!options.unsafe) delete O[key];
|
|
4864
|
+
else if (O[key]) simple = true;
|
|
4865
|
+
if (simple) O[key] = value;
|
|
4866
|
+
else definePropertyModule.f(O, key, {
|
|
4867
|
+
value: value,
|
|
4868
|
+
enumerable: false,
|
|
4869
|
+
configurable: !options.nonConfigurable,
|
|
4870
|
+
writable: !options.nonWritable
|
|
4871
|
+
});
|
|
4872
|
+
} return O;
|
|
4873
|
+
};
|
|
4874
|
+
|
|
4875
|
+
|
|
4876
|
+
/***/ }),
|
|
4877
|
+
|
|
4878
|
+
/***/ "../../node_modules/core-js/internals/define-global-property.js":
|
|
4879
|
+
/*!**********************************************************************!*\
|
|
4880
|
+
!*** ../../node_modules/core-js/internals/define-global-property.js ***!
|
|
4881
|
+
\**********************************************************************/
|
|
4882
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4883
|
+
|
|
4884
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4885
|
+
|
|
4886
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
4887
|
+
var defineProperty = Object.defineProperty;
|
|
4888
|
+
|
|
4889
|
+
module.exports = function (key, value) {
|
|
4890
|
+
try {
|
|
4891
|
+
defineProperty(global, key, { value: value, configurable: true, writable: true });
|
|
4892
|
+
} catch (error) {
|
|
4893
|
+
global[key] = value;
|
|
4894
|
+
} return value;
|
|
4895
|
+
};
|
|
4896
|
+
|
|
4897
|
+
|
|
4766
4898
|
/***/ }),
|
|
4767
4899
|
|
|
4768
4900
|
/***/ "../../node_modules/core-js/internals/descriptors.js":
|
|
@@ -4775,7 +4907,7 @@ var fails = __webpack_require__(/*! ../internals/fails */ "../../node_modules/co
|
|
|
4775
4907
|
|
|
4776
4908
|
// Detect IE8's incomplete defineProperty implementation
|
|
4777
4909
|
module.exports = !fails(function () {
|
|
4778
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
4910
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
4779
4911
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
4780
4912
|
});
|
|
4781
4913
|
|
|
@@ -4808,7 +4940,7 @@ module.exports = function (it) {
|
|
|
4808
4940
|
\*****************************************************************/
|
|
4809
4941
|
/***/ ((module) => {
|
|
4810
4942
|
|
|
4811
|
-
module.exports = typeof window == 'object';
|
|
4943
|
+
module.exports = typeof window == 'object' && typeof Deno != 'object';
|
|
4812
4944
|
|
|
4813
4945
|
|
|
4814
4946
|
/***/ }),
|
|
@@ -4946,25 +5078,25 @@ module.exports = [
|
|
|
4946
5078
|
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4947
5079
|
var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "../../node_modules/core-js/internals/object-get-own-property-descriptor.js").f);
|
|
4948
5080
|
var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../../node_modules/core-js/internals/create-non-enumerable-property.js");
|
|
4949
|
-
var
|
|
4950
|
-
var
|
|
5081
|
+
var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "../../node_modules/core-js/internals/define-built-in.js");
|
|
5082
|
+
var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../../node_modules/core-js/internals/define-global-property.js");
|
|
4951
5083
|
var copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ "../../node_modules/core-js/internals/copy-constructor-properties.js");
|
|
4952
5084
|
var isForced = __webpack_require__(/*! ../internals/is-forced */ "../../node_modules/core-js/internals/is-forced.js");
|
|
4953
5085
|
|
|
4954
5086
|
/*
|
|
4955
|
-
options.target
|
|
4956
|
-
options.global
|
|
4957
|
-
options.stat
|
|
4958
|
-
options.proto
|
|
4959
|
-
options.real
|
|
4960
|
-
options.forced
|
|
4961
|
-
options.bind
|
|
4962
|
-
options.wrap
|
|
4963
|
-
options.unsafe
|
|
4964
|
-
options.sham
|
|
4965
|
-
options.enumerable
|
|
4966
|
-
options.
|
|
4967
|
-
options.name
|
|
5087
|
+
options.target - name of the target object
|
|
5088
|
+
options.global - target is the global object
|
|
5089
|
+
options.stat - export as static methods of target
|
|
5090
|
+
options.proto - export as prototype methods of target
|
|
5091
|
+
options.real - real prototype method for the `pure` version
|
|
5092
|
+
options.forced - export even if the native feature is available
|
|
5093
|
+
options.bind - bind methods to the target, required for the `pure` version
|
|
5094
|
+
options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
|
|
5095
|
+
options.unsafe - use the simple assignment of property instead of delete + defineProperty
|
|
5096
|
+
options.sham - add a flag to not completely full polyfills
|
|
5097
|
+
options.enumerable - export as enumerable property
|
|
5098
|
+
options.dontCallGetSet - prevent calling a getter on target
|
|
5099
|
+
options.name - the .name of the function if it does not match the key
|
|
4968
5100
|
*/
|
|
4969
5101
|
module.exports = function (options, source) {
|
|
4970
5102
|
var TARGET = options.target;
|
|
@@ -4974,13 +5106,13 @@ module.exports = function (options, source) {
|
|
|
4974
5106
|
if (GLOBAL) {
|
|
4975
5107
|
target = global;
|
|
4976
5108
|
} else if (STATIC) {
|
|
4977
|
-
target = global[TARGET] ||
|
|
5109
|
+
target = global[TARGET] || defineGlobalProperty(TARGET, {});
|
|
4978
5110
|
} else {
|
|
4979
5111
|
target = (global[TARGET] || {}).prototype;
|
|
4980
5112
|
}
|
|
4981
5113
|
if (target) for (key in source) {
|
|
4982
5114
|
sourceProperty = source[key];
|
|
4983
|
-
if (options.
|
|
5115
|
+
if (options.dontCallGetSet) {
|
|
4984
5116
|
descriptor = getOwnPropertyDescriptor(target, key);
|
|
4985
5117
|
targetProperty = descriptor && descriptor.value;
|
|
4986
5118
|
} else targetProperty = target[key];
|
|
@@ -4994,8 +5126,7 @@ module.exports = function (options, source) {
|
|
|
4994
5126
|
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
4995
5127
|
createNonEnumerableProperty(sourceProperty, 'sham', true);
|
|
4996
5128
|
}
|
|
4997
|
-
|
|
4998
|
-
redefine(target, key, sourceProperty, options);
|
|
5129
|
+
defineBuiltIn(target, key, sourceProperty, options);
|
|
4999
5130
|
}
|
|
5000
5131
|
};
|
|
5001
5132
|
|
|
@@ -5023,15 +5154,16 @@ module.exports = function (exec) {
|
|
|
5023
5154
|
/*!**************************************************************!*\
|
|
5024
5155
|
!*** ../../node_modules/core-js/internals/function-apply.js ***!
|
|
5025
5156
|
\**************************************************************/
|
|
5026
|
-
/***/ ((module) => {
|
|
5157
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5158
|
+
|
|
5159
|
+
var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../../node_modules/core-js/internals/function-bind-native.js");
|
|
5027
5160
|
|
|
5028
5161
|
var FunctionPrototype = Function.prototype;
|
|
5029
5162
|
var apply = FunctionPrototype.apply;
|
|
5030
|
-
var bind = FunctionPrototype.bind;
|
|
5031
5163
|
var call = FunctionPrototype.call;
|
|
5032
5164
|
|
|
5033
|
-
// eslint-disable-next-line es/no-reflect -- safe
|
|
5034
|
-
module.exports = typeof Reflect == 'object' && Reflect.apply || (
|
|
5165
|
+
// eslint-disable-next-line es-x/no-reflect -- safe
|
|
5166
|
+
module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {
|
|
5035
5167
|
return call.apply(apply, arguments);
|
|
5036
5168
|
});
|
|
5037
5169
|
|
|
@@ -5046,29 +5178,50 @@ module.exports = typeof Reflect == 'object' && Reflect.apply || (bind ? call.bin
|
|
|
5046
5178
|
|
|
5047
5179
|
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../../node_modules/core-js/internals/function-uncurry-this.js");
|
|
5048
5180
|
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../../node_modules/core-js/internals/a-callable.js");
|
|
5181
|
+
var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../../node_modules/core-js/internals/function-bind-native.js");
|
|
5049
5182
|
|
|
5050
5183
|
var bind = uncurryThis(uncurryThis.bind);
|
|
5051
5184
|
|
|
5052
5185
|
// optional / simple context binding
|
|
5053
5186
|
module.exports = function (fn, that) {
|
|
5054
5187
|
aCallable(fn);
|
|
5055
|
-
return that === undefined ? fn :
|
|
5188
|
+
return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {
|
|
5056
5189
|
return fn.apply(that, arguments);
|
|
5057
5190
|
};
|
|
5058
5191
|
};
|
|
5059
5192
|
|
|
5060
5193
|
|
|
5194
|
+
/***/ }),
|
|
5195
|
+
|
|
5196
|
+
/***/ "../../node_modules/core-js/internals/function-bind-native.js":
|
|
5197
|
+
/*!********************************************************************!*\
|
|
5198
|
+
!*** ../../node_modules/core-js/internals/function-bind-native.js ***!
|
|
5199
|
+
\********************************************************************/
|
|
5200
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5201
|
+
|
|
5202
|
+
var fails = __webpack_require__(/*! ../internals/fails */ "../../node_modules/core-js/internals/fails.js");
|
|
5203
|
+
|
|
5204
|
+
module.exports = !fails(function () {
|
|
5205
|
+
// eslint-disable-next-line es-x/no-function-prototype-bind -- safe
|
|
5206
|
+
var test = (function () { /* empty */ }).bind();
|
|
5207
|
+
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
5208
|
+
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
5209
|
+
});
|
|
5210
|
+
|
|
5211
|
+
|
|
5061
5212
|
/***/ }),
|
|
5062
5213
|
|
|
5063
5214
|
/***/ "../../node_modules/core-js/internals/function-call.js":
|
|
5064
5215
|
/*!*************************************************************!*\
|
|
5065
5216
|
!*** ../../node_modules/core-js/internals/function-call.js ***!
|
|
5066
5217
|
\*************************************************************/
|
|
5067
|
-
/***/ ((module) => {
|
|
5218
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5219
|
+
|
|
5220
|
+
var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../../node_modules/core-js/internals/function-bind-native.js");
|
|
5068
5221
|
|
|
5069
5222
|
var call = Function.prototype.call;
|
|
5070
5223
|
|
|
5071
|
-
module.exports =
|
|
5224
|
+
module.exports = NATIVE_BIND ? call.bind(call) : function () {
|
|
5072
5225
|
return call.apply(call, arguments);
|
|
5073
5226
|
};
|
|
5074
5227
|
|
|
@@ -5085,7 +5238,7 @@ var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../../nod
|
|
|
5085
5238
|
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../../node_modules/core-js/internals/has-own-property.js");
|
|
5086
5239
|
|
|
5087
5240
|
var FunctionPrototype = Function.prototype;
|
|
5088
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
5241
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
5089
5242
|
var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
|
|
5090
5243
|
|
|
5091
5244
|
var EXISTS = hasOwn(FunctionPrototype, 'name');
|
|
@@ -5106,15 +5259,17 @@ module.exports = {
|
|
|
5106
5259
|
/*!*********************************************************************!*\
|
|
5107
5260
|
!*** ../../node_modules/core-js/internals/function-uncurry-this.js ***!
|
|
5108
5261
|
\*********************************************************************/
|
|
5109
|
-
/***/ ((module) => {
|
|
5262
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5263
|
+
|
|
5264
|
+
var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../../node_modules/core-js/internals/function-bind-native.js");
|
|
5110
5265
|
|
|
5111
5266
|
var FunctionPrototype = Function.prototype;
|
|
5112
5267
|
var bind = FunctionPrototype.bind;
|
|
5113
5268
|
var call = FunctionPrototype.call;
|
|
5114
|
-
var
|
|
5269
|
+
var uncurryThis = NATIVE_BIND && bind.bind(call, call);
|
|
5115
5270
|
|
|
5116
|
-
module.exports =
|
|
5117
|
-
return fn &&
|
|
5271
|
+
module.exports = NATIVE_BIND ? function (fn) {
|
|
5272
|
+
return fn && uncurryThis(fn);
|
|
5118
5273
|
} : function (fn) {
|
|
5119
5274
|
return fn && function () {
|
|
5120
5275
|
return call.apply(fn, arguments);
|
|
@@ -5172,19 +5327,18 @@ module.exports = function (it) {
|
|
|
5172
5327
|
\************************************************************/
|
|
5173
5328
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5174
5329
|
|
|
5175
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
5176
5330
|
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
5177
5331
|
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../../node_modules/core-js/internals/a-callable.js");
|
|
5178
5332
|
var anObject = __webpack_require__(/*! ../internals/an-object */ "../../node_modules/core-js/internals/an-object.js");
|
|
5179
5333
|
var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "../../node_modules/core-js/internals/try-to-string.js");
|
|
5180
5334
|
var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ "../../node_modules/core-js/internals/get-iterator-method.js");
|
|
5181
5335
|
|
|
5182
|
-
var TypeError =
|
|
5336
|
+
var $TypeError = TypeError;
|
|
5183
5337
|
|
|
5184
5338
|
module.exports = function (argument, usingIterator) {
|
|
5185
5339
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;
|
|
5186
5340
|
if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));
|
|
5187
|
-
throw TypeError(tryToString(argument) + ' is not iterable');
|
|
5341
|
+
throw $TypeError(tryToString(argument) + ' is not iterable');
|
|
5188
5342
|
};
|
|
5189
5343
|
|
|
5190
5344
|
|
|
@@ -5220,7 +5374,7 @@ var check = function (it) {
|
|
|
5220
5374
|
|
|
5221
5375
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
5222
5376
|
module.exports =
|
|
5223
|
-
// eslint-disable-next-line es/no-global-this -- safe
|
|
5377
|
+
// eslint-disable-next-line es-x/no-global-this -- safe
|
|
5224
5378
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
5225
5379
|
check(typeof window == 'object' && window) ||
|
|
5226
5380
|
// eslint-disable-next-line no-restricted-globals -- safe
|
|
@@ -5245,6 +5399,7 @@ var hasOwnProperty = uncurryThis({}.hasOwnProperty);
|
|
|
5245
5399
|
|
|
5246
5400
|
// `HasOwnProperty` abstract operation
|
|
5247
5401
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
5402
|
+
// eslint-disable-next-line es-x/no-object-hasown -- safe
|
|
5248
5403
|
module.exports = Object.hasOwn || function hasOwn(it, key) {
|
|
5249
5404
|
return hasOwnProperty(toObject(it), key);
|
|
5250
5405
|
};
|
|
@@ -5304,9 +5459,9 @@ var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../../nod
|
|
|
5304
5459
|
var fails = __webpack_require__(/*! ../internals/fails */ "../../node_modules/core-js/internals/fails.js");
|
|
5305
5460
|
var createElement = __webpack_require__(/*! ../internals/document-create-element */ "../../node_modules/core-js/internals/document-create-element.js");
|
|
5306
5461
|
|
|
5307
|
-
//
|
|
5462
|
+
// Thanks to IE8 for its funny defineProperty
|
|
5308
5463
|
module.exports = !DESCRIPTORS && !fails(function () {
|
|
5309
|
-
// eslint-disable-next-line es/no-object-defineproperty --
|
|
5464
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
5310
5465
|
return Object.defineProperty(createElement('div'), 'a', {
|
|
5311
5466
|
get: function () { return 7; }
|
|
5312
5467
|
}).a != 7;
|
|
@@ -5321,22 +5476,21 @@ module.exports = !DESCRIPTORS && !fails(function () {
|
|
|
5321
5476
|
\**************************************************************/
|
|
5322
5477
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5323
5478
|
|
|
5324
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
5325
5479
|
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../../node_modules/core-js/internals/function-uncurry-this.js");
|
|
5326
5480
|
var fails = __webpack_require__(/*! ../internals/fails */ "../../node_modules/core-js/internals/fails.js");
|
|
5327
5481
|
var classof = __webpack_require__(/*! ../internals/classof-raw */ "../../node_modules/core-js/internals/classof-raw.js");
|
|
5328
5482
|
|
|
5329
|
-
var Object =
|
|
5483
|
+
var $Object = Object;
|
|
5330
5484
|
var split = uncurryThis(''.split);
|
|
5331
5485
|
|
|
5332
5486
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
5333
5487
|
module.exports = fails(function () {
|
|
5334
5488
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
5335
5489
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
5336
|
-
return
|
|
5490
|
+
return !$Object('z').propertyIsEnumerable(0);
|
|
5337
5491
|
}) ? function (it) {
|
|
5338
|
-
return classof(it) == 'String' ? split(it, '') : Object(it);
|
|
5339
|
-
} : Object;
|
|
5492
|
+
return classof(it) == 'String' ? split(it, '') : $Object(it);
|
|
5493
|
+
} : $Object;
|
|
5340
5494
|
|
|
5341
5495
|
|
|
5342
5496
|
/***/ }),
|
|
@@ -5499,7 +5653,7 @@ var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
|
5499
5653
|
var exec = uncurryThis(constructorRegExp.exec);
|
|
5500
5654
|
var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
|
|
5501
5655
|
|
|
5502
|
-
var isConstructorModern = function (argument) {
|
|
5656
|
+
var isConstructorModern = function isConstructor(argument) {
|
|
5503
5657
|
if (!isCallable(argument)) return false;
|
|
5504
5658
|
try {
|
|
5505
5659
|
construct(noop, empty, argument);
|
|
@@ -5509,16 +5663,25 @@ var isConstructorModern = function (argument) {
|
|
|
5509
5663
|
}
|
|
5510
5664
|
};
|
|
5511
5665
|
|
|
5512
|
-
var isConstructorLegacy = function (argument) {
|
|
5666
|
+
var isConstructorLegacy = function isConstructor(argument) {
|
|
5513
5667
|
if (!isCallable(argument)) return false;
|
|
5514
5668
|
switch (classof(argument)) {
|
|
5515
5669
|
case 'AsyncFunction':
|
|
5516
5670
|
case 'GeneratorFunction':
|
|
5517
5671
|
case 'AsyncGeneratorFunction': return false;
|
|
5672
|
+
}
|
|
5673
|
+
try {
|
|
5518
5674
|
// we can't check .prototype since constructors produced by .bind haven't it
|
|
5519
|
-
|
|
5675
|
+
// `Function#toString` throws on some built-it function in some legacy engines
|
|
5676
|
+
// (for example, `DOMQuad` and similar in FF41-)
|
|
5677
|
+
return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
|
|
5678
|
+
} catch (error) {
|
|
5679
|
+
return true;
|
|
5680
|
+
}
|
|
5520
5681
|
};
|
|
5521
5682
|
|
|
5683
|
+
isConstructorLegacy.sham = true;
|
|
5684
|
+
|
|
5522
5685
|
// `IsConstructor` abstract operation
|
|
5523
5686
|
// https://tc39.es/ecma262/#sec-isconstructor
|
|
5524
5687
|
module.exports = !construct || fails(function () {
|
|
@@ -5596,19 +5759,18 @@ module.exports = false;
|
|
|
5596
5759
|
\*********************************************************/
|
|
5597
5760
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5598
5761
|
|
|
5599
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
5600
5762
|
var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../../node_modules/core-js/internals/get-built-in.js");
|
|
5601
5763
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
5602
5764
|
var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../../node_modules/core-js/internals/object-is-prototype-of.js");
|
|
5603
5765
|
var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "../../node_modules/core-js/internals/use-symbol-as-uid.js");
|
|
5604
5766
|
|
|
5605
|
-
var Object =
|
|
5767
|
+
var $Object = Object;
|
|
5606
5768
|
|
|
5607
5769
|
module.exports = USE_SYMBOL_AS_UID ? function (it) {
|
|
5608
5770
|
return typeof it == 'symbol';
|
|
5609
5771
|
} : function (it) {
|
|
5610
5772
|
var $Symbol = getBuiltIn('Symbol');
|
|
5611
|
-
return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, Object(it));
|
|
5773
|
+
return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));
|
|
5612
5774
|
};
|
|
5613
5775
|
|
|
5614
5776
|
|
|
@@ -5620,7 +5782,6 @@ module.exports = USE_SYMBOL_AS_UID ? function (it) {
|
|
|
5620
5782
|
\*******************************************************/
|
|
5621
5783
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5622
5784
|
|
|
5623
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
5624
5785
|
var bind = __webpack_require__(/*! ../internals/function-bind-context */ "../../node_modules/core-js/internals/function-bind-context.js");
|
|
5625
5786
|
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
5626
5787
|
var anObject = __webpack_require__(/*! ../internals/an-object */ "../../node_modules/core-js/internals/an-object.js");
|
|
@@ -5632,7 +5793,7 @@ var getIterator = __webpack_require__(/*! ../internals/get-iterator */ "../../no
|
|
|
5632
5793
|
var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ "../../node_modules/core-js/internals/get-iterator-method.js");
|
|
5633
5794
|
var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../../node_modules/core-js/internals/iterator-close.js");
|
|
5634
5795
|
|
|
5635
|
-
var TypeError =
|
|
5796
|
+
var $TypeError = TypeError;
|
|
5636
5797
|
|
|
5637
5798
|
var Result = function (stopped, result) {
|
|
5638
5799
|
this.stopped = stopped;
|
|
@@ -5665,7 +5826,7 @@ module.exports = function (iterable, unboundFunction, options) {
|
|
|
5665
5826
|
iterator = iterable;
|
|
5666
5827
|
} else {
|
|
5667
5828
|
iterFn = getIteratorMethod(iterable);
|
|
5668
|
-
if (!iterFn) throw TypeError(tryToString(iterable) + ' is not iterable');
|
|
5829
|
+
if (!iterFn) throw $TypeError(tryToString(iterable) + ' is not iterable');
|
|
5669
5830
|
// optimisation for array iterators
|
|
5670
5831
|
if (isArrayIteratorMethod(iterFn)) {
|
|
5671
5832
|
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
|
|
@@ -5749,6 +5910,84 @@ module.exports = function (obj) {
|
|
|
5749
5910
|
};
|
|
5750
5911
|
|
|
5751
5912
|
|
|
5913
|
+
/***/ }),
|
|
5914
|
+
|
|
5915
|
+
/***/ "../../node_modules/core-js/internals/make-built-in.js":
|
|
5916
|
+
/*!*************************************************************!*\
|
|
5917
|
+
!*** ../../node_modules/core-js/internals/make-built-in.js ***!
|
|
5918
|
+
\*************************************************************/
|
|
5919
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5920
|
+
|
|
5921
|
+
var fails = __webpack_require__(/*! ../internals/fails */ "../../node_modules/core-js/internals/fails.js");
|
|
5922
|
+
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
5923
|
+
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../../node_modules/core-js/internals/has-own-property.js");
|
|
5924
|
+
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../../node_modules/core-js/internals/descriptors.js");
|
|
5925
|
+
var CONFIGURABLE_FUNCTION_NAME = (__webpack_require__(/*! ../internals/function-name */ "../../node_modules/core-js/internals/function-name.js").CONFIGURABLE);
|
|
5926
|
+
var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ "../../node_modules/core-js/internals/inspect-source.js");
|
|
5927
|
+
var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "../../node_modules/core-js/internals/internal-state.js");
|
|
5928
|
+
|
|
5929
|
+
var enforceInternalState = InternalStateModule.enforce;
|
|
5930
|
+
var getInternalState = InternalStateModule.get;
|
|
5931
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
5932
|
+
var defineProperty = Object.defineProperty;
|
|
5933
|
+
|
|
5934
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {
|
|
5935
|
+
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
5936
|
+
});
|
|
5937
|
+
|
|
5938
|
+
var TEMPLATE = String(String).split('String');
|
|
5939
|
+
|
|
5940
|
+
var makeBuiltIn = module.exports = function (value, name, options) {
|
|
5941
|
+
if (String(name).slice(0, 7) === 'Symbol(') {
|
|
5942
|
+
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
5943
|
+
}
|
|
5944
|
+
if (options && options.getter) name = 'get ' + name;
|
|
5945
|
+
if (options && options.setter) name = 'set ' + name;
|
|
5946
|
+
if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
|
5947
|
+
defineProperty(value, 'name', { value: name, configurable: true });
|
|
5948
|
+
}
|
|
5949
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {
|
|
5950
|
+
defineProperty(value, 'length', { value: options.arity });
|
|
5951
|
+
}
|
|
5952
|
+
try {
|
|
5953
|
+
if (options && hasOwn(options, 'constructor') && options.constructor) {
|
|
5954
|
+
if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });
|
|
5955
|
+
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
5956
|
+
} else if (value.prototype) value.prototype = undefined;
|
|
5957
|
+
} catch (error) { /* empty */ }
|
|
5958
|
+
var state = enforceInternalState(value);
|
|
5959
|
+
if (!hasOwn(state, 'source')) {
|
|
5960
|
+
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
5961
|
+
} return value;
|
|
5962
|
+
};
|
|
5963
|
+
|
|
5964
|
+
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
5965
|
+
// eslint-disable-next-line no-extend-native -- required
|
|
5966
|
+
Function.prototype.toString = makeBuiltIn(function toString() {
|
|
5967
|
+
return isCallable(this) && getInternalState(this).source || inspectSource(this);
|
|
5968
|
+
}, 'toString');
|
|
5969
|
+
|
|
5970
|
+
|
|
5971
|
+
/***/ }),
|
|
5972
|
+
|
|
5973
|
+
/***/ "../../node_modules/core-js/internals/math-trunc.js":
|
|
5974
|
+
/*!**********************************************************!*\
|
|
5975
|
+
!*** ../../node_modules/core-js/internals/math-trunc.js ***!
|
|
5976
|
+
\**********************************************************/
|
|
5977
|
+
/***/ ((module) => {
|
|
5978
|
+
|
|
5979
|
+
var ceil = Math.ceil;
|
|
5980
|
+
var floor = Math.floor;
|
|
5981
|
+
|
|
5982
|
+
// `Math.trunc` method
|
|
5983
|
+
// https://tc39.es/ecma262/#sec-math.trunc
|
|
5984
|
+
// eslint-disable-next-line es-x/no-math-trunc -- safe
|
|
5985
|
+
module.exports = Math.trunc || function trunc(x) {
|
|
5986
|
+
var n = +x;
|
|
5987
|
+
return (n > 0 ? floor : ceil)(n);
|
|
5988
|
+
};
|
|
5989
|
+
|
|
5990
|
+
|
|
5752
5991
|
/***/ }),
|
|
5753
5992
|
|
|
5754
5993
|
/***/ "../../node_modules/core-js/internals/microtask.js":
|
|
@@ -5822,7 +6061,7 @@ if (!queueMicrotask) {
|
|
|
5822
6061
|
// for other environments - macrotask based on:
|
|
5823
6062
|
// - setImmediate
|
|
5824
6063
|
// - MessageChannel
|
|
5825
|
-
// - window.
|
|
6064
|
+
// - window.postMessage
|
|
5826
6065
|
// - onreadystatechange
|
|
5827
6066
|
// - setTimeout
|
|
5828
6067
|
} else {
|
|
@@ -5844,19 +6083,6 @@ module.exports = queueMicrotask || function (fn) {
|
|
|
5844
6083
|
};
|
|
5845
6084
|
|
|
5846
6085
|
|
|
5847
|
-
/***/ }),
|
|
5848
|
-
|
|
5849
|
-
/***/ "../../node_modules/core-js/internals/native-promise-constructor.js":
|
|
5850
|
-
/*!**************************************************************************!*\
|
|
5851
|
-
!*** ../../node_modules/core-js/internals/native-promise-constructor.js ***!
|
|
5852
|
-
\**************************************************************************/
|
|
5853
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5854
|
-
|
|
5855
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
5856
|
-
|
|
5857
|
-
module.exports = global.Promise;
|
|
5858
|
-
|
|
5859
|
-
|
|
5860
6086
|
/***/ }),
|
|
5861
6087
|
|
|
5862
6088
|
/***/ "../../node_modules/core-js/internals/native-symbol.js":
|
|
@@ -5865,11 +6091,11 @@ module.exports = global.Promise;
|
|
|
5865
6091
|
\*************************************************************/
|
|
5866
6092
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5867
6093
|
|
|
5868
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
|
6094
|
+
/* eslint-disable es-x/no-symbol -- required for testing */
|
|
5869
6095
|
var V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ "../../node_modules/core-js/internals/engine-v8-version.js");
|
|
5870
6096
|
var fails = __webpack_require__(/*! ../internals/fails */ "../../node_modules/core-js/internals/fails.js");
|
|
5871
6097
|
|
|
5872
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
6098
|
+
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
|
|
5873
6099
|
module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
5874
6100
|
var symbol = Symbol();
|
|
5875
6101
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
@@ -5935,26 +6161,46 @@ module.exports.f = function (C) {
|
|
|
5935
6161
|
\**********************************************************************/
|
|
5936
6162
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5937
6163
|
|
|
5938
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
5939
6164
|
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../../node_modules/core-js/internals/descriptors.js");
|
|
5940
6165
|
var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "../../node_modules/core-js/internals/ie8-dom-define.js");
|
|
6166
|
+
var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(/*! ../internals/v8-prototype-define-bug */ "../../node_modules/core-js/internals/v8-prototype-define-bug.js");
|
|
5941
6167
|
var anObject = __webpack_require__(/*! ../internals/an-object */ "../../node_modules/core-js/internals/an-object.js");
|
|
5942
6168
|
var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "../../node_modules/core-js/internals/to-property-key.js");
|
|
5943
6169
|
|
|
5944
|
-
var TypeError =
|
|
5945
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
6170
|
+
var $TypeError = TypeError;
|
|
6171
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
5946
6172
|
var $defineProperty = Object.defineProperty;
|
|
6173
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
6174
|
+
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
6175
|
+
var ENUMERABLE = 'enumerable';
|
|
6176
|
+
var CONFIGURABLE = 'configurable';
|
|
6177
|
+
var WRITABLE = 'writable';
|
|
5947
6178
|
|
|
5948
6179
|
// `Object.defineProperty` method
|
|
5949
6180
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
5950
|
-
exports.f = DESCRIPTORS ?
|
|
6181
|
+
exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
|
|
6182
|
+
anObject(O);
|
|
6183
|
+
P = toPropertyKey(P);
|
|
6184
|
+
anObject(Attributes);
|
|
6185
|
+
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
6186
|
+
var current = $getOwnPropertyDescriptor(O, P);
|
|
6187
|
+
if (current && current[WRITABLE]) {
|
|
6188
|
+
O[P] = Attributes.value;
|
|
6189
|
+
Attributes = {
|
|
6190
|
+
configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],
|
|
6191
|
+
enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
|
|
6192
|
+
writable: false
|
|
6193
|
+
};
|
|
6194
|
+
}
|
|
6195
|
+
} return $defineProperty(O, P, Attributes);
|
|
6196
|
+
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
5951
6197
|
anObject(O);
|
|
5952
6198
|
P = toPropertyKey(P);
|
|
5953
6199
|
anObject(Attributes);
|
|
5954
6200
|
if (IE8_DOM_DEFINE) try {
|
|
5955
6201
|
return $defineProperty(O, P, Attributes);
|
|
5956
6202
|
} catch (error) { /* empty */ }
|
|
5957
|
-
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
|
|
6203
|
+
if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');
|
|
5958
6204
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
5959
6205
|
return O;
|
|
5960
6206
|
};
|
|
@@ -5977,7 +6223,7 @@ var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "../
|
|
|
5977
6223
|
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../../node_modules/core-js/internals/has-own-property.js");
|
|
5978
6224
|
var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "../../node_modules/core-js/internals/ie8-dom-define.js");
|
|
5979
6225
|
|
|
5980
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
6226
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
5981
6227
|
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
5982
6228
|
|
|
5983
6229
|
// `Object.getOwnPropertyDescriptor` method
|
|
@@ -6007,7 +6253,7 @@ var hiddenKeys = enumBugKeys.concat('length', 'prototype');
|
|
|
6007
6253
|
|
|
6008
6254
|
// `Object.getOwnPropertyNames` method
|
|
6009
6255
|
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
6010
|
-
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
|
6256
|
+
// eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
|
|
6011
6257
|
exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
6012
6258
|
return internalObjectKeys(O, hiddenKeys);
|
|
6013
6259
|
};
|
|
@@ -6021,7 +6267,7 @@ exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
|
6021
6267
|
\*******************************************************************************/
|
|
6022
6268
|
/***/ ((__unused_webpack_module, exports) => {
|
|
6023
6269
|
|
|
6024
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
6270
|
+
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
|
|
6025
6271
|
exports.f = Object.getOwnPropertySymbols;
|
|
6026
6272
|
|
|
6027
6273
|
|
|
@@ -6079,7 +6325,7 @@ module.exports = function (object, names) {
|
|
|
6079
6325
|
"use strict";
|
|
6080
6326
|
|
|
6081
6327
|
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
6082
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
6328
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
6083
6329
|
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
6084
6330
|
|
|
6085
6331
|
// Nashorn ~ JDK8 bug
|
|
@@ -6109,13 +6355,13 @@ var aPossiblePrototype = __webpack_require__(/*! ../internals/a-possible-prototy
|
|
|
6109
6355
|
// `Object.setPrototypeOf` method
|
|
6110
6356
|
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
|
6111
6357
|
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
6112
|
-
// eslint-disable-next-line es/no-object-setprototypeof -- safe
|
|
6358
|
+
// eslint-disable-next-line es-x/no-object-setprototypeof -- safe
|
|
6113
6359
|
module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
6114
6360
|
var CORRECT_SETTER = false;
|
|
6115
6361
|
var test = {};
|
|
6116
6362
|
var setter;
|
|
6117
6363
|
try {
|
|
6118
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
6364
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
6119
6365
|
setter = uncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
6120
6366
|
setter(test, []);
|
|
6121
6367
|
CORRECT_SETTER = test instanceof Array;
|
|
@@ -6138,12 +6384,11 @@ module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
|
6138
6384
|
\*********************************************************************/
|
|
6139
6385
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6140
6386
|
|
|
6141
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6142
6387
|
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
6143
6388
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
6144
6389
|
var isObject = __webpack_require__(/*! ../internals/is-object */ "../../node_modules/core-js/internals/is-object.js");
|
|
6145
6390
|
|
|
6146
|
-
var TypeError =
|
|
6391
|
+
var $TypeError = TypeError;
|
|
6147
6392
|
|
|
6148
6393
|
// `OrdinaryToPrimitive` abstract operation
|
|
6149
6394
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
@@ -6152,7 +6397,7 @@ module.exports = function (input, pref) {
|
|
|
6152
6397
|
if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
|
|
6153
6398
|
if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;
|
|
6154
6399
|
if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
|
|
6155
|
-
throw TypeError("Can't convert object to primitive value");
|
|
6400
|
+
throw $TypeError("Can't convert object to primitive value");
|
|
6156
6401
|
};
|
|
6157
6402
|
|
|
6158
6403
|
|
|
@@ -6197,6 +6442,75 @@ module.exports = function (exec) {
|
|
|
6197
6442
|
};
|
|
6198
6443
|
|
|
6199
6444
|
|
|
6445
|
+
/***/ }),
|
|
6446
|
+
|
|
6447
|
+
/***/ "../../node_modules/core-js/internals/promise-constructor-detection.js":
|
|
6448
|
+
/*!*****************************************************************************!*\
|
|
6449
|
+
!*** ../../node_modules/core-js/internals/promise-constructor-detection.js ***!
|
|
6450
|
+
\*****************************************************************************/
|
|
6451
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6452
|
+
|
|
6453
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6454
|
+
var NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ "../../node_modules/core-js/internals/promise-native-constructor.js");
|
|
6455
|
+
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
6456
|
+
var isForced = __webpack_require__(/*! ../internals/is-forced */ "../../node_modules/core-js/internals/is-forced.js");
|
|
6457
|
+
var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ "../../node_modules/core-js/internals/inspect-source.js");
|
|
6458
|
+
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../../node_modules/core-js/internals/well-known-symbol.js");
|
|
6459
|
+
var IS_BROWSER = __webpack_require__(/*! ../internals/engine-is-browser */ "../../node_modules/core-js/internals/engine-is-browser.js");
|
|
6460
|
+
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../../node_modules/core-js/internals/is-pure.js");
|
|
6461
|
+
var V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ "../../node_modules/core-js/internals/engine-v8-version.js");
|
|
6462
|
+
|
|
6463
|
+
var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
|
|
6464
|
+
var SPECIES = wellKnownSymbol('species');
|
|
6465
|
+
var SUBCLASSING = false;
|
|
6466
|
+
var NATIVE_PROMISE_REJECTION_EVENT = isCallable(global.PromiseRejectionEvent);
|
|
6467
|
+
|
|
6468
|
+
var FORCED_PROMISE_CONSTRUCTOR = isForced('Promise', function () {
|
|
6469
|
+
var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor);
|
|
6470
|
+
var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(NativePromiseConstructor);
|
|
6471
|
+
// V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables
|
|
6472
|
+
// https://bugs.chromium.org/p/chromium/issues/detail?id=830565
|
|
6473
|
+
// We can't detect it synchronously, so just check versions
|
|
6474
|
+
if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true;
|
|
6475
|
+
// We need Promise#{ catch, finally } in the pure version for preventing prototype pollution
|
|
6476
|
+
if (IS_PURE && !(NativePromisePrototype['catch'] && NativePromisePrototype['finally'])) return true;
|
|
6477
|
+
// We can't use @@species feature detection in V8 since it causes
|
|
6478
|
+
// deoptimization and performance degradation
|
|
6479
|
+
// https://github.com/zloirock/core-js/issues/679
|
|
6480
|
+
if (V8_VERSION >= 51 && /native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) return false;
|
|
6481
|
+
// Detect correctness of subclassing with @@species support
|
|
6482
|
+
var promise = new NativePromiseConstructor(function (resolve) { resolve(1); });
|
|
6483
|
+
var FakePromise = function (exec) {
|
|
6484
|
+
exec(function () { /* empty */ }, function () { /* empty */ });
|
|
6485
|
+
};
|
|
6486
|
+
var constructor = promise.constructor = {};
|
|
6487
|
+
constructor[SPECIES] = FakePromise;
|
|
6488
|
+
SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;
|
|
6489
|
+
if (!SUBCLASSING) return true;
|
|
6490
|
+
// Unhandled rejections tracking support, NodeJS Promise without it fails @@species test
|
|
6491
|
+
return !GLOBAL_CORE_JS_PROMISE && IS_BROWSER && !NATIVE_PROMISE_REJECTION_EVENT;
|
|
6492
|
+
});
|
|
6493
|
+
|
|
6494
|
+
module.exports = {
|
|
6495
|
+
CONSTRUCTOR: FORCED_PROMISE_CONSTRUCTOR,
|
|
6496
|
+
REJECTION_EVENT: NATIVE_PROMISE_REJECTION_EVENT,
|
|
6497
|
+
SUBCLASSING: SUBCLASSING
|
|
6498
|
+
};
|
|
6499
|
+
|
|
6500
|
+
|
|
6501
|
+
/***/ }),
|
|
6502
|
+
|
|
6503
|
+
/***/ "../../node_modules/core-js/internals/promise-native-constructor.js":
|
|
6504
|
+
/*!**************************************************************************!*\
|
|
6505
|
+
!*** ../../node_modules/core-js/internals/promise-native-constructor.js ***!
|
|
6506
|
+
\**************************************************************************/
|
|
6507
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6508
|
+
|
|
6509
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6510
|
+
|
|
6511
|
+
module.exports = global.Promise;
|
|
6512
|
+
|
|
6513
|
+
|
|
6200
6514
|
/***/ }),
|
|
6201
6515
|
|
|
6202
6516
|
/***/ "../../node_modules/core-js/internals/promise-resolve.js":
|
|
@@ -6221,74 +6535,52 @@ module.exports = function (C, x) {
|
|
|
6221
6535
|
|
|
6222
6536
|
/***/ }),
|
|
6223
6537
|
|
|
6224
|
-
/***/ "../../node_modules/core-js/internals/
|
|
6225
|
-
|
|
6226
|
-
!*** ../../node_modules/core-js/internals/
|
|
6227
|
-
|
|
6538
|
+
/***/ "../../node_modules/core-js/internals/promise-statics-incorrect-iteration.js":
|
|
6539
|
+
/*!***********************************************************************************!*\
|
|
6540
|
+
!*** ../../node_modules/core-js/internals/promise-statics-incorrect-iteration.js ***!
|
|
6541
|
+
\***********************************************************************************/
|
|
6228
6542
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6229
6543
|
|
|
6230
|
-
var
|
|
6544
|
+
var NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ "../../node_modules/core-js/internals/promise-native-constructor.js");
|
|
6545
|
+
var checkCorrectnessOfIteration = __webpack_require__(/*! ../internals/check-correctness-of-iteration */ "../../node_modules/core-js/internals/check-correctness-of-iteration.js");
|
|
6546
|
+
var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(/*! ../internals/promise-constructor-detection */ "../../node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR);
|
|
6231
6547
|
|
|
6232
|
-
module.exports = function (
|
|
6233
|
-
|
|
6234
|
-
|
|
6235
|
-
};
|
|
6548
|
+
module.exports = FORCED_PROMISE_CONSTRUCTOR || !checkCorrectnessOfIteration(function (iterable) {
|
|
6549
|
+
NativePromiseConstructor.all(iterable).then(undefined, function () { /* empty */ });
|
|
6550
|
+
});
|
|
6236
6551
|
|
|
6237
6552
|
|
|
6238
6553
|
/***/ }),
|
|
6239
6554
|
|
|
6240
|
-
/***/ "../../node_modules/core-js/internals/
|
|
6241
|
-
|
|
6242
|
-
!*** ../../node_modules/core-js/internals/
|
|
6243
|
-
|
|
6244
|
-
/***/ ((module
|
|
6245
|
-
|
|
6246
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6247
|
-
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
6248
|
-
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../../node_modules/core-js/internals/has-own-property.js");
|
|
6249
|
-
var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../../node_modules/core-js/internals/create-non-enumerable-property.js");
|
|
6250
|
-
var setGlobal = __webpack_require__(/*! ../internals/set-global */ "../../node_modules/core-js/internals/set-global.js");
|
|
6251
|
-
var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ "../../node_modules/core-js/internals/inspect-source.js");
|
|
6252
|
-
var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "../../node_modules/core-js/internals/internal-state.js");
|
|
6253
|
-
var CONFIGURABLE_FUNCTION_NAME = (__webpack_require__(/*! ../internals/function-name */ "../../node_modules/core-js/internals/function-name.js").CONFIGURABLE);
|
|
6555
|
+
/***/ "../../node_modules/core-js/internals/queue.js":
|
|
6556
|
+
/*!*****************************************************!*\
|
|
6557
|
+
!*** ../../node_modules/core-js/internals/queue.js ***!
|
|
6558
|
+
\*****************************************************/
|
|
6559
|
+
/***/ ((module) => {
|
|
6254
6560
|
|
|
6255
|
-
var
|
|
6256
|
-
|
|
6257
|
-
|
|
6561
|
+
var Queue = function () {
|
|
6562
|
+
this.head = null;
|
|
6563
|
+
this.tail = null;
|
|
6564
|
+
};
|
|
6258
6565
|
|
|
6259
|
-
|
|
6260
|
-
|
|
6261
|
-
|
|
6262
|
-
|
|
6263
|
-
|
|
6264
|
-
|
|
6265
|
-
|
|
6266
|
-
|
|
6267
|
-
|
|
6268
|
-
|
|
6269
|
-
|
|
6270
|
-
|
|
6271
|
-
|
|
6272
|
-
state = enforceInternalState(value);
|
|
6273
|
-
if (!state.source) {
|
|
6274
|
-
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
6566
|
+
Queue.prototype = {
|
|
6567
|
+
add: function (item) {
|
|
6568
|
+
var entry = { item: item, next: null };
|
|
6569
|
+
if (this.head) this.tail.next = entry;
|
|
6570
|
+
else this.head = entry;
|
|
6571
|
+
this.tail = entry;
|
|
6572
|
+
},
|
|
6573
|
+
get: function () {
|
|
6574
|
+
var entry = this.head;
|
|
6575
|
+
if (entry) {
|
|
6576
|
+
this.head = entry.next;
|
|
6577
|
+
if (this.tail === entry) this.tail = null;
|
|
6578
|
+
return entry.item;
|
|
6275
6579
|
}
|
|
6276
6580
|
}
|
|
6277
|
-
|
|
6278
|
-
|
|
6279
|
-
|
|
6280
|
-
return;
|
|
6281
|
-
} else if (!unsafe) {
|
|
6282
|
-
delete O[key];
|
|
6283
|
-
} else if (!noTargetGet && O[key]) {
|
|
6284
|
-
simple = true;
|
|
6285
|
-
}
|
|
6286
|
-
if (simple) O[key] = value;
|
|
6287
|
-
else createNonEnumerableProperty(O, key, value);
|
|
6288
|
-
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
6289
|
-
})(Function.prototype, 'toString', function toString() {
|
|
6290
|
-
return isCallable(this) && getInternalState(this).source || inspectSource(this);
|
|
6291
|
-
});
|
|
6581
|
+
};
|
|
6582
|
+
|
|
6583
|
+
module.exports = Queue;
|
|
6292
6584
|
|
|
6293
6585
|
|
|
6294
6586
|
/***/ }),
|
|
@@ -6297,42 +6589,18 @@ var TEMPLATE = String(String).split('String');
|
|
|
6297
6589
|
/*!************************************************************************!*\
|
|
6298
6590
|
!*** ../../node_modules/core-js/internals/require-object-coercible.js ***!
|
|
6299
6591
|
\************************************************************************/
|
|
6300
|
-
/***/ ((module
|
|
6301
|
-
|
|
6302
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6592
|
+
/***/ ((module) => {
|
|
6303
6593
|
|
|
6304
|
-
var TypeError =
|
|
6594
|
+
var $TypeError = TypeError;
|
|
6305
6595
|
|
|
6306
6596
|
// `RequireObjectCoercible` abstract operation
|
|
6307
6597
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
6308
6598
|
module.exports = function (it) {
|
|
6309
|
-
if (it == undefined) throw TypeError("Can't call method on " + it);
|
|
6599
|
+
if (it == undefined) throw $TypeError("Can't call method on " + it);
|
|
6310
6600
|
return it;
|
|
6311
6601
|
};
|
|
6312
6602
|
|
|
6313
6603
|
|
|
6314
|
-
/***/ }),
|
|
6315
|
-
|
|
6316
|
-
/***/ "../../node_modules/core-js/internals/set-global.js":
|
|
6317
|
-
/*!**********************************************************!*\
|
|
6318
|
-
!*** ../../node_modules/core-js/internals/set-global.js ***!
|
|
6319
|
-
\**********************************************************/
|
|
6320
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6321
|
-
|
|
6322
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6323
|
-
|
|
6324
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
6325
|
-
var defineProperty = Object.defineProperty;
|
|
6326
|
-
|
|
6327
|
-
module.exports = function (key, value) {
|
|
6328
|
-
try {
|
|
6329
|
-
defineProperty(global, key, { value: value, configurable: true, writable: true });
|
|
6330
|
-
} catch (error) {
|
|
6331
|
-
global[key] = value;
|
|
6332
|
-
} return value;
|
|
6333
|
-
};
|
|
6334
|
-
|
|
6335
|
-
|
|
6336
6604
|
/***/ }),
|
|
6337
6605
|
|
|
6338
6606
|
/***/ "../../node_modules/core-js/internals/set-species.js":
|
|
@@ -6377,9 +6645,10 @@ var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */
|
|
|
6377
6645
|
|
|
6378
6646
|
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
6379
6647
|
|
|
6380
|
-
module.exports = function (
|
|
6381
|
-
if (
|
|
6382
|
-
|
|
6648
|
+
module.exports = function (target, TAG, STATIC) {
|
|
6649
|
+
if (target && !STATIC) target = target.prototype;
|
|
6650
|
+
if (target && !hasOwn(target, TO_STRING_TAG)) {
|
|
6651
|
+
defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG });
|
|
6383
6652
|
}
|
|
6384
6653
|
};
|
|
6385
6654
|
|
|
@@ -6411,10 +6680,10 @@ module.exports = function (key) {
|
|
|
6411
6680
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6412
6681
|
|
|
6413
6682
|
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6414
|
-
var
|
|
6683
|
+
var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../../node_modules/core-js/internals/define-global-property.js");
|
|
6415
6684
|
|
|
6416
6685
|
var SHARED = '__core-js_shared__';
|
|
6417
|
-
var store = global[SHARED] ||
|
|
6686
|
+
var store = global[SHARED] || defineGlobalProperty(SHARED, {});
|
|
6418
6687
|
|
|
6419
6688
|
module.exports = store;
|
|
6420
6689
|
|
|
@@ -6433,9 +6702,11 @@ var store = __webpack_require__(/*! ../internals/shared-store */ "../../node_mod
|
|
|
6433
6702
|
(module.exports = function (key, value) {
|
|
6434
6703
|
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
6435
6704
|
})('versions', []).push({
|
|
6436
|
-
version: '3.
|
|
6705
|
+
version: '3.23.2',
|
|
6437
6706
|
mode: IS_PURE ? 'pure' : 'global',
|
|
6438
|
-
copyright: '©
|
|
6707
|
+
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
6708
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.23.2/LICENSE',
|
|
6709
|
+
source: 'https://github.com/zloirock/core-js'
|
|
6439
6710
|
});
|
|
6440
6711
|
|
|
6441
6712
|
|
|
@@ -6479,6 +6750,7 @@ var fails = __webpack_require__(/*! ../internals/fails */ "../../node_modules/co
|
|
|
6479
6750
|
var html = __webpack_require__(/*! ../internals/html */ "../../node_modules/core-js/internals/html.js");
|
|
6480
6751
|
var arraySlice = __webpack_require__(/*! ../internals/array-slice */ "../../node_modules/core-js/internals/array-slice.js");
|
|
6481
6752
|
var createElement = __webpack_require__(/*! ../internals/document-create-element */ "../../node_modules/core-js/internals/document-create-element.js");
|
|
6753
|
+
var validateArgumentsLength = __webpack_require__(/*! ../internals/validate-arguments-length */ "../../node_modules/core-js/internals/validate-arguments-length.js");
|
|
6482
6754
|
var IS_IOS = __webpack_require__(/*! ../internals/engine-is-ios */ "../../node_modules/core-js/internals/engine-is-ios.js");
|
|
6483
6755
|
var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ "../../node_modules/core-js/internals/engine-is-node.js");
|
|
6484
6756
|
|
|
@@ -6524,10 +6796,12 @@ var post = function (id) {
|
|
|
6524
6796
|
|
|
6525
6797
|
// Node.js 0.9+ & IE10+ has setImmediate, otherwise:
|
|
6526
6798
|
if (!set || !clear) {
|
|
6527
|
-
set = function setImmediate(
|
|
6799
|
+
set = function setImmediate(handler) {
|
|
6800
|
+
validateArgumentsLength(arguments.length, 1);
|
|
6801
|
+
var fn = isCallable(handler) ? handler : Function(handler);
|
|
6528
6802
|
var args = arraySlice(arguments, 1);
|
|
6529
6803
|
queue[++counter] = function () {
|
|
6530
|
-
apply(
|
|
6804
|
+
apply(fn, undefined, args);
|
|
6531
6805
|
};
|
|
6532
6806
|
defer(counter);
|
|
6533
6807
|
return counter;
|
|
@@ -6630,17 +6904,16 @@ module.exports = function (it) {
|
|
|
6630
6904
|
/*!**********************************************************************!*\
|
|
6631
6905
|
!*** ../../node_modules/core-js/internals/to-integer-or-infinity.js ***!
|
|
6632
6906
|
\**********************************************************************/
|
|
6633
|
-
/***/ ((module) => {
|
|
6907
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6634
6908
|
|
|
6635
|
-
var
|
|
6636
|
-
var floor = Math.floor;
|
|
6909
|
+
var trunc = __webpack_require__(/*! ../internals/math-trunc */ "../../node_modules/core-js/internals/math-trunc.js");
|
|
6637
6910
|
|
|
6638
6911
|
// `ToIntegerOrInfinity` abstract operation
|
|
6639
6912
|
// https://tc39.es/ecma262/#sec-tointegerorinfinity
|
|
6640
6913
|
module.exports = function (argument) {
|
|
6641
6914
|
var number = +argument;
|
|
6642
|
-
// eslint-disable-next-line no-self-compare --
|
|
6643
|
-
return number !== number || number === 0 ? 0 : (number
|
|
6915
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
|
6916
|
+
return number !== number || number === 0 ? 0 : trunc(number);
|
|
6644
6917
|
};
|
|
6645
6918
|
|
|
6646
6919
|
|
|
@@ -6671,15 +6944,14 @@ module.exports = function (argument) {
|
|
|
6671
6944
|
\*********************************************************/
|
|
6672
6945
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6673
6946
|
|
|
6674
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6675
6947
|
var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "../../node_modules/core-js/internals/require-object-coercible.js");
|
|
6676
6948
|
|
|
6677
|
-
var Object =
|
|
6949
|
+
var $Object = Object;
|
|
6678
6950
|
|
|
6679
6951
|
// `ToObject` abstract operation
|
|
6680
6952
|
// https://tc39.es/ecma262/#sec-toobject
|
|
6681
6953
|
module.exports = function (argument) {
|
|
6682
|
-
return Object(requireObjectCoercible(argument));
|
|
6954
|
+
return $Object(requireObjectCoercible(argument));
|
|
6683
6955
|
};
|
|
6684
6956
|
|
|
6685
6957
|
|
|
@@ -6691,7 +6963,6 @@ module.exports = function (argument) {
|
|
|
6691
6963
|
\************************************************************/
|
|
6692
6964
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6693
6965
|
|
|
6694
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6695
6966
|
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
6696
6967
|
var isObject = __webpack_require__(/*! ../internals/is-object */ "../../node_modules/core-js/internals/is-object.js");
|
|
6697
6968
|
var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "../../node_modules/core-js/internals/is-symbol.js");
|
|
@@ -6699,7 +6970,7 @@ var getMethod = __webpack_require__(/*! ../internals/get-method */ "../../node_m
|
|
|
6699
6970
|
var ordinaryToPrimitive = __webpack_require__(/*! ../internals/ordinary-to-primitive */ "../../node_modules/core-js/internals/ordinary-to-primitive.js");
|
|
6700
6971
|
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../../node_modules/core-js/internals/well-known-symbol.js");
|
|
6701
6972
|
|
|
6702
|
-
var TypeError =
|
|
6973
|
+
var $TypeError = TypeError;
|
|
6703
6974
|
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
|
|
6704
6975
|
|
|
6705
6976
|
// `ToPrimitive` abstract operation
|
|
@@ -6712,7 +6983,7 @@ module.exports = function (input, pref) {
|
|
|
6712
6983
|
if (pref === undefined) pref = 'default';
|
|
6713
6984
|
result = call(exoticToPrim, input, pref);
|
|
6714
6985
|
if (!isObject(result) || isSymbol(result)) return result;
|
|
6715
|
-
throw TypeError("Can't convert object to primitive value");
|
|
6986
|
+
throw $TypeError("Can't convert object to primitive value");
|
|
6716
6987
|
}
|
|
6717
6988
|
if (pref === undefined) pref = 'number';
|
|
6718
6989
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -6764,14 +7035,13 @@ module.exports = String(test) === '[object z]';
|
|
|
6764
7035
|
\*********************************************************/
|
|
6765
7036
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6766
7037
|
|
|
6767
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6768
7038
|
var classof = __webpack_require__(/*! ../internals/classof */ "../../node_modules/core-js/internals/classof.js");
|
|
6769
7039
|
|
|
6770
|
-
var String =
|
|
7040
|
+
var $String = String;
|
|
6771
7041
|
|
|
6772
7042
|
module.exports = function (argument) {
|
|
6773
7043
|
if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
|
|
6774
|
-
return String(argument);
|
|
7044
|
+
return $String(argument);
|
|
6775
7045
|
};
|
|
6776
7046
|
|
|
6777
7047
|
|
|
@@ -6781,15 +7051,13 @@ module.exports = function (argument) {
|
|
|
6781
7051
|
/*!*************************************************************!*\
|
|
6782
7052
|
!*** ../../node_modules/core-js/internals/try-to-string.js ***!
|
|
6783
7053
|
\*************************************************************/
|
|
6784
|
-
/***/ ((module
|
|
6785
|
-
|
|
6786
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
7054
|
+
/***/ ((module) => {
|
|
6787
7055
|
|
|
6788
|
-
var String =
|
|
7056
|
+
var $String = String;
|
|
6789
7057
|
|
|
6790
7058
|
module.exports = function (argument) {
|
|
6791
7059
|
try {
|
|
6792
|
-
return String(argument);
|
|
7060
|
+
return $String(argument);
|
|
6793
7061
|
} catch (error) {
|
|
6794
7062
|
return 'Object';
|
|
6795
7063
|
}
|
|
@@ -6823,7 +7091,7 @@ module.exports = function (key) {
|
|
|
6823
7091
|
\*****************************************************************/
|
|
6824
7092
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6825
7093
|
|
|
6826
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
|
7094
|
+
/* eslint-disable es-x/no-symbol -- required for testing */
|
|
6827
7095
|
var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/native-symbol */ "../../node_modules/core-js/internals/native-symbol.js");
|
|
6828
7096
|
|
|
6829
7097
|
module.exports = NATIVE_SYMBOL
|
|
@@ -6831,6 +7099,44 @@ module.exports = NATIVE_SYMBOL
|
|
|
6831
7099
|
&& typeof Symbol.iterator == 'symbol';
|
|
6832
7100
|
|
|
6833
7101
|
|
|
7102
|
+
/***/ }),
|
|
7103
|
+
|
|
7104
|
+
/***/ "../../node_modules/core-js/internals/v8-prototype-define-bug.js":
|
|
7105
|
+
/*!***********************************************************************!*\
|
|
7106
|
+
!*** ../../node_modules/core-js/internals/v8-prototype-define-bug.js ***!
|
|
7107
|
+
\***********************************************************************/
|
|
7108
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
7109
|
+
|
|
7110
|
+
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../../node_modules/core-js/internals/descriptors.js");
|
|
7111
|
+
var fails = __webpack_require__(/*! ../internals/fails */ "../../node_modules/core-js/internals/fails.js");
|
|
7112
|
+
|
|
7113
|
+
// V8 ~ Chrome 36-
|
|
7114
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
7115
|
+
module.exports = DESCRIPTORS && fails(function () {
|
|
7116
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
7117
|
+
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
7118
|
+
value: 42,
|
|
7119
|
+
writable: false
|
|
7120
|
+
}).prototype != 42;
|
|
7121
|
+
});
|
|
7122
|
+
|
|
7123
|
+
|
|
7124
|
+
/***/ }),
|
|
7125
|
+
|
|
7126
|
+
/***/ "../../node_modules/core-js/internals/validate-arguments-length.js":
|
|
7127
|
+
/*!*************************************************************************!*\
|
|
7128
|
+
!*** ../../node_modules/core-js/internals/validate-arguments-length.js ***!
|
|
7129
|
+
\*************************************************************************/
|
|
7130
|
+
/***/ ((module) => {
|
|
7131
|
+
|
|
7132
|
+
var $TypeError = TypeError;
|
|
7133
|
+
|
|
7134
|
+
module.exports = function (passed, required) {
|
|
7135
|
+
if (passed < required) throw $TypeError('Not enough arguments');
|
|
7136
|
+
return passed;
|
|
7137
|
+
};
|
|
7138
|
+
|
|
7139
|
+
|
|
6834
7140
|
/***/ }),
|
|
6835
7141
|
|
|
6836
7142
|
/***/ "../../node_modules/core-js/internals/well-known-symbol.js":
|
|
@@ -6867,22 +7173,107 @@ module.exports = function (name) {
|
|
|
6867
7173
|
|
|
6868
7174
|
/***/ }),
|
|
6869
7175
|
|
|
6870
|
-
/***/ "../../node_modules/core-js/modules/es.promise.js":
|
|
6871
|
-
|
|
6872
|
-
!*** ../../node_modules/core-js/modules/es.promise.js ***!
|
|
6873
|
-
|
|
7176
|
+
/***/ "../../node_modules/core-js/modules/es.promise.all.js":
|
|
7177
|
+
/*!************************************************************!*\
|
|
7178
|
+
!*** ../../node_modules/core-js/modules/es.promise.all.js ***!
|
|
7179
|
+
\************************************************************/
|
|
7180
|
+
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
7181
|
+
|
|
7182
|
+
"use strict";
|
|
7183
|
+
|
|
7184
|
+
var $ = __webpack_require__(/*! ../internals/export */ "../../node_modules/core-js/internals/export.js");
|
|
7185
|
+
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
7186
|
+
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../../node_modules/core-js/internals/a-callable.js");
|
|
7187
|
+
var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ "../../node_modules/core-js/internals/new-promise-capability.js");
|
|
7188
|
+
var perform = __webpack_require__(/*! ../internals/perform */ "../../node_modules/core-js/internals/perform.js");
|
|
7189
|
+
var iterate = __webpack_require__(/*! ../internals/iterate */ "../../node_modules/core-js/internals/iterate.js");
|
|
7190
|
+
var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(/*! ../internals/promise-statics-incorrect-iteration */ "../../node_modules/core-js/internals/promise-statics-incorrect-iteration.js");
|
|
7191
|
+
|
|
7192
|
+
// `Promise.all` method
|
|
7193
|
+
// https://tc39.es/ecma262/#sec-promise.all
|
|
7194
|
+
$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
|
|
7195
|
+
all: function all(iterable) {
|
|
7196
|
+
var C = this;
|
|
7197
|
+
var capability = newPromiseCapabilityModule.f(C);
|
|
7198
|
+
var resolve = capability.resolve;
|
|
7199
|
+
var reject = capability.reject;
|
|
7200
|
+
var result = perform(function () {
|
|
7201
|
+
var $promiseResolve = aCallable(C.resolve);
|
|
7202
|
+
var values = [];
|
|
7203
|
+
var counter = 0;
|
|
7204
|
+
var remaining = 1;
|
|
7205
|
+
iterate(iterable, function (promise) {
|
|
7206
|
+
var index = counter++;
|
|
7207
|
+
var alreadyCalled = false;
|
|
7208
|
+
remaining++;
|
|
7209
|
+
call($promiseResolve, C, promise).then(function (value) {
|
|
7210
|
+
if (alreadyCalled) return;
|
|
7211
|
+
alreadyCalled = true;
|
|
7212
|
+
values[index] = value;
|
|
7213
|
+
--remaining || resolve(values);
|
|
7214
|
+
}, reject);
|
|
7215
|
+
});
|
|
7216
|
+
--remaining || resolve(values);
|
|
7217
|
+
});
|
|
7218
|
+
if (result.error) reject(result.value);
|
|
7219
|
+
return capability.promise;
|
|
7220
|
+
}
|
|
7221
|
+
});
|
|
7222
|
+
|
|
7223
|
+
|
|
7224
|
+
/***/ }),
|
|
7225
|
+
|
|
7226
|
+
/***/ "../../node_modules/core-js/modules/es.promise.catch.js":
|
|
7227
|
+
/*!**************************************************************!*\
|
|
7228
|
+
!*** ../../node_modules/core-js/modules/es.promise.catch.js ***!
|
|
7229
|
+
\**************************************************************/
|
|
6874
7230
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
6875
7231
|
|
|
6876
7232
|
"use strict";
|
|
6877
7233
|
|
|
6878
7234
|
var $ = __webpack_require__(/*! ../internals/export */ "../../node_modules/core-js/internals/export.js");
|
|
6879
7235
|
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../../node_modules/core-js/internals/is-pure.js");
|
|
6880
|
-
var
|
|
7236
|
+
var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(/*! ../internals/promise-constructor-detection */ "../../node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR);
|
|
7237
|
+
var NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ "../../node_modules/core-js/internals/promise-native-constructor.js");
|
|
6881
7238
|
var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../../node_modules/core-js/internals/get-built-in.js");
|
|
7239
|
+
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
7240
|
+
var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "../../node_modules/core-js/internals/define-built-in.js");
|
|
7241
|
+
|
|
7242
|
+
var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
|
|
7243
|
+
|
|
7244
|
+
// `Promise.prototype.catch` method
|
|
7245
|
+
// https://tc39.es/ecma262/#sec-promise.prototype.catch
|
|
7246
|
+
$({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR, real: true }, {
|
|
7247
|
+
'catch': function (onRejected) {
|
|
7248
|
+
return this.then(undefined, onRejected);
|
|
7249
|
+
}
|
|
7250
|
+
});
|
|
7251
|
+
|
|
7252
|
+
// makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`
|
|
7253
|
+
if (!IS_PURE && isCallable(NativePromiseConstructor)) {
|
|
7254
|
+
var method = getBuiltIn('Promise').prototype['catch'];
|
|
7255
|
+
if (NativePromisePrototype['catch'] !== method) {
|
|
7256
|
+
defineBuiltIn(NativePromisePrototype, 'catch', method, { unsafe: true });
|
|
7257
|
+
}
|
|
7258
|
+
}
|
|
7259
|
+
|
|
7260
|
+
|
|
7261
|
+
/***/ }),
|
|
7262
|
+
|
|
7263
|
+
/***/ "../../node_modules/core-js/modules/es.promise.constructor.js":
|
|
7264
|
+
/*!********************************************************************!*\
|
|
7265
|
+
!*** ../../node_modules/core-js/modules/es.promise.constructor.js ***!
|
|
7266
|
+
\********************************************************************/
|
|
7267
|
+
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
7268
|
+
|
|
7269
|
+
"use strict";
|
|
7270
|
+
|
|
7271
|
+
var $ = __webpack_require__(/*! ../internals/export */ "../../node_modules/core-js/internals/export.js");
|
|
7272
|
+
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../../node_modules/core-js/internals/is-pure.js");
|
|
7273
|
+
var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ "../../node_modules/core-js/internals/engine-is-node.js");
|
|
7274
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6882
7275
|
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
6883
|
-
var
|
|
6884
|
-
var redefine = __webpack_require__(/*! ../internals/redefine */ "../../node_modules/core-js/internals/redefine.js");
|
|
6885
|
-
var redefineAll = __webpack_require__(/*! ../internals/redefine-all */ "../../node_modules/core-js/internals/redefine-all.js");
|
|
7276
|
+
var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "../../node_modules/core-js/internals/define-built-in.js");
|
|
6886
7277
|
var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ "../../node_modules/core-js/internals/object-set-prototype-of.js");
|
|
6887
7278
|
var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ "../../node_modules/core-js/internals/set-to-string-tag.js");
|
|
6888
7279
|
var setSpecies = __webpack_require__(/*! ../internals/set-species */ "../../node_modules/core-js/internals/set-species.js");
|
|
@@ -6890,31 +7281,25 @@ var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../../node_m
|
|
|
6890
7281
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
6891
7282
|
var isObject = __webpack_require__(/*! ../internals/is-object */ "../../node_modules/core-js/internals/is-object.js");
|
|
6892
7283
|
var anInstance = __webpack_require__(/*! ../internals/an-instance */ "../../node_modules/core-js/internals/an-instance.js");
|
|
6893
|
-
var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ "../../node_modules/core-js/internals/inspect-source.js");
|
|
6894
|
-
var iterate = __webpack_require__(/*! ../internals/iterate */ "../../node_modules/core-js/internals/iterate.js");
|
|
6895
|
-
var checkCorrectnessOfIteration = __webpack_require__(/*! ../internals/check-correctness-of-iteration */ "../../node_modules/core-js/internals/check-correctness-of-iteration.js");
|
|
6896
7284
|
var speciesConstructor = __webpack_require__(/*! ../internals/species-constructor */ "../../node_modules/core-js/internals/species-constructor.js");
|
|
6897
7285
|
var task = (__webpack_require__(/*! ../internals/task */ "../../node_modules/core-js/internals/task.js").set);
|
|
6898
7286
|
var microtask = __webpack_require__(/*! ../internals/microtask */ "../../node_modules/core-js/internals/microtask.js");
|
|
6899
|
-
var promiseResolve = __webpack_require__(/*! ../internals/promise-resolve */ "../../node_modules/core-js/internals/promise-resolve.js");
|
|
6900
7287
|
var hostReportErrors = __webpack_require__(/*! ../internals/host-report-errors */ "../../node_modules/core-js/internals/host-report-errors.js");
|
|
6901
|
-
var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ "../../node_modules/core-js/internals/new-promise-capability.js");
|
|
6902
7288
|
var perform = __webpack_require__(/*! ../internals/perform */ "../../node_modules/core-js/internals/perform.js");
|
|
7289
|
+
var Queue = __webpack_require__(/*! ../internals/queue */ "../../node_modules/core-js/internals/queue.js");
|
|
6903
7290
|
var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "../../node_modules/core-js/internals/internal-state.js");
|
|
6904
|
-
var
|
|
6905
|
-
var
|
|
6906
|
-
var
|
|
6907
|
-
var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ "../../node_modules/core-js/internals/engine-is-node.js");
|
|
6908
|
-
var V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ "../../node_modules/core-js/internals/engine-v8-version.js");
|
|
7291
|
+
var NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ "../../node_modules/core-js/internals/promise-native-constructor.js");
|
|
7292
|
+
var PromiseConstructorDetection = __webpack_require__(/*! ../internals/promise-constructor-detection */ "../../node_modules/core-js/internals/promise-constructor-detection.js");
|
|
7293
|
+
var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ "../../node_modules/core-js/internals/new-promise-capability.js");
|
|
6909
7294
|
|
|
6910
|
-
var SPECIES = wellKnownSymbol('species');
|
|
6911
7295
|
var PROMISE = 'Promise';
|
|
6912
|
-
|
|
6913
|
-
var
|
|
6914
|
-
var
|
|
7296
|
+
var FORCED_PROMISE_CONSTRUCTOR = PromiseConstructorDetection.CONSTRUCTOR;
|
|
7297
|
+
var NATIVE_PROMISE_REJECTION_EVENT = PromiseConstructorDetection.REJECTION_EVENT;
|
|
7298
|
+
var NATIVE_PROMISE_SUBCLASSING = PromiseConstructorDetection.SUBCLASSING;
|
|
6915
7299
|
var getInternalPromiseState = InternalStateModule.getterFor(PROMISE);
|
|
6916
|
-
var
|
|
6917
|
-
var
|
|
7300
|
+
var setInternalState = InternalStateModule.set;
|
|
7301
|
+
var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
|
|
7302
|
+
var PromiseConstructor = NativePromiseConstructor;
|
|
6918
7303
|
var PromisePrototype = NativePromisePrototype;
|
|
6919
7304
|
var TypeError = global.TypeError;
|
|
6920
7305
|
var document = global.document;
|
|
@@ -6923,7 +7308,6 @@ var newPromiseCapability = newPromiseCapabilityModule.f;
|
|
|
6923
7308
|
var newGenericPromiseCapability = newPromiseCapability;
|
|
6924
7309
|
|
|
6925
7310
|
var DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent);
|
|
6926
|
-
var NATIVE_REJECTION_EVENT = isCallable(global.PromiseRejectionEvent);
|
|
6927
7311
|
var UNHANDLED_REJECTION = 'unhandledrejection';
|
|
6928
7312
|
var REJECTION_HANDLED = 'rejectionhandled';
|
|
6929
7313
|
var PENDING = 0;
|
|
@@ -6931,89 +7315,59 @@ var FULFILLED = 1;
|
|
|
6931
7315
|
var REJECTED = 2;
|
|
6932
7316
|
var HANDLED = 1;
|
|
6933
7317
|
var UNHANDLED = 2;
|
|
6934
|
-
var SUBCLASSING = false;
|
|
6935
7318
|
|
|
6936
7319
|
var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;
|
|
6937
7320
|
|
|
6938
|
-
var FORCED = isForced(PROMISE, function () {
|
|
6939
|
-
var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(PromiseConstructor);
|
|
6940
|
-
var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(PromiseConstructor);
|
|
6941
|
-
// V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables
|
|
6942
|
-
// https://bugs.chromium.org/p/chromium/issues/detail?id=830565
|
|
6943
|
-
// We can't detect it synchronously, so just check versions
|
|
6944
|
-
if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true;
|
|
6945
|
-
// We need Promise#finally in the pure version for preventing prototype pollution
|
|
6946
|
-
if (IS_PURE && !PromisePrototype['finally']) return true;
|
|
6947
|
-
// We can't use @@species feature detection in V8 since it causes
|
|
6948
|
-
// deoptimization and performance degradation
|
|
6949
|
-
// https://github.com/zloirock/core-js/issues/679
|
|
6950
|
-
if (V8_VERSION >= 51 && /native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) return false;
|
|
6951
|
-
// Detect correctness of subclassing with @@species support
|
|
6952
|
-
var promise = new PromiseConstructor(function (resolve) { resolve(1); });
|
|
6953
|
-
var FakePromise = function (exec) {
|
|
6954
|
-
exec(function () { /* empty */ }, function () { /* empty */ });
|
|
6955
|
-
};
|
|
6956
|
-
var constructor = promise.constructor = {};
|
|
6957
|
-
constructor[SPECIES] = FakePromise;
|
|
6958
|
-
SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;
|
|
6959
|
-
if (!SUBCLASSING) return true;
|
|
6960
|
-
// Unhandled rejections tracking support, NodeJS Promise without it fails @@species test
|
|
6961
|
-
return !GLOBAL_CORE_JS_PROMISE && IS_BROWSER && !NATIVE_REJECTION_EVENT;
|
|
6962
|
-
});
|
|
6963
|
-
|
|
6964
|
-
var INCORRECT_ITERATION = FORCED || !checkCorrectnessOfIteration(function (iterable) {
|
|
6965
|
-
PromiseConstructor.all(iterable)['catch'](function () { /* empty */ });
|
|
6966
|
-
});
|
|
6967
|
-
|
|
6968
7321
|
// helpers
|
|
6969
7322
|
var isThenable = function (it) {
|
|
6970
7323
|
var then;
|
|
6971
7324
|
return isObject(it) && isCallable(then = it.then) ? then : false;
|
|
6972
7325
|
};
|
|
6973
7326
|
|
|
7327
|
+
var callReaction = function (reaction, state) {
|
|
7328
|
+
var value = state.value;
|
|
7329
|
+
var ok = state.state == FULFILLED;
|
|
7330
|
+
var handler = ok ? reaction.ok : reaction.fail;
|
|
7331
|
+
var resolve = reaction.resolve;
|
|
7332
|
+
var reject = reaction.reject;
|
|
7333
|
+
var domain = reaction.domain;
|
|
7334
|
+
var result, then, exited;
|
|
7335
|
+
try {
|
|
7336
|
+
if (handler) {
|
|
7337
|
+
if (!ok) {
|
|
7338
|
+
if (state.rejection === UNHANDLED) onHandleUnhandled(state);
|
|
7339
|
+
state.rejection = HANDLED;
|
|
7340
|
+
}
|
|
7341
|
+
if (handler === true) result = value;
|
|
7342
|
+
else {
|
|
7343
|
+
if (domain) domain.enter();
|
|
7344
|
+
result = handler(value); // can throw
|
|
7345
|
+
if (domain) {
|
|
7346
|
+
domain.exit();
|
|
7347
|
+
exited = true;
|
|
7348
|
+
}
|
|
7349
|
+
}
|
|
7350
|
+
if (result === reaction.promise) {
|
|
7351
|
+
reject(TypeError('Promise-chain cycle'));
|
|
7352
|
+
} else if (then = isThenable(result)) {
|
|
7353
|
+
call(then, result, resolve, reject);
|
|
7354
|
+
} else resolve(result);
|
|
7355
|
+
} else reject(value);
|
|
7356
|
+
} catch (error) {
|
|
7357
|
+
if (domain && !exited) domain.exit();
|
|
7358
|
+
reject(error);
|
|
7359
|
+
}
|
|
7360
|
+
};
|
|
7361
|
+
|
|
6974
7362
|
var notify = function (state, isReject) {
|
|
6975
7363
|
if (state.notified) return;
|
|
6976
7364
|
state.notified = true;
|
|
6977
|
-
var chain = state.reactions;
|
|
6978
7365
|
microtask(function () {
|
|
6979
|
-
var
|
|
6980
|
-
var
|
|
6981
|
-
|
|
6982
|
-
|
|
6983
|
-
while (chain.length > index) {
|
|
6984
|
-
var reaction = chain[index++];
|
|
6985
|
-
var handler = ok ? reaction.ok : reaction.fail;
|
|
6986
|
-
var resolve = reaction.resolve;
|
|
6987
|
-
var reject = reaction.reject;
|
|
6988
|
-
var domain = reaction.domain;
|
|
6989
|
-
var result, then, exited;
|
|
6990
|
-
try {
|
|
6991
|
-
if (handler) {
|
|
6992
|
-
if (!ok) {
|
|
6993
|
-
if (state.rejection === UNHANDLED) onHandleUnhandled(state);
|
|
6994
|
-
state.rejection = HANDLED;
|
|
6995
|
-
}
|
|
6996
|
-
if (handler === true) result = value;
|
|
6997
|
-
else {
|
|
6998
|
-
if (domain) domain.enter();
|
|
6999
|
-
result = handler(value); // can throw
|
|
7000
|
-
if (domain) {
|
|
7001
|
-
domain.exit();
|
|
7002
|
-
exited = true;
|
|
7003
|
-
}
|
|
7004
|
-
}
|
|
7005
|
-
if (result === reaction.promise) {
|
|
7006
|
-
reject(TypeError('Promise-chain cycle'));
|
|
7007
|
-
} else if (then = isThenable(result)) {
|
|
7008
|
-
call(then, result, resolve, reject);
|
|
7009
|
-
} else resolve(result);
|
|
7010
|
-
} else reject(value);
|
|
7011
|
-
} catch (error) {
|
|
7012
|
-
if (domain && !exited) domain.exit();
|
|
7013
|
-
reject(error);
|
|
7014
|
-
}
|
|
7366
|
+
var reactions = state.reactions;
|
|
7367
|
+
var reaction;
|
|
7368
|
+
while (reaction = reactions.get()) {
|
|
7369
|
+
callReaction(reaction, state);
|
|
7015
7370
|
}
|
|
7016
|
-
state.reactions = [];
|
|
7017
7371
|
state.notified = false;
|
|
7018
7372
|
if (isReject && !state.rejection) onUnhandled(state);
|
|
7019
7373
|
});
|
|
@@ -7028,7 +7382,7 @@ var dispatchEvent = function (name, promise, reason) {
|
|
|
7028
7382
|
event.initEvent(name, false, true);
|
|
7029
7383
|
global.dispatchEvent(event);
|
|
7030
7384
|
} else event = { promise: promise, reason: reason };
|
|
7031
|
-
if (!
|
|
7385
|
+
if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global['on' + name])) handler(event);
|
|
7032
7386
|
else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
|
|
7033
7387
|
};
|
|
7034
7388
|
|
|
@@ -7109,20 +7463,22 @@ var internalResolve = function (state, value, unwrap) {
|
|
|
7109
7463
|
};
|
|
7110
7464
|
|
|
7111
7465
|
// constructor polyfill
|
|
7112
|
-
if (
|
|
7466
|
+
if (FORCED_PROMISE_CONSTRUCTOR) {
|
|
7113
7467
|
// 25.4.3.1 Promise(executor)
|
|
7114
7468
|
PromiseConstructor = function Promise(executor) {
|
|
7115
7469
|
anInstance(this, PromisePrototype);
|
|
7116
7470
|
aCallable(executor);
|
|
7117
7471
|
call(Internal, this);
|
|
7118
|
-
var state =
|
|
7472
|
+
var state = getInternalPromiseState(this);
|
|
7119
7473
|
try {
|
|
7120
7474
|
executor(bind(internalResolve, state), bind(internalReject, state));
|
|
7121
7475
|
} catch (error) {
|
|
7122
7476
|
internalReject(state, error);
|
|
7123
7477
|
}
|
|
7124
7478
|
};
|
|
7479
|
+
|
|
7125
7480
|
PromisePrototype = PromiseConstructor.prototype;
|
|
7481
|
+
|
|
7126
7482
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
7127
7483
|
Internal = function Promise(executor) {
|
|
7128
7484
|
setInternalState(this, {
|
|
@@ -7130,61 +7486,55 @@ if (FORCED) {
|
|
|
7130
7486
|
done: false,
|
|
7131
7487
|
notified: false,
|
|
7132
7488
|
parent: false,
|
|
7133
|
-
reactions:
|
|
7489
|
+
reactions: new Queue(),
|
|
7134
7490
|
rejection: false,
|
|
7135
7491
|
state: PENDING,
|
|
7136
7492
|
value: undefined
|
|
7137
7493
|
});
|
|
7138
7494
|
};
|
|
7139
|
-
|
|
7140
|
-
|
|
7141
|
-
|
|
7142
|
-
|
|
7143
|
-
|
|
7144
|
-
|
|
7145
|
-
|
|
7146
|
-
|
|
7147
|
-
|
|
7148
|
-
|
|
7149
|
-
|
|
7150
|
-
|
|
7151
|
-
|
|
7152
|
-
|
|
7153
|
-
|
|
7154
|
-
// `Promise.prototype.catch` method
|
|
7155
|
-
// https://tc39.es/ecma262/#sec-promise.prototype.catch
|
|
7156
|
-
'catch': function (onRejected) {
|
|
7157
|
-
return this.then(undefined, onRejected);
|
|
7158
|
-
}
|
|
7495
|
+
|
|
7496
|
+
// `Promise.prototype.then` method
|
|
7497
|
+
// https://tc39.es/ecma262/#sec-promise.prototype.then
|
|
7498
|
+
Internal.prototype = defineBuiltIn(PromisePrototype, 'then', function then(onFulfilled, onRejected) {
|
|
7499
|
+
var state = getInternalPromiseState(this);
|
|
7500
|
+
var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));
|
|
7501
|
+
state.parent = true;
|
|
7502
|
+
reaction.ok = isCallable(onFulfilled) ? onFulfilled : true;
|
|
7503
|
+
reaction.fail = isCallable(onRejected) && onRejected;
|
|
7504
|
+
reaction.domain = IS_NODE ? process.domain : undefined;
|
|
7505
|
+
if (state.state == PENDING) state.reactions.add(reaction);
|
|
7506
|
+
else microtask(function () {
|
|
7507
|
+
callReaction(reaction, state);
|
|
7508
|
+
});
|
|
7509
|
+
return reaction.promise;
|
|
7159
7510
|
});
|
|
7511
|
+
|
|
7160
7512
|
OwnPromiseCapability = function () {
|
|
7161
7513
|
var promise = new Internal();
|
|
7162
|
-
var state =
|
|
7514
|
+
var state = getInternalPromiseState(promise);
|
|
7163
7515
|
this.promise = promise;
|
|
7164
7516
|
this.resolve = bind(internalResolve, state);
|
|
7165
7517
|
this.reject = bind(internalReject, state);
|
|
7166
7518
|
};
|
|
7519
|
+
|
|
7167
7520
|
newPromiseCapabilityModule.f = newPromiseCapability = function (C) {
|
|
7168
7521
|
return C === PromiseConstructor || C === PromiseWrapper
|
|
7169
7522
|
? new OwnPromiseCapability(C)
|
|
7170
7523
|
: newGenericPromiseCapability(C);
|
|
7171
7524
|
};
|
|
7172
7525
|
|
|
7173
|
-
if (!IS_PURE && isCallable(
|
|
7526
|
+
if (!IS_PURE && isCallable(NativePromiseConstructor) && NativePromisePrototype !== Object.prototype) {
|
|
7174
7527
|
nativeThen = NativePromisePrototype.then;
|
|
7175
7528
|
|
|
7176
|
-
if (!
|
|
7529
|
+
if (!NATIVE_PROMISE_SUBCLASSING) {
|
|
7177
7530
|
// make `Promise#then` return a polyfilled `Promise` for native promise-based APIs
|
|
7178
|
-
|
|
7531
|
+
defineBuiltIn(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) {
|
|
7179
7532
|
var that = this;
|
|
7180
7533
|
return new PromiseConstructor(function (resolve, reject) {
|
|
7181
7534
|
call(nativeThen, that, resolve, reject);
|
|
7182
7535
|
}).then(onFulfilled, onRejected);
|
|
7183
7536
|
// https://github.com/zloirock/core-js/issues/640
|
|
7184
7537
|
}, { unsafe: true });
|
|
7185
|
-
|
|
7186
|
-
// makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`
|
|
7187
|
-
redefine(NativePromisePrototype, 'catch', PromisePrototype['catch'], { unsafe: true });
|
|
7188
7538
|
}
|
|
7189
7539
|
|
|
7190
7540
|
// make `.constructor === Promise` work for native promise-based APIs
|
|
@@ -7199,68 +7549,55 @@ if (FORCED) {
|
|
|
7199
7549
|
}
|
|
7200
7550
|
}
|
|
7201
7551
|
|
|
7202
|
-
$({ global: true, wrap: true, forced:
|
|
7552
|
+
$({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
|
|
7203
7553
|
Promise: PromiseConstructor
|
|
7204
7554
|
});
|
|
7205
7555
|
|
|
7206
7556
|
setToStringTag(PromiseConstructor, PROMISE, false, true);
|
|
7207
7557
|
setSpecies(PROMISE);
|
|
7208
7558
|
|
|
7209
|
-
PromiseWrapper = getBuiltIn(PROMISE);
|
|
7210
7559
|
|
|
7211
|
-
|
|
7212
|
-
$({ target: PROMISE, stat: true, forced: FORCED }, {
|
|
7213
|
-
// `Promise.reject` method
|
|
7214
|
-
// https://tc39.es/ecma262/#sec-promise.reject
|
|
7215
|
-
reject: function reject(r) {
|
|
7216
|
-
var capability = newPromiseCapability(this);
|
|
7217
|
-
call(capability.reject, undefined, r);
|
|
7218
|
-
return capability.promise;
|
|
7219
|
-
}
|
|
7220
|
-
});
|
|
7560
|
+
/***/ }),
|
|
7221
7561
|
|
|
7222
|
-
|
|
7223
|
-
|
|
7224
|
-
|
|
7225
|
-
|
|
7226
|
-
|
|
7227
|
-
}
|
|
7228
|
-
});
|
|
7562
|
+
/***/ "../../node_modules/core-js/modules/es.promise.js":
|
|
7563
|
+
/*!********************************************************!*\
|
|
7564
|
+
!*** ../../node_modules/core-js/modules/es.promise.js ***!
|
|
7565
|
+
\********************************************************/
|
|
7566
|
+
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
7229
7567
|
|
|
7230
|
-
|
|
7231
|
-
|
|
7232
|
-
|
|
7233
|
-
|
|
7234
|
-
|
|
7235
|
-
|
|
7236
|
-
|
|
7237
|
-
|
|
7238
|
-
|
|
7239
|
-
|
|
7240
|
-
|
|
7241
|
-
|
|
7242
|
-
|
|
7243
|
-
|
|
7244
|
-
|
|
7245
|
-
|
|
7246
|
-
|
|
7247
|
-
|
|
7248
|
-
|
|
7249
|
-
|
|
7250
|
-
|
|
7251
|
-
|
|
7252
|
-
|
|
7253
|
-
|
|
7254
|
-
|
|
7255
|
-
|
|
7256
|
-
|
|
7257
|
-
|
|
7258
|
-
|
|
7259
|
-
|
|
7260
|
-
// https://tc39.es/ecma262/#sec-promise.race
|
|
7568
|
+
// TODO: Remove this module from `core-js@4` since it's split to modules listed below
|
|
7569
|
+
__webpack_require__(/*! ../modules/es.promise.constructor */ "../../node_modules/core-js/modules/es.promise.constructor.js");
|
|
7570
|
+
__webpack_require__(/*! ../modules/es.promise.all */ "../../node_modules/core-js/modules/es.promise.all.js");
|
|
7571
|
+
__webpack_require__(/*! ../modules/es.promise.catch */ "../../node_modules/core-js/modules/es.promise.catch.js");
|
|
7572
|
+
__webpack_require__(/*! ../modules/es.promise.race */ "../../node_modules/core-js/modules/es.promise.race.js");
|
|
7573
|
+
__webpack_require__(/*! ../modules/es.promise.reject */ "../../node_modules/core-js/modules/es.promise.reject.js");
|
|
7574
|
+
__webpack_require__(/*! ../modules/es.promise.resolve */ "../../node_modules/core-js/modules/es.promise.resolve.js");
|
|
7575
|
+
|
|
7576
|
+
|
|
7577
|
+
/***/ }),
|
|
7578
|
+
|
|
7579
|
+
/***/ "../../node_modules/core-js/modules/es.promise.race.js":
|
|
7580
|
+
/*!*************************************************************!*\
|
|
7581
|
+
!*** ../../node_modules/core-js/modules/es.promise.race.js ***!
|
|
7582
|
+
\*************************************************************/
|
|
7583
|
+
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
7584
|
+
|
|
7585
|
+
"use strict";
|
|
7586
|
+
|
|
7587
|
+
var $ = __webpack_require__(/*! ../internals/export */ "../../node_modules/core-js/internals/export.js");
|
|
7588
|
+
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
7589
|
+
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../../node_modules/core-js/internals/a-callable.js");
|
|
7590
|
+
var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ "../../node_modules/core-js/internals/new-promise-capability.js");
|
|
7591
|
+
var perform = __webpack_require__(/*! ../internals/perform */ "../../node_modules/core-js/internals/perform.js");
|
|
7592
|
+
var iterate = __webpack_require__(/*! ../internals/iterate */ "../../node_modules/core-js/internals/iterate.js");
|
|
7593
|
+
var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(/*! ../internals/promise-statics-incorrect-iteration */ "../../node_modules/core-js/internals/promise-statics-incorrect-iteration.js");
|
|
7594
|
+
|
|
7595
|
+
// `Promise.race` method
|
|
7596
|
+
// https://tc39.es/ecma262/#sec-promise.race
|
|
7597
|
+
$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
|
|
7261
7598
|
race: function race(iterable) {
|
|
7262
7599
|
var C = this;
|
|
7263
|
-
var capability =
|
|
7600
|
+
var capability = newPromiseCapabilityModule.f(C);
|
|
7264
7601
|
var reject = capability.reject;
|
|
7265
7602
|
var result = perform(function () {
|
|
7266
7603
|
var $promiseResolve = aCallable(C.resolve);
|
|
@@ -7274,6 +7611,61 @@ $({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {
|
|
|
7274
7611
|
});
|
|
7275
7612
|
|
|
7276
7613
|
|
|
7614
|
+
/***/ }),
|
|
7615
|
+
|
|
7616
|
+
/***/ "../../node_modules/core-js/modules/es.promise.reject.js":
|
|
7617
|
+
/*!***************************************************************!*\
|
|
7618
|
+
!*** ../../node_modules/core-js/modules/es.promise.reject.js ***!
|
|
7619
|
+
\***************************************************************/
|
|
7620
|
+
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
7621
|
+
|
|
7622
|
+
"use strict";
|
|
7623
|
+
|
|
7624
|
+
var $ = __webpack_require__(/*! ../internals/export */ "../../node_modules/core-js/internals/export.js");
|
|
7625
|
+
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
7626
|
+
var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ "../../node_modules/core-js/internals/new-promise-capability.js");
|
|
7627
|
+
var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(/*! ../internals/promise-constructor-detection */ "../../node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR);
|
|
7628
|
+
|
|
7629
|
+
// `Promise.reject` method
|
|
7630
|
+
// https://tc39.es/ecma262/#sec-promise.reject
|
|
7631
|
+
$({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
|
|
7632
|
+
reject: function reject(r) {
|
|
7633
|
+
var capability = newPromiseCapabilityModule.f(this);
|
|
7634
|
+
call(capability.reject, undefined, r);
|
|
7635
|
+
return capability.promise;
|
|
7636
|
+
}
|
|
7637
|
+
});
|
|
7638
|
+
|
|
7639
|
+
|
|
7640
|
+
/***/ }),
|
|
7641
|
+
|
|
7642
|
+
/***/ "../../node_modules/core-js/modules/es.promise.resolve.js":
|
|
7643
|
+
/*!****************************************************************!*\
|
|
7644
|
+
!*** ../../node_modules/core-js/modules/es.promise.resolve.js ***!
|
|
7645
|
+
\****************************************************************/
|
|
7646
|
+
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
7647
|
+
|
|
7648
|
+
"use strict";
|
|
7649
|
+
|
|
7650
|
+
var $ = __webpack_require__(/*! ../internals/export */ "../../node_modules/core-js/internals/export.js");
|
|
7651
|
+
var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../../node_modules/core-js/internals/get-built-in.js");
|
|
7652
|
+
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../../node_modules/core-js/internals/is-pure.js");
|
|
7653
|
+
var NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ "../../node_modules/core-js/internals/promise-native-constructor.js");
|
|
7654
|
+
var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(/*! ../internals/promise-constructor-detection */ "../../node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR);
|
|
7655
|
+
var promiseResolve = __webpack_require__(/*! ../internals/promise-resolve */ "../../node_modules/core-js/internals/promise-resolve.js");
|
|
7656
|
+
|
|
7657
|
+
var PromiseConstructorWrapper = getBuiltIn('Promise');
|
|
7658
|
+
var CHECK_WRAPPER = IS_PURE && !FORCED_PROMISE_CONSTRUCTOR;
|
|
7659
|
+
|
|
7660
|
+
// `Promise.resolve` method
|
|
7661
|
+
// https://tc39.es/ecma262/#sec-promise.resolve
|
|
7662
|
+
$({ target: 'Promise', stat: true, forced: IS_PURE || FORCED_PROMISE_CONSTRUCTOR }, {
|
|
7663
|
+
resolve: function resolve(x) {
|
|
7664
|
+
return promiseResolve(CHECK_WRAPPER && this === PromiseConstructorWrapper ? NativePromiseConstructor : this, x);
|
|
7665
|
+
}
|
|
7666
|
+
});
|
|
7667
|
+
|
|
7668
|
+
|
|
7277
7669
|
/***/ }),
|
|
7278
7670
|
|
|
7279
7671
|
/***/ "../../node_modules/core-js/modules/es.symbol.description.js":
|
|
@@ -7338,7 +7730,7 @@ if (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in SymbolPrototy
|
|
|
7338
7730
|
}
|
|
7339
7731
|
});
|
|
7340
7732
|
|
|
7341
|
-
$({ global: true, forced: true }, {
|
|
7733
|
+
$({ global: true, constructor: true, forced: true }, {
|
|
7342
7734
|
Symbol: SymbolWrapper
|
|
7343
7735
|
});
|
|
7344
7736
|
}
|
|
@@ -7357,17 +7749,6 @@ module.exports = require("ajv");
|
|
|
7357
7749
|
|
|
7358
7750
|
/***/ }),
|
|
7359
7751
|
|
|
7360
|
-
/***/ "archiver":
|
|
7361
|
-
/*!***************************!*\
|
|
7362
|
-
!*** external "archiver" ***!
|
|
7363
|
-
\***************************/
|
|
7364
|
-
/***/ ((module) => {
|
|
7365
|
-
|
|
7366
|
-
"use strict";
|
|
7367
|
-
module.exports = require("archiver");
|
|
7368
|
-
|
|
7369
|
-
/***/ }),
|
|
7370
|
-
|
|
7371
7752
|
/***/ "axios":
|
|
7372
7753
|
/*!************************!*\
|
|
7373
7754
|
!*** external "axios" ***!
|
|
@@ -7412,6 +7793,17 @@ module.exports = require("glob");
|
|
|
7412
7793
|
|
|
7413
7794
|
/***/ }),
|
|
7414
7795
|
|
|
7796
|
+
/***/ "jszip":
|
|
7797
|
+
/*!************************!*\
|
|
7798
|
+
!*** external "jszip" ***!
|
|
7799
|
+
\************************/
|
|
7800
|
+
/***/ ((module) => {
|
|
7801
|
+
|
|
7802
|
+
"use strict";
|
|
7803
|
+
module.exports = require("jszip");
|
|
7804
|
+
|
|
7805
|
+
/***/ }),
|
|
7806
|
+
|
|
7415
7807
|
/***/ "rimraf":
|
|
7416
7808
|
/*!*************************!*\
|
|
7417
7809
|
!*** external "rimraf" ***!
|
|
@@ -7566,6 +7958,17 @@ module.exports = require("path");
|
|
|
7566
7958
|
|
|
7567
7959
|
/***/ }),
|
|
7568
7960
|
|
|
7961
|
+
/***/ "stream":
|
|
7962
|
+
/*!*************************!*\
|
|
7963
|
+
!*** external "stream" ***!
|
|
7964
|
+
\*************************/
|
|
7965
|
+
/***/ ((module) => {
|
|
7966
|
+
|
|
7967
|
+
"use strict";
|
|
7968
|
+
module.exports = require("stream");
|
|
7969
|
+
|
|
7970
|
+
/***/ }),
|
|
7971
|
+
|
|
7569
7972
|
/***/ "util":
|
|
7570
7973
|
/*!***********************!*\
|
|
7571
7974
|
!*** external "util" ***!
|
|
@@ -7584,7 +7987,7 @@ module.exports = require("util");
|
|
|
7584
7987
|
/***/ ((module) => {
|
|
7585
7988
|
|
|
7586
7989
|
"use strict";
|
|
7587
|
-
module.exports = JSON.parse('{"name":"@intelligentgraphics/ig.gfx.packager","version":"2.1.
|
|
7990
|
+
module.exports = JSON.parse('{"name":"@intelligentgraphics/ig.gfx.packager","version":"2.1.2","description":"IG.GFX.Packager 2.1.2 (2.1.2.100)","main":"build/index.js","private":false,"publishConfig":{"access":"public"},"bin":{"packager":"./build/index.js"},"files":["build","locales","scripts"],"scripts":{"dist":"webpack","clean":"rimraf build *.tsbuildinfo","prepublishOnly":"yarn clean && yarn dist","test":"jest","_postinstall":"node scripts/postinstall.js"},"author":"Michael Beier <mb@intelligentgraphics.biz>","dependencies":{"ajv":"^8.6.2","axios":"^0.21.1","core-js":"^3.16.0","execa":"^5.1.1","fs-extra":"^10.0.0","glob":"^7.1.4","jszip":"^3.10.0","rimraf":"^3.0.2","source-map-support":"^0.5.19","terser":"^4.8.0","typedoc":"~0.22.15","typescript":"~4.6.3","update-notifier":"^5.1.0","v8-compile-cache":"^2.1.1","y18n":"^5.0.8","yargs":"^17.0.1"},"devDependencies":{"@babel/plugin-proposal-class-properties":"^7.14.5","@babel/plugin-proposal-object-rest-spread":"^7.14.7","@babel/preset-env":"^7.14.9","@intelligentgraphics/ig.tools.core":"^1.5.1","@intelligentgraphics/ig.utilities":"^1.6.6","@types/archiver":"^5.1.1","@types/fs-extra":"^9.0.12","@types/glob":"^7.1.4","@types/node":"^16.4.11","@types/rimraf":"^3.0.1","@types/update-notifier":"^5.1.0","@types/yargs":"^17.0.2","babel-loader":"^8.1.0","jest":"^28.1.1","ts-jest":"^28.0.5","ts-loader":"^9.2.5","ts-node":"^10.1.0","webpack":"^5.64.4","webpack-cli":"^4.7.2"},"jest":{"transform":{"\\\\.tsx?$":"ts-jest"},"testRegex":"(.*\\\\.(test))\\\\.(ts|tsx)$","moduleFileExtensions":["ts","tsx","js","json"],"moduleNameMapper":{"^~/(.*)":"<rootDir>/src/$1"},"testEnvironmentOptions":{"url":"http://localhost/"}}}');
|
|
7588
7991
|
|
|
7589
7992
|
/***/ })
|
|
7590
7993
|
|
|
@@ -7649,9 +8052,9 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
7649
8052
|
|
|
7650
8053
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
7651
8054
|
|
|
7652
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
8055
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
7653
8056
|
|
|
7654
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
8057
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
7655
8058
|
|
|
7656
8059
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
7657
8060
|
|