@powerlines/deepkit 0.5.1 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-4V4LIAN2.js → chunk-2ODODKQQ.js} +1 -1
- package/dist/{chunk-ESVH44QW.cjs → chunk-6QPIKQMO.cjs} +2 -2
- package/dist/{chunk-U5O6DHJ2.js → chunk-C7BRLIIA.js} +1 -1
- package/dist/{chunk-VWKKT7CM.cjs → chunk-EKHXI2JI.cjs} +3 -3
- package/dist/{chunk-YQQIT5YX.js → chunk-LPLPOVLC.js} +1 -1
- package/dist/{chunk-B6GTAZEL.js → chunk-MNUBEEIW.js} +4 -0
- package/dist/{chunk-PKLLVKY2.cjs → chunk-QABG54Y3.cjs} +2 -2
- package/dist/{chunk-FFBZWTR7.cjs → chunk-VXZTOOL6.cjs} +6 -0
- package/dist/esbuild-plugin.cjs +4 -4
- package/dist/esbuild-plugin.js +3 -3
- package/dist/index.cjs +9 -9
- package/dist/index.js +4 -4
- package/dist/reflect-type.cjs +5 -5
- package/dist/reflect-type.js +4 -4
- package/dist/transformer.cjs +3 -3
- package/dist/transformer.js +1 -1
- package/dist/transpile.cjs +3 -3
- package/dist/transpile.js +2 -2
- package/dist/vendor/chunk-5BKT4CS5.js +28 -0
- package/dist/vendor/{chunk-ZDFKNN7Y.cjs → chunk-BDXVTHBY.cjs} +322 -153
- package/dist/vendor/{chunk-7LAB3COT.js → chunk-BLN7QVCP.js} +154 -7
- package/dist/vendor/{chunk-5NPGWGPO.cjs → chunk-EQXMWOHO.cjs} +6 -0
- package/dist/vendor/chunk-MO4O4UYI.cjs +42 -0
- package/dist/vendor/core.cjs +131 -130
- package/dist/vendor/core.js +2 -2
- package/dist/vendor/index.cjs +28 -0
- package/dist/vendor/index.d.cts +2 -0
- package/dist/vendor/index.d.ts +2 -0
- package/dist/vendor/index.js +1 -0
- package/dist/vendor/type-spec.cjs +6 -5
- package/dist/vendor/type-spec.js +1 -1
- package/dist/vendor/type.cjs +2346 -641
- package/dist/vendor/type.js +1661 -23
- package/package.json +5 -5
- package/dist/vendor/chunk-SHUYVCID.js +0 -4
- package/dist/vendor/chunk-USNT2KNT.cjs +0 -6
|
@@ -1,15 +1,155 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var dotProp = require('dot-prop');
|
|
5
|
-
var toFastPropertiesOri = require('to-fast-properties');
|
|
3
|
+
var chunkMO4O4UYI_cjs = require('./chunk-MO4O4UYI.cjs');
|
|
6
4
|
|
|
7
|
-
|
|
5
|
+
// ../../node_modules/.pnpm/is-obj@2.0.0/node_modules/is-obj/index.js
|
|
6
|
+
var require_is_obj = chunkMO4O4UYI_cjs.__commonJS({
|
|
7
|
+
"../../node_modules/.pnpm/is-obj@2.0.0/node_modules/is-obj/index.js"(exports$1, module) {
|
|
8
|
+
chunkMO4O4UYI_cjs.init_cjs_shims();
|
|
9
|
+
module.exports = (value) => {
|
|
10
|
+
const type = typeof value;
|
|
11
|
+
return value !== null && (type === "object" || type === "function");
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
// ../../node_modules/.pnpm/dot-prop@5.3.0/node_modules/dot-prop/index.js
|
|
17
|
+
var require_dot_prop = chunkMO4O4UYI_cjs.__commonJS({
|
|
18
|
+
"../../node_modules/.pnpm/dot-prop@5.3.0/node_modules/dot-prop/index.js"(exports$1, module) {
|
|
19
|
+
chunkMO4O4UYI_cjs.init_cjs_shims();
|
|
20
|
+
var isObj = require_is_obj();
|
|
21
|
+
var disallowedKeys = [
|
|
22
|
+
"__proto__",
|
|
23
|
+
"prototype",
|
|
24
|
+
"constructor"
|
|
25
|
+
];
|
|
26
|
+
var isValidPath = /* @__PURE__ */ chunkMO4O4UYI_cjs.__name((pathSegments) => !pathSegments.some((segment) => disallowedKeys.includes(segment)), "isValidPath");
|
|
27
|
+
function getPathSegments(path) {
|
|
28
|
+
const pathArray = path.split(".");
|
|
29
|
+
const parts = [];
|
|
30
|
+
for (let i = 0; i < pathArray.length; i++) {
|
|
31
|
+
let p = pathArray[i];
|
|
32
|
+
while (p[p.length - 1] === "\\" && pathArray[i + 1] !== void 0) {
|
|
33
|
+
p = p.slice(0, -1) + ".";
|
|
34
|
+
p += pathArray[++i];
|
|
35
|
+
}
|
|
36
|
+
parts.push(p);
|
|
37
|
+
}
|
|
38
|
+
if (!isValidPath(parts)) {
|
|
39
|
+
return [];
|
|
40
|
+
}
|
|
41
|
+
return parts;
|
|
42
|
+
}
|
|
43
|
+
chunkMO4O4UYI_cjs.__name(getPathSegments, "getPathSegments");
|
|
44
|
+
module.exports = {
|
|
45
|
+
get(object, path, value) {
|
|
46
|
+
if (!isObj(object) || typeof path !== "string") {
|
|
47
|
+
return value === void 0 ? object : value;
|
|
48
|
+
}
|
|
49
|
+
const pathArray = getPathSegments(path);
|
|
50
|
+
if (pathArray.length === 0) {
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
for (let i = 0; i < pathArray.length; i++) {
|
|
54
|
+
if (!Object.prototype.propertyIsEnumerable.call(object, pathArray[i])) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
object = object[pathArray[i]];
|
|
58
|
+
if (object === void 0 || object === null) {
|
|
59
|
+
if (i !== pathArray.length - 1) {
|
|
60
|
+
return value;
|
|
61
|
+
}
|
|
62
|
+
break;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
return object;
|
|
66
|
+
},
|
|
67
|
+
set(object, path, value) {
|
|
68
|
+
if (!isObj(object) || typeof path !== "string") {
|
|
69
|
+
return object;
|
|
70
|
+
}
|
|
71
|
+
const root = object;
|
|
72
|
+
const pathArray = getPathSegments(path);
|
|
73
|
+
for (let i = 0; i < pathArray.length; i++) {
|
|
74
|
+
const p = pathArray[i];
|
|
75
|
+
if (!isObj(object[p])) {
|
|
76
|
+
object[p] = {};
|
|
77
|
+
}
|
|
78
|
+
if (i === pathArray.length - 1) {
|
|
79
|
+
object[p] = value;
|
|
80
|
+
}
|
|
81
|
+
object = object[p];
|
|
82
|
+
}
|
|
83
|
+
return root;
|
|
84
|
+
},
|
|
85
|
+
delete(object, path) {
|
|
86
|
+
if (!isObj(object) || typeof path !== "string") {
|
|
87
|
+
return false;
|
|
88
|
+
}
|
|
89
|
+
const pathArray = getPathSegments(path);
|
|
90
|
+
for (let i = 0; i < pathArray.length; i++) {
|
|
91
|
+
const p = pathArray[i];
|
|
92
|
+
if (i === pathArray.length - 1) {
|
|
93
|
+
delete object[p];
|
|
94
|
+
return true;
|
|
95
|
+
}
|
|
96
|
+
object = object[p];
|
|
97
|
+
if (!isObj(object)) {
|
|
98
|
+
return false;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
has(object, path) {
|
|
103
|
+
if (!isObj(object) || typeof path !== "string") {
|
|
104
|
+
return false;
|
|
105
|
+
}
|
|
106
|
+
const pathArray = getPathSegments(path);
|
|
107
|
+
if (pathArray.length === 0) {
|
|
108
|
+
return false;
|
|
109
|
+
}
|
|
110
|
+
for (let i = 0; i < pathArray.length; i++) {
|
|
111
|
+
if (isObj(object)) {
|
|
112
|
+
if (!(pathArray[i] in object)) {
|
|
113
|
+
return false;
|
|
114
|
+
}
|
|
115
|
+
object = object[pathArray[i]];
|
|
116
|
+
} else {
|
|
117
|
+
return false;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
return true;
|
|
121
|
+
}
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
});
|
|
8
125
|
|
|
9
|
-
|
|
10
|
-
var
|
|
126
|
+
// ../../node_modules/.pnpm/to-fast-properties@3.0.1/node_modules/to-fast-properties/index.js
|
|
127
|
+
var require_to_fast_properties = chunkMO4O4UYI_cjs.__commonJS({
|
|
128
|
+
"../../node_modules/.pnpm/to-fast-properties@3.0.1/node_modules/to-fast-properties/index.js"(exports$1, module) {
|
|
129
|
+
chunkMO4O4UYI_cjs.init_cjs_shims();
|
|
130
|
+
var fastProto = null;
|
|
131
|
+
function FastObject(o) {
|
|
132
|
+
if (fastProto !== null && typeof fastProto.property) {
|
|
133
|
+
const result = fastProto;
|
|
134
|
+
fastProto = FastObject.prototype = null;
|
|
135
|
+
return result;
|
|
136
|
+
}
|
|
137
|
+
fastProto = FastObject.prototype = o == null ? /* @__PURE__ */ Object.create(null) : o;
|
|
138
|
+
return new FastObject();
|
|
139
|
+
}
|
|
140
|
+
chunkMO4O4UYI_cjs.__name(FastObject, "FastObject");
|
|
141
|
+
var inlineCacheCutoff = 10;
|
|
142
|
+
for (let i = 0; i <= inlineCacheCutoff; i++) {
|
|
143
|
+
FastObject();
|
|
144
|
+
}
|
|
145
|
+
module.exports = /* @__PURE__ */ chunkMO4O4UYI_cjs.__name(function toFastproperties(o) {
|
|
146
|
+
return FastObject(o);
|
|
147
|
+
}, "toFastproperties");
|
|
148
|
+
}
|
|
149
|
+
});
|
|
11
150
|
|
|
12
151
|
// ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/iterators.js
|
|
152
|
+
chunkMO4O4UYI_cjs.init_cjs_shims();
|
|
13
153
|
var __\u03A9ArrayLike = [
|
|
14
154
|
"T",
|
|
15
155
|
"length",
|
|
@@ -92,7 +232,7 @@ function* eachKey(object) {
|
|
|
92
232
|
}
|
|
93
233
|
}
|
|
94
234
|
}
|
|
95
|
-
|
|
235
|
+
chunkMO4O4UYI_cjs.__name(eachKey, "eachKey");
|
|
96
236
|
eachKey.__type = [
|
|
97
237
|
() => __\u03A9ArrayLike,
|
|
98
238
|
"object",
|
|
@@ -113,7 +253,7 @@ function* each(object) {
|
|
|
113
253
|
}
|
|
114
254
|
}
|
|
115
255
|
}
|
|
116
|
-
|
|
256
|
+
chunkMO4O4UYI_cjs.__name(each, "each");
|
|
117
257
|
each.__type = [
|
|
118
258
|
() => __\u03A9ArrayLike,
|
|
119
259
|
"object",
|
|
@@ -153,7 +293,7 @@ function* eachPair(object) {
|
|
|
153
293
|
}
|
|
154
294
|
}
|
|
155
295
|
}
|
|
156
|
-
|
|
296
|
+
chunkMO4O4UYI_cjs.__name(eachPair, "eachPair");
|
|
157
297
|
eachPair.__type = [
|
|
158
298
|
() => __\u03A9ArrayLike,
|
|
159
299
|
"object",
|
|
@@ -161,6 +301,10 @@ eachPair.__type = [
|
|
|
161
301
|
"eachPair",
|
|
162
302
|
`PPP&"LM"o!"J2"PP&"GP'"GJo#"/$`
|
|
163
303
|
];
|
|
304
|
+
|
|
305
|
+
// ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/core.js
|
|
306
|
+
chunkMO4O4UYI_cjs.init_cjs_shims();
|
|
307
|
+
var import_dot_prop = chunkMO4O4UYI_cjs.__toESM(require_dot_prop(), 1);
|
|
164
308
|
var __\u03A9Object = [
|
|
165
309
|
() => Function,
|
|
166
310
|
"constructor",
|
|
@@ -243,10 +387,10 @@ function __assignType(fn, args) {
|
|
|
243
387
|
fn.__type = args;
|
|
244
388
|
return fn;
|
|
245
389
|
}
|
|
246
|
-
|
|
390
|
+
chunkMO4O4UYI_cjs.__name(__assignType, "__assignType");
|
|
247
391
|
var CustomError = class extends Error {
|
|
248
392
|
static {
|
|
249
|
-
|
|
393
|
+
chunkMO4O4UYI_cjs.__name(this, "CustomError");
|
|
250
394
|
}
|
|
251
395
|
constructor(...args) {
|
|
252
396
|
super(...args);
|
|
@@ -291,7 +435,7 @@ function getClassName(classTypeOrInstance) {
|
|
|
291
435
|
const proto = classTypeOrInstance["prototype"] ? classTypeOrInstance["prototype"] : classTypeOrInstance;
|
|
292
436
|
return proto.constructor.name || "anonymous class";
|
|
293
437
|
}
|
|
294
|
-
|
|
438
|
+
chunkMO4O4UYI_cjs.__name(getClassName, "getClassName");
|
|
295
439
|
getClassName.__type = [
|
|
296
440
|
() => __\u03A9ClassType,
|
|
297
441
|
() => __\u03A9Object,
|
|
@@ -303,7 +447,7 @@ function getClassPropertyName(classType, propertyName) {
|
|
|
303
447
|
const name = getClassName(classType);
|
|
304
448
|
return `${name}.${propertyName}`;
|
|
305
449
|
}
|
|
306
|
-
|
|
450
|
+
chunkMO4O4UYI_cjs.__name(getClassPropertyName, "getClassPropertyName");
|
|
307
451
|
getClassPropertyName.__type = [
|
|
308
452
|
() => __\u03A9ClassType,
|
|
309
453
|
() => __\u03A9Object,
|
|
@@ -319,7 +463,7 @@ function applyDefaults(classType, target) {
|
|
|
319
463
|
}
|
|
320
464
|
return classInstance;
|
|
321
465
|
}
|
|
322
|
-
|
|
466
|
+
chunkMO4O4UYI_cjs.__name(applyDefaults, "applyDefaults");
|
|
323
467
|
applyDefaults.__type = [
|
|
324
468
|
() => __\u03A9ClassType,
|
|
325
469
|
"classType",
|
|
@@ -330,7 +474,7 @@ applyDefaults.__type = [
|
|
|
330
474
|
function identifyType(obj) {
|
|
331
475
|
return (({}.toString.call(obj).match(/\s([a-zA-Z]+)/) || [])[1] || "").toLowerCase();
|
|
332
476
|
}
|
|
333
|
-
|
|
477
|
+
chunkMO4O4UYI_cjs.__name(identifyType, "identifyType");
|
|
334
478
|
identifyType.__type = [
|
|
335
479
|
"obj",
|
|
336
480
|
"identifyType",
|
|
@@ -339,7 +483,7 @@ identifyType.__type = [
|
|
|
339
483
|
function isPlainObject(obj) {
|
|
340
484
|
return Boolean(obj && typeof obj === "object" && obj.constructor instanceof obj.constructor);
|
|
341
485
|
}
|
|
342
|
-
|
|
486
|
+
chunkMO4O4UYI_cjs.__name(isPlainObject, "isPlainObject");
|
|
343
487
|
isPlainObject.__type = [
|
|
344
488
|
"obj",
|
|
345
489
|
"isPlainObject",
|
|
@@ -351,7 +495,7 @@ function getClassTypeFromInstance(target) {
|
|
|
351
495
|
}
|
|
352
496
|
return target["constructor"];
|
|
353
497
|
}
|
|
354
|
-
|
|
498
|
+
chunkMO4O4UYI_cjs.__name(getClassTypeFromInstance, "getClassTypeFromInstance");
|
|
355
499
|
getClassTypeFromInstance.__type = [
|
|
356
500
|
"target",
|
|
357
501
|
() => __\u03A9ClassType,
|
|
@@ -361,7 +505,7 @@ getClassTypeFromInstance.__type = [
|
|
|
361
505
|
function isClassInstance(target) {
|
|
362
506
|
return target !== void 0 && target !== null && target["constructor"] && Object.getPrototypeOf(target) === target["constructor"].prototype && !isPlainObject(target) && isObject(target);
|
|
363
507
|
}
|
|
364
|
-
|
|
508
|
+
chunkMO4O4UYI_cjs.__name(isClassInstance, "isClassInstance");
|
|
365
509
|
isClassInstance.__type = [
|
|
366
510
|
"target",
|
|
367
511
|
"isClassInstance",
|
|
@@ -380,7 +524,7 @@ function stringifyValueWithType(value, depth = 0) {
|
|
|
380
524
|
if (null === value) return `null`;
|
|
381
525
|
return "undefined";
|
|
382
526
|
}
|
|
383
|
-
|
|
527
|
+
chunkMO4O4UYI_cjs.__name(stringifyValueWithType, "stringifyValueWithType");
|
|
384
528
|
stringifyValueWithType.__type = [
|
|
385
529
|
"value",
|
|
386
530
|
"depth",
|
|
@@ -391,7 +535,7 @@ stringifyValueWithType.__type = [
|
|
|
391
535
|
function changeClass(value, newClass) {
|
|
392
536
|
return Object.assign(Object.create(newClass.prototype), value);
|
|
393
537
|
}
|
|
394
|
-
|
|
538
|
+
chunkMO4O4UYI_cjs.__name(changeClass, "changeClass");
|
|
395
539
|
changeClass.__type = [
|
|
396
540
|
"value",
|
|
397
541
|
() => __\u03A9ClassType,
|
|
@@ -406,7 +550,7 @@ function prettyPrintObject(object, depth = 0) {
|
|
|
406
550
|
}
|
|
407
551
|
return "{" + res.join(",") + "}";
|
|
408
552
|
}
|
|
409
|
-
|
|
553
|
+
chunkMO4O4UYI_cjs.__name(prettyPrintObject, "prettyPrintObject");
|
|
410
554
|
prettyPrintObject.__type = [
|
|
411
555
|
"object",
|
|
412
556
|
"depth",
|
|
@@ -420,7 +564,7 @@ function isFunction(obj) {
|
|
|
420
564
|
}
|
|
421
565
|
return false;
|
|
422
566
|
}
|
|
423
|
-
|
|
567
|
+
chunkMO4O4UYI_cjs.__name(isFunction, "isFunction");
|
|
424
568
|
isFunction.__type = [
|
|
425
569
|
"obj",
|
|
426
570
|
"isFunction",
|
|
@@ -431,7 +575,7 @@ var AsyncFunction = (async () => {
|
|
|
431
575
|
function isAsyncFunction(obj) {
|
|
432
576
|
return obj instanceof AsyncFunction;
|
|
433
577
|
}
|
|
434
|
-
|
|
578
|
+
chunkMO4O4UYI_cjs.__name(isAsyncFunction, "isAsyncFunction");
|
|
435
579
|
isAsyncFunction.__type = [
|
|
436
580
|
"obj",
|
|
437
581
|
"isAsyncFunction",
|
|
@@ -440,7 +584,7 @@ isAsyncFunction.__type = [
|
|
|
440
584
|
function isPromise(obj) {
|
|
441
585
|
return obj !== null && typeof obj === "object" && typeof obj.then === "function" && typeof obj.catch === "function" && typeof obj.finally === "function";
|
|
442
586
|
}
|
|
443
|
-
|
|
587
|
+
chunkMO4O4UYI_cjs.__name(isPromise, "isPromise");
|
|
444
588
|
isPromise.__type = [
|
|
445
589
|
"obj",
|
|
446
590
|
"isPromise",
|
|
@@ -452,7 +596,7 @@ function isClass(obj) {
|
|
|
452
596
|
}
|
|
453
597
|
return false;
|
|
454
598
|
}
|
|
455
|
-
|
|
599
|
+
chunkMO4O4UYI_cjs.__name(isClass, "isClass");
|
|
456
600
|
isClass.__type = [
|
|
457
601
|
"obj",
|
|
458
602
|
"isClass",
|
|
@@ -468,7 +612,7 @@ function isGlobalClass(obj) {
|
|
|
468
612
|
}
|
|
469
613
|
return false;
|
|
470
614
|
}
|
|
471
|
-
|
|
615
|
+
chunkMO4O4UYI_cjs.__name(isGlobalClass, "isGlobalClass");
|
|
472
616
|
isGlobalClass.__type = [
|
|
473
617
|
"obj",
|
|
474
618
|
"isGlobalClass",
|
|
@@ -480,7 +624,7 @@ function isObject(obj) {
|
|
|
480
624
|
}
|
|
481
625
|
return typeof obj === "object" && !isArray(obj);
|
|
482
626
|
}
|
|
483
|
-
|
|
627
|
+
chunkMO4O4UYI_cjs.__name(isObject, "isObject");
|
|
484
628
|
isObject.__type = [
|
|
485
629
|
"obj",
|
|
486
630
|
"isObject",
|
|
@@ -489,7 +633,7 @@ isObject.__type = [
|
|
|
489
633
|
function isObjectLiteral(obj) {
|
|
490
634
|
return isObject(obj) && !(obj instanceof Date) && !(obj instanceof Map) && !(obj instanceof Set);
|
|
491
635
|
}
|
|
492
|
-
|
|
636
|
+
chunkMO4O4UYI_cjs.__name(isObjectLiteral, "isObjectLiteral");
|
|
493
637
|
isObjectLiteral.__type = [
|
|
494
638
|
"obj",
|
|
495
639
|
"isObjectLiteral",
|
|
@@ -499,7 +643,7 @@ var isArray = Array.isArray;
|
|
|
499
643
|
function isNull(obj) {
|
|
500
644
|
return null === obj;
|
|
501
645
|
}
|
|
502
|
-
|
|
646
|
+
chunkMO4O4UYI_cjs.__name(isNull, "isNull");
|
|
503
647
|
isNull.__type = [
|
|
504
648
|
"obj",
|
|
505
649
|
"isNull",
|
|
@@ -508,7 +652,7 @@ isNull.__type = [
|
|
|
508
652
|
function isUndefined(obj) {
|
|
509
653
|
return void 0 === obj;
|
|
510
654
|
}
|
|
511
|
-
|
|
655
|
+
chunkMO4O4UYI_cjs.__name(isUndefined, "isUndefined");
|
|
512
656
|
isUndefined.__type = [
|
|
513
657
|
"obj",
|
|
514
658
|
"isUndefined",
|
|
@@ -517,7 +661,7 @@ isUndefined.__type = [
|
|
|
517
661
|
function isSet(obj) {
|
|
518
662
|
return !isNull(obj) && !isUndefined(obj);
|
|
519
663
|
}
|
|
520
|
-
|
|
664
|
+
chunkMO4O4UYI_cjs.__name(isSet, "isSet");
|
|
521
665
|
isSet.__type = [
|
|
522
666
|
"obj",
|
|
523
667
|
"isSet",
|
|
@@ -526,7 +670,7 @@ isSet.__type = [
|
|
|
526
670
|
function isNumber(obj) {
|
|
527
671
|
return "number" === identifyType(obj);
|
|
528
672
|
}
|
|
529
|
-
|
|
673
|
+
chunkMO4O4UYI_cjs.__name(isNumber, "isNumber");
|
|
530
674
|
isNumber.__type = [
|
|
531
675
|
"obj",
|
|
532
676
|
"isNumber",
|
|
@@ -545,7 +689,7 @@ function isNumeric(s) {
|
|
|
545
689
|
}
|
|
546
690
|
return true;
|
|
547
691
|
}
|
|
548
|
-
|
|
692
|
+
chunkMO4O4UYI_cjs.__name(isNumeric, "isNumeric");
|
|
549
693
|
isNumeric.__type = [
|
|
550
694
|
"s",
|
|
551
695
|
"isNumeric",
|
|
@@ -561,7 +705,7 @@ var isInteger = Number.isInteger || __assignType(function(obj) {
|
|
|
561
705
|
function isString(obj) {
|
|
562
706
|
return "string" === identifyType(obj);
|
|
563
707
|
}
|
|
564
|
-
|
|
708
|
+
chunkMO4O4UYI_cjs.__name(isString, "isString");
|
|
565
709
|
isString.__type = [
|
|
566
710
|
"obj",
|
|
567
711
|
"isString",
|
|
@@ -573,7 +717,7 @@ function indexOf(array, item) {
|
|
|
573
717
|
}
|
|
574
718
|
return array.indexOf(item);
|
|
575
719
|
}
|
|
576
|
-
|
|
720
|
+
chunkMO4O4UYI_cjs.__name(indexOf, "indexOf");
|
|
577
721
|
indexOf.__type = [
|
|
578
722
|
"array",
|
|
579
723
|
"item",
|
|
@@ -591,7 +735,7 @@ async function sleep(seconds) {
|
|
|
591
735
|
'P"2!"/"'
|
|
592
736
|
]));
|
|
593
737
|
}
|
|
594
|
-
|
|
738
|
+
chunkMO4O4UYI_cjs.__name(sleep, "sleep");
|
|
595
739
|
sleep.__type = [
|
|
596
740
|
"seconds",
|
|
597
741
|
"sleep",
|
|
@@ -603,7 +747,7 @@ function copy(v) {
|
|
|
603
747
|
}
|
|
604
748
|
return v;
|
|
605
749
|
}
|
|
606
|
-
|
|
750
|
+
chunkMO4O4UYI_cjs.__name(copy, "copy");
|
|
607
751
|
copy.__type = [
|
|
608
752
|
"v",
|
|
609
753
|
"copy",
|
|
@@ -618,7 +762,7 @@ function empty(value) {
|
|
|
618
762
|
return true;
|
|
619
763
|
}
|
|
620
764
|
}
|
|
621
|
-
|
|
765
|
+
chunkMO4O4UYI_cjs.__name(empty, "empty");
|
|
622
766
|
empty.__type = [
|
|
623
767
|
"value",
|
|
624
768
|
"empty",
|
|
@@ -634,7 +778,7 @@ function size(array) {
|
|
|
634
778
|
return getObjectKeysSize(array);
|
|
635
779
|
}
|
|
636
780
|
}
|
|
637
|
-
|
|
781
|
+
chunkMO4O4UYI_cjs.__name(size, "size");
|
|
638
782
|
size.__type = [
|
|
639
783
|
"array",
|
|
640
784
|
"size",
|
|
@@ -643,7 +787,7 @@ size.__type = [
|
|
|
643
787
|
function firstKey(v) {
|
|
644
788
|
return Object.keys(v)[0];
|
|
645
789
|
}
|
|
646
|
-
|
|
790
|
+
chunkMO4O4UYI_cjs.__name(firstKey, "firstKey");
|
|
647
791
|
firstKey.__type = [
|
|
648
792
|
"v",
|
|
649
793
|
"firstKey",
|
|
@@ -656,7 +800,7 @@ function lastKey(v) {
|
|
|
656
800
|
}
|
|
657
801
|
return keys[keys.length - 1];
|
|
658
802
|
}
|
|
659
|
-
|
|
803
|
+
chunkMO4O4UYI_cjs.__name(lastKey, "lastKey");
|
|
660
804
|
lastKey.__type = [
|
|
661
805
|
"v",
|
|
662
806
|
"lastKey",
|
|
@@ -672,7 +816,7 @@ function first(v) {
|
|
|
672
816
|
}
|
|
673
817
|
return;
|
|
674
818
|
}
|
|
675
|
-
|
|
819
|
+
chunkMO4O4UYI_cjs.__name(first, "first");
|
|
676
820
|
first.__type = [
|
|
677
821
|
"v",
|
|
678
822
|
"first",
|
|
@@ -691,7 +835,7 @@ function last(v) {
|
|
|
691
835
|
}
|
|
692
836
|
return;
|
|
693
837
|
}
|
|
694
|
-
|
|
838
|
+
chunkMO4O4UYI_cjs.__name(last, "last");
|
|
695
839
|
last.__type = [
|
|
696
840
|
"v",
|
|
697
841
|
"last",
|
|
@@ -704,7 +848,7 @@ function average(array) {
|
|
|
704
848
|
}
|
|
705
849
|
return sum / array.length;
|
|
706
850
|
}
|
|
707
|
-
|
|
851
|
+
chunkMO4O4UYI_cjs.__name(average, "average");
|
|
708
852
|
average.__type = [
|
|
709
853
|
"array",
|
|
710
854
|
"average",
|
|
@@ -718,7 +862,7 @@ function prependObjectKeys(o, prependText) {
|
|
|
718
862
|
}
|
|
719
863
|
return converted;
|
|
720
864
|
}
|
|
721
|
-
|
|
865
|
+
chunkMO4O4UYI_cjs.__name(prependObjectKeys, "prependObjectKeys");
|
|
722
866
|
prependObjectKeys.__type = [
|
|
723
867
|
"o",
|
|
724
868
|
"prependText",
|
|
@@ -731,7 +875,7 @@ function appendObject(origin, extend, prependKeyName = "") {
|
|
|
731
875
|
origin[i] = v;
|
|
732
876
|
}
|
|
733
877
|
}
|
|
734
|
-
|
|
878
|
+
chunkMO4O4UYI_cjs.__name(appendObject, "appendObject");
|
|
735
879
|
appendObject.__type = [
|
|
736
880
|
"origin",
|
|
737
881
|
"extend",
|
|
@@ -756,7 +900,7 @@ async function asyncOperation(executor) {
|
|
|
756
900
|
throw error;
|
|
757
901
|
}
|
|
758
902
|
}
|
|
759
|
-
|
|
903
|
+
chunkMO4O4UYI_cjs.__name(asyncOperation, "asyncOperation");
|
|
760
904
|
function fixAsyncOperation(promise) {
|
|
761
905
|
return asyncOperation(__assignType(async (resolve, reject) => {
|
|
762
906
|
resolve(await promise);
|
|
@@ -767,7 +911,7 @@ function fixAsyncOperation(promise) {
|
|
|
767
911
|
'P"2!"2""/#'
|
|
768
912
|
]));
|
|
769
913
|
}
|
|
770
|
-
|
|
914
|
+
chunkMO4O4UYI_cjs.__name(fixAsyncOperation, "fixAsyncOperation");
|
|
771
915
|
fixAsyncOperation.__type = [
|
|
772
916
|
"promise",
|
|
773
917
|
"fixAsyncOperation",
|
|
@@ -785,7 +929,7 @@ function mergePromiseStack(promise, stack2) {
|
|
|
785
929
|
]));
|
|
786
930
|
return promise;
|
|
787
931
|
}
|
|
788
|
-
|
|
932
|
+
chunkMO4O4UYI_cjs.__name(mergePromiseStack, "mergePromiseStack");
|
|
789
933
|
mergePromiseStack.__type = [
|
|
790
934
|
"promise",
|
|
791
935
|
"stack",
|
|
@@ -803,7 +947,7 @@ function createStack(removeCallee = true) {
|
|
|
803
947
|
}
|
|
804
948
|
return stack2;
|
|
805
949
|
}
|
|
806
|
-
|
|
950
|
+
chunkMO4O4UYI_cjs.__name(createStack, "createStack");
|
|
807
951
|
createStack.__type = [
|
|
808
952
|
"removeCallee",
|
|
809
953
|
() => true,
|
|
@@ -815,7 +959,7 @@ function mergeStack(error, stack2) {
|
|
|
815
959
|
error.stack += "\n" + stack2;
|
|
816
960
|
}
|
|
817
961
|
}
|
|
818
|
-
|
|
962
|
+
chunkMO4O4UYI_cjs.__name(mergeStack, "mergeStack");
|
|
819
963
|
mergeStack.__type = [
|
|
820
964
|
() => __\u03A9Error,
|
|
821
965
|
"error",
|
|
@@ -826,7 +970,7 @@ mergeStack.__type = [
|
|
|
826
970
|
function ensureError(error, classType = Error) {
|
|
827
971
|
return error instanceof Error || error instanceof AggregateError ? error : new classType(error);
|
|
828
972
|
}
|
|
829
|
-
|
|
973
|
+
chunkMO4O4UYI_cjs.__name(ensureError, "ensureError");
|
|
830
974
|
ensureError.__type = [
|
|
831
975
|
"error",
|
|
832
976
|
() => __\u03A9ClassType,
|
|
@@ -857,7 +1001,7 @@ function collectForMicrotask(callback) {
|
|
|
857
1001
|
'PPdi!Ph"!F2"$/#qe!!!j2$"/#'
|
|
858
1002
|
]);
|
|
859
1003
|
}
|
|
860
|
-
|
|
1004
|
+
chunkMO4O4UYI_cjs.__name(collectForMicrotask, "collectForMicrotask");
|
|
861
1005
|
collectForMicrotask.__type = [
|
|
862
1006
|
"args",
|
|
863
1007
|
"",
|
|
@@ -869,7 +1013,7 @@ collectForMicrotask.__type = [
|
|
|
869
1013
|
function time() {
|
|
870
1014
|
return Date.now() / 1e3;
|
|
871
1015
|
}
|
|
872
|
-
|
|
1016
|
+
chunkMO4O4UYI_cjs.__name(time, "time");
|
|
873
1017
|
time.__type = [
|
|
874
1018
|
"time",
|
|
875
1019
|
"P'/!"
|
|
@@ -879,10 +1023,10 @@ function getPathValue(bag, parameterPath, defaultValue) {
|
|
|
879
1023
|
if (isSet(bag[parameterPath])) {
|
|
880
1024
|
return bag[parameterPath];
|
|
881
1025
|
}
|
|
882
|
-
const result =
|
|
1026
|
+
const result = import_dot_prop.default.get(bag, parameterPath);
|
|
883
1027
|
return isSet(result) ? result : defaultValue;
|
|
884
1028
|
}
|
|
885
|
-
|
|
1029
|
+
chunkMO4O4UYI_cjs.__name(getPathValue, "getPathValue");
|
|
886
1030
|
getPathValue.__type = [
|
|
887
1031
|
"bag",
|
|
888
1032
|
"parameterPath",
|
|
@@ -891,9 +1035,9 @@ getPathValue.__type = [
|
|
|
891
1035
|
'PP&"LM2!&2""2#8"/$'
|
|
892
1036
|
];
|
|
893
1037
|
function setPathValue(bag, parameterPath, value) {
|
|
894
|
-
|
|
1038
|
+
import_dot_prop.default.set(bag, parameterPath, value);
|
|
895
1039
|
}
|
|
896
|
-
|
|
1040
|
+
chunkMO4O4UYI_cjs.__name(setPathValue, "setPathValue");
|
|
897
1041
|
setPathValue.__type = [
|
|
898
1042
|
"bag",
|
|
899
1043
|
"parameterPath",
|
|
@@ -902,9 +1046,9 @@ setPathValue.__type = [
|
|
|
902
1046
|
'P%2!&2""2#"/$'
|
|
903
1047
|
];
|
|
904
1048
|
function deletePathValue(bag, parameterPath) {
|
|
905
|
-
|
|
1049
|
+
import_dot_prop.default.delete(bag, parameterPath);
|
|
906
1050
|
}
|
|
907
|
-
|
|
1051
|
+
chunkMO4O4UYI_cjs.__name(deletePathValue, "deletePathValue");
|
|
908
1052
|
deletePathValue.__type = [
|
|
909
1053
|
"bag",
|
|
910
1054
|
"parameterPath",
|
|
@@ -942,7 +1086,7 @@ function humanBytes(bytes, si = false) {
|
|
|
942
1086
|
} while (Math.abs(bytes) >= thresh && u < units.length - 1);
|
|
943
1087
|
return bytes.toFixed(2) + " " + units[u];
|
|
944
1088
|
}
|
|
945
|
-
|
|
1089
|
+
chunkMO4O4UYI_cjs.__name(humanBytes, "humanBytes");
|
|
946
1090
|
humanBytes.__type = [
|
|
947
1091
|
"bytes",
|
|
948
1092
|
"si",
|
|
@@ -955,7 +1099,7 @@ function getObjectKeysSize(obj) {
|
|
|
955
1099
|
for (let i in obj) if (obj.hasOwnProperty(i)) size2++;
|
|
956
1100
|
return size2;
|
|
957
1101
|
}
|
|
958
|
-
|
|
1102
|
+
chunkMO4O4UYI_cjs.__name(getObjectKeysSize, "getObjectKeysSize");
|
|
959
1103
|
getObjectKeysSize.__type = [
|
|
960
1104
|
"obj",
|
|
961
1105
|
"getObjectKeysSize",
|
|
@@ -964,14 +1108,14 @@ getObjectKeysSize.__type = [
|
|
|
964
1108
|
function isConstructable(fn) {
|
|
965
1109
|
try {
|
|
966
1110
|
new new Proxy(fn, {
|
|
967
|
-
construct: /* @__PURE__ */
|
|
1111
|
+
construct: /* @__PURE__ */ chunkMO4O4UYI_cjs.__name(() => ({}), "construct")
|
|
968
1112
|
})();
|
|
969
1113
|
return true;
|
|
970
1114
|
} catch (err) {
|
|
971
1115
|
return false;
|
|
972
1116
|
}
|
|
973
1117
|
}
|
|
974
|
-
|
|
1118
|
+
chunkMO4O4UYI_cjs.__name(isConstructable, "isConstructable");
|
|
975
1119
|
isConstructable.__type = [
|
|
976
1120
|
"fn",
|
|
977
1121
|
"isConstructable",
|
|
@@ -987,7 +1131,7 @@ function isPrototypeOfBase(prototype, base) {
|
|
|
987
1131
|
}
|
|
988
1132
|
return false;
|
|
989
1133
|
}
|
|
990
|
-
|
|
1134
|
+
chunkMO4O4UYI_cjs.__name(isPrototypeOfBase, "isPrototypeOfBase");
|
|
991
1135
|
isPrototypeOfBase.__type = [
|
|
992
1136
|
() => __\u03A9AbstractClassType,
|
|
993
1137
|
"prototype",
|
|
@@ -1001,7 +1145,7 @@ function getParentClass(classType) {
|
|
|
1001
1145
|
if (parent === Object.prototype || Object.getPrototypeOf(parent) === Object.prototype) return;
|
|
1002
1146
|
return parent;
|
|
1003
1147
|
}
|
|
1004
|
-
|
|
1148
|
+
chunkMO4O4UYI_cjs.__name(getParentClass, "getParentClass");
|
|
1005
1149
|
getParentClass.__type = [
|
|
1006
1150
|
() => __\u03A9ClassType,
|
|
1007
1151
|
"classType",
|
|
@@ -1019,7 +1163,7 @@ function getInheritanceChain(classType) {
|
|
|
1019
1163
|
}
|
|
1020
1164
|
return chain;
|
|
1021
1165
|
}
|
|
1022
|
-
|
|
1166
|
+
chunkMO4O4UYI_cjs.__name(getInheritanceChain, "getInheritanceChain");
|
|
1023
1167
|
getInheritanceChain.__type = [
|
|
1024
1168
|
() => __\u03A9ClassType,
|
|
1025
1169
|
"classType",
|
|
@@ -1030,7 +1174,7 @@ getInheritanceChain.__type = [
|
|
|
1030
1174
|
function inDebugMode() {
|
|
1031
1175
|
return typeof v8debug === "object" || typeof process !== "undefined" && /--debug|--inspect/.test(process.execArgv.join(" "));
|
|
1032
1176
|
}
|
|
1033
|
-
|
|
1177
|
+
chunkMO4O4UYI_cjs.__name(inDebugMode, "inDebugMode");
|
|
1034
1178
|
inDebugMode.__type = [
|
|
1035
1179
|
"inDebugMode",
|
|
1036
1180
|
'P"/!'
|
|
@@ -1043,7 +1187,7 @@ function createDynamicClass(name, base) {
|
|
|
1043
1187
|
}
|
|
1044
1188
|
return new Function(`return class ${name} {}`)();
|
|
1045
1189
|
}
|
|
1046
|
-
|
|
1190
|
+
chunkMO4O4UYI_cjs.__name(createDynamicClass, "createDynamicClass");
|
|
1047
1191
|
createDynamicClass.__type = [
|
|
1048
1192
|
"name",
|
|
1049
1193
|
() => __\u03A9ClassType,
|
|
@@ -1055,7 +1199,7 @@ createDynamicClass.__type = [
|
|
|
1055
1199
|
function isIterable(value) {
|
|
1056
1200
|
return isArray(value) || value instanceof Set || value instanceof Map;
|
|
1057
1201
|
}
|
|
1058
|
-
|
|
1202
|
+
chunkMO4O4UYI_cjs.__name(isIterable, "isIterable");
|
|
1059
1203
|
isIterable.__type = [
|
|
1060
1204
|
"value",
|
|
1061
1205
|
"isIterable",
|
|
@@ -1064,7 +1208,7 @@ isIterable.__type = [
|
|
|
1064
1208
|
function iterableSize(value) {
|
|
1065
1209
|
return isArray(value) ? value.length : value.size || 0;
|
|
1066
1210
|
}
|
|
1067
|
-
|
|
1211
|
+
chunkMO4O4UYI_cjs.__name(iterableSize, "iterableSize");
|
|
1068
1212
|
iterableSize.__type = [
|
|
1069
1213
|
"value",
|
|
1070
1214
|
"iterableSize",
|
|
@@ -1082,7 +1226,7 @@ function getCurrentFileName() {
|
|
|
1082
1226
|
}
|
|
1083
1227
|
return path;
|
|
1084
1228
|
}
|
|
1085
|
-
|
|
1229
|
+
chunkMO4O4UYI_cjs.__name(getCurrentFileName, "getCurrentFileName");
|
|
1086
1230
|
getCurrentFileName.__type = [
|
|
1087
1231
|
"getCurrentFileName",
|
|
1088
1232
|
"P&/!"
|
|
@@ -1090,7 +1234,7 @@ getCurrentFileName.__type = [
|
|
|
1090
1234
|
function escapeRegExp(string) {
|
|
1091
1235
|
return string.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
1092
1236
|
}
|
|
1093
|
-
|
|
1237
|
+
chunkMO4O4UYI_cjs.__name(escapeRegExp, "escapeRegExp");
|
|
1094
1238
|
escapeRegExp.__type = [
|
|
1095
1239
|
"string",
|
|
1096
1240
|
"escapeRegExp",
|
|
@@ -1099,7 +1243,7 @@ escapeRegExp.__type = [
|
|
|
1099
1243
|
function hasProperty(object, property) {
|
|
1100
1244
|
return Object.prototype.hasOwnProperty.call(object, property);
|
|
1101
1245
|
}
|
|
1102
|
-
|
|
1246
|
+
chunkMO4O4UYI_cjs.__name(hasProperty, "hasProperty");
|
|
1103
1247
|
hasProperty.__type = [
|
|
1104
1248
|
"object",
|
|
1105
1249
|
"property",
|
|
@@ -1117,7 +1261,7 @@ function* range(startOrLength, stop = 0, step = 1) {
|
|
|
1117
1261
|
yield i;
|
|
1118
1262
|
}
|
|
1119
1263
|
}
|
|
1120
|
-
|
|
1264
|
+
chunkMO4O4UYI_cjs.__name(range, "range");
|
|
1121
1265
|
range.__type = [
|
|
1122
1266
|
"startOrLength",
|
|
1123
1267
|
"stop",
|
|
@@ -1133,7 +1277,7 @@ function rangeArray(startOrLength, stop = 0, step = 1) {
|
|
|
1133
1277
|
...range(startOrLength, stop, step)
|
|
1134
1278
|
];
|
|
1135
1279
|
}
|
|
1136
|
-
|
|
1280
|
+
chunkMO4O4UYI_cjs.__name(rangeArray, "rangeArray");
|
|
1137
1281
|
rangeArray.__type = [
|
|
1138
1282
|
"startOrLength",
|
|
1139
1283
|
"stop",
|
|
@@ -1162,7 +1306,7 @@ function zip(...args) {
|
|
|
1162
1306
|
'P"2!"2""/#'
|
|
1163
1307
|
]));
|
|
1164
1308
|
}
|
|
1165
|
-
|
|
1309
|
+
chunkMO4O4UYI_cjs.__name(zip, "zip");
|
|
1166
1310
|
zip.__type = [
|
|
1167
1311
|
"args",
|
|
1168
1312
|
"zip",
|
|
@@ -1172,7 +1316,7 @@ function forwardTypeArguments(x, y) {
|
|
|
1172
1316
|
y.\u03A9 = x.\u03A9;
|
|
1173
1317
|
x.\u03A9 = void 0;
|
|
1174
1318
|
}
|
|
1175
|
-
|
|
1319
|
+
chunkMO4O4UYI_cjs.__name(forwardTypeArguments, "forwardTypeArguments");
|
|
1176
1320
|
forwardTypeArguments.__type = [
|
|
1177
1321
|
"x",
|
|
1178
1322
|
"y",
|
|
@@ -1203,7 +1347,7 @@ ${error.errors.map(__assignType((v) => formatError(v), [
|
|
|
1203
1347
|
if (withStack && error.stack) return error.stack;
|
|
1204
1348
|
return String(error);
|
|
1205
1349
|
}
|
|
1206
|
-
|
|
1350
|
+
chunkMO4O4UYI_cjs.__name(formatError, "formatError");
|
|
1207
1351
|
formatError.__type = [
|
|
1208
1352
|
"error",
|
|
1209
1353
|
"withStack",
|
|
@@ -1216,7 +1360,7 @@ function assertInstanceOf(object, constructor) {
|
|
|
1216
1360
|
throw new Error(`Object ${getClassName(object)} is not an instance of the expected class ${getClassName(constructor)}`);
|
|
1217
1361
|
}
|
|
1218
1362
|
}
|
|
1219
|
-
|
|
1363
|
+
chunkMO4O4UYI_cjs.__name(assertInstanceOf, "assertInstanceOf");
|
|
1220
1364
|
assertInstanceOf.__type = [
|
|
1221
1365
|
"object",
|
|
1222
1366
|
"args",
|
|
@@ -1230,16 +1374,20 @@ function assertDefined(value) {
|
|
|
1230
1374
|
throw new Error(`Value is not defined`);
|
|
1231
1375
|
}
|
|
1232
1376
|
}
|
|
1233
|
-
|
|
1377
|
+
chunkMO4O4UYI_cjs.__name(assertDefined, "assertDefined");
|
|
1234
1378
|
assertDefined.__type = [
|
|
1235
1379
|
"value",
|
|
1236
1380
|
"assertDefined",
|
|
1237
1381
|
'P"2!!/"'
|
|
1238
1382
|
];
|
|
1383
|
+
|
|
1384
|
+
// ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/perf.js
|
|
1385
|
+
chunkMO4O4UYI_cjs.init_cjs_shims();
|
|
1386
|
+
var import_to_fast_properties = chunkMO4O4UYI_cjs.__toESM(require_to_fast_properties(), 1);
|
|
1239
1387
|
function toFastProperties(obj) {
|
|
1240
|
-
|
|
1388
|
+
(0, import_to_fast_properties.default)(obj);
|
|
1241
1389
|
}
|
|
1242
|
-
|
|
1390
|
+
chunkMO4O4UYI_cjs.__name(toFastProperties, "toFastProperties");
|
|
1243
1391
|
toFastProperties.__type = [
|
|
1244
1392
|
"obj",
|
|
1245
1393
|
"toFastProperties",
|
|
@@ -1247,6 +1395,7 @@ toFastProperties.__type = [
|
|
|
1247
1395
|
];
|
|
1248
1396
|
|
|
1249
1397
|
// ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/decorators.js
|
|
1398
|
+
chunkMO4O4UYI_cjs.init_cjs_shims();
|
|
1250
1399
|
var __\u03A9PropertyDescriptor = [
|
|
1251
1400
|
"configurable",
|
|
1252
1401
|
"enumerable",
|
|
@@ -1274,7 +1423,7 @@ function __assignType2(fn, args) {
|
|
|
1274
1423
|
fn.__type = args;
|
|
1275
1424
|
return fn;
|
|
1276
1425
|
}
|
|
1277
|
-
|
|
1426
|
+
chunkMO4O4UYI_cjs.__name(__assignType2, "__assignType");
|
|
1278
1427
|
function log() {
|
|
1279
1428
|
return __assignType2(function(target, propertyKey, descriptor) {
|
|
1280
1429
|
const orig = descriptor.value;
|
|
@@ -1301,7 +1450,7 @@ function log() {
|
|
|
1301
1450
|
'P%2!P&+J2"n#2$"/%'
|
|
1302
1451
|
]);
|
|
1303
1452
|
}
|
|
1304
|
-
|
|
1453
|
+
chunkMO4O4UYI_cjs.__name(log, "log");
|
|
1305
1454
|
log.__type = [
|
|
1306
1455
|
"log",
|
|
1307
1456
|
'P"/!'
|
|
@@ -1339,7 +1488,7 @@ function stack() {
|
|
|
1339
1488
|
'P%2!&2"P"@2$"`/%o#"2&"/%'
|
|
1340
1489
|
]);
|
|
1341
1490
|
}
|
|
1342
|
-
|
|
1491
|
+
chunkMO4O4UYI_cjs.__name(stack, "stack");
|
|
1343
1492
|
stack.__type = [
|
|
1344
1493
|
"stack",
|
|
1345
1494
|
'P"/!'
|
|
@@ -1377,13 +1526,14 @@ function singleStack() {
|
|
|
1377
1526
|
'P%2!&2"P"@2$"`/%o#"2&"/%'
|
|
1378
1527
|
]);
|
|
1379
1528
|
}
|
|
1380
|
-
|
|
1529
|
+
chunkMO4O4UYI_cjs.__name(singleStack, "singleStack");
|
|
1381
1530
|
singleStack.__type = [
|
|
1382
1531
|
"singleStack",
|
|
1383
1532
|
'P"/!'
|
|
1384
1533
|
];
|
|
1385
1534
|
|
|
1386
1535
|
// ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/enum.js
|
|
1536
|
+
chunkMO4O4UYI_cjs.init_cjs_shims();
|
|
1387
1537
|
var __\u03A9Object2 = [
|
|
1388
1538
|
() => Function,
|
|
1389
1539
|
"constructor",
|
|
@@ -1409,7 +1559,7 @@ function __assignType3(fn, args) {
|
|
|
1409
1559
|
fn.__type = args;
|
|
1410
1560
|
return fn;
|
|
1411
1561
|
}
|
|
1412
|
-
|
|
1562
|
+
chunkMO4O4UYI_cjs.__name(__assignType3, "__assignType");
|
|
1413
1563
|
var cacheEnumLabels = (Map.\u03A9 = [
|
|
1414
1564
|
[
|
|
1415
1565
|
() => __\u03A9Object2,
|
|
@@ -1426,7 +1576,7 @@ function getEnumLabel(enumType, id) {
|
|
|
1426
1576
|
}
|
|
1427
1577
|
}
|
|
1428
1578
|
}
|
|
1429
|
-
|
|
1579
|
+
chunkMO4O4UYI_cjs.__name(getEnumLabel, "getEnumLabel");
|
|
1430
1580
|
getEnumLabel.__type = [
|
|
1431
1581
|
"enumType",
|
|
1432
1582
|
"id",
|
|
@@ -1445,7 +1595,7 @@ function getEnumLabels(enumDefinition) {
|
|
|
1445
1595
|
}
|
|
1446
1596
|
return value;
|
|
1447
1597
|
}
|
|
1448
|
-
|
|
1598
|
+
chunkMO4O4UYI_cjs.__name(getEnumLabels, "getEnumLabels");
|
|
1449
1599
|
getEnumLabels.__type = [
|
|
1450
1600
|
"enumDefinition",
|
|
1451
1601
|
"getEnumLabels",
|
|
@@ -1474,7 +1624,7 @@ function getEnumValues(enumDefinition) {
|
|
|
1474
1624
|
}
|
|
1475
1625
|
return value;
|
|
1476
1626
|
}
|
|
1477
|
-
|
|
1627
|
+
chunkMO4O4UYI_cjs.__name(getEnumValues, "getEnumValues");
|
|
1478
1628
|
getEnumValues.__type = [
|
|
1479
1629
|
"enumDefinition",
|
|
1480
1630
|
"getEnumValues",
|
|
@@ -1496,7 +1646,7 @@ function getEnumKeyLabelMap(enumDefinition) {
|
|
|
1496
1646
|
}
|
|
1497
1647
|
return map;
|
|
1498
1648
|
}
|
|
1499
|
-
|
|
1649
|
+
chunkMO4O4UYI_cjs.__name(getEnumKeyLabelMap, "getEnumKeyLabelMap");
|
|
1500
1650
|
getEnumKeyLabelMap.__type = [
|
|
1501
1651
|
"enumDefinition",
|
|
1502
1652
|
"getEnumKeyLabelMap",
|
|
@@ -1512,7 +1662,7 @@ function isValidEnumValue(enumDefinition, value, allowLabelsAsValue = false) {
|
|
|
1512
1662
|
const values = getEnumValues(enumDefinition);
|
|
1513
1663
|
return -1 !== values.indexOf(+value) || -1 !== values.indexOf(value) || -1 !== values.indexOf(String(value));
|
|
1514
1664
|
}
|
|
1515
|
-
|
|
1665
|
+
chunkMO4O4UYI_cjs.__name(isValidEnumValue, "isValidEnumValue");
|
|
1516
1666
|
isValidEnumValue.__type = [
|
|
1517
1667
|
"enumDefinition",
|
|
1518
1668
|
"value",
|
|
@@ -1538,7 +1688,7 @@ function getValidEnumValue(enumDefinition, value, allowLabelsAsValue = false) {
|
|
|
1538
1688
|
return String(value);
|
|
1539
1689
|
}
|
|
1540
1690
|
}
|
|
1541
|
-
|
|
1691
|
+
chunkMO4O4UYI_cjs.__name(getValidEnumValue, "getValidEnumValue");
|
|
1542
1692
|
getValidEnumValue.__type = [
|
|
1543
1693
|
"enumDefinition",
|
|
1544
1694
|
"value",
|
|
@@ -1548,9 +1698,10 @@ getValidEnumValue.__type = [
|
|
|
1548
1698
|
];
|
|
1549
1699
|
|
|
1550
1700
|
// ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/timer.js
|
|
1701
|
+
chunkMO4O4UYI_cjs.init_cjs_shims();
|
|
1551
1702
|
var Timer = class {
|
|
1552
1703
|
static {
|
|
1553
|
-
|
|
1704
|
+
chunkMO4O4UYI_cjs.__name(this, "Timer");
|
|
1554
1705
|
}
|
|
1555
1706
|
constructor() {
|
|
1556
1707
|
this.timeoutTimers = [];
|
|
@@ -1584,10 +1735,11 @@ Timer.__type = [
|
|
|
1584
1735
|
];
|
|
1585
1736
|
|
|
1586
1737
|
// ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/array.js
|
|
1738
|
+
chunkMO4O4UYI_cjs.init_cjs_shims();
|
|
1587
1739
|
function arrayHasItem(array, item) {
|
|
1588
1740
|
return -1 !== array.indexOf(item);
|
|
1589
1741
|
}
|
|
1590
|
-
|
|
1742
|
+
chunkMO4O4UYI_cjs.__name(arrayHasItem, "arrayHasItem");
|
|
1591
1743
|
arrayHasItem.__type = [
|
|
1592
1744
|
"array",
|
|
1593
1745
|
"item",
|
|
@@ -1599,7 +1751,7 @@ function arrayClear(array) {
|
|
|
1599
1751
|
array.length = 0;
|
|
1600
1752
|
return found;
|
|
1601
1753
|
}
|
|
1602
|
-
|
|
1754
|
+
chunkMO4O4UYI_cjs.__name(arrayClear, "arrayClear");
|
|
1603
1755
|
arrayClear.__type = [
|
|
1604
1756
|
"array",
|
|
1605
1757
|
"arrayClear",
|
|
@@ -1613,7 +1765,7 @@ function arrayRemoveItem(array, item) {
|
|
|
1613
1765
|
}
|
|
1614
1766
|
return false;
|
|
1615
1767
|
}
|
|
1616
|
-
|
|
1768
|
+
chunkMO4O4UYI_cjs.__name(arrayRemoveItem, "arrayRemoveItem");
|
|
1617
1769
|
arrayRemoveItem.__type = [
|
|
1618
1770
|
"array",
|
|
1619
1771
|
"item",
|
|
@@ -1636,7 +1788,7 @@ function arrayMoveItem(array, item, move) {
|
|
|
1636
1788
|
}
|
|
1637
1789
|
return array;
|
|
1638
1790
|
}
|
|
1639
|
-
|
|
1791
|
+
chunkMO4O4UYI_cjs.__name(arrayMoveItem, "arrayMoveItem");
|
|
1640
1792
|
arrayMoveItem.__type = [
|
|
1641
1793
|
"array",
|
|
1642
1794
|
"item",
|
|
@@ -1646,15 +1798,16 @@ arrayMoveItem.__type = [
|
|
|
1646
1798
|
];
|
|
1647
1799
|
|
|
1648
1800
|
// ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/process-locker.js
|
|
1801
|
+
chunkMO4O4UYI_cjs.init_cjs_shims();
|
|
1649
1802
|
function __assignType4(fn, args) {
|
|
1650
1803
|
fn.__type = args;
|
|
1651
1804
|
return fn;
|
|
1652
1805
|
}
|
|
1653
|
-
|
|
1806
|
+
chunkMO4O4UYI_cjs.__name(__assignType4, "__assignType");
|
|
1654
1807
|
var LOCKS = {};
|
|
1655
1808
|
var ProcessLock = class {
|
|
1656
1809
|
static {
|
|
1657
|
-
|
|
1810
|
+
chunkMO4O4UYI_cjs.__name(this, "ProcessLock");
|
|
1658
1811
|
}
|
|
1659
1812
|
constructor(id) {
|
|
1660
1813
|
this.id = id;
|
|
@@ -1671,7 +1824,7 @@ var ProcessLock = class {
|
|
|
1671
1824
|
], new Promise(__assignType4((resolve, reject) => {
|
|
1672
1825
|
if (LOCKS[this.id]) {
|
|
1673
1826
|
let timeoutId;
|
|
1674
|
-
const ourTake = /* @__PURE__ */
|
|
1827
|
+
const ourTake = /* @__PURE__ */ chunkMO4O4UYI_cjs.__name(() => {
|
|
1675
1828
|
LOCKS[this.id].time = Date.now() / 1e3;
|
|
1676
1829
|
clearTimeout(timeoutId);
|
|
1677
1830
|
this.holding = true;
|
|
@@ -1764,7 +1917,7 @@ ProcessLock.__type = [
|
|
|
1764
1917
|
];
|
|
1765
1918
|
var ProcessLocker = class {
|
|
1766
1919
|
static {
|
|
1767
|
-
|
|
1920
|
+
chunkMO4O4UYI_cjs.__name(this, "ProcessLocker");
|
|
1768
1921
|
}
|
|
1769
1922
|
/**
|
|
1770
1923
|
*
|
|
@@ -1805,7 +1958,7 @@ ProcessLocker.__type = [
|
|
|
1805
1958
|
];
|
|
1806
1959
|
var Mutex = class {
|
|
1807
1960
|
static {
|
|
1808
|
-
|
|
1961
|
+
chunkMO4O4UYI_cjs.__name(this, "Mutex");
|
|
1809
1962
|
}
|
|
1810
1963
|
unlock() {
|
|
1811
1964
|
if (this.resolver) this.resolver();
|
|
@@ -1835,9 +1988,10 @@ Mutex.__type = [
|
|
|
1835
1988
|
];
|
|
1836
1989
|
|
|
1837
1990
|
// ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/network.js
|
|
1991
|
+
chunkMO4O4UYI_cjs.init_cjs_shims();
|
|
1838
1992
|
var ParsedHost = class {
|
|
1839
1993
|
static {
|
|
1840
|
-
|
|
1994
|
+
chunkMO4O4UYI_cjs.__name(this, "ParsedHost");
|
|
1841
1995
|
}
|
|
1842
1996
|
constructor() {
|
|
1843
1997
|
this.host = "127.0.0.1";
|
|
@@ -1908,7 +2062,7 @@ function parseHost(hostWithIpOrUnixPath) {
|
|
|
1908
2062
|
}
|
|
1909
2063
|
return parsedHost;
|
|
1910
2064
|
}
|
|
1911
|
-
|
|
2065
|
+
chunkMO4O4UYI_cjs.__name(parseHost, "parseHost");
|
|
1912
2066
|
parseHost.__type = [
|
|
1913
2067
|
"hostWithIpOrUnixPath",
|
|
1914
2068
|
() => ParsedHost,
|
|
@@ -1916,19 +2070,23 @@ parseHost.__type = [
|
|
|
1916
2070
|
'P&2!P7"/#'
|
|
1917
2071
|
];
|
|
1918
2072
|
|
|
2073
|
+
// ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/compiler.js
|
|
2074
|
+
chunkMO4O4UYI_cjs.init_cjs_shims();
|
|
2075
|
+
|
|
1919
2076
|
// ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/indent.js
|
|
2077
|
+
chunkMO4O4UYI_cjs.init_cjs_shims();
|
|
1920
2078
|
function __assignType5(fn, args) {
|
|
1921
2079
|
fn.__type = args;
|
|
1922
2080
|
return fn;
|
|
1923
2081
|
}
|
|
1924
|
-
|
|
2082
|
+
chunkMO4O4UYI_cjs.__name(__assignType5, "__assignType");
|
|
1925
2083
|
var indent = __assignType5(function(n) {
|
|
1926
2084
|
function t(n2, t2) {
|
|
1927
2085
|
var e2, r2 = [];
|
|
1928
2086
|
for (e2 = 0; e2 < n2.length; e2++) r2.push(t2(n2[e2], e2, n2));
|
|
1929
2087
|
return r2;
|
|
1930
2088
|
}
|
|
1931
|
-
|
|
2089
|
+
chunkMO4O4UYI_cjs.__name(t, "t");
|
|
1932
2090
|
t.__type = [
|
|
1933
2091
|
"n",
|
|
1934
2092
|
"t",
|
|
@@ -1939,7 +2097,7 @@ var indent = __assignType5(function(n) {
|
|
|
1939
2097
|
for (e2 = 0; e2 < n2.length; e2++) if (r2 = t2(n2[e2], e2, n2)) return r2;
|
|
1940
2098
|
return false;
|
|
1941
2099
|
}
|
|
1942
|
-
|
|
2100
|
+
chunkMO4O4UYI_cjs.__name(e, "e");
|
|
1943
2101
|
e.__type = [
|
|
1944
2102
|
"n",
|
|
1945
2103
|
"t",
|
|
@@ -1953,7 +2111,7 @@ var indent = __assignType5(function(n) {
|
|
|
1953
2111
|
for (var a2 = 0; a2 < t2.length; a2++) t2[a2].a.indexOf(n2.toLowerCase()) !== -1 && e2.indexOf(t2[a2].b) === -1 && r2.push(t2[a2]);
|
|
1954
2112
|
return r2;
|
|
1955
2113
|
}
|
|
1956
|
-
|
|
2114
|
+
chunkMO4O4UYI_cjs.__name(r, "r");
|
|
1957
2115
|
r.__type = [
|
|
1958
2116
|
"n",
|
|
1959
2117
|
"t",
|
|
@@ -1967,7 +2125,7 @@ var indent = __assignType5(function(n) {
|
|
|
1967
2125
|
var t2 = n3.rule, e2 = E + 1 + (t2.c || 0);
|
|
1968
2126
|
n3.line = e2, Z.push(n3), t2.d && z[e2]++, t2.e && (S = r(t2.e, g)), t2.f && F.push(null), t2.callback && t2.callback(n3, z, O);
|
|
1969
2127
|
}
|
|
1970
|
-
|
|
2128
|
+
chunkMO4O4UYI_cjs.__name(h2, "h");
|
|
1971
2129
|
h2.__type = [
|
|
1972
2130
|
"n",
|
|
1973
2131
|
"h",
|
|
@@ -1981,7 +2139,7 @@ var indent = __assignType5(function(n) {
|
|
|
1981
2139
|
}
|
|
1982
2140
|
e2.e && (S = null), e2.f && F.pop(), F[F.length - 1] = n3;
|
|
1983
2141
|
}
|
|
1984
|
-
|
|
2142
|
+
chunkMO4O4UYI_cjs.__name(d2, "d");
|
|
1985
2143
|
d2.__type = [
|
|
1986
2144
|
"d",
|
|
1987
2145
|
'P"/!'
|
|
@@ -2010,7 +2168,7 @@ var indent = __assignType5(function(n) {
|
|
|
2010
2168
|
lastMatch: o3
|
|
2011
2169
|
};
|
|
2012
2170
|
}
|
|
2013
|
-
|
|
2171
|
+
chunkMO4O4UYI_cjs.__name(m2, "m");
|
|
2014
2172
|
m2.__type = [
|
|
2015
2173
|
"n",
|
|
2016
2174
|
"r",
|
|
@@ -2028,7 +2186,7 @@ var indent = __assignType5(function(n) {
|
|
|
2028
2186
|
state: l2.state
|
|
2029
2187
|
};
|
|
2030
2188
|
}
|
|
2031
|
-
|
|
2189
|
+
chunkMO4O4UYI_cjs.__name(j2, "j");
|
|
2032
2190
|
j2.__type = [
|
|
2033
2191
|
"n",
|
|
2034
2192
|
"t",
|
|
@@ -2070,7 +2228,7 @@ var indent = __assignType5(function(n) {
|
|
|
2070
2228
|
for (M = 0; M < w; M++) 1 === A[M - 1] && 1 === A[M] ? B.push(k[M]) : (H += _[M] || 0, B.push((H > 0 ? c(y, H) : "") + k[M].trim()));
|
|
2071
2229
|
return B.join("\r\n");
|
|
2072
2230
|
}
|
|
2073
|
-
|
|
2231
|
+
chunkMO4O4UYI_cjs.__name(a, "a");
|
|
2074
2232
|
a.__type = [
|
|
2075
2233
|
"n",
|
|
2076
2234
|
"a",
|
|
@@ -2081,7 +2239,7 @@ var indent = __assignType5(function(n) {
|
|
|
2081
2239
|
for (var t2 = new Array(n2), e2 = 0; e2 < n2; e2++) t2[e2] = [];
|
|
2082
2240
|
return t2;
|
|
2083
2241
|
}
|
|
2084
|
-
|
|
2242
|
+
chunkMO4O4UYI_cjs.__name(l, "l");
|
|
2085
2243
|
l.__type = [
|
|
2086
2244
|
"n",
|
|
2087
2245
|
"l",
|
|
@@ -2092,7 +2250,7 @@ var indent = __assignType5(function(n) {
|
|
|
2092
2250
|
for (var e2 = new Array(t2), r2 = 0; r2 < t2; r2++) e2[r2] = 0;
|
|
2093
2251
|
return e2;
|
|
2094
2252
|
}
|
|
2095
|
-
|
|
2253
|
+
chunkMO4O4UYI_cjs.__name(s, "s");
|
|
2096
2254
|
s.__type = [
|
|
2097
2255
|
"t",
|
|
2098
2256
|
"s",
|
|
@@ -2102,7 +2260,7 @@ var indent = __assignType5(function(n) {
|
|
|
2102
2260
|
for (var t2 = s(n2.length), e2 = 0; e2 < n2.length; e2++) t2[e2] = n2[e2];
|
|
2103
2261
|
return t2;
|
|
2104
2262
|
}
|
|
2105
|
-
|
|
2263
|
+
chunkMO4O4UYI_cjs.__name(i, "i");
|
|
2106
2264
|
i.__type = [
|
|
2107
2265
|
"n",
|
|
2108
2266
|
"i",
|
|
@@ -2111,7 +2269,7 @@ var indent = __assignType5(function(n) {
|
|
|
2111
2269
|
function c(n2, t2) {
|
|
2112
2270
|
return new Array(t2 + 1).join(n2);
|
|
2113
2271
|
}
|
|
2114
|
-
|
|
2272
|
+
chunkMO4O4UYI_cjs.__name(c, "c");
|
|
2115
2273
|
c.__type = [
|
|
2116
2274
|
"n",
|
|
2117
2275
|
"t",
|
|
@@ -2121,7 +2279,7 @@ var indent = __assignType5(function(n) {
|
|
|
2121
2279
|
function u(n2) {
|
|
2122
2280
|
return n2.replace(/\\(u[0-9A-Za-z]{4}|u\{[0-9A-Za-z]{1,6}]\}|x[0-9A-Za-z]{2}|.)/g, "0");
|
|
2123
2281
|
}
|
|
2124
|
-
|
|
2282
|
+
chunkMO4O4UYI_cjs.__name(u, "u");
|
|
2125
2283
|
u.__type = [
|
|
2126
2284
|
"n",
|
|
2127
2285
|
"u",
|
|
@@ -2131,7 +2289,7 @@ var indent = __assignType5(function(n) {
|
|
|
2131
2289
|
var r2 = n2.lastMatch;
|
|
2132
2290
|
r2 && "=" === r2.rule.b && e2[n2.line].push(-r2.line);
|
|
2133
2291
|
}
|
|
2134
|
-
|
|
2292
|
+
chunkMO4O4UYI_cjs.__name(o, "o");
|
|
2135
2293
|
o.__type = [
|
|
2136
2294
|
"n",
|
|
2137
2295
|
"t",
|
|
@@ -2149,7 +2307,7 @@ var indent = __assignType5(function(n) {
|
|
|
2149
2307
|
} else a2 = n2.search(/[^\s\r\n\{\(\[]/), e2.newline = a2 !== -1 && (a2 <= r2.relativeIndex || r2.relativeIndex === -1);
|
|
2150
2308
|
return null;
|
|
2151
2309
|
}
|
|
2152
|
-
|
|
2310
|
+
chunkMO4O4UYI_cjs.__name(h, "h");
|
|
2153
2311
|
h.__type = [
|
|
2154
2312
|
"n",
|
|
2155
2313
|
"t",
|
|
@@ -2176,7 +2334,7 @@ var indent = __assignType5(function(n) {
|
|
|
2176
2334
|
state: r2
|
|
2177
2335
|
};
|
|
2178
2336
|
}
|
|
2179
|
-
|
|
2337
|
+
chunkMO4O4UYI_cjs.__name(f, "f");
|
|
2180
2338
|
f.__type = [
|
|
2181
2339
|
"n",
|
|
2182
2340
|
"t",
|
|
@@ -2758,7 +2916,7 @@ var __\u03A9Partial = [
|
|
|
2758
2916
|
var indentCode = ("undefined" !== typeof process && process.env?.DEBUG || "").includes("deepkit");
|
|
2759
2917
|
var CompilerContext = class {
|
|
2760
2918
|
static {
|
|
2761
|
-
|
|
2919
|
+
chunkMO4O4UYI_cjs.__name(this, "CompilerContext");
|
|
2762
2920
|
}
|
|
2763
2921
|
constructor(config = {}) {
|
|
2764
2922
|
this.context = (Map.\u03A9 = [
|
|
@@ -2962,11 +3120,12 @@ CompilerContext.__type = [
|
|
|
2962
3120
|
];
|
|
2963
3121
|
|
|
2964
3122
|
// ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/string.js
|
|
3123
|
+
chunkMO4O4UYI_cjs.init_cjs_shims();
|
|
2965
3124
|
function __assignType6(fn, args) {
|
|
2966
3125
|
fn.__type = args;
|
|
2967
3126
|
return fn;
|
|
2968
3127
|
}
|
|
2969
|
-
|
|
3128
|
+
chunkMO4O4UYI_cjs.__name(__assignType6, "__assignType");
|
|
2970
3129
|
function indent2(indentation, prefix = "") {
|
|
2971
3130
|
return __assignType6((str = "") => {
|
|
2972
3131
|
return " ".repeat(indentation) + str.replace(/\n/g, "\n" + " ".repeat(indentation) + prefix);
|
|
@@ -2977,7 +3136,7 @@ function indent2(indentation, prefix = "") {
|
|
|
2977
3136
|
'P&2!>""/#'
|
|
2978
3137
|
]);
|
|
2979
3138
|
}
|
|
2980
|
-
|
|
3139
|
+
chunkMO4O4UYI_cjs.__name(indent2, "indent");
|
|
2981
3140
|
indent2.__type = [
|
|
2982
3141
|
"indentation",
|
|
2983
3142
|
"prefix",
|
|
@@ -2988,7 +3147,7 @@ indent2.__type = [
|
|
|
2988
3147
|
function capitalize(string) {
|
|
2989
3148
|
return string.charAt(0).toUpperCase() + string.slice(1);
|
|
2990
3149
|
}
|
|
2991
|
-
|
|
3150
|
+
chunkMO4O4UYI_cjs.__name(capitalize, "capitalize");
|
|
2992
3151
|
capitalize.__type = [
|
|
2993
3152
|
"string",
|
|
2994
3153
|
"capitalize",
|
|
@@ -2996,6 +3155,7 @@ capitalize.__type = [
|
|
|
2996
3155
|
];
|
|
2997
3156
|
|
|
2998
3157
|
// ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/emitter.js
|
|
3158
|
+
chunkMO4O4UYI_cjs.init_cjs_shims();
|
|
2999
3159
|
var __\u03A9AsyncSubscriber = [
|
|
3000
3160
|
"T",
|
|
3001
3161
|
"event",
|
|
@@ -3025,7 +3185,7 @@ var __\u03A9EventSubscription = [
|
|
|
3025
3185
|
var asyncId = 0;
|
|
3026
3186
|
var EmitterEvent = class {
|
|
3027
3187
|
static {
|
|
3028
|
-
|
|
3188
|
+
chunkMO4O4UYI_cjs.__name(this, "EmitterEvent");
|
|
3029
3189
|
}
|
|
3030
3190
|
constructor() {
|
|
3031
3191
|
this.id = asyncId++;
|
|
@@ -3066,7 +3226,7 @@ EmitterEvent.__type = [
|
|
|
3066
3226
|
];
|
|
3067
3227
|
var EventEmitter = class {
|
|
3068
3228
|
static {
|
|
3069
|
-
|
|
3229
|
+
chunkMO4O4UYI_cjs.__name(this, "EventEmitter");
|
|
3070
3230
|
}
|
|
3071
3231
|
constructor(parent) {
|
|
3072
3232
|
this.parent = parent;
|
|
@@ -3075,7 +3235,7 @@ var EventEmitter = class {
|
|
|
3075
3235
|
subscribe(callback) {
|
|
3076
3236
|
this.subscribers.push(callback);
|
|
3077
3237
|
return {
|
|
3078
|
-
unsubscribe: /* @__PURE__ */
|
|
3238
|
+
unsubscribe: /* @__PURE__ */ chunkMO4O4UYI_cjs.__name(() => {
|
|
3079
3239
|
arrayRemoveItem(this.subscribers, callback);
|
|
3080
3240
|
}, "unsubscribe")
|
|
3081
3241
|
};
|
|
@@ -3114,7 +3274,7 @@ EventEmitter.__type = [
|
|
|
3114
3274
|
];
|
|
3115
3275
|
var AsyncEventEmitter = class {
|
|
3116
3276
|
static {
|
|
3117
|
-
|
|
3277
|
+
chunkMO4O4UYI_cjs.__name(this, "AsyncEventEmitter");
|
|
3118
3278
|
}
|
|
3119
3279
|
constructor(parent) {
|
|
3120
3280
|
this.parent = parent;
|
|
@@ -3123,7 +3283,7 @@ var AsyncEventEmitter = class {
|
|
|
3123
3283
|
subscribe(callback) {
|
|
3124
3284
|
this.subscribers.push(callback);
|
|
3125
3285
|
return {
|
|
3126
|
-
unsubscribe: /* @__PURE__ */
|
|
3286
|
+
unsubscribe: /* @__PURE__ */ chunkMO4O4UYI_cjs.__name(() => {
|
|
3127
3287
|
arrayRemoveItem(this.subscribers, callback);
|
|
3128
3288
|
}, "unsubscribe")
|
|
3129
3289
|
};
|
|
@@ -3162,11 +3322,12 @@ AsyncEventEmitter.__type = [
|
|
|
3162
3322
|
];
|
|
3163
3323
|
|
|
3164
3324
|
// ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/reactive.js
|
|
3325
|
+
chunkMO4O4UYI_cjs.init_cjs_shims();
|
|
3165
3326
|
function __assignType7(fn, args) {
|
|
3166
3327
|
fn.__type = args;
|
|
3167
3328
|
return fn;
|
|
3168
3329
|
}
|
|
3169
|
-
|
|
3330
|
+
chunkMO4O4UYI_cjs.__name(__assignType7, "__assignType");
|
|
3170
3331
|
var nextTick = typeof requestAnimationFrame !== "undefined" ? __assignType7((cb) => requestAnimationFrame(cb), [
|
|
3171
3332
|
"",
|
|
3172
3333
|
"cb",
|
|
@@ -3203,7 +3364,7 @@ function throttleTime(call, cps = 5) {
|
|
|
3203
3364
|
nextTick(tick);
|
|
3204
3365
|
}
|
|
3205
3366
|
}
|
|
3206
|
-
|
|
3367
|
+
chunkMO4O4UYI_cjs.__name(tick, "tick");
|
|
3207
3368
|
tick.__type = [
|
|
3208
3369
|
"tick",
|
|
3209
3370
|
'P"/!'
|
|
@@ -3218,7 +3379,7 @@ function throttleTime(call, cps = 5) {
|
|
|
3218
3379
|
'P"@2!"/"'
|
|
3219
3380
|
]);
|
|
3220
3381
|
}
|
|
3221
|
-
|
|
3382
|
+
chunkMO4O4UYI_cjs.__name(throttleTime, "throttleTime");
|
|
3222
3383
|
throttleTime.__type = [
|
|
3223
3384
|
() => Function,
|
|
3224
3385
|
"call",
|
|
@@ -3242,7 +3403,7 @@ function bufferedGate(callback) {
|
|
|
3242
3403
|
q.splice(0, q.length);
|
|
3243
3404
|
});
|
|
3244
3405
|
return {
|
|
3245
|
-
activate: /* @__PURE__ */
|
|
3406
|
+
activate: /* @__PURE__ */ chunkMO4O4UYI_cjs.__name(() => {
|
|
3246
3407
|
activated = true;
|
|
3247
3408
|
throttled();
|
|
3248
3409
|
}, "activate"),
|
|
@@ -3260,7 +3421,7 @@ function bufferedGate(callback) {
|
|
|
3260
3421
|
])
|
|
3261
3422
|
};
|
|
3262
3423
|
}
|
|
3263
|
-
|
|
3424
|
+
chunkMO4O4UYI_cjs.__name(bufferedGate, "bufferedGate");
|
|
3264
3425
|
bufferedGate.__type = [
|
|
3265
3426
|
"arg",
|
|
3266
3427
|
"",
|
|
@@ -3270,6 +3431,7 @@ bufferedGate.__type = [
|
|
|
3270
3431
|
];
|
|
3271
3432
|
|
|
3272
3433
|
// ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/reflection.js
|
|
3434
|
+
chunkMO4O4UYI_cjs.init_cjs_shims();
|
|
3273
3435
|
var COMMENTS = /((\/\/.*$)|(\/\*[\s\S]*?\*\/))/mg;
|
|
3274
3436
|
var DEFAULT_PARAMS = /=[^,]+/mg;
|
|
3275
3437
|
var FAT_ARROWS = /=>.*$/mg;
|
|
@@ -3287,7 +3449,7 @@ function extractParameters(fn) {
|
|
|
3287
3449
|
return fn.slice(fn.indexOf("(") + 1, fn.indexOf("{")).match(/([^\(\)\{\}\s,]+)/g) || [];
|
|
3288
3450
|
}
|
|
3289
3451
|
}
|
|
3290
|
-
|
|
3452
|
+
chunkMO4O4UYI_cjs.__name(extractParameters, "extractParameters");
|
|
3291
3453
|
extractParameters.__type = [
|
|
3292
3454
|
() => Function,
|
|
3293
3455
|
() => __\u03A9ClassType,
|
|
@@ -3315,7 +3477,7 @@ function extractMethodBody(classCode, name) {
|
|
|
3315
3477
|
}
|
|
3316
3478
|
return methodCode;
|
|
3317
3479
|
}
|
|
3318
|
-
|
|
3480
|
+
chunkMO4O4UYI_cjs.__name(extractMethodBody, "extractMethodBody");
|
|
3319
3481
|
extractMethodBody.__type = [
|
|
3320
3482
|
"classCode",
|
|
3321
3483
|
"name",
|
|
@@ -3357,7 +3519,7 @@ function removeStrings(code) {
|
|
|
3357
3519
|
}
|
|
3358
3520
|
return result;
|
|
3359
3521
|
}
|
|
3360
|
-
|
|
3522
|
+
chunkMO4O4UYI_cjs.__name(removeStrings, "removeStrings");
|
|
3361
3523
|
removeStrings.__type = [
|
|
3362
3524
|
"code",
|
|
3363
3525
|
"removeStrings",
|
|
@@ -3365,15 +3527,16 @@ removeStrings.__type = [
|
|
|
3365
3527
|
];
|
|
3366
3528
|
|
|
3367
3529
|
// ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/url.js
|
|
3530
|
+
chunkMO4O4UYI_cjs.init_cjs_shims();
|
|
3368
3531
|
function __assignType8(fn, args) {
|
|
3369
3532
|
fn.__type = args;
|
|
3370
3533
|
return fn;
|
|
3371
3534
|
}
|
|
3372
|
-
|
|
3535
|
+
chunkMO4O4UYI_cjs.__name(__assignType8, "__assignType");
|
|
3373
3536
|
function removeSlash(v) {
|
|
3374
3537
|
return v.replace(/(^\/+)|(\/+$)/g, "");
|
|
3375
3538
|
}
|
|
3376
|
-
|
|
3539
|
+
chunkMO4O4UYI_cjs.__name(removeSlash, "removeSlash");
|
|
3377
3540
|
removeSlash.__type = [
|
|
3378
3541
|
"v",
|
|
3379
3542
|
"removeSlash",
|
|
@@ -3393,7 +3556,7 @@ function urlJoin(...path) {
|
|
|
3393
3556
|
'P"2!"/"'
|
|
3394
3557
|
])).join("/") + (trailingSlash ? "/" : "");
|
|
3395
3558
|
}
|
|
3396
|
-
|
|
3559
|
+
chunkMO4O4UYI_cjs.__name(urlJoin, "urlJoin");
|
|
3397
3560
|
urlJoin.__type = [
|
|
3398
3561
|
"path",
|
|
3399
3562
|
"urlJoin",
|
|
@@ -3401,6 +3564,7 @@ urlJoin.__type = [
|
|
|
3401
3564
|
];
|
|
3402
3565
|
|
|
3403
3566
|
// ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/types.js
|
|
3567
|
+
chunkMO4O4UYI_cjs.init_cjs_shims();
|
|
3404
3568
|
var __\u03A9TypeAnnotation = [
|
|
3405
3569
|
"T",
|
|
3406
3570
|
"Options",
|
|
@@ -3423,11 +3587,12 @@ var __\u03A9Inject = [
|
|
|
3423
3587
|
];
|
|
3424
3588
|
|
|
3425
3589
|
// ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/buffer.js
|
|
3590
|
+
chunkMO4O4UYI_cjs.init_cjs_shims();
|
|
3426
3591
|
function __assignType9(fn, args) {
|
|
3427
3592
|
fn.__type = args;
|
|
3428
3593
|
return fn;
|
|
3429
3594
|
}
|
|
3430
|
-
|
|
3595
|
+
chunkMO4O4UYI_cjs.__name(__assignType9, "__assignType");
|
|
3431
3596
|
var createBuffer = "undefined" !== typeof Buffer && "function" === typeof Buffer.allocUnsafe ? Buffer.allocUnsafe : __assignType9((size2) => new Uint8Array(size2), [
|
|
3432
3597
|
"size",
|
|
3433
3598
|
"",
|
|
@@ -3446,7 +3611,7 @@ function bufferConcat(chunks, length) {
|
|
|
3446
3611
|
}
|
|
3447
3612
|
return result;
|
|
3448
3613
|
}
|
|
3449
|
-
|
|
3614
|
+
chunkMO4O4UYI_cjs.__name(bufferConcat, "bufferConcat");
|
|
3450
3615
|
bufferConcat.__type = [
|
|
3451
3616
|
"chunks",
|
|
3452
3617
|
"length",
|
|
@@ -3467,7 +3632,7 @@ function bufferToString(buffer) {
|
|
|
3467
3632
|
if ("string" === typeof buffer) return buffer;
|
|
3468
3633
|
return uint8ArrayToUtf8(buffer);
|
|
3469
3634
|
}
|
|
3470
|
-
|
|
3635
|
+
chunkMO4O4UYI_cjs.__name(bufferToString, "bufferToString");
|
|
3471
3636
|
bufferToString.__type = [
|
|
3472
3637
|
"buffer",
|
|
3473
3638
|
"bufferToString",
|
|
@@ -3482,7 +3647,7 @@ function nativeBase64ToUint8Array(base64) {
|
|
|
3482
3647
|
}
|
|
3483
3648
|
return array;
|
|
3484
3649
|
}
|
|
3485
|
-
|
|
3650
|
+
chunkMO4O4UYI_cjs.__name(nativeBase64ToUint8Array, "nativeBase64ToUint8Array");
|
|
3486
3651
|
nativeBase64ToUint8Array.__type = [
|
|
3487
3652
|
"base64",
|
|
3488
3653
|
"nativeBase64ToUint8Array",
|
|
@@ -3495,17 +3660,18 @@ var base64ToUint8Array = "undefined" === typeof Buffer ? nativeBase64ToUint8Arra
|
|
|
3495
3660
|
]);
|
|
3496
3661
|
|
|
3497
3662
|
// ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/path.js
|
|
3663
|
+
chunkMO4O4UYI_cjs.init_cjs_shims();
|
|
3498
3664
|
function __assignType10(fn, args) {
|
|
3499
3665
|
fn.__type = args;
|
|
3500
3666
|
return fn;
|
|
3501
3667
|
}
|
|
3502
|
-
|
|
3668
|
+
chunkMO4O4UYI_cjs.__name(__assignType10, "__assignType");
|
|
3503
3669
|
function pathNormalize(path) {
|
|
3504
3670
|
path = path[0] !== "/" ? "/" + path : path;
|
|
3505
3671
|
path = path.length > 1 && path[path.length - 1] === "/" ? path.slice(0, -1) : path;
|
|
3506
3672
|
return path.replace(/\/+/g, "/");
|
|
3507
3673
|
}
|
|
3508
|
-
|
|
3674
|
+
chunkMO4O4UYI_cjs.__name(pathNormalize, "pathNormalize");
|
|
3509
3675
|
pathNormalize.__type = [
|
|
3510
3676
|
"path",
|
|
3511
3677
|
"pathNormalize",
|
|
@@ -3516,7 +3682,7 @@ function pathDirectory(path) {
|
|
|
3516
3682
|
const lastSlash = path.lastIndexOf("/");
|
|
3517
3683
|
return lastSlash <= 0 ? "/" : path.slice(0, lastSlash);
|
|
3518
3684
|
}
|
|
3519
|
-
|
|
3685
|
+
chunkMO4O4UYI_cjs.__name(pathDirectory, "pathDirectory");
|
|
3520
3686
|
pathDirectory.__type = [
|
|
3521
3687
|
"path",
|
|
3522
3688
|
"pathDirectory",
|
|
@@ -3526,7 +3692,7 @@ function pathBasename(path) {
|
|
|
3526
3692
|
const lastSlash = path.lastIndexOf("/");
|
|
3527
3693
|
return lastSlash === -1 ? path : path.slice(lastSlash + 1);
|
|
3528
3694
|
}
|
|
3529
|
-
|
|
3695
|
+
chunkMO4O4UYI_cjs.__name(pathBasename, "pathBasename");
|
|
3530
3696
|
pathBasename.__type = [
|
|
3531
3697
|
"path",
|
|
3532
3698
|
"pathBasename",
|
|
@@ -3537,7 +3703,7 @@ function pathExtension(path) {
|
|
|
3537
3703
|
const lastDot = basename.lastIndexOf(".");
|
|
3538
3704
|
return lastDot === -1 ? "" : basename.slice(lastDot + 1);
|
|
3539
3705
|
}
|
|
3540
|
-
|
|
3706
|
+
chunkMO4O4UYI_cjs.__name(pathExtension, "pathExtension");
|
|
3541
3707
|
pathExtension.__type = [
|
|
3542
3708
|
"path",
|
|
3543
3709
|
"pathExtension",
|
|
@@ -3554,13 +3720,16 @@ function pathJoin(...paths) {
|
|
|
3554
3720
|
'P"2!"/"'
|
|
3555
3721
|
])).join("/");
|
|
3556
3722
|
}
|
|
3557
|
-
|
|
3723
|
+
chunkMO4O4UYI_cjs.__name(pathJoin, "pathJoin");
|
|
3558
3724
|
pathJoin.__type = [
|
|
3559
3725
|
"paths",
|
|
3560
3726
|
"pathJoin",
|
|
3561
3727
|
'P&@2!&/"'
|
|
3562
3728
|
];
|
|
3563
3729
|
|
|
3730
|
+
// ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/index.js
|
|
3731
|
+
chunkMO4O4UYI_cjs.init_cjs_shims();
|
|
3732
|
+
|
|
3564
3733
|
exports.AsyncEventEmitter = AsyncEventEmitter;
|
|
3565
3734
|
exports.AsyncFunction = AsyncFunction;
|
|
3566
3735
|
exports.CompilerContext = CompilerContext;
|