@tailor-cms/ce-modal-edit 0.1.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1,68 +1,74 @@
1
- "use strict";
2
- var import_index = require("./index.css");
3
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
4
- const vue = require("vue");
5
- const byteToHex = [];
6
- for (let i = 0; i < 256; ++i) {
7
- byteToHex.push((i + 256).toString(16).slice(1));
8
- }
1
+ Object.defineProperties(exports, {
2
+ __esModule: { value: true },
3
+ [Symbol.toStringTag]: { value: "Module" }
4
+ });
5
+ require('./index.css');let vue = require("vue");
6
+ //#region ../../node_modules/.pnpm/uuid@14.0.0/node_modules/uuid/dist/stringify.js
7
+ var byteToHex = [];
8
+ for (let i = 0; i < 256; ++i) byteToHex.push((i + 256).toString(16).slice(1));
9
9
  function unsafeStringify(arr, offset = 0) {
10
- 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();
10
+ 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();
11
11
  }
12
- let getRandomValues;
13
- const rnds8 = new Uint8Array(16);
12
+ //#endregion
13
+ //#region ../../node_modules/.pnpm/uuid@14.0.0/node_modules/uuid/dist/rng.js
14
+ var rnds8 = new Uint8Array(16);
14
15
  function rng() {
15
- if (!getRandomValues) {
16
- if (typeof crypto === "undefined" || !crypto.getRandomValues) {
17
- throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
18
- }
19
- getRandomValues = crypto.getRandomValues.bind(crypto);
20
- }
21
- return getRandomValues(rnds8);
16
+ return crypto.getRandomValues(rnds8);
22
17
  }
23
- const randomUUID = typeof crypto !== "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
24
- const native = { randomUUID };
18
+ //#endregion
19
+ //#region ../../node_modules/.pnpm/uuid@14.0.0/node_modules/uuid/dist/v4.js
25
20
  function v4(options, buf, offset) {
26
- if (native.randomUUID && true && !options) {
27
- return native.randomUUID();
28
- }
29
- options = options || {};
30
- const rnds = options.random ?? options.rng?.() ?? rng();
31
- if (rnds.length < 16) {
32
- throw new Error("Random bytes length must be >= 16");
33
- }
34
- rnds[6] = rnds[6] & 15 | 64;
35
- rnds[8] = rnds[8] & 63 | 128;
36
- return unsafeStringify(rnds);
37
- }
21
+ if (!buf && !options && crypto.randomUUID) return crypto.randomUUID();
22
+ return _v4(options, buf, offset);
23
+ }
24
+ function _v4(options, buf, offset) {
25
+ options = options || {};
26
+ const rnds = options.random ?? options.rng?.() ?? rng();
27
+ if (rnds.length < 16) throw new Error("Random bytes length must be >= 16");
28
+ rnds[6] = rnds[6] & 15 | 64;
29
+ rnds[8] = rnds[8] & 63 | 128;
30
+ if (buf) {
31
+ offset = offset || 0;
32
+ if (offset < 0 || offset + 16 > buf.length) throw new RangeError(`UUID byte range ${offset}:${offset + 15} is out of buffer bounds`);
33
+ for (let i = 0; i < 16; ++i) buf[offset + i] = rnds[i];
34
+ return buf;
35
+ }
36
+ return unsafeStringify(rnds);
37
+ }
38
+ //#endregion
39
+ //#region ../manifest/dist/index.mjs
38
40
  var type = "MODAL";
39
41
  var name = "Modal";
40
42
  var initState = () => ({
41
- title: null,
42
- embeds: {}
43
+ title: null,
44
+ embeds: {}
43
45
  });
44
- var ui = {
45
- // Display icon, https://pictogrammers.com/library/mdi/
46
- icon: "mdi-window-restore",
47
- // Does element support only full width or can be used within layouts
48
- // (e.g. 50/50 layout)
49
- forceFullWidth: false
50
- };
51
- var ai = {
52
- Schema: {
53
- type: "json_schema",
54
- name: "ce_modal",
55
- schema: {
56
- type: "object",
57
- properties: {
58
- title: { type: "string" },
59
- content: { type: "string" }
60
- },
61
- required: ["title", "content"],
62
- additionalProperties: false
63
- }
64
- },
65
- getPrompt: () => `
46
+ var manifest$1 = {
47
+ type,
48
+ version: "1.0",
49
+ name,
50
+ ssr: false,
51
+ isComposite: true,
52
+ initState,
53
+ ui: {
54
+ icon: "mdi-window-restore",
55
+ forceFullWidth: false
56
+ },
57
+ ai: {
58
+ Schema: {
59
+ type: "json_schema",
60
+ name: "ce_modal",
61
+ schema: {
62
+ type: "object",
63
+ properties: {
64
+ title: { type: "string" },
65
+ content: { type: "string" }
66
+ },
67
+ required: ["title", "content"],
68
+ additionalProperties: false
69
+ }
70
+ },
71
+ getPrompt: () => `
66
72
  Generate a modal content element as an object with the following
67
73
  properties:
68
74
  {
@@ -74,1012 +80,2371 @@ var ai = {
74
80
  - 'content' is the text to be displayed in the modal. Create few
75
81
  paragraphs about the topic.
76
82
  `,
77
- processResponse: (val) => {
78
- const embedId = v4();
79
- const embed = {
80
- id: embedId,
81
- data: { content: val.content },
82
- embedded: true,
83
- position: 1,
84
- type: "TIPTAP_HTML"
85
- };
86
- return {
87
- title: val.title,
88
- embeds: { [embedId]: embed }
89
- };
90
- }
91
- };
92
- var manifest$1 = {
93
- type,
94
- version: "1.0",
95
- name,
96
- ssr: false,
97
- isComposite: true,
98
- initState,
99
- ui,
100
- ai
83
+ processResponse: (val) => {
84
+ const embedId = v4();
85
+ const embed = {
86
+ id: embedId,
87
+ data: { content: val.content },
88
+ embedded: true,
89
+ position: 1,
90
+ type: "TIPTAP_HTML"
91
+ };
92
+ return {
93
+ title: val.title,
94
+ embeds: { [embedId]: embed }
95
+ };
96
+ }
97
+ }
101
98
  };
102
- var index_default = manifest$1;
99
+ //#endregion
100
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js
101
+ /** Detect free variable `global` from Node.js. */
103
102
  var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
103
+ //#endregion
104
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_root.js
105
+ /** Detect free variable `self`. */
104
106
  var freeSelf = typeof self == "object" && self && self.Object === Object && self;
107
+ /** Used as a reference to the global object. */
105
108
  var root = freeGlobal || freeSelf || Function("return this")();
106
- var Symbol$1 = root.Symbol;
107
- var objectProto$c = Object.prototype;
108
- var hasOwnProperty$9 = objectProto$c.hasOwnProperty;
109
- var nativeObjectToString$1 = objectProto$c.toString;
110
- var symToStringTag$1 = Symbol$1 ? Symbol$1.toStringTag : void 0;
109
+ //#endregion
110
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js
111
+ /** Built-in value references. */
112
+ var Symbol = root.Symbol;
113
+ //#endregion
114
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js
115
+ /** Used for built-in method references. */
116
+ var objectProto$3 = Object.prototype;
117
+ /** Used to check objects for own properties. */
118
+ var hasOwnProperty$10 = objectProto$3.hasOwnProperty;
119
+ /**
120
+ * Used to resolve the
121
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
122
+ * of values.
123
+ */
124
+ var nativeObjectToString$1 = objectProto$3.toString;
125
+ /** Built-in value references. */
126
+ var symToStringTag$1 = Symbol ? Symbol.toStringTag : void 0;
127
+ /**
128
+ * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
129
+ *
130
+ * @private
131
+ * @param {*} value The value to query.
132
+ * @returns {string} Returns the raw `toStringTag`.
133
+ */
111
134
  function getRawTag(value) {
112
- var isOwn = hasOwnProperty$9.call(value, symToStringTag$1), tag = value[symToStringTag$1];
113
- try {
114
- value[symToStringTag$1] = void 0;
115
- var unmasked = true;
116
- } catch (e) {
117
- }
118
- var result = nativeObjectToString$1.call(value);
119
- if (unmasked) {
120
- if (isOwn) {
121
- value[symToStringTag$1] = tag;
122
- } else {
123
- delete value[symToStringTag$1];
124
- }
125
- }
126
- return result;
127
- }
128
- var objectProto$b = Object.prototype;
129
- var nativeObjectToString = objectProto$b.toString;
135
+ var isOwn = hasOwnProperty$10.call(value, symToStringTag$1), tag = value[symToStringTag$1];
136
+ try {
137
+ value[symToStringTag$1] = void 0;
138
+ var unmasked = true;
139
+ } catch (e) {}
140
+ var result = nativeObjectToString$1.call(value);
141
+ if (unmasked) if (isOwn) value[symToStringTag$1] = tag;
142
+ else delete value[symToStringTag$1];
143
+ return result;
144
+ }
145
+ //#endregion
146
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js
147
+ /**
148
+ * Used to resolve the
149
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
150
+ * of values.
151
+ */
152
+ var nativeObjectToString = Object.prototype.toString;
153
+ /**
154
+ * Converts `value` to a string using `Object.prototype.toString`.
155
+ *
156
+ * @private
157
+ * @param {*} value The value to convert.
158
+ * @returns {string} Returns the converted string.
159
+ */
130
160
  function objectToString(value) {
131
- return nativeObjectToString.call(value);
161
+ return nativeObjectToString.call(value);
132
162
  }
163
+ //#endregion
164
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js
165
+ /** `Object#toString` result references. */
133
166
  var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
134
- var symToStringTag = Symbol$1 ? Symbol$1.toStringTag : void 0;
167
+ /** Built-in value references. */
168
+ var symToStringTag = Symbol ? Symbol.toStringTag : void 0;
169
+ /**
170
+ * The base implementation of `getTag` without fallbacks for buggy environments.
171
+ *
172
+ * @private
173
+ * @param {*} value The value to query.
174
+ * @returns {string} Returns the `toStringTag`.
175
+ */
135
176
  function baseGetTag(value) {
136
- if (value == null) {
137
- return value === void 0 ? undefinedTag : nullTag;
138
- }
139
- return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
140
- }
177
+ if (value == null) return value === void 0 ? undefinedTag : nullTag;
178
+ return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
179
+ }
180
+ //#endregion
181
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js
182
+ /**
183
+ * Checks if `value` is object-like. A value is object-like if it's not `null`
184
+ * and has a `typeof` result of "object".
185
+ *
186
+ * @static
187
+ * @memberOf _
188
+ * @since 4.0.0
189
+ * @category Lang
190
+ * @param {*} value The value to check.
191
+ * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
192
+ * @example
193
+ *
194
+ * _.isObjectLike({});
195
+ * // => true
196
+ *
197
+ * _.isObjectLike([1, 2, 3]);
198
+ * // => true
199
+ *
200
+ * _.isObjectLike(_.noop);
201
+ * // => false
202
+ *
203
+ * _.isObjectLike(null);
204
+ * // => false
205
+ */
141
206
  function isObjectLike(value) {
142
- return value != null && typeof value == "object";
207
+ return value != null && typeof value == "object";
143
208
  }
209
+ //#endregion
210
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js
211
+ /** `Object#toString` result references. */
144
212
  var symbolTag$2 = "[object Symbol]";
213
+ /**
214
+ * Checks if `value` is classified as a `Symbol` primitive or object.
215
+ *
216
+ * @static
217
+ * @memberOf _
218
+ * @since 4.0.0
219
+ * @category Lang
220
+ * @param {*} value The value to check.
221
+ * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
222
+ * @example
223
+ *
224
+ * _.isSymbol(Symbol.iterator);
225
+ * // => true
226
+ *
227
+ * _.isSymbol('abc');
228
+ * // => false
229
+ */
145
230
  function isSymbol(value) {
146
- return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag$2;
147
- }
231
+ return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag$2;
232
+ }
233
+ //#endregion
234
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArray.js
235
+ /**
236
+ * Checks if `value` is classified as an `Array` object.
237
+ *
238
+ * @static
239
+ * @memberOf _
240
+ * @since 0.1.0
241
+ * @category Lang
242
+ * @param {*} value The value to check.
243
+ * @returns {boolean} Returns `true` if `value` is an array, else `false`.
244
+ * @example
245
+ *
246
+ * _.isArray([1, 2, 3]);
247
+ * // => true
248
+ *
249
+ * _.isArray(document.body.children);
250
+ * // => false
251
+ *
252
+ * _.isArray('abc');
253
+ * // => false
254
+ *
255
+ * _.isArray(_.noop);
256
+ * // => false
257
+ */
148
258
  var isArray = Array.isArray;
259
+ //#endregion
260
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_trimmedEndIndex.js
261
+ /** Used to match a single whitespace character. */
149
262
  var reWhitespace = /\s/;
263
+ /**
264
+ * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace
265
+ * character of `string`.
266
+ *
267
+ * @private
268
+ * @param {string} string The string to inspect.
269
+ * @returns {number} Returns the index of the last non-whitespace character.
270
+ */
150
271
  function trimmedEndIndex(string) {
151
- var index = string.length;
152
- while (index-- && reWhitespace.test(string.charAt(index))) {
153
- }
154
- return index;
272
+ var index = string.length;
273
+ while (index-- && reWhitespace.test(string.charAt(index)));
274
+ return index;
155
275
  }
276
+ //#endregion
277
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseTrim.js
278
+ /** Used to match leading whitespace. */
156
279
  var reTrimStart = /^\s+/;
280
+ /**
281
+ * The base implementation of `_.trim`.
282
+ *
283
+ * @private
284
+ * @param {string} string The string to trim.
285
+ * @returns {string} Returns the trimmed string.
286
+ */
157
287
  function baseTrim(string) {
158
- return string ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, "") : string;
159
- }
288
+ return string ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, "") : string;
289
+ }
290
+ //#endregion
291
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObject.js
292
+ /**
293
+ * Checks if `value` is the
294
+ * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
295
+ * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
296
+ *
297
+ * @static
298
+ * @memberOf _
299
+ * @since 0.1.0
300
+ * @category Lang
301
+ * @param {*} value The value to check.
302
+ * @returns {boolean} Returns `true` if `value` is an object, else `false`.
303
+ * @example
304
+ *
305
+ * _.isObject({});
306
+ * // => true
307
+ *
308
+ * _.isObject([1, 2, 3]);
309
+ * // => true
310
+ *
311
+ * _.isObject(_.noop);
312
+ * // => true
313
+ *
314
+ * _.isObject(null);
315
+ * // => false
316
+ */
160
317
  function isObject(value) {
161
- var type2 = typeof value;
162
- return value != null && (type2 == "object" || type2 == "function");
163
- }
164
- var NAN = 0 / 0;
318
+ var type = typeof value;
319
+ return value != null && (type == "object" || type == "function");
320
+ }
321
+ //#endregion
322
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toNumber.js
323
+ /** Used as references for various `Number` constants. */
324
+ var NAN = NaN;
325
+ /** Used to detect bad signed hexadecimal string values. */
165
326
  var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
327
+ /** Used to detect binary string values. */
166
328
  var reIsBinary = /^0b[01]+$/i;
329
+ /** Used to detect octal string values. */
167
330
  var reIsOctal = /^0o[0-7]+$/i;
331
+ /** Built-in method references without a dependency on `root`. */
168
332
  var freeParseInt = parseInt;
