@windwalker-io/unicorn-next 0.1.19 → 0.1.21

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.
Files changed (107) hide show
  1. package/dist/chunks/_arrayPush.js +325 -108
  2. package/dist/chunks/_arrayPush.js.map +1 -1
  3. package/dist/chunks/_baseRest.js +155 -60
  4. package/dist/chunks/_baseRest.js.map +1 -1
  5. package/dist/chunks/_baseUnary.js +463 -0
  6. package/dist/chunks/_baseUnary.js.map +1 -0
  7. package/dist/chunks/_getPrototype.js +292 -100
  8. package/dist/chunks/_getPrototype.js.map +1 -1
  9. package/dist/chunks/alert-adapter.js +29 -0
  10. package/dist/chunks/alert-adapter.js.map +1 -0
  11. package/dist/chunks/alert.js +21 -0
  12. package/dist/chunks/alert.js.map +1 -0
  13. package/dist/chunks/arr.js +24 -0
  14. package/dist/chunks/arr.js.map +1 -0
  15. package/dist/chunks/button-radio.js +127 -145
  16. package/dist/chunks/button-radio.js.map +1 -1
  17. package/dist/chunks/checkboxes-multi-select.js +44 -43
  18. package/dist/chunks/checkboxes-multi-select.js.map +1 -1
  19. package/dist/chunks/chunk.js +24 -0
  20. package/dist/chunks/cloneDeep.js +679 -212
  21. package/dist/chunks/cloneDeep.js.map +1 -1
  22. package/dist/chunks/cropper.min.js +6 -5
  23. package/dist/chunks/cropper.min.js.map +1 -1
  24. package/dist/chunks/crypto.js +26 -0
  25. package/dist/chunks/crypto.js.map +1 -0
  26. package/dist/chunks/data.js +49 -0
  27. package/dist/chunks/data.js.map +1 -0
  28. package/dist/chunks/dom.js +128 -0
  29. package/dist/chunks/dom.js.map +1 -0
  30. package/dist/chunks/events.js +270 -0
  31. package/dist/chunks/events.js.map +1 -0
  32. package/dist/chunks/field-cascade-select.js +207 -250
  33. package/dist/chunks/field-cascade-select.js.map +1 -1
  34. package/dist/chunks/field-file-drag.js +175 -209
  35. package/dist/chunks/field-file-drag.js.map +1 -1
  36. package/dist/chunks/field-flatpickr.js +94 -898
  37. package/dist/chunks/field-flatpickr.js.map +1 -1
  38. package/dist/chunks/field-modal-select.js +728 -467
  39. package/dist/chunks/field-modal-select.js.map +1 -1
  40. package/dist/chunks/field-modal-tree.js +771 -766
  41. package/dist/chunks/field-modal-tree.js.map +1 -1
  42. package/dist/chunks/field-multi-uploader.js +249 -256
  43. package/dist/chunks/field-multi-uploader.js.map +1 -1
  44. package/dist/chunks/field-repeatable.js +111 -127
  45. package/dist/chunks/field-repeatable.js.map +1 -1
  46. package/dist/chunks/field-single-image-drag.js +286 -338
  47. package/dist/chunks/field-single-image-drag.js.map +1 -1
  48. package/dist/chunks/form.js +146 -159
  49. package/dist/chunks/form.js.map +1 -1
  50. package/dist/chunks/grid.js +349 -418
  51. package/dist/chunks/grid.js.map +1 -1
  52. package/dist/chunks/helper.js +39 -0
  53. package/dist/chunks/helper.js.map +1 -0
  54. package/dist/chunks/http-client.js +221 -211
  55. package/dist/chunks/http-client.js.map +1 -1
  56. package/dist/chunks/iframe-modal.js +95 -115
  57. package/dist/chunks/iframe-modal.js.map +1 -1
  58. package/dist/chunks/keep-tab.js +92 -101
  59. package/dist/chunks/keep-tab.js.map +1 -1
  60. package/dist/chunks/lang.js +250 -0
  61. package/dist/chunks/lang.js.map +1 -0
  62. package/dist/chunks/legacy.js +197 -201
  63. package/dist/chunks/legacy.js.map +1 -1
  64. package/dist/chunks/list-dependent.js +195 -228
  65. package/dist/chunks/list-dependent.js.map +1 -1
  66. package/dist/chunks/loader.js +106 -0
  67. package/dist/chunks/loader.js.map +1 -0
  68. package/dist/chunks/monthSelect.js +251 -0
  69. package/dist/chunks/monthSelect.js.map +1 -0
  70. package/dist/chunks/router.js +111 -0
  71. package/dist/chunks/router.js.map +1 -0
  72. package/dist/chunks/s3-multipart-uploader.js +183 -210
  73. package/dist/chunks/s3-multipart-uploader.js.map +1 -1
  74. package/dist/chunks/s3-uploader.js +106 -128
  75. package/dist/chunks/s3-uploader.js.map +1 -1
  76. package/dist/chunks/show-on.js +358 -205
  77. package/dist/chunks/show-on.js.map +1 -1
  78. package/dist/chunks/timing.js +10 -0
  79. package/dist/chunks/timing.js.map +1 -0
  80. package/dist/chunks/tinymce.js +153 -203
  81. package/dist/chunks/tinymce.js.map +1 -1
  82. package/dist/chunks/ui-bootstrap5.js +58 -72
  83. package/dist/chunks/ui-bootstrap5.js.map +1 -1
  84. package/dist/chunks/ui.js +320 -0
  85. package/dist/chunks/ui.js.map +1 -0
  86. package/dist/chunks/unicorn.js.map +1 -1
  87. package/dist/chunks/useQueue.js +111 -0
  88. package/dist/chunks/useQueue.js.map +1 -0
  89. package/dist/chunks/useStack.js +76 -0
  90. package/dist/chunks/useStack.js.map +1 -0
  91. package/dist/chunks/validation.js +761 -853
  92. package/dist/chunks/validation.js.map +1 -1
  93. package/dist/editor.css +1 -1
  94. package/dist/index.d.ts +10 -8
  95. package/dist/multi-level-menu.css +1 -1
  96. package/dist/switcher.css +1 -1
  97. package/dist/unicorn.js +805 -130
  98. package/dist/unicorn.js.map +1 -1
  99. package/package.json +3 -3
  100. package/src/composable/useBsModalAlert.ts +29 -0
  101. package/src/composable/useHttp.ts +13 -1
  102. package/src/module/s3-uploader.ts +1 -1
  103. package/vite.config.ts +5 -1
  104. package/dist/chunks/_commonjsHelpers.js +0 -7
  105. package/dist/chunks/index.js +0 -314
  106. package/dist/chunks/isArguments.js +0 -146
  107. package/dist/chunks/unicorn.js +0 -2621
