@rebasepro/server-postgresql 0.1.0 → 0.1.2

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.umd.js CHANGED
@@ -140,9 +140,6 @@
140
140
  return regExpMatchArray.map((x) => x.toLowerCase()).join("_");
141
141
  };
142
142
  var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
143
- function getDefaultExportFromCjs(x) {
144
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
145
- }
146
143
  function commonjsRequire(path2) {
147
144
  throw new Error('Could not dynamically require "' + path2 + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
148
145
  }
@@ -929,7 +926,23 @@
929
926
  }, { buffer: 3, lYpoI2: 11 }] }, {}, [1])(1);
930
927
  });
931
928
  })(object_hash);
932
- function isObject$6(item) {
929
+ function deepClone(value) {
930
+ if (value === null || value === void 0) return value;
931
+ if (typeof value === "function") return value;
932
+ if (typeof value !== "object") return value;
933
+ if (Array.isArray(value)) {
934
+ return value.map((item) => deepClone(item));
935
+ }
936
+ if (Object.getPrototypeOf(value) !== Object.prototype) {
937
+ return value;
938
+ }
939
+ const result = {};
940
+ for (const key of Object.keys(value)) {
941
+ result[key] = deepClone(value[key]);
942
+ }
943
+ return result;
944
+ }
945
+ function isObject(item) {
933
946
  return !!item && typeof item === "object" && !Array.isArray(item);
934
947
  }
935
948
  function isPlainObject(obj) {
@@ -940,13 +953,13 @@
940
953
  return proto === Object.prototype;
941
954
  }
942
955
  function mergeDeep(target, source, ignoreUndefined = false) {
943
- if (!isObject$6(target)) {
956
+ if (!isObject(target)) {
944
957
  return target;
945
958
  }
946
959
  const output = {
947
960
  ...target
948
961
  };
949
- if (!isObject$6(source)) {
962
+ if (!isObject(source)) {
950
963
  return output;
951
964
  }
952
965
  for (const key in source) {
@@ -987,7 +1000,7 @@
987
1000
  } else {
988
1001
  output[key] = sourceValue;
989
1002
  }
990
- } else if (isObject$6(sourceValue)) {
1003
+ } else if (isObject(sourceValue)) {
991
1004
  output[key] = sourceValue;
992
1005
  } else {
993
1006
  output[key] = sourceValue;
@@ -1433,7 +1446,7 @@
1433
1446
  }
1434
1447
  var logic = { exports: {} };
1435
1448
  (function(module2, exports$1) {
1436
- (function(root2, factory) {
1449
+ (function(root, factory) {
1437
1450
  {
1438
1451
  module2.exports = factory();
1439
1452
  }
@@ -1801,7 +1814,7 @@
1801
1814
  });
1802
1815
  })(logic);
1803
1816
  const { getOwnPropertyNames, getOwnPropertySymbols } = Object;
1804
- const { hasOwnProperty: hasOwnProperty$a } = Object.prototype;
1817
+ const { hasOwnProperty } = Object.prototype;
1805
1818
  function combineComparators(comparatorA, comparatorB) {
1806
1819
  return function isEqual(a, b, state) {
1807
1820
  return comparatorA(a, b, state) && comparatorB(a, b, state);
@@ -1831,12 +1844,12 @@
1831
1844
  }
1832
1845
  const hasOwn = (
1833
1846
  // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
1834
- Object.hasOwn || ((object, property) => hasOwnProperty$a.call(object, property))
1847
+ Object.hasOwn || ((object, property) => hasOwnProperty.call(object, property))
1835
1848
  );
1836
1849
  const PREACT_VNODE = "__v";
1837
1850
  const PREACT_OWNER = "__o";
1838
1851
  const REACT_OWNER = "_owner";
1839
- const { getOwnPropertyDescriptor, keys: keys$4 } = Object;
1852
+ const { getOwnPropertyDescriptor, keys } = Object;
1840
1853
  const sameValueEqual = (
1841
1854
  // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
1842
1855
  Object.is || function sameValueEqual2(a, b) {
@@ -1914,9 +1927,9 @@
1914
1927
  return true;
1915
1928
  }
1916
1929
  function areObjectsEqual(a, b, state) {
1917
- const properties = keys$4(a);
1930
+ const properties = keys(a);
1918
1931
  let index = properties.length;
1919
- if (keys$4(b).length !== index) {
1932
+ if (keys(b).length !== index) {
1920
1933
  return false;
1921
1934
  }
1922
1935
  while (index-- > 0) {
@@ -2219,982 +2232,6 @@
2219
2232
  const equals = createCustomInternalComparator ? createCustomInternalComparator(comparator) : createInternalEqualityComparator(comparator);
2220
2233
  return createIsEqual({ circular, comparator, createState, equals, strict });
2221
2234
  }
2222
- function listCacheClear$1() {
2223
- this.__data__ = [];
2224
- this.size = 0;
2225
- }
2226
- var _listCacheClear = listCacheClear$1;
2227
- function eq$2(value, other) {
2228
- return value === other || value !== value && other !== other;
2229
- }
2230
- var eq_1 = eq$2;
2231
- var eq$1 = eq_1;
2232
- function assocIndexOf$4(array, key) {
2233
- var length = array.length;
2234
- while (length--) {
2235
- if (eq$1(array[length][0], key)) {
2236
- return length;
2237
- }
2238
- }
2239
- return -1;
2240
- }
2241
- var _assocIndexOf = assocIndexOf$4;
2242
- var assocIndexOf$3 = _assocIndexOf;
2243
- var arrayProto = Array.prototype;
2244
- var splice = arrayProto.splice;
2245
- function listCacheDelete$1(key) {
2246
- var data = this.__data__, index = assocIndexOf$3(data, key);
2247
- if (index < 0) {
2248
- return false;
2249
- }
2250
- var lastIndex = data.length - 1;
2251
- if (index == lastIndex) {
2252
- data.pop();
2253
- } else {
2254
- splice.call(data, index, 1);
2255
- }
2256
- --this.size;
2257
- return true;
2258
- }
2259
- var _listCacheDelete = listCacheDelete$1;
2260
- var assocIndexOf$2 = _assocIndexOf;
2261
- function listCacheGet$1(key) {
2262
- var data = this.__data__, index = assocIndexOf$2(data, key);
2263
- return index < 0 ? void 0 : data[index][1];
2264
- }
2265
- var _listCacheGet = listCacheGet$1;
2266
- var assocIndexOf$1 = _assocIndexOf;
2267
- function listCacheHas$1(key) {
2268
- return assocIndexOf$1(this.__data__, key) > -1;
2269
- }
2270
- var _listCacheHas = listCacheHas$1;
2271
- var assocIndexOf = _assocIndexOf;
2272
- function listCacheSet$1(key, value) {
2273
- var data = this.__data__, index = assocIndexOf(data, key);
2274
- if (index < 0) {
2275
- ++this.size;
2276
- data.push([key, value]);
2277
- } else {
2278
- data[index][1] = value;
2279
- }
2280
- return this;
2281
- }
2282
- var _listCacheSet = listCacheSet$1;
2283
- var listCacheClear = _listCacheClear, listCacheDelete = _listCacheDelete, listCacheGet = _listCacheGet, listCacheHas = _listCacheHas, listCacheSet = _listCacheSet;
2284
- function ListCache$4(entries) {
2285
- var index = -1, length = entries == null ? 0 : entries.length;
2286
- this.clear();
2287
- while (++index < length) {
2288
- var entry = entries[index];
2289
- this.set(entry[0], entry[1]);
2290
- }
2291
- }
2292
- ListCache$4.prototype.clear = listCacheClear;
2293
- ListCache$4.prototype["delete"] = listCacheDelete;
2294
- ListCache$4.prototype.get = listCacheGet;
2295
- ListCache$4.prototype.has = listCacheHas;
2296
- ListCache$4.prototype.set = listCacheSet;
2297
- var _ListCache = ListCache$4;
2298
- var ListCache$3 = _ListCache;
2299
- function stackClear$1() {
2300
- this.__data__ = new ListCache$3();
2301
- this.size = 0;
2302
- }
2303
- var _stackClear = stackClear$1;
2304
- function stackDelete$1(key) {
2305
- var data = this.__data__, result = data["delete"](key);
2306
- this.size = data.size;
2307
- return result;
2308
- }
2309
- var _stackDelete = stackDelete$1;
2310
- function stackGet$1(key) {
2311
- return this.__data__.get(key);
2312
- }
2313
- var _stackGet = stackGet$1;
2314
- function stackHas$1(key) {
2315
- return this.__data__.has(key);
2316
- }
2317
- var _stackHas = stackHas$1;
2318
- var freeGlobal$1 = typeof commonjsGlobal == "object" && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
2319
- var _freeGlobal = freeGlobal$1;
2320
- var freeGlobal = _freeGlobal;
2321
- var freeSelf = typeof self == "object" && self && self.Object === Object && self;
2322
- var root$8 = freeGlobal || freeSelf || Function("return this")();
2323
- var _root = root$8;
2324
- var root$7 = _root;
2325
- var Symbol$4 = root$7.Symbol;
2326
- var _Symbol = Symbol$4;
2327
- var Symbol$3 = _Symbol;
2328
- var objectProto$c = Object.prototype;
2329
- var hasOwnProperty$9 = objectProto$c.hasOwnProperty;
2330
- var nativeObjectToString$1 = objectProto$c.toString;
2331
- var symToStringTag$1 = Symbol$3 ? Symbol$3.toStringTag : void 0;
2332
- function getRawTag$1(value) {
2333
- var isOwn = hasOwnProperty$9.call(value, symToStringTag$1), tag = value[symToStringTag$1];
2334
- try {
2335
- value[symToStringTag$1] = void 0;
2336
- var unmasked = true;
2337
- } catch (e) {
2338
- }
2339
- var result = nativeObjectToString$1.call(value);
2340
- if (unmasked) {
2341
- if (isOwn) {
2342
- value[symToStringTag$1] = tag;
2343
- } else {
2344
- delete value[symToStringTag$1];
2345
- }
2346
- }
2347
- return result;
2348
- }
2349
- var _getRawTag = getRawTag$1;
2350
- var objectProto$b = Object.prototype;
2351
- var nativeObjectToString = objectProto$b.toString;
2352
- function objectToString$1(value) {
2353
- return nativeObjectToString.call(value);
2354
- }
2355
- var _objectToString = objectToString$1;
2356
- var Symbol$2 = _Symbol, getRawTag = _getRawTag, objectToString = _objectToString;
2357
- var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
2358
- var symToStringTag = Symbol$2 ? Symbol$2.toStringTag : void 0;
2359
- function baseGetTag$4(value) {
2360
- if (value == null) {
2361
- return value === void 0 ? undefinedTag : nullTag;
2362
- }
2363
- return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
2364
- }
2365
- var _baseGetTag = baseGetTag$4;
2366
- function isObject$5(value) {
2367
- var type = typeof value;
2368
- return value != null && (type == "object" || type == "function");
2369
- }
2370
- var isObject_1 = isObject$5;
2371
- var baseGetTag$3 = _baseGetTag, isObject$4 = isObject_1;
2372
- var asyncTag = "[object AsyncFunction]", funcTag$2 = "[object Function]", genTag$1 = "[object GeneratorFunction]", proxyTag = "[object Proxy]";
2373
- function isFunction$2(value) {
2374
- if (!isObject$4(value)) {
2375
- return false;
2376
- }
2377
- var tag = baseGetTag$3(value);
2378
- return tag == funcTag$2 || tag == genTag$1 || tag == asyncTag || tag == proxyTag;
2379
- }
2380
- var isFunction_1 = isFunction$2;
2381
- var root$6 = _root;
2382
- var coreJsData$1 = root$6["__core-js_shared__"];
2383
- var _coreJsData = coreJsData$1;
2384
- var coreJsData = _coreJsData;
2385
- var maskSrcKey = function() {
2386
- var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
2387
- return uid ? "Symbol(src)_1." + uid : "";
2388
- }();
2389
- function isMasked$1(func) {
2390
- return !!maskSrcKey && maskSrcKey in func;
2391
- }
2392
- var _isMasked = isMasked$1;
2393
- var funcProto$1 = Function.prototype;
2394
- var funcToString$1 = funcProto$1.toString;
2395
- function toSource$2(func) {
2396
- if (func != null) {
2397
- try {
2398
- return funcToString$1.call(func);
2399
- } catch (e) {
2400
- }
2401
- try {
2402
- return func + "";
2403
- } catch (e) {
2404
- }
2405
- }
2406
- return "";
2407
- }
2408
- var _toSource = toSource$2;
2409
- var isFunction$1 = isFunction_1, isMasked = _isMasked, isObject$3 = isObject_1, toSource$1 = _toSource;
2410
- var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
2411
- var reIsHostCtor = /^\[object .+?Constructor\]$/;
2412
- var funcProto = Function.prototype, objectProto$a = Object.prototype;
2413
- var funcToString = funcProto.toString;
2414
- var hasOwnProperty$8 = objectProto$a.hasOwnProperty;
2415
- var reIsNative = RegExp(
2416
- "^" + funcToString.call(hasOwnProperty$8).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
2417
- );
2418
- function baseIsNative$1(value) {
2419
- if (!isObject$3(value) || isMasked(value)) {
2420
- return false;
2421
- }
2422
- var pattern = isFunction$1(value) ? reIsNative : reIsHostCtor;
2423
- return pattern.test(toSource$1(value));
2424
- }
2425
- var _baseIsNative = baseIsNative$1;
2426
- function getValue$1(object, key) {
2427
- return object == null ? void 0 : object[key];
2428
- }
2429
- var _getValue = getValue$1;
2430
- var baseIsNative = _baseIsNative, getValue = _getValue;
2431
- function getNative$7(object, key) {
2432
- var value = getValue(object, key);
2433
- return baseIsNative(value) ? value : void 0;
2434
- }
2435
- var _getNative = getNative$7;
2436
- var getNative$6 = _getNative, root$5 = _root;
2437
- var Map$4 = getNative$6(root$5, "Map");
2438
- var _Map = Map$4;
2439
- var getNative$5 = _getNative;
2440
- var nativeCreate$4 = getNative$5(Object, "create");
2441
- var _nativeCreate = nativeCreate$4;
2442
- var nativeCreate$3 = _nativeCreate;
2443
- function hashClear$1() {
2444
- this.__data__ = nativeCreate$3 ? nativeCreate$3(null) : {};
2445
- this.size = 0;
2446
- }
2447
- var _hashClear = hashClear$1;
2448
- function hashDelete$1(key) {
2449
- var result = this.has(key) && delete this.__data__[key];
2450
- this.size -= result ? 1 : 0;
2451
- return result;
2452
- }
2453
- var _hashDelete = hashDelete$1;
2454
- var nativeCreate$2 = _nativeCreate;
2455
- var HASH_UNDEFINED$1 = "__lodash_hash_undefined__";
2456
- var objectProto$9 = Object.prototype;
2457
- var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
2458
- function hashGet$1(key) {
2459
- var data = this.__data__;
2460
- if (nativeCreate$2) {
2461
- var result = data[key];
2462
- return result === HASH_UNDEFINED$1 ? void 0 : result;
2463
- }
2464
- return hasOwnProperty$7.call(data, key) ? data[key] : void 0;
2465
- }
2466
- var _hashGet = hashGet$1;
2467
- var nativeCreate$1 = _nativeCreate;
2468
- var objectProto$8 = Object.prototype;
2469
- var hasOwnProperty$6 = objectProto$8.hasOwnProperty;
2470
- function hashHas$1(key) {
2471
- var data = this.__data__;
2472
- return nativeCreate$1 ? data[key] !== void 0 : hasOwnProperty$6.call(data, key);
2473
- }
2474
- var _hashHas = hashHas$1;
2475
- var nativeCreate = _nativeCreate;
2476
- var HASH_UNDEFINED = "__lodash_hash_undefined__";
2477
- function hashSet$1(key, value) {
2478
- var data = this.__data__;
2479
- this.size += this.has(key) ? 0 : 1;
2480
- data[key] = nativeCreate && value === void 0 ? HASH_UNDEFINED : value;
2481
- return this;
2482
- }
2483
- var _hashSet = hashSet$1;
2484
- var hashClear = _hashClear, hashDelete = _hashDelete, hashGet = _hashGet, hashHas = _hashHas, hashSet = _hashSet;
2485
- function Hash$1(entries) {
2486
- var index = -1, length = entries == null ? 0 : entries.length;
2487
- this.clear();
2488
- while (++index < length) {
2489
- var entry = entries[index];
2490
- this.set(entry[0], entry[1]);
2491
- }
2492
- }
2493
- Hash$1.prototype.clear = hashClear;
2494
- Hash$1.prototype["delete"] = hashDelete;
2495
- Hash$1.prototype.get = hashGet;
2496
- Hash$1.prototype.has = hashHas;
2497
- Hash$1.prototype.set = hashSet;
2498
- var _Hash = Hash$1;
2499
- var Hash = _Hash, ListCache$2 = _ListCache, Map$3 = _Map;
2500
- function mapCacheClear$1() {
2501
- this.size = 0;
2502
- this.__data__ = {
2503
- "hash": new Hash(),
2504
- "map": new (Map$3 || ListCache$2)(),
2505
- "string": new Hash()
2506
- };
2507
- }
2508
- var _mapCacheClear = mapCacheClear$1;
2509
- function isKeyable$1(value) {
2510
- var type = typeof value;
2511
- return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
2512
- }
2513
- var _isKeyable = isKeyable$1;
2514
- var isKeyable = _isKeyable;
2515
- function getMapData$4(map, key) {
2516
- var data = map.__data__;
2517
- return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
2518
- }
2519
- var _getMapData = getMapData$4;
2520
- var getMapData$3 = _getMapData;
2521
- function mapCacheDelete$1(key) {
2522
- var result = getMapData$3(this, key)["delete"](key);
2523
- this.size -= result ? 1 : 0;
2524
- return result;
2525
- }
2526
- var _mapCacheDelete = mapCacheDelete$1;
2527
- var getMapData$2 = _getMapData;
2528
- function mapCacheGet$1(key) {
2529
- return getMapData$2(this, key).get(key);
2530
- }
2531
- var _mapCacheGet = mapCacheGet$1;
2532
- var getMapData$1 = _getMapData;
2533
- function mapCacheHas$1(key) {
2534
- return getMapData$1(this, key).has(key);
2535
- }
2536
- var _mapCacheHas = mapCacheHas$1;
2537
- var getMapData = _getMapData;
2538
- function mapCacheSet$1(key, value) {
2539
- var data = getMapData(this, key), size = data.size;
2540
- data.set(key, value);
2541
- this.size += data.size == size ? 0 : 1;
2542
- return this;
2543
- }
2544
- var _mapCacheSet = mapCacheSet$1;
2545
- var mapCacheClear = _mapCacheClear, mapCacheDelete = _mapCacheDelete, mapCacheGet = _mapCacheGet, mapCacheHas = _mapCacheHas, mapCacheSet = _mapCacheSet;
2546
- function MapCache$1(entries) {
2547
- var index = -1, length = entries == null ? 0 : entries.length;
2548
- this.clear();
2549
- while (++index < length) {
2550
- var entry = entries[index];
2551
- this.set(entry[0], entry[1]);
2552
- }
2553
- }
2554
- MapCache$1.prototype.clear = mapCacheClear;
2555
- MapCache$1.prototype["delete"] = mapCacheDelete;
2556
- MapCache$1.prototype.get = mapCacheGet;
2557
- MapCache$1.prototype.has = mapCacheHas;
2558
- MapCache$1.prototype.set = mapCacheSet;
2559
- var _MapCache = MapCache$1;
2560
- var ListCache$1 = _ListCache, Map$2 = _Map, MapCache = _MapCache;
2561
- var LARGE_ARRAY_SIZE = 200;
2562
- function stackSet$1(key, value) {
2563
- var data = this.__data__;
2564
- if (data instanceof ListCache$1) {
2565
- var pairs = data.__data__;
2566
- if (!Map$2 || pairs.length < LARGE_ARRAY_SIZE - 1) {
2567
- pairs.push([key, value]);
2568
- this.size = ++data.size;
2569
- return this;
2570
- }
2571
- data = this.__data__ = new MapCache(pairs);
2572
- }
2573
- data.set(key, value);
2574
- this.size = data.size;
2575
- return this;
2576
- }
2577
- var _stackSet = stackSet$1;
2578
- var ListCache = _ListCache, stackClear = _stackClear, stackDelete = _stackDelete, stackGet = _stackGet, stackHas = _stackHas, stackSet = _stackSet;
2579
- function Stack$1(entries) {
2580
- var data = this.__data__ = new ListCache(entries);
2581
- this.size = data.size;
2582
- }
2583
- Stack$1.prototype.clear = stackClear;
2584
- Stack$1.prototype["delete"] = stackDelete;
2585
- Stack$1.prototype.get = stackGet;
2586
- Stack$1.prototype.has = stackHas;
2587
- Stack$1.prototype.set = stackSet;
2588
- var _Stack = Stack$1;
2589
- function arrayEach$1(array, iteratee) {
2590
- var index = -1, length = array == null ? 0 : array.length;
2591
- while (++index < length) {
2592
- if (iteratee(array[index], index, array) === false) {
2593
- break;
2594
- }
2595
- }
2596
- return array;
2597
- }
2598
- var _arrayEach = arrayEach$1;
2599
- var getNative$4 = _getNative;
2600
- var defineProperty$1 = function() {
2601
- try {
2602
- var func = getNative$4(Object, "defineProperty");
2603
- func({}, "", {});
2604
- return func;
2605
- } catch (e) {
2606
- }
2607
- }();
2608
- var _defineProperty = defineProperty$1;
2609
- var defineProperty = _defineProperty;
2610
- function baseAssignValue$2(object, key, value) {
2611
- if (key == "__proto__" && defineProperty) {
2612
- defineProperty(object, key, {
2613
- "configurable": true,
2614
- "enumerable": true,
2615
- "value": value,
2616
- "writable": true
2617
- });
2618
- } else {
2619
- object[key] = value;
2620
- }
2621
- }
2622
- var _baseAssignValue = baseAssignValue$2;
2623
- var baseAssignValue$1 = _baseAssignValue, eq = eq_1;
2624
- var objectProto$7 = Object.prototype;
2625
- var hasOwnProperty$5 = objectProto$7.hasOwnProperty;
2626
- function assignValue$2(object, key, value) {
2627
- var objValue = object[key];
2628
- if (!(hasOwnProperty$5.call(object, key) && eq(objValue, value)) || value === void 0 && !(key in object)) {
2629
- baseAssignValue$1(object, key, value);
2630
- }
2631
- }
2632
- var _assignValue = assignValue$2;
2633
- var assignValue$1 = _assignValue, baseAssignValue = _baseAssignValue;
2634
- function copyObject$4(source, props, object, customizer) {
2635
- var isNew = !object;
2636
- object || (object = {});
2637
- var index = -1, length = props.length;
2638
- while (++index < length) {
2639
- var key = props[index];
2640
- var newValue = customizer ? customizer(object[key], source[key], key, object, source) : void 0;
2641
- if (newValue === void 0) {
2642
- newValue = source[key];
2643
- }
2644
- if (isNew) {
2645
- baseAssignValue(object, key, newValue);
2646
- } else {
2647
- assignValue$1(object, key, newValue);
2648
- }
2649
- }
2650
- return object;
2651
- }
2652
- var _copyObject = copyObject$4;
2653
- function baseTimes$1(n, iteratee) {
2654
- var index = -1, result = Array(n);
2655
- while (++index < n) {
2656
- result[index] = iteratee(index);
2657
- }
2658
- return result;
2659
- }
2660
- var _baseTimes = baseTimes$1;
2661
- function isObjectLike$5(value) {
2662
- return value != null && typeof value == "object";
2663
- }
2664
- var isObjectLike_1 = isObjectLike$5;
2665
- var baseGetTag$2 = _baseGetTag, isObjectLike$4 = isObjectLike_1;
2666
- var argsTag$2 = "[object Arguments]";
2667
- function baseIsArguments$1(value) {
2668
- return isObjectLike$4(value) && baseGetTag$2(value) == argsTag$2;
2669
- }
2670
- var _baseIsArguments = baseIsArguments$1;
2671
- var baseIsArguments = _baseIsArguments, isObjectLike$3 = isObjectLike_1;
2672
- var objectProto$6 = Object.prototype;
2673
- var hasOwnProperty$4 = objectProto$6.hasOwnProperty;
2674
- var propertyIsEnumerable$1 = objectProto$6.propertyIsEnumerable;
2675
- var isArguments$1 = baseIsArguments(/* @__PURE__ */ function() {
2676
- return arguments;
2677
- }()) ? baseIsArguments : function(value) {
2678
- return isObjectLike$3(value) && hasOwnProperty$4.call(value, "callee") && !propertyIsEnumerable$1.call(value, "callee");
2679
- };
2680
- var isArguments_1 = isArguments$1;
2681
- var isArray$3 = Array.isArray;
2682
- var isArray_1 = isArray$3;
2683
- var isBuffer$2 = { exports: {} };
2684
- function stubFalse() {
2685
- return false;
2686
- }
2687
- var stubFalse_1 = stubFalse;
2688
- isBuffer$2.exports;
2689
- (function(module2, exports$1) {
2690
- var root2 = _root, stubFalse2 = stubFalse_1;
2691
- var freeExports = exports$1 && !exports$1.nodeType && exports$1;
2692
- var freeModule = freeExports && true && module2 && !module2.nodeType && module2;
2693
- var moduleExports = freeModule && freeModule.exports === freeExports;
2694
- var Buffer2 = moduleExports ? root2.Buffer : void 0;
2695
- var nativeIsBuffer = Buffer2 ? Buffer2.isBuffer : void 0;
2696
- var isBuffer2 = nativeIsBuffer || stubFalse2;
2697
- module2.exports = isBuffer2;
2698
- })(isBuffer$2, isBuffer$2.exports);
2699
- var isBufferExports = isBuffer$2.exports;
2700
- var MAX_SAFE_INTEGER$1 = 9007199254740991;
2701
- var reIsUint = /^(?:0|[1-9]\d*)$/;
2702
- function isIndex$1(value, length) {
2703
- var type = typeof value;
2704
- length = length == null ? MAX_SAFE_INTEGER$1 : length;
2705
- return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length);
2706
- }
2707
- var _isIndex = isIndex$1;
2708
- var MAX_SAFE_INTEGER = 9007199254740991;
2709
- function isLength$2(value) {
2710
- return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
2711
- }
2712
- var isLength_1 = isLength$2;
2713
- var baseGetTag$1 = _baseGetTag, isLength$1 = isLength_1, isObjectLike$2 = isObjectLike_1;
2714
- 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$4 = "[object Map]", numberTag$2 = "[object Number]", objectTag$2 = "[object Object]", regexpTag$2 = "[object RegExp]", setTag$4 = "[object Set]", stringTag$2 = "[object String]", weakMapTag$2 = "[object WeakMap]";
2715
- 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]";
2716
- var typedArrayTags = {};
2717
- 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;
2718
- 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$4] = typedArrayTags[numberTag$2] = typedArrayTags[objectTag$2] = typedArrayTags[regexpTag$2] = typedArrayTags[setTag$4] = typedArrayTags[stringTag$2] = typedArrayTags[weakMapTag$2] = false;
2719
- function baseIsTypedArray$1(value) {
2720
- return isObjectLike$2(value) && isLength$1(value.length) && !!typedArrayTags[baseGetTag$1(value)];
2721
- }
2722
- var _baseIsTypedArray = baseIsTypedArray$1;
2723
- function baseUnary$3(func) {
2724
- return function(value) {
2725
- return func(value);
2726
- };
2727
- }
2728
- var _baseUnary = baseUnary$3;
2729
- var _nodeUtil = { exports: {} };
2730
- _nodeUtil.exports;
2731
- (function(module2, exports$1) {
2732
- var freeGlobal2 = _freeGlobal;
2733
- var freeExports = exports$1 && !exports$1.nodeType && exports$1;
2734
- var freeModule = freeExports && true && module2 && !module2.nodeType && module2;
2735
- var moduleExports = freeModule && freeModule.exports === freeExports;
2736
- var freeProcess = moduleExports && freeGlobal2.process;
2737
- var nodeUtil2 = function() {
2738
- try {
2739
- var types = freeModule && freeModule.require && freeModule.require("util").types;
2740
- if (types) {
2741
- return types;
2742
- }
2743
- return freeProcess && freeProcess.binding && freeProcess.binding("util");
2744
- } catch (e) {
2745
- }
2746
- }();
2747
- module2.exports = nodeUtil2;
2748
- })(_nodeUtil, _nodeUtil.exports);
2749
- var _nodeUtilExports = _nodeUtil.exports;
2750
- var baseIsTypedArray = _baseIsTypedArray, baseUnary$2 = _baseUnary, nodeUtil$2 = _nodeUtilExports;
2751
- var nodeIsTypedArray = nodeUtil$2 && nodeUtil$2.isTypedArray;
2752
- var isTypedArray$1 = nodeIsTypedArray ? baseUnary$2(nodeIsTypedArray) : baseIsTypedArray;
2753
- var isTypedArray_1 = isTypedArray$1;
2754
- var baseTimes = _baseTimes, isArguments = isArguments_1, isArray$2 = isArray_1, isBuffer$1 = isBufferExports, isIndex = _isIndex, isTypedArray = isTypedArray_1;
2755
- var objectProto$5 = Object.prototype;
2756
- var hasOwnProperty$3 = objectProto$5.hasOwnProperty;
2757
- function arrayLikeKeys$2(value, inherited) {
2758
- var isArr = isArray$2(value), isArg = !isArr && isArguments(value), isBuff = !isArr && !isArg && isBuffer$1(value), isType = !isArr && !isArg && !isBuff && isTypedArray(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes(value.length, String) : [], length = result.length;
2759
- for (var key in value) {
2760
- if ((inherited || hasOwnProperty$3.call(value, key)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
2761
- (key == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
2762
- isBuff && (key == "offset" || key == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
2763
- isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || // Skip index properties.
2764
- isIndex(key, length)))) {
2765
- result.push(key);
2766
- }
2767
- }
2768
- return result;
2769
- }
2770
- var _arrayLikeKeys = arrayLikeKeys$2;
2771
- var objectProto$4 = Object.prototype;
2772
- function isPrototype$3(value) {
2773
- var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto$4;
2774
- return value === proto;
2775
- }
2776
- var _isPrototype = isPrototype$3;
2777
- function overArg$2(func, transform) {
2778
- return function(arg) {
2779
- return func(transform(arg));
2780
- };
2781
- }
2782
- var _overArg = overArg$2;
2783
- var overArg$1 = _overArg;
2784
- var nativeKeys$1 = overArg$1(Object.keys, Object);
2785
- var _nativeKeys = nativeKeys$1;
2786
- var isPrototype$2 = _isPrototype, nativeKeys = _nativeKeys;
2787
- var objectProto$3 = Object.prototype;
2788
- var hasOwnProperty$2 = objectProto$3.hasOwnProperty;
2789
- function baseKeys$1(object) {
2790
- if (!isPrototype$2(object)) {
2791
- return nativeKeys(object);
2792
- }
2793
- var result = [];
2794
- for (var key in Object(object)) {
2795
- if (hasOwnProperty$2.call(object, key) && key != "constructor") {
2796
- result.push(key);
2797
- }
2798
- }
2799
- return result;
2800
- }
2801
- var _baseKeys = baseKeys$1;
2802
- var isFunction = isFunction_1, isLength = isLength_1;
2803
- function isArrayLike$2(value) {
2804
- return value != null && isLength(value.length) && !isFunction(value);
2805
- }
2806
- var isArrayLike_1 = isArrayLike$2;
2807
- var arrayLikeKeys$1 = _arrayLikeKeys, baseKeys = _baseKeys, isArrayLike$1 = isArrayLike_1;
2808
- function keys$3(object) {
2809
- return isArrayLike$1(object) ? arrayLikeKeys$1(object) : baseKeys(object);
2810
- }
2811
- var keys_1 = keys$3;
2812
- var copyObject$3 = _copyObject, keys$2 = keys_1;
2813
- function baseAssign$1(object, source) {
2814
- return object && copyObject$3(source, keys$2(source), object);
2815
- }
2816
- var _baseAssign = baseAssign$1;
2817
- function nativeKeysIn$1(object) {
2818
- var result = [];
2819
- if (object != null) {
2820
- for (var key in Object(object)) {
2821
- result.push(key);
2822
- }
2823
- }
2824
- return result;
2825
- }
2826
- var _nativeKeysIn = nativeKeysIn$1;
2827
- var isObject$2 = isObject_1, isPrototype$1 = _isPrototype, nativeKeysIn = _nativeKeysIn;
2828
- var objectProto$2 = Object.prototype;
2829
- var hasOwnProperty$1 = objectProto$2.hasOwnProperty;
2830
- function baseKeysIn$1(object) {
2831
- if (!isObject$2(object)) {
2832
- return nativeKeysIn(object);
2833
- }
2834
- var isProto = isPrototype$1(object), result = [];
2835
- for (var key in object) {
2836
- if (!(key == "constructor" && (isProto || !hasOwnProperty$1.call(object, key)))) {
2837
- result.push(key);
2838
- }
2839
- }
2840
- return result;
2841
- }
2842
- var _baseKeysIn = baseKeysIn$1;
2843
- var arrayLikeKeys = _arrayLikeKeys, baseKeysIn = _baseKeysIn, isArrayLike = isArrayLike_1;
2844
- function keysIn$3(object) {
2845
- return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
2846
- }
2847
- var keysIn_1 = keysIn$3;
2848
- var copyObject$2 = _copyObject, keysIn$2 = keysIn_1;
2849
- function baseAssignIn$1(object, source) {
2850
- return object && copyObject$2(source, keysIn$2(source), object);
2851
- }
2852
- var _baseAssignIn = baseAssignIn$1;
2853
- var _cloneBuffer = { exports: {} };
2854
- _cloneBuffer.exports;
2855
- (function(module2, exports$1) {
2856
- var root2 = _root;
2857
- var freeExports = exports$1 && !exports$1.nodeType && exports$1;
2858
- var freeModule = freeExports && true && module2 && !module2.nodeType && module2;
2859
- var moduleExports = freeModule && freeModule.exports === freeExports;
2860
- var Buffer2 = moduleExports ? root2.Buffer : void 0, allocUnsafe = Buffer2 ? Buffer2.allocUnsafe : void 0;
2861
- function cloneBuffer2(buffer, isDeep) {
2862
- if (isDeep) {
2863
- return buffer.slice();
2864
- }
2865
- var length = buffer.length, result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
2866
- buffer.copy(result);
2867
- return result;
2868
- }
2869
- module2.exports = cloneBuffer2;
2870
- })(_cloneBuffer, _cloneBuffer.exports);
2871
- var _cloneBufferExports = _cloneBuffer.exports;
2872
- function copyArray$1(source, array) {
2873
- var index = -1, length = source.length;
2874
- array || (array = Array(length));
2875
- while (++index < length) {
2876
- array[index] = source[index];
2877
- }
2878
- return array;
2879
- }
2880
- var _copyArray = copyArray$1;
2881
- function arrayFilter$1(array, predicate) {
2882
- var index = -1, length = array == null ? 0 : array.length, resIndex = 0, result = [];
2883
- while (++index < length) {
2884
- var value = array[index];
2885
- if (predicate(value, index, array)) {
2886
- result[resIndex++] = value;
2887
- }
2888
- }
2889
- return result;
2890
- }
2891
- var _arrayFilter = arrayFilter$1;
2892
- function stubArray$2() {
2893
- return [];
2894
- }
2895
- var stubArray_1 = stubArray$2;
2896
- var arrayFilter = _arrayFilter, stubArray$1 = stubArray_1;
2897
- var objectProto$1 = Object.prototype;
2898
- var propertyIsEnumerable = objectProto$1.propertyIsEnumerable;
2899
- var nativeGetSymbols$1 = Object.getOwnPropertySymbols;
2900
- var getSymbols$3 = !nativeGetSymbols$1 ? stubArray$1 : function(object) {
2901
- if (object == null) {
2902
- return [];
2903
- }
2904
- object = Object(object);
2905
- return arrayFilter(nativeGetSymbols$1(object), function(symbol) {
2906
- return propertyIsEnumerable.call(object, symbol);
2907
- });
2908
- };
2909
- var _getSymbols = getSymbols$3;
2910
- var copyObject$1 = _copyObject, getSymbols$2 = _getSymbols;
2911
- function copySymbols$1(source, object) {
2912
- return copyObject$1(source, getSymbols$2(source), object);
2913
- }
2914
- var _copySymbols = copySymbols$1;
2915
- function arrayPush$2(array, values) {
2916
- var index = -1, length = values.length, offset = array.length;
2917
- while (++index < length) {
2918
- array[offset + index] = values[index];
2919
- }
2920
- return array;
2921
- }
2922
- var _arrayPush = arrayPush$2;
2923
- var overArg = _overArg;
2924
- var getPrototype$2 = overArg(Object.getPrototypeOf, Object);
2925
- var _getPrototype = getPrototype$2;
2926
- var arrayPush$1 = _arrayPush, getPrototype$1 = _getPrototype, getSymbols$1 = _getSymbols, stubArray = stubArray_1;
2927
- var nativeGetSymbols = Object.getOwnPropertySymbols;
2928
- var getSymbolsIn$2 = !nativeGetSymbols ? stubArray : function(object) {
2929
- var result = [];
2930
- while (object) {
2931
- arrayPush$1(result, getSymbols$1(object));
2932
- object = getPrototype$1(object);
2933
- }
2934
- return result;
2935
- };
2936
- var _getSymbolsIn = getSymbolsIn$2;
2937
- var copyObject = _copyObject, getSymbolsIn$1 = _getSymbolsIn;
2938
- function copySymbolsIn$1(source, object) {
2939
- return copyObject(source, getSymbolsIn$1(source), object);
2940
- }
2941
- var _copySymbolsIn = copySymbolsIn$1;
2942
- var arrayPush = _arrayPush, isArray$1 = isArray_1;
2943
- function baseGetAllKeys$2(object, keysFunc, symbolsFunc) {
2944
- var result = keysFunc(object);
2945
- return isArray$1(object) ? result : arrayPush(result, symbolsFunc(object));
2946
- }
2947
- var _baseGetAllKeys = baseGetAllKeys$2;
2948
- var baseGetAllKeys$1 = _baseGetAllKeys, getSymbols = _getSymbols, keys$1 = keys_1;
2949
- function getAllKeys$1(object) {
2950
- return baseGetAllKeys$1(object, keys$1, getSymbols);
2951
- }
2952
- var _getAllKeys = getAllKeys$1;
2953
- var baseGetAllKeys = _baseGetAllKeys, getSymbolsIn = _getSymbolsIn, keysIn$1 = keysIn_1;
2954
- function getAllKeysIn$1(object) {
2955
- return baseGetAllKeys(object, keysIn$1, getSymbolsIn);
2956
- }
2957
- var _getAllKeysIn = getAllKeysIn$1;
2958
- var getNative$3 = _getNative, root$4 = _root;
2959
- var DataView$1 = getNative$3(root$4, "DataView");
2960
- var _DataView = DataView$1;
2961
- var getNative$2 = _getNative, root$3 = _root;
2962
- var Promise$2 = getNative$2(root$3, "Promise");
2963
- var _Promise = Promise$2;
2964
- var getNative$1 = _getNative, root$2 = _root;
2965
- var Set$2 = getNative$1(root$2, "Set");
2966
- var _Set = Set$2;
2967
- var getNative = _getNative, root$1 = _root;
2968
- var WeakMap$2 = getNative(root$1, "WeakMap");
2969
- var _WeakMap = WeakMap$2;
2970
- var DataView = _DataView, Map$1 = _Map, Promise$1 = _Promise, Set$1 = _Set, WeakMap$1 = _WeakMap, baseGetTag = _baseGetTag, toSource = _toSource;
2971
- var mapTag$3 = "[object Map]", objectTag$1 = "[object Object]", promiseTag = "[object Promise]", setTag$3 = "[object Set]", weakMapTag$1 = "[object WeakMap]";
2972
- var dataViewTag$2 = "[object DataView]";
2973
- var dataViewCtorString = toSource(DataView), mapCtorString = toSource(Map$1), promiseCtorString = toSource(Promise$1), setCtorString = toSource(Set$1), weakMapCtorString = toSource(WeakMap$1);
2974
- var getTag$3 = baseGetTag;
2975
- if (DataView && getTag$3(new DataView(new ArrayBuffer(1))) != dataViewTag$2 || Map$1 && getTag$3(new Map$1()) != mapTag$3 || Promise$1 && getTag$3(Promise$1.resolve()) != promiseTag || Set$1 && getTag$3(new Set$1()) != setTag$3 || WeakMap$1 && getTag$3(new WeakMap$1()) != weakMapTag$1) {
2976
- getTag$3 = function(value) {
2977
- var result = baseGetTag(value), Ctor = result == objectTag$1 ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : "";
2978
- if (ctorString) {
2979
- switch (ctorString) {
2980
- case dataViewCtorString:
2981
- return dataViewTag$2;
2982
- case mapCtorString:
2983
- return mapTag$3;
2984
- case promiseCtorString:
2985
- return promiseTag;
2986
- case setCtorString:
2987
- return setTag$3;
2988
- case weakMapCtorString:
2989
- return weakMapTag$1;
2990
- }
2991
- }
2992
- return result;
2993
- };
2994
- }
2995
- var _getTag = getTag$3;
2996
- var objectProto = Object.prototype;
2997
- var hasOwnProperty = objectProto.hasOwnProperty;
2998
- function initCloneArray$1(array) {
2999
- var length = array.length, result = new array.constructor(length);
3000
- if (length && typeof array[0] == "string" && hasOwnProperty.call(array, "index")) {
3001
- result.index = array.index;
3002
- result.input = array.input;
3003
- }
3004
- return result;
3005
- }
3006
- var _initCloneArray = initCloneArray$1;
3007
- var root = _root;
3008
- var Uint8Array$2 = root.Uint8Array;
3009
- var _Uint8Array = Uint8Array$2;
3010
- var Uint8Array$1 = _Uint8Array;
3011
- function cloneArrayBuffer$3(arrayBuffer) {
3012
- var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
3013
- new Uint8Array$1(result).set(new Uint8Array$1(arrayBuffer));
3014
- return result;
3015
- }
3016
- var _cloneArrayBuffer = cloneArrayBuffer$3;
3017
- var cloneArrayBuffer$2 = _cloneArrayBuffer;
3018
- function cloneDataView$1(dataView, isDeep) {
3019
- var buffer = isDeep ? cloneArrayBuffer$2(dataView.buffer) : dataView.buffer;
3020
- return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
3021
- }
3022
- var _cloneDataView = cloneDataView$1;
3023
- var reFlags = /\w*$/;
3024
- function cloneRegExp$1(regexp) {
3025
- var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
3026
- result.lastIndex = regexp.lastIndex;
3027
- return result;
3028
- }
3029
- var _cloneRegExp = cloneRegExp$1;
3030
- var Symbol$1 = _Symbol;
3031
- var symbolProto = Symbol$1 ? Symbol$1.prototype : void 0, symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
3032
- function cloneSymbol$1(symbol) {
3033
- return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
3034
- }
3035
- var _cloneSymbol = cloneSymbol$1;
3036
- var cloneArrayBuffer$1 = _cloneArrayBuffer;
3037
- function cloneTypedArray$1(typedArray, isDeep) {
3038
- var buffer = isDeep ? cloneArrayBuffer$1(typedArray.buffer) : typedArray.buffer;
3039
- return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
3040
- }
3041
- var _cloneTypedArray = cloneTypedArray$1;
3042
- var cloneArrayBuffer = _cloneArrayBuffer, cloneDataView = _cloneDataView, cloneRegExp = _cloneRegExp, cloneSymbol = _cloneSymbol, cloneTypedArray = _cloneTypedArray;
3043
- 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]";
3044
- 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]";
3045
- function initCloneByTag$1(object, tag, isDeep) {
3046
- var Ctor = object.constructor;
3047
- switch (tag) {
3048
- case arrayBufferTag$1:
3049
- return cloneArrayBuffer(object);
3050
- case boolTag$1:
3051
- case dateTag$1:
3052
- return new Ctor(+object);
3053
- case dataViewTag$1:
3054
- return cloneDataView(object, isDeep);
3055
- case float32Tag$1:
3056
- case float64Tag$1:
3057
- case int8Tag$1:
3058
- case int16Tag$1:
3059
- case int32Tag$1:
3060
- case uint8Tag$1:
3061
- case uint8ClampedTag$1:
3062
- case uint16Tag$1:
3063
- case uint32Tag$1:
3064
- return cloneTypedArray(object, isDeep);
3065
- case mapTag$2:
3066
- return new Ctor();
3067
- case numberTag$1:
3068
- case stringTag$1:
3069
- return new Ctor(object);
3070
- case regexpTag$1:
3071
- return cloneRegExp(object);
3072
- case setTag$2:
3073
- return new Ctor();
3074
- case symbolTag$1:
3075
- return cloneSymbol(object);
3076
- }
3077
- }
3078
- var _initCloneByTag = initCloneByTag$1;
3079
- var isObject$1 = isObject_1;
3080
- var objectCreate = Object.create;
3081
- var baseCreate$1 = /* @__PURE__ */ function() {
3082
- function object() {
3083
- }
3084
- return function(proto) {
3085
- if (!isObject$1(proto)) {
3086
- return {};
3087
- }
3088
- if (objectCreate) {
3089
- return objectCreate(proto);
3090
- }
3091
- object.prototype = proto;
3092
- var result = new object();
3093
- object.prototype = void 0;
3094
- return result;
3095
- };
3096
- }();
3097
- var _baseCreate = baseCreate$1;
3098
- var baseCreate = _baseCreate, getPrototype = _getPrototype, isPrototype = _isPrototype;
3099
- function initCloneObject$1(object) {
3100
- return typeof object.constructor == "function" && !isPrototype(object) ? baseCreate(getPrototype(object)) : {};
3101
- }
3102
- var _initCloneObject = initCloneObject$1;
3103
- var getTag$2 = _getTag, isObjectLike$1 = isObjectLike_1;
3104
- var mapTag$1 = "[object Map]";
3105
- function baseIsMap$1(value) {
3106
- return isObjectLike$1(value) && getTag$2(value) == mapTag$1;
3107
- }
3108
- var _baseIsMap = baseIsMap$1;
3109
- var baseIsMap = _baseIsMap, baseUnary$1 = _baseUnary, nodeUtil$1 = _nodeUtilExports;
3110
- var nodeIsMap = nodeUtil$1 && nodeUtil$1.isMap;
3111
- var isMap$1 = nodeIsMap ? baseUnary$1(nodeIsMap) : baseIsMap;
3112
- var isMap_1 = isMap$1;
3113
- var getTag$1 = _getTag, isObjectLike = isObjectLike_1;
3114
- var setTag$1 = "[object Set]";
3115
- function baseIsSet$1(value) {
3116
- return isObjectLike(value) && getTag$1(value) == setTag$1;
3117
- }
3118
- var _baseIsSet = baseIsSet$1;
3119
- var baseIsSet = _baseIsSet, baseUnary = _baseUnary, nodeUtil = _nodeUtilExports;
3120
- var nodeIsSet = nodeUtil && nodeUtil.isSet;
3121
- var isSet$1 = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;
3122
- var isSet_1 = isSet$1;
3123
- var Stack = _Stack, arrayEach = _arrayEach, assignValue = _assignValue, baseAssign = _baseAssign, baseAssignIn = _baseAssignIn, cloneBuffer = _cloneBufferExports, copyArray = _copyArray, copySymbols = _copySymbols, copySymbolsIn = _copySymbolsIn, getAllKeys = _getAllKeys, getAllKeysIn = _getAllKeysIn, getTag = _getTag, initCloneArray = _initCloneArray, initCloneByTag = _initCloneByTag, initCloneObject = _initCloneObject, isArray = isArray_1, isBuffer = isBufferExports, isMap = isMap_1, isObject = isObject_1, isSet = isSet_1, keys = keys_1, keysIn = keysIn_1;
3124
- var CLONE_DEEP_FLAG$1 = 1, CLONE_FLAT_FLAG = 2, CLONE_SYMBOLS_FLAG$1 = 4;
3125
- 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]";
3126
- 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]";
3127
- var cloneableTags = {};
3128
- 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;
3129
- cloneableTags[errorTag] = cloneableTags[funcTag] = cloneableTags[weakMapTag] = false;
3130
- function baseClone$1(value, bitmask, customizer, key, object, stack) {
3131
- var result, isDeep = bitmask & CLONE_DEEP_FLAG$1, isFlat = bitmask & CLONE_FLAT_FLAG, isFull = bitmask & CLONE_SYMBOLS_FLAG$1;
3132
- if (customizer) {
3133
- result = object ? customizer(value, key, object, stack) : customizer(value);
3134
- }
3135
- if (result !== void 0) {
3136
- return result;
3137
- }
3138
- if (!isObject(value)) {
3139
- return value;
3140
- }
3141
- var isArr = isArray(value);
3142
- if (isArr) {
3143
- result = initCloneArray(value);
3144
- if (!isDeep) {
3145
- return copyArray(value, result);
3146
- }
3147
- } else {
3148
- var tag = getTag(value), isFunc = tag == funcTag || tag == genTag;
3149
- if (isBuffer(value)) {
3150
- return cloneBuffer(value, isDeep);
3151
- }
3152
- if (tag == objectTag || tag == argsTag || isFunc && !object) {
3153
- result = isFlat || isFunc ? {} : initCloneObject(value);
3154
- if (!isDeep) {
3155
- return isFlat ? copySymbolsIn(value, baseAssignIn(result, value)) : copySymbols(value, baseAssign(result, value));
3156
- }
3157
- } else {
3158
- if (!cloneableTags[tag]) {
3159
- return object ? value : {};
3160
- }
3161
- result = initCloneByTag(value, tag, isDeep);
3162
- }
3163
- }
3164
- stack || (stack = new Stack());
3165
- var stacked = stack.get(value);
3166
- if (stacked) {
3167
- return stacked;
3168
- }
3169
- stack.set(value, result);
3170
- if (isSet(value)) {
3171
- value.forEach(function(subValue) {
3172
- result.add(baseClone$1(subValue, bitmask, customizer, subValue, value, stack));
3173
- });
3174
- } else if (isMap(value)) {
3175
- value.forEach(function(subValue, key2) {
3176
- result.set(key2, baseClone$1(subValue, bitmask, customizer, key2, value, stack));
3177
- });
3178
- }
3179
- var keysFunc = isFull ? isFlat ? getAllKeysIn : getAllKeys : isFlat ? keysIn : keys;
3180
- var props = isArr ? void 0 : keysFunc(value);
3181
- arrayEach(props || value, function(subValue, key2) {
3182
- if (props) {
3183
- key2 = subValue;
3184
- subValue = value[key2];
3185
- }
3186
- assignValue(result, key2, baseClone$1(subValue, bitmask, customizer, key2, value, stack));
3187
- });
3188
- return result;
3189
- }
3190
- var _baseClone = baseClone$1;
3191
- var baseClone = _baseClone;
3192
- var CLONE_DEEP_FLAG = 1, CLONE_SYMBOLS_FLAG = 4;
3193
- function cloneDeep$1(value) {
3194
- return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);
3195
- }
3196
- var cloneDeep_1 = cloneDeep$1;
3197
- const cloneDeep = /* @__PURE__ */ getDefaultExportFromCjs(cloneDeep_1);
3198
2235
  class CollectionRegistry {
3199
2236
  // Normalized runtime layer (used by Data Grid / UI)
3200
2237
  collectionsByTableName = /* @__PURE__ */ new Map();
@@ -3242,7 +2279,7 @@
3242
2279
  ...c
3243
2280
  }));
3244
2281
  normalizedCollections.forEach((c, index) => {
3245
- const raw = cloneDeep(collections[index]);
2282
+ const raw = deepClone(collections[index]);
3246
2283
  this.rootCollections.push(c);
3247
2284
  this.rawRootCollections.push(raw);
3248
2285
  const normalized = this.normalizeCollection(c);
@@ -3262,7 +2299,7 @@
3262
2299
  if (!subCollection) return;
3263
2300
  this._registerRecursively(this.normalizeCollection({
3264
2301
  ...subCollection
3265
- }), cloneDeep(subCollection));
2302
+ }), deepClone(subCollection));
3266
2303
  });
