@intelligentgraphics/ig.gfx.packager 2.1.1 → 2.1.4
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 +1006 -629
- package/build/index.js.map +1 -1
- package/package.json +26 -5
- package/readme.md +43 -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
|
|
|
@@ -3646,14 +3720,19 @@ var glob = _interopRequireWildcard(__webpack_require__(/*! glob */ "glob"));
|
|
|
3646
3720
|
|
|
3647
3721
|
var _typescript = __webpack_require__(/*! typescript */ "typescript");
|
|
3648
3722
|
|
|
3723
|
+
var path = _interopRequireWildcard(__webpack_require__(/*! path */ "path"));
|
|
3724
|
+
|
|
3649
3725
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
3650
3726
|
|
|
3651
3727
|
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; }
|
|
3652
3728
|
|
|
3653
3729
|
const generateDocs = async (folderPath, declarationFile, outFolder, name) => {
|
|
3654
3730
|
const app = new typedoc.Application();
|
|
3731
|
+
const mediaDir = path.join(folderPath, "Media");
|
|
3655
3732
|
app.bootstrap({
|
|
3656
|
-
entryPoints: [declarationFile]
|
|
3733
|
+
entryPoints: [declarationFile],
|
|
3734
|
+
media: mediaDir,
|
|
3735
|
+
out: outFolder
|
|
3657
3736
|
});
|
|
3658
3737
|
app.options.setCompilerOptions([declarationFile], {
|
|
3659
3738
|
target: _typescript.ScriptTarget.ES5
|
|
@@ -3740,7 +3819,7 @@ var path = _interopRequireWildcard(__webpack_require__(/*! path */ "path"));
|
|
|
3740
3819
|
|
|
3741
3820
|
var fs = _interopRequireWildcard(__webpack_require__(/*! fs-extra */ "fs-extra"));
|
|
3742
3821
|
|
|
3743
|
-
var
|
|
3822
|
+
var _jszip = _interopRequireDefault(__webpack_require__(/*! jszip */ "jszip"));
|
|
3744
3823
|
|
|
3745
3824
|
var terser = _interopRequireWildcard(__webpack_require__(/*! terser */ "terser"));
|
|
3746
3825
|
|
|
@@ -3748,9 +3827,13 @@ var _ajv = _interopRequireDefault(__webpack_require__(/*! ajv */ "ajv"));
|
|
|
3748
3827
|
|
|
3749
3828
|
var _axios = _interopRequireDefault(__webpack_require__(/*! axios */ "axios"));
|
|
3750
3829
|
|
|
3830
|
+
var stream = _interopRequireWildcard(__webpack_require__(/*! stream */ "stream"));
|
|
3831
|
+
|
|
3832
|
+
var _util = __webpack_require__(/*! util */ "util");
|
|
3833
|
+
|
|
3751
3834
|
var _igTools = __webpack_require__(/*! @intelligentgraphics/ig.tools.core */ "../core/build/index.js");
|
|
3752
3835
|
|
|
3753
|
-
var
|
|
3836
|
+
var _util2 = __webpack_require__(/*! ./util */ "./src/util.ts");
|
|
3754
3837
|
|
|
3755
3838
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
3756
3839
|
|
|
@@ -3758,31 +3841,25 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
3758
3841
|
|
|
3759
3842
|
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
3843
|
|
|
3761
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
3844
|
+
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
3845
|
|
|
3763
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
3846
|
+
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
3847
|
|
|
3765
3848
|
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
3849
|
|
|
3850
|
+
const pipeline = (0, _util.promisify)(stream.pipeline);
|
|
3767
3851
|
const PLUGIN_ID = "0feba3a0-b6d1-11e6-9598-0800200c9a66";
|
|
3768
3852
|
const PACKAGE_FILE = "_Package.json";
|
|
3769
3853
|
const INDEX_FILE = "_Index.json";
|
|
3770
3854
|
const ANIMATION_FILE = ".animation.json";
|
|
3771
|
-
var Mode;
|
|
3772
|
-
|
|
3773
|
-
(function (Mode) {
|
|
3774
|
-
Mode[Mode["Standard"] = 0] = "Standard";
|
|
3775
|
-
Mode[Mode["IG_GFX"] = 1] = "IG_GFX";
|
|
3776
|
-
})(Mode || (Mode = {}));
|
|
3777
|
-
|
|
3778
3855
|
let validateSchema;
|
|
3779
3856
|
const runtimeScripts = ["Interactor", "Core", "Mixed"];
|
|
3780
3857
|
const notRuntimeScripts = ["Context", "Evaluator"];
|
|
3781
3858
|
|
|
3782
3859
|
const executePackager = async options => {
|
|
3783
|
-
const logStep = step => (0,
|
|
3860
|
+
const logStep = step => (0, _util2.logPackageMessage)(options.data.Package, step);
|
|
3784
3861
|
|
|
3785
|
-
const packageName = `${options.
|
|
3862
|
+
const packageName = `${options.data.Package}_${options.version}`;
|
|
3786
3863
|
const binDir = path.join(options.cwd, "bin");
|
|
3787
3864
|
fs.ensureDirSync(binDir);
|
|
3788
3865
|
const zipFilePath = path.join(binDir, packageName + ".zip");
|
|
@@ -3805,7 +3882,8 @@ const buildArchive = async ({
|
|
|
3805
3882
|
domain,
|
|
3806
3883
|
subdomain,
|
|
3807
3884
|
cwd,
|
|
3808
|
-
folderPath
|
|
3885
|
+
folderPath,
|
|
3886
|
+
data
|
|
3809
3887
|
}, zipFilePath, logStep) => {
|
|
3810
3888
|
if (validateSchema === undefined) {
|
|
3811
3889
|
validateSchema = await _axios.default.get("https://archive.intelligentgraphics.biz/schemas/gfx/animation.json").then(({
|
|
@@ -3819,41 +3897,14 @@ const buildArchive = async ({
|
|
|
3819
3897
|
}).compile(data));
|
|
3820
3898
|
}
|
|
3821
3899
|
|
|
3822
|
-
let mode = Mode.Standard;
|
|
3823
|
-
|
|
3824
|
-
if (domain === "IG") {
|
|
3825
|
-
switch (subdomain) {
|
|
3826
|
-
case "GFX.Standard":
|
|
3827
|
-
case "GFX.Furniture":
|
|
3828
|
-
mode = Mode.IG_GFX;
|
|
3829
|
-
console.log("Special Mode: IG.GFX");
|
|
3830
|
-
break;
|
|
3831
|
-
}
|
|
3832
|
-
}
|
|
3833
|
-
|
|
3834
3900
|
const scriptDirectories = [];
|
|
3835
3901
|
let primaryScriptDir;
|
|
3836
3902
|
const libFilePath = path.join(cwd, "bin", `${domain}.${subdomain}.min.js`);
|
|
3837
3903
|
|
|
3838
|
-
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
|
|
3843
|
-
if (dir === "Standard") {
|
|
3844
|
-
scriptDirectories.push(path.join(cwd, "src", dir, "images"));
|
|
3845
|
-
}
|
|
3846
|
-
|
|
3847
|
-
break;
|
|
3848
|
-
|
|
3849
|
-
default:
|
|
3850
|
-
if (fs.existsSync(path.join(folderPath, "Scripts"))) {
|
|
3851
|
-
scriptDirectories.push(path.join(folderPath, "Scripts"));
|
|
3852
|
-
} else {
|
|
3853
|
-
scriptDirectories.push(folderPath);
|
|
3854
|
-
}
|
|
3855
|
-
|
|
3856
|
-
break;
|
|
3904
|
+
if (fs.existsSync(path.join(folderPath, "Scripts"))) {
|
|
3905
|
+
scriptDirectories.push(path.join(folderPath, "Scripts"));
|
|
3906
|
+
} else {
|
|
3907
|
+
scriptDirectories.push(folderPath);
|
|
3857
3908
|
}
|
|
3858
3909
|
|
|
3859
3910
|
try {
|
|
@@ -3863,6 +3914,11 @@ const buildArchive = async ({
|
|
|
3863
3914
|
throw new Error(`Expected scripts directory "${scriptDirectories[0]}" to exist`);
|
|
3864
3915
|
}
|
|
3865
3916
|
|
|
3917
|
+
if (subdomain === "GFX.Standard") {
|
|
3918
|
+
logStep(`Including Images folder`);
|
|
3919
|
+
scriptDirectories.push(path.join(folderPath, "Images"));
|
|
3920
|
+
}
|
|
3921
|
+
|
|
3866
3922
|
const manifest = _igTools.FileUtil.readJsonFile(path.join(primaryScriptDir, PACKAGE_FILE));
|
|
3867
3923
|
|
|
3868
3924
|
if (manifest !== undefined) {
|
|
@@ -3913,13 +3969,7 @@ Packaging without a javascript file is only allowed when animation json files ar
|
|
|
3913
3969
|
fs.unlinkSync(zipFilePath);
|
|
3914
3970
|
} catch {}
|
|
3915
3971
|
|
|
3916
|
-
const
|
|
3917
|
-
const archive = (0, _archiver.default)("zip", {
|
|
3918
|
-
zlib: {
|
|
3919
|
-
level: 9
|
|
3920
|
-
}
|
|
3921
|
-
});
|
|
3922
|
-
archive.pipe(zipOutputStream);
|
|
3972
|
+
const archive = new _jszip.default();
|
|
3923
3973
|
let library = "";
|
|
3924
3974
|
|
|
3925
3975
|
if (libFile) {
|
|
@@ -3932,22 +3982,19 @@ Packaging without a javascript file is only allowed when animation json files ar
|
|
|
3932
3982
|
* Copyright (C) ${date.getFullYear()} intelligentgraphics. All Rights Reserved. */`;
|
|
3933
3983
|
}
|
|
3934
3984
|
|
|
3935
|
-
if (!library.includes(`${domain}.${subdomain}`)) {
|
|
3936
|
-
library += `
|
|
3937
|
-
var ${domain};
|
|
3938
|
-
(function (${domain}) {
|
|
3939
|
-
var ${subdomain};
|
|
3940
|
-
(function (${subdomain}) {
|
|
3941
|
-
})(${subdomain} = ${domain}.${subdomain} || (${domain}.${subdomain} = {}));
|
|
3942
|
-
})(${domain} || (${domain} = {}));
|
|
3943
|
-
`;
|
|
3944
|
-
}
|
|
3945
|
-
|
|
3946
3985
|
if (animations.size > 0) {
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3986
|
+
const [scriptDomain, scriptSubdomain] = data.Scope.split(".");
|
|
3987
|
+
const scope = `${scriptDomain}.${scriptSubdomain}`;
|
|
3988
|
+
|
|
3989
|
+
if (!library.includes(scope)) {
|
|
3990
|
+
library += `
|
|
3991
|
+
var ${scriptDomain};
|
|
3992
|
+
(function (${scriptDomain}) {
|
|
3993
|
+
var ${scriptSubdomain};
|
|
3994
|
+
(function (${scriptSubdomain}) {
|
|
3995
|
+
})(${scriptSubdomain} = ${scriptDomain}.${scriptSubdomain} || (${scriptDomain}.${scriptSubdomain} = {}));
|
|
3996
|
+
})(${scriptDomain} || (${scriptDomain} = {}));
|
|
3997
|
+
`;
|
|
3951
3998
|
}
|
|
3952
3999
|
|
|
3953
4000
|
for (const [name, data] of animations) {
|
|
@@ -3959,9 +4006,7 @@ Packaging without a javascript file is only allowed when animation json files ar
|
|
|
3959
4006
|
const minifyResult = terser.minify(library, {
|
|
3960
4007
|
ecma: 5
|
|
3961
4008
|
});
|
|
3962
|
-
archive.
|
|
3963
|
-
name: `${domain}.${subdomain}.js`
|
|
3964
|
-
});
|
|
4009
|
+
archive.file(`${data.Package}.js`, minifyResult.code);
|
|
3965
4010
|
|
|
3966
4011
|
for (const directory of scriptDirectories) {
|
|
3967
4012
|
try {
|
|
@@ -3987,16 +4032,15 @@ Packaging without a javascript file is only allowed when animation json files ar
|
|
|
3987
4032
|
continue;
|
|
3988
4033
|
}
|
|
3989
4034
|
|
|
3990
|
-
archive.
|
|
3991
|
-
name: file
|
|
3992
|
-
});
|
|
4035
|
+
archive.file(file, fs.createReadStream(path.join(directory, file)));
|
|
3993
4036
|
}
|
|
3994
4037
|
} catch (err) {
|
|
3995
4038
|
console.error(`Script directory "${directory}" does not exist`);
|
|
3996
4039
|
}
|
|
3997
4040
|
}
|
|
3998
4041
|
|
|
3999
|
-
|
|
4042
|
+
const zipOutputStream = fs.createWriteStream(zipFilePath);
|
|
4043
|
+
await pipeline(archive.generateNodeStream(), zipOutputStream);
|
|
4000
4044
|
};
|
|
4001
4045
|
|
|
4002
4046
|
const uploadArchive = async ({
|
|
@@ -4176,7 +4220,7 @@ exports.loadDataFromFolder = loadDataFromFolder;
|
|
|
4176
4220
|
Object.defineProperty(exports, "__esModule", ({
|
|
4177
4221
|
value: true
|
|
4178
4222
|
}));
|
|
4179
|
-
exports.tryReadTsConfig = exports.build = void 0;
|
|
4223
|
+
exports.tryReadTsConfig = exports.findTypescriptFiles = exports.build = void 0;
|
|
4180
4224
|
|
|
4181
4225
|
__webpack_require__(/*! core-js/modules/es.promise.js */ "../../node_modules/core-js/modules/es.promise.js");
|
|
4182
4226
|
|
|
@@ -4194,9 +4238,9 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
4194
4238
|
|
|
4195
4239
|
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
4240
|
|
|
4197
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
4241
|
+
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
4242
|
|
|
4199
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
4243
|
+
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
4244
|
|
|
4201
4245
|
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
4246
|
|
|
@@ -4215,6 +4259,14 @@ const tryReadTsConfig = folderPath => {
|
|
|
4215
4259
|
|
|
4216
4260
|
exports.tryReadTsConfig = tryReadTsConfig;
|
|
4217
4261
|
|
|
4262
|
+
const findTypescriptFiles = folderPath => glob.sync("**/*.ts", {
|
|
4263
|
+
absolute: true,
|
|
4264
|
+
cwd: folderPath,
|
|
4265
|
+
ignore: "node_modules/**/*"
|
|
4266
|
+
});
|
|
4267
|
+
|
|
4268
|
+
exports.findTypescriptFiles = findTypescriptFiles;
|
|
4269
|
+
|
|
4218
4270
|
const build = async (folderPath, options) => {
|
|
4219
4271
|
const config = tryReadTsConfig(folderPath);
|
|
4220
4272
|
config.compilerOptions.lib = ["es5", "dom"];
|
|
@@ -4260,11 +4312,12 @@ ${data}`;
|
|
|
4260
4312
|
}
|
|
4261
4313
|
};
|
|
4262
4314
|
|
|
4263
|
-
const files =
|
|
4264
|
-
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
}
|
|
4315
|
+
const files = findTypescriptFiles(folderPath);
|
|
4316
|
+
|
|
4317
|
+
if (files.length === 0) {
|
|
4318
|
+
throw new Error(`Expected typescript files to exist when building a package. Packages only constisting of animation jsons do not need to be built.`);
|
|
4319
|
+
}
|
|
4320
|
+
|
|
4268
4321
|
const programOptions = {
|
|
4269
4322
|
rootNames: files,
|
|
4270
4323
|
options: compilerOptions,
|
|
@@ -4329,9 +4382,9 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
4329
4382
|
|
|
4330
4383
|
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
4384
|
|
|
4332
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
4385
|
+
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
4386
|
|
|
4334
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
4387
|
+
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
4388
|
|
|
4336
4389
|
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
4390
|
|
|
@@ -4446,16 +4499,15 @@ exports.parsePackageDomains = parsePackageDomains;
|
|
|
4446
4499
|
\**********************************************************/
|
|
4447
4500
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4448
4501
|
|
|
4449
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4450
4502
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
4451
4503
|
var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "../../node_modules/core-js/internals/try-to-string.js");
|
|
4452
4504
|
|
|
4453
|
-
var TypeError =
|
|
4505
|
+
var $TypeError = TypeError;
|
|
4454
4506
|
|
|
4455
4507
|
// `Assert: IsCallable(argument) is true`
|
|
4456
4508
|
module.exports = function (argument) {
|
|
4457
4509
|
if (isCallable(argument)) return argument;
|
|
4458
|
-
throw TypeError(tryToString(argument) + ' is not a function');
|
|
4510
|
+
throw $TypeError(tryToString(argument) + ' is not a function');
|
|
4459
4511
|
};
|
|
4460
4512
|
|
|
4461
4513
|
|
|
@@ -4467,16 +4519,15 @@ module.exports = function (argument) {
|
|
|
4467
4519
|
\*************************************************************/
|
|
4468
4520
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4469
4521
|
|
|
4470
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4471
4522
|
var isConstructor = __webpack_require__(/*! ../internals/is-constructor */ "../../node_modules/core-js/internals/is-constructor.js");
|
|
4472
4523
|
var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "../../node_modules/core-js/internals/try-to-string.js");
|
|
4473
4524
|
|
|
4474
|
-
var TypeError =
|
|
4525
|
+
var $TypeError = TypeError;
|
|
4475
4526
|
|
|
4476
4527
|
// `Assert: IsConstructor(argument) is true`
|
|
4477
4528
|
module.exports = function (argument) {
|
|
4478
4529
|
if (isConstructor(argument)) return argument;
|
|
4479
|
-
throw TypeError(tryToString(argument) + ' is not a constructor');
|
|
4530
|
+
throw $TypeError(tryToString(argument) + ' is not a constructor');
|
|
4480
4531
|
};
|
|
4481
4532
|
|
|
4482
4533
|
|
|
@@ -4488,15 +4539,14 @@ module.exports = function (argument) {
|
|
|
4488
4539
|
\********************************************************************/
|
|
4489
4540
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4490
4541
|
|
|
4491
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4492
4542
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
4493
4543
|
|
|
4494
|
-
var String =
|
|
4495
|
-
var TypeError =
|
|
4544
|
+
var $String = String;
|
|
4545
|
+
var $TypeError = TypeError;
|
|
4496
4546
|
|
|
4497
4547
|
module.exports = function (argument) {
|
|
4498
4548
|
if (typeof argument == 'object' || isCallable(argument)) return argument;
|
|
4499
|
-
throw TypeError("Can't set " + String(argument) + ' as a prototype');
|
|
4549
|
+
throw $TypeError("Can't set " + $String(argument) + ' as a prototype');
|
|
4500
4550
|
};
|
|
4501
4551
|
|
|
4502
4552
|
|
|
@@ -4508,14 +4558,13 @@ module.exports = function (argument) {
|
|
|
4508
4558
|
\***********************************************************/
|
|
4509
4559
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4510
4560
|
|
|
4511
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4512
4561
|
var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../../node_modules/core-js/internals/object-is-prototype-of.js");
|
|
4513
4562
|
|
|
4514
|
-
var TypeError =
|
|
4563
|
+
var $TypeError = TypeError;
|
|
4515
4564
|
|
|
4516
4565
|
module.exports = function (it, Prototype) {
|
|
4517
4566
|
if (isPrototypeOf(Prototype, it)) return it;
|
|
4518
|
-
throw TypeError('Incorrect invocation');
|
|
4567
|
+
throw $TypeError('Incorrect invocation');
|
|
4519
4568
|
};
|
|
4520
4569
|
|
|
4521
4570
|
|
|
@@ -4527,16 +4576,15 @@ module.exports = function (it, Prototype) {
|
|
|
4527
4576
|
\*********************************************************/
|
|
4528
4577
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4529
4578
|
|
|
4530
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4531
4579
|
var isObject = __webpack_require__(/*! ../internals/is-object */ "../../node_modules/core-js/internals/is-object.js");
|
|
4532
4580
|
|
|
4533
|
-
var String =
|
|
4534
|
-
var TypeError =
|
|
4581
|
+
var $String = String;
|
|
4582
|
+
var $TypeError = TypeError;
|
|
4535
4583
|
|
|
4536
4584
|
// `Assert: Type(argument) is Object`
|
|
4537
4585
|
module.exports = function (argument) {
|
|
4538
4586
|
if (isObject(argument)) return argument;
|
|
4539
|
-
throw TypeError(String(argument) + ' is not an object');
|
|
4587
|
+
throw $TypeError($String(argument) + ' is not an object');
|
|
4540
4588
|
};
|
|
4541
4589
|
|
|
4542
4590
|
|
|
@@ -4621,7 +4669,7 @@ try {
|
|
|
4621
4669
|
iteratorWithReturn[ITERATOR] = function () {
|
|
4622
4670
|
return this;
|
|
4623
4671
|
};
|
|
4624
|
-
// eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing
|
|
4672
|
+
// eslint-disable-next-line es-x/no-array-from, no-throw-literal -- required for testing
|
|
4625
4673
|
Array.from(iteratorWithReturn, function () { throw 2; });
|
|
4626
4674
|
} catch (error) { /* empty */ }
|
|
4627
4675
|
|
|
@@ -4669,14 +4717,13 @@ module.exports = function (it) {
|
|
|
4669
4717
|
\*******************************************************/
|
|
4670
4718
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4671
4719
|
|
|
4672
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4673
4720
|
var TO_STRING_TAG_SUPPORT = __webpack_require__(/*! ../internals/to-string-tag-support */ "../../node_modules/core-js/internals/to-string-tag-support.js");
|
|
4674
4721
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
4675
4722
|
var classofRaw = __webpack_require__(/*! ../internals/classof-raw */ "../../node_modules/core-js/internals/classof-raw.js");
|
|
4676
4723
|
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../../node_modules/core-js/internals/well-known-symbol.js");
|
|
4677
4724
|
|
|
4678
4725
|
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
4679
|
-
var Object =
|
|
4726
|
+
var $Object = Object;
|
|
4680
4727
|
|
|
4681
4728
|
// ES3 wrong here
|
|
4682
4729
|
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
|
|
@@ -4693,7 +4740,7 @@ module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
|
4693
4740
|
var O, tag, result;
|
|
4694
4741
|
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
4695
4742
|
// @@toStringTag case
|
|
4696
|
-
: typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag
|
|
4743
|
+
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
|
|
4697
4744
|
// builtinTag case
|
|
4698
4745
|
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
4699
4746
|
// ES3 arguments fallback
|
|
@@ -4714,13 +4761,15 @@ var ownKeys = __webpack_require__(/*! ../internals/own-keys */ "../../node_modul
|
|
|
4714
4761
|
var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "../../node_modules/core-js/internals/object-get-own-property-descriptor.js");
|
|
4715
4762
|
var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../../node_modules/core-js/internals/object-define-property.js");
|
|
4716
4763
|
|
|
4717
|
-
module.exports = function (target, source) {
|
|
4764
|
+
module.exports = function (target, source, exceptions) {
|
|
4718
4765
|
var keys = ownKeys(source);
|
|
4719
4766
|
var defineProperty = definePropertyModule.f;
|
|
4720
4767
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
4721
4768
|
for (var i = 0; i < keys.length; i++) {
|
|
4722
4769
|
var key = keys[i];
|
|
4723
|
-
if (!hasOwn(target, key)
|
|
4770
|
+
if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
|
|
4771
|
+
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
4772
|
+
}
|
|
4724
4773
|
}
|
|
4725
4774
|
};
|
|
4726
4775
|
|
|
@@ -4763,6 +4812,63 @@ module.exports = function (bitmap, value) {
|
|
|
4763
4812
|
};
|
|
4764
4813
|
|
|
4765
4814
|
|
|
4815
|
+
/***/ }),
|
|
4816
|
+
|
|
4817
|
+
/***/ "../../node_modules/core-js/internals/define-built-in.js":
|
|
4818
|
+
/*!***************************************************************!*\
|
|
4819
|
+
!*** ../../node_modules/core-js/internals/define-built-in.js ***!
|
|
4820
|
+
\***************************************************************/
|
|
4821
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4822
|
+
|
|
4823
|
+
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
4824
|
+
var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../../node_modules/core-js/internals/object-define-property.js");
|
|
4825
|
+
var makeBuiltIn = __webpack_require__(/*! ../internals/make-built-in */ "../../node_modules/core-js/internals/make-built-in.js");
|
|
4826
|
+
var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../../node_modules/core-js/internals/define-global-property.js");
|
|
4827
|
+
|
|
4828
|
+
module.exports = function (O, key, value, options) {
|
|
4829
|
+
if (!options) options = {};
|
|
4830
|
+
var simple = options.enumerable;
|
|
4831
|
+
var name = options.name !== undefined ? options.name : key;
|
|
4832
|
+
if (isCallable(value)) makeBuiltIn(value, name, options);
|
|
4833
|
+
if (options.global) {
|
|
4834
|
+
if (simple) O[key] = value;
|
|
4835
|
+
else defineGlobalProperty(key, value);
|
|
4836
|
+
} else {
|
|
4837
|
+
if (!options.unsafe) delete O[key];
|
|
4838
|
+
else if (O[key]) simple = true;
|
|
4839
|
+
if (simple) O[key] = value;
|
|
4840
|
+
else definePropertyModule.f(O, key, {
|
|
4841
|
+
value: value,
|
|
4842
|
+
enumerable: false,
|
|
4843
|
+
configurable: !options.nonConfigurable,
|
|
4844
|
+
writable: !options.nonWritable
|
|
4845
|
+
});
|
|
4846
|
+
} return O;
|
|
4847
|
+
};
|
|
4848
|
+
|
|
4849
|
+
|
|
4850
|
+
/***/ }),
|
|
4851
|
+
|
|
4852
|
+
/***/ "../../node_modules/core-js/internals/define-global-property.js":
|
|
4853
|
+
/*!**********************************************************************!*\
|
|
4854
|
+
!*** ../../node_modules/core-js/internals/define-global-property.js ***!
|
|
4855
|
+
\**********************************************************************/
|
|
4856
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4857
|
+
|
|
4858
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4859
|
+
|
|
4860
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
4861
|
+
var defineProperty = Object.defineProperty;
|
|
4862
|
+
|
|
4863
|
+
module.exports = function (key, value) {
|
|
4864
|
+
try {
|
|
4865
|
+
defineProperty(global, key, { value: value, configurable: true, writable: true });
|
|
4866
|
+
} catch (error) {
|
|
4867
|
+
global[key] = value;
|
|
4868
|
+
} return value;
|
|
4869
|
+
};
|
|
4870
|
+
|
|
4871
|
+
|
|
4766
4872
|
/***/ }),
|
|
4767
4873
|
|
|
4768
4874
|
/***/ "../../node_modules/core-js/internals/descriptors.js":
|
|
@@ -4775,7 +4881,7 @@ var fails = __webpack_require__(/*! ../internals/fails */ "../../node_modules/co
|
|
|
4775
4881
|
|
|
4776
4882
|
// Detect IE8's incomplete defineProperty implementation
|
|
4777
4883
|
module.exports = !fails(function () {
|
|
4778
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
4884
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
4779
4885
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
4780
4886
|
});
|
|
4781
4887
|
|
|
@@ -4808,7 +4914,7 @@ module.exports = function (it) {
|
|
|
4808
4914
|
\*****************************************************************/
|
|
4809
4915
|
/***/ ((module) => {
|
|
4810
4916
|
|
|
4811
|
-
module.exports = typeof window == 'object';
|
|
4917
|
+
module.exports = typeof window == 'object' && typeof Deno != 'object';
|
|
4812
4918
|
|
|
4813
4919
|
|
|
4814
4920
|
/***/ }),
|
|
@@ -4946,25 +5052,25 @@ module.exports = [
|
|
|
4946
5052
|
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4947
5053
|
var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "../../node_modules/core-js/internals/object-get-own-property-descriptor.js").f);
|
|
4948
5054
|
var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../../node_modules/core-js/internals/create-non-enumerable-property.js");
|
|
4949
|
-
var
|
|
4950
|
-
var
|
|
5055
|
+
var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "../../node_modules/core-js/internals/define-built-in.js");
|
|
5056
|
+
var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../../node_modules/core-js/internals/define-global-property.js");
|
|
4951
5057
|
var copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ "../../node_modules/core-js/internals/copy-constructor-properties.js");
|
|
4952
5058
|
var isForced = __webpack_require__(/*! ../internals/is-forced */ "../../node_modules/core-js/internals/is-forced.js");
|
|
4953
5059
|
|
|
4954
5060
|
/*
|
|
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
|
|
5061
|
+
options.target - name of the target object
|
|
5062
|
+
options.global - target is the global object
|
|
5063
|
+
options.stat - export as static methods of target
|
|
5064
|
+
options.proto - export as prototype methods of target
|
|
5065
|
+
options.real - real prototype method for the `pure` version
|
|
5066
|
+
options.forced - export even if the native feature is available
|
|
5067
|
+
options.bind - bind methods to the target, required for the `pure` version
|
|
5068
|
+
options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
|
|
5069
|
+
options.unsafe - use the simple assignment of property instead of delete + defineProperty
|
|
5070
|
+
options.sham - add a flag to not completely full polyfills
|
|
5071
|
+
options.enumerable - export as enumerable property
|
|
5072
|
+
options.dontCallGetSet - prevent calling a getter on target
|
|
5073
|
+
options.name - the .name of the function if it does not match the key
|
|
4968
5074
|
*/
|
|
4969
5075
|
module.exports = function (options, source) {
|
|
4970
5076
|
var TARGET = options.target;
|
|
@@ -4974,13 +5080,13 @@ module.exports = function (options, source) {
|
|
|
4974
5080
|
if (GLOBAL) {
|
|
4975
5081
|
target = global;
|
|
4976
5082
|
} else if (STATIC) {
|
|
4977
|
-
target = global[TARGET] ||
|
|
5083
|
+
target = global[TARGET] || defineGlobalProperty(TARGET, {});
|
|
4978
5084
|
} else {
|
|
4979
5085
|
target = (global[TARGET] || {}).prototype;
|
|
4980
5086
|
}
|
|
4981
5087
|
if (target) for (key in source) {
|
|
4982
5088
|
sourceProperty = source[key];
|
|
4983
|
-
if (options.
|
|
5089
|
+
if (options.dontCallGetSet) {
|
|
4984
5090
|
descriptor = getOwnPropertyDescriptor(target, key);
|
|
4985
5091
|
targetProperty = descriptor && descriptor.value;
|
|
4986
5092
|
} else targetProperty = target[key];
|
|
@@ -4994,8 +5100,7 @@ module.exports = function (options, source) {
|
|
|
4994
5100
|
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
4995
5101
|
createNonEnumerableProperty(sourceProperty, 'sham', true);
|
|
4996
5102
|
}
|
|
4997
|
-
|
|
4998
|
-
redefine(target, key, sourceProperty, options);
|
|
5103
|
+
defineBuiltIn(target, key, sourceProperty, options);
|
|
4999
5104
|
}
|
|
5000
5105
|
};
|
|
5001
5106
|
|
|
@@ -5023,15 +5128,16 @@ module.exports = function (exec) {
|
|
|
5023
5128
|
/*!**************************************************************!*\
|
|
5024
5129
|
!*** ../../node_modules/core-js/internals/function-apply.js ***!
|
|
5025
5130
|
\**************************************************************/
|
|
5026
|
-
/***/ ((module) => {
|
|
5131
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5132
|
+
|
|
5133
|
+
var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../../node_modules/core-js/internals/function-bind-native.js");
|
|
5027
5134
|
|
|
5028
5135
|
var FunctionPrototype = Function.prototype;
|
|
5029
5136
|
var apply = FunctionPrototype.apply;
|
|
5030
|
-
var bind = FunctionPrototype.bind;
|
|
5031
5137
|
var call = FunctionPrototype.call;
|
|
5032
5138
|
|
|
5033
|
-
// eslint-disable-next-line es/no-reflect -- safe
|
|
5034
|
-
module.exports = typeof Reflect == 'object' && Reflect.apply || (
|
|
5139
|
+
// eslint-disable-next-line es-x/no-reflect -- safe
|
|
5140
|
+
module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {
|
|
5035
5141
|
return call.apply(apply, arguments);
|
|
5036
5142
|
});
|
|
5037
5143
|
|
|
@@ -5046,29 +5152,50 @@ module.exports = typeof Reflect == 'object' && Reflect.apply || (bind ? call.bin
|
|
|
5046
5152
|
|
|
5047
5153
|
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../../node_modules/core-js/internals/function-uncurry-this.js");
|
|
5048
5154
|
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../../node_modules/core-js/internals/a-callable.js");
|
|
5155
|
+
var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../../node_modules/core-js/internals/function-bind-native.js");
|
|
5049
5156
|
|
|
5050
5157
|
var bind = uncurryThis(uncurryThis.bind);
|
|
5051
5158
|
|
|
5052
5159
|
// optional / simple context binding
|
|
5053
5160
|
module.exports = function (fn, that) {
|
|
5054
5161
|
aCallable(fn);
|
|
5055
|
-
return that === undefined ? fn :
|
|
5162
|
+
return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {
|
|
5056
5163
|
return fn.apply(that, arguments);
|
|
5057
5164
|
};
|
|
5058
5165
|
};
|
|
5059
5166
|
|
|
5060
5167
|
|
|
5168
|
+
/***/ }),
|
|
5169
|
+
|
|
5170
|
+
/***/ "../../node_modules/core-js/internals/function-bind-native.js":
|
|
5171
|
+
/*!********************************************************************!*\
|
|
5172
|
+
!*** ../../node_modules/core-js/internals/function-bind-native.js ***!
|
|
5173
|
+
\********************************************************************/
|
|
5174
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5175
|
+
|
|
5176
|
+
var fails = __webpack_require__(/*! ../internals/fails */ "../../node_modules/core-js/internals/fails.js");
|
|
5177
|
+
|
|
5178
|
+
module.exports = !fails(function () {
|
|
5179
|
+
// eslint-disable-next-line es-x/no-function-prototype-bind -- safe
|
|
5180
|
+
var test = (function () { /* empty */ }).bind();
|
|
5181
|
+
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
5182
|
+
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
5183
|
+
});
|
|
5184
|
+
|
|
5185
|
+
|
|
5061
5186
|
/***/ }),
|
|
5062
5187
|
|
|
5063
5188
|
/***/ "../../node_modules/core-js/internals/function-call.js":
|
|
5064
5189
|
/*!*************************************************************!*\
|
|
5065
5190
|
!*** ../../node_modules/core-js/internals/function-call.js ***!
|
|
5066
5191
|
\*************************************************************/
|
|
5067
|
-
/***/ ((module) => {
|
|
5192
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5193
|
+
|
|
5194
|
+
var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../../node_modules/core-js/internals/function-bind-native.js");
|
|
5068
5195
|
|
|
5069
5196
|
var call = Function.prototype.call;
|
|
5070
5197
|
|
|
5071
|
-
module.exports =
|
|
5198
|
+
module.exports = NATIVE_BIND ? call.bind(call) : function () {
|
|
5072
5199
|
return call.apply(call, arguments);
|
|
5073
5200
|
};
|
|
5074
5201
|
|
|
@@ -5085,7 +5212,7 @@ var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../../nod
|
|
|
5085
5212
|
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../../node_modules/core-js/internals/has-own-property.js");
|
|
5086
5213
|
|
|
5087
5214
|
var FunctionPrototype = Function.prototype;
|
|
5088
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
5215
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
5089
5216
|
var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
|
|
5090
5217
|
|
|
5091
5218
|
var EXISTS = hasOwn(FunctionPrototype, 'name');
|
|
@@ -5106,15 +5233,17 @@ module.exports = {
|
|
|
5106
5233
|
/*!*********************************************************************!*\
|
|
5107
5234
|
!*** ../../node_modules/core-js/internals/function-uncurry-this.js ***!
|
|
5108
5235
|
\*********************************************************************/
|
|
5109
|
-
/***/ ((module) => {
|
|
5236
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5237
|
+
|
|
5238
|
+
var NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ "../../node_modules/core-js/internals/function-bind-native.js");
|
|
5110
5239
|
|
|
5111
5240
|
var FunctionPrototype = Function.prototype;
|
|
5112
5241
|
var bind = FunctionPrototype.bind;
|
|
5113
5242
|
var call = FunctionPrototype.call;
|
|
5114
|
-
var
|
|
5243
|
+
var uncurryThis = NATIVE_BIND && bind.bind(call, call);
|
|
5115
5244
|
|
|
5116
|
-
module.exports =
|
|
5117
|
-
return fn &&
|
|
5245
|
+
module.exports = NATIVE_BIND ? function (fn) {
|
|
5246
|
+
return fn && uncurryThis(fn);
|
|
5118
5247
|
} : function (fn) {
|
|
5119
5248
|
return fn && function () {
|
|
5120
5249
|
return call.apply(fn, arguments);
|
|
@@ -5172,19 +5301,18 @@ module.exports = function (it) {
|
|
|
5172
5301
|
\************************************************************/
|
|
5173
5302
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5174
5303
|
|
|
5175
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
5176
5304
|
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
5177
5305
|
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../../node_modules/core-js/internals/a-callable.js");
|
|
5178
5306
|
var anObject = __webpack_require__(/*! ../internals/an-object */ "../../node_modules/core-js/internals/an-object.js");
|
|
5179
5307
|
var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "../../node_modules/core-js/internals/try-to-string.js");
|
|
5180
5308
|
var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ "../../node_modules/core-js/internals/get-iterator-method.js");
|
|
5181
5309
|
|
|
5182
|
-
var TypeError =
|
|
5310
|
+
var $TypeError = TypeError;
|
|
5183
5311
|
|
|
5184
5312
|
module.exports = function (argument, usingIterator) {
|
|
5185
5313
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;
|
|
5186
5314
|
if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));
|
|
5187
|
-
throw TypeError(tryToString(argument) + ' is not iterable');
|
|
5315
|
+
throw $TypeError(tryToString(argument) + ' is not iterable');
|
|
5188
5316
|
};
|
|
5189
5317
|
|
|
5190
5318
|
|
|
@@ -5220,7 +5348,7 @@ var check = function (it) {
|
|
|
5220
5348
|
|
|
5221
5349
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
5222
5350
|
module.exports =
|
|
5223
|
-
// eslint-disable-next-line es/no-global-this -- safe
|
|
5351
|
+
// eslint-disable-next-line es-x/no-global-this -- safe
|
|
5224
5352
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
5225
5353
|
check(typeof window == 'object' && window) ||
|
|
5226
5354
|
// eslint-disable-next-line no-restricted-globals -- safe
|
|
@@ -5245,6 +5373,7 @@ var hasOwnProperty = uncurryThis({}.hasOwnProperty);
|
|
|
5245
5373
|
|
|
5246
5374
|
// `HasOwnProperty` abstract operation
|
|
5247
5375
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
5376
|
+
// eslint-disable-next-line es-x/no-object-hasown -- safe
|
|
5248
5377
|
module.exports = Object.hasOwn || function hasOwn(it, key) {
|
|
5249
5378
|
return hasOwnProperty(toObject(it), key);
|
|
5250
5379
|
};
|
|
@@ -5304,9 +5433,9 @@ var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../../nod
|
|
|
5304
5433
|
var fails = __webpack_require__(/*! ../internals/fails */ "../../node_modules/core-js/internals/fails.js");
|
|
5305
5434
|
var createElement = __webpack_require__(/*! ../internals/document-create-element */ "../../node_modules/core-js/internals/document-create-element.js");
|
|
5306
5435
|
|
|
5307
|
-
//
|
|
5436
|
+
// Thanks to IE8 for its funny defineProperty
|
|
5308
5437
|
module.exports = !DESCRIPTORS && !fails(function () {
|
|
5309
|
-
// eslint-disable-next-line es/no-object-defineproperty --
|
|
5438
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
5310
5439
|
return Object.defineProperty(createElement('div'), 'a', {
|
|
5311
5440
|
get: function () { return 7; }
|
|
5312
5441
|
}).a != 7;
|
|
@@ -5321,22 +5450,21 @@ module.exports = !DESCRIPTORS && !fails(function () {
|
|
|
5321
5450
|
\**************************************************************/
|
|
5322
5451
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5323
5452
|
|
|
5324
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
5325
5453
|
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../../node_modules/core-js/internals/function-uncurry-this.js");
|
|
5326
5454
|
var fails = __webpack_require__(/*! ../internals/fails */ "../../node_modules/core-js/internals/fails.js");
|
|
5327
5455
|
var classof = __webpack_require__(/*! ../internals/classof-raw */ "../../node_modules/core-js/internals/classof-raw.js");
|
|
5328
5456
|
|
|
5329
|
-
var Object =
|
|
5457
|
+
var $Object = Object;
|
|
5330
5458
|
var split = uncurryThis(''.split);
|
|
5331
5459
|
|
|
5332
5460
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
5333
5461
|
module.exports = fails(function () {
|
|
5334
5462
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
5335
5463
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
5336
|
-
return
|
|
5464
|
+
return !$Object('z').propertyIsEnumerable(0);
|
|
5337
5465
|
}) ? function (it) {
|
|
5338
|
-
return classof(it) == 'String' ? split(it, '') : Object(it);
|
|
5339
|
-
} : Object;
|
|
5466
|
+
return classof(it) == 'String' ? split(it, '') : $Object(it);
|
|
5467
|
+
} : $Object;
|
|
5340
5468
|
|
|
5341
5469
|
|
|
5342
5470
|
/***/ }),
|
|
@@ -5499,7 +5627,7 @@ var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
|
5499
5627
|
var exec = uncurryThis(constructorRegExp.exec);
|
|
5500
5628
|
var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
|
|
5501
5629
|
|
|
5502
|
-
var isConstructorModern = function (argument) {
|
|
5630
|
+
var isConstructorModern = function isConstructor(argument) {
|
|
5503
5631
|
if (!isCallable(argument)) return false;
|
|
5504
5632
|
try {
|
|
5505
5633
|
construct(noop, empty, argument);
|
|
@@ -5509,16 +5637,25 @@ var isConstructorModern = function (argument) {
|
|
|
5509
5637
|
}
|
|
5510
5638
|
};
|
|
5511
5639
|
|
|
5512
|
-
var isConstructorLegacy = function (argument) {
|
|
5640
|
+
var isConstructorLegacy = function isConstructor(argument) {
|
|
5513
5641
|
if (!isCallable(argument)) return false;
|
|
5514
5642
|
switch (classof(argument)) {
|
|
5515
5643
|
case 'AsyncFunction':
|
|
5516
5644
|
case 'GeneratorFunction':
|
|
5517
5645
|
case 'AsyncGeneratorFunction': return false;
|
|
5646
|
+
}
|
|
5647
|
+
try {
|
|
5518
5648
|
// we can't check .prototype since constructors produced by .bind haven't it
|
|
5519
|
-
|
|
5649
|
+
// `Function#toString` throws on some built-it function in some legacy engines
|
|
5650
|
+
// (for example, `DOMQuad` and similar in FF41-)
|
|
5651
|
+
return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
|
|
5652
|
+
} catch (error) {
|
|
5653
|
+
return true;
|
|
5654
|
+
}
|
|
5520
5655
|
};
|
|
5521
5656
|
|
|
5657
|
+
isConstructorLegacy.sham = true;
|
|
5658
|
+
|
|
5522
5659
|
// `IsConstructor` abstract operation
|
|
5523
5660
|
// https://tc39.es/ecma262/#sec-isconstructor
|
|
5524
5661
|
module.exports = !construct || fails(function () {
|
|
@@ -5596,19 +5733,18 @@ module.exports = false;
|
|
|
5596
5733
|
\*********************************************************/
|
|
5597
5734
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5598
5735
|
|
|
5599
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
5600
5736
|
var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../../node_modules/core-js/internals/get-built-in.js");
|
|
5601
5737
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
5602
5738
|
var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../../node_modules/core-js/internals/object-is-prototype-of.js");
|
|
5603
5739
|
var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "../../node_modules/core-js/internals/use-symbol-as-uid.js");
|
|
5604
5740
|
|
|
5605
|
-
var Object =
|
|
5741
|
+
var $Object = Object;
|
|
5606
5742
|
|
|
5607
5743
|
module.exports = USE_SYMBOL_AS_UID ? function (it) {
|
|
5608
5744
|
return typeof it == 'symbol';
|
|
5609
5745
|
} : function (it) {
|
|
5610
5746
|
var $Symbol = getBuiltIn('Symbol');
|
|
5611
|
-
return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, Object(it));
|
|
5747
|
+
return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));
|
|
5612
5748
|
};
|
|
5613
5749
|
|
|
5614
5750
|
|
|
@@ -5620,7 +5756,6 @@ module.exports = USE_SYMBOL_AS_UID ? function (it) {
|
|
|
5620
5756
|
\*******************************************************/
|
|
5621
5757
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5622
5758
|
|
|
5623
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
5624
5759
|
var bind = __webpack_require__(/*! ../internals/function-bind-context */ "../../node_modules/core-js/internals/function-bind-context.js");
|
|
5625
5760
|
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
5626
5761
|
var anObject = __webpack_require__(/*! ../internals/an-object */ "../../node_modules/core-js/internals/an-object.js");
|
|
@@ -5632,7 +5767,7 @@ var getIterator = __webpack_require__(/*! ../internals/get-iterator */ "../../no
|
|
|
5632
5767
|
var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ "../../node_modules/core-js/internals/get-iterator-method.js");
|
|
5633
5768
|
var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../../node_modules/core-js/internals/iterator-close.js");
|
|
5634
5769
|
|
|
5635
|
-
var TypeError =
|
|
5770
|
+
var $TypeError = TypeError;
|
|
5636
5771
|
|
|
5637
5772
|
var Result = function (stopped, result) {
|
|
5638
5773
|
this.stopped = stopped;
|
|
@@ -5665,7 +5800,7 @@ module.exports = function (iterable, unboundFunction, options) {
|
|
|
5665
5800
|
iterator = iterable;
|
|
5666
5801
|
} else {
|
|
5667
5802
|
iterFn = getIteratorMethod(iterable);
|
|
5668
|
-
if (!iterFn) throw TypeError(tryToString(iterable) + ' is not iterable');
|
|
5803
|
+
if (!iterFn) throw $TypeError(tryToString(iterable) + ' is not iterable');
|
|
5669
5804
|
// optimisation for array iterators
|
|
5670
5805
|
if (isArrayIteratorMethod(iterFn)) {
|
|
5671
5806
|
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
|
|
@@ -5751,34 +5886,112 @@ module.exports = function (obj) {
|
|
|
5751
5886
|
|
|
5752
5887
|
/***/ }),
|
|
5753
5888
|
|
|
5754
|
-
/***/ "../../node_modules/core-js/internals/
|
|
5755
|
-
|
|
5756
|
-
!*** ../../node_modules/core-js/internals/
|
|
5757
|
-
|
|
5889
|
+
/***/ "../../node_modules/core-js/internals/make-built-in.js":
|
|
5890
|
+
/*!*************************************************************!*\
|
|
5891
|
+
!*** ../../node_modules/core-js/internals/make-built-in.js ***!
|
|
5892
|
+
\*************************************************************/
|
|
5758
5893
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5759
5894
|
|
|
5760
|
-
var
|
|
5761
|
-
var
|
|
5762
|
-
var
|
|
5763
|
-
var
|
|
5764
|
-
var
|
|
5765
|
-
var
|
|
5766
|
-
var
|
|
5767
|
-
var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ "../../node_modules/core-js/internals/engine-is-node.js");
|
|
5895
|
+
var fails = __webpack_require__(/*! ../internals/fails */ "../../node_modules/core-js/internals/fails.js");
|
|
5896
|
+
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
5897
|
+
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../../node_modules/core-js/internals/has-own-property.js");
|
|
5898
|
+
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../../node_modules/core-js/internals/descriptors.js");
|
|
5899
|
+
var CONFIGURABLE_FUNCTION_NAME = (__webpack_require__(/*! ../internals/function-name */ "../../node_modules/core-js/internals/function-name.js").CONFIGURABLE);
|
|
5900
|
+
var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ "../../node_modules/core-js/internals/inspect-source.js");
|
|
5901
|
+
var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "../../node_modules/core-js/internals/internal-state.js");
|
|
5768
5902
|
|
|
5769
|
-
var
|
|
5770
|
-
var
|
|
5771
|
-
|
|
5772
|
-
var
|
|
5773
|
-
// Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`
|
|
5774
|
-
var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask');
|
|
5775
|
-
var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;
|
|
5903
|
+
var enforceInternalState = InternalStateModule.enforce;
|
|
5904
|
+
var getInternalState = InternalStateModule.get;
|
|
5905
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
5906
|
+
var defineProperty = Object.defineProperty;
|
|
5776
5907
|
|
|
5777
|
-
var
|
|
5908
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {
|
|
5909
|
+
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
5910
|
+
});
|
|
5778
5911
|
|
|
5779
|
-
|
|
5780
|
-
|
|
5781
|
-
|
|
5912
|
+
var TEMPLATE = String(String).split('String');
|
|
5913
|
+
|
|
5914
|
+
var makeBuiltIn = module.exports = function (value, name, options) {
|
|
5915
|
+
if (String(name).slice(0, 7) === 'Symbol(') {
|
|
5916
|
+
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
5917
|
+
}
|
|
5918
|
+
if (options && options.getter) name = 'get ' + name;
|
|
5919
|
+
if (options && options.setter) name = 'set ' + name;
|
|
5920
|
+
if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
|
5921
|
+
defineProperty(value, 'name', { value: name, configurable: true });
|
|
5922
|
+
}
|
|
5923
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {
|
|
5924
|
+
defineProperty(value, 'length', { value: options.arity });
|
|
5925
|
+
}
|
|
5926
|
+
try {
|
|
5927
|
+
if (options && hasOwn(options, 'constructor') && options.constructor) {
|
|
5928
|
+
if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });
|
|
5929
|
+
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
5930
|
+
} else if (value.prototype) value.prototype = undefined;
|
|
5931
|
+
} catch (error) { /* empty */ }
|
|
5932
|
+
var state = enforceInternalState(value);
|
|
5933
|
+
if (!hasOwn(state, 'source')) {
|
|
5934
|
+
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
5935
|
+
} return value;
|
|
5936
|
+
};
|
|
5937
|
+
|
|
5938
|
+
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
5939
|
+
// eslint-disable-next-line no-extend-native -- required
|
|
5940
|
+
Function.prototype.toString = makeBuiltIn(function toString() {
|
|
5941
|
+
return isCallable(this) && getInternalState(this).source || inspectSource(this);
|
|
5942
|
+
}, 'toString');
|
|
5943
|
+
|
|
5944
|
+
|
|
5945
|
+
/***/ }),
|
|
5946
|
+
|
|
5947
|
+
/***/ "../../node_modules/core-js/internals/math-trunc.js":
|
|
5948
|
+
/*!**********************************************************!*\
|
|
5949
|
+
!*** ../../node_modules/core-js/internals/math-trunc.js ***!
|
|
5950
|
+
\**********************************************************/
|
|
5951
|
+
/***/ ((module) => {
|
|
5952
|
+
|
|
5953
|
+
var ceil = Math.ceil;
|
|
5954
|
+
var floor = Math.floor;
|
|
5955
|
+
|
|
5956
|
+
// `Math.trunc` method
|
|
5957
|
+
// https://tc39.es/ecma262/#sec-math.trunc
|
|
5958
|
+
// eslint-disable-next-line es-x/no-math-trunc -- safe
|
|
5959
|
+
module.exports = Math.trunc || function trunc(x) {
|
|
5960
|
+
var n = +x;
|
|
5961
|
+
return (n > 0 ? floor : ceil)(n);
|
|
5962
|
+
};
|
|
5963
|
+
|
|
5964
|
+
|
|
5965
|
+
/***/ }),
|
|
5966
|
+
|
|
5967
|
+
/***/ "../../node_modules/core-js/internals/microtask.js":
|
|
5968
|
+
/*!*********************************************************!*\
|
|
5969
|
+
!*** ../../node_modules/core-js/internals/microtask.js ***!
|
|
5970
|
+
\*********************************************************/
|
|
5971
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5972
|
+
|
|
5973
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
5974
|
+
var bind = __webpack_require__(/*! ../internals/function-bind-context */ "../../node_modules/core-js/internals/function-bind-context.js");
|
|
5975
|
+
var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "../../node_modules/core-js/internals/object-get-own-property-descriptor.js").f);
|
|
5976
|
+
var macrotask = (__webpack_require__(/*! ../internals/task */ "../../node_modules/core-js/internals/task.js").set);
|
|
5977
|
+
var IS_IOS = __webpack_require__(/*! ../internals/engine-is-ios */ "../../node_modules/core-js/internals/engine-is-ios.js");
|
|
5978
|
+
var IS_IOS_PEBBLE = __webpack_require__(/*! ../internals/engine-is-ios-pebble */ "../../node_modules/core-js/internals/engine-is-ios-pebble.js");
|
|
5979
|
+
var IS_WEBOS_WEBKIT = __webpack_require__(/*! ../internals/engine-is-webos-webkit */ "../../node_modules/core-js/internals/engine-is-webos-webkit.js");
|
|
5980
|
+
var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ "../../node_modules/core-js/internals/engine-is-node.js");
|
|
5981
|
+
|
|
5982
|
+
var MutationObserver = global.MutationObserver || global.WebKitMutationObserver;
|
|
5983
|
+
var document = global.document;
|
|
5984
|
+
var process = global.process;
|
|
5985
|
+
var Promise = global.Promise;
|
|
5986
|
+
// Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`
|
|
5987
|
+
var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask');
|
|
5988
|
+
var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;
|
|
5989
|
+
|
|
5990
|
+
var flush, head, last, notify, toggle, node, promise, then;
|
|
5991
|
+
|
|
5992
|
+
// modern engines have queueMicrotask method
|
|
5993
|
+
if (!queueMicrotask) {
|
|
5994
|
+
flush = function () {
|
|
5782
5995
|
var parent, fn;
|
|
5783
5996
|
if (IS_NODE && (parent = process.domain)) parent.exit();
|
|
5784
5997
|
while (head) {
|
|
@@ -5822,7 +6035,7 @@ if (!queueMicrotask) {
|
|
|
5822
6035
|
// for other environments - macrotask based on:
|
|
5823
6036
|
// - setImmediate
|
|
5824
6037
|
// - MessageChannel
|
|
5825
|
-
// - window.
|
|
6038
|
+
// - window.postMessage
|
|
5826
6039
|
// - onreadystatechange
|
|
5827
6040
|
// - setTimeout
|
|
5828
6041
|
} else {
|
|
@@ -5844,19 +6057,6 @@ module.exports = queueMicrotask || function (fn) {
|
|
|
5844
6057
|
};
|
|
5845
6058
|
|
|
5846
6059
|
|
|
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
6060
|
/***/ }),
|
|
5861
6061
|
|
|
5862
6062
|
/***/ "../../node_modules/core-js/internals/native-symbol.js":
|
|
@@ -5865,11 +6065,11 @@ module.exports = global.Promise;
|
|
|
5865
6065
|
\*************************************************************/
|
|
5866
6066
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5867
6067
|
|
|
5868
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
|
6068
|
+
/* eslint-disable es-x/no-symbol -- required for testing */
|
|
5869
6069
|
var V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ "../../node_modules/core-js/internals/engine-v8-version.js");
|
|
5870
6070
|
var fails = __webpack_require__(/*! ../internals/fails */ "../../node_modules/core-js/internals/fails.js");
|
|
5871
6071
|
|
|
5872
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
6072
|
+
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
|
|
5873
6073
|
module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
5874
6074
|
var symbol = Symbol();
|
|
5875
6075
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
@@ -5935,26 +6135,46 @@ module.exports.f = function (C) {
|
|
|
5935
6135
|
\**********************************************************************/
|
|
5936
6136
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5937
6137
|
|
|
5938
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
5939
6138
|
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../../node_modules/core-js/internals/descriptors.js");
|
|
5940
6139
|
var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "../../node_modules/core-js/internals/ie8-dom-define.js");
|
|
6140
|
+
var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(/*! ../internals/v8-prototype-define-bug */ "../../node_modules/core-js/internals/v8-prototype-define-bug.js");
|
|
5941
6141
|
var anObject = __webpack_require__(/*! ../internals/an-object */ "../../node_modules/core-js/internals/an-object.js");
|
|
5942
6142
|
var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "../../node_modules/core-js/internals/to-property-key.js");
|
|
5943
6143
|
|
|
5944
|
-
var TypeError =
|
|
5945
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
6144
|
+
var $TypeError = TypeError;
|
|
6145
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
5946
6146
|
var $defineProperty = Object.defineProperty;
|
|
6147
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
6148
|
+
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
6149
|
+
var ENUMERABLE = 'enumerable';
|
|
6150
|
+
var CONFIGURABLE = 'configurable';
|
|
6151
|
+
var WRITABLE = 'writable';
|
|
5947
6152
|
|
|
5948
6153
|
// `Object.defineProperty` method
|
|
5949
6154
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
5950
|
-
exports.f = DESCRIPTORS ?
|
|
6155
|
+
exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
|
|
6156
|
+
anObject(O);
|
|
6157
|
+
P = toPropertyKey(P);
|
|
6158
|
+
anObject(Attributes);
|
|
6159
|
+
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
6160
|
+
var current = $getOwnPropertyDescriptor(O, P);
|
|
6161
|
+
if (current && current[WRITABLE]) {
|
|
6162
|
+
O[P] = Attributes.value;
|
|
6163
|
+
Attributes = {
|
|
6164
|
+
configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],
|
|
6165
|
+
enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
|
|
6166
|
+
writable: false
|
|
6167
|
+
};
|
|
6168
|
+
}
|
|
6169
|
+
} return $defineProperty(O, P, Attributes);
|
|
6170
|
+
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
5951
6171
|
anObject(O);
|
|
5952
6172
|
P = toPropertyKey(P);
|
|
5953
6173
|
anObject(Attributes);
|
|
5954
6174
|
if (IE8_DOM_DEFINE) try {
|
|
5955
6175
|
return $defineProperty(O, P, Attributes);
|
|
5956
6176
|
} catch (error) { /* empty */ }
|
|
5957
|
-
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
|
|
6177
|
+
if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');
|
|
5958
6178
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
5959
6179
|
return O;
|
|
5960
6180
|
};
|
|
@@ -5977,7 +6197,7 @@ var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "../
|
|
|
5977
6197
|
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../../node_modules/core-js/internals/has-own-property.js");
|
|
5978
6198
|
var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "../../node_modules/core-js/internals/ie8-dom-define.js");
|
|
5979
6199
|
|
|
5980
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
6200
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
5981
6201
|
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
5982
6202
|
|
|
5983
6203
|
// `Object.getOwnPropertyDescriptor` method
|
|
@@ -6007,7 +6227,7 @@ var hiddenKeys = enumBugKeys.concat('length', 'prototype');
|
|
|
6007
6227
|
|
|
6008
6228
|
// `Object.getOwnPropertyNames` method
|
|
6009
6229
|
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
6010
|
-
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
|
6230
|
+
// eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
|
|
6011
6231
|
exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
6012
6232
|
return internalObjectKeys(O, hiddenKeys);
|
|
6013
6233
|
};
|
|
@@ -6021,7 +6241,7 @@ exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
|
6021
6241
|
\*******************************************************************************/
|
|
6022
6242
|
/***/ ((__unused_webpack_module, exports) => {
|
|
6023
6243
|
|
|
6024
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
6244
|
+
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
|
|
6025
6245
|
exports.f = Object.getOwnPropertySymbols;
|
|
6026
6246
|
|
|
6027
6247
|
|
|
@@ -6079,7 +6299,7 @@ module.exports = function (object, names) {
|
|
|
6079
6299
|
"use strict";
|
|
6080
6300
|
|
|
6081
6301
|
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
6082
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
6302
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
6083
6303
|
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
6084
6304
|
|
|
6085
6305
|
// Nashorn ~ JDK8 bug
|
|
@@ -6109,13 +6329,13 @@ var aPossiblePrototype = __webpack_require__(/*! ../internals/a-possible-prototy
|
|
|
6109
6329
|
// `Object.setPrototypeOf` method
|
|
6110
6330
|
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
|
6111
6331
|
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
6112
|
-
// eslint-disable-next-line es/no-object-setprototypeof -- safe
|
|
6332
|
+
// eslint-disable-next-line es-x/no-object-setprototypeof -- safe
|
|
6113
6333
|
module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
6114
6334
|
var CORRECT_SETTER = false;
|
|
6115
6335
|
var test = {};
|
|
6116
6336
|
var setter;
|
|
6117
6337
|
try {
|
|
6118
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
6338
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
6119
6339
|
setter = uncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
6120
6340
|
setter(test, []);
|
|
6121
6341
|
CORRECT_SETTER = test instanceof Array;
|
|
@@ -6138,12 +6358,11 @@ module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
|
6138
6358
|
\*********************************************************************/
|
|
6139
6359
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6140
6360
|
|
|
6141
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6142
6361
|
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
6143
6362
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
6144
6363
|
var isObject = __webpack_require__(/*! ../internals/is-object */ "../../node_modules/core-js/internals/is-object.js");
|
|
6145
6364
|
|
|
6146
|
-
var TypeError =
|
|
6365
|
+
var $TypeError = TypeError;
|
|
6147
6366
|
|
|
6148
6367
|
// `OrdinaryToPrimitive` abstract operation
|
|
6149
6368
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
@@ -6152,7 +6371,7 @@ module.exports = function (input, pref) {
|
|
|
6152
6371
|
if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
|
|
6153
6372
|
if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;
|
|
6154
6373
|
if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
|
|
6155
|
-
throw TypeError("Can't convert object to primitive value");
|
|
6374
|
+
throw $TypeError("Can't convert object to primitive value");
|
|
6156
6375
|
};
|
|
6157
6376
|
|
|
6158
6377
|
|
|
@@ -6197,6 +6416,75 @@ module.exports = function (exec) {
|
|
|
6197
6416
|
};
|
|
6198
6417
|
|
|
6199
6418
|
|
|
6419
|
+
/***/ }),
|
|
6420
|
+
|
|
6421
|
+
/***/ "../../node_modules/core-js/internals/promise-constructor-detection.js":
|
|
6422
|
+
/*!*****************************************************************************!*\
|
|
6423
|
+
!*** ../../node_modules/core-js/internals/promise-constructor-detection.js ***!
|
|
6424
|
+
\*****************************************************************************/
|
|
6425
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6426
|
+
|
|
6427
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6428
|
+
var NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ "../../node_modules/core-js/internals/promise-native-constructor.js");
|
|
6429
|
+
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
6430
|
+
var isForced = __webpack_require__(/*! ../internals/is-forced */ "../../node_modules/core-js/internals/is-forced.js");
|
|
6431
|
+
var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ "../../node_modules/core-js/internals/inspect-source.js");
|
|
6432
|
+
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../../node_modules/core-js/internals/well-known-symbol.js");
|
|
6433
|
+
var IS_BROWSER = __webpack_require__(/*! ../internals/engine-is-browser */ "../../node_modules/core-js/internals/engine-is-browser.js");
|
|
6434
|
+
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../../node_modules/core-js/internals/is-pure.js");
|
|
6435
|
+
var V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ "../../node_modules/core-js/internals/engine-v8-version.js");
|
|
6436
|
+
|
|
6437
|
+
var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
|
|
6438
|
+
var SPECIES = wellKnownSymbol('species');
|
|
6439
|
+
var SUBCLASSING = false;
|
|
6440
|
+
var NATIVE_PROMISE_REJECTION_EVENT = isCallable(global.PromiseRejectionEvent);
|
|
6441
|
+
|
|
6442
|
+
var FORCED_PROMISE_CONSTRUCTOR = isForced('Promise', function () {
|
|
6443
|
+
var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor);
|
|
6444
|
+
var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(NativePromiseConstructor);
|
|
6445
|
+
// V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables
|
|
6446
|
+
// https://bugs.chromium.org/p/chromium/issues/detail?id=830565
|
|
6447
|
+
// We can't detect it synchronously, so just check versions
|
|
6448
|
+
if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true;
|
|
6449
|
+
// We need Promise#{ catch, finally } in the pure version for preventing prototype pollution
|
|
6450
|
+
if (IS_PURE && !(NativePromisePrototype['catch'] && NativePromisePrototype['finally'])) return true;
|
|
6451
|
+
// We can't use @@species feature detection in V8 since it causes
|
|
6452
|
+
// deoptimization and performance degradation
|
|
6453
|
+
// https://github.com/zloirock/core-js/issues/679
|
|
6454
|
+
if (V8_VERSION >= 51 && /native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) return false;
|
|
6455
|
+
// Detect correctness of subclassing with @@species support
|
|
6456
|
+
var promise = new NativePromiseConstructor(function (resolve) { resolve(1); });
|
|
6457
|
+
var FakePromise = function (exec) {
|
|
6458
|
+
exec(function () { /* empty */ }, function () { /* empty */ });
|
|
6459
|
+
};
|
|
6460
|
+
var constructor = promise.constructor = {};
|
|
6461
|
+
constructor[SPECIES] = FakePromise;
|
|
6462
|
+
SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;
|
|
6463
|
+
if (!SUBCLASSING) return true;
|
|
6464
|
+
// Unhandled rejections tracking support, NodeJS Promise without it fails @@species test
|
|
6465
|
+
return !GLOBAL_CORE_JS_PROMISE && IS_BROWSER && !NATIVE_PROMISE_REJECTION_EVENT;
|
|
6466
|
+
});
|
|
6467
|
+
|
|
6468
|
+
module.exports = {
|
|
6469
|
+
CONSTRUCTOR: FORCED_PROMISE_CONSTRUCTOR,
|
|
6470
|
+
REJECTION_EVENT: NATIVE_PROMISE_REJECTION_EVENT,
|
|
6471
|
+
SUBCLASSING: SUBCLASSING
|
|
6472
|
+
};
|
|
6473
|
+
|
|
6474
|
+
|
|
6475
|
+
/***/ }),
|
|
6476
|
+
|
|
6477
|
+
/***/ "../../node_modules/core-js/internals/promise-native-constructor.js":
|
|
6478
|
+
/*!**************************************************************************!*\
|
|
6479
|
+
!*** ../../node_modules/core-js/internals/promise-native-constructor.js ***!
|
|
6480
|
+
\**************************************************************************/
|
|
6481
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6482
|
+
|
|
6483
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6484
|
+
|
|
6485
|
+
module.exports = global.Promise;
|
|
6486
|
+
|
|
6487
|
+
|
|
6200
6488
|
/***/ }),
|
|
6201
6489
|
|
|
6202
6490
|
/***/ "../../node_modules/core-js/internals/promise-resolve.js":
|
|
@@ -6221,74 +6509,52 @@ module.exports = function (C, x) {
|
|
|
6221
6509
|
|
|
6222
6510
|
/***/ }),
|
|
6223
6511
|
|
|
6224
|
-
/***/ "../../node_modules/core-js/internals/
|
|
6225
|
-
|
|
6226
|
-
!*** ../../node_modules/core-js/internals/
|
|
6227
|
-
|
|
6512
|
+
/***/ "../../node_modules/core-js/internals/promise-statics-incorrect-iteration.js":
|
|
6513
|
+
/*!***********************************************************************************!*\
|
|
6514
|
+
!*** ../../node_modules/core-js/internals/promise-statics-incorrect-iteration.js ***!
|
|
6515
|
+
\***********************************************************************************/
|
|
6228
6516
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6229
6517
|
|
|
6230
|
-
var
|
|
6518
|
+
var NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ "../../node_modules/core-js/internals/promise-native-constructor.js");
|
|
6519
|
+
var checkCorrectnessOfIteration = __webpack_require__(/*! ../internals/check-correctness-of-iteration */ "../../node_modules/core-js/internals/check-correctness-of-iteration.js");
|
|
6520
|
+
var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(/*! ../internals/promise-constructor-detection */ "../../node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR);
|
|
6231
6521
|
|
|
6232
|
-
module.exports = function (
|
|
6233
|
-
|
|
6234
|
-
|
|
6235
|
-
};
|
|
6522
|
+
module.exports = FORCED_PROMISE_CONSTRUCTOR || !checkCorrectnessOfIteration(function (iterable) {
|
|
6523
|
+
NativePromiseConstructor.all(iterable).then(undefined, function () { /* empty */ });
|
|
6524
|
+
});
|
|
6236
6525
|
|
|
6237
6526
|
|
|
6238
6527
|
/***/ }),
|
|
6239
6528
|
|
|
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);
|
|
6529
|
+
/***/ "../../node_modules/core-js/internals/queue.js":
|
|
6530
|
+
/*!*****************************************************!*\
|
|
6531
|
+
!*** ../../node_modules/core-js/internals/queue.js ***!
|
|
6532
|
+
\*****************************************************/
|
|
6533
|
+
/***/ ((module) => {
|
|
6254
6534
|
|
|
6255
|
-
var
|
|
6256
|
-
|
|
6257
|
-
|
|
6535
|
+
var Queue = function () {
|
|
6536
|
+
this.head = null;
|
|
6537
|
+
this.tail = null;
|
|
6538
|
+
};
|
|
6258
6539
|
|
|
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 : '');
|
|
6540
|
+
Queue.prototype = {
|
|
6541
|
+
add: function (item) {
|
|
6542
|
+
var entry = { item: item, next: null };
|
|
6543
|
+
if (this.head) this.tail.next = entry;
|
|
6544
|
+
else this.head = entry;
|
|
6545
|
+
this.tail = entry;
|
|
6546
|
+
},
|
|
6547
|
+
get: function () {
|
|
6548
|
+
var entry = this.head;
|
|
6549
|
+
if (entry) {
|
|
6550
|
+
this.head = entry.next;
|
|
6551
|
+
if (this.tail === entry) this.tail = null;
|
|
6552
|
+
return entry.item;
|
|
6275
6553
|
}
|
|
6276
6554
|
}
|
|
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
|
-
});
|
|
6555
|
+
};
|
|
6556
|
+
|
|
6557
|
+
module.exports = Queue;
|
|
6292
6558
|
|
|
6293
6559
|
|
|
6294
6560
|
/***/ }),
|
|
@@ -6297,42 +6563,18 @@ var TEMPLATE = String(String).split('String');
|
|
|
6297
6563
|
/*!************************************************************************!*\
|
|
6298
6564
|
!*** ../../node_modules/core-js/internals/require-object-coercible.js ***!
|
|
6299
6565
|
\************************************************************************/
|
|
6300
|
-
/***/ ((module
|
|
6566
|
+
/***/ ((module) => {
|
|
6301
6567
|
|
|
6302
|
-
var
|
|
6303
|
-
|
|
6304
|
-
var TypeError = global.TypeError;
|
|
6568
|
+
var $TypeError = TypeError;
|
|
6305
6569
|
|
|
6306
6570
|
// `RequireObjectCoercible` abstract operation
|
|
6307
6571
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
6308
6572
|
module.exports = function (it) {
|
|
6309
|
-
if (it == undefined) throw TypeError("Can't call method on " + it);
|
|
6573
|
+
if (it == undefined) throw $TypeError("Can't call method on " + it);
|
|
6310
6574
|
return it;
|
|
6311
6575
|
};
|
|
6312
6576
|
|
|
6313
6577
|
|
|
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
6578
|
/***/ }),
|
|
6337
6579
|
|
|
6338
6580
|
/***/ "../../node_modules/core-js/internals/set-species.js":
|
|
@@ -6377,9 +6619,10 @@ var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */
|
|
|
6377
6619
|
|
|
6378
6620
|
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
6379
6621
|
|
|
6380
|
-
module.exports = function (
|
|
6381
|
-
if (
|
|
6382
|
-
|
|
6622
|
+
module.exports = function (target, TAG, STATIC) {
|
|
6623
|
+
if (target && !STATIC) target = target.prototype;
|
|
6624
|
+
if (target && !hasOwn(target, TO_STRING_TAG)) {
|
|
6625
|
+
defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG });
|
|
6383
6626
|
}
|
|
6384
6627
|
};
|
|
6385
6628
|
|
|
@@ -6411,10 +6654,10 @@ module.exports = function (key) {
|
|
|
6411
6654
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6412
6655
|
|
|
6413
6656
|
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6414
|
-
var
|
|
6657
|
+
var defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ "../../node_modules/core-js/internals/define-global-property.js");
|
|
6415
6658
|
|
|
6416
6659
|
var SHARED = '__core-js_shared__';
|
|
6417
|
-
var store = global[SHARED] ||
|
|
6660
|
+
var store = global[SHARED] || defineGlobalProperty(SHARED, {});
|
|
6418
6661
|
|
|
6419
6662
|
module.exports = store;
|
|
6420
6663
|
|
|
@@ -6433,9 +6676,11 @@ var store = __webpack_require__(/*! ../internals/shared-store */ "../../node_mod
|
|
|
6433
6676
|
(module.exports = function (key, value) {
|
|
6434
6677
|
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
6435
6678
|
})('versions', []).push({
|
|
6436
|
-
version: '3.
|
|
6679
|
+
version: '3.23.2',
|
|
6437
6680
|
mode: IS_PURE ? 'pure' : 'global',
|
|
6438
|
-
copyright: '©
|
|
6681
|
+
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
6682
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.23.2/LICENSE',
|
|
6683
|
+
source: 'https://github.com/zloirock/core-js'
|
|
6439
6684
|
});
|
|
6440
6685
|
|
|
6441
6686
|
|
|
@@ -6479,6 +6724,7 @@ var fails = __webpack_require__(/*! ../internals/fails */ "../../node_modules/co
|
|
|
6479
6724
|
var html = __webpack_require__(/*! ../internals/html */ "../../node_modules/core-js/internals/html.js");
|
|
6480
6725
|
var arraySlice = __webpack_require__(/*! ../internals/array-slice */ "../../node_modules/core-js/internals/array-slice.js");
|
|
6481
6726
|
var createElement = __webpack_require__(/*! ../internals/document-create-element */ "../../node_modules/core-js/internals/document-create-element.js");
|
|
6727
|
+
var validateArgumentsLength = __webpack_require__(/*! ../internals/validate-arguments-length */ "../../node_modules/core-js/internals/validate-arguments-length.js");
|
|
6482
6728
|
var IS_IOS = __webpack_require__(/*! ../internals/engine-is-ios */ "../../node_modules/core-js/internals/engine-is-ios.js");
|
|
6483
6729
|
var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ "../../node_modules/core-js/internals/engine-is-node.js");
|
|
6484
6730
|
|
|
@@ -6524,10 +6770,12 @@ var post = function (id) {
|
|
|
6524
6770
|
|
|
6525
6771
|
// Node.js 0.9+ & IE10+ has setImmediate, otherwise:
|
|
6526
6772
|
if (!set || !clear) {
|
|
6527
|
-
set = function setImmediate(
|
|
6773
|
+
set = function setImmediate(handler) {
|
|
6774
|
+
validateArgumentsLength(arguments.length, 1);
|
|
6775
|
+
var fn = isCallable(handler) ? handler : Function(handler);
|
|
6528
6776
|
var args = arraySlice(arguments, 1);
|
|
6529
6777
|
queue[++counter] = function () {
|
|
6530
|
-
apply(
|
|
6778
|
+
apply(fn, undefined, args);
|
|
6531
6779
|
};
|
|
6532
6780
|
defer(counter);
|
|
6533
6781
|
return counter;
|
|
@@ -6630,17 +6878,16 @@ module.exports = function (it) {
|
|
|
6630
6878
|
/*!**********************************************************************!*\
|
|
6631
6879
|
!*** ../../node_modules/core-js/internals/to-integer-or-infinity.js ***!
|
|
6632
6880
|
\**********************************************************************/
|
|
6633
|
-
/***/ ((module) => {
|
|
6881
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6634
6882
|
|
|
6635
|
-
var
|
|
6636
|
-
var floor = Math.floor;
|
|
6883
|
+
var trunc = __webpack_require__(/*! ../internals/math-trunc */ "../../node_modules/core-js/internals/math-trunc.js");
|
|
6637
6884
|
|
|
6638
6885
|
// `ToIntegerOrInfinity` abstract operation
|
|
6639
6886
|
// https://tc39.es/ecma262/#sec-tointegerorinfinity
|
|
6640
6887
|
module.exports = function (argument) {
|
|
6641
6888
|
var number = +argument;
|
|
6642
|
-
// eslint-disable-next-line no-self-compare --
|
|
6643
|
-
return number !== number || number === 0 ? 0 : (number
|
|
6889
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
|
6890
|
+
return number !== number || number === 0 ? 0 : trunc(number);
|
|
6644
6891
|
};
|
|
6645
6892
|
|
|
6646
6893
|
|
|
@@ -6671,15 +6918,14 @@ module.exports = function (argument) {
|
|
|
6671
6918
|
\*********************************************************/
|
|
6672
6919
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6673
6920
|
|
|
6674
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6675
6921
|
var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "../../node_modules/core-js/internals/require-object-coercible.js");
|
|
6676
6922
|
|
|
6677
|
-
var Object =
|
|
6923
|
+
var $Object = Object;
|
|
6678
6924
|
|
|
6679
6925
|
// `ToObject` abstract operation
|
|
6680
6926
|
// https://tc39.es/ecma262/#sec-toobject
|
|
6681
6927
|
module.exports = function (argument) {
|
|
6682
|
-
return Object(requireObjectCoercible(argument));
|
|
6928
|
+
return $Object(requireObjectCoercible(argument));
|
|
6683
6929
|
};
|
|
6684
6930
|
|
|
6685
6931
|
|
|
@@ -6691,7 +6937,6 @@ module.exports = function (argument) {
|
|
|
6691
6937
|
\************************************************************/
|
|
6692
6938
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6693
6939
|
|
|
6694
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6695
6940
|
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
6696
6941
|
var isObject = __webpack_require__(/*! ../internals/is-object */ "../../node_modules/core-js/internals/is-object.js");
|
|
6697
6942
|
var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "../../node_modules/core-js/internals/is-symbol.js");
|
|
@@ -6699,7 +6944,7 @@ var getMethod = __webpack_require__(/*! ../internals/get-method */ "../../node_m
|
|
|
6699
6944
|
var ordinaryToPrimitive = __webpack_require__(/*! ../internals/ordinary-to-primitive */ "../../node_modules/core-js/internals/ordinary-to-primitive.js");
|
|
6700
6945
|
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../../node_modules/core-js/internals/well-known-symbol.js");
|
|
6701
6946
|
|
|
6702
|
-
var TypeError =
|
|
6947
|
+
var $TypeError = TypeError;
|
|
6703
6948
|
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
|
|
6704
6949
|
|
|
6705
6950
|
// `ToPrimitive` abstract operation
|
|
@@ -6712,7 +6957,7 @@ module.exports = function (input, pref) {
|
|
|
6712
6957
|
if (pref === undefined) pref = 'default';
|
|
6713
6958
|
result = call(exoticToPrim, input, pref);
|
|
6714
6959
|
if (!isObject(result) || isSymbol(result)) return result;
|
|
6715
|
-
throw TypeError("Can't convert object to primitive value");
|
|
6960
|
+
throw $TypeError("Can't convert object to primitive value");
|
|
6716
6961
|
}
|
|
6717
6962
|
if (pref === undefined) pref = 'number';
|
|
6718
6963
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -6764,14 +7009,13 @@ module.exports = String(test) === '[object z]';
|
|
|
6764
7009
|
\*********************************************************/
|
|
6765
7010
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6766
7011
|
|
|
6767
|
-
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6768
7012
|
var classof = __webpack_require__(/*! ../internals/classof */ "../../node_modules/core-js/internals/classof.js");
|
|
6769
7013
|
|
|
6770
|
-
var String =
|
|
7014
|
+
var $String = String;
|
|
6771
7015
|
|
|
6772
7016
|
module.exports = function (argument) {
|
|
6773
7017
|
if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
|
|
6774
|
-
return String(argument);
|
|
7018
|
+
return $String(argument);
|
|
6775
7019
|
};
|
|
6776
7020
|
|
|
6777
7021
|
|
|
@@ -6781,15 +7025,13 @@ module.exports = function (argument) {
|
|
|
6781
7025
|
/*!*************************************************************!*\
|
|
6782
7026
|
!*** ../../node_modules/core-js/internals/try-to-string.js ***!
|
|
6783
7027
|
\*************************************************************/
|
|
6784
|
-
/***/ ((module
|
|
7028
|
+
/***/ ((module) => {
|
|
6785
7029
|
|
|
6786
|
-
var
|
|
6787
|
-
|
|
6788
|
-
var String = global.String;
|
|
7030
|
+
var $String = String;
|
|
6789
7031
|
|
|
6790
7032
|
module.exports = function (argument) {
|
|
6791
7033
|
try {
|
|
6792
|
-
return String(argument);
|
|
7034
|
+
return $String(argument);
|
|
6793
7035
|
} catch (error) {
|
|
6794
7036
|
return 'Object';
|
|
6795
7037
|
}
|
|
@@ -6823,7 +7065,7 @@ module.exports = function (key) {
|
|
|
6823
7065
|
\*****************************************************************/
|
|
6824
7066
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6825
7067
|
|
|
6826
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
|
7068
|
+
/* eslint-disable es-x/no-symbol -- required for testing */
|
|
6827
7069
|
var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/native-symbol */ "../../node_modules/core-js/internals/native-symbol.js");
|
|
6828
7070
|
|
|
6829
7071
|
module.exports = NATIVE_SYMBOL
|
|
@@ -6831,6 +7073,44 @@ module.exports = NATIVE_SYMBOL
|
|
|
6831
7073
|
&& typeof Symbol.iterator == 'symbol';
|
|
6832
7074
|
|
|
6833
7075
|
|
|
7076
|
+
/***/ }),
|
|
7077
|
+
|
|
7078
|
+
/***/ "../../node_modules/core-js/internals/v8-prototype-define-bug.js":
|
|
7079
|
+
/*!***********************************************************************!*\
|
|
7080
|
+
!*** ../../node_modules/core-js/internals/v8-prototype-define-bug.js ***!
|
|
7081
|
+
\***********************************************************************/
|
|
7082
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
7083
|
+
|
|
7084
|
+
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../../node_modules/core-js/internals/descriptors.js");
|
|
7085
|
+
var fails = __webpack_require__(/*! ../internals/fails */ "../../node_modules/core-js/internals/fails.js");
|
|
7086
|
+
|
|
7087
|
+
// V8 ~ Chrome 36-
|
|
7088
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
7089
|
+
module.exports = DESCRIPTORS && fails(function () {
|
|
7090
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
7091
|
+
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
7092
|
+
value: 42,
|
|
7093
|
+
writable: false
|
|
7094
|
+
}).prototype != 42;
|
|
7095
|
+
});
|
|
7096
|
+
|
|
7097
|
+
|
|
7098
|
+
/***/ }),
|
|
7099
|
+
|
|
7100
|
+
/***/ "../../node_modules/core-js/internals/validate-arguments-length.js":
|
|
7101
|
+
/*!*************************************************************************!*\
|
|
7102
|
+
!*** ../../node_modules/core-js/internals/validate-arguments-length.js ***!
|
|
7103
|
+
\*************************************************************************/
|
|
7104
|
+
/***/ ((module) => {
|
|
7105
|
+
|
|
7106
|
+
var $TypeError = TypeError;
|
|
7107
|
+
|
|
7108
|
+
module.exports = function (passed, required) {
|
|
7109
|
+
if (passed < required) throw $TypeError('Not enough arguments');
|
|
7110
|
+
return passed;
|
|
7111
|
+
};
|
|
7112
|
+
|
|
7113
|
+
|
|
6834
7114
|
/***/ }),
|
|
6835
7115
|
|
|
6836
7116
|
/***/ "../../node_modules/core-js/internals/well-known-symbol.js":
|
|
@@ -6867,22 +7147,107 @@ module.exports = function (name) {
|
|
|
6867
7147
|
|
|
6868
7148
|
/***/ }),
|
|
6869
7149
|
|
|
6870
|
-
/***/ "../../node_modules/core-js/modules/es.promise.js":
|
|
6871
|
-
|
|
6872
|
-
!*** ../../node_modules/core-js/modules/es.promise.js ***!
|
|
6873
|
-
|
|
7150
|
+
/***/ "../../node_modules/core-js/modules/es.promise.all.js":
|
|
7151
|
+
/*!************************************************************!*\
|
|
7152
|
+
!*** ../../node_modules/core-js/modules/es.promise.all.js ***!
|
|
7153
|
+
\************************************************************/
|
|
7154
|
+
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
7155
|
+
|
|
7156
|
+
"use strict";
|
|
7157
|
+
|
|
7158
|
+
var $ = __webpack_require__(/*! ../internals/export */ "../../node_modules/core-js/internals/export.js");
|
|
7159
|
+
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
7160
|
+
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../../node_modules/core-js/internals/a-callable.js");
|
|
7161
|
+
var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ "../../node_modules/core-js/internals/new-promise-capability.js");
|
|
7162
|
+
var perform = __webpack_require__(/*! ../internals/perform */ "../../node_modules/core-js/internals/perform.js");
|
|
7163
|
+
var iterate = __webpack_require__(/*! ../internals/iterate */ "../../node_modules/core-js/internals/iterate.js");
|
|
7164
|
+
var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(/*! ../internals/promise-statics-incorrect-iteration */ "../../node_modules/core-js/internals/promise-statics-incorrect-iteration.js");
|
|
7165
|
+
|
|
7166
|
+
// `Promise.all` method
|
|
7167
|
+
// https://tc39.es/ecma262/#sec-promise.all
|
|
7168
|
+
$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
|
|
7169
|
+
all: function all(iterable) {
|
|
7170
|
+
var C = this;
|
|
7171
|
+
var capability = newPromiseCapabilityModule.f(C);
|
|
7172
|
+
var resolve = capability.resolve;
|
|
7173
|
+
var reject = capability.reject;
|
|
7174
|
+
var result = perform(function () {
|
|
7175
|
+
var $promiseResolve = aCallable(C.resolve);
|
|
7176
|
+
var values = [];
|
|
7177
|
+
var counter = 0;
|
|
7178
|
+
var remaining = 1;
|
|
7179
|
+
iterate(iterable, function (promise) {
|
|
7180
|
+
var index = counter++;
|
|
7181
|
+
var alreadyCalled = false;
|
|
7182
|
+
remaining++;
|
|
7183
|
+
call($promiseResolve, C, promise).then(function (value) {
|
|
7184
|
+
if (alreadyCalled) return;
|
|
7185
|
+
alreadyCalled = true;
|
|
7186
|
+
values[index] = value;
|
|
7187
|
+
--remaining || resolve(values);
|
|
7188
|
+
}, reject);
|
|
7189
|
+
});
|
|
7190
|
+
--remaining || resolve(values);
|
|
7191
|
+
});
|
|
7192
|
+
if (result.error) reject(result.value);
|
|
7193
|
+
return capability.promise;
|
|
7194
|
+
}
|
|
7195
|
+
});
|
|
7196
|
+
|
|
7197
|
+
|
|
7198
|
+
/***/ }),
|
|
7199
|
+
|
|
7200
|
+
/***/ "../../node_modules/core-js/modules/es.promise.catch.js":
|
|
7201
|
+
/*!**************************************************************!*\
|
|
7202
|
+
!*** ../../node_modules/core-js/modules/es.promise.catch.js ***!
|
|
7203
|
+
\**************************************************************/
|
|
6874
7204
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
6875
7205
|
|
|
6876
7206
|
"use strict";
|
|
6877
7207
|
|
|
6878
7208
|
var $ = __webpack_require__(/*! ../internals/export */ "../../node_modules/core-js/internals/export.js");
|
|
6879
7209
|
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../../node_modules/core-js/internals/is-pure.js");
|
|
6880
|
-
var
|
|
7210
|
+
var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(/*! ../internals/promise-constructor-detection */ "../../node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR);
|
|
7211
|
+
var NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ "../../node_modules/core-js/internals/promise-native-constructor.js");
|
|
6881
7212
|
var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../../node_modules/core-js/internals/get-built-in.js");
|
|
7213
|
+
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
7214
|
+
var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "../../node_modules/core-js/internals/define-built-in.js");
|
|
7215
|
+
|
|
7216
|
+
var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
|
|
7217
|
+
|
|
7218
|
+
// `Promise.prototype.catch` method
|
|
7219
|
+
// https://tc39.es/ecma262/#sec-promise.prototype.catch
|
|
7220
|
+
$({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR, real: true }, {
|
|
7221
|
+
'catch': function (onRejected) {
|
|
7222
|
+
return this.then(undefined, onRejected);
|
|
7223
|
+
}
|
|
7224
|
+
});
|
|
7225
|
+
|
|
7226
|
+
// makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`
|
|
7227
|
+
if (!IS_PURE && isCallable(NativePromiseConstructor)) {
|
|
7228
|
+
var method = getBuiltIn('Promise').prototype['catch'];
|
|
7229
|
+
if (NativePromisePrototype['catch'] !== method) {
|
|
7230
|
+
defineBuiltIn(NativePromisePrototype, 'catch', method, { unsafe: true });
|
|
7231
|
+
}
|
|
7232
|
+
}
|
|
7233
|
+
|
|
7234
|
+
|
|
7235
|
+
/***/ }),
|
|
7236
|
+
|
|
7237
|
+
/***/ "../../node_modules/core-js/modules/es.promise.constructor.js":
|
|
7238
|
+
/*!********************************************************************!*\
|
|
7239
|
+
!*** ../../node_modules/core-js/modules/es.promise.constructor.js ***!
|
|
7240
|
+
\********************************************************************/
|
|
7241
|
+
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
7242
|
+
|
|
7243
|
+
"use strict";
|
|
7244
|
+
|
|
7245
|
+
var $ = __webpack_require__(/*! ../internals/export */ "../../node_modules/core-js/internals/export.js");
|
|
7246
|
+
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../../node_modules/core-js/internals/is-pure.js");
|
|
7247
|
+
var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ "../../node_modules/core-js/internals/engine-is-node.js");
|
|
7248
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6882
7249
|
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");
|
|
7250
|
+
var defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ "../../node_modules/core-js/internals/define-built-in.js");
|
|
6886
7251
|
var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ "../../node_modules/core-js/internals/object-set-prototype-of.js");
|
|
6887
7252
|
var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ "../../node_modules/core-js/internals/set-to-string-tag.js");
|
|
6888
7253
|
var setSpecies = __webpack_require__(/*! ../internals/set-species */ "../../node_modules/core-js/internals/set-species.js");
|
|
@@ -6890,31 +7255,25 @@ var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../../node_m
|
|
|
6890
7255
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
6891
7256
|
var isObject = __webpack_require__(/*! ../internals/is-object */ "../../node_modules/core-js/internals/is-object.js");
|
|
6892
7257
|
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
7258
|
var speciesConstructor = __webpack_require__(/*! ../internals/species-constructor */ "../../node_modules/core-js/internals/species-constructor.js");
|
|
6897
7259
|
var task = (__webpack_require__(/*! ../internals/task */ "../../node_modules/core-js/internals/task.js").set);
|
|
6898
7260
|
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
7261
|
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
7262
|
var perform = __webpack_require__(/*! ../internals/perform */ "../../node_modules/core-js/internals/perform.js");
|
|
7263
|
+
var Queue = __webpack_require__(/*! ../internals/queue */ "../../node_modules/core-js/internals/queue.js");
|
|
6903
7264
|
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");
|
|
7265
|
+
var NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ "../../node_modules/core-js/internals/promise-native-constructor.js");
|
|
7266
|
+
var PromiseConstructorDetection = __webpack_require__(/*! ../internals/promise-constructor-detection */ "../../node_modules/core-js/internals/promise-constructor-detection.js");
|
|
7267
|
+
var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ "../../node_modules/core-js/internals/new-promise-capability.js");
|
|
6909
7268
|
|
|
6910
|
-
var SPECIES = wellKnownSymbol('species');
|
|
6911
7269
|
var PROMISE = 'Promise';
|
|
6912
|
-
|
|
6913
|
-
var
|
|
6914
|
-
var
|
|
7270
|
+
var FORCED_PROMISE_CONSTRUCTOR = PromiseConstructorDetection.CONSTRUCTOR;
|
|
7271
|
+
var NATIVE_PROMISE_REJECTION_EVENT = PromiseConstructorDetection.REJECTION_EVENT;
|
|
7272
|
+
var NATIVE_PROMISE_SUBCLASSING = PromiseConstructorDetection.SUBCLASSING;
|
|
6915
7273
|
var getInternalPromiseState = InternalStateModule.getterFor(PROMISE);
|
|
6916
|
-
var
|
|
6917
|
-
var
|
|
7274
|
+
var setInternalState = InternalStateModule.set;
|
|
7275
|
+
var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
|
|
7276
|
+
var PromiseConstructor = NativePromiseConstructor;
|
|
6918
7277
|
var PromisePrototype = NativePromisePrototype;
|
|
6919
7278
|
var TypeError = global.TypeError;
|
|
6920
7279
|
var document = global.document;
|
|
@@ -6923,7 +7282,6 @@ var newPromiseCapability = newPromiseCapabilityModule.f;
|
|
|
6923
7282
|
var newGenericPromiseCapability = newPromiseCapability;
|
|
6924
7283
|
|
|
6925
7284
|
var DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent);
|
|
6926
|
-
var NATIVE_REJECTION_EVENT = isCallable(global.PromiseRejectionEvent);
|
|
6927
7285
|
var UNHANDLED_REJECTION = 'unhandledrejection';
|
|
6928
7286
|
var REJECTION_HANDLED = 'rejectionhandled';
|
|
6929
7287
|
var PENDING = 0;
|
|
@@ -6931,89 +7289,59 @@ var FULFILLED = 1;
|
|
|
6931
7289
|
var REJECTED = 2;
|
|
6932
7290
|
var HANDLED = 1;
|
|
6933
7291
|
var UNHANDLED = 2;
|
|
6934
|
-
var SUBCLASSING = false;
|
|
6935
7292
|
|
|
6936
7293
|
var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;
|
|
6937
7294
|
|
|
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
7295
|
// helpers
|
|
6969
7296
|
var isThenable = function (it) {
|
|
6970
7297
|
var then;
|
|
6971
7298
|
return isObject(it) && isCallable(then = it.then) ? then : false;
|
|
6972
7299
|
};
|
|
6973
7300
|
|
|
7301
|
+
var callReaction = function (reaction, state) {
|
|
7302
|
+
var value = state.value;
|
|
7303
|
+
var ok = state.state == FULFILLED;
|
|
7304
|
+
var handler = ok ? reaction.ok : reaction.fail;
|
|
7305
|
+
var resolve = reaction.resolve;
|
|
7306
|
+
var reject = reaction.reject;
|
|
7307
|
+
var domain = reaction.domain;
|
|
7308
|
+
var result, then, exited;
|
|
7309
|
+
try {
|
|
7310
|
+
if (handler) {
|
|
7311
|
+
if (!ok) {
|
|
7312
|
+
if (state.rejection === UNHANDLED) onHandleUnhandled(state);
|
|
7313
|
+
state.rejection = HANDLED;
|
|
7314
|
+
}
|
|
7315
|
+
if (handler === true) result = value;
|
|
7316
|
+
else {
|
|
7317
|
+
if (domain) domain.enter();
|
|
7318
|
+
result = handler(value); // can throw
|
|
7319
|
+
if (domain) {
|
|
7320
|
+
domain.exit();
|
|
7321
|
+
exited = true;
|
|
7322
|
+
}
|
|
7323
|
+
}
|
|
7324
|
+
if (result === reaction.promise) {
|
|
7325
|
+
reject(TypeError('Promise-chain cycle'));
|
|
7326
|
+
} else if (then = isThenable(result)) {
|
|
7327
|
+
call(then, result, resolve, reject);
|
|
7328
|
+
} else resolve(result);
|
|
7329
|
+
} else reject(value);
|
|
7330
|
+
} catch (error) {
|
|
7331
|
+
if (domain && !exited) domain.exit();
|
|
7332
|
+
reject(error);
|
|
7333
|
+
}
|
|
7334
|
+
};
|
|
7335
|
+
|
|
6974
7336
|
var notify = function (state, isReject) {
|
|
6975
7337
|
if (state.notified) return;
|
|
6976
7338
|
state.notified = true;
|
|
6977
|
-
var chain = state.reactions;
|
|
6978
7339
|
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
|
-
}
|
|
7340
|
+
var reactions = state.reactions;
|
|
7341
|
+
var reaction;
|
|
7342
|
+
while (reaction = reactions.get()) {
|
|
7343
|
+
callReaction(reaction, state);
|
|
7015
7344
|
}
|
|
7016
|
-
state.reactions = [];
|
|
7017
7345
|
state.notified = false;
|
|
7018
7346
|
if (isReject && !state.rejection) onUnhandled(state);
|
|
7019
7347
|
});
|
|
@@ -7028,7 +7356,7 @@ var dispatchEvent = function (name, promise, reason) {
|
|
|
7028
7356
|
event.initEvent(name, false, true);
|
|
7029
7357
|
global.dispatchEvent(event);
|
|
7030
7358
|
} else event = { promise: promise, reason: reason };
|
|
7031
|
-
if (!
|
|
7359
|
+
if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global['on' + name])) handler(event);
|
|
7032
7360
|
else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
|
|
7033
7361
|
};
|
|
7034
7362
|
|
|
@@ -7109,20 +7437,22 @@ var internalResolve = function (state, value, unwrap) {
|
|
|
7109
7437
|
};
|
|
7110
7438
|
|
|
7111
7439
|
// constructor polyfill
|
|
7112
|
-
if (
|
|
7440
|
+
if (FORCED_PROMISE_CONSTRUCTOR) {
|
|
7113
7441
|
// 25.4.3.1 Promise(executor)
|
|
7114
7442
|
PromiseConstructor = function Promise(executor) {
|
|
7115
7443
|
anInstance(this, PromisePrototype);
|
|
7116
7444
|
aCallable(executor);
|
|
7117
7445
|
call(Internal, this);
|
|
7118
|
-
var state =
|
|
7446
|
+
var state = getInternalPromiseState(this);
|
|
7119
7447
|
try {
|
|
7120
7448
|
executor(bind(internalResolve, state), bind(internalReject, state));
|
|
7121
7449
|
} catch (error) {
|
|
7122
7450
|
internalReject(state, error);
|
|
7123
7451
|
}
|
|
7124
7452
|
};
|
|
7453
|
+
|
|
7125
7454
|
PromisePrototype = PromiseConstructor.prototype;
|
|
7455
|
+
|
|
7126
7456
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
7127
7457
|
Internal = function Promise(executor) {
|
|
7128
7458
|
setInternalState(this, {
|
|
@@ -7130,61 +7460,55 @@ if (FORCED) {
|
|
|
7130
7460
|
done: false,
|
|
7131
7461
|
notified: false,
|
|
7132
7462
|
parent: false,
|
|
7133
|
-
reactions:
|
|
7463
|
+
reactions: new Queue(),
|
|
7134
7464
|
rejection: false,
|
|
7135
7465
|
state: PENDING,
|
|
7136
7466
|
value: undefined
|
|
7137
7467
|
});
|
|
7138
7468
|
};
|
|
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
|
-
}
|
|
7469
|
+
|
|
7470
|
+
// `Promise.prototype.then` method
|
|
7471
|
+
// https://tc39.es/ecma262/#sec-promise.prototype.then
|
|
7472
|
+
Internal.prototype = defineBuiltIn(PromisePrototype, 'then', function then(onFulfilled, onRejected) {
|
|
7473
|
+
var state = getInternalPromiseState(this);
|
|
7474
|
+
var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));
|
|
7475
|
+
state.parent = true;
|
|
7476
|
+
reaction.ok = isCallable(onFulfilled) ? onFulfilled : true;
|
|
7477
|
+
reaction.fail = isCallable(onRejected) && onRejected;
|
|
7478
|
+
reaction.domain = IS_NODE ? process.domain : undefined;
|
|
7479
|
+
if (state.state == PENDING) state.reactions.add(reaction);
|
|
7480
|
+
else microtask(function () {
|
|
7481
|
+
callReaction(reaction, state);
|
|
7482
|
+
});
|
|
7483
|
+
return reaction.promise;
|
|
7159
7484
|
});
|
|
7485
|
+
|
|
7160
7486
|
OwnPromiseCapability = function () {
|
|
7161
7487
|
var promise = new Internal();
|
|
7162
|
-
var state =
|
|
7488
|
+
var state = getInternalPromiseState(promise);
|
|
7163
7489
|
this.promise = promise;
|
|
7164
7490
|
this.resolve = bind(internalResolve, state);
|
|
7165
7491
|
this.reject = bind(internalReject, state);
|
|
7166
7492
|
};
|
|
7493
|
+
|
|
7167
7494
|
newPromiseCapabilityModule.f = newPromiseCapability = function (C) {
|
|
7168
7495
|
return C === PromiseConstructor || C === PromiseWrapper
|
|
7169
7496
|
? new OwnPromiseCapability(C)
|
|
7170
7497
|
: newGenericPromiseCapability(C);
|
|
7171
7498
|
};
|
|
7172
7499
|
|
|
7173
|
-
if (!IS_PURE && isCallable(
|
|
7500
|
+
if (!IS_PURE && isCallable(NativePromiseConstructor) && NativePromisePrototype !== Object.prototype) {
|
|
7174
7501
|
nativeThen = NativePromisePrototype.then;
|
|
7175
7502
|
|
|
7176
|
-
if (!
|
|
7503
|
+
if (!NATIVE_PROMISE_SUBCLASSING) {
|
|
7177
7504
|
// make `Promise#then` return a polyfilled `Promise` for native promise-based APIs
|
|
7178
|
-
|
|
7505
|
+
defineBuiltIn(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) {
|
|
7179
7506
|
var that = this;
|
|
7180
7507
|
return new PromiseConstructor(function (resolve, reject) {
|
|
7181
7508
|
call(nativeThen, that, resolve, reject);
|
|
7182
7509
|
}).then(onFulfilled, onRejected);
|
|
7183
7510
|
// https://github.com/zloirock/core-js/issues/640
|
|
7184
7511
|
}, { 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
7512
|
}
|
|
7189
7513
|
|
|
7190
7514
|
// make `.constructor === Promise` work for native promise-based APIs
|
|
@@ -7199,68 +7523,55 @@ if (FORCED) {
|
|
|
7199
7523
|
}
|
|
7200
7524
|
}
|
|
7201
7525
|
|
|
7202
|
-
$({ global: true, wrap: true, forced:
|
|
7526
|
+
$({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
|
|
7203
7527
|
Promise: PromiseConstructor
|
|
7204
7528
|
});
|
|
7205
7529
|
|
|
7206
7530
|
setToStringTag(PromiseConstructor, PROMISE, false, true);
|
|
7207
7531
|
setSpecies(PROMISE);
|
|
7208
7532
|
|
|
7209
|
-
PromiseWrapper = getBuiltIn(PROMISE);
|
|
7210
7533
|
|
|
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
|
-
});
|
|
7534
|
+
/***/ }),
|
|
7221
7535
|
|
|
7222
|
-
|
|
7223
|
-
|
|
7224
|
-
|
|
7225
|
-
|
|
7226
|
-
|
|
7227
|
-
}
|
|
7228
|
-
});
|
|
7536
|
+
/***/ "../../node_modules/core-js/modules/es.promise.js":
|
|
7537
|
+
/*!********************************************************!*\
|
|
7538
|
+
!*** ../../node_modules/core-js/modules/es.promise.js ***!
|
|
7539
|
+
\********************************************************/
|
|
7540
|
+
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
7229
7541
|
|
|
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
|
|
7542
|
+
// TODO: Remove this module from `core-js@4` since it's split to modules listed below
|
|
7543
|
+
__webpack_require__(/*! ../modules/es.promise.constructor */ "../../node_modules/core-js/modules/es.promise.constructor.js");
|
|
7544
|
+
__webpack_require__(/*! ../modules/es.promise.all */ "../../node_modules/core-js/modules/es.promise.all.js");
|
|
7545
|
+
__webpack_require__(/*! ../modules/es.promise.catch */ "../../node_modules/core-js/modules/es.promise.catch.js");
|
|
7546
|
+
__webpack_require__(/*! ../modules/es.promise.race */ "../../node_modules/core-js/modules/es.promise.race.js");
|
|
7547
|
+
__webpack_require__(/*! ../modules/es.promise.reject */ "../../node_modules/core-js/modules/es.promise.reject.js");
|
|
7548
|
+
__webpack_require__(/*! ../modules/es.promise.resolve */ "../../node_modules/core-js/modules/es.promise.resolve.js");
|
|
7549
|
+
|
|
7550
|
+
|
|
7551
|
+
/***/ }),
|
|
7552
|
+
|
|
7553
|
+
/***/ "../../node_modules/core-js/modules/es.promise.race.js":
|
|
7554
|
+
/*!*************************************************************!*\
|
|
7555
|
+
!*** ../../node_modules/core-js/modules/es.promise.race.js ***!
|
|
7556
|
+
\*************************************************************/
|
|
7557
|
+
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
7558
|
+
|
|
7559
|
+
"use strict";
|
|
7560
|
+
|
|
7561
|
+
var $ = __webpack_require__(/*! ../internals/export */ "../../node_modules/core-js/internals/export.js");
|
|
7562
|
+
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
7563
|
+
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../../node_modules/core-js/internals/a-callable.js");
|
|
7564
|
+
var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ "../../node_modules/core-js/internals/new-promise-capability.js");
|
|
7565
|
+
var perform = __webpack_require__(/*! ../internals/perform */ "../../node_modules/core-js/internals/perform.js");
|
|
7566
|
+
var iterate = __webpack_require__(/*! ../internals/iterate */ "../../node_modules/core-js/internals/iterate.js");
|
|
7567
|
+
var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(/*! ../internals/promise-statics-incorrect-iteration */ "../../node_modules/core-js/internals/promise-statics-incorrect-iteration.js");
|
|
7568
|
+
|
|
7569
|
+
// `Promise.race` method
|
|
7570
|
+
// https://tc39.es/ecma262/#sec-promise.race
|
|
7571
|
+
$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
|
|
7261
7572
|
race: function race(iterable) {
|
|
7262
7573
|
var C = this;
|
|
7263
|
-
var capability =
|
|
7574
|
+
var capability = newPromiseCapabilityModule.f(C);
|
|
7264
7575
|
var reject = capability.reject;
|
|
7265
7576
|
var result = perform(function () {
|
|
7266
7577
|
var $promiseResolve = aCallable(C.resolve);
|
|
@@ -7274,6 +7585,61 @@ $({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {
|
|
|
7274
7585
|
});
|
|
7275
7586
|
|
|
7276
7587
|
|
|
7588
|
+
/***/ }),
|
|
7589
|
+
|
|
7590
|
+
/***/ "../../node_modules/core-js/modules/es.promise.reject.js":
|
|
7591
|
+
/*!***************************************************************!*\
|
|
7592
|
+
!*** ../../node_modules/core-js/modules/es.promise.reject.js ***!
|
|
7593
|
+
\***************************************************************/
|
|
7594
|
+
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
7595
|
+
|
|
7596
|
+
"use strict";
|
|
7597
|
+
|
|
7598
|
+
var $ = __webpack_require__(/*! ../internals/export */ "../../node_modules/core-js/internals/export.js");
|
|
7599
|
+
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
7600
|
+
var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ "../../node_modules/core-js/internals/new-promise-capability.js");
|
|
7601
|
+
var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(/*! ../internals/promise-constructor-detection */ "../../node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR);
|
|
7602
|
+
|
|
7603
|
+
// `Promise.reject` method
|
|
7604
|
+
// https://tc39.es/ecma262/#sec-promise.reject
|
|
7605
|
+
$({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
|
|
7606
|
+
reject: function reject(r) {
|
|
7607
|
+
var capability = newPromiseCapabilityModule.f(this);
|
|
7608
|
+
call(capability.reject, undefined, r);
|
|
7609
|
+
return capability.promise;
|
|
7610
|
+
}
|
|
7611
|
+
});
|
|
7612
|
+
|
|
7613
|
+
|
|
7614
|
+
/***/ }),
|
|
7615
|
+
|
|
7616
|
+
/***/ "../../node_modules/core-js/modules/es.promise.resolve.js":
|
|
7617
|
+
/*!****************************************************************!*\
|
|
7618
|
+
!*** ../../node_modules/core-js/modules/es.promise.resolve.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 getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../../node_modules/core-js/internals/get-built-in.js");
|
|
7626
|
+
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../../node_modules/core-js/internals/is-pure.js");
|
|
7627
|
+
var NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ "../../node_modules/core-js/internals/promise-native-constructor.js");
|
|
7628
|
+
var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(/*! ../internals/promise-constructor-detection */ "../../node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR);
|
|
7629
|
+
var promiseResolve = __webpack_require__(/*! ../internals/promise-resolve */ "../../node_modules/core-js/internals/promise-resolve.js");
|
|
7630
|
+
|
|
7631
|
+
var PromiseConstructorWrapper = getBuiltIn('Promise');
|
|
7632
|
+
var CHECK_WRAPPER = IS_PURE && !FORCED_PROMISE_CONSTRUCTOR;
|
|
7633
|
+
|
|
7634
|
+
// `Promise.resolve` method
|
|
7635
|
+
// https://tc39.es/ecma262/#sec-promise.resolve
|
|
7636
|
+
$({ target: 'Promise', stat: true, forced: IS_PURE || FORCED_PROMISE_CONSTRUCTOR }, {
|
|
7637
|
+
resolve: function resolve(x) {
|
|
7638
|
+
return promiseResolve(CHECK_WRAPPER && this === PromiseConstructorWrapper ? NativePromiseConstructor : this, x);
|
|
7639
|
+
}
|
|
7640
|
+
});
|
|
7641
|
+
|
|
7642
|
+
|
|
7277
7643
|
/***/ }),
|
|
7278
7644
|
|
|
7279
7645
|
/***/ "../../node_modules/core-js/modules/es.symbol.description.js":
|
|
@@ -7338,7 +7704,7 @@ if (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in SymbolPrototy
|
|
|
7338
7704
|
}
|
|
7339
7705
|
});
|
|
7340
7706
|
|
|
7341
|
-
$({ global: true, forced: true }, {
|
|
7707
|
+
$({ global: true, constructor: true, forced: true }, {
|
|
7342
7708
|
Symbol: SymbolWrapper
|
|
7343
7709
|
});
|
|
7344
7710
|
}
|
|
@@ -7357,17 +7723,6 @@ module.exports = require("ajv");
|
|
|
7357
7723
|
|
|
7358
7724
|
/***/ }),
|
|
7359
7725
|
|
|
7360
|
-
/***/ "archiver":
|
|
7361
|
-
/*!***************************!*\
|
|
7362
|
-
!*** external "archiver" ***!
|
|
7363
|
-
\***************************/
|
|
7364
|
-
/***/ ((module) => {
|
|
7365
|
-
|
|
7366
|
-
"use strict";
|
|
7367
|
-
module.exports = require("archiver");
|
|
7368
|
-
|
|
7369
|
-
/***/ }),
|
|
7370
|
-
|
|
7371
7726
|
/***/ "axios":
|
|
7372
7727
|
/*!************************!*\
|
|
7373
7728
|
!*** external "axios" ***!
|
|
@@ -7412,6 +7767,17 @@ module.exports = require("glob");
|
|
|
7412
7767
|
|
|
7413
7768
|
/***/ }),
|
|
7414
7769
|
|
|
7770
|
+
/***/ "jszip":
|
|
7771
|
+
/*!************************!*\
|
|
7772
|
+
!*** external "jszip" ***!
|
|
7773
|
+
\************************/
|
|
7774
|
+
/***/ ((module) => {
|
|
7775
|
+
|
|
7776
|
+
"use strict";
|
|
7777
|
+
module.exports = require("jszip");
|
|
7778
|
+
|
|
7779
|
+
/***/ }),
|
|
7780
|
+
|
|
7415
7781
|
/***/ "rimraf":
|
|
7416
7782
|
/*!*************************!*\
|
|
7417
7783
|
!*** external "rimraf" ***!
|
|
@@ -7566,6 +7932,17 @@ module.exports = require("path");
|
|
|
7566
7932
|
|
|
7567
7933
|
/***/ }),
|
|
7568
7934
|
|
|
7935
|
+
/***/ "stream":
|
|
7936
|
+
/*!*************************!*\
|
|
7937
|
+
!*** external "stream" ***!
|
|
7938
|
+
\*************************/
|
|
7939
|
+
/***/ ((module) => {
|
|
7940
|
+
|
|
7941
|
+
"use strict";
|
|
7942
|
+
module.exports = require("stream");
|
|
7943
|
+
|
|
7944
|
+
/***/ }),
|
|
7945
|
+
|
|
7569
7946
|
/***/ "util":
|
|
7570
7947
|
/*!***********************!*\
|
|
7571
7948
|
!*** external "util" ***!
|
|
@@ -7584,7 +7961,7 @@ module.exports = require("util");
|
|
|
7584
7961
|
/***/ ((module) => {
|
|
7585
7962
|
|
|
7586
7963
|
"use strict";
|
|
7587
|
-
module.exports = JSON.parse('{"name":"@intelligentgraphics/ig.gfx.packager","version":"2.1.
|
|
7964
|
+
module.exports = JSON.parse('{"name":"@intelligentgraphics/ig.gfx.packager","version":"2.1.4","description":"IG.GFX.Packager 2.1.4 (2.1.4.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.23.2","typescript":"~4.7.4","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
7965
|
|
|
7589
7966
|
/***/ })
|
|
7590
7967
|
|
|
@@ -7649,9 +8026,9 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
7649
8026
|
|
|
7650
8027
|
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
8028
|
|
|
7652
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
8029
|
+
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
8030
|
|
|
7654
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
8031
|
+
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
8032
|
|
|
7656
8033
|
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
8034
|
|