@@ -1,287 +1,754 @@
1
- import { L as ListCache, M as Map, a as MapCache, b as arrayPush } from "./_arrayPush.js";
2
- import { k as keys, c as isPrototype, g as getPrototype, e as baseUnary, n as nodeUtil, f as isBuffer, a as assignValue } from "./_getPrototype.js";
3
- import { g as getNative, r as root, c as isObject, a as isArray, b as baseGetTag, t as toSource, S as Symbol$1, i as isObjectLike } from "./isArguments.js";
1
+ import { c as toSource, d as isObjectLike, f as baseGetTag, l as isObject, m as root, p as Symbol, r as isArrayLike, s as getNative, t as baseUnary, u as isArray } from "./_baseUnary.js";
2
+ import { a as isBuffer, c as assignValue, i as nodeUtil, n as keys, o as isPrototype, r as arrayLikeKeys, s as copyObject, t as getPrototype, u as arrayEach } from "./_getPrototype.js";
3
+ import { i as ListCache, n as MapCache, r as Map, t as arrayPush } from "./_arrayPush.js";
4
+ //#region ../../../../node_modules/lodash-es/_WeakMap.js
4
5
  var WeakMap = /* @__PURE__ */ getNative(root, "WeakMap");
5
- var objectCreate = /* @__PURE__ */ (() => Object.create)();
6
- var baseCreate = /* @__PURE__ */ (function() {
7
- function object() {
8
- }
9
- return function(proto) {
10
- if (!isObject(proto)) {
11
- return {};
12
- }
13
- if (objectCreate) {
14
- return objectCreate(proto);
15
- }
16
- object.prototype = proto;
17
- var result = new object();
18
- object.prototype = void 0;
19
- return result;
20
- };
21
- })();
22
- function arrayEach(array, iteratee) {
23
- var index = -1, length = array == null ? 0 : array.length;
24
- while (++index < length) {
25
- if (iteratee(array[index], index, array) === false) {
26
- break;
27
- }
28
- }
29
- return array;
6
+ //#endregion
7
+ //#region ../../../../node_modules/lodash-es/_baseCreate.js
8
+ /** Built-in value references. */
9
+ var objectCreate = Object.create;
10
+ /**
11
+ * The base implementation of `_.create` without support for assigning
12
+ * properties to the created object.
13
+ *
14
+ * @private
15
+ * @param {Object} proto The object to inherit from.
16
+ * @returns {Object} Returns the new object.
17
+ */
18
+ var baseCreate = /* @__PURE__ */ function() {
19
+ function object() {}
20
+ return function(proto) {
21
+ if (!isObject(proto)) return {};
22
+ if (objectCreate) return objectCreate(proto);
23
+ object.prototype = proto;
24
+ var result = new object();
25
+ object.prototype = void 0;
26
+ return result;
27
+ };
28
+ }();
29
+ //#endregion
30
+ //#region ../../../../node_modules/lodash-es/_copyArray.js
31
+ /**
32
+ * Copies the values of `source` to `array`.
33
+ *
34
+ * @private
35
+ * @param {Array} source The array to copy values from.
36
+ * @param {Array} [array=[]] The array to copy values to.
37
+ * @returns {Array} Returns `array`.
38
+ */
39
+ function copyArray(source, array) {
40
+ var index = -1, length = source.length;
41
+ array || (array = Array(length));
42
+ while (++index < length) array[index] = source[index];
43
+ return array;
30
44
  }
45
+ //#endregion
46
+ //#region ../../../../node_modules/lodash-es/_nativeKeysIn.js
47
+ /**
48
+ * This function is like
49
+ * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
50
+ * except that it includes inherited enumerable properties.
51
+ *
52
+ * @private
53
+ * @param {Object} object The object to query.
54
+ * @returns {Array} Returns the array of property names.
55
+ */
56
+ function nativeKeysIn(object) {
57
+ var result = [];
58
+ if (object != null) for (var key in Object(object)) result.push(key);
59
+ return result;
60
+ }
61
+ //#endregion
62
+ //#region ../../../../node_modules/lodash-es/_baseKeysIn.js
63
+ /** Used to check objects for own properties. */
64
+ var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
65
+ /**
66
+ * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.
67
+ *
68
+ * @private
69
+ * @param {Object} object The object to query.
70
+ * @returns {Array} Returns the array of property names.
71
+ */
72
+ function baseKeysIn(object) {
73
+ if (!isObject(object)) return nativeKeysIn(object);
74
+ var isProto = isPrototype(object), result = [];
75
+ for (var key in object) if (!(key == "constructor" && (isProto || !hasOwnProperty$1.call(object, key)))) result.push(key);
76
+ return result;
77
+ }
78
+ //#endregion
79
+ //#region ../../../../node_modules/lodash-es/keysIn.js
80
+ /**
81
+ * Creates an array of the own and inherited enumerable property names of `object`.
82
+ *
83
+ * **Note:** Non-object values are coerced to objects.
84
+ *
85
+ * @static
86
+ * @memberOf _
87
+ * @since 3.0.0
88
+ * @category Object
89
+ * @param {Object} object The object to query.
90
+ * @returns {Array} Returns the array of property names.
91
+ * @example
92
+ *
93
+ * function Foo() {
94
+ * this.a = 1;
95
+ * this.b = 2;
96
+ * }
97
+ *
98
+ * Foo.prototype.c = 3;
99
+ *
100
+ * _.keysIn(new Foo);
101
+ * // => ['a', 'b', 'c'] (iteration order is not guaranteed)
102
+ */
103
+ function keysIn(object) {
104
+ return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
105
+ }
106
+ //#endregion
107
+ //#region ../../../../node_modules/lodash-es/_stackClear.js
108
+ /**
109
+ * Removes all key-value entries from the stack.
110
+ *
111
+ * @private
112
+ * @name clear
113
+ * @memberOf Stack
114
+ */
31
115
  function stackClear() {
32
- this.__data__ = new ListCache();
33
- this.size = 0;
116
+ this.__data__ = new ListCache();
117
+ this.size = 0;
34
118
  }
119
+ //#endregion
120
+ //#region ../../../../node_modules/lodash-es/_stackDelete.js
121
+ /**
122
+ * Removes `key` and its value from the stack.
123
+ *
124
+ * @private
125
+ * @name delete
126
+ * @memberOf Stack
127
+ * @param {string} key The key of the value to remove.
128
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
129
+ */
35
130
  function stackDelete(key) {
36
- var data = this.__data__, result = data["delete"](key);
37
- this.size = data.size;
38
- return result;
131
+ var data = this.__data__, result = data["delete"](key);
132
+ this.size = data.size;
133
+ return result;
39
134
  }
135
+ //#endregion
136
+ //#region ../../../../node_modules/lodash-es/_stackGet.js
137
+ /**
138
+ * Gets the stack value for `key`.
139
+ *
140
+ * @private
141
+ * @name get
142
+ * @memberOf Stack
143
+ * @param {string} key The key of the value to get.
144
+ * @returns {*} Returns the entry value.
145
+ */
40
146
  function stackGet(key) {
41
- return this.__data__.get(key);
147
+ return this.__data__.get(key);
42
148
  }
149
+ //#endregion
150
+ //#region ../../../../node_modules/lodash-es/_stackHas.js
151
+ /**
152
+ * Checks if a stack value for `key` exists.
153
+ *
154
+ * @private
155
+ * @name has
156
+ * @memberOf Stack
157
+ * @param {string} key The key of the entry to check.
158
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
159
+ */
43
160
  function stackHas(key) {
44
- return this.__data__.has(key);
161
+ return this.__data__.has(key);
45
162
  }
163
+ //#endregion
164
+ //#region ../../../../node_modules/lodash-es/_stackSet.js
165
+ /** Used as the size to enable large array optimizations. */
46
166
  var LARGE_ARRAY_SIZE = 200;
167
+ /**
168
+ * Sets the stack `key` to `value`.
169
+ *
170
+ * @private
171
+ * @name set
172
+ * @memberOf Stack
173
+ * @param {string} key The key of the value to set.
174
+ * @param {*} value The value to set.
175
+ * @returns {Object} Returns the stack cache instance.
176
+ */
47
177
  function stackSet(key, value) {
48
- var data = this.__data__;
49
- if (data instanceof ListCache) {
50
- var pairs = data.__data__;
51
- if (!Map || pairs.length < LARGE_ARRAY_SIZE - 1) {
52
- pairs.push([key, value]);
53
- this.size = ++data.size;
54
- return this;
55
- }
56
- data = this.__data__ = new MapCache(pairs);
57
- }
58
- data.set(key, value);
59
- this.size = data.size;
60
- return this;
178
+ var data = this.__data__;
179
+ if (data instanceof ListCache) {
180
+ var pairs = data.__data__;
181
+ if (!Map || pairs.length < LARGE_ARRAY_SIZE - 1) {
182
+ pairs.push([key, value]);
183
+ this.size = ++data.size;
184
+ return this;
185
+ }
186
+ data = this.__data__ = new MapCache(pairs);
187
+ }
188
+ data.set(key, value);
189
+ this.size = data.size;
190
+ return this;
61
191
  }
192
+ //#endregion
193
+ //#region ../../../../node_modules/lodash-es/_Stack.js
194
+ /**
195
+ * Creates a stack cache object to store key-value pairs.
196
+ *
197
+ * @private
198
+ * @constructor
199
+ * @param {Array} [entries] The key-value pairs to cache.
200
+ */
62
201
  function Stack(entries) {
63
- var data = this.__data__ = new ListCache(entries);
64
- this.size = data.size;
202
+ this.size = (this.__data__ = new ListCache(entries)).size;
65
203
  }
66
204
  Stack.prototype.clear = stackClear;
67
205
  Stack.prototype["delete"] = stackDelete;
68
206
  Stack.prototype.get = stackGet;
69
207
  Stack.prototype.has = stackHas;
70
208
  Stack.prototype.set = stackSet;
71
- var freeExports = typeof exports == "object" && exports && !/* @__PURE__ */ (() => exports.nodeType)() && exports;
72
- var freeModule = freeExports && typeof module == "object" && module && !/* @__PURE__ */ (() => module.nodeType)() && module;
73
- var moduleExports = freeModule && /* @__PURE__ */ (() => freeModule.exports)() === freeExports;
74
- var Buffer = moduleExports ? /* @__PURE__ */ (() => root.Buffer)() : void 0;
75
- Buffer ? /* @__PURE__ */ (() => Buffer.allocUnsafe)() : void 0;
209
+ //#endregion
210
+ //#region ../../../../node_modules/lodash-es/_baseAssign.js
211
+ /**
212
+ * The base implementation of `_.assign` without support for multiple sources
213
+ * or `customizer` functions.
214
+ *
215
+ * @private
216
+ * @param {Object} object The destination object.
217
+ * @param {Object} source The source object.
218
+ * @returns {Object} Returns `object`.
219
+ */
220
+ function baseAssign(object, source) {
221
+ return object && copyObject(source, keys(source), object);
222
+ }
223
+ //#endregion
224
+ //#region ../../../../node_modules/lodash-es/_baseAssignIn.js
225
+ /**
226
+ * The base implementation of `_.assignIn` without support for multiple sources
227
+ * or `customizer` functions.
228
+ *
229
+ * @private
230
+ * @param {Object} object The destination object.
231
+ * @param {Object} source The source object.
232
+ * @returns {Object} Returns `object`.
233
+ */
234
+ function baseAssignIn(object, source) {
235
+ return object && copyObject(source, keysIn(source), object);
236
+ }
237
+ //#endregion
238
+ //#region ../../../../node_modules/lodash-es/_cloneBuffer.js
239
+ /** Detect free variable `exports`. */
240
+ var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
241
+ /** Detect free variable `module`. */
242
+ var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
243
+ /** Built-in value references. */
244
+ var Buffer = freeModule && freeModule.exports === freeExports ? root.Buffer : void 0, allocUnsafe = Buffer ? Buffer.allocUnsafe : void 0;
245
+ /**
246
+ * Creates a clone of `buffer`.
247
+ *
248
+ * @private
249
+ * @param {Buffer} buffer The buffer to clone.
250
+ * @param {boolean} [isDeep] Specify a deep clone.
251
+ * @returns {Buffer} Returns the cloned buffer.
252
+ */
76
253
  function cloneBuffer(buffer, isDeep) {
77
- {
78
- return buffer.slice();
79
- }
254
+ if (isDeep) return buffer.slice();
255
+ var length = buffer.length, result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
256
+ buffer.copy(result);
257
+ return result;
80
258
  }
259
+ //#endregion
260
+ //#region ../../../../node_modules/lodash-es/_arrayFilter.js
261
+ /**
262
+ * A specialized version of `_.filter` for arrays without support for
263
+ * iteratee shorthands.
264
+ *
265
+ * @private
266
+ * @param {Array} [array] The array to iterate over.
267
+ * @param {Function} predicate The function invoked per iteration.
268
+ * @returns {Array} Returns the new filtered array.
269
+ */
81
270
  function arrayFilter(array, predicate) {
82
- var index = -1, length = array == null ? 0 : array.length, resIndex = 0, result = [];
83
- while (++index < length) {
84
- var value = array[index];
85
- if (predicate(value, index, array)) {
86
- result[resIndex++] = value;
87
- }
88
- }
89
- return result;
271
+ var index = -1, length = array == null ? 0 : array.length, resIndex = 0, result = [];
272
+ while (++index < length) {
273
+ var value = array[index];
274
+ if (predicate(value, index, array)) result[resIndex++] = value;
275
+ }
276
+ return result;
90
277
  }
278
+ //#endregion
279
+ //#region ../../../../node_modules/lodash-es/stubArray.js
280
+ /**
281
+ * This method returns a new empty array.
282
+ *
283
+ * @static
284
+ * @memberOf _
285
+ * @since 4.13.0
286
+ * @category Util
287
+ * @returns {Array} Returns the new empty array.
288
+ * @example
289
+ *
290
+ * var arrays = _.times(2, _.stubArray);
291
+ *
292
+ * console.log(arrays);
293
+ * // => [[], []]
294
+ *
295
+ * console.log(arrays[0] === arrays[1]);
296
+ * // => false
297
+ */
91
298
  function stubArray() {
92
- return [];
299
+ return [];
93
300
  }
94
- var objectProto$1 = /* @__PURE__ */ (() => Object.prototype)();
95
- var propertyIsEnumerable = /* @__PURE__ */ (() => objectProto$1.propertyIsEnumerable)();
96
- var nativeGetSymbols = /* @__PURE__ */ (() => Object.getOwnPropertySymbols)();
301
+ //#endregion
302
+ //#region ../../../../node_modules/lodash-es/_getSymbols.js
303
+ /** Built-in value references. */
304
+ var propertyIsEnumerable = Object.prototype.propertyIsEnumerable;
305
+ var nativeGetSymbols = Object.getOwnPropertySymbols;
306
+ /**
307
+ * Creates an array of the own enumerable symbols of `object`.
308
+ *
309
+ * @private
310
+ * @param {Object} object The object to query.
311
+ * @returns {Array} Returns the array of symbols.
312
+ */
97
313
  var getSymbols = !nativeGetSymbols ? stubArray : function(object) {
98
- if (object == null) {
99
- return [];
100
- }
101
- object = Object(object);
102
- return arrayFilter(nativeGetSymbols(object), function(symbol) {
103
- return propertyIsEnumerable.call(object, symbol);
104
- });
314
+ if (object == null) return [];
315
+ object = Object(object);
316
+ return arrayFilter(nativeGetSymbols(object), function(symbol) {
317
+ return propertyIsEnumerable.call(object, symbol);
318
+ });
319
+ };
320
+ //#endregion
321
+ //#region ../../../../node_modules/lodash-es/_copySymbols.js
322
+ /**
323
+ * Copies own symbols of `source` to `object`.
324
+ *
325
+ * @private
326
+ * @param {Object} source The object to copy symbols from.
327
+ * @param {Object} [object={}] The object to copy symbols to.
328
+ * @returns {Object} Returns `object`.
329
+ */
330
+ function copySymbols(source, object) {
331
+ return copyObject(source, getSymbols(source), object);
332
+ }
333
+ //#endregion
334
+ //#region ../../../../node_modules/lodash-es/_getSymbolsIn.js
335
+ /**
336
+ * Creates an array of the own and inherited enumerable symbols of `object`.
337
+ *
338
+ * @private
339
+ * @param {Object} object The object to query.
340
+ * @returns {Array} Returns the array of symbols.
341
+ */
342
+ var getSymbolsIn = !Object.getOwnPropertySymbols ? stubArray : function(object) {
343
+ var result = [];
344
+ while (object) {
345
+ arrayPush(result, getSymbols(object));
346
+ object = getPrototype(object);
347
+ }
348
+ return result;
105
349
  };
350
+ //#endregion
351
+ //#region ../../../../node_modules/lodash-es/_copySymbolsIn.js
352
+ /**
353
+ * Copies own and inherited symbols of `source` to `object`.
354
+ *
355
+ * @private
356
+ * @param {Object} source The object to copy symbols from.
357
+ * @param {Object} [object={}] The object to copy symbols to.
358
+ * @returns {Object} Returns `object`.
359
+ */
360
+ function copySymbolsIn(source, object) {
361
+ return copyObject(source, getSymbolsIn(source), object);
362
+ }
363
+ //#endregion
364
+ //#region ../../../../node_modules/lodash-es/_baseGetAllKeys.js
365
+ /**
366
+ * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
367
+ * `keysFunc` and `symbolsFunc` to get the enumerable property names and
368
+ * symbols of `object`.
369
+ *
370
+ * @private
371
+ * @param {Object} object The object to query.
372
+ * @param {Function} keysFunc The function to get the keys of `object`.
373
+ * @param {Function} symbolsFunc The function to get the symbols of `object`.
374
+ * @returns {Array} Returns the array of property names and symbols.
375
+ */
106
376
  function baseGetAllKeys(object, keysFunc, symbolsFunc) {
107
- var result = keysFunc(object);
108
- return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
377
+ var result = keysFunc(object);
378
+ return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
109
379
  }
380
+ //#endregion
381
+ //#region ../../../../node_modules/lodash-es/_getAllKeys.js
382
+ /**
383
+ * Creates an array of own enumerable property names and symbols of `object`.
384
+ *
385
+ * @private
386
+ * @param {Object} object The object to query.
387
+ * @returns {Array} Returns the array of property names and symbols.
388
+ */
110
389
  function getAllKeys(object) {
111
- return baseGetAllKeys(object, keys, getSymbols);
390
+ return baseGetAllKeys(object, keys, getSymbols);
391
+ }
392
+ //#endregion
393
+ //#region ../../../../node_modules/lodash-es/_getAllKeysIn.js
394
+ /**
395
+ * Creates an array of own and inherited enumerable property names and
396
+ * symbols of `object`.
397
+ *
398
+ * @private
399
+ * @param {Object} object The object to query.
400
+ * @returns {Array} Returns the array of property names and symbols.
401
+ */
402
+ function getAllKeysIn(object) {
403
+ return baseGetAllKeys(object, keysIn, getSymbolsIn);
112
404
  }
405
+ //#endregion
406
+ //#region ../../../../node_modules/lodash-es/_DataView.js
113
407
  var DataView = /* @__PURE__ */ getNative(root, "DataView");
408
+ //#endregion
409
+ //#region ../../../../node_modules/lodash-es/_Promise.js
114
410
  var Promise$1 = /* @__PURE__ */ getNative(root, "Promise");
411
+ //#endregion
412
+ //#region ../../../../node_modules/lodash-es/_Set.js
115
413
  var Set = /* @__PURE__ */ getNative(root, "Set");
414
+ //#endregion
415
+ //#region ../../../../node_modules/lodash-es/_getTag.js
416
+ /** `Object#toString` result references. */
116
417
  var mapTag$3 = "[object Map]", objectTag$1 = "[object Object]", promiseTag = "[object Promise]", setTag$3 = "[object Set]", weakMapTag$1 = "[object WeakMap]";
117
418
  var dataViewTag$2 = "[object DataView]";
419
+ /** Used to detect maps, sets, and weakmaps. */
118
420
  var dataViewCtorString = /* @__PURE__ */ toSource(DataView), mapCtorString = /* @__PURE__ */ toSource(Map), promiseCtorString = /* @__PURE__ */ toSource(Promise$1), setCtorString = /* @__PURE__ */ toSource(Set), weakMapCtorString = /* @__PURE__ */ toSource(WeakMap);
421
+ /**
422
+ * Gets the `toStringTag` of `value`.
423
+ *
424
+ * @private
425
+ * @param {*} value The value to query.
426
+ * @returns {string} Returns the `toStringTag`.
427
+ */
119
428
  var getTag = baseGetTag;
120
- if (DataView && /* @__PURE__ */ getTag(/* @__PURE__ */ new DataView(/* @__PURE__ */ new ArrayBuffer(1))) != dataViewTag$2 || Map && /* @__PURE__ */ getTag(/* @__PURE__ */ new Map()) != mapTag$3 || Promise$1 && /* @__PURE__ */ getTag(/* @__PURE__ */ Promise$1.resolve()) != promiseTag || Set && /* @__PURE__ */ getTag(/* @__PURE__ */ new Set()) != setTag$3 || WeakMap && /* @__PURE__ */ getTag(/* @__PURE__ */ new WeakMap()) != weakMapTag$1) {
121
- getTag = function(value) {
122
- var result = baseGetTag(value), Ctor = result == objectTag$1 ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : "";
123
- if (ctorString) {
124
- switch (ctorString) {
125
- case dataViewCtorString:
126
- return dataViewTag$2;
127
- case mapCtorString:
128
- return mapTag$3;
129
- case promiseCtorString:
130
- return promiseTag;
131
- case setCtorString:
132
- return setTag$3;
133
- case weakMapCtorString:
134
- return weakMapTag$1;
135
- }
136
- }
137
- return result;
138
- };
139
- }
140
- var objectProto = /* @__PURE__ */ (() => Object.prototype)();
141
- var hasOwnProperty = /* @__PURE__ */ (() => objectProto.hasOwnProperty)();
429
+ if (DataView && /* @__PURE__ */ getTag(/* @__PURE__ */ new DataView(/* @__PURE__ */ new ArrayBuffer(1))) != dataViewTag$2 || Map && /* @__PURE__ */ getTag(/* @__PURE__ */ new Map()) != mapTag$3 || Promise$1 && /* @__PURE__ */ getTag(/* @__PURE__ */ Promise$1.resolve()) != promiseTag || Set && /* @__PURE__ */ getTag(/* @__PURE__ */ new Set()) != setTag$3 || WeakMap && /* @__PURE__ */ getTag(/* @__PURE__ */ new WeakMap()) != weakMapTag$1) getTag = function(value) {
430
+ var result = baseGetTag(value), Ctor = result == objectTag$1 ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : "";
431
+ if (ctorString) switch (ctorString) {
432
+ case dataViewCtorString: return dataViewTag$2;
433
+ case mapCtorString: return mapTag$3;
434
+ case promiseCtorString: return promiseTag;
435
+ case setCtorString: return setTag$3;
436
+ case weakMapCtorString: return weakMapTag$1;
437
+ }
438
+ return result;
439
+ };
440
+ var _getTag_default = getTag;
441
+ //#endregion
442
+ //#region ../../../../node_modules/lodash-es/_initCloneArray.js
443
+ /** Used to check objects for own properties. */
444
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
445
+ /**
446
+ * Initializes an array clone.
447
+ *
448
+ * @private
449
+ * @param {Array} array The array to clone.
450
+ * @returns {Array} Returns the initialized clone.
451
+ */
142
452
  function initCloneArray(array) {
143
- var length = array.length, result = new array.constructor(length);
144
- if (length && typeof array[0] == "string" && hasOwnProperty.call(array, "index")) {
145
- result.index = array.index;
146
- result.input = array.input;
147
- }
148
- return result;
149
- }
150
- var Uint8Array = /* @__PURE__ */ (() => root.Uint8Array)();
453
+ var length = array.length, result = new array.constructor(length);
454
+ if (length && typeof array[0] == "string" && hasOwnProperty.call(array, "index")) {
455
+ result.index = array.index;
456
+ result.input = array.input;
457
+ }
458
+ return result;
459
+ }
460
+ //#endregion
461
+ //#region ../../../../node_modules/lodash-es/_Uint8Array.js
462
+ /** Built-in value references. */
463
+ var Uint8Array = root.Uint8Array;
464
+ //#endregion
465
+ //#region ../../../../node_modules/lodash-es/_cloneArrayBuffer.js
466
+ /**
467
+ * Creates a clone of `arrayBuffer`.
468
+ *
469
+ * @private
470
+ * @param {ArrayBuffer} arrayBuffer The array buffer to clone.
471
+ * @returns {ArrayBuffer} Returns the cloned array buffer.
472
+ */
151
473
  function cloneArrayBuffer(arrayBuffer) {
152
- var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
153
- new Uint8Array(result).set(new Uint8Array(arrayBuffer));
154
- return result;
474
+ var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
475
+ new Uint8Array(result).set(new Uint8Array(arrayBuffer));
476
+ return result;
155
477
  }
