@yahoo/uds-create-cli 5.91.8 → 5.92.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +12 -12
- package/subprocess/transform-runner.mjs +1486 -6
|
@@ -43399,6 +43399,1431 @@ var require_lib8 = __commonJS({
|
|
|
43399
43399
|
}
|
|
43400
43400
|
});
|
|
43401
43401
|
|
|
43402
|
+
// ../../node_modules/react/cjs/react.production.js
|
|
43403
|
+
var require_react_production = __commonJS({
|
|
43404
|
+
"../../node_modules/react/cjs/react.production.js"(exports) {
|
|
43405
|
+
"use strict";
|
|
43406
|
+
var REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element");
|
|
43407
|
+
var REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal");
|
|
43408
|
+
var REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment");
|
|
43409
|
+
var REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode");
|
|
43410
|
+
var REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler");
|
|
43411
|
+
var REACT_CONSUMER_TYPE = /* @__PURE__ */ Symbol.for("react.consumer");
|
|
43412
|
+
var REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context");
|
|
43413
|
+
var REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref");
|
|
43414
|
+
var REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense");
|
|
43415
|
+
var REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo");
|
|
43416
|
+
var REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy");
|
|
43417
|
+
var REACT_ACTIVITY_TYPE = /* @__PURE__ */ Symbol.for("react.activity");
|
|
43418
|
+
var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
|
|
43419
|
+
function getIteratorFn(maybeIterable) {
|
|
43420
|
+
if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
|
|
43421
|
+
maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"];
|
|
43422
|
+
return "function" === typeof maybeIterable ? maybeIterable : null;
|
|
43423
|
+
}
|
|
43424
|
+
var ReactNoopUpdateQueue = {
|
|
43425
|
+
isMounted: function() {
|
|
43426
|
+
return false;
|
|
43427
|
+
},
|
|
43428
|
+
enqueueForceUpdate: function() {
|
|
43429
|
+
},
|
|
43430
|
+
enqueueReplaceState: function() {
|
|
43431
|
+
},
|
|
43432
|
+
enqueueSetState: function() {
|
|
43433
|
+
}
|
|
43434
|
+
};
|
|
43435
|
+
var assign = Object.assign;
|
|
43436
|
+
var emptyObject = {};
|
|
43437
|
+
function Component2(props, context, updater) {
|
|
43438
|
+
this.props = props;
|
|
43439
|
+
this.context = context;
|
|
43440
|
+
this.refs = emptyObject;
|
|
43441
|
+
this.updater = updater || ReactNoopUpdateQueue;
|
|
43442
|
+
}
|
|
43443
|
+
Component2.prototype.isReactComponent = {};
|
|
43444
|
+
Component2.prototype.setState = function(partialState, callback) {
|
|
43445
|
+
if ("object" !== typeof partialState && "function" !== typeof partialState && null != partialState)
|
|
43446
|
+
throw Error(
|
|
43447
|
+
"takes an object of state variables to update or a function which returns an object of state variables."
|
|
43448
|
+
);
|
|
43449
|
+
this.updater.enqueueSetState(this, partialState, callback, "setState");
|
|
43450
|
+
};
|
|
43451
|
+
Component2.prototype.forceUpdate = function(callback) {
|
|
43452
|
+
this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
|
|
43453
|
+
};
|
|
43454
|
+
function ComponentDummy() {
|
|
43455
|
+
}
|
|
43456
|
+
ComponentDummy.prototype = Component2.prototype;
|
|
43457
|
+
function PureComponent(props, context, updater) {
|
|
43458
|
+
this.props = props;
|
|
43459
|
+
this.context = context;
|
|
43460
|
+
this.refs = emptyObject;
|
|
43461
|
+
this.updater = updater || ReactNoopUpdateQueue;
|
|
43462
|
+
}
|
|
43463
|
+
var pureComponentPrototype = PureComponent.prototype = new ComponentDummy();
|
|
43464
|
+
pureComponentPrototype.constructor = PureComponent;
|
|
43465
|
+
assign(pureComponentPrototype, Component2.prototype);
|
|
43466
|
+
pureComponentPrototype.isPureReactComponent = true;
|
|
43467
|
+
var isArrayImpl = Array.isArray;
|
|
43468
|
+
function noop() {
|
|
43469
|
+
}
|
|
43470
|
+
var ReactSharedInternals = { H: null, A: null, T: null, S: null };
|
|
43471
|
+
var hasOwnProperty2 = Object.prototype.hasOwnProperty;
|
|
43472
|
+
function ReactElement(type, key2, props) {
|
|
43473
|
+
var refProp = props.ref;
|
|
43474
|
+
return {
|
|
43475
|
+
$$typeof: REACT_ELEMENT_TYPE,
|
|
43476
|
+
type,
|
|
43477
|
+
key: key2,
|
|
43478
|
+
ref: void 0 !== refProp ? refProp : null,
|
|
43479
|
+
props
|
|
43480
|
+
};
|
|
43481
|
+
}
|
|
43482
|
+
function cloneAndReplaceKey(oldElement, newKey) {
|
|
43483
|
+
return ReactElement(oldElement.type, newKey, oldElement.props);
|
|
43484
|
+
}
|
|
43485
|
+
function isValidElement2(object3) {
|
|
43486
|
+
return "object" === typeof object3 && null !== object3 && object3.$$typeof === REACT_ELEMENT_TYPE;
|
|
43487
|
+
}
|
|
43488
|
+
function escape(key2) {
|
|
43489
|
+
var escaperLookup = { "=": "=0", ":": "=2" };
|
|
43490
|
+
return "$" + key2.replace(/[=:]/g, function(match) {
|
|
43491
|
+
return escaperLookup[match];
|
|
43492
|
+
});
|
|
43493
|
+
}
|
|
43494
|
+
var userProvidedKeyEscapeRegex = /\/+/g;
|
|
43495
|
+
function getElementKey(element2, index) {
|
|
43496
|
+
return "object" === typeof element2 && null !== element2 && null != element2.key ? escape("" + element2.key) : index.toString(36);
|
|
43497
|
+
}
|
|
43498
|
+
function resolveThenable(thenable) {
|
|
43499
|
+
switch (thenable.status) {
|
|
43500
|
+
case "fulfilled":
|
|
43501
|
+
return thenable.value;
|
|
43502
|
+
case "rejected":
|
|
43503
|
+
throw thenable.reason;
|
|
43504
|
+
default:
|
|
43505
|
+
switch ("string" === typeof thenable.status ? thenable.then(noop, noop) : (thenable.status = "pending", thenable.then(
|
|
43506
|
+
function(fulfilledValue) {
|
|
43507
|
+
"pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
|
|
43508
|
+
},
|
|
43509
|
+
function(error61) {
|
|
43510
|
+
"pending" === thenable.status && (thenable.status = "rejected", thenable.reason = error61);
|
|
43511
|
+
}
|
|
43512
|
+
)), thenable.status) {
|
|
43513
|
+
case "fulfilled":
|
|
43514
|
+
return thenable.value;
|
|
43515
|
+
case "rejected":
|
|
43516
|
+
throw thenable.reason;
|
|
43517
|
+
}
|
|
43518
|
+
}
|
|
43519
|
+
throw thenable;
|
|
43520
|
+
}
|
|
43521
|
+
function mapIntoArray(children, array2, escapedPrefix, nameSoFar, callback) {
|
|
43522
|
+
var type = typeof children;
|
|
43523
|
+
if ("undefined" === type || "boolean" === type) children = null;
|
|
43524
|
+
var invokeCallback = false;
|
|
43525
|
+
if (null === children) invokeCallback = true;
|
|
43526
|
+
else
|
|
43527
|
+
switch (type) {
|
|
43528
|
+
case "bigint":
|
|
43529
|
+
case "string":
|
|
43530
|
+
case "number":
|
|
43531
|
+
invokeCallback = true;
|
|
43532
|
+
break;
|
|
43533
|
+
case "object":
|
|
43534
|
+
switch (children.$$typeof) {
|
|
43535
|
+
case REACT_ELEMENT_TYPE:
|
|
43536
|
+
case REACT_PORTAL_TYPE:
|
|
43537
|
+
invokeCallback = true;
|
|
43538
|
+
break;
|
|
43539
|
+
case REACT_LAZY_TYPE:
|
|
43540
|
+
return invokeCallback = children._init, mapIntoArray(
|
|
43541
|
+
invokeCallback(children._payload),
|
|
43542
|
+
array2,
|
|
43543
|
+
escapedPrefix,
|
|
43544
|
+
nameSoFar,
|
|
43545
|
+
callback
|
|
43546
|
+
);
|
|
43547
|
+
}
|
|
43548
|
+
}
|
|
43549
|
+
if (invokeCallback)
|
|
43550
|
+
return callback = callback(children), invokeCallback = "" === nameSoFar ? "." + getElementKey(children, 0) : nameSoFar, isArrayImpl(callback) ? (escapedPrefix = "", null != invokeCallback && (escapedPrefix = invokeCallback.replace(userProvidedKeyEscapeRegex, "$&/") + "/"), mapIntoArray(callback, array2, escapedPrefix, "", function(c) {
|
|
43551
|
+
return c;
|
|
43552
|
+
})) : null != callback && (isValidElement2(callback) && (callback = cloneAndReplaceKey(
|
|
43553
|
+
callback,
|
|
43554
|
+
escapedPrefix + (null == callback.key || children && children.key === callback.key ? "" : ("" + callback.key).replace(
|
|
43555
|
+
userProvidedKeyEscapeRegex,
|
|
43556
|
+
"$&/"
|
|
43557
|
+
) + "/") + invokeCallback
|
|
43558
|
+
)), array2.push(callback)), 1;
|
|
43559
|
+
invokeCallback = 0;
|
|
43560
|
+
var nextNamePrefix = "" === nameSoFar ? "." : nameSoFar + ":";
|
|
43561
|
+
if (isArrayImpl(children))
|
|
43562
|
+
for (var i = 0; i < children.length; i++)
|
|
43563
|
+
nameSoFar = children[i], type = nextNamePrefix + getElementKey(nameSoFar, i), invokeCallback += mapIntoArray(
|
|
43564
|
+
nameSoFar,
|
|
43565
|
+
array2,
|
|
43566
|
+
escapedPrefix,
|
|
43567
|
+
type,
|
|
43568
|
+
callback
|
|
43569
|
+
);
|
|
43570
|
+
else if (i = getIteratorFn(children), "function" === typeof i)
|
|
43571
|
+
for (children = i.call(children), i = 0; !(nameSoFar = children.next()).done; )
|
|
43572
|
+
nameSoFar = nameSoFar.value, type = nextNamePrefix + getElementKey(nameSoFar, i++), invokeCallback += mapIntoArray(
|
|
43573
|
+
nameSoFar,
|
|
43574
|
+
array2,
|
|
43575
|
+
escapedPrefix,
|
|
43576
|
+
type,
|
|
43577
|
+
callback
|
|
43578
|
+
);
|
|
43579
|
+
else if ("object" === type) {
|
|
43580
|
+
if ("function" === typeof children.then)
|
|
43581
|
+
return mapIntoArray(
|
|
43582
|
+
resolveThenable(children),
|
|
43583
|
+
array2,
|
|
43584
|
+
escapedPrefix,
|
|
43585
|
+
nameSoFar,
|
|
43586
|
+
callback
|
|
43587
|
+
);
|
|
43588
|
+
array2 = String(children);
|
|
43589
|
+
throw Error(
|
|
43590
|
+
"Objects are not valid as a React child (found: " + ("[object Object]" === array2 ? "object with keys {" + Object.keys(children).join(", ") + "}" : array2) + "). If you meant to render a collection of children, use an array instead."
|
|
43591
|
+
);
|
|
43592
|
+
}
|
|
43593
|
+
return invokeCallback;
|
|
43594
|
+
}
|
|
43595
|
+
function mapChildren(children, func, context) {
|
|
43596
|
+
if (null == children) return children;
|
|
43597
|
+
var result = [], count = 0;
|
|
43598
|
+
mapIntoArray(children, result, "", "", function(child) {
|
|
43599
|
+
return func.call(context, child, count++);
|
|
43600
|
+
});
|
|
43601
|
+
return result;
|
|
43602
|
+
}
|
|
43603
|
+
function lazyInitializer(payload) {
|
|
43604
|
+
if (-1 === payload._status) {
|
|
43605
|
+
var ctor = payload._result;
|
|
43606
|
+
ctor = ctor();
|
|
43607
|
+
ctor.then(
|
|
43608
|
+
function(moduleObject) {
|
|
43609
|
+
if (0 === payload._status || -1 === payload._status)
|
|
43610
|
+
payload._status = 1, payload._result = moduleObject;
|
|
43611
|
+
},
|
|
43612
|
+
function(error61) {
|
|
43613
|
+
if (0 === payload._status || -1 === payload._status)
|
|
43614
|
+
payload._status = 2, payload._result = error61;
|
|
43615
|
+
}
|
|
43616
|
+
);
|
|
43617
|
+
-1 === payload._status && (payload._status = 0, payload._result = ctor);
|
|
43618
|
+
}
|
|
43619
|
+
if (1 === payload._status) return payload._result.default;
|
|
43620
|
+
throw payload._result;
|
|
43621
|
+
}
|
|
43622
|
+
var reportGlobalError = "function" === typeof reportError ? reportError : function(error61) {
|
|
43623
|
+
if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
|
|
43624
|
+
var event = new window.ErrorEvent("error", {
|
|
43625
|
+
bubbles: true,
|
|
43626
|
+
cancelable: true,
|
|
43627
|
+
message: "object" === typeof error61 && null !== error61 && "string" === typeof error61.message ? String(error61.message) : String(error61),
|
|
43628
|
+
error: error61
|
|
43629
|
+
});
|
|
43630
|
+
if (!window.dispatchEvent(event)) return;
|
|
43631
|
+
} else if ("object" === typeof process && "function" === typeof process.emit) {
|
|
43632
|
+
process.emit("uncaughtException", error61);
|
|
43633
|
+
return;
|
|
43634
|
+
}
|
|
43635
|
+
console.error(error61);
|
|
43636
|
+
};
|
|
43637
|
+
var Children2 = {
|
|
43638
|
+
map: mapChildren,
|
|
43639
|
+
forEach: function(children, forEachFunc, forEachContext) {
|
|
43640
|
+
mapChildren(
|
|
43641
|
+
children,
|
|
43642
|
+
function() {
|
|
43643
|
+
forEachFunc.apply(this, arguments);
|
|
43644
|
+
},
|
|
43645
|
+
forEachContext
|
|
43646
|
+
);
|
|
43647
|
+
},
|
|
43648
|
+
count: function(children) {
|
|
43649
|
+
var n = 0;
|
|
43650
|
+
mapChildren(children, function() {
|
|
43651
|
+
n++;
|
|
43652
|
+
});
|
|
43653
|
+
return n;
|
|
43654
|
+
},
|
|
43655
|
+
toArray: function(children) {
|
|
43656
|
+
return mapChildren(children, function(child) {
|
|
43657
|
+
return child;
|
|
43658
|
+
}) || [];
|
|
43659
|
+
},
|
|
43660
|
+
only: function(children) {
|
|
43661
|
+
if (!isValidElement2(children))
|
|
43662
|
+
throw Error(
|
|
43663
|
+
"React.Children.only expected to receive a single React element child."
|
|
43664
|
+
);
|
|
43665
|
+
return children;
|
|
43666
|
+
}
|
|
43667
|
+
};
|
|
43668
|
+
exports.Activity = REACT_ACTIVITY_TYPE;
|
|
43669
|
+
exports.Children = Children2;
|
|
43670
|
+
exports.Component = Component2;
|
|
43671
|
+
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
43672
|
+
exports.Profiler = REACT_PROFILER_TYPE;
|
|
43673
|
+
exports.PureComponent = PureComponent;
|
|
43674
|
+
exports.StrictMode = REACT_STRICT_MODE_TYPE;
|
|
43675
|
+
exports.Suspense = REACT_SUSPENSE_TYPE;
|
|
43676
|
+
exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
|
|
43677
|
+
exports.__COMPILER_RUNTIME = {
|
|
43678
|
+
__proto__: null,
|
|
43679
|
+
c: function(size) {
|
|
43680
|
+
return ReactSharedInternals.H.useMemoCache(size);
|
|
43681
|
+
}
|
|
43682
|
+
};
|
|
43683
|
+
exports.cache = function(fn) {
|
|
43684
|
+
return function() {
|
|
43685
|
+
return fn.apply(null, arguments);
|
|
43686
|
+
};
|
|
43687
|
+
};
|
|
43688
|
+
exports.cacheSignal = function() {
|
|
43689
|
+
return null;
|
|
43690
|
+
};
|
|
43691
|
+
exports.cloneElement = function(element2, config2, children) {
|
|
43692
|
+
if (null === element2 || void 0 === element2)
|
|
43693
|
+
throw Error(
|
|
43694
|
+
"The argument must be a React element, but you passed " + element2 + "."
|
|
43695
|
+
);
|
|
43696
|
+
var props = assign({}, element2.props), key2 = element2.key;
|
|
43697
|
+
if (null != config2)
|
|
43698
|
+
for (propName in void 0 !== config2.key && (key2 = "" + config2.key), config2)
|
|
43699
|
+
!hasOwnProperty2.call(config2, propName) || "key" === propName || "__self" === propName || "__source" === propName || "ref" === propName && void 0 === config2.ref || (props[propName] = config2[propName]);
|
|
43700
|
+
var propName = arguments.length - 2;
|
|
43701
|
+
if (1 === propName) props.children = children;
|
|
43702
|
+
else if (1 < propName) {
|
|
43703
|
+
for (var childArray = Array(propName), i = 0; i < propName; i++)
|
|
43704
|
+
childArray[i] = arguments[i + 2];
|
|
43705
|
+
props.children = childArray;
|
|
43706
|
+
}
|
|
43707
|
+
return ReactElement(element2.type, key2, props);
|
|
43708
|
+
};
|
|
43709
|
+
exports.createContext = function(defaultValue) {
|
|
43710
|
+
defaultValue = {
|
|
43711
|
+
$$typeof: REACT_CONTEXT_TYPE,
|
|
43712
|
+
_currentValue: defaultValue,
|
|
43713
|
+
_currentValue2: defaultValue,
|
|
43714
|
+
_threadCount: 0,
|
|
43715
|
+
Provider: null,
|
|
43716
|
+
Consumer: null
|
|
43717
|
+
};
|
|
43718
|
+
defaultValue.Provider = defaultValue;
|
|
43719
|
+
defaultValue.Consumer = {
|
|
43720
|
+
$$typeof: REACT_CONSUMER_TYPE,
|
|
43721
|
+
_context: defaultValue
|
|
43722
|
+
};
|
|
43723
|
+
return defaultValue;
|
|
43724
|
+
};
|
|
43725
|
+
exports.createElement = function(type, config2, children) {
|
|
43726
|
+
var propName, props = {}, key2 = null;
|
|
43727
|
+
if (null != config2)
|
|
43728
|
+
for (propName in void 0 !== config2.key && (key2 = "" + config2.key), config2)
|
|
43729
|
+
hasOwnProperty2.call(config2, propName) && "key" !== propName && "__self" !== propName && "__source" !== propName && (props[propName] = config2[propName]);
|
|
43730
|
+
var childrenLength = arguments.length - 2;
|
|
43731
|
+
if (1 === childrenLength) props.children = children;
|
|
43732
|
+
else if (1 < childrenLength) {
|
|
43733
|
+
for (var childArray = Array(childrenLength), i = 0; i < childrenLength; i++)
|
|
43734
|
+
childArray[i] = arguments[i + 2];
|
|
43735
|
+
props.children = childArray;
|
|
43736
|
+
}
|
|
43737
|
+
if (type && type.defaultProps)
|
|
43738
|
+
for (propName in childrenLength = type.defaultProps, childrenLength)
|
|
43739
|
+
void 0 === props[propName] && (props[propName] = childrenLength[propName]);
|
|
43740
|
+
return ReactElement(type, key2, props);
|
|
43741
|
+
};
|
|
43742
|
+
exports.createRef = function() {
|
|
43743
|
+
return { current: null };
|
|
43744
|
+
};
|
|
43745
|
+
exports.forwardRef = function(render) {
|
|
43746
|
+
return { $$typeof: REACT_FORWARD_REF_TYPE, render };
|
|
43747
|
+
};
|
|
43748
|
+
exports.isValidElement = isValidElement2;
|
|
43749
|
+
exports.lazy = function(ctor) {
|
|
43750
|
+
return {
|
|
43751
|
+
$$typeof: REACT_LAZY_TYPE,
|
|
43752
|
+
_payload: { _status: -1, _result: ctor },
|
|
43753
|
+
_init: lazyInitializer
|
|
43754
|
+
};
|
|
43755
|
+
};
|
|
43756
|
+
exports.memo = function(type, compare) {
|
|
43757
|
+
return {
|
|
43758
|
+
$$typeof: REACT_MEMO_TYPE,
|
|
43759
|
+
type,
|
|
43760
|
+
compare: void 0 === compare ? null : compare
|
|
43761
|
+
};
|
|
43762
|
+
};
|
|
43763
|
+
exports.startTransition = function(scope) {
|
|
43764
|
+
var prevTransition = ReactSharedInternals.T, currentTransition = {};
|
|
43765
|
+
ReactSharedInternals.T = currentTransition;
|
|
43766
|
+
try {
|
|
43767
|
+
var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
|
|
43768
|
+
null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
|
|
43769
|
+
"object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && returnValue.then(noop, reportGlobalError);
|
|
43770
|
+
} catch (error61) {
|
|
43771
|
+
reportGlobalError(error61);
|
|
43772
|
+
} finally {
|
|
43773
|
+
null !== prevTransition && null !== currentTransition.types && (prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
|
|
43774
|
+
}
|
|
43775
|
+
};
|
|
43776
|
+
exports.unstable_useCacheRefresh = function() {
|
|
43777
|
+
return ReactSharedInternals.H.useCacheRefresh();
|
|
43778
|
+
};
|
|
43779
|
+
exports.use = function(usable) {
|
|
43780
|
+
return ReactSharedInternals.H.use(usable);
|
|
43781
|
+
};
|
|
43782
|
+
exports.useActionState = function(action, initialState, permalink) {
|
|
43783
|
+
return ReactSharedInternals.H.useActionState(action, initialState, permalink);
|
|
43784
|
+
};
|
|
43785
|
+
exports.useCallback = function(callback, deps) {
|
|
43786
|
+
return ReactSharedInternals.H.useCallback(callback, deps);
|
|
43787
|
+
};
|
|
43788
|
+
exports.useContext = function(Context) {
|
|
43789
|
+
return ReactSharedInternals.H.useContext(Context);
|
|
43790
|
+
};
|
|
43791
|
+
exports.useDebugValue = function() {
|
|
43792
|
+
};
|
|
43793
|
+
exports.useDeferredValue = function(value, initialValue) {
|
|
43794
|
+
return ReactSharedInternals.H.useDeferredValue(value, initialValue);
|
|
43795
|
+
};
|
|
43796
|
+
exports.useEffect = function(create, deps) {
|
|
43797
|
+
return ReactSharedInternals.H.useEffect(create, deps);
|
|
43798
|
+
};
|
|
43799
|
+
exports.useEffectEvent = function(callback) {
|
|
43800
|
+
return ReactSharedInternals.H.useEffectEvent(callback);
|
|
43801
|
+
};
|
|
43802
|
+
exports.useId = function() {
|
|
43803
|
+
return ReactSharedInternals.H.useId();
|
|
43804
|
+
};
|
|
43805
|
+
exports.useImperativeHandle = function(ref2, create, deps) {
|
|
43806
|
+
return ReactSharedInternals.H.useImperativeHandle(ref2, create, deps);
|
|
43807
|
+
};
|
|
43808
|
+
exports.useInsertionEffect = function(create, deps) {
|
|
43809
|
+
return ReactSharedInternals.H.useInsertionEffect(create, deps);
|
|
43810
|
+
};
|
|
43811
|
+
exports.useLayoutEffect = function(create, deps) {
|
|
43812
|
+
return ReactSharedInternals.H.useLayoutEffect(create, deps);
|
|
43813
|
+
};
|
|
43814
|
+
exports.useMemo = function(create, deps) {
|
|
43815
|
+
return ReactSharedInternals.H.useMemo(create, deps);
|
|
43816
|
+
};
|
|
43817
|
+
exports.useOptimistic = function(passthrough, reducer) {
|
|
43818
|
+
return ReactSharedInternals.H.useOptimistic(passthrough, reducer);
|
|
43819
|
+
};
|
|
43820
|
+
exports.useReducer = function(reducer, initialArg, init) {
|
|
43821
|
+
return ReactSharedInternals.H.useReducer(reducer, initialArg, init);
|
|
43822
|
+
};
|
|
43823
|
+
exports.useRef = function(initialValue) {
|
|
43824
|
+
return ReactSharedInternals.H.useRef(initialValue);
|
|
43825
|
+
};
|
|
43826
|
+
exports.useState = function(initialState) {
|
|
43827
|
+
return ReactSharedInternals.H.useState(initialState);
|
|
43828
|
+
};
|
|
43829
|
+
exports.useSyncExternalStore = function(subscribe, getSnapshot, getServerSnapshot) {
|
|
43830
|
+
return ReactSharedInternals.H.useSyncExternalStore(
|
|
43831
|
+
subscribe,
|
|
43832
|
+
getSnapshot,
|
|
43833
|
+
getServerSnapshot
|
|
43834
|
+
);
|
|
43835
|
+
};
|
|
43836
|
+
exports.useTransition = function() {
|
|
43837
|
+
return ReactSharedInternals.H.useTransition();
|
|
43838
|
+
};
|
|
43839
|
+
exports.version = "19.2.6";
|
|
43840
|
+
}
|
|
43841
|
+
});
|
|
43842
|
+
|
|
43843
|
+
// ../../node_modules/react/cjs/react.development.js
|
|
43844
|
+
var require_react_development = __commonJS({
|
|
43845
|
+
"../../node_modules/react/cjs/react.development.js"(exports, module) {
|
|
43846
|
+
"use strict";
|
|
43847
|
+
"production" !== process.env.NODE_ENV && (function() {
|
|
43848
|
+
function defineDeprecationWarning(methodName, info) {
|
|
43849
|
+
Object.defineProperty(Component2.prototype, methodName, {
|
|
43850
|
+
get: function() {
|
|
43851
|
+
console.warn(
|
|
43852
|
+
"%s(...) is deprecated in plain JavaScript React classes. %s",
|
|
43853
|
+
info[0],
|
|
43854
|
+
info[1]
|
|
43855
|
+
);
|
|
43856
|
+
}
|
|
43857
|
+
});
|
|
43858
|
+
}
|
|
43859
|
+
function getIteratorFn(maybeIterable) {
|
|
43860
|
+
if (null === maybeIterable || "object" !== typeof maybeIterable)
|
|
43861
|
+
return null;
|
|
43862
|
+
maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"];
|
|
43863
|
+
return "function" === typeof maybeIterable ? maybeIterable : null;
|
|
43864
|
+
}
|
|
43865
|
+
function warnNoop(publicInstance, callerName) {
|
|
43866
|
+
publicInstance = (publicInstance = publicInstance.constructor) && (publicInstance.displayName || publicInstance.name) || "ReactClass";
|
|
43867
|
+
var warningKey = publicInstance + "." + callerName;
|
|
43868
|
+
didWarnStateUpdateForUnmountedComponent[warningKey] || (console.error(
|
|
43869
|
+
"Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",
|
|
43870
|
+
callerName,
|
|
43871
|
+
publicInstance
|
|
43872
|
+
), didWarnStateUpdateForUnmountedComponent[warningKey] = true);
|
|
43873
|
+
}
|
|
43874
|
+
function Component2(props, context, updater) {
|
|
43875
|
+
this.props = props;
|
|
43876
|
+
this.context = context;
|
|
43877
|
+
this.refs = emptyObject;
|
|
43878
|
+
this.updater = updater || ReactNoopUpdateQueue;
|
|
43879
|
+
}
|
|
43880
|
+
function ComponentDummy() {
|
|
43881
|
+
}
|
|
43882
|
+
function PureComponent(props, context, updater) {
|
|
43883
|
+
this.props = props;
|
|
43884
|
+
this.context = context;
|
|
43885
|
+
this.refs = emptyObject;
|
|
43886
|
+
this.updater = updater || ReactNoopUpdateQueue;
|
|
43887
|
+
}
|
|
43888
|
+
function noop() {
|
|
43889
|
+
}
|
|
43890
|
+
function testStringCoercion(value) {
|
|
43891
|
+
return "" + value;
|
|
43892
|
+
}
|
|
43893
|
+
function checkKeyStringCoercion(value) {
|
|
43894
|
+
try {
|
|
43895
|
+
testStringCoercion(value);
|
|
43896
|
+
var JSCompiler_inline_result = false;
|
|
43897
|
+
} catch (e) {
|
|
43898
|
+
JSCompiler_inline_result = true;
|
|
43899
|
+
}
|
|
43900
|
+
if (JSCompiler_inline_result) {
|
|
43901
|
+
JSCompiler_inline_result = console;
|
|
43902
|
+
var JSCompiler_temp_const = JSCompiler_inline_result.error;
|
|
43903
|
+
var JSCompiler_inline_result$jscomp$0 = "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
|
|
43904
|
+
JSCompiler_temp_const.call(
|
|
43905
|
+
JSCompiler_inline_result,
|
|
43906
|
+
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
43907
|
+
JSCompiler_inline_result$jscomp$0
|
|
43908
|
+
);
|
|
43909
|
+
return testStringCoercion(value);
|
|
43910
|
+
}
|
|
43911
|
+
}
|
|
43912
|
+
function getComponentNameFromType(type) {
|
|
43913
|
+
if (null == type) return null;
|
|
43914
|
+
if ("function" === typeof type)
|
|
43915
|
+
return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
|
|
43916
|
+
if ("string" === typeof type) return type;
|
|
43917
|
+
switch (type) {
|
|
43918
|
+
case REACT_FRAGMENT_TYPE:
|
|
43919
|
+
return "Fragment";
|
|
43920
|
+
case REACT_PROFILER_TYPE:
|
|
43921
|
+
return "Profiler";
|
|
43922
|
+
case REACT_STRICT_MODE_TYPE:
|
|
43923
|
+
return "StrictMode";
|
|
43924
|
+
case REACT_SUSPENSE_TYPE:
|
|
43925
|
+
return "Suspense";
|
|
43926
|
+
case REACT_SUSPENSE_LIST_TYPE:
|
|
43927
|
+
return "SuspenseList";
|
|
43928
|
+
case REACT_ACTIVITY_TYPE:
|
|
43929
|
+
return "Activity";
|
|
43930
|
+
}
|
|
43931
|
+
if ("object" === typeof type)
|
|
43932
|
+
switch ("number" === typeof type.tag && console.error(
|
|
43933
|
+
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
43934
|
+
), type.$$typeof) {
|
|
43935
|
+
case REACT_PORTAL_TYPE:
|
|
43936
|
+
return "Portal";
|
|
43937
|
+
case REACT_CONTEXT_TYPE:
|
|
43938
|
+
return type.displayName || "Context";
|
|
43939
|
+
case REACT_CONSUMER_TYPE:
|
|
43940
|
+
return (type._context.displayName || "Context") + ".Consumer";
|
|
43941
|
+
case REACT_FORWARD_REF_TYPE:
|
|
43942
|
+
var innerType = type.render;
|
|
43943
|
+
type = type.displayName;
|
|
43944
|
+
type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef");
|
|
43945
|
+
return type;
|
|
43946
|
+
case REACT_MEMO_TYPE:
|
|
43947
|
+
return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo";
|
|
43948
|
+
case REACT_LAZY_TYPE:
|
|
43949
|
+
innerType = type._payload;
|
|
43950
|
+
type = type._init;
|
|
43951
|
+
try {
|
|
43952
|
+
return getComponentNameFromType(type(innerType));
|
|
43953
|
+
} catch (x) {
|
|
43954
|
+
}
|
|
43955
|
+
}
|
|
43956
|
+
return null;
|
|
43957
|
+
}
|
|
43958
|
+
function getTaskName(type) {
|
|
43959
|
+
if (type === REACT_FRAGMENT_TYPE) return "<>";
|
|
43960
|
+
if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE)
|
|
43961
|
+
return "<...>";
|
|
43962
|
+
try {
|
|
43963
|
+
var name = getComponentNameFromType(type);
|
|
43964
|
+
return name ? "<" + name + ">" : "<...>";
|
|
43965
|
+
} catch (x) {
|
|
43966
|
+
return "<...>";
|
|
43967
|
+
}
|
|
43968
|
+
}
|
|
43969
|
+
function getOwner() {
|
|
43970
|
+
var dispatcher = ReactSharedInternals.A;
|
|
43971
|
+
return null === dispatcher ? null : dispatcher.getOwner();
|
|
43972
|
+
}
|
|
43973
|
+
function UnknownOwner() {
|
|
43974
|
+
return Error("react-stack-top-frame");
|
|
43975
|
+
}
|
|
43976
|
+
function hasValidKey(config2) {
|
|
43977
|
+
if (hasOwnProperty2.call(config2, "key")) {
|
|
43978
|
+
var getter = Object.getOwnPropertyDescriptor(config2, "key").get;
|
|
43979
|
+
if (getter && getter.isReactWarning) return false;
|
|
43980
|
+
}
|
|
43981
|
+
return void 0 !== config2.key;
|
|
43982
|
+
}
|
|
43983
|
+
function defineKeyPropWarningGetter(props, displayName) {
|
|
43984
|
+
function warnAboutAccessingKey() {
|
|
43985
|
+
specialPropKeyWarningShown || (specialPropKeyWarningShown = true, console.error(
|
|
43986
|
+
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
43987
|
+
displayName
|
|
43988
|
+
));
|
|
43989
|
+
}
|
|
43990
|
+
warnAboutAccessingKey.isReactWarning = true;
|
|
43991
|
+
Object.defineProperty(props, "key", {
|
|
43992
|
+
get: warnAboutAccessingKey,
|
|
43993
|
+
configurable: true
|
|
43994
|
+
});
|
|
43995
|
+
}
|
|
43996
|
+
function elementRefGetterWithDeprecationWarning() {
|
|
43997
|
+
var componentName = getComponentNameFromType(this.type);
|
|
43998
|
+
didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = true, console.error(
|
|
43999
|
+
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
44000
|
+
));
|
|
44001
|
+
componentName = this.props.ref;
|
|
44002
|
+
return void 0 !== componentName ? componentName : null;
|
|
44003
|
+
}
|
|
44004
|
+
function ReactElement(type, key2, props, owner, debugStack, debugTask) {
|
|
44005
|
+
var refProp = props.ref;
|
|
44006
|
+
type = {
|
|
44007
|
+
$$typeof: REACT_ELEMENT_TYPE,
|
|
44008
|
+
type,
|
|
44009
|
+
key: key2,
|
|
44010
|
+
props,
|
|
44011
|
+
_owner: owner
|
|
44012
|
+
};
|
|
44013
|
+
null !== (void 0 !== refProp ? refProp : null) ? Object.defineProperty(type, "ref", {
|
|
44014
|
+
enumerable: false,
|
|
44015
|
+
get: elementRefGetterWithDeprecationWarning
|
|
44016
|
+
}) : Object.defineProperty(type, "ref", { enumerable: false, value: null });
|
|
44017
|
+
type._store = {};
|
|
44018
|
+
Object.defineProperty(type._store, "validated", {
|
|
44019
|
+
configurable: false,
|
|
44020
|
+
enumerable: false,
|
|
44021
|
+
writable: true,
|
|
44022
|
+
value: 0
|
|
44023
|
+
});
|
|
44024
|
+
Object.defineProperty(type, "_debugInfo", {
|
|
44025
|
+
configurable: false,
|
|
44026
|
+
enumerable: false,
|
|
44027
|
+
writable: true,
|
|
44028
|
+
value: null
|
|
44029
|
+
});
|
|
44030
|
+
Object.defineProperty(type, "_debugStack", {
|
|
44031
|
+
configurable: false,
|
|
44032
|
+
enumerable: false,
|
|
44033
|
+
writable: true,
|
|
44034
|
+
value: debugStack
|
|
44035
|
+
});
|
|
44036
|
+
Object.defineProperty(type, "_debugTask", {
|
|
44037
|
+
configurable: false,
|
|
44038
|
+
enumerable: false,
|
|
44039
|
+
writable: true,
|
|
44040
|
+
value: debugTask
|
|
44041
|
+
});
|
|
44042
|
+
Object.freeze && (Object.freeze(type.props), Object.freeze(type));
|
|
44043
|
+
return type;
|
|
44044
|
+
}
|
|
44045
|
+
function cloneAndReplaceKey(oldElement, newKey) {
|
|
44046
|
+
newKey = ReactElement(
|
|
44047
|
+
oldElement.type,
|
|
44048
|
+
newKey,
|
|
44049
|
+
oldElement.props,
|
|
44050
|
+
oldElement._owner,
|
|
44051
|
+
oldElement._debugStack,
|
|
44052
|
+
oldElement._debugTask
|
|
44053
|
+
);
|
|
44054
|
+
oldElement._store && (newKey._store.validated = oldElement._store.validated);
|
|
44055
|
+
return newKey;
|
|
44056
|
+
}
|
|
44057
|
+
function validateChildKeys(node2) {
|
|
44058
|
+
isValidElement2(node2) ? node2._store && (node2._store.validated = 1) : "object" === typeof node2 && null !== node2 && node2.$$typeof === REACT_LAZY_TYPE && ("fulfilled" === node2._payload.status ? isValidElement2(node2._payload.value) && node2._payload.value._store && (node2._payload.value._store.validated = 1) : node2._store && (node2._store.validated = 1));
|
|
44059
|
+
}
|
|
44060
|
+
function isValidElement2(object3) {
|
|
44061
|
+
return "object" === typeof object3 && null !== object3 && object3.$$typeof === REACT_ELEMENT_TYPE;
|
|
44062
|
+
}
|
|
44063
|
+
function escape(key2) {
|
|
44064
|
+
var escaperLookup = { "=": "=0", ":": "=2" };
|
|
44065
|
+
return "$" + key2.replace(/[=:]/g, function(match) {
|
|
44066
|
+
return escaperLookup[match];
|
|
44067
|
+
});
|
|
44068
|
+
}
|
|
44069
|
+
function getElementKey(element2, index) {
|
|
44070
|
+
return "object" === typeof element2 && null !== element2 && null != element2.key ? (checkKeyStringCoercion(element2.key), escape("" + element2.key)) : index.toString(36);
|
|
44071
|
+
}
|
|
44072
|
+
function resolveThenable(thenable) {
|
|
44073
|
+
switch (thenable.status) {
|
|
44074
|
+
case "fulfilled":
|
|
44075
|
+
return thenable.value;
|
|
44076
|
+
case "rejected":
|
|
44077
|
+
throw thenable.reason;
|
|
44078
|
+
default:
|
|
44079
|
+
switch ("string" === typeof thenable.status ? thenable.then(noop, noop) : (thenable.status = "pending", thenable.then(
|
|
44080
|
+
function(fulfilledValue) {
|
|
44081
|
+
"pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
|
|
44082
|
+
},
|
|
44083
|
+
function(error61) {
|
|
44084
|
+
"pending" === thenable.status && (thenable.status = "rejected", thenable.reason = error61);
|
|
44085
|
+
}
|
|
44086
|
+
)), thenable.status) {
|
|
44087
|
+
case "fulfilled":
|
|
44088
|
+
return thenable.value;
|
|
44089
|
+
case "rejected":
|
|
44090
|
+
throw thenable.reason;
|
|
44091
|
+
}
|
|
44092
|
+
}
|
|
44093
|
+
throw thenable;
|
|
44094
|
+
}
|
|
44095
|
+
function mapIntoArray(children, array2, escapedPrefix, nameSoFar, callback) {
|
|
44096
|
+
var type = typeof children;
|
|
44097
|
+
if ("undefined" === type || "boolean" === type) children = null;
|
|
44098
|
+
var invokeCallback = false;
|
|
44099
|
+
if (null === children) invokeCallback = true;
|
|
44100
|
+
else
|
|
44101
|
+
switch (type) {
|
|
44102
|
+
case "bigint":
|
|
44103
|
+
case "string":
|
|
44104
|
+
case "number":
|
|
44105
|
+
invokeCallback = true;
|
|
44106
|
+
break;
|
|
44107
|
+
case "object":
|
|
44108
|
+
switch (children.$$typeof) {
|
|
44109
|
+
case REACT_ELEMENT_TYPE:
|
|
44110
|
+
case REACT_PORTAL_TYPE:
|
|
44111
|
+
invokeCallback = true;
|
|
44112
|
+
break;
|
|
44113
|
+
case REACT_LAZY_TYPE:
|
|
44114
|
+
return invokeCallback = children._init, mapIntoArray(
|
|
44115
|
+
invokeCallback(children._payload),
|
|
44116
|
+
array2,
|
|
44117
|
+
escapedPrefix,
|
|
44118
|
+
nameSoFar,
|
|
44119
|
+
callback
|
|
44120
|
+
);
|
|
44121
|
+
}
|
|
44122
|
+
}
|
|
44123
|
+
if (invokeCallback) {
|
|
44124
|
+
invokeCallback = children;
|
|
44125
|
+
callback = callback(invokeCallback);
|
|
44126
|
+
var childKey = "" === nameSoFar ? "." + getElementKey(invokeCallback, 0) : nameSoFar;
|
|
44127
|
+
isArrayImpl(callback) ? (escapedPrefix = "", null != childKey && (escapedPrefix = childKey.replace(userProvidedKeyEscapeRegex, "$&/") + "/"), mapIntoArray(callback, array2, escapedPrefix, "", function(c) {
|
|
44128
|
+
return c;
|
|
44129
|
+
})) : null != callback && (isValidElement2(callback) && (null != callback.key && (invokeCallback && invokeCallback.key === callback.key || checkKeyStringCoercion(callback.key)), escapedPrefix = cloneAndReplaceKey(
|
|
44130
|
+
callback,
|
|
44131
|
+
escapedPrefix + (null == callback.key || invokeCallback && invokeCallback.key === callback.key ? "" : ("" + callback.key).replace(
|
|
44132
|
+
userProvidedKeyEscapeRegex,
|
|
44133
|
+
"$&/"
|
|
44134
|
+
) + "/") + childKey
|
|
44135
|
+
), "" !== nameSoFar && null != invokeCallback && isValidElement2(invokeCallback) && null == invokeCallback.key && invokeCallback._store && !invokeCallback._store.validated && (escapedPrefix._store.validated = 2), callback = escapedPrefix), array2.push(callback));
|
|
44136
|
+
return 1;
|
|
44137
|
+
}
|
|
44138
|
+
invokeCallback = 0;
|
|
44139
|
+
childKey = "" === nameSoFar ? "." : nameSoFar + ":";
|
|
44140
|
+
if (isArrayImpl(children))
|
|
44141
|
+
for (var i = 0; i < children.length; i++)
|
|
44142
|
+
nameSoFar = children[i], type = childKey + getElementKey(nameSoFar, i), invokeCallback += mapIntoArray(
|
|
44143
|
+
nameSoFar,
|
|
44144
|
+
array2,
|
|
44145
|
+
escapedPrefix,
|
|
44146
|
+
type,
|
|
44147
|
+
callback
|
|
44148
|
+
);
|
|
44149
|
+
else if (i = getIteratorFn(children), "function" === typeof i)
|
|
44150
|
+
for (i === children.entries && (didWarnAboutMaps || console.warn(
|
|
44151
|
+
"Using Maps as children is not supported. Use an array of keyed ReactElements instead."
|
|
44152
|
+
), didWarnAboutMaps = true), children = i.call(children), i = 0; !(nameSoFar = children.next()).done; )
|
|
44153
|
+
nameSoFar = nameSoFar.value, type = childKey + getElementKey(nameSoFar, i++), invokeCallback += mapIntoArray(
|
|
44154
|
+
nameSoFar,
|
|
44155
|
+
array2,
|
|
44156
|
+
escapedPrefix,
|
|
44157
|
+
type,
|
|
44158
|
+
callback
|
|
44159
|
+
);
|
|
44160
|
+
else if ("object" === type) {
|
|
44161
|
+
if ("function" === typeof children.then)
|
|
44162
|
+
return mapIntoArray(
|
|
44163
|
+
resolveThenable(children),
|
|
44164
|
+
array2,
|
|
44165
|
+
escapedPrefix,
|
|
44166
|
+
nameSoFar,
|
|
44167
|
+
callback
|
|
44168
|
+
);
|
|
44169
|
+
array2 = String(children);
|
|
44170
|
+
throw Error(
|
|
44171
|
+
"Objects are not valid as a React child (found: " + ("[object Object]" === array2 ? "object with keys {" + Object.keys(children).join(", ") + "}" : array2) + "). If you meant to render a collection of children, use an array instead."
|
|
44172
|
+
);
|
|
44173
|
+
}
|
|
44174
|
+
return invokeCallback;
|
|
44175
|
+
}
|
|
44176
|
+
function mapChildren(children, func, context) {
|
|
44177
|
+
if (null == children) return children;
|
|
44178
|
+
var result = [], count = 0;
|
|
44179
|
+
mapIntoArray(children, result, "", "", function(child) {
|
|
44180
|
+
return func.call(context, child, count++);
|
|
44181
|
+
});
|
|
44182
|
+
return result;
|
|
44183
|
+
}
|
|
44184
|
+
function lazyInitializer(payload) {
|
|
44185
|
+
if (-1 === payload._status) {
|
|
44186
|
+
var ioInfo = payload._ioInfo;
|
|
44187
|
+
null != ioInfo && (ioInfo.start = ioInfo.end = performance.now());
|
|
44188
|
+
ioInfo = payload._result;
|
|
44189
|
+
var thenable = ioInfo();
|
|
44190
|
+
thenable.then(
|
|
44191
|
+
function(moduleObject) {
|
|
44192
|
+
if (0 === payload._status || -1 === payload._status) {
|
|
44193
|
+
payload._status = 1;
|
|
44194
|
+
payload._result = moduleObject;
|
|
44195
|
+
var _ioInfo = payload._ioInfo;
|
|
44196
|
+
null != _ioInfo && (_ioInfo.end = performance.now());
|
|
44197
|
+
void 0 === thenable.status && (thenable.status = "fulfilled", thenable.value = moduleObject);
|
|
44198
|
+
}
|
|
44199
|
+
},
|
|
44200
|
+
function(error61) {
|
|
44201
|
+
if (0 === payload._status || -1 === payload._status) {
|
|
44202
|
+
payload._status = 2;
|
|
44203
|
+
payload._result = error61;
|
|
44204
|
+
var _ioInfo2 = payload._ioInfo;
|
|
44205
|
+
null != _ioInfo2 && (_ioInfo2.end = performance.now());
|
|
44206
|
+
void 0 === thenable.status && (thenable.status = "rejected", thenable.reason = error61);
|
|
44207
|
+
}
|
|
44208
|
+
}
|
|
44209
|
+
);
|
|
44210
|
+
ioInfo = payload._ioInfo;
|
|
44211
|
+
if (null != ioInfo) {
|
|
44212
|
+
ioInfo.value = thenable;
|
|
44213
|
+
var displayName = thenable.displayName;
|
|
44214
|
+
"string" === typeof displayName && (ioInfo.name = displayName);
|
|
44215
|
+
}
|
|
44216
|
+
-1 === payload._status && (payload._status = 0, payload._result = thenable);
|
|
44217
|
+
}
|
|
44218
|
+
if (1 === payload._status)
|
|
44219
|
+
return ioInfo = payload._result, void 0 === ioInfo && console.error(
|
|
44220
|
+
"lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?",
|
|
44221
|
+
ioInfo
|
|
44222
|
+
), "default" in ioInfo || console.error(
|
|
44223
|
+
"lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",
|
|
44224
|
+
ioInfo
|
|
44225
|
+
), ioInfo.default;
|
|
44226
|
+
throw payload._result;
|
|
44227
|
+
}
|
|
44228
|
+
function resolveDispatcher() {
|
|
44229
|
+
var dispatcher = ReactSharedInternals.H;
|
|
44230
|
+
null === dispatcher && console.error(
|
|
44231
|
+
"Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."
|
|
44232
|
+
);
|
|
44233
|
+
return dispatcher;
|
|
44234
|
+
}
|
|
44235
|
+
function releaseAsyncTransition() {
|
|
44236
|
+
ReactSharedInternals.asyncTransitions--;
|
|
44237
|
+
}
|
|
44238
|
+
function enqueueTask(task) {
|
|
44239
|
+
if (null === enqueueTaskImpl)
|
|
44240
|
+
try {
|
|
44241
|
+
var requireString = ("require" + Math.random()).slice(0, 7);
|
|
44242
|
+
enqueueTaskImpl = (module && module[requireString]).call(
|
|
44243
|
+
module,
|
|
44244
|
+
"timers"
|
|
44245
|
+
).setImmediate;
|
|
44246
|
+
} catch (_err) {
|
|
44247
|
+
enqueueTaskImpl = function(callback) {
|
|
44248
|
+
false === didWarnAboutMessageChannel && (didWarnAboutMessageChannel = true, "undefined" === typeof MessageChannel && console.error(
|
|
44249
|
+
"This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."
|
|
44250
|
+
));
|
|
44251
|
+
var channel = new MessageChannel();
|
|
44252
|
+
channel.port1.onmessage = callback;
|
|
44253
|
+
channel.port2.postMessage(void 0);
|
|
44254
|
+
};
|
|
44255
|
+
}
|
|
44256
|
+
return enqueueTaskImpl(task);
|
|
44257
|
+
}
|
|
44258
|
+
function aggregateErrors(errors) {
|
|
44259
|
+
return 1 < errors.length && "function" === typeof AggregateError ? new AggregateError(errors) : errors[0];
|
|
44260
|
+
}
|
|
44261
|
+
function popActScope(prevActQueue, prevActScopeDepth) {
|
|
44262
|
+
prevActScopeDepth !== actScopeDepth - 1 && console.error(
|
|
44263
|
+
"You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "
|
|
44264
|
+
);
|
|
44265
|
+
actScopeDepth = prevActScopeDepth;
|
|
44266
|
+
}
|
|
44267
|
+
function recursivelyFlushAsyncActWork(returnValue, resolve, reject2) {
|
|
44268
|
+
var queue = ReactSharedInternals.actQueue;
|
|
44269
|
+
if (null !== queue)
|
|
44270
|
+
if (0 !== queue.length)
|
|
44271
|
+
try {
|
|
44272
|
+
flushActQueue(queue);
|
|
44273
|
+
enqueueTask(function() {
|
|
44274
|
+
return recursivelyFlushAsyncActWork(returnValue, resolve, reject2);
|
|
44275
|
+
});
|
|
44276
|
+
return;
|
|
44277
|
+
} catch (error61) {
|
|
44278
|
+
ReactSharedInternals.thrownErrors.push(error61);
|
|
44279
|
+
}
|
|
44280
|
+
else ReactSharedInternals.actQueue = null;
|
|
44281
|
+
0 < ReactSharedInternals.thrownErrors.length ? (queue = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, reject2(queue)) : resolve(returnValue);
|
|
44282
|
+
}
|
|
44283
|
+
function flushActQueue(queue) {
|
|
44284
|
+
if (!isFlushing) {
|
|
44285
|
+
isFlushing = true;
|
|
44286
|
+
var i = 0;
|
|
44287
|
+
try {
|
|
44288
|
+
for (; i < queue.length; i++) {
|
|
44289
|
+
var callback = queue[i];
|
|
44290
|
+
do {
|
|
44291
|
+
ReactSharedInternals.didUsePromise = false;
|
|
44292
|
+
var continuation = callback(false);
|
|
44293
|
+
if (null !== continuation) {
|
|
44294
|
+
if (ReactSharedInternals.didUsePromise) {
|
|
44295
|
+
queue[i] = callback;
|
|
44296
|
+
queue.splice(0, i);
|
|
44297
|
+
return;
|
|
44298
|
+
}
|
|
44299
|
+
callback = continuation;
|
|
44300
|
+
} else break;
|
|
44301
|
+
} while (1);
|
|
44302
|
+
}
|
|
44303
|
+
queue.length = 0;
|
|
44304
|
+
} catch (error61) {
|
|
44305
|
+
queue.splice(0, i + 1), ReactSharedInternals.thrownErrors.push(error61);
|
|
44306
|
+
} finally {
|
|
44307
|
+
isFlushing = false;
|
|
44308
|
+
}
|
|
44309
|
+
}
|
|
44310
|
+
}
|
|
44311
|
+
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
44312
|
+
var REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = /* @__PURE__ */ Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = /* @__PURE__ */ Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo"), REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = /* @__PURE__ */ Symbol.for("react.activity"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator, didWarnStateUpdateForUnmountedComponent = {}, ReactNoopUpdateQueue = {
|
|
44313
|
+
isMounted: function() {
|
|
44314
|
+
return false;
|
|
44315
|
+
},
|
|
44316
|
+
enqueueForceUpdate: function(publicInstance) {
|
|
44317
|
+
warnNoop(publicInstance, "forceUpdate");
|
|
44318
|
+
},
|
|
44319
|
+
enqueueReplaceState: function(publicInstance) {
|
|
44320
|
+
warnNoop(publicInstance, "replaceState");
|
|
44321
|
+
},
|
|
44322
|
+
enqueueSetState: function(publicInstance) {
|
|
44323
|
+
warnNoop(publicInstance, "setState");
|
|
44324
|
+
}
|
|
44325
|
+
}, assign = Object.assign, emptyObject = {};
|
|
44326
|
+
Object.freeze(emptyObject);
|
|
44327
|
+
Component2.prototype.isReactComponent = {};
|
|
44328
|
+
Component2.prototype.setState = function(partialState, callback) {
|
|
44329
|
+
if ("object" !== typeof partialState && "function" !== typeof partialState && null != partialState)
|
|
44330
|
+
throw Error(
|
|
44331
|
+
"takes an object of state variables to update or a function which returns an object of state variables."
|
|
44332
|
+
);
|
|
44333
|
+
this.updater.enqueueSetState(this, partialState, callback, "setState");
|
|
44334
|
+
};
|
|
44335
|
+
Component2.prototype.forceUpdate = function(callback) {
|
|
44336
|
+
this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
|
|
44337
|
+
};
|
|
44338
|
+
var deprecatedAPIs = {
|
|
44339
|
+
isMounted: [
|
|
44340
|
+
"isMounted",
|
|
44341
|
+
"Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."
|
|
44342
|
+
],
|
|
44343
|
+
replaceState: [
|
|
44344
|
+
"replaceState",
|
|
44345
|
+
"Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."
|
|
44346
|
+
]
|
|
44347
|
+
};
|
|
44348
|
+
for (fnName in deprecatedAPIs)
|
|
44349
|
+
deprecatedAPIs.hasOwnProperty(fnName) && defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
|
|
44350
|
+
ComponentDummy.prototype = Component2.prototype;
|
|
44351
|
+
deprecatedAPIs = PureComponent.prototype = new ComponentDummy();
|
|
44352
|
+
deprecatedAPIs.constructor = PureComponent;
|
|
44353
|
+
assign(deprecatedAPIs, Component2.prototype);
|
|
44354
|
+
deprecatedAPIs.isPureReactComponent = true;
|
|
44355
|
+
var isArrayImpl = Array.isArray, REACT_CLIENT_REFERENCE = /* @__PURE__ */ Symbol.for("react.client.reference"), ReactSharedInternals = {
|
|
44356
|
+
H: null,
|
|
44357
|
+
A: null,
|
|
44358
|
+
T: null,
|
|
44359
|
+
S: null,
|
|
44360
|
+
actQueue: null,
|
|
44361
|
+
asyncTransitions: 0,
|
|
44362
|
+
isBatchingLegacy: false,
|
|
44363
|
+
didScheduleLegacyUpdate: false,
|
|
44364
|
+
didUsePromise: false,
|
|
44365
|
+
thrownErrors: [],
|
|
44366
|
+
getCurrentStack: null,
|
|
44367
|
+
recentlyCreatedOwnerStacks: 0
|
|
44368
|
+
}, hasOwnProperty2 = Object.prototype.hasOwnProperty, createTask = console.createTask ? console.createTask : function() {
|
|
44369
|
+
return null;
|
|
44370
|
+
};
|
|
44371
|
+
deprecatedAPIs = {
|
|
44372
|
+
react_stack_bottom_frame: function(callStackForError) {
|
|
44373
|
+
return callStackForError();
|
|
44374
|
+
}
|
|
44375
|
+
};
|
|
44376
|
+
var specialPropKeyWarningShown, didWarnAboutOldJSXRuntime;
|
|
44377
|
+
var didWarnAboutElementRef = {};
|
|
44378
|
+
var unknownOwnerDebugStack = deprecatedAPIs.react_stack_bottom_frame.bind(
|
|
44379
|
+
deprecatedAPIs,
|
|
44380
|
+
UnknownOwner
|
|
44381
|
+
)();
|
|
44382
|
+
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
|
|
44383
|
+
var didWarnAboutMaps = false, userProvidedKeyEscapeRegex = /\/+/g, reportGlobalError = "function" === typeof reportError ? reportError : function(error61) {
|
|
44384
|
+
if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
|
|
44385
|
+
var event = new window.ErrorEvent("error", {
|
|
44386
|
+
bubbles: true,
|
|
44387
|
+
cancelable: true,
|
|
44388
|
+
message: "object" === typeof error61 && null !== error61 && "string" === typeof error61.message ? String(error61.message) : String(error61),
|
|
44389
|
+
error: error61
|
|
44390
|
+
});
|
|
44391
|
+
if (!window.dispatchEvent(event)) return;
|
|
44392
|
+
} else if ("object" === typeof process && "function" === typeof process.emit) {
|
|
44393
|
+
process.emit("uncaughtException", error61);
|
|
44394
|
+
return;
|
|
44395
|
+
}
|
|
44396
|
+
console.error(error61);
|
|
44397
|
+
}, didWarnAboutMessageChannel = false, enqueueTaskImpl = null, actScopeDepth = 0, didWarnNoAwaitAct = false, isFlushing = false, queueSeveralMicrotasks = "function" === typeof queueMicrotask ? function(callback) {
|
|
44398
|
+
queueMicrotask(function() {
|
|
44399
|
+
return queueMicrotask(callback);
|
|
44400
|
+
});
|
|
44401
|
+
} : enqueueTask;
|
|
44402
|
+
deprecatedAPIs = Object.freeze({
|
|
44403
|
+
__proto__: null,
|
|
44404
|
+
c: function(size) {
|
|
44405
|
+
return resolveDispatcher().useMemoCache(size);
|
|
44406
|
+
}
|
|
44407
|
+
});
|
|
44408
|
+
var fnName = {
|
|
44409
|
+
map: mapChildren,
|
|
44410
|
+
forEach: function(children, forEachFunc, forEachContext) {
|
|
44411
|
+
mapChildren(
|
|
44412
|
+
children,
|
|
44413
|
+
function() {
|
|
44414
|
+
forEachFunc.apply(this, arguments);
|
|
44415
|
+
},
|
|
44416
|
+
forEachContext
|
|
44417
|
+
);
|
|
44418
|
+
},
|
|
44419
|
+
count: function(children) {
|
|
44420
|
+
var n = 0;
|
|
44421
|
+
mapChildren(children, function() {
|
|
44422
|
+
n++;
|
|
44423
|
+
});
|
|
44424
|
+
return n;
|
|
44425
|
+
},
|
|
44426
|
+
toArray: function(children) {
|
|
44427
|
+
return mapChildren(children, function(child) {
|
|
44428
|
+
return child;
|
|
44429
|
+
}) || [];
|
|
44430
|
+
},
|
|
44431
|
+
only: function(children) {
|
|
44432
|
+
if (!isValidElement2(children))
|
|
44433
|
+
throw Error(
|
|
44434
|
+
"React.Children.only expected to receive a single React element child."
|
|
44435
|
+
);
|
|
44436
|
+
return children;
|
|
44437
|
+
}
|
|
44438
|
+
};
|
|
44439
|
+
exports.Activity = REACT_ACTIVITY_TYPE;
|
|
44440
|
+
exports.Children = fnName;
|
|
44441
|
+
exports.Component = Component2;
|
|
44442
|
+
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
44443
|
+
exports.Profiler = REACT_PROFILER_TYPE;
|
|
44444
|
+
exports.PureComponent = PureComponent;
|
|
44445
|
+
exports.StrictMode = REACT_STRICT_MODE_TYPE;
|
|
44446
|
+
exports.Suspense = REACT_SUSPENSE_TYPE;
|
|
44447
|
+
exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
|
|
44448
|
+
exports.__COMPILER_RUNTIME = deprecatedAPIs;
|
|
44449
|
+
exports.act = function(callback) {
|
|
44450
|
+
var prevActQueue = ReactSharedInternals.actQueue, prevActScopeDepth = actScopeDepth;
|
|
44451
|
+
actScopeDepth++;
|
|
44452
|
+
var queue = ReactSharedInternals.actQueue = null !== prevActQueue ? prevActQueue : [], didAwaitActCall = false;
|
|
44453
|
+
try {
|
|
44454
|
+
var result = callback();
|
|
44455
|
+
} catch (error61) {
|
|
44456
|
+
ReactSharedInternals.thrownErrors.push(error61);
|
|
44457
|
+
}
|
|
44458
|
+
if (0 < ReactSharedInternals.thrownErrors.length)
|
|
44459
|
+
throw popActScope(prevActQueue, prevActScopeDepth), callback = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, callback;
|
|
44460
|
+
if (null !== result && "object" === typeof result && "function" === typeof result.then) {
|
|
44461
|
+
var thenable = result;
|
|
44462
|
+
queueSeveralMicrotasks(function() {
|
|
44463
|
+
didAwaitActCall || didWarnNoAwaitAct || (didWarnNoAwaitAct = true, console.error(
|
|
44464
|
+
"You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"
|
|
44465
|
+
));
|
|
44466
|
+
});
|
|
44467
|
+
return {
|
|
44468
|
+
then: function(resolve, reject2) {
|
|
44469
|
+
didAwaitActCall = true;
|
|
44470
|
+
thenable.then(
|
|
44471
|
+
function(returnValue) {
|
|
44472
|
+
popActScope(prevActQueue, prevActScopeDepth);
|
|
44473
|
+
if (0 === prevActScopeDepth) {
|
|
44474
|
+
try {
|
|
44475
|
+
flushActQueue(queue), enqueueTask(function() {
|
|
44476
|
+
return recursivelyFlushAsyncActWork(
|
|
44477
|
+
returnValue,
|
|
44478
|
+
resolve,
|
|
44479
|
+
reject2
|
|
44480
|
+
);
|
|
44481
|
+
});
|
|
44482
|
+
} catch (error$0) {
|
|
44483
|
+
ReactSharedInternals.thrownErrors.push(error$0);
|
|
44484
|
+
}
|
|
44485
|
+
if (0 < ReactSharedInternals.thrownErrors.length) {
|
|
44486
|
+
var _thrownError = aggregateErrors(
|
|
44487
|
+
ReactSharedInternals.thrownErrors
|
|
44488
|
+
);
|
|
44489
|
+
ReactSharedInternals.thrownErrors.length = 0;
|
|
44490
|
+
reject2(_thrownError);
|
|
44491
|
+
}
|
|
44492
|
+
} else resolve(returnValue);
|
|
44493
|
+
},
|
|
44494
|
+
function(error61) {
|
|
44495
|
+
popActScope(prevActQueue, prevActScopeDepth);
|
|
44496
|
+
0 < ReactSharedInternals.thrownErrors.length ? (error61 = aggregateErrors(
|
|
44497
|
+
ReactSharedInternals.thrownErrors
|
|
44498
|
+
), ReactSharedInternals.thrownErrors.length = 0, reject2(error61)) : reject2(error61);
|
|
44499
|
+
}
|
|
44500
|
+
);
|
|
44501
|
+
}
|
|
44502
|
+
};
|
|
44503
|
+
}
|
|
44504
|
+
var returnValue$jscomp$0 = result;
|
|
44505
|
+
popActScope(prevActQueue, prevActScopeDepth);
|
|
44506
|
+
0 === prevActScopeDepth && (flushActQueue(queue), 0 !== queue.length && queueSeveralMicrotasks(function() {
|
|
44507
|
+
didAwaitActCall || didWarnNoAwaitAct || (didWarnNoAwaitAct = true, console.error(
|
|
44508
|
+
"A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"
|
|
44509
|
+
));
|
|
44510
|
+
}), ReactSharedInternals.actQueue = null);
|
|
44511
|
+
if (0 < ReactSharedInternals.thrownErrors.length)
|
|
44512
|
+
throw callback = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, callback;
|
|
44513
|
+
return {
|
|
44514
|
+
then: function(resolve, reject2) {
|
|
44515
|
+
didAwaitActCall = true;
|
|
44516
|
+
0 === prevActScopeDepth ? (ReactSharedInternals.actQueue = queue, enqueueTask(function() {
|
|
44517
|
+
return recursivelyFlushAsyncActWork(
|
|
44518
|
+
returnValue$jscomp$0,
|
|
44519
|
+
resolve,
|
|
44520
|
+
reject2
|
|
44521
|
+
);
|
|
44522
|
+
})) : resolve(returnValue$jscomp$0);
|
|
44523
|
+
}
|
|
44524
|
+
};
|
|
44525
|
+
};
|
|
44526
|
+
exports.cache = function(fn) {
|
|
44527
|
+
return function() {
|
|
44528
|
+
return fn.apply(null, arguments);
|
|
44529
|
+
};
|
|
44530
|
+
};
|
|
44531
|
+
exports.cacheSignal = function() {
|
|
44532
|
+
return null;
|
|
44533
|
+
};
|
|
44534
|
+
exports.captureOwnerStack = function() {
|
|
44535
|
+
var getCurrentStack = ReactSharedInternals.getCurrentStack;
|
|
44536
|
+
return null === getCurrentStack ? null : getCurrentStack();
|
|
44537
|
+
};
|
|
44538
|
+
exports.cloneElement = function(element2, config2, children) {
|
|
44539
|
+
if (null === element2 || void 0 === element2)
|
|
44540
|
+
throw Error(
|
|
44541
|
+
"The argument must be a React element, but you passed " + element2 + "."
|
|
44542
|
+
);
|
|
44543
|
+
var props = assign({}, element2.props), key2 = element2.key, owner = element2._owner;
|
|
44544
|
+
if (null != config2) {
|
|
44545
|
+
var JSCompiler_inline_result;
|
|
44546
|
+
a: {
|
|
44547
|
+
if (hasOwnProperty2.call(config2, "ref") && (JSCompiler_inline_result = Object.getOwnPropertyDescriptor(
|
|
44548
|
+
config2,
|
|
44549
|
+
"ref"
|
|
44550
|
+
).get) && JSCompiler_inline_result.isReactWarning) {
|
|
44551
|
+
JSCompiler_inline_result = false;
|
|
44552
|
+
break a;
|
|
44553
|
+
}
|
|
44554
|
+
JSCompiler_inline_result = void 0 !== config2.ref;
|
|
44555
|
+
}
|
|
44556
|
+
JSCompiler_inline_result && (owner = getOwner());
|
|
44557
|
+
hasValidKey(config2) && (checkKeyStringCoercion(config2.key), key2 = "" + config2.key);
|
|
44558
|
+
for (propName in config2)
|
|
44559
|
+
!hasOwnProperty2.call(config2, propName) || "key" === propName || "__self" === propName || "__source" === propName || "ref" === propName && void 0 === config2.ref || (props[propName] = config2[propName]);
|
|
44560
|
+
}
|
|
44561
|
+
var propName = arguments.length - 2;
|
|
44562
|
+
if (1 === propName) props.children = children;
|
|
44563
|
+
else if (1 < propName) {
|
|
44564
|
+
JSCompiler_inline_result = Array(propName);
|
|
44565
|
+
for (var i = 0; i < propName; i++)
|
|
44566
|
+
JSCompiler_inline_result[i] = arguments[i + 2];
|
|
44567
|
+
props.children = JSCompiler_inline_result;
|
|
44568
|
+
}
|
|
44569
|
+
props = ReactElement(
|
|
44570
|
+
element2.type,
|
|
44571
|
+
key2,
|
|
44572
|
+
props,
|
|
44573
|
+
owner,
|
|
44574
|
+
element2._debugStack,
|
|
44575
|
+
element2._debugTask
|
|
44576
|
+
);
|
|
44577
|
+
for (key2 = 2; key2 < arguments.length; key2++)
|
|
44578
|
+
validateChildKeys(arguments[key2]);
|
|
44579
|
+
return props;
|
|
44580
|
+
};
|
|
44581
|
+
exports.createContext = function(defaultValue) {
|
|
44582
|
+
defaultValue = {
|
|
44583
|
+
$$typeof: REACT_CONTEXT_TYPE,
|
|
44584
|
+
_currentValue: defaultValue,
|
|
44585
|
+
_currentValue2: defaultValue,
|
|
44586
|
+
_threadCount: 0,
|
|
44587
|
+
Provider: null,
|
|
44588
|
+
Consumer: null
|
|
44589
|
+
};
|
|
44590
|
+
defaultValue.Provider = defaultValue;
|
|
44591
|
+
defaultValue.Consumer = {
|
|
44592
|
+
$$typeof: REACT_CONSUMER_TYPE,
|
|
44593
|
+
_context: defaultValue
|
|
44594
|
+
};
|
|
44595
|
+
defaultValue._currentRenderer = null;
|
|
44596
|
+
defaultValue._currentRenderer2 = null;
|
|
44597
|
+
return defaultValue;
|
|
44598
|
+
};
|
|
44599
|
+
exports.createElement = function(type, config2, children) {
|
|
44600
|
+
for (var i = 2; i < arguments.length; i++)
|
|
44601
|
+
validateChildKeys(arguments[i]);
|
|
44602
|
+
i = {};
|
|
44603
|
+
var key2 = null;
|
|
44604
|
+
if (null != config2)
|
|
44605
|
+
for (propName in didWarnAboutOldJSXRuntime || !("__self" in config2) || "key" in config2 || (didWarnAboutOldJSXRuntime = true, console.warn(
|
|
44606
|
+
"Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform"
|
|
44607
|
+
)), hasValidKey(config2) && (checkKeyStringCoercion(config2.key), key2 = "" + config2.key), config2)
|
|
44608
|
+
hasOwnProperty2.call(config2, propName) && "key" !== propName && "__self" !== propName && "__source" !== propName && (i[propName] = config2[propName]);
|
|
44609
|
+
var childrenLength = arguments.length - 2;
|
|
44610
|
+
if (1 === childrenLength) i.children = children;
|
|
44611
|
+
else if (1 < childrenLength) {
|
|
44612
|
+
for (var childArray = Array(childrenLength), _i = 0; _i < childrenLength; _i++)
|
|
44613
|
+
childArray[_i] = arguments[_i + 2];
|
|
44614
|
+
Object.freeze && Object.freeze(childArray);
|
|
44615
|
+
i.children = childArray;
|
|
44616
|
+
}
|
|
44617
|
+
if (type && type.defaultProps)
|
|
44618
|
+
for (propName in childrenLength = type.defaultProps, childrenLength)
|
|
44619
|
+
void 0 === i[propName] && (i[propName] = childrenLength[propName]);
|
|
44620
|
+
key2 && defineKeyPropWarningGetter(
|
|
44621
|
+
i,
|
|
44622
|
+
"function" === typeof type ? type.displayName || type.name || "Unknown" : type
|
|
44623
|
+
);
|
|
44624
|
+
var propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
|
44625
|
+
return ReactElement(
|
|
44626
|
+
type,
|
|
44627
|
+
key2,
|
|
44628
|
+
i,
|
|
44629
|
+
getOwner(),
|
|
44630
|
+
propName ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
|
|
44631
|
+
propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
|
44632
|
+
);
|
|
44633
|
+
};
|
|
44634
|
+
exports.createRef = function() {
|
|
44635
|
+
var refObject = { current: null };
|
|
44636
|
+
Object.seal(refObject);
|
|
44637
|
+
return refObject;
|
|
44638
|
+
};
|
|
44639
|
+
exports.forwardRef = function(render) {
|
|
44640
|
+
null != render && render.$$typeof === REACT_MEMO_TYPE ? console.error(
|
|
44641
|
+
"forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."
|
|
44642
|
+
) : "function" !== typeof render ? console.error(
|
|
44643
|
+
"forwardRef requires a render function but was given %s.",
|
|
44644
|
+
null === render ? "null" : typeof render
|
|
44645
|
+
) : 0 !== render.length && 2 !== render.length && console.error(
|
|
44646
|
+
"forwardRef render functions accept exactly two parameters: props and ref. %s",
|
|
44647
|
+
1 === render.length ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined."
|
|
44648
|
+
);
|
|
44649
|
+
null != render && null != render.defaultProps && console.error(
|
|
44650
|
+
"forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?"
|
|
44651
|
+
);
|
|
44652
|
+
var elementType2 = { $$typeof: REACT_FORWARD_REF_TYPE, render }, ownName;
|
|
44653
|
+
Object.defineProperty(elementType2, "displayName", {
|
|
44654
|
+
enumerable: false,
|
|
44655
|
+
configurable: true,
|
|
44656
|
+
get: function() {
|
|
44657
|
+
return ownName;
|
|
44658
|
+
},
|
|
44659
|
+
set: function(name) {
|
|
44660
|
+
ownName = name;
|
|
44661
|
+
render.name || render.displayName || (Object.defineProperty(render, "name", { value: name }), render.displayName = name);
|
|
44662
|
+
}
|
|
44663
|
+
});
|
|
44664
|
+
return elementType2;
|
|
44665
|
+
};
|
|
44666
|
+
exports.isValidElement = isValidElement2;
|
|
44667
|
+
exports.lazy = function(ctor) {
|
|
44668
|
+
ctor = { _status: -1, _result: ctor };
|
|
44669
|
+
var lazyType = {
|
|
44670
|
+
$$typeof: REACT_LAZY_TYPE,
|
|
44671
|
+
_payload: ctor,
|
|
44672
|
+
_init: lazyInitializer
|
|
44673
|
+
}, ioInfo = {
|
|
44674
|
+
name: "lazy",
|
|
44675
|
+
start: -1,
|
|
44676
|
+
end: -1,
|
|
44677
|
+
value: null,
|
|
44678
|
+
owner: null,
|
|
44679
|
+
debugStack: Error("react-stack-top-frame"),
|
|
44680
|
+
debugTask: console.createTask ? console.createTask("lazy()") : null
|
|
44681
|
+
};
|
|
44682
|
+
ctor._ioInfo = ioInfo;
|
|
44683
|
+
lazyType._debugInfo = [{ awaited: ioInfo }];
|
|
44684
|
+
return lazyType;
|
|
44685
|
+
};
|
|
44686
|
+
exports.memo = function(type, compare) {
|
|
44687
|
+
null == type && console.error(
|
|
44688
|
+
"memo: The first argument must be a component. Instead received: %s",
|
|
44689
|
+
null === type ? "null" : typeof type
|
|
44690
|
+
);
|
|
44691
|
+
compare = {
|
|
44692
|
+
$$typeof: REACT_MEMO_TYPE,
|
|
44693
|
+
type,
|
|
44694
|
+
compare: void 0 === compare ? null : compare
|
|
44695
|
+
};
|
|
44696
|
+
var ownName;
|
|
44697
|
+
Object.defineProperty(compare, "displayName", {
|
|
44698
|
+
enumerable: false,
|
|
44699
|
+
configurable: true,
|
|
44700
|
+
get: function() {
|
|
44701
|
+
return ownName;
|
|
44702
|
+
},
|
|
44703
|
+
set: function(name) {
|
|
44704
|
+
ownName = name;
|
|
44705
|
+
type.name || type.displayName || (Object.defineProperty(type, "name", { value: name }), type.displayName = name);
|
|
44706
|
+
}
|
|
44707
|
+
});
|
|
44708
|
+
return compare;
|
|
44709
|
+
};
|
|
44710
|
+
exports.startTransition = function(scope) {
|
|
44711
|
+
var prevTransition = ReactSharedInternals.T, currentTransition = {};
|
|
44712
|
+
currentTransition._updatedFibers = /* @__PURE__ */ new Set();
|
|
44713
|
+
ReactSharedInternals.T = currentTransition;
|
|
44714
|
+
try {
|
|
44715
|
+
var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
|
|
44716
|
+
null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
|
|
44717
|
+
"object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && (ReactSharedInternals.asyncTransitions++, returnValue.then(releaseAsyncTransition, releaseAsyncTransition), returnValue.then(noop, reportGlobalError));
|
|
44718
|
+
} catch (error61) {
|
|
44719
|
+
reportGlobalError(error61);
|
|
44720
|
+
} finally {
|
|
44721
|
+
null === prevTransition && currentTransition._updatedFibers && (scope = currentTransition._updatedFibers.size, currentTransition._updatedFibers.clear(), 10 < scope && console.warn(
|
|
44722
|
+
"Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."
|
|
44723
|
+
)), null !== prevTransition && null !== currentTransition.types && (null !== prevTransition.types && prevTransition.types !== currentTransition.types && console.error(
|
|
44724
|
+
"We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."
|
|
44725
|
+
), prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
|
|
44726
|
+
}
|
|
44727
|
+
};
|
|
44728
|
+
exports.unstable_useCacheRefresh = function() {
|
|
44729
|
+
return resolveDispatcher().useCacheRefresh();
|
|
44730
|
+
};
|
|
44731
|
+
exports.use = function(usable) {
|
|
44732
|
+
return resolveDispatcher().use(usable);
|
|
44733
|
+
};
|
|
44734
|
+
exports.useActionState = function(action, initialState, permalink) {
|
|
44735
|
+
return resolveDispatcher().useActionState(
|
|
44736
|
+
action,
|
|
44737
|
+
initialState,
|
|
44738
|
+
permalink
|
|
44739
|
+
);
|
|
44740
|
+
};
|
|
44741
|
+
exports.useCallback = function(callback, deps) {
|
|
44742
|
+
return resolveDispatcher().useCallback(callback, deps);
|
|
44743
|
+
};
|
|
44744
|
+
exports.useContext = function(Context) {
|
|
44745
|
+
var dispatcher = resolveDispatcher();
|
|
44746
|
+
Context.$$typeof === REACT_CONSUMER_TYPE && console.error(
|
|
44747
|
+
"Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"
|
|
44748
|
+
);
|
|
44749
|
+
return dispatcher.useContext(Context);
|
|
44750
|
+
};
|
|
44751
|
+
exports.useDebugValue = function(value, formatterFn) {
|
|
44752
|
+
return resolveDispatcher().useDebugValue(value, formatterFn);
|
|
44753
|
+
};
|
|
44754
|
+
exports.useDeferredValue = function(value, initialValue) {
|
|
44755
|
+
return resolveDispatcher().useDeferredValue(value, initialValue);
|
|
44756
|
+
};
|
|
44757
|
+
exports.useEffect = function(create, deps) {
|
|
44758
|
+
null == create && console.warn(
|
|
44759
|
+
"React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"
|
|
44760
|
+
);
|
|
44761
|
+
return resolveDispatcher().useEffect(create, deps);
|
|
44762
|
+
};
|
|
44763
|
+
exports.useEffectEvent = function(callback) {
|
|
44764
|
+
return resolveDispatcher().useEffectEvent(callback);
|
|
44765
|
+
};
|
|
44766
|
+
exports.useId = function() {
|
|
44767
|
+
return resolveDispatcher().useId();
|
|
44768
|
+
};
|
|
44769
|
+
exports.useImperativeHandle = function(ref2, create, deps) {
|
|
44770
|
+
return resolveDispatcher().useImperativeHandle(ref2, create, deps);
|
|
44771
|
+
};
|
|
44772
|
+
exports.useInsertionEffect = function(create, deps) {
|
|
44773
|
+
null == create && console.warn(
|
|
44774
|
+
"React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"
|
|
44775
|
+
);
|
|
44776
|
+
return resolveDispatcher().useInsertionEffect(create, deps);
|
|
44777
|
+
};
|
|
44778
|
+
exports.useLayoutEffect = function(create, deps) {
|
|
44779
|
+
null == create && console.warn(
|
|
44780
|
+
"React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"
|
|
44781
|
+
);
|
|
44782
|
+
return resolveDispatcher().useLayoutEffect(create, deps);
|
|
44783
|
+
};
|
|
44784
|
+
exports.useMemo = function(create, deps) {
|
|
44785
|
+
return resolveDispatcher().useMemo(create, deps);
|
|
44786
|
+
};
|
|
44787
|
+
exports.useOptimistic = function(passthrough, reducer) {
|
|
44788
|
+
return resolveDispatcher().useOptimistic(passthrough, reducer);
|
|
44789
|
+
};
|
|
44790
|
+
exports.useReducer = function(reducer, initialArg, init) {
|
|
44791
|
+
return resolveDispatcher().useReducer(reducer, initialArg, init);
|
|
44792
|
+
};
|
|
44793
|
+
exports.useRef = function(initialValue) {
|
|
44794
|
+
return resolveDispatcher().useRef(initialValue);
|
|
44795
|
+
};
|
|
44796
|
+
exports.useState = function(initialState) {
|
|
44797
|
+
return resolveDispatcher().useState(initialState);
|
|
44798
|
+
};
|
|
44799
|
+
exports.useSyncExternalStore = function(subscribe, getSnapshot, getServerSnapshot) {
|
|
44800
|
+
return resolveDispatcher().useSyncExternalStore(
|
|
44801
|
+
subscribe,
|
|
44802
|
+
getSnapshot,
|
|
44803
|
+
getServerSnapshot
|
|
44804
|
+
);
|
|
44805
|
+
};
|
|
44806
|
+
exports.useTransition = function() {
|
|
44807
|
+
return resolveDispatcher().useTransition();
|
|
44808
|
+
};
|
|
44809
|
+
exports.version = "19.2.6";
|
|
44810
|
+
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
44811
|
+
})();
|
|
44812
|
+
}
|
|
44813
|
+
});
|
|
44814
|
+
|
|
44815
|
+
// ../../node_modules/react/index.js
|
|
44816
|
+
var require_react = __commonJS({
|
|
44817
|
+
"../../node_modules/react/index.js"(exports, module) {
|
|
44818
|
+
"use strict";
|
|
44819
|
+
if (process.env.NODE_ENV === "production") {
|
|
44820
|
+
module.exports = require_react_production();
|
|
44821
|
+
} else {
|
|
44822
|
+
module.exports = require_react_development();
|
|
44823
|
+
}
|
|
44824
|
+
}
|
|
44825
|
+
});
|
|
44826
|
+
|
|
43402
44827
|
// ../../node_modules/source-map-js/lib/base64.js
|
|
43403
44828
|
var require_base64 = __commonJS({
|
|
43404
44829
|
"../../node_modules/source-map-js/lib/base64.js"(exports) {
|
|
@@ -44304,6 +45729,9 @@ var GUIDANCE_LANES = [
|
|
|
44304
45729
|
"figma-import"
|
|
44305
45730
|
];
|
|
44306
45731
|
|
|
45732
|
+
// ../config/dist/authoring/intersperse.js
|
|
45733
|
+
var import_react = __toESM(require_react(), 1);
|
|
45734
|
+
|
|
44307
45735
|
// ../config/dist/framework/utils/ref-grammar.js
|
|
44308
45736
|
var qualifier = (source) => source === void 0 ? "" : `@${source}`;
|
|
44309
45737
|
function splitSource(qualified) {
|
|
@@ -80203,6 +81631,11 @@ function slotNameOf(node2) {
|
|
|
80203
81631
|
const name = node2.props?.name;
|
|
80204
81632
|
return typeof name === "string" ? name : void 0;
|
|
80205
81633
|
}
|
|
81634
|
+
function separatorNameOf(node2) {
|
|
81635
|
+
if (slotNameOf(node2) === void 0) return void 0;
|
|
81636
|
+
const separator = node2?.props?.separator;
|
|
81637
|
+
return typeof separator === "string" ? separator : void 0;
|
|
81638
|
+
}
|
|
80206
81639
|
function slotHostLayer(anatomy, from) {
|
|
80207
81640
|
if (!anatomy) return void 0;
|
|
80208
81641
|
const parents = /* @__PURE__ */ new Map();
|
|
@@ -80210,7 +81643,7 @@ function slotHostLayer(anatomy, from) {
|
|
|
80210
81643
|
const held = [...node2.children ?? [], ...Object.values(node2.slots ?? {}).flat()];
|
|
80211
81644
|
for (const child of held) parents.set(child, key3);
|
|
80212
81645
|
}
|
|
80213
|
-
let key2 = Object.keys(anatomy).find((candidate) => slotNameOf(anatomy[candidate]) === from);
|
|
81646
|
+
let key2 = Object.keys(anatomy).find((candidate) => slotNameOf(anatomy[candidate]) === from || separatorNameOf(anatomy[candidate]) === from);
|
|
80214
81647
|
const seen = /* @__PURE__ */ new Set();
|
|
80215
81648
|
while (key2 !== void 0 && !seen.has(key2)) {
|
|
80216
81649
|
seen.add(key2);
|
|
@@ -86189,6 +87622,7 @@ var AnatomyNode = defineSubEntity({
|
|
|
86189
87622
|
values: anatomyPropValue
|
|
86190
87623
|
}) : external_exports.record(external_exports.string(), anatomyPropValue)).optional().describe('Props passed to what the node renders, keyed by prop or style-property name, as literal values. Content is not set here: a `slot` prop\'s content lands where a `{ "element": "Slot", "props": { "name": "<prop>" } }` node sits among a parent\'s `children` (on the root when there is none), and a `forward` prop (`{ "type": "forward", "target": "label/children" }`) routes it into that layer with no node entry. `$state` belongs to `visible` and to an `element` a prop chooses.'),
|
|
86191
87624
|
overrides: external_exports.array(external_exports.string()).optional().describe("Keys of `props` the render writes after the layer's spread, so they win over its style rules."),
|
|
87625
|
+
states: external_exports.record(external_exports.string(), anatomyPropValue).optional().describe("What the render's `states(\u2026)` call sets each state to, as a value over the props (`$item` on a repeated node). A state left out takes its rest value."),
|
|
86192
87626
|
text: external_exports.string().optional().describe("Literal text content, for a node that renders a fixed string."),
|
|
86193
87627
|
repeat: external_exports.strictObject({
|
|
86194
87628
|
source: external_exports.unknown(),
|
|
@@ -86279,7 +87713,7 @@ var AnatomyNode = defineSubEntity({
|
|
|
86279
87713
|
}
|
|
86280
87714
|
});
|
|
86281
87715
|
if (slotAnatomyProp !== void 0) {
|
|
86282
|
-
if (node2.children?.length || node2.slots || node2.text !== void 0 || node2.visible !== void 0 || Object.keys(node2.props ?? {}).some((prop) => prop !== "name")) ctx.issues.push({
|
|
87716
|
+
if (node2.children?.length || node2.slots || node2.text !== void 0 || node2.visible !== void 0 || Object.keys(node2.props ?? {}).some((prop) => prop !== "name" && prop !== "separator")) ctx.issues.push({
|
|
86283
87717
|
code: "custom",
|
|
86284
87718
|
input: node2,
|
|
86285
87719
|
message: "a Slot node carries nothing of its own \u2014 its content arrives from the instance"
|
|
@@ -86290,6 +87724,18 @@ var AnatomyNode = defineSubEntity({
|
|
|
86290
87724
|
input: node2,
|
|
86291
87725
|
message: `a Slot node must name a slot prop \u2014 "${slotAnatomyProp}" routes no content`
|
|
86292
87726
|
});
|
|
87727
|
+
const separator = {
|
|
87728
|
+
...current?.props,
|
|
87729
|
+
...node2.props
|
|
87730
|
+
}.separator;
|
|
87731
|
+
if (separator !== void 0) {
|
|
87732
|
+
const separatorDecl = body.props?.[separator];
|
|
87733
|
+
if (typeof separator !== "string" || separator === slotAnatomyProp || separatorDecl && separatorDecl.type !== "slot") ctx.issues.push({
|
|
87734
|
+
code: "custom",
|
|
87735
|
+
input: node2,
|
|
87736
|
+
message: `a Slot node's \`separator\` must name another slot prop \u2014 "${String(separator)}" is not one`
|
|
87737
|
+
});
|
|
87738
|
+
}
|
|
86293
87739
|
for (const [sibling, member] of Object.entries(body.anatomy ?? {})) {
|
|
86294
87740
|
if (sibling === key2) continue;
|
|
86295
87741
|
if (slotAnatomyPropOf(member) === slotAnatomyProp) {
|
|
@@ -91040,7 +92486,7 @@ var Entity = class {
|
|
|
91040
92486
|
};
|
|
91041
92487
|
|
|
91042
92488
|
// ../config/dist/framework/schema-version.js
|
|
91043
|
-
var CURRENT_SCHEMA_VERSION =
|
|
92489
|
+
var CURRENT_SCHEMA_VERSION = 20261110171151;
|
|
91044
92490
|
var SETTINGS_AS_KIND_VERSION = 20260908171448;
|
|
91045
92491
|
var SchemaVersionTooNew = class extends ConfigFormatError {
|
|
91046
92492
|
found;
|
|
@@ -91060,7 +92506,7 @@ function registerSchemaMigrations(...migrations) {
|
|
|
91060
92506
|
for (const migration of migrations) {
|
|
91061
92507
|
if (migration.version !== 1 && !isMintTimestamp(migration.version)) throw new Error(`Schema migration version ${migration.version} is not a mint timestamp \u2014 mint one with \`date +%Y%m%d%H%M%S\`, like a supabase migration.`);
|
|
91062
92508
|
if (REGISTERED.has(migration.version)) throw new Error(`A schema migration at version ${migration.version} is already registered.`);
|
|
91063
|
-
if (migration.version >
|
|
92509
|
+
if (migration.version > 20261110171151) throw new Error(`Schema migration ${migration.version} is newer than CURRENT_SCHEMA_VERSION (${CURRENT_SCHEMA_VERSION}) \u2014 a stale branch merged, or the mint forgot to bump the constant. Re-mint: set CURRENT_SCHEMA_VERSION to the newest migration version.`);
|
|
91064
92510
|
REGISTERED.set(migration.version, migration);
|
|
91065
92511
|
}
|
|
91066
92512
|
}
|
|
@@ -91091,7 +92537,7 @@ function pendingFor(version2, target2, options) {
|
|
|
91091
92537
|
return [...(options?.migrations ?? REGISTERED).values()].filter((m) => m.version > version2 && m.version <= target2).sort((a, b) => a.version - b.version);
|
|
91092
92538
|
}
|
|
91093
92539
|
function upgradeSerializedConfig(json2, options) {
|
|
91094
|
-
const target2 = options?.target ??
|
|
92540
|
+
const target2 = options?.target ?? 20261110171151;
|
|
91095
92541
|
const version2 = detectedWireVersion(json2);
|
|
91096
92542
|
if (version2 > target2) throw new SchemaVersionTooNew(version2, target2);
|
|
91097
92543
|
const raw = json2;
|
|
@@ -98285,7 +99731,7 @@ var Config = class Config2 {
|
|
|
98285
99731
|
* links from the provided sources. A declared `linkedKind` with no provided source throws. */
|
|
98286
99732
|
hydrateFrom(stored, options) {
|
|
98287
99733
|
const claimed = schemaVersionOf(stored);
|
|
98288
|
-
if (claimed >
|
|
99734
|
+
if (claimed > 20261110171151) throw new SchemaVersionTooNew(claimed);
|
|
98289
99735
|
const wire = upgradeSerializedConfig(stored);
|
|
98290
99736
|
if (!Array.isArray(wire.ownedKinds) || typeof wire.items !== "object" || wire.items === null) throw new ConfigFormatError(`Config "${stored.name ?? "system-config"}" cannot be hydrated: this is not a serialized config-v2 config (no "ownedKinds"/"items"). A pre-cutover build artifact converts through the registered cutover migration \u2014 import the config type's module (e.g. \`configs/system\`) before hydrating.`);
|
|
98291
99737
|
const leftover = wire.options;
|
|
@@ -102079,6 +103525,15 @@ var computedVisibilityMigration = {
|
|
|
102079
103525
|
}
|
|
102080
103526
|
};
|
|
102081
103527
|
|
|
103528
|
+
// ../config/dist/migrations/20261110171151_anatomy_node_states.js
|
|
103529
|
+
var ANATOMY_NODE_STATES_VERSION = 20261110171151;
|
|
103530
|
+
var anatomyNodeStatesMigration = {
|
|
103531
|
+
version: ANATOMY_NODE_STATES_VERSION,
|
|
103532
|
+
up(json2) {
|
|
103533
|
+
return json2;
|
|
103534
|
+
}
|
|
103535
|
+
};
|
|
103536
|
+
|
|
102082
103537
|
// ../../node_modules/css-tree/lib/generator/sourceMap.js
|
|
102083
103538
|
var import_source_map_generator = __toESM(require_source_map_generator(), 1);
|
|
102084
103539
|
var trackNodes = /* @__PURE__ */ new Set(["Atrule", "Selector", "Declaration"]);
|
|
@@ -104832,6 +106287,7 @@ if (!registeredSchemaMigrations().has(20261109144822)) registerSchemaMigrations(
|
|
|
104832
106287
|
if (!registeredSchemaMigrations().has(20261109205852)) registerSchemaMigrations(stringPropUniqueIdsMigration);
|
|
104833
106288
|
if (!registeredSchemaMigrations().has(20261109214535)) registerSchemaMigrations(anatomyNodeOverridesMigration);
|
|
104834
106289
|
if (!registeredSchemaMigrations().has(20261110145811)) registerSchemaMigrations(computedVisibilityMigration);
|
|
106290
|
+
if (!registeredSchemaMigrations().has(20261110171151)) registerSchemaMigrations(anatomyNodeStatesMigration);
|
|
104835
106291
|
|
|
104836
106292
|
// ../config/dist/capture/node-ops.js
|
|
104837
106293
|
var DEFAULT_WIDTH = 1600;
|
|
@@ -106884,3 +108340,27 @@ export {
|
|
|
106884
108340
|
getLoaderTransformOutputSpecs,
|
|
106885
108341
|
runLoaderTransform
|
|
106886
108342
|
};
|
|
108343
|
+
/*! Bundled license information:
|
|
108344
|
+
|
|
108345
|
+
react/cjs/react.production.js:
|
|
108346
|
+
(**
|
|
108347
|
+
* @license React
|
|
108348
|
+
* react.production.js
|
|
108349
|
+
*
|
|
108350
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
108351
|
+
*
|
|
108352
|
+
* This source code is licensed under the MIT license found in the
|
|
108353
|
+
* LICENSE file in the root directory of this source tree.
|
|
108354
|
+
*)
|
|
108355
|
+
|
|
108356
|
+
react/cjs/react.development.js:
|
|
108357
|
+
(**
|
|
108358
|
+
* @license React
|
|
108359
|
+
* react.development.js
|
|
108360
|
+
*
|
|
108361
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
108362
|
+
*
|
|
108363
|
+
* This source code is licensed under the MIT license found in the
|
|
108364
|
+
* LICENSE file in the root directory of this source tree.
|
|
108365
|
+
*)
|
|
108366
|
+
*/
|