@intelligentgraphics/ig.gfx.packager 2.0.8 → 2.1.0
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 +1116 -493
- package/build/index.js.map +1 -1
- package/package.json +5 -5
- package/readme.md +29 -0
package/build/index.js
CHANGED
|
@@ -1309,6 +1309,505 @@ async function iterateAsync(basePath, filePath, segments) {
|
|
|
1309
1309
|
|
|
1310
1310
|
/***/ }),
|
|
1311
1311
|
|
|
1312
|
+
/***/ "../../node_modules/tslib/tslib.es6.js":
|
|
1313
|
+
/*!*********************************************!*\
|
|
1314
|
+
!*** ../../node_modules/tslib/tslib.es6.js ***!
|
|
1315
|
+
\*********************************************/
|
|
1316
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
1317
|
+
|
|
1318
|
+
"use strict";
|
|
1319
|
+
|
|
1320
|
+
|
|
1321
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
1322
|
+
value: true
|
|
1323
|
+
}));
|
|
1324
|
+
exports.__assign = void 0;
|
|
1325
|
+
exports.__asyncDelegator = __asyncDelegator;
|
|
1326
|
+
exports.__asyncGenerator = __asyncGenerator;
|
|
1327
|
+
exports.__asyncValues = __asyncValues;
|
|
1328
|
+
exports.__await = __await;
|
|
1329
|
+
exports.__awaiter = __awaiter;
|
|
1330
|
+
exports.__classPrivateFieldGet = __classPrivateFieldGet;
|
|
1331
|
+
exports.__classPrivateFieldSet = __classPrivateFieldSet;
|
|
1332
|
+
exports.__createBinding = void 0;
|
|
1333
|
+
exports.__decorate = __decorate;
|
|
1334
|
+
exports.__exportStar = __exportStar;
|
|
1335
|
+
exports.__extends = __extends;
|
|
1336
|
+
exports.__generator = __generator;
|
|
1337
|
+
exports.__importDefault = __importDefault;
|
|
1338
|
+
exports.__importStar = __importStar;
|
|
1339
|
+
exports.__makeTemplateObject = __makeTemplateObject;
|
|
1340
|
+
exports.__metadata = __metadata;
|
|
1341
|
+
exports.__param = __param;
|
|
1342
|
+
exports.__read = __read;
|
|
1343
|
+
exports.__rest = __rest;
|
|
1344
|
+
exports.__spread = __spread;
|
|
1345
|
+
exports.__spreadArray = __spreadArray;
|
|
1346
|
+
exports.__spreadArrays = __spreadArrays;
|
|
1347
|
+
exports.__values = __values;
|
|
1348
|
+
|
|
1349
|
+
__webpack_require__(/*! core-js/modules/es.promise.js */ "../../node_modules/core-js/modules/es.promise.js");
|
|
1350
|
+
|
|
1351
|
+
__webpack_require__(/*! core-js/modules/es.symbol.description.js */ "../../node_modules/core-js/modules/es.symbol.description.js");
|
|
1352
|
+
|
|
1353
|
+
/*! *****************************************************************************
|
|
1354
|
+
Copyright (c) Microsoft Corporation.
|
|
1355
|
+
|
|
1356
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
1357
|
+
purpose with or without fee is hereby granted.
|
|
1358
|
+
|
|
1359
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
1360
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
1361
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
1362
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
1363
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
1364
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
1365
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
1366
|
+
***************************************************************************** */
|
|
1367
|
+
|
|
1368
|
+
/* global Reflect, Promise */
|
|
1369
|
+
var extendStatics = function (d, b) {
|
|
1370
|
+
extendStatics = Object.setPrototypeOf || {
|
|
1371
|
+
__proto__: []
|
|
1372
|
+
} instanceof Array && function (d, b) {
|
|
1373
|
+
d.__proto__ = b;
|
|
1374
|
+
} || function (d, b) {
|
|
1375
|
+
for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
1376
|
+
};
|
|
1377
|
+
|
|
1378
|
+
return extendStatics(d, b);
|
|
1379
|
+
};
|
|
1380
|
+
|
|
1381
|
+
function __extends(d, b) {
|
|
1382
|
+
if (typeof b !== "function" && b !== null) throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
1383
|
+
extendStatics(d, b);
|
|
1384
|
+
|
|
1385
|
+
function __() {
|
|
1386
|
+
this.constructor = d;
|
|
1387
|
+
}
|
|
1388
|
+
|
|
1389
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
1390
|
+
}
|
|
1391
|
+
|
|
1392
|
+
var __assign = function () {
|
|
1393
|
+
exports.__assign = __assign = Object.assign || function __assign(t) {
|
|
1394
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
1395
|
+
s = arguments[i];
|
|
1396
|
+
|
|
1397
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
1398
|
+
}
|
|
1399
|
+
|
|
1400
|
+
return t;
|
|
1401
|
+
};
|
|
1402
|
+
|
|
1403
|
+
return __assign.apply(this, arguments);
|
|
1404
|
+
};
|
|
1405
|
+
|
|
1406
|
+
exports.__assign = __assign;
|
|
1407
|
+
|
|
1408
|
+
function __rest(s, e) {
|
|
1409
|
+
var t = {};
|
|
1410
|
+
|
|
1411
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
1412
|
+
|
|
1413
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
1414
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
1415
|
+
}
|
|
1416
|
+
return t;
|
|
1417
|
+
}
|
|
1418
|
+
|
|
1419
|
+
function __decorate(decorators, target, key, desc) {
|
|
1420
|
+
var c = arguments.length,
|
|
1421
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
1422
|
+
d;
|
|
1423
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1424
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1425
|
+
}
|
|
1426
|
+
|
|
1427
|
+
function __param(paramIndex, decorator) {
|
|
1428
|
+
return function (target, key) {
|
|
1429
|
+
decorator(target, key, paramIndex);
|
|
1430
|
+
};
|
|
1431
|
+
}
|
|
1432
|
+
|
|
1433
|
+
function __metadata(metadataKey, metadataValue) {
|
|
1434
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
|
1435
|
+
}
|
|
1436
|
+
|
|
1437
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
|
1438
|
+
function adopt(value) {
|
|
1439
|
+
return value instanceof P ? value : new P(function (resolve) {
|
|
1440
|
+
resolve(value);
|
|
1441
|
+
});
|
|
1442
|
+
}
|
|
1443
|
+
|
|
1444
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
1445
|
+
function fulfilled(value) {
|
|
1446
|
+
try {
|
|
1447
|
+
step(generator.next(value));
|
|
1448
|
+
} catch (e) {
|
|
1449
|
+
reject(e);
|
|
1450
|
+
}
|
|
1451
|
+
}
|
|
1452
|
+
|
|
1453
|
+
function rejected(value) {
|
|
1454
|
+
try {
|
|
1455
|
+
step(generator["throw"](value));
|
|
1456
|
+
} catch (e) {
|
|
1457
|
+
reject(e);
|
|
1458
|
+
}
|
|
1459
|
+
}
|
|
1460
|
+
|
|
1461
|
+
function step(result) {
|
|
1462
|
+
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
1463
|
+
}
|
|
1464
|
+
|
|
1465
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
1466
|
+
});
|
|
1467
|
+
}
|
|
1468
|
+
|
|
1469
|
+
function __generator(thisArg, body) {
|
|
1470
|
+
var _ = {
|
|
1471
|
+
label: 0,
|
|
1472
|
+
sent: function () {
|
|
1473
|
+
if (t[0] & 1) throw t[1];
|
|
1474
|
+
return t[1];
|
|
1475
|
+
},
|
|
1476
|
+
trys: [],
|
|
1477
|
+
ops: []
|
|
1478
|
+
},
|
|
1479
|
+
f,
|
|
1480
|
+
y,
|
|
1481
|
+
t,
|
|
1482
|
+
g;
|
|
1483
|
+
return g = {
|
|
1484
|
+
next: verb(0),
|
|
1485
|
+
"throw": verb(1),
|
|
1486
|
+
"return": verb(2)
|
|
1487
|
+
}, typeof Symbol === "function" && (g[Symbol.iterator] = function () {
|
|
1488
|
+
return this;
|
|
1489
|
+
}), g;
|
|
1490
|
+
|
|
1491
|
+
function verb(n) {
|
|
1492
|
+
return function (v) {
|
|
1493
|
+
return step([n, v]);
|
|
1494
|
+
};
|
|
1495
|
+
}
|
|
1496
|
+
|
|
1497
|
+
function step(op) {
|
|
1498
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
1499
|
+
|
|
1500
|
+
while (_) try {
|
|
1501
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
1502
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
1503
|
+
|
|
1504
|
+
switch (op[0]) {
|
|
1505
|
+
case 0:
|
|
1506
|
+
case 1:
|
|
1507
|
+
t = op;
|
|
1508
|
+
break;
|
|
1509
|
+
|
|
1510
|
+
case 4:
|
|
1511
|
+
_.label++;
|
|
1512
|
+
return {
|
|
1513
|
+
value: op[1],
|
|
1514
|
+
done: false
|
|
1515
|
+
};
|
|
1516
|
+
|
|
1517
|
+
case 5:
|
|
1518
|
+
_.label++;
|
|
1519
|
+
y = op[1];
|
|
1520
|
+
op = [0];
|
|
1521
|
+
continue;
|
|
1522
|
+
|
|
1523
|
+
case 7:
|
|
1524
|
+
op = _.ops.pop();
|
|
1525
|
+
|
|
1526
|
+
_.trys.pop();
|
|
1527
|
+
|
|
1528
|
+
continue;
|
|
1529
|
+
|
|
1530
|
+
default:
|
|
1531
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
1532
|
+
_ = 0;
|
|
1533
|
+
continue;
|
|
1534
|
+
}
|
|
1535
|
+
|
|
1536
|
+
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
|
1537
|
+
_.label = op[1];
|
|
1538
|
+
break;
|
|
1539
|
+
}
|
|
1540
|
+
|
|
1541
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
1542
|
+
_.label = t[1];
|
|
1543
|
+
t = op;
|
|
1544
|
+
break;
|
|
1545
|
+
}
|
|
1546
|
+
|
|
1547
|
+
if (t && _.label < t[2]) {
|
|
1548
|
+
_.label = t[2];
|
|
1549
|
+
|
|
1550
|
+
_.ops.push(op);
|
|
1551
|
+
|
|
1552
|
+
break;
|
|
1553
|
+
}
|
|
1554
|
+
|
|
1555
|
+
if (t[2]) _.ops.pop();
|
|
1556
|
+
|
|
1557
|
+
_.trys.pop();
|
|
1558
|
+
|
|
1559
|
+
continue;
|
|
1560
|
+
}
|
|
1561
|
+
|
|
1562
|
+
op = body.call(thisArg, _);
|
|
1563
|
+
} catch (e) {
|
|
1564
|
+
op = [6, e];
|
|
1565
|
+
y = 0;
|
|
1566
|
+
} finally {
|
|
1567
|
+
f = t = 0;
|
|
1568
|
+
}
|
|
1569
|
+
|
|
1570
|
+
if (op[0] & 5) throw op[1];
|
|
1571
|
+
return {
|
|
1572
|
+
value: op[0] ? op[1] : void 0,
|
|
1573
|
+
done: true
|
|
1574
|
+
};
|
|
1575
|
+
}
|
|
1576
|
+
}
|
|
1577
|
+
|
|
1578
|
+
var __createBinding = Object.create ? function (o, m, k, k2) {
|
|
1579
|
+
if (k2 === undefined) k2 = k;
|
|
1580
|
+
Object.defineProperty(o, k2, {
|
|
1581
|
+
enumerable: true,
|
|
1582
|
+
get: function () {
|
|
1583
|
+
return m[k];
|
|
1584
|
+
}
|
|
1585
|
+
});
|
|
1586
|
+
} : function (o, m, k, k2) {
|
|
1587
|
+
if (k2 === undefined) k2 = k;
|
|
1588
|
+
o[k2] = m[k];
|
|
1589
|
+
};
|
|
1590
|
+
|
|
1591
|
+
exports.__createBinding = __createBinding;
|
|
1592
|
+
|
|
1593
|
+
function __exportStar(m, o) {
|
|
1594
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
|
|
1595
|
+
}
|
|
1596
|
+
|
|
1597
|
+
function __values(o) {
|
|
1598
|
+
var s = typeof Symbol === "function" && Symbol.iterator,
|
|
1599
|
+
m = s && o[s],
|
|
1600
|
+
i = 0;
|
|
1601
|
+
if (m) return m.call(o);
|
|
1602
|
+
if (o && typeof o.length === "number") return {
|
|
1603
|
+
next: function () {
|
|
1604
|
+
if (o && i >= o.length) o = void 0;
|
|
1605
|
+
return {
|
|
1606
|
+
value: o && o[i++],
|
|
1607
|
+
done: !o
|
|
1608
|
+
};
|
|
1609
|
+
}
|
|
1610
|
+
};
|
|
1611
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
1612
|
+
}
|
|
1613
|
+
|
|
1614
|
+
function __read(o, n) {
|
|
1615
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
1616
|
+
if (!m) return o;
|
|
1617
|
+
var i = m.call(o),
|
|
1618
|
+
r,
|
|
1619
|
+
ar = [],
|
|
1620
|
+
e;
|
|
1621
|
+
|
|
1622
|
+
try {
|
|
1623
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
1624
|
+
} catch (error) {
|
|
1625
|
+
e = {
|
|
1626
|
+
error: error
|
|
1627
|
+
};
|
|
1628
|
+
} finally {
|
|
1629
|
+
try {
|
|
1630
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
1631
|
+
} finally {
|
|
1632
|
+
if (e) throw e.error;
|
|
1633
|
+
}
|
|
1634
|
+
}
|
|
1635
|
+
|
|
1636
|
+
return ar;
|
|
1637
|
+
}
|
|
1638
|
+
/** @deprecated */
|
|
1639
|
+
|
|
1640
|
+
|
|
1641
|
+
function __spread() {
|
|
1642
|
+
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));
|
|
1643
|
+
|
|
1644
|
+
return ar;
|
|
1645
|
+
}
|
|
1646
|
+
/** @deprecated */
|
|
1647
|
+
|
|
1648
|
+
|
|
1649
|
+
function __spreadArrays() {
|
|
1650
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
|
|
1651
|
+
|
|
1652
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++) for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) r[k] = a[j];
|
|
1653
|
+
|
|
1654
|
+
return r;
|
|
1655
|
+
}
|
|
1656
|
+
|
|
1657
|
+
function __spreadArray(to, from, pack) {
|
|
1658
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
1659
|
+
if (ar || !(i in from)) {
|
|
1660
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
1661
|
+
ar[i] = from[i];
|
|
1662
|
+
}
|
|
1663
|
+
}
|
|
1664
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
1665
|
+
}
|
|
1666
|
+
|
|
1667
|
+
function __await(v) {
|
|
1668
|
+
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
1669
|
+
}
|
|
1670
|
+
|
|
1671
|
+
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
1672
|
+
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
1673
|
+
var g = generator.apply(thisArg, _arguments || []),
|
|
1674
|
+
i,
|
|
1675
|
+
q = [];
|
|
1676
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () {
|
|
1677
|
+
return this;
|
|
1678
|
+
}, i;
|
|
1679
|
+
|
|
1680
|
+
function verb(n) {
|
|
1681
|
+
if (g[n]) i[n] = function (v) {
|
|
1682
|
+
return new Promise(function (a, b) {
|
|
1683
|
+
q.push([n, v, a, b]) > 1 || resume(n, v);
|
|
1684
|
+
});
|
|
1685
|
+
};
|
|
1686
|
+
}
|
|
1687
|
+
|
|
1688
|
+
function resume(n, v) {
|
|
1689
|
+
try {
|
|
1690
|
+
step(g[n](v));
|
|
1691
|
+
} catch (e) {
|
|
1692
|
+
settle(q[0][3], e);
|
|
1693
|
+
}
|
|
1694
|
+
}
|
|
1695
|
+
|
|
1696
|
+
function step(r) {
|
|
1697
|
+
r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r);
|
|
1698
|
+
}
|
|
1699
|
+
|
|
1700
|
+
function fulfill(value) {
|
|
1701
|
+
resume("next", value);
|
|
1702
|
+
}
|
|
1703
|
+
|
|
1704
|
+
function reject(value) {
|
|
1705
|
+
resume("throw", value);
|
|
1706
|
+
}
|
|
1707
|
+
|
|
1708
|
+
function settle(f, v) {
|
|
1709
|
+
if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]);
|
|
1710
|
+
}
|
|
1711
|
+
}
|
|
1712
|
+
|
|
1713
|
+
function __asyncDelegator(o) {
|
|
1714
|
+
var i, p;
|
|
1715
|
+
return i = {}, verb("next"), verb("throw", function (e) {
|
|
1716
|
+
throw e;
|
|
1717
|
+
}), verb("return"), i[Symbol.iterator] = function () {
|
|
1718
|
+
return this;
|
|
1719
|
+
}, i;
|
|
1720
|
+
|
|
1721
|
+
function verb(n, f) {
|
|
1722
|
+
i[n] = o[n] ? function (v) {
|
|
1723
|
+
return (p = !p) ? {
|
|
1724
|
+
value: __await(o[n](v)),
|
|
1725
|
+
done: n === "return"
|
|
1726
|
+
} : f ? f(v) : v;
|
|
1727
|
+
} : f;
|
|
1728
|
+
}
|
|
1729
|
+
}
|
|
1730
|
+
|
|
1731
|
+
function __asyncValues(o) {
|
|
1732
|
+
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
1733
|
+
var m = o[Symbol.asyncIterator],
|
|
1734
|
+
i;
|
|
1735
|
+
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () {
|
|
1736
|
+
return this;
|
|
1737
|
+
}, i);
|
|
1738
|
+
|
|
1739
|
+
function verb(n) {
|
|
1740
|
+
i[n] = o[n] && function (v) {
|
|
1741
|
+
return new Promise(function (resolve, reject) {
|
|
1742
|
+
v = o[n](v), settle(resolve, reject, v.done, v.value);
|
|
1743
|
+
});
|
|
1744
|
+
};
|
|
1745
|
+
}
|
|
1746
|
+
|
|
1747
|
+
function settle(resolve, reject, d, v) {
|
|
1748
|
+
Promise.resolve(v).then(function (v) {
|
|
1749
|
+
resolve({
|
|
1750
|
+
value: v,
|
|
1751
|
+
done: d
|
|
1752
|
+
});
|
|
1753
|
+
}, reject);
|
|
1754
|
+
}
|
|
1755
|
+
}
|
|
1756
|
+
|
|
1757
|
+
function __makeTemplateObject(cooked, raw) {
|
|
1758
|
+
if (Object.defineProperty) {
|
|
1759
|
+
Object.defineProperty(cooked, "raw", {
|
|
1760
|
+
value: raw
|
|
1761
|
+
});
|
|
1762
|
+
} else {
|
|
1763
|
+
cooked.raw = raw;
|
|
1764
|
+
}
|
|
1765
|
+
|
|
1766
|
+
return cooked;
|
|
1767
|
+
}
|
|
1768
|
+
|
|
1769
|
+
;
|
|
1770
|
+
|
|
1771
|
+
var __setModuleDefault = Object.create ? function (o, v) {
|
|
1772
|
+
Object.defineProperty(o, "default", {
|
|
1773
|
+
enumerable: true,
|
|
1774
|
+
value: v
|
|
1775
|
+
});
|
|
1776
|
+
} : function (o, v) {
|
|
1777
|
+
o["default"] = v;
|
|
1778
|
+
};
|
|
1779
|
+
|
|
1780
|
+
function __importStar(mod) {
|
|
1781
|
+
if (mod && mod.__esModule) return mod;
|
|
1782
|
+
var result = {};
|
|
1783
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
1784
|
+
|
|
1785
|
+
__setModuleDefault(result, mod);
|
|
1786
|
+
|
|
1787
|
+
return result;
|
|
1788
|
+
}
|
|
1789
|
+
|
|
1790
|
+
function __importDefault(mod) {
|
|
1791
|
+
return mod && mod.__esModule ? mod : {
|
|
1792
|
+
default: mod
|
|
1793
|
+
};
|
|
1794
|
+
}
|
|
1795
|
+
|
|
1796
|
+
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
1797
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
1798
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
1799
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
1800
|
+
}
|
|
1801
|
+
|
|
1802
|
+
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
1803
|
+
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
1804
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
1805
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
1806
|
+
return kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value), value;
|
|
1807
|
+
}
|
|
1808
|
+
|
|
1809
|
+
/***/ }),
|
|
1810
|
+
|
|
1312
1811
|
/***/ "../core/build/command.js":
|
|
1313
1812
|
/*!********************************!*\
|
|
1314
1813
|
!*** ../core/build/command.js ***!
|
|
@@ -1318,14 +1817,14 @@ async function iterateAsync(basePath, filePath, segments) {
|
|
|
1318
1817
|
"use strict";
|
|
1319
1818
|
|
|
1320
1819
|
|
|
1820
|
+
__webpack_require__(/*! core-js/modules/es.symbol.description.js */ "../../node_modules/core-js/modules/es.symbol.description.js");
|
|
1821
|
+
|
|
1321
1822
|
Object.defineProperty(exports, "__esModule", ({
|
|
1322
1823
|
value: true
|
|
1323
1824
|
}));
|
|
1324
1825
|
exports.Command = void 0;
|
|
1325
1826
|
|
|
1326
|
-
__webpack_require__(/*!
|
|
1327
|
-
|
|
1328
|
-
var _config = __webpack_require__(/*! ./config.js */ "../core/build/config.js");
|
|
1827
|
+
const config_1 = __webpack_require__(/*! ./config */ "../core/build/config.js");
|
|
1329
1828
|
|
|
1330
1829
|
class Command {
|
|
1331
1830
|
constructor(params) {
|
|
@@ -1337,7 +1836,7 @@ class Command {
|
|
|
1337
1836
|
}
|
|
1338
1837
|
|
|
1339
1838
|
const options = this.params.createOptions();
|
|
1340
|
-
const configValues = (0,
|
|
1839
|
+
const configValues = (0, config_1.getConfigValues)(this.params.name);
|
|
1341
1840
|
|
|
1342
1841
|
for (const entry in configValues) {
|
|
1343
1842
|
const option = options[entry];
|
|
@@ -1357,7 +1856,7 @@ class Command {
|
|
|
1357
1856
|
configOptions[params.name + "." + key] = params.configuration[key];
|
|
1358
1857
|
}
|
|
1359
1858
|
|
|
1360
|
-
(0,
|
|
1859
|
+
(0, config_1.registerConfigOptions)(configOptions);
|
|
1361
1860
|
}
|
|
1362
1861
|
}
|
|
1363
1862
|
|
|
@@ -1429,31 +1928,27 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
1429
1928
|
}));
|
|
1430
1929
|
exports.writeConfig = exports.readConfig = exports.registerConfigOptions = exports.getConfigOptions = exports.setConfigValue = exports.getConfigValues = exports.getConfigValue = void 0;
|
|
1431
1930
|
|
|
1432
|
-
|
|
1931
|
+
const fs = __webpack_require__(/*! fs-extra */ "fs-extra");
|
|
1433
1932
|
|
|
1434
|
-
|
|
1933
|
+
const os = __webpack_require__(/*! os */ "os");
|
|
1435
1934
|
|
|
1436
|
-
|
|
1935
|
+
const path = __webpack_require__(/*! path */ "path");
|
|
1437
1936
|
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
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); }
|
|
1441
|
-
|
|
1442
|
-
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; }
|
|
1937
|
+
const FileUtil = __webpack_require__(/*! ./fileUtil */ "../core/build/fileUtil.js");
|
|
1443
1938
|
|
|
1444
1939
|
const CONFIG_PATH = path.join(os.homedir(), ".ig", "config.json");
|
|
1445
1940
|
const configOptions = new Map();
|
|
1446
1941
|
let cached;
|
|
1447
1942
|
|
|
1448
1943
|
const getConfigValue = name => {
|
|
1449
|
-
const config = readConfig();
|
|
1944
|
+
const config = (0, exports.readConfig)();
|
|
1450
1945
|
return config[name];
|
|
1451
1946
|
};
|
|
1452
1947
|
|
|
1453
1948
|
exports.getConfigValue = getConfigValue;
|
|
1454
1949
|
|
|
1455
1950
|
const getConfigValues = namespace => {
|
|
1456
|
-
const config = readConfig();
|
|
1951
|
+
const config = (0, exports.readConfig)();
|
|
1457
1952
|
|
|
1458
1953
|
if (!namespace) {
|
|
1459
1954
|
return config;
|
|
@@ -1475,7 +1970,7 @@ const setConfigValue = (key, value) => {
|
|
|
1475
1970
|
throw new Error("Unkown config option");
|
|
1476
1971
|
}
|
|
1477
1972
|
|
|
1478
|
-
let config = readConfig();
|
|
1973
|
+
let config = (0, exports.readConfig)();
|
|
1479
1974
|
|
|
1480
1975
|
if (!config) {
|
|
1481
1976
|
config = {};
|
|
@@ -1496,7 +1991,7 @@ const setConfigValue = (key, value) => {
|
|
|
1496
1991
|
}
|
|
1497
1992
|
|
|
1498
1993
|
config[key] = value;
|
|
1499
|
-
writeConfig(config);
|
|
1994
|
+
(0, exports.writeConfig)(config);
|
|
1500
1995
|
console.log(`Set "${key}" to "${value}"`);
|
|
1501
1996
|
return config;
|
|
1502
1997
|
};
|
|
@@ -1553,30 +2048,24 @@ exports.writeConfig = writeConfig;
|
|
|
1553
2048
|
"use strict";
|
|
1554
2049
|
|
|
1555
2050
|
|
|
2051
|
+
__webpack_require__(/*! core-js/modules/es.promise.js */ "../../node_modules/core-js/modules/es.promise.js");
|
|
2052
|
+
|
|
1556
2053
|
Object.defineProperty(exports, "__esModule", ({
|
|
1557
2054
|
value: true
|
|
1558
2055
|
}));
|
|
1559
2056
|
exports.asOption = exports.escapePathArg = exports.escapeArg = exports.findExecutable = exports.exec = exports.installModules = void 0;
|
|
1560
2057
|
|
|
1561
|
-
__webpack_require__(/*!
|
|
2058
|
+
const fs = __webpack_require__(/*! fs */ "fs");
|
|
1562
2059
|
|
|
1563
|
-
|
|
2060
|
+
const os = __webpack_require__(/*! os */ "os");
|
|
1564
2061
|
|
|
1565
|
-
|
|
2062
|
+
const path = __webpack_require__(/*! path */ "path");
|
|
1566
2063
|
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
var _execa = _interopRequireDefault(__webpack_require__(/*! execa */ "execa"));
|
|
2064
|
+
const execa = __webpack_require__(/*! execa */ "execa");
|
|
1570
2065
|
|
|
1571
|
-
|
|
2066
|
+
const true_case_path_1 = __webpack_require__(/*! true-case-path */ "../../node_modules/true-case-path/index.js");
|
|
1572
2067
|
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
1576
|
-
|
|
1577
|
-
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); }
|
|
1578
|
-
|
|
1579
|
-
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; }
|
|
2068
|
+
const PathUtil = __webpack_require__(/*! ./pathUtil */ "../core/build/pathUtil.js");
|
|
1580
2069
|
|
|
1581
2070
|
const installModules = (rawTarget, modules, dev) => {
|
|
1582
2071
|
const {
|
|
@@ -1606,7 +2095,7 @@ const installModules = (rawTarget, modules, dev) => {
|
|
|
1606
2095
|
command += " " + entry;
|
|
1607
2096
|
}
|
|
1608
2097
|
|
|
1609
|
-
return
|
|
2098
|
+
return execa.sync(command, {
|
|
1610
2099
|
cwd: rawTarget,
|
|
1611
2100
|
shell: true
|
|
1612
2101
|
});
|
|
@@ -1620,7 +2109,7 @@ const exec = ({
|
|
|
1620
2109
|
onMessage,
|
|
1621
2110
|
onStdErr
|
|
1622
2111
|
}) => new Promise((resolve, reject) => {
|
|
1623
|
-
const cp = (
|
|
2112
|
+
const cp = execa(cmd, Object.assign(Object.assign({}, options), {
|
|
1624
2113
|
maxBuffer: Infinity,
|
|
1625
2114
|
shell: true
|
|
1626
2115
|
}));
|
|
@@ -1651,7 +2140,7 @@ const findExecutable = (command, tryDirs) => {
|
|
|
1651
2140
|
try {
|
|
1652
2141
|
const commandPath = path.join(binPath, fileName);
|
|
1653
2142
|
fs.readFileSync(commandPath);
|
|
1654
|
-
return escapePathArg(commandPath);
|
|
2143
|
+
return (0, exports.escapePathArg)(commandPath);
|
|
1655
2144
|
} catch (err) {}
|
|
1656
2145
|
}
|
|
1657
2146
|
|
|
@@ -1664,7 +2153,7 @@ const escapeArg = input => `"${input}"`;
|
|
|
1664
2153
|
|
|
1665
2154
|
exports.escapeArg = escapeArg;
|
|
1666
2155
|
|
|
1667
|
-
const escapePathArg = input => path.isAbsolute(input) ? escapeArg(
|
|
2156
|
+
const escapePathArg = input => path.isAbsolute(input) ? (0, exports.escapeArg)((0, true_case_path_1.trueCasePathSync)(input) || input) : (0, exports.escapeArg)(input);
|
|
1668
2157
|
|
|
1669
2158
|
exports.escapePathArg = escapePathArg;
|
|
1670
2159
|
|
|
@@ -1690,13 +2179,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
1690
2179
|
}));
|
|
1691
2180
|
exports.writeFile = exports.updateJSONFile = exports.readJsonFile = exports.readFile = exports.deleteFile = exports.findFile = void 0;
|
|
1692
2181
|
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
var path = _interopRequireWildcard(__webpack_require__(/*! path */ "path"));
|
|
2182
|
+
const fs = __webpack_require__(/*! fs */ "fs");
|
|
1696
2183
|
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
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; }
|
|
2184
|
+
const path = __webpack_require__(/*! path */ "path");
|
|
1700
2185
|
|
|
1701
2186
|
const cache = {};
|
|
1702
2187
|
|
|
@@ -1705,7 +2190,7 @@ const findFile = (fileName, basePath) => {
|
|
|
1705
2190
|
|
|
1706
2191
|
while (currentPath !== undefined) {
|
|
1707
2192
|
const filePath = path.join(currentPath, fileName);
|
|
1708
|
-
const file = readFile(filePath);
|
|
2193
|
+
const file = (0, exports.readFile)(filePath);
|
|
1709
2194
|
|
|
1710
2195
|
if (file !== undefined) {
|
|
1711
2196
|
return filePath;
|
|
@@ -1758,7 +2243,7 @@ const readJsonFile = filePath => {
|
|
|
1758
2243
|
return cached;
|
|
1759
2244
|
}
|
|
1760
2245
|
|
|
1761
|
-
const file = readFile(filePath);
|
|
2246
|
+
const file = (0, exports.readFile)(filePath);
|
|
1762
2247
|
|
|
1763
2248
|
if (!file) {
|
|
1764
2249
|
return undefined;
|
|
@@ -1774,11 +2259,11 @@ const readJsonFile = filePath => {
|
|
|
1774
2259
|
exports.readJsonFile = readJsonFile;
|
|
1775
2260
|
|
|
1776
2261
|
const updateJSONFile = (filePath, update) => {
|
|
1777
|
-
const currentContent = readJsonFile(filePath);
|
|
2262
|
+
const currentContent = (0, exports.readJsonFile)(filePath);
|
|
1778
2263
|
const newContent = update(currentContent);
|
|
1779
2264
|
|
|
1780
2265
|
if (newContent) {
|
|
1781
|
-
writeFile(filePath, newContent);
|
|
2266
|
+
(0, exports.writeFile)(filePath, newContent);
|
|
1782
2267
|
}
|
|
1783
2268
|
|
|
1784
2269
|
return newContent;
|
|
@@ -1865,21 +2350,19 @@ exports.findLargest = findLargest;
|
|
|
1865
2350
|
"use strict";
|
|
1866
2351
|
|
|
1867
2352
|
|
|
2353
|
+
__webpack_require__(/*! core-js/modules/es.promise.js */ "../../node_modules/core-js/modules/es.promise.js");
|
|
2354
|
+
|
|
1868
2355
|
Object.defineProperty(exports, "__esModule", ({
|
|
1869
2356
|
value: true
|
|
1870
2357
|
}));
|
|
1871
2358
|
exports.getLastTag = exports.getDir = void 0;
|
|
1872
2359
|
|
|
1873
|
-
__webpack_require__(/*!
|
|
1874
|
-
|
|
1875
|
-
var _execa = _interopRequireDefault(__webpack_require__(/*! execa */ "execa"));
|
|
1876
|
-
|
|
1877
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2360
|
+
const execa = __webpack_require__(/*! execa */ "execa");
|
|
1878
2361
|
|
|
1879
2362
|
const getDir = async (cwd = process.cwd()) => {
|
|
1880
2363
|
const {
|
|
1881
2364
|
stdout: rootGitDir
|
|
1882
|
-
} = await
|
|
2365
|
+
} = await execa.sync(`git rev-parse --show-toplevel`, {
|
|
1883
2366
|
encoding: "utf8",
|
|
1884
2367
|
cwd,
|
|
1885
2368
|
shell: true
|
|
@@ -1890,12 +2373,12 @@ const getDir = async (cwd = process.cwd()) => {
|
|
|
1890
2373
|
exports.getDir = getDir;
|
|
1891
2374
|
|
|
1892
2375
|
const getLastTag = async (packageName, packageFolder) => {
|
|
1893
|
-
const rootGitDir = await getDir(packageFolder);
|
|
2376
|
+
const rootGitDir = await (0, exports.getDir)(packageFolder);
|
|
1894
2377
|
|
|
1895
2378
|
try {
|
|
1896
2379
|
const {
|
|
1897
2380
|
stdout: releasedTagString
|
|
1898
|
-
} = await
|
|
2381
|
+
} = await execa.sync(`git describe --tags --abbrev=0 --match *${packageName}*`, {
|
|
1899
2382
|
cwd: rootGitDir,
|
|
1900
2383
|
shell: true
|
|
1901
2384
|
});
|
|
@@ -1921,168 +2404,55 @@ exports.getLastTag = getLastTag;
|
|
|
1921
2404
|
Object.defineProperty(exports, "__esModule", ({
|
|
1922
2405
|
value: true
|
|
1923
2406
|
}));
|
|
1924
|
-
|
|
1925
|
-
FileUtil: true,
|
|
1926
|
-
StringUtil: true,
|
|
1927
|
-
ExecUtil: true,
|
|
1928
|
-
PathUtil: true,
|
|
1929
|
-
GitUtil: true,
|
|
1930
|
-
CommandRegistry: true,
|
|
1931
|
-
Command: true
|
|
1932
|
-
};
|
|
1933
|
-
Object.defineProperty(exports, "CommandRegistry", ({
|
|
1934
|
-
enumerable: true,
|
|
1935
|
-
get: function () {
|
|
1936
|
-
return _commandRegistry.CommandRegistry;
|
|
1937
|
-
}
|
|
1938
|
-
}));
|
|
1939
|
-
Object.defineProperty(exports, "Command", ({
|
|
1940
|
-
enumerable: true,
|
|
1941
|
-
get: function () {
|
|
1942
|
-
return _command.Command;
|
|
1943
|
-
}
|
|
1944
|
-
}));
|
|
1945
|
-
exports.GitUtil = exports.PathUtil = exports.ExecUtil = exports.StringUtil = exports.FileUtil = void 0;
|
|
2407
|
+
exports.Command = exports.CommandRegistry = exports.GitUtil = exports.PathUtil = exports.ExecUtil = exports.StringUtil = exports.FileUtil = void 0;
|
|
1946
2408
|
|
|
1947
|
-
|
|
2409
|
+
const tslib_1 = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
|
|
2410
|
+
|
|
2411
|
+
const FileUtil = __webpack_require__(/*! ./fileUtil */ "../core/build/fileUtil.js");
|
|
1948
2412
|
|
|
1949
2413
|
exports.FileUtil = FileUtil;
|
|
1950
2414
|
|
|
1951
|
-
|
|
2415
|
+
const StringUtil = __webpack_require__(/*! ./stringUtil */ "../core/build/stringUtil.js");
|
|
1952
2416
|
|
|
1953
2417
|
exports.StringUtil = StringUtil;
|
|
1954
2418
|
|
|
1955
|
-
|
|
2419
|
+
const ExecUtil = __webpack_require__(/*! ./execUtil */ "../core/build/execUtil.js");
|
|
1956
2420
|
|
|
1957
2421
|
exports.ExecUtil = ExecUtil;
|
|
1958
2422
|
|
|
1959
|
-
|
|
2423
|
+
const PathUtil = __webpack_require__(/*! ./pathUtil */ "../core/build/pathUtil.js");
|
|
1960
2424
|
|
|
1961
2425
|
exports.PathUtil = PathUtil;
|
|
1962
2426
|
|
|
1963
|
-
|
|
2427
|
+
const GitUtil = __webpack_require__(/*! ./gitUtil */ "../core/build/gitUtil.js");
|
|
1964
2428
|
|
|
1965
2429
|
exports.GitUtil = GitUtil;
|
|
2430
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./limiter */ "../core/build/limiter.js"), exports);
|
|
2431
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./typedEmitter */ "../core/build/typedEmitter.js"), exports);
|
|
2432
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./packageVersion */ "../core/build/packageVersion.js"), exports);
|
|
2433
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./config */ "../core/build/config.js"), exports);
|
|
2434
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./types/pjson */ "../core/build/types/pjson.js"), exports);
|
|
2435
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./workers */ "../core/build/workers/index.js"), exports);
|
|
1966
2436
|
|
|
1967
|
-
var
|
|
1968
|
-
|
|
1969
|
-
Object.keys(_limiter).forEach(function (key) {
|
|
1970
|
-
if (key === "default" || key === "__esModule") return;
|
|
1971
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
1972
|
-
if (key in exports && exports[key] === _limiter[key]) return;
|
|
1973
|
-
Object.defineProperty(exports, key, {
|
|
1974
|
-
enumerable: true,
|
|
1975
|
-
get: function () {
|
|
1976
|
-
return _limiter[key];
|
|
1977
|
-
}
|
|
1978
|
-
});
|
|
1979
|
-
});
|
|
1980
|
-
|
|
1981
|
-
var _typedEmitter = __webpack_require__(/*! ./typedEmitter.js */ "../core/build/typedEmitter.js");
|
|
1982
|
-
|
|
1983
|
-
Object.keys(_typedEmitter).forEach(function (key) {
|
|
1984
|
-
if (key === "default" || key === "__esModule") return;
|
|
1985
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
1986
|
-
if (key in exports && exports[key] === _typedEmitter[key]) return;
|
|
1987
|
-
Object.defineProperty(exports, key, {
|
|
1988
|
-
enumerable: true,
|
|
1989
|
-
get: function () {
|
|
1990
|
-
return _typedEmitter[key];
|
|
1991
|
-
}
|
|
1992
|
-
});
|
|
1993
|
-
});
|
|
1994
|
-
|
|
1995
|
-
var _packageVersion = __webpack_require__(/*! ./packageVersion.js */ "../core/build/packageVersion.js");
|
|
1996
|
-
|
|
1997
|
-
Object.keys(_packageVersion).forEach(function (key) {
|
|
1998
|
-
if (key === "default" || key === "__esModule") return;
|
|
1999
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
2000
|
-
if (key in exports && exports[key] === _packageVersion[key]) return;
|
|
2001
|
-
Object.defineProperty(exports, key, {
|
|
2002
|
-
enumerable: true,
|
|
2003
|
-
get: function () {
|
|
2004
|
-
return _packageVersion[key];
|
|
2005
|
-
}
|
|
2006
|
-
});
|
|
2007
|
-
});
|
|
2008
|
-
|
|
2009
|
-
var _config = __webpack_require__(/*! ./config.js */ "../core/build/config.js");
|
|
2437
|
+
var commandRegistry_1 = __webpack_require__(/*! ./commandRegistry */ "../core/build/commandRegistry.js");
|
|
2010
2438
|
|
|
2011
|
-
Object.
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
get: function () {
|
|
2018
|
-
return _config[key];
|
|
2019
|
-
}
|
|
2020
|
-
});
|
|
2021
|
-
});
|
|
2022
|
-
|
|
2023
|
-
var _pjson = __webpack_require__(/*! ./types/pjson.js */ "../core/build/types/pjson.js");
|
|
2024
|
-
|
|
2025
|
-
Object.keys(_pjson).forEach(function (key) {
|
|
2026
|
-
if (key === "default" || key === "__esModule") return;
|
|
2027
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
2028
|
-
if (key in exports && exports[key] === _pjson[key]) return;
|
|
2029
|
-
Object.defineProperty(exports, key, {
|
|
2030
|
-
enumerable: true,
|
|
2031
|
-
get: function () {
|
|
2032
|
-
return _pjson[key];
|
|
2033
|
-
}
|
|
2034
|
-
});
|
|
2035
|
-
});
|
|
2036
|
-
|
|
2037
|
-
var _index = __webpack_require__(/*! ./workers/index.js */ "../core/build/workers/index.js");
|
|
2038
|
-
|
|
2039
|
-
Object.keys(_index).forEach(function (key) {
|
|
2040
|
-
if (key === "default" || key === "__esModule") return;
|
|
2041
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
2042
|
-
if (key in exports && exports[key] === _index[key]) return;
|
|
2043
|
-
Object.defineProperty(exports, key, {
|
|
2044
|
-
enumerable: true,
|
|
2045
|
-
get: function () {
|
|
2046
|
-
return _index[key];
|
|
2047
|
-
}
|
|
2048
|
-
});
|
|
2049
|
-
});
|
|
2050
|
-
|
|
2051
|
-
var _commandRegistry = __webpack_require__(/*! ./commandRegistry.js */ "../core/build/commandRegistry.js");
|
|
2052
|
-
|
|
2053
|
-
var _command = __webpack_require__(/*! ./command.js */ "../core/build/command.js");
|
|
2054
|
-
|
|
2055
|
-
var _toposort = __webpack_require__(/*! ./toposort.js */ "../core/build/toposort.js");
|
|
2056
|
-
|
|
2057
|
-
Object.keys(_toposort).forEach(function (key) {
|
|
2058
|
-
if (key === "default" || key === "__esModule") return;
|
|
2059
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
2060
|
-
if (key in exports && exports[key] === _toposort[key]) return;
|
|
2061
|
-
Object.defineProperty(exports, key, {
|
|
2062
|
-
enumerable: true,
|
|
2063
|
-
get: function () {
|
|
2064
|
-
return _toposort[key];
|
|
2065
|
-
}
|
|
2066
|
-
});
|
|
2067
|
-
});
|
|
2068
|
-
|
|
2069
|
-
var _findLargest = __webpack_require__(/*! ./findLargest.js */ "../core/build/findLargest.js");
|
|
2070
|
-
|
|
2071
|
-
Object.keys(_findLargest).forEach(function (key) {
|
|
2072
|
-
if (key === "default" || key === "__esModule") return;
|
|
2073
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
2074
|
-
if (key in exports && exports[key] === _findLargest[key]) return;
|
|
2075
|
-
Object.defineProperty(exports, key, {
|
|
2076
|
-
enumerable: true,
|
|
2077
|
-
get: function () {
|
|
2078
|
-
return _findLargest[key];
|
|
2079
|
-
}
|
|
2080
|
-
});
|
|
2081
|
-
});
|
|
2439
|
+
Object.defineProperty(exports, "CommandRegistry", ({
|
|
2440
|
+
enumerable: true,
|
|
2441
|
+
get: function () {
|
|
2442
|
+
return commandRegistry_1.CommandRegistry;
|
|
2443
|
+
}
|
|
2444
|
+
}));
|
|
2082
2445
|
|
|
2083
|
-
|
|
2446
|
+
var command_1 = __webpack_require__(/*! ./command */ "../core/build/command.js");
|
|
2084
2447
|
|
|
2085
|
-
|
|
2448
|
+
Object.defineProperty(exports, "Command", ({
|
|
2449
|
+
enumerable: true,
|
|
2450
|
+
get: function () {
|
|
2451
|
+
return command_1.Command;
|
|
2452
|
+
}
|
|
2453
|
+
}));
|
|
2454
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./toposort */ "../core/build/toposort.js"), exports);
|
|
2455
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./findLargest */ "../core/build/findLargest.js"), exports);
|
|
2086
2456
|
|
|
2087
2457
|
/***/ }),
|
|
2088
2458
|
|
|
@@ -2095,13 +2465,13 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
2095
2465
|
"use strict";
|
|
2096
2466
|
|
|
2097
2467
|
|
|
2468
|
+
__webpack_require__(/*! core-js/modules/es.promise.js */ "../../node_modules/core-js/modules/es.promise.js");
|
|
2469
|
+
|
|
2098
2470
|
Object.defineProperty(exports, "__esModule", ({
|
|
2099
2471
|
value: true
|
|
2100
2472
|
}));
|
|
2101
2473
|
exports.Limiter = void 0;
|
|
2102
2474
|
|
|
2103
|
-
__webpack_require__(/*! core-js/modules/es.promise.js */ "../../node_modules/core-js/modules/es.promise.js");
|
|
2104
|
-
|
|
2105
2475
|
class Limiter {
|
|
2106
2476
|
constructor(concurrency) {
|
|
2107
2477
|
this.concurrency = concurrency;
|
|
@@ -2172,11 +2542,7 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
2172
2542
|
}));
|
|
2173
2543
|
exports.PackageVersion = void 0;
|
|
2174
2544
|
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
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); }
|
|
2178
|
-
|
|
2179
|
-
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; }
|
|
2545
|
+
const StringUtil = __webpack_require__(/*! ./stringUtil */ "../core/build/stringUtil.js");
|
|
2180
2546
|
|
|
2181
2547
|
class PackageVersion {
|
|
2182
2548
|
constructor(major, minor, patch, preRelease, buildNumber) {
|
|
@@ -2377,10 +2743,10 @@ class PackageVersion {
|
|
|
2377
2743
|
return this.major > version.major || this.minor > version.minor || this.patch > version.patch || this.buildNumber > version.buildNumber;
|
|
2378
2744
|
}
|
|
2379
2745
|
|
|
2380
|
-
}
|
|
2746
|
+
}
|
|
2381
2747
|
|
|
2748
|
+
exports.PackageVersion = PackageVersion; // https://regex101.com/r/90PEY9/1
|
|
2382
2749
|
|
|
2383
|
-
exports.PackageVersion = PackageVersion;
|
|
2384
2750
|
PackageVersion.fullTextMatcher = /(\d+)(\.(\d+)(\.(\d+)(\.(\d+))?(-([^\.]+)\.(\d+))?)?)?/;
|
|
2385
2751
|
PackageVersion.lineMatcher = /^(\d+)(\.(\d+)(\.(\d+)(\.(\d+))?(-([^\.]+)\.(\d+))?)?)?$/;
|
|
2386
2752
|
|
|
@@ -2400,21 +2766,15 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
2400
2766
|
}));
|
|
2401
2767
|
exports.findTargetDir = exports.ensureAbsolute = exports.pathExists = void 0;
|
|
2402
2768
|
|
|
2403
|
-
|
|
2769
|
+
const path = __webpack_require__(/*! path */ "path");
|
|
2404
2770
|
|
|
2405
|
-
|
|
2771
|
+
const minimatch = __webpack_require__(/*! minimatch */ "../../node_modules/minimatch/minimatch.js");
|
|
2406
2772
|
|
|
2407
|
-
|
|
2773
|
+
const fs = __webpack_require__(/*! fs */ "fs");
|
|
2408
2774
|
|
|
2409
|
-
|
|
2775
|
+
const os = __webpack_require__(/*! os */ "os");
|
|
2410
2776
|
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2414
|
-
|
|
2415
|
-
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); }
|
|
2416
|
-
|
|
2417
|
-
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; }
|
|
2777
|
+
const FileUtil = __webpack_require__(/*! ./fileUtil */ "../core/build/fileUtil.js");
|
|
2418
2778
|
|
|
2419
2779
|
const pathExists = pth => {
|
|
2420
2780
|
try {
|
|
@@ -2474,7 +2834,7 @@ const findTargetDir = targetDir => {
|
|
|
2474
2834
|
|
|
2475
2835
|
const relativePath = path.relative(searchPath, targetDir);
|
|
2476
2836
|
|
|
2477
|
-
if (workspaces.some(pattern => (
|
|
2837
|
+
if (workspaces.some(pattern => minimatch(relativePath, pattern))) {
|
|
2478
2838
|
targetDir = searchPath;
|
|
2479
2839
|
break;
|
|
2480
2840
|
}
|
|
@@ -2502,8 +2862,7 @@ exports.findTargetDir = findTargetDir;
|
|
|
2502
2862
|
Object.defineProperty(exports, "__esModule", ({
|
|
2503
2863
|
value: true
|
|
2504
2864
|
}));
|
|
2505
|
-
exports.generateId =
|
|
2506
|
-
exports.generateDescriptionName = exports.removeOrg = exports.upperCaseFirst = exports.padStart = void 0;
|
|
2865
|
+
exports.generateId = exports.generateDescriptionName = exports.removeOrg = exports.upperCaseFirst = exports.padStart = void 0;
|
|
2507
2866
|
|
|
2508
2867
|
const padStart = (input, targetLength, padString = " ") => {
|
|
2509
2868
|
targetLength = targetLength >> 0;
|
|
@@ -2543,11 +2902,11 @@ const generateDescriptionName = (currentDescription, packageName) => {
|
|
|
2543
2902
|
return match[1];
|
|
2544
2903
|
}
|
|
2545
2904
|
|
|
2546
|
-
const normalizedName = removeOrg(packageName);
|
|
2905
|
+
const normalizedName = (0, exports.removeOrg)(packageName);
|
|
2547
2906
|
const split = normalizedName.split(".");
|
|
2548
2907
|
const namespaces = split.splice(0, split.length - 1);
|
|
2549
2908
|
let name = split[0];
|
|
2550
|
-
name = name.length <= 3 ? name.toUpperCase() : upperCaseFirst(name);
|
|
2909
|
+
name = name.length <= 3 ? name.toUpperCase() : (0, exports.upperCaseFirst)(name);
|
|
2551
2910
|
return namespaces.map(namespace => namespace.toUpperCase()).concat([name]).join(".");
|
|
2552
2911
|
};
|
|
2553
2912
|
|
|
@@ -2562,6 +2921,8 @@ function generateId() {
|
|
|
2562
2921
|
return S4() + S4() + "-" + S4() + "-" + S4() + "-" + S4() + "-" + S4() + S4() + S4();
|
|
2563
2922
|
}
|
|
2564
2923
|
|
|
2924
|
+
exports.generateId = generateId;
|
|
2925
|
+
|
|
2565
2926
|
/***/ }),
|
|
2566
2927
|
|
|
2567
2928
|
/***/ "../core/build/toposort.js":
|
|
@@ -2623,9 +2984,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
2623
2984
|
}));
|
|
2624
2985
|
exports.TypedEmitter = void 0;
|
|
2625
2986
|
|
|
2626
|
-
|
|
2987
|
+
const events_1 = __webpack_require__(/*! events */ "events");
|
|
2627
2988
|
|
|
2628
|
-
class TypedEmitter extends
|
|
2989
|
+
class TypedEmitter extends events_1.EventEmitter {
|
|
2629
2990
|
on(event, listener) {
|
|
2630
2991
|
return super.on(event, listener);
|
|
2631
2992
|
}
|
|
@@ -2672,46 +3033,26 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
2672
3033
|
"use strict";
|
|
2673
3034
|
|
|
2674
3035
|
|
|
3036
|
+
__webpack_require__(/*! core-js/modules/es.promise.js */ "../../node_modules/core-js/modules/es.promise.js");
|
|
3037
|
+
|
|
2675
3038
|
Object.defineProperty(exports, "__esModule", ({
|
|
2676
3039
|
value: true
|
|
2677
3040
|
}));
|
|
2678
|
-
var _exportNames = {
|
|
2679
|
-
WorkMaster: true
|
|
2680
|
-
};
|
|
2681
3041
|
exports.WorkMaster = void 0;
|
|
2682
3042
|
|
|
2683
|
-
__webpack_require__(/*!
|
|
2684
|
-
|
|
2685
|
-
var cp = _interopRequireWildcard(__webpack_require__(/*! child_process */ "child_process"));
|
|
3043
|
+
const tslib_1 = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
|
|
2686
3044
|
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
var _typedEmitter = __webpack_require__(/*! ../typedEmitter.js */ "../core/build/typedEmitter.js");
|
|
2690
|
-
|
|
2691
|
-
var _slave = __webpack_require__(/*! ./slave.js */ "../core/build/workers/slave.js");
|
|
2692
|
-
|
|
2693
|
-
Object.keys(_slave).forEach(function (key) {
|
|
2694
|
-
if (key === "default" || key === "__esModule") return;
|
|
2695
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
2696
|
-
if (key in exports && exports[key] === _slave[key]) return;
|
|
2697
|
-
Object.defineProperty(exports, key, {
|
|
2698
|
-
enumerable: true,
|
|
2699
|
-
get: function () {
|
|
2700
|
-
return _slave[key];
|
|
2701
|
-
}
|
|
2702
|
-
});
|
|
2703
|
-
});
|
|
3045
|
+
const cp = __webpack_require__(/*! child_process */ "child_process");
|
|
2704
3046
|
|
|
2705
|
-
|
|
3047
|
+
const stringUtil_1 = __webpack_require__(/*! ../stringUtil */ "../core/build/stringUtil.js");
|
|
2706
3048
|
|
|
2707
|
-
|
|
3049
|
+
const typedEmitter_1 = __webpack_require__(/*! ../typedEmitter */ "../core/build/typedEmitter.js");
|
|
2708
3050
|
|
|
2709
|
-
class WorkMaster extends
|
|
3051
|
+
class WorkMaster extends typedEmitter_1.TypedEmitter {
|
|
2710
3052
|
constructor(childPath) {
|
|
2711
3053
|
super();
|
|
2712
3054
|
this.childPath = childPath;
|
|
2713
3055
|
this.messageCbs = new Map();
|
|
2714
|
-
this.id = (0, _stringUtil.generateId)();
|
|
2715
3056
|
|
|
2716
3057
|
this.onMessage = message => {
|
|
2717
3058
|
if (typeof message !== "object") {
|
|
@@ -2729,9 +3070,9 @@ class WorkMaster extends _typedEmitter.TypedEmitter {
|
|
|
2729
3070
|
};
|
|
2730
3071
|
}
|
|
2731
3072
|
|
|
2732
|
-
|
|
3073
|
+
getWorker() {
|
|
2733
3074
|
if (this.worker === undefined) {
|
|
2734
|
-
|
|
3075
|
+
this.spawn();
|
|
2735
3076
|
}
|
|
2736
3077
|
|
|
2737
3078
|
return this.worker;
|
|
@@ -2739,47 +3080,32 @@ class WorkMaster extends _typedEmitter.TypedEmitter {
|
|
|
2739
3080
|
|
|
2740
3081
|
spawn() {
|
|
2741
3082
|
if (this.worker !== undefined) {
|
|
2742
|
-
return
|
|
3083
|
+
return;
|
|
2743
3084
|
}
|
|
2744
3085
|
|
|
2745
3086
|
this.worker = new Proxy({}, {
|
|
2746
|
-
get: (_, property) => {
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
return (...args) => new Promise((resolve, reject) => {
|
|
2752
|
-
const messageId = (0, _stringUtil.generateId)();
|
|
2753
|
-
this.messageCbs.set(messageId, message => {
|
|
2754
|
-
this.messageCbs.delete(messageId);
|
|
3087
|
+
get: (_, property) => (...args) => new Promise((resolve, reject) => {
|
|
3088
|
+
const messageId = (0, stringUtil_1.generateId)();
|
|
3089
|
+
this.messageCbs.set(messageId, message => {
|
|
3090
|
+
this.messageCbs.delete(messageId);
|
|
2755
3091
|
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
3092
|
+
if (message.error !== undefined) {
|
|
3093
|
+
return reject(message.error);
|
|
3094
|
+
}
|
|
2759
3095
|
|
|
2760
|
-
|
|
2761
|
-
});
|
|
2762
|
-
this.cp.send({
|
|
2763
|
-
id: messageId,
|
|
2764
|
-
data: args,
|
|
2765
|
-
name: property
|
|
2766
|
-
});
|
|
3096
|
+
resolve(message.data);
|
|
2767
3097
|
});
|
|
2768
|
-
|
|
3098
|
+
this.cp.send({
|
|
3099
|
+
id: messageId,
|
|
3100
|
+
data: args,
|
|
3101
|
+
name: property
|
|
3102
|
+
});
|
|
3103
|
+
})
|
|
2769
3104
|
});
|
|
2770
3105
|
this.cp = cp.fork(this.childPath, undefined, {
|
|
2771
3106
|
stdio: "inherit"
|
|
2772
3107
|
});
|
|
2773
|
-
|
|
2774
|
-
const handleInit = () => {
|
|
2775
|
-
this.cp.off("message", handleInit);
|
|
2776
|
-
this.cp.on("message", this.onMessage);
|
|
2777
|
-
resolve();
|
|
2778
|
-
};
|
|
2779
|
-
|
|
2780
|
-
this.cp.on("message", handleInit);
|
|
2781
|
-
});
|
|
2782
|
-
return promise;
|
|
3108
|
+
this.cp.on("message", this.onMessage);
|
|
2783
3109
|
}
|
|
2784
3110
|
|
|
2785
3111
|
emit(event, data, ...args) {
|
|
@@ -2793,6 +3119,7 @@ class WorkMaster extends _typedEmitter.TypedEmitter {
|
|
|
2793
3119
|
}
|
|
2794
3120
|
|
|
2795
3121
|
exports.WorkMaster = WorkMaster;
|
|
3122
|
+
(0, tslib_1.__exportStar)(__webpack_require__(/*! ./slave */ "../core/build/workers/slave.js"), exports);
|
|
2796
3123
|
|
|
2797
3124
|
/***/ }),
|
|
2798
3125
|
|
|
@@ -2810,9 +3137,9 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
2810
3137
|
}));
|
|
2811
3138
|
exports.WorkSlave = void 0;
|
|
2812
3139
|
|
|
2813
|
-
|
|
3140
|
+
const typedEmitter_1 = __webpack_require__(/*! ../typedEmitter */ "../core/build/typedEmitter.js");
|
|
2814
3141
|
|
|
2815
|
-
class WorkSlave extends
|
|
3142
|
+
class WorkSlave extends typedEmitter_1.TypedEmitter {
|
|
2816
3143
|
constructor() {
|
|
2817
3144
|
super();
|
|
2818
3145
|
|
|
@@ -2853,7 +3180,6 @@ class WorkSlave extends _typedEmitter.TypedEmitter {
|
|
|
2853
3180
|
};
|
|
2854
3181
|
|
|
2855
3182
|
process.on("message", this.processMessage);
|
|
2856
|
-
process.send("");
|
|
2857
3183
|
}
|
|
2858
3184
|
|
|
2859
3185
|
emit(event, data, ...args) {
|
|
@@ -2932,6 +3258,7 @@ const buildFolders = async options => {
|
|
|
2932
3258
|
path: folderPath,
|
|
2933
3259
|
data: packageData
|
|
2934
3260
|
}] of sortedPackages) {
|
|
3261
|
+
ensureTsConfig(folderPath);
|
|
2935
3262
|
const data = (0, _packages.loadDataFromFolder)(folderPath);
|
|
2936
3263
|
|
|
2937
3264
|
const logStep = step => (0, _util.logPackageMessage)(data.Package, step, index, sortedPackages.size);
|
|
@@ -2966,6 +3293,28 @@ const buildFolders = async options => {
|
|
|
2966
3293
|
|
|
2967
3294
|
exports.buildFolders = buildFolders;
|
|
2968
3295
|
|
|
3296
|
+
const ensureTsConfig = folderPath => {
|
|
3297
|
+
const tsconfigPath = path.join(folderPath, "tsconfig.json");
|
|
3298
|
+
|
|
3299
|
+
if (!fs.existsSync(tsconfigPath)) {
|
|
3300
|
+
const content = {};
|
|
3301
|
+
applyTsConfigOption(content);
|
|
3302
|
+
fs.writeFileSync(tsconfigPath, JSON.stringify(content, undefined, "\t"), "utf8");
|
|
3303
|
+
} else {
|
|
3304
|
+
const content = JSON.parse(fs.readFileSync(tsconfigPath, "utf8"));
|
|
3305
|
+
applyTsConfigOption(content);
|
|
3306
|
+
fs.writeFileSync(tsconfigPath, JSON.stringify(content, undefined, "\t"), "utf8");
|
|
3307
|
+
}
|
|
3308
|
+
};
|
|
3309
|
+
|
|
3310
|
+
const applyTsConfigOption = data => {
|
|
3311
|
+
var _data$compilerOptions;
|
|
3312
|
+
|
|
3313
|
+
data.compilerOptions = (_data$compilerOptions = data.compilerOptions) !== null && _data$compilerOptions !== void 0 ? _data$compilerOptions : {};
|
|
3314
|
+
data.compilerOptions.target = "es5";
|
|
3315
|
+
data.compilerOptions.lib = ["es5", "dom"];
|
|
3316
|
+
};
|
|
3317
|
+
|
|
2969
3318
|
const buildSortedPackageMap = folders => {
|
|
2970
3319
|
const packages = Array.from(folders).reduce((acc, folderPath) => {
|
|
2971
3320
|
const data = _igTools.FileUtil.readJsonFile(path.join(folderPath, "package.json"));
|
|
@@ -3067,7 +3416,6 @@ const releaseFolder = async (folderPath, options) => {
|
|
|
3067
3416
|
var _options$domain, _options$subdomain;
|
|
3068
3417
|
|
|
3069
3418
|
const {
|
|
3070
|
-
version,
|
|
3071
3419
|
write: writeVersionFile,
|
|
3072
3420
|
reset: resetVersionFile
|
|
3073
3421
|
} = getVersionFile(folderPath);
|
|
@@ -3087,21 +3435,30 @@ const releaseFolder = async (folderPath, options) => {
|
|
|
3087
3435
|
throw new Error(`Please enter a version in this format 1.0.0.100`);
|
|
3088
3436
|
}
|
|
3089
3437
|
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3438
|
+
if (newVersion.buildNumber < 100) {
|
|
3439
|
+
newVersion.preRelease = {
|
|
3440
|
+
type: "beta",
|
|
3441
|
+
version: newVersion.buildNumber
|
|
3442
|
+
};
|
|
3443
|
+
} else if (newVersion.buildNumber > 100) {
|
|
3444
|
+
newVersion.preRelease = {
|
|
3445
|
+
type: "patch",
|
|
3446
|
+
version: newVersion.buildNumber - 100
|
|
3447
|
+
};
|
|
3448
|
+
}
|
|
3093
3449
|
|
|
3094
3450
|
if (!options.pushOnly) {
|
|
3095
|
-
if (!options.noValidate && version !== undefined && version.buildNumber >= 100 && !newVersion.isGreaterThan(version)) {
|
|
3096
|
-
throw new Error(`Release versions with a build number > 100 may not be overwritten. Please increase the version.`);
|
|
3097
|
-
}
|
|
3098
|
-
|
|
3099
3451
|
writeVersionFile(fullPackageName, newVersion);
|
|
3100
3452
|
await (0, _build.buildFolders)(_objectSpread(_objectSpread({}, options), {}, {
|
|
3101
3453
|
directories: [folderPath]
|
|
3102
3454
|
}));
|
|
3103
3455
|
}
|
|
3104
3456
|
|
|
3457
|
+
newVersion.preRelease = undefined;
|
|
3458
|
+
const newVersionString = newVersion.toVersionString({
|
|
3459
|
+
buildNumber: true
|
|
3460
|
+
});
|
|
3461
|
+
|
|
3105
3462
|
try {
|
|
3106
3463
|
await (0, _packager.executePackager)({
|
|
3107
3464
|
data: packageDescription,
|
|
@@ -3171,7 +3528,9 @@ const getVersionFile = folder => {
|
|
|
3171
3528
|
});
|
|
3172
3529
|
|
|
3173
3530
|
const createVersionFileWriter = (copyright = [currentYear], copyrightStuff = "") => (name, newVersion) => {
|
|
3174
|
-
const
|
|
3531
|
+
const descriptionText = newVersion.toDescriptionString(name);
|
|
3532
|
+
const copyrightText = createYearString(copyright);
|
|
3533
|
+
const result = `console.log("${descriptionText}. Copyright (C) ${copyrightText}${copyrightStuff}");`;
|
|
3175
3534
|
|
|
3176
3535
|
_igTools.FileUtil.writeFile(filePath, result);
|
|
3177
3536
|
};
|
|
@@ -3399,6 +3758,12 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
3399
3758
|
|
|
3400
3759
|
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; }
|
|
3401
3760
|
|
|
3761
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
3762
|
+
|
|
3763
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
3764
|
+
|
|
3765
|
+
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
|
+
|
|
3402
3767
|
const PLUGIN_ID = "0feba3a0-b6d1-11e6-9598-0800200c9a66";
|
|
3403
3768
|
const PACKAGE_FILE = "_Package.json";
|
|
3404
3769
|
const INDEX_FILE = "_Index.json";
|
|
@@ -3411,6 +3776,8 @@ var Mode;
|
|
|
3411
3776
|
})(Mode || (Mode = {}));
|
|
3412
3777
|
|
|
3413
3778
|
let validateSchema;
|
|
3779
|
+
const runtimeScripts = ["Interactor", "Core", "Mixed"];
|
|
3780
|
+
const notRuntimeScripts = ["Context", "Evaluator"];
|
|
3414
3781
|
|
|
3415
3782
|
const executePackager = async options => {
|
|
3416
3783
|
const logStep = step => (0, _util.logPackageMessage)(`${options.domain}.${options.subdomain}`, step);
|
|
@@ -3447,7 +3814,8 @@ const buildArchive = async ({
|
|
|
3447
3814
|
coerceTypes: true,
|
|
3448
3815
|
allErrors: true,
|
|
3449
3816
|
removeAdditional: true,
|
|
3450
|
-
useDefaults: "empty"
|
|
3817
|
+
useDefaults: "empty",
|
|
3818
|
+
validateSchema: "log"
|
|
3451
3819
|
}).compile(data));
|
|
3452
3820
|
}
|
|
3453
3821
|
|
|
@@ -3493,9 +3861,25 @@ const buildArchive = async ({
|
|
|
3493
3861
|
primaryScriptDir = scriptDirectories[0];
|
|
3494
3862
|
} catch (err) {
|
|
3495
3863
|
throw new Error(`Expected scripts directory "${scriptDirectories[0]}" to exist`);
|
|
3496
|
-
}
|
|
3497
|
-
|
|
3498
|
-
|
|
3864
|
+
}
|
|
3865
|
+
|
|
3866
|
+
const manifest = _igTools.FileUtil.readJsonFile(path.join(primaryScriptDir, PACKAGE_FILE));
|
|
3867
|
+
|
|
3868
|
+
if (manifest !== undefined) {
|
|
3869
|
+
if (manifest.RunTime && notRuntimeScripts.includes(manifest.Type)) {
|
|
3870
|
+
logStep("Setting script RunTime to false because of script type");
|
|
3871
|
+
|
|
3872
|
+
_igTools.FileUtil.writeFile(path.join(primaryScriptDir, PACKAGE_FILE), JSON.stringify(_objectSpread(_objectSpread({}, manifest), {}, {
|
|
3873
|
+
RunTime: false
|
|
3874
|
+
}), undefined, "\t") + "\n");
|
|
3875
|
+
} else if (!manifest.RunTime && runtimeScripts.includes(manifest.Type)) {
|
|
3876
|
+
logStep("Setting script RunTime to true because of script type");
|
|
3877
|
+
|
|
3878
|
+
_igTools.FileUtil.writeFile(path.join(primaryScriptDir, PACKAGE_FILE), JSON.stringify(_objectSpread(_objectSpread({}, manifest), {}, {
|
|
3879
|
+
RunTime: true
|
|
3880
|
+
}), undefined, "\t") + "\n");
|
|
3881
|
+
}
|
|
3882
|
+
} // if (index === undefined) {
|
|
3499
3883
|
// throw new Error(
|
|
3500
3884
|
// `Could not find an "${INDEX_FILE}" file in "${primaryScriptDir}"`,
|
|
3501
3885
|
// );
|
|
@@ -3512,13 +3896,7 @@ const buildArchive = async ({
|
|
|
3512
3896
|
const content = _igTools.FileUtil.readFile(path.join(primaryScriptDir, scriptFile));
|
|
3513
3897
|
|
|
3514
3898
|
const data = JSON.parse(content);
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
if (!valid) {
|
|
3518
|
-
console.log(`Ignoring animation "${scriptFile}", because it's not valid`);
|
|
3519
|
-
continue;
|
|
3520
|
-
}
|
|
3521
|
-
|
|
3899
|
+
validateSchema(data);
|
|
3522
3900
|
animations.set(data.Id, JSON.stringify(data));
|
|
3523
3901
|
}
|
|
3524
3902
|
|
|
@@ -3770,7 +4148,9 @@ const loadDataFromFolder = folder => {
|
|
|
3770
4148
|
|
|
3771
4149
|
data = {
|
|
3772
4150
|
Package: data.Package,
|
|
3773
|
-
Scope: data.Scope || data.Package
|
|
4151
|
+
Scope: data.Scope || data.Package,
|
|
4152
|
+
RunTime: data.RunTime,
|
|
4153
|
+
Type: data.Type
|
|
3774
4154
|
};
|
|
3775
4155
|
|
|
3776
4156
|
if (packageJSON !== undefined) {
|
|
@@ -3796,7 +4176,7 @@ exports.loadDataFromFolder = loadDataFromFolder;
|
|
|
3796
4176
|
Object.defineProperty(exports, "__esModule", ({
|
|
3797
4177
|
value: true
|
|
3798
4178
|
}));
|
|
3799
|
-
exports.build = void 0;
|
|
4179
|
+
exports.tryReadTsConfig = exports.build = void 0;
|
|
3800
4180
|
|
|
3801
4181
|
__webpack_require__(/*! core-js/modules/es.promise.js */ "../../node_modules/core-js/modules/es.promise.js");
|
|
3802
4182
|
|
|
@@ -3808,17 +4188,46 @@ var glob = _interopRequireWildcard(__webpack_require__(/*! glob */ "glob"));
|
|
|
3808
4188
|
|
|
3809
4189
|
var path = _interopRequireWildcard(__webpack_require__(/*! path */ "path"));
|
|
3810
4190
|
|
|
4191
|
+
var fs = _interopRequireWildcard(__webpack_require__(/*! fs */ "fs"));
|
|
4192
|
+
|
|
3811
4193
|
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); }
|
|
3812
4194
|
|
|
3813
4195
|
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; }
|
|
3814
4196
|
|
|
4197
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
4198
|
+
|
|
4199
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
4200
|
+
|
|
4201
|
+
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
|
+
|
|
4203
|
+
const tryReadTsConfig = folderPath => {
|
|
4204
|
+
const {
|
|
4205
|
+
config
|
|
4206
|
+
} = ts.readConfigFile(path.join(folderPath, "tsconfig.json"), path => {
|
|
4207
|
+
try {
|
|
4208
|
+
return fs.readFileSync(path, "utf8");
|
|
4209
|
+
} catch {
|
|
4210
|
+
return undefined;
|
|
4211
|
+
}
|
|
4212
|
+
});
|
|
4213
|
+
return config;
|
|
4214
|
+
};
|
|
4215
|
+
|
|
4216
|
+
exports.tryReadTsConfig = tryReadTsConfig;
|
|
4217
|
+
|
|
3815
4218
|
const build = async (folderPath, options) => {
|
|
3816
|
-
const
|
|
4219
|
+
const config = tryReadTsConfig(folderPath);
|
|
4220
|
+
config.compilerOptions.lib = ["es5", "dom"];
|
|
4221
|
+
const result = ts.convertCompilerOptionsFromJson(config.compilerOptions, folderPath);
|
|
4222
|
+
|
|
4223
|
+
const compilerOptions = _objectSpread(_objectSpread({}, result.options), {}, {
|
|
3817
4224
|
removeComments: false,
|
|
3818
4225
|
declaration: true,
|
|
3819
4226
|
sourceMap: false,
|
|
3820
|
-
outFile: options.outFile
|
|
3821
|
-
|
|
4227
|
+
outFile: options.outFile,
|
|
4228
|
+
target: ts.ScriptTarget.ES5
|
|
4229
|
+
});
|
|
4230
|
+
|
|
3822
4231
|
const host = ts.createCompilerHost(compilerOptions);
|
|
3823
4232
|
|
|
3824
4233
|
host.getCurrentDirectory = () => folderPath;
|
|
@@ -3906,7 +4315,7 @@ const createErrorMessage = diagnostic => {
|
|
|
3906
4315
|
Object.defineProperty(exports, "__esModule", ({
|
|
3907
4316
|
value: true
|
|
3908
4317
|
}));
|
|
3909
|
-
exports.
|
|
4318
|
+
exports.resolveArgs = exports.resolveAliases = exports.parsePackageDomains = exports.logPackageMessage = void 0;
|
|
3910
4319
|
|
|
3911
4320
|
var path = _interopRequireWildcard(__webpack_require__(/*! path */ "path"));
|
|
3912
4321
|
|
|
@@ -4037,9 +4446,12 @@ exports.parsePackageDomains = parsePackageDomains;
|
|
|
4037
4446
|
\**********************************************************/
|
|
4038
4447
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4039
4448
|
|
|
4449
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4040
4450
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
4041
4451
|
var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "../../node_modules/core-js/internals/try-to-string.js");
|
|
4042
4452
|
|
|
4453
|
+
var TypeError = global.TypeError;
|
|
4454
|
+
|
|
4043
4455
|
// `Assert: IsCallable(argument) is true`
|
|
4044
4456
|
module.exports = function (argument) {
|
|
4045
4457
|
if (isCallable(argument)) return argument;
|
|
@@ -4055,9 +4467,12 @@ module.exports = function (argument) {
|
|
|
4055
4467
|
\*************************************************************/
|
|
4056
4468
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4057
4469
|
|
|
4470
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4058
4471
|
var isConstructor = __webpack_require__(/*! ../internals/is-constructor */ "../../node_modules/core-js/internals/is-constructor.js");
|
|
4059
4472
|
var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "../../node_modules/core-js/internals/try-to-string.js");
|
|
4060
4473
|
|
|
4474
|
+
var TypeError = global.TypeError;
|
|
4475
|
+
|
|
4061
4476
|
// `Assert: IsConstructor(argument) is true`
|
|
4062
4477
|
module.exports = function (argument) {
|
|
4063
4478
|
if (isConstructor(argument)) return argument;
|
|
@@ -4073,10 +4488,14 @@ module.exports = function (argument) {
|
|
|
4073
4488
|
\********************************************************************/
|
|
4074
4489
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4075
4490
|
|
|
4491
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4076
4492
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
4077
4493
|
|
|
4494
|
+
var String = global.String;
|
|
4495
|
+
var TypeError = global.TypeError;
|
|
4496
|
+
|
|
4078
4497
|
module.exports = function (argument) {
|
|
4079
|
-
if (typeof argument
|
|
4498
|
+
if (typeof argument == 'object' || isCallable(argument)) return argument;
|
|
4080
4499
|
throw TypeError("Can't set " + String(argument) + ' as a prototype');
|
|
4081
4500
|
};
|
|
4082
4501
|
|
|
@@ -4087,11 +4506,16 @@ module.exports = function (argument) {
|
|
|
4087
4506
|
/*!***********************************************************!*\
|
|
4088
4507
|
!*** ../../node_modules/core-js/internals/an-instance.js ***!
|
|
4089
4508
|
\***********************************************************/
|
|
4090
|
-
/***/ ((module) => {
|
|
4509
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4510
|
+
|
|
4511
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4512
|
+
var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../../node_modules/core-js/internals/object-is-prototype-of.js");
|
|
4513
|
+
|
|
4514
|
+
var TypeError = global.TypeError;
|
|
4091
4515
|
|
|
4092
|
-
module.exports = function (it,
|
|
4093
|
-
if (it
|
|
4094
|
-
throw TypeError('Incorrect
|
|
4516
|
+
module.exports = function (it, Prototype) {
|
|
4517
|
+
if (isPrototypeOf(Prototype, it)) return it;
|
|
4518
|
+
throw TypeError('Incorrect invocation');
|
|
4095
4519
|
};
|
|
4096
4520
|
|
|
4097
4521
|
|
|
@@ -4103,8 +4527,12 @@ module.exports = function (it, Constructor, name) {
|
|
|
4103
4527
|
\*********************************************************/
|
|
4104
4528
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4105
4529
|
|
|
4530
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4106
4531
|
var isObject = __webpack_require__(/*! ../internals/is-object */ "../../node_modules/core-js/internals/is-object.js");
|
|
4107
4532
|
|
|
4533
|
+
var String = global.String;
|
|
4534
|
+
var TypeError = global.TypeError;
|
|
4535
|
+
|
|
4108
4536
|
// `Assert: Type(argument) is Object`
|
|
4109
4537
|
module.exports = function (argument) {
|
|
4110
4538
|
if (isObject(argument)) return argument;
|
|
@@ -4121,14 +4549,14 @@ module.exports = function (argument) {
|
|
|
4121
4549
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4122
4550
|
|
|
4123
4551
|
var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "../../node_modules/core-js/internals/to-indexed-object.js");
|
|
4124
|
-
var toLength = __webpack_require__(/*! ../internals/to-length */ "../../node_modules/core-js/internals/to-length.js");
|
|
4125
4552
|
var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ "../../node_modules/core-js/internals/to-absolute-index.js");
|
|
4553
|
+
var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "../../node_modules/core-js/internals/length-of-array-like.js");
|
|
4126
4554
|
|
|
4127
4555
|
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
4128
4556
|
var createMethod = function (IS_INCLUDES) {
|
|
4129
4557
|
return function ($this, el, fromIndex) {
|
|
4130
4558
|
var O = toIndexedObject($this);
|
|
4131
|
-
var length =
|
|
4559
|
+
var length = lengthOfArrayLike(O);
|
|
4132
4560
|
var index = toAbsoluteIndex(fromIndex, length);
|
|
4133
4561
|
var value;
|
|
4134
4562
|
// Array#includes uses SameValueZero equality algorithm
|
|
@@ -4154,6 +4582,19 @@ module.exports = {
|
|
|
4154
4582
|
};
|
|
4155
4583
|
|
|
4156
4584
|
|
|
4585
|
+
/***/ }),
|
|
4586
|
+
|
|
4587
|
+
/***/ "../../node_modules/core-js/internals/array-slice.js":
|
|
4588
|
+
/*!***********************************************************!*\
|
|
4589
|
+
!*** ../../node_modules/core-js/internals/array-slice.js ***!
|
|
4590
|
+
\***********************************************************/
|
|
4591
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4592
|
+
|
|
4593
|
+
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../../node_modules/core-js/internals/function-uncurry-this.js");
|
|
4594
|
+
|
|
4595
|
+
module.exports = uncurryThis([].slice);
|
|
4596
|
+
|
|
4597
|
+
|
|
4157
4598
|
/***/ }),
|
|
4158
4599
|
|
|
4159
4600
|
/***/ "../../node_modules/core-js/internals/check-correctness-of-iteration.js":
|
|
@@ -4208,12 +4649,15 @@ module.exports = function (exec, SKIP_CLOSING) {
|
|
|
4208
4649
|
/*!***********************************************************!*\
|
|
4209
4650
|
!*** ../../node_modules/core-js/internals/classof-raw.js ***!
|
|
4210
4651
|
\***********************************************************/
|
|
4211
|
-
/***/ ((module) => {
|
|
4652
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4212
4653
|
|
|
4213
|
-
var
|
|
4654
|
+
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../../node_modules/core-js/internals/function-uncurry-this.js");
|
|
4655
|
+
|
|
4656
|
+
var toString = uncurryThis({}.toString);
|
|
4657
|
+
var stringSlice = uncurryThis(''.slice);
|
|
4214
4658
|
|
|
4215
4659
|
module.exports = function (it) {
|
|
4216
|
-
return toString
|
|
4660
|
+
return stringSlice(toString(it), 8, -1);
|
|
4217
4661
|
};
|
|
4218
4662
|
|
|
4219
4663
|
|
|
@@ -4225,12 +4669,15 @@ module.exports = function (it) {
|
|
|
4225
4669
|
\*******************************************************/
|
|
4226
4670
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4227
4671
|
|
|
4672
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4228
4673
|
var TO_STRING_TAG_SUPPORT = __webpack_require__(/*! ../internals/to-string-tag-support */ "../../node_modules/core-js/internals/to-string-tag-support.js");
|
|
4229
4674
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
4230
4675
|
var classofRaw = __webpack_require__(/*! ../internals/classof-raw */ "../../node_modules/core-js/internals/classof-raw.js");
|
|
4231
4676
|
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../../node_modules/core-js/internals/well-known-symbol.js");
|
|
4232
4677
|
|
|
4233
4678
|
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
4679
|
+
var Object = global.Object;
|
|
4680
|
+
|
|
4234
4681
|
// ES3 wrong here
|
|
4235
4682
|
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
|
|
4236
4683
|
|
|
@@ -4262,7 +4709,7 @@ module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
|
4262
4709
|
\***************************************************************************/
|
|
4263
4710
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4264
4711
|
|
|
4265
|
-
var
|
|
4712
|
+
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../../node_modules/core-js/internals/has-own-property.js");
|
|
4266
4713
|
var ownKeys = __webpack_require__(/*! ../internals/own-keys */ "../../node_modules/core-js/internals/own-keys.js");
|
|
4267
4714
|
var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "../../node_modules/core-js/internals/object-get-own-property-descriptor.js");
|
|
4268
4715
|
var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ "../../node_modules/core-js/internals/object-define-property.js");
|
|
@@ -4273,7 +4720,7 @@ module.exports = function (target, source) {
|
|
|
4273
4720
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
4274
4721
|
for (var i = 0; i < keys.length; i++) {
|
|
4275
4722
|
var key = keys[i];
|
|
4276
|
-
if (!
|
|
4723
|
+
if (!hasOwn(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
4277
4724
|
}
|
|
4278
4725
|
};
|
|
4279
4726
|
|
|
@@ -4450,16 +4897,22 @@ var match, version;
|
|
|
4450
4897
|
|
|
4451
4898
|
if (v8) {
|
|
4452
4899
|
match = v8.split('.');
|
|
4453
|
-
|
|
4454
|
-
|
|
4900
|
+
// in old Chrome, versions of V8 isn't V8 = Chrome / 10
|
|
4901
|
+
// but their correct versions are not interesting for us
|
|
4902
|
+
version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
|
|
4903
|
+
}
|
|
4904
|
+
|
|
4905
|
+
// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
|
|
4906
|
+
// so check `userAgent` even if `.v8` exists, but 0
|
|
4907
|
+
if (!version && userAgent) {
|
|
4455
4908
|
match = userAgent.match(/Edge\/(\d+)/);
|
|
4456
4909
|
if (!match || match[1] >= 74) {
|
|
4457
4910
|
match = userAgent.match(/Chrome\/(\d+)/);
|
|
4458
|
-
if (match) version = match[1];
|
|
4911
|
+
if (match) version = +match[1];
|
|
4459
4912
|
}
|
|
4460
4913
|
}
|
|
4461
4914
|
|
|
4462
|
-
module.exports = version
|
|
4915
|
+
module.exports = version;
|
|
4463
4916
|
|
|
4464
4917
|
|
|
4465
4918
|
/***/ }),
|
|
@@ -4491,7 +4944,7 @@ module.exports = [
|
|
|
4491
4944
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4492
4945
|
|
|
4493
4946
|
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
4494
|
-
var getOwnPropertyDescriptor = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "../../node_modules/core-js/internals/object-get-own-property-descriptor.js").f;
|
|
4947
|
+
var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "../../node_modules/core-js/internals/object-get-own-property-descriptor.js").f);
|
|
4495
4948
|
var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../../node_modules/core-js/internals/create-non-enumerable-property.js");
|
|
4496
4949
|
var redefine = __webpack_require__(/*! ../internals/redefine */ "../../node_modules/core-js/internals/redefine.js");
|
|
4497
4950
|
var setGlobal = __webpack_require__(/*! ../internals/set-global */ "../../node_modules/core-js/internals/set-global.js");
|
|
@@ -4534,7 +4987,7 @@ module.exports = function (options, source) {
|
|
|
4534
4987
|
FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
|
|
4535
4988
|
// contained in target
|
|
4536
4989
|
if (!FORCED && targetProperty !== undefined) {
|
|
4537
|
-
if (typeof sourceProperty
|
|
4990
|
+
if (typeof sourceProperty == typeof targetProperty) continue;
|
|
4538
4991
|
copyConstructorProperties(sourceProperty, targetProperty);
|
|
4539
4992
|
}
|
|
4540
4993
|
// add a flag to not completely full polyfills
|
|
@@ -4564,6 +5017,25 @@ module.exports = function (exec) {
|
|
|
4564
5017
|
};
|
|
4565
5018
|
|
|
4566
5019
|
|
|
5020
|
+
/***/ }),
|
|
5021
|
+
|
|
5022
|
+
/***/ "../../node_modules/core-js/internals/function-apply.js":
|
|
5023
|
+
/*!**************************************************************!*\
|
|
5024
|
+
!*** ../../node_modules/core-js/internals/function-apply.js ***!
|
|
5025
|
+
\**************************************************************/
|
|
5026
|
+
/***/ ((module) => {
|
|
5027
|
+
|
|
5028
|
+
var FunctionPrototype = Function.prototype;
|
|
5029
|
+
var apply = FunctionPrototype.apply;
|
|
5030
|
+
var bind = FunctionPrototype.bind;
|
|
5031
|
+
var call = FunctionPrototype.call;
|
|
5032
|
+
|
|
5033
|
+
// eslint-disable-next-line es/no-reflect -- safe
|
|
5034
|
+
module.exports = typeof Reflect == 'object' && Reflect.apply || (bind ? call.bind(apply) : function () {
|
|
5035
|
+
return call.apply(apply, arguments);
|
|
5036
|
+
});
|
|
5037
|
+
|
|
5038
|
+
|
|
4567
5039
|
/***/ }),
|
|
4568
5040
|
|
|
4569
5041
|
/***/ "../../node_modules/core-js/internals/function-bind-context.js":
|
|
@@ -4572,32 +5044,35 @@ module.exports = function (exec) {
|
|
|
4572
5044
|
\*********************************************************************/
|
|
4573
5045
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4574
5046
|
|
|
5047
|
+
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../../node_modules/core-js/internals/function-uncurry-this.js");
|
|
4575
5048
|
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../../node_modules/core-js/internals/a-callable.js");
|
|
4576
5049
|
|
|
5050
|
+
var bind = uncurryThis(uncurryThis.bind);
|
|
5051
|
+
|
|
4577
5052
|
// optional / simple context binding
|
|
4578
|
-
module.exports = function (fn, that
|
|
5053
|
+
module.exports = function (fn, that) {
|
|
4579
5054
|
aCallable(fn);
|
|
4580
|
-
|
|
4581
|
-
switch (length) {
|
|
4582
|
-
case 0: return function () {
|
|
4583
|
-
return fn.call(that);
|
|
4584
|
-
};
|
|
4585
|
-
case 1: return function (a) {
|
|
4586
|
-
return fn.call(that, a);
|
|
4587
|
-
};
|
|
4588
|
-
case 2: return function (a, b) {
|
|
4589
|
-
return fn.call(that, a, b);
|
|
4590
|
-
};
|
|
4591
|
-
case 3: return function (a, b, c) {
|
|
4592
|
-
return fn.call(that, a, b, c);
|
|
4593
|
-
};
|
|
4594
|
-
}
|
|
4595
|
-
return function (/* ...args */) {
|
|
5055
|
+
return that === undefined ? fn : bind ? bind(fn, that) : function (/* ...args */) {
|
|
4596
5056
|
return fn.apply(that, arguments);
|
|
4597
5057
|
};
|
|
4598
5058
|
};
|
|
4599
5059
|
|
|
4600
5060
|
|
|
5061
|
+
/***/ }),
|
|
5062
|
+
|
|
5063
|
+
/***/ "../../node_modules/core-js/internals/function-call.js":
|
|
5064
|
+
/*!*************************************************************!*\
|
|
5065
|
+
!*** ../../node_modules/core-js/internals/function-call.js ***!
|
|
5066
|
+
\*************************************************************/
|
|
5067
|
+
/***/ ((module) => {
|
|
5068
|
+
|
|
5069
|
+
var call = Function.prototype.call;
|
|
5070
|
+
|
|
5071
|
+
module.exports = call.bind ? call.bind(call) : function () {
|
|
5072
|
+
return call.apply(call, arguments);
|
|
5073
|
+
};
|
|
5074
|
+
|
|
5075
|
+
|
|
4601
5076
|
/***/ }),
|
|
4602
5077
|
|
|
4603
5078
|
/***/ "../../node_modules/core-js/internals/function-name.js":
|
|
@@ -4607,13 +5082,13 @@ module.exports = function (fn, that, length) {
|
|
|
4607
5082
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4608
5083
|
|
|
4609
5084
|
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../../node_modules/core-js/internals/descriptors.js");
|
|
4610
|
-
var
|
|
5085
|
+
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../../node_modules/core-js/internals/has-own-property.js");
|
|
4611
5086
|
|
|
4612
5087
|
var FunctionPrototype = Function.prototype;
|
|
4613
5088
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
4614
5089
|
var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
|
|
4615
5090
|
|
|
4616
|
-
var EXISTS =
|
|
5091
|
+
var EXISTS = hasOwn(FunctionPrototype, 'name');
|
|
4617
5092
|
// additional protection from minified / mangled / dropped function names
|
|
4618
5093
|
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
4619
5094
|
var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));
|
|
@@ -4625,6 +5100,28 @@ module.exports = {
|
|
|
4625
5100
|
};
|
|
4626
5101
|
|
|
4627
5102
|
|
|
5103
|
+
/***/ }),
|
|
5104
|
+
|
|
5105
|
+
/***/ "../../node_modules/core-js/internals/function-uncurry-this.js":
|
|
5106
|
+
/*!*********************************************************************!*\
|
|
5107
|
+
!*** ../../node_modules/core-js/internals/function-uncurry-this.js ***!
|
|
5108
|
+
\*********************************************************************/
|
|
5109
|
+
/***/ ((module) => {
|
|
5110
|
+
|
|
5111
|
+
var FunctionPrototype = Function.prototype;
|
|
5112
|
+
var bind = FunctionPrototype.bind;
|
|
5113
|
+
var call = FunctionPrototype.call;
|
|
5114
|
+
var callBind = bind && bind.bind(call);
|
|
5115
|
+
|
|
5116
|
+
module.exports = bind ? function (fn) {
|
|
5117
|
+
return fn && callBind(call, fn);
|
|
5118
|
+
} : function (fn) {
|
|
5119
|
+
return fn && function () {
|
|
5120
|
+
return call.apply(fn, arguments);
|
|
5121
|
+
};
|
|
5122
|
+
};
|
|
5123
|
+
|
|
5124
|
+
|
|
4628
5125
|
/***/ }),
|
|
4629
5126
|
|
|
4630
5127
|
/***/ "../../node_modules/core-js/internals/get-built-in.js":
|
|
@@ -4675,14 +5172,19 @@ module.exports = function (it) {
|
|
|
4675
5172
|
\************************************************************/
|
|
4676
5173
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4677
5174
|
|
|
5175
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
5176
|
+
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
4678
5177
|
var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../../node_modules/core-js/internals/a-callable.js");
|
|
4679
5178
|
var anObject = __webpack_require__(/*! ../internals/an-object */ "../../node_modules/core-js/internals/an-object.js");
|
|
5179
|
+
var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "../../node_modules/core-js/internals/try-to-string.js");
|
|
4680
5180
|
var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ "../../node_modules/core-js/internals/get-iterator-method.js");
|
|
4681
5181
|
|
|
5182
|
+
var TypeError = global.TypeError;
|
|
5183
|
+
|
|
4682
5184
|
module.exports = function (argument, usingIterator) {
|
|
4683
5185
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;
|
|
4684
|
-
if (aCallable(iteratorMethod)) return anObject(
|
|
4685
|
-
throw TypeError(
|
|
5186
|
+
if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));
|
|
5187
|
+
throw TypeError(tryToString(argument) + ' is not iterable');
|
|
4686
5188
|
};
|
|
4687
5189
|
|
|
4688
5190
|
|
|
@@ -4730,18 +5232,21 @@ module.exports =
|
|
|
4730
5232
|
|
|
4731
5233
|
/***/ }),
|
|
4732
5234
|
|
|
4733
|
-
/***/ "../../node_modules/core-js/internals/has.js":
|
|
4734
|
-
|
|
4735
|
-
!*** ../../node_modules/core-js/internals/has.js ***!
|
|
4736
|
-
|
|
5235
|
+
/***/ "../../node_modules/core-js/internals/has-own-property.js":
|
|
5236
|
+
/*!****************************************************************!*\
|
|
5237
|
+
!*** ../../node_modules/core-js/internals/has-own-property.js ***!
|
|
5238
|
+
\****************************************************************/
|
|
4737
5239
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4738
5240
|
|
|
5241
|
+
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../../node_modules/core-js/internals/function-uncurry-this.js");
|
|
4739
5242
|
var toObject = __webpack_require__(/*! ../internals/to-object */ "../../node_modules/core-js/internals/to-object.js");
|
|
4740
5243
|
|
|
4741
|
-
var hasOwnProperty = {}.hasOwnProperty;
|
|
5244
|
+
var hasOwnProperty = uncurryThis({}.hasOwnProperty);
|
|
4742
5245
|
|
|
5246
|
+
// `HasOwnProperty` abstract operation
|
|
5247
|
+
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
4743
5248
|
module.exports = Object.hasOwn || function hasOwn(it, key) {
|
|
4744
|
-
return hasOwnProperty
|
|
5249
|
+
return hasOwnProperty(toObject(it), key);
|
|
4745
5250
|
};
|
|
4746
5251
|
|
|
4747
5252
|
|
|
@@ -4769,7 +5274,7 @@ var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/
|
|
|
4769
5274
|
module.exports = function (a, b) {
|
|
4770
5275
|
var console = global.console;
|
|
4771
5276
|
if (console && console.error) {
|
|
4772
|
-
arguments.length
|
|
5277
|
+
arguments.length == 1 ? console.error(a) : console.error(a, b);
|
|
4773
5278
|
}
|
|
4774
5279
|
};
|
|
4775
5280
|
|
|
@@ -4816,10 +5321,13 @@ module.exports = !DESCRIPTORS && !fails(function () {
|
|
|
4816
5321
|
\**************************************************************/
|
|
4817
5322
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4818
5323
|
|
|
5324
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
5325
|
+
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../../node_modules/core-js/internals/function-uncurry-this.js");
|
|
4819
5326
|
var fails = __webpack_require__(/*! ../internals/fails */ "../../node_modules/core-js/internals/fails.js");
|
|
4820
5327
|
var classof = __webpack_require__(/*! ../internals/classof-raw */ "../../node_modules/core-js/internals/classof-raw.js");
|
|
4821
5328
|
|
|
4822
|
-
var
|
|
5329
|
+
var Object = global.Object;
|
|
5330
|
+
var split = uncurryThis(''.split);
|
|
4823
5331
|
|
|
4824
5332
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
4825
5333
|
module.exports = fails(function () {
|
|
@@ -4827,7 +5335,7 @@ module.exports = fails(function () {
|
|
|
4827
5335
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
4828
5336
|
return !Object('z').propertyIsEnumerable(0);
|
|
4829
5337
|
}) ? function (it) {
|
|
4830
|
-
return classof(it) == 'String' ? split
|
|
5338
|
+
return classof(it) == 'String' ? split(it, '') : Object(it);
|
|
4831
5339
|
} : Object;
|
|
4832
5340
|
|
|
4833
5341
|
|
|
@@ -4839,15 +5347,16 @@ module.exports = fails(function () {
|
|
|
4839
5347
|
\**************************************************************/
|
|
4840
5348
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4841
5349
|
|
|
5350
|
+
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../../node_modules/core-js/internals/function-uncurry-this.js");
|
|
4842
5351
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
4843
5352
|
var store = __webpack_require__(/*! ../internals/shared-store */ "../../node_modules/core-js/internals/shared-store.js");
|
|
4844
5353
|
|
|
4845
|
-
var functionToString = Function.toString;
|
|
5354
|
+
var functionToString = uncurryThis(Function.toString);
|
|
4846
5355
|
|
|
4847
5356
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
4848
5357
|
if (!isCallable(store.inspectSource)) {
|
|
4849
5358
|
store.inspectSource = function (it) {
|
|
4850
|
-
return functionToString
|
|
5359
|
+
return functionToString(it);
|
|
4851
5360
|
};
|
|
4852
5361
|
}
|
|
4853
5362
|
|
|
@@ -4864,14 +5373,16 @@ module.exports = store.inspectSource;
|
|
|
4864
5373
|
|
|
4865
5374
|
var NATIVE_WEAK_MAP = __webpack_require__(/*! ../internals/native-weak-map */ "../../node_modules/core-js/internals/native-weak-map.js");
|
|
4866
5375
|
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
5376
|
+
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../../node_modules/core-js/internals/function-uncurry-this.js");
|
|
4867
5377
|
var isObject = __webpack_require__(/*! ../internals/is-object */ "../../node_modules/core-js/internals/is-object.js");
|
|
4868
5378
|
var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../../node_modules/core-js/internals/create-non-enumerable-property.js");
|
|
4869
|
-
var
|
|
5379
|
+
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../../node_modules/core-js/internals/has-own-property.js");
|
|
4870
5380
|
var shared = __webpack_require__(/*! ../internals/shared-store */ "../../node_modules/core-js/internals/shared-store.js");
|
|
4871
5381
|
var sharedKey = __webpack_require__(/*! ../internals/shared-key */ "../../node_modules/core-js/internals/shared-key.js");
|
|
4872
5382
|
var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "../../node_modules/core-js/internals/hidden-keys.js");
|
|
4873
5383
|
|
|
4874
5384
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
5385
|
+
var TypeError = global.TypeError;
|
|
4875
5386
|
var WeakMap = global.WeakMap;
|
|
4876
5387
|
var set, get, has;
|
|
4877
5388
|
|
|
@@ -4890,35 +5401,35 @@ var getterFor = function (TYPE) {
|
|
|
4890
5401
|
|
|
4891
5402
|
if (NATIVE_WEAK_MAP || shared.state) {
|
|
4892
5403
|
var store = shared.state || (shared.state = new WeakMap());
|
|
4893
|
-
var wmget = store.get;
|
|
4894
|
-
var wmhas = store.has;
|
|
4895
|
-
var wmset = store.set;
|
|
5404
|
+
var wmget = uncurryThis(store.get);
|
|
5405
|
+
var wmhas = uncurryThis(store.has);
|
|
5406
|
+
var wmset = uncurryThis(store.set);
|
|
4896
5407
|
set = function (it, metadata) {
|
|
4897
|
-
if (wmhas
|
|
5408
|
+
if (wmhas(store, it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
|
|
4898
5409
|
metadata.facade = it;
|
|
4899
|
-
wmset
|
|
5410
|
+
wmset(store, it, metadata);
|
|
4900
5411
|
return metadata;
|
|
4901
5412
|
};
|
|
4902
5413
|
get = function (it) {
|
|
4903
|
-
return wmget
|
|
5414
|
+
return wmget(store, it) || {};
|
|
4904
5415
|
};
|
|
4905
5416
|
has = function (it) {
|
|
4906
|
-
return wmhas
|
|
5417
|
+
return wmhas(store, it);
|
|
4907
5418
|
};
|
|
4908
5419
|
} else {
|
|
4909
5420
|
var STATE = sharedKey('state');
|
|
4910
5421
|
hiddenKeys[STATE] = true;
|
|
4911
5422
|
set = function (it, metadata) {
|
|
4912
|
-
if (
|
|
5423
|
+
if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
|
|
4913
5424
|
metadata.facade = it;
|
|
4914
5425
|
createNonEnumerableProperty(it, STATE, metadata);
|
|
4915
5426
|
return metadata;
|
|
4916
5427
|
};
|
|
4917
5428
|
get = function (it) {
|
|
4918
|
-
return
|
|
5429
|
+
return hasOwn(it, STATE) ? it[STATE] : {};
|
|
4919
5430
|
};
|
|
4920
5431
|
has = function (it) {
|
|
4921
|
-
return
|
|
5432
|
+
return hasOwn(it, STATE);
|
|
4922
5433
|
};
|
|
4923
5434
|
}
|
|
4924
5435
|
|
|
@@ -4962,7 +5473,7 @@ module.exports = function (it) {
|
|
|
4962
5473
|
// `IsCallable` abstract operation
|
|
4963
5474
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
4964
5475
|
module.exports = function (argument) {
|
|
4965
|
-
return typeof argument
|
|
5476
|
+
return typeof argument == 'function';
|
|
4966
5477
|
};
|
|
4967
5478
|
|
|
4968
5479
|
|
|
@@ -4974,22 +5485,24 @@ module.exports = function (argument) {
|
|
|
4974
5485
|
\**************************************************************/
|
|
4975
5486
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4976
5487
|
|
|
5488
|
+
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../../node_modules/core-js/internals/function-uncurry-this.js");
|
|
4977
5489
|
var fails = __webpack_require__(/*! ../internals/fails */ "../../node_modules/core-js/internals/fails.js");
|
|
4978
5490
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
4979
5491
|
var classof = __webpack_require__(/*! ../internals/classof */ "../../node_modules/core-js/internals/classof.js");
|
|
4980
5492
|
var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../../node_modules/core-js/internals/get-built-in.js");
|
|
4981
5493
|
var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ "../../node_modules/core-js/internals/inspect-source.js");
|
|
4982
5494
|
|
|
5495
|
+
var noop = function () { /* empty */ };
|
|
4983
5496
|
var empty = [];
|
|
4984
5497
|
var construct = getBuiltIn('Reflect', 'construct');
|
|
4985
5498
|
var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
4986
|
-
var exec = constructorRegExp.exec;
|
|
4987
|
-
var INCORRECT_TO_STRING = !constructorRegExp.exec(
|
|
5499
|
+
var exec = uncurryThis(constructorRegExp.exec);
|
|
5500
|
+
var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
|
|
4988
5501
|
|
|
4989
5502
|
var isConstructorModern = function (argument) {
|
|
4990
5503
|
if (!isCallable(argument)) return false;
|
|
4991
5504
|
try {
|
|
4992
|
-
construct(
|
|
5505
|
+
construct(noop, empty, argument);
|
|
4993
5506
|
return true;
|
|
4994
5507
|
} catch (error) {
|
|
4995
5508
|
return false;
|
|
@@ -5003,7 +5516,7 @@ var isConstructorLegacy = function (argument) {
|
|
|
5003
5516
|
case 'GeneratorFunction':
|
|
5004
5517
|
case 'AsyncGeneratorFunction': return false;
|
|
5005
5518
|
// we can't check .prototype since constructors produced by .bind haven't it
|
|
5006
|
-
} return INCORRECT_TO_STRING || !!exec
|
|
5519
|
+
} return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
|
|
5007
5520
|
};
|
|
5008
5521
|
|
|
5009
5522
|
// `IsConstructor` abstract operation
|
|
@@ -5060,7 +5573,7 @@ module.exports = isForced;
|
|
|
5060
5573
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
5061
5574
|
|
|
5062
5575
|
module.exports = function (it) {
|
|
5063
|
-
return typeof it
|
|
5576
|
+
return typeof it == 'object' ? it !== null : isCallable(it);
|
|
5064
5577
|
};
|
|
5065
5578
|
|
|
5066
5579
|
|
|
@@ -5083,15 +5596,19 @@ module.exports = false;
|
|
|
5083
5596
|
\*********************************************************/
|
|
5084
5597
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5085
5598
|
|
|
5086
|
-
var
|
|
5599
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
5087
5600
|
var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../../node_modules/core-js/internals/get-built-in.js");
|
|
5601
|
+
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
5602
|
+
var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../../node_modules/core-js/internals/object-is-prototype-of.js");
|
|
5088
5603
|
var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "../../node_modules/core-js/internals/use-symbol-as-uid.js");
|
|
5089
5604
|
|
|
5605
|
+
var Object = global.Object;
|
|
5606
|
+
|
|
5090
5607
|
module.exports = USE_SYMBOL_AS_UID ? function (it) {
|
|
5091
5608
|
return typeof it == 'symbol';
|
|
5092
5609
|
} : function (it) {
|
|
5093
5610
|
var $Symbol = getBuiltIn('Symbol');
|
|
5094
|
-
return isCallable($Symbol) && Object(it)
|
|
5611
|
+
return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, Object(it));
|
|
5095
5612
|
};
|
|
5096
5613
|
|
|
5097
5614
|
|
|
@@ -5103,25 +5620,33 @@ module.exports = USE_SYMBOL_AS_UID ? function (it) {
|
|
|
5103
5620
|
\*******************************************************/
|
|
5104
5621
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5105
5622
|
|
|
5623
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
5624
|
+
var bind = __webpack_require__(/*! ../internals/function-bind-context */ "../../node_modules/core-js/internals/function-bind-context.js");
|
|
5625
|
+
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
5106
5626
|
var anObject = __webpack_require__(/*! ../internals/an-object */ "../../node_modules/core-js/internals/an-object.js");
|
|
5627
|
+
var tryToString = __webpack_require__(/*! ../internals/try-to-string */ "../../node_modules/core-js/internals/try-to-string.js");
|
|
5107
5628
|
var isArrayIteratorMethod = __webpack_require__(/*! ../internals/is-array-iterator-method */ "../../node_modules/core-js/internals/is-array-iterator-method.js");
|
|
5108
|
-
var
|
|
5109
|
-
var
|
|
5629
|
+
var lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ "../../node_modules/core-js/internals/length-of-array-like.js");
|
|
5630
|
+
var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../../node_modules/core-js/internals/object-is-prototype-of.js");
|
|
5110
5631
|
var getIterator = __webpack_require__(/*! ../internals/get-iterator */ "../../node_modules/core-js/internals/get-iterator.js");
|
|
5111
5632
|
var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ "../../node_modules/core-js/internals/get-iterator-method.js");
|
|
5112
5633
|
var iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ "../../node_modules/core-js/internals/iterator-close.js");
|
|
5113
5634
|
|
|
5635
|
+
var TypeError = global.TypeError;
|
|
5636
|
+
|
|
5114
5637
|
var Result = function (stopped, result) {
|
|
5115
5638
|
this.stopped = stopped;
|
|
5116
5639
|
this.result = result;
|
|
5117
5640
|
};
|
|
5118
5641
|
|
|
5642
|
+
var ResultPrototype = Result.prototype;
|
|
5643
|
+
|
|
5119
5644
|
module.exports = function (iterable, unboundFunction, options) {
|
|
5120
5645
|
var that = options && options.that;
|
|
5121
5646
|
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
|
5122
5647
|
var IS_ITERATOR = !!(options && options.IS_ITERATOR);
|
|
5123
5648
|
var INTERRUPTED = !!(options && options.INTERRUPTED);
|
|
5124
|
-
var fn = bind(unboundFunction, that
|
|
5649
|
+
var fn = bind(unboundFunction, that);
|
|
5125
5650
|
var iterator, iterFn, index, length, result, next, step;
|
|
5126
5651
|
|
|
5127
5652
|
var stop = function (condition) {
|
|
@@ -5140,25 +5665,25 @@ module.exports = function (iterable, unboundFunction, options) {
|
|
|
5140
5665
|
iterator = iterable;
|
|
5141
5666
|
} else {
|
|
5142
5667
|
iterFn = getIteratorMethod(iterable);
|
|
5143
|
-
if (!iterFn) throw TypeError(
|
|
5668
|
+
if (!iterFn) throw TypeError(tryToString(iterable) + ' is not iterable');
|
|
5144
5669
|
// optimisation for array iterators
|
|
5145
5670
|
if (isArrayIteratorMethod(iterFn)) {
|
|
5146
|
-
for (index = 0, length =
|
|
5671
|
+
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
|
|
5147
5672
|
result = callFn(iterable[index]);
|
|
5148
|
-
if (result && result
|
|
5673
|
+
if (result && isPrototypeOf(ResultPrototype, result)) return result;
|
|
5149
5674
|
} return new Result(false);
|
|
5150
5675
|
}
|
|
5151
5676
|
iterator = getIterator(iterable, iterFn);
|
|
5152
5677
|
}
|
|
5153
5678
|
|
|
5154
5679
|
next = iterator.next;
|
|
5155
|
-
while (!(step =
|
|
5680
|
+
while (!(step = call(next, iterator)).done) {
|
|
5156
5681
|
try {
|
|
5157
5682
|
result = callFn(step.value);
|
|
5158
5683
|
} catch (error) {
|
|
5159
5684
|
iteratorClose(iterator, 'throw', error);
|
|
5160
5685
|
}
|
|
5161
|
-
if (typeof result == 'object' && result && result
|
|
5686
|
+
if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;
|
|
5162
5687
|
} return new Result(false);
|
|
5163
5688
|
};
|
|
5164
5689
|
|
|
@@ -5171,6 +5696,7 @@ module.exports = function (iterable, unboundFunction, options) {
|
|
|
5171
5696
|
\**************************************************************/
|
|
5172
5697
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5173
5698
|
|
|
5699
|
+
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
5174
5700
|
var anObject = __webpack_require__(/*! ../internals/an-object */ "../../node_modules/core-js/internals/an-object.js");
|
|
5175
5701
|
var getMethod = __webpack_require__(/*! ../internals/get-method */ "../../node_modules/core-js/internals/get-method.js");
|
|
5176
5702
|
|
|
@@ -5183,7 +5709,7 @@ module.exports = function (iterator, kind, value) {
|
|
|
5183
5709
|
if (kind === 'throw') throw value;
|
|
5184
5710
|
return value;
|
|
5185
5711
|
}
|
|
5186
|
-
innerResult =
|
|
5712
|
+
innerResult = call(innerResult, iterator);
|
|
5187
5713
|
} catch (error) {
|
|
5188
5714
|
innerError = true;
|
|
5189
5715
|
innerResult = error;
|
|
@@ -5206,6 +5732,23 @@ module.exports = function (iterator, kind, value) {
|
|
|
5206
5732
|
module.exports = {};
|
|
5207
5733
|
|
|
5208
5734
|
|
|
5735
|
+
/***/ }),
|
|
5736
|
+
|
|
5737
|
+
/***/ "../../node_modules/core-js/internals/length-of-array-like.js":
|
|
5738
|
+
/*!********************************************************************!*\
|
|
5739
|
+
!*** ../../node_modules/core-js/internals/length-of-array-like.js ***!
|
|
5740
|
+
\********************************************************************/
|
|
5741
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5742
|
+
|
|
5743
|
+
var toLength = __webpack_require__(/*! ../internals/to-length */ "../../node_modules/core-js/internals/to-length.js");
|
|
5744
|
+
|
|
5745
|
+
// `LengthOfArrayLike` abstract operation
|
|
5746
|
+
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
|
5747
|
+
module.exports = function (obj) {
|
|
5748
|
+
return toLength(obj.length);
|
|
5749
|
+
};
|
|
5750
|
+
|
|
5751
|
+
|
|
5209
5752
|
/***/ }),
|
|
5210
5753
|
|
|
5211
5754
|
/***/ "../../node_modules/core-js/internals/microtask.js":
|
|
@@ -5215,8 +5758,9 @@ module.exports = {};
|
|
|
5215
5758
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5216
5759
|
|
|
5217
5760
|
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
5218
|
-
var
|
|
5219
|
-
var
|
|
5761
|
+
var bind = __webpack_require__(/*! ../internals/function-bind-context */ "../../node_modules/core-js/internals/function-bind-context.js");
|
|
5762
|
+
var getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ "../../node_modules/core-js/internals/object-get-own-property-descriptor.js").f);
|
|
5763
|
+
var macrotask = (__webpack_require__(/*! ../internals/task */ "../../node_modules/core-js/internals/task.js").set);
|
|
5220
5764
|
var IS_IOS = __webpack_require__(/*! ../internals/engine-is-ios */ "../../node_modules/core-js/internals/engine-is-ios.js");
|
|
5221
5765
|
var IS_IOS_PEBBLE = __webpack_require__(/*! ../internals/engine-is-ios-pebble */ "../../node_modules/core-js/internals/engine-is-ios-pebble.js");
|
|
5222
5766
|
var IS_WEBOS_WEBKIT = __webpack_require__(/*! ../internals/engine-is-webos-webkit */ "../../node_modules/core-js/internals/engine-is-webos-webkit.js");
|
|
@@ -5266,9 +5810,9 @@ if (!queueMicrotask) {
|
|
|
5266
5810
|
promise = Promise.resolve(undefined);
|
|
5267
5811
|
// workaround of WebKit ~ iOS Safari 10.1 bug
|
|
5268
5812
|
promise.constructor = Promise;
|
|
5269
|
-
then = promise.then;
|
|
5813
|
+
then = bind(promise.then, promise);
|
|
5270
5814
|
notify = function () {
|
|
5271
|
-
then
|
|
5815
|
+
then(flush);
|
|
5272
5816
|
};
|
|
5273
5817
|
// Node.js without promises
|
|
5274
5818
|
} else if (IS_NODE) {
|
|
@@ -5282,9 +5826,10 @@ if (!queueMicrotask) {
|
|
|
5282
5826
|
// - onreadystatechange
|
|
5283
5827
|
// - setTimeout
|
|
5284
5828
|
} else {
|
|
5829
|
+
// strange IE + webpack dev server bug - use .bind(global)
|
|
5830
|
+
macrotask = bind(macrotask, global);
|
|
5285
5831
|
notify = function () {
|
|
5286
|
-
|
|
5287
|
-
macrotask.call(global, flush);
|
|
5832
|
+
macrotask(flush);
|
|
5288
5833
|
};
|
|
5289
5834
|
}
|
|
5290
5835
|
}
|
|
@@ -5390,11 +5935,13 @@ module.exports.f = function (C) {
|
|
|
5390
5935
|
\**********************************************************************/
|
|
5391
5936
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5392
5937
|
|
|
5938
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
5393
5939
|
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../../node_modules/core-js/internals/descriptors.js");
|
|
5394
5940
|
var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "../../node_modules/core-js/internals/ie8-dom-define.js");
|
|
5395
5941
|
var anObject = __webpack_require__(/*! ../internals/an-object */ "../../node_modules/core-js/internals/an-object.js");
|
|
5396
5942
|
var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "../../node_modules/core-js/internals/to-property-key.js");
|
|
5397
5943
|
|
|
5944
|
+
var TypeError = global.TypeError;
|
|
5398
5945
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
5399
5946
|
var $defineProperty = Object.defineProperty;
|
|
5400
5947
|
|
|
@@ -5422,11 +5969,12 @@ exports.f = DESCRIPTORS ? $defineProperty : function defineProperty(O, P, Attrib
|
|
|
5422
5969
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
5423
5970
|
|
|
5424
5971
|
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../../node_modules/core-js/internals/descriptors.js");
|
|
5972
|
+
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
5425
5973
|
var propertyIsEnumerableModule = __webpack_require__(/*! ../internals/object-property-is-enumerable */ "../../node_modules/core-js/internals/object-property-is-enumerable.js");
|
|
5426
5974
|
var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "../../node_modules/core-js/internals/create-property-descriptor.js");
|
|
5427
5975
|
var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "../../node_modules/core-js/internals/to-indexed-object.js");
|
|
5428
5976
|
var toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ "../../node_modules/core-js/internals/to-property-key.js");
|
|
5429
|
-
var
|
|
5977
|
+
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../../node_modules/core-js/internals/has-own-property.js");
|
|
5430
5978
|
var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ "../../node_modules/core-js/internals/ie8-dom-define.js");
|
|
5431
5979
|
|
|
5432
5980
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -5440,7 +5988,7 @@ exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDes
|
|
|
5440
5988
|
if (IE8_DOM_DEFINE) try {
|
|
5441
5989
|
return $getOwnPropertyDescriptor(O, P);
|
|
5442
5990
|
} catch (error) { /* empty */ }
|
|
5443
|
-
if (
|
|
5991
|
+
if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);
|
|
5444
5992
|
};
|
|
5445
5993
|
|
|
5446
5994
|
|
|
@@ -5477,6 +6025,19 @@ exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
|
5477
6025
|
exports.f = Object.getOwnPropertySymbols;
|
|
5478
6026
|
|
|
5479
6027
|
|
|
6028
|
+
/***/ }),
|
|
6029
|
+
|
|
6030
|
+
/***/ "../../node_modules/core-js/internals/object-is-prototype-of.js":
|
|
6031
|
+
/*!**********************************************************************!*\
|
|
6032
|
+
!*** ../../node_modules/core-js/internals/object-is-prototype-of.js ***!
|
|
6033
|
+
\**********************************************************************/
|
|
6034
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6035
|
+
|
|
6036
|
+
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../../node_modules/core-js/internals/function-uncurry-this.js");
|
|
6037
|
+
|
|
6038
|
+
module.exports = uncurryThis({}.isPrototypeOf);
|
|
6039
|
+
|
|
6040
|
+
|
|
5480
6041
|
/***/ }),
|
|
5481
6042
|
|
|
5482
6043
|
/***/ "../../node_modules/core-js/internals/object-keys-internal.js":
|
|
@@ -5485,20 +6046,23 @@ exports.f = Object.getOwnPropertySymbols;
|
|
|
5485
6046
|
\********************************************************************/
|
|
5486
6047
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5487
6048
|
|
|
5488
|
-
var
|
|
6049
|
+
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../../node_modules/core-js/internals/function-uncurry-this.js");
|
|
6050
|
+
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../../node_modules/core-js/internals/has-own-property.js");
|
|
5489
6051
|
var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ "../../node_modules/core-js/internals/to-indexed-object.js");
|
|
5490
|
-
var indexOf = __webpack_require__(/*! ../internals/array-includes */ "../../node_modules/core-js/internals/array-includes.js").indexOf;
|
|
6052
|
+
var indexOf = (__webpack_require__(/*! ../internals/array-includes */ "../../node_modules/core-js/internals/array-includes.js").indexOf);
|
|
5491
6053
|
var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ "../../node_modules/core-js/internals/hidden-keys.js");
|
|
5492
6054
|
|
|
6055
|
+
var push = uncurryThis([].push);
|
|
6056
|
+
|
|
5493
6057
|
module.exports = function (object, names) {
|
|
5494
6058
|
var O = toIndexedObject(object);
|
|
5495
6059
|
var i = 0;
|
|
5496
6060
|
var result = [];
|
|
5497
6061
|
var key;
|
|
5498
|
-
for (key in O) !
|
|
6062
|
+
for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);
|
|
5499
6063
|
// Don't enum bug & hidden keys
|
|
5500
|
-
while (names.length > i) if (
|
|
5501
|
-
~indexOf(result, key) ||
|
|
6064
|
+
while (names.length > i) if (hasOwn(O, key = names[i++])) {
|
|
6065
|
+
~indexOf(result, key) || push(result, key);
|
|
5502
6066
|
}
|
|
5503
6067
|
return result;
|
|
5504
6068
|
};
|
|
@@ -5538,6 +6102,7 @@ exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
|
5538
6102
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5539
6103
|
|
|
5540
6104
|
/* eslint-disable no-proto -- safe */
|
|
6105
|
+
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../../node_modules/core-js/internals/function-uncurry-this.js");
|
|
5541
6106
|
var anObject = __webpack_require__(/*! ../internals/an-object */ "../../node_modules/core-js/internals/an-object.js");
|
|
5542
6107
|
var aPossiblePrototype = __webpack_require__(/*! ../internals/a-possible-prototype */ "../../node_modules/core-js/internals/a-possible-prototype.js");
|
|
5543
6108
|
|
|
@@ -5551,14 +6116,14 @@ module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
|
5551
6116
|
var setter;
|
|
5552
6117
|
try {
|
|
5553
6118
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
5554
|
-
setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set;
|
|
5555
|
-
setter
|
|
6119
|
+
setter = uncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
6120
|
+
setter(test, []);
|
|
5556
6121
|
CORRECT_SETTER = test instanceof Array;
|
|
5557
6122
|
} catch (error) { /* empty */ }
|
|
5558
6123
|
return function setPrototypeOf(O, proto) {
|
|
5559
6124
|
anObject(O);
|
|
5560
6125
|
aPossiblePrototype(proto);
|
|
5561
|
-
if (CORRECT_SETTER) setter
|
|
6126
|
+
if (CORRECT_SETTER) setter(O, proto);
|
|
5562
6127
|
else O.__proto__ = proto;
|
|
5563
6128
|
return O;
|
|
5564
6129
|
};
|
|
@@ -5573,16 +6138,20 @@ module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
|
5573
6138
|
\*********************************************************************/
|
|
5574
6139
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5575
6140
|
|
|
6141
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6142
|
+
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
5576
6143
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
5577
6144
|
var isObject = __webpack_require__(/*! ../internals/is-object */ "../../node_modules/core-js/internals/is-object.js");
|
|
5578
6145
|
|
|
6146
|
+
var TypeError = global.TypeError;
|
|
6147
|
+
|
|
5579
6148
|
// `OrdinaryToPrimitive` abstract operation
|
|
5580
6149
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
5581
6150
|
module.exports = function (input, pref) {
|
|
5582
6151
|
var fn, val;
|
|
5583
|
-
if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val =
|
|
5584
|
-
if (isCallable(fn = input.valueOf) && !isObject(val =
|
|
5585
|
-
if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val =
|
|
6152
|
+
if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
|
|
6153
|
+
if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;
|
|
6154
|
+
if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
|
|
5586
6155
|
throw TypeError("Can't convert object to primitive value");
|
|
5587
6156
|
};
|
|
5588
6157
|
|
|
@@ -5596,15 +6165,18 @@ module.exports = function (input, pref) {
|
|
|
5596
6165
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5597
6166
|
|
|
5598
6167
|
var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../../node_modules/core-js/internals/get-built-in.js");
|
|
6168
|
+
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../../node_modules/core-js/internals/function-uncurry-this.js");
|
|
5599
6169
|
var getOwnPropertyNamesModule = __webpack_require__(/*! ../internals/object-get-own-property-names */ "../../node_modules/core-js/internals/object-get-own-property-names.js");
|
|
5600
6170
|
var getOwnPropertySymbolsModule = __webpack_require__(/*! ../internals/object-get-own-property-symbols */ "../../node_modules/core-js/internals/object-get-own-property-symbols.js");
|
|
5601
6171
|
var anObject = __webpack_require__(/*! ../internals/an-object */ "../../node_modules/core-js/internals/an-object.js");
|
|
5602
6172
|
|
|
6173
|
+
var concat = uncurryThis([].concat);
|
|
6174
|
+
|
|
5603
6175
|
// all object keys, includes non-enumerable and symbols
|
|
5604
6176
|
module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
5605
6177
|
var keys = getOwnPropertyNamesModule.f(anObject(it));
|
|
5606
6178
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
|
5607
|
-
return getOwnPropertySymbols ?
|
|
6179
|
+
return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
|
|
5608
6180
|
};
|
|
5609
6181
|
|
|
5610
6182
|
|
|
@@ -5673,12 +6245,12 @@ module.exports = function (target, src, options) {
|
|
|
5673
6245
|
|
|
5674
6246
|
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
5675
6247
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
5676
|
-
var
|
|
6248
|
+
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../../node_modules/core-js/internals/has-own-property.js");
|
|
5677
6249
|
var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ "../../node_modules/core-js/internals/create-non-enumerable-property.js");
|
|
5678
6250
|
var setGlobal = __webpack_require__(/*! ../internals/set-global */ "../../node_modules/core-js/internals/set-global.js");
|
|
5679
6251
|
var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ "../../node_modules/core-js/internals/inspect-source.js");
|
|
5680
6252
|
var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ "../../node_modules/core-js/internals/internal-state.js");
|
|
5681
|
-
var CONFIGURABLE_FUNCTION_NAME = __webpack_require__(/*! ../internals/function-name */ "../../node_modules/core-js/internals/function-name.js").CONFIGURABLE;
|
|
6253
|
+
var CONFIGURABLE_FUNCTION_NAME = (__webpack_require__(/*! ../internals/function-name */ "../../node_modules/core-js/internals/function-name.js").CONFIGURABLE);
|
|
5682
6254
|
|
|
5683
6255
|
var getInternalState = InternalStateModule.get;
|
|
5684
6256
|
var enforceInternalState = InternalStateModule.enforce;
|
|
@@ -5694,7 +6266,7 @@ var TEMPLATE = String(String).split('String');
|
|
|
5694
6266
|
if (String(name).slice(0, 7) === 'Symbol(') {
|
|
5695
6267
|
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
5696
6268
|
}
|
|
5697
|
-
if (!
|
|
6269
|
+
if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
|
5698
6270
|
createNonEnumerableProperty(value, 'name', name);
|
|
5699
6271
|
}
|
|
5700
6272
|
state = enforceInternalState(value);
|
|
@@ -5725,7 +6297,11 @@ var TEMPLATE = String(String).split('String');
|
|
|
5725
6297
|
/*!************************************************************************!*\
|
|
5726
6298
|
!*** ../../node_modules/core-js/internals/require-object-coercible.js ***!
|
|
5727
6299
|
\************************************************************************/
|
|
5728
|
-
/***/ ((module) => {
|
|
6300
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6301
|
+
|
|
6302
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6303
|
+
|
|
6304
|
+
var TypeError = global.TypeError;
|
|
5729
6305
|
|
|
5730
6306
|
// `RequireObjectCoercible` abstract operation
|
|
5731
6307
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
@@ -5745,10 +6321,12 @@ module.exports = function (it) {
|
|
|
5745
6321
|
|
|
5746
6322
|
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
5747
6323
|
|
|
6324
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
6325
|
+
var defineProperty = Object.defineProperty;
|
|
6326
|
+
|
|
5748
6327
|
module.exports = function (key, value) {
|
|
5749
6328
|
try {
|
|
5750
|
-
|
|
5751
|
-
Object.defineProperty(global, key, { value: value, configurable: true, writable: true });
|
|
6329
|
+
defineProperty(global, key, { value: value, configurable: true, writable: true });
|
|
5752
6330
|
} catch (error) {
|
|
5753
6331
|
global[key] = value;
|
|
5754
6332
|
} return value;
|
|
@@ -5793,14 +6371,14 @@ module.exports = function (CONSTRUCTOR_NAME) {
|
|
|
5793
6371
|
\*****************************************************************/
|
|
5794
6372
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5795
6373
|
|
|
5796
|
-
var defineProperty = __webpack_require__(/*! ../internals/object-define-property */ "../../node_modules/core-js/internals/object-define-property.js").f;
|
|
5797
|
-
var
|
|
6374
|
+
var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ "../../node_modules/core-js/internals/object-define-property.js").f);
|
|
6375
|
+
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../../node_modules/core-js/internals/has-own-property.js");
|
|
5798
6376
|
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../../node_modules/core-js/internals/well-known-symbol.js");
|
|
5799
6377
|
|
|
5800
6378
|
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
5801
6379
|
|
|
5802
6380
|
module.exports = function (it, TAG, STATIC) {
|
|
5803
|
-
if (it && !
|
|
6381
|
+
if (it && !hasOwn(it = STATIC ? it : it.prototype, TO_STRING_TAG)) {
|
|
5804
6382
|
defineProperty(it, TO_STRING_TAG, { configurable: true, value: TAG });
|
|
5805
6383
|
}
|
|
5806
6384
|
};
|
|
@@ -5855,7 +6433,7 @@ var store = __webpack_require__(/*! ../internals/shared-store */ "../../node_mod
|
|
|
5855
6433
|
(module.exports = function (key, value) {
|
|
5856
6434
|
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
5857
6435
|
})('versions', []).push({
|
|
5858
|
-
version: '3.
|
|
6436
|
+
version: '3.19.3',
|
|
5859
6437
|
mode: IS_PURE ? 'pure' : 'global',
|
|
5860
6438
|
copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
|
|
5861
6439
|
});
|
|
@@ -5893,10 +6471,13 @@ module.exports = function (O, defaultConstructor) {
|
|
|
5893
6471
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5894
6472
|
|
|
5895
6473
|
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6474
|
+
var apply = __webpack_require__(/*! ../internals/function-apply */ "../../node_modules/core-js/internals/function-apply.js");
|
|
6475
|
+
var bind = __webpack_require__(/*! ../internals/function-bind-context */ "../../node_modules/core-js/internals/function-bind-context.js");
|
|
5896
6476
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
6477
|
+
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../../node_modules/core-js/internals/has-own-property.js");
|
|
5897
6478
|
var fails = __webpack_require__(/*! ../internals/fails */ "../../node_modules/core-js/internals/fails.js");
|
|
5898
|
-
var bind = __webpack_require__(/*! ../internals/function-bind-context */ "../../node_modules/core-js/internals/function-bind-context.js");
|
|
5899
6479
|
var html = __webpack_require__(/*! ../internals/html */ "../../node_modules/core-js/internals/html.js");
|
|
6480
|
+
var arraySlice = __webpack_require__(/*! ../internals/array-slice */ "../../node_modules/core-js/internals/array-slice.js");
|
|
5900
6481
|
var createElement = __webpack_require__(/*! ../internals/document-create-element */ "../../node_modules/core-js/internals/document-create-element.js");
|
|
5901
6482
|
var IS_IOS = __webpack_require__(/*! ../internals/engine-is-ios */ "../../node_modules/core-js/internals/engine-is-ios.js");
|
|
5902
6483
|
var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ "../../node_modules/core-js/internals/engine-is-node.js");
|
|
@@ -5904,8 +6485,10 @@ var IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ "../../node
|
|
|
5904
6485
|
var set = global.setImmediate;
|
|
5905
6486
|
var clear = global.clearImmediate;
|
|
5906
6487
|
var process = global.process;
|
|
5907
|
-
var MessageChannel = global.MessageChannel;
|
|
5908
6488
|
var Dispatch = global.Dispatch;
|
|
6489
|
+
var Function = global.Function;
|
|
6490
|
+
var MessageChannel = global.MessageChannel;
|
|
6491
|
+
var String = global.String;
|
|
5909
6492
|
var counter = 0;
|
|
5910
6493
|
var queue = {};
|
|
5911
6494
|
var ONREADYSTATECHANGE = 'onreadystatechange';
|
|
@@ -5917,8 +6500,7 @@ try {
|
|
|
5917
6500
|
} catch (error) { /* empty */ }
|
|
5918
6501
|
|
|
5919
6502
|
var run = function (id) {
|
|
5920
|
-
|
|
5921
|
-
if (queue.hasOwnProperty(id)) {
|
|
6503
|
+
if (hasOwn(queue, id)) {
|
|
5922
6504
|
var fn = queue[id];
|
|
5923
6505
|
delete queue[id];
|
|
5924
6506
|
fn();
|
|
@@ -5943,13 +6525,9 @@ var post = function (id) {
|
|
|
5943
6525
|
// Node.js 0.9+ & IE10+ has setImmediate, otherwise:
|
|
5944
6526
|
if (!set || !clear) {
|
|
5945
6527
|
set = function setImmediate(fn) {
|
|
5946
|
-
var args =
|
|
5947
|
-
var argumentsLength = arguments.length;
|
|
5948
|
-
var i = 1;
|
|
5949
|
-
while (argumentsLength > i) args.push(arguments[i++]);
|
|
6528
|
+
var args = arraySlice(arguments, 1);
|
|
5950
6529
|
queue[++counter] = function () {
|
|
5951
|
-
|
|
5952
|
-
(isCallable(fn) ? fn : Function(fn)).apply(undefined, args);
|
|
6530
|
+
apply(isCallable(fn) ? fn : Function(fn), undefined, args);
|
|
5953
6531
|
};
|
|
5954
6532
|
defer(counter);
|
|
5955
6533
|
return counter;
|
|
@@ -5973,7 +6551,7 @@ if (!set || !clear) {
|
|
|
5973
6551
|
channel = new MessageChannel();
|
|
5974
6552
|
port = channel.port2;
|
|
5975
6553
|
channel.port1.onmessage = listener;
|
|
5976
|
-
defer = bind(port.postMessage, port
|
|
6554
|
+
defer = bind(port.postMessage, port);
|
|
5977
6555
|
// Browsers with postMessage, skip WebWorkers
|
|
5978
6556
|
// IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
|
|
5979
6557
|
} else if (
|
|
@@ -6015,7 +6593,7 @@ module.exports = {
|
|
|
6015
6593
|
\*****************************************************************/
|
|
6016
6594
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6017
6595
|
|
|
6018
|
-
var
|
|
6596
|
+
var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "../../node_modules/core-js/internals/to-integer-or-infinity.js");
|
|
6019
6597
|
|
|
6020
6598
|
var max = Math.max;
|
|
6021
6599
|
var min = Math.min;
|
|
@@ -6024,7 +6602,7 @@ var min = Math.min;
|
|
|
6024
6602
|
// Let integer be ? ToInteger(index).
|
|
6025
6603
|
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
|
|
6026
6604
|
module.exports = function (index, length) {
|
|
6027
|
-
var integer =
|
|
6605
|
+
var integer = toIntegerOrInfinity(index);
|
|
6028
6606
|
return integer < 0 ? max(integer + length, 0) : min(integer, length);
|
|
6029
6607
|
};
|
|
6030
6608
|
|
|
@@ -6048,19 +6626,21 @@ module.exports = function (it) {
|
|
|
6048
6626
|
|
|
6049
6627
|
/***/ }),
|
|
6050
6628
|
|
|
6051
|
-
/***/ "../../node_modules/core-js/internals/to-integer.js":
|
|
6052
|
-
|
|
6053
|
-
!*** ../../node_modules/core-js/internals/to-integer.js ***!
|
|
6054
|
-
|
|
6629
|
+
/***/ "../../node_modules/core-js/internals/to-integer-or-infinity.js":
|
|
6630
|
+
/*!**********************************************************************!*\
|
|
6631
|
+
!*** ../../node_modules/core-js/internals/to-integer-or-infinity.js ***!
|
|
6632
|
+
\**********************************************************************/
|
|
6055
6633
|
/***/ ((module) => {
|
|
6056
6634
|
|
|
6057
6635
|
var ceil = Math.ceil;
|
|
6058
6636
|
var floor = Math.floor;
|
|
6059
6637
|
|
|
6060
|
-
// `
|
|
6061
|
-
// https://tc39.es/ecma262/#sec-
|
|
6638
|
+
// `ToIntegerOrInfinity` abstract operation
|
|
6639
|
+
// https://tc39.es/ecma262/#sec-tointegerorinfinity
|
|
6062
6640
|
module.exports = function (argument) {
|
|
6063
|
-
|
|
6641
|
+
var number = +argument;
|
|
6642
|
+
// eslint-disable-next-line no-self-compare -- safe
|
|
6643
|
+
return number !== number || number === 0 ? 0 : (number > 0 ? floor : ceil)(number);
|
|
6064
6644
|
};
|
|
6065
6645
|
|
|
6066
6646
|
|
|
@@ -6072,14 +6652,14 @@ module.exports = function (argument) {
|
|
|
6072
6652
|
\*********************************************************/
|
|
6073
6653
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6074
6654
|
|
|
6075
|
-
var
|
|
6655
|
+
var toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ "../../node_modules/core-js/internals/to-integer-or-infinity.js");
|
|
6076
6656
|
|
|
6077
6657
|
var min = Math.min;
|
|
6078
6658
|
|
|
6079
6659
|
// `ToLength` abstract operation
|
|
6080
6660
|
// https://tc39.es/ecma262/#sec-tolength
|
|
6081
6661
|
module.exports = function (argument) {
|
|
6082
|
-
return argument > 0 ? min(
|
|
6662
|
+
return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
|
6083
6663
|
};
|
|
6084
6664
|
|
|
6085
6665
|
|
|
@@ -6091,8 +6671,11 @@ module.exports = function (argument) {
|
|
|
6091
6671
|
\*********************************************************/
|
|
6092
6672
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6093
6673
|
|
|
6674
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6094
6675
|
var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "../../node_modules/core-js/internals/require-object-coercible.js");
|
|
6095
6676
|
|
|
6677
|
+
var Object = global.Object;
|
|
6678
|
+
|
|
6096
6679
|
// `ToObject` abstract operation
|
|
6097
6680
|
// https://tc39.es/ecma262/#sec-toobject
|
|
6098
6681
|
module.exports = function (argument) {
|
|
@@ -6108,12 +6691,15 @@ module.exports = function (argument) {
|
|
|
6108
6691
|
\************************************************************/
|
|
6109
6692
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6110
6693
|
|
|
6694
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6695
|
+
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
6111
6696
|
var isObject = __webpack_require__(/*! ../internals/is-object */ "../../node_modules/core-js/internals/is-object.js");
|
|
6112
6697
|
var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "../../node_modules/core-js/internals/is-symbol.js");
|
|
6113
6698
|
var getMethod = __webpack_require__(/*! ../internals/get-method */ "../../node_modules/core-js/internals/get-method.js");
|
|
6114
6699
|
var ordinaryToPrimitive = __webpack_require__(/*! ../internals/ordinary-to-primitive */ "../../node_modules/core-js/internals/ordinary-to-primitive.js");
|
|
6115
6700
|
var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ "../../node_modules/core-js/internals/well-known-symbol.js");
|
|
6116
6701
|
|
|
6702
|
+
var TypeError = global.TypeError;
|
|
6117
6703
|
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
|
|
6118
6704
|
|
|
6119
6705
|
// `ToPrimitive` abstract operation
|
|
@@ -6124,7 +6710,7 @@ module.exports = function (input, pref) {
|
|
|
6124
6710
|
var result;
|
|
6125
6711
|
if (exoticToPrim) {
|
|
6126
6712
|
if (pref === undefined) pref = 'default';
|
|
6127
|
-
result =
|
|
6713
|
+
result = call(exoticToPrim, input, pref);
|
|
6128
6714
|
if (!isObject(result) || isSymbol(result)) return result;
|
|
6129
6715
|
throw TypeError("Can't convert object to primitive value");
|
|
6130
6716
|
}
|
|
@@ -6148,7 +6734,7 @@ var isSymbol = __webpack_require__(/*! ../internals/is-symbol */ "../../node_mod
|
|
|
6148
6734
|
// https://tc39.es/ecma262/#sec-topropertykey
|
|
6149
6735
|
module.exports = function (argument) {
|
|
6150
6736
|
var key = toPrimitive(argument, 'string');
|
|
6151
|
-
return isSymbol(key) ? key :
|
|
6737
|
+
return isSymbol(key) ? key : key + '';
|
|
6152
6738
|
};
|
|
6153
6739
|
|
|
6154
6740
|
|
|
@@ -6170,13 +6756,36 @@ test[TO_STRING_TAG] = 'z';
|
|
|
6170
6756
|
module.exports = String(test) === '[object z]';
|
|
6171
6757
|
|
|
6172
6758
|
|
|
6759
|
+
/***/ }),
|
|
6760
|
+
|
|
6761
|
+
/***/ "../../node_modules/core-js/internals/to-string.js":
|
|
6762
|
+
/*!*********************************************************!*\
|
|
6763
|
+
!*** ../../node_modules/core-js/internals/to-string.js ***!
|
|
6764
|
+
\*********************************************************/
|
|
6765
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6766
|
+
|
|
6767
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6768
|
+
var classof = __webpack_require__(/*! ../internals/classof */ "../../node_modules/core-js/internals/classof.js");
|
|
6769
|
+
|
|
6770
|
+
var String = global.String;
|
|
6771
|
+
|
|
6772
|
+
module.exports = function (argument) {
|
|
6773
|
+
if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
|
|
6774
|
+
return String(argument);
|
|
6775
|
+
};
|
|
6776
|
+
|
|
6777
|
+
|
|
6173
6778
|
/***/ }),
|
|
6174
6779
|
|
|
6175
6780
|
/***/ "../../node_modules/core-js/internals/try-to-string.js":
|
|
6176
6781
|
/*!*************************************************************!*\
|
|
6177
6782
|
!*** ../../node_modules/core-js/internals/try-to-string.js ***!
|
|
6178
6783
|
\*************************************************************/
|
|
6179
|
-
/***/ ((module) => {
|
|
6784
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6785
|
+
|
|
6786
|
+
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6787
|
+
|
|
6788
|
+
var String = global.String;
|
|
6180
6789
|
|
|
6181
6790
|
module.exports = function (argument) {
|
|
6182
6791
|
try {
|
|
@@ -6193,13 +6802,16 @@ module.exports = function (argument) {
|
|
|
6193
6802
|
/*!***************************************************!*\
|
|
6194
6803
|
!*** ../../node_modules/core-js/internals/uid.js ***!
|
|
6195
6804
|
\***************************************************/
|
|
6196
|
-
/***/ ((module) => {
|
|
6805
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6806
|
+
|
|
6807
|
+
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../../node_modules/core-js/internals/function-uncurry-this.js");
|
|
6197
6808
|
|
|
6198
6809
|
var id = 0;
|
|
6199
6810
|
var postfix = Math.random();
|
|
6811
|
+
var toString = uncurryThis(1.0.toString);
|
|
6200
6812
|
|
|
6201
6813
|
module.exports = function (key) {
|
|
6202
|
-
return 'Symbol(' +
|
|
6814
|
+
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
|
6203
6815
|
};
|
|
6204
6816
|
|
|
6205
6817
|
|
|
@@ -6229,21 +6841,25 @@ module.exports = NATIVE_SYMBOL
|
|
|
6229
6841
|
|
|
6230
6842
|
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6231
6843
|
var shared = __webpack_require__(/*! ../internals/shared */ "../../node_modules/core-js/internals/shared.js");
|
|
6232
|
-
var
|
|
6844
|
+
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../../node_modules/core-js/internals/has-own-property.js");
|
|
6233
6845
|
var uid = __webpack_require__(/*! ../internals/uid */ "../../node_modules/core-js/internals/uid.js");
|
|
6234
6846
|
var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/native-symbol */ "../../node_modules/core-js/internals/native-symbol.js");
|
|
6235
6847
|
var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ "../../node_modules/core-js/internals/use-symbol-as-uid.js");
|
|
6236
6848
|
|
|
6237
6849
|
var WellKnownSymbolsStore = shared('wks');
|
|
6238
6850
|
var Symbol = global.Symbol;
|
|
6851
|
+
var symbolFor = Symbol && Symbol['for'];
|
|
6239
6852
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;
|
|
6240
6853
|
|
|
6241
6854
|
module.exports = function (name) {
|
|
6242
|
-
if (!
|
|
6243
|
-
|
|
6855
|
+
if (!hasOwn(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
|
|
6856
|
+
var description = 'Symbol.' + name;
|
|
6857
|
+
if (NATIVE_SYMBOL && hasOwn(Symbol, name)) {
|
|
6244
6858
|
WellKnownSymbolsStore[name] = Symbol[name];
|
|
6859
|
+
} else if (USE_SYMBOL_AS_UID && symbolFor) {
|
|
6860
|
+
WellKnownSymbolsStore[name] = symbolFor(description);
|
|
6245
6861
|
} else {
|
|
6246
|
-
WellKnownSymbolsStore[name] = createWellKnownSymbol(
|
|
6862
|
+
WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
|
|
6247
6863
|
}
|
|
6248
6864
|
} return WellKnownSymbolsStore[name];
|
|
6249
6865
|
};
|
|
@@ -6263,6 +6879,7 @@ var $ = __webpack_require__(/*! ../internals/export */ "../../node_modules/core-
|
|
|
6263
6879
|
var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../../node_modules/core-js/internals/is-pure.js");
|
|
6264
6880
|
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6265
6881
|
var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../../node_modules/core-js/internals/get-built-in.js");
|
|
6882
|
+
var call = __webpack_require__(/*! ../internals/function-call */ "../../node_modules/core-js/internals/function-call.js");
|
|
6266
6883
|
var NativePromise = __webpack_require__(/*! ../internals/native-promise-constructor */ "../../node_modules/core-js/internals/native-promise-constructor.js");
|
|
6267
6884
|
var redefine = __webpack_require__(/*! ../internals/redefine */ "../../node_modules/core-js/internals/redefine.js");
|
|
6268
6885
|
var redefineAll = __webpack_require__(/*! ../internals/redefine-all */ "../../node_modules/core-js/internals/redefine-all.js");
|
|
@@ -6277,7 +6894,7 @@ var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ "../.
|
|
|
6277
6894
|
var iterate = __webpack_require__(/*! ../internals/iterate */ "../../node_modules/core-js/internals/iterate.js");
|
|
6278
6895
|
var checkCorrectnessOfIteration = __webpack_require__(/*! ../internals/check-correctness-of-iteration */ "../../node_modules/core-js/internals/check-correctness-of-iteration.js");
|
|
6279
6896
|
var speciesConstructor = __webpack_require__(/*! ../internals/species-constructor */ "../../node_modules/core-js/internals/species-constructor.js");
|
|
6280
|
-
var task = __webpack_require__(/*! ../internals/task */ "../../node_modules/core-js/internals/task.js").set;
|
|
6897
|
+
var task = (__webpack_require__(/*! ../internals/task */ "../../node_modules/core-js/internals/task.js").set);
|
|
6281
6898
|
var microtask = __webpack_require__(/*! ../internals/microtask */ "../../node_modules/core-js/internals/microtask.js");
|
|
6282
6899
|
var promiseResolve = __webpack_require__(/*! ../internals/promise-resolve */ "../../node_modules/core-js/internals/promise-resolve.js");
|
|
6283
6900
|
var hostReportErrors = __webpack_require__(/*! ../internals/host-report-errors */ "../../node_modules/core-js/internals/host-report-errors.js");
|
|
@@ -6292,17 +6909,19 @@ var V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ "../.
|
|
|
6292
6909
|
|
|
6293
6910
|
var SPECIES = wellKnownSymbol('species');
|
|
6294
6911
|
var PROMISE = 'Promise';
|
|
6295
|
-
|
|
6912
|
+
|
|
6913
|
+
var getInternalState = InternalStateModule.getterFor(PROMISE);
|
|
6296
6914
|
var setInternalState = InternalStateModule.set;
|
|
6297
6915
|
var getInternalPromiseState = InternalStateModule.getterFor(PROMISE);
|
|
6298
6916
|
var NativePromisePrototype = NativePromise && NativePromise.prototype;
|
|
6299
6917
|
var PromiseConstructor = NativePromise;
|
|
6300
|
-
var
|
|
6918
|
+
var PromisePrototype = NativePromisePrototype;
|
|
6301
6919
|
var TypeError = global.TypeError;
|
|
6302
6920
|
var document = global.document;
|
|
6303
6921
|
var process = global.process;
|
|
6304
6922
|
var newPromiseCapability = newPromiseCapabilityModule.f;
|
|
6305
6923
|
var newGenericPromiseCapability = newPromiseCapability;
|
|
6924
|
+
|
|
6306
6925
|
var DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent);
|
|
6307
6926
|
var NATIVE_REJECTION_EVENT = isCallable(global.PromiseRejectionEvent);
|
|
6308
6927
|
var UNHANDLED_REJECTION = 'unhandledrejection';
|
|
@@ -6313,6 +6932,7 @@ var REJECTED = 2;
|
|
|
6313
6932
|
var HANDLED = 1;
|
|
6314
6933
|
var UNHANDLED = 2;
|
|
6315
6934
|
var SUBCLASSING = false;
|
|
6935
|
+
|
|
6316
6936
|
var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;
|
|
6317
6937
|
|
|
6318
6938
|
var FORCED = isForced(PROMISE, function () {
|
|
@@ -6323,7 +6943,7 @@ var FORCED = isForced(PROMISE, function () {
|
|
|
6323
6943
|
// We can't detect it synchronously, so just check versions
|
|
6324
6944
|
if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true;
|
|
6325
6945
|
// We need Promise#finally in the pure version for preventing prototype pollution
|
|
6326
|
-
if (IS_PURE && !
|
|
6946
|
+
if (IS_PURE && !PromisePrototype['finally']) return true;
|
|
6327
6947
|
// We can't use @@species feature detection in V8 since it causes
|
|
6328
6948
|
// deoptimization and performance degradation
|
|
6329
6949
|
// https://github.com/zloirock/core-js/issues/679
|
|
@@ -6385,7 +7005,7 @@ var notify = function (state, isReject) {
|
|
|
6385
7005
|
if (result === reaction.promise) {
|
|
6386
7006
|
reject(TypeError('Promise-chain cycle'));
|
|
6387
7007
|
} else if (then = isThenable(result)) {
|
|
6388
|
-
|
|
7008
|
+
call(then, result, resolve, reject);
|
|
6389
7009
|
} else resolve(result);
|
|
6390
7010
|
} else reject(value);
|
|
6391
7011
|
} catch (error) {
|
|
@@ -6413,7 +7033,7 @@ var dispatchEvent = function (name, promise, reason) {
|
|
|
6413
7033
|
};
|
|
6414
7034
|
|
|
6415
7035
|
var onUnhandled = function (state) {
|
|
6416
|
-
|
|
7036
|
+
call(task, global, function () {
|
|
6417
7037
|
var promise = state.facade;
|
|
6418
7038
|
var value = state.value;
|
|
6419
7039
|
var IS_UNHANDLED = isUnhandled(state);
|
|
@@ -6436,7 +7056,7 @@ var isUnhandled = function (state) {
|
|
|
6436
7056
|
};
|
|
6437
7057
|
|
|
6438
7058
|
var onHandleUnhandled = function (state) {
|
|
6439
|
-
|
|
7059
|
+
call(task, global, function () {
|
|
6440
7060
|
var promise = state.facade;
|
|
6441
7061
|
if (IS_NODE) {
|
|
6442
7062
|
process.emit('rejectionHandled', promise);
|
|
@@ -6470,7 +7090,7 @@ var internalResolve = function (state, value, unwrap) {
|
|
|
6470
7090
|
microtask(function () {
|
|
6471
7091
|
var wrapper = { done: false };
|
|
6472
7092
|
try {
|
|
6473
|
-
|
|
7093
|
+
call(then, value,
|
|
6474
7094
|
bind(internalResolve, wrapper, state),
|
|
6475
7095
|
bind(internalReject, wrapper, state)
|
|
6476
7096
|
);
|
|
@@ -6492,9 +7112,9 @@ var internalResolve = function (state, value, unwrap) {
|
|
|
6492
7112
|
if (FORCED) {
|
|
6493
7113
|
// 25.4.3.1 Promise(executor)
|
|
6494
7114
|
PromiseConstructor = function Promise(executor) {
|
|
6495
|
-
anInstance(this,
|
|
7115
|
+
anInstance(this, PromisePrototype);
|
|
6496
7116
|
aCallable(executor);
|
|
6497
|
-
|
|
7117
|
+
call(Internal, this);
|
|
6498
7118
|
var state = getInternalState(this);
|
|
6499
7119
|
try {
|
|
6500
7120
|
executor(bind(internalResolve, state), bind(internalReject, state));
|
|
@@ -6502,7 +7122,7 @@ if (FORCED) {
|
|
|
6502
7122
|
internalReject(state, error);
|
|
6503
7123
|
}
|
|
6504
7124
|
};
|
|
6505
|
-
|
|
7125
|
+
PromisePrototype = PromiseConstructor.prototype;
|
|
6506
7126
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
6507
7127
|
Internal = function Promise(executor) {
|
|
6508
7128
|
setInternalState(this, {
|
|
@@ -6516,17 +7136,18 @@ if (FORCED) {
|
|
|
6516
7136
|
value: undefined
|
|
6517
7137
|
});
|
|
6518
7138
|
};
|
|
6519
|
-
Internal.prototype = redefineAll(
|
|
7139
|
+
Internal.prototype = redefineAll(PromisePrototype, {
|
|
6520
7140
|
// `Promise.prototype.then` method
|
|
6521
7141
|
// https://tc39.es/ecma262/#sec-promise.prototype.then
|
|
6522
7142
|
then: function then(onFulfilled, onRejected) {
|
|
6523
7143
|
var state = getInternalPromiseState(this);
|
|
7144
|
+
var reactions = state.reactions;
|
|
6524
7145
|
var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));
|
|
6525
7146
|
reaction.ok = isCallable(onFulfilled) ? onFulfilled : true;
|
|
6526
7147
|
reaction.fail = isCallable(onRejected) && onRejected;
|
|
6527
7148
|
reaction.domain = IS_NODE ? process.domain : undefined;
|
|
6528
7149
|
state.parent = true;
|
|
6529
|
-
|
|
7150
|
+
reactions[reactions.length] = reaction;
|
|
6530
7151
|
if (state.state != PENDING) notify(state, false);
|
|
6531
7152
|
return reaction.promise;
|
|
6532
7153
|
},
|
|
@@ -6557,13 +7178,13 @@ if (FORCED) {
|
|
|
6557
7178
|
redefine(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) {
|
|
6558
7179
|
var that = this;
|
|
6559
7180
|
return new PromiseConstructor(function (resolve, reject) {
|
|
6560
|
-
|
|
7181
|
+
call(nativeThen, that, resolve, reject);
|
|
6561
7182
|
}).then(onFulfilled, onRejected);
|
|
6562
7183
|
// https://github.com/zloirock/core-js/issues/640
|
|
6563
7184
|
}, { unsafe: true });
|
|
6564
7185
|
|
|
6565
7186
|
// makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`
|
|
6566
|
-
redefine(NativePromisePrototype, 'catch',
|
|
7187
|
+
redefine(NativePromisePrototype, 'catch', PromisePrototype['catch'], { unsafe: true });
|
|
6567
7188
|
}
|
|
6568
7189
|
|
|
6569
7190
|
// make `.constructor === Promise` work for native promise-based APIs
|
|
@@ -6573,7 +7194,7 @@ if (FORCED) {
|
|
|
6573
7194
|
|
|
6574
7195
|
// make `instanceof Promise` work for native promise-based APIs
|
|
6575
7196
|
if (setPrototypeOf) {
|
|
6576
|
-
setPrototypeOf(NativePromisePrototype,
|
|
7197
|
+
setPrototypeOf(NativePromisePrototype, PromisePrototype);
|
|
6577
7198
|
}
|
|
6578
7199
|
}
|
|
6579
7200
|
}
|
|
@@ -6593,7 +7214,7 @@ $({ target: PROMISE, stat: true, forced: FORCED }, {
|
|
|
6593
7214
|
// https://tc39.es/ecma262/#sec-promise.reject
|
|
6594
7215
|
reject: function reject(r) {
|
|
6595
7216
|
var capability = newPromiseCapability(this);
|
|
6596
|
-
capability.reject
|
|
7217
|
+
call(capability.reject, undefined, r);
|
|
6597
7218
|
return capability.promise;
|
|
6598
7219
|
}
|
|
6599
7220
|
});
|
|
@@ -6622,9 +7243,8 @@ $({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {
|
|
|
6622
7243
|
iterate(iterable, function (promise) {
|
|
6623
7244
|
var index = counter++;
|
|
6624
7245
|
var alreadyCalled = false;
|
|
6625
|
-
values.push(undefined);
|
|
6626
7246
|
remaining++;
|
|
6627
|
-
$promiseResolve
|
|
7247
|
+
call($promiseResolve, C, promise).then(function (value) {
|
|
6628
7248
|
if (alreadyCalled) return;
|
|
6629
7249
|
alreadyCalled = true;
|
|
6630
7250
|
values[index] = value;
|
|
@@ -6645,7 +7265,7 @@ $({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {
|
|
|
6645
7265
|
var result = perform(function () {
|
|
6646
7266
|
var $promiseResolve = aCallable(C.resolve);
|
|
6647
7267
|
iterate(iterable, function (promise) {
|
|
6648
|
-
$promiseResolve
|
|
7268
|
+
call($promiseResolve, C, promise).then(capability.resolve, reject);
|
|
6649
7269
|
});
|
|
6650
7270
|
});
|
|
6651
7271
|
if (result.error) reject(result.value);
|
|
@@ -6669,43 +7289,51 @@ $({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {
|
|
|
6669
7289
|
var $ = __webpack_require__(/*! ../internals/export */ "../../node_modules/core-js/internals/export.js");
|
|
6670
7290
|
var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../../node_modules/core-js/internals/descriptors.js");
|
|
6671
7291
|
var global = __webpack_require__(/*! ../internals/global */ "../../node_modules/core-js/internals/global.js");
|
|
6672
|
-
var
|
|
7292
|
+
var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../../node_modules/core-js/internals/function-uncurry-this.js");
|
|
7293
|
+
var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../../node_modules/core-js/internals/has-own-property.js");
|
|
6673
7294
|
var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../../node_modules/core-js/internals/is-callable.js");
|
|
6674
|
-
var
|
|
6675
|
-
var
|
|
7295
|
+
var isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ "../../node_modules/core-js/internals/object-is-prototype-of.js");
|
|
7296
|
+
var toString = __webpack_require__(/*! ../internals/to-string */ "../../node_modules/core-js/internals/to-string.js");
|
|
7297
|
+
var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ "../../node_modules/core-js/internals/object-define-property.js").f);
|
|
6676
7298
|
var copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ "../../node_modules/core-js/internals/copy-constructor-properties.js");
|
|
6677
7299
|
|
|
6678
7300
|
var NativeSymbol = global.Symbol;
|
|
7301
|
+
var SymbolPrototype = NativeSymbol && NativeSymbol.prototype;
|
|
6679
7302
|
|
|
6680
|
-
if (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in
|
|
7303
|
+
if (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in SymbolPrototype) ||
|
|
6681
7304
|
// Safari 12 bug
|
|
6682
7305
|
NativeSymbol().description !== undefined
|
|
6683
7306
|
)) {
|
|
6684
7307
|
var EmptyStringDescriptionStore = {};
|
|
6685
7308
|
// wrap Symbol constructor for correct work with undefined description
|
|
6686
7309
|
var SymbolWrapper = function Symbol() {
|
|
6687
|
-
var description = arguments.length < 1 || arguments[0] === undefined ? undefined :
|
|
6688
|
-
var result = this
|
|
7310
|
+
var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString(arguments[0]);
|
|
7311
|
+
var result = isPrototypeOf(SymbolPrototype, this)
|
|
6689
7312
|
? new NativeSymbol(description)
|
|
6690
7313
|
// in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'
|
|
6691
7314
|
: description === undefined ? NativeSymbol() : NativeSymbol(description);
|
|
6692
7315
|
if (description === '') EmptyStringDescriptionStore[result] = true;
|
|
6693
7316
|
return result;
|
|
6694
7317
|
};
|
|
7318
|
+
|
|
6695
7319
|
copyConstructorProperties(SymbolWrapper, NativeSymbol);
|
|
6696
|
-
|
|
6697
|
-
|
|
7320
|
+
SymbolWrapper.prototype = SymbolPrototype;
|
|
7321
|
+
SymbolPrototype.constructor = SymbolWrapper;
|
|
6698
7322
|
|
|
6699
|
-
var
|
|
6700
|
-
var
|
|
7323
|
+
var NATIVE_SYMBOL = String(NativeSymbol('test')) == 'Symbol(test)';
|
|
7324
|
+
var symbolToString = uncurryThis(SymbolPrototype.toString);
|
|
7325
|
+
var symbolValueOf = uncurryThis(SymbolPrototype.valueOf);
|
|
6701
7326
|
var regexp = /^Symbol\((.*)\)[^)]+$/;
|
|
6702
|
-
|
|
7327
|
+
var replace = uncurryThis(''.replace);
|
|
7328
|
+
var stringSlice = uncurryThis(''.slice);
|
|
7329
|
+
|
|
7330
|
+
defineProperty(SymbolPrototype, 'description', {
|
|
6703
7331
|
configurable: true,
|
|
6704
7332
|
get: function description() {
|
|
6705
|
-
var symbol =
|
|
6706
|
-
var string = symbolToString
|
|
6707
|
-
if (
|
|
6708
|
-
var desc =
|
|
7333
|
+
var symbol = symbolValueOf(this);
|
|
7334
|
+
var string = symbolToString(symbol);
|
|
7335
|
+
if (hasOwn(EmptyStringDescriptionStore, symbol)) return '';
|
|
7336
|
+
var desc = NATIVE_SYMBOL ? stringSlice(string, 7, -1) : replace(string, regexp, '$1');
|
|
6709
7337
|
return desc === '' ? undefined : desc;
|
|
6710
7338
|
}
|
|
6711
7339
|
});
|
|
@@ -6956,7 +7584,7 @@ module.exports = require("util");
|
|
|
6956
7584
|
/***/ ((module) => {
|
|
6957
7585
|
|
|
6958
7586
|
"use strict";
|
|
6959
|
-
module.exports = JSON.parse('{"name":"@intelligentgraphics/ig.gfx.packager","version":"2.0
|
|
7587
|
+
module.exports = JSON.parse('{"name":"@intelligentgraphics/ig.gfx.packager","version":"2.1.0","description":"IG.GFX.Packager 2.1.0 (2.1.0.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","_postinstall":"node scripts/postinstall.js"},"author":"Michael Beier <mb@intelligentgraphics.biz>","dependencies":{"ajv":"^8.6.2","archiver":"^5.0.0","axios":"^0.21.1","core-js":"^3.16.0","execa":"^5.1.1","fs-extra":"^10.0.0","glob":"^7.1.4","rimraf":"^3.0.2","source-map-support":"^0.5.19","terser":"^4.8.0","typedoc":"~0.22.15","typescript":"~4.6.3","update-notifier":"^5.1.0","v8-compile-cache":"^2.1.1","y18n":"^5.0.8","yargs":"^17.0.1"},"devDependencies":{"@babel/plugin-proposal-class-properties":"^7.14.5","@babel/plugin-proposal-object-rest-spread":"^7.14.7","@babel/preset-env":"^7.14.9","@intelligentgraphics/ig.tools.core":"^1.5.1","@intelligentgraphics/ig.utilities":"^1.6.6","@types/archiver":"^5.1.1","@types/fs-extra":"^9.0.12","@types/glob":"^7.1.4","@types/node":"^16.4.11","@types/rimraf":"^3.0.1","@types/update-notifier":"^5.1.0","@types/yargs":"^17.0.2","babel-loader":"^8.1.0","ts-loader":"^9.2.5","ts-node":"^10.1.0","webpack":"^5.64.4","webpack-cli":"^4.7.2"}}');
|
|
6960
7588
|
|
|
6961
7589
|
/***/ })
|
|
6962
7590
|
|
|
@@ -7031,7 +7659,7 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
|
|
|
7031
7659
|
|
|
7032
7660
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
7033
7661
|
|
|
7034
|
-
__webpack_require__(/*! source-map-support */ "source-map-support").install();
|
|
7662
|
+
(__webpack_require__(/*! source-map-support */ "source-map-support").install)();
|
|
7035
7663
|
|
|
7036
7664
|
const pjson = __webpack_require__(/*! ../package.json */ "./package.json");
|
|
7037
7665
|
|
|
@@ -7142,11 +7770,6 @@ yargs.command({
|
|
|
7142
7770
|
type: "boolean",
|
|
7143
7771
|
default: false,
|
|
7144
7772
|
description: (0, _localization.translate)("options.pushOnly.description")
|
|
7145
|
-
},
|
|
7146
|
-
noValidate: {
|
|
7147
|
-
type: "boolean",
|
|
7148
|
-
default: false,
|
|
7149
|
-
description: (0, _localization.translate)("options.noValidate.description")
|
|
7150
7773
|
}
|
|
7151
7774
|
}),
|
|
7152
7775
|
handler: async _ref2 => {
|