@tmagic/stage 1.8.0-beta.11 → 1.8.0-beta.13
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/StageFlashHighlight.js +1 -1
- package/dist/tmagic-stage.umd.cjs +1382 -1362
- package/package.json +2 -2
- package/src/util.ts +1 -1
|
@@ -41,220 +41,6 @@
|
|
|
41
41
|
moveable_helper = __toESM(moveable_helper, 1);
|
|
42
42
|
moveable = __toESM(moveable, 1);
|
|
43
43
|
_scena_guides = __toESM(_scena_guides, 1);
|
|
44
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheClear.js
|
|
45
|
-
/**
|
|
46
|
-
* Removes all key-value entries from the list cache.
|
|
47
|
-
*
|
|
48
|
-
* @private
|
|
49
|
-
* @name clear
|
|
50
|
-
* @memberOf ListCache
|
|
51
|
-
*/
|
|
52
|
-
function listCacheClear() {
|
|
53
|
-
this.__data__ = [];
|
|
54
|
-
this.size = 0;
|
|
55
|
-
}
|
|
56
|
-
//#endregion
|
|
57
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/eq.js
|
|
58
|
-
/**
|
|
59
|
-
* Performs a
|
|
60
|
-
* [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
|
61
|
-
* comparison between two values to determine if they are equivalent.
|
|
62
|
-
*
|
|
63
|
-
* @static
|
|
64
|
-
* @memberOf _
|
|
65
|
-
* @since 4.0.0
|
|
66
|
-
* @category Lang
|
|
67
|
-
* @param {*} value The value to compare.
|
|
68
|
-
* @param {*} other The other value to compare.
|
|
69
|
-
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
|
70
|
-
* @example
|
|
71
|
-
*
|
|
72
|
-
* var object = { 'a': 1 };
|
|
73
|
-
* var other = { 'a': 1 };
|
|
74
|
-
*
|
|
75
|
-
* _.eq(object, object);
|
|
76
|
-
* // => true
|
|
77
|
-
*
|
|
78
|
-
* _.eq(object, other);
|
|
79
|
-
* // => false
|
|
80
|
-
*
|
|
81
|
-
* _.eq('a', 'a');
|
|
82
|
-
* // => true
|
|
83
|
-
*
|
|
84
|
-
* _.eq('a', Object('a'));
|
|
85
|
-
* // => false
|
|
86
|
-
*
|
|
87
|
-
* _.eq(NaN, NaN);
|
|
88
|
-
* // => true
|
|
89
|
-
*/
|
|
90
|
-
function eq(value, other) {
|
|
91
|
-
return value === other || value !== value && other !== other;
|
|
92
|
-
}
|
|
93
|
-
//#endregion
|
|
94
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assocIndexOf.js
|
|
95
|
-
/**
|
|
96
|
-
* Gets the index at which the `key` is found in `array` of key-value pairs.
|
|
97
|
-
*
|
|
98
|
-
* @private
|
|
99
|
-
* @param {Array} array The array to inspect.
|
|
100
|
-
* @param {*} key The key to search for.
|
|
101
|
-
* @returns {number} Returns the index of the matched value, else `-1`.
|
|
102
|
-
*/
|
|
103
|
-
function assocIndexOf(array, key) {
|
|
104
|
-
var length = array.length;
|
|
105
|
-
while (length--) if (eq(array[length][0], key)) return length;
|
|
106
|
-
return -1;
|
|
107
|
-
}
|
|
108
|
-
//#endregion
|
|
109
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheDelete.js
|
|
110
|
-
/** Built-in value references. */
|
|
111
|
-
var splice = Array.prototype.splice;
|
|
112
|
-
/**
|
|
113
|
-
* Removes `key` and its value from the list cache.
|
|
114
|
-
*
|
|
115
|
-
* @private
|
|
116
|
-
* @name delete
|
|
117
|
-
* @memberOf ListCache
|
|
118
|
-
* @param {string} key The key of the value to remove.
|
|
119
|
-
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
120
|
-
*/
|
|
121
|
-
function listCacheDelete(key) {
|
|
122
|
-
var data = this.__data__, index = assocIndexOf(data, key);
|
|
123
|
-
if (index < 0) return false;
|
|
124
|
-
if (index == data.length - 1) data.pop();
|
|
125
|
-
else splice.call(data, index, 1);
|
|
126
|
-
--this.size;
|
|
127
|
-
return true;
|
|
128
|
-
}
|
|
129
|
-
//#endregion
|
|
130
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheGet.js
|
|
131
|
-
/**
|
|
132
|
-
* Gets the list cache value for `key`.
|
|
133
|
-
*
|
|
134
|
-
* @private
|
|
135
|
-
* @name get
|
|
136
|
-
* @memberOf ListCache
|
|
137
|
-
* @param {string} key The key of the value to get.
|
|
138
|
-
* @returns {*} Returns the entry value.
|
|
139
|
-
*/
|
|
140
|
-
function listCacheGet(key) {
|
|
141
|
-
var data = this.__data__, index = assocIndexOf(data, key);
|
|
142
|
-
return index < 0 ? void 0 : data[index][1];
|
|
143
|
-
}
|
|
144
|
-
//#endregion
|
|
145
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheHas.js
|
|
146
|
-
/**
|
|
147
|
-
* Checks if a list cache value for `key` exists.
|
|
148
|
-
*
|
|
149
|
-
* @private
|
|
150
|
-
* @name has
|
|
151
|
-
* @memberOf ListCache
|
|
152
|
-
* @param {string} key The key of the entry to check.
|
|
153
|
-
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
154
|
-
*/
|
|
155
|
-
function listCacheHas(key) {
|
|
156
|
-
return assocIndexOf(this.__data__, key) > -1;
|
|
157
|
-
}
|
|
158
|
-
//#endregion
|
|
159
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheSet.js
|
|
160
|
-
/**
|
|
161
|
-
* Sets the list cache `key` to `value`.
|
|
162
|
-
*
|
|
163
|
-
* @private
|
|
164
|
-
* @name set
|
|
165
|
-
* @memberOf ListCache
|
|
166
|
-
* @param {string} key The key of the value to set.
|
|
167
|
-
* @param {*} value The value to set.
|
|
168
|
-
* @returns {Object} Returns the list cache instance.
|
|
169
|
-
*/
|
|
170
|
-
function listCacheSet(key, value) {
|
|
171
|
-
var data = this.__data__, index = assocIndexOf(data, key);
|
|
172
|
-
if (index < 0) {
|
|
173
|
-
++this.size;
|
|
174
|
-
data.push([key, value]);
|
|
175
|
-
} else data[index][1] = value;
|
|
176
|
-
return this;
|
|
177
|
-
}
|
|
178
|
-
//#endregion
|
|
179
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_ListCache.js
|
|
180
|
-
/**
|
|
181
|
-
* Creates an list cache object.
|
|
182
|
-
*
|
|
183
|
-
* @private
|
|
184
|
-
* @constructor
|
|
185
|
-
* @param {Array} [entries] The key-value pairs to cache.
|
|
186
|
-
*/
|
|
187
|
-
function ListCache(entries) {
|
|
188
|
-
var index = -1, length = entries == null ? 0 : entries.length;
|
|
189
|
-
this.clear();
|
|
190
|
-
while (++index < length) {
|
|
191
|
-
var entry = entries[index];
|
|
192
|
-
this.set(entry[0], entry[1]);
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
ListCache.prototype.clear = listCacheClear;
|
|
196
|
-
ListCache.prototype["delete"] = listCacheDelete;
|
|
197
|
-
ListCache.prototype.get = listCacheGet;
|
|
198
|
-
ListCache.prototype.has = listCacheHas;
|
|
199
|
-
ListCache.prototype.set = listCacheSet;
|
|
200
|
-
//#endregion
|
|
201
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackClear.js
|
|
202
|
-
/**
|
|
203
|
-
* Removes all key-value entries from the stack.
|
|
204
|
-
*
|
|
205
|
-
* @private
|
|
206
|
-
* @name clear
|
|
207
|
-
* @memberOf Stack
|
|
208
|
-
*/
|
|
209
|
-
function stackClear() {
|
|
210
|
-
this.__data__ = new ListCache();
|
|
211
|
-
this.size = 0;
|
|
212
|
-
}
|
|
213
|
-
//#endregion
|
|
214
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackDelete.js
|
|
215
|
-
/**
|
|
216
|
-
* Removes `key` and its value from the stack.
|
|
217
|
-
*
|
|
218
|
-
* @private
|
|
219
|
-
* @name delete
|
|
220
|
-
* @memberOf Stack
|
|
221
|
-
* @param {string} key The key of the value to remove.
|
|
222
|
-
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
223
|
-
*/
|
|
224
|
-
function stackDelete(key) {
|
|
225
|
-
var data = this.__data__, result = data["delete"](key);
|
|
226
|
-
this.size = data.size;
|
|
227
|
-
return result;
|
|
228
|
-
}
|
|
229
|
-
//#endregion
|
|
230
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackGet.js
|
|
231
|
-
/**
|
|
232
|
-
* Gets the stack value for `key`.
|
|
233
|
-
*
|
|
234
|
-
* @private
|
|
235
|
-
* @name get
|
|
236
|
-
* @memberOf Stack
|
|
237
|
-
* @param {string} key The key of the value to get.
|
|
238
|
-
* @returns {*} Returns the entry value.
|
|
239
|
-
*/
|
|
240
|
-
function stackGet(key) {
|
|
241
|
-
return this.__data__.get(key);
|
|
242
|
-
}
|
|
243
|
-
//#endregion
|
|
244
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackHas.js
|
|
245
|
-
/**
|
|
246
|
-
* Checks if a stack value for `key` exists.
|
|
247
|
-
*
|
|
248
|
-
* @private
|
|
249
|
-
* @name has
|
|
250
|
-
* @memberOf Stack
|
|
251
|
-
* @param {string} key The key of the entry to check.
|
|
252
|
-
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
253
|
-
*/
|
|
254
|
-
function stackHas(key) {
|
|
255
|
-
return this.__data__.has(key);
|
|
256
|
-
}
|
|
257
|
-
//#endregion
|
|
258
44
|
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_freeGlobal.js
|
|
259
45
|
/** Detect free variable `global` from Node.js. */
|
|
260
46
|
var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
|
|
@@ -321,7 +107,8 @@
|
|
|
321
107
|
//#endregion
|
|
322
108
|
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetTag.js
|
|
323
109
|
/** `Object#toString` result references. */
|
|
324
|
-
var nullTag = "[object Null]"
|
|
110
|
+
var nullTag = "[object Null]";
|
|
111
|
+
var undefinedTag = "[object Undefined]";
|
|
325
112
|
/** Built-in value references. */
|
|
326
113
|
var symToStringTag = Symbol$1 ? Symbol$1.toStringTag : void 0;
|
|
327
114
|
/**
|
|
@@ -336,60 +123,241 @@
|
|
|
336
123
|
return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
|
|
337
124
|
}
|
|
338
125
|
//#endregion
|
|
339
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
126
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObjectLike.js
|
|
340
127
|
/**
|
|
341
|
-
* Checks if `value` is
|
|
342
|
-
*
|
|
343
|
-
* of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
|
|
128
|
+
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
|
129
|
+
* and has a `typeof` result of "object".
|
|
344
130
|
*
|
|
345
131
|
* @static
|
|
346
132
|
* @memberOf _
|
|
347
|
-
* @since 0.
|
|
133
|
+
* @since 4.0.0
|
|
348
134
|
* @category Lang
|
|
349
135
|
* @param {*} value The value to check.
|
|
350
|
-
* @returns {boolean} Returns `true` if `value` is
|
|
136
|
+
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
|
|
351
137
|
* @example
|
|
352
138
|
*
|
|
353
|
-
* _.
|
|
139
|
+
* _.isObjectLike({});
|
|
354
140
|
* // => true
|
|
355
141
|
*
|
|
356
|
-
* _.
|
|
142
|
+
* _.isObjectLike([1, 2, 3]);
|
|
357
143
|
* // => true
|
|
358
144
|
*
|
|
359
|
-
* _.
|
|
360
|
-
* // =>
|
|
145
|
+
* _.isObjectLike(_.noop);
|
|
146
|
+
* // => false
|
|
361
147
|
*
|
|
362
|
-
* _.
|
|
148
|
+
* _.isObjectLike(null);
|
|
363
149
|
* // => false
|
|
364
150
|
*/
|
|
365
|
-
function
|
|
366
|
-
|
|
367
|
-
return value != null && (type == "object" || type == "function");
|
|
151
|
+
function isObjectLike(value) {
|
|
152
|
+
return value != null && typeof value == "object";
|
|
368
153
|
}
|
|
369
154
|
//#endregion
|
|
370
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
155
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSymbol.js
|
|
371
156
|
/** `Object#toString` result references. */
|
|
372
|
-
var
|
|
157
|
+
var symbolTag = "[object Symbol]";
|
|
373
158
|
/**
|
|
374
|
-
* Checks if `value` is classified as a `
|
|
159
|
+
* Checks if `value` is classified as a `Symbol` primitive or object.
|
|
375
160
|
*
|
|
376
161
|
* @static
|
|
377
162
|
* @memberOf _
|
|
378
|
-
* @since 0.
|
|
163
|
+
* @since 4.0.0
|
|
379
164
|
* @category Lang
|
|
380
165
|
* @param {*} value The value to check.
|
|
381
|
-
* @returns {boolean} Returns `true` if `value` is a
|
|
166
|
+
* @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
|
|
382
167
|
* @example
|
|
383
168
|
*
|
|
384
|
-
* _.
|
|
169
|
+
* _.isSymbol(Symbol.iterator);
|
|
385
170
|
* // => true
|
|
386
171
|
*
|
|
387
|
-
* _.
|
|
172
|
+
* _.isSymbol('abc');
|
|
388
173
|
* // => false
|
|
389
174
|
*/
|
|
390
|
-
function
|
|
391
|
-
|
|
392
|
-
|
|
175
|
+
function isSymbol(value) {
|
|
176
|
+
return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag;
|
|
177
|
+
}
|
|
178
|
+
//#endregion
|
|
179
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArray.js
|
|
180
|
+
/**
|
|
181
|
+
* Checks if `value` is classified as an `Array` object.
|
|
182
|
+
*
|
|
183
|
+
* @static
|
|
184
|
+
* @memberOf _
|
|
185
|
+
* @since 0.1.0
|
|
186
|
+
* @category Lang
|
|
187
|
+
* @param {*} value The value to check.
|
|
188
|
+
* @returns {boolean} Returns `true` if `value` is an array, else `false`.
|
|
189
|
+
* @example
|
|
190
|
+
*
|
|
191
|
+
* _.isArray([1, 2, 3]);
|
|
192
|
+
* // => true
|
|
193
|
+
*
|
|
194
|
+
* _.isArray(document.body.children);
|
|
195
|
+
* // => false
|
|
196
|
+
*
|
|
197
|
+
* _.isArray('abc');
|
|
198
|
+
* // => false
|
|
199
|
+
*
|
|
200
|
+
* _.isArray(_.noop);
|
|
201
|
+
* // => false
|
|
202
|
+
*/
|
|
203
|
+
var isArray = Array.isArray;
|
|
204
|
+
//#endregion
|
|
205
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_trimmedEndIndex.js
|
|
206
|
+
/** Used to match a single whitespace character. */
|
|
207
|
+
var reWhitespace = /\s/;
|
|
208
|
+
/**
|
|
209
|
+
* Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace
|
|
210
|
+
* character of `string`.
|
|
211
|
+
*
|
|
212
|
+
* @private
|
|
213
|
+
* @param {string} string The string to inspect.
|
|
214
|
+
* @returns {number} Returns the index of the last non-whitespace character.
|
|
215
|
+
*/
|
|
216
|
+
function trimmedEndIndex(string) {
|
|
217
|
+
var index = string.length;
|
|
218
|
+
while (index-- && reWhitespace.test(string.charAt(index)));
|
|
219
|
+
return index;
|
|
220
|
+
}
|
|
221
|
+
//#endregion
|
|
222
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseTrim.js
|
|
223
|
+
/** Used to match leading whitespace. */
|
|
224
|
+
var reTrimStart = /^\s+/;
|
|
225
|
+
/**
|
|
226
|
+
* The base implementation of `_.trim`.
|
|
227
|
+
*
|
|
228
|
+
* @private
|
|
229
|
+
* @param {string} string The string to trim.
|
|
230
|
+
* @returns {string} Returns the trimmed string.
|
|
231
|
+
*/
|
|
232
|
+
function baseTrim(string) {
|
|
233
|
+
return string ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, "") : string;
|
|
234
|
+
}
|
|
235
|
+
//#endregion
|
|
236
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObject.js
|
|
237
|
+
/**
|
|
238
|
+
* Checks if `value` is the
|
|
239
|
+
* [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
|
|
240
|
+
* of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
|
|
241
|
+
*
|
|
242
|
+
* @static
|
|
243
|
+
* @memberOf _
|
|
244
|
+
* @since 0.1.0
|
|
245
|
+
* @category Lang
|
|
246
|
+
* @param {*} value The value to check.
|
|
247
|
+
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
|
|
248
|
+
* @example
|
|
249
|
+
*
|
|
250
|
+
* _.isObject({});
|
|
251
|
+
* // => true
|
|
252
|
+
*
|
|
253
|
+
* _.isObject([1, 2, 3]);
|
|
254
|
+
* // => true
|
|
255
|
+
*
|
|
256
|
+
* _.isObject(_.noop);
|
|
257
|
+
* // => true
|
|
258
|
+
*
|
|
259
|
+
* _.isObject(null);
|
|
260
|
+
* // => false
|
|
261
|
+
*/
|
|
262
|
+
function isObject(value) {
|
|
263
|
+
var type = typeof value;
|
|
264
|
+
return value != null && (type == "object" || type == "function");
|
|
265
|
+
}
|
|
266
|
+
//#endregion
|
|
267
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toNumber.js
|
|
268
|
+
/** Used as references for various `Number` constants. */
|
|
269
|
+
var NAN = NaN;
|
|
270
|
+
/** Used to detect bad signed hexadecimal string values. */
|
|
271
|
+
var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
|
|
272
|
+
/** Used to detect binary string values. */
|
|
273
|
+
var reIsBinary = /^0b[01]+$/i;
|
|
274
|
+
/** Used to detect octal string values. */
|
|
275
|
+
var reIsOctal = /^0o[0-7]+$/i;
|
|
276
|
+
/** Built-in method references without a dependency on `root`. */
|
|
277
|
+
var freeParseInt = parseInt;
|
|
278
|
+
/**
|
|
279
|
+
* Converts `value` to a number.
|
|
280
|
+
*
|
|
281
|
+
* @static
|
|
282
|
+
* @memberOf _
|
|
283
|
+
* @since 4.0.0
|
|
284
|
+
* @category Lang
|
|
285
|
+
* @param {*} value The value to process.
|
|
286
|
+
* @returns {number} Returns the number.
|
|
287
|
+
* @example
|
|
288
|
+
*
|
|
289
|
+
* _.toNumber(3.2);
|
|
290
|
+
* // => 3.2
|
|
291
|
+
*
|
|
292
|
+
* _.toNumber(Number.MIN_VALUE);
|
|
293
|
+
* // => 5e-324
|
|
294
|
+
*
|
|
295
|
+
* _.toNumber(Infinity);
|
|
296
|
+
* // => Infinity
|
|
297
|
+
*
|
|
298
|
+
* _.toNumber('3.2');
|
|
299
|
+
* // => 3.2
|
|
300
|
+
*/
|
|
301
|
+
function toNumber(value) {
|
|
302
|
+
if (typeof value == "number") return value;
|
|
303
|
+
if (isSymbol(value)) return NAN;
|
|
304
|
+
if (isObject(value)) {
|
|
305
|
+
var other = typeof value.valueOf == "function" ? value.valueOf() : value;
|
|
306
|
+
value = isObject(other) ? other + "" : other;
|
|
307
|
+
}
|
|
308
|
+
if (typeof value != "string") return value === 0 ? value : +value;
|
|
309
|
+
value = baseTrim(value);
|
|
310
|
+
var isBinary = reIsBinary.test(value);
|
|
311
|
+
return isBinary || reIsOctal.test(value) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) : reIsBadHex.test(value) ? NAN : +value;
|
|
312
|
+
}
|
|
313
|
+
//#endregion
|
|
314
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/identity.js
|
|
315
|
+
/**
|
|
316
|
+
* This method returns the first argument it receives.
|
|
317
|
+
*
|
|
318
|
+
* @static
|
|
319
|
+
* @since 0.1.0
|
|
320
|
+
* @memberOf _
|
|
321
|
+
* @category Util
|
|
322
|
+
* @param {*} value Any value.
|
|
323
|
+
* @returns {*} Returns `value`.
|
|
324
|
+
* @example
|
|
325
|
+
*
|
|
326
|
+
* var object = { 'a': 1 };
|
|
327
|
+
*
|
|
328
|
+
* console.log(_.identity(object) === object);
|
|
329
|
+
* // => true
|
|
330
|
+
*/
|
|
331
|
+
function identity(value) {
|
|
332
|
+
return value;
|
|
333
|
+
}
|
|
334
|
+
//#endregion
|
|
335
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isFunction.js
|
|
336
|
+
/** `Object#toString` result references. */
|
|
337
|
+
var asyncTag = "[object AsyncFunction]";
|
|
338
|
+
var funcTag$1 = "[object Function]";
|
|
339
|
+
var genTag = "[object GeneratorFunction]";
|
|
340
|
+
var proxyTag = "[object Proxy]";
|
|
341
|
+
/**
|
|
342
|
+
* Checks if `value` is classified as a `Function` object.
|
|
343
|
+
*
|
|
344
|
+
* @static
|
|
345
|
+
* @memberOf _
|
|
346
|
+
* @since 0.1.0
|
|
347
|
+
* @category Lang
|
|
348
|
+
* @param {*} value The value to check.
|
|
349
|
+
* @returns {boolean} Returns `true` if `value` is a function, else `false`.
|
|
350
|
+
* @example
|
|
351
|
+
*
|
|
352
|
+
* _.isFunction(_);
|
|
353
|
+
* // => true
|
|
354
|
+
*
|
|
355
|
+
* _.isFunction(/abc/);
|
|
356
|
+
* // => false
|
|
357
|
+
*/
|
|
358
|
+
function isFunction(value) {
|
|
359
|
+
if (!isObject(value)) return false;
|
|
360
|
+
var tag = baseGetTag(value);
|
|
393
361
|
return tag == funcTag$1 || tag == genTag || tag == asyncTag || tag == proxyTag;
|
|
394
362
|
}
|
|
395
363
|
//#endregion
|
|
@@ -445,7 +413,8 @@
|
|
|
445
413
|
/** Used to detect host constructors (Safari). */
|
|
446
414
|
var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
|
447
415
|
/** Used for built-in method references. */
|
|
448
|
-
var funcProto$1 = Function.prototype
|
|
416
|
+
var funcProto$1 = Function.prototype;
|
|
417
|
+
var objectProto$3 = Object.prototype;
|
|
449
418
|
/** Used to resolve the decompiled source of functions. */
|
|
450
419
|
var funcToString$1 = funcProto$1.toString;
|
|
451
420
|
/** Used to check objects for own properties. */
|
|
@@ -492,468 +461,636 @@
|
|
|
492
461
|
return baseIsNative(value) ? value : void 0;
|
|
493
462
|
}
|
|
494
463
|
//#endregion
|
|
495
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeCreate.js
|
|
499
|
-
var nativeCreate = getNative(Object, "create");
|
|
500
|
-
//#endregion
|
|
501
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashClear.js
|
|
464
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseCreate.js
|
|
465
|
+
/** Built-in value references. */
|
|
466
|
+
var objectCreate = Object.create;
|
|
502
467
|
/**
|
|
503
|
-
*
|
|
468
|
+
* The base implementation of `_.create` without support for assigning
|
|
469
|
+
* properties to the created object.
|
|
504
470
|
*
|
|
505
471
|
* @private
|
|
506
|
-
* @
|
|
507
|
-
* @
|
|
472
|
+
* @param {Object} proto The object to inherit from.
|
|
473
|
+
* @returns {Object} Returns the new object.
|
|
508
474
|
*/
|
|
509
|
-
function
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
475
|
+
var baseCreate = function() {
|
|
476
|
+
function object() {}
|
|
477
|
+
return function(proto) {
|
|
478
|
+
if (!isObject(proto)) return {};
|
|
479
|
+
if (objectCreate) return objectCreate(proto);
|
|
480
|
+
object.prototype = proto;
|
|
481
|
+
var result = new object();
|
|
482
|
+
object.prototype = void 0;
|
|
483
|
+
return result;
|
|
484
|
+
};
|
|
485
|
+
}();
|
|
513
486
|
//#endregion
|
|
514
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
487
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_apply.js
|
|
515
488
|
/**
|
|
516
|
-
*
|
|
489
|
+
* A faster alternative to `Function#apply`, this function invokes `func`
|
|
490
|
+
* with the `this` binding of `thisArg` and the arguments of `args`.
|
|
517
491
|
*
|
|
518
492
|
* @private
|
|
519
|
-
* @
|
|
520
|
-
* @
|
|
521
|
-
* @param {
|
|
522
|
-
* @
|
|
523
|
-
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
493
|
+
* @param {Function} func The function to invoke.
|
|
494
|
+
* @param {*} thisArg The `this` binding of `func`.
|
|
495
|
+
* @param {Array} args The arguments to invoke `func` with.
|
|
496
|
+
* @returns {*} Returns the result of `func`.
|
|
524
497
|
*/
|
|
525
|
-
function
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
498
|
+
function apply(func, thisArg, args) {
|
|
499
|
+
switch (args.length) {
|
|
500
|
+
case 0: return func.call(thisArg);
|
|
501
|
+
case 1: return func.call(thisArg, args[0]);
|
|
502
|
+
case 2: return func.call(thisArg, args[0], args[1]);
|
|
503
|
+
case 3: return func.call(thisArg, args[0], args[1], args[2]);
|
|
504
|
+
}
|
|
505
|
+
return func.apply(thisArg, args);
|
|
529
506
|
}
|
|
530
507
|
//#endregion
|
|
531
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
532
|
-
/** Used to stand-in for `undefined` hash values. */
|
|
533
|
-
var HASH_UNDEFINED$1 = "__lodash_hash_undefined__";
|
|
534
|
-
/** Used to check objects for own properties. */
|
|
535
|
-
var hasOwnProperty$6 = Object.prototype.hasOwnProperty;
|
|
508
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyArray.js
|
|
536
509
|
/**
|
|
537
|
-
*
|
|
510
|
+
* Copies the values of `source` to `array`.
|
|
538
511
|
*
|
|
539
512
|
* @private
|
|
540
|
-
* @
|
|
541
|
-
* @
|
|
542
|
-
* @
|
|
543
|
-
* @returns {*} Returns the entry value.
|
|
513
|
+
* @param {Array} source The array to copy values from.
|
|
514
|
+
* @param {Array} [array=[]] The array to copy values to.
|
|
515
|
+
* @returns {Array} Returns `array`.
|
|
544
516
|
*/
|
|
545
|
-
function
|
|
546
|
-
var
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
}
|
|
551
|
-
return hasOwnProperty$6.call(data, key) ? data[key] : void 0;
|
|
517
|
+
function copyArray(source, array) {
|
|
518
|
+
var index = -1, length = source.length;
|
|
519
|
+
array || (array = Array(length));
|
|
520
|
+
while (++index < length) array[index] = source[index];
|
|
521
|
+
return array;
|
|
552
522
|
}
|
|
553
523
|
//#endregion
|
|
554
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
555
|
-
/** Used to
|
|
556
|
-
var
|
|
524
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_shortOut.js
|
|
525
|
+
/** Used to detect hot functions by number of calls within a span of milliseconds. */
|
|
526
|
+
var HOT_COUNT = 800;
|
|
527
|
+
var HOT_SPAN = 16;
|
|
528
|
+
var nativeNow = Date.now;
|
|
557
529
|
/**
|
|
558
|
-
*
|
|
530
|
+
* Creates a function that'll short out and invoke `identity` instead
|
|
531
|
+
* of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`
|
|
532
|
+
* milliseconds.
|
|
559
533
|
*
|
|
560
534
|
* @private
|
|
561
|
-
* @
|
|
562
|
-
* @
|
|
563
|
-
* @param {string} key The key of the entry to check.
|
|
564
|
-
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
535
|
+
* @param {Function} func The function to restrict.
|
|
536
|
+
* @returns {Function} Returns the new shortable function.
|
|
565
537
|
*/
|
|
566
|
-
function
|
|
567
|
-
var
|
|
568
|
-
return
|
|
538
|
+
function shortOut(func) {
|
|
539
|
+
var count = 0, lastCalled = 0;
|
|
540
|
+
return function() {
|
|
541
|
+
var stamp = nativeNow(), remaining = HOT_SPAN - (stamp - lastCalled);
|
|
542
|
+
lastCalled = stamp;
|
|
543
|
+
if (remaining > 0) {
|
|
544
|
+
if (++count >= HOT_COUNT) return arguments[0];
|
|
545
|
+
} else count = 0;
|
|
546
|
+
return func.apply(void 0, arguments);
|
|
547
|
+
};
|
|
569
548
|
}
|
|
570
549
|
//#endregion
|
|
571
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
572
|
-
/** Used to stand-in for `undefined` hash values. */
|
|
573
|
-
var HASH_UNDEFINED = "__lodash_hash_undefined__";
|
|
550
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/constant.js
|
|
574
551
|
/**
|
|
575
|
-
*
|
|
552
|
+
* Creates a function that returns `value`.
|
|
576
553
|
*
|
|
577
|
-
* @
|
|
578
|
-
* @
|
|
579
|
-
* @
|
|
580
|
-
* @
|
|
581
|
-
* @param {*} value The value to
|
|
582
|
-
* @returns {
|
|
583
|
-
|
|
584
|
-
function hashSet(key, value) {
|
|
585
|
-
var data = this.__data__;
|
|
586
|
-
this.size += this.has(key) ? 0 : 1;
|
|
587
|
-
data[key] = nativeCreate && value === void 0 ? HASH_UNDEFINED : value;
|
|
588
|
-
return this;
|
|
589
|
-
}
|
|
590
|
-
//#endregion
|
|
591
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Hash.js
|
|
592
|
-
/**
|
|
593
|
-
* Creates a hash object.
|
|
554
|
+
* @static
|
|
555
|
+
* @memberOf _
|
|
556
|
+
* @since 2.4.0
|
|
557
|
+
* @category Util
|
|
558
|
+
* @param {*} value The value to return from the new function.
|
|
559
|
+
* @returns {Function} Returns the new constant function.
|
|
560
|
+
* @example
|
|
594
561
|
*
|
|
595
|
-
*
|
|
596
|
-
*
|
|
597
|
-
*
|
|
562
|
+
* var objects = _.times(2, _.constant({ 'a': 1 }));
|
|
563
|
+
*
|
|
564
|
+
* console.log(objects);
|
|
565
|
+
* // => [{ 'a': 1 }, { 'a': 1 }]
|
|
566
|
+
*
|
|
567
|
+
* console.log(objects[0] === objects[1]);
|
|
568
|
+
* // => true
|
|
598
569
|
*/
|
|
599
|
-
function
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
var entry = entries[index];
|
|
604
|
-
this.set(entry[0], entry[1]);
|
|
605
|
-
}
|
|
570
|
+
function constant(value) {
|
|
571
|
+
return function() {
|
|
572
|
+
return value;
|
|
573
|
+
};
|
|
606
574
|
}
|
|
607
|
-
Hash.prototype.clear = hashClear;
|
|
608
|
-
Hash.prototype["delete"] = hashDelete;
|
|
609
|
-
Hash.prototype.get = hashGet;
|
|
610
|
-
Hash.prototype.has = hashHas;
|
|
611
|
-
Hash.prototype.set = hashSet;
|
|
612
575
|
//#endregion
|
|
613
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
576
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_defineProperty.js
|
|
577
|
+
var defineProperty = function() {
|
|
578
|
+
try {
|
|
579
|
+
var func = getNative(Object, "defineProperty");
|
|
580
|
+
func({}, "", {});
|
|
581
|
+
return func;
|
|
582
|
+
} catch (e) {}
|
|
583
|
+
}();
|
|
584
|
+
//#endregion
|
|
585
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setToString.js
|
|
614
586
|
/**
|
|
615
|
-
*
|
|
587
|
+
* Sets the `toString` method of `func` to return `string`.
|
|
616
588
|
*
|
|
617
589
|
* @private
|
|
618
|
-
* @
|
|
619
|
-
* @
|
|
590
|
+
* @param {Function} func The function to modify.
|
|
591
|
+
* @param {Function} string The `toString` result.
|
|
592
|
+
* @returns {Function} Returns `func`.
|
|
620
593
|
*/
|
|
621
|
-
function
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
"
|
|
625
|
-
"
|
|
626
|
-
"
|
|
627
|
-
};
|
|
628
|
-
}
|
|
594
|
+
var setToString = shortOut(!defineProperty ? identity : function(func, string) {
|
|
595
|
+
return defineProperty(func, "toString", {
|
|
596
|
+
"configurable": true,
|
|
597
|
+
"enumerable": false,
|
|
598
|
+
"value": constant(string),
|
|
599
|
+
"writable": true
|
|
600
|
+
});
|
|
601
|
+
});
|
|
629
602
|
//#endregion
|
|
630
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
603
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIndex.js
|
|
604
|
+
/** Used as references for various `Number` constants. */
|
|
605
|
+
var MAX_SAFE_INTEGER$1 = 9007199254740991;
|
|
606
|
+
/** Used to detect unsigned integer values. */
|
|
607
|
+
var reIsUint = /^(?:0|[1-9]\d*)$/;
|
|
631
608
|
/**
|
|
632
|
-
* Checks if `value` is
|
|
609
|
+
* Checks if `value` is a valid array-like index.
|
|
633
610
|
*
|
|
634
611
|
* @private
|
|
635
612
|
* @param {*} value The value to check.
|
|
636
|
-
* @
|
|
613
|
+
* @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
|
|
614
|
+
* @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
|
|
637
615
|
*/
|
|
638
|
-
function
|
|
616
|
+
function isIndex(value, length) {
|
|
639
617
|
var type = typeof value;
|
|
640
|
-
|
|
618
|
+
length = length == null ? MAX_SAFE_INTEGER$1 : length;
|
|
619
|
+
return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && value > -1 && value % 1 == 0 && value < length;
|
|
641
620
|
}
|
|
642
621
|
//#endregion
|
|
643
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
622
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssignValue.js
|
|
644
623
|
/**
|
|
645
|
-
*
|
|
624
|
+
* The base implementation of `assignValue` and `assignMergeValue` without
|
|
625
|
+
* value checks.
|
|
646
626
|
*
|
|
647
627
|
* @private
|
|
648
|
-
* @param {Object}
|
|
649
|
-
* @param {string} key The
|
|
650
|
-
* @
|
|
628
|
+
* @param {Object} object The object to modify.
|
|
629
|
+
* @param {string} key The key of the property to assign.
|
|
630
|
+
* @param {*} value The value to assign.
|
|
651
631
|
*/
|
|
652
|
-
function
|
|
653
|
-
|
|
654
|
-
|
|
632
|
+
function baseAssignValue(object, key, value) {
|
|
633
|
+
if (key == "__proto__" && defineProperty) defineProperty(object, key, {
|
|
634
|
+
"configurable": true,
|
|
635
|
+
"enumerable": true,
|
|
636
|
+
"value": value,
|
|
637
|
+
"writable": true
|
|
638
|
+
});
|
|
639
|
+
else object[key] = value;
|
|
655
640
|
}
|
|
656
641
|
//#endregion
|
|
657
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
642
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/eq.js
|
|
658
643
|
/**
|
|
659
|
-
*
|
|
644
|
+
* Performs a
|
|
645
|
+
* [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
|
646
|
+
* comparison between two values to determine if they are equivalent.
|
|
660
647
|
*
|
|
661
|
-
* @
|
|
662
|
-
* @
|
|
663
|
-
* @
|
|
664
|
-
* @
|
|
665
|
-
* @
|
|
648
|
+
* @static
|
|
649
|
+
* @memberOf _
|
|
650
|
+
* @since 4.0.0
|
|
651
|
+
* @category Lang
|
|
652
|
+
* @param {*} value The value to compare.
|
|
653
|
+
* @param {*} other The other value to compare.
|
|
654
|
+
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
|
655
|
+
* @example
|
|
656
|
+
*
|
|
657
|
+
* var object = { 'a': 1 };
|
|
658
|
+
* var other = { 'a': 1 };
|
|
659
|
+
*
|
|
660
|
+
* _.eq(object, object);
|
|
661
|
+
* // => true
|
|
662
|
+
*
|
|
663
|
+
* _.eq(object, other);
|
|
664
|
+
* // => false
|
|
665
|
+
*
|
|
666
|
+
* _.eq('a', 'a');
|
|
667
|
+
* // => true
|
|
668
|
+
*
|
|
669
|
+
* _.eq('a', Object('a'));
|
|
670
|
+
* // => false
|
|
671
|
+
*
|
|
672
|
+
* _.eq(NaN, NaN);
|
|
673
|
+
* // => true
|
|
666
674
|
*/
|
|
667
|
-
function
|
|
668
|
-
|
|
669
|
-
this.size -= result ? 1 : 0;
|
|
670
|
-
return result;
|
|
675
|
+
function eq(value, other) {
|
|
676
|
+
return value === other || value !== value && other !== other;
|
|
671
677
|
}
|
|
672
678
|
//#endregion
|
|
673
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
679
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignValue.js
|
|
680
|
+
/** Used to check objects for own properties. */
|
|
681
|
+
var hasOwnProperty$6 = Object.prototype.hasOwnProperty;
|
|
674
682
|
/**
|
|
675
|
-
*
|
|
683
|
+
* Assigns `value` to `key` of `object` if the existing value is not equivalent
|
|
684
|
+
* using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
|
685
|
+
* for equality comparisons.
|
|
676
686
|
*
|
|
677
687
|
* @private
|
|
678
|
-
* @
|
|
679
|
-
* @
|
|
680
|
-
* @param {
|
|
681
|
-
* @returns {*} Returns the entry value.
|
|
688
|
+
* @param {Object} object The object to modify.
|
|
689
|
+
* @param {string} key The key of the property to assign.
|
|
690
|
+
* @param {*} value The value to assign.
|
|
682
691
|
*/
|
|
683
|
-
function
|
|
684
|
-
|
|
692
|
+
function assignValue(object, key, value) {
|
|
693
|
+
var objValue = object[key];
|
|
694
|
+
if (!(hasOwnProperty$6.call(object, key) && eq(objValue, value)) || value === void 0 && !(key in object)) baseAssignValue(object, key, value);
|
|
685
695
|
}
|
|
686
696
|
//#endregion
|
|
687
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
697
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyObject.js
|
|
688
698
|
/**
|
|
689
|
-
*
|
|
699
|
+
* Copies properties of `source` to `object`.
|
|
690
700
|
*
|
|
691
701
|
* @private
|
|
692
|
-
* @
|
|
693
|
-
* @
|
|
694
|
-
* @param {
|
|
695
|
-
* @
|
|
702
|
+
* @param {Object} source The object to copy properties from.
|
|
703
|
+
* @param {Array} props The property identifiers to copy.
|
|
704
|
+
* @param {Object} [object={}] The object to copy properties to.
|
|
705
|
+
* @param {Function} [customizer] The function to customize copied values.
|
|
706
|
+
* @returns {Object} Returns `object`.
|
|
696
707
|
*/
|
|
697
|
-
function
|
|
698
|
-
|
|
708
|
+
function copyObject(source, props, object, customizer) {
|
|
709
|
+
var isNew = !object;
|
|
710
|
+
object || (object = {});
|
|
711
|
+
var index = -1, length = props.length;
|
|
712
|
+
while (++index < length) {
|
|
713
|
+
var key = props[index];
|
|
714
|
+
var newValue = customizer ? customizer(object[key], source[key], key, object, source) : void 0;
|
|
715
|
+
if (newValue === void 0) newValue = source[key];
|
|
716
|
+
if (isNew) baseAssignValue(object, key, newValue);
|
|
717
|
+
else assignValue(object, key, newValue);
|
|
718
|
+
}
|
|
719
|
+
return object;
|
|
699
720
|
}
|
|
700
721
|
//#endregion
|
|
701
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
722
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overRest.js
|
|
723
|
+
var nativeMax$1 = Math.max;
|
|
702
724
|
/**
|
|
703
|
-
*
|
|
725
|
+
* A specialized version of `baseRest` which transforms the rest array.
|
|
704
726
|
*
|
|
705
727
|
* @private
|
|
706
|
-
* @
|
|
707
|
-
* @
|
|
708
|
-
* @param {
|
|
709
|
-
* @
|
|
710
|
-
* @returns {Object} Returns the map cache instance.
|
|
728
|
+
* @param {Function} func The function to apply a rest parameter to.
|
|
729
|
+
* @param {number} [start=func.length-1] The start position of the rest parameter.
|
|
730
|
+
* @param {Function} transform The rest array transform.
|
|
731
|
+
* @returns {Function} Returns the new function.
|
|
711
732
|
*/
|
|
712
|
-
function
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
733
|
+
function overRest(func, start, transform) {
|
|
734
|
+
start = nativeMax$1(start === void 0 ? func.length - 1 : start, 0);
|
|
735
|
+
return function() {
|
|
736
|
+
var args = arguments, index = -1, length = nativeMax$1(args.length - start, 0), array = Array(length);
|
|
737
|
+
while (++index < length) array[index] = args[start + index];
|
|
738
|
+
index = -1;
|
|
739
|
+
var otherArgs = Array(start + 1);
|
|
740
|
+
while (++index < start) otherArgs[index] = args[index];
|
|
741
|
+
otherArgs[start] = transform(array);
|
|
742
|
+
return apply(func, this, otherArgs);
|
|
743
|
+
};
|
|
717
744
|
}
|
|
718
745
|
//#endregion
|
|
719
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
746
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseRest.js
|
|
720
747
|
/**
|
|
721
|
-
*
|
|
748
|
+
* The base implementation of `_.rest` which doesn't validate or coerce arguments.
|
|
722
749
|
*
|
|
723
750
|
* @private
|
|
724
|
-
* @
|
|
725
|
-
* @param {
|
|
751
|
+
* @param {Function} func The function to apply a rest parameter to.
|
|
752
|
+
* @param {number} [start=func.length-1] The start position of the rest parameter.
|
|
753
|
+
* @returns {Function} Returns the new function.
|
|
726
754
|
*/
|
|
727
|
-
function
|
|
728
|
-
|
|
729
|
-
this.clear();
|
|
730
|
-
while (++index < length) {
|
|
731
|
-
var entry = entries[index];
|
|
732
|
-
this.set(entry[0], entry[1]);
|
|
733
|
-
}
|
|
755
|
+
function baseRest(func, start) {
|
|
756
|
+
return setToString(overRest(func, start, identity), func + "");
|
|
734
757
|
}
|
|
735
|
-
MapCache.prototype.clear = mapCacheClear;
|
|
736
|
-
MapCache.prototype["delete"] = mapCacheDelete;
|
|
737
|
-
MapCache.prototype.get = mapCacheGet;
|
|
738
|
-
MapCache.prototype.has = mapCacheHas;
|
|
739
|
-
MapCache.prototype.set = mapCacheSet;
|
|
740
758
|
//#endregion
|
|
741
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
742
|
-
/** Used as
|
|
743
|
-
var
|
|
759
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isLength.js
|
|
760
|
+
/** Used as references for various `Number` constants. */
|
|
761
|
+
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
744
762
|
/**
|
|
745
|
-
*
|
|
763
|
+
* Checks if `value` is a valid array-like length.
|
|
746
764
|
*
|
|
747
|
-
*
|
|
748
|
-
*
|
|
749
|
-
*
|
|
750
|
-
* @
|
|
751
|
-
* @
|
|
752
|
-
* @
|
|
765
|
+
* **Note:** This method is loosely based on
|
|
766
|
+
* [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
|
|
767
|
+
*
|
|
768
|
+
* @static
|
|
769
|
+
* @memberOf _
|
|
770
|
+
* @since 4.0.0
|
|
771
|
+
* @category Lang
|
|
772
|
+
* @param {*} value The value to check.
|
|
773
|
+
* @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
|
|
774
|
+
* @example
|
|
775
|
+
*
|
|
776
|
+
* _.isLength(3);
|
|
777
|
+
* // => true
|
|
778
|
+
*
|
|
779
|
+
* _.isLength(Number.MIN_VALUE);
|
|
780
|
+
* // => false
|
|
781
|
+
*
|
|
782
|
+
* _.isLength(Infinity);
|
|
783
|
+
* // => false
|
|
784
|
+
*
|
|
785
|
+
* _.isLength('3');
|
|
786
|
+
* // => false
|
|
753
787
|
*/
|
|
754
|
-
function
|
|
755
|
-
|
|
756
|
-
if (data instanceof ListCache) {
|
|
757
|
-
var pairs = data.__data__;
|
|
758
|
-
if (!Map || pairs.length < LARGE_ARRAY_SIZE - 1) {
|
|
759
|
-
pairs.push([key, value]);
|
|
760
|
-
this.size = ++data.size;
|
|
761
|
-
return this;
|
|
762
|
-
}
|
|
763
|
-
data = this.__data__ = new MapCache(pairs);
|
|
764
|
-
}
|
|
765
|
-
data.set(key, value);
|
|
766
|
-
this.size = data.size;
|
|
767
|
-
return this;
|
|
788
|
+
function isLength(value) {
|
|
789
|
+
return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
|
768
790
|
}
|
|
769
791
|
//#endregion
|
|
770
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
792
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLike.js
|
|
771
793
|
/**
|
|
772
|
-
*
|
|
794
|
+
* Checks if `value` is array-like. A value is considered array-like if it's
|
|
795
|
+
* not a function and has a `value.length` that's an integer greater than or
|
|
796
|
+
* equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
|
|
773
797
|
*
|
|
774
|
-
* @
|
|
775
|
-
* @
|
|
776
|
-
* @
|
|
798
|
+
* @static
|
|
799
|
+
* @memberOf _
|
|
800
|
+
* @since 4.0.0
|
|
801
|
+
* @category Lang
|
|
802
|
+
* @param {*} value The value to check.
|
|
803
|
+
* @returns {boolean} Returns `true` if `value` is array-like, else `false`.
|
|
804
|
+
* @example
|
|
805
|
+
*
|
|
806
|
+
* _.isArrayLike([1, 2, 3]);
|
|
807
|
+
* // => true
|
|
808
|
+
*
|
|
809
|
+
* _.isArrayLike(document.body.children);
|
|
810
|
+
* // => true
|
|
811
|
+
*
|
|
812
|
+
* _.isArrayLike('abc');
|
|
813
|
+
* // => true
|
|
814
|
+
*
|
|
815
|
+
* _.isArrayLike(_.noop);
|
|
816
|
+
* // => false
|
|
777
817
|
*/
|
|
778
|
-
function
|
|
779
|
-
|
|
780
|
-
this.size = data.size;
|
|
818
|
+
function isArrayLike(value) {
|
|
819
|
+
return value != null && isLength(value.length) && !isFunction(value);
|
|
781
820
|
}
|
|
782
|
-
Stack.prototype.clear = stackClear;
|
|
783
|
-
Stack.prototype["delete"] = stackDelete;
|
|
784
|
-
Stack.prototype.get = stackGet;
|
|
785
|
-
Stack.prototype.has = stackHas;
|
|
786
|
-
Stack.prototype.set = stackSet;
|
|
787
|
-
//#endregion
|
|
788
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_defineProperty.js
|
|
789
|
-
var defineProperty = function() {
|
|
790
|
-
try {
|
|
791
|
-
var func = getNative(Object, "defineProperty");
|
|
792
|
-
func({}, "", {});
|
|
793
|
-
return func;
|
|
794
|
-
} catch (e) {}
|
|
795
|
-
}();
|
|
796
821
|
//#endregion
|
|
797
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
822
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIterateeCall.js
|
|
798
823
|
/**
|
|
799
|
-
*
|
|
800
|
-
* value checks.
|
|
824
|
+
* Checks if the given arguments are from an iteratee call.
|
|
801
825
|
*
|
|
802
826
|
* @private
|
|
803
|
-
* @param {
|
|
804
|
-
* @param {
|
|
805
|
-
* @param {*}
|
|
827
|
+
* @param {*} value The potential iteratee value argument.
|
|
828
|
+
* @param {*} index The potential iteratee index or key argument.
|
|
829
|
+
* @param {*} object The potential iteratee object argument.
|
|
830
|
+
* @returns {boolean} Returns `true` if the arguments are from an iteratee call,
|
|
831
|
+
* else `false`.
|
|
806
832
|
*/
|
|
807
|
-
function
|
|
808
|
-
if (
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
"writable": true
|
|
813
|
-
});
|
|
814
|
-
else object[key] = value;
|
|
833
|
+
function isIterateeCall(value, index, object) {
|
|
834
|
+
if (!isObject(object)) return false;
|
|
835
|
+
var type = typeof index;
|
|
836
|
+
if (type == "number" ? isArrayLike(object) && isIndex(index, object.length) : type == "string" && index in object) return eq(object[index], value);
|
|
837
|
+
return false;
|
|
815
838
|
}
|
|
816
839
|
//#endregion
|
|
817
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
840
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createAssigner.js
|
|
818
841
|
/**
|
|
819
|
-
*
|
|
820
|
-
* `undefined` values.
|
|
842
|
+
* Creates a function like `_.assign`.
|
|
821
843
|
*
|
|
822
844
|
* @private
|
|
823
|
-
* @param {
|
|
824
|
-
* @
|
|
825
|
-
* @param {*} value The value to assign.
|
|
845
|
+
* @param {Function} assigner The function to assign values.
|
|
846
|
+
* @returns {Function} Returns the new assigner function.
|
|
826
847
|
*/
|
|
827
|
-
function
|
|
828
|
-
|
|
848
|
+
function createAssigner(assigner) {
|
|
849
|
+
return baseRest(function(object, sources) {
|
|
850
|
+
var index = -1, length = sources.length, customizer = length > 1 ? sources[length - 1] : void 0, guard = length > 2 ? sources[2] : void 0;
|
|
851
|
+
customizer = assigner.length > 3 && typeof customizer == "function" ? (length--, customizer) : void 0;
|
|
852
|
+
if (guard && isIterateeCall(sources[0], sources[1], guard)) {
|
|
853
|
+
customizer = length < 3 ? void 0 : customizer;
|
|
854
|
+
length = 1;
|
|
855
|
+
}
|
|
856
|
+
object = Object(object);
|
|
857
|
+
while (++index < length) {
|
|
858
|
+
var source = sources[index];
|
|
859
|
+
if (source) assigner(object, source, index, customizer);
|
|
860
|
+
}
|
|
861
|
+
return object;
|
|
862
|
+
});
|
|
829
863
|
}
|
|
830
864
|
//#endregion
|
|
831
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
865
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isPrototype.js
|
|
866
|
+
/** Used for built-in method references. */
|
|
867
|
+
var objectProto$2 = Object.prototype;
|
|
832
868
|
/**
|
|
833
|
-
*
|
|
869
|
+
* Checks if `value` is likely a prototype object.
|
|
834
870
|
*
|
|
835
871
|
* @private
|
|
836
|
-
* @param {
|
|
837
|
-
* @returns {
|
|
872
|
+
* @param {*} value The value to check.
|
|
873
|
+
* @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
|
|
838
874
|
*/
|
|
839
|
-
function
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
while (length--) {
|
|
843
|
-
var key = props[fromRight ? length : ++index];
|
|
844
|
-
if (iteratee(iterable[key], key, iterable) === false) break;
|
|
845
|
-
}
|
|
846
|
-
return object;
|
|
847
|
-
};
|
|
875
|
+
function isPrototype(value) {
|
|
876
|
+
var Ctor = value && value.constructor;
|
|
877
|
+
return value === (typeof Ctor == "function" && Ctor.prototype || objectProto$2);
|
|
848
878
|
}
|
|
849
879
|
//#endregion
|
|
850
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
880
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseTimes.js
|
|
851
881
|
/**
|
|
852
|
-
* The base implementation of `
|
|
853
|
-
*
|
|
854
|
-
* Iteratee functions may exit iteration early by explicitly returning `false`.
|
|
882
|
+
* The base implementation of `_.times` without support for iteratee shorthands
|
|
883
|
+
* or max array length checks.
|
|
855
884
|
*
|
|
856
885
|
* @private
|
|
857
|
-
* @param {
|
|
886
|
+
* @param {number} n The number of times to invoke `iteratee`.
|
|
858
887
|
* @param {Function} iteratee The function invoked per iteration.
|
|
859
|
-
* @
|
|
860
|
-
* @returns {Object} Returns `object`.
|
|
888
|
+
* @returns {Array} Returns the array of results.
|
|
861
889
|
*/
|
|
862
|
-
|
|
890
|
+
function baseTimes(n, iteratee) {
|
|
891
|
+
var index = -1, result = Array(n);
|
|
892
|
+
while (++index < n) result[index] = iteratee(index);
|
|
893
|
+
return result;
|
|
894
|
+
}
|
|
863
895
|
//#endregion
|
|
864
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
865
|
-
/**
|
|
866
|
-
var
|
|
867
|
-
/** Detect free variable `module`. */
|
|
868
|
-
var freeModule$2 = freeExports$2 && typeof module == "object" && module && !module.nodeType && module;
|
|
869
|
-
/** Built-in value references. */
|
|
870
|
-
var Buffer$2 = freeModule$2 && freeModule$2.exports === freeExports$2 ? root.Buffer : void 0, allocUnsafe = Buffer$2 ? Buffer$2.allocUnsafe : void 0;
|
|
896
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsArguments.js
|
|
897
|
+
/** `Object#toString` result references. */
|
|
898
|
+
var argsTag$1 = "[object Arguments]";
|
|
871
899
|
/**
|
|
872
|
-
*
|
|
900
|
+
* The base implementation of `_.isArguments`.
|
|
873
901
|
*
|
|
874
902
|
* @private
|
|
875
|
-
* @param {
|
|
876
|
-
* @
|
|
877
|
-
* @returns {Buffer} Returns the cloned buffer.
|
|
903
|
+
* @param {*} value The value to check.
|
|
904
|
+
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
|
878
905
|
*/
|
|
879
|
-
function
|
|
880
|
-
|
|
881
|
-
var length = buffer.length, result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
|
|
882
|
-
buffer.copy(result);
|
|
883
|
-
return result;
|
|
906
|
+
function baseIsArguments(value) {
|
|
907
|
+
return isObjectLike(value) && baseGetTag(value) == argsTag$1;
|
|
884
908
|
}
|
|
885
909
|
//#endregion
|
|
886
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
910
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArguments.js
|
|
911
|
+
/** Used for built-in method references. */
|
|
912
|
+
var objectProto$1 = Object.prototype;
|
|
913
|
+
/** Used to check objects for own properties. */
|
|
914
|
+
var hasOwnProperty$5 = objectProto$1.hasOwnProperty;
|
|
887
915
|
/** Built-in value references. */
|
|
888
|
-
var
|
|
916
|
+
var propertyIsEnumerable = objectProto$1.propertyIsEnumerable;
|
|
917
|
+
/**
|
|
918
|
+
* Checks if `value` is likely an `arguments` object.
|
|
919
|
+
*
|
|
920
|
+
* @static
|
|
921
|
+
* @memberOf _
|
|
922
|
+
* @since 0.1.0
|
|
923
|
+
* @category Lang
|
|
924
|
+
* @param {*} value The value to check.
|
|
925
|
+
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
|
926
|
+
* else `false`.
|
|
927
|
+
* @example
|
|
928
|
+
*
|
|
929
|
+
* _.isArguments(function() { return arguments; }());
|
|
930
|
+
* // => true
|
|
931
|
+
*
|
|
932
|
+
* _.isArguments([1, 2, 3]);
|
|
933
|
+
* // => false
|
|
934
|
+
*/
|
|
935
|
+
var isArguments = baseIsArguments(function() {
|
|
936
|
+
return arguments;
|
|
937
|
+
}()) ? baseIsArguments : function(value) {
|
|
938
|
+
return isObjectLike(value) && hasOwnProperty$5.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
|
|
939
|
+
};
|
|
889
940
|
//#endregion
|
|
890
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
941
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubFalse.js
|
|
891
942
|
/**
|
|
892
|
-
*
|
|
943
|
+
* This method returns `false`.
|
|
893
944
|
*
|
|
894
|
-
* @
|
|
895
|
-
* @
|
|
896
|
-
* @
|
|
945
|
+
* @static
|
|
946
|
+
* @memberOf _
|
|
947
|
+
* @since 4.13.0
|
|
948
|
+
* @category Util
|
|
949
|
+
* @returns {boolean} Returns `false`.
|
|
950
|
+
* @example
|
|
951
|
+
*
|
|
952
|
+
* _.times(2, _.stubFalse);
|
|
953
|
+
* // => [false, false]
|
|
897
954
|
*/
|
|
898
|
-
function
|
|
899
|
-
|
|
900
|
-
new Uint8Array$1(result).set(new Uint8Array$1(arrayBuffer));
|
|
901
|
-
return result;
|
|
955
|
+
function stubFalse() {
|
|
956
|
+
return false;
|
|
902
957
|
}
|
|
903
958
|
//#endregion
|
|
904
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
959
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isBuffer.js
|
|
960
|
+
/** Detect free variable `exports`. */
|
|
961
|
+
var freeExports$2 = typeof exports == "object" && exports && !exports.nodeType && exports;
|
|
962
|
+
/** Detect free variable `module`. */
|
|
963
|
+
var freeModule$2 = freeExports$2 && typeof module == "object" && module && !module.nodeType && module;
|
|
964
|
+
/** Built-in value references. */
|
|
965
|
+
var Buffer$2 = freeModule$2 && freeModule$2.exports === freeExports$2 ? root.Buffer : void 0;
|
|
905
966
|
/**
|
|
906
|
-
*
|
|
967
|
+
* Checks if `value` is a buffer.
|
|
907
968
|
*
|
|
908
|
-
* @
|
|
909
|
-
* @
|
|
910
|
-
* @
|
|
911
|
-
* @
|
|
969
|
+
* @static
|
|
970
|
+
* @memberOf _
|
|
971
|
+
* @since 4.3.0
|
|
972
|
+
* @category Lang
|
|
973
|
+
* @param {*} value The value to check.
|
|
974
|
+
* @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
|
|
975
|
+
* @example
|
|
976
|
+
*
|
|
977
|
+
* _.isBuffer(new Buffer(2));
|
|
978
|
+
* // => true
|
|
979
|
+
*
|
|
980
|
+
* _.isBuffer(new Uint8Array(2));
|
|
981
|
+
* // => false
|
|
912
982
|
*/
|
|
913
|
-
|
|
914
|
-
var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
|
|
915
|
-
return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
|
|
916
|
-
}
|
|
983
|
+
var isBuffer = (Buffer$2 ? Buffer$2.isBuffer : void 0) || stubFalse;
|
|
917
984
|
//#endregion
|
|
918
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
985
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsTypedArray.js
|
|
986
|
+
/** `Object#toString` result references. */
|
|
987
|
+
var argsTag = "[object Arguments]";
|
|
988
|
+
var arrayTag = "[object Array]";
|
|
989
|
+
var boolTag = "[object Boolean]";
|
|
990
|
+
var dateTag = "[object Date]";
|
|
991
|
+
var errorTag = "[object Error]";
|
|
992
|
+
var funcTag = "[object Function]";
|
|
993
|
+
var mapTag = "[object Map]";
|
|
994
|
+
var numberTag = "[object Number]";
|
|
995
|
+
var objectTag$1 = "[object Object]";
|
|
996
|
+
var regexpTag = "[object RegExp]";
|
|
997
|
+
var setTag = "[object Set]";
|
|
998
|
+
var stringTag = "[object String]";
|
|
999
|
+
var weakMapTag = "[object WeakMap]";
|
|
1000
|
+
var arrayBufferTag = "[object ArrayBuffer]";
|
|
1001
|
+
var dataViewTag = "[object DataView]";
|
|
1002
|
+
var float32Tag = "[object Float32Array]";
|
|
1003
|
+
var float64Tag = "[object Float64Array]";
|
|
1004
|
+
var int8Tag = "[object Int8Array]";
|
|
1005
|
+
var int16Tag = "[object Int16Array]";
|
|
1006
|
+
var int32Tag = "[object Int32Array]";
|
|
1007
|
+
var uint8Tag = "[object Uint8Array]";
|
|
1008
|
+
var uint8ClampedTag = "[object Uint8ClampedArray]";
|
|
1009
|
+
var uint16Tag = "[object Uint16Array]";
|
|
1010
|
+
var uint32Tag = "[object Uint32Array]";
|
|
1011
|
+
/** Used to identify `toStringTag` values of typed arrays. */
|
|
1012
|
+
var typedArrayTags = {};
|
|
1013
|
+
typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true;
|
|
1014
|
+
typedArrayTags[argsTag] = typedArrayTags[arrayTag] = typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = typedArrayTags[errorTag] = typedArrayTags[funcTag] = typedArrayTags[mapTag] = typedArrayTags[numberTag] = typedArrayTags[objectTag$1] = typedArrayTags[regexpTag] = typedArrayTags[setTag] = typedArrayTags[stringTag] = typedArrayTags[weakMapTag] = false;
|
|
919
1015
|
/**
|
|
920
|
-
*
|
|
1016
|
+
* The base implementation of `_.isTypedArray` without Node.js optimizations.
|
|
921
1017
|
*
|
|
922
1018
|
* @private
|
|
923
|
-
* @param {
|
|
924
|
-
* @
|
|
925
|
-
* @returns {Array} Returns `array`.
|
|
1019
|
+
* @param {*} value The value to check.
|
|
1020
|
+
* @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
|
|
926
1021
|
*/
|
|
927
|
-
function
|
|
928
|
-
|
|
929
|
-
array || (array = Array(length));
|
|
930
|
-
while (++index < length) array[index] = source[index];
|
|
931
|
-
return array;
|
|
1022
|
+
function baseIsTypedArray(value) {
|
|
1023
|
+
return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
|
|
932
1024
|
}
|
|
933
1025
|
//#endregion
|
|
934
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
935
|
-
/** Built-in value references. */
|
|
936
|
-
var objectCreate = Object.create;
|
|
1026
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUnary.js
|
|
937
1027
|
/**
|
|
938
|
-
* The base implementation of `_.
|
|
939
|
-
* properties to the created object.
|
|
1028
|
+
* The base implementation of `_.unary` without support for storing metadata.
|
|
940
1029
|
*
|
|
941
1030
|
* @private
|
|
942
|
-
* @param {
|
|
943
|
-
* @returns {
|
|
1031
|
+
* @param {Function} func The function to cap arguments for.
|
|
1032
|
+
* @returns {Function} Returns the new capped function.
|
|
944
1033
|
*/
|
|
945
|
-
|
|
946
|
-
function
|
|
947
|
-
|
|
948
|
-
if (!isObject(proto)) return {};
|
|
949
|
-
if (objectCreate) return objectCreate(proto);
|
|
950
|
-
object.prototype = proto;
|
|
951
|
-
var result = new object();
|
|
952
|
-
object.prototype = void 0;
|
|
953
|
-
return result;
|
|
1034
|
+
function baseUnary(func) {
|
|
1035
|
+
return function(value) {
|
|
1036
|
+
return func(value);
|
|
954
1037
|
};
|
|
1038
|
+
}
|
|
1039
|
+
//#endregion
|
|
1040
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nodeUtil.js
|
|
1041
|
+
/** Detect free variable `exports`. */
|
|
1042
|
+
var freeExports$1 = typeof exports == "object" && exports && !exports.nodeType && exports;
|
|
1043
|
+
/** Detect free variable `module`. */
|
|
1044
|
+
var freeModule$1 = freeExports$1 && typeof module == "object" && module && !module.nodeType && module;
|
|
1045
|
+
/** Detect free variable `process` from Node.js. */
|
|
1046
|
+
var freeProcess = freeModule$1 && freeModule$1.exports === freeExports$1 && freeGlobal.process;
|
|
1047
|
+
/** Used to access faster Node.js helpers. */
|
|
1048
|
+
var nodeUtil = function() {
|
|
1049
|
+
try {
|
|
1050
|
+
var types = freeModule$1 && freeModule$1.require && freeModule$1.require("util").types;
|
|
1051
|
+
if (types) return types;
|
|
1052
|
+
return freeProcess && freeProcess.binding && freeProcess.binding("util");
|
|
1053
|
+
} catch (e) {}
|
|
955
1054
|
}();
|
|
956
1055
|
//#endregion
|
|
1056
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isTypedArray.js
|
|
1057
|
+
var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
|
|
1058
|
+
/**
|
|
1059
|
+
* Checks if `value` is classified as a typed array.
|
|
1060
|
+
*
|
|
1061
|
+
* @static
|
|
1062
|
+
* @memberOf _
|
|
1063
|
+
* @since 3.0.0
|
|
1064
|
+
* @category Lang
|
|
1065
|
+
* @param {*} value The value to check.
|
|
1066
|
+
* @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
|
|
1067
|
+
* @example
|
|
1068
|
+
*
|
|
1069
|
+
* _.isTypedArray(new Uint8Array);
|
|
1070
|
+
* // => true
|
|
1071
|
+
*
|
|
1072
|
+
* _.isTypedArray([]);
|
|
1073
|
+
* // => false
|
|
1074
|
+
*/
|
|
1075
|
+
var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
|
|
1076
|
+
//#endregion
|
|
1077
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayLikeKeys.js
|
|
1078
|
+
/** Used to check objects for own properties. */
|
|
1079
|
+
var hasOwnProperty$4 = Object.prototype.hasOwnProperty;
|
|
1080
|
+
/**
|
|
1081
|
+
* Creates an array of the enumerable property names of the array-like `value`.
|
|
1082
|
+
*
|
|
1083
|
+
* @private
|
|
1084
|
+
* @param {*} value The value to query.
|
|
1085
|
+
* @param {boolean} inherited Specify returning inherited property names.
|
|
1086
|
+
* @returns {Array} Returns the array of property names.
|
|
1087
|
+
*/
|
|
1088
|
+
function arrayLikeKeys(value, inherited) {
|
|
1089
|
+
var isArr = isArray(value), isArg = !isArr && isArguments(value), isBuff = !isArr && !isArg && isBuffer(value), isType = !isArr && !isArg && !isBuff && isTypedArray(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes(value.length, String) : [], length = result.length;
|
|
1090
|
+
for (var key in value) if ((inherited || hasOwnProperty$4.call(value, key)) && !(skipIndexes && (key == "length" || isBuff && (key == "offset" || key == "parent") || isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || isIndex(key, length)))) result.push(key);
|
|
1091
|
+
return result;
|
|
1092
|
+
}
|
|
1093
|
+
//#endregion
|
|
957
1094
|
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overArg.js
|
|
958
1095
|
/**
|
|
959
1096
|
* Creates a unary function that invokes `func` with its argument transformed.
|
|
@@ -969,1031 +1106,715 @@
|
|
|
969
1106
|
};
|
|
970
1107
|
}
|
|
971
1108
|
//#endregion
|
|
972
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
973
|
-
/** Built-in value references. */
|
|
974
|
-
var getPrototype = overArg(Object.getPrototypeOf, Object);
|
|
975
|
-
//#endregion
|
|
976
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isPrototype.js
|
|
977
|
-
/** Used for built-in method references. */
|
|
978
|
-
var objectProto$2 = Object.prototype;
|
|
1109
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeysIn.js
|
|
979
1110
|
/**
|
|
980
|
-
*
|
|
1111
|
+
* This function is like
|
|
1112
|
+
* [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
|
|
1113
|
+
* except that it includes inherited enumerable properties.
|
|
981
1114
|
*
|
|
982
1115
|
* @private
|
|
983
|
-
* @param {
|
|
984
|
-
* @returns {
|
|
1116
|
+
* @param {Object} object The object to query.
|
|
1117
|
+
* @returns {Array} Returns the array of property names.
|
|
985
1118
|
*/
|
|
986
|
-
function
|
|
987
|
-
var
|
|
988
|
-
|
|
1119
|
+
function nativeKeysIn(object) {
|
|
1120
|
+
var result = [];
|
|
1121
|
+
if (object != null) for (var key in Object(object)) result.push(key);
|
|
1122
|
+
return result;
|
|
989
1123
|
}
|
|
990
1124
|
//#endregion
|
|
991
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
1125
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeysIn.js
|
|
1126
|
+
/** Used to check objects for own properties. */
|
|
1127
|
+
var hasOwnProperty$3 = Object.prototype.hasOwnProperty;
|
|
992
1128
|
/**
|
|
993
|
-
*
|
|
1129
|
+
* The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.
|
|
994
1130
|
*
|
|
995
1131
|
* @private
|
|
996
|
-
* @param {Object} object The object to
|
|
997
|
-
* @returns {
|
|
1132
|
+
* @param {Object} object The object to query.
|
|
1133
|
+
* @returns {Array} Returns the array of property names.
|
|
998
1134
|
*/
|
|
999
|
-
function
|
|
1000
|
-
|
|
1135
|
+
function baseKeysIn(object) {
|
|
1136
|
+
if (!isObject(object)) return nativeKeysIn(object);
|
|
1137
|
+
var isProto = isPrototype(object), result = [];
|
|
1138
|
+
for (var key in object) if (!(key == "constructor" && (isProto || !hasOwnProperty$3.call(object, key)))) result.push(key);
|
|
1139
|
+
return result;
|
|
1001
1140
|
}
|
|
1002
1141
|
//#endregion
|
|
1003
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
1142
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keysIn.js
|
|
1004
1143
|
/**
|
|
1005
|
-
*
|
|
1006
|
-
*
|
|
1144
|
+
* Creates an array of the own and inherited enumerable property names of `object`.
|
|
1145
|
+
*
|
|
1146
|
+
* **Note:** Non-object values are coerced to objects.
|
|
1007
1147
|
*
|
|
1008
1148
|
* @static
|
|
1009
1149
|
* @memberOf _
|
|
1010
|
-
* @since
|
|
1011
|
-
* @category
|
|
1012
|
-
* @param {
|
|
1013
|
-
* @returns {
|
|
1150
|
+
* @since 3.0.0
|
|
1151
|
+
* @category Object
|
|
1152
|
+
* @param {Object} object The object to query.
|
|
1153
|
+
* @returns {Array} Returns the array of property names.
|
|
1014
1154
|
* @example
|
|
1015
1155
|
*
|
|
1016
|
-
*
|
|
1017
|
-
*
|
|
1018
|
-
*
|
|
1019
|
-
*
|
|
1020
|
-
* // => true
|
|
1156
|
+
* function Foo() {
|
|
1157
|
+
* this.a = 1;
|
|
1158
|
+
* this.b = 2;
|
|
1159
|
+
* }
|
|
1021
1160
|
*
|
|
1022
|
-
*
|
|
1023
|
-
* // => false
|
|
1161
|
+
* Foo.prototype.c = 3;
|
|
1024
1162
|
*
|
|
1025
|
-
* _.
|
|
1026
|
-
* // =>
|
|
1163
|
+
* _.keysIn(new Foo);
|
|
1164
|
+
* // => ['a', 'b', 'c'] (iteration order is not guaranteed)
|
|
1027
1165
|
*/
|
|
1028
|
-
function
|
|
1029
|
-
return
|
|
1166
|
+
function keysIn(object) {
|
|
1167
|
+
return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
|
|
1030
1168
|
}
|
|
1031
1169
|
//#endregion
|
|
1032
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
1033
|
-
|
|
1034
|
-
var argsTag$1 = "[object Arguments]";
|
|
1035
|
-
/**
|
|
1036
|
-
* The base implementation of `_.isArguments`.
|
|
1037
|
-
*
|
|
1038
|
-
* @private
|
|
1039
|
-
* @param {*} value The value to check.
|
|
1040
|
-
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
|
1041
|
-
*/
|
|
1042
|
-
function baseIsArguments(value) {
|
|
1043
|
-
return isObjectLike(value) && baseGetTag(value) == argsTag$1;
|
|
1044
|
-
}
|
|
1045
|
-
//#endregion
|
|
1046
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArguments.js
|
|
1047
|
-
/** Used for built-in method references. */
|
|
1048
|
-
var objectProto$1 = Object.prototype;
|
|
1049
|
-
/** Used to check objects for own properties. */
|
|
1050
|
-
var hasOwnProperty$4 = objectProto$1.hasOwnProperty;
|
|
1051
|
-
/** Built-in value references. */
|
|
1052
|
-
var propertyIsEnumerable = objectProto$1.propertyIsEnumerable;
|
|
1053
|
-
/**
|
|
1054
|
-
* Checks if `value` is likely an `arguments` object.
|
|
1055
|
-
*
|
|
1056
|
-
* @static
|
|
1057
|
-
* @memberOf _
|
|
1058
|
-
* @since 0.1.0
|
|
1059
|
-
* @category Lang
|
|
1060
|
-
* @param {*} value The value to check.
|
|
1061
|
-
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
|
1062
|
-
* else `false`.
|
|
1063
|
-
* @example
|
|
1064
|
-
*
|
|
1065
|
-
* _.isArguments(function() { return arguments; }());
|
|
1066
|
-
* // => true
|
|
1067
|
-
*
|
|
1068
|
-
* _.isArguments([1, 2, 3]);
|
|
1069
|
-
* // => false
|
|
1070
|
-
*/
|
|
1071
|
-
var isArguments = baseIsArguments(function() {
|
|
1072
|
-
return arguments;
|
|
1073
|
-
}()) ? baseIsArguments : function(value) {
|
|
1074
|
-
return isObjectLike(value) && hasOwnProperty$4.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
|
|
1075
|
-
};
|
|
1076
|
-
//#endregion
|
|
1077
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArray.js
|
|
1078
|
-
/**
|
|
1079
|
-
* Checks if `value` is classified as an `Array` object.
|
|
1080
|
-
*
|
|
1081
|
-
* @static
|
|
1082
|
-
* @memberOf _
|
|
1083
|
-
* @since 0.1.0
|
|
1084
|
-
* @category Lang
|
|
1085
|
-
* @param {*} value The value to check.
|
|
1086
|
-
* @returns {boolean} Returns `true` if `value` is an array, else `false`.
|
|
1087
|
-
* @example
|
|
1088
|
-
*
|
|
1089
|
-
* _.isArray([1, 2, 3]);
|
|
1090
|
-
* // => true
|
|
1091
|
-
*
|
|
1092
|
-
* _.isArray(document.body.children);
|
|
1093
|
-
* // => false
|
|
1094
|
-
*
|
|
1095
|
-
* _.isArray('abc');
|
|
1096
|
-
* // => false
|
|
1097
|
-
*
|
|
1098
|
-
* _.isArray(_.noop);
|
|
1099
|
-
* // => false
|
|
1100
|
-
*/
|
|
1101
|
-
var isArray = Array.isArray;
|
|
1102
|
-
//#endregion
|
|
1103
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isLength.js
|
|
1104
|
-
/** Used as references for various `Number` constants. */
|
|
1105
|
-
var MAX_SAFE_INTEGER$1 = 9007199254740991;
|
|
1106
|
-
/**
|
|
1107
|
-
* Checks if `value` is a valid array-like length.
|
|
1108
|
-
*
|
|
1109
|
-
* **Note:** This method is loosely based on
|
|
1110
|
-
* [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
|
|
1111
|
-
*
|
|
1112
|
-
* @static
|
|
1113
|
-
* @memberOf _
|
|
1114
|
-
* @since 4.0.0
|
|
1115
|
-
* @category Lang
|
|
1116
|
-
* @param {*} value The value to check.
|
|
1117
|
-
* @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
|
|
1118
|
-
* @example
|
|
1119
|
-
*
|
|
1120
|
-
* _.isLength(3);
|
|
1121
|
-
* // => true
|
|
1122
|
-
*
|
|
1123
|
-
* _.isLength(Number.MIN_VALUE);
|
|
1124
|
-
* // => false
|
|
1125
|
-
*
|
|
1126
|
-
* _.isLength(Infinity);
|
|
1127
|
-
* // => false
|
|
1128
|
-
*
|
|
1129
|
-
* _.isLength('3');
|
|
1130
|
-
* // => false
|
|
1131
|
-
*/
|
|
1132
|
-
function isLength(value) {
|
|
1133
|
-
return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER$1;
|
|
1134
|
-
}
|
|
1135
|
-
//#endregion
|
|
1136
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLike.js
|
|
1137
|
-
/**
|
|
1138
|
-
* Checks if `value` is array-like. A value is considered array-like if it's
|
|
1139
|
-
* not a function and has a `value.length` that's an integer greater than or
|
|
1140
|
-
* equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
|
|
1141
|
-
*
|
|
1142
|
-
* @static
|
|
1143
|
-
* @memberOf _
|
|
1144
|
-
* @since 4.0.0
|
|
1145
|
-
* @category Lang
|
|
1146
|
-
* @param {*} value The value to check.
|
|
1147
|
-
* @returns {boolean} Returns `true` if `value` is array-like, else `false`.
|
|
1148
|
-
* @example
|
|
1149
|
-
*
|
|
1150
|
-
* _.isArrayLike([1, 2, 3]);
|
|
1151
|
-
* // => true
|
|
1152
|
-
*
|
|
1153
|
-
* _.isArrayLike(document.body.children);
|
|
1154
|
-
* // => true
|
|
1155
|
-
*
|
|
1156
|
-
* _.isArrayLike('abc');
|
|
1157
|
-
* // => true
|
|
1158
|
-
*
|
|
1159
|
-
* _.isArrayLike(_.noop);
|
|
1160
|
-
* // => false
|
|
1161
|
-
*/
|
|
1162
|
-
function isArrayLike(value) {
|
|
1163
|
-
return value != null && isLength(value.length) && !isFunction(value);
|
|
1164
|
-
}
|
|
1170
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeCreate.js
|
|
1171
|
+
var nativeCreate = getNative(Object, "create");
|
|
1165
1172
|
//#endregion
|
|
1166
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
1173
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashClear.js
|
|
1167
1174
|
/**
|
|
1168
|
-
*
|
|
1169
|
-
* is an object.
|
|
1170
|
-
*
|
|
1171
|
-
* @static
|
|
1172
|
-
* @memberOf _
|
|
1173
|
-
* @since 4.0.0
|
|
1174
|
-
* @category Lang
|
|
1175
|
-
* @param {*} value The value to check.
|
|
1176
|
-
* @returns {boolean} Returns `true` if `value` is an array-like object,
|
|
1177
|
-
* else `false`.
|
|
1178
|
-
* @example
|
|
1179
|
-
*
|
|
1180
|
-
* _.isArrayLikeObject([1, 2, 3]);
|
|
1181
|
-
* // => true
|
|
1182
|
-
*
|
|
1183
|
-
* _.isArrayLikeObject(document.body.children);
|
|
1184
|
-
* // => true
|
|
1185
|
-
*
|
|
1186
|
-
* _.isArrayLikeObject('abc');
|
|
1187
|
-
* // => false
|
|
1175
|
+
* Removes all key-value entries from the hash.
|
|
1188
1176
|
*
|
|
1189
|
-
*
|
|
1190
|
-
*
|
|
1177
|
+
* @private
|
|
1178
|
+
* @name clear
|
|
1179
|
+
* @memberOf Hash
|
|
1191
1180
|
*/
|
|
1192
|
-
function
|
|
1193
|
-
|
|
1181
|
+
function hashClear() {
|
|
1182
|
+
this.__data__ = nativeCreate ? nativeCreate(null) : {};
|
|
1183
|
+
this.size = 0;
|
|
1194
1184
|
}
|
|
1195
1185
|
//#endregion
|
|
1196
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
1186
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashDelete.js
|
|
1197
1187
|
/**
|
|
1198
|
-
*
|
|
1199
|
-
*
|
|
1200
|
-
* @static
|
|
1201
|
-
* @memberOf _
|
|
1202
|
-
* @since 4.13.0
|
|
1203
|
-
* @category Util
|
|
1204
|
-
* @returns {boolean} Returns `false`.
|
|
1205
|
-
* @example
|
|
1188
|
+
* Removes `key` and its value from the hash.
|
|
1206
1189
|
*
|
|
1207
|
-
*
|
|
1208
|
-
*
|
|
1190
|
+
* @private
|
|
1191
|
+
* @name delete
|
|
1192
|
+
* @memberOf Hash
|
|
1193
|
+
* @param {Object} hash The hash to modify.
|
|
1194
|
+
* @param {string} key The key of the value to remove.
|
|
1195
|
+
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
1209
1196
|
*/
|
|
1210
|
-
function
|
|
1211
|
-
|
|
1197
|
+
function hashDelete(key) {
|
|
1198
|
+
var result = this.has(key) && delete this.__data__[key];
|
|
1199
|
+
this.size -= result ? 1 : 0;
|
|
1200
|
+
return result;
|
|
1212
1201
|
}
|
|
1213
1202
|
//#endregion
|
|
1214
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
1215
|
-
/**
|
|
1216
|
-
var
|
|
1217
|
-
/** Detect free variable `module`. */
|
|
1218
|
-
var freeModule$1 = freeExports$1 && typeof module == "object" && module && !module.nodeType && module;
|
|
1219
|
-
/** Built-in value references. */
|
|
1220
|
-
var Buffer$1 = freeModule$1 && freeModule$1.exports === freeExports$1 ? root.Buffer : void 0;
|
|
1221
|
-
/**
|
|
1222
|
-
* Checks if `value` is a buffer.
|
|
1223
|
-
*
|
|
1224
|
-
* @static
|
|
1225
|
-
* @memberOf _
|
|
1226
|
-
* @since 4.3.0
|
|
1227
|
-
* @category Lang
|
|
1228
|
-
* @param {*} value The value to check.
|
|
1229
|
-
* @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
|
|
1230
|
-
* @example
|
|
1231
|
-
*
|
|
1232
|
-
* _.isBuffer(new Buffer(2));
|
|
1233
|
-
* // => true
|
|
1234
|
-
*
|
|
1235
|
-
* _.isBuffer(new Uint8Array(2));
|
|
1236
|
-
* // => false
|
|
1237
|
-
*/
|
|
1238
|
-
var isBuffer = (Buffer$1 ? Buffer$1.isBuffer : void 0) || stubFalse;
|
|
1239
|
-
//#endregion
|
|
1240
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isPlainObject.js
|
|
1241
|
-
/** `Object#toString` result references. */
|
|
1242
|
-
var objectTag$1 = "[object Object]";
|
|
1243
|
-
/** Used for built-in method references. */
|
|
1244
|
-
var funcProto = Function.prototype, objectProto = Object.prototype;
|
|
1245
|
-
/** Used to resolve the decompiled source of functions. */
|
|
1246
|
-
var funcToString = funcProto.toString;
|
|
1203
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashGet.js
|
|
1204
|
+
/** Used to stand-in for `undefined` hash values. */
|
|
1205
|
+
var HASH_UNDEFINED$1 = "__lodash_hash_undefined__";
|
|
1247
1206
|
/** Used to check objects for own properties. */
|
|
1248
|
-
var hasOwnProperty$
|
|
1249
|
-
/** Used to infer the `Object` constructor. */
|
|
1250
|
-
var objectCtorString = funcToString.call(Object);
|
|
1207
|
+
var hasOwnProperty$2 = Object.prototype.hasOwnProperty;
|
|
1251
1208
|
/**
|
|
1252
|
-
*
|
|
1253
|
-
* `Object` constructor or one with a `[[Prototype]]` of `null`.
|
|
1254
|
-
*
|
|
1255
|
-
* @static
|
|
1256
|
-
* @memberOf _
|
|
1257
|
-
* @since 0.8.0
|
|
1258
|
-
* @category Lang
|
|
1259
|
-
* @param {*} value The value to check.
|
|
1260
|
-
* @returns {boolean} Returns `true` if `value` is a plain object, else `false`.
|
|
1261
|
-
* @example
|
|
1262
|
-
*
|
|
1263
|
-
* function Foo() {
|
|
1264
|
-
* this.a = 1;
|
|
1265
|
-
* }
|
|
1266
|
-
*
|
|
1267
|
-
* _.isPlainObject(new Foo);
|
|
1268
|
-
* // => false
|
|
1269
|
-
*
|
|
1270
|
-
* _.isPlainObject([1, 2, 3]);
|
|
1271
|
-
* // => false
|
|
1272
|
-
*
|
|
1273
|
-
* _.isPlainObject({ 'x': 0, 'y': 0 });
|
|
1274
|
-
* // => true
|
|
1209
|
+
* Gets the hash value for `key`.
|
|
1275
1210
|
*
|
|
1276
|
-
*
|
|
1277
|
-
*
|
|
1211
|
+
* @private
|
|
1212
|
+
* @name get
|
|
1213
|
+
* @memberOf Hash
|
|
1214
|
+
* @param {string} key The key of the value to get.
|
|
1215
|
+
* @returns {*} Returns the entry value.
|
|
1278
1216
|
*/
|
|
1279
|
-
function
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1217
|
+
function hashGet(key) {
|
|
1218
|
+
var data = this.__data__;
|
|
1219
|
+
if (nativeCreate) {
|
|
1220
|
+
var result = data[key];
|
|
1221
|
+
return result === HASH_UNDEFINED$1 ? void 0 : result;
|
|
1222
|
+
}
|
|
1223
|
+
return hasOwnProperty$2.call(data, key) ? data[key] : void 0;
|
|
1285
1224
|
}
|
|
1286
1225
|
//#endregion
|
|
1287
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
1288
|
-
/**
|
|
1289
|
-
var
|
|
1290
|
-
var arrayBufferTag = "[object ArrayBuffer]", dataViewTag = "[object DataView]", float32Tag = "[object Float32Array]", float64Tag = "[object Float64Array]", int8Tag = "[object Int8Array]", int16Tag = "[object Int16Array]", int32Tag = "[object Int32Array]", uint8Tag = "[object Uint8Array]", uint8ClampedTag = "[object Uint8ClampedArray]", uint16Tag = "[object Uint16Array]", uint32Tag = "[object Uint32Array]";
|
|
1291
|
-
/** Used to identify `toStringTag` values of typed arrays. */
|
|
1292
|
-
var typedArrayTags = {};
|
|
1293
|
-
typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true;
|
|
1294
|
-
typedArrayTags[argsTag] = typedArrayTags[arrayTag] = typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = typedArrayTags[errorTag] = typedArrayTags[funcTag] = typedArrayTags[mapTag] = typedArrayTags[numberTag] = typedArrayTags[objectTag] = typedArrayTags[regexpTag] = typedArrayTags[setTag] = typedArrayTags[stringTag] = typedArrayTags[weakMapTag] = false;
|
|
1226
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashHas.js
|
|
1227
|
+
/** Used to check objects for own properties. */
|
|
1228
|
+
var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
|
|
1295
1229
|
/**
|
|
1296
|
-
*
|
|
1230
|
+
* Checks if a hash value for `key` exists.
|
|
1297
1231
|
*
|
|
1298
1232
|
* @private
|
|
1299
|
-
* @
|
|
1300
|
-
* @
|
|
1233
|
+
* @name has
|
|
1234
|
+
* @memberOf Hash
|
|
1235
|
+
* @param {string} key The key of the entry to check.
|
|
1236
|
+
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
1301
1237
|
*/
|
|
1302
|
-
function
|
|
1303
|
-
|
|
1238
|
+
function hashHas(key) {
|
|
1239
|
+
var data = this.__data__;
|
|
1240
|
+
return nativeCreate ? data[key] !== void 0 : hasOwnProperty$1.call(data, key);
|
|
1304
1241
|
}
|
|
1305
1242
|
//#endregion
|
|
1306
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
1243
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashSet.js
|
|
1244
|
+
/** Used to stand-in for `undefined` hash values. */
|
|
1245
|
+
var HASH_UNDEFINED = "__lodash_hash_undefined__";
|
|
1307
1246
|
/**
|
|
1308
|
-
*
|
|
1247
|
+
* Sets the hash `key` to `value`.
|
|
1309
1248
|
*
|
|
1310
1249
|
* @private
|
|
1311
|
-
* @
|
|
1312
|
-
* @
|
|
1250
|
+
* @name set
|
|
1251
|
+
* @memberOf Hash
|
|
1252
|
+
* @param {string} key The key of the value to set.
|
|
1253
|
+
* @param {*} value The value to set.
|
|
1254
|
+
* @returns {Object} Returns the hash instance.
|
|
1313
1255
|
*/
|
|
1314
|
-
function
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1256
|
+
function hashSet(key, value) {
|
|
1257
|
+
var data = this.__data__;
|
|
1258
|
+
this.size += this.has(key) ? 0 : 1;
|
|
1259
|
+
data[key] = nativeCreate && value === void 0 ? HASH_UNDEFINED : value;
|
|
1260
|
+
return this;
|
|
1318
1261
|
}
|
|
1319
1262
|
//#endregion
|
|
1320
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
1321
|
-
/** Detect free variable `exports`. */
|
|
1322
|
-
var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
|
|
1323
|
-
/** Detect free variable `module`. */
|
|
1324
|
-
var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
|
|
1325
|
-
/** Detect free variable `process` from Node.js. */
|
|
1326
|
-
var freeProcess = freeModule && freeModule.exports === freeExports && freeGlobal.process;
|
|
1327
|
-
/** Used to access faster Node.js helpers. */
|
|
1328
|
-
var nodeUtil = function() {
|
|
1329
|
-
try {
|
|
1330
|
-
var types = freeModule && freeModule.require && freeModule.require("util").types;
|
|
1331
|
-
if (types) return types;
|
|
1332
|
-
return freeProcess && freeProcess.binding && freeProcess.binding("util");
|
|
1333
|
-
} catch (e) {}
|
|
1334
|
-
}();
|
|
1335
|
-
//#endregion
|
|
1336
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isTypedArray.js
|
|
1337
|
-
var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
|
|
1263
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Hash.js
|
|
1338
1264
|
/**
|
|
1339
|
-
*
|
|
1340
|
-
*
|
|
1341
|
-
* @static
|
|
1342
|
-
* @memberOf _
|
|
1343
|
-
* @since 3.0.0
|
|
1344
|
-
* @category Lang
|
|
1345
|
-
* @param {*} value The value to check.
|
|
1346
|
-
* @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
|
|
1347
|
-
* @example
|
|
1348
|
-
*
|
|
1349
|
-
* _.isTypedArray(new Uint8Array);
|
|
1350
|
-
* // => true
|
|
1265
|
+
* Creates a hash object.
|
|
1351
1266
|
*
|
|
1352
|
-
*
|
|
1353
|
-
*
|
|
1267
|
+
* @private
|
|
1268
|
+
* @constructor
|
|
1269
|
+
* @param {Array} [entries] The key-value pairs to cache.
|
|
1354
1270
|
*/
|
|
1355
|
-
|
|
1271
|
+
function Hash(entries) {
|
|
1272
|
+
var index = -1, length = entries == null ? 0 : entries.length;
|
|
1273
|
+
this.clear();
|
|
1274
|
+
while (++index < length) {
|
|
1275
|
+
var entry = entries[index];
|
|
1276
|
+
this.set(entry[0], entry[1]);
|
|
1277
|
+
}
|
|
1278
|
+
}
|
|
1279
|
+
Hash.prototype.clear = hashClear;
|
|
1280
|
+
Hash.prototype["delete"] = hashDelete;
|
|
1281
|
+
Hash.prototype.get = hashGet;
|
|
1282
|
+
Hash.prototype.has = hashHas;
|
|
1283
|
+
Hash.prototype.set = hashSet;
|
|
1356
1284
|
//#endregion
|
|
1357
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
1285
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheClear.js
|
|
1358
1286
|
/**
|
|
1359
|
-
*
|
|
1287
|
+
* Removes all key-value entries from the list cache.
|
|
1360
1288
|
*
|
|
1361
1289
|
* @private
|
|
1362
|
-
* @
|
|
1363
|
-
* @
|
|
1364
|
-
* @returns {*} Returns the property value.
|
|
1290
|
+
* @name clear
|
|
1291
|
+
* @memberOf ListCache
|
|
1365
1292
|
*/
|
|
1366
|
-
function
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
return object[key];
|
|
1293
|
+
function listCacheClear() {
|
|
1294
|
+
this.__data__ = [];
|
|
1295
|
+
this.size = 0;
|
|
1370
1296
|
}
|
|
1371
1297
|
//#endregion
|
|
1372
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
1373
|
-
/** Used to check objects for own properties. */
|
|
1374
|
-
var hasOwnProperty$2 = Object.prototype.hasOwnProperty;
|
|
1298
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assocIndexOf.js
|
|
1375
1299
|
/**
|
|
1376
|
-
*
|
|
1377
|
-
* using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
|
1378
|
-
* for equality comparisons.
|
|
1300
|
+
* Gets the index at which the `key` is found in `array` of key-value pairs.
|
|
1379
1301
|
*
|
|
1380
1302
|
* @private
|
|
1381
|
-
* @param {
|
|
1382
|
-
* @param {
|
|
1383
|
-
* @
|
|
1303
|
+
* @param {Array} array The array to inspect.
|
|
1304
|
+
* @param {*} key The key to search for.
|
|
1305
|
+
* @returns {number} Returns the index of the matched value, else `-1`.
|
|
1384
1306
|
*/
|
|
1385
|
-
function
|
|
1386
|
-
var
|
|
1387
|
-
|
|
1307
|
+
function assocIndexOf(array, key) {
|
|
1308
|
+
var length = array.length;
|
|
1309
|
+
while (length--) if (eq(array[length][0], key)) return length;
|
|
1310
|
+
return -1;
|
|
1388
1311
|
}
|
|
1389
1312
|
//#endregion
|
|
1390
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
1313
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheDelete.js
|
|
1314
|
+
/** Built-in value references. */
|
|
1315
|
+
var splice = Array.prototype.splice;
|
|
1391
1316
|
/**
|
|
1392
|
-
*
|
|
1317
|
+
* Removes `key` and its value from the list cache.
|
|
1393
1318
|
*
|
|
1394
1319
|
* @private
|
|
1395
|
-
* @
|
|
1396
|
-
* @
|
|
1397
|
-
* @param {
|
|
1398
|
-
* @
|
|
1399
|
-
* @returns {Object} Returns `object`.
|
|
1320
|
+
* @name delete
|
|
1321
|
+
* @memberOf ListCache
|
|
1322
|
+
* @param {string} key The key of the value to remove.
|
|
1323
|
+
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
1400
1324
|
*/
|
|
1401
|
-
function
|
|
1402
|
-
var
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
if (newValue === void 0) newValue = source[key];
|
|
1409
|
-
if (isNew) baseAssignValue(object, key, newValue);
|
|
1410
|
-
else assignValue(object, key, newValue);
|
|
1411
|
-
}
|
|
1412
|
-
return object;
|
|
1325
|
+
function listCacheDelete(key) {
|
|
1326
|
+
var data = this.__data__, index = assocIndexOf(data, key);
|
|
1327
|
+
if (index < 0) return false;
|
|
1328
|
+
if (index == data.length - 1) data.pop();
|
|
1329
|
+
else splice.call(data, index, 1);
|
|
1330
|
+
--this.size;
|
|
1331
|
+
return true;
|
|
1413
1332
|
}
|
|
1414
1333
|
//#endregion
|
|
1415
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
1334
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheGet.js
|
|
1416
1335
|
/**
|
|
1417
|
-
*
|
|
1418
|
-
* or max array length checks.
|
|
1336
|
+
* Gets the list cache value for `key`.
|
|
1419
1337
|
*
|
|
1420
1338
|
* @private
|
|
1421
|
-
* @
|
|
1422
|
-
* @
|
|
1423
|
-
* @
|
|
1339
|
+
* @name get
|
|
1340
|
+
* @memberOf ListCache
|
|
1341
|
+
* @param {string} key The key of the value to get.
|
|
1342
|
+
* @returns {*} Returns the entry value.
|
|
1424
1343
|
*/
|
|
1425
|
-
function
|
|
1426
|
-
var
|
|
1427
|
-
|
|
1428
|
-
return result;
|
|
1344
|
+
function listCacheGet(key) {
|
|
1345
|
+
var data = this.__data__, index = assocIndexOf(data, key);
|
|
1346
|
+
return index < 0 ? void 0 : data[index][1];
|
|
1429
1347
|
}
|
|
1430
1348
|
//#endregion
|
|
1431
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
1432
|
-
/** Used as references for various `Number` constants. */
|
|
1433
|
-
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
1434
|
-
/** Used to detect unsigned integer values. */
|
|
1435
|
-
var reIsUint = /^(?:0|[1-9]\d*)$/;
|
|
1349
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheHas.js
|
|
1436
1350
|
/**
|
|
1437
|
-
* Checks if
|
|
1351
|
+
* Checks if a list cache value for `key` exists.
|
|
1438
1352
|
*
|
|
1439
1353
|
* @private
|
|
1440
|
-
* @
|
|
1441
|
-
* @
|
|
1442
|
-
* @
|
|
1354
|
+
* @name has
|
|
1355
|
+
* @memberOf ListCache
|
|
1356
|
+
* @param {string} key The key of the entry to check.
|
|
1357
|
+
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
1443
1358
|
*/
|
|
1444
|
-
function
|
|
1445
|
-
|
|
1446
|
-
length = length == null ? MAX_SAFE_INTEGER : length;
|
|
1447
|
-
return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && value > -1 && value % 1 == 0 && value < length;
|
|
1359
|
+
function listCacheHas(key) {
|
|
1360
|
+
return assocIndexOf(this.__data__, key) > -1;
|
|
1448
1361
|
}
|
|
1449
1362
|
//#endregion
|
|
1450
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
1451
|
-
/** Used to check objects for own properties. */
|
|
1452
|
-
var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
|
|
1363
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheSet.js
|
|
1453
1364
|
/**
|
|
1454
|
-
*
|
|
1365
|
+
* Sets the list cache `key` to `value`.
|
|
1455
1366
|
*
|
|
1456
1367
|
* @private
|
|
1457
|
-
* @
|
|
1458
|
-
* @
|
|
1459
|
-
* @
|
|
1368
|
+
* @name set
|
|
1369
|
+
* @memberOf ListCache
|
|
1370
|
+
* @param {string} key The key of the value to set.
|
|
1371
|
+
* @param {*} value The value to set.
|
|
1372
|
+
* @returns {Object} Returns the list cache instance.
|
|
1460
1373
|
*/
|
|
1461
|
-
function
|
|
1462
|
-
var
|
|
1463
|
-
|
|
1464
|
-
|
|
1374
|
+
function listCacheSet(key, value) {
|
|
1375
|
+
var data = this.__data__, index = assocIndexOf(data, key);
|
|
1376
|
+
if (index < 0) {
|
|
1377
|
+
++this.size;
|
|
1378
|
+
data.push([key, value]);
|
|
1379
|
+
} else data[index][1] = value;
|
|
1380
|
+
return this;
|
|
1465
1381
|
}
|
|
1466
1382
|
//#endregion
|
|
1467
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
1383
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_ListCache.js
|
|
1468
1384
|
/**
|
|
1469
|
-
*
|
|
1470
|
-
* [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
|
|
1471
|
-
* except that it includes inherited enumerable properties.
|
|
1385
|
+
* Creates an list cache object.
|
|
1472
1386
|
*
|
|
1473
1387
|
* @private
|
|
1474
|
-
* @
|
|
1475
|
-
* @
|
|
1388
|
+
* @constructor
|
|
1389
|
+
* @param {Array} [entries] The key-value pairs to cache.
|
|
1476
1390
|
*/
|
|
1477
|
-
function
|
|
1478
|
-
var
|
|
1479
|
-
|
|
1480
|
-
|
|
1391
|
+
function ListCache(entries) {
|
|
1392
|
+
var index = -1, length = entries == null ? 0 : entries.length;
|
|
1393
|
+
this.clear();
|
|
1394
|
+
while (++index < length) {
|
|
1395
|
+
var entry = entries[index];
|
|
1396
|
+
this.set(entry[0], entry[1]);
|
|
1397
|
+
}
|
|
1481
1398
|
}
|
|
1399
|
+
ListCache.prototype.clear = listCacheClear;
|
|
1400
|
+
ListCache.prototype["delete"] = listCacheDelete;
|
|
1401
|
+
ListCache.prototype.get = listCacheGet;
|
|
1402
|
+
ListCache.prototype.has = listCacheHas;
|
|
1403
|
+
ListCache.prototype.set = listCacheSet;
|
|
1482
1404
|
//#endregion
|
|
1483
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
1484
|
-
|
|
1485
|
-
|
|
1405
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Map.js
|
|
1406
|
+
var Map = getNative(root, "Map");
|
|
1407
|
+
//#endregion
|
|
1408
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheClear.js
|
|
1486
1409
|
/**
|
|
1487
|
-
*
|
|
1410
|
+
* Removes all key-value entries from the map.
|
|
1488
1411
|
*
|
|
1489
1412
|
* @private
|
|
1490
|
-
* @
|
|
1491
|
-
* @
|
|
1413
|
+
* @name clear
|
|
1414
|
+
* @memberOf MapCache
|
|
1492
1415
|
*/
|
|
1493
|
-
function
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1416
|
+
function mapCacheClear() {
|
|
1417
|
+
this.size = 0;
|
|
1418
|
+
this.__data__ = {
|
|
1419
|
+
"hash": new Hash(),
|
|
1420
|
+
"map": new (Map || ListCache)(),
|
|
1421
|
+
"string": new Hash()
|
|
1422
|
+
};
|
|
1498
1423
|
}
|
|
1499
1424
|
//#endregion
|
|
1500
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
1425
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKeyable.js
|
|
1501
1426
|
/**
|
|
1502
|
-
*
|
|
1503
|
-
*
|
|
1504
|
-
* **Note:** Non-object values are coerced to objects.
|
|
1505
|
-
*
|
|
1506
|
-
* @static
|
|
1507
|
-
* @memberOf _
|
|
1508
|
-
* @since 3.0.0
|
|
1509
|
-
* @category Object
|
|
1510
|
-
* @param {Object} object The object to query.
|
|
1511
|
-
* @returns {Array} Returns the array of property names.
|
|
1512
|
-
* @example
|
|
1513
|
-
*
|
|
1514
|
-
* function Foo() {
|
|
1515
|
-
* this.a = 1;
|
|
1516
|
-
* this.b = 2;
|
|
1517
|
-
* }
|
|
1518
|
-
*
|
|
1519
|
-
* Foo.prototype.c = 3;
|
|
1427
|
+
* Checks if `value` is suitable for use as unique object key.
|
|
1520
1428
|
*
|
|
1521
|
-
*
|
|
1522
|
-
*
|
|
1429
|
+
* @private
|
|
1430
|
+
* @param {*} value The value to check.
|
|
1431
|
+
* @returns {boolean} Returns `true` if `value` is suitable, else `false`.
|
|
1523
1432
|
*/
|
|
1524
|
-
function
|
|
1525
|
-
|
|
1433
|
+
function isKeyable(value) {
|
|
1434
|
+
var type = typeof value;
|
|
1435
|
+
return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
|
|
1526
1436
|
}
|
|
1527
1437
|
//#endregion
|
|
1528
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
1438
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMapData.js
|
|
1529
1439
|
/**
|
|
1530
|
-
*
|
|
1531
|
-
* keyed properties of `value` to own properties of the plain object.
|
|
1532
|
-
*
|
|
1533
|
-
* @static
|
|
1534
|
-
* @memberOf _
|
|
1535
|
-
* @since 3.0.0
|
|
1536
|
-
* @category Lang
|
|
1537
|
-
* @param {*} value The value to convert.
|
|
1538
|
-
* @returns {Object} Returns the converted plain object.
|
|
1539
|
-
* @example
|
|
1540
|
-
*
|
|
1541
|
-
* function Foo() {
|
|
1542
|
-
* this.b = 2;
|
|
1543
|
-
* }
|
|
1544
|
-
*
|
|
1545
|
-
* Foo.prototype.c = 3;
|
|
1546
|
-
*
|
|
1547
|
-
* _.assign({ 'a': 1 }, new Foo);
|
|
1548
|
-
* // => { 'a': 1, 'b': 2 }
|
|
1440
|
+
* Gets the data for `map`.
|
|
1549
1441
|
*
|
|
1550
|
-
*
|
|
1551
|
-
*
|
|
1442
|
+
* @private
|
|
1443
|
+
* @param {Object} map The map to query.
|
|
1444
|
+
* @param {string} key The reference key.
|
|
1445
|
+
* @returns {*} Returns the map data.
|
|
1552
1446
|
*/
|
|
1553
|
-
function
|
|
1554
|
-
|
|
1447
|
+
function getMapData(map, key) {
|
|
1448
|
+
var data = map.__data__;
|
|
1449
|
+
return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
|
|
1555
1450
|
}
|
|
1556
1451
|
//#endregion
|
|
1557
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
1452
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheDelete.js
|
|
1558
1453
|
/**
|
|
1559
|
-
*
|
|
1560
|
-
* deep merges and tracks traversed objects enabling objects with circular
|
|
1561
|
-
* references to be merged.
|
|
1454
|
+
* Removes `key` and its value from the map.
|
|
1562
1455
|
*
|
|
1563
1456
|
* @private
|
|
1564
|
-
* @
|
|
1565
|
-
* @
|
|
1566
|
-
* @param {string} key The key of the value to
|
|
1567
|
-
* @
|
|
1568
|
-
* @param {Function} mergeFunc The function to merge values.
|
|
1569
|
-
* @param {Function} [customizer] The function to customize assigned values.
|
|
1570
|
-
* @param {Object} [stack] Tracks traversed source values and their merged
|
|
1571
|
-
* counterparts.
|
|
1457
|
+
* @name delete
|
|
1458
|
+
* @memberOf MapCache
|
|
1459
|
+
* @param {string} key The key of the value to remove.
|
|
1460
|
+
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
1572
1461
|
*/
|
|
1573
|
-
function
|
|
1574
|
-
var
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
return;
|
|
1578
|
-
}
|
|
1579
|
-
var newValue = customizer ? customizer(objValue, srcValue, key + "", object, source, stack) : void 0;
|
|
1580
|
-
var isCommon = newValue === void 0;
|
|
1581
|
-
if (isCommon) {
|
|
1582
|
-
var isArr = isArray(srcValue), isBuff = !isArr && isBuffer(srcValue), isTyped = !isArr && !isBuff && isTypedArray(srcValue);
|
|
1583
|
-
newValue = srcValue;
|
|
1584
|
-
if (isArr || isBuff || isTyped) if (isArray(objValue)) newValue = objValue;
|
|
1585
|
-
else if (isArrayLikeObject(objValue)) newValue = copyArray(objValue);
|
|
1586
|
-
else if (isBuff) {
|
|
1587
|
-
isCommon = false;
|
|
1588
|
-
newValue = cloneBuffer(srcValue, true);
|
|
1589
|
-
} else if (isTyped) {
|
|
1590
|
-
isCommon = false;
|
|
1591
|
-
newValue = cloneTypedArray(srcValue, true);
|
|
1592
|
-
} else newValue = [];
|
|
1593
|
-
else if (isPlainObject(srcValue) || isArguments(srcValue)) {
|
|
1594
|
-
newValue = objValue;
|
|
1595
|
-
if (isArguments(objValue)) newValue = toPlainObject(objValue);
|
|
1596
|
-
else if (!isObject(objValue) || isFunction(objValue)) newValue = initCloneObject(srcValue);
|
|
1597
|
-
} else isCommon = false;
|
|
1598
|
-
}
|
|
1599
|
-
if (isCommon) {
|
|
1600
|
-
stack.set(srcValue, newValue);
|
|
1601
|
-
mergeFunc(newValue, srcValue, srcIndex, customizer, stack);
|
|
1602
|
-
stack["delete"](srcValue);
|
|
1603
|
-
}
|
|
1604
|
-
assignMergeValue(object, key, newValue);
|
|
1462
|
+
function mapCacheDelete(key) {
|
|
1463
|
+
var result = getMapData(this, key)["delete"](key);
|
|
1464
|
+
this.size -= result ? 1 : 0;
|
|
1465
|
+
return result;
|
|
1605
1466
|
}
|
|
1606
1467
|
//#endregion
|
|
1607
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
1468
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheGet.js
|
|
1608
1469
|
/**
|
|
1609
|
-
*
|
|
1470
|
+
* Gets the map value for `key`.
|
|
1610
1471
|
*
|
|
1611
1472
|
* @private
|
|
1612
|
-
* @
|
|
1613
|
-
* @
|
|
1614
|
-
* @param {
|
|
1615
|
-
* @
|
|
1616
|
-
* @param {Object} [stack] Tracks traversed source values and their merged
|
|
1617
|
-
* counterparts.
|
|
1473
|
+
* @name get
|
|
1474
|
+
* @memberOf MapCache
|
|
1475
|
+
* @param {string} key The key of the value to get.
|
|
1476
|
+
* @returns {*} Returns the entry value.
|
|
1618
1477
|
*/
|
|
1619
|
-
function
|
|
1620
|
-
|
|
1621
|
-
baseFor(source, function(srcValue, key) {
|
|
1622
|
-
stack || (stack = new Stack());
|
|
1623
|
-
if (isObject(srcValue)) baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);
|
|
1624
|
-
else {
|
|
1625
|
-
var newValue = customizer ? customizer(safeGet(object, key), srcValue, key + "", object, source, stack) : void 0;
|
|
1626
|
-
if (newValue === void 0) newValue = srcValue;
|
|
1627
|
-
assignMergeValue(object, key, newValue);
|
|
1628
|
-
}
|
|
1629
|
-
}, keysIn);
|
|
1478
|
+
function mapCacheGet(key) {
|
|
1479
|
+
return getMapData(this, key).get(key);
|
|
1630
1480
|
}
|
|
1631
1481
|
//#endregion
|
|
1632
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
1482
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheHas.js
|
|
1633
1483
|
/**
|
|
1634
|
-
*
|
|
1635
|
-
*
|
|
1636
|
-
* @static
|
|
1637
|
-
* @since 0.1.0
|
|
1638
|
-
* @memberOf _
|
|
1639
|
-
* @category Util
|
|
1640
|
-
* @param {*} value Any value.
|
|
1641
|
-
* @returns {*} Returns `value`.
|
|
1642
|
-
* @example
|
|
1643
|
-
*
|
|
1644
|
-
* var object = { 'a': 1 };
|
|
1484
|
+
* Checks if a map value for `key` exists.
|
|
1645
1485
|
*
|
|
1646
|
-
*
|
|
1647
|
-
*
|
|
1486
|
+
* @private
|
|
1487
|
+
* @name has
|
|
1488
|
+
* @memberOf MapCache
|
|
1489
|
+
* @param {string} key The key of the entry to check.
|
|
1490
|
+
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
1648
1491
|
*/
|
|
1649
|
-
function
|
|
1650
|
-
return
|
|
1492
|
+
function mapCacheHas(key) {
|
|
1493
|
+
return getMapData(this, key).has(key);
|
|
1651
1494
|
}
|
|
1652
1495
|
//#endregion
|
|
1653
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
1496
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheSet.js
|
|
1654
1497
|
/**
|
|
1655
|
-
*
|
|
1656
|
-
* with the `this` binding of `thisArg` and the arguments of `args`.
|
|
1498
|
+
* Sets the map `key` to `value`.
|
|
1657
1499
|
*
|
|
1658
1500
|
* @private
|
|
1659
|
-
* @
|
|
1660
|
-
* @
|
|
1661
|
-
* @param {
|
|
1662
|
-
* @
|
|
1501
|
+
* @name set
|
|
1502
|
+
* @memberOf MapCache
|
|
1503
|
+
* @param {string} key The key of the value to set.
|
|
1504
|
+
* @param {*} value The value to set.
|
|
1505
|
+
* @returns {Object} Returns the map cache instance.
|
|
1663
1506
|
*/
|
|
1664
|
-
function
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
case 3: return func.call(thisArg, args[0], args[1], args[2]);
|
|
1670
|
-
}
|
|
1671
|
-
return func.apply(thisArg, args);
|
|
1507
|
+
function mapCacheSet(key, value) {
|
|
1508
|
+
var data = getMapData(this, key), size = data.size;
|
|
1509
|
+
data.set(key, value);
|
|
1510
|
+
this.size += data.size == size ? 0 : 1;
|
|
1511
|
+
return this;
|
|
1672
1512
|
}
|
|
1673
1513
|
//#endregion
|
|
1674
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
1675
|
-
var nativeMax$1 = Math.max;
|
|
1514
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_MapCache.js
|
|
1676
1515
|
/**
|
|
1677
|
-
*
|
|
1516
|
+
* Creates a map cache object to store key-value pairs.
|
|
1678
1517
|
*
|
|
1679
1518
|
* @private
|
|
1680
|
-
* @
|
|
1681
|
-
* @param {
|
|
1682
|
-
* @param {Function} transform The rest array transform.
|
|
1683
|
-
* @returns {Function} Returns the new function.
|
|
1519
|
+
* @constructor
|
|
1520
|
+
* @param {Array} [entries] The key-value pairs to cache.
|
|
1684
1521
|
*/
|
|
1685
|
-
function
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
while (++index < start) otherArgs[index] = args[index];
|
|
1693
|
-
otherArgs[start] = transform(array);
|
|
1694
|
-
return apply(func, this, otherArgs);
|
|
1695
|
-
};
|
|
1522
|
+
function MapCache(entries) {
|
|
1523
|
+
var index = -1, length = entries == null ? 0 : entries.length;
|
|
1524
|
+
this.clear();
|
|
1525
|
+
while (++index < length) {
|
|
1526
|
+
var entry = entries[index];
|
|
1527
|
+
this.set(entry[0], entry[1]);
|
|
1528
|
+
}
|
|
1696
1529
|
}
|
|
1530
|
+
MapCache.prototype.clear = mapCacheClear;
|
|
1531
|
+
MapCache.prototype["delete"] = mapCacheDelete;
|
|
1532
|
+
MapCache.prototype.get = mapCacheGet;
|
|
1533
|
+
MapCache.prototype.has = mapCacheHas;
|
|
1534
|
+
MapCache.prototype.set = mapCacheSet;
|
|
1697
1535
|
//#endregion
|
|
1698
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
1536
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getPrototype.js
|
|
1537
|
+
/** Built-in value references. */
|
|
1538
|
+
var getPrototype = overArg(Object.getPrototypeOf, Object);
|
|
1539
|
+
//#endregion
|
|
1540
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isPlainObject.js
|
|
1541
|
+
/** `Object#toString` result references. */
|
|
1542
|
+
var objectTag = "[object Object]";
|
|
1543
|
+
/** Used for built-in method references. */
|
|
1544
|
+
var funcProto = Function.prototype;
|
|
1545
|
+
var objectProto = Object.prototype;
|
|
1546
|
+
/** Used to resolve the decompiled source of functions. */
|
|
1547
|
+
var funcToString = funcProto.toString;
|
|
1548
|
+
/** Used to check objects for own properties. */
|
|
1549
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
1550
|
+
/** Used to infer the `Object` constructor. */
|
|
1551
|
+
var objectCtorString = funcToString.call(Object);
|
|
1699
1552
|
/**
|
|
1700
|
-
*
|
|
1553
|
+
* Checks if `value` is a plain object, that is, an object created by the
|
|
1554
|
+
* `Object` constructor or one with a `[[Prototype]]` of `null`.
|
|
1701
1555
|
*
|
|
1702
1556
|
* @static
|
|
1703
1557
|
* @memberOf _
|
|
1704
|
-
* @since
|
|
1705
|
-
* @category
|
|
1706
|
-
* @param {*} value The value to
|
|
1707
|
-
* @returns {
|
|
1558
|
+
* @since 0.8.0
|
|
1559
|
+
* @category Lang
|
|
1560
|
+
* @param {*} value The value to check.
|
|
1561
|
+
* @returns {boolean} Returns `true` if `value` is a plain object, else `false`.
|
|
1708
1562
|
* @example
|
|
1709
1563
|
*
|
|
1710
|
-
*
|
|
1564
|
+
* function Foo() {
|
|
1565
|
+
* this.a = 1;
|
|
1566
|
+
* }
|
|
1711
1567
|
*
|
|
1712
|
-
*
|
|
1713
|
-
* // =>
|
|
1568
|
+
* _.isPlainObject(new Foo);
|
|
1569
|
+
* // => false
|
|
1714
1570
|
*
|
|
1715
|
-
*
|
|
1571
|
+
* _.isPlainObject([1, 2, 3]);
|
|
1572
|
+
* // => false
|
|
1573
|
+
*
|
|
1574
|
+
* _.isPlainObject({ 'x': 0, 'y': 0 });
|
|
1575
|
+
* // => true
|
|
1576
|
+
*
|
|
1577
|
+
* _.isPlainObject(Object.create(null));
|
|
1716
1578
|
* // => true
|
|
1717
1579
|
*/
|
|
1718
|
-
function
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1580
|
+
function isPlainObject(value) {
|
|
1581
|
+
if (!isObjectLike(value) || baseGetTag(value) != objectTag) return false;
|
|
1582
|
+
var proto = getPrototype(value);
|
|
1583
|
+
if (proto === null) return true;
|
|
1584
|
+
var Ctor = hasOwnProperty.call(proto, "constructor") && proto.constructor;
|
|
1585
|
+
return typeof Ctor == "function" && Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString;
|
|
1722
1586
|
}
|
|
1723
1587
|
//#endregion
|
|
1724
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
1588
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackClear.js
|
|
1725
1589
|
/**
|
|
1726
|
-
*
|
|
1590
|
+
* Removes all key-value entries from the stack.
|
|
1727
1591
|
*
|
|
1728
1592
|
* @private
|
|
1729
|
-
* @
|
|
1730
|
-
* @
|
|
1731
|
-
* @returns {Function} Returns `func`.
|
|
1593
|
+
* @name clear
|
|
1594
|
+
* @memberOf Stack
|
|
1732
1595
|
*/
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
"value": constant(string),
|
|
1738
|
-
"writable": true
|
|
1739
|
-
});
|
|
1740
|
-
};
|
|
1596
|
+
function stackClear() {
|
|
1597
|
+
this.__data__ = new ListCache();
|
|
1598
|
+
this.size = 0;
|
|
1599
|
+
}
|
|
1741
1600
|
//#endregion
|
|
1742
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
1743
|
-
/** Used to detect hot functions by number of calls within a span of milliseconds. */
|
|
1744
|
-
var HOT_COUNT = 800, HOT_SPAN = 16;
|
|
1745
|
-
var nativeNow = Date.now;
|
|
1601
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackDelete.js
|
|
1746
1602
|
/**
|
|
1747
|
-
*
|
|
1748
|
-
*
|
|
1749
|
-
*
|
|
1603
|
+
* Removes `key` and its value from the stack.
|
|
1604
|
+
*
|
|
1605
|
+
* @private
|
|
1606
|
+
* @name delete
|
|
1607
|
+
* @memberOf Stack
|
|
1608
|
+
* @param {string} key The key of the value to remove.
|
|
1609
|
+
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
1610
|
+
*/
|
|
1611
|
+
function stackDelete(key) {
|
|
1612
|
+
var data = this.__data__, result = data["delete"](key);
|
|
1613
|
+
this.size = data.size;
|
|
1614
|
+
return result;
|
|
1615
|
+
}
|
|
1616
|
+
//#endregion
|
|
1617
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackGet.js
|
|
1618
|
+
/**
|
|
1619
|
+
* Gets the stack value for `key`.
|
|
1750
1620
|
*
|
|
1751
1621
|
* @private
|
|
1752
|
-
* @
|
|
1753
|
-
* @
|
|
1622
|
+
* @name get
|
|
1623
|
+
* @memberOf Stack
|
|
1624
|
+
* @param {string} key The key of the value to get.
|
|
1625
|
+
* @returns {*} Returns the entry value.
|
|
1754
1626
|
*/
|
|
1755
|
-
function
|
|
1756
|
-
|
|
1757
|
-
return function() {
|
|
1758
|
-
var stamp = nativeNow(), remaining = HOT_SPAN - (stamp - lastCalled);
|
|
1759
|
-
lastCalled = stamp;
|
|
1760
|
-
if (remaining > 0) {
|
|
1761
|
-
if (++count >= HOT_COUNT) return arguments[0];
|
|
1762
|
-
} else count = 0;
|
|
1763
|
-
return func.apply(void 0, arguments);
|
|
1764
|
-
};
|
|
1627
|
+
function stackGet(key) {
|
|
1628
|
+
return this.__data__.get(key);
|
|
1765
1629
|
}
|
|
1766
1630
|
//#endregion
|
|
1767
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
1631
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackHas.js
|
|
1768
1632
|
/**
|
|
1769
|
-
*
|
|
1633
|
+
* Checks if a stack value for `key` exists.
|
|
1770
1634
|
*
|
|
1771
1635
|
* @private
|
|
1772
|
-
* @
|
|
1773
|
-
* @
|
|
1774
|
-
* @
|
|
1636
|
+
* @name has
|
|
1637
|
+
* @memberOf Stack
|
|
1638
|
+
* @param {string} key The key of the entry to check.
|
|
1639
|
+
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
1775
1640
|
*/
|
|
1776
|
-
|
|
1641
|
+
function stackHas(key) {
|
|
1642
|
+
return this.__data__.has(key);
|
|
1643
|
+
}
|
|
1777
1644
|
//#endregion
|
|
1778
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
1645
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackSet.js
|
|
1646
|
+
/** Used as the size to enable large array optimizations. */
|
|
1647
|
+
var LARGE_ARRAY_SIZE = 200;
|
|
1779
1648
|
/**
|
|
1780
|
-
*
|
|
1649
|
+
* Sets the stack `key` to `value`.
|
|
1781
1650
|
*
|
|
1782
1651
|
* @private
|
|
1783
|
-
* @
|
|
1784
|
-
* @
|
|
1785
|
-
* @
|
|
1652
|
+
* @name set
|
|
1653
|
+
* @memberOf Stack
|
|
1654
|
+
* @param {string} key The key of the value to set.
|
|
1655
|
+
* @param {*} value The value to set.
|
|
1656
|
+
* @returns {Object} Returns the stack cache instance.
|
|
1786
1657
|
*/
|
|
1787
|
-
function
|
|
1788
|
-
|
|
1658
|
+
function stackSet(key, value) {
|
|
1659
|
+
var data = this.__data__;
|
|
1660
|
+
if (data instanceof ListCache) {
|
|
1661
|
+
var pairs = data.__data__;
|
|
1662
|
+
if (!Map || pairs.length < LARGE_ARRAY_SIZE - 1) {
|
|
1663
|
+
pairs.push([key, value]);
|
|
1664
|
+
this.size = ++data.size;
|
|
1665
|
+
return this;
|
|
1666
|
+
}
|
|
1667
|
+
data = this.__data__ = new MapCache(pairs);
|
|
1668
|
+
}
|
|
1669
|
+
data.set(key, value);
|
|
1670
|
+
this.size = data.size;
|
|
1671
|
+
return this;
|
|
1789
1672
|
}
|
|
1790
1673
|
//#endregion
|
|
1791
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
1674
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Stack.js
|
|
1792
1675
|
/**
|
|
1793
|
-
*
|
|
1676
|
+
* Creates a stack cache object to store key-value pairs.
|
|
1794
1677
|
*
|
|
1795
1678
|
* @private
|
|
1796
|
-
* @
|
|
1797
|
-
* @param {
|
|
1798
|
-
* @param {*} object The potential iteratee object argument.
|
|
1799
|
-
* @returns {boolean} Returns `true` if the arguments are from an iteratee call,
|
|
1800
|
-
* else `false`.
|
|
1679
|
+
* @constructor
|
|
1680
|
+
* @param {Array} [entries] The key-value pairs to cache.
|
|
1801
1681
|
*/
|
|
1802
|
-
function
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
if (type == "number" ? isArrayLike(object) && isIndex(index, object.length) : type == "string" && index in object) return eq(object[index], value);
|
|
1806
|
-
return false;
|
|
1682
|
+
function Stack(entries) {
|
|
1683
|
+
var data = this.__data__ = new ListCache(entries);
|
|
1684
|
+
this.size = data.size;
|
|
1807
1685
|
}
|
|
1686
|
+
Stack.prototype.clear = stackClear;
|
|
1687
|
+
Stack.prototype["delete"] = stackDelete;
|
|
1688
|
+
Stack.prototype.get = stackGet;
|
|
1689
|
+
Stack.prototype.has = stackHas;
|
|
1690
|
+
Stack.prototype.set = stackSet;
|
|
1808
1691
|
//#endregion
|
|
1809
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
1692
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneBuffer.js
|
|
1693
|
+
/** Detect free variable `exports`. */
|
|
1694
|
+
var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
|
|
1695
|
+
/** Detect free variable `module`. */
|
|
1696
|
+
var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
|
|
1697
|
+
/** Built-in value references. */
|
|
1698
|
+
var Buffer$1 = freeModule && freeModule.exports === freeExports ? root.Buffer : void 0;
|
|
1699
|
+
var allocUnsafe = Buffer$1 ? Buffer$1.allocUnsafe : void 0;
|
|
1810
1700
|
/**
|
|
1811
|
-
* Creates a
|
|
1701
|
+
* Creates a clone of `buffer`.
|
|
1812
1702
|
*
|
|
1813
1703
|
* @private
|
|
1814
|
-
* @param {
|
|
1815
|
-
* @
|
|
1704
|
+
* @param {Buffer} buffer The buffer to clone.
|
|
1705
|
+
* @param {boolean} [isDeep] Specify a deep clone.
|
|
1706
|
+
* @returns {Buffer} Returns the cloned buffer.
|
|
1816
1707
|
*/
|
|
1817
|
-
function
|
|
1818
|
-
return
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
customizer = length < 3 ? void 0 : customizer;
|
|
1823
|
-
length = 1;
|
|
1824
|
-
}
|
|
1825
|
-
object = Object(object);
|
|
1826
|
-
while (++index < length) {
|
|
1827
|
-
var source = sources[index];
|
|
1828
|
-
if (source) assigner(object, source, index, customizer);
|
|
1829
|
-
}
|
|
1830
|
-
return object;
|
|
1831
|
-
});
|
|
1708
|
+
function cloneBuffer(buffer, isDeep) {
|
|
1709
|
+
if (isDeep) return buffer.slice();
|
|
1710
|
+
var length = buffer.length, result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
|
|
1711
|
+
buffer.copy(result);
|
|
1712
|
+
return result;
|
|
1832
1713
|
}
|
|
1833
1714
|
//#endregion
|
|
1834
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
1715
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Uint8Array.js
|
|
1716
|
+
/** Built-in value references. */
|
|
1717
|
+
var Uint8Array$1 = root.Uint8Array;
|
|
1718
|
+
//#endregion
|
|
1719
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneArrayBuffer.js
|
|
1835
1720
|
/**
|
|
1836
|
-
*
|
|
1837
|
-
* inherited enumerable string keyed properties of source objects into the
|
|
1838
|
-
* destination object. Source properties that resolve to `undefined` are
|
|
1839
|
-
* skipped if a destination value exists. Array and plain object properties
|
|
1840
|
-
* are merged recursively. Other objects and value types are overridden by
|
|
1841
|
-
* assignment. Source objects are applied from left to right. Subsequent
|
|
1842
|
-
* sources overwrite property assignments of previous sources.
|
|
1843
|
-
*
|
|
1844
|
-
* **Note:** This method mutates `object`.
|
|
1845
|
-
*
|
|
1846
|
-
* @static
|
|
1847
|
-
* @memberOf _
|
|
1848
|
-
* @since 0.5.0
|
|
1849
|
-
* @category Object
|
|
1850
|
-
* @param {Object} object The destination object.
|
|
1851
|
-
* @param {...Object} [sources] The source objects.
|
|
1852
|
-
* @returns {Object} Returns `object`.
|
|
1853
|
-
* @example
|
|
1854
|
-
*
|
|
1855
|
-
* var object = {
|
|
1856
|
-
* 'a': [{ 'b': 2 }, { 'd': 4 }]
|
|
1857
|
-
* };
|
|
1858
|
-
*
|
|
1859
|
-
* var other = {
|
|
1860
|
-
* 'a': [{ 'c': 3 }, { 'e': 5 }]
|
|
1861
|
-
* };
|
|
1721
|
+
* Creates a clone of `arrayBuffer`.
|
|
1862
1722
|
*
|
|
1863
|
-
*
|
|
1864
|
-
*
|
|
1723
|
+
* @private
|
|
1724
|
+
* @param {ArrayBuffer} arrayBuffer The array buffer to clone.
|
|
1725
|
+
* @returns {ArrayBuffer} Returns the cloned array buffer.
|
|
1865
1726
|
*/
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1727
|
+
function cloneArrayBuffer(arrayBuffer) {
|
|
1728
|
+
var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
|
|
1729
|
+
new Uint8Array$1(result).set(new Uint8Array$1(arrayBuffer));
|
|
1730
|
+
return result;
|
|
1731
|
+
}
|
|
1869
1732
|
//#endregion
|
|
1870
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
1733
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneTypedArray.js
|
|
1871
1734
|
/**
|
|
1872
|
-
*
|
|
1873
|
-
* the Unix epoch (1 January 1970 00:00:00 UTC).
|
|
1874
|
-
*
|
|
1875
|
-
* @static
|
|
1876
|
-
* @memberOf _
|
|
1877
|
-
* @since 2.4.0
|
|
1878
|
-
* @category Date
|
|
1879
|
-
* @returns {number} Returns the timestamp.
|
|
1880
|
-
* @example
|
|
1735
|
+
* Creates a clone of `typedArray`.
|
|
1881
1736
|
*
|
|
1882
|
-
*
|
|
1883
|
-
*
|
|
1884
|
-
* }
|
|
1885
|
-
*
|
|
1737
|
+
* @private
|
|
1738
|
+
* @param {Object} typedArray The typed array to clone.
|
|
1739
|
+
* @param {boolean} [isDeep] Specify a deep clone.
|
|
1740
|
+
* @returns {Object} Returns the cloned typed array.
|
|
1886
1741
|
*/
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1742
|
+
function cloneTypedArray(typedArray, isDeep) {
|
|
1743
|
+
var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
|
|
1744
|
+
return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
|
|
1745
|
+
}
|
|
1890
1746
|
//#endregion
|
|
1891
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
1892
|
-
/** Used to match a single whitespace character. */
|
|
1893
|
-
var reWhitespace = /\s/;
|
|
1747
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneObject.js
|
|
1894
1748
|
/**
|
|
1895
|
-
*
|
|
1896
|
-
* character of `string`.
|
|
1749
|
+
* Initializes an object clone.
|
|
1897
1750
|
*
|
|
1898
1751
|
* @private
|
|
1899
|
-
* @param {
|
|
1900
|
-
* @returns {
|
|
1752
|
+
* @param {Object} object The object to clone.
|
|
1753
|
+
* @returns {Object} Returns the initialized clone.
|
|
1901
1754
|
*/
|
|
1902
|
-
function
|
|
1903
|
-
|
|
1904
|
-
while (index-- && reWhitespace.test(string.charAt(index)));
|
|
1905
|
-
return index;
|
|
1755
|
+
function initCloneObject(object) {
|
|
1756
|
+
return typeof object.constructor == "function" && !isPrototype(object) ? baseCreate(getPrototype(object)) : {};
|
|
1906
1757
|
}
|
|
1907
1758
|
//#endregion
|
|
1908
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
1909
|
-
/** Used to match leading whitespace. */
|
|
1910
|
-
var reTrimStart = /^\s+/;
|
|
1759
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createBaseFor.js
|
|
1911
1760
|
/**
|
|
1912
|
-
*
|
|
1761
|
+
* Creates a base function for methods like `_.forIn` and `_.forOwn`.
|
|
1913
1762
|
*
|
|
1914
1763
|
* @private
|
|
1915
|
-
* @param {
|
|
1916
|
-
* @returns {
|
|
1764
|
+
* @param {boolean} [fromRight] Specify iterating from right to left.
|
|
1765
|
+
* @returns {Function} Returns the new base function.
|
|
1917
1766
|
*/
|
|
1918
|
-
function
|
|
1919
|
-
return
|
|
1767
|
+
function createBaseFor(fromRight) {
|
|
1768
|
+
return function(object, iteratee, keysFunc) {
|
|
1769
|
+
var index = -1, iterable = Object(object), props = keysFunc(object), length = props.length;
|
|
1770
|
+
while (length--) {
|
|
1771
|
+
var key = props[fromRight ? length : ++index];
|
|
1772
|
+
if (iteratee(iterable[key], key, iterable) === false) break;
|
|
1773
|
+
}
|
|
1774
|
+
return object;
|
|
1775
|
+
};
|
|
1920
1776
|
}
|
|
1921
1777
|
//#endregion
|
|
1922
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
1923
|
-
/** `Object#toString` result references. */
|
|
1924
|
-
var symbolTag = "[object Symbol]";
|
|
1778
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFor.js
|
|
1925
1779
|
/**
|
|
1926
|
-
*
|
|
1927
|
-
*
|
|
1928
|
-
*
|
|
1929
|
-
* @memberOf _
|
|
1930
|
-
* @since 4.0.0
|
|
1931
|
-
* @category Lang
|
|
1932
|
-
* @param {*} value The value to check.
|
|
1933
|
-
* @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
|
|
1934
|
-
* @example
|
|
1935
|
-
*
|
|
1936
|
-
* _.isSymbol(Symbol.iterator);
|
|
1937
|
-
* // => true
|
|
1780
|
+
* The base implementation of `baseForOwn` which iterates over `object`
|
|
1781
|
+
* properties returned by `keysFunc` and invokes `iteratee` for each property.
|
|
1782
|
+
* Iteratee functions may exit iteration early by explicitly returning `false`.
|
|
1938
1783
|
*
|
|
1939
|
-
*
|
|
1940
|
-
*
|
|
1784
|
+
* @private
|
|
1785
|
+
* @param {Object} object The object to iterate over.
|
|
1786
|
+
* @param {Function} iteratee The function invoked per iteration.
|
|
1787
|
+
* @param {Function} keysFunc The function to get the keys of `object`.
|
|
1788
|
+
* @returns {Object} Returns `object`.
|
|
1941
1789
|
*/
|
|
1942
|
-
|
|
1943
|
-
return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag;
|
|
1944
|
-
}
|
|
1790
|
+
var baseFor = createBaseFor();
|
|
1945
1791
|
//#endregion
|
|
1946
|
-
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/
|
|
1947
|
-
/** Used as references for various `Number` constants. */
|
|
1948
|
-
var NAN = NaN;
|
|
1949
|
-
/** Used to detect bad signed hexadecimal string values. */
|
|
1950
|
-
var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
|
|
1951
|
-
/** Used to detect binary string values. */
|
|
1952
|
-
var reIsBinary = /^0b[01]+$/i;
|
|
1953
|
-
/** Used to detect octal string values. */
|
|
1954
|
-
var reIsOctal = /^0o[0-7]+$/i;
|
|
1955
|
-
/** Built-in method references without a dependency on `root`. */
|
|
1956
|
-
var freeParseInt = parseInt;
|
|
1792
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/now.js
|
|
1957
1793
|
/**
|
|
1958
|
-
*
|
|
1794
|
+
* Gets the timestamp of the number of milliseconds that have elapsed since
|
|
1795
|
+
* the Unix epoch (1 January 1970 00:00:00 UTC).
|
|
1959
1796
|
*
|
|
1960
1797
|
* @static
|
|
1961
1798
|
* @memberOf _
|
|
1962
|
-
* @since 4.0
|
|
1963
|
-
* @category
|
|
1964
|
-
* @
|
|
1965
|
-
* @returns {number} Returns the number.
|
|
1799
|
+
* @since 2.4.0
|
|
1800
|
+
* @category Date
|
|
1801
|
+
* @returns {number} Returns the timestamp.
|
|
1966
1802
|
* @example
|
|
1967
1803
|
*
|
|
1968
|
-
* _.
|
|
1969
|
-
*
|
|
1970
|
-
*
|
|
1971
|
-
*
|
|
1972
|
-
* // => 5e-324
|
|
1973
|
-
*
|
|
1974
|
-
* _.toNumber(Infinity);
|
|
1975
|
-
* // => Infinity
|
|
1976
|
-
*
|
|
1977
|
-
* _.toNumber('3.2');
|
|
1978
|
-
* // => 3.2
|
|
1804
|
+
* _.defer(function(stamp) {
|
|
1805
|
+
* console.log(_.now() - stamp);
|
|
1806
|
+
* }, _.now());
|
|
1807
|
+
* // => Logs the number of milliseconds it took for the deferred invocation.
|
|
1979
1808
|
*/
|
|
1980
|
-
function
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
if (isObject(value)) {
|
|
1984
|
-
var other = typeof value.valueOf == "function" ? value.valueOf() : value;
|
|
1985
|
-
value = isObject(other) ? other + "" : other;
|
|
1986
|
-
}
|
|
1987
|
-
if (typeof value != "string") return value === 0 ? value : +value;
|
|
1988
|
-
value = baseTrim(value);
|
|
1989
|
-
var isBinary = reIsBinary.test(value);
|
|
1990
|
-
return isBinary || reIsOctal.test(value) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) : reIsBadHex.test(value) ? NAN : +value;
|
|
1991
|
-
}
|
|
1809
|
+
var now = function() {
|
|
1810
|
+
return root.Date.now();
|
|
1811
|
+
};
|
|
1992
1812
|
//#endregion
|
|
1993
1813
|
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/debounce.js
|
|
1994
1814
|
/** Error message constants. */
|
|
1995
1815
|
var FUNC_ERROR_TEXT$1 = "Expected a function";
|
|
1996
|
-
var nativeMax = Math.max
|
|
1816
|
+
var nativeMax = Math.max;
|
|
1817
|
+
var nativeMin = Math.min;
|
|
1997
1818
|
/**
|
|
1998
1819
|
* Creates a debounced function that delays invoking `func` until after `wait`
|
|
1999
1820
|
* milliseconds have elapsed since the last time the debounced function was
|
|
@@ -2118,6 +1939,205 @@
|
|
|
2118
1939
|
return debounced;
|
|
2119
1940
|
}
|
|
2120
1941
|
//#endregion
|
|
1942
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignMergeValue.js
|
|
1943
|
+
/**
|
|
1944
|
+
* This function is like `assignValue` except that it doesn't assign
|
|
1945
|
+
* `undefined` values.
|
|
1946
|
+
*
|
|
1947
|
+
* @private
|
|
1948
|
+
* @param {Object} object The object to modify.
|
|
1949
|
+
* @param {string} key The key of the property to assign.
|
|
1950
|
+
* @param {*} value The value to assign.
|
|
1951
|
+
*/
|
|
1952
|
+
function assignMergeValue(object, key, value) {
|
|
1953
|
+
if (value !== void 0 && !eq(object[key], value) || value === void 0 && !(key in object)) baseAssignValue(object, key, value);
|
|
1954
|
+
}
|
|
1955
|
+
//#endregion
|
|
1956
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLikeObject.js
|
|
1957
|
+
/**
|
|
1958
|
+
* This method is like `_.isArrayLike` except that it also checks if `value`
|
|
1959
|
+
* is an object.
|
|
1960
|
+
*
|
|
1961
|
+
* @static
|
|
1962
|
+
* @memberOf _
|
|
1963
|
+
* @since 4.0.0
|
|
1964
|
+
* @category Lang
|
|
1965
|
+
* @param {*} value The value to check.
|
|
1966
|
+
* @returns {boolean} Returns `true` if `value` is an array-like object,
|
|
1967
|
+
* else `false`.
|
|
1968
|
+
* @example
|
|
1969
|
+
*
|
|
1970
|
+
* _.isArrayLikeObject([1, 2, 3]);
|
|
1971
|
+
* // => true
|
|
1972
|
+
*
|
|
1973
|
+
* _.isArrayLikeObject(document.body.children);
|
|
1974
|
+
* // => true
|
|
1975
|
+
*
|
|
1976
|
+
* _.isArrayLikeObject('abc');
|
|
1977
|
+
* // => false
|
|
1978
|
+
*
|
|
1979
|
+
* _.isArrayLikeObject(_.noop);
|
|
1980
|
+
* // => false
|
|
1981
|
+
*/
|
|
1982
|
+
function isArrayLikeObject(value) {
|
|
1983
|
+
return isObjectLike(value) && isArrayLike(value);
|
|
1984
|
+
}
|
|
1985
|
+
//#endregion
|
|
1986
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_safeGet.js
|
|
1987
|
+
/**
|
|
1988
|
+
* Gets the value at `key`, unless `key` is "__proto__" or "constructor".
|
|
1989
|
+
*
|
|
1990
|
+
* @private
|
|
1991
|
+
* @param {Object} object The object to query.
|
|
1992
|
+
* @param {string} key The key of the property to get.
|
|
1993
|
+
* @returns {*} Returns the property value.
|
|
1994
|
+
*/
|
|
1995
|
+
function safeGet(object, key) {
|
|
1996
|
+
if (key === "constructor" && typeof object[key] === "function") return;
|
|
1997
|
+
if (key == "__proto__") return;
|
|
1998
|
+
return object[key];
|
|
1999
|
+
}
|
|
2000
|
+
//#endregion
|
|
2001
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toPlainObject.js
|
|
2002
|
+
/**
|
|
2003
|
+
* Converts `value` to a plain object flattening inherited enumerable string
|
|
2004
|
+
* keyed properties of `value` to own properties of the plain object.
|
|
2005
|
+
*
|
|
2006
|
+
* @static
|
|
2007
|
+
* @memberOf _
|
|
2008
|
+
* @since 3.0.0
|
|
2009
|
+
* @category Lang
|
|
2010
|
+
* @param {*} value The value to convert.
|
|
2011
|
+
* @returns {Object} Returns the converted plain object.
|
|
2012
|
+
* @example
|
|
2013
|
+
*
|
|
2014
|
+
* function Foo() {
|
|
2015
|
+
* this.b = 2;
|
|
2016
|
+
* }
|
|
2017
|
+
*
|
|
2018
|
+
* Foo.prototype.c = 3;
|
|
2019
|
+
*
|
|
2020
|
+
* _.assign({ 'a': 1 }, new Foo);
|
|
2021
|
+
* // => { 'a': 1, 'b': 2 }
|
|
2022
|
+
*
|
|
2023
|
+
* _.assign({ 'a': 1 }, _.toPlainObject(new Foo));
|
|
2024
|
+
* // => { 'a': 1, 'b': 2, 'c': 3 }
|
|
2025
|
+
*/
|
|
2026
|
+
function toPlainObject(value) {
|
|
2027
|
+
return copyObject(value, keysIn(value));
|
|
2028
|
+
}
|
|
2029
|
+
//#endregion
|
|
2030
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMergeDeep.js
|
|
2031
|
+
/**
|
|
2032
|
+
* A specialized version of `baseMerge` for arrays and objects which performs
|
|
2033
|
+
* deep merges and tracks traversed objects enabling objects with circular
|
|
2034
|
+
* references to be merged.
|
|
2035
|
+
*
|
|
2036
|
+
* @private
|
|
2037
|
+
* @param {Object} object The destination object.
|
|
2038
|
+
* @param {Object} source The source object.
|
|
2039
|
+
* @param {string} key The key of the value to merge.
|
|
2040
|
+
* @param {number} srcIndex The index of `source`.
|
|
2041
|
+
* @param {Function} mergeFunc The function to merge values.
|
|
2042
|
+
* @param {Function} [customizer] The function to customize assigned values.
|
|
2043
|
+
* @param {Object} [stack] Tracks traversed source values and their merged
|
|
2044
|
+
* counterparts.
|
|
2045
|
+
*/
|
|
2046
|
+
function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {
|
|
2047
|
+
var objValue = safeGet(object, key), srcValue = safeGet(source, key), stacked = stack.get(srcValue);
|
|
2048
|
+
if (stacked) {
|
|
2049
|
+
assignMergeValue(object, key, stacked);
|
|
2050
|
+
return;
|
|
2051
|
+
}
|
|
2052
|
+
var newValue = customizer ? customizer(objValue, srcValue, key + "", object, source, stack) : void 0;
|
|
2053
|
+
var isCommon = newValue === void 0;
|
|
2054
|
+
if (isCommon) {
|
|
2055
|
+
var isArr = isArray(srcValue), isBuff = !isArr && isBuffer(srcValue), isTyped = !isArr && !isBuff && isTypedArray(srcValue);
|
|
2056
|
+
newValue = srcValue;
|
|
2057
|
+
if (isArr || isBuff || isTyped) if (isArray(objValue)) newValue = objValue;
|
|
2058
|
+
else if (isArrayLikeObject(objValue)) newValue = copyArray(objValue);
|
|
2059
|
+
else if (isBuff) {
|
|
2060
|
+
isCommon = false;
|
|
2061
|
+
newValue = cloneBuffer(srcValue, true);
|
|
2062
|
+
} else if (isTyped) {
|
|
2063
|
+
isCommon = false;
|
|
2064
|
+
newValue = cloneTypedArray(srcValue, true);
|
|
2065
|
+
} else newValue = [];
|
|
2066
|
+
else if (isPlainObject(srcValue) || isArguments(srcValue)) {
|
|
2067
|
+
newValue = objValue;
|
|
2068
|
+
if (isArguments(objValue)) newValue = toPlainObject(objValue);
|
|
2069
|
+
else if (!isObject(objValue) || isFunction(objValue)) newValue = initCloneObject(srcValue);
|
|
2070
|
+
} else isCommon = false;
|
|
2071
|
+
}
|
|
2072
|
+
if (isCommon) {
|
|
2073
|
+
stack.set(srcValue, newValue);
|
|
2074
|
+
mergeFunc(newValue, srcValue, srcIndex, customizer, stack);
|
|
2075
|
+
stack["delete"](srcValue);
|
|
2076
|
+
}
|
|
2077
|
+
assignMergeValue(object, key, newValue);
|
|
2078
|
+
}
|
|
2079
|
+
//#endregion
|
|
2080
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMerge.js
|
|
2081
|
+
/**
|
|
2082
|
+
* The base implementation of `_.merge` without support for multiple sources.
|
|
2083
|
+
*
|
|
2084
|
+
* @private
|
|
2085
|
+
* @param {Object} object The destination object.
|
|
2086
|
+
* @param {Object} source The source object.
|
|
2087
|
+
* @param {number} srcIndex The index of `source`.
|
|
2088
|
+
* @param {Function} [customizer] The function to customize merged values.
|
|
2089
|
+
* @param {Object} [stack] Tracks traversed source values and their merged
|
|
2090
|
+
* counterparts.
|
|
2091
|
+
*/
|
|
2092
|
+
function baseMerge(object, source, srcIndex, customizer, stack) {
|
|
2093
|
+
if (object === source) return;
|
|
2094
|
+
baseFor(source, function(srcValue, key) {
|
|
2095
|
+
stack || (stack = new Stack());
|
|
2096
|
+
if (isObject(srcValue)) baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);
|
|
2097
|
+
else {
|
|
2098
|
+
var newValue = customizer ? customizer(safeGet(object, key), srcValue, key + "", object, source, stack) : void 0;
|
|
2099
|
+
if (newValue === void 0) newValue = srcValue;
|
|
2100
|
+
assignMergeValue(object, key, newValue);
|
|
2101
|
+
}
|
|
2102
|
+
}, keysIn);
|
|
2103
|
+
}
|
|
2104
|
+
//#endregion
|
|
2105
|
+
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/merge.js
|
|
2106
|
+
/**
|
|
2107
|
+
* This method is like `_.assign` except that it recursively merges own and
|
|
2108
|
+
* inherited enumerable string keyed properties of source objects into the
|
|
2109
|
+
* destination object. Source properties that resolve to `undefined` are
|
|
2110
|
+
* skipped if a destination value exists. Array and plain object properties
|
|
2111
|
+
* are merged recursively. Other objects and value types are overridden by
|
|
2112
|
+
* assignment. Source objects are applied from left to right. Subsequent
|
|
2113
|
+
* sources overwrite property assignments of previous sources.
|
|
2114
|
+
*
|
|
2115
|
+
* **Note:** This method mutates `object`.
|
|
2116
|
+
*
|
|
2117
|
+
* @static
|
|
2118
|
+
* @memberOf _
|
|
2119
|
+
* @since 0.5.0
|
|
2120
|
+
* @category Object
|
|
2121
|
+
* @param {Object} object The destination object.
|
|
2122
|
+
* @param {...Object} [sources] The source objects.
|
|
2123
|
+
* @returns {Object} Returns `object`.
|
|
2124
|
+
* @example
|
|
2125
|
+
*
|
|
2126
|
+
* var object = {
|
|
2127
|
+
* 'a': [{ 'b': 2 }, { 'd': 4 }]
|
|
2128
|
+
* };
|
|
2129
|
+
*
|
|
2130
|
+
* var other = {
|
|
2131
|
+
* 'a': [{ 'c': 3 }, { 'e': 5 }]
|
|
2132
|
+
* };
|
|
2133
|
+
*
|
|
2134
|
+
* _.merge(object, other);
|
|
2135
|
+
* // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }
|
|
2136
|
+
*/
|
|
2137
|
+
var merge = createAssigner(function(object, source, srcIndex) {
|
|
2138
|
+
baseMerge(object, source, srcIndex);
|
|
2139
|
+
});
|
|
2140
|
+
//#endregion
|
|
2121
2141
|
//#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/throttle.js
|
|
2122
2142
|
/** Error message constants. */
|
|
2123
2143
|
var FUNC_ERROR_TEXT = "Expected a function";
|