3267
2304
  }
3268
2305
  });
@@ -3270,7 +2307,7 @@
3270
2307
  return true;
3271
2308
  }
3272
2309
  register(collection, rawCollection) {
3273
- const raw = rawCollection ? cloneDeep(rawCollection) : cloneDeep(collection);
2310
+ const raw = rawCollection ? deepClone(rawCollection) : deepClone(collection);
3274
2311
  this.rootCollections.push(collection);
3275
2312
  this.rawRootCollections.push(raw);
3276
2313
  this._registerRecursively(collection, raw);
@@ -3294,7 +2331,7 @@
3294
2331
  if (!subCollection) return;
3295
2332
  this._registerRecursively(this.normalizeCollection({
3296
2333
  ...subCollection
3297
- }), cloneDeep(subCollection));
2334
+ }), deepClone(subCollection));
3298
2335
  });
3299
2336
  }
3300
2337
  }
@@ -4706,16 +3743,16 @@
4706
3743
  switch (property.type) {
4707
3744
  case "string": {
4708
3745
  if (typeof value === "string") return value;
4709
- let isBuffer2 = false;
3746
+ let isBuffer = false;
4710
3747
  let buf = null;
4711
3748
  if (Buffer.isBuffer(value)) {
4712
- isBuffer2 = true;
3749
+ isBuffer = true;
4713
3750
  buf = value;
4714
3751
  } else if (typeof value === "object" && value !== null && value.type === "Buffer" && Array.isArray(value.data)) {
4715
- isBuffer2 = true;
3752
+ isBuffer = true;
4716
3753
  buf = Buffer.from(value.data);
4717
3754
  }
4718
- if (isBuffer2 && buf) {
3755
+ if (isBuffer && buf) {
4719
3756
  let isPrintable = true;
4720
3757
  for (let i = 0; i < buf.length; i++) {
4721
3758
  const b = buf[i];
@@ -4819,16 +3856,16 @@
4819
3856
  return null;
4820
3857
  }
4821
3858
  default: {
4822
- let isBuffer2 = false;
3859
+ let isBuffer = false;
4823
3860
  let buf = null;
4824
3861
  if (Buffer.isBuffer(value)) {
4825
- isBuffer2 = true;
3862
+ isBuffer = true;
4826
3863
  buf = value;
4827
3864
  } else if (typeof value === "object" && value !== null && value.type === "Buffer" && Array.isArray(value.data)) {
4828
- isBuffer2 = true;
3865
+ isBuffer = true;
4829
3866
  buf = Buffer.from(value.data);
4830
3867
  }
4831
- if (isBuffer2 && buf) {
3868
+ if (isBuffer && buf) {
4832
3869
  let isPrintable = true;
4833
3870
  for (let i = 0; i < buf.length; i++) {
4834
3871
  const b = buf[i];