333
+ /**
334
+ * Converts `value` to a number.
335
+ *
336
+ * @static
337
+ * @memberOf _
338
+ * @since 4.0.0
339
+ * @category Lang
340
+ * @param {*} value The value to process.
341
+ * @returns {number} Returns the number.
342
+ * @example
343
+ *
344
+ * _.toNumber(3.2);
345
+ * // => 3.2
346
+ *
347
+ * _.toNumber(Number.MIN_VALUE);
348
+ * // => 5e-324
349
+ *
350
+ * _.toNumber(Infinity);
351
+ * // => Infinity
352
+ *
353
+ * _.toNumber('3.2');
354
+ * // => 3.2
355
+ */
169
356
  function toNumber(value) {
170
- if (typeof value == "number") {
171
- return value;
172
- }
173
- if (isSymbol(value)) {
174
- return NAN;
175
- }
176
- if (isObject(value)) {
177
- var other = typeof value.valueOf == "function" ? value.valueOf() : value;
178
- value = isObject(other) ? other + "" : other;
179
- }
180
- if (typeof value != "string") {
181
- return value === 0 ? value : +value;
182
- }
183
- value = baseTrim(value);
184
- var isBinary = reIsBinary.test(value);
185
- return isBinary || reIsOctal.test(value) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) : reIsBadHex.test(value) ? NAN : +value;
186
- }
357
+ if (typeof value == "number") return value;
358
+ if (isSymbol(value)) return NAN;
359
+ if (isObject(value)) {
360
+ var other = typeof value.valueOf == "function" ? value.valueOf() : value;
361
+ value = isObject(other) ? other + "" : other;
362
+ }
363
+ if (typeof value != "string") return value === 0 ? value : +value;
364
+ value = baseTrim(value);
365
+ var isBinary = reIsBinary.test(value);
366
+ return isBinary || reIsOctal.test(value) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) : reIsBadHex.test(value) ? NAN : +value;
367
+ }
368
+ //#endregion
369
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js
370
+ /** `Object#toString` result references. */
187
371
  var asyncTag = "[object AsyncFunction]", funcTag$2 = "[object Function]", genTag$1 = "[object GeneratorFunction]", proxyTag = "[object Proxy]";
372
+ /**
373
+ * Checks if `value` is classified as a `Function` object.
374
+ *
375
+ * @static
376
+ * @memberOf _
377
+ * @since 0.1.0
378
+ * @category Lang
379
+ * @param {*} value The value to check.
380
+ * @returns {boolean} Returns `true` if `value` is a function, else `false`.
381
+ * @example
382
+ *
383
+ * _.isFunction(_);
384
+ * // => true
385
+ *
386
+ * _.isFunction(/abc/);
387
+ * // => false
388
+ */
188
389
  function isFunction(value) {
189
- if (!isObject(value)) {
190
- return false;
191
- }
192
- var tag = baseGetTag(value);
193
- return tag == funcTag$2 || tag == genTag$1 || tag == asyncTag || tag == proxyTag;
390
+ if (!isObject(value)) return false;
391
+ var tag = baseGetTag(value);
392
+ return tag == funcTag$2 || tag == genTag$1 || tag == asyncTag || tag == proxyTag;
194
393
  }
394
+ //#endregion
395
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js
396
+ /** Used to detect overreaching core-js shims. */
195
397
  var coreJsData = root["__core-js_shared__"];
398
+ //#endregion
399
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js
400
+ /** Used to detect methods masquerading as native. */
196
401
  var maskSrcKey = function() {
197
- var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
198
- return uid ? "Symbol(src)_1." + uid : "";
402
+ var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
403
+ return uid ? "Symbol(src)_1." + uid : "";
199
404
  }();
405
+ /**
406
+ * Checks if `func` has its source masked.
407
+ *
408
+ * @private
409
+ * @param {Function} func The function to check.
410
+ * @returns {boolean} Returns `true` if `func` is masked, else `false`.
411
+ */
200
412
  function isMasked(func) {
201
- return !!maskSrcKey && maskSrcKey in func;
202
- }
203
- var funcProto$1 = Function.prototype;
204
- var funcToString$1 = funcProto$1.toString;
413
+ return !!maskSrcKey && maskSrcKey in func;
414
+ }
415
+ //#endregion
416
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js
417
+ /** Used to resolve the decompiled source of functions. */
418
+ var funcToString$1 = Function.prototype.toString;
419
+ /**
420
+ * Converts `func` to its source code.
421
+ *
422
+ * @private
423
+ * @param {Function} func The function to convert.
424
+ * @returns {string} Returns the source code.
425
+ */
205
426
  function toSource(func) {
206
- if (func != null) {
207
- try {
208
- return funcToString$1.call(func);
209
- } catch (e) {
210
- }
211
- try {
212
- return func + "";
213
- } catch (e) {
214
- }
215
- }
216
- return "";
217
- }
427
+ if (func != null) {
428
+ try {
429
+ return funcToString$1.call(func);
430
+ } catch (e) {}
431
+ try {
432
+ return func + "";
433
+ } catch (e) {}
434
+ }
435
+ return "";
436
+ }
437
+ //#endregion
438
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js
439
+ /**
440
+ * Used to match `RegExp`
441
+ * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
442
+ */
218
443
  var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
444
+ /** Used to detect host constructors (Safari). */
219
445
  var reIsHostCtor = /^\[object .+?Constructor\]$/;
220
- var funcProto = Function.prototype, objectProto$a = Object.prototype;
446
+ /** Used for built-in method references. */
447
+ var funcProto = Function.prototype, objectProto$2 = Object.prototype;
448
+ /** Used to resolve the decompiled source of functions. */
221
449
  var funcToString = funcProto.toString;
222
- var hasOwnProperty$8 = objectProto$a.hasOwnProperty;
223
- var reIsNative = RegExp(
224
- "^" + funcToString.call(hasOwnProperty$8).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
225
- );
450
+ /** Used to check objects for own properties. */
451
+ var hasOwnProperty$9 = objectProto$2.hasOwnProperty;
452
+ /** Used to detect if a method is native. */
453
+ var reIsNative = RegExp("^" + funcToString.call(hasOwnProperty$9).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
454
+ /**
455
+ * The base implementation of `_.isNative` without bad shim checks.
456
+ *
457
+ * @private
458
+ * @param {*} value The value to check.
459
+ * @returns {boolean} Returns `true` if `value` is a native function,
460
+ * else `false`.
461
+ */
226
462
  function baseIsNative(value) {
227
- if (!isObject(value) || isMasked(value)) {
228
- return false;
229
- }
230
- var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
231
- return pattern.test(toSource(value));
232
- }
463
+ if (!isObject(value) || isMasked(value)) return false;
464
+ return (isFunction(value) ? reIsNative : reIsHostCtor).test(toSource(value));
465
+ }
466
+ //#endregion
467
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js
468
+ /**
469
+ * Gets the value at `key` of `object`.
470
+ *
471
+ * @private
472
+ * @param {Object} [object] The object to query.
473
+ * @param {string} key The key of the property to get.
474
+ * @returns {*} Returns the property value.
475
+ */
233
476
  function getValue(object, key) {
234
- return object == null ? void 0 : object[key];
235
- }
477
+ return object == null ? void 0 : object[key];
478
+ }
479
+ //#endregion
480
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js
481
+ /**
482
+ * Gets the native function at `key` of `object`.
483
+ *
484
+ * @private
485
+ * @param {Object} object The object to query.
486
+ * @param {string} key The key of the method to get.
487
+ * @returns {*} Returns the function if it's native, else `undefined`.
488
+ */
236
489
  function getNative(object, key) {
237
- var value = getValue(object, key);
238
- return baseIsNative(value) ? value : void 0;
490
+ var value = getValue(object, key);
491
+ return baseIsNative(value) ? value : void 0;
239
492
  }
493
+ //#endregion
494
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js
240
495
  var WeakMap = getNative(root, "WeakMap");
496
+ //#endregion
497
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js
498
+ /** Built-in value references. */
241
499
  var objectCreate = Object.create;
242
- var baseCreate = /* @__PURE__ */ function() {
243
- function object() {
244
- }
245
- return function(proto) {
246
- if (!isObject(proto)) {
247
- return {};
248
- }
249
- if (objectCreate) {
250
- return objectCreate(proto);
251
- }
252
- object.prototype = proto;
253
- var result = new object();
254
- object.prototype = void 0;
255
- return result;
256
- };
500
+ /**
501
+ * The base implementation of `_.create` without support for assigning
502
+ * properties to the created object.
503
+ *
504
+ * @private
505
+ * @param {Object} proto The object to inherit from.
506
+ * @returns {Object} Returns the new object.
507
+ */
508
+ var baseCreate = function() {
509
+ function object() {}
510
+ return function(proto) {
511
+ if (!isObject(proto)) return {};
512
+ if (objectCreate) return objectCreate(proto);
513
+ object.prototype = proto;
514
+ var result = new object();
515
+ object.prototype = void 0;
516
+ return result;
517
+ };
257
518
  }();
519
+ //#endregion
520
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js
521
+ /**
522
+ * Copies the values of `source` to `array`.
523
+ *
524
+ * @private
525
+ * @param {Array} source The array to copy values from.
526
+ * @param {Array} [array=[]] The array to copy values to.
527
+ * @returns {Array} Returns `array`.
528
+ */
529
+ function copyArray(source, array) {
530
+ var index = -1, length = source.length;
531
+ array || (array = Array(length));
532
+ while (++index < length) array[index] = source[index];
533
+ return array;
534
+ }
535
+ //#endregion
536
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js
258
537
  var defineProperty = function() {
259
- try {
260
- var func = getNative(Object, "defineProperty");
261
- func({}, "", {});
262
- return func;
263
- } catch (e) {
264
- }
538
+ try {
539
+ var func = getNative(Object, "defineProperty");
540
+ func({}, "", {});
541
+ return func;
542
+ } catch (e) {}
265
543
  }();
544
+ //#endregion
545
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js
546
+ /**
547
+ * A specialized version of `_.forEach` for arrays without support for
548
+ * iteratee shorthands.
549
+ *
550
+ * @private
551
+ * @param {Array} [array] The array to iterate over.
552
+ * @param {Function} iteratee The function invoked per iteration.
553
+ * @returns {Array} Returns `array`.
554
+ */
266
555
  function arrayEach(array, iteratee) {
267
- var index = -1, length = array == null ? 0 : array.length;
268
- while (++index < length) {
269
- if (iteratee(array[index], index, array) === false) {
270
- break;
271
- }
272
- }
273
- return array;
556
+ var index = -1, length = array == null ? 0 : array.length;
557
+ while (++index < length) if (iteratee(array[index], index, array) === false) break;
558
+ return array;
274
559
  }
560
+ //#endregion
561
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js
562
+ /** Used as references for various `Number` constants. */
275
563
  var MAX_SAFE_INTEGER$1 = 9007199254740991;
564
+ /** Used to detect unsigned integer values. */
276
565
  var reIsUint = /^(?:0|[1-9]\d*)$/;
566
+ /**
567
+ * Checks if `value` is a valid array-like index.
568
+ *
569
+ * @private
570
+ * @param {*} value The value to check.
571
+ * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
572
+ * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
573
+ */
277
574
  function isIndex(value, length) {
278
- var type2 = typeof value;
279
- length = length == null ? MAX_SAFE_INTEGER$1 : length;
280
- return !!length && (type2 == "number" || type2 != "symbol" && reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length);
281
- }
575
+ var type = typeof value;
576
+ length = length == null ? MAX_SAFE_INTEGER$1 : length;
577
+ return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && value > -1 && value % 1 == 0 && value < length;
578
+ }
579
+ //#endregion
580
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js
581
+ /**
582
+ * The base implementation of `assignValue` and `assignMergeValue` without
583
+ * value checks.
584
+ *
585
+ * @private
586
+ * @param {Object} object The object to modify.
587
+ * @param {string} key The key of the property to assign.
588
+ * @param {*} value The value to assign.
589
+ */
282
590
  function baseAssignValue(object, key, value) {
283
- if (key == "__proto__" && defineProperty) {
284
- defineProperty(object, key, {
285
- "configurable": true,
286
- "enumerable": true,
287
- "value": value,
288
- "writable": true
289
- });
290
- } else {
291
- object[key] = value;
292
- }
293
- }
591
+ if (key == "__proto__" && defineProperty) defineProperty(object, key, {
592
+ "configurable": true,
593
+ "enumerable": true,
594
+ "value": value,
595
+ "writable": true
596
+ });
597
+ else object[key] = value;
598
+ }
599
+ //#endregion
600
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/eq.js
601
+ /**
602
+ * Performs a
603
+ * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
604
+ * comparison between two values to determine if they are equivalent.
605
+ *
606
+ * @static
607
+ * @memberOf _
608
+ * @since 4.0.0
609
+ * @category Lang
610
+ * @param {*} value The value to compare.
611
+ * @param {*} other The other value to compare.
612
+ * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
613
+ * @example
614
+ *
615
+ * var object = { 'a': 1 };
616
+ * var other = { 'a': 1 };
617
+ *
618
+ * _.eq(object, object);
619
+ * // => true
620
+ *
621
+ * _.eq(object, other);
622
+ * // => false
623
+ *
624
+ * _.eq('a', 'a');
625
+ * // => true
626
+ *
627
+ * _.eq('a', Object('a'));
628
+ * // => false
629
+ *
630
+ * _.eq(NaN, NaN);
631
+ * // => true
632
+ */
294
633
  function eq(value, other) {
295
- return value === other || value !== value && other !== other;
296
- }
297
- var objectProto$9 = Object.prototype;
298
- var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
634
+ return value === other || value !== value && other !== other;
635
+ }
636
+ //#endregion
637
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js
638
+ /** Used to check objects for own properties. */
639
+ var hasOwnProperty$8 = Object.prototype.hasOwnProperty;
640
+ /**
641
+ * Assigns `value` to `key` of `object` if the existing value is not equivalent
642
+ * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
643
+ * for equality comparisons.
644
+ *
645
+ * @private
646
+ * @param {Object} object The object to modify.
647
+ * @param {string} key The key of the property to assign.
648
+ * @param {*} value The value to assign.
649
+ */
299
650
  function assignValue(object, key, value) {
300
- var objValue = object[key];
301
- if (!(hasOwnProperty$7.call(object, key) && eq(objValue, value)) || value === void 0 && !(key in object)) {
302
- baseAssignValue(object, key, value);
303
- }
304
- }
651
+ var objValue = object[key];
652
+ if (!(hasOwnProperty$8.call(object, key) && eq(objValue, value)) || value === void 0 && !(key in object)) baseAssignValue(object, key, value);
653
+ }
654
+ //#endregion
655
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js
656
+ /**
657
+ * Copies properties of `source` to `object`.
658
+ *
659
+ * @private
660
+ * @param {Object} source The object to copy properties from.
661
+ * @param {Array} props The property identifiers to copy.
662
+ * @param {Object} [object={}] The object to copy properties to.
663
+ * @param {Function} [customizer] The function to customize copied values.
664
+ * @returns {Object} Returns `object`.
665
+ */
666
+ function copyObject(source, props, object, customizer) {
667
+ var isNew = !object;
668
+ object || (object = {});
669
+ var index = -1, length = props.length;
670
+ while (++index < length) {
671
+ var key = props[index];
672
+ var newValue = customizer ? customizer(object[key], source[key], key, object, source) : void 0;
673
+ if (newValue === void 0) newValue = source[key];
674
+ if (isNew) baseAssignValue(object, key, newValue);
675
+ else assignValue(object, key, newValue);
676
+ }
677
+ return object;
678
+ }
679
+ //#endregion
680
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isLength.js
681
+ /** Used as references for various `Number` constants. */
305
682
  var MAX_SAFE_INTEGER = 9007199254740991;
