@magda/utils 3.0.1 → 3.0.2-alpha.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/dist/index.js +328 -72
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -11,6 +11,9 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
|
|
|
11
11
|
return require.apply(this, arguments);
|
|
12
12
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
13
13
|
});
|
|
14
|
+
var __esm = (fn, res) => function __init() {
|
|
15
|
+
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
16
|
+
};
|
|
14
17
|
var __commonJS = (cb, mod) => function __require2() {
|
|
15
18
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
16
19
|
};
|
|
@@ -31,10 +34,23 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
31
34
|
mod
|
|
32
35
|
));
|
|
33
36
|
|
|
37
|
+
// ../cjs-shim.js
|
|
38
|
+
import { createRequire } from "module";
|
|
39
|
+
import path from "path";
|
|
40
|
+
import url from "url";
|
|
41
|
+
var init_cjs_shim = __esm({
|
|
42
|
+
"../cjs-shim.js"() {
|
|
43
|
+
globalThis.require = createRequire(import.meta.url);
|
|
44
|
+
globalThis.__filename = url.fileURLToPath(import.meta.url);
|
|
45
|
+
globalThis.__dirname = path.dirname(__filename);
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
|
|
34
49
|
// ../../node_modules/cross-fetch/node_modules/webidl-conversions/lib/index.js
|
|
35
50
|
var require_lib = __commonJS({
|
|
36
51
|
"../../node_modules/cross-fetch/node_modules/webidl-conversions/lib/index.js"(exports, module) {
|
|
37
52
|
"use strict";
|
|
53
|
+
init_cjs_shim();
|
|
38
54
|
var conversions = {};
|
|
39
55
|
module.exports = conversions;
|
|
40
56
|
function sign(x) {
|
|
@@ -192,6 +208,7 @@ var require_lib = __commonJS({
|
|
|
192
208
|
var require_utils = __commonJS({
|
|
193
209
|
"../../node_modules/cross-fetch/node_modules/whatwg-url/lib/utils.js"(exports, module) {
|
|
194
210
|
"use strict";
|
|
211
|
+
init_cjs_shim();
|
|
195
212
|
module.exports.mixin = function mixin(target, source) {
|
|
196
213
|
const keys = Object.getOwnPropertyNames(source);
|
|
197
214
|
for (let i = 0; i < keys.length; ++i) {
|
|
@@ -220,6 +237,7 @@ var require_mappingTable = __commonJS({
|
|
|
220
237
|
var require_tr46 = __commonJS({
|
|
221
238
|
"../../node_modules/cross-fetch/node_modules/tr46/index.js"(exports, module) {
|
|
222
239
|
"use strict";
|
|
240
|
+
init_cjs_shim();
|
|
223
241
|
var punycode = __require("punycode");
|
|
224
242
|
var mappingTable = require_mappingTable();
|
|
225
243
|
var PROCESSING_OPTIONS = {
|
|
@@ -382,6 +400,7 @@ var require_tr46 = __commonJS({
|
|
|
382
400
|
var require_url_state_machine = __commonJS({
|
|
383
401
|
"../../node_modules/cross-fetch/node_modules/whatwg-url/lib/url-state-machine.js"(exports, module) {
|
|
384
402
|
"use strict";
|
|
403
|
+
init_cjs_shim();
|
|
385
404
|
var punycode = __require("punycode");
|
|
386
405
|
var tr46 = require_tr46();
|
|
387
406
|
var specialSchemes = {
|
|
@@ -438,8 +457,8 @@ var require_url_state_machine = __commonJS({
|
|
|
438
457
|
function isSpecialScheme(scheme) {
|
|
439
458
|
return specialSchemes[scheme] !== void 0;
|
|
440
459
|
}
|
|
441
|
-
function isSpecial(
|
|
442
|
-
return isSpecialScheme(
|
|
460
|
+
function isSpecial(url2) {
|
|
461
|
+
return isSpecialScheme(url2.scheme);
|
|
443
462
|
}
|
|
444
463
|
function defaultPort(scheme) {
|
|
445
464
|
return specialSchemes[scheme];
|
|
@@ -761,38 +780,38 @@ var require_url_state_machine = __commonJS({
|
|
|
761
780
|
}
|
|
762
781
|
return host;
|
|
763
782
|
}
|
|
764
|
-
function trimControlChars(
|
|
765
|
-
return
|
|
783
|
+
function trimControlChars(url2) {
|
|
784
|
+
return url2.replace(/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g, "");
|
|
766
785
|
}
|
|
767
|
-
function trimTabAndNewline(
|
|
768
|
-
return
|
|
786
|
+
function trimTabAndNewline(url2) {
|
|
787
|
+
return url2.replace(/\u0009|\u000A|\u000D/g, "");
|
|
769
788
|
}
|
|
770
|
-
function shortenPath(
|
|
771
|
-
const
|
|
772
|
-
if (
|
|
789
|
+
function shortenPath(url2) {
|
|
790
|
+
const path2 = url2.path;
|
|
791
|
+
if (path2.length === 0) {
|
|
773
792
|
return;
|
|
774
793
|
}
|
|
775
|
-
if (
|
|
794
|
+
if (url2.scheme === "file" && path2.length === 1 && isNormalizedWindowsDriveLetter(path2[0])) {
|
|
776
795
|
return;
|
|
777
796
|
}
|
|
778
|
-
|
|
797
|
+
path2.pop();
|
|
779
798
|
}
|
|
780
|
-
function includesCredentials(
|
|
781
|
-
return
|
|
799
|
+
function includesCredentials(url2) {
|
|
800
|
+
return url2.username !== "" || url2.password !== "";
|
|
782
801
|
}
|
|
783
|
-
function cannotHaveAUsernamePasswordPort(
|
|
784
|
-
return
|
|
802
|
+
function cannotHaveAUsernamePasswordPort(url2) {
|
|
803
|
+
return url2.host === null || url2.host === "" || url2.cannotBeABaseURL || url2.scheme === "file";
|
|
785
804
|
}
|
|
786
805
|
function isNormalizedWindowsDriveLetter(string) {
|
|
787
806
|
return /^[A-Za-z]:$/.test(string);
|
|
788
807
|
}
|
|
789
|
-
function URLStateMachine(input, base, encodingOverride,
|
|
808
|
+
function URLStateMachine(input, base, encodingOverride, url2, stateOverride) {
|
|
790
809
|
this.pointer = 0;
|
|
791
810
|
this.input = input;
|
|
792
811
|
this.base = base || null;
|
|
793
812
|
this.encodingOverride = encodingOverride || "utf-8";
|
|
794
813
|
this.stateOverride = stateOverride;
|
|
795
|
-
this.url =
|
|
814
|
+
this.url = url2;
|
|
796
815
|
this.failure = false;
|
|
797
816
|
this.parseError = false;
|
|
798
817
|
if (!this.url) {
|
|
@@ -1345,36 +1364,36 @@ var require_url_state_machine = __commonJS({
|
|
|
1345
1364
|
}
|
|
1346
1365
|
return true;
|
|
1347
1366
|
};
|
|
1348
|
-
function serializeURL(
|
|
1349
|
-
let output =
|
|
1350
|
-
if (
|
|
1367
|
+
function serializeURL(url2, excludeFragment) {
|
|
1368
|
+
let output = url2.scheme + ":";
|
|
1369
|
+
if (url2.host !== null) {
|
|
1351
1370
|
output += "//";
|
|
1352
|
-
if (
|
|
1353
|
-
output +=
|
|
1354
|
-
if (
|
|
1355
|
-
output += ":" +
|
|
1371
|
+
if (url2.username !== "" || url2.password !== "") {
|
|
1372
|
+
output += url2.username;
|
|
1373
|
+
if (url2.password !== "") {
|
|
1374
|
+
output += ":" + url2.password;
|
|
1356
1375
|
}
|
|
1357
1376
|
output += "@";
|
|
1358
1377
|
}
|
|
1359
|
-
output += serializeHost(
|
|
1360
|
-
if (
|
|
1361
|
-
output += ":" +
|
|
1378
|
+
output += serializeHost(url2.host);
|
|
1379
|
+
if (url2.port !== null) {
|
|
1380
|
+
output += ":" + url2.port;
|
|
1362
1381
|
}
|
|
1363
|
-
} else if (
|
|
1382
|
+
} else if (url2.host === null && url2.scheme === "file") {
|
|
1364
1383
|
output += "//";
|
|
1365
1384
|
}
|
|
1366
|
-
if (
|
|
1367
|
-
output +=
|
|
1385
|
+
if (url2.cannotBeABaseURL) {
|
|
1386
|
+
output += url2.path[0];
|
|
1368
1387
|
} else {
|
|
1369
|
-
for (const string of
|
|
1388
|
+
for (const string of url2.path) {
|
|
1370
1389
|
output += "/" + string;
|
|
1371
1390
|
}
|
|
1372
1391
|
}
|
|
1373
|
-
if (
|
|
1374
|
-
output += "?" +
|
|
1392
|
+
if (url2.query !== null) {
|
|
1393
|
+
output += "?" + url2.query;
|
|
1375
1394
|
}
|
|
1376
|
-
if (!excludeFragment &&
|
|
1377
|
-
output += "#" +
|
|
1395
|
+
if (!excludeFragment && url2.fragment !== null) {
|
|
1396
|
+
output += "#" + url2.fragment;
|
|
1378
1397
|
}
|
|
1379
1398
|
return output;
|
|
1380
1399
|
}
|
|
@@ -1387,11 +1406,11 @@ var require_url_state_machine = __commonJS({
|
|
|
1387
1406
|
return result;
|
|
1388
1407
|
}
|
|
1389
1408
|
module.exports.serializeURL = serializeURL;
|
|
1390
|
-
module.exports.serializeURLOrigin = function(
|
|
1391
|
-
switch (
|
|
1409
|
+
module.exports.serializeURLOrigin = function(url2) {
|
|
1410
|
+
switch (url2.scheme) {
|
|
1392
1411
|
case "blob":
|
|
1393
1412
|
try {
|
|
1394
|
-
return module.exports.serializeURLOrigin(module.exports.parseURL(
|
|
1413
|
+
return module.exports.serializeURLOrigin(module.exports.parseURL(url2.path[0]));
|
|
1395
1414
|
} catch (e) {
|
|
1396
1415
|
return "null";
|
|
1397
1416
|
}
|
|
@@ -1402,9 +1421,9 @@ var require_url_state_machine = __commonJS({
|
|
|
1402
1421
|
case "ws":
|
|
1403
1422
|
case "wss":
|
|
1404
1423
|
return serializeOrigin({
|
|
1405
|
-
scheme:
|
|
1406
|
-
host:
|
|
1407
|
-
port:
|
|
1424
|
+
scheme: url2.scheme,
|
|
1425
|
+
host: url2.host,
|
|
1426
|
+
port: url2.port
|
|
1408
1427
|
});
|
|
1409
1428
|
case "file":
|
|
1410
1429
|
return "file://";
|
|
@@ -1422,18 +1441,18 @@ var require_url_state_machine = __commonJS({
|
|
|
1422
1441
|
}
|
|
1423
1442
|
return usm.url;
|
|
1424
1443
|
};
|
|
1425
|
-
module.exports.setTheUsername = function(
|
|
1426
|
-
|
|
1444
|
+
module.exports.setTheUsername = function(url2, username) {
|
|
1445
|
+
url2.username = "";
|
|
1427
1446
|
const decoded = punycode.ucs2.decode(username);
|
|
1428
1447
|
for (let i = 0; i < decoded.length; ++i) {
|
|
1429
|
-
|
|
1448
|
+
url2.username += percentEncodeChar(decoded[i], isUserinfoPercentEncode);
|
|
1430
1449
|
}
|
|
1431
1450
|
};
|
|
1432
|
-
module.exports.setThePassword = function(
|
|
1433
|
-
|
|
1451
|
+
module.exports.setThePassword = function(url2, password) {
|
|
1452
|
+
url2.password = "";
|
|
1434
1453
|
const decoded = punycode.ucs2.decode(password);
|
|
1435
1454
|
for (let i = 0; i < decoded.length; ++i) {
|
|
1436
|
-
|
|
1455
|
+
url2.password += percentEncodeChar(decoded[i], isUserinfoPercentEncode);
|
|
1437
1456
|
}
|
|
1438
1457
|
};
|
|
1439
1458
|
module.exports.serializeHost = serializeHost;
|
|
@@ -1454,10 +1473,11 @@ var require_url_state_machine = __commonJS({
|
|
|
1454
1473
|
var require_URL_impl = __commonJS({
|
|
1455
1474
|
"../../node_modules/cross-fetch/node_modules/whatwg-url/lib/URL-impl.js"(exports) {
|
|
1456
1475
|
"use strict";
|
|
1476
|
+
init_cjs_shim();
|
|
1457
1477
|
var usm = require_url_state_machine();
|
|
1458
1478
|
exports.implementation = class URLImpl {
|
|
1459
1479
|
constructor(constructorArgs) {
|
|
1460
|
-
const
|
|
1480
|
+
const url2 = constructorArgs[0];
|
|
1461
1481
|
const base = constructorArgs[1];
|
|
1462
1482
|
let parsedBase = null;
|
|
1463
1483
|
if (base !== void 0) {
|
|
@@ -1466,7 +1486,7 @@ var require_URL_impl = __commonJS({
|
|
|
1466
1486
|
throw new TypeError("Invalid base URL");
|
|
1467
1487
|
}
|
|
1468
1488
|
}
|
|
1469
|
-
const parsedURL = usm.basicURLParse(
|
|
1489
|
+
const parsedURL = usm.basicURLParse(url2, { baseURL: parsedBase });
|
|
1470
1490
|
if (parsedURL === "failure") {
|
|
1471
1491
|
throw new TypeError("Invalid URL");
|
|
1472
1492
|
}
|
|
@@ -1510,14 +1530,14 @@ var require_URL_impl = __commonJS({
|
|
|
1510
1530
|
usm.setThePassword(this._url, v);
|
|
1511
1531
|
}
|
|
1512
1532
|
get host() {
|
|
1513
|
-
const
|
|
1514
|
-
if (
|
|
1533
|
+
const url2 = this._url;
|
|
1534
|
+
if (url2.host === null) {
|
|
1515
1535
|
return "";
|
|
1516
1536
|
}
|
|
1517
|
-
if (
|
|
1518
|
-
return usm.serializeHost(
|
|
1537
|
+
if (url2.port === null) {
|
|
1538
|
+
return usm.serializeHost(url2.host);
|
|
1519
1539
|
}
|
|
1520
|
-
return usm.serializeHost(
|
|
1540
|
+
return usm.serializeHost(url2.host) + ":" + usm.serializeInteger(url2.port);
|
|
1521
1541
|
}
|
|
1522
1542
|
set host(v) {
|
|
1523
1543
|
if (this._url.cannotBeABaseURL) {
|
|
@@ -1576,14 +1596,14 @@ var require_URL_impl = __commonJS({
|
|
|
1576
1596
|
return "?" + this._url.query;
|
|
1577
1597
|
}
|
|
1578
1598
|
set search(v) {
|
|
1579
|
-
const
|
|
1599
|
+
const url2 = this._url;
|
|
1580
1600
|
if (v === "") {
|
|
1581
|
-
|
|
1601
|
+
url2.query = null;
|
|
1582
1602
|
return;
|
|
1583
1603
|
}
|
|
1584
1604
|
const input = v[0] === "?" ? v.substring(1) : v;
|
|
1585
|
-
|
|
1586
|
-
usm.basicURLParse(input, { url, stateOverride: "query" });
|
|
1605
|
+
url2.query = "";
|
|
1606
|
+
usm.basicURLParse(input, { url: url2, stateOverride: "query" });
|
|
1587
1607
|
}
|
|
1588
1608
|
get hash() {
|
|
1589
1609
|
if (this._url.fragment === null || this._url.fragment === "") {
|
|
@@ -1611,11 +1631,12 @@ var require_URL_impl = __commonJS({
|
|
|
1611
1631
|
var require_URL = __commonJS({
|
|
1612
1632
|
"../../node_modules/cross-fetch/node_modules/whatwg-url/lib/URL.js"(exports, module) {
|
|
1613
1633
|
"use strict";
|
|
1634
|
+
init_cjs_shim();
|
|
1614
1635
|
var conversions = require_lib();
|
|
1615
1636
|
var utils = require_utils();
|
|
1616
1637
|
var Impl = require_URL_impl();
|
|
1617
1638
|
var impl = utils.implSymbol;
|
|
1618
|
-
function URL(
|
|
1639
|
+
function URL(url2) {
|
|
1619
1640
|
if (!this || this[impl] || !(this instanceof URL)) {
|
|
1620
1641
|
throw new TypeError("Failed to construct 'URL': Please use the 'new' operator, this DOM object constructor cannot be called as a function.");
|
|
1621
1642
|
}
|
|
@@ -1794,6 +1815,7 @@ var require_URL = __commonJS({
|
|
|
1794
1815
|
var require_public_api = __commonJS({
|
|
1795
1816
|
"../../node_modules/cross-fetch/node_modules/whatwg-url/lib/public-api.js"(exports) {
|
|
1796
1817
|
"use strict";
|
|
1818
|
+
init_cjs_shim();
|
|
1797
1819
|
exports.URL = require_URL().interface;
|
|
1798
1820
|
exports.serializeURL = require_url_state_machine().serializeURL;
|
|
1799
1821
|
exports.serializeURLOrigin = require_url_state_machine().serializeURLOrigin;
|
|
@@ -1810,6 +1832,7 @@ var require_public_api = __commonJS({
|
|
|
1810
1832
|
var require_safer = __commonJS({
|
|
1811
1833
|
"../../node_modules/safer-buffer/safer.js"(exports, module) {
|
|
1812
1834
|
"use strict";
|
|
1835
|
+
init_cjs_shim();
|
|
1813
1836
|
var buffer = __require("buffer");
|
|
1814
1837
|
var Buffer2 = buffer.Buffer;
|
|
1815
1838
|
var safer = {};
|
|
@@ -1882,6 +1905,7 @@ var require_safer = __commonJS({
|
|
|
1882
1905
|
var require_bom_handling = __commonJS({
|
|
1883
1906
|
"../../node_modules/iconv-lite/lib/bom-handling.js"(exports) {
|
|
1884
1907
|
"use strict";
|
|
1908
|
+
init_cjs_shim();
|
|
1885
1909
|
var BOMChar = "\uFEFF";
|
|
1886
1910
|
exports.PrependBOM = PrependBOMWrapper;
|
|
1887
1911
|
function PrependBOMWrapper(encoder, options) {
|
|
@@ -1926,6 +1950,7 @@ var require_bom_handling = __commonJS({
|
|
|
1926
1950
|
var require_internal = __commonJS({
|
|
1927
1951
|
"../../node_modules/iconv-lite/encodings/internal.js"(exports, module) {
|
|
1928
1952
|
"use strict";
|
|
1953
|
+
init_cjs_shim();
|
|
1929
1954
|
var Buffer2 = require_safer().Buffer;
|
|
1930
1955
|
module.exports = {
|
|
1931
1956
|
// Encodings
|
|
@@ -2070,6 +2095,7 @@ var require_internal = __commonJS({
|
|
|
2070
2095
|
var require_utf16 = __commonJS({
|
|
2071
2096
|
"../../node_modules/iconv-lite/encodings/utf16.js"(exports) {
|
|
2072
2097
|
"use strict";
|
|
2098
|
+
init_cjs_shim();
|
|
2073
2099
|
var Buffer2 = require_safer().Buffer;
|
|
2074
2100
|
exports.utf16be = Utf16BECodec;
|
|
2075
2101
|
function Utf16BECodec() {
|
|
@@ -2188,6 +2214,7 @@ var require_utf16 = __commonJS({
|
|
|
2188
2214
|
var require_utf7 = __commonJS({
|
|
2189
2215
|
"../../node_modules/iconv-lite/encodings/utf7.js"(exports) {
|
|
2190
2216
|
"use strict";
|
|
2217
|
+
init_cjs_shim();
|
|
2191
2218
|
var Buffer2 = require_safer().Buffer;
|
|
2192
2219
|
exports.utf7 = Utf7Codec;
|
|
2193
2220
|
exports.unicode11utf7 = "utf7";
|
|
@@ -2389,6 +2416,7 @@ var require_utf7 = __commonJS({
|
|
|
2389
2416
|
var require_sbcs_codec = __commonJS({
|
|
2390
2417
|
"../../node_modules/iconv-lite/encodings/sbcs-codec.js"(exports) {
|
|
2391
2418
|
"use strict";
|
|
2419
|
+
init_cjs_shim();
|
|
2392
2420
|
var Buffer2 = require_safer().Buffer;
|
|
2393
2421
|
exports._sbcs = SBCSCodec;
|
|
2394
2422
|
function SBCSCodec(codecOptions, iconv) {
|
|
@@ -2445,6 +2473,7 @@ var require_sbcs_codec = __commonJS({
|
|
|
2445
2473
|
var require_sbcs_data = __commonJS({
|
|
2446
2474
|
"../../node_modules/iconv-lite/encodings/sbcs-data.js"(exports, module) {
|
|
2447
2475
|
"use strict";
|
|
2476
|
+
init_cjs_shim();
|
|
2448
2477
|
module.exports = {
|
|
2449
2478
|
// Not supported by iconv, not sure why.
|
|
2450
2479
|
"10029": "maccenteuro",
|
|
@@ -2594,6 +2623,7 @@ var require_sbcs_data = __commonJS({
|
|
|
2594
2623
|
var require_sbcs_data_generated = __commonJS({
|
|
2595
2624
|
"../../node_modules/iconv-lite/encodings/sbcs-data-generated.js"(exports, module) {
|
|
2596
2625
|
"use strict";
|
|
2626
|
+
init_cjs_shim();
|
|
2597
2627
|
module.exports = {
|
|
2598
2628
|
"437": "cp437",
|
|
2599
2629
|
"737": "cp737",
|
|
@@ -3049,6 +3079,7 @@ var require_sbcs_data_generated = __commonJS({
|
|
|
3049
3079
|
var require_dbcs_codec = __commonJS({
|
|
3050
3080
|
"../../node_modules/iconv-lite/encodings/dbcs-codec.js"(exports) {
|
|
3051
3081
|
"use strict";
|
|
3082
|
+
init_cjs_shim();
|
|
3052
3083
|
var Buffer2 = require_safer().Buffer;
|
|
3053
3084
|
exports._dbcs = DBCSCodec;
|
|
3054
3085
|
var UNASSIGNED = -1;
|
|
@@ -4681,6 +4712,7 @@ var require_big5_added = __commonJS({
|
|
|
4681
4712
|
var require_dbcs_data = __commonJS({
|
|
4682
4713
|
"../../node_modules/iconv-lite/encodings/dbcs-data.js"(exports, module) {
|
|
4683
4714
|
"use strict";
|
|
4715
|
+
init_cjs_shim();
|
|
4684
4716
|
module.exports = {
|
|
4685
4717
|
// == Japanese/ShiftJIS ====================================================
|
|
4686
4718
|
// All japanese encodings are based on JIS X set of standards:
|
|
@@ -4856,6 +4888,7 @@ var require_dbcs_data = __commonJS({
|
|
|
4856
4888
|
var require_encodings = __commonJS({
|
|
4857
4889
|
"../../node_modules/iconv-lite/encodings/index.js"(exports, module) {
|
|
4858
4890
|
"use strict";
|
|
4891
|
+
init_cjs_shim();
|
|
4859
4892
|
var modules = [
|
|
4860
4893
|
require_internal(),
|
|
4861
4894
|
require_utf16(),
|
|
@@ -4882,6 +4915,7 @@ var require_encodings = __commonJS({
|
|
|
4882
4915
|
var require_streams = __commonJS({
|
|
4883
4916
|
"../../node_modules/iconv-lite/lib/streams.js"(exports, module) {
|
|
4884
4917
|
"use strict";
|
|
4918
|
+
init_cjs_shim();
|
|
4885
4919
|
var Buffer2 = __require("buffer").Buffer;
|
|
4886
4920
|
var Transform = __require("stream").Transform;
|
|
4887
4921
|
module.exports = function(iconv) {
|
|
@@ -4987,6 +5021,7 @@ var require_streams = __commonJS({
|
|
|
4987
5021
|
var require_extend_node = __commonJS({
|
|
4988
5022
|
"../../node_modules/iconv-lite/lib/extend-node.js"(exports, module) {
|
|
4989
5023
|
"use strict";
|
|
5024
|
+
init_cjs_shim();
|
|
4990
5025
|
var Buffer2 = __require("buffer").Buffer;
|
|
4991
5026
|
module.exports = function(iconv) {
|
|
4992
5027
|
var original = void 0;
|
|
@@ -5156,6 +5191,7 @@ var require_extend_node = __commonJS({
|
|
|
5156
5191
|
var require_lib2 = __commonJS({
|
|
5157
5192
|
"../../node_modules/iconv-lite/lib/index.js"(exports, module) {
|
|
5158
5193
|
"use strict";
|
|
5194
|
+
init_cjs_shim();
|
|
5159
5195
|
var Buffer2 = require_safer().Buffer;
|
|
5160
5196
|
var bomHandling = require_bom_handling();
|
|
5161
5197
|
var iconv = module.exports;
|
|
@@ -5259,6 +5295,7 @@ var require_lib2 = __commonJS({
|
|
|
5259
5295
|
var require_iconv_loader = __commonJS({
|
|
5260
5296
|
"../../node_modules/encoding/lib/iconv-loader.js"(exports, module) {
|
|
5261
5297
|
"use strict";
|
|
5298
|
+
init_cjs_shim();
|
|
5262
5299
|
var iconv_package;
|
|
5263
5300
|
var Iconv;
|
|
5264
5301
|
try {
|
|
@@ -5274,6 +5311,7 @@ var require_iconv_loader = __commonJS({
|
|
|
5274
5311
|
var require_encoding = __commonJS({
|
|
5275
5312
|
"../../node_modules/encoding/lib/encoding.js"(exports, module) {
|
|
5276
5313
|
"use strict";
|
|
5314
|
+
init_cjs_shim();
|
|
5277
5315
|
var iconvLite = require_lib2();
|
|
5278
5316
|
var Iconv = require_iconv_loader();
|
|
5279
5317
|
module.exports.convert = convert;
|
|
@@ -5341,6 +5379,7 @@ var require_encoding = __commonJS({
|
|
|
5341
5379
|
var require_lib3 = __commonJS({
|
|
5342
5380
|
"../../node_modules/cross-fetch/node_modules/node-fetch/lib/index.js"(exports, module) {
|
|
5343
5381
|
"use strict";
|
|
5382
|
+
init_cjs_shim();
|
|
5344
5383
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5345
5384
|
function _interopDefault(ex) {
|
|
5346
5385
|
return ex && typeof ex === "object" && "default" in ex ? ex["default"] : ex;
|
|
@@ -6336,13 +6375,13 @@ var require_lib3 = __commonJS({
|
|
|
6336
6375
|
const dest = new URL$1(destination).protocol;
|
|
6337
6376
|
return orig === dest;
|
|
6338
6377
|
};
|
|
6339
|
-
function fetch2(
|
|
6378
|
+
function fetch2(url2, opts) {
|
|
6340
6379
|
if (!fetch2.Promise) {
|
|
6341
6380
|
throw new Error("native promise missing, set fetch.Promise to your favorite alternative");
|
|
6342
6381
|
}
|
|
6343
6382
|
Body.Promise = fetch2.Promise;
|
|
6344
6383
|
return new fetch2.Promise(function(resolve, reject) {
|
|
6345
|
-
const request = new Request(
|
|
6384
|
+
const request = new Request(url2, opts);
|
|
6346
6385
|
const options = getNodeRequestOptions(request);
|
|
6347
6386
|
const send = (options.protocol === "https:" ? https : http).request;
|
|
6348
6387
|
const signal = request.signal;
|
|
@@ -6587,13 +6626,14 @@ var require_lib3 = __commonJS({
|
|
|
6587
6626
|
// ../../node_modules/cross-fetch/dist/node-ponyfill.js
|
|
6588
6627
|
var require_node_ponyfill = __commonJS({
|
|
6589
6628
|
"../../node_modules/cross-fetch/dist/node-ponyfill.js"(exports, module) {
|
|
6629
|
+
init_cjs_shim();
|
|
6590
6630
|
var nodeFetch = require_lib3();
|
|
6591
6631
|
var realFetch = nodeFetch.default || nodeFetch;
|
|
6592
|
-
var fetch2 = function(
|
|
6593
|
-
if (/^\/\//.test(
|
|
6594
|
-
|
|
6632
|
+
var fetch2 = function(url2, options) {
|
|
6633
|
+
if (/^\/\//.test(url2)) {
|
|
6634
|
+
url2 = "https:" + url2;
|
|
6595
6635
|
}
|
|
6596
|
-
return realFetch.call(this,
|
|
6636
|
+
return realFetch.call(this, url2, options);
|
|
6597
6637
|
};
|
|
6598
6638
|
fetch2.ponyfill = true;
|
|
6599
6639
|
module.exports = exports = fetch2;
|
|
@@ -6608,6 +6648,7 @@ var require_node_ponyfill = __commonJS({
|
|
|
6608
6648
|
// ../../node_modules/lodash/_listCacheClear.js
|
|
6609
6649
|
var require_listCacheClear = __commonJS({
|
|
6610
6650
|
"../../node_modules/lodash/_listCacheClear.js"(exports, module) {
|
|
6651
|
+
init_cjs_shim();
|
|
6611
6652
|
function listCacheClear() {
|
|
6612
6653
|
this.__data__ = [];
|
|
6613
6654
|
this.size = 0;
|
|
@@ -6619,6 +6660,7 @@ var require_listCacheClear = __commonJS({
|
|
|
6619
6660
|
// ../../node_modules/lodash/eq.js
|
|
6620
6661
|
var require_eq = __commonJS({
|
|
6621
6662
|
"../../node_modules/lodash/eq.js"(exports, module) {
|
|
6663
|
+
init_cjs_shim();
|
|
6622
6664
|
function eq2(value, other) {
|
|
6623
6665
|
return value === other || value !== value && other !== other;
|
|
6624
6666
|
}
|
|
@@ -6629,6 +6671,7 @@ var require_eq = __commonJS({
|
|
|
6629
6671
|
// ../../node_modules/lodash/_assocIndexOf.js
|
|
6630
6672
|
var require_assocIndexOf = __commonJS({
|
|
6631
6673
|
"../../node_modules/lodash/_assocIndexOf.js"(exports, module) {
|
|
6674
|
+
init_cjs_shim();
|
|
6632
6675
|
var eq2 = require_eq();
|
|
6633
6676
|
function assocIndexOf(array, key) {
|
|
6634
6677
|
var length = array.length;
|
|
@@ -6646,6 +6689,7 @@ var require_assocIndexOf = __commonJS({
|
|
|
6646
6689
|
// ../../node_modules/lodash/_listCacheDelete.js
|
|
6647
6690
|
var require_listCacheDelete = __commonJS({
|
|
6648
6691
|
"../../node_modules/lodash/_listCacheDelete.js"(exports, module) {
|
|
6692
|
+
init_cjs_shim();
|
|
6649
6693
|
var assocIndexOf = require_assocIndexOf();
|
|
6650
6694
|
var arrayProto = Array.prototype;
|
|
6651
6695
|
var splice = arrayProto.splice;
|
|
@@ -6670,6 +6714,7 @@ var require_listCacheDelete = __commonJS({
|
|
|
6670
6714
|
// ../../node_modules/lodash/_listCacheGet.js
|
|
6671
6715
|
var require_listCacheGet = __commonJS({
|
|
6672
6716
|
"../../node_modules/lodash/_listCacheGet.js"(exports, module) {
|
|
6717
|
+
init_cjs_shim();
|
|
6673
6718
|
var assocIndexOf = require_assocIndexOf();
|
|
6674
6719
|
function listCacheGet(key) {
|
|
6675
6720
|
var data = this.__data__, index = assocIndexOf(data, key);
|
|
@@ -6682,6 +6727,7 @@ var require_listCacheGet = __commonJS({
|
|
|
6682
6727
|
// ../../node_modules/lodash/_listCacheHas.js
|
|
6683
6728
|
var require_listCacheHas = __commonJS({
|
|
6684
6729
|
"../../node_modules/lodash/_listCacheHas.js"(exports, module) {
|
|
6730
|
+
init_cjs_shim();
|
|
6685
6731
|
var assocIndexOf = require_assocIndexOf();
|
|
6686
6732
|
function listCacheHas(key) {
|
|
6687
6733
|
return assocIndexOf(this.__data__, key) > -1;
|
|
@@ -6693,6 +6739,7 @@ var require_listCacheHas = __commonJS({
|
|
|
6693
6739
|
// ../../node_modules/lodash/_listCacheSet.js
|
|
6694
6740
|
var require_listCacheSet = __commonJS({
|
|
6695
6741
|
"../../node_modules/lodash/_listCacheSet.js"(exports, module) {
|
|
6742
|
+
init_cjs_shim();
|
|
6696
6743
|
var assocIndexOf = require_assocIndexOf();
|
|
6697
6744
|
function listCacheSet(key, value) {
|
|
6698
6745
|
var data = this.__data__, index = assocIndexOf(data, key);
|
|
@@ -6711,6 +6758,7 @@ var require_listCacheSet = __commonJS({
|
|
|
6711
6758
|
// ../../node_modules/lodash/_ListCache.js
|
|
6712
6759
|
var require_ListCache = __commonJS({
|
|
6713
6760
|
"../../node_modules/lodash/_ListCache.js"(exports, module) {
|
|
6761
|
+
init_cjs_shim();
|
|
6714
6762
|
var listCacheClear = require_listCacheClear();
|
|
6715
6763
|
var listCacheDelete = require_listCacheDelete();
|
|
6716
6764
|
var listCacheGet = require_listCacheGet();
|
|
@@ -6736,6 +6784,7 @@ var require_ListCache = __commonJS({
|
|
|
6736
6784
|
// ../../node_modules/lodash/_stackClear.js
|
|
6737
6785
|
var require_stackClear = __commonJS({
|
|
6738
6786
|
"../../node_modules/lodash/_stackClear.js"(exports, module) {
|
|
6787
|
+
init_cjs_shim();
|
|
6739
6788
|
var ListCache = require_ListCache();
|
|
6740
6789
|
function stackClear() {
|
|
6741
6790
|
this.__data__ = new ListCache();
|
|
@@ -6748,6 +6797,7 @@ var require_stackClear = __commonJS({
|
|
|
6748
6797
|
// ../../node_modules/lodash/_stackDelete.js
|
|
6749
6798
|
var require_stackDelete = __commonJS({
|
|
6750
6799
|
"../../node_modules/lodash/_stackDelete.js"(exports, module) {
|
|
6800
|
+
init_cjs_shim();
|
|
6751
6801
|
function stackDelete(key) {
|
|
6752
6802
|
var data = this.__data__, result = data["delete"](key);
|
|
6753
6803
|
this.size = data.size;
|
|
@@ -6760,6 +6810,7 @@ var require_stackDelete = __commonJS({
|
|
|
6760
6810
|
// ../../node_modules/lodash/_stackGet.js
|
|
6761
6811
|
var require_stackGet = __commonJS({
|
|
6762
6812
|
"../../node_modules/lodash/_stackGet.js"(exports, module) {
|
|
6813
|
+
init_cjs_shim();
|
|
6763
6814
|
function stackGet(key) {
|
|
6764
6815
|
return this.__data__.get(key);
|
|
6765
6816
|
}
|
|
@@ -6770,6 +6821,7 @@ var require_stackGet = __commonJS({
|
|
|
6770
6821
|
// ../../node_modules/lodash/_stackHas.js
|
|
6771
6822
|
var require_stackHas = __commonJS({
|
|
6772
6823
|
"../../node_modules/lodash/_stackHas.js"(exports, module) {
|
|
6824
|
+
init_cjs_shim();
|
|
6773
6825
|
function stackHas(key) {
|
|
6774
6826
|
return this.__data__.has(key);
|
|
6775
6827
|
}
|
|
@@ -6780,6 +6832,7 @@ var require_stackHas = __commonJS({
|
|
|
6780
6832
|
// ../../node_modules/lodash/_freeGlobal.js
|
|
6781
6833
|
var require_freeGlobal = __commonJS({
|
|
6782
6834
|
"../../node_modules/lodash/_freeGlobal.js"(exports, module) {
|
|
6835
|
+
init_cjs_shim();
|
|
6783
6836
|
var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
|
|
6784
6837
|
module.exports = freeGlobal;
|
|
6785
6838
|
}
|
|
@@ -6788,6 +6841,7 @@ var require_freeGlobal = __commonJS({
|
|
|
6788
6841
|
// ../../node_modules/lodash/_root.js
|
|
6789
6842
|
var require_root = __commonJS({
|
|
6790
6843
|
"../../node_modules/lodash/_root.js"(exports, module) {
|
|
6844
|
+
init_cjs_shim();
|
|
6791
6845
|
var freeGlobal = require_freeGlobal();
|
|
6792
6846
|
var freeSelf = typeof self == "object" && self && self.Object === Object && self;
|
|
6793
6847
|
var root = freeGlobal || freeSelf || Function("return this")();
|
|
@@ -6798,6 +6852,7 @@ var require_root = __commonJS({
|
|
|
6798
6852
|
// ../../node_modules/lodash/_Symbol.js
|
|
6799
6853
|
var require_Symbol = __commonJS({
|
|
6800
6854
|
"../../node_modules/lodash/_Symbol.js"(exports, module) {
|
|
6855
|
+
init_cjs_shim();
|
|
6801
6856
|
var root = require_root();
|
|
6802
6857
|
var Symbol2 = root.Symbol;
|
|
6803
6858
|
module.exports = Symbol2;
|
|
@@ -6807,6 +6862,7 @@ var require_Symbol = __commonJS({
|
|
|
6807
6862
|
// ../../node_modules/lodash/_getRawTag.js
|
|
6808
6863
|
var require_getRawTag = __commonJS({
|
|
6809
6864
|
"../../node_modules/lodash/_getRawTag.js"(exports, module) {
|
|
6865
|
+
init_cjs_shim();
|
|
6810
6866
|
var Symbol2 = require_Symbol();
|
|
6811
6867
|
var objectProto = Object.prototype;
|
|
6812
6868
|
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
@@ -6836,6 +6892,7 @@ var require_getRawTag = __commonJS({
|
|
|
6836
6892
|
// ../../node_modules/lodash/_objectToString.js
|
|
6837
6893
|
var require_objectToString = __commonJS({
|
|
6838
6894
|
"../../node_modules/lodash/_objectToString.js"(exports, module) {
|
|
6895
|
+
init_cjs_shim();
|
|
6839
6896
|
var objectProto = Object.prototype;
|
|
6840
6897
|
var nativeObjectToString = objectProto.toString;
|
|
6841
6898
|
function objectToString(value) {
|
|
@@ -6848,6 +6905,7 @@ var require_objectToString = __commonJS({
|
|
|
6848
6905
|
// ../../node_modules/lodash/_baseGetTag.js
|
|
6849
6906
|
var require_baseGetTag = __commonJS({
|
|
6850
6907
|
"../../node_modules/lodash/_baseGetTag.js"(exports, module) {
|
|
6908
|
+
init_cjs_shim();
|
|
6851
6909
|
var Symbol2 = require_Symbol();
|
|
6852
6910
|
var getRawTag = require_getRawTag();
|
|
6853
6911
|
var objectToString = require_objectToString();
|
|
@@ -6867,6 +6925,7 @@ var require_baseGetTag = __commonJS({
|
|
|
6867
6925
|
// ../../node_modules/lodash/isObject.js
|
|
6868
6926
|
var require_isObject = __commonJS({
|
|
6869
6927
|
"../../node_modules/lodash/isObject.js"(exports, module) {
|
|
6928
|
+
init_cjs_shim();
|
|
6870
6929
|
function isObject(value) {
|
|
6871
6930
|
var type = typeof value;
|
|
6872
6931
|
return value != null && (type == "object" || type == "function");
|
|
@@ -6878,6 +6937,7 @@ var require_isObject = __commonJS({
|
|
|
6878
6937
|
// ../../node_modules/lodash/isFunction.js
|
|
6879
6938
|
var require_isFunction = __commonJS({
|
|
6880
6939
|
"../../node_modules/lodash/isFunction.js"(exports, module) {
|
|
6940
|
+
init_cjs_shim();
|
|
6881
6941
|
var baseGetTag = require_baseGetTag();
|
|
6882
6942
|
var isObject = require_isObject();
|
|
6883
6943
|
var asyncTag = "[object AsyncFunction]";
|
|
@@ -6898,6 +6958,7 @@ var require_isFunction = __commonJS({
|
|
|
6898
6958
|
// ../../node_modules/lodash/_coreJsData.js
|
|
6899
6959
|
var require_coreJsData = __commonJS({
|
|
6900
6960
|
"../../node_modules/lodash/_coreJsData.js"(exports, module) {
|
|
6961
|
+
init_cjs_shim();
|
|
6901
6962
|
var root = require_root();
|
|
6902
6963
|
var coreJsData = root["__core-js_shared__"];
|
|
6903
6964
|
module.exports = coreJsData;
|
|
@@ -6907,6 +6968,7 @@ var require_coreJsData = __commonJS({
|
|
|
6907
6968
|
// ../../node_modules/lodash/_isMasked.js
|
|
6908
6969
|
var require_isMasked = __commonJS({
|
|
6909
6970
|
"../../node_modules/lodash/_isMasked.js"(exports, module) {
|
|
6971
|
+
init_cjs_shim();
|
|
6910
6972
|
var coreJsData = require_coreJsData();
|
|
6911
6973
|
var maskSrcKey = function() {
|
|
6912
6974
|
var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
|
|
@@ -6922,6 +6984,7 @@ var require_isMasked = __commonJS({
|
|
|
6922
6984
|
// ../../node_modules/lodash/_toSource.js
|
|
6923
6985
|
var require_toSource = __commonJS({
|
|
6924
6986
|
"../../node_modules/lodash/_toSource.js"(exports, module) {
|
|
6987
|
+
init_cjs_shim();
|
|
6925
6988
|
var funcProto = Function.prototype;
|
|
6926
6989
|
var funcToString = funcProto.toString;
|
|
6927
6990
|
function toSource(func) {
|
|
@@ -6944,6 +7007,7 @@ var require_toSource = __commonJS({
|
|
|
6944
7007
|
// ../../node_modules/lodash/_baseIsNative.js
|
|
6945
7008
|
var require_baseIsNative = __commonJS({
|
|
6946
7009
|
"../../node_modules/lodash/_baseIsNative.js"(exports, module) {
|
|
7010
|
+
init_cjs_shim();
|
|
6947
7011
|
var isFunction = require_isFunction();
|
|
6948
7012
|
var isMasked = require_isMasked();
|
|
6949
7013
|
var isObject = require_isObject();
|
|
@@ -6971,6 +7035,7 @@ var require_baseIsNative = __commonJS({
|
|
|
6971
7035
|
// ../../node_modules/lodash/_getValue.js
|
|
6972
7036
|
var require_getValue = __commonJS({
|
|
6973
7037
|
"../../node_modules/lodash/_getValue.js"(exports, module) {
|
|
7038
|
+
init_cjs_shim();
|
|
6974
7039
|
function getValue(object, key) {
|
|
6975
7040
|
return object == null ? void 0 : object[key];
|
|
6976
7041
|
}
|
|
@@ -6981,6 +7046,7 @@ var require_getValue = __commonJS({
|
|
|
6981
7046
|
// ../../node_modules/lodash/_getNative.js
|
|
6982
7047
|
var require_getNative = __commonJS({
|
|
6983
7048
|
"../../node_modules/lodash/_getNative.js"(exports, module) {
|
|
7049
|
+
init_cjs_shim();
|
|
6984
7050
|
var baseIsNative = require_baseIsNative();
|
|
6985
7051
|
var getValue = require_getValue();
|
|
6986
7052
|
function getNative(object, key) {
|
|
@@ -6994,6 +7060,7 @@ var require_getNative = __commonJS({
|
|
|
6994
7060
|
// ../../node_modules/lodash/_Map.js
|
|
6995
7061
|
var require_Map = __commonJS({
|
|
6996
7062
|
"../../node_modules/lodash/_Map.js"(exports, module) {
|
|
7063
|
+
init_cjs_shim();
|
|
6997
7064
|
var getNative = require_getNative();
|
|
6998
7065
|
var root = require_root();
|
|
6999
7066
|
var Map2 = getNative(root, "Map");
|
|
@@ -7004,6 +7071,7 @@ var require_Map = __commonJS({
|
|
|
7004
7071
|
// ../../node_modules/lodash/_nativeCreate.js
|
|
7005
7072
|
var require_nativeCreate = __commonJS({
|
|
7006
7073
|
"../../node_modules/lodash/_nativeCreate.js"(exports, module) {
|
|
7074
|
+
init_cjs_shim();
|
|
7007
7075
|
var getNative = require_getNative();
|
|
7008
7076
|
var nativeCreate = getNative(Object, "create");
|
|
7009
7077
|
module.exports = nativeCreate;
|
|
@@ -7013,6 +7081,7 @@ var require_nativeCreate = __commonJS({
|
|
|
7013
7081
|
// ../../node_modules/lodash/_hashClear.js
|
|
7014
7082
|
var require_hashClear = __commonJS({
|
|
7015
7083
|
"../../node_modules/lodash/_hashClear.js"(exports, module) {
|
|
7084
|
+
init_cjs_shim();
|
|
7016
7085
|
var nativeCreate = require_nativeCreate();
|
|
7017
7086
|
function hashClear() {
|
|
7018
7087
|
this.__data__ = nativeCreate ? nativeCreate(null) : {};
|
|
@@ -7025,6 +7094,7 @@ var require_hashClear = __commonJS({
|
|
|
7025
7094
|
// ../../node_modules/lodash/_hashDelete.js
|
|
7026
7095
|
var require_hashDelete = __commonJS({
|
|
7027
7096
|
"../../node_modules/lodash/_hashDelete.js"(exports, module) {
|
|
7097
|
+
init_cjs_shim();
|
|
7028
7098
|
function hashDelete(key) {
|
|
7029
7099
|
var result = this.has(key) && delete this.__data__[key];
|
|
7030
7100
|
this.size -= result ? 1 : 0;
|
|
@@ -7037,6 +7107,7 @@ var require_hashDelete = __commonJS({
|
|
|
7037
7107
|
// ../../node_modules/lodash/_hashGet.js
|
|
7038
7108
|
var require_hashGet = __commonJS({
|
|
7039
7109
|
"../../node_modules/lodash/_hashGet.js"(exports, module) {
|
|
7110
|
+
init_cjs_shim();
|
|
7040
7111
|
var nativeCreate = require_nativeCreate();
|
|
7041
7112
|
var HASH_UNDEFINED = "__lodash_hash_undefined__";
|
|
7042
7113
|
var objectProto = Object.prototype;
|
|
@@ -7056,6 +7127,7 @@ var require_hashGet = __commonJS({
|
|
|
7056
7127
|
// ../../node_modules/lodash/_hashHas.js
|
|
7057
7128
|
var require_hashHas = __commonJS({
|
|
7058
7129
|
"../../node_modules/lodash/_hashHas.js"(exports, module) {
|
|
7130
|
+
init_cjs_shim();
|
|
7059
7131
|
var nativeCreate = require_nativeCreate();
|
|
7060
7132
|
var objectProto = Object.prototype;
|
|
7061
7133
|
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
@@ -7070,6 +7142,7 @@ var require_hashHas = __commonJS({
|
|
|
7070
7142
|
// ../../node_modules/lodash/_hashSet.js
|
|
7071
7143
|
var require_hashSet = __commonJS({
|
|
7072
7144
|
"../../node_modules/lodash/_hashSet.js"(exports, module) {
|
|
7145
|
+
init_cjs_shim();
|
|
7073
7146
|
var nativeCreate = require_nativeCreate();
|
|
7074
7147
|
var HASH_UNDEFINED = "__lodash_hash_undefined__";
|
|
7075
7148
|
function hashSet(key, value) {
|
|
@@ -7085,6 +7158,7 @@ var require_hashSet = __commonJS({
|
|
|
7085
7158
|
// ../../node_modules/lodash/_Hash.js
|
|
7086
7159
|
var require_Hash = __commonJS({
|
|
7087
7160
|
"../../node_modules/lodash/_Hash.js"(exports, module) {
|
|
7161
|
+
init_cjs_shim();
|
|
7088
7162
|
var hashClear = require_hashClear();
|
|
7089
7163
|
var hashDelete = require_hashDelete();
|
|
7090
7164
|
var hashGet = require_hashGet();
|
|
@@ -7110,6 +7184,7 @@ var require_Hash = __commonJS({
|
|
|
7110
7184
|
// ../../node_modules/lodash/_mapCacheClear.js
|
|
7111
7185
|
var require_mapCacheClear = __commonJS({
|
|
7112
7186
|
"../../node_modules/lodash/_mapCacheClear.js"(exports, module) {
|
|
7187
|
+
init_cjs_shim();
|
|
7113
7188
|
var Hash = require_Hash();
|
|
7114
7189
|
var ListCache = require_ListCache();
|
|
7115
7190
|
var Map2 = require_Map();
|
|
@@ -7128,6 +7203,7 @@ var require_mapCacheClear = __commonJS({
|
|
|
7128
7203
|
// ../../node_modules/lodash/_isKeyable.js
|
|
7129
7204
|
var require_isKeyable = __commonJS({
|
|
7130
7205
|
"../../node_modules/lodash/_isKeyable.js"(exports, module) {
|
|
7206
|
+
init_cjs_shim();
|
|
7131
7207
|
function isKeyable(value) {
|
|
7132
7208
|
var type = typeof value;
|
|
7133
7209
|
return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
|
|
@@ -7139,6 +7215,7 @@ var require_isKeyable = __commonJS({
|
|
|
7139
7215
|
// ../../node_modules/lodash/_getMapData.js
|
|
7140
7216
|
var require_getMapData = __commonJS({
|
|
7141
7217
|
"../../node_modules/lodash/_getMapData.js"(exports, module) {
|
|
7218
|
+
init_cjs_shim();
|
|
7142
7219
|
var isKeyable = require_isKeyable();
|
|
7143
7220
|
function getMapData(map, key) {
|
|
7144
7221
|
var data = map.__data__;
|
|
@@ -7151,6 +7228,7 @@ var require_getMapData = __commonJS({
|
|
|
7151
7228
|
// ../../node_modules/lodash/_mapCacheDelete.js
|
|
7152
7229
|
var require_mapCacheDelete = __commonJS({
|
|
7153
7230
|
"../../node_modules/lodash/_mapCacheDelete.js"(exports, module) {
|
|
7231
|
+
init_cjs_shim();
|
|
7154
7232
|
var getMapData = require_getMapData();
|
|
7155
7233
|
function mapCacheDelete(key) {
|
|
7156
7234
|
var result = getMapData(this, key)["delete"](key);
|
|
@@ -7164,6 +7242,7 @@ var require_mapCacheDelete = __commonJS({
|
|
|
7164
7242
|
// ../../node_modules/lodash/_mapCacheGet.js
|
|
7165
7243
|
var require_mapCacheGet = __commonJS({
|
|
7166
7244
|
"../../node_modules/lodash/_mapCacheGet.js"(exports, module) {
|
|
7245
|
+
init_cjs_shim();
|
|
7167
7246
|
var getMapData = require_getMapData();
|
|
7168
7247
|
function mapCacheGet(key) {
|
|
7169
7248
|
return getMapData(this, key).get(key);
|
|
@@ -7175,6 +7254,7 @@ var require_mapCacheGet = __commonJS({
|
|
|
7175
7254
|
// ../../node_modules/lodash/_mapCacheHas.js
|
|
7176
7255
|
var require_mapCacheHas = __commonJS({
|
|
7177
7256
|
"../../node_modules/lodash/_mapCacheHas.js"(exports, module) {
|
|
7257
|
+
init_cjs_shim();
|
|
7178
7258
|
var getMapData = require_getMapData();
|
|
7179
7259
|
function mapCacheHas(key) {
|
|
7180
7260
|
return getMapData(this, key).has(key);
|
|
@@ -7186,6 +7266,7 @@ var require_mapCacheHas = __commonJS({
|
|
|
7186
7266
|
// ../../node_modules/lodash/_mapCacheSet.js
|
|
7187
7267
|
var require_mapCacheSet = __commonJS({
|
|
7188
7268
|
"../../node_modules/lodash/_mapCacheSet.js"(exports, module) {
|
|
7269
|
+
init_cjs_shim();
|
|
7189
7270
|
var getMapData = require_getMapData();
|
|
7190
7271
|
function mapCacheSet(key, value) {
|
|
7191
7272
|
var data = getMapData(this, key), size = data.size;
|
|
@@ -7200,6 +7281,7 @@ var require_mapCacheSet = __commonJS({
|
|
|
7200
7281
|
// ../../node_modules/lodash/_MapCache.js
|
|
7201
7282
|
var require_MapCache = __commonJS({
|
|
7202
7283
|
"../../node_modules/lodash/_MapCache.js"(exports, module) {
|
|
7284
|
+
init_cjs_shim();
|
|
7203
7285
|
var mapCacheClear = require_mapCacheClear();
|
|
7204
7286
|
var mapCacheDelete = require_mapCacheDelete();
|
|
7205
7287
|
var mapCacheGet = require_mapCacheGet();
|
|
@@ -7225,6 +7307,7 @@ var require_MapCache = __commonJS({
|
|
|
7225
7307
|
// ../../node_modules/lodash/_stackSet.js
|
|
7226
7308
|
var require_stackSet = __commonJS({
|
|
7227
7309
|
"../../node_modules/lodash/_stackSet.js"(exports, module) {
|
|
7310
|
+
init_cjs_shim();
|
|
7228
7311
|
var ListCache = require_ListCache();
|
|
7229
7312
|
var Map2 = require_Map();
|
|
7230
7313
|
var MapCache = require_MapCache();
|
|
@@ -7251,6 +7334,7 @@ var require_stackSet = __commonJS({
|
|
|
7251
7334
|
// ../../node_modules/lodash/_Stack.js
|
|
7252
7335
|
var require_Stack = __commonJS({
|
|
7253
7336
|
"../../node_modules/lodash/_Stack.js"(exports, module) {
|
|
7337
|
+
init_cjs_shim();
|
|
7254
7338
|
var ListCache = require_ListCache();
|
|
7255
7339
|
var stackClear = require_stackClear();
|
|
7256
7340
|
var stackDelete = require_stackDelete();
|
|
@@ -7273,6 +7357,7 @@ var require_Stack = __commonJS({
|
|
|
7273
7357
|
// ../../node_modules/lodash/_defineProperty.js
|
|
7274
7358
|
var require_defineProperty = __commonJS({
|
|
7275
7359
|
"../../node_modules/lodash/_defineProperty.js"(exports, module) {
|
|
7360
|
+
init_cjs_shim();
|
|
7276
7361
|
var getNative = require_getNative();
|
|
7277
7362
|
var defineProperty = function() {
|
|
7278
7363
|
try {
|
|
@@ -7289,6 +7374,7 @@ var require_defineProperty = __commonJS({
|
|
|
7289
7374
|
// ../../node_modules/lodash/_baseAssignValue.js
|
|
7290
7375
|
var require_baseAssignValue = __commonJS({
|
|
7291
7376
|
"../../node_modules/lodash/_baseAssignValue.js"(exports, module) {
|
|
7377
|
+
init_cjs_shim();
|
|
7292
7378
|
var defineProperty = require_defineProperty();
|
|
7293
7379
|
function baseAssignValue(object, key, value) {
|
|
7294
7380
|
if (key == "__proto__" && defineProperty) {
|
|
@@ -7309,6 +7395,7 @@ var require_baseAssignValue = __commonJS({
|
|
|
7309
7395
|
// ../../node_modules/lodash/_assignMergeValue.js
|
|
7310
7396
|
var require_assignMergeValue = __commonJS({
|
|
7311
7397
|
"../../node_modules/lodash/_assignMergeValue.js"(exports, module) {
|
|
7398
|
+
init_cjs_shim();
|
|
7312
7399
|
var baseAssignValue = require_baseAssignValue();
|
|
7313
7400
|
var eq2 = require_eq();
|
|
7314
7401
|
function assignMergeValue(object, key, value) {
|
|
@@ -7323,6 +7410,7 @@ var require_assignMergeValue = __commonJS({
|
|
|
7323
7410
|
// ../../node_modules/lodash/_createBaseFor.js
|
|
7324
7411
|
var require_createBaseFor = __commonJS({
|
|
7325
7412
|
"../../node_modules/lodash/_createBaseFor.js"(exports, module) {
|
|
7413
|
+
init_cjs_shim();
|
|
7326
7414
|
function createBaseFor(fromRight) {
|
|
7327
7415
|
return function(object, iteratee, keysFunc) {
|
|
7328
7416
|
var index = -1, iterable = Object(object), props = keysFunc(object), length = props.length;
|
|
@@ -7342,6 +7430,7 @@ var require_createBaseFor = __commonJS({
|
|
|
7342
7430
|
// ../../node_modules/lodash/_baseFor.js
|
|
7343
7431
|
var require_baseFor = __commonJS({
|
|
7344
7432
|
"../../node_modules/lodash/_baseFor.js"(exports, module) {
|
|
7433
|
+
init_cjs_shim();
|
|
7345
7434
|
var createBaseFor = require_createBaseFor();
|
|
7346
7435
|
var baseFor = createBaseFor();
|
|
7347
7436
|
module.exports = baseFor;
|
|
@@ -7351,6 +7440,7 @@ var require_baseFor = __commonJS({
|
|
|
7351
7440
|
// ../../node_modules/lodash/_cloneBuffer.js
|
|
7352
7441
|
var require_cloneBuffer = __commonJS({
|
|
7353
7442
|
"../../node_modules/lodash/_cloneBuffer.js"(exports, module) {
|
|
7443
|
+
init_cjs_shim();
|
|
7354
7444
|
var root = require_root();
|
|
7355
7445
|
var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
|
|
7356
7446
|
var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
|
|
@@ -7372,6 +7462,7 @@ var require_cloneBuffer = __commonJS({
|
|
|
7372
7462
|
// ../../node_modules/lodash/_Uint8Array.js
|
|
7373
7463
|
var require_Uint8Array = __commonJS({
|
|
7374
7464
|
"../../node_modules/lodash/_Uint8Array.js"(exports, module) {
|
|
7465
|
+
init_cjs_shim();
|
|
7375
7466
|
var root = require_root();
|
|
7376
7467
|
var Uint8Array2 = root.Uint8Array;
|
|
7377
7468
|
module.exports = Uint8Array2;
|
|
@@ -7381,6 +7472,7 @@ var require_Uint8Array = __commonJS({
|
|
|
7381
7472
|
// ../../node_modules/lodash/_cloneArrayBuffer.js
|
|
7382
7473
|
var require_cloneArrayBuffer = __commonJS({
|
|
7383
7474
|
"../../node_modules/lodash/_cloneArrayBuffer.js"(exports, module) {
|
|
7475
|
+
init_cjs_shim();
|
|
7384
7476
|
var Uint8Array2 = require_Uint8Array();
|
|
7385
7477
|
function cloneArrayBuffer(arrayBuffer) {
|
|
7386
7478
|
var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
|
|
@@ -7394,6 +7486,7 @@ var require_cloneArrayBuffer = __commonJS({
|
|
|
7394
7486
|
// ../../node_modules/lodash/_cloneTypedArray.js
|
|
7395
7487
|
var require_cloneTypedArray = __commonJS({
|
|
7396
7488
|
"../../node_modules/lodash/_cloneTypedArray.js"(exports, module) {
|
|
7489
|
+
init_cjs_shim();
|
|
7397
7490
|
var cloneArrayBuffer = require_cloneArrayBuffer();
|
|
7398
7491
|
function cloneTypedArray(typedArray, isDeep) {
|
|
7399
7492
|
var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
|
|
@@ -7406,6 +7499,7 @@ var require_cloneTypedArray = __commonJS({
|
|
|
7406
7499
|
// ../../node_modules/lodash/_copyArray.js
|
|
7407
7500
|
var require_copyArray = __commonJS({
|
|
7408
7501
|
"../../node_modules/lodash/_copyArray.js"(exports, module) {
|
|
7502
|
+
init_cjs_shim();
|
|
7409
7503
|
function copyArray(source, array) {
|
|
7410
7504
|
var index = -1, length = source.length;
|
|
7411
7505
|
array || (array = Array(length));
|
|
@@ -7421,6 +7515,7 @@ var require_copyArray = __commonJS({
|
|
|
7421
7515
|
// ../../node_modules/lodash/_baseCreate.js
|
|
7422
7516
|
var require_baseCreate = __commonJS({
|
|
7423
7517
|
"../../node_modules/lodash/_baseCreate.js"(exports, module) {
|
|
7518
|
+
init_cjs_shim();
|
|
7424
7519
|
var isObject = require_isObject();
|
|
7425
7520
|
var objectCreate = Object.create;
|
|
7426
7521
|
var baseCreate = /* @__PURE__ */ function() {
|
|
@@ -7446,6 +7541,7 @@ var require_baseCreate = __commonJS({
|
|
|
7446
7541
|
// ../../node_modules/lodash/_overArg.js
|
|
7447
7542
|
var require_overArg = __commonJS({
|
|
7448
7543
|
"../../node_modules/lodash/_overArg.js"(exports, module) {
|
|
7544
|
+
init_cjs_shim();
|
|
7449
7545
|
function overArg(func, transform) {
|
|
7450
7546
|
return function(arg) {
|
|
7451
7547
|
return func(transform(arg));
|
|
@@ -7458,6 +7554,7 @@ var require_overArg = __commonJS({
|
|
|
7458
7554
|
// ../../node_modules/lodash/_getPrototype.js
|
|
7459
7555
|
var require_getPrototype = __commonJS({
|
|
7460
7556
|
"../../node_modules/lodash/_getPrototype.js"(exports, module) {
|
|
7557
|
+
init_cjs_shim();
|
|
7461
7558
|
var overArg = require_overArg();
|
|
7462
7559
|
var getPrototype = overArg(Object.getPrototypeOf, Object);
|
|
7463
7560
|
module.exports = getPrototype;
|
|
@@ -7467,6 +7564,7 @@ var require_getPrototype = __commonJS({
|
|
|
7467
7564
|
// ../../node_modules/lodash/_isPrototype.js
|
|
7468
7565
|
var require_isPrototype = __commonJS({
|
|
7469
7566
|
"../../node_modules/lodash/_isPrototype.js"(exports, module) {
|
|
7567
|
+
init_cjs_shim();
|
|
7470
7568
|
var objectProto = Object.prototype;
|
|
7471
7569
|
function isPrototype(value) {
|
|
7472
7570
|
var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto;
|
|
@@ -7479,6 +7577,7 @@ var require_isPrototype = __commonJS({
|
|
|
7479
7577
|
// ../../node_modules/lodash/_initCloneObject.js
|
|
7480
7578
|
var require_initCloneObject = __commonJS({
|
|
7481
7579
|
"../../node_modules/lodash/_initCloneObject.js"(exports, module) {
|
|
7580
|
+
init_cjs_shim();
|
|
7482
7581
|
var baseCreate = require_baseCreate();
|
|
7483
7582
|
var getPrototype = require_getPrototype();
|
|
7484
7583
|
var isPrototype = require_isPrototype();
|
|
@@ -7492,6 +7591,7 @@ var require_initCloneObject = __commonJS({
|
|
|
7492
7591
|
// ../../node_modules/lodash/isObjectLike.js
|
|
7493
7592
|
var require_isObjectLike = __commonJS({
|
|
7494
7593
|
"../../node_modules/lodash/isObjectLike.js"(exports, module) {
|
|
7594
|
+
init_cjs_shim();
|
|
7495
7595
|
function isObjectLike(value) {
|
|
7496
7596
|
return value != null && typeof value == "object";
|
|
7497
7597
|
}
|
|
@@ -7502,6 +7602,7 @@ var require_isObjectLike = __commonJS({
|
|
|
7502
7602
|
// ../../node_modules/lodash/_baseIsArguments.js
|
|
7503
7603
|
var require_baseIsArguments = __commonJS({
|
|
7504
7604
|
"../../node_modules/lodash/_baseIsArguments.js"(exports, module) {
|
|
7605
|
+
init_cjs_shim();
|
|
7505
7606
|
var baseGetTag = require_baseGetTag();
|
|
7506
7607
|
var isObjectLike = require_isObjectLike();
|
|
7507
7608
|
var argsTag = "[object Arguments]";
|
|
@@ -7515,6 +7616,7 @@ var require_baseIsArguments = __commonJS({
|
|
|
7515
7616
|
// ../../node_modules/lodash/isArguments.js
|
|
7516
7617
|
var require_isArguments = __commonJS({
|
|
7517
7618
|
"../../node_modules/lodash/isArguments.js"(exports, module) {
|
|
7619
|
+
init_cjs_shim();
|
|
7518
7620
|
var baseIsArguments = require_baseIsArguments();
|
|
7519
7621
|
var isObjectLike = require_isObjectLike();
|
|
7520
7622
|
var objectProto = Object.prototype;
|
|
@@ -7532,6 +7634,7 @@ var require_isArguments = __commonJS({
|
|
|
7532
7634
|
// ../../node_modules/lodash/isArray.js
|
|
7533
7635
|
var require_isArray = __commonJS({
|
|
7534
7636
|
"../../node_modules/lodash/isArray.js"(exports, module) {
|
|
7637
|
+
init_cjs_shim();
|
|
7535
7638
|
var isArray = Array.isArray;
|
|
7536
7639
|
module.exports = isArray;
|
|
7537
7640
|
}
|
|
@@ -7540,6 +7643,7 @@ var require_isArray = __commonJS({
|
|
|
7540
7643
|
// ../../node_modules/lodash/isLength.js
|
|
7541
7644
|
var require_isLength = __commonJS({
|
|
7542
7645
|
"../../node_modules/lodash/isLength.js"(exports, module) {
|
|
7646
|
+
init_cjs_shim();
|
|
7543
7647
|
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
7544
7648
|
function isLength(value) {
|
|
7545
7649
|
return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
|
@@ -7551,6 +7655,7 @@ var require_isLength = __commonJS({
|
|
|
7551
7655
|
// ../../node_modules/lodash/isArrayLike.js
|
|
7552
7656
|
var require_isArrayLike = __commonJS({
|
|
7553
7657
|
"../../node_modules/lodash/isArrayLike.js"(exports, module) {
|
|
7658
|
+
init_cjs_shim();
|
|
7554
7659
|
var isFunction = require_isFunction();
|
|
7555
7660
|
var isLength = require_isLength();
|
|
7556
7661
|
function isArrayLike(value) {
|
|
@@ -7563,6 +7668,7 @@ var require_isArrayLike = __commonJS({
|
|
|
7563
7668
|
// ../../node_modules/lodash/isArrayLikeObject.js
|
|
7564
7669
|
var require_isArrayLikeObject = __commonJS({
|
|
7565
7670
|
"../../node_modules/lodash/isArrayLikeObject.js"(exports, module) {
|
|
7671
|
+
init_cjs_shim();
|
|
7566
7672
|
var isArrayLike = require_isArrayLike();
|
|
7567
7673
|
var isObjectLike = require_isObjectLike();
|
|
7568
7674
|
function isArrayLikeObject(value) {
|
|
@@ -7575,6 +7681,7 @@ var require_isArrayLikeObject = __commonJS({
|
|
|
7575
7681
|
// ../../node_modules/lodash/stubFalse.js
|
|
7576
7682
|
var require_stubFalse = __commonJS({
|
|
7577
7683
|
"../../node_modules/lodash/stubFalse.js"(exports, module) {
|
|
7684
|
+
init_cjs_shim();
|
|
7578
7685
|
function stubFalse() {
|
|
7579
7686
|
return false;
|
|
7580
7687
|
}
|
|
@@ -7585,6 +7692,7 @@ var require_stubFalse = __commonJS({
|
|
|
7585
7692
|
// ../../node_modules/lodash/isBuffer.js
|
|
7586
7693
|
var require_isBuffer = __commonJS({
|
|
7587
7694
|
"../../node_modules/lodash/isBuffer.js"(exports, module) {
|
|
7695
|
+
init_cjs_shim();
|
|
7588
7696
|
var root = require_root();
|
|
7589
7697
|
var stubFalse = require_stubFalse();
|
|
7590
7698
|
var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
|
|
@@ -7600,6 +7708,7 @@ var require_isBuffer = __commonJS({
|
|
|
7600
7708
|
// ../../node_modules/lodash/isPlainObject.js
|
|
7601
7709
|
var require_isPlainObject = __commonJS({
|
|
7602
7710
|
"../../node_modules/lodash/isPlainObject.js"(exports, module) {
|
|
7711
|
+
init_cjs_shim();
|
|
7603
7712
|
var baseGetTag = require_baseGetTag();
|
|
7604
7713
|
var getPrototype = require_getPrototype();
|
|
7605
7714
|
var isObjectLike = require_isObjectLike();
|
|
@@ -7627,6 +7736,7 @@ var require_isPlainObject = __commonJS({
|
|
|
7627
7736
|
// ../../node_modules/lodash/_baseIsTypedArray.js
|
|
7628
7737
|
var require_baseIsTypedArray = __commonJS({
|
|
7629
7738
|
"../../node_modules/lodash/_baseIsTypedArray.js"(exports, module) {
|
|
7739
|
+
init_cjs_shim();
|
|
7630
7740
|
var baseGetTag = require_baseGetTag();
|
|
7631
7741
|
var isLength = require_isLength();
|
|
7632
7742
|
var isObjectLike = require_isObjectLike();
|
|
@@ -7667,6 +7777,7 @@ var require_baseIsTypedArray = __commonJS({
|
|
|
7667
7777
|
// ../../node_modules/lodash/_baseUnary.js
|
|
7668
7778
|
var require_baseUnary = __commonJS({
|
|
7669
7779
|
"../../node_modules/lodash/_baseUnary.js"(exports, module) {
|
|
7780
|
+
init_cjs_shim();
|
|
7670
7781
|
function baseUnary(func) {
|
|
7671
7782
|
return function(value) {
|
|
7672
7783
|
return func(value);
|
|
@@ -7679,6 +7790,7 @@ var require_baseUnary = __commonJS({
|
|
|
7679
7790
|
// ../../node_modules/lodash/_nodeUtil.js
|
|
7680
7791
|
var require_nodeUtil = __commonJS({
|
|
7681
7792
|
"../../node_modules/lodash/_nodeUtil.js"(exports, module) {
|
|
7793
|
+
init_cjs_shim();
|
|
7682
7794
|
var freeGlobal = require_freeGlobal();
|
|
7683
7795
|
var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
|
|
7684
7796
|
var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
|
|
@@ -7701,6 +7813,7 @@ var require_nodeUtil = __commonJS({
|
|
|
7701
7813
|
// ../../node_modules/lodash/isTypedArray.js
|
|
7702
7814
|
var require_isTypedArray = __commonJS({
|
|
7703
7815
|
"../../node_modules/lodash/isTypedArray.js"(exports, module) {
|
|
7816
|
+
init_cjs_shim();
|
|
7704
7817
|
var baseIsTypedArray = require_baseIsTypedArray();
|
|
7705
7818
|
var baseUnary = require_baseUnary();
|
|
7706
7819
|
var nodeUtil = require_nodeUtil();
|
|
@@ -7713,6 +7826,7 @@ var require_isTypedArray = __commonJS({
|
|
|
7713
7826
|
// ../../node_modules/lodash/_safeGet.js
|
|
7714
7827
|
var require_safeGet = __commonJS({
|
|
7715
7828
|
"../../node_modules/lodash/_safeGet.js"(exports, module) {
|
|
7829
|
+
init_cjs_shim();
|
|
7716
7830
|
function safeGet(object, key) {
|
|
7717
7831
|
if (key === "constructor" && typeof object[key] === "function") {
|
|
7718
7832
|
return;
|
|
@@ -7729,6 +7843,7 @@ var require_safeGet = __commonJS({
|
|
|
7729
7843
|
// ../../node_modules/lodash/_assignValue.js
|
|
7730
7844
|
var require_assignValue = __commonJS({
|
|
7731
7845
|
"../../node_modules/lodash/_assignValue.js"(exports, module) {
|
|
7846
|
+
init_cjs_shim();
|
|
7732
7847
|
var baseAssignValue = require_baseAssignValue();
|
|
7733
7848
|
var eq2 = require_eq();
|
|
7734
7849
|
var objectProto = Object.prototype;
|
|
@@ -7746,6 +7861,7 @@ var require_assignValue = __commonJS({
|
|
|
7746
7861
|
// ../../node_modules/lodash/_copyObject.js
|
|
7747
7862
|
var require_copyObject = __commonJS({
|
|
7748
7863
|
"../../node_modules/lodash/_copyObject.js"(exports, module) {
|
|
7864
|
+
init_cjs_shim();
|
|
7749
7865
|
var assignValue = require_assignValue();
|
|
7750
7866
|
var baseAssignValue = require_baseAssignValue();
|
|
7751
7867
|
function copyObject(source, props, object, customizer) {
|
|
@@ -7773,6 +7889,7 @@ var require_copyObject = __commonJS({
|
|
|
7773
7889
|
// ../../node_modules/lodash/_baseTimes.js
|
|
7774
7890
|
var require_baseTimes = __commonJS({
|
|
7775
7891
|
"../../node_modules/lodash/_baseTimes.js"(exports, module) {
|
|
7892
|
+
init_cjs_shim();
|
|
7776
7893
|
function baseTimes(n, iteratee) {
|
|
7777
7894
|
var index = -1, result = Array(n);
|
|
7778
7895
|
while (++index < n) {
|
|
@@ -7787,6 +7904,7 @@ var require_baseTimes = __commonJS({
|
|
|
7787
7904
|
// ../../node_modules/lodash/_isIndex.js
|
|
7788
7905
|
var require_isIndex = __commonJS({
|
|
7789
7906
|
"../../node_modules/lodash/_isIndex.js"(exports, module) {
|
|
7907
|
+
init_cjs_shim();
|
|
7790
7908
|
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
7791
7909
|
var reIsUint = /^(?:0|[1-9]\d*)$/;
|
|
7792
7910
|
function isIndex(value, length) {
|
|
@@ -7801,6 +7919,7 @@ var require_isIndex = __commonJS({
|
|
|
7801
7919
|
// ../../node_modules/lodash/_arrayLikeKeys.js
|
|
7802
7920
|
var require_arrayLikeKeys = __commonJS({
|
|
7803
7921
|
"../../node_modules/lodash/_arrayLikeKeys.js"(exports, module) {
|
|
7922
|
+
init_cjs_shim();
|
|
7804
7923
|
var baseTimes = require_baseTimes();
|
|
7805
7924
|
var isArguments = require_isArguments();
|
|
7806
7925
|
var isArray = require_isArray();
|
|
@@ -7829,6 +7948,7 @@ var require_arrayLikeKeys = __commonJS({
|
|
|
7829
7948
|
// ../../node_modules/lodash/_nativeKeysIn.js
|
|
7830
7949
|
var require_nativeKeysIn = __commonJS({
|
|
7831
7950
|
"../../node_modules/lodash/_nativeKeysIn.js"(exports, module) {
|
|
7951
|
+
init_cjs_shim();
|
|
7832
7952
|
function nativeKeysIn(object) {
|
|
7833
7953
|
var result = [];
|
|
7834
7954
|
if (object != null) {
|
|
@@ -7845,6 +7965,7 @@ var require_nativeKeysIn = __commonJS({
|
|
|
7845
7965
|
// ../../node_modules/lodash/_baseKeysIn.js
|
|
7846
7966
|
var require_baseKeysIn = __commonJS({
|
|
7847
7967
|
"../../node_modules/lodash/_baseKeysIn.js"(exports, module) {
|
|
7968
|
+
init_cjs_shim();
|
|
7848
7969
|
var isObject = require_isObject();
|
|
7849
7970
|
var isPrototype = require_isPrototype();
|
|
7850
7971
|
var nativeKeysIn = require_nativeKeysIn();
|
|
@@ -7869,6 +7990,7 @@ var require_baseKeysIn = __commonJS({
|
|
|
7869
7990
|
// ../../node_modules/lodash/keysIn.js
|
|
7870
7991
|
var require_keysIn = __commonJS({
|
|
7871
7992
|
"../../node_modules/lodash/keysIn.js"(exports, module) {
|
|
7993
|
+
init_cjs_shim();
|
|
7872
7994
|
var arrayLikeKeys = require_arrayLikeKeys();
|
|
7873
7995
|
var baseKeysIn = require_baseKeysIn();
|
|
7874
7996
|
var isArrayLike = require_isArrayLike();
|
|
@@ -7882,6 +8004,7 @@ var require_keysIn = __commonJS({
|
|
|
7882
8004
|
// ../../node_modules/lodash/toPlainObject.js
|
|
7883
8005
|
var require_toPlainObject = __commonJS({
|
|
7884
8006
|
"../../node_modules/lodash/toPlainObject.js"(exports, module) {
|
|
8007
|
+
init_cjs_shim();
|
|
7885
8008
|
var copyObject = require_copyObject();
|
|
7886
8009
|
var keysIn = require_keysIn();
|
|
7887
8010
|
function toPlainObject(value) {
|
|
@@ -7894,6 +8017,7 @@ var require_toPlainObject = __commonJS({
|
|
|
7894
8017
|
// ../../node_modules/lodash/_baseMergeDeep.js
|
|
7895
8018
|
var require_baseMergeDeep = __commonJS({
|
|
7896
8019
|
"../../node_modules/lodash/_baseMergeDeep.js"(exports, module) {
|
|
8020
|
+
init_cjs_shim();
|
|
7897
8021
|
var assignMergeValue = require_assignMergeValue();
|
|
7898
8022
|
var cloneBuffer = require_cloneBuffer();
|
|
7899
8023
|
var cloneTypedArray = require_cloneTypedArray();
|
|
@@ -7959,6 +8083,7 @@ var require_baseMergeDeep = __commonJS({
|
|
|
7959
8083
|
// ../../node_modules/lodash/_baseMerge.js
|
|
7960
8084
|
var require_baseMerge = __commonJS({
|
|
7961
8085
|
"../../node_modules/lodash/_baseMerge.js"(exports, module) {
|
|
8086
|
+
init_cjs_shim();
|
|
7962
8087
|
var Stack = require_Stack();
|
|
7963
8088
|
var assignMergeValue = require_assignMergeValue();
|
|
7964
8089
|
var baseFor = require_baseFor();
|
|
@@ -7990,6 +8115,7 @@ var require_baseMerge = __commonJS({
|
|
|
7990
8115
|
// ../../node_modules/lodash/identity.js
|
|
7991
8116
|
var require_identity = __commonJS({
|
|
7992
8117
|
"../../node_modules/lodash/identity.js"(exports, module) {
|
|
8118
|
+
init_cjs_shim();
|
|
7993
8119
|
function identity(value) {
|
|
7994
8120
|
return value;
|
|
7995
8121
|
}
|
|
@@ -8000,6 +8126,7 @@ var require_identity = __commonJS({
|
|
|
8000
8126
|
// ../../node_modules/lodash/_apply.js
|
|
8001
8127
|
var require_apply = __commonJS({
|
|
8002
8128
|
"../../node_modules/lodash/_apply.js"(exports, module) {
|
|
8129
|
+
init_cjs_shim();
|
|
8003
8130
|
function apply(func, thisArg, args) {
|
|
8004
8131
|
switch (args.length) {
|
|
8005
8132
|
case 0:
|
|
@@ -8020,6 +8147,7 @@ var require_apply = __commonJS({
|
|
|
8020
8147
|
// ../../node_modules/lodash/_overRest.js
|
|
8021
8148
|
var require_overRest = __commonJS({
|
|
8022
8149
|
"../../node_modules/lodash/_overRest.js"(exports, module) {
|
|
8150
|
+
init_cjs_shim();
|
|
8023
8151
|
var apply = require_apply();
|
|
8024
8152
|
var nativeMax = Math.max;
|
|
8025
8153
|
function overRest(func, start, transform) {
|
|
@@ -8045,6 +8173,7 @@ var require_overRest = __commonJS({
|
|
|
8045
8173
|
// ../../node_modules/lodash/constant.js
|
|
8046
8174
|
var require_constant = __commonJS({
|
|
8047
8175
|
"../../node_modules/lodash/constant.js"(exports, module) {
|
|
8176
|
+
init_cjs_shim();
|
|
8048
8177
|
function constant(value) {
|
|
8049
8178
|
return function() {
|
|
8050
8179
|
return value;
|
|
@@ -8057,6 +8186,7 @@ var require_constant = __commonJS({
|
|
|
8057
8186
|
// ../../node_modules/lodash/_baseSetToString.js
|
|
8058
8187
|
var require_baseSetToString = __commonJS({
|
|
8059
8188
|
"../../node_modules/lodash/_baseSetToString.js"(exports, module) {
|
|
8189
|
+
init_cjs_shim();
|
|
8060
8190
|
var constant = require_constant();
|
|
8061
8191
|
var defineProperty = require_defineProperty();
|
|
8062
8192
|
var identity = require_identity();
|
|
@@ -8075,6 +8205,7 @@ var require_baseSetToString = __commonJS({
|
|
|
8075
8205
|
// ../../node_modules/lodash/_shortOut.js
|
|
8076
8206
|
var require_shortOut = __commonJS({
|
|
8077
8207
|
"../../node_modules/lodash/_shortOut.js"(exports, module) {
|
|
8208
|
+
init_cjs_shim();
|
|
8078
8209
|
var HOT_COUNT = 800;
|
|
8079
8210
|
var HOT_SPAN = 16;
|
|
8080
8211
|
var nativeNow = Date.now;
|
|
@@ -8100,6 +8231,7 @@ var require_shortOut = __commonJS({
|
|
|
8100
8231
|
// ../../node_modules/lodash/_setToString.js
|
|
8101
8232
|
var require_setToString = __commonJS({
|
|
8102
8233
|
"../../node_modules/lodash/_setToString.js"(exports, module) {
|
|
8234
|
+
init_cjs_shim();
|
|
8103
8235
|
var baseSetToString = require_baseSetToString();
|
|
8104
8236
|
var shortOut = require_shortOut();
|
|
8105
8237
|
var setToString = shortOut(baseSetToString);
|
|
@@ -8110,6 +8242,7 @@ var require_setToString = __commonJS({
|
|
|
8110
8242
|
// ../../node_modules/lodash/_baseRest.js
|
|
8111
8243
|
var require_baseRest = __commonJS({
|
|
8112
8244
|
"../../node_modules/lodash/_baseRest.js"(exports, module) {
|
|
8245
|
+
init_cjs_shim();
|
|
8113
8246
|
var identity = require_identity();
|
|
8114
8247
|
var overRest = require_overRest();
|
|
8115
8248
|
var setToString = require_setToString();
|
|
@@ -8123,6 +8256,7 @@ var require_baseRest = __commonJS({
|
|
|
8123
8256
|
// ../../node_modules/lodash/_isIterateeCall.js
|
|
8124
8257
|
var require_isIterateeCall = __commonJS({
|
|
8125
8258
|
"../../node_modules/lodash/_isIterateeCall.js"(exports, module) {
|
|
8259
|
+
init_cjs_shim();
|
|
8126
8260
|
var eq2 = require_eq();
|
|
8127
8261
|
var isArrayLike = require_isArrayLike();
|
|
8128
8262
|
var isIndex = require_isIndex();
|
|
@@ -8144,6 +8278,7 @@ var require_isIterateeCall = __commonJS({
|
|
|
8144
8278
|
// ../../node_modules/lodash/_createAssigner.js
|
|
8145
8279
|
var require_createAssigner = __commonJS({
|
|
8146
8280
|
"../../node_modules/lodash/_createAssigner.js"(exports, module) {
|
|
8281
|
+
init_cjs_shim();
|
|
8147
8282
|
var baseRest = require_baseRest();
|
|
8148
8283
|
var isIterateeCall = require_isIterateeCall();
|
|
8149
8284
|
function createAssigner(assigner) {
|
|
@@ -8171,6 +8306,7 @@ var require_createAssigner = __commonJS({
|
|
|
8171
8306
|
// ../../node_modules/lodash/merge.js
|
|
8172
8307
|
var require_merge = __commonJS({
|
|
8173
8308
|
"../../node_modules/lodash/merge.js"(exports, module) {
|
|
8309
|
+
init_cjs_shim();
|
|
8174
8310
|
var baseMerge = require_baseMerge();
|
|
8175
8311
|
var createAssigner = require_createAssigner();
|
|
8176
8312
|
var merge2 = createAssigner(function(object, source, srcIndex) {
|
|
@@ -8183,6 +8319,7 @@ var require_merge = __commonJS({
|
|
|
8183
8319
|
// ../../node_modules/safe-buffer/index.js
|
|
8184
8320
|
var require_safe_buffer = __commonJS({
|
|
8185
8321
|
"../../node_modules/safe-buffer/index.js"(exports, module) {
|
|
8322
|
+
init_cjs_shim();
|
|
8186
8323
|
var buffer = __require("buffer");
|
|
8187
8324
|
var Buffer2 = buffer.Buffer;
|
|
8188
8325
|
function copyProps(src, dst) {
|
|
@@ -8241,6 +8378,7 @@ var require_safe_buffer = __commonJS({
|
|
|
8241
8378
|
// ../../node_modules/jws/lib/data-stream.js
|
|
8242
8379
|
var require_data_stream = __commonJS({
|
|
8243
8380
|
"../../node_modules/jws/lib/data-stream.js"(exports, module) {
|
|
8381
|
+
init_cjs_shim();
|
|
8244
8382
|
var Buffer2 = require_safe_buffer().Buffer;
|
|
8245
8383
|
var Stream = __require("stream");
|
|
8246
8384
|
var util = __require("util");
|
|
@@ -8290,6 +8428,7 @@ var require_data_stream = __commonJS({
|
|
|
8290
8428
|
var require_buffer_equal_constant_time = __commonJS({
|
|
8291
8429
|
"../../node_modules/buffer-equal-constant-time/index.js"(exports, module) {
|
|
8292
8430
|
"use strict";
|
|
8431
|
+
init_cjs_shim();
|
|
8293
8432
|
var Buffer2 = __require("buffer").Buffer;
|
|
8294
8433
|
var SlowBuffer = __require("buffer").SlowBuffer;
|
|
8295
8434
|
module.exports = bufferEq;
|
|
@@ -8324,6 +8463,7 @@ var require_buffer_equal_constant_time = __commonJS({
|
|
|
8324
8463
|
var require_param_bytes_for_alg = __commonJS({
|
|
8325
8464
|
"../../node_modules/ecdsa-sig-formatter/src/param-bytes-for-alg.js"(exports, module) {
|
|
8326
8465
|
"use strict";
|
|
8466
|
+
init_cjs_shim();
|
|
8327
8467
|
function getParamSize(keySize) {
|
|
8328
8468
|
var result = (keySize / 8 | 0) + (keySize % 8 === 0 ? 0 : 1);
|
|
8329
8469
|
return result;
|
|
@@ -8348,6 +8488,7 @@ var require_param_bytes_for_alg = __commonJS({
|
|
|
8348
8488
|
var require_ecdsa_sig_formatter = __commonJS({
|
|
8349
8489
|
"../../node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.js"(exports, module) {
|
|
8350
8490
|
"use strict";
|
|
8491
|
+
init_cjs_shim();
|
|
8351
8492
|
var Buffer2 = require_safe_buffer().Buffer;
|
|
8352
8493
|
var getParamBytesForAlg = require_param_bytes_for_alg();
|
|
8353
8494
|
var MAX_OCTET = 128;
|
|
@@ -8487,6 +8628,7 @@ var require_ecdsa_sig_formatter = __commonJS({
|
|
|
8487
8628
|
// ../../node_modules/jwa/index.js
|
|
8488
8629
|
var require_jwa = __commonJS({
|
|
8489
8630
|
"../../node_modules/jwa/index.js"(exports, module) {
|
|
8631
|
+
init_cjs_shim();
|
|
8490
8632
|
var bufferEqual = require_buffer_equal_constant_time();
|
|
8491
8633
|
var Buffer2 = require_safe_buffer().Buffer;
|
|
8492
8634
|
var crypto = __require("crypto");
|
|
@@ -8700,6 +8842,7 @@ var require_jwa = __commonJS({
|
|
|
8700
8842
|
// ../../node_modules/jws/lib/tostring.js
|
|
8701
8843
|
var require_tostring = __commonJS({
|
|
8702
8844
|
"../../node_modules/jws/lib/tostring.js"(exports, module) {
|
|
8845
|
+
init_cjs_shim();
|
|
8703
8846
|
var Buffer2 = __require("buffer").Buffer;
|
|
8704
8847
|
module.exports = function toString(obj) {
|
|
8705
8848
|
if (typeof obj === "string")
|
|
@@ -8714,6 +8857,7 @@ var require_tostring = __commonJS({
|
|
|
8714
8857
|
// ../../node_modules/jws/lib/sign-stream.js
|
|
8715
8858
|
var require_sign_stream = __commonJS({
|
|
8716
8859
|
"../../node_modules/jws/lib/sign-stream.js"(exports, module) {
|
|
8860
|
+
init_cjs_shim();
|
|
8717
8861
|
var Buffer2 = require_safe_buffer().Buffer;
|
|
8718
8862
|
var DataStream = require_data_stream();
|
|
8719
8863
|
var jwa = require_jwa();
|
|
@@ -8784,6 +8928,7 @@ var require_sign_stream = __commonJS({
|
|
|
8784
8928
|
// ../../node_modules/jws/lib/verify-stream.js
|
|
8785
8929
|
var require_verify_stream = __commonJS({
|
|
8786
8930
|
"../../node_modules/jws/lib/verify-stream.js"(exports, module) {
|
|
8931
|
+
init_cjs_shim();
|
|
8787
8932
|
var Buffer2 = require_safe_buffer().Buffer;
|
|
8788
8933
|
var DataStream = require_data_stream();
|
|
8789
8934
|
var jwa = require_jwa();
|
|
@@ -8894,6 +9039,7 @@ var require_verify_stream = __commonJS({
|
|
|
8894
9039
|
// ../../node_modules/jws/index.js
|
|
8895
9040
|
var require_jws = __commonJS({
|
|
8896
9041
|
"../../node_modules/jws/index.js"(exports) {
|
|
9042
|
+
init_cjs_shim();
|
|
8897
9043
|
var SignStream = require_sign_stream();
|
|
8898
9044
|
var VerifyStream = require_verify_stream();
|
|
8899
9045
|
var ALGORITHMS = [
|
|
@@ -8927,6 +9073,7 @@ var require_jws = __commonJS({
|
|
|
8927
9073
|
// ../../magda-typescript-common/node_modules/jsonwebtoken/decode.js
|
|
8928
9074
|
var require_decode = __commonJS({
|
|
8929
9075
|
"../../magda-typescript-common/node_modules/jsonwebtoken/decode.js"(exports, module) {
|
|
9076
|
+
init_cjs_shim();
|
|
8930
9077
|
var jws = require_jws();
|
|
8931
9078
|
module.exports = function(jwt2, options) {
|
|
8932
9079
|
options = options || {};
|
|
@@ -8959,6 +9106,7 @@ var require_decode = __commonJS({
|
|
|
8959
9106
|
// ../../magda-typescript-common/node_modules/jsonwebtoken/lib/JsonWebTokenError.js
|
|
8960
9107
|
var require_JsonWebTokenError = __commonJS({
|
|
8961
9108
|
"../../magda-typescript-common/node_modules/jsonwebtoken/lib/JsonWebTokenError.js"(exports, module) {
|
|
9109
|
+
init_cjs_shim();
|
|
8962
9110
|
var JsonWebTokenError = function(message, error) {
|
|
8963
9111
|
Error.call(this, message);
|
|
8964
9112
|
if (Error.captureStackTrace) {
|
|
@@ -8978,6 +9126,7 @@ var require_JsonWebTokenError = __commonJS({
|
|
|
8978
9126
|
// ../../magda-typescript-common/node_modules/jsonwebtoken/lib/NotBeforeError.js
|
|
8979
9127
|
var require_NotBeforeError = __commonJS({
|
|
8980
9128
|
"../../magda-typescript-common/node_modules/jsonwebtoken/lib/NotBeforeError.js"(exports, module) {
|
|
9129
|
+
init_cjs_shim();
|
|
8981
9130
|
var JsonWebTokenError = require_JsonWebTokenError();
|
|
8982
9131
|
var NotBeforeError = function(message, date) {
|
|
8983
9132
|
JsonWebTokenError.call(this, message);
|
|
@@ -8993,6 +9142,7 @@ var require_NotBeforeError = __commonJS({
|
|
|
8993
9142
|
// ../../magda-typescript-common/node_modules/jsonwebtoken/lib/TokenExpiredError.js
|
|
8994
9143
|
var require_TokenExpiredError = __commonJS({
|
|
8995
9144
|
"../../magda-typescript-common/node_modules/jsonwebtoken/lib/TokenExpiredError.js"(exports, module) {
|
|
9145
|
+
init_cjs_shim();
|
|
8996
9146
|
var JsonWebTokenError = require_JsonWebTokenError();
|
|
8997
9147
|
var TokenExpiredError = function(message, expiredAt) {
|
|
8998
9148
|
JsonWebTokenError.call(this, message);
|
|
@@ -9008,6 +9158,7 @@ var require_TokenExpiredError = __commonJS({
|
|
|
9008
9158
|
// ../../node_modules/ms/index.js
|
|
9009
9159
|
var require_ms = __commonJS({
|
|
9010
9160
|
"../../node_modules/ms/index.js"(exports, module) {
|
|
9161
|
+
init_cjs_shim();
|
|
9011
9162
|
var s = 1e3;
|
|
9012
9163
|
var m = s * 60;
|
|
9013
9164
|
var h = m * 60;
|
|
@@ -9124,6 +9275,7 @@ var require_ms = __commonJS({
|
|
|
9124
9275
|
// ../../magda-typescript-common/node_modules/jsonwebtoken/lib/timespan.js
|
|
9125
9276
|
var require_timespan = __commonJS({
|
|
9126
9277
|
"../../magda-typescript-common/node_modules/jsonwebtoken/lib/timespan.js"(exports, module) {
|
|
9278
|
+
init_cjs_shim();
|
|
9127
9279
|
var ms = require_ms();
|
|
9128
9280
|
module.exports = function(time, iat) {
|
|
9129
9281
|
var timestamp = iat || Math.floor(Date.now() / 1e3);
|
|
@@ -9145,6 +9297,7 @@ var require_timespan = __commonJS({
|
|
|
9145
9297
|
// ../../magda-typescript-common/node_modules/semver/internal/constants.js
|
|
9146
9298
|
var require_constants = __commonJS({
|
|
9147
9299
|
"../../magda-typescript-common/node_modules/semver/internal/constants.js"(exports, module) {
|
|
9300
|
+
init_cjs_shim();
|
|
9148
9301
|
var SEMVER_SPEC_VERSION = "2.0.0";
|
|
9149
9302
|
var MAX_LENGTH = 256;
|
|
9150
9303
|
var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */
|
|
@@ -9176,6 +9329,7 @@ var require_constants = __commonJS({
|
|
|
9176
9329
|
// ../../magda-typescript-common/node_modules/semver/internal/debug.js
|
|
9177
9330
|
var require_debug = __commonJS({
|
|
9178
9331
|
"../../magda-typescript-common/node_modules/semver/internal/debug.js"(exports, module) {
|
|
9332
|
+
init_cjs_shim();
|
|
9179
9333
|
var debug = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {
|
|
9180
9334
|
};
|
|
9181
9335
|
module.exports = debug;
|
|
@@ -9185,6 +9339,7 @@ var require_debug = __commonJS({
|
|
|
9185
9339
|
// ../../magda-typescript-common/node_modules/semver/internal/re.js
|
|
9186
9340
|
var require_re = __commonJS({
|
|
9187
9341
|
"../../magda-typescript-common/node_modules/semver/internal/re.js"(exports, module) {
|
|
9342
|
+
init_cjs_shim();
|
|
9188
9343
|
var {
|
|
9189
9344
|
MAX_SAFE_COMPONENT_LENGTH,
|
|
9190
9345
|
MAX_SAFE_BUILD_LENGTH,
|
|
@@ -9267,6 +9422,7 @@ var require_re = __commonJS({
|
|
|
9267
9422
|
// ../../magda-typescript-common/node_modules/semver/internal/parse-options.js
|
|
9268
9423
|
var require_parse_options = __commonJS({
|
|
9269
9424
|
"../../magda-typescript-common/node_modules/semver/internal/parse-options.js"(exports, module) {
|
|
9425
|
+
init_cjs_shim();
|
|
9270
9426
|
var looseOption = Object.freeze({ loose: true });
|
|
9271
9427
|
var emptyOpts = Object.freeze({});
|
|
9272
9428
|
var parseOptions = (options) => {
|
|
@@ -9285,6 +9441,7 @@ var require_parse_options = __commonJS({
|
|
|
9285
9441
|
// ../../magda-typescript-common/node_modules/semver/internal/identifiers.js
|
|
9286
9442
|
var require_identifiers = __commonJS({
|
|
9287
9443
|
"../../magda-typescript-common/node_modules/semver/internal/identifiers.js"(exports, module) {
|
|
9444
|
+
init_cjs_shim();
|
|
9288
9445
|
var numeric = /^[0-9]+$/;
|
|
9289
9446
|
var compareIdentifiers = (a, b) => {
|
|
9290
9447
|
const anum = numeric.test(a);
|
|
@@ -9306,6 +9463,7 @@ var require_identifiers = __commonJS({
|
|
|
9306
9463
|
// ../../magda-typescript-common/node_modules/semver/classes/semver.js
|
|
9307
9464
|
var require_semver = __commonJS({
|
|
9308
9465
|
"../../magda-typescript-common/node_modules/semver/classes/semver.js"(exports, module) {
|
|
9466
|
+
init_cjs_shim();
|
|
9309
9467
|
var debug = require_debug();
|
|
9310
9468
|
var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants();
|
|
9311
9469
|
var { safeRe: re, t } = require_re();
|
|
@@ -9548,6 +9706,7 @@ var require_semver = __commonJS({
|
|
|
9548
9706
|
// ../../magda-typescript-common/node_modules/semver/functions/parse.js
|
|
9549
9707
|
var require_parse = __commonJS({
|
|
9550
9708
|
"../../magda-typescript-common/node_modules/semver/functions/parse.js"(exports, module) {
|
|
9709
|
+
init_cjs_shim();
|
|
9551
9710
|
var SemVer = require_semver();
|
|
9552
9711
|
var parse = (version, options, throwErrors = false) => {
|
|
9553
9712
|
if (version instanceof SemVer) {
|
|
@@ -9569,6 +9728,7 @@ var require_parse = __commonJS({
|
|
|
9569
9728
|
// ../../magda-typescript-common/node_modules/semver/functions/valid.js
|
|
9570
9729
|
var require_valid = __commonJS({
|
|
9571
9730
|
"../../magda-typescript-common/node_modules/semver/functions/valid.js"(exports, module) {
|
|
9731
|
+
init_cjs_shim();
|
|
9572
9732
|
var parse = require_parse();
|
|
9573
9733
|
var valid = (version, options) => {
|
|
9574
9734
|
const v = parse(version, options);
|
|
@@ -9581,6 +9741,7 @@ var require_valid = __commonJS({
|
|
|
9581
9741
|
// ../../magda-typescript-common/node_modules/semver/functions/clean.js
|
|
9582
9742
|
var require_clean = __commonJS({
|
|
9583
9743
|
"../../magda-typescript-common/node_modules/semver/functions/clean.js"(exports, module) {
|
|
9744
|
+
init_cjs_shim();
|
|
9584
9745
|
var parse = require_parse();
|
|
9585
9746
|
var clean = (version, options) => {
|
|
9586
9747
|
const s = parse(version.trim().replace(/^[=v]+/, ""), options);
|
|
@@ -9593,6 +9754,7 @@ var require_clean = __commonJS({
|
|
|
9593
9754
|
// ../../magda-typescript-common/node_modules/semver/functions/inc.js
|
|
9594
9755
|
var require_inc = __commonJS({
|
|
9595
9756
|
"../../magda-typescript-common/node_modules/semver/functions/inc.js"(exports, module) {
|
|
9757
|
+
init_cjs_shim();
|
|
9596
9758
|
var SemVer = require_semver();
|
|
9597
9759
|
var inc = (version, release, options, identifier, identifierBase) => {
|
|
9598
9760
|
if (typeof options === "string") {
|
|
@@ -9616,6 +9778,7 @@ var require_inc = __commonJS({
|
|
|
9616
9778
|
// ../../magda-typescript-common/node_modules/semver/functions/diff.js
|
|
9617
9779
|
var require_diff = __commonJS({
|
|
9618
9780
|
"../../magda-typescript-common/node_modules/semver/functions/diff.js"(exports, module) {
|
|
9781
|
+
init_cjs_shim();
|
|
9619
9782
|
var parse = require_parse();
|
|
9620
9783
|
var diff = (version1, version2) => {
|
|
9621
9784
|
const v1 = parse(version1, null, true);
|
|
@@ -9660,6 +9823,7 @@ var require_diff = __commonJS({
|
|
|
9660
9823
|
// ../../magda-typescript-common/node_modules/semver/functions/major.js
|
|
9661
9824
|
var require_major = __commonJS({
|
|
9662
9825
|
"../../magda-typescript-common/node_modules/semver/functions/major.js"(exports, module) {
|
|
9826
|
+
init_cjs_shim();
|
|
9663
9827
|
var SemVer = require_semver();
|
|
9664
9828
|
var major = (a, loose) => new SemVer(a, loose).major;
|
|
9665
9829
|
module.exports = major;
|
|
@@ -9669,6 +9833,7 @@ var require_major = __commonJS({
|
|
|
9669
9833
|
// ../../magda-typescript-common/node_modules/semver/functions/minor.js
|
|
9670
9834
|
var require_minor = __commonJS({
|
|
9671
9835
|
"../../magda-typescript-common/node_modules/semver/functions/minor.js"(exports, module) {
|
|
9836
|
+
init_cjs_shim();
|
|
9672
9837
|
var SemVer = require_semver();
|
|
9673
9838
|
var minor = (a, loose) => new SemVer(a, loose).minor;
|
|
9674
9839
|
module.exports = minor;
|
|
@@ -9678,6 +9843,7 @@ var require_minor = __commonJS({
|
|
|
9678
9843
|
// ../../magda-typescript-common/node_modules/semver/functions/patch.js
|
|
9679
9844
|
var require_patch = __commonJS({
|
|
9680
9845
|
"../../magda-typescript-common/node_modules/semver/functions/patch.js"(exports, module) {
|
|
9846
|
+
init_cjs_shim();
|
|
9681
9847
|
var SemVer = require_semver();
|
|
9682
9848
|
var patch = (a, loose) => new SemVer(a, loose).patch;
|
|
9683
9849
|
module.exports = patch;
|
|
@@ -9687,6 +9853,7 @@ var require_patch = __commonJS({
|
|
|
9687
9853
|
// ../../magda-typescript-common/node_modules/semver/functions/prerelease.js
|
|
9688
9854
|
var require_prerelease = __commonJS({
|
|
9689
9855
|
"../../magda-typescript-common/node_modules/semver/functions/prerelease.js"(exports, module) {
|
|
9856
|
+
init_cjs_shim();
|
|
9690
9857
|
var parse = require_parse();
|
|
9691
9858
|
var prerelease = (version, options) => {
|
|
9692
9859
|
const parsed = parse(version, options);
|
|
@@ -9699,6 +9866,7 @@ var require_prerelease = __commonJS({
|
|
|
9699
9866
|
// ../../magda-typescript-common/node_modules/semver/functions/compare.js
|
|
9700
9867
|
var require_compare = __commonJS({
|
|
9701
9868
|
"../../magda-typescript-common/node_modules/semver/functions/compare.js"(exports, module) {
|
|
9869
|
+
init_cjs_shim();
|
|
9702
9870
|
var SemVer = require_semver();
|
|
9703
9871
|
var compare = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose));
|
|
9704
9872
|
module.exports = compare;
|
|
@@ -9708,6 +9876,7 @@ var require_compare = __commonJS({
|
|
|
9708
9876
|
// ../../magda-typescript-common/node_modules/semver/functions/rcompare.js
|
|
9709
9877
|
var require_rcompare = __commonJS({
|
|
9710
9878
|
"../../magda-typescript-common/node_modules/semver/functions/rcompare.js"(exports, module) {
|
|
9879
|
+
init_cjs_shim();
|
|
9711
9880
|
var compare = require_compare();
|
|
9712
9881
|
var rcompare = (a, b, loose) => compare(b, a, loose);
|
|
9713
9882
|
module.exports = rcompare;
|
|
@@ -9717,6 +9886,7 @@ var require_rcompare = __commonJS({
|
|
|
9717
9886
|
// ../../magda-typescript-common/node_modules/semver/functions/compare-loose.js
|
|
9718
9887
|
var require_compare_loose = __commonJS({
|
|
9719
9888
|
"../../magda-typescript-common/node_modules/semver/functions/compare-loose.js"(exports, module) {
|
|
9889
|
+
init_cjs_shim();
|
|
9720
9890
|
var compare = require_compare();
|
|
9721
9891
|
var compareLoose = (a, b) => compare(a, b, true);
|
|
9722
9892
|
module.exports = compareLoose;
|
|
@@ -9726,6 +9896,7 @@ var require_compare_loose = __commonJS({
|
|
|
9726
9896
|
// ../../magda-typescript-common/node_modules/semver/functions/compare-build.js
|
|
9727
9897
|
var require_compare_build = __commonJS({
|
|
9728
9898
|
"../../magda-typescript-common/node_modules/semver/functions/compare-build.js"(exports, module) {
|
|
9899
|
+
init_cjs_shim();
|
|
9729
9900
|
var SemVer = require_semver();
|
|
9730
9901
|
var compareBuild = (a, b, loose) => {
|
|
9731
9902
|
const versionA = new SemVer(a, loose);
|
|
@@ -9739,6 +9910,7 @@ var require_compare_build = __commonJS({
|
|
|
9739
9910
|
// ../../magda-typescript-common/node_modules/semver/functions/sort.js
|
|
9740
9911
|
var require_sort = __commonJS({
|
|
9741
9912
|
"../../magda-typescript-common/node_modules/semver/functions/sort.js"(exports, module) {
|
|
9913
|
+
init_cjs_shim();
|
|
9742
9914
|
var compareBuild = require_compare_build();
|
|
9743
9915
|
var sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose));
|
|
9744
9916
|
module.exports = sort;
|
|
@@ -9748,6 +9920,7 @@ var require_sort = __commonJS({
|
|
|
9748
9920
|
// ../../magda-typescript-common/node_modules/semver/functions/rsort.js
|
|
9749
9921
|
var require_rsort = __commonJS({
|
|
9750
9922
|
"../../magda-typescript-common/node_modules/semver/functions/rsort.js"(exports, module) {
|
|
9923
|
+
init_cjs_shim();
|
|
9751
9924
|
var compareBuild = require_compare_build();
|
|
9752
9925
|
var rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose));
|
|
9753
9926
|
module.exports = rsort;
|
|
@@ -9757,6 +9930,7 @@ var require_rsort = __commonJS({
|
|
|
9757
9930
|
// ../../magda-typescript-common/node_modules/semver/functions/gt.js
|
|
9758
9931
|
var require_gt = __commonJS({
|
|
9759
9932
|
"../../magda-typescript-common/node_modules/semver/functions/gt.js"(exports, module) {
|
|
9933
|
+
init_cjs_shim();
|
|
9760
9934
|
var compare = require_compare();
|
|
9761
9935
|
var gt = (a, b, loose) => compare(a, b, loose) > 0;
|
|
9762
9936
|
module.exports = gt;
|
|
@@ -9766,6 +9940,7 @@ var require_gt = __commonJS({
|
|
|
9766
9940
|
// ../../magda-typescript-common/node_modules/semver/functions/lt.js
|
|
9767
9941
|
var require_lt = __commonJS({
|
|
9768
9942
|
"../../magda-typescript-common/node_modules/semver/functions/lt.js"(exports, module) {
|
|
9943
|
+
init_cjs_shim();
|
|
9769
9944
|
var compare = require_compare();
|
|
9770
9945
|
var lt = (a, b, loose) => compare(a, b, loose) < 0;
|
|
9771
9946
|
module.exports = lt;
|
|
@@ -9775,6 +9950,7 @@ var require_lt = __commonJS({
|
|
|
9775
9950
|
// ../../magda-typescript-common/node_modules/semver/functions/eq.js
|
|
9776
9951
|
var require_eq2 = __commonJS({
|
|
9777
9952
|
"../../magda-typescript-common/node_modules/semver/functions/eq.js"(exports, module) {
|
|
9953
|
+
init_cjs_shim();
|
|
9778
9954
|
var compare = require_compare();
|
|
9779
9955
|
var eq2 = (a, b, loose) => compare(a, b, loose) === 0;
|
|
9780
9956
|
module.exports = eq2;
|
|
@@ -9784,6 +9960,7 @@ var require_eq2 = __commonJS({
|
|
|
9784
9960
|
// ../../magda-typescript-common/node_modules/semver/functions/neq.js
|
|
9785
9961
|
var require_neq = __commonJS({
|
|
9786
9962
|
"../../magda-typescript-common/node_modules/semver/functions/neq.js"(exports, module) {
|
|
9963
|
+
init_cjs_shim();
|
|
9787
9964
|
var compare = require_compare();
|
|
9788
9965
|
var neq = (a, b, loose) => compare(a, b, loose) !== 0;
|
|
9789
9966
|
module.exports = neq;
|
|
@@ -9793,6 +9970,7 @@ var require_neq = __commonJS({
|
|
|
9793
9970
|
// ../../magda-typescript-common/node_modules/semver/functions/gte.js
|
|
9794
9971
|
var require_gte = __commonJS({
|
|
9795
9972
|
"../../magda-typescript-common/node_modules/semver/functions/gte.js"(exports, module) {
|
|
9973
|
+
init_cjs_shim();
|
|
9796
9974
|
var compare = require_compare();
|
|
9797
9975
|
var gte = (a, b, loose) => compare(a, b, loose) >= 0;
|
|
9798
9976
|
module.exports = gte;
|
|
@@ -9802,6 +9980,7 @@ var require_gte = __commonJS({
|
|
|
9802
9980
|
// ../../magda-typescript-common/node_modules/semver/functions/lte.js
|
|
9803
9981
|
var require_lte = __commonJS({
|
|
9804
9982
|
"../../magda-typescript-common/node_modules/semver/functions/lte.js"(exports, module) {
|
|
9983
|
+
init_cjs_shim();
|
|
9805
9984
|
var compare = require_compare();
|
|
9806
9985
|
var lte = (a, b, loose) => compare(a, b, loose) <= 0;
|
|
9807
9986
|
module.exports = lte;
|
|
@@ -9811,6 +9990,7 @@ var require_lte = __commonJS({
|
|
|
9811
9990
|
// ../../magda-typescript-common/node_modules/semver/functions/cmp.js
|
|
9812
9991
|
var require_cmp = __commonJS({
|
|
9813
9992
|
"../../magda-typescript-common/node_modules/semver/functions/cmp.js"(exports, module) {
|
|
9993
|
+
init_cjs_shim();
|
|
9814
9994
|
var eq2 = require_eq2();
|
|
9815
9995
|
var neq = require_neq();
|
|
9816
9996
|
var gt = require_gt();
|
|
@@ -9860,6 +10040,7 @@ var require_cmp = __commonJS({
|
|
|
9860
10040
|
// ../../magda-typescript-common/node_modules/semver/functions/coerce.js
|
|
9861
10041
|
var require_coerce = __commonJS({
|
|
9862
10042
|
"../../magda-typescript-common/node_modules/semver/functions/coerce.js"(exports, module) {
|
|
10043
|
+
init_cjs_shim();
|
|
9863
10044
|
var SemVer = require_semver();
|
|
9864
10045
|
var parse = require_parse();
|
|
9865
10046
|
var { safeRe: re, t } = require_re();
|
|
@@ -9900,6 +10081,7 @@ var require_coerce = __commonJS({
|
|
|
9900
10081
|
var require_iterator = __commonJS({
|
|
9901
10082
|
"../../node_modules/yallist/iterator.js"(exports, module) {
|
|
9902
10083
|
"use strict";
|
|
10084
|
+
init_cjs_shim();
|
|
9903
10085
|
module.exports = function(Yallist) {
|
|
9904
10086
|
Yallist.prototype[Symbol.iterator] = function* () {
|
|
9905
10087
|
for (let walker = this.head; walker; walker = walker.next) {
|
|
@@ -9914,6 +10096,7 @@ var require_iterator = __commonJS({
|
|
|
9914
10096
|
var require_yallist = __commonJS({
|
|
9915
10097
|
"../../node_modules/yallist/yallist.js"(exports, module) {
|
|
9916
10098
|
"use strict";
|
|
10099
|
+
init_cjs_shim();
|
|
9917
10100
|
module.exports = Yallist;
|
|
9918
10101
|
Yallist.Node = Node;
|
|
9919
10102
|
Yallist.create = Yallist;
|
|
@@ -10283,6 +10466,7 @@ var require_yallist = __commonJS({
|
|
|
10283
10466
|
var require_lru_cache = __commonJS({
|
|
10284
10467
|
"../../node_modules/lru-cache/index.js"(exports, module) {
|
|
10285
10468
|
"use strict";
|
|
10469
|
+
init_cjs_shim();
|
|
10286
10470
|
var Yallist = require_yallist();
|
|
10287
10471
|
var MAX = Symbol("max");
|
|
10288
10472
|
var LENGTH = Symbol("length");
|
|
@@ -10552,6 +10736,7 @@ var require_lru_cache = __commonJS({
|
|
|
10552
10736
|
// ../../magda-typescript-common/node_modules/semver/classes/range.js
|
|
10553
10737
|
var require_range = __commonJS({
|
|
10554
10738
|
"../../magda-typescript-common/node_modules/semver/classes/range.js"(exports, module) {
|
|
10739
|
+
init_cjs_shim();
|
|
10555
10740
|
var Range = class _Range {
|
|
10556
10741
|
constructor(range, options) {
|
|
10557
10742
|
options = parseOptions(options);
|
|
@@ -10909,6 +11094,7 @@ var require_range = __commonJS({
|
|
|
10909
11094
|
// ../../magda-typescript-common/node_modules/semver/classes/comparator.js
|
|
10910
11095
|
var require_comparator = __commonJS({
|
|
10911
11096
|
"../../magda-typescript-common/node_modules/semver/classes/comparator.js"(exports, module) {
|
|
11097
|
+
init_cjs_shim();
|
|
10912
11098
|
var ANY = Symbol("SemVer ANY");
|
|
10913
11099
|
var Comparator = class _Comparator {
|
|
10914
11100
|
static get ANY() {
|
|
@@ -11021,6 +11207,7 @@ var require_comparator = __commonJS({
|
|
|
11021
11207
|
// ../../magda-typescript-common/node_modules/semver/functions/satisfies.js
|
|
11022
11208
|
var require_satisfies = __commonJS({
|
|
11023
11209
|
"../../magda-typescript-common/node_modules/semver/functions/satisfies.js"(exports, module) {
|
|
11210
|
+
init_cjs_shim();
|
|
11024
11211
|
var Range = require_range();
|
|
11025
11212
|
var satisfies = (version, range, options) => {
|
|
11026
11213
|
try {
|
|
@@ -11037,6 +11224,7 @@ var require_satisfies = __commonJS({
|
|
|
11037
11224
|
// ../../magda-typescript-common/node_modules/semver/ranges/to-comparators.js
|
|
11038
11225
|
var require_to_comparators = __commonJS({
|
|
11039
11226
|
"../../magda-typescript-common/node_modules/semver/ranges/to-comparators.js"(exports, module) {
|
|
11227
|
+
init_cjs_shim();
|
|
11040
11228
|
var Range = require_range();
|
|
11041
11229
|
var toComparators = (range, options) => new Range(range, options).set.map((comp) => comp.map((c) => c.value).join(" ").trim().split(" "));
|
|
11042
11230
|
module.exports = toComparators;
|
|
@@ -11046,6 +11234,7 @@ var require_to_comparators = __commonJS({
|
|
|
11046
11234
|
// ../../magda-typescript-common/node_modules/semver/ranges/max-satisfying.js
|
|
11047
11235
|
var require_max_satisfying = __commonJS({
|
|
11048
11236
|
"../../magda-typescript-common/node_modules/semver/ranges/max-satisfying.js"(exports, module) {
|
|
11237
|
+
init_cjs_shim();
|
|
11049
11238
|
var SemVer = require_semver();
|
|
11050
11239
|
var Range = require_range();
|
|
11051
11240
|
var maxSatisfying = (versions, range, options) => {
|
|
@@ -11074,6 +11263,7 @@ var require_max_satisfying = __commonJS({
|
|
|
11074
11263
|
// ../../magda-typescript-common/node_modules/semver/ranges/min-satisfying.js
|
|
11075
11264
|
var require_min_satisfying = __commonJS({
|
|
11076
11265
|
"../../magda-typescript-common/node_modules/semver/ranges/min-satisfying.js"(exports, module) {
|
|
11266
|
+
init_cjs_shim();
|
|
11077
11267
|
var SemVer = require_semver();
|
|
11078
11268
|
var Range = require_range();
|
|
11079
11269
|
var minSatisfying = (versions, range, options) => {
|
|
@@ -11102,6 +11292,7 @@ var require_min_satisfying = __commonJS({
|
|
|
11102
11292
|
// ../../magda-typescript-common/node_modules/semver/ranges/min-version.js
|
|
11103
11293
|
var require_min_version = __commonJS({
|
|
11104
11294
|
"../../magda-typescript-common/node_modules/semver/ranges/min-version.js"(exports, module) {
|
|
11295
|
+
init_cjs_shim();
|
|
11105
11296
|
var SemVer = require_semver();
|
|
11106
11297
|
var Range = require_range();
|
|
11107
11298
|
var gt = require_gt();
|
|
@@ -11158,6 +11349,7 @@ var require_min_version = __commonJS({
|
|
|
11158
11349
|
// ../../magda-typescript-common/node_modules/semver/ranges/valid.js
|
|
11159
11350
|
var require_valid2 = __commonJS({
|
|
11160
11351
|
"../../magda-typescript-common/node_modules/semver/ranges/valid.js"(exports, module) {
|
|
11352
|
+
init_cjs_shim();
|
|
11161
11353
|
var Range = require_range();
|
|
11162
11354
|
var validRange = (range, options) => {
|
|
11163
11355
|
try {
|
|
@@ -11173,6 +11365,7 @@ var require_valid2 = __commonJS({
|
|
|
11173
11365
|
// ../../magda-typescript-common/node_modules/semver/ranges/outside.js
|
|
11174
11366
|
var require_outside = __commonJS({
|
|
11175
11367
|
"../../magda-typescript-common/node_modules/semver/ranges/outside.js"(exports, module) {
|
|
11368
|
+
init_cjs_shim();
|
|
11176
11369
|
var SemVer = require_semver();
|
|
11177
11370
|
var Comparator = require_comparator();
|
|
11178
11371
|
var { ANY } = Comparator;
|
|
@@ -11241,6 +11434,7 @@ var require_outside = __commonJS({
|
|
|
11241
11434
|
// ../../magda-typescript-common/node_modules/semver/ranges/gtr.js
|
|
11242
11435
|
var require_gtr = __commonJS({
|
|
11243
11436
|
"../../magda-typescript-common/node_modules/semver/ranges/gtr.js"(exports, module) {
|
|
11437
|
+
init_cjs_shim();
|
|
11244
11438
|
var outside = require_outside();
|
|
11245
11439
|
var gtr = (version, range, options) => outside(version, range, ">", options);
|
|
11246
11440
|
module.exports = gtr;
|
|
@@ -11250,6 +11444,7 @@ var require_gtr = __commonJS({
|
|
|
11250
11444
|
// ../../magda-typescript-common/node_modules/semver/ranges/ltr.js
|
|
11251
11445
|
var require_ltr = __commonJS({
|
|
11252
11446
|
"../../magda-typescript-common/node_modules/semver/ranges/ltr.js"(exports, module) {
|
|
11447
|
+
init_cjs_shim();
|
|
11253
11448
|
var outside = require_outside();
|
|
11254
11449
|
var ltr = (version, range, options) => outside(version, range, "<", options);
|
|
11255
11450
|
module.exports = ltr;
|
|
@@ -11259,6 +11454,7 @@ var require_ltr = __commonJS({
|
|
|
11259
11454
|
// ../../magda-typescript-common/node_modules/semver/ranges/intersects.js
|
|
11260
11455
|
var require_intersects = __commonJS({
|
|
11261
11456
|
"../../magda-typescript-common/node_modules/semver/ranges/intersects.js"(exports, module) {
|
|
11457
|
+
init_cjs_shim();
|
|
11262
11458
|
var Range = require_range();
|
|
11263
11459
|
var intersects = (r1, r2, options) => {
|
|
11264
11460
|
r1 = new Range(r1, options);
|
|
@@ -11272,6 +11468,7 @@ var require_intersects = __commonJS({
|
|
|
11272
11468
|
// ../../magda-typescript-common/node_modules/semver/ranges/simplify.js
|
|
11273
11469
|
var require_simplify = __commonJS({
|
|
11274
11470
|
"../../magda-typescript-common/node_modules/semver/ranges/simplify.js"(exports, module) {
|
|
11471
|
+
init_cjs_shim();
|
|
11275
11472
|
var satisfies = require_satisfies();
|
|
11276
11473
|
var compare = require_compare();
|
|
11277
11474
|
module.exports = (versions, range, options) => {
|
|
@@ -11321,6 +11518,7 @@ var require_simplify = __commonJS({
|
|
|
11321
11518
|
// ../../magda-typescript-common/node_modules/semver/ranges/subset.js
|
|
11322
11519
|
var require_subset = __commonJS({
|
|
11323
11520
|
"../../magda-typescript-common/node_modules/semver/ranges/subset.js"(exports, module) {
|
|
11521
|
+
init_cjs_shim();
|
|
11324
11522
|
var Range = require_range();
|
|
11325
11523
|
var Comparator = require_comparator();
|
|
11326
11524
|
var { ANY } = Comparator;
|
|
@@ -11483,6 +11681,7 @@ var require_subset = __commonJS({
|
|
|
11483
11681
|
// ../../magda-typescript-common/node_modules/semver/index.js
|
|
11484
11682
|
var require_semver2 = __commonJS({
|
|
11485
11683
|
"../../magda-typescript-common/node_modules/semver/index.js"(exports, module) {
|
|
11684
|
+
init_cjs_shim();
|
|
11486
11685
|
var internalRe = require_re();
|
|
11487
11686
|
var constants = require_constants();
|
|
11488
11687
|
var SemVer = require_semver();
|
|
@@ -11577,6 +11776,7 @@ var require_semver2 = __commonJS({
|
|
|
11577
11776
|
// ../../magda-typescript-common/node_modules/jsonwebtoken/lib/asymmetricKeyDetailsSupported.js
|
|
11578
11777
|
var require_asymmetricKeyDetailsSupported = __commonJS({
|
|
11579
11778
|
"../../magda-typescript-common/node_modules/jsonwebtoken/lib/asymmetricKeyDetailsSupported.js"(exports, module) {
|
|
11779
|
+
init_cjs_shim();
|
|
11580
11780
|
var semver = require_semver2();
|
|
11581
11781
|
module.exports = semver.satisfies(process.version, ">=15.7.0");
|
|
11582
11782
|
}
|
|
@@ -11585,6 +11785,7 @@ var require_asymmetricKeyDetailsSupported = __commonJS({
|
|
|
11585
11785
|
// ../../magda-typescript-common/node_modules/jsonwebtoken/lib/rsaPssKeyDetailsSupported.js
|
|
11586
11786
|
var require_rsaPssKeyDetailsSupported = __commonJS({
|
|
11587
11787
|
"../../magda-typescript-common/node_modules/jsonwebtoken/lib/rsaPssKeyDetailsSupported.js"(exports, module) {
|
|
11788
|
+
init_cjs_shim();
|
|
11588
11789
|
var semver = require_semver2();
|
|
11589
11790
|
module.exports = semver.satisfies(process.version, ">=16.9.0");
|
|
11590
11791
|
}
|
|
@@ -11593,6 +11794,7 @@ var require_rsaPssKeyDetailsSupported = __commonJS({
|
|
|
11593
11794
|
// ../../magda-typescript-common/node_modules/jsonwebtoken/lib/validateAsymmetricKey.js
|
|
11594
11795
|
var require_validateAsymmetricKey = __commonJS({
|
|
11595
11796
|
"../../magda-typescript-common/node_modules/jsonwebtoken/lib/validateAsymmetricKey.js"(exports, module) {
|
|
11797
|
+
init_cjs_shim();
|
|
11596
11798
|
var ASYMMETRIC_KEY_DETAILS_SUPPORTED = require_asymmetricKeyDetailsSupported();
|
|
11597
11799
|
var RSA_PSS_KEY_DETAILS_SUPPORTED = require_rsaPssKeyDetailsSupported();
|
|
11598
11800
|
var allowedAlgorithmsForKeys = {
|
|
@@ -11648,6 +11850,7 @@ var require_validateAsymmetricKey = __commonJS({
|
|
|
11648
11850
|
// ../../magda-typescript-common/node_modules/jsonwebtoken/lib/psSupported.js
|
|
11649
11851
|
var require_psSupported = __commonJS({
|
|
11650
11852
|
"../../magda-typescript-common/node_modules/jsonwebtoken/lib/psSupported.js"(exports, module) {
|
|
11853
|
+
init_cjs_shim();
|
|
11651
11854
|
var semver = require_semver2();
|
|
11652
11855
|
module.exports = semver.satisfies(process.version, "^6.12.0 || >=8.0.0");
|
|
11653
11856
|
}
|
|
@@ -11656,6 +11859,7 @@ var require_psSupported = __commonJS({
|
|
|
11656
11859
|
// ../../magda-typescript-common/node_modules/jsonwebtoken/verify.js
|
|
11657
11860
|
var require_verify = __commonJS({
|
|
11658
11861
|
"../../magda-typescript-common/node_modules/jsonwebtoken/verify.js"(exports, module) {
|
|
11862
|
+
init_cjs_shim();
|
|
11659
11863
|
var JsonWebTokenError = require_JsonWebTokenError();
|
|
11660
11864
|
var NotBeforeError = require_NotBeforeError();
|
|
11661
11865
|
var TokenExpiredError = require_TokenExpiredError();
|
|
@@ -11872,6 +12076,7 @@ var require_verify = __commonJS({
|
|
|
11872
12076
|
// ../../node_modules/lodash.includes/index.js
|
|
11873
12077
|
var require_lodash = __commonJS({
|
|
11874
12078
|
"../../node_modules/lodash.includes/index.js"(exports, module) {
|
|
12079
|
+
init_cjs_shim();
|
|
11875
12080
|
var INFINITY = 1 / 0;
|
|
11876
12081
|
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
11877
12082
|
var MAX_INTEGER = 17976931348623157e292;
|
|
@@ -12056,6 +12261,7 @@ var require_lodash = __commonJS({
|
|
|
12056
12261
|
// ../../node_modules/lodash.isboolean/index.js
|
|
12057
12262
|
var require_lodash2 = __commonJS({
|
|
12058
12263
|
"../../node_modules/lodash.isboolean/index.js"(exports, module) {
|
|
12264
|
+
init_cjs_shim();
|
|
12059
12265
|
var boolTag = "[object Boolean]";
|
|
12060
12266
|
var objectProto = Object.prototype;
|
|
12061
12267
|
var objectToString = objectProto.toString;
|
|
@@ -12072,6 +12278,7 @@ var require_lodash2 = __commonJS({
|
|
|
12072
12278
|
// ../../node_modules/lodash.isinteger/index.js
|
|
12073
12279
|
var require_lodash3 = __commonJS({
|
|
12074
12280
|
"../../node_modules/lodash.isinteger/index.js"(exports, module) {
|
|
12281
|
+
init_cjs_shim();
|
|
12075
12282
|
var INFINITY = 1 / 0;
|
|
12076
12283
|
var MAX_INTEGER = 17976931348623157e292;
|
|
12077
12284
|
var NAN = 0 / 0;
|
|
@@ -12136,6 +12343,7 @@ var require_lodash3 = __commonJS({
|
|
|
12136
12343
|
// ../../node_modules/lodash.isnumber/index.js
|
|
12137
12344
|
var require_lodash4 = __commonJS({
|
|
12138
12345
|
"../../node_modules/lodash.isnumber/index.js"(exports, module) {
|
|
12346
|
+
init_cjs_shim();
|
|
12139
12347
|
var numberTag = "[object Number]";
|
|
12140
12348
|
var objectProto = Object.prototype;
|
|
12141
12349
|
var objectToString = objectProto.toString;
|
|
@@ -12152,6 +12360,7 @@ var require_lodash4 = __commonJS({
|
|
|
12152
12360
|
// ../../node_modules/lodash.isplainobject/index.js
|
|
12153
12361
|
var require_lodash5 = __commonJS({
|
|
12154
12362
|
"../../node_modules/lodash.isplainobject/index.js"(exports, module) {
|
|
12363
|
+
init_cjs_shim();
|
|
12155
12364
|
var objectTag = "[object Object]";
|
|
12156
12365
|
function isHostObject(value) {
|
|
12157
12366
|
var result = false;
|
|
@@ -12196,6 +12405,7 @@ var require_lodash5 = __commonJS({
|
|
|
12196
12405
|
// ../../node_modules/lodash.isstring/index.js
|
|
12197
12406
|
var require_lodash6 = __commonJS({
|
|
12198
12407
|
"../../node_modules/lodash.isstring/index.js"(exports, module) {
|
|
12408
|
+
init_cjs_shim();
|
|
12199
12409
|
var stringTag = "[object String]";
|
|
12200
12410
|
var objectProto = Object.prototype;
|
|
12201
12411
|
var objectToString = objectProto.toString;
|
|
@@ -12213,6 +12423,7 @@ var require_lodash6 = __commonJS({
|
|
|
12213
12423
|
// ../../node_modules/lodash.once/index.js
|
|
12214
12424
|
var require_lodash7 = __commonJS({
|
|
12215
12425
|
"../../node_modules/lodash.once/index.js"(exports, module) {
|
|
12426
|
+
init_cjs_shim();
|
|
12216
12427
|
var FUNC_ERROR_TEXT = "Expected a function";
|
|
12217
12428
|
var INFINITY = 1 / 0;
|
|
12218
12429
|
var MAX_INTEGER = 17976931348623157e292;
|
|
@@ -12294,6 +12505,7 @@ var require_lodash7 = __commonJS({
|
|
|
12294
12505
|
// ../../magda-typescript-common/node_modules/jsonwebtoken/sign.js
|
|
12295
12506
|
var require_sign = __commonJS({
|
|
12296
12507
|
"../../magda-typescript-common/node_modules/jsonwebtoken/sign.js"(exports, module) {
|
|
12508
|
+
init_cjs_shim();
|
|
12297
12509
|
var timespan = require_timespan();
|
|
12298
12510
|
var PS_SUPPORTED = require_psSupported();
|
|
12299
12511
|
var validateAsymmetricKey = require_validateAsymmetricKey();
|
|
@@ -12519,6 +12731,7 @@ var require_sign = __commonJS({
|
|
|
12519
12731
|
// ../../magda-typescript-common/node_modules/jsonwebtoken/index.js
|
|
12520
12732
|
var require_jsonwebtoken = __commonJS({
|
|
12521
12733
|
"../../magda-typescript-common/node_modules/jsonwebtoken/index.js"(exports, module) {
|
|
12734
|
+
init_cjs_shim();
|
|
12522
12735
|
module.exports = {
|
|
12523
12736
|
decode: require_decode(),
|
|
12524
12737
|
verify: require_verify(),
|
|
@@ -12530,7 +12743,20 @@ var require_jsonwebtoken = __commonJS({
|
|
|
12530
12743
|
}
|
|
12531
12744
|
});
|
|
12532
12745
|
|
|
12746
|
+
// src/index.ts
|
|
12747
|
+
init_cjs_shim();
|
|
12748
|
+
|
|
12749
|
+
// ../../magda-typescript-common/dist/util/arrayToMaybe.js
|
|
12750
|
+
init_cjs_shim();
|
|
12751
|
+
|
|
12752
|
+
// ../../node_modules/@magda/tsmonad/dist/index.js
|
|
12753
|
+
init_cjs_shim();
|
|
12754
|
+
|
|
12755
|
+
// ../../node_modules/@magda/tsmonad/dist/either.js
|
|
12756
|
+
init_cjs_shim();
|
|
12757
|
+
|
|
12533
12758
|
// ../../node_modules/@magda/tsmonad/dist/monad.js
|
|
12759
|
+
init_cjs_shim();
|
|
12534
12760
|
function eq(a, b) {
|
|
12535
12761
|
var idx = 0;
|
|
12536
12762
|
if (a === b) {
|
|
@@ -12558,6 +12784,7 @@ var EitherType;
|
|
|
12558
12784
|
})(EitherType || (EitherType = {}));
|
|
12559
12785
|
|
|
12560
12786
|
// ../../node_modules/@magda/tsmonad/dist/maybe.js
|
|
12787
|
+
init_cjs_shim();
|
|
12561
12788
|
var MaybeType;
|
|
12562
12789
|
(function(MaybeType2) {
|
|
12563
12790
|
MaybeType2[MaybeType2["Nothing"] = 0] = "Nothing";
|
|
@@ -12648,12 +12875,16 @@ var Maybe = class _Maybe {
|
|
|
12648
12875
|
}
|
|
12649
12876
|
};
|
|
12650
12877
|
|
|
12878
|
+
// ../../node_modules/@magda/tsmonad/dist/writer.js
|
|
12879
|
+
init_cjs_shim();
|
|
12880
|
+
|
|
12651
12881
|
// ../../magda-typescript-common/dist/util/arrayToMaybe.js
|
|
12652
12882
|
function arrayToMaybe(rows) {
|
|
12653
12883
|
return rows.length > 0 ? Maybe.just(rows[0]) : Maybe.nothing();
|
|
12654
12884
|
}
|
|
12655
12885
|
|
|
12656
12886
|
// ../../magda-typescript-common/dist/util/getMinikubeIP.js
|
|
12887
|
+
init_cjs_shim();
|
|
12657
12888
|
import * as childProcess from "child_process";
|
|
12658
12889
|
function getMinikubeIP() {
|
|
12659
12890
|
const minikubeProcess = childProcess.spawnSync("minikube", ["ip"]);
|
|
@@ -12662,11 +12893,16 @@ function getMinikubeIP() {
|
|
|
12662
12893
|
}
|
|
12663
12894
|
|
|
12664
12895
|
// ../../magda-typescript-common/dist/util/isUuid.js
|
|
12896
|
+
init_cjs_shim();
|
|
12665
12897
|
var uuidRegEx = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
12666
12898
|
var isUuid = (id) => typeof id === "string" && uuidRegEx.test(id);
|
|
12667
12899
|
var isUuid_default = isUuid;
|
|
12668
12900
|
|
|
12901
|
+
// ../../magda-typescript-common/dist/util/unionToThrowable.js
|
|
12902
|
+
init_cjs_shim();
|
|
12903
|
+
|
|
12669
12904
|
// ../../magda-typescript-common/dist/ServerError.js
|
|
12905
|
+
init_cjs_shim();
|
|
12670
12906
|
var ServerError = class extends Error {
|
|
12671
12907
|
statusCode;
|
|
12672
12908
|
constructor(message = "Unknown Error", statusCode = 500) {
|
|
@@ -12694,6 +12930,7 @@ function unionToThrowable(input) {
|
|
|
12694
12930
|
}
|
|
12695
12931
|
|
|
12696
12932
|
// ../../magda-typescript-common/dist/AsyncPage.js
|
|
12933
|
+
init_cjs_shim();
|
|
12697
12934
|
var AsyncPage = class _AsyncPage {
|
|
12698
12935
|
requestNextPage;
|
|
12699
12936
|
data;
|
|
@@ -12803,6 +13040,7 @@ function asyncPageToArray(page) {
|
|
|
12803
13040
|
}
|
|
12804
13041
|
|
|
12805
13042
|
// ../../magda-typescript-common/dist/coerceJson.js
|
|
13043
|
+
init_cjs_shim();
|
|
12806
13044
|
var coerceJson_default = (param) => (json) => {
|
|
12807
13045
|
if (typeof json !== "string") {
|
|
12808
13046
|
return json;
|
|
@@ -12815,6 +13053,7 @@ var coerceJson_default = (param) => (json) => {
|
|
|
12815
13053
|
};
|
|
12816
13054
|
|
|
12817
13055
|
// ../../magda-typescript-common/dist/fetchRequest.js
|
|
13056
|
+
init_cjs_shim();
|
|
12818
13057
|
var import_cross_fetch = __toESM(require_node_ponyfill(), 1);
|
|
12819
13058
|
var import_merge = __toESM(require_merge(), 1);
|
|
12820
13059
|
var defaultRequestInitOptions = {};
|
|
@@ -12824,7 +13063,7 @@ function setDefaultRequestInitOptions(options) {
|
|
|
12824
13063
|
function getDefaultRequestInitOptions() {
|
|
12825
13064
|
return defaultRequestInitOptions;
|
|
12826
13065
|
}
|
|
12827
|
-
async function fetchRequest(method,
|
|
13066
|
+
async function fetchRequest(method, url2, body = void 0, contentType = "application/json", returnHeaders = false, extraRequestOptions = {}) {
|
|
12828
13067
|
const defaultOptions = {
|
|
12829
13068
|
...defaultRequestInitOptions ? defaultRequestInitOptions : {}
|
|
12830
13069
|
};
|
|
@@ -12847,7 +13086,7 @@ async function fetchRequest(method, url, body = void 0, contentType = "applicati
|
|
|
12847
13086
|
}
|
|
12848
13087
|
}
|
|
12849
13088
|
}
|
|
12850
|
-
const response = await (0, import_cross_fetch.default)(
|
|
13089
|
+
const response = await (0, import_cross_fetch.default)(url2, fetchOptions);
|
|
12851
13090
|
if (response.status >= 200 && response.status < 300) {
|
|
12852
13091
|
return returnHeaders ? [await response.json(), response.headers] : await response.json();
|
|
12853
13092
|
}
|
|
@@ -12855,7 +13094,14 @@ async function fetchRequest(method, url, body = void 0, contentType = "applicati
|
|
|
12855
13094
|
throw new ServerError(responseText, response.status);
|
|
12856
13095
|
}
|
|
12857
13096
|
|
|
13097
|
+
// ../../magda-typescript-common/dist/getRequest.js
|
|
13098
|
+
init_cjs_shim();
|
|
13099
|
+
|
|
13100
|
+
// ../../magda-typescript-common/dist/getRequestNoCache.js
|
|
13101
|
+
init_cjs_shim();
|
|
13102
|
+
|
|
12858
13103
|
// ../../magda-typescript-common/dist/createNoCacheFetchOptions.js
|
|
13104
|
+
init_cjs_shim();
|
|
12859
13105
|
function createNoCacheFetchOptions(fetchOptions = {}) {
|
|
12860
13106
|
const noCacheHeaders = {
|
|
12861
13107
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
|
@@ -12873,20 +13119,24 @@ function createNoCacheFetchOptions(fetchOptions = {}) {
|
|
|
12873
13119
|
}
|
|
12874
13120
|
|
|
12875
13121
|
// ../../magda-typescript-common/dist/getRequestNoCache.js
|
|
12876
|
-
async function getRequestNoCache(
|
|
12877
|
-
return await fetchRequest("get",
|
|
13122
|
+
async function getRequestNoCache(url2, extraFetchOptions = {}) {
|
|
13123
|
+
return await fetchRequest("get", url2, void 0, void 0, void 0, createNoCacheFetchOptions(extraFetchOptions));
|
|
12878
13124
|
}
|
|
12879
13125
|
|
|
12880
13126
|
// ../../magda-typescript-common/dist/getRequest.js
|
|
12881
|
-
async function getRequest(
|
|
13127
|
+
async function getRequest(url2, noCache = false, extraFetchOptions = {}) {
|
|
12882
13128
|
if (noCache) {
|
|
12883
|
-
return await getRequestNoCache(
|
|
13129
|
+
return await getRequestNoCache(url2, extraFetchOptions);
|
|
12884
13130
|
} else {
|
|
12885
|
-
return await fetchRequest("GET",
|
|
13131
|
+
return await fetchRequest("GET", url2, void 0, void 0, void 0, extraFetchOptions);
|
|
12886
13132
|
}
|
|
12887
13133
|
}
|
|
12888
13134
|
|
|
13135
|
+
// ../../magda-typescript-common/dist/retry.js
|
|
13136
|
+
init_cjs_shim();
|
|
13137
|
+
|
|
12889
13138
|
// ../../magda-typescript-common/dist/runLater.js
|
|
13139
|
+
init_cjs_shim();
|
|
12890
13140
|
function runLater(milliseconds = 0, functionToRunLater) {
|
|
12891
13141
|
return new Promise((resolve, reject) => {
|
|
12892
13142
|
setTimeout(() => {
|
|
@@ -12914,6 +13164,7 @@ function retry(op, delaySeconds, retries, onRetry, shouldRetry = () => true) {
|
|
|
12914
13164
|
}
|
|
12915
13165
|
|
|
12916
13166
|
// ../../magda-typescript-common/dist/retryBackoff.js
|
|
13167
|
+
init_cjs_shim();
|
|
12917
13168
|
function retryBackoff(op, delaySeconds, retries, onRetry, easing = (delaySeconds2) => delaySeconds2 * 2) {
|
|
12918
13169
|
return new Promise((resolve, reject) => {
|
|
12919
13170
|
resolve(op().then((result) => result, (e) => {
|
|
@@ -12928,12 +13179,14 @@ function retryBackoff(op, delaySeconds, retries, onRetry, easing = (delaySeconds
|
|
|
12928
13179
|
}
|
|
12929
13180
|
|
|
12930
13181
|
// ../../magda-typescript-common/dist/session/buildJwt.js
|
|
13182
|
+
init_cjs_shim();
|
|
12931
13183
|
var import_jsonwebtoken = __toESM(require_jsonwebtoken(), 1);
|
|
12932
13184
|
function buildJwt(jwtSecret, userId, session = {}) {
|
|
12933
13185
|
return import_jsonwebtoken.default.sign({ userId, session }, jwtSecret);
|
|
12934
13186
|
}
|
|
12935
13187
|
|
|
12936
13188
|
// ../../magda-typescript-common/dist/session/addJwtSecretFromEnvVar.js
|
|
13189
|
+
init_cjs_shim();
|
|
12937
13190
|
function addJwtSecretFromEnvVar(argv, required = true) {
|
|
12938
13191
|
const newArgv = Object.assign({}, argv, {
|
|
12939
13192
|
jwtSecret: argv.jwtSecret || process.env.JWT_SECRET || process.env.npm_package_config_jwtSecret
|
|
@@ -12945,11 +13198,13 @@ function addJwtSecretFromEnvVar(argv, required = true) {
|
|
|
12945
13198
|
}
|
|
12946
13199
|
|
|
12947
13200
|
// ../../magda-typescript-common/dist/test/util.js
|
|
13201
|
+
init_cjs_shim();
|
|
12948
13202
|
function encodeURIComponentWithApost(string) {
|
|
12949
13203
|
return encodeURIComponent(string).replace(/'/g, "%27");
|
|
12950
13204
|
}
|
|
12951
13205
|
|
|
12952
13206
|
// ../../magda-typescript-common/dist/formatServiceError.js
|
|
13207
|
+
init_cjs_shim();
|
|
12953
13208
|
function formatServiceError(baseMessage, e, retriesLeft) {
|
|
12954
13209
|
let messageParts = [baseMessage];
|
|
12955
13210
|
if (retriesLeft) {
|
|
@@ -12973,6 +13228,7 @@ ${JSON.stringify(e, null, " ")}`);
|
|
|
12973
13228
|
}
|
|
12974
13229
|
|
|
12975
13230
|
// ../../magda-typescript-common/dist/createServiceError.js
|
|
13231
|
+
init_cjs_shim();
|
|
12976
13232
|
var ServiceError = class extends Error {
|
|
12977
13233
|
e;
|
|
12978
13234
|
constructor(message, e) {
|