@tailor-cms/ce-accordion-display 0.1.0 → 2.0.1

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/index.js CHANGED
@@ -1,92 +1,99 @@
1
- import "./index.css";
2
- import { defineComponent, computed, resolveComponent, createElementBlock, openBlock, createVNode, withCtx, Fragment, renderList, createBlock, createTextVNode, toDisplayString } from "vue";
3
- const byteToHex = [];
4
- for (let i = 0; i < 256; ++i) {
5
- byteToHex.push((i + 256).toString(16).slice(1));
6
- }
1
+ import { Fragment, computed, createBlock, createElementBlock, createTextVNode, createVNode, defineComponent, openBlock, renderList, resolveComponent, toDisplayString, withCtx } from "vue";
2
+ import './index.css';//#region ../../node_modules/.pnpm/uuid@14.0.0/node_modules/uuid/dist/stringify.js
3
+ var byteToHex = [];
4
+ for (let i = 0; i < 256; ++i) byteToHex.push((i + 256).toString(16).slice(1));
7
5
  function unsafeStringify(arr, offset = 0) {
8
- return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + "-" + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + "-" + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + "-" + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + "-" + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();
6
+ return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + "-" + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + "-" + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + "-" + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + "-" + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();
9
7
  }
10
- let getRandomValues;
11
- const rnds8 = new Uint8Array(16);
8
+ //#endregion
9
+ //#region ../../node_modules/.pnpm/uuid@14.0.0/node_modules/uuid/dist/rng.js
10
+ var rnds8 = new Uint8Array(16);
12
11
  function rng() {
13
- if (!getRandomValues) {
14
- if (typeof crypto === "undefined" || !crypto.getRandomValues) {
15
- throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
16
- }
17
- getRandomValues = crypto.getRandomValues.bind(crypto);
18
- }
19
- return getRandomValues(rnds8);
12
+ return crypto.getRandomValues(rnds8);
20
13
  }
21
- const randomUUID = typeof crypto !== "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
22
- const native = { randomUUID };
14
+ //#endregion
15
+ //#region ../../node_modules/.pnpm/uuid@14.0.0/node_modules/uuid/dist/v4.js
23
16
  function v4(options, buf, offset) {
24
- if (native.randomUUID && true && !options) {
25
- return native.randomUUID();
26
- }
27
- options = options || {};
28
- const rnds = options.random ?? options.rng?.() ?? rng();
29
- if (rnds.length < 16) {
30
- throw new Error("Random bytes length must be >= 16");
31
- }
32
- rnds[6] = rnds[6] & 15 | 64;
33
- rnds[8] = rnds[8] & 63 | 128;
34
- return unsafeStringify(rnds);
35
- }
36
- var id1 = v4();
37
- var id2 = v4();
17
+ if (!buf && !options && crypto.randomUUID) return crypto.randomUUID();
18
+ return _v4(options, buf, offset);
19
+ }
20
+ function _v4(options, buf, offset) {
21
+ options = options || {};
22
+ const rnds = options.random ?? options.rng?.() ?? rng();
23
+ if (rnds.length < 16) throw new Error("Random bytes length must be >= 16");
24
+ rnds[6] = rnds[6] & 15 | 64;
25
+ rnds[8] = rnds[8] & 63 | 128;
26
+ if (buf) {
27
+ offset = offset || 0;
28
+ if (offset < 0 || offset + 16 > buf.length) throw new RangeError(`UUID byte range ${offset}:${offset + 15} is out of buffer bounds`);
29
+ for (let i = 0; i < 16; ++i) buf[offset + i] = rnds[i];
30
+ return buf;
31
+ }
32
+ return unsafeStringify(rnds);
33
+ }
34
+ //#endregion
35
+ //#region ../manifest/dist/index.mjs
38
36
  var type = "ACCORDION";
39
37
  var name = "Accordion";
40
- var initState = () => ({
41
- embeds: {},
42
- items: {
43
- [id1]: {
44
- id: id1,
45
- header: "Accordion Item Title",
46
- body: {},
47
- position: 1
48
- },
49
- [id2]: {
50
- id: id2,
51
- header: "Accordion Item Title",
52
- body: {},
53
- position: 1
54
- }
55
- }
56
- });
38
+ var initState = () => {
39
+ const id1 = v4();
40
+ const id2 = v4();
41
+ return {
42
+ embeds: {},
43
+ items: {
44
+ [id1]: {
45
+ id: id1,
46
+ header: "",
47
+ body: {},
48
+ position: 1
49
+ },
50
+ [id2]: {
51
+ id: id2,
52
+ header: "",
53
+ body: {},
54
+ position: 2
55
+ }
56
+ }
57
+ };
58
+ };
57
59
  var ui = {
58
- // Display icon, https://pictogrammers.com/library/mdi/
59
- icon: "mdi-view-day",
60
- // Does element support only full width or can be used within layouts
61
- // (e.g. 50/50 layout)
62
- forceFullWidth: true
60
+ icon: "mdi-view-day",
61
+ forceFullWidth: true
63
62
  };
64
- var ai = {
65
- Schema: {
66
- type: "json_schema",
67
- name: "ce_accordion",
68
- schema: {
69
- type: "object",
70
- properties: {
71
- items: {
72
- type: "array",
73
- minItems: 2,
74
- items: {
75
- type: "object",
76
- properties: {
77
- header: { type: "string" },
78
- content: { type: "string" }
79
- },
80
- required: ["header", "content"],
81
- additionalProperties: false
82
- }
83
- }
84
- },
85
- required: ["items"],
86
- additionalProperties: false
87
- }
88
- },
89
- getPrompt: () => `
63
+ var isEmpty = (data) => !data.items || Object.keys(data.items).length === 0;
64
+ var manifest$1 = {
65
+ type,
66
+ version: "1.0",
67
+ name,
68
+ isComposite: true,
69
+ ssr: false,
70
+ initState,
71
+ isEmpty,
72
+ ui,
73
+ ai: {
74
+ Schema: {
75
+ type: "json_schema",
76
+ name: "ce_accordion",
77
+ schema: {
78
+ type: "object",
79
+ properties: { items: {
80
+ type: "array",
81
+ minItems: 2,
82
+ items: {
83
+ type: "object",
84
+ properties: {
85
+ header: { type: "string" },
86
+ content: { type: "string" }
87
+ },
88
+ required: ["header", "content"],
89
+ additionalProperties: false
90
+ }
91
+ } },
92
+ required: ["items"],
93
+ additionalProperties: false
94
+ }
95
+ },
96
+ getPrompt: () => `
90
97
  Generate a accordion content element as an object with the following
91
98
  properties:
92
99
  {
@@ -104,1302 +111,2823 @@ var ai = {
104
111
  The content should be relevant to the topic of the accordion and
105
112
  have a few paragraphs about the topic.
106
113
  `,
107
- processResponse: (val) => {
108
- return val.items.reduce(
109
- (acc, { header, content }, index) => {
110
- const embedId = v4();
111
- const itemId = v4();
112
- acc.embeds[embedId] = {
113
- id: embedId,
114
- data: { content },
115
- embedded: true,
116
- position: 1,
117
- type: "TIPTAP_HTML"
118
- };
119
- acc.items[itemId] = {
120
- id: itemId,
121
- body: { [embedId]: true },
122
- header,
123
- position: index + 1
124
- };
125
- return acc;
126
- },
127
- { items: {}, embeds: {} }
128
- );
129
- }
130
- };
131
- var manifest$1 = {
132
- type,
133
- version: "1.0",
134
- name,
135
- isComposite: true,
136
- ssr: false,
137
- initState,
138
- ui,
139
- ai
114
+ processResponse: (val) => {
115
+ return val.items.reduce((acc, { header, content }, index) => {
116
+ const embedId = v4();
117
+ const itemId = v4();
118
+ acc.embeds[embedId] = {
119
+ id: embedId,
120
+ data: { content },
121
+ embedded: true,
122
+ position: 1,
123
+ type: "TIPTAP_HTML"
124
+ };
125
+ acc.items[itemId] = {
126
+ id: itemId,
127
+ body: { [embedId]: true },
128
+ header,
129
+ position: index + 1
130
+ };
131
+ return acc;
132
+ }, {
133
+ items: {},
134
+ embeds: {}
135
+ });
136
+ }
137
+ }
140
138
  };
141
- var index_default = manifest$1;
139
+ //#endregion
140
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js
141
+ /** Detect free variable `global` from Node.js. */
142
142
  var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
143
+ //#endregion
144
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_root.js
145
+ /** Detect free variable `self`. */
143
146
  var freeSelf = typeof self == "object" && self && self.Object === Object && self;
147
+ /** Used as a reference to the global object. */
144
148
  var root = freeGlobal || freeSelf || Function("return this")();
145
- var Symbol$1 = root.Symbol;
146
- var objectProto$b = Object.prototype;
147
- var hasOwnProperty$8 = objectProto$b.hasOwnProperty;
148
- var nativeObjectToString$1 = objectProto$b.toString;
149
- var symToStringTag$1 = Symbol$1 ? Symbol$1.toStringTag : void 0;
149
+ //#endregion
150
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js
151
+ /** Built-in value references. */
152
+ var Symbol = root.Symbol;
153
+ //#endregion
154
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js
155
+ /** Used for built-in method references. */
156
+ var objectProto$3 = Object.prototype;
157
+ /** Used to check objects for own properties. */
158
+ var hasOwnProperty$8 = objectProto$3.hasOwnProperty;
159
+ /**
160
+ * Used to resolve the
161
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
162
+ * of values.
163
+ */
164
+ var nativeObjectToString$1 = objectProto$3.toString;
165
+ /** Built-in value references. */
166
+ var symToStringTag$1 = Symbol ? Symbol.toStringTag : void 0;
167
+ /**
168
+ * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
169
+ *
170
+ * @private
171
+ * @param {*} value The value to query.
172
+ * @returns {string} Returns the raw `toStringTag`.
173
+ */
150
174
  function getRawTag(value) {
151
- var isOwn = hasOwnProperty$8.call(value, symToStringTag$1), tag = value[symToStringTag$1];
152
- try {
153
- value[symToStringTag$1] = void 0;
154
- var unmasked = true;
155
- } catch (e) {
156
- }
157
- var result = nativeObjectToString$1.call(value);
158
- if (unmasked) {
159
- if (isOwn) {
160
- value[symToStringTag$1] = tag;
161
- } else {
162
- delete value[symToStringTag$1];
163
- }
164
- }
165
- return result;
166
- }
167
- var objectProto$a = Object.prototype;
168
- var nativeObjectToString = objectProto$a.toString;
175
+ var isOwn = hasOwnProperty$8.call(value, symToStringTag$1), tag = value[symToStringTag$1];
176
+ try {
177
+ value[symToStringTag$1] = void 0;
178
+ var unmasked = true;
179
+ } catch (e) {}
180
+ var result = nativeObjectToString$1.call(value);
181
+ if (unmasked) if (isOwn) value[symToStringTag$1] = tag;
182
+ else delete value[symToStringTag$1];
183
+ return result;
184
+ }
185
+ //#endregion
186
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js
187
+ /**
188
+ * Used to resolve the
189
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
190
+ * of values.
191
+ */
192
+ var nativeObjectToString = Object.prototype.toString;
193
+ /**
194
+ * Converts `value` to a string using `Object.prototype.toString`.
195
+ *
196
+ * @private
197
+ * @param {*} value The value to convert.
198
+ * @returns {string} Returns the converted string.
199
+ */
169
200
  function objectToString(value) {
170
- return nativeObjectToString.call(value);
201
+ return nativeObjectToString.call(value);
171
202
  }
203
+ //#endregion
204
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js
205
+ /** `Object#toString` result references. */
172
206
  var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
173
- var symToStringTag = Symbol$1 ? Symbol$1.toStringTag : void 0;
207
+ /** Built-in value references. */
208
+ var symToStringTag = Symbol ? Symbol.toStringTag : void 0;
209
+ /**
210
+ * The base implementation of `getTag` without fallbacks for buggy environments.
211
+ *
212
+ * @private
213
+ * @param {*} value The value to query.
214
+ * @returns {string} Returns the `toStringTag`.
215
+ */
174
216
  function baseGetTag(value) {
175
- if (value == null) {
176
- return value === void 0 ? undefinedTag : nullTag;
177
- }
178
- return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
179
- }
217
+ if (value == null) return value === void 0 ? undefinedTag : nullTag;
218
+ return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
219
+ }
220
+ //#endregion
221
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js
222
+ /**
223
+ * Checks if `value` is object-like. A value is object-like if it's not `null`
224
+ * and has a `typeof` result of "object".
225
+ *
226
+ * @static
227
+ * @memberOf _
228
+ * @since 4.0.0
229
+ * @category Lang
230
+ * @param {*} value The value to check.
231
+ * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
232
+ * @example
233
+ *
234
+ * _.isObjectLike({});
235
+ * // => true
236
+ *
237
+ * _.isObjectLike([1, 2, 3]);
238
+ * // => true
239
+ *
240
+ * _.isObjectLike(_.noop);
241
+ * // => false
242
+ *
243
+ * _.isObjectLike(null);
244
+ * // => false
245
+ */
180
246
  function isObjectLike(value) {
181
- return value != null && typeof value == "object";
247
+ return value != null && typeof value == "object";
182
248
  }
249
+ //#endregion
250
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js
251
+ /** `Object#toString` result references. */
183
252
  var symbolTag$1 = "[object Symbol]";
253
+ /**
254
+ * Checks if `value` is classified as a `Symbol` primitive or object.
255
+ *
256
+ * @static
257
+ * @memberOf _
258
+ * @since 4.0.0
259
+ * @category Lang
260
+ * @param {*} value The value to check.
261
+ * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
262
+ * @example
263
+ *
264
+ * _.isSymbol(Symbol.iterator);
265
+ * // => true
266
+ *
267
+ * _.isSymbol('abc');
268
+ * // => false
269
+ */
184
270
  function isSymbol(value) {
185
- return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag$1;
186
- }
271
+ return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag$1;
272
+ }
273
+ //#endregion
274
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.js
275
+ /**
276
+ * A specialized version of `_.map` for arrays without support for iteratee
277
+ * shorthands.
278
+ *
279
+ * @private
280
+ * @param {Array} [array] The array to iterate over.
281
+ * @param {Function} iteratee The function invoked per iteration.
282
+ * @returns {Array} Returns the new mapped array.
283
+ */
187
284
  function arrayMap(array, iteratee) {
188
- var index = -1, length = array == null ? 0 : array.length, result = Array(length);
189
- while (++index < length) {
190
- result[index] = iteratee(array[index], index, array);
191
- }
192
- return result;
193
- }
285
+ var index = -1, length = array == null ? 0 : array.length, result = Array(length);
286
+ while (++index < length) result[index] = iteratee(array[index], index, array);
287
+ return result;
288
+ }
289
+ //#endregion
290
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArray.js
291
+ /**
292
+ * Checks if `value` is classified as an `Array` object.
293
+ *
294
+ * @static
295
+ * @memberOf _
296
+ * @since 0.1.0
297
+ * @category Lang
298
+ * @param {*} value The value to check.
299
+ * @returns {boolean} Returns `true` if `value` is an array, else `false`.
300
+ * @example
301
+ *
302
+ * _.isArray([1, 2, 3]);
303
+ * // => true
304
+ *
305
+ * _.isArray(document.body.children);
306
+ * // => false
307
+ *
308
+ * _.isArray('abc');
309
+ * // => false
310
+ *
311
+ * _.isArray(_.noop);
312
+ * // => false
313
+ */
194
314
  var isArray = Array.isArray;
195
- var symbolProto$1 = Symbol$1 ? Symbol$1.prototype : void 0, symbolToString = symbolProto$1 ? symbolProto$1.toString : void 0;
315
+ //#endregion
316
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseToString.js
317
+ /** Used as references for various `Number` constants. */
318
+ var INFINITY$1 = Infinity;
319
+ /** Used to convert symbols to primitives and strings. */
320
+ var symbolProto$1 = Symbol ? Symbol.prototype : void 0, symbolToString = symbolProto$1 ? symbolProto$1.toString : void 0;
321
+ /**
322
+ * The base implementation of `_.toString` which doesn't convert nullish
323
+ * values to empty strings.
324
+ *
325
+ * @private
326
+ * @param {*} value The value to process.
327
+ * @returns {string} Returns the string.
328
+ */
196
329
  function baseToString(value) {
197
- if (typeof value == "string") {
198
- return value;
199
- }
200
- if (isArray(value)) {
201
- return arrayMap(value, baseToString) + "";
202
- }
203
- if (isSymbol(value)) {
204
- return symbolToString ? symbolToString.call(value) : "";
205
- }
206
- var result = value + "";
207
- return result == "0" && 1 / value == -Infinity ? "-0" : result;
208
- }
330
+ if (typeof value == "string") return value;
331
+ if (isArray(value)) return arrayMap(value, baseToString) + "";
332
+ if (isSymbol(value)) return symbolToString ? symbolToString.call(value) : "";
333
+ var result = value + "";
334
+ return result == "0" && 1 / value == -INFINITY$1 ? "-0" : result;
335
+ }
336
+ //#endregion
337
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObject.js
338
+ /**
339
+ * Checks if `value` is the
340
+ * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
341
+ * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
342
+ *
343
+ * @static
344
+ * @memberOf _
345
+ * @since 0.1.0
346
+ * @category Lang
347
+ * @param {*} value The value to check.
348
+ * @returns {boolean} Returns `true` if `value` is an object, else `false`.
349
+ * @example
350
+ *
351
+ * _.isObject({});
352
+ * // => true
353
+ *
354
+ * _.isObject([1, 2, 3]);
355
+ * // => true
356
+ *
357
+ * _.isObject(_.noop);
358
+ * // => true
359
+ *
360
+ * _.isObject(null);
361
+ * // => false
362
+ */
209
363
  function isObject(value) {
210
- var type2 = typeof value;
211
- return value != null && (type2 == "object" || type2 == "function");
212
- }
364
+ var type = typeof value;
365
+ return value != null && (type == "object" || type == "function");
366
+ }
367
+ //#endregion
368
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/identity.js
369
+ /**
370
+ * This method returns the first argument it receives.
371
+ *
372
+ * @static
373
+ * @since 0.1.0
374
+ * @memberOf _
375
+ * @category Util
376
+ * @param {*} value Any value.
377
+ * @returns {*} Returns `value`.
378
+ * @example
379
+ *
380
+ * var object = { 'a': 1 };
381
+ *
382
+ * console.log(_.identity(object) === object);
383
+ * // => true
384
+ */
213
385
  function identity(value) {
214
- return value;
386
+ return value;
215
387
  }
388
+ //#endregion
389
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js
390
+ /** `Object#toString` result references. */
216
391
  var asyncTag = "[object AsyncFunction]", funcTag$1 = "[object Function]", genTag = "[object GeneratorFunction]", proxyTag = "[object Proxy]";
392
+ /**
393
+ * Checks if `value` is classified as a `Function` object.
394
+ *
395
+ * @static
396
+ * @memberOf _
397
+ * @since 0.1.0
398
+ * @category Lang
399
+ * @param {*} value The value to check.
400
+ * @returns {boolean} Returns `true` if `value` is a function, else `false`.
401
+ * @example
402
+ *
403
+ * _.isFunction(_);
404
+ * // => true
405
+ *
406
+ * _.isFunction(/abc/);
407
+ * // => false
408
+ */
217
409
  function isFunction(value) {
218
- if (!isObject(value)) {
219
- return false;
220
- }
221
- var tag = baseGetTag(value);
222
- return tag == funcTag$1 || tag == genTag || tag == asyncTag || tag == proxyTag;
410
+ if (!isObject(value)) return false;
411
+ var tag = baseGetTag(value);
412
+ return tag == funcTag$1 || tag == genTag || tag == asyncTag || tag == proxyTag;
223
413
  }
