likec4 1.46.2 → 1.46.3
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/__app__/src/style.css +1 -1
- package/__app__/src/vendors.js +88 -65
- package/dist/cli/index.mjs +349 -342
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/shared/{likec4.Ds1BAAT3.mjs → likec4.4c1Hb6hc.mjs} +2465 -2455
- package/dist/shared/{likec4.Dawj4DWo.mjs → likec4.fwpDnke2.mjs} +35 -28
- package/dist/shared/{likec4.LnxAaQKk.d.mts → likec4.iyEJ8QdJ.d.mts} +19 -8
- package/dist/vite-plugin/index.d.mts +1 -1
- package/dist/vite-plugin/index.mjs +1 -1
- package/package.json +18 -18
- package/react/index.js +88 -65
package/__app__/src/vendors.js
CHANGED
|
@@ -16824,7 +16824,7 @@ function requireJsesc() {
|
|
|
16824
16824
|
}, fourHexEscape = (hex2) => "\\u" + ("0000" + hex2).slice(-4), hexadecimal = (code, lowercase2) => {
|
|
16825
16825
|
let hexadecimal2 = code.toString(16);
|
|
16826
16826
|
return lowercase2 ? hexadecimal2 : hexadecimal2.toUpperCase();
|
|
16827
|
-
},
|
|
16827
|
+
}, toString2 = object2.toString, isArray2 = Array.isArray, isBuffer = (value) => typeof Buffer == "function" && Buffer.isBuffer(value), isObject2 = (value) => toString2.call(value) == "[object Object]", isString = (value) => typeof value == "string" || toString2.call(value) == "[object String]", isNumber2 = (value) => typeof value == "number" || toString2.call(value) == "[object Number]", isBigInt = (value) => typeof value == "bigint", isFunction2 = (value) => typeof value == "function", isMap2 = (value) => toString2.call(value) == "[object Map]", isSet2 = (value) => toString2.call(value) == "[object Set]", singleEscapes = {
|
|
16828
16828
|
"\\": "\\\\",
|
|
16829
16829
|
"\b": "\\b",
|
|
16830
16830
|
"\f": "\\f",
|
|
@@ -24343,7 +24343,7 @@ function NodeToolbar({ nodeId, children: children2, className, style: style2, is
|
|
|
24343
24343
|
};
|
|
24344
24344
|
return jsx(NodeToolbarPortal, { children: jsx("div", { style: wrapperStyle2, className: cc(["react-flow__node-toolbar", className]), ...rest, "data-id": nodesArray.reduce((acc, node) => `${acc}${node.id} `, "").trim(), children: children2 }) });
|
|
24345
24345
|
}
|
|
24346
|
-
|
|
24346
|
+
const { getOwnPropertyNames, getOwnPropertySymbols } = Object, { hasOwnProperty } = Object.prototype;
|
|
24347
24347
|
function combineComparators(comparatorA, comparatorB) {
|
|
24348
24348
|
return function(a2, b, state) {
|
|
24349
24349
|
return comparatorA(a2, b, state) && comparatorB(a2, b, state);
|
|
@@ -24353,11 +24353,11 @@ function createIsCircular(areItemsEqual) {
|
|
|
24353
24353
|
return function(a2, b, state) {
|
|
24354
24354
|
if (!a2 || !b || typeof a2 != "object" || typeof b != "object")
|
|
24355
24355
|
return areItemsEqual(a2, b, state);
|
|
24356
|
-
|
|
24356
|
+
const { cache: cache2 } = state, cachedA = cache2.get(a2), cachedB = cache2.get(b);
|
|
24357
24357
|
if (cachedA && cachedB)
|
|
24358
24358
|
return cachedA === b && cachedB === a2;
|
|
24359
24359
|
cache2.set(a2, b), cache2.set(b, a2);
|
|
24360
|
-
|
|
24360
|
+
const result = areItemsEqual(a2, b, state);
|
|
24361
24361
|
return cache2.delete(a2), cache2.delete(b), result;
|
|
24362
24362
|
};
|
|
24363
24363
|
}
|
|
@@ -24367,18 +24367,19 @@ function getShortTag(value) {
|
|
|
24367
24367
|
function getStrictProperties(object2) {
|
|
24368
24368
|
return getOwnPropertyNames(object2).concat(getOwnPropertySymbols(object2));
|
|
24369
24369
|
}
|
|
24370
|
-
|
|
24370
|
+
const hasOwn = (
|
|
24371
24371
|
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
|
|
24372
|
-
Object.hasOwn || (
|
|
24373
|
-
return hasOwnProperty.call(object2, property);
|
|
24374
|
-
})
|
|
24372
|
+
Object.hasOwn || ((object2, property) => hasOwnProperty.call(object2, property))
|
|
24375
24373
|
);
|
|
24376
24374
|
function sameValueZeroEqual(a2, b) {
|
|
24377
24375
|
return a2 === b || !a2 && !b && a2 !== a2 && b !== b;
|
|
24378
24376
|
}
|
|
24379
|
-
|
|
24377
|
+
const PREACT_VNODE = "__v", PREACT_OWNER = "__o", REACT_OWNER = "_owner", { getOwnPropertyDescriptor, keys } = Object;
|
|
24378
|
+
function areArrayBuffersEqual(a2, b) {
|
|
24379
|
+
return a2.byteLength === b.byteLength && areTypedArraysEqual(new Uint8Array(a2), new Uint8Array(b));
|
|
24380
|
+
}
|
|
24380
24381
|
function areArraysEqual(a2, b, state) {
|
|
24381
|
-
|
|
24382
|
+
let index2 = a2.length;
|
|
24382
24383
|
if (b.length !== index2)
|
|
24383
24384
|
return !1;
|
|
24384
24385
|
for (; index2-- > 0; )
|
|
@@ -24386,6 +24387,9 @@ function areArraysEqual(a2, b, state) {
|
|
|
24386
24387
|
return !1;
|
|
24387
24388
|
return !0;
|
|
24388
24389
|
}
|
|
24390
|
+
function areDataViewsEqual(a2, b) {
|
|
24391
|
+
return a2.byteLength === b.byteLength && areTypedArraysEqual(new Uint8Array(a2.buffer, a2.byteOffset, a2.byteLength), new Uint8Array(b.buffer, b.byteOffset, b.byteLength));
|
|
24392
|
+
}
|
|
24389
24393
|
function areDatesEqual(a2, b) {
|
|
24390
24394
|
return sameValueZeroEqual(a2.getTime(), b.getTime());
|
|
24391
24395
|
}
|
|
@@ -24396,18 +24400,22 @@ function areFunctionsEqual(a2, b) {
|
|
|
24396
24400
|
return a2 === b;
|
|
24397
24401
|
}
|
|
24398
24402
|
function areMapsEqual(a2, b, state) {
|
|
24399
|
-
|
|
24403
|
+
const size2 = a2.size;
|
|
24400
24404
|
if (size2 !== b.size)
|
|
24401
24405
|
return !1;
|
|
24402
24406
|
if (!size2)
|
|
24403
24407
|
return !0;
|
|
24404
|
-
|
|
24405
|
-
|
|
24408
|
+
const matchedIndices = new Array(size2), aIterable = a2.entries();
|
|
24409
|
+
let aResult, bResult, index2 = 0;
|
|
24410
|
+
for (; (aResult = aIterable.next()) && !aResult.done; ) {
|
|
24411
|
+
const bIterable = b.entries();
|
|
24412
|
+
let hasMatch = !1, matchIndex = 0;
|
|
24413
|
+
for (; (bResult = bIterable.next()) && !bResult.done; ) {
|
|
24406
24414
|
if (matchedIndices[matchIndex]) {
|
|
24407
24415
|
matchIndex++;
|
|
24408
24416
|
continue;
|
|
24409
24417
|
}
|
|
24410
|
-
|
|
24418
|
+
const aEntry = aResult.value, bEntry = bResult.value;
|
|
24411
24419
|
if (state.equals(aEntry[0], bEntry[0], index2, matchIndex, a2, b, state) && state.equals(aEntry[1], bEntry[1], aEntry[0], bEntry[0], a2, b, state)) {
|
|
24412
24420
|
hasMatch = matchedIndices[matchIndex] = !0;
|
|
24413
24421
|
break;
|
|
@@ -24420,9 +24428,10 @@ function areMapsEqual(a2, b, state) {
|
|
|
24420
24428
|
}
|
|
24421
24429
|
return !0;
|
|
24422
24430
|
}
|
|
24423
|
-
|
|
24431
|
+
const areNumbersEqual = sameValueZeroEqual;
|
|
24424
24432
|
function areObjectsEqual(a2, b, state) {
|
|
24425
|
-
|
|
24433
|
+
const properties = keys(a2);
|
|
24434
|
+
let index2 = properties.length;
|
|
24426
24435
|
if (keys(b).length !== index2)
|
|
24427
24436
|
return !1;
|
|
24428
24437
|
for (; index2-- > 0; )
|
|
@@ -24431,10 +24440,12 @@ function areObjectsEqual(a2, b, state) {
|
|
|
24431
24440
|
return !0;
|
|
24432
24441
|
}
|
|
24433
24442
|
function areObjectsEqualStrict(a2, b, state) {
|
|
24434
|
-
|
|
24443
|
+
const properties = getStrictProperties(a2);
|
|
24444
|
+
let index2 = properties.length;
|
|
24435
24445
|
if (getStrictProperties(b).length !== index2)
|
|
24436
24446
|
return !1;
|
|
24437
|
-
|
|
24447
|
+
let property, descriptorA, descriptorB;
|
|
24448
|
+
for (; index2-- > 0; )
|
|
24438
24449
|
if (property = properties[index2], !isPropertyEqual(a2, b, state, property) || (descriptorA = getOwnPropertyDescriptor(a2, property), descriptorB = getOwnPropertyDescriptor(b, property), (descriptorA || descriptorB) && (!descriptorA || !descriptorB || descriptorA.configurable !== descriptorB.configurable || descriptorA.enumerable !== descriptorB.enumerable || descriptorA.writable !== descriptorB.writable)))
|
|
24439
24450
|
return !1;
|
|
24440
24451
|
return !0;
|
|
@@ -24446,13 +24457,17 @@ function areRegExpsEqual(a2, b) {
|
|
|
24446
24457
|
return a2.source === b.source && a2.flags === b.flags;
|
|
24447
24458
|
}
|
|
24448
24459
|
function areSetsEqual(a2, b, state) {
|
|
24449
|
-
|
|
24460
|
+
const size2 = a2.size;
|
|
24450
24461
|
if (size2 !== b.size)
|
|
24451
24462
|
return !1;
|
|
24452
24463
|
if (!size2)
|
|
24453
24464
|
return !0;
|
|
24454
|
-
|
|
24455
|
-
|
|
24465
|
+
const matchedIndices = new Array(size2), aIterable = a2.values();
|
|
24466
|
+
let aResult, bResult;
|
|
24467
|
+
for (; (aResult = aIterable.next()) && !aResult.done; ) {
|
|
24468
|
+
const bIterable = b.values();
|
|
24469
|
+
let hasMatch = !1, matchIndex = 0;
|
|
24470
|
+
for (; (bResult = bIterable.next()) && !bResult.done; ) {
|
|
24456
24471
|
if (!matchedIndices[matchIndex] && state.equals(aResult.value, bResult.value, aResult.value, bResult.value, a2, b, state)) {
|
|
24457
24472
|
hasMatch = matchedIndices[matchIndex] = !0;
|
|
24458
24473
|
break;
|
|
@@ -24465,8 +24480,8 @@ function areSetsEqual(a2, b, state) {
|
|
|
24465
24480
|
return !0;
|
|
24466
24481
|
}
|
|
24467
24482
|
function areTypedArraysEqual(a2, b) {
|
|
24468
|
-
|
|
24469
|
-
if (b.
|
|
24483
|
+
let index2 = a2.byteLength;
|
|
24484
|
+
if (b.byteLength !== index2 || a2.byteOffset !== b.byteOffset)
|
|
24470
24485
|
return !1;
|
|
24471
24486
|
for (; index2-- > 0; )
|
|
24472
24487
|
if (a2[index2] !== b[index2])
|
|
@@ -24479,28 +24494,38 @@ function areUrlsEqual(a2, b) {
|
|
|
24479
24494
|
function isPropertyEqual(a2, b, state, property) {
|
|
24480
24495
|
return (property === REACT_OWNER || property === PREACT_OWNER || property === PREACT_VNODE) && (a2.$$typeof || b.$$typeof) ? !0 : hasOwn(b, property) && state.equals(a2[property], b[property], property, property, a2, b, state);
|
|
24481
24496
|
}
|
|
24482
|
-
|
|
24483
|
-
|
|
24484
|
-
|
|
24497
|
+
const ARRAY_BUFFER_TAG = "[object ArrayBuffer]", ARGUMENTS_TAG = "[object Arguments]", BOOLEAN_TAG = "[object Boolean]", DATA_VIEW_TAG = "[object DataView]", DATE_TAG = "[object Date]", ERROR_TAG = "[object Error]", MAP_TAG = "[object Map]", NUMBER_TAG = "[object Number]", OBJECT_TAG = "[object Object]", REG_EXP_TAG = "[object RegExp]", SET_TAG = "[object Set]", STRING_TAG = "[object String]", TYPED_ARRAY_TAGS = {
|
|
24498
|
+
"[object Int8Array]": !0,
|
|
24499
|
+
"[object Uint8Array]": !0,
|
|
24500
|
+
"[object Uint8ClampedArray]": !0,
|
|
24501
|
+
"[object Int16Array]": !0,
|
|
24502
|
+
"[object Uint16Array]": !0,
|
|
24503
|
+
"[object Int32Array]": !0,
|
|
24504
|
+
"[object Uint32Array]": !0,
|
|
24505
|
+
"[object Float16Array]": !0,
|
|
24506
|
+
"[object Float32Array]": !0,
|
|
24507
|
+
"[object Float64Array]": !0,
|
|
24508
|
+
"[object BigInt64Array]": !0,
|
|
24509
|
+
"[object BigUint64Array]": !0
|
|
24510
|
+
}, URL_TAG = "[object URL]", toString = Object.prototype.toString;
|
|
24511
|
+
function createEqualityComparator({ areArrayBuffersEqual: areArrayBuffersEqual2, areArraysEqual: areArraysEqual2, areDataViewsEqual: areDataViewsEqual2, areDatesEqual: areDatesEqual2, areErrorsEqual: areErrorsEqual2, areFunctionsEqual: areFunctionsEqual2, areMapsEqual: areMapsEqual2, areNumbersEqual: areNumbersEqual2, areObjectsEqual: areObjectsEqual2, arePrimitiveWrappersEqual: arePrimitiveWrappersEqual2, areRegExpsEqual: areRegExpsEqual2, areSetsEqual: areSetsEqual2, areTypedArraysEqual: areTypedArraysEqual2, areUrlsEqual: areUrlsEqual2, unknownTagComparators }) {
|
|
24485
24512
|
return function(a2, b, state) {
|
|
24486
24513
|
if (a2 === b)
|
|
24487
24514
|
return !0;
|
|
24488
24515
|
if (a2 == null || b == null)
|
|
24489
24516
|
return !1;
|
|
24490
|
-
|
|
24517
|
+
const type = typeof a2;
|
|
24491
24518
|
if (type !== typeof b)
|
|
24492
24519
|
return !1;
|
|
24493
24520
|
if (type !== "object")
|
|
24494
24521
|
return type === "number" ? areNumbersEqual2(a2, b, state) : type === "function" ? areFunctionsEqual2(a2, b, state) : !1;
|
|
24495
|
-
|
|
24522
|
+
const constructor = a2.constructor;
|
|
24496
24523
|
if (constructor !== b.constructor)
|
|
24497
24524
|
return !1;
|
|
24498
24525
|
if (constructor === Object)
|
|
24499
24526
|
return areObjectsEqual2(a2, b, state);
|
|
24500
|
-
if (isArray
|
|
24527
|
+
if (Array.isArray(a2))
|
|
24501
24528
|
return areArraysEqual2(a2, b, state);
|
|
24502
|
-
if (isTypedArray != null && isTypedArray(a2))
|
|
24503
|
-
return areTypedArraysEqual2(a2, b, state);
|
|
24504
24529
|
if (constructor === Date)
|
|
24505
24530
|
return areDatesEqual2(a2, b, state);
|
|
24506
24531
|
if (constructor === RegExp)
|
|
@@ -24509,7 +24534,7 @@ function createEqualityComparator(_a) {
|
|
|
24509
24534
|
return areMapsEqual2(a2, b, state);
|
|
24510
24535
|
if (constructor === Set)
|
|
24511
24536
|
return areSetsEqual2(a2, b, state);
|
|
24512
|
-
|
|
24537
|
+
const tag = toString.call(a2);
|
|
24513
24538
|
if (tag === DATE_TAG)
|
|
24514
24539
|
return areDatesEqual2(a2, b, state);
|
|
24515
24540
|
if (tag === REG_EXP_TAG)
|
|
@@ -24526,12 +24551,18 @@ function createEqualityComparator(_a) {
|
|
|
24526
24551
|
return areErrorsEqual2(a2, b, state);
|
|
24527
24552
|
if (tag === ARGUMENTS_TAG)
|
|
24528
24553
|
return areObjectsEqual2(a2, b, state);
|
|
24554
|
+
if (TYPED_ARRAY_TAGS[tag])
|
|
24555
|
+
return areTypedArraysEqual2(a2, b, state);
|
|
24556
|
+
if (tag === ARRAY_BUFFER_TAG)
|
|
24557
|
+
return areArrayBuffersEqual2(a2, b, state);
|
|
24558
|
+
if (tag === DATA_VIEW_TAG)
|
|
24559
|
+
return areDataViewsEqual2(a2, b, state);
|
|
24529
24560
|
if (tag === BOOLEAN_TAG || tag === NUMBER_TAG || tag === STRING_TAG)
|
|
24530
24561
|
return arePrimitiveWrappersEqual2(a2, b, state);
|
|
24531
24562
|
if (unknownTagComparators) {
|
|
24532
|
-
|
|
24563
|
+
let unknownTagComparator = unknownTagComparators[tag];
|
|
24533
24564
|
if (!unknownTagComparator) {
|
|
24534
|
-
|
|
24565
|
+
const shortTag = getShortTag(a2);
|
|
24535
24566
|
shortTag && (unknownTagComparator = unknownTagComparators[shortTag]);
|
|
24536
24567
|
}
|
|
24537
24568
|
if (unknownTagComparator)
|
|
@@ -24540,9 +24571,11 @@ function createEqualityComparator(_a) {
|
|
|
24540
24571
|
return !1;
|
|
24541
24572
|
};
|
|
24542
24573
|
}
|
|
24543
|
-
function createEqualityComparatorConfig(
|
|
24544
|
-
|
|
24574
|
+
function createEqualityComparatorConfig({ circular, createCustomConfig, strict }) {
|
|
24575
|
+
let config2 = {
|
|
24576
|
+
areArrayBuffersEqual,
|
|
24545
24577
|
areArraysEqual: strict ? areObjectsEqualStrict : areArraysEqual,
|
|
24578
|
+
areDataViewsEqual,
|
|
24546
24579
|
areDatesEqual,
|
|
24547
24580
|
areErrorsEqual,
|
|
24548
24581
|
areFunctionsEqual,
|
|
@@ -24552,17 +24585,17 @@ function createEqualityComparatorConfig(_a) {
|
|
|
24552
24585
|
arePrimitiveWrappersEqual,
|
|
24553
24586
|
areRegExpsEqual,
|
|
24554
24587
|
areSetsEqual: strict ? combineComparators(areSetsEqual, areObjectsEqualStrict) : areSetsEqual,
|
|
24555
|
-
areTypedArraysEqual: strict ? areObjectsEqualStrict : areTypedArraysEqual,
|
|
24588
|
+
areTypedArraysEqual: strict ? combineComparators(areTypedArraysEqual, areObjectsEqualStrict) : areTypedArraysEqual,
|
|
24556
24589
|
areUrlsEqual,
|
|
24557
24590
|
unknownTagComparators: void 0
|
|
24558
24591
|
};
|
|
24559
|
-
if (createCustomConfig && (config2 = assign
|
|
24560
|
-
|
|
24561
|
-
config2 = assign
|
|
24562
|
-
areArraysEqual:
|
|
24563
|
-
areMapsEqual:
|
|
24564
|
-
areObjectsEqual:
|
|
24565
|
-
areSetsEqual:
|
|
24592
|
+
if (createCustomConfig && (config2 = Object.assign({}, config2, createCustomConfig(config2))), circular) {
|
|
24593
|
+
const areArraysEqual2 = createIsCircular(config2.areArraysEqual), areMapsEqual2 = createIsCircular(config2.areMapsEqual), areObjectsEqual2 = createIsCircular(config2.areObjectsEqual), areSetsEqual2 = createIsCircular(config2.areSetsEqual);
|
|
24594
|
+
config2 = Object.assign({}, config2, {
|
|
24595
|
+
areArraysEqual: areArraysEqual2,
|
|
24596
|
+
areMapsEqual: areMapsEqual2,
|
|
24597
|
+
areObjectsEqual: areObjectsEqual2,
|
|
24598
|
+
areSetsEqual: areSetsEqual2
|
|
24566
24599
|
});
|
|
24567
24600
|
}
|
|
24568
24601
|
return config2;
|
|
@@ -24572,11 +24605,10 @@ function createInternalEqualityComparator(compare2) {
|
|
|
24572
24605
|
return compare2(a2, b, state);
|
|
24573
24606
|
};
|
|
24574
24607
|
}
|
|
24575
|
-
function createIsEqual(
|
|
24576
|
-
var circular = _a.circular, comparator = _a.comparator, createState2 = _a.createState, equals = _a.equals, strict = _a.strict;
|
|
24608
|
+
function createIsEqual({ circular, comparator, createState: createState2, equals, strict }) {
|
|
24577
24609
|
if (createState2)
|
|
24578
24610
|
return function(a2, b) {
|
|
24579
|
-
|
|
24611
|
+
const { cache: cache2 = circular ? /* @__PURE__ */ new WeakMap() : void 0, meta } = createState2();
|
|
24580
24612
|
return comparator(a2, b, {
|
|
24581
24613
|
cache: cache2,
|
|
24582
24614
|
equals,
|
|
@@ -24593,7 +24625,7 @@ function createIsEqual(_a) {
|
|
|
24593
24625
|
strict
|
|
24594
24626
|
});
|
|
24595
24627
|
};
|
|
24596
|
-
|
|
24628
|
+
const state = {
|
|
24597
24629
|
cache: void 0,
|
|
24598
24630
|
equals,
|
|
24599
24631
|
meta: void 0,
|
|
@@ -24603,40 +24635,31 @@ function createIsEqual(_a) {
|
|
|
24603
24635
|
return comparator(a2, b, state);
|
|
24604
24636
|
};
|
|
24605
24637
|
}
|
|
24606
|
-
|
|
24638
|
+
const deepEqual = createCustomEqual();
|
|
24607
24639
|
createCustomEqual({ strict: !0 });
|
|
24608
24640
|
createCustomEqual({ circular: !0 });
|
|
24609
24641
|
createCustomEqual({
|
|
24610
24642
|
circular: !0,
|
|
24611
24643
|
strict: !0
|
|
24612
24644
|
});
|
|
24613
|
-
|
|
24614
|
-
createInternalComparator:
|
|
24615
|
-
return sameValueZeroEqual;
|
|
24616
|
-
}
|
|
24645
|
+
const shallowEqual = createCustomEqual({
|
|
24646
|
+
createInternalComparator: () => sameValueZeroEqual
|
|
24617
24647
|
});
|
|
24618
24648
|
createCustomEqual({
|
|
24619
24649
|
strict: !0,
|
|
24620
|
-
createInternalComparator:
|
|
24621
|
-
return sameValueZeroEqual;
|
|
24622
|
-
}
|
|
24650
|
+
createInternalComparator: () => sameValueZeroEqual
|
|
24623
24651
|
});
|
|
24624
24652
|
createCustomEqual({
|
|
24625
24653
|
circular: !0,
|
|
24626
|
-
createInternalComparator:
|
|
24627
|
-
return sameValueZeroEqual;
|
|
24628
|
-
}
|
|
24654
|
+
createInternalComparator: () => sameValueZeroEqual
|
|
24629
24655
|
});
|
|
24630
24656
|
createCustomEqual({
|
|
24631
24657
|
circular: !0,
|
|
24632
|
-
createInternalComparator:
|
|
24633
|
-
return sameValueZeroEqual;
|
|
24634
|
-
},
|
|
24658
|
+
createInternalComparator: () => sameValueZeroEqual,
|
|
24635
24659
|
strict: !0
|
|
24636
24660
|
});
|
|
24637
|
-
function createCustomEqual(options) {
|
|
24638
|
-
|
|
24639
|
-
var _a = options.circular, circular = _a === void 0 ? !1 : _a, createCustomInternalComparator = options.createInternalComparator, createState2 = options.createState, _b = options.strict, strict = _b === void 0 ? !1 : _b, config2 = createEqualityComparatorConfig(options), comparator = createEqualityComparator(config2), equals = createCustomInternalComparator ? createCustomInternalComparator(comparator) : createInternalEqualityComparator(comparator);
|
|
24661
|
+
function createCustomEqual(options = {}) {
|
|
24662
|
+
const { circular = !1, createInternalComparator: createCustomInternalComparator, createState: createState2, strict = !1 } = options, config2 = createEqualityComparatorConfig(options), comparator = createEqualityComparator(config2), equals = createCustomInternalComparator ? createCustomInternalComparator(comparator) : createInternalEqualityComparator(comparator);
|
|
24640
24663
|
return createIsEqual({ circular, comparator, createState: createState2, equals, strict });
|
|
24641
24664
|
}
|
|
24642
24665
|
const { abs: abs$1, cos: cos$1, sin: sin$1, acos: acos$1, atan2, sqrt: sqrt$1, pow } = Math;
|