478
+ //#endregion
479
+ //#region ../../../../node_modules/lodash-es/_cloneDataView.js
480
+ /**
481
+ * Creates a clone of `dataView`.
482
+ *
483
+ * @private
484
+ * @param {Object} dataView The data view to clone.
485
+ * @param {boolean} [isDeep] Specify a deep clone.
486
+ * @returns {Object} Returns the cloned data view.
487
+ */
156
488
  function cloneDataView(dataView, isDeep) {
157
- var buffer = cloneArrayBuffer(dataView.buffer);
158
- return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
489
+ var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;
490
+ return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
159
491
  }
492
+ //#endregion
493
+ //#region ../../../../node_modules/lodash-es/_cloneRegExp.js
494
+ /** Used to match `RegExp` flags from their coerced string values. */
160
495
  var reFlags = /\w*$/;
496
+ /**
497
+ * Creates a clone of `regexp`.
498
+ *
499
+ * @private
500
+ * @param {Object} regexp The regexp to clone.
501
+ * @returns {Object} Returns the cloned regexp.
502
+ */
161
503
  function cloneRegExp(regexp) {
162
- var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
163
- result.lastIndex = regexp.lastIndex;
164
- return result;
504
+ var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
505
+ result.lastIndex = regexp.lastIndex;
506
+ return result;
165
507
  }