683
+ /**
684
+ * Checks if `value` is a valid array-like length.
685
+ *
686
+ * **Note:** This method is loosely based on
687
+ * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
688
+ *
689
+ * @static
690
+ * @memberOf _
691
+ * @since 4.0.0
692
+ * @category Lang
693
+ * @param {*} value The value to check.
694
+ * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
695
+ * @example
696
+ *
697
+ * _.isLength(3);
698
+ * // => true
699
+ *
700
+ * _.isLength(Number.MIN_VALUE);
701
+ * // => false
702
+ *
703
+ * _.isLength(Infinity);
704
+ * // => false
705
+ *
706
+ * _.isLength('3');
707
+ * // => false
708
+ */
306
709
  function isLength(value) {
307
- return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
308
- }
710
+ return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
711
+ }
712
+ //#endregion
713
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js
714
+ /**
715
+ * Checks if `value` is array-like. A value is considered array-like if it's
716
+ * not a function and has a `value.length` that's an integer greater than or
717
+ * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
718
+ *
719
+ * @static
720
+ * @memberOf _
721
+ * @since 4.0.0
722
+ * @category Lang
723
+ * @param {*} value The value to check.
724
+ * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
725
+ * @example
726
+ *
727
+ * _.isArrayLike([1, 2, 3]);
728
+ * // => true
729
+ *
730
+ * _.isArrayLike(document.body.children);
731
+ * // => true
732
+ *
733
+ * _.isArrayLike('abc');
734
+ * // => true
735
+ *
736
+ * _.isArrayLike(_.noop);
737
+ * // => false
738
+ */
309
739
  function isArrayLike(value) {
310
- return value != null && isLength(value.length) && !isFunction(value);
740
+ return value != null && isLength(value.length) && !isFunction(value);
311
741
  }
312
- var objectProto$8 = Object.prototype;
742
+ //#endregion
743
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js
744
+ /** Used for built-in method references. */
745
+ var objectProto$1 = Object.prototype;
746
+ /**
747
+ * Checks if `value` is likely a prototype object.
748
+ *
749
+ * @private
750
+ * @param {*} value The value to check.
751
+ * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
752
+ */
313
753
  function isPrototype(value) {
314
- var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto$8;
315
- return value === proto;
316
- }
754
+ var Ctor = value && value.constructor;
755
+ return value === (typeof Ctor == "function" && Ctor.prototype || objectProto$1);
756
+ }
757
+ //#endregion
758
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js
759
+ /**
760
+ * The base implementation of `_.times` without support for iteratee shorthands
761
+ * or max array length checks.
762
+ *
763
+ * @private
764
+ * @param {number} n The number of times to invoke `iteratee`.
765
+ * @param {Function} iteratee The function invoked per iteration.
766
+ * @returns {Array} Returns the array of results.
767
+ */
317
768
  function baseTimes(n, iteratee) {
318
- var index = -1, result = Array(n);
319
- while (++index < n) {
320
- result[index] = iteratee(index);
321
- }
322
- return result;
769
+ var index = -1, result = Array(n);
770
+ while (++index < n) result[index] = iteratee(index);
771
+ return result;
323
772
  }
773
+ //#endregion
774
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js
775
+ /** `Object#toString` result references. */
324
776
  var argsTag$2 = "[object Arguments]";
777
+ /**
778
+ * The base implementation of `_.isArguments`.
779
+ *
780
+ * @private
781
+ * @param {*} value The value to check.
782
+ * @returns {boolean} Returns `true` if `value` is an `arguments` object,
783
+ */
325
784
  function baseIsArguments(value) {
326
- return isObjectLike(value) && baseGetTag(value) == argsTag$2;
785
+ return isObjectLike(value) && baseGetTag(value) == argsTag$2;
327
786
  }
328
- var objectProto$7 = Object.prototype;
329
- var hasOwnProperty$6 = objectProto$7.hasOwnProperty;
330
- var propertyIsEnumerable$1 = objectProto$7.propertyIsEnumerable;
331
- var isArguments = baseIsArguments(/* @__PURE__ */ function() {
332
- return arguments;
787
+ //#endregion
788
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js
789
+ /** Used for built-in method references. */
790
+ var objectProto = Object.prototype;
791
+ /** Used to check objects for own properties. */
792
+ var hasOwnProperty$7 = objectProto.hasOwnProperty;
793
+ /** Built-in value references. */
794
+ var propertyIsEnumerable$1 = objectProto.propertyIsEnumerable;
795
+ /**
796
+ * Checks if `value` is likely an `arguments` object.
797
+ *
798
+ * @static
799
+ * @memberOf _
800
+ * @since 0.1.0
801
+ * @category Lang
802
+ * @param {*} value The value to check.
803
+ * @returns {boolean} Returns `true` if `value` is an `arguments` object,
804
+ * else `false`.
805
+ * @example
806
+ *
807
+ * _.isArguments(function() { return arguments; }());
808
+ * // => true
809
+ *
810
+ * _.isArguments([1, 2, 3]);
811
+ * // => false
812
+ */
813
+ var isArguments = baseIsArguments(function() {
814
+ return arguments;
333
815
  }()) ? baseIsArguments : function(value) {
334
- return isObjectLike(value) && hasOwnProperty$6.call(value, "callee") && !propertyIsEnumerable$1.call(value, "callee");
816
+ return isObjectLike(value) && hasOwnProperty$7.call(value, "callee") && !propertyIsEnumerable$1.call(value, "callee");
335
817
  };
818
+ //#endregion
819
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js
820
+ /**
821
+ * This method returns `false`.
822
+ *
823
+ * @static
824
+ * @memberOf _
825
+ * @since 4.13.0
826
+ * @category Util
827
+ * @returns {boolean} Returns `false`.
828
+ * @example
829
+ *
830
+ * _.times(2, _.stubFalse);
831
+ * // => [false, false]
832
+ */
336
833
  function stubFalse() {
337
- return false;
834
+ return false;
338
835
  }
836
+ //#endregion
837
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js
838
+ /** Detect free variable `exports`. */
339
839
  var freeExports$2 = typeof exports == "object" && exports && !exports.nodeType && exports;
840
+ /** Detect free variable `module`. */
340
841
  var freeModule$2 = freeExports$2 && typeof module == "object" && module && !module.nodeType && module;
341
- var moduleExports$2 = freeModule$2 && freeModule$2.exports === freeExports$2;
342
- var Buffer$1 = moduleExports$2 ? root.Buffer : void 0;
343
- var nativeIsBuffer = Buffer$1 ? Buffer$1.isBuffer : void 0;
344
- var isBuffer = nativeIsBuffer || stubFalse;
842
+ /** Built-in value references. */
843
+ var Buffer$1 = freeModule$2 && freeModule$2.exports === freeExports$2 ? root.Buffer : void 0;
844
+ /**
845
+ * Checks if `value` is a buffer.
846
+ *
847
+ * @static
848
+ * @memberOf _
849
+ * @since 4.3.0
850
+ * @category Lang
851
+ * @param {*} value The value to check.
852
+ * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
853
+ * @example
854
+ *
855
+ * _.isBuffer(new Buffer(2));
856
+ * // => true
857
+ *
858
+ * _.isBuffer(new Uint8Array(2));
859
+ * // => false
860
+ */
861
+ var isBuffer = (Buffer$1 ? Buffer$1.isBuffer : void 0) || stubFalse;
862
+ //#endregion
863
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js
864
+ /** `Object#toString` result references. */
345
865
  var argsTag$1 = "[object Arguments]", arrayTag$1 = "[object Array]", boolTag$2 = "[object Boolean]", dateTag$2 = "[object Date]", errorTag$1 = "[object Error]", funcTag$1 = "[object Function]", mapTag$5 = "[object Map]", numberTag$2 = "[object Number]", objectTag$2 = "[object Object]", regexpTag$2 = "[object RegExp]", setTag$5 = "[object Set]", stringTag$2 = "[object String]", weakMapTag$2 = "[object WeakMap]";
346
866
  var arrayBufferTag$2 = "[object ArrayBuffer]", dataViewTag$3 = "[object DataView]", float32Tag$2 = "[object Float32Array]", float64Tag$2 = "[object Float64Array]", int8Tag$2 = "[object Int8Array]", int16Tag$2 = "[object Int16Array]", int32Tag$2 = "[object Int32Array]", uint8Tag$2 = "[object Uint8Array]", uint8ClampedTag$2 = "[object Uint8ClampedArray]", uint16Tag$2 = "[object Uint16Array]", uint32Tag$2 = "[object Uint32Array]";
867
+ /** Used to identify `toStringTag` values of typed arrays. */
347
868
  var typedArrayTags = {};
348
869
  typedArrayTags[float32Tag$2] = typedArrayTags[float64Tag$2] = typedArrayTags[int8Tag$2] = typedArrayTags[int16Tag$2] = typedArrayTags[int32Tag$2] = typedArrayTags[uint8Tag$2] = typedArrayTags[uint8ClampedTag$2] = typedArrayTags[uint16Tag$2] = typedArrayTags[uint32Tag$2] = true;
349
870
  typedArrayTags[argsTag$1] = typedArrayTags[arrayTag$1] = typedArrayTags[arrayBufferTag$2] = typedArrayTags[boolTag$2] = typedArrayTags[dataViewTag$3] = typedArrayTags[dateTag$2] = typedArrayTags[errorTag$1] = typedArrayTags[funcTag$1] = typedArrayTags[mapTag$5] = typedArrayTags[numberTag$2] = typedArrayTags[objectTag$2] = typedArrayTags[regexpTag$2] = typedArrayTags[setTag$5] = typedArrayTags[stringTag$2] = typedArrayTags[weakMapTag$2] = false;
871
+ /**
872
+ * The base implementation of `_.isTypedArray` without Node.js optimizations.
873
+ *
874
+ * @private
875
+ * @param {*} value The value to check.
876
+ * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
877
+ */
350
878
  function baseIsTypedArray(value) {
351
- return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
352
- }
879
+ return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
880
+ }
881
+ //#endregion
882
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js
883
+ /**
884
+ * The base implementation of `_.unary` without support for storing metadata.
885
+ *
886
+ * @private
887
+ * @param {Function} func The function to cap arguments for.
888
+ * @returns {Function} Returns the new capped function.
889
+ */
353
890
  function baseUnary(func) {
354
- return function(value) {
355
- return func(value);
356
- };
891
+ return function(value) {
892
+ return func(value);
893
+ };
357
894
  }
895
+ //#endregion
896
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js
897
+ /** Detect free variable `exports`. */
358
898
  var freeExports$1 = typeof exports == "object" && exports && !exports.nodeType && exports;
899
+ /** Detect free variable `module`. */
359
900
  var freeModule$1 = freeExports$1 && typeof module == "object" && module && !module.nodeType && module;
360
- var moduleExports$1 = freeModule$1 && freeModule$1.exports === freeExports$1;
361
- var freeProcess = moduleExports$1 && freeGlobal.process;
901
+ /** Detect free variable `process` from Node.js. */
902
+ var freeProcess = freeModule$1 && freeModule$1.exports === freeExports$1 && freeGlobal.process;
903
+ /** Used to access faster Node.js helpers. */
362
904
  var nodeUtil = function() {
363
- try {
364
- var types = freeModule$1 && freeModule$1.require && freeModule$1.require("util").types;
365
- if (types) {
366
- return types;
367
- }
368
- return freeProcess && freeProcess.binding && freeProcess.binding("util");
369
- } catch (e) {
370
- }
905
+ try {
906
+ var types = freeModule$1 && freeModule$1.require && freeModule$1.require("util").types;
907
+ if (types) return types;
908
+ return freeProcess && freeProcess.binding && freeProcess.binding("util");
909
+ } catch (e) {}
371
910
  }();
911
+ //#endregion
912
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js
372
913
  var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
914
+ /**
915
+ * Checks if `value` is classified as a typed array.
916
+ *
917
+ * @static
918
+ * @memberOf _
919
+ * @since 3.0.0
920
+ * @category Lang
921
+ * @param {*} value The value to check.
922
+ * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
923
+ * @example
924
+ *
925
+ * _.isTypedArray(new Uint8Array);
926
+ * // => true
927
+ *
928
+ * _.isTypedArray([]);
929
+ * // => false
930
+ */
373
931
  var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
374
- var objectProto$6 = Object.prototype;
375
- var hasOwnProperty$5 = objectProto$6.hasOwnProperty;
932
+ //#endregion
933
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js
934
+ /** Used to check objects for own properties. */
935
+ var hasOwnProperty$6 = Object.prototype.hasOwnProperty;
936
+ /**
937
+ * Creates an array of the enumerable property names of the array-like `value`.
938
+ *
939
+ * @private
940
+ * @param {*} value The value to query.
941
+ * @param {boolean} inherited Specify returning inherited property names.
942
+ * @returns {Array} Returns the array of property names.
943
+ */
376
944
  function arrayLikeKeys(value, inherited) {
377
- 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;
378
- for (var key in value) {
379
- if (hasOwnProperty$5.call(value, key) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
380
- (key == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
381
- isBuff && (key == "offset" || key == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
382
- isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || // Skip index properties.
383
- isIndex(key, length)))) {
384
- result.push(key);
385
- }
386
- }
387
- return result;
388
- }
945
+ 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;
946
+ for (var key in value) if ((inherited || hasOwnProperty$6.call(value, key)) && !(skipIndexes && (key == "length" || isBuff && (key == "offset" || key == "parent") || isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || isIndex(key, length)))) result.push(key);
947
+ return result;
948
+ }
949
+ //#endregion
950
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js
951
+ /**
952
+ * Creates a unary function that invokes `func` with its argument transformed.
953
+ *
954
+ * @private
955
+ * @param {Function} func The function to wrap.
956
+ * @param {Function} transform The argument transform.
957
+ * @returns {Function} Returns the new function.
958
+ */
389
959
  function overArg(func, transform) {
390
- return function(arg) {
391
- return func(transform(arg));
392
- };
960
+ return function(arg) {
961
+ return func(transform(arg));
962
+ };
393
963
  }
964
+ //#endregion
965
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js
394
966
  var nativeKeys = overArg(Object.keys, Object);
395
- var objectProto$5 = Object.prototype;
396
- var hasOwnProperty$4 = objectProto$5.hasOwnProperty;
967
+ //#endregion
968
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js
969
+ /** Used to check objects for own properties. */
970
+ var hasOwnProperty$5 = Object.prototype.hasOwnProperty;
971
+ /**
972
+ * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
973
+ *
974
+ * @private
975
+ * @param {Object} object The object to query.
976
+ * @returns {Array} Returns the array of property names.
977
+ */
397
978
  function baseKeys(object) {
398
- if (!isPrototype(object)) {
399
- return nativeKeys(object);
400
- }
401
- var result = [];
402
- for (var key in Object(object)) {
403
- if (hasOwnProperty$4.call(object, key) && key != "constructor") {
404
- result.push(key);
405
- }
406
- }
407
- return result;
408
- }
979
+ if (!isPrototype(object)) return nativeKeys(object);
980
+ var result = [];
981
+ for (var key in Object(object)) if (hasOwnProperty$5.call(object, key) && key != "constructor") result.push(key);
982
+ return result;
983
+ }
984
+ //#endregion
985
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keys.js
986
+ /**
987
+ * Creates an array of the own enumerable property names of `object`.
988
+ *
989
+ * **Note:** Non-object values are coerced to objects. See the
990
+ * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
991
+ * for more details.
992
+ *
993
+ * @static
994
+ * @since 0.1.0
995
+ * @memberOf _
996
+ * @category Object
997
+ * @param {Object} object The object to query.
998
+ * @returns {Array} Returns the array of property names.
999
+ * @example
1000
+ *
1001
+ * function Foo() {
1002
+ * this.a = 1;
1003
+ * this.b = 2;
1004
+ * }
1005
+ *
1006
+ * Foo.prototype.c = 3;
1007
+ *
1008
+ * _.keys(new Foo);
1009
+ * // => ['a', 'b'] (iteration order is not guaranteed)
1010
+ *
1011
+ * _.keys('hi');
1012
+ * // => ['0', '1']
1013
+ */
409
1014
  function keys(object) {
410
- return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
411
- }
1015
+ return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
1016
+ }
1017
+ //#endregion
1018
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js
1019
+ /**
1020
+ * This function is like
1021
+ * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
1022
+ * except that it includes inherited enumerable properties.
1023
+ *
1024
+ * @private
1025
+ * @param {Object} object The object to query.
1026
+ * @returns {Array} Returns the array of property names.
1027
+ */
1028
+ function nativeKeysIn(object) {
1029
+ var result = [];
1030
+ if (object != null) for (var key in Object(object)) result.push(key);
1031
+ return result;
1032
+ }
1033
+ //#endregion
1034
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js
1035
+ /** Used to check objects for own properties. */
1036
+ var hasOwnProperty$4 = Object.prototype.hasOwnProperty;
1037
+ /**
1038
+ * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.
1039
+ *
1040
+ * @private
1041
+ * @param {Object} object The object to query.
1042
+ * @returns {Array} Returns the array of property names.
1043
+ */
1044
+ function baseKeysIn(object) {
1045
+ if (!isObject(object)) return nativeKeysIn(object);
1046
+ var isProto = isPrototype(object), result = [];
1047
+ for (var key in object) if (!(key == "constructor" && (isProto || !hasOwnProperty$4.call(object, key)))) result.push(key);
1048
+ return result;
1049
+ }
1050
+ //#endregion
1051
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js
1052
+ /**
1053
+ * Creates an array of the own and inherited enumerable property names of `object`.
1054
+ *
1055
+ * **Note:** Non-object values are coerced to objects.
1056
+ *
1057
+ * @static
1058
+ * @memberOf _
1059
+ * @since 3.0.0
1060
+ * @category Object
1061
+ * @param {Object} object The object to query.
1062
+ * @returns {Array} Returns the array of property names.
1063
+ * @example
1064
+ *
1065
+ * function Foo() {
1066
+ * this.a = 1;
1067
+ * this.b = 2;
1068
+ * }
1069
+ *
1070
+ * Foo.prototype.c = 3;
1071
+ *
1072
+ * _.keysIn(new Foo);
1073
+ * // => ['a', 'b', 'c'] (iteration order is not guaranteed)
1074
+ */
1075
+ function keysIn(object) {
1076
+ return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
1077
+ }
1078
+ //#endregion
1079
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js
412
1080
  var nativeCreate = getNative(Object, "create");
