@tmagic/utils 1.8.0-manmanyu.9 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/dom.js +2 -2
- package/dist/es/index.js +27 -7
- package/dist/tmagic-utils.umd.cjs +302 -148
- package/package.json +4 -4
- package/src/index.ts +30 -4
- package/types/index.d.ts +2294 -67
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("@tmagic/schema")) : typeof define === "function" && define.amd ? define(["exports", "@tmagic/schema"], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global.TMagicUtils = {}, global._tmagic_schema));
|
|
3
3
|
})(this, function(exports, _tmagic_schema) {
|
|
4
4
|
Object.defineProperty(exports, globalThis.Symbol.toStringTag, { value: "Module" });
|
|
5
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
5
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js
|
|
6
6
|
/** Detect free variable `global` from Node.js. */
|
|
7
7
|
var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
|
|
8
8
|
//#endregion
|
|
9
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
9
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_root.js
|
|
10
10
|
/** Detect free variable `self`. */
|
|
11
11
|
var freeSelf = typeof self == "object" && self && self.Object === Object && self;
|
|
12
12
|
/** Used as a reference to the global object. */
|
|
13
13
|
var root = freeGlobal || freeSelf || Function("return this")();
|
|
14
14
|
//#endregion
|
|
15
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
15
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js
|
|
16
16
|
/** Built-in value references. */
|
|
17
17
|
var Symbol = root.Symbol;
|
|
18
18
|
//#endregion
|
|
19
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
19
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js
|
|
20
20
|
/** Used for built-in method references. */
|
|
21
21
|
var objectProto$3 = Object.prototype;
|
|
22
22
|
/** Used to check objects for own properties. */
|
|
@@ -43,12 +43,14 @@
|
|
|
43
43
|
var unmasked = true;
|
|
44
44
|
} catch (e) {}
|
|
45
45
|
var result = nativeObjectToString$1.call(value);
|
|
46
|
-
if (unmasked)
|
|
47
|
-
|
|
46
|
+
if (unmasked) {
|
|
47
|
+
if (isOwn) value[symToStringTag$1] = tag;
|
|
48
|
+
else delete value[symToStringTag$1];
|
|
49
|
+
}
|
|
48
50
|
return result;
|
|
49
51
|
}
|
|
50
52
|
//#endregion
|
|
51
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
53
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js
|
|
52
54
|
/**
|
|
53
55
|
* Used to resolve the
|
|
54
56
|
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
@@ -66,9 +68,10 @@
|
|
|
66
68
|
return nativeObjectToString.call(value);
|
|
67
69
|
}
|
|
68
70
|
//#endregion
|
|
69
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
71
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js
|
|
70
72
|
/** `Object#toString` result references. */
|
|
71
|
-
var nullTag = "[object Null]"
|
|
73
|
+
var nullTag = "[object Null]";
|
|
74
|
+
var undefinedTag = "[object Undefined]";
|
|
72
75
|
/** Built-in value references. */
|
|
73
76
|
var symToStringTag = Symbol ? Symbol.toStringTag : void 0;
|
|
74
77
|
/**
|
|
@@ -83,7 +86,7 @@
|
|
|
83
86
|
return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
|
|
84
87
|
}
|
|
85
88
|
//#endregion
|
|
86
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
89
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js
|
|
87
90
|
/**
|
|
88
91
|
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
|
89
92
|
* and has a `typeof` result of "object".
|
|
@@ -112,7 +115,7 @@
|
|
|
112
115
|
return value != null && typeof value == "object";
|
|
113
116
|
}
|
|
114
117
|
//#endregion
|
|
115
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
118
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js
|
|
116
119
|
/** `Object#toString` result references. */
|
|
117
120
|
var symbolTag$2 = "[object Symbol]";
|
|
118
121
|
/**
|
|
@@ -136,7 +139,7 @@
|
|
|
136
139
|
return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag$2;
|
|
137
140
|
}
|
|
138
141
|
//#endregion
|
|
139
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
142
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.js
|
|
140
143
|
/**
|
|
141
144
|
* A specialized version of `_.map` for arrays without support for iteratee
|
|
142
145
|
* shorthands.
|
|
@@ -152,7 +155,7 @@
|
|
|
152
155
|
return result;
|
|
153
156
|
}
|
|
154
157
|
//#endregion
|
|
155
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
158
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArray.js
|
|
156
159
|
/**
|
|
157
160
|
* Checks if `value` is classified as an `Array` object.
|
|
158
161
|
*
|
|
@@ -178,11 +181,12 @@
|
|
|
178
181
|
*/
|
|
179
182
|
var isArray = Array.isArray;
|
|
180
183
|
//#endregion
|
|
181
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
184
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseToString.js
|
|
182
185
|
/** Used as references for various `Number` constants. */
|
|
183
|
-
var INFINITY$1 =
|
|
186
|
+
var INFINITY$1 = 1 / 0;
|
|
184
187
|
/** Used to convert symbols to primitives and strings. */
|
|
185
|
-
var symbolProto$1 = Symbol ? Symbol.prototype : void 0
|
|
188
|
+
var symbolProto$1 = Symbol ? Symbol.prototype : void 0;
|
|
189
|
+
var symbolToString = symbolProto$1 ? symbolProto$1.toString : void 0;
|
|
186
190
|
/**
|
|
187
191
|
* The base implementation of `_.toString` which doesn't convert nullish
|
|
188
192
|
* values to empty strings.
|
|
@@ -199,7 +203,7 @@
|
|
|
199
203
|
return result == "0" && 1 / value == -INFINITY$1 ? "-0" : result;
|
|
200
204
|
}
|
|
201
205
|
//#endregion
|
|
202
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
206
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObject.js
|
|
203
207
|
/**
|
|
204
208
|
* Checks if `value` is the
|
|
205
209
|
* [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
|
|
@@ -230,9 +234,12 @@
|
|
|
230
234
|
return value != null && (type == "object" || type == "function");
|
|
231
235
|
}
|
|
232
236
|
//#endregion
|
|
233
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
237
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js
|
|
234
238
|
/** `Object#toString` result references. */
|
|
235
|
-
var asyncTag = "[object AsyncFunction]"
|
|
239
|
+
var asyncTag = "[object AsyncFunction]";
|
|
240
|
+
var funcTag$2 = "[object Function]";
|
|
241
|
+
var genTag$1 = "[object GeneratorFunction]";
|
|
242
|
+
var proxyTag = "[object Proxy]";
|
|
236
243
|
/**
|
|
237
244
|
* Checks if `value` is classified as a `Function` object.
|
|
238
245
|
*
|
|
@@ -256,11 +263,11 @@
|
|
|
256
263
|
return tag == funcTag$2 || tag == genTag$1 || tag == asyncTag || tag == proxyTag;
|
|
257
264
|
}
|
|
258
265
|
//#endregion
|
|
259
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
266
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js
|
|
260
267
|
/** Used to detect overreaching core-js shims. */
|
|
261
268
|
var coreJsData = root["__core-js_shared__"];
|
|
262
269
|
//#endregion
|
|
263
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
270
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js
|
|
264
271
|
/** Used to detect methods masquerading as native. */
|
|
265
272
|
var maskSrcKey = function() {
|
|
266
273
|
var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
|
|
@@ -277,7 +284,7 @@
|
|
|
277
284
|
return !!maskSrcKey && maskSrcKey in func;
|
|
278
285
|
}
|
|
279
286
|
//#endregion
|
|
280
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
287
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js
|
|
281
288
|
/** Used to resolve the decompiled source of functions. */
|
|
282
289
|
var funcToString$1 = Function.prototype.toString;
|
|
283
290
|
/**
|
|
@@ -299,7 +306,7 @@
|
|
|
299
306
|
return "";
|
|
300
307
|
}
|
|
301
308
|
//#endregion
|
|
302
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
309
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js
|
|
303
310
|
/**
|
|
304
311
|
* Used to match `RegExp`
|
|
305
312
|
* [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
|
|
@@ -308,7 +315,8 @@
|
|
|
308
315
|
/** Used to detect host constructors (Safari). */
|
|
309
316
|
var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
|
310
317
|
/** Used for built-in method references. */
|
|
311
|
-
var funcProto = Function.prototype
|
|
318
|
+
var funcProto = Function.prototype;
|
|
319
|
+
var objectProto$2 = Object.prototype;
|
|
312
320
|
/** Used to resolve the decompiled source of functions. */
|
|
313
321
|
var funcToString = funcProto.toString;
|
|
314
322
|
/** Used to check objects for own properties. */
|
|
@@ -328,7 +336,7 @@
|
|
|
328
336
|
return (isFunction(value) ? reIsNative : reIsHostCtor).test(toSource(value));
|
|
329
337
|
}
|
|
330
338
|
//#endregion
|
|
331
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
339
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js
|
|
332
340
|
/**
|
|
333
341
|
* Gets the value at `key` of `object`.
|
|
334
342
|
*
|
|
@@ -341,7 +349,7 @@
|
|
|
341
349
|
return object == null ? void 0 : object[key];
|
|
342
350
|
}
|
|
343
351
|
//#endregion
|
|
344
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
352
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js
|
|
345
353
|
/**
|
|
346
354
|
* Gets the native function at `key` of `object`.
|
|
347
355
|
*
|
|
@@ -355,10 +363,10 @@
|
|
|
355
363
|
return baseIsNative(value) ? value : void 0;
|
|
356
364
|
}
|
|
357
365
|
//#endregion
|
|
358
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
366
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js
|
|
359
367
|
var WeakMap = getNative(root, "WeakMap");
|
|
360
368
|
//#endregion
|
|
361
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
369
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js
|
|
362
370
|
/** Built-in value references. */
|
|
363
371
|
var objectCreate = Object.create;
|
|
364
372
|
/**
|
|
@@ -381,7 +389,7 @@
|
|
|
381
389
|
};
|
|
382
390
|
}();
|
|
383
391
|
//#endregion
|
|
384
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
392
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js
|
|
385
393
|
/**
|
|
386
394
|
* Copies the values of `source` to `array`.
|
|
387
395
|
*
|
|
@@ -397,7 +405,7 @@
|
|
|
397
405
|
return array;
|
|
398
406
|
}
|
|
399
407
|
//#endregion
|
|
400
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
408
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js
|
|
401
409
|
var defineProperty = function() {
|
|
402
410
|
try {
|
|
403
411
|
var func = getNative(Object, "defineProperty");
|
|
@@ -406,7 +414,7 @@
|
|
|
406
414
|
} catch (e) {}
|
|
407
415
|
}();
|
|
408
416
|
//#endregion
|
|
409
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
417
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js
|
|
410
418
|
/**
|
|
411
419
|
* A specialized version of `_.forEach` for arrays without support for
|
|
412
420
|
* iteratee shorthands.
|
|
@@ -422,7 +430,7 @@
|
|
|
422
430
|
return array;
|
|
423
431
|
}
|
|
424
432
|
//#endregion
|
|
425
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
433
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js
|
|
426
434
|
/** Used as references for various `Number` constants. */
|
|
427
435
|
var MAX_SAFE_INTEGER$1 = 9007199254740991;
|
|
428
436
|
/** Used to detect unsigned integer values. */
|
|
@@ -441,7 +449,7 @@
|
|
|
441
449
|
return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && value > -1 && value % 1 == 0 && value < length;
|
|
442
450
|
}
|
|
443
451
|
//#endregion
|
|
444
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
452
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js
|
|
445
453
|
/**
|
|
446
454
|
* The base implementation of `assignValue` and `assignMergeValue` without
|
|
447
455
|
* value checks.
|
|
@@ -461,7 +469,7 @@
|
|
|
461
469
|
else object[key] = value;
|
|
462
470
|
}
|
|
463
471
|
//#endregion
|
|
464
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
472
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/eq.js
|
|
465
473
|
/**
|
|
466
474
|
* Performs a
|
|
467
475
|
* [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
|
@@ -498,7 +506,7 @@
|
|
|
498
506
|
return value === other || value !== value && other !== other;
|
|
499
507
|
}
|
|
500
508
|
//#endregion
|
|
501
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
509
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js
|
|
502
510
|
/** Used to check objects for own properties. */
|
|
503
511
|
var hasOwnProperty$7 = Object.prototype.hasOwnProperty;
|
|
504
512
|
/**
|
|
@@ -516,7 +524,7 @@
|
|
|
516
524
|
if (!(hasOwnProperty$7.call(object, key) && eq(objValue, value)) || value === void 0 && !(key in object)) baseAssignValue(object, key, value);
|
|
517
525
|
}
|
|
518
526
|
//#endregion
|
|
519
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
527
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js
|
|
520
528
|
/**
|
|
521
529
|
* Copies properties of `source` to `object`.
|
|
522
530
|
*
|
|
@@ -541,7 +549,7 @@
|
|
|
541
549
|
return object;
|
|
542
550
|
}
|
|
543
551
|
//#endregion
|
|
544
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
552
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isLength.js
|
|
545
553
|
/** Used as references for various `Number` constants. */
|
|
546
554
|
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
547
555
|
/**
|
|
@@ -574,7 +582,7 @@
|
|
|
574
582
|
return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
|
575
583
|
}
|
|
576
584
|
//#endregion
|
|
577
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
585
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js
|
|
578
586
|
/**
|
|
579
587
|
* Checks if `value` is array-like. A value is considered array-like if it's
|
|
580
588
|
* not a function and has a `value.length` that's an integer greater than or
|
|
@@ -604,7 +612,7 @@
|
|
|
604
612
|
return value != null && isLength(value.length) && !isFunction(value);
|
|
605
613
|
}
|
|
606
614
|
//#endregion
|
|
607
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
615
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js
|
|
608
616
|
/** Used for built-in method references. */
|
|
609
617
|
var objectProto$1 = Object.prototype;
|
|
610
618
|
/**
|
|
@@ -619,7 +627,7 @@
|
|
|
619
627
|
return value === (typeof Ctor == "function" && Ctor.prototype || objectProto$1);
|
|
620
628
|
}
|
|
621
629
|
//#endregion
|
|
622
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
630
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js
|
|
623
631
|
/**
|
|
624
632
|
* The base implementation of `_.times` without support for iteratee shorthands
|
|
625
633
|
* or max array length checks.
|
|
@@ -635,7 +643,7 @@
|
|
|
635
643
|
return result;
|
|
636
644
|
}
|
|
637
645
|
//#endregion
|
|
638
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
646
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js
|
|
639
647
|
/** `Object#toString` result references. */
|
|
640
648
|
var argsTag$2 = "[object Arguments]";
|
|
641
649
|
/**
|
|
@@ -649,7 +657,7 @@
|
|
|
649
657
|
return isObjectLike(value) && baseGetTag(value) == argsTag$2;
|
|
650
658
|
}
|
|
651
659
|
//#endregion
|
|
652
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
660
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js
|
|
653
661
|
/** Used for built-in method references. */
|
|
654
662
|
var objectProto = Object.prototype;
|
|
655
663
|
/** Used to check objects for own properties. */
|
|
@@ -680,7 +688,7 @@
|
|
|
680
688
|
return isObjectLike(value) && hasOwnProperty$6.call(value, "callee") && !propertyIsEnumerable$1.call(value, "callee");
|
|
681
689
|
};
|
|
682
690
|
//#endregion
|
|
683
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
691
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js
|
|
684
692
|
/**
|
|
685
693
|
* This method returns `false`.
|
|
686
694
|
*
|
|
@@ -698,7 +706,7 @@
|
|
|
698
706
|
return false;
|
|
699
707
|
}
|
|
700
708
|
//#endregion
|
|
701
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
709
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js
|
|
702
710
|
/** Detect free variable `exports`. */
|
|
703
711
|
var freeExports$2 = typeof exports == "object" && exports && !exports.nodeType && exports;
|
|
704
712
|
/** Detect free variable `module`. */
|
|
@@ -724,10 +732,32 @@
|
|
|
724
732
|
*/
|
|
725
733
|
var isBuffer = (Buffer$1 ? Buffer$1.isBuffer : void 0) || stubFalse;
|
|
726
734
|
//#endregion
|
|
727
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
735
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js
|
|
728
736
|
/** `Object#toString` result references. */
|
|
729
|
-
var argsTag$1 = "[object Arguments]"
|
|
730
|
-
var
|
|
737
|
+
var argsTag$1 = "[object Arguments]";
|
|
738
|
+
var arrayTag$1 = "[object Array]";
|
|
739
|
+
var boolTag$2 = "[object Boolean]";
|
|
740
|
+
var dateTag$2 = "[object Date]";
|
|
741
|
+
var errorTag$1 = "[object Error]";
|
|
742
|
+
var funcTag$1 = "[object Function]";
|
|
743
|
+
var mapTag$4 = "[object Map]";
|
|
744
|
+
var numberTag$2 = "[object Number]";
|
|
745
|
+
var objectTag$2 = "[object Object]";
|
|
746
|
+
var regexpTag$2 = "[object RegExp]";
|
|
747
|
+
var setTag$4 = "[object Set]";
|
|
748
|
+
var stringTag$2 = "[object String]";
|
|
749
|
+
var weakMapTag$2 = "[object WeakMap]";
|
|
750
|
+
var arrayBufferTag$2 = "[object ArrayBuffer]";
|
|
751
|
+
var dataViewTag$3 = "[object DataView]";
|
|
752
|
+
var float32Tag$2 = "[object Float32Array]";
|
|
753
|
+
var float64Tag$2 = "[object Float64Array]";
|
|
754
|
+
var int8Tag$2 = "[object Int8Array]";
|
|
755
|
+
var int16Tag$2 = "[object Int16Array]";
|
|
756
|
+
var int32Tag$2 = "[object Int32Array]";
|
|
757
|
+
var uint8Tag$2 = "[object Uint8Array]";
|
|
758
|
+
var uint8ClampedTag$2 = "[object Uint8ClampedArray]";
|
|
759
|
+
var uint16Tag$2 = "[object Uint16Array]";
|
|
760
|
+
var uint32Tag$2 = "[object Uint32Array]";
|
|
731
761
|
/** Used to identify `toStringTag` values of typed arrays. */
|
|
732
762
|
var typedArrayTags = {};
|
|
733
763
|
typedArrayTags[float32Tag$2] = typedArrayTags[float64Tag$2] = typedArrayTags[int8Tag$2] = typedArrayTags[int16Tag$2] = typedArrayTags[int32Tag$2] = typedArrayTags[uint8Tag$2] = typedArrayTags[uint8ClampedTag$2] = typedArrayTags[uint16Tag$2] = typedArrayTags[uint32Tag$2] = true;
|
|
@@ -743,7 +773,7 @@
|
|
|
743
773
|
return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
|
|
744
774
|
}
|
|
745
775
|
//#endregion
|
|
746
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
776
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js
|
|
747
777
|
/**
|
|
748
778
|
* The base implementation of `_.unary` without support for storing metadata.
|
|
749
779
|
*
|
|
@@ -757,7 +787,7 @@
|
|
|
757
787
|
};
|
|
758
788
|
}
|
|
759
789
|
//#endregion
|
|
760
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
790
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js
|
|
761
791
|
/** Detect free variable `exports`. */
|
|
762
792
|
var freeExports$1 = typeof exports == "object" && exports && !exports.nodeType && exports;
|
|
763
793
|
/** Detect free variable `module`. */
|
|
@@ -773,7 +803,7 @@
|
|
|
773
803
|
} catch (e) {}
|
|
774
804
|
}();
|
|
775
805
|
//#endregion
|
|
776
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
806
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js
|
|
777
807
|
var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
|
|
778
808
|
/**
|
|
779
809
|
* Checks if `value` is classified as a typed array.
|
|
@@ -794,7 +824,7 @@
|
|
|
794
824
|
*/
|
|
795
825
|
var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
|
|
796
826
|
//#endregion
|
|
797
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
827
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js
|
|
798
828
|
/** Used to check objects for own properties. */
|
|
799
829
|
var hasOwnProperty$5 = Object.prototype.hasOwnProperty;
|
|
800
830
|
/**
|
|
@@ -811,7 +841,7 @@
|
|
|
811
841
|
return result;
|
|
812
842
|
}
|
|
813
843
|
//#endregion
|
|
814
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
844
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js
|
|
815
845
|
/**
|
|
816
846
|
* Creates a unary function that invokes `func` with its argument transformed.
|
|
817
847
|
*
|
|
@@ -826,10 +856,10 @@
|
|
|
826
856
|
};
|
|
827
857
|
}
|
|
828
858
|
//#endregion
|
|
829
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
859
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js
|
|
830
860
|
var nativeKeys = overArg(Object.keys, Object);
|
|
831
861
|
//#endregion
|
|
832
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
862
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js
|
|
833
863
|
/** Used to check objects for own properties. */
|
|
834
864
|
var hasOwnProperty$4 = Object.prototype.hasOwnProperty;
|
|
835
865
|
/**
|
|
@@ -846,7 +876,7 @@
|
|
|
846
876
|
return result;
|
|
847
877
|
}
|
|
848
878
|
//#endregion
|
|
849
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
879
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keys.js
|
|
850
880
|
/**
|
|
851
881
|
* Creates an array of the own enumerable property names of `object`.
|
|
852
882
|
*
|
|
@@ -879,7 +909,7 @@
|
|
|
879
909
|
return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
|
|
880
910
|
}
|
|
881
911
|
//#endregion
|
|
882
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
912
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js
|
|
883
913
|
/**
|
|
884
914
|
* This function is like
|
|
885
915
|
* [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
|
|
@@ -895,7 +925,7 @@
|
|
|
895
925
|
return result;
|
|
896
926
|
}
|
|
897
927
|
//#endregion
|
|
898
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
928
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js
|
|
899
929
|
/** Used to check objects for own properties. */
|
|
900
930
|
var hasOwnProperty$3 = Object.prototype.hasOwnProperty;
|
|
901
931
|
/**
|
|
@@ -912,7 +942,7 @@
|
|
|
912
942
|
return result;
|
|
913
943
|
}
|
|
914
944
|
//#endregion
|
|
915
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
945
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js
|
|
916
946
|
/**
|
|
917
947
|
* Creates an array of the own and inherited enumerable property names of `object`.
|
|
918
948
|
*
|
|
@@ -940,9 +970,10 @@
|
|
|
940
970
|
return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
|
|
941
971
|
}
|
|
942
972
|
//#endregion
|
|
943
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
973
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKey.js
|
|
944
974
|
/** Used to match property names within property paths. */
|
|
945
|
-
var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]
|
|
975
|
+
var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/;
|
|
976
|
+
var reIsPlainProp = /^\w*$/;
|
|
946
977
|
/**
|
|
947
978
|
* Checks if `value` is a property name and not a property path.
|
|
948
979
|
*
|
|
@@ -958,10 +989,10 @@
|
|
|
958
989
|
return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || object != null && value in Object(object);
|
|
959
990
|
}
|
|
960
991
|
//#endregion
|
|
961
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
992
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js
|
|
962
993
|
var nativeCreate = getNative(Object, "create");
|
|
963
994
|
//#endregion
|
|
964
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
995
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js
|
|
965
996
|
/**
|
|
966
997
|
* Removes all key-value entries from the hash.
|
|
967
998
|
*
|
|
@@ -974,7 +1005,7 @@
|
|
|
974
1005
|
this.size = 0;
|
|
975
1006
|
}
|
|
976
1007
|
//#endregion
|
|
977
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1008
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js
|
|
978
1009
|
/**
|
|
979
1010
|
* Removes `key` and its value from the hash.
|
|
980
1011
|
*
|
|
@@ -991,7 +1022,7 @@
|
|
|
991
1022
|
return result;
|
|
992
1023
|
}
|
|
993
1024
|
//#endregion
|
|
994
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1025
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js
|
|
995
1026
|
/** Used to stand-in for `undefined` hash values. */
|
|
996
1027
|
var HASH_UNDEFINED$1 = "__lodash_hash_undefined__";
|
|
997
1028
|
/** Used to check objects for own properties. */
|
|
@@ -1014,7 +1045,7 @@
|
|
|
1014
1045
|
return hasOwnProperty$2.call(data, key) ? data[key] : void 0;
|
|
1015
1046
|
}
|
|
1016
1047
|
//#endregion
|
|
1017
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1048
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js
|
|
1018
1049
|
/** Used to check objects for own properties. */
|
|
1019
1050
|
var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
|
|
1020
1051
|
/**
|
|
@@ -1031,7 +1062,7 @@
|
|
|
1031
1062
|
return nativeCreate ? data[key] !== void 0 : hasOwnProperty$1.call(data, key);
|
|
1032
1063
|
}
|
|
1033
1064
|
//#endregion
|
|
1034
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1065
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js
|
|
1035
1066
|
/** Used to stand-in for `undefined` hash values. */
|
|
1036
1067
|
var HASH_UNDEFINED = "__lodash_hash_undefined__";
|
|
1037
1068
|
/**
|
|
@@ -1051,7 +1082,7 @@
|
|
|
1051
1082
|
return this;
|
|
1052
1083
|
}
|
|
1053
1084
|
//#endregion
|
|
1054
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1085
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js
|
|
1055
1086
|
/**
|
|
1056
1087
|
* Creates a hash object.
|
|
1057
1088
|
*
|
|
@@ -1073,7 +1104,7 @@
|
|
|
1073
1104
|
Hash.prototype.has = hashHas;
|
|
1074
1105
|
Hash.prototype.set = hashSet;
|
|
1075
1106
|
//#endregion
|
|
1076
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1107
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js
|
|
1077
1108
|
/**
|
|
1078
1109
|
* Removes all key-value entries from the list cache.
|
|
1079
1110
|
*
|
|
@@ -1086,7 +1117,7 @@
|
|
|
1086
1117
|
this.size = 0;
|
|
1087
1118
|
}
|
|
1088
1119
|
//#endregion
|
|
1089
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1120
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js
|
|
1090
1121
|
/**
|
|
1091
1122
|
* Gets the index at which the `key` is found in `array` of key-value pairs.
|
|
1092
1123
|
*
|
|
@@ -1101,7 +1132,7 @@
|
|
|
1101
1132
|
return -1;
|
|
1102
1133
|
}
|
|
1103
1134
|
//#endregion
|
|
1104
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1135
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js
|
|
1105
1136
|
/** Built-in value references. */
|
|
1106
1137
|
var splice = Array.prototype.splice;
|
|
1107
1138
|
/**
|
|
@@ -1122,7 +1153,7 @@
|
|
|
1122
1153
|
return true;
|
|
1123
1154
|
}
|
|
1124
1155
|
//#endregion
|
|
1125
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1156
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js
|
|
1126
1157
|
/**
|
|
1127
1158
|
* Gets the list cache value for `key`.
|
|
1128
1159
|
*
|
|
@@ -1137,7 +1168,7 @@
|
|
|
1137
1168
|
return index < 0 ? void 0 : data[index][1];
|
|
1138
1169
|
}
|
|
1139
1170
|
//#endregion
|
|
1140
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1171
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js
|
|
1141
1172
|
/**
|
|
1142
1173
|
* Checks if a list cache value for `key` exists.
|
|
1143
1174
|
*
|
|
@@ -1151,7 +1182,7 @@
|
|
|
1151
1182
|
return assocIndexOf(this.__data__, key) > -1;
|
|
1152
1183
|
}
|
|
1153
1184
|
//#endregion
|
|
1154
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1185
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js
|
|
1155
1186
|
/**
|
|
1156
1187
|
* Sets the list cache `key` to `value`.
|
|
1157
1188
|
*
|
|
@@ -1171,7 +1202,7 @@
|
|
|
1171
1202
|
return this;
|
|
1172
1203
|
}
|
|
1173
1204
|
//#endregion
|
|
1174
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1205
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js
|
|
1175
1206
|
/**
|
|
1176
1207
|
* Creates an list cache object.
|
|
1177
1208
|
*
|
|
@@ -1193,10 +1224,10 @@
|
|
|
1193
1224
|
ListCache.prototype.has = listCacheHas;
|
|
1194
1225
|
ListCache.prototype.set = listCacheSet;
|
|
1195
1226
|
//#endregion
|
|
1196
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1227
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Map.js
|
|
1197
1228
|
var Map$1 = getNative(root, "Map");
|
|
1198
1229
|
//#endregion
|
|
1199
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1230
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js
|
|
1200
1231
|
/**
|
|
1201
1232
|
* Removes all key-value entries from the map.
|
|
1202
1233
|
*
|
|
@@ -1213,7 +1244,7 @@
|
|
|
1213
1244
|
};
|
|
1214
1245
|
}
|
|
1215
1246
|
//#endregion
|
|
1216
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1247
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js
|
|
1217
1248
|
/**
|
|
1218
1249
|
* Checks if `value` is suitable for use as unique object key.
|
|
1219
1250
|
*
|
|
@@ -1226,7 +1257,7 @@
|
|
|
1226
1257
|
return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
|
|
1227
1258
|
}
|
|
1228
1259
|
//#endregion
|
|
1229
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1260
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js
|
|
1230
1261
|
/**
|
|
1231
1262
|
* Gets the data for `map`.
|
|
1232
1263
|
*
|
|
@@ -1240,7 +1271,7 @@
|
|
|
1240
1271
|
return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
|
|
1241
1272
|
}
|
|
1242
1273
|
//#endregion
|
|
1243
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1274
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js
|
|
1244
1275
|
/**
|
|
1245
1276
|
* Removes `key` and its value from the map.
|
|
1246
1277
|
*
|
|
@@ -1256,7 +1287,7 @@
|
|
|
1256
1287
|
return result;
|
|
1257
1288
|
}
|
|
1258
1289
|
//#endregion
|
|
1259
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1290
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js
|
|
1260
1291
|
/**
|
|
1261
1292
|
* Gets the map value for `key`.
|
|
1262
1293
|
*
|
|
@@ -1270,7 +1301,7 @@
|
|
|
1270
1301
|
return getMapData(this, key).get(key);
|
|
1271
1302
|
}
|
|
1272
1303
|
//#endregion
|
|
1273
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1304
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js
|
|
1274
1305
|
/**
|
|
1275
1306
|
* Checks if a map value for `key` exists.
|
|
1276
1307
|
*
|
|
@@ -1284,7 +1315,7 @@
|
|
|
1284
1315
|
return getMapData(this, key).has(key);
|
|
1285
1316
|
}
|
|
1286
1317
|
//#endregion
|
|
1287
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1318
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js
|
|
1288
1319
|
/**
|
|
1289
1320
|
* Sets the map `key` to `value`.
|
|
1290
1321
|
*
|
|
@@ -1302,7 +1333,7 @@
|
|
|
1302
1333
|
return this;
|
|
1303
1334
|
}
|
|
1304
1335
|
//#endregion
|
|
1305
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1336
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js
|
|
1306
1337
|
/**
|
|
1307
1338
|
* Creates a map cache object to store key-value pairs.
|
|
1308
1339
|
*
|
|
@@ -1324,7 +1355,7 @@
|
|
|
1324
1355
|
MapCache.prototype.has = mapCacheHas;
|
|
1325
1356
|
MapCache.prototype.set = mapCacheSet;
|
|
1326
1357
|
//#endregion
|
|
1327
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1358
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/memoize.js
|
|
1328
1359
|
/** Error message constants. */
|
|
1329
1360
|
var FUNC_ERROR_TEXT = "Expected a function";
|
|
1330
1361
|
/**
|
|
@@ -1385,7 +1416,7 @@
|
|
|
1385
1416
|
}
|
|
1386
1417
|
memoize.Cache = MapCache;
|
|
1387
1418
|
//#endregion
|
|
1388
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1419
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_memoizeCapped.js
|
|
1389
1420
|
/** Used as the maximum memoize cache size. */
|
|
1390
1421
|
var MAX_MEMOIZE_SIZE = 500;
|
|
1391
1422
|
/**
|
|
@@ -1405,7 +1436,7 @@
|
|
|
1405
1436
|
return result;
|
|
1406
1437
|
}
|
|
1407
1438
|
//#endregion
|
|
1408
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1439
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stringToPath.js
|
|
1409
1440
|
/** Used to match property names within property paths. */
|
|
1410
1441
|
var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
|
|
1411
1442
|
/** Used to match backslashes in property paths. */
|
|
@@ -1426,7 +1457,7 @@
|
|
|
1426
1457
|
return result;
|
|
1427
1458
|
});
|
|
1428
1459
|
//#endregion
|
|
1429
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1460
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toString.js
|
|
1430
1461
|
/**
|
|
1431
1462
|
* Converts `value` to a string. An empty string is returned for `null`
|
|
1432
1463
|
* and `undefined` values. The sign of `-0` is preserved.
|
|
@@ -1452,7 +1483,7 @@
|
|
|
1452
1483
|
return value == null ? "" : baseToString(value);
|
|
1453
1484
|
}
|
|
1454
1485
|
//#endregion
|
|
1455
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1486
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_castPath.js
|
|
1456
1487
|
/**
|
|
1457
1488
|
* Casts `value` to a path array if it's not one.
|
|
1458
1489
|
*
|
|
@@ -1466,9 +1497,9 @@
|
|
|
1466
1497
|
return isKey(value, object) ? [value] : stringToPath(toString(value));
|
|
1467
1498
|
}
|
|
1468
1499
|
//#endregion
|
|
1469
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1500
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toKey.js
|
|
1470
1501
|
/** Used as references for various `Number` constants. */
|
|
1471
|
-
var INFINITY =
|
|
1502
|
+
var INFINITY = 1 / 0;
|
|
1472
1503
|
/**
|
|
1473
1504
|
* Converts `value` to a string key if it's not a string or symbol.
|
|
1474
1505
|
*
|
|
@@ -1482,7 +1513,54 @@
|
|
|
1482
1513
|
return result == "0" && 1 / value == -INFINITY ? "-0" : result;
|
|
1483
1514
|
}
|
|
1484
1515
|
//#endregion
|
|
1485
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1516
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGet.js
|
|
1517
|
+
/**
|
|
1518
|
+
* The base implementation of `_.get` without support for default values.
|
|
1519
|
+
*
|
|
1520
|
+
* @private
|
|
1521
|
+
* @param {Object} object The object to query.
|
|
1522
|
+
* @param {Array|string} path The path of the property to get.
|
|
1523
|
+
* @returns {*} Returns the resolved value.
|
|
1524
|
+
*/
|
|
1525
|
+
function baseGet(object, path) {
|
|
1526
|
+
path = castPath(path, object);
|
|
1527
|
+
var index = 0, length = path.length;
|
|
1528
|
+
while (object != null && index < length) object = object[toKey(path[index++])];
|
|
1529
|
+
return index && index == length ? object : void 0;
|
|
1530
|
+
}
|
|
1531
|
+
//#endregion
|
|
1532
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/get.js
|
|
1533
|
+
/**
|
|
1534
|
+
* Gets the value at `path` of `object`. If the resolved value is
|
|
1535
|
+
* `undefined`, the `defaultValue` is returned in its place.
|
|
1536
|
+
*
|
|
1537
|
+
* @static
|
|
1538
|
+
* @memberOf _
|
|
1539
|
+
* @since 3.7.0
|
|
1540
|
+
* @category Object
|
|
1541
|
+
* @param {Object} object The object to query.
|
|
1542
|
+
* @param {Array|string} path The path of the property to get.
|
|
1543
|
+
* @param {*} [defaultValue] The value returned for `undefined` resolved values.
|
|
1544
|
+
* @returns {*} Returns the resolved value.
|
|
1545
|
+
* @example
|
|
1546
|
+
*
|
|
1547
|
+
* var object = { 'a': [{ 'b': { 'c': 3 } }] };
|
|
1548
|
+
*
|
|
1549
|
+
* _.get(object, 'a[0].b.c');
|
|
1550
|
+
* // => 3
|
|
1551
|
+
*
|
|
1552
|
+
* _.get(object, ['a', '0', 'b', 'c']);
|
|
1553
|
+
* // => 3
|
|
1554
|
+
*
|
|
1555
|
+
* _.get(object, 'a.b.c', 'default');
|
|
1556
|
+
* // => 'default'
|
|
1557
|
+
*/
|
|
1558
|
+
function get(object, path, defaultValue) {
|
|
1559
|
+
var result = object == null ? void 0 : baseGet(object, path);
|
|
1560
|
+
return result === void 0 ? defaultValue : result;
|
|
1561
|
+
}
|
|
1562
|
+
//#endregion
|
|
1563
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js
|
|
1486
1564
|
/**
|
|
1487
1565
|
* Appends the elements of `values` to `array`.
|
|
1488
1566
|
*
|
|
@@ -1497,11 +1575,11 @@
|
|
|
1497
1575
|
return array;
|
|
1498
1576
|
}
|
|
1499
1577
|
//#endregion
|
|
1500
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1578
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js
|
|
1501
1579
|
/** Built-in value references. */
|
|
1502
1580
|
var getPrototype = overArg(Object.getPrototypeOf, Object);
|
|
1503
1581
|
//#endregion
|
|
1504
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1582
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js
|
|
1505
1583
|
/**
|
|
1506
1584
|
* Removes all key-value entries from the stack.
|
|
1507
1585
|
*
|
|
@@ -1514,7 +1592,7 @@
|
|
|
1514
1592
|
this.size = 0;
|
|
1515
1593
|
}
|
|
1516
1594
|
//#endregion
|
|
1517
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1595
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js
|
|
1518
1596
|
/**
|
|
1519
1597
|
* Removes `key` and its value from the stack.
|
|
1520
1598
|
*
|
|
@@ -1530,7 +1608,7 @@
|
|
|
1530
1608
|
return result;
|
|
1531
1609
|
}
|
|
1532
1610
|
//#endregion
|
|
1533
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1611
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js
|
|
1534
1612
|
/**
|
|
1535
1613
|
* Gets the stack value for `key`.
|
|
1536
1614
|
*
|
|
@@ -1544,7 +1622,7 @@
|
|
|
1544
1622
|
return this.__data__.get(key);
|
|
1545
1623
|
}
|
|
1546
1624
|
//#endregion
|
|
1547
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1625
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js
|
|
1548
1626
|
/**
|
|
1549
1627
|
* Checks if a stack value for `key` exists.
|
|
1550
1628
|
*
|
|
@@ -1558,7 +1636,7 @@
|
|
|
1558
1636
|
return this.__data__.has(key);
|
|
1559
1637
|
}
|
|
1560
1638
|
//#endregion
|
|
1561
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1639
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js
|
|
1562
1640
|
/** Used as the size to enable large array optimizations. */
|
|
1563
1641
|
var LARGE_ARRAY_SIZE = 200;
|
|
1564
1642
|
/**
|
|
@@ -1587,7 +1665,7 @@
|
|
|
1587
1665
|
return this;
|
|
1588
1666
|
}
|
|
1589
1667
|
//#endregion
|
|
1590
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1668
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js
|
|
1591
1669
|
/**
|
|
1592
1670
|
* Creates a stack cache object to store key-value pairs.
|
|
1593
1671
|
*
|
|
@@ -1605,7 +1683,7 @@
|
|
|
1605
1683
|
Stack.prototype.has = stackHas;
|
|
1606
1684
|
Stack.prototype.set = stackSet;
|
|
1607
1685
|
//#endregion
|
|
1608
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1686
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js
|
|
1609
1687
|
/**
|
|
1610
1688
|
* The base implementation of `_.assign` without support for multiple sources
|
|
1611
1689
|
* or `customizer` functions.
|
|
@@ -1619,7 +1697,7 @@
|
|
|
1619
1697
|
return object && copyObject(source, keys(source), object);
|
|
1620
1698
|
}
|
|
1621
1699
|
//#endregion
|
|
1622
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1700
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js
|
|
1623
1701
|
/**
|
|
1624
1702
|
* The base implementation of `_.assignIn` without support for multiple sources
|
|
1625
1703
|
* or `customizer` functions.
|
|
@@ -1633,13 +1711,14 @@
|
|
|
1633
1711
|
return object && copyObject(source, keysIn(source), object);
|
|
1634
1712
|
}
|
|
1635
1713
|
//#endregion
|
|
1636
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1714
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js
|
|
1637
1715
|
/** Detect free variable `exports`. */
|
|
1638
1716
|
var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
|
|
1639
1717
|
/** Detect free variable `module`. */
|
|
1640
1718
|
var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
|
|
1641
1719
|
/** Built-in value references. */
|
|
1642
|
-
var Buffer = freeModule && freeModule.exports === freeExports ? root.Buffer : void 0
|
|
1720
|
+
var Buffer = freeModule && freeModule.exports === freeExports ? root.Buffer : void 0;
|
|
1721
|
+
var allocUnsafe = Buffer ? Buffer.allocUnsafe : void 0;
|
|
1643
1722
|
/**
|
|
1644
1723
|
* Creates a clone of `buffer`.
|
|
1645
1724
|
*
|
|
@@ -1655,7 +1734,7 @@
|
|
|
1655
1734
|
return result;
|
|
1656
1735
|
}
|
|
1657
1736
|
//#endregion
|
|
1658
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1737
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js
|
|
1659
1738
|
/**
|
|
1660
1739
|
* A specialized version of `_.filter` for arrays without support for
|
|
1661
1740
|
* iteratee shorthands.
|
|
@@ -1674,7 +1753,7 @@
|
|
|
1674
1753
|
return result;
|
|
1675
1754
|
}
|
|
1676
1755
|
//#endregion
|
|
1677
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1756
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js
|
|
1678
1757
|
/**
|
|
1679
1758
|
* This method returns a new empty array.
|
|
1680
1759
|
*
|
|
@@ -1697,7 +1776,7 @@
|
|
|
1697
1776
|
return [];
|
|
1698
1777
|
}
|
|
1699
1778
|
//#endregion
|
|
1700
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1779
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js
|
|
1701
1780
|
/** Built-in value references. */
|
|
1702
1781
|
var propertyIsEnumerable = Object.prototype.propertyIsEnumerable;
|
|
1703
1782
|
var nativeGetSymbols = Object.getOwnPropertySymbols;
|
|
@@ -1716,7 +1795,7 @@
|
|
|
1716
1795
|
});
|
|
1717
1796
|
};
|
|
1718
1797
|
//#endregion
|
|
1719
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1798
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js
|
|
1720
1799
|
/**
|
|
1721
1800
|
* Copies own symbols of `source` to `object`.
|
|
1722
1801
|
*
|
|
@@ -1729,7 +1808,7 @@
|
|
|
1729
1808
|
return copyObject(source, getSymbols(source), object);
|
|
1730
1809
|
}
|
|
1731
1810
|
//#endregion
|
|
1732
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1811
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js
|
|
1733
1812
|
/**
|
|
1734
1813
|
* Creates an array of the own and inherited enumerable symbols of `object`.
|
|
1735
1814
|
*
|
|
@@ -1746,7 +1825,7 @@
|
|
|
1746
1825
|
return result;
|
|
1747
1826
|
};
|
|
1748
1827
|
//#endregion
|
|
1749
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1828
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js
|
|
1750
1829
|
/**
|
|
1751
1830
|
* Copies own and inherited symbols of `source` to `object`.
|
|
1752
1831
|
*
|
|
@@ -1759,7 +1838,7 @@
|
|
|
1759
1838
|
return copyObject(source, getSymbolsIn(source), object);
|
|
1760
1839
|
}
|
|
1761
1840
|
//#endregion
|
|
1762
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1841
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js
|
|
1763
1842
|
/**
|
|
1764
1843
|
* The base implementation of `getAllKeys` and `getAllKeysIn` which uses
|
|
1765
1844
|
* `keysFunc` and `symbolsFunc` to get the enumerable property names and
|
|
@@ -1776,7 +1855,7 @@
|
|
|
1776
1855
|
return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
|
|
1777
1856
|
}
|
|
1778
1857
|
//#endregion
|
|
1779
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1858
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js
|
|
1780
1859
|
/**
|
|
1781
1860
|
* Creates an array of own enumerable property names and symbols of `object`.
|
|
1782
1861
|
*
|
|
@@ -1788,7 +1867,7 @@
|
|
|
1788
1867
|
return baseGetAllKeys(object, keys, getSymbols);
|
|
1789
1868
|
}
|
|
1790
1869
|
//#endregion
|
|
1791
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1870
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js
|
|
1792
1871
|
/**
|
|
1793
1872
|
* Creates an array of own and inherited enumerable property names and
|
|
1794
1873
|
* symbols of `object`.
|
|
@@ -1801,21 +1880,29 @@
|
|
|
1801
1880
|
return baseGetAllKeys(object, keysIn, getSymbolsIn);
|
|
1802
1881
|
}
|
|
1803
1882
|
//#endregion
|
|
1804
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1883
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js
|
|
1805
1884
|
var DataView = getNative(root, "DataView");
|
|
1806
1885
|
//#endregion
|
|
1807
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1886
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js
|
|
1808
1887
|
var Promise$1 = getNative(root, "Promise");
|
|
1809
1888
|
//#endregion
|
|
1810
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1889
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Set.js
|
|
1811
1890
|
var Set$1 = getNative(root, "Set");
|
|
1812
1891
|
//#endregion
|
|
1813
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1892
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js
|
|
1814
1893
|
/** `Object#toString` result references. */
|
|
1815
|
-
var mapTag$3 = "[object Map]"
|
|
1894
|
+
var mapTag$3 = "[object Map]";
|
|
1895
|
+
var objectTag$1 = "[object Object]";
|
|
1896
|
+
var promiseTag = "[object Promise]";
|
|
1897
|
+
var setTag$3 = "[object Set]";
|
|
1898
|
+
var weakMapTag$1 = "[object WeakMap]";
|
|
1816
1899
|
var dataViewTag$2 = "[object DataView]";
|
|
1817
1900
|
/** Used to detect maps, sets, and weakmaps. */
|
|
1818
|
-
var dataViewCtorString = toSource(DataView)
|
|
1901
|
+
var dataViewCtorString = toSource(DataView);
|
|
1902
|
+
var mapCtorString = toSource(Map$1);
|
|
1903
|
+
var promiseCtorString = toSource(Promise$1);
|
|
1904
|
+
var setCtorString = toSource(Set$1);
|
|
1905
|
+
var weakMapCtorString = toSource(WeakMap);
|
|
1819
1906
|
/**
|
|
1820
1907
|
* Gets the `toStringTag` of `value`.
|
|
1821
1908
|
*
|
|
@@ -1837,7 +1924,7 @@
|
|
|
1837
1924
|
};
|
|
1838
1925
|
var _getTag_default = getTag;
|
|
1839
1926
|
//#endregion
|
|
1840
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1927
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js
|
|
1841
1928
|
/** Used to check objects for own properties. */
|
|
1842
1929
|
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
1843
1930
|
/**
|
|
@@ -1856,11 +1943,11 @@
|
|
|
1856
1943
|
return result;
|
|
1857
1944
|
}
|
|
1858
1945
|
//#endregion
|
|
1859
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1946
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js
|
|
1860
1947
|
/** Built-in value references. */
|
|
1861
1948
|
var Uint8Array = root.Uint8Array;
|
|
1862
1949
|
//#endregion
|
|
1863
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1950
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js
|
|
1864
1951
|
/**
|
|
1865
1952
|
* Creates a clone of `arrayBuffer`.
|
|
1866
1953
|
*
|
|
@@ -1874,7 +1961,7 @@
|
|
|
1874
1961
|
return result;
|
|
1875
1962
|
}
|
|
1876
1963
|
//#endregion
|
|
1877
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1964
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js
|
|
1878
1965
|
/**
|
|
1879
1966
|
* Creates a clone of `dataView`.
|
|
1880
1967
|
*
|
|
@@ -1888,7 +1975,7 @@
|
|
|
1888
1975
|
return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
|
|
1889
1976
|
}
|
|
1890
1977
|
//#endregion
|
|
1891
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1978
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js
|
|
1892
1979
|
/** Used to match `RegExp` flags from their coerced string values. */
|
|
1893
1980
|
var reFlags = /\w*$/;
|
|
1894
1981
|
/**
|
|
@@ -1904,9 +1991,10 @@
|
|
|
1904
1991
|
return result;
|
|
1905
1992
|
}
|
|
1906
1993
|
//#endregion
|
|
1907
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
1994
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js
|
|
1908
1995
|
/** Used to convert symbols to primitives and strings. */
|
|
1909
|
-
var symbolProto = Symbol ? Symbol.prototype : void 0
|
|
1996
|
+
var symbolProto = Symbol ? Symbol.prototype : void 0;
|
|
1997
|
+
var symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
|
|
1910
1998
|
/**
|
|
1911
1999
|
* Creates a clone of the `symbol` object.
|
|
1912
2000
|
*
|
|
@@ -1918,7 +2006,7 @@
|
|
|
1918
2006
|
return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
|
|
1919
2007
|
}
|
|
1920
2008
|
//#endregion
|
|
1921
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
2009
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js
|
|
1922
2010
|
/**
|
|
1923
2011
|
* Creates a clone of `typedArray`.
|
|
1924
2012
|
*
|
|
@@ -1932,10 +2020,27 @@
|
|
|
1932
2020
|
return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
|
|
1933
2021
|
}
|
|
1934
2022
|
//#endregion
|
|
1935
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
2023
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js
|
|
1936
2024
|
/** `Object#toString` result references. */
|
|
1937
|
-
var boolTag$1 = "[object Boolean]"
|
|
1938
|
-
var
|
|
2025
|
+
var boolTag$1 = "[object Boolean]";
|
|
2026
|
+
var dateTag$1 = "[object Date]";
|
|
2027
|
+
var mapTag$2 = "[object Map]";
|
|
2028
|
+
var numberTag$1 = "[object Number]";
|
|
2029
|
+
var regexpTag$1 = "[object RegExp]";
|
|
2030
|
+
var setTag$2 = "[object Set]";
|
|
2031
|
+
var stringTag$1 = "[object String]";
|
|
2032
|
+
var symbolTag$1 = "[object Symbol]";
|
|
2033
|
+
var arrayBufferTag$1 = "[object ArrayBuffer]";
|
|
2034
|
+
var dataViewTag$1 = "[object DataView]";
|
|
2035
|
+
var float32Tag$1 = "[object Float32Array]";
|
|
2036
|
+
var float64Tag$1 = "[object Float64Array]";
|
|
2037
|
+
var int8Tag$1 = "[object Int8Array]";
|
|
2038
|
+
var int16Tag$1 = "[object Int16Array]";
|
|
2039
|
+
var int32Tag$1 = "[object Int32Array]";
|
|
2040
|
+
var uint8Tag$1 = "[object Uint8Array]";
|
|
2041
|
+
var uint8ClampedTag$1 = "[object Uint8ClampedArray]";
|
|
2042
|
+
var uint16Tag$1 = "[object Uint16Array]";
|
|
2043
|
+
var uint32Tag$1 = "[object Uint32Array]";
|
|
1939
2044
|
/**
|
|
1940
2045
|
* Initializes an object clone based on its `toStringTag`.
|
|
1941
2046
|
*
|
|
@@ -1973,7 +2078,7 @@
|
|
|
1973
2078
|
}
|
|
1974
2079
|
}
|
|
1975
2080
|
//#endregion
|
|
1976
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
2081
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js
|
|
1977
2082
|
/**
|
|
1978
2083
|
* Initializes an object clone.
|
|
1979
2084
|
*
|
|
@@ -1985,7 +2090,7 @@
|
|
|
1985
2090
|
return typeof object.constructor == "function" && !isPrototype(object) ? baseCreate(getPrototype(object)) : {};
|
|
1986
2091
|
}
|
|
1987
2092
|
//#endregion
|
|
1988
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
2093
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js
|
|
1989
2094
|
/** `Object#toString` result references. */
|
|
1990
2095
|
var mapTag$1 = "[object Map]";
|
|
1991
2096
|
/**
|
|
@@ -1999,7 +2104,7 @@
|
|
|
1999
2104
|
return isObjectLike(value) && _getTag_default(value) == mapTag$1;
|
|
2000
2105
|
}
|
|
2001
2106
|
//#endregion
|
|
2002
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
2107
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isMap.js
|
|
2003
2108
|
var nodeIsMap = nodeUtil && nodeUtil.isMap;
|
|
2004
2109
|
/**
|
|
2005
2110
|
* Checks if `value` is classified as a `Map` object.
|
|
@@ -2020,7 +2125,7 @@
|
|
|
2020
2125
|
*/
|
|
2021
2126
|
var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;
|
|
2022
2127
|
//#endregion
|
|
2023
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
2128
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.js
|
|
2024
2129
|
/** `Object#toString` result references. */
|
|
2025
2130
|
var setTag$1 = "[object Set]";
|
|
2026
2131
|
/**
|
|
@@ -2034,7 +2139,7 @@
|
|
|
2034
2139
|
return isObjectLike(value) && _getTag_default(value) == setTag$1;
|
|
2035
2140
|
}
|
|
2036
2141
|
//#endregion
|
|
2037
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
2142
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSet.js
|
|
2038
2143
|
var nodeIsSet = nodeUtil && nodeUtil.isSet;
|
|
2039
2144
|
/**
|
|
2040
2145
|
* Checks if `value` is classified as a `Set` object.
|
|
@@ -2055,12 +2160,38 @@
|
|
|
2055
2160
|
*/
|
|
2056
2161
|
var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;
|
|
2057
2162
|
//#endregion
|
|
2058
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
2163
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js
|
|
2059
2164
|
/** Used to compose bitmasks for cloning. */
|
|
2060
|
-
var CLONE_DEEP_FLAG$1 = 1
|
|
2165
|
+
var CLONE_DEEP_FLAG$1 = 1;
|
|
2166
|
+
var CLONE_FLAT_FLAG = 2;
|
|
2167
|
+
var CLONE_SYMBOLS_FLAG$1 = 4;
|
|
2061
2168
|
/** `Object#toString` result references. */
|
|
2062
|
-
var argsTag = "[object Arguments]"
|
|
2063
|
-
var
|
|
2169
|
+
var argsTag = "[object Arguments]";
|
|
2170
|
+
var arrayTag = "[object Array]";
|
|
2171
|
+
var boolTag = "[object Boolean]";
|
|
2172
|
+
var dateTag = "[object Date]";
|
|
2173
|
+
var errorTag = "[object Error]";
|
|
2174
|
+
var funcTag = "[object Function]";
|
|
2175
|
+
var genTag = "[object GeneratorFunction]";
|
|
2176
|
+
var mapTag = "[object Map]";
|
|
2177
|
+
var numberTag = "[object Number]";
|
|
2178
|
+
var objectTag = "[object Object]";
|
|
2179
|
+
var regexpTag = "[object RegExp]";
|
|
2180
|
+
var setTag = "[object Set]";
|
|
2181
|
+
var stringTag = "[object String]";
|
|
2182
|
+
var symbolTag = "[object Symbol]";
|
|
2183
|
+
var weakMapTag = "[object WeakMap]";
|
|
2184
|
+
var arrayBufferTag = "[object ArrayBuffer]";
|
|
2185
|
+
var dataViewTag = "[object DataView]";
|
|
2186
|
+
var float32Tag = "[object Float32Array]";
|
|
2187
|
+
var float64Tag = "[object Float64Array]";
|
|
2188
|
+
var int8Tag = "[object Int8Array]";
|
|
2189
|
+
var int16Tag = "[object Int16Array]";
|
|
2190
|
+
var int32Tag = "[object Int32Array]";
|
|
2191
|
+
var uint8Tag = "[object Uint8Array]";
|
|
2192
|
+
var uint8ClampedTag = "[object Uint8ClampedArray]";
|
|
2193
|
+
var uint16Tag = "[object Uint16Array]";
|
|
2194
|
+
var uint32Tag = "[object Uint32Array]";
|
|
2064
2195
|
/** Used to identify `toStringTag` values supported by `_.clone`. */
|
|
2065
2196
|
var cloneableTags = {};
|
|
2066
2197
|
cloneableTags[argsTag] = cloneableTags[arrayTag] = cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] = cloneableTags[boolTag] = cloneableTags[dateTag] = cloneableTags[float32Tag] = cloneableTags[float64Tag] = cloneableTags[int8Tag] = cloneableTags[int16Tag] = cloneableTags[int32Tag] = cloneableTags[mapTag] = cloneableTags[numberTag] = cloneableTags[objectTag] = cloneableTags[regexpTag] = cloneableTags[setTag] = cloneableTags[stringTag] = cloneableTags[symbolTag] = cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] = cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
|
|
@@ -2122,9 +2253,10 @@
|
|
|
2122
2253
|
return result;
|
|
2123
2254
|
}
|
|
2124
2255
|
//#endregion
|
|
2125
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
2256
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js
|
|
2126
2257
|
/** Used to compose bitmasks for cloning. */
|
|
2127
|
-
var CLONE_DEEP_FLAG = 1
|
|
2258
|
+
var CLONE_DEEP_FLAG = 1;
|
|
2259
|
+
var CLONE_SYMBOLS_FLAG = 4;
|
|
2128
2260
|
/**
|
|
2129
2261
|
* This method is like `_.clone` except that it recursively clones `value`.
|
|
2130
2262
|
*
|
|
@@ -2147,7 +2279,7 @@
|
|
|
2147
2279
|
return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);
|
|
2148
2280
|
}
|
|
2149
2281
|
//#endregion
|
|
2150
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
2282
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseSet.js
|
|
2151
2283
|
/**
|
|
2152
2284
|
* The base implementation of `_.set`.
|
|
2153
2285
|
*
|
|
@@ -2176,7 +2308,7 @@
|
|
|
2176
2308
|
return object;
|
|
2177
2309
|
}
|
|
2178
2310
|
//#endregion
|
|
2179
|
-
//#region node_modules/.pnpm/lodash-es@4.
|
|
2311
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/set.js
|
|
2180
2312
|
/**
|
|
2181
2313
|
* Sets the value at `path` of `object`. If a portion of `path` doesn't exist,
|
|
2182
2314
|
* it's created. Arrays are created for missing index properties while objects
|
|
@@ -2238,7 +2370,7 @@
|
|
|
2238
2370
|
};
|
|
2239
2371
|
setTimeout(() => {
|
|
2240
2372
|
reject(/* @__PURE__ */ new Error("timeout"));
|
|
2241
|
-
},
|
|
2373
|
+
}, 6e4);
|
|
2242
2374
|
}).catch((err) => {
|
|
2243
2375
|
loaded.delete(url);
|
|
2244
2376
|
throw err;
|
|
@@ -2269,7 +2401,7 @@
|
|
|
2269
2401
|
};
|
|
2270
2402
|
setTimeout(() => {
|
|
2271
2403
|
reject(/* @__PURE__ */ new Error("timeout"));
|
|
2272
|
-
},
|
|
2404
|
+
}, 6e4);
|
|
2273
2405
|
}).catch((err) => {
|
|
2274
2406
|
loaded.delete(url);
|
|
2275
2407
|
throw err;
|
|
@@ -2383,7 +2515,7 @@
|
|
|
2383
2515
|
path.unshift(root);
|
|
2384
2516
|
info.node = path[path.length - 1];
|
|
2385
2517
|
info.parent = path[path.length - 2];
|
|
2386
|
-
for (const item of path) if (
|
|
2518
|
+
for (const item of path) if (isPageOrFragment(item)) {
|
|
2387
2519
|
info.page = item;
|
|
2388
2520
|
break;
|
|
2389
2521
|
}
|
|
@@ -2425,8 +2557,10 @@
|
|
|
2425
2557
|
const first = strArr.charAt(0);
|
|
2426
2558
|
url = url.replace(strArr, key);
|
|
2427
2559
|
url = url.replace(key, value ? first + extra : "");
|
|
2428
|
-
} else if (value)
|
|
2429
|
-
|
|
2560
|
+
} else if (value) {
|
|
2561
|
+
if (url.indexOf("?") > -1) url += `&${extra}`;
|
|
2562
|
+
else url += `?${extra}`;
|
|
2563
|
+
}
|
|
2430
2564
|
return url;
|
|
2431
2565
|
};
|
|
2432
2566
|
var getSearchObj = (search = globalThis.location.search ? globalThis.location.search.substring(1) : "") => {
|
|
@@ -2468,6 +2602,8 @@
|
|
|
2468
2602
|
if (!node) return false;
|
|
2469
2603
|
return Boolean(node.type?.toLowerCase() === _tmagic_schema.NodeType.PAGE_FRAGMENT);
|
|
2470
2604
|
};
|
|
2605
|
+
/** 是否为页面或页面片 */
|
|
2606
|
+
var isPageOrFragment = (node) => isPage(node) || isPageFragment(node);
|
|
2471
2607
|
var isNumber = (value) => typeof value === "number" && !isNaN(value) || /^(-?\d+)(\.\d+)?$/.test(`${value}`);
|
|
2472
2608
|
var getHost = (targetUrl) => targetUrl.match(/\/\/([^/]+)/)?.[1];
|
|
2473
2609
|
var isSameDomain = (targetUrl = "", source = globalThis.location.host) => {
|
|
@@ -2484,6 +2620,12 @@
|
|
|
2484
2620
|
return (c === "x" ? r : r & 3 | 8).toString(16);
|
|
2485
2621
|
});
|
|
2486
2622
|
var getKeysArray = (keys) => `${keys}`.replace(/\[(\d+)\]/g, ".$1").split(".");
|
|
2623
|
+
/**
|
|
2624
|
+
* 判断某一层 key 是否为数组下标(纯数字)
|
|
2625
|
+
* @param key 单层 key
|
|
2626
|
+
* @returns 是否为数组下标
|
|
2627
|
+
*/
|
|
2628
|
+
var isArrayIndex = (key) => /^\d+$/.test(`${key}`);
|
|
2487
2629
|
var getValueByKeyPath = (keys = "", data = {}) => {
|
|
2488
2630
|
return (Array.isArray(keys) ? keys : getKeysArray(keys)).reduce((accumulator, currentValue) => {
|
|
2489
2631
|
if (isObject(accumulator)) return accumulator[currentValue];
|
|
@@ -2491,7 +2633,18 @@
|
|
|
2491
2633
|
throw new Error(`${data}中不存在${keys}`);
|
|
2492
2634
|
}, data);
|
|
2493
2635
|
};
|
|
2494
|
-
var setValueByKeyPath = (keys, value, data = {}) =>
|
|
2636
|
+
var setValueByKeyPath = (keys, value, data = {}) => {
|
|
2637
|
+
if (typeof value === "undefined") {
|
|
2638
|
+
const keyArray = getKeysArray(keys);
|
|
2639
|
+
const lastKey = keyArray[keyArray.length - 1];
|
|
2640
|
+
if (keyArray.length > 1 && isArrayIndex(lastKey)) {
|
|
2641
|
+
const parentPath = keyArray.slice(0, -1).join(".");
|
|
2642
|
+
if (typeof get(data, parentPath) === "undefined") set(data, parentPath, []);
|
|
2643
|
+
return data;
|
|
2644
|
+
}
|
|
2645
|
+
}
|
|
2646
|
+
return set(data, keys, value);
|
|
2647
|
+
};
|
|
2495
2648
|
var getNodes = (ids, data = []) => {
|
|
2496
2649
|
const nodes = [];
|
|
2497
2650
|
const get = function(ids, data) {
|
|
@@ -2588,7 +2741,6 @@
|
|
|
2588
2741
|
case "not_between": return range.length < 2 || fieldValue < range[0] || fieldValue > range[1];
|
|
2589
2742
|
case "include": return fieldValue?.includes?.(inputValue);
|
|
2590
2743
|
case "not_include": return typeof fieldValue === "undefined" || !fieldValue.includes?.(inputValue);
|
|
2591
|
-
default: break;
|
|
2592
2744
|
}
|
|
2593
2745
|
return false;
|
|
2594
2746
|
};
|
|
@@ -2720,11 +2872,13 @@
|
|
|
2720
2872
|
exports.getValueByKeyPath = getValueByKeyPath;
|
|
2721
2873
|
exports.guid = guid;
|
|
2722
2874
|
exports.injectStyle = injectStyle;
|
|
2875
|
+
exports.isArrayIndex = isArrayIndex;
|
|
2723
2876
|
exports.isDslNode = isDslNode;
|
|
2724
2877
|
exports.isNumber = isNumber;
|
|
2725
2878
|
exports.isObject = isObject;
|
|
2726
2879
|
exports.isPage = isPage;
|
|
2727
2880
|
exports.isPageFragment = isPageFragment;
|
|
2881
|
+
exports.isPageOrFragment = isPageOrFragment;
|
|
2728
2882
|
exports.isPercentage = isPercentage;
|
|
2729
2883
|
exports.isPop = isPop;
|
|
2730
2884
|
exports.isSameDomain = isSameDomain;
|