414
+ //#endregion
415
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js
416
+ /** Used to detect overreaching core-js shims. */
224
417
  var coreJsData = root["__core-js_shared__"];
418
+ //#endregion
419
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js
420
+ /** Used to detect methods masquerading as native. */
225
421
  var maskSrcKey = function() {
226
- var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
227
- return uid ? "Symbol(src)_1." + uid : "";
422
+ var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
423
+ return uid ? "Symbol(src)_1." + uid : "";
228
424
  }();
425
+ /**
426
+ * Checks if `func` has its source masked.
427
+ *
428
+ * @private
429
+ * @param {Function} func The function to check.
430
+ * @returns {boolean} Returns `true` if `func` is masked, else `false`.
431
+ */
229
432
  function isMasked(func) {
230
- return !!maskSrcKey && maskSrcKey in func;
231
- }
232
- var funcProto$1 = Function.prototype;
233
- var funcToString$1 = funcProto$1.toString;
433
+ return !!maskSrcKey && maskSrcKey in func;
434
+ }
435
+ //#endregion
436
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js
437
+ /** Used to resolve the decompiled source of functions. */
438
+ var funcToString$1 = Function.prototype.toString;
439
+ /**
440
+ * Converts `func` to its source code.
441
+ *
442
+ * @private
443
+ * @param {Function} func The function to convert.
444
+ * @returns {string} Returns the source code.
445
+ */
234
446
  function toSource(func) {
235
- if (func != null) {
236
- try {
237
- return funcToString$1.call(func);
238
- } catch (e) {
239
- }
240
- try {
241
- return func + "";
242
- } catch (e) {
243
- }
244
- }
245
- return "";
246
- }
447
+ if (func != null) {
448
+ try {
449
+ return funcToString$1.call(func);
450
+ } catch (e) {}
451
+ try {
452
+ return func + "";
453
+ } catch (e) {}
454
+ }
455
+ return "";
456
+ }
457
+ //#endregion
458
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js
459
+ /**
460
+ * Used to match `RegExp`
461
+ * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
462
+ */
247
463
  var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
464
+ /** Used to detect host constructors (Safari). */
248
465
  var reIsHostCtor = /^\[object .+?Constructor\]$/;
249
- var funcProto = Function.prototype, objectProto$9 = Object.prototype;
466
+ /** Used for built-in method references. */
467
+ var funcProto = Function.prototype, objectProto$2 = Object.prototype;
468
+ /** Used to resolve the decompiled source of functions. */
250
469
  var funcToString = funcProto.toString;
251
- var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
252
- var reIsNative = RegExp(
253
- "^" + funcToString.call(hasOwnProperty$7).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
254
- );
470
+ /** Used to check objects for own properties. */
471
+ var hasOwnProperty$7 = objectProto$2.hasOwnProperty;
472
+ /** Used to detect if a method is native. */
473
+ var reIsNative = RegExp("^" + funcToString.call(hasOwnProperty$7).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
474
+ /**
475
+ * The base implementation of `_.isNative` without bad shim checks.
476
+ *
477
+ * @private
478
+ * @param {*} value The value to check.
479
+ * @returns {boolean} Returns `true` if `value` is a native function,
480
+ * else `false`.
481
+ */
255
482
  function baseIsNative(value) {
256
- if (!isObject(value) || isMasked(value)) {
257
- return false;
258
- }
259
- var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
260
- return pattern.test(toSource(value));
261
- }
483
+ if (!isObject(value) || isMasked(value)) return false;
484
+ return (isFunction(value) ? reIsNative : reIsHostCtor).test(toSource(value));
485
+ }
486
+ //#endregion
487
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js
488
+ /**
489
+ * Gets the value at `key` of `object`.
490
+ *
491
+ * @private
492
+ * @param {Object} [object] The object to query.
493
+ * @param {string} key The key of the property to get.
494
+ * @returns {*} Returns the property value.
495
+ */
262
496
  function getValue(object, key) {
263
- return object == null ? void 0 : object[key];
264
- }
497
+ return object == null ? void 0 : object[key];
498
+ }
499
+ //#endregion
500
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js
501
+ /**
502
+ * Gets the native function at `key` of `object`.
503
+ *
504
+ * @private
505
+ * @param {Object} object The object to query.
506
+ * @param {string} key The key of the method to get.
507
+ * @returns {*} Returns the function if it's native, else `undefined`.
508
+ */
265
509
  function getNative(object, key) {
266
- var value = getValue(object, key);
267
- return baseIsNative(value) ? value : void 0;
510
+ var value = getValue(object, key);
511
+ return baseIsNative(value) ? value : void 0;
268
512
  }
513
+ //#endregion
514
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js
269
515
  var WeakMap = getNative(root, "WeakMap");
516
+ //#endregion
517
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_apply.js
518
+ /**
519
+ * A faster alternative to `Function#apply`, this function invokes `func`
520
+ * with the `this` binding of `thisArg` and the arguments of `args`.
521
+ *
522
+ * @private
523
+ * @param {Function} func The function to invoke.
524
+ * @param {*} thisArg The `this` binding of `func`.
525
+ * @param {Array} args The arguments to invoke `func` with.
526
+ * @returns {*} Returns the result of `func`.
527
+ */
270
528
  function apply(func, thisArg, args) {
271
- switch (args.length) {
272
- case 0:
273
- return func.call(thisArg);
274
- case 1:
275
- return func.call(thisArg, args[0]);
276
- case 2:
277
- return func.call(thisArg, args[0], args[1]);
278
- case 3:
279
- return func.call(thisArg, args[0], args[1], args[2]);
280
- }
281
- return func.apply(thisArg, args);
282
- }
529
+ switch (args.length) {
530
+ case 0: return func.call(thisArg);
531
+ case 1: return func.call(thisArg, args[0]);
532
+ case 2: return func.call(thisArg, args[0], args[1]);
533
+ case 3: return func.call(thisArg, args[0], args[1], args[2]);
534
+ }
535
+ return func.apply(thisArg, args);
536
+ }
537
+ //#endregion
538
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js
539
+ /** Used to detect hot functions by number of calls within a span of milliseconds. */
283
540
  var HOT_COUNT = 800, HOT_SPAN = 16;
284
541
  var nativeNow = Date.now;
542
+ /**
543
+ * Creates a function that'll short out and invoke `identity` instead
544
+ * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`
545
+ * milliseconds.
546
+ *
547
+ * @private
548
+ * @param {Function} func The function to restrict.
549
+ * @returns {Function} Returns the new shortable function.
550
+ */
285
551
  function shortOut(func) {
286
- var count = 0, lastCalled = 0;
287
- return function() {
288
- var stamp = nativeNow(), remaining = HOT_SPAN - (stamp - lastCalled);
289
- lastCalled = stamp;
290
- if (remaining > 0) {
291
- if (++count >= HOT_COUNT) {
292
- return arguments[0];
293
- }
294
- } else {
295
- count = 0;
296
- }
297
- return func.apply(void 0, arguments);
298
- };
299
- }
552
+ var count = 0, lastCalled = 0;
553
+ return function() {
554
+ var stamp = nativeNow(), remaining = HOT_SPAN - (stamp - lastCalled);
555
+ lastCalled = stamp;
556
+ if (remaining > 0) {
557
+ if (++count >= HOT_COUNT) return arguments[0];
558
+ } else count = 0;
559
+ return func.apply(void 0, arguments);
560
+ };
561
+ }
562
+ //#endregion
563
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/constant.js
564
+ /**
565
+ * Creates a function that returns `value`.
566
+ *
567
+ * @static
568
+ * @memberOf _
569
+ * @since 2.4.0
570
+ * @category Util
571
+ * @param {*} value The value to return from the new function.
572
+ * @returns {Function} Returns the new constant function.
573
+ * @example
574
+ *
575
+ * var objects = _.times(2, _.constant({ 'a': 1 }));
576
+ *
577
+ * console.log(objects);
578
+ * // => [{ 'a': 1 }, { 'a': 1 }]
579
+ *
580
+ * console.log(objects[0] === objects[1]);
581
+ * // => true
582
+ */
300
583
  function constant(value) {
301
- return function() {
302
- return value;
303
- };
584
+ return function() {
585
+ return value;
586
+ };
304
587
  }
588
+ //#endregion
589
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js
305
590
  var defineProperty = function() {
306
- try {
307
- var func = getNative(Object, "defineProperty");
308
- func({}, "", {});
309
- return func;
310
- } catch (e) {
311
- }
591
+ try {
592
+ var func = getNative(Object, "defineProperty");
593
+ func({}, "", {});
594
+ return func;
595
+ } catch (e) {}
312
596
  }();
313
- var baseSetToString = !defineProperty ? identity : function(func, string) {
314
- return defineProperty(func, "toString", {
315
- "configurable": true,
316
- "enumerable": false,
317
- "value": constant(string),
318
- "writable": true
319
- });
320
- };
321
- var setToString = shortOut(baseSetToString);
597
+ //#endregion
598
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setToString.js
599
+ /**
600
+ * Sets the `toString` method of `func` to return `string`.
601
+ *
602
+ * @private
603
+ * @param {Function} func The function to modify.
604
+ * @param {Function} string The `toString` result.
605
+ * @returns {Function} Returns `func`.
606
+ */
607
+ var setToString = shortOut(!defineProperty ? identity : function(func, string) {
608
+ return defineProperty(func, "toString", {
609
+ "configurable": true,
610
+ "enumerable": false,
611
+ "value": constant(string),
612
+ "writable": true
613
+ });
614
+ });
615
+ //#endregion
616
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js
617
+ /** Used as references for various `Number` constants. */
322
618
  var MAX_SAFE_INTEGER$1 = 9007199254740991;
619
+ /** Used to detect unsigned integer values. */
323
620
  var reIsUint = /^(?:0|[1-9]\d*)$/;
621
+ /**
622
+ * Checks if `value` is a valid array-like index.
623
+ *
624
+ * @private
625
+ * @param {*} value The value to check.
626
+ * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
627
+ * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
628
+ */
324
629
  function isIndex(value, length) {
325
- var type2 = typeof value;
326
- length = length == null ? MAX_SAFE_INTEGER$1 : length;
327
- return !!length && (type2 == "number" || type2 != "symbol" && reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length);
328
- }
630
+ var type = typeof value;
631
+ length = length == null ? MAX_SAFE_INTEGER$1 : length;
632
+ return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && value > -1 && value % 1 == 0 && value < length;
633
+ }
634
+ //#endregion
635
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/eq.js
636
+ /**
637
+ * Performs a
638
+ * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
639
+ * comparison between two values to determine if they are equivalent.
640
+ *
641
+ * @static
642
+ * @memberOf _
643
+ * @since 4.0.0
644
+ * @category Lang
645
+ * @param {*} value The value to compare.
646
+ * @param {*} other The other value to compare.
647
+ * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
648
+ * @example
649
+ *
650
+ * var object = { 'a': 1 };
651
+ * var other = { 'a': 1 };
652
+ *
653
+ * _.eq(object, object);
654
+ * // => true
655
+ *
656
+ * _.eq(object, other);
657
+ * // => false
658
+ *
659
+ * _.eq('a', 'a');
660
+ * // => true
661
+ *
662
+ * _.eq('a', Object('a'));
663
+ * // => false
664
+ *
665
+ * _.eq(NaN, NaN);
666
+ * // => true
667
+ */
329
668
  function eq(value, other) {
330
- return value === other || value !== value && other !== other;
669
+ return value === other || value !== value && other !== other;
331
670
  }
671
+ //#endregion
672
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_overRest.js
332
673
  var nativeMax = Math.max;
674
+ /**
675
+ * A specialized version of `baseRest` which transforms the rest array.
676
+ *
677
+ * @private
678
+ * @param {Function} func The function to apply a rest parameter to.
679
+ * @param {number} [start=func.length-1] The start position of the rest parameter.
680
+ * @param {Function} transform The rest array transform.
681
+ * @returns {Function} Returns the new function.
682
+ */
333
683
  function overRest(func, start, transform) {
334
- start = nativeMax(start === void 0 ? func.length - 1 : start, 0);
335
- return function() {
336
- var args = arguments, index = -1, length = nativeMax(args.length - start, 0), array = Array(length);
337
- while (++index < length) {
338
- array[index] = args[start + index];
339
- }
340
- index = -1;
341
- var otherArgs = Array(start + 1);
342
- while (++index < start) {
343
- otherArgs[index] = args[index];
344
- }
345
- otherArgs[start] = transform(array);
346
- return apply(func, this, otherArgs);
347
- };
348
- }
684
+ start = nativeMax(start === void 0 ? func.length - 1 : start, 0);
685
+ return function() {
686
+ var args = arguments, index = -1, length = nativeMax(args.length - start, 0), array = Array(length);
687
+ while (++index < length) array[index] = args[start + index];
688
+ index = -1;
689
+ var otherArgs = Array(start + 1);
690
+ while (++index < start) otherArgs[index] = args[index];
691
+ otherArgs[start] = transform(array);
692
+ return apply(func, this, otherArgs);
693
+ };
694
+ }
695
+ //#endregion
696
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseRest.js
697
+ /**
698
+ * The base implementation of `_.rest` which doesn't validate or coerce arguments.
699
+ *
700
+ * @private
701
+ * @param {Function} func The function to apply a rest parameter to.
702
+ * @param {number} [start=func.length-1] The start position of the rest parameter.
703
+ * @returns {Function} Returns the new function.
704
+ */
349
705
  function baseRest(func, start) {
350
- return setToString(overRest(func, start, identity), func + "");
706
+ return setToString(overRest(func, start, identity), func + "");
351
707
  }
708
+ //#endregion
709
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isLength.js
710
+ /** Used as references for various `Number` constants. */
352
711
  var MAX_SAFE_INTEGER = 9007199254740991;
712
+ /**
713
+ * Checks if `value` is a valid array-like length.
714
+ *
715
+ * **Note:** This method is loosely based on
716
+ * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
717
+ *
718
+ * @static
719
+ * @memberOf _
720
+ * @since 4.0.0
721
+ * @category Lang
722
+ * @param {*} value The value to check.
723
+ * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
724
+ * @example
725
+ *
726
+ * _.isLength(3);
727
+ * // => true
728
+ *
729
+ * _.isLength(Number.MIN_VALUE);
730
+ * // => false
731
+ *
732
+ * _.isLength(Infinity);
733
+ * // => false
734
+ *
735
+ * _.isLength('3');
736
+ * // => false
737
+ */
353
738
  function isLength(value) {
354
- return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
355
- }
739
+ return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
740
+ }
741
+ //#endregion
742
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js
743
+ /**
744
+ * Checks if `value` is array-like. A value is considered array-like if it's
745
+ * not a function and has a `value.length` that's an integer greater than or
746
+ * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
747
+ *
748
+ * @static
749
+ * @memberOf _
750
+ * @since 4.0.0
751
+ * @category Lang
752
+ * @param {*} value The value to check.
753
+ * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
754
+ * @example
755
+ *
756
+ * _.isArrayLike([1, 2, 3]);
757
+ * // => true
758
+ *
759
+ * _.isArrayLike(document.body.children);
760
+ * // => true
761
+ *
762
+ * _.isArrayLike('abc');
763
+ * // => true
764
+ *
765
+ * _.isArrayLike(_.noop);
766
+ * // => false
767
+ */
356
768
  function isArrayLike(value) {
357
- return value != null && isLength(value.length) && !isFunction(value);
358
- }
769
+ return value != null && isLength(value.length) && !isFunction(value);
770
+ }
771
+ //#endregion
772
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isIterateeCall.js
773
+ /**
774
+ * Checks if the given arguments are from an iteratee call.
775
+ *
776
+ * @private
777
+ * @param {*} value The potential iteratee value argument.
778
+ * @param {*} index The potential iteratee index or key argument.
779
+ * @param {*} object The potential iteratee object argument.
780
+ * @returns {boolean} Returns `true` if the arguments are from an iteratee call,
781
+ * else `false`.
782
+ */
359
783
  function isIterateeCall(value, index, object) {
360
- if (!isObject(object)) {
361
- return false;
362
- }
363
- var type2 = typeof index;
364
- if (type2 == "number" ? isArrayLike(object) && isIndex(index, object.length) : type2 == "string" && index in object) {
365
- return eq(object[index], value);
366
- }
367
- return false;
368
- }
369
- var objectProto$8 = Object.prototype;
784
+ if (!isObject(object)) return false;
785
+ var type = typeof index;
786
+ if (type == "number" ? isArrayLike(object) && isIndex(index, object.length) : type == "string" && index in object) return eq(object[index], value);
787
+ return false;
788
+ }
789
+ //#endregion
790
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js
791
+ /** Used for built-in method references. */
792
+ var objectProto$1 = Object.prototype;
793
+ /**
794
+ * Checks if `value` is likely a prototype object.
795
+ *
796
+ * @private
797
+ * @param {*} value The value to check.
798
+ * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
799
+ */
370
800
  function isPrototype(value) {
371
- var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto$8;
372
- return value === proto;
373
- }
801
+ var Ctor = value && value.constructor;
802
+ return value === (typeof Ctor == "function" && Ctor.prototype || objectProto$1);
803
+ }
804
+ //#endregion
805
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js
806
+ /**
807
+ * The base implementation of `_.times` without support for iteratee shorthands
808
+ * or max array length checks.
809
+ *
810
+ * @private
811
+ * @param {number} n The number of times to invoke `iteratee`.
812
+ * @param {Function} iteratee The function invoked per iteration.
813
+ * @returns {Array} Returns the array of results.
814
+ */
374
815
  function baseTimes(n, iteratee) {
375
- var index = -1, result = Array(n);
376
- while (++index < n) {
377
- result[index] = iteratee(index);
378
- }
379
- return result;
816
+ var index = -1, result = Array(n);
817
+ while (++index < n) result[index] = iteratee(index);
818
+ return result;
380
819
  }
820
+ //#endregion
821
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js
822
+ /** `Object#toString` result references. */
381
823
  var argsTag$2 = "[object Arguments]";
824
+ /**
825
+ * The base implementation of `_.isArguments`.
826
+ *
827
+ * @private
828
+ * @param {*} value The value to check.
829
+ * @returns {boolean} Returns `true` if `value` is an `arguments` object,
830
+ */
382
831
  function baseIsArguments(value) {
383
- return isObjectLike(value) && baseGetTag(value) == argsTag$2;
832
+ return isObjectLike(value) && baseGetTag(value) == argsTag$2;
384
833
  }