1081
+ //#endregion
1082
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js
1083
+ /**
1084
+ * Removes all key-value entries from the hash.
1085
+ *
1086
+ * @private
1087
+ * @name clear
1088
+ * @memberOf Hash
1089
+ */
413
1090
  function hashClear() {
414
- this.__data__ = nativeCreate ? nativeCreate(null) : {};
415
- this.size = 0;
416
- }
1091
+ this.__data__ = nativeCreate ? nativeCreate(null) : {};
1092
+ this.size = 0;
1093
+ }
1094
+ //#endregion
1095
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js
1096
+ /**
1097
+ * Removes `key` and its value from the hash.
1098
+ *
1099
+ * @private
1100
+ * @name delete
1101
+ * @memberOf Hash
1102
+ * @param {Object} hash The hash to modify.
1103
+ * @param {string} key The key of the value to remove.
1104
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1105
+ */
417
1106
  function hashDelete(key) {
418
- var result = this.has(key) && delete this.__data__[key];
419
- this.size -= result ? 1 : 0;
420
- return result;
1107
+ var result = this.has(key) && delete this.__data__[key];
1108
+ this.size -= result ? 1 : 0;
1109
+ return result;
421
1110
  }
1111
+ //#endregion
1112
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js
1113
+ /** Used to stand-in for `undefined` hash values. */
422
1114
  var HASH_UNDEFINED$1 = "__lodash_hash_undefined__";
423
- var objectProto$4 = Object.prototype;
424
- var hasOwnProperty$3 = objectProto$4.hasOwnProperty;
1115
+ /** Used to check objects for own properties. */
1116
+ var hasOwnProperty$3 = Object.prototype.hasOwnProperty;
1117
+ /**
1118
+ * Gets the hash value for `key`.
1119
+ *
1120
+ * @private
1121
+ * @name get
1122
+ * @memberOf Hash
1123
+ * @param {string} key The key of the value to get.
1124
+ * @returns {*} Returns the entry value.
1125
+ */
425
1126
  function hashGet(key) {
426
- var data = this.__data__;
427
- if (nativeCreate) {
428
- var result = data[key];
429
- return result === HASH_UNDEFINED$1 ? void 0 : result;
430
- }
431
- return hasOwnProperty$3.call(data, key) ? data[key] : void 0;
432
- }
433
- var objectProto$3 = Object.prototype;
434
- var hasOwnProperty$2 = objectProto$3.hasOwnProperty;
1127
+ var data = this.__data__;
1128
+ if (nativeCreate) {
1129
+ var result = data[key];
1130
+ return result === HASH_UNDEFINED$1 ? void 0 : result;
1131
+ }
1132
+ return hasOwnProperty$3.call(data, key) ? data[key] : void 0;
1133
+ }
1134
+ //#endregion
1135
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js
1136
+ /** Used to check objects for own properties. */
1137
+ var hasOwnProperty$2 = Object.prototype.hasOwnProperty;
1138
+ /**
1139
+ * Checks if a hash value for `key` exists.
1140
+ *
1141
+ * @private
1142
+ * @name has
1143
+ * @memberOf Hash
1144
+ * @param {string} key The key of the entry to check.
1145
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1146
+ */
435
1147
  function hashHas(key) {
436
- var data = this.__data__;
437
- return nativeCreate ? data[key] !== void 0 : hasOwnProperty$2.call(data, key);
1148
+ var data = this.__data__;
1149
+ return nativeCreate ? data[key] !== void 0 : hasOwnProperty$2.call(data, key);
438
1150
  }
1151
+ //#endregion
1152
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js
1153
+ /** Used to stand-in for `undefined` hash values. */
439
1154
  var HASH_UNDEFINED = "__lodash_hash_undefined__";
1155
+ /**
1156
+ * Sets the hash `key` to `value`.
1157
+ *
1158
+ * @private
1159
+ * @name set
1160
+ * @memberOf Hash
1161
+ * @param {string} key The key of the value to set.
1162
+ * @param {*} value The value to set.
1163
+ * @returns {Object} Returns the hash instance.
1164
+ */
440
1165
  function hashSet(key, value) {
441
- var data = this.__data__;
442
- this.size += this.has(key) ? 0 : 1;
443
- data[key] = nativeCreate && value === void 0 ? HASH_UNDEFINED : value;
444
- return this;
445
- }
1166
+ var data = this.__data__;
1167
+ this.size += this.has(key) ? 0 : 1;
1168
+ data[key] = nativeCreate && value === void 0 ? HASH_UNDEFINED : value;
1169
+ return this;
1170
+ }
1171
+ //#endregion
1172
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js
1173
+ /**
1174
+ * Creates a hash object.
1175
+ *
1176
+ * @private
1177
+ * @constructor
1178
+ * @param {Array} [entries] The key-value pairs to cache.
1179
+ */
446
1180
  function Hash(entries) {
447
- var index = -1, length = entries == null ? 0 : entries.length;
448
- this.clear();
449
- while (++index < length) {
450
- var entry = entries[index];
451
- this.set(entry[0], entry[1]);
452
- }
1181
+ var index = -1, length = entries == null ? 0 : entries.length;
1182
+ this.clear();
1183
+ while (++index < length) {
1184
+ var entry = entries[index];
1185
+ this.set(entry[0], entry[1]);
1186
+ }
453
1187
  }
454
1188
  Hash.prototype.clear = hashClear;
455
1189
  Hash.prototype["delete"] = hashDelete;
456
1190
  Hash.prototype.get = hashGet;
457
1191
  Hash.prototype.has = hashHas;
458
1192
  Hash.prototype.set = hashSet;
1193
+ //#endregion
1194
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js
1195
+ /**
1196
+ * Removes all key-value entries from the list cache.
1197
+ *
1198
+ * @private
1199
+ * @name clear
1200
+ * @memberOf ListCache
1201
+ */
459
1202
  function listCacheClear() {
460
- this.__data__ = [];
461
- this.size = 0;
462
- }
1203
+ this.__data__ = [];
1204
+ this.size = 0;
1205
+ }
1206
+ //#endregion
1207
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js
1208
+ /**
1209
+ * Gets the index at which the `key` is found in `array` of key-value pairs.
1210
+ *
1211
+ * @private
1212
+ * @param {Array} array The array to inspect.
1213
+ * @param {*} key The key to search for.
1214
+ * @returns {number} Returns the index of the matched value, else `-1`.
1215
+ */
463
1216
  function assocIndexOf(array, key) {
464
- var length = array.length;
465
- while (length--) {
466
- if (eq(array[length][0], key)) {
467
- return length;
468
- }
469
- }
470
- return -1;
471
- }
472
- var arrayProto = Array.prototype;
473
- var splice = arrayProto.splice;
1217
+ var length = array.length;
1218
+ while (length--) if (eq(array[length][0], key)) return length;
1219
+ return -1;
1220
+ }
1221
+ //#endregion
1222
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js
1223
+ /** Built-in value references. */
1224
+ var splice = Array.prototype.splice;
1225
+ /**
1226
+ * Removes `key` and its value from the list cache.
1227
+ *
1228
+ * @private
1229
+ * @name delete
1230
+ * @memberOf ListCache
1231
+ * @param {string} key The key of the value to remove.
1232
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1233
+ */
474
1234
  function listCacheDelete(key) {
475
- var data = this.__data__, index = assocIndexOf(data, key);
476
- if (index < 0) {
477
- return false;
478
- }
479
- var lastIndex = data.length - 1;
480
- if (index == lastIndex) {
481
- data.pop();
482
- } else {
483
- splice.call(data, index, 1);
484
- }
485
- --this.size;
486
- return true;
487
- }
1235
+ var data = this.__data__, index = assocIndexOf(data, key);
1236
+ if (index < 0) return false;
1237
+ if (index == data.length - 1) data.pop();
1238
+ else splice.call(data, index, 1);
1239
+ --this.size;
1240
+ return true;
1241
+ }
1242
+ //#endregion
1243
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js
1244
+ /**
1245
+ * Gets the list cache value for `key`.
1246
+ *
1247
+ * @private
1248
+ * @name get
1249
+ * @memberOf ListCache
1250
+ * @param {string} key The key of the value to get.
1251
+ * @returns {*} Returns the entry value.
1252
+ */
488
1253
  function listCacheGet(key) {
489
- var data = this.__data__, index = assocIndexOf(data, key);
490
- return index < 0 ? void 0 : data[index][1];
491
- }
1254
+ var data = this.__data__, index = assocIndexOf(data, key);
1255
+ return index < 0 ? void 0 : data[index][1];
1256
+ }
1257
+ //#endregion
1258
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js
1259
+ /**
1260
+ * Checks if a list cache value for `key` exists.
1261
+ *
1262
+ * @private
1263
+ * @name has
1264
+ * @memberOf ListCache
1265
+ * @param {string} key The key of the entry to check.
1266
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1267
+ */
492
1268
  function listCacheHas(key) {
493
- return assocIndexOf(this.__data__, key) > -1;
494
- }
1269
+ return assocIndexOf(this.__data__, key) > -1;
1270
+ }
1271
+ //#endregion
1272
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js
1273
+ /**
1274
+ * Sets the list cache `key` to `value`.
1275
+ *
1276
+ * @private
1277
+ * @name set
1278
+ * @memberOf ListCache
1279
+ * @param {string} key The key of the value to set.
1280
+ * @param {*} value The value to set.
1281
+ * @returns {Object} Returns the list cache instance.
1282
+ */
495
1283
  function listCacheSet(key, value) {
496
- var data = this.__data__, index = assocIndexOf(data, key);
497
- if (index < 0) {
498
- ++this.size;
499
- data.push([key, value]);
500
- } else {
501
- data[index][1] = value;
502
- }
503
- return this;
504
- }
1284
+ var data = this.__data__, index = assocIndexOf(data, key);
1285
+ if (index < 0) {
1286
+ ++this.size;
1287
+ data.push([key, value]);
1288
+ } else data[index][1] = value;
1289
+ return this;
1290
+ }
1291
+ //#endregion
1292
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js
1293
+ /**
1294
+ * Creates an list cache object.
1295
+ *
1296
+ * @private
1297
+ * @constructor
1298
+ * @param {Array} [entries] The key-value pairs to cache.
1299
+ */
505
1300
  function ListCache(entries) {
506
- var index = -1, length = entries == null ? 0 : entries.length;
507
- this.clear();
508
- while (++index < length) {
509
- var entry = entries[index];
510
- this.set(entry[0], entry[1]);
511
- }
1301
+ var index = -1, length = entries == null ? 0 : entries.length;
1302
+ this.clear();
1303
+ while (++index < length) {
1304
+ var entry = entries[index];
1305
+ this.set(entry[0], entry[1]);
1306
+ }
512
1307
  }
513
1308
  ListCache.prototype.clear = listCacheClear;
514
1309
  ListCache.prototype["delete"] = listCacheDelete;
515
1310
  ListCache.prototype.get = listCacheGet;
516
1311
  ListCache.prototype.has = listCacheHas;
517
1312
  ListCache.prototype.set = listCacheSet;
1313
+ //#endregion
1314
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Map.js
518
1315
  var Map = getNative(root, "Map");
1316
+ //#endregion
1317
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js
1318
+ /**
1319
+ * Removes all key-value entries from the map.
1320
+ *
1321
+ * @private
1322
+ * @name clear
1323
+ * @memberOf MapCache
1324
+ */
519
1325
  function mapCacheClear() {
520
- this.size = 0;
521
- this.__data__ = {
522
- "hash": new Hash(),
523
- "map": new (Map || ListCache)(),
524
- "string": new Hash()
525
- };
526
- }
1326
+ this.size = 0;
1327
+ this.__data__ = {
1328
+ "hash": new Hash(),
1329
+ "map": new (Map || ListCache)(),
1330
+ "string": new Hash()
1331
+ };
1332
+ }
1333
+ //#endregion
1334
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js
1335
+ /**
1336
+ * Checks if `value` is suitable for use as unique object key.
1337
+ *
1338
+ * @private
1339
+ * @param {*} value The value to check.
1340
+ * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
1341
+ */
527
1342
  function isKeyable(value) {
528
- var type2 = typeof value;
529
- return type2 == "string" || type2 == "number" || type2 == "symbol" || type2 == "boolean" ? value !== "__proto__" : value === null;
530
- }
1343
+ var type = typeof value;
1344
+ return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
1345
+ }
1346
+ //#endregion
1347
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js
1348
+ /**
1349
+ * Gets the data for `map`.
1350
+ *
1351
+ * @private
1352
+ * @param {Object} map The map to query.
1353
+ * @param {string} key The reference key.
1354
+ * @returns {*} Returns the map data.
1355
+ */
531
1356
  function getMapData(map, key) {
532
- var data = map.__data__;
533
- return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
534
- }
1357
+ var data = map.__data__;
1358
+ return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
1359
+ }
1360
+ //#endregion
1361
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js
1362
+ /**
1363
+ * Removes `key` and its value from the map.
1364
+ *
1365
+ * @private
1366
+ * @name delete
1367
+ * @memberOf MapCache
1368
+ * @param {string} key The key of the value to remove.
1369
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1370
+ */
535
1371
  function mapCacheDelete(key) {
536
- var result = getMapData(this, key)["delete"](key);
537
- this.size -= result ? 1 : 0;
538
- return result;
539
- }
1372
+ var result = getMapData(this, key)["delete"](key);
1373
+ this.size -= result ? 1 : 0;
1374
+ return result;
1375
+ }
1376
+ //#endregion
1377
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js
1378
+ /**
1379
+ * Gets the map value for `key`.
1380
+ *
1381
+ * @private
1382
+ * @name get
1383
+ * @memberOf MapCache
1384
+ * @param {string} key The key of the value to get.
1385
+ * @returns {*} Returns the entry value.
1386
+ */
540
1387
  function mapCacheGet(key) {
541
- return getMapData(this, key).get(key);
542
- }
1388
+ return getMapData(this, key).get(key);
1389
+ }
1390
+ //#endregion
1391
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js
1392
+ /**
1393
+ * Checks if a map value for `key` exists.
1394
+ *
1395
+ * @private
1396
+ * @name has
1397
+ * @memberOf MapCache
1398
+ * @param {string} key The key of the entry to check.
1399
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1400
+ */
543
1401
  function mapCacheHas(key) {
544
- return getMapData(this, key).has(key);
545
- }
1402
+ return getMapData(this, key).has(key);
1403
+ }
1404
+ //#endregion
1405
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js
1406
+ /**
1407
+ * Sets the map `key` to `value`.
1408
+ *
1409
+ * @private
1410
+ * @name set
1411
+ * @memberOf MapCache
1412
+ * @param {string} key The key of the value to set.
1413
+ * @param {*} value The value to set.
1414
+ * @returns {Object} Returns the map cache instance.
1415
+ */
546
1416
  function mapCacheSet(key, value) {
547
- var data = getMapData(this, key), size = data.size;
548
- data.set(key, value);
549
- this.size += data.size == size ? 0 : 1;
550
- return this;
551
- }
1417
+ var data = getMapData(this, key), size = data.size;
1418
+ data.set(key, value);
1419
+ this.size += data.size == size ? 0 : 1;
1420
+ return this;
1421
+ }
1422
+ //#endregion
1423
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js
1424
+ /**
1425
+ * Creates a map cache object to store key-value pairs.
1426
+ *
1427
+ * @private
1428
+ * @constructor
1429
+ * @param {Array} [entries] The key-value pairs to cache.
1430
+ */
552
1431
  function MapCache(entries) {
553
- var index = -1, length = entries == null ? 0 : entries.length;
554
- this.clear();
555
- while (++index < length) {
556
- var entry = entries[index];
557
- this.set(entry[0], entry[1]);
558
- }
1432
+ var index = -1, length = entries == null ? 0 : entries.length;
1433
+ this.clear();
1434
+ while (++index < length) {
1435
+ var entry = entries[index];
1436
+ this.set(entry[0], entry[1]);
1437
+ }
559
1438
  }
