@h3ravel/config 1.3.5 → 1.3.7
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-KEEZ4MID.js → chunk-Q3X4OHHO.js} +399 -525
- package/dist/chunk-Q3X4OHHO.js.map +1 -0
- package/dist/{dist-TL36CC37.js → dist-SOP64AJE.js} +6 -4
- package/dist/index.cjs +402 -527
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
- package/dist/chunk-KEEZ4MID.js.map +0 -1
- /package/dist/{dist-TL36CC37.js.map → dist-SOP64AJE.js.map} +0 -0
|
@@ -8,8 +8,7 @@ var __name = (target, value) => __defProp(target, "name", { value, configurable:
|
|
|
8
8
|
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
9
9
|
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
10
10
|
}) : x)(function(x) {
|
|
11
|
-
if (typeof require !== "undefined")
|
|
12
|
-
return require.apply(this, arguments);
|
|
11
|
+
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
13
12
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
14
13
|
});
|
|
15
14
|
var __commonJS = (cb, mod) => function __require2() {
|
|
@@ -59,8 +58,7 @@ var require_Reflect = __commonJS({
|
|
|
59
58
|
writable: true,
|
|
60
59
|
value
|
|
61
60
|
});
|
|
62
|
-
if (previous)
|
|
63
|
-
previous(key, value);
|
|
61
|
+
if (previous) previous(key, value);
|
|
64
62
|
};
|
|
65
63
|
}
|
|
66
64
|
__name(makeExporter, "makeExporter");
|
|
@@ -123,21 +121,15 @@ var require_Reflect = __commonJS({
|
|
|
123
121
|
var metadataProvider = CreateMetadataProvider(metadataRegistry);
|
|
124
122
|
function decorate(decorators, target, propertyKey, attributes) {
|
|
125
123
|
if (!IsUndefined(propertyKey)) {
|
|
126
|
-
if (!IsArray(decorators))
|
|
127
|
-
|
|
128
|
-
if (!IsObject(
|
|
129
|
-
|
|
130
|
-
if (!IsObject(attributes) && !IsUndefined(attributes) && !IsNull(attributes))
|
|
131
|
-
throw new TypeError();
|
|
132
|
-
if (IsNull(attributes))
|
|
133
|
-
attributes = void 0;
|
|
124
|
+
if (!IsArray(decorators)) throw new TypeError();
|
|
125
|
+
if (!IsObject(target)) throw new TypeError();
|
|
126
|
+
if (!IsObject(attributes) && !IsUndefined(attributes) && !IsNull(attributes)) throw new TypeError();
|
|
127
|
+
if (IsNull(attributes)) attributes = void 0;
|
|
134
128
|
propertyKey = ToPropertyKey(propertyKey);
|
|
135
129
|
return DecorateProperty(decorators, target, propertyKey, attributes);
|
|
136
130
|
} else {
|
|
137
|
-
if (!IsArray(decorators))
|
|
138
|
-
|
|
139
|
-
if (!IsConstructor(target))
|
|
140
|
-
throw new TypeError();
|
|
131
|
+
if (!IsArray(decorators)) throw new TypeError();
|
|
132
|
+
if (!IsConstructor(target)) throw new TypeError();
|
|
141
133
|
return DecorateConstructor(decorators, target);
|
|
142
134
|
}
|
|
143
135
|
}
|
|
@@ -145,10 +137,8 @@ var require_Reflect = __commonJS({
|
|
|
145
137
|
exporter("decorate", decorate);
|
|
146
138
|
function metadata(metadataKey, metadataValue) {
|
|
147
139
|
function decorator(target, propertyKey) {
|
|
148
|
-
if (!IsObject(target))
|
|
149
|
-
|
|
150
|
-
if (!IsUndefined(propertyKey) && !IsPropertyKey(propertyKey))
|
|
151
|
-
throw new TypeError();
|
|
140
|
+
if (!IsObject(target)) throw new TypeError();
|
|
141
|
+
if (!IsUndefined(propertyKey) && !IsPropertyKey(propertyKey)) throw new TypeError();
|
|
152
142
|
OrdinaryDefineOwnMetadata(metadataKey, metadataValue, target, propertyKey);
|
|
153
143
|
}
|
|
154
144
|
__name(decorator, "decorator");
|
|
@@ -157,85 +147,66 @@ var require_Reflect = __commonJS({
|
|
|
157
147
|
__name(metadata, "metadata");
|
|
158
148
|
exporter("metadata", metadata);
|
|
159
149
|
function defineMetadata(metadataKey, metadataValue, target, propertyKey) {
|
|
160
|
-
if (!IsObject(target))
|
|
161
|
-
|
|
162
|
-
if (!IsUndefined(propertyKey))
|
|
163
|
-
propertyKey = ToPropertyKey(propertyKey);
|
|
150
|
+
if (!IsObject(target)) throw new TypeError();
|
|
151
|
+
if (!IsUndefined(propertyKey)) propertyKey = ToPropertyKey(propertyKey);
|
|
164
152
|
return OrdinaryDefineOwnMetadata(metadataKey, metadataValue, target, propertyKey);
|
|
165
153
|
}
|
|
166
154
|
__name(defineMetadata, "defineMetadata");
|
|
167
155
|
exporter("defineMetadata", defineMetadata);
|
|
168
156
|
function hasMetadata(metadataKey, target, propertyKey) {
|
|
169
|
-
if (!IsObject(target))
|
|
170
|
-
|
|
171
|
-
if (!IsUndefined(propertyKey))
|
|
172
|
-
propertyKey = ToPropertyKey(propertyKey);
|
|
157
|
+
if (!IsObject(target)) throw new TypeError();
|
|
158
|
+
if (!IsUndefined(propertyKey)) propertyKey = ToPropertyKey(propertyKey);
|
|
173
159
|
return OrdinaryHasMetadata(metadataKey, target, propertyKey);
|
|
174
160
|
}
|
|
175
161
|
__name(hasMetadata, "hasMetadata");
|
|
176
162
|
exporter("hasMetadata", hasMetadata);
|
|
177
163
|
function hasOwnMetadata(metadataKey, target, propertyKey) {
|
|
178
|
-
if (!IsObject(target))
|
|
179
|
-
|
|
180
|
-
if (!IsUndefined(propertyKey))
|
|
181
|
-
propertyKey = ToPropertyKey(propertyKey);
|
|
164
|
+
if (!IsObject(target)) throw new TypeError();
|
|
165
|
+
if (!IsUndefined(propertyKey)) propertyKey = ToPropertyKey(propertyKey);
|
|
182
166
|
return OrdinaryHasOwnMetadata(metadataKey, target, propertyKey);
|
|
183
167
|
}
|
|
184
168
|
__name(hasOwnMetadata, "hasOwnMetadata");
|
|
185
169
|
exporter("hasOwnMetadata", hasOwnMetadata);
|
|
186
170
|
function getMetadata(metadataKey, target, propertyKey) {
|
|
187
|
-
if (!IsObject(target))
|
|
188
|
-
|
|
189
|
-
if (!IsUndefined(propertyKey))
|
|
190
|
-
propertyKey = ToPropertyKey(propertyKey);
|
|
171
|
+
if (!IsObject(target)) throw new TypeError();
|
|
172
|
+
if (!IsUndefined(propertyKey)) propertyKey = ToPropertyKey(propertyKey);
|
|
191
173
|
return OrdinaryGetMetadata(metadataKey, target, propertyKey);
|
|
192
174
|
}
|
|
193
175
|
__name(getMetadata, "getMetadata");
|
|
194
176
|
exporter("getMetadata", getMetadata);
|
|
195
177
|
function getOwnMetadata(metadataKey, target, propertyKey) {
|
|
196
|
-
if (!IsObject(target))
|
|
197
|
-
|
|
198
|
-
if (!IsUndefined(propertyKey))
|
|
199
|
-
propertyKey = ToPropertyKey(propertyKey);
|
|
178
|
+
if (!IsObject(target)) throw new TypeError();
|
|
179
|
+
if (!IsUndefined(propertyKey)) propertyKey = ToPropertyKey(propertyKey);
|
|
200
180
|
return OrdinaryGetOwnMetadata(metadataKey, target, propertyKey);
|
|
201
181
|
}
|
|
202
182
|
__name(getOwnMetadata, "getOwnMetadata");
|
|
203
183
|
exporter("getOwnMetadata", getOwnMetadata);
|
|
204
184
|
function getMetadataKeys(target, propertyKey) {
|
|
205
|
-
if (!IsObject(target))
|
|
206
|
-
|
|
207
|
-
if (!IsUndefined(propertyKey))
|
|
208
|
-
propertyKey = ToPropertyKey(propertyKey);
|
|
185
|
+
if (!IsObject(target)) throw new TypeError();
|
|
186
|
+
if (!IsUndefined(propertyKey)) propertyKey = ToPropertyKey(propertyKey);
|
|
209
187
|
return OrdinaryMetadataKeys(target, propertyKey);
|
|
210
188
|
}
|
|
211
189
|
__name(getMetadataKeys, "getMetadataKeys");
|
|
212
190
|
exporter("getMetadataKeys", getMetadataKeys);
|
|
213
191
|
function getOwnMetadataKeys(target, propertyKey) {
|
|
214
|
-
if (!IsObject(target))
|
|
215
|
-
|
|
216
|
-
if (!IsUndefined(propertyKey))
|
|
217
|
-
propertyKey = ToPropertyKey(propertyKey);
|
|
192
|
+
if (!IsObject(target)) throw new TypeError();
|
|
193
|
+
if (!IsUndefined(propertyKey)) propertyKey = ToPropertyKey(propertyKey);
|
|
218
194
|
return OrdinaryOwnMetadataKeys(target, propertyKey);
|
|
219
195
|
}
|
|
220
196
|
__name(getOwnMetadataKeys, "getOwnMetadataKeys");
|
|
221
197
|
exporter("getOwnMetadataKeys", getOwnMetadataKeys);
|
|
222
198
|
function deleteMetadata(metadataKey, target, propertyKey) {
|
|
223
|
-
if (!IsObject(target))
|
|
224
|
-
|
|
225
|
-
if (!
|
|
226
|
-
|
|
227
|
-
if (!IsObject(target))
|
|
228
|
-
throw new TypeError();
|
|
229
|
-
if (!IsUndefined(propertyKey))
|
|
230
|
-
propertyKey = ToPropertyKey(propertyKey);
|
|
199
|
+
if (!IsObject(target)) throw new TypeError();
|
|
200
|
+
if (!IsUndefined(propertyKey)) propertyKey = ToPropertyKey(propertyKey);
|
|
201
|
+
if (!IsObject(target)) throw new TypeError();
|
|
202
|
+
if (!IsUndefined(propertyKey)) propertyKey = ToPropertyKey(propertyKey);
|
|
231
203
|
var provider = GetMetadataProvider(
|
|
232
204
|
target,
|
|
233
205
|
propertyKey,
|
|
234
206
|
/*Create*/
|
|
235
207
|
false
|
|
236
208
|
);
|
|
237
|
-
if (IsUndefined(provider))
|
|
238
|
-
return false;
|
|
209
|
+
if (IsUndefined(provider)) return false;
|
|
239
210
|
return provider.OrdinaryDeleteMetadata(metadataKey, target, propertyKey);
|
|
240
211
|
}
|
|
241
212
|
__name(deleteMetadata, "deleteMetadata");
|
|
@@ -245,8 +216,7 @@ var require_Reflect = __commonJS({
|
|
|
245
216
|
var decorator = decorators[i];
|
|
246
217
|
var decorated = decorator(target);
|
|
247
218
|
if (!IsUndefined(decorated) && !IsNull(decorated)) {
|
|
248
|
-
if (!IsConstructor(decorated))
|
|
249
|
-
throw new TypeError();
|
|
219
|
+
if (!IsConstructor(decorated)) throw new TypeError();
|
|
250
220
|
target = decorated;
|
|
251
221
|
}
|
|
252
222
|
}
|
|
@@ -258,8 +228,7 @@ var require_Reflect = __commonJS({
|
|
|
258
228
|
var decorator = decorators[i];
|
|
259
229
|
var decorated = decorator(target, propertyKey, descriptor);
|
|
260
230
|
if (!IsUndefined(decorated) && !IsNull(decorated)) {
|
|
261
|
-
if (!IsObject(decorated))
|
|
262
|
-
throw new TypeError();
|
|
231
|
+
if (!IsObject(decorated)) throw new TypeError();
|
|
263
232
|
descriptor = decorated;
|
|
264
233
|
}
|
|
265
234
|
}
|
|
@@ -268,11 +237,9 @@ var require_Reflect = __commonJS({
|
|
|
268
237
|
__name(DecorateProperty, "DecorateProperty");
|
|
269
238
|
function OrdinaryHasMetadata(MetadataKey, O, P) {
|
|
270
239
|
var hasOwn3 = OrdinaryHasOwnMetadata(MetadataKey, O, P);
|
|
271
|
-
if (hasOwn3)
|
|
272
|
-
return true;
|
|
240
|
+
if (hasOwn3) return true;
|
|
273
241
|
var parent = OrdinaryGetPrototypeOf(O);
|
|
274
|
-
if (!IsNull(parent))
|
|
275
|
-
return OrdinaryHasMetadata(MetadataKey, parent, P);
|
|
242
|
+
if (!IsNull(parent)) return OrdinaryHasMetadata(MetadataKey, parent, P);
|
|
276
243
|
return false;
|
|
277
244
|
}
|
|
278
245
|
__name(OrdinaryHasMetadata, "OrdinaryHasMetadata");
|
|
@@ -283,18 +250,15 @@ var require_Reflect = __commonJS({
|
|
|
283
250
|
/*Create*/
|
|
284
251
|
false
|
|
285
252
|
);
|
|
286
|
-
if (IsUndefined(provider))
|
|
287
|
-
return false;
|
|
253
|
+
if (IsUndefined(provider)) return false;
|
|
288
254
|
return ToBoolean(provider.OrdinaryHasOwnMetadata(MetadataKey, O, P));
|
|
289
255
|
}
|
|
290
256
|
__name(OrdinaryHasOwnMetadata, "OrdinaryHasOwnMetadata");
|
|
291
257
|
function OrdinaryGetMetadata(MetadataKey, O, P) {
|
|
292
258
|
var hasOwn3 = OrdinaryHasOwnMetadata(MetadataKey, O, P);
|
|
293
|
-
if (hasOwn3)
|
|
294
|
-
return OrdinaryGetOwnMetadata(MetadataKey, O, P);
|
|
259
|
+
if (hasOwn3) return OrdinaryGetOwnMetadata(MetadataKey, O, P);
|
|
295
260
|
var parent = OrdinaryGetPrototypeOf(O);
|
|
296
|
-
if (!IsNull(parent))
|
|
297
|
-
return OrdinaryGetMetadata(MetadataKey, parent, P);
|
|
261
|
+
if (!IsNull(parent)) return OrdinaryGetMetadata(MetadataKey, parent, P);
|
|
298
262
|
return void 0;
|
|
299
263
|
}
|
|
300
264
|
__name(OrdinaryGetMetadata, "OrdinaryGetMetadata");
|
|
@@ -305,8 +269,7 @@ var require_Reflect = __commonJS({
|
|
|
305
269
|
/*Create*/
|
|
306
270
|
false
|
|
307
271
|
);
|
|
308
|
-
if (IsUndefined(provider))
|
|
309
|
-
return;
|
|
272
|
+
if (IsUndefined(provider)) return;
|
|
310
273
|
return provider.OrdinaryGetOwnMetadata(MetadataKey, O, P);
|
|
311
274
|
}
|
|
312
275
|
__name(OrdinaryGetOwnMetadata, "OrdinaryGetOwnMetadata");
|
|
@@ -323,13 +286,10 @@ var require_Reflect = __commonJS({
|
|
|
323
286
|
function OrdinaryMetadataKeys(O, P) {
|
|
324
287
|
var ownKeys = OrdinaryOwnMetadataKeys(O, P);
|
|
325
288
|
var parent = OrdinaryGetPrototypeOf(O);
|
|
326
|
-
if (parent === null)
|
|
327
|
-
return ownKeys;
|
|
289
|
+
if (parent === null) return ownKeys;
|
|
328
290
|
var parentKeys = OrdinaryMetadataKeys(parent, P);
|
|
329
|
-
if (parentKeys.length <= 0)
|
|
330
|
-
|
|
331
|
-
if (ownKeys.length <= 0)
|
|
332
|
-
return parentKeys;
|
|
291
|
+
if (parentKeys.length <= 0) return ownKeys;
|
|
292
|
+
if (ownKeys.length <= 0) return parentKeys;
|
|
333
293
|
var set = new _Set();
|
|
334
294
|
var keys = [];
|
|
335
295
|
for (var _i = 0, ownKeys_1 = ownKeys; _i < ownKeys_1.length; _i++) {
|
|
@@ -365,8 +325,7 @@ var require_Reflect = __commonJS({
|
|
|
365
325
|
}
|
|
366
326
|
__name(OrdinaryOwnMetadataKeys, "OrdinaryOwnMetadataKeys");
|
|
367
327
|
function Type(x) {
|
|
368
|
-
if (x === null)
|
|
369
|
-
return 1;
|
|
328
|
+
if (x === null) return 1;
|
|
370
329
|
switch (typeof x) {
|
|
371
330
|
case "undefined":
|
|
372
331
|
return 0;
|
|
@@ -420,8 +379,7 @@ var require_Reflect = __commonJS({
|
|
|
420
379
|
var exoticToPrim = GetMethod(input, toPrimitiveSymbol);
|
|
421
380
|
if (exoticToPrim !== void 0) {
|
|
422
381
|
var result = exoticToPrim.call(input, hint);
|
|
423
|
-
if (IsObject(result))
|
|
424
|
-
throw new TypeError();
|
|
382
|
+
if (IsObject(result)) throw new TypeError();
|
|
425
383
|
return result;
|
|
426
384
|
}
|
|
427
385
|
return OrdinaryToPrimitive(input, hint === "default" ? "number" : hint);
|
|
@@ -432,27 +390,23 @@ var require_Reflect = __commonJS({
|
|
|
432
390
|
var toString_1 = O.toString;
|
|
433
391
|
if (IsCallable(toString_1)) {
|
|
434
392
|
var result = toString_1.call(O);
|
|
435
|
-
if (!IsObject(result))
|
|
436
|
-
return result;
|
|
393
|
+
if (!IsObject(result)) return result;
|
|
437
394
|
}
|
|
438
395
|
var valueOf = O.valueOf;
|
|
439
396
|
if (IsCallable(valueOf)) {
|
|
440
397
|
var result = valueOf.call(O);
|
|
441
|
-
if (!IsObject(result))
|
|
442
|
-
return result;
|
|
398
|
+
if (!IsObject(result)) return result;
|
|
443
399
|
}
|
|
444
400
|
} else {
|
|
445
401
|
var valueOf = O.valueOf;
|
|
446
402
|
if (IsCallable(valueOf)) {
|
|
447
403
|
var result = valueOf.call(O);
|
|
448
|
-
if (!IsObject(result))
|
|
449
|
-
return result;
|
|
404
|
+
if (!IsObject(result)) return result;
|
|
450
405
|
}
|
|
451
406
|
var toString_2 = O.toString;
|
|
452
407
|
if (IsCallable(toString_2)) {
|
|
453
408
|
var result = toString_2.call(O);
|
|
454
|
-
if (!IsObject(result))
|
|
455
|
-
return result;
|
|
409
|
+
if (!IsObject(result)) return result;
|
|
456
410
|
}
|
|
457
411
|
}
|
|
458
412
|
throw new TypeError();
|
|
@@ -472,8 +426,7 @@ var require_Reflect = __commonJS({
|
|
|
472
426
|
3
|
|
473
427
|
/* String */
|
|
474
428
|
);
|
|
475
|
-
if (IsSymbol(key))
|
|
476
|
-
return key;
|
|
429
|
+
if (IsSymbol(key)) return key;
|
|
477
430
|
return ToString(key);
|
|
478
431
|
}
|
|
479
432
|
__name(ToPropertyKey, "ToPropertyKey");
|
|
@@ -506,20 +459,16 @@ var require_Reflect = __commonJS({
|
|
|
506
459
|
__name(SameValueZero, "SameValueZero");
|
|
507
460
|
function GetMethod(V, P) {
|
|
508
461
|
var func = V[P];
|
|
509
|
-
if (func === void 0 || func === null)
|
|
510
|
-
|
|
511
|
-
if (!IsCallable(func))
|
|
512
|
-
throw new TypeError();
|
|
462
|
+
if (func === void 0 || func === null) return void 0;
|
|
463
|
+
if (!IsCallable(func)) throw new TypeError();
|
|
513
464
|
return func;
|
|
514
465
|
}
|
|
515
466
|
__name(GetMethod, "GetMethod");
|
|
516
467
|
function GetIterator(obj) {
|
|
517
468
|
var method = GetMethod(obj, iteratorSymbol);
|
|
518
|
-
if (!IsCallable(method))
|
|
519
|
-
throw new TypeError();
|
|
469
|
+
if (!IsCallable(method)) throw new TypeError();
|
|
520
470
|
var iterator = method.call(obj);
|
|
521
|
-
if (!IsObject(iterator))
|
|
522
|
-
throw new TypeError();
|
|
471
|
+
if (!IsObject(iterator)) throw new TypeError();
|
|
523
472
|
return iterator;
|
|
524
473
|
}
|
|
525
474
|
__name(GetIterator, "GetIterator");
|
|
@@ -534,25 +483,19 @@ var require_Reflect = __commonJS({
|
|
|
534
483
|
__name(IteratorStep, "IteratorStep");
|
|
535
484
|
function IteratorClose(iterator) {
|
|
536
485
|
var f = iterator["return"];
|
|
537
|
-
if (f)
|
|
538
|
-
f.call(iterator);
|
|
486
|
+
if (f) f.call(iterator);
|
|
539
487
|
}
|
|
540
488
|
__name(IteratorClose, "IteratorClose");
|
|
541
489
|
function OrdinaryGetPrototypeOf(O) {
|
|
542
490
|
var proto = Object.getPrototypeOf(O);
|
|
543
|
-
if (typeof O !== "function" || O === functionPrototype)
|
|
544
|
-
|
|
545
|
-
if (proto !== functionPrototype)
|
|
546
|
-
return proto;
|
|
491
|
+
if (typeof O !== "function" || O === functionPrototype) return proto;
|
|
492
|
+
if (proto !== functionPrototype) return proto;
|
|
547
493
|
var prototype = O.prototype;
|
|
548
494
|
var prototypeProto = prototype && Object.getPrototypeOf(prototype);
|
|
549
|
-
if (prototypeProto == null || prototypeProto === Object.prototype)
|
|
550
|
-
return proto;
|
|
495
|
+
if (prototypeProto == null || prototypeProto === Object.prototype) return proto;
|
|
551
496
|
var constructor = prototypeProto.constructor;
|
|
552
|
-
if (typeof constructor !== "function")
|
|
553
|
-
|
|
554
|
-
if (constructor === O)
|
|
555
|
-
return proto;
|
|
497
|
+
if (typeof constructor !== "function") return proto;
|
|
498
|
+
if (constructor === O) return proto;
|
|
556
499
|
return constructor;
|
|
557
500
|
}
|
|
558
501
|
__name(OrdinaryGetPrototypeOf, "OrdinaryGetPrototypeOf");
|
|
@@ -589,8 +532,7 @@ var require_Reflect = __commonJS({
|
|
|
589
532
|
case second === provider:
|
|
590
533
|
break;
|
|
591
534
|
default:
|
|
592
|
-
if (rest === void 0)
|
|
593
|
-
rest = new _Set();
|
|
535
|
+
if (rest === void 0) rest = new _Set();
|
|
594
536
|
rest.add(provider);
|
|
595
537
|
break;
|
|
596
538
|
}
|
|
@@ -598,11 +540,9 @@ var require_Reflect = __commonJS({
|
|
|
598
540
|
__name(registerProvider, "registerProvider");
|
|
599
541
|
function getProviderNoCache(O, P) {
|
|
600
542
|
if (!IsUndefined(first)) {
|
|
601
|
-
if (first.isProviderFor(O, P))
|
|
602
|
-
return first;
|
|
543
|
+
if (first.isProviderFor(O, P)) return first;
|
|
603
544
|
if (!IsUndefined(second)) {
|
|
604
|
-
if (second.isProviderFor(O, P))
|
|
605
|
-
return first;
|
|
545
|
+
if (second.isProviderFor(O, P)) return first;
|
|
606
546
|
if (!IsUndefined(rest)) {
|
|
607
547
|
var iterator = GetIterator(rest);
|
|
608
548
|
while (true) {
|
|
@@ -646,8 +586,7 @@ var require_Reflect = __commonJS({
|
|
|
646
586
|
}
|
|
647
587
|
__name(getProvider, "getProvider");
|
|
648
588
|
function hasProvider(provider) {
|
|
649
|
-
if (IsUndefined(provider))
|
|
650
|
-
throw new TypeError();
|
|
589
|
+
if (IsUndefined(provider)) throw new TypeError();
|
|
651
590
|
return first === provider || second === provider || !IsUndefined(rest) && rest.has(provider);
|
|
652
591
|
}
|
|
653
592
|
__name(hasProvider, "hasProvider");
|
|
@@ -694,12 +633,11 @@ var require_Reflect = __commonJS({
|
|
|
694
633
|
function CreateMetadataProvider(registry) {
|
|
695
634
|
var metadata2 = new _WeakMap();
|
|
696
635
|
var provider = {
|
|
697
|
-
isProviderFor: function(O, P) {
|
|
636
|
+
isProviderFor: /* @__PURE__ */ __name(function(O, P) {
|
|
698
637
|
var targetMetadata = metadata2.get(O);
|
|
699
|
-
if (IsUndefined(targetMetadata))
|
|
700
|
-
return false;
|
|
638
|
+
if (IsUndefined(targetMetadata)) return false;
|
|
701
639
|
return targetMetadata.has(P);
|
|
702
|
-
},
|
|
640
|
+
}, "isProviderFor"),
|
|
703
641
|
OrdinaryDefineOwnMetadata: OrdinaryDefineOwnMetadata2,
|
|
704
642
|
OrdinaryHasOwnMetadata: OrdinaryHasOwnMetadata2,
|
|
705
643
|
OrdinaryGetOwnMetadata: OrdinaryGetOwnMetadata2,
|
|
@@ -712,16 +650,14 @@ var require_Reflect = __commonJS({
|
|
|
712
650
|
var targetMetadata = metadata2.get(O);
|
|
713
651
|
var createdTargetMetadata = false;
|
|
714
652
|
if (IsUndefined(targetMetadata)) {
|
|
715
|
-
if (!Create)
|
|
716
|
-
return void 0;
|
|
653
|
+
if (!Create) return void 0;
|
|
717
654
|
targetMetadata = new _Map();
|
|
718
655
|
metadata2.set(O, targetMetadata);
|
|
719
656
|
createdTargetMetadata = true;
|
|
720
657
|
}
|
|
721
658
|
var metadataMap = targetMetadata.get(P);
|
|
722
659
|
if (IsUndefined(metadataMap)) {
|
|
723
|
-
if (!Create)
|
|
724
|
-
return void 0;
|
|
660
|
+
if (!Create) return void 0;
|
|
725
661
|
metadataMap = new _Map();
|
|
726
662
|
targetMetadata.set(P, metadataMap);
|
|
727
663
|
if (!registry.setProvider(O, P, provider)) {
|
|
@@ -742,8 +678,7 @@ var require_Reflect = __commonJS({
|
|
|
742
678
|
/*Create*/
|
|
743
679
|
false
|
|
744
680
|
);
|
|
745
|
-
if (IsUndefined(metadataMap))
|
|
746
|
-
return false;
|
|
681
|
+
if (IsUndefined(metadataMap)) return false;
|
|
747
682
|
return ToBoolean(metadataMap.has(MetadataKey));
|
|
748
683
|
}
|
|
749
684
|
__name(OrdinaryHasOwnMetadata2, "OrdinaryHasOwnMetadata");
|
|
@@ -754,8 +689,7 @@ var require_Reflect = __commonJS({
|
|
|
754
689
|
/*Create*/
|
|
755
690
|
false
|
|
756
691
|
);
|
|
757
|
-
if (IsUndefined(metadataMap))
|
|
758
|
-
return void 0;
|
|
692
|
+
if (IsUndefined(metadataMap)) return void 0;
|
|
759
693
|
return metadataMap.get(MetadataKey);
|
|
760
694
|
}
|
|
761
695
|
__name(OrdinaryGetOwnMetadata2, "OrdinaryGetOwnMetadata");
|
|
@@ -777,8 +711,7 @@ var require_Reflect = __commonJS({
|
|
|
777
711
|
/*Create*/
|
|
778
712
|
false
|
|
779
713
|
);
|
|
780
|
-
if (IsUndefined(metadataMap))
|
|
781
|
-
return keys;
|
|
714
|
+
if (IsUndefined(metadataMap)) return keys;
|
|
782
715
|
var keysObj = metadataMap.keys();
|
|
783
716
|
var iterator = GetIterator(keysObj);
|
|
784
717
|
var k = 0;
|
|
@@ -809,10 +742,8 @@ var require_Reflect = __commonJS({
|
|
|
809
742
|
/*Create*/
|
|
810
743
|
false
|
|
811
744
|
);
|
|
812
|
-
if (IsUndefined(metadataMap))
|
|
813
|
-
|
|
814
|
-
if (!metadataMap.delete(MetadataKey))
|
|
815
|
-
return false;
|
|
745
|
+
if (IsUndefined(metadataMap)) return false;
|
|
746
|
+
if (!metadataMap.delete(MetadataKey)) return false;
|
|
816
747
|
if (metadataMap.size === 0) {
|
|
817
748
|
var targetMetadata = metadata2.get(O);
|
|
818
749
|
if (!IsUndefined(targetMetadata)) {
|
|
@@ -831,7 +762,7 @@ var require_Reflect = __commonJS({
|
|
|
831
762
|
var defineMetadata2 = reflect.defineMetadata, hasOwnMetadata2 = reflect.hasOwnMetadata, getOwnMetadata2 = reflect.getOwnMetadata, getOwnMetadataKeys2 = reflect.getOwnMetadataKeys, deleteMetadata2 = reflect.deleteMetadata;
|
|
832
763
|
var metadataOwner = new _WeakMap();
|
|
833
764
|
var provider = {
|
|
834
|
-
isProviderFor: function(O, P) {
|
|
765
|
+
isProviderFor: /* @__PURE__ */ __name(function(O, P) {
|
|
835
766
|
var metadataPropertySet = metadataOwner.get(O);
|
|
836
767
|
if (!IsUndefined(metadataPropertySet) && metadataPropertySet.has(P)) {
|
|
837
768
|
return true;
|
|
@@ -845,7 +776,7 @@ var require_Reflect = __commonJS({
|
|
|
845
776
|
return true;
|
|
846
777
|
}
|
|
847
778
|
return false;
|
|
848
|
-
},
|
|
779
|
+
}, "isProviderFor"),
|
|
849
780
|
OrdinaryDefineOwnMetadata: defineMetadata2,
|
|
850
781
|
OrdinaryHasOwnMetadata: hasOwnMetadata2,
|
|
851
782
|
OrdinaryGetOwnMetadata: getOwnMetadata2,
|
|
@@ -942,9 +873,9 @@ var require_Reflect = __commonJS({
|
|
|
942
873
|
}
|
|
943
874
|
__name(Map12, "Map1");
|
|
944
875
|
Object.defineProperty(Map12.prototype, "size", {
|
|
945
|
-
get: function() {
|
|
876
|
+
get: /* @__PURE__ */ __name(function() {
|
|
946
877
|
return this._keys.length;
|
|
947
|
-
},
|
|
878
|
+
}, "get"),
|
|
948
879
|
enumerable: true,
|
|
949
880
|
configurable: true
|
|
950
881
|
});
|
|
@@ -1062,9 +993,9 @@ var require_Reflect = __commonJS({
|
|
|
1062
993
|
}
|
|
1063
994
|
__name(Set12, "Set1");
|
|
1064
995
|
Object.defineProperty(Set12.prototype, "size", {
|
|
1065
|
-
get: function() {
|
|
996
|
+
get: /* @__PURE__ */ __name(function() {
|
|
1066
997
|
return this._map.size;
|
|
1067
|
-
},
|
|
998
|
+
}, "get"),
|
|
1068
999
|
enumerable: true,
|
|
1069
1000
|
configurable: true
|
|
1070
1001
|
});
|
|
@@ -1162,8 +1093,7 @@ var require_Reflect = __commonJS({
|
|
|
1162
1093
|
__name(CreateUniqueKey, "CreateUniqueKey");
|
|
1163
1094
|
function GetOrCreateWeakMapTable(target, create2) {
|
|
1164
1095
|
if (!hasOwn2.call(target, rootKey)) {
|
|
1165
|
-
if (!create2)
|
|
1166
|
-
return void 0;
|
|
1096
|
+
if (!create2) return void 0;
|
|
1167
1097
|
Object.defineProperty(target, rootKey, {
|
|
1168
1098
|
value: HashMap.create()
|
|
1169
1099
|
});
|
|
@@ -1172,8 +1102,7 @@ var require_Reflect = __commonJS({
|
|
|
1172
1102
|
}
|
|
1173
1103
|
__name(GetOrCreateWeakMapTable, "GetOrCreateWeakMapTable");
|
|
1174
1104
|
function FillRandomBytes(buffer, size) {
|
|
1175
|
-
for (var i = 0; i < size; ++i)
|
|
1176
|
-
buffer[i] = Math.random() * 255 | 0;
|
|
1105
|
+
for (var i = 0; i < size; ++i) buffer[i] = Math.random() * 255 | 0;
|
|
1177
1106
|
return buffer;
|
|
1178
1107
|
}
|
|
1179
1108
|
__name(FillRandomBytes, "FillRandomBytes");
|
|
@@ -1199,10 +1128,8 @@ var require_Reflect = __commonJS({
|
|
|
1199
1128
|
var result = "";
|
|
1200
1129
|
for (var offset2 = 0; offset2 < UUID_SIZE; ++offset2) {
|
|
1201
1130
|
var byte = data2[offset2];
|
|
1202
|
-
if (offset2 === 4 || offset2 === 6 || offset2 === 8)
|
|
1203
|
-
|
|
1204
|
-
if (byte < 16)
|
|
1205
|
-
result += "0";
|
|
1131
|
+
if (offset2 === 4 || offset2 === 6 || offset2 === 8) result += "-";
|
|
1132
|
+
if (byte < 16) result += "0";
|
|
1206
1133
|
result += byte.toString(16).toLowerCase();
|
|
1207
1134
|
}
|
|
1208
1135
|
return result;
|
|
@@ -5390,8 +5317,7 @@ var require_main = __commonJS({
|
|
|
5390
5317
|
}
|
|
5391
5318
|
__name(t, "t");
|
|
5392
5319
|
function e(t2, e2) {
|
|
5393
|
-
for (var n2 = -1, r2 = null == t2 ? 0 : t2.length; ++n2 < r2 && false !== e2(t2[n2], n2, t2); )
|
|
5394
|
-
;
|
|
5320
|
+
for (var n2 = -1, r2 = null == t2 ? 0 : t2.length; ++n2 < r2 && false !== e2(t2[n2], n2, t2); ) ;
|
|
5395
5321
|
}
|
|
5396
5322
|
__name(e, "e");
|
|
5397
5323
|
function n(t2, e2) {
|
|
@@ -5403,14 +5329,12 @@ var require_main = __commonJS({
|
|
|
5403
5329
|
}
|
|
5404
5330
|
__name(n, "n");
|
|
5405
5331
|
function r(t2, e2) {
|
|
5406
|
-
for (var n2 = -1, r2 = null == t2 ? 0 : t2.length, u2 = Array(r2); ++n2 < r2; )
|
|
5407
|
-
u2[n2] = e2(t2[n2], n2, t2);
|
|
5332
|
+
for (var n2 = -1, r2 = null == t2 ? 0 : t2.length, u2 = Array(r2); ++n2 < r2; ) u2[n2] = e2(t2[n2], n2, t2);
|
|
5408
5333
|
return u2;
|
|
5409
5334
|
}
|
|
5410
5335
|
__name(r, "r");
|
|
5411
5336
|
function u(t2, e2) {
|
|
5412
|
-
for (var n2 = -1, r2 = e2.length, u2 = t2.length; ++n2 < r2; )
|
|
5413
|
-
t2[u2 + n2] = e2[n2];
|
|
5337
|
+
for (var n2 = -1, r2 = e2.length, u2 = t2.length; ++n2 < r2; ) t2[u2 + n2] = e2[n2];
|
|
5414
5338
|
return t2;
|
|
5415
5339
|
}
|
|
5416
5340
|
__name(u, "u");
|
|
@@ -5461,14 +5385,11 @@ var require_main = __commonJS({
|
|
|
5461
5385
|
function b(t2, e2) {
|
|
5462
5386
|
var n2 = Ye(t2), r2 = !n2 && Xe(t2), u2 = !n2 && !r2 && Ze(t2), o2 = !n2 && !r2 && !u2 && nn(t2);
|
|
5463
5387
|
if (n2 = n2 || r2 || u2 || o2) {
|
|
5464
|
-
for (var r2 = t2.length, c2 = String, i2 = -1, f2 = Array(r2); ++i2 < r2; )
|
|
5465
|
-
f2[i2] = c2(i2);
|
|
5388
|
+
for (var r2 = t2.length, c2 = String, i2 = -1, f2 = Array(r2); ++i2 < r2; ) f2[i2] = c2(i2);
|
|
5466
5389
|
r2 = f2;
|
|
5467
|
-
} else
|
|
5468
|
-
r2 = [];
|
|
5390
|
+
} else r2 = [];
|
|
5469
5391
|
var a2, c2 = r2.length;
|
|
5470
|
-
for (a2 in t2)
|
|
5471
|
-
!e2 && !fe.call(t2, a2) || n2 && ("length" == a2 || u2 && ("offset" == a2 || "parent" == a2) || o2 && ("buffer" == a2 || "byteLength" == a2 || "byteOffset" == a2) || ut(a2, c2)) || r2.push(a2);
|
|
5392
|
+
for (a2 in t2) !e2 && !fe.call(t2, a2) || n2 && ("length" == a2 || u2 && ("offset" == a2 || "parent" == a2) || o2 && ("buffer" == a2 || "byteLength" == a2 || "byteOffset" == a2) || ut(a2, c2)) || r2.push(a2);
|
|
5472
5393
|
return r2;
|
|
5473
5394
|
}
|
|
5474
5395
|
__name(b, "b");
|
|
@@ -5482,9 +5403,7 @@ var require_main = __commonJS({
|
|
|
5482
5403
|
}
|
|
5483
5404
|
__name(h, "h");
|
|
5484
5405
|
function y(t2, e2) {
|
|
5485
|
-
for (var n2 = t2.length; n2--; )
|
|
5486
|
-
if (bt(t2[n2][0], e2))
|
|
5487
|
-
return n2;
|
|
5406
|
+
for (var n2 = t2.length; n2--; ) if (bt(t2[n2][0], e2)) return n2;
|
|
5488
5407
|
return -1;
|
|
5489
5408
|
}
|
|
5490
5409
|
__name(y, "y");
|
|
@@ -5502,36 +5421,27 @@ var require_main = __commonJS({
|
|
|
5502
5421
|
__name(d, "d");
|
|
5503
5422
|
function g(t2, n2, r2, u2, o2, c2) {
|
|
5504
5423
|
var i2, f2 = 1 & n2, a2 = 2 & n2, l2 = 4 & n2;
|
|
5505
|
-
if (r2 && (i2 = o2 ? r2(t2, u2, o2, c2) : r2(t2)), i2 !== Mt)
|
|
5506
|
-
|
|
5507
|
-
if (!_t(t2))
|
|
5508
|
-
return t2;
|
|
5424
|
+
if (r2 && (i2 = o2 ? r2(t2, u2, o2, c2) : r2(t2)), i2 !== Mt) return i2;
|
|
5425
|
+
if (!_t(t2)) return t2;
|
|
5509
5426
|
if (u2 = Ye(t2)) {
|
|
5510
|
-
if (i2 = tt(t2), !f2)
|
|
5511
|
-
return T(t2, i2);
|
|
5427
|
+
if (i2 = tt(t2), !f2) return T(t2, i2);
|
|
5512
5428
|
} else {
|
|
5513
5429
|
var b2 = Je(t2), p2 = "[object Function]" == b2 || "[object GeneratorFunction]" == b2;
|
|
5514
|
-
if (Ze(t2))
|
|
5515
|
-
return R(t2, f2);
|
|
5430
|
+
if (Ze(t2)) return R(t2, f2);
|
|
5516
5431
|
if ("[object Object]" == b2 || "[object Arguments]" == b2 || p2 && !o2) {
|
|
5517
|
-
if (i2 = a2 || p2 ? {} : et(t2), !f2)
|
|
5518
|
-
return a2 ? G(t2, _(i2, t2)) : N(t2, j(i2, t2));
|
|
5432
|
+
if (i2 = a2 || p2 ? {} : et(t2), !f2) return a2 ? G(t2, _(i2, t2)) : N(t2, j(i2, t2));
|
|
5519
5433
|
} else {
|
|
5520
|
-
if (!Gt[b2])
|
|
5521
|
-
return o2 ? t2 : {};
|
|
5434
|
+
if (!Gt[b2]) return o2 ? t2 : {};
|
|
5522
5435
|
i2 = nt(t2, b2, f2);
|
|
5523
5436
|
}
|
|
5524
5437
|
}
|
|
5525
|
-
if (c2 || (c2 = new s()), o2 = c2.get(t2))
|
|
5526
|
-
|
|
5527
|
-
|
|
5528
|
-
|
|
5529
|
-
|
|
5530
|
-
|
|
5531
|
-
|
|
5532
|
-
return t2.forEach(function(e2, u3) {
|
|
5533
|
-
i2.set(u3, g(e2, n2, r2, u3, t2, c2));
|
|
5534
|
-
}), i2;
|
|
5438
|
+
if (c2 || (c2 = new s()), o2 = c2.get(t2)) return o2;
|
|
5439
|
+
if (c2.set(t2, i2), en(t2)) return t2.forEach(function(e2) {
|
|
5440
|
+
i2.add(g(e2, n2, r2, e2, t2, c2));
|
|
5441
|
+
}), i2;
|
|
5442
|
+
if (tn(t2)) return t2.forEach(function(e2, u3) {
|
|
5443
|
+
i2.set(u3, g(e2, n2, r2, u3, t2, c2));
|
|
5444
|
+
}), i2;
|
|
5535
5445
|
var a2 = l2 ? a2 ? Q : K : a2 ? zt : St, y2 = u2 ? Mt : a2(t2);
|
|
5536
5446
|
return e(y2 || t2, function(e2, u3) {
|
|
5537
5447
|
y2 && (u3 = e2, e2 = t2[u3]), h(i2, u3, g(e2, n2, r2, u3, t2, c2));
|
|
@@ -5549,8 +5459,7 @@ var require_main = __commonJS({
|
|
|
5549
5459
|
__name(v, "v");
|
|
5550
5460
|
function A(t2, e2) {
|
|
5551
5461
|
e2 = C(e2, t2);
|
|
5552
|
-
for (var n2 = 0, r2 = e2.length; null != t2 && n2 < r2; )
|
|
5553
|
-
t2 = t2[it(e2[n2++])];
|
|
5462
|
+
for (var n2 = 0, r2 = e2.length; null != t2 && n2 < r2; ) t2 = t2[it(e2[n2++])];
|
|
5554
5463
|
return n2 && n2 == r2 ? t2 : Mt;
|
|
5555
5464
|
}
|
|
5556
5465
|
__name(A, "A");
|
|
@@ -5559,8 +5468,7 @@ var require_main = __commonJS({
|
|
|
5559
5468
|
}
|
|
5560
5469
|
__name(m, "m");
|
|
5561
5470
|
function w(t2) {
|
|
5562
|
-
if (null == t2)
|
|
5563
|
-
t2 = t2 === Mt ? "[object Undefined]" : "[object Null]";
|
|
5471
|
+
if (null == t2) t2 = t2 === Mt ? "[object Undefined]" : "[object Null]";
|
|
5564
5472
|
else if (me && me in Object(t2)) {
|
|
5565
5473
|
var e2 = fe.call(t2, me), n2 = t2[me];
|
|
5566
5474
|
try {
|
|
@@ -5570,8 +5478,7 @@ var require_main = __commonJS({
|
|
|
5570
5478
|
}
|
|
5571
5479
|
var u2 = le.call(t2);
|
|
5572
5480
|
r2 && (e2 ? t2[me] = n2 : delete t2[me]), t2 = u2;
|
|
5573
|
-
} else
|
|
5574
|
-
t2 = le.call(t2);
|
|
5481
|
+
} else t2 = le.call(t2);
|
|
5575
5482
|
return t2;
|
|
5576
5483
|
}
|
|
5577
5484
|
__name(w, "w");
|
|
@@ -5600,11 +5507,9 @@ var require_main = __commonJS({
|
|
|
5600
5507
|
}
|
|
5601
5508
|
__name(F, "F");
|
|
5602
5509
|
function I(t2) {
|
|
5603
|
-
if (!ot(t2))
|
|
5604
|
-
return ze(t2);
|
|
5510
|
+
if (!ot(t2)) return ze(t2);
|
|
5605
5511
|
var e2, n2 = [];
|
|
5606
|
-
for (e2 in Object(t2))
|
|
5607
|
-
fe.call(t2, e2) && "constructor" != e2 && n2.push(e2);
|
|
5512
|
+
for (e2 in Object(t2)) fe.call(t2, e2) && "constructor" != e2 && n2.push(e2);
|
|
5608
5513
|
return n2;
|
|
5609
5514
|
}
|
|
5610
5515
|
__name(I, "I");
|
|
@@ -5613,8 +5518,7 @@ var require_main = __commonJS({
|
|
|
5613
5518
|
if (_t(o2)) {
|
|
5614
5519
|
u2 || (u2 = new s());
|
|
5615
5520
|
var i2 = u2, f2 = "__proto__" == c2 ? Mt : t2[c2], a2 = "__proto__" == c2 ? Mt : e2[c2], l2 = i2.get(a2);
|
|
5616
|
-
if (l2)
|
|
5617
|
-
p(t2, c2, l2);
|
|
5521
|
+
if (l2) p(t2, c2, l2);
|
|
5618
5522
|
else {
|
|
5619
5523
|
var l2 = r2 ? r2(f2, a2, c2 + "", t2, e2, i2) : Mt, b2 = l2 === Mt;
|
|
5620
5524
|
if (b2) {
|
|
@@ -5623,8 +5527,7 @@ var require_main = __commonJS({
|
|
|
5623
5527
|
}
|
|
5624
5528
|
b2 && (i2.set(a2, l2), M(l2, a2, n2, r2, i2), i2.delete(a2)), p(t2, c2, l2);
|
|
5625
5529
|
}
|
|
5626
|
-
} else
|
|
5627
|
-
i2 = r2 ? r2("__proto__" == c2 ? Mt : t2[c2], o2, c2 + "", t2, e2, u2) : Mt, i2 === Mt && (i2 = o2), p(t2, c2, i2);
|
|
5530
|
+
} else i2 = r2 ? r2("__proto__" == c2 ? Mt : t2[c2], o2, c2 + "", t2, e2, u2) : Mt, i2 === Mt && (i2 = o2), p(t2, c2, i2);
|
|
5628
5531
|
}, zt);
|
|
5629
5532
|
}
|
|
5630
5533
|
__name(M, "M");
|
|
@@ -5647,8 +5550,7 @@ var require_main = __commonJS({
|
|
|
5647
5550
|
}
|
|
5648
5551
|
__name(P, "P");
|
|
5649
5552
|
function D(t2, e2, n2) {
|
|
5650
|
-
if (!_t(t2))
|
|
5651
|
-
return t2;
|
|
5553
|
+
if (!_t(t2)) return t2;
|
|
5652
5554
|
e2 = C(e2, t2);
|
|
5653
5555
|
for (var r2 = -1, u2 = e2.length, o2 = u2 - 1, c2 = t2; null != c2 && ++r2 < u2; ) {
|
|
5654
5556
|
var i2 = it(e2[r2]), f2 = n2;
|
|
@@ -5662,12 +5564,9 @@ var require_main = __commonJS({
|
|
|
5662
5564
|
}
|
|
5663
5565
|
__name(D, "D");
|
|
5664
5566
|
function $(t2) {
|
|
5665
|
-
if (typeof t2 == "string")
|
|
5666
|
-
|
|
5667
|
-
if (
|
|
5668
|
-
return r(t2, $) + "";
|
|
5669
|
-
if (At(t2))
|
|
5670
|
-
return Te ? Te.call(t2) : "";
|
|
5567
|
+
if (typeof t2 == "string") return t2;
|
|
5568
|
+
if (Ye(t2)) return r(t2, $) + "";
|
|
5569
|
+
if (At(t2)) return Te ? Te.call(t2) : "";
|
|
5671
5570
|
var e2 = t2 + "";
|
|
5672
5571
|
return "0" == e2 && 1 / t2 == -Et ? "-0" : e2;
|
|
5673
5572
|
}
|
|
@@ -5675,13 +5574,11 @@ var require_main = __commonJS({
|
|
|
5675
5574
|
function B(t2, e2) {
|
|
5676
5575
|
e2 = C(e2, t2);
|
|
5677
5576
|
var n2;
|
|
5678
|
-
if (2 > e2.length)
|
|
5679
|
-
n2 = t2;
|
|
5577
|
+
if (2 > e2.length) n2 = t2;
|
|
5680
5578
|
else {
|
|
5681
5579
|
n2 = e2;
|
|
5682
5580
|
var r2 = 0, u2 = -1, o2 = -1, c2 = n2.length;
|
|
5683
|
-
for (0 > r2 && (r2 = -r2 > c2 ? 0 : c2 + r2), u2 = u2 > c2 ? c2 : u2, 0 > u2 && (u2 += c2), c2 = r2 > u2 ? 0 : u2 - r2 >>> 0, r2 >>>= 0, u2 = Array(c2); ++o2 < c2; )
|
|
5684
|
-
u2[o2] = n2[o2 + r2];
|
|
5581
|
+
for (0 > r2 && (r2 = -r2 > c2 ? 0 : c2 + r2), u2 = u2 > c2 ? c2 : u2, 0 > u2 && (u2 += c2), c2 = r2 > u2 ? 0 : u2 - r2 >>> 0, r2 >>>= 0, u2 = Array(c2); ++o2 < c2; ) u2[o2] = n2[o2 + r2];
|
|
5685
5582
|
n2 = A(t2, u2);
|
|
5686
5583
|
}
|
|
5687
5584
|
return t2 = n2, null == t2 || delete t2[it(lt(e2))];
|
|
@@ -5693,8 +5590,7 @@ var require_main = __commonJS({
|
|
|
5693
5590
|
}
|
|
5694
5591
|
__name(C, "C");
|
|
5695
5592
|
function R(t2, e2) {
|
|
5696
|
-
if (e2)
|
|
5697
|
-
return t2.slice();
|
|
5593
|
+
if (e2) return t2.slice();
|
|
5698
5594
|
var n2 = t2.length, n2 = je ? je(n2) : new t2.constructor(n2);
|
|
5699
5595
|
return t2.copy(n2), n2;
|
|
5700
5596
|
}
|
|
@@ -5710,8 +5606,7 @@ var require_main = __commonJS({
|
|
|
5710
5606
|
__name(L, "L");
|
|
5711
5607
|
function T(t2, e2) {
|
|
5712
5608
|
var n2 = -1, r2 = t2.length;
|
|
5713
|
-
for (e2 || (e2 = Array(r2)); ++n2 < r2; )
|
|
5714
|
-
e2[n2] = t2[n2];
|
|
5609
|
+
for (e2 || (e2 = Array(r2)); ++n2 < r2; ) e2[n2] = t2[n2];
|
|
5715
5610
|
return e2;
|
|
5716
5611
|
}
|
|
5717
5612
|
__name(T, "T");
|
|
@@ -5742,11 +5637,9 @@ var require_main = __commonJS({
|
|
|
5742
5637
|
if (_t(i2)) {
|
|
5743
5638
|
var a2 = typeof f2;
|
|
5744
5639
|
r2 = !!("number" == a2 ? pt(i2) && ut(f2, i2.length) : "string" == a2 && f2 in i2) && bt(i2[f2], r2);
|
|
5745
|
-
} else
|
|
5746
|
-
r2 = false;
|
|
5640
|
+
} else r2 = false;
|
|
5747
5641
|
}
|
|
5748
|
-
for (r2 && (c2 = 3 > o2 ? Mt : c2, o2 = 1), e2 = Object(e2); ++u2 < o2; )
|
|
5749
|
-
(i2 = n2[u2]) && t2(e2, i2, u2, c2);
|
|
5642
|
+
for (r2 && (c2 = 3 > o2 ? Mt : c2, o2 = 1), e2 = Object(e2); ++u2 < o2; ) (i2 = n2[u2]) && t2(e2, i2, u2, c2);
|
|
5750
5643
|
return e2;
|
|
5751
5644
|
});
|
|
5752
5645
|
}
|
|
@@ -5781,8 +5674,7 @@ var require_main = __commonJS({
|
|
|
5781
5674
|
e2 = C(e2, t2);
|
|
5782
5675
|
for (var r2 = -1, u2 = e2.length, o2 = false; ++r2 < u2; ) {
|
|
5783
5676
|
var c2 = it(e2[r2]);
|
|
5784
|
-
if (!(o2 = null != t2 && n2(t2, c2)))
|
|
5785
|
-
break;
|
|
5677
|
+
if (!(o2 = null != t2 && n2(t2, c2))) break;
|
|
5786
5678
|
t2 = t2[c2];
|
|
5787
5679
|
}
|
|
5788
5680
|
return o2 || ++r2 != u2 ? o2 : (u2 = null == t2 ? 0 : t2.length, !!u2 && jt(u2) && ut(c2, u2) && (Ye(t2) || Xe(t2)));
|
|
@@ -5847,17 +5739,14 @@ var require_main = __commonJS({
|
|
|
5847
5739
|
__name(ot, "ot");
|
|
5848
5740
|
function ct(e2, n2, r2) {
|
|
5849
5741
|
return n2 = xe(n2 === Mt ? e2.length - 1 : n2, 0), function() {
|
|
5850
|
-
for (var u2 = arguments, o2 = -1, c2 = xe(u2.length - n2, 0), i2 = Array(c2); ++o2 < c2; )
|
|
5851
|
-
|
|
5852
|
-
for (o2 = -1, c2 = Array(n2 + 1); ++o2 < n2; )
|
|
5853
|
-
c2[o2] = u2[o2];
|
|
5742
|
+
for (var u2 = arguments, o2 = -1, c2 = xe(u2.length - n2, 0), i2 = Array(c2); ++o2 < c2; ) i2[o2] = u2[n2 + o2];
|
|
5743
|
+
for (o2 = -1, c2 = Array(n2 + 1); ++o2 < n2; ) c2[o2] = u2[o2];
|
|
5854
5744
|
return c2[n2] = r2(i2), t(e2, this, c2);
|
|
5855
5745
|
};
|
|
5856
5746
|
}
|
|
5857
5747
|
__name(ct, "ct");
|
|
5858
5748
|
function it(t2) {
|
|
5859
|
-
if (typeof t2 == "string" || At(t2))
|
|
5860
|
-
return t2;
|
|
5749
|
+
if (typeof t2 == "string" || At(t2)) return t2;
|
|
5861
5750
|
var e2 = t2 + "";
|
|
5862
5751
|
return "0" == e2 && 1 / t2 == -Et ? "-0" : e2;
|
|
5863
5752
|
}
|
|
@@ -5888,8 +5777,7 @@ var require_main = __commonJS({
|
|
|
5888
5777
|
return o2.has(u2) ? o2.get(u2) : (r2 = t2.apply(this, r2), n2.cache = o2.set(u2, r2) || o2, r2);
|
|
5889
5778
|
}
|
|
5890
5779
|
__name(n2, "n");
|
|
5891
|
-
if (typeof t2 != "function" || null != e2 && typeof e2 != "function")
|
|
5892
|
-
throw new TypeError("Expected a function");
|
|
5780
|
+
if (typeof t2 != "function" || null != e2 && typeof e2 != "function") throw new TypeError("Expected a function");
|
|
5893
5781
|
return n2.cache = new (st.Cache || l)(), n2;
|
|
5894
5782
|
}
|
|
5895
5783
|
__name(st, "st");
|
|
@@ -5951,17 +5839,13 @@ var require_main = __commonJS({
|
|
|
5951
5839
|
}
|
|
5952
5840
|
__name(St, "St");
|
|
5953
5841
|
function zt(t2) {
|
|
5954
|
-
if (pt(t2))
|
|
5955
|
-
t2 = b(t2, true);
|
|
5842
|
+
if (pt(t2)) t2 = b(t2, true);
|
|
5956
5843
|
else if (_t(t2)) {
|
|
5957
5844
|
var e2, n2 = ot(t2), r2 = [];
|
|
5958
|
-
for (e2 in t2)
|
|
5959
|
-
("constructor" != e2 || !n2 && fe.call(t2, e2)) && r2.push(e2);
|
|
5845
|
+
for (e2 in t2) ("constructor" != e2 || !n2 && fe.call(t2, e2)) && r2.push(e2);
|
|
5960
5846
|
t2 = r2;
|
|
5961
5847
|
} else {
|
|
5962
|
-
if (e2 = [], null != t2)
|
|
5963
|
-
for (n2 in Object(t2))
|
|
5964
|
-
e2.push(n2);
|
|
5848
|
+
if (e2 = [], null != t2) for (n2 in Object(t2)) e2.push(n2);
|
|
5965
5849
|
t2 = e2;
|
|
5966
5850
|
}
|
|
5967
5851
|
return t2;
|
|
@@ -6073,8 +5957,7 @@ var require_main = __commonJS({
|
|
|
6073
5957
|
var n2 = this.__data__;
|
|
6074
5958
|
if (n2 instanceof a) {
|
|
6075
5959
|
var r2 = n2.__data__;
|
|
6076
|
-
if (!Ie || 199 > r2.length)
|
|
6077
|
-
return r2.push([t2, e2]), this.size = ++n2.size, this;
|
|
5960
|
+
if (!Ie || 199 > r2.length) return r2.push([t2, e2]), this.size = ++n2.size, this;
|
|
6078
5961
|
n2 = this.__data__ = new l(r2);
|
|
6079
5962
|
}
|
|
6080
5963
|
return n2.set(t2, e2), this.size = n2.size, this;
|
|
@@ -6085,8 +5968,7 @@ var require_main = __commonJS({
|
|
|
6085
5968
|
r2 = r2(e2);
|
|
6086
5969
|
for (var c2 = r2.length; c2--; ) {
|
|
6087
5970
|
var i2 = r2[t2 ? c2 : ++u2];
|
|
6088
|
-
if (false === n2(o2[i2], i2, o2))
|
|
6089
|
-
break;
|
|
5971
|
+
if (false === n2(o2[i2], i2, o2)) break;
|
|
6090
5972
|
}
|
|
6091
5973
|
return e2;
|
|
6092
5974
|
};
|
|
@@ -6102,25 +5984,23 @@ var require_main = __commonJS({
|
|
|
6102
5984
|
return ge.call(t2, e2);
|
|
6103
5985
|
}));
|
|
6104
5986
|
} : Ft, He = Oe ? function(t2) {
|
|
6105
|
-
for (var e2 = []; t2; )
|
|
6106
|
-
u(e2, qe(t2)), t2 = _e(t2);
|
|
5987
|
+
for (var e2 = []; t2; ) u(e2, qe(t2)), t2 = _e(t2);
|
|
6107
5988
|
return e2;
|
|
6108
5989
|
} : Ft, Je = w;
|
|
6109
5990
|
(Fe && "[object DataView]" != Je(new Fe(new ArrayBuffer(1))) || Ie && "[object Map]" != Je(new Ie()) || Me && "[object Promise]" != Je(Me.resolve()) || Ee && "[object Set]" != Je(new Ee()) || Ue && "[object WeakMap]" != Je(new Ue())) && (Je = /* @__PURE__ */ __name(function(t2) {
|
|
6110
5991
|
var e2 = w(t2);
|
|
6111
|
-
if (t2 = (t2 = "[object Object]" == e2 ? t2.constructor : Mt) ? ft(t2) : "")
|
|
6112
|
-
|
|
6113
|
-
|
|
6114
|
-
|
|
6115
|
-
|
|
6116
|
-
|
|
6117
|
-
|
|
6118
|
-
|
|
6119
|
-
|
|
6120
|
-
|
|
6121
|
-
|
|
6122
|
-
|
|
6123
|
-
}
|
|
5992
|
+
if (t2 = (t2 = "[object Object]" == e2 ? t2.constructor : Mt) ? ft(t2) : "") switch (t2) {
|
|
5993
|
+
case De:
|
|
5994
|
+
return "[object DataView]";
|
|
5995
|
+
case $e:
|
|
5996
|
+
return "[object Map]";
|
|
5997
|
+
case Be:
|
|
5998
|
+
return "[object Promise]";
|
|
5999
|
+
case Ce:
|
|
6000
|
+
return "[object Set]";
|
|
6001
|
+
case Re:
|
|
6002
|
+
return "[object WeakMap]";
|
|
6003
|
+
}
|
|
6124
6004
|
return e2;
|
|
6125
6005
|
}, "Je"));
|
|
6126
6006
|
var Ke = /* @__PURE__ */ function(t2) {
|
|
@@ -6128,10 +6008,8 @@ var require_main = __commonJS({
|
|
|
6128
6008
|
return function() {
|
|
6129
6009
|
var r2 = ke(), u2 = 16 - (r2 - n2);
|
|
6130
6010
|
if (n2 = r2, 0 < u2) {
|
|
6131
|
-
if (800 <= ++e2)
|
|
6132
|
-
|
|
6133
|
-
} else
|
|
6134
|
-
e2 = 0;
|
|
6011
|
+
if (800 <= ++e2) return arguments[0];
|
|
6012
|
+
} else e2 = 0;
|
|
6135
6013
|
return t2.apply(Mt, arguments);
|
|
6136
6014
|
};
|
|
6137
6015
|
}(Ge), Qe = function(t2) {
|
|
@@ -6157,14 +6035,12 @@ var require_main = __commonJS({
|
|
|
6157
6035
|
M(t2, e2, n2, r2);
|
|
6158
6036
|
}), on = J(function(t2, e2) {
|
|
6159
6037
|
var n2 = {};
|
|
6160
|
-
if (null == t2)
|
|
6161
|
-
return n2;
|
|
6038
|
+
if (null == t2) return n2;
|
|
6162
6039
|
var u2 = false;
|
|
6163
6040
|
e2 = r(e2, function(e3) {
|
|
6164
6041
|
return e3 = C(e3, t2), u2 || (u2 = 1 < e3.length), e3;
|
|
6165
6042
|
}), V(t2, Q(t2), n2), u2 && (n2 = g(n2, 7, H));
|
|
6166
|
-
for (var o2 = e2.length; o2--; )
|
|
6167
|
-
B(n2, e2[o2]);
|
|
6043
|
+
for (var o2 = e2.length; o2--; ) B(n2, e2[o2]);
|
|
6168
6044
|
return n2;
|
|
6169
6045
|
}), cn = J(function(t2, e2) {
|
|
6170
6046
|
return null == t2 ? {} : E(t2, e2);
|
|
@@ -6188,18 +6064,13 @@ var require_main = __commonJS({
|
|
|
6188
6064
|
}, i.has = function(t2, e2) {
|
|
6189
6065
|
return null != t2 && Z(t2, e2, O);
|
|
6190
6066
|
}, i.hasIn = Ot, i.identity = kt, i.isArguments = Xe, i.isArray = Ye, i.isArrayLike = pt, i.isArrayLikeObject = ht, i.isBuffer = Ze, i.isFunction = yt, i.isLength = jt, i.isMap = tn, i.isObject = _t, i.isObjectLike = dt, i.isPlainObject = gt, i.isSet = en, i.isString = vt, i.isSymbol = At, i.isTypedArray = nn, i.last = lt, i.stubArray = Ft, i.stubFalse = It, i.size = function(t2) {
|
|
6191
|
-
if (null == t2)
|
|
6192
|
-
return 0;
|
|
6067
|
+
if (null == t2) return 0;
|
|
6193
6068
|
if (pt(t2)) {
|
|
6194
|
-
if (vt(t2))
|
|
6195
|
-
|
|
6196
|
-
|
|
6197
|
-
|
|
6198
|
-
|
|
6199
|
-
} else
|
|
6200
|
-
t2 = re(t2);
|
|
6201
|
-
else
|
|
6202
|
-
t2 = t2.length;
|
|
6069
|
+
if (vt(t2)) if (Vt.test(t2)) {
|
|
6070
|
+
for (var e2 = Tt.lastIndex = 0; Tt.test(t2); ) ++e2;
|
|
6071
|
+
t2 = e2;
|
|
6072
|
+
} else t2 = re(t2);
|
|
6073
|
+
else t2 = t2.length;
|
|
6203
6074
|
return t2;
|
|
6204
6075
|
}
|
|
6205
6076
|
return e2 = Je(t2), "[object Map]" == e2 || "[object Set]" == e2 ? t2.size : I(t2).length;
|
|
@@ -6529,8 +6400,7 @@ var require_safe_stable_stringify = __commonJS({
|
|
|
6529
6400
|
if (value) {
|
|
6530
6401
|
return (value2) => {
|
|
6531
6402
|
let message = `Object can not safely be stringified. Received type ${typeof value2}`;
|
|
6532
|
-
if (typeof value2 !== "function")
|
|
6533
|
-
message += ` (${value2.toString()})`;
|
|
6403
|
+
if (typeof value2 !== "function") message += ` (${value2.toString()})`;
|
|
6534
6404
|
throw new Error(message);
|
|
6535
6405
|
};
|
|
6536
6406
|
}
|
|
@@ -6662,6 +6532,7 @@ ${originalIndentation}`;
|
|
|
6662
6532
|
if (bigint) {
|
|
6663
6533
|
return String(value);
|
|
6664
6534
|
}
|
|
6535
|
+
// fallthrough
|
|
6665
6536
|
default:
|
|
6666
6537
|
return fail ? fail(value) : void 0;
|
|
6667
6538
|
}
|
|
@@ -6753,6 +6624,7 @@ ${originalIndentation}`;
|
|
|
6753
6624
|
if (bigint) {
|
|
6754
6625
|
return String(value);
|
|
6755
6626
|
}
|
|
6627
|
+
// fallthrough
|
|
6756
6628
|
default:
|
|
6757
6629
|
return fail ? fail(value) : void 0;
|
|
6758
6630
|
}
|
|
@@ -6865,6 +6737,7 @@ ${originalIndentation}`;
|
|
|
6865
6737
|
if (bigint) {
|
|
6866
6738
|
return String(value);
|
|
6867
6739
|
}
|
|
6740
|
+
// fallthrough
|
|
6868
6741
|
default:
|
|
6869
6742
|
return fail ? fail(value) : void 0;
|
|
6870
6743
|
}
|
|
@@ -6961,6 +6834,7 @@ ${originalIndentation}`;
|
|
|
6961
6834
|
if (bigint) {
|
|
6962
6835
|
return String(value);
|
|
6963
6836
|
}
|
|
6837
|
+
// fallthrough
|
|
6964
6838
|
default:
|
|
6965
6839
|
return fail ? fail(value) : void 0;
|
|
6966
6840
|
}
|
|
@@ -7117,12 +6991,9 @@ var require_slugify = __commonJS({
|
|
|
7117
6991
|
var trim = options.trim === void 0 ? true : options.trim;
|
|
7118
6992
|
var slug2 = string2.normalize().split("").reduce(function(result, ch) {
|
|
7119
6993
|
var appendChar = locale[ch];
|
|
7120
|
-
if (appendChar === void 0)
|
|
7121
|
-
|
|
7122
|
-
if (appendChar ===
|
|
7123
|
-
appendChar = ch;
|
|
7124
|
-
if (appendChar === replacement)
|
|
7125
|
-
appendChar = " ";
|
|
6994
|
+
if (appendChar === void 0) appendChar = charMap[ch];
|
|
6995
|
+
if (appendChar === void 0) appendChar = ch;
|
|
6996
|
+
if (appendChar === replacement) appendChar = " ";
|
|
7126
6997
|
return result + appendChar.replace(options.remove || /[^\w\s$*_+~.()'"!\-:@]+/g, "");
|
|
7127
6998
|
}, "");
|
|
7128
6999
|
if (options.strict) {
|
|
@@ -7316,12 +7187,9 @@ var require_pluralize = __commonJS({
|
|
|
7316
7187
|
}
|
|
7317
7188
|
__name(sanitizeRule, "sanitizeRule");
|
|
7318
7189
|
function restoreCase(word, token) {
|
|
7319
|
-
if (word === token)
|
|
7320
|
-
|
|
7321
|
-
if (word === word.
|
|
7322
|
-
return token.toLowerCase();
|
|
7323
|
-
if (word === word.toUpperCase())
|
|
7324
|
-
return token.toUpperCase();
|
|
7190
|
+
if (word === token) return token;
|
|
7191
|
+
if (word === word.toLowerCase()) return token.toLowerCase();
|
|
7192
|
+
if (word === word.toUpperCase()) return token.toUpperCase();
|
|
7325
7193
|
if (word[0] === word[0].toUpperCase()) {
|
|
7326
7194
|
return token.charAt(0).toUpperCase() + token.substr(1).toLowerCase();
|
|
7327
7195
|
}
|
|
@@ -7351,8 +7219,7 @@ var require_pluralize = __commonJS({
|
|
|
7351
7219
|
var len = rules.length;
|
|
7352
7220
|
while (len--) {
|
|
7353
7221
|
var rule = rules[len];
|
|
7354
|
-
if (rule[0].test(word))
|
|
7355
|
-
return replace(word, rule);
|
|
7222
|
+
if (rule[0].test(word)) return replace(word, rule);
|
|
7356
7223
|
}
|
|
7357
7224
|
return word;
|
|
7358
7225
|
}
|
|
@@ -7373,10 +7240,8 @@ var require_pluralize = __commonJS({
|
|
|
7373
7240
|
function checkWord(replaceMap, keepMap, rules, bool) {
|
|
7374
7241
|
return function(word) {
|
|
7375
7242
|
var token = word.toLowerCase();
|
|
7376
|
-
if (keepMap.hasOwnProperty(token))
|
|
7377
|
-
|
|
7378
|
-
if (replaceMap.hasOwnProperty(token))
|
|
7379
|
-
return false;
|
|
7243
|
+
if (keepMap.hasOwnProperty(token)) return true;
|
|
7244
|
+
if (replaceMap.hasOwnProperty(token)) return false;
|
|
7380
7245
|
return sanitizeWord(token, token, rules) === token;
|
|
7381
7246
|
};
|
|
7382
7247
|
}
|
|
@@ -8511,7 +8376,7 @@ var require_inspect2 = __commonJS({
|
|
|
8511
8376
|
module.exports = {
|
|
8512
8377
|
inspect: require_inspect(),
|
|
8513
8378
|
string: {
|
|
8514
|
-
html: (value) => new PrettyPrintHtml().print(value)
|
|
8379
|
+
html: /* @__PURE__ */ __name((value) => new PrettyPrintHtml().print(value), "html")
|
|
8515
8380
|
}
|
|
8516
8381
|
};
|
|
8517
8382
|
}
|
|
@@ -8521,7 +8386,8 @@ var require_inspect2 = __commonJS({
|
|
|
8521
8386
|
var import_reflect_metadata = __toESM(require_Reflect(), 1);
|
|
8522
8387
|
import { PathLoader } from "@h3ravel/shared";
|
|
8523
8388
|
import dotenv from "dotenv";
|
|
8524
|
-
import path from "
|
|
8389
|
+
import path from "path";
|
|
8390
|
+
import { dd, dump } from "@h3ravel/support";
|
|
8525
8391
|
|
|
8526
8392
|
// ../../node_modules/.pnpm/edge.js@6.3.0/node_modules/edge.js/build/chunk-EKKK4GME.js
|
|
8527
8393
|
var import_he = __toESM(require_he(), 1);
|
|
@@ -9841,11 +9707,10 @@ var svg2 = merge([
|
|
|
9841
9707
|
// ../../node_modules/.pnpm/edge.js@6.3.0/node_modules/edge.js/build/chunk-EKKK4GME.js
|
|
9842
9708
|
var __defProp2 = Object.defineProperty;
|
|
9843
9709
|
var __export2 = /* @__PURE__ */ __name((target, all) => {
|
|
9844
|
-
for (var name in all)
|
|
9845
|
-
|
|
9846
|
-
|
|
9847
|
-
|
|
9848
|
-
});
|
|
9710
|
+
for (var name in all) __defProp2(target, name, {
|
|
9711
|
+
get: all[name],
|
|
9712
|
+
enumerable: true
|
|
9713
|
+
});
|
|
9849
9714
|
}, "__export");
|
|
9850
9715
|
var Stacks = class {
|
|
9851
9716
|
static {
|
|
@@ -10532,12 +10397,10 @@ var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
|
10532
10397
|
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
|
|
10533
10398
|
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
|
|
10534
10399
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
10535
|
-
for (let key of __getOwnPropNames2(from))
|
|
10536
|
-
|
|
10537
|
-
|
|
10538
|
-
|
|
10539
|
-
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
|
|
10540
|
-
});
|
|
10400
|
+
for (let key of __getOwnPropNames2(from)) if (!__hasOwnProp2.call(to, key) && key !== except) __defProp3(to, key, {
|
|
10401
|
+
get: /* @__PURE__ */ __name(() => from[key], "get"),
|
|
10402
|
+
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
|
|
10403
|
+
});
|
|
10541
10404
|
}
|
|
10542
10405
|
return to;
|
|
10543
10406
|
}, "__copyProps");
|
|
@@ -10566,18 +10429,12 @@ var YEAR = DAY * 365.25;
|
|
|
10566
10429
|
function parse2(val) {
|
|
10567
10430
|
var num, arr = val.toLowerCase().match(RGX);
|
|
10568
10431
|
if (arr != null && (num = parseFloat(arr[1]))) {
|
|
10569
|
-
if (arr[3] != null)
|
|
10570
|
-
|
|
10571
|
-
if (arr[
|
|
10572
|
-
|
|
10573
|
-
if (arr[
|
|
10574
|
-
|
|
10575
|
-
if (arr[6] != null)
|
|
10576
|
-
return num * DAY;
|
|
10577
|
-
if (arr[7] != null)
|
|
10578
|
-
return num * DAY * 7;
|
|
10579
|
-
if (arr[8] != null)
|
|
10580
|
-
return num * YEAR;
|
|
10432
|
+
if (arr[3] != null) return num * SEC;
|
|
10433
|
+
if (arr[4] != null) return num * MIN;
|
|
10434
|
+
if (arr[5] != null) return num * HOUR;
|
|
10435
|
+
if (arr[6] != null) return num * DAY;
|
|
10436
|
+
if (arr[7] != null) return num * DAY * 7;
|
|
10437
|
+
if (arr[8] != null) return num * YEAR;
|
|
10581
10438
|
return num;
|
|
10582
10439
|
}
|
|
10583
10440
|
}
|
|
@@ -10589,16 +10446,11 @@ function fmt(val, pfx, str, long) {
|
|
|
10589
10446
|
__name(fmt, "fmt");
|
|
10590
10447
|
function format(num, long) {
|
|
10591
10448
|
var pfx = num < 0 ? "-" : "", abs = num < 0 ? -num : num;
|
|
10592
|
-
if (abs < SEC)
|
|
10593
|
-
|
|
10594
|
-
if (abs < MIN)
|
|
10595
|
-
|
|
10596
|
-
if (abs <
|
|
10597
|
-
return fmt(abs / MIN, pfx, "minute", long);
|
|
10598
|
-
if (abs < DAY)
|
|
10599
|
-
return fmt(abs / HOUR, pfx, "hour", long);
|
|
10600
|
-
if (abs < YEAR)
|
|
10601
|
-
return fmt(abs / DAY, pfx, "day", long);
|
|
10449
|
+
if (abs < SEC) return num + (long ? " ms" : "ms");
|
|
10450
|
+
if (abs < MIN) return fmt(abs / SEC, pfx, "second", long);
|
|
10451
|
+
if (abs < HOUR) return fmt(abs / MIN, pfx, "minute", long);
|
|
10452
|
+
if (abs < DAY) return fmt(abs / HOUR, pfx, "hour", long);
|
|
10453
|
+
if (abs < YEAR) return fmt(abs / DAY, pfx, "day", long);
|
|
10602
10454
|
return fmt(abs / YEAR, pfx, "year", long);
|
|
10603
10455
|
}
|
|
10604
10456
|
__name(format, "format");
|
|
@@ -10621,8 +10473,7 @@ function getPartsAndIndexes(string2, splitRegex) {
|
|
|
10621
10473
|
const matches = string2.matchAll(splitRegex);
|
|
10622
10474
|
let lastWordEndIndex = 0;
|
|
10623
10475
|
for (const match of matches) {
|
|
10624
|
-
if (typeof match.index !== "number")
|
|
10625
|
-
continue;
|
|
10476
|
+
if (typeof match.index !== "number") continue;
|
|
10626
10477
|
const word = match[0];
|
|
10627
10478
|
result.parts.push(word);
|
|
10628
10479
|
const prefix = string2.slice(lastWordEndIndex, match.index).trim();
|
|
@@ -10661,8 +10512,7 @@ function splitAndPrefix(string2, options) {
|
|
|
10661
10512
|
if (i === 0) {
|
|
10662
10513
|
return foundPrefix + part;
|
|
10663
10514
|
}
|
|
10664
|
-
if (!foundPrefix && !part)
|
|
10665
|
-
return "";
|
|
10515
|
+
if (!foundPrefix && !part) return "";
|
|
10666
10516
|
if (!hasSpaces) {
|
|
10667
10517
|
return (foundPrefix || prefix) + part;
|
|
10668
10518
|
}
|
|
@@ -11177,6 +11027,7 @@ var ObjectBuilder = class {
|
|
|
11177
11027
|
};
|
|
11178
11028
|
|
|
11179
11029
|
// ../../node_modules/.pnpm/@poppinss+utils@6.10.0/node_modules/@poppinss/utils/build/index.js
|
|
11030
|
+
import { timingSafeEqual } from "crypto";
|
|
11180
11031
|
var REDACTED = "[redacted]";
|
|
11181
11032
|
var Secret = class _Secret {
|
|
11182
11033
|
static {
|
|
@@ -11275,7 +11126,7 @@ import readdirSync from "fs-readdir-recursive";
|
|
|
11275
11126
|
import { existsSync, readFileSync } from "fs";
|
|
11276
11127
|
|
|
11277
11128
|
// ../../node_modules/.pnpm/edge-parser@9.0.4/node_modules/edge-parser/build/index.js
|
|
11278
|
-
import { EOL as EOL2 } from "
|
|
11129
|
+
import { EOL as EOL2 } from "os";
|
|
11279
11130
|
|
|
11280
11131
|
// ../../node_modules/.pnpm/edge-lexer@6.0.3/node_modules/edge-lexer/build/chunk-WLTPKIE5.js
|
|
11281
11132
|
var MustacheTypes = /* @__PURE__ */ ((MustacheTypes2) => {
|
|
@@ -12373,8 +12224,7 @@ var GENERATOR = {
|
|
|
12373
12224
|
state.write(" with { ");
|
|
12374
12225
|
for (let i2 = 0; i2 < attributes.length; i2++) {
|
|
12375
12226
|
this.ImportAttribute(attributes[i2], state);
|
|
12376
|
-
if (i2 < attributes.length - 1)
|
|
12377
|
-
state.write(", ");
|
|
12227
|
+
if (i2 < attributes.length - 1) state.write(", ");
|
|
12378
12228
|
}
|
|
12379
12229
|
state.write(" }");
|
|
12380
12230
|
}
|
|
@@ -12428,8 +12278,7 @@ var GENERATOR = {
|
|
|
12428
12278
|
state.write(" with { ");
|
|
12429
12279
|
for (let i = 0; i < node.attributes.length; i++) {
|
|
12430
12280
|
this.ImportAttribute(node.attributes[i], state);
|
|
12431
|
-
if (i < node.attributes.length - 1)
|
|
12432
|
-
state.write(", ");
|
|
12281
|
+
if (i < node.attributes.length - 1) state.write(", ");
|
|
12433
12282
|
}
|
|
12434
12283
|
state.write(" }");
|
|
12435
12284
|
}
|
|
@@ -12447,8 +12296,7 @@ var GENERATOR = {
|
|
|
12447
12296
|
state.write(" with { ");
|
|
12448
12297
|
for (let i = 0; i < node.attributes.length; i++) {
|
|
12449
12298
|
this.ImportAttribute(node.attributes[i], state);
|
|
12450
|
-
if (i < node.attributes.length - 1)
|
|
12451
|
-
state.write(", ");
|
|
12299
|
+
if (i < node.attributes.length - 1) state.write(", ");
|
|
12452
12300
|
}
|
|
12453
12301
|
state.write(" }");
|
|
12454
12302
|
}
|
|
@@ -13012,8 +12860,7 @@ function isIdentifierChar(code, astral) {
|
|
|
13012
12860
|
}
|
|
13013
12861
|
__name(isIdentifierChar, "isIdentifierChar");
|
|
13014
12862
|
var TokenType = /* @__PURE__ */ __name(function TokenType2(label, conf) {
|
|
13015
|
-
if (conf === void 0)
|
|
13016
|
-
conf = {};
|
|
12863
|
+
if (conf === void 0) conf = {};
|
|
13017
12864
|
this.label = label;
|
|
13018
12865
|
this.keyword = conf.keyword;
|
|
13019
12866
|
this.beforeExpr = !!conf.beforeExpr;
|
|
@@ -13033,8 +12880,7 @@ var beforeExpr = { beforeExpr: true };
|
|
|
13033
12880
|
var startsExpr = { startsExpr: true };
|
|
13034
12881
|
var keywords = {};
|
|
13035
12882
|
function kw(name, options) {
|
|
13036
|
-
if (options === void 0)
|
|
13037
|
-
options = {};
|
|
12883
|
+
if (options === void 0) options = {};
|
|
13038
12884
|
options.keyword = name;
|
|
13039
12885
|
return keywords[name] = new TokenType(name, options);
|
|
13040
12886
|
}
|
|
@@ -13140,8 +12986,7 @@ function isNewLine(code) {
|
|
|
13140
12986
|
}
|
|
13141
12987
|
__name(isNewLine, "isNewLine");
|
|
13142
12988
|
function nextLineBreak(code, from, end) {
|
|
13143
|
-
if (end === void 0)
|
|
13144
|
-
end = code.length;
|
|
12989
|
+
if (end === void 0) end = code.length;
|
|
13145
12990
|
for (var i = from; i < end; i++) {
|
|
13146
12991
|
var next = code.charCodeAt(i);
|
|
13147
12992
|
if (isNewLine(next)) {
|
|
@@ -13474,8 +13319,7 @@ prototypeAccessors.inClassStaticBlock.get = function() {
|
|
|
13474
13319
|
};
|
|
13475
13320
|
Parser.extend = /* @__PURE__ */ __name(function extend() {
|
|
13476
13321
|
var plugins = [], len = arguments.length;
|
|
13477
|
-
while (len--)
|
|
13478
|
-
plugins[len] = arguments[len];
|
|
13322
|
+
while (len--) plugins[len] = arguments[len];
|
|
13479
13323
|
var cls = this;
|
|
13480
13324
|
for (var i = 0; i < plugins.length; i++) {
|
|
13481
13325
|
cls = plugins[i](cls);
|
|
@@ -13793,6 +13637,11 @@ pp$8.parseStatement = function(context, topLevel, exports) {
|
|
|
13793
13637
|
}
|
|
13794
13638
|
}
|
|
13795
13639
|
return starttype === types$1._import ? this.parseImport(node) : this.parseExport(node, exports);
|
|
13640
|
+
// If the statement does not start with a statement keyword or a
|
|
13641
|
+
// brace, it's an ExpressionStatement or LabeledStatement. We
|
|
13642
|
+
// simply start parsing an expression, and afterwards, if the
|
|
13643
|
+
// next token is a colon and the expression was a simple
|
|
13644
|
+
// Identifier node, we switch to interpreting it as a label.
|
|
13796
13645
|
default:
|
|
13797
13646
|
if (this.isAsyncFunction()) {
|
|
13798
13647
|
if (context) {
|
|
@@ -14119,10 +13968,8 @@ pp$8.parseExpressionStatement = function(node, expr) {
|
|
|
14119
13968
|
return this.finishNode(node, "ExpressionStatement");
|
|
14120
13969
|
};
|
|
14121
13970
|
pp$8.parseBlock = function(createNewLexicalScope, node, exitStrict) {
|
|
14122
|
-
if (createNewLexicalScope === void 0)
|
|
14123
|
-
|
|
14124
|
-
if (node === void 0)
|
|
14125
|
-
node = this.startNode();
|
|
13971
|
+
if (createNewLexicalScope === void 0) createNewLexicalScope = true;
|
|
13972
|
+
if (node === void 0) node = this.startNode();
|
|
14126
13973
|
node.body = [];
|
|
14127
13974
|
this.expect(types$1.braceL);
|
|
14128
13975
|
if (createNewLexicalScope) {
|
|
@@ -14921,8 +14768,7 @@ pp$7.parseMaybeDefault = function(startPos, startLoc, left) {
|
|
|
14921
14768
|
return this.finishNode(node, "AssignmentPattern");
|
|
14922
14769
|
};
|
|
14923
14770
|
pp$7.checkLValSimple = function(expr, bindingType, checkClashes) {
|
|
14924
|
-
if (bindingType === void 0)
|
|
14925
|
-
bindingType = BIND_NONE;
|
|
14771
|
+
if (bindingType === void 0) bindingType = BIND_NONE;
|
|
14926
14772
|
var isBind = bindingType !== BIND_NONE;
|
|
14927
14773
|
switch (expr.type) {
|
|
14928
14774
|
case "Identifier":
|
|
@@ -14962,8 +14808,7 @@ pp$7.checkLValSimple = function(expr, bindingType, checkClashes) {
|
|
|
14962
14808
|
}
|
|
14963
14809
|
};
|
|
14964
14810
|
pp$7.checkLValPattern = function(expr, bindingType, checkClashes) {
|
|
14965
|
-
if (bindingType === void 0)
|
|
14966
|
-
bindingType = BIND_NONE;
|
|
14811
|
+
if (bindingType === void 0) bindingType = BIND_NONE;
|
|
14967
14812
|
switch (expr.type) {
|
|
14968
14813
|
case "ObjectPattern":
|
|
14969
14814
|
for (var i = 0, list = expr.properties; i < list.length; i += 1) {
|
|
@@ -14984,8 +14829,7 @@ pp$7.checkLValPattern = function(expr, bindingType, checkClashes) {
|
|
|
14984
14829
|
}
|
|
14985
14830
|
};
|
|
14986
14831
|
pp$7.checkLValInnerPattern = function(expr, bindingType, checkClashes) {
|
|
14987
|
-
if (bindingType === void 0)
|
|
14988
|
-
bindingType = BIND_NONE;
|
|
14832
|
+
if (bindingType === void 0) bindingType = BIND_NONE;
|
|
14989
14833
|
switch (expr.type) {
|
|
14990
14834
|
case "Property":
|
|
14991
14835
|
this.checkLValInnerPattern(expr.value, bindingType, checkClashes);
|
|
@@ -15812,11 +15656,9 @@ pp$5.parseTemplateElement = function(ref2) {
|
|
|
15812
15656
|
return this.finishNode(elem, "TemplateElement");
|
|
15813
15657
|
};
|
|
15814
15658
|
pp$5.parseTemplate = function(ref2) {
|
|
15815
|
-
if (ref2 === void 0)
|
|
15816
|
-
ref2 = {};
|
|
15659
|
+
if (ref2 === void 0) ref2 = {};
|
|
15817
15660
|
var isTagged = ref2.isTagged;
|
|
15818
|
-
if (isTagged === void 0)
|
|
15819
|
-
isTagged = false;
|
|
15661
|
+
if (isTagged === void 0) isTagged = false;
|
|
15820
15662
|
var node = this.startNode();
|
|
15821
15663
|
this.next();
|
|
15822
15664
|
node.expressions = [];
|
|
@@ -16457,8 +16299,7 @@ RegExpValidationState.prototype.raise = /* @__PURE__ */ __name(function raise(me
|
|
|
16457
16299
|
this.parser.raiseRecoverable(this.start, "Invalid regular expression: /" + this.source + "/: " + message);
|
|
16458
16300
|
}, "raise");
|
|
16459
16301
|
RegExpValidationState.prototype.at = /* @__PURE__ */ __name(function at(i, forceU) {
|
|
16460
|
-
if (forceU === void 0)
|
|
16461
|
-
forceU = false;
|
|
16302
|
+
if (forceU === void 0) forceU = false;
|
|
16462
16303
|
var s = this.source;
|
|
16463
16304
|
var l = s.length;
|
|
16464
16305
|
if (i >= l) {
|
|
@@ -16472,8 +16313,7 @@ RegExpValidationState.prototype.at = /* @__PURE__ */ __name(function at(i, force
|
|
|
16472
16313
|
return next >= 56320 && next <= 57343 ? (c << 10) + next - 56613888 : c;
|
|
16473
16314
|
}, "at");
|
|
16474
16315
|
RegExpValidationState.prototype.nextIndex = /* @__PURE__ */ __name(function nextIndex(i, forceU) {
|
|
16475
|
-
if (forceU === void 0)
|
|
16476
|
-
forceU = false;
|
|
16316
|
+
if (forceU === void 0) forceU = false;
|
|
16477
16317
|
var s = this.source;
|
|
16478
16318
|
var l = s.length;
|
|
16479
16319
|
if (i >= l) {
|
|
@@ -16486,23 +16326,19 @@ RegExpValidationState.prototype.nextIndex = /* @__PURE__ */ __name(function next
|
|
|
16486
16326
|
return i + 2;
|
|
16487
16327
|
}, "nextIndex");
|
|
16488
16328
|
RegExpValidationState.prototype.current = /* @__PURE__ */ __name(function current(forceU) {
|
|
16489
|
-
if (forceU === void 0)
|
|
16490
|
-
forceU = false;
|
|
16329
|
+
if (forceU === void 0) forceU = false;
|
|
16491
16330
|
return this.at(this.pos, forceU);
|
|
16492
16331
|
}, "current");
|
|
16493
16332
|
RegExpValidationState.prototype.lookahead = /* @__PURE__ */ __name(function lookahead(forceU) {
|
|
16494
|
-
if (forceU === void 0)
|
|
16495
|
-
forceU = false;
|
|
16333
|
+
if (forceU === void 0) forceU = false;
|
|
16496
16334
|
return this.at(this.nextIndex(this.pos, forceU), forceU);
|
|
16497
16335
|
}, "lookahead");
|
|
16498
16336
|
RegExpValidationState.prototype.advance = /* @__PURE__ */ __name(function advance(forceU) {
|
|
16499
|
-
if (forceU === void 0)
|
|
16500
|
-
forceU = false;
|
|
16337
|
+
if (forceU === void 0) forceU = false;
|
|
16501
16338
|
this.pos = this.nextIndex(this.pos, forceU);
|
|
16502
16339
|
}, "advance");
|
|
16503
16340
|
RegExpValidationState.prototype.eat = /* @__PURE__ */ __name(function eat(ch, forceU) {
|
|
16504
|
-
if (forceU === void 0)
|
|
16505
|
-
forceU = false;
|
|
16341
|
+
if (forceU === void 0) forceU = false;
|
|
16506
16342
|
if (this.current(forceU) === ch) {
|
|
16507
16343
|
this.advance(forceU);
|
|
16508
16344
|
return true;
|
|
@@ -16510,8 +16346,7 @@ RegExpValidationState.prototype.eat = /* @__PURE__ */ __name(function eat(ch, fo
|
|
|
16510
16346
|
return false;
|
|
16511
16347
|
}, "eat");
|
|
16512
16348
|
RegExpValidationState.prototype.eatChars = /* @__PURE__ */ __name(function eatChars(chs, forceU) {
|
|
16513
|
-
if (forceU === void 0)
|
|
16514
|
-
forceU = false;
|
|
16349
|
+
if (forceU === void 0) forceU = false;
|
|
16515
16350
|
var pos = this.pos;
|
|
16516
16351
|
for (var i = 0, list = chs; i < list.length; i += 1) {
|
|
16517
16352
|
var ch = list[i];
|
|
@@ -16710,8 +16545,7 @@ pp$1.regexp_eatAssertion = function(state) {
|
|
|
16710
16545
|
return false;
|
|
16711
16546
|
};
|
|
16712
16547
|
pp$1.regexp_eatQuantifier = function(state, noError) {
|
|
16713
|
-
if (noError === void 0)
|
|
16714
|
-
noError = false;
|
|
16548
|
+
if (noError === void 0) noError = false;
|
|
16715
16549
|
if (this.regexp_eatQuantifierPrefix(state, noError)) {
|
|
16716
16550
|
state.eat(
|
|
16717
16551
|
63
|
|
@@ -17118,8 +16952,7 @@ function isControlLetter(ch) {
|
|
|
17118
16952
|
}
|
|
17119
16953
|
__name(isControlLetter, "isControlLetter");
|
|
17120
16954
|
pp$1.regexp_eatRegExpUnicodeEscapeSequence = function(state, forceU) {
|
|
17121
|
-
if (forceU === void 0)
|
|
17122
|
-
forceU = false;
|
|
16955
|
+
if (forceU === void 0) forceU = false;
|
|
17123
16956
|
var start = state.pos;
|
|
17124
16957
|
var switchU = forceU || state.switchU;
|
|
17125
16958
|
if (state.eat(
|
|
@@ -17408,8 +17241,7 @@ pp$1.regexp_eatClassEscape = function(state) {
|
|
|
17408
17241
|
};
|
|
17409
17242
|
pp$1.regexp_classSetExpression = function(state) {
|
|
17410
17243
|
var result = CharSetOk, subResult;
|
|
17411
|
-
if (this.regexp_eatClassSetRange(state))
|
|
17412
|
-
;
|
|
17244
|
+
if (this.regexp_eatClassSetRange(state)) ;
|
|
17413
17245
|
else if (subResult = this.regexp_eatClassSetOperand(state)) {
|
|
17414
17246
|
if (subResult === CharSetString) {
|
|
17415
17247
|
result = CharSetString;
|
|
@@ -17752,13 +17584,13 @@ if (typeof Symbol !== "undefined") {
|
|
|
17752
17584
|
pp[Symbol.iterator] = function() {
|
|
17753
17585
|
var this$1$1 = this;
|
|
17754
17586
|
return {
|
|
17755
|
-
next: function() {
|
|
17587
|
+
next: /* @__PURE__ */ __name(function() {
|
|
17756
17588
|
var token = this$1$1.getToken();
|
|
17757
17589
|
return {
|
|
17758
17590
|
done: token.type === types$1.eof,
|
|
17759
17591
|
value: token
|
|
17760
17592
|
};
|
|
17761
|
-
}
|
|
17593
|
+
}, "next")
|
|
17762
17594
|
};
|
|
17763
17595
|
};
|
|
17764
17596
|
}
|
|
@@ -17837,47 +17669,46 @@ pp.skipLineComment = function(startSkip) {
|
|
|
17837
17669
|
}
|
|
17838
17670
|
};
|
|
17839
17671
|
pp.skipSpace = function() {
|
|
17840
|
-
loop:
|
|
17841
|
-
|
|
17842
|
-
|
|
17843
|
-
|
|
17844
|
-
|
|
17845
|
-
|
|
17846
|
-
|
|
17847
|
-
|
|
17848
|
-
|
|
17849
|
-
if (this.input.charCodeAt(this.pos + 1) === 10) {
|
|
17850
|
-
++this.pos;
|
|
17851
|
-
}
|
|
17852
|
-
case 10:
|
|
17853
|
-
case 8232:
|
|
17854
|
-
case 8233:
|
|
17672
|
+
loop: while (this.pos < this.input.length) {
|
|
17673
|
+
var ch = this.input.charCodeAt(this.pos);
|
|
17674
|
+
switch (ch) {
|
|
17675
|
+
case 32:
|
|
17676
|
+
case 160:
|
|
17677
|
+
++this.pos;
|
|
17678
|
+
break;
|
|
17679
|
+
case 13:
|
|
17680
|
+
if (this.input.charCodeAt(this.pos + 1) === 10) {
|
|
17855
17681
|
++this.pos;
|
|
17856
|
-
|
|
17857
|
-
|
|
17858
|
-
|
|
17859
|
-
|
|
17860
|
-
|
|
17861
|
-
|
|
17862
|
-
|
|
17863
|
-
|
|
17864
|
-
|
|
17865
|
-
|
|
17866
|
-
|
|
17867
|
-
|
|
17868
|
-
|
|
17869
|
-
|
|
17870
|
-
|
|
17871
|
-
|
|
17872
|
-
|
|
17873
|
-
|
|
17874
|
-
|
|
17875
|
-
++this.pos;
|
|
17876
|
-
} else {
|
|
17682
|
+
}
|
|
17683
|
+
case 10:
|
|
17684
|
+
case 8232:
|
|
17685
|
+
case 8233:
|
|
17686
|
+
++this.pos;
|
|
17687
|
+
if (this.options.locations) {
|
|
17688
|
+
++this.curLine;
|
|
17689
|
+
this.lineStart = this.pos;
|
|
17690
|
+
}
|
|
17691
|
+
break;
|
|
17692
|
+
case 47:
|
|
17693
|
+
switch (this.input.charCodeAt(this.pos + 1)) {
|
|
17694
|
+
case 42:
|
|
17695
|
+
this.skipBlockComment();
|
|
17696
|
+
break;
|
|
17697
|
+
case 47:
|
|
17698
|
+
this.skipLineComment(2);
|
|
17699
|
+
break;
|
|
17700
|
+
default:
|
|
17877
17701
|
break loop;
|
|
17878
|
-
|
|
17879
|
-
|
|
17702
|
+
}
|
|
17703
|
+
break;
|
|
17704
|
+
default:
|
|
17705
|
+
if (ch > 8 && ch < 14 || ch >= 5760 && nonASCIIwhitespace.test(String.fromCharCode(ch))) {
|
|
17706
|
+
++this.pos;
|
|
17707
|
+
} else {
|
|
17708
|
+
break loop;
|
|
17709
|
+
}
|
|
17880
17710
|
}
|
|
17711
|
+
}
|
|
17881
17712
|
};
|
|
17882
17713
|
pp.finishToken = function(type, val) {
|
|
17883
17714
|
this.end = this.pos;
|
|
@@ -18033,8 +17864,11 @@ pp.readToken_numberSign = function() {
|
|
|
18033
17864
|
};
|
|
18034
17865
|
pp.getTokenFromCode = function(code) {
|
|
18035
17866
|
switch (code) {
|
|
17867
|
+
// The interpretation of a dot depends on whether it is followed
|
|
17868
|
+
// by a digit or another two dots.
|
|
18036
17869
|
case 46:
|
|
18037
17870
|
return this.readToken_dot();
|
|
17871
|
+
// Punctuation tokens.
|
|
18038
17872
|
case 40:
|
|
18039
17873
|
++this.pos;
|
|
18040
17874
|
return this.finishToken(types$1.parenL);
|
|
@@ -18081,6 +17915,8 @@ pp.getTokenFromCode = function(code) {
|
|
|
18081
17915
|
return this.readRadixNumber(2);
|
|
18082
17916
|
}
|
|
18083
17917
|
}
|
|
17918
|
+
// Anything else beginning with a digit is an integer, octal
|
|
17919
|
+
// number, or float.
|
|
18084
17920
|
case 49:
|
|
18085
17921
|
case 50:
|
|
18086
17922
|
case 51:
|
|
@@ -18091,9 +17927,14 @@ pp.getTokenFromCode = function(code) {
|
|
|
18091
17927
|
case 56:
|
|
18092
17928
|
case 57:
|
|
18093
17929
|
return this.readNumber(false);
|
|
17930
|
+
// Quotes produce strings.
|
|
18094
17931
|
case 34:
|
|
18095
17932
|
case 39:
|
|
18096
17933
|
return this.readString(code);
|
|
17934
|
+
// Operators are parsed inline in tiny state machines. '=' (61) is
|
|
17935
|
+
// often referred to. `finishOp` simply skips the amount of
|
|
17936
|
+
// characters it is given as second argument, and returns a token
|
|
17937
|
+
// of the type given by its first argument.
|
|
18097
17938
|
case 47:
|
|
18098
17939
|
return this.readToken_slash();
|
|
18099
17940
|
case 37:
|
|
@@ -18411,12 +18252,14 @@ pp.readInvalidTemplateToken = function() {
|
|
|
18411
18252
|
if (this.input[this.pos + 1] !== "{") {
|
|
18412
18253
|
break;
|
|
18413
18254
|
}
|
|
18255
|
+
// fall through
|
|
18414
18256
|
case "`":
|
|
18415
18257
|
return this.finishToken(types$1.invalidTemplate, this.input.slice(this.start, this.pos));
|
|
18416
18258
|
case "\r":
|
|
18417
18259
|
if (this.input[this.pos + 1] === "\n") {
|
|
18418
18260
|
++this.pos;
|
|
18419
18261
|
}
|
|
18262
|
+
// fall through
|
|
18420
18263
|
case "\n":
|
|
18421
18264
|
case "\u2028":
|
|
18422
18265
|
case "\u2029":
|
|
@@ -18433,24 +18276,33 @@ pp.readEscapedChar = function(inTemplate) {
|
|
|
18433
18276
|
switch (ch) {
|
|
18434
18277
|
case 110:
|
|
18435
18278
|
return "\n";
|
|
18279
|
+
// 'n' -> '\n'
|
|
18436
18280
|
case 114:
|
|
18437
18281
|
return "\r";
|
|
18282
|
+
// 'r' -> '\r'
|
|
18438
18283
|
case 120:
|
|
18439
18284
|
return String.fromCharCode(this.readHexChar(2));
|
|
18285
|
+
// 'x'
|
|
18440
18286
|
case 117:
|
|
18441
18287
|
return codePointToString(this.readCodePoint());
|
|
18288
|
+
// 'u'
|
|
18442
18289
|
case 116:
|
|
18443
18290
|
return " ";
|
|
18291
|
+
// 't' -> '\t'
|
|
18444
18292
|
case 98:
|
|
18445
18293
|
return "\b";
|
|
18294
|
+
// 'b' -> '\b'
|
|
18446
18295
|
case 118:
|
|
18447
18296
|
return "\v";
|
|
18297
|
+
// 'v' -> '\u000b'
|
|
18448
18298
|
case 102:
|
|
18449
18299
|
return "\f";
|
|
18300
|
+
// 'f' -> '\f'
|
|
18450
18301
|
case 13:
|
|
18451
18302
|
if (this.input.charCodeAt(this.pos) === 10) {
|
|
18452
18303
|
++this.pos;
|
|
18453
18304
|
}
|
|
18305
|
+
// '\r\n'
|
|
18454
18306
|
case 10:
|
|
18455
18307
|
if (this.options.locations) {
|
|
18456
18308
|
this.lineStart = this.pos;
|
|
@@ -18574,14 +18426,13 @@ __name(parse5, "parse");
|
|
|
18574
18426
|
|
|
18575
18427
|
// ../../node_modules/.pnpm/edge-parser@9.0.4/node_modules/edge-parser/build/index.js
|
|
18576
18428
|
var import_js_stringify = __toESM(require_js_stringify(), 1);
|
|
18577
|
-
import { EOL as EOL22 } from "
|
|
18429
|
+
import { EOL as EOL22 } from "os";
|
|
18578
18430
|
var __defProp4 = Object.defineProperty;
|
|
18579
18431
|
var __export3 = /* @__PURE__ */ __name((target, all) => {
|
|
18580
|
-
for (var name in all)
|
|
18581
|
-
|
|
18582
|
-
|
|
18583
|
-
|
|
18584
|
-
});
|
|
18432
|
+
for (var name in all) __defProp4(target, name, {
|
|
18433
|
+
get: all[name],
|
|
18434
|
+
enumerable: true
|
|
18435
|
+
});
|
|
18585
18436
|
}, "__export");
|
|
18586
18437
|
var Stack = class {
|
|
18587
18438
|
static {
|
|
@@ -18663,7 +18514,7 @@ function generateAST(jsArg, lexerLoc, filename) {
|
|
|
18663
18514
|
locations: true,
|
|
18664
18515
|
ecmaVersion: 2020,
|
|
18665
18516
|
allowAwaitOutsideFunction: true,
|
|
18666
|
-
onToken: (token) => patchLoc(token.loc, lexerLoc)
|
|
18517
|
+
onToken: /* @__PURE__ */ __name((token) => patchLoc(token.loc, lexerLoc), "onToken")
|
|
18667
18518
|
};
|
|
18668
18519
|
try {
|
|
18669
18520
|
const ast = parse5(jsArg, acornOptions);
|
|
@@ -18681,29 +18532,29 @@ function generateAST(jsArg, lexerLoc, filename) {
|
|
|
18681
18532
|
__name(generateAST, "generateAST");
|
|
18682
18533
|
var expressions_exports = {};
|
|
18683
18534
|
__export3(expressions_exports, {
|
|
18684
|
-
ArrayExpression: () => array_expression_default,
|
|
18685
|
-
ArrowFunctionExpression: () => arrow_function_expression_default,
|
|
18686
|
-
AssignmentExpression: () => assignment_expression_default,
|
|
18687
|
-
AwaitExpression: () => await_expression_default,
|
|
18688
|
-
BinaryExpression: () => binary_expression_default,
|
|
18689
|
-
BlockStatement: () => block_statement_default,
|
|
18690
|
-
CallExpression: () => call_expression_default,
|
|
18691
|
-
ChainExpression: () => chain_expression_default,
|
|
18692
|
-
ConditionalExpression: () => conditional_expression_default,
|
|
18693
|
-
ExpressionStatement: () => expression_statement_default,
|
|
18694
|
-
FunctionDeclaration: () => function_declaration_default,
|
|
18695
|
-
Identifier: () => identifier_default,
|
|
18696
|
-
Literal: () => literal_default,
|
|
18697
|
-
LogicalExpression: () => logical_expression_default,
|
|
18698
|
-
MemberExpression: () => member_expression_default,
|
|
18699
|
-
NewExpression: () => new_expression_default,
|
|
18700
|
-
ObjectExpression: () => object_expression_default,
|
|
18701
|
-
ReturnStatement: () => return_statement_default,
|
|
18702
|
-
SequenceExpression: () => sequence_expression_default,
|
|
18703
|
-
SpreadElement: () => spread_element_default,
|
|
18704
|
-
TemplateLiteral: () => template_literal_default,
|
|
18705
|
-
ThisExpression: () => this_expression_default,
|
|
18706
|
-
UnaryExpression: () => unary_expression_default
|
|
18535
|
+
ArrayExpression: /* @__PURE__ */ __name(() => array_expression_default, "ArrayExpression"),
|
|
18536
|
+
ArrowFunctionExpression: /* @__PURE__ */ __name(() => arrow_function_expression_default, "ArrowFunctionExpression"),
|
|
18537
|
+
AssignmentExpression: /* @__PURE__ */ __name(() => assignment_expression_default, "AssignmentExpression"),
|
|
18538
|
+
AwaitExpression: /* @__PURE__ */ __name(() => await_expression_default, "AwaitExpression"),
|
|
18539
|
+
BinaryExpression: /* @__PURE__ */ __name(() => binary_expression_default, "BinaryExpression"),
|
|
18540
|
+
BlockStatement: /* @__PURE__ */ __name(() => block_statement_default, "BlockStatement"),
|
|
18541
|
+
CallExpression: /* @__PURE__ */ __name(() => call_expression_default, "CallExpression"),
|
|
18542
|
+
ChainExpression: /* @__PURE__ */ __name(() => chain_expression_default, "ChainExpression"),
|
|
18543
|
+
ConditionalExpression: /* @__PURE__ */ __name(() => conditional_expression_default, "ConditionalExpression"),
|
|
18544
|
+
ExpressionStatement: /* @__PURE__ */ __name(() => expression_statement_default, "ExpressionStatement"),
|
|
18545
|
+
FunctionDeclaration: /* @__PURE__ */ __name(() => function_declaration_default, "FunctionDeclaration"),
|
|
18546
|
+
Identifier: /* @__PURE__ */ __name(() => identifier_default, "Identifier"),
|
|
18547
|
+
Literal: /* @__PURE__ */ __name(() => literal_default, "Literal"),
|
|
18548
|
+
LogicalExpression: /* @__PURE__ */ __name(() => logical_expression_default, "LogicalExpression"),
|
|
18549
|
+
MemberExpression: /* @__PURE__ */ __name(() => member_expression_default, "MemberExpression"),
|
|
18550
|
+
NewExpression: /* @__PURE__ */ __name(() => new_expression_default, "NewExpression"),
|
|
18551
|
+
ObjectExpression: /* @__PURE__ */ __name(() => object_expression_default, "ObjectExpression"),
|
|
18552
|
+
ReturnStatement: /* @__PURE__ */ __name(() => return_statement_default, "ReturnStatement"),
|
|
18553
|
+
SequenceExpression: /* @__PURE__ */ __name(() => sequence_expression_default, "SequenceExpression"),
|
|
18554
|
+
SpreadElement: /* @__PURE__ */ __name(() => spread_element_default, "SpreadElement"),
|
|
18555
|
+
TemplateLiteral: /* @__PURE__ */ __name(() => template_literal_default, "TemplateLiteral"),
|
|
18556
|
+
ThisExpression: /* @__PURE__ */ __name(() => this_expression_default, "ThisExpression"),
|
|
18557
|
+
UnaryExpression: /* @__PURE__ */ __name(() => unary_expression_default, "UnaryExpression")
|
|
18707
18558
|
});
|
|
18708
18559
|
function makeMemberAccessor(propertyName, args) {
|
|
18709
18560
|
return {
|
|
@@ -19607,24 +19458,24 @@ var Loader = class {
|
|
|
19607
19458
|
};
|
|
19608
19459
|
var main_exports = {};
|
|
19609
19460
|
__export2(main_exports, {
|
|
19610
|
-
assign: () => assignTag,
|
|
19611
|
-
component: () => componentTag,
|
|
19612
|
-
debugger: () => debuggerTag,
|
|
19613
|
-
each: () => eachTag,
|
|
19614
|
-
else: () => elseTag,
|
|
19615
|
-
elseif: () => elseIfTag,
|
|
19616
|
-
eval: () => evalTag,
|
|
19617
|
-
if: () => ifTag,
|
|
19618
|
-
include: () => includeTag,
|
|
19619
|
-
includeIf: () => includeIfTag,
|
|
19620
|
-
inject: () => injectTag,
|
|
19621
|
-
let: () => letTag,
|
|
19622
|
-
newError: () => newErrorTag,
|
|
19623
|
-
pushOnceTo: () => pushOnceToTag,
|
|
19624
|
-
pushTo: () => pushToTag,
|
|
19625
|
-
slot: () => slotTag,
|
|
19626
|
-
stack: () => stackTag,
|
|
19627
|
-
unless: () => unlessTag
|
|
19461
|
+
assign: /* @__PURE__ */ __name(() => assignTag, "assign"),
|
|
19462
|
+
component: /* @__PURE__ */ __name(() => componentTag, "component"),
|
|
19463
|
+
debugger: /* @__PURE__ */ __name(() => debuggerTag, "debugger"),
|
|
19464
|
+
each: /* @__PURE__ */ __name(() => eachTag, "each"),
|
|
19465
|
+
else: /* @__PURE__ */ __name(() => elseTag, "else"),
|
|
19466
|
+
elseif: /* @__PURE__ */ __name(() => elseIfTag, "elseif"),
|
|
19467
|
+
eval: /* @__PURE__ */ __name(() => evalTag, "eval"),
|
|
19468
|
+
if: /* @__PURE__ */ __name(() => ifTag, "if"),
|
|
19469
|
+
include: /* @__PURE__ */ __name(() => includeTag, "include"),
|
|
19470
|
+
includeIf: /* @__PURE__ */ __name(() => includeIfTag, "includeIf"),
|
|
19471
|
+
inject: /* @__PURE__ */ __name(() => injectTag, "inject"),
|
|
19472
|
+
let: /* @__PURE__ */ __name(() => letTag, "let"),
|
|
19473
|
+
newError: /* @__PURE__ */ __name(() => newErrorTag, "newError"),
|
|
19474
|
+
pushOnceTo: /* @__PURE__ */ __name(() => pushOnceToTag, "pushOnceTo"),
|
|
19475
|
+
pushTo: /* @__PURE__ */ __name(() => pushToTag, "pushTo"),
|
|
19476
|
+
slot: /* @__PURE__ */ __name(() => slotTag, "slot"),
|
|
19477
|
+
stack: /* @__PURE__ */ __name(() => stackTag, "stack"),
|
|
19478
|
+
unless: /* @__PURE__ */ __name(() => unlessTag, "unless")
|
|
19628
19479
|
});
|
|
19629
19480
|
var ifTag = {
|
|
19630
19481
|
block: true,
|
|
@@ -20406,10 +20257,10 @@ var Compiler = class {
|
|
|
20406
20257
|
"escape"
|
|
20407
20258
|
],
|
|
20408
20259
|
localVariables: this.#inlineVariables,
|
|
20409
|
-
onTag: (tag) => this.#processor.executeTag({
|
|
20260
|
+
onTag: /* @__PURE__ */ __name((tag) => this.#processor.executeTag({
|
|
20410
20261
|
tag,
|
|
20411
20262
|
path: templatePath
|
|
20412
|
-
})
|
|
20263
|
+
}), "onTag")
|
|
20413
20264
|
});
|
|
20414
20265
|
if (localVariables) {
|
|
20415
20266
|
localVariables.forEach((localVariable) => parser.stack.defineVariable(localVariable));
|
|
@@ -20522,38 +20373,38 @@ var edgeGlobals = {
|
|
|
20522
20373
|
/**
|
|
20523
20374
|
* Converts new lines to break
|
|
20524
20375
|
*/
|
|
20525
|
-
nl2br: (value) => {
|
|
20376
|
+
nl2br: /* @__PURE__ */ __name((value) => {
|
|
20526
20377
|
if (!value) {
|
|
20527
20378
|
return;
|
|
20528
20379
|
}
|
|
20529
20380
|
return String(value).replace(/([^>\r\n]?)(\r\n|\n\r|\r|\n)/g, "$1<br>");
|
|
20530
|
-
},
|
|
20381
|
+
}, "nl2br"),
|
|
20531
20382
|
/**
|
|
20532
20383
|
* Inspect state
|
|
20533
20384
|
*/
|
|
20534
|
-
inspect: (value) => {
|
|
20385
|
+
inspect: /* @__PURE__ */ __name((value) => {
|
|
20535
20386
|
return htmlSafe(import_inspect.default.string.html(value));
|
|
20536
|
-
},
|
|
20387
|
+
}, "inspect"),
|
|
20537
20388
|
/**
|
|
20538
20389
|
* Truncate a sentence
|
|
20539
20390
|
*/
|
|
20540
|
-
truncate: (value, length = 20, options) => {
|
|
20391
|
+
truncate: /* @__PURE__ */ __name((value, length = 20, options) => {
|
|
20541
20392
|
options = options || {};
|
|
20542
20393
|
return main_default2.truncate(value, length, {
|
|
20543
20394
|
completeWords: options.completeWords !== void 0 ? options.completeWords : !options.strict,
|
|
20544
20395
|
suffix: options.suffix
|
|
20545
20396
|
});
|
|
20546
|
-
},
|
|
20397
|
+
}, "truncate"),
|
|
20547
20398
|
/**
|
|
20548
20399
|
* Generate an excerpt
|
|
20549
20400
|
*/
|
|
20550
|
-
excerpt: (value, length = 20, options) => {
|
|
20401
|
+
excerpt: /* @__PURE__ */ __name((value, length = 20, options) => {
|
|
20551
20402
|
options = options || {};
|
|
20552
20403
|
return main_default2.excerpt(value, length, {
|
|
20553
20404
|
completeWords: options.completeWords !== void 0 ? options.completeWords : !options.strict,
|
|
20554
20405
|
suffix: options.suffix
|
|
20555
20406
|
});
|
|
20556
|
-
},
|
|
20407
|
+
}, "excerpt"),
|
|
20557
20408
|
/**
|
|
20558
20409
|
* Helpers related to HTML
|
|
20559
20410
|
*/
|
|
@@ -20561,9 +20412,9 @@ var edgeGlobals = {
|
|
|
20561
20412
|
escape,
|
|
20562
20413
|
safe: htmlSafe,
|
|
20563
20414
|
classNames: import_classnames2.default,
|
|
20564
|
-
attrs: (values) => {
|
|
20415
|
+
attrs: /* @__PURE__ */ __name((values) => {
|
|
20565
20416
|
return htmlSafe(stringifyAttributes2(values));
|
|
20566
|
-
}
|
|
20417
|
+
}, "attrs")
|
|
20567
20418
|
},
|
|
20568
20419
|
/**
|
|
20569
20420
|
* Helpers related to JavaScript
|
|
@@ -21094,8 +20945,7 @@ var Container = class {
|
|
|
21094
20945
|
* @returns
|
|
21095
20946
|
*/
|
|
21096
20947
|
static hasAnyDecorator(target) {
|
|
21097
|
-
if (Reflect.getMetadataKeys(target).length > 0)
|
|
21098
|
-
return true;
|
|
20948
|
+
if (Reflect.getMetadataKeys(target).length > 0) return true;
|
|
21099
20949
|
const paramLength = target.length;
|
|
21100
20950
|
for (let i = 0; i < paramLength; i++) {
|
|
21101
20951
|
if (Reflect.getMetadataKeys(target, `__param_${i}`).length > 0) {
|
|
@@ -21192,8 +21042,7 @@ var Application = class _Application extends Container {
|
|
|
21192
21042
|
async registerConfiguredProviders() {
|
|
21193
21043
|
const providers = await this.getAllProviders();
|
|
21194
21044
|
for (const ProviderClass of providers) {
|
|
21195
|
-
if (!ProviderClass)
|
|
21196
|
-
continue;
|
|
21045
|
+
if (!ProviderClass) continue;
|
|
21197
21046
|
const provider = new ProviderClass(this);
|
|
21198
21047
|
await this.register(provider);
|
|
21199
21048
|
}
|
|
@@ -21218,7 +21067,7 @@ var Application = class _Application extends Container {
|
|
|
21218
21067
|
*/
|
|
21219
21068
|
async getConfiguredProviders() {
|
|
21220
21069
|
return [
|
|
21221
|
-
(await Promise.resolve().then(() => require_dist())).
|
|
21070
|
+
(await Promise.resolve().then(() => require_dist())).CoreServiceProvider,
|
|
21222
21071
|
(await Promise.resolve().then(() => require_dist())).ViewServiceProvider
|
|
21223
21072
|
];
|
|
21224
21073
|
}
|
|
@@ -21238,8 +21087,7 @@ var Application = class _Application extends Container {
|
|
|
21238
21087
|
});
|
|
21239
21088
|
providers.forEach((Provider) => {
|
|
21240
21089
|
const order = Provider.order;
|
|
21241
|
-
if (!order)
|
|
21242
|
-
return;
|
|
21090
|
+
if (!order) return;
|
|
21243
21091
|
const [direction, target] = order.split(":");
|
|
21244
21092
|
const targetPriority = priorityMap.get(target) ?? 0;
|
|
21245
21093
|
if (direction === "before") {
|
|
@@ -21272,8 +21120,7 @@ var Application = class _Application extends Container {
|
|
|
21272
21120
|
* Boot all providers after registration
|
|
21273
21121
|
*/
|
|
21274
21122
|
async boot() {
|
|
21275
|
-
if (this.booted)
|
|
21276
|
-
return;
|
|
21123
|
+
if (this.booted) return;
|
|
21277
21124
|
for (const provider of this.providers) {
|
|
21278
21125
|
if (provider.boot) {
|
|
21279
21126
|
await provider.boot();
|
|
@@ -21340,36 +21187,22 @@ var Controller = class {
|
|
|
21340
21187
|
constructor(app) {
|
|
21341
21188
|
this.app = app;
|
|
21342
21189
|
}
|
|
21343
|
-
show(_ctx) {
|
|
21190
|
+
show(..._ctx) {
|
|
21344
21191
|
return;
|
|
21345
21192
|
}
|
|
21346
|
-
index(_ctx) {
|
|
21193
|
+
index(..._ctx) {
|
|
21347
21194
|
return;
|
|
21348
21195
|
}
|
|
21349
|
-
store(_ctx) {
|
|
21196
|
+
store(..._ctx) {
|
|
21350
21197
|
return;
|
|
21351
21198
|
}
|
|
21352
|
-
update(_ctx) {
|
|
21199
|
+
update(..._ctx) {
|
|
21353
21200
|
return;
|
|
21354
21201
|
}
|
|
21355
|
-
destroy(_ctx) {
|
|
21202
|
+
destroy(..._ctx) {
|
|
21356
21203
|
return;
|
|
21357
21204
|
}
|
|
21358
21205
|
};
|
|
21359
|
-
var ServiceProvider = class {
|
|
21360
|
-
static {
|
|
21361
|
-
__name(this, "ServiceProvider");
|
|
21362
|
-
}
|
|
21363
|
-
static {
|
|
21364
|
-
__name2(this, "ServiceProvider");
|
|
21365
|
-
}
|
|
21366
|
-
static order;
|
|
21367
|
-
static priority = 0;
|
|
21368
|
-
app;
|
|
21369
|
-
constructor(app) {
|
|
21370
|
-
this.app = app;
|
|
21371
|
-
}
|
|
21372
|
-
};
|
|
21373
21206
|
function Inject(...dependencies) {
|
|
21374
21207
|
return function(target) {
|
|
21375
21208
|
target.__inject__ = dependencies;
|
|
@@ -21378,7 +21211,15 @@ function Inject(...dependencies) {
|
|
|
21378
21211
|
__name(Inject, "Inject");
|
|
21379
21212
|
__name2(Inject, "Inject");
|
|
21380
21213
|
function Injectable() {
|
|
21381
|
-
return (
|
|
21214
|
+
return (...args) => {
|
|
21215
|
+
if (args.length === 1) {
|
|
21216
|
+
void args[0];
|
|
21217
|
+
}
|
|
21218
|
+
if (args.length === 3) {
|
|
21219
|
+
void args[0];
|
|
21220
|
+
void args[1];
|
|
21221
|
+
void args[2];
|
|
21222
|
+
}
|
|
21382
21223
|
};
|
|
21383
21224
|
}
|
|
21384
21225
|
__name(Injectable, "Injectable");
|
|
@@ -21430,8 +21271,7 @@ var Kernel = class {
|
|
|
21430
21271
|
async runMiddleware(context, next) {
|
|
21431
21272
|
let index = -1;
|
|
21432
21273
|
const runner = /* @__PURE__ */ __name2(async (i) => {
|
|
21433
|
-
if (i <= index)
|
|
21434
|
-
throw new Error("next() called multiple times");
|
|
21274
|
+
if (i <= index) throw new Error("next() called multiple times");
|
|
21435
21275
|
index = i;
|
|
21436
21276
|
const middleware = this.middleware[i];
|
|
21437
21277
|
if (middleware) {
|
|
@@ -21452,12 +21292,45 @@ var Kernel = class {
|
|
|
21452
21292
|
return typeof value === "object" && value !== null && (value.constructor === Object || value.constructor === Array);
|
|
21453
21293
|
}
|
|
21454
21294
|
};
|
|
21455
|
-
var
|
|
21295
|
+
var Registerer = class {
|
|
21456
21296
|
static {
|
|
21457
|
-
__name(this, "
|
|
21297
|
+
__name(this, "Registerer");
|
|
21458
21298
|
}
|
|
21459
21299
|
static {
|
|
21460
|
-
__name2(this, "
|
|
21300
|
+
__name2(this, "Registerer");
|
|
21301
|
+
}
|
|
21302
|
+
static register() {
|
|
21303
|
+
globalThis.dd = dd;
|
|
21304
|
+
globalThis.dump = dump;
|
|
21305
|
+
}
|
|
21306
|
+
};
|
|
21307
|
+
var ServiceProvider = class {
|
|
21308
|
+
static {
|
|
21309
|
+
__name(this, "ServiceProvider");
|
|
21310
|
+
}
|
|
21311
|
+
static {
|
|
21312
|
+
__name2(this, "ServiceProvider");
|
|
21313
|
+
}
|
|
21314
|
+
static order;
|
|
21315
|
+
static priority = 0;
|
|
21316
|
+
app;
|
|
21317
|
+
constructor(app) {
|
|
21318
|
+
this.app = app;
|
|
21319
|
+
}
|
|
21320
|
+
/**
|
|
21321
|
+
* Register bindings to the container.
|
|
21322
|
+
* Runs before boot().
|
|
21323
|
+
*/
|
|
21324
|
+
register() {
|
|
21325
|
+
Registerer.register();
|
|
21326
|
+
}
|
|
21327
|
+
};
|
|
21328
|
+
var CoreServiceProvider = class extends ServiceProvider {
|
|
21329
|
+
static {
|
|
21330
|
+
__name(this, "CoreServiceProvider");
|
|
21331
|
+
}
|
|
21332
|
+
static {
|
|
21333
|
+
__name2(this, "CoreServiceProvider");
|
|
21461
21334
|
}
|
|
21462
21335
|
static priority = 999;
|
|
21463
21336
|
register() {
|
|
@@ -21489,11 +21362,12 @@ export {
|
|
|
21489
21362
|
Container,
|
|
21490
21363
|
Application,
|
|
21491
21364
|
Controller,
|
|
21492
|
-
ServiceProvider,
|
|
21493
21365
|
Inject,
|
|
21494
21366
|
Injectable,
|
|
21495
21367
|
Kernel,
|
|
21496
|
-
|
|
21368
|
+
Registerer,
|
|
21369
|
+
ServiceProvider,
|
|
21370
|
+
CoreServiceProvider,
|
|
21497
21371
|
ViewServiceProvider
|
|
21498
21372
|
};
|
|
21499
21373
|
/*! Bundled license information:
|
|
@@ -21539,4 +21413,4 @@ bytes/index.js:
|
|
|
21539
21413
|
* MIT Licensed
|
|
21540
21414
|
*)
|
|
21541
21415
|
*/
|
|
21542
|
-
//# sourceMappingURL=chunk-
|
|
21416
|
+
//# sourceMappingURL=chunk-Q3X4OHHO.js.map
|