385
- var objectProto$7 = Object.prototype;
386
- var hasOwnProperty$6 = objectProto$7.hasOwnProperty;
387
- var propertyIsEnumerable$1 = objectProto$7.propertyIsEnumerable;
388
- var isArguments = baseIsArguments(/* @__PURE__ */ function() {
389
- return arguments;
834
+ //#endregion
835
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js
836
+ /** Used for built-in method references. */
837
+ var objectProto = Object.prototype;
838
+ /** Used to check objects for own properties. */
839
+ var hasOwnProperty$6 = objectProto.hasOwnProperty;
840
+ /** Built-in value references. */
841
+ var propertyIsEnumerable$1 = objectProto.propertyIsEnumerable;
842
+ /**
843
+ * Checks if `value` is likely an `arguments` object.
844
+ *
845
+ * @static
846
+ * @memberOf _
847
+ * @since 0.1.0
848
+ * @category Lang
849
+ * @param {*} value The value to check.
850
+ * @returns {boolean} Returns `true` if `value` is an `arguments` object,
851
+ * else `false`.
852
+ * @example
853
+ *
854
+ * _.isArguments(function() { return arguments; }());
855
+ * // => true
856
+ *
857
+ * _.isArguments([1, 2, 3]);
858
+ * // => false
859
+ */
860
+ var isArguments = baseIsArguments(function() {
861
+ return arguments;
390
862
  }()) ? baseIsArguments : function(value) {
391
- return isObjectLike(value) && hasOwnProperty$6.call(value, "callee") && !propertyIsEnumerable$1.call(value, "callee");
863
+ return isObjectLike(value) && hasOwnProperty$6.call(value, "callee") && !propertyIsEnumerable$1.call(value, "callee");
392
864
  };
865
+ //#endregion
866
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js
867
+ /**
868
+ * This method returns `false`.
869
+ *
870
+ * @static
871
+ * @memberOf _
872
+ * @since 4.13.0
873
+ * @category Util
874
+ * @returns {boolean} Returns `false`.
875
+ * @example
876
+ *
877
+ * _.times(2, _.stubFalse);
878
+ * // => [false, false]
879
+ */
393
880
  function stubFalse() {
394
- return false;
881
+ return false;
395
882
  }
883
+ //#endregion
884
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js
885
+ /** Detect free variable `exports`. */
396
886
  var freeExports$1 = typeof exports == "object" && exports && !exports.nodeType && exports;
887
+ /** Detect free variable `module`. */
397
888
  var freeModule$1 = freeExports$1 && typeof module == "object" && module && !module.nodeType && module;
398
- var moduleExports$1 = freeModule$1 && freeModule$1.exports === freeExports$1;
399
- var Buffer = moduleExports$1 ? root.Buffer : void 0;
400
- var nativeIsBuffer = Buffer ? Buffer.isBuffer : void 0;
401
- var isBuffer = nativeIsBuffer || stubFalse;
889
+ /** Built-in value references. */
890
+ var Buffer = freeModule$1 && freeModule$1.exports === freeExports$1 ? root.Buffer : void 0;
891
+ /**
892
+ * Checks if `value` is a buffer.
893
+ *
894
+ * @static
895
+ * @memberOf _
896
+ * @since 4.3.0
897
+ * @category Lang
898
+ * @param {*} value The value to check.
899
+ * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
900
+ * @example
901
+ *
902
+ * _.isBuffer(new Buffer(2));
903
+ * // => true
904
+ *
905
+ * _.isBuffer(new Uint8Array(2));
906
+ * // => false
907
+ */
908
+ var isBuffer = (Buffer ? Buffer.isBuffer : void 0) || stubFalse;
909
+ //#endregion
910
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js
911
+ /** `Object#toString` result references. */
402
912
  var argsTag$1 = "[object Arguments]", arrayTag$1 = "[object Array]", boolTag$1 = "[object Boolean]", dateTag$1 = "[object Date]", errorTag$1 = "[object Error]", funcTag = "[object Function]", mapTag$2 = "[object Map]", numberTag$1 = "[object Number]", objectTag$2 = "[object Object]", regexpTag$1 = "[object RegExp]", setTag$2 = "[object Set]", stringTag$1 = "[object String]", weakMapTag$1 = "[object WeakMap]";
403
913
  var arrayBufferTag$1 = "[object ArrayBuffer]", dataViewTag$2 = "[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]";
914
+ /** Used to identify `toStringTag` values of typed arrays. */
404
915
  var typedArrayTags = {};
405
916
  typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true;
406
917
  typedArrayTags[argsTag$1] = typedArrayTags[arrayTag$1] = typedArrayTags[arrayBufferTag$1] = typedArrayTags[boolTag$1] = typedArrayTags[dataViewTag$2] = typedArrayTags[dateTag$1] = typedArrayTags[errorTag$1] = typedArrayTags[funcTag] = typedArrayTags[mapTag$2] = typedArrayTags[numberTag$1] = typedArrayTags[objectTag$2] = typedArrayTags[regexpTag$1] = typedArrayTags[setTag$2] = typedArrayTags[stringTag$1] = typedArrayTags[weakMapTag$1] = false;
918
+ /**
919
+ * The base implementation of `_.isTypedArray` without Node.js optimizations.
920
+ *
921
+ * @private
922
+ * @param {*} value The value to check.
923
+ * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
924
+ */
407
925
  function baseIsTypedArray(value) {
408
- return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
409
- }
926
+ return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
927
+ }
928
+ //#endregion
929
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js
930
+ /**
931
+ * The base implementation of `_.unary` without support for storing metadata.
932
+ *
933
+ * @private
934
+ * @param {Function} func The function to cap arguments for.
935
+ * @returns {Function} Returns the new capped function.
936
+ */
410
937
  function baseUnary(func) {
411
- return function(value) {
412
- return func(value);
413
- };
938
+ return function(value) {
939
+ return func(value);
940
+ };
414
941
  }
942
+ //#endregion
943
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js
944
+ /** Detect free variable `exports`. */
415
945
  var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
946
+ /** Detect free variable `module`. */
416
947
  var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
417
- var moduleExports = freeModule && freeModule.exports === freeExports;
418
- var freeProcess = moduleExports && freeGlobal.process;
948
+ /** Detect free variable `process` from Node.js. */
949
+ var freeProcess = freeModule && freeModule.exports === freeExports && freeGlobal.process;
950
+ /** Used to access faster Node.js helpers. */
419
951
  var nodeUtil = function() {
420
- try {
421
- var types = freeModule && freeModule.require && freeModule.require("util").types;
422
- if (types) {
423
- return types;
424
- }
425
- return freeProcess && freeProcess.binding && freeProcess.binding("util");
426
- } catch (e) {
427
- }
952
+ try {
953
+ var types = freeModule && freeModule.require && freeModule.require("util").types;
954
+ if (types) return types;
955
+ return freeProcess && freeProcess.binding && freeProcess.binding("util");
956
+ } catch (e) {}
428
957
  }();
958
+ //#endregion
959
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js
429
960
  var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
961
+ /**
962
+ * Checks if `value` is classified as a typed array.
963
+ *
964
+ * @static
965
+ * @memberOf _
966
+ * @since 3.0.0
967
+ * @category Lang
968
+ * @param {*} value The value to check.
969
+ * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
970
+ * @example
971
+ *
972
+ * _.isTypedArray(new Uint8Array);
973
+ * // => true
974
+ *
975
+ * _.isTypedArray([]);
976
+ * // => false
977
+ */
430
978
  var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
431
- var objectProto$6 = Object.prototype;
432
- var hasOwnProperty$5 = objectProto$6.hasOwnProperty;
979
+ //#endregion
980
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js
981
+ /** Used to check objects for own properties. */
982
+ var hasOwnProperty$5 = Object.prototype.hasOwnProperty;
983
+ /**
984
+ * Creates an array of the enumerable property names of the array-like `value`.
985
+ *
986
+ * @private
987
+ * @param {*} value The value to query.
988
+ * @param {boolean} inherited Specify returning inherited property names.
989
+ * @returns {Array} Returns the array of property names.
990
+ */
433
991
  function arrayLikeKeys(value, inherited) {
434
- 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;
435
- for (var key in value) {
436
- if (hasOwnProperty$5.call(value, key) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
437
- (key == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
438
- isBuff && (key == "offset" || key == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
439
- isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || // Skip index properties.
440
- isIndex(key, length)))) {
441
- result.push(key);
442
- }
443
- }
444
- return result;
445
- }
992
+ 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;
993
+ for (var key in value) if ((inherited || hasOwnProperty$5.call(value, key)) && !(skipIndexes && (key == "length" || isBuff && (key == "offset" || key == "parent") || isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || isIndex(key, length)))) result.push(key);
994
+ return result;
995
+ }
996
+ //#endregion
997
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js
998
+ /**
999
+ * Creates a unary function that invokes `func` with its argument transformed.
1000
+ *
1001
+ * @private
1002
+ * @param {Function} func The function to wrap.
1003
+ * @param {Function} transform The argument transform.
1004
+ * @returns {Function} Returns the new function.
1005
+ */
446
1006
  function overArg(func, transform) {
447
- return function(arg) {
448
- return func(transform(arg));
449
- };
1007
+ return function(arg) {
1008
+ return func(transform(arg));
1009
+ };
450
1010
  }
1011
+ //#endregion
1012
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js
451
1013
  var nativeKeys = overArg(Object.keys, Object);
452
- var objectProto$5 = Object.prototype;
453
- var hasOwnProperty$4 = objectProto$5.hasOwnProperty;
1014
+ //#endregion
1015
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js
1016
+ /** Used to check objects for own properties. */
1017
+ var hasOwnProperty$4 = Object.prototype.hasOwnProperty;
1018
+ /**
1019
+ * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
1020
+ *
1021
+ * @private
1022
+ * @param {Object} object The object to query.
1023
+ * @returns {Array} Returns the array of property names.
1024
+ */
454
1025
  function baseKeys(object) {
455
- if (!isPrototype(object)) {
456
- return nativeKeys(object);
457
- }
458
- var result = [];
459
- for (var key in Object(object)) {
460
- if (hasOwnProperty$4.call(object, key) && key != "constructor") {
461
- result.push(key);
462
- }
463
- }
464
- return result;
465
- }
1026
+ if (!isPrototype(object)) return nativeKeys(object);
1027
+ var result = [];
1028
+ for (var key in Object(object)) if (hasOwnProperty$4.call(object, key) && key != "constructor") result.push(key);
1029
+ return result;
1030
+ }
1031
+ //#endregion
1032
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keys.js
1033
+ /**
1034
+ * Creates an array of the own enumerable property names of `object`.
1035
+ *
1036
+ * **Note:** Non-object values are coerced to objects. See the
1037
+ * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
1038
+ * for more details.
1039
+ *
1040
+ * @static
1041
+ * @since 0.1.0
1042
+ * @memberOf _
1043
+ * @category Object
1044
+ * @param {Object} object The object to query.
1045
+ * @returns {Array} Returns the array of property names.
1046
+ * @example
1047
+ *
1048
+ * function Foo() {
1049
+ * this.a = 1;
1050
+ * this.b = 2;
1051
+ * }
1052
+ *
1053
+ * Foo.prototype.c = 3;
1054
+ *
1055
+ * _.keys(new Foo);
1056
+ * // => ['a', 'b'] (iteration order is not guaranteed)
1057
+ *
1058
+ * _.keys('hi');
1059
+ * // => ['0', '1']
1060
+ */
466
1061
  function keys(object) {
467
- return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
1062
+ return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
468
1063
  }
1064
+ //#endregion
1065
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKey.js
1066
+ /** Used to match property names within property paths. */
469
1067
  var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp = /^\w*$/;
1068
+ /**
1069
+ * Checks if `value` is a property name and not a property path.
1070
+ *
1071
+ * @private
1072
+ * @param {*} value The value to check.
1073
+ * @param {Object} [object] The object to query keys on.
1074
+ * @returns {boolean} Returns `true` if `value` is a property name, else `false`.
1075
+ */
470
1076
  function isKey(value, object) {
471
- if (isArray(value)) {
472
- return false;
473
- }
474
- var type2 = typeof value;
475
- if (type2 == "number" || type2 == "symbol" || type2 == "boolean" || value == null || isSymbol(value)) {
476
- return true;
477
- }
478
- return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || object != null && value in Object(object);
1077
+ if (isArray(value)) return false;
1078
+ var type = typeof value;
1079
+ if (type == "number" || type == "symbol" || type == "boolean" || value == null || isSymbol(value)) return true;
1080
+ return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || object != null && value in Object(object);
479
1081
  }
1082
+ //#endregion
1083
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js
480
1084
  var nativeCreate = getNative(Object, "create");
1085
+ //#endregion
1086
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js
1087
+ /**
1088
+ * Removes all key-value entries from the hash.
1089
+ *
1090
+ * @private
1091
+ * @name clear
1092
+ * @memberOf Hash
1093
+ */
481
1094
  function hashClear() {
482
- this.__data__ = nativeCreate ? nativeCreate(null) : {};
483
- this.size = 0;
484
- }
1095
+ this.__data__ = nativeCreate ? nativeCreate(null) : {};
1096
+ this.size = 0;
1097
+ }
1098
+ //#endregion
1099
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js
1100
+ /**
1101
+ * Removes `key` and its value from the hash.
1102
+ *
1103
+ * @private
1104
+ * @name delete
1105
+ * @memberOf Hash
1106
+ * @param {Object} hash The hash to modify.
1107
+ * @param {string} key The key of the value to remove.
1108
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1109
+ */
485
1110
  function hashDelete(key) {
486
- var result = this.has(key) && delete this.__data__[key];
487
- this.size -= result ? 1 : 0;
488
- return result;
1111
+ var result = this.has(key) && delete this.__data__[key];
1112
+ this.size -= result ? 1 : 0;
1113
+ return result;
489
1114
  }
1115
+ //#endregion
1116
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js
1117
+ /** Used to stand-in for `undefined` hash values. */
490
1118
  var HASH_UNDEFINED$2 = "__lodash_hash_undefined__";
491
- var objectProto$4 = Object.prototype;
492
- var hasOwnProperty$3 = objectProto$4.hasOwnProperty;
1119
+ /** Used to check objects for own properties. */
1120
+ var hasOwnProperty$3 = Object.prototype.hasOwnProperty;
1121
+ /**
1122
+ * Gets the hash value for `key`.
1123
+ *
1124
+ * @private
1125
+ * @name get
1126
+ * @memberOf Hash
1127
+ * @param {string} key The key of the value to get.
1128
+ * @returns {*} Returns the entry value.
1129
+ */
493
1130
  function hashGet(key) {
494
- var data = this.__data__;
495
- if (nativeCreate) {
496
- var result = data[key];
497
- return result === HASH_UNDEFINED$2 ? void 0 : result;
498
- }
499
- return hasOwnProperty$3.call(data, key) ? data[key] : void 0;
500
- }
501
- var objectProto$3 = Object.prototype;
502
- var hasOwnProperty$2 = objectProto$3.hasOwnProperty;
1131
+ var data = this.__data__;
1132
+ if (nativeCreate) {
1133
+ var result = data[key];
1134
+ return result === HASH_UNDEFINED$2 ? void 0 : result;
1135
+ }
1136
+ return hasOwnProperty$3.call(data, key) ? data[key] : void 0;
1137
+ }
1138
+ //#endregion
1139
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js
1140
+ /** Used to check objects for own properties. */
1141
+ var hasOwnProperty$2 = Object.prototype.hasOwnProperty;
1142
+ /**
1143
+ * Checks if a hash value for `key` exists.
1144
+ *
1145
+ * @private
1146
+ * @name has
1147
+ * @memberOf Hash
1148
+ * @param {string} key The key of the entry to check.
1149
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1150
+ */
503
1151
  function hashHas(key) {
504
- var data = this.__data__;
505
- return nativeCreate ? data[key] !== void 0 : hasOwnProperty$2.call(data, key);
1152
+ var data = this.__data__;
1153
+ return nativeCreate ? data[key] !== void 0 : hasOwnProperty$2.call(data, key);
506
1154
  }
1155
+ //#endregion
1156
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js
1157
+ /** Used to stand-in for `undefined` hash values. */
507
1158
  var HASH_UNDEFINED$1 = "__lodash_hash_undefined__";
1159
+ /**
1160
+ * Sets the hash `key` to `value`.
1161
+ *
1162
+ * @private
1163
+ * @name set
1164
+ * @memberOf Hash
1165
+ * @param {string} key The key of the value to set.
1166
+ * @param {*} value The value to set.
1167
+ * @returns {Object} Returns the hash instance.
1168
+ */
508
1169
  function hashSet(key, value) {
509
- var data = this.__data__;
510
- this.size += this.has(key) ? 0 : 1;
511
- data[key] = nativeCreate && value === void 0 ? HASH_UNDEFINED$1 : value;
512
- return this;
513
- }
1170
+ var data = this.__data__;
1171
+ this.size += this.has(key) ? 0 : 1;
1172
+ data[key] = nativeCreate && value === void 0 ? HASH_UNDEFINED$1 : value;
1173
+ return this;
1174
+ }
1175
+ //#endregion
1176
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js
1177
+ /**
1178
+ * Creates a hash object.
1179
+ *
1180
+ * @private
1181
+ * @constructor
1182
+ * @param {Array} [entries] The key-value pairs to cache.
1183
+ */
514
1184
  function Hash(entries) {
515
- var index = -1, length = entries == null ? 0 : entries.length;
516
- this.clear();
517
- while (++index < length) {
518
- var entry = entries[index];
519
- this.set(entry[0], entry[1]);
520
- }
1185
+ var index = -1, length = entries == null ? 0 : entries.length;
1186
+ this.clear();
1187
+ while (++index < length) {
1188
+ var entry = entries[index];
1189
+ this.set(entry[0], entry[1]);
1190
+ }
521
1191
  }
522
1192
  Hash.prototype.clear = hashClear;
523
1193
  Hash.prototype["delete"] = hashDelete;
524
1194
  Hash.prototype.get = hashGet;
525
1195
  Hash.prototype.has = hashHas;
526
1196
  Hash.prototype.set = hashSet;