166
- var symbolProto = Symbol$1 ? /* @__PURE__ */ (() => Symbol$1.prototype)() : void 0, symbolValueOf = symbolProto ? /* @__PURE__ */ (() => symbolProto.valueOf)() : void 0;
508
+ //#endregion
509
+ //#region ../../../../node_modules/lodash-es/_cloneSymbol.js
510
+ /** Used to convert symbols to primitives and strings. */
511
+ var symbolProto = Symbol ? Symbol.prototype : void 0, symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
512
+ /**
513
+ * Creates a clone of the `symbol` object.
514
+ *
515
+ * @private
516
+ * @param {Object} symbol The symbol object to clone.
517
+ * @returns {Object} Returns the cloned symbol object.
518
+ */
167
519
  function cloneSymbol(symbol) {
168
- return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
520
+ return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
169
521
  }
522
+ //#endregion
523
+ //#region ../../../../node_modules/lodash-es/_cloneTypedArray.js
524
+ /**
525
+ * Creates a clone of `typedArray`.
526
+ *
527
+ * @private
528
+ * @param {Object} typedArray The typed array to clone.
529
+ * @param {boolean} [isDeep] Specify a deep clone.
530
+ * @returns {Object} Returns the cloned typed array.
531
+ */
170
532
  function cloneTypedArray(typedArray, isDeep) {
171
- var buffer = cloneArrayBuffer(typedArray.buffer);
172
- return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
533
+ var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
534
+ return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
173
535
  }
