@xwiki/cristal-realtime 0.14.0 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/index.js +1446 -1371
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -18303,54 +18303,6 @@ var require_text = __commonJS({
|
|
|
18303
18303
|
}
|
|
18304
18304
|
});
|
|
18305
18305
|
|
|
18306
|
-
// ../node_modules/.pnpm/es-object-atoms@1.0.0/node_modules/es-object-atoms/index.js
|
|
18307
|
-
var require_es_object_atoms = __commonJS({
|
|
18308
|
-
"../node_modules/.pnpm/es-object-atoms@1.0.0/node_modules/es-object-atoms/index.js"(exports3, module3) {
|
|
18309
|
-
"use strict";
|
|
18310
|
-
module3.exports = Object;
|
|
18311
|
-
}
|
|
18312
|
-
});
|
|
18313
|
-
|
|
18314
|
-
// ../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js
|
|
18315
|
-
var require_es_errors = __commonJS({
|
|
18316
|
-
"../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js"(exports3, module3) {
|
|
18317
|
-
"use strict";
|
|
18318
|
-
module3.exports = Error;
|
|
18319
|
-
}
|
|
18320
|
-
});
|
|
18321
|
-
|
|
18322
|
-
// ../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js
|
|
18323
|
-
var require_eval = __commonJS({
|
|
18324
|
-
"../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js"(exports3, module3) {
|
|
18325
|
-
"use strict";
|
|
18326
|
-
module3.exports = EvalError;
|
|
18327
|
-
}
|
|
18328
|
-
});
|
|
18329
|
-
|
|
18330
|
-
// ../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js
|
|
18331
|
-
var require_range = __commonJS({
|
|
18332
|
-
"../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js"(exports3, module3) {
|
|
18333
|
-
"use strict";
|
|
18334
|
-
module3.exports = RangeError;
|
|
18335
|
-
}
|
|
18336
|
-
});
|
|
18337
|
-
|
|
18338
|
-
// ../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js
|
|
18339
|
-
var require_ref = __commonJS({
|
|
18340
|
-
"../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js"(exports3, module3) {
|
|
18341
|
-
"use strict";
|
|
18342
|
-
module3.exports = ReferenceError;
|
|
18343
|
-
}
|
|
18344
|
-
});
|
|
18345
|
-
|
|
18346
|
-
// ../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js
|
|
18347
|
-
var require_syntax = __commonJS({
|
|
18348
|
-
"../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js"(exports3, module3) {
|
|
18349
|
-
"use strict";
|
|
18350
|
-
module3.exports = SyntaxError;
|
|
18351
|
-
}
|
|
18352
|
-
});
|
|
18353
|
-
|
|
18354
18306
|
// ../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js
|
|
18355
18307
|
var require_type = __commonJS({
|
|
18356
18308
|
"../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js"(exports3, module3) {
|
|
@@ -18359,1492 +18311,1610 @@ var require_type = __commonJS({
|
|
|
18359
18311
|
}
|
|
18360
18312
|
});
|
|
18361
18313
|
|
|
18362
|
-
// ../node_modules/.pnpm/
|
|
18363
|
-
var
|
|
18364
|
-
"../node_modules/.pnpm/
|
|
18365
|
-
|
|
18366
|
-
module3.exports = URIError;
|
|
18367
|
-
}
|
|
18368
|
-
});
|
|
18369
|
-
|
|
18370
|
-
// ../node_modules/.pnpm/math-intrinsics@1.0.0/node_modules/math-intrinsics/abs.js
|
|
18371
|
-
var require_abs = __commonJS({
|
|
18372
|
-
"../node_modules/.pnpm/math-intrinsics@1.0.0/node_modules/math-intrinsics/abs.js"(exports3, module3) {
|
|
18373
|
-
"use strict";
|
|
18374
|
-
module3.exports = Math.abs;
|
|
18375
|
-
}
|
|
18376
|
-
});
|
|
18377
|
-
|
|
18378
|
-
// ../node_modules/.pnpm/math-intrinsics@1.0.0/node_modules/math-intrinsics/floor.js
|
|
18379
|
-
var require_floor = __commonJS({
|
|
18380
|
-
"../node_modules/.pnpm/math-intrinsics@1.0.0/node_modules/math-intrinsics/floor.js"(exports3, module3) {
|
|
18381
|
-
"use strict";
|
|
18382
|
-
module3.exports = Math.floor;
|
|
18383
|
-
}
|
|
18384
|
-
});
|
|
18385
|
-
|
|
18386
|
-
// ../node_modules/.pnpm/math-intrinsics@1.0.0/node_modules/math-intrinsics/max.js
|
|
18387
|
-
var require_max = __commonJS({
|
|
18388
|
-
"../node_modules/.pnpm/math-intrinsics@1.0.0/node_modules/math-intrinsics/max.js"(exports3, module3) {
|
|
18389
|
-
"use strict";
|
|
18390
|
-
module3.exports = Math.max;
|
|
18391
|
-
}
|
|
18392
|
-
});
|
|
18393
|
-
|
|
18394
|
-
// ../node_modules/.pnpm/math-intrinsics@1.0.0/node_modules/math-intrinsics/min.js
|
|
18395
|
-
var require_min = __commonJS({
|
|
18396
|
-
"../node_modules/.pnpm/math-intrinsics@1.0.0/node_modules/math-intrinsics/min.js"(exports3, module3) {
|
|
18397
|
-
"use strict";
|
|
18398
|
-
module3.exports = Math.min;
|
|
18399
|
-
}
|
|
18400
|
-
});
|
|
18401
|
-
|
|
18402
|
-
// ../node_modules/.pnpm/math-intrinsics@1.0.0/node_modules/math-intrinsics/pow.js
|
|
18403
|
-
var require_pow = __commonJS({
|
|
18404
|
-
"../node_modules/.pnpm/math-intrinsics@1.0.0/node_modules/math-intrinsics/pow.js"(exports3, module3) {
|
|
18405
|
-
"use strict";
|
|
18406
|
-
module3.exports = Math.pow;
|
|
18407
|
-
}
|
|
18408
|
-
});
|
|
18409
|
-
|
|
18410
|
-
// ../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js
|
|
18411
|
-
var require_gOPD = __commonJS({
|
|
18412
|
-
"../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js"(exports3, module3) {
|
|
18413
|
-
"use strict";
|
|
18414
|
-
module3.exports = Object.getOwnPropertyDescriptor;
|
|
18314
|
+
// ../node_modules/.pnpm/object-inspect@1.13.3/node_modules/object-inspect/util.inspect.js
|
|
18315
|
+
var require_util_inspect = __commonJS({
|
|
18316
|
+
"../node_modules/.pnpm/object-inspect@1.13.3/node_modules/object-inspect/util.inspect.js"(exports3, module3) {
|
|
18317
|
+
module3.exports = require("util").inspect;
|
|
18415
18318
|
}
|
|
18416
18319
|
});
|
|
18417
18320
|
|
|
18418
|
-
// ../node_modules/.pnpm/
|
|
18419
|
-
var
|
|
18420
|
-
"../node_modules/.pnpm/
|
|
18421
|
-
"
|
|
18422
|
-
var
|
|
18423
|
-
|
|
18424
|
-
|
|
18425
|
-
|
|
18426
|
-
|
|
18427
|
-
|
|
18321
|
+
// ../node_modules/.pnpm/object-inspect@1.13.3/node_modules/object-inspect/index.js
|
|
18322
|
+
var require_object_inspect = __commonJS({
|
|
18323
|
+
"../node_modules/.pnpm/object-inspect@1.13.3/node_modules/object-inspect/index.js"(exports3, module3) {
|
|
18324
|
+
var hasMap = typeof Map === "function" && Map.prototype;
|
|
18325
|
+
var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null;
|
|
18326
|
+
var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === "function" ? mapSizeDescriptor.get : null;
|
|
18327
|
+
var mapForEach = hasMap && Map.prototype.forEach;
|
|
18328
|
+
var hasSet = typeof Set === "function" && Set.prototype;
|
|
18329
|
+
var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null;
|
|
18330
|
+
var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === "function" ? setSizeDescriptor.get : null;
|
|
18331
|
+
var setForEach = hasSet && Set.prototype.forEach;
|
|
18332
|
+
var hasWeakMap = typeof WeakMap === "function" && WeakMap.prototype;
|
|
18333
|
+
var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;
|
|
18334
|
+
var hasWeakSet = typeof WeakSet === "function" && WeakSet.prototype;
|
|
18335
|
+
var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;
|
|
18336
|
+
var hasWeakRef = typeof WeakRef === "function" && WeakRef.prototype;
|
|
18337
|
+
var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;
|
|
18338
|
+
var booleanValueOf = Boolean.prototype.valueOf;
|
|
18339
|
+
var objectToString = Object.prototype.toString;
|
|
18340
|
+
var functionToString = Function.prototype.toString;
|
|
18341
|
+
var $match = String.prototype.match;
|
|
18342
|
+
var $slice = String.prototype.slice;
|
|
18343
|
+
var $replace = String.prototype.replace;
|
|
18344
|
+
var $toUpperCase = String.prototype.toUpperCase;
|
|
18345
|
+
var $toLowerCase = String.prototype.toLowerCase;
|
|
18346
|
+
var $test = RegExp.prototype.test;
|
|
18347
|
+
var $concat = Array.prototype.concat;
|
|
18348
|
+
var $join = Array.prototype.join;
|
|
18349
|
+
var $arrSlice = Array.prototype.slice;
|
|
18350
|
+
var $floor = Math.floor;
|
|
18351
|
+
var bigIntValueOf = typeof BigInt === "function" ? BigInt.prototype.valueOf : null;
|
|
18352
|
+
var gOPS = Object.getOwnPropertySymbols;
|
|
18353
|
+
var symToString = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? Symbol.prototype.toString : null;
|
|
18354
|
+
var hasShammedSymbols = typeof Symbol === "function" && typeof Symbol.iterator === "object";
|
|
18355
|
+
var toStringTag = typeof Symbol === "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? "object" : "symbol") ? Symbol.toStringTag : null;
|
|
18356
|
+
var isEnumerable = Object.prototype.propertyIsEnumerable;
|
|
18357
|
+
var gPO = (typeof Reflect === "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(O) {
|
|
18358
|
+
return O.__proto__;
|
|
18359
|
+
} : null);
|
|
18360
|
+
function addNumericSeparator(num, str) {
|
|
18361
|
+
if (num === Infinity || num === -Infinity || num !== num || num && num > -1e3 && num < 1e3 || $test.call(/e/, str)) {
|
|
18362
|
+
return str;
|
|
18428
18363
|
}
|
|
18429
|
-
|
|
18430
|
-
|
|
18431
|
-
|
|
18432
|
-
|
|
18433
|
-
|
|
18434
|
-
|
|
18435
|
-
|
|
18436
|
-
|
|
18437
|
-
"use strict";
|
|
18438
|
-
var $defineProperty = Object.defineProperty || false;
|
|
18439
|
-
if ($defineProperty) {
|
|
18440
|
-
try {
|
|
18441
|
-
$defineProperty({}, "a", { value: 1 });
|
|
18442
|
-
} catch (e) {
|
|
18443
|
-
$defineProperty = false;
|
|
18364
|
+
var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
|
|
18365
|
+
if (typeof num === "number") {
|
|
18366
|
+
var int = num < 0 ? -$floor(-num) : $floor(num);
|
|
18367
|
+
if (int !== num) {
|
|
18368
|
+
var intStr = String(int);
|
|
18369
|
+
var dec = $slice.call(str, intStr.length + 1);
|
|
18370
|
+
return $replace.call(intStr, sepRegex, "$&_") + "." + $replace.call($replace.call(dec, /([0-9]{3})/g, "$&_"), /_$/, "");
|
|
18371
|
+
}
|
|
18444
18372
|
}
|
|
18373
|
+
return $replace.call(str, sepRegex, "$&_");
|
|
18445
18374
|
}
|
|
18446
|
-
|
|
18447
|
-
|
|
18448
|
-
|
|
18449
|
-
|
|
18450
|
-
|
|
18451
|
-
|
|
18452
|
-
|
|
18453
|
-
|
|
18454
|
-
|
|
18455
|
-
|
|
18456
|
-
|
|
18457
|
-
|
|
18458
|
-
|
|
18459
|
-
|
|
18375
|
+
var utilInspect = require_util_inspect();
|
|
18376
|
+
var inspectCustom = utilInspect.custom;
|
|
18377
|
+
var inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null;
|
|
18378
|
+
var quotes = {
|
|
18379
|
+
__proto__: null,
|
|
18380
|
+
"double": '"',
|
|
18381
|
+
single: "'"
|
|
18382
|
+
};
|
|
18383
|
+
var quoteREs = {
|
|
18384
|
+
__proto__: null,
|
|
18385
|
+
"double": /(["\\])/g,
|
|
18386
|
+
single: /(['\\])/g
|
|
18387
|
+
};
|
|
18388
|
+
module3.exports = function inspect_(obj, options, depth, seen) {
|
|
18389
|
+
var opts = options || {};
|
|
18390
|
+
if (has(opts, "quoteStyle") && !has(quotes, opts.quoteStyle)) {
|
|
18391
|
+
throw new TypeError('option "quoteStyle" must be "single" or "double"');
|
|
18460
18392
|
}
|
|
18461
|
-
|
|
18462
|
-
|
|
18463
|
-
var symObj = Object(sym);
|
|
18464
|
-
if (typeof sym === "string") {
|
|
18465
|
-
return false;
|
|
18393
|
+
if (has(opts, "maxStringLength") && (typeof opts.maxStringLength === "number" ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity : opts.maxStringLength !== null)) {
|
|
18394
|
+
throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
|
|
18466
18395
|
}
|
|
18467
|
-
|
|
18468
|
-
|
|
18396
|
+
var customInspect = has(opts, "customInspect") ? opts.customInspect : true;
|
|
18397
|
+
if (typeof customInspect !== "boolean" && customInspect !== "symbol") {
|
|
18398
|
+
throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
|
|
18469
18399
|
}
|
|
18470
|
-
if (
|
|
18471
|
-
|
|
18400
|
+
if (has(opts, "indent") && opts.indent !== null && opts.indent !== " " && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)) {
|
|
18401
|
+
throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
|
|
18472
18402
|
}
|
|
18473
|
-
|
|
18474
|
-
|
|
18475
|
-
for (var _ in obj) {
|
|
18476
|
-
return false;
|
|
18403
|
+
if (has(opts, "numericSeparator") && typeof opts.numericSeparator !== "boolean") {
|
|
18404
|
+
throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
|
|
18477
18405
|
}
|
|
18478
|
-
|
|
18479
|
-
|
|
18406
|
+
var numericSeparator = opts.numericSeparator;
|
|
18407
|
+
if (typeof obj === "undefined") {
|
|
18408
|
+
return "undefined";
|
|
18480
18409
|
}
|
|
18481
|
-
if (
|
|
18482
|
-
return
|
|
18410
|
+
if (obj === null) {
|
|
18411
|
+
return "null";
|
|
18483
18412
|
}
|
|
18484
|
-
|
|
18485
|
-
|
|
18486
|
-
return false;
|
|
18413
|
+
if (typeof obj === "boolean") {
|
|
18414
|
+
return obj ? "true" : "false";
|
|
18487
18415
|
}
|
|
18488
|
-
if (
|
|
18489
|
-
return
|
|
18416
|
+
if (typeof obj === "string") {
|
|
18417
|
+
return inspectString(obj, opts);
|
|
18490
18418
|
}
|
|
18491
|
-
if (typeof
|
|
18492
|
-
|
|
18493
|
-
|
|
18494
|
-
Object.getOwnPropertyDescriptor(obj, sym)
|
|
18495
|
-
);
|
|
18496
|
-
if (descriptor.value !== symVal || descriptor.enumerable !== true) {
|
|
18497
|
-
return false;
|
|
18419
|
+
if (typeof obj === "number") {
|
|
18420
|
+
if (obj === 0) {
|
|
18421
|
+
return Infinity / obj > 0 ? "0" : "-0";
|
|
18498
18422
|
}
|
|
18423
|
+
var str = String(obj);
|
|
18424
|
+
return numericSeparator ? addNumericSeparator(obj, str) : str;
|
|
18499
18425
|
}
|
|
18500
|
-
|
|
18501
|
-
|
|
18502
|
-
|
|
18503
|
-
});
|
|
18504
|
-
|
|
18505
|
-
// ../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js
|
|
18506
|
-
var require_has_symbols = __commonJS({
|
|
18507
|
-
"../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js"(exports3, module3) {
|
|
18508
|
-
"use strict";
|
|
18509
|
-
var origSymbol = typeof Symbol !== "undefined" && Symbol;
|
|
18510
|
-
var hasSymbolSham = require_shams();
|
|
18511
|
-
module3.exports = function hasNativeSymbols() {
|
|
18512
|
-
if (typeof origSymbol !== "function") {
|
|
18513
|
-
return false;
|
|
18426
|
+
if (typeof obj === "bigint") {
|
|
18427
|
+
var bigIntStr = String(obj) + "n";
|
|
18428
|
+
return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr;
|
|
18514
18429
|
}
|
|
18515
|
-
|
|
18516
|
-
|
|
18430
|
+
var maxDepth = typeof opts.depth === "undefined" ? 5 : opts.depth;
|
|
18431
|
+
if (typeof depth === "undefined") {
|
|
18432
|
+
depth = 0;
|
|
18517
18433
|
}
|
|
18518
|
-
if (typeof
|
|
18519
|
-
return
|
|
18434
|
+
if (depth >= maxDepth && maxDepth > 0 && typeof obj === "object") {
|
|
18435
|
+
return isArray2(obj) ? "[Array]" : "[Object]";
|
|
18520
18436
|
}
|
|
18521
|
-
|
|
18522
|
-
|
|
18437
|
+
var indent = getIndent(opts, depth);
|
|
18438
|
+
if (typeof seen === "undefined") {
|
|
18439
|
+
seen = [];
|
|
18440
|
+
} else if (indexOf(seen, obj) >= 0) {
|
|
18441
|
+
return "[Circular]";
|
|
18523
18442
|
}
|
|
18524
|
-
|
|
18525
|
-
|
|
18526
|
-
|
|
18527
|
-
|
|
18528
|
-
|
|
18529
|
-
|
|
18530
|
-
var
|
|
18531
|
-
|
|
18532
|
-
|
|
18533
|
-
|
|
18534
|
-
|
|
18535
|
-
|
|
18536
|
-
|
|
18537
|
-
|
|
18538
|
-
|
|
18539
|
-
for (var i = 0; i < a.length; i += 1) {
|
|
18540
|
-
arr[i] = a[i];
|
|
18443
|
+
function inspect(value, from3, noIndent) {
|
|
18444
|
+
if (from3) {
|
|
18445
|
+
seen = $arrSlice.call(seen);
|
|
18446
|
+
seen.push(from3);
|
|
18447
|
+
}
|
|
18448
|
+
if (noIndent) {
|
|
18449
|
+
var newOpts = {
|
|
18450
|
+
depth: opts.depth
|
|
18451
|
+
};
|
|
18452
|
+
if (has(opts, "quoteStyle")) {
|
|
18453
|
+
newOpts.quoteStyle = opts.quoteStyle;
|
|
18454
|
+
}
|
|
18455
|
+
return inspect_(value, newOpts, depth + 1, seen);
|
|
18456
|
+
}
|
|
18457
|
+
return inspect_(value, opts, depth + 1, seen);
|
|
18541
18458
|
}
|
|
18542
|
-
|
|
18543
|
-
|
|
18459
|
+
if (typeof obj === "function" && !isRegExp(obj)) {
|
|
18460
|
+
var name2 = nameOf(obj);
|
|
18461
|
+
var keys3 = arrObjKeys(obj, inspect);
|
|
18462
|
+
return "[Function" + (name2 ? ": " + name2 : " (anonymous)") + "]" + (keys3.length > 0 ? " { " + $join.call(keys3, ", ") + " }" : "");
|
|
18544
18463
|
}
|
|
18545
|
-
|
|
18546
|
-
|
|
18547
|
-
|
|
18548
|
-
var arr = [];
|
|
18549
|
-
for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
|
|
18550
|
-
arr[j] = arrLike[i];
|
|
18464
|
+
if (isSymbol(obj)) {
|
|
18465
|
+
var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\(.*\))_[^)]*$/, "$1") : symToString.call(obj);
|
|
18466
|
+
return typeof obj === "object" && !hasShammedSymbols ? markBoxed(symString) : symString;
|
|
18551
18467
|
}
|
|
18552
|
-
|
|
18553
|
-
|
|
18554
|
-
|
|
18555
|
-
|
|
18556
|
-
|
|
18557
|
-
|
|
18558
|
-
|
|
18559
|
-
|
|
18468
|
+
if (isElement(obj)) {
|
|
18469
|
+
var s = "<" + $toLowerCase.call(String(obj.nodeName));
|
|
18470
|
+
var attrs = obj.attributes || [];
|
|
18471
|
+
for (var i = 0; i < attrs.length; i++) {
|
|
18472
|
+
s += " " + attrs[i].name + "=" + wrapQuotes(quote(attrs[i].value), "double", opts);
|
|
18473
|
+
}
|
|
18474
|
+
s += ">";
|
|
18475
|
+
if (obj.childNodes && obj.childNodes.length) {
|
|
18476
|
+
s += "...";
|
|
18560
18477
|
}
|
|
18478
|
+
s += "</" + $toLowerCase.call(String(obj.nodeName)) + ">";
|
|
18479
|
+
return s;
|
|
18561
18480
|
}
|
|
18562
|
-
|
|
18563
|
-
|
|
18564
|
-
|
|
18565
|
-
|
|
18566
|
-
|
|
18567
|
-
|
|
18481
|
+
if (isArray2(obj)) {
|
|
18482
|
+
if (obj.length === 0) {
|
|
18483
|
+
return "[]";
|
|
18484
|
+
}
|
|
18485
|
+
var xs = arrObjKeys(obj, inspect);
|
|
18486
|
+
if (indent && !singleLineValues(xs)) {
|
|
18487
|
+
return "[" + indentedJoin(xs, indent) + "]";
|
|
18488
|
+
}
|
|
18489
|
+
return "[ " + $join.call(xs, ", ") + " ]";
|
|
18568
18490
|
}
|
|
18569
|
-
|
|
18570
|
-
|
|
18571
|
-
|
|
18572
|
-
|
|
18573
|
-
var result = target.apply(
|
|
18574
|
-
this,
|
|
18575
|
-
concatty(args2, arguments)
|
|
18576
|
-
);
|
|
18577
|
-
if (Object(result) === result) {
|
|
18578
|
-
return result;
|
|
18579
|
-
}
|
|
18580
|
-
return this;
|
|
18491
|
+
if (isError(obj)) {
|
|
18492
|
+
var parts = arrObjKeys(obj, inspect);
|
|
18493
|
+
if (!("cause" in Error.prototype) && "cause" in obj && !isEnumerable.call(obj, "cause")) {
|
|
18494
|
+
return "{ [" + String(obj) + "] " + $join.call($concat.call("[cause]: " + inspect(obj.cause), parts), ", ") + " }";
|
|
18581
18495
|
}
|
|
18582
|
-
|
|
18583
|
-
|
|
18584
|
-
|
|
18585
|
-
);
|
|
18586
|
-
};
|
|
18587
|
-
var boundLength = max4(0, target.length - args2.length);
|
|
18588
|
-
var boundArgs = [];
|
|
18589
|
-
for (var i = 0; i < boundLength; i++) {
|
|
18590
|
-
boundArgs[i] = "$" + i;
|
|
18496
|
+
if (parts.length === 0) {
|
|
18497
|
+
return "[" + String(obj) + "]";
|
|
18498
|
+
}
|
|
18499
|
+
return "{ [" + String(obj) + "] " + $join.call(parts, ", ") + " }";
|
|
18591
18500
|
}
|
|
18592
|
-
|
|
18593
|
-
|
|
18594
|
-
|
|
18595
|
-
}
|
|
18596
|
-
|
|
18597
|
-
|
|
18598
|
-
Empty.prototype = null;
|
|
18501
|
+
if (typeof obj === "object" && customInspect) {
|
|
18502
|
+
if (inspectSymbol && typeof obj[inspectSymbol] === "function" && utilInspect) {
|
|
18503
|
+
return utilInspect(obj, { depth: maxDepth - depth });
|
|
18504
|
+
} else if (customInspect !== "symbol" && typeof obj.inspect === "function") {
|
|
18505
|
+
return obj.inspect();
|
|
18506
|
+
}
|
|
18599
18507
|
}
|
|
18600
|
-
|
|
18601
|
-
|
|
18602
|
-
|
|
18603
|
-
|
|
18604
|
-
|
|
18605
|
-
|
|
18606
|
-
|
|
18607
|
-
|
|
18608
|
-
"use strict";
|
|
18609
|
-
var implementation = require_implementation();
|
|
18610
|
-
module3.exports = Function.prototype.bind || implementation;
|
|
18611
|
-
}
|
|
18612
|
-
});
|
|
18613
|
-
|
|
18614
|
-
// ../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionCall.js
|
|
18615
|
-
var require_functionCall = __commonJS({
|
|
18616
|
-
"../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionCall.js"(exports3, module3) {
|
|
18617
|
-
"use strict";
|
|
18618
|
-
module3.exports = Function.prototype.call;
|
|
18619
|
-
}
|
|
18620
|
-
});
|
|
18621
|
-
|
|
18622
|
-
// ../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionApply.js
|
|
18623
|
-
var require_functionApply = __commonJS({
|
|
18624
|
-
"../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionApply.js"(exports3, module3) {
|
|
18625
|
-
"use strict";
|
|
18626
|
-
module3.exports = Function.prototype.apply;
|
|
18627
|
-
}
|
|
18628
|
-
});
|
|
18629
|
-
|
|
18630
|
-
// ../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/reflectApply.js
|
|
18631
|
-
var require_reflectApply = __commonJS({
|
|
18632
|
-
"../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/reflectApply.js"(exports3, module3) {
|
|
18633
|
-
"use strict";
|
|
18634
|
-
module3.exports = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
|
|
18635
|
-
}
|
|
18636
|
-
});
|
|
18637
|
-
|
|
18638
|
-
// ../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/actualApply.js
|
|
18639
|
-
var require_actualApply = __commonJS({
|
|
18640
|
-
"../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/actualApply.js"(exports3, module3) {
|
|
18641
|
-
"use strict";
|
|
18642
|
-
var bind = require_function_bind();
|
|
18643
|
-
var $apply = require_functionApply();
|
|
18644
|
-
var $call = require_functionCall();
|
|
18645
|
-
var $reflectApply = require_reflectApply();
|
|
18646
|
-
module3.exports = $reflectApply || bind.call($call, $apply);
|
|
18647
|
-
}
|
|
18648
|
-
});
|
|
18649
|
-
|
|
18650
|
-
// ../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/index.js
|
|
18651
|
-
var require_call_bind_apply_helpers = __commonJS({
|
|
18652
|
-
"../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/index.js"(exports3, module3) {
|
|
18653
|
-
"use strict";
|
|
18654
|
-
var bind = require_function_bind();
|
|
18655
|
-
var $TypeError = require_type();
|
|
18656
|
-
var $call = require_functionCall();
|
|
18657
|
-
var $actualApply = require_actualApply();
|
|
18658
|
-
module3.exports = function callBindBasic(args2) {
|
|
18659
|
-
if (args2.length < 1 || typeof args2[0] !== "function") {
|
|
18660
|
-
throw new $TypeError("a function is required");
|
|
18508
|
+
if (isMap(obj)) {
|
|
18509
|
+
var mapParts = [];
|
|
18510
|
+
if (mapForEach) {
|
|
18511
|
+
mapForEach.call(obj, function(value, key) {
|
|
18512
|
+
mapParts.push(inspect(key, obj, true) + " => " + inspect(value, obj));
|
|
18513
|
+
});
|
|
18514
|
+
}
|
|
18515
|
+
return collectionOf("Map", mapSize.call(obj), mapParts, indent);
|
|
18661
18516
|
}
|
|
18662
|
-
|
|
18663
|
-
|
|
18664
|
-
|
|
18665
|
-
|
|
18666
|
-
|
|
18667
|
-
|
|
18668
|
-
|
|
18669
|
-
|
|
18670
|
-
|
|
18671
|
-
|
|
18672
|
-
|
|
18673
|
-
|
|
18674
|
-
|
|
18675
|
-
|
|
18676
|
-
|
|
18677
|
-
|
|
18678
|
-
|
|
18679
|
-
|
|
18680
|
-
|
|
18681
|
-
|
|
18682
|
-
|
|
18683
|
-
|
|
18684
|
-
|
|
18685
|
-
|
|
18686
|
-
|
|
18687
|
-
return
|
|
18517
|
+
if (isSet(obj)) {
|
|
18518
|
+
var setParts = [];
|
|
18519
|
+
if (setForEach) {
|
|
18520
|
+
setForEach.call(obj, function(value) {
|
|
18521
|
+
setParts.push(inspect(value, obj));
|
|
18522
|
+
});
|
|
18523
|
+
}
|
|
18524
|
+
return collectionOf("Set", setSize.call(obj), setParts, indent);
|
|
18525
|
+
}
|
|
18526
|
+
if (isWeakMap(obj)) {
|
|
18527
|
+
return weakCollectionOf("WeakMap");
|
|
18528
|
+
}
|
|
18529
|
+
if (isWeakSet(obj)) {
|
|
18530
|
+
return weakCollectionOf("WeakSet");
|
|
18531
|
+
}
|
|
18532
|
+
if (isWeakRef(obj)) {
|
|
18533
|
+
return weakCollectionOf("WeakRef");
|
|
18534
|
+
}
|
|
18535
|
+
if (isNumber(obj)) {
|
|
18536
|
+
return markBoxed(inspect(Number(obj)));
|
|
18537
|
+
}
|
|
18538
|
+
if (isBigInt(obj)) {
|
|
18539
|
+
return markBoxed(inspect(bigIntValueOf.call(obj)));
|
|
18540
|
+
}
|
|
18541
|
+
if (isBoolean(obj)) {
|
|
18542
|
+
return markBoxed(booleanValueOf.call(obj));
|
|
18543
|
+
}
|
|
18544
|
+
if (isString(obj)) {
|
|
18545
|
+
return markBoxed(inspect(String(obj)));
|
|
18546
|
+
}
|
|
18547
|
+
if (typeof window !== "undefined" && obj === window) {
|
|
18548
|
+
return "{ [object Window] }";
|
|
18549
|
+
}
|
|
18550
|
+
if (typeof globalThis !== "undefined" && obj === globalThis || typeof global !== "undefined" && obj === global) {
|
|
18551
|
+
return "{ [object globalThis] }";
|
|
18552
|
+
}
|
|
18553
|
+
if (!isDate(obj) && !isRegExp(obj)) {
|
|
18554
|
+
var ys = arrObjKeys(obj, inspect);
|
|
18555
|
+
var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
|
|
18556
|
+
var protoTag = obj instanceof Object ? "" : "null prototype";
|
|
18557
|
+
var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? "Object" : "";
|
|
18558
|
+
var constructorTag = isPlainObject || typeof obj.constructor !== "function" ? "" : obj.constructor.name ? obj.constructor.name + " " : "";
|
|
18559
|
+
var tag = constructorTag + (stringTag || protoTag ? "[" + $join.call($concat.call([], stringTag || [], protoTag || []), ": ") + "] " : "");
|
|
18560
|
+
if (ys.length === 0) {
|
|
18561
|
+
return tag + "{}";
|
|
18562
|
+
}
|
|
18563
|
+
if (indent) {
|
|
18564
|
+
return tag + "{" + indentedJoin(ys, indent) + "}";
|
|
18565
|
+
}
|
|
18566
|
+
return tag + "{ " + $join.call(ys, ", ") + " }";
|
|
18567
|
+
}
|
|
18568
|
+
return String(obj);
|
|
18569
|
+
};
|
|
18570
|
+
function wrapQuotes(s, defaultStyle, opts) {
|
|
18571
|
+
var style = opts.quoteStyle || defaultStyle;
|
|
18572
|
+
var quoteChar = quotes[style];
|
|
18573
|
+
return quoteChar + s + quoteChar;
|
|
18574
|
+
}
|
|
18575
|
+
function quote(s) {
|
|
18576
|
+
return $replace.call(String(s), /"/g, """);
|
|
18577
|
+
}
|
|
18578
|
+
function isArray2(obj) {
|
|
18579
|
+
return toStr(obj) === "[object Array]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
|
|
18580
|
+
}
|
|
18581
|
+
function isDate(obj) {
|
|
18582
|
+
return toStr(obj) === "[object Date]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
|
|
18583
|
+
}
|
|
18584
|
+
function isRegExp(obj) {
|
|
18585
|
+
return toStr(obj) === "[object RegExp]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
|
|
18586
|
+
}
|
|
18587
|
+
function isError(obj) {
|
|
18588
|
+
return toStr(obj) === "[object Error]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
|
|
18589
|
+
}
|
|
18590
|
+
function isString(obj) {
|
|
18591
|
+
return toStr(obj) === "[object String]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
|
|
18592
|
+
}
|
|
18593
|
+
function isNumber(obj) {
|
|
18594
|
+
return toStr(obj) === "[object Number]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
|
|
18595
|
+
}
|
|
18596
|
+
function isBoolean(obj) {
|
|
18597
|
+
return toStr(obj) === "[object Boolean]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
|
|
18598
|
+
}
|
|
18599
|
+
function isSymbol(obj) {
|
|
18600
|
+
if (hasShammedSymbols) {
|
|
18601
|
+
return obj && typeof obj === "object" && obj instanceof Symbol;
|
|
18602
|
+
}
|
|
18603
|
+
if (typeof obj === "symbol") {
|
|
18604
|
+
return true;
|
|
18605
|
+
}
|
|
18606
|
+
if (!obj || typeof obj !== "object" || !symToString) {
|
|
18607
|
+
return false;
|
|
18688
18608
|
}
|
|
18689
|
-
) : false;
|
|
18690
|
-
}
|
|
18691
|
-
});
|
|
18692
|
-
|
|
18693
|
-
// ../node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js
|
|
18694
|
-
var require_hasown = __commonJS({
|
|
18695
|
-
"../node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js"(exports3, module3) {
|
|
18696
|
-
"use strict";
|
|
18697
|
-
var call = Function.prototype.call;
|
|
18698
|
-
var $hasOwn = Object.prototype.hasOwnProperty;
|
|
18699
|
-
var bind = require_function_bind();
|
|
18700
|
-
module3.exports = bind.call(call, $hasOwn);
|
|
18701
|
-
}
|
|
18702
|
-
});
|
|
18703
|
-
|
|
18704
|
-
// ../node_modules/.pnpm/get-intrinsic@1.2.6/node_modules/get-intrinsic/index.js
|
|
18705
|
-
var require_get_intrinsic = __commonJS({
|
|
18706
|
-
"../node_modules/.pnpm/get-intrinsic@1.2.6/node_modules/get-intrinsic/index.js"(exports3, module3) {
|
|
18707
|
-
"use strict";
|
|
18708
|
-
var undefined2;
|
|
18709
|
-
var $Object = require_es_object_atoms();
|
|
18710
|
-
var $Error = require_es_errors();
|
|
18711
|
-
var $EvalError = require_eval();
|
|
18712
|
-
var $RangeError = require_range();
|
|
18713
|
-
var $ReferenceError = require_ref();
|
|
18714
|
-
var $SyntaxError = require_syntax();
|
|
18715
|
-
var $TypeError = require_type();
|
|
18716
|
-
var $URIError = require_uri();
|
|
18717
|
-
var abs2 = require_abs();
|
|
18718
|
-
var floor4 = require_floor();
|
|
18719
|
-
var max4 = require_max();
|
|
18720
|
-
var min4 = require_min();
|
|
18721
|
-
var pow = require_pow();
|
|
18722
|
-
var $Function = Function;
|
|
18723
|
-
var getEvalledConstructor = function(expressionSyntax) {
|
|
18724
18609
|
try {
|
|
18725
|
-
|
|
18610
|
+
symToString.call(obj);
|
|
18611
|
+
return true;
|
|
18726
18612
|
} catch (e) {
|
|
18727
18613
|
}
|
|
18728
|
-
|
|
18729
|
-
|
|
18730
|
-
|
|
18731
|
-
|
|
18732
|
-
|
|
18733
|
-
|
|
18734
|
-
var ThrowTypeError = $gOPD ? function() {
|
|
18614
|
+
return false;
|
|
18615
|
+
}
|
|
18616
|
+
function isBigInt(obj) {
|
|
18617
|
+
if (!obj || typeof obj !== "object" || !bigIntValueOf) {
|
|
18618
|
+
return false;
|
|
18619
|
+
}
|
|
18735
18620
|
try {
|
|
18736
|
-
|
|
18737
|
-
return
|
|
18738
|
-
} catch (
|
|
18739
|
-
try {
|
|
18740
|
-
return $gOPD(arguments, "callee").get;
|
|
18741
|
-
} catch (gOPDthrows) {
|
|
18742
|
-
return throwTypeError;
|
|
18743
|
-
}
|
|
18621
|
+
bigIntValueOf.call(obj);
|
|
18622
|
+
return true;
|
|
18623
|
+
} catch (e) {
|
|
18744
18624
|
}
|
|
18745
|
-
|
|
18746
|
-
|
|
18747
|
-
var
|
|
18748
|
-
|
|
18749
|
-
var $apply = require_functionApply();
|
|
18750
|
-
var $call = require_functionCall();
|
|
18751
|
-
var needsEval = {};
|
|
18752
|
-
var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined2 : getProto(Uint8Array);
|
|
18753
|
-
var INTRINSICS = {
|
|
18754
|
-
__proto__: null,
|
|
18755
|
-
"%AggregateError%": typeof AggregateError === "undefined" ? undefined2 : AggregateError,
|
|
18756
|
-
"%Array%": Array,
|
|
18757
|
-
"%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined2 : ArrayBuffer,
|
|
18758
|
-
"%ArrayIteratorPrototype%": hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined2,
|
|
18759
|
-
"%AsyncFromSyncIteratorPrototype%": undefined2,
|
|
18760
|
-
"%AsyncFunction%": needsEval,
|
|
18761
|
-
"%AsyncGenerator%": needsEval,
|
|
18762
|
-
"%AsyncGeneratorFunction%": needsEval,
|
|
18763
|
-
"%AsyncIteratorPrototype%": needsEval,
|
|
18764
|
-
"%Atomics%": typeof Atomics === "undefined" ? undefined2 : Atomics,
|
|
18765
|
-
"%BigInt%": typeof BigInt === "undefined" ? undefined2 : BigInt,
|
|
18766
|
-
"%BigInt64Array%": typeof BigInt64Array === "undefined" ? undefined2 : BigInt64Array,
|
|
18767
|
-
"%BigUint64Array%": typeof BigUint64Array === "undefined" ? undefined2 : BigUint64Array,
|
|
18768
|
-
"%Boolean%": Boolean,
|
|
18769
|
-
"%DataView%": typeof DataView === "undefined" ? undefined2 : DataView,
|
|
18770
|
-
"%Date%": Date,
|
|
18771
|
-
"%decodeURI%": decodeURI,
|
|
18772
|
-
"%decodeURIComponent%": decodeURIComponent,
|
|
18773
|
-
"%encodeURI%": encodeURI,
|
|
18774
|
-
"%encodeURIComponent%": encodeURIComponent,
|
|
18775
|
-
"%Error%": $Error,
|
|
18776
|
-
"%eval%": eval,
|
|
18777
|
-
// eslint-disable-line no-eval
|
|
18778
|
-
"%EvalError%": $EvalError,
|
|
18779
|
-
"%Float32Array%": typeof Float32Array === "undefined" ? undefined2 : Float32Array,
|
|
18780
|
-
"%Float64Array%": typeof Float64Array === "undefined" ? undefined2 : Float64Array,
|
|
18781
|
-
"%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined2 : FinalizationRegistry,
|
|
18782
|
-
"%Function%": $Function,
|
|
18783
|
-
"%GeneratorFunction%": needsEval,
|
|
18784
|
-
"%Int8Array%": typeof Int8Array === "undefined" ? undefined2 : Int8Array,
|
|
18785
|
-
"%Int16Array%": typeof Int16Array === "undefined" ? undefined2 : Int16Array,
|
|
18786
|
-
"%Int32Array%": typeof Int32Array === "undefined" ? undefined2 : Int32Array,
|
|
18787
|
-
"%isFinite%": isFinite,
|
|
18788
|
-
"%isNaN%": isNaN,
|
|
18789
|
-
"%IteratorPrototype%": hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined2,
|
|
18790
|
-
"%JSON%": typeof JSON === "object" ? JSON : undefined2,
|
|
18791
|
-
"%Map%": typeof Map === "undefined" ? undefined2 : Map,
|
|
18792
|
-
"%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
18793
|
-
"%Math%": Math,
|
|
18794
|
-
"%Number%": Number,
|
|
18795
|
-
"%Object%": $Object,
|
|
18796
|
-
"%Object.getOwnPropertyDescriptor%": $gOPD,
|
|
18797
|
-
"%parseFloat%": parseFloat,
|
|
18798
|
-
"%parseInt%": parseInt,
|
|
18799
|
-
"%Promise%": typeof Promise === "undefined" ? undefined2 : Promise,
|
|
18800
|
-
"%Proxy%": typeof Proxy === "undefined" ? undefined2 : Proxy,
|
|
18801
|
-
"%RangeError%": $RangeError,
|
|
18802
|
-
"%ReferenceError%": $ReferenceError,
|
|
18803
|
-
"%Reflect%": typeof Reflect === "undefined" ? undefined2 : Reflect,
|
|
18804
|
-
"%RegExp%": RegExp,
|
|
18805
|
-
"%Set%": typeof Set === "undefined" ? undefined2 : Set,
|
|
18806
|
-
"%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
18807
|
-
"%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined2 : SharedArrayBuffer,
|
|
18808
|
-
"%String%": String,
|
|
18809
|
-
"%StringIteratorPrototype%": hasSymbols && getProto ? getProto(""[Symbol.iterator]()) : undefined2,
|
|
18810
|
-
"%Symbol%": hasSymbols ? Symbol : undefined2,
|
|
18811
|
-
"%SyntaxError%": $SyntaxError,
|
|
18812
|
-
"%ThrowTypeError%": ThrowTypeError,
|
|
18813
|
-
"%TypedArray%": TypedArray,
|
|
18814
|
-
"%TypeError%": $TypeError,
|
|
18815
|
-
"%Uint8Array%": typeof Uint8Array === "undefined" ? undefined2 : Uint8Array,
|
|
18816
|
-
"%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined2 : Uint8ClampedArray,
|
|
18817
|
-
"%Uint16Array%": typeof Uint16Array === "undefined" ? undefined2 : Uint16Array,
|
|
18818
|
-
"%Uint32Array%": typeof Uint32Array === "undefined" ? undefined2 : Uint32Array,
|
|
18819
|
-
"%URIError%": $URIError,
|
|
18820
|
-
"%WeakMap%": typeof WeakMap === "undefined" ? undefined2 : WeakMap,
|
|
18821
|
-
"%WeakRef%": typeof WeakRef === "undefined" ? undefined2 : WeakRef,
|
|
18822
|
-
"%WeakSet%": typeof WeakSet === "undefined" ? undefined2 : WeakSet,
|
|
18823
|
-
"%Function.prototype.call%": $call,
|
|
18824
|
-
"%Function.prototype.apply%": $apply,
|
|
18825
|
-
"%Object.defineProperty%": $defineProperty,
|
|
18826
|
-
"%Math.abs%": abs2,
|
|
18827
|
-
"%Math.floor%": floor4,
|
|
18828
|
-
"%Math.max%": max4,
|
|
18829
|
-
"%Math.min%": min4,
|
|
18830
|
-
"%Math.pow%": pow
|
|
18625
|
+
return false;
|
|
18626
|
+
}
|
|
18627
|
+
var hasOwn = Object.prototype.hasOwnProperty || function(key) {
|
|
18628
|
+
return key in this;
|
|
18831
18629
|
};
|
|
18832
|
-
|
|
18630
|
+
function has(obj, key) {
|
|
18631
|
+
return hasOwn.call(obj, key);
|
|
18632
|
+
}
|
|
18633
|
+
function toStr(obj) {
|
|
18634
|
+
return objectToString.call(obj);
|
|
18635
|
+
}
|
|
18636
|
+
function nameOf(f) {
|
|
18637
|
+
if (f.name) {
|
|
18638
|
+
return f.name;
|
|
18639
|
+
}
|
|
18640
|
+
var m = $match.call(functionToString.call(f), /^function\s*([\w$]+)/);
|
|
18641
|
+
if (m) {
|
|
18642
|
+
return m[1];
|
|
18643
|
+
}
|
|
18644
|
+
return null;
|
|
18645
|
+
}
|
|
18646
|
+
function indexOf(xs, x) {
|
|
18647
|
+
if (xs.indexOf) {
|
|
18648
|
+
return xs.indexOf(x);
|
|
18649
|
+
}
|
|
18650
|
+
for (var i = 0, l = xs.length; i < l; i++) {
|
|
18651
|
+
if (xs[i] === x) {
|
|
18652
|
+
return i;
|
|
18653
|
+
}
|
|
18654
|
+
}
|
|
18655
|
+
return -1;
|
|
18656
|
+
}
|
|
18657
|
+
function isMap(x) {
|
|
18658
|
+
if (!mapSize || !x || typeof x !== "object") {
|
|
18659
|
+
return false;
|
|
18660
|
+
}
|
|
18833
18661
|
try {
|
|
18834
|
-
|
|
18662
|
+
mapSize.call(x);
|
|
18663
|
+
try {
|
|
18664
|
+
setSize.call(x);
|
|
18665
|
+
} catch (s) {
|
|
18666
|
+
return true;
|
|
18667
|
+
}
|
|
18668
|
+
return x instanceof Map;
|
|
18835
18669
|
} catch (e) {
|
|
18836
|
-
errorProto = getProto(getProto(e));
|
|
18837
|
-
INTRINSICS["%Error.prototype%"] = errorProto;
|
|
18838
18670
|
}
|
|
18671
|
+
return false;
|
|
18839
18672
|
}
|
|
18840
|
-
|
|
18841
|
-
|
|
18842
|
-
|
|
18843
|
-
|
|
18844
|
-
|
|
18845
|
-
|
|
18846
|
-
|
|
18847
|
-
|
|
18848
|
-
|
|
18849
|
-
|
|
18850
|
-
var fn = doEval2("%AsyncGeneratorFunction%");
|
|
18851
|
-
if (fn) {
|
|
18852
|
-
value = fn.prototype;
|
|
18853
|
-
}
|
|
18854
|
-
} else if (name2 === "%AsyncIteratorPrototype%") {
|
|
18855
|
-
var gen = doEval2("%AsyncGenerator%");
|
|
18856
|
-
if (gen && getProto) {
|
|
18857
|
-
value = getProto(gen.prototype);
|
|
18673
|
+
function isWeakMap(x) {
|
|
18674
|
+
if (!weakMapHas || !x || typeof x !== "object") {
|
|
18675
|
+
return false;
|
|
18676
|
+
}
|
|
18677
|
+
try {
|
|
18678
|
+
weakMapHas.call(x, weakMapHas);
|
|
18679
|
+
try {
|
|
18680
|
+
weakSetHas.call(x, weakSetHas);
|
|
18681
|
+
} catch (s) {
|
|
18682
|
+
return true;
|
|
18858
18683
|
}
|
|
18684
|
+
return x instanceof WeakMap;
|
|
18685
|
+
} catch (e) {
|
|
18859
18686
|
}
|
|
18860
|
-
|
|
18861
|
-
|
|
18862
|
-
|
|
18863
|
-
|
|
18864
|
-
|
|
18865
|
-
"%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
|
|
18866
|
-
"%ArrayPrototype%": ["Array", "prototype"],
|
|
18867
|
-
"%ArrayProto_entries%": ["Array", "prototype", "entries"],
|
|
18868
|
-
"%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
|
|
18869
|
-
"%ArrayProto_keys%": ["Array", "prototype", "keys"],
|
|
18870
|
-
"%ArrayProto_values%": ["Array", "prototype", "values"],
|
|
18871
|
-
"%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
|
|
18872
|
-
"%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
|
|
18873
|
-
"%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
|
|
18874
|
-
"%BooleanPrototype%": ["Boolean", "prototype"],
|
|
18875
|
-
"%DataViewPrototype%": ["DataView", "prototype"],
|
|
18876
|
-
"%DatePrototype%": ["Date", "prototype"],
|
|
18877
|
-
"%ErrorPrototype%": ["Error", "prototype"],
|
|
18878
|
-
"%EvalErrorPrototype%": ["EvalError", "prototype"],
|
|
18879
|
-
"%Float32ArrayPrototype%": ["Float32Array", "prototype"],
|
|
18880
|
-
"%Float64ArrayPrototype%": ["Float64Array", "prototype"],
|
|
18881
|
-
"%FunctionPrototype%": ["Function", "prototype"],
|
|
18882
|
-
"%Generator%": ["GeneratorFunction", "prototype"],
|
|
18883
|
-
"%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
|
|
18884
|
-
"%Int8ArrayPrototype%": ["Int8Array", "prototype"],
|
|
18885
|
-
"%Int16ArrayPrototype%": ["Int16Array", "prototype"],
|
|
18886
|
-
"%Int32ArrayPrototype%": ["Int32Array", "prototype"],
|
|
18887
|
-
"%JSONParse%": ["JSON", "parse"],
|
|
18888
|
-
"%JSONStringify%": ["JSON", "stringify"],
|
|
18889
|
-
"%MapPrototype%": ["Map", "prototype"],
|
|
18890
|
-
"%NumberPrototype%": ["Number", "prototype"],
|
|
18891
|
-
"%ObjectPrototype%": ["Object", "prototype"],
|
|
18892
|
-
"%ObjProto_toString%": ["Object", "prototype", "toString"],
|
|
18893
|
-
"%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
|
|
18894
|
-
"%PromisePrototype%": ["Promise", "prototype"],
|
|
18895
|
-
"%PromiseProto_then%": ["Promise", "prototype", "then"],
|
|
18896
|
-
"%Promise_all%": ["Promise", "all"],
|
|
18897
|
-
"%Promise_reject%": ["Promise", "reject"],
|
|
18898
|
-
"%Promise_resolve%": ["Promise", "resolve"],
|
|
18899
|
-
"%RangeErrorPrototype%": ["RangeError", "prototype"],
|
|
18900
|
-
"%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
|
|
18901
|
-
"%RegExpPrototype%": ["RegExp", "prototype"],
|
|
18902
|
-
"%SetPrototype%": ["Set", "prototype"],
|
|
18903
|
-
"%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
|
|
18904
|
-
"%StringPrototype%": ["String", "prototype"],
|
|
18905
|
-
"%SymbolPrototype%": ["Symbol", "prototype"],
|
|
18906
|
-
"%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
|
|
18907
|
-
"%TypedArrayPrototype%": ["TypedArray", "prototype"],
|
|
18908
|
-
"%TypeErrorPrototype%": ["TypeError", "prototype"],
|
|
18909
|
-
"%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
|
|
18910
|
-
"%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
|
|
18911
|
-
"%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
|
|
18912
|
-
"%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
|
|
18913
|
-
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
18914
|
-
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
18915
|
-
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
18916
|
-
};
|
|
18917
|
-
var bind = require_function_bind();
|
|
18918
|
-
var hasOwn = require_hasown();
|
|
18919
|
-
var $concat = bind.call($call, Array.prototype.concat);
|
|
18920
|
-
var $spliceApply = bind.call($apply, Array.prototype.splice);
|
|
18921
|
-
var $replace = bind.call($call, String.prototype.replace);
|
|
18922
|
-
var $strSlice = bind.call($call, String.prototype.slice);
|
|
18923
|
-
var $exec = bind.call($call, RegExp.prototype.exec);
|
|
18924
|
-
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
18925
|
-
var reEscapeChar = /\\(\\)?/g;
|
|
18926
|
-
var stringToPath = function stringToPath2(string) {
|
|
18927
|
-
var first = $strSlice(string, 0, 1);
|
|
18928
|
-
var last2 = $strSlice(string, -1);
|
|
18929
|
-
if (first === "%" && last2 !== "%") {
|
|
18930
|
-
throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");
|
|
18931
|
-
} else if (last2 === "%" && first !== "%") {
|
|
18932
|
-
throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");
|
|
18687
|
+
return false;
|
|
18688
|
+
}
|
|
18689
|
+
function isWeakRef(x) {
|
|
18690
|
+
if (!weakRefDeref || !x || typeof x !== "object") {
|
|
18691
|
+
return false;
|
|
18933
18692
|
}
|
|
18934
|
-
|
|
18935
|
-
|
|
18936
|
-
|
|
18937
|
-
})
|
|
18938
|
-
return result;
|
|
18939
|
-
};
|
|
18940
|
-
var getBaseIntrinsic = function getBaseIntrinsic2(name2, allowMissing) {
|
|
18941
|
-
var intrinsicName = name2;
|
|
18942
|
-
var alias;
|
|
18943
|
-
if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
|
|
18944
|
-
alias = LEGACY_ALIASES[intrinsicName];
|
|
18945
|
-
intrinsicName = "%" + alias[0] + "%";
|
|
18693
|
+
try {
|
|
18694
|
+
weakRefDeref.call(x);
|
|
18695
|
+
return true;
|
|
18696
|
+
} catch (e) {
|
|
18946
18697
|
}
|
|
18947
|
-
|
|
18948
|
-
|
|
18949
|
-
|
|
18950
|
-
|
|
18698
|
+
return false;
|
|
18699
|
+
}
|
|
18700
|
+
function isSet(x) {
|
|
18701
|
+
if (!setSize || !x || typeof x !== "object") {
|
|
18702
|
+
return false;
|
|
18703
|
+
}
|
|
18704
|
+
try {
|
|
18705
|
+
setSize.call(x);
|
|
18706
|
+
try {
|
|
18707
|
+
mapSize.call(x);
|
|
18708
|
+
} catch (m) {
|
|
18709
|
+
return true;
|
|
18951
18710
|
}
|
|
18952
|
-
|
|
18953
|
-
|
|
18711
|
+
return x instanceof Set;
|
|
18712
|
+
} catch (e) {
|
|
18713
|
+
}
|
|
18714
|
+
return false;
|
|
18715
|
+
}
|
|
18716
|
+
function isWeakSet(x) {
|
|
18717
|
+
if (!weakSetHas || !x || typeof x !== "object") {
|
|
18718
|
+
return false;
|
|
18719
|
+
}
|
|
18720
|
+
try {
|
|
18721
|
+
weakSetHas.call(x, weakSetHas);
|
|
18722
|
+
try {
|
|
18723
|
+
weakMapHas.call(x, weakMapHas);
|
|
18724
|
+
} catch (s) {
|
|
18725
|
+
return true;
|
|
18954
18726
|
}
|
|
18955
|
-
return
|
|
18956
|
-
|
|
18957
|
-
name: intrinsicName,
|
|
18958
|
-
value
|
|
18959
|
-
};
|
|
18727
|
+
return x instanceof WeakSet;
|
|
18728
|
+
} catch (e) {
|
|
18960
18729
|
}
|
|
18961
|
-
|
|
18962
|
-
}
|
|
18963
|
-
|
|
18964
|
-
if (typeof
|
|
18965
|
-
|
|
18730
|
+
return false;
|
|
18731
|
+
}
|
|
18732
|
+
function isElement(x) {
|
|
18733
|
+
if (!x || typeof x !== "object") {
|
|
18734
|
+
return false;
|
|
18966
18735
|
}
|
|
18967
|
-
if (
|
|
18968
|
-
|
|
18736
|
+
if (typeof HTMLElement !== "undefined" && x instanceof HTMLElement) {
|
|
18737
|
+
return true;
|
|
18969
18738
|
}
|
|
18970
|
-
|
|
18971
|
-
|
|
18739
|
+
return typeof x.nodeName === "string" && typeof x.getAttribute === "function";
|
|
18740
|
+
}
|
|
18741
|
+
function inspectString(str, opts) {
|
|
18742
|
+
if (str.length > opts.maxStringLength) {
|
|
18743
|
+
var remaining = str.length - opts.maxStringLength;
|
|
18744
|
+
var trailer = "... " + remaining + " more character" + (remaining > 1 ? "s" : "");
|
|
18745
|
+
return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer;
|
|
18972
18746
|
}
|
|
18973
|
-
var
|
|
18974
|
-
|
|
18975
|
-
var
|
|
18976
|
-
|
|
18977
|
-
|
|
18978
|
-
|
|
18979
|
-
var
|
|
18980
|
-
|
|
18981
|
-
|
|
18982
|
-
|
|
18747
|
+
var quoteRE = quoteREs[opts.quoteStyle || "single"];
|
|
18748
|
+
quoteRE.lastIndex = 0;
|
|
18749
|
+
var s = $replace.call($replace.call(str, quoteRE, "\\$1"), /[\x00-\x1f]/g, lowbyte);
|
|
18750
|
+
return wrapQuotes(s, "single", opts);
|
|
18751
|
+
}
|
|
18752
|
+
function lowbyte(c) {
|
|
18753
|
+
var n = c.charCodeAt(0);
|
|
18754
|
+
var x = {
|
|
18755
|
+
8: "b",
|
|
18756
|
+
9: "t",
|
|
18757
|
+
10: "n",
|
|
18758
|
+
12: "f",
|
|
18759
|
+
13: "r"
|
|
18760
|
+
}[n];
|
|
18761
|
+
if (x) {
|
|
18762
|
+
return "\\" + x;
|
|
18983
18763
|
}
|
|
18984
|
-
|
|
18985
|
-
|
|
18986
|
-
|
|
18987
|
-
|
|
18988
|
-
|
|
18989
|
-
|
|
18764
|
+
return "\\x" + (n < 16 ? "0" : "") + $toUpperCase.call(n.toString(16));
|
|
18765
|
+
}
|
|
18766
|
+
function markBoxed(str) {
|
|
18767
|
+
return "Object(" + str + ")";
|
|
18768
|
+
}
|
|
18769
|
+
function weakCollectionOf(type2) {
|
|
18770
|
+
return type2 + " { ? }";
|
|
18771
|
+
}
|
|
18772
|
+
function collectionOf(type2, size2, entries, indent) {
|
|
18773
|
+
var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ", ");
|
|
18774
|
+
return type2 + " (" + size2 + ") {" + joinedEntries + "}";
|
|
18775
|
+
}
|
|
18776
|
+
function singleLineValues(xs) {
|
|
18777
|
+
for (var i = 0; i < xs.length; i++) {
|
|
18778
|
+
if (indexOf(xs[i], "\n") >= 0) {
|
|
18779
|
+
return false;
|
|
18990
18780
|
}
|
|
18991
|
-
|
|
18992
|
-
|
|
18781
|
+
}
|
|
18782
|
+
return true;
|
|
18783
|
+
}
|
|
18784
|
+
function getIndent(opts, depth) {
|
|
18785
|
+
var baseIndent;
|
|
18786
|
+
if (opts.indent === " ") {
|
|
18787
|
+
baseIndent = " ";
|
|
18788
|
+
} else if (typeof opts.indent === "number" && opts.indent > 0) {
|
|
18789
|
+
baseIndent = $join.call(Array(opts.indent + 1), " ");
|
|
18790
|
+
} else {
|
|
18791
|
+
return null;
|
|
18792
|
+
}
|
|
18793
|
+
return {
|
|
18794
|
+
base: baseIndent,
|
|
18795
|
+
prev: $join.call(Array(depth + 1), baseIndent)
|
|
18796
|
+
};
|
|
18797
|
+
}
|
|
18798
|
+
function indentedJoin(xs, indent) {
|
|
18799
|
+
if (xs.length === 0) {
|
|
18800
|
+
return "";
|
|
18801
|
+
}
|
|
18802
|
+
var lineJoiner = "\n" + indent.prev + indent.base;
|
|
18803
|
+
return lineJoiner + $join.call(xs, "," + lineJoiner) + "\n" + indent.prev;
|
|
18804
|
+
}
|
|
18805
|
+
function arrObjKeys(obj, inspect) {
|
|
18806
|
+
var isArr = isArray2(obj);
|
|
18807
|
+
var xs = [];
|
|
18808
|
+
if (isArr) {
|
|
18809
|
+
xs.length = obj.length;
|
|
18810
|
+
for (var i = 0; i < obj.length; i++) {
|
|
18811
|
+
xs[i] = has(obj, i) ? inspect(obj[i], obj) : "";
|
|
18993
18812
|
}
|
|
18994
|
-
|
|
18995
|
-
|
|
18996
|
-
|
|
18997
|
-
|
|
18998
|
-
|
|
18999
|
-
|
|
19000
|
-
|
|
19001
|
-
|
|
19002
|
-
|
|
19003
|
-
|
|
19004
|
-
|
|
19005
|
-
|
|
19006
|
-
|
|
19007
|
-
|
|
19008
|
-
|
|
19009
|
-
|
|
19010
|
-
|
|
19011
|
-
|
|
19012
|
-
|
|
19013
|
-
|
|
19014
|
-
|
|
19015
|
-
|
|
19016
|
-
|
|
19017
|
-
|
|
19018
|
-
|
|
18813
|
+
}
|
|
18814
|
+
var syms = typeof gOPS === "function" ? gOPS(obj) : [];
|
|
18815
|
+
var symMap;
|
|
18816
|
+
if (hasShammedSymbols) {
|
|
18817
|
+
symMap = {};
|
|
18818
|
+
for (var k = 0; k < syms.length; k++) {
|
|
18819
|
+
symMap["$" + syms[k]] = syms[k];
|
|
18820
|
+
}
|
|
18821
|
+
}
|
|
18822
|
+
for (var key in obj) {
|
|
18823
|
+
if (!has(obj, key)) {
|
|
18824
|
+
continue;
|
|
18825
|
+
}
|
|
18826
|
+
if (isArr && String(Number(key)) === key && key < obj.length) {
|
|
18827
|
+
continue;
|
|
18828
|
+
}
|
|
18829
|
+
if (hasShammedSymbols && symMap["$" + key] instanceof Symbol) {
|
|
18830
|
+
continue;
|
|
18831
|
+
} else if ($test.call(/[^\w$]/, key)) {
|
|
18832
|
+
xs.push(inspect(key, obj) + ": " + inspect(obj[key], obj));
|
|
18833
|
+
} else {
|
|
18834
|
+
xs.push(key + ": " + inspect(obj[key], obj));
|
|
18835
|
+
}
|
|
18836
|
+
}
|
|
18837
|
+
if (typeof gOPS === "function") {
|
|
18838
|
+
for (var j = 0; j < syms.length; j++) {
|
|
18839
|
+
if (isEnumerable.call(obj, syms[j])) {
|
|
18840
|
+
xs.push("[" + inspect(syms[j]) + "]: " + inspect(obj[syms[j]], obj));
|
|
19019
18841
|
}
|
|
19020
18842
|
}
|
|
19021
18843
|
}
|
|
19022
|
-
return
|
|
19023
|
-
}
|
|
18844
|
+
return xs;
|
|
18845
|
+
}
|
|
19024
18846
|
}
|
|
19025
18847
|
});
|
|
19026
18848
|
|
|
19027
|
-
// ../node_modules/.pnpm/
|
|
19028
|
-
var
|
|
19029
|
-
"../node_modules/.pnpm/
|
|
18849
|
+
// ../node_modules/.pnpm/side-channel-list@1.0.0/node_modules/side-channel-list/index.js
|
|
18850
|
+
var require_side_channel_list = __commonJS({
|
|
18851
|
+
"../node_modules/.pnpm/side-channel-list@1.0.0/node_modules/side-channel-list/index.js"(exports3, module3) {
|
|
19030
18852
|
"use strict";
|
|
19031
|
-
var
|
|
19032
|
-
var $SyntaxError = require_syntax();
|
|
18853
|
+
var inspect = require_object_inspect();
|
|
19033
18854
|
var $TypeError = require_type();
|
|
19034
|
-
var
|
|
19035
|
-
|
|
19036
|
-
|
|
19037
|
-
|
|
19038
|
-
|
|
19039
|
-
|
|
19040
|
-
|
|
19041
|
-
|
|
19042
|
-
|
|
19043
|
-
|
|
19044
|
-
|
|
19045
|
-
|
|
19046
|
-
|
|
19047
|
-
}
|
|
19048
|
-
if (arguments.length > 5 && typeof arguments[5] !== "boolean" && arguments[5] !== null) {
|
|
19049
|
-
throw new $TypeError("`nonConfigurable`, if provided, must be a boolean or null");
|
|
18855
|
+
var listGetNode = function(list, key, isDelete) {
|
|
18856
|
+
var prev = list;
|
|
18857
|
+
var curr;
|
|
18858
|
+
for (; (curr = prev.next) != null; prev = curr) {
|
|
18859
|
+
if (curr.key === key) {
|
|
18860
|
+
prev.next = curr.next;
|
|
18861
|
+
if (!isDelete) {
|
|
18862
|
+
curr.next = /** @type {NonNullable<typeof list.next>} */
|
|
18863
|
+
list.next;
|
|
18864
|
+
list.next = curr;
|
|
18865
|
+
}
|
|
18866
|
+
return curr;
|
|
18867
|
+
}
|
|
19050
18868
|
}
|
|
19051
|
-
|
|
19052
|
-
|
|
18869
|
+
};
|
|
18870
|
+
var listGet = function(objects, key) {
|
|
18871
|
+
if (!objects) {
|
|
18872
|
+
return void 0;
|
|
19053
18873
|
}
|
|
19054
|
-
var
|
|
19055
|
-
|
|
19056
|
-
|
|
19057
|
-
|
|
19058
|
-
var
|
|
19059
|
-
if (
|
|
19060
|
-
|
|
19061
|
-
configurable: nonConfigurable === null && desc ? desc.configurable : !nonConfigurable,
|
|
19062
|
-
enumerable: nonEnumerable === null && desc ? desc.enumerable : !nonEnumerable,
|
|
19063
|
-
value,
|
|
19064
|
-
writable: nonWritable === null && desc ? desc.writable : !nonWritable
|
|
19065
|
-
});
|
|
19066
|
-
} else if (loose || !nonEnumerable && !nonWritable && !nonConfigurable) {
|
|
19067
|
-
obj[property] = value;
|
|
18874
|
+
var node = listGetNode(objects, key);
|
|
18875
|
+
return node && node.value;
|
|
18876
|
+
};
|
|
18877
|
+
var listSet = function(objects, key, value) {
|
|
18878
|
+
var node = listGetNode(objects, key);
|
|
18879
|
+
if (node) {
|
|
18880
|
+
node.value = value;
|
|
19068
18881
|
} else {
|
|
19069
|
-
|
|
18882
|
+
objects.next = /** @type {import('./list.d.ts').ListNode<typeof value, typeof key>} */
|
|
18883
|
+
{
|
|
18884
|
+
// eslint-disable-line no-param-reassign, no-extra-parens
|
|
18885
|
+
key,
|
|
18886
|
+
next: objects.next,
|
|
18887
|
+
value
|
|
18888
|
+
};
|
|
19070
18889
|
}
|
|
19071
18890
|
};
|
|
19072
|
-
|
|
19073
|
-
|
|
19074
|
-
|
|
19075
|
-
// ../node_modules/.pnpm/has-property-descriptors@1.0.2/node_modules/has-property-descriptors/index.js
|
|
19076
|
-
var require_has_property_descriptors = __commonJS({
|
|
19077
|
-
"../node_modules/.pnpm/has-property-descriptors@1.0.2/node_modules/has-property-descriptors/index.js"(exports3, module3) {
|
|
19078
|
-
"use strict";
|
|
19079
|
-
var $defineProperty = require_es_define_property();
|
|
19080
|
-
var hasPropertyDescriptors = function hasPropertyDescriptors2() {
|
|
19081
|
-
return !!$defineProperty;
|
|
19082
|
-
};
|
|
19083
|
-
hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
|
|
19084
|
-
if (!$defineProperty) {
|
|
19085
|
-
return null;
|
|
18891
|
+
var listHas = function(objects, key) {
|
|
18892
|
+
if (!objects) {
|
|
18893
|
+
return false;
|
|
19086
18894
|
}
|
|
19087
|
-
|
|
19088
|
-
|
|
19089
|
-
|
|
19090
|
-
|
|
18895
|
+
return !!listGetNode(objects, key);
|
|
18896
|
+
};
|
|
18897
|
+
var listDelete = function(objects, key) {
|
|
18898
|
+
if (objects) {
|
|
18899
|
+
return listGetNode(objects, key, true);
|
|
19091
18900
|
}
|
|
19092
18901
|
};
|
|
19093
|
-
module3.exports =
|
|
19094
|
-
|
|
19095
|
-
|
|
19096
|
-
|
|
19097
|
-
|
|
19098
|
-
|
|
19099
|
-
|
|
19100
|
-
|
|
19101
|
-
|
|
19102
|
-
|
|
19103
|
-
|
|
19104
|
-
|
|
19105
|
-
|
|
19106
|
-
|
|
19107
|
-
|
|
19108
|
-
|
|
19109
|
-
|
|
19110
|
-
|
|
19111
|
-
|
|
19112
|
-
|
|
19113
|
-
|
|
19114
|
-
|
|
19115
|
-
|
|
19116
|
-
|
|
19117
|
-
|
|
19118
|
-
|
|
19119
|
-
|
|
19120
|
-
|
|
19121
|
-
|
|
19122
|
-
|
|
19123
|
-
|
|
19124
|
-
|
|
19125
|
-
|
|
19126
|
-
if (functionLengthIsConfigurable || functionLengthIsWritable || !loose) {
|
|
19127
|
-
if (hasDescriptors) {
|
|
19128
|
-
define(
|
|
19129
|
-
/** @type {Parameters<define>[0]} */
|
|
19130
|
-
fn,
|
|
19131
|
-
"length",
|
|
19132
|
-
length3,
|
|
19133
|
-
true,
|
|
19134
|
-
true
|
|
19135
|
-
);
|
|
19136
|
-
} else {
|
|
19137
|
-
define(
|
|
19138
|
-
/** @type {Parameters<define>[0]} */
|
|
19139
|
-
fn,
|
|
19140
|
-
"length",
|
|
19141
|
-
length3
|
|
18902
|
+
module3.exports = function getSideChannelList() {
|
|
18903
|
+
var $o;
|
|
18904
|
+
var channel = {
|
|
18905
|
+
assert: function(key) {
|
|
18906
|
+
if (!channel.has(key)) {
|
|
18907
|
+
throw new $TypeError("Side channel does not contain " + inspect(key));
|
|
18908
|
+
}
|
|
18909
|
+
},
|
|
18910
|
+
"delete": function(key) {
|
|
18911
|
+
var root = $o && $o.next;
|
|
18912
|
+
var deletedNode = listDelete($o, key);
|
|
18913
|
+
if (deletedNode && root && root === deletedNode) {
|
|
18914
|
+
$o = void 0;
|
|
18915
|
+
}
|
|
18916
|
+
return !!deletedNode;
|
|
18917
|
+
},
|
|
18918
|
+
get: function(key) {
|
|
18919
|
+
return listGet($o, key);
|
|
18920
|
+
},
|
|
18921
|
+
has: function(key) {
|
|
18922
|
+
return listHas($o, key);
|
|
18923
|
+
},
|
|
18924
|
+
set: function(key, value) {
|
|
18925
|
+
if (!$o) {
|
|
18926
|
+
$o = {
|
|
18927
|
+
next: void 0
|
|
18928
|
+
};
|
|
18929
|
+
}
|
|
18930
|
+
listSet(
|
|
18931
|
+
/** @type {NonNullable<typeof $o>} */
|
|
18932
|
+
$o,
|
|
18933
|
+
key,
|
|
18934
|
+
value
|
|
19142
18935
|
);
|
|
19143
18936
|
}
|
|
19144
|
-
}
|
|
19145
|
-
return
|
|
18937
|
+
};
|
|
18938
|
+
return channel;
|
|
19146
18939
|
};
|
|
19147
18940
|
}
|
|
19148
18941
|
});
|
|
19149
18942
|
|
|
19150
|
-
// ../node_modules/.pnpm/
|
|
19151
|
-
var
|
|
19152
|
-
"../node_modules/.pnpm/
|
|
18943
|
+
// ../node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js
|
|
18944
|
+
var require_es_object_atoms = __commonJS({
|
|
18945
|
+
"../node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js"(exports3, module3) {
|
|
19153
18946
|
"use strict";
|
|
19154
|
-
|
|
19155
|
-
var $apply = require_functionApply();
|
|
19156
|
-
var actualApply = require_actualApply();
|
|
19157
|
-
module3.exports = function applyBind() {
|
|
19158
|
-
return actualApply(bind, $apply, arguments);
|
|
19159
|
-
};
|
|
18947
|
+
module3.exports = Object;
|
|
19160
18948
|
}
|
|
19161
18949
|
});
|
|
19162
18950
|
|
|
19163
|
-
// ../node_modules/.pnpm/
|
|
19164
|
-
var
|
|
19165
|
-
"../node_modules/.pnpm/
|
|
18951
|
+
// ../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js
|
|
18952
|
+
var require_es_errors = __commonJS({
|
|
18953
|
+
"../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js"(exports3, module3) {
|
|
19166
18954
|
"use strict";
|
|
19167
|
-
|
|
19168
|
-
var $defineProperty = require_es_define_property();
|
|
19169
|
-
var callBindBasic = require_call_bind_apply_helpers();
|
|
19170
|
-
var applyBind = require_applyBind();
|
|
19171
|
-
module3.exports = function callBind(originalFunction) {
|
|
19172
|
-
var func = callBindBasic(arguments);
|
|
19173
|
-
var adjustedLength = originalFunction.length - (arguments.length - 1);
|
|
19174
|
-
return setFunctionLength(
|
|
19175
|
-
func,
|
|
19176
|
-
1 + (adjustedLength > 0 ? adjustedLength : 0),
|
|
19177
|
-
true
|
|
19178
|
-
);
|
|
19179
|
-
};
|
|
19180
|
-
if ($defineProperty) {
|
|
19181
|
-
$defineProperty(module3.exports, "apply", { value: applyBind });
|
|
19182
|
-
} else {
|
|
19183
|
-
module3.exports.apply = applyBind;
|
|
19184
|
-
}
|
|
18955
|
+
module3.exports = Error;
|
|
19185
18956
|
}
|
|
19186
18957
|
});
|
|
19187
18958
|
|
|
19188
|
-
// ../node_modules/.pnpm/
|
|
19189
|
-
var
|
|
19190
|
-
"../node_modules/.pnpm/
|
|
18959
|
+
// ../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js
|
|
18960
|
+
var require_eval = __commonJS({
|
|
18961
|
+
"../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js"(exports3, module3) {
|
|
19191
18962
|
"use strict";
|
|
19192
|
-
|
|
19193
|
-
var callBind = require_call_bind();
|
|
19194
|
-
var $indexOf = callBind(GetIntrinsic("String.prototype.indexOf"));
|
|
19195
|
-
module3.exports = function callBoundIntrinsic(name2, allowMissing) {
|
|
19196
|
-
var intrinsic = GetIntrinsic(name2, !!allowMissing);
|
|
19197
|
-
if (typeof intrinsic === "function" && $indexOf(name2, ".prototype.") > -1) {
|
|
19198
|
-
return callBind(intrinsic);
|
|
19199
|
-
}
|
|
19200
|
-
return intrinsic;
|
|
19201
|
-
};
|
|
18963
|
+
module3.exports = EvalError;
|
|
19202
18964
|
}
|
|
19203
18965
|
});
|
|
19204
18966
|
|
|
19205
|
-
// ../node_modules/.pnpm/
|
|
19206
|
-
var
|
|
19207
|
-
"../node_modules/.pnpm/
|
|
19208
|
-
|
|
18967
|
+
// ../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js
|
|
18968
|
+
var require_range = __commonJS({
|
|
18969
|
+
"../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js"(exports3, module3) {
|
|
18970
|
+
"use strict";
|
|
18971
|
+
module3.exports = RangeError;
|
|
19209
18972
|
}
|
|
19210
18973
|
});
|
|
19211
18974
|
|
|
19212
|
-
// ../node_modules/.pnpm/
|
|
19213
|
-
var
|
|
19214
|
-
"../node_modules/.pnpm/
|
|
19215
|
-
|
|
19216
|
-
|
|
19217
|
-
|
|
19218
|
-
|
|
19219
|
-
|
|
19220
|
-
|
|
19221
|
-
|
|
19222
|
-
|
|
19223
|
-
|
|
19224
|
-
|
|
19225
|
-
|
|
19226
|
-
|
|
19227
|
-
|
|
19228
|
-
|
|
19229
|
-
|
|
19230
|
-
|
|
19231
|
-
|
|
19232
|
-
|
|
19233
|
-
|
|
19234
|
-
|
|
19235
|
-
|
|
19236
|
-
|
|
19237
|
-
|
|
19238
|
-
|
|
19239
|
-
|
|
19240
|
-
|
|
19241
|
-
|
|
19242
|
-
|
|
19243
|
-
|
|
19244
|
-
|
|
19245
|
-
|
|
19246
|
-
|
|
19247
|
-
|
|
19248
|
-
|
|
19249
|
-
|
|
19250
|
-
|
|
19251
|
-
|
|
19252
|
-
|
|
19253
|
-
|
|
19254
|
-
|
|
19255
|
-
|
|
19256
|
-
|
|
19257
|
-
|
|
19258
|
-
|
|
19259
|
-
|
|
19260
|
-
|
|
19261
|
-
|
|
19262
|
-
|
|
19263
|
-
|
|
19264
|
-
|
|
19265
|
-
|
|
19266
|
-
|
|
19267
|
-
|
|
19268
|
-
|
|
19269
|
-
|
|
19270
|
-
|
|
19271
|
-
|
|
19272
|
-
|
|
19273
|
-
|
|
19274
|
-
|
|
19275
|
-
|
|
19276
|
-
|
|
19277
|
-
|
|
19278
|
-
|
|
19279
|
-
|
|
19280
|
-
|
|
19281
|
-
|
|
19282
|
-
|
|
19283
|
-
|
|
19284
|
-
|
|
19285
|
-
|
|
19286
|
-
|
|
19287
|
-
|
|
19288
|
-
|
|
19289
|
-
|
|
19290
|
-
|
|
19291
|
-
|
|
19292
|
-
|
|
19293
|
-
|
|
19294
|
-
|
|
19295
|
-
|
|
19296
|
-
|
|
19297
|
-
|
|
19298
|
-
|
|
19299
|
-
|
|
19300
|
-
|
|
19301
|
-
|
|
19302
|
-
return "null";
|
|
19303
|
-
}
|
|
19304
|
-
if (typeof obj === "boolean") {
|
|
19305
|
-
return obj ? "true" : "false";
|
|
19306
|
-
}
|
|
19307
|
-
if (typeof obj === "string") {
|
|
19308
|
-
return inspectString(obj, opts);
|
|
19309
|
-
}
|
|
19310
|
-
if (typeof obj === "number") {
|
|
19311
|
-
if (obj === 0) {
|
|
19312
|
-
return Infinity / obj > 0 ? "0" : "-0";
|
|
19313
|
-
}
|
|
19314
|
-
var str = String(obj);
|
|
19315
|
-
return numericSeparator ? addNumericSeparator(obj, str) : str;
|
|
19316
|
-
}
|
|
19317
|
-
if (typeof obj === "bigint") {
|
|
19318
|
-
var bigIntStr = String(obj) + "n";
|
|
19319
|
-
return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr;
|
|
19320
|
-
}
|
|
19321
|
-
var maxDepth = typeof opts.depth === "undefined" ? 5 : opts.depth;
|
|
19322
|
-
if (typeof depth === "undefined") {
|
|
19323
|
-
depth = 0;
|
|
19324
|
-
}
|
|
19325
|
-
if (depth >= maxDepth && maxDepth > 0 && typeof obj === "object") {
|
|
19326
|
-
return isArray2(obj) ? "[Array]" : "[Object]";
|
|
19327
|
-
}
|
|
19328
|
-
var indent = getIndent(opts, depth);
|
|
19329
|
-
if (typeof seen === "undefined") {
|
|
19330
|
-
seen = [];
|
|
19331
|
-
} else if (indexOf(seen, obj) >= 0) {
|
|
19332
|
-
return "[Circular]";
|
|
19333
|
-
}
|
|
19334
|
-
function inspect(value, from3, noIndent) {
|
|
19335
|
-
if (from3) {
|
|
19336
|
-
seen = $arrSlice.call(seen);
|
|
19337
|
-
seen.push(from3);
|
|
19338
|
-
}
|
|
19339
|
-
if (noIndent) {
|
|
19340
|
-
var newOpts = {
|
|
19341
|
-
depth: opts.depth
|
|
19342
|
-
};
|
|
19343
|
-
if (has(opts, "quoteStyle")) {
|
|
19344
|
-
newOpts.quoteStyle = opts.quoteStyle;
|
|
19345
|
-
}
|
|
19346
|
-
return inspect_(value, newOpts, depth + 1, seen);
|
|
19347
|
-
}
|
|
19348
|
-
return inspect_(value, opts, depth + 1, seen);
|
|
19349
|
-
}
|
|
19350
|
-
if (typeof obj === "function" && !isRegExp(obj)) {
|
|
19351
|
-
var name2 = nameOf(obj);
|
|
19352
|
-
var keys3 = arrObjKeys(obj, inspect);
|
|
19353
|
-
return "[Function" + (name2 ? ": " + name2 : " (anonymous)") + "]" + (keys3.length > 0 ? " { " + $join.call(keys3, ", ") + " }" : "");
|
|
19354
|
-
}
|
|
19355
|
-
if (isSymbol(obj)) {
|
|
19356
|
-
var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\(.*\))_[^)]*$/, "$1") : symToString.call(obj);
|
|
19357
|
-
return typeof obj === "object" && !hasShammedSymbols ? markBoxed(symString) : symString;
|
|
19358
|
-
}
|
|
19359
|
-
if (isElement(obj)) {
|
|
19360
|
-
var s = "<" + $toLowerCase.call(String(obj.nodeName));
|
|
19361
|
-
var attrs = obj.attributes || [];
|
|
19362
|
-
for (var i = 0; i < attrs.length; i++) {
|
|
19363
|
-
s += " " + attrs[i].name + "=" + wrapQuotes(quote(attrs[i].value), "double", opts);
|
|
19364
|
-
}
|
|
19365
|
-
s += ">";
|
|
19366
|
-
if (obj.childNodes && obj.childNodes.length) {
|
|
19367
|
-
s += "...";
|
|
19368
|
-
}
|
|
19369
|
-
s += "</" + $toLowerCase.call(String(obj.nodeName)) + ">";
|
|
19370
|
-
return s;
|
|
19371
|
-
}
|
|
19372
|
-
if (isArray2(obj)) {
|
|
19373
|
-
if (obj.length === 0) {
|
|
19374
|
-
return "[]";
|
|
19375
|
-
}
|
|
19376
|
-
var xs = arrObjKeys(obj, inspect);
|
|
19377
|
-
if (indent && !singleLineValues(xs)) {
|
|
19378
|
-
return "[" + indentedJoin(xs, indent) + "]";
|
|
19379
|
-
}
|
|
19380
|
-
return "[ " + $join.call(xs, ", ") + " ]";
|
|
19381
|
-
}
|
|
19382
|
-
if (isError(obj)) {
|
|
19383
|
-
var parts = arrObjKeys(obj, inspect);
|
|
19384
|
-
if (!("cause" in Error.prototype) && "cause" in obj && !isEnumerable.call(obj, "cause")) {
|
|
19385
|
-
return "{ [" + String(obj) + "] " + $join.call($concat.call("[cause]: " + inspect(obj.cause), parts), ", ") + " }";
|
|
19386
|
-
}
|
|
19387
|
-
if (parts.length === 0) {
|
|
19388
|
-
return "[" + String(obj) + "]";
|
|
19389
|
-
}
|
|
19390
|
-
return "{ [" + String(obj) + "] " + $join.call(parts, ", ") + " }";
|
|
18975
|
+
// ../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js
|
|
18976
|
+
var require_ref = __commonJS({
|
|
18977
|
+
"../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js"(exports3, module3) {
|
|
18978
|
+
"use strict";
|
|
18979
|
+
module3.exports = ReferenceError;
|
|
18980
|
+
}
|
|
18981
|
+
});
|
|
18982
|
+
|
|
18983
|
+
// ../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js
|
|
18984
|
+
var require_syntax = __commonJS({
|
|
18985
|
+
"../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js"(exports3, module3) {
|
|
18986
|
+
"use strict";
|
|
18987
|
+
module3.exports = SyntaxError;
|
|
18988
|
+
}
|
|
18989
|
+
});
|
|
18990
|
+
|
|
18991
|
+
// ../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js
|
|
18992
|
+
var require_uri = __commonJS({
|
|
18993
|
+
"../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js"(exports3, module3) {
|
|
18994
|
+
"use strict";
|
|
18995
|
+
module3.exports = URIError;
|
|
18996
|
+
}
|
|
18997
|
+
});
|
|
18998
|
+
|
|
18999
|
+
// ../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js
|
|
19000
|
+
var require_abs = __commonJS({
|
|
19001
|
+
"../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js"(exports3, module3) {
|
|
19002
|
+
"use strict";
|
|
19003
|
+
module3.exports = Math.abs;
|
|
19004
|
+
}
|
|
19005
|
+
});
|
|
19006
|
+
|
|
19007
|
+
// ../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js
|
|
19008
|
+
var require_floor = __commonJS({
|
|
19009
|
+
"../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js"(exports3, module3) {
|
|
19010
|
+
"use strict";
|
|
19011
|
+
module3.exports = Math.floor;
|
|
19012
|
+
}
|
|
19013
|
+
});
|
|
19014
|
+
|
|
19015
|
+
// ../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js
|
|
19016
|
+
var require_max = __commonJS({
|
|
19017
|
+
"../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js"(exports3, module3) {
|
|
19018
|
+
"use strict";
|
|
19019
|
+
module3.exports = Math.max;
|
|
19020
|
+
}
|
|
19021
|
+
});
|
|
19022
|
+
|
|
19023
|
+
// ../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js
|
|
19024
|
+
var require_min = __commonJS({
|
|
19025
|
+
"../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js"(exports3, module3) {
|
|
19026
|
+
"use strict";
|
|
19027
|
+
module3.exports = Math.min;
|
|
19028
|
+
}
|
|
19029
|
+
});
|
|
19030
|
+
|
|
19031
|
+
// ../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js
|
|
19032
|
+
var require_pow = __commonJS({
|
|
19033
|
+
"../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js"(exports3, module3) {
|
|
19034
|
+
"use strict";
|
|
19035
|
+
module3.exports = Math.pow;
|
|
19036
|
+
}
|
|
19037
|
+
});
|
|
19038
|
+
|
|
19039
|
+
// ../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js
|
|
19040
|
+
var require_round = __commonJS({
|
|
19041
|
+
"../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js"(exports3, module3) {
|
|
19042
|
+
"use strict";
|
|
19043
|
+
module3.exports = Math.round;
|
|
19044
|
+
}
|
|
19045
|
+
});
|
|
19046
|
+
|
|
19047
|
+
// ../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js
|
|
19048
|
+
var require_isNaN = __commonJS({
|
|
19049
|
+
"../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js"(exports3, module3) {
|
|
19050
|
+
"use strict";
|
|
19051
|
+
module3.exports = Number.isNaN || function isNaN4(a) {
|
|
19052
|
+
return a !== a;
|
|
19053
|
+
};
|
|
19054
|
+
}
|
|
19055
|
+
});
|
|
19056
|
+
|
|
19057
|
+
// ../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js
|
|
19058
|
+
var require_sign = __commonJS({
|
|
19059
|
+
"../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js"(exports3, module3) {
|
|
19060
|
+
"use strict";
|
|
19061
|
+
var $isNaN = require_isNaN();
|
|
19062
|
+
module3.exports = function sign(number) {
|
|
19063
|
+
if ($isNaN(number) || number === 0) {
|
|
19064
|
+
return number;
|
|
19391
19065
|
}
|
|
19392
|
-
|
|
19393
|
-
|
|
19394
|
-
|
|
19395
|
-
|
|
19396
|
-
|
|
19397
|
-
|
|
19066
|
+
return number < 0 ? -1 : 1;
|
|
19067
|
+
};
|
|
19068
|
+
}
|
|
19069
|
+
});
|
|
19070
|
+
|
|
19071
|
+
// ../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js
|
|
19072
|
+
var require_gOPD = __commonJS({
|
|
19073
|
+
"../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js"(exports3, module3) {
|
|
19074
|
+
"use strict";
|
|
19075
|
+
module3.exports = Object.getOwnPropertyDescriptor;
|
|
19076
|
+
}
|
|
19077
|
+
});
|
|
19078
|
+
|
|
19079
|
+
// ../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js
|
|
19080
|
+
var require_gopd = __commonJS({
|
|
19081
|
+
"../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js"(exports3, module3) {
|
|
19082
|
+
"use strict";
|
|
19083
|
+
var $gOPD = require_gOPD();
|
|
19084
|
+
if ($gOPD) {
|
|
19085
|
+
try {
|
|
19086
|
+
$gOPD([], "length");
|
|
19087
|
+
} catch (e) {
|
|
19088
|
+
$gOPD = null;
|
|
19398
19089
|
}
|
|
19399
|
-
|
|
19400
|
-
|
|
19401
|
-
|
|
19402
|
-
|
|
19403
|
-
|
|
19404
|
-
|
|
19405
|
-
|
|
19406
|
-
|
|
19090
|
+
}
|
|
19091
|
+
module3.exports = $gOPD;
|
|
19092
|
+
}
|
|
19093
|
+
});
|
|
19094
|
+
|
|
19095
|
+
// ../node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js
|
|
19096
|
+
var require_es_define_property = __commonJS({
|
|
19097
|
+
"../node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js"(exports3, module3) {
|
|
19098
|
+
"use strict";
|
|
19099
|
+
var $defineProperty = Object.defineProperty || false;
|
|
19100
|
+
if ($defineProperty) {
|
|
19101
|
+
try {
|
|
19102
|
+
$defineProperty({}, "a", { value: 1 });
|
|
19103
|
+
} catch (e) {
|
|
19104
|
+
$defineProperty = false;
|
|
19407
19105
|
}
|
|
19408
|
-
|
|
19409
|
-
|
|
19410
|
-
|
|
19411
|
-
|
|
19412
|
-
|
|
19413
|
-
|
|
19414
|
-
|
|
19415
|
-
|
|
19106
|
+
}
|
|
19107
|
+
module3.exports = $defineProperty;
|
|
19108
|
+
}
|
|
19109
|
+
});
|
|
19110
|
+
|
|
19111
|
+
// ../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js
|
|
19112
|
+
var require_shams = __commonJS({
|
|
19113
|
+
"../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js"(exports3, module3) {
|
|
19114
|
+
"use strict";
|
|
19115
|
+
module3.exports = function hasSymbols() {
|
|
19116
|
+
if (typeof Symbol !== "function" || typeof Object.getOwnPropertySymbols !== "function") {
|
|
19117
|
+
return false;
|
|
19416
19118
|
}
|
|
19417
|
-
if (
|
|
19418
|
-
return
|
|
19119
|
+
if (typeof Symbol.iterator === "symbol") {
|
|
19120
|
+
return true;
|
|
19419
19121
|
}
|
|
19420
|
-
|
|
19421
|
-
|
|
19122
|
+
var obj = {};
|
|
19123
|
+
var sym = Symbol("test");
|
|
19124
|
+
var symObj = Object(sym);
|
|
19125
|
+
if (typeof sym === "string") {
|
|
19126
|
+
return false;
|
|
19422
19127
|
}
|
|
19423
|
-
if (
|
|
19424
|
-
return
|
|
19128
|
+
if (Object.prototype.toString.call(sym) !== "[object Symbol]") {
|
|
19129
|
+
return false;
|
|
19425
19130
|
}
|
|
19426
|
-
if (
|
|
19427
|
-
return
|
|
19131
|
+
if (Object.prototype.toString.call(symObj) !== "[object Symbol]") {
|
|
19132
|
+
return false;
|
|
19428
19133
|
}
|
|
19429
|
-
|
|
19430
|
-
|
|
19134
|
+
var symVal = 42;
|
|
19135
|
+
obj[sym] = symVal;
|
|
19136
|
+
for (var _ in obj) {
|
|
19137
|
+
return false;
|
|
19431
19138
|
}
|
|
19432
|
-
if (
|
|
19433
|
-
return
|
|
19139
|
+
if (typeof Object.keys === "function" && Object.keys(obj).length !== 0) {
|
|
19140
|
+
return false;
|
|
19434
19141
|
}
|
|
19435
|
-
if (
|
|
19436
|
-
return
|
|
19142
|
+
if (typeof Object.getOwnPropertyNames === "function" && Object.getOwnPropertyNames(obj).length !== 0) {
|
|
19143
|
+
return false;
|
|
19437
19144
|
}
|
|
19438
|
-
|
|
19439
|
-
|
|
19145
|
+
var syms = Object.getOwnPropertySymbols(obj);
|
|
19146
|
+
if (syms.length !== 1 || syms[0] !== sym) {
|
|
19147
|
+
return false;
|
|
19440
19148
|
}
|
|
19441
|
-
if (
|
|
19442
|
-
return
|
|
19149
|
+
if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) {
|
|
19150
|
+
return false;
|
|
19443
19151
|
}
|
|
19444
|
-
if (
|
|
19445
|
-
var
|
|
19446
|
-
|
|
19447
|
-
|
|
19448
|
-
|
|
19449
|
-
|
|
19450
|
-
|
|
19451
|
-
if (ys.length === 0) {
|
|
19452
|
-
return tag + "{}";
|
|
19453
|
-
}
|
|
19454
|
-
if (indent) {
|
|
19455
|
-
return tag + "{" + indentedJoin(ys, indent) + "}";
|
|
19152
|
+
if (typeof Object.getOwnPropertyDescriptor === "function") {
|
|
19153
|
+
var descriptor = (
|
|
19154
|
+
/** @type {PropertyDescriptor} */
|
|
19155
|
+
Object.getOwnPropertyDescriptor(obj, sym)
|
|
19156
|
+
);
|
|
19157
|
+
if (descriptor.value !== symVal || descriptor.enumerable !== true) {
|
|
19158
|
+
return false;
|
|
19456
19159
|
}
|
|
19457
|
-
return tag + "{ " + $join.call(ys, ", ") + " }";
|
|
19458
19160
|
}
|
|
19459
|
-
return
|
|
19161
|
+
return true;
|
|
19460
19162
|
};
|
|
19461
|
-
|
|
19462
|
-
|
|
19463
|
-
|
|
19464
|
-
|
|
19465
|
-
|
|
19466
|
-
|
|
19467
|
-
|
|
19468
|
-
|
|
19469
|
-
|
|
19470
|
-
|
|
19471
|
-
|
|
19472
|
-
function isDate(obj) {
|
|
19473
|
-
return toStr(obj) === "[object Date]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
|
|
19474
|
-
}
|
|
19475
|
-
function isRegExp(obj) {
|
|
19476
|
-
return toStr(obj) === "[object RegExp]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
|
|
19477
|
-
}
|
|
19478
|
-
function isError(obj) {
|
|
19479
|
-
return toStr(obj) === "[object Error]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
|
|
19480
|
-
}
|
|
19481
|
-
function isString(obj) {
|
|
19482
|
-
return toStr(obj) === "[object String]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
|
|
19483
|
-
}
|
|
19484
|
-
function isNumber(obj) {
|
|
19485
|
-
return toStr(obj) === "[object Number]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
|
|
19486
|
-
}
|
|
19487
|
-
function isBoolean(obj) {
|
|
19488
|
-
return toStr(obj) === "[object Boolean]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
|
|
19489
|
-
}
|
|
19490
|
-
function isSymbol(obj) {
|
|
19491
|
-
if (hasShammedSymbols) {
|
|
19492
|
-
return obj && typeof obj === "object" && obj instanceof Symbol;
|
|
19493
|
-
}
|
|
19494
|
-
if (typeof obj === "symbol") {
|
|
19495
|
-
return true;
|
|
19496
|
-
}
|
|
19497
|
-
if (!obj || typeof obj !== "object" || !symToString) {
|
|
19163
|
+
}
|
|
19164
|
+
});
|
|
19165
|
+
|
|
19166
|
+
// ../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js
|
|
19167
|
+
var require_has_symbols = __commonJS({
|
|
19168
|
+
"../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js"(exports3, module3) {
|
|
19169
|
+
"use strict";
|
|
19170
|
+
var origSymbol = typeof Symbol !== "undefined" && Symbol;
|
|
19171
|
+
var hasSymbolSham = require_shams();
|
|
19172
|
+
module3.exports = function hasNativeSymbols() {
|
|
19173
|
+
if (typeof origSymbol !== "function") {
|
|
19498
19174
|
return false;
|
|
19499
19175
|
}
|
|
19500
|
-
|
|
19501
|
-
|
|
19502
|
-
return true;
|
|
19503
|
-
} catch (e) {
|
|
19176
|
+
if (typeof Symbol !== "function") {
|
|
19177
|
+
return false;
|
|
19504
19178
|
}
|
|
19505
|
-
|
|
19506
|
-
}
|
|
19507
|
-
function isBigInt(obj) {
|
|
19508
|
-
if (!obj || typeof obj !== "object" || !bigIntValueOf) {
|
|
19179
|
+
if (typeof origSymbol("foo") !== "symbol") {
|
|
19509
19180
|
return false;
|
|
19510
19181
|
}
|
|
19511
|
-
|
|
19512
|
-
|
|
19513
|
-
return true;
|
|
19514
|
-
} catch (e) {
|
|
19182
|
+
if (typeof Symbol("bar") !== "symbol") {
|
|
19183
|
+
return false;
|
|
19515
19184
|
}
|
|
19516
|
-
return
|
|
19517
|
-
}
|
|
19518
|
-
var hasOwn = Object.prototype.hasOwnProperty || function(key) {
|
|
19519
|
-
return key in this;
|
|
19185
|
+
return hasSymbolSham();
|
|
19520
19186
|
};
|
|
19521
|
-
|
|
19522
|
-
|
|
19523
|
-
|
|
19524
|
-
|
|
19525
|
-
|
|
19526
|
-
|
|
19527
|
-
|
|
19528
|
-
|
|
19529
|
-
|
|
19187
|
+
}
|
|
19188
|
+
});
|
|
19189
|
+
|
|
19190
|
+
// ../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js
|
|
19191
|
+
var require_Reflect_getPrototypeOf = __commonJS({
|
|
19192
|
+
"../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js"(exports3, module3) {
|
|
19193
|
+
"use strict";
|
|
19194
|
+
module3.exports = typeof Reflect !== "undefined" && Reflect.getPrototypeOf || null;
|
|
19195
|
+
}
|
|
19196
|
+
});
|
|
19197
|
+
|
|
19198
|
+
// ../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js
|
|
19199
|
+
var require_Object_getPrototypeOf = __commonJS({
|
|
19200
|
+
"../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js"(exports3, module3) {
|
|
19201
|
+
"use strict";
|
|
19202
|
+
var $Object = require_es_object_atoms();
|
|
19203
|
+
module3.exports = $Object.getPrototypeOf || null;
|
|
19204
|
+
}
|
|
19205
|
+
});
|
|
19206
|
+
|
|
19207
|
+
// ../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js
|
|
19208
|
+
var require_implementation = __commonJS({
|
|
19209
|
+
"../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js"(exports3, module3) {
|
|
19210
|
+
"use strict";
|
|
19211
|
+
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
19212
|
+
var toStr = Object.prototype.toString;
|
|
19213
|
+
var max4 = Math.max;
|
|
19214
|
+
var funcType = "[object Function]";
|
|
19215
|
+
var concatty = function concatty2(a, b) {
|
|
19216
|
+
var arr = [];
|
|
19217
|
+
for (var i = 0; i < a.length; i += 1) {
|
|
19218
|
+
arr[i] = a[i];
|
|
19530
19219
|
}
|
|
19531
|
-
var
|
|
19532
|
-
|
|
19533
|
-
return m[1];
|
|
19220
|
+
for (var j = 0; j < b.length; j += 1) {
|
|
19221
|
+
arr[j + a.length] = b[j];
|
|
19534
19222
|
}
|
|
19535
|
-
return
|
|
19536
|
-
}
|
|
19537
|
-
function
|
|
19538
|
-
|
|
19539
|
-
|
|
19223
|
+
return arr;
|
|
19224
|
+
};
|
|
19225
|
+
var slicy = function slicy2(arrLike, offset) {
|
|
19226
|
+
var arr = [];
|
|
19227
|
+
for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
|
|
19228
|
+
arr[j] = arrLike[i];
|
|
19540
19229
|
}
|
|
19541
|
-
|
|
19542
|
-
|
|
19543
|
-
|
|
19230
|
+
return arr;
|
|
19231
|
+
};
|
|
19232
|
+
var joiny = function(arr, joiner) {
|
|
19233
|
+
var str = "";
|
|
19234
|
+
for (var i = 0; i < arr.length; i += 1) {
|
|
19235
|
+
str += arr[i];
|
|
19236
|
+
if (i + 1 < arr.length) {
|
|
19237
|
+
str += joiner;
|
|
19544
19238
|
}
|
|
19545
19239
|
}
|
|
19546
|
-
return
|
|
19547
|
-
}
|
|
19548
|
-
function
|
|
19549
|
-
|
|
19550
|
-
|
|
19240
|
+
return str;
|
|
19241
|
+
};
|
|
19242
|
+
module3.exports = function bind(that) {
|
|
19243
|
+
var target = this;
|
|
19244
|
+
if (typeof target !== "function" || toStr.apply(target) !== funcType) {
|
|
19245
|
+
throw new TypeError(ERROR_MESSAGE + target);
|
|
19551
19246
|
}
|
|
19552
|
-
|
|
19553
|
-
|
|
19554
|
-
|
|
19555
|
-
|
|
19556
|
-
|
|
19557
|
-
|
|
19247
|
+
var args2 = slicy(arguments, 1);
|
|
19248
|
+
var bound;
|
|
19249
|
+
var binder = function() {
|
|
19250
|
+
if (this instanceof bound) {
|
|
19251
|
+
var result = target.apply(
|
|
19252
|
+
this,
|
|
19253
|
+
concatty(args2, arguments)
|
|
19254
|
+
);
|
|
19255
|
+
if (Object(result) === result) {
|
|
19256
|
+
return result;
|
|
19257
|
+
}
|
|
19258
|
+
return this;
|
|
19558
19259
|
}
|
|
19559
|
-
return
|
|
19560
|
-
|
|
19260
|
+
return target.apply(
|
|
19261
|
+
that,
|
|
19262
|
+
concatty(args2, arguments)
|
|
19263
|
+
);
|
|
19264
|
+
};
|
|
19265
|
+
var boundLength = max4(0, target.length - args2.length);
|
|
19266
|
+
var boundArgs = [];
|
|
19267
|
+
for (var i = 0; i < boundLength; i++) {
|
|
19268
|
+
boundArgs[i] = "$" + i;
|
|
19561
19269
|
}
|
|
19562
|
-
return
|
|
19563
|
-
|
|
19564
|
-
|
|
19565
|
-
|
|
19566
|
-
|
|
19270
|
+
bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
19271
|
+
if (target.prototype) {
|
|
19272
|
+
var Empty = function Empty2() {
|
|
19273
|
+
};
|
|
19274
|
+
Empty.prototype = target.prototype;
|
|
19275
|
+
bound.prototype = new Empty();
|
|
19276
|
+
Empty.prototype = null;
|
|
19567
19277
|
}
|
|
19568
|
-
|
|
19569
|
-
|
|
19570
|
-
|
|
19571
|
-
|
|
19572
|
-
|
|
19573
|
-
|
|
19574
|
-
|
|
19575
|
-
|
|
19576
|
-
|
|
19278
|
+
return bound;
|
|
19279
|
+
};
|
|
19280
|
+
}
|
|
19281
|
+
});
|
|
19282
|
+
|
|
19283
|
+
// ../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js
|
|
19284
|
+
var require_function_bind = __commonJS({
|
|
19285
|
+
"../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"(exports3, module3) {
|
|
19286
|
+
"use strict";
|
|
19287
|
+
var implementation = require_implementation();
|
|
19288
|
+
module3.exports = Function.prototype.bind || implementation;
|
|
19289
|
+
}
|
|
19290
|
+
});
|
|
19291
|
+
|
|
19292
|
+
// ../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionCall.js
|
|
19293
|
+
var require_functionCall = __commonJS({
|
|
19294
|
+
"../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionCall.js"(exports3, module3) {
|
|
19295
|
+
"use strict";
|
|
19296
|
+
module3.exports = Function.prototype.call;
|
|
19297
|
+
}
|
|
19298
|
+
});
|
|
19299
|
+
|
|
19300
|
+
// ../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionApply.js
|
|
19301
|
+
var require_functionApply = __commonJS({
|
|
19302
|
+
"../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionApply.js"(exports3, module3) {
|
|
19303
|
+
"use strict";
|
|
19304
|
+
module3.exports = Function.prototype.apply;
|
|
19305
|
+
}
|
|
19306
|
+
});
|
|
19307
|
+
|
|
19308
|
+
// ../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/reflectApply.js
|
|
19309
|
+
var require_reflectApply = __commonJS({
|
|
19310
|
+
"../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/reflectApply.js"(exports3, module3) {
|
|
19311
|
+
"use strict";
|
|
19312
|
+
module3.exports = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
|
|
19313
|
+
}
|
|
19314
|
+
});
|
|
19315
|
+
|
|
19316
|
+
// ../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/actualApply.js
|
|
19317
|
+
var require_actualApply = __commonJS({
|
|
19318
|
+
"../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/actualApply.js"(exports3, module3) {
|
|
19319
|
+
"use strict";
|
|
19320
|
+
var bind = require_function_bind();
|
|
19321
|
+
var $apply = require_functionApply();
|
|
19322
|
+
var $call = require_functionCall();
|
|
19323
|
+
var $reflectApply = require_reflectApply();
|
|
19324
|
+
module3.exports = $reflectApply || bind.call($call, $apply);
|
|
19325
|
+
}
|
|
19326
|
+
});
|
|
19327
|
+
|
|
19328
|
+
// ../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/index.js
|
|
19329
|
+
var require_call_bind_apply_helpers = __commonJS({
|
|
19330
|
+
"../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/index.js"(exports3, module3) {
|
|
19331
|
+
"use strict";
|
|
19332
|
+
var bind = require_function_bind();
|
|
19333
|
+
var $TypeError = require_type();
|
|
19334
|
+
var $call = require_functionCall();
|
|
19335
|
+
var $actualApply = require_actualApply();
|
|
19336
|
+
module3.exports = function callBindBasic(args2) {
|
|
19337
|
+
if (args2.length < 1 || typeof args2[0] !== "function") {
|
|
19338
|
+
throw new $TypeError("a function is required");
|
|
19339
|
+
}
|
|
19340
|
+
return $actualApply(bind, $call, args2);
|
|
19341
|
+
};
|
|
19342
|
+
}
|
|
19343
|
+
});
|
|
19344
|
+
|
|
19345
|
+
// ../node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js
|
|
19346
|
+
var require_get = __commonJS({
|
|
19347
|
+
"../node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js"(exports3, module3) {
|
|
19348
|
+
"use strict";
|
|
19349
|
+
var callBind = require_call_bind_apply_helpers();
|
|
19350
|
+
var gOPD = require_gopd();
|
|
19351
|
+
var hasProtoAccessor;
|
|
19352
|
+
try {
|
|
19353
|
+
hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */
|
|
19354
|
+
[].__proto__ === Array.prototype;
|
|
19355
|
+
} catch (e) {
|
|
19356
|
+
if (!e || typeof e !== "object" || !("code" in e) || e.code !== "ERR_PROTO_ACCESS") {
|
|
19357
|
+
throw e;
|
|
19577
19358
|
}
|
|
19578
|
-
return false;
|
|
19579
19359
|
}
|
|
19580
|
-
|
|
19581
|
-
|
|
19582
|
-
|
|
19360
|
+
var desc = !!hasProtoAccessor && gOPD && gOPD(
|
|
19361
|
+
Object.prototype,
|
|
19362
|
+
/** @type {keyof typeof Object.prototype} */
|
|
19363
|
+
"__proto__"
|
|
19364
|
+
);
|
|
19365
|
+
var $Object = Object;
|
|
19366
|
+
var $getPrototypeOf = $Object.getPrototypeOf;
|
|
19367
|
+
module3.exports = desc && typeof desc.get === "function" ? callBind([desc.get]) : typeof $getPrototypeOf === "function" ? (
|
|
19368
|
+
/** @type {import('./get')} */
|
|
19369
|
+
function getDunder(value) {
|
|
19370
|
+
return $getPrototypeOf(value == null ? value : $Object(value));
|
|
19371
|
+
}
|
|
19372
|
+
) : false;
|
|
19373
|
+
}
|
|
19374
|
+
});
|
|
19375
|
+
|
|
19376
|
+
// ../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js
|
|
19377
|
+
var require_get_proto = __commonJS({
|
|
19378
|
+
"../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js"(exports3, module3) {
|
|
19379
|
+
"use strict";
|
|
19380
|
+
var reflectGetProto = require_Reflect_getPrototypeOf();
|
|
19381
|
+
var originalGetProto = require_Object_getPrototypeOf();
|
|
19382
|
+
var getDunderProto = require_get();
|
|
19383
|
+
module3.exports = reflectGetProto ? function getProto(O) {
|
|
19384
|
+
return reflectGetProto(O);
|
|
19385
|
+
} : originalGetProto ? function getProto(O) {
|
|
19386
|
+
if (!O || typeof O !== "object" && typeof O !== "function") {
|
|
19387
|
+
throw new TypeError("getProto: not an object");
|
|
19583
19388
|
}
|
|
19389
|
+
return originalGetProto(O);
|
|
19390
|
+
} : getDunderProto ? function getProto(O) {
|
|
19391
|
+
return getDunderProto(O);
|
|
19392
|
+
} : null;
|
|
19393
|
+
}
|
|
19394
|
+
});
|
|
19395
|
+
|
|
19396
|
+
// ../node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js
|
|
19397
|
+
var require_hasown = __commonJS({
|
|
19398
|
+
"../node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js"(exports3, module3) {
|
|
19399
|
+
"use strict";
|
|
19400
|
+
var call = Function.prototype.call;
|
|
19401
|
+
var $hasOwn = Object.prototype.hasOwnProperty;
|
|
19402
|
+
var bind = require_function_bind();
|
|
19403
|
+
module3.exports = bind.call(call, $hasOwn);
|
|
19404
|
+
}
|
|
19405
|
+
});
|
|
19406
|
+
|
|
19407
|
+
// ../node_modules/.pnpm/get-intrinsic@1.2.7/node_modules/get-intrinsic/index.js
|
|
19408
|
+
var require_get_intrinsic = __commonJS({
|
|
19409
|
+
"../node_modules/.pnpm/get-intrinsic@1.2.7/node_modules/get-intrinsic/index.js"(exports3, module3) {
|
|
19410
|
+
"use strict";
|
|
19411
|
+
var undefined2;
|
|
19412
|
+
var $Object = require_es_object_atoms();
|
|
19413
|
+
var $Error = require_es_errors();
|
|
19414
|
+
var $EvalError = require_eval();
|
|
19415
|
+
var $RangeError = require_range();
|
|
19416
|
+
var $ReferenceError = require_ref();
|
|
19417
|
+
var $SyntaxError = require_syntax();
|
|
19418
|
+
var $TypeError = require_type();
|
|
19419
|
+
var $URIError = require_uri();
|
|
19420
|
+
var abs2 = require_abs();
|
|
19421
|
+
var floor4 = require_floor();
|
|
19422
|
+
var max4 = require_max();
|
|
19423
|
+
var min4 = require_min();
|
|
19424
|
+
var pow = require_pow();
|
|
19425
|
+
var round = require_round();
|
|
19426
|
+
var sign = require_sign();
|
|
19427
|
+
var $Function = Function;
|
|
19428
|
+
var getEvalledConstructor = function(expressionSyntax) {
|
|
19584
19429
|
try {
|
|
19585
|
-
|
|
19586
|
-
return true;
|
|
19430
|
+
return $Function('"use strict"; return (' + expressionSyntax + ").constructor;")();
|
|
19587
19431
|
} catch (e) {
|
|
19588
19432
|
}
|
|
19589
|
-
|
|
19590
|
-
|
|
19591
|
-
|
|
19592
|
-
|
|
19593
|
-
|
|
19594
|
-
|
|
19433
|
+
};
|
|
19434
|
+
var $gOPD = require_gopd();
|
|
19435
|
+
var $defineProperty = require_es_define_property();
|
|
19436
|
+
var throwTypeError = function() {
|
|
19437
|
+
throw new $TypeError();
|
|
19438
|
+
};
|
|
19439
|
+
var ThrowTypeError = $gOPD ? function() {
|
|
19595
19440
|
try {
|
|
19596
|
-
|
|
19441
|
+
arguments.callee;
|
|
19442
|
+
return throwTypeError;
|
|
19443
|
+
} catch (calleeThrows) {
|
|
19597
19444
|
try {
|
|
19598
|
-
|
|
19599
|
-
} catch (
|
|
19600
|
-
return
|
|
19445
|
+
return $gOPD(arguments, "callee").get;
|
|
19446
|
+
} catch (gOPDthrows) {
|
|
19447
|
+
return throwTypeError;
|
|
19601
19448
|
}
|
|
19602
|
-
return x instanceof Set;
|
|
19603
|
-
} catch (e) {
|
|
19604
|
-
}
|
|
19605
|
-
return false;
|
|
19606
|
-
}
|
|
19607
|
-
function isWeakSet(x) {
|
|
19608
|
-
if (!weakSetHas || !x || typeof x !== "object") {
|
|
19609
|
-
return false;
|
|
19610
19449
|
}
|
|
19450
|
+
}() : throwTypeError;
|
|
19451
|
+
var hasSymbols = require_has_symbols()();
|
|
19452
|
+
var getProto = require_get_proto();
|
|
19453
|
+
var $ObjectGPO = require_Object_getPrototypeOf();
|
|
19454
|
+
var $ReflectGPO = require_Reflect_getPrototypeOf();
|
|
19455
|
+
var $apply = require_functionApply();
|
|
19456
|
+
var $call = require_functionCall();
|
|
19457
|
+
var needsEval = {};
|
|
19458
|
+
var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined2 : getProto(Uint8Array);
|
|
19459
|
+
var INTRINSICS = {
|
|
19460
|
+
__proto__: null,
|
|
19461
|
+
"%AggregateError%": typeof AggregateError === "undefined" ? undefined2 : AggregateError,
|
|
19462
|
+
"%Array%": Array,
|
|
19463
|
+
"%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined2 : ArrayBuffer,
|
|
19464
|
+
"%ArrayIteratorPrototype%": hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined2,
|
|
19465
|
+
"%AsyncFromSyncIteratorPrototype%": undefined2,
|
|
19466
|
+
"%AsyncFunction%": needsEval,
|
|
19467
|
+
"%AsyncGenerator%": needsEval,
|
|
19468
|
+
"%AsyncGeneratorFunction%": needsEval,
|
|
19469
|
+
"%AsyncIteratorPrototype%": needsEval,
|
|
19470
|
+
"%Atomics%": typeof Atomics === "undefined" ? undefined2 : Atomics,
|
|
19471
|
+
"%BigInt%": typeof BigInt === "undefined" ? undefined2 : BigInt,
|
|
19472
|
+
"%BigInt64Array%": typeof BigInt64Array === "undefined" ? undefined2 : BigInt64Array,
|
|
19473
|
+
"%BigUint64Array%": typeof BigUint64Array === "undefined" ? undefined2 : BigUint64Array,
|
|
19474
|
+
"%Boolean%": Boolean,
|
|
19475
|
+
"%DataView%": typeof DataView === "undefined" ? undefined2 : DataView,
|
|
19476
|
+
"%Date%": Date,
|
|
19477
|
+
"%decodeURI%": decodeURI,
|
|
19478
|
+
"%decodeURIComponent%": decodeURIComponent,
|
|
19479
|
+
"%encodeURI%": encodeURI,
|
|
19480
|
+
"%encodeURIComponent%": encodeURIComponent,
|
|
19481
|
+
"%Error%": $Error,
|
|
19482
|
+
"%eval%": eval,
|
|
19483
|
+
// eslint-disable-line no-eval
|
|
19484
|
+
"%EvalError%": $EvalError,
|
|
19485
|
+
"%Float32Array%": typeof Float32Array === "undefined" ? undefined2 : Float32Array,
|
|
19486
|
+
"%Float64Array%": typeof Float64Array === "undefined" ? undefined2 : Float64Array,
|
|
19487
|
+
"%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined2 : FinalizationRegistry,
|
|
19488
|
+
"%Function%": $Function,
|
|
19489
|
+
"%GeneratorFunction%": needsEval,
|
|
19490
|
+
"%Int8Array%": typeof Int8Array === "undefined" ? undefined2 : Int8Array,
|
|
19491
|
+
"%Int16Array%": typeof Int16Array === "undefined" ? undefined2 : Int16Array,
|
|
19492
|
+
"%Int32Array%": typeof Int32Array === "undefined" ? undefined2 : Int32Array,
|
|
19493
|
+
"%isFinite%": isFinite,
|
|
19494
|
+
"%isNaN%": isNaN,
|
|
19495
|
+
"%IteratorPrototype%": hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined2,
|
|
19496
|
+
"%JSON%": typeof JSON === "object" ? JSON : undefined2,
|
|
19497
|
+
"%Map%": typeof Map === "undefined" ? undefined2 : Map,
|
|
19498
|
+
"%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
19499
|
+
"%Math%": Math,
|
|
19500
|
+
"%Number%": Number,
|
|
19501
|
+
"%Object%": $Object,
|
|
19502
|
+
"%Object.getOwnPropertyDescriptor%": $gOPD,
|
|
19503
|
+
"%parseFloat%": parseFloat,
|
|
19504
|
+
"%parseInt%": parseInt,
|
|
19505
|
+
"%Promise%": typeof Promise === "undefined" ? undefined2 : Promise,
|
|
19506
|
+
"%Proxy%": typeof Proxy === "undefined" ? undefined2 : Proxy,
|
|
19507
|
+
"%RangeError%": $RangeError,
|
|
19508
|
+
"%ReferenceError%": $ReferenceError,
|
|
19509
|
+
"%Reflect%": typeof Reflect === "undefined" ? undefined2 : Reflect,
|
|
19510
|
+
"%RegExp%": RegExp,
|
|
19511
|
+
"%Set%": typeof Set === "undefined" ? undefined2 : Set,
|
|
19512
|
+
"%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
19513
|
+
"%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined2 : SharedArrayBuffer,
|
|
19514
|
+
"%String%": String,
|
|
19515
|
+
"%StringIteratorPrototype%": hasSymbols && getProto ? getProto(""[Symbol.iterator]()) : undefined2,
|
|
19516
|
+
"%Symbol%": hasSymbols ? Symbol : undefined2,
|
|
19517
|
+
"%SyntaxError%": $SyntaxError,
|
|
19518
|
+
"%ThrowTypeError%": ThrowTypeError,
|
|
19519
|
+
"%TypedArray%": TypedArray,
|
|
19520
|
+
"%TypeError%": $TypeError,
|
|
19521
|
+
"%Uint8Array%": typeof Uint8Array === "undefined" ? undefined2 : Uint8Array,
|
|
19522
|
+
"%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined2 : Uint8ClampedArray,
|
|
19523
|
+
"%Uint16Array%": typeof Uint16Array === "undefined" ? undefined2 : Uint16Array,
|
|
19524
|
+
"%Uint32Array%": typeof Uint32Array === "undefined" ? undefined2 : Uint32Array,
|
|
19525
|
+
"%URIError%": $URIError,
|
|
19526
|
+
"%WeakMap%": typeof WeakMap === "undefined" ? undefined2 : WeakMap,
|
|
19527
|
+
"%WeakRef%": typeof WeakRef === "undefined" ? undefined2 : WeakRef,
|
|
19528
|
+
"%WeakSet%": typeof WeakSet === "undefined" ? undefined2 : WeakSet,
|
|
19529
|
+
"%Function.prototype.call%": $call,
|
|
19530
|
+
"%Function.prototype.apply%": $apply,
|
|
19531
|
+
"%Object.defineProperty%": $defineProperty,
|
|
19532
|
+
"%Object.getPrototypeOf%": $ObjectGPO,
|
|
19533
|
+
"%Math.abs%": abs2,
|
|
19534
|
+
"%Math.floor%": floor4,
|
|
19535
|
+
"%Math.max%": max4,
|
|
19536
|
+
"%Math.min%": min4,
|
|
19537
|
+
"%Math.pow%": pow,
|
|
19538
|
+
"%Math.round%": round,
|
|
19539
|
+
"%Math.sign%": sign,
|
|
19540
|
+
"%Reflect.getPrototypeOf%": $ReflectGPO
|
|
19541
|
+
};
|
|
19542
|
+
if (getProto) {
|
|
19611
19543
|
try {
|
|
19612
|
-
|
|
19613
|
-
try {
|
|
19614
|
-
weakMapHas.call(x, weakMapHas);
|
|
19615
|
-
} catch (s) {
|
|
19616
|
-
return true;
|
|
19617
|
-
}
|
|
19618
|
-
return x instanceof WeakSet;
|
|
19544
|
+
null.error;
|
|
19619
19545
|
} catch (e) {
|
|
19546
|
+
errorProto = getProto(getProto(e));
|
|
19547
|
+
INTRINSICS["%Error.prototype%"] = errorProto;
|
|
19620
19548
|
}
|
|
19621
|
-
return false;
|
|
19622
19549
|
}
|
|
19623
|
-
|
|
19624
|
-
|
|
19625
|
-
|
|
19626
|
-
|
|
19627
|
-
|
|
19628
|
-
|
|
19550
|
+
var errorProto;
|
|
19551
|
+
var doEval = function doEval2(name2) {
|
|
19552
|
+
var value;
|
|
19553
|
+
if (name2 === "%AsyncFunction%") {
|
|
19554
|
+
value = getEvalledConstructor("async function () {}");
|
|
19555
|
+
} else if (name2 === "%GeneratorFunction%") {
|
|
19556
|
+
value = getEvalledConstructor("function* () {}");
|
|
19557
|
+
} else if (name2 === "%AsyncGeneratorFunction%") {
|
|
19558
|
+
value = getEvalledConstructor("async function* () {}");
|
|
19559
|
+
} else if (name2 === "%AsyncGenerator%") {
|
|
19560
|
+
var fn = doEval2("%AsyncGeneratorFunction%");
|
|
19561
|
+
if (fn) {
|
|
19562
|
+
value = fn.prototype;
|
|
19563
|
+
}
|
|
19564
|
+
} else if (name2 === "%AsyncIteratorPrototype%") {
|
|
19565
|
+
var gen = doEval2("%AsyncGenerator%");
|
|
19566
|
+
if (gen && getProto) {
|
|
19567
|
+
value = getProto(gen.prototype);
|
|
19568
|
+
}
|
|
19629
19569
|
}
|
|
19630
|
-
|
|
19631
|
-
|
|
19632
|
-
|
|
19633
|
-
|
|
19634
|
-
|
|
19635
|
-
|
|
19636
|
-
|
|
19570
|
+
INTRINSICS[name2] = value;
|
|
19571
|
+
return value;
|
|
19572
|
+
};
|
|
19573
|
+
var LEGACY_ALIASES = {
|
|
19574
|
+
__proto__: null,
|
|
19575
|
+
"%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
|
|
19576
|
+
"%ArrayPrototype%": ["Array", "prototype"],
|
|
19577
|
+
"%ArrayProto_entries%": ["Array", "prototype", "entries"],
|
|
19578
|
+
"%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
|
|
19579
|
+
"%ArrayProto_keys%": ["Array", "prototype", "keys"],
|
|
19580
|
+
"%ArrayProto_values%": ["Array", "prototype", "values"],
|
|
19581
|
+
"%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
|
|
19582
|
+
"%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
|
|
19583
|
+
"%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
|
|
19584
|
+
"%BooleanPrototype%": ["Boolean", "prototype"],
|
|
19585
|
+
"%DataViewPrototype%": ["DataView", "prototype"],
|
|
19586
|
+
"%DatePrototype%": ["Date", "prototype"],
|
|
19587
|
+
"%ErrorPrototype%": ["Error", "prototype"],
|
|
19588
|
+
"%EvalErrorPrototype%": ["EvalError", "prototype"],
|
|
19589
|
+
"%Float32ArrayPrototype%": ["Float32Array", "prototype"],
|
|
19590
|
+
"%Float64ArrayPrototype%": ["Float64Array", "prototype"],
|
|
19591
|
+
"%FunctionPrototype%": ["Function", "prototype"],
|
|
19592
|
+
"%Generator%": ["GeneratorFunction", "prototype"],
|
|
19593
|
+
"%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
|
|
19594
|
+
"%Int8ArrayPrototype%": ["Int8Array", "prototype"],
|
|
19595
|
+
"%Int16ArrayPrototype%": ["Int16Array", "prototype"],
|
|
19596
|
+
"%Int32ArrayPrototype%": ["Int32Array", "prototype"],
|
|
19597
|
+
"%JSONParse%": ["JSON", "parse"],
|
|
19598
|
+
"%JSONStringify%": ["JSON", "stringify"],
|
|
19599
|
+
"%MapPrototype%": ["Map", "prototype"],
|
|
19600
|
+
"%NumberPrototype%": ["Number", "prototype"],
|
|
19601
|
+
"%ObjectPrototype%": ["Object", "prototype"],
|
|
19602
|
+
"%ObjProto_toString%": ["Object", "prototype", "toString"],
|
|
19603
|
+
"%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
|
|
19604
|
+
"%PromisePrototype%": ["Promise", "prototype"],
|
|
19605
|
+
"%PromiseProto_then%": ["Promise", "prototype", "then"],
|
|
19606
|
+
"%Promise_all%": ["Promise", "all"],
|
|
19607
|
+
"%Promise_reject%": ["Promise", "reject"],
|
|
19608
|
+
"%Promise_resolve%": ["Promise", "resolve"],
|
|
19609
|
+
"%RangeErrorPrototype%": ["RangeError", "prototype"],
|
|
19610
|
+
"%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
|
|
19611
|
+
"%RegExpPrototype%": ["RegExp", "prototype"],
|
|
19612
|
+
"%SetPrototype%": ["Set", "prototype"],
|
|
19613
|
+
"%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
|
|
19614
|
+
"%StringPrototype%": ["String", "prototype"],
|
|
19615
|
+
"%SymbolPrototype%": ["Symbol", "prototype"],
|
|
19616
|
+
"%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
|
|
19617
|
+
"%TypedArrayPrototype%": ["TypedArray", "prototype"],
|
|
19618
|
+
"%TypeErrorPrototype%": ["TypeError", "prototype"],
|
|
19619
|
+
"%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
|
|
19620
|
+
"%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
|
|
19621
|
+
"%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
|
|
19622
|
+
"%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
|
|
19623
|
+
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
19624
|
+
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
19625
|
+
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
19626
|
+
};
|
|
19627
|
+
var bind = require_function_bind();
|
|
19628
|
+
var hasOwn = require_hasown();
|
|
19629
|
+
var $concat = bind.call($call, Array.prototype.concat);
|
|
19630
|
+
var $spliceApply = bind.call($apply, Array.prototype.splice);
|
|
19631
|
+
var $replace = bind.call($call, String.prototype.replace);
|
|
19632
|
+
var $strSlice = bind.call($call, String.prototype.slice);
|
|
19633
|
+
var $exec = bind.call($call, RegExp.prototype.exec);
|
|
19634
|
+
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
19635
|
+
var reEscapeChar = /\\(\\)?/g;
|
|
19636
|
+
var stringToPath = function stringToPath2(string) {
|
|
19637
|
+
var first = $strSlice(string, 0, 1);
|
|
19638
|
+
var last2 = $strSlice(string, -1);
|
|
19639
|
+
if (first === "%" && last2 !== "%") {
|
|
19640
|
+
throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");
|
|
19641
|
+
} else if (last2 === "%" && first !== "%") {
|
|
19642
|
+
throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");
|
|
19637
19643
|
}
|
|
19638
|
-
var
|
|
19639
|
-
|
|
19640
|
-
|
|
19641
|
-
|
|
19642
|
-
|
|
19643
|
-
|
|
19644
|
-
|
|
19645
|
-
var
|
|
19646
|
-
|
|
19647
|
-
|
|
19648
|
-
|
|
19649
|
-
|
|
19650
|
-
13: "r"
|
|
19651
|
-
}[n];
|
|
19652
|
-
if (x) {
|
|
19653
|
-
return "\\" + x;
|
|
19644
|
+
var result = [];
|
|
19645
|
+
$replace(string, rePropName, function(match, number, quote, subString) {
|
|
19646
|
+
result[result.length] = quote ? $replace(subString, reEscapeChar, "$1") : number || match;
|
|
19647
|
+
});
|
|
19648
|
+
return result;
|
|
19649
|
+
};
|
|
19650
|
+
var getBaseIntrinsic = function getBaseIntrinsic2(name2, allowMissing) {
|
|
19651
|
+
var intrinsicName = name2;
|
|
19652
|
+
var alias;
|
|
19653
|
+
if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
|
|
19654
|
+
alias = LEGACY_ALIASES[intrinsicName];
|
|
19655
|
+
intrinsicName = "%" + alias[0] + "%";
|
|
19654
19656
|
}
|
|
19655
|
-
|
|
19656
|
-
|
|
19657
|
-
|
|
19658
|
-
|
|
19659
|
-
|
|
19660
|
-
|
|
19661
|
-
|
|
19662
|
-
}
|
|
19663
|
-
function collectionOf(type2, size2, entries, indent) {
|
|
19664
|
-
var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ", ");
|
|
19665
|
-
return type2 + " (" + size2 + ") {" + joinedEntries + "}";
|
|
19666
|
-
}
|
|
19667
|
-
function singleLineValues(xs) {
|
|
19668
|
-
for (var i = 0; i < xs.length; i++) {
|
|
19669
|
-
if (indexOf(xs[i], "\n") >= 0) {
|
|
19670
|
-
return false;
|
|
19657
|
+
if (hasOwn(INTRINSICS, intrinsicName)) {
|
|
19658
|
+
var value = INTRINSICS[intrinsicName];
|
|
19659
|
+
if (value === needsEval) {
|
|
19660
|
+
value = doEval(intrinsicName);
|
|
19661
|
+
}
|
|
19662
|
+
if (typeof value === "undefined" && !allowMissing) {
|
|
19663
|
+
throw new $TypeError("intrinsic " + name2 + " exists, but is not available. Please file an issue!");
|
|
19671
19664
|
}
|
|
19665
|
+
return {
|
|
19666
|
+
alias,
|
|
19667
|
+
name: intrinsicName,
|
|
19668
|
+
value
|
|
19669
|
+
};
|
|
19672
19670
|
}
|
|
19673
|
-
|
|
19674
|
-
}
|
|
19675
|
-
function
|
|
19676
|
-
|
|
19677
|
-
|
|
19678
|
-
baseIndent = " ";
|
|
19679
|
-
} else if (typeof opts.indent === "number" && opts.indent > 0) {
|
|
19680
|
-
baseIndent = $join.call(Array(opts.indent + 1), " ");
|
|
19681
|
-
} else {
|
|
19682
|
-
return null;
|
|
19671
|
+
throw new $SyntaxError("intrinsic " + name2 + " does not exist!");
|
|
19672
|
+
};
|
|
19673
|
+
module3.exports = function GetIntrinsic(name2, allowMissing) {
|
|
19674
|
+
if (typeof name2 !== "string" || name2.length === 0) {
|
|
19675
|
+
throw new $TypeError("intrinsic name must be a non-empty string");
|
|
19683
19676
|
}
|
|
19684
|
-
|
|
19685
|
-
|
|
19686
|
-
prev: $join.call(Array(depth + 1), baseIndent)
|
|
19687
|
-
};
|
|
19688
|
-
}
|
|
19689
|
-
function indentedJoin(xs, indent) {
|
|
19690
|
-
if (xs.length === 0) {
|
|
19691
|
-
return "";
|
|
19677
|
+
if (arguments.length > 1 && typeof allowMissing !== "boolean") {
|
|
19678
|
+
throw new $TypeError('"allowMissing" argument must be a boolean');
|
|
19692
19679
|
}
|
|
19693
|
-
|
|
19694
|
-
|
|
19695
|
-
}
|
|
19696
|
-
function arrObjKeys(obj, inspect) {
|
|
19697
|
-
var isArr = isArray2(obj);
|
|
19698
|
-
var xs = [];
|
|
19699
|
-
if (isArr) {
|
|
19700
|
-
xs.length = obj.length;
|
|
19701
|
-
for (var i = 0; i < obj.length; i++) {
|
|
19702
|
-
xs[i] = has(obj, i) ? inspect(obj[i], obj) : "";
|
|
19703
|
-
}
|
|
19680
|
+
if ($exec(/^%?[^%]*%?$/, name2) === null) {
|
|
19681
|
+
throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
19704
19682
|
}
|
|
19705
|
-
var
|
|
19706
|
-
var
|
|
19707
|
-
|
|
19708
|
-
|
|
19709
|
-
|
|
19710
|
-
|
|
19711
|
-
|
|
19683
|
+
var parts = stringToPath(name2);
|
|
19684
|
+
var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
|
|
19685
|
+
var intrinsic = getBaseIntrinsic("%" + intrinsicBaseName + "%", allowMissing);
|
|
19686
|
+
var intrinsicRealName = intrinsic.name;
|
|
19687
|
+
var value = intrinsic.value;
|
|
19688
|
+
var skipFurtherCaching = false;
|
|
19689
|
+
var alias = intrinsic.alias;
|
|
19690
|
+
if (alias) {
|
|
19691
|
+
intrinsicBaseName = alias[0];
|
|
19692
|
+
$spliceApply(parts, $concat([0, 1], alias));
|
|
19712
19693
|
}
|
|
19713
|
-
for (var
|
|
19714
|
-
|
|
19715
|
-
|
|
19716
|
-
|
|
19717
|
-
if (
|
|
19718
|
-
|
|
19694
|
+
for (var i = 1, isOwn = true; i < parts.length; i += 1) {
|
|
19695
|
+
var part = parts[i];
|
|
19696
|
+
var first = $strSlice(part, 0, 1);
|
|
19697
|
+
var last2 = $strSlice(part, -1);
|
|
19698
|
+
if ((first === '"' || first === "'" || first === "`" || (last2 === '"' || last2 === "'" || last2 === "`")) && first !== last2) {
|
|
19699
|
+
throw new $SyntaxError("property names with quotes must have matching quotes");
|
|
19719
19700
|
}
|
|
19720
|
-
if (
|
|
19721
|
-
|
|
19722
|
-
} else if ($test.call(/[^\w$]/, key)) {
|
|
19723
|
-
xs.push(inspect(key, obj) + ": " + inspect(obj[key], obj));
|
|
19724
|
-
} else {
|
|
19725
|
-
xs.push(key + ": " + inspect(obj[key], obj));
|
|
19701
|
+
if (part === "constructor" || !isOwn) {
|
|
19702
|
+
skipFurtherCaching = true;
|
|
19726
19703
|
}
|
|
19727
|
-
|
|
19728
|
-
|
|
19729
|
-
|
|
19730
|
-
|
|
19731
|
-
|
|
19704
|
+
intrinsicBaseName += "." + part;
|
|
19705
|
+
intrinsicRealName = "%" + intrinsicBaseName + "%";
|
|
19706
|
+
if (hasOwn(INTRINSICS, intrinsicRealName)) {
|
|
19707
|
+
value = INTRINSICS[intrinsicRealName];
|
|
19708
|
+
} else if (value != null) {
|
|
19709
|
+
if (!(part in value)) {
|
|
19710
|
+
if (!allowMissing) {
|
|
19711
|
+
throw new $TypeError("base intrinsic for " + name2 + " exists, but the property is not available.");
|
|
19712
|
+
}
|
|
19713
|
+
return void undefined2;
|
|
19714
|
+
}
|
|
19715
|
+
if ($gOPD && i + 1 >= parts.length) {
|
|
19716
|
+
var desc = $gOPD(value, part);
|
|
19717
|
+
isOwn = !!desc;
|
|
19718
|
+
if (isOwn && "get" in desc && !("originalValue" in desc.get)) {
|
|
19719
|
+
value = desc.get;
|
|
19720
|
+
} else {
|
|
19721
|
+
value = value[part];
|
|
19722
|
+
}
|
|
19723
|
+
} else {
|
|
19724
|
+
isOwn = hasOwn(value, part);
|
|
19725
|
+
value = value[part];
|
|
19726
|
+
}
|
|
19727
|
+
if (isOwn && !skipFurtherCaching) {
|
|
19728
|
+
INTRINSICS[intrinsicRealName] = value;
|
|
19732
19729
|
}
|
|
19733
19730
|
}
|
|
19734
19731
|
}
|
|
19735
|
-
return
|
|
19736
|
-
}
|
|
19732
|
+
return value;
|
|
19733
|
+
};
|
|
19737
19734
|
}
|
|
19738
19735
|
});
|
|
19739
19736
|
|
|
19740
|
-
// ../node_modules/.pnpm/
|
|
19741
|
-
var
|
|
19742
|
-
"../node_modules/.pnpm/
|
|
19737
|
+
// ../node_modules/.pnpm/call-bound@1.0.3/node_modules/call-bound/index.js
|
|
19738
|
+
var require_call_bound = __commonJS({
|
|
19739
|
+
"../node_modules/.pnpm/call-bound@1.0.3/node_modules/call-bound/index.js"(exports3, module3) {
|
|
19740
|
+
"use strict";
|
|
19741
|
+
var GetIntrinsic = require_get_intrinsic();
|
|
19742
|
+
var callBindBasic = require_call_bind_apply_helpers();
|
|
19743
|
+
var $indexOf = callBindBasic([GetIntrinsic("%String.prototype.indexOf%")]);
|
|
19744
|
+
module3.exports = function callBoundIntrinsic(name2, allowMissing) {
|
|
19745
|
+
var intrinsic = (
|
|
19746
|
+
/** @type {Parameters<typeof callBindBasic>[0][0]} */
|
|
19747
|
+
GetIntrinsic(name2, !!allowMissing)
|
|
19748
|
+
);
|
|
19749
|
+
if (typeof intrinsic === "function" && $indexOf(name2, ".prototype.") > -1) {
|
|
19750
|
+
return callBindBasic([intrinsic]);
|
|
19751
|
+
}
|
|
19752
|
+
return intrinsic;
|
|
19753
|
+
};
|
|
19754
|
+
}
|
|
19755
|
+
});
|
|
19756
|
+
|
|
19757
|
+
// ../node_modules/.pnpm/side-channel-map@1.0.1/node_modules/side-channel-map/index.js
|
|
19758
|
+
var require_side_channel_map = __commonJS({
|
|
19759
|
+
"../node_modules/.pnpm/side-channel-map@1.0.1/node_modules/side-channel-map/index.js"(exports3, module3) {
|
|
19743
19760
|
"use strict";
|
|
19744
19761
|
var GetIntrinsic = require_get_intrinsic();
|
|
19745
|
-
var callBound =
|
|
19762
|
+
var callBound = require_call_bound();
|
|
19746
19763
|
var inspect = require_object_inspect();
|
|
19747
19764
|
var $TypeError = require_type();
|
|
19748
|
-
var $WeakMap = GetIntrinsic("%WeakMap%", true);
|
|
19749
19765
|
var $Map = GetIntrinsic("%Map%", true);
|
|
19750
|
-
var $weakMapGet = callBound("WeakMap.prototype.get", true);
|
|
19751
|
-
var $weakMapSet = callBound("WeakMap.prototype.set", true);
|
|
19752
|
-
var $weakMapHas = callBound("WeakMap.prototype.has", true);
|
|
19753
19766
|
var $mapGet = callBound("Map.prototype.get", true);
|
|
19754
19767
|
var $mapSet = callBound("Map.prototype.set", true);
|
|
19755
19768
|
var $mapHas = callBound("Map.prototype.has", true);
|
|
19756
|
-
var
|
|
19757
|
-
|
|
19758
|
-
|
|
19759
|
-
|
|
19760
|
-
if (curr.key === key) {
|
|
19761
|
-
prev.next = curr.next;
|
|
19762
|
-
curr.next = /** @type {NonNullable<typeof list.next>} */
|
|
19763
|
-
list.next;
|
|
19764
|
-
list.next = curr;
|
|
19765
|
-
return curr;
|
|
19766
|
-
}
|
|
19767
|
-
}
|
|
19768
|
-
};
|
|
19769
|
-
var listGet = function(objects, key) {
|
|
19770
|
-
var node = listGetNode(objects, key);
|
|
19771
|
-
return node && node.value;
|
|
19772
|
-
};
|
|
19773
|
-
var listSet = function(objects, key, value) {
|
|
19774
|
-
var node = listGetNode(objects, key);
|
|
19775
|
-
if (node) {
|
|
19776
|
-
node.value = value;
|
|
19777
|
-
} else {
|
|
19778
|
-
objects.next = /** @type {import('.').ListNode<typeof value>} */
|
|
19779
|
-
{
|
|
19780
|
-
// eslint-disable-line no-param-reassign, no-extra-parens
|
|
19781
|
-
key,
|
|
19782
|
-
next: objects.next,
|
|
19783
|
-
value
|
|
19784
|
-
};
|
|
19785
|
-
}
|
|
19786
|
-
};
|
|
19787
|
-
var listHas = function(objects, key) {
|
|
19788
|
-
return !!listGetNode(objects, key);
|
|
19789
|
-
};
|
|
19790
|
-
module3.exports = function getSideChannel() {
|
|
19791
|
-
var $wm;
|
|
19769
|
+
var $mapDelete = callBound("Map.prototype.delete", true);
|
|
19770
|
+
var $mapSize = callBound("Map.prototype.size", true);
|
|
19771
|
+
module3.exports = !!$Map && /** @type {Exclude<import('.'), false>} */
|
|
19772
|
+
function getSideChannelMap() {
|
|
19792
19773
|
var $m;
|
|
19793
|
-
var $o;
|
|
19794
19774
|
var channel = {
|
|
19795
19775
|
assert: function(key) {
|
|
19796
19776
|
if (!channel.has(key)) {
|
|
19797
19777
|
throw new $TypeError("Side channel does not contain " + inspect(key));
|
|
19798
19778
|
}
|
|
19799
19779
|
},
|
|
19800
|
-
|
|
19801
|
-
if ($
|
|
19802
|
-
|
|
19803
|
-
|
|
19804
|
-
|
|
19805
|
-
} else if ($Map) {
|
|
19806
|
-
if ($m) {
|
|
19807
|
-
return $mapGet($m, key);
|
|
19808
|
-
}
|
|
19809
|
-
} else {
|
|
19810
|
-
if ($o) {
|
|
19811
|
-
return listGet($o, key);
|
|
19780
|
+
"delete": function(key) {
|
|
19781
|
+
if ($m) {
|
|
19782
|
+
var result = $mapDelete($m, key);
|
|
19783
|
+
if ($mapSize($m) === 0) {
|
|
19784
|
+
$m = void 0;
|
|
19812
19785
|
}
|
|
19786
|
+
return result;
|
|
19787
|
+
}
|
|
19788
|
+
return false;
|
|
19789
|
+
},
|
|
19790
|
+
get: function(key) {
|
|
19791
|
+
if ($m) {
|
|
19792
|
+
return $mapGet($m, key);
|
|
19813
19793
|
}
|
|
19814
19794
|
},
|
|
19815
19795
|
has: function(key) {
|
|
19816
|
-
if ($
|
|
19817
|
-
|
|
19818
|
-
return $weakMapHas($wm, key);
|
|
19819
|
-
}
|
|
19820
|
-
} else if ($Map) {
|
|
19821
|
-
if ($m) {
|
|
19822
|
-
return $mapHas($m, key);
|
|
19823
|
-
}
|
|
19824
|
-
} else {
|
|
19825
|
-
if ($o) {
|
|
19826
|
-
return listHas($o, key);
|
|
19827
|
-
}
|
|
19796
|
+
if ($m) {
|
|
19797
|
+
return $mapHas($m, key);
|
|
19828
19798
|
}
|
|
19829
19799
|
return false;
|
|
19830
19800
|
},
|
|
19831
19801
|
set: function(key, value) {
|
|
19832
|
-
if (
|
|
19833
|
-
|
|
19834
|
-
|
|
19802
|
+
if (!$m) {
|
|
19803
|
+
$m = new $Map();
|
|
19804
|
+
}
|
|
19805
|
+
$mapSet($m, key, value);
|
|
19806
|
+
}
|
|
19807
|
+
};
|
|
19808
|
+
return channel;
|
|
19809
|
+
};
|
|
19810
|
+
}
|
|
19811
|
+
});
|
|
19812
|
+
|
|
19813
|
+
// ../node_modules/.pnpm/side-channel-weakmap@1.0.2/node_modules/side-channel-weakmap/index.js
|
|
19814
|
+
var require_side_channel_weakmap = __commonJS({
|
|
19815
|
+
"../node_modules/.pnpm/side-channel-weakmap@1.0.2/node_modules/side-channel-weakmap/index.js"(exports3, module3) {
|
|
19816
|
+
"use strict";
|
|
19817
|
+
var GetIntrinsic = require_get_intrinsic();
|
|
19818
|
+
var callBound = require_call_bound();
|
|
19819
|
+
var inspect = require_object_inspect();
|
|
19820
|
+
var getSideChannelMap = require_side_channel_map();
|
|
19821
|
+
var $TypeError = require_type();
|
|
19822
|
+
var $WeakMap = GetIntrinsic("%WeakMap%", true);
|
|
19823
|
+
var $weakMapGet = callBound("WeakMap.prototype.get", true);
|
|
19824
|
+
var $weakMapSet = callBound("WeakMap.prototype.set", true);
|
|
19825
|
+
var $weakMapHas = callBound("WeakMap.prototype.has", true);
|
|
19826
|
+
var $weakMapDelete = callBound("WeakMap.prototype.delete", true);
|
|
19827
|
+
module3.exports = $WeakMap ? (
|
|
19828
|
+
/** @type {Exclude<import('.'), false>} */
|
|
19829
|
+
function getSideChannelWeakMap() {
|
|
19830
|
+
var $wm;
|
|
19831
|
+
var $m;
|
|
19832
|
+
var channel = {
|
|
19833
|
+
assert: function(key) {
|
|
19834
|
+
if (!channel.has(key)) {
|
|
19835
|
+
throw new $TypeError("Side channel does not contain " + inspect(key));
|
|
19835
19836
|
}
|
|
19836
|
-
|
|
19837
|
-
|
|
19838
|
-
if (
|
|
19839
|
-
|
|
19837
|
+
},
|
|
19838
|
+
"delete": function(key) {
|
|
19839
|
+
if ($WeakMap && key && (typeof key === "object" || typeof key === "function")) {
|
|
19840
|
+
if ($wm) {
|
|
19841
|
+
return $weakMapDelete($wm, key);
|
|
19842
|
+
}
|
|
19843
|
+
} else if (getSideChannelMap) {
|
|
19844
|
+
if ($m) {
|
|
19845
|
+
return $m["delete"](key);
|
|
19846
|
+
}
|
|
19840
19847
|
}
|
|
19841
|
-
|
|
19842
|
-
}
|
|
19843
|
-
|
|
19844
|
-
|
|
19848
|
+
return false;
|
|
19849
|
+
},
|
|
19850
|
+
get: function(key) {
|
|
19851
|
+
if ($WeakMap && key && (typeof key === "object" || typeof key === "function")) {
|
|
19852
|
+
if ($wm) {
|
|
19853
|
+
return $weakMapGet($wm, key);
|
|
19854
|
+
}
|
|
19855
|
+
}
|
|
19856
|
+
return $m && $m.get(key);
|
|
19857
|
+
},
|
|
19858
|
+
has: function(key) {
|
|
19859
|
+
if ($WeakMap && key && (typeof key === "object" || typeof key === "function")) {
|
|
19860
|
+
if ($wm) {
|
|
19861
|
+
return $weakMapHas($wm, key);
|
|
19862
|
+
}
|
|
19845
19863
|
}
|
|
19846
|
-
|
|
19864
|
+
return !!$m && $m.has(key);
|
|
19865
|
+
},
|
|
19866
|
+
set: function(key, value) {
|
|
19867
|
+
if ($WeakMap && key && (typeof key === "object" || typeof key === "function")) {
|
|
19868
|
+
if (!$wm) {
|
|
19869
|
+
$wm = new $WeakMap();
|
|
19870
|
+
}
|
|
19871
|
+
$weakMapSet($wm, key, value);
|
|
19872
|
+
} else if (getSideChannelMap) {
|
|
19873
|
+
if (!$m) {
|
|
19874
|
+
$m = getSideChannelMap();
|
|
19875
|
+
}
|
|
19876
|
+
$m.set(key, value);
|
|
19877
|
+
}
|
|
19878
|
+
}
|
|
19879
|
+
};
|
|
19880
|
+
return channel;
|
|
19881
|
+
}
|
|
19882
|
+
) : getSideChannelMap;
|
|
19883
|
+
}
|
|
19884
|
+
});
|
|
19885
|
+
|
|
19886
|
+
// ../node_modules/.pnpm/side-channel@1.1.0/node_modules/side-channel/index.js
|
|
19887
|
+
var require_side_channel = __commonJS({
|
|
19888
|
+
"../node_modules/.pnpm/side-channel@1.1.0/node_modules/side-channel/index.js"(exports3, module3) {
|
|
19889
|
+
"use strict";
|
|
19890
|
+
var $TypeError = require_type();
|
|
19891
|
+
var inspect = require_object_inspect();
|
|
19892
|
+
var getSideChannelList = require_side_channel_list();
|
|
19893
|
+
var getSideChannelMap = require_side_channel_map();
|
|
19894
|
+
var getSideChannelWeakMap = require_side_channel_weakmap();
|
|
19895
|
+
var makeChannel = getSideChannelWeakMap || getSideChannelMap || getSideChannelList;
|
|
19896
|
+
module3.exports = function getSideChannel() {
|
|
19897
|
+
var $channelData;
|
|
19898
|
+
var channel = {
|
|
19899
|
+
assert: function(key) {
|
|
19900
|
+
if (!channel.has(key)) {
|
|
19901
|
+
throw new $TypeError("Side channel does not contain " + inspect(key));
|
|
19902
|
+
}
|
|
19903
|
+
},
|
|
19904
|
+
"delete": function(key) {
|
|
19905
|
+
return !!$channelData && $channelData["delete"](key);
|
|
19906
|
+
},
|
|
19907
|
+
get: function(key) {
|
|
19908
|
+
return $channelData && $channelData.get(key);
|
|
19909
|
+
},
|
|
19910
|
+
has: function(key) {
|
|
19911
|
+
return !!$channelData && $channelData.has(key);
|
|
19912
|
+
},
|
|
19913
|
+
set: function(key, value) {
|
|
19914
|
+
if (!$channelData) {
|
|
19915
|
+
$channelData = makeChannel();
|
|
19847
19916
|
}
|
|
19917
|
+
$channelData.set(key, value);
|
|
19848
19918
|
}
|
|
19849
19919
|
};
|
|
19850
19920
|
return channel;
|
|
@@ -29513,10 +29583,10 @@ var require_express_ws = __commonJS({
|
|
|
29513
29583
|
}
|
|
29514
29584
|
});
|
|
29515
29585
|
|
|
29516
|
-
// ../node_modules/.pnpm/@hocuspocus+server@2.15.
|
|
29586
|
+
// ../node_modules/.pnpm/@hocuspocus+server@2.15.2_y-protocols@1.0.6_yjs@13.6.24__yjs@13.6.24/node_modules/@hocuspocus/server/dist/hocuspocus-server.esm.js
|
|
29517
29587
|
var import_async_lock = __toESM(require_async_lock(), 1);
|
|
29518
29588
|
|
|
29519
|
-
// ../node_modules/.pnpm/@hocuspocus+common@2.15.
|
|
29589
|
+
// ../node_modules/.pnpm/@hocuspocus+common@2.15.2/node_modules/@hocuspocus/common/dist/hocuspocus-common.esm.js
|
|
29520
29590
|
var floor = Math.floor;
|
|
29521
29591
|
var min = (a, b) => a < b ? a : b;
|
|
29522
29592
|
var max = (a, b) => a > b ? a : b;
|
|
@@ -30708,7 +30778,7 @@ var iteratorMap = (iterator, fmap) => createIterator(() => {
|
|
|
30708
30778
|
return { done, value: done ? void 0 : fmap(value) };
|
|
30709
30779
|
});
|
|
30710
30780
|
|
|
30711
|
-
// ../node_modules/.pnpm/yjs@13.6.
|
|
30781
|
+
// ../node_modules/.pnpm/yjs@13.6.24/node_modules/yjs/dist/yjs.mjs
|
|
30712
30782
|
var DeleteItem = class {
|
|
30713
30783
|
/**
|
|
30714
30784
|
* @param {number} clock
|
|
@@ -35051,8 +35121,9 @@ var YXmlTreeWalker = class {
|
|
|
35051
35121
|
n = type2._start;
|
|
35052
35122
|
} else {
|
|
35053
35123
|
while (n !== null) {
|
|
35054
|
-
|
|
35055
|
-
|
|
35124
|
+
const nxt = n.next;
|
|
35125
|
+
if (nxt !== null) {
|
|
35126
|
+
n = nxt;
|
|
35056
35127
|
break;
|
|
35057
35128
|
} else if (n.parent === this._root) {
|
|
35058
35129
|
n = null;
|
|
@@ -36816,8 +36887,7 @@ var Item = class _Item extends AbstractStruct {
|
|
|
36816
36887
|
if (this.left && this.left.constructor === _Item) {
|
|
36817
36888
|
this.parent = this.left.parent;
|
|
36818
36889
|
this.parentSub = this.left.parentSub;
|
|
36819
|
-
}
|
|
36820
|
-
if (this.right && this.right.constructor === _Item) {
|
|
36890
|
+
} else if (this.right && this.right.constructor === _Item) {
|
|
36821
36891
|
this.parent = this.right.parent;
|
|
36822
36892
|
this.parentSub = this.right.parentSub;
|
|
36823
36893
|
}
|
|
@@ -37308,7 +37378,7 @@ function v4(options, buf, offset) {
|
|
|
37308
37378
|
}
|
|
37309
37379
|
var v4_default = v4;
|
|
37310
37380
|
|
|
37311
|
-
// ../node_modules/.pnpm/@hocuspocus+server@2.15.
|
|
37381
|
+
// ../node_modules/.pnpm/@hocuspocus+server@2.15.2_y-protocols@1.0.6_yjs@13.6.24__yjs@13.6.24/node_modules/@hocuspocus/server/dist/hocuspocus-server.esm.js
|
|
37312
37382
|
var import_http = require("http");
|
|
37313
37383
|
|
|
37314
37384
|
// ../node_modules/.pnpm/ws@8.18.0/node_modules/ws/wrapper.mjs
|
|
@@ -37318,7 +37388,7 @@ var import_sender = __toESM(require_sender(), 1);
|
|
|
37318
37388
|
var import_websocket = __toESM(require_websocket(), 1);
|
|
37319
37389
|
var import_websocket_server = __toESM(require_websocket_server(), 1);
|
|
37320
37390
|
|
|
37321
|
-
// ../node_modules/.pnpm/@hocuspocus+server@2.15.
|
|
37391
|
+
// ../node_modules/.pnpm/@hocuspocus+server@2.15.2_y-protocols@1.0.6_yjs@13.6.24__yjs@13.6.24/node_modules/@hocuspocus/server/dist/hocuspocus-server.esm.js
|
|
37322
37392
|
var import_url = require("url");
|
|
37323
37393
|
var BIT83 = 128;
|
|
37324
37394
|
var BITS73 = 127;
|
|
@@ -38019,7 +38089,7 @@ var MessageReceiver = class {
|
|
|
38019
38089
|
type: MessageType.Awareness,
|
|
38020
38090
|
category: "Update"
|
|
38021
38091
|
});
|
|
38022
|
-
applyAwarenessUpdate(document2.awareness, message.readVarUint8Array(), connection);
|
|
38092
|
+
applyAwarenessUpdate(document2.awareness, message.readVarUint8Array(), connection === null || connection === void 0 ? void 0 : connection.webSocket);
|
|
38023
38093
|
break;
|
|
38024
38094
|
}
|
|
38025
38095
|
case MessageType.QueryAwareness: {
|
|
@@ -38531,7 +38601,7 @@ var Document = class extends Doc {
|
|
|
38531
38601
|
};
|
|
38532
38602
|
var name = "@hocuspocus/server";
|
|
38533
38603
|
var description = "plug & play collaboration backend";
|
|
38534
|
-
var version = "2.15.
|
|
38604
|
+
var version = "2.15.2";
|
|
38535
38605
|
var homepage = "https://hocuspocus.dev";
|
|
38536
38606
|
var keywords = [
|
|
38537
38607
|
"hocuspocus",
|
|
@@ -38559,7 +38629,7 @@ var files = [
|
|
|
38559
38629
|
"dist"
|
|
38560
38630
|
];
|
|
38561
38631
|
var dependencies = {
|
|
38562
|
-
"@hocuspocus/common": "^2.15.
|
|
38632
|
+
"@hocuspocus/common": "^2.15.2",
|
|
38563
38633
|
"async-lock": "^1.3.1",
|
|
38564
38634
|
kleur: "^4.1.4",
|
|
38565
38635
|
lib0: "^0.2.47",
|
|
@@ -39157,10 +39227,14 @@ var Hocuspocus = class {
|
|
|
39157
39227
|
* Get the total number of active connections
|
|
39158
39228
|
*/
|
|
39159
39229
|
getConnectionsCount() {
|
|
39160
|
-
|
|
39161
|
-
|
|
39162
|
-
|
|
39230
|
+
const uniqueSocketIds = /* @__PURE__ */ new Set();
|
|
39231
|
+
const totalDirectConnections = Array.from(this.documents.values()).reduce((acc, document2) => {
|
|
39232
|
+
document2.getConnections().forEach(({ socketId }) => {
|
|
39233
|
+
uniqueSocketIds.add(socketId);
|
|
39234
|
+
});
|
|
39235
|
+
return acc + document2.directConnectionsCount;
|
|
39163
39236
|
}, 0);
|
|
39237
|
+
return uniqueSocketIds.size + totalDirectConnections;
|
|
39164
39238
|
}
|
|
39165
39239
|
/**
|
|
39166
39240
|
* Force close one or more connections
|
|
@@ -39344,11 +39418,11 @@ var Hocuspocus = class {
|
|
|
39344
39418
|
storeDocumentHooks(document2, hookPayload, immediately) {
|
|
39345
39419
|
return this.debouncer.debounce(`onStoreDocument-${document2.name}`, () => {
|
|
39346
39420
|
return this.hooks("onStoreDocument", hookPayload).then(() => {
|
|
39347
|
-
this.hooks("afterStoreDocument", hookPayload).then(() => {
|
|
39421
|
+
this.hooks("afterStoreDocument", hookPayload).then(async () => {
|
|
39348
39422
|
if (document2.getConnectionsCount() > 0) {
|
|
39349
39423
|
return;
|
|
39350
39424
|
}
|
|
39351
|
-
this.unloadDocument(document2);
|
|
39425
|
+
await this.unloadDocument(document2);
|
|
39352
39426
|
});
|
|
39353
39427
|
}).catch((error) => {
|
|
39354
39428
|
console.error("Caught error during storeDocumentHooks", error);
|
|
@@ -39381,13 +39455,14 @@ var Hocuspocus = class {
|
|
|
39381
39455
|
});
|
|
39382
39456
|
return chain2;
|
|
39383
39457
|
}
|
|
39384
|
-
unloadDocument(document2) {
|
|
39458
|
+
async unloadDocument(document2) {
|
|
39385
39459
|
const documentName = document2.name;
|
|
39386
39460
|
if (!this.documents.has(documentName))
|
|
39387
39461
|
return;
|
|
39462
|
+
await this.hooks("beforeUnloadDocument", { instance: this, documentName });
|
|
39388
39463
|
this.documents.delete(documentName);
|
|
39389
39464
|
document2.destroy();
|
|
39390
|
-
this.hooks("afterUnloadDocument", { instance: this, documentName });
|
|
39465
|
+
await this.hooks("afterUnloadDocument", { instance: this, documentName });
|
|
39391
39466
|
}
|
|
39392
39467
|
enableDebugging() {
|
|
39393
39468
|
this.debugger.enable();
|