1197
+ //#endregion
1198
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js
1199
+ /**
1200
+ * Removes all key-value entries from the list cache.
1201
+ *
1202
+ * @private
1203
+ * @name clear
1204
+ * @memberOf ListCache
1205
+ */
527
1206
  function listCacheClear() {
528
- this.__data__ = [];
529
- this.size = 0;
530
- }
1207
+ this.__data__ = [];
1208
+ this.size = 0;
1209
+ }
1210
+ //#endregion
1211
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js
1212
+ /**
1213
+ * Gets the index at which the `key` is found in `array` of key-value pairs.
1214
+ *
1215
+ * @private
1216
+ * @param {Array} array The array to inspect.
1217
+ * @param {*} key The key to search for.
1218
+ * @returns {number} Returns the index of the matched value, else `-1`.
1219
+ */
531
1220
  function assocIndexOf(array, key) {
532
- var length = array.length;
533
- while (length--) {
534
- if (eq(array[length][0], key)) {
535
- return length;
536
- }
537
- }
538
- return -1;
539
- }
540
- var arrayProto = Array.prototype;
541
- var splice = arrayProto.splice;
1221
+ var length = array.length;
1222
+ while (length--) if (eq(array[length][0], key)) return length;
1223
+ return -1;
1224
+ }
1225
+ //#endregion
1226
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js
1227
+ /** Built-in value references. */
1228
+ var splice = Array.prototype.splice;
1229
+ /**
1230
+ * Removes `key` and its value from the list cache.
1231
+ *
1232
+ * @private
1233
+ * @name delete
1234
+ * @memberOf ListCache
1235
+ * @param {string} key The key of the value to remove.
1236
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1237
+ */
542
1238
  function listCacheDelete(key) {
543
- var data = this.__data__, index = assocIndexOf(data, key);
544
- if (index < 0) {
545
- return false;
546
- }
547
- var lastIndex = data.length - 1;
548
- if (index == lastIndex) {
549
- data.pop();
550
- } else {
551
- splice.call(data, index, 1);
552
- }
553
- --this.size;
554
- return true;
555
- }
1239
+ var data = this.__data__, index = assocIndexOf(data, key);
1240
+ if (index < 0) return false;
1241
+ if (index == data.length - 1) data.pop();
1242
+ else splice.call(data, index, 1);
1243
+ --this.size;
1244
+ return true;
1245
+ }
1246
+ //#endregion
1247
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js
1248
+ /**
1249
+ * Gets the list cache value for `key`.
1250
+ *
1251
+ * @private
1252
+ * @name get
1253
+ * @memberOf ListCache
1254
+ * @param {string} key The key of the value to get.
1255
+ * @returns {*} Returns the entry value.
1256
+ */
556
1257
  function listCacheGet(key) {
557
- var data = this.__data__, index = assocIndexOf(data, key);
558
- return index < 0 ? void 0 : data[index][1];
559
- }
1258
+ var data = this.__data__, index = assocIndexOf(data, key);
1259
+ return index < 0 ? void 0 : data[index][1];
1260
+ }
1261
+ //#endregion
1262
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js
1263
+ /**
1264
+ * Checks if a list cache value for `key` exists.
1265
+ *
1266
+ * @private
1267
+ * @name has
1268
+ * @memberOf ListCache
1269
+ * @param {string} key The key of the entry to check.
1270
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1271
+ */
560
1272
  function listCacheHas(key) {
561
- return assocIndexOf(this.__data__, key) > -1;
562
- }
1273
+ return assocIndexOf(this.__data__, key) > -1;
1274
+ }
1275
+ //#endregion
1276
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js
1277
+ /**
1278
+ * Sets the list cache `key` to `value`.
1279
+ *
1280
+ * @private
1281
+ * @name set
1282
+ * @memberOf ListCache
1283
+ * @param {string} key The key of the value to set.
1284
+ * @param {*} value The value to set.
1285
+ * @returns {Object} Returns the list cache instance.
1286
+ */
563
1287
  function listCacheSet(key, value) {
564
- var data = this.__data__, index = assocIndexOf(data, key);
565
- if (index < 0) {
566
- ++this.size;
567
- data.push([key, value]);
568
- } else {
569
- data[index][1] = value;
570
- }
571
- return this;
572
- }
1288
+ var data = this.__data__, index = assocIndexOf(data, key);
1289
+ if (index < 0) {
1290
+ ++this.size;
1291
+ data.push([key, value]);
1292
+ } else data[index][1] = value;
1293
+ return this;
1294
+ }
1295
+ //#endregion
1296
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js
1297
+ /**
1298
+ * Creates an list cache object.
1299
+ *
1300
+ * @private
1301
+ * @constructor
1302
+ * @param {Array} [entries] The key-value pairs to cache.
1303
+ */
573
1304
  function ListCache(entries) {
574
- var index = -1, length = entries == null ? 0 : entries.length;
575
- this.clear();
576
- while (++index < length) {
577
- var entry = entries[index];
578
- this.set(entry[0], entry[1]);
579
- }
1305
+ var index = -1, length = entries == null ? 0 : entries.length;
1306
+ this.clear();
1307
+ while (++index < length) {
1308
+ var entry = entries[index];
1309
+ this.set(entry[0], entry[1]);
1310
+ }
580
1311
  }
581
1312
  ListCache.prototype.clear = listCacheClear;
582
1313
  ListCache.prototype["delete"] = listCacheDelete;
583
1314
  ListCache.prototype.get = listCacheGet;
584
1315
  ListCache.prototype.has = listCacheHas;
585
1316
  ListCache.prototype.set = listCacheSet;
1317
+ //#endregion
1318
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Map.js
586
1319
  var Map = getNative(root, "Map");
1320
+ //#endregion
1321
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js
1322
+ /**
1323
+ * Removes all key-value entries from the map.
1324
+ *
1325
+ * @private
1326
+ * @name clear
1327
+ * @memberOf MapCache
1328
+ */
587
1329
  function mapCacheClear() {
588
- this.size = 0;
589
- this.__data__ = {
590
- "hash": new Hash(),
591
- "map": new (Map || ListCache)(),
592
- "string": new Hash()
593
- };
594
- }
1330
+ this.size = 0;
1331
+ this.__data__ = {
1332
+ "hash": new Hash(),
1333
+ "map": new (Map || ListCache)(),
1334
+ "string": new Hash()
1335
+ };
1336
+ }
1337
+ //#endregion
1338
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js
1339
+ /**
1340
+ * Checks if `value` is suitable for use as unique object key.
1341
+ *
1342
+ * @private
1343
+ * @param {*} value The value to check.
1344
+ * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
1345
+ */
595
1346
  function isKeyable(value) {
596
- var type2 = typeof value;
597
- return type2 == "string" || type2 == "number" || type2 == "symbol" || type2 == "boolean" ? value !== "__proto__" : value === null;
598
- }
1347
+ var type = typeof value;
1348
+ return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
1349
+ }
1350
+ //#endregion
1351
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js
1352
+ /**
1353
+ * Gets the data for `map`.
1354
+ *
1355
+ * @private
1356
+ * @param {Object} map The map to query.
1357
+ * @param {string} key The reference key.
1358
+ * @returns {*} Returns the map data.
1359
+ */
599
1360
  function getMapData(map, key) {
600
- var data = map.__data__;
601
- return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
602
- }
1361
+ var data = map.__data__;
1362
+ return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
1363
+ }
1364
+ //#endregion
1365
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js
1366
+ /**
1367
+ * Removes `key` and its value from the map.
1368
+ *
1369
+ * @private
1370
+ * @name delete
1371
+ * @memberOf MapCache
1372
+ * @param {string} key The key of the value to remove.
1373
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1374
+ */
603
1375
  function mapCacheDelete(key) {
604
- var result = getMapData(this, key)["delete"](key);
605
- this.size -= result ? 1 : 0;
606
- return result;
607
- }
1376
+ var result = getMapData(this, key)["delete"](key);
1377
+ this.size -= result ? 1 : 0;
1378
+ return result;
1379
+ }
1380
+ //#endregion
1381
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js
1382
+ /**
1383
+ * Gets the map value for `key`.
1384
+ *
1385
+ * @private
1386
+ * @name get
1387
+ * @memberOf MapCache
1388
+ * @param {string} key The key of the value to get.
1389
+ * @returns {*} Returns the entry value.
1390
+ */
608
1391
  function mapCacheGet(key) {
609
- return getMapData(this, key).get(key);
610
- }
1392
+ return getMapData(this, key).get(key);
1393
+ }
1394
+ //#endregion
1395
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js
1396
+ /**
1397
+ * Checks if a map value for `key` exists.
1398
+ *
1399
+ * @private
1400
+ * @name has
1401
+ * @memberOf MapCache
1402
+ * @param {string} key The key of the entry to check.
1403
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1404
+ */
611
1405
  function mapCacheHas(key) {
612
- return getMapData(this, key).has(key);
613
- }
1406
+ return getMapData(this, key).has(key);
1407
+ }
1408
+ //#endregion
1409
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js
1410
+ /**
1411
+ * Sets the map `key` to `value`.
1412
+ *
1413
+ * @private
1414
+ * @name set
1415
+ * @memberOf MapCache
1416
+ * @param {string} key The key of the value to set.
1417
+ * @param {*} value The value to set.
1418
+ * @returns {Object} Returns the map cache instance.
1419
+ */
614
1420
  function mapCacheSet(key, value) {
615
- var data = getMapData(this, key), size = data.size;
616
- data.set(key, value);
617
- this.size += data.size == size ? 0 : 1;
618
- return this;
619
- }
1421
+ var data = getMapData(this, key), size = data.size;
1422
+ data.set(key, value);
1423
+ this.size += data.size == size ? 0 : 1;
1424
+ return this;
1425
+ }
1426
+ //#endregion
1427
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js
1428
+ /**
1429
+ * Creates a map cache object to store key-value pairs.
1430
+ *
1431
+ * @private
1432
+ * @constructor
1433
+ * @param {Array} [entries] The key-value pairs to cache.
1434
+ */
620
1435
  function MapCache(entries) {
621
- var index = -1, length = entries == null ? 0 : entries.length;
622
- this.clear();
623
- while (++index < length) {
624
- var entry = entries[index];
625
- this.set(entry[0], entry[1]);
626
- }
1436
+ var index = -1, length = entries == null ? 0 : entries.length;
1437
+ this.clear();
1438
+ while (++index < length) {
1439
+ var entry = entries[index];
1440
+ this.set(entry[0], entry[1]);
1441
+ }
627
1442
  }
628
1443
  MapCache.prototype.clear = mapCacheClear;
629
1444
  MapCache.prototype["delete"] = mapCacheDelete;
630
1445
  MapCache.prototype.get = mapCacheGet;
631
1446
  MapCache.prototype.has = mapCacheHas;
632
1447
  MapCache.prototype.set = mapCacheSet;
1448
+ //#endregion
1449
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/memoize.js
1450
+ /** Error message constants. */
633
1451
  var FUNC_ERROR_TEXT = "Expected a function";
1452
+ /**
1453
+ * Creates a function that memoizes the result of `func`. If `resolver` is
1454
+ * provided, it determines the cache key for storing the result based on the
1455
+ * arguments provided to the memoized function. By default, the first argument
1456
+ * provided to the memoized function is used as the map cache key. The `func`
1457
+ * is invoked with the `this` binding of the memoized function.
1458
+ *
1459
+ * **Note:** The cache is exposed as the `cache` property on the memoized
1460
+ * function. Its creation may be customized by replacing the `_.memoize.Cache`
1461
+ * constructor with one whose instances implement the
1462
+ * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
1463
+ * method interface of `clear`, `delete`, `get`, `has`, and `set`.
1464
+ *
1465
+ * @static
1466
+ * @memberOf _
1467
+ * @since 0.1.0
1468
+ * @category Function
1469
+ * @param {Function} func The function to have its output memoized.
1470
+ * @param {Function} [resolver] The function to resolve the cache key.
1471
+ * @returns {Function} Returns the new memoized function.
1472
+ * @example
1473
+ *
1474
+ * var object = { 'a': 1, 'b': 2 };
1475
+ * var other = { 'c': 3, 'd': 4 };
1476
+ *
1477
+ * var values = _.memoize(_.values);
1478
+ * values(object);
1479
+ * // => [1, 2]
1480
+ *
1481
+ * values(other);
1482
+ * // => [3, 4]
1483
+ *
1484
+ * object.a = 2;
1485
+ * values(object);
1486
+ * // => [1, 2]
1487
+ *
1488
+ * // Modify the result cache.
1489
+ * values.cache.set(object, ['a', 'b']);
1490
+ * values(object);
1491
+ * // => ['a', 'b']
1492
+ *
1493
+ * // Replace `_.memoize.Cache`.
1494
+ * _.memoize.Cache = WeakMap;
1495
+ */
634
1496
  function memoize(func, resolver) {
635
- if (typeof func != "function" || resolver != null && typeof resolver != "function") {
636
- throw new TypeError(FUNC_ERROR_TEXT);
637
- }
638
- var memoized = function() {
639
- var args = arguments, key = resolver ? resolver.apply(this, args) : args[0], cache = memoized.cache;
640
- if (cache.has(key)) {
641
- return cache.get(key);
642
- }
643
- var result = func.apply(this, args);
644
- memoized.cache = cache.set(key, result) || cache;
645
- return result;
646
- };
647
- memoized.cache = new (memoize.Cache || MapCache)();
648
- return memoized;
1497
+ if (typeof func != "function" || resolver != null && typeof resolver != "function") throw new TypeError(FUNC_ERROR_TEXT);
1498
+ var memoized = function() {
1499
+ var args = arguments, key = resolver ? resolver.apply(this, args) : args[0], cache = memoized.cache;
1500
+ if (cache.has(key)) return cache.get(key);
1501
+ var result = func.apply(this, args);
1502
+ memoized.cache = cache.set(key, result) || cache;
1503
+ return result;
1504
+ };
1505
+ memoized.cache = new (memoize.Cache || MapCache)();
1506
+ return memoized;
649
1507
  }
650
1508
  memoize.Cache = MapCache;
1509
+ //#endregion
1510
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_memoizeCapped.js
1511
+ /** Used as the maximum memoize cache size. */
651
1512
  var MAX_MEMOIZE_SIZE = 500;
1513
+ /**
1514
+ * A specialized version of `_.memoize` which clears the memoized function's
1515
+ * cache when it exceeds `MAX_MEMOIZE_SIZE`.
1516
+ *
1517
+ * @private
1518
+ * @param {Function} func The function to have its output memoized.
1519
+ * @returns {Function} Returns the new memoized function.
1520
+ */
652
1521
  function memoizeCapped(func) {
653
- var result = memoize(func, function(key) {
654
- if (cache.size === MAX_MEMOIZE_SIZE) {
655
- cache.clear();
656
- }
657
- return key;
658
- });
659
- var cache = result.cache;
660
- return result;
661
- }
1522
+ var result = memoize(func, function(key) {
1523
+ if (cache.size === MAX_MEMOIZE_SIZE) cache.clear();
1524
+ return key;
1525
+ });
1526
+ var cache = result.cache;
1527
+ return result;
1528
+ }
1529
+ //#endregion
1530
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stringToPath.js
1531
+ /** Used to match property names within property paths. */
662
1532
  var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
1533
+ /** Used to match backslashes in property paths. */
663
1534
  var reEscapeChar = /\\(\\)?/g;
1535
+ /**
1536
+ * Converts `string` to a property path array.
1537
+ *
1538
+ * @private
1539
+ * @param {string} string The string to convert.
1540
+ * @returns {Array} Returns the property path array.
1541
+ */
664
1542
  var stringToPath = memoizeCapped(function(string) {
665
- var result = [];
666
- if (string.charCodeAt(0) === 46) {
667
- result.push("");
668
- }
669
- string.replace(rePropName, function(match, number, quote, subString) {
670
- result.push(quote ? subString.replace(reEscapeChar, "$1") : number || match);
671
- });
672
- return result;
1543
+ var result = [];
1544
+ if (string.charCodeAt(0) === 46) result.push("");
1545
+ string.replace(rePropName, function(match, number, quote, subString) {
1546
+ result.push(quote ? subString.replace(reEscapeChar, "$1") : number || match);
1547
+ });
1548
+ return result;
673
1549
  });