560
1439
  MapCache.prototype.clear = mapCacheClear;
561
1440
  MapCache.prototype["delete"] = mapCacheDelete;
562
1441
  MapCache.prototype.get = mapCacheGet;
563
1442
  MapCache.prototype.has = mapCacheHas;
564
1443
  MapCache.prototype.set = mapCacheSet;
1444
+ //#endregion
1445
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js
1446
+ /**
1447
+ * Appends the elements of `values` to `array`.
1448
+ *
1449
+ * @private
1450
+ * @param {Array} array The array to modify.
1451
+ * @param {Array} values The values to append.
1452
+ * @returns {Array} Returns `array`.
1453
+ */
565
1454
  function arrayPush(array, values) {
566
- var index = -1, length = values.length, offset = array.length;
567
- while (++index < length) {
568
- array[offset + index] = values[index];
569
- }
570
- return array;
1455
+ var index = -1, length = values.length, offset = array.length;
1456
+ while (++index < length) array[offset + index] = values[index];
1457
+ return array;
571
1458
  }
1459
+ //#endregion
1460
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js
1461
+ /** Built-in value references. */
572
1462
  var getPrototype = overArg(Object.getPrototypeOf, Object);
1463
+ //#endregion
1464
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js
1465
+ /**
1466
+ * Removes all key-value entries from the stack.
1467
+ *
1468
+ * @private
1469
+ * @name clear
1470
+ * @memberOf Stack
1471
+ */
573
1472
  function stackClear() {
574
- this.__data__ = new ListCache();
575
- this.size = 0;
576
- }
1473
+ this.__data__ = new ListCache();
1474
+ this.size = 0;
1475
+ }
1476
+ //#endregion
1477
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js
1478
+ /**
1479
+ * Removes `key` and its value from the stack.
1480
+ *
1481
+ * @private
1482
+ * @name delete
1483
+ * @memberOf Stack
1484
+ * @param {string} key The key of the value to remove.
1485
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1486
+ */
577
1487
  function stackDelete(key) {
578
- var data = this.__data__, result = data["delete"](key);
579
- this.size = data.size;
580
- return result;
581
- }
1488
+ var data = this.__data__, result = data["delete"](key);
1489
+ this.size = data.size;
1490
+ return result;
1491
+ }
1492
+ //#endregion
1493
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js
1494
+ /**
1495
+ * Gets the stack value for `key`.
1496
+ *
1497
+ * @private
1498
+ * @name get
1499
+ * @memberOf Stack
1500
+ * @param {string} key The key of the value to get.
1501
+ * @returns {*} Returns the entry value.
1502
+ */
582
1503
  function stackGet(key) {
583
- return this.__data__.get(key);
584
- }
1504
+ return this.__data__.get(key);
1505
+ }
1506
+ //#endregion
1507
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js
1508
+ /**
1509
+ * Checks if a stack value for `key` exists.
1510
+ *
1511
+ * @private
1512
+ * @name has
1513
+ * @memberOf Stack
1514
+ * @param {string} key The key of the entry to check.
1515
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1516
+ */
585
1517
  function stackHas(key) {
586
- return this.__data__.has(key);
1518
+ return this.__data__.has(key);
587
1519
  }
1520
+ //#endregion
1521
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js
1522
+ /** Used as the size to enable large array optimizations. */
588
1523
  var LARGE_ARRAY_SIZE = 200;
1524
+ /**
1525
+ * Sets the stack `key` to `value`.
1526
+ *
1527
+ * @private
1528
+ * @name set
1529
+ * @memberOf Stack
1530
+ * @param {string} key The key of the value to set.
1531
+ * @param {*} value The value to set.
1532
+ * @returns {Object} Returns the stack cache instance.
1533
+ */
589
1534
  function stackSet(key, value) {
590
- var data = this.__data__;
591
- if (data instanceof ListCache) {
592
- var pairs = data.__data__;
593
- if (!Map || pairs.length < LARGE_ARRAY_SIZE - 1) {
594
- pairs.push([key, value]);
595
- this.size = ++data.size;
596
- return this;
597
- }
598
- data = this.__data__ = new MapCache(pairs);
599
- }
600
- data.set(key, value);
601
- this.size = data.size;
602
- return this;
603
- }
1535
+ var data = this.__data__;
1536
+ if (data instanceof ListCache) {
1537
+ var pairs = data.__data__;
1538
+ if (!Map || pairs.length < LARGE_ARRAY_SIZE - 1) {
1539
+ pairs.push([key, value]);
1540
+ this.size = ++data.size;
1541
+ return this;
1542
+ }
1543
+ data = this.__data__ = new MapCache(pairs);
1544
+ }
1545
+ data.set(key, value);
1546
+ this.size = data.size;
1547
+ return this;
1548
+ }
1549
+ //#endregion
1550
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js
1551
+ /**
1552
+ * Creates a stack cache object to store key-value pairs.
1553
+ *
1554
+ * @private
1555
+ * @constructor
1556
+ * @param {Array} [entries] The key-value pairs to cache.
1557
+ */
604
1558
  function Stack(entries) {
605
- var data = this.__data__ = new ListCache(entries);
606
- this.size = data.size;
1559
+ var data = this.__data__ = new ListCache(entries);
1560
+ this.size = data.size;
607
1561
  }
608
1562
  Stack.prototype.clear = stackClear;
609
1563
  Stack.prototype["delete"] = stackDelete;
610
1564
  Stack.prototype.get = stackGet;
611
1565
  Stack.prototype.has = stackHas;
612
1566
  Stack.prototype.set = stackSet;
1567
+ //#endregion
1568
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js
1569
+ /**
1570
+ * The base implementation of `_.assign` without support for multiple sources
1571
+ * or `customizer` functions.
1572
+ *
1573
+ * @private
1574
+ * @param {Object} object The destination object.
1575
+ * @param {Object} source The source object.
1576
+ * @returns {Object} Returns `object`.
1577
+ */
1578
+ function baseAssign(object, source) {
1579
+ return object && copyObject(source, keys(source), object);
1580
+ }
1581
+ //#endregion
1582
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js
1583
+ /**
1584
+ * The base implementation of `_.assignIn` without support for multiple sources
1585
+ * or `customizer` functions.
1586
+ *
1587
+ * @private
1588
+ * @param {Object} object The destination object.
1589
+ * @param {Object} source The source object.
1590
+ * @returns {Object} Returns `object`.
1591
+ */
1592
+ function baseAssignIn(object, source) {
1593
+ return object && copyObject(source, keysIn(source), object);
1594
+ }
1595
+ //#endregion
1596
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js
1597
+ /** Detect free variable `exports`. */
613
1598
  var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
1599
+ /** Detect free variable `module`. */
614
1600
  var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
615
- var moduleExports = freeModule && freeModule.exports === freeExports;
616
- var Buffer = moduleExports ? root.Buffer : void 0;
617
- Buffer ? Buffer.allocUnsafe : void 0;
1601
+ /** Built-in value references. */
1602
+ var Buffer = freeModule && freeModule.exports === freeExports ? root.Buffer : void 0, allocUnsafe = Buffer ? Buffer.allocUnsafe : void 0;
1603
+ /**
1604
+ * Creates a clone of `buffer`.
1605
+ *
1606
+ * @private
1607
+ * @param {Buffer} buffer The buffer to clone.
1608
+ * @param {boolean} [isDeep] Specify a deep clone.
1609
+ * @returns {Buffer} Returns the cloned buffer.
1610
+ */
618
1611
  function cloneBuffer(buffer, isDeep) {
619
- {
620
- return buffer.slice();
621
- }
622
- }
1612
+ if (isDeep) return buffer.slice();
1613
+ var length = buffer.length, result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
1614
+ buffer.copy(result);
1615
+ return result;
1616
+ }
1617
+ //#endregion
1618
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js
1619
+ /**
1620
+ * A specialized version of `_.filter` for arrays without support for
1621
+ * iteratee shorthands.
1622
+ *
1623
+ * @private
1624
+ * @param {Array} [array] The array to iterate over.
1625
+ * @param {Function} predicate The function invoked per iteration.
1626
+ * @returns {Array} Returns the new filtered array.
1627
+ */
623
1628
  function arrayFilter(array, predicate) {
624
- var index = -1, length = array == null ? 0 : array.length, resIndex = 0, result = [];
625
- while (++index < length) {
626
- var value = array[index];
627
- if (predicate(value, index, array)) {
628
- result[resIndex++] = value;
629
- }
630
- }
631
- return result;
632
- }
1629
+ var index = -1, length = array == null ? 0 : array.length, resIndex = 0, result = [];
1630
+ while (++index < length) {
1631
+ var value = array[index];
1632
+ if (predicate(value, index, array)) result[resIndex++] = value;
1633
+ }
1634
+ return result;
1635
+ }
1636
+ //#endregion
1637
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js
1638
+ /**
1639
+ * This method returns a new empty array.
1640
+ *
1641
+ * @static
1642
+ * @memberOf _
1643
+ * @since 4.13.0
1644
+ * @category Util
1645
+ * @returns {Array} Returns the new empty array.
1646
+ * @example
1647
+ *
1648
+ * var arrays = _.times(2, _.stubArray);
1649
+ *
1650
+ * console.log(arrays);
1651
+ * // => [[], []]
1652
+ *
1653
+ * console.log(arrays[0] === arrays[1]);
1654
+ * // => false
1655
+ */
633
1656
  function stubArray() {
634
- return [];
1657
+ return [];
635
1658
  }
636
- var objectProto$2 = Object.prototype;
637
- var propertyIsEnumerable = objectProto$2.propertyIsEnumerable;
1659
+ //#endregion
1660
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js
1661
+ /** Built-in value references. */
1662
+ var propertyIsEnumerable = Object.prototype.propertyIsEnumerable;
638
1663
  var nativeGetSymbols = Object.getOwnPropertySymbols;
1664
+ /**
1665
+ * Creates an array of the own enumerable symbols of `object`.
1666
+ *
1667
+ * @private
1668
+ * @param {Object} object The object to query.
1669
+ * @returns {Array} Returns the array of symbols.
1670
+ */
639
1671
  var getSymbols = !nativeGetSymbols ? stubArray : function(object) {
640
- if (object == null) {
641
- return [];
642
- }
643
- object = Object(object);
644
- return arrayFilter(nativeGetSymbols(object), function(symbol) {
645
- return propertyIsEnumerable.call(object, symbol);
646
- });
1672
+ if (object == null) return [];
1673
+ object = Object(object);
1674
+ return arrayFilter(nativeGetSymbols(object), function(symbol) {
1675
+ return propertyIsEnumerable.call(object, symbol);
1676
+ });
647
1677
  };
1678
+ //#endregion
1679
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js
1680
+ /**
1681
+ * Copies own symbols of `source` to `object`.
1682
+ *
1683
+ * @private
1684
+ * @param {Object} source The object to copy symbols from.
1685
+ * @param {Object} [object={}] The object to copy symbols to.
1686
+ * @returns {Object} Returns `object`.
1687
+ */
1688
+ function copySymbols(source, object) {
1689
+ return copyObject(source, getSymbols(source), object);
1690
+ }
1691
+ //#endregion
1692
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js
1693
+ /**
1694
+ * Creates an array of the own and inherited enumerable symbols of `object`.
1695
+ *
1696
+ * @private
1697
+ * @param {Object} object The object to query.
1698
+ * @returns {Array} Returns the array of symbols.
1699
+ */
1700
+ var getSymbolsIn = !Object.getOwnPropertySymbols ? stubArray : function(object) {
1701
+ var result = [];
1702
+ while (object) {
1703
+ arrayPush(result, getSymbols(object));
1704
+ object = getPrototype(object);
1705
+ }
1706
+ return result;
1707
+ };
1708
+ //#endregion
1709
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js
1710
+ /**
1711
+ * Copies own and inherited symbols of `source` to `object`.
1712
+ *
1713
+ * @private
1714
+ * @param {Object} source The object to copy symbols from.
1715
+ * @param {Object} [object={}] The object to copy symbols to.
1716
+ * @returns {Object} Returns `object`.
1717
+ */
1718
+ function copySymbolsIn(source, object) {
1719
+ return copyObject(source, getSymbolsIn(source), object);
1720
+ }
1721
+ //#endregion
1722
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js
1723
+ /**
1724
+ * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
1725
+ * `keysFunc` and `symbolsFunc` to get the enumerable property names and
1726
+ * symbols of `object`.
1727
+ *
1728
+ * @private
1729
+ * @param {Object} object The object to query.
1730
+ * @param {Function} keysFunc The function to get the keys of `object`.
1731
+ * @param {Function} symbolsFunc The function to get the symbols of `object`.
1732
+ * @returns {Array} Returns the array of property names and symbols.
1733
+ */
648
1734
  function baseGetAllKeys(object, keysFunc, symbolsFunc) {
649
- var result = keysFunc(object);
650
- return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
651
- }
1735
+ var result = keysFunc(object);
1736
+ return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
1737
+ }
1738
+ //#endregion
1739
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js
1740
+ /**
1741
+ * Creates an array of own enumerable property names and symbols of `object`.
1742
+ *
1743
+ * @private
1744
+ * @param {Object} object The object to query.
1745
+ * @returns {Array} Returns the array of property names and symbols.
1746
+ */
652
1747
  function getAllKeys(object) {
653
- return baseGetAllKeys(object, keys, getSymbols);
654
- }
1748
+ return baseGetAllKeys(object, keys, getSymbols);
1749
+ }
1750
+ //#endregion
1751
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js
1752
+ /**
1753
+ * Creates an array of own and inherited enumerable property names and
1754
+ * symbols of `object`.
1755
+ *
1756
+ * @private
1757
+ * @param {Object} object The object to query.
1758
+ * @returns {Array} Returns the array of property names and symbols.
1759
+ */
1760
+ function getAllKeysIn(object) {
1761
+ return baseGetAllKeys(object, keysIn, getSymbolsIn);
1762
+ }
1763
+ //#endregion
1764
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js
655
1765
  var DataView = getNative(root, "DataView");
