UNPKG

greyhound-ui

Version:

GreyhoundUI - A modern Web Component library built with React

1,544 lines (1,541 loc) 834 kB
import rg from "react"; import hb from "react-dom"; function yS(j) { return j && j.__esModule && Object.prototype.hasOwnProperty.call(j, "default") ? j.default : j; } var Xv = { exports: {} }, $m = {}; /** * @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 nb; function mS() { if (nb) return $m; nb = 1; var j = Symbol.for("react.transitional.element"), zt = Symbol.for("react.fragment"); function ct(B, $e, Yt) { var bt = null; if (Yt !== void 0 && (bt = "" + Yt), $e.key !== void 0 && (bt = "" + $e.key), "key" in $e) { Yt = {}; for (var Xe in $e) Xe !== "key" && (Yt[Xe] = $e[Xe]); } else Yt = $e; return $e = Yt.ref, { $$typeof: j, type: B, key: bt, ref: $e !== void 0 ? $e : null, props: Yt }; } return $m.Fragment = zt, $m.jsx = ct, $m.jsxs = ct, $m; } var Wm = {}; /** * @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 ub; function vS() { return ub || (ub = 1, process.env.NODE_ENV !== "production" && function() { function j(T) { if (T == null) return null; if (typeof T == "function") return T.$$typeof === w ? null : T.displayName || T.name || null; if (typeof T == "string") return T; switch (T) { case Wt: return "Fragment"; case zl: return "Portal"; case sl: return "Profiler"; case Sn: return "StrictMode"; case jl: return "Suspense"; case rl: return "SuspenseList"; } 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 Te: return (T.displayName || "Context") + ".Provider"; case ae: return (T._context.displayName || "Context") + ".Consumer"; case Ft: var F = T.render; return T = T.displayName, T || (T = F.displayName || F.name || "", T = T !== "" ? "ForwardRef(" + T + ")" : "ForwardRef"), T; case k: return F = T.displayName || null, F !== null ? F : j(T.type) || "Memo"; case It: F = T._payload, T = T._init; try { return j(T(F)); } catch { } } return null; } function zt(T) { return "" + T; } function ct(T) { try { zt(T); var F = !1; } catch { F = !0; } if (F) { F = console; var I = F.error, se = typeof Symbol == "function" && Symbol.toStringTag && T[Symbol.toStringTag] || T.constructor.name || "Object"; return I.call( F, "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.", se ), zt(T); } } function B() { } function $e() { if (ce === 0) { tt = console.log, Ba = console.info, ka = console.warn, Dl = console.error, ft = console.group, Ve = console.groupCollapsed, dl = console.groupEnd; var T = { configurable: !0, enumerable: !0, value: B, writable: !0 }; Object.defineProperties(console, { info: T, log: T, warn: T, error: T, group: T, groupCollapsed: T, groupEnd: T }); } ce++; } function Yt() { if (ce--, ce === 0) { var T = { configurable: !0, enumerable: !0, writable: !0 }; Object.defineProperties(console, { log: Re({}, T, { value: tt }), info: Re({}, T, { value: Ba }), warn: Re({}, T, { value: ka }), error: Re({}, T, { value: Dl }), group: Re({}, T, { value: ft }), groupCollapsed: Re({}, T, { value: Ve }), groupEnd: Re({}, T, { value: dl }) }); } 0 > ce && console.error( "disabledDepth fell below zero. This is a bug in React. Please file an issue." ); } function bt(T) { if (He === void 0) try { throw Error(); } catch (I) { var F = I.stack.trim().match(/\n( *(at )?)/); He = F && F[1] || "", oa = -1 < I.stack.indexOf(` at`) ? " (<anonymous>)" : -1 < I.stack.indexOf("@") ? "@unknown:0:0" : ""; } return ` ` + He + T + oa; } function Xe(T, F) { if (!T || $a) return ""; var I = Pu.get(T); if (I !== void 0) return I; $a = !0, I = Error.prepareStackTrace, Error.prepareStackTrace = void 0; var se = null; se = ne.H, ne.H = null, $e(); try { var Pt = { DetermineComponentFrameRoot: function() { try { if (F) { var Ol = function() { throw Error(); }; if (Object.defineProperty(Ol.prototype, "props", { set: function() { throw Error(); } }), typeof Reflect == "object" && Reflect.construct) { try { Reflect.construct(Ol, []); } catch (Wa) { var St = Wa; } Reflect.construct(T, [], Ol); } else { try { Ol.call(); } catch (Wa) { St = Wa; } T.call(Ol.prototype); } } else { try { throw Error(); } catch (Wa) { St = Wa; } (Ol = T()) && typeof Ol.catch == "function" && Ol.catch(function() { }); } } catch (Wa) { if (Wa && St && typeof Wa.stack == "string") return [Wa.stack, St.stack]; } return [null, null]; } }; Pt.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot"; var We = Object.getOwnPropertyDescriptor( Pt.DetermineComponentFrameRoot, "name" ); We && We.configurable && Object.defineProperty( Pt.DetermineComponentFrameRoot, "name", { value: "DetermineComponentFrameRoot" } ); var fe = Pt.DetermineComponentFrameRoot(), hl = fe[0], qa = fe[1]; if (hl && qa) { var el = hl.split(` `), En = qa.split(` `); for (fe = We = 0; We < el.length && !el[We].includes( "DetermineComponentFrameRoot" ); ) We++; for (; fe < En.length && !En[fe].includes( "DetermineComponentFrameRoot" ); ) fe++; if (We === el.length || fe === En.length) for (We = el.length - 1, fe = En.length - 1; 1 <= We && 0 <= fe && el[We] !== En[fe]; ) fe--; for (; 1 <= We && 0 <= fe; We--, fe--) if (el[We] !== En[fe]) { if (We !== 1 || fe !== 1) do if (We--, fe--, 0 > fe || el[We] !== En[fe]) { var ti = ` ` + el[We].replace( " at new ", " at " ); return T.displayName && ti.includes("<anonymous>") && (ti = ti.replace("<anonymous>", T.displayName)), typeof T == "function" && Pu.set(T, ti), ti; } while (1 <= We && 0 <= fe); break; } } } finally { $a = !1, ne.H = se, Yt(), Error.prepareStackTrace = I; } return el = (el = T ? T.displayName || T.name : "") ? bt(el) : "", typeof T == "function" && Pu.set(T, el), el; } function L(T) { if (T == null) return ""; if (typeof T == "function") { var F = T.prototype; return Xe( T, !(!F || !F.isReactComponent) ); } if (typeof T == "string") return bt(T); switch (T) { case jl: return bt("Suspense"); case rl: return bt("SuspenseList"); } if (typeof T == "object") switch (T.$$typeof) { case Ft: return T = Xe(T.render, !1), T; case k: return L(T.type); case It: F = T._payload, T = T._init; try { return L(T(F)); } catch { } } return ""; } function Dt() { var T = ne.A; return T === null ? null : T.getOwner(); } function Ja(T) { if (ue.call(T, "key")) { var F = Object.getOwnPropertyDescriptor(T, "key").get; if (F && F.isReactWarning) return !1; } return T.key !== void 0; } function Nt(T, F) { function I() { _e || (_e = !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)", F )); } I.isReactWarning = !0, Object.defineProperty(T, "key", { get: I, configurable: !0 }); } function Ge() { var T = j(this.type); return ki[T] || (ki[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 $t(T, F, I, se, Pt, We) { return I = We.ref, T = { $$typeof: le, type: T, key: F, props: We, _owner: Pt }, (I !== void 0 ? I : null) !== null ? Object.defineProperty(T, "ref", { enumerable: !1, get: Ge }) : 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.freeze && (Object.freeze(T.props), Object.freeze(T)), T; } function et(T, F, I, se, Pt, We) { if (typeof T == "string" || typeof T == "function" || T === Wt || T === sl || T === Sn || T === jl || T === rl || T === C || typeof T == "object" && T !== null && (T.$$typeof === It || T.$$typeof === k || T.$$typeof === Te || T.$$typeof === ae || T.$$typeof === Ft || T.$$typeof === Ee || T.getModuleId !== void 0)) { var fe = F.children; if (fe !== void 0) if (se) if (yt(fe)) { for (se = 0; se < fe.length; se++) Ot(fe[se], T); Object.freeze && Object.freeze(fe); } 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 Ot(fe, T); } else fe = "", (T === void 0 || typeof T == "object" && T !== null && Object.keys(T).length === 0) && (fe += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."), T === null ? se = "null" : yt(T) ? se = "array" : T !== void 0 && T.$$typeof === le ? (se = "<" + (j(T.type) || "Unknown") + " />", fe = " Did you accidentally export a JSX literal instead of a component?") : se = typeof T, console.error( "React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", se, fe ); if (ue.call(F, "key")) { fe = j(T); var hl = Object.keys(F).filter(function(el) { return el !== "key"; }); se = 0 < hl.length ? "{key: someKey, " + hl.join(": ..., ") + ": ...}" : "{key: someKey}", $i[fe + se] || (hl = 0 < hl.length ? "{" + hl.join(": ..., ") + ": ...}" : "{}", console.error( `A props object containing a "key" prop is being spread into JSX: let props = %s; <%s {...props} /> React keys must be passed directly to JSX without using spread: let props = %s; <%s key={someKey} {...props} />`, se, fe, hl, fe ), $i[fe + se] = !0); } if (fe = null, I !== void 0 && (ct(I), fe = "" + I), Ja(F) && (ct(F.key), fe = "" + F.key), "key" in F) { I = {}; for (var qa in F) qa !== "key" && (I[qa] = F[qa]); } else I = F; return fe && Nt( I, typeof T == "function" ? T.displayName || T.name || "Unknown" : T ), $t(T, fe, We, Pt, Dt(), I); } function Ot(T, F) { if (typeof T == "object" && T && T.$$typeof !== ei) { if (yt(T)) for (var I = 0; I < T.length; I++) { var se = T[I]; Wl(se) && Ze(se, F); } else if (Wl(T)) T._store && (T._store.validated = 1); else if (T === null || typeof T != "object" ? I = null : (I = Z && T[Z] || T["@@iterator"], I = typeof I == "function" ? I : null), typeof I == "function" && I !== T.entries && (I = I.call(T), I !== T)) for (; !(T = I.next()).done; ) Wl(T.value) && Ze(T.value, F); } } function Wl(T) { return typeof T == "object" && T !== null && T.$$typeof === le; } function Ze(T, F) { if (T._store && !T._store.validated && T.key == null && (T._store.validated = 1, F = oe(F), !Tn[F])) { Tn[F] = !0; var I = ""; T && T._owner != null && T._owner !== Dt() && (I = null, typeof T._owner.tag == "number" ? I = j(T._owner.type) : typeof T._owner.name == "string" && (I = T._owner.name), I = " It was passed a child from " + I + "."); var se = ne.getCurrentStack; ne.getCurrentStack = function() { var Pt = L(T.type); return se && (Pt += se() || ""), Pt; }, console.error( 'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.', F, I ), ne.getCurrentStack = se; } } function oe(T) { var F = "", I = Dt(); return I && (I = j(I.type)) && (F = ` Check the render method of \`` + I + "`."), F || (T = j(T)) && (F = ` Check the top-level render call using <` + T + ">."), F; } var _l = rg, le = Symbol.for("react.transitional.element"), zl = Symbol.for("react.portal"), Wt = Symbol.for("react.fragment"), Sn = Symbol.for("react.strict_mode"), sl = Symbol.for("react.profiler"), ae = Symbol.for("react.consumer"), Te = Symbol.for("react.context"), Ft = Symbol.for("react.forward_ref"), jl = Symbol.for("react.suspense"), rl = Symbol.for("react.suspense_list"), k = Symbol.for("react.memo"), It = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), Z = Symbol.iterator, w = Symbol.for("react.client.reference"), ne = _l.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, ue = Object.prototype.hasOwnProperty, Re = Object.assign, Ee = Symbol.for("react.client.reference"), yt = Array.isArray, ce = 0, tt, Ba, ka, Dl, ft, Ve, dl; B.__reactDisabledLog = !0; var He, oa, $a = !1, Pu = new (typeof WeakMap == "function" ? WeakMap : Map)(), ei = Symbol.for("react.client.reference"), _e, ki = {}, $i = {}, Tn = {}; Wm.Fragment = Wt, Wm.jsx = function(T, F, I, se, Pt) { return et(T, F, I, !1, se, Pt); }, Wm.jsxs = function(T, F, I, se, Pt) { return et(T, F, I, !0, se, Pt); }; }()), Wm; } var ib; function pS() { return ib || (ib = 1, process.env.NODE_ENV === "production" ? Xv.exports = mS() : Xv.exports = vS()), Xv.exports; } var Pm = pS(), _v = { exports: {} }, Fm = {}, jv = { exports: {} }, og = {}; /** * @license React * scheduler.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 cb; function gS() { return cb || (cb = 1, function(j) { function zt(C, Z) { var w = C.length; C.push(Z); e: for (; 0 < w; ) { var ne = w - 1 >>> 1, ue = C[ne]; if (0 < $e(ue, Z)) C[ne] = Z, C[w] = ue, w = ne; else break e; } } function ct(C) { return C.length === 0 ? null : C[0]; } function B(C) { if (C.length === 0) return null; var Z = C[0], w = C.pop(); if (w !== Z) { C[0] = w; e: for (var ne = 0, ue = C.length, Re = ue >>> 1; ne < Re; ) { var Ee = 2 * (ne + 1) - 1, yt = C[Ee], ce = Ee + 1, tt = C[ce]; if (0 > $e(yt, w)) ce < ue && 0 > $e(tt, yt) ? (C[ne] = tt, C[ce] = w, ne = ce) : (C[ne] = yt, C[Ee] = w, ne = Ee); else if (ce < ue && 0 > $e(tt, w)) C[ne] = tt, C[ce] = w, ne = ce; else break e; } } return Z; } function $e(C, Z) { var w = C.sortIndex - Z.sortIndex; return w !== 0 ? w : C.id - Z.id; } if (j.unstable_now = void 0, typeof performance == "object" && typeof performance.now == "function") { var Yt = performance; j.unstable_now = function() { return Yt.now(); }; } else { var bt = Date, Xe = bt.now(); j.unstable_now = function() { return bt.now() - Xe; }; } var L = [], Dt = [], Ja = 1, Nt = null, Ge = 3, $t = !1, et = !1, Ot = !1, Wl = typeof setTimeout == "function" ? setTimeout : null, Ze = typeof clearTimeout == "function" ? clearTimeout : null, oe = typeof setImmediate < "u" ? setImmediate : null; function _l(C) { for (var Z = ct(Dt); Z !== null; ) { if (Z.callback === null) B(Dt); else if (Z.startTime <= C) B(Dt), Z.sortIndex = Z.expirationTime, zt(L, Z); else break; Z = ct(Dt); } } function le(C) { if (Ot = !1, _l(C), !et) if (ct(L) !== null) et = !0, k(); else { var Z = ct(Dt); Z !== null && It(le, Z.startTime - C); } } var zl = !1, Wt = -1, Sn = 5, sl = -1; function ae() { return !(j.unstable_now() - sl < Sn); } function Te() { if (zl) { var C = j.unstable_now(); sl = C; var Z = !0; try { e: { et = !1, Ot && (Ot = !1, Ze(Wt), Wt = -1), $t = !0; var w = Ge; try { t: { for (_l(C), Nt = ct(L); Nt !== null && !(Nt.expirationTime > C && ae()); ) { var ne = Nt.callback; if (typeof ne == "function") { Nt.callback = null, Ge = Nt.priorityLevel; var ue = ne( Nt.expirationTime <= C ); if (C = j.unstable_now(), typeof ue == "function") { Nt.callback = ue, _l(C), Z = !0; break t; } Nt === ct(L) && B(L), _l(C); } else B(L); Nt = ct(L); } if (Nt !== null) Z = !0; else { var Re = ct(Dt); Re !== null && It( le, Re.startTime - C ), Z = !1; } } break e; } finally { Nt = null, Ge = w, $t = !1; } Z = void 0; } } finally { Z ? Ft() : zl = !1; } } } var Ft; if (typeof oe == "function") Ft = function() { oe(Te); }; else if (typeof MessageChannel < "u") { var jl = new MessageChannel(), rl = jl.port2; jl.port1.onmessage = Te, Ft = function() { rl.postMessage(null); }; } else Ft = function() { Wl(Te, 0); }; function k() { zl || (zl = !0, Ft()); } function It(C, Z) { Wt = Wl(function() { C(j.unstable_now()); }, Z); } j.unstable_IdlePriority = 5, j.unstable_ImmediatePriority = 1, j.unstable_LowPriority = 4, j.unstable_NormalPriority = 3, j.unstable_Profiling = null, j.unstable_UserBlockingPriority = 2, j.unstable_cancelCallback = function(C) { C.callback = null; }, j.unstable_continueExecution = function() { et || $t || (et = !0, k()); }, j.unstable_forceFrameRate = function(C) { 0 > C || 125 < C ? console.error( "forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported" ) : Sn = 0 < C ? Math.floor(1e3 / C) : 5; }, j.unstable_getCurrentPriorityLevel = function() { return Ge; }, j.unstable_getFirstCallbackNode = function() { return ct(L); }, j.unstable_next = function(C) { switch (Ge) { case 1: case 2: case 3: var Z = 3; break; default: Z = Ge; } var w = Ge; Ge = Z; try { return C(); } finally { Ge = w; } }, j.unstable_pauseExecution = function() { }, j.unstable_requestPaint = function() { }, j.unstable_runWithPriority = function(C, Z) { switch (C) { case 1: case 2: case 3: case 4: case 5: break; default: C = 3; } var w = Ge; Ge = C; try { return Z(); } finally { Ge = w; } }, j.unstable_scheduleCallback = function(C, Z, w) { var ne = j.unstable_now(); switch (typeof w == "object" && w !== null ? (w = w.delay, w = typeof w == "number" && 0 < w ? ne + w : ne) : w = ne, C) { case 1: var ue = -1; break; case 2: ue = 250; break; case 5: ue = 1073741823; break; case 4: ue = 1e4; break; default: ue = 5e3; } return ue = w + ue, C = { id: Ja++, callback: Z, priorityLevel: C, startTime: w, expirationTime: ue, sortIndex: -1 }, w > ne ? (C.sortIndex = w, zt(Dt, C), ct(L) === null && C === ct(Dt) && (Ot ? (Ze(Wt), Wt = -1) : Ot = !0, It(le, w - ne))) : (C.sortIndex = ue, zt(L, C), et || $t || (et = !0, k())), C; }, j.unstable_shouldYield = ae, j.unstable_wrapCallback = function(C) { var Z = Ge; return function() { var w = Ge; Ge = Z; try { return C.apply(this, arguments); } finally { Ge = w; } }; }; }(og)), og; } var sg = {}; /** * @license React * scheduler.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 fb; function bS() { return fb || (fb = 1, function(j) { process.env.NODE_ENV !== "production" && function() { function zt() { if (ae) { var C = j.unstable_now(); jl = C; var Z = !0; try { e: { le = !1, zl && (zl = !1, Sn(Te), Te = -1), _l = !0; var w = oe; try { t: { for (bt(C), Ze = B(et); Ze !== null && !(Ze.expirationTime > C && L()); ) { var ne = Ze.callback; if (typeof ne == "function") { Ze.callback = null, oe = Ze.priorityLevel; var ue = ne( Ze.expirationTime <= C ); if (C = j.unstable_now(), typeof ue == "function") { Ze.callback = ue, bt(C), Z = !0; break t; } Ze === B(et) && $e(et), bt(C); } else $e(et); Ze = B(et); } if (Ze !== null) Z = !0; else { var Re = B(Ot); Re !== null && Ja( Xe, Re.startTime - C ), Z = !1; } } break e; } finally { Ze = null, oe = w, _l = !1; } Z = void 0; } } finally { Z ? rl() : ae = !1; } } } function ct(C, Z) { var w = C.length; C.push(Z); e: for (; 0 < w; ) { var ne = w - 1 >>> 1, ue = C[ne]; if (0 < Yt(ue, Z)) C[ne] = Z, C[w] = ue, w = ne; else break e; } } function B(C) { return C.length === 0 ? null : C[0]; } function $e(C) { if (C.length === 0) return null; var Z = C[0], w = C.pop(); if (w !== Z) { C[0] = w; e: for (var ne = 0, ue = C.length, Re = ue >>> 1; ne < Re; ) { var Ee = 2 * (ne + 1) - 1, yt = C[Ee], ce = Ee + 1, tt = C[ce]; if (0 > Yt(yt, w)) ce < ue && 0 > Yt(tt, yt) ? (C[ne] = tt, C[ce] = w, ne = ce) : (C[ne] = yt, C[Ee] = w, ne = Ee); else if (ce < ue && 0 > Yt(tt, w)) C[ne] = tt, C[ce] = w, ne = ce; else break e; } } return Z; } function Yt(C, Z) { var w = C.sortIndex - Z.sortIndex; return w !== 0 ? w : C.id - Z.id; } function bt(C) { for (var Z = B(Ot); Z !== null; ) { if (Z.callback === null) $e(Ot); else if (Z.startTime <= C) $e(Ot), Z.sortIndex = Z.expirationTime, ct(et, Z); else break; Z = B(Ot); } } function Xe(C) { if (zl = !1, bt(C), !le) if (B(et) !== null) le = !0, Dt(); else { var Z = B(Ot); Z !== null && Ja( Xe, Z.startTime - C ); } } function L() { return !(j.unstable_now() - jl < Ft); } function Dt() { ae || (ae = !0, rl()); } function Ja(C, Z) { Te = Wt(function() { C(j.unstable_now()); }, Z); } if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()), j.unstable_now = void 0, typeof performance == "object" && typeof performance.now == "function") { var Nt = performance; j.unstable_now = function() { return Nt.now(); }; } else { var Ge = Date, $t = Ge.now(); j.unstable_now = function() { return Ge.now() - $t; }; } var et = [], Ot = [], Wl = 1, Ze = null, oe = 3, _l = !1, le = !1, zl = !1, Wt = typeof setTimeout == "function" ? setTimeout : null, Sn = typeof clearTimeout == "function" ? clearTimeout : null, sl = typeof setImmediate < "u" ? setImmediate : null, ae = !1, Te = -1, Ft = 5, jl = -1; if (typeof sl == "function") var rl = function() { sl(zt); }; else if (typeof MessageChannel < "u") { var k = new MessageChannel(), It = k.port2; k.port1.onmessage = zt, rl = function() { It.postMessage(null); }; } else rl = function() { Wt(zt, 0); }; j.unstable_IdlePriority = 5, j.unstable_ImmediatePriority = 1, j.unstable_LowPriority = 4, j.unstable_NormalPriority = 3, j.unstable_Profiling = null, j.unstable_UserBlockingPriority = 2, j.unstable_cancelCallback = function(C) { C.callback = null; }, j.unstable_continueExecution = function() { le || _l || (le = !0, Dt()); }, j.unstable_forceFrameRate = function(C) { 0 > C || 125 < C ? console.error( "forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported" ) : Ft = 0 < C ? Math.floor(1e3 / C) : 5; }, j.unstable_getCurrentPriorityLevel = function() { return oe; }, j.unstable_getFirstCallbackNode = function() { return B(et); }, j.unstable_next = function(C) { switch (oe) { case 1: case 2: case 3: var Z = 3; break; default: Z = oe; } var w = oe; oe = Z; try { return C(); } finally { oe = w; } }, j.unstable_pauseExecution = function() { }, j.unstable_requestPaint = function() { }, j.unstable_runWithPriority = function(C, Z) { switch (C) { case 1: case 2: case 3: case 4: case 5: break; default: C = 3; } var w = oe; oe = C; try { return Z(); } finally { oe = w; } }, j.unstable_scheduleCallback = function(C, Z, w) { var ne = j.unstable_now(); switch (typeof w == "object" && w !== null ? (w = w.delay, w = typeof w == "number" && 0 < w ? ne + w : ne) : w = ne, C) { case 1: var ue = -1; break; case 2: ue = 250; break; case 5: ue = 1073741823; break; case 4: ue = 1e4; break; default: ue = 5e3; } return ue = w + ue, C = { id: Wl++, callback: Z, priorityLevel: C, startTime: w, expirationTime: ue, sortIndex: -1 }, w > ne ? (C.sortIndex = w, ct(Ot, C), B(et) === null && C === B(Ot) && (zl ? (Sn(Te), Te = -1) : zl = !0, Ja(Xe, w - ne))) : (C.sortIndex = ue, ct(et, C), le || _l || (le = !0, Dt())), C; }, j.unstable_shouldYield = L, j.unstable_wrapCallback = function(C) { var Z = oe; return function() { var w = oe; oe = Z; try { return C.apply(this, arguments); } finally { oe = w; } }; }, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error()); }(); }(sg)), sg; } var ob; function yb() { return ob || (ob = 1, process.env.NODE_ENV === "production" ? jv.exports = gS() : jv.exports = bS()), jv.exports; } /** * @license React * react-dom-client.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 sb; function SS() { if (sb) return Fm; sb = 1; var j = yb(), zt = rg, ct = hb; function B(l) { var n = "https://react.dev/errors/" + l; if (1 < arguments.length) { n += "?args[]=" + encodeURIComponent(arguments[1]); for (var u = 2; u < arguments.length; u++) n += "&args[]=" + encodeURIComponent(arguments[u]); } return "Minified React error #" + l + "; visit " + n + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."; } function $e(l) { return !(!l || l.nodeType !== 1 && l.nodeType !== 9 && l.nodeType !== 11); } var Yt = Symbol.for("react.element"), bt = Symbol.for("react.transitional.element"), Xe = Symbol.for("react.portal"), L = Symbol.for("react.fragment"), Dt = Symbol.for("react.strict_mode"), Ja = Symbol.for("react.profiler"), Nt = Symbol.for("react.provider"), Ge = Symbol.for("react.consumer"), $t = Symbol.for("react.context"), et = Symbol.for("react.forward_ref"), Ot = Symbol.for("react.suspense"), Wl = Symbol.for("react.suspense_list"), Ze = Symbol.for("react.memo"), oe = Symbol.for("react.lazy"), _l = Symbol.for("react.offscreen"), le = Symbol.for("react.memo_cache_sentinel"), zl = Symbol.iterator; function Wt(l) { return l === null || typeof l != "object" ? null : (l = zl && l[zl] || l["@@iterator"], typeof l == "function" ? l : null); } var Sn = Symbol.for("react.client.reference"); function sl(l) { if (l == null) return null; if (typeof l == "function") return l.$$typeof === Sn ? null : l.displayName || l.name || null; if (typeof l == "string") return l; switch (l) { case L: return "Fragment"; case Xe: return "Portal"; case Ja: return "Profiler"; case Dt: return "StrictMode"; case Ot: return "Suspense"; case Wl: return "SuspenseList"; } if (typeof l == "object") switch (l.$$typeof) { case $t: return (l.displayName || "Context") + ".Provider"; case Ge: return (l._context.displayName || "Context") + ".Consumer"; case et: var n = l.render; return l = l.displayName, l || (l = n.displayName || n.name || "", l = l !== "" ? "ForwardRef(" + l + ")" : "ForwardRef"), l; case Ze: return n = l.displayName || null, n !== null ? n : sl(l.type) || "Memo"; case oe: n = l._payload, l = l._init; try { return sl(l(n)); } catch { } } return null; } var ae = zt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, Te = Object.assign, Ft, jl; function rl(l) { if (Ft === void 0) try { throw Error(); } catch (u) { var n = u.stack.trim().match(/\n( *(at )?)/); Ft = n && n[1] || "", jl = -1 < u.stack.indexOf(` at`) ? " (<anonymous>)" : -1 < u.stack.indexOf("@") ? "@unknown:0:0" : ""; } return ` ` + Ft + l + jl; } var k = !1; function It(l, n) { if (!l || k) return ""; k = !0; var u = Error.prepareStackTrace; Error.prepareStackTrace = void 0; try { var c = { DetermineComponentFrameRoot: function() { try { if (n) { var _ = function() { throw Error(); }; if (Object.defineProperty(_.prototype, "props", { set: function() { throw Error(); } }), typeof Reflect == "object" && Reflect.construct) { try { Reflect.construct(_, []); } catch (q) { var U = q; } Reflect.construct(l, [], _); } else { try { _.call(); } catch (q) { U = q; } l.call(_.prototype); } } else { try { throw Error(); } catch (q) { U = q; } (_ = l()) && typeof _.catch == "function" && _.catch(function() { }); } } catch (q) { if (q && U && typeof q.stack == "string") return [q.stack, U.stack]; } return [null, null]; } }; c.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot"; var s = Object.getOwnPropertyDescriptor( c.DetermineComponentFrameRoot, "name" ); s && s.configurable && Object.defineProperty( c.DetermineComponentFrameRoot, "name", { value: "DetermineComponentFrameRoot" } ); var r = c.DetermineComponentFrameRoot(), y = r[0], v = r[1]; if (y && v) { var g = y.split(` `), R = v.split(` `); for (s = c = 0; c < g.length && !g[c].includes("DetermineComponentFrameRoot"); ) c++; for (; s < R.length && !R[s].includes( "DetermineComponentFrameRoot" ); ) s++; if (c === g.length || s === R.length) for (c = g.length - 1, s = R.length - 1; 1 <= c && 0 <= s && g[c] !== R[s]; ) s--; for (; 1 <= c && 0 <= s; c--, s--) if (g[c] !== R[s]) { if (c !== 1 || s !== 1) do if (c--, s--, 0 > s || g[c] !== R[s]) { var N = ` ` + g[c].replace(" at new ", " at "); return l.displayName && N.includes("<anonymous>") && (N = N.replace("<anonymous>", l.displayName)), N; } while (1 <= c && 0 <= s); break; } } } finally { k = !1, Error.prepareStackTrace = u; } return (u = l ? l.displayName || l.name : "") ? rl(u) : ""; } function C(l) { switch (l.tag) { case 26: case 27: case 5: return rl(l.type); case 16: return rl("Lazy"); case 13: return rl("Suspense"); case 19: return rl("SuspenseList"); case 0: case 15: return l = It(l.type, !1), l; case 11: return l = It(l.type.render, !1), l; case 1: return l = It(l.type, !0), l; default: return ""; } } function Z(l) { try { var n = ""; do n += C(l), l = l.return; while (l); return n; } catch (u) { return ` Error generating stack: ` + u.message + ` ` + u.stack; } } function w(l) { var n = l, u = l; if (l.alternate) for (; n.return; ) n = n.return; else { l = n; do n = l, n.flags & 4098 && (u = n.return), l = n.return; while (l); } return n.tag === 3 ? u : null; } function ne(l) { if (l.tag === 13) { var n = l.memoizedState; if (n === null && (l = l.alternate, l !== null && (n = l.memoizedState)), n !== null) return n.dehydrated; } return null; } function ue(l) { if (w(l) !== l) throw Error(B(188)); } function Re(l) { var n = l.alternate; if (!n) { if (n = w(l), n === null) throw Error(B(188)); return n !== l ? null : l; } for (var u = l, c = n; ; ) { var s = u.return; if (s === null) break; var r = s.alternate; if (r === null) { if (c = s.return, c !== null) { u = c; continue; } break; } if (s.child === r.child) { for (r = s.child; r; ) { if (r === u) return ue(s), l; if (r === c) return ue(s), n; r = r.sibling; } throw Error(B(188)); } if (u.return !== c.return) u = s, c = r; else { for (var y = !1, v = s.child; v; ) { if (v === u) { y = !0, u = s, c = r; break; } if (v === c) { y = !0, c = s, u = r; break; } v = v.sibling; } if (!y) { for (v = r.child; v; ) { if (v === u) { y = !0, u = r, c = s; break; } if (v === c) { y = !0, c = r, u = s; break; } v = v.sibling; } if (!y) throw Error(B(189)); } } if (u.alternate !== c) throw Error(B(190)); } if (u.tag !== 3) throw Error(B(188)); return u.stateNode.current === u ? l : n; } function Ee(l) { var n = l.tag; if (n === 5 || n === 26 || n === 27 || n === 6) return l; for (l = l.child; l !== null; ) { if (n = Ee(l), n !== null) return n; l = l.sibling; } return null; } var yt = Array.isArray, ce = ct.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, tt = { pending: !1, data: null, method: null, action: null }, Ba = [], ka = -1; function Dl(l) { return { current: l }; } function ft(l) { 0 > ka || (l.current = Ba[ka], Ba[ka] = null, ka--); } function Ve(l, n) { ka++, Ba[ka] = l.current, l.current = n; } var dl = Dl(null), He = Dl(null), oa = Dl(null), $a = Dl(null); function Pu(l, n) { switch (Ve(oa, n), Ve(He, l), Ve(dl, null), l = n.nodeType, l) { case 9: case 11: n = (n = n.documentElement) && (n = n.namespaceURI) ? Gd(n) : 0; break; default: if (l = l === 8 ? n.parentNode : n, n = l.tagName, l = l.namespaceURI) l = Gd(l), n = lm(l, n); else switch (n) { case "svg": n = 1; break; case "math": n = 2; break; default: n = 0; } } ft(dl), Ve(dl, n); } function ei() { ft(dl), ft(He), ft(oa); } function _e(l) { l.memoizedState !== null && Ve($a, l); var n = dl.current, u = lm(n, l.type); n !== u && (Ve(He, l), Ve(dl, u)); } function ki(l) { He.current === l && (ft(dl), ft(He)), $a.current === l && (ft($a), ca._currentValue = tt); } var $i = Object.prototype.hasOwnProperty, Tn = j.unstable_scheduleCallback, T = j.unstable_cancelCallback, F = j.unstable_shouldYield, I = j.unstable_requestPaint, se = j.unstable_now, Pt = j.unstable_getCurrentPriorityLevel, We = j.unstable_ImmediatePriority, fe = j.unstable_UserBlockingPriority, hl = j.unstable_NormalPriority, qa = j.unstable_LowPriority, el = j.unstable_IdlePriority, En = j.log, ti = j.unstable_setDisableYieldValue, Ol = null, St = null; function Wa(l) { if (St && typeof St.onCommitFiberRoot == "function") try { St.onCommitFiberRoot( Ol, l, void 0, (l.current.flags & 128) === 128 ); } catch { } } function su(l) { if (typeof En == "function" && ti(l), St && typeof St.setStrictMode == "function") try { St.setStrictMode(Ol, l); } catch { } } var Fl = Math.clz32 ? Math.clz32 : l0, e0 = Math.log, t0 = Math.LN2; function l0(l) { return l >>>= 0, l === 0 ? 32 : 31 - (e0(l) / t0 | 0) | 0; } var zo = 128, cr = 4194304; function ru(l) { var n = l & 42; if (n !== 0) return n; switch (l & -l) { case 1: return 1; case 2: return 2; case 4: return 4; case 8: return 8; case 16: return 16; case 32: return 32; case 64: return 64; case 128: case 256: case 512: case 1024: case 2048: case 4096: case 8192: case 16384: case 32768: case 65536: case 131072: case 262144: case 524288: case 1048576: case 2097152: return l & 4194176; case 4194304: case 8388608: case 16777216: case 33554432: return l & 62914560; case 67108864: return 67108864; case 134217728: return 134217728; case 268435456: return 268435456; case 536870912: return 536870912; case 1073741824: return 0; default: return l; } } function An(l, n) { var u = l.pendingLanes; if (u === 0) return 0; var c = 0, s = l.suspendedLanes, r = l.pingedLanes, y = l.warmLanes; l = l.finishedLanes !== 0; var v = u & 134217727; return v !== 0 ? (u = v & ~s, u !== 0 ? c = ru(u) : (r &= v, r !== 0 ? c = ru(r) : l || (y = v & ~y, y !== 0 && (c = ru(y))))) : (v = u & ~s, v !== 0 ? c = ru(v) : r !== 0 ? c = ru(r) : l || (y = u & ~y, y !== 0 && (c = ru(y)))), c === 0 ? 0 : n !== 0 && n !== c && !(n & s) && (s = c & -c, y = n & -n, s >= y || s === 32 && (y & 4194176) !== 0) ? n : c; } function Fa(l, n) { return (l.pendingLanes & ~(l.suspendedLanes & ~l.pingedLanes) & n) === 0; } function Do(l, n) { switch (l) { case 1: case 2: case 4: case 8: return n + 250; case 16: case 32: case 64: case 128: case 256: case 512: case 1024: case 2048: case 4096: case 8192: case 16384: case 32768: case 65536: case 131072: case 262144: case 524288: case 1048576: case 2097152: return n + 5e3; case 4194304: case 8388608: case 16777216: case 33554432: return -1; case 67108864: case 134217728: case 268435456: case 536870912: case 1073741824: return -1; default: return -1; } } function Wi() { var l = zo; return zo <<= 1, !(zo & 4194176) && (zo = 128), l; } function Gt() { var l = cr; return cr <<= 1, !(cr & 62914560) && (cr = 4194304), l; } function du(l) { for (var n = [], u = 0; 31 > u; u++) n.push(l); return n; } function Rn(l, n) { l.pendingLanes |= n, n !== 268435456 && (l.suspendedLanes = 0, l.pingedLanes = 0, l.warmLanes = 0); } function nf(l, n, u, c, s, r) { var y = l.pendingLanes; l.pendingLanes = u, l.suspendedLanes = 0, l.pingedLanes = 0, l.warmLanes = 0, l.expiredLanes &= u, l.entangledLanes &= u, l.errorRecoveryDisabledLanes &= u, l.shellSuspendCounter = 0; var v = l.entanglements, g = l.expirationTimes, R = l.hiddenUpdates; for (u = y & ~u; 0 < u; ) { var N = 31 - Fl(u), _ = 1 << N; v[N] = 0, g[N] = -1; var U = R[N]; if (U !== null) for (R[N] = null, N = 0; N < U.length; N++) { var q = U[N]; q !== null && (q.lane &= -536870913); } u &= ~_; } c !== 0 && fr(l, c, 0), r !== 0 && s === 0 && l.tag !== 0 && (l.suspendedLanes |= r & ~(y & ~n)); } function fr(l, n, u) { l.pendingLanes |= n, l.suspendedLanes &= ~n; var c = 31 - Fl(n); l.entangledLanes |= n, l.entanglements[c] = l.entanglements[c] | 1073741824 | u & 4194218; } function Sh(l, n) { var u = l.entangledLanes |= n; for (l = l.entanglements; u; ) { var c = 31 - Fl(u), s = 1 << c; s & n | l[c] & n && (l[c] |= n), u &= ~s; } } function Oo(l) { return l &= -l, 2 < l ? 8 < l ? l & 134217727 ? 32 : 268435456 : 8 : 2; } function Mo() { var l = ce.p; return l !== 0 ? l : (l = window.event, l === void 0 ? 32 : tv(l.type)); } function hu(l, n) { var u = ce.p; try { return ce.p = l, n(); } finally { ce.p = u; } } var Vt = Math.random().toString(36).slice(2), yl = "__reactFiber$" + Vt, Il = "__reactProps$" + Vt, yu = "__reactContainer$" + Vt, or = "__reactEvents$" + Vt, sr = "__reactListeners$" + Vt, Ya = "__reactHandles$" + Vt, Th = "__reactResources$" + Vt, Fi = "__reactMarker$" + Vt; function rr(l) { delete l[yl], delete l[Il], delete l[or], delete l[sr], delete l[Ya]; } function mu(l) { var n = l[yl]; if (n) return n; for (var u = l.parentNode; u; ) { if (n = u[yu] || u[yl]) { if (u = n.alternate, n.child !== null || u !== null && u.child !== null) for (l = qs(l); l !== null; ) { if (u = l[yl]) return u; l = qs(l); } return n; } l = u, u = l.parentNode; } return null; } function Ii(l) { if (l = l[yl] || l[yu]) { var n = l.tag; if (n === 5 || n === 6 || n === 13 || n === 26 || n === 27 || n === 3) return l; } return null; } function uf(l) { var n = l.tag; if (n === 5 || n === 26 || n === 27 || n === 6) return l.stateNode; throw Error(B(33)); } function Ia(l) { var n = l[Th]; return n || (n = l[Th] = { hoistableStyles: /* @__PURE__ */ new Map(), hoistableScripts: /* @__PURE__ */ new Map() }), n; } function Xt(l) { l[Fi] = !0; } var Eh = /* @__PURE__ */ new Set(), Ah = {}; function li(l, n) { Pi(l, n), Pi(l + "Capture", n); } function Pi(l, n) { for (Ah[l] = n, l = 0; l < n.length; l++) Eh.add(n[l]); } var Mt = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), cf = RegExp( "^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$" ), ai = {}, Rh = {}; function Uo(l) { return $i.call(Rh, l) ? !0 : $i.call(ai, l) ? !1 : cf.test(l) ? Rh[l] = !0 : (ai[l] = !0, !1); } function ec(l, n, u) { if (Uo(n)) if (u === null) l.removeAttribute(n); else { switch (typeof u) { case "undefined": case "function": case "symbol": l.removeAttribute(n); return; case "boolean": var c = n.toLowerCase().slice(0, 5); if (c !== "data-" && c !== "aria-") { l.removeAttribute(n); return; } } l.setAttribute(n, "" + u); } } function ff(l, n, u) { if (u === null) l.removeAttribute(n); else { switch (typeof u) { case "undefined":