1550
+ //#endregion
1551
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toString.js
1552
+ /**
1553
+ * Converts `value` to a string. An empty string is returned for `null`
1554
+ * and `undefined` values. The sign of `-0` is preserved.
1555
+ *
1556
+ * @static
1557
+ * @memberOf _
1558
+ * @since 4.0.0
1559
+ * @category Lang
1560
+ * @param {*} value The value to convert.
1561
+ * @returns {string} Returns the converted string.
1562
+ * @example
1563
+ *
1564
+ * _.toString(null);
1565
+ * // => ''
1566
+ *
1567
+ * _.toString(-0);
1568
+ * // => '-0'
1569
+ *
1570
+ * _.toString([1, 2, 3]);
1571
+ * // => '1,2,3'
1572
+ */
674
1573
  function toString(value) {
675
- return value == null ? "" : baseToString(value);
676
- }
1574
+ return value == null ? "" : baseToString(value);
1575
+ }
1576
+ //#endregion
1577
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_castPath.js
1578
+ /**
1579
+ * Casts `value` to a path array if it's not one.
1580
+ *
1581
+ * @private
1582
+ * @param {*} value The value to inspect.
1583
+ * @param {Object} [object] The object to query keys on.
1584
+ * @returns {Array} Returns the cast property path array.
1585
+ */
677
1586
  function castPath(value, object) {
678
- if (isArray(value)) {
679
- return value;
680
- }
681
- return isKey(value, object) ? [value] : stringToPath(toString(value));
682
- }
1587
+ if (isArray(value)) return value;
1588
+ return isKey(value, object) ? [value] : stringToPath(toString(value));
1589
+ }
1590
+ //#endregion
1591
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toKey.js
1592
+ /** Used as references for various `Number` constants. */
1593
+ var INFINITY = Infinity;
1594
+ /**
1595
+ * Converts `value` to a string key if it's not a string or symbol.
1596
+ *
1597
+ * @private
1598
+ * @param {*} value The value to inspect.
1599
+ * @returns {string|symbol} Returns the key.
1600
+ */
683
1601
  function toKey(value) {
684
- if (typeof value == "string" || isSymbol(value)) {
685
- return value;
686
- }
687
- var result = value + "";
688
- return result == "0" && 1 / value == -Infinity ? "-0" : result;
689
- }
1602
+ if (typeof value == "string" || isSymbol(value)) return value;
1603
+ var result = value + "";
1604
+ return result == "0" && 1 / value == -INFINITY ? "-0" : result;
1605
+ }
1606
+ //#endregion
1607
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGet.js
1608
+ /**
1609
+ * The base implementation of `_.get` without support for default values.
1610
+ *
1611
+ * @private
1612
+ * @param {Object} object The object to query.
1613
+ * @param {Array|string} path The path of the property to get.
1614
+ * @returns {*} Returns the resolved value.
1615
+ */
690
1616
  function baseGet(object, path) {
691
- path = castPath(path, object);
692
- var index = 0, length = path.length;
693
- while (object != null && index < length) {
694
- object = object[toKey(path[index++])];
695
- }
696
- return index && index == length ? object : void 0;
697
- }
1617
+ path = castPath(path, object);
1618
+ var index = 0, length = path.length;
1619
+ while (object != null && index < length) object = object[toKey(path[index++])];
1620
+ return index && index == length ? object : void 0;
1621
+ }
1622
+ //#endregion
1623
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/get.js
1624
+ /**
1625
+ * Gets the value at `path` of `object`. If the resolved value is
1626
+ * `undefined`, the `defaultValue` is returned in its place.
1627
+ *
1628
+ * @static
1629
+ * @memberOf _
1630
+ * @since 3.7.0
1631
+ * @category Object
1632
+ * @param {Object} object The object to query.
1633
+ * @param {Array|string} path The path of the property to get.
1634
+ * @param {*} [defaultValue] The value returned for `undefined` resolved values.
1635
+ * @returns {*} Returns the resolved value.
1636
+ * @example
1637
+ *
1638
+ * var object = { 'a': [{ 'b': { 'c': 3 } }] };
1639
+ *
1640
+ * _.get(object, 'a[0].b.c');
1641
+ * // => 3
1642
+ *
1643
+ * _.get(object, ['a', '0', 'b', 'c']);
1644
+ * // => 3
1645
+ *
1646
+ * _.get(object, 'a.b.c', 'default');
1647
+ * // => 'default'
1648
+ */
698
1649
  function get(object, path, defaultValue) {
699
- var result = object == null ? void 0 : baseGet(object, path);
700
- return result === void 0 ? defaultValue : result;
701
- }
1650
+ var result = object == null ? void 0 : baseGet(object, path);
1651
+ return result === void 0 ? defaultValue : result;
1652
+ }
1653
+ //#endregion
1654
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js
1655
+ /**
1656
+ * Appends the elements of `values` to `array`.
1657
+ *
1658
+ * @private
1659
+ * @param {Array} array The array to modify.
1660
+ * @param {Array} values The values to append.
1661
+ * @returns {Array} Returns `array`.
1662
+ */
702
1663
  function arrayPush(array, values) {
703
- var index = -1, length = values.length, offset = array.length;
704
- while (++index < length) {
705
- array[offset + index] = values[index];
706
- }
707
- return array;
708
- }
709
- var spreadableSymbol = Symbol$1 ? Symbol$1.isConcatSpreadable : void 0;
1664
+ var index = -1, length = values.length, offset = array.length;
1665
+ while (++index < length) array[offset + index] = values[index];
1666
+ return array;
1667
+ }
1668
+ //#endregion
1669
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isFlattenable.js
1670
+ /** Built-in value references. */
1671
+ var spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : void 0;
1672
+ /**
1673
+ * Checks if `value` is a flattenable `arguments` object or array.
1674
+ *
1675
+ * @private
1676
+ * @param {*} value The value to check.
1677
+ * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.
1678
+ */
710
1679
  function isFlattenable(value) {
711
- return isArray(value) || isArguments(value) || !!(spreadableSymbol && value && value[spreadableSymbol]);
712
- }
1680
+ return isArray(value) || isArguments(value) || !!(spreadableSymbol && value && value[spreadableSymbol]);
1681
+ }
1682
+ //#endregion
1683
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseFlatten.js
1684
+ /**
1685
+ * The base implementation of `_.flatten` with support for restricting flattening.
1686
+ *
1687
+ * @private
1688
+ * @param {Array} array The array to flatten.
1689
+ * @param {number} depth The maximum recursion depth.
1690
+ * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.
1691
+ * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.
1692
+ * @param {Array} [result=[]] The initial result value.
1693
+ * @returns {Array} Returns the new flattened array.
1694
+ */
713
1695
  function baseFlatten(array, depth, predicate, isStrict, result) {
714
- var index = -1, length = array.length;
715
- predicate || (predicate = isFlattenable);
716
- result || (result = []);
717
- while (++index < length) {
718
- var value = array[index];
719
- if (predicate(value)) {
720
- {
721
- arrayPush(result, value);
722
- }
723
- } else {
724
- result[result.length] = value;
725
- }
726
- }
727
- return result;
728
- }
1696
+ var index = -1, length = array.length;
1697
+ predicate || (predicate = isFlattenable);
1698
+ result || (result = []);
1699
+ while (++index < length) {
1700
+ var value = array[index];
1701
+ if (depth > 0 && predicate(value)) if (depth > 1) baseFlatten(value, depth - 1, predicate, isStrict, result);
1702
+ else arrayPush(result, value);
1703
+ else if (!isStrict) result[result.length] = value;
1704
+ }
1705
+ return result;
1706
+ }
1707
+ //#endregion
1708
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayReduce.js
1709
+ /**
1710
+ * A specialized version of `_.reduce` for arrays without support for
1711
+ * iteratee shorthands.
1712
+ *
1713
+ * @private
1714
+ * @param {Array} [array] The array to iterate over.
1715
+ * @param {Function} iteratee The function invoked per iteration.
1716
+ * @param {*} [accumulator] The initial value.
1717
+ * @param {boolean} [initAccum] Specify using the first element of `array` as
1718
+ * the initial value.
1719
+ * @returns {*} Returns the accumulated value.
1720
+ */
729
1721
  function arrayReduce(array, iteratee, accumulator, initAccum) {
730
- var index = -1, length = array == null ? 0 : array.length;
731
- if (initAccum && length) {
732
- accumulator = array[++index];
733
- }
734
- while (++index < length) {
735
- accumulator = iteratee(accumulator, array[index], index, array);
736
- }
737
- return accumulator;
738
- }
1722
+ var index = -1, length = array == null ? 0 : array.length;
1723
+ if (initAccum && length) accumulator = array[++index];
1724
+ while (++index < length) accumulator = iteratee(accumulator, array[index], index, array);
1725
+ return accumulator;
1726
+ }
1727
+ //#endregion
1728
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js
1729
+ /**
1730
+ * Removes all key-value entries from the stack.
1731
+ *
1732
+ * @private
1733
+ * @name clear
1734
+ * @memberOf Stack
1735
+ */
739
1736
  function stackClear() {
740
- this.__data__ = new ListCache();
741
- this.size = 0;
742
- }
1737
+ this.__data__ = new ListCache();
1738
+ this.size = 0;
1739
+ }
1740
+ //#endregion
1741
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js
1742
+ /**
1743
+ * Removes `key` and its value from the stack.
1744
+ *
1745
+ * @private
1746
+ * @name delete
1747
+ * @memberOf Stack
1748
+ * @param {string} key The key of the value to remove.
1749
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1750
+ */
743
1751
  function stackDelete(key) {
744
- var data = this.__data__, result = data["delete"](key);
745
- this.size = data.size;
746
- return result;
747
- }
1752
+ var data = this.__data__, result = data["delete"](key);
1753
+ this.size = data.size;
1754
+ return result;
1755
+ }
1756
+ //#endregion
1757
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js
1758
+ /**
1759
+ * Gets the stack value for `key`.
1760
+ *
1761
+ * @private
1762
+ * @name get
1763
+ * @memberOf Stack
1764
+ * @param {string} key The key of the value to get.
1765
+ * @returns {*} Returns the entry value.
1766
+ */
748
1767
  function stackGet(key) {
749
- return this.__data__.get(key);
750
- }
1768
+ return this.__data__.get(key);
1769
+ }
1770
+ //#endregion
1771
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js
1772
+ /**
1773
+ * Checks if a stack value for `key` exists.
1774
+ *
1775
+ * @private
1776
+ * @name has
1777
+ * @memberOf Stack
1778
+ * @param {string} key The key of the entry to check.
1779
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1780
+ */
751
1781
  function stackHas(key) {
752
- return this.__data__.has(key);
1782
+ return this.__data__.has(key);
753
1783
  }
1784
+ //#endregion
1785
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js
1786
+ /** Used as the size to enable large array optimizations. */
754
1787
  var LARGE_ARRAY_SIZE = 200;
1788
+ /**
1789
+ * Sets the stack `key` to `value`.
1790
+ *
1791
+ * @private
1792
+ * @name set
1793
+ * @memberOf Stack
1794
+ * @param {string} key The key of the value to set.
1795
+ * @param {*} value The value to set.
1796
+ * @returns {Object} Returns the stack cache instance.
1797
+ */
755
1798
  function stackSet(key, value) {
756
- var data = this.__data__;
757
- if (data instanceof ListCache) {
758
- var pairs = data.__data__;
759
- if (!Map || pairs.length < LARGE_ARRAY_SIZE - 1) {
760
- pairs.push([key, value]);
761
- this.size = ++data.size;
762
- return this;
763
- }
764
- data = this.__data__ = new MapCache(pairs);
765
- }
766
- data.set(key, value);
767
- this.size = data.size;
768
- return this;
769
- }
1799
+ var data = this.__data__;
1800
+ if (data instanceof ListCache) {
1801
+ var pairs = data.__data__;
1802
+ if (!Map || pairs.length < LARGE_ARRAY_SIZE - 1) {
1803
+ pairs.push([key, value]);
1804
+ this.size = ++data.size;
1805
+ return this;
1806
+ }
1807
+ data = this.__data__ = new MapCache(pairs);
1808
+ }
1809
+ data.set(key, value);
1810
+ this.size = data.size;
1811
+ return this;
1812
+ }
1813
+ //#endregion
1814
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js
1815
+ /**
1816
+ * Creates a stack cache object to store key-value pairs.
1817
+ *
1818
+ * @private
1819
+ * @constructor
1820
+ * @param {Array} [entries] The key-value pairs to cache.
1821
+ */
770
1822
  function Stack(entries) {
771
- var data = this.__data__ = new ListCache(entries);
772
- this.size = data.size;
1823
+ var data = this.__data__ = new ListCache(entries);
1824
+ this.size = data.size;
773
1825
  }
774
1826
  Stack.prototype.clear = stackClear;
775
1827
  Stack.prototype["delete"] = stackDelete;
776
1828
  Stack.prototype.get = stackGet;
777
1829
  Stack.prototype.has = stackHas;
778
1830
  Stack.prototype.set = stackSet;
1831
+ //#endregion
1832
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js
1833
+ /**
1834
+ * A specialized version of `_.filter` for arrays without support for
1835
+ * iteratee shorthands.
1836
+ *
1837
+ * @private
1838
+ * @param {Array} [array] The array to iterate over.
1839
+ * @param {Function} predicate The function invoked per iteration.
1840
+ * @returns {Array} Returns the new filtered array.
1841
+ */
779
1842
  function arrayFilter(array, predicate) {
780
- var index = -1, length = array == null ? 0 : array.length, resIndex = 0, result = [];
781
- while (++index < length) {
782
- var value = array[index];
783
- if (predicate(value, index, array)) {
784
- result[resIndex++] = value;
785
- }
786
- }
787
- return result;
788
- }
1843
+ var index = -1, length = array == null ? 0 : array.length, resIndex = 0, result = [];
1844
+ while (++index < length) {
1845
+ var value = array[index];
1846
+ if (predicate(value, index, array)) result[resIndex++] = value;
1847
+ }
1848
+ return result;
1849
+ }
1850
+ //#endregion
1851
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js
1852
+ /**
1853
+ * This method returns a new empty array.
1854
+ *
1855
+ * @static
1856
+ * @memberOf _
1857
+ * @since 4.13.0
1858
+ * @category Util
1859
+ * @returns {Array} Returns the new empty array.
1860
+ * @example
1861
+ *
1862
+ * var arrays = _.times(2, _.stubArray);
1863
+ *
1864
+ * console.log(arrays);
1865
+ * // => [[], []]
1866
+ *
1867
+ * console.log(arrays[0] === arrays[1]);
1868
+ * // => false
1869
+ */
789
1870
  function stubArray() {
790
- return [];
1871
+ return [];
791
1872
  }
792
- var objectProto$2 = Object.prototype;
793
- var propertyIsEnumerable = objectProto$2.propertyIsEnumerable;
1873
+ //#endregion
1874
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js
1875
+ /** Built-in value references. */
1876
+ var propertyIsEnumerable = Object.prototype.propertyIsEnumerable;
794
1877
  var nativeGetSymbols = Object.getOwnPropertySymbols;
1878
+ /**
1879
+ * Creates an array of the own enumerable symbols of `object`.
1880
+ *
1881
+ * @private
1882
+ * @param {Object} object The object to query.
1883
+ * @returns {Array} Returns the array of symbols.
1884
+ */
795
1885
  var getSymbols = !nativeGetSymbols ? stubArray : function(object) {
796
- if (object == null) {
797
- return [];
798
- }
799
- object = Object(object);
800
- return arrayFilter(nativeGetSymbols(object), function(symbol) {
801
- return propertyIsEnumerable.call(object, symbol);
802
- });
1886
+ if (object == null) return [];
1887
+ object = Object(object);
1888
+ return arrayFilter(nativeGetSymbols(object), function(symbol) {
1889
+ return propertyIsEnumerable.call(object, symbol);
1890
+ });
803
1891
  };
1892
+ //#endregion
1893
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js
1894
+ /**
1895
+ * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
1896
+ * `keysFunc` and `symbolsFunc` to get the enumerable property names and
1897
+ * symbols of `object`.
1898
+ *
1899
+ * @private
1900
+ * @param {Object} object The object to query.
1901
+ * @param {Function} keysFunc The function to get the keys of `object`.
1902
+ * @param {Function} symbolsFunc The function to get the symbols of `object`.
1903
+ * @returns {Array} Returns the array of property names and symbols.
1904
+ */
804
1905
  function baseGetAllKeys(object, keysFunc, symbolsFunc) {
805
- var result = keysFunc(object);
806
- return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
807
- }
1906
+ var result = keysFunc(object);
1907
+ return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
1908
+ }
1909
+ //#endregion
1910
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js
1911
+ /**
1912
+ * Creates an array of own enumerable property names and symbols of `object`.
1913
+ *
1914
+ * @private
1915
+ * @param {Object} object The object to query.
1916
+ * @returns {Array} Returns the array of property names and symbols.
1917
+ */
808
1918
  function getAllKeys(object) {
809
- return baseGetAllKeys(object, keys, getSymbols);
1919
+ return baseGetAllKeys(object, keys, getSymbols);
810
1920
  }
1921
+ //#endregion
1922
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js
811
1923
  var DataView = getNative(root, "DataView");
1924
+ //#endregion
1925
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js
812
1926
  var Promise$1 = getNative(root, "Promise");
1927
+ //#endregion
1928
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Set.js
813
1929
  var Set = getNative(root, "Set");
1930
+ //#endregion
1931
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js
1932
+ /** `Object#toString` result references. */
814
1933
  var mapTag$1 = "[object Map]", objectTag$1 = "[object Object]", promiseTag = "[object Promise]", setTag$1 = "[object Set]", weakMapTag = "[object WeakMap]";
815
1934
  var dataViewTag$1 = "[object DataView]";
1935
+ /** Used to detect maps, sets, and weakmaps. */
816
1936
  var dataViewCtorString = toSource(DataView), mapCtorString = toSource(Map), promiseCtorString = toSource(Promise$1), setCtorString = toSource(Set), weakMapCtorString = toSource(WeakMap);
1937
+ /**
1938
+ * Gets the `toStringTag` of `value`.
1939
+ *
1940
+ * @private
1941
+ * @param {*} value The value to query.
1942
+ * @returns {string} Returns the `toStringTag`.
1943
+ */
817
1944
  var getTag = baseGetTag;
818
- if (DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag$1 || Map && getTag(new Map()) != mapTag$1 || Promise$1 && getTag(Promise$1.resolve()) != promiseTag || Set && getTag(new Set()) != setTag$1 || WeakMap && getTag(new WeakMap()) != weakMapTag) {
819
- getTag = function(value) {
820
- var result = baseGetTag(value), Ctor = result == objectTag$1 ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : "";
821
- if (ctorString) {
822
- switch (ctorString) {
823
- case dataViewCtorString:
824
- return dataViewTag$1;
825
- case mapCtorString:
826
- return mapTag$1;
827
- case promiseCtorString:
828
- return promiseTag;
829
- case setCtorString:
830
- return setTag$1;
831
- case weakMapCtorString:
832
- return weakMapTag;
833
- }
834
- }
835
- return result;
836
- };
837
- }
1945
+ if (DataView && getTag(new DataView(/* @__PURE__ */ new ArrayBuffer(1))) != dataViewTag$1 || Map && getTag(new Map()) != mapTag$1 || Promise$1 && getTag(Promise$1.resolve()) != promiseTag || Set && getTag(new Set()) != setTag$1 || WeakMap && getTag(new WeakMap()) != weakMapTag) getTag = function(value) {
1946
+ var result = baseGetTag(value), Ctor = result == objectTag$1 ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : "";
1947
+ if (ctorString) switch (ctorString) {
1948
+ case dataViewCtorString: return dataViewTag$1;
1949
+ case mapCtorString: return mapTag$1;
1950
+ case promiseCtorString: return promiseTag;
1951
+ case setCtorString: return setTag$1;
1952
+ case weakMapCtorString: return weakMapTag;
1953
+ }
1954
+ return result;
1955
+ };
1956
+ var _getTag_default = getTag;
1957
+ //#endregion
1958
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js
1959
+ /** Built-in value references. */
838
1960
  var Uint8Array$1 = root.Uint8Array;
1961
+ //#endregion
1962
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setCacheAdd.js
1963
+ /** Used to stand-in for `undefined` hash values. */
839
1964
  var HASH_UNDEFINED = "__lodash_hash_undefined__";
1965
+ /**
1966
+ * Adds `value` to the array cache.
1967
+ *
1968
+ * @private
1969
+ * @name add
1970
+ * @memberOf SetCache
1971
+ * @alias push
1972
+ * @param {*} value The value to cache.
1973
+ * @returns {Object} Returns the cache instance.
1974
+ */
840
1975
  function setCacheAdd(value) {
841
- this.__data__.set(value, HASH_UNDEFINED);
842
- return this;
843
- }
1976
+ this.__data__.set(value, HASH_UNDEFINED);
1977
+ return this;
1978
+ }
1979
+ //#endregion
1980
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setCacheHas.js
1981
+ /**
1982
+ * Checks if `value` is in the array cache.
1983
+ *
1984
+ * @private
1985
+ * @name has
1986
+ * @memberOf SetCache
1987
+ * @param {*} value The value to search for.
1988
+ * @returns {boolean} Returns `true` if `value` is found, else `false`.
1989
+ */
844
1990
  function setCacheHas(value) {
845
- return this.__data__.has(value);
846
- }
1991
+ return this.__data__.has(value);
1992
+ }
1993
+ //#endregion
1994
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_SetCache.js
1995
+ /**
1996
+ *
1997
+ * Creates an array cache object to store unique values.
1998
+ *
1999
+ * @private
2000
+ * @constructor
2001
+ * @param {Array} [values] The values to cache.
2002
+ */
847
2003
  function SetCache(values) {
848
- var index = -1, length = values == null ? 0 : values.length;
849
- this.__data__ = new MapCache();
850
- while (++index < length) {
851
- this.add(values[index]);
852
- }
2004
+ var index = -1, length = values == null ? 0 : values.length;
2005
+ this.__data__ = new MapCache();
2006
+ while (++index < length) this.add(values[index]);
853
2007
  }
854
2008
  SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
855
2009
  SetCache.prototype.has = setCacheHas;
2010
+ //#endregion
2011
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arraySome.js
2012
+ /**
2013
+ * A specialized version of `_.some` for arrays without support for iteratee
2014
+ * shorthands.
2015
+ *
2016
+ * @private
2017
+ * @param {Array} [array] The array to iterate over.
2018
+ * @param {Function} predicate The function invoked per iteration.
2019
+ * @returns {boolean} Returns `true` if any element passes the predicate check,
2020
+ * else `false`.
2021
+ */
856
2022
  function arraySome(array, predicate) {
857
- var index = -1, length = array == null ? 0 : array.length;
858
- while (++index < length) {
859
- if (predicate(array[index], index, array)) {
860
- return true;
861
- }
862
- }
863
- return false;
864
- }
2023
+ var index = -1, length = array == null ? 0 : array.length;
2024
+ while (++index < length) if (predicate(array[index], index, array)) return true;
2025
+ return false;
2026
+ }
2027
+ //#endregion
2028
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cacheHas.js
2029
+ /**
2030
+ * Checks if a `cache` value for `key` exists.
2031
+ *
2032
+ * @private
2033
+ * @param {Object} cache The cache to query.
2034
+ * @param {string} key The key of the entry to check.
2035
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
2036
+ */
865
2037
  function cacheHas(cache, key) {
866
- return cache.has(key);
2038
+ return cache.has(key);
867
2039
  }
2040
+ //#endregion
2041
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalArrays.js
2042
+ /** Used to compose bitmasks for value comparisons. */
868
2043
  var COMPARE_PARTIAL_FLAG$5 = 1, COMPARE_UNORDERED_FLAG$3 = 2;
2044
+ /**
2045
+ * A specialized version of `baseIsEqualDeep` for arrays with support for
2046
+ * partial deep comparisons.
2047
+ *
2048
+ * @private
2049
+ * @param {Array} array The array to compare.
2050
+ * @param {Array} other The other array to compare.
2051
+ * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
2052
+ * @param {Function} customizer The function to customize comparisons.
2053
+ * @param {Function} equalFunc The function to determine equivalents of values.
2054
+ * @param {Object} stack Tracks traversed `array` and `other` objects.
2055
+ * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.
2056
+ */
869
2057
  function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