1766
+ //#endregion
1767
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js
656
1768
  var Promise$1 = getNative(root, "Promise");
1769
+ //#endregion
1770
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Set.js
657
1771
  var Set = getNative(root, "Set");
1772
+ //#endregion
1773
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js
1774
+ /** `Object#toString` result references. */
658
1775
  var mapTag$4 = "[object Map]", objectTag$1 = "[object Object]", promiseTag = "[object Promise]", setTag$4 = "[object Set]", weakMapTag$1 = "[object WeakMap]";
659
1776
  var dataViewTag$2 = "[object DataView]";
1777
+ /** Used to detect maps, sets, and weakmaps. */
660
1778
  var dataViewCtorString = toSource(DataView), mapCtorString = toSource(Map), promiseCtorString = toSource(Promise$1), setCtorString = toSource(Set), weakMapCtorString = toSource(WeakMap);
1779
+ /**
1780
+ * Gets the `toStringTag` of `value`.
1781
+ *
1782
+ * @private
1783
+ * @param {*} value The value to query.
1784
+ * @returns {string} Returns the `toStringTag`.
1785
+ */
661
1786
  var getTag = baseGetTag;
662
- if (DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag$2 || Map && getTag(new Map()) != mapTag$4 || Promise$1 && getTag(Promise$1.resolve()) != promiseTag || Set && getTag(new Set()) != setTag$4 || WeakMap && getTag(new WeakMap()) != weakMapTag$1) {
663
- getTag = function(value) {
664
- var result = baseGetTag(value), Ctor = result == objectTag$1 ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : "";
665
- if (ctorString) {
666
- switch (ctorString) {
667
- case dataViewCtorString:
668
- return dataViewTag$2;
669
- case mapCtorString:
670
- return mapTag$4;
671
- case promiseCtorString:
672
- return promiseTag;
673
- case setCtorString:
674
- return setTag$4;
675
- case weakMapCtorString:
676
- return weakMapTag$1;
677
- }
678
- }
679
- return result;
680
- };
681
- }
682
- var objectProto$1 = Object.prototype;
683
- var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
1787
+ if (DataView && getTag(new DataView(/* @__PURE__ */ new ArrayBuffer(1))) != dataViewTag$2 || Map && getTag(new Map()) != mapTag$4 || Promise$1 && getTag(Promise$1.resolve()) != promiseTag || Set && getTag(new Set()) != setTag$4 || WeakMap && getTag(new WeakMap()) != weakMapTag$1) getTag = function(value) {
1788
+ var result = baseGetTag(value), Ctor = result == objectTag$1 ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : "";
1789
+ if (ctorString) switch (ctorString) {
1790
+ case dataViewCtorString: return dataViewTag$2;
1791
+ case mapCtorString: return mapTag$4;
1792
+ case promiseCtorString: return promiseTag;
1793
+ case setCtorString: return setTag$4;
1794
+ case weakMapCtorString: return weakMapTag$1;
1795
+ }
1796
+ return result;
1797
+ };
1798
+ var _getTag_default = getTag;
1799
+ //#endregion
1800
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js
1801
+ /** Used to check objects for own properties. */
1802
+ var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
1803
+ /**
1804
+ * Initializes an array clone.
1805
+ *
1806
+ * @private
1807
+ * @param {Array} array The array to clone.
1808
+ * @returns {Array} Returns the initialized clone.
1809
+ */
684
1810
  function initCloneArray(array) {
685
- var length = array.length, result = new array.constructor(length);
686
- if (length && typeof array[0] == "string" && hasOwnProperty$1.call(array, "index")) {
687
- result.index = array.index;
688
- result.input = array.input;
689
- }
690
- return result;
691
- }
1811
+ var length = array.length, result = new array.constructor(length);
1812
+ if (length && typeof array[0] == "string" && hasOwnProperty$1.call(array, "index")) {
1813
+ result.index = array.index;
1814
+ result.input = array.input;
1815
+ }
1816
+ return result;
1817
+ }
1818
+ //#endregion
1819
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js
1820
+ /** Built-in value references. */
692
1821
  var Uint8Array$1 = root.Uint8Array;
1822
+ //#endregion
1823
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js
1824
+ /**
1825
+ * Creates a clone of `arrayBuffer`.
1826
+ *
1827
+ * @private
1828
+ * @param {ArrayBuffer} arrayBuffer The array buffer to clone.
1829
+ * @returns {ArrayBuffer} Returns the cloned array buffer.
1830
+ */
693
1831
  function cloneArrayBuffer(arrayBuffer) {
694
- var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
695
- new Uint8Array$1(result).set(new Uint8Array$1(arrayBuffer));
696
- return result;
697
- }
1832
+ var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
1833
+ new Uint8Array$1(result).set(new Uint8Array$1(arrayBuffer));
1834
+ return result;
1835
+ }
1836
+ //#endregion
1837
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js
1838
+ /**
1839
+ * Creates a clone of `dataView`.
1840
+ *
1841
+ * @private
1842
+ * @param {Object} dataView The data view to clone.
1843
+ * @param {boolean} [isDeep] Specify a deep clone.
1844
+ * @returns {Object} Returns the cloned data view.
1845
+ */
698
1846
  function cloneDataView(dataView, isDeep) {
699
- var buffer = cloneArrayBuffer(dataView.buffer);
700
- return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
1847
+ var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;
1848
+ return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
701
1849
  }
1850
+ //#endregion
1851
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js
1852
+ /** Used to match `RegExp` flags from their coerced string values. */
702
1853
  var reFlags = /\w*$/;
1854
+ /**
1855
+ * Creates a clone of `regexp`.
1856
+ *
1857
+ * @private
1858
+ * @param {Object} regexp The regexp to clone.
1859
+ * @returns {Object} Returns the cloned regexp.
1860
+ */
703
1861
  function cloneRegExp(regexp) {
704
- var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
705
- result.lastIndex = regexp.lastIndex;
706
- return result;
707
- }
708
- var symbolProto = Symbol$1 ? Symbol$1.prototype : void 0, symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
1862
+ var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
1863
+ result.lastIndex = regexp.lastIndex;
1864
+ return result;
1865
+ }
1866
+ //#endregion
1867
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js
1868
+ /** Used to convert symbols to primitives and strings. */
1869
+ var symbolProto = Symbol ? Symbol.prototype : void 0, symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
1870
+ /**
1871
+ * Creates a clone of the `symbol` object.
1872
+ *
1873
+ * @private
1874
+ * @param {Object} symbol The symbol object to clone.
1875
+ * @returns {Object} Returns the cloned symbol object.
1876
+ */
709
1877
  function cloneSymbol(symbol) {
710
- return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
711
- }
1878
+ return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
1879
+ }
1880
+ //#endregion
1881
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js
1882
+ /**
1883
+ * Creates a clone of `typedArray`.
1884
+ *
1885
+ * @private
1886
+ * @param {Object} typedArray The typed array to clone.
1887
+ * @param {boolean} [isDeep] Specify a deep clone.
1888
+ * @returns {Object} Returns the cloned typed array.
1889
+ */
712
1890
  function cloneTypedArray(typedArray, isDeep) {
713
- var buffer = cloneArrayBuffer(typedArray.buffer);
714
- return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
1891
+ var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
1892
+ return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
715
1893
  }
1894
+ //#endregion
1895
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js
1896
+ /** `Object#toString` result references. */
716
1897
  var boolTag$1 = "[object Boolean]", dateTag$1 = "[object Date]", mapTag$3 = "[object Map]", numberTag$1 = "[object Number]", regexpTag$1 = "[object RegExp]", setTag$3 = "[object Set]", stringTag$1 = "[object String]", symbolTag$1 = "[object Symbol]";
717
1898
  var arrayBufferTag$1 = "[object ArrayBuffer]", dataViewTag$1 = "[object DataView]", float32Tag$1 = "[object Float32Array]", float64Tag$1 = "[object Float64Array]", int8Tag$1 = "[object Int8Array]", int16Tag$1 = "[object Int16Array]", int32Tag$1 = "[object Int32Array]", uint8Tag$1 = "[object Uint8Array]", uint8ClampedTag$1 = "[object Uint8ClampedArray]", uint16Tag$1 = "[object Uint16Array]", uint32Tag$1 = "[object Uint32Array]";
1899
+ /**
1900
+ * Initializes an object clone based on its `toStringTag`.
1901
+ *
1902
+ * **Note:** This function only supports cloning values with tags of
1903
+ * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.
1904
+ *
1905
+ * @private
1906
+ * @param {Object} object The object to clone.
1907
+ * @param {string} tag The `toStringTag` of the object to clone.
1908
+ * @param {boolean} [isDeep] Specify a deep clone.
1909
+ * @returns {Object} Returns the initialized clone.
1910
+ */
718
1911
  function initCloneByTag(object, tag, isDeep) {
719
- var Ctor = object.constructor;
720
- switch (tag) {
721
- case arrayBufferTag$1:
722
- return cloneArrayBuffer(object);
723
- case boolTag$1:
724
- case dateTag$1:
725
- return new Ctor(+object);
726
- case dataViewTag$1:
727
- return cloneDataView(object);
728
- case float32Tag$1:
729
- case float64Tag$1:
730
- case int8Tag$1:
731
- case int16Tag$1:
732
- case int32Tag$1:
733
- case uint8Tag$1:
734
- case uint8ClampedTag$1:
735
- case uint16Tag$1:
736
- case uint32Tag$1:
737
- return cloneTypedArray(object);
738
- case mapTag$3:
739
- return new Ctor();
740
- case numberTag$1:
741
- case stringTag$1:
742
- return new Ctor(object);
743
- case regexpTag$1:
744
- return cloneRegExp(object);
745
- case setTag$3:
746
- return new Ctor();
747
- case symbolTag$1:
748
- return cloneSymbol(object);
749
- }
750
- }
1912
+ var Ctor = object.constructor;
1913
+ switch (tag) {
1914
+ case arrayBufferTag$1: return cloneArrayBuffer(object);
1915
+ case boolTag$1:
1916
+ case dateTag$1: return new Ctor(+object);
1917
+ case dataViewTag$1: return cloneDataView(object, isDeep);
1918
+ case float32Tag$1:
1919
+ case float64Tag$1:
1920
+ case int8Tag$1:
1921
+ case int16Tag$1:
1922
+ case int32Tag$1:
1923
+ case uint8Tag$1:
1924
+ case uint8ClampedTag$1:
1925
+ case uint16Tag$1:
1926
+ case uint32Tag$1: return cloneTypedArray(object, isDeep);
1927
+ case mapTag$3: return new Ctor();
1928
+ case numberTag$1:
1929
+ case stringTag$1: return new Ctor(object);
1930
+ case regexpTag$1: return cloneRegExp(object);
1931
+ case setTag$3: return new Ctor();
1932
+ case symbolTag$1: return cloneSymbol(object);
1933
+ }
1934
+ }
1935
+ //#endregion
1936
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js
1937
+ /**
1938
+ * Initializes an object clone.
1939
+ *
1940
+ * @private
1941
+ * @param {Object} object The object to clone.
1942
+ * @returns {Object} Returns the initialized clone.
1943
+ */
751
1944
  function initCloneObject(object) {
752
- return typeof object.constructor == "function" && !isPrototype(object) ? baseCreate(getPrototype(object)) : {};
1945
+ return typeof object.constructor == "function" && !isPrototype(object) ? baseCreate(getPrototype(object)) : {};
753
1946
  }
1947
+ //#endregion
1948
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js
1949
+ /** `Object#toString` result references. */
754
1950
  var mapTag$2 = "[object Map]";
1951
+ /**
1952
+ * The base implementation of `_.isMap` without Node.js optimizations.
1953
+ *
1954
+ * @private
1955
+ * @param {*} value The value to check.
1956
+ * @returns {boolean} Returns `true` if `value` is a map, else `false`.
1957
+ */
755
1958
  function baseIsMap(value) {
756
- return isObjectLike(value) && getTag(value) == mapTag$2;
1959
+ return isObjectLike(value) && _getTag_default(value) == mapTag$2;
757
1960
  }
1961
+ //#endregion
1962
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isMap.js
758
1963
  var nodeIsMap = nodeUtil && nodeUtil.isMap;
1964
+ /**
1965
+ * Checks if `value` is classified as a `Map` object.
1966
+ *
1967
+ * @static
1968
+ * @memberOf _
1969
+ * @since 4.3.0
1970
+ * @category Lang
1971
+ * @param {*} value The value to check.
1972
+ * @returns {boolean} Returns `true` if `value` is a map, else `false`.
1973
+ * @example
1974
+ *
1975
+ * _.isMap(new Map);
1976
+ * // => true
1977
+ *
1978
+ * _.isMap(new WeakMap);
1979
+ * // => false
1980
+ */
759
1981
  var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;
1982
+ //#endregion
1983
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.js
1984
+ /** `Object#toString` result references. */
760
1985
  var setTag$2 = "[object Set]";
1986
+ /**
1987
+ * The base implementation of `_.isSet` without Node.js optimizations.
1988
+ *
1989
+ * @private
1990
+ * @param {*} value The value to check.
1991
+ * @returns {boolean} Returns `true` if `value` is a set, else `false`.
1992
+ */
761
1993
  function baseIsSet(value) {
762
- return isObjectLike(value) && getTag(value) == setTag$2;
1994
+ return isObjectLike(value) && _getTag_default(value) == setTag$2;
763
1995
  }
1996
+ //#endregion
1997
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSet.js
764
1998
  var nodeIsSet = nodeUtil && nodeUtil.isSet;
1999
+ /**
2000
+ * Checks if `value` is classified as a `Set` object.
2001
+ *
2002
+ * @static
2003
+ * @memberOf _
2004
+ * @since 4.3.0
2005
+ * @category Lang
2006
+ * @param {*} value The value to check.
2007
+ * @returns {boolean} Returns `true` if `value` is a set, else `false`.
2008
+ * @example
2009
+ *
2010
+ * _.isSet(new Set);
2011
+ * // => true
2012
+ *
2013
+ * _.isSet(new WeakSet);
2014
+ * // => false
2015
+ */
765
2016
  var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;
2017
+ //#endregion
2018
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js
2019
+ /** Used to compose bitmasks for cloning. */
2020
+ var CLONE_DEEP_FLAG$1 = 1, CLONE_FLAT_FLAG = 2, CLONE_SYMBOLS_FLAG$1 = 4;
2021
+ /** `Object#toString` result references. */
766
2022
  var argsTag = "[object Arguments]", arrayTag = "[object Array]", boolTag = "[object Boolean]", dateTag = "[object Date]", errorTag = "[object Error]", funcTag = "[object Function]", genTag = "[object GeneratorFunction]", mapTag$1 = "[object Map]", numberTag = "[object Number]", objectTag = "[object Object]", regexpTag = "[object RegExp]", setTag$1 = "[object Set]", stringTag = "[object String]", symbolTag = "[object Symbol]", weakMapTag = "[object WeakMap]";
767
2023
  var arrayBufferTag = "[object ArrayBuffer]", dataViewTag = "[object DataView]", float32Tag = "[object Float32Array]", float64Tag = "[object Float64Array]", int8Tag = "[object Int8Array]", int16Tag = "[object Int16Array]", int32Tag = "[object Int32Array]", uint8Tag = "[object Uint8Array]", uint8ClampedTag = "[object Uint8ClampedArray]", uint16Tag = "[object Uint16Array]", uint32Tag = "[object Uint32Array]";
2024
+ /** Used to identify `toStringTag` values supported by `_.clone`. */
768
2025
  var cloneableTags = {};
769
2026
  cloneableTags[argsTag] = cloneableTags[arrayTag] = cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] = cloneableTags[boolTag] = cloneableTags[dateTag] = cloneableTags[float32Tag] = cloneableTags[float64Tag] = cloneableTags[int8Tag] = cloneableTags[int16Tag] = cloneableTags[int32Tag] = cloneableTags[mapTag$1] = cloneableTags[numberTag] = cloneableTags[objectTag] = cloneableTags[regexpTag] = cloneableTags[setTag$1] = cloneableTags[stringTag] = cloneableTags[symbolTag] = cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] = cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
