diff --git a/ui/src/features/gallery/components/BulkActionBar.tsx b/ui/src/features/gallery/components/BulkActionBar.tsx index c3a00df..c609e95 100644 --- a/ui/src/features/gallery/components/BulkActionBar.tsx +++ b/ui/src/features/gallery/components/BulkActionBar.tsx @@ -9,9 +9,10 @@ import { X, } from "lucide-react"; import type React from "react"; -import { useEffect, useRef, useState } from "react"; +import { useRef, useState } from "react"; import { createPortal } from "react-dom"; import { useEscapeToClose } from "../../../hooks/useEscapeToClose"; +import { getPortalRoot } from "../../../portals/portalRoots"; import { useGallery } from "../../../store/GalleryContext"; import { useImageActions } from "../../images/hooks/useImageActions"; @@ -26,58 +27,14 @@ export const BulkActionBar: React.FC = () => { const [isMenuOpen, setIsMenuOpen] = useState(false); const [menuAnchorRect, setMenuAnchorRect] = useState(null); const actionButtonRef = useRef(null); - const [portalContainer, setPortalContainer] = useState( - null, - ); - - // Get or create the portal container to render inside .comfyui-body-bottom - useEffect(() => { - const el = document.getElementById("meld-bulk-bar-portal"); - let container = el instanceof HTMLDivElement ? el : null; - if (!container) { - // We must create a portal mount point at runtime because the ComfyUI host HTML cannot be modified by the extension. - container = document.createElement("div"); - container.id = "meld-bulk-bar-portal"; - container.dataset.mountCount = "0"; - - // Find .comfyui-body-bottom (same location as LightTable) - const bottomArea = document.querySelector(".comfyui-body-bottom"); - if (bottomArea) { - bottomArea.appendChild(container); - } else { - // Fallback - document.body.appendChild(container); - } - } - - // Increment usage count - const mountCount = Number.parseInt(container.dataset.mountCount || "0", 10); - container.dataset.mountCount = (mountCount + 1).toString(); - - setPortalContainer(container); - - return () => { - if (container) { - const currentCount = Number.parseInt( - container.dataset.mountCount || "1", - 10, - ); - const newCount = currentCount - 1; - container.dataset.mountCount = newCount.toString(); - - if (newCount <= 0) { - container.remove(); - } - } - }; - }, []); + const portalRoot = getPortalRoot("bulkActionBar"); useEscapeToClose({ onEscape: () => setIsMenuOpen(false), enabled: isMenuOpen, }); - if (count === 0 || !portalContainer) return null; + if (count === 0) return null; const isTrashMode = state.viewScope === "trash"; @@ -249,5 +206,5 @@ export const BulkActionBar: React.FC = () => { ); - return createPortal(bulkBarJSX, portalContainer); + return createPortal(bulkBarJSX, portalRoot); }; diff --git a/ui/src/features/light-table/components/LightTable.tsx b/ui/src/features/light-table/components/LightTable.tsx index de240eb..5f0da5d 100644 --- a/ui/src/features/light-table/components/LightTable.tsx +++ b/ui/src/features/light-table/components/LightTable.tsx @@ -1,7 +1,8 @@ import { Plus, Trash, X } from "lucide-react"; import type React from "react"; -import { useEffect, useRef, useState } from "react"; +import { useState } from "react"; import { createPortal } from "react-dom"; +import { getPortalRoot } from "../../../portals/portalRoots"; import { useGallery } from "../../../store/GalleryContext"; import { useLightTableKeys } from "../hooks/useLightTableKeys"; import { useLightTableStore } from "../store"; @@ -24,37 +25,12 @@ export const LightTable: React.FC = () => { const setIsOpen = useLightTableStore((s) => s.setIsOpen); const { state: galleryState } = useGallery(); const [activeTabId, setActiveTabId] = useState(slots[0]?.id || "keep"); - const portalContainerRef = useRef(null); + const portalRoot = getPortalRoot("lightTable"); /** Show/hide flag for Clear All confirm modal */ const [showClearAllConfirm, setShowClearAllConfirm] = useState(false); - // Get or create the portal container - useEffect(() => { - let container = document.getElementById( - "meld-light-table-portal", - ) as HTMLDivElement | null; - if (!container) { - container = document.createElement("div"); - container.id = "meld-light-table-portal"; - - // Find .comfyui-body-bottom (same location as Image Feed) - const bottomArea = document.querySelector(".comfyui-body-bottom"); - if (bottomArea) { - bottomArea.appendChild(container); - } else { - // Fallback: append to document.body - document.body.appendChild(container); - } - } - portalContainerRef.current = container; - - return () => { - // Keep the container even if the component is unmounted (reuse on remount) - }; - }, []); - - if (!isOpen || !portalContainerRef.current) return null; + if (!isOpen) return null; const handleAddSlot = () => { const newId = `slot_${Date.now().toString(36)}`; @@ -186,5 +162,5 @@ export const LightTable: React.FC = () => { ); - return createPortal(lightTableJSX, portalContainerRef.current); + return createPortal(lightTableJSX, portalRoot); }; diff --git a/ui/src/index.ts b/ui/src/index.ts index 1d6b649..92b9c10 100644 --- a/ui/src/index.ts +++ b/ui/src/index.ts @@ -8,6 +8,7 @@ import { GalleryPanel } from "./features/gallery/components/GalleryPanel"; import * as imagesApi from "./features/images/api/imagesApi"; import * as settingsApi from "./features/settings/api/settingsApi"; import { logger } from "./logger"; +import { startPortalRootAutoAttach } from "./portals/portalRoots"; import { GalleryProvider } from "./store/GalleryContext"; import type { ComfyApp } from "./types"; import "./meld_unified_loader_ui"; @@ -69,6 +70,8 @@ app.registerExtension({ }, async setup(app: ComfyApp) { + startPortalRootAutoAttach(); + // Initialize logger from server settings try { const settings = await settingsApi.fetchSettings(); diff --git a/ui/src/portals/portalRoots.ts b/ui/src/portals/portalRoots.ts new file mode 100644 index 0000000..77214a2 --- /dev/null +++ b/ui/src/portals/portalRoots.ts @@ -0,0 +1,142 @@ +export type PortalRootKey = "lightTable" | "bulkActionBar"; + +type PortalRootDefinition = { + id: string; + preferredParentSelector: string; +}; + +const portalRootDefinitions: Record = { + lightTable: { + id: "meld-light-table-portal", + preferredParentSelector: ".comfyui-body-bottom", + }, + bulkActionBar: { + id: "meld-bulk-bar-portal", + preferredParentSelector: ".comfyui-body-bottom", + }, +}; + +const portalRootKeys = Object.keys(portalRootDefinitions) as PortalRootKey[]; +const portalRoots = new Map(); + +const PORTAL_ROOT_ATTR = "data-meld-portal-root"; + +let portalObserver: MutationObserver | null = null; +let scheduledRafId: number | null = null; + +/** + * Check if a node list contains any element relevant to portal root attachment: + * - our portal roots (data-meld-portal-root) + * - the preferred parent (.comfyui-body-bottom) or elements containing it + */ +const PREFERRED_PARENT_SELECTOR = ".comfyui-body-bottom"; + +function nodeListContainsRelevantNode(list: NodeList): boolean { + const portalSelector = `[${PORTAL_ROOT_ATTR}]`; + for (let i = 0; i < list.length; i++) { + const node = list[i]; + if (node.nodeType !== Node.ELEMENT_NODE) continue; + const el = node as Element; + if (el.hasAttribute?.(PORTAL_ROOT_ATTR)) return true; + if (el.querySelector?.(portalSelector)) return true; + if (el.matches?.(PREFERRED_PARENT_SELECTOR)) return true; + if (el.querySelector?.(PREFERRED_PARENT_SELECTOR)) return true; + } + return false; +} + +function getPreferredParent(selector: string): HTMLElement { + const preferred = document.querySelector(selector); + if (preferred instanceof HTMLElement) { + return preferred; + } + return document.body; +} + +function createPortalRoot(key: PortalRootKey): HTMLDivElement { + const definition = portalRootDefinitions[key]; + const existing = document.getElementById(definition.id); + if (existing instanceof HTMLDivElement) { + existing.dataset.meldPortalRoot = key; + return existing; + } + + const root = document.createElement("div"); + root.id = definition.id; + root.dataset.meldPortalRoot = key; + // Requirement: keep global layer ordering in CSS tokens only. + // Do not set root.style.zIndex here. + return root; +} + +function ensurePortalRootAttached(key: PortalRootKey): HTMLDivElement { + const definition = portalRootDefinitions[key]; + const root = portalRoots.get(key) ?? createPortalRoot(key); + portalRoots.set(key, root); + + const parent = getPreferredParent(definition.preferredParentSelector); + if (root.parentElement !== parent || !document.contains(root)) { + parent.appendChild(root); + } + + return root; +} + +function ensureAllPortalRootsAttached(): void { + for (const key of portalRootKeys) { + ensurePortalRootAttached(key); + } +} + +function scheduleEnsureAllPortalRootsAttached(): void { + if (scheduledRafId !== null) { + return; + } + + scheduledRafId = requestAnimationFrame(() => { + scheduledRafId = null; + ensureAllPortalRootsAttached(); + }); +} + +export function getPortalRoot(key: PortalRootKey): HTMLDivElement { + return ensurePortalRootAttached(key); +} + +export function startPortalRootAutoAttach(): void { + if (portalObserver || typeof document === "undefined" || !document.body) { + return; + } + + ensureAllPortalRootsAttached(); + + portalObserver = new MutationObserver((mutations: MutationRecord[]) => { + for (const m of mutations) { + if (nodeListContainsRelevantNode(m.addedNodes)) { + scheduleEnsureAllPortalRootsAttached(); + return; + } + if (nodeListContainsRelevantNode(m.removedNodes)) { + scheduleEnsureAllPortalRootsAttached(); + return; + } + } + }); + + portalObserver.observe(document.body, { + childList: true, + subtree: true, + }); +} + +export function stopPortalRootAutoAttach(): void { + if (portalObserver) { + portalObserver.disconnect(); + portalObserver = null; + } + + if (scheduledRafId !== null) { + cancelAnimationFrame(scheduledRafId); + scheduledRafId = null; + } +} diff --git a/web/js/gallery_extension.js b/web/js/gallery_extension.js index fa6093f..9fab098 100644 --- a/web/js/gallery_extension.js +++ b/web/js/gallery_extension.js @@ -1,9 +1,9 @@ import { api as se } from "/scripts/api.js"; -import { app as Tc } from "/scripts/app.js"; -function Um(e) { +import { app as Fc } from "/scripts/app.js"; +function em(e) { return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e; } -var Lc = { exports: {} }, ce = {}; +var Wc = { exports: {} }, ce = {}; /** * @license React * react.production.min.js @@ -13,41 +13,41 @@ var Lc = { exports: {} }, ce = {}; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var Jr = Symbol.for("react.element"), Vm = Symbol.for("react.portal"), Bm = Symbol.for("react.fragment"), Qm = Symbol.for("react.strict_mode"), Hm = Symbol.for("react.profiler"), Km = Symbol.for("react.provider"), Gm = Symbol.for("react.context"), qm = Symbol.for("react.forward_ref"), Ym = Symbol.for("react.suspense"), Xm = Symbol.for("react.memo"), Zm = Symbol.for("react.lazy"), di = Symbol.iterator; -function Jm(e) { - return e === null || typeof e != "object" ? null : (e = di && e[di] || e["@@iterator"], typeof e == "function" ? e : null); +var Jr = Symbol.for("react.element"), tm = Symbol.for("react.portal"), nm = Symbol.for("react.fragment"), rm = Symbol.for("react.strict_mode"), lm = Symbol.for("react.profiler"), sm = Symbol.for("react.provider"), om = Symbol.for("react.context"), am = Symbol.for("react.forward_ref"), im = Symbol.for("react.suspense"), cm = Symbol.for("react.memo"), dm = Symbol.for("react.lazy"), mi = Symbol.iterator; +function um(e) { + return e === null || typeof e != "object" ? null : (e = mi && e[mi] || e["@@iterator"], typeof e == "function" ? e : null); } -var Dc = { isMounted: function() { +var $c = { isMounted: function() { return !1; }, enqueueForceUpdate: function() { }, enqueueReplaceState: function() { }, enqueueSetState: function() { -} }, Pc = Object.assign, Rc = {}; -function or(e, t, n) { - this.props = e, this.context = t, this.refs = Rc, this.updater = n || Dc; +} }, Uc = Object.assign, Vc = {}; +function ar(e, t, n) { + this.props = e, this.context = t, this.refs = Vc, this.updater = n || $c; } -or.prototype.isReactComponent = {}; -or.prototype.setState = function(e, t) { +ar.prototype.isReactComponent = {}; +ar.prototype.setState = function(e, t) { if (typeof e != "object" && typeof e != "function" && e != 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, e, t, "setState"); }; -or.prototype.forceUpdate = function(e) { +ar.prototype.forceUpdate = function(e) { this.updater.enqueueForceUpdate(this, e, "forceUpdate"); }; -function Oc() { +function Bc() { } -Oc.prototype = or.prototype; -function oo(e, t, n) { - this.props = e, this.context = t, this.refs = Rc, this.updater = n || Dc; +Bc.prototype = ar.prototype; +function da(e, t, n) { + this.props = e, this.context = t, this.refs = Vc, this.updater = n || $c; } -var io = oo.prototype = new Oc(); -io.constructor = oo; -Pc(io, or.prototype); -io.isPureReactComponent = !0; -var ui = Array.isArray, Ac = Object.prototype.hasOwnProperty, co = { current: null }, zc = { key: !0, ref: !0, __self: !0, __source: !0 }; -function Fc(e, t, n) { - var r, l = {}, a = null, o = null; - if (t != null) for (r in t.ref !== void 0 && (o = t.ref), t.key !== void 0 && (a = "" + t.key), t) Ac.call(t, r) && !zc.hasOwnProperty(r) && (l[r] = t[r]); +var ua = da.prototype = new Bc(); +ua.constructor = da; +Uc(ua, ar.prototype); +ua.isPureReactComponent = !0; +var hi = Array.isArray, Qc = Object.prototype.hasOwnProperty, fa = { current: null }, Hc = { key: !0, ref: !0, __self: !0, __source: !0 }; +function Kc(e, t, n) { + var r, l = {}, o = null, a = null; + if (t != null) for (r in t.ref !== void 0 && (a = t.ref), t.key !== void 0 && (o = "" + t.key), t) Qc.call(t, r) && !Hc.hasOwnProperty(r) && (l[r] = t[r]); var i = arguments.length - 2; if (i === 1) l.children = n; else if (1 < i) { @@ -55,61 +55,61 @@ function Fc(e, t, n) { l.children = c; } if (e && e.defaultProps) for (r in i = e.defaultProps, i) l[r] === void 0 && (l[r] = i[r]); - return { $$typeof: Jr, type: e, key: a, ref: o, props: l, _owner: co.current }; + return { $$typeof: Jr, type: e, key: o, ref: a, props: l, _owner: fa.current }; } -function ef(e, t) { +function fm(e, t) { return { $$typeof: Jr, type: e.type, key: t, ref: e.ref, props: e.props, _owner: e._owner }; } -function uo(e) { +function ma(e) { return typeof e == "object" && e !== null && e.$$typeof === Jr; } -function tf(e) { +function mm(e) { var t = { "=": "=0", ":": "=2" }; return "$" + e.replace(/[=:]/g, function(n) { return t[n]; }); } -var mi = /\/+/g; +var pi = /\/+/g; function Os(e, t) { - return typeof e == "object" && e !== null && e.key != null ? tf("" + e.key) : t.toString(36); + return typeof e == "object" && e !== null && e.key != null ? mm("" + e.key) : t.toString(36); } function Ll(e, t, n, r, l) { - var a = typeof e; - (a === "undefined" || a === "boolean") && (e = null); - var o = !1; - if (e === null) o = !0; - else switch (a) { + var o = typeof e; + (o === "undefined" || o === "boolean") && (e = null); + var a = !1; + if (e === null) a = !0; + else switch (o) { case "string": case "number": - o = !0; + a = !0; break; case "object": switch (e.$$typeof) { case Jr: - case Vm: - o = !0; + case tm: + a = !0; } } - if (o) return o = e, l = l(o), e = r === "" ? "." + Os(o, 0) : r, ui(l) ? (n = "", e != null && (n = e.replace(mi, "$&/") + "/"), Ll(l, t, n, "", function(d) { + if (a) return a = e, l = l(a), e = r === "" ? "." + Os(a, 0) : r, hi(l) ? (n = "", e != null && (n = e.replace(pi, "$&/") + "/"), Ll(l, t, n, "", function(d) { return d; - })) : l != null && (uo(l) && (l = ef(l, n + (!l.key || o && o.key === l.key ? "" : ("" + l.key).replace(mi, "$&/") + "/") + e)), t.push(l)), 1; - if (o = 0, r = r === "" ? "." : r + ":", ui(e)) for (var i = 0; i < e.length; i++) { - a = e[i]; - var c = r + Os(a, i); - o += Ll(a, t, n, c, l); + })) : l != null && (ma(l) && (l = fm(l, n + (!l.key || a && a.key === l.key ? "" : ("" + l.key).replace(pi, "$&/") + "/") + e)), t.push(l)), 1; + if (a = 0, r = r === "" ? "." : r + ":", hi(e)) for (var i = 0; i < e.length; i++) { + o = e[i]; + var c = r + Os(o, i); + a += Ll(o, t, n, c, l); } - else if (c = Jm(e), typeof c == "function") for (e = c.call(e), i = 0; !(a = e.next()).done; ) a = a.value, c = r + Os(a, i++), o += Ll(a, t, n, c, l); - else if (a === "object") throw t = String(e), Error("Objects are not valid as a React child (found: " + (t === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : t) + "). If you meant to render a collection of children, use an array instead."); - return o; + else if (c = um(e), typeof c == "function") for (e = c.call(e), i = 0; !(o = e.next()).done; ) o = o.value, c = r + Os(o, i++), a += Ll(o, t, n, c, l); + else if (o === "object") throw t = String(e), Error("Objects are not valid as a React child (found: " + (t === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : t) + "). If you meant to render a collection of children, use an array instead."); + return a; } function dl(e, t, n) { if (e == null) return e; var r = [], l = 0; - return Ll(e, r, "", "", function(a) { - return t.call(n, a, l++); + return Ll(e, r, "", "", function(o) { + return t.call(n, o, l++); }), r; } -function nf(e) { +function hm(e) { if (e._status === -1) { var t = e._result; t = t(), t.then(function(n) { @@ -121,8 +121,8 @@ function nf(e) { if (e._status === 1) return e._result.default; throw e._result; } -var Ge = { current: null }, Dl = { transition: null }, rf = { ReactCurrentDispatcher: Ge, ReactCurrentBatchConfig: Dl, ReactCurrentOwner: co }; -function Wc() { +var Ge = { current: null }, Dl = { transition: null }, pm = { ReactCurrentDispatcher: Ge, ReactCurrentBatchConfig: Dl, ReactCurrentOwner: fa }; +function Gc() { throw Error("act(...) is not supported in production builds of React."); } ce.Children = { map: dl, forEach: function(e, t, n) { @@ -139,23 +139,23 @@ ce.Children = { map: dl, forEach: function(e, t, n) { return t; }) || []; }, only: function(e) { - if (!uo(e)) throw Error("React.Children.only expected to receive a single React element child."); + if (!ma(e)) throw Error("React.Children.only expected to receive a single React element child."); return e; } }; -ce.Component = or; -ce.Fragment = Bm; -ce.Profiler = Hm; -ce.PureComponent = oo; -ce.StrictMode = Qm; -ce.Suspense = Ym; -ce.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = rf; -ce.act = Wc; +ce.Component = ar; +ce.Fragment = nm; +ce.Profiler = lm; +ce.PureComponent = da; +ce.StrictMode = rm; +ce.Suspense = im; +ce.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = pm; +ce.act = Gc; ce.cloneElement = function(e, t, n) { if (e == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + e + "."); - var r = Pc({}, e.props), l = e.key, a = e.ref, o = e._owner; + var r = Uc({}, e.props), l = e.key, o = e.ref, a = e._owner; if (t != null) { - if (t.ref !== void 0 && (a = t.ref, o = co.current), t.key !== void 0 && (l = "" + t.key), e.type && e.type.defaultProps) var i = e.type.defaultProps; - for (c in t) Ac.call(t, c) && !zc.hasOwnProperty(c) && (r[c] = t[c] === void 0 && i !== void 0 ? i[c] : t[c]); + if (t.ref !== void 0 && (o = t.ref, a = fa.current), t.key !== void 0 && (l = "" + t.key), e.type && e.type.defaultProps) var i = e.type.defaultProps; + for (c in t) Qc.call(t, c) && !Hc.hasOwnProperty(c) && (r[c] = t[c] === void 0 && i !== void 0 ? i[c] : t[c]); } var c = arguments.length - 2; if (c === 1) r.children = n; @@ -164,28 +164,28 @@ ce.cloneElement = function(e, t, n) { for (var d = 0; d < c; d++) i[d] = arguments[d + 2]; r.children = i; } - return { $$typeof: Jr, type: e.type, key: l, ref: a, props: r, _owner: o }; + return { $$typeof: Jr, type: e.type, key: l, ref: o, props: r, _owner: a }; }; ce.createContext = function(e) { - return e = { $$typeof: Gm, _currentValue: e, _currentValue2: e, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, e.Provider = { $$typeof: Km, _context: e }, e.Consumer = e; + return e = { $$typeof: om, _currentValue: e, _currentValue2: e, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, e.Provider = { $$typeof: sm, _context: e }, e.Consumer = e; }; -ce.createElement = Fc; +ce.createElement = Kc; ce.createFactory = function(e) { - var t = Fc.bind(null, e); + var t = Kc.bind(null, e); return t.type = e, t; }; ce.createRef = function() { return { current: null }; }; ce.forwardRef = function(e) { - return { $$typeof: qm, render: e }; + return { $$typeof: am, render: e }; }; -ce.isValidElement = uo; +ce.isValidElement = ma; ce.lazy = function(e) { - return { $$typeof: Zm, _payload: { _status: -1, _result: e }, _init: nf }; + return { $$typeof: dm, _payload: { _status: -1, _result: e }, _init: hm }; }; ce.memo = function(e, t) { - return { $$typeof: Xm, type: e, compare: t === void 0 ? null : t }; + return { $$typeof: cm, type: e, compare: t === void 0 ? null : t }; }; ce.startTransition = function(e) { var t = Dl.transition; @@ -196,7 +196,7 @@ ce.startTransition = function(e) { Dl.transition = t; } }; -ce.unstable_act = Wc; +ce.unstable_act = Gc; ce.useCallback = function(e, t) { return Ge.current.useCallback(e, t); }; @@ -242,10 +242,10 @@ ce.useTransition = function() { return Ge.current.useTransition(); }; ce.version = "18.3.1"; -Lc.exports = ce; -var m = Lc.exports; -const Yt = /* @__PURE__ */ Um(m); -var $c = { exports: {} }, ot = {}, Uc = { exports: {} }, Vc = {}; +Wc.exports = ce; +var f = Wc.exports; +const Yt = /* @__PURE__ */ em(f); +var qc = { exports: {} }, at = {}, Yc = { exports: {} }, Xc = {}; /** * @license React * scheduler.production.min.js @@ -256,12 +256,12 @@ var $c = { exports: {} }, ot = {}, Uc = { exports: {} }, Vc = {}; * LICENSE file in the root directory of this source tree. */ (function(e) { - function t(C, D) { + function t(C, L) { var V = C.length; - C.push(D); + C.push(L); e: for (; 0 < V; ) { var E = V - 1 >>> 1, F = C[E]; - if (0 < l(F, D)) C[E] = D, C[V] = F, V = E; + if (0 < l(F, L)) C[E] = L, C[V] = F, V = E; else break e; } } @@ -270,113 +270,113 @@ var $c = { exports: {} }, ot = {}, Uc = { exports: {} }, Vc = {}; } function r(C) { if (C.length === 0) return null; - var D = C[0], V = C.pop(); - if (V !== D) { + var L = C[0], V = C.pop(); + if (V !== L) { C[0] = V; e: for (var E = 0, F = C.length, G = F >>> 1; E < G; ) { - var A = 2 * (E + 1) - 1, q = C[A], B = A + 1, ae = C[B]; - if (0 > l(q, V)) B < F && 0 > l(ae, q) ? (C[E] = ae, C[B] = V, E = B) : (C[E] = q, C[A] = V, E = A); - else if (B < F && 0 > l(ae, V)) C[E] = ae, C[B] = V, E = B; + var A = 2 * (E + 1) - 1, q = C[A], B = A + 1, oe = C[B]; + if (0 > l(q, V)) B < F && 0 > l(oe, q) ? (C[E] = oe, C[B] = V, E = B) : (C[E] = q, C[A] = V, E = A); + else if (B < F && 0 > l(oe, V)) C[E] = oe, C[B] = V, E = B; else break e; } } - return D; + return L; } - function l(C, D) { - var V = C.sortIndex - D.sortIndex; - return V !== 0 ? V : C.id - D.id; + function l(C, L) { + var V = C.sortIndex - L.sortIndex; + return V !== 0 ? V : C.id - L.id; } if (typeof performance == "object" && typeof performance.now == "function") { - var a = performance; + var o = performance; e.unstable_now = function() { - return a.now(); + return o.now(); }; } else { - var o = Date, i = o.now(); + var a = Date, i = a.now(); e.unstable_now = function() { - return o.now() - i; + return a.now() - i; }; } - var c = [], d = [], f = 1, v = null, w = 3, _ = !1, g = !1, x = !1, j = typeof setTimeout == "function" ? setTimeout : null, h = typeof clearTimeout == "function" ? clearTimeout : null, u = typeof setImmediate < "u" ? setImmediate : null; + var c = [], d = [], m = 1, v = null, w = 3, x = !1, g = !1, _ = !1, j = typeof setTimeout == "function" ? setTimeout : null, h = typeof clearTimeout == "function" ? clearTimeout : null, u = typeof setImmediate < "u" ? setImmediate : null; typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling); function p(C) { - for (var D = n(d); D !== null; ) { - if (D.callback === null) r(d); - else if (D.startTime <= C) r(d), D.sortIndex = D.expirationTime, t(c, D); + for (var L = n(d); L !== null; ) { + if (L.callback === null) r(d); + else if (L.startTime <= C) r(d), L.sortIndex = L.expirationTime, t(c, L); else break; - D = n(d); + L = n(d); } } function y(C) { - if (x = !1, p(C), !g) if (n(c) !== null) g = !0, W(k); + if (_ = !1, p(C), !g) if (n(c) !== null) g = !0, W(S); else { - var D = n(d); - D !== null && P(y, D.startTime - C); + var L = n(d); + L !== null && P(y, L.startTime - C); } } - function k(C, D) { - g = !1, x && (x = !1, h(M), M = -1), _ = !0; + function S(C, L) { + g = !1, _ && (_ = !1, h(I), I = -1), x = !0; var V = w; try { - for (p(D), v = n(c); v !== null && (!(v.expirationTime > D) || C && !L()); ) { + for (p(L), v = n(c); v !== null && (!(v.expirationTime > L) || C && !D()); ) { var E = v.callback; if (typeof E == "function") { v.callback = null, w = v.priorityLevel; - var F = E(v.expirationTime <= D); - D = e.unstable_now(), typeof F == "function" ? v.callback = F : v === n(c) && r(c), p(D); + var F = E(v.expirationTime <= L); + L = e.unstable_now(), typeof F == "function" ? v.callback = F : v === n(c) && r(c), p(L); } else r(c); v = n(c); } if (v !== null) var G = !0; else { var A = n(d); - A !== null && P(y, A.startTime - D), G = !1; + A !== null && P(y, A.startTime - L), G = !1; } return G; } finally { - v = null, w = V, _ = !1; + v = null, w = V, x = !1; } } - var S = !1, b = null, M = -1, O = 5, R = -1; - function L() { + var k = !1, b = null, I = -1, O = 5, R = -1; + function D() { return !(e.unstable_now() - R < O); } function U() { if (b !== null) { var C = e.unstable_now(); R = C; - var D = !0; + var L = !0; try { - D = b(!0, C); + L = b(!0, C); } finally { - D ? Z() : (S = !1, b = null); + L ? Z() : (k = !1, b = null); } - } else S = !1; + } else k = !1; } var Z; if (typeof u == "function") Z = function() { u(U); }; else if (typeof MessageChannel < "u") { - var I = new MessageChannel(), K = I.port2; - I.port1.onmessage = U, Z = function() { + var M = new MessageChannel(), K = M.port2; + M.port1.onmessage = U, Z = function() { K.postMessage(null); }; } else Z = function() { j(U, 0); }; function W(C) { - b = C, S || (S = !0, Z()); + b = C, k || (k = !0, Z()); } - function P(C, D) { - M = j(function() { + function P(C, L) { + I = j(function() { C(e.unstable_now()); - }, D); + }, L); } e.unstable_IdlePriority = 5, e.unstable_ImmediatePriority = 1, e.unstable_LowPriority = 4, e.unstable_NormalPriority = 3, e.unstable_Profiling = null, e.unstable_UserBlockingPriority = 2, e.unstable_cancelCallback = function(C) { C.callback = null; }, e.unstable_continueExecution = function() { - g || _ || (g = !0, W(k)); + g || x || (g = !0, W(S)); }, e.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") : O = 0 < C ? Math.floor(1e3 / C) : 5; }, e.unstable_getCurrentPriorityLevel = function() { @@ -388,13 +388,13 @@ var $c = { exports: {} }, ot = {}, Uc = { exports: {} }, Vc = {}; case 1: case 2: case 3: - var D = 3; + var L = 3; break; default: - D = w; + L = w; } var V = w; - w = D; + w = L; try { return C(); } finally { @@ -402,7 +402,7 @@ var $c = { exports: {} }, ot = {}, Uc = { exports: {} }, Vc = {}; } }, e.unstable_pauseExecution = function() { }, e.unstable_requestPaint = function() { - }, e.unstable_runWithPriority = function(C, D) { + }, e.unstable_runWithPriority = function(C, L) { switch (C) { case 1: case 2: @@ -416,11 +416,11 @@ var $c = { exports: {} }, ot = {}, Uc = { exports: {} }, Vc = {}; var V = w; w = C; try { - return D(); + return L(); } finally { w = V; } - }, e.unstable_scheduleCallback = function(C, D, V) { + }, e.unstable_scheduleCallback = function(C, L, V) { var E = e.unstable_now(); switch (typeof V == "object" && V !== null ? (V = V.delay, V = typeof V == "number" && 0 < V ? E + V : E) : V = E, C) { case 1: @@ -438,12 +438,12 @@ var $c = { exports: {} }, ot = {}, Uc = { exports: {} }, Vc = {}; default: F = 5e3; } - return F = V + F, C = { id: f++, callback: D, priorityLevel: C, startTime: V, expirationTime: F, sortIndex: -1 }, V > E ? (C.sortIndex = V, t(d, C), n(c) === null && C === n(d) && (x ? (h(M), M = -1) : x = !0, P(y, V - E))) : (C.sortIndex = F, t(c, C), g || _ || (g = !0, W(k))), C; - }, e.unstable_shouldYield = L, e.unstable_wrapCallback = function(C) { - var D = w; + return F = V + F, C = { id: m++, callback: L, priorityLevel: C, startTime: V, expirationTime: F, sortIndex: -1 }, V > E ? (C.sortIndex = V, t(d, C), n(c) === null && C === n(d) && (_ ? (h(I), I = -1) : _ = !0, P(y, V - E))) : (C.sortIndex = F, t(c, C), g || x || (g = !0, W(S))), C; + }, e.unstable_shouldYield = D, e.unstable_wrapCallback = function(C) { + var L = w; return function() { var V = w; - w = D; + w = L; try { return C.apply(this, arguments); } finally { @@ -451,9 +451,9 @@ var $c = { exports: {} }, ot = {}, Uc = { exports: {} }, Vc = {}; } }; }; -})(Vc); -Uc.exports = Vc; -var lf = Uc.exports; +})(Xc); +Yc.exports = Xc; +var gm = Yc.exports; /** * @license React * react-dom.production.min.js @@ -463,23 +463,23 @@ var lf = Uc.exports; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var sf = m, at = lf; +var ym = f, ot = gm; function $(e) { for (var t = "https://reactjs.org/docs/error-decoder.html?invariant=" + e, n = 1; n < arguments.length; n++) t += "&args[]=" + encodeURIComponent(arguments[n]); return "Minified React error #" + e + "; visit " + t + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."; } -var Bc = /* @__PURE__ */ new Set(), Lr = {}; +var Zc = /* @__PURE__ */ new Set(), Lr = {}; function Nn(e, t) { Jn(e, t), Jn(e + "Capture", t); } function Jn(e, t) { - for (Lr[e] = t, e = 0; e < t.length; e++) Bc.add(t[e]); + for (Lr[e] = t, e = 0; e < t.length; e++) Zc.add(t[e]); } -var At = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), da = Object.prototype.hasOwnProperty, af = /^[: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]*$/, fi = {}, hi = {}; -function of(e) { - return da.call(hi, e) ? !0 : da.call(fi, e) ? !1 : af.test(e) ? hi[e] = !0 : (fi[e] = !0, !1); +var At = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), mo = Object.prototype.hasOwnProperty, vm = /^[: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]*$/, gi = {}, yi = {}; +function wm(e) { + return mo.call(yi, e) ? !0 : mo.call(gi, e) ? !1 : vm.test(e) ? yi[e] = !0 : (gi[e] = !0, !1); } -function cf(e, t, n, r) { +function xm(e, t, n, r) { if (n !== null && n.type === 0) return !1; switch (typeof t) { case "function": @@ -491,8 +491,8 @@ function cf(e, t, n, r) { return !1; } } -function df(e, t, n, r) { - if (t === null || typeof t > "u" || cf(e, t, n, r)) return !0; +function _m(e, t, n, r) { + if (t === null || typeof t > "u" || xm(e, t, n, r)) return !0; if (r) return !1; if (n !== null) switch (n.type) { case 3: @@ -506,8 +506,8 @@ function df(e, t, n, r) { } return !1; } -function qe(e, t, n, r, l, a, o) { - this.acceptsBooleans = t === 2 || t === 3 || t === 4, this.attributeName = r, this.attributeNamespace = l, this.mustUseProperty = n, this.propertyName = e, this.type = t, this.sanitizeURL = a, this.removeEmptyString = o; +function qe(e, t, n, r, l, o, a) { + this.acceptsBooleans = t === 2 || t === 3 || t === 4, this.attributeName = r, this.attributeNamespace = l, this.mustUseProperty = n, this.propertyName = e, this.type = t, this.sanitizeURL = o, this.removeEmptyString = a; } var $e = {}; "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e) { @@ -538,23 +538,23 @@ var $e = {}; ["rowSpan", "start"].forEach(function(e) { $e[e] = new qe(e, 5, !1, e.toLowerCase(), null, !1, !1); }); -var mo = /[\-:]([a-z])/g; -function fo(e) { +var ha = /[\-:]([a-z])/g; +function pa(e) { return e[1].toUpperCase(); } "accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e) { var t = e.replace( - mo, - fo + ha, + pa ); $e[t] = new qe(t, 1, !1, e, null, !1, !1); }); "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e) { - var t = e.replace(mo, fo); + var t = e.replace(ha, pa); $e[t] = new qe(t, 1, !1, e, "http://www.w3.org/1999/xlink", !1, !1); }); ["xml:base", "xml:lang", "xml:space"].forEach(function(e) { - var t = e.replace(mo, fo); + var t = e.replace(ha, pa); $e[t] = new qe(t, 1, !1, e, "http://www.w3.org/XML/1998/namespace", !1, !1); }); ["tabIndex", "crossOrigin"].forEach(function(e) { @@ -564,13 +564,13 @@ $e.xlinkHref = new qe("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/ ["src", "href", "action", "formAction"].forEach(function(e) { $e[e] = new qe(e, 1, !1, e.toLowerCase(), null, !0, !0); }); -function ho(e, t, n, r) { +function ga(e, t, n, r) { var l = $e.hasOwnProperty(t) ? $e[t] : null; - (l !== null ? l.type !== 0 : r || !(2 < t.length) || t[0] !== "o" && t[0] !== "O" || t[1] !== "n" && t[1] !== "N") && (df(t, n, l, r) && (n = null), r || l === null ? of(t) && (n === null ? e.removeAttribute(t) : e.setAttribute(t, "" + n)) : l.mustUseProperty ? e[l.propertyName] = n === null ? l.type === 3 ? !1 : "" : n : (t = l.attributeName, r = l.attributeNamespace, n === null ? e.removeAttribute(t) : (l = l.type, n = l === 3 || l === 4 && n === !0 ? "" : "" + n, r ? e.setAttributeNS(r, t, n) : e.setAttribute(t, n)))); + (l !== null ? l.type !== 0 : r || !(2 < t.length) || t[0] !== "o" && t[0] !== "O" || t[1] !== "n" && t[1] !== "N") && (_m(t, n, l, r) && (n = null), r || l === null ? wm(t) && (n === null ? e.removeAttribute(t) : e.setAttribute(t, "" + n)) : l.mustUseProperty ? e[l.propertyName] = n === null ? l.type === 3 ? !1 : "" : n : (t = l.attributeName, r = l.attributeNamespace, n === null ? e.removeAttribute(t) : (l = l.type, n = l === 3 || l === 4 && n === !0 ? "" : "" + n, r ? e.setAttributeNS(r, t, n) : e.setAttribute(t, n)))); } -var Ut = sf.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, ul = Symbol.for("react.element"), Rn = Symbol.for("react.portal"), On = Symbol.for("react.fragment"), po = Symbol.for("react.strict_mode"), ua = Symbol.for("react.profiler"), Qc = Symbol.for("react.provider"), Hc = Symbol.for("react.context"), go = Symbol.for("react.forward_ref"), ma = Symbol.for("react.suspense"), fa = Symbol.for("react.suspense_list"), yo = Symbol.for("react.memo"), Ht = Symbol.for("react.lazy"), Kc = Symbol.for("react.offscreen"), pi = Symbol.iterator; +var Ut = ym.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, ul = Symbol.for("react.element"), Rn = Symbol.for("react.portal"), On = Symbol.for("react.fragment"), ya = Symbol.for("react.strict_mode"), ho = Symbol.for("react.profiler"), Jc = Symbol.for("react.provider"), ed = Symbol.for("react.context"), va = Symbol.for("react.forward_ref"), po = Symbol.for("react.suspense"), go = Symbol.for("react.suspense_list"), wa = Symbol.for("react.memo"), Ht = Symbol.for("react.lazy"), td = Symbol.for("react.offscreen"), vi = Symbol.iterator; function ur(e) { - return e === null || typeof e != "object" ? null : (e = pi && e[pi] || e["@@iterator"], typeof e == "function" ? e : null); + return e === null || typeof e != "object" ? null : (e = vi && e[vi] || e["@@iterator"], typeof e == "function" ? e : null); } var Me = Object.assign, As; function wr(e) { @@ -620,17 +620,17 @@ function Fs(e, t) { } catch (d) { if (d && r && typeof d.stack == "string") { for (var l = d.stack.split(` -`), a = r.stack.split(` -`), o = l.length - 1, i = a.length - 1; 1 <= o && 0 <= i && l[o] !== a[i]; ) i--; - for (; 1 <= o && 0 <= i; o--, i--) if (l[o] !== a[i]) { - if (o !== 1 || i !== 1) +`), o = r.stack.split(` +`), a = l.length - 1, i = o.length - 1; 1 <= a && 0 <= i && l[a] !== o[i]; ) i--; + for (; 1 <= a && 0 <= i; a--, i--) if (l[a] !== o[i]) { + if (a !== 1 || i !== 1) do - if (o--, i--, 0 > i || l[o] !== a[i]) { + if (a--, i--, 0 > i || l[a] !== o[i]) { var c = ` -` + l[o].replace(" at new ", " at "); +` + l[a].replace(" at new ", " at "); return e.displayName && c.includes("") && (c = c.replace("", e.displayName)), c; } - while (1 <= o && 0 <= i); + while (1 <= a && 0 <= i); break; } } @@ -639,7 +639,7 @@ function Fs(e, t) { } return (e = e ? e.displayName || e.name : "") ? wr(e) : ""; } -function uf(e) { +function km(e) { switch (e.tag) { case 5: return wr(e.type); @@ -661,7 +661,7 @@ function uf(e) { return ""; } } -function ha(e) { +function yo(e) { if (e == null) return null; if (typeof e == "function") return e.displayName || e.name || null; if (typeof e == "string") return e; @@ -670,35 +670,35 @@ function ha(e) { return "Fragment"; case Rn: return "Portal"; - case ua: + case ho: return "Profiler"; - case po: + case ya: return "StrictMode"; - case ma: + case po: return "Suspense"; - case fa: + case go: return "SuspenseList"; } if (typeof e == "object") switch (e.$$typeof) { - case Hc: + case ed: return (e.displayName || "Context") + ".Consumer"; - case Qc: + case Jc: return (e._context.displayName || "Context") + ".Provider"; - case go: + case va: var t = e.render; return e = e.displayName, e || (e = t.displayName || t.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e; - case yo: - return t = e.displayName || null, t !== null ? t : ha(e.type) || "Memo"; + case wa: + return t = e.displayName || null, t !== null ? t : yo(e.type) || "Memo"; case Ht: t = e._payload, e = e._init; try { - return ha(e(t)); + return yo(e(t)); } catch { } } return null; } -function mf(e) { +function Sm(e) { var t = e.type; switch (e.tag) { case 24: @@ -722,9 +722,9 @@ function mf(e) { case 6: return "Text"; case 16: - return ha(t); + return yo(t); case 8: - return t === po ? "StrictMode" : "Mode"; + return t === ya ? "StrictMode" : "Mode"; case 22: return "Offscreen"; case 12: @@ -748,7 +748,7 @@ function mf(e) { } return null; } -function on(e) { +function an(e) { switch (typeof e) { case "boolean": case "number": @@ -761,36 +761,36 @@ function on(e) { return ""; } } -function Gc(e) { +function nd(e) { var t = e.type; return (e = e.nodeName) && e.toLowerCase() === "input" && (t === "checkbox" || t === "radio"); } -function ff(e) { - var t = Gc(e) ? "checked" : "value", n = Object.getOwnPropertyDescriptor(e.constructor.prototype, t), r = "" + e[t]; +function jm(e) { + var t = nd(e) ? "checked" : "value", n = Object.getOwnPropertyDescriptor(e.constructor.prototype, t), r = "" + e[t]; if (!e.hasOwnProperty(t) && typeof n < "u" && typeof n.get == "function" && typeof n.set == "function") { - var l = n.get, a = n.set; + var l = n.get, o = n.set; return Object.defineProperty(e, t, { configurable: !0, get: function() { return l.call(this); - }, set: function(o) { - r = "" + o, a.call(this, o); + }, set: function(a) { + r = "" + a, o.call(this, a); } }), Object.defineProperty(e, t, { enumerable: n.enumerable }), { getValue: function() { return r; - }, setValue: function(o) { - r = "" + o; + }, setValue: function(a) { + r = "" + a; }, stopTracking: function() { e._valueTracker = null, delete e[t]; } }; } } -function ml(e) { - e._valueTracker || (e._valueTracker = ff(e)); +function fl(e) { + e._valueTracker || (e._valueTracker = jm(e)); } -function qc(e) { +function rd(e) { if (!e) return !1; var t = e._valueTracker; if (!t) return !0; var n = t.getValue(), r = ""; - return e && (r = Gc(e) ? e.checked ? "true" : "false" : e.value), e = r, e !== n ? (t.setValue(e), !0) : !1; + return e && (r = nd(e) ? e.checked ? "true" : "false" : e.value), e = r, e !== n ? (t.setValue(e), !0) : !1; } function Ql(e) { if (e = e || (typeof document < "u" ? document : void 0), typeof e > "u") return null; @@ -800,28 +800,28 @@ function Ql(e) { return e.body; } } -function pa(e, t) { +function vo(e, t) { var n = t.checked; return Me({}, t, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: n ?? e._wrapperState.initialChecked }); } -function gi(e, t) { +function wi(e, t) { var n = t.defaultValue == null ? "" : t.defaultValue, r = t.checked != null ? t.checked : t.defaultChecked; - n = on(t.value != null ? t.value : n), e._wrapperState = { initialChecked: r, initialValue: n, controlled: t.type === "checkbox" || t.type === "radio" ? t.checked != null : t.value != null }; + n = an(t.value != null ? t.value : n), e._wrapperState = { initialChecked: r, initialValue: n, controlled: t.type === "checkbox" || t.type === "radio" ? t.checked != null : t.value != null }; } -function Yc(e, t) { - t = t.checked, t != null && ho(e, "checked", t, !1); +function ld(e, t) { + t = t.checked, t != null && ga(e, "checked", t, !1); } -function ga(e, t) { - Yc(e, t); - var n = on(t.value), r = t.type; +function wo(e, t) { + ld(e, t); + var n = an(t.value), r = t.type; if (n != null) r === "number" ? (n === 0 && e.value === "" || e.value != n) && (e.value = "" + n) : e.value !== "" + n && (e.value = "" + n); else if (r === "submit" || r === "reset") { e.removeAttribute("value"); return; } - t.hasOwnProperty("value") ? ya(e, t.type, n) : t.hasOwnProperty("defaultValue") && ya(e, t.type, on(t.defaultValue)), t.checked == null && t.defaultChecked != null && (e.defaultChecked = !!t.defaultChecked); + t.hasOwnProperty("value") ? xo(e, t.type, n) : t.hasOwnProperty("defaultValue") && xo(e, t.type, an(t.defaultValue)), t.checked == null && t.defaultChecked != null && (e.defaultChecked = !!t.defaultChecked); } -function yi(e, t, n) { +function xi(e, t, n) { if (t.hasOwnProperty("value") || t.hasOwnProperty("defaultValue")) { var r = t.type; if (!(r !== "submit" && r !== "reset" || t.value !== void 0 && t.value !== null)) return; @@ -829,7 +829,7 @@ function yi(e, t, n) { } n = e.name, n !== "" && (e.name = ""), e.defaultChecked = !!e._wrapperState.initialChecked, n !== "" && (e.name = n); } -function ya(e, t, n) { +function xo(e, t, n) { (t !== "number" || Ql(e.ownerDocument) !== e) && (n == null ? e.defaultValue = "" + e._wrapperState.initialValue : e.defaultValue !== "" + n && (e.defaultValue = "" + n)); } var xr = Array.isArray; @@ -839,7 +839,7 @@ function Kn(e, t, n, r) { for (var l = 0; l < n.length; l++) t["$" + n[l]] = !0; for (n = 0; n < e.length; n++) l = t.hasOwnProperty("$" + e[n].value), e[n].selected !== l && (e[n].selected = l), l && r && (e[n].defaultSelected = !0); } else { - for (n = "" + on(n), t = null, l = 0; l < e.length; l++) { + for (n = "" + an(n), t = null, l = 0; l < e.length; l++) { if (e[l].value === n) { e[l].selected = !0, r && (e[l].defaultSelected = !0); return; @@ -849,11 +849,11 @@ function Kn(e, t, n, r) { t !== null && (t.selected = !0); } } -function va(e, t) { +function _o(e, t) { if (t.dangerouslySetInnerHTML != null) throw Error($(91)); return Me({}, t, { value: void 0, defaultValue: void 0, children: "" + e._wrapperState.initialValue }); } -function vi(e, t) { +function _i(e, t) { var n = t.value; if (n == null) { if (n = t.children, t = t.defaultValue, n != null) { @@ -866,17 +866,17 @@ function vi(e, t) { } t == null && (t = ""), n = t; } - e._wrapperState = { initialValue: on(n) }; + e._wrapperState = { initialValue: an(n) }; } -function Xc(e, t) { - var n = on(t.value), r = on(t.defaultValue); +function sd(e, t) { + var n = an(t.value), r = an(t.defaultValue); n != null && (n = "" + n, n !== e.value && (e.value = n), t.defaultValue == null && e.defaultValue !== n && (e.defaultValue = n)), r != null && (e.defaultValue = "" + r); } -function wi(e) { +function ki(e) { var t = e.textContent; t === e._wrapperState.initialValue && t !== "" && t !== null && (e.value = t); } -function Zc(e) { +function od(e) { switch (e) { case "svg": return "http://www.w3.org/2000/svg"; @@ -886,10 +886,10 @@ function Zc(e) { return "http://www.w3.org/1999/xhtml"; } } -function wa(e, t) { - return e == null || e === "http://www.w3.org/1999/xhtml" ? Zc(t) : e === "http://www.w3.org/2000/svg" && t === "foreignObject" ? "http://www.w3.org/1999/xhtml" : e; +function ko(e, t) { + return e == null || e === "http://www.w3.org/1999/xhtml" ? od(t) : e === "http://www.w3.org/2000/svg" && t === "foreignObject" ? "http://www.w3.org/1999/xhtml" : e; } -var fl, Jc = function(e) { +var ml, ad = function(e) { return typeof MSApp < "u" && MSApp.execUnsafeLocalFunction ? function(t, n, r, l) { MSApp.execUnsafeLocalFunction(function() { return e(t, n, r, l); @@ -898,7 +898,7 @@ var fl, Jc = function(e) { }(function(e, t) { if (e.namespaceURI !== "http://www.w3.org/2000/svg" || "innerHTML" in e) e.innerHTML = t; else { - for (fl = fl || document.createElement("div"), fl.innerHTML = "" + t.valueOf().toString() + "", t = fl.firstChild; e.firstChild; ) e.removeChild(e.firstChild); + for (ml = ml || document.createElement("div"), ml.innerHTML = "" + t.valueOf().toString() + "", t = ml.firstChild; e.firstChild; ) e.removeChild(e.firstChild); for (; t.firstChild; ) e.appendChild(t.firstChild); } }); @@ -956,26 +956,26 @@ var Sr = { strokeMiterlimit: !0, strokeOpacity: !0, strokeWidth: !0 -}, hf = ["Webkit", "ms", "Moz", "O"]; +}, bm = ["Webkit", "ms", "Moz", "O"]; Object.keys(Sr).forEach(function(e) { - hf.forEach(function(t) { + bm.forEach(function(t) { t = t + e.charAt(0).toUpperCase() + e.substring(1), Sr[t] = Sr[e]; }); }); -function ed(e, t, n) { +function id(e, t, n) { return t == null || typeof t == "boolean" || t === "" ? "" : n || typeof t != "number" || t === 0 || Sr.hasOwnProperty(e) && Sr[e] ? ("" + t).trim() : t + "px"; } -function td(e, t) { +function cd(e, t) { e = e.style; for (var n in t) if (t.hasOwnProperty(n)) { - var r = n.indexOf("--") === 0, l = ed(n, t[n], r); + var r = n.indexOf("--") === 0, l = id(n, t[n], r); n === "float" && (n = "cssFloat"), r ? e.setProperty(n, l) : e[n] = l; } } -var pf = Me({ menuitem: !0 }, { area: !0, base: !0, br: !0, col: !0, embed: !0, hr: !0, img: !0, input: !0, keygen: !0, link: !0, meta: !0, param: !0, source: !0, track: !0, wbr: !0 }); -function xa(e, t) { +var Em = Me({ menuitem: !0 }, { area: !0, base: !0, br: !0, col: !0, embed: !0, hr: !0, img: !0, input: !0, keygen: !0, link: !0, meta: !0, param: !0, source: !0, track: !0, wbr: !0 }); +function So(e, t) { if (t) { - if (pf[e] && (t.children != null || t.dangerouslySetInnerHTML != null)) throw Error($(137, e)); + if (Em[e] && (t.children != null || t.dangerouslySetInnerHTML != null)) throw Error($(137, e)); if (t.dangerouslySetInnerHTML != null) { if (t.children != null) throw Error($(60)); if (typeof t.dangerouslySetInnerHTML != "object" || !("__html" in t.dangerouslySetInnerHTML)) throw Error($(61)); @@ -983,7 +983,7 @@ function xa(e, t) { if (t.style != null && typeof t.style != "object") throw Error($(62)); } } -function _a(e, t) { +function jo(e, t) { if (e.indexOf("-") === -1) return typeof t.is == "string"; switch (e) { case "annotation-xml": @@ -999,40 +999,40 @@ function _a(e, t) { return !0; } } -var ka = null; -function vo(e) { +var bo = null; +function xa(e) { return e = e.target || e.srcElement || window, e.correspondingUseElement && (e = e.correspondingUseElement), e.nodeType === 3 ? e.parentNode : e; } -var Sa = null, Gn = null, qn = null; -function xi(e) { +var Eo = null, Gn = null, qn = null; +function Si(e) { if (e = nl(e)) { - if (typeof Sa != "function") throw Error($(280)); + if (typeof Eo != "function") throw Error($(280)); var t = e.stateNode; - t && (t = _s(t), Sa(e.stateNode, e.type, t)); + t && (t = _s(t), Eo(e.stateNode, e.type, t)); } } -function nd(e) { +function dd(e) { Gn ? qn ? qn.push(e) : qn = [e] : Gn = e; } -function rd() { +function ud() { if (Gn) { var e = Gn, t = qn; - if (qn = Gn = null, xi(e), t) for (e = 0; e < t.length; e++) xi(t[e]); + if (qn = Gn = null, Si(e), t) for (e = 0; e < t.length; e++) Si(t[e]); } } -function ld(e, t) { +function fd(e, t) { return e(t); } -function sd() { +function md() { } var Ws = !1; -function ad(e, t, n) { +function hd(e, t, n) { if (Ws) return e(t, n); Ws = !0; try { - return ld(e, t, n); + return fd(e, t, n); } finally { - Ws = !1, (Gn !== null || qn !== null) && (sd(), rd()); + Ws = !1, (Gn !== null || qn !== null) && (md(), ud()); } } function Pr(e, t) { @@ -1062,36 +1062,36 @@ function Pr(e, t) { if (n && typeof n != "function") throw Error($(231, t, typeof n)); return n; } -var ja = !1; +var Co = !1; if (At) try { - var mr = {}; - Object.defineProperty(mr, "passive", { get: function() { - ja = !0; - } }), window.addEventListener("test", mr, mr), window.removeEventListener("test", mr, mr); + var fr = {}; + Object.defineProperty(fr, "passive", { get: function() { + Co = !0; + } }), window.addEventListener("test", fr, fr), window.removeEventListener("test", fr, fr); } catch { - ja = !1; + Co = !1; } -function gf(e, t, n, r, l, a, o, i, c) { +function Cm(e, t, n, r, l, o, a, i, c) { var d = Array.prototype.slice.call(arguments, 3); try { t.apply(n, d); - } catch (f) { - this.onError(f); + } catch (m) { + this.onError(m); } } -var jr = !1, Hl = null, Kl = !1, ba = null, yf = { onError: function(e) { +var jr = !1, Hl = null, Kl = !1, No = null, Nm = { onError: function(e) { jr = !0, Hl = e; } }; -function vf(e, t, n, r, l, a, o, i, c) { - jr = !1, Hl = null, gf.apply(yf, arguments); +function Mm(e, t, n, r, l, o, a, i, c) { + jr = !1, Hl = null, Cm.apply(Nm, arguments); } -function wf(e, t, n, r, l, a, o, i, c) { - if (vf.apply(this, arguments), jr) { +function Im(e, t, n, r, l, o, a, i, c) { + if (Mm.apply(this, arguments), jr) { if (jr) { var d = Hl; jr = !1, Hl = null; } else throw Error($(198)); - Kl || (Kl = !0, ba = d); + Kl || (Kl = !0, No = d); } } function Mn(e) { @@ -1105,17 +1105,17 @@ function Mn(e) { } return t.tag === 3 ? n : null; } -function od(e) { +function pd(e) { if (e.tag === 13) { var t = e.memoizedState; if (t === null && (e = e.alternate, e !== null && (t = e.memoizedState)), t !== null) return t.dehydrated; } return null; } -function _i(e) { +function ji(e) { if (Mn(e) !== e) throw Error($(188)); } -function xf(e) { +function Tm(e) { var t = e.alternate; if (!t) { if (t = Mn(e), t === null) throw Error($(188)); @@ -1124,48 +1124,48 @@ function xf(e) { for (var n = e, r = t; ; ) { var l = n.return; if (l === null) break; - var a = l.alternate; - if (a === null) { + var o = l.alternate; + if (o === null) { if (r = l.return, r !== null) { n = r; continue; } break; } - if (l.child === a.child) { - for (a = l.child; a; ) { - if (a === n) return _i(l), e; - if (a === r) return _i(l), t; - a = a.sibling; + if (l.child === o.child) { + for (o = l.child; o; ) { + if (o === n) return ji(l), e; + if (o === r) return ji(l), t; + o = o.sibling; } throw Error($(188)); } - if (n.return !== r.return) n = l, r = a; + if (n.return !== r.return) n = l, r = o; else { - for (var o = !1, i = l.child; i; ) { + for (var a = !1, i = l.child; i; ) { if (i === n) { - o = !0, n = l, r = a; + a = !0, n = l, r = o; break; } if (i === r) { - o = !0, r = l, n = a; + a = !0, r = l, n = o; break; } i = i.sibling; } - if (!o) { - for (i = a.child; i; ) { + if (!a) { + for (i = o.child; i; ) { if (i === n) { - o = !0, n = a, r = l; + a = !0, n = o, r = l; break; } if (i === r) { - o = !0, r = a, n = l; + a = !0, r = o, n = l; break; } i = i.sibling; } - if (!o) throw Error($(189)); + if (!a) throw Error($(189)); } } if (n.alternate !== r) throw Error($(190)); @@ -1173,28 +1173,28 @@ function xf(e) { if (n.tag !== 3) throw Error($(188)); return n.stateNode.current === n ? e : t; } -function id(e) { - return e = xf(e), e !== null ? cd(e) : null; +function gd(e) { + return e = Tm(e), e !== null ? yd(e) : null; } -function cd(e) { +function yd(e) { if (e.tag === 5 || e.tag === 6) return e; for (e = e.child; e !== null; ) { - var t = cd(e); + var t = yd(e); if (t !== null) return t; e = e.sibling; } return null; } -var dd = at.unstable_scheduleCallback, ki = at.unstable_cancelCallback, _f = at.unstable_shouldYield, kf = at.unstable_requestPaint, Te = at.unstable_now, Sf = at.unstable_getCurrentPriorityLevel, wo = at.unstable_ImmediatePriority, ud = at.unstable_UserBlockingPriority, Gl = at.unstable_NormalPriority, jf = at.unstable_LowPriority, md = at.unstable_IdlePriority, ys = null, Mt = null; -function bf(e) { +var vd = ot.unstable_scheduleCallback, bi = ot.unstable_cancelCallback, Lm = ot.unstable_shouldYield, Dm = ot.unstable_requestPaint, Te = ot.unstable_now, Pm = ot.unstable_getCurrentPriorityLevel, _a = ot.unstable_ImmediatePriority, wd = ot.unstable_UserBlockingPriority, Gl = ot.unstable_NormalPriority, Rm = ot.unstable_LowPriority, xd = ot.unstable_IdlePriority, ys = null, Mt = null; +function Om(e) { if (Mt && typeof Mt.onCommitFiberRoot == "function") try { Mt.onCommitFiberRoot(ys, e, void 0, (e.current.flags & 128) === 128); } catch { } } -var kt = Math.clz32 ? Math.clz32 : Nf, Ef = Math.log, Cf = Math.LN2; -function Nf(e) { - return e >>>= 0, e === 0 ? 32 : 31 - (Ef(e) / Cf | 0) | 0; +var kt = Math.clz32 ? Math.clz32 : Fm, Am = Math.log, zm = Math.LN2; +function Fm(e) { + return e >>>= 0, e === 0 ? 32 : 31 - (Am(e) / zm | 0) | 0; } var hl = 64, pl = 4194304; function _r(e) { @@ -1249,17 +1249,17 @@ function _r(e) { function ql(e, t) { var n = e.pendingLanes; if (n === 0) return 0; - var r = 0, l = e.suspendedLanes, a = e.pingedLanes, o = n & 268435455; - if (o !== 0) { - var i = o & ~l; - i !== 0 ? r = _r(i) : (a &= o, a !== 0 && (r = _r(a))); - } else o = n & ~l, o !== 0 ? r = _r(o) : a !== 0 && (r = _r(a)); + var r = 0, l = e.suspendedLanes, o = e.pingedLanes, a = n & 268435455; + if (a !== 0) { + var i = a & ~l; + i !== 0 ? r = _r(i) : (o &= a, o !== 0 && (r = _r(o))); + } else a = n & ~l, a !== 0 ? r = _r(a) : o !== 0 && (r = _r(o)); if (r === 0) return 0; - if (t !== 0 && t !== r && !(t & l) && (l = r & -r, a = t & -t, l >= a || l === 16 && (a & 4194240) !== 0)) return t; + if (t !== 0 && t !== r && !(t & l) && (l = r & -r, o = t & -t, l >= o || l === 16 && (o & 4194240) !== 0)) return t; if (r & 4 && (r |= n & 16), t = e.entangledLanes, t !== 0) for (e = e.entanglements, t &= r; 0 < t; ) n = 31 - kt(t), l = 1 << n, r |= e[n], t &= ~l; return r; } -function Mf(e, t) { +function Wm(e, t) { switch (e) { case 1: case 2: @@ -1300,16 +1300,16 @@ function Mf(e, t) { return -1; } } -function If(e, t) { - for (var n = e.suspendedLanes, r = e.pingedLanes, l = e.expirationTimes, a = e.pendingLanes; 0 < a; ) { - var o = 31 - kt(a), i = 1 << o, c = l[o]; - c === -1 ? (!(i & n) || i & r) && (l[o] = Mf(i, t)) : c <= t && (e.expiredLanes |= i), a &= ~i; +function $m(e, t) { + for (var n = e.suspendedLanes, r = e.pingedLanes, l = e.expirationTimes, o = e.pendingLanes; 0 < o; ) { + var a = 31 - kt(o), i = 1 << a, c = l[a]; + c === -1 ? (!(i & n) || i & r) && (l[a] = Wm(i, t)) : c <= t && (e.expiredLanes |= i), o &= ~i; } } -function Ea(e) { +function Mo(e) { return e = e.pendingLanes & -1073741825, e !== 0 ? e : e & 1073741824 ? 1073741824 : 0; } -function fd() { +function _d() { var e = hl; return hl <<= 1, !(hl & 4194240) && (hl = 64), e; } @@ -1320,16 +1320,16 @@ function $s(e) { function el(e, t, n) { e.pendingLanes |= t, t !== 536870912 && (e.suspendedLanes = 0, e.pingedLanes = 0), e = e.eventTimes, t = 31 - kt(t), e[t] = n; } -function Tf(e, t) { +function Um(e, t) { var n = e.pendingLanes & ~t; e.pendingLanes = t, e.suspendedLanes = 0, e.pingedLanes = 0, e.expiredLanes &= t, e.mutableReadLanes &= t, e.entangledLanes &= t, t = e.entanglements; var r = e.eventTimes; for (e = e.expirationTimes; 0 < n; ) { - var l = 31 - kt(n), a = 1 << l; - t[l] = 0, r[l] = -1, e[l] = -1, n &= ~a; + var l = 31 - kt(n), o = 1 << l; + t[l] = 0, r[l] = -1, e[l] = -1, n &= ~o; } } -function xo(e, t) { +function ka(e, t) { var n = e.entangledLanes |= t; for (e = e.entanglements; n; ) { var r = 31 - kt(n), l = 1 << r; @@ -1337,11 +1337,11 @@ function xo(e, t) { } } var ye = 0; -function hd(e) { +function kd(e) { return e &= -e, 1 < e ? 4 < e ? e & 268435455 ? 16 : 536870912 : 4 : 1; } -var pd, _o, gd, yd, vd, Ca = !1, gl = [], Jt = null, en = null, tn = null, Rr = /* @__PURE__ */ new Map(), Or = /* @__PURE__ */ new Map(), Gt = [], Lf = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" "); -function Si(e, t) { +var Sd, Sa, jd, bd, Ed, Io = !1, gl = [], Jt = null, en = null, tn = null, Rr = /* @__PURE__ */ new Map(), Or = /* @__PURE__ */ new Map(), Gt = [], Vm = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" "); +function Ei(e, t) { switch (e) { case "focusin": case "focusout": @@ -1364,34 +1364,34 @@ function Si(e, t) { Or.delete(t.pointerId); } } -function fr(e, t, n, r, l, a) { - return e === null || e.nativeEvent !== a ? (e = { blockedOn: t, domEventName: n, eventSystemFlags: r, nativeEvent: a, targetContainers: [l] }, t !== null && (t = nl(t), t !== null && _o(t)), e) : (e.eventSystemFlags |= r, t = e.targetContainers, l !== null && t.indexOf(l) === -1 && t.push(l), e); +function mr(e, t, n, r, l, o) { + return e === null || e.nativeEvent !== o ? (e = { blockedOn: t, domEventName: n, eventSystemFlags: r, nativeEvent: o, targetContainers: [l] }, t !== null && (t = nl(t), t !== null && Sa(t)), e) : (e.eventSystemFlags |= r, t = e.targetContainers, l !== null && t.indexOf(l) === -1 && t.push(l), e); } -function Df(e, t, n, r, l) { +function Bm(e, t, n, r, l) { switch (t) { case "focusin": - return Jt = fr(Jt, e, t, n, r, l), !0; + return Jt = mr(Jt, e, t, n, r, l), !0; case "dragenter": - return en = fr(en, e, t, n, r, l), !0; + return en = mr(en, e, t, n, r, l), !0; case "mouseover": - return tn = fr(tn, e, t, n, r, l), !0; + return tn = mr(tn, e, t, n, r, l), !0; case "pointerover": - var a = l.pointerId; - return Rr.set(a, fr(Rr.get(a) || null, e, t, n, r, l)), !0; + var o = l.pointerId; + return Rr.set(o, mr(Rr.get(o) || null, e, t, n, r, l)), !0; case "gotpointercapture": - return a = l.pointerId, Or.set(a, fr(Or.get(a) || null, e, t, n, r, l)), !0; + return o = l.pointerId, Or.set(o, mr(Or.get(o) || null, e, t, n, r, l)), !0; } return !1; } -function wd(e) { +function Cd(e) { var t = yn(e.target); if (t !== null) { var n = Mn(t); if (n !== null) { if (t = n.tag, t === 13) { - if (t = od(n), t !== null) { - e.blockedOn = t, vd(e.priority, function() { - gd(n); + if (t = pd(n), t !== null) { + e.blockedOn = t, Ed(e.priority, function() { + jd(n); }); return; } @@ -1406,24 +1406,24 @@ function wd(e) { function Pl(e) { if (e.blockedOn !== null) return !1; for (var t = e.targetContainers; 0 < t.length; ) { - var n = Na(e.domEventName, e.eventSystemFlags, t[0], e.nativeEvent); + var n = To(e.domEventName, e.eventSystemFlags, t[0], e.nativeEvent); if (n === null) { n = e.nativeEvent; var r = new n.constructor(n.type, n); - ka = r, n.target.dispatchEvent(r), ka = null; - } else return t = nl(n), t !== null && _o(t), e.blockedOn = n, !1; + bo = r, n.target.dispatchEvent(r), bo = null; + } else return t = nl(n), t !== null && Sa(t), e.blockedOn = n, !1; t.shift(); } return !0; } -function ji(e, t, n) { +function Ci(e, t, n) { Pl(e) && n.delete(t); } -function Pf() { - Ca = !1, Jt !== null && Pl(Jt) && (Jt = null), en !== null && Pl(en) && (en = null), tn !== null && Pl(tn) && (tn = null), Rr.forEach(ji), Or.forEach(ji); +function Qm() { + Io = !1, Jt !== null && Pl(Jt) && (Jt = null), en !== null && Pl(en) && (en = null), tn !== null && Pl(tn) && (tn = null), Rr.forEach(Ci), Or.forEach(Ci); } function hr(e, t) { - e.blockedOn === t && (e.blockedOn = null, Ca || (Ca = !0, at.unstable_scheduleCallback(at.unstable_NormalPriority, Pf))); + e.blockedOn === t && (e.blockedOn = null, Io || (Io = !0, ot.unstable_scheduleCallback(ot.unstable_NormalPriority, Qm))); } function Ar(e) { function t(l) { @@ -1437,47 +1437,47 @@ function Ar(e) { } } for (Jt !== null && hr(Jt, e), en !== null && hr(en, e), tn !== null && hr(tn, e), Rr.forEach(t), Or.forEach(t), n = 0; n < Gt.length; n++) r = Gt[n], r.blockedOn === e && (r.blockedOn = null); - for (; 0 < Gt.length && (n = Gt[0], n.blockedOn === null); ) wd(n), n.blockedOn === null && Gt.shift(); + for (; 0 < Gt.length && (n = Gt[0], n.blockedOn === null); ) Cd(n), n.blockedOn === null && Gt.shift(); } var Yn = Ut.ReactCurrentBatchConfig, Yl = !0; -function Rf(e, t, n, r) { - var l = ye, a = Yn.transition; +function Hm(e, t, n, r) { + var l = ye, o = Yn.transition; Yn.transition = null; try { - ye = 1, ko(e, t, n, r); + ye = 1, ja(e, t, n, r); } finally { - ye = l, Yn.transition = a; + ye = l, Yn.transition = o; } } -function Of(e, t, n, r) { - var l = ye, a = Yn.transition; +function Km(e, t, n, r) { + var l = ye, o = Yn.transition; Yn.transition = null; try { - ye = 4, ko(e, t, n, r); + ye = 4, ja(e, t, n, r); } finally { - ye = l, Yn.transition = a; + ye = l, Yn.transition = o; } } -function ko(e, t, n, r) { +function ja(e, t, n, r) { if (Yl) { - var l = Na(e, t, n, r); - if (l === null) Xs(e, t, r, Xl, n), Si(e, r); - else if (Df(l, e, t, n, r)) r.stopPropagation(); - else if (Si(e, r), t & 4 && -1 < Lf.indexOf(e)) { + var l = To(e, t, n, r); + if (l === null) Xs(e, t, r, Xl, n), Ei(e, r); + else if (Bm(l, e, t, n, r)) r.stopPropagation(); + else if (Ei(e, r), t & 4 && -1 < Vm.indexOf(e)) { for (; l !== null; ) { - var a = nl(l); - if (a !== null && pd(a), a = Na(e, t, n, r), a === null && Xs(e, t, r, Xl, n), a === l) break; - l = a; + var o = nl(l); + if (o !== null && Sd(o), o = To(e, t, n, r), o === null && Xs(e, t, r, Xl, n), o === l) break; + l = o; } l !== null && r.stopPropagation(); } else Xs(e, t, r, null, n); } } var Xl = null; -function Na(e, t, n, r) { - if (Xl = null, e = vo(r), e = yn(e), e !== null) if (t = Mn(e), t === null) e = null; +function To(e, t, n, r) { + if (Xl = null, e = xa(r), e = yn(e), e !== null) if (t = Mn(e), t === null) e = null; else if (n = t.tag, n === 13) { - if (e = od(t), e !== null) return e; + if (e = pd(t), e !== null) return e; e = null; } else if (n === 3) { if (t.stateNode.current.memoizedState.isDehydrated) return t.tag === 3 ? t.stateNode.containerInfo : null; @@ -1485,7 +1485,7 @@ function Na(e, t, n, r) { } else t !== e && (e = null); return Xl = e, null; } -function xd(e) { +function Nd(e) { switch (e) { case "cancel": case "click": @@ -1560,15 +1560,15 @@ function xd(e) { case "pointerleave": return 4; case "message": - switch (Sf()) { - case wo: + switch (Pm()) { + case _a: return 1; - case ud: + case wd: return 4; case Gl: - case jf: + case Rm: return 16; - case md: + case xd: return 536870912; default: return 16; @@ -1577,13 +1577,13 @@ function xd(e) { return 16; } } -var Xt = null, So = null, Rl = null; -function _d() { +var Xt = null, ba = null, Rl = null; +function Md() { if (Rl) return Rl; - var e, t = So, n = t.length, r, l = "value" in Xt ? Xt.value : Xt.textContent, a = l.length; + var e, t = ba, n = t.length, r, l = "value" in Xt ? Xt.value : Xt.textContent, o = l.length; for (e = 0; e < n && t[e] === l[e]; e++) ; - var o = n - e; - for (r = 1; r <= o && t[n - r] === l[a - r]; r++) ; + var a = n - e; + for (r = 1; r <= a && t[n - r] === l[o - r]; r++) ; return Rl = l.slice(e, 1 < r ? 1 - r : void 0); } function Ol(e) { @@ -1593,14 +1593,14 @@ function Ol(e) { function yl() { return !0; } -function bi() { +function Ni() { return !1; } function it(e) { - function t(n, r, l, a, o) { - this._reactName = n, this._targetInst = l, this.type = r, this.nativeEvent = a, this.target = o, this.currentTarget = null; - for (var i in e) e.hasOwnProperty(i) && (n = e[i], this[i] = n ? n(a) : a[i]); - return this.isDefaultPrevented = (a.defaultPrevented != null ? a.defaultPrevented : a.returnValue === !1) ? yl : bi, this.isPropagationStopped = bi, this; + function t(n, r, l, o, a) { + this._reactName = n, this._targetInst = l, this.type = r, this.nativeEvent = o, this.target = a, this.currentTarget = null; + for (var i in e) e.hasOwnProperty(i) && (n = e[i], this[i] = n ? n(o) : o[i]); + return this.isDefaultPrevented = (o.defaultPrevented != null ? o.defaultPrevented : o.returnValue === !1) ? yl : Ni, this.isPropagationStopped = Ni, this; } return Me(t.prototype, { preventDefault: function() { this.defaultPrevented = !0; @@ -1614,15 +1614,15 @@ function it(e) { } var ir = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function(e) { return e.timeStamp || Date.now(); -}, defaultPrevented: 0, isTrusted: 0 }, jo = it(ir), tl = Me({}, ir, { view: 0, detail: 0 }), Af = it(tl), Us, Vs, pr, vs = Me({}, tl, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: bo, button: 0, buttons: 0, relatedTarget: function(e) { +}, defaultPrevented: 0, isTrusted: 0 }, Ea = it(ir), tl = Me({}, ir, { view: 0, detail: 0 }), Gm = it(tl), Us, Vs, pr, vs = Me({}, tl, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: Ca, button: 0, buttons: 0, relatedTarget: function(e) { return e.relatedTarget === void 0 ? e.fromElement === e.srcElement ? e.toElement : e.fromElement : e.relatedTarget; }, movementX: function(e) { return "movementX" in e ? e.movementX : (e !== pr && (pr && e.type === "mousemove" ? (Us = e.screenX - pr.screenX, Vs = e.screenY - pr.screenY) : Vs = Us = 0, pr = e), Us); }, movementY: function(e) { return "movementY" in e ? e.movementY : Vs; -} }), Ei = it(vs), zf = Me({}, vs, { dataTransfer: 0 }), Ff = it(zf), Wf = Me({}, tl, { relatedTarget: 0 }), Bs = it(Wf), $f = Me({}, ir, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), Uf = it($f), Vf = Me({}, ir, { clipboardData: function(e) { +} }), Mi = it(vs), qm = Me({}, vs, { dataTransfer: 0 }), Ym = it(qm), Xm = Me({}, tl, { relatedTarget: 0 }), Bs = it(Xm), Zm = Me({}, ir, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), Jm = it(Zm), eh = Me({}, ir, { clipboardData: function(e) { return "clipboardData" in e ? e.clipboardData : window.clipboardData; -} }), Bf = it(Vf), Qf = Me({}, ir, { data: 0 }), Ci = it(Qf), Hf = { +} }), th = it(eh), nh = Me({}, ir, { data: 0 }), Ii = it(nh), rh = { Esc: "Escape", Spacebar: " ", Left: "ArrowLeft", @@ -1635,7 +1635,7 @@ var ir = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function(e) { Apps: "ContextMenu", Scroll: "ScrollLock", MozPrintableKey: "Unidentified" -}, Kf = { +}, lh = { 8: "Backspace", 9: "Tab", 12: "Clear", @@ -1672,27 +1672,27 @@ var ir = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function(e) { 144: "NumLock", 145: "ScrollLock", 224: "Meta" -}, Gf = { Alt: "altKey", Control: "ctrlKey", Meta: "metaKey", Shift: "shiftKey" }; -function qf(e) { +}, sh = { Alt: "altKey", Control: "ctrlKey", Meta: "metaKey", Shift: "shiftKey" }; +function oh(e) { var t = this.nativeEvent; - return t.getModifierState ? t.getModifierState(e) : (e = Gf[e]) ? !!t[e] : !1; + return t.getModifierState ? t.getModifierState(e) : (e = sh[e]) ? !!t[e] : !1; } -function bo() { - return qf; +function Ca() { + return oh; } -var Yf = Me({}, tl, { key: function(e) { +var ah = Me({}, tl, { key: function(e) { if (e.key) { - var t = Hf[e.key] || e.key; + var t = rh[e.key] || e.key; if (t !== "Unidentified") return t; } - return e.type === "keypress" ? (e = Ol(e), e === 13 ? "Enter" : String.fromCharCode(e)) : e.type === "keydown" || e.type === "keyup" ? Kf[e.keyCode] || "Unidentified" : ""; -}, code: 0, location: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, repeat: 0, locale: 0, getModifierState: bo, charCode: function(e) { + return e.type === "keypress" ? (e = Ol(e), e === 13 ? "Enter" : String.fromCharCode(e)) : e.type === "keydown" || e.type === "keyup" ? lh[e.keyCode] || "Unidentified" : ""; +}, code: 0, location: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, repeat: 0, locale: 0, getModifierState: Ca, charCode: function(e) { return e.type === "keypress" ? Ol(e) : 0; }, keyCode: function(e) { return e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0; }, which: function(e) { return e.type === "keypress" ? Ol(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0; -} }), Xf = it(Yf), Zf = Me({}, vs, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 }), Ni = it(Zf), Jf = Me({}, tl, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: bo }), eh = it(Jf), th = Me({}, ir, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), nh = it(th), rh = Me({}, vs, { +} }), ih = it(ah), ch = Me({}, vs, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 }), Ti = it(ch), dh = Me({}, tl, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: Ca }), uh = it(dh), fh = Me({}, ir, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), mh = it(fh), hh = Me({}, vs, { deltaX: function(e) { return "deltaX" in e ? e.deltaX : "wheelDeltaX" in e ? -e.wheelDeltaX : 0; }, @@ -1701,13 +1701,13 @@ var Yf = Me({}, tl, { key: function(e) { }, deltaZ: 0, deltaMode: 0 -}), lh = it(rh), sh = [9, 13, 27, 32], Eo = At && "CompositionEvent" in window, br = null; +}), ph = it(hh), gh = [9, 13, 27, 32], Na = At && "CompositionEvent" in window, br = null; At && "documentMode" in document && (br = document.documentMode); -var ah = At && "TextEvent" in window && !br, kd = At && (!Eo || br && 8 < br && 11 >= br), Mi = " ", Ii = !1; -function Sd(e, t) { +var yh = At && "TextEvent" in window && !br, Id = At && (!Na || br && 8 < br && 11 >= br), Li = " ", Di = !1; +function Td(e, t) { switch (e) { case "keyup": - return sh.indexOf(t.keyCode) !== -1; + return gh.indexOf(t.keyCode) !== -1; case "keydown": return t.keyCode !== 229; case "keypress": @@ -1718,24 +1718,24 @@ function Sd(e, t) { return !1; } } -function jd(e) { +function Ld(e) { return e = e.detail, typeof e == "object" && "data" in e ? e.data : null; } var An = !1; -function oh(e, t) { +function vh(e, t) { switch (e) { case "compositionend": - return jd(t); + return Ld(t); case "keypress": - return t.which !== 32 ? null : (Ii = !0, Mi); + return t.which !== 32 ? null : (Di = !0, Li); case "textInput": - return e = t.data, e === Mi && Ii ? null : e; + return e = t.data, e === Li && Di ? null : e; default: return null; } } -function ih(e, t) { - if (An) return e === "compositionend" || !Eo && Sd(e, t) ? (e = _d(), Rl = So = Xt = null, An = !1, e) : null; +function wh(e, t) { + if (An) return e === "compositionend" || !Na && Td(e, t) ? (e = Md(), Rl = ba = Xt = null, An = !1, e) : null; switch (e) { case "paste": return null; @@ -1746,68 +1746,68 @@ function ih(e, t) { } return null; case "compositionend": - return kd && t.locale !== "ko" ? null : t.data; + return Id && t.locale !== "ko" ? null : t.data; default: return null; } } -var ch = { color: !0, date: !0, datetime: !0, "datetime-local": !0, email: !0, month: !0, number: !0, password: !0, range: !0, search: !0, tel: !0, text: !0, time: !0, url: !0, week: !0 }; -function Ti(e) { +var xh = { color: !0, date: !0, datetime: !0, "datetime-local": !0, email: !0, month: !0, number: !0, password: !0, range: !0, search: !0, tel: !0, text: !0, time: !0, url: !0, week: !0 }; +function Pi(e) { var t = e && e.nodeName && e.nodeName.toLowerCase(); - return t === "input" ? !!ch[e.type] : t === "textarea"; + return t === "input" ? !!xh[e.type] : t === "textarea"; } -function bd(e, t, n, r) { - nd(r), t = Zl(t, "onChange"), 0 < t.length && (n = new jo("onChange", "change", null, n, r), e.push({ event: n, listeners: t })); +function Dd(e, t, n, r) { + dd(r), t = Zl(t, "onChange"), 0 < t.length && (n = new Ea("onChange", "change", null, n, r), e.push({ event: n, listeners: t })); } var Er = null, zr = null; -function dh(e) { - Od(e, 0); +function _h(e) { + Bd(e, 0); } function ws(e) { var t = Wn(e); - if (qc(t)) return e; + if (rd(t)) return e; } -function uh(e, t) { +function kh(e, t) { if (e === "change") return t; } -var Ed = !1; +var Pd = !1; if (At) { var Qs; if (At) { var Hs = "oninput" in document; if (!Hs) { - var Li = document.createElement("div"); - Li.setAttribute("oninput", "return;"), Hs = typeof Li.oninput == "function"; + var Ri = document.createElement("div"); + Ri.setAttribute("oninput", "return;"), Hs = typeof Ri.oninput == "function"; } Qs = Hs; } else Qs = !1; - Ed = Qs && (!document.documentMode || 9 < document.documentMode); + Pd = Qs && (!document.documentMode || 9 < document.documentMode); } -function Di() { - Er && (Er.detachEvent("onpropertychange", Cd), zr = Er = null); +function Oi() { + Er && (Er.detachEvent("onpropertychange", Rd), zr = Er = null); } -function Cd(e) { +function Rd(e) { if (e.propertyName === "value" && ws(zr)) { var t = []; - bd(t, zr, e, vo(e)), ad(dh, t); + Dd(t, zr, e, xa(e)), hd(_h, t); } } -function mh(e, t, n) { - e === "focusin" ? (Di(), Er = t, zr = n, Er.attachEvent("onpropertychange", Cd)) : e === "focusout" && Di(); +function Sh(e, t, n) { + e === "focusin" ? (Oi(), Er = t, zr = n, Er.attachEvent("onpropertychange", Rd)) : e === "focusout" && Oi(); } -function fh(e) { +function jh(e) { if (e === "selectionchange" || e === "keyup" || e === "keydown") return ws(zr); } -function hh(e, t) { +function bh(e, t) { if (e === "click") return ws(t); } -function ph(e, t) { +function Eh(e, t) { if (e === "input" || e === "change") return ws(t); } -function gh(e, t) { +function Ch(e, t) { return e === t && (e !== 0 || 1 / e === 1 / t) || e !== e && t !== t; } -var jt = typeof Object.is == "function" ? Object.is : gh; +var jt = typeof Object.is == "function" ? Object.is : Ch; function Fr(e, t) { if (jt(e, t)) return !0; if (typeof e != "object" || e === null || typeof t != "object" || t === null) return !1; @@ -1815,16 +1815,16 @@ function Fr(e, t) { if (n.length !== r.length) return !1; for (r = 0; r < n.length; r++) { var l = n[r]; - if (!da.call(t, l) || !jt(e[l], t[l])) return !1; + if (!mo.call(t, l) || !jt(e[l], t[l])) return !1; } return !0; } -function Pi(e) { +function Ai(e) { for (; e && e.firstChild; ) e = e.firstChild; return e; } -function Ri(e, t) { - var n = Pi(e); +function zi(e, t) { + var n = Ai(e); e = 0; for (var r; n; ) { if (n.nodeType === 3) { @@ -1841,13 +1841,13 @@ function Ri(e, t) { } n = void 0; } - n = Pi(n); + n = Ai(n); } } -function Nd(e, t) { - return e && t ? e === t ? !0 : e && e.nodeType === 3 ? !1 : t && t.nodeType === 3 ? Nd(e, t.parentNode) : "contains" in e ? e.contains(t) : e.compareDocumentPosition ? !!(e.compareDocumentPosition(t) & 16) : !1 : !1; +function Od(e, t) { + return e && t ? e === t ? !0 : e && e.nodeType === 3 ? !1 : t && t.nodeType === 3 ? Od(e, t.parentNode) : "contains" in e ? e.contains(t) : e.compareDocumentPosition ? !!(e.compareDocumentPosition(t) & 16) : !1 : !1; } -function Md() { +function Ad() { for (var e = window, t = Ql(); t instanceof e.HTMLIFrameElement; ) { try { var n = typeof t.contentWindow.location.href == "string"; @@ -1860,63 +1860,63 @@ function Md() { } return t; } -function Co(e) { +function Ma(e) { var t = e && e.nodeName && e.nodeName.toLowerCase(); return t && (t === "input" && (e.type === "text" || e.type === "search" || e.type === "tel" || e.type === "url" || e.type === "password") || t === "textarea" || e.contentEditable === "true"); } -function yh(e) { - var t = Md(), n = e.focusedElem, r = e.selectionRange; - if (t !== n && n && n.ownerDocument && Nd(n.ownerDocument.documentElement, n)) { - if (r !== null && Co(n)) { +function Nh(e) { + var t = Ad(), n = e.focusedElem, r = e.selectionRange; + if (t !== n && n && n.ownerDocument && Od(n.ownerDocument.documentElement, n)) { + if (r !== null && Ma(n)) { if (t = r.start, e = r.end, e === void 0 && (e = t), "selectionStart" in n) n.selectionStart = t, n.selectionEnd = Math.min(e, n.value.length); else if (e = (t = n.ownerDocument || document) && t.defaultView || window, e.getSelection) { e = e.getSelection(); - var l = n.textContent.length, a = Math.min(r.start, l); - r = r.end === void 0 ? a : Math.min(r.end, l), !e.extend && a > r && (l = r, r = a, a = l), l = Ri(n, a); - var o = Ri( + var l = n.textContent.length, o = Math.min(r.start, l); + r = r.end === void 0 ? o : Math.min(r.end, l), !e.extend && o > r && (l = r, r = o, o = l), l = zi(n, o); + var a = zi( n, r ); - l && o && (e.rangeCount !== 1 || e.anchorNode !== l.node || e.anchorOffset !== l.offset || e.focusNode !== o.node || e.focusOffset !== o.offset) && (t = t.createRange(), t.setStart(l.node, l.offset), e.removeAllRanges(), a > r ? (e.addRange(t), e.extend(o.node, o.offset)) : (t.setEnd(o.node, o.offset), e.addRange(t))); + l && a && (e.rangeCount !== 1 || e.anchorNode !== l.node || e.anchorOffset !== l.offset || e.focusNode !== a.node || e.focusOffset !== a.offset) && (t = t.createRange(), t.setStart(l.node, l.offset), e.removeAllRanges(), o > r ? (e.addRange(t), e.extend(a.node, a.offset)) : (t.setEnd(a.node, a.offset), e.addRange(t))); } } for (t = [], e = n; e = e.parentNode; ) e.nodeType === 1 && t.push({ element: e, left: e.scrollLeft, top: e.scrollTop }); for (typeof n.focus == "function" && n.focus(), n = 0; n < t.length; n++) e = t[n], e.element.scrollLeft = e.left, e.element.scrollTop = e.top; } } -var vh = At && "documentMode" in document && 11 >= document.documentMode, zn = null, Ma = null, Cr = null, Ia = !1; -function Oi(e, t, n) { +var Mh = At && "documentMode" in document && 11 >= document.documentMode, zn = null, Lo = null, Cr = null, Do = !1; +function Fi(e, t, n) { var r = n.window === n ? n.document : n.nodeType === 9 ? n : n.ownerDocument; - Ia || zn == null || zn !== Ql(r) || (r = zn, "selectionStart" in r && Co(r) ? r = { start: r.selectionStart, end: r.selectionEnd } : (r = (r.ownerDocument && r.ownerDocument.defaultView || window).getSelection(), r = { anchorNode: r.anchorNode, anchorOffset: r.anchorOffset, focusNode: r.focusNode, focusOffset: r.focusOffset }), Cr && Fr(Cr, r) || (Cr = r, r = Zl(Ma, "onSelect"), 0 < r.length && (t = new jo("onSelect", "select", null, t, n), e.push({ event: t, listeners: r }), t.target = zn))); + Do || zn == null || zn !== Ql(r) || (r = zn, "selectionStart" in r && Ma(r) ? r = { start: r.selectionStart, end: r.selectionEnd } : (r = (r.ownerDocument && r.ownerDocument.defaultView || window).getSelection(), r = { anchorNode: r.anchorNode, anchorOffset: r.anchorOffset, focusNode: r.focusNode, focusOffset: r.focusOffset }), Cr && Fr(Cr, r) || (Cr = r, r = Zl(Lo, "onSelect"), 0 < r.length && (t = new Ea("onSelect", "select", null, t, n), e.push({ event: t, listeners: r }), t.target = zn))); } function vl(e, t) { var n = {}; return n[e.toLowerCase()] = t.toLowerCase(), n["Webkit" + e] = "webkit" + t, n["Moz" + e] = "moz" + t, n; } -var Fn = { animationend: vl("Animation", "AnimationEnd"), animationiteration: vl("Animation", "AnimationIteration"), animationstart: vl("Animation", "AnimationStart"), transitionend: vl("Transition", "TransitionEnd") }, Ks = {}, Id = {}; -At && (Id = document.createElement("div").style, "AnimationEvent" in window || (delete Fn.animationend.animation, delete Fn.animationiteration.animation, delete Fn.animationstart.animation), "TransitionEvent" in window || delete Fn.transitionend.transition); +var Fn = { animationend: vl("Animation", "AnimationEnd"), animationiteration: vl("Animation", "AnimationIteration"), animationstart: vl("Animation", "AnimationStart"), transitionend: vl("Transition", "TransitionEnd") }, Ks = {}, zd = {}; +At && (zd = document.createElement("div").style, "AnimationEvent" in window || (delete Fn.animationend.animation, delete Fn.animationiteration.animation, delete Fn.animationstart.animation), "TransitionEvent" in window || delete Fn.transitionend.transition); function xs(e) { if (Ks[e]) return Ks[e]; if (!Fn[e]) return e; var t = Fn[e], n; - for (n in t) if (t.hasOwnProperty(n) && n in Id) return Ks[e] = t[n]; + for (n in t) if (t.hasOwnProperty(n) && n in zd) return Ks[e] = t[n]; return e; } -var Td = xs("animationend"), Ld = xs("animationiteration"), Dd = xs("animationstart"), Pd = xs("transitionend"), Rd = /* @__PURE__ */ new Map(), Ai = "abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" "); +var Fd = xs("animationend"), Wd = xs("animationiteration"), $d = xs("animationstart"), Ud = xs("transitionend"), Vd = /* @__PURE__ */ new Map(), Wi = "abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" "); function dn(e, t) { - Rd.set(e, t), Nn(t, [e]); + Vd.set(e, t), Nn(t, [e]); } -for (var Gs = 0; Gs < Ai.length; Gs++) { - var qs = Ai[Gs], wh = qs.toLowerCase(), xh = qs[0].toUpperCase() + qs.slice(1); - dn(wh, "on" + xh); +for (var Gs = 0; Gs < Wi.length; Gs++) { + var qs = Wi[Gs], Ih = qs.toLowerCase(), Th = qs[0].toUpperCase() + qs.slice(1); + dn(Ih, "on" + Th); } -dn(Td, "onAnimationEnd"); -dn(Ld, "onAnimationIteration"); -dn(Dd, "onAnimationStart"); +dn(Fd, "onAnimationEnd"); +dn(Wd, "onAnimationIteration"); +dn($d, "onAnimationStart"); dn("dblclick", "onDoubleClick"); dn("focusin", "onFocus"); dn("focusout", "onBlur"); -dn(Pd, "onTransitionEnd"); +dn(Ud, "onTransitionEnd"); Jn("onMouseEnter", ["mouseout", "mouseover"]); Jn("onMouseLeave", ["mouseout", "mouseover"]); Jn("onPointerEnter", ["pointerout", "pointerover"]); @@ -1927,81 +1927,81 @@ Nn("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]); Nn("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")); Nn("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")); Nn("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" ")); -var kr = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "), _h = new Set("cancel close invalid load scroll toggle".split(" ").concat(kr)); -function zi(e, t, n) { +var kr = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "), Lh = new Set("cancel close invalid load scroll toggle".split(" ").concat(kr)); +function $i(e, t, n) { var r = e.type || "unknown-event"; - e.currentTarget = n, wf(r, t, void 0, e), e.currentTarget = null; + e.currentTarget = n, Im(r, t, void 0, e), e.currentTarget = null; } -function Od(e, t) { +function Bd(e, t) { t = (t & 4) !== 0; for (var n = 0; n < e.length; n++) { var r = e[n], l = r.event; r = r.listeners; e: { - var a = void 0; - if (t) for (var o = r.length - 1; 0 <= o; o--) { - var i = r[o], c = i.instance, d = i.currentTarget; - if (i = i.listener, c !== a && l.isPropagationStopped()) break e; - zi(l, i, d), a = c; + var o = void 0; + if (t) for (var a = r.length - 1; 0 <= a; a--) { + var i = r[a], c = i.instance, d = i.currentTarget; + if (i = i.listener, c !== o && l.isPropagationStopped()) break e; + $i(l, i, d), o = c; } - else for (o = 0; o < r.length; o++) { - if (i = r[o], c = i.instance, d = i.currentTarget, i = i.listener, c !== a && l.isPropagationStopped()) break e; - zi(l, i, d), a = c; + else for (a = 0; a < r.length; a++) { + if (i = r[a], c = i.instance, d = i.currentTarget, i = i.listener, c !== o && l.isPropagationStopped()) break e; + $i(l, i, d), o = c; } } } - if (Kl) throw e = ba, Kl = !1, ba = null, e; + if (Kl) throw e = No, Kl = !1, No = null, e; } function ke(e, t) { - var n = t[Ra]; - n === void 0 && (n = t[Ra] = /* @__PURE__ */ new Set()); + var n = t[zo]; + n === void 0 && (n = t[zo] = /* @__PURE__ */ new Set()); var r = e + "__bubble"; - n.has(r) || (Ad(t, e, 2, !1), n.add(r)); + n.has(r) || (Qd(t, e, 2, !1), n.add(r)); } function Ys(e, t, n) { var r = 0; - t && (r |= 4), Ad(n, e, r, t); + t && (r |= 4), Qd(n, e, r, t); } var wl = "_reactListening" + Math.random().toString(36).slice(2); function Wr(e) { if (!e[wl]) { - e[wl] = !0, Bc.forEach(function(n) { - n !== "selectionchange" && (_h.has(n) || Ys(n, !1, e), Ys(n, !0, e)); + e[wl] = !0, Zc.forEach(function(n) { + n !== "selectionchange" && (Lh.has(n) || Ys(n, !1, e), Ys(n, !0, e)); }); var t = e.nodeType === 9 ? e : e.ownerDocument; t === null || t[wl] || (t[wl] = !0, Ys("selectionchange", !1, t)); } } -function Ad(e, t, n, r) { - switch (xd(t)) { +function Qd(e, t, n, r) { + switch (Nd(t)) { case 1: - var l = Rf; + var l = Hm; break; case 4: - l = Of; + l = Km; break; default: - l = ko; + l = ja; } - n = l.bind(null, t, n, e), l = void 0, !ja || t !== "touchstart" && t !== "touchmove" && t !== "wheel" || (l = !0), r ? l !== void 0 ? e.addEventListener(t, n, { capture: !0, passive: l }) : e.addEventListener(t, n, !0) : l !== void 0 ? e.addEventListener(t, n, { passive: l }) : e.addEventListener(t, n, !1); + n = l.bind(null, t, n, e), l = void 0, !Co || t !== "touchstart" && t !== "touchmove" && t !== "wheel" || (l = !0), r ? l !== void 0 ? e.addEventListener(t, n, { capture: !0, passive: l }) : e.addEventListener(t, n, !0) : l !== void 0 ? e.addEventListener(t, n, { passive: l }) : e.addEventListener(t, n, !1); } function Xs(e, t, n, r, l) { - var a = r; + var o = r; if (!(t & 1) && !(t & 2) && r !== null) e: for (; ; ) { if (r === null) return; - var o = r.tag; - if (o === 3 || o === 4) { + var a = r.tag; + if (a === 3 || a === 4) { var i = r.stateNode.containerInfo; if (i === l || i.nodeType === 8 && i.parentNode === l) break; - if (o === 4) for (o = r.return; o !== null; ) { - var c = o.tag; - if ((c === 3 || c === 4) && (c = o.stateNode.containerInfo, c === l || c.nodeType === 8 && c.parentNode === l)) return; - o = o.return; + if (a === 4) for (a = r.return; a !== null; ) { + var c = a.tag; + if ((c === 3 || c === 4) && (c = a.stateNode.containerInfo, c === l || c.nodeType === 8 && c.parentNode === l)) return; + a = a.return; } for (; i !== null; ) { - if (o = yn(i), o === null) return; - if (c = o.tag, c === 5 || c === 6) { - r = a = o; + if (a = yn(i), a === null) return; + if (c = a.tag, c === 5 || c === 6) { + r = o = a; continue e; } i = i.parentNode; @@ -2009,28 +2009,28 @@ function Xs(e, t, n, r, l) { } r = r.return; } - ad(function() { - var d = a, f = vo(n), v = []; + hd(function() { + var d = o, m = xa(n), v = []; e: { - var w = Rd.get(e); + var w = Vd.get(e); if (w !== void 0) { - var _ = jo, g = e; + var x = Ea, g = e; switch (e) { case "keypress": if (Ol(n) === 0) break e; case "keydown": case "keyup": - _ = Xf; + x = ih; break; case "focusin": - g = "focus", _ = Bs; + g = "focus", x = Bs; break; case "focusout": - g = "blur", _ = Bs; + g = "blur", x = Bs; break; case "beforeblur": case "afterblur": - _ = Bs; + x = Bs; break; case "click": if (n.button === 2) break e; @@ -2042,7 +2042,7 @@ function Xs(e, t, n, r, l) { case "mouseout": case "mouseover": case "contextmenu": - _ = Ei; + x = Mi; break; case "drag": case "dragend": @@ -2052,32 +2052,32 @@ function Xs(e, t, n, r, l) { case "dragover": case "dragstart": case "drop": - _ = Ff; + x = Ym; break; case "touchcancel": case "touchend": case "touchmove": case "touchstart": - _ = eh; + x = uh; break; - case Td: - case Ld: - case Dd: - _ = Uf; + case Fd: + case Wd: + case $d: + x = Jm; break; - case Pd: - _ = nh; + case Ud: + x = mh; break; case "scroll": - _ = Af; + x = Gm; break; case "wheel": - _ = lh; + x = ph; break; case "copy": case "cut": case "paste": - _ = Bf; + x = th; break; case "gotpointercapture": case "lostpointercapture": @@ -2087,92 +2087,92 @@ function Xs(e, t, n, r, l) { case "pointerout": case "pointerover": case "pointerup": - _ = Ni; + x = Ti; } - var x = (t & 4) !== 0, j = !x && e === "scroll", h = x ? w !== null ? w + "Capture" : null : w; - x = []; + var _ = (t & 4) !== 0, j = !_ && e === "scroll", h = _ ? w !== null ? w + "Capture" : null : w; + _ = []; for (var u = d, p; u !== null; ) { p = u; var y = p.stateNode; - if (p.tag === 5 && y !== null && (p = y, h !== null && (y = Pr(u, h), y != null && x.push($r(u, y, p)))), j) break; + if (p.tag === 5 && y !== null && (p = y, h !== null && (y = Pr(u, h), y != null && _.push($r(u, y, p)))), j) break; u = u.return; } - 0 < x.length && (w = new _(w, g, null, n, f), v.push({ event: w, listeners: x })); + 0 < _.length && (w = new x(w, g, null, n, m), v.push({ event: w, listeners: _ })); } } if (!(t & 7)) { e: { - if (w = e === "mouseover" || e === "pointerover", _ = e === "mouseout" || e === "pointerout", w && n !== ka && (g = n.relatedTarget || n.fromElement) && (yn(g) || g[zt])) break e; - if ((_ || w) && (w = f.window === f ? f : (w = f.ownerDocument) ? w.defaultView || w.parentWindow : window, _ ? (g = n.relatedTarget || n.toElement, _ = d, g = g ? yn(g) : null, g !== null && (j = Mn(g), g !== j || g.tag !== 5 && g.tag !== 6) && (g = null)) : (_ = null, g = d), _ !== g)) { - if (x = Ei, y = "onMouseLeave", h = "onMouseEnter", u = "mouse", (e === "pointerout" || e === "pointerover") && (x = Ni, y = "onPointerLeave", h = "onPointerEnter", u = "pointer"), j = _ == null ? w : Wn(_), p = g == null ? w : Wn(g), w = new x(y, u + "leave", _, n, f), w.target = j, w.relatedTarget = p, y = null, yn(f) === d && (x = new x(h, u + "enter", g, n, f), x.target = p, x.relatedTarget = j, y = x), j = y, _ && g) t: { - for (x = _, h = g, u = 0, p = x; p; p = Dn(p)) u++; + if (w = e === "mouseover" || e === "pointerover", x = e === "mouseout" || e === "pointerout", w && n !== bo && (g = n.relatedTarget || n.fromElement) && (yn(g) || g[zt])) break e; + if ((x || w) && (w = m.window === m ? m : (w = m.ownerDocument) ? w.defaultView || w.parentWindow : window, x ? (g = n.relatedTarget || n.toElement, x = d, g = g ? yn(g) : null, g !== null && (j = Mn(g), g !== j || g.tag !== 5 && g.tag !== 6) && (g = null)) : (x = null, g = d), x !== g)) { + if (_ = Mi, y = "onMouseLeave", h = "onMouseEnter", u = "mouse", (e === "pointerout" || e === "pointerover") && (_ = Ti, y = "onPointerLeave", h = "onPointerEnter", u = "pointer"), j = x == null ? w : Wn(x), p = g == null ? w : Wn(g), w = new _(y, u + "leave", x, n, m), w.target = j, w.relatedTarget = p, y = null, yn(m) === d && (_ = new _(h, u + "enter", g, n, m), _.target = p, _.relatedTarget = j, y = _), j = y, x && g) t: { + for (_ = x, h = g, u = 0, p = _; p; p = Dn(p)) u++; for (p = 0, y = h; y; y = Dn(y)) p++; - for (; 0 < u - p; ) x = Dn(x), u--; + for (; 0 < u - p; ) _ = Dn(_), u--; for (; 0 < p - u; ) h = Dn(h), p--; for (; u--; ) { - if (x === h || h !== null && x === h.alternate) break t; - x = Dn(x), h = Dn(h); + if (_ === h || h !== null && _ === h.alternate) break t; + _ = Dn(_), h = Dn(h); } - x = null; + _ = null; } - else x = null; - _ !== null && Fi(v, w, _, x, !1), g !== null && j !== null && Fi(v, j, g, x, !0); + else _ = null; + x !== null && Ui(v, w, x, _, !1), g !== null && j !== null && Ui(v, j, g, _, !0); } } e: { - if (w = d ? Wn(d) : window, _ = w.nodeName && w.nodeName.toLowerCase(), _ === "select" || _ === "input" && w.type === "file") var k = uh; - else if (Ti(w)) if (Ed) k = ph; + if (w = d ? Wn(d) : window, x = w.nodeName && w.nodeName.toLowerCase(), x === "select" || x === "input" && w.type === "file") var S = kh; + else if (Pi(w)) if (Pd) S = Eh; else { - k = fh; - var S = mh; + S = jh; + var k = Sh; } - else (_ = w.nodeName) && _.toLowerCase() === "input" && (w.type === "checkbox" || w.type === "radio") && (k = hh); - if (k && (k = k(e, d))) { - bd(v, k, n, f); + else (x = w.nodeName) && x.toLowerCase() === "input" && (w.type === "checkbox" || w.type === "radio") && (S = bh); + if (S && (S = S(e, d))) { + Dd(v, S, n, m); break e; } - S && S(e, w, d), e === "focusout" && (S = w._wrapperState) && S.controlled && w.type === "number" && ya(w, "number", w.value); + k && k(e, w, d), e === "focusout" && (k = w._wrapperState) && k.controlled && w.type === "number" && xo(w, "number", w.value); } - switch (S = d ? Wn(d) : window, e) { + switch (k = d ? Wn(d) : window, e) { case "focusin": - (Ti(S) || S.contentEditable === "true") && (zn = S, Ma = d, Cr = null); + (Pi(k) || k.contentEditable === "true") && (zn = k, Lo = d, Cr = null); break; case "focusout": - Cr = Ma = zn = null; + Cr = Lo = zn = null; break; case "mousedown": - Ia = !0; + Do = !0; break; case "contextmenu": case "mouseup": case "dragend": - Ia = !1, Oi(v, n, f); + Do = !1, Fi(v, n, m); break; case "selectionchange": - if (vh) break; + if (Mh) break; case "keydown": case "keyup": - Oi(v, n, f); + Fi(v, n, m); } var b; - if (Eo) e: { + if (Na) e: { switch (e) { case "compositionstart": - var M = "onCompositionStart"; + var I = "onCompositionStart"; break e; case "compositionend": - M = "onCompositionEnd"; + I = "onCompositionEnd"; break e; case "compositionupdate": - M = "onCompositionUpdate"; + I = "onCompositionUpdate"; break e; } - M = void 0; + I = void 0; } - else An ? Sd(e, n) && (M = "onCompositionEnd") : e === "keydown" && n.keyCode === 229 && (M = "onCompositionStart"); - M && (kd && n.locale !== "ko" && (An || M !== "onCompositionStart" ? M === "onCompositionEnd" && An && (b = _d()) : (Xt = f, So = "value" in Xt ? Xt.value : Xt.textContent, An = !0)), S = Zl(d, M), 0 < S.length && (M = new Ci(M, e, null, n, f), v.push({ event: M, listeners: S }), b ? M.data = b : (b = jd(n), b !== null && (M.data = b)))), (b = ah ? oh(e, n) : ih(e, n)) && (d = Zl(d, "onBeforeInput"), 0 < d.length && (f = new Ci("onBeforeInput", "beforeinput", null, n, f), v.push({ event: f, listeners: d }), f.data = b)); + else An ? Td(e, n) && (I = "onCompositionEnd") : e === "keydown" && n.keyCode === 229 && (I = "onCompositionStart"); + I && (Id && n.locale !== "ko" && (An || I !== "onCompositionStart" ? I === "onCompositionEnd" && An && (b = Md()) : (Xt = m, ba = "value" in Xt ? Xt.value : Xt.textContent, An = !0)), k = Zl(d, I), 0 < k.length && (I = new Ii(I, e, null, n, m), v.push({ event: I, listeners: k }), b ? I.data = b : (b = Ld(n), b !== null && (I.data = b)))), (b = yh ? vh(e, n) : wh(e, n)) && (d = Zl(d, "onBeforeInput"), 0 < d.length && (m = new Ii("onBeforeInput", "beforeinput", null, n, m), v.push({ event: m, listeners: d }), m.data = b)); } - Od(v, t); + Bd(v, t); }); } function $r(e, t, n) { @@ -2180,8 +2180,8 @@ function $r(e, t, n) { } function Zl(e, t) { for (var n = t + "Capture", r = []; e !== null; ) { - var l = e, a = l.stateNode; - l.tag === 5 && a !== null && (l = a, a = Pr(e, n), a != null && r.unshift($r(e, a, l)), a = Pr(e, t), a != null && r.push($r(e, a, l))), e = e.return; + var l = e, o = l.stateNode; + l.tag === 5 && o !== null && (l = o, o = Pr(e, n), o != null && r.unshift($r(e, o, l)), o = Pr(e, t), o != null && r.push($r(e, o, l))), e = e.return; } return r; } @@ -2192,32 +2192,32 @@ function Dn(e) { while (e && e.tag !== 5); return e || null; } -function Fi(e, t, n, r, l) { - for (var a = t._reactName, o = []; n !== null && n !== r; ) { +function Ui(e, t, n, r, l) { + for (var o = t._reactName, a = []; n !== null && n !== r; ) { var i = n, c = i.alternate, d = i.stateNode; if (c !== null && c === r) break; - i.tag === 5 && d !== null && (i = d, l ? (c = Pr(n, a), c != null && o.unshift($r(n, c, i))) : l || (c = Pr(n, a), c != null && o.push($r(n, c, i)))), n = n.return; + i.tag === 5 && d !== null && (i = d, l ? (c = Pr(n, o), c != null && a.unshift($r(n, c, i))) : l || (c = Pr(n, o), c != null && a.push($r(n, c, i)))), n = n.return; } - o.length !== 0 && e.push({ event: t, listeners: o }); + a.length !== 0 && e.push({ event: t, listeners: a }); } -var kh = /\r\n?/g, Sh = /\u0000|\uFFFD/g; -function Wi(e) { - return (typeof e == "string" ? e : "" + e).replace(kh, ` -`).replace(Sh, ""); +var Dh = /\r\n?/g, Ph = /\u0000|\uFFFD/g; +function Vi(e) { + return (typeof e == "string" ? e : "" + e).replace(Dh, ` +`).replace(Ph, ""); } function xl(e, t, n) { - if (t = Wi(t), Wi(e) !== t && n) throw Error($(425)); + if (t = Vi(t), Vi(e) !== t && n) throw Error($(425)); } function Jl() { } -var Ta = null, La = null; -function Da(e, t) { +var Po = null, Ro = null; +function Oo(e, t) { return e === "textarea" || e === "noscript" || typeof t.children == "string" || typeof t.children == "number" || typeof t.dangerouslySetInnerHTML == "object" && t.dangerouslySetInnerHTML !== null && t.dangerouslySetInnerHTML.__html != null; } -var Pa = typeof setTimeout == "function" ? setTimeout : void 0, jh = typeof clearTimeout == "function" ? clearTimeout : void 0, $i = typeof Promise == "function" ? Promise : void 0, bh = typeof queueMicrotask == "function" ? queueMicrotask : typeof $i < "u" ? function(e) { - return $i.resolve(null).then(e).catch(Eh); -} : Pa; -function Eh(e) { +var Ao = typeof setTimeout == "function" ? setTimeout : void 0, Rh = typeof clearTimeout == "function" ? clearTimeout : void 0, Bi = typeof Promise == "function" ? Promise : void 0, Oh = typeof queueMicrotask == "function" ? queueMicrotask : typeof Bi < "u" ? function(e) { + return Bi.resolve(null).then(e).catch(Ah); +} : Ao; +function Ah(e) { setTimeout(function() { throw e; }); @@ -2248,7 +2248,7 @@ function nn(e) { } return e; } -function Ui(e) { +function Qi(e) { e = e.previousSibling; for (var t = 0; e; ) { if (e.nodeType === 8) { @@ -2262,15 +2262,15 @@ function Ui(e) { } return null; } -var cr = Math.random().toString(36).slice(2), Nt = "__reactFiber$" + cr, Ur = "__reactProps$" + cr, zt = "__reactContainer$" + cr, Ra = "__reactEvents$" + cr, Ch = "__reactListeners$" + cr, Nh = "__reactHandles$" + cr; +var cr = Math.random().toString(36).slice(2), Nt = "__reactFiber$" + cr, Ur = "__reactProps$" + cr, zt = "__reactContainer$" + cr, zo = "__reactEvents$" + cr, zh = "__reactListeners$" + cr, Fh = "__reactHandles$" + cr; function yn(e) { var t = e[Nt]; if (t) return t; for (var n = e.parentNode; n; ) { if (t = n[zt] || n[Nt]) { - if (n = t.alternate, t.child !== null || n !== null && n.child !== null) for (e = Ui(e); e !== null; ) { + if (n = t.alternate, t.child !== null || n !== null && n.child !== null) for (e = Qi(e); e !== null; ) { if (n = e[Nt]) return n; - e = Ui(e); + e = Qi(e); } return t; } @@ -2288,15 +2288,15 @@ function Wn(e) { function _s(e) { return e[Ur] || null; } -var Oa = [], $n = -1; +var Fo = [], $n = -1; function un(e) { return { current: e }; } function Se(e) { - 0 > $n || (e.current = Oa[$n], Oa[$n] = null, $n--); + 0 > $n || (e.current = Fo[$n], Fo[$n] = null, $n--); } function we(e, t) { - $n++, Oa[$n] = e.current, e.current = t; + $n++, Fo[$n] = e.current, e.current = t; } var cn = {}, Qe = un(cn), Ze = un(!1), kn = cn; function er(e, t) { @@ -2304,8 +2304,8 @@ function er(e, t) { if (!n) return cn; var r = e.stateNode; if (r && r.__reactInternalMemoizedUnmaskedChildContext === t) return r.__reactInternalMemoizedMaskedChildContext; - var l = {}, a; - for (a in n) l[a] = t[a]; + var l = {}, o; + for (o in n) l[o] = t[o]; return r && (e = e.stateNode, e.__reactInternalMemoizedUnmaskedChildContext = t, e.__reactInternalMemoizedMaskedChildContext = l), l; } function Je(e) { @@ -2314,33 +2314,33 @@ function Je(e) { function es() { Se(Ze), Se(Qe); } -function Vi(e, t, n) { +function Hi(e, t, n) { if (Qe.current !== cn) throw Error($(168)); we(Qe, t), we(Ze, n); } -function zd(e, t, n) { +function Hd(e, t, n) { var r = e.stateNode; if (t = t.childContextTypes, typeof r.getChildContext != "function") return n; r = r.getChildContext(); - for (var l in r) if (!(l in t)) throw Error($(108, mf(e) || "Unknown", l)); + for (var l in r) if (!(l in t)) throw Error($(108, Sm(e) || "Unknown", l)); return Me({}, n, r); } function ts(e) { return e = (e = e.stateNode) && e.__reactInternalMemoizedMergedChildContext || cn, kn = Qe.current, we(Qe, e), we(Ze, Ze.current), !0; } -function Bi(e, t, n) { +function Ki(e, t, n) { var r = e.stateNode; if (!r) throw Error($(169)); - n ? (e = zd(e, t, kn), r.__reactInternalMemoizedMergedChildContext = e, Se(Ze), Se(Qe), we(Qe, e)) : Se(Ze), we(Ze, n); + n ? (e = Hd(e, t, kn), r.__reactInternalMemoizedMergedChildContext = e, Se(Ze), Se(Qe), we(Qe, e)) : Se(Ze), we(Ze, n); } var Dt = null, ks = !1, Js = !1; -function Fd(e) { +function Kd(e) { Dt === null ? Dt = [e] : Dt.push(e); } -function Mh(e) { - ks = !0, Fd(e); +function Wh(e) { + ks = !0, Kd(e); } -function mn() { +function fn() { if (!Js && Dt !== null) { Js = !0; var e = 0, t = ye; @@ -2354,7 +2354,7 @@ function mn() { } Dt = null, ks = !1; } catch (l) { - throw Dt !== null && (Dt = Dt.slice(e + 1)), dd(wo, mn), l; + throw Dt !== null && (Dt = Dt.slice(e + 1)), vd(_a, fn), l; } finally { ye = t, Js = !1; } @@ -2365,31 +2365,31 @@ var Un = [], Vn = 0, ns = null, rs = 0, dt = [], ut = 0, Sn = null, Pt = 1, Rt = function pn(e, t) { Un[Vn++] = rs, Un[Vn++] = ns, ns = e, rs = t; } -function Wd(e, t, n) { +function Gd(e, t, n) { dt[ut++] = Pt, dt[ut++] = Rt, dt[ut++] = Sn, Sn = e; var r = Pt; e = Rt; var l = 32 - kt(r) - 1; r &= ~(1 << l), n += 1; - var a = 32 - kt(t) + l; - if (30 < a) { - var o = l - l % 5; - a = (r & (1 << o) - 1).toString(32), r >>= o, l -= o, Pt = 1 << 32 - kt(t) + l | n << l | r, Rt = a + e; - } else Pt = 1 << a | n << l | r, Rt = e; + var o = 32 - kt(t) + l; + if (30 < o) { + var a = l - l % 5; + o = (r & (1 << a) - 1).toString(32), r >>= a, l -= a, Pt = 1 << 32 - kt(t) + l | n << l | r, Rt = o + e; + } else Pt = 1 << o | n << l | r, Rt = e; } -function No(e) { - e.return !== null && (pn(e, 1), Wd(e, 1, 0)); +function Ia(e) { + e.return !== null && (pn(e, 1), Gd(e, 1, 0)); } -function Mo(e) { +function Ta(e) { for (; e === ns; ) ns = Un[--Vn], Un[Vn] = null, rs = Un[--Vn], Un[Vn] = null; for (; e === Sn; ) Sn = dt[--ut], dt[ut] = null, Rt = dt[--ut], dt[ut] = null, Pt = dt[--ut], dt[ut] = null; } var st = null, lt = null, be = !1, xt = null; -function $d(e, t) { - var n = mt(5, null, null, 0); +function qd(e, t) { + var n = ft(5, null, null, 0); n.elementType = "DELETED", n.stateNode = t, n.return = e, t = e.deletions, t === null ? (e.deletions = [n], e.flags |= 16) : t.push(n); } -function Qi(e, t) { +function Gi(e, t) { switch (e.tag) { case 5: var n = e.type; @@ -2397,44 +2397,44 @@ function Qi(e, t) { case 6: return t = e.pendingProps === "" || t.nodeType !== 3 ? null : t, t !== null ? (e.stateNode = t, st = e, lt = null, !0) : !1; case 13: - return t = t.nodeType !== 8 ? null : t, t !== null ? (n = Sn !== null ? { id: Pt, overflow: Rt } : null, e.memoizedState = { dehydrated: t, treeContext: n, retryLane: 1073741824 }, n = mt(18, null, null, 0), n.stateNode = t, n.return = e, e.child = n, st = e, lt = null, !0) : !1; + return t = t.nodeType !== 8 ? null : t, t !== null ? (n = Sn !== null ? { id: Pt, overflow: Rt } : null, e.memoizedState = { dehydrated: t, treeContext: n, retryLane: 1073741824 }, n = ft(18, null, null, 0), n.stateNode = t, n.return = e, e.child = n, st = e, lt = null, !0) : !1; default: return !1; } } -function Aa(e) { +function Wo(e) { return (e.mode & 1) !== 0 && (e.flags & 128) === 0; } -function za(e) { +function $o(e) { if (be) { var t = lt; if (t) { var n = t; - if (!Qi(e, t)) { - if (Aa(e)) throw Error($(418)); + if (!Gi(e, t)) { + if (Wo(e)) throw Error($(418)); t = nn(n.nextSibling); var r = st; - t && Qi(e, t) ? $d(r, n) : (e.flags = e.flags & -4097 | 2, be = !1, st = e); + t && Gi(e, t) ? qd(r, n) : (e.flags = e.flags & -4097 | 2, be = !1, st = e); } } else { - if (Aa(e)) throw Error($(418)); + if (Wo(e)) throw Error($(418)); e.flags = e.flags & -4097 | 2, be = !1, st = e; } } } -function Hi(e) { +function qi(e) { for (e = e.return; e !== null && e.tag !== 5 && e.tag !== 3 && e.tag !== 13; ) e = e.return; st = e; } function _l(e) { if (e !== st) return !1; - if (!be) return Hi(e), be = !0, !1; + if (!be) return qi(e), be = !0, !1; var t; - if ((t = e.tag !== 3) && !(t = e.tag !== 5) && (t = e.type, t = t !== "head" && t !== "body" && !Da(e.type, e.memoizedProps)), t && (t = lt)) { - if (Aa(e)) throw Ud(), Error($(418)); - for (; t; ) $d(e, t), t = nn(t.nextSibling); + if ((t = e.tag !== 3) && !(t = e.tag !== 5) && (t = e.type, t = t !== "head" && t !== "body" && !Oo(e.type, e.memoizedProps)), t && (t = lt)) { + if (Wo(e)) throw Yd(), Error($(418)); + for (; t; ) qd(e, t), t = nn(t.nextSibling); } - if (Hi(e), e.tag === 13) { + if (qi(e), e.tag === 13) { if (e = e.memoizedState, e = e !== null ? e.dehydrated : null, !e) throw Error($(317)); e: { for (e = e.nextSibling, t = 0; e; ) { @@ -2455,16 +2455,16 @@ function _l(e) { } else lt = st ? nn(e.stateNode.nextSibling) : null; return !0; } -function Ud() { +function Yd() { for (var e = lt; e; ) e = nn(e.nextSibling); } function tr() { lt = st = null, be = !1; } -function Io(e) { +function La(e) { xt === null ? xt = [e] : xt.push(e); } -var Ih = Ut.ReactCurrentBatchConfig; +var $h = Ut.ReactCurrentBatchConfig; function gr(e, t, n) { if (e = n.ref, e !== null && typeof e != "function" && typeof e != "object") { if (n._owner) { @@ -2473,11 +2473,11 @@ function gr(e, t, n) { var r = n.stateNode; } if (!r) throw Error($(147, e)); - var l = r, a = "" + e; - return t !== null && t.ref !== null && typeof t.ref == "function" && t.ref._stringRef === a ? t.ref : (t = function(o) { + var l = r, o = "" + e; + return t !== null && t.ref !== null && typeof t.ref == "function" && t.ref._stringRef === o ? t.ref : (t = function(a) { var i = l.refs; - o === null ? delete i[a] : i[a] = o; - }, t._stringRef = a, t); + a === null ? delete i[o] : i[o] = a; + }, t._stringRef = o, t); } if (typeof e != "string") throw Error($(284)); if (!n._owner) throw Error($(290, e)); @@ -2487,11 +2487,11 @@ function gr(e, t, n) { function kl(e, t) { throw e = Object.prototype.toString.call(t), Error($(31, e === "[object Object]" ? "object with keys {" + Object.keys(t).join(", ") + "}" : e)); } -function Ki(e) { +function Yi(e) { var t = e._init; return t(e._payload); } -function Vd(e) { +function Xd(e) { function t(h, u) { if (e) { var p = h.deletions; @@ -2508,35 +2508,35 @@ function Vd(e) { return h; } function l(h, u) { - return h = an(h, u), h.index = 0, h.sibling = null, h; + return h = on(h, u), h.index = 0, h.sibling = null, h; } - function a(h, u, p) { + function o(h, u, p) { return h.index = p, e ? (p = h.alternate, p !== null ? (p = p.index, p < u ? (h.flags |= 2, u) : p) : (h.flags |= 2, u)) : (h.flags |= 1048576, u); } - function o(h) { + function a(h) { return e && h.alternate === null && (h.flags |= 2), h; } function i(h, u, p, y) { - return u === null || u.tag !== 6 ? (u = aa(p, h.mode, y), u.return = h, u) : (u = l(u, p), u.return = h, u); + return u === null || u.tag !== 6 ? (u = oo(p, h.mode, y), u.return = h, u) : (u = l(u, p), u.return = h, u); } function c(h, u, p, y) { - var k = p.type; - return k === On ? f(h, u, p.props.children, y, p.key) : u !== null && (u.elementType === k || typeof k == "object" && k !== null && k.$$typeof === Ht && Ki(k) === u.type) ? (y = l(u, p.props), y.ref = gr(h, u, p), y.return = h, y) : (y = Vl(p.type, p.key, p.props, null, h.mode, y), y.ref = gr(h, u, p), y.return = h, y); + var S = p.type; + return S === On ? m(h, u, p.props.children, y, p.key) : u !== null && (u.elementType === S || typeof S == "object" && S !== null && S.$$typeof === Ht && Yi(S) === u.type) ? (y = l(u, p.props), y.ref = gr(h, u, p), y.return = h, y) : (y = Vl(p.type, p.key, p.props, null, h.mode, y), y.ref = gr(h, u, p), y.return = h, y); } function d(h, u, p, y) { - return u === null || u.tag !== 4 || u.stateNode.containerInfo !== p.containerInfo || u.stateNode.implementation !== p.implementation ? (u = oa(p, h.mode, y), u.return = h, u) : (u = l(u, p.children || []), u.return = h, u); + return u === null || u.tag !== 4 || u.stateNode.containerInfo !== p.containerInfo || u.stateNode.implementation !== p.implementation ? (u = ao(p, h.mode, y), u.return = h, u) : (u = l(u, p.children || []), u.return = h, u); } - function f(h, u, p, y, k) { - return u === null || u.tag !== 7 ? (u = _n(p, h.mode, y, k), u.return = h, u) : (u = l(u, p), u.return = h, u); + function m(h, u, p, y, S) { + return u === null || u.tag !== 7 ? (u = _n(p, h.mode, y, S), u.return = h, u) : (u = l(u, p), u.return = h, u); } function v(h, u, p) { - if (typeof u == "string" && u !== "" || typeof u == "number") return u = aa("" + u, h.mode, p), u.return = h, u; + if (typeof u == "string" && u !== "" || typeof u == "number") return u = oo("" + u, h.mode, p), u.return = h, u; if (typeof u == "object" && u !== null) { switch (u.$$typeof) { case ul: return p = Vl(u.type, u.key, u.props, null, h.mode, p), p.ref = gr(h, null, u), p.return = h, p; case Rn: - return u = oa(u, h.mode, p), u.return = h, u; + return u = ao(u, h.mode, p), u.return = h, u; case Ht: var y = u._init; return v(h, y(u._payload), p); @@ -2547,118 +2547,118 @@ function Vd(e) { return null; } function w(h, u, p, y) { - var k = u !== null ? u.key : null; - if (typeof p == "string" && p !== "" || typeof p == "number") return k !== null ? null : i(h, u, "" + p, y); + var S = u !== null ? u.key : null; + if (typeof p == "string" && p !== "" || typeof p == "number") return S !== null ? null : i(h, u, "" + p, y); if (typeof p == "object" && p !== null) { switch (p.$$typeof) { case ul: - return p.key === k ? c(h, u, p, y) : null; + return p.key === S ? c(h, u, p, y) : null; case Rn: - return p.key === k ? d(h, u, p, y) : null; + return p.key === S ? d(h, u, p, y) : null; case Ht: - return k = p._init, w( + return S = p._init, w( h, u, - k(p._payload), + S(p._payload), y ); } - if (xr(p) || ur(p)) return k !== null ? null : f(h, u, p, y, null); + if (xr(p) || ur(p)) return S !== null ? null : m(h, u, p, y, null); kl(h, p); } return null; } - function _(h, u, p, y, k) { - if (typeof y == "string" && y !== "" || typeof y == "number") return h = h.get(p) || null, i(u, h, "" + y, k); + function x(h, u, p, y, S) { + if (typeof y == "string" && y !== "" || typeof y == "number") return h = h.get(p) || null, i(u, h, "" + y, S); if (typeof y == "object" && y !== null) { switch (y.$$typeof) { case ul: - return h = h.get(y.key === null ? p : y.key) || null, c(u, h, y, k); + return h = h.get(y.key === null ? p : y.key) || null, c(u, h, y, S); case Rn: - return h = h.get(y.key === null ? p : y.key) || null, d(u, h, y, k); + return h = h.get(y.key === null ? p : y.key) || null, d(u, h, y, S); case Ht: - var S = y._init; - return _(h, u, p, S(y._payload), k); + var k = y._init; + return x(h, u, p, k(y._payload), S); } - if (xr(y) || ur(y)) return h = h.get(p) || null, f(u, h, y, k, null); + if (xr(y) || ur(y)) return h = h.get(p) || null, m(u, h, y, S, null); kl(u, y); } return null; } function g(h, u, p, y) { - for (var k = null, S = null, b = u, M = u = 0, O = null; b !== null && M < p.length; M++) { - b.index > M ? (O = b, b = null) : O = b.sibling; - var R = w(h, b, p[M], y); + for (var S = null, k = null, b = u, I = u = 0, O = null; b !== null && I < p.length; I++) { + b.index > I ? (O = b, b = null) : O = b.sibling; + var R = w(h, b, p[I], y); if (R === null) { b === null && (b = O); break; } - e && b && R.alternate === null && t(h, b), u = a(R, u, M), S === null ? k = R : S.sibling = R, S = R, b = O; + e && b && R.alternate === null && t(h, b), u = o(R, u, I), k === null ? S = R : k.sibling = R, k = R, b = O; } - if (M === p.length) return n(h, b), be && pn(h, M), k; + if (I === p.length) return n(h, b), be && pn(h, I), S; if (b === null) { - for (; M < p.length; M++) b = v(h, p[M], y), b !== null && (u = a(b, u, M), S === null ? k = b : S.sibling = b, S = b); - return be && pn(h, M), k; + for (; I < p.length; I++) b = v(h, p[I], y), b !== null && (u = o(b, u, I), k === null ? S = b : k.sibling = b, k = b); + return be && pn(h, I), S; } - for (b = r(h, b); M < p.length; M++) O = _(b, h, M, p[M], y), O !== null && (e && O.alternate !== null && b.delete(O.key === null ? M : O.key), u = a(O, u, M), S === null ? k = O : S.sibling = O, S = O); - return e && b.forEach(function(L) { - return t(h, L); - }), be && pn(h, M), k; + for (b = r(h, b); I < p.length; I++) O = x(b, h, I, p[I], y), O !== null && (e && O.alternate !== null && b.delete(O.key === null ? I : O.key), u = o(O, u, I), k === null ? S = O : k.sibling = O, k = O); + return e && b.forEach(function(D) { + return t(h, D); + }), be && pn(h, I), S; } - function x(h, u, p, y) { - var k = ur(p); - if (typeof k != "function") throw Error($(150)); - if (p = k.call(p), p == null) throw Error($(151)); - for (var S = k = null, b = u, M = u = 0, O = null, R = p.next(); b !== null && !R.done; M++, R = p.next()) { - b.index > M ? (O = b, b = null) : O = b.sibling; - var L = w(h, b, R.value, y); - if (L === null) { + function _(h, u, p, y) { + var S = ur(p); + if (typeof S != "function") throw Error($(150)); + if (p = S.call(p), p == null) throw Error($(151)); + for (var k = S = null, b = u, I = u = 0, O = null, R = p.next(); b !== null && !R.done; I++, R = p.next()) { + b.index > I ? (O = b, b = null) : O = b.sibling; + var D = w(h, b, R.value, y); + if (D === null) { b === null && (b = O); break; } - e && b && L.alternate === null && t(h, b), u = a(L, u, M), S === null ? k = L : S.sibling = L, S = L, b = O; + e && b && D.alternate === null && t(h, b), u = o(D, u, I), k === null ? S = D : k.sibling = D, k = D, b = O; } if (R.done) return n( h, b - ), be && pn(h, M), k; + ), be && pn(h, I), S; if (b === null) { - for (; !R.done; M++, R = p.next()) R = v(h, R.value, y), R !== null && (u = a(R, u, M), S === null ? k = R : S.sibling = R, S = R); - return be && pn(h, M), k; + for (; !R.done; I++, R = p.next()) R = v(h, R.value, y), R !== null && (u = o(R, u, I), k === null ? S = R : k.sibling = R, k = R); + return be && pn(h, I), S; } - for (b = r(h, b); !R.done; M++, R = p.next()) R = _(b, h, M, R.value, y), R !== null && (e && R.alternate !== null && b.delete(R.key === null ? M : R.key), u = a(R, u, M), S === null ? k = R : S.sibling = R, S = R); + for (b = r(h, b); !R.done; I++, R = p.next()) R = x(b, h, I, R.value, y), R !== null && (e && R.alternate !== null && b.delete(R.key === null ? I : R.key), u = o(R, u, I), k === null ? S = R : k.sibling = R, k = R); return e && b.forEach(function(U) { return t(h, U); - }), be && pn(h, M), k; + }), be && pn(h, I), S; } function j(h, u, p, y) { if (typeof p == "object" && p !== null && p.type === On && p.key === null && (p = p.props.children), typeof p == "object" && p !== null) { switch (p.$$typeof) { case ul: e: { - for (var k = p.key, S = u; S !== null; ) { - if (S.key === k) { - if (k = p.type, k === On) { - if (S.tag === 7) { - n(h, S.sibling), u = l(S, p.props.children), u.return = h, h = u; + for (var S = p.key, k = u; k !== null; ) { + if (k.key === S) { + if (S = p.type, S === On) { + if (k.tag === 7) { + n(h, k.sibling), u = l(k, p.props.children), u.return = h, h = u; break e; } - } else if (S.elementType === k || typeof k == "object" && k !== null && k.$$typeof === Ht && Ki(k) === S.type) { - n(h, S.sibling), u = l(S, p.props), u.ref = gr(h, S, p), u.return = h, h = u; + } else if (k.elementType === S || typeof S == "object" && S !== null && S.$$typeof === Ht && Yi(S) === k.type) { + n(h, k.sibling), u = l(k, p.props), u.ref = gr(h, k, p), u.return = h, h = u; break e; } - n(h, S); + n(h, k); break; - } else t(h, S); - S = S.sibling; + } else t(h, k); + k = k.sibling; } p.type === On ? (u = _n(p.props.children, h.mode, y, p.key), u.return = h, h = u) : (y = Vl(p.type, p.key, p.props, null, h.mode, y), y.ref = gr(h, u, p), y.return = h, h = y); } - return o(h); + return a(h); case Rn: e: { - for (S = p.key; u !== null; ) { - if (u.key === S) if (u.tag === 4 && u.stateNode.containerInfo === p.containerInfo && u.stateNode.implementation === p.implementation) { + for (k = p.key; u !== null; ) { + if (u.key === k) if (u.tag === 4 && u.stateNode.containerInfo === p.containerInfo && u.stateNode.implementation === p.implementation) { n(h, u.sibling), u = l(u, p.children || []), u.return = h, h = u; break e; } else { @@ -2668,29 +2668,29 @@ function Vd(e) { else t(h, u); u = u.sibling; } - u = oa(p, h.mode, y), u.return = h, h = u; + u = ao(p, h.mode, y), u.return = h, h = u; } - return o(h); + return a(h); case Ht: - return S = p._init, j(h, u, S(p._payload), y); + return k = p._init, j(h, u, k(p._payload), y); } if (xr(p)) return g(h, u, p, y); - if (ur(p)) return x(h, u, p, y); + if (ur(p)) return _(h, u, p, y); kl(h, p); } - return typeof p == "string" && p !== "" || typeof p == "number" ? (p = "" + p, u !== null && u.tag === 6 ? (n(h, u.sibling), u = l(u, p), u.return = h, h = u) : (n(h, u), u = aa(p, h.mode, y), u.return = h, h = u), o(h)) : n(h, u); + return typeof p == "string" && p !== "" || typeof p == "number" ? (p = "" + p, u !== null && u.tag === 6 ? (n(h, u.sibling), u = l(u, p), u.return = h, h = u) : (n(h, u), u = oo(p, h.mode, y), u.return = h, h = u), a(h)) : n(h, u); } return j; } -var nr = Vd(!0), Bd = Vd(!1), ls = un(null), ss = null, Bn = null, To = null; -function Lo() { - To = Bn = ss = null; +var nr = Xd(!0), Zd = Xd(!1), ls = un(null), ss = null, Bn = null, Da = null; +function Pa() { + Da = Bn = ss = null; } -function Do(e) { +function Ra(e) { var t = ls.current; Se(ls), e._currentValue = t; } -function Fa(e, t, n) { +function Uo(e, t, n) { for (; e !== null; ) { var r = e.alternate; if ((e.childLanes & t) !== t ? (e.childLanes |= t, r !== null && (r.childLanes |= t)) : r !== null && (r.childLanes & t) !== t && (r.childLanes |= t), e === n) break; @@ -2698,23 +2698,23 @@ function Fa(e, t, n) { } } function Xn(e, t) { - ss = e, To = Bn = null, e = e.dependencies, e !== null && e.firstContext !== null && (e.lanes & t && (Xe = !0), e.firstContext = null); + ss = e, Da = Bn = null, e = e.dependencies, e !== null && e.firstContext !== null && (e.lanes & t && (Xe = !0), e.firstContext = null); } function pt(e) { var t = e._currentValue; - if (To !== e) if (e = { context: e, memoizedValue: t, next: null }, Bn === null) { + if (Da !== e) if (e = { context: e, memoizedValue: t, next: null }, Bn === null) { if (ss === null) throw Error($(308)); Bn = e, ss.dependencies = { lanes: 0, firstContext: e }; } else Bn = Bn.next = e; return t; } var vn = null; -function Po(e) { +function Oa(e) { vn === null ? vn = [e] : vn.push(e); } -function Qd(e, t, n, r) { +function Jd(e, t, n, r) { var l = t.interleaved; - return l === null ? (n.next = n, Po(t)) : (n.next = l.next, l.next = n), t.interleaved = n, Ft(e, r); + return l === null ? (n.next = n, Oa(t)) : (n.next = l.next, l.next = n), t.interleaved = n, Ft(e, r); } function Ft(e, t) { e.lanes |= t; @@ -2723,10 +2723,10 @@ function Ft(e, t) { return n.tag === 3 ? n.stateNode : null; } var Kt = !1; -function Ro(e) { +function Aa(e) { e.updateQueue = { baseState: e.memoizedState, firstBaseUpdate: null, lastBaseUpdate: null, shared: { pending: null, interleaved: null, lanes: 0 }, effects: null }; } -function Hd(e, t) { +function eu(e, t) { e = e.updateQueue, t.updateQueue === e && (t.updateQueue = { baseState: e.baseState, firstBaseUpdate: e.firstBaseUpdate, lastBaseUpdate: e.lastBaseUpdate, shared: e.shared, effects: e.effects }); } function Ot(e, t) { @@ -2735,53 +2735,53 @@ function Ot(e, t) { function rn(e, t, n) { var r = e.updateQueue; if (r === null) return null; - if (r = r.shared, me & 2) { + if (r = r.shared, fe & 2) { var l = r.pending; return l === null ? t.next = t : (t.next = l.next, l.next = t), r.pending = t, Ft(e, n); } - return l = r.interleaved, l === null ? (t.next = t, Po(r)) : (t.next = l.next, l.next = t), r.interleaved = t, Ft(e, n); + return l = r.interleaved, l === null ? (t.next = t, Oa(r)) : (t.next = l.next, l.next = t), r.interleaved = t, Ft(e, n); } function Al(e, t, n) { if (t = t.updateQueue, t !== null && (t = t.shared, (n & 4194240) !== 0)) { var r = t.lanes; - r &= e.pendingLanes, n |= r, t.lanes = n, xo(e, n); + r &= e.pendingLanes, n |= r, t.lanes = n, ka(e, n); } } -function Gi(e, t) { +function Xi(e, t) { var n = e.updateQueue, r = e.alternate; if (r !== null && (r = r.updateQueue, n === r)) { - var l = null, a = null; + var l = null, o = null; if (n = n.firstBaseUpdate, n !== null) { do { - var o = { eventTime: n.eventTime, lane: n.lane, tag: n.tag, payload: n.payload, callback: n.callback, next: null }; - a === null ? l = a = o : a = a.next = o, n = n.next; + var a = { eventTime: n.eventTime, lane: n.lane, tag: n.tag, payload: n.payload, callback: n.callback, next: null }; + o === null ? l = o = a : o = o.next = a, n = n.next; } while (n !== null); - a === null ? l = a = t : a = a.next = t; - } else l = a = t; - n = { baseState: r.baseState, firstBaseUpdate: l, lastBaseUpdate: a, shared: r.shared, effects: r.effects }, e.updateQueue = n; + o === null ? l = o = t : o = o.next = t; + } else l = o = t; + n = { baseState: r.baseState, firstBaseUpdate: l, lastBaseUpdate: o, shared: r.shared, effects: r.effects }, e.updateQueue = n; return; } e = n.lastBaseUpdate, e === null ? n.firstBaseUpdate = t : e.next = t, n.lastBaseUpdate = t; } -function as(e, t, n, r) { +function os(e, t, n, r) { var l = e.updateQueue; Kt = !1; - var a = l.firstBaseUpdate, o = l.lastBaseUpdate, i = l.shared.pending; + var o = l.firstBaseUpdate, a = l.lastBaseUpdate, i = l.shared.pending; if (i !== null) { l.shared.pending = null; var c = i, d = c.next; - c.next = null, o === null ? a = d : o.next = d, o = c; - var f = e.alternate; - f !== null && (f = f.updateQueue, i = f.lastBaseUpdate, i !== o && (i === null ? f.firstBaseUpdate = d : i.next = d, f.lastBaseUpdate = c)); + c.next = null, a === null ? o = d : a.next = d, a = c; + var m = e.alternate; + m !== null && (m = m.updateQueue, i = m.lastBaseUpdate, i !== a && (i === null ? m.firstBaseUpdate = d : i.next = d, m.lastBaseUpdate = c)); } - if (a !== null) { + if (o !== null) { var v = l.baseState; - o = 0, f = d = c = null, i = a; + a = 0, m = d = c = null, i = o; do { - var w = i.lane, _ = i.eventTime; + var w = i.lane, x = i.eventTime; if ((r & w) === w) { - f !== null && (f = f.next = { - eventTime: _, + m !== null && (m = m.next = { + eventTime: x, lane: 0, tag: i.tag, payload: i.payload, @@ -2789,11 +2789,11 @@ function as(e, t, n, r) { next: null }); e: { - var g = e, x = i; - switch (w = t, _ = n, x.tag) { + var g = e, _ = i; + switch (w = t, x = n, _.tag) { case 1: - if (g = x.payload, typeof g == "function") { - v = g.call(_, v, w); + if (g = _.payload, typeof g == "function") { + v = g.call(x, v, w); break e; } v = g; @@ -2801,7 +2801,7 @@ function as(e, t, n, r) { case 3: g.flags = g.flags & -65537 | 128; case 0: - if (g = x.payload, w = typeof g == "function" ? g.call(_, v, w) : g, w == null) break e; + if (g = _.payload, w = typeof g == "function" ? g.call(x, v, w) : g, w == null) break e; v = Me({}, v, w); break e; case 2: @@ -2809,22 +2809,22 @@ function as(e, t, n, r) { } } i.callback !== null && i.lane !== 0 && (e.flags |= 64, w = l.effects, w === null ? l.effects = [i] : w.push(i)); - } else _ = { eventTime: _, lane: w, tag: i.tag, payload: i.payload, callback: i.callback, next: null }, f === null ? (d = f = _, c = v) : f = f.next = _, o |= w; + } else x = { eventTime: x, lane: w, tag: i.tag, payload: i.payload, callback: i.callback, next: null }, m === null ? (d = m = x, c = v) : m = m.next = x, a |= w; if (i = i.next, i === null) { if (i = l.shared.pending, i === null) break; w = i, i = w.next, w.next = null, l.lastBaseUpdate = w, l.shared.pending = null; } } while (!0); - if (f === null && (c = v), l.baseState = c, l.firstBaseUpdate = d, l.lastBaseUpdate = f, t = l.shared.interleaved, t !== null) { + if (m === null && (c = v), l.baseState = c, l.firstBaseUpdate = d, l.lastBaseUpdate = m, t = l.shared.interleaved, t !== null) { l = t; do - o |= l.lane, l = l.next; + a |= l.lane, l = l.next; while (l !== t); - } else a === null && (l.shared.lanes = 0); - bn |= o, e.lanes = o, e.memoizedState = v; + } else o === null && (l.shared.lanes = 0); + bn |= a, e.lanes = a, e.memoizedState = v; } } -function qi(e, t, n) { +function Zi(e, t, n) { if (e = t.effects, t.effects = null, e !== null) for (t = 0; t < e.length; t++) { var r = e[t], l = r.callback; if (l !== null) { @@ -2838,30 +2838,30 @@ function wn(e) { if (e === rl) throw Error($(174)); return e; } -function Oo(e, t) { +function za(e, t) { switch (we(Br, t), we(Vr, e), we(It, rl), e = t.nodeType, e) { case 9: case 11: - t = (t = t.documentElement) ? t.namespaceURI : wa(null, ""); + t = (t = t.documentElement) ? t.namespaceURI : ko(null, ""); break; default: - e = e === 8 ? t.parentNode : t, t = e.namespaceURI || null, e = e.tagName, t = wa(t, e); + e = e === 8 ? t.parentNode : t, t = e.namespaceURI || null, e = e.tagName, t = ko(t, e); } Se(It), we(It, t); } function rr() { Se(It), Se(Vr), Se(Br); } -function Kd(e) { +function tu(e) { wn(Br.current); - var t = wn(It.current), n = wa(t, e.type); + var t = wn(It.current), n = ko(t, e.type); t !== n && (we(Vr, e), we(It, n)); } -function Ao(e) { +function Fa(e) { Vr.current === e && (Se(It), Se(Vr)); } var Ce = un(0); -function os(e) { +function as(e) { for (var t = e; t !== null; ) { if (t.tag === 13) { var n = t.memoizedState; @@ -2881,32 +2881,32 @@ function os(e) { } return null; } -var ea = []; -function zo() { - for (var e = 0; e < ea.length; e++) ea[e]._workInProgressVersionPrimary = null; - ea.length = 0; +var eo = []; +function Wa() { + for (var e = 0; e < eo.length; e++) eo[e]._workInProgressVersionPrimary = null; + eo.length = 0; } -var zl = Ut.ReactCurrentDispatcher, ta = Ut.ReactCurrentBatchConfig, jn = 0, Ne = null, De = null, Re = null, is = !1, Nr = !1, Qr = 0, Th = 0; +var zl = Ut.ReactCurrentDispatcher, to = Ut.ReactCurrentBatchConfig, jn = 0, Ne = null, De = null, Re = null, is = !1, Nr = !1, Qr = 0, Uh = 0; function Ue() { throw Error($(321)); } -function Fo(e, t) { +function $a(e, t) { if (t === null) return !1; for (var n = 0; n < t.length && n < e.length; n++) if (!jt(e[n], t[n])) return !1; return !0; } -function Wo(e, t, n, r, l, a) { - if (jn = a, Ne = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, zl.current = e === null || e.memoizedState === null ? Rh : Oh, e = n(r, l), Nr) { - a = 0; +function Ua(e, t, n, r, l, o) { + if (jn = o, Ne = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, zl.current = e === null || e.memoizedState === null ? Hh : Kh, e = n(r, l), Nr) { + o = 0; do { - if (Nr = !1, Qr = 0, 25 <= a) throw Error($(301)); - a += 1, Re = De = null, t.updateQueue = null, zl.current = Ah, e = n(r, l); + if (Nr = !1, Qr = 0, 25 <= o) throw Error($(301)); + o += 1, Re = De = null, t.updateQueue = null, zl.current = Gh, e = n(r, l); } while (Nr); } if (zl.current = cs, t = De !== null && De.next !== null, jn = 0, Re = De = Ne = null, is = !1, t) throw Error($(300)); return e; } -function $o() { +function Va() { var e = Qr !== 0; return Qr = 0, e; } @@ -2930,83 +2930,83 @@ function gt() { function Hr(e, t) { return typeof t == "function" ? t(e) : t; } -function na(e) { +function no(e) { var t = gt(), n = t.queue; if (n === null) throw Error($(311)); n.lastRenderedReducer = e; - var r = De, l = r.baseQueue, a = n.pending; - if (a !== null) { + var r = De, l = r.baseQueue, o = n.pending; + if (o !== null) { if (l !== null) { - var o = l.next; - l.next = a.next, a.next = o; + var a = l.next; + l.next = o.next, o.next = a; } - r.baseQueue = l = a, n.pending = null; + r.baseQueue = l = o, n.pending = null; } if (l !== null) { - a = l.next, r = r.baseState; - var i = o = null, c = null, d = a; + o = l.next, r = r.baseState; + var i = a = null, c = null, d = o; do { - var f = d.lane; - if ((jn & f) === f) c !== null && (c = c.next = { lane: 0, action: d.action, hasEagerState: d.hasEagerState, eagerState: d.eagerState, next: null }), r = d.hasEagerState ? d.eagerState : e(r, d.action); + var m = d.lane; + if ((jn & m) === m) c !== null && (c = c.next = { lane: 0, action: d.action, hasEagerState: d.hasEagerState, eagerState: d.eagerState, next: null }), r = d.hasEagerState ? d.eagerState : e(r, d.action); else { var v = { - lane: f, + lane: m, action: d.action, hasEagerState: d.hasEagerState, eagerState: d.eagerState, next: null }; - c === null ? (i = c = v, o = r) : c = c.next = v, Ne.lanes |= f, bn |= f; + c === null ? (i = c = v, a = r) : c = c.next = v, Ne.lanes |= m, bn |= m; } d = d.next; - } while (d !== null && d !== a); - c === null ? o = r : c.next = i, jt(r, t.memoizedState) || (Xe = !0), t.memoizedState = r, t.baseState = o, t.baseQueue = c, n.lastRenderedState = r; + } while (d !== null && d !== o); + c === null ? a = r : c.next = i, jt(r, t.memoizedState) || (Xe = !0), t.memoizedState = r, t.baseState = a, t.baseQueue = c, n.lastRenderedState = r; } if (e = n.interleaved, e !== null) { l = e; do - a = l.lane, Ne.lanes |= a, bn |= a, l = l.next; + o = l.lane, Ne.lanes |= o, bn |= o, l = l.next; while (l !== e); } else l === null && (n.lanes = 0); return [t.memoizedState, n.dispatch]; } -function ra(e) { +function ro(e) { var t = gt(), n = t.queue; if (n === null) throw Error($(311)); n.lastRenderedReducer = e; - var r = n.dispatch, l = n.pending, a = t.memoizedState; + var r = n.dispatch, l = n.pending, o = t.memoizedState; if (l !== null) { n.pending = null; - var o = l = l.next; + var a = l = l.next; do - a = e(a, o.action), o = o.next; - while (o !== l); - jt(a, t.memoizedState) || (Xe = !0), t.memoizedState = a, t.baseQueue === null && (t.baseState = a), n.lastRenderedState = a; + o = e(o, a.action), a = a.next; + while (a !== l); + jt(o, t.memoizedState) || (Xe = !0), t.memoizedState = o, t.baseQueue === null && (t.baseState = o), n.lastRenderedState = o; } - return [a, r]; + return [o, r]; } -function Gd() { +function nu() { } -function qd(e, t) { - var n = Ne, r = gt(), l = t(), a = !jt(r.memoizedState, l); - if (a && (r.memoizedState = l, Xe = !0), r = r.queue, Uo(Zd.bind(null, n, r, e), [e]), r.getSnapshot !== t || a || Re !== null && Re.memoizedState.tag & 1) { - if (n.flags |= 2048, Kr(9, Xd.bind(null, n, r, l, t), void 0, null), Oe === null) throw Error($(349)); - jn & 30 || Yd(n, t, l); +function ru(e, t) { + var n = Ne, r = gt(), l = t(), o = !jt(r.memoizedState, l); + if (o && (r.memoizedState = l, Xe = !0), r = r.queue, Ba(ou.bind(null, n, r, e), [e]), r.getSnapshot !== t || o || Re !== null && Re.memoizedState.tag & 1) { + if (n.flags |= 2048, Kr(9, su.bind(null, n, r, l, t), void 0, null), Oe === null) throw Error($(349)); + jn & 30 || lu(n, t, l); } return l; } -function Yd(e, t, n) { +function lu(e, t, n) { e.flags |= 16384, e = { getSnapshot: t, value: n }, t = Ne.updateQueue, t === null ? (t = { lastEffect: null, stores: null }, Ne.updateQueue = t, t.stores = [e]) : (n = t.stores, n === null ? t.stores = [e] : n.push(e)); } -function Xd(e, t, n, r) { - t.value = n, t.getSnapshot = r, Jd(t) && eu(e); +function su(e, t, n, r) { + t.value = n, t.getSnapshot = r, au(t) && iu(e); } -function Zd(e, t, n) { +function ou(e, t, n) { return n(function() { - Jd(t) && eu(e); + au(t) && iu(e); }); } -function Jd(e) { +function au(e) { var t = e.getSnapshot; e = e.value; try { @@ -3016,18 +3016,18 @@ function Jd(e) { return !0; } } -function eu(e) { +function iu(e) { var t = Ft(e, 1); t !== null && St(t, e, 1, -1); } -function Yi(e) { +function Ji(e) { var t = Ct(); - return typeof e == "function" && (e = e()), t.memoizedState = t.baseState = e, e = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: Hr, lastRenderedState: e }, t.queue = e, e = e.dispatch = Ph.bind(null, Ne, e), [t.memoizedState, e]; + return typeof e == "function" && (e = e()), t.memoizedState = t.baseState = e, e = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: Hr, lastRenderedState: e }, t.queue = e, e = e.dispatch = Qh.bind(null, Ne, e), [t.memoizedState, e]; } function Kr(e, t, n, r) { return e = { tag: e, create: t, destroy: n, deps: r, next: null }, t = Ne.updateQueue, t === null ? (t = { lastEffect: null, stores: null }, Ne.updateQueue = t, t.lastEffect = e.next = e) : (n = t.lastEffect, n === null ? t.lastEffect = e.next = e : (r = n.next, n.next = e, e.next = r, t.lastEffect = e)), e; } -function tu() { +function cu() { return gt().memoizedState; } function Fl(e, t, n, r) { @@ -3037,29 +3037,29 @@ function Fl(e, t, n, r) { function Ss(e, t, n, r) { var l = gt(); r = r === void 0 ? null : r; - var a = void 0; + var o = void 0; if (De !== null) { - var o = De.memoizedState; - if (a = o.destroy, r !== null && Fo(r, o.deps)) { - l.memoizedState = Kr(t, n, a, r); + var a = De.memoizedState; + if (o = a.destroy, r !== null && $a(r, a.deps)) { + l.memoizedState = Kr(t, n, o, r); return; } } - Ne.flags |= e, l.memoizedState = Kr(1 | t, n, a, r); + Ne.flags |= e, l.memoizedState = Kr(1 | t, n, o, r); } -function Xi(e, t) { +function ec(e, t) { return Fl(8390656, 8, e, t); } -function Uo(e, t) { +function Ba(e, t) { return Ss(2048, 8, e, t); } -function nu(e, t) { +function du(e, t) { return Ss(4, 2, e, t); } -function ru(e, t) { +function uu(e, t) { return Ss(4, 4, e, t); } -function lu(e, t) { +function fu(e, t) { if (typeof t == "function") return e = e(), t(e), function() { t(null); }; @@ -3067,88 +3067,88 @@ function lu(e, t) { t.current = null; }; } -function su(e, t, n) { - return n = n != null ? n.concat([e]) : null, Ss(4, 4, lu.bind(null, t, e), n); +function mu(e, t, n) { + return n = n != null ? n.concat([e]) : null, Ss(4, 4, fu.bind(null, t, e), n); } -function Vo() { +function Qa() { } -function au(e, t) { +function hu(e, t) { var n = gt(); t = t === void 0 ? null : t; var r = n.memoizedState; - return r !== null && t !== null && Fo(t, r[1]) ? r[0] : (n.memoizedState = [e, t], e); + return r !== null && t !== null && $a(t, r[1]) ? r[0] : (n.memoizedState = [e, t], e); } -function ou(e, t) { +function pu(e, t) { var n = gt(); t = t === void 0 ? null : t; var r = n.memoizedState; - return r !== null && t !== null && Fo(t, r[1]) ? r[0] : (e = e(), n.memoizedState = [e, t], e); + return r !== null && t !== null && $a(t, r[1]) ? r[0] : (e = e(), n.memoizedState = [e, t], e); } -function iu(e, t, n) { - return jn & 21 ? (jt(n, t) || (n = fd(), Ne.lanes |= n, bn |= n, e.baseState = !0), t) : (e.baseState && (e.baseState = !1, Xe = !0), e.memoizedState = n); +function gu(e, t, n) { + return jn & 21 ? (jt(n, t) || (n = _d(), Ne.lanes |= n, bn |= n, e.baseState = !0), t) : (e.baseState && (e.baseState = !1, Xe = !0), e.memoizedState = n); } -function Lh(e, t) { +function Vh(e, t) { var n = ye; ye = n !== 0 && 4 > n ? n : 4, e(!0); - var r = ta.transition; - ta.transition = {}; + var r = to.transition; + to.transition = {}; try { e(!1), t(); } finally { - ye = n, ta.transition = r; + ye = n, to.transition = r; } } -function cu() { +function yu() { return gt().memoizedState; } -function Dh(e, t, n) { +function Bh(e, t, n) { var r = sn(e); - if (n = { lane: r, action: n, hasEagerState: !1, eagerState: null, next: null }, du(e)) uu(t, n); - else if (n = Qd(e, t, n, r), n !== null) { + if (n = { lane: r, action: n, hasEagerState: !1, eagerState: null, next: null }, vu(e)) wu(t, n); + else if (n = Jd(e, t, n, r), n !== null) { var l = Ke(); - St(n, e, r, l), mu(n, t, r); + St(n, e, r, l), xu(n, t, r); } } -function Ph(e, t, n) { +function Qh(e, t, n) { var r = sn(e), l = { lane: r, action: n, hasEagerState: !1, eagerState: null, next: null }; - if (du(e)) uu(t, l); + if (vu(e)) wu(t, l); else { - var a = e.alternate; - if (e.lanes === 0 && (a === null || a.lanes === 0) && (a = t.lastRenderedReducer, a !== null)) try { - var o = t.lastRenderedState, i = a(o, n); - if (l.hasEagerState = !0, l.eagerState = i, jt(i, o)) { + var o = e.alternate; + if (e.lanes === 0 && (o === null || o.lanes === 0) && (o = t.lastRenderedReducer, o !== null)) try { + var a = t.lastRenderedState, i = o(a, n); + if (l.hasEagerState = !0, l.eagerState = i, jt(i, a)) { var c = t.interleaved; - c === null ? (l.next = l, Po(t)) : (l.next = c.next, c.next = l), t.interleaved = l; + c === null ? (l.next = l, Oa(t)) : (l.next = c.next, c.next = l), t.interleaved = l; return; } } catch { } finally { } - n = Qd(e, t, l, r), n !== null && (l = Ke(), St(n, e, r, l), mu(n, t, r)); + n = Jd(e, t, l, r), n !== null && (l = Ke(), St(n, e, r, l), xu(n, t, r)); } } -function du(e) { +function vu(e) { var t = e.alternate; return e === Ne || t !== null && t === Ne; } -function uu(e, t) { +function wu(e, t) { Nr = is = !0; var n = e.pending; n === null ? t.next = t : (t.next = n.next, n.next = t), e.pending = t; } -function mu(e, t, n) { +function xu(e, t, n) { if (n & 4194240) { var r = t.lanes; - r &= e.pendingLanes, n |= r, t.lanes = n, xo(e, n); + r &= e.pendingLanes, n |= r, t.lanes = n, ka(e, n); } } -var cs = { readContext: pt, useCallback: Ue, useContext: Ue, useEffect: Ue, useImperativeHandle: Ue, useInsertionEffect: Ue, useLayoutEffect: Ue, useMemo: Ue, useReducer: Ue, useRef: Ue, useState: Ue, useDebugValue: Ue, useDeferredValue: Ue, useTransition: Ue, useMutableSource: Ue, useSyncExternalStore: Ue, useId: Ue, unstable_isNewReconciler: !1 }, Rh = { readContext: pt, useCallback: function(e, t) { +var cs = { readContext: pt, useCallback: Ue, useContext: Ue, useEffect: Ue, useImperativeHandle: Ue, useInsertionEffect: Ue, useLayoutEffect: Ue, useMemo: Ue, useReducer: Ue, useRef: Ue, useState: Ue, useDebugValue: Ue, useDeferredValue: Ue, useTransition: Ue, useMutableSource: Ue, useSyncExternalStore: Ue, useId: Ue, unstable_isNewReconciler: !1 }, Hh = { readContext: pt, useCallback: function(e, t) { return Ct().memoizedState = [e, t === void 0 ? null : t], e; -}, useContext: pt, useEffect: Xi, useImperativeHandle: function(e, t, n) { +}, useContext: pt, useEffect: ec, useImperativeHandle: function(e, t, n) { return n = n != null ? n.concat([e]) : null, Fl( 4194308, 4, - lu.bind(null, t, e), + fu.bind(null, t, e), n ); }, useLayoutEffect: function(e, t) { @@ -3160,15 +3160,15 @@ var cs = { readContext: pt, useCallback: Ue, useContext: Ue, useEffect: Ue, useI return t = t === void 0 ? null : t, e = e(), n.memoizedState = [e, t], e; }, useReducer: function(e, t, n) { var r = Ct(); - return t = n !== void 0 ? n(t) : t, r.memoizedState = r.baseState = t, e = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: e, lastRenderedState: t }, r.queue = e, e = e.dispatch = Dh.bind(null, Ne, e), [r.memoizedState, e]; + return t = n !== void 0 ? n(t) : t, r.memoizedState = r.baseState = t, e = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: e, lastRenderedState: t }, r.queue = e, e = e.dispatch = Bh.bind(null, Ne, e), [r.memoizedState, e]; }, useRef: function(e) { var t = Ct(); return e = { current: e }, t.memoizedState = e; -}, useState: Yi, useDebugValue: Vo, useDeferredValue: function(e) { +}, useState: Ji, useDebugValue: Qa, useDeferredValue: function(e) { return Ct().memoizedState = e; }, useTransition: function() { - var e = Yi(!1), t = e[0]; - return e = Lh.bind(null, e[1]), Ct().memoizedState = e, [t, e]; + var e = Ji(!1), t = e[0]; + return e = Vh.bind(null, e[1]), Ct().memoizedState = e, [t, e]; }, useMutableSource: function() { }, useSyncExternalStore: function(e, t, n) { var r = Ne, l = Ct(); @@ -3177,59 +3177,59 @@ var cs = { readContext: pt, useCallback: Ue, useContext: Ue, useEffect: Ue, useI n = n(); } else { if (n = t(), Oe === null) throw Error($(349)); - jn & 30 || Yd(r, t, n); + jn & 30 || lu(r, t, n); } l.memoizedState = n; - var a = { value: n, getSnapshot: t }; - return l.queue = a, Xi(Zd.bind( + var o = { value: n, getSnapshot: t }; + return l.queue = o, ec(ou.bind( null, r, - a, + o, e - ), [e]), r.flags |= 2048, Kr(9, Xd.bind(null, r, a, n, t), void 0, null), n; + ), [e]), r.flags |= 2048, Kr(9, su.bind(null, r, o, n, t), void 0, null), n; }, useId: function() { var e = Ct(), t = Oe.identifierPrefix; if (be) { var n = Rt, r = Pt; n = (r & ~(1 << 32 - kt(r) - 1)).toString(32) + n, t = ":" + t + "R" + n, n = Qr++, 0 < n && (t += "H" + n.toString(32)), t += ":"; - } else n = Th++, t = ":" + t + "r" + n.toString(32) + ":"; + } else n = Uh++, t = ":" + t + "r" + n.toString(32) + ":"; return e.memoizedState = t; -}, unstable_isNewReconciler: !1 }, Oh = { +}, unstable_isNewReconciler: !1 }, Kh = { readContext: pt, - useCallback: au, + useCallback: hu, useContext: pt, - useEffect: Uo, - useImperativeHandle: su, - useInsertionEffect: nu, - useLayoutEffect: ru, - useMemo: ou, - useReducer: na, - useRef: tu, + useEffect: Ba, + useImperativeHandle: mu, + useInsertionEffect: du, + useLayoutEffect: uu, + useMemo: pu, + useReducer: no, + useRef: cu, useState: function() { - return na(Hr); + return no(Hr); }, - useDebugValue: Vo, + useDebugValue: Qa, useDeferredValue: function(e) { var t = gt(); - return iu(t, De.memoizedState, e); + return gu(t, De.memoizedState, e); }, useTransition: function() { - var e = na(Hr)[0], t = gt().memoizedState; + var e = no(Hr)[0], t = gt().memoizedState; return [e, t]; }, - useMutableSource: Gd, - useSyncExternalStore: qd, - useId: cu, + useMutableSource: nu, + useSyncExternalStore: ru, + useId: yu, unstable_isNewReconciler: !1 -}, Ah = { readContext: pt, useCallback: au, useContext: pt, useEffect: Uo, useImperativeHandle: su, useInsertionEffect: nu, useLayoutEffect: ru, useMemo: ou, useReducer: ra, useRef: tu, useState: function() { - return ra(Hr); -}, useDebugValue: Vo, useDeferredValue: function(e) { +}, Gh = { readContext: pt, useCallback: hu, useContext: pt, useEffect: Ba, useImperativeHandle: mu, useInsertionEffect: du, useLayoutEffect: uu, useMemo: pu, useReducer: ro, useRef: cu, useState: function() { + return ro(Hr); +}, useDebugValue: Qa, useDeferredValue: function(e) { var t = gt(); - return De === null ? t.memoizedState = e : iu(t, De.memoizedState, e); + return De === null ? t.memoizedState = e : gu(t, De.memoizedState, e); }, useTransition: function() { - var e = ra(Hr)[0], t = gt().memoizedState; + var e = ro(Hr)[0], t = gt().memoizedState; return [e, t]; -}, useMutableSource: Gd, useSyncExternalStore: qd, useId: cu, unstable_isNewReconciler: !1 }; +}, useMutableSource: nu, useSyncExternalStore: ru, useId: yu, unstable_isNewReconciler: !1 }; function vt(e, t) { if (e && e.defaultProps) { t = Me({}, t), e = e.defaultProps; @@ -3238,58 +3238,58 @@ function vt(e, t) { } return t; } -function Wa(e, t, n, r) { +function Vo(e, t, n, r) { t = e.memoizedState, n = n(r, t), n = n == null ? t : Me({}, t, n), e.memoizedState = n, e.lanes === 0 && (e.updateQueue.baseState = n); } var js = { isMounted: function(e) { return (e = e._reactInternals) ? Mn(e) === e : !1; }, enqueueSetState: function(e, t, n) { e = e._reactInternals; - var r = Ke(), l = sn(e), a = Ot(r, l); - a.payload = t, n != null && (a.callback = n), t = rn(e, a, l), t !== null && (St(t, e, l, r), Al(t, e, l)); + var r = Ke(), l = sn(e), o = Ot(r, l); + o.payload = t, n != null && (o.callback = n), t = rn(e, o, l), t !== null && (St(t, e, l, r), Al(t, e, l)); }, enqueueReplaceState: function(e, t, n) { e = e._reactInternals; - var r = Ke(), l = sn(e), a = Ot(r, l); - a.tag = 1, a.payload = t, n != null && (a.callback = n), t = rn(e, a, l), t !== null && (St(t, e, l, r), Al(t, e, l)); + var r = Ke(), l = sn(e), o = Ot(r, l); + o.tag = 1, o.payload = t, n != null && (o.callback = n), t = rn(e, o, l), t !== null && (St(t, e, l, r), Al(t, e, l)); }, enqueueForceUpdate: function(e, t) { e = e._reactInternals; var n = Ke(), r = sn(e), l = Ot(n, r); l.tag = 2, t != null && (l.callback = t), t = rn(e, l, r), t !== null && (St(t, e, r, n), Al(t, e, r)); } }; -function Zi(e, t, n, r, l, a, o) { - return e = e.stateNode, typeof e.shouldComponentUpdate == "function" ? e.shouldComponentUpdate(r, a, o) : t.prototype && t.prototype.isPureReactComponent ? !Fr(n, r) || !Fr(l, a) : !0; +function tc(e, t, n, r, l, o, a) { + return e = e.stateNode, typeof e.shouldComponentUpdate == "function" ? e.shouldComponentUpdate(r, o, a) : t.prototype && t.prototype.isPureReactComponent ? !Fr(n, r) || !Fr(l, o) : !0; } -function fu(e, t, n) { - var r = !1, l = cn, a = t.contextType; - return typeof a == "object" && a !== null ? a = pt(a) : (l = Je(t) ? kn : Qe.current, r = t.contextTypes, a = (r = r != null) ? er(e, l) : cn), t = new t(n, a), e.memoizedState = t.state !== null && t.state !== void 0 ? t.state : null, t.updater = js, e.stateNode = t, t._reactInternals = e, r && (e = e.stateNode, e.__reactInternalMemoizedUnmaskedChildContext = l, e.__reactInternalMemoizedMaskedChildContext = a), t; +function _u(e, t, n) { + var r = !1, l = cn, o = t.contextType; + return typeof o == "object" && o !== null ? o = pt(o) : (l = Je(t) ? kn : Qe.current, r = t.contextTypes, o = (r = r != null) ? er(e, l) : cn), t = new t(n, o), e.memoizedState = t.state !== null && t.state !== void 0 ? t.state : null, t.updater = js, e.stateNode = t, t._reactInternals = e, r && (e = e.stateNode, e.__reactInternalMemoizedUnmaskedChildContext = l, e.__reactInternalMemoizedMaskedChildContext = o), t; } -function Ji(e, t, n, r) { +function nc(e, t, n, r) { e = t.state, typeof t.componentWillReceiveProps == "function" && t.componentWillReceiveProps(n, r), typeof t.UNSAFE_componentWillReceiveProps == "function" && t.UNSAFE_componentWillReceiveProps(n, r), t.state !== e && js.enqueueReplaceState(t, t.state, null); } -function $a(e, t, n, r) { +function Bo(e, t, n, r) { var l = e.stateNode; - l.props = n, l.state = e.memoizedState, l.refs = {}, Ro(e); - var a = t.contextType; - typeof a == "object" && a !== null ? l.context = pt(a) : (a = Je(t) ? kn : Qe.current, l.context = er(e, a)), l.state = e.memoizedState, a = t.getDerivedStateFromProps, typeof a == "function" && (Wa(e, t, a, n), l.state = e.memoizedState), typeof t.getDerivedStateFromProps == "function" || typeof l.getSnapshotBeforeUpdate == "function" || typeof l.UNSAFE_componentWillMount != "function" && typeof l.componentWillMount != "function" || (t = l.state, typeof l.componentWillMount == "function" && l.componentWillMount(), typeof l.UNSAFE_componentWillMount == "function" && l.UNSAFE_componentWillMount(), t !== l.state && js.enqueueReplaceState(l, l.state, null), as(e, n, l, r), l.state = e.memoizedState), typeof l.componentDidMount == "function" && (e.flags |= 4194308); + l.props = n, l.state = e.memoizedState, l.refs = {}, Aa(e); + var o = t.contextType; + typeof o == "object" && o !== null ? l.context = pt(o) : (o = Je(t) ? kn : Qe.current, l.context = er(e, o)), l.state = e.memoizedState, o = t.getDerivedStateFromProps, typeof o == "function" && (Vo(e, t, o, n), l.state = e.memoizedState), typeof t.getDerivedStateFromProps == "function" || typeof l.getSnapshotBeforeUpdate == "function" || typeof l.UNSAFE_componentWillMount != "function" && typeof l.componentWillMount != "function" || (t = l.state, typeof l.componentWillMount == "function" && l.componentWillMount(), typeof l.UNSAFE_componentWillMount == "function" && l.UNSAFE_componentWillMount(), t !== l.state && js.enqueueReplaceState(l, l.state, null), os(e, n, l, r), l.state = e.memoizedState), typeof l.componentDidMount == "function" && (e.flags |= 4194308); } function lr(e, t) { try { var n = "", r = t; do - n += uf(r), r = r.return; + n += km(r), r = r.return; while (r); var l = n; - } catch (a) { + } catch (o) { l = ` -Error generating stack: ` + a.message + ` -` + a.stack; +Error generating stack: ` + o.message + ` +` + o.stack; } return { value: e, source: t, stack: l, digest: null }; } -function la(e, t, n) { +function lo(e, t, n) { return { value: e, source: null, stack: n ?? null, digest: t ?? null }; } -function Ua(e, t) { +function Qo(e, t) { try { console.error(t.value); } catch (n) { @@ -3298,15 +3298,15 @@ function Ua(e, t) { }); } } -var zh = typeof WeakMap == "function" ? WeakMap : Map; -function hu(e, t, n) { +var qh = typeof WeakMap == "function" ? WeakMap : Map; +function ku(e, t, n) { n = Ot(-1, n), n.tag = 3, n.payload = { element: null }; var r = t.value; return n.callback = function() { - us || (us = !0, Za = r), Ua(e, t); + us || (us = !0, ta = r), Qo(e, t); }, n; } -function pu(e, t, n) { +function Su(e, t, n) { n = Ot(-1, n), n.tag = 3; var r = e.type.getDerivedStateFromError; if (typeof r == "function") { @@ -3314,26 +3314,26 @@ function pu(e, t, n) { n.payload = function() { return r(l); }, n.callback = function() { - Ua(e, t); + Qo(e, t); }; } - var a = e.stateNode; - return a !== null && typeof a.componentDidCatch == "function" && (n.callback = function() { - Ua(e, t), typeof r != "function" && (ln === null ? ln = /* @__PURE__ */ new Set([this]) : ln.add(this)); - var o = t.stack; - this.componentDidCatch(t.value, { componentStack: o !== null ? o : "" }); + var o = e.stateNode; + return o !== null && typeof o.componentDidCatch == "function" && (n.callback = function() { + Qo(e, t), typeof r != "function" && (ln === null ? ln = /* @__PURE__ */ new Set([this]) : ln.add(this)); + var a = t.stack; + this.componentDidCatch(t.value, { componentStack: a !== null ? a : "" }); }), n; } -function ec(e, t, n) { +function rc(e, t, n) { var r = e.pingCache; if (r === null) { - r = e.pingCache = new zh(); + r = e.pingCache = new qh(); var l = /* @__PURE__ */ new Set(); r.set(t, l); } else l = r.get(t), l === void 0 && (l = /* @__PURE__ */ new Set(), r.set(t, l)); - l.has(n) || (l.add(n), e = Zh.bind(null, e, t, n), t.then(e, e)); + l.has(n) || (l.add(n), e = cp.bind(null, e, t, n), t.then(e, e)); } -function tc(e) { +function lc(e) { do { var t; if ((t = e.tag === 13) && (t = e.memoizedState, t = t !== null ? t.dehydrated !== null : !0), t) return e; @@ -3341,127 +3341,127 @@ function tc(e) { } while (e !== null); return null; } -function nc(e, t, n, r, l) { +function sc(e, t, n, r, l) { return e.mode & 1 ? (e.flags |= 65536, e.lanes = l, e) : (e === t ? e.flags |= 65536 : (e.flags |= 128, n.flags |= 131072, n.flags &= -52805, n.tag === 1 && (n.alternate === null ? n.tag = 17 : (t = Ot(-1, 1), t.tag = 2, rn(n, t, 1))), n.lanes |= 1), e); } -var Fh = Ut.ReactCurrentOwner, Xe = !1; +var Yh = Ut.ReactCurrentOwner, Xe = !1; function He(e, t, n, r) { - t.child = e === null ? Bd(t, null, n, r) : nr(t, e.child, n, r); + t.child = e === null ? Zd(t, null, n, r) : nr(t, e.child, n, r); } -function rc(e, t, n, r, l) { +function oc(e, t, n, r, l) { n = n.render; - var a = t.ref; - return Xn(t, l), r = Wo(e, t, n, r, a, l), n = $o(), e !== null && !Xe ? (t.updateQueue = e.updateQueue, t.flags &= -2053, e.lanes &= ~l, Wt(e, t, l)) : (be && n && No(t), t.flags |= 1, He(e, t, r, l), t.child); + var o = t.ref; + return Xn(t, l), r = Ua(e, t, n, r, o, l), n = Va(), e !== null && !Xe ? (t.updateQueue = e.updateQueue, t.flags &= -2053, e.lanes &= ~l, Wt(e, t, l)) : (be && n && Ia(t), t.flags |= 1, He(e, t, r, l), t.child); } -function lc(e, t, n, r, l) { +function ac(e, t, n, r, l) { if (e === null) { - var a = n.type; - return typeof a == "function" && !Xo(a) && a.defaultProps === void 0 && n.compare === null && n.defaultProps === void 0 ? (t.tag = 15, t.type = a, gu(e, t, a, r, l)) : (e = Vl(n.type, null, r, t, t.mode, l), e.ref = t.ref, e.return = t, t.child = e); + var o = n.type; + return typeof o == "function" && !Ja(o) && o.defaultProps === void 0 && n.compare === null && n.defaultProps === void 0 ? (t.tag = 15, t.type = o, ju(e, t, o, r, l)) : (e = Vl(n.type, null, r, t, t.mode, l), e.ref = t.ref, e.return = t, t.child = e); } - if (a = e.child, !(e.lanes & l)) { - var o = a.memoizedProps; - if (n = n.compare, n = n !== null ? n : Fr, n(o, r) && e.ref === t.ref) return Wt(e, t, l); + if (o = e.child, !(e.lanes & l)) { + var a = o.memoizedProps; + if (n = n.compare, n = n !== null ? n : Fr, n(a, r) && e.ref === t.ref) return Wt(e, t, l); } - return t.flags |= 1, e = an(a, r), e.ref = t.ref, e.return = t, t.child = e; + return t.flags |= 1, e = on(o, r), e.ref = t.ref, e.return = t, t.child = e; } -function gu(e, t, n, r, l) { +function ju(e, t, n, r, l) { if (e !== null) { - var a = e.memoizedProps; - if (Fr(a, r) && e.ref === t.ref) if (Xe = !1, t.pendingProps = r = a, (e.lanes & l) !== 0) e.flags & 131072 && (Xe = !0); + var o = e.memoizedProps; + if (Fr(o, r) && e.ref === t.ref) if (Xe = !1, t.pendingProps = r = o, (e.lanes & l) !== 0) e.flags & 131072 && (Xe = !0); else return t.lanes = e.lanes, Wt(e, t, l); } - return Va(e, t, n, r, l); + return Ho(e, t, n, r, l); } -function yu(e, t, n) { - var r = t.pendingProps, l = r.children, a = e !== null ? e.memoizedState : null; +function bu(e, t, n) { + var r = t.pendingProps, l = r.children, o = e !== null ? e.memoizedState : null; if (r.mode === "hidden") if (!(t.mode & 1)) t.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, we(Hn, rt), rt |= n; else { - if (!(n & 1073741824)) return e = a !== null ? a.baseLanes | n : n, t.lanes = t.childLanes = 1073741824, t.memoizedState = { baseLanes: e, cachePool: null, transitions: null }, t.updateQueue = null, we(Hn, rt), rt |= e, null; - t.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, r = a !== null ? a.baseLanes : n, we(Hn, rt), rt |= r; + if (!(n & 1073741824)) return e = o !== null ? o.baseLanes | n : n, t.lanes = t.childLanes = 1073741824, t.memoizedState = { baseLanes: e, cachePool: null, transitions: null }, t.updateQueue = null, we(Hn, rt), rt |= e, null; + t.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, r = o !== null ? o.baseLanes : n, we(Hn, rt), rt |= r; } - else a !== null ? (r = a.baseLanes | n, t.memoizedState = null) : r = n, we(Hn, rt), rt |= r; + else o !== null ? (r = o.baseLanes | n, t.memoizedState = null) : r = n, we(Hn, rt), rt |= r; return He(e, t, l, n), t.child; } -function vu(e, t) { +function Eu(e, t) { var n = t.ref; (e === null && n !== null || e !== null && e.ref !== n) && (t.flags |= 512, t.flags |= 2097152); } -function Va(e, t, n, r, l) { - var a = Je(n) ? kn : Qe.current; - return a = er(t, a), Xn(t, l), n = Wo(e, t, n, r, a, l), r = $o(), e !== null && !Xe ? (t.updateQueue = e.updateQueue, t.flags &= -2053, e.lanes &= ~l, Wt(e, t, l)) : (be && r && No(t), t.flags |= 1, He(e, t, n, l), t.child); +function Ho(e, t, n, r, l) { + var o = Je(n) ? kn : Qe.current; + return o = er(t, o), Xn(t, l), n = Ua(e, t, n, r, o, l), r = Va(), e !== null && !Xe ? (t.updateQueue = e.updateQueue, t.flags &= -2053, e.lanes &= ~l, Wt(e, t, l)) : (be && r && Ia(t), t.flags |= 1, He(e, t, n, l), t.child); } -function sc(e, t, n, r, l) { +function ic(e, t, n, r, l) { if (Je(n)) { - var a = !0; + var o = !0; ts(t); - } else a = !1; - if (Xn(t, l), t.stateNode === null) Wl(e, t), fu(t, n, r), $a(t, n, r, l), r = !0; + } else o = !1; + if (Xn(t, l), t.stateNode === null) Wl(e, t), _u(t, n, r), Bo(t, n, r, l), r = !0; else if (e === null) { - var o = t.stateNode, i = t.memoizedProps; - o.props = i; - var c = o.context, d = n.contextType; + var a = t.stateNode, i = t.memoizedProps; + a.props = i; + var c = a.context, d = n.contextType; typeof d == "object" && d !== null ? d = pt(d) : (d = Je(n) ? kn : Qe.current, d = er(t, d)); - var f = n.getDerivedStateFromProps, v = typeof f == "function" || typeof o.getSnapshotBeforeUpdate == "function"; - v || typeof o.UNSAFE_componentWillReceiveProps != "function" && typeof o.componentWillReceiveProps != "function" || (i !== r || c !== d) && Ji(t, o, r, d), Kt = !1; + var m = n.getDerivedStateFromProps, v = typeof m == "function" || typeof a.getSnapshotBeforeUpdate == "function"; + v || typeof a.UNSAFE_componentWillReceiveProps != "function" && typeof a.componentWillReceiveProps != "function" || (i !== r || c !== d) && nc(t, a, r, d), Kt = !1; var w = t.memoizedState; - o.state = w, as(t, r, o, l), c = t.memoizedState, i !== r || w !== c || Ze.current || Kt ? (typeof f == "function" && (Wa(t, n, f, r), c = t.memoizedState), (i = Kt || Zi(t, n, i, r, w, c, d)) ? (v || typeof o.UNSAFE_componentWillMount != "function" && typeof o.componentWillMount != "function" || (typeof o.componentWillMount == "function" && o.componentWillMount(), typeof o.UNSAFE_componentWillMount == "function" && o.UNSAFE_componentWillMount()), typeof o.componentDidMount == "function" && (t.flags |= 4194308)) : (typeof o.componentDidMount == "function" && (t.flags |= 4194308), t.memoizedProps = r, t.memoizedState = c), o.props = r, o.state = c, o.context = d, r = i) : (typeof o.componentDidMount == "function" && (t.flags |= 4194308), r = !1); + a.state = w, os(t, r, a, l), c = t.memoizedState, i !== r || w !== c || Ze.current || Kt ? (typeof m == "function" && (Vo(t, n, m, r), c = t.memoizedState), (i = Kt || tc(t, n, i, r, w, c, d)) ? (v || typeof a.UNSAFE_componentWillMount != "function" && typeof a.componentWillMount != "function" || (typeof a.componentWillMount == "function" && a.componentWillMount(), typeof a.UNSAFE_componentWillMount == "function" && a.UNSAFE_componentWillMount()), typeof a.componentDidMount == "function" && (t.flags |= 4194308)) : (typeof a.componentDidMount == "function" && (t.flags |= 4194308), t.memoizedProps = r, t.memoizedState = c), a.props = r, a.state = c, a.context = d, r = i) : (typeof a.componentDidMount == "function" && (t.flags |= 4194308), r = !1); } else { - o = t.stateNode, Hd(e, t), i = t.memoizedProps, d = t.type === t.elementType ? i : vt(t.type, i), o.props = d, v = t.pendingProps, w = o.context, c = n.contextType, typeof c == "object" && c !== null ? c = pt(c) : (c = Je(n) ? kn : Qe.current, c = er(t, c)); - var _ = n.getDerivedStateFromProps; - (f = typeof _ == "function" || typeof o.getSnapshotBeforeUpdate == "function") || typeof o.UNSAFE_componentWillReceiveProps != "function" && typeof o.componentWillReceiveProps != "function" || (i !== v || w !== c) && Ji(t, o, r, c), Kt = !1, w = t.memoizedState, o.state = w, as(t, r, o, l); + a = t.stateNode, eu(e, t), i = t.memoizedProps, d = t.type === t.elementType ? i : vt(t.type, i), a.props = d, v = t.pendingProps, w = a.context, c = n.contextType, typeof c == "object" && c !== null ? c = pt(c) : (c = Je(n) ? kn : Qe.current, c = er(t, c)); + var x = n.getDerivedStateFromProps; + (m = typeof x == "function" || typeof a.getSnapshotBeforeUpdate == "function") || typeof a.UNSAFE_componentWillReceiveProps != "function" && typeof a.componentWillReceiveProps != "function" || (i !== v || w !== c) && nc(t, a, r, c), Kt = !1, w = t.memoizedState, a.state = w, os(t, r, a, l); var g = t.memoizedState; - i !== v || w !== g || Ze.current || Kt ? (typeof _ == "function" && (Wa(t, n, _, r), g = t.memoizedState), (d = Kt || Zi(t, n, d, r, w, g, c) || !1) ? (f || typeof o.UNSAFE_componentWillUpdate != "function" && typeof o.componentWillUpdate != "function" || (typeof o.componentWillUpdate == "function" && o.componentWillUpdate(r, g, c), typeof o.UNSAFE_componentWillUpdate == "function" && o.UNSAFE_componentWillUpdate(r, g, c)), typeof o.componentDidUpdate == "function" && (t.flags |= 4), typeof o.getSnapshotBeforeUpdate == "function" && (t.flags |= 1024)) : (typeof o.componentDidUpdate != "function" || i === e.memoizedProps && w === e.memoizedState || (t.flags |= 4), typeof o.getSnapshotBeforeUpdate != "function" || i === e.memoizedProps && w === e.memoizedState || (t.flags |= 1024), t.memoizedProps = r, t.memoizedState = g), o.props = r, o.state = g, o.context = c, r = d) : (typeof o.componentDidUpdate != "function" || i === e.memoizedProps && w === e.memoizedState || (t.flags |= 4), typeof o.getSnapshotBeforeUpdate != "function" || i === e.memoizedProps && w === e.memoizedState || (t.flags |= 1024), r = !1); + i !== v || w !== g || Ze.current || Kt ? (typeof x == "function" && (Vo(t, n, x, r), g = t.memoizedState), (d = Kt || tc(t, n, d, r, w, g, c) || !1) ? (m || typeof a.UNSAFE_componentWillUpdate != "function" && typeof a.componentWillUpdate != "function" || (typeof a.componentWillUpdate == "function" && a.componentWillUpdate(r, g, c), typeof a.UNSAFE_componentWillUpdate == "function" && a.UNSAFE_componentWillUpdate(r, g, c)), typeof a.componentDidUpdate == "function" && (t.flags |= 4), typeof a.getSnapshotBeforeUpdate == "function" && (t.flags |= 1024)) : (typeof a.componentDidUpdate != "function" || i === e.memoizedProps && w === e.memoizedState || (t.flags |= 4), typeof a.getSnapshotBeforeUpdate != "function" || i === e.memoizedProps && w === e.memoizedState || (t.flags |= 1024), t.memoizedProps = r, t.memoizedState = g), a.props = r, a.state = g, a.context = c, r = d) : (typeof a.componentDidUpdate != "function" || i === e.memoizedProps && w === e.memoizedState || (t.flags |= 4), typeof a.getSnapshotBeforeUpdate != "function" || i === e.memoizedProps && w === e.memoizedState || (t.flags |= 1024), r = !1); } - return Ba(e, t, n, r, a, l); + return Ko(e, t, n, r, o, l); } -function Ba(e, t, n, r, l, a) { - vu(e, t); - var o = (t.flags & 128) !== 0; - if (!r && !o) return l && Bi(t, n, !1), Wt(e, t, a); - r = t.stateNode, Fh.current = t; - var i = o && typeof n.getDerivedStateFromError != "function" ? null : r.render(); - return t.flags |= 1, e !== null && o ? (t.child = nr(t, e.child, null, a), t.child = nr(t, null, i, a)) : He(e, t, i, a), t.memoizedState = r.state, l && Bi(t, n, !0), t.child; +function Ko(e, t, n, r, l, o) { + Eu(e, t); + var a = (t.flags & 128) !== 0; + if (!r && !a) return l && Ki(t, n, !1), Wt(e, t, o); + r = t.stateNode, Yh.current = t; + var i = a && typeof n.getDerivedStateFromError != "function" ? null : r.render(); + return t.flags |= 1, e !== null && a ? (t.child = nr(t, e.child, null, o), t.child = nr(t, null, i, o)) : He(e, t, i, o), t.memoizedState = r.state, l && Ki(t, n, !0), t.child; } -function wu(e) { +function Cu(e) { var t = e.stateNode; - t.pendingContext ? Vi(e, t.pendingContext, t.pendingContext !== t.context) : t.context && Vi(e, t.context, !1), Oo(e, t.containerInfo); + t.pendingContext ? Hi(e, t.pendingContext, t.pendingContext !== t.context) : t.context && Hi(e, t.context, !1), za(e, t.containerInfo); } -function ac(e, t, n, r, l) { - return tr(), Io(l), t.flags |= 256, He(e, t, n, r), t.child; +function cc(e, t, n, r, l) { + return tr(), La(l), t.flags |= 256, He(e, t, n, r), t.child; } -var Qa = { dehydrated: null, treeContext: null, retryLane: 0 }; -function Ha(e) { +var Go = { dehydrated: null, treeContext: null, retryLane: 0 }; +function qo(e) { return { baseLanes: e, cachePool: null, transitions: null }; } -function xu(e, t, n) { - var r = t.pendingProps, l = Ce.current, a = !1, o = (t.flags & 128) !== 0, i; - if ((i = o) || (i = e !== null && e.memoizedState === null ? !1 : (l & 2) !== 0), i ? (a = !0, t.flags &= -129) : (e === null || e.memoizedState !== null) && (l |= 1), we(Ce, l & 1), e === null) - return za(t), e = t.memoizedState, e !== null && (e = e.dehydrated, e !== null) ? (t.mode & 1 ? e.data === "$!" ? t.lanes = 8 : t.lanes = 1073741824 : t.lanes = 1, null) : (o = r.children, e = r.fallback, a ? (r = t.mode, a = t.child, o = { mode: "hidden", children: o }, !(r & 1) && a !== null ? (a.childLanes = 0, a.pendingProps = o) : a = Cs(o, r, 0, null), e = _n(e, r, n, null), a.return = t, e.return = t, a.sibling = e, t.child = a, t.child.memoizedState = Ha(n), t.memoizedState = Qa, e) : Bo(t, o)); - if (l = e.memoizedState, l !== null && (i = l.dehydrated, i !== null)) return Wh(e, t, o, r, i, l, n); - if (a) { - a = r.fallback, o = t.mode, l = e.child, i = l.sibling; +function Nu(e, t, n) { + var r = t.pendingProps, l = Ce.current, o = !1, a = (t.flags & 128) !== 0, i; + if ((i = a) || (i = e !== null && e.memoizedState === null ? !1 : (l & 2) !== 0), i ? (o = !0, t.flags &= -129) : (e === null || e.memoizedState !== null) && (l |= 1), we(Ce, l & 1), e === null) + return $o(t), e = t.memoizedState, e !== null && (e = e.dehydrated, e !== null) ? (t.mode & 1 ? e.data === "$!" ? t.lanes = 8 : t.lanes = 1073741824 : t.lanes = 1, null) : (a = r.children, e = r.fallback, o ? (r = t.mode, o = t.child, a = { mode: "hidden", children: a }, !(r & 1) && o !== null ? (o.childLanes = 0, o.pendingProps = a) : o = Cs(a, r, 0, null), e = _n(e, r, n, null), o.return = t, e.return = t, o.sibling = e, t.child = o, t.child.memoizedState = qo(n), t.memoizedState = Go, e) : Ha(t, a)); + if (l = e.memoizedState, l !== null && (i = l.dehydrated, i !== null)) return Xh(e, t, a, r, i, l, n); + if (o) { + o = r.fallback, a = t.mode, l = e.child, i = l.sibling; var c = { mode: "hidden", children: r.children }; - return !(o & 1) && t.child !== l ? (r = t.child, r.childLanes = 0, r.pendingProps = c, t.deletions = null) : (r = an(l, c), r.subtreeFlags = l.subtreeFlags & 14680064), i !== null ? a = an(i, a) : (a = _n(a, o, n, null), a.flags |= 2), a.return = t, r.return = t, r.sibling = a, t.child = r, r = a, a = t.child, o = e.child.memoizedState, o = o === null ? Ha(n) : { baseLanes: o.baseLanes | n, cachePool: null, transitions: o.transitions }, a.memoizedState = o, a.childLanes = e.childLanes & ~n, t.memoizedState = Qa, r; + return !(a & 1) && t.child !== l ? (r = t.child, r.childLanes = 0, r.pendingProps = c, t.deletions = null) : (r = on(l, c), r.subtreeFlags = l.subtreeFlags & 14680064), i !== null ? o = on(i, o) : (o = _n(o, a, n, null), o.flags |= 2), o.return = t, r.return = t, r.sibling = o, t.child = r, r = o, o = t.child, a = e.child.memoizedState, a = a === null ? qo(n) : { baseLanes: a.baseLanes | n, cachePool: null, transitions: a.transitions }, o.memoizedState = a, o.childLanes = e.childLanes & ~n, t.memoizedState = Go, r; } - return a = e.child, e = a.sibling, r = an(a, { mode: "visible", children: r.children }), !(t.mode & 1) && (r.lanes = n), r.return = t, r.sibling = null, e !== null && (n = t.deletions, n === null ? (t.deletions = [e], t.flags |= 16) : n.push(e)), t.child = r, t.memoizedState = null, r; + return o = e.child, e = o.sibling, r = on(o, { mode: "visible", children: r.children }), !(t.mode & 1) && (r.lanes = n), r.return = t, r.sibling = null, e !== null && (n = t.deletions, n === null ? (t.deletions = [e], t.flags |= 16) : n.push(e)), t.child = r, t.memoizedState = null, r; } -function Bo(e, t) { +function Ha(e, t) { return t = Cs({ mode: "visible", children: t }, e.mode, 0, null), t.return = e, e.child = t; } function Sl(e, t, n, r) { - return r !== null && Io(r), nr(t, e.child, null, n), e = Bo(t, t.pendingProps.children), e.flags |= 2, t.memoizedState = null, e; + return r !== null && La(r), nr(t, e.child, null, n), e = Ha(t, t.pendingProps.children), e.flags |= 2, t.memoizedState = null, e; } -function Wh(e, t, n, r, l, a, o) { +function Xh(e, t, n, r, l, o, a) { if (n) - return t.flags & 256 ? (t.flags &= -257, r = la(Error($(422))), Sl(e, t, o, r)) : t.memoizedState !== null ? (t.child = e.child, t.flags |= 128, null) : (a = r.fallback, l = t.mode, r = Cs({ mode: "visible", children: r.children }, l, 0, null), a = _n(a, l, o, null), a.flags |= 2, r.return = t, a.return = t, r.sibling = a, t.child = r, t.mode & 1 && nr(t, e.child, null, o), t.child.memoizedState = Ha(o), t.memoizedState = Qa, a); - if (!(t.mode & 1)) return Sl(e, t, o, null); + return t.flags & 256 ? (t.flags &= -257, r = lo(Error($(422))), Sl(e, t, a, r)) : t.memoizedState !== null ? (t.child = e.child, t.flags |= 128, null) : (o = r.fallback, l = t.mode, r = Cs({ mode: "visible", children: r.children }, l, 0, null), o = _n(o, l, a, null), o.flags |= 2, r.return = t, o.return = t, r.sibling = o, t.child = r, t.mode & 1 && nr(t, e.child, null, a), t.child.memoizedState = qo(a), t.memoizedState = Go, o); + if (!(t.mode & 1)) return Sl(e, t, a, null); if (l.data === "$!") { if (r = l.nextSibling && l.nextSibling.dataset, r) var i = r.dgst; - return r = i, a = Error($(419)), r = la(a, r, void 0), Sl(e, t, o, r); + return r = i, o = Error($(419)), r = lo(o, r, void 0), Sl(e, t, a, r); } - if (i = (o & e.childLanes) !== 0, Xe || i) { + if (i = (a & e.childLanes) !== 0, Xe || i) { if (r = Oe, r !== null) { - switch (o & -o) { + switch (a & -a) { case 4: l = 2; break; @@ -3497,28 +3497,28 @@ function Wh(e, t, n, r, l, a, o) { default: l = 0; } - l = l & (r.suspendedLanes | o) ? 0 : l, l !== 0 && l !== a.retryLane && (a.retryLane = l, Ft(e, l), St(r, e, l, -1)); + l = l & (r.suspendedLanes | a) ? 0 : l, l !== 0 && l !== o.retryLane && (o.retryLane = l, Ft(e, l), St(r, e, l, -1)); } - return Yo(), r = la(Error($(421))), Sl(e, t, o, r); + return Za(), r = lo(Error($(421))), Sl(e, t, a, r); } - return l.data === "$?" ? (t.flags |= 128, t.child = e.child, t = Jh.bind(null, e), l._reactRetry = t, null) : (e = a.treeContext, lt = nn(l.nextSibling), st = t, be = !0, xt = null, e !== null && (dt[ut++] = Pt, dt[ut++] = Rt, dt[ut++] = Sn, Pt = e.id, Rt = e.overflow, Sn = t), t = Bo(t, r.children), t.flags |= 4096, t); + return l.data === "$?" ? (t.flags |= 128, t.child = e.child, t = dp.bind(null, e), l._reactRetry = t, null) : (e = o.treeContext, lt = nn(l.nextSibling), st = t, be = !0, xt = null, e !== null && (dt[ut++] = Pt, dt[ut++] = Rt, dt[ut++] = Sn, Pt = e.id, Rt = e.overflow, Sn = t), t = Ha(t, r.children), t.flags |= 4096, t); } -function oc(e, t, n) { +function dc(e, t, n) { e.lanes |= t; var r = e.alternate; - r !== null && (r.lanes |= t), Fa(e.return, t, n); + r !== null && (r.lanes |= t), Uo(e.return, t, n); } -function sa(e, t, n, r, l) { - var a = e.memoizedState; - a === null ? e.memoizedState = { isBackwards: t, rendering: null, renderingStartTime: 0, last: r, tail: n, tailMode: l } : (a.isBackwards = t, a.rendering = null, a.renderingStartTime = 0, a.last = r, a.tail = n, a.tailMode = l); +function so(e, t, n, r, l) { + var o = e.memoizedState; + o === null ? e.memoizedState = { isBackwards: t, rendering: null, renderingStartTime: 0, last: r, tail: n, tailMode: l } : (o.isBackwards = t, o.rendering = null, o.renderingStartTime = 0, o.last = r, o.tail = n, o.tailMode = l); } -function _u(e, t, n) { - var r = t.pendingProps, l = r.revealOrder, a = r.tail; +function Mu(e, t, n) { + var r = t.pendingProps, l = r.revealOrder, o = r.tail; if (He(e, t, r.children, n), r = Ce.current, r & 2) r = r & 1 | 2, t.flags |= 128; else { if (e !== null && e.flags & 128) e: for (e = t.child; e !== null; ) { - if (e.tag === 13) e.memoizedState !== null && oc(e, n, t); - else if (e.tag === 19) oc(e, n, t); + if (e.tag === 13) e.memoizedState !== null && dc(e, n, t); + else if (e.tag === 19) dc(e, n, t); else if (e.child !== null) { e.child.return = e, e = e.child; continue; @@ -3535,21 +3535,21 @@ function _u(e, t, n) { if (we(Ce, r), !(t.mode & 1)) t.memoizedState = null; else switch (l) { case "forwards": - for (n = t.child, l = null; n !== null; ) e = n.alternate, e !== null && os(e) === null && (l = n), n = n.sibling; - n = l, n === null ? (l = t.child, t.child = null) : (l = n.sibling, n.sibling = null), sa(t, !1, l, n, a); + for (n = t.child, l = null; n !== null; ) e = n.alternate, e !== null && as(e) === null && (l = n), n = n.sibling; + n = l, n === null ? (l = t.child, t.child = null) : (l = n.sibling, n.sibling = null), so(t, !1, l, n, o); break; case "backwards": for (n = null, l = t.child, t.child = null; l !== null; ) { - if (e = l.alternate, e !== null && os(e) === null) { + if (e = l.alternate, e !== null && as(e) === null) { t.child = l; break; } e = l.sibling, l.sibling = n, n = l, l = e; } - sa(t, !0, n, null, a); + so(t, !0, n, null, o); break; case "together": - sa(t, !1, null, null, void 0); + so(t, !1, null, null, void 0); break; default: t.memoizedState = null; @@ -3563,24 +3563,24 @@ function Wt(e, t, n) { if (e !== null && (t.dependencies = e.dependencies), bn |= t.lanes, !(n & t.childLanes)) return null; if (e !== null && t.child !== e.child) throw Error($(153)); if (t.child !== null) { - for (e = t.child, n = an(e, e.pendingProps), t.child = n, n.return = t; e.sibling !== null; ) e = e.sibling, n = n.sibling = an(e, e.pendingProps), n.return = t; + for (e = t.child, n = on(e, e.pendingProps), t.child = n, n.return = t; e.sibling !== null; ) e = e.sibling, n = n.sibling = on(e, e.pendingProps), n.return = t; n.sibling = null; } return t.child; } -function $h(e, t, n) { +function Zh(e, t, n) { switch (t.tag) { case 3: - wu(t), tr(); + Cu(t), tr(); break; case 5: - Kd(t); + tu(t); break; case 1: Je(t.type) && ts(t); break; case 4: - Oo(t, t.stateNode.containerInfo); + za(t, t.stateNode.containerInfo); break; case 10: var r = t.type._context, l = t.memoizedProps.value; @@ -3588,24 +3588,24 @@ function $h(e, t, n) { break; case 13: if (r = t.memoizedState, r !== null) - return r.dehydrated !== null ? (we(Ce, Ce.current & 1), t.flags |= 128, null) : n & t.child.childLanes ? xu(e, t, n) : (we(Ce, Ce.current & 1), e = Wt(e, t, n), e !== null ? e.sibling : null); + return r.dehydrated !== null ? (we(Ce, Ce.current & 1), t.flags |= 128, null) : n & t.child.childLanes ? Nu(e, t, n) : (we(Ce, Ce.current & 1), e = Wt(e, t, n), e !== null ? e.sibling : null); we(Ce, Ce.current & 1); break; case 19: if (r = (n & t.childLanes) !== 0, e.flags & 128) { - if (r) return _u(e, t, n); + if (r) return Mu(e, t, n); t.flags |= 128; } if (l = t.memoizedState, l !== null && (l.rendering = null, l.tail = null, l.lastEffect = null), we(Ce, Ce.current), r) break; return null; case 22: case 23: - return t.lanes = 0, yu(e, t, n); + return t.lanes = 0, bu(e, t, n); } return Wt(e, t, n); } -var ku, Ka, Su, ju; -ku = function(e, t) { +var Iu, Yo, Tu, Lu; +Iu = function(e, t) { for (var n = t.child; n !== null; ) { if (n.tag === 5 || n.tag === 6) e.appendChild(n.stateNode); else if (n.tag !== 4 && n.child !== null) { @@ -3620,50 +3620,50 @@ ku = function(e, t) { n.sibling.return = n.return, n = n.sibling; } }; -Ka = function() { +Yo = function() { }; -Su = function(e, t, n, r) { +Tu = function(e, t, n, r) { var l = e.memoizedProps; if (l !== r) { e = t.stateNode, wn(It.current); - var a = null; + var o = null; switch (n) { case "input": - l = pa(e, l), r = pa(e, r), a = []; + l = vo(e, l), r = vo(e, r), o = []; break; case "select": - l = Me({}, l, { value: void 0 }), r = Me({}, r, { value: void 0 }), a = []; + l = Me({}, l, { value: void 0 }), r = Me({}, r, { value: void 0 }), o = []; break; case "textarea": - l = va(e, l), r = va(e, r), a = []; + l = _o(e, l), r = _o(e, r), o = []; break; default: typeof l.onClick != "function" && typeof r.onClick == "function" && (e.onclick = Jl); } - xa(n, r); - var o; + So(n, r); + var a; n = null; for (d in l) if (!r.hasOwnProperty(d) && l.hasOwnProperty(d) && l[d] != null) if (d === "style") { var i = l[d]; - for (o in i) i.hasOwnProperty(o) && (n || (n = {}), n[o] = ""); - } else d !== "dangerouslySetInnerHTML" && d !== "children" && d !== "suppressContentEditableWarning" && d !== "suppressHydrationWarning" && d !== "autoFocus" && (Lr.hasOwnProperty(d) ? a || (a = []) : (a = a || []).push(d, null)); + for (a in i) i.hasOwnProperty(a) && (n || (n = {}), n[a] = ""); + } else d !== "dangerouslySetInnerHTML" && d !== "children" && d !== "suppressContentEditableWarning" && d !== "suppressHydrationWarning" && d !== "autoFocus" && (Lr.hasOwnProperty(d) ? o || (o = []) : (o = o || []).push(d, null)); for (d in r) { var c = r[d]; if (i = l != null ? l[d] : void 0, r.hasOwnProperty(d) && c !== i && (c != null || i != null)) if (d === "style") if (i) { - for (o in i) !i.hasOwnProperty(o) || c && c.hasOwnProperty(o) || (n || (n = {}), n[o] = ""); - for (o in c) c.hasOwnProperty(o) && i[o] !== c[o] && (n || (n = {}), n[o] = c[o]); - } else n || (a || (a = []), a.push( + for (a in i) !i.hasOwnProperty(a) || c && c.hasOwnProperty(a) || (n || (n = {}), n[a] = ""); + for (a in c) c.hasOwnProperty(a) && i[a] !== c[a] && (n || (n = {}), n[a] = c[a]); + } else n || (o || (o = []), o.push( d, n )), n = c; - else d === "dangerouslySetInnerHTML" ? (c = c ? c.__html : void 0, i = i ? i.__html : void 0, c != null && i !== c && (a = a || []).push(d, c)) : d === "children" ? typeof c != "string" && typeof c != "number" || (a = a || []).push(d, "" + c) : d !== "suppressContentEditableWarning" && d !== "suppressHydrationWarning" && (Lr.hasOwnProperty(d) ? (c != null && d === "onScroll" && ke("scroll", e), a || i === c || (a = [])) : (a = a || []).push(d, c)); + else d === "dangerouslySetInnerHTML" ? (c = c ? c.__html : void 0, i = i ? i.__html : void 0, c != null && i !== c && (o = o || []).push(d, c)) : d === "children" ? typeof c != "string" && typeof c != "number" || (o = o || []).push(d, "" + c) : d !== "suppressContentEditableWarning" && d !== "suppressHydrationWarning" && (Lr.hasOwnProperty(d) ? (c != null && d === "onScroll" && ke("scroll", e), o || i === c || (o = [])) : (o = o || []).push(d, c)); } - n && (a = a || []).push("style", n); - var d = a; + n && (o = o || []).push("style", n); + var d = o; (t.updateQueue = d) && (t.flags |= 4); } }; -ju = function(e, t, n, r) { +Lu = function(e, t, n, r) { n !== r && (t.flags |= 4); }; function yr(e, t) { @@ -3685,9 +3685,9 @@ function Ve(e) { else for (l = e.child; l !== null; ) n |= l.lanes | l.childLanes, r |= l.subtreeFlags, r |= l.flags, l.return = e, l = l.sibling; return e.subtreeFlags |= r, e.childLanes = n, t; } -function Uh(e, t, n) { +function Jh(e, t, n) { var r = t.pendingProps; - switch (Mo(t), t.tag) { + switch (Ta(t), t.tag) { case 2: case 16: case 15: @@ -3702,11 +3702,11 @@ function Uh(e, t, n) { case 1: return Je(t.type) && es(), Ve(t), null; case 3: - return r = t.stateNode, rr(), Se(Ze), Se(Qe), zo(), r.pendingContext && (r.context = r.pendingContext, r.pendingContext = null), (e === null || e.child === null) && (_l(t) ? t.flags |= 4 : e === null || e.memoizedState.isDehydrated && !(t.flags & 256) || (t.flags |= 1024, xt !== null && (to(xt), xt = null))), Ka(e, t), Ve(t), null; + return r = t.stateNode, rr(), Se(Ze), Se(Qe), Wa(), r.pendingContext && (r.context = r.pendingContext, r.pendingContext = null), (e === null || e.child === null) && (_l(t) ? t.flags |= 4 : e === null || e.memoizedState.isDehydrated && !(t.flags & 256) || (t.flags |= 1024, xt !== null && (la(xt), xt = null))), Yo(e, t), Ve(t), null; case 5: - Ao(t); + Fa(t); var l = wn(Br.current); - if (n = t.type, e !== null && t.stateNode != null) Su(e, t, n, r, l), e.ref !== t.ref && (t.flags |= 512, t.flags |= 2097152); + if (n = t.type, e !== null && t.stateNode != null) Tu(e, t, n, r, l), e.ref !== t.ref && (t.flags |= 512, t.flags |= 2097152); else { if (!r) { if (t.stateNode === null) throw Error($(166)); @@ -3714,8 +3714,8 @@ function Uh(e, t, n) { } if (e = wn(It.current), _l(t)) { r = t.stateNode, n = t.type; - var a = t.memoizedProps; - switch (r[Nt] = t, r[Ur] = a, e = (t.mode & 1) !== 0, n) { + var o = t.memoizedProps; + switch (r[Nt] = t, r[Ur] = o, e = (t.mode & 1) !== 0, n) { case "dialog": ke("cancel", r), ke("close", r); break; @@ -3743,41 +3743,41 @@ function Uh(e, t, n) { ke("toggle", r); break; case "input": - gi(r, a), ke("invalid", r); + wi(r, o), ke("invalid", r); break; case "select": - r._wrapperState = { wasMultiple: !!a.multiple }, ke("invalid", r); + r._wrapperState = { wasMultiple: !!o.multiple }, ke("invalid", r); break; case "textarea": - vi(r, a), ke("invalid", r); + _i(r, o), ke("invalid", r); } - xa(n, a), l = null; - for (var o in a) if (a.hasOwnProperty(o)) { - var i = a[o]; - o === "children" ? typeof i == "string" ? r.textContent !== i && (a.suppressHydrationWarning !== !0 && xl(r.textContent, i, e), l = ["children", i]) : typeof i == "number" && r.textContent !== "" + i && (a.suppressHydrationWarning !== !0 && xl( + So(n, o), l = null; + for (var a in o) if (o.hasOwnProperty(a)) { + var i = o[a]; + a === "children" ? typeof i == "string" ? r.textContent !== i && (o.suppressHydrationWarning !== !0 && xl(r.textContent, i, e), l = ["children", i]) : typeof i == "number" && r.textContent !== "" + i && (o.suppressHydrationWarning !== !0 && xl( r.textContent, i, e - ), l = ["children", "" + i]) : Lr.hasOwnProperty(o) && i != null && o === "onScroll" && ke("scroll", r); + ), l = ["children", "" + i]) : Lr.hasOwnProperty(a) && i != null && a === "onScroll" && ke("scroll", r); } switch (n) { case "input": - ml(r), yi(r, a, !0); + fl(r), xi(r, o, !0); break; case "textarea": - ml(r), wi(r); + fl(r), ki(r); break; case "select": case "option": break; default: - typeof a.onClick == "function" && (r.onclick = Jl); + typeof o.onClick == "function" && (r.onclick = Jl); } r = l, t.updateQueue = r, r !== null && (t.flags |= 4); } else { - o = l.nodeType === 9 ? l : l.ownerDocument, e === "http://www.w3.org/1999/xhtml" && (e = Zc(n)), e === "http://www.w3.org/1999/xhtml" ? n === "script" ? (e = o.createElement("div"), e.innerHTML = "