870
- var isPartial = bitmask & COMPARE_PARTIAL_FLAG$5, arrLength = array.length, othLength = other.length;
871
- if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
872
- return false;
873
- }
874
- var arrStacked = stack.get(array);
875
- var othStacked = stack.get(other);
876
- if (arrStacked && othStacked) {
877
- return arrStacked == other && othStacked == array;
878
- }
879
- var index = -1, result = true, seen = bitmask & COMPARE_UNORDERED_FLAG$3 ? new SetCache() : void 0;
880
- stack.set(array, other);
881
- stack.set(other, array);
882
- while (++index < arrLength) {
883
- var arrValue = array[index], othValue = other[index];
884
- if (customizer) {
885
- var compared = isPartial ? customizer(othValue, arrValue, index, other, array, stack) : customizer(arrValue, othValue, index, array, other, stack);
886
- }
887
- if (compared !== void 0) {
888
- if (compared) {
889
- continue;
890
- }
891
- result = false;
892
- break;
893
- }
894
- if (seen) {
895
- if (!arraySome(other, function(othValue2, othIndex) {
896
- if (!cacheHas(seen, othIndex) && (arrValue === othValue2 || equalFunc(arrValue, othValue2, bitmask, customizer, stack))) {
897
- return seen.push(othIndex);
898
- }
899
- })) {
900
- result = false;
901
- break;
902
- }
903
- } else if (!(arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {
904
- result = false;
905
- break;
906
- }
907
- }
908
- stack["delete"](array);
909
- stack["delete"](other);
910
- return result;
911
- }
2058
+ var isPartial = bitmask & COMPARE_PARTIAL_FLAG$5, arrLength = array.length, othLength = other.length;
2059
+ if (arrLength != othLength && !(isPartial && othLength > arrLength)) return false;
2060
+ var arrStacked = stack.get(array);
2061
+ var othStacked = stack.get(other);
2062
+ if (arrStacked && othStacked) return arrStacked == other && othStacked == array;
2063
+ var index = -1, result = true, seen = bitmask & COMPARE_UNORDERED_FLAG$3 ? new SetCache() : void 0;
2064
+ stack.set(array, other);
2065
+ stack.set(other, array);
2066
+ while (++index < arrLength) {
2067
+ var arrValue = array[index], othValue = other[index];
2068
+ if (customizer) var compared = isPartial ? customizer(othValue, arrValue, index, other, array, stack) : customizer(arrValue, othValue, index, array, other, stack);
2069
+ if (compared !== void 0) {
2070
+ if (compared) continue;
2071
+ result = false;
2072
+ break;
2073
+ }
2074
+ if (seen) {
2075
+ if (!arraySome(other, function(othValue, othIndex) {
2076
+ if (!cacheHas(seen, othIndex) && (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) return seen.push(othIndex);
2077
+ })) {
2078
+ result = false;
2079
+ break;
2080
+ }
2081
+ } else if (!(arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {
2082
+ result = false;
2083
+ break;
2084
+ }
2085
+ }
2086
+ stack["delete"](array);
2087
+ stack["delete"](other);
2088
+ return result;
2089
+ }
2090
+ //#endregion
2091
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapToArray.js
2092
+ /**
2093
+ * Converts `map` to its key-value pairs.
2094
+ *
2095
+ * @private
2096
+ * @param {Object} map The map to convert.
2097
+ * @returns {Array} Returns the key-value pairs.
2098
+ */
912
2099
  function mapToArray(map) {
913
- var index = -1, result = Array(map.size);
914
- map.forEach(function(value, key) {
915
- result[++index] = [key, value];
916
- });
917
- return result;
918
- }
2100
+ var index = -1, result = Array(map.size);
2101
+ map.forEach(function(value, key) {
2102
+ result[++index] = [key, value];
2103
+ });
2104
+ return result;
2105
+ }
2106
+ //#endregion
2107
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setToArray.js
2108
+ /**
2109
+ * Converts `set` to an array of its values.
2110
+ *
2111
+ * @private
2112
+ * @param {Object} set The set to convert.
2113
+ * @returns {Array} Returns the values.
2114
+ */
919
2115
  function setToArray(set) {
920
- var index = -1, result = Array(set.size);
921
- set.forEach(function(value) {
922
- result[++index] = value;
923
- });
924
- return result;
925
- }
2116
+ var index = -1, result = Array(set.size);
2117
+ set.forEach(function(value) {
2118
+ result[++index] = value;
2119
+ });
2120
+ return result;
2121
+ }
2122
+ //#endregion
2123
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalByTag.js
2124
+ /** Used to compose bitmasks for value comparisons. */
926
2125
  var COMPARE_PARTIAL_FLAG$4 = 1, COMPARE_UNORDERED_FLAG$2 = 2;
2126
+ /** `Object#toString` result references. */
927
2127
  var boolTag = "[object Boolean]", dateTag = "[object Date]", errorTag = "[object Error]", mapTag = "[object Map]", numberTag = "[object Number]", regexpTag = "[object RegExp]", setTag = "[object Set]", stringTag = "[object String]", symbolTag = "[object Symbol]";
928
2128
  var arrayBufferTag = "[object ArrayBuffer]", dataViewTag = "[object DataView]";
929
- var symbolProto = Symbol$1 ? Symbol$1.prototype : void 0, symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
2129
+ /** Used to convert symbols to primitives and strings. */
2130
+ var symbolProto = Symbol ? Symbol.prototype : void 0, symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
2131
+ /**
2132
+ * A specialized version of `baseIsEqualDeep` for comparing objects of
2133
+ * the same `toStringTag`.
2134
+ *
2135
+ * **Note:** This function only supports comparing values with tags of
2136
+ * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
2137
+ *
2138
+ * @private
2139
+ * @param {Object} object The object to compare.
2140
+ * @param {Object} other The other object to compare.
2141
+ * @param {string} tag The `toStringTag` of the objects to compare.
2142
+ * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
2143
+ * @param {Function} customizer The function to customize comparisons.
2144
+ * @param {Function} equalFunc The function to determine equivalents of values.
2145
+ * @param {Object} stack Tracks traversed `object` and `other` objects.
2146
+ * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
2147
+ */
930
2148
  function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
931
- switch (tag) {
932
- case dataViewTag:
933
- if (object.byteLength != other.byteLength || object.byteOffset != other.byteOffset) {
934
- return false;
935
- }
936
- object = object.buffer;
937
- other = other.buffer;
938
- case arrayBufferTag:
939
- if (object.byteLength != other.byteLength || !equalFunc(new Uint8Array$1(object), new Uint8Array$1(other))) {
940
- return false;
941
- }
942
- return true;
943
- case boolTag:
944
- case dateTag:
945
- case numberTag:
946
- return eq(+object, +other);
947
- case errorTag:
948
- return object.name == other.name && object.message == other.message;
949
- case regexpTag:
950
- case stringTag:
951
- return object == other + "";
952
- case mapTag:
953
- var convert = mapToArray;
954
- case setTag:
955
- var isPartial = bitmask & COMPARE_PARTIAL_FLAG$4;
956
- convert || (convert = setToArray);
957
- if (object.size != other.size && !isPartial) {
958
- return false;
959
- }
960
- var stacked = stack.get(object);
961
- if (stacked) {
962
- return stacked == other;
963
- }
964
- bitmask |= COMPARE_UNORDERED_FLAG$2;
965
- stack.set(object, other);
966
- var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);
967
- stack["delete"](object);
968
- return result;
969
- case symbolTag:
970
- if (symbolValueOf) {
971
- return symbolValueOf.call(object) == symbolValueOf.call(other);
972
- }
973
- }
974
- return false;
975
- }
2149
+ switch (tag) {
2150
+ case dataViewTag:
2151
+ if (object.byteLength != other.byteLength || object.byteOffset != other.byteOffset) return false;
2152
+ object = object.buffer;
2153
+ other = other.buffer;
2154
+ case arrayBufferTag:
2155
+ if (object.byteLength != other.byteLength || !equalFunc(new Uint8Array$1(object), new Uint8Array$1(other))) return false;
2156
+ return true;
2157
+ case boolTag:
2158
+ case dateTag:
2159
+ case numberTag: return eq(+object, +other);
2160
+ case errorTag: return object.name == other.name && object.message == other.message;
2161
+ case regexpTag:
2162
+ case stringTag: return object == other + "";
2163
+ case mapTag: var convert = mapToArray;
2164
+ case setTag:
2165
+ var isPartial = bitmask & COMPARE_PARTIAL_FLAG$4;
2166
+ convert || (convert = setToArray);
2167
+ if (object.size != other.size && !isPartial) return false;
2168
+ var stacked = stack.get(object);
2169
+ if (stacked) return stacked == other;
2170
+ bitmask |= COMPARE_UNORDERED_FLAG$2;
2171
+ stack.set(object, other);
2172
+ var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);
2173
+ stack["delete"](object);
2174
+ return result;
2175
+ case symbolTag: if (symbolValueOf) return symbolValueOf.call(object) == symbolValueOf.call(other);
2176
+ }
2177
+ return false;
2178
+ }
2179
+ //#endregion
2180
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalObjects.js
2181
+ /** Used to compose bitmasks for value comparisons. */
976
2182
  var COMPARE_PARTIAL_FLAG$3 = 1;
977
- var objectProto$1 = Object.prototype;
978
- var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
2183
+ /** Used to check objects for own properties. */
2184
+ var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
2185
+ /**
2186
+ * A specialized version of `baseIsEqualDeep` for objects with support for
2187
+ * partial deep comparisons.
2188
+ *
2189
+ * @private
2190
+ * @param {Object} object The object to compare.
2191
+ * @param {Object} other The other object to compare.
2192
+ * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
2193
+ * @param {Function} customizer The function to customize comparisons.
2194
+ * @param {Function} equalFunc The function to determine equivalents of values.
2195
+ * @param {Object} stack Tracks traversed `object` and `other` objects.
2196
+ * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
2197
+ */
979
2198
  function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
980
- var isPartial = bitmask & COMPARE_PARTIAL_FLAG$3, objProps = getAllKeys(object), objLength = objProps.length, othProps = getAllKeys(other), othLength = othProps.length;
981
- if (objLength != othLength && !isPartial) {
982
- return false;
983
- }
984
- var index = objLength;
985
- while (index--) {
986
- var key = objProps[index];
987
- if (!(isPartial ? key in other : hasOwnProperty$1.call(other, key))) {
988
- return false;
989
- }
990
- }
991
- var objStacked = stack.get(object);
992
- var othStacked = stack.get(other);
993
- if (objStacked && othStacked) {
994
- return objStacked == other && othStacked == object;
995
- }
996
- var result = true;
997
- stack.set(object, other);
998
- stack.set(other, object);
999
- var skipCtor = isPartial;
1000
- while (++index < objLength) {
1001
- key = objProps[index];
1002
- var objValue = object[key], othValue = other[key];
1003
- if (customizer) {
1004
- var compared = isPartial ? customizer(othValue, objValue, key, other, object, stack) : customizer(objValue, othValue, key, object, other, stack);
1005
- }
1006
- if (!(compared === void 0 ? objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack) : compared)) {
1007
- result = false;
1008
- break;
1009
- }
1010
- skipCtor || (skipCtor = key == "constructor");
1011
- }
1012
- if (result && !skipCtor) {
1013
- var objCtor = object.constructor, othCtor = other.constructor;
1014
- if (objCtor != othCtor && ("constructor" in object && "constructor" in other) && !(typeof objCtor == "function" && objCtor instanceof objCtor && typeof othCtor == "function" && othCtor instanceof othCtor)) {
1015
- result = false;
1016
- }
1017
- }
1018
- stack["delete"](object);
1019
- stack["delete"](other);
1020
- return result;
1021
- }
2199
+ var isPartial = bitmask & COMPARE_PARTIAL_FLAG$3, objProps = getAllKeys(object), objLength = objProps.length;
2200
+ if (objLength != getAllKeys(other).length && !isPartial) return false;
2201
+ var index = objLength;
2202
+ while (index--) {
2203
+ var key = objProps[index];
2204
+ if (!(isPartial ? key in other : hasOwnProperty$1.call(other, key))) return false;
2205
+ }
2206
+ var objStacked = stack.get(object);
2207
+ var othStacked = stack.get(other);
2208
+ if (objStacked && othStacked) return objStacked == other && othStacked == object;
2209
+ var result = true;
2210
+ stack.set(object, other);
2211
+ stack.set(other, object);
2212
+ var skipCtor = isPartial;
2213
+ while (++index < objLength) {
2214
+ key = objProps[index];
2215
+ var objValue = object[key], othValue = other[key];
2216
+ if (customizer) var compared = isPartial ? customizer(othValue, objValue, key, other, object, stack) : customizer(objValue, othValue, key, object, other, stack);
2217
+ if (!(compared === void 0 ? objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack) : compared)) {
2218
+ result = false;
2219
+ break;
2220
+ }
2221
+ skipCtor || (skipCtor = key == "constructor");
2222
+ }
2223
+ if (result && !skipCtor) {
2224
+ var objCtor = object.constructor, othCtor = other.constructor;
2225
+ if (objCtor != othCtor && "constructor" in object && "constructor" in other && !(typeof objCtor == "function" && objCtor instanceof objCtor && typeof othCtor == "function" && othCtor instanceof othCtor)) result = false;
2226
+ }
2227
+ stack["delete"](object);
2228
+ stack["delete"](other);
2229
+ return result;
2230
+ }
2231
+ //#endregion
2232
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqualDeep.js
2233
+ /** Used to compose bitmasks for value comparisons. */
1022
2234
  var COMPARE_PARTIAL_FLAG$2 = 1;
2235
+ /** `Object#toString` result references. */
1023
2236
  var argsTag = "[object Arguments]", arrayTag = "[object Array]", objectTag = "[object Object]";
1024
- var objectProto = Object.prototype;
1025
- var hasOwnProperty = objectProto.hasOwnProperty;
2237
+ /** Used to check objects for own properties. */
2238
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
2239
+ /**
2240
+ * A specialized version of `baseIsEqual` for arrays and objects which performs
2241
+ * deep comparisons and tracks traversed objects enabling objects with circular
2242
+ * references to be compared.
2243
+ *
2244
+ * @private
2245
+ * @param {Object} object The object to compare.
2246
+ * @param {Object} other The other object to compare.
2247
+ * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
2248
+ * @param {Function} customizer The function to customize comparisons.
2249
+ * @param {Function} equalFunc The function to determine equivalents of values.
2250
+ * @param {Object} [stack] Tracks traversed `object` and `other` objects.
2251
+ * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
2252
+ */
1026
2253
  function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
1027
- var objIsArr = isArray(object), othIsArr = isArray(other), objTag = objIsArr ? arrayTag : getTag(object), othTag = othIsArr ? arrayTag : getTag(other);
1028
- objTag = objTag == argsTag ? objectTag : objTag;
1029
- othTag = othTag == argsTag ? objectTag : othTag;
1030
- var objIsObj = objTag == objectTag, othIsObj = othTag == objectTag, isSameTag = objTag == othTag;
1031
- if (isSameTag && isBuffer(object)) {
1032
- if (!isBuffer(other)) {
1033
- return false;
1034
- }
1035
- objIsArr = true;
1036
- objIsObj = false;
1037
- }
1038
- if (isSameTag && !objIsObj) {
1039
- stack || (stack = new Stack());
1040
- return objIsArr || isTypedArray(object) ? equalArrays(object, other, bitmask, customizer, equalFunc, stack) : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
1041
- }
1042
- if (!(bitmask & COMPARE_PARTIAL_FLAG$2)) {
1043
- var objIsWrapped = objIsObj && hasOwnProperty.call(object, "__wrapped__"), othIsWrapped = othIsObj && hasOwnProperty.call(other, "__wrapped__");
1044
- if (objIsWrapped || othIsWrapped) {
1045
- var objUnwrapped = objIsWrapped ? object.value() : object, othUnwrapped = othIsWrapped ? other.value() : other;
1046
- stack || (stack = new Stack());
1047
- return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);
1048
- }
1049
- }
1050
- if (!isSameTag) {
1051
- return false;
1052
- }
1053
- stack || (stack = new Stack());
1054
- return equalObjects(object, other, bitmask, customizer, equalFunc, stack);
1055
- }
2254
+ var objIsArr = isArray(object), othIsArr = isArray(other), objTag = objIsArr ? arrayTag : _getTag_default(object), othTag = othIsArr ? arrayTag : _getTag_default(other);
2255
+ objTag = objTag == argsTag ? objectTag : objTag;
2256
+ othTag = othTag == argsTag ? objectTag : othTag;
2257
+ var objIsObj = objTag == objectTag, othIsObj = othTag == objectTag, isSameTag = objTag == othTag;
2258
+ if (isSameTag && isBuffer(object)) {
2259
+ if (!isBuffer(other)) return false;
2260
+ objIsArr = true;
2261
+ objIsObj = false;
2262
+ }
2263
+ if (isSameTag && !objIsObj) {
2264
+ stack || (stack = new Stack());
2265
+ return objIsArr || isTypedArray(object) ? equalArrays(object, other, bitmask, customizer, equalFunc, stack) : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
2266
+ }
2267
+ if (!(bitmask & COMPARE_PARTIAL_FLAG$2)) {
2268
+ var objIsWrapped = objIsObj && hasOwnProperty.call(object, "__wrapped__"), othIsWrapped = othIsObj && hasOwnProperty.call(other, "__wrapped__");
2269
+ if (objIsWrapped || othIsWrapped) {
2270
+ var objUnwrapped = objIsWrapped ? object.value() : object, othUnwrapped = othIsWrapped ? other.value() : other;
2271
+ stack || (stack = new Stack());
2272
+ return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);
2273
+ }
2274
+ }
2275
+ if (!isSameTag) return false;
2276
+ stack || (stack = new Stack());
2277
+ return equalObjects(object, other, bitmask, customizer, equalFunc, stack);
2278
+ }
2279
+ //#endregion
2280
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqual.js
2281
+ /**
2282
+ * The base implementation of `_.isEqual` which supports partial comparisons
2283
+ * and tracks traversed objects.
2284
+ *
2285
+ * @private
2286
+ * @param {*} value The value to compare.
2287
+ * @param {*} other The other value to compare.
2288
+ * @param {boolean} bitmask The bitmask flags.
2289
+ * 1 - Unordered comparison
2290
+ * 2 - Partial comparison
2291
+ * @param {Function} [customizer] The function to customize comparisons.
2292
+ * @param {Object} [stack] Tracks traversed `value` and `other` objects.
2293
+ * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
2294
+ */
1056
2295
  function baseIsEqual(value, other, bitmask, customizer, stack) {
1057
- if (value === other) {
1058
- return true;
1059
- }
1060
- if (value == null || other == null || !isObjectLike(value) && !isObjectLike(other)) {
1061
- return value !== value && other !== other;
1062
- }
1063
- return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);
2296
+ if (value === other) return true;
2297
+ if (value == null || other == null || !isObjectLike(value) && !isObjectLike(other)) return value !== value && other !== other;
2298
+ return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);
1064
2299
  }
2300
+ //#endregion
2301
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMatch.js
2302
+ /** Used to compose bitmasks for value comparisons. */
1065
2303
  var COMPARE_PARTIAL_FLAG$1 = 1, COMPARE_UNORDERED_FLAG$1 = 2;