536
+ //#endregion
537
+ //#region ../../../../node_modules/lodash-es/_initCloneByTag.js
538
+ /** `Object#toString` result references. */
174
539
  var boolTag$1 = "[object Boolean]", dateTag$1 = "[object Date]", mapTag$2 = "[object Map]", numberTag$1 = "[object Number]", regexpTag$1 = "[object RegExp]", setTag$2 = "[object Set]", stringTag$1 = "[object String]", symbolTag$1 = "[object Symbol]";
175
540
  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]";
541
+ /**
542
+ * Initializes an object clone based on its `toStringTag`.
543
+ *
544
+ * **Note:** This function only supports cloning values with tags of
545
+ * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.
546
+ *
547
+ * @private
548
+ * @param {Object} object The object to clone.
549
+ * @param {string} tag The `toStringTag` of the object to clone.
550
+ * @param {boolean} [isDeep] Specify a deep clone.
551
+ * @returns {Object} Returns the initialized clone.
552
+ */
176
553
  function initCloneByTag(object, tag, isDeep) {
177
- var Ctor = object.constructor;
178
- switch (tag) {
179
- case arrayBufferTag$1:
180
- return cloneArrayBuffer(object);
181
- case boolTag$1:
182
- case dateTag$1:
183
- return new Ctor(+object);
184
- case dataViewTag$1:
185
- return cloneDataView(object);
186
- case float32Tag$1:
187
- case float64Tag$1:
188
- case int8Tag$1:
189
- case int16Tag$1:
190
- case int32Tag$1:
191
- case uint8Tag$1:
192
- case uint8ClampedTag$1:
193
- case uint16Tag$1:
194
- case uint32Tag$1:
195
- return cloneTypedArray(object);
196
- case mapTag$2:
197
- return new Ctor();
198
- case numberTag$1:
199
- case stringTag$1:
200
- return new Ctor(object);
201
- case regexpTag$1:
202
- return cloneRegExp(object);
203
- case setTag$2:
204
- return new Ctor();
205
- case symbolTag$1:
206
- return cloneSymbol(object);
207
- }
554
+ var Ctor = object.constructor;
555
+ switch (tag) {
556
+ case arrayBufferTag$1: return cloneArrayBuffer(object);
557
+ case boolTag$1:
558
+ case dateTag$1: return new Ctor(+object);
559
+ case dataViewTag$1: return cloneDataView(object, isDeep);
560
+ case float32Tag$1:
561
+ case float64Tag$1:
562
+ case int8Tag$1:
563
+ case int16Tag$1:
564
+ case int32Tag$1:
565
+ case uint8Tag$1:
566
+ case uint8ClampedTag$1:
567
+ case uint16Tag$1:
568
+ case uint32Tag$1: return cloneTypedArray(object, isDeep);
569
+ case mapTag$2: return new Ctor();
570
+ case numberTag$1:
571
+ case stringTag$1: return new Ctor(object);
572
+ case regexpTag$1: return cloneRegExp(object);
573
+ case setTag$2: return new Ctor();
574
+ case symbolTag$1: return cloneSymbol(object);
575
+ }
208
576
  }
