@magda/authentication-plugin-sdk 4.2.4 → 5.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1564 -487
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -443,9 +443,9 @@ var require_bytes = __commonJS({
|
|
|
443
443
|
}
|
|
444
444
|
});
|
|
445
445
|
|
|
446
|
-
// ../../node_modules/content-type/index.js
|
|
446
|
+
// ../../node_modules/body-parser/node_modules/content-type/index.js
|
|
447
447
|
var require_content_type = __commonJS({
|
|
448
|
-
"../../node_modules/content-type/index.js"(exports) {
|
|
448
|
+
"../../node_modules/body-parser/node_modules/content-type/index.js"(exports) {
|
|
449
449
|
"use strict";
|
|
450
450
|
init_cjs_shim();
|
|
451
451
|
var PARAM_REGEXP = /; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g;
|
|
@@ -488,7 +488,7 @@ var require_content_type = __commonJS({
|
|
|
488
488
|
throw new TypeError("argument string is required to be a string");
|
|
489
489
|
}
|
|
490
490
|
var index = header.indexOf(";");
|
|
491
|
-
var type = index !== -1 ? header.
|
|
491
|
+
var type = index !== -1 ? header.slice(0, index).trim() : header.trim();
|
|
492
492
|
if (!TYPE_REGEXP.test(type)) {
|
|
493
493
|
throw new TypeError("invalid media type");
|
|
494
494
|
}
|
|
@@ -505,8 +505,11 @@ var require_content_type = __commonJS({
|
|
|
505
505
|
index += match[0].length;
|
|
506
506
|
key = match[1].toLowerCase();
|
|
507
507
|
value = match[2];
|
|
508
|
-
if (value
|
|
509
|
-
value = value.
|
|
508
|
+
if (value.charCodeAt(0) === 34) {
|
|
509
|
+
value = value.slice(1, -1);
|
|
510
|
+
if (value.indexOf("\\") !== -1) {
|
|
511
|
+
value = value.replace(QESC_REGEXP, "$1");
|
|
512
|
+
}
|
|
510
513
|
}
|
|
511
514
|
obj.parameters[key] = value;
|
|
512
515
|
}
|
|
@@ -4995,6 +4998,11 @@ var require_raw_body = __commonJS({
|
|
|
4995
4998
|
function getRawBody(stream, options, callback) {
|
|
4996
4999
|
var done = callback;
|
|
4997
5000
|
var opts = options || {};
|
|
5001
|
+
if (stream === void 0) {
|
|
5002
|
+
throw new TypeError("argument stream is required");
|
|
5003
|
+
} else if (typeof stream !== "object" || stream === null || typeof stream.on !== "function") {
|
|
5004
|
+
throw new TypeError("argument stream must be a stream");
|
|
5005
|
+
}
|
|
4998
5006
|
if (options === true || typeof options === "string") {
|
|
4999
5007
|
opts = {
|
|
5000
5008
|
encoding: options
|
|
@@ -13979,6 +13987,8 @@ var require_json = __commonJS({
|
|
|
13979
13987
|
var typeis = require_type_is();
|
|
13980
13988
|
module.exports = json;
|
|
13981
13989
|
var FIRST_CHAR_REGEXP = /^[\x20\x09\x0a\x0d]*([^\x20\x09\x0a\x0d])/;
|
|
13990
|
+
var JSON_SYNTAX_CHAR = "#";
|
|
13991
|
+
var JSON_SYNTAX_REGEXP = /#+/g;
|
|
13982
13992
|
function json(options) {
|
|
13983
13993
|
var opts = options || {};
|
|
13984
13994
|
var limit = typeof opts.limit !== "number" ? bytes.parse(opts.limit || "100kb") : opts.limit;
|
|
@@ -14049,13 +14059,21 @@ var require_json = __commonJS({
|
|
|
14049
14059
|
}
|
|
14050
14060
|
function createStrictSyntaxError(str, char) {
|
|
14051
14061
|
var index = str.indexOf(char);
|
|
14052
|
-
var partial =
|
|
14062
|
+
var partial = "";
|
|
14063
|
+
if (index !== -1) {
|
|
14064
|
+
partial = str.substring(0, index) + JSON_SYNTAX_CHAR;
|
|
14065
|
+
for (var i = index + 1; i < str.length; i++) {
|
|
14066
|
+
partial += JSON_SYNTAX_CHAR;
|
|
14067
|
+
}
|
|
14068
|
+
}
|
|
14053
14069
|
try {
|
|
14054
14070
|
JSON.parse(partial);
|
|
14055
14071
|
throw new SyntaxError("strict violation");
|
|
14056
14072
|
} catch (e) {
|
|
14057
14073
|
return normalizeJsonSyntaxError(e, {
|
|
14058
|
-
message: e.message.replace(
|
|
14074
|
+
message: e.message.replace(JSON_SYNTAX_REGEXP, function(placeholder) {
|
|
14075
|
+
return str.substring(index, index + placeholder.length);
|
|
14076
|
+
}),
|
|
14059
14077
|
stack: e.stack
|
|
14060
14078
|
});
|
|
14061
14079
|
}
|
|
@@ -14215,9 +14233,72 @@ var require_text = __commonJS({
|
|
|
14215
14233
|
}
|
|
14216
14234
|
});
|
|
14217
14235
|
|
|
14218
|
-
// ../../node_modules/
|
|
14236
|
+
// ../../node_modules/es-errors/index.js
|
|
14237
|
+
var require_es_errors = __commonJS({
|
|
14238
|
+
"../../node_modules/es-errors/index.js"(exports, module) {
|
|
14239
|
+
"use strict";
|
|
14240
|
+
init_cjs_shim();
|
|
14241
|
+
module.exports = Error;
|
|
14242
|
+
}
|
|
14243
|
+
});
|
|
14244
|
+
|
|
14245
|
+
// ../../node_modules/es-errors/eval.js
|
|
14246
|
+
var require_eval = __commonJS({
|
|
14247
|
+
"../../node_modules/es-errors/eval.js"(exports, module) {
|
|
14248
|
+
"use strict";
|
|
14249
|
+
init_cjs_shim();
|
|
14250
|
+
module.exports = EvalError;
|
|
14251
|
+
}
|
|
14252
|
+
});
|
|
14253
|
+
|
|
14254
|
+
// ../../node_modules/es-errors/range.js
|
|
14255
|
+
var require_range = __commonJS({
|
|
14256
|
+
"../../node_modules/es-errors/range.js"(exports, module) {
|
|
14257
|
+
"use strict";
|
|
14258
|
+
init_cjs_shim();
|
|
14259
|
+
module.exports = RangeError;
|
|
14260
|
+
}
|
|
14261
|
+
});
|
|
14262
|
+
|
|
14263
|
+
// ../../node_modules/es-errors/ref.js
|
|
14264
|
+
var require_ref = __commonJS({
|
|
14265
|
+
"../../node_modules/es-errors/ref.js"(exports, module) {
|
|
14266
|
+
"use strict";
|
|
14267
|
+
init_cjs_shim();
|
|
14268
|
+
module.exports = ReferenceError;
|
|
14269
|
+
}
|
|
14270
|
+
});
|
|
14271
|
+
|
|
14272
|
+
// ../../node_modules/es-errors/syntax.js
|
|
14273
|
+
var require_syntax = __commonJS({
|
|
14274
|
+
"../../node_modules/es-errors/syntax.js"(exports, module) {
|
|
14275
|
+
"use strict";
|
|
14276
|
+
init_cjs_shim();
|
|
14277
|
+
module.exports = SyntaxError;
|
|
14278
|
+
}
|
|
14279
|
+
});
|
|
14280
|
+
|
|
14281
|
+
// ../../node_modules/es-errors/type.js
|
|
14282
|
+
var require_type = __commonJS({
|
|
14283
|
+
"../../node_modules/es-errors/type.js"(exports, module) {
|
|
14284
|
+
"use strict";
|
|
14285
|
+
init_cjs_shim();
|
|
14286
|
+
module.exports = TypeError;
|
|
14287
|
+
}
|
|
14288
|
+
});
|
|
14289
|
+
|
|
14290
|
+
// ../../node_modules/es-errors/uri.js
|
|
14291
|
+
var require_uri = __commonJS({
|
|
14292
|
+
"../../node_modules/es-errors/uri.js"(exports, module) {
|
|
14293
|
+
"use strict";
|
|
14294
|
+
init_cjs_shim();
|
|
14295
|
+
module.exports = URIError;
|
|
14296
|
+
}
|
|
14297
|
+
});
|
|
14298
|
+
|
|
14299
|
+
// ../../node_modules/has-symbols/shams.js
|
|
14219
14300
|
var require_shams = __commonJS({
|
|
14220
|
-
"../../node_modules/
|
|
14301
|
+
"../../node_modules/has-symbols/shams.js"(exports, module) {
|
|
14221
14302
|
"use strict";
|
|
14222
14303
|
init_cjs_shim();
|
|
14223
14304
|
module.exports = function hasSymbols() {
|
|
@@ -14268,12 +14349,12 @@ var require_shams = __commonJS({
|
|
|
14268
14349
|
}
|
|
14269
14350
|
});
|
|
14270
14351
|
|
|
14271
|
-
// ../../node_modules/
|
|
14352
|
+
// ../../node_modules/has-symbols/index.js
|
|
14272
14353
|
var require_has_symbols = __commonJS({
|
|
14273
|
-
"../../node_modules/
|
|
14354
|
+
"../../node_modules/has-symbols/index.js"(exports, module) {
|
|
14274
14355
|
"use strict";
|
|
14275
14356
|
init_cjs_shim();
|
|
14276
|
-
var origSymbol =
|
|
14357
|
+
var origSymbol = typeof Symbol !== "undefined" && Symbol;
|
|
14277
14358
|
var hasSymbolSham = require_shams();
|
|
14278
14359
|
module.exports = function hasNativeSymbols() {
|
|
14279
14360
|
if (typeof origSymbol !== "function") {
|
|
@@ -14293,45 +14374,86 @@ var require_has_symbols = __commonJS({
|
|
|
14293
14374
|
}
|
|
14294
14375
|
});
|
|
14295
14376
|
|
|
14296
|
-
// ../../node_modules/
|
|
14377
|
+
// ../../node_modules/has-proto/index.js
|
|
14378
|
+
var require_has_proto = __commonJS({
|
|
14379
|
+
"../../node_modules/has-proto/index.js"(exports, module) {
|
|
14380
|
+
"use strict";
|
|
14381
|
+
init_cjs_shim();
|
|
14382
|
+
var test = {
|
|
14383
|
+
foo: {}
|
|
14384
|
+
};
|
|
14385
|
+
var $Object = Object;
|
|
14386
|
+
module.exports = function hasProto() {
|
|
14387
|
+
return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
|
|
14388
|
+
};
|
|
14389
|
+
}
|
|
14390
|
+
});
|
|
14391
|
+
|
|
14392
|
+
// ../../node_modules/qs/node_modules/function-bind/implementation.js
|
|
14297
14393
|
var require_implementation = __commonJS({
|
|
14298
|
-
"../../node_modules/function-bind/implementation.js"(exports, module) {
|
|
14394
|
+
"../../node_modules/qs/node_modules/function-bind/implementation.js"(exports, module) {
|
|
14299
14395
|
"use strict";
|
|
14300
14396
|
init_cjs_shim();
|
|
14301
14397
|
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
14302
|
-
var slice = Array.prototype.slice;
|
|
14303
14398
|
var toStr = Object.prototype.toString;
|
|
14399
|
+
var max = Math.max;
|
|
14304
14400
|
var funcType = "[object Function]";
|
|
14401
|
+
var concatty = function concatty2(a, b) {
|
|
14402
|
+
var arr = [];
|
|
14403
|
+
for (var i = 0; i < a.length; i += 1) {
|
|
14404
|
+
arr[i] = a[i];
|
|
14405
|
+
}
|
|
14406
|
+
for (var j = 0; j < b.length; j += 1) {
|
|
14407
|
+
arr[j + a.length] = b[j];
|
|
14408
|
+
}
|
|
14409
|
+
return arr;
|
|
14410
|
+
};
|
|
14411
|
+
var slicy = function slicy2(arrLike, offset) {
|
|
14412
|
+
var arr = [];
|
|
14413
|
+
for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
|
|
14414
|
+
arr[j] = arrLike[i];
|
|
14415
|
+
}
|
|
14416
|
+
return arr;
|
|
14417
|
+
};
|
|
14418
|
+
var joiny = function(arr, joiner) {
|
|
14419
|
+
var str = "";
|
|
14420
|
+
for (var i = 0; i < arr.length; i += 1) {
|
|
14421
|
+
str += arr[i];
|
|
14422
|
+
if (i + 1 < arr.length) {
|
|
14423
|
+
str += joiner;
|
|
14424
|
+
}
|
|
14425
|
+
}
|
|
14426
|
+
return str;
|
|
14427
|
+
};
|
|
14305
14428
|
module.exports = function bind(that) {
|
|
14306
14429
|
var target = this;
|
|
14307
|
-
if (typeof target !== "function" || toStr.
|
|
14430
|
+
if (typeof target !== "function" || toStr.apply(target) !== funcType) {
|
|
14308
14431
|
throw new TypeError(ERROR_MESSAGE + target);
|
|
14309
14432
|
}
|
|
14310
|
-
var args =
|
|
14433
|
+
var args = slicy(arguments, 1);
|
|
14311
14434
|
var bound;
|
|
14312
14435
|
var binder = function() {
|
|
14313
14436
|
if (this instanceof bound) {
|
|
14314
14437
|
var result = target.apply(
|
|
14315
14438
|
this,
|
|
14316
|
-
args
|
|
14439
|
+
concatty(args, arguments)
|
|
14317
14440
|
);
|
|
14318
14441
|
if (Object(result) === result) {
|
|
14319
14442
|
return result;
|
|
14320
14443
|
}
|
|
14321
14444
|
return this;
|
|
14322
|
-
} else {
|
|
14323
|
-
return target.apply(
|
|
14324
|
-
that,
|
|
14325
|
-
args.concat(slice.call(arguments))
|
|
14326
|
-
);
|
|
14327
14445
|
}
|
|
14446
|
+
return target.apply(
|
|
14447
|
+
that,
|
|
14448
|
+
concatty(args, arguments)
|
|
14449
|
+
);
|
|
14328
14450
|
};
|
|
14329
|
-
var boundLength =
|
|
14451
|
+
var boundLength = max(0, target.length - args.length);
|
|
14330
14452
|
var boundArgs = [];
|
|
14331
14453
|
for (var i = 0; i < boundLength; i++) {
|
|
14332
|
-
boundArgs
|
|
14454
|
+
boundArgs[i] = "$" + i;
|
|
14333
14455
|
}
|
|
14334
|
-
bound = Function("binder", "return function (" + boundArgs
|
|
14456
|
+
bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
14335
14457
|
if (target.prototype) {
|
|
14336
14458
|
var Empty = function Empty2() {
|
|
14337
14459
|
};
|
|
@@ -14344,9 +14466,9 @@ var require_implementation = __commonJS({
|
|
|
14344
14466
|
}
|
|
14345
14467
|
});
|
|
14346
14468
|
|
|
14347
|
-
// ../../node_modules/function-bind/index.js
|
|
14469
|
+
// ../../node_modules/qs/node_modules/function-bind/index.js
|
|
14348
14470
|
var require_function_bind = __commonJS({
|
|
14349
|
-
"../../node_modules/function-bind/index.js"(exports, module) {
|
|
14471
|
+
"../../node_modules/qs/node_modules/function-bind/index.js"(exports, module) {
|
|
14350
14472
|
"use strict";
|
|
14351
14473
|
init_cjs_shim();
|
|
14352
14474
|
var implementation = require_implementation();
|
|
@@ -14354,25 +14476,119 @@ var require_function_bind = __commonJS({
|
|
|
14354
14476
|
}
|
|
14355
14477
|
});
|
|
14356
14478
|
|
|
14357
|
-
// ../../node_modules/
|
|
14358
|
-
var
|
|
14359
|
-
"../../node_modules/
|
|
14479
|
+
// ../../node_modules/hasown/node_modules/function-bind/implementation.js
|
|
14480
|
+
var require_implementation2 = __commonJS({
|
|
14481
|
+
"../../node_modules/hasown/node_modules/function-bind/implementation.js"(exports, module) {
|
|
14360
14482
|
"use strict";
|
|
14361
14483
|
init_cjs_shim();
|
|
14362
|
-
var
|
|
14363
|
-
|
|
14484
|
+
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
14485
|
+
var toStr = Object.prototype.toString;
|
|
14486
|
+
var max = Math.max;
|
|
14487
|
+
var funcType = "[object Function]";
|
|
14488
|
+
var concatty = function concatty2(a, b) {
|
|
14489
|
+
var arr = [];
|
|
14490
|
+
for (var i = 0; i < a.length; i += 1) {
|
|
14491
|
+
arr[i] = a[i];
|
|
14492
|
+
}
|
|
14493
|
+
for (var j = 0; j < b.length; j += 1) {
|
|
14494
|
+
arr[j + a.length] = b[j];
|
|
14495
|
+
}
|
|
14496
|
+
return arr;
|
|
14497
|
+
};
|
|
14498
|
+
var slicy = function slicy2(arrLike, offset) {
|
|
14499
|
+
var arr = [];
|
|
14500
|
+
for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
|
|
14501
|
+
arr[j] = arrLike[i];
|
|
14502
|
+
}
|
|
14503
|
+
return arr;
|
|
14504
|
+
};
|
|
14505
|
+
var joiny = function(arr, joiner) {
|
|
14506
|
+
var str = "";
|
|
14507
|
+
for (var i = 0; i < arr.length; i += 1) {
|
|
14508
|
+
str += arr[i];
|
|
14509
|
+
if (i + 1 < arr.length) {
|
|
14510
|
+
str += joiner;
|
|
14511
|
+
}
|
|
14512
|
+
}
|
|
14513
|
+
return str;
|
|
14514
|
+
};
|
|
14515
|
+
module.exports = function bind(that) {
|
|
14516
|
+
var target = this;
|
|
14517
|
+
if (typeof target !== "function" || toStr.apply(target) !== funcType) {
|
|
14518
|
+
throw new TypeError(ERROR_MESSAGE + target);
|
|
14519
|
+
}
|
|
14520
|
+
var args = slicy(arguments, 1);
|
|
14521
|
+
var bound;
|
|
14522
|
+
var binder = function() {
|
|
14523
|
+
if (this instanceof bound) {
|
|
14524
|
+
var result = target.apply(
|
|
14525
|
+
this,
|
|
14526
|
+
concatty(args, arguments)
|
|
14527
|
+
);
|
|
14528
|
+
if (Object(result) === result) {
|
|
14529
|
+
return result;
|
|
14530
|
+
}
|
|
14531
|
+
return this;
|
|
14532
|
+
}
|
|
14533
|
+
return target.apply(
|
|
14534
|
+
that,
|
|
14535
|
+
concatty(args, arguments)
|
|
14536
|
+
);
|
|
14537
|
+
};
|
|
14538
|
+
var boundLength = max(0, target.length - args.length);
|
|
14539
|
+
var boundArgs = [];
|
|
14540
|
+
for (var i = 0; i < boundLength; i++) {
|
|
14541
|
+
boundArgs[i] = "$" + i;
|
|
14542
|
+
}
|
|
14543
|
+
bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
14544
|
+
if (target.prototype) {
|
|
14545
|
+
var Empty = function Empty2() {
|
|
14546
|
+
};
|
|
14547
|
+
Empty.prototype = target.prototype;
|
|
14548
|
+
bound.prototype = new Empty();
|
|
14549
|
+
Empty.prototype = null;
|
|
14550
|
+
}
|
|
14551
|
+
return bound;
|
|
14552
|
+
};
|
|
14553
|
+
}
|
|
14554
|
+
});
|
|
14555
|
+
|
|
14556
|
+
// ../../node_modules/hasown/node_modules/function-bind/index.js
|
|
14557
|
+
var require_function_bind2 = __commonJS({
|
|
14558
|
+
"../../node_modules/hasown/node_modules/function-bind/index.js"(exports, module) {
|
|
14559
|
+
"use strict";
|
|
14560
|
+
init_cjs_shim();
|
|
14561
|
+
var implementation = require_implementation2();
|
|
14562
|
+
module.exports = Function.prototype.bind || implementation;
|
|
14563
|
+
}
|
|
14564
|
+
});
|
|
14565
|
+
|
|
14566
|
+
// ../../node_modules/hasown/index.js
|
|
14567
|
+
var require_hasown = __commonJS({
|
|
14568
|
+
"../../node_modules/hasown/index.js"(exports, module) {
|
|
14569
|
+
"use strict";
|
|
14570
|
+
init_cjs_shim();
|
|
14571
|
+
var call = Function.prototype.call;
|
|
14572
|
+
var $hasOwn = Object.prototype.hasOwnProperty;
|
|
14573
|
+
var bind = require_function_bind2();
|
|
14574
|
+
module.exports = bind.call(call, $hasOwn);
|
|
14364
14575
|
}
|
|
14365
14576
|
});
|
|
14366
14577
|
|
|
14367
|
-
// ../../node_modules/
|
|
14578
|
+
// ../../node_modules/qs/node_modules/get-intrinsic/index.js
|
|
14368
14579
|
var require_get_intrinsic = __commonJS({
|
|
14369
|
-
"../../node_modules/
|
|
14580
|
+
"../../node_modules/qs/node_modules/get-intrinsic/index.js"(exports, module) {
|
|
14370
14581
|
"use strict";
|
|
14371
14582
|
init_cjs_shim();
|
|
14372
14583
|
var undefined2;
|
|
14373
|
-
var $
|
|
14584
|
+
var $Error = require_es_errors();
|
|
14585
|
+
var $EvalError = require_eval();
|
|
14586
|
+
var $RangeError = require_range();
|
|
14587
|
+
var $ReferenceError = require_ref();
|
|
14588
|
+
var $SyntaxError = require_syntax();
|
|
14589
|
+
var $TypeError = require_type();
|
|
14590
|
+
var $URIError = require_uri();
|
|
14374
14591
|
var $Function = Function;
|
|
14375
|
-
var $TypeError = TypeError;
|
|
14376
14592
|
var getEvalledConstructor = function(expressionSyntax) {
|
|
14377
14593
|
try {
|
|
14378
14594
|
return $Function('"use strict"; return (' + expressionSyntax + ").constructor;")();
|
|
@@ -14403,16 +14619,18 @@ var require_get_intrinsic = __commonJS({
|
|
|
14403
14619
|
}
|
|
14404
14620
|
}() : throwTypeError;
|
|
14405
14621
|
var hasSymbols = require_has_symbols()();
|
|
14406
|
-
var
|
|
14622
|
+
var hasProto = require_has_proto()();
|
|
14623
|
+
var getProto = Object.getPrototypeOf || (hasProto ? function(x) {
|
|
14407
14624
|
return x.__proto__;
|
|
14408
|
-
};
|
|
14625
|
+
} : null);
|
|
14409
14626
|
var needsEval = {};
|
|
14410
|
-
var TypedArray = typeof Uint8Array === "undefined" ? undefined2 : getProto(Uint8Array);
|
|
14627
|
+
var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined2 : getProto(Uint8Array);
|
|
14411
14628
|
var INTRINSICS = {
|
|
14629
|
+
__proto__: null,
|
|
14412
14630
|
"%AggregateError%": typeof AggregateError === "undefined" ? undefined2 : AggregateError,
|
|
14413
14631
|
"%Array%": Array,
|
|
14414
14632
|
"%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined2 : ArrayBuffer,
|
|
14415
|
-
"%ArrayIteratorPrototype%": hasSymbols ? getProto([][Symbol.iterator]()) : undefined2,
|
|
14633
|
+
"%ArrayIteratorPrototype%": hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined2,
|
|
14416
14634
|
"%AsyncFromSyncIteratorPrototype%": undefined2,
|
|
14417
14635
|
"%AsyncFunction%": needsEval,
|
|
14418
14636
|
"%AsyncGenerator%": needsEval,
|
|
@@ -14420,6 +14638,8 @@ var require_get_intrinsic = __commonJS({
|
|
|
14420
14638
|
"%AsyncIteratorPrototype%": needsEval,
|
|
14421
14639
|
"%Atomics%": typeof Atomics === "undefined" ? undefined2 : Atomics,
|
|
14422
14640
|
"%BigInt%": typeof BigInt === "undefined" ? undefined2 : BigInt,
|
|
14641
|
+
"%BigInt64Array%": typeof BigInt64Array === "undefined" ? undefined2 : BigInt64Array,
|
|
14642
|
+
"%BigUint64Array%": typeof BigUint64Array === "undefined" ? undefined2 : BigUint64Array,
|
|
14423
14643
|
"%Boolean%": Boolean,
|
|
14424
14644
|
"%DataView%": typeof DataView === "undefined" ? undefined2 : DataView,
|
|
14425
14645
|
"%Date%": Date,
|
|
@@ -14427,10 +14647,10 @@ var require_get_intrinsic = __commonJS({
|
|
|
14427
14647
|
"%decodeURIComponent%": decodeURIComponent,
|
|
14428
14648
|
"%encodeURI%": encodeURI,
|
|
14429
14649
|
"%encodeURIComponent%": encodeURIComponent,
|
|
14430
|
-
"%Error%": Error,
|
|
14650
|
+
"%Error%": $Error,
|
|
14431
14651
|
"%eval%": eval,
|
|
14432
14652
|
// eslint-disable-line no-eval
|
|
14433
|
-
"%EvalError%": EvalError,
|
|
14653
|
+
"%EvalError%": $EvalError,
|
|
14434
14654
|
"%Float32Array%": typeof Float32Array === "undefined" ? undefined2 : Float32Array,
|
|
14435
14655
|
"%Float64Array%": typeof Float64Array === "undefined" ? undefined2 : Float64Array,
|
|
14436
14656
|
"%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined2 : FinalizationRegistry,
|
|
@@ -14441,10 +14661,10 @@ var require_get_intrinsic = __commonJS({
|
|
|
14441
14661
|
"%Int32Array%": typeof Int32Array === "undefined" ? undefined2 : Int32Array,
|
|
14442
14662
|
"%isFinite%": isFinite,
|
|
14443
14663
|
"%isNaN%": isNaN,
|
|
14444
|
-
"%IteratorPrototype%": hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined2,
|
|
14664
|
+
"%IteratorPrototype%": hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined2,
|
|
14445
14665
|
"%JSON%": typeof JSON === "object" ? JSON : undefined2,
|
|
14446
14666
|
"%Map%": typeof Map === "undefined" ? undefined2 : Map,
|
|
14447
|
-
"%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols ? undefined2 : getProto((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
14667
|
+
"%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
14448
14668
|
"%Math%": Math,
|
|
14449
14669
|
"%Number%": Number,
|
|
14450
14670
|
"%Object%": Object,
|
|
@@ -14452,15 +14672,15 @@ var require_get_intrinsic = __commonJS({
|
|
|
14452
14672
|
"%parseInt%": parseInt,
|
|
14453
14673
|
"%Promise%": typeof Promise === "undefined" ? undefined2 : Promise,
|
|
14454
14674
|
"%Proxy%": typeof Proxy === "undefined" ? undefined2 : Proxy,
|
|
14455
|
-
"%RangeError%": RangeError,
|
|
14456
|
-
"%ReferenceError%": ReferenceError,
|
|
14675
|
+
"%RangeError%": $RangeError,
|
|
14676
|
+
"%ReferenceError%": $ReferenceError,
|
|
14457
14677
|
"%Reflect%": typeof Reflect === "undefined" ? undefined2 : Reflect,
|
|
14458
14678
|
"%RegExp%": RegExp,
|
|
14459
14679
|
"%Set%": typeof Set === "undefined" ? undefined2 : Set,
|
|
14460
|
-
"%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols ? undefined2 : getProto((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
14680
|
+
"%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
14461
14681
|
"%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined2 : SharedArrayBuffer,
|
|
14462
14682
|
"%String%": String,
|
|
14463
|
-
"%StringIteratorPrototype%": hasSymbols ? getProto(""[Symbol.iterator]()) : undefined2,
|
|
14683
|
+
"%StringIteratorPrototype%": hasSymbols && getProto ? getProto(""[Symbol.iterator]()) : undefined2,
|
|
14464
14684
|
"%Symbol%": hasSymbols ? Symbol : undefined2,
|
|
14465
14685
|
"%SyntaxError%": $SyntaxError,
|
|
14466
14686
|
"%ThrowTypeError%": ThrowTypeError,
|
|
@@ -14470,11 +14690,20 @@ var require_get_intrinsic = __commonJS({
|
|
|
14470
14690
|
"%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined2 : Uint8ClampedArray,
|
|
14471
14691
|
"%Uint16Array%": typeof Uint16Array === "undefined" ? undefined2 : Uint16Array,
|
|
14472
14692
|
"%Uint32Array%": typeof Uint32Array === "undefined" ? undefined2 : Uint32Array,
|
|
14473
|
-
"%URIError%": URIError,
|
|
14693
|
+
"%URIError%": $URIError,
|
|
14474
14694
|
"%WeakMap%": typeof WeakMap === "undefined" ? undefined2 : WeakMap,
|
|
14475
14695
|
"%WeakRef%": typeof WeakRef === "undefined" ? undefined2 : WeakRef,
|
|
14476
14696
|
"%WeakSet%": typeof WeakSet === "undefined" ? undefined2 : WeakSet
|
|
14477
14697
|
};
|
|
14698
|
+
if (getProto) {
|
|
14699
|
+
try {
|
|
14700
|
+
null.error;
|
|
14701
|
+
} catch (e) {
|
|
14702
|
+
errorProto = getProto(getProto(e));
|
|
14703
|
+
INTRINSICS["%Error.prototype%"] = errorProto;
|
|
14704
|
+
}
|
|
14705
|
+
}
|
|
14706
|
+
var errorProto;
|
|
14478
14707
|
var doEval = function doEval2(name) {
|
|
14479
14708
|
var value;
|
|
14480
14709
|
if (name === "%AsyncFunction%") {
|
|
@@ -14490,7 +14719,7 @@ var require_get_intrinsic = __commonJS({
|
|
|
14490
14719
|
}
|
|
14491
14720
|
} else if (name === "%AsyncIteratorPrototype%") {
|
|
14492
14721
|
var gen = doEval2("%AsyncGenerator%");
|
|
14493
|
-
if (gen) {
|
|
14722
|
+
if (gen && getProto) {
|
|
14494
14723
|
value = getProto(gen.prototype);
|
|
14495
14724
|
}
|
|
14496
14725
|
}
|
|
@@ -14498,6 +14727,7 @@ var require_get_intrinsic = __commonJS({
|
|
|
14498
14727
|
return value;
|
|
14499
14728
|
};
|
|
14500
14729
|
var LEGACY_ALIASES = {
|
|
14730
|
+
__proto__: null,
|
|
14501
14731
|
"%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
|
|
14502
14732
|
"%ArrayPrototype%": ["Array", "prototype"],
|
|
14503
14733
|
"%ArrayProto_entries%": ["Array", "prototype", "entries"],
|
|
@@ -14551,11 +14781,414 @@ var require_get_intrinsic = __commonJS({
|
|
|
14551
14781
|
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
14552
14782
|
};
|
|
14553
14783
|
var bind = require_function_bind();
|
|
14554
|
-
var hasOwn =
|
|
14784
|
+
var hasOwn = require_hasown();
|
|
14785
|
+
var $concat = bind.call(Function.call, Array.prototype.concat);
|
|
14786
|
+
var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
|
|
14787
|
+
var $replace = bind.call(Function.call, String.prototype.replace);
|
|
14788
|
+
var $strSlice = bind.call(Function.call, String.prototype.slice);
|
|
14789
|
+
var $exec = bind.call(Function.call, RegExp.prototype.exec);
|
|
14790
|
+
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
14791
|
+
var reEscapeChar = /\\(\\)?/g;
|
|
14792
|
+
var stringToPath = function stringToPath2(string) {
|
|
14793
|
+
var first = $strSlice(string, 0, 1);
|
|
14794
|
+
var last = $strSlice(string, -1);
|
|
14795
|
+
if (first === "%" && last !== "%") {
|
|
14796
|
+
throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");
|
|
14797
|
+
} else if (last === "%" && first !== "%") {
|
|
14798
|
+
throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");
|
|
14799
|
+
}
|
|
14800
|
+
var result = [];
|
|
14801
|
+
$replace(string, rePropName, function(match, number, quote, subString) {
|
|
14802
|
+
result[result.length] = quote ? $replace(subString, reEscapeChar, "$1") : number || match;
|
|
14803
|
+
});
|
|
14804
|
+
return result;
|
|
14805
|
+
};
|
|
14806
|
+
var getBaseIntrinsic = function getBaseIntrinsic2(name, allowMissing) {
|
|
14807
|
+
var intrinsicName = name;
|
|
14808
|
+
var alias;
|
|
14809
|
+
if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
|
|
14810
|
+
alias = LEGACY_ALIASES[intrinsicName];
|
|
14811
|
+
intrinsicName = "%" + alias[0] + "%";
|
|
14812
|
+
}
|
|
14813
|
+
if (hasOwn(INTRINSICS, intrinsicName)) {
|
|
14814
|
+
var value = INTRINSICS[intrinsicName];
|
|
14815
|
+
if (value === needsEval) {
|
|
14816
|
+
value = doEval(intrinsicName);
|
|
14817
|
+
}
|
|
14818
|
+
if (typeof value === "undefined" && !allowMissing) {
|
|
14819
|
+
throw new $TypeError("intrinsic " + name + " exists, but is not available. Please file an issue!");
|
|
14820
|
+
}
|
|
14821
|
+
return {
|
|
14822
|
+
alias,
|
|
14823
|
+
name: intrinsicName,
|
|
14824
|
+
value
|
|
14825
|
+
};
|
|
14826
|
+
}
|
|
14827
|
+
throw new $SyntaxError("intrinsic " + name + " does not exist!");
|
|
14828
|
+
};
|
|
14829
|
+
module.exports = function GetIntrinsic(name, allowMissing) {
|
|
14830
|
+
if (typeof name !== "string" || name.length === 0) {
|
|
14831
|
+
throw new $TypeError("intrinsic name must be a non-empty string");
|
|
14832
|
+
}
|
|
14833
|
+
if (arguments.length > 1 && typeof allowMissing !== "boolean") {
|
|
14834
|
+
throw new $TypeError('"allowMissing" argument must be a boolean');
|
|
14835
|
+
}
|
|
14836
|
+
if ($exec(/^%?[^%]*%?$/, name) === null) {
|
|
14837
|
+
throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
14838
|
+
}
|
|
14839
|
+
var parts = stringToPath(name);
|
|
14840
|
+
var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
|
|
14841
|
+
var intrinsic = getBaseIntrinsic("%" + intrinsicBaseName + "%", allowMissing);
|
|
14842
|
+
var intrinsicRealName = intrinsic.name;
|
|
14843
|
+
var value = intrinsic.value;
|
|
14844
|
+
var skipFurtherCaching = false;
|
|
14845
|
+
var alias = intrinsic.alias;
|
|
14846
|
+
if (alias) {
|
|
14847
|
+
intrinsicBaseName = alias[0];
|
|
14848
|
+
$spliceApply(parts, $concat([0, 1], alias));
|
|
14849
|
+
}
|
|
14850
|
+
for (var i = 1, isOwn = true; i < parts.length; i += 1) {
|
|
14851
|
+
var part = parts[i];
|
|
14852
|
+
var first = $strSlice(part, 0, 1);
|
|
14853
|
+
var last = $strSlice(part, -1);
|
|
14854
|
+
if ((first === '"' || first === "'" || first === "`" || (last === '"' || last === "'" || last === "`")) && first !== last) {
|
|
14855
|
+
throw new $SyntaxError("property names with quotes must have matching quotes");
|
|
14856
|
+
}
|
|
14857
|
+
if (part === "constructor" || !isOwn) {
|
|
14858
|
+
skipFurtherCaching = true;
|
|
14859
|
+
}
|
|
14860
|
+
intrinsicBaseName += "." + part;
|
|
14861
|
+
intrinsicRealName = "%" + intrinsicBaseName + "%";
|
|
14862
|
+
if (hasOwn(INTRINSICS, intrinsicRealName)) {
|
|
14863
|
+
value = INTRINSICS[intrinsicRealName];
|
|
14864
|
+
} else if (value != null) {
|
|
14865
|
+
if (!(part in value)) {
|
|
14866
|
+
if (!allowMissing) {
|
|
14867
|
+
throw new $TypeError("base intrinsic for " + name + " exists, but the property is not available.");
|
|
14868
|
+
}
|
|
14869
|
+
return void 0;
|
|
14870
|
+
}
|
|
14871
|
+
if ($gOPD && i + 1 >= parts.length) {
|
|
14872
|
+
var desc = $gOPD(value, part);
|
|
14873
|
+
isOwn = !!desc;
|
|
14874
|
+
if (isOwn && "get" in desc && !("originalValue" in desc.get)) {
|
|
14875
|
+
value = desc.get;
|
|
14876
|
+
} else {
|
|
14877
|
+
value = value[part];
|
|
14878
|
+
}
|
|
14879
|
+
} else {
|
|
14880
|
+
isOwn = hasOwn(value, part);
|
|
14881
|
+
value = value[part];
|
|
14882
|
+
}
|
|
14883
|
+
if (isOwn && !skipFurtherCaching) {
|
|
14884
|
+
INTRINSICS[intrinsicRealName] = value;
|
|
14885
|
+
}
|
|
14886
|
+
}
|
|
14887
|
+
}
|
|
14888
|
+
return value;
|
|
14889
|
+
};
|
|
14890
|
+
}
|
|
14891
|
+
});
|
|
14892
|
+
|
|
14893
|
+
// ../../node_modules/es-define-property/node_modules/function-bind/implementation.js
|
|
14894
|
+
var require_implementation3 = __commonJS({
|
|
14895
|
+
"../../node_modules/es-define-property/node_modules/function-bind/implementation.js"(exports, module) {
|
|
14896
|
+
"use strict";
|
|
14897
|
+
init_cjs_shim();
|
|
14898
|
+
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
14899
|
+
var toStr = Object.prototype.toString;
|
|
14900
|
+
var max = Math.max;
|
|
14901
|
+
var funcType = "[object Function]";
|
|
14902
|
+
var concatty = function concatty2(a, b) {
|
|
14903
|
+
var arr = [];
|
|
14904
|
+
for (var i = 0; i < a.length; i += 1) {
|
|
14905
|
+
arr[i] = a[i];
|
|
14906
|
+
}
|
|
14907
|
+
for (var j = 0; j < b.length; j += 1) {
|
|
14908
|
+
arr[j + a.length] = b[j];
|
|
14909
|
+
}
|
|
14910
|
+
return arr;
|
|
14911
|
+
};
|
|
14912
|
+
var slicy = function slicy2(arrLike, offset) {
|
|
14913
|
+
var arr = [];
|
|
14914
|
+
for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
|
|
14915
|
+
arr[j] = arrLike[i];
|
|
14916
|
+
}
|
|
14917
|
+
return arr;
|
|
14918
|
+
};
|
|
14919
|
+
var joiny = function(arr, joiner) {
|
|
14920
|
+
var str = "";
|
|
14921
|
+
for (var i = 0; i < arr.length; i += 1) {
|
|
14922
|
+
str += arr[i];
|
|
14923
|
+
if (i + 1 < arr.length) {
|
|
14924
|
+
str += joiner;
|
|
14925
|
+
}
|
|
14926
|
+
}
|
|
14927
|
+
return str;
|
|
14928
|
+
};
|
|
14929
|
+
module.exports = function bind(that) {
|
|
14930
|
+
var target = this;
|
|
14931
|
+
if (typeof target !== "function" || toStr.apply(target) !== funcType) {
|
|
14932
|
+
throw new TypeError(ERROR_MESSAGE + target);
|
|
14933
|
+
}
|
|
14934
|
+
var args = slicy(arguments, 1);
|
|
14935
|
+
var bound;
|
|
14936
|
+
var binder = function() {
|
|
14937
|
+
if (this instanceof bound) {
|
|
14938
|
+
var result = target.apply(
|
|
14939
|
+
this,
|
|
14940
|
+
concatty(args, arguments)
|
|
14941
|
+
);
|
|
14942
|
+
if (Object(result) === result) {
|
|
14943
|
+
return result;
|
|
14944
|
+
}
|
|
14945
|
+
return this;
|
|
14946
|
+
}
|
|
14947
|
+
return target.apply(
|
|
14948
|
+
that,
|
|
14949
|
+
concatty(args, arguments)
|
|
14950
|
+
);
|
|
14951
|
+
};
|
|
14952
|
+
var boundLength = max(0, target.length - args.length);
|
|
14953
|
+
var boundArgs = [];
|
|
14954
|
+
for (var i = 0; i < boundLength; i++) {
|
|
14955
|
+
boundArgs[i] = "$" + i;
|
|
14956
|
+
}
|
|
14957
|
+
bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
14958
|
+
if (target.prototype) {
|
|
14959
|
+
var Empty = function Empty2() {
|
|
14960
|
+
};
|
|
14961
|
+
Empty.prototype = target.prototype;
|
|
14962
|
+
bound.prototype = new Empty();
|
|
14963
|
+
Empty.prototype = null;
|
|
14964
|
+
}
|
|
14965
|
+
return bound;
|
|
14966
|
+
};
|
|
14967
|
+
}
|
|
14968
|
+
});
|
|
14969
|
+
|
|
14970
|
+
// ../../node_modules/es-define-property/node_modules/function-bind/index.js
|
|
14971
|
+
var require_function_bind3 = __commonJS({
|
|
14972
|
+
"../../node_modules/es-define-property/node_modules/function-bind/index.js"(exports, module) {
|
|
14973
|
+
"use strict";
|
|
14974
|
+
init_cjs_shim();
|
|
14975
|
+
var implementation = require_implementation3();
|
|
14976
|
+
module.exports = Function.prototype.bind || implementation;
|
|
14977
|
+
}
|
|
14978
|
+
});
|
|
14979
|
+
|
|
14980
|
+
// ../../node_modules/es-define-property/node_modules/get-intrinsic/index.js
|
|
14981
|
+
var require_get_intrinsic2 = __commonJS({
|
|
14982
|
+
"../../node_modules/es-define-property/node_modules/get-intrinsic/index.js"(exports, module) {
|
|
14983
|
+
"use strict";
|
|
14984
|
+
init_cjs_shim();
|
|
14985
|
+
var undefined2;
|
|
14986
|
+
var $Error = require_es_errors();
|
|
14987
|
+
var $EvalError = require_eval();
|
|
14988
|
+
var $RangeError = require_range();
|
|
14989
|
+
var $ReferenceError = require_ref();
|
|
14990
|
+
var $SyntaxError = require_syntax();
|
|
14991
|
+
var $TypeError = require_type();
|
|
14992
|
+
var $URIError = require_uri();
|
|
14993
|
+
var $Function = Function;
|
|
14994
|
+
var getEvalledConstructor = function(expressionSyntax) {
|
|
14995
|
+
try {
|
|
14996
|
+
return $Function('"use strict"; return (' + expressionSyntax + ").constructor;")();
|
|
14997
|
+
} catch (e) {
|
|
14998
|
+
}
|
|
14999
|
+
};
|
|
15000
|
+
var $gOPD = Object.getOwnPropertyDescriptor;
|
|
15001
|
+
if ($gOPD) {
|
|
15002
|
+
try {
|
|
15003
|
+
$gOPD({}, "");
|
|
15004
|
+
} catch (e) {
|
|
15005
|
+
$gOPD = null;
|
|
15006
|
+
}
|
|
15007
|
+
}
|
|
15008
|
+
var throwTypeError = function() {
|
|
15009
|
+
throw new $TypeError();
|
|
15010
|
+
};
|
|
15011
|
+
var ThrowTypeError = $gOPD ? function() {
|
|
15012
|
+
try {
|
|
15013
|
+
arguments.callee;
|
|
15014
|
+
return throwTypeError;
|
|
15015
|
+
} catch (calleeThrows) {
|
|
15016
|
+
try {
|
|
15017
|
+
return $gOPD(arguments, "callee").get;
|
|
15018
|
+
} catch (gOPDthrows) {
|
|
15019
|
+
return throwTypeError;
|
|
15020
|
+
}
|
|
15021
|
+
}
|
|
15022
|
+
}() : throwTypeError;
|
|
15023
|
+
var hasSymbols = require_has_symbols()();
|
|
15024
|
+
var hasProto = require_has_proto()();
|
|
15025
|
+
var getProto = Object.getPrototypeOf || (hasProto ? function(x) {
|
|
15026
|
+
return x.__proto__;
|
|
15027
|
+
} : null);
|
|
15028
|
+
var needsEval = {};
|
|
15029
|
+
var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined2 : getProto(Uint8Array);
|
|
15030
|
+
var INTRINSICS = {
|
|
15031
|
+
__proto__: null,
|
|
15032
|
+
"%AggregateError%": typeof AggregateError === "undefined" ? undefined2 : AggregateError,
|
|
15033
|
+
"%Array%": Array,
|
|
15034
|
+
"%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined2 : ArrayBuffer,
|
|
15035
|
+
"%ArrayIteratorPrototype%": hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined2,
|
|
15036
|
+
"%AsyncFromSyncIteratorPrototype%": undefined2,
|
|
15037
|
+
"%AsyncFunction%": needsEval,
|
|
15038
|
+
"%AsyncGenerator%": needsEval,
|
|
15039
|
+
"%AsyncGeneratorFunction%": needsEval,
|
|
15040
|
+
"%AsyncIteratorPrototype%": needsEval,
|
|
15041
|
+
"%Atomics%": typeof Atomics === "undefined" ? undefined2 : Atomics,
|
|
15042
|
+
"%BigInt%": typeof BigInt === "undefined" ? undefined2 : BigInt,
|
|
15043
|
+
"%BigInt64Array%": typeof BigInt64Array === "undefined" ? undefined2 : BigInt64Array,
|
|
15044
|
+
"%BigUint64Array%": typeof BigUint64Array === "undefined" ? undefined2 : BigUint64Array,
|
|
15045
|
+
"%Boolean%": Boolean,
|
|
15046
|
+
"%DataView%": typeof DataView === "undefined" ? undefined2 : DataView,
|
|
15047
|
+
"%Date%": Date,
|
|
15048
|
+
"%decodeURI%": decodeURI,
|
|
15049
|
+
"%decodeURIComponent%": decodeURIComponent,
|
|
15050
|
+
"%encodeURI%": encodeURI,
|
|
15051
|
+
"%encodeURIComponent%": encodeURIComponent,
|
|
15052
|
+
"%Error%": $Error,
|
|
15053
|
+
"%eval%": eval,
|
|
15054
|
+
// eslint-disable-line no-eval
|
|
15055
|
+
"%EvalError%": $EvalError,
|
|
15056
|
+
"%Float32Array%": typeof Float32Array === "undefined" ? undefined2 : Float32Array,
|
|
15057
|
+
"%Float64Array%": typeof Float64Array === "undefined" ? undefined2 : Float64Array,
|
|
15058
|
+
"%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined2 : FinalizationRegistry,
|
|
15059
|
+
"%Function%": $Function,
|
|
15060
|
+
"%GeneratorFunction%": needsEval,
|
|
15061
|
+
"%Int8Array%": typeof Int8Array === "undefined" ? undefined2 : Int8Array,
|
|
15062
|
+
"%Int16Array%": typeof Int16Array === "undefined" ? undefined2 : Int16Array,
|
|
15063
|
+
"%Int32Array%": typeof Int32Array === "undefined" ? undefined2 : Int32Array,
|
|
15064
|
+
"%isFinite%": isFinite,
|
|
15065
|
+
"%isNaN%": isNaN,
|
|
15066
|
+
"%IteratorPrototype%": hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined2,
|
|
15067
|
+
"%JSON%": typeof JSON === "object" ? JSON : undefined2,
|
|
15068
|
+
"%Map%": typeof Map === "undefined" ? undefined2 : Map,
|
|
15069
|
+
"%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
15070
|
+
"%Math%": Math,
|
|
15071
|
+
"%Number%": Number,
|
|
15072
|
+
"%Object%": Object,
|
|
15073
|
+
"%parseFloat%": parseFloat,
|
|
15074
|
+
"%parseInt%": parseInt,
|
|
15075
|
+
"%Promise%": typeof Promise === "undefined" ? undefined2 : Promise,
|
|
15076
|
+
"%Proxy%": typeof Proxy === "undefined" ? undefined2 : Proxy,
|
|
15077
|
+
"%RangeError%": $RangeError,
|
|
15078
|
+
"%ReferenceError%": $ReferenceError,
|
|
15079
|
+
"%Reflect%": typeof Reflect === "undefined" ? undefined2 : Reflect,
|
|
15080
|
+
"%RegExp%": RegExp,
|
|
15081
|
+
"%Set%": typeof Set === "undefined" ? undefined2 : Set,
|
|
15082
|
+
"%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
15083
|
+
"%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined2 : SharedArrayBuffer,
|
|
15084
|
+
"%String%": String,
|
|
15085
|
+
"%StringIteratorPrototype%": hasSymbols && getProto ? getProto(""[Symbol.iterator]()) : undefined2,
|
|
15086
|
+
"%Symbol%": hasSymbols ? Symbol : undefined2,
|
|
15087
|
+
"%SyntaxError%": $SyntaxError,
|
|
15088
|
+
"%ThrowTypeError%": ThrowTypeError,
|
|
15089
|
+
"%TypedArray%": TypedArray,
|
|
15090
|
+
"%TypeError%": $TypeError,
|
|
15091
|
+
"%Uint8Array%": typeof Uint8Array === "undefined" ? undefined2 : Uint8Array,
|
|
15092
|
+
"%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined2 : Uint8ClampedArray,
|
|
15093
|
+
"%Uint16Array%": typeof Uint16Array === "undefined" ? undefined2 : Uint16Array,
|
|
15094
|
+
"%Uint32Array%": typeof Uint32Array === "undefined" ? undefined2 : Uint32Array,
|
|
15095
|
+
"%URIError%": $URIError,
|
|
15096
|
+
"%WeakMap%": typeof WeakMap === "undefined" ? undefined2 : WeakMap,
|
|
15097
|
+
"%WeakRef%": typeof WeakRef === "undefined" ? undefined2 : WeakRef,
|
|
15098
|
+
"%WeakSet%": typeof WeakSet === "undefined" ? undefined2 : WeakSet
|
|
15099
|
+
};
|
|
15100
|
+
if (getProto) {
|
|
15101
|
+
try {
|
|
15102
|
+
null.error;
|
|
15103
|
+
} catch (e) {
|
|
15104
|
+
errorProto = getProto(getProto(e));
|
|
15105
|
+
INTRINSICS["%Error.prototype%"] = errorProto;
|
|
15106
|
+
}
|
|
15107
|
+
}
|
|
15108
|
+
var errorProto;
|
|
15109
|
+
var doEval = function doEval2(name) {
|
|
15110
|
+
var value;
|
|
15111
|
+
if (name === "%AsyncFunction%") {
|
|
15112
|
+
value = getEvalledConstructor("async function () {}");
|
|
15113
|
+
} else if (name === "%GeneratorFunction%") {
|
|
15114
|
+
value = getEvalledConstructor("function* () {}");
|
|
15115
|
+
} else if (name === "%AsyncGeneratorFunction%") {
|
|
15116
|
+
value = getEvalledConstructor("async function* () {}");
|
|
15117
|
+
} else if (name === "%AsyncGenerator%") {
|
|
15118
|
+
var fn = doEval2("%AsyncGeneratorFunction%");
|
|
15119
|
+
if (fn) {
|
|
15120
|
+
value = fn.prototype;
|
|
15121
|
+
}
|
|
15122
|
+
} else if (name === "%AsyncIteratorPrototype%") {
|
|
15123
|
+
var gen = doEval2("%AsyncGenerator%");
|
|
15124
|
+
if (gen && getProto) {
|
|
15125
|
+
value = getProto(gen.prototype);
|
|
15126
|
+
}
|
|
15127
|
+
}
|
|
15128
|
+
INTRINSICS[name] = value;
|
|
15129
|
+
return value;
|
|
15130
|
+
};
|
|
15131
|
+
var LEGACY_ALIASES = {
|
|
15132
|
+
__proto__: null,
|
|
15133
|
+
"%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
|
|
15134
|
+
"%ArrayPrototype%": ["Array", "prototype"],
|
|
15135
|
+
"%ArrayProto_entries%": ["Array", "prototype", "entries"],
|
|
15136
|
+
"%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
|
|
15137
|
+
"%ArrayProto_keys%": ["Array", "prototype", "keys"],
|
|
15138
|
+
"%ArrayProto_values%": ["Array", "prototype", "values"],
|
|
15139
|
+
"%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
|
|
15140
|
+
"%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
|
|
15141
|
+
"%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
|
|
15142
|
+
"%BooleanPrototype%": ["Boolean", "prototype"],
|
|
15143
|
+
"%DataViewPrototype%": ["DataView", "prototype"],
|
|
15144
|
+
"%DatePrototype%": ["Date", "prototype"],
|
|
15145
|
+
"%ErrorPrototype%": ["Error", "prototype"],
|
|
15146
|
+
"%EvalErrorPrototype%": ["EvalError", "prototype"],
|
|
15147
|
+
"%Float32ArrayPrototype%": ["Float32Array", "prototype"],
|
|
15148
|
+
"%Float64ArrayPrototype%": ["Float64Array", "prototype"],
|
|
15149
|
+
"%FunctionPrototype%": ["Function", "prototype"],
|
|
15150
|
+
"%Generator%": ["GeneratorFunction", "prototype"],
|
|
15151
|
+
"%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
|
|
15152
|
+
"%Int8ArrayPrototype%": ["Int8Array", "prototype"],
|
|
15153
|
+
"%Int16ArrayPrototype%": ["Int16Array", "prototype"],
|
|
15154
|
+
"%Int32ArrayPrototype%": ["Int32Array", "prototype"],
|
|
15155
|
+
"%JSONParse%": ["JSON", "parse"],
|
|
15156
|
+
"%JSONStringify%": ["JSON", "stringify"],
|
|
15157
|
+
"%MapPrototype%": ["Map", "prototype"],
|
|
15158
|
+
"%NumberPrototype%": ["Number", "prototype"],
|
|
15159
|
+
"%ObjectPrototype%": ["Object", "prototype"],
|
|
15160
|
+
"%ObjProto_toString%": ["Object", "prototype", "toString"],
|
|
15161
|
+
"%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
|
|
15162
|
+
"%PromisePrototype%": ["Promise", "prototype"],
|
|
15163
|
+
"%PromiseProto_then%": ["Promise", "prototype", "then"],
|
|
15164
|
+
"%Promise_all%": ["Promise", "all"],
|
|
15165
|
+
"%Promise_reject%": ["Promise", "reject"],
|
|
15166
|
+
"%Promise_resolve%": ["Promise", "resolve"],
|
|
15167
|
+
"%RangeErrorPrototype%": ["RangeError", "prototype"],
|
|
15168
|
+
"%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
|
|
15169
|
+
"%RegExpPrototype%": ["RegExp", "prototype"],
|
|
15170
|
+
"%SetPrototype%": ["Set", "prototype"],
|
|
15171
|
+
"%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
|
|
15172
|
+
"%StringPrototype%": ["String", "prototype"],
|
|
15173
|
+
"%SymbolPrototype%": ["Symbol", "prototype"],
|
|
15174
|
+
"%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
|
|
15175
|
+
"%TypedArrayPrototype%": ["TypedArray", "prototype"],
|
|
15176
|
+
"%TypeErrorPrototype%": ["TypeError", "prototype"],
|
|
15177
|
+
"%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
|
|
15178
|
+
"%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
|
|
15179
|
+
"%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
|
|
15180
|
+
"%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
|
|
15181
|
+
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
15182
|
+
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
15183
|
+
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
15184
|
+
};
|
|
15185
|
+
var bind = require_function_bind3();
|
|
15186
|
+
var hasOwn = require_hasown();
|
|
14555
15187
|
var $concat = bind.call(Function.call, Array.prototype.concat);
|
|
14556
15188
|
var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
|
|
14557
15189
|
var $replace = bind.call(Function.call, String.prototype.replace);
|
|
14558
15190
|
var $strSlice = bind.call(Function.call, String.prototype.slice);
|
|
15191
|
+
var $exec = bind.call(Function.call, RegExp.prototype.exec);
|
|
14559
15192
|
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
14560
15193
|
var reEscapeChar = /\\(\\)?/g;
|
|
14561
15194
|
var stringToPath = function stringToPath2(string) {
|
|
@@ -14602,6 +15235,9 @@ var require_get_intrinsic = __commonJS({
|
|
|
14602
15235
|
if (arguments.length > 1 && typeof allowMissing !== "boolean") {
|
|
14603
15236
|
throw new $TypeError('"allowMissing" argument must be a boolean');
|
|
14604
15237
|
}
|
|
15238
|
+
if ($exec(/^%?[^%]*%?$/, name) === null) {
|
|
15239
|
+
throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
15240
|
+
}
|
|
14605
15241
|
var parts = stringToPath(name);
|
|
14606
15242
|
var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
|
|
14607
15243
|
var intrinsic = getBaseIntrinsic("%" + intrinsicBaseName + "%", allowMissing);
|
|
@@ -14656,87 +15292,114 @@ var require_get_intrinsic = __commonJS({
|
|
|
14656
15292
|
}
|
|
14657
15293
|
});
|
|
14658
15294
|
|
|
14659
|
-
// ../../node_modules/
|
|
14660
|
-
var
|
|
14661
|
-
"../../node_modules/
|
|
15295
|
+
// ../../node_modules/es-define-property/index.js
|
|
15296
|
+
var require_es_define_property = __commonJS({
|
|
15297
|
+
"../../node_modules/es-define-property/index.js"(exports, module) {
|
|
14662
15298
|
"use strict";
|
|
14663
15299
|
init_cjs_shim();
|
|
14664
|
-
|
|
14665
|
-
|
|
14666
|
-
|
|
14667
|
-
|
|
14668
|
-
|
|
14669
|
-
|
|
14670
|
-
|
|
14671
|
-
var obj = {};
|
|
14672
|
-
var sym = Symbol("test");
|
|
14673
|
-
var symObj = Object(sym);
|
|
14674
|
-
if (typeof sym === "string") {
|
|
14675
|
-
return false;
|
|
14676
|
-
}
|
|
14677
|
-
if (Object.prototype.toString.call(sym) !== "[object Symbol]") {
|
|
14678
|
-
return false;
|
|
14679
|
-
}
|
|
14680
|
-
if (Object.prototype.toString.call(symObj) !== "[object Symbol]") {
|
|
14681
|
-
return false;
|
|
15300
|
+
var GetIntrinsic = require_get_intrinsic2();
|
|
15301
|
+
var $defineProperty = GetIntrinsic("%Object.defineProperty%", true) || false;
|
|
15302
|
+
if ($defineProperty) {
|
|
15303
|
+
try {
|
|
15304
|
+
$defineProperty({}, "a", { value: 1 });
|
|
15305
|
+
} catch (e) {
|
|
15306
|
+
$defineProperty = false;
|
|
14682
15307
|
}
|
|
14683
|
-
|
|
14684
|
-
|
|
14685
|
-
|
|
14686
|
-
|
|
15308
|
+
}
|
|
15309
|
+
module.exports = $defineProperty;
|
|
15310
|
+
}
|
|
15311
|
+
});
|
|
15312
|
+
|
|
15313
|
+
// ../../node_modules/get-intrinsic/node_modules/function-bind/implementation.js
|
|
15314
|
+
var require_implementation4 = __commonJS({
|
|
15315
|
+
"../../node_modules/get-intrinsic/node_modules/function-bind/implementation.js"(exports, module) {
|
|
15316
|
+
"use strict";
|
|
15317
|
+
init_cjs_shim();
|
|
15318
|
+
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
15319
|
+
var toStr = Object.prototype.toString;
|
|
15320
|
+
var max = Math.max;
|
|
15321
|
+
var funcType = "[object Function]";
|
|
15322
|
+
var concatty = function concatty2(a, b) {
|
|
15323
|
+
var arr = [];
|
|
15324
|
+
for (var i = 0; i < a.length; i += 1) {
|
|
15325
|
+
arr[i] = a[i];
|
|
14687
15326
|
}
|
|
14688
|
-
|
|
14689
|
-
|
|
15327
|
+
for (var j = 0; j < b.length; j += 1) {
|
|
15328
|
+
arr[j + a.length] = b[j];
|
|
14690
15329
|
}
|
|
14691
|
-
|
|
14692
|
-
|
|
15330
|
+
return arr;
|
|
15331
|
+
};
|
|
15332
|
+
var slicy = function slicy2(arrLike, offset) {
|
|
15333
|
+
var arr = [];
|
|
15334
|
+
for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
|
|
15335
|
+
arr[j] = arrLike[i];
|
|
14693
15336
|
}
|
|
14694
|
-
|
|
14695
|
-
|
|
14696
|
-
|
|
15337
|
+
return arr;
|
|
15338
|
+
};
|
|
15339
|
+
var joiny = function(arr, joiner) {
|
|
15340
|
+
var str = "";
|
|
15341
|
+
for (var i = 0; i < arr.length; i += 1) {
|
|
15342
|
+
str += arr[i];
|
|
15343
|
+
if (i + 1 < arr.length) {
|
|
15344
|
+
str += joiner;
|
|
15345
|
+
}
|
|
14697
15346
|
}
|
|
14698
|
-
|
|
14699
|
-
|
|
15347
|
+
return str;
|
|
15348
|
+
};
|
|
15349
|
+
module.exports = function bind(that) {
|
|
15350
|
+
var target = this;
|
|
15351
|
+
if (typeof target !== "function" || toStr.apply(target) !== funcType) {
|
|
15352
|
+
throw new TypeError(ERROR_MESSAGE + target);
|
|
14700
15353
|
}
|
|
14701
|
-
|
|
14702
|
-
|
|
14703
|
-
|
|
14704
|
-
|
|
15354
|
+
var args = slicy(arguments, 1);
|
|
15355
|
+
var bound;
|
|
15356
|
+
var binder = function() {
|
|
15357
|
+
if (this instanceof bound) {
|
|
15358
|
+
var result = target.apply(
|
|
15359
|
+
this,
|
|
15360
|
+
concatty(args, arguments)
|
|
15361
|
+
);
|
|
15362
|
+
if (Object(result) === result) {
|
|
15363
|
+
return result;
|
|
15364
|
+
}
|
|
15365
|
+
return this;
|
|
14705
15366
|
}
|
|
15367
|
+
return target.apply(
|
|
15368
|
+
that,
|
|
15369
|
+
concatty(args, arguments)
|
|
15370
|
+
);
|
|
15371
|
+
};
|
|
15372
|
+
var boundLength = max(0, target.length - args.length);
|
|
15373
|
+
var boundArgs = [];
|
|
15374
|
+
for (var i = 0; i < boundLength; i++) {
|
|
15375
|
+
boundArgs[i] = "$" + i;
|
|
14706
15376
|
}
|
|
14707
|
-
return
|
|
15377
|
+
bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
15378
|
+
if (target.prototype) {
|
|
15379
|
+
var Empty = function Empty2() {
|
|
15380
|
+
};
|
|
15381
|
+
Empty.prototype = target.prototype;
|
|
15382
|
+
bound.prototype = new Empty();
|
|
15383
|
+
Empty.prototype = null;
|
|
15384
|
+
}
|
|
15385
|
+
return bound;
|
|
14708
15386
|
};
|
|
14709
15387
|
}
|
|
14710
15388
|
});
|
|
14711
15389
|
|
|
14712
|
-
// ../../node_modules/
|
|
14713
|
-
var
|
|
14714
|
-
"../../node_modules/
|
|
15390
|
+
// ../../node_modules/get-intrinsic/node_modules/function-bind/index.js
|
|
15391
|
+
var require_function_bind4 = __commonJS({
|
|
15392
|
+
"../../node_modules/get-intrinsic/node_modules/function-bind/index.js"(exports, module) {
|
|
14715
15393
|
"use strict";
|
|
14716
15394
|
init_cjs_shim();
|
|
14717
|
-
var
|
|
14718
|
-
|
|
14719
|
-
module.exports = function hasNativeSymbols() {
|
|
14720
|
-
if (typeof origSymbol !== "function") {
|
|
14721
|
-
return false;
|
|
14722
|
-
}
|
|
14723
|
-
if (typeof Symbol !== "function") {
|
|
14724
|
-
return false;
|
|
14725
|
-
}
|
|
14726
|
-
if (typeof origSymbol("foo") !== "symbol") {
|
|
14727
|
-
return false;
|
|
14728
|
-
}
|
|
14729
|
-
if (typeof Symbol("bar") !== "symbol") {
|
|
14730
|
-
return false;
|
|
14731
|
-
}
|
|
14732
|
-
return hasSymbolSham();
|
|
14733
|
-
};
|
|
15395
|
+
var implementation = require_implementation4();
|
|
15396
|
+
module.exports = Function.prototype.bind || implementation;
|
|
14734
15397
|
}
|
|
14735
15398
|
});
|
|
14736
15399
|
|
|
14737
|
-
// ../../node_modules/
|
|
14738
|
-
var
|
|
14739
|
-
"../../node_modules/
|
|
15400
|
+
// ../../node_modules/get-intrinsic/index.js
|
|
15401
|
+
var require_get_intrinsic3 = __commonJS({
|
|
15402
|
+
"../../node_modules/get-intrinsic/index.js"(exports, module) {
|
|
14740
15403
|
"use strict";
|
|
14741
15404
|
init_cjs_shim();
|
|
14742
15405
|
var undefined2;
|
|
@@ -14772,17 +15435,18 @@ var require_get_intrinsic2 = __commonJS({
|
|
|
14772
15435
|
}
|
|
14773
15436
|
}
|
|
14774
15437
|
}() : throwTypeError;
|
|
14775
|
-
var hasSymbols =
|
|
14776
|
-
var
|
|
15438
|
+
var hasSymbols = require_has_symbols()();
|
|
15439
|
+
var hasProto = require_has_proto()();
|
|
15440
|
+
var getProto = Object.getPrototypeOf || (hasProto ? function(x) {
|
|
14777
15441
|
return x.__proto__;
|
|
14778
|
-
};
|
|
15442
|
+
} : null);
|
|
14779
15443
|
var needsEval = {};
|
|
14780
|
-
var TypedArray = typeof Uint8Array === "undefined" ? undefined2 : getProto(Uint8Array);
|
|
15444
|
+
var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined2 : getProto(Uint8Array);
|
|
14781
15445
|
var INTRINSICS = {
|
|
14782
15446
|
"%AggregateError%": typeof AggregateError === "undefined" ? undefined2 : AggregateError,
|
|
14783
15447
|
"%Array%": Array,
|
|
14784
15448
|
"%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined2 : ArrayBuffer,
|
|
14785
|
-
"%ArrayIteratorPrototype%": hasSymbols ? getProto([][Symbol.iterator]()) : undefined2,
|
|
15449
|
+
"%ArrayIteratorPrototype%": hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined2,
|
|
14786
15450
|
"%AsyncFromSyncIteratorPrototype%": undefined2,
|
|
14787
15451
|
"%AsyncFunction%": needsEval,
|
|
14788
15452
|
"%AsyncGenerator%": needsEval,
|
|
@@ -14790,6 +15454,8 @@ var require_get_intrinsic2 = __commonJS({
|
|
|
14790
15454
|
"%AsyncIteratorPrototype%": needsEval,
|
|
14791
15455
|
"%Atomics%": typeof Atomics === "undefined" ? undefined2 : Atomics,
|
|
14792
15456
|
"%BigInt%": typeof BigInt === "undefined" ? undefined2 : BigInt,
|
|
15457
|
+
"%BigInt64Array%": typeof BigInt64Array === "undefined" ? undefined2 : BigInt64Array,
|
|
15458
|
+
"%BigUint64Array%": typeof BigUint64Array === "undefined" ? undefined2 : BigUint64Array,
|
|
14793
15459
|
"%Boolean%": Boolean,
|
|
14794
15460
|
"%DataView%": typeof DataView === "undefined" ? undefined2 : DataView,
|
|
14795
15461
|
"%Date%": Date,
|
|
@@ -14811,10 +15477,10 @@ var require_get_intrinsic2 = __commonJS({
|
|
|
14811
15477
|
"%Int32Array%": typeof Int32Array === "undefined" ? undefined2 : Int32Array,
|
|
14812
15478
|
"%isFinite%": isFinite,
|
|
14813
15479
|
"%isNaN%": isNaN,
|
|
14814
|
-
"%IteratorPrototype%": hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined2,
|
|
15480
|
+
"%IteratorPrototype%": hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined2,
|
|
14815
15481
|
"%JSON%": typeof JSON === "object" ? JSON : undefined2,
|
|
14816
15482
|
"%Map%": typeof Map === "undefined" ? undefined2 : Map,
|
|
14817
|
-
"%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols ? undefined2 : getProto((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
15483
|
+
"%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
14818
15484
|
"%Math%": Math,
|
|
14819
15485
|
"%Number%": Number,
|
|
14820
15486
|
"%Object%": Object,
|
|
@@ -14827,10 +15493,10 @@ var require_get_intrinsic2 = __commonJS({
|
|
|
14827
15493
|
"%Reflect%": typeof Reflect === "undefined" ? undefined2 : Reflect,
|
|
14828
15494
|
"%RegExp%": RegExp,
|
|
14829
15495
|
"%Set%": typeof Set === "undefined" ? undefined2 : Set,
|
|
14830
|
-
"%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols ? undefined2 : getProto((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
15496
|
+
"%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
14831
15497
|
"%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined2 : SharedArrayBuffer,
|
|
14832
15498
|
"%String%": String,
|
|
14833
|
-
"%StringIteratorPrototype%": hasSymbols ? getProto(""[Symbol.iterator]()) : undefined2,
|
|
15499
|
+
"%StringIteratorPrototype%": hasSymbols && getProto ? getProto(""[Symbol.iterator]()) : undefined2,
|
|
14834
15500
|
"%Symbol%": hasSymbols ? Symbol : undefined2,
|
|
14835
15501
|
"%SyntaxError%": $SyntaxError,
|
|
14836
15502
|
"%ThrowTypeError%": ThrowTypeError,
|
|
@@ -14845,6 +15511,15 @@ var require_get_intrinsic2 = __commonJS({
|
|
|
14845
15511
|
"%WeakRef%": typeof WeakRef === "undefined" ? undefined2 : WeakRef,
|
|
14846
15512
|
"%WeakSet%": typeof WeakSet === "undefined" ? undefined2 : WeakSet
|
|
14847
15513
|
};
|
|
15514
|
+
if (getProto) {
|
|
15515
|
+
try {
|
|
15516
|
+
null.error;
|
|
15517
|
+
} catch (e) {
|
|
15518
|
+
errorProto = getProto(getProto(e));
|
|
15519
|
+
INTRINSICS["%Error.prototype%"] = errorProto;
|
|
15520
|
+
}
|
|
15521
|
+
}
|
|
15522
|
+
var errorProto;
|
|
14848
15523
|
var doEval = function doEval2(name) {
|
|
14849
15524
|
var value;
|
|
14850
15525
|
if (name === "%AsyncFunction%") {
|
|
@@ -14860,7 +15535,7 @@ var require_get_intrinsic2 = __commonJS({
|
|
|
14860
15535
|
}
|
|
14861
15536
|
} else if (name === "%AsyncIteratorPrototype%") {
|
|
14862
15537
|
var gen = doEval2("%AsyncGenerator%");
|
|
14863
|
-
if (gen) {
|
|
15538
|
+
if (gen && getProto) {
|
|
14864
15539
|
value = getProto(gen.prototype);
|
|
14865
15540
|
}
|
|
14866
15541
|
}
|
|
@@ -14920,12 +15595,13 @@ var require_get_intrinsic2 = __commonJS({
|
|
|
14920
15595
|
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
14921
15596
|
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
14922
15597
|
};
|
|
14923
|
-
var bind =
|
|
14924
|
-
var hasOwn =
|
|
15598
|
+
var bind = require_function_bind4();
|
|
15599
|
+
var hasOwn = require_hasown();
|
|
14925
15600
|
var $concat = bind.call(Function.call, Array.prototype.concat);
|
|
14926
15601
|
var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
|
|
14927
15602
|
var $replace = bind.call(Function.call, String.prototype.replace);
|
|
14928
15603
|
var $strSlice = bind.call(Function.call, String.prototype.slice);
|
|
15604
|
+
var $exec = bind.call(Function.call, RegExp.prototype.exec);
|
|
14929
15605
|
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
14930
15606
|
var reEscapeChar = /\\(\\)?/g;
|
|
14931
15607
|
var stringToPath = function stringToPath2(string) {
|
|
@@ -14972,6 +15648,9 @@ var require_get_intrinsic2 = __commonJS({
|
|
|
14972
15648
|
if (arguments.length > 1 && typeof allowMissing !== "boolean") {
|
|
14973
15649
|
throw new $TypeError('"allowMissing" argument must be a boolean');
|
|
14974
15650
|
}
|
|
15651
|
+
if ($exec(/^%?[^%]*%?$/, name) === null) {
|
|
15652
|
+
throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
15653
|
+
}
|
|
14975
15654
|
var parts = stringToPath(name);
|
|
14976
15655
|
var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
|
|
14977
15656
|
var intrinsic = getBaseIntrinsic("%" + intrinsicBaseName + "%", allowMissing);
|
|
@@ -15026,39 +15705,174 @@ var require_get_intrinsic2 = __commonJS({
|
|
|
15026
15705
|
}
|
|
15027
15706
|
});
|
|
15028
15707
|
|
|
15029
|
-
// ../../node_modules/
|
|
15030
|
-
var
|
|
15031
|
-
"../../node_modules/
|
|
15708
|
+
// ../../node_modules/gopd/index.js
|
|
15709
|
+
var require_gopd = __commonJS({
|
|
15710
|
+
"../../node_modules/gopd/index.js"(exports, module) {
|
|
15032
15711
|
"use strict";
|
|
15033
15712
|
init_cjs_shim();
|
|
15034
|
-
var
|
|
15035
|
-
var GetIntrinsic = require_get_intrinsic2();
|
|
15036
|
-
var $apply = GetIntrinsic("%Function.prototype.apply%");
|
|
15037
|
-
var $call = GetIntrinsic("%Function.prototype.call%");
|
|
15038
|
-
var $reflectApply = GetIntrinsic("%Reflect.apply%", true) || bind.call($call, $apply);
|
|
15713
|
+
var GetIntrinsic = require_get_intrinsic3();
|
|
15039
15714
|
var $gOPD = GetIntrinsic("%Object.getOwnPropertyDescriptor%", true);
|
|
15040
|
-
|
|
15041
|
-
var $max = GetIntrinsic("%Math.max%");
|
|
15042
|
-
if ($defineProperty) {
|
|
15715
|
+
if ($gOPD) {
|
|
15043
15716
|
try {
|
|
15044
|
-
$
|
|
15717
|
+
$gOPD([], "length");
|
|
15045
15718
|
} catch (e) {
|
|
15046
|
-
$
|
|
15719
|
+
$gOPD = null;
|
|
15047
15720
|
}
|
|
15048
15721
|
}
|
|
15049
|
-
module.exports =
|
|
15050
|
-
|
|
15051
|
-
|
|
15052
|
-
|
|
15053
|
-
|
|
15054
|
-
|
|
15055
|
-
|
|
15722
|
+
module.exports = $gOPD;
|
|
15723
|
+
}
|
|
15724
|
+
});
|
|
15725
|
+
|
|
15726
|
+
// ../../node_modules/qs/node_modules/define-data-property/index.js
|
|
15727
|
+
var require_define_data_property = __commonJS({
|
|
15728
|
+
"../../node_modules/qs/node_modules/define-data-property/index.js"(exports, module) {
|
|
15729
|
+
"use strict";
|
|
15730
|
+
init_cjs_shim();
|
|
15731
|
+
var $defineProperty = require_es_define_property();
|
|
15732
|
+
var $SyntaxError = require_syntax();
|
|
15733
|
+
var $TypeError = require_type();
|
|
15734
|
+
var gopd = require_gopd();
|
|
15735
|
+
module.exports = function defineDataProperty(obj, property, value) {
|
|
15736
|
+
if (!obj || typeof obj !== "object" && typeof obj !== "function") {
|
|
15737
|
+
throw new $TypeError("`obj` must be an object or a function`");
|
|
15738
|
+
}
|
|
15739
|
+
if (typeof property !== "string" && typeof property !== "symbol") {
|
|
15740
|
+
throw new $TypeError("`property` must be a string or a symbol`");
|
|
15741
|
+
}
|
|
15742
|
+
if (arguments.length > 3 && typeof arguments[3] !== "boolean" && arguments[3] !== null) {
|
|
15743
|
+
throw new $TypeError("`nonEnumerable`, if provided, must be a boolean or null");
|
|
15744
|
+
}
|
|
15745
|
+
if (arguments.length > 4 && typeof arguments[4] !== "boolean" && arguments[4] !== null) {
|
|
15746
|
+
throw new $TypeError("`nonWritable`, if provided, must be a boolean or null");
|
|
15747
|
+
}
|
|
15748
|
+
if (arguments.length > 5 && typeof arguments[5] !== "boolean" && arguments[5] !== null) {
|
|
15749
|
+
throw new $TypeError("`nonConfigurable`, if provided, must be a boolean or null");
|
|
15750
|
+
}
|
|
15751
|
+
if (arguments.length > 6 && typeof arguments[6] !== "boolean") {
|
|
15752
|
+
throw new $TypeError("`loose`, if provided, must be a boolean");
|
|
15753
|
+
}
|
|
15754
|
+
var nonEnumerable = arguments.length > 3 ? arguments[3] : null;
|
|
15755
|
+
var nonWritable = arguments.length > 4 ? arguments[4] : null;
|
|
15756
|
+
var nonConfigurable = arguments.length > 5 ? arguments[5] : null;
|
|
15757
|
+
var loose = arguments.length > 6 ? arguments[6] : false;
|
|
15758
|
+
var desc = !!gopd && gopd(obj, property);
|
|
15759
|
+
if ($defineProperty) {
|
|
15760
|
+
$defineProperty(obj, property, {
|
|
15761
|
+
configurable: nonConfigurable === null && desc ? desc.configurable : !nonConfigurable,
|
|
15762
|
+
enumerable: nonEnumerable === null && desc ? desc.enumerable : !nonEnumerable,
|
|
15763
|
+
value,
|
|
15764
|
+
writable: nonWritable === null && desc ? desc.writable : !nonWritable
|
|
15765
|
+
});
|
|
15766
|
+
} else if (loose || !nonEnumerable && !nonWritable && !nonConfigurable) {
|
|
15767
|
+
obj[property] = value;
|
|
15768
|
+
} else {
|
|
15769
|
+
throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
|
|
15770
|
+
}
|
|
15771
|
+
};
|
|
15772
|
+
}
|
|
15773
|
+
});
|
|
15774
|
+
|
|
15775
|
+
// ../../node_modules/qs/node_modules/has-property-descriptors/index.js
|
|
15776
|
+
var require_has_property_descriptors = __commonJS({
|
|
15777
|
+
"../../node_modules/qs/node_modules/has-property-descriptors/index.js"(exports, module) {
|
|
15778
|
+
"use strict";
|
|
15779
|
+
init_cjs_shim();
|
|
15780
|
+
var $defineProperty = require_es_define_property();
|
|
15781
|
+
var hasPropertyDescriptors = function hasPropertyDescriptors2() {
|
|
15782
|
+
return !!$defineProperty;
|
|
15783
|
+
};
|
|
15784
|
+
hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
|
|
15785
|
+
if (!$defineProperty) {
|
|
15786
|
+
return null;
|
|
15787
|
+
}
|
|
15788
|
+
try {
|
|
15789
|
+
return $defineProperty([], "length", { value: 1 }).length !== 1;
|
|
15790
|
+
} catch (e) {
|
|
15791
|
+
return true;
|
|
15792
|
+
}
|
|
15793
|
+
};
|
|
15794
|
+
module.exports = hasPropertyDescriptors;
|
|
15795
|
+
}
|
|
15796
|
+
});
|
|
15797
|
+
|
|
15798
|
+
// ../../node_modules/qs/node_modules/set-function-length/index.js
|
|
15799
|
+
var require_set_function_length = __commonJS({
|
|
15800
|
+
"../../node_modules/qs/node_modules/set-function-length/index.js"(exports, module) {
|
|
15801
|
+
"use strict";
|
|
15802
|
+
init_cjs_shim();
|
|
15803
|
+
var GetIntrinsic = require_get_intrinsic();
|
|
15804
|
+
var define2 = require_define_data_property();
|
|
15805
|
+
var hasDescriptors = require_has_property_descriptors()();
|
|
15806
|
+
var gOPD = require_gopd();
|
|
15807
|
+
var $TypeError = require_type();
|
|
15808
|
+
var $floor = GetIntrinsic("%Math.floor%");
|
|
15809
|
+
module.exports = function setFunctionLength(fn, length) {
|
|
15810
|
+
if (typeof fn !== "function") {
|
|
15811
|
+
throw new $TypeError("`fn` is not a function");
|
|
15812
|
+
}
|
|
15813
|
+
if (typeof length !== "number" || length < 0 || length > 4294967295 || $floor(length) !== length) {
|
|
15814
|
+
throw new $TypeError("`length` must be a positive 32-bit integer");
|
|
15815
|
+
}
|
|
15816
|
+
var loose = arguments.length > 2 && !!arguments[2];
|
|
15817
|
+
var functionLengthIsConfigurable = true;
|
|
15818
|
+
var functionLengthIsWritable = true;
|
|
15819
|
+
if ("length" in fn && gOPD) {
|
|
15820
|
+
var desc = gOPD(fn, "length");
|
|
15821
|
+
if (desc && !desc.configurable) {
|
|
15822
|
+
functionLengthIsConfigurable = false;
|
|
15823
|
+
}
|
|
15824
|
+
if (desc && !desc.writable) {
|
|
15825
|
+
functionLengthIsWritable = false;
|
|
15826
|
+
}
|
|
15827
|
+
}
|
|
15828
|
+
if (functionLengthIsConfigurable || functionLengthIsWritable || !loose) {
|
|
15829
|
+
if (hasDescriptors) {
|
|
15830
|
+
define2(
|
|
15831
|
+
/** @type {Parameters<define>[0]} */
|
|
15832
|
+
fn,
|
|
15833
|
+
"length",
|
|
15834
|
+
length,
|
|
15835
|
+
true,
|
|
15836
|
+
true
|
|
15837
|
+
);
|
|
15838
|
+
} else {
|
|
15839
|
+
define2(
|
|
15840
|
+
/** @type {Parameters<define>[0]} */
|
|
15841
|
+
fn,
|
|
15056
15842
|
"length",
|
|
15057
|
-
|
|
15843
|
+
length
|
|
15058
15844
|
);
|
|
15059
15845
|
}
|
|
15060
15846
|
}
|
|
15061
|
-
return
|
|
15847
|
+
return fn;
|
|
15848
|
+
};
|
|
15849
|
+
}
|
|
15850
|
+
});
|
|
15851
|
+
|
|
15852
|
+
// ../../node_modules/qs/node_modules/call-bind/index.js
|
|
15853
|
+
var require_call_bind = __commonJS({
|
|
15854
|
+
"../../node_modules/qs/node_modules/call-bind/index.js"(exports, module) {
|
|
15855
|
+
"use strict";
|
|
15856
|
+
init_cjs_shim();
|
|
15857
|
+
var bind = require_function_bind();
|
|
15858
|
+
var GetIntrinsic = require_get_intrinsic();
|
|
15859
|
+
var setFunctionLength = require_set_function_length();
|
|
15860
|
+
var $TypeError = require_type();
|
|
15861
|
+
var $apply = GetIntrinsic("%Function.prototype.apply%");
|
|
15862
|
+
var $call = GetIntrinsic("%Function.prototype.call%");
|
|
15863
|
+
var $reflectApply = GetIntrinsic("%Reflect.apply%", true) || bind.call($call, $apply);
|
|
15864
|
+
var $defineProperty = require_es_define_property();
|
|
15865
|
+
var $max = GetIntrinsic("%Math.max%");
|
|
15866
|
+
module.exports = function callBind(originalFunction) {
|
|
15867
|
+
if (typeof originalFunction !== "function") {
|
|
15868
|
+
throw new $TypeError("a function is required");
|
|
15869
|
+
}
|
|
15870
|
+
var func = $reflectApply(bind, $call, arguments);
|
|
15871
|
+
return setFunctionLength(
|
|
15872
|
+
func,
|
|
15873
|
+
1 + $max(0, originalFunction.length - (arguments.length - 1)),
|
|
15874
|
+
true
|
|
15875
|
+
);
|
|
15062
15876
|
};
|
|
15063
15877
|
var applyBind = function applyBind2() {
|
|
15064
15878
|
return $reflectApply(bind, $apply, arguments);
|
|
@@ -15071,12 +15885,12 @@ var require_call_bind = __commonJS({
|
|
|
15071
15885
|
}
|
|
15072
15886
|
});
|
|
15073
15887
|
|
|
15074
|
-
// ../../node_modules/call-bind/callBound.js
|
|
15888
|
+
// ../../node_modules/qs/node_modules/call-bind/callBound.js
|
|
15075
15889
|
var require_callBound = __commonJS({
|
|
15076
|
-
"../../node_modules/call-bind/callBound.js"(exports, module) {
|
|
15890
|
+
"../../node_modules/qs/node_modules/call-bind/callBound.js"(exports, module) {
|
|
15077
15891
|
"use strict";
|
|
15078
15892
|
init_cjs_shim();
|
|
15079
|
-
var GetIntrinsic =
|
|
15893
|
+
var GetIntrinsic = require_get_intrinsic();
|
|
15080
15894
|
var callBind = require_call_bind();
|
|
15081
15895
|
var $indexOf = callBind(GetIntrinsic("String.prototype.indexOf"));
|
|
15082
15896
|
module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
@@ -15089,17 +15903,17 @@ var require_callBound = __commonJS({
|
|
|
15089
15903
|
}
|
|
15090
15904
|
});
|
|
15091
15905
|
|
|
15092
|
-
// ../../node_modules/object-inspect/util.inspect.js
|
|
15906
|
+
// ../../node_modules/qs/node_modules/object-inspect/util.inspect.js
|
|
15093
15907
|
var require_util_inspect = __commonJS({
|
|
15094
|
-
"../../node_modules/object-inspect/util.inspect.js"(exports, module) {
|
|
15908
|
+
"../../node_modules/qs/node_modules/object-inspect/util.inspect.js"(exports, module) {
|
|
15095
15909
|
init_cjs_shim();
|
|
15096
15910
|
module.exports = __require("util").inspect;
|
|
15097
15911
|
}
|
|
15098
15912
|
});
|
|
15099
15913
|
|
|
15100
|
-
// ../../node_modules/object-inspect/index.js
|
|
15914
|
+
// ../../node_modules/qs/node_modules/object-inspect/index.js
|
|
15101
15915
|
var require_object_inspect = __commonJS({
|
|
15102
|
-
"../../node_modules/object-inspect/index.js"(exports, module) {
|
|
15916
|
+
"../../node_modules/qs/node_modules/object-inspect/index.js"(exports, module) {
|
|
15103
15917
|
init_cjs_shim();
|
|
15104
15918
|
var hasMap = typeof Map === "function" && Map.prototype;
|
|
15105
15919
|
var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null;
|
|
@@ -15152,8 +15966,9 @@ var require_object_inspect = __commonJS({
|
|
|
15152
15966
|
}
|
|
15153
15967
|
return $replace.call(str, sepRegex, "$&_");
|
|
15154
15968
|
}
|
|
15155
|
-
var
|
|
15156
|
-
var
|
|
15969
|
+
var utilInspect = require_util_inspect();
|
|
15970
|
+
var inspectCustom = utilInspect.custom;
|
|
15971
|
+
var inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null;
|
|
15157
15972
|
module.exports = function inspect_(obj, options, depth, seen) {
|
|
15158
15973
|
var opts = options || {};
|
|
15159
15974
|
if (has(opts, "quoteStyle") && (opts.quoteStyle !== "single" && opts.quoteStyle !== "double")) {
|
|
@@ -15225,7 +16040,7 @@ var require_object_inspect = __commonJS({
|
|
|
15225
16040
|
}
|
|
15226
16041
|
return inspect_(value, opts, depth + 1, seen);
|
|
15227
16042
|
}
|
|
15228
|
-
if (typeof obj === "function") {
|
|
16043
|
+
if (typeof obj === "function" && !isRegExp(obj)) {
|
|
15229
16044
|
var name = nameOf(obj);
|
|
15230
16045
|
var keys = arrObjKeys(obj, inspect);
|
|
15231
16046
|
return "[Function" + (name ? ": " + name : " (anonymous)") + "]" + (keys.length > 0 ? " { " + $join.call(keys, ", ") + " }" : "");
|
|
@@ -15259,7 +16074,7 @@ var require_object_inspect = __commonJS({
|
|
|
15259
16074
|
}
|
|
15260
16075
|
if (isError(obj)) {
|
|
15261
16076
|
var parts = arrObjKeys(obj, inspect);
|
|
15262
|
-
if ("cause" in obj && !isEnumerable.call(obj, "cause")) {
|
|
16077
|
+
if (!("cause" in Error.prototype) && "cause" in obj && !isEnumerable.call(obj, "cause")) {
|
|
15263
16078
|
return "{ [" + String(obj) + "] " + $join.call($concat.call("[cause]: " + inspect(obj.cause), parts), ", ") + " }";
|
|
15264
16079
|
}
|
|
15265
16080
|
if (parts.length === 0) {
|
|
@@ -15268,24 +16083,28 @@ var require_object_inspect = __commonJS({
|
|
|
15268
16083
|
return "{ [" + String(obj) + "] " + $join.call(parts, ", ") + " }";
|
|
15269
16084
|
}
|
|
15270
16085
|
if (typeof obj === "object" && customInspect) {
|
|
15271
|
-
if (inspectSymbol && typeof obj[inspectSymbol] === "function") {
|
|
15272
|
-
return obj
|
|
16086
|
+
if (inspectSymbol && typeof obj[inspectSymbol] === "function" && utilInspect) {
|
|
16087
|
+
return utilInspect(obj, { depth: maxDepth - depth });
|
|
15273
16088
|
} else if (customInspect !== "symbol" && typeof obj.inspect === "function") {
|
|
15274
16089
|
return obj.inspect();
|
|
15275
16090
|
}
|
|
15276
16091
|
}
|
|
15277
16092
|
if (isMap(obj)) {
|
|
15278
16093
|
var mapParts = [];
|
|
15279
|
-
|
|
15280
|
-
|
|
15281
|
-
|
|
16094
|
+
if (mapForEach) {
|
|
16095
|
+
mapForEach.call(obj, function(value, key) {
|
|
16096
|
+
mapParts.push(inspect(key, obj, true) + " => " + inspect(value, obj));
|
|
16097
|
+
});
|
|
16098
|
+
}
|
|
15282
16099
|
return collectionOf("Map", mapSize.call(obj), mapParts, indent);
|
|
15283
16100
|
}
|
|
15284
16101
|
if (isSet(obj)) {
|
|
15285
16102
|
var setParts = [];
|
|
15286
|
-
|
|
15287
|
-
|
|
15288
|
-
|
|
16103
|
+
if (setForEach) {
|
|
16104
|
+
setForEach.call(obj, function(value) {
|
|
16105
|
+
setParts.push(inspect(value, obj));
|
|
16106
|
+
});
|
|
16107
|
+
}
|
|
15289
16108
|
return collectionOf("Set", setSize.call(obj), setParts, indent);
|
|
15290
16109
|
}
|
|
15291
16110
|
if (isWeakMap(obj)) {
|
|
@@ -15309,6 +16128,12 @@ var require_object_inspect = __commonJS({
|
|
|
15309
16128
|
if (isString(obj)) {
|
|
15310
16129
|
return markBoxed(inspect(String(obj)));
|
|
15311
16130
|
}
|
|
16131
|
+
if (typeof window !== "undefined" && obj === window) {
|
|
16132
|
+
return "{ [object Window] }";
|
|
16133
|
+
}
|
|
16134
|
+
if (obj === global) {
|
|
16135
|
+
return "{ [object globalThis] }";
|
|
16136
|
+
}
|
|
15312
16137
|
if (!isDate(obj) && !isRegExp(obj)) {
|
|
15313
16138
|
var ys = arrObjKeys(obj, inspect);
|
|
15314
16139
|
var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
|
|
@@ -15602,15 +16427,15 @@ var require_object_inspect = __commonJS({
|
|
|
15602
16427
|
}
|
|
15603
16428
|
});
|
|
15604
16429
|
|
|
15605
|
-
// ../../node_modules/side-channel/index.js
|
|
16430
|
+
// ../../node_modules/qs/node_modules/side-channel/index.js
|
|
15606
16431
|
var require_side_channel = __commonJS({
|
|
15607
|
-
"../../node_modules/side-channel/index.js"(exports, module) {
|
|
16432
|
+
"../../node_modules/qs/node_modules/side-channel/index.js"(exports, module) {
|
|
15608
16433
|
"use strict";
|
|
15609
16434
|
init_cjs_shim();
|
|
15610
16435
|
var GetIntrinsic = require_get_intrinsic();
|
|
15611
16436
|
var callBound = require_callBound();
|
|
15612
16437
|
var inspect = require_object_inspect();
|
|
15613
|
-
var $TypeError =
|
|
16438
|
+
var $TypeError = require_type();
|
|
15614
16439
|
var $WeakMap = GetIntrinsic("%WeakMap%", true);
|
|
15615
16440
|
var $Map = GetIntrinsic("%Map%", true);
|
|
15616
16441
|
var $weakMapGet = callBound("WeakMap.prototype.get", true);
|
|
@@ -15620,10 +16445,13 @@ var require_side_channel = __commonJS({
|
|
|
15620
16445
|
var $mapSet = callBound("Map.prototype.set", true);
|
|
15621
16446
|
var $mapHas = callBound("Map.prototype.has", true);
|
|
15622
16447
|
var listGetNode = function(list, key) {
|
|
15623
|
-
|
|
16448
|
+
var prev = list;
|
|
16449
|
+
var curr;
|
|
16450
|
+
for (; (curr = prev.next) !== null; prev = curr) {
|
|
15624
16451
|
if (curr.key === key) {
|
|
15625
16452
|
prev.next = curr.next;
|
|
15626
|
-
curr.next = list.next
|
|
16453
|
+
curr.next = /** @type {NonNullable<typeof list.next>} */
|
|
16454
|
+
list.next;
|
|
15627
16455
|
list.next = curr;
|
|
15628
16456
|
return curr;
|
|
15629
16457
|
}
|
|
@@ -15638,8 +16466,9 @@ var require_side_channel = __commonJS({
|
|
|
15638
16466
|
if (node) {
|
|
15639
16467
|
node.value = value;
|
|
15640
16468
|
} else {
|
|
15641
|
-
objects.next = {
|
|
15642
|
-
|
|
16469
|
+
objects.next = /** @type {import('.').ListNode<typeof value>} */
|
|
16470
|
+
{
|
|
16471
|
+
// eslint-disable-line no-param-reassign, no-extra-parens
|
|
15643
16472
|
key,
|
|
15644
16473
|
next: objects.next,
|
|
15645
16474
|
value
|
|
@@ -15845,6 +16674,7 @@ var require_utils = __commonJS({
|
|
|
15845
16674
|
return strWithoutPlus;
|
|
15846
16675
|
}
|
|
15847
16676
|
};
|
|
16677
|
+
var limit = 1024;
|
|
15848
16678
|
var encode = function encode2(str, defaultEncoder, charset, kind, format) {
|
|
15849
16679
|
if (str.length === 0) {
|
|
15850
16680
|
return str;
|
|
@@ -15861,27 +16691,32 @@ var require_utils = __commonJS({
|
|
|
15861
16691
|
});
|
|
15862
16692
|
}
|
|
15863
16693
|
var out = "";
|
|
15864
|
-
for (var
|
|
15865
|
-
var
|
|
15866
|
-
|
|
15867
|
-
|
|
15868
|
-
|
|
15869
|
-
|
|
15870
|
-
|
|
15871
|
-
|
|
15872
|
-
|
|
15873
|
-
|
|
15874
|
-
|
|
15875
|
-
|
|
15876
|
-
|
|
15877
|
-
|
|
15878
|
-
|
|
15879
|
-
|
|
15880
|
-
|
|
16694
|
+
for (var j = 0; j < string.length; j += limit) {
|
|
16695
|
+
var segment = string.length >= limit ? string.slice(j, j + limit) : string;
|
|
16696
|
+
var arr = [];
|
|
16697
|
+
for (var i = 0; i < segment.length; ++i) {
|
|
16698
|
+
var c = segment.charCodeAt(i);
|
|
16699
|
+
if (c === 45 || c === 46 || c === 95 || c === 126 || c >= 48 && c <= 57 || c >= 65 && c <= 90 || c >= 97 && c <= 122 || format === formats.RFC1738 && (c === 40 || c === 41)) {
|
|
16700
|
+
arr[arr.length] = segment.charAt(i);
|
|
16701
|
+
continue;
|
|
16702
|
+
}
|
|
16703
|
+
if (c < 128) {
|
|
16704
|
+
arr[arr.length] = hexTable[c];
|
|
16705
|
+
continue;
|
|
16706
|
+
}
|
|
16707
|
+
if (c < 2048) {
|
|
16708
|
+
arr[arr.length] = hexTable[192 | c >> 6] + hexTable[128 | c & 63];
|
|
16709
|
+
continue;
|
|
16710
|
+
}
|
|
16711
|
+
if (c < 55296 || c >= 57344) {
|
|
16712
|
+
arr[arr.length] = hexTable[224 | c >> 12] + hexTable[128 | c >> 6 & 63] + hexTable[128 | c & 63];
|
|
16713
|
+
continue;
|
|
16714
|
+
}
|
|
16715
|
+
i += 1;
|
|
16716
|
+
c = 65536 + ((c & 1023) << 10 | segment.charCodeAt(i) & 1023);
|
|
16717
|
+
arr[arr.length] = hexTable[240 | c >> 18] + hexTable[128 | c >> 12 & 63] + hexTable[128 | c >> 6 & 63] + hexTable[128 | c & 63];
|
|
15881
16718
|
}
|
|
15882
|
-
|
|
15883
|
-
c = 65536 + ((c & 1023) << 10 | string.charCodeAt(i) & 1023);
|
|
15884
|
-
out += hexTable[240 | c >> 18] + hexTable[128 | c >> 12 & 63] + hexTable[128 | c >> 6 & 63] + hexTable[128 | c & 63];
|
|
16719
|
+
out += arr.join("");
|
|
15885
16720
|
}
|
|
15886
16721
|
return out;
|
|
15887
16722
|
};
|
|
@@ -15963,7 +16798,6 @@ var require_stringify = __commonJS({
|
|
|
15963
16798
|
}
|
|
15964
16799
|
};
|
|
15965
16800
|
var isArray = Array.isArray;
|
|
15966
|
-
var split = String.prototype.split;
|
|
15967
16801
|
var push = Array.prototype.push;
|
|
15968
16802
|
var pushToArray = function(arr, valueOrArray) {
|
|
15969
16803
|
push.apply(arr, isArray(valueOrArray) ? valueOrArray : [valueOrArray]);
|
|
@@ -15973,10 +16807,13 @@ var require_stringify = __commonJS({
|
|
|
15973
16807
|
var defaults = {
|
|
15974
16808
|
addQueryPrefix: false,
|
|
15975
16809
|
allowDots: false,
|
|
16810
|
+
allowEmptyArrays: false,
|
|
16811
|
+
arrayFormat: "indices",
|
|
15976
16812
|
charset: "utf-8",
|
|
15977
16813
|
charsetSentinel: false,
|
|
15978
16814
|
delimiter: "&",
|
|
15979
16815
|
encode: true,
|
|
16816
|
+
encodeDotInKeys: false,
|
|
15980
16817
|
encoder: utils.encode,
|
|
15981
16818
|
encodeValuesOnly: false,
|
|
15982
16819
|
format: defaultFormat,
|
|
@@ -15993,7 +16830,7 @@ var require_stringify = __commonJS({
|
|
|
15993
16830
|
return typeof v === "string" || typeof v === "number" || typeof v === "boolean" || typeof v === "symbol" || typeof v === "bigint";
|
|
15994
16831
|
};
|
|
15995
16832
|
var sentinel = {};
|
|
15996
|
-
var stringify = function stringify2(object, prefix, generateArrayPrefix, commaRoundTrip, strictNullHandling, skipNulls, encoder, filter, sort, allowDots, serializeDate, format, formatter, encodeValuesOnly, charset, sideChannel) {
|
|
16833
|
+
var stringify = function stringify2(object, prefix, generateArrayPrefix, commaRoundTrip, allowEmptyArrays, strictNullHandling, skipNulls, encodeDotInKeys, encoder, filter, sort, allowDots, serializeDate, format, formatter, encodeValuesOnly, charset, sideChannel) {
|
|
15997
16834
|
var obj = object;
|
|
15998
16835
|
var tmpSc = sideChannel;
|
|
15999
16836
|
var step = 0;
|
|
@@ -16033,14 +16870,6 @@ var require_stringify = __commonJS({
|
|
|
16033
16870
|
if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) {
|
|
16034
16871
|
if (encoder) {
|
|
16035
16872
|
var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, "key", format);
|
|
16036
|
-
if (generateArrayPrefix === "comma" && encodeValuesOnly) {
|
|
16037
|
-
var valuesArray = split.call(String(obj), ",");
|
|
16038
|
-
var valuesJoined = "";
|
|
16039
|
-
for (var i = 0; i < valuesArray.length; ++i) {
|
|
16040
|
-
valuesJoined += (i === 0 ? "" : ",") + formatter(encoder(valuesArray[i], defaults.encoder, charset, "value", format));
|
|
16041
|
-
}
|
|
16042
|
-
return [formatter(keyValue) + (commaRoundTrip && isArray(obj) && valuesArray.length === 1 ? "[]" : "") + "=" + valuesJoined];
|
|
16043
|
-
}
|
|
16044
16873
|
return [formatter(keyValue) + "=" + formatter(encoder(obj, defaults.encoder, charset, "value", format))];
|
|
16045
16874
|
}
|
|
16046
16875
|
return [formatter(prefix) + "=" + formatter(String(obj))];
|
|
@@ -16051,6 +16880,9 @@ var require_stringify = __commonJS({
|
|
|
16051
16880
|
}
|
|
16052
16881
|
var objKeys;
|
|
16053
16882
|
if (generateArrayPrefix === "comma" && isArray(obj)) {
|
|
16883
|
+
if (encodeValuesOnly && encoder) {
|
|
16884
|
+
obj = utils.maybeMap(obj, encoder);
|
|
16885
|
+
}
|
|
16054
16886
|
objKeys = [{ value: obj.length > 0 ? obj.join(",") || null : void 0 }];
|
|
16055
16887
|
} else if (isArray(filter)) {
|
|
16056
16888
|
objKeys = filter;
|
|
@@ -16058,14 +16890,19 @@ var require_stringify = __commonJS({
|
|
|
16058
16890
|
var keys = Object.keys(obj);
|
|
16059
16891
|
objKeys = sort ? keys.sort(sort) : keys;
|
|
16060
16892
|
}
|
|
16061
|
-
var
|
|
16893
|
+
var encodedPrefix = encodeDotInKeys ? prefix.replace(/\./g, "%2E") : prefix;
|
|
16894
|
+
var adjustedPrefix = commaRoundTrip && isArray(obj) && obj.length === 1 ? encodedPrefix + "[]" : encodedPrefix;
|
|
16895
|
+
if (allowEmptyArrays && isArray(obj) && obj.length === 0) {
|
|
16896
|
+
return adjustedPrefix + "[]";
|
|
16897
|
+
}
|
|
16062
16898
|
for (var j = 0; j < objKeys.length; ++j) {
|
|
16063
16899
|
var key = objKeys[j];
|
|
16064
16900
|
var value = typeof key === "object" && typeof key.value !== "undefined" ? key.value : obj[key];
|
|
16065
16901
|
if (skipNulls && value === null) {
|
|
16066
16902
|
continue;
|
|
16067
16903
|
}
|
|
16068
|
-
var
|
|
16904
|
+
var encodedKey = allowDots && encodeDotInKeys ? key.replace(/\./g, "%2E") : key;
|
|
16905
|
+
var keyPrefix = isArray(obj) ? typeof generateArrayPrefix === "function" ? generateArrayPrefix(adjustedPrefix, encodedKey) : adjustedPrefix : adjustedPrefix + (allowDots ? "." + encodedKey : "[" + encodedKey + "]");
|
|
16069
16906
|
sideChannel.set(object, step);
|
|
16070
16907
|
var valueSideChannel = getSideChannel();
|
|
16071
16908
|
valueSideChannel.set(sentinel, sideChannel);
|
|
@@ -16074,9 +16911,11 @@ var require_stringify = __commonJS({
|
|
|
16074
16911
|
keyPrefix,
|
|
16075
16912
|
generateArrayPrefix,
|
|
16076
16913
|
commaRoundTrip,
|
|
16914
|
+
allowEmptyArrays,
|
|
16077
16915
|
strictNullHandling,
|
|
16078
16916
|
skipNulls,
|
|
16079
|
-
|
|
16917
|
+
encodeDotInKeys,
|
|
16918
|
+
generateArrayPrefix === "comma" && encodeValuesOnly && isArray(obj) ? null : encoder,
|
|
16080
16919
|
filter,
|
|
16081
16920
|
sort,
|
|
16082
16921
|
allowDots,
|
|
@@ -16094,6 +16933,12 @@ var require_stringify = __commonJS({
|
|
|
16094
16933
|
if (!opts) {
|
|
16095
16934
|
return defaults;
|
|
16096
16935
|
}
|
|
16936
|
+
if (typeof opts.allowEmptyArrays !== "undefined" && typeof opts.allowEmptyArrays !== "boolean") {
|
|
16937
|
+
throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
|
|
16938
|
+
}
|
|
16939
|
+
if (typeof opts.encodeDotInKeys !== "undefined" && typeof opts.encodeDotInKeys !== "boolean") {
|
|
16940
|
+
throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");
|
|
16941
|
+
}
|
|
16097
16942
|
if (opts.encoder !== null && typeof opts.encoder !== "undefined" && typeof opts.encoder !== "function") {
|
|
16098
16943
|
throw new TypeError("Encoder has to be a function.");
|
|
16099
16944
|
}
|
|
@@ -16113,13 +16958,29 @@ var require_stringify = __commonJS({
|
|
|
16113
16958
|
if (typeof opts.filter === "function" || isArray(opts.filter)) {
|
|
16114
16959
|
filter = opts.filter;
|
|
16115
16960
|
}
|
|
16961
|
+
var arrayFormat;
|
|
16962
|
+
if (opts.arrayFormat in arrayPrefixGenerators) {
|
|
16963
|
+
arrayFormat = opts.arrayFormat;
|
|
16964
|
+
} else if ("indices" in opts) {
|
|
16965
|
+
arrayFormat = opts.indices ? "indices" : "repeat";
|
|
16966
|
+
} else {
|
|
16967
|
+
arrayFormat = defaults.arrayFormat;
|
|
16968
|
+
}
|
|
16969
|
+
if ("commaRoundTrip" in opts && typeof opts.commaRoundTrip !== "boolean") {
|
|
16970
|
+
throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
|
|
16971
|
+
}
|
|
16972
|
+
var allowDots = typeof opts.allowDots === "undefined" ? opts.encodeDotInKeys === true ? true : defaults.allowDots : !!opts.allowDots;
|
|
16116
16973
|
return {
|
|
16117
16974
|
addQueryPrefix: typeof opts.addQueryPrefix === "boolean" ? opts.addQueryPrefix : defaults.addQueryPrefix,
|
|
16118
|
-
allowDots
|
|
16975
|
+
allowDots,
|
|
16976
|
+
allowEmptyArrays: typeof opts.allowEmptyArrays === "boolean" ? !!opts.allowEmptyArrays : defaults.allowEmptyArrays,
|
|
16977
|
+
arrayFormat,
|
|
16119
16978
|
charset,
|
|
16120
16979
|
charsetSentinel: typeof opts.charsetSentinel === "boolean" ? opts.charsetSentinel : defaults.charsetSentinel,
|
|
16980
|
+
commaRoundTrip: opts.commaRoundTrip,
|
|
16121
16981
|
delimiter: typeof opts.delimiter === "undefined" ? defaults.delimiter : opts.delimiter,
|
|
16122
16982
|
encode: typeof opts.encode === "boolean" ? opts.encode : defaults.encode,
|
|
16983
|
+
encodeDotInKeys: typeof opts.encodeDotInKeys === "boolean" ? opts.encodeDotInKeys : defaults.encodeDotInKeys,
|
|
16123
16984
|
encoder: typeof opts.encoder === "function" ? opts.encoder : defaults.encoder,
|
|
16124
16985
|
encodeValuesOnly: typeof opts.encodeValuesOnly === "boolean" ? opts.encodeValuesOnly : defaults.encodeValuesOnly,
|
|
16125
16986
|
filter,
|
|
@@ -16147,19 +17008,8 @@ var require_stringify = __commonJS({
|
|
|
16147
17008
|
if (typeof obj !== "object" || obj === null) {
|
|
16148
17009
|
return "";
|
|
16149
17010
|
}
|
|
16150
|
-
var arrayFormat;
|
|
16151
|
-
|
|
16152
|
-
arrayFormat = opts.arrayFormat;
|
|
16153
|
-
} else if (opts && "indices" in opts) {
|
|
16154
|
-
arrayFormat = opts.indices ? "indices" : "repeat";
|
|
16155
|
-
} else {
|
|
16156
|
-
arrayFormat = "indices";
|
|
16157
|
-
}
|
|
16158
|
-
var generateArrayPrefix = arrayPrefixGenerators[arrayFormat];
|
|
16159
|
-
if (opts && "commaRoundTrip" in opts && typeof opts.commaRoundTrip !== "boolean") {
|
|
16160
|
-
throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
|
|
16161
|
-
}
|
|
16162
|
-
var commaRoundTrip = generateArrayPrefix === "comma" && opts && opts.commaRoundTrip;
|
|
17011
|
+
var generateArrayPrefix = arrayPrefixGenerators[options.arrayFormat];
|
|
17012
|
+
var commaRoundTrip = generateArrayPrefix === "comma" && options.commaRoundTrip;
|
|
16163
17013
|
if (!objKeys) {
|
|
16164
17014
|
objKeys = Object.keys(obj);
|
|
16165
17015
|
}
|
|
@@ -16177,8 +17027,10 @@ var require_stringify = __commonJS({
|
|
|
16177
17027
|
key,
|
|
16178
17028
|
generateArrayPrefix,
|
|
16179
17029
|
commaRoundTrip,
|
|
17030
|
+
options.allowEmptyArrays,
|
|
16180
17031
|
options.strictNullHandling,
|
|
16181
17032
|
options.skipNulls,
|
|
17033
|
+
options.encodeDotInKeys,
|
|
16182
17034
|
options.encode ? options.encoder : null,
|
|
16183
17035
|
options.filter,
|
|
16184
17036
|
options.sort,
|
|
@@ -16215,20 +17067,24 @@ var require_parse = __commonJS({
|
|
|
16215
17067
|
var isArray = Array.isArray;
|
|
16216
17068
|
var defaults = {
|
|
16217
17069
|
allowDots: false,
|
|
17070
|
+
allowEmptyArrays: false,
|
|
16218
17071
|
allowPrototypes: false,
|
|
16219
17072
|
allowSparse: false,
|
|
16220
17073
|
arrayLimit: 20,
|
|
16221
17074
|
charset: "utf-8",
|
|
16222
17075
|
charsetSentinel: false,
|
|
16223
17076
|
comma: false,
|
|
17077
|
+
decodeDotInKeys: false,
|
|
16224
17078
|
decoder: utils.decode,
|
|
16225
17079
|
delimiter: "&",
|
|
16226
17080
|
depth: 5,
|
|
17081
|
+
duplicates: "combine",
|
|
16227
17082
|
ignoreQueryPrefix: false,
|
|
16228
17083
|
interpretNumericEntities: false,
|
|
16229
17084
|
parameterLimit: 1e3,
|
|
16230
17085
|
parseArrays: true,
|
|
16231
17086
|
plainObjects: false,
|
|
17087
|
+
strictDepth: false,
|
|
16232
17088
|
strictNullHandling: false
|
|
16233
17089
|
};
|
|
16234
17090
|
var interpretNumericEntities = function(str) {
|
|
@@ -16245,8 +17101,9 @@ var require_parse = __commonJS({
|
|
|
16245
17101
|
var isoSentinel = "utf8=%26%2310003%3B";
|
|
16246
17102
|
var charsetSentinel = "utf8=%E2%9C%93";
|
|
16247
17103
|
var parseValues = function parseQueryStringValues(str, options) {
|
|
16248
|
-
var obj = {};
|
|
17104
|
+
var obj = { __proto__: null };
|
|
16249
17105
|
var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\?/, "") : str;
|
|
17106
|
+
cleanStr = cleanStr.replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
16250
17107
|
var limit = options.parameterLimit === Infinity ? void 0 : options.parameterLimit;
|
|
16251
17108
|
var parts = cleanStr.split(options.delimiter, limit);
|
|
16252
17109
|
var skipIndex = -1;
|
|
@@ -16291,9 +17148,10 @@ var require_parse = __commonJS({
|
|
|
16291
17148
|
if (part.indexOf("[]=") > -1) {
|
|
16292
17149
|
val = isArray(val) ? [val] : val;
|
|
16293
17150
|
}
|
|
16294
|
-
|
|
17151
|
+
var existing = has.call(obj, key);
|
|
17152
|
+
if (existing && options.duplicates === "combine") {
|
|
16295
17153
|
obj[key] = utils.combine(obj[key], val);
|
|
16296
|
-
} else {
|
|
17154
|
+
} else if (!existing || options.duplicates === "last") {
|
|
16297
17155
|
obj[key] = val;
|
|
16298
17156
|
}
|
|
16299
17157
|
}
|
|
@@ -16305,18 +17163,19 @@ var require_parse = __commonJS({
|
|
|
16305
17163
|
var obj;
|
|
16306
17164
|
var root = chain[i];
|
|
16307
17165
|
if (root === "[]" && options.parseArrays) {
|
|
16308
|
-
obj = [].concat(leaf);
|
|
17166
|
+
obj = options.allowEmptyArrays && (leaf === "" || options.strictNullHandling && leaf === null) ? [] : [].concat(leaf);
|
|
16309
17167
|
} else {
|
|
16310
17168
|
obj = options.plainObjects ? /* @__PURE__ */ Object.create(null) : {};
|
|
16311
17169
|
var cleanRoot = root.charAt(0) === "[" && root.charAt(root.length - 1) === "]" ? root.slice(1, -1) : root;
|
|
16312
|
-
var
|
|
16313
|
-
|
|
17170
|
+
var decodedRoot = options.decodeDotInKeys ? cleanRoot.replace(/%2E/g, ".") : cleanRoot;
|
|
17171
|
+
var index = parseInt(decodedRoot, 10);
|
|
17172
|
+
if (!options.parseArrays && decodedRoot === "") {
|
|
16314
17173
|
obj = { 0: leaf };
|
|
16315
|
-
} else if (!isNaN(index) && root !==
|
|
17174
|
+
} else if (!isNaN(index) && root !== decodedRoot && String(index) === decodedRoot && index >= 0 && (options.parseArrays && index <= options.arrayLimit)) {
|
|
16316
17175
|
obj = [];
|
|
16317
17176
|
obj[index] = leaf;
|
|
16318
|
-
} else if (
|
|
16319
|
-
obj[
|
|
17177
|
+
} else if (decodedRoot !== "__proto__") {
|
|
17178
|
+
obj[decodedRoot] = leaf;
|
|
16320
17179
|
}
|
|
16321
17180
|
}
|
|
16322
17181
|
leaf = obj;
|
|
@@ -16352,6 +17211,9 @@ var require_parse = __commonJS({
|
|
|
16352
17211
|
keys.push(segment[1]);
|
|
16353
17212
|
}
|
|
16354
17213
|
if (segment) {
|
|
17214
|
+
if (options.strictDepth === true) {
|
|
17215
|
+
throw new RangeError("Input depth exceeded depth option of " + options.depth + " and strictDepth is true");
|
|
17216
|
+
}
|
|
16355
17217
|
keys.push("[" + key.slice(segment.index) + "]");
|
|
16356
17218
|
}
|
|
16357
17219
|
return parseObject(keys, val, options, valuesParsed);
|
|
@@ -16360,30 +17222,45 @@ var require_parse = __commonJS({
|
|
|
16360
17222
|
if (!opts) {
|
|
16361
17223
|
return defaults;
|
|
16362
17224
|
}
|
|
16363
|
-
if (
|
|
17225
|
+
if (typeof opts.allowEmptyArrays !== "undefined" && typeof opts.allowEmptyArrays !== "boolean") {
|
|
17226
|
+
throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
|
|
17227
|
+
}
|
|
17228
|
+
if (typeof opts.decodeDotInKeys !== "undefined" && typeof opts.decodeDotInKeys !== "boolean") {
|
|
17229
|
+
throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");
|
|
17230
|
+
}
|
|
17231
|
+
if (opts.decoder !== null && typeof opts.decoder !== "undefined" && typeof opts.decoder !== "function") {
|
|
16364
17232
|
throw new TypeError("Decoder has to be a function.");
|
|
16365
17233
|
}
|
|
16366
17234
|
if (typeof opts.charset !== "undefined" && opts.charset !== "utf-8" && opts.charset !== "iso-8859-1") {
|
|
16367
17235
|
throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
|
|
16368
17236
|
}
|
|
16369
17237
|
var charset = typeof opts.charset === "undefined" ? defaults.charset : opts.charset;
|
|
17238
|
+
var duplicates = typeof opts.duplicates === "undefined" ? defaults.duplicates : opts.duplicates;
|
|
17239
|
+
if (duplicates !== "combine" && duplicates !== "first" && duplicates !== "last") {
|
|
17240
|
+
throw new TypeError("The duplicates option must be either combine, first, or last");
|
|
17241
|
+
}
|
|
17242
|
+
var allowDots = typeof opts.allowDots === "undefined" ? opts.decodeDotInKeys === true ? true : defaults.allowDots : !!opts.allowDots;
|
|
16370
17243
|
return {
|
|
16371
|
-
allowDots
|
|
17244
|
+
allowDots,
|
|
17245
|
+
allowEmptyArrays: typeof opts.allowEmptyArrays === "boolean" ? !!opts.allowEmptyArrays : defaults.allowEmptyArrays,
|
|
16372
17246
|
allowPrototypes: typeof opts.allowPrototypes === "boolean" ? opts.allowPrototypes : defaults.allowPrototypes,
|
|
16373
17247
|
allowSparse: typeof opts.allowSparse === "boolean" ? opts.allowSparse : defaults.allowSparse,
|
|
16374
17248
|
arrayLimit: typeof opts.arrayLimit === "number" ? opts.arrayLimit : defaults.arrayLimit,
|
|
16375
17249
|
charset,
|
|
16376
17250
|
charsetSentinel: typeof opts.charsetSentinel === "boolean" ? opts.charsetSentinel : defaults.charsetSentinel,
|
|
16377
17251
|
comma: typeof opts.comma === "boolean" ? opts.comma : defaults.comma,
|
|
17252
|
+
decodeDotInKeys: typeof opts.decodeDotInKeys === "boolean" ? opts.decodeDotInKeys : defaults.decodeDotInKeys,
|
|
16378
17253
|
decoder: typeof opts.decoder === "function" ? opts.decoder : defaults.decoder,
|
|
16379
17254
|
delimiter: typeof opts.delimiter === "string" || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults.delimiter,
|
|
16380
17255
|
// eslint-disable-next-line no-implicit-coercion, no-extra-parens
|
|
16381
17256
|
depth: typeof opts.depth === "number" || opts.depth === false ? +opts.depth : defaults.depth,
|
|
17257
|
+
duplicates,
|
|
16382
17258
|
ignoreQueryPrefix: opts.ignoreQueryPrefix === true,
|
|
16383
17259
|
interpretNumericEntities: typeof opts.interpretNumericEntities === "boolean" ? opts.interpretNumericEntities : defaults.interpretNumericEntities,
|
|
16384
17260
|
parameterLimit: typeof opts.parameterLimit === "number" ? opts.parameterLimit : defaults.parameterLimit,
|
|
16385
17261
|
parseArrays: opts.parseArrays !== false,
|
|
16386
17262
|
plainObjects: typeof opts.plainObjects === "boolean" ? opts.plainObjects : defaults.plainObjects,
|
|
17263
|
+
strictDepth: typeof opts.strictDepth === "boolean" ? !!opts.strictDepth : defaults.strictDepth,
|
|
16387
17264
|
strictNullHandling: typeof opts.strictNullHandling === "boolean" ? opts.strictNullHandling : defaults.strictNullHandling
|
|
16388
17265
|
};
|
|
16389
17266
|
};
|
|
@@ -16448,6 +17325,7 @@ var require_urlencoded = __commonJS({
|
|
|
16448
17325
|
var limit = typeof opts.limit !== "number" ? bytes.parse(opts.limit || "100kb") : opts.limit;
|
|
16449
17326
|
var type = opts.type || "application/x-www-form-urlencoded";
|
|
16450
17327
|
var verify = opts.verify || false;
|
|
17328
|
+
var depth = typeof opts.depth !== "number" ? Number(opts.depth || 32) : opts.depth;
|
|
16451
17329
|
if (verify !== false && typeof verify !== "function") {
|
|
16452
17330
|
throw new TypeError("option verify must be function");
|
|
16453
17331
|
}
|
|
@@ -16488,16 +17366,21 @@ var require_urlencoded = __commonJS({
|
|
|
16488
17366
|
encoding: charset,
|
|
16489
17367
|
inflate,
|
|
16490
17368
|
limit,
|
|
16491
|
-
verify
|
|
17369
|
+
verify,
|
|
17370
|
+
depth
|
|
16492
17371
|
});
|
|
16493
17372
|
};
|
|
16494
17373
|
}
|
|
16495
17374
|
function extendedparser(options) {
|
|
16496
17375
|
var parameterLimit = options.parameterLimit !== void 0 ? options.parameterLimit : 1e3;
|
|
17376
|
+
var depth = typeof options.depth !== "number" ? Number(options.depth || 32) : options.depth;
|
|
16497
17377
|
var parse = parser("qs");
|
|
16498
17378
|
if (isNaN(parameterLimit) || parameterLimit < 1) {
|
|
16499
17379
|
throw new TypeError("option parameterLimit must be a positive number");
|
|
16500
17380
|
}
|
|
17381
|
+
if (isNaN(depth) || depth < 0) {
|
|
17382
|
+
throw new TypeError("option depth must be a zero or a positive number");
|
|
17383
|
+
}
|
|
16501
17384
|
if (isFinite(parameterLimit)) {
|
|
16502
17385
|
parameterLimit = parameterLimit | 0;
|
|
16503
17386
|
}
|
|
@@ -16511,12 +17394,23 @@ var require_urlencoded = __commonJS({
|
|
|
16511
17394
|
}
|
|
16512
17395
|
var arrayLimit = Math.max(100, paramCount);
|
|
16513
17396
|
debug("parse extended urlencoding");
|
|
16514
|
-
|
|
16515
|
-
|
|
16516
|
-
|
|
16517
|
-
|
|
16518
|
-
|
|
16519
|
-
|
|
17397
|
+
try {
|
|
17398
|
+
return parse(body, {
|
|
17399
|
+
allowPrototypes: true,
|
|
17400
|
+
arrayLimit,
|
|
17401
|
+
depth,
|
|
17402
|
+
strictDepth: true,
|
|
17403
|
+
parameterLimit
|
|
17404
|
+
});
|
|
17405
|
+
} catch (err) {
|
|
17406
|
+
if (err instanceof RangeError) {
|
|
17407
|
+
throw createError(400, "The input exceeded the depth", {
|
|
17408
|
+
type: "querystring.parse.rangeError"
|
|
17409
|
+
});
|
|
17410
|
+
} else {
|
|
17411
|
+
throw err;
|
|
17412
|
+
}
|
|
17413
|
+
}
|
|
16520
17414
|
};
|
|
16521
17415
|
}
|
|
16522
17416
|
function getCharset(req) {
|
|
@@ -17119,7 +18013,7 @@ var require_node2 = __commonJS({
|
|
|
17119
18013
|
});
|
|
17120
18014
|
|
|
17121
18015
|
// ../../node_modules/finalhandler/node_modules/debug/src/index.js
|
|
17122
|
-
var
|
|
18016
|
+
var require_src2 = __commonJS({
|
|
17123
18017
|
"../../node_modules/finalhandler/node_modules/debug/src/index.js"(exports, module) {
|
|
17124
18018
|
init_cjs_shim();
|
|
17125
18019
|
if (typeof process !== "undefined" && process.type === "renderer") {
|
|
@@ -17136,7 +18030,7 @@ var require_encodeurl = __commonJS({
|
|
|
17136
18030
|
"use strict";
|
|
17137
18031
|
init_cjs_shim();
|
|
17138
18032
|
module.exports = encodeUrl;
|
|
17139
|
-
var ENCODE_CHARS_REGEXP = /(?:[^\x21\
|
|
18033
|
+
var ENCODE_CHARS_REGEXP = /(?:[^\x21\x23-\x3B\x3D\x3F-\x5F\x61-\x7A\x7C\x7E]|%(?:[^0-9A-Fa-f]|[0-9A-Fa-f][^0-9A-Fa-f]|$))+/g;
|
|
17140
18034
|
var UNMATCHED_SURROGATE_PAIR_REGEXP = /(^|[^\uD800-\uDBFF])[\uDC00-\uDFFF]|[\uD800-\uDBFF]([^\uDC00-\uDFFF]|$)/g;
|
|
17141
18035
|
var UNMATCHED_SURROGATE_PAIR_REPLACE = "$1\uFFFD$2";
|
|
17142
18036
|
function encodeUrl(url2) {
|
|
@@ -17277,7 +18171,7 @@ var require_finalhandler = __commonJS({
|
|
|
17277
18171
|
"../../node_modules/finalhandler/index.js"(exports, module) {
|
|
17278
18172
|
"use strict";
|
|
17279
18173
|
init_cjs_shim();
|
|
17280
|
-
var debug =
|
|
18174
|
+
var debug = require_src2()("finalhandler");
|
|
17281
18175
|
var encodeUrl = require_encodeurl();
|
|
17282
18176
|
var escapeHtml = require_escape_html();
|
|
17283
18177
|
var onFinished = require_on_finished();
|
|
@@ -17325,7 +18219,9 @@ var require_finalhandler = __commonJS({
|
|
|
17325
18219
|
}
|
|
17326
18220
|
if (headersSent(res)) {
|
|
17327
18221
|
debug("cannot %d after headers sent", status);
|
|
17328
|
-
req.socket
|
|
18222
|
+
if (req.socket) {
|
|
18223
|
+
req.socket.destroy();
|
|
18224
|
+
}
|
|
17329
18225
|
return;
|
|
17330
18226
|
}
|
|
17331
18227
|
send(req, res, status, headers, msg);
|
|
@@ -17383,7 +18279,9 @@ var require_finalhandler = __commonJS({
|
|
|
17383
18279
|
function write() {
|
|
17384
18280
|
var body = createHtmlDocument(message);
|
|
17385
18281
|
res.statusCode = status;
|
|
17386
|
-
|
|
18282
|
+
if (req.httpVersionMajor < 2) {
|
|
18283
|
+
res.statusMessage = statuses.message[status];
|
|
18284
|
+
}
|
|
17387
18285
|
res.removeHeader("Content-Encoding");
|
|
17388
18286
|
res.removeHeader("Content-Language");
|
|
17389
18287
|
res.removeHeader("Content-Range");
|
|
@@ -17847,7 +18745,7 @@ var require_node3 = __commonJS({
|
|
|
17847
18745
|
});
|
|
17848
18746
|
|
|
17849
18747
|
// ../../node_modules/express/node_modules/debug/src/index.js
|
|
17850
|
-
var
|
|
18748
|
+
var require_src3 = __commonJS({
|
|
17851
18749
|
"../../node_modules/express/node_modules/debug/src/index.js"(exports, module) {
|
|
17852
18750
|
init_cjs_shim();
|
|
17853
18751
|
if (typeof process !== "undefined" && process.type === "renderer") {
|
|
@@ -17899,23 +18797,28 @@ var require_array_flatten = __commonJS({
|
|
|
17899
18797
|
var require_path_to_regexp = __commonJS({
|
|
17900
18798
|
"../../node_modules/express/node_modules/path-to-regexp/index.js"(exports, module) {
|
|
17901
18799
|
init_cjs_shim();
|
|
17902
|
-
module.exports =
|
|
17903
|
-
var MATCHING_GROUP_REGEXP =
|
|
17904
|
-
function
|
|
18800
|
+
module.exports = pathToRegexp;
|
|
18801
|
+
var MATCHING_GROUP_REGEXP = /\\.|\((?:\?<(.*?)>)?(?!\?)/g;
|
|
18802
|
+
function pathToRegexp(path2, keys, options) {
|
|
17905
18803
|
options = options || {};
|
|
17906
18804
|
keys = keys || [];
|
|
17907
18805
|
var strict = options.strict;
|
|
17908
18806
|
var end = options.end !== false;
|
|
17909
18807
|
var flags = options.sensitive ? "" : "i";
|
|
18808
|
+
var lookahead = options.lookahead !== false;
|
|
17910
18809
|
var extraOffset = 0;
|
|
17911
18810
|
var keysOffset = keys.length;
|
|
17912
18811
|
var i = 0;
|
|
17913
18812
|
var name = 0;
|
|
18813
|
+
var pos = 0;
|
|
18814
|
+
var backtrack = "";
|
|
17914
18815
|
var m;
|
|
17915
18816
|
if (path2 instanceof RegExp) {
|
|
17916
18817
|
while (m = MATCHING_GROUP_REGEXP.exec(path2.source)) {
|
|
18818
|
+
if (m[0][0] === "\\")
|
|
18819
|
+
continue;
|
|
17917
18820
|
keys.push({
|
|
17918
|
-
name: name++,
|
|
18821
|
+
name: m[1] || name++,
|
|
17919
18822
|
optional: false,
|
|
17920
18823
|
offset: m.index
|
|
17921
18824
|
});
|
|
@@ -17924,39 +18827,61 @@ var require_path_to_regexp = __commonJS({
|
|
|
17924
18827
|
}
|
|
17925
18828
|
if (Array.isArray(path2)) {
|
|
17926
18829
|
path2 = path2.map(function(value) {
|
|
17927
|
-
return
|
|
17928
|
-
});
|
|
17929
|
-
return new RegExp("(?:" + path2.join("|") + ")", flags);
|
|
17930
|
-
}
|
|
17931
|
-
path2 = ("^" + path2 + (strict ? "" : path2[path2.length - 1] === "/" ? "?" : "/?")).replace(/\/\(/g, "/(?:").replace(/([\/\.])/g, "\\$1").replace(/(\\\/)?(\\\.)?:(\w+)(\(.*?\))?(\*)?(\?)?/g, function(match, slash, format, key, capture, star, optional, offset) {
|
|
17932
|
-
slash = slash || "";
|
|
17933
|
-
format = format || "";
|
|
17934
|
-
capture = capture || "([^\\/" + format + "]+?)";
|
|
17935
|
-
optional = optional || "";
|
|
17936
|
-
keys.push({
|
|
17937
|
-
name: key,
|
|
17938
|
-
optional: !!optional,
|
|
17939
|
-
offset: offset + extraOffset
|
|
18830
|
+
return pathToRegexp(value, keys, options).source;
|
|
17940
18831
|
});
|
|
17941
|
-
|
|
17942
|
-
|
|
17943
|
-
|
|
17944
|
-
|
|
17945
|
-
|
|
17946
|
-
|
|
17947
|
-
|
|
18832
|
+
return new RegExp(path2.join("|"), flags);
|
|
18833
|
+
}
|
|
18834
|
+
if (typeof path2 !== "string") {
|
|
18835
|
+
throw new TypeError("path must be a string, array of strings, or regular expression");
|
|
18836
|
+
}
|
|
18837
|
+
path2 = path2.replace(
|
|
18838
|
+
/\\.|(\/)?(\.)?:(\w+)(\(.*?\))?(\*)?(\?)?|[.*]|\/\(/g,
|
|
18839
|
+
function(match, slash, format, key, capture, star, optional, offset) {
|
|
18840
|
+
if (match[0] === "\\") {
|
|
18841
|
+
backtrack += match;
|
|
18842
|
+
pos += 2;
|
|
18843
|
+
return match;
|
|
18844
|
+
}
|
|
18845
|
+
if (match === ".") {
|
|
18846
|
+
backtrack += "\\.";
|
|
18847
|
+
extraOffset += 1;
|
|
18848
|
+
pos += 1;
|
|
18849
|
+
return "\\.";
|
|
18850
|
+
}
|
|
18851
|
+
if (slash || format) {
|
|
18852
|
+
backtrack = "";
|
|
18853
|
+
} else {
|
|
18854
|
+
backtrack += path2.slice(pos, offset);
|
|
18855
|
+
}
|
|
18856
|
+
pos = offset + match.length;
|
|
18857
|
+
if (match === "*") {
|
|
18858
|
+
extraOffset += 3;
|
|
18859
|
+
return "(.*)";
|
|
18860
|
+
}
|
|
18861
|
+
if (match === "/(") {
|
|
18862
|
+
backtrack += "/";
|
|
18863
|
+
extraOffset += 2;
|
|
18864
|
+
return "/(?:";
|
|
18865
|
+
}
|
|
18866
|
+
slash = slash || "";
|
|
18867
|
+
format = format ? "\\." : "";
|
|
18868
|
+
optional = optional || "";
|
|
18869
|
+
capture = capture ? capture.replace(/\\.|\*/, function(m2) {
|
|
18870
|
+
return m2 === "*" ? "(.*)" : m2;
|
|
18871
|
+
}) : backtrack ? "((?:(?!/|" + backtrack + ").)+?)" : "([^/" + format + "]+?)";
|
|
18872
|
+
keys.push({
|
|
18873
|
+
name: key,
|
|
18874
|
+
optional: !!optional,
|
|
18875
|
+
offset: offset + extraOffset
|
|
18876
|
+
});
|
|
18877
|
+
var result = "(?:" + format + slash + capture + (star ? "((?:[/" + format + "].+?)?)" : "") + ")" + optional;
|
|
18878
|
+
extraOffset += result.length - match.length;
|
|
18879
|
+
return result;
|
|
17948
18880
|
}
|
|
17949
|
-
|
|
17950
|
-
});
|
|
18881
|
+
);
|
|
17951
18882
|
while (m = MATCHING_GROUP_REGEXP.exec(path2)) {
|
|
17952
|
-
|
|
17953
|
-
var index = m.index;
|
|
17954
|
-
while (path2.charAt(--index) === "\\") {
|
|
17955
|
-
escapeCount++;
|
|
17956
|
-
}
|
|
17957
|
-
if (escapeCount % 2 === 1) {
|
|
18883
|
+
if (m[0][0] === "\\")
|
|
17958
18884
|
continue;
|
|
17959
|
-
}
|
|
17960
18885
|
if (keysOffset + i === keys.length || keys[keysOffset + i].offset > m.index) {
|
|
17961
18886
|
keys.splice(keysOffset + i, 0, {
|
|
17962
18887
|
name: name++,
|
|
@@ -17967,8 +18892,13 @@ var require_path_to_regexp = __commonJS({
|
|
|
17967
18892
|
}
|
|
17968
18893
|
i++;
|
|
17969
18894
|
}
|
|
17970
|
-
path2 +=
|
|
17971
|
-
|
|
18895
|
+
path2 += strict ? "" : path2[path2.length - 1] === "/" ? "?" : "/?";
|
|
18896
|
+
if (end) {
|
|
18897
|
+
path2 += "$";
|
|
18898
|
+
} else if (path2[path2.length - 1] !== "/") {
|
|
18899
|
+
path2 += lookahead ? "(?=/|$)" : "(?:/|$)";
|
|
18900
|
+
}
|
|
18901
|
+
return new RegExp("^" + path2, flags);
|
|
17972
18902
|
}
|
|
17973
18903
|
}
|
|
17974
18904
|
});
|
|
@@ -17979,7 +18909,7 @@ var require_layer = __commonJS({
|
|
|
17979
18909
|
"use strict";
|
|
17980
18910
|
init_cjs_shim();
|
|
17981
18911
|
var pathRegexp = require_path_to_regexp();
|
|
17982
|
-
var debug =
|
|
18912
|
+
var debug = require_src3()("express:router:layer");
|
|
17983
18913
|
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
17984
18914
|
module.exports = Layer;
|
|
17985
18915
|
function Layer(path2, options, fn) {
|
|
@@ -18119,7 +19049,7 @@ var require_route = __commonJS({
|
|
|
18119
19049
|
"../../node_modules/express/lib/router/route.js"(exports, module) {
|
|
18120
19050
|
"use strict";
|
|
18121
19051
|
init_cjs_shim();
|
|
18122
|
-
var debug =
|
|
19052
|
+
var debug = require_src3()("express:router:route");
|
|
18123
19053
|
var flatten = require_array_flatten();
|
|
18124
19054
|
var Layer = require_layer();
|
|
18125
19055
|
var methods = require_methods();
|
|
@@ -18136,7 +19066,7 @@ var require_route = __commonJS({
|
|
|
18136
19066
|
if (this.methods._all) {
|
|
18137
19067
|
return true;
|
|
18138
19068
|
}
|
|
18139
|
-
var name = method.toLowerCase();
|
|
19069
|
+
var name = typeof method === "string" ? method.toLowerCase() : method;
|
|
18140
19070
|
if (name === "head" && !this.methods["head"]) {
|
|
18141
19071
|
name = "get";
|
|
18142
19072
|
}
|
|
@@ -18159,7 +19089,7 @@ var require_route = __commonJS({
|
|
|
18159
19089
|
if (stack.length === 0) {
|
|
18160
19090
|
return done();
|
|
18161
19091
|
}
|
|
18162
|
-
var method = req.method.toLowerCase();
|
|
19092
|
+
var method = typeof req.method === "string" ? req.method.toLowerCase() : req.method;
|
|
18163
19093
|
if (method === "head" && !this.methods["head"]) {
|
|
18164
19094
|
method = "get";
|
|
18165
19095
|
}
|
|
@@ -18251,7 +19181,7 @@ var require_router = __commonJS({
|
|
|
18251
19181
|
var Layer = require_layer();
|
|
18252
19182
|
var methods = require_methods();
|
|
18253
19183
|
var mixin = require_utils_merge();
|
|
18254
|
-
var debug =
|
|
19184
|
+
var debug = require_src3()("express:router");
|
|
18255
19185
|
var deprecate = require_depd()("express");
|
|
18256
19186
|
var flatten = require_array_flatten();
|
|
18257
19187
|
var parseUrl = require_parseurl();
|
|
@@ -18685,7 +19615,7 @@ var require_view = __commonJS({
|
|
|
18685
19615
|
"../../node_modules/express/lib/view.js"(exports, module) {
|
|
18686
19616
|
"use strict";
|
|
18687
19617
|
init_cjs_shim();
|
|
18688
|
-
var debug =
|
|
19618
|
+
var debug = require_src3()("express:view");
|
|
18689
19619
|
var path2 = __require("path");
|
|
18690
19620
|
var fs = __require("fs");
|
|
18691
19621
|
var dirname = path2.dirname;
|
|
@@ -18984,6 +19914,108 @@ var require_content_disposition = __commonJS({
|
|
|
18984
19914
|
}
|
|
18985
19915
|
});
|
|
18986
19916
|
|
|
19917
|
+
// ../../node_modules/content-type/index.js
|
|
19918
|
+
var require_content_type2 = __commonJS({
|
|
19919
|
+
"../../node_modules/content-type/index.js"(exports) {
|
|
19920
|
+
"use strict";
|
|
19921
|
+
init_cjs_shim();
|
|
19922
|
+
var PARAM_REGEXP = /; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g;
|
|
19923
|
+
var TEXT_REGEXP = /^[\u000b\u0020-\u007e\u0080-\u00ff]+$/;
|
|
19924
|
+
var TOKEN_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;
|
|
19925
|
+
var QESC_REGEXP = /\\([\u000b\u0020-\u00ff])/g;
|
|
19926
|
+
var QUOTE_REGEXP = /([\\"])/g;
|
|
19927
|
+
var TYPE_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;
|
|
19928
|
+
exports.format = format;
|
|
19929
|
+
exports.parse = parse;
|
|
19930
|
+
function format(obj) {
|
|
19931
|
+
if (!obj || typeof obj !== "object") {
|
|
19932
|
+
throw new TypeError("argument obj is required");
|
|
19933
|
+
}
|
|
19934
|
+
var parameters = obj.parameters;
|
|
19935
|
+
var type = obj.type;
|
|
19936
|
+
if (!type || !TYPE_REGEXP.test(type)) {
|
|
19937
|
+
throw new TypeError("invalid type");
|
|
19938
|
+
}
|
|
19939
|
+
var string = type;
|
|
19940
|
+
if (parameters && typeof parameters === "object") {
|
|
19941
|
+
var param;
|
|
19942
|
+
var params = Object.keys(parameters).sort();
|
|
19943
|
+
for (var i = 0; i < params.length; i++) {
|
|
19944
|
+
param = params[i];
|
|
19945
|
+
if (!TOKEN_REGEXP.test(param)) {
|
|
19946
|
+
throw new TypeError("invalid parameter name");
|
|
19947
|
+
}
|
|
19948
|
+
string += "; " + param + "=" + qstring(parameters[param]);
|
|
19949
|
+
}
|
|
19950
|
+
}
|
|
19951
|
+
return string;
|
|
19952
|
+
}
|
|
19953
|
+
function parse(string) {
|
|
19954
|
+
if (!string) {
|
|
19955
|
+
throw new TypeError("argument string is required");
|
|
19956
|
+
}
|
|
19957
|
+
var header = typeof string === "object" ? getcontenttype(string) : string;
|
|
19958
|
+
if (typeof header !== "string") {
|
|
19959
|
+
throw new TypeError("argument string is required to be a string");
|
|
19960
|
+
}
|
|
19961
|
+
var index = header.indexOf(";");
|
|
19962
|
+
var type = index !== -1 ? header.substr(0, index).trim() : header.trim();
|
|
19963
|
+
if (!TYPE_REGEXP.test(type)) {
|
|
19964
|
+
throw new TypeError("invalid media type");
|
|
19965
|
+
}
|
|
19966
|
+
var obj = new ContentType(type.toLowerCase());
|
|
19967
|
+
if (index !== -1) {
|
|
19968
|
+
var key;
|
|
19969
|
+
var match;
|
|
19970
|
+
var value;
|
|
19971
|
+
PARAM_REGEXP.lastIndex = index;
|
|
19972
|
+
while (match = PARAM_REGEXP.exec(header)) {
|
|
19973
|
+
if (match.index !== index) {
|
|
19974
|
+
throw new TypeError("invalid parameter format");
|
|
19975
|
+
}
|
|
19976
|
+
index += match[0].length;
|
|
19977
|
+
key = match[1].toLowerCase();
|
|
19978
|
+
value = match[2];
|
|
19979
|
+
if (value[0] === '"') {
|
|
19980
|
+
value = value.substr(1, value.length - 2).replace(QESC_REGEXP, "$1");
|
|
19981
|
+
}
|
|
19982
|
+
obj.parameters[key] = value;
|
|
19983
|
+
}
|
|
19984
|
+
if (index !== header.length) {
|
|
19985
|
+
throw new TypeError("invalid parameter format");
|
|
19986
|
+
}
|
|
19987
|
+
}
|
|
19988
|
+
return obj;
|
|
19989
|
+
}
|
|
19990
|
+
function getcontenttype(obj) {
|
|
19991
|
+
var header;
|
|
19992
|
+
if (typeof obj.getHeader === "function") {
|
|
19993
|
+
header = obj.getHeader("content-type");
|
|
19994
|
+
} else if (typeof obj.headers === "object") {
|
|
19995
|
+
header = obj.headers && obj.headers["content-type"];
|
|
19996
|
+
}
|
|
19997
|
+
if (typeof header !== "string") {
|
|
19998
|
+
throw new TypeError("content-type header is missing from object");
|
|
19999
|
+
}
|
|
20000
|
+
return header;
|
|
20001
|
+
}
|
|
20002
|
+
function qstring(val) {
|
|
20003
|
+
var str = String(val);
|
|
20004
|
+
if (TOKEN_REGEXP.test(str)) {
|
|
20005
|
+
return str;
|
|
20006
|
+
}
|
|
20007
|
+
if (str.length > 0 && !TEXT_REGEXP.test(str)) {
|
|
20008
|
+
throw new TypeError("invalid parameter value");
|
|
20009
|
+
}
|
|
20010
|
+
return '"' + str.replace(QUOTE_REGEXP, "\\$1") + '"';
|
|
20011
|
+
}
|
|
20012
|
+
function ContentType(type) {
|
|
20013
|
+
this.parameters = /* @__PURE__ */ Object.create(null);
|
|
20014
|
+
this.type = type;
|
|
20015
|
+
}
|
|
20016
|
+
}
|
|
20017
|
+
});
|
|
20018
|
+
|
|
18987
20019
|
// ../../node_modules/send/node_modules/debug/node_modules/ms/index.js
|
|
18988
20020
|
var require_ms4 = __commonJS({
|
|
18989
20021
|
"../../node_modules/send/node_modules/debug/node_modules/ms/index.js"(exports, module) {
|
|
@@ -19412,7 +20444,7 @@ var require_node4 = __commonJS({
|
|
|
19412
20444
|
});
|
|
19413
20445
|
|
|
19414
20446
|
// ../../node_modules/send/node_modules/debug/src/index.js
|
|
19415
|
-
var
|
|
20447
|
+
var require_src4 = __commonJS({
|
|
19416
20448
|
"../../node_modules/send/node_modules/debug/src/index.js"(exports, module) {
|
|
19417
20449
|
init_cjs_shim();
|
|
19418
20450
|
if (typeof process !== "undefined" && process.type === "renderer") {
|
|
@@ -19423,6 +20455,21 @@ var require_src5 = __commonJS({
|
|
|
19423
20455
|
}
|
|
19424
20456
|
});
|
|
19425
20457
|
|
|
20458
|
+
// ../../node_modules/send/node_modules/encodeurl/index.js
|
|
20459
|
+
var require_encodeurl2 = __commonJS({
|
|
20460
|
+
"../../node_modules/send/node_modules/encodeurl/index.js"(exports, module) {
|
|
20461
|
+
"use strict";
|
|
20462
|
+
init_cjs_shim();
|
|
20463
|
+
module.exports = encodeUrl;
|
|
20464
|
+
var ENCODE_CHARS_REGEXP = /(?:[^\x21\x25\x26-\x3B\x3D\x3F-\x5B\x5D\x5F\x61-\x7A\x7E]|%(?:[^0-9A-Fa-f]|[0-9A-Fa-f][^0-9A-Fa-f]|$))+/g;
|
|
20465
|
+
var UNMATCHED_SURROGATE_PAIR_REGEXP = /(^|[^\uD800-\uDBFF])[\uDC00-\uDFFF]|[\uD800-\uDBFF]([^\uDC00-\uDFFF]|$)/g;
|
|
20466
|
+
var UNMATCHED_SURROGATE_PAIR_REPLACE = "$1\uFFFD$2";
|
|
20467
|
+
function encodeUrl(url2) {
|
|
20468
|
+
return String(url2).replace(UNMATCHED_SURROGATE_PAIR_REGEXP, UNMATCHED_SURROGATE_PAIR_REPLACE).replace(ENCODE_CHARS_REGEXP, encodeURI);
|
|
20469
|
+
}
|
|
20470
|
+
}
|
|
20471
|
+
});
|
|
20472
|
+
|
|
19426
20473
|
// ../../node_modules/etag/index.js
|
|
19427
20474
|
var require_etag = __commonJS({
|
|
19428
20475
|
"../../node_modules/etag/index.js"(exports, module) {
|
|
@@ -19807,10 +20854,10 @@ var require_send = __commonJS({
|
|
|
19807
20854
|
"use strict";
|
|
19808
20855
|
init_cjs_shim();
|
|
19809
20856
|
var createError = require_http_errors();
|
|
19810
|
-
var debug =
|
|
20857
|
+
var debug = require_src4()("send");
|
|
19811
20858
|
var deprecate = require_depd()("send");
|
|
19812
20859
|
var destroy = require_destroy();
|
|
19813
|
-
var encodeUrl =
|
|
20860
|
+
var encodeUrl = require_encodeurl2();
|
|
19814
20861
|
var escapeHtml = require_escape_html();
|
|
19815
20862
|
var etag = require_etag();
|
|
19816
20863
|
var fresh = require_fresh();
|
|
@@ -20011,7 +21058,7 @@ var require_send = __commonJS({
|
|
|
20011
21058
|
return;
|
|
20012
21059
|
}
|
|
20013
21060
|
var loc = encodeUrl(collapseLeadingSlashes(this.path + "/"));
|
|
20014
|
-
var doc = createHtmlDocument("Redirecting",
|
|
21061
|
+
var doc = createHtmlDocument("Redirecting", "Redirecting to " + escapeHtml(loc));
|
|
20015
21062
|
res.statusCode = 301;
|
|
20016
21063
|
res.setHeader("Content-Type", "text/html; charset=UTF-8");
|
|
20017
21064
|
res.setHeader("Content-Length", Buffer.byteLength(doc));
|
|
@@ -21197,7 +22244,7 @@ var require_utils2 = __commonJS({
|
|
|
21197
22244
|
init_cjs_shim();
|
|
21198
22245
|
var Buffer2 = require_safe_buffer().Buffer;
|
|
21199
22246
|
var contentDisposition = require_content_disposition();
|
|
21200
|
-
var contentType =
|
|
22247
|
+
var contentType = require_content_type2();
|
|
21201
22248
|
var deprecate = require_depd()("express");
|
|
21202
22249
|
var flatten = require_array_flatten();
|
|
21203
22250
|
var mime = require_send().mime;
|
|
@@ -21233,9 +22280,9 @@ var require_utils2 = __commonJS({
|
|
|
21233
22280
|
contentDisposition,
|
|
21234
22281
|
"utils.contentDisposition: use content-disposition npm module instead"
|
|
21235
22282
|
);
|
|
21236
|
-
function acceptParams(str
|
|
22283
|
+
function acceptParams(str) {
|
|
21237
22284
|
var parts = str.split(/ *; */);
|
|
21238
|
-
var ret = { value: parts[0], quality: 1, params: {}
|
|
22285
|
+
var ret = { value: parts[0], quality: 1, params: {} };
|
|
21239
22286
|
for (var i = 1; i < parts.length; ++i) {
|
|
21240
22287
|
var pms = parts[i].split(/ *= */);
|
|
21241
22288
|
if ("q" === pms[0]) {
|
|
@@ -21342,7 +22389,7 @@ var require_application = __commonJS({
|
|
|
21342
22389
|
var methods = require_methods();
|
|
21343
22390
|
var middleware = require_init();
|
|
21344
22391
|
var query = require_query();
|
|
21345
|
-
var debug =
|
|
22392
|
+
var debug = require_src3()("express:application");
|
|
21346
22393
|
var View = require_view();
|
|
21347
22394
|
var http = __require("http");
|
|
21348
22395
|
var compileETag = require_utils2().compileETag;
|
|
@@ -31032,68 +32079,96 @@ var require_cookie = __commonJS({
|
|
|
31032
32079
|
exports.parse = parse;
|
|
31033
32080
|
exports.serialize = serialize;
|
|
31034
32081
|
var __toString = Object.prototype.toString;
|
|
31035
|
-
var
|
|
31036
|
-
|
|
32082
|
+
var cookieNameRegExp = /^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;
|
|
32083
|
+
var cookieValueRegExp = /^("?)[\u0021\u0023-\u002B\u002D-\u003A\u003C-\u005B\u005D-\u007E]*\1$/;
|
|
32084
|
+
var domainValueRegExp = /^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i;
|
|
32085
|
+
var pathValueRegExp = /^[\u0020-\u003A\u003D-\u007E]*$/;
|
|
32086
|
+
function parse(str, opt) {
|
|
31037
32087
|
if (typeof str !== "string") {
|
|
31038
32088
|
throw new TypeError("argument str must be a string");
|
|
31039
32089
|
}
|
|
31040
32090
|
var obj = {};
|
|
31041
|
-
var
|
|
31042
|
-
|
|
32091
|
+
var len = str.length;
|
|
32092
|
+
if (len < 2)
|
|
32093
|
+
return obj;
|
|
32094
|
+
var dec = opt && opt.decode || decode;
|
|
31043
32095
|
var index = 0;
|
|
31044
|
-
|
|
31045
|
-
|
|
31046
|
-
|
|
32096
|
+
var eqIdx = 0;
|
|
32097
|
+
var endIdx = 0;
|
|
32098
|
+
do {
|
|
32099
|
+
eqIdx = str.indexOf("=", index);
|
|
32100
|
+
if (eqIdx === -1)
|
|
31047
32101
|
break;
|
|
31048
|
-
|
|
31049
|
-
var endIdx = str.indexOf(";", index);
|
|
32102
|
+
endIdx = str.indexOf(";", index);
|
|
31050
32103
|
if (endIdx === -1) {
|
|
31051
|
-
endIdx =
|
|
31052
|
-
} else if (
|
|
32104
|
+
endIdx = len;
|
|
32105
|
+
} else if (eqIdx > endIdx) {
|
|
31053
32106
|
index = str.lastIndexOf(";", eqIdx - 1) + 1;
|
|
31054
32107
|
continue;
|
|
31055
32108
|
}
|
|
31056
|
-
var
|
|
31057
|
-
|
|
31058
|
-
|
|
31059
|
-
|
|
31060
|
-
|
|
31061
|
-
|
|
32109
|
+
var keyStartIdx = startIndex(str, index, eqIdx);
|
|
32110
|
+
var keyEndIdx = endIndex(str, eqIdx, keyStartIdx);
|
|
32111
|
+
var key = str.slice(keyStartIdx, keyEndIdx);
|
|
32112
|
+
if (!obj.hasOwnProperty(key)) {
|
|
32113
|
+
var valStartIdx = startIndex(str, eqIdx + 1, endIdx);
|
|
32114
|
+
var valEndIdx = endIndex(str, endIdx, valStartIdx);
|
|
32115
|
+
if (str.charCodeAt(valStartIdx) === 34 && str.charCodeAt(valEndIdx - 1) === 34) {
|
|
32116
|
+
valStartIdx++;
|
|
32117
|
+
valEndIdx--;
|
|
32118
|
+
}
|
|
32119
|
+
var val = str.slice(valStartIdx, valEndIdx);
|
|
31062
32120
|
obj[key] = tryDecode(val, dec);
|
|
31063
32121
|
}
|
|
31064
32122
|
index = endIdx + 1;
|
|
31065
|
-
}
|
|
32123
|
+
} while (index < len);
|
|
31066
32124
|
return obj;
|
|
31067
32125
|
}
|
|
31068
|
-
function
|
|
31069
|
-
|
|
31070
|
-
|
|
32126
|
+
function startIndex(str, index, max) {
|
|
32127
|
+
do {
|
|
32128
|
+
var code = str.charCodeAt(index);
|
|
32129
|
+
if (code !== 32 && code !== 9)
|
|
32130
|
+
return index;
|
|
32131
|
+
} while (++index < max);
|
|
32132
|
+
return max;
|
|
32133
|
+
}
|
|
32134
|
+
function endIndex(str, index, min) {
|
|
32135
|
+
while (index > min) {
|
|
32136
|
+
var code = str.charCodeAt(--index);
|
|
32137
|
+
if (code !== 32 && code !== 9)
|
|
32138
|
+
return index + 1;
|
|
32139
|
+
}
|
|
32140
|
+
return min;
|
|
32141
|
+
}
|
|
32142
|
+
function serialize(name, val, opt) {
|
|
32143
|
+
var enc = opt && opt.encode || encodeURIComponent;
|
|
31071
32144
|
if (typeof enc !== "function") {
|
|
31072
32145
|
throw new TypeError("option encode is invalid");
|
|
31073
32146
|
}
|
|
31074
|
-
if (!
|
|
32147
|
+
if (!cookieNameRegExp.test(name)) {
|
|
31075
32148
|
throw new TypeError("argument name is invalid");
|
|
31076
32149
|
}
|
|
31077
32150
|
var value = enc(val);
|
|
31078
|
-
if (
|
|
32151
|
+
if (!cookieValueRegExp.test(value)) {
|
|
31079
32152
|
throw new TypeError("argument val is invalid");
|
|
31080
32153
|
}
|
|
31081
32154
|
var str = name + "=" + value;
|
|
32155
|
+
if (!opt)
|
|
32156
|
+
return str;
|
|
31082
32157
|
if (null != opt.maxAge) {
|
|
31083
|
-
var maxAge = opt.maxAge
|
|
31084
|
-
if (
|
|
32158
|
+
var maxAge = Math.floor(opt.maxAge);
|
|
32159
|
+
if (!isFinite(maxAge)) {
|
|
31085
32160
|
throw new TypeError("option maxAge is invalid");
|
|
31086
32161
|
}
|
|
31087
|
-
str += "; Max-Age=" +
|
|
32162
|
+
str += "; Max-Age=" + maxAge;
|
|
31088
32163
|
}
|
|
31089
32164
|
if (opt.domain) {
|
|
31090
|
-
if (!
|
|
32165
|
+
if (!domainValueRegExp.test(opt.domain)) {
|
|
31091
32166
|
throw new TypeError("option domain is invalid");
|
|
31092
32167
|
}
|
|
31093
32168
|
str += "; Domain=" + opt.domain;
|
|
31094
32169
|
}
|
|
31095
32170
|
if (opt.path) {
|
|
31096
|
-
if (!
|
|
32171
|
+
if (!pathValueRegExp.test(opt.path)) {
|
|
31097
32172
|
throw new TypeError("option path is invalid");
|
|
31098
32173
|
}
|
|
31099
32174
|
str += "; Path=" + opt.path;
|
|
@@ -31111,6 +32186,9 @@ var require_cookie = __commonJS({
|
|
|
31111
32186
|
if (opt.secure) {
|
|
31112
32187
|
str += "; Secure";
|
|
31113
32188
|
}
|
|
32189
|
+
if (opt.partitioned) {
|
|
32190
|
+
str += "; Partitioned";
|
|
32191
|
+
}
|
|
31114
32192
|
if (opt.priority) {
|
|
31115
32193
|
var priority = typeof opt.priority === "string" ? opt.priority.toLowerCase() : opt.priority;
|
|
31116
32194
|
switch (priority) {
|
|
@@ -31151,11 +32229,8 @@ var require_cookie = __commonJS({
|
|
|
31151
32229
|
function decode(str) {
|
|
31152
32230
|
return str.indexOf("%") !== -1 ? decodeURIComponent(str) : str;
|
|
31153
32231
|
}
|
|
31154
|
-
function encode(val) {
|
|
31155
|
-
return encodeURIComponent(val);
|
|
31156
|
-
}
|
|
31157
32232
|
function isDate(val) {
|
|
31158
|
-
return __toString.call(val) === "[object Date]"
|
|
32233
|
+
return __toString.call(val) === "[object Date]";
|
|
31159
32234
|
}
|
|
31160
32235
|
function tryDecode(str, decode2) {
|
|
31161
32236
|
try {
|
|
@@ -31599,6 +32674,14 @@ var require_response = __commonJS({
|
|
|
31599
32674
|
return this.getHeader(field);
|
|
31600
32675
|
};
|
|
31601
32676
|
res.clearCookie = function clearCookie(name, options) {
|
|
32677
|
+
if (options) {
|
|
32678
|
+
if (options.maxAge) {
|
|
32679
|
+
deprecate('res.clearCookie: Passing "options.maxAge" is deprecated. In v5.0.0 of Express, this option will be ignored, as res.clearCookie will automatically set cookies to expire immediately. Please update your code to omit this option.');
|
|
32680
|
+
}
|
|
32681
|
+
if (options.expires) {
|
|
32682
|
+
deprecate('res.clearCookie: Passing "options.expires" is deprecated. In v5.0.0 of Express, this option will be ignored, as res.clearCookie will automatically set cookies to expire immediately. Please update your code to omit this option.');
|
|
32683
|
+
}
|
|
32684
|
+
}
|
|
31602
32685
|
var opts = merge({ expires: /* @__PURE__ */ new Date(1), path: "/" }, options);
|
|
31603
32686
|
return this.cookie(name, "", opts);
|
|
31604
32687
|
};
|
|
@@ -31627,9 +32710,12 @@ var require_response = __commonJS({
|
|
|
31627
32710
|
return this;
|
|
31628
32711
|
};
|
|
31629
32712
|
res.location = function location2(url2) {
|
|
31630
|
-
var loc
|
|
32713
|
+
var loc;
|
|
31631
32714
|
if (url2 === "back") {
|
|
32715
|
+
deprecate('res.location("back"): use res.location(req.get("Referrer") || "/") and refer to https://dub.sh/security-redirect for best practices');
|
|
31632
32716
|
loc = this.req.get("Referrer") || "/";
|
|
32717
|
+
} else {
|
|
32718
|
+
loc = String(url2);
|
|
31633
32719
|
}
|
|
31634
32720
|
return this.set("Location", encodeUrl(loc));
|
|
31635
32721
|
};
|
|
@@ -31653,7 +32739,7 @@ var require_response = __commonJS({
|
|
|
31653
32739
|
},
|
|
31654
32740
|
html: function() {
|
|
31655
32741
|
var u = escapeHtml(address);
|
|
31656
|
-
body = "<p>" + statuses.message[status] +
|
|
32742
|
+
body = "<p>" + statuses.message[status] + ". Redirecting to " + u + "</p>";
|
|
31657
32743
|
},
|
|
31658
32744
|
default: function() {
|
|
31659
32745
|
body = "";
|
|
@@ -31880,7 +32966,7 @@ var require_serve_static = __commonJS({
|
|
|
31880
32966
|
originalUrl.path = null;
|
|
31881
32967
|
originalUrl.pathname = collapseLeadingSlashes(originalUrl.pathname + "/");
|
|
31882
32968
|
var loc = encodeUrl(url2.format(originalUrl));
|
|
31883
|
-
var doc = createHtmlDocument("Redirecting",
|
|
32969
|
+
var doc = createHtmlDocument("Redirecting", "Redirecting to " + escapeHtml(loc));
|
|
31884
32970
|
res.statusCode = 301;
|
|
31885
32971
|
res.setHeader("Content-Type", "text/html; charset=UTF-8");
|
|
31886
32972
|
res.setHeader("Content-Length", Buffer.byteLength(doc));
|
|
@@ -31972,79 +33058,115 @@ var require_express2 = __commonJS({
|
|
|
31972
33058
|
}
|
|
31973
33059
|
});
|
|
31974
33060
|
|
|
31975
|
-
// ../../node_modules/
|
|
33061
|
+
// ../../node_modules/cookie/index.js
|
|
31976
33062
|
var require_cookie2 = __commonJS({
|
|
31977
|
-
"../../node_modules/
|
|
33063
|
+
"../../node_modules/cookie/index.js"(exports) {
|
|
31978
33064
|
"use strict";
|
|
31979
33065
|
init_cjs_shim();
|
|
31980
33066
|
exports.parse = parse;
|
|
31981
33067
|
exports.serialize = serialize;
|
|
31982
|
-
var
|
|
31983
|
-
var
|
|
31984
|
-
var
|
|
31985
|
-
|
|
33068
|
+
var __toString = Object.prototype.toString;
|
|
33069
|
+
var __hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
33070
|
+
var cookieNameRegExp = /^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;
|
|
33071
|
+
var cookieValueRegExp = /^("?)[\u0021\u0023-\u002B\u002D-\u003A\u003C-\u005B\u005D-\u007E]*\1$/;
|
|
33072
|
+
var domainValueRegExp = /^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i;
|
|
33073
|
+
var pathValueRegExp = /^[\u0020-\u003A\u003D-\u007E]*$/;
|
|
33074
|
+
function parse(str, opt) {
|
|
31986
33075
|
if (typeof str !== "string") {
|
|
31987
33076
|
throw new TypeError("argument str must be a string");
|
|
31988
33077
|
}
|
|
31989
33078
|
var obj = {};
|
|
31990
|
-
var
|
|
31991
|
-
|
|
31992
|
-
|
|
31993
|
-
|
|
31994
|
-
|
|
31995
|
-
|
|
31996
|
-
|
|
33079
|
+
var len = str.length;
|
|
33080
|
+
if (len < 2)
|
|
33081
|
+
return obj;
|
|
33082
|
+
var dec = opt && opt.decode || decode;
|
|
33083
|
+
var index = 0;
|
|
33084
|
+
var eqIdx = 0;
|
|
33085
|
+
var endIdx = 0;
|
|
33086
|
+
do {
|
|
33087
|
+
eqIdx = str.indexOf("=", index);
|
|
33088
|
+
if (eqIdx === -1)
|
|
33089
|
+
break;
|
|
33090
|
+
endIdx = str.indexOf(";", index);
|
|
33091
|
+
if (endIdx === -1) {
|
|
33092
|
+
endIdx = len;
|
|
33093
|
+
} else if (eqIdx > endIdx) {
|
|
33094
|
+
index = str.lastIndexOf(";", eqIdx - 1) + 1;
|
|
31997
33095
|
continue;
|
|
31998
33096
|
}
|
|
31999
|
-
var
|
|
32000
|
-
|
|
32001
|
-
|
|
32002
|
-
|
|
32003
|
-
|
|
32004
|
-
|
|
33097
|
+
var keyStartIdx = startIndex(str, index, eqIdx);
|
|
33098
|
+
var keyEndIdx = endIndex(str, eqIdx, keyStartIdx);
|
|
33099
|
+
var key = str.slice(keyStartIdx, keyEndIdx);
|
|
33100
|
+
if (!__hasOwnProperty.call(obj, key)) {
|
|
33101
|
+
var valStartIdx = startIndex(str, eqIdx + 1, endIdx);
|
|
33102
|
+
var valEndIdx = endIndex(str, endIdx, valStartIdx);
|
|
33103
|
+
if (str.charCodeAt(valStartIdx) === 34 && str.charCodeAt(valEndIdx - 1) === 34) {
|
|
33104
|
+
valStartIdx++;
|
|
33105
|
+
valEndIdx--;
|
|
33106
|
+
}
|
|
33107
|
+
var val = str.slice(valStartIdx, valEndIdx);
|
|
32005
33108
|
obj[key] = tryDecode(val, dec);
|
|
32006
33109
|
}
|
|
32007
|
-
|
|
33110
|
+
index = endIdx + 1;
|
|
33111
|
+
} while (index < len);
|
|
32008
33112
|
return obj;
|
|
32009
33113
|
}
|
|
32010
|
-
function
|
|
32011
|
-
|
|
32012
|
-
|
|
33114
|
+
function startIndex(str, index, max) {
|
|
33115
|
+
do {
|
|
33116
|
+
var code = str.charCodeAt(index);
|
|
33117
|
+
if (code !== 32 && code !== 9)
|
|
33118
|
+
return index;
|
|
33119
|
+
} while (++index < max);
|
|
33120
|
+
return max;
|
|
33121
|
+
}
|
|
33122
|
+
function endIndex(str, index, min) {
|
|
33123
|
+
while (index > min) {
|
|
33124
|
+
var code = str.charCodeAt(--index);
|
|
33125
|
+
if (code !== 32 && code !== 9)
|
|
33126
|
+
return index + 1;
|
|
33127
|
+
}
|
|
33128
|
+
return min;
|
|
33129
|
+
}
|
|
33130
|
+
function serialize(name, val, opt) {
|
|
33131
|
+
var enc = opt && opt.encode || encodeURIComponent;
|
|
32013
33132
|
if (typeof enc !== "function") {
|
|
32014
33133
|
throw new TypeError("option encode is invalid");
|
|
32015
33134
|
}
|
|
32016
|
-
if (!
|
|
33135
|
+
if (!cookieNameRegExp.test(name)) {
|
|
32017
33136
|
throw new TypeError("argument name is invalid");
|
|
32018
33137
|
}
|
|
32019
33138
|
var value = enc(val);
|
|
32020
|
-
if (
|
|
33139
|
+
if (!cookieValueRegExp.test(value)) {
|
|
32021
33140
|
throw new TypeError("argument val is invalid");
|
|
32022
33141
|
}
|
|
32023
33142
|
var str = name + "=" + value;
|
|
33143
|
+
if (!opt)
|
|
33144
|
+
return str;
|
|
32024
33145
|
if (null != opt.maxAge) {
|
|
32025
|
-
var maxAge = opt.maxAge
|
|
32026
|
-
if (
|
|
33146
|
+
var maxAge = Math.floor(opt.maxAge);
|
|
33147
|
+
if (!isFinite(maxAge)) {
|
|
32027
33148
|
throw new TypeError("option maxAge is invalid");
|
|
32028
33149
|
}
|
|
32029
|
-
str += "; Max-Age=" +
|
|
33150
|
+
str += "; Max-Age=" + maxAge;
|
|
32030
33151
|
}
|
|
32031
33152
|
if (opt.domain) {
|
|
32032
|
-
if (!
|
|
33153
|
+
if (!domainValueRegExp.test(opt.domain)) {
|
|
32033
33154
|
throw new TypeError("option domain is invalid");
|
|
32034
33155
|
}
|
|
32035
33156
|
str += "; Domain=" + opt.domain;
|
|
32036
33157
|
}
|
|
32037
33158
|
if (opt.path) {
|
|
32038
|
-
if (!
|
|
33159
|
+
if (!pathValueRegExp.test(opt.path)) {
|
|
32039
33160
|
throw new TypeError("option path is invalid");
|
|
32040
33161
|
}
|
|
32041
33162
|
str += "; Path=" + opt.path;
|
|
32042
33163
|
}
|
|
32043
33164
|
if (opt.expires) {
|
|
32044
|
-
|
|
33165
|
+
var expires = opt.expires;
|
|
33166
|
+
if (!isDate(expires) || isNaN(expires.valueOf())) {
|
|
32045
33167
|
throw new TypeError("option expires is invalid");
|
|
32046
33168
|
}
|
|
32047
|
-
str += "; Expires=" +
|
|
33169
|
+
str += "; Expires=" + expires.toUTCString();
|
|
32048
33170
|
}
|
|
32049
33171
|
if (opt.httpOnly) {
|
|
32050
33172
|
str += "; HttpOnly";
|
|
@@ -32052,6 +33174,25 @@ var require_cookie2 = __commonJS({
|
|
|
32052
33174
|
if (opt.secure) {
|
|
32053
33175
|
str += "; Secure";
|
|
32054
33176
|
}
|
|
33177
|
+
if (opt.partitioned) {
|
|
33178
|
+
str += "; Partitioned";
|
|
33179
|
+
}
|
|
33180
|
+
if (opt.priority) {
|
|
33181
|
+
var priority = typeof opt.priority === "string" ? opt.priority.toLowerCase() : opt.priority;
|
|
33182
|
+
switch (priority) {
|
|
33183
|
+
case "low":
|
|
33184
|
+
str += "; Priority=Low";
|
|
33185
|
+
break;
|
|
33186
|
+
case "medium":
|
|
33187
|
+
str += "; Priority=Medium";
|
|
33188
|
+
break;
|
|
33189
|
+
case "high":
|
|
33190
|
+
str += "; Priority=High";
|
|
33191
|
+
break;
|
|
33192
|
+
default:
|
|
33193
|
+
throw new TypeError("option priority is invalid");
|
|
33194
|
+
}
|
|
33195
|
+
}
|
|
32055
33196
|
if (opt.sameSite) {
|
|
32056
33197
|
var sameSite = typeof opt.sameSite === "string" ? opt.sameSite.toLowerCase() : opt.sameSite;
|
|
32057
33198
|
switch (sameSite) {
|
|
@@ -32073,6 +33214,12 @@ var require_cookie2 = __commonJS({
|
|
|
32073
33214
|
}
|
|
32074
33215
|
return str;
|
|
32075
33216
|
}
|
|
33217
|
+
function decode(str) {
|
|
33218
|
+
return str.indexOf("%") !== -1 ? decodeURIComponent(str) : str;
|
|
33219
|
+
}
|
|
33220
|
+
function isDate(val) {
|
|
33221
|
+
return __toString.call(val) === "[object Date]";
|
|
33222
|
+
}
|
|
32076
33223
|
function tryDecode(str, decode2) {
|
|
32077
33224
|
try {
|
|
32078
33225
|
return decode2(str);
|
|
@@ -32511,7 +33658,7 @@ var require_node5 = __commonJS({
|
|
|
32511
33658
|
});
|
|
32512
33659
|
|
|
32513
33660
|
// ../../node_modules/express-session/node_modules/debug/src/index.js
|
|
32514
|
-
var
|
|
33661
|
+
var require_src5 = __commonJS({
|
|
32515
33662
|
"../../node_modules/express-session/node_modules/debug/src/index.js"(exports, module) {
|
|
32516
33663
|
init_cjs_shim();
|
|
32517
33664
|
if (typeof process !== "undefined" && process.type === "renderer") {
|
|
@@ -32584,6 +33731,32 @@ var require_on_headers = __commonJS({
|
|
|
32584
33731
|
}
|
|
32585
33732
|
});
|
|
32586
33733
|
|
|
33734
|
+
// ../../node_modules/express-session/node_modules/cookie-signature/index.js
|
|
33735
|
+
var require_cookie_signature2 = __commonJS({
|
|
33736
|
+
"../../node_modules/express-session/node_modules/cookie-signature/index.js"(exports) {
|
|
33737
|
+
init_cjs_shim();
|
|
33738
|
+
var crypto = __require("crypto");
|
|
33739
|
+
exports.sign = function(val, secret) {
|
|
33740
|
+
if ("string" !== typeof val)
|
|
33741
|
+
throw new TypeError("Cookie value must be provided as a string.");
|
|
33742
|
+
if (null == secret)
|
|
33743
|
+
throw new TypeError("Secret key must be provided.");
|
|
33744
|
+
return val + "." + crypto.createHmac("sha256", secret).update(val).digest("base64").replace(/\=+$/, "");
|
|
33745
|
+
};
|
|
33746
|
+
exports.unsign = function(val, secret) {
|
|
33747
|
+
if ("string" !== typeof val)
|
|
33748
|
+
throw new TypeError("Signed cookie string must be provided.");
|
|
33749
|
+
if (null == secret)
|
|
33750
|
+
throw new TypeError("Secret key must be provided.");
|
|
33751
|
+
var str = val.slice(0, val.lastIndexOf(".")), mac = exports.sign(str, secret);
|
|
33752
|
+
return sha1(mac) == sha1(val) ? str : false;
|
|
33753
|
+
};
|
|
33754
|
+
function sha1(str) {
|
|
33755
|
+
return crypto.createHash("sha1").update(str).digest("hex");
|
|
33756
|
+
}
|
|
33757
|
+
}
|
|
33758
|
+
});
|
|
33759
|
+
|
|
32587
33760
|
// ../../node_modules/random-bytes/index.js
|
|
32588
33761
|
var require_random_bytes = __commonJS({
|
|
32589
33762
|
"../../node_modules/random-bytes/index.js"(exports, module) {
|
|
@@ -32757,6 +33930,8 @@ var require_cookie3 = __commonJS({
|
|
|
32757
33930
|
get data() {
|
|
32758
33931
|
return {
|
|
32759
33932
|
originalMaxAge: this.originalMaxAge,
|
|
33933
|
+
partitioned: this.partitioned,
|
|
33934
|
+
priority: this.priority,
|
|
32760
33935
|
expires: this._expires,
|
|
32761
33936
|
secure: this.secure,
|
|
32762
33937
|
httpOnly: this.httpOnly,
|
|
@@ -32979,11 +34154,11 @@ var require_express_session = __commonJS({
|
|
|
32979
34154
|
var Buffer2 = require_safe_buffer().Buffer;
|
|
32980
34155
|
var cookie = require_cookie2();
|
|
32981
34156
|
var crypto = __require("crypto");
|
|
32982
|
-
var debug =
|
|
34157
|
+
var debug = require_src5()("express-session");
|
|
32983
34158
|
var deprecate = require_depd()("express-session");
|
|
32984
34159
|
var onHeaders = require_on_headers();
|
|
32985
34160
|
var parseUrl = require_parseurl();
|
|
32986
|
-
var signature2 =
|
|
34161
|
+
var signature2 = require_cookie_signature2();
|
|
32987
34162
|
var uid = require_uid_safe().sync;
|
|
32988
34163
|
var Cookie = require_cookie3();
|
|
32989
34164
|
var MemoryStore = require_memory();
|
|
@@ -33064,8 +34239,11 @@ var require_express_session = __commonJS({
|
|
|
33064
34239
|
return;
|
|
33065
34240
|
}
|
|
33066
34241
|
var originalPath = parseUrl.original(req).pathname || "/";
|
|
33067
|
-
if (originalPath.indexOf(cookieOptions.path || "/") !== 0)
|
|
33068
|
-
|
|
34242
|
+
if (originalPath.indexOf(cookieOptions.path || "/") !== 0) {
|
|
34243
|
+
debug("pathname mismatch");
|
|
34244
|
+
next();
|
|
34245
|
+
return;
|
|
34246
|
+
}
|
|
33069
34247
|
if (!secret && !req.secret) {
|
|
33070
34248
|
next(new Error("secret option required for sessions"));
|
|
33071
34249
|
return;
|
|
@@ -33093,7 +34271,11 @@ var require_express_session = __commonJS({
|
|
|
33093
34271
|
req.session.touch();
|
|
33094
34272
|
touched = true;
|
|
33095
34273
|
}
|
|
33096
|
-
|
|
34274
|
+
try {
|
|
34275
|
+
setcookie(res, name, req.sessionID, secrets[0], req.session.cookie.data);
|
|
34276
|
+
} catch (err) {
|
|
34277
|
+
defer(next, err);
|
|
34278
|
+
}
|
|
33097
34279
|
});
|
|
33098
34280
|
var _end = res.end;
|
|
33099
34281
|
var _write = res.write;
|
|
@@ -41283,123 +42465,12 @@ var require_lodash = __commonJS({
|
|
|
41283
42465
|
}
|
|
41284
42466
|
});
|
|
41285
42467
|
|
|
41286
|
-
// ../../node_modules/cookie/index.js
|
|
41287
|
-
var require_cookie4 = __commonJS({
|
|
41288
|
-
"../../node_modules/cookie/index.js"(exports) {
|
|
41289
|
-
"use strict";
|
|
41290
|
-
init_cjs_shim();
|
|
41291
|
-
exports.parse = parse;
|
|
41292
|
-
exports.serialize = serialize;
|
|
41293
|
-
var decode = decodeURIComponent;
|
|
41294
|
-
var encode = encodeURIComponent;
|
|
41295
|
-
var pairSplitRegExp = /; */;
|
|
41296
|
-
var fieldContentRegExp = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;
|
|
41297
|
-
function parse(str, options) {
|
|
41298
|
-
if (typeof str !== "string") {
|
|
41299
|
-
throw new TypeError("argument str must be a string");
|
|
41300
|
-
}
|
|
41301
|
-
var obj = {};
|
|
41302
|
-
var opt = options || {};
|
|
41303
|
-
var pairs = str.split(pairSplitRegExp);
|
|
41304
|
-
var dec = opt.decode || decode;
|
|
41305
|
-
for (var i = 0; i < pairs.length; i++) {
|
|
41306
|
-
var pair = pairs[i];
|
|
41307
|
-
var eq_idx = pair.indexOf("=");
|
|
41308
|
-
if (eq_idx < 0) {
|
|
41309
|
-
continue;
|
|
41310
|
-
}
|
|
41311
|
-
var key = pair.substr(0, eq_idx).trim();
|
|
41312
|
-
var val = pair.substr(++eq_idx, pair.length).trim();
|
|
41313
|
-
if ('"' == val[0]) {
|
|
41314
|
-
val = val.slice(1, -1);
|
|
41315
|
-
}
|
|
41316
|
-
if (void 0 == obj[key]) {
|
|
41317
|
-
obj[key] = tryDecode(val, dec);
|
|
41318
|
-
}
|
|
41319
|
-
}
|
|
41320
|
-
return obj;
|
|
41321
|
-
}
|
|
41322
|
-
function serialize(name, val, options) {
|
|
41323
|
-
var opt = options || {};
|
|
41324
|
-
var enc = opt.encode || encode;
|
|
41325
|
-
if (typeof enc !== "function") {
|
|
41326
|
-
throw new TypeError("option encode is invalid");
|
|
41327
|
-
}
|
|
41328
|
-
if (!fieldContentRegExp.test(name)) {
|
|
41329
|
-
throw new TypeError("argument name is invalid");
|
|
41330
|
-
}
|
|
41331
|
-
var value = enc(val);
|
|
41332
|
-
if (value && !fieldContentRegExp.test(value)) {
|
|
41333
|
-
throw new TypeError("argument val is invalid");
|
|
41334
|
-
}
|
|
41335
|
-
var str = name + "=" + value;
|
|
41336
|
-
if (null != opt.maxAge) {
|
|
41337
|
-
var maxAge = opt.maxAge - 0;
|
|
41338
|
-
if (isNaN(maxAge))
|
|
41339
|
-
throw new Error("maxAge should be a Number");
|
|
41340
|
-
str += "; Max-Age=" + Math.floor(maxAge);
|
|
41341
|
-
}
|
|
41342
|
-
if (opt.domain) {
|
|
41343
|
-
if (!fieldContentRegExp.test(opt.domain)) {
|
|
41344
|
-
throw new TypeError("option domain is invalid");
|
|
41345
|
-
}
|
|
41346
|
-
str += "; Domain=" + opt.domain;
|
|
41347
|
-
}
|
|
41348
|
-
if (opt.path) {
|
|
41349
|
-
if (!fieldContentRegExp.test(opt.path)) {
|
|
41350
|
-
throw new TypeError("option path is invalid");
|
|
41351
|
-
}
|
|
41352
|
-
str += "; Path=" + opt.path;
|
|
41353
|
-
}
|
|
41354
|
-
if (opt.expires) {
|
|
41355
|
-
if (typeof opt.expires.toUTCString !== "function") {
|
|
41356
|
-
throw new TypeError("option expires is invalid");
|
|
41357
|
-
}
|
|
41358
|
-
str += "; Expires=" + opt.expires.toUTCString();
|
|
41359
|
-
}
|
|
41360
|
-
if (opt.httpOnly) {
|
|
41361
|
-
str += "; HttpOnly";
|
|
41362
|
-
}
|
|
41363
|
-
if (opt.secure) {
|
|
41364
|
-
str += "; Secure";
|
|
41365
|
-
}
|
|
41366
|
-
if (opt.sameSite) {
|
|
41367
|
-
var sameSite = typeof opt.sameSite === "string" ? opt.sameSite.toLowerCase() : opt.sameSite;
|
|
41368
|
-
switch (sameSite) {
|
|
41369
|
-
case true:
|
|
41370
|
-
str += "; SameSite=Strict";
|
|
41371
|
-
break;
|
|
41372
|
-
case "lax":
|
|
41373
|
-
str += "; SameSite=Lax";
|
|
41374
|
-
break;
|
|
41375
|
-
case "strict":
|
|
41376
|
-
str += "; SameSite=Strict";
|
|
41377
|
-
break;
|
|
41378
|
-
case "none":
|
|
41379
|
-
str += "; SameSite=None";
|
|
41380
|
-
break;
|
|
41381
|
-
default:
|
|
41382
|
-
throw new TypeError("option sameSite is invalid");
|
|
41383
|
-
}
|
|
41384
|
-
}
|
|
41385
|
-
return str;
|
|
41386
|
-
}
|
|
41387
|
-
function tryDecode(str, decode2) {
|
|
41388
|
-
try {
|
|
41389
|
-
return decode2(str);
|
|
41390
|
-
} catch (e) {
|
|
41391
|
-
return str;
|
|
41392
|
-
}
|
|
41393
|
-
}
|
|
41394
|
-
}
|
|
41395
|
-
});
|
|
41396
|
-
|
|
41397
42468
|
// ../../node_modules/cookie-parser/index.js
|
|
41398
42469
|
var require_cookie_parser = __commonJS({
|
|
41399
42470
|
"../../node_modules/cookie-parser/index.js"(exports, module) {
|
|
41400
42471
|
"use strict";
|
|
41401
42472
|
init_cjs_shim();
|
|
41402
|
-
var cookie =
|
|
42473
|
+
var cookie = require_cookie2();
|
|
41403
42474
|
var signature2 = require_cookie_signature();
|
|
41404
42475
|
module.exports = cookieParser;
|
|
41405
42476
|
module.exports.JSONCookie = JSONCookie;
|
|
@@ -42254,6 +43325,20 @@ content-disposition/index.js:
|
|
|
42254
43325
|
* MIT Licensed
|
|
42255
43326
|
*)
|
|
42256
43327
|
|
|
43328
|
+
content-type/index.js:
|
|
43329
|
+
(*!
|
|
43330
|
+
* content-type
|
|
43331
|
+
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
43332
|
+
* MIT Licensed
|
|
43333
|
+
*)
|
|
43334
|
+
|
|
43335
|
+
encodeurl/index.js:
|
|
43336
|
+
(*!
|
|
43337
|
+
* encodeurl
|
|
43338
|
+
* Copyright(c) 2016 Douglas Christopher Wilson
|
|
43339
|
+
* MIT Licensed
|
|
43340
|
+
*)
|
|
43341
|
+
|
|
42257
43342
|
etag/index.js:
|
|
42258
43343
|
(*!
|
|
42259
43344
|
* etag
|
|
@@ -42540,14 +43625,6 @@ lodash/lodash.js:
|
|
|
42540
43625
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
42541
43626
|
*)
|
|
42542
43627
|
|
|
42543
|
-
cookie/index.js:
|
|
42544
|
-
(*!
|
|
42545
|
-
* cookie
|
|
42546
|
-
* Copyright(c) 2012-2014 Roman Shtylman
|
|
42547
|
-
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
42548
|
-
* MIT Licensed
|
|
42549
|
-
*)
|
|
42550
|
-
|
|
42551
43628
|
cookie-parser/index.js:
|
|
42552
43629
|
(*!
|
|
42553
43630
|
* cookie-parser
|