2304
+ /**
2305
+ * The base implementation of `_.isMatch` without support for iteratee shorthands.
2306
+ *
2307
+ * @private
2308
+ * @param {Object} object The object to inspect.
2309
+ * @param {Object} source The object of property values to match.
2310
+ * @param {Array} matchData The property names, values, and compare flags to match.
2311
+ * @param {Function} [customizer] The function to customize comparisons.
2312
+ * @returns {boolean} Returns `true` if `object` is a match, else `false`.
2313
+ */
1066
2314
  function baseIsMatch(object, source, matchData, customizer) {
1067
- var index = matchData.length, length = index;
1068
- if (object == null) {
1069
- return !length;
1070
- }
1071
- object = Object(object);
1072
- while (index--) {
1073
- var data = matchData[index];
1074
- if (data[2] ? data[1] !== object[data[0]] : !(data[0] in object)) {
1075
- return false;
1076
- }
1077
- }
1078
- while (++index < length) {
1079
- data = matchData[index];
1080
- var key = data[0], objValue = object[key], srcValue = data[1];
1081
- if (data[2]) {
1082
- if (objValue === void 0 && !(key in object)) {
1083
- return false;
1084
- }
1085
- } else {
1086
- var stack = new Stack();
1087
- var result;
1088
- if (!(result === void 0 ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG$1 | COMPARE_UNORDERED_FLAG$1, customizer, stack) : result)) {
1089
- return false;
1090
- }
1091
- }
1092
- }
1093
- return true;
1094
- }
2315
+ var index = matchData.length, length = index, noCustomizer = !customizer;
2316
+ if (object == null) return !length;
2317
+ object = Object(object);
2318
+ while (index--) {
2319
+ var data = matchData[index];
2320
+ if (noCustomizer && data[2] ? data[1] !== object[data[0]] : !(data[0] in object)) return false;
2321
+ }
2322
+ while (++index < length) {
2323
+ data = matchData[index];
2324
+ var key = data[0], objValue = object[key], srcValue = data[1];
2325
+ if (noCustomizer && data[2]) {
2326
+ if (objValue === void 0 && !(key in object)) return false;
2327
+ } else {
2328
+ var stack = new Stack();
2329
+ if (customizer) var result = customizer(objValue, srcValue, key, object, source, stack);
2330
+ if (!(result === void 0 ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG$1 | COMPARE_UNORDERED_FLAG$1, customizer, stack) : result)) return false;
2331
+ }
2332
+ }
2333
+ return true;
2334
+ }
2335
+ //#endregion
2336
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isStrictComparable.js
2337
+ /**
2338
+ * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.
2339
+ *
2340
+ * @private
2341
+ * @param {*} value The value to check.
2342
+ * @returns {boolean} Returns `true` if `value` if suitable for strict
2343
+ * equality comparisons, else `false`.
2344
+ */
1095
2345
  function isStrictComparable(value) {
1096
- return value === value && !isObject(value);
1097
- }
2346
+ return value === value && !isObject(value);
2347
+ }
2348
+ //#endregion
2349
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getMatchData.js
2350
+ /**
2351
+ * Gets the property names, values, and compare flags of `object`.
2352
+ *
2353
+ * @private
2354
+ * @param {Object} object The object to query.
2355
+ * @returns {Array} Returns the match data of `object`.
2356
+ */
1098
2357
  function getMatchData(object) {
1099
- var result = keys(object), length = result.length;
1100
- while (length--) {
1101
- var key = result[length], value = object[key];
1102
- result[length] = [key, value, isStrictComparable(value)];
1103
- }
1104
- return result;
1105
- }
2358
+ var result = keys(object), length = result.length;
2359
+ while (length--) {
2360
+ var key = result[length], value = object[key];
2361
+ result[length] = [
2362
+ key,
2363
+ value,
2364
+ isStrictComparable(value)
2365
+ ];
2366
+ }
2367
+ return result;
2368
+ }
2369
+ //#endregion
2370
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_matchesStrictComparable.js
2371
+ /**
2372
+ * A specialized version of `matchesProperty` for source values suitable
2373
+ * for strict equality comparisons, i.e. `===`.
2374
+ *
2375
+ * @private
2376
+ * @param {string} key The key of the property to get.
2377
+ * @param {*} srcValue The value to match.
2378
+ * @returns {Function} Returns the new spec function.
2379
+ */
1106
2380
  function matchesStrictComparable(key, srcValue) {
1107
- return function(object) {
1108
- if (object == null) {
1109
- return false;
1110
- }
1111
- return object[key] === srcValue && (srcValue !== void 0 || key in Object(object));
1112
- };
1113
- }
2381
+ return function(object) {
2382
+ if (object == null) return false;
2383
+ return object[key] === srcValue && (srcValue !== void 0 || key in Object(object));
2384
+ };
2385
+ }
2386
+ //#endregion
2387
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMatches.js
2388
+ /**
2389
+ * The base implementation of `_.matches` which doesn't clone `source`.
2390
+ *
2391
+ * @private
2392
+ * @param {Object} source The object of property values to match.
2393
+ * @returns {Function} Returns the new spec function.
2394
+ */
1114
2395
  function baseMatches(source) {
1115
- var matchData = getMatchData(source);
1116
- if (matchData.length == 1 && matchData[0][2]) {
1117
- return matchesStrictComparable(matchData[0][0], matchData[0][1]);
1118
- }
1119
- return function(object) {
1120
- return object === source || baseIsMatch(object, source, matchData);
1121
- };
1122
- }
2396
+ var matchData = getMatchData(source);
2397
+ if (matchData.length == 1 && matchData[0][2]) return matchesStrictComparable(matchData[0][0], matchData[0][1]);
2398
+ return function(object) {
2399
+ return object === source || baseIsMatch(object, source, matchData);
2400
+ };
2401
+ }
2402
+ //#endregion
2403
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseHasIn.js
2404
+ /**
2405
+ * The base implementation of `_.hasIn` without support for deep paths.
2406
+ *
2407
+ * @private
2408
+ * @param {Object} [object] The object to query.
2409
+ * @param {Array|string} key The key to check.
2410
+ * @returns {boolean} Returns `true` if `key` exists, else `false`.
2411
+ */
1123
2412
  function baseHasIn(object, key) {
1124
- return object != null && key in Object(object);
1125
- }
2413
+ return object != null && key in Object(object);
2414
+ }
2415
+ //#endregion
2416
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hasPath.js
2417
+ /**
2418
+ * Checks if `path` exists on `object`.
2419
+ *
2420
+ * @private
2421
+ * @param {Object} object The object to query.
2422
+ * @param {Array|string} path The path to check.
2423
+ * @param {Function} hasFunc The function to check properties.
2424
+ * @returns {boolean} Returns `true` if `path` exists, else `false`.
2425
+ */
1126
2426
  function hasPath(object, path, hasFunc) {
1127
- path = castPath(path, object);
1128
- var index = -1, length = path.length, result = false;
1129
- while (++index < length) {
1130
- var key = toKey(path[index]);
1131
- if (!(result = object != null && hasFunc(object, key))) {
1132
- break;
1133
- }
1134
- object = object[key];
1135
- }
1136
- if (result || ++index != length) {
1137
- return result;
1138
- }
1139
- length = object == null ? 0 : object.length;
1140
- return !!length && isLength(length) && isIndex(key, length) && (isArray(object) || isArguments(object));
1141
- }
2427
+ path = castPath(path, object);
2428
+ var index = -1, length = path.length, result = false;
2429
+ while (++index < length) {
2430
+ var key = toKey(path[index]);
2431
+ if (!(result = object != null && hasFunc(object, key))) break;
2432
+ object = object[key];
2433
+ }
2434
+ if (result || ++index != length) return result;
2435
+ length = object == null ? 0 : object.length;
2436
+ return !!length && isLength(length) && isIndex(key, length) && (isArray(object) || isArguments(object));
2437
+ }
2438
+ //#endregion
2439
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/hasIn.js
2440
+ /**
2441
+ * Checks if `path` is a direct or inherited property of `object`.
2442
+ *
2443
+ * @static
2444
+ * @memberOf _
2445
+ * @since 4.0.0
2446
+ * @category Object
2447
+ * @param {Object} object The object to query.
2448
+ * @param {Array|string} path The path to check.
2449
+ * @returns {boolean} Returns `true` if `path` exists, else `false`.
2450
+ * @example
2451
+ *
2452
+ * var object = _.create({ 'a': _.create({ 'b': 2 }) });
2453
+ *
2454
+ * _.hasIn(object, 'a');
2455
+ * // => true
2456
+ *
2457
+ * _.hasIn(object, 'a.b');
2458
+ * // => true
2459
+ *
2460
+ * _.hasIn(object, ['a', 'b']);
2461
+ * // => true
2462
+ *
2463
+ * _.hasIn(object, 'b');
2464
+ * // => false
2465
+ */
1142
2466
  function hasIn(object, path) {
1143
- return object != null && hasPath(object, path, baseHasIn);
2467
+ return object != null && hasPath(object, path, baseHasIn);
1144
2468
  }
2469
+ //#endregion
2470
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMatchesProperty.js
2471
+ /** Used to compose bitmasks for value comparisons. */
1145
2472
  var COMPARE_PARTIAL_FLAG = 1, COMPARE_UNORDERED_FLAG = 2;
2473
+ /**
2474
+ * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.
2475
+ *
2476
+ * @private
2477
+ * @param {string} path The path of the property to get.
2478
+ * @param {*} srcValue The value to match.
2479
+ * @returns {Function} Returns the new spec function.
2480
+ */
1146
2481
  function baseMatchesProperty(path, srcValue) {
1147
- if (isKey(path) && isStrictComparable(srcValue)) {
1148
- return matchesStrictComparable(toKey(path), srcValue);
1149
- }
1150
- return function(object) {
1151
- var objValue = get(object, path);
1152
- return objValue === void 0 && objValue === srcValue ? hasIn(object, path) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
1153
- };
1154
- }
2482
+ if (isKey(path) && isStrictComparable(srcValue)) return matchesStrictComparable(toKey(path), srcValue);
2483
+ return function(object) {
2484
+ var objValue = get(object, path);
2485
+ return objValue === void 0 && objValue === srcValue ? hasIn(object, path) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
2486
+ };
2487
+ }
2488
+ //#endregion
2489
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseProperty.js
2490
+ /**
2491
+ * The base implementation of `_.property` without support for deep paths.
2492
+ *
2493
+ * @private
2494
+ * @param {string} key The key of the property to get.
2495
+ * @returns {Function} Returns the new accessor function.
2496
+ */
1155
2497
  function baseProperty(key) {
1156
- return function(object) {
1157
- return object == null ? void 0 : object[key];
1158
- };
1159
- }
2498
+ return function(object) {
2499
+ return object == null ? void 0 : object[key];
2500
+ };
2501
+ }
2502
+ //#endregion
2503
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_basePropertyDeep.js
2504
+ /**
2505
+ * A specialized version of `baseProperty` which supports deep paths.
2506
+ *
2507
+ * @private
2508
+ * @param {Array|string} path The path of the property to get.
2509
+ * @returns {Function} Returns the new accessor function.
2510
+ */
1160
2511
  function basePropertyDeep(path) {
1161
- return function(object) {
1162
- return baseGet(object, path);
1163
- };
1164
- }
2512
+ return function(object) {
2513
+ return baseGet(object, path);
2514
+ };
2515
+ }
2516
+ //#endregion
2517
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/property.js
2518
+ /**
2519
+ * Creates a function that returns the value at `path` of a given object.
2520
+ *
2521
+ * @static
2522
+ * @memberOf _
2523
+ * @since 2.4.0
2524
+ * @category Util
2525
+ * @param {Array|string} path The path of the property to get.
2526
+ * @returns {Function} Returns the new accessor function.
2527
+ * @example
2528
+ *
2529
+ * var objects = [
2530
+ * { 'a': { 'b': 2 } },
2531
+ * { 'a': { 'b': 1 } }
2532
+ * ];
2533
+ *
2534
+ * _.map(objects, _.property('a.b'));
2535
+ * // => [2, 1]
2536
+ *
2537
+ * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');
2538
+ * // => [1, 2]
2539
+ */
1165
2540
  function property(path) {
1166
- return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);
1167
- }
2541
+ return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);
2542
+ }
2543
+ //#endregion
2544
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIteratee.js
2545
+ /**
2546
+ * The base implementation of `_.iteratee`.
2547
+ *
2548
+ * @private
2549
+ * @param {*} [value=_.identity] The value to convert to an iteratee.
2550
+ * @returns {Function} Returns the iteratee.
2551
+ */
1168
2552
  function baseIteratee(value) {
1169
- if (typeof value == "function") {
1170
- return value;
1171
- }
1172
- if (value == null) {
1173
- return identity;
1174
- }
1175
- if (typeof value == "object") {
1176
- return isArray(value) ? baseMatchesProperty(value[0], value[1]) : baseMatches(value);
1177
- }
1178
- return property(value);
1179
- }
2553
+ if (typeof value == "function") return value;
2554
+ if (value == null) return identity;
2555
+ if (typeof value == "object") return isArray(value) ? baseMatchesProperty(value[0], value[1]) : baseMatches(value);
2556
+ return property(value);
2557
+ }
2558
+ //#endregion
2559
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_createBaseFor.js
2560
+ /**
2561
+ * Creates a base function for methods like `_.forIn` and `_.forOwn`.
2562
+ *
2563
+ * @private
2564
+ * @param {boolean} [fromRight] Specify iterating from right to left.
2565
+ * @returns {Function} Returns the new base function.
2566
+ */
1180
2567
  function createBaseFor(fromRight) {
1181
- return function(object, iteratee, keysFunc) {
1182
- var index = -1, iterable = Object(object), props = keysFunc(object), length = props.length;
1183
- while (length--) {
1184
- var key = props[++index];
1185
- if (iteratee(iterable[key], key, iterable) === false) {
1186
- break;
1187
- }
1188
- }
1189
- return object;
1190
- };
1191
- }
2568
+ return function(object, iteratee, keysFunc) {
2569
+ var index = -1, iterable = Object(object), props = keysFunc(object), length = props.length;
2570
+ while (length--) {
2571
+ var key = props[fromRight ? length : ++index];
2572
+ if (iteratee(iterable[key], key, iterable) === false) break;
2573
+ }
2574
+ return object;
2575
+ };
2576
+ }
2577
+ //#endregion
2578
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseFor.js
2579
+ /**
2580
+ * The base implementation of `baseForOwn` which iterates over `object`
2581
+ * properties returned by `keysFunc` and invokes `iteratee` for each property.
2582
+ * Iteratee functions may exit iteration early by explicitly returning `false`.
2583
+ *
2584
+ * @private
2585
+ * @param {Object} object The object to iterate over.
2586
+ * @param {Function} iteratee The function invoked per iteration.
2587
+ * @param {Function} keysFunc The function to get the keys of `object`.
2588
+ * @returns {Object} Returns `object`.
2589
+ */
1192
2590
  var baseFor = createBaseFor();
2591
+ //#endregion
2592
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseForOwn.js
2593
+ /**
2594
+ * The base implementation of `_.forOwn` without support for iteratee shorthands.
2595
+ *
2596
+ * @private
2597
+ * @param {Object} object The object to iterate over.
2598
+ * @param {Function} iteratee The function invoked per iteration.
2599
+ * @returns {Object} Returns `object`.
2600
+ */
1193
2601
  function baseForOwn(object, iteratee) {
1194
- return object && baseFor(object, iteratee, keys);
1195
- }
2602
+ return object && baseFor(object, iteratee, keys);
2603
+ }
2604
+ //#endregion
2605
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_createBaseEach.js
2606
+ /**
2607
+ * Creates a `baseEach` or `baseEachRight` function.
2608
+ *
2609
+ * @private
2610
+ * @param {Function} eachFunc The function to iterate over a collection.
2611
+ * @param {boolean} [fromRight] Specify iterating from right to left.
2612
+ * @returns {Function} Returns the new base function.
2613
+ */
1196
2614
  function createBaseEach(eachFunc, fromRight) {
1197
- return function(collection, iteratee) {
1198
- if (collection == null) {
1199
- return collection;
1200
- }
1201
- if (!isArrayLike(collection)) {
1202
- return eachFunc(collection, iteratee);
1203
- }
1204
- var length = collection.length, index = -1, iterable = Object(collection);
1205
- while (++index < length) {
1206
- if (iteratee(iterable[index], index, iterable) === false) {
1207
- break;
1208
- }
1209
- }
1210
- return collection;
1211
- };
1212
- }
2615
+ return function(collection, iteratee) {
2616
+ if (collection == null) return collection;
2617
+ if (!isArrayLike(collection)) return eachFunc(collection, iteratee);
2618
+ var length = collection.length, index = fromRight ? length : -1, iterable = Object(collection);
2619
+ while (fromRight ? index-- : ++index < length) if (iteratee(iterable[index], index, iterable) === false) break;
2620
+ return collection;
2621
+ };
2622
+ }
2623
+ //#endregion
2624
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseEach.js
2625
+ /**
2626
+ * The base implementation of `_.forEach` without support for iteratee shorthands.
2627
+ *
2628
+ * @private
2629
+ * @param {Array|Object} collection The collection to iterate over.
2630
+ * @param {Function} iteratee The function invoked per iteration.
2631
+ * @returns {Array|Object} Returns `collection`.
2632
+ */
1213
2633
  var baseEach = createBaseEach(baseForOwn);