577
+ //#endregion
578
+ //#region ../../../../node_modules/lodash-es/_initCloneObject.js
579
+ /**
580
+ * Initializes an object clone.
581
+ *
582
+ * @private
583
+ * @param {Object} object The object to clone.
584
+ * @returns {Object} Returns the initialized clone.
585
+ */
209
586
  function initCloneObject(object) {
210
- return typeof object.constructor == "function" && !isPrototype(object) ? baseCreate(getPrototype(object)) : {};
587
+ return typeof object.constructor == "function" && !isPrototype(object) ? baseCreate(getPrototype(object)) : {};
211
588
  }
589
+ //#endregion
590
+ //#region ../../../../node_modules/lodash-es/_baseIsMap.js
591
+ /** `Object#toString` result references. */
212
592
  var mapTag$1 = "[object Map]";
593
+ /**
594
+ * The base implementation of `_.isMap` without Node.js optimizations.
595
+ *
596
+ * @private
597
+ * @param {*} value The value to check.
598
+ * @returns {boolean} Returns `true` if `value` is a map, else `false`.
599
+ */
213
600
  function baseIsMap(value) {
214
- return isObjectLike(value) && getTag(value) == mapTag$1;
601
+ return isObjectLike(value) && _getTag_default(value) == mapTag$1;
215
602
  }
