react-material-symbols
Version:
A simple package for adding Material Symbols to any React project.
1,354 lines (1,348 loc) • 78.2 kB
JavaScript
var Lr = { exports: {} }, Ge = {}, Vr = { exports: {} }, g = {};
/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var ft;
function Nt() {
if (ft)
return g;
ft = 1;
var Y = Symbol.for("react.element"), v = Symbol.for("react.portal"), pe = Symbol.for("react.fragment"), G = Symbol.for("react.strict_mode"), ne = Symbol.for("react.profiler"), ee = Symbol.for("react.provider"), H = Symbol.for("react.context"), K = Symbol.for("react.forward_ref"), D = Symbol.for("react.suspense"), J = Symbol.for("react.memo"), I = Symbol.for("react.lazy"), W = Symbol.iterator;
function X(n) {
return n === null || typeof n != "object" ? null : (n = W && n[W] || n["@@iterator"], typeof n == "function" ? n : null);
}
var k = { isMounted: function() {
return !1;
}, enqueueForceUpdate: function() {
}, enqueueReplaceState: function() {
}, enqueueSetState: function() {
} }, fe = Object.assign, Ie = {};
function ae(n, s, h) {
this.props = n, this.context = s, this.refs = Ie, this.updater = h || k;
}
ae.prototype.isReactComponent = {}, ae.prototype.setState = function(n, s) {
if (typeof n != "object" && typeof n != "function" && n != null)
throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
this.updater.enqueueSetState(this, n, s, "setState");
}, ae.prototype.forceUpdate = function(n) {
this.updater.enqueueForceUpdate(this, n, "forceUpdate");
};
function oe() {
}
oe.prototype = ae.prototype;
function L(n, s, h) {
this.props = n, this.context = s, this.refs = Ie, this.updater = h || k;
}
var he = L.prototype = new oe();
he.constructor = L, fe(he, ae.prototype), he.isPureReactComponent = !0;
var ie = Array.isArray, N = Object.prototype.hasOwnProperty, Q = { current: null }, ce = { key: !0, ref: !0, __self: !0, __source: !0 };
function ve(n, s, h) {
var C, _ = {}, P = null, j = null;
if (s != null)
for (C in s.ref !== void 0 && (j = s.ref), s.key !== void 0 && (P = "" + s.key), s)
N.call(s, C) && !ce.hasOwnProperty(C) && (_[C] = s[C]);
var T = arguments.length - 2;
if (T === 1)
_.children = h;
else if (1 < T) {
for (var w = Array(T), U = 0; U < T; U++)
w[U] = arguments[U + 2];
_.children = w;
}
if (n && n.defaultProps)
for (C in T = n.defaultProps, T)
_[C] === void 0 && (_[C] = T[C]);
return { $$typeof: Y, type: n, key: P, ref: j, props: _, _owner: Q.current };
}
function Re(n, s) {
return { $$typeof: Y, type: n.type, key: s, ref: n.ref, props: n.props, _owner: n._owner };
}
function Ce(n) {
return typeof n == "object" && n !== null && n.$$typeof === Y;
}
function Ue(n) {
var s = { "=": "=0", ":": "=2" };
return "$" + n.replace(/[=:]/g, function(h) {
return s[h];
});
}
var we = /\/+/g;
function Z(n, s) {
return typeof n == "object" && n !== null && n.key != null ? Ue("" + n.key) : s.toString(36);
}
function re(n, s, h, C, _) {
var P = typeof n;
(P === "undefined" || P === "boolean") && (n = null);
var j = !1;
if (n === null)
j = !0;
else
switch (P) {
case "string":
case "number":
j = !0;
break;
case "object":
switch (n.$$typeof) {
case Y:
case v:
j = !0;
}
}
if (j)
return j = n, _ = _(j), n = C === "" ? "." + Z(j, 0) : C, ie(_) ? (h = "", n != null && (h = n.replace(we, "$&/") + "/"), re(_, s, h, "", function(U) {
return U;
})) : _ != null && (Ce(_) && (_ = Re(_, h + (!_.key || j && j.key === _.key ? "" : ("" + _.key).replace(we, "$&/") + "/") + n)), s.push(_)), 1;
if (j = 0, C = C === "" ? "." : C + ":", ie(n))
for (var T = 0; T < n.length; T++) {
P = n[T];
var w = C + Z(P, T);
j += re(P, s, h, w, _);
}
else if (w = X(n), typeof w == "function")
for (n = w.call(n), T = 0; !(P = n.next()).done; )
P = P.value, w = C + Z(P, T++), j += re(P, s, h, w, _);
else if (P === "object")
throw s = String(n), Error("Objects are not valid as a React child (found: " + (s === "[object Object]" ? "object with keys {" + Object.keys(n).join(", ") + "}" : s) + "). If you meant to render a collection of children, use an array instead.");
return j;
}
function B(n, s, h) {
if (n == null)
return n;
var C = [], _ = 0;
return re(n, C, "", "", function(P) {
return s.call(h, P, _++);
}), C;
}
function ue(n) {
if (n._status === -1) {
var s = n._result;
s = s(), s.then(function(h) {
(n._status === 0 || n._status === -1) && (n._status = 1, n._result = h);
}, function(h) {
(n._status === 0 || n._status === -1) && (n._status = 2, n._result = h);
}), n._status === -1 && (n._status = 0, n._result = s);
}
if (n._status === 1)
return n._result.default;
throw n._result;
}
var d = { current: null }, le = { transition: null }, Se = { ReactCurrentDispatcher: d, ReactCurrentBatchConfig: le, ReactCurrentOwner: Q };
return g.Children = { map: B, forEach: function(n, s, h) {
B(n, function() {
s.apply(this, arguments);
}, h);
}, count: function(n) {
var s = 0;
return B(n, function() {
s++;
}), s;
}, toArray: function(n) {
return B(n, function(s) {
return s;
}) || [];
}, only: function(n) {
if (!Ce(n))
throw Error("React.Children.only expected to receive a single React element child.");
return n;
} }, g.Component = ae, g.Fragment = pe, g.Profiler = ne, g.PureComponent = L, g.StrictMode = G, g.Suspense = D, g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Se, g.cloneElement = function(n, s, h) {
if (n == null)
throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + n + ".");
var C = fe({}, n.props), _ = n.key, P = n.ref, j = n._owner;
if (s != null) {
if (s.ref !== void 0 && (P = s.ref, j = Q.current), s.key !== void 0 && (_ = "" + s.key), n.type && n.type.defaultProps)
var T = n.type.defaultProps;
for (w in s)
N.call(s, w) && !ce.hasOwnProperty(w) && (C[w] = s[w] === void 0 && T !== void 0 ? T[w] : s[w]);
}
var w = arguments.length - 2;
if (w === 1)
C.children = h;
else if (1 < w) {
T = Array(w);
for (var U = 0; U < w; U++)
T[U] = arguments[U + 2];
C.children = T;
}
return { $$typeof: Y, type: n.type, key: _, ref: P, props: C, _owner: j };
}, g.createContext = function(n) {
return n = { $$typeof: H, _currentValue: n, _currentValue2: n, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, n.Provider = { $$typeof: ee, _context: n }, n.Consumer = n;
}, g.createElement = ve, g.createFactory = function(n) {
var s = ve.bind(null, n);
return s.type = n, s;
}, g.createRef = function() {
return { current: null };
}, g.forwardRef = function(n) {
return { $$typeof: K, render: n };
}, g.isValidElement = Ce, g.lazy = function(n) {
return { $$typeof: I, _payload: { _status: -1, _result: n }, _init: ue };
}, g.memo = function(n, s) {
return { $$typeof: J, type: n, compare: s === void 0 ? null : s };
}, g.startTransition = function(n) {
var s = le.transition;
le.transition = {};
try {
n();
} finally {
le.transition = s;
}
}, g.unstable_act = function() {
throw Error("act(...) is not supported in production builds of React.");
}, g.useCallback = function(n, s) {
return d.current.useCallback(n, s);
}, g.useContext = function(n) {
return d.current.useContext(n);
}, g.useDebugValue = function() {
}, g.useDeferredValue = function(n) {
return d.current.useDeferredValue(n);
}, g.useEffect = function(n, s) {
return d.current.useEffect(n, s);
}, g.useId = function() {
return d.current.useId();
}, g.useImperativeHandle = function(n, s, h) {
return d.current.useImperativeHandle(n, s, h);
}, g.useInsertionEffect = function(n, s) {
return d.current.useInsertionEffect(n, s);
}, g.useLayoutEffect = function(n, s) {
return d.current.useLayoutEffect(n, s);
}, g.useMemo = function(n, s) {
return d.current.useMemo(n, s);
}, g.useReducer = function(n, s, h) {
return d.current.useReducer(n, s, h);
}, g.useRef = function(n) {
return d.current.useRef(n);
}, g.useState = function(n) {
return d.current.useState(n);
}, g.useSyncExternalStore = function(n, s, h) {
return d.current.useSyncExternalStore(n, s, h);
}, g.useTransition = function() {
return d.current.useTransition();
}, g.version = "18.2.0", g;
}
var Ke = { exports: {} };
/**
* @license React
* react.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
Ke.exports;
var ct;
function Mt() {
return ct || (ct = 1, function(Y, v) {
process.env.NODE_ENV !== "production" && function() {
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
var pe = "18.2.0", G = Symbol.for("react.element"), ne = Symbol.for("react.portal"), ee = Symbol.for("react.fragment"), H = Symbol.for("react.strict_mode"), K = Symbol.for("react.profiler"), D = Symbol.for("react.provider"), J = Symbol.for("react.context"), I = Symbol.for("react.forward_ref"), W = Symbol.for("react.suspense"), X = Symbol.for("react.suspense_list"), k = Symbol.for("react.memo"), fe = Symbol.for("react.lazy"), Ie = Symbol.for("react.offscreen"), ae = Symbol.iterator, oe = "@@iterator";
function L(e) {
if (e === null || typeof e != "object")
return null;
var r = ae && e[ae] || e[oe];
return typeof r == "function" ? r : null;
}
var he = {
/**
* @internal
* @type {ReactComponent}
*/
current: null
}, ie = {
transition: null
}, N = {
current: null,
// Used to reproduce behavior of `batchedUpdates` in legacy mode.
isBatchingLegacy: !1,
didScheduleLegacyUpdate: !1
}, Q = {
/**
* @internal
* @type {ReactComponent}
*/
current: null
}, ce = {}, ve = null;
function Re(e) {
ve = e;
}
ce.setExtraStackFrame = function(e) {
ve = e;
}, ce.getCurrentStack = null, ce.getStackAddendum = function() {
var e = "";
ve && (e += ve);
var r = ce.getCurrentStack;
return r && (e += r() || ""), e;
};
var Ce = !1, Ue = !1, we = !1, Z = !1, re = !1, B = {
ReactCurrentDispatcher: he,
ReactCurrentBatchConfig: ie,
ReactCurrentOwner: Q
};
B.ReactDebugCurrentFrame = ce, B.ReactCurrentActQueue = N;
function ue(e) {
{
for (var r = arguments.length, a = new Array(r > 1 ? r - 1 : 0), o = 1; o < r; o++)
a[o - 1] = arguments[o];
le("warn", e, a);
}
}
function d(e) {
{
for (var r = arguments.length, a = new Array(r > 1 ? r - 1 : 0), o = 1; o < r; o++)
a[o - 1] = arguments[o];
le("error", e, a);
}
}
function le(e, r, a) {
{
var o = B.ReactDebugCurrentFrame, u = o.getStackAddendum();
u !== "" && (r += "%s", a = a.concat([u]));
var p = a.map(function(l) {
return String(l);
});
p.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, p);
}
}
var Se = {};
function n(e, r) {
{
var a = e.constructor, o = a && (a.displayName || a.name) || "ReactClass", u = o + "." + r;
if (Se[u])
return;
d("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.", r, o), Se[u] = !0;
}
}
var s = {
/**
* Checks whether or not this composite component is mounted.
* @param {ReactClass} publicInstance The instance we want to test.
* @return {boolean} True if mounted, false otherwise.
* @protected
* @final
*/
isMounted: function(e) {
return !1;
},
/**
* Forces an update. This should only be invoked when it is known with
* certainty that we are **not** in a DOM transaction.
*
* You may want to call this when you know that some deeper aspect of the
* component's state has changed but `setState` was not called.
*
* This will not invoke `shouldComponentUpdate`, but it will invoke
* `componentWillUpdate` and `componentDidUpdate`.
*
* @param {ReactClass} publicInstance The instance that should rerender.
* @param {?function} callback Called after component is updated.
* @param {?string} callerName name of the calling function in the public API.
* @internal
*/
enqueueForceUpdate: function(e, r, a) {
n(e, "forceUpdate");
},
/**
* Replaces all of the state. Always use this or `setState` to mutate state.
* You should treat `this.state` as immutable.
*
* There is no guarantee that `this.state` will be immediately updated, so
* accessing `this.state` after calling this method may return the old value.
*
* @param {ReactClass} publicInstance The instance that should rerender.
* @param {object} completeState Next state.
* @param {?function} callback Called after component is updated.
* @param {?string} callerName name of the calling function in the public API.
* @internal
*/
enqueueReplaceState: function(e, r, a, o) {
n(e, "replaceState");
},
/**
* Sets a subset of the state. This only exists because _pendingState is
* internal. This provides a merging strategy that is not available to deep
* properties which is confusing. TODO: Expose pendingState or don't use it
* during the merge.
*
* @param {ReactClass} publicInstance The instance that should rerender.
* @param {object} partialState Next partial state to be merged with state.
* @param {?function} callback Called after component is updated.
* @param {?string} Name of the calling function in the public API.
* @internal
*/
enqueueSetState: function(e, r, a, o) {
n(e, "setState");
}
}, h = Object.assign, C = {};
Object.freeze(C);
function _(e, r, a) {
this.props = e, this.context = r, this.refs = C, this.updater = a || s;
}
_.prototype.isReactComponent = {}, _.prototype.setState = function(e, r) {
if (typeof e != "object" && typeof e != "function" && e != null)
throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
this.updater.enqueueSetState(this, e, r, "setState");
}, _.prototype.forceUpdate = function(e) {
this.updater.enqueueForceUpdate(this, e, "forceUpdate");
};
{
var P = {
isMounted: ["isMounted", "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],
replaceState: ["replaceState", "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]
}, j = function(e, r) {
Object.defineProperty(_.prototype, e, {
get: function() {
ue("%s(...) is deprecated in plain JavaScript React classes. %s", r[0], r[1]);
}
});
};
for (var T in P)
P.hasOwnProperty(T) && j(T, P[T]);
}
function w() {
}
w.prototype = _.prototype;
function U(e, r, a) {
this.props = e, this.context = r, this.refs = C, this.updater = a || s;
}
var me = U.prototype = new w();
me.constructor = U, h(me, _.prototype), me.isPureReactComponent = !0;
function yr() {
var e = {
current: null
};
return Object.seal(e), e;
}
var Je = Array.isArray;
function Fe(e) {
return Je(e);
}
function hr(e) {
{
var r = typeof Symbol == "function" && Symbol.toStringTag, a = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
return a;
}
}
function $e(e) {
try {
return Te(e), !1;
} catch {
return !0;
}
}
function Te(e) {
return "" + e;
}
function Oe(e) {
if ($e(e))
return d("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", hr(e)), Te(e);
}
function Xe(e, r, a) {
var o = e.displayName;
if (o)
return o;
var u = r.displayName || r.name || "";
return u !== "" ? a + "(" + u + ")" : a;
}
function Pe(e) {
return e.displayName || "Context";
}
function de(e) {
if (e == null)
return null;
if (typeof e.tag == "number" && d("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
return e.displayName || e.name || null;
if (typeof e == "string")
return e;
switch (e) {
case ee:
return "Fragment";
case ne:
return "Portal";
case K:
return "Profiler";
case H:
return "StrictMode";
case W:
return "Suspense";
case X:
return "SuspenseList";
}
if (typeof e == "object")
switch (e.$$typeof) {
case J:
var r = e;
return Pe(r) + ".Consumer";
case D:
var a = e;
return Pe(a._context) + ".Provider";
case I:
return Xe(e, e.render, "ForwardRef");
case k:
var o = e.displayName || null;
return o !== null ? o : de(e.type) || "Memo";
case fe: {
var u = e, p = u._payload, l = u._init;
try {
return de(l(p));
} catch {
return null;
}
}
}
return null;
}
var ke = Object.prototype.hasOwnProperty, Le = {
key: !0,
ref: !0,
__self: !0,
__source: !0
}, Qe, Ze, Ve;
Ve = {};
function Ye(e) {
if (ke.call(e, "ref")) {
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
if (r && r.isReactWarning)
return !1;
}
return e.ref !== void 0;
}
function ge(e) {
if (ke.call(e, "key")) {
var r = Object.getOwnPropertyDescriptor(e, "key").get;
if (r && r.isReactWarning)
return !1;
}
return e.key !== void 0;
}
function mr(e, r) {
var a = function() {
Qe || (Qe = !0, d("%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://reactjs.org/link/special-props)", r));
};
a.isReactWarning = !0, Object.defineProperty(e, "key", {
get: a,
configurable: !0
});
}
function er(e, r) {
var a = function() {
Ze || (Ze = !0, d("%s: `ref` 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://reactjs.org/link/special-props)", r));
};
a.isReactWarning = !0, Object.defineProperty(e, "ref", {
get: a,
configurable: !0
});
}
function rr(e) {
if (typeof e.ref == "string" && Q.current && e.__self && Q.current.stateNode !== e.__self) {
var r = de(Q.current.type);
Ve[r] || (d('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', r, e.ref), Ve[r] = !0);
}
}
var je = function(e, r, a, o, u, p, l) {
var y = {
// This tag allows us to uniquely identify this as a React Element
$$typeof: G,
// Built-in properties that belong on the element
type: e,
key: r,
ref: a,
props: l,
// Record the component responsible for creating this element.
_owner: p
};
return y._store = {}, Object.defineProperty(y._store, "validated", {
configurable: !1,
enumerable: !1,
writable: !0,
value: !1
}), Object.defineProperty(y, "_self", {
configurable: !1,
enumerable: !1,
writable: !1,
value: o
}), Object.defineProperty(y, "_source", {
configurable: !1,
enumerable: !1,
writable: !1,
value: u
}), Object.freeze && (Object.freeze(y.props), Object.freeze(y)), y;
};
function gr(e, r, a) {
var o, u = {}, p = null, l = null, y = null, E = null;
if (r != null) {
Ye(r) && (l = r.ref, rr(r)), ge(r) && (Oe(r.key), p = "" + r.key), y = r.__self === void 0 ? null : r.__self, E = r.__source === void 0 ? null : r.__source;
for (o in r)
ke.call(r, o) && !Le.hasOwnProperty(o) && (u[o] = r[o]);
}
var O = arguments.length - 2;
if (O === 1)
u.children = a;
else if (O > 1) {
for (var A = Array(O), x = 0; x < O; x++)
A[x] = arguments[x + 2];
Object.freeze && Object.freeze(A), u.children = A;
}
if (e && e.defaultProps) {
var $ = e.defaultProps;
for (o in $)
u[o] === void 0 && (u[o] = $[o]);
}
if (p || l) {
var M = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
p && mr(u, M), l && er(u, M);
}
return je(e, p, l, y, E, Q.current, u);
}
function _r(e, r) {
var a = je(e.type, r, e.ref, e._self, e._source, e._owner, e.props);
return a;
}
function br(e, r, a) {
if (e == null)
throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + e + ".");
var o, u = h({}, e.props), p = e.key, l = e.ref, y = e._self, E = e._source, O = e._owner;
if (r != null) {
Ye(r) && (l = r.ref, O = Q.current), ge(r) && (Oe(r.key), p = "" + r.key);
var A;
e.type && e.type.defaultProps && (A = e.type.defaultProps);
for (o in r)
ke.call(r, o) && !Le.hasOwnProperty(o) && (r[o] === void 0 && A !== void 0 ? u[o] = A[o] : u[o] = r[o]);
}
var x = arguments.length - 2;
if (x === 1)
u.children = a;
else if (x > 1) {
for (var $ = Array(x), M = 0; M < x; M++)
$[M] = arguments[M + 2];
u.children = $;
}
return je(e.type, p, l, y, E, O, u);
}
function _e(e) {
return typeof e == "object" && e !== null && e.$$typeof === G;
}
var tr = ".", Er = ":";
function Rr(e) {
var r = /[=:]/g, a = {
"=": "=0",
":": "=2"
}, o = e.replace(r, function(u) {
return a[u];
});
return "$" + o;
}
var Ne = !1, nr = /\/+/g;
function ye(e) {
return e.replace(nr, "$&/");
}
function Ae(e, r) {
return typeof e == "object" && e !== null && e.key != null ? (Oe(e.key), Rr("" + e.key)) : r.toString(36);
}
function be(e, r, a, o, u) {
var p = typeof e;
(p === "undefined" || p === "boolean") && (e = null);
var l = !1;
if (e === null)
l = !0;
else
switch (p) {
case "string":
case "number":
l = !0;
break;
case "object":
switch (e.$$typeof) {
case G:
case ne:
l = !0;
}
}
if (l) {
var y = e, E = u(y), O = o === "" ? tr + Ae(y, 0) : o;
if (Fe(E)) {
var A = "";
O != null && (A = ye(O) + "/"), be(E, r, A, "", function(Vt) {
return Vt;
});
} else
E != null && (_e(E) && (E.key && (!y || y.key !== E.key) && Oe(E.key), E = _r(
E,
// Keep both the (mapped) and old keys if they differ, just as
// traverseAllChildren used to do for objects as children
a + // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key
(E.key && (!y || y.key !== E.key) ? (
// $FlowFixMe Flow incorrectly thinks existing element's key can be a number
// eslint-disable-next-line react-internal/safe-string-coercion
ye("" + E.key) + "/"
) : "") + O
)), r.push(E));
return 1;
}
var x, $, M = 0, q = o === "" ? tr : o + Er;
if (Fe(e))
for (var vr = 0; vr < e.length; vr++)
x = e[vr], $ = q + Ae(x, vr), M += be(x, r, a, $, u);
else {
var $r = L(e);
if (typeof $r == "function") {
var it = e;
$r === it.entries && (Ne || ue("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), Ne = !0);
for (var $t = $r.call(it), ut, Lt = 0; !(ut = $t.next()).done; )
x = ut.value, $ = q + Ae(x, Lt++), M += be(x, r, a, $, u);
} else if (p === "object") {
var st = String(e);
throw new Error("Objects are not valid as a React child (found: " + (st === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : st) + "). If you meant to render a collection of children, use an array instead.");
}
}
return M;
}
function xe(e, r, a) {
if (e == null)
return e;
var o = [], u = 0;
return be(e, o, "", "", function(p) {
return r.call(a, p, u++);
}), o;
}
function Cr(e) {
var r = 0;
return xe(e, function() {
r++;
}), r;
}
function ar(e, r, a) {
xe(e, function() {
r.apply(this, arguments);
}, a);
}
function wr(e) {
return xe(e, function(r) {
return r;
}) || [];
}
function or(e) {
if (!_e(e))
throw new Error("React.Children.only expected to receive a single React element child.");
return e;
}
function ir(e) {
var r = {
$$typeof: J,
// As a workaround to support multiple concurrent renderers, we categorize
// some renderers as primary and others as secondary. We only expect
// there to be two concurrent renderers at most: React Native (primary) and
// Fabric (secondary); React DOM (primary) and React ART (secondary).
// Secondary renderers store their context values on separate fields.
_currentValue: e,
_currentValue2: e,
// Used to track how many concurrent renderers this context currently
// supports within in a single renderer. Such as parallel server rendering.
_threadCount: 0,
// These are circular
Provider: null,
Consumer: null,
// Add these to use same hidden class in VM as ServerContext
_defaultValue: null,
_globalName: null
};
r.Provider = {
$$typeof: D,
_context: r
};
var a = !1, o = !1, u = !1;
{
var p = {
$$typeof: J,
_context: r
};
Object.defineProperties(p, {
Provider: {
get: function() {
return o || (o = !0, d("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")), r.Provider;
},
set: function(l) {
r.Provider = l;
}
},
_currentValue: {
get: function() {
return r._currentValue;
},
set: function(l) {
r._currentValue = l;
}
},
_currentValue2: {
get: function() {
return r._currentValue2;
},
set: function(l) {
r._currentValue2 = l;
}
},
_threadCount: {
get: function() {
return r._threadCount;
},
set: function(l) {
r._threadCount = l;
}
},
Consumer: {
get: function() {
return a || (a = !0, d("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")), r.Consumer;
}
},
displayName: {
get: function() {
return r.displayName;
},
set: function(l) {
u || (ue("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.", l), u = !0);
}
}
}), r.Consumer = p;
}
return r._currentRenderer = null, r._currentRenderer2 = null, r;
}
var De = -1, Be = 0, ze = 1, Sr = 2;
function Tr(e) {
if (e._status === De) {
var r = e._result, a = r();
if (a.then(function(p) {
if (e._status === Be || e._status === De) {
var l = e;
l._status = ze, l._result = p;
}
}, function(p) {
if (e._status === Be || e._status === De) {
var l = e;
l._status = Sr, l._result = p;
}
}), e._status === De) {
var o = e;
o._status = Be, o._result = a;
}
}
if (e._status === ze) {
var u = e._result;
return u === void 0 && d(`lazy: Expected the result of a dynamic import() call. Instead received: %s
Your code should look like:
const MyComponent = lazy(() => import('./MyComponent'))
Did you accidentally put curly braces around the import?`, u), "default" in u || d(`lazy: Expected the result of a dynamic import() call. Instead received: %s
Your code should look like:
const MyComponent = lazy(() => import('./MyComponent'))`, u), u.default;
} else
throw e._result;
}
function Or(e) {
var r = {
// We use these fields to store the result.
_status: De,
_result: e
}, a = {
$$typeof: fe,
_payload: r,
_init: Tr
};
{
var o, u;
Object.defineProperties(a, {
defaultProps: {
configurable: !0,
get: function() {
return o;
},
set: function(p) {
d("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."), o = p, Object.defineProperty(a, "defaultProps", {
enumerable: !0
});
}
},
propTypes: {
configurable: !0,
get: function() {
return u;
},
set: function(p) {
d("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."), u = p, Object.defineProperty(a, "propTypes", {
enumerable: !0
});
}
}
});
}
return a;
}
function Pr(e) {
e != null && e.$$typeof === k ? d("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).") : typeof e != "function" ? d("forwardRef requires a render function but was given %s.", e === null ? "null" : typeof e) : e.length !== 0 && e.length !== 2 && d("forwardRef render functions accept exactly two parameters: props and ref. %s", e.length === 1 ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined."), e != null && (e.defaultProps != null || e.propTypes != null) && d("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");
var r = {
$$typeof: I,
render: e
};
{
var a;
Object.defineProperty(r, "displayName", {
enumerable: !1,
configurable: !0,
get: function() {
return a;
},
set: function(o) {
a = o, !e.name && !e.displayName && (e.displayName = o);
}
});
}
return r;
}
var t;
t = Symbol.for("react.module.reference");
function i(e) {
return !!(typeof e == "string" || typeof e == "function" || e === ee || e === K || re || e === H || e === W || e === X || Z || e === Ie || Ce || Ue || we || typeof e == "object" && e !== null && (e.$$typeof === fe || e.$$typeof === k || e.$$typeof === D || e.$$typeof === J || e.$$typeof === I || // This needs to include all possible module reference object
// types supported by any Flight configuration anywhere since
// we don't know which Flight build this will end up being used
// with.
e.$$typeof === t || e.getModuleId !== void 0));
}
function f(e, r) {
i(e) || d("memo: The first argument must be a component. Instead received: %s", e === null ? "null" : typeof e);
var a = {
$$typeof: k,
type: e,
compare: r === void 0 ? null : r
};
{
var o;
Object.defineProperty(a, "displayName", {
enumerable: !1,
configurable: !0,
get: function() {
return o;
},
set: function(u) {
o = u, !e.name && !e.displayName && (e.displayName = u);
}
});
}
return a;
}
function c() {
var e = he.current;
return e === null && d(`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:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`), e;
}
function R(e) {
var r = c();
if (e._context !== void 0) {
var a = e._context;
a.Consumer === e ? d("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?") : a.Provider === e && d("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?");
}
return r.useContext(e);
}
function S(e) {
var r = c();
return r.useState(e);
}
function b(e, r, a) {
var o = c();
return o.useReducer(e, r, a);
}
function m(e) {
var r = c();
return r.useRef(e);
}
function z(e, r) {
var a = c();
return a.useEffect(e, r);
}
function F(e, r) {
var a = c();
return a.useInsertionEffect(e, r);
}
function V(e, r) {
var a = c();
return a.useLayoutEffect(e, r);
}
function te(e, r) {
var a = c();
return a.useCallback(e, r);
}
function Ee(e, r) {
var a = c();
return a.useMemo(e, r);
}
function ur(e, r, a) {
var o = c();
return o.useImperativeHandle(e, r, a);
}
function se(e, r) {
{
var a = c();
return a.useDebugValue(e, r);
}
}
function pt() {
var e = c();
return e.useTransition();
}
function vt(e) {
var r = c();
return r.useDeferredValue(e);
}
function yt() {
var e = c();
return e.useId();
}
function ht(e, r, a) {
var o = c();
return o.useSyncExternalStore(e, r, a);
}
var qe = 0, Mr, Wr, Ur, Yr, Br, zr, qr;
function Gr() {
}
Gr.__reactDisabledLog = !0;
function mt() {
{
if (qe === 0) {
Mr = console.log, Wr = console.info, Ur = console.warn, Yr = console.error, Br = console.group, zr = console.groupCollapsed, qr = console.groupEnd;
var e = {
configurable: !0,
enumerable: !0,
value: Gr,
writable: !0
};
Object.defineProperties(console, {
info: e,
log: e,
warn: e,
error: e,
group: e,
groupCollapsed: e,
groupEnd: e
});
}
qe++;
}
}
function gt() {
{
if (qe--, qe === 0) {
var e = {
configurable: !0,
enumerable: !0,
writable: !0
};
Object.defineProperties(console, {
log: h({}, e, {
value: Mr
}),
info: h({}, e, {
value: Wr
}),
warn: h({}, e, {
value: Ur
}),
error: h({}, e, {
value: Yr
}),
group: h({}, e, {
value: Br
}),
groupCollapsed: h({}, e, {
value: zr
}),
groupEnd: h({}, e, {
value: qr
})
});
}
qe < 0 && d("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
}
}
var kr = B.ReactCurrentDispatcher, jr;
function sr(e, r, a) {
{
if (jr === void 0)
try {
throw Error();
} catch (u) {
var o = u.stack.trim().match(/\n( *(at )?)/);
jr = o && o[1] || "";
}
return `
` + jr + e;
}
}
var Ar = !1, fr;
{
var _t = typeof WeakMap == "function" ? WeakMap : Map;
fr = new _t();
}
function Hr(e, r) {
if (!e || Ar)
return "";
{
var a = fr.get(e);
if (a !== void 0)
return a;
}
var o;
Ar = !0;
var u = Error.prepareStackTrace;
Error.prepareStackTrace = void 0;
var p;
p = kr.current, kr.current = null, mt();
try {
if (r) {
var l = function() {
throw Error();
};
if (Object.defineProperty(l.prototype, "props", {
set: function() {
throw Error();
}
}), typeof Reflect == "object" && Reflect.construct) {
try {
Reflect.construct(l, []);
} catch (q) {
o = q;
}
Reflect.construct(e, [], l);
} else {
try {
l.call();
} catch (q) {
o = q;
}
e.call(l.prototype);
}
} else {
try {
throw Error();
} catch (q) {
o = q;
}
e();
}
} catch (q) {
if (q && o && typeof q.stack == "string") {
for (var y = q.stack.split(`
`), E = o.stack.split(`
`), O = y.length - 1, A = E.length - 1; O >= 1 && A >= 0 && y[O] !== E[A]; )
A--;
for (; O >= 1 && A >= 0; O--, A--)
if (y[O] !== E[A]) {
if (O !== 1 || A !== 1)
do
if (O--, A--, A < 0 || y[O] !== E[A]) {
var x = `
` + y[O].replace(" at new ", " at ");
return e.displayName && x.includes("<anonymous>") && (x = x.replace("<anonymous>", e.displayName)), typeof e == "function" && fr.set(e, x), x;
}
while (O >= 1 && A >= 0);
break;
}
}
} finally {
Ar = !1, kr.current = p, gt(), Error.prepareStackTrace = u;
}
var $ = e ? e.displayName || e.name : "", M = $ ? sr($) : "";
return typeof e == "function" && fr.set(e, M), M;
}
function bt(e, r, a) {
return Hr(e, !1);
}
function Et(e) {
var r = e.prototype;
return !!(r && r.isReactComponent);
}
function cr(e, r, a) {
if (e == null)
return "";
if (typeof e == "function")
return Hr(e, Et(e));
if (typeof e == "string")
return sr(e);
switch (e) {
case W:
return sr("Suspense");
case X:
return sr("SuspenseList");
}
if (typeof e == "object")
switch (e.$$typeof) {
case I:
return bt(e.render);
case k:
return cr(e.type, r, a);
case fe: {
var o = e, u = o._payload, p = o._init;
try {
return cr(p(u), r, a);
} catch {
}
}
}
return "";
}
var Kr = {}, Jr = B.ReactDebugCurrentFrame;
function lr(e) {
if (e) {
var r = e._owner, a = cr(e.type, e._source, r ? r.type : null);
Jr.setExtraStackFrame(a);
} else
Jr.setExtraStackFrame(null);
}
function Rt(e, r, a, o, u) {
{
var p = Function.call.bind(ke);
for (var l in e)
if (p(e, l)) {
var y = void 0;
try {
if (typeof e[l] != "function") {
var E = Error((o || "React class") + ": " + a + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
throw E.name = "Invariant Violation", E;
}
y = e[l](r, l, o, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
} catch (O) {
y = O;
}
y && !(y instanceof Error) && (lr(u), d("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", o || "React class", a, l, typeof y), lr(null)), y instanceof Error && !(y.message in Kr) && (Kr[y.message] = !0, lr(u), d("Failed %s type: %s", a, y.message), lr(null));
}
}
}
function Me(e) {
if (e) {
var r = e._owner, a = cr(e.type, e._source, r ? r.type : null);
Re(a);
} else
Re(null);
}
var xr;
xr = !1;
function Xr() {
if (Q.current) {
var e = de(Q.current.type);
if (e)
return `
Check the render method of \`` + e + "`.";
}
return "";
}
function Ct(e) {
if (e !== void 0) {
var r = e.fileName.replace(/^.*[\\\/]/, ""), a = e.lineNumber;
return `
Check your code at ` + r + ":" + a + ".";
}
return "";
}
function wt(e) {
return e != null ? Ct(e.__source) : "";
}
var Qr = {};
function St(e) {
var r = Xr();
if (!r) {
var a = typeof e == "string" ? e : e.displayName || e.name;
a && (r = `
Check the top-level render call using <` + a + ">.");
}
return r;
}
function Zr(e, r) {
if (!(!e._store || e._store.validated || e.key != null)) {
e._store.validated = !0;
var a = St(r);
if (!Qr[a]) {
Qr[a] = !0;
var o = "";
e && e._owner && e._owner !== Q.current && (o = " It was passed a child from " + de(e._owner.type) + "."), Me(e), d('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, o), Me(null);
}
}
}
function et(e, r) {
if (typeof e == "object") {
if (Fe(e))
for (var a = 0; a < e.length; a++) {
var o = e[a];
_e(o) && Zr(o, r);
}
else if (_e(e))
e._store && (e._store.validated = !0);
else if (e) {
var u = L(e);
if (typeof u == "function" && u !== e.entries)
for (var p = u.call(e), l; !(l = p.next()).done; )
_e(l.value) && Zr(l.value, r);
}
}
}
function rt(e) {
{
var r = e.type;
if (r == null || typeof r == "string")
return;
var a;
if (typeof r == "function")
a = r.propTypes;
else if (typeof r == "object" && (r.$$typeof === I || // Note: Memo only checks outer props here.
// Inner props are checked in the reconciler.
r.$$typeof === k))
a = r.propTypes;
else
return;
if (a) {
var o = de(r);
Rt(a, e.props, "prop", o, e);
} else if (r.PropTypes !== void 0 && !xr) {
xr = !0;
var u = de(r);
d("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", u || "Unknown");
}
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && d("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
}
}
function Tt(e) {
{
for (var r = Object.keys(e.props), a = 0; a < r.length; a++) {
var o = r[a];
if (o !== "children" && o !== "key") {
Me(e), d("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), Me(null);
break;
}
}
e.ref !== null && (Me(e), d("Invalid attribute `ref` supplied to `React.Fragment`."), Me(null));
}
}
function tt(e, r, a) {
var o = i(e);
if (!o) {
var u = "";
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (u += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
var p = wt(r);
p ? u += p : u += Xr();
var l;
e === null ? l = "null" : Fe(e) ? l = "array" : e !== void 0 && e.$$typeof === G ? (l = "<" + (de(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : l = typeof e, d("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", l, u);
}
var y = gr.apply(this, arguments);
if (y == null)
return y;
if (o)
for (var E = 2; E < arguments.length; E++)
et(arguments[E], e);
return e === ee ? Tt(y) : rt(y), y;
}
var nt = !1;
function Ot(e) {
var r = t