@explorable-viz/fluid 0.7.52 → 0.7.54
Sign up to get free protection for your applications and to get access to all the features.
@@ -5,17 +5,10 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
5
|
var __getProtoOf = Object.getPrototypeOf;
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
7
7
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
8
|
-
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
9
|
-
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
10
|
-
}) : x)(function(x) {
|
11
|
-
if (typeof require !== "undefined")
|
12
|
-
return require.apply(this, arguments);
|
13
|
-
throw new Error('Dynamic require of "' + x + '" is not supported');
|
14
|
-
});
|
15
8
|
var __esm = (fn, res) => function __init() {
|
16
9
|
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
17
10
|
};
|
18
|
-
var __commonJS = (cb, mod) => function
|
11
|
+
var __commonJS = (cb, mod) => function __require() {
|
19
12
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
20
13
|
};
|
21
14
|
var __export = (target, all3) => {
|
@@ -34,6 +27,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
34
27
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
35
28
|
mod
|
36
29
|
));
|
30
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
37
31
|
var __publicField = (obj, key, value) => {
|
38
32
|
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
39
33
|
return value;
|
@@ -3136,8 +3130,8 @@ var require_has_flag = __commonJS({
|
|
3136
3130
|
var require_supports_color = __commonJS({
|
3137
3131
|
"node_modules/supports-color/index.js"(exports, module2) {
|
3138
3132
|
"use strict";
|
3139
|
-
var os7 =
|
3140
|
-
var tty =
|
3133
|
+
var os7 = require("os");
|
3134
|
+
var tty = require("tty");
|
3141
3135
|
var hasFlag = require_has_flag();
|
3142
3136
|
var { env: env2 } = process;
|
3143
3137
|
var flagForceColor;
|
@@ -3249,8 +3243,8 @@ var require_supports_color = __commonJS({
|
|
3249
3243
|
// node_modules/puppeteer-core/node_modules/debug/src/node.js
|
3250
3244
|
var require_node = __commonJS({
|
3251
3245
|
"node_modules/puppeteer-core/node_modules/debug/src/node.js"(exports, module2) {
|
3252
|
-
var tty =
|
3253
|
-
var util2 =
|
3246
|
+
var tty = require("tty");
|
3247
|
+
var util2 = require("util");
|
3254
3248
|
exports.init = init4;
|
3255
3249
|
exports.log = log3;
|
3256
3250
|
exports.formatArgs = formatArgs;
|
@@ -13050,7 +13044,7 @@ var require_uuid = __commonJS({
|
|
13050
13044
|
if ("crypto" in globalThis && "getRandomValues" in globalThis.crypto) {
|
13051
13045
|
globalThis.crypto.getRandomValues(randomValues);
|
13052
13046
|
} else {
|
13053
|
-
|
13047
|
+
require("crypto").webcrypto.getRandomValues(randomValues);
|
13054
13048
|
}
|
13055
13049
|
randomValues[6] = randomValues[6] & 15 | 64;
|
13056
13050
|
randomValues[8] = randomValues[8] & 63 | 128;
|
@@ -25388,7 +25382,7 @@ var init_bidi = __esm({
|
|
25388
25382
|
var require_stream = __commonJS({
|
25389
25383
|
"node_modules/puppeteer-core/node_modules/ws/lib/stream.js"(exports, module2) {
|
25390
25384
|
"use strict";
|
25391
|
-
var { Duplex } =
|
25385
|
+
var { Duplex } = require("stream");
|
25392
25386
|
function emitClose(stream) {
|
25393
25387
|
stream.emit("close");
|
25394
25388
|
}
|
@@ -25575,7 +25569,7 @@ var require_buffer_util = __commonJS({
|
|
25575
25569
|
};
|
25576
25570
|
if (!process.env.WS_NO_BUFFER_UTIL) {
|
25577
25571
|
try {
|
25578
|
-
const bufferUtil =
|
25572
|
+
const bufferUtil = require("bufferutil");
|
25579
25573
|
module2.exports.mask = function(source3, mask, output, offset, length4) {
|
25580
25574
|
if (length4 < 48)
|
25581
25575
|
_mask(source3, mask, output, offset, length4);
|
@@ -25632,7 +25626,7 @@ var require_limiter = __commonJS({
|
|
25632
25626
|
var require_permessage_deflate = __commonJS({
|
25633
25627
|
"node_modules/puppeteer-core/node_modules/ws/lib/permessage-deflate.js"(exports, module2) {
|
25634
25628
|
"use strict";
|
25635
|
-
var zlib =
|
25629
|
+
var zlib = require("zlib");
|
25636
25630
|
var bufferUtil = require_buffer_util();
|
25637
25631
|
var Limiter = require_limiter();
|
25638
25632
|
var { kStatusCode } = require_constants();
|
@@ -25914,7 +25908,7 @@ var require_permessage_deflate = __commonJS({
|
|
25914
25908
|
var require_validation = __commonJS({
|
25915
25909
|
"node_modules/puppeteer-core/node_modules/ws/lib/validation.js"(exports, module2) {
|
25916
25910
|
"use strict";
|
25917
|
-
var { isUtf8 } =
|
25911
|
+
var { isUtf8 } = require("buffer");
|
25918
25912
|
var { hasBlob } = require_constants();
|
25919
25913
|
var tokenChars = [
|
25920
25914
|
0,
|
@@ -26091,7 +26085,7 @@ var require_validation = __commonJS({
|
|
26091
26085
|
};
|
26092
26086
|
} else if (!process.env.WS_NO_UTF_8_VALIDATE) {
|
26093
26087
|
try {
|
26094
|
-
const isValidUTF8 =
|
26088
|
+
const isValidUTF8 = require("utf-8-validate");
|
26095
26089
|
module2.exports.isValidUTF8 = function(buf) {
|
26096
26090
|
return buf.length < 32 ? _isValidUTF8(buf) : isValidUTF8(buf);
|
26097
26091
|
};
|
@@ -26105,7 +26099,7 @@ var require_validation = __commonJS({
|
|
26105
26099
|
var require_receiver = __commonJS({
|
26106
26100
|
"node_modules/puppeteer-core/node_modules/ws/lib/receiver.js"(exports, module2) {
|
26107
26101
|
"use strict";
|
26108
|
-
var { Writable } =
|
26102
|
+
var { Writable } = require("stream");
|
26109
26103
|
var PerMessageDeflate = require_permessage_deflate();
|
26110
26104
|
var {
|
26111
26105
|
BINARY_TYPES,
|
@@ -26604,8 +26598,8 @@ var require_receiver = __commonJS({
|
|
26604
26598
|
var require_sender = __commonJS({
|
26605
26599
|
"node_modules/puppeteer-core/node_modules/ws/lib/sender.js"(exports, module2) {
|
26606
26600
|
"use strict";
|
26607
|
-
var { Duplex } =
|
26608
|
-
var { randomFillSync } =
|
26601
|
+
var { Duplex } = require("stream");
|
26602
|
+
var { randomFillSync } = require("crypto");
|
26609
26603
|
var PerMessageDeflate = require_permessage_deflate();
|
26610
26604
|
var { EMPTY_BUFFER, kWebSocket, NOOP } = require_constants();
|
26611
26605
|
var { isBlob, isValidStatusCode } = require_validation();
|
@@ -27284,14 +27278,14 @@ var require_extension = __commonJS({
|
|
27284
27278
|
var require_websocket = __commonJS({
|
27285
27279
|
"node_modules/puppeteer-core/node_modules/ws/lib/websocket.js"(exports, module2) {
|
27286
27280
|
"use strict";
|
27287
|
-
var EventEmitter3 =
|
27288
|
-
var https2 =
|
27289
|
-
var http2 =
|
27290
|
-
var net =
|
27291
|
-
var tls =
|
27292
|
-
var { randomBytes, createHash } =
|
27293
|
-
var { Duplex, Readable } =
|
27294
|
-
var { URL: URL3 } =
|
27281
|
+
var EventEmitter3 = require("events");
|
27282
|
+
var https2 = require("https");
|
27283
|
+
var http2 = require("http");
|
27284
|
+
var net = require("net");
|
27285
|
+
var tls = require("tls");
|
27286
|
+
var { randomBytes, createHash } = require("crypto");
|
27287
|
+
var { Duplex, Readable } = require("stream");
|
27288
|
+
var { URL: URL3 } = require("url");
|
27295
27289
|
var PerMessageDeflate = require_permessage_deflate();
|
27296
27290
|
var Receiver2 = require_receiver();
|
27297
27291
|
var Sender2 = require_sender();
|
@@ -28110,10 +28104,10 @@ var require_subprotocol = __commonJS({
|
|
28110
28104
|
var require_websocket_server = __commonJS({
|
28111
28105
|
"node_modules/puppeteer-core/node_modules/ws/lib/websocket-server.js"(exports, module2) {
|
28112
28106
|
"use strict";
|
28113
|
-
var EventEmitter3 =
|
28114
|
-
var http2 =
|
28115
|
-
var { Duplex } =
|
28116
|
-
var { createHash } =
|
28107
|
+
var EventEmitter3 = require("events");
|
28108
|
+
var http2 = require("http");
|
28109
|
+
var { Duplex } = require("stream");
|
28110
|
+
var { createHash } = require("crypto");
|
28117
28111
|
var extension = require_extension();
|
28118
28112
|
var PerMessageDeflate = require_permessage_deflate();
|
28119
28113
|
var subprotocol = require_subprotocol();
|
@@ -31384,8 +31378,8 @@ var require_helpers = __commonJS({
|
|
31384
31378
|
};
|
31385
31379
|
Object.defineProperty(exports, "__esModule", { value: true });
|
31386
31380
|
exports.req = exports.json = exports.toBuffer = void 0;
|
31387
|
-
var http2 = __importStar(
|
31388
|
-
var https2 = __importStar(
|
31381
|
+
var http2 = __importStar(require("http"));
|
31382
|
+
var https2 = __importStar(require("https"));
|
31389
31383
|
async function toBuffer(stream) {
|
31390
31384
|
let length4 = 0;
|
31391
31385
|
const chunks = [];
|
@@ -31464,9 +31458,9 @@ var require_dist = __commonJS({
|
|
31464
31458
|
};
|
31465
31459
|
Object.defineProperty(exports, "__esModule", { value: true });
|
31466
31460
|
exports.Agent = void 0;
|
31467
|
-
var net = __importStar(
|
31468
|
-
var http2 = __importStar(
|
31469
|
-
var https_1 =
|
31461
|
+
var net = __importStar(require("net"));
|
31462
|
+
var http2 = __importStar(require("http"));
|
31463
|
+
var https_1 = require("https");
|
31470
31464
|
__exportStar(require_helpers(), exports);
|
31471
31465
|
var INTERNAL = Symbol("AgentBaseInternalState");
|
31472
31466
|
var Agent = class extends http2.Agent {
|
@@ -31900,8 +31894,8 @@ var require_browser2 = __commonJS({
|
|
31900
31894
|
// node_modules/debug/src/node.js
|
31901
31895
|
var require_node2 = __commonJS({
|
31902
31896
|
"node_modules/debug/src/node.js"(exports, module2) {
|
31903
|
-
var tty =
|
31904
|
-
var util2 =
|
31897
|
+
var tty = require("tty");
|
31898
|
+
var util2 = require("util");
|
31905
31899
|
exports.init = init4;
|
31906
31900
|
exports.log = log3;
|
31907
31901
|
exports.formatArgs = formatArgs;
|
@@ -32086,7 +32080,7 @@ var require_src2 = __commonJS({
|
|
32086
32080
|
var require_proxy_from_env = __commonJS({
|
32087
32081
|
"node_modules/proxy-from-env/index.js"(exports) {
|
32088
32082
|
"use strict";
|
32089
|
-
var parseUrl =
|
32083
|
+
var parseUrl = require("url").parse;
|
32090
32084
|
var DEFAULT_PORTS = {
|
32091
32085
|
ftp: 21,
|
32092
32086
|
gopher: 70,
|
@@ -32193,12 +32187,12 @@ var require_dist2 = __commonJS({
|
|
32193
32187
|
};
|
32194
32188
|
Object.defineProperty(exports, "__esModule", { value: true });
|
32195
32189
|
exports.HttpProxyAgent = void 0;
|
32196
|
-
var net = __importStar(
|
32197
|
-
var tls = __importStar(
|
32190
|
+
var net = __importStar(require("net"));
|
32191
|
+
var tls = __importStar(require("tls"));
|
32198
32192
|
var debug_1 = __importDefault(require_src2());
|
32199
|
-
var events_1 =
|
32193
|
+
var events_1 = require("events");
|
32200
32194
|
var agent_base_1 = require_dist();
|
32201
|
-
var url_1 =
|
32195
|
+
var url_1 = require("url");
|
32202
32196
|
var debug6 = (0, debug_1.default)("http-proxy-agent");
|
32203
32197
|
var HttpProxyAgent = class extends agent_base_1.Agent {
|
32204
32198
|
constructor(proxy, opts) {
|
@@ -32424,12 +32418,12 @@ var require_dist3 = __commonJS({
|
|
32424
32418
|
};
|
32425
32419
|
Object.defineProperty(exports, "__esModule", { value: true });
|
32426
32420
|
exports.HttpsProxyAgent = void 0;
|
32427
|
-
var net = __importStar(
|
32428
|
-
var tls = __importStar(
|
32429
|
-
var assert_1 = __importDefault(
|
32421
|
+
var net = __importStar(require("net"));
|
32422
|
+
var tls = __importStar(require("tls"));
|
32423
|
+
var assert_1 = __importDefault(require("assert"));
|
32430
32424
|
var debug_1 = __importDefault(require_src2());
|
32431
32425
|
var agent_base_1 = require_dist();
|
32432
|
-
var url_1 =
|
32426
|
+
var url_1 = require("url");
|
32433
32427
|
var parse_proxy_response_1 = require_parse_proxy_response();
|
32434
32428
|
var debug6 = (0, debug_1.default)("https-proxy-agent");
|
32435
32429
|
var HttpsProxyAgent = class extends agent_base_1.Agent {
|
@@ -32535,7 +32529,7 @@ var require_utils = __commonJS({
|
|
32535
32529
|
"node_modules/smart-buffer/build/utils.js"(exports) {
|
32536
32530
|
"use strict";
|
32537
32531
|
Object.defineProperty(exports, "__esModule", { value: true });
|
32538
|
-
var buffer_1 =
|
32532
|
+
var buffer_1 = require("buffer");
|
32539
32533
|
var ERRORS = {
|
32540
32534
|
INVALID_ENCODING: "Invalid encoding provided. Please specify a valid encoding the internal Node.js Buffer supports.",
|
32541
32535
|
INVALID_SMARTBUFFER_SIZE: "Invalid size provided. Size must be a valid integer greater than zero.",
|
@@ -35958,9 +35952,9 @@ var require_helpers3 = __commonJS({
|
|
35958
35952
|
exports.ipToBuffer = exports.int32ToIpv4 = exports.ipv4ToInt32 = exports.validateSocksClientChainOptions = exports.validateSocksClientOptions = void 0;
|
35959
35953
|
var util_1 = require_util();
|
35960
35954
|
var constants_1 = require_constants3();
|
35961
|
-
var stream =
|
35955
|
+
var stream = require("stream");
|
35962
35956
|
var ip_address_1 = require_ip_address();
|
35963
|
-
var net =
|
35957
|
+
var net = require("net");
|
35964
35958
|
function validateSocksClientOptions(options, acceptedCommands = ["connect", "bind", "associate"]) {
|
35965
35959
|
if (!constants_1.SocksCommand[options.command]) {
|
35966
35960
|
throw new util_1.SocksClientError(constants_1.ERRORS.InvalidSocksCommand, options);
|
@@ -36138,8 +36132,8 @@ var require_socksclient = __commonJS({
|
|
36138
36132
|
};
|
36139
36133
|
Object.defineProperty(exports, "__esModule", { value: true });
|
36140
36134
|
exports.SocksClientError = exports.SocksClient = void 0;
|
36141
|
-
var events_1 =
|
36142
|
-
var net =
|
36135
|
+
var events_1 = require("events");
|
36136
|
+
var net = require("net");
|
36143
36137
|
var smart_buffer_1 = require_smartbuffer();
|
36144
36138
|
var constants_1 = require_constants3();
|
36145
36139
|
var helpers_1 = require_helpers3();
|
@@ -36758,9 +36752,9 @@ var require_dist4 = __commonJS({
|
|
36758
36752
|
var socks_1 = require_build();
|
36759
36753
|
var agent_base_1 = require_dist();
|
36760
36754
|
var debug_1 = __importDefault(require_src2());
|
36761
|
-
var dns = __importStar(
|
36762
|
-
var tls = __importStar(
|
36763
|
-
var url_1 =
|
36755
|
+
var dns = __importStar(require("dns"));
|
36756
|
+
var tls = __importStar(require("tls"));
|
36757
|
+
var url_1 = require("url");
|
36764
36758
|
var debug6 = (0, debug_1.default)("socks-proxy-agent");
|
36765
36759
|
function parseSocksURL(url) {
|
36766
36760
|
let lookup3 = false;
|
@@ -36995,8 +36989,8 @@ var require_data = __commonJS({
|
|
36995
36989
|
Object.defineProperty(exports, "__esModule", { value: true });
|
36996
36990
|
exports.data = void 0;
|
36997
36991
|
var debug_1 = __importDefault(require_src2());
|
36998
|
-
var stream_1 =
|
36999
|
-
var crypto_1 =
|
36992
|
+
var stream_1 = require("stream");
|
36993
|
+
var crypto_1 = require("crypto");
|
37000
36994
|
var data_uri_to_buffer_1 = require_node3();
|
37001
36995
|
var notmodified_1 = __importDefault(require_notmodified());
|
37002
36996
|
var debug6 = (0, debug_1.default)("get-uri:data");
|
@@ -37059,7 +37053,7 @@ var require_universalify = __commonJS({
|
|
37059
37053
|
// node_modules/graceful-fs/polyfills.js
|
37060
37054
|
var require_polyfills = __commonJS({
|
37061
37055
|
"node_modules/graceful-fs/polyfills.js"(exports, module2) {
|
37062
|
-
var constants =
|
37056
|
+
var constants = require("constants");
|
37063
37057
|
var origCwd = process.cwd;
|
37064
37058
|
var cwd = null;
|
37065
37059
|
var platform = process.env.GRACEFUL_FS_PLATFORM || process.platform;
|
@@ -37364,7 +37358,7 @@ var require_polyfills = __commonJS({
|
|
37364
37358
|
// node_modules/graceful-fs/legacy-streams.js
|
37365
37359
|
var require_legacy_streams = __commonJS({
|
37366
37360
|
"node_modules/graceful-fs/legacy-streams.js"(exports, module2) {
|
37367
|
-
var Stream =
|
37361
|
+
var Stream = require("stream").Stream;
|
37368
37362
|
module2.exports = legacy;
|
37369
37363
|
function legacy(fs6) {
|
37370
37364
|
return {
|
@@ -37483,11 +37477,11 @@ var require_clone = __commonJS({
|
|
37483
37477
|
// node_modules/graceful-fs/graceful-fs.js
|
37484
37478
|
var require_graceful_fs = __commonJS({
|
37485
37479
|
"node_modules/graceful-fs/graceful-fs.js"(exports, module2) {
|
37486
|
-
var fs6 =
|
37480
|
+
var fs6 = require("fs");
|
37487
37481
|
var polyfills = require_polyfills();
|
37488
37482
|
var legacy = require_legacy_streams();
|
37489
37483
|
var clone = require_clone();
|
37490
|
-
var util2 =
|
37484
|
+
var util2 = require("util");
|
37491
37485
|
var gracefulQueue;
|
37492
37486
|
var previousSymbol;
|
37493
37487
|
if (typeof Symbol === "function" && typeof Symbol.for === "function") {
|
@@ -37546,7 +37540,7 @@ var require_graceful_fs = __commonJS({
|
|
37546
37540
|
if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || "")) {
|
37547
37541
|
process.on("exit", function() {
|
37548
37542
|
debug6(fs6[gracefulQueue]);
|
37549
|
-
|
37543
|
+
require("assert").equal(fs6[gracefulQueue].length, 0);
|
37550
37544
|
});
|
37551
37545
|
}
|
37552
37546
|
}
|
@@ -37900,7 +37894,7 @@ var require_fs = __commonJS({
|
|
37900
37894
|
var require_utils2 = __commonJS({
|
37901
37895
|
"node_modules/fs-extra/lib/mkdirs/utils.js"(exports, module2) {
|
37902
37896
|
"use strict";
|
37903
|
-
var path10 =
|
37897
|
+
var path10 = require("path");
|
37904
37898
|
module2.exports.checkPath = function checkPath(pth) {
|
37905
37899
|
if (process.platform === "win32") {
|
37906
37900
|
const pathHasInvalidWinCharacters = /[<>:"|?*]/.test(pth.replace(path10.parse(pth).root, ""));
|
@@ -38016,7 +38010,7 @@ var require_stat = __commonJS({
|
|
38016
38010
|
"node_modules/fs-extra/lib/util/stat.js"(exports, module2) {
|
38017
38011
|
"use strict";
|
38018
38012
|
var fs6 = require_fs();
|
38019
|
-
var path10 =
|
38013
|
+
var path10 = require("path");
|
38020
38014
|
var u = require_universalify().fromPromise;
|
38021
38015
|
function getStats(src, dest, opts) {
|
38022
38016
|
const statFunc = opts.dereference ? (file) => fs6.stat(file, { bigint: true }) : (file) => fs6.lstat(file, { bigint: true });
|
@@ -38151,7 +38145,7 @@ var require_copy = __commonJS({
|
|
38151
38145
|
"node_modules/fs-extra/lib/copy/copy.js"(exports, module2) {
|
38152
38146
|
"use strict";
|
38153
38147
|
var fs6 = require_fs();
|
38154
|
-
var path10 =
|
38148
|
+
var path10 = require("path");
|
38155
38149
|
var { mkdirs } = require_mkdirs();
|
38156
38150
|
var { pathExists } = require_path_exists();
|
38157
38151
|
var { utimesMillis } = require_utimes();
|
@@ -38284,7 +38278,7 @@ var require_copy_sync = __commonJS({
|
|
38284
38278
|
"node_modules/fs-extra/lib/copy/copy-sync.js"(exports, module2) {
|
38285
38279
|
"use strict";
|
38286
38280
|
var fs6 = require_graceful_fs();
|
38287
|
-
var path10 =
|
38281
|
+
var path10 = require("path");
|
38288
38282
|
var mkdirsSync = require_mkdirs().mkdirsSync;
|
38289
38283
|
var utimesMillisSync = require_utimes().utimesMillisSync;
|
38290
38284
|
var stat = require_stat();
|
@@ -38457,7 +38451,7 @@ var require_empty = __commonJS({
|
|
38457
38451
|
"use strict";
|
38458
38452
|
var u = require_universalify().fromPromise;
|
38459
38453
|
var fs6 = require_fs();
|
38460
|
-
var path10 =
|
38454
|
+
var path10 = require("path");
|
38461
38455
|
var mkdir = require_mkdirs();
|
38462
38456
|
var remove = require_remove();
|
38463
38457
|
var emptyDir = u(async function emptyDir2(dir) {
|
@@ -38495,7 +38489,7 @@ var require_file = __commonJS({
|
|
38495
38489
|
"node_modules/fs-extra/lib/ensure/file.js"(exports, module2) {
|
38496
38490
|
"use strict";
|
38497
38491
|
var u = require_universalify().fromPromise;
|
38498
|
-
var path10 =
|
38492
|
+
var path10 = require("path");
|
38499
38493
|
var fs6 = require_fs();
|
38500
38494
|
var mkdir = require_mkdirs();
|
38501
38495
|
async function createFile(file) {
|
@@ -38558,7 +38552,7 @@ var require_link = __commonJS({
|
|
38558
38552
|
"node_modules/fs-extra/lib/ensure/link.js"(exports, module2) {
|
38559
38553
|
"use strict";
|
38560
38554
|
var u = require_universalify().fromPromise;
|
38561
|
-
var path10 =
|
38555
|
+
var path10 = require("path");
|
38562
38556
|
var fs6 = require_fs();
|
38563
38557
|
var mkdir = require_mkdirs();
|
38564
38558
|
var { pathExists } = require_path_exists();
|
@@ -38617,7 +38611,7 @@ var require_link = __commonJS({
|
|
38617
38611
|
var require_symlink_paths = __commonJS({
|
38618
38612
|
"node_modules/fs-extra/lib/ensure/symlink-paths.js"(exports, module2) {
|
38619
38613
|
"use strict";
|
38620
|
-
var path10 =
|
38614
|
+
var path10 = require("path");
|
38621
38615
|
var fs6 = require_fs();
|
38622
38616
|
var { pathExists } = require_path_exists();
|
38623
38617
|
var u = require_universalify().fromPromise;
|
@@ -38728,7 +38722,7 @@ var require_symlink = __commonJS({
|
|
38728
38722
|
"node_modules/fs-extra/lib/ensure/symlink.js"(exports, module2) {
|
38729
38723
|
"use strict";
|
38730
38724
|
var u = require_universalify().fromPromise;
|
38731
|
-
var path10 =
|
38725
|
+
var path10 = require("path");
|
38732
38726
|
var fs6 = require_fs();
|
38733
38727
|
var { mkdirs, mkdirsSync } = require_mkdirs();
|
38734
38728
|
var { symlinkPaths, symlinkPathsSync } = require_symlink_paths();
|
@@ -38835,7 +38829,7 @@ var require_jsonfile = __commonJS({
|
|
38835
38829
|
try {
|
38836
38830
|
_fs = require_graceful_fs();
|
38837
38831
|
} catch (_) {
|
38838
|
-
_fs =
|
38832
|
+
_fs = require("fs");
|
38839
38833
|
}
|
38840
38834
|
var universalify = require_universalify();
|
38841
38835
|
var { stringify: stringify2, stripBom } = require_utils3();
|
@@ -38921,7 +38915,7 @@ var require_output_file = __commonJS({
|
|
38921
38915
|
"use strict";
|
38922
38916
|
var u = require_universalify().fromPromise;
|
38923
38917
|
var fs6 = require_fs();
|
38924
|
-
var path10 =
|
38918
|
+
var path10 = require("path");
|
38925
38919
|
var mkdir = require_mkdirs();
|
38926
38920
|
var pathExists = require_path_exists().pathExists;
|
38927
38921
|
async function outputFile(file, data, encoding = "utf-8") {
|
@@ -38996,7 +38990,7 @@ var require_move = __commonJS({
|
|
38996
38990
|
"node_modules/fs-extra/lib/move/move.js"(exports, module2) {
|
38997
38991
|
"use strict";
|
38998
38992
|
var fs6 = require_fs();
|
38999
|
-
var path10 =
|
38993
|
+
var path10 = require("path");
|
39000
38994
|
var { copy } = require_copy2();
|
39001
38995
|
var { remove } = require_remove();
|
39002
38996
|
var { mkdirp } = require_mkdirs();
|
@@ -39048,7 +39042,7 @@ var require_move_sync = __commonJS({
|
|
39048
39042
|
"node_modules/fs-extra/lib/move/move-sync.js"(exports, module2) {
|
39049
39043
|
"use strict";
|
39050
39044
|
var fs6 = require_graceful_fs();
|
39051
|
-
var path10 =
|
39045
|
+
var path10 = require("path");
|
39052
39046
|
var copySync = require_copy2().copySync;
|
39053
39047
|
var removeSync = require_remove().removeSync;
|
39054
39048
|
var mkdirpSync = require_mkdirs().mkdirpSync;
|
@@ -39156,11 +39150,11 @@ var require_file2 = __commonJS({
|
|
39156
39150
|
Object.defineProperty(exports, "__esModule", { value: true });
|
39157
39151
|
exports.file = void 0;
|
39158
39152
|
var debug_1 = __importDefault(require_src2());
|
39159
|
-
var fs_1 =
|
39153
|
+
var fs_1 = require("fs");
|
39160
39154
|
var fs_extra_1 = require_lib();
|
39161
39155
|
var notfound_1 = __importDefault(require_notfound());
|
39162
39156
|
var notmodified_1 = __importDefault(require_notmodified());
|
39163
|
-
var url_1 =
|
39157
|
+
var url_1 = require("url");
|
39164
39158
|
var debug6 = (0, debug_1.default)("get-uri:file");
|
39165
39159
|
var file = async ({ href: uri }, opts = {}) => {
|
39166
39160
|
const {
|
@@ -39256,7 +39250,7 @@ var require_FtpContext = __commonJS({
|
|
39256
39250
|
"use strict";
|
39257
39251
|
Object.defineProperty(exports, "__esModule", { value: true });
|
39258
39252
|
exports.FTPContext = exports.FTPError = void 0;
|
39259
|
-
var net_1 =
|
39253
|
+
var net_1 = require("net");
|
39260
39254
|
var parseControlResponse_1 = require_parseControlResponse();
|
39261
39255
|
var FTPError = class extends Error {
|
39262
39256
|
constructor(res) {
|
@@ -39937,7 +39931,7 @@ var require_StringWriter = __commonJS({
|
|
39937
39931
|
"use strict";
|
39938
39932
|
Object.defineProperty(exports, "__esModule", { value: true });
|
39939
39933
|
exports.StringWriter = void 0;
|
39940
|
-
var stream_1 =
|
39934
|
+
var stream_1 = require("stream");
|
39941
39935
|
var StringWriter = class extends stream_1.Writable {
|
39942
39936
|
constructor() {
|
39943
39937
|
super(...arguments);
|
@@ -39965,7 +39959,7 @@ var require_netUtils = __commonJS({
|
|
39965
39959
|
"use strict";
|
39966
39960
|
Object.defineProperty(exports, "__esModule", { value: true });
|
39967
39961
|
exports.ipIsPrivateV4Address = exports.upgradeSocket = exports.describeAddress = exports.describeTLS = void 0;
|
39968
|
-
var tls_1 =
|
39962
|
+
var tls_1 = require("tls");
|
39969
39963
|
function describeTLS(socket) {
|
39970
39964
|
if (socket instanceof tls_1.TLSSocket) {
|
39971
39965
|
const protocol = socket.getProtocol();
|
@@ -40018,8 +40012,8 @@ var require_transfer = __commonJS({
|
|
40018
40012
|
Object.defineProperty(exports, "__esModule", { value: true });
|
40019
40013
|
exports.downloadTo = exports.uploadFrom = exports.connectForPassiveTransfer = exports.parsePasvResponse = exports.enterPassiveModeIPv4 = exports.parseEpsvResponse = exports.enterPassiveModeIPv6 = void 0;
|
40020
40014
|
var netUtils_1 = require_netUtils();
|
40021
|
-
var stream_1 =
|
40022
|
-
var tls_1 =
|
40015
|
+
var stream_1 = require("stream");
|
40016
|
+
var tls_1 = require("tls");
|
40023
40017
|
var parseControlResponse_1 = require_parseControlResponse();
|
40024
40018
|
async function enterPassiveModeIPv6(ftp) {
|
40025
40019
|
const res = await ftp.request("EPSV");
|
@@ -40228,10 +40222,10 @@ var require_Client = __commonJS({
|
|
40228
40222
|
"use strict";
|
40229
40223
|
Object.defineProperty(exports, "__esModule", { value: true });
|
40230
40224
|
exports.Client = void 0;
|
40231
|
-
var fs_1 =
|
40232
|
-
var path_1 =
|
40233
|
-
var tls_1 =
|
40234
|
-
var util_1 =
|
40225
|
+
var fs_1 = require("fs");
|
40226
|
+
var path_1 = require("path");
|
40227
|
+
var tls_1 = require("tls");
|
40228
|
+
var util_1 = require("util");
|
40235
40229
|
var FtpContext_1 = require_FtpContext();
|
40236
40230
|
var parseList_1 = require_parseList();
|
40237
40231
|
var ProgressTracker_1 = require_ProgressTracker();
|
@@ -40762,8 +40756,8 @@ var require_ftp = __commonJS({
|
|
40762
40756
|
Object.defineProperty(exports, "__esModule", { value: true });
|
40763
40757
|
exports.ftp = void 0;
|
40764
40758
|
var basic_ftp_1 = require_dist5();
|
40765
|
-
var stream_1 =
|
40766
|
-
var path_1 =
|
40759
|
+
var stream_1 = require("stream");
|
40760
|
+
var path_1 = require("path");
|
40767
40761
|
var debug_1 = __importDefault(require_src2());
|
40768
40762
|
var notfound_1 = __importDefault(require_notfound());
|
40769
40763
|
var notmodified_1 = __importDefault(require_notmodified());
|
@@ -40838,7 +40832,7 @@ var require_http_error = __commonJS({
|
|
40838
40832
|
"node_modules/get-uri/dist/http-error.js"(exports) {
|
40839
40833
|
"use strict";
|
40840
40834
|
Object.defineProperty(exports, "__esModule", { value: true });
|
40841
|
-
var http_1 =
|
40835
|
+
var http_1 = require("http");
|
40842
40836
|
var HTTPError = class extends Error {
|
40843
40837
|
constructor(statusCode, message2 = http_1.STATUS_CODES[statusCode]) {
|
40844
40838
|
super(message2);
|
@@ -40859,9 +40853,9 @@ var require_http = __commonJS({
|
|
40859
40853
|
};
|
40860
40854
|
Object.defineProperty(exports, "__esModule", { value: true });
|
40861
40855
|
exports.http = void 0;
|
40862
|
-
var http_1 = __importDefault(
|
40863
|
-
var https_1 = __importDefault(
|
40864
|
-
var events_1 =
|
40856
|
+
var http_1 = __importDefault(require("http"));
|
40857
|
+
var https_1 = __importDefault(require("https"));
|
40858
|
+
var events_1 = require("events");
|
40865
40859
|
var debug_1 = __importDefault(require_src2());
|
40866
40860
|
var http_error_1 = __importDefault(require_http_error());
|
40867
40861
|
var notfound_1 = __importDefault(require_notfound());
|
@@ -41012,7 +41006,7 @@ var require_https = __commonJS({
|
|
41012
41006
|
};
|
41013
41007
|
Object.defineProperty(exports, "__esModule", { value: true });
|
41014
41008
|
exports.https = void 0;
|
41015
|
-
var https_1 = __importDefault(
|
41009
|
+
var https_1 = __importDefault(require("https"));
|
41016
41010
|
var http_1 = require_http();
|
41017
41011
|
var https2 = (url, opts) => {
|
41018
41012
|
return (0, http_1.http)(url, { ...opts, http: https_1.default });
|
@@ -55639,7 +55633,7 @@ var require_degenerator = __commonJS({
|
|
55639
55633
|
"use strict";
|
55640
55634
|
Object.defineProperty(exports, "__esModule", { value: true });
|
55641
55635
|
exports.degenerator = void 0;
|
55642
|
-
var util_1 =
|
55636
|
+
var util_1 = require("util");
|
55643
55637
|
var escodegen_1 = require_escodegen();
|
55644
55638
|
var esprima_1 = require_esprima();
|
55645
55639
|
var ast_types_1 = require_main();
|
@@ -55754,7 +55748,7 @@ var require_compile = __commonJS({
|
|
55754
55748
|
"use strict";
|
55755
55749
|
Object.defineProperty(exports, "__esModule", { value: true });
|
55756
55750
|
exports.compile = void 0;
|
55757
|
-
var util_1 =
|
55751
|
+
var util_1 = require("util");
|
55758
55752
|
var degenerator_1 = require_degenerator();
|
55759
55753
|
function compile(qjs, code, returnName, options = {}) {
|
55760
55754
|
const compiled = (0, degenerator_1.degenerator)(code, options.names ?? []);
|
@@ -55922,7 +55916,7 @@ var require_util3 = __commonJS({
|
|
55922
55916
|
"use strict";
|
55923
55917
|
Object.defineProperty(exports, "__esModule", { value: true });
|
55924
55918
|
exports.isGMT = exports.dnsLookup = void 0;
|
55925
|
-
var dns_1 =
|
55919
|
+
var dns_1 = require("dns");
|
55926
55920
|
function dnsLookup(host, opts) {
|
55927
55921
|
return new Promise((resolve5, reject) => {
|
55928
55922
|
(0, dns_1.lookup)(host, opts, (err, res) => {
|
@@ -56243,7 +56237,7 @@ var require_ip = __commonJS({
|
|
56243
56237
|
};
|
56244
56238
|
Object.defineProperty(exports, "__esModule", { value: true });
|
56245
56239
|
exports.ip = void 0;
|
56246
|
-
var os_1 = __importDefault(
|
56240
|
+
var os_1 = __importDefault(require("os"));
|
56247
56241
|
exports.ip = {
|
56248
56242
|
address() {
|
56249
56243
|
const interfaces = os_1.default.networkInterfaces();
|
@@ -56292,7 +56286,7 @@ var require_myIpAddress = __commonJS({
|
|
56292
56286
|
};
|
56293
56287
|
Object.defineProperty(exports, "__esModule", { value: true });
|
56294
56288
|
var ip_1 = require_ip();
|
56295
|
-
var net_1 = __importDefault(
|
56289
|
+
var net_1 = __importDefault(require("net"));
|
56296
56290
|
async function myIpAddress() {
|
56297
56291
|
return new Promise((resolve5, reject) => {
|
56298
56292
|
const socket = net_1.default.connect({ host: "8.8.8.8", port: 53 });
|
@@ -58044,7 +58038,7 @@ var require_emscripten_module_WASM_RELEASE_SYNC = __commonJS({
|
|
58044
58038
|
});
|
58045
58039
|
var p = Object.assign({}, a), t = "./this.program", u = "object" == typeof window, v = "function" == typeof importScripts, w = "object" == typeof process && "object" == typeof process.versions && "string" == typeof process.versions.node, x = "", y, z, A;
|
58046
58040
|
if (w) {
|
58047
|
-
var fs6 =
|
58041
|
+
var fs6 = require("fs"), B = require("path");
|
58048
58042
|
x = v ? B.dirname(x) + "/" : __dirname + "/";
|
58049
58043
|
y = (b, c) => {
|
58050
58044
|
var d = C(b);
|
@@ -59106,12 +59100,12 @@ var require_dist10 = __commonJS({
|
|
59106
59100
|
};
|
59107
59101
|
Object.defineProperty(exports, "__esModule", { value: true });
|
59108
59102
|
exports.PacProxyAgent = void 0;
|
59109
|
-
var net = __importStar(
|
59110
|
-
var tls = __importStar(
|
59111
|
-
var crypto = __importStar(
|
59112
|
-
var events_1 =
|
59103
|
+
var net = __importStar(require("net"));
|
59104
|
+
var tls = __importStar(require("tls"));
|
59105
|
+
var crypto = __importStar(require("crypto"));
|
59106
|
+
var events_1 = require("events");
|
59113
59107
|
var debug_1 = __importDefault(require_src2());
|
59114
|
-
var url_1 =
|
59108
|
+
var url_1 = require("url");
|
59115
59109
|
var agent_base_1 = require_dist();
|
59116
59110
|
var http_proxy_agent_1 = require_dist2();
|
59117
59111
|
var https_proxy_agent_1 = require_dist3();
|
@@ -59310,12 +59304,12 @@ var require_dist11 = __commonJS({
|
|
59310
59304
|
};
|
59311
59305
|
Object.defineProperty(exports, "__esModule", { value: true });
|
59312
59306
|
exports.HttpProxyAgent = void 0;
|
59313
|
-
var net = __importStar(
|
59314
|
-
var tls = __importStar(
|
59307
|
+
var net = __importStar(require("net"));
|
59308
|
+
var tls = __importStar(require("tls"));
|
59315
59309
|
var debug_1 = __importDefault(require_src2());
|
59316
|
-
var events_1 =
|
59310
|
+
var events_1 = require("events");
|
59317
59311
|
var agent_base_1 = require_dist();
|
59318
|
-
var url_1 =
|
59312
|
+
var url_1 = require("url");
|
59319
59313
|
var debug6 = (0, debug_1.default)("http-proxy-agent");
|
59320
59314
|
var HttpProxyAgent = class extends agent_base_1.Agent {
|
59321
59315
|
constructor(proxy, opts) {
|
@@ -59541,12 +59535,12 @@ var require_dist12 = __commonJS({
|
|
59541
59535
|
};
|
59542
59536
|
Object.defineProperty(exports, "__esModule", { value: true });
|
59543
59537
|
exports.HttpsProxyAgent = void 0;
|
59544
|
-
var net = __importStar(
|
59545
|
-
var tls = __importStar(
|
59546
|
-
var assert_1 = __importDefault(
|
59538
|
+
var net = __importStar(require("net"));
|
59539
|
+
var tls = __importStar(require("tls"));
|
59540
|
+
var assert_1 = __importDefault(require("assert"));
|
59547
59541
|
var debug_1 = __importDefault(require_src2());
|
59548
59542
|
var agent_base_1 = require_dist();
|
59549
|
-
var url_1 =
|
59543
|
+
var url_1 = require("url");
|
59550
59544
|
var parse_proxy_response_1 = require_parse_proxy_response2();
|
59551
59545
|
var debug6 = (0, debug_1.default)("https-proxy-agent");
|
59552
59546
|
var HttpsProxyAgent = class extends agent_base_1.Agent {
|
@@ -59691,9 +59685,9 @@ var require_dist13 = __commonJS({
|
|
59691
59685
|
var socks_1 = require_build();
|
59692
59686
|
var agent_base_1 = require_dist();
|
59693
59687
|
var debug_1 = __importDefault(require_src2());
|
59694
|
-
var dns = __importStar(
|
59695
|
-
var tls = __importStar(
|
59696
|
-
var url_1 =
|
59688
|
+
var dns = __importStar(require("dns"));
|
59689
|
+
var tls = __importStar(require("tls"));
|
59690
|
+
var url_1 = require("url");
|
59697
59691
|
var debug6 = (0, debug_1.default)("socks-proxy-agent");
|
59698
59692
|
function parseSocksURL(url) {
|
59699
59693
|
let lookup3 = false;
|
@@ -59870,9 +59864,9 @@ var require_dist14 = __commonJS({
|
|
59870
59864
|
};
|
59871
59865
|
Object.defineProperty(exports, "__esModule", { value: true });
|
59872
59866
|
exports.ProxyAgent = exports.proxies = void 0;
|
59873
|
-
var http2 = __importStar(
|
59874
|
-
var https2 = __importStar(
|
59875
|
-
var url_1 =
|
59867
|
+
var http2 = __importStar(require("http"));
|
59868
|
+
var https2 = __importStar(require("https"));
|
59869
|
+
var url_1 = require("url");
|
59876
59870
|
var lru_cache_1 = __importDefault(require_lru_cache());
|
59877
59871
|
var agent_base_1 = require_dist();
|
59878
59872
|
var debug_1 = __importDefault(require_src2());
|
@@ -60286,8 +60280,8 @@ var require_browser3 = __commonJS({
|
|
60286
60280
|
// node_modules/@puppeteer/browsers/node_modules/debug/src/node.js
|
60287
60281
|
var require_node4 = __commonJS({
|
60288
60282
|
"node_modules/@puppeteer/browsers/node_modules/debug/src/node.js"(exports, module2) {
|
60289
|
-
var tty =
|
60290
|
-
var util2 =
|
60283
|
+
var tty = require("tty");
|
60284
|
+
var util2 = require("util");
|
60291
60285
|
exports.init = init4;
|
60292
60286
|
exports.log = log3;
|
60293
60287
|
exports.formatArgs = formatArgs;
|
@@ -60644,7 +60638,7 @@ var require_pump = __commonJS({
|
|
60644
60638
|
"node_modules/pump/index.js"(exports, module2) {
|
60645
60639
|
var once = require_once();
|
60646
60640
|
var eos = require_end_of_stream();
|
60647
|
-
var fs6 =
|
60641
|
+
var fs6 = require("fs");
|
60648
60642
|
var noop2 = function() {
|
60649
60643
|
};
|
60650
60644
|
var ancient = /^v?\.0/.test(process.version);
|
@@ -60727,7 +60721,7 @@ var require_pump = __commonJS({
|
|
60727
60721
|
var require_buffer_stream = __commonJS({
|
60728
60722
|
"node_modules/get-stream/buffer-stream.js"(exports, module2) {
|
60729
60723
|
"use strict";
|
60730
|
-
var { PassThrough: PassThroughStream } =
|
60724
|
+
var { PassThrough: PassThroughStream } = require("stream");
|
60731
60725
|
module2.exports = (options) => {
|
60732
60726
|
options = { ...options };
|
60733
60727
|
const { array } = options;
|
@@ -60772,7 +60766,7 @@ var require_buffer_stream = __commonJS({
|
|
60772
60766
|
var require_get_stream = __commonJS({
|
60773
60767
|
"node_modules/get-stream/index.js"(exports, module2) {
|
60774
60768
|
"use strict";
|
60775
|
-
var { constants: BufferConstants } =
|
60769
|
+
var { constants: BufferConstants } = require("buffer");
|
60776
60770
|
var pump = require_pump();
|
60777
60771
|
var bufferStream = require_buffer_stream();
|
60778
60772
|
var MaxBufferError = class extends Error {
|
@@ -60880,14 +60874,14 @@ var require_pend = __commonJS({
|
|
60880
60874
|
// node_modules/fd-slicer/index.js
|
60881
60875
|
var require_fd_slicer = __commonJS({
|
60882
60876
|
"node_modules/fd-slicer/index.js"(exports) {
|
60883
|
-
var fs6 =
|
60884
|
-
var util2 =
|
60885
|
-
var stream =
|
60877
|
+
var fs6 = require("fs");
|
60878
|
+
var util2 = require("util");
|
60879
|
+
var stream = require("stream");
|
60886
60880
|
var Readable = stream.Readable;
|
60887
60881
|
var Writable = stream.Writable;
|
60888
60882
|
var PassThrough2 = stream.PassThrough;
|
60889
60883
|
var Pend = require_pend();
|
60890
|
-
var EventEmitter3 =
|
60884
|
+
var EventEmitter3 = require("events").EventEmitter;
|
60891
60885
|
exports.createFromBuffer = createFromBuffer;
|
60892
60886
|
exports.createFromFd = createFromFd;
|
60893
60887
|
exports.BufferSlicer = BufferSlicer;
|
@@ -61148,7 +61142,7 @@ var require_fd_slicer = __commonJS({
|
|
61148
61142
|
// node_modules/buffer-crc32/index.js
|
61149
61143
|
var require_buffer_crc32 = __commonJS({
|
61150
61144
|
"node_modules/buffer-crc32/index.js"(exports, module2) {
|
61151
|
-
var Buffer2 =
|
61145
|
+
var Buffer2 = require("buffer").Buffer;
|
61152
61146
|
var CRC_TABLE = [
|
61153
61147
|
0,
|
61154
61148
|
1996959894,
|
@@ -61455,15 +61449,15 @@ var require_buffer_crc32 = __commonJS({
|
|
61455
61449
|
// node_modules/yauzl/index.js
|
61456
61450
|
var require_yauzl = __commonJS({
|
61457
61451
|
"node_modules/yauzl/index.js"(exports) {
|
61458
|
-
var fs6 =
|
61459
|
-
var zlib =
|
61452
|
+
var fs6 = require("fs");
|
61453
|
+
var zlib = require("zlib");
|
61460
61454
|
var fd_slicer = require_fd_slicer();
|
61461
61455
|
var crc32 = require_buffer_crc32();
|
61462
|
-
var util2 =
|
61463
|
-
var EventEmitter3 =
|
61464
|
-
var Transform =
|
61465
|
-
var PassThrough2 =
|
61466
|
-
var Writable =
|
61456
|
+
var util2 = require("util");
|
61457
|
+
var EventEmitter3 = require("events").EventEmitter;
|
61458
|
+
var Transform = require("stream").Transform;
|
61459
|
+
var PassThrough2 = require("stream").PassThrough;
|
61460
|
+
var Writable = require("stream").Writable;
|
61467
61461
|
exports.open = open;
|
61468
61462
|
exports.fromFd = fromFd;
|
61469
61463
|
exports.fromBuffer = fromBuffer;
|
@@ -62157,11 +62151,11 @@ var require_yauzl = __commonJS({
|
|
62157
62151
|
var require_extract_zip = __commonJS({
|
62158
62152
|
"node_modules/extract-zip/index.js"(exports, module2) {
|
62159
62153
|
var debug6 = require_src2()("extract-zip");
|
62160
|
-
var { createWriteStream, promises: fs6 } =
|
62154
|
+
var { createWriteStream, promises: fs6 } = require("fs");
|
62161
62155
|
var getStream = require_get_stream();
|
62162
|
-
var path10 =
|
62163
|
-
var { promisify } =
|
62164
|
-
var stream =
|
62156
|
+
var path10 = require("path");
|
62157
|
+
var { promisify } = require("util");
|
62158
|
+
var stream = require("stream");
|
62165
62159
|
var yauzl = require_yauzl();
|
62166
62160
|
var openZip = promisify(yauzl.open);
|
62167
62161
|
var pipeline = promisify(stream.pipeline);
|
@@ -62688,7 +62682,7 @@ var require_text_decoder = __commonJS({
|
|
62688
62682
|
// node_modules/streamx/index.js
|
62689
62683
|
var require_streamx = __commonJS({
|
62690
62684
|
"node_modules/streamx/index.js"(exports, module2) {
|
62691
|
-
var { EventEmitter: EventEmitter3 } =
|
62685
|
+
var { EventEmitter: EventEmitter3 } = require("events");
|
62692
62686
|
var STREAM_DESTROYED = new Error("Stream was destroyed");
|
62693
62687
|
var PREMATURE_CLOSE = new Error("Premature close");
|
62694
62688
|
var queueTick = require_process_next_tick();
|
@@ -64382,7 +64376,7 @@ var require_constants6 = __commonJS({
|
|
64382
64376
|
S_IFLNK: 40960
|
64383
64377
|
};
|
64384
64378
|
try {
|
64385
|
-
module2.exports =
|
64379
|
+
module2.exports = require("fs").constants || constants;
|
64386
64380
|
} catch {
|
64387
64381
|
module2.exports = constants;
|
64388
64382
|
}
|
@@ -64661,8 +64655,8 @@ var require_tar_fs = __commonJS({
|
|
64661
64655
|
"node_modules/tar-fs/index.js"(exports) {
|
64662
64656
|
var tar2 = require_tar_stream();
|
64663
64657
|
var pump = require_pump();
|
64664
|
-
var fs6 =
|
64665
|
-
var path10 =
|
64658
|
+
var fs6 = require("fs");
|
64659
|
+
var path10 = require("path");
|
64666
64660
|
var win32 = (global.Bare?.platform || process.platform) === "win32";
|
64667
64661
|
exports.pack = function pack(cwd, opts) {
|
64668
64662
|
if (!cwd)
|
@@ -65001,7 +64995,7 @@ var require_tar_fs = __commonJS({
|
|
65001
64995
|
// node_modules/through/index.js
|
65002
64996
|
var require_through = __commonJS({
|
65003
64997
|
"node_modules/through/index.js"(exports, module2) {
|
65004
|
-
var Stream =
|
64998
|
+
var Stream = require("stream");
|
65005
64999
|
exports = module2.exports = through;
|
65006
65000
|
through.through = through;
|
65007
65001
|
function through(write2, end, opts) {
|
@@ -65891,9 +65885,9 @@ var require_progress = __commonJS({
|
|
65891
65885
|
var require_build2 = __commonJS({
|
65892
65886
|
"node_modules/y18n/build/index.cjs"(exports, module2) {
|
65893
65887
|
"use strict";
|
65894
|
-
var fs6 =
|
65895
|
-
var util2 =
|
65896
|
-
var path10 =
|
65888
|
+
var fs6 = require("fs");
|
65889
|
+
var util2 = require("util");
|
65890
|
+
var path10 = require("path");
|
65897
65891
|
var shim2;
|
65898
65892
|
var Y18N2 = class {
|
65899
65893
|
constructor(opts) {
|
@@ -66079,9 +66073,9 @@ var require_build2 = __commonJS({
|
|
66079
66073
|
var require_build3 = __commonJS({
|
66080
66074
|
"node_modules/@puppeteer/browsers/node_modules/yargs-parser/build/index.cjs"(exports, module2) {
|
66081
66075
|
"use strict";
|
66082
|
-
var util2 =
|
66083
|
-
var path10 =
|
66084
|
-
var fs6 =
|
66076
|
+
var util2 = require("util");
|
66077
|
+
var path10 = require("path");
|
66078
|
+
var fs6 = require("fs");
|
66085
66079
|
function camelCase2(str) {
|
66086
66080
|
const isCamelCase = str !== str.toLowerCase() && str !== str.toUpperCase();
|
66087
66081
|
if (!isCamelCase) {
|
@@ -67027,8 +67021,8 @@ var require_build3 = __commonJS({
|
|
67027
67021
|
normalize: path10.normalize,
|
67028
67022
|
resolve: path10.resolve,
|
67029
67023
|
require: (path11) => {
|
67030
|
-
if (typeof
|
67031
|
-
return
|
67024
|
+
if (typeof require !== "undefined") {
|
67025
|
+
return require(path11);
|
67032
67026
|
} else if (path11.match(/\.json$/)) {
|
67033
67027
|
return JSON.parse(fs6.readFileSync(path11, "utf8"));
|
67034
67028
|
} else {
|
@@ -68666,8 +68660,8 @@ var require_build4 = __commonJS({
|
|
68666
68660
|
// node_modules/escalade/sync/index.js
|
68667
68661
|
var require_sync = __commonJS({
|
68668
68662
|
"node_modules/escalade/sync/index.js"(exports, module2) {
|
68669
|
-
var { dirname: dirname3, resolve: resolve5 } =
|
68670
|
-
var { readdirSync: readdirSync2, statSync: statSync3 } =
|
68663
|
+
var { dirname: dirname3, resolve: resolve5 } = require("path");
|
68664
|
+
var { readdirSync: readdirSync2, statSync: statSync3 } = require("fs");
|
68671
68665
|
module2.exports = function(start, callback) {
|
68672
68666
|
let dir = resolve5(".", start);
|
68673
68667
|
let tmp, stats = statSync3(dir);
|
@@ -68714,10 +68708,10 @@ var require_get_caller_file = __commonJS({
|
|
68714
68708
|
var require_require_directory = __commonJS({
|
68715
68709
|
"node_modules/require-directory/index.js"(exports, module2) {
|
68716
68710
|
"use strict";
|
68717
|
-
var fs6 =
|
68718
|
-
var join3 =
|
68719
|
-
var resolve5 =
|
68720
|
-
var dirname3 =
|
68711
|
+
var fs6 = require("fs");
|
68712
|
+
var join3 = require("path").join;
|
68713
|
+
var resolve5 = require("path").resolve;
|
68714
|
+
var dirname3 = require("path").dirname;
|
68721
68715
|
var defaultOptions = {
|
68722
68716
|
extensions: ["js", "json", "coffee"],
|
68723
68717
|
recurse: true,
|
@@ -68770,7 +68764,7 @@ var require_require_directory = __commonJS({
|
|
68770
68764
|
var require_build5 = __commonJS({
|
68771
68765
|
"node_modules/@puppeteer/browsers/node_modules/yargs/build/index.cjs"(exports, module2) {
|
68772
68766
|
"use strict";
|
68773
|
-
var t =
|
68767
|
+
var t = require("assert");
|
68774
68768
|
var e = class extends Error {
|
68775
68769
|
constructor(t2) {
|
68776
68770
|
super(t2 || "yargs error"), this.name = "YError", Error.captureStackTrace && Error.captureStackTrace(this, e);
|
@@ -68792,14 +68786,14 @@ var require_build5 = __commonJS({
|
|
68792
68786
|
}(o2, t2.extends);
|
68793
68787
|
else
|
68794
68788
|
try {
|
68795
|
-
h3 =
|
68789
|
+
h3 = require.resolve(t2.extends);
|
68796
68790
|
} catch (e2) {
|
68797
68791
|
return t2;
|
68798
68792
|
}
|
68799
68793
|
!function(t3) {
|
68800
68794
|
if (i.indexOf(t3) > -1)
|
68801
68795
|
throw new e(`Circular extended configurations: '${t3}'.`);
|
68802
|
-
}(h3), i.push(h3), l2 = r2 ? JSON.parse(s.readFileSync(h3, "utf8")) :
|
68796
|
+
}(h3), i.push(h3), l2 = r2 ? JSON.parse(s.readFileSync(h3, "utf8")) : require(t2.extends), delete t2.extends, l2 = n(l2, s.path.dirname(h3), a2, s);
|
68803
68797
|
}
|
68804
68798
|
return i = [], a2 ? r(l2, t2) : Object.assign({}, l2, t2);
|
68805
68799
|
}
|
@@ -69167,10 +69161,10 @@ var require_build5 = __commonJS({
|
|
69167
69161
|
}
|
69168
69162
|
moduleName(t2) {
|
69169
69163
|
const e2 = function(t3) {
|
69170
|
-
if ("undefined" == typeof
|
69164
|
+
if ("undefined" == typeof require)
|
69171
69165
|
return null;
|
69172
|
-
for (let e3, s2 = 0, i2 = Object.keys(
|
69173
|
-
if (e3 =
|
69166
|
+
for (let e3, s2 = 0, i2 = Object.keys(require.cache); s2 < i2.length; s2++)
|
69167
|
+
if (e3 = require.cache[i2[s2]], e3.exports === t3)
|
69174
69168
|
return e3;
|
69175
69169
|
return null;
|
69176
69170
|
}(t2);
|
@@ -70472,15 +70466,15 @@ ${t5.join("\n")}` : "";
|
|
70472
70466
|
};
|
70473
70467
|
var ee;
|
70474
70468
|
var se;
|
70475
|
-
var { readFileSync: ie } =
|
70476
|
-
var { inspect: ne } =
|
70477
|
-
var { resolve: re } =
|
70469
|
+
var { readFileSync: ie } = require("fs");
|
70470
|
+
var { inspect: ne } = require("util");
|
70471
|
+
var { resolve: re } = require("path");
|
70478
70472
|
var oe = require_build2();
|
70479
70473
|
var ae = require_build3();
|
70480
70474
|
var he;
|
70481
|
-
var le = { assert: { notStrictEqual: t.notStrictEqual, strictEqual: t.strictEqual }, cliui: require_build4(), findUp: require_sync(), getEnv: (t2) => process.env[t2], getCallerFile: require_get_caller_file(), getProcessArgvBin: y, inspect: ne, mainFilename: null !== (se = null === (ee = null ===
|
70475
|
+
var le = { assert: { notStrictEqual: t.notStrictEqual, strictEqual: t.strictEqual }, cliui: require_build4(), findUp: require_sync(), getEnv: (t2) => process.env[t2], getCallerFile: require_get_caller_file(), getProcessArgvBin: y, inspect: ne, mainFilename: null !== (se = null === (ee = null === require || void 0 === require ? void 0 : require.main) || void 0 === ee ? void 0 : ee.filename) && void 0 !== se ? se : process.cwd(), Parser: ae, path: require("path"), process: { argv: () => process.argv, cwd: process.cwd, emitWarning: (t2, e2) => process.emitWarning(t2, e2), execPath: () => process.execPath, exit: (t2) => {
|
70482
70476
|
process.exit(t2);
|
70483
|
-
}, nextTick: process.nextTick, stdColumns: void 0 !== process.stdout.columns ? process.stdout.columns : null }, readFileSync: ie, require
|
70477
|
+
}, nextTick: process.nextTick, stdColumns: void 0 !== process.stdout.columns ? process.stdout.columns : null }, readFileSync: ie, require, requireDirectory: require_require_directory(), stringWidth: require_string_width(), y18n: oe({ directory: re(__dirname, "../locales"), updateFiles: false }) };
|
70484
70478
|
var ce = (null === (he = null === process || void 0 === process ? void 0 : process.env) || void 0 === he ? void 0 : he.YARGS_MIN_NODE_VERSION) ? Number(process.env.YARGS_MIN_NODE_VERSION) : 12;
|
70485
70479
|
if (process && process.version) {
|
70486
70480
|
if (Number(process.version.match(/v([^.]+)/)[1]) < ce)
|
@@ -70500,9 +70494,9 @@ ${t5.join("\n")}` : "";
|
|
70500
70494
|
var require_resolve_from = __commonJS({
|
70501
70495
|
"node_modules/resolve-from/index.js"(exports, module2) {
|
70502
70496
|
"use strict";
|
70503
|
-
var path10 =
|
70504
|
-
var Module2 =
|
70505
|
-
var fs6 =
|
70497
|
+
var path10 = require("path");
|
70498
|
+
var Module2 = require("module");
|
70499
|
+
var fs6 = require("fs");
|
70506
70500
|
var resolveFrom = (fromDir, moduleId, silent) => {
|
70507
70501
|
if (typeof fromDir !== "string") {
|
70508
70502
|
throw new TypeError(`Expected \`fromDir\` to be of type \`string\`, got \`${typeof fromDir}\``);
|
@@ -70593,7 +70587,7 @@ var require_parent_module = __commonJS({
|
|
70593
70587
|
var require_import_fresh = __commonJS({
|
70594
70588
|
"node_modules/import-fresh/index.js"(exports, module2) {
|
70595
70589
|
"use strict";
|
70596
|
-
var path10 =
|
70590
|
+
var path10 = require("path");
|
70597
70591
|
var resolveFrom = require_resolve_from();
|
70598
70592
|
var parentModule = require_parent_module();
|
70599
70593
|
module2.exports = (moduleId) => {
|
@@ -70603,7 +70597,7 @@ var require_import_fresh = __commonJS({
|
|
70603
70597
|
const parentPath = parentModule(__filename);
|
70604
70598
|
const cwd = parentPath ? path10.dirname(parentPath) : __dirname;
|
70605
70599
|
const filePath = resolveFrom(cwd, moduleId);
|
70606
|
-
const oldModule =
|
70600
|
+
const oldModule = require.cache[filePath];
|
70607
70601
|
if (oldModule && oldModule.parent) {
|
70608
70602
|
let i = oldModule.parent.children.length;
|
70609
70603
|
while (i--) {
|
@@ -70612,9 +70606,9 @@ var require_import_fresh = __commonJS({
|
|
70612
70606
|
}
|
70613
70607
|
}
|
70614
70608
|
}
|
70615
|
-
delete
|
70616
|
-
const parent =
|
70617
|
-
return parent === void 0 ?
|
70609
|
+
delete require.cache[filePath];
|
70610
|
+
const parent = require.cache[parentPath];
|
70611
|
+
return parent === void 0 ? require(filePath) : parent.require(filePath);
|
70618
70612
|
};
|
70619
70613
|
}
|
70620
70614
|
});
|
@@ -70636,7 +70630,7 @@ var require_is_arrayish = __commonJS({
|
|
70636
70630
|
var require_error_ex = __commonJS({
|
70637
70631
|
"node_modules/error-ex/index.js"(exports, module2) {
|
70638
70632
|
"use strict";
|
70639
|
-
var util2 =
|
70633
|
+
var util2 = require("util");
|
70640
70634
|
var isArrayish = require_is_arrayish();
|
70641
70635
|
var errorEx = function errorEx2(name2, properties) {
|
70642
70636
|
if (!name2 || name2.constructor !== String) {
|
@@ -71119,7 +71113,7 @@ var require_picocolors = __commonJS({
|
|
71119
71113
|
"node_modules/picocolors/picocolors.js"(exports, module2) {
|
71120
71114
|
var argv = process.argv || [];
|
71121
71115
|
var env2 = process.env;
|
71122
|
-
var isColorSupported = !("NO_COLOR" in env2 || argv.includes("--no-color")) && ("FORCE_COLOR" in env2 || argv.includes("--color") || process.platform === "win32" ||
|
71116
|
+
var isColorSupported = !("NO_COLOR" in env2 || argv.includes("--no-color")) && ("FORCE_COLOR" in env2 || argv.includes("--color") || process.platform === "win32" || require != null && require("tty").isatty(1) && env2.TERM !== "dumb" || "CI" in env2);
|
71123
71117
|
var formatter = (open, close, replace3 = open) => (input) => {
|
71124
71118
|
let string3 = "" + input;
|
71125
71119
|
let index3 = string3.indexOf(close, open.length);
|
@@ -72340,7 +72334,7 @@ var require_has_flag2 = __commonJS({
|
|
72340
72334
|
var require_supports_color2 = __commonJS({
|
72341
72335
|
"node_modules/chalk/node_modules/supports-color/index.js"(exports, module2) {
|
72342
72336
|
"use strict";
|
72343
|
-
var os7 =
|
72337
|
+
var os7 = require("os");
|
72344
72338
|
var hasFlag = require_has_flag2();
|
72345
72339
|
var env2 = process.env;
|
72346
72340
|
var forceColor;
|
@@ -75960,7 +75954,7 @@ var require_typescript2 = __commonJS({
|
|
75960
75954
|
}
|
75961
75955
|
return to;
|
75962
75956
|
};
|
75963
|
-
var
|
75957
|
+
var __toCommonJS2 = (mod) => (__copyProps2, mod);
|
75964
75958
|
var typescript_exports = {};
|
75965
75959
|
__export2(typescript_exports, {
|
75966
75960
|
ANONYMOUS: () => ANONYMOUS,
|
@@ -78289,7 +78283,7 @@ var require_typescript2 = __commonJS({
|
|
78289
78283
|
writeFileEnsuringDirectories: () => writeFileEnsuringDirectories,
|
78290
78284
|
zipWith: () => zipWith3
|
78291
78285
|
});
|
78292
|
-
module3.exports =
|
78286
|
+
module3.exports = __toCommonJS2(typescript_exports);
|
78293
78287
|
var versionMajorMinor = "5.5";
|
78294
78288
|
var version = "5.5.3";
|
78295
78289
|
var Comparison = /* @__PURE__ */ ((Comparison3) => {
|
@@ -79880,7 +79874,7 @@ var require_typescript2 = __commonJS({
|
|
79880
79874
|
}
|
79881
79875
|
}
|
79882
79876
|
function isNodeLikeSystem() {
|
79883
|
-
return typeof process !== "undefined" && !!process.nextTick && !process.browser && typeof
|
79877
|
+
return typeof process !== "undefined" && !!process.nextTick && !process.browser && typeof require !== "undefined";
|
79884
79878
|
}
|
79885
79879
|
var LogLevel = /* @__PURE__ */ ((LogLevel3) => {
|
79886
79880
|
LogLevel3[LogLevel3["Off"] = 0] = "Off";
|
@@ -81209,7 +81203,7 @@ ${lanes.join("\n")}
|
|
81209
81203
|
function tryGetPerformance() {
|
81210
81204
|
if (isNodeLikeSystem()) {
|
81211
81205
|
try {
|
81212
|
-
const { performance: performance2 } =
|
81206
|
+
const { performance: performance2 } = require("perf_hooks");
|
81213
81207
|
return {
|
81214
81208
|
shouldWriteNativeEvents: false,
|
81215
81209
|
performance: performance2
|
@@ -81252,7 +81246,7 @@ ${lanes.join("\n")}
|
|
81252
81246
|
var etwModule;
|
81253
81247
|
try {
|
81254
81248
|
const etwModulePath = process.env.TS_ETW_MODULE_PATH ?? "./node_modules/@microsoft/typescript-etw";
|
81255
|
-
etwModule =
|
81249
|
+
etwModule = require(etwModulePath);
|
81256
81250
|
} catch (e) {
|
81257
81251
|
etwModule = void 0;
|
81258
81252
|
}
|
@@ -81394,7 +81388,7 @@ ${lanes.join("\n")}
|
|
81394
81388
|
Debug.assert(!tracing, "Tracing already started");
|
81395
81389
|
if (fs6 === void 0) {
|
81396
81390
|
try {
|
81397
|
-
fs6 =
|
81391
|
+
fs6 = require("fs");
|
81398
81392
|
} catch (e) {
|
81399
81393
|
throw new Error(`tracing requires having fs
|
81400
81394
|
(original error: ${e.message || e})`);
|
@@ -84374,12 +84368,12 @@ ${lanes.join("\n")}
|
|
84374
84368
|
const byteOrderMarkIndicator = "\uFEFF";
|
84375
84369
|
function getNodeSystem() {
|
84376
84370
|
const nativePattern = /^native |^\([^)]+\)$|^(internal[\\/]|[a-zA-Z0-9_\s]+(\.js)?$)/;
|
84377
|
-
const _fs =
|
84378
|
-
const _path =
|
84379
|
-
const _os =
|
84371
|
+
const _fs = require("fs");
|
84372
|
+
const _path = require("path");
|
84373
|
+
const _os = require("os");
|
84380
84374
|
let _crypto;
|
84381
84375
|
try {
|
84382
|
-
_crypto =
|
84376
|
+
_crypto = require("crypto");
|
84383
84377
|
} catch {
|
84384
84378
|
_crypto = void 0;
|
84385
84379
|
}
|
@@ -84484,7 +84478,7 @@ ${lanes.join("\n")}
|
|
84484
84478
|
debugMode: !!process.env.NODE_INSPECTOR_IPC || !!process.env.VSCODE_INSPECTOR_OPTIONS || some4(process.execArgv, (arg) => /^--(inspect|debug)(-brk)?(=\d+)?$/i.test(arg)) || !!process.recordreplay,
|
84485
84479
|
tryEnableSourceMapsForHost() {
|
84486
84480
|
try {
|
84487
|
-
|
84481
|
+
require("source-map-support").install();
|
84488
84482
|
} catch {
|
84489
84483
|
}
|
84490
84484
|
},
|
@@ -84505,7 +84499,7 @@ ${lanes.join("\n")}
|
|
84505
84499
|
require: (baseDir, moduleName) => {
|
84506
84500
|
try {
|
84507
84501
|
const modulePath = resolveJSModule(moduleName, baseDir, nodeSystem);
|
84508
|
-
return { module:
|
84502
|
+
return { module: require(modulePath), modulePath, error: void 0 };
|
84509
84503
|
} catch (error22) {
|
84510
84504
|
return { module: void 0, modulePath: void 0, error: error22 };
|
84511
84505
|
}
|
@@ -84520,7 +84514,7 @@ ${lanes.join("\n")}
|
|
84520
84514
|
cb();
|
84521
84515
|
return false;
|
84522
84516
|
}
|
84523
|
-
const inspector =
|
84517
|
+
const inspector = require("inspector");
|
84524
84518
|
if (!inspector || !inspector.Session) {
|
84525
84519
|
cb();
|
84526
84520
|
return false;
|
@@ -264275,10 +264269,10 @@ var require_loaders = __commonJS({
|
|
264275
264269
|
};
|
264276
264270
|
Object.defineProperty(exports, "__esModule", { value: true });
|
264277
264271
|
exports.loadTs = exports.loadTsSync = exports.loadYaml = exports.loadJson = exports.loadJs = exports.loadJsSync = void 0;
|
264278
|
-
var fs_1 =
|
264279
|
-
var promises_1 =
|
264280
|
-
var path_1 = __importDefault(
|
264281
|
-
var url_1 =
|
264272
|
+
var fs_1 = require("fs");
|
264273
|
+
var promises_1 = require("fs/promises");
|
264274
|
+
var path_1 = __importDefault(require("path"));
|
264275
|
+
var url_1 = require("url");
|
264282
264276
|
var importFresh;
|
264283
264277
|
var loadJsSync = function loadJsSync2(filepath) {
|
264284
264278
|
if (importFresh === void 0) {
|
@@ -264519,8 +264513,8 @@ var require_defaults = __commonJS({
|
|
264519
264513
|
var require_env_paths = __commonJS({
|
264520
264514
|
"node_modules/env-paths/index.js"(exports, module2) {
|
264521
264515
|
"use strict";
|
264522
|
-
var path10 =
|
264523
|
-
var os7 =
|
264516
|
+
var path10 = require("path");
|
264517
|
+
var os7 = require("os");
|
264524
264518
|
var homedir2 = os7.homedir();
|
264525
264519
|
var tmpdir2 = os7.tmpdir();
|
264526
264520
|
var { env: env2 } = process;
|
@@ -264614,7 +264608,7 @@ var require_util4 = __commonJS({
|
|
264614
264608
|
};
|
264615
264609
|
Object.defineProperty(exports, "__esModule", { value: true });
|
264616
264610
|
exports.isDirectorySync = exports.isDirectory = exports.removeUndefinedValuesFromObject = exports.getPropertyByPath = exports.emplace = void 0;
|
264617
|
-
var fs_1 = __importStar(
|
264611
|
+
var fs_1 = __importStar(require("fs"));
|
264618
264612
|
function emplace(map3, key, fn) {
|
264619
264613
|
const cached = map3.get(key);
|
264620
264614
|
if (cached !== void 0) {
|
@@ -264679,8 +264673,8 @@ var require_ExplorerBase = __commonJS({
|
|
264679
264673
|
Object.defineProperty(exports, "__esModule", { value: true });
|
264680
264674
|
exports.getExtensionDescription = exports.ExplorerBase = void 0;
|
264681
264675
|
var env_paths_1 = __importDefault(require_env_paths());
|
264682
|
-
var os_1 = __importDefault(
|
264683
|
-
var path_1 = __importDefault(
|
264676
|
+
var os_1 = __importDefault(require("os"));
|
264677
|
+
var path_1 = __importDefault(require("path"));
|
264684
264678
|
var util_js_1 = require_util4();
|
264685
264679
|
var ExplorerBase = class {
|
264686
264680
|
#loadingMetaConfig = false;
|
@@ -264832,8 +264826,8 @@ var require_Explorer = __commonJS({
|
|
264832
264826
|
};
|
264833
264827
|
Object.defineProperty(exports, "__esModule", { value: true });
|
264834
264828
|
exports.Explorer = void 0;
|
264835
|
-
var promises_1 = __importDefault(
|
264836
|
-
var path_1 = __importDefault(
|
264829
|
+
var promises_1 = __importDefault(require("fs/promises"));
|
264830
|
+
var path_1 = __importDefault(require("path"));
|
264837
264831
|
var defaults_1 = require_defaults();
|
264838
264832
|
var ExplorerBase_js_1 = require_ExplorerBase();
|
264839
264833
|
var merge_1 = require_merge2();
|
@@ -264990,8 +264984,8 @@ var require_ExplorerSync = __commonJS({
|
|
264990
264984
|
};
|
264991
264985
|
Object.defineProperty(exports, "__esModule", { value: true });
|
264992
264986
|
exports.ExplorerSync = void 0;
|
264993
|
-
var fs_1 = __importDefault(
|
264994
|
-
var path_1 = __importDefault(
|
264987
|
+
var fs_1 = __importDefault(require("fs"));
|
264988
|
+
var path_1 = __importDefault(require("path"));
|
264995
264989
|
var defaults_1 = require_defaults();
|
264996
264990
|
var ExplorerBase_js_1 = require_ExplorerBase();
|
264997
264991
|
var merge_1 = require_merge2();
|
@@ -265307,6 +265301,36 @@ var require_dist15 = __commonJS({
|
|
265307
265301
|
}
|
265308
265302
|
});
|
265309
265303
|
|
265304
|
+
// output-es/Test.Util.Puppeteer/index.js
|
265305
|
+
var Test_Util_exports = {};
|
265306
|
+
__export(Test_Util_exports, {
|
265307
|
+
_launch: () => _launch2,
|
265308
|
+
browserTests: () => browserTests,
|
265309
|
+
checkAttribute: () => checkAttribute,
|
265310
|
+
checkAttributeContains: () => checkAttributeContains,
|
265311
|
+
checkTextContent: () => checkTextContent,
|
265312
|
+
click: () => click,
|
265313
|
+
clickToggle: () => clickToggle,
|
265314
|
+
defaultViewport: () => defaultViewport,
|
265315
|
+
for_: () => for_2,
|
265316
|
+
getAttributeValue: () => getAttributeValue,
|
265317
|
+
goto: () => $$goto,
|
265318
|
+
launch: () => launch4,
|
265319
|
+
log$p: () => log$p,
|
265320
|
+
puppeteerTests: () => puppeteerTests,
|
265321
|
+
runTests: () => runTests,
|
265322
|
+
sequence_: () => sequence_,
|
265323
|
+
show$p: () => show$p,
|
265324
|
+
testCondition: () => testCondition2,
|
265325
|
+
testURL: () => testURL,
|
265326
|
+
textContentValue: () => textContentValue,
|
265327
|
+
timeout: () => timeout2,
|
265328
|
+
waitFor: () => waitFor,
|
265329
|
+
waitForFigure: () => waitForFigure,
|
265330
|
+
waitForHidden: () => waitForHidden
|
265331
|
+
});
|
265332
|
+
module.exports = __toCommonJS(Test_Util_exports);
|
265333
|
+
|
265310
265334
|
// output-es/runtime.js
|
265311
265335
|
function fail() {
|
265312
265336
|
throw new Error("Failed pattern match");
|
@@ -265354,6 +265378,8 @@ var Just = (value0) => $Maybe("Just", value0);
|
|
265354
265378
|
|
265355
265379
|
// output-es/Data.Either/index.js
|
265356
265380
|
var $Either = (tag, _1) => ({ tag, _1 });
|
265381
|
+
var Left = (value0) => $Either("Left", value0);
|
265382
|
+
var Right = (value0) => $Either("Right", value0);
|
265357
265383
|
|
265358
265384
|
// output-es/Data.Identity/index.js
|
265359
265385
|
var Identity = (x) => x;
|
@@ -265510,6 +265536,12 @@ function error(msg) {
|
|
265510
265536
|
return new Error(msg);
|
265511
265537
|
}
|
265512
265538
|
|
265539
|
+
// output-es/Control.Monad.Error.Class/index.js
|
265540
|
+
var $$try = (dictMonadError) => {
|
265541
|
+
const Monad0 = dictMonadError.MonadThrow0().Monad0();
|
265542
|
+
return (a) => dictMonadError.catchError(Monad0.Bind1().Apply0().Functor0().map(Right)(a))((x) => Monad0.Applicative0().pure($Either("Left", x)));
|
265543
|
+
};
|
265544
|
+
|
265513
265545
|
// output-es/Data.Foldable/foreign.js
|
265514
265546
|
var foldrArray = function(f) {
|
265515
265547
|
return function(init4) {
|
@@ -265537,6 +265569,7 @@ var foldlArray = function(f) {
|
|
265537
265569
|
};
|
265538
265570
|
|
265539
265571
|
// output-es/Data.Foldable/index.js
|
265572
|
+
var identity2 = (x) => x;
|
265540
265573
|
var traverse_ = (dictApplicative) => {
|
265541
265574
|
const $0 = dictApplicative.Apply0();
|
265542
265575
|
return (dictFoldable) => (f) => dictFoldable.foldr((x) => {
|
@@ -265560,6 +265593,11 @@ var foldableArray = {
|
|
265560
265593
|
}
|
265561
265594
|
};
|
265562
265595
|
|
265596
|
+
// output-es/Partial/foreign.js
|
265597
|
+
var _crashWith = function(msg) {
|
265598
|
+
throw new Error(msg);
|
265599
|
+
};
|
265600
|
+
|
265563
265601
|
// output-es/Effect.Aff/foreign.js
|
265564
265602
|
var Aff = function() {
|
265565
265603
|
var EMPTY2 = {};
|
@@ -266407,6 +266445,11 @@ function _bind(aff) {
|
|
266407
266445
|
}
|
266408
266446
|
var _liftEffect = Aff.Sync;
|
266409
266447
|
var makeAff = Aff.Async;
|
266448
|
+
function _makeFiber(util2, aff) {
|
266449
|
+
return function() {
|
266450
|
+
return Aff.Fiber(util2, null, aff);
|
266451
|
+
};
|
266452
|
+
}
|
266410
266453
|
var _delay = function() {
|
266411
266454
|
function setDelay(n, k) {
|
266412
266455
|
if (n === 0 && typeof setImmediate !== "undefined") {
|
@@ -266439,12 +266482,53 @@ var _sequential = Aff.Seq;
|
|
266439
266482
|
|
266440
266483
|
// output-es/Effect.Aff/index.js
|
266441
266484
|
var functorAff = { map: _map };
|
266485
|
+
var ffiUtil = {
|
266486
|
+
isLeft: (v) => {
|
266487
|
+
if (v.tag === "Left") {
|
266488
|
+
return true;
|
266489
|
+
}
|
266490
|
+
if (v.tag === "Right") {
|
266491
|
+
return false;
|
266492
|
+
}
|
266493
|
+
fail();
|
266494
|
+
},
|
266495
|
+
fromLeft: (v) => {
|
266496
|
+
if (v.tag === "Left") {
|
266497
|
+
return v._1;
|
266498
|
+
}
|
266499
|
+
if (v.tag === "Right") {
|
266500
|
+
return _crashWith("unsafeFromLeft: Right");
|
266501
|
+
}
|
266502
|
+
fail();
|
266503
|
+
},
|
266504
|
+
fromRight: (v) => {
|
266505
|
+
if (v.tag === "Right") {
|
266506
|
+
return v._1;
|
266507
|
+
}
|
266508
|
+
if (v.tag === "Left") {
|
266509
|
+
return _crashWith("unsafeFromRight: Left");
|
266510
|
+
}
|
266511
|
+
fail();
|
266512
|
+
},
|
266513
|
+
left: Left,
|
266514
|
+
right: Right
|
266515
|
+
};
|
266442
266516
|
var monadAff = { Applicative0: () => applicativeAff, Bind1: () => bindAff };
|
266443
266517
|
var bindAff = { bind: _bind, Apply0: () => applyAff };
|
266444
266518
|
var applyAff = { apply: (f) => (a) => _bind(f)((f$p) => _bind(a)((a$p) => applicativeAff.pure(f$p(a$p)))), Functor0: () => functorAff };
|
266445
266519
|
var applicativeAff = { pure: _pure, Apply0: () => applyAff };
|
266446
266520
|
var monadEffectAff = { liftEffect: _liftEffect, Monad0: () => monadAff };
|
266447
266521
|
var monadThrowAff = { throwError: _throwError, Monad0: () => monadAff };
|
266522
|
+
var monadErrorAff = { catchError: _catchError, MonadThrow0: () => monadThrowAff };
|
266523
|
+
var $$try2 = /* @__PURE__ */ $$try(monadErrorAff);
|
266524
|
+
var runAff = (k) => (aff) => {
|
266525
|
+
const $0 = _makeFiber(ffiUtil, _bind($$try2(aff))((x) => _liftEffect(k(x))));
|
266526
|
+
return () => {
|
266527
|
+
const fiber = $0();
|
266528
|
+
fiber.run();
|
266529
|
+
return fiber;
|
266530
|
+
};
|
266531
|
+
};
|
266448
266532
|
var nonCanceler = /* @__PURE__ */ (() => {
|
266449
266533
|
const $0 = _pure();
|
266450
266534
|
return (v) => $0;
|
@@ -266496,6 +266580,27 @@ var unsafeReadTagged = (dictMonad) => (tag) => (value) => {
|
|
266496
266580
|
};
|
266497
266581
|
|
266498
266582
|
// output-es/Control.Promise/foreign.js
|
266583
|
+
function promise(f) {
|
266584
|
+
return function() {
|
266585
|
+
return new Promise(function(success, error3) {
|
266586
|
+
var succF = function(s) {
|
266587
|
+
return function() {
|
266588
|
+
return success(s);
|
266589
|
+
};
|
266590
|
+
};
|
266591
|
+
var failF = function(s) {
|
266592
|
+
return function() {
|
266593
|
+
return error3(s);
|
266594
|
+
};
|
266595
|
+
};
|
266596
|
+
try {
|
266597
|
+
f(succF)(failF)();
|
266598
|
+
} catch (e) {
|
266599
|
+
error3(e);
|
266600
|
+
}
|
266601
|
+
});
|
266602
|
+
};
|
266603
|
+
}
|
266499
266604
|
function thenImpl(promise2) {
|
266500
266605
|
return function(errCB) {
|
266501
266606
|
return function(succCB) {
|
@@ -266515,6 +266620,20 @@ var toAff$p = (customCoerce) => (p) => makeAff((cb) => {
|
|
266515
266620
|
return nonCanceler;
|
266516
266621
|
};
|
266517
266622
|
});
|
266623
|
+
var fromAff = (aff) => promise((succ) => (err) => {
|
266624
|
+
const $0 = runAff((v2) => {
|
266625
|
+
if (v2.tag === "Left") {
|
266626
|
+
return err(v2._1);
|
266627
|
+
}
|
266628
|
+
if (v2.tag === "Right") {
|
266629
|
+
return succ(v2._1);
|
266630
|
+
}
|
266631
|
+
fail();
|
266632
|
+
})(aff);
|
266633
|
+
return () => {
|
266634
|
+
$0();
|
266635
|
+
};
|
266636
|
+
});
|
266518
266637
|
var coerce = (fn) => {
|
266519
266638
|
const $0 = alt(unsafeReadTagged(monadIdentity)("Error")(fn))((() => {
|
266520
266639
|
const $02 = unsafeReadTagged(monadIdentity)("String")(fn);
|
@@ -274481,18 +274600,18 @@ init_AsyncIterableUtil();
|
|
274481
274600
|
init_disposable();
|
274482
274601
|
|
274483
274602
|
// node_modules/puppeteer-core/lib/esm/puppeteer/node/ChromeLauncher.js
|
274484
|
-
|
274485
|
-
|
274486
|
-
|
274603
|
+
var import_promises = require("fs/promises");
|
274604
|
+
var import_os6 = __toESM(require("os"), 1);
|
274605
|
+
var import_path12 = __toESM(require("path"), 1);
|
274487
274606
|
|
274488
274607
|
// node_modules/@puppeteer/browsers/lib/esm/launch.js
|
274489
|
-
|
274490
|
-
|
274491
|
-
|
274492
|
-
|
274608
|
+
var import_child_process = __toESM(require("child_process"), 1);
|
274609
|
+
var import_fs3 = require("fs");
|
274610
|
+
var import_os3 = __toESM(require("os"), 1);
|
274611
|
+
var import_readline = __toESM(require("readline"), 1);
|
274493
274612
|
|
274494
274613
|
// node_modules/@puppeteer/browsers/lib/esm/browser-data/chrome-headless-shell.js
|
274495
|
-
|
274614
|
+
var import_path2 = __toESM(require("path"), 1);
|
274496
274615
|
|
274497
274616
|
// node_modules/@puppeteer/browsers/lib/esm/browser-data/types.js
|
274498
274617
|
var Browser3;
|
@@ -274531,14 +274650,14 @@ var ChromeReleaseChannel;
|
|
274531
274650
|
})(ChromeReleaseChannel || (ChromeReleaseChannel = {}));
|
274532
274651
|
|
274533
274652
|
// node_modules/@puppeteer/browsers/lib/esm/browser-data/chrome.js
|
274653
|
+
var import_path = __toESM(require("path"), 1);
|
274534
274654
|
var import_semver = __toESM(require_semver2(), 1);
|
274535
|
-
import path from "path";
|
274536
274655
|
|
274537
274656
|
// node_modules/@puppeteer/browsers/lib/esm/httpUtil.js
|
274657
|
+
var http = __toESM(require("http"), 1);
|
274658
|
+
var https = __toESM(require("https"), 1);
|
274659
|
+
var import_url = require("url");
|
274538
274660
|
var import_proxy_agent = __toESM(require_dist14(), 1);
|
274539
|
-
import * as http from "http";
|
274540
|
-
import * as https from "https";
|
274541
|
-
import { URL as URL2, urlToHttpOptions } from "url";
|
274542
274661
|
function httpRequest(url, method, response, keepAlive = true) {
|
274543
274662
|
const options = {
|
274544
274663
|
protocol: url.protocol,
|
@@ -274547,12 +274666,12 @@ function httpRequest(url, method, response, keepAlive = true) {
|
|
274547
274666
|
path: url.pathname + url.search,
|
274548
274667
|
method,
|
274549
274668
|
headers: keepAlive ? { Connection: "keep-alive" } : void 0,
|
274550
|
-
auth: urlToHttpOptions(url).auth,
|
274669
|
+
auth: (0, import_url.urlToHttpOptions)(url).auth,
|
274551
274670
|
agent: new import_proxy_agent.ProxyAgent()
|
274552
274671
|
};
|
274553
274672
|
const requestCallback = (res) => {
|
274554
274673
|
if (res.statusCode && res.statusCode >= 300 && res.statusCode < 400 && res.headers.location) {
|
274555
|
-
httpRequest(new
|
274674
|
+
httpRequest(new import_url.URL(res.headers.location), method, response);
|
274556
274675
|
res.resume();
|
274557
274676
|
} else {
|
274558
274677
|
response(res);
|
@@ -274619,12 +274738,12 @@ function relativeExecutablePath(platform, _buildId) {
|
|
274619
274738
|
switch (platform) {
|
274620
274739
|
case BrowserPlatform.MAC:
|
274621
274740
|
case BrowserPlatform.MAC_ARM:
|
274622
|
-
return
|
274741
|
+
return import_path.default.join("chrome-" + folder(platform), "Google Chrome for Testing.app", "Contents", "MacOS", "Google Chrome for Testing");
|
274623
274742
|
case BrowserPlatform.LINUX:
|
274624
|
-
return
|
274743
|
+
return import_path.default.join("chrome-linux64", "chrome");
|
274625
274744
|
case BrowserPlatform.WIN32:
|
274626
274745
|
case BrowserPlatform.WIN64:
|
274627
|
-
return
|
274746
|
+
return import_path.default.join("chrome-" + folder(platform), "chrome.exe");
|
274628
274747
|
}
|
274629
274748
|
}
|
274630
274749
|
async function getLastKnownGoodReleaseForChannel(channel) {
|
@@ -274738,17 +274857,17 @@ function relativeExecutablePath2(platform, _buildId) {
|
|
274738
274857
|
switch (platform) {
|
274739
274858
|
case BrowserPlatform.MAC:
|
274740
274859
|
case BrowserPlatform.MAC_ARM:
|
274741
|
-
return
|
274860
|
+
return import_path2.default.join("chrome-headless-shell-" + folder2(platform), "chrome-headless-shell");
|
274742
274861
|
case BrowserPlatform.LINUX:
|
274743
|
-
return
|
274862
|
+
return import_path2.default.join("chrome-headless-shell-linux64", "chrome-headless-shell");
|
274744
274863
|
case BrowserPlatform.WIN32:
|
274745
274864
|
case BrowserPlatform.WIN64:
|
274746
|
-
return
|
274865
|
+
return import_path2.default.join("chrome-headless-shell-" + folder2(platform), "chrome-headless-shell.exe");
|
274747
274866
|
}
|
274748
274867
|
}
|
274749
274868
|
|
274750
274869
|
// node_modules/@puppeteer/browsers/lib/esm/browser-data/chromedriver.js
|
274751
|
-
|
274870
|
+
var import_path3 = __toESM(require("path"), 1);
|
274752
274871
|
function folder3(platform) {
|
274753
274872
|
switch (platform) {
|
274754
274873
|
case BrowserPlatform.LINUX:
|
@@ -274773,17 +274892,17 @@ function relativeExecutablePath3(platform, _buildId) {
|
|
274773
274892
|
switch (platform) {
|
274774
274893
|
case BrowserPlatform.MAC:
|
274775
274894
|
case BrowserPlatform.MAC_ARM:
|
274776
|
-
return
|
274895
|
+
return import_path3.default.join("chromedriver-" + folder3(platform), "chromedriver");
|
274777
274896
|
case BrowserPlatform.LINUX:
|
274778
|
-
return
|
274897
|
+
return import_path3.default.join("chromedriver-linux64", "chromedriver");
|
274779
274898
|
case BrowserPlatform.WIN32:
|
274780
274899
|
case BrowserPlatform.WIN64:
|
274781
|
-
return
|
274900
|
+
return import_path3.default.join("chromedriver-" + folder3(platform), "chromedriver.exe");
|
274782
274901
|
}
|
274783
274902
|
}
|
274784
274903
|
|
274785
274904
|
// node_modules/@puppeteer/browsers/lib/esm/browser-data/chromium.js
|
274786
|
-
|
274905
|
+
var import_path4 = __toESM(require("path"), 1);
|
274787
274906
|
function archive(platform, buildId) {
|
274788
274907
|
switch (platform) {
|
274789
274908
|
case BrowserPlatform.LINUX:
|
@@ -274820,12 +274939,12 @@ function relativeExecutablePath4(platform, _buildId) {
|
|
274820
274939
|
switch (platform) {
|
274821
274940
|
case BrowserPlatform.MAC:
|
274822
274941
|
case BrowserPlatform.MAC_ARM:
|
274823
|
-
return
|
274942
|
+
return import_path4.default.join("chrome-mac", "Chromium.app", "Contents", "MacOS", "Chromium");
|
274824
274943
|
case BrowserPlatform.LINUX:
|
274825
|
-
return
|
274944
|
+
return import_path4.default.join("chrome-linux", "chrome");
|
274826
274945
|
case BrowserPlatform.WIN32:
|
274827
274946
|
case BrowserPlatform.WIN64:
|
274828
|
-
return
|
274947
|
+
return import_path4.default.join("chrome-win", "chrome.exe");
|
274829
274948
|
}
|
274830
274949
|
}
|
274831
274950
|
async function resolveBuildId2(platform) {
|
@@ -274836,8 +274955,8 @@ function compareVersions2(a, b) {
|
|
274836
274955
|
}
|
274837
274956
|
|
274838
274957
|
// node_modules/@puppeteer/browsers/lib/esm/browser-data/firefox.js
|
274839
|
-
|
274840
|
-
|
274958
|
+
var import_fs = __toESM(require("fs"), 1);
|
274959
|
+
var import_path5 = __toESM(require("path"), 1);
|
274841
274960
|
function archiveNightly(platform, buildId) {
|
274842
274961
|
switch (platform) {
|
274843
274962
|
case BrowserPlatform.LINUX:
|
@@ -274918,12 +275037,12 @@ function relativeExecutablePath5(platform, buildId) {
|
|
274918
275037
|
switch (platform) {
|
274919
275038
|
case BrowserPlatform.MAC_ARM:
|
274920
275039
|
case BrowserPlatform.MAC:
|
274921
|
-
return
|
275040
|
+
return import_path5.default.join("Firefox Nightly.app", "Contents", "MacOS", "firefox");
|
274922
275041
|
case BrowserPlatform.LINUX:
|
274923
|
-
return
|
275042
|
+
return import_path5.default.join("firefox", "firefox");
|
274924
275043
|
case BrowserPlatform.WIN32:
|
274925
275044
|
case BrowserPlatform.WIN64:
|
274926
|
-
return
|
275045
|
+
return import_path5.default.join("firefox", "firefox.exe");
|
274927
275046
|
}
|
274928
275047
|
case FirefoxChannel.BETA:
|
274929
275048
|
case FirefoxChannel.DEVEDITION:
|
@@ -274932,12 +275051,12 @@ function relativeExecutablePath5(platform, buildId) {
|
|
274932
275051
|
switch (platform) {
|
274933
275052
|
case BrowserPlatform.MAC_ARM:
|
274934
275053
|
case BrowserPlatform.MAC:
|
274935
|
-
return
|
275054
|
+
return import_path5.default.join("Firefox.app", "Contents", "MacOS", "firefox");
|
274936
275055
|
case BrowserPlatform.LINUX:
|
274937
|
-
return
|
275056
|
+
return import_path5.default.join("firefox", "firefox");
|
274938
275057
|
case BrowserPlatform.WIN32:
|
274939
275058
|
case BrowserPlatform.WIN64:
|
274940
|
-
return
|
275059
|
+
return import_path5.default.join("core", "firefox.exe");
|
274941
275060
|
}
|
274942
275061
|
}
|
274943
275062
|
}
|
@@ -274965,8 +275084,8 @@ async function resolveBuildId3(channel = FirefoxChannel.NIGHTLY) {
|
|
274965
275084
|
return channel + "_" + version;
|
274966
275085
|
}
|
274967
275086
|
async function createProfile(options) {
|
274968
|
-
if (!
|
274969
|
-
await
|
275087
|
+
if (!import_fs.default.existsSync(options.path)) {
|
275088
|
+
await import_fs.default.promises.mkdir(options.path, {
|
274970
275089
|
recursive: true
|
274971
275090
|
});
|
274972
275091
|
}
|
@@ -275059,20 +275178,20 @@ function defaultProfilePreferences(extraPrefs) {
|
|
275059
275178
|
return Object.assign(defaultPrefs, extraPrefs);
|
275060
275179
|
}
|
275061
275180
|
async function backupFile(input) {
|
275062
|
-
if (!
|
275181
|
+
if (!import_fs.default.existsSync(input)) {
|
275063
275182
|
return;
|
275064
275183
|
}
|
275065
|
-
await
|
275184
|
+
await import_fs.default.promises.copyFile(input, input + ".puppeteer");
|
275066
275185
|
}
|
275067
275186
|
async function syncPreferences(options) {
|
275068
|
-
const prefsPath =
|
275069
|
-
const userPath =
|
275187
|
+
const prefsPath = import_path5.default.join(options.path, "prefs.js");
|
275188
|
+
const userPath = import_path5.default.join(options.path, "user.js");
|
275070
275189
|
const lines = Object.entries(options.preferences).map(([key, value]) => {
|
275071
275190
|
return `user_pref(${JSON.stringify(key)}, ${JSON.stringify(value)});`;
|
275072
275191
|
});
|
275073
275192
|
const result = await Promise.allSettled([
|
275074
275193
|
backupFile(userPath).then(async () => {
|
275075
|
-
await
|
275194
|
+
await import_fs.default.promises.writeFile(userPath, lines.join("\n"));
|
275076
275195
|
}),
|
275077
275196
|
backupFile(prefsPath)
|
275078
275197
|
]);
|
@@ -275257,22 +275376,22 @@ function getVersionComparator(browser) {
|
|
275257
275376
|
}
|
275258
275377
|
|
275259
275378
|
// node_modules/@puppeteer/browsers/lib/esm/Cache.js
|
275379
|
+
var import_fs2 = __toESM(require("fs"), 1);
|
275380
|
+
var import_os2 = __toESM(require("os"), 1);
|
275381
|
+
var import_path6 = __toESM(require("path"), 1);
|
275260
275382
|
var import_debug = __toESM(require_src3(), 1);
|
275261
|
-
import fs2 from "fs";
|
275262
|
-
import os2 from "os";
|
275263
|
-
import path6 from "path";
|
275264
275383
|
|
275265
275384
|
// node_modules/@puppeteer/browsers/lib/esm/detectPlatform.js
|
275266
|
-
|
275385
|
+
var import_os = __toESM(require("os"), 1);
|
275267
275386
|
function detectBrowserPlatform() {
|
275268
|
-
const platform =
|
275387
|
+
const platform = import_os.default.platform();
|
275269
275388
|
switch (platform) {
|
275270
275389
|
case "darwin":
|
275271
|
-
return
|
275390
|
+
return import_os.default.arch() === "arm64" ? BrowserPlatform.MAC_ARM : BrowserPlatform.MAC;
|
275272
275391
|
case "linux":
|
275273
275392
|
return BrowserPlatform.LINUX;
|
275274
275393
|
case "win32":
|
275275
|
-
return
|
275394
|
+
return import_os.default.arch() === "x64" || import_os.default.arch() === "arm64" && isWindows11(import_os.default.release()) ? BrowserPlatform.WIN64 : BrowserPlatform.WIN32;
|
275276
275395
|
default:
|
275277
275396
|
return void 0;
|
275278
275397
|
}
|
@@ -275326,17 +275445,17 @@ var Cache = class {
|
|
275326
275445
|
return this.#rootDir;
|
275327
275446
|
}
|
275328
275447
|
browserRoot(browser) {
|
275329
|
-
return
|
275448
|
+
return import_path6.default.join(this.#rootDir, browser);
|
275330
275449
|
}
|
275331
275450
|
metadataFile(browser) {
|
275332
|
-
return
|
275451
|
+
return import_path6.default.join(this.browserRoot(browser), ".metadata");
|
275333
275452
|
}
|
275334
275453
|
readMetadata(browser) {
|
275335
275454
|
const metatadaPath = this.metadataFile(browser);
|
275336
|
-
if (!
|
275455
|
+
if (!import_fs2.default.existsSync(metatadaPath)) {
|
275337
275456
|
return { aliases: {} };
|
275338
275457
|
}
|
275339
|
-
const data = JSON.parse(
|
275458
|
+
const data = JSON.parse(import_fs2.default.readFileSync(metatadaPath, "utf8"));
|
275340
275459
|
if (typeof data !== "object") {
|
275341
275460
|
throw new Error(".metadata is not an object");
|
275342
275461
|
}
|
@@ -275344,8 +275463,8 @@ var Cache = class {
|
|
275344
275463
|
}
|
275345
275464
|
writeMetadata(browser, metadata) {
|
275346
275465
|
const metatadaPath = this.metadataFile(browser);
|
275347
|
-
|
275348
|
-
|
275466
|
+
import_fs2.default.mkdirSync(import_path6.default.dirname(metatadaPath), { recursive: true });
|
275467
|
+
import_fs2.default.writeFileSync(metatadaPath, JSON.stringify(metadata, null, 2));
|
275349
275468
|
}
|
275350
275469
|
resolveAlias(browser, alias) {
|
275351
275470
|
const metadata = this.readMetadata(browser);
|
@@ -275355,10 +275474,10 @@ var Cache = class {
|
|
275355
275474
|
return metadata.aliases[alias];
|
275356
275475
|
}
|
275357
275476
|
installationDir(browser, platform, buildId) {
|
275358
|
-
return
|
275477
|
+
return import_path6.default.join(this.browserRoot(browser), `${platform}-${buildId}`);
|
275359
275478
|
}
|
275360
275479
|
clear() {
|
275361
|
-
|
275480
|
+
import_fs2.default.rmSync(this.#rootDir, {
|
275362
275481
|
force: true,
|
275363
275482
|
recursive: true,
|
275364
275483
|
maxRetries: 10,
|
@@ -275372,7 +275491,7 @@ var Cache = class {
|
|
275372
275491
|
delete metadata.aliases[alias];
|
275373
275492
|
}
|
275374
275493
|
}
|
275375
|
-
|
275494
|
+
import_fs2.default.rmSync(this.installationDir(browser, platform, buildId), {
|
275376
275495
|
force: true,
|
275377
275496
|
recursive: true,
|
275378
275497
|
maxRetries: 10,
|
@@ -275380,17 +275499,17 @@ var Cache = class {
|
|
275380
275499
|
});
|
275381
275500
|
}
|
275382
275501
|
getInstalledBrowsers() {
|
275383
|
-
if (!
|
275502
|
+
if (!import_fs2.default.existsSync(this.#rootDir)) {
|
275384
275503
|
return [];
|
275385
275504
|
}
|
275386
|
-
const types =
|
275505
|
+
const types = import_fs2.default.readdirSync(this.#rootDir);
|
275387
275506
|
const browsers = types.filter((t) => {
|
275388
275507
|
return Object.values(Browser3).includes(t);
|
275389
275508
|
});
|
275390
275509
|
return browsers.flatMap((browser) => {
|
275391
|
-
const files =
|
275510
|
+
const files = import_fs2.default.readdirSync(this.browserRoot(browser));
|
275392
275511
|
return files.map((file) => {
|
275393
|
-
const result = parseFolderPath(
|
275512
|
+
const result = parseFolderPath(import_path6.default.join(this.browserRoot(browser), file));
|
275394
275513
|
if (!result) {
|
275395
275514
|
return null;
|
275396
275515
|
}
|
@@ -275403,7 +275522,7 @@ var Cache = class {
|
|
275403
275522
|
computeExecutablePath(options) {
|
275404
275523
|
options.platform ??= detectBrowserPlatform();
|
275405
275524
|
if (!options.platform) {
|
275406
|
-
throw new Error(`Cannot download a binary for the provided platform: ${
|
275525
|
+
throw new Error(`Cannot download a binary for the provided platform: ${import_os2.default.platform()} (${import_os2.default.arch()})`);
|
275407
275526
|
}
|
275408
275527
|
try {
|
275409
275528
|
options.buildId = this.resolveAlias(options.browser, options.buildId) ?? options.buildId;
|
@@ -275411,11 +275530,11 @@ var Cache = class {
|
|
275411
275530
|
debugCache("could not read .metadata file for the browser");
|
275412
275531
|
}
|
275413
275532
|
const installationDir = this.installationDir(options.browser, options.platform, options.buildId);
|
275414
|
-
return
|
275533
|
+
return import_path6.default.join(installationDir, executablePathByBrowser[options.browser](options.platform, options.buildId));
|
275415
275534
|
}
|
275416
275535
|
};
|
275417
275536
|
function parseFolderPath(folderPath) {
|
275418
|
-
const name2 =
|
275537
|
+
const name2 = import_path6.default.basename(folderPath);
|
275419
275538
|
const splits = name2.split("-");
|
275420
275539
|
if (splits.length !== 2) {
|
275421
275540
|
return;
|
@@ -275438,11 +275557,11 @@ function computeExecutablePath(options) {
|
|
275438
275557
|
function computeSystemExecutablePath(options) {
|
275439
275558
|
options.platform ??= detectBrowserPlatform();
|
275440
275559
|
if (!options.platform) {
|
275441
|
-
throw new Error(`Cannot download a binary for the provided platform: ${
|
275560
|
+
throw new Error(`Cannot download a binary for the provided platform: ${import_os3.default.platform()} (${import_os3.default.arch()})`);
|
275442
275561
|
}
|
275443
275562
|
const path10 = resolveSystemExecutablePath2(options.browser, options.platform, options.channel);
|
275444
275563
|
try {
|
275445
|
-
accessSync(path10);
|
275564
|
+
(0, import_fs3.accessSync)(path10);
|
275446
275565
|
} catch (error3) {
|
275447
275566
|
throw new Error(`Could not find Google Chrome executable for channel '${options.channel}' at '${path10}'.`);
|
275448
275567
|
}
|
@@ -275529,7 +275648,7 @@ var Process = class {
|
|
275529
275648
|
}, {}),
|
275530
275649
|
stdio
|
275531
275650
|
});
|
275532
|
-
this.#browserProcess =
|
275651
|
+
this.#browserProcess = import_child_process.default.spawn(this.#executablePath, this.#args, {
|
275533
275652
|
detached: opts.detached,
|
275534
275653
|
env: env2,
|
275535
275654
|
stdio
|
@@ -275629,7 +275748,7 @@ var Process = class {
|
|
275629
275748
|
debugLaunch(`Browser process ${this.#browserProcess.pid} exists`);
|
275630
275749
|
if (process.platform === "win32") {
|
275631
275750
|
try {
|
275632
|
-
|
275751
|
+
import_child_process.default.execSync(`taskkill /pid ${this.#browserProcess.pid} /T /F`);
|
275633
275752
|
} catch (error3) {
|
275634
275753
|
debugLaunch(`Killing ${this.#browserProcess.pid} using taskkill failed`, error3);
|
275635
275754
|
this.#browserProcess.kill();
|
@@ -275654,7 +275773,7 @@ Error cause: ${isErrorLike2(error3) ? error3.stack : error3}`);
|
|
275654
275773
|
if (!this.#browserProcess.stderr) {
|
275655
275774
|
throw new Error("`browserProcess` does not have stderr.");
|
275656
275775
|
}
|
275657
|
-
const rl =
|
275776
|
+
const rl = import_readline.default.createInterface(this.#browserProcess.stderr);
|
275658
275777
|
let stderr = "";
|
275659
275778
|
return new Promise((resolve5, reject) => {
|
275660
275779
|
rl.on("line", onLine);
|
@@ -275728,7 +275847,7 @@ var TimeoutError2 = class extends Error {
|
|
275728
275847
|
};
|
275729
275848
|
|
275730
275849
|
// node_modules/@puppeteer/browsers/lib/esm/install.js
|
275731
|
-
|
275850
|
+
var import_os4 = __toESM(require("os"), 1);
|
275732
275851
|
|
275733
275852
|
// node_modules/@puppeteer/browsers/lib/esm/fileUtil.js
|
275734
275853
|
var import_extract_zip = __toESM(require_extract_zip(), 1);
|
@@ -275740,7 +275859,7 @@ var debugInstall = (0, import_debug2.default)("puppeteer:browsers:install");
|
|
275740
275859
|
async function uninstall(options) {
|
275741
275860
|
options.platform ??= detectBrowserPlatform();
|
275742
275861
|
if (!options.platform) {
|
275743
|
-
throw new Error(`Cannot detect the browser platform for: ${
|
275862
|
+
throw new Error(`Cannot detect the browser platform for: ${import_os4.default.platform()} (${import_os4.default.arch()})`);
|
275744
275863
|
}
|
275745
275864
|
new Cache(options.cacheDir).uninstall(options.browser, options.platform, options.buildId);
|
275746
275865
|
}
|
@@ -275779,8 +275898,8 @@ function getProcessArgvBin() {
|
|
275779
275898
|
}
|
275780
275899
|
|
275781
275900
|
// node_modules/@puppeteer/browsers/node_modules/yargs-parser/build/lib/index.js
|
275782
|
-
|
275783
|
-
|
275901
|
+
var import_util43 = require("util");
|
275902
|
+
var import_path7 = require("path");
|
275784
275903
|
|
275785
275904
|
// node_modules/@puppeteer/browsers/node_modules/yargs-parser/build/lib/string-utils.js
|
275786
275905
|
function camelCase(str) {
|
@@ -276718,7 +276837,7 @@ function stripQuotes(val) {
|
|
276718
276837
|
}
|
276719
276838
|
|
276720
276839
|
// node_modules/@puppeteer/browsers/node_modules/yargs-parser/build/lib/index.js
|
276721
|
-
|
276840
|
+
var import_fs4 = require("fs");
|
276722
276841
|
var _a3;
|
276723
276842
|
var _b;
|
276724
276843
|
var _c;
|
@@ -276736,14 +276855,14 @@ var parser = new YargsParser({
|
|
276736
276855
|
env: () => {
|
276737
276856
|
return env;
|
276738
276857
|
},
|
276739
|
-
format,
|
276740
|
-
normalize,
|
276741
|
-
resolve,
|
276858
|
+
format: import_util43.format,
|
276859
|
+
normalize: import_path7.normalize,
|
276860
|
+
resolve: import_path7.resolve,
|
276742
276861
|
require: (path10) => {
|
276743
|
-
if (typeof
|
276744
|
-
return
|
276862
|
+
if (typeof require !== "undefined") {
|
276863
|
+
return require(path10);
|
276745
276864
|
} else if (path10.match(/\.json$/)) {
|
276746
|
-
return JSON.parse(readFileSync(path10, "utf8"));
|
276865
|
+
return JSON.parse((0, import_fs4.readFileSync)(path10, "utf8"));
|
276747
276866
|
} else {
|
276748
276867
|
throw Error("only .json config files are supported in ESM");
|
276749
276868
|
}
|
@@ -276762,7 +276881,7 @@ yargsParser.looksLikeNumber = looksLikeNumber;
|
|
276762
276881
|
var lib_default = yargsParser;
|
276763
276882
|
|
276764
276883
|
// node_modules/@puppeteer/browsers/node_modules/yargs/lib/platform-shims/esm.mjs
|
276765
|
-
|
276884
|
+
var import_assert29 = require("assert");
|
276766
276885
|
|
276767
276886
|
// node_modules/@puppeteer/browsers/node_modules/cliui/build/lib/index.js
|
276768
276887
|
var align = {
|
@@ -277051,44 +277170,44 @@ function ui(opts) {
|
|
277051
277170
|
}
|
277052
277171
|
|
277053
277172
|
// node_modules/escalade/sync/index.mjs
|
277054
|
-
|
277055
|
-
|
277173
|
+
var import_path8 = require("path");
|
277174
|
+
var import_fs5 = require("fs");
|
277056
277175
|
function sync_default(start, callback) {
|
277057
|
-
let dir =
|
277058
|
-
let tmp, stats = statSync(dir);
|
277176
|
+
let dir = (0, import_path8.resolve)(".", start);
|
277177
|
+
let tmp, stats = (0, import_fs5.statSync)(dir);
|
277059
277178
|
if (!stats.isDirectory()) {
|
277060
|
-
dir = dirname(dir);
|
277179
|
+
dir = (0, import_path8.dirname)(dir);
|
277061
277180
|
}
|
277062
277181
|
while (true) {
|
277063
|
-
tmp = callback(dir, readdirSync(dir));
|
277182
|
+
tmp = callback(dir, (0, import_fs5.readdirSync)(dir));
|
277064
277183
|
if (tmp)
|
277065
|
-
return
|
277066
|
-
dir = dirname(tmp = dir);
|
277184
|
+
return (0, import_path8.resolve)(dir, tmp);
|
277185
|
+
dir = (0, import_path8.dirname)(tmp = dir);
|
277067
277186
|
if (tmp === dir)
|
277068
277187
|
break;
|
277069
277188
|
}
|
277070
277189
|
}
|
277071
277190
|
|
277072
277191
|
// node_modules/@puppeteer/browsers/node_modules/yargs/lib/platform-shims/esm.mjs
|
277073
|
-
|
277074
|
-
|
277075
|
-
|
277076
|
-
|
277192
|
+
var import_util45 = require("util");
|
277193
|
+
var import_fs7 = require("fs");
|
277194
|
+
var import_url2 = require("url");
|
277195
|
+
var import_path10 = require("path");
|
277077
277196
|
|
277078
277197
|
// node_modules/y18n/build/lib/platform-shims/node.js
|
277079
|
-
|
277080
|
-
|
277081
|
-
|
277198
|
+
var import_fs6 = require("fs");
|
277199
|
+
var import_util44 = require("util");
|
277200
|
+
var import_path9 = require("path");
|
277082
277201
|
var node_default = {
|
277083
277202
|
fs: {
|
277084
|
-
readFileSync:
|
277085
|
-
writeFile
|
277203
|
+
readFileSync: import_fs6.readFileSync,
|
277204
|
+
writeFile: import_fs6.writeFile
|
277086
277205
|
},
|
277087
|
-
format:
|
277088
|
-
resolve:
|
277206
|
+
format: import_util44.format,
|
277207
|
+
resolve: import_path9.resolve,
|
277089
277208
|
exists: (file) => {
|
277090
277209
|
try {
|
277091
|
-
return
|
277210
|
+
return (0, import_fs6.statSync)(file).isFile();
|
277092
277211
|
} catch (err) {
|
277093
277212
|
return false;
|
277094
277213
|
}
|
@@ -277263,26 +277382,27 @@ var y18n2 = (opts) => {
|
|
277263
277382
|
var y18n_default = y18n2;
|
277264
277383
|
|
277265
277384
|
// node_modules/@puppeteer/browsers/node_modules/yargs/lib/platform-shims/esm.mjs
|
277385
|
+
var import_meta = {};
|
277266
277386
|
var REQUIRE_ERROR = "require is not supported by ESM";
|
277267
277387
|
var REQUIRE_DIRECTORY_ERROR = "loading a directory of commands is not supported yet for ESM";
|
277268
277388
|
var __dirname2;
|
277269
277389
|
try {
|
277270
|
-
__dirname2 = fileURLToPath(
|
277390
|
+
__dirname2 = (0, import_url2.fileURLToPath)(import_meta.url);
|
277271
277391
|
} catch (e) {
|
277272
277392
|
__dirname2 = process.cwd();
|
277273
277393
|
}
|
277274
277394
|
var mainFilename = __dirname2.substring(0, __dirname2.lastIndexOf("node_modules"));
|
277275
277395
|
var esm_default = {
|
277276
277396
|
assert: {
|
277277
|
-
notStrictEqual,
|
277278
|
-
strictEqual
|
277397
|
+
notStrictEqual: import_assert29.notStrictEqual,
|
277398
|
+
strictEqual: import_assert29.strictEqual
|
277279
277399
|
},
|
277280
277400
|
cliui: ui,
|
277281
277401
|
findUp: sync_default,
|
277282
277402
|
getEnv: (key) => {
|
277283
277403
|
return process.env[key];
|
277284
277404
|
},
|
277285
|
-
inspect,
|
277405
|
+
inspect: import_util45.inspect,
|
277286
277406
|
getCallerFile: () => {
|
277287
277407
|
throw new YError(REQUIRE_DIRECTORY_ERROR);
|
277288
277408
|
},
|
@@ -277290,11 +277410,11 @@ var esm_default = {
|
|
277290
277410
|
mainFilename: mainFilename || process.cwd(),
|
277291
277411
|
Parser: lib_default,
|
277292
277412
|
path: {
|
277293
|
-
basename,
|
277294
|
-
dirname:
|
277295
|
-
extname,
|
277296
|
-
relative,
|
277297
|
-
resolve:
|
277413
|
+
basename: import_path10.basename,
|
277414
|
+
dirname: import_path10.dirname,
|
277415
|
+
extname: import_path10.extname,
|
277416
|
+
relative: import_path10.relative,
|
277417
|
+
resolve: import_path10.resolve
|
277298
277418
|
},
|
277299
277419
|
process: {
|
277300
277420
|
argv: () => process.argv,
|
@@ -277305,7 +277425,7 @@ var esm_default = {
|
|
277305
277425
|
nextTick: process.nextTick,
|
277306
277426
|
stdColumns: typeof process.stdout.columns !== "undefined" ? process.stdout.columns : null
|
277307
277427
|
},
|
277308
|
-
readFileSync:
|
277428
|
+
readFileSync: import_fs7.readFileSync,
|
277309
277429
|
require: () => {
|
277310
277430
|
throw new YError(REQUIRE_ERROR);
|
277311
277431
|
},
|
@@ -277316,7 +277436,7 @@ var esm_default = {
|
|
277316
277436
|
return [...str].length;
|
277317
277437
|
},
|
277318
277438
|
y18n: y18n_default({
|
277319
|
-
directory:
|
277439
|
+
directory: (0, import_path10.resolve)(__dirname2, "../../../locales"),
|
277320
277440
|
updateFiles: false
|
277321
277441
|
})
|
277322
277442
|
};
|
@@ -277335,9 +277455,9 @@ init_util();
|
|
277335
277455
|
init_assert();
|
277336
277456
|
|
277337
277457
|
// node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserLauncher.js
|
277338
|
-
|
277339
|
-
|
277340
|
-
|
277458
|
+
var import_fs8 = require("fs");
|
277459
|
+
var import_os5 = require("os");
|
277460
|
+
var import_path11 = require("path");
|
277341
277461
|
init_rxjs();
|
277342
277462
|
init_Errors();
|
277343
277463
|
init_util();
|
@@ -277428,7 +277548,7 @@ var BrowserLauncher = class {
|
|
277428
277548
|
...options,
|
277429
277549
|
protocol
|
277430
277550
|
});
|
277431
|
-
if (!existsSync(launchArgs.executablePath)) {
|
277551
|
+
if (!(0, import_fs8.existsSync)(launchArgs.executablePath)) {
|
277432
277552
|
throw new Error(`Browser was not found at the configured executablePath (${launchArgs.executablePath})`);
|
277433
277553
|
}
|
277434
277554
|
const usePipe = launchArgs.args.includes("--remote-debugging-pipe");
|
@@ -277569,12 +277689,12 @@ var BrowserLauncher = class {
|
|
277569
277689
|
});
|
277570
277690
|
}
|
277571
277691
|
getProfilePath() {
|
277572
|
-
return join(this.puppeteer.configuration.temporaryDirectory ?? tmpdir(), `puppeteer_dev_${this.browser}_profile-`);
|
277692
|
+
return (0, import_path11.join)(this.puppeteer.configuration.temporaryDirectory ?? (0, import_os5.tmpdir)(), `puppeteer_dev_${this.browser}_profile-`);
|
277573
277693
|
}
|
277574
277694
|
resolveExecutablePath(headless) {
|
277575
277695
|
let executablePath3 = this.puppeteer.configuration.executablePath;
|
277576
277696
|
if (executablePath3) {
|
277577
|
-
if (!existsSync(executablePath3)) {
|
277697
|
+
if (!(0, import_fs8.existsSync)(executablePath3)) {
|
277578
277698
|
throw new Error(`Tried to find the browser at the configured path (${executablePath3}), but no executable was found.`);
|
277579
277699
|
}
|
277580
277700
|
return executablePath3;
|
@@ -277596,7 +277716,7 @@ var BrowserLauncher = class {
|
|
277596
277716
|
browser: puppeteerBrowserToInstalledBrowser(this.browser, headless),
|
277597
277717
|
buildId: this.puppeteer.browserVersion
|
277598
277718
|
});
|
277599
|
-
if (!existsSync(executablePath3)) {
|
277719
|
+
if (!(0, import_fs8.existsSync)(executablePath3)) {
|
277600
277720
|
const configVersion = this.puppeteer.configuration?.[this.browser]?.version;
|
277601
277721
|
if (configVersion) {
|
277602
277722
|
throw new Error(`Tried to find the browser at the configured path (${executablePath3}) for version ${configVersion}, but no executable was found.`);
|
@@ -277619,14 +277739,14 @@ For (2), check out our guide on configuring puppeteer at https://pptr.dev/guides
|
|
277619
277739
|
};
|
277620
277740
|
|
277621
277741
|
// node_modules/puppeteer-core/lib/esm/puppeteer/node/util/fs.js
|
277622
|
-
|
277742
|
+
var import_fs9 = __toESM(require("fs"), 1);
|
277623
277743
|
var rmOptions = {
|
277624
277744
|
force: true,
|
277625
277745
|
recursive: true,
|
277626
277746
|
maxRetries: 5
|
277627
277747
|
};
|
277628
277748
|
async function rm(path10) {
|
277629
|
-
await
|
277749
|
+
await import_fs9.default.promises.rm(path10, rmOptions);
|
277630
277750
|
}
|
277631
277751
|
|
277632
277752
|
// node_modules/puppeteer-core/lib/esm/puppeteer/node/ChromeLauncher.js
|
@@ -277636,7 +277756,7 @@ var ChromeLauncher = class extends BrowserLauncher {
|
|
277636
277756
|
}
|
277637
277757
|
launch(options = {}) {
|
277638
277758
|
if (this.puppeteer.configuration.logLevel === "warn" && process.platform === "darwin" && process.arch === "x64") {
|
277639
|
-
const cpus =
|
277759
|
+
const cpus = import_os6.default.cpus();
|
277640
277760
|
if (cpus[0]?.model.includes("Apple")) {
|
277641
277761
|
console.warn([
|
277642
277762
|
"\x1B[1m\x1B[43m\x1B[30m",
|
@@ -277678,7 +277798,7 @@ var ChromeLauncher = class extends BrowserLauncher {
|
|
277678
277798
|
});
|
277679
277799
|
if (userDataDirIndex < 0) {
|
277680
277800
|
isTempUserDataDir = true;
|
277681
|
-
chromeArguments.push(`--user-data-dir=${await mkdtemp(this.getProfilePath())}`);
|
277801
|
+
chromeArguments.push(`--user-data-dir=${await (0, import_promises.mkdtemp)(this.getProfilePath())}`);
|
277682
277802
|
userDataDirIndex = chromeArguments.length - 1;
|
277683
277803
|
}
|
277684
277804
|
const userDataDir = chromeArguments[userDataDirIndex].split("=", 2)[1];
|
@@ -277769,7 +277889,7 @@ var ChromeLauncher = class extends BrowserLauncher {
|
|
277769
277889
|
});
|
277770
277890
|
const { devtools = false, headless = !devtools, args = [], userDataDir } = options;
|
277771
277891
|
if (userDataDir) {
|
277772
|
-
chromeArguments.push(`--user-data-dir=${
|
277892
|
+
chromeArguments.push(`--user-data-dir=${import_path12.default.resolve(userDataDir)}`);
|
277773
277893
|
}
|
277774
277894
|
if (devtools) {
|
277775
277895
|
chromeArguments.push("--auto-open-devtools-for-tabs");
|
@@ -277831,10 +277951,10 @@ function removeMatchingFlags(array, flag) {
|
|
277831
277951
|
}
|
277832
277952
|
|
277833
277953
|
// node_modules/puppeteer-core/lib/esm/puppeteer/node/FirefoxLauncher.js
|
277834
|
-
|
277835
|
-
|
277836
|
-
|
277837
|
-
|
277954
|
+
var import_fs11 = __toESM(require("fs"), 1);
|
277955
|
+
var import_promises2 = require("fs/promises");
|
277956
|
+
var import_os7 = __toESM(require("os"), 1);
|
277957
|
+
var import_path13 = __toESM(require("path"), 1);
|
277838
277958
|
init_util();
|
277839
277959
|
init_assert();
|
277840
277960
|
var FirefoxLauncher = class extends BrowserLauncher {
|
@@ -277887,7 +278007,7 @@ var FirefoxLauncher = class extends BrowserLauncher {
|
|
277887
278007
|
}
|
277888
278008
|
isTempUserDataDir = false;
|
277889
278009
|
} else {
|
277890
|
-
userDataDir = await
|
278010
|
+
userDataDir = await (0, import_promises2.mkdtemp)(this.getProfilePath());
|
277891
278011
|
firefoxArguments.push("--profile");
|
277892
278012
|
firefoxArguments.push(userDataDir);
|
277893
278013
|
}
|
@@ -277922,11 +278042,11 @@ var FirefoxLauncher = class extends BrowserLauncher {
|
|
277922
278042
|
const backupSuffix = ".puppeteer";
|
277923
278043
|
const backupFiles = ["prefs.js", "user.js"];
|
277924
278044
|
const results = await Promise.allSettled(backupFiles.map(async (file) => {
|
277925
|
-
const prefsBackupPath =
|
277926
|
-
if (
|
277927
|
-
const prefsPath =
|
277928
|
-
await unlink(prefsPath);
|
277929
|
-
await rename(prefsBackupPath, prefsPath);
|
278045
|
+
const prefsBackupPath = import_path13.default.join(userDataDir, file + backupSuffix);
|
278046
|
+
if (import_fs11.default.existsSync(prefsBackupPath)) {
|
278047
|
+
const prefsPath = import_path13.default.join(userDataDir, file);
|
278048
|
+
await (0, import_promises2.unlink)(prefsPath);
|
278049
|
+
await (0, import_promises2.rename)(prefsBackupPath, prefsPath);
|
277930
278050
|
}
|
277931
278051
|
}));
|
277932
278052
|
for (const result of results) {
|
@@ -277945,7 +278065,7 @@ var FirefoxLauncher = class extends BrowserLauncher {
|
|
277945
278065
|
defaultArgs(options = {}) {
|
277946
278066
|
const { devtools = false, headless = !devtools, args = [], userDataDir = null } = options;
|
277947
278067
|
const firefoxArguments = [];
|
277948
|
-
switch (
|
278068
|
+
switch (import_os7.default.platform()) {
|
277949
278069
|
case "darwin":
|
277950
278070
|
firefoxArguments.push("--foreground");
|
277951
278071
|
break;
|
@@ -278096,14 +278216,14 @@ var PuppeteerNode = class extends Puppeteer {
|
|
278096
278216
|
};
|
278097
278217
|
|
278098
278218
|
// node_modules/puppeteer-core/lib/esm/puppeteer/node/ScreenRecorder.js
|
278219
|
+
var import_child_process2 = require("child_process");
|
278220
|
+
var import_stream2 = require("stream");
|
278099
278221
|
var import_debug5 = __toESM(require_src(), 1);
|
278100
278222
|
init_rxjs();
|
278101
278223
|
init_CDPSession();
|
278102
278224
|
init_util();
|
278103
278225
|
init_decorators();
|
278104
278226
|
init_disposable();
|
278105
|
-
import { spawn, spawnSync } from "child_process";
|
278106
|
-
import { PassThrough } from "stream";
|
278107
278227
|
var __runInitializers22 = function(thisArg, initializers, value) {
|
278108
278228
|
var useValue = arguments.length > 2;
|
278109
278229
|
for (var i = 0; i < initializers.length; i++) {
|
@@ -278164,7 +278284,7 @@ var CRF_VALUE = 30;
|
|
278164
278284
|
var DEFAULT_FPS = 30;
|
278165
278285
|
var debugFfmpeg = (0, import_debug5.default)("puppeteer:ffmpeg");
|
278166
278286
|
var ScreenRecorder = (() => {
|
278167
|
-
let _classSuper = PassThrough;
|
278287
|
+
let _classSuper = import_stream2.PassThrough;
|
278168
278288
|
let _instanceExtraInitializers = [];
|
278169
278289
|
let _private_writeFrame_decorators;
|
278170
278290
|
let _private_writeFrame_descriptor;
|
@@ -278191,11 +278311,11 @@ var ScreenRecorder = (() => {
|
|
278191
278311
|
constructor(page2, width, height, { speed, scale, crop, format: format3, path: path10 } = {}) {
|
278192
278312
|
super({ allowHalfOpen: false });
|
278193
278313
|
path10 ??= "ffmpeg";
|
278194
|
-
const { error: error3 } = spawnSync(path10);
|
278314
|
+
const { error: error3 } = (0, import_child_process2.spawnSync)(path10);
|
278195
278315
|
if (error3) {
|
278196
278316
|
throw error3;
|
278197
278317
|
}
|
278198
|
-
this.#process = spawn(
|
278318
|
+
this.#process = (0, import_child_process2.spawn)(
|
278199
278319
|
path10,
|
278200
278320
|
[
|
278201
278321
|
["-loglevel", "error"],
|
@@ -278293,12 +278413,12 @@ var ScreenRecorder = (() => {
|
|
278293
278413
|
})();
|
278294
278414
|
|
278295
278415
|
// node_modules/puppeteer-core/lib/esm/puppeteer/puppeteer-core.js
|
278416
|
+
var import_fs13 = __toESM(require("fs"), 1);
|
278417
|
+
var import_path14 = __toESM(require("path"), 1);
|
278296
278418
|
init_environment();
|
278297
|
-
import fs5 from "fs";
|
278298
|
-
import path9 from "path";
|
278299
278419
|
environment.value = {
|
278300
|
-
fs:
|
278301
|
-
path:
|
278420
|
+
fs: import_fs13.default,
|
278421
|
+
path: import_path14.default,
|
278302
278422
|
ScreenRecorder
|
278303
278423
|
};
|
278304
278424
|
var puppeteer = new PuppeteerNode({
|
@@ -278312,9 +278432,9 @@ var {
|
|
278312
278432
|
} = puppeteer;
|
278313
278433
|
|
278314
278434
|
// node_modules/puppeteer/lib/esm/puppeteer/getConfiguration.js
|
278435
|
+
var import_os8 = require("os");
|
278436
|
+
var import_path15 = require("path");
|
278315
278437
|
var import_cosmiconfig = __toESM(require_dist15(), 1);
|
278316
|
-
import { homedir } from "os";
|
278317
|
-
import { join as join2 } from "path";
|
278318
278438
|
function getBooleanEnvVar(name2) {
|
278319
278439
|
const env2 = process.env[name2];
|
278320
278440
|
if (env2 === void 0) {
|
@@ -278390,7 +278510,7 @@ var getConfiguration = () => {
|
|
278390
278510
|
configuration2.firefox = getBrowserSetting("firefox", configuration2, {
|
278391
278511
|
skipDownload: true
|
278392
278512
|
});
|
278393
|
-
configuration2.cacheDirectory = process.env["PUPPETEER_CACHE_DIR"] ?? configuration2.cacheDirectory ??
|
278513
|
+
configuration2.cacheDirectory = process.env["PUPPETEER_CACHE_DIR"] ?? configuration2.cacheDirectory ?? (0, import_path15.join)((0, import_os8.homedir)(), ".cache", "puppeteer");
|
278394
278514
|
configuration2.temporaryDirectory = process.env["PUPPETEER_TMP_DIR"] ?? configuration2.temporaryDirectory;
|
278395
278515
|
configuration2.experiments ??= {};
|
278396
278516
|
return configuration2;
|
@@ -278565,11 +278685,13 @@ function _launch2(options) {
|
|
278565
278685
|
}
|
278566
278686
|
|
278567
278687
|
// output-es/Test.Util.Puppeteer/index.js
|
278688
|
+
var sequence_ = /* @__PURE__ */ traverse_(applicativeAff)(foldableArray)(identity2);
|
278568
278689
|
var testCondition2 = /* @__PURE__ */ testCondition(monadThrowAff)(monadEffectAff);
|
278569
278690
|
var for_2 = /* @__PURE__ */ for_(applicativeAff)(foldableArray);
|
278570
278691
|
var timeout2 = 24e4;
|
278571
278692
|
var textContentValue = (page2) => (selector2) => _bind(runPromiseAffE3(_unsafePageEval)(selector2)("element => element.textContent")(page2))((captionText) => _pure(captionText));
|
278572
278693
|
var show$p = (v) => v;
|
278694
|
+
var runTests = (arr) => fromAff(sequence_(arr));
|
278573
278695
|
var puppeteerTests = { logging: true, headless: true };
|
278574
278696
|
var log$p = (dictMonadEffect) => (x) => dictMonadEffect.liftEffect(log2(x));
|
278575
278697
|
var waitFor = (selector2) => (page2) => {
|
@@ -278612,8 +278734,9 @@ var testURL = (suffix) => (tests) => {
|
|
278612
278734
|
const testOn = (browser) => browserTests(suffix)(browser)(_bind(_liftEffect(_launch2({ browser, defaultViewport, headless: true })))(toAff$p(coerce)))(tests);
|
278613
278735
|
return [testOn("chrome"), testOn("firefox")];
|
278614
278736
|
};
|
278615
|
-
export
|
278616
|
-
|
278737
|
+
// Annotate the CommonJS export names for ESM import in node:
|
278738
|
+
0 && (module.exports = {
|
278739
|
+
_launch,
|
278617
278740
|
browserTests,
|
278618
278741
|
checkAttribute,
|
278619
278742
|
checkAttributeContains,
|
@@ -278621,21 +278744,23 @@ export {
|
|
278621
278744
|
click,
|
278622
278745
|
clickToggle,
|
278623
278746
|
defaultViewport,
|
278624
|
-
|
278747
|
+
for_,
|
278625
278748
|
getAttributeValue,
|
278626
|
-
|
278627
|
-
|
278749
|
+
goto,
|
278750
|
+
launch,
|
278628
278751
|
log$p,
|
278629
278752
|
puppeteerTests,
|
278753
|
+
runTests,
|
278754
|
+
sequence_,
|
278630
278755
|
show$p,
|
278631
|
-
|
278756
|
+
testCondition,
|
278632
278757
|
testURL,
|
278633
278758
|
textContentValue,
|
278634
|
-
|
278759
|
+
timeout,
|
278635
278760
|
waitFor,
|
278636
278761
|
waitForFigure,
|
278637
278762
|
waitForHidden
|
278638
|
-
};
|
278763
|
+
});
|
278639
278764
|
/* istanbul ignore if -- @preserve */
|
278640
278765
|
/* istanbul ignore next -- @preserve */
|
278641
278766
|
/*!
|