UNPKG

react-material-symbols-react19

Version:

A copy of react-material-symbols updated to support React 19.

1,460 lines (1,457 loc) 53.8 kB
var ye = { exports: {} }, ie = {}; /** * @license React * react-jsx-runtime.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var Me; function xe() { if (Me) return ie; Me = 1; var b = Symbol.for("react.transitional.element"), i = Symbol.for("react.fragment"); function M(P, O, R) { var A = null; if (R !== void 0 && (A = "" + R), O.key !== void 0 && (A = "" + O.key), "key" in O) { R = {}; for (var j in O) j !== "key" && (R[j] = O[j]); } else R = O; return O = R.ref, { $$typeof: b, type: P, key: A, ref: O !== void 0 ? O : null, props: R }; } return ie.Fragment = i, ie.jsx = M, ie.jsxs = M, ie; } var ce = {}, ve = { exports: {} }, l = {}; /** * @license React * react.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var Ye; function Ge() { if (Ye) return l; Ye = 1; var b = Symbol.for("react.transitional.element"), i = Symbol.for("react.portal"), M = Symbol.for("react.fragment"), P = Symbol.for("react.strict_mode"), O = Symbol.for("react.profiler"), R = Symbol.for("react.consumer"), A = Symbol.for("react.context"), j = Symbol.for("react.forward_ref"), q = Symbol.for("react.suspense"), G = Symbol.for("react.memo"), N = Symbol.for("react.lazy"), Y = Symbol.for("react.activity"), U = Symbol.iterator; function w(t) { return t === null || typeof t != "object" ? null : (t = U && t[U] || t["@@iterator"], typeof t == "function" ? t : null); } var B = { isMounted: function() { return !1; }, enqueueForceUpdate: function() { }, enqueueReplaceState: function() { }, enqueueSetState: function() { } }, ee = Object.assign, V = {}; function H(t, n, s) { this.props = t, this.context = n, this.refs = V, this.updater = s || B; } H.prototype.isReactComponent = {}, H.prototype.setState = function(t, n) { if (typeof t != "object" && typeof t != "function" && t != null) throw Error( "takes an object of state variables to update or a function which returns an object of state variables." ); this.updater.enqueueSetState(this, t, n, "setState"); }, H.prototype.forceUpdate = function(t) { this.updater.enqueueForceUpdate(this, t, "forceUpdate"); }; function F() { } F.prototype = H.prototype; function te(t, n, s) { this.props = t, this.context = n, this.refs = V, this.updater = s || B; } var Q = te.prototype = new F(); Q.constructor = te, ee(Q, H.prototype), Q.isPureReactComponent = !0; var L = Array.isArray; function re() { } var v = { H: null, A: null, T: null, S: null }, ue = Object.prototype.hasOwnProperty; function k(t, n, s) { var a = s.ref; return { $$typeof: b, type: t, key: n, ref: a !== void 0 ? a : null, props: s }; } function X(t, n) { return k(t.type, n, t.props); } function ne(t) { return typeof t == "object" && t !== null && t.$$typeof === b; } function h(t) { var n = { "=": "=0", ":": "=2" }; return "$" + t.replace(/[=:]/g, function(s) { return n[s]; }); } var K = /\/+/g; function W(t, n) { return typeof t == "object" && t !== null && t.key != null ? h("" + t.key) : n.toString(36); } function D(t) { switch (t.status) { case "fulfilled": return t.value; case "rejected": throw t.reason; default: switch (typeof t.status == "string" ? t.then(re, re) : (t.status = "pending", t.then( function(n) { t.status === "pending" && (t.status = "fulfilled", t.value = n); }, function(n) { t.status === "pending" && (t.status = "rejected", t.reason = n); } )), t.status) { case "fulfilled": return t.value; case "rejected": throw t.reason; } } throw t; } function C(t, n, s, a, d) { var y = typeof t; (y === "undefined" || y === "boolean") && (t = null); var f = !1; if (t === null) f = !0; else switch (y) { case "bigint": case "string": case "number": f = !0; break; case "object": switch (t.$$typeof) { case b: case i: f = !0; break; case N: return f = t._init, C( f(t._payload), n, s, a, d ); } } if (f) return d = d(t), f = a === "" ? "." + W(t, 0) : a, L(d) ? (s = "", f != null && (s = f.replace(K, "$&/") + "/"), C(d, n, s, "", function(x) { return x; })) : d != null && (ne(d) && (d = X( d, s + (d.key == null || t && t.key === d.key ? "" : ("" + d.key).replace( K, "$&/" ) + "/") + f )), n.push(d)), 1; f = 0; var S = a === "" ? "." : a + ":"; if (L(t)) for (var T = 0; T < t.length; T++) a = t[T], y = S + W(a, T), f += C( a, n, s, y, d ); else if (T = w(t), typeof T == "function") for (t = T.call(t), T = 0; !(a = t.next()).done; ) a = a.value, y = S + W(a, T++), f += C( a, n, s, y, d ); else if (y === "object") { if (typeof t.then == "function") return C( D(t), n, s, a, d ); throw n = String(t), Error( "Objects are not valid as a React child (found: " + (n === "[object Object]" ? "object with keys {" + Object.keys(t).join(", ") + "}" : n) + "). If you meant to render a collection of children, use an array instead." ); } return f; } function I(t, n, s) { if (t == null) return t; var a = [], d = 0; return C(t, a, "", "", function(y) { return n.call(s, y, d++); }), a; } function Z(t) { if (t._status === -1) { var n = t._result; n = n(), n.then( function(s) { (t._status === 0 || t._status === -1) && (t._status = 1, t._result = s); }, function(s) { (t._status === 0 || t._status === -1) && (t._status = 2, t._result = s); } ), t._status === -1 && (t._status = 0, t._result = n); } if (t._status === 1) return t._result.default; throw t._result; } var z = typeof reportError == "function" ? reportError : function(t) { if (typeof window == "object" && typeof window.ErrorEvent == "function") { var n = new window.ErrorEvent("error", { bubbles: !0, cancelable: !0, message: typeof t == "object" && t !== null && typeof t.message == "string" ? String(t.message) : String(t), error: t }); if (!window.dispatchEvent(n)) return; } else if (typeof process == "object" && typeof process.emit == "function") { process.emit("uncaughtException", t); return; } console.error(t); }, oe = { map: I, forEach: function(t, n, s) { I( t, function() { n.apply(this, arguments); }, s ); }, count: function(t) { var n = 0; return I(t, function() { n++; }), n; }, toArray: function(t) { return I(t, function(n) { return n; }) || []; }, only: function(t) { if (!ne(t)) throw Error( "React.Children.only expected to receive a single React element child." ); return t; } }; return l.Activity = Y, l.Children = oe, l.Component = H, l.Fragment = M, l.Profiler = O, l.PureComponent = te, l.StrictMode = P, l.Suspense = q, l.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = v, l.__COMPILER_RUNTIME = { __proto__: null, c: function(t) { return v.H.useMemoCache(t); } }, l.cache = function(t) { return function() { return t.apply(null, arguments); }; }, l.cacheSignal = function() { return null; }, l.cloneElement = function(t, n, s) { if (t == null) throw Error( "The argument must be a React element, but you passed " + t + "." ); var a = ee({}, t.props), d = t.key; if (n != null) for (y in n.key !== void 0 && (d = "" + n.key), n) !ue.call(n, y) || y === "key" || y === "__self" || y === "__source" || y === "ref" && n.ref === void 0 || (a[y] = n[y]); var y = arguments.length - 2; if (y === 1) a.children = s; else if (1 < y) { for (var f = Array(y), S = 0; S < y; S++) f[S] = arguments[S + 2]; a.children = f; } return k(t.type, d, a); }, l.createContext = function(t) { return t = { $$typeof: A, _currentValue: t, _currentValue2: t, _threadCount: 0, Provider: null, Consumer: null }, t.Provider = t, t.Consumer = { $$typeof: R, _context: t }, t; }, l.createElement = function(t, n, s) { var a, d = {}, y = null; if (n != null) for (a in n.key !== void 0 && (y = "" + n.key), n) ue.call(n, a) && a !== "key" && a !== "__self" && a !== "__source" && (d[a] = n[a]); var f = arguments.length - 2; if (f === 1) d.children = s; else if (1 < f) { for (var S = Array(f), T = 0; T < f; T++) S[T] = arguments[T + 2]; d.children = S; } if (t && t.defaultProps) for (a in f = t.defaultProps, f) d[a] === void 0 && (d[a] = f[a]); return k(t, y, d); }, l.createRef = function() { return { current: null }; }, l.forwardRef = function(t) { return { $$typeof: j, render: t }; }, l.isValidElement = ne, l.lazy = function(t) { return { $$typeof: N, _payload: { _status: -1, _result: t }, _init: Z }; }, l.memo = function(t, n) { return { $$typeof: G, type: t, compare: n === void 0 ? null : n }; }, l.startTransition = function(t) { var n = v.T, s = {}; v.T = s; try { var a = t(), d = v.S; d !== null && d(s, a), typeof a == "object" && a !== null && typeof a.then == "function" && a.then(re, z); } catch (y) { z(y); } finally { n !== null && s.types !== null && (n.types = s.types), v.T = n; } }, l.unstable_useCacheRefresh = function() { return v.H.useCacheRefresh(); }, l.use = function(t) { return v.H.use(t); }, l.useActionState = function(t, n, s) { return v.H.useActionState(t, n, s); }, l.useCallback = function(t, n) { return v.H.useCallback(t, n); }, l.useContext = function(t) { return v.H.useContext(t); }, l.useDebugValue = function() { }, l.useDeferredValue = function(t, n) { return v.H.useDeferredValue(t, n); }, l.useEffect = function(t, n) { return v.H.useEffect(t, n); }, l.useEffectEvent = function(t) { return v.H.useEffectEvent(t); }, l.useId = function() { return v.H.useId(); }, l.useImperativeHandle = function(t, n, s) { return v.H.useImperativeHandle(t, n, s); }, l.useInsertionEffect = function(t, n) { return v.H.useInsertionEffect(t, n); }, l.useLayoutEffect = function(t, n) { return v.H.useLayoutEffect(t, n); }, l.useMemo = function(t, n) { return v.H.useMemo(t, n); }, l.useOptimistic = function(t, n) { return v.H.useOptimistic(t, n); }, l.useReducer = function(t, n, s) { return v.H.useReducer(t, n, s); }, l.useRef = function(t) { return v.H.useRef(t); }, l.useState = function(t) { return v.H.useState(t); }, l.useSyncExternalStore = function(t, n, s) { return v.H.useSyncExternalStore( t, n, s ); }, l.useTransition = function() { return v.H.useTransition(); }, l.version = "19.2.0", l; } var fe = { exports: {} }; /** * @license React * react.development.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ fe.exports; var Le; function Be() { return Le || (Le = 1, function(b, i) { process.env.NODE_ENV !== "production" && function() { function M(e, r) { Object.defineProperty(R.prototype, e, { get: function() { console.warn( "%s(...) is deprecated in plain JavaScript React classes. %s", r[0], r[1] ); } }); } function P(e) { return e === null || typeof e != "object" ? null : (e = ge && e[ge] || e["@@iterator"], typeof e == "function" ? e : null); } function O(e, r) { e = (e = e.constructor) && (e.displayName || e.name) || "ReactClass"; var o = e + "." + r; Re[o] || (console.error( "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, e ), Re[o] = !0); } function R(e, r, o) { this.props = e, this.context = r, this.refs = me, this.updater = o || Te; } function A() { } function j(e, r, o) { this.props = e, this.context = r, this.refs = me, this.updater = o || Te; } function q() { } function G(e) { return "" + e; } function N(e) { try { G(e); var r = !1; } catch { r = !0; } if (r) { r = console; var o = r.error, u = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object"; return o.call( r, "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.", u ), G(e); } } function Y(e) { if (e == null) return null; if (typeof e == "function") return e.$$typeof === Ue ? null : e.displayName || e.name || null; if (typeof e == "string") return e; switch (e) { case t: return "Fragment"; case s: return "Profiler"; case n: return "StrictMode"; case f: return "Suspense"; case S: return "SuspenseList"; case he: return "Activity"; } if (typeof e == "object") switch (typeof e.tag == "number" && console.error( "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue." ), e.$$typeof) { case oe: return "Portal"; case d: return e.displayName || "Context"; case a: return (e._context.displayName || "Context") + ".Consumer"; case y: var r = e.render; return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e; case T: return r = e.displayName || null, r !== null ? r : Y(e.type) || "Memo"; case x: r = e._payload, e = e._init; try { return Y(e(r)); } catch { } } return null; } function U(e) { if (e === t) return "<>"; if (typeof e == "object" && e !== null && e.$$typeof === x) return "<...>"; try { var r = Y(e); return r ? "<" + r + ">" : "<...>"; } catch { return "<...>"; } } function w() { var e = _.A; return e === null ? null : e.getOwner(); } function B() { return Error("react-stack-top-frame"); } function ee(e) { if (le.call(e, "key")) { var r = Object.getOwnPropertyDescriptor(e, "key").get; if (r && r.isReactWarning) return !1; } return e.key !== void 0; } function V(e, r) { function o() { Se || (Se = !0, console.error( "%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)", r )); } o.isReactWarning = !0, Object.defineProperty(e, "key", { get: o, configurable: !0 }); } function H() { var e = Y(this.type); return ke[e] || (ke[e] = !0, console.error( "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." )), e = this.props.ref, e !== void 0 ? e : null; } function F(e, r, o, u, c, m) { var p = o.ref; return e = { $$typeof: z, type: e, key: r, props: o, _owner: u }, (p !== void 0 ? p : null) !== null ? Object.defineProperty(e, "ref", { enumerable: !1, get: H }) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", { configurable: !1, enumerable: !1, writable: !0, value: 0 }), Object.defineProperty(e, "_debugInfo", { configurable: !1, enumerable: !1, writable: !0, value: null }), Object.defineProperty(e, "_debugStack", { configurable: !1, enumerable: !1, writable: !0, value: c }), Object.defineProperty(e, "_debugTask", { configurable: !1, enumerable: !1, writable: !0, value: m }), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e; } function te(e, r) { return r = F( e.type, r, e.props, e._owner, e._debugStack, e._debugTask ), e._store && (r._store.validated = e._store.validated), r; } function Q(e) { L(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof === x && (e._payload.status === "fulfilled" ? L(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1)); } function L(e) { return typeof e == "object" && e !== null && e.$$typeof === z; } function re(e) { var r = { "=": "=0", ":": "=2" }; return "$" + e.replace(/[=:]/g, function(o) { return r[o]; }); } function v(e, r) { return typeof e == "object" && e !== null && e.key != null ? (N(e.key), re("" + e.key)) : r.toString(36); } function ue(e) { switch (e.status) { case "fulfilled": return e.value; case "rejected": throw e.reason; default: switch (typeof e.status == "string" ? e.then(q, q) : (e.status = "pending", e.then( function(r) { e.status === "pending" && (e.status = "fulfilled", e.value = r); }, function(r) { e.status === "pending" && (e.status = "rejected", e.reason = r); } )), e.status) { case "fulfilled": return e.value; case "rejected": throw e.reason; } } throw e; } function k(e, r, o, u, c) { var m = typeof e; (m === "undefined" || m === "boolean") && (e = null); var p = !1; if (e === null) p = !0; else switch (m) { case "bigint": case "string": case "number": p = !0; break; case "object": switch (e.$$typeof) { case z: case oe: p = !0; break; case x: return p = e._init, k( p(e._payload), r, o, u, c ); } } if (p) { p = e, c = c(p); var g = u === "" ? "." + v(p, 0) : u; return be(c) ? (o = "", g != null && (o = g.replace(je, "$&/") + "/"), k(c, r, o, "", function(J) { return J; })) : c != null && (L(c) && (c.key != null && (p && p.key === c.key || N(c.key)), o = te( c, o + (c.key == null || p && p.key === c.key ? "" : ("" + c.key).replace( je, "$&/" ) + "/") + g ), u !== "" && p != null && L(p) && p.key == null && p._store && !p._store.validated && (o._store.validated = 2), c = o), r.push(c)), 1; } if (p = 0, g = u === "" ? "." : u + ":", be(e)) for (var E = 0; E < e.length; E++) u = e[E], m = g + v(u, E), p += k( u, r, o, m, c ); else if (E = P(e), typeof E == "function") for (E === e.entries && (Ce || console.warn( "Using Maps as children is not supported. Use an array of keyed ReactElements instead." ), Ce = !0), e = E.call(e), E = 0; !(u = e.next()).done; ) u = u.value, m = g + v(u, E++), p += k( u, r, o, m, c ); else if (m === "object") { if (typeof e.then == "function") return k( ue(e), r, o, u, c ); throw r = String(e), Error( "Objects are not valid as a React child (found: " + (r === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : r) + "). If you meant to render a collection of children, use an array instead." ); } return p; } function X(e, r, o) { if (e == null) return e; var u = [], c = 0; return k(e, u, "", "", function(m) { return r.call(o, m, c++); }), u; } function ne(e) { if (e._status === -1) { var r = e._ioInfo; r != null && (r.start = r.end = performance.now()), r = e._result; var o = r(); if (o.then( function(c) { if (e._status === 0 || e._status === -1) { e._status = 1, e._result = c; var m = e._ioInfo; m != null && (m.end = performance.now()), o.status === void 0 && (o.status = "fulfilled", o.value = c); } }, function(c) { if (e._status === 0 || e._status === -1) { e._status = 2, e._result = c; var m = e._ioInfo; m != null && (m.end = performance.now()), o.status === void 0 && (o.status = "rejected", o.reason = c); } } ), r = e._ioInfo, r != null) { r.value = o; var u = o.displayName; typeof u == "string" && (r.name = u); } e._status === -1 && (e._status = 0, e._result = o); } if (e._status === 1) return r = e._result, r === void 0 && console.error( `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?`, r ), "default" in r || console.error( `lazy: Expected the result of a dynamic import() call. Instead received: %s Your code should look like: const MyComponent = lazy(() => import('./MyComponent'))`, r ), r.default; throw e._result; } function h() { var e = _.H; return e === null && console.error( `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://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.` ), e; } function K() { _.asyncTransitions--; } function W(e) { if (pe === null) try { var r = ("require" + Math.random()).slice(0, 7); pe = (b && b[r]).call( b, "timers" ).setImmediate; } catch { pe = function(u) { Ne === !1 && (Ne = !0, typeof MessageChannel > "u" && console.error( "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." )); var c = new MessageChannel(); c.port1.onmessage = u, c.port2.postMessage(void 0); }; } return pe(e); } function D(e) { return 1 < e.length && typeof AggregateError == "function" ? new AggregateError(e) : e[0]; } function C(e, r) { r !== de - 1 && console.error( "You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. " ), de = r; } function I(e, r, o) { var u = _.actQueue; if (u !== null) if (u.length !== 0) try { Z(u), W(function() { return I(e, r, o); }); return; } catch (c) { _.thrownErrors.push(c); } else _.actQueue = null; 0 < _.thrownErrors.length ? (u = D(_.thrownErrors), _.thrownErrors.length = 0, o(u)) : r(e); } function Z(e) { if (!Ee) { Ee = !0; var r = 0; try { for (; r < e.length; r++) { var o = e[r]; do { _.didUsePromise = !1; var u = o(!1); if (u !== null) { if (_.didUsePromise) { e[r] = o, e.splice(0, r); return; } o = u; } else break; } while (1); } e.length = 0; } catch (c) { e.splice(0, r + 1), _.thrownErrors.push(c); } finally { Ee = !1; } } } typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()); var z = Symbol.for("react.transitional.element"), oe = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), a = Symbol.for("react.consumer"), d = Symbol.for("react.context"), y = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), S = Symbol.for("react.suspense_list"), T = Symbol.for("react.memo"), x = Symbol.for("react.lazy"), he = Symbol.for("react.activity"), ge = Symbol.iterator, Re = {}, Te = { isMounted: function() { return !1; }, enqueueForceUpdate: function(e) { O(e, "forceUpdate"); }, enqueueReplaceState: function(e) { O(e, "replaceState"); }, enqueueSetState: function(e) { O(e, "setState"); } }, we = Object.assign, me = {}; Object.freeze(me), R.prototype.isReactComponent = {}, R.prototype.setState = function(e, r) { if (typeof e != "object" && typeof e != "function" && e != null) throw Error( "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"); }, R.prototype.forceUpdate = function(e) { this.updater.enqueueForceUpdate(this, e, "forceUpdate"); }; var $ = { 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)." ] }; for (ae in $) $.hasOwnProperty(ae) && M(ae, $[ae]); A.prototype = R.prototype, $ = j.prototype = new A(), $.constructor = j, we($, R.prototype), $.isPureReactComponent = !0; var be = Array.isArray, Ue = Symbol.for("react.client.reference"), _ = { H: null, A: null, T: null, S: null, actQueue: null, asyncTransitions: 0, isBatchingLegacy: !1, didScheduleLegacyUpdate: !1, didUsePromise: !1, thrownErrors: [], getCurrentStack: null, recentlyCreatedOwnerStacks: 0 }, le = Object.prototype.hasOwnProperty, Oe = console.createTask ? console.createTask : function() { return null; }; $ = { react_stack_bottom_frame: function(e) { return e(); } }; var Se, Ae, ke = {}, He = $.react_stack_bottom_frame.bind( $, B )(), We = Oe(U(B)), Ce = !1, je = /\/+/g, Pe = typeof reportError == "function" ? reportError : function(e) { if (typeof window == "object" && typeof window.ErrorEvent == "function") { var r = new window.ErrorEvent("error", { bubbles: !0, cancelable: !0, message: typeof e == "object" && e !== null && typeof e.message == "string" ? String(e.message) : String(e), error: e }); if (!window.dispatchEvent(r)) return; } else if (typeof process == "object" && typeof process.emit == "function") { process.emit("uncaughtException", e); return; } console.error(e); }, Ne = !1, pe = null, de = 0, _e = !1, Ee = !1, $e = typeof queueMicrotask == "function" ? function(e) { queueMicrotask(function() { return queueMicrotask(e); }); } : W; $ = Object.freeze({ __proto__: null, c: function(e) { return h().useMemoCache(e); } }); var ae = { map: X, forEach: function(e, r, o) { X( e, function() { r.apply(this, arguments); }, o ); }, count: function(e) { var r = 0; return X(e, function() { r++; }), r; }, toArray: function(e) { return X(e, function(r) { return r; }) || []; }, only: function(e) { if (!L(e)) throw Error( "React.Children.only expected to receive a single React element child." ); return e; } }; i.Activity = he, i.Children = ae, i.Component = R, i.Fragment = t, i.Profiler = s, i.PureComponent = j, i.StrictMode = n, i.Suspense = f, i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = _, i.__COMPILER_RUNTIME = $, i.act = function(e) { var r = _.actQueue, o = de; de++; var u = _.actQueue = r !== null ? r : [], c = !1; try { var m = e(); } catch (E) { _.thrownErrors.push(E); } if (0 < _.thrownErrors.length) throw C(r, o), e = D(_.thrownErrors), _.thrownErrors.length = 0, e; if (m !== null && typeof m == "object" && typeof m.then == "function") { var p = m; return $e(function() { c || _e || (_e = !0, console.error( "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 () => ...);" )); }), { then: function(E, J) { c = !0, p.then( function(se) { if (C(r, o), o === 0) { try { Z(u), W(function() { return I( se, E, J ); }); } catch (ze) { _.thrownErrors.push(ze); } if (0 < _.thrownErrors.length) { var qe = D( _.thrownErrors ); _.thrownErrors.length = 0, J(qe); } } else E(se); }, function(se) { C(r, o), 0 < _.thrownErrors.length && (se = D( _.thrownErrors ), _.thrownErrors.length = 0), J(se); } ); } }; } var g = m; if (C(r, o), o === 0 && (Z(u), u.length !== 0 && $e(function() { c || _e || (_e = !0, console.error( "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(() => ...)" )); }), _.actQueue = null), 0 < _.thrownErrors.length) throw e = D(_.thrownErrors), _.thrownErrors.length = 0, e; return { then: function(E, J) { c = !0, o === 0 ? (_.actQueue = u, W(function() { return I( g, E, J ); })) : E(g); } }; }, i.cache = function(e) { return function() { return e.apply(null, arguments); }; }, i.cacheSignal = function() { return null; }, i.captureOwnerStack = function() { var e = _.getCurrentStack; return e === null ? null : e(); }, i.cloneElement = function(e, r, o) { if (e == null) throw Error( "The argument must be a React element, but you passed " + e + "." ); var u = we({}, e.props), c = e.key, m = e._owner; if (r != null) { var p; e: { if (le.call(r, "ref") && (p = Object.getOwnPropertyDescriptor( r, "ref" ).get) && p.isReactWarning) { p = !1; break e; } p = r.ref !== void 0; } p && (m = w()), ee(r) && (N(r.key), c = "" + r.key); for (g in r) !le.call(r, g) || g === "key" || g === "__self" || g === "__source" || g === "ref" && r.ref === void 0 || (u[g] = r[g]); } var g = arguments.length - 2; if (g === 1) u.children = o; else if (1 < g) { p = Array(g); for (var E = 0; E < g; E++) p[E] = arguments[E + 2]; u.children = p; } for (u = F( e.type, c, u, m, e._debugStack, e._debugTask ), c = 2; c < arguments.length; c++) Q(arguments[c]); return u; }, i.createContext = function(e) { return e = { $$typeof: d, _currentValue: e, _currentValue2: e, _threadCount: 0, Provider: null, Consumer: null }, e.Provider = e, e.Consumer = { $$typeof: a, _context: e }, e._currentRenderer = null, e._currentRenderer2 = null, e; }, i.createElement = function(e, r, o) { for (var u = 2; u < arguments.length; u++) Q(arguments[u]); u = {}; var c = null; if (r != null) for (E in Ae || !("__self" in r) || "key" in r || (Ae = !0, console.warn( "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" )), ee(r) && (N(r.key), c = "" + r.key), r) le.call(r, E) && E !== "key" && E !== "__self" && E !== "__source" && (u[E] = r[E]); var m = arguments.length - 2; if (m === 1) u.children = o; else if (1 < m) { for (var p = Array(m), g = 0; g < m; g++) p[g] = arguments[g + 2]; Object.freeze && Object.freeze(p), u.children = p; } if (e && e.defaultProps) for (E in m = e.defaultProps, m) u[E] === void 0 && (u[E] = m[E]); c && V( u, typeof e == "function" ? e.displayName || e.name || "Unknown" : e ); var E = 1e4 > _.recentlyCreatedOwnerStacks++; return F( e, c, u, w(), E ? Error("react-stack-top-frame") : He, E ? Oe(U(e)) : We ); }, i.createRef = function() { var e = { current: null }; return Object.seal(e), e; }, i.forwardRef = function(e) { e != null && e.$$typeof === T ? console.error( "forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))." ) : typeof e != "function" ? console.error( "forwardRef requires a render function but was given %s.", e === null ? "null" : typeof e ) : e.length !== 0 && e.length !== 2 && console.error( "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 && console.error( "forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?" ); var r = { $$typeof: y, render: e }, o; return Object.defineProperty(r, "displayName", { enumerable: !1, configurable: !0, get: function() { return o; }, set: function(u) { o = u, e.name || e.displayName || (Object.defineProperty(e, "name", { value: u }), e.displayName = u); } }), r; }, i.isValidElement = L, i.lazy = function(e) { e = { _status: -1, _result: e }; var r = { $$typeof: x, _payload: e, _init: ne }, o = { name: "lazy", start: -1, end: -1, value: null, owner: null, debugStack: Error("react-stack-top-frame"), debugTask: console.createTask ? console.createTask("lazy()") : null }; return e._ioInfo = o, r._debugInfo = [{ awaited: o }], r; }, i.memo = function(e, r) { e == null && console.error( "memo: The first argument must be a component. Instead received: %s", e === null ? "null" : typeof e ), r = { $$typeof: T, type: e, compare: r === void 0 ? null : r }; var o; return Object.defineProperty(r, "displayName", { enumerable: !1, configurable: !0, get: function() { return o; }, set: function(u) { o = u, e.name || e.displayName || (Object.defineProperty(e, "name", { value: u }), e.displayName = u); } }), r; }, i.startTransition = function(e) { var r = _.T, o = {}; o._updatedFibers = /* @__PURE__ */ new Set(), _.T = o; try { var u = e(), c = _.S; c !== null && c(o, u), typeof u == "object" && u !== null && typeof u.then == "function" && (_.asyncTransitions++, u.then(K, K), u.then(q, Pe)); } catch (m) { Pe(m); } finally { r === null && o._updatedFibers && (e = o._updatedFibers.size, o._updatedFibers.clear(), 10 < e && console.warn( "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." )), r !== null && o.types !== null && (r.types !== null && r.types !== o.types && console.error( "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." ), r.types = o.types), _.T = r; } }, i.unstable_useCacheRefresh = function() { return h().useCacheRefresh(); }, i.use = function(e) { return h().use(e); }, i.useActionState = function(e, r, o) { return h().useActionState( e, r, o ); }, i.useCallback = function(e, r) { return h().useCallback(e, r); }, i.useContext = function(e) { var r = h(); return e.$$typeof === a && console.error( "Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?" ), r.useContext(e); }, i.useDebugValue = function(e, r) { return h().useDebugValue(e, r); }, i.useDeferredValue = function(e, r) { return h().useDeferredValue(e, r); }, i.useEffect = function(e, r) { return e == null && console.warn( "React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?" ), h().useEffect(e, r); }, i.useEffectEvent = function(e) { return h().useEffectEvent(e); }, i.useId = function() { return h().useId(); }, i.useImperativeHandle = function(e, r, o) { return h().useImperativeHandle(e, r, o); }, i.useInsertionEffect = function(e, r) { return e == null && console.warn( "React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?" ), h().useInsertionEffect(e, r); }, i.useLayoutEffect = function(e, r) { return e == null && console.warn( "React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?" ), h().useLayoutEffect(e, r); }, i.useMemo = function(e, r) { return h().useMemo(e, r); }, i.useOptimistic = function(e, r) { return h().useOptimistic(e, r); }, i.useReducer = function(e, r, o) { return h().useReducer(e, r, o); }, i.useRef = function(e) { return h().useRef(e); }, i.useState = function(e) { return h().useState(e); }, i.useSyncExternalStore = function(e, r, o) { return h().useSyncExternalStore( e, r, o ); }, i.useTransition = function() { return h().useTransition(); }, i.version = "19.2.0", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error()); }(); }(fe, fe.exports)), fe.exports; } process.env.NODE_ENV === "production" ? ve.exports = Ge() : ve.exports = Be(); var Ie = ve.exports; /** * @license React * react-jsx-runtime.development.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var De; function Ve() { return De || (De = 1, process.env.NODE_ENV !== "production" && function() { function b(t) { if (t == null) return null; if (typeof t == "function") return t.$$typeof === ne ? null : t.displayName || t.name || null; if (typeof t == "string") return t; switch (t) { case V: return "Fragment"; case F: return "Profiler"; case H: return "StrictMode"; case re: return "Suspense"; case v: return "SuspenseList"; case X: return "Activity"; } if (typeof t == "object") switch (typeof t.tag == "number" && console.error( "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue." ), t.$$typeof) { case ee: return "Portal"; case Q: return t.displayName || "Context"; case te: return (t._context.displayName || "Context") + ".Consumer"; case L: var n = t.render; return t = t.displayName, t || (t = n.displayName || n.name || "", t = t !== "" ? "ForwardRef(" + t + ")" : "ForwardRef"), t; case ue: return n = t.displayName || null, n !== null ? n : b(t.type) || "Memo"; case k: n = t._payload, t = t._init; try { return b(t(n)); } catch { } } return null; } function i(t) { return "" + t; } function M(t) { try { i(t); var n = !1; } catch { n = !0; } if (n) { n = console; var s = n.error, a = typeof Symbol == "function" && Symbol.toStringTag && t[Symbol.toStringTag] || t.constructor.name || "Object"; return s.call( n, "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.", a ), i(t); } } function P(t) { if (t === V) return "<>"; if (typeof t == "object" && t !== null && t.$$typeof === k) return "<...>"; try { var n = b(t); return n ? "<" + n + ">" : "<...>"; } catch { return "<...>"; } } function O() { var t = h.A; return t === null ? null : t.getOwner(); } function R() { return Error("react-stack-top-frame"); } function A(t) { if (K.call(t, "key")) { var n = Object.getOwnPropertyDescriptor(t, "key").get; if (n && n.isReactWarning) return !1; } return t.key !== void 0; } function j(t, n) { function s() { C || (C = !0, console.error( "%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)", n )); } s.isReactWarning = !0, Object.defineProperty(t, "key", { get: s, configurable: !0 }); } function q() { var t = b(this.type); return I[t] || (I[t] = !0, console.error( "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." )), t = this.props.ref, t !== void 0 ? t : null; } function G(t, n, s, a, d, y) { var f = s.ref; return t = { $$typeof: B, type: t, key: n, props: s, _owner: a }, (f !== void 0 ? f : null) !== null ? Object.defineProperty(t, "ref", { enumerable: !1, get: q }) : Object.defineProperty(t, "ref", { enumerable: !1, value: null }), t._store = {}, Object.defineProperty(t._store, "validated", { configurable: !1, enumerable: !1, writable: !0, value: 0 }), Object.defineProperty(t, "_debugInfo", { configurable: !1, enumerable: !1, writable: !0, value: null }), Object.defineProperty(t, "_debugStack", { configurable: !1, enumerable: !1, writable: !0, value: d }), Object.defineProperty(t, "_debugTask", { configurable: !1, enumerable: !1, writable: !0, value: y }), Object.freeze && (Object.freeze(t.props), Object.freeze(t)), t; } function N(t, n, s, a, d, y) { var f = n.children; if (f !== void 0) if (a) if (W(f)) { for (a = 0; a < f.length; a++) Y(f[a]); Object.freeze && Object.freeze(f); } else console.error( "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead." ); else Y(f); if (K.call(n, "key")) { f = b(t); var S = Object.keys(n).filter(function(x) { return x !== "key"; }); a = 0 < S.length ? "{key: someKey, " + S.join(": .