@upstash/workflow 0.2.2 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/astro.d.mts +1 -1
- package/astro.d.ts +1 -1
- package/astro.js +267 -73
- package/astro.mjs +7 -1
- package/{chunk-Z7WS5XIR.mjs → chunk-ETDFMXER.mjs} +265 -69
- package/cloudflare.d.mts +1 -1
- package/cloudflare.d.ts +1 -1
- package/cloudflare.js +273 -77
- package/cloudflare.mjs +13 -5
- package/express.d.mts +1 -1
- package/express.d.ts +1 -1
- package/express.js +1625 -1295
- package/express.mjs +1384 -1242
- package/h3.d.mts +1 -1
- package/h3.d.ts +1 -1
- package/h3.js +271 -74
- package/h3.mjs +11 -2
- package/hono.d.mts +1 -1
- package/hono.d.ts +1 -1
- package/hono.js +275 -79
- package/hono.mjs +15 -7
- package/index.d.mts +2 -2
- package/index.d.ts +2 -2
- package/index.js +281 -78
- package/index.mjs +10 -4
- package/nextjs.d.mts +1 -1
- package/nextjs.d.ts +1 -1
- package/nextjs.js +276 -74
- package/nextjs.mjs +16 -2
- package/package.json +1 -1
- package/solidjs.d.mts +1 -1
- package/solidjs.d.ts +1 -1
- package/solidjs.js +271 -74
- package/solidjs.mjs +11 -2
- package/svelte.d.mts +1 -1
- package/svelte.d.ts +1 -1
- package/svelte.js +273 -77
- package/svelte.mjs +13 -5
- package/{types-APRap-aV.d.mts → types-Bt4-paRy.d.mts} +325 -14
- package/{types-APRap-aV.d.ts → types-Bt4-paRy.d.ts} +325 -14
package/express.mjs
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
+
SDK_TELEMETRY,
|
|
2
3
|
__commonJS,
|
|
3
4
|
__require,
|
|
4
5
|
__toESM,
|
|
5
6
|
serveBase
|
|
6
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ETDFMXER.mjs";
|
|
7
8
|
|
|
8
9
|
// node_modules/depd/index.js
|
|
9
10
|
var require_depd = __commonJS({
|
|
@@ -14459,46 +14460,6 @@ var require_text = __commonJS({
|
|
|
14459
14460
|
}
|
|
14460
14461
|
});
|
|
14461
14462
|
|
|
14462
|
-
// node_modules/es-errors/index.js
|
|
14463
|
-
var require_es_errors = __commonJS({
|
|
14464
|
-
"node_modules/es-errors/index.js"(exports, module) {
|
|
14465
|
-
"use strict";
|
|
14466
|
-
module.exports = Error;
|
|
14467
|
-
}
|
|
14468
|
-
});
|
|
14469
|
-
|
|
14470
|
-
// node_modules/es-errors/eval.js
|
|
14471
|
-
var require_eval = __commonJS({
|
|
14472
|
-
"node_modules/es-errors/eval.js"(exports, module) {
|
|
14473
|
-
"use strict";
|
|
14474
|
-
module.exports = EvalError;
|
|
14475
|
-
}
|
|
14476
|
-
});
|
|
14477
|
-
|
|
14478
|
-
// node_modules/es-errors/range.js
|
|
14479
|
-
var require_range = __commonJS({
|
|
14480
|
-
"node_modules/es-errors/range.js"(exports, module) {
|
|
14481
|
-
"use strict";
|
|
14482
|
-
module.exports = RangeError;
|
|
14483
|
-
}
|
|
14484
|
-
});
|
|
14485
|
-
|
|
14486
|
-
// node_modules/es-errors/ref.js
|
|
14487
|
-
var require_ref = __commonJS({
|
|
14488
|
-
"node_modules/es-errors/ref.js"(exports, module) {
|
|
14489
|
-
"use strict";
|
|
14490
|
-
module.exports = ReferenceError;
|
|
14491
|
-
}
|
|
14492
|
-
});
|
|
14493
|
-
|
|
14494
|
-
// node_modules/es-errors/syntax.js
|
|
14495
|
-
var require_syntax = __commonJS({
|
|
14496
|
-
"node_modules/es-errors/syntax.js"(exports, module) {
|
|
14497
|
-
"use strict";
|
|
14498
|
-
module.exports = SyntaxError;
|
|
14499
|
-
}
|
|
14500
|
-
});
|
|
14501
|
-
|
|
14502
14463
|
// node_modules/es-errors/type.js
|
|
14503
14464
|
var require_type = __commonJS({
|
|
14504
14465
|
"node_modules/es-errors/type.js"(exports, module) {
|
|
@@ -14507,1369 +14468,1536 @@ var require_type = __commonJS({
|
|
|
14507
14468
|
}
|
|
14508
14469
|
});
|
|
14509
14470
|
|
|
14510
|
-
// node_modules/
|
|
14511
|
-
var
|
|
14512
|
-
"node_modules/
|
|
14471
|
+
// node_modules/object-inspect/util.inspect.js
|
|
14472
|
+
var require_util_inspect = __commonJS({
|
|
14473
|
+
"node_modules/object-inspect/util.inspect.js"(exports, module) {
|
|
14513
14474
|
"use strict";
|
|
14514
|
-
module.exports =
|
|
14475
|
+
module.exports = __require("util").inspect;
|
|
14515
14476
|
}
|
|
14516
14477
|
});
|
|
14517
14478
|
|
|
14518
|
-
// node_modules/
|
|
14519
|
-
var
|
|
14520
|
-
"node_modules/
|
|
14479
|
+
// node_modules/object-inspect/index.js
|
|
14480
|
+
var require_object_inspect = __commonJS({
|
|
14481
|
+
"node_modules/object-inspect/index.js"(exports, module) {
|
|
14521
14482
|
"use strict";
|
|
14522
|
-
|
|
14523
|
-
|
|
14524
|
-
|
|
14483
|
+
var hasMap = typeof Map === "function" && Map.prototype;
|
|
14484
|
+
var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null;
|
|
14485
|
+
var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === "function" ? mapSizeDescriptor.get : null;
|
|
14486
|
+
var mapForEach = hasMap && Map.prototype.forEach;
|
|
14487
|
+
var hasSet = typeof Set === "function" && Set.prototype;
|
|
14488
|
+
var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null;
|
|
14489
|
+
var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === "function" ? setSizeDescriptor.get : null;
|
|
14490
|
+
var setForEach = hasSet && Set.prototype.forEach;
|
|
14491
|
+
var hasWeakMap = typeof WeakMap === "function" && WeakMap.prototype;
|
|
14492
|
+
var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;
|
|
14493
|
+
var hasWeakSet = typeof WeakSet === "function" && WeakSet.prototype;
|
|
14494
|
+
var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;
|
|
14495
|
+
var hasWeakRef = typeof WeakRef === "function" && WeakRef.prototype;
|
|
14496
|
+
var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;
|
|
14497
|
+
var booleanValueOf = Boolean.prototype.valueOf;
|
|
14498
|
+
var objectToString = Object.prototype.toString;
|
|
14499
|
+
var functionToString = Function.prototype.toString;
|
|
14500
|
+
var $match = String.prototype.match;
|
|
14501
|
+
var $slice = String.prototype.slice;
|
|
14502
|
+
var $replace = String.prototype.replace;
|
|
14503
|
+
var $toUpperCase = String.prototype.toUpperCase;
|
|
14504
|
+
var $toLowerCase = String.prototype.toLowerCase;
|
|
14505
|
+
var $test = RegExp.prototype.test;
|
|
14506
|
+
var $concat = Array.prototype.concat;
|
|
14507
|
+
var $join = Array.prototype.join;
|
|
14508
|
+
var $arrSlice = Array.prototype.slice;
|
|
14509
|
+
var $floor = Math.floor;
|
|
14510
|
+
var bigIntValueOf = typeof BigInt === "function" ? BigInt.prototype.valueOf : null;
|
|
14511
|
+
var gOPS = Object.getOwnPropertySymbols;
|
|
14512
|
+
var symToString = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? Symbol.prototype.toString : null;
|
|
14513
|
+
var hasShammedSymbols = typeof Symbol === "function" && typeof Symbol.iterator === "object";
|
|
14514
|
+
var toStringTag = typeof Symbol === "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? "object" : "symbol") ? Symbol.toStringTag : null;
|
|
14515
|
+
var isEnumerable = Object.prototype.propertyIsEnumerable;
|
|
14516
|
+
var gPO = (typeof Reflect === "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(O) {
|
|
14517
|
+
return O.__proto__;
|
|
14518
|
+
} : null);
|
|
14519
|
+
function addNumericSeparator(num, str) {
|
|
14520
|
+
if (num === Infinity || num === -Infinity || num !== num || num && num > -1e3 && num < 1e3 || $test.call(/e/, str)) {
|
|
14521
|
+
return str;
|
|
14525
14522
|
}
|
|
14526
|
-
|
|
14527
|
-
|
|
14523
|
+
var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
|
|
14524
|
+
if (typeof num === "number") {
|
|
14525
|
+
var int = num < 0 ? -$floor(-num) : $floor(num);
|
|
14526
|
+
if (int !== num) {
|
|
14527
|
+
var intStr = String(int);
|
|
14528
|
+
var dec = $slice.call(str, intStr.length + 1);
|
|
14529
|
+
return $replace.call(intStr, sepRegex, "$&_") + "." + $replace.call($replace.call(dec, /([0-9]{3})/g, "$&_"), /_$/, "");
|
|
14530
|
+
}
|
|
14528
14531
|
}
|
|
14529
|
-
|
|
14530
|
-
|
|
14531
|
-
|
|
14532
|
-
|
|
14533
|
-
|
|
14532
|
+
return $replace.call(str, sepRegex, "$&_");
|
|
14533
|
+
}
|
|
14534
|
+
var utilInspect = require_util_inspect();
|
|
14535
|
+
var inspectCustom = utilInspect.custom;
|
|
14536
|
+
var inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null;
|
|
14537
|
+
var quotes = {
|
|
14538
|
+
__proto__: null,
|
|
14539
|
+
"double": '"',
|
|
14540
|
+
single: "'"
|
|
14541
|
+
};
|
|
14542
|
+
var quoteREs = {
|
|
14543
|
+
__proto__: null,
|
|
14544
|
+
"double": /(["\\])/g,
|
|
14545
|
+
single: /(['\\])/g
|
|
14546
|
+
};
|
|
14547
|
+
module.exports = function inspect_(obj, options, depth, seen) {
|
|
14548
|
+
var opts = options || {};
|
|
14549
|
+
if (has(opts, "quoteStyle") && !has(quotes, opts.quoteStyle)) {
|
|
14550
|
+
throw new TypeError('option "quoteStyle" must be "single" or "double"');
|
|
14534
14551
|
}
|
|
14535
|
-
if (
|
|
14536
|
-
|
|
14552
|
+
if (has(opts, "maxStringLength") && (typeof opts.maxStringLength === "number" ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity : opts.maxStringLength !== null)) {
|
|
14553
|
+
throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
|
|
14537
14554
|
}
|
|
14538
|
-
|
|
14539
|
-
|
|
14555
|
+
var customInspect = has(opts, "customInspect") ? opts.customInspect : true;
|
|
14556
|
+
if (typeof customInspect !== "boolean" && customInspect !== "symbol") {
|
|
14557
|
+
throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
|
|
14540
14558
|
}
|
|
14541
|
-
|
|
14542
|
-
|
|
14543
|
-
for (sym in obj) {
|
|
14544
|
-
return false;
|
|
14559
|
+
if (has(opts, "indent") && opts.indent !== null && opts.indent !== " " && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)) {
|
|
14560
|
+
throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
|
|
14545
14561
|
}
|
|
14546
|
-
if (
|
|
14547
|
-
|
|
14562
|
+
if (has(opts, "numericSeparator") && typeof opts.numericSeparator !== "boolean") {
|
|
14563
|
+
throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
|
|
14548
14564
|
}
|
|
14549
|
-
|
|
14550
|
-
|
|
14565
|
+
var numericSeparator = opts.numericSeparator;
|
|
14566
|
+
if (typeof obj === "undefined") {
|
|
14567
|
+
return "undefined";
|
|
14551
14568
|
}
|
|
14552
|
-
|
|
14553
|
-
|
|
14554
|
-
return false;
|
|
14569
|
+
if (obj === null) {
|
|
14570
|
+
return "null";
|
|
14555
14571
|
}
|
|
14556
|
-
if (
|
|
14557
|
-
return false;
|
|
14572
|
+
if (typeof obj === "boolean") {
|
|
14573
|
+
return obj ? "true" : "false";
|
|
14558
14574
|
}
|
|
14559
|
-
if (typeof
|
|
14560
|
-
|
|
14561
|
-
|
|
14562
|
-
|
|
14575
|
+
if (typeof obj === "string") {
|
|
14576
|
+
return inspectString(obj, opts);
|
|
14577
|
+
}
|
|
14578
|
+
if (typeof obj === "number") {
|
|
14579
|
+
if (obj === 0) {
|
|
14580
|
+
return Infinity / obj > 0 ? "0" : "-0";
|
|
14563
14581
|
}
|
|
14582
|
+
var str = String(obj);
|
|
14583
|
+
return numericSeparator ? addNumericSeparator(obj, str) : str;
|
|
14564
14584
|
}
|
|
14565
|
-
|
|
14566
|
-
|
|
14567
|
-
|
|
14568
|
-
});
|
|
14569
|
-
|
|
14570
|
-
// node_modules/has-symbols/index.js
|
|
14571
|
-
var require_has_symbols = __commonJS({
|
|
14572
|
-
"node_modules/has-symbols/index.js"(exports, module) {
|
|
14573
|
-
"use strict";
|
|
14574
|
-
var origSymbol = typeof Symbol !== "undefined" && Symbol;
|
|
14575
|
-
var hasSymbolSham = require_shams();
|
|
14576
|
-
module.exports = function hasNativeSymbols() {
|
|
14577
|
-
if (typeof origSymbol !== "function") {
|
|
14578
|
-
return false;
|
|
14585
|
+
if (typeof obj === "bigint") {
|
|
14586
|
+
var bigIntStr = String(obj) + "n";
|
|
14587
|
+
return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr;
|
|
14579
14588
|
}
|
|
14580
|
-
|
|
14581
|
-
|
|
14589
|
+
var maxDepth = typeof opts.depth === "undefined" ? 5 : opts.depth;
|
|
14590
|
+
if (typeof depth === "undefined") {
|
|
14591
|
+
depth = 0;
|
|
14582
14592
|
}
|
|
14583
|
-
if (typeof
|
|
14584
|
-
return
|
|
14593
|
+
if (depth >= maxDepth && maxDepth > 0 && typeof obj === "object") {
|
|
14594
|
+
return isArray(obj) ? "[Array]" : "[Object]";
|
|
14585
14595
|
}
|
|
14586
|
-
|
|
14587
|
-
|
|
14596
|
+
var indent = getIndent(opts, depth);
|
|
14597
|
+
if (typeof seen === "undefined") {
|
|
14598
|
+
seen = [];
|
|
14599
|
+
} else if (indexOf(seen, obj) >= 0) {
|
|
14600
|
+
return "[Circular]";
|
|
14588
14601
|
}
|
|
14589
|
-
|
|
14590
|
-
|
|
14591
|
-
|
|
14592
|
-
|
|
14593
|
-
|
|
14594
|
-
|
|
14595
|
-
var
|
|
14596
|
-
|
|
14597
|
-
|
|
14598
|
-
|
|
14599
|
-
|
|
14600
|
-
|
|
14601
|
-
|
|
14602
|
-
|
|
14603
|
-
|
|
14604
|
-
return { __proto__: test }.foo === test.foo && !(test instanceof $Object);
|
|
14605
|
-
};
|
|
14606
|
-
}
|
|
14607
|
-
});
|
|
14608
|
-
|
|
14609
|
-
// node_modules/function-bind/implementation.js
|
|
14610
|
-
var require_implementation = __commonJS({
|
|
14611
|
-
"node_modules/function-bind/implementation.js"(exports, module) {
|
|
14612
|
-
"use strict";
|
|
14613
|
-
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
14614
|
-
var toStr = Object.prototype.toString;
|
|
14615
|
-
var max = Math.max;
|
|
14616
|
-
var funcType = "[object Function]";
|
|
14617
|
-
var concatty = function concatty2(a, b) {
|
|
14618
|
-
var arr = [];
|
|
14619
|
-
for (var i = 0; i < a.length; i += 1) {
|
|
14620
|
-
arr[i] = a[i];
|
|
14602
|
+
function inspect(value, from, noIndent) {
|
|
14603
|
+
if (from) {
|
|
14604
|
+
seen = $arrSlice.call(seen);
|
|
14605
|
+
seen.push(from);
|
|
14606
|
+
}
|
|
14607
|
+
if (noIndent) {
|
|
14608
|
+
var newOpts = {
|
|
14609
|
+
depth: opts.depth
|
|
14610
|
+
};
|
|
14611
|
+
if (has(opts, "quoteStyle")) {
|
|
14612
|
+
newOpts.quoteStyle = opts.quoteStyle;
|
|
14613
|
+
}
|
|
14614
|
+
return inspect_(value, newOpts, depth + 1, seen);
|
|
14615
|
+
}
|
|
14616
|
+
return inspect_(value, opts, depth + 1, seen);
|
|
14621
14617
|
}
|
|
14622
|
-
|
|
14623
|
-
|
|
14618
|
+
if (typeof obj === "function" && !isRegExp(obj)) {
|
|
14619
|
+
var name = nameOf(obj);
|
|
14620
|
+
var keys = arrObjKeys(obj, inspect);
|
|
14621
|
+
return "[Function" + (name ? ": " + name : " (anonymous)") + "]" + (keys.length > 0 ? " { " + $join.call(keys, ", ") + " }" : "");
|
|
14624
14622
|
}
|
|
14625
|
-
|
|
14626
|
-
|
|
14627
|
-
|
|
14628
|
-
var arr = [];
|
|
14629
|
-
for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
|
|
14630
|
-
arr[j] = arrLike[i];
|
|
14623
|
+
if (isSymbol(obj)) {
|
|
14624
|
+
var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\(.*\))_[^)]*$/, "$1") : symToString.call(obj);
|
|
14625
|
+
return typeof obj === "object" && !hasShammedSymbols ? markBoxed(symString) : symString;
|
|
14631
14626
|
}
|
|
14632
|
-
|
|
14633
|
-
|
|
14634
|
-
|
|
14635
|
-
|
|
14636
|
-
|
|
14637
|
-
|
|
14638
|
-
|
|
14639
|
-
|
|
14627
|
+
if (isElement(obj)) {
|
|
14628
|
+
var s = "<" + $toLowerCase.call(String(obj.nodeName));
|
|
14629
|
+
var attrs = obj.attributes || [];
|
|
14630
|
+
for (var i = 0; i < attrs.length; i++) {
|
|
14631
|
+
s += " " + attrs[i].name + "=" + wrapQuotes(quote(attrs[i].value), "double", opts);
|
|
14632
|
+
}
|
|
14633
|
+
s += ">";
|
|
14634
|
+
if (obj.childNodes && obj.childNodes.length) {
|
|
14635
|
+
s += "...";
|
|
14640
14636
|
}
|
|
14637
|
+
s += "</" + $toLowerCase.call(String(obj.nodeName)) + ">";
|
|
14638
|
+
return s;
|
|
14641
14639
|
}
|
|
14642
|
-
|
|
14643
|
-
|
|
14644
|
-
|
|
14645
|
-
|
|
14646
|
-
|
|
14647
|
-
|
|
14640
|
+
if (isArray(obj)) {
|
|
14641
|
+
if (obj.length === 0) {
|
|
14642
|
+
return "[]";
|
|
14643
|
+
}
|
|
14644
|
+
var xs = arrObjKeys(obj, inspect);
|
|
14645
|
+
if (indent && !singleLineValues(xs)) {
|
|
14646
|
+
return "[" + indentedJoin(xs, indent) + "]";
|
|
14647
|
+
}
|
|
14648
|
+
return "[ " + $join.call(xs, ", ") + " ]";
|
|
14648
14649
|
}
|
|
14649
|
-
|
|
14650
|
-
|
|
14651
|
-
|
|
14652
|
-
|
|
14653
|
-
var result = target.apply(
|
|
14654
|
-
this,
|
|
14655
|
-
concatty(args, arguments)
|
|
14656
|
-
);
|
|
14657
|
-
if (Object(result) === result) {
|
|
14658
|
-
return result;
|
|
14659
|
-
}
|
|
14660
|
-
return this;
|
|
14650
|
+
if (isError(obj)) {
|
|
14651
|
+
var parts = arrObjKeys(obj, inspect);
|
|
14652
|
+
if (!("cause" in Error.prototype) && "cause" in obj && !isEnumerable.call(obj, "cause")) {
|
|
14653
|
+
return "{ [" + String(obj) + "] " + $join.call($concat.call("[cause]: " + inspect(obj.cause), parts), ", ") + " }";
|
|
14661
14654
|
}
|
|
14662
|
-
|
|
14663
|
-
|
|
14664
|
-
|
|
14665
|
-
);
|
|
14666
|
-
};
|
|
14667
|
-
var boundLength = max(0, target.length - args.length);
|
|
14668
|
-
var boundArgs = [];
|
|
14669
|
-
for (var i = 0; i < boundLength; i++) {
|
|
14670
|
-
boundArgs[i] = "$" + i;
|
|
14655
|
+
if (parts.length === 0) {
|
|
14656
|
+
return "[" + String(obj) + "]";
|
|
14657
|
+
}
|
|
14658
|
+
return "{ [" + String(obj) + "] " + $join.call(parts, ", ") + " }";
|
|
14671
14659
|
}
|
|
14672
|
-
|
|
14673
|
-
|
|
14674
|
-
|
|
14675
|
-
}
|
|
14676
|
-
|
|
14677
|
-
|
|
14678
|
-
Empty.prototype = null;
|
|
14660
|
+
if (typeof obj === "object" && customInspect) {
|
|
14661
|
+
if (inspectSymbol && typeof obj[inspectSymbol] === "function" && utilInspect) {
|
|
14662
|
+
return utilInspect(obj, { depth: maxDepth - depth });
|
|
14663
|
+
} else if (customInspect !== "symbol" && typeof obj.inspect === "function") {
|
|
14664
|
+
return obj.inspect();
|
|
14665
|
+
}
|
|
14679
14666
|
}
|
|
14680
|
-
|
|
14667
|
+
if (isMap(obj)) {
|
|
14668
|
+
var mapParts = [];
|
|
14669
|
+
if (mapForEach) {
|
|
14670
|
+
mapForEach.call(obj, function(value, key) {
|
|
14671
|
+
mapParts.push(inspect(key, obj, true) + " => " + inspect(value, obj));
|
|
14672
|
+
});
|
|
14673
|
+
}
|
|
14674
|
+
return collectionOf("Map", mapSize.call(obj), mapParts, indent);
|
|
14675
|
+
}
|
|
14676
|
+
if (isSet(obj)) {
|
|
14677
|
+
var setParts = [];
|
|
14678
|
+
if (setForEach) {
|
|
14679
|
+
setForEach.call(obj, function(value) {
|
|
14680
|
+
setParts.push(inspect(value, obj));
|
|
14681
|
+
});
|
|
14682
|
+
}
|
|
14683
|
+
return collectionOf("Set", setSize.call(obj), setParts, indent);
|
|
14684
|
+
}
|
|
14685
|
+
if (isWeakMap(obj)) {
|
|
14686
|
+
return weakCollectionOf("WeakMap");
|
|
14687
|
+
}
|
|
14688
|
+
if (isWeakSet(obj)) {
|
|
14689
|
+
return weakCollectionOf("WeakSet");
|
|
14690
|
+
}
|
|
14691
|
+
if (isWeakRef(obj)) {
|
|
14692
|
+
return weakCollectionOf("WeakRef");
|
|
14693
|
+
}
|
|
14694
|
+
if (isNumber(obj)) {
|
|
14695
|
+
return markBoxed(inspect(Number(obj)));
|
|
14696
|
+
}
|
|
14697
|
+
if (isBigInt(obj)) {
|
|
14698
|
+
return markBoxed(inspect(bigIntValueOf.call(obj)));
|
|
14699
|
+
}
|
|
14700
|
+
if (isBoolean(obj)) {
|
|
14701
|
+
return markBoxed(booleanValueOf.call(obj));
|
|
14702
|
+
}
|
|
14703
|
+
if (isString(obj)) {
|
|
14704
|
+
return markBoxed(inspect(String(obj)));
|
|
14705
|
+
}
|
|
14706
|
+
if (typeof window !== "undefined" && obj === window) {
|
|
14707
|
+
return "{ [object Window] }";
|
|
14708
|
+
}
|
|
14709
|
+
if (typeof globalThis !== "undefined" && obj === globalThis || typeof global !== "undefined" && obj === global) {
|
|
14710
|
+
return "{ [object globalThis] }";
|
|
14711
|
+
}
|
|
14712
|
+
if (!isDate(obj) && !isRegExp(obj)) {
|
|
14713
|
+
var ys = arrObjKeys(obj, inspect);
|
|
14714
|
+
var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
|
|
14715
|
+
var protoTag = obj instanceof Object ? "" : "null prototype";
|
|
14716
|
+
var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? "Object" : "";
|
|
14717
|
+
var constructorTag = isPlainObject || typeof obj.constructor !== "function" ? "" : obj.constructor.name ? obj.constructor.name + " " : "";
|
|
14718
|
+
var tag = constructorTag + (stringTag || protoTag ? "[" + $join.call($concat.call([], stringTag || [], protoTag || []), ": ") + "] " : "");
|
|
14719
|
+
if (ys.length === 0) {
|
|
14720
|
+
return tag + "{}";
|
|
14721
|
+
}
|
|
14722
|
+
if (indent) {
|
|
14723
|
+
return tag + "{" + indentedJoin(ys, indent) + "}";
|
|
14724
|
+
}
|
|
14725
|
+
return tag + "{ " + $join.call(ys, ", ") + " }";
|
|
14726
|
+
}
|
|
14727
|
+
return String(obj);
|
|
14681
14728
|
};
|
|
14682
|
-
|
|
14683
|
-
|
|
14684
|
-
|
|
14685
|
-
|
|
14686
|
-
|
|
14687
|
-
|
|
14688
|
-
|
|
14689
|
-
|
|
14690
|
-
|
|
14691
|
-
|
|
14692
|
-
}
|
|
14693
|
-
|
|
14694
|
-
|
|
14695
|
-
|
|
14696
|
-
|
|
14697
|
-
|
|
14698
|
-
|
|
14699
|
-
|
|
14700
|
-
|
|
14701
|
-
|
|
14702
|
-
|
|
14703
|
-
|
|
14704
|
-
|
|
14705
|
-
|
|
14706
|
-
|
|
14707
|
-
|
|
14708
|
-
|
|
14709
|
-
|
|
14710
|
-
|
|
14711
|
-
|
|
14712
|
-
|
|
14713
|
-
|
|
14714
|
-
|
|
14715
|
-
|
|
14716
|
-
|
|
14717
|
-
|
|
14718
|
-
|
|
14729
|
+
function wrapQuotes(s, defaultStyle, opts) {
|
|
14730
|
+
var style = opts.quoteStyle || defaultStyle;
|
|
14731
|
+
var quoteChar = quotes[style];
|
|
14732
|
+
return quoteChar + s + quoteChar;
|
|
14733
|
+
}
|
|
14734
|
+
function quote(s) {
|
|
14735
|
+
return $replace.call(String(s), /"/g, """);
|
|
14736
|
+
}
|
|
14737
|
+
function isArray(obj) {
|
|
14738
|
+
return toStr(obj) === "[object Array]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
|
|
14739
|
+
}
|
|
14740
|
+
function isDate(obj) {
|
|
14741
|
+
return toStr(obj) === "[object Date]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
|
|
14742
|
+
}
|
|
14743
|
+
function isRegExp(obj) {
|
|
14744
|
+
return toStr(obj) === "[object RegExp]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
|
|
14745
|
+
}
|
|
14746
|
+
function isError(obj) {
|
|
14747
|
+
return toStr(obj) === "[object Error]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
|
|
14748
|
+
}
|
|
14749
|
+
function isString(obj) {
|
|
14750
|
+
return toStr(obj) === "[object String]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
|
|
14751
|
+
}
|
|
14752
|
+
function isNumber(obj) {
|
|
14753
|
+
return toStr(obj) === "[object Number]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
|
|
14754
|
+
}
|
|
14755
|
+
function isBoolean(obj) {
|
|
14756
|
+
return toStr(obj) === "[object Boolean]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
|
|
14757
|
+
}
|
|
14758
|
+
function isSymbol(obj) {
|
|
14759
|
+
if (hasShammedSymbols) {
|
|
14760
|
+
return obj && typeof obj === "object" && obj instanceof Symbol;
|
|
14761
|
+
}
|
|
14762
|
+
if (typeof obj === "symbol") {
|
|
14763
|
+
return true;
|
|
14764
|
+
}
|
|
14765
|
+
if (!obj || typeof obj !== "object" || !symToString) {
|
|
14766
|
+
return false;
|
|
14767
|
+
}
|
|
14719
14768
|
try {
|
|
14720
|
-
|
|
14769
|
+
symToString.call(obj);
|
|
14770
|
+
return true;
|
|
14721
14771
|
} catch (e) {
|
|
14722
14772
|
}
|
|
14723
|
-
|
|
14724
|
-
|
|
14725
|
-
|
|
14773
|
+
return false;
|
|
14774
|
+
}
|
|
14775
|
+
function isBigInt(obj) {
|
|
14776
|
+
if (!obj || typeof obj !== "object" || !bigIntValueOf) {
|
|
14777
|
+
return false;
|
|
14778
|
+
}
|
|
14726
14779
|
try {
|
|
14727
|
-
|
|
14780
|
+
bigIntValueOf.call(obj);
|
|
14781
|
+
return true;
|
|
14728
14782
|
} catch (e) {
|
|
14729
|
-
$gOPD = null;
|
|
14730
14783
|
}
|
|
14784
|
+
return false;
|
|
14731
14785
|
}
|
|
14732
|
-
var
|
|
14733
|
-
|
|
14786
|
+
var hasOwn = Object.prototype.hasOwnProperty || function(key) {
|
|
14787
|
+
return key in this;
|
|
14734
14788
|
};
|
|
14735
|
-
|
|
14736
|
-
|
|
14737
|
-
arguments.callee;
|
|
14738
|
-
return throwTypeError;
|
|
14739
|
-
} catch (calleeThrows) {
|
|
14740
|
-
try {
|
|
14741
|
-
return $gOPD(arguments, "callee").get;
|
|
14742
|
-
} catch (gOPDthrows) {
|
|
14743
|
-
return throwTypeError;
|
|
14744
|
-
}
|
|
14745
|
-
}
|
|
14746
|
-
}() : throwTypeError;
|
|
14747
|
-
var hasSymbols = require_has_symbols()();
|
|
14748
|
-
var hasProto = require_has_proto()();
|
|
14749
|
-
var getProto = Object.getPrototypeOf || (hasProto ? function(x) {
|
|
14750
|
-
return x.__proto__;
|
|
14751
|
-
} : null);
|
|
14752
|
-
var needsEval = {};
|
|
14753
|
-
var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined2 : getProto(Uint8Array);
|
|
14754
|
-
var INTRINSICS = {
|
|
14755
|
-
__proto__: null,
|
|
14756
|
-
"%AggregateError%": typeof AggregateError === "undefined" ? undefined2 : AggregateError,
|
|
14757
|
-
"%Array%": Array,
|
|
14758
|
-
"%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined2 : ArrayBuffer,
|
|
14759
|
-
"%ArrayIteratorPrototype%": hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined2,
|
|
14760
|
-
"%AsyncFromSyncIteratorPrototype%": undefined2,
|
|
14761
|
-
"%AsyncFunction%": needsEval,
|
|
14762
|
-
"%AsyncGenerator%": needsEval,
|
|
14763
|
-
"%AsyncGeneratorFunction%": needsEval,
|
|
14764
|
-
"%AsyncIteratorPrototype%": needsEval,
|
|
14765
|
-
"%Atomics%": typeof Atomics === "undefined" ? undefined2 : Atomics,
|
|
14766
|
-
"%BigInt%": typeof BigInt === "undefined" ? undefined2 : BigInt,
|
|
14767
|
-
"%BigInt64Array%": typeof BigInt64Array === "undefined" ? undefined2 : BigInt64Array,
|
|
14768
|
-
"%BigUint64Array%": typeof BigUint64Array === "undefined" ? undefined2 : BigUint64Array,
|
|
14769
|
-
"%Boolean%": Boolean,
|
|
14770
|
-
"%DataView%": typeof DataView === "undefined" ? undefined2 : DataView,
|
|
14771
|
-
"%Date%": Date,
|
|
14772
|
-
"%decodeURI%": decodeURI,
|
|
14773
|
-
"%decodeURIComponent%": decodeURIComponent,
|
|
14774
|
-
"%encodeURI%": encodeURI,
|
|
14775
|
-
"%encodeURIComponent%": encodeURIComponent,
|
|
14776
|
-
"%Error%": $Error,
|
|
14777
|
-
"%eval%": eval,
|
|
14778
|
-
// eslint-disable-line no-eval
|
|
14779
|
-
"%EvalError%": $EvalError,
|
|
14780
|
-
"%Float32Array%": typeof Float32Array === "undefined" ? undefined2 : Float32Array,
|
|
14781
|
-
"%Float64Array%": typeof Float64Array === "undefined" ? undefined2 : Float64Array,
|
|
14782
|
-
"%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined2 : FinalizationRegistry,
|
|
14783
|
-
"%Function%": $Function,
|
|
14784
|
-
"%GeneratorFunction%": needsEval,
|
|
14785
|
-
"%Int8Array%": typeof Int8Array === "undefined" ? undefined2 : Int8Array,
|
|
14786
|
-
"%Int16Array%": typeof Int16Array === "undefined" ? undefined2 : Int16Array,
|
|
14787
|
-
"%Int32Array%": typeof Int32Array === "undefined" ? undefined2 : Int32Array,
|
|
14788
|
-
"%isFinite%": isFinite,
|
|
14789
|
-
"%isNaN%": isNaN,
|
|
14790
|
-
"%IteratorPrototype%": hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined2,
|
|
14791
|
-
"%JSON%": typeof JSON === "object" ? JSON : undefined2,
|
|
14792
|
-
"%Map%": typeof Map === "undefined" ? undefined2 : Map,
|
|
14793
|
-
"%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
14794
|
-
"%Math%": Math,
|
|
14795
|
-
"%Number%": Number,
|
|
14796
|
-
"%Object%": Object,
|
|
14797
|
-
"%parseFloat%": parseFloat,
|
|
14798
|
-
"%parseInt%": parseInt,
|
|
14799
|
-
"%Promise%": typeof Promise === "undefined" ? undefined2 : Promise,
|
|
14800
|
-
"%Proxy%": typeof Proxy === "undefined" ? undefined2 : Proxy,
|
|
14801
|
-
"%RangeError%": $RangeError,
|
|
14802
|
-
"%ReferenceError%": $ReferenceError,
|
|
14803
|
-
"%Reflect%": typeof Reflect === "undefined" ? undefined2 : Reflect,
|
|
14804
|
-
"%RegExp%": RegExp,
|
|
14805
|
-
"%Set%": typeof Set === "undefined" ? undefined2 : Set,
|
|
14806
|
-
"%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
14807
|
-
"%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined2 : SharedArrayBuffer,
|
|
14808
|
-
"%String%": String,
|
|
14809
|
-
"%StringIteratorPrototype%": hasSymbols && getProto ? getProto(""[Symbol.iterator]()) : undefined2,
|
|
14810
|
-
"%Symbol%": hasSymbols ? Symbol : undefined2,
|
|
14811
|
-
"%SyntaxError%": $SyntaxError,
|
|
14812
|
-
"%ThrowTypeError%": ThrowTypeError,
|
|
14813
|
-
"%TypedArray%": TypedArray,
|
|
14814
|
-
"%TypeError%": $TypeError,
|
|
14815
|
-
"%Uint8Array%": typeof Uint8Array === "undefined" ? undefined2 : Uint8Array,
|
|
14816
|
-
"%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined2 : Uint8ClampedArray,
|
|
14817
|
-
"%Uint16Array%": typeof Uint16Array === "undefined" ? undefined2 : Uint16Array,
|
|
14818
|
-
"%Uint32Array%": typeof Uint32Array === "undefined" ? undefined2 : Uint32Array,
|
|
14819
|
-
"%URIError%": $URIError,
|
|
14820
|
-
"%WeakMap%": typeof WeakMap === "undefined" ? undefined2 : WeakMap,
|
|
14821
|
-
"%WeakRef%": typeof WeakRef === "undefined" ? undefined2 : WeakRef,
|
|
14822
|
-
"%WeakSet%": typeof WeakSet === "undefined" ? undefined2 : WeakSet
|
|
14823
|
-
};
|
|
14824
|
-
if (getProto) {
|
|
14825
|
-
try {
|
|
14826
|
-
null.error;
|
|
14827
|
-
} catch (e) {
|
|
14828
|
-
errorProto = getProto(getProto(e));
|
|
14829
|
-
INTRINSICS["%Error.prototype%"] = errorProto;
|
|
14830
|
-
}
|
|
14831
|
-
}
|
|
14832
|
-
var errorProto;
|
|
14833
|
-
var doEval = function doEval2(name) {
|
|
14834
|
-
var value;
|
|
14835
|
-
if (name === "%AsyncFunction%") {
|
|
14836
|
-
value = getEvalledConstructor("async function () {}");
|
|
14837
|
-
} else if (name === "%GeneratorFunction%") {
|
|
14838
|
-
value = getEvalledConstructor("function* () {}");
|
|
14839
|
-
} else if (name === "%AsyncGeneratorFunction%") {
|
|
14840
|
-
value = getEvalledConstructor("async function* () {}");
|
|
14841
|
-
} else if (name === "%AsyncGenerator%") {
|
|
14842
|
-
var fn = doEval2("%AsyncGeneratorFunction%");
|
|
14843
|
-
if (fn) {
|
|
14844
|
-
value = fn.prototype;
|
|
14845
|
-
}
|
|
14846
|
-
} else if (name === "%AsyncIteratorPrototype%") {
|
|
14847
|
-
var gen = doEval2("%AsyncGenerator%");
|
|
14848
|
-
if (gen && getProto) {
|
|
14849
|
-
value = getProto(gen.prototype);
|
|
14850
|
-
}
|
|
14851
|
-
}
|
|
14852
|
-
INTRINSICS[name] = value;
|
|
14853
|
-
return value;
|
|
14854
|
-
};
|
|
14855
|
-
var LEGACY_ALIASES = {
|
|
14856
|
-
__proto__: null,
|
|
14857
|
-
"%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
|
|
14858
|
-
"%ArrayPrototype%": ["Array", "prototype"],
|
|
14859
|
-
"%ArrayProto_entries%": ["Array", "prototype", "entries"],
|
|
14860
|
-
"%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
|
|
14861
|
-
"%ArrayProto_keys%": ["Array", "prototype", "keys"],
|
|
14862
|
-
"%ArrayProto_values%": ["Array", "prototype", "values"],
|
|
14863
|
-
"%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
|
|
14864
|
-
"%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
|
|
14865
|
-
"%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
|
|
14866
|
-
"%BooleanPrototype%": ["Boolean", "prototype"],
|
|
14867
|
-
"%DataViewPrototype%": ["DataView", "prototype"],
|
|
14868
|
-
"%DatePrototype%": ["Date", "prototype"],
|
|
14869
|
-
"%ErrorPrototype%": ["Error", "prototype"],
|
|
14870
|
-
"%EvalErrorPrototype%": ["EvalError", "prototype"],
|
|
14871
|
-
"%Float32ArrayPrototype%": ["Float32Array", "prototype"],
|
|
14872
|
-
"%Float64ArrayPrototype%": ["Float64Array", "prototype"],
|
|
14873
|
-
"%FunctionPrototype%": ["Function", "prototype"],
|
|
14874
|
-
"%Generator%": ["GeneratorFunction", "prototype"],
|
|
14875
|
-
"%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
|
|
14876
|
-
"%Int8ArrayPrototype%": ["Int8Array", "prototype"],
|
|
14877
|
-
"%Int16ArrayPrototype%": ["Int16Array", "prototype"],
|
|
14878
|
-
"%Int32ArrayPrototype%": ["Int32Array", "prototype"],
|
|
14879
|
-
"%JSONParse%": ["JSON", "parse"],
|
|
14880
|
-
"%JSONStringify%": ["JSON", "stringify"],
|
|
14881
|
-
"%MapPrototype%": ["Map", "prototype"],
|
|
14882
|
-
"%NumberPrototype%": ["Number", "prototype"],
|
|
14883
|
-
"%ObjectPrototype%": ["Object", "prototype"],
|
|
14884
|
-
"%ObjProto_toString%": ["Object", "prototype", "toString"],
|
|
14885
|
-
"%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
|
|
14886
|
-
"%PromisePrototype%": ["Promise", "prototype"],
|
|
14887
|
-
"%PromiseProto_then%": ["Promise", "prototype", "then"],
|
|
14888
|
-
"%Promise_all%": ["Promise", "all"],
|
|
14889
|
-
"%Promise_reject%": ["Promise", "reject"],
|
|
14890
|
-
"%Promise_resolve%": ["Promise", "resolve"],
|
|
14891
|
-
"%RangeErrorPrototype%": ["RangeError", "prototype"],
|
|
14892
|
-
"%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
|
|
14893
|
-
"%RegExpPrototype%": ["RegExp", "prototype"],
|
|
14894
|
-
"%SetPrototype%": ["Set", "prototype"],
|
|
14895
|
-
"%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
|
|
14896
|
-
"%StringPrototype%": ["String", "prototype"],
|
|
14897
|
-
"%SymbolPrototype%": ["Symbol", "prototype"],
|
|
14898
|
-
"%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
|
|
14899
|
-
"%TypedArrayPrototype%": ["TypedArray", "prototype"],
|
|
14900
|
-
"%TypeErrorPrototype%": ["TypeError", "prototype"],
|
|
14901
|
-
"%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
|
|
14902
|
-
"%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
|
|
14903
|
-
"%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
|
|
14904
|
-
"%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
|
|
14905
|
-
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
14906
|
-
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
14907
|
-
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
14908
|
-
};
|
|
14909
|
-
var bind = require_function_bind();
|
|
14910
|
-
var hasOwn = require_hasown();
|
|
14911
|
-
var $concat = bind.call(Function.call, Array.prototype.concat);
|
|
14912
|
-
var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
|
|
14913
|
-
var $replace = bind.call(Function.call, String.prototype.replace);
|
|
14914
|
-
var $strSlice = bind.call(Function.call, String.prototype.slice);
|
|
14915
|
-
var $exec = bind.call(Function.call, RegExp.prototype.exec);
|
|
14916
|
-
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
14917
|
-
var reEscapeChar = /\\(\\)?/g;
|
|
14918
|
-
var stringToPath = function stringToPath2(string) {
|
|
14919
|
-
var first = $strSlice(string, 0, 1);
|
|
14920
|
-
var last = $strSlice(string, -1);
|
|
14921
|
-
if (first === "%" && last !== "%") {
|
|
14922
|
-
throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");
|
|
14923
|
-
} else if (last === "%" && first !== "%") {
|
|
14924
|
-
throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");
|
|
14925
|
-
}
|
|
14926
|
-
var result = [];
|
|
14927
|
-
$replace(string, rePropName, function(match, number, quote, subString) {
|
|
14928
|
-
result[result.length] = quote ? $replace(subString, reEscapeChar, "$1") : number || match;
|
|
14929
|
-
});
|
|
14930
|
-
return result;
|
|
14931
|
-
};
|
|
14932
|
-
var getBaseIntrinsic = function getBaseIntrinsic2(name, allowMissing) {
|
|
14933
|
-
var intrinsicName = name;
|
|
14934
|
-
var alias;
|
|
14935
|
-
if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
|
|
14936
|
-
alias = LEGACY_ALIASES[intrinsicName];
|
|
14937
|
-
intrinsicName = "%" + alias[0] + "%";
|
|
14938
|
-
}
|
|
14939
|
-
if (hasOwn(INTRINSICS, intrinsicName)) {
|
|
14940
|
-
var value = INTRINSICS[intrinsicName];
|
|
14941
|
-
if (value === needsEval) {
|
|
14942
|
-
value = doEval(intrinsicName);
|
|
14943
|
-
}
|
|
14944
|
-
if (typeof value === "undefined" && !allowMissing) {
|
|
14945
|
-
throw new $TypeError("intrinsic " + name + " exists, but is not available. Please file an issue!");
|
|
14946
|
-
}
|
|
14947
|
-
return {
|
|
14948
|
-
alias,
|
|
14949
|
-
name: intrinsicName,
|
|
14950
|
-
value
|
|
14951
|
-
};
|
|
14952
|
-
}
|
|
14953
|
-
throw new $SyntaxError("intrinsic " + name + " does not exist!");
|
|
14954
|
-
};
|
|
14955
|
-
module.exports = function GetIntrinsic(name, allowMissing) {
|
|
14956
|
-
if (typeof name !== "string" || name.length === 0) {
|
|
14957
|
-
throw new $TypeError("intrinsic name must be a non-empty string");
|
|
14958
|
-
}
|
|
14959
|
-
if (arguments.length > 1 && typeof allowMissing !== "boolean") {
|
|
14960
|
-
throw new $TypeError('"allowMissing" argument must be a boolean');
|
|
14961
|
-
}
|
|
14962
|
-
if ($exec(/^%?[^%]*%?$/, name) === null) {
|
|
14963
|
-
throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
14964
|
-
}
|
|
14965
|
-
var parts = stringToPath(name);
|
|
14966
|
-
var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
|
|
14967
|
-
var intrinsic = getBaseIntrinsic("%" + intrinsicBaseName + "%", allowMissing);
|
|
14968
|
-
var intrinsicRealName = intrinsic.name;
|
|
14969
|
-
var value = intrinsic.value;
|
|
14970
|
-
var skipFurtherCaching = false;
|
|
14971
|
-
var alias = intrinsic.alias;
|
|
14972
|
-
if (alias) {
|
|
14973
|
-
intrinsicBaseName = alias[0];
|
|
14974
|
-
$spliceApply(parts, $concat([0, 1], alias));
|
|
14975
|
-
}
|
|
14976
|
-
for (var i = 1, isOwn = true; i < parts.length; i += 1) {
|
|
14977
|
-
var part = parts[i];
|
|
14978
|
-
var first = $strSlice(part, 0, 1);
|
|
14979
|
-
var last = $strSlice(part, -1);
|
|
14980
|
-
if ((first === '"' || first === "'" || first === "`" || (last === '"' || last === "'" || last === "`")) && first !== last) {
|
|
14981
|
-
throw new $SyntaxError("property names with quotes must have matching quotes");
|
|
14982
|
-
}
|
|
14983
|
-
if (part === "constructor" || !isOwn) {
|
|
14984
|
-
skipFurtherCaching = true;
|
|
14985
|
-
}
|
|
14986
|
-
intrinsicBaseName += "." + part;
|
|
14987
|
-
intrinsicRealName = "%" + intrinsicBaseName + "%";
|
|
14988
|
-
if (hasOwn(INTRINSICS, intrinsicRealName)) {
|
|
14989
|
-
value = INTRINSICS[intrinsicRealName];
|
|
14990
|
-
} else if (value != null) {
|
|
14991
|
-
if (!(part in value)) {
|
|
14992
|
-
if (!allowMissing) {
|
|
14993
|
-
throw new $TypeError("base intrinsic for " + name + " exists, but the property is not available.");
|
|
14994
|
-
}
|
|
14995
|
-
return void 0;
|
|
14996
|
-
}
|
|
14997
|
-
if ($gOPD && i + 1 >= parts.length) {
|
|
14998
|
-
var desc = $gOPD(value, part);
|
|
14999
|
-
isOwn = !!desc;
|
|
15000
|
-
if (isOwn && "get" in desc && !("originalValue" in desc.get)) {
|
|
15001
|
-
value = desc.get;
|
|
15002
|
-
} else {
|
|
15003
|
-
value = value[part];
|
|
15004
|
-
}
|
|
15005
|
-
} else {
|
|
15006
|
-
isOwn = hasOwn(value, part);
|
|
15007
|
-
value = value[part];
|
|
15008
|
-
}
|
|
15009
|
-
if (isOwn && !skipFurtherCaching) {
|
|
15010
|
-
INTRINSICS[intrinsicRealName] = value;
|
|
15011
|
-
}
|
|
15012
|
-
}
|
|
15013
|
-
}
|
|
15014
|
-
return value;
|
|
15015
|
-
};
|
|
15016
|
-
}
|
|
15017
|
-
});
|
|
15018
|
-
|
|
15019
|
-
// node_modules/es-define-property/index.js
|
|
15020
|
-
var require_es_define_property = __commonJS({
|
|
15021
|
-
"node_modules/es-define-property/index.js"(exports, module) {
|
|
15022
|
-
"use strict";
|
|
15023
|
-
var GetIntrinsic = require_get_intrinsic();
|
|
15024
|
-
var $defineProperty = GetIntrinsic("%Object.defineProperty%", true) || false;
|
|
15025
|
-
if ($defineProperty) {
|
|
15026
|
-
try {
|
|
15027
|
-
$defineProperty({}, "a", { value: 1 });
|
|
15028
|
-
} catch (e) {
|
|
15029
|
-
$defineProperty = false;
|
|
15030
|
-
}
|
|
14789
|
+
function has(obj, key) {
|
|
14790
|
+
return hasOwn.call(obj, key);
|
|
15031
14791
|
}
|
|
15032
|
-
|
|
15033
|
-
|
|
15034
|
-
});
|
|
15035
|
-
|
|
15036
|
-
// node_modules/gopd/index.js
|
|
15037
|
-
var require_gopd = __commonJS({
|
|
15038
|
-
"node_modules/gopd/index.js"(exports, module) {
|
|
15039
|
-
"use strict";
|
|
15040
|
-
var GetIntrinsic = require_get_intrinsic();
|
|
15041
|
-
var $gOPD = GetIntrinsic("%Object.getOwnPropertyDescriptor%", true);
|
|
15042
|
-
if ($gOPD) {
|
|
15043
|
-
try {
|
|
15044
|
-
$gOPD([], "length");
|
|
15045
|
-
} catch (e) {
|
|
15046
|
-
$gOPD = null;
|
|
15047
|
-
}
|
|
14792
|
+
function toStr(obj) {
|
|
14793
|
+
return objectToString.call(obj);
|
|
15048
14794
|
}
|
|
15049
|
-
|
|
15050
|
-
|
|
15051
|
-
|
|
15052
|
-
|
|
15053
|
-
// node_modules/define-data-property/index.js
|
|
15054
|
-
var require_define_data_property = __commonJS({
|
|
15055
|
-
"node_modules/define-data-property/index.js"(exports, module) {
|
|
15056
|
-
"use strict";
|
|
15057
|
-
var $defineProperty = require_es_define_property();
|
|
15058
|
-
var $SyntaxError = require_syntax();
|
|
15059
|
-
var $TypeError = require_type();
|
|
15060
|
-
var gopd = require_gopd();
|
|
15061
|
-
module.exports = function defineDataProperty(obj, property, value) {
|
|
15062
|
-
if (!obj || typeof obj !== "object" && typeof obj !== "function") {
|
|
15063
|
-
throw new $TypeError("`obj` must be an object or a function`");
|
|
15064
|
-
}
|
|
15065
|
-
if (typeof property !== "string" && typeof property !== "symbol") {
|
|
15066
|
-
throw new $TypeError("`property` must be a string or a symbol`");
|
|
15067
|
-
}
|
|
15068
|
-
if (arguments.length > 3 && typeof arguments[3] !== "boolean" && arguments[3] !== null) {
|
|
15069
|
-
throw new $TypeError("`nonEnumerable`, if provided, must be a boolean or null");
|
|
15070
|
-
}
|
|
15071
|
-
if (arguments.length > 4 && typeof arguments[4] !== "boolean" && arguments[4] !== null) {
|
|
15072
|
-
throw new $TypeError("`nonWritable`, if provided, must be a boolean or null");
|
|
15073
|
-
}
|
|
15074
|
-
if (arguments.length > 5 && typeof arguments[5] !== "boolean" && arguments[5] !== null) {
|
|
15075
|
-
throw new $TypeError("`nonConfigurable`, if provided, must be a boolean or null");
|
|
15076
|
-
}
|
|
15077
|
-
if (arguments.length > 6 && typeof arguments[6] !== "boolean") {
|
|
15078
|
-
throw new $TypeError("`loose`, if provided, must be a boolean");
|
|
15079
|
-
}
|
|
15080
|
-
var nonEnumerable = arguments.length > 3 ? arguments[3] : null;
|
|
15081
|
-
var nonWritable = arguments.length > 4 ? arguments[4] : null;
|
|
15082
|
-
var nonConfigurable = arguments.length > 5 ? arguments[5] : null;
|
|
15083
|
-
var loose = arguments.length > 6 ? arguments[6] : false;
|
|
15084
|
-
var desc = !!gopd && gopd(obj, property);
|
|
15085
|
-
if ($defineProperty) {
|
|
15086
|
-
$defineProperty(obj, property, {
|
|
15087
|
-
configurable: nonConfigurable === null && desc ? desc.configurable : !nonConfigurable,
|
|
15088
|
-
enumerable: nonEnumerable === null && desc ? desc.enumerable : !nonEnumerable,
|
|
15089
|
-
value,
|
|
15090
|
-
writable: nonWritable === null && desc ? desc.writable : !nonWritable
|
|
15091
|
-
});
|
|
15092
|
-
} else if (loose || !nonEnumerable && !nonWritable && !nonConfigurable) {
|
|
15093
|
-
obj[property] = value;
|
|
15094
|
-
} else {
|
|
15095
|
-
throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
|
|
15096
|
-
}
|
|
15097
|
-
};
|
|
15098
|
-
}
|
|
15099
|
-
});
|
|
15100
|
-
|
|
15101
|
-
// node_modules/has-property-descriptors/index.js
|
|
15102
|
-
var require_has_property_descriptors = __commonJS({
|
|
15103
|
-
"node_modules/has-property-descriptors/index.js"(exports, module) {
|
|
15104
|
-
"use strict";
|
|
15105
|
-
var $defineProperty = require_es_define_property();
|
|
15106
|
-
var hasPropertyDescriptors = function hasPropertyDescriptors2() {
|
|
15107
|
-
return !!$defineProperty;
|
|
15108
|
-
};
|
|
15109
|
-
hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
|
|
15110
|
-
if (!$defineProperty) {
|
|
15111
|
-
return null;
|
|
15112
|
-
}
|
|
15113
|
-
try {
|
|
15114
|
-
return $defineProperty([], "length", { value: 1 }).length !== 1;
|
|
15115
|
-
} catch (e) {
|
|
15116
|
-
return true;
|
|
15117
|
-
}
|
|
15118
|
-
};
|
|
15119
|
-
module.exports = hasPropertyDescriptors;
|
|
15120
|
-
}
|
|
15121
|
-
});
|
|
15122
|
-
|
|
15123
|
-
// node_modules/set-function-length/index.js
|
|
15124
|
-
var require_set_function_length = __commonJS({
|
|
15125
|
-
"node_modules/set-function-length/index.js"(exports, module) {
|
|
15126
|
-
"use strict";
|
|
15127
|
-
var GetIntrinsic = require_get_intrinsic();
|
|
15128
|
-
var define = require_define_data_property();
|
|
15129
|
-
var hasDescriptors = require_has_property_descriptors()();
|
|
15130
|
-
var gOPD = require_gopd();
|
|
15131
|
-
var $TypeError = require_type();
|
|
15132
|
-
var $floor = GetIntrinsic("%Math.floor%");
|
|
15133
|
-
module.exports = function setFunctionLength(fn, length) {
|
|
15134
|
-
if (typeof fn !== "function") {
|
|
15135
|
-
throw new $TypeError("`fn` is not a function");
|
|
15136
|
-
}
|
|
15137
|
-
if (typeof length !== "number" || length < 0 || length > 4294967295 || $floor(length) !== length) {
|
|
15138
|
-
throw new $TypeError("`length` must be a positive 32-bit integer");
|
|
15139
|
-
}
|
|
15140
|
-
var loose = arguments.length > 2 && !!arguments[2];
|
|
15141
|
-
var functionLengthIsConfigurable = true;
|
|
15142
|
-
var functionLengthIsWritable = true;
|
|
15143
|
-
if ("length" in fn && gOPD) {
|
|
15144
|
-
var desc = gOPD(fn, "length");
|
|
15145
|
-
if (desc && !desc.configurable) {
|
|
15146
|
-
functionLengthIsConfigurable = false;
|
|
15147
|
-
}
|
|
15148
|
-
if (desc && !desc.writable) {
|
|
15149
|
-
functionLengthIsWritable = false;
|
|
15150
|
-
}
|
|
15151
|
-
}
|
|
15152
|
-
if (functionLengthIsConfigurable || functionLengthIsWritable || !loose) {
|
|
15153
|
-
if (hasDescriptors) {
|
|
15154
|
-
define(
|
|
15155
|
-
/** @type {Parameters<define>[0]} */
|
|
15156
|
-
fn,
|
|
15157
|
-
"length",
|
|
15158
|
-
length,
|
|
15159
|
-
true,
|
|
15160
|
-
true
|
|
15161
|
-
);
|
|
15162
|
-
} else {
|
|
15163
|
-
define(
|
|
15164
|
-
/** @type {Parameters<define>[0]} */
|
|
15165
|
-
fn,
|
|
15166
|
-
"length",
|
|
15167
|
-
length
|
|
15168
|
-
);
|
|
15169
|
-
}
|
|
14795
|
+
function nameOf(f) {
|
|
14796
|
+
if (f.name) {
|
|
14797
|
+
return f.name;
|
|
15170
14798
|
}
|
|
15171
|
-
|
|
15172
|
-
|
|
15173
|
-
|
|
15174
|
-
});
|
|
15175
|
-
|
|
15176
|
-
// node_modules/call-bind/index.js
|
|
15177
|
-
var require_call_bind = __commonJS({
|
|
15178
|
-
"node_modules/call-bind/index.js"(exports, module) {
|
|
15179
|
-
"use strict";
|
|
15180
|
-
var bind = require_function_bind();
|
|
15181
|
-
var GetIntrinsic = require_get_intrinsic();
|
|
15182
|
-
var setFunctionLength = require_set_function_length();
|
|
15183
|
-
var $TypeError = require_type();
|
|
15184
|
-
var $apply = GetIntrinsic("%Function.prototype.apply%");
|
|
15185
|
-
var $call = GetIntrinsic("%Function.prototype.call%");
|
|
15186
|
-
var $reflectApply = GetIntrinsic("%Reflect.apply%", true) || bind.call($call, $apply);
|
|
15187
|
-
var $defineProperty = require_es_define_property();
|
|
15188
|
-
var $max = GetIntrinsic("%Math.max%");
|
|
15189
|
-
module.exports = function callBind(originalFunction) {
|
|
15190
|
-
if (typeof originalFunction !== "function") {
|
|
15191
|
-
throw new $TypeError("a function is required");
|
|
14799
|
+
var m = $match.call(functionToString.call(f), /^function\s*([\w$]+)/);
|
|
14800
|
+
if (m) {
|
|
14801
|
+
return m[1];
|
|
15192
14802
|
}
|
|
15193
|
-
|
|
15194
|
-
return setFunctionLength(
|
|
15195
|
-
func,
|
|
15196
|
-
1 + $max(0, originalFunction.length - (arguments.length - 1)),
|
|
15197
|
-
true
|
|
15198
|
-
);
|
|
15199
|
-
};
|
|
15200
|
-
var applyBind = function applyBind2() {
|
|
15201
|
-
return $reflectApply(bind, $apply, arguments);
|
|
15202
|
-
};
|
|
15203
|
-
if ($defineProperty) {
|
|
15204
|
-
$defineProperty(module.exports, "apply", { value: applyBind });
|
|
15205
|
-
} else {
|
|
15206
|
-
module.exports.apply = applyBind;
|
|
14803
|
+
return null;
|
|
15207
14804
|
}
|
|
15208
|
-
|
|
15209
|
-
|
|
15210
|
-
|
|
15211
|
-
// node_modules/call-bind/callBound.js
|
|
15212
|
-
var require_callBound = __commonJS({
|
|
15213
|
-
"node_modules/call-bind/callBound.js"(exports, module) {
|
|
15214
|
-
"use strict";
|
|
15215
|
-
var GetIntrinsic = require_get_intrinsic();
|
|
15216
|
-
var callBind = require_call_bind();
|
|
15217
|
-
var $indexOf = callBind(GetIntrinsic("String.prototype.indexOf"));
|
|
15218
|
-
module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
15219
|
-
var intrinsic = GetIntrinsic(name, !!allowMissing);
|
|
15220
|
-
if (typeof intrinsic === "function" && $indexOf(name, ".prototype.") > -1) {
|
|
15221
|
-
return callBind(intrinsic);
|
|
15222
|
-
}
|
|
15223
|
-
return intrinsic;
|
|
15224
|
-
};
|
|
15225
|
-
}
|
|
15226
|
-
});
|
|
15227
|
-
|
|
15228
|
-
// node_modules/object-inspect/util.inspect.js
|
|
15229
|
-
var require_util_inspect = __commonJS({
|
|
15230
|
-
"node_modules/object-inspect/util.inspect.js"(exports, module) {
|
|
15231
|
-
"use strict";
|
|
15232
|
-
module.exports = __require("util").inspect;
|
|
15233
|
-
}
|
|
15234
|
-
});
|
|
15235
|
-
|
|
15236
|
-
// node_modules/object-inspect/index.js
|
|
15237
|
-
var require_object_inspect = __commonJS({
|
|
15238
|
-
"node_modules/object-inspect/index.js"(exports, module) {
|
|
15239
|
-
"use strict";
|
|
15240
|
-
var hasMap = typeof Map === "function" && Map.prototype;
|
|
15241
|
-
var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null;
|
|
15242
|
-
var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === "function" ? mapSizeDescriptor.get : null;
|
|
15243
|
-
var mapForEach = hasMap && Map.prototype.forEach;
|
|
15244
|
-
var hasSet = typeof Set === "function" && Set.prototype;
|
|
15245
|
-
var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null;
|
|
15246
|
-
var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === "function" ? setSizeDescriptor.get : null;
|
|
15247
|
-
var setForEach = hasSet && Set.prototype.forEach;
|
|
15248
|
-
var hasWeakMap = typeof WeakMap === "function" && WeakMap.prototype;
|
|
15249
|
-
var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;
|
|
15250
|
-
var hasWeakSet = typeof WeakSet === "function" && WeakSet.prototype;
|
|
15251
|
-
var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;
|
|
15252
|
-
var hasWeakRef = typeof WeakRef === "function" && WeakRef.prototype;
|
|
15253
|
-
var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;
|
|
15254
|
-
var booleanValueOf = Boolean.prototype.valueOf;
|
|
15255
|
-
var objectToString = Object.prototype.toString;
|
|
15256
|
-
var functionToString = Function.prototype.toString;
|
|
15257
|
-
var $match = String.prototype.match;
|
|
15258
|
-
var $slice = String.prototype.slice;
|
|
15259
|
-
var $replace = String.prototype.replace;
|
|
15260
|
-
var $toUpperCase = String.prototype.toUpperCase;
|
|
15261
|
-
var $toLowerCase = String.prototype.toLowerCase;
|
|
15262
|
-
var $test = RegExp.prototype.test;
|
|
15263
|
-
var $concat = Array.prototype.concat;
|
|
15264
|
-
var $join = Array.prototype.join;
|
|
15265
|
-
var $arrSlice = Array.prototype.slice;
|
|
15266
|
-
var $floor = Math.floor;
|
|
15267
|
-
var bigIntValueOf = typeof BigInt === "function" ? BigInt.prototype.valueOf : null;
|
|
15268
|
-
var gOPS = Object.getOwnPropertySymbols;
|
|
15269
|
-
var symToString = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? Symbol.prototype.toString : null;
|
|
15270
|
-
var hasShammedSymbols = typeof Symbol === "function" && typeof Symbol.iterator === "object";
|
|
15271
|
-
var toStringTag = typeof Symbol === "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? "object" : "symbol") ? Symbol.toStringTag : null;
|
|
15272
|
-
var isEnumerable = Object.prototype.propertyIsEnumerable;
|
|
15273
|
-
var gPO = (typeof Reflect === "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(O) {
|
|
15274
|
-
return O.__proto__;
|
|
15275
|
-
} : null);
|
|
15276
|
-
function addNumericSeparator(num, str) {
|
|
15277
|
-
if (num === Infinity || num === -Infinity || num !== num || num && num > -1e3 && num < 1e3 || $test.call(/e/, str)) {
|
|
15278
|
-
return str;
|
|
14805
|
+
function indexOf(xs, x) {
|
|
14806
|
+
if (xs.indexOf) {
|
|
14807
|
+
return xs.indexOf(x);
|
|
15279
14808
|
}
|
|
15280
|
-
var
|
|
15281
|
-
|
|
15282
|
-
|
|
15283
|
-
if (int !== num) {
|
|
15284
|
-
var intStr = String(int);
|
|
15285
|
-
var dec = $slice.call(str, intStr.length + 1);
|
|
15286
|
-
return $replace.call(intStr, sepRegex, "$&_") + "." + $replace.call($replace.call(dec, /([0-9]{3})/g, "$&_"), /_$/, "");
|
|
14809
|
+
for (var i = 0, l = xs.length; i < l; i++) {
|
|
14810
|
+
if (xs[i] === x) {
|
|
14811
|
+
return i;
|
|
15287
14812
|
}
|
|
15288
14813
|
}
|
|
15289
|
-
return
|
|
14814
|
+
return -1;
|
|
15290
14815
|
}
|
|
15291
|
-
|
|
15292
|
-
|
|
15293
|
-
|
|
15294
|
-
var quotes = {
|
|
15295
|
-
__proto__: null,
|
|
15296
|
-
"double": '"',
|
|
15297
|
-
single: "'"
|
|
15298
|
-
};
|
|
15299
|
-
var quoteREs = {
|
|
15300
|
-
__proto__: null,
|
|
15301
|
-
"double": /(["\\])/g,
|
|
15302
|
-
single: /(['\\])/g
|
|
15303
|
-
};
|
|
15304
|
-
module.exports = function inspect_(obj, options, depth, seen) {
|
|
15305
|
-
var opts = options || {};
|
|
15306
|
-
if (has(opts, "quoteStyle") && !has(quotes, opts.quoteStyle)) {
|
|
15307
|
-
throw new TypeError('option "quoteStyle" must be "single" or "double"');
|
|
14816
|
+
function isMap(x) {
|
|
14817
|
+
if (!mapSize || !x || typeof x !== "object") {
|
|
14818
|
+
return false;
|
|
15308
14819
|
}
|
|
15309
|
-
|
|
15310
|
-
|
|
14820
|
+
try {
|
|
14821
|
+
mapSize.call(x);
|
|
14822
|
+
try {
|
|
14823
|
+
setSize.call(x);
|
|
14824
|
+
} catch (s) {
|
|
14825
|
+
return true;
|
|
14826
|
+
}
|
|
14827
|
+
return x instanceof Map;
|
|
14828
|
+
} catch (e) {
|
|
15311
14829
|
}
|
|
15312
|
-
|
|
15313
|
-
|
|
15314
|
-
|
|
14830
|
+
return false;
|
|
14831
|
+
}
|
|
14832
|
+
function isWeakMap(x) {
|
|
14833
|
+
if (!weakMapHas || !x || typeof x !== "object") {
|
|
14834
|
+
return false;
|
|
15315
14835
|
}
|
|
15316
|
-
|
|
15317
|
-
|
|
14836
|
+
try {
|
|
14837
|
+
weakMapHas.call(x, weakMapHas);
|
|
14838
|
+
try {
|
|
14839
|
+
weakSetHas.call(x, weakSetHas);
|
|
14840
|
+
} catch (s) {
|
|
14841
|
+
return true;
|
|
14842
|
+
}
|
|
14843
|
+
return x instanceof WeakMap;
|
|
14844
|
+
} catch (e) {
|
|
15318
14845
|
}
|
|
15319
|
-
|
|
15320
|
-
|
|
14846
|
+
return false;
|
|
14847
|
+
}
|
|
14848
|
+
function isWeakRef(x) {
|
|
14849
|
+
if (!weakRefDeref || !x || typeof x !== "object") {
|
|
14850
|
+
return false;
|
|
15321
14851
|
}
|
|
15322
|
-
|
|
15323
|
-
|
|
15324
|
-
return
|
|
14852
|
+
try {
|
|
14853
|
+
weakRefDeref.call(x);
|
|
14854
|
+
return true;
|
|
14855
|
+
} catch (e) {
|
|
15325
14856
|
}
|
|
15326
|
-
|
|
15327
|
-
|
|
14857
|
+
return false;
|
|
14858
|
+
}
|
|
14859
|
+
function isSet(x) {
|
|
14860
|
+
if (!setSize || !x || typeof x !== "object") {
|
|
14861
|
+
return false;
|
|
15328
14862
|
}
|
|
15329
|
-
|
|
15330
|
-
|
|
14863
|
+
try {
|
|
14864
|
+
setSize.call(x);
|
|
14865
|
+
try {
|
|
14866
|
+
mapSize.call(x);
|
|
14867
|
+
} catch (m) {
|
|
14868
|
+
return true;
|
|
14869
|
+
}
|
|
14870
|
+
return x instanceof Set;
|
|
14871
|
+
} catch (e) {
|
|
15331
14872
|
}
|
|
15332
|
-
|
|
15333
|
-
|
|
14873
|
+
return false;
|
|
14874
|
+
}
|
|
14875
|
+
function isWeakSet(x) {
|
|
14876
|
+
if (!weakSetHas || !x || typeof x !== "object") {
|
|
14877
|
+
return false;
|
|
15334
14878
|
}
|
|
15335
|
-
|
|
15336
|
-
|
|
15337
|
-
|
|
14879
|
+
try {
|
|
14880
|
+
weakSetHas.call(x, weakSetHas);
|
|
14881
|
+
try {
|
|
14882
|
+
weakMapHas.call(x, weakMapHas);
|
|
14883
|
+
} catch (s) {
|
|
14884
|
+
return true;
|
|
15338
14885
|
}
|
|
15339
|
-
|
|
15340
|
-
|
|
14886
|
+
return x instanceof WeakSet;
|
|
14887
|
+
} catch (e) {
|
|
15341
14888
|
}
|
|
15342
|
-
|
|
15343
|
-
|
|
15344
|
-
|
|
14889
|
+
return false;
|
|
14890
|
+
}
|
|
14891
|
+
function isElement(x) {
|
|
14892
|
+
if (!x || typeof x !== "object") {
|
|
14893
|
+
return false;
|
|
15345
14894
|
}
|
|
15346
|
-
|
|
15347
|
-
|
|
15348
|
-
depth = 0;
|
|
14895
|
+
if (typeof HTMLElement !== "undefined" && x instanceof HTMLElement) {
|
|
14896
|
+
return true;
|
|
15349
14897
|
}
|
|
15350
|
-
|
|
15351
|
-
|
|
14898
|
+
return typeof x.nodeName === "string" && typeof x.getAttribute === "function";
|
|
14899
|
+
}
|
|
14900
|
+
function inspectString(str, opts) {
|
|
14901
|
+
if (str.length > opts.maxStringLength) {
|
|
14902
|
+
var remaining = str.length - opts.maxStringLength;
|
|
14903
|
+
var trailer = "... " + remaining + " more character" + (remaining > 1 ? "s" : "");
|
|
14904
|
+
return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer;
|
|
15352
14905
|
}
|
|
15353
|
-
var
|
|
15354
|
-
|
|
15355
|
-
|
|
15356
|
-
|
|
15357
|
-
|
|
14906
|
+
var quoteRE = quoteREs[opts.quoteStyle || "single"];
|
|
14907
|
+
quoteRE.lastIndex = 0;
|
|
14908
|
+
var s = $replace.call($replace.call(str, quoteRE, "\\$1"), /[\x00-\x1f]/g, lowbyte);
|
|
14909
|
+
return wrapQuotes(s, "single", opts);
|
|
14910
|
+
}
|
|
14911
|
+
function lowbyte(c) {
|
|
14912
|
+
var n = c.charCodeAt(0);
|
|
14913
|
+
var x = {
|
|
14914
|
+
8: "b",
|
|
14915
|
+
9: "t",
|
|
14916
|
+
10: "n",
|
|
14917
|
+
12: "f",
|
|
14918
|
+
13: "r"
|
|
14919
|
+
}[n];
|
|
14920
|
+
if (x) {
|
|
14921
|
+
return "\\" + x;
|
|
15358
14922
|
}
|
|
15359
|
-
|
|
15360
|
-
|
|
15361
|
-
|
|
15362
|
-
|
|
15363
|
-
|
|
15364
|
-
|
|
15365
|
-
|
|
15366
|
-
|
|
15367
|
-
|
|
15368
|
-
|
|
15369
|
-
|
|
15370
|
-
|
|
15371
|
-
|
|
14923
|
+
return "\\x" + (n < 16 ? "0" : "") + $toUpperCase.call(n.toString(16));
|
|
14924
|
+
}
|
|
14925
|
+
function markBoxed(str) {
|
|
14926
|
+
return "Object(" + str + ")";
|
|
14927
|
+
}
|
|
14928
|
+
function weakCollectionOf(type) {
|
|
14929
|
+
return type + " { ? }";
|
|
14930
|
+
}
|
|
14931
|
+
function collectionOf(type, size, entries, indent) {
|
|
14932
|
+
var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ", ");
|
|
14933
|
+
return type + " (" + size + ") {" + joinedEntries + "}";
|
|
14934
|
+
}
|
|
14935
|
+
function singleLineValues(xs) {
|
|
14936
|
+
for (var i = 0; i < xs.length; i++) {
|
|
14937
|
+
if (indexOf(xs[i], "\n") >= 0) {
|
|
14938
|
+
return false;
|
|
15372
14939
|
}
|
|
15373
|
-
return inspect_(value, opts, depth + 1, seen);
|
|
15374
14940
|
}
|
|
15375
|
-
|
|
15376
|
-
|
|
15377
|
-
|
|
15378
|
-
|
|
14941
|
+
return true;
|
|
14942
|
+
}
|
|
14943
|
+
function getIndent(opts, depth) {
|
|
14944
|
+
var baseIndent;
|
|
14945
|
+
if (opts.indent === " ") {
|
|
14946
|
+
baseIndent = " ";
|
|
14947
|
+
} else if (typeof opts.indent === "number" && opts.indent > 0) {
|
|
14948
|
+
baseIndent = $join.call(Array(opts.indent + 1), " ");
|
|
14949
|
+
} else {
|
|
14950
|
+
return null;
|
|
15379
14951
|
}
|
|
15380
|
-
|
|
15381
|
-
|
|
15382
|
-
|
|
14952
|
+
return {
|
|
14953
|
+
base: baseIndent,
|
|
14954
|
+
prev: $join.call(Array(depth + 1), baseIndent)
|
|
14955
|
+
};
|
|
14956
|
+
}
|
|
14957
|
+
function indentedJoin(xs, indent) {
|
|
14958
|
+
if (xs.length === 0) {
|
|
14959
|
+
return "";
|
|
15383
14960
|
}
|
|
15384
|
-
|
|
15385
|
-
|
|
15386
|
-
|
|
15387
|
-
|
|
15388
|
-
|
|
15389
|
-
|
|
15390
|
-
|
|
15391
|
-
|
|
15392
|
-
|
|
14961
|
+
var lineJoiner = "\n" + indent.prev + indent.base;
|
|
14962
|
+
return lineJoiner + $join.call(xs, "," + lineJoiner) + "\n" + indent.prev;
|
|
14963
|
+
}
|
|
14964
|
+
function arrObjKeys(obj, inspect) {
|
|
14965
|
+
var isArr = isArray(obj);
|
|
14966
|
+
var xs = [];
|
|
14967
|
+
if (isArr) {
|
|
14968
|
+
xs.length = obj.length;
|
|
14969
|
+
for (var i = 0; i < obj.length; i++) {
|
|
14970
|
+
xs[i] = has(obj, i) ? inspect(obj[i], obj) : "";
|
|
15393
14971
|
}
|
|
15394
|
-
s += "</" + $toLowerCase.call(String(obj.nodeName)) + ">";
|
|
15395
|
-
return s;
|
|
15396
14972
|
}
|
|
15397
|
-
|
|
15398
|
-
|
|
15399
|
-
|
|
15400
|
-
}
|
|
15401
|
-
var
|
|
15402
|
-
|
|
15403
|
-
return "[" + indentedJoin(xs, indent) + "]";
|
|
14973
|
+
var syms = typeof gOPS === "function" ? gOPS(obj) : [];
|
|
14974
|
+
var symMap;
|
|
14975
|
+
if (hasShammedSymbols) {
|
|
14976
|
+
symMap = {};
|
|
14977
|
+
for (var k = 0; k < syms.length; k++) {
|
|
14978
|
+
symMap["$" + syms[k]] = syms[k];
|
|
15404
14979
|
}
|
|
15405
|
-
return "[ " + $join.call(xs, ", ") + " ]";
|
|
15406
14980
|
}
|
|
15407
|
-
|
|
15408
|
-
|
|
15409
|
-
|
|
15410
|
-
return "{ [" + String(obj) + "] " + $join.call($concat.call("[cause]: " + inspect(obj.cause), parts), ", ") + " }";
|
|
14981
|
+
for (var key in obj) {
|
|
14982
|
+
if (!has(obj, key)) {
|
|
14983
|
+
continue;
|
|
15411
14984
|
}
|
|
15412
|
-
if (
|
|
15413
|
-
|
|
14985
|
+
if (isArr && String(Number(key)) === key && key < obj.length) {
|
|
14986
|
+
continue;
|
|
15414
14987
|
}
|
|
15415
|
-
|
|
15416
|
-
|
|
15417
|
-
|
|
15418
|
-
|
|
15419
|
-
|
|
15420
|
-
|
|
15421
|
-
return obj.inspect();
|
|
14988
|
+
if (hasShammedSymbols && symMap["$" + key] instanceof Symbol) {
|
|
14989
|
+
continue;
|
|
14990
|
+
} else if ($test.call(/[^\w$]/, key)) {
|
|
14991
|
+
xs.push(inspect(key, obj) + ": " + inspect(obj[key], obj));
|
|
14992
|
+
} else {
|
|
14993
|
+
xs.push(key + ": " + inspect(obj[key], obj));
|
|
15422
14994
|
}
|
|
15423
14995
|
}
|
|
15424
|
-
if (
|
|
15425
|
-
var
|
|
15426
|
-
|
|
15427
|
-
|
|
15428
|
-
|
|
15429
|
-
});
|
|
14996
|
+
if (typeof gOPS === "function") {
|
|
14997
|
+
for (var j = 0; j < syms.length; j++) {
|
|
14998
|
+
if (isEnumerable.call(obj, syms[j])) {
|
|
14999
|
+
xs.push("[" + inspect(syms[j]) + "]: " + inspect(obj[syms[j]], obj));
|
|
15000
|
+
}
|
|
15430
15001
|
}
|
|
15431
|
-
return collectionOf("Map", mapSize.call(obj), mapParts, indent);
|
|
15432
15002
|
}
|
|
15433
|
-
|
|
15434
|
-
|
|
15435
|
-
|
|
15436
|
-
|
|
15437
|
-
|
|
15438
|
-
|
|
15003
|
+
return xs;
|
|
15004
|
+
}
|
|
15005
|
+
}
|
|
15006
|
+
});
|
|
15007
|
+
|
|
15008
|
+
// node_modules/side-channel-list/index.js
|
|
15009
|
+
var require_side_channel_list = __commonJS({
|
|
15010
|
+
"node_modules/side-channel-list/index.js"(exports, module) {
|
|
15011
|
+
"use strict";
|
|
15012
|
+
var inspect = require_object_inspect();
|
|
15013
|
+
var $TypeError = require_type();
|
|
15014
|
+
var listGetNode = function(list, key, isDelete) {
|
|
15015
|
+
var prev = list;
|
|
15016
|
+
var curr;
|
|
15017
|
+
for (; (curr = prev.next) != null; prev = curr) {
|
|
15018
|
+
if (curr.key === key) {
|
|
15019
|
+
prev.next = curr.next;
|
|
15020
|
+
if (!isDelete) {
|
|
15021
|
+
curr.next = /** @type {NonNullable<typeof list.next>} */
|
|
15022
|
+
list.next;
|
|
15023
|
+
list.next = curr;
|
|
15024
|
+
}
|
|
15025
|
+
return curr;
|
|
15439
15026
|
}
|
|
15440
|
-
return collectionOf("Set", setSize.call(obj), setParts, indent);
|
|
15441
|
-
}
|
|
15442
|
-
if (isWeakMap(obj)) {
|
|
15443
|
-
return weakCollectionOf("WeakMap");
|
|
15444
|
-
}
|
|
15445
|
-
if (isWeakSet(obj)) {
|
|
15446
|
-
return weakCollectionOf("WeakSet");
|
|
15447
|
-
}
|
|
15448
|
-
if (isWeakRef(obj)) {
|
|
15449
|
-
return weakCollectionOf("WeakRef");
|
|
15450
|
-
}
|
|
15451
|
-
if (isNumber(obj)) {
|
|
15452
|
-
return markBoxed(inspect(Number(obj)));
|
|
15453
|
-
}
|
|
15454
|
-
if (isBigInt(obj)) {
|
|
15455
|
-
return markBoxed(inspect(bigIntValueOf.call(obj)));
|
|
15456
15027
|
}
|
|
15457
|
-
|
|
15458
|
-
|
|
15028
|
+
};
|
|
15029
|
+
var listGet = function(objects, key) {
|
|
15030
|
+
if (!objects) {
|
|
15031
|
+
return void 0;
|
|
15459
15032
|
}
|
|
15460
|
-
|
|
15461
|
-
|
|
15033
|
+
var node = listGetNode(objects, key);
|
|
15034
|
+
return node && node.value;
|
|
15035
|
+
};
|
|
15036
|
+
var listSet = function(objects, key, value) {
|
|
15037
|
+
var node = listGetNode(objects, key);
|
|
15038
|
+
if (node) {
|
|
15039
|
+
node.value = value;
|
|
15040
|
+
} else {
|
|
15041
|
+
objects.next = /** @type {import('./list.d.ts').ListNode<typeof value, typeof key>} */
|
|
15042
|
+
{
|
|
15043
|
+
// eslint-disable-line no-param-reassign, no-extra-parens
|
|
15044
|
+
key,
|
|
15045
|
+
next: objects.next,
|
|
15046
|
+
value
|
|
15047
|
+
};
|
|
15462
15048
|
}
|
|
15463
|
-
|
|
15464
|
-
|
|
15049
|
+
};
|
|
15050
|
+
var listHas = function(objects, key) {
|
|
15051
|
+
if (!objects) {
|
|
15052
|
+
return false;
|
|
15465
15053
|
}
|
|
15466
|
-
|
|
15467
|
-
|
|
15054
|
+
return !!listGetNode(objects, key);
|
|
15055
|
+
};
|
|
15056
|
+
var listDelete = function(objects, key) {
|
|
15057
|
+
if (objects) {
|
|
15058
|
+
return listGetNode(objects, key, true);
|
|
15468
15059
|
}
|
|
15469
|
-
|
|
15470
|
-
|
|
15471
|
-
|
|
15472
|
-
|
|
15473
|
-
|
|
15474
|
-
|
|
15475
|
-
|
|
15476
|
-
|
|
15477
|
-
|
|
15478
|
-
|
|
15479
|
-
|
|
15480
|
-
|
|
15060
|
+
};
|
|
15061
|
+
module.exports = function getSideChannelList() {
|
|
15062
|
+
var $o;
|
|
15063
|
+
var channel = {
|
|
15064
|
+
assert: function(key) {
|
|
15065
|
+
if (!channel.has(key)) {
|
|
15066
|
+
throw new $TypeError("Side channel does not contain " + inspect(key));
|
|
15067
|
+
}
|
|
15068
|
+
},
|
|
15069
|
+
"delete": function(key) {
|
|
15070
|
+
var root = $o && $o.next;
|
|
15071
|
+
var deletedNode = listDelete($o, key);
|
|
15072
|
+
if (deletedNode && root && root === deletedNode) {
|
|
15073
|
+
$o = void 0;
|
|
15074
|
+
}
|
|
15075
|
+
return !!deletedNode;
|
|
15076
|
+
},
|
|
15077
|
+
get: function(key) {
|
|
15078
|
+
return listGet($o, key);
|
|
15079
|
+
},
|
|
15080
|
+
has: function(key) {
|
|
15081
|
+
return listHas($o, key);
|
|
15082
|
+
},
|
|
15083
|
+
set: function(key, value) {
|
|
15084
|
+
if (!$o) {
|
|
15085
|
+
$o = {
|
|
15086
|
+
next: void 0
|
|
15087
|
+
};
|
|
15088
|
+
}
|
|
15089
|
+
listSet(
|
|
15090
|
+
/** @type {NonNullable<typeof $o>} */
|
|
15091
|
+
$o,
|
|
15092
|
+
key,
|
|
15093
|
+
value
|
|
15094
|
+
);
|
|
15481
15095
|
}
|
|
15482
|
-
|
|
15483
|
-
|
|
15484
|
-
return String(obj);
|
|
15096
|
+
};
|
|
15097
|
+
return channel;
|
|
15485
15098
|
};
|
|
15486
|
-
|
|
15487
|
-
|
|
15488
|
-
|
|
15489
|
-
|
|
15490
|
-
|
|
15491
|
-
|
|
15492
|
-
|
|
15493
|
-
|
|
15494
|
-
|
|
15495
|
-
|
|
15496
|
-
|
|
15497
|
-
|
|
15498
|
-
|
|
15499
|
-
|
|
15500
|
-
|
|
15501
|
-
|
|
15502
|
-
|
|
15503
|
-
|
|
15504
|
-
|
|
15505
|
-
|
|
15506
|
-
|
|
15507
|
-
|
|
15508
|
-
|
|
15509
|
-
|
|
15510
|
-
|
|
15099
|
+
}
|
|
15100
|
+
});
|
|
15101
|
+
|
|
15102
|
+
// node_modules/es-object-atoms/index.js
|
|
15103
|
+
var require_es_object_atoms = __commonJS({
|
|
15104
|
+
"node_modules/es-object-atoms/index.js"(exports, module) {
|
|
15105
|
+
"use strict";
|
|
15106
|
+
module.exports = Object;
|
|
15107
|
+
}
|
|
15108
|
+
});
|
|
15109
|
+
|
|
15110
|
+
// node_modules/es-errors/index.js
|
|
15111
|
+
var require_es_errors = __commonJS({
|
|
15112
|
+
"node_modules/es-errors/index.js"(exports, module) {
|
|
15113
|
+
"use strict";
|
|
15114
|
+
module.exports = Error;
|
|
15115
|
+
}
|
|
15116
|
+
});
|
|
15117
|
+
|
|
15118
|
+
// node_modules/es-errors/eval.js
|
|
15119
|
+
var require_eval = __commonJS({
|
|
15120
|
+
"node_modules/es-errors/eval.js"(exports, module) {
|
|
15121
|
+
"use strict";
|
|
15122
|
+
module.exports = EvalError;
|
|
15123
|
+
}
|
|
15124
|
+
});
|
|
15125
|
+
|
|
15126
|
+
// node_modules/es-errors/range.js
|
|
15127
|
+
var require_range = __commonJS({
|
|
15128
|
+
"node_modules/es-errors/range.js"(exports, module) {
|
|
15129
|
+
"use strict";
|
|
15130
|
+
module.exports = RangeError;
|
|
15131
|
+
}
|
|
15132
|
+
});
|
|
15133
|
+
|
|
15134
|
+
// node_modules/es-errors/ref.js
|
|
15135
|
+
var require_ref = __commonJS({
|
|
15136
|
+
"node_modules/es-errors/ref.js"(exports, module) {
|
|
15137
|
+
"use strict";
|
|
15138
|
+
module.exports = ReferenceError;
|
|
15139
|
+
}
|
|
15140
|
+
});
|
|
15141
|
+
|
|
15142
|
+
// node_modules/es-errors/syntax.js
|
|
15143
|
+
var require_syntax = __commonJS({
|
|
15144
|
+
"node_modules/es-errors/syntax.js"(exports, module) {
|
|
15145
|
+
"use strict";
|
|
15146
|
+
module.exports = SyntaxError;
|
|
15147
|
+
}
|
|
15148
|
+
});
|
|
15149
|
+
|
|
15150
|
+
// node_modules/es-errors/uri.js
|
|
15151
|
+
var require_uri = __commonJS({
|
|
15152
|
+
"node_modules/es-errors/uri.js"(exports, module) {
|
|
15153
|
+
"use strict";
|
|
15154
|
+
module.exports = URIError;
|
|
15155
|
+
}
|
|
15156
|
+
});
|
|
15157
|
+
|
|
15158
|
+
// node_modules/math-intrinsics/abs.js
|
|
15159
|
+
var require_abs = __commonJS({
|
|
15160
|
+
"node_modules/math-intrinsics/abs.js"(exports, module) {
|
|
15161
|
+
"use strict";
|
|
15162
|
+
module.exports = Math.abs;
|
|
15163
|
+
}
|
|
15164
|
+
});
|
|
15165
|
+
|
|
15166
|
+
// node_modules/math-intrinsics/floor.js
|
|
15167
|
+
var require_floor = __commonJS({
|
|
15168
|
+
"node_modules/math-intrinsics/floor.js"(exports, module) {
|
|
15169
|
+
"use strict";
|
|
15170
|
+
module.exports = Math.floor;
|
|
15171
|
+
}
|
|
15172
|
+
});
|
|
15173
|
+
|
|
15174
|
+
// node_modules/math-intrinsics/max.js
|
|
15175
|
+
var require_max = __commonJS({
|
|
15176
|
+
"node_modules/math-intrinsics/max.js"(exports, module) {
|
|
15177
|
+
"use strict";
|
|
15178
|
+
module.exports = Math.max;
|
|
15179
|
+
}
|
|
15180
|
+
});
|
|
15181
|
+
|
|
15182
|
+
// node_modules/math-intrinsics/min.js
|
|
15183
|
+
var require_min = __commonJS({
|
|
15184
|
+
"node_modules/math-intrinsics/min.js"(exports, module) {
|
|
15185
|
+
"use strict";
|
|
15186
|
+
module.exports = Math.min;
|
|
15187
|
+
}
|
|
15188
|
+
});
|
|
15189
|
+
|
|
15190
|
+
// node_modules/math-intrinsics/pow.js
|
|
15191
|
+
var require_pow = __commonJS({
|
|
15192
|
+
"node_modules/math-intrinsics/pow.js"(exports, module) {
|
|
15193
|
+
"use strict";
|
|
15194
|
+
module.exports = Math.pow;
|
|
15195
|
+
}
|
|
15196
|
+
});
|
|
15197
|
+
|
|
15198
|
+
// node_modules/gopd/gOPD.js
|
|
15199
|
+
var require_gOPD = __commonJS({
|
|
15200
|
+
"node_modules/gopd/gOPD.js"(exports, module) {
|
|
15201
|
+
"use strict";
|
|
15202
|
+
module.exports = Object.getOwnPropertyDescriptor;
|
|
15203
|
+
}
|
|
15204
|
+
});
|
|
15205
|
+
|
|
15206
|
+
// node_modules/gopd/index.js
|
|
15207
|
+
var require_gopd = __commonJS({
|
|
15208
|
+
"node_modules/gopd/index.js"(exports, module) {
|
|
15209
|
+
"use strict";
|
|
15210
|
+
var $gOPD = require_gOPD();
|
|
15211
|
+
if ($gOPD) {
|
|
15212
|
+
try {
|
|
15213
|
+
$gOPD([], "length");
|
|
15214
|
+
} catch (e) {
|
|
15215
|
+
$gOPD = null;
|
|
15216
|
+
}
|
|
15511
15217
|
}
|
|
15512
|
-
|
|
15513
|
-
|
|
15218
|
+
module.exports = $gOPD;
|
|
15219
|
+
}
|
|
15220
|
+
});
|
|
15221
|
+
|
|
15222
|
+
// node_modules/es-define-property/index.js
|
|
15223
|
+
var require_es_define_property = __commonJS({
|
|
15224
|
+
"node_modules/es-define-property/index.js"(exports, module) {
|
|
15225
|
+
"use strict";
|
|
15226
|
+
var $defineProperty = Object.defineProperty || false;
|
|
15227
|
+
if ($defineProperty) {
|
|
15228
|
+
try {
|
|
15229
|
+
$defineProperty({}, "a", { value: 1 });
|
|
15230
|
+
} catch (e) {
|
|
15231
|
+
$defineProperty = false;
|
|
15232
|
+
}
|
|
15514
15233
|
}
|
|
15515
|
-
|
|
15516
|
-
|
|
15517
|
-
|
|
15234
|
+
module.exports = $defineProperty;
|
|
15235
|
+
}
|
|
15236
|
+
});
|
|
15237
|
+
|
|
15238
|
+
// node_modules/has-symbols/shams.js
|
|
15239
|
+
var require_shams = __commonJS({
|
|
15240
|
+
"node_modules/has-symbols/shams.js"(exports, module) {
|
|
15241
|
+
"use strict";
|
|
15242
|
+
module.exports = function hasSymbols() {
|
|
15243
|
+
if (typeof Symbol !== "function" || typeof Object.getOwnPropertySymbols !== "function") {
|
|
15244
|
+
return false;
|
|
15518
15245
|
}
|
|
15519
|
-
if (typeof
|
|
15246
|
+
if (typeof Symbol.iterator === "symbol") {
|
|
15520
15247
|
return true;
|
|
15521
15248
|
}
|
|
15522
|
-
|
|
15249
|
+
var obj = {};
|
|
15250
|
+
var sym = Symbol("test");
|
|
15251
|
+
var symObj = Object(sym);
|
|
15252
|
+
if (typeof sym === "string") {
|
|
15523
15253
|
return false;
|
|
15524
15254
|
}
|
|
15525
|
-
|
|
15526
|
-
|
|
15527
|
-
return true;
|
|
15528
|
-
} catch (e) {
|
|
15255
|
+
if (Object.prototype.toString.call(sym) !== "[object Symbol]") {
|
|
15256
|
+
return false;
|
|
15529
15257
|
}
|
|
15530
|
-
|
|
15531
|
-
}
|
|
15532
|
-
function isBigInt(obj) {
|
|
15533
|
-
if (!obj || typeof obj !== "object" || !bigIntValueOf) {
|
|
15258
|
+
if (Object.prototype.toString.call(symObj) !== "[object Symbol]") {
|
|
15534
15259
|
return false;
|
|
15535
15260
|
}
|
|
15536
|
-
|
|
15537
|
-
|
|
15538
|
-
|
|
15539
|
-
|
|
15261
|
+
var symVal = 42;
|
|
15262
|
+
obj[sym] = symVal;
|
|
15263
|
+
for (var _ in obj) {
|
|
15264
|
+
return false;
|
|
15540
15265
|
}
|
|
15541
|
-
|
|
15542
|
-
|
|
15543
|
-
var hasOwn = Object.prototype.hasOwnProperty || function(key) {
|
|
15544
|
-
return key in this;
|
|
15545
|
-
};
|
|
15546
|
-
function has(obj, key) {
|
|
15547
|
-
return hasOwn.call(obj, key);
|
|
15548
|
-
}
|
|
15549
|
-
function toStr(obj) {
|
|
15550
|
-
return objectToString.call(obj);
|
|
15551
|
-
}
|
|
15552
|
-
function nameOf(f) {
|
|
15553
|
-
if (f.name) {
|
|
15554
|
-
return f.name;
|
|
15266
|
+
if (typeof Object.keys === "function" && Object.keys(obj).length !== 0) {
|
|
15267
|
+
return false;
|
|
15555
15268
|
}
|
|
15556
|
-
|
|
15557
|
-
|
|
15558
|
-
return m[1];
|
|
15269
|
+
if (typeof Object.getOwnPropertyNames === "function" && Object.getOwnPropertyNames(obj).length !== 0) {
|
|
15270
|
+
return false;
|
|
15559
15271
|
}
|
|
15560
|
-
|
|
15561
|
-
|
|
15562
|
-
|
|
15563
|
-
if (xs.indexOf) {
|
|
15564
|
-
return xs.indexOf(x);
|
|
15272
|
+
var syms = Object.getOwnPropertySymbols(obj);
|
|
15273
|
+
if (syms.length !== 1 || syms[0] !== sym) {
|
|
15274
|
+
return false;
|
|
15565
15275
|
}
|
|
15566
|
-
|
|
15567
|
-
|
|
15568
|
-
|
|
15276
|
+
if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) {
|
|
15277
|
+
return false;
|
|
15278
|
+
}
|
|
15279
|
+
if (typeof Object.getOwnPropertyDescriptor === "function") {
|
|
15280
|
+
var descriptor = (
|
|
15281
|
+
/** @type {PropertyDescriptor} */
|
|
15282
|
+
Object.getOwnPropertyDescriptor(obj, sym)
|
|
15283
|
+
);
|
|
15284
|
+
if (descriptor.value !== symVal || descriptor.enumerable !== true) {
|
|
15285
|
+
return false;
|
|
15569
15286
|
}
|
|
15570
15287
|
}
|
|
15571
|
-
return
|
|
15572
|
-
}
|
|
15573
|
-
|
|
15574
|
-
|
|
15288
|
+
return true;
|
|
15289
|
+
};
|
|
15290
|
+
}
|
|
15291
|
+
});
|
|
15292
|
+
|
|
15293
|
+
// node_modules/has-symbols/index.js
|
|
15294
|
+
var require_has_symbols = __commonJS({
|
|
15295
|
+
"node_modules/has-symbols/index.js"(exports, module) {
|
|
15296
|
+
"use strict";
|
|
15297
|
+
var origSymbol = typeof Symbol !== "undefined" && Symbol;
|
|
15298
|
+
var hasSymbolSham = require_shams();
|
|
15299
|
+
module.exports = function hasNativeSymbols() {
|
|
15300
|
+
if (typeof origSymbol !== "function") {
|
|
15575
15301
|
return false;
|
|
15576
15302
|
}
|
|
15577
|
-
|
|
15578
|
-
|
|
15579
|
-
try {
|
|
15580
|
-
setSize.call(x);
|
|
15581
|
-
} catch (s) {
|
|
15582
|
-
return true;
|
|
15583
|
-
}
|
|
15584
|
-
return x instanceof Map;
|
|
15585
|
-
} catch (e) {
|
|
15303
|
+
if (typeof Symbol !== "function") {
|
|
15304
|
+
return false;
|
|
15586
15305
|
}
|
|
15587
|
-
|
|
15588
|
-
}
|
|
15589
|
-
function isWeakMap(x) {
|
|
15590
|
-
if (!weakMapHas || !x || typeof x !== "object") {
|
|
15306
|
+
if (typeof origSymbol("foo") !== "symbol") {
|
|
15591
15307
|
return false;
|
|
15592
15308
|
}
|
|
15593
|
-
|
|
15594
|
-
|
|
15595
|
-
|
|
15596
|
-
|
|
15597
|
-
|
|
15598
|
-
|
|
15309
|
+
if (typeof Symbol("bar") !== "symbol") {
|
|
15310
|
+
return false;
|
|
15311
|
+
}
|
|
15312
|
+
return hasSymbolSham();
|
|
15313
|
+
};
|
|
15314
|
+
}
|
|
15315
|
+
});
|
|
15316
|
+
|
|
15317
|
+
// node_modules/function-bind/implementation.js
|
|
15318
|
+
var require_implementation = __commonJS({
|
|
15319
|
+
"node_modules/function-bind/implementation.js"(exports, module) {
|
|
15320
|
+
"use strict";
|
|
15321
|
+
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
15322
|
+
var toStr = Object.prototype.toString;
|
|
15323
|
+
var max = Math.max;
|
|
15324
|
+
var funcType = "[object Function]";
|
|
15325
|
+
var concatty = function concatty2(a, b) {
|
|
15326
|
+
var arr = [];
|
|
15327
|
+
for (var i = 0; i < a.length; i += 1) {
|
|
15328
|
+
arr[i] = a[i];
|
|
15329
|
+
}
|
|
15330
|
+
for (var j = 0; j < b.length; j += 1) {
|
|
15331
|
+
arr[j + a.length] = b[j];
|
|
15332
|
+
}
|
|
15333
|
+
return arr;
|
|
15334
|
+
};
|
|
15335
|
+
var slicy = function slicy2(arrLike, offset) {
|
|
15336
|
+
var arr = [];
|
|
15337
|
+
for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
|
|
15338
|
+
arr[j] = arrLike[i];
|
|
15339
|
+
}
|
|
15340
|
+
return arr;
|
|
15341
|
+
};
|
|
15342
|
+
var joiny = function(arr, joiner) {
|
|
15343
|
+
var str = "";
|
|
15344
|
+
for (var i = 0; i < arr.length; i += 1) {
|
|
15345
|
+
str += arr[i];
|
|
15346
|
+
if (i + 1 < arr.length) {
|
|
15347
|
+
str += joiner;
|
|
15599
15348
|
}
|
|
15600
|
-
return x instanceof WeakMap;
|
|
15601
|
-
} catch (e) {
|
|
15602
15349
|
}
|
|
15603
|
-
return
|
|
15350
|
+
return str;
|
|
15351
|
+
};
|
|
15352
|
+
module.exports = function bind(that) {
|
|
15353
|
+
var target = this;
|
|
15354
|
+
if (typeof target !== "function" || toStr.apply(target) !== funcType) {
|
|
15355
|
+
throw new TypeError(ERROR_MESSAGE + target);
|
|
15356
|
+
}
|
|
15357
|
+
var args = slicy(arguments, 1);
|
|
15358
|
+
var bound;
|
|
15359
|
+
var binder = function() {
|
|
15360
|
+
if (this instanceof bound) {
|
|
15361
|
+
var result = target.apply(
|
|
15362
|
+
this,
|
|
15363
|
+
concatty(args, arguments)
|
|
15364
|
+
);
|
|
15365
|
+
if (Object(result) === result) {
|
|
15366
|
+
return result;
|
|
15367
|
+
}
|
|
15368
|
+
return this;
|
|
15369
|
+
}
|
|
15370
|
+
return target.apply(
|
|
15371
|
+
that,
|
|
15372
|
+
concatty(args, arguments)
|
|
15373
|
+
);
|
|
15374
|
+
};
|
|
15375
|
+
var boundLength = max(0, target.length - args.length);
|
|
15376
|
+
var boundArgs = [];
|
|
15377
|
+
for (var i = 0; i < boundLength; i++) {
|
|
15378
|
+
boundArgs[i] = "$" + i;
|
|
15379
|
+
}
|
|
15380
|
+
bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
15381
|
+
if (target.prototype) {
|
|
15382
|
+
var Empty = function Empty2() {
|
|
15383
|
+
};
|
|
15384
|
+
Empty.prototype = target.prototype;
|
|
15385
|
+
bound.prototype = new Empty();
|
|
15386
|
+
Empty.prototype = null;
|
|
15387
|
+
}
|
|
15388
|
+
return bound;
|
|
15389
|
+
};
|
|
15390
|
+
}
|
|
15391
|
+
});
|
|
15392
|
+
|
|
15393
|
+
// node_modules/function-bind/index.js
|
|
15394
|
+
var require_function_bind = __commonJS({
|
|
15395
|
+
"node_modules/function-bind/index.js"(exports, module) {
|
|
15396
|
+
"use strict";
|
|
15397
|
+
var implementation = require_implementation();
|
|
15398
|
+
module.exports = Function.prototype.bind || implementation;
|
|
15399
|
+
}
|
|
15400
|
+
});
|
|
15401
|
+
|
|
15402
|
+
// node_modules/call-bind-apply-helpers/functionCall.js
|
|
15403
|
+
var require_functionCall = __commonJS({
|
|
15404
|
+
"node_modules/call-bind-apply-helpers/functionCall.js"(exports, module) {
|
|
15405
|
+
"use strict";
|
|
15406
|
+
module.exports = Function.prototype.call;
|
|
15407
|
+
}
|
|
15408
|
+
});
|
|
15409
|
+
|
|
15410
|
+
// node_modules/call-bind-apply-helpers/functionApply.js
|
|
15411
|
+
var require_functionApply = __commonJS({
|
|
15412
|
+
"node_modules/call-bind-apply-helpers/functionApply.js"(exports, module) {
|
|
15413
|
+
"use strict";
|
|
15414
|
+
module.exports = Function.prototype.apply;
|
|
15415
|
+
}
|
|
15416
|
+
});
|
|
15417
|
+
|
|
15418
|
+
// node_modules/call-bind-apply-helpers/reflectApply.js
|
|
15419
|
+
var require_reflectApply = __commonJS({
|
|
15420
|
+
"node_modules/call-bind-apply-helpers/reflectApply.js"(exports, module) {
|
|
15421
|
+
"use strict";
|
|
15422
|
+
module.exports = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
|
|
15423
|
+
}
|
|
15424
|
+
});
|
|
15425
|
+
|
|
15426
|
+
// node_modules/call-bind-apply-helpers/actualApply.js
|
|
15427
|
+
var require_actualApply = __commonJS({
|
|
15428
|
+
"node_modules/call-bind-apply-helpers/actualApply.js"(exports, module) {
|
|
15429
|
+
"use strict";
|
|
15430
|
+
var bind = require_function_bind();
|
|
15431
|
+
var $apply = require_functionApply();
|
|
15432
|
+
var $call = require_functionCall();
|
|
15433
|
+
var $reflectApply = require_reflectApply();
|
|
15434
|
+
module.exports = $reflectApply || bind.call($call, $apply);
|
|
15435
|
+
}
|
|
15436
|
+
});
|
|
15437
|
+
|
|
15438
|
+
// node_modules/call-bind-apply-helpers/index.js
|
|
15439
|
+
var require_call_bind_apply_helpers = __commonJS({
|
|
15440
|
+
"node_modules/call-bind-apply-helpers/index.js"(exports, module) {
|
|
15441
|
+
"use strict";
|
|
15442
|
+
var bind = require_function_bind();
|
|
15443
|
+
var $TypeError = require_type();
|
|
15444
|
+
var $call = require_functionCall();
|
|
15445
|
+
var $actualApply = require_actualApply();
|
|
15446
|
+
module.exports = function callBindBasic(args) {
|
|
15447
|
+
if (args.length < 1 || typeof args[0] !== "function") {
|
|
15448
|
+
throw new $TypeError("a function is required");
|
|
15449
|
+
}
|
|
15450
|
+
return $actualApply(bind, $call, args);
|
|
15451
|
+
};
|
|
15452
|
+
}
|
|
15453
|
+
});
|
|
15454
|
+
|
|
15455
|
+
// node_modules/dunder-proto/get.js
|
|
15456
|
+
var require_get = __commonJS({
|
|
15457
|
+
"node_modules/dunder-proto/get.js"(exports, module) {
|
|
15458
|
+
"use strict";
|
|
15459
|
+
var callBind = require_call_bind_apply_helpers();
|
|
15460
|
+
var gOPD = require_gopd();
|
|
15461
|
+
var hasProtoAccessor;
|
|
15462
|
+
try {
|
|
15463
|
+
hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */
|
|
15464
|
+
[].__proto__ === Array.prototype;
|
|
15465
|
+
} catch (e) {
|
|
15466
|
+
if (!e || typeof e !== "object" || !("code" in e) || e.code !== "ERR_PROTO_ACCESS") {
|
|
15467
|
+
throw e;
|
|
15468
|
+
}
|
|
15604
15469
|
}
|
|
15605
|
-
|
|
15606
|
-
|
|
15607
|
-
|
|
15470
|
+
var desc = !!hasProtoAccessor && gOPD && gOPD(
|
|
15471
|
+
Object.prototype,
|
|
15472
|
+
/** @type {keyof typeof Object.prototype} */
|
|
15473
|
+
"__proto__"
|
|
15474
|
+
);
|
|
15475
|
+
var $Object = Object;
|
|
15476
|
+
var $getPrototypeOf = $Object.getPrototypeOf;
|
|
15477
|
+
module.exports = desc && typeof desc.get === "function" ? callBind([desc.get]) : typeof $getPrototypeOf === "function" ? (
|
|
15478
|
+
/** @type {import('./get')} */
|
|
15479
|
+
function getDunder(value) {
|
|
15480
|
+
return $getPrototypeOf(value == null ? value : $Object(value));
|
|
15608
15481
|
}
|
|
15482
|
+
) : false;
|
|
15483
|
+
}
|
|
15484
|
+
});
|
|
15485
|
+
|
|
15486
|
+
// node_modules/hasown/index.js
|
|
15487
|
+
var require_hasown = __commonJS({
|
|
15488
|
+
"node_modules/hasown/index.js"(exports, module) {
|
|
15489
|
+
"use strict";
|
|
15490
|
+
var call = Function.prototype.call;
|
|
15491
|
+
var $hasOwn = Object.prototype.hasOwnProperty;
|
|
15492
|
+
var bind = require_function_bind();
|
|
15493
|
+
module.exports = bind.call(call, $hasOwn);
|
|
15494
|
+
}
|
|
15495
|
+
});
|
|
15496
|
+
|
|
15497
|
+
// node_modules/get-intrinsic/index.js
|
|
15498
|
+
var require_get_intrinsic = __commonJS({
|
|
15499
|
+
"node_modules/get-intrinsic/index.js"(exports, module) {
|
|
15500
|
+
"use strict";
|
|
15501
|
+
var undefined2;
|
|
15502
|
+
var $Object = require_es_object_atoms();
|
|
15503
|
+
var $Error = require_es_errors();
|
|
15504
|
+
var $EvalError = require_eval();
|
|
15505
|
+
var $RangeError = require_range();
|
|
15506
|
+
var $ReferenceError = require_ref();
|
|
15507
|
+
var $SyntaxError = require_syntax();
|
|
15508
|
+
var $TypeError = require_type();
|
|
15509
|
+
var $URIError = require_uri();
|
|
15510
|
+
var abs = require_abs();
|
|
15511
|
+
var floor = require_floor();
|
|
15512
|
+
var max = require_max();
|
|
15513
|
+
var min = require_min();
|
|
15514
|
+
var pow = require_pow();
|
|
15515
|
+
var $Function = Function;
|
|
15516
|
+
var getEvalledConstructor = function(expressionSyntax) {
|
|
15609
15517
|
try {
|
|
15610
|
-
|
|
15611
|
-
return true;
|
|
15518
|
+
return $Function('"use strict"; return (' + expressionSyntax + ").constructor;")();
|
|
15612
15519
|
} catch (e) {
|
|
15613
15520
|
}
|
|
15614
|
-
|
|
15615
|
-
|
|
15616
|
-
|
|
15617
|
-
|
|
15618
|
-
|
|
15619
|
-
|
|
15521
|
+
};
|
|
15522
|
+
var $gOPD = require_gopd();
|
|
15523
|
+
var $defineProperty = require_es_define_property();
|
|
15524
|
+
var throwTypeError = function() {
|
|
15525
|
+
throw new $TypeError();
|
|
15526
|
+
};
|
|
15527
|
+
var ThrowTypeError = $gOPD ? function() {
|
|
15620
15528
|
try {
|
|
15621
|
-
|
|
15529
|
+
arguments.callee;
|
|
15530
|
+
return throwTypeError;
|
|
15531
|
+
} catch (calleeThrows) {
|
|
15622
15532
|
try {
|
|
15623
|
-
|
|
15624
|
-
} catch (
|
|
15625
|
-
return
|
|
15533
|
+
return $gOPD(arguments, "callee").get;
|
|
15534
|
+
} catch (gOPDthrows) {
|
|
15535
|
+
return throwTypeError;
|
|
15626
15536
|
}
|
|
15627
|
-
return x instanceof Set;
|
|
15628
|
-
} catch (e) {
|
|
15629
|
-
}
|
|
15630
|
-
return false;
|
|
15631
|
-
}
|
|
15632
|
-
function isWeakSet(x) {
|
|
15633
|
-
if (!weakSetHas || !x || typeof x !== "object") {
|
|
15634
|
-
return false;
|
|
15635
15537
|
}
|
|
15538
|
+
}() : throwTypeError;
|
|
15539
|
+
var hasSymbols = require_has_symbols()();
|
|
15540
|
+
var getDunderProto = require_get();
|
|
15541
|
+
var getProto = typeof Reflect === "function" && Reflect.getPrototypeOf || $Object.getPrototypeOf || getDunderProto;
|
|
15542
|
+
var $apply = require_functionApply();
|
|
15543
|
+
var $call = require_functionCall();
|
|
15544
|
+
var needsEval = {};
|
|
15545
|
+
var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined2 : getProto(Uint8Array);
|
|
15546
|
+
var INTRINSICS = {
|
|
15547
|
+
__proto__: null,
|
|
15548
|
+
"%AggregateError%": typeof AggregateError === "undefined" ? undefined2 : AggregateError,
|
|
15549
|
+
"%Array%": Array,
|
|
15550
|
+
"%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined2 : ArrayBuffer,
|
|
15551
|
+
"%ArrayIteratorPrototype%": hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined2,
|
|
15552
|
+
"%AsyncFromSyncIteratorPrototype%": undefined2,
|
|
15553
|
+
"%AsyncFunction%": needsEval,
|
|
15554
|
+
"%AsyncGenerator%": needsEval,
|
|
15555
|
+
"%AsyncGeneratorFunction%": needsEval,
|
|
15556
|
+
"%AsyncIteratorPrototype%": needsEval,
|
|
15557
|
+
"%Atomics%": typeof Atomics === "undefined" ? undefined2 : Atomics,
|
|
15558
|
+
"%BigInt%": typeof BigInt === "undefined" ? undefined2 : BigInt,
|
|
15559
|
+
"%BigInt64Array%": typeof BigInt64Array === "undefined" ? undefined2 : BigInt64Array,
|
|
15560
|
+
"%BigUint64Array%": typeof BigUint64Array === "undefined" ? undefined2 : BigUint64Array,
|
|
15561
|
+
"%Boolean%": Boolean,
|
|
15562
|
+
"%DataView%": typeof DataView === "undefined" ? undefined2 : DataView,
|
|
15563
|
+
"%Date%": Date,
|
|
15564
|
+
"%decodeURI%": decodeURI,
|
|
15565
|
+
"%decodeURIComponent%": decodeURIComponent,
|
|
15566
|
+
"%encodeURI%": encodeURI,
|
|
15567
|
+
"%encodeURIComponent%": encodeURIComponent,
|
|
15568
|
+
"%Error%": $Error,
|
|
15569
|
+
"%eval%": eval,
|
|
15570
|
+
// eslint-disable-line no-eval
|
|
15571
|
+
"%EvalError%": $EvalError,
|
|
15572
|
+
"%Float32Array%": typeof Float32Array === "undefined" ? undefined2 : Float32Array,
|
|
15573
|
+
"%Float64Array%": typeof Float64Array === "undefined" ? undefined2 : Float64Array,
|
|
15574
|
+
"%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined2 : FinalizationRegistry,
|
|
15575
|
+
"%Function%": $Function,
|
|
15576
|
+
"%GeneratorFunction%": needsEval,
|
|
15577
|
+
"%Int8Array%": typeof Int8Array === "undefined" ? undefined2 : Int8Array,
|
|
15578
|
+
"%Int16Array%": typeof Int16Array === "undefined" ? undefined2 : Int16Array,
|
|
15579
|
+
"%Int32Array%": typeof Int32Array === "undefined" ? undefined2 : Int32Array,
|
|
15580
|
+
"%isFinite%": isFinite,
|
|
15581
|
+
"%isNaN%": isNaN,
|
|
15582
|
+
"%IteratorPrototype%": hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined2,
|
|
15583
|
+
"%JSON%": typeof JSON === "object" ? JSON : undefined2,
|
|
15584
|
+
"%Map%": typeof Map === "undefined" ? undefined2 : Map,
|
|
15585
|
+
"%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
15586
|
+
"%Math%": Math,
|
|
15587
|
+
"%Number%": Number,
|
|
15588
|
+
"%Object%": $Object,
|
|
15589
|
+
"%Object.getOwnPropertyDescriptor%": $gOPD,
|
|
15590
|
+
"%parseFloat%": parseFloat,
|
|
15591
|
+
"%parseInt%": parseInt,
|
|
15592
|
+
"%Promise%": typeof Promise === "undefined" ? undefined2 : Promise,
|
|
15593
|
+
"%Proxy%": typeof Proxy === "undefined" ? undefined2 : Proxy,
|
|
15594
|
+
"%RangeError%": $RangeError,
|
|
15595
|
+
"%ReferenceError%": $ReferenceError,
|
|
15596
|
+
"%Reflect%": typeof Reflect === "undefined" ? undefined2 : Reflect,
|
|
15597
|
+
"%RegExp%": RegExp,
|
|
15598
|
+
"%Set%": typeof Set === "undefined" ? undefined2 : Set,
|
|
15599
|
+
"%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
15600
|
+
"%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined2 : SharedArrayBuffer,
|
|
15601
|
+
"%String%": String,
|
|
15602
|
+
"%StringIteratorPrototype%": hasSymbols && getProto ? getProto(""[Symbol.iterator]()) : undefined2,
|
|
15603
|
+
"%Symbol%": hasSymbols ? Symbol : undefined2,
|
|
15604
|
+
"%SyntaxError%": $SyntaxError,
|
|
15605
|
+
"%ThrowTypeError%": ThrowTypeError,
|
|
15606
|
+
"%TypedArray%": TypedArray,
|
|
15607
|
+
"%TypeError%": $TypeError,
|
|
15608
|
+
"%Uint8Array%": typeof Uint8Array === "undefined" ? undefined2 : Uint8Array,
|
|
15609
|
+
"%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined2 : Uint8ClampedArray,
|
|
15610
|
+
"%Uint16Array%": typeof Uint16Array === "undefined" ? undefined2 : Uint16Array,
|
|
15611
|
+
"%Uint32Array%": typeof Uint32Array === "undefined" ? undefined2 : Uint32Array,
|
|
15612
|
+
"%URIError%": $URIError,
|
|
15613
|
+
"%WeakMap%": typeof WeakMap === "undefined" ? undefined2 : WeakMap,
|
|
15614
|
+
"%WeakRef%": typeof WeakRef === "undefined" ? undefined2 : WeakRef,
|
|
15615
|
+
"%WeakSet%": typeof WeakSet === "undefined" ? undefined2 : WeakSet,
|
|
15616
|
+
"%Function.prototype.call%": $call,
|
|
15617
|
+
"%Function.prototype.apply%": $apply,
|
|
15618
|
+
"%Object.defineProperty%": $defineProperty,
|
|
15619
|
+
"%Math.abs%": abs,
|
|
15620
|
+
"%Math.floor%": floor,
|
|
15621
|
+
"%Math.max%": max,
|
|
15622
|
+
"%Math.min%": min,
|
|
15623
|
+
"%Math.pow%": pow
|
|
15624
|
+
};
|
|
15625
|
+
if (getProto) {
|
|
15636
15626
|
try {
|
|
15637
|
-
|
|
15638
|
-
try {
|
|
15639
|
-
weakMapHas.call(x, weakMapHas);
|
|
15640
|
-
} catch (s) {
|
|
15641
|
-
return true;
|
|
15642
|
-
}
|
|
15643
|
-
return x instanceof WeakSet;
|
|
15627
|
+
null.error;
|
|
15644
15628
|
} catch (e) {
|
|
15629
|
+
errorProto = getProto(getProto(e));
|
|
15630
|
+
INTRINSICS["%Error.prototype%"] = errorProto;
|
|
15645
15631
|
}
|
|
15646
|
-
return false;
|
|
15647
15632
|
}
|
|
15648
|
-
|
|
15649
|
-
|
|
15650
|
-
|
|
15651
|
-
|
|
15652
|
-
|
|
15653
|
-
|
|
15633
|
+
var errorProto;
|
|
15634
|
+
var doEval = function doEval2(name) {
|
|
15635
|
+
var value;
|
|
15636
|
+
if (name === "%AsyncFunction%") {
|
|
15637
|
+
value = getEvalledConstructor("async function () {}");
|
|
15638
|
+
} else if (name === "%GeneratorFunction%") {
|
|
15639
|
+
value = getEvalledConstructor("function* () {}");
|
|
15640
|
+
} else if (name === "%AsyncGeneratorFunction%") {
|
|
15641
|
+
value = getEvalledConstructor("async function* () {}");
|
|
15642
|
+
} else if (name === "%AsyncGenerator%") {
|
|
15643
|
+
var fn = doEval2("%AsyncGeneratorFunction%");
|
|
15644
|
+
if (fn) {
|
|
15645
|
+
value = fn.prototype;
|
|
15646
|
+
}
|
|
15647
|
+
} else if (name === "%AsyncIteratorPrototype%") {
|
|
15648
|
+
var gen = doEval2("%AsyncGenerator%");
|
|
15649
|
+
if (gen && getProto) {
|
|
15650
|
+
value = getProto(gen.prototype);
|
|
15651
|
+
}
|
|
15654
15652
|
}
|
|
15655
|
-
|
|
15656
|
-
|
|
15657
|
-
|
|
15658
|
-
|
|
15659
|
-
|
|
15660
|
-
|
|
15661
|
-
|
|
15653
|
+
INTRINSICS[name] = value;
|
|
15654
|
+
return value;
|
|
15655
|
+
};
|
|
15656
|
+
var LEGACY_ALIASES = {
|
|
15657
|
+
__proto__: null,
|
|
15658
|
+
"%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
|
|
15659
|
+
"%ArrayPrototype%": ["Array", "prototype"],
|
|
15660
|
+
"%ArrayProto_entries%": ["Array", "prototype", "entries"],
|
|
15661
|
+
"%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
|
|
15662
|
+
"%ArrayProto_keys%": ["Array", "prototype", "keys"],
|
|
15663
|
+
"%ArrayProto_values%": ["Array", "prototype", "values"],
|
|
15664
|
+
"%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
|
|
15665
|
+
"%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
|
|
15666
|
+
"%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
|
|
15667
|
+
"%BooleanPrototype%": ["Boolean", "prototype"],
|
|
15668
|
+
"%DataViewPrototype%": ["DataView", "prototype"],
|
|
15669
|
+
"%DatePrototype%": ["Date", "prototype"],
|
|
15670
|
+
"%ErrorPrototype%": ["Error", "prototype"],
|
|
15671
|
+
"%EvalErrorPrototype%": ["EvalError", "prototype"],
|
|
15672
|
+
"%Float32ArrayPrototype%": ["Float32Array", "prototype"],
|
|
15673
|
+
"%Float64ArrayPrototype%": ["Float64Array", "prototype"],
|
|
15674
|
+
"%FunctionPrototype%": ["Function", "prototype"],
|
|
15675
|
+
"%Generator%": ["GeneratorFunction", "prototype"],
|
|
15676
|
+
"%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
|
|
15677
|
+
"%Int8ArrayPrototype%": ["Int8Array", "prototype"],
|
|
15678
|
+
"%Int16ArrayPrototype%": ["Int16Array", "prototype"],
|
|
15679
|
+
"%Int32ArrayPrototype%": ["Int32Array", "prototype"],
|
|
15680
|
+
"%JSONParse%": ["JSON", "parse"],
|
|
15681
|
+
"%JSONStringify%": ["JSON", "stringify"],
|
|
15682
|
+
"%MapPrototype%": ["Map", "prototype"],
|
|
15683
|
+
"%NumberPrototype%": ["Number", "prototype"],
|
|
15684
|
+
"%ObjectPrototype%": ["Object", "prototype"],
|
|
15685
|
+
"%ObjProto_toString%": ["Object", "prototype", "toString"],
|
|
15686
|
+
"%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
|
|
15687
|
+
"%PromisePrototype%": ["Promise", "prototype"],
|
|
15688
|
+
"%PromiseProto_then%": ["Promise", "prototype", "then"],
|
|
15689
|
+
"%Promise_all%": ["Promise", "all"],
|
|
15690
|
+
"%Promise_reject%": ["Promise", "reject"],
|
|
15691
|
+
"%Promise_resolve%": ["Promise", "resolve"],
|
|
15692
|
+
"%RangeErrorPrototype%": ["RangeError", "prototype"],
|
|
15693
|
+
"%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
|
|
15694
|
+
"%RegExpPrototype%": ["RegExp", "prototype"],
|
|
15695
|
+
"%SetPrototype%": ["Set", "prototype"],
|
|
15696
|
+
"%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
|
|
15697
|
+
"%StringPrototype%": ["String", "prototype"],
|
|
15698
|
+
"%SymbolPrototype%": ["Symbol", "prototype"],
|
|
15699
|
+
"%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
|
|
15700
|
+
"%TypedArrayPrototype%": ["TypedArray", "prototype"],
|
|
15701
|
+
"%TypeErrorPrototype%": ["TypeError", "prototype"],
|
|
15702
|
+
"%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
|
|
15703
|
+
"%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
|
|
15704
|
+
"%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
|
|
15705
|
+
"%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
|
|
15706
|
+
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
15707
|
+
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
15708
|
+
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
15709
|
+
};
|
|
15710
|
+
var bind = require_function_bind();
|
|
15711
|
+
var hasOwn = require_hasown();
|
|
15712
|
+
var $concat = bind.call($call, Array.prototype.concat);
|
|
15713
|
+
var $spliceApply = bind.call($apply, Array.prototype.splice);
|
|
15714
|
+
var $replace = bind.call($call, String.prototype.replace);
|
|
15715
|
+
var $strSlice = bind.call($call, String.prototype.slice);
|
|
15716
|
+
var $exec = bind.call($call, RegExp.prototype.exec);
|
|
15717
|
+
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
15718
|
+
var reEscapeChar = /\\(\\)?/g;
|
|
15719
|
+
var stringToPath = function stringToPath2(string) {
|
|
15720
|
+
var first = $strSlice(string, 0, 1);
|
|
15721
|
+
var last = $strSlice(string, -1);
|
|
15722
|
+
if (first === "%" && last !== "%") {
|
|
15723
|
+
throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");
|
|
15724
|
+
} else if (last === "%" && first !== "%") {
|
|
15725
|
+
throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");
|
|
15662
15726
|
}
|
|
15663
|
-
var
|
|
15664
|
-
|
|
15665
|
-
|
|
15666
|
-
|
|
15667
|
-
|
|
15668
|
-
|
|
15669
|
-
|
|
15670
|
-
var
|
|
15671
|
-
|
|
15672
|
-
|
|
15673
|
-
|
|
15674
|
-
|
|
15675
|
-
13: "r"
|
|
15676
|
-
}[n];
|
|
15677
|
-
if (x) {
|
|
15678
|
-
return "\\" + x;
|
|
15727
|
+
var result = [];
|
|
15728
|
+
$replace(string, rePropName, function(match, number, quote, subString) {
|
|
15729
|
+
result[result.length] = quote ? $replace(subString, reEscapeChar, "$1") : number || match;
|
|
15730
|
+
});
|
|
15731
|
+
return result;
|
|
15732
|
+
};
|
|
15733
|
+
var getBaseIntrinsic = function getBaseIntrinsic2(name, allowMissing) {
|
|
15734
|
+
var intrinsicName = name;
|
|
15735
|
+
var alias;
|
|
15736
|
+
if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
|
|
15737
|
+
alias = LEGACY_ALIASES[intrinsicName];
|
|
15738
|
+
intrinsicName = "%" + alias[0] + "%";
|
|
15679
15739
|
}
|
|
15680
|
-
|
|
15681
|
-
|
|
15682
|
-
|
|
15683
|
-
|
|
15684
|
-
}
|
|
15685
|
-
function weakCollectionOf(type) {
|
|
15686
|
-
return type + " { ? }";
|
|
15687
|
-
}
|
|
15688
|
-
function collectionOf(type, size, entries, indent) {
|
|
15689
|
-
var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ", ");
|
|
15690
|
-
return type + " (" + size + ") {" + joinedEntries + "}";
|
|
15691
|
-
}
|
|
15692
|
-
function singleLineValues(xs) {
|
|
15693
|
-
for (var i = 0; i < xs.length; i++) {
|
|
15694
|
-
if (indexOf(xs[i], "\n") >= 0) {
|
|
15695
|
-
return false;
|
|
15740
|
+
if (hasOwn(INTRINSICS, intrinsicName)) {
|
|
15741
|
+
var value = INTRINSICS[intrinsicName];
|
|
15742
|
+
if (value === needsEval) {
|
|
15743
|
+
value = doEval(intrinsicName);
|
|
15696
15744
|
}
|
|
15745
|
+
if (typeof value === "undefined" && !allowMissing) {
|
|
15746
|
+
throw new $TypeError("intrinsic " + name + " exists, but is not available. Please file an issue!");
|
|
15747
|
+
}
|
|
15748
|
+
return {
|
|
15749
|
+
alias,
|
|
15750
|
+
name: intrinsicName,
|
|
15751
|
+
value
|
|
15752
|
+
};
|
|
15697
15753
|
}
|
|
15698
|
-
|
|
15699
|
-
}
|
|
15700
|
-
function
|
|
15701
|
-
|
|
15702
|
-
|
|
15703
|
-
baseIndent = " ";
|
|
15704
|
-
} else if (typeof opts.indent === "number" && opts.indent > 0) {
|
|
15705
|
-
baseIndent = $join.call(Array(opts.indent + 1), " ");
|
|
15706
|
-
} else {
|
|
15707
|
-
return null;
|
|
15754
|
+
throw new $SyntaxError("intrinsic " + name + " does not exist!");
|
|
15755
|
+
};
|
|
15756
|
+
module.exports = function GetIntrinsic(name, allowMissing) {
|
|
15757
|
+
if (typeof name !== "string" || name.length === 0) {
|
|
15758
|
+
throw new $TypeError("intrinsic name must be a non-empty string");
|
|
15708
15759
|
}
|
|
15709
|
-
|
|
15710
|
-
|
|
15711
|
-
prev: $join.call(Array(depth + 1), baseIndent)
|
|
15712
|
-
};
|
|
15713
|
-
}
|
|
15714
|
-
function indentedJoin(xs, indent) {
|
|
15715
|
-
if (xs.length === 0) {
|
|
15716
|
-
return "";
|
|
15760
|
+
if (arguments.length > 1 && typeof allowMissing !== "boolean") {
|
|
15761
|
+
throw new $TypeError('"allowMissing" argument must be a boolean');
|
|
15717
15762
|
}
|
|
15718
|
-
|
|
15719
|
-
|
|
15720
|
-
}
|
|
15721
|
-
function arrObjKeys(obj, inspect) {
|
|
15722
|
-
var isArr = isArray(obj);
|
|
15723
|
-
var xs = [];
|
|
15724
|
-
if (isArr) {
|
|
15725
|
-
xs.length = obj.length;
|
|
15726
|
-
for (var i = 0; i < obj.length; i++) {
|
|
15727
|
-
xs[i] = has(obj, i) ? inspect(obj[i], obj) : "";
|
|
15728
|
-
}
|
|
15763
|
+
if ($exec(/^%?[^%]*%?$/, name) === null) {
|
|
15764
|
+
throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
15729
15765
|
}
|
|
15730
|
-
var
|
|
15731
|
-
var
|
|
15732
|
-
|
|
15733
|
-
|
|
15734
|
-
|
|
15735
|
-
|
|
15736
|
-
|
|
15766
|
+
var parts = stringToPath(name);
|
|
15767
|
+
var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
|
|
15768
|
+
var intrinsic = getBaseIntrinsic("%" + intrinsicBaseName + "%", allowMissing);
|
|
15769
|
+
var intrinsicRealName = intrinsic.name;
|
|
15770
|
+
var value = intrinsic.value;
|
|
15771
|
+
var skipFurtherCaching = false;
|
|
15772
|
+
var alias = intrinsic.alias;
|
|
15773
|
+
if (alias) {
|
|
15774
|
+
intrinsicBaseName = alias[0];
|
|
15775
|
+
$spliceApply(parts, $concat([0, 1], alias));
|
|
15737
15776
|
}
|
|
15738
|
-
for (var
|
|
15739
|
-
|
|
15740
|
-
|
|
15741
|
-
|
|
15742
|
-
if (
|
|
15743
|
-
|
|
15777
|
+
for (var i = 1, isOwn = true; i < parts.length; i += 1) {
|
|
15778
|
+
var part = parts[i];
|
|
15779
|
+
var first = $strSlice(part, 0, 1);
|
|
15780
|
+
var last = $strSlice(part, -1);
|
|
15781
|
+
if ((first === '"' || first === "'" || first === "`" || (last === '"' || last === "'" || last === "`")) && first !== last) {
|
|
15782
|
+
throw new $SyntaxError("property names with quotes must have matching quotes");
|
|
15744
15783
|
}
|
|
15745
|
-
if (
|
|
15746
|
-
|
|
15747
|
-
} else if ($test.call(/[^\w$]/, key)) {
|
|
15748
|
-
xs.push(inspect(key, obj) + ": " + inspect(obj[key], obj));
|
|
15749
|
-
} else {
|
|
15750
|
-
xs.push(key + ": " + inspect(obj[key], obj));
|
|
15784
|
+
if (part === "constructor" || !isOwn) {
|
|
15785
|
+
skipFurtherCaching = true;
|
|
15751
15786
|
}
|
|
15752
|
-
|
|
15753
|
-
|
|
15754
|
-
|
|
15755
|
-
|
|
15756
|
-
|
|
15787
|
+
intrinsicBaseName += "." + part;
|
|
15788
|
+
intrinsicRealName = "%" + intrinsicBaseName + "%";
|
|
15789
|
+
if (hasOwn(INTRINSICS, intrinsicRealName)) {
|
|
15790
|
+
value = INTRINSICS[intrinsicRealName];
|
|
15791
|
+
} else if (value != null) {
|
|
15792
|
+
if (!(part in value)) {
|
|
15793
|
+
if (!allowMissing) {
|
|
15794
|
+
throw new $TypeError("base intrinsic for " + name + " exists, but the property is not available.");
|
|
15795
|
+
}
|
|
15796
|
+
return void 0;
|
|
15797
|
+
}
|
|
15798
|
+
if ($gOPD && i + 1 >= parts.length) {
|
|
15799
|
+
var desc = $gOPD(value, part);
|
|
15800
|
+
isOwn = !!desc;
|
|
15801
|
+
if (isOwn && "get" in desc && !("originalValue" in desc.get)) {
|
|
15802
|
+
value = desc.get;
|
|
15803
|
+
} else {
|
|
15804
|
+
value = value[part];
|
|
15805
|
+
}
|
|
15806
|
+
} else {
|
|
15807
|
+
isOwn = hasOwn(value, part);
|
|
15808
|
+
value = value[part];
|
|
15809
|
+
}
|
|
15810
|
+
if (isOwn && !skipFurtherCaching) {
|
|
15811
|
+
INTRINSICS[intrinsicRealName] = value;
|
|
15757
15812
|
}
|
|
15758
15813
|
}
|
|
15759
15814
|
}
|
|
15760
|
-
return
|
|
15761
|
-
}
|
|
15815
|
+
return value;
|
|
15816
|
+
};
|
|
15762
15817
|
}
|
|
15763
15818
|
});
|
|
15764
15819
|
|
|
15765
|
-
// node_modules/
|
|
15766
|
-
var
|
|
15767
|
-
"node_modules/
|
|
15820
|
+
// node_modules/call-bound/index.js
|
|
15821
|
+
var require_call_bound = __commonJS({
|
|
15822
|
+
"node_modules/call-bound/index.js"(exports, module) {
|
|
15823
|
+
"use strict";
|
|
15824
|
+
var GetIntrinsic = require_get_intrinsic();
|
|
15825
|
+
var callBindBasic = require_call_bind_apply_helpers();
|
|
15826
|
+
var $indexOf = callBindBasic([GetIntrinsic("%String.prototype.indexOf%")]);
|
|
15827
|
+
module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
15828
|
+
var intrinsic = (
|
|
15829
|
+
/** @type {Parameters<typeof callBindBasic>[0][0]} */
|
|
15830
|
+
GetIntrinsic(name, !!allowMissing)
|
|
15831
|
+
);
|
|
15832
|
+
if (typeof intrinsic === "function" && $indexOf(name, ".prototype.") > -1) {
|
|
15833
|
+
return callBindBasic([intrinsic]);
|
|
15834
|
+
}
|
|
15835
|
+
return intrinsic;
|
|
15836
|
+
};
|
|
15837
|
+
}
|
|
15838
|
+
});
|
|
15839
|
+
|
|
15840
|
+
// node_modules/side-channel-map/index.js
|
|
15841
|
+
var require_side_channel_map = __commonJS({
|
|
15842
|
+
"node_modules/side-channel-map/index.js"(exports, module) {
|
|
15768
15843
|
"use strict";
|
|
15769
15844
|
var GetIntrinsic = require_get_intrinsic();
|
|
15770
|
-
var callBound =
|
|
15845
|
+
var callBound = require_call_bound();
|
|
15771
15846
|
var inspect = require_object_inspect();
|
|
15772
15847
|
var $TypeError = require_type();
|
|
15773
|
-
var $WeakMap = GetIntrinsic("%WeakMap%", true);
|
|
15774
15848
|
var $Map = GetIntrinsic("%Map%", true);
|
|
15775
|
-
var $weakMapGet = callBound("WeakMap.prototype.get", true);
|
|
15776
|
-
var $weakMapSet = callBound("WeakMap.prototype.set", true);
|
|
15777
|
-
var $weakMapHas = callBound("WeakMap.prototype.has", true);
|
|
15778
15849
|
var $mapGet = callBound("Map.prototype.get", true);
|
|
15779
15850
|
var $mapSet = callBound("Map.prototype.set", true);
|
|
15780
15851
|
var $mapHas = callBound("Map.prototype.has", true);
|
|
15781
|
-
var
|
|
15782
|
-
|
|
15783
|
-
|
|
15784
|
-
|
|
15785
|
-
if (curr.key === key) {
|
|
15786
|
-
prev.next = curr.next;
|
|
15787
|
-
curr.next = /** @type {NonNullable<typeof list.next>} */
|
|
15788
|
-
list.next;
|
|
15789
|
-
list.next = curr;
|
|
15790
|
-
return curr;
|
|
15791
|
-
}
|
|
15792
|
-
}
|
|
15793
|
-
};
|
|
15794
|
-
var listGet = function(objects, key) {
|
|
15795
|
-
var node = listGetNode(objects, key);
|
|
15796
|
-
return node && node.value;
|
|
15797
|
-
};
|
|
15798
|
-
var listSet = function(objects, key, value) {
|
|
15799
|
-
var node = listGetNode(objects, key);
|
|
15800
|
-
if (node) {
|
|
15801
|
-
node.value = value;
|
|
15802
|
-
} else {
|
|
15803
|
-
objects.next = /** @type {import('.').ListNode<typeof value>} */
|
|
15804
|
-
{
|
|
15805
|
-
// eslint-disable-line no-param-reassign, no-extra-parens
|
|
15806
|
-
key,
|
|
15807
|
-
next: objects.next,
|
|
15808
|
-
value
|
|
15809
|
-
};
|
|
15810
|
-
}
|
|
15811
|
-
};
|
|
15812
|
-
var listHas = function(objects, key) {
|
|
15813
|
-
return !!listGetNode(objects, key);
|
|
15814
|
-
};
|
|
15815
|
-
module.exports = function getSideChannel() {
|
|
15816
|
-
var $wm;
|
|
15852
|
+
var $mapDelete = callBound("Map.prototype.delete", true);
|
|
15853
|
+
var $mapSize = callBound("Map.prototype.size", true);
|
|
15854
|
+
module.exports = !!$Map && /** @type {Exclude<import('.'), false>} */
|
|
15855
|
+
function getSideChannelMap() {
|
|
15817
15856
|
var $m;
|
|
15818
|
-
var $o;
|
|
15819
15857
|
var channel = {
|
|
15820
15858
|
assert: function(key) {
|
|
15821
15859
|
if (!channel.has(key)) {
|
|
15822
15860
|
throw new $TypeError("Side channel does not contain " + inspect(key));
|
|
15823
15861
|
}
|
|
15824
15862
|
},
|
|
15825
|
-
|
|
15826
|
-
if ($
|
|
15827
|
-
|
|
15828
|
-
|
|
15829
|
-
|
|
15830
|
-
} else if ($Map) {
|
|
15831
|
-
if ($m) {
|
|
15832
|
-
return $mapGet($m, key);
|
|
15833
|
-
}
|
|
15834
|
-
} else {
|
|
15835
|
-
if ($o) {
|
|
15836
|
-
return listGet($o, key);
|
|
15863
|
+
"delete": function(key) {
|
|
15864
|
+
if ($m) {
|
|
15865
|
+
var result = $mapDelete($m, key);
|
|
15866
|
+
if ($mapSize($m) === 0) {
|
|
15867
|
+
$m = void 0;
|
|
15837
15868
|
}
|
|
15869
|
+
return result;
|
|
15870
|
+
}
|
|
15871
|
+
return false;
|
|
15872
|
+
},
|
|
15873
|
+
get: function(key) {
|
|
15874
|
+
if ($m) {
|
|
15875
|
+
return $mapGet($m, key);
|
|
15838
15876
|
}
|
|
15839
15877
|
},
|
|
15840
15878
|
has: function(key) {
|
|
15841
|
-
if ($
|
|
15842
|
-
|
|
15843
|
-
return $weakMapHas($wm, key);
|
|
15844
|
-
}
|
|
15845
|
-
} else if ($Map) {
|
|
15846
|
-
if ($m) {
|
|
15847
|
-
return $mapHas($m, key);
|
|
15848
|
-
}
|
|
15849
|
-
} else {
|
|
15850
|
-
if ($o) {
|
|
15851
|
-
return listHas($o, key);
|
|
15852
|
-
}
|
|
15879
|
+
if ($m) {
|
|
15880
|
+
return $mapHas($m, key);
|
|
15853
15881
|
}
|
|
15854
15882
|
return false;
|
|
15855
15883
|
},
|
|
15856
15884
|
set: function(key, value) {
|
|
15857
|
-
if (
|
|
15858
|
-
|
|
15859
|
-
|
|
15885
|
+
if (!$m) {
|
|
15886
|
+
$m = new $Map();
|
|
15887
|
+
}
|
|
15888
|
+
$mapSet($m, key, value);
|
|
15889
|
+
}
|
|
15890
|
+
};
|
|
15891
|
+
return channel;
|
|
15892
|
+
};
|
|
15893
|
+
}
|
|
15894
|
+
});
|
|
15895
|
+
|
|
15896
|
+
// node_modules/side-channel-weakmap/index.js
|
|
15897
|
+
var require_side_channel_weakmap = __commonJS({
|
|
15898
|
+
"node_modules/side-channel-weakmap/index.js"(exports, module) {
|
|
15899
|
+
"use strict";
|
|
15900
|
+
var GetIntrinsic = require_get_intrinsic();
|
|
15901
|
+
var callBound = require_call_bound();
|
|
15902
|
+
var inspect = require_object_inspect();
|
|
15903
|
+
var getSideChannelMap = require_side_channel_map();
|
|
15904
|
+
var $TypeError = require_type();
|
|
15905
|
+
var $WeakMap = GetIntrinsic("%WeakMap%", true);
|
|
15906
|
+
var $weakMapGet = callBound("WeakMap.prototype.get", true);
|
|
15907
|
+
var $weakMapSet = callBound("WeakMap.prototype.set", true);
|
|
15908
|
+
var $weakMapHas = callBound("WeakMap.prototype.has", true);
|
|
15909
|
+
var $weakMapDelete = callBound("WeakMap.prototype.delete", true);
|
|
15910
|
+
module.exports = $WeakMap ? (
|
|
15911
|
+
/** @type {Exclude<import('.'), false>} */
|
|
15912
|
+
function getSideChannelWeakMap() {
|
|
15913
|
+
var $wm;
|
|
15914
|
+
var $m;
|
|
15915
|
+
var channel = {
|
|
15916
|
+
assert: function(key) {
|
|
15917
|
+
if (!channel.has(key)) {
|
|
15918
|
+
throw new $TypeError("Side channel does not contain " + inspect(key));
|
|
15919
|
+
}
|
|
15920
|
+
},
|
|
15921
|
+
"delete": function(key) {
|
|
15922
|
+
if ($WeakMap && key && (typeof key === "object" || typeof key === "function")) {
|
|
15923
|
+
if ($wm) {
|
|
15924
|
+
return $weakMapDelete($wm, key);
|
|
15925
|
+
}
|
|
15926
|
+
} else if (getSideChannelMap) {
|
|
15927
|
+
if ($m) {
|
|
15928
|
+
return $m["delete"](key);
|
|
15929
|
+
}
|
|
15860
15930
|
}
|
|
15861
|
-
|
|
15862
|
-
}
|
|
15863
|
-
|
|
15864
|
-
|
|
15931
|
+
return false;
|
|
15932
|
+
},
|
|
15933
|
+
get: function(key) {
|
|
15934
|
+
if ($WeakMap && key && (typeof key === "object" || typeof key === "function")) {
|
|
15935
|
+
if ($wm) {
|
|
15936
|
+
return $weakMapGet($wm, key);
|
|
15937
|
+
}
|
|
15865
15938
|
}
|
|
15866
|
-
$
|
|
15867
|
-
}
|
|
15868
|
-
|
|
15869
|
-
|
|
15939
|
+
return $m && $m.get(key);
|
|
15940
|
+
},
|
|
15941
|
+
has: function(key) {
|
|
15942
|
+
if ($WeakMap && key && (typeof key === "object" || typeof key === "function")) {
|
|
15943
|
+
if ($wm) {
|
|
15944
|
+
return $weakMapHas($wm, key);
|
|
15945
|
+
}
|
|
15946
|
+
}
|
|
15947
|
+
return !!$m && $m.has(key);
|
|
15948
|
+
},
|
|
15949
|
+
set: function(key, value) {
|
|
15950
|
+
if ($WeakMap && key && (typeof key === "object" || typeof key === "function")) {
|
|
15951
|
+
if (!$wm) {
|
|
15952
|
+
$wm = new $WeakMap();
|
|
15953
|
+
}
|
|
15954
|
+
$weakMapSet($wm, key, value);
|
|
15955
|
+
} else if (getSideChannelMap) {
|
|
15956
|
+
if (!$m) {
|
|
15957
|
+
$m = getSideChannelMap();
|
|
15958
|
+
}
|
|
15959
|
+
$m.set(key, value);
|
|
15870
15960
|
}
|
|
15871
|
-
listSet($o, key, value);
|
|
15872
15961
|
}
|
|
15962
|
+
};
|
|
15963
|
+
return channel;
|
|
15964
|
+
}
|
|
15965
|
+
) : getSideChannelMap;
|
|
15966
|
+
}
|
|
15967
|
+
});
|
|
15968
|
+
|
|
15969
|
+
// node_modules/side-channel/index.js
|
|
15970
|
+
var require_side_channel = __commonJS({
|
|
15971
|
+
"node_modules/side-channel/index.js"(exports, module) {
|
|
15972
|
+
"use strict";
|
|
15973
|
+
var $TypeError = require_type();
|
|
15974
|
+
var inspect = require_object_inspect();
|
|
15975
|
+
var getSideChannelList = require_side_channel_list();
|
|
15976
|
+
var getSideChannelMap = require_side_channel_map();
|
|
15977
|
+
var getSideChannelWeakMap = require_side_channel_weakmap();
|
|
15978
|
+
var makeChannel = getSideChannelWeakMap || getSideChannelMap || getSideChannelList;
|
|
15979
|
+
module.exports = function getSideChannel() {
|
|
15980
|
+
var $channelData;
|
|
15981
|
+
var channel = {
|
|
15982
|
+
assert: function(key) {
|
|
15983
|
+
if (!channel.has(key)) {
|
|
15984
|
+
throw new $TypeError("Side channel does not contain " + inspect(key));
|
|
15985
|
+
}
|
|
15986
|
+
},
|
|
15987
|
+
"delete": function(key) {
|
|
15988
|
+
return !!$channelData && $channelData["delete"](key);
|
|
15989
|
+
},
|
|
15990
|
+
get: function(key) {
|
|
15991
|
+
return $channelData && $channelData.get(key);
|
|
15992
|
+
},
|
|
15993
|
+
has: function(key) {
|
|
15994
|
+
return !!$channelData && $channelData.has(key);
|
|
15995
|
+
},
|
|
15996
|
+
set: function(key, value) {
|
|
15997
|
+
if (!$channelData) {
|
|
15998
|
+
$channelData = makeChannel();
|
|
15999
|
+
}
|
|
16000
|
+
$channelData.set(key, value);
|
|
15873
16001
|
}
|
|
15874
16002
|
};
|
|
15875
16003
|
return channel;
|
|
@@ -18136,20 +18264,29 @@ var require_path_to_regexp = __commonJS({
|
|
|
18136
18264
|
});
|
|
18137
18265
|
return new RegExp(path.join("|"), flags);
|
|
18138
18266
|
}
|
|
18267
|
+
if (typeof path !== "string") {
|
|
18268
|
+
throw new TypeError("path must be a string, array of strings, or regular expression");
|
|
18269
|
+
}
|
|
18139
18270
|
path = path.replace(
|
|
18140
18271
|
/\\.|(\/)?(\.)?:(\w+)(\(.*?\))?(\*)?(\?)?|[.*]|\/\(/g,
|
|
18141
18272
|
function(match, slash, format, key, capture, star, optional, offset) {
|
|
18142
|
-
pos = offset + match.length;
|
|
18143
18273
|
if (match[0] === "\\") {
|
|
18144
18274
|
backtrack += match;
|
|
18275
|
+
pos += 2;
|
|
18145
18276
|
return match;
|
|
18146
18277
|
}
|
|
18147
18278
|
if (match === ".") {
|
|
18148
18279
|
backtrack += "\\.";
|
|
18149
18280
|
extraOffset += 1;
|
|
18281
|
+
pos += 1;
|
|
18150
18282
|
return "\\.";
|
|
18151
18283
|
}
|
|
18152
|
-
|
|
18284
|
+
if (slash || format) {
|
|
18285
|
+
backtrack = "";
|
|
18286
|
+
} else {
|
|
18287
|
+
backtrack += path.slice(pos, offset);
|
|
18288
|
+
}
|
|
18289
|
+
pos = offset + match.length;
|
|
18153
18290
|
if (match === "*") {
|
|
18154
18291
|
extraOffset += 3;
|
|
18155
18292
|
return "(.*)";
|
|
@@ -23554,7 +23691,12 @@ function serve(routeFunction, options) {
|
|
|
23554
23691
|
body: requestBody
|
|
23555
23692
|
});
|
|
23556
23693
|
const { handler: serveHandler } = serveBase(
|
|
23557
|
-
|
|
23694
|
+
routeFunction,
|
|
23695
|
+
{
|
|
23696
|
+
sdk: SDK_TELEMETRY,
|
|
23697
|
+
framework: "express",
|
|
23698
|
+
runtime: process.versions.bun ? `bun@${process.versions.bun}/node@${process.version}` : `node@${process.version}`
|
|
23699
|
+
},
|
|
23558
23700
|
{
|
|
23559
23701
|
...options,
|
|
23560
23702
|
useJSONContent: true
|