770
2027
  cloneableTags[errorTag] = cloneableTags[funcTag] = cloneableTags[weakMapTag] = false;
2028
+ /**
2029
+ * The base implementation of `_.clone` and `_.cloneDeep` which tracks
2030
+ * traversed objects.
2031
+ *
2032
+ * @private
2033
+ * @param {*} value The value to clone.
2034
+ * @param {boolean} bitmask The bitmask flags.
2035
+ * 1 - Deep clone
2036
+ * 2 - Flatten inherited properties
2037
+ * 4 - Clone symbols
2038
+ * @param {Function} [customizer] The function to customize cloning.
2039
+ * @param {string} [key] The key of `value`.
2040
+ * @param {Object} [object] The parent object of `value`.
2041
+ * @param {Object} [stack] Tracks traversed objects and their clone counterparts.
2042
+ * @returns {*} Returns the cloned value.
2043
+ */
771
2044
  function baseClone(value, bitmask, customizer, key, object, stack) {
772
- var result;
773
- if (result !== void 0) {
774
- return result;
775
- }
776
- if (!isObject(value)) {
777
- return value;
778
- }
779
- var isArr = isArray(value);
780
- if (isArr) {
781
- result = initCloneArray(value);
782
- } else {
783
- var tag = getTag(value), isFunc = tag == funcTag || tag == genTag;
784
- if (isBuffer(value)) {
785
- return cloneBuffer(value);
786
- }
787
- if (tag == objectTag || tag == argsTag || isFunc && !object) {
788
- result = isFunc ? {} : initCloneObject(value);
789
- } else {
790
- if (!cloneableTags[tag]) {
791
- return object ? value : {};
792
- }
793
- result = initCloneByTag(value, tag);
794
- }
795
- }
796
- stack || (stack = new Stack());
797
- var stacked = stack.get(value);
798
- if (stacked) {
799
- return stacked;
800
- }
801
- stack.set(value, result);
802
- if (isSet(value)) {
803
- value.forEach(function(subValue) {
804
- result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));
805
- });
806
- } else if (isMap(value)) {
807
- value.forEach(function(subValue, key2) {
808
- result.set(key2, baseClone(subValue, bitmask, customizer, key2, value, stack));
809
- });
810
- }
811
- var keysFunc = getAllKeys;
812
- var props = isArr ? void 0 : keysFunc(value);
813
- arrayEach(props || value, function(subValue, key2) {
814
- if (props) {
815
- key2 = subValue;
816
- subValue = value[key2];
817
- }
818
- assignValue(result, key2, baseClone(subValue, bitmask, customizer, key2, value, stack));
819
- });
820
- return result;
821
- }
2045
+ var result, isDeep = bitmask & CLONE_DEEP_FLAG$1, isFlat = bitmask & CLONE_FLAT_FLAG, isFull = bitmask & CLONE_SYMBOLS_FLAG$1;
2046
+ if (customizer) result = object ? customizer(value, key, object, stack) : customizer(value);
2047
+ if (result !== void 0) return result;
2048
+ if (!isObject(value)) return value;
2049
+ var isArr = isArray(value);
2050
+ if (isArr) {
2051
+ result = initCloneArray(value);
2052
+ if (!isDeep) return copyArray(value, result);
2053
+ } else {
2054
+ var tag = _getTag_default(value), isFunc = tag == funcTag || tag == genTag;
2055
+ if (isBuffer(value)) return cloneBuffer(value, isDeep);
2056
+ if (tag == objectTag || tag == argsTag || isFunc && !object) {
2057
+ result = isFlat || isFunc ? {} : initCloneObject(value);
2058
+ if (!isDeep) return isFlat ? copySymbolsIn(value, baseAssignIn(result, value)) : copySymbols(value, baseAssign(result, value));
2059
+ } else {
2060
+ if (!cloneableTags[tag]) return object ? value : {};
2061
+ result = initCloneByTag(value, tag, isDeep);
2062
+ }
2063
+ }
2064
+ stack || (stack = new Stack());
2065
+ var stacked = stack.get(value);
2066
+ if (stacked) return stacked;
2067
+ stack.set(value, result);
2068
+ if (isSet(value)) value.forEach(function(subValue) {
2069
+ result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));
2070
+ });
2071
+ else if (isMap(value)) value.forEach(function(subValue, key) {
2072
+ result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));
2073
+ });
2074
+ var props = isArr ? void 0 : (isFull ? isFlat ? getAllKeysIn : getAllKeys : isFlat ? keysIn : keys)(value);
2075
+ arrayEach(props || value, function(subValue, key) {
2076
+ if (props) {
2077
+ key = subValue;
2078
+ subValue = value[key];
2079
+ }
2080
+ assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));
2081
+ });
2082
+ return result;
2083
+ }
2084
+ //#endregion
2085
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js
2086
+ /** Used to compose bitmasks for cloning. */
822
2087
  var CLONE_DEEP_FLAG = 1, CLONE_SYMBOLS_FLAG = 4;
2088
+ /**
2089
+ * This method is like `_.clone` except that it recursively clones `value`.
2090
+ *
2091
+ * @static
2092
+ * @memberOf _
2093
+ * @since 1.0.0
2094
+ * @category Lang
2095
+ * @param {*} value The value to recursively clone.
2096
+ * @returns {*} Returns the deep cloned value.
2097
+ * @see _.clone
2098
+ * @example
2099
+ *
2100
+ * var objects = [{ 'a': 1 }, { 'b': 2 }];
2101
+ *
2102
+ * var deep = _.cloneDeep(objects);
2103
+ * console.log(deep[0] === objects[0]);
2104
+ * // => false
2105
+ */
823
2106
  function cloneDeep(value) {
824
- return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);
825
- }
2107
+ return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);
2108
+ }
2109
+ //#endregion
2110
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/now.js
2111
+ /**
2112
+ * Gets the timestamp of the number of milliseconds that have elapsed since
2113
+ * the Unix epoch (1 January 1970 00:00:00 UTC).
2114
+ *
2115
+ * @static
2116
+ * @memberOf _
2117
+ * @since 2.4.0
2118
+ * @category Date
2119
+ * @returns {number} Returns the timestamp.
2120
+ * @example
2121
+ *
2122
+ * _.defer(function(stamp) {
2123
+ * console.log(_.now() - stamp);
2124
+ * }, _.now());
2125
+ * // => Logs the number of milliseconds it took for the deferred invocation.
2126
+ */
826
2127
  var now = function() {
827
- return root.Date.now();
2128
+ return root.Date.now();
828
2129
  };
2130
+ //#endregion
2131
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/debounce.js
2132
+ /** Error message constants. */
829
2133
  var FUNC_ERROR_TEXT = "Expected a function";
830
2134
  var nativeMax = Math.max, nativeMin = Math.min;
2135
+ /**
2136
+ * Creates a debounced function that delays invoking `func` until after `wait`
2137
+ * milliseconds have elapsed since the last time the debounced function was
2138
+ * invoked. The debounced function comes with a `cancel` method to cancel
2139
+ * delayed `func` invocations and a `flush` method to immediately invoke them.
2140
+ * Provide `options` to indicate whether `func` should be invoked on the
2141
+ * leading and/or trailing edge of the `wait` timeout. The `func` is invoked
2142
+ * with the last arguments provided to the debounced function. Subsequent
2143
+ * calls to the debounced function return the result of the last `func`
2144
+ * invocation.
2145
+ *
2146
+ * **Note:** If `leading` and `trailing` options are `true`, `func` is
2147
+ * invoked on the trailing edge of the timeout only if the debounced function
2148
+ * is invoked more than once during the `wait` timeout.
2149
+ *
2150
+ * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
2151
+ * until to the next tick, similar to `setTimeout` with a timeout of `0`.
2152
+ *
2153
+ * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
2154
+ * for details over the differences between `_.debounce` and `_.throttle`.
2155
+ *
2156
+ * @static
2157
+ * @memberOf _
2158
+ * @since 0.1.0
2159
+ * @category Function
2160
+ * @param {Function} func The function to debounce.
2161
+ * @param {number} [wait=0] The number of milliseconds to delay.
2162
+ * @param {Object} [options={}] The options object.
2163
+ * @param {boolean} [options.leading=false]
2164
+ * Specify invoking on the leading edge of the timeout.
2165
+ * @param {number} [options.maxWait]
2166
+ * The maximum time `func` is allowed to be delayed before it's invoked.
2167
+ * @param {boolean} [options.trailing=true]
2168
+ * Specify invoking on the trailing edge of the timeout.
2169
+ * @returns {Function} Returns the new debounced function.
2170
+ * @example
2171
+ *
2172
+ * // Avoid costly calculations while the window size is in flux.
2173
+ * jQuery(window).on('resize', _.debounce(calculateLayout, 150));
2174
+ *
2175
+ * // Invoke `sendMail` when clicked, debouncing subsequent calls.
2176
+ * jQuery(element).on('click', _.debounce(sendMail, 300, {
2177
+ * 'leading': true,
2178
+ * 'trailing': false
2179
+ * }));
2180
+ *
2181
+ * // Ensure `batchLog` is invoked once after 1 second of debounced calls.
2182
+ * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });
2183
+ * var source = new EventSource('/stream');
2184
+ * jQuery(source).on('message', debounced);
2185
+ *
2186
+ * // Cancel the trailing debounced invocation.
2187
+ * jQuery(window).on('popstate', debounced.cancel);
2188
+ */
831
2189
  function debounce(func, wait, options) {
832
- var lastArgs, lastThis, maxWait, result, timerId, lastCallTime, lastInvokeTime = 0, leading = false, maxing = false, trailing = true;
833
- if (typeof func != "function") {
834
- throw new TypeError(FUNC_ERROR_TEXT);
835
- }
836
- wait = toNumber(wait) || 0;
837
- if (isObject(options)) {
838
- leading = !!options.leading;
839
- maxing = "maxWait" in options;
840
- maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
841
- trailing = "trailing" in options ? !!options.trailing : trailing;
842
- }
843
- function invokeFunc(time) {
844
- var args = lastArgs, thisArg = lastThis;
845
- lastArgs = lastThis = void 0;
846
- lastInvokeTime = time;
847
- result = func.apply(thisArg, args);
848
- return result;
849
- }
850
- function leadingEdge(time) {
851
- lastInvokeTime = time;
852
- timerId = setTimeout(timerExpired, wait);
853
- return leading ? invokeFunc(time) : result;
854
- }
855
- function remainingWait(time) {
856
- var timeSinceLastCall = time - lastCallTime, timeSinceLastInvoke = time - lastInvokeTime, timeWaiting = wait - timeSinceLastCall;
857
- return maxing ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke) : timeWaiting;
858
- }
859
- function shouldInvoke(time) {
860
- var timeSinceLastCall = time - lastCallTime, timeSinceLastInvoke = time - lastInvokeTime;
861
- return lastCallTime === void 0 || timeSinceLastCall >= wait || timeSinceLastCall < 0 || maxing && timeSinceLastInvoke >= maxWait;
862
- }
863
- function timerExpired() {
864
- var time = now();
865
- if (shouldInvoke(time)) {
866
- return trailingEdge(time);
867
- }
868
- timerId = setTimeout(timerExpired, remainingWait(time));
869
- }
870
- function trailingEdge(time) {
871
- timerId = void 0;
872
- if (trailing && lastArgs) {
873
- return invokeFunc(time);
874
- }
875
- lastArgs = lastThis = void 0;
876
- return result;
877
- }
878
- function cancel() {
879
- if (timerId !== void 0) {
880
- clearTimeout(timerId);
881
- }
882
- lastInvokeTime = 0;
883
- lastArgs = lastCallTime = lastThis = timerId = void 0;
884
- }
885
- function flush() {
886
- return timerId === void 0 ? result : trailingEdge(now());
887
- }
888
- function debounced() {
889
- var time = now(), isInvoking = shouldInvoke(time);
890
- lastArgs = arguments;
891
- lastThis = this;
892
- lastCallTime = time;
893
- if (isInvoking) {
894
- if (timerId === void 0) {
895
- return leadingEdge(lastCallTime);
896
- }
897
- if (maxing) {
898
- clearTimeout(timerId);
899
- timerId = setTimeout(timerExpired, wait);
900
- return invokeFunc(lastCallTime);
901
- }
902
- }
903
- if (timerId === void 0) {
904
- timerId = setTimeout(timerExpired, wait);
905
- }
906
- return result;
907
- }
908
- debounced.cancel = cancel;
909
- debounced.flush = flush;
910
- return debounced;
911
- }
2190
+ var lastArgs, lastThis, maxWait, result, timerId, lastCallTime, lastInvokeTime = 0, leading = false, maxing = false, trailing = true;
2191
+ if (typeof func != "function") throw new TypeError(FUNC_ERROR_TEXT);
2192
+ wait = toNumber(wait) || 0;
2193
+ if (isObject(options)) {
2194
+ leading = !!options.leading;
2195
+ maxing = "maxWait" in options;
2196
+ maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
2197
+ trailing = "trailing" in options ? !!options.trailing : trailing;
2198
+ }
2199
+ function invokeFunc(time) {
2200
+ var args = lastArgs, thisArg = lastThis;
2201
+ lastArgs = lastThis = void 0;
2202
+ lastInvokeTime = time;
2203
+ result = func.apply(thisArg, args);
2204
+ return result;
2205
+ }
2206
+ function leadingEdge(time) {
2207
+ lastInvokeTime = time;
2208
+ timerId = setTimeout(timerExpired, wait);
2209
+ return leading ? invokeFunc(time) : result;
2210
+ }
2211
+ function remainingWait(time) {
2212
+ var timeSinceLastCall = time - lastCallTime, timeSinceLastInvoke = time - lastInvokeTime, timeWaiting = wait - timeSinceLastCall;
2213
+ return maxing ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke) : timeWaiting;
2214
+ }
2215
+ function shouldInvoke(time) {
2216
+ var timeSinceLastCall = time - lastCallTime, timeSinceLastInvoke = time - lastInvokeTime;
2217
+ return lastCallTime === void 0 || timeSinceLastCall >= wait || timeSinceLastCall < 0 || maxing && timeSinceLastInvoke >= maxWait;
2218
+ }
2219
+ function timerExpired() {
2220
+ var time = now();
2221
+ if (shouldInvoke(time)) return trailingEdge(time);
2222
+ timerId = setTimeout(timerExpired, remainingWait(time));
2223
+ }
2224
+ function trailingEdge(time) {
2225
+ timerId = void 0;
2226
+ if (trailing && lastArgs) return invokeFunc(time);
2227
+ lastArgs = lastThis = void 0;
2228
+ return result;
2229
+ }
2230
+ function cancel() {
2231
+ if (timerId !== void 0) clearTimeout(timerId);
2232
+ lastInvokeTime = 0;
2233
+ lastArgs = lastCallTime = lastThis = timerId = void 0;
2234
+ }
2235
+ function flush() {
2236
+ return timerId === void 0 ? result : trailingEdge(now());
2237
+ }
2238
+ function debounced() {
2239
+ var time = now(), isInvoking = shouldInvoke(time);
2240
+ lastArgs = arguments;
2241
+ lastThis = this;
2242
+ lastCallTime = time;
2243
+ if (isInvoking) {
2244
+ if (timerId === void 0) return leadingEdge(lastCallTime);
2245
+ if (maxing) {
2246
+ clearTimeout(timerId);
2247
+ timerId = setTimeout(timerExpired, wait);
2248
+ return invokeFunc(lastCallTime);
2249
+ }
2250
+ }
2251
+ if (timerId === void 0) timerId = setTimeout(timerExpired, wait);
2252
+ return result;
2253
+ }
2254
+ debounced.cancel = cancel;
2255
+ debounced.flush = flush;
2256
+ return debounced;
2257
+ }
2258
+ //#endregion
2259
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js
2260
+ /** `Object#toString` result references. */
912
2261
  var mapTag = "[object Map]", setTag = "[object Set]";