216
- var nodeIsMap = nodeUtil && /* @__PURE__ */ (() => nodeUtil.isMap)();
603
+ //#endregion
604
+ //#region ../../../../node_modules/lodash-es/isMap.js
605
+ var nodeIsMap = nodeUtil && nodeUtil.isMap;
606
+ /**
607
+ * Checks if `value` is classified as a `Map` object.
608
+ *
609
+ * @static
610
+ * @memberOf _
611
+ * @since 4.3.0
612
+ * @category Lang
613
+ * @param {*} value The value to check.
614
+ * @returns {boolean} Returns `true` if `value` is a map, else `false`.
615
+ * @example
616
+ *
617
+ * _.isMap(new Map);
618
+ * // => true
619
+ *
620
+ * _.isMap(new WeakMap);
621
+ * // => false
622
+ */
217
623
  var isMap = nodeIsMap ? /* @__PURE__ */ baseUnary(nodeIsMap) : baseIsMap;
624
+ //#endregion
625
+ //#region ../../../../node_modules/lodash-es/_baseIsSet.js
626
+ /** `Object#toString` result references. */
218
627
  var setTag$1 = "[object Set]";
628
+ /**
629
+ * The base implementation of `_.isSet` without Node.js optimizations.
630
+ *
631
+ * @private
632
+ * @param {*} value The value to check.
633
+ * @returns {boolean} Returns `true` if `value` is a set, else `false`.
634
+ */
219
635
  function baseIsSet(value) {
220
- return isObjectLike(value) && getTag(value) == setTag$1;
636
+ return isObjectLike(value) && _getTag_default(value) == setTag$1;
221
637
  }
222
- var nodeIsSet = nodeUtil && /* @__PURE__ */ (() => nodeUtil.isSet)();
638
+ //#endregion
639
+ //#region ../../../../node_modules/lodash-es/isSet.js
640
+ var nodeIsSet = nodeUtil && nodeUtil.isSet;
641
+ /**
642
+ * Checks if `value` is classified as a `Set` object.
643
+ *
644
+ * @static
645
+ * @memberOf _
646
+ * @since 4.3.0
647
+ * @category Lang
648
+ * @param {*} value The value to check.
649
+ * @returns {boolean} Returns `true` if `value` is a set, else `false`.
650
+ * @example
651
+ *
652
+ * _.isSet(new Set);
653
+ * // => true
654
+ *
655
+ * _.isSet(new WeakSet);
656
+ * // => false
657
+ */
223
658
  var isSet = nodeIsSet ? /* @__PURE__ */ baseUnary(nodeIsSet) : baseIsSet;
659
+ //#endregion
660
+ //#region ../../../../node_modules/lodash-es/_baseClone.js
661
+ /** Used to compose bitmasks for cloning. */
662
+ var CLONE_DEEP_FLAG$1 = 1, CLONE_FLAT_FLAG = 2, CLONE_SYMBOLS_FLAG$1 = 4;
663
+ /** `Object#toString` result references. */
224
664
  var argsTag = "[object Arguments]", arrayTag = "[object Array]", boolTag = "[object Boolean]", dateTag = "[object Date]", errorTag = "[object Error]", funcTag = "[object Function]", genTag = "[object GeneratorFunction]", mapTag = "[object Map]", numberTag = "[object Number]", objectTag = "[object Object]", regexpTag = "[object RegExp]", setTag = "[object Set]", stringTag = "[object String]", symbolTag = "[object Symbol]", weakMapTag = "[object WeakMap]";
225
665
  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]";
666
+ /** Used to identify `toStringTag` values supported by `_.clone`. */
226
667
  var cloneableTags = {};
227
668
  cloneableTags[argsTag] = cloneableTags[arrayTag] = cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] = cloneableTags[boolTag] = cloneableTags[dateTag] = cloneableTags[float32Tag] = cloneableTags[float64Tag] = cloneableTags[int8Tag] = cloneableTags[int16Tag] = cloneableTags[int32Tag] = cloneableTags[mapTag] = cloneableTags[numberTag] = cloneableTags[objectTag] = cloneableTags[regexpTag] = cloneableTags[setTag] = cloneableTags[stringTag] = cloneableTags[symbolTag] = cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] = cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
228
669
  cloneableTags[errorTag] = cloneableTags[funcTag] = cloneableTags[weakMapTag] = false;
670
+ /**
671
+ * The base implementation of `_.clone` and `_.cloneDeep` which tracks
672
+ * traversed objects.
673
+ *
674
+ * @private
675
+ * @param {*} value The value to clone.
676
+ * @param {boolean} bitmask The bitmask flags.
677
+ * 1 - Deep clone
678
+ * 2 - Flatten inherited properties
679
+ * 4 - Clone symbols
680
+ * @param {Function} [customizer] The function to customize cloning.
681
+ * @param {string} [key] The key of `value`.
682
+ * @param {Object} [object] The parent object of `value`.
683
+ * @param {Object} [stack] Tracks traversed objects and their clone counterparts.
684
+ * @returns {*} Returns the cloned value.
685
+ */
229
686
  function baseClone(value, bitmask, customizer, key, object, stack) {
230
- var result;
231
- if (result !== void 0) {
232
- return result;
233
- }
234
- if (!isObject(value)) {
235
- return value;
236
- }
237
- var isArr = isArray(value);
238
- if (isArr) {
239
- result = initCloneArray(value);
240
- } else {
241
- var tag = getTag(value), isFunc = tag == funcTag || tag == genTag;
242
- if (isBuffer(value)) {
243
- return cloneBuffer(value);
244
- }
245
- if (tag == objectTag || tag == argsTag || isFunc && !object) {
246
- result = isFunc ? {} : initCloneObject(value);
247
- } else {
248
- if (!cloneableTags[tag]) {
249
- return object ? value : {};
250
- }
251
- result = initCloneByTag(value, tag);
252
- }
253
- }
254
- stack || (stack = new Stack());
255
- var stacked = stack.get(value);
256
- if (stacked) {
257
- return stacked;
258
- }
259
- stack.set(value, result);
260
- if (isSet(value)) {
261
- value.forEach(function(subValue) {
262
- result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));
263
- });
264
- } else if (isMap(value)) {
265
- value.forEach(function(subValue, key2) {
266
- result.set(key2, baseClone(subValue, bitmask, customizer, key2, value, stack));
267
- });
268
- }
269
- var keysFunc = getAllKeys;
270
- var props = isArr ? void 0 : keysFunc(value);
271
- arrayEach(props || value, function(subValue, key2) {
272
- if (props) {
273
- key2 = subValue;
274
- subValue = value[key2];
275
- }
276
- assignValue(result, key2, baseClone(subValue, bitmask, customizer, key2, value, stack));
277
- });
278
- return result;
687
+ var result, isDeep = bitmask & CLONE_DEEP_FLAG$1, isFlat = bitmask & CLONE_FLAT_FLAG, isFull = bitmask & CLONE_SYMBOLS_FLAG$1;
688
+ if (customizer) result = object ? customizer(value, key, object, stack) : customizer(value);
689
+ if (result !== void 0) return result;
690
+ if (!isObject(value)) return value;
691
+ var isArr = isArray(value);
692
+ if (isArr) {
693
+ result = initCloneArray(value);
694
+ if (!isDeep) return copyArray(value, result);
695
+ } else {
696
+ var tag = _getTag_default(value), isFunc = tag == funcTag || tag == genTag;
697
+ if (isBuffer(value)) return cloneBuffer(value, isDeep);
698
+ if (tag == objectTag || tag == argsTag || isFunc && !object) {
699
+ result = isFlat || isFunc ? {} : initCloneObject(value);
700
+ if (!isDeep) return isFlat ? copySymbolsIn(value, baseAssignIn(result, value)) : copySymbols(value, baseAssign(result, value));
701
+ } else {
702
+ if (!cloneableTags[tag]) return object ? value : {};
703
+ result = initCloneByTag(value, tag, isDeep);
704
+ }
705
+ }
706
+ stack || (stack = new Stack());
707
+ var stacked = stack.get(value);
708
+ if (stacked) return stacked;
709
+ stack.set(value, result);
710
+ if (isSet(value)) value.forEach(function(subValue) {
711
+ result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));
712
+ });
713
+ else if (isMap(value)) value.forEach(function(subValue, key) {
714
+ result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));
715
+ });
716
+ var props = isArr ? void 0 : (isFull ? isFlat ? getAllKeysIn : getAllKeys : isFlat ? keysIn : keys)(value);
717
+ arrayEach(props || value, function(subValue, key) {
718
+ if (props) {
719
+ key = subValue;
720
+ subValue = value[key];
721
+ }
722
+ assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));
723
+ });
724
+ return result;
279
725
  }
726
+ //#endregion
727
+ //#region ../../../../node_modules/lodash-es/cloneDeep.js
728
+ /** Used to compose bitmasks for cloning. */
280
729
  var CLONE_DEEP_FLAG = 1, CLONE_SYMBOLS_FLAG = 4;
730
+ /**
731
+ * This method is like `_.clone` except that it recursively clones `value`.
732
+ *
733
+ * @static
734
+ * @memberOf _
735
+ * @since 1.0.0
736
+ * @category Lang
737
+ * @param {*} value The value to recursively clone.
738
+ * @returns {*} Returns the deep cloned value.
739
+ * @see _.clone
740
+ * @example
741
+ *
742
+ * var objects = [{ 'a': 1 }, { 'b': 2 }];
743
+ *
744
+ * var deep = _.cloneDeep(objects);
745
+ * console.log(deep[0] === objects[0]);
746
+ * // => false
747
+ */
281
748
  function cloneDeep(value) {
282
- return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);
749
+ return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);
283
750
  }
284
- export {
285
- cloneDeep as c
286
- };
287
- //# sourceMappingURL=cloneDeep.js.map
751
+ //#endregion
752
+ export { cloneDeep as t };
753
+
754
+ //# sourceMappingURL=cloneDeep.js.map