@hybridly/vite 0.9.0 → 0.10.0-beta.10

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.
@@ -0,0 +1,81 @@
1
+ import { t as __commonJSMin } from "../rolldown-runtime.mjs";
2
+ var require_cjs = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3
+ var isMergeableObject = function isMergeableObject(value) {
4
+ return isNonNullObject(value) && !isSpecial(value);
5
+ };
6
+ function isNonNullObject(value) {
7
+ return !!value && typeof value === "object";
8
+ }
9
+ function isSpecial(value) {
10
+ var stringValue = Object.prototype.toString.call(value);
11
+ return stringValue === "[object RegExp]" || stringValue === "[object Date]" || isReactElement(value);
12
+ }
13
+ var REACT_ELEMENT_TYPE = typeof Symbol === "function" && Symbol.for ? Symbol.for("react.element") : 60103;
14
+ function isReactElement(value) {
15
+ return value.$$typeof === REACT_ELEMENT_TYPE;
16
+ }
17
+ function emptyTarget(val) {
18
+ return Array.isArray(val) ? [] : {};
19
+ }
20
+ function cloneUnlessOtherwiseSpecified(value, options) {
21
+ return options.clone !== false && options.isMergeableObject(value) ? deepmerge(emptyTarget(value), value, options) : value;
22
+ }
23
+ function defaultArrayMerge(target, source, options) {
24
+ return target.concat(source).map(function(element) {
25
+ return cloneUnlessOtherwiseSpecified(element, options);
26
+ });
27
+ }
28
+ function getMergeFunction(key, options) {
29
+ if (!options.customMerge) return deepmerge;
30
+ var customMerge = options.customMerge(key);
31
+ return typeof customMerge === "function" ? customMerge : deepmerge;
32
+ }
33
+ function getEnumerableOwnPropertySymbols(target) {
34
+ return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(target).filter(function(symbol) {
35
+ return Object.propertyIsEnumerable.call(target, symbol);
36
+ }) : [];
37
+ }
38
+ function getKeys(target) {
39
+ return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target));
40
+ }
41
+ function propertyIsOnObject(object, property) {
42
+ try {
43
+ return property in object;
44
+ } catch (_) {
45
+ return false;
46
+ }
47
+ }
48
+ function propertyIsUnsafe(target, key) {
49
+ return propertyIsOnObject(target, key) && !(Object.hasOwnProperty.call(target, key) && Object.propertyIsEnumerable.call(target, key));
50
+ }
51
+ function mergeObject(target, source, options) {
52
+ var destination = {};
53
+ if (options.isMergeableObject(target)) getKeys(target).forEach(function(key) {
54
+ destination[key] = cloneUnlessOtherwiseSpecified(target[key], options);
55
+ });
56
+ getKeys(source).forEach(function(key) {
57
+ if (propertyIsUnsafe(target, key)) return;
58
+ if (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) destination[key] = getMergeFunction(key, options)(target[key], source[key], options);
59
+ else destination[key] = cloneUnlessOtherwiseSpecified(source[key], options);
60
+ });
61
+ return destination;
62
+ }
63
+ function deepmerge(target, source, options) {
64
+ options = options || {};
65
+ options.arrayMerge = options.arrayMerge || defaultArrayMerge;
66
+ options.isMergeableObject = options.isMergeableObject || isMergeableObject;
67
+ options.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;
68
+ var sourceIsArray = Array.isArray(source);
69
+ if (!(sourceIsArray === Array.isArray(target))) return cloneUnlessOtherwiseSpecified(source, options);
70
+ else if (sourceIsArray) return options.arrayMerge(target, source, options);
71
+ else return mergeObject(target, source, options);
72
+ }
73
+ deepmerge.all = function deepmergeAll(array, options) {
74
+ if (!Array.isArray(array)) throw new Error("first argument should be an array");
75
+ return array.reduce(function(prev, next) {
76
+ return deepmerge(prev, next, options);
77
+ }, {});
78
+ };
79
+ module.exports = deepmerge;
80
+ }));
81
+ export { require_cjs as t };
@@ -0,0 +1,20 @@
1
+ /*!
2
+ * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
3
+ *
4
+ * Copyright (c) 2014-2017, Jon Schlinkert.
5
+ * Released under the MIT License.
6
+ */
7
+ function isObject(o) {
8
+ return Object.prototype.toString.call(o) === "[object Object]";
9
+ }
10
+ function isPlainObject(o) {
11
+ var ctor, prot;
12
+ if (isObject(o) === false) return false;
13
+ ctor = o.constructor;
14
+ if (ctor === void 0) return true;
15
+ prot = ctor.prototype;
16
+ if (isObject(prot) === false) return false;
17
+ if (prot.hasOwnProperty("isPrototypeOf") === false) return false;
18
+ return true;
19
+ }
20
+ export { isPlainObject as t };
@@ -0,0 +1,484 @@
1
+ import { t as __commonJSMin } from "../rolldown-runtime.mjs";
2
+ var require_lodash_clonedeep = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3
+ var LARGE_ARRAY_SIZE = 200;
4
+ var HASH_UNDEFINED = "__lodash_hash_undefined__";
5
+ var MAX_SAFE_INTEGER = 9007199254740991;
6
+ 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]", promiseTag = "[object Promise]", regexpTag = "[object RegExp]", setTag = "[object Set]", stringTag = "[object String]", symbolTag = "[object Symbol]", weakMapTag = "[object WeakMap]";
7
+ 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]";
8
+ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
9
+ var reFlags = /\w*$/;
10
+ var reIsHostCtor = /^\[object .+?Constructor\]$/;
11
+ var reIsUint = /^(?:0|[1-9]\d*)$/;
12
+ var cloneableTags = {};
13
+ 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;
14
+ cloneableTags[errorTag] = cloneableTags[funcTag] = cloneableTags[weakMapTag] = false;
15
+ var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
16
+ var freeSelf = typeof self == "object" && self && self.Object === Object && self;
17
+ var root = freeGlobal || freeSelf || Function("return this")();
18
+ var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
19
+ var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
20
+ var moduleExports = freeModule && freeModule.exports === freeExports;
21
+ function addMapEntry(map, pair) {
22
+ map.set(pair[0], pair[1]);
23
+ return map;
24
+ }
25
+ function addSetEntry(set, value) {
26
+ set.add(value);
27
+ return set;
28
+ }
29
+ function arrayEach(array, iteratee) {
30
+ var index = -1, length = array ? array.length : 0;
31
+ while (++index < length) if (iteratee(array[index], index, array) === false) break;
32
+ return array;
33
+ }
34
+ function arrayPush(array, values) {
35
+ var index = -1, length = values.length, offset = array.length;
36
+ while (++index < length) array[offset + index] = values[index];
37
+ return array;
38
+ }
39
+ function arrayReduce(array, iteratee, accumulator, initAccum) {
40
+ var index = -1, length = array ? array.length : 0;
41
+ if (initAccum && length) accumulator = array[++index];
42
+ while (++index < length) accumulator = iteratee(accumulator, array[index], index, array);
43
+ return accumulator;
44
+ }
45
+ function baseTimes(n, iteratee) {
46
+ var index = -1, result = Array(n);
47
+ while (++index < n) result[index] = iteratee(index);
48
+ return result;
49
+ }
50
+ function getValue(object, key) {
51
+ return object == null ? void 0 : object[key];
52
+ }
53
+ function isHostObject(value) {
54
+ var result = false;
55
+ if (value != null && typeof value.toString != "function") try {
56
+ result = !!(value + "");
57
+ } catch (e) {}
58
+ return result;
59
+ }
60
+ function mapToArray(map) {
61
+ var index = -1, result = Array(map.size);
62
+ map.forEach(function(value, key) {
63
+ result[++index] = [key, value];
64
+ });
65
+ return result;
66
+ }
67
+ function overArg(func, transform) {
68
+ return function(arg) {
69
+ return func(transform(arg));
70
+ };
71
+ }
72
+ function setToArray(set) {
73
+ var index = -1, result = Array(set.size);
74
+ set.forEach(function(value) {
75
+ result[++index] = value;
76
+ });
77
+ return result;
78
+ }
79
+ var arrayProto = Array.prototype, funcProto = Function.prototype, objectProto = Object.prototype;
80
+ var coreJsData = root["__core-js_shared__"];
81
+ var maskSrcKey = function() {
82
+ var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
83
+ return uid ? "Symbol(src)_1." + uid : "";
84
+ }();
85
+ var funcToString = funcProto.toString;
86
+ var hasOwnProperty = objectProto.hasOwnProperty;
87
+ var objectToString = objectProto.toString;
88
+ var reIsNative = RegExp("^" + funcToString.call(hasOwnProperty).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
89
+ var Buffer = moduleExports ? root.Buffer : void 0, Symbol = root.Symbol, Uint8Array = root.Uint8Array, getPrototype = overArg(Object.getPrototypeOf, Object), objectCreate = Object.create, propertyIsEnumerable = objectProto.propertyIsEnumerable, splice = arrayProto.splice;
90
+ var nativeGetSymbols = Object.getOwnPropertySymbols, nativeIsBuffer = Buffer ? Buffer.isBuffer : void 0, nativeKeys = overArg(Object.keys, Object);
91
+ var DataView = getNative(root, "DataView"), Map = getNative(root, "Map"), Promise = getNative(root, "Promise"), Set = getNative(root, "Set"), WeakMap = getNative(root, "WeakMap"), nativeCreate = getNative(Object, "create");
92
+ var dataViewCtorString = toSource(DataView), mapCtorString = toSource(Map), promiseCtorString = toSource(Promise), setCtorString = toSource(Set), weakMapCtorString = toSource(WeakMap);
93
+ var symbolProto = Symbol ? Symbol.prototype : void 0, symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
94
+ function Hash(entries) {
95
+ var index = -1, length = entries ? entries.length : 0;
96
+ this.clear();
97
+ while (++index < length) {
98
+ var entry = entries[index];
99
+ this.set(entry[0], entry[1]);
100
+ }
101
+ }
102
+ function hashClear() {
103
+ this.__data__ = nativeCreate ? nativeCreate(null) : {};
104
+ }
105
+ function hashDelete(key) {
106
+ return this.has(key) && delete this.__data__[key];
107
+ }
108
+ function hashGet(key) {
109
+ var data = this.__data__;
110
+ if (nativeCreate) {
111
+ var result = data[key];
112
+ return result === HASH_UNDEFINED ? void 0 : result;
113
+ }
114
+ return hasOwnProperty.call(data, key) ? data[key] : void 0;
115
+ }
116
+ function hashHas(key) {
117
+ var data = this.__data__;
118
+ return nativeCreate ? data[key] !== void 0 : hasOwnProperty.call(data, key);
119
+ }
120
+ function hashSet(key, value) {
121
+ var data = this.__data__;
122
+ data[key] = nativeCreate && value === void 0 ? HASH_UNDEFINED : value;
123
+ return this;
124
+ }
125
+ Hash.prototype.clear = hashClear;
126
+ Hash.prototype["delete"] = hashDelete;
127
+ Hash.prototype.get = hashGet;
128
+ Hash.prototype.has = hashHas;
129
+ Hash.prototype.set = hashSet;
130
+ function ListCache(entries) {
131
+ var index = -1, length = entries ? entries.length : 0;
132
+ this.clear();
133
+ while (++index < length) {
134
+ var entry = entries[index];
135
+ this.set(entry[0], entry[1]);
136
+ }
137
+ }
138
+ function listCacheClear() {
139
+ this.__data__ = [];
140
+ }
141
+ function listCacheDelete(key) {
142
+ var data = this.__data__, index = assocIndexOf(data, key);
143
+ if (index < 0) return false;
144
+ if (index == data.length - 1) data.pop();
145
+ else splice.call(data, index, 1);
146
+ return true;
147
+ }
148
+ function listCacheGet(key) {
149
+ var data = this.__data__, index = assocIndexOf(data, key);
150
+ return index < 0 ? void 0 : data[index][1];
151
+ }
152
+ function listCacheHas(key) {
153
+ return assocIndexOf(this.__data__, key) > -1;
154
+ }
155
+ function listCacheSet(key, value) {
156
+ var data = this.__data__, index = assocIndexOf(data, key);
157
+ if (index < 0) data.push([key, value]);
158
+ else data[index][1] = value;
159
+ return this;
160
+ }
161
+ ListCache.prototype.clear = listCacheClear;
162
+ ListCache.prototype["delete"] = listCacheDelete;
163
+ ListCache.prototype.get = listCacheGet;
164
+ ListCache.prototype.has = listCacheHas;
165
+ ListCache.prototype.set = listCacheSet;
166
+ function MapCache(entries) {
167
+ var index = -1, length = entries ? entries.length : 0;
168
+ this.clear();
169
+ while (++index < length) {
170
+ var entry = entries[index];
171
+ this.set(entry[0], entry[1]);
172
+ }
173
+ }
174
+ function mapCacheClear() {
175
+ this.__data__ = {
176
+ "hash": new Hash(),
177
+ "map": new (Map || ListCache)(),
178
+ "string": new Hash()
179
+ };
180
+ }
181
+ function mapCacheDelete(key) {
182
+ return getMapData(this, key)["delete"](key);
183
+ }
184
+ function mapCacheGet(key) {
185
+ return getMapData(this, key).get(key);
186
+ }
187
+ function mapCacheHas(key) {
188
+ return getMapData(this, key).has(key);
189
+ }
190
+ function mapCacheSet(key, value) {
191
+ getMapData(this, key).set(key, value);
192
+ return this;
193
+ }
194
+ MapCache.prototype.clear = mapCacheClear;
195
+ MapCache.prototype["delete"] = mapCacheDelete;
196
+ MapCache.prototype.get = mapCacheGet;
197
+ MapCache.prototype.has = mapCacheHas;
198
+ MapCache.prototype.set = mapCacheSet;
199
+ function Stack(entries) {
200
+ this.__data__ = new ListCache(entries);
201
+ }
202
+ function stackClear() {
203
+ this.__data__ = new ListCache();
204
+ }
205
+ function stackDelete(key) {
206
+ return this.__data__["delete"](key);
207
+ }
208
+ function stackGet(key) {
209
+ return this.__data__.get(key);
210
+ }
211
+ function stackHas(key) {
212
+ return this.__data__.has(key);
213
+ }
214
+ function stackSet(key, value) {
215
+ var cache = this.__data__;
216
+ if (cache instanceof ListCache) {
217
+ var pairs = cache.__data__;
218
+ if (!Map || pairs.length < LARGE_ARRAY_SIZE - 1) {
219
+ pairs.push([key, value]);
220
+ return this;
221
+ }
222
+ cache = this.__data__ = new MapCache(pairs);
223
+ }
224
+ cache.set(key, value);
225
+ return this;
226
+ }
227
+ Stack.prototype.clear = stackClear;
228
+ Stack.prototype["delete"] = stackDelete;
229
+ Stack.prototype.get = stackGet;
230
+ Stack.prototype.has = stackHas;
231
+ Stack.prototype.set = stackSet;
232
+ function arrayLikeKeys(value, inherited) {
233
+ var result = isArray(value) || isArguments(value) ? baseTimes(value.length, String) : [];
234
+ var length = result.length, skipIndexes = !!length;
235
+ for (var key in value) if ((inherited || hasOwnProperty.call(value, key)) && !(skipIndexes && (key == "length" || isIndex(key, length)))) result.push(key);
236
+ return result;
237
+ }
238
+ function assignValue(object, key, value) {
239
+ var objValue = object[key];
240
+ if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) || value === void 0 && !(key in object)) object[key] = value;
241
+ }
242
+ function assocIndexOf(array, key) {
243
+ var length = array.length;
244
+ while (length--) if (eq(array[length][0], key)) return length;
245
+ return -1;
246
+ }
247
+ function baseAssign(object, source) {
248
+ return object && copyObject(source, keys(source), object);
249
+ }
250
+ function baseClone(value, isDeep, isFull, customizer, key, object, stack) {
251
+ var result;
252
+ if (customizer) result = object ? customizer(value, key, object, stack) : customizer(value);
253
+ if (result !== void 0) return result;
254
+ if (!isObject(value)) return value;
255
+ var isArr = isArray(value);
256
+ if (isArr) {
257
+ result = initCloneArray(value);
258
+ if (!isDeep) return copyArray(value, result);
259
+ } else {
260
+ var tag = getTag(value), isFunc = tag == funcTag || tag == genTag;
261
+ if (isBuffer(value)) return cloneBuffer(value, isDeep);
262
+ if (tag == objectTag || tag == argsTag || isFunc && !object) {
263
+ if (isHostObject(value)) return object ? value : {};
264
+ result = initCloneObject(isFunc ? {} : value);
265
+ if (!isDeep) return copySymbols(value, baseAssign(result, value));
266
+ } else {
267
+ if (!cloneableTags[tag]) return object ? value : {};
268
+ result = initCloneByTag(value, tag, baseClone, isDeep);
269
+ }
270
+ }
271
+ stack || (stack = new Stack());
272
+ var stacked = stack.get(value);
273
+ if (stacked) return stacked;
274
+ stack.set(value, result);
275
+ if (!isArr) var props = isFull ? getAllKeys(value) : keys(value);
276
+ arrayEach(props || value, function(subValue, key) {
277
+ if (props) {
278
+ key = subValue;
279
+ subValue = value[key];
280
+ }
281
+ assignValue(result, key, baseClone(subValue, isDeep, isFull, customizer, key, value, stack));
282
+ });
283
+ return result;
284
+ }
285
+ function baseCreate(proto) {
286
+ return isObject(proto) ? objectCreate(proto) : {};
287
+ }
288
+ function baseGetAllKeys(object, keysFunc, symbolsFunc) {
289
+ var result = keysFunc(object);
290
+ return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
291
+ }
292
+ function baseGetTag(value) {
293
+ return objectToString.call(value);
294
+ }
295
+ function baseIsNative(value) {
296
+ if (!isObject(value) || isMasked(value)) return false;
297
+ return (isFunction(value) || isHostObject(value) ? reIsNative : reIsHostCtor).test(toSource(value));
298
+ }
299
+ function baseKeys(object) {
300
+ if (!isPrototype(object)) return nativeKeys(object);
301
+ var result = [];
302
+ for (var key in Object(object)) if (hasOwnProperty.call(object, key) && key != "constructor") result.push(key);
303
+ return result;
304
+ }
305
+ function cloneBuffer(buffer, isDeep) {
306
+ if (isDeep) return buffer.slice();
307
+ var result = new buffer.constructor(buffer.length);
308
+ buffer.copy(result);
309
+ return result;
310
+ }
311
+ function cloneArrayBuffer(arrayBuffer) {
312
+ var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
313
+ new Uint8Array(result).set(new Uint8Array(arrayBuffer));
314
+ return result;
315
+ }
316
+ function cloneDataView(dataView, isDeep) {
317
+ var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;
318
+ return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
319
+ }
320
+ function cloneMap(map, isDeep, cloneFunc) {
321
+ return arrayReduce(isDeep ? cloneFunc(mapToArray(map), true) : mapToArray(map), addMapEntry, new map.constructor());
322
+ }
323
+ function cloneRegExp(regexp) {
324
+ var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
325
+ result.lastIndex = regexp.lastIndex;
326
+ return result;
327
+ }
328
+ function cloneSet(set, isDeep, cloneFunc) {
329
+ return arrayReduce(isDeep ? cloneFunc(setToArray(set), true) : setToArray(set), addSetEntry, new set.constructor());
330
+ }
331
+ function cloneSymbol(symbol) {
332
+ return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
333
+ }
334
+ function cloneTypedArray(typedArray, isDeep) {
335
+ var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
336
+ return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
337
+ }
338
+ function copyArray(source, array) {
339
+ var index = -1, length = source.length;
340
+ array || (array = Array(length));
341
+ while (++index < length) array[index] = source[index];
342
+ return array;
343
+ }
344
+ function copyObject(source, props, object, customizer) {
345
+ object || (object = {});
346
+ var index = -1, length = props.length;
347
+ while (++index < length) {
348
+ var key = props[index];
349
+ var newValue = customizer ? customizer(object[key], source[key], key, object, source) : void 0;
350
+ assignValue(object, key, newValue === void 0 ? source[key] : newValue);
351
+ }
352
+ return object;
353
+ }
354
+ function copySymbols(source, object) {
355
+ return copyObject(source, getSymbols(source), object);
356
+ }
357
+ function getAllKeys(object) {
358
+ return baseGetAllKeys(object, keys, getSymbols);
359
+ }
360
+ function getMapData(map, key) {
361
+ var data = map.__data__;
362
+ return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
363
+ }
364
+ function getNative(object, key) {
365
+ var value = getValue(object, key);
366
+ return baseIsNative(value) ? value : void 0;
367
+ }
368
+ var getSymbols = nativeGetSymbols ? overArg(nativeGetSymbols, Object) : stubArray;
369
+ var getTag = baseGetTag;
370
+ if (DataView && getTag(new DataView(/* @__PURE__ */ new ArrayBuffer(1))) != dataViewTag || Map && getTag(new Map()) != mapTag || Promise && getTag(Promise.resolve()) != promiseTag || Set && getTag(new Set()) != setTag || WeakMap && getTag(new WeakMap()) != weakMapTag) getTag = function(value) {
371
+ var result = objectToString.call(value), Ctor = result == objectTag ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : void 0;
372
+ if (ctorString) switch (ctorString) {
373
+ case dataViewCtorString: return dataViewTag;
374
+ case mapCtorString: return mapTag;
375
+ case promiseCtorString: return promiseTag;
376
+ case setCtorString: return setTag;
377
+ case weakMapCtorString: return weakMapTag;
378
+ }
379
+ return result;
380
+ };
381
+ function initCloneArray(array) {
382
+ var length = array.length, result = array.constructor(length);
383
+ if (length && typeof array[0] == "string" && hasOwnProperty.call(array, "index")) {
384
+ result.index = array.index;
385
+ result.input = array.input;
386
+ }
387
+ return result;
388
+ }
389
+ function initCloneObject(object) {
390
+ return typeof object.constructor == "function" && !isPrototype(object) ? baseCreate(getPrototype(object)) : {};
391
+ }
392
+ function initCloneByTag(object, tag, cloneFunc, isDeep) {
393
+ var Ctor = object.constructor;
394
+ switch (tag) {
395
+ case arrayBufferTag: return cloneArrayBuffer(object);
396
+ case boolTag:
397
+ case dateTag: return new Ctor(+object);
398
+ case dataViewTag: return cloneDataView(object, isDeep);
399
+ case float32Tag:
400
+ case float64Tag:
401
+ case int8Tag:
402
+ case int16Tag:
403
+ case int32Tag:
404
+ case uint8Tag:
405
+ case uint8ClampedTag:
406
+ case uint16Tag:
407
+ case uint32Tag: return cloneTypedArray(object, isDeep);
408
+ case mapTag: return cloneMap(object, isDeep, cloneFunc);
409
+ case numberTag:
410
+ case stringTag: return new Ctor(object);
411
+ case regexpTag: return cloneRegExp(object);
412
+ case setTag: return cloneSet(object, isDeep, cloneFunc);
413
+ case symbolTag: return cloneSymbol(object);
414
+ }
415
+ }
416
+ function isIndex(value, length) {
417
+ length = length == null ? MAX_SAFE_INTEGER : length;
418
+ return !!length && (typeof value == "number" || reIsUint.test(value)) && value > -1 && value % 1 == 0 && value < length;
419
+ }
420
+ function isKeyable(value) {
421
+ var type = typeof value;
422
+ return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
423
+ }
424
+ function isMasked(func) {
425
+ return !!maskSrcKey && maskSrcKey in func;
426
+ }
427
+ function isPrototype(value) {
428
+ var Ctor = value && value.constructor;
429
+ return value === (typeof Ctor == "function" && Ctor.prototype || objectProto);
430
+ }
431
+ function toSource(func) {
432
+ if (func != null) {
433
+ try {
434
+ return funcToString.call(func);
435
+ } catch (e) {}
436
+ try {
437
+ return func + "";
438
+ } catch (e) {}
439
+ }
440
+ return "";
441
+ }
442
+ function cloneDeep(value) {
443
+ return baseClone(value, true, true);
444
+ }
445
+ function eq(value, other) {
446
+ return value === other || value !== value && other !== other;
447
+ }
448
+ function isArguments(value) {
449
+ return isArrayLikeObject(value) && hasOwnProperty.call(value, "callee") && (!propertyIsEnumerable.call(value, "callee") || objectToString.call(value) == argsTag);
450
+ }
451
+ var isArray = Array.isArray;
452
+ function isArrayLike(value) {
453
+ return value != null && isLength(value.length) && !isFunction(value);
454
+ }
455
+ function isArrayLikeObject(value) {
456
+ return isObjectLike(value) && isArrayLike(value);
457
+ }
458
+ var isBuffer = nativeIsBuffer || stubFalse;
459
+ function isFunction(value) {
460
+ var tag = isObject(value) ? objectToString.call(value) : "";
461
+ return tag == funcTag || tag == genTag;
462
+ }
463
+ function isLength(value) {
464
+ return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
465
+ }
466
+ function isObject(value) {
467
+ var type = typeof value;
468
+ return !!value && (type == "object" || type == "function");
469
+ }
470
+ function isObjectLike(value) {
471
+ return !!value && typeof value == "object";
472
+ }
473
+ function keys(object) {
474
+ return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
475
+ }
476
+ function stubArray() {
477
+ return [];
478
+ }
479
+ function stubFalse() {
480
+ return false;
481
+ }
482
+ module.exports = cloneDeep;
483
+ }));
484
+ export { require_lodash_clonedeep as t };
@@ -0,0 +1,24 @@
1
+ import { createRequire } from "node:module";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
11
+ key = keys[i];
12
+ if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
13
+ get: ((k) => from[k]).bind(null, key),
14
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
15
+ });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
20
+ value: mod,
21
+ enumerable: true
22
+ }) : target, mod));
23
+ var __require = /* @__PURE__ */ createRequire(import.meta.url);
24
+ export { __require as n, __toESM as r, __commonJSMin as t };