2634
+ //#endregion
2635
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMap.js
2636
+ /**
2637
+ * The base implementation of `_.map` without support for iteratee shorthands.
2638
+ *
2639
+ * @private
2640
+ * @param {Array|Object} collection The collection to iterate over.
2641
+ * @param {Function} iteratee The function invoked per iteration.
2642
+ * @returns {Array} Returns the new mapped array.
2643
+ */
1214
2644
  function baseMap(collection, iteratee) {
1215
- var index = -1, result = isArrayLike(collection) ? Array(collection.length) : [];
1216
- baseEach(collection, function(value, key, collection2) {
1217
- result[++index] = iteratee(value, key, collection2);
1218
- });
1219
- return result;
1220
- }
2645
+ var index = -1, result = isArrayLike(collection) ? Array(collection.length) : [];
2646
+ baseEach(collection, function(value, key, collection) {
2647
+ result[++index] = iteratee(value, key, collection);
2648
+ });
2649
+ return result;
2650
+ }
2651
+ //#endregion
2652
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseSortBy.js
2653
+ /**
2654
+ * The base implementation of `_.sortBy` which uses `comparer` to define the
2655
+ * sort order of `array` and replaces criteria objects with their corresponding
2656
+ * values.
2657
+ *
2658
+ * @private
2659
+ * @param {Array} array The array to sort.
2660
+ * @param {Function} comparer The function to define sort order.
2661
+ * @returns {Array} Returns `array`.
2662
+ */
1221
2663
  function baseSortBy(array, comparer) {
1222
- var length = array.length;
1223
- array.sort(comparer);
1224
- while (length--) {
1225
- array[length] = array[length].value;
1226
- }
1227
- return array;
1228
- }
2664
+ var length = array.length;
2665
+ array.sort(comparer);
2666
+ while (length--) array[length] = array[length].value;
2667
+ return array;
2668
+ }
2669
+ //#endregion
2670
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_compareAscending.js
2671
+ /**
2672
+ * Compares values to sort them in ascending order.
2673
+ *
2674
+ * @private
2675
+ * @param {*} value The value to compare.
2676
+ * @param {*} other The other value to compare.
2677
+ * @returns {number} Returns the sort order indicator for `value`.
2678
+ */
1229
2679
  function compareAscending(value, other) {
1230
- if (value !== other) {
1231
- var valIsDefined = value !== void 0, valIsNull = value === null, valIsReflexive = value === value, valIsSymbol = isSymbol(value);
1232
- var othIsDefined = other !== void 0, othIsNull = other === null, othIsReflexive = other === other, othIsSymbol = isSymbol(other);
1233
- if (!othIsNull && !othIsSymbol && !valIsSymbol && value > other || valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol || valIsNull && othIsDefined && othIsReflexive || !valIsDefined && othIsReflexive || !valIsReflexive) {
1234
- return 1;
1235
- }
1236
- if (!valIsNull && !valIsSymbol && !othIsSymbol && value < other || othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol || othIsNull && valIsDefined && valIsReflexive || !othIsDefined && valIsReflexive || !othIsReflexive) {
1237
- return -1;
1238
- }
1239
- }
1240
- return 0;
1241
- }
2680
+ if (value !== other) {
2681
+ var valIsDefined = value !== void 0, valIsNull = value === null, valIsReflexive = value === value, valIsSymbol = isSymbol(value);
2682
+ var othIsDefined = other !== void 0, othIsNull = other === null, othIsReflexive = other === other, othIsSymbol = isSymbol(other);
2683
+ if (!othIsNull && !othIsSymbol && !valIsSymbol && value > other || valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol || valIsNull && othIsDefined && othIsReflexive || !valIsDefined && othIsReflexive || !valIsReflexive) return 1;
2684
+ if (!valIsNull && !valIsSymbol && !othIsSymbol && value < other || othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol || othIsNull && valIsDefined && valIsReflexive || !othIsDefined && valIsReflexive || !othIsReflexive) return -1;
2685
+ }
2686
+ return 0;
2687
+ }
2688
+ //#endregion
2689
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_compareMultiple.js
2690
+ /**
2691
+ * Used by `_.orderBy` to compare multiple properties of a value to another
2692
+ * and stable sort them.
2693
+ *
2694
+ * If `orders` is unspecified, all values are sorted in ascending order. Otherwise,
2695
+ * specify an order of "desc" for descending or "asc" for ascending sort order
2696
+ * of corresponding values.
2697
+ *
2698
+ * @private
2699
+ * @param {Object} object The object to compare.
2700
+ * @param {Object} other The other object to compare.
2701
+ * @param {boolean[]|string[]} orders The order to sort by for each property.
2702
+ * @returns {number} Returns the sort order indicator for `object`.
2703
+ */
1242
2704
  function compareMultiple(object, other, orders) {
1243
- var index = -1, objCriteria = object.criteria, othCriteria = other.criteria, length = objCriteria.length, ordersLength = orders.length;
1244
- while (++index < length) {
1245
- var result = compareAscending(objCriteria[index], othCriteria[index]);
1246
- if (result) {
1247
- if (index >= ordersLength) {
1248
- return result;
1249
- }
1250
- var order = orders[index];
1251
- return result * (order == "desc" ? -1 : 1);
1252
- }
1253
- }
1254
- return object.index - other.index;
1255
- }
2705
+ var index = -1, objCriteria = object.criteria, othCriteria = other.criteria, length = objCriteria.length, ordersLength = orders.length;
2706
+ while (++index < length) {
2707
+ var result = compareAscending(objCriteria[index], othCriteria[index]);
2708
+ if (result) {
2709
+ if (index >= ordersLength) return result;
2710
+ return result * (orders[index] == "desc" ? -1 : 1);
2711
+ }
2712
+ }
2713
+ return object.index - other.index;
2714
+ }
2715
+ //#endregion
2716
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseOrderBy.js
2717
+ /**
2718
+ * The base implementation of `_.orderBy` without param guards.
2719
+ *
2720
+ * @private
2721
+ * @param {Array|Object} collection The collection to iterate over.
2722
+ * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.
2723
+ * @param {string[]} orders The sort orders of `iteratees`.
2724
+ * @returns {Array} Returns the new sorted array.
2725
+ */
1256
2726
  function baseOrderBy(collection, iteratees, orders) {
1257
- if (iteratees.length) {
1258
- iteratees = arrayMap(iteratees, function(iteratee) {
1259
- if (isArray(iteratee)) {
1260
- return function(value) {
1261
- return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);
1262
- };
1263
- }
1264
- return iteratee;
1265
- });
1266
- } else {
1267
- iteratees = [identity];
1268
- }
1269
- var index = -1;
1270
- iteratees = arrayMap(iteratees, baseUnary(baseIteratee));
1271
- var result = baseMap(collection, function(value, key, collection2) {
1272
- var criteria = arrayMap(iteratees, function(iteratee) {
1273
- return iteratee(value);
1274
- });
1275
- return { "criteria": criteria, "index": ++index, "value": value };
1276
- });
1277
- return baseSortBy(result, function(object, other) {
1278
- return compareMultiple(object, other, orders);
1279
- });
1280
- }
2727
+ if (iteratees.length) iteratees = arrayMap(iteratees, function(iteratee) {
2728
+ if (isArray(iteratee)) return function(value) {
2729
+ return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);
2730
+ };
2731
+ return iteratee;
2732
+ });
2733
+ else iteratees = [identity];
2734
+ var index = -1;
2735
+ iteratees = arrayMap(iteratees, baseUnary(baseIteratee));
2736
+ return baseSortBy(baseMap(collection, function(value, key, collection) {
2737
+ return {
2738
+ "criteria": arrayMap(iteratees, function(iteratee) {
2739
+ return iteratee(value);
2740
+ }),
2741
+ "index": ++index,
2742
+ "value": value
2743
+ };
2744
+ }), function(object, other) {
2745
+ return compareMultiple(object, other, orders);
2746
+ });
2747
+ }
2748
+ //#endregion
2749
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseReduce.js
2750
+ /**
2751
+ * The base implementation of `_.reduce` and `_.reduceRight`, without support
2752
+ * for iteratee shorthands, which iterates over `collection` using `eachFunc`.
2753
+ *
2754
+ * @private
2755
+ * @param {Array|Object} collection The collection to iterate over.
2756
+ * @param {Function} iteratee The function invoked per iteration.
2757
+ * @param {*} accumulator The initial value.
2758
+ * @param {boolean} initAccum Specify using the first or last element of
2759
+ * `collection` as the initial value.
2760
+ * @param {Function} eachFunc The function to iterate over `collection`.
2761
+ * @returns {*} Returns the accumulated value.
2762
+ */
1281
2763
  function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {
1282
- eachFunc(collection, function(value, index, collection2) {
1283
- accumulator = initAccum ? (initAccum = false, value) : iteratee(accumulator, value, index, collection2);
1284
- });
1285
- return accumulator;
1286
- }
2764
+ eachFunc(collection, function(value, index, collection) {
2765
+ accumulator = initAccum ? (initAccum = false, value) : iteratee(accumulator, value, index, collection);
2766
+ });
2767
+ return accumulator;
2768
+ }
2769
+ //#endregion
2770
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/reduce.js
2771
+ /**
2772
+ * Reduces `collection` to a value which is the accumulated result of running
2773
+ * each element in `collection` thru `iteratee`, where each successive
2774
+ * invocation is supplied the return value of the previous. If `accumulator`
2775
+ * is not given, the first element of `collection` is used as the initial
2776
+ * value. The iteratee is invoked with four arguments:
2777
+ * (accumulator, value, index|key, collection).
2778
+ *
2779
+ * Many lodash methods are guarded to work as iteratees for methods like
2780
+ * `_.reduce`, `_.reduceRight`, and `_.transform`.
2781
+ *
2782
+ * The guarded methods are:
2783
+ * `assign`, `defaults`, `defaultsDeep`, `includes`, `merge`, `orderBy`,
2784
+ * and `sortBy`
2785
+ *
2786
+ * @static
2787
+ * @memberOf _
2788
+ * @since 0.1.0
2789
+ * @category Collection
2790
+ * @param {Array|Object} collection The collection to iterate over.
2791
+ * @param {Function} [iteratee=_.identity] The function invoked per iteration.
2792
+ * @param {*} [accumulator] The initial value.
2793
+ * @returns {*} Returns the accumulated value.
2794
+ * @see _.reduceRight
2795
+ * @example
2796
+ *
2797
+ * _.reduce([1, 2], function(sum, n) {
2798
+ * return sum + n;
2799
+ * }, 0);
2800
+ * // => 3
2801
+ *
2802
+ * _.reduce({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {
2803
+ * (result[value] || (result[value] = [])).push(key);
2804
+ * return result;
2805
+ * }, {});
2806
+ * // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed)
2807
+ */
1287
2808
  function reduce(collection, iteratee, accumulator) {
1288
- var func = isArray(collection) ? arrayReduce : baseReduce, initAccum = arguments.length < 3;
1289
- return func(collection, baseIteratee(iteratee), accumulator, initAccum, baseEach);
1290
- }
2809
+ var func = isArray(collection) ? arrayReduce : baseReduce, initAccum = arguments.length < 3;
2810
+ return func(collection, baseIteratee(iteratee, 4), accumulator, initAccum, baseEach);
2811
+ }
2812
+ //#endregion
2813
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/sortBy.js
2814
+ /**
2815
+ * Creates an array of elements, sorted in ascending order by the results of
2816
+ * running each element in a collection thru each iteratee. This method
2817
+ * performs a stable sort, that is, it preserves the original sort order of
2818
+ * equal elements. The iteratees are invoked with one argument: (value).
2819
+ *
2820
+ * @static
2821
+ * @memberOf _
2822
+ * @since 0.1.0
2823
+ * @category Collection
2824
+ * @param {Array|Object} collection The collection to iterate over.
2825
+ * @param {...(Function|Function[])} [iteratees=[_.identity]]
2826
+ * The iteratees to sort by.
2827
+ * @returns {Array} Returns the new sorted array.
2828
+ * @example
2829
+ *
2830
+ * var users = [
2831
+ * { 'user': 'fred', 'age': 48 },
2832
+ * { 'user': 'barney', 'age': 36 },
2833
+ * { 'user': 'fred', 'age': 30 },
2834
+ * { 'user': 'barney', 'age': 34 }
2835
+ * ];
2836
+ *
2837
+ * _.sortBy(users, [function(o) { return o.user; }]);
2838
+ * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 30]]
2839
+ *
2840
+ * _.sortBy(users, ['user', 'age']);
2841
+ * // => objects for [['barney', 34], ['barney', 36], ['fred', 30], ['fred', 48]]
2842
+ */
1291
2843
  var sortBy = baseRest(function(collection, iteratees) {
1292
- if (collection == null) {
1293
- return [];
1294
- }
1295
- var length = iteratees.length;
1296
- if (length > 1 && isIterateeCall(collection, iteratees[0], iteratees[1])) {
1297
- iteratees = [];
1298
- } else if (length > 2 && isIterateeCall(iteratees[0], iteratees[1], iteratees[2])) {
1299
- iteratees = [iteratees[0]];
1300
- }
1301
- return baseOrderBy(collection, baseFlatten(iteratees), []);
2844
+ if (collection == null) return [];
2845
+ var length = iteratees.length;
2846
+ if (length > 1 && isIterateeCall(collection, iteratees[0], iteratees[1])) iteratees = [];
2847
+ else if (length > 2 && isIterateeCall(iteratees[0], iteratees[1], iteratees[2])) iteratees = [iteratees[0]];
2848
+ return baseOrderBy(collection, baseFlatten(iteratees, 1), []);
1302
2849
  });
1303
- const _hoisted_1 = { class: "tce-accordion-root" };
1304
- const _sfc_main = /* @__PURE__ */ defineComponent({
1305
- __name: "Display",
1306
- props: {
1307
- element: {},
1308
- userState: {}
1309
- },
1310
- emits: ["interaction"],
1311
- setup(__props) {
1312
- const props = __props;
1313
- const accordionItems = computed(
1314
- () => sortBy(props.element.data.items, "position")
1315
- );
1316
- const embeds = computed(() => {
1317
- const { items, embeds: embeds2 } = props.element.data;
1318
- return reduce(
1319
- items,
1320
- (acc, item) => {
1321
- const itemEmbeds = Object.keys(item.body).map((id) => embeds2[id]);
1322
- acc[item.id] = sortBy(itemEmbeds, "position");
1323
- return acc;
1324
- },
1325
- {}
1326
- );
1327
- });
1328
- return (_ctx, _cache) => {
1329
- const _component_VExpansionPanelTitle = resolveComponent("VExpansionPanelTitle");
1330
- const _component_VAlert = resolveComponent("VAlert");
1331
- const _component_TailorEmbeddedContainer = resolveComponent("TailorEmbeddedContainer");
1332
- const _component_VExpansionPanelText = resolveComponent("VExpansionPanelText");
1333
- const _component_VExpansionPanel = resolveComponent("VExpansionPanel");
1334
- const _component_VExpandTransition = resolveComponent("VExpandTransition");
1335
- const _component_VExpansionPanels = resolveComponent("VExpansionPanels");
1336
- return openBlock(), createElementBlock("div", _hoisted_1, [
1337
- createVNode(_component_VExpansionPanels, {
1338
- color: "grey-lighten-5",
1339
- variant: "accordion",
1340
- flat: ""
1341
- }, {
1342
- default: withCtx(() => [
1343
- createVNode(_component_VExpandTransition, { group: "" }, {
1344
- default: withCtx(() => [
1345
- (openBlock(true), createElementBlock(Fragment, null, renderList(accordionItems.value, (item) => {
1346
- return openBlock(), createBlock(_component_VExpansionPanel, {
1347
- key: item.id,
1348
- class: "border"
1349
- }, {
1350
- default: withCtx(() => [
1351
- createVNode(_component_VExpansionPanelTitle, null, {
1352
- default: withCtx(() => [
1353
- createTextVNode(toDisplayString(item.header), 1)
1354
- ]),
1355
- _: 2
1356
- }, 1024),
1357
- createVNode(_component_VExpansionPanelText, null, {
1358
- default: withCtx(() => [
1359
- !embeds.value[item.id].length ? (openBlock(), createBlock(_component_VAlert, {
1360
- key: 0,
1361
- type: "info",
1362
- variant: "tonal"
1363
- }, {
1364
- default: withCtx(() => _cache[0] || (_cache[0] = [
1365
- createTextVNode(" No content elements added to this item. ")
1366
- ])),
1367
- _: 1,
1368
- __: [0]
1369
- })) : (openBlock(), createBlock(_component_TailorEmbeddedContainer, {
1370
- key: 1,
1371
- elements: embeds.value[item.id]
1372
- }, null, 8, ["elements"]))
1373
- ]),
1374
- _: 2
1375
- }, 1024)
1376
- ]),
1377
- _: 2
1378
- }, 1024);
1379
- }), 128))
1380
- ]),
1381
- _: 1
1382
- })
1383
- ]),
1384
- _: 1
1385
- })
1386
- ]);
1387
- };
1388
- }
2850
+ //#endregion
2851
+ //#region src/components/Display.vue?vue&type=script&setup=true&lang.ts
2852
+ var _hoisted_1 = { class: "tce-accordion-root" };
2853
+ var Display_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
2854
+ __name: "Display",
2855
+ props: {
2856
+ element: {},
2857
+ userState: {}
2858
+ },
2859
+ emits: ["interaction"],
2860
+ setup(__props) {
2861
+ const props = __props;
2862
+ const accordionItems = computed(() => sortBy(props.element.data.items, "position"));
2863
+ const embeds = computed(() => {
2864
+ const { items, embeds } = props.element.data;
2865
+ return reduce(items, (acc, item) => {
2866
+ const itemEmbeds = Object.keys(item.body).map((id) => embeds[id]);
2867
+ acc[item.id] = sortBy(itemEmbeds, "position");
2868
+ return acc;
2869
+ }, {});
2870
+ });
2871
+ return (_ctx, _cache) => {
2872
+ const _component_VExpansionPanelTitle = resolveComponent("VExpansionPanelTitle");
2873
+ const _component_VAlert = resolveComponent("VAlert");
2874
+ const _component_TailorEmbeddedContainer = resolveComponent("TailorEmbeddedContainer");
2875
+ const _component_VExpansionPanelText = resolveComponent("VExpansionPanelText");
2876
+ const _component_VExpansionPanel = resolveComponent("VExpansionPanel");
2877
+ const _component_VExpandTransition = resolveComponent("VExpandTransition");
2878
+ const _component_VExpansionPanels = resolveComponent("VExpansionPanels");
2879
+ return openBlock(), createElementBlock("div", _hoisted_1, [createVNode(_component_VExpansionPanels, {
2880
+ flat: "",
2881
+ static: ""
2882
+ }, {
2883
+ default: withCtx(() => [createVNode(_component_VExpandTransition, { group: "" }, {
2884
+ default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(accordionItems.value, (item) => {
2885
+ return openBlock(), createBlock(_component_VExpansionPanel, {
2886
+ key: item.id,
2887
+ class: "border"
2888
+ }, {
2889
+ default: withCtx(() => [createVNode(_component_VExpansionPanelTitle, null, {
2890
+ default: withCtx(() => [createTextVNode(toDisplayString(item.header), 1)]),
2891
+ _: 2
2892
+ }, 1024), createVNode(_component_VExpansionPanelText, null, {
2893
+ default: withCtx(() => [!embeds.value[item.id].length ? (openBlock(), createBlock(_component_VAlert, {
2894
+ key: 0,
2895
+ type: "info",
2896
+ variant: "tonal"
2897
+ }, {
2898
+ default: withCtx(() => [..._cache[0] || (_cache[0] = [createTextVNode(" No content elements added to this item. ", -1)])]),
2899
+ _: 1
2900
+ })) : (openBlock(), createBlock(_component_TailorEmbeddedContainer, {
2901
+ key: 1,
2902
+ elements: embeds.value[item.id]
2903
+ }, null, 8, ["elements"]))]),
2904
+ _: 2
2905
+ }, 1024)]),
2906
+ _: 2
2907
+ }, 1024);
2908
+ }), 128))]),
2909
+ _: 1
2910
+ })]),
2911
+ _: 1
2912
+ })]);
2913
+ };
2914
+ }
1389
2915
  });
1390
- const _export_sfc = (sfc, props) => {
1391
- const target = sfc.__vccOpts || sfc;
1392
- for (const [key, val] of props) {
1393
- target[key] = val;
1394
- }
1395
- return target;
1396
- };
1397
- const Display = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-de9c7b01"]]);
1398
- const manifest = {
1399
- ...index_default,
1400
- Display
2916
+ //#endregion
2917
+ //#region \0plugin-vue:export-helper
2918
+ var _plugin_vue_export_helper_default = (sfc, props) => {
2919
+ const target = sfc.__vccOpts || sfc;
2920
+ for (const [key, val] of props) target[key] = val;
2921
+ return target;
1401
2922
  };
1402
- export {
1403
- Display,
1404
- manifest as default
2923
+ //#endregion
2924
+ //#region src/components/Display.vue
2925
+ var Display_default = /* @__PURE__ */ _plugin_vue_export_helper_default(Display_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-9e023e64"]]);
2926
+ //#endregion
2927
+ //#region src/index.ts
2928
+ var manifest = {
2929
+ ...manifest$1,
2930
+ Display: Display_default
1405
2931
  };
2932
+ //#endregion
2933
+ export { Display_default as Display, manifest as default };