913
- var objectProto = Object.prototype;
914
- var hasOwnProperty = objectProto.hasOwnProperty;
2262
+ /** Used to check objects for own properties. */
2263
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
2264
+ /**
2265
+ * Checks if `value` is an empty object, collection, map, or set.
2266
+ *
2267
+ * Objects are considered empty if they have no own enumerable string keyed
2268
+ * properties.
2269
+ *
2270
+ * Array-like values such as `arguments` objects, arrays, buffers, strings, or
2271
+ * jQuery-like collections are considered empty if they have a `length` of `0`.
2272
+ * Similarly, maps and sets are considered empty if they have a `size` of `0`.
2273
+ *
2274
+ * @static
2275
+ * @memberOf _
2276
+ * @since 0.1.0
2277
+ * @category Lang
2278
+ * @param {*} value The value to check.
2279
+ * @returns {boolean} Returns `true` if `value` is empty, else `false`.
2280
+ * @example
2281
+ *
2282
+ * _.isEmpty(null);
2283
+ * // => true
2284
+ *
2285
+ * _.isEmpty(true);
2286
+ * // => true
2287
+ *
2288
+ * _.isEmpty(1);
2289
+ * // => true
2290
+ *
2291
+ * _.isEmpty([1, 2, 3]);
2292
+ * // => false
2293
+ *
2294
+ * _.isEmpty({ 'a': 1 });
2295
+ * // => false
2296
+ */
915
2297
  function isEmpty(value) {
916
- if (value == null) {
917
- return true;
918
- }
919
- if (isArrayLike(value) && (isArray(value) || typeof value == "string" || typeof value.splice == "function" || isBuffer(value) || isTypedArray(value) || isArguments(value))) {
920
- return !value.length;
921
- }
922
- var tag = getTag(value);
923
- if (tag == mapTag || tag == setTag) {
924
- return !value.size;
925
- }
926
- if (isPrototype(value)) {
927
- return !baseKeys(value).length;
928
- }
929
- for (var key in value) {
930
- if (hasOwnProperty.call(value, key)) {
931
- return false;
932
- }
933
- }
934
- return true;
935
- }
936
- const _hoisted_1 = { class: "text-subtitle-2" };
937
- const _hoisted_2 = { class: "pa-6 text-center" };
938
- const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
939
- __name: "Edit",
940
- props: {
941
- element: {},
942
- embedElementConfig: {},
943
- isDragged: { type: Boolean },
944
- isFocused: { type: Boolean },
945
- isReadonly: { type: Boolean }
946
- },
947
- emits: ["save"],
948
- setup(__props, { emit: __emit }) {
949
- const emit = __emit;
950
- const props = __props;
951
- const elementBus = vue.inject("$elementBus");
952
- const elementData = vue.reactive(cloneDeep(props.element.data));
953
- const saveEmbed = (embeds) => {
954
- elementData.embeds = embeds;
955
- emit("save", elementData);
956
- };
957
- const deleteEmbed = (embed) => {
958
- delete elementData.embeds[embed.id];
959
- emit("save", elementData);
960
- };
961
- const hasElements = vue.computed(() => !isEmpty(props.element.data.embeds));
962
- elementBus.on("title", (title) => {
963
- elementData.title = title;
964
- emit("save", elementData);
965
- });
966
- return (_ctx, _cache) => {
967
- const _component_VIcon = vue.resolveComponent("VIcon");
968
- const _component_VToolbar = vue.resolveComponent("VToolbar");
969
- const _component_VAlert = vue.resolveComponent("VAlert");
970
- const _component_TailorEmbeddedContainer = vue.resolveComponent("TailorEmbeddedContainer");
971
- const _component_VCard = vue.resolveComponent("VCard");
972
- return vue.openBlock(), vue.createBlock(_component_VCard, {
973
- class: "tce-modal my-2",
974
- color: "grey-lighten-5"
975
- }, {
976
- default: vue.withCtx(() => [
977
- vue.createVNode(_component_VToolbar, {
978
- class: "px-4",
979
- color: "primary-darken-2",
980
- height: "36"
981
- }, {
982
- default: vue.withCtx(() => [
983
- vue.createVNode(_component_VIcon, {
984
- icon: vue.unref(index_default).ui.icon,
985
- color: "secondary-lighten-2",
986
- size: "18",
987
- start: ""
988
- }, null, 8, ["icon"]),
989
- vue.createElementVNode("span", _hoisted_1, vue.toDisplayString(vue.unref(index_default).name), 1)
990
- ]),
991
- _: 1
992
- }),
993
- vue.createElementVNode("div", _hoisted_2, [
994
- !hasElements.value ? (vue.openBlock(), vue.createBlock(_component_VAlert, {
995
- key: 0,
996
- color: "primary-darken-1",
997
- icon: "mdi-information-outline",
998
- variant: "tonal",
999
- prominent: ""
1000
- }, {
1001
- default: vue.withCtx(() => _cache[2] || (_cache[2] = [
1002
- vue.createTextVNode(" Click the button below to add content element. ")
1003
- ])),
1004
- _: 1,
1005
- __: [2]
1006
- })) : vue.createCommentVNode("", true),
1007
- vue.createVNode(_component_TailorEmbeddedContainer, {
1008
- "allowed-element-config": _ctx.embedElementConfig,
1009
- container: _ctx.element.data,
1010
- "is-disabled": _ctx.isReadonly,
1011
- onDelete: _cache[0] || (_cache[0] = ($event) => deleteEmbed($event)),
1012
- onSave: _cache[1] || (_cache[1] = ($event) => saveEmbed($event.embeds))
1013
- }, null, 8, ["allowed-element-config", "container", "is-disabled"])
1014
- ])
1015
- ]),
1016
- _: 1
1017
- });
1018
- };
1019
- }
2298
+ if (value == null) return true;
2299
+ if (isArrayLike(value) && (isArray(value) || typeof value == "string" || typeof value.splice == "function" || isBuffer(value) || isTypedArray(value) || isArguments(value))) return !value.length;
2300
+ var tag = _getTag_default(value);
2301
+ if (tag == mapTag || tag == setTag) return !value.size;
2302
+ if (isPrototype(value)) return !baseKeys(value).length;
2303
+ for (var key in value) if (hasOwnProperty.call(value, key)) return false;
2304
+ return true;
2305
+ }
2306
+ //#endregion
2307
+ //#region src/components/Edit.vue?vue&type=script&setup=true&lang.ts
2308
+ var _hoisted_1 = { class: "text-title-small" };
2309
+ var _hoisted_2 = { class: "pa-6 text-center" };
2310
+ var Edit_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, vue.defineComponent)({
2311
+ __name: "Edit",
2312
+ props: {
2313
+ element: {},
2314
+ embedElementConfig: {},
2315
+ isDragged: { type: Boolean },
2316
+ isFocused: { type: Boolean },
2317
+ isReadonly: { type: Boolean }
2318
+ },
2319
+ emits: ["save"],
2320
+ setup(__props, { emit: __emit }) {
2321
+ const emit = __emit;
2322
+ const props = __props;
2323
+ const elementBus = (0, vue.inject)("$elementBus");
2324
+ const saveEmbed = (embeds) => {
2325
+ const data = cloneDeep(props.element.data);
2326
+ data.embeds = embeds;
2327
+ emit("save", data);
2328
+ };
2329
+ const deleteEmbed = (embed) => {
2330
+ const data = cloneDeep(props.element.data);
2331
+ delete data.embeds[embed.id];
2332
+ emit("save", data);
2333
+ };
2334
+ const hasElements = (0, vue.computed)(() => !isEmpty(props.element.data.embeds));
2335
+ elementBus.on("title", (title) => {
2336
+ emit("save", {
2337
+ ...props.element.data,
2338
+ title
2339
+ });
2340
+ });
2341
+ return (_ctx, _cache) => {
2342
+ const _component_VIcon = (0, vue.resolveComponent)("VIcon");
2343
+ const _component_VToolbar = (0, vue.resolveComponent)("VToolbar");
2344
+ const _component_VAlert = (0, vue.resolveComponent)("VAlert");
2345
+ const _component_TailorEmbeddedContainer = (0, vue.resolveComponent)("TailorEmbeddedContainer");
2346
+ const _component_VCard = (0, vue.resolveComponent)("VCard");
2347
+ return (0, vue.openBlock)(), (0, vue.createBlock)(_component_VCard, {
2348
+ class: "tce-modal my-2",
2349
+ color: "grey-lighten-5"
2350
+ }, {
2351
+ default: (0, vue.withCtx)(() => [(0, vue.createVNode)(_component_VToolbar, {
2352
+ class: "px-4",
2353
+ color: "primary-darken-2",
2354
+ height: "36"
2355
+ }, {
2356
+ default: (0, vue.withCtx)(() => [(0, vue.createVNode)(_component_VIcon, {
2357
+ icon: (0, vue.unref)(manifest$1).ui.icon,
2358
+ color: "secondary-lighten-2",
2359
+ size: "18",
2360
+ start: ""
2361
+ }, null, 8, ["icon"]), (0, vue.createElementVNode)("span", _hoisted_1, (0, vue.toDisplayString)((0, vue.unref)(manifest$1).name), 1)]),
2362
+ _: 1
2363
+ }), (0, vue.createElementVNode)("div", _hoisted_2, [!hasElements.value ? ((0, vue.openBlock)(), (0, vue.createBlock)(_component_VAlert, {
2364
+ key: 0,
2365
+ color: "primary-darken-1",
2366
+ icon: "mdi-information-outline",
2367
+ variant: "tonal",
2368
+ prominent: ""
2369
+ }, {
2370
+ default: (0, vue.withCtx)(() => [..._cache[2] || (_cache[2] = [(0, vue.createTextVNode)(" Click the button below to add content element. ", -1)])]),
2371
+ _: 1
2372
+ })) : (0, vue.createCommentVNode)("", true), (0, vue.createVNode)(_component_TailorEmbeddedContainer, {
2373
+ "allowed-element-config": __props.embedElementConfig,
2374
+ container: __props.element.data,
2375
+ "is-readonly": __props.isReadonly,
2376
+ onDelete: _cache[0] || (_cache[0] = ($event) => deleteEmbed($event)),
2377
+ onSave: _cache[1] || (_cache[1] = ($event) => saveEmbed($event.embeds))
2378
+ }, null, 8, [
2379
+ "allowed-element-config",
2380
+ "container",
2381
+ "is-readonly"
2382
+ ])])]),
2383
+ _: 1
2384
+ });
2385
+ };
2386
+ }
1020
2387
  });
1021
- const _export_sfc = (sfc, props) => {
1022
- const target = sfc.__vccOpts || sfc;
1023
- for (const [key, val] of props) {
1024
- target[key] = val;
1025
- }
1026
- return target;
2388
+ //#endregion
2389
+ //#region \0plugin-vue:export-helper
2390
+ var _plugin_vue_export_helper_default = (sfc, props) => {
2391
+ const target = sfc.__vccOpts || sfc;
2392
+ for (const [key, val] of props) target[key] = val;
2393
+ return target;
1027
2394
  };
1028
- const Edit = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-81a40faa"]]);
1029
- const _sfc_main = /* @__PURE__ */ vue.defineComponent({
1030
- __name: "TopToolbar",
1031
- props: {
1032
- element: {}
1033
- },
1034
- setup(__props) {
1035
- const props = __props;
1036
- const elementBus = vue.inject("$elementBus");
1037
- const form = vue.ref();
1038
- const title = vue.ref(props.element.data.title);
1039
- vue.watch(
1040
- title,
1041
- debounce(async () => {
1042
- if (!form.value) return;
1043
- const { valid } = await form.value.validate();
1044
- if (valid) return elementBus.emit("title", title.value);
1045
- }, 500)
1046
- );
1047
- return (_ctx, _cache) => {
1048
- const _component_VTextField = vue.resolveComponent("VTextField");
1049
- const _component_VToolbarItems = vue.resolveComponent("VToolbarItems");
1050
- const _component_VForm = vue.resolveComponent("VForm");
1051
- return vue.openBlock(), vue.createBlock(_component_VForm, {
1052
- ref_key: "form",
1053
- ref: form,
1054
- "validate-on": "submit"
1055
- }, {
1056
- default: vue.withCtx(() => [
1057
- vue.createVNode(_component_VToolbarItems, { class: "ga-2" }, {
1058
- default: vue.withCtx(() => [
1059
- vue.createVNode(_component_VTextField, {
1060
- modelValue: title.value,
1061
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => title.value = $event),
1062
- class: "required ml-2",
1063
- "hide-details": "auto",
1064
- label: "Button label",
1065
- "min-width": "200",
1066
- "prepend-inner-icon": "mdi-gesture-tap-button",
1067
- variant: "outlined"
1068
- }, null, 8, ["modelValue"])
1069
- ]),
1070
- _: 1
1071
- })
1072
- ]),
1073
- _: 1
1074
- }, 512);
1075
- };
1076
- }
2395
+ //#endregion
2396
+ //#region src/components/Edit.vue
2397
+ var Edit_default = /* @__PURE__ */ _plugin_vue_export_helper_default(Edit_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-26a760fe"]]);
2398
+ //#endregion
2399
+ //#region src/components/TopToolbar.vue
2400
+ var TopToolbar_default = /* @__PURE__ */ (0, vue.defineComponent)({
2401
+ __name: "TopToolbar",
2402
+ props: { element: {} },
2403
+ setup(__props) {
2404
+ const props = __props;
2405
+ const elementBus = (0, vue.inject)("$elementBus");
2406
+ const form = (0, vue.ref)();
2407
+ const title = (0, vue.ref)(props.element.data.title);
2408
+ (0, vue.watch)(title, debounce(async () => {
2409
+ if (!form.value) return;
2410
+ const { valid } = await form.value.validate();
2411
+ if (valid) return elementBus.emit("title", title.value);
2412
+ }, 500));
2413
+ return (_ctx, _cache) => {
2414
+ const _component_VTextField = (0, vue.resolveComponent)("VTextField");
2415
+ const _component_VToolbarItems = (0, vue.resolveComponent)("VToolbarItems");
2416
+ const _component_VForm = (0, vue.resolveComponent)("VForm");
2417
+ return (0, vue.openBlock)(), (0, vue.createBlock)(_component_VForm, {
2418
+ ref_key: "form",
2419
+ ref: form,
2420
+ "validate-on": "submit"
2421
+ }, {
2422
+ default: (0, vue.withCtx)(() => [(0, vue.createVNode)(_component_VToolbarItems, { class: "ga-2" }, {
2423
+ default: (0, vue.withCtx)(() => [(0, vue.createVNode)(_component_VTextField, {
2424
+ modelValue: title.value,
2425
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => title.value = $event),
2426
+ class: "required ml-2",
2427
+ "hide-details": "auto",
2428
+ label: "Button label",
2429
+ "min-width": "200",
2430
+ "prepend-inner-icon": "mdi-gesture-tap-button",
2431
+ variant: "outlined"
2432
+ }, null, 8, ["modelValue"])]),
2433
+ _: 1
2434
+ })]),
2435
+ _: 1
2436
+ }, 512);
2437
+ };
2438
+ }
1077
2439
  });
1078
- const manifest = {
1079
- ...index_default,
1080
- Edit,
1081
- TopToolbar: _sfc_main
2440
+ //#endregion
2441
+ //#region src/index.ts
2442
+ var manifest = {
2443
+ ...manifest$1,
2444
+ Edit: Edit_default,
2445
+ TopToolbar: TopToolbar_default
1082
2446
  };
1083
- exports.Edit = Edit;
1084
- exports.TopToolbar = _sfc_main;
2447
+ //#endregion
2448
+ exports.Edit = Edit_default;
2449
+ exports.TopToolbar = TopToolbar_default;
1085
2450
  exports.default = manifest;