From 8dc171fe4b95165789ac8ef34b03b25b78e34d03 Mon Sep 17 00:00:00 2001 From: qaq <1937228092@qq.com> Date: Wed, 20 Aug 2025 15:34:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dui=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- android-app/app/build.gradle | 1 + .../{index-jxskBxXq.js => index-BZa3KfLh.js} | 54705 +--- ...{index-DXlBHwCy.css => index-Bf4rZ0gS.css} | 2 +- .../{index-CE4xp90M.js => index-Yh65tUeq.js} | 2 +- .../assets/assets/index-legacy-D2hIuz4a.js | 18 - .../assets/assets/index-legacy-OLEVtAva.js | 227724 --------------- .../assets/polyfills-legacy-sZVJv9Pp.js | 4674 - android-app/app/src/main/assets/index.html | 11 +- .../main/java/com/doraemon/MainActivity.kt | 110 +- vite-frontend/index.html | 2 +- vite-frontend/package.json | 3 +- vite-frontend/src/App.tsx | 18 +- vite-frontend/src/layouts/h5-simple.tsx | 20 +- vite-frontend/src/layouts/h5.tsx | 22 +- vite-frontend/src/main.tsx | 24 +- vite-frontend/src/pages/config.tsx | 6 +- vite-frontend/src/pages/profile.tsx | 2 +- vite-frontend/src/pages/settings.tsx | 2 +- vite-frontend/src/styles/globals.css | 25 + vite-frontend/vite.config.ts | 5 - 20 files changed, 13515 insertions(+), 273861 deletions(-) rename android-app/app/src/main/assets/assets/{index-jxskBxXq.js => index-BZa3KfLh.js} (79%) rename android-app/app/src/main/assets/assets/{index-DXlBHwCy.css => index-Bf4rZ0gS.css} (97%) rename android-app/app/src/main/assets/assets/{index-CE4xp90M.js => index-Yh65tUeq.js} (60%) delete mode 100644 android-app/app/src/main/assets/assets/index-legacy-D2hIuz4a.js delete mode 100644 android-app/app/src/main/assets/assets/index-legacy-OLEVtAva.js delete mode 100644 android-app/app/src/main/assets/assets/polyfills-legacy-sZVJv9Pp.js diff --git a/android-app/app/build.gradle b/android-app/app/build.gradle index 4cb8a89..4053e26 100644 --- a/android-app/app/build.gradle +++ b/android-app/app/build.gradle @@ -38,6 +38,7 @@ dependencies { implementation 'androidx.appcompat:appcompat:1.7.1' implementation 'com.google.android.material:material:1.12.0' implementation 'androidx.constraintlayout:constraintlayout:2.2.1' + implementation 'androidx.webkit:webkit:1.8.0' testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.3.0' androidTestImplementation 'androidx.test.espresso:espresso-core:3.7.0' diff --git a/android-app/app/src/main/assets/assets/index-jxskBxXq.js b/android-app/app/src/main/assets/assets/index-BZa3KfLh.js similarity index 79% rename from android-app/app/src/main/assets/assets/index-jxskBxXq.js rename to android-app/app/src/main/assets/assets/index-BZa3KfLh.js index 019e8be..2f1797f 100644 --- a/android-app/app/src/main/assets/assets/index-jxskBxXq.js +++ b/android-app/app/src/main/assets/assets/index-BZa3KfLh.js @@ -1,19 +1,6 @@ -var __freeze = Object.freeze; var __defProp = Object.defineProperty; var __defNormalProp = (obj, key2, value) => key2 in obj ? __defProp(obj, key2, { enumerable: true, configurable: true, writable: true, value }) : obj[key2] = value; -var __publicField = (obj, key2, value) => { - __defNormalProp(obj, typeof key2 !== "symbol" ? key2 + "" : key2, value); - return value; -}; -var __template = (cooked, raw) => __freeze(__defProp(cooked, "raw", { value: __freeze(raw || cooked.slice()) })); -var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D; -function __vite_legacy_guard() { - import.meta.url; - import("_").catch(() => 1); - (async function* () { - })().next(); -} -; +var __publicField = (obj, key2, value) => __defNormalProp(obj, typeof key2 !== "symbol" ? key2 + "" : key2, value); function _mergeNamespaces(n2, m2) { for (var i2 = 0; i2 < m2.length; i2++) { const e3 = m2[i2]; @@ -54,16 +41,12 @@ function _mergeNamespaces(n2, m2) { }).observe(document, { childList: true, subtree: true }); function getFetchOpts(link2) { const fetchOpts = {}; - if (link2.integrity) - fetchOpts.integrity = link2.integrity; - if (link2.referrerPolicy) - fetchOpts.referrerPolicy = link2.referrerPolicy; + if (link2.integrity) fetchOpts.integrity = link2.integrity; + if (link2.referrerPolicy) fetchOpts.referrerPolicy = link2.referrerPolicy; if (link2.crossOrigin === "use-credentials") fetchOpts.credentials = "include"; - else if (link2.crossOrigin === "anonymous") - fetchOpts.credentials = "omit"; - else - fetchOpts.credentials = "same-origin"; + else if (link2.crossOrigin === "anonymous") fetchOpts.credentials = "omit"; + else fetchOpts.credentials = "same-origin"; return fetchOpts; } function processPreload(link2) { @@ -86,8 +69,7 @@ function getDefaultExportFromNamespaceIfNotNamed(n2) { return n2 && Object.prototype.hasOwnProperty.call(n2, "default") && Object.keys(n2).length === 1 ? n2["default"] : n2; } function getAugmentedNamespace(n2) { - if (n2.__esModule) - return n2; + if (n2.__esModule) return n2; var f2 = n2.default; if (typeof f2 == "function") { var a2 = function a3() { @@ -97,8 +79,7 @@ function getAugmentedNamespace(n2) { return f2.apply(this, arguments); }; a2.prototype = f2.prototype; - } else - a2 = {}; + } else a2 = {}; Object.defineProperty(a2, "__esModule", { value: true }); Object.keys(n2).forEach(function(k2) { var d2 = Object.getOwnPropertyDescriptor(n2, k2); @@ -125,10 +106,9 @@ var react_production_min = {}; * LICENSE file in the root directory of this source tree. */ "use strict"; -var l$5 = Symbol.for("react.element"), n$3 = Symbol.for("react.portal"), p$6 = Symbol.for("react.fragment"), q$3 = Symbol.for("react.strict_mode"), r$a = Symbol.for("react.profiler"), t$3 = Symbol.for("react.provider"), u$5 = Symbol.for("react.context"), v$2 = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), x$6 = Symbol.for("react.memo"), y$4 = Symbol.for("react.lazy"), z$1 = Symbol.iterator; -function A$4(a2) { - if (null === a2 || "object" !== typeof a2) - return null; +var l$5 = Symbol.for("react.element"), n$4 = Symbol.for("react.portal"), p$6 = Symbol.for("react.fragment"), q$2 = Symbol.for("react.strict_mode"), r$a = Symbol.for("react.profiler"), t$3 = Symbol.for("react.provider"), u$4 = Symbol.for("react.context"), v$3 = Symbol.for("react.forward_ref"), w$1 = Symbol.for("react.suspense"), x$5 = Symbol.for("react.memo"), y$3 = Symbol.for("react.lazy"), z$1 = Symbol.iterator; +function A$3(a2) { + if (null === a2 || "object" !== typeof a2) return null; a2 = z$1 && a2[z$1] || a2["@@iterator"]; return "function" === typeof a2 ? a2 : null; } @@ -138,57 +118,50 @@ var B$3 = { isMounted: function() { }, enqueueReplaceState: function() { }, enqueueSetState: function() { } }, C$3 = Object.assign, D$3 = {}; -function E$2(a2, b2, e3) { +function E$3(a2, b2, e3) { this.props = a2; this.context = b2; this.refs = D$3; this.updater = e3 || B$3; } -E$2.prototype.isReactComponent = {}; -E$2.prototype.setState = function(a2, b2) { - if ("object" !== typeof a2 && "function" !== typeof a2 && null != a2) - throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables."); +E$3.prototype.isReactComponent = {}; +E$3.prototype.setState = function(a2, b2) { + if ("object" !== typeof a2 && "function" !== typeof a2 && null != a2) 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, a2, b2, "setState"); }; -E$2.prototype.forceUpdate = function(a2) { +E$3.prototype.forceUpdate = function(a2) { this.updater.enqueueForceUpdate(this, a2, "forceUpdate"); }; function F$2() { } -F$2.prototype = E$2.prototype; +F$2.prototype = E$3.prototype; function G$1(a2, b2, e3) { this.props = a2; this.context = b2; this.refs = D$3; this.updater = e3 || B$3; } -var H$1 = G$1.prototype = new F$2(); -H$1.constructor = G$1; -C$3(H$1, E$2.prototype); -H$1.isPureReactComponent = true; -var I$1 = Array.isArray, J$1 = Object.prototype.hasOwnProperty, K$3 = { current: null }, L$1 = { key: true, ref: true, __self: true, __source: true }; -function M$3(a2, b2, e3) { +var H$2 = G$1.prototype = new F$2(); +H$2.constructor = G$1; +C$3(H$2, E$3.prototype); +H$2.isPureReactComponent = true; +var I$1 = Array.isArray, J = Object.prototype.hasOwnProperty, K$2 = { current: null }, L$2 = { key: true, ref: true, __self: true, __source: true }; +function M$2(a2, b2, e3) { var d2, c2 = {}, k2 = null, h2 = null; - if (null != b2) - for (d2 in void 0 !== b2.ref && (h2 = b2.ref), void 0 !== b2.key && (k2 = "" + b2.key), b2) - J$1.call(b2, d2) && !L$1.hasOwnProperty(d2) && (c2[d2] = b2[d2]); + if (null != b2) for (d2 in void 0 !== b2.ref && (h2 = b2.ref), void 0 !== b2.key && (k2 = "" + b2.key), b2) J.call(b2, d2) && !L$2.hasOwnProperty(d2) && (c2[d2] = b2[d2]); var g2 = arguments.length - 2; - if (1 === g2) - c2.children = e3; + if (1 === g2) c2.children = e3; else if (1 < g2) { - for (var f2 = Array(g2), m2 = 0; m2 < g2; m2++) - f2[m2] = arguments[m2 + 2]; + for (var f2 = Array(g2), m2 = 0; m2 < g2; m2++) f2[m2] = arguments[m2 + 2]; c2.children = f2; } - if (a2 && a2.defaultProps) - for (d2 in g2 = a2.defaultProps, g2) - void 0 === c2[d2] && (c2[d2] = g2[d2]); - return { $$typeof: l$5, type: a2, key: k2, ref: h2, props: c2, _owner: K$3.current }; + if (a2 && a2.defaultProps) for (d2 in g2 = a2.defaultProps, g2) void 0 === c2[d2] && (c2[d2] = g2[d2]); + return { $$typeof: l$5, type: a2, key: k2, ref: h2, props: c2, _owner: K$2.current }; } -function N$2(a2, b2) { +function N$3(a2, b2) { return { $$typeof: l$5, type: a2.type, key: b2, ref: a2.ref, props: a2.props, _owner: a2._owner }; } -function O$2(a2) { +function O$1(a2) { return "object" === typeof a2 && null !== a2 && a2.$$typeof === l$5; } function escape$1(a2) { @@ -198,53 +171,44 @@ function escape$1(a2) { }); } var P$4 = /\/+/g; -function Q$2(a2, b2) { +function Q$3(a2, b2) { return "object" === typeof a2 && null !== a2 && null != a2.key ? escape$1("" + a2.key) : b2.toString(36); } -function R$3(a2, b2, e3, d2, c2) { +function R$2(a2, b2, e3, d2, c2) { var k2 = typeof a2; - if ("undefined" === k2 || "boolean" === k2) - a2 = null; + if ("undefined" === k2 || "boolean" === k2) a2 = null; var h2 = false; - if (null === a2) - h2 = true; - else - switch (k2) { - case "string": - case "number": - h2 = true; - break; - case "object": - switch (a2.$$typeof) { - case l$5: - case n$3: - h2 = true; - } - } - if (h2) - return h2 = a2, c2 = c2(h2), a2 = "" === d2 ? "." + Q$2(h2, 0) : d2, I$1(c2) ? (e3 = "", null != a2 && (e3 = a2.replace(P$4, "$&/") + "/"), R$3(c2, b2, e3, "", function(a3) { - return a3; - })) : null != c2 && (O$2(c2) && (c2 = N$2(c2, e3 + (!c2.key || h2 && h2.key === c2.key ? "" : ("" + c2.key).replace(P$4, "$&/") + "/") + a2)), b2.push(c2)), 1; + if (null === a2) h2 = true; + else switch (k2) { + case "string": + case "number": + h2 = true; + break; + case "object": + switch (a2.$$typeof) { + case l$5: + case n$4: + h2 = true; + } + } + if (h2) return h2 = a2, c2 = c2(h2), a2 = "" === d2 ? "." + Q$3(h2, 0) : d2, I$1(c2) ? (e3 = "", null != a2 && (e3 = a2.replace(P$4, "$&/") + "/"), R$2(c2, b2, e3, "", function(a3) { + return a3; + })) : null != c2 && (O$1(c2) && (c2 = N$3(c2, e3 + (!c2.key || h2 && h2.key === c2.key ? "" : ("" + c2.key).replace(P$4, "$&/") + "/") + a2)), b2.push(c2)), 1; h2 = 0; d2 = "" === d2 ? "." : d2 + ":"; - if (I$1(a2)) - for (var g2 = 0; g2 < a2.length; g2++) { - k2 = a2[g2]; - var f2 = d2 + Q$2(k2, g2); - h2 += R$3(k2, b2, e3, f2, c2); - } - else if (f2 = A$4(a2), "function" === typeof f2) - for (a2 = f2.call(a2), g2 = 0; !(k2 = a2.next()).done; ) - k2 = k2.value, f2 = d2 + Q$2(k2, g2++), h2 += R$3(k2, b2, e3, f2, c2); - else if ("object" === k2) - throw b2 = String(a2), Error("Objects are not valid as a React child (found: " + ("[object Object]" === b2 ? "object with keys {" + Object.keys(a2).join(", ") + "}" : b2) + "). If you meant to render a collection of children, use an array instead."); + if (I$1(a2)) for (var g2 = 0; g2 < a2.length; g2++) { + k2 = a2[g2]; + var f2 = d2 + Q$3(k2, g2); + h2 += R$2(k2, b2, e3, f2, c2); + } + else if (f2 = A$3(a2), "function" === typeof f2) for (a2 = f2.call(a2), g2 = 0; !(k2 = a2.next()).done; ) k2 = k2.value, f2 = d2 + Q$3(k2, g2++), h2 += R$2(k2, b2, e3, f2, c2); + else if ("object" === k2) throw b2 = String(a2), Error("Objects are not valid as a React child (found: " + ("[object Object]" === b2 ? "object with keys {" + Object.keys(a2).join(", ") + "}" : b2) + "). If you meant to render a collection of children, use an array instead."); return h2; } -function S$2(a2, b2, e3) { - if (null == a2) - return a2; +function S$3(a2, b2, e3) { + if (null == a2) return a2; var d2 = [], c2 = 0; - R$3(a2, d2, "", "", function(a3) { + R$2(a2, d2, "", "", function(a3) { return b2.call(e3, a3, c2++); }); return d2; @@ -254,80 +218,71 @@ function T$1(a2) { var b2 = a2._result; b2 = b2(); b2.then(function(b3) { - if (0 === a2._status || -1 === a2._status) - a2._status = 1, a2._result = b3; + if (0 === a2._status || -1 === a2._status) a2._status = 1, a2._result = b3; }, function(b3) { - if (0 === a2._status || -1 === a2._status) - a2._status = 2, a2._result = b3; + if (0 === a2._status || -1 === a2._status) a2._status = 2, a2._result = b3; }); -1 === a2._status && (a2._status = 0, a2._result = b2); } - if (1 === a2._status) - return a2._result.default; + if (1 === a2._status) return a2._result.default; throw a2._result; } -var U$2 = { current: null }, V$2 = { transition: null }, W$2 = { ReactCurrentDispatcher: U$2, ReactCurrentBatchConfig: V$2, ReactCurrentOwner: K$3 }; -function X$3() { +var U$1 = { current: null }, V$2 = { transition: null }, W$2 = { ReactCurrentDispatcher: U$1, ReactCurrentBatchConfig: V$2, ReactCurrentOwner: K$2 }; +function X$2() { throw Error("act(...) is not supported in production builds of React."); } -var Children = react_production_min.Children = { map: S$2, forEach: function(a2, b2, e3) { - S$2(a2, function() { +var Children = react_production_min.Children = { map: S$3, forEach: function(a2, b2, e3) { + S$3(a2, function() { b2.apply(this, arguments); }, e3); }, count: function(a2) { var b2 = 0; - S$2(a2, function() { + S$3(a2, function() { b2++; }); return b2; }, toArray: function(a2) { - return S$2(a2, function(a3) { + return S$3(a2, function(a3) { return a3; }) || []; }, only: function(a2) { - if (!O$2(a2)) - throw Error("React.Children.only expected to receive a single React element child."); + if (!O$1(a2)) throw Error("React.Children.only expected to receive a single React element child."); return a2; } }; -var Component = react_production_min.Component = E$2; +var Component = react_production_min.Component = E$3; var Fragment$2 = react_production_min.Fragment = p$6; var Profiler$1 = react_production_min.Profiler = r$a; var PureComponent = react_production_min.PureComponent = G$1; -var StrictMode$1 = react_production_min.StrictMode = q$3; -var Suspense$1 = react_production_min.Suspense = w; +var StrictMode$1 = react_production_min.StrictMode = q$2; +var Suspense$1 = react_production_min.Suspense = w$1; var __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED$1 = react_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = W$2; -var act = react_production_min.act = X$3; +var act = react_production_min.act = X$2; var cloneElement = react_production_min.cloneElement = function(a2, b2, e3) { - if (null === a2 || void 0 === a2) - throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + a2 + "."); + if (null === a2 || void 0 === a2) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + a2 + "."); var d2 = C$3({}, a2.props), c2 = a2.key, k2 = a2.ref, h2 = a2._owner; if (null != b2) { - void 0 !== b2.ref && (k2 = b2.ref, h2 = K$3.current); + void 0 !== b2.ref && (k2 = b2.ref, h2 = K$2.current); void 0 !== b2.key && (c2 = "" + b2.key); - if (a2.type && a2.type.defaultProps) - var g2 = a2.type.defaultProps; - for (f2 in b2) - J$1.call(b2, f2) && !L$1.hasOwnProperty(f2) && (d2[f2] = void 0 === b2[f2] && void 0 !== g2 ? g2[f2] : b2[f2]); + if (a2.type && a2.type.defaultProps) var g2 = a2.type.defaultProps; + for (f2 in b2) J.call(b2, f2) && !L$2.hasOwnProperty(f2) && (d2[f2] = void 0 === b2[f2] && void 0 !== g2 ? g2[f2] : b2[f2]); } var f2 = arguments.length - 2; - if (1 === f2) - d2.children = e3; + if (1 === f2) d2.children = e3; else if (1 < f2) { g2 = Array(f2); - for (var m2 = 0; m2 < f2; m2++) - g2[m2] = arguments[m2 + 2]; + for (var m2 = 0; m2 < f2; m2++) g2[m2] = arguments[m2 + 2]; d2.children = g2; } return { $$typeof: l$5, type: a2.type, key: c2, ref: k2, props: d2, _owner: h2 }; }; var createContext = react_production_min.createContext = function(a2) { - a2 = { $$typeof: u$5, _currentValue: a2, _currentValue2: a2, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }; + a2 = { $$typeof: u$4, _currentValue: a2, _currentValue2: a2, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }; a2.Provider = { $$typeof: t$3, _context: a2 }; return a2.Consumer = a2; }; -var createElement = react_production_min.createElement = M$3; +var createElement = react_production_min.createElement = M$2; var createFactory = react_production_min.createFactory = function(a2) { - var b2 = M$3.bind(null, a2); + var b2 = M$2.bind(null, a2); b2.type = a2; return b2; }; @@ -335,14 +290,14 @@ var createRef = react_production_min.createRef = function() { return { current: null }; }; var forwardRef$5 = react_production_min.forwardRef = function(a2) { - return { $$typeof: v$2, render: a2 }; + return { $$typeof: v$3, render: a2 }; }; -var isValidElement = react_production_min.isValidElement = O$2; +var isValidElement = react_production_min.isValidElement = O$1; var lazy = react_production_min.lazy = function(a2) { - return { $$typeof: y$4, _payload: { _status: -1, _result: a2 }, _init: T$1 }; + return { $$typeof: y$3, _payload: { _status: -1, _result: a2 }, _init: T$1 }; }; var memo$2 = react_production_min.memo = function(a2, b2) { - return { $$typeof: x$6, type: a2, compare: void 0 === b2 ? null : b2 }; + return { $$typeof: x$5, type: a2, compare: void 0 === b2 ? null : b2 }; }; var startTransition$1 = react_production_min.startTransition = function(a2) { var b2 = V$2.transition; @@ -353,50 +308,50 @@ var startTransition$1 = react_production_min.startTransition = function(a2) { V$2.transition = b2; } }; -var unstable_act = react_production_min.unstable_act = X$3; +var unstable_act = react_production_min.unstable_act = X$2; var useCallback = react_production_min.useCallback = function(a2, b2) { - return U$2.current.useCallback(a2, b2); + return U$1.current.useCallback(a2, b2); }; var useContext = react_production_min.useContext = function(a2) { - return U$2.current.useContext(a2); + return U$1.current.useContext(a2); }; var useDebugValue$3 = react_production_min.useDebugValue = function() { }; var useDeferredValue = react_production_min.useDeferredValue = function(a2) { - return U$2.current.useDeferredValue(a2); + return U$1.current.useDeferredValue(a2); }; var useEffect$3 = react_production_min.useEffect = function(a2, b2) { - return U$2.current.useEffect(a2, b2); + return U$1.current.useEffect(a2, b2); }; var useId$1 = react_production_min.useId = function() { - return U$2.current.useId(); + return U$1.current.useId(); }; var useImperativeHandle = react_production_min.useImperativeHandle = function(a2, b2, e3) { - return U$2.current.useImperativeHandle(a2, b2, e3); + return U$1.current.useImperativeHandle(a2, b2, e3); }; var useInsertionEffect = react_production_min.useInsertionEffect = function(a2, b2) { - return U$2.current.useInsertionEffect(a2, b2); + return U$1.current.useInsertionEffect(a2, b2); }; var useLayoutEffect$2 = react_production_min.useLayoutEffect = function(a2, b2) { - return U$2.current.useLayoutEffect(a2, b2); + return U$1.current.useLayoutEffect(a2, b2); }; var useMemo$2 = react_production_min.useMemo = function(a2, b2) { - return U$2.current.useMemo(a2, b2); + return U$1.current.useMemo(a2, b2); }; var useReducer = react_production_min.useReducer = function(a2, b2, e3) { - return U$2.current.useReducer(a2, b2, e3); + return U$1.current.useReducer(a2, b2, e3); }; var useRef$2 = react_production_min.useRef = function(a2) { - return U$2.current.useRef(a2); + return U$1.current.useRef(a2); }; var useState$1 = react_production_min.useState = function(a2) { - return U$2.current.useState(a2); + return U$1.current.useState(a2); }; var useSyncExternalStore$4 = react_production_min.useSyncExternalStore = function(a2, b2, e3) { - return U$2.current.useSyncExternalStore(a2, b2, e3); + return U$1.current.useSyncExternalStore(a2, b2, e3); }; var useTransition = react_production_min.useTransition = function() { - return U$2.current.useTransition(); + return U$1.current.useTransition(); }; var version$1 = react_production_min.version = "18.3.1"; var react = react$1.exports; @@ -422,22 +377,19 @@ const React$4 = /* @__PURE__ */ _mergeNamespaces({ * LICENSE file in the root directory of this source tree. */ "use strict"; -var f$2 = reactExports, k$2 = Symbol.for("react.element"), l$4 = Symbol.for("react.fragment"), m$3 = Object.prototype.hasOwnProperty, n$2 = f$2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p$5 = { key: true, ref: true, __self: true, __source: true }; -function q$2(c2, a2, g2) { +var f$2 = reactExports, k$2 = Symbol.for("react.element"), l$4 = Symbol.for("react.fragment"), m$3 = Object.prototype.hasOwnProperty, n$3 = f$2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p$5 = { key: true, ref: true, __self: true, __source: true }; +function q$1(c2, a2, g2) { var b2, d2 = {}, e3 = null, h2 = null; void 0 !== g2 && (e3 = "" + g2); void 0 !== a2.key && (e3 = "" + a2.key); void 0 !== a2.ref && (h2 = a2.ref); - for (b2 in a2) - m$3.call(a2, b2) && !p$5.hasOwnProperty(b2) && (d2[b2] = a2[b2]); - if (c2 && c2.defaultProps) - for (b2 in a2 = c2.defaultProps, a2) - void 0 === d2[b2] && (d2[b2] = a2[b2]); - return { $$typeof: k$2, type: c2, key: e3, ref: h2, props: d2, _owner: n$2.current }; + for (b2 in a2) m$3.call(a2, b2) && !p$5.hasOwnProperty(b2) && (d2[b2] = a2[b2]); + if (c2 && c2.defaultProps) for (b2 in a2 = c2.defaultProps, a2) void 0 === d2[b2] && (d2[b2] = a2[b2]); + return { $$typeof: k$2, type: c2, key: e3, ref: h2, props: d2, _owner: n$3.current }; } var Fragment$1 = reactJsxRuntime_production_min.Fragment = l$4; -var jsx = reactJsxRuntime_production_min.jsx = q$2; -var jsxs = reactJsxRuntime_production_min.jsxs = q$2; +var jsx = reactJsxRuntime_production_min.jsx = q$1; +var jsxs = reactJsxRuntime_production_min.jsxs = q$1; var jsxRuntime = jsxRuntime$2.exports; "use strict"; if (true) { @@ -466,34 +418,26 @@ var scheduler_production_min$1 = {}; function f2(a2, b2) { var c2 = a2.length; a2.push(b2); - a: - for (; 0 < c2; ) { - var d2 = c2 - 1 >>> 1, e3 = a2[d2]; - if (0 < g2(e3, b2)) - a2[d2] = b2, a2[c2] = e3, c2 = d2; - else - break a; - } + a: for (; 0 < c2; ) { + var d2 = c2 - 1 >>> 1, e3 = a2[d2]; + if (0 < g2(e3, b2)) a2[d2] = b2, a2[c2] = e3, c2 = d2; + else break a; + } } function h2(a2) { return 0 === a2.length ? null : a2[0]; } function k2(a2) { - if (0 === a2.length) - return null; + if (0 === a2.length) return null; var b2 = a2[0], c2 = a2.pop(); if (c2 !== b2) { a2[0] = c2; - a: - for (var d2 = 0, e3 = a2.length, w2 = e3 >>> 1; d2 < w2; ) { - var m2 = 2 * (d2 + 1) - 1, C2 = a2[m2], n2 = m2 + 1, x2 = a2[n2]; - if (0 > g2(C2, c2)) - n2 < e3 && 0 > g2(x2, C2) ? (a2[d2] = x2, a2[n2] = c2, d2 = n2) : (a2[d2] = C2, a2[m2] = c2, d2 = m2); - else if (n2 < e3 && 0 > g2(x2, c2)) - a2[d2] = x2, a2[n2] = c2, d2 = n2; - else - break a; - } + a: for (var d2 = 0, e3 = a2.length, w2 = e3 >>> 1; d2 < w2; ) { + var m2 = 2 * (d2 + 1) - 1, C2 = a2[m2], n2 = m2 + 1, x2 = a2[n2]; + if (0 > g2(C2, c2)) n2 < e3 && 0 > g2(x2, C2) ? (a2[d2] = x2, a2[n2] = c2, d2 = n2) : (a2[d2] = C2, a2[m2] = c2, d2 = m2); + else if (n2 < e3 && 0 > g2(x2, c2)) a2[d2] = x2, a2[n2] = c2, d2 = n2; + else break a; + } } return b2; } @@ -516,25 +460,20 @@ var scheduler_production_min$1 = {}; "undefined" !== typeof navigator && void 0 !== navigator.scheduling && void 0 !== navigator.scheduling.isInputPending && navigator.scheduling.isInputPending.bind(navigator.scheduling); function G2(a2) { for (var b2 = h2(t4); null !== b2; ) { - if (null === b2.callback) - k2(t4); - else if (b2.startTime <= a2) - k2(t4), b2.sortIndex = b2.expirationTime, f2(r2, b2); - else - break; + if (null === b2.callback) k2(t4); + else if (b2.startTime <= a2) k2(t4), b2.sortIndex = b2.expirationTime, f2(r2, b2); + else break; b2 = h2(t4); } } function H2(a2) { B2 = false; G2(a2); - if (!A2) - if (null !== h2(r2)) - A2 = true, I2(J2); - else { - var b2 = h2(t4); - null !== b2 && K2(H2, b2.startTime - a2); - } + if (!A2) if (null !== h2(r2)) A2 = true, I2(J2); + else { + var b2 = h2(t4); + null !== b2 && K2(H2, b2.startTime - a2); + } } function J2(a2, b2) { A2 = false; @@ -552,12 +491,10 @@ var scheduler_production_min$1 = {}; b2 = exports2.unstable_now(); "function" === typeof e3 ? v2.callback = e3 : v2 === h2(r2) && k2(r2); G2(b2); - } else - k2(r2); + } else k2(r2); v2 = h2(r2); } - if (null !== v2) - var w2 = true; + if (null !== v2) var w2 = true; else { var m2 = h2(t4); null !== m2 && K2(H2, m2.startTime - b2); @@ -582,24 +519,21 @@ var scheduler_production_min$1 = {}; } finally { b2 ? S2() : (N2 = false, O2 = null); } - } else - N2 = false; + } else N2 = false; } var S2; - if ("function" === typeof F2) - S2 = function() { - F2(R2); - }; + if ("function" === typeof F2) S2 = function() { + F2(R2); + }; else if ("undefined" !== typeof MessageChannel) { var T2 = new MessageChannel(), U2 = T2.port2; T2.port1.onmessage = R2; S2 = function() { U2.postMessage(null); }; - } else - S2 = function() { - D2(R2, 0); - }; + } else S2 = function() { + D2(R2, 0); + }; function I2(a2) { O2 = a2; N2 || (N2 = true, S2()); @@ -731,8 +665,7 @@ const index$a = /* @__PURE__ */ getDefaultExportFromCjs(schedulerExports); "use strict"; var aa = reactExports, ca = schedulerExports; function p$4(a2) { - for (var b2 = "https://reactjs.org/docs/error-decoder.html?invariant=" + a2, c2 = 1; c2 < arguments.length; c2++) - b2 += "&args[]=" + encodeURIComponent(arguments[c2]); + for (var b2 = "https://reactjs.org/docs/error-decoder.html?invariant=" + a2, c2 = 1; c2 < arguments.length; c2++) b2 += "&args[]=" + encodeURIComponent(arguments[c2]); return "Minified React error #" + a2 + "; visit " + b2 + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."; } var da = /* @__PURE__ */ new Set(), ea = {}; @@ -742,32 +675,25 @@ function fa(a2, b2) { } function ha(a2, b2) { ea[a2] = b2; - for (a2 = 0; a2 < b2.length; a2++) - da.add(b2[a2]); + for (a2 = 0; a2 < b2.length; a2++) da.add(b2[a2]); } var ia = !("undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement), ja = Object.prototype.hasOwnProperty, ka$1 = /^[: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]*$/, la = {}, ma = {}; function oa(a2) { - if (ja.call(ma, a2)) - return true; - if (ja.call(la, a2)) - return false; - if (ka$1.test(a2)) - return ma[a2] = true; + if (ja.call(ma, a2)) return true; + if (ja.call(la, a2)) return false; + if (ka$1.test(a2)) return ma[a2] = true; la[a2] = true; return false; } function pa(a2, b2, c2, d2) { - if (null !== c2 && 0 === c2.type) - return false; + if (null !== c2 && 0 === c2.type) return false; switch (typeof b2) { case "function": case "symbol": return true; case "boolean": - if (d2) - return false; - if (null !== c2) - return !c2.acceptsBooleans; + if (d2) return false; + if (null !== c2) return !c2.acceptsBooleans; a2 = a2.toLowerCase().slice(0, 5); return "data-" !== a2 && "aria-" !== a2; default: @@ -775,24 +701,21 @@ function pa(a2, b2, c2, d2) { } } function qa(a2, b2, c2, d2) { - if (null === b2 || "undefined" === typeof b2 || pa(a2, b2, c2, d2)) - return true; - if (d2) - return false; - if (null !== c2) - switch (c2.type) { - case 3: - return !b2; - case 4: - return false === b2; - case 5: - return isNaN(b2); - case 6: - return isNaN(b2) || 1 > b2; - } + if (null === b2 || "undefined" === typeof b2 || pa(a2, b2, c2, d2)) return true; + if (d2) return false; + if (null !== c2) switch (c2.type) { + case 3: + return !b2; + case 4: + return false === b2; + case 5: + return isNaN(b2); + case 6: + return isNaN(b2) || 1 > b2; + } return false; } -function v$1(a2, b2, c2, d2, e3, f2, g2) { +function v$2(a2, b2, c2, d2, e3, f2, g2) { this.acceptsBooleans = 2 === b2 || 3 === b2 || 4 === b2; this.attributeName = d2; this.attributeNamespace = e3; @@ -804,32 +727,32 @@ function v$1(a2, b2, c2, d2, e3, f2, g2) { } var z = {}; "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a2) { - z[a2] = new v$1(a2, 0, false, a2, null, false, false); + z[a2] = new v$2(a2, 0, false, a2, null, false, false); }); [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(a2) { var b2 = a2[0]; - z[b2] = new v$1(b2, 1, false, a2[1], null, false, false); + z[b2] = new v$2(b2, 1, false, a2[1], null, false, false); }); ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(a2) { - z[a2] = new v$1(a2, 2, false, a2.toLowerCase(), null, false, false); + z[a2] = new v$2(a2, 2, false, a2.toLowerCase(), null, false, false); }); ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(a2) { - z[a2] = new v$1(a2, 2, false, a2, null, false, false); + z[a2] = new v$2(a2, 2, false, a2, null, false, false); }); "allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a2) { - z[a2] = new v$1(a2, 3, false, a2.toLowerCase(), null, false, false); + z[a2] = new v$2(a2, 3, false, a2.toLowerCase(), null, false, false); }); ["checked", "multiple", "muted", "selected"].forEach(function(a2) { - z[a2] = new v$1(a2, 3, true, a2, null, false, false); + z[a2] = new v$2(a2, 3, true, a2, null, false, false); }); ["capture", "download"].forEach(function(a2) { - z[a2] = new v$1(a2, 4, false, a2, null, false, false); + z[a2] = new v$2(a2, 4, false, a2, null, false, false); }); ["cols", "rows", "size", "span"].forEach(function(a2) { - z[a2] = new v$1(a2, 6, false, a2, null, false, false); + z[a2] = new v$2(a2, 6, false, a2, null, false, false); }); ["rowSpan", "start"].forEach(function(a2) { - z[a2] = new v$1(a2, 5, false, a2.toLowerCase(), null, false, false); + z[a2] = new v$2(a2, 5, false, a2.toLowerCase(), null, false, false); }); var ra = /[\-:]([a-z])/g; function sa(a2) { @@ -840,27 +763,26 @@ function sa(a2) { ra, sa ); - z[b2] = new v$1(b2, 1, false, a2, null, false, false); + z[b2] = new v$2(b2, 1, false, a2, null, false, false); }); "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a2) { var b2 = a2.replace(ra, sa); - z[b2] = new v$1(b2, 1, false, a2, "http://www.w3.org/1999/xlink", false, false); + z[b2] = new v$2(b2, 1, false, a2, "http://www.w3.org/1999/xlink", false, false); }); ["xml:base", "xml:lang", "xml:space"].forEach(function(a2) { var b2 = a2.replace(ra, sa); - z[b2] = new v$1(b2, 1, false, a2, "http://www.w3.org/XML/1998/namespace", false, false); + z[b2] = new v$2(b2, 1, false, a2, "http://www.w3.org/XML/1998/namespace", false, false); }); ["tabIndex", "crossOrigin"].forEach(function(a2) { - z[a2] = new v$1(a2, 1, false, a2.toLowerCase(), null, false, false); + z[a2] = new v$2(a2, 1, false, a2.toLowerCase(), null, false, false); }); -z.xlinkHref = new v$1("xlinkHref", 1, false, "xlink:href", "http://www.w3.org/1999/xlink", true, false); +z.xlinkHref = new v$2("xlinkHref", 1, false, "xlink:href", "http://www.w3.org/1999/xlink", true, false); ["src", "href", "action", "formAction"].forEach(function(a2) { - z[a2] = new v$1(a2, 1, false, a2.toLowerCase(), null, true, true); + z[a2] = new v$2(a2, 1, false, a2.toLowerCase(), null, true, true); }); function ta(a2, b2, c2, d2) { var e3 = z.hasOwnProperty(b2) ? z[b2] : null; - if (null !== e3 ? 0 !== e3.type : d2 || !(2 < b2.length) || "o" !== b2[0] && "O" !== b2[0] || "n" !== b2[1] && "N" !== b2[1]) - qa(b2, c2, e3, d2) && (c2 = null), d2 || null === e3 ? oa(b2) && (null === c2 ? a2.removeAttribute(b2) : a2.setAttribute(b2, "" + c2)) : e3.mustUseProperty ? a2[e3.propertyName] = null === c2 ? 3 === e3.type ? false : "" : c2 : (b2 = e3.attributeName, d2 = e3.attributeNamespace, null === c2 ? a2.removeAttribute(b2) : (e3 = e3.type, c2 = 3 === e3 || 4 === e3 && true === c2 ? "" : "" + c2, d2 ? a2.setAttributeNS(d2, b2, c2) : a2.setAttribute(b2, c2))); + if (null !== e3 ? 0 !== e3.type : d2 || !(2 < b2.length) || "o" !== b2[0] && "O" !== b2[0] || "n" !== b2[1] && "N" !== b2[1]) qa(b2, c2, e3, d2) && (c2 = null), d2 || null === e3 ? oa(b2) && (null === c2 ? a2.removeAttribute(b2) : a2.setAttribute(b2, "" + c2)) : e3.mustUseProperty ? a2[e3.propertyName] = null === c2 ? 3 === e3.type ? false : "" : c2 : (b2 = e3.attributeName, d2 = e3.attributeNamespace, null === c2 ? a2.removeAttribute(b2) : (e3 = e3.type, c2 = 3 === e3 || 4 === e3 && true === c2 ? "" : "" + c2, d2 ? a2.setAttributeNS(d2, b2, c2) : a2.setAttribute(b2, c2))); } var ua = aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, va = Symbol.for("react.element"), wa = Symbol.for("react.portal"), ya = Symbol.for("react.fragment"), za = Symbol.for("react.strict_mode"), Aa = Symbol.for("react.profiler"), Ba = Symbol.for("react.provider"), Ca = Symbol.for("react.context"), Da = Symbol.for("react.forward_ref"), Ea = Symbol.for("react.suspense"), Fa = Symbol.for("react.suspense_list"), Ga = Symbol.for("react.memo"), Ha = Symbol.for("react.lazy"); Symbol.for("react.scope"); @@ -871,50 +793,46 @@ Symbol.for("react.cache"); Symbol.for("react.tracing_marker"); var Ja = Symbol.iterator; function Ka(a2) { - if (null === a2 || "object" !== typeof a2) - return null; + if (null === a2 || "object" !== typeof a2) return null; a2 = Ja && a2[Ja] || a2["@@iterator"]; return "function" === typeof a2 ? a2 : null; } -var A$3 = Object.assign, La; +var A$2 = Object.assign, La; function Ma(a2) { - if (void 0 === La) - try { - throw Error(); - } catch (c2) { - var b2 = c2.stack.trim().match(/\n( *(at )?)/); - La = b2 && b2[1] || ""; - } + if (void 0 === La) try { + throw Error(); + } catch (c2) { + var b2 = c2.stack.trim().match(/\n( *(at )?)/); + La = b2 && b2[1] || ""; + } return "\n" + La + a2; } var Na = false; function Oa(a2, b2) { - if (!a2 || Na) - return ""; + if (!a2 || Na) return ""; Na = true; var c2 = Error.prepareStackTrace; Error.prepareStackTrace = void 0; try { - if (b2) - if (b2 = function() { - throw Error(); - }, Object.defineProperty(b2.prototype, "props", { set: function() { - throw Error(); - } }), "object" === typeof Reflect && Reflect.construct) { - try { - Reflect.construct(b2, []); - } catch (l2) { - var d2 = l2; - } - Reflect.construct(a2, [], b2); - } else { - try { - b2.call(); - } catch (l2) { - d2 = l2; - } - a2.call(b2.prototype); + if (b2) if (b2 = function() { + throw Error(); + }, Object.defineProperty(b2.prototype, "props", { set: function() { + throw Error(); + } }), "object" === typeof Reflect && Reflect.construct) { + try { + Reflect.construct(b2, []); + } catch (l2) { + var d2 = l2; } + Reflect.construct(a2, [], b2); + } else { + try { + b2.call(); + } catch (l2) { + d2 = l2; + } + a2.call(b2.prototype); + } else { try { throw Error(); @@ -925,21 +843,19 @@ function Oa(a2, b2) { } } catch (l2) { if (l2 && d2 && "string" === typeof l2.stack) { - for (var e3 = l2.stack.split("\n"), f2 = d2.stack.split("\n"), g2 = e3.length - 1, h2 = f2.length - 1; 1 <= g2 && 0 <= h2 && e3[g2] !== f2[h2]; ) - h2--; - for (; 1 <= g2 && 0 <= h2; g2--, h2--) - if (e3[g2] !== f2[h2]) { - if (1 !== g2 || 1 !== h2) { - do - if (g2--, h2--, 0 > h2 || e3[g2] !== f2[h2]) { - var k2 = "\n" + e3[g2].replace(" at new ", " at "); - a2.displayName && k2.includes("") && (k2 = k2.replace("", a2.displayName)); - return k2; - } - while (1 <= g2 && 0 <= h2); - } - break; + for (var e3 = l2.stack.split("\n"), f2 = d2.stack.split("\n"), g2 = e3.length - 1, h2 = f2.length - 1; 1 <= g2 && 0 <= h2 && e3[g2] !== f2[h2]; ) h2--; + for (; 1 <= g2 && 0 <= h2; g2--, h2--) if (e3[g2] !== f2[h2]) { + if (1 !== g2 || 1 !== h2) { + do + if (g2--, h2--, 0 > h2 || e3[g2] !== f2[h2]) { + var k2 = "\n" + e3[g2].replace(" at new ", " at "); + a2.displayName && k2.includes("") && (k2 = k2.replace("", a2.displayName)); + return k2; + } + while (1 <= g2 && 0 <= h2); } + break; + } } } finally { Na = false, Error.prepareStackTrace = c2; @@ -969,12 +885,9 @@ function Pa(a2) { } } function Qa(a2) { - if (null == a2) - return null; - if ("function" === typeof a2) - return a2.displayName || a2.name || null; - if ("string" === typeof a2) - return a2; + if (null == a2) return null; + if ("function" === typeof a2) return a2.displayName || a2.name || null; + if ("string" === typeof a2) return a2; switch (a2) { case ya: return "Fragment"; @@ -989,27 +902,26 @@ function Qa(a2) { case Fa: return "SuspenseList"; } - if ("object" === typeof a2) - switch (a2.$$typeof) { - case Ca: - return (a2.displayName || "Context") + ".Consumer"; - case Ba: - return (a2._context.displayName || "Context") + ".Provider"; - case Da: - var b2 = a2.render; - a2 = a2.displayName; - a2 || (a2 = b2.displayName || b2.name || "", a2 = "" !== a2 ? "ForwardRef(" + a2 + ")" : "ForwardRef"); - return a2; - case Ga: - return b2 = a2.displayName || null, null !== b2 ? b2 : Qa(a2.type) || "Memo"; - case Ha: - b2 = a2._payload; - a2 = a2._init; - try { - return Qa(a2(b2)); - } catch (c2) { - } - } + if ("object" === typeof a2) switch (a2.$$typeof) { + case Ca: + return (a2.displayName || "Context") + ".Consumer"; + case Ba: + return (a2._context.displayName || "Context") + ".Provider"; + case Da: + var b2 = a2.render; + a2 = a2.displayName; + a2 || (a2 = b2.displayName || b2.name || "", a2 = "" !== a2 ? "ForwardRef(" + a2 + ")" : "ForwardRef"); + return a2; + case Ga: + return b2 = a2.displayName || null, null !== b2 ? b2 : Qa(a2.type) || "Memo"; + case Ha: + b2 = a2._payload; + a2 = a2._init; + try { + return Qa(a2(b2)); + } catch (c2) { + } + } return null; } function Ra(a2) { @@ -1057,10 +969,8 @@ function Ra(a2) { case 2: case 14: case 15: - if ("function" === typeof b2) - return b2.displayName || b2.name || null; - if ("string" === typeof b2) - return b2; + if ("function" === typeof b2) return b2.displayName || b2.name || null; + if ("string" === typeof b2) return b2; } return null; } @@ -1106,11 +1016,9 @@ function Va(a2) { a2._valueTracker || (a2._valueTracker = Ua(a2)); } function Wa(a2) { - if (!a2) - return false; + if (!a2) return false; var b2 = a2._valueTracker; - if (!b2) - return true; + if (!b2) return true; var c2 = b2.getValue(); var d2 = ""; a2 && (d2 = Ta(a2) ? a2.checked ? "true" : "false" : a2.value); @@ -1119,8 +1027,7 @@ function Wa(a2) { } function Xa(a2) { a2 = a2 || ("undefined" !== typeof document ? document : void 0); - if ("undefined" === typeof a2) - return null; + if ("undefined" === typeof a2) return null; try { return a2.activeElement || a2.body; } catch (b2) { @@ -1129,7 +1036,7 @@ function Xa(a2) { } function Ya(a2, b2) { var c2 = b2.checked; - return A$3({}, b2, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: null != c2 ? c2 : a2._wrapperState.initialChecked }); + return A$2({}, b2, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: null != c2 ? c2 : a2._wrapperState.initialChecked }); } function Za(a2, b2) { var c2 = null == b2.defaultValue ? "" : b2.defaultValue, d2 = null != b2.checked ? b2.checked : b2.defaultChecked; @@ -1143,12 +1050,9 @@ function ab(a2, b2) { function bb(a2, b2) { ab(a2, b2); var c2 = Sa(b2.value), d2 = b2.type; - if (null != c2) - if ("number" === d2) { - if (0 === c2 && "" === a2.value || a2.value != c2) - a2.value = "" + c2; - } else - a2.value !== "" + c2 && (a2.value = "" + c2); + if (null != c2) if ("number" === d2) { + if (0 === c2 && "" === a2.value || a2.value != c2) a2.value = "" + c2; + } else a2.value !== "" + c2 && (a2.value = "" + c2); else if ("submit" === d2 || "reset" === d2) { a2.removeAttribute("value"); return; @@ -1159,8 +1063,7 @@ function bb(a2, b2) { function db(a2, b2, c2) { if (b2.hasOwnProperty("value") || b2.hasOwnProperty("defaultValue")) { var d2 = b2.type; - if (!("submit" !== d2 && "reset" !== d2 || void 0 !== b2.value && null !== b2.value)) - return; + if (!("submit" !== d2 && "reset" !== d2 || void 0 !== b2.value && null !== b2.value)) return; b2 = "" + a2._wrapperState.initialValue; c2 || b2 === a2.value || (a2.value = b2); a2.defaultValue = b2; @@ -1171,18 +1074,15 @@ function db(a2, b2, c2) { "" !== c2 && (a2.name = c2); } function cb(a2, b2, c2) { - if ("number" !== b2 || Xa(a2.ownerDocument) !== a2) - null == c2 ? a2.defaultValue = "" + a2._wrapperState.initialValue : a2.defaultValue !== "" + c2 && (a2.defaultValue = "" + c2); + if ("number" !== b2 || Xa(a2.ownerDocument) !== a2) null == c2 ? a2.defaultValue = "" + a2._wrapperState.initialValue : a2.defaultValue !== "" + c2 && (a2.defaultValue = "" + c2); } var eb = Array.isArray; function fb(a2, b2, c2, d2) { a2 = a2.options; if (b2) { b2 = {}; - for (var e3 = 0; e3 < c2.length; e3++) - b2["$" + c2[e3]] = true; - for (c2 = 0; c2 < a2.length; c2++) - e3 = b2.hasOwnProperty("$" + a2[c2].value), a2[c2].selected !== e3 && (a2[c2].selected = e3), e3 && d2 && (a2[c2].defaultSelected = true); + for (var e3 = 0; e3 < c2.length; e3++) b2["$" + c2[e3]] = true; + for (c2 = 0; c2 < a2.length; c2++) e3 = b2.hasOwnProperty("$" + a2[c2].value), a2[c2].selected !== e3 && (a2[c2].selected = e3), e3 && d2 && (a2[c2].defaultSelected = true); } else { c2 = "" + Sa(c2); b2 = null; @@ -1198,9 +1098,8 @@ function fb(a2, b2, c2, d2) { } } function gb(a2, b2) { - if (null != b2.dangerouslySetInnerHTML) - throw Error(p$4(91)); - return A$3({}, b2, { value: void 0, defaultValue: void 0, children: "" + a2._wrapperState.initialValue }); + if (null != b2.dangerouslySetInnerHTML) throw Error(p$4(91)); + return A$2({}, b2, { value: void 0, defaultValue: void 0, children: "" + a2._wrapperState.initialValue }); } function hb(a2, b2) { var c2 = b2.value; @@ -1208,11 +1107,9 @@ function hb(a2, b2) { c2 = b2.children; b2 = b2.defaultValue; if (null != c2) { - if (null != b2) - throw Error(p$4(92)); + if (null != b2) throw Error(p$4(92)); if (eb(c2)) { - if (1 < c2.length) - throw Error(p$4(93)); + if (1 < c2.length) throw Error(p$4(93)); c2 = c2[0]; } b2 = c2; @@ -1251,15 +1148,12 @@ var mb, nb = function(a2) { }); } : a2; }(function(a2, b2) { - if ("http://www.w3.org/2000/svg" !== a2.namespaceURI || "innerHTML" in a2) - a2.innerHTML = b2; + if ("http://www.w3.org/2000/svg" !== a2.namespaceURI || "innerHTML" in a2) a2.innerHTML = b2; else { mb = mb || document.createElement("div"); mb.innerHTML = "" + b2.valueOf().toString() + ""; - for (b2 = mb.firstChild; a2.firstChild; ) - a2.removeChild(a2.firstChild); - for (; b2.firstChild; ) - a2.appendChild(b2.firstChild); + for (b2 = mb.firstChild; a2.firstChild; ) a2.removeChild(a2.firstChild); + for (; b2.firstChild; ) a2.appendChild(b2.firstChild); } }); function ob(a2, b2) { @@ -1328,31 +1222,25 @@ function rb(a2, b2, c2) { } function sb(a2, b2) { a2 = a2.style; - for (var c2 in b2) - if (b2.hasOwnProperty(c2)) { - var d2 = 0 === c2.indexOf("--"), e3 = rb(c2, b2[c2], d2); - "float" === c2 && (c2 = "cssFloat"); - d2 ? a2.setProperty(c2, e3) : a2[c2] = e3; - } + for (var c2 in b2) if (b2.hasOwnProperty(c2)) { + var d2 = 0 === c2.indexOf("--"), e3 = rb(c2, b2[c2], d2); + "float" === c2 && (c2 = "cssFloat"); + d2 ? a2.setProperty(c2, e3) : a2[c2] = e3; + } } -var tb = A$3({ menuitem: true }, { area: true, base: true, br: true, col: true, embed: true, hr: true, img: true, input: true, keygen: true, link: true, meta: true, param: true, source: true, track: true, wbr: true }); +var tb = A$2({ menuitem: true }, { area: true, base: true, br: true, col: true, embed: true, hr: true, img: true, input: true, keygen: true, link: true, meta: true, param: true, source: true, track: true, wbr: true }); function ub(a2, b2) { if (b2) { - if (tb[a2] && (null != b2.children || null != b2.dangerouslySetInnerHTML)) - throw Error(p$4(137, a2)); + if (tb[a2] && (null != b2.children || null != b2.dangerouslySetInnerHTML)) throw Error(p$4(137, a2)); if (null != b2.dangerouslySetInnerHTML) { - if (null != b2.children) - throw Error(p$4(60)); - if ("object" !== typeof b2.dangerouslySetInnerHTML || !("__html" in b2.dangerouslySetInnerHTML)) - throw Error(p$4(61)); + if (null != b2.children) throw Error(p$4(60)); + if ("object" !== typeof b2.dangerouslySetInnerHTML || !("__html" in b2.dangerouslySetInnerHTML)) throw Error(p$4(61)); } - if (null != b2.style && "object" !== typeof b2.style) - throw Error(p$4(62)); + if (null != b2.style && "object" !== typeof b2.style) throw Error(p$4(62)); } } function vb(a2, b2) { - if (-1 === a2.indexOf("-")) - return "string" === typeof b2.is; + if (-1 === a2.indexOf("-")) return "string" === typeof b2.is; switch (a2) { case "annotation-xml": case "color-profile": @@ -1376,8 +1264,7 @@ function xb(a2) { var yb = null, zb = null, Ab = null; function Bb(a2) { if (a2 = Cb(a2)) { - if ("function" !== typeof yb) - throw Error(p$4(280)); + if ("function" !== typeof yb) throw Error(p$4(280)); var b2 = a2.stateNode; b2 && (b2 = Db(b2), yb(a2.stateNode, a2.type, b2)); } @@ -1390,9 +1277,7 @@ function Fb() { var a2 = zb, b2 = Ab; Ab = zb = null; Bb(a2); - if (b2) - for (a2 = 0; a2 < b2.length; a2++) - Bb(b2[a2]); + if (b2) for (a2 = 0; a2 < b2.length; a2++) Bb(b2[a2]); } } function Gb(a2, b2) { @@ -1402,61 +1287,53 @@ function Hb() { } var Ib = false; function Jb(a2, b2, c2) { - if (Ib) - return a2(b2, c2); + if (Ib) return a2(b2, c2); Ib = true; try { return Gb(a2, b2, c2); } finally { - if (Ib = false, null !== zb || null !== Ab) - Hb(), Fb(); + if (Ib = false, null !== zb || null !== Ab) Hb(), Fb(); } } function Kb(a2, b2) { var c2 = a2.stateNode; - if (null === c2) - return null; + if (null === c2) return null; var d2 = Db(c2); - if (null === d2) - return null; + if (null === d2) return null; c2 = d2[b2]; - a: - switch (b2) { - case "onClick": - case "onClickCapture": - case "onDoubleClick": - case "onDoubleClickCapture": - case "onMouseDown": - case "onMouseDownCapture": - case "onMouseMove": - case "onMouseMoveCapture": - case "onMouseUp": - case "onMouseUpCapture": - case "onMouseEnter": - (d2 = !d2.disabled) || (a2 = a2.type, d2 = !("button" === a2 || "input" === a2 || "select" === a2 || "textarea" === a2)); - a2 = !d2; - break a; - default: - a2 = false; - } - if (a2) - return null; - if (c2 && "function" !== typeof c2) - throw Error(p$4(231, b2, typeof c2)); + a: switch (b2) { + case "onClick": + case "onClickCapture": + case "onDoubleClick": + case "onDoubleClickCapture": + case "onMouseDown": + case "onMouseDownCapture": + case "onMouseMove": + case "onMouseMoveCapture": + case "onMouseUp": + case "onMouseUpCapture": + case "onMouseEnter": + (d2 = !d2.disabled) || (a2 = a2.type, d2 = !("button" === a2 || "input" === a2 || "select" === a2 || "textarea" === a2)); + a2 = !d2; + break a; + default: + a2 = false; + } + if (a2) return null; + if (c2 && "function" !== typeof c2) throw Error(p$4(231, b2, typeof c2)); return c2; } var Lb = false; -if (ia) - try { - var Mb = {}; - Object.defineProperty(Mb, "passive", { get: function() { - Lb = true; - } }); - window.addEventListener("test", Mb, Mb); - window.removeEventListener("test", Mb, Mb); - } catch (a2) { - Lb = false; - } +if (ia) try { + var Mb = {}; + Object.defineProperty(Mb, "passive", { get: function() { + Lb = true; + } }); + window.addEventListener("test", Mb, Mb); + window.removeEventListener("test", Mb, Mb); +} catch (a2) { + Lb = false; +} function Nb(a2, b2, c2, d2, e3, f2, g2, h2, k2) { var l2 = Array.prototype.slice.call(arguments, 3); try { @@ -1481,16 +1358,13 @@ function Ub(a2, b2, c2, d2, e3, f2, g2, h2, k2) { var l2 = Pb; Ob = false; Pb = null; - } else - throw Error(p$4(198)); + } else throw Error(p$4(198)); Qb || (Qb = true, Rb = l2); } } function Vb(a2) { var b2 = a2, c2 = a2; - if (a2.alternate) - for (; b2.return; ) - b2 = b2.return; + if (a2.alternate) for (; b2.return; ) b2 = b2.return; else { a2 = b2; do @@ -1503,27 +1377,23 @@ function Wb(a2) { if (13 === a2.tag) { var b2 = a2.memoizedState; null === b2 && (a2 = a2.alternate, null !== a2 && (b2 = a2.memoizedState)); - if (null !== b2) - return b2.dehydrated; + if (null !== b2) return b2.dehydrated; } return null; } function Xb(a2) { - if (Vb(a2) !== a2) - throw Error(p$4(188)); + if (Vb(a2) !== a2) throw Error(p$4(188)); } function Yb(a2) { var b2 = a2.alternate; if (!b2) { b2 = Vb(a2); - if (null === b2) - throw Error(p$4(188)); + if (null === b2) throw Error(p$4(188)); return b2 !== a2 ? null : a2; } for (var c2 = a2, d2 = b2; ; ) { var e3 = c2.return; - if (null === e3) - break; + if (null === e3) break; var f2 = e3.alternate; if (null === f2) { d2 = e3.return; @@ -1535,16 +1405,13 @@ function Yb(a2) { } if (e3.child === f2.child) { for (f2 = e3.child; f2; ) { - if (f2 === c2) - return Xb(e3), a2; - if (f2 === d2) - return Xb(e3), b2; + if (f2 === c2) return Xb(e3), a2; + if (f2 === d2) return Xb(e3), b2; f2 = f2.sibling; } throw Error(p$4(188)); } - if (c2.return !== d2.return) - c2 = e3, d2 = f2; + if (c2.return !== d2.return) c2 = e3, d2 = f2; else { for (var g2 = false, h2 = e3.child; h2; ) { if (h2 === c2) { @@ -1577,15 +1444,12 @@ function Yb(a2) { } h2 = h2.sibling; } - if (!g2) - throw Error(p$4(189)); + if (!g2) throw Error(p$4(189)); } } - if (c2.alternate !== d2) - throw Error(p$4(190)); + if (c2.alternate !== d2) throw Error(p$4(190)); } - if (3 !== c2.tag) - throw Error(p$4(188)); + if (3 !== c2.tag) throw Error(p$4(188)); return c2.stateNode.current === c2 ? a2 : b2; } function Zb(a2) { @@ -1593,23 +1457,20 @@ function Zb(a2) { return null !== a2 ? $b(a2) : null; } function $b(a2) { - if (5 === a2.tag || 6 === a2.tag) - return a2; + if (5 === a2.tag || 6 === a2.tag) return a2; for (a2 = a2.child; null !== a2; ) { var b2 = $b(a2); - if (null !== b2) - return b2; + if (null !== b2) return b2; a2 = a2.sibling; } return null; } var ac = ca.unstable_scheduleCallback, bc = ca.unstable_cancelCallback, cc = ca.unstable_shouldYield, dc = ca.unstable_requestPaint, B$2 = ca.unstable_now, ec = ca.unstable_getCurrentPriorityLevel, fc = ca.unstable_ImmediatePriority, gc = ca.unstable_UserBlockingPriority, hc = ca.unstable_NormalPriority, ic = ca.unstable_LowPriority, jc = ca.unstable_IdlePriority, kc = null, lc = null; function mc(a2) { - if (lc && "function" === typeof lc.onCommitFiberRoot) - try { - lc.onCommitFiberRoot(kc, a2, void 0, 128 === (a2.current.flags & 128)); - } catch (b2) { - } + if (lc && "function" === typeof lc.onCommitFiberRoot) try { + lc.onCommitFiberRoot(kc, a2, void 0, 128 === (a2.current.flags & 128)); + } catch (b2) { + } } var oc = Math.clz32 ? Math.clz32 : nc, pc = Math.log, qc = Math.LN2; function nc(a2) { @@ -1668,23 +1529,17 @@ function tc(a2) { } function uc(a2, b2) { var c2 = a2.pendingLanes; - if (0 === c2) - return 0; + if (0 === c2) return 0; var d2 = 0, e3 = a2.suspendedLanes, f2 = a2.pingedLanes, g2 = c2 & 268435455; if (0 !== g2) { var h2 = g2 & ~e3; 0 !== h2 ? d2 = tc(h2) : (f2 &= g2, 0 !== f2 && (d2 = tc(f2))); - } else - g2 = c2 & ~e3, 0 !== g2 ? d2 = tc(g2) : 0 !== f2 && (d2 = tc(f2)); - if (0 === d2) - return 0; - if (0 !== b2 && b2 !== d2 && 0 === (b2 & e3) && (e3 = d2 & -d2, f2 = b2 & -b2, e3 >= f2 || 16 === e3 && 0 !== (f2 & 4194240))) - return b2; + } else g2 = c2 & ~e3, 0 !== g2 ? d2 = tc(g2) : 0 !== f2 && (d2 = tc(f2)); + if (0 === d2) return 0; + if (0 !== b2 && b2 !== d2 && 0 === (b2 & e3) && (e3 = d2 & -d2, f2 = b2 & -b2, e3 >= f2 || 16 === e3 && 0 !== (f2 & 4194240))) return b2; 0 !== (d2 & 4) && (d2 |= c2 & 16); b2 = a2.entangledLanes; - if (0 !== b2) - for (a2 = a2.entanglements, b2 &= d2; 0 < b2; ) - c2 = 31 - oc(b2), e3 = 1 << c2, d2 |= a2[c2], b2 &= ~e3; + if (0 !== b2) for (a2 = a2.entanglements, b2 &= d2; 0 < b2; ) c2 = 31 - oc(b2), e3 = 1 << c2, d2 |= a2[c2], b2 &= ~e3; return d2; } function vc(a2, b2) { @@ -1732,10 +1587,8 @@ function wc(a2, b2) { for (var c2 = a2.suspendedLanes, d2 = a2.pingedLanes, e3 = a2.expirationTimes, f2 = a2.pendingLanes; 0 < f2; ) { var g2 = 31 - oc(f2), h2 = 1 << g2, k2 = e3[g2]; if (-1 === k2) { - if (0 === (h2 & c2) || 0 !== (h2 & d2)) - e3[g2] = vc(h2, b2); - } else - k2 <= b2 && (a2.expiredLanes |= h2); + if (0 === (h2 & c2) || 0 !== (h2 & d2)) e3[g2] = vc(h2, b2); + } else k2 <= b2 && (a2.expiredLanes |= h2); f2 &= ~h2; } } @@ -1750,8 +1603,7 @@ function yc() { return a2; } function zc(a2) { - for (var b2 = [], c2 = 0; 31 > c2; c2++) - b2.push(a2); + for (var b2 = [], c2 = 0; 31 > c2; c2++) b2.push(a2); return b2; } function Ac(a2, b2, c2) { @@ -1817,8 +1669,7 @@ function Sc(a2, b2) { } } function Tc(a2, b2, c2, d2, e3, f2) { - if (null === a2 || a2.nativeEvent !== f2) - return a2 = { blockedOn: b2, domEventName: c2, eventSystemFlags: d2, nativeEvent: f2, targetContainers: [e3] }, null !== b2 && (b2 = Cb(b2), null !== b2 && Fc(b2)), a2; + if (null === a2 || a2.nativeEvent !== f2) return a2 = { blockedOn: b2, domEventName: c2, eventSystemFlags: d2, nativeEvent: f2, targetContainers: [e3] }, null !== b2 && (b2 = Cb(b2), null !== b2 && Fc(b2)), a2; a2.eventSystemFlags |= d2; b2 = a2.targetContainers; null !== e3 && -1 === b2.indexOf(e3) && b2.push(e3); @@ -1863,8 +1714,7 @@ function Vc(a2) { a2.blockedOn = null; } function Xc(a2) { - if (null !== a2.blockedOn) - return false; + if (null !== a2.blockedOn) return false; for (var b2 = a2.targetContainers; 0 < b2.length; ) { var c2 = Yc(a2.domEventName, a2.eventSystemFlags, b2[0], a2.nativeEvent); if (null === c2) { @@ -1873,8 +1723,7 @@ function Xc(a2) { wb = d2; c2.target.dispatchEvent(d2); wb = null; - } else - return b2 = Cb(c2), null !== b2 && Fc(b2), a2.blockedOn = c2, false; + } else return b2 = Cb(c2), null !== b2 && Fc(b2), a2.blockedOn = c2, false; b2.shift(); } return true; @@ -1909,10 +1758,8 @@ function bd(a2) { null !== Nc && ad(Nc, a2); Oc.forEach(b2); Pc.forEach(b2); - for (c2 = 0; c2 < Qc.length; c2++) - d2 = Qc[c2], d2.blockedOn === a2 && (d2.blockedOn = null); - for (; 0 < Qc.length && (c2 = Qc[0], null === c2.blockedOn); ) - Vc(c2), null === c2.blockedOn && Qc.shift(); + for (c2 = 0; c2 < Qc.length; c2++) d2 = Qc[c2], d2.blockedOn === a2 && (d2.blockedOn = null); + for (; 0 < Qc.length && (c2 = Qc[0], null === c2.blockedOn); ) Vc(c2), null === c2.blockedOn && Qc.shift(); } var cd = ua.ReactCurrentBatchConfig, dd = true; function ed(a2, b2, c2, d2) { @@ -1936,23 +1783,19 @@ function gd(a2, b2, c2, d2) { function fd(a2, b2, c2, d2) { if (dd) { var e3 = Yc(a2, b2, c2, d2); - if (null === e3) - hd(a2, b2, d2, id$3, c2), Sc(a2, d2); - else if (Uc(e3, a2, b2, c2, d2)) - d2.stopPropagation(); + if (null === e3) hd(a2, b2, d2, id$3, c2), Sc(a2, d2); + else if (Uc(e3, a2, b2, c2, d2)) d2.stopPropagation(); else if (Sc(a2, d2), b2 & 4 && -1 < Rc.indexOf(a2)) { for (; null !== e3; ) { var f2 = Cb(e3); null !== f2 && Ec(f2); f2 = Yc(a2, b2, c2, d2); null === f2 && hd(a2, b2, d2, id$3, c2); - if (f2 === e3) - break; + if (f2 === e3) break; e3 = f2; } null !== e3 && d2.stopPropagation(); - } else - hd(a2, b2, d2, null, c2); + } else hd(a2, b2, d2, null, c2); } } var id$3 = null; @@ -1960,20 +1803,15 @@ function Yc(a2, b2, c2, d2) { id$3 = null; a2 = xb(d2); a2 = Wc(a2); - if (null !== a2) - if (b2 = Vb(a2), null === b2) - a2 = null; - else if (c2 = b2.tag, 13 === c2) { - a2 = Wb(b2); - if (null !== a2) - return a2; - a2 = null; - } else if (3 === c2) { - if (b2.stateNode.current.memoizedState.isDehydrated) - return 3 === b2.tag ? b2.stateNode.containerInfo : null; - a2 = null; - } else - b2 !== a2 && (a2 = null); + if (null !== a2) if (b2 = Vb(a2), null === b2) a2 = null; + else if (c2 = b2.tag, 13 === c2) { + a2 = Wb(b2); + if (null !== a2) return a2; + a2 = null; + } else if (3 === c2) { + if (b2.stateNode.current.memoizedState.isDehydrated) return 3 === b2.tag ? b2.stateNode.containerInfo : null; + a2 = null; + } else b2 !== a2 && (a2 = null); id$3 = a2; return null; } @@ -2071,14 +1909,11 @@ function jd(a2) { } var kd = null, ld = null, md = null; function nd() { - if (md) - return md; + if (md) return md; var a2, b2 = ld, c2 = b2.length, d2, e3 = "value" in kd ? kd.value : kd.textContent, f2 = e3.length; - for (a2 = 0; a2 < c2 && b2[a2] === e3[a2]; a2++) - ; + for (a2 = 0; a2 < c2 && b2[a2] === e3[a2]; a2++) ; var g2 = c2 - a2; - for (d2 = 1; d2 <= g2 && b2[c2 - d2] === e3[f2 - d2]; d2++) - ; + for (d2 = 1; d2 <= g2 && b2[c2 - d2] === e3[f2 - d2]; d2++) ; return md = e3.slice(a2, 1 < d2 ? 1 - d2 : void 0); } function od(a2) { @@ -2101,13 +1936,12 @@ function rd(a2) { this.nativeEvent = f2; this.target = g2; this.currentTarget = null; - for (var c2 in a2) - a2.hasOwnProperty(c2) && (b3 = a2[c2], this[c2] = b3 ? b3(f2) : f2[c2]); + for (var c2 in a2) a2.hasOwnProperty(c2) && (b3 = a2[c2], this[c2] = b3 ? b3(f2) : f2[c2]); this.isDefaultPrevented = (null != f2.defaultPrevented ? f2.defaultPrevented : false === f2.returnValue) ? pd : qd; this.isPropagationStopped = qd; return this; } - A$3(b2.prototype, { preventDefault: function() { + A$2(b2.prototype, { preventDefault: function() { this.defaultPrevented = true; var a3 = this.nativeEvent; a3 && (a3.preventDefault ? a3.preventDefault() : "unknown" !== typeof a3.returnValue && (a3.returnValue = false), this.isDefaultPrevented = pd); @@ -2120,18 +1954,17 @@ function rd(a2) { } var sd = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function(a2) { return a2.timeStamp || Date.now(); -}, defaultPrevented: 0, isTrusted: 0 }, td = rd(sd), ud = A$3({}, sd, { view: 0, detail: 0 }), vd = rd(ud), wd, xd, yd, Ad = A$3({}, ud, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: zd, button: 0, buttons: 0, relatedTarget: function(a2) { +}, defaultPrevented: 0, isTrusted: 0 }, td = rd(sd), ud = A$2({}, sd, { view: 0, detail: 0 }), vd = rd(ud), wd, xd, yd, Ad = A$2({}, ud, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: zd, button: 0, buttons: 0, relatedTarget: function(a2) { return void 0 === a2.relatedTarget ? a2.fromElement === a2.srcElement ? a2.toElement : a2.fromElement : a2.relatedTarget; }, movementX: function(a2) { - if ("movementX" in a2) - return a2.movementX; + if ("movementX" in a2) return a2.movementX; a2 !== yd && (yd && "mousemove" === a2.type ? (wd = a2.screenX - yd.screenX, xd = a2.screenY - yd.screenY) : xd = wd = 0, yd = a2); return wd; }, movementY: function(a2) { return "movementY" in a2 ? a2.movementY : xd; -} }), Bd = rd(Ad), Cd = A$3({}, Ad, { dataTransfer: 0 }), Dd = rd(Cd), Ed = A$3({}, ud, { relatedTarget: 0 }), Fd = rd(Ed), Gd = A$3({}, sd, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), Hd = rd(Gd), Id = A$3({}, sd, { clipboardData: function(a2) { +} }), Bd = rd(Ad), Cd = A$2({}, Ad, { dataTransfer: 0 }), Dd = rd(Cd), Ed = A$2({}, ud, { relatedTarget: 0 }), Fd = rd(Ed), Gd = A$2({}, sd, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), Hd = rd(Gd), Id = A$2({}, sd, { clipboardData: function(a2) { return "clipboardData" in a2 ? a2.clipboardData : window.clipboardData; -} }), Jd = rd(Id), Kd = A$3({}, sd, { data: 0 }), Ld = rd(Kd), Md = { +} }), Jd = rd(Id), Kd = A$2({}, sd, { data: 0 }), Ld = rd(Kd), Md = { Esc: "Escape", Spacebar: " ", Left: "ArrowLeft", @@ -2189,11 +2022,10 @@ function Pd(a2) { function zd() { return Pd; } -var Qd = A$3({}, ud, { key: function(a2) { +var Qd = A$2({}, ud, { key: function(a2) { if (a2.key) { var b2 = Md[a2.key] || a2.key; - if ("Unidentified" !== b2) - return b2; + if ("Unidentified" !== b2) return b2; } return "keypress" === a2.type ? (a2 = od(a2), 13 === a2 ? "Enter" : String.fromCharCode(a2)) : "keydown" === a2.type || "keyup" === a2.type ? Nd[a2.keyCode] || "Unidentified" : ""; }, code: 0, location: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, repeat: 0, locale: 0, getModifierState: zd, charCode: function(a2) { @@ -2202,7 +2034,7 @@ var Qd = A$3({}, ud, { key: function(a2) { return "keydown" === a2.type || "keyup" === a2.type ? a2.keyCode : 0; }, which: function(a2) { return "keypress" === a2.type ? od(a2) : "keydown" === a2.type || "keyup" === a2.type ? a2.keyCode : 0; -} }), Rd = rd(Qd), Sd = A$3({}, Ad, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 }), Td = rd(Sd), Ud = A$3({}, ud, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: zd }), Vd = rd(Ud), Wd = A$3({}, sd, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), Xd = rd(Wd), Yd = A$3({}, Ad, { +} }), Rd = rd(Qd), Sd = A$2({}, Ad, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 }), Td = rd(Sd), Ud = A$2({}, ud, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: zd }), Vd = rd(Ud), Wd = A$2({}, sd, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), Xd = rd(Wd), Yd = A$2({}, Ad, { deltaX: function(a2) { return "deltaX" in a2 ? a2.deltaX : "wheelDeltaX" in a2 ? -a2.wheelDeltaX : 0; }, @@ -2213,7 +2045,7 @@ var Qd = A$3({}, ud, { key: function(a2) { deltaMode: 0 }), Zd = rd(Yd), $d = [9, 13, 27, 32], ae = ia && "CompositionEvent" in window, be$1 = null; ia && "documentMode" in document && (be$1 = document.documentMode); -var ce$1 = ia && "TextEvent" in window && !be$1, de$1 = ia && (!ae || be$1 && 8 < be$1 && 11 >= be$1), ee$1 = String.fromCharCode(32), fe$2 = false; +var ce$2 = ia && "TextEvent" in window && !be$1, de$1 = ia && (!ae || be$1 && 8 < be$1 && 11 >= be$1), ee = String.fromCharCode(32), fe$1 = false; function ge$1(a2, b2) { switch (a2) { case "keyup": @@ -2232,34 +2064,30 @@ function he$1(a2) { a2 = a2.detail; return "object" === typeof a2 && "data" in a2 ? a2.data : null; } -var ie$1 = false; +var ie$2 = false; function je(a2, b2) { switch (a2) { case "compositionend": return he$1(b2); case "keypress": - if (32 !== b2.which) - return null; - fe$2 = true; - return ee$1; + if (32 !== b2.which) return null; + fe$1 = true; + return ee; case "textInput": - return a2 = b2.data, a2 === ee$1 && fe$2 ? null : a2; + return a2 = b2.data, a2 === ee && fe$1 ? null : a2; default: return null; } } -function ke(a2, b2) { - if (ie$1) - return "compositionend" === a2 || !ae && ge$1(a2, b2) ? (a2 = nd(), md = ld = kd = null, ie$1 = false, a2) : null; +function ke$1(a2, b2) { + if (ie$2) return "compositionend" === a2 || !ae && ge$1(a2, b2) ? (a2 = nd(), md = ld = kd = null, ie$2 = false, a2) : null; switch (a2) { case "paste": return null; case "keypress": if (!(b2.ctrlKey || b2.altKey || b2.metaKey) || b2.ctrlKey && b2.altKey) { - if (b2.char && 1 < b2.char.length) - return b2.char; - if (b2.which) - return String.fromCharCode(b2.which); + if (b2.char && 1 < b2.char.length) return b2.char; + if (b2.which) return String.fromCharCode(b2.which); } return null; case "compositionend": @@ -2269,90 +2097,79 @@ function ke(a2, b2) { } } var le$1 = { color: true, date: true, datetime: true, "datetime-local": true, email: true, month: true, number: true, password: true, range: true, search: true, tel: true, text: true, time: true, url: true, week: true }; -function me(a2) { +function me$1(a2) { var b2 = a2 && a2.nodeName && a2.nodeName.toLowerCase(); return "input" === b2 ? !!le$1[a2.type] : "textarea" === b2 ? true : false; } -function ne$1(a2, b2, c2, d2) { +function ne(a2, b2, c2, d2) { Eb(d2); - b2 = oe$1(b2, "onChange"); + b2 = oe(b2, "onChange"); 0 < b2.length && (c2 = new td("onChange", "change", null, c2, d2), a2.push({ event: c2, listeners: b2 })); } -var pe$1 = null, qe = null; +var pe = null, qe = null; function re$3(a2) { se$1(a2, 0); } function te(a2) { - var b2 = ue$1(a2); - if (Wa(b2)) - return a2; + var b2 = ue(a2); + if (Wa(b2)) return a2; } function ve$1(a2, b2) { - if ("change" === a2) - return b2; + if ("change" === a2) return b2; } -var we = false; +var we$1 = false; if (ia) { - var xe$1; + var xe; if (ia) { - var ye$1 = "oninput" in document; - if (!ye$1) { + var ye = "oninput" in document; + if (!ye) { var ze = document.createElement("div"); ze.setAttribute("oninput", "return;"); - ye$1 = "function" === typeof ze.oninput; + ye = "function" === typeof ze.oninput; } - xe$1 = ye$1; - } else - xe$1 = false; - we = xe$1 && (!document.documentMode || 9 < document.documentMode); + xe = ye; + } else xe = false; + we$1 = xe && (!document.documentMode || 9 < document.documentMode); } function Ae$1() { - pe$1 && (pe$1.detachEvent("onpropertychange", Be), qe = pe$1 = null); + pe && (pe.detachEvent("onpropertychange", Be), qe = pe = null); } function Be(a2) { if ("value" === a2.propertyName && te(qe)) { var b2 = []; - ne$1(b2, qe, a2, xb(a2)); + ne(b2, qe, a2, xb(a2)); Jb(re$3, b2); } } -function Ce(a2, b2, c2) { - "focusin" === a2 ? (Ae$1(), pe$1 = b2, qe = c2, pe$1.attachEvent("onpropertychange", Be)) : "focusout" === a2 && Ae$1(); +function Ce$1(a2, b2, c2) { + "focusin" === a2 ? (Ae$1(), pe = b2, qe = c2, pe.attachEvent("onpropertychange", Be)) : "focusout" === a2 && Ae$1(); } function De$1(a2) { - if ("selectionchange" === a2 || "keyup" === a2 || "keydown" === a2) - return te(qe); + if ("selectionchange" === a2 || "keyup" === a2 || "keydown" === a2) return te(qe); } function Ee$1(a2, b2) { - if ("click" === a2) - return te(b2); + if ("click" === a2) return te(b2); } -function Fe(a2, b2) { - if ("input" === a2 || "change" === a2) - return te(b2); +function Fe$1(a2, b2) { + if ("input" === a2 || "change" === a2) return te(b2); } function Ge(a2, b2) { return a2 === b2 && (0 !== a2 || 1 / a2 === 1 / b2) || a2 !== a2 && b2 !== b2; } var He = "function" === typeof Object.is ? Object.is : Ge; -function Ie(a2, b2) { - if (He(a2, b2)) - return true; - if ("object" !== typeof a2 || null === a2 || "object" !== typeof b2 || null === b2) - return false; +function Ie$1(a2, b2) { + if (He(a2, b2)) return true; + if ("object" !== typeof a2 || null === a2 || "object" !== typeof b2 || null === b2) return false; var c2 = Object.keys(a2), d2 = Object.keys(b2); - if (c2.length !== d2.length) - return false; + if (c2.length !== d2.length) return false; for (d2 = 0; d2 < c2.length; d2++) { var e3 = c2[d2]; - if (!ja.call(b2, e3) || !He(a2[e3], b2[e3])) - return false; + if (!ja.call(b2, e3) || !He(a2[e3], b2[e3])) return false; } return true; } function Je(a2) { - for (; a2 && a2.firstChild; ) - a2 = a2.firstChild; + for (; a2 && a2.firstChild; ) a2 = a2.firstChild; return a2; } function Ke(a2, b2) { @@ -2361,8 +2178,7 @@ function Ke(a2, b2) { for (var d2; c2; ) { if (3 === c2.nodeType) { d2 = a2 + c2.textContent.length; - if (a2 <= b2 && d2 >= b2) - return { node: c2, offset: b2 - a2 }; + if (a2 <= b2 && d2 >= b2) return { node: c2, offset: b2 - a2 }; a2 = d2; } a: { @@ -2381,17 +2197,15 @@ function Ke(a2, b2) { function Le(a2, b2) { return a2 && b2 ? a2 === b2 ? true : a2 && 3 === a2.nodeType ? false : b2 && 3 === b2.nodeType ? Le(a2, b2.parentNode) : "contains" in a2 ? a2.contains(b2) : a2.compareDocumentPosition ? !!(a2.compareDocumentPosition(b2) & 16) : false : false; } -function Me() { +function Me$1() { for (var a2 = window, b2 = Xa(); b2 instanceof a2.HTMLIFrameElement; ) { try { var c2 = "string" === typeof b2.contentWindow.location.href; } catch (d2) { c2 = false; } - if (c2) - a2 = b2.contentWindow; - else - break; + if (c2) a2 = b2.contentWindow; + else break; b2 = Xa(a2.document); } return b2; @@ -2401,11 +2215,10 @@ function Ne(a2) { return b2 && ("input" === b2 && ("text" === a2.type || "search" === a2.type || "tel" === a2.type || "url" === a2.type || "password" === a2.type) || "textarea" === b2 || "true" === a2.contentEditable); } function Oe$1(a2) { - var b2 = Me(), c2 = a2.focusedElem, d2 = a2.selectionRange; + var b2 = Me$1(), c2 = a2.focusedElem, d2 = a2.selectionRange; if (b2 !== c2 && c2 && c2.ownerDocument && Le(c2.ownerDocument.documentElement, c2)) { if (null !== d2 && Ne(c2)) { - if (b2 = d2.start, a2 = d2.end, void 0 === a2 && (a2 = b2), "selectionStart" in c2) - c2.selectionStart = b2, c2.selectionEnd = Math.min(a2, c2.value.length); + if (b2 = d2.start, a2 = d2.end, void 0 === a2 && (a2 = b2), "selectionStart" in c2) c2.selectionStart = b2, c2.selectionEnd = Math.min(a2, c2.value.length); else if (a2 = (b2 = c2.ownerDocument || document) && b2.defaultView || window, a2.getSelection) { a2 = a2.getSelection(); var e3 = c2.textContent.length, f2 = Math.min(d2.start, e3); @@ -2420,17 +2233,15 @@ function Oe$1(a2) { } } b2 = []; - for (a2 = c2; a2 = a2.parentNode; ) - 1 === a2.nodeType && b2.push({ element: a2, left: a2.scrollLeft, top: a2.scrollTop }); + for (a2 = c2; a2 = a2.parentNode; ) 1 === a2.nodeType && b2.push({ element: a2, left: a2.scrollLeft, top: a2.scrollTop }); "function" === typeof c2.focus && c2.focus(); - for (c2 = 0; c2 < b2.length; c2++) - a2 = b2[c2], a2.element.scrollLeft = a2.left, a2.element.scrollTop = a2.top; + for (c2 = 0; c2 < b2.length; c2++) a2 = b2[c2], a2.element.scrollLeft = a2.left, a2.element.scrollTop = a2.top; } } -var Pe = ia && "documentMode" in document && 11 >= document.documentMode, Qe = null, Re = null, Se$1 = null, Te$1 = false; +var Pe$1 = ia && "documentMode" in document && 11 >= document.documentMode, Qe = null, Re$1 = null, Se$1 = null, Te$1 = false; function Ue(a2, b2, c2) { var d2 = c2.window === c2 ? c2.document : 9 === c2.nodeType ? c2 : c2.ownerDocument; - Te$1 || null == Qe || Qe !== Xa(d2) || (d2 = Qe, "selectionStart" in d2 && Ne(d2) ? d2 = { start: d2.selectionStart, end: d2.selectionEnd } : (d2 = (d2.ownerDocument && d2.ownerDocument.defaultView || window).getSelection(), d2 = { anchorNode: d2.anchorNode, anchorOffset: d2.anchorOffset, focusNode: d2.focusNode, focusOffset: d2.focusOffset }), Se$1 && Ie(Se$1, d2) || (Se$1 = d2, d2 = oe$1(Re, "onSelect"), 0 < d2.length && (b2 = new td("onSelect", "select", null, b2, c2), a2.push({ event: b2, listeners: d2 }), b2.target = Qe))); + Te$1 || null == Qe || Qe !== Xa(d2) || (d2 = Qe, "selectionStart" in d2 && Ne(d2) ? d2 = { start: d2.selectionStart, end: d2.selectionEnd } : (d2 = (d2.ownerDocument && d2.ownerDocument.defaultView || window).getSelection(), d2 = { anchorNode: d2.anchorNode, anchorOffset: d2.anchorOffset, focusNode: d2.focusNode, focusOffset: d2.focusOffset }), Se$1 && Ie$1(Se$1, d2) || (Se$1 = d2, d2 = oe(Re$1, "onSelect"), 0 < d2.length && (b2 = new td("onSelect", "select", null, b2, c2), a2.push({ event: b2, listeners: d2 }), b2.target = Qe))); } function Ve(a2, b2) { var c2 = {}; @@ -2442,14 +2253,10 @@ function Ve(a2, b2) { var We = { animationend: Ve("Animation", "AnimationEnd"), animationiteration: Ve("Animation", "AnimationIteration"), animationstart: Ve("Animation", "AnimationStart"), transitionend: Ve("Transition", "TransitionEnd") }, Xe = {}, Ye = {}; ia && (Ye = document.createElement("div").style, "AnimationEvent" in window || (delete We.animationend.animation, delete We.animationiteration.animation, delete We.animationstart.animation), "TransitionEvent" in window || delete We.transitionend.transition); function Ze(a2) { - if (Xe[a2]) - return Xe[a2]; - if (!We[a2]) - return a2; + if (Xe[a2]) return Xe[a2]; + if (!We[a2]) return a2; var b2 = We[a2], c2; - for (c2 in b2) - if (b2.hasOwnProperty(c2) && c2 in Ye) - return Xe[a2] = b2[c2]; + for (c2 in b2) if (b2.hasOwnProperty(c2) && c2 in Ye) return Xe[a2] = b2[c2]; return a2; } var $e = Ze("animationend"), af = Ze("animationiteration"), bf = Ze("animationstart"), cf = Ze("transitionend"), df = /* @__PURE__ */ new Map(), ef = "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(" "); @@ -2492,30 +2299,25 @@ function se$1(a2, b2) { d2 = d2.listeners; a: { var f2 = void 0; - if (b2) - for (var g2 = d2.length - 1; 0 <= g2; g2--) { - var h2 = d2[g2], k2 = h2.instance, l2 = h2.currentTarget; - h2 = h2.listener; - if (k2 !== f2 && e3.isPropagationStopped()) - break a; - nf(e3, h2, l2); - f2 = k2; - } - else - for (g2 = 0; g2 < d2.length; g2++) { - h2 = d2[g2]; - k2 = h2.instance; - l2 = h2.currentTarget; - h2 = h2.listener; - if (k2 !== f2 && e3.isPropagationStopped()) - break a; - nf(e3, h2, l2); - f2 = k2; - } + if (b2) for (var g2 = d2.length - 1; 0 <= g2; g2--) { + var h2 = d2[g2], k2 = h2.instance, l2 = h2.currentTarget; + h2 = h2.listener; + if (k2 !== f2 && e3.isPropagationStopped()) break a; + nf(e3, h2, l2); + f2 = k2; + } + else for (g2 = 0; g2 < d2.length; g2++) { + h2 = d2[g2]; + k2 = h2.instance; + l2 = h2.currentTarget; + h2 = h2.listener; + if (k2 !== f2 && e3.isPropagationStopped()) break a; + nf(e3, h2, l2); + f2 = k2; + } } } - if (Qb) - throw a2 = Rb, Qb = false, Rb = null, a2; + if (Qb) throw a2 = Rb, Qb = false, Rb = null, a2; } function D$2(a2, b2) { var c2 = b2[of]; @@ -2557,39 +2359,32 @@ function pf(a2, b2, c2, d2) { } function hd(a2, b2, c2, d2, e3) { var f2 = d2; - if (0 === (b2 & 1) && 0 === (b2 & 2) && null !== d2) - a: - for (; ; ) { - if (null === d2) - return; - var g2 = d2.tag; - if (3 === g2 || 4 === g2) { - var h2 = d2.stateNode.containerInfo; - if (h2 === e3 || 8 === h2.nodeType && h2.parentNode === e3) - break; - if (4 === g2) - for (g2 = d2.return; null !== g2; ) { - var k2 = g2.tag; - if (3 === k2 || 4 === k2) { - if (k2 = g2.stateNode.containerInfo, k2 === e3 || 8 === k2.nodeType && k2.parentNode === e3) - return; - } - g2 = g2.return; - } - for (; null !== h2; ) { - g2 = Wc(h2); - if (null === g2) - return; - k2 = g2.tag; - if (5 === k2 || 6 === k2) { - d2 = f2 = g2; - continue a; - } - h2 = h2.parentNode; - } + if (0 === (b2 & 1) && 0 === (b2 & 2) && null !== d2) a: for (; ; ) { + if (null === d2) return; + var g2 = d2.tag; + if (3 === g2 || 4 === g2) { + var h2 = d2.stateNode.containerInfo; + if (h2 === e3 || 8 === h2.nodeType && h2.parentNode === e3) break; + if (4 === g2) for (g2 = d2.return; null !== g2; ) { + var k2 = g2.tag; + if (3 === k2 || 4 === k2) { + if (k2 = g2.stateNode.containerInfo, k2 === e3 || 8 === k2.nodeType && k2.parentNode === e3) return; } - d2 = d2.return; + g2 = g2.return; } + for (; null !== h2; ) { + g2 = Wc(h2); + if (null === g2) return; + k2 = g2.tag; + if (5 === k2 || 6 === k2) { + d2 = f2 = g2; + continue a; + } + h2 = h2.parentNode; + } + } + d2 = d2.return; + } Jb(function() { var d3 = f2, e4 = xb(c2), g3 = []; a: { @@ -2598,8 +2393,7 @@ function hd(a2, b2, c2, d2, e3) { var k3 = td, n2 = a2; switch (a2) { case "keypress": - if (0 === od(c2)) - break a; + if (0 === od(c2)) break a; case "keydown": case "keyup": k3 = Rd; @@ -2617,8 +2411,7 @@ function hd(a2, b2, c2, d2, e3) { k3 = Fd; break; case "click": - if (2 === c2.button) - break a; + if (2 === c2.button) break a; case "auxclick": case "dblclick": case "mousedown": @@ -2680,8 +2473,7 @@ function hd(a2, b2, c2, d2, e3) { u2 = w2; var F2 = u2.stateNode; 5 === u2.tag && null !== F2 && (u2 = F2, null !== x2 && (F2 = Kb(w2, x2), null != F2 && t4.push(tf(w2, F2, u2)))); - if (J2) - break; + if (J2) break; w2 = w2.return; } 0 < t4.length && (h3 = new k3(h3, n2, null, c2, e4), g3.push({ event: h3, listeners: t4 })); @@ -2691,88 +2483,72 @@ function hd(a2, b2, c2, d2, e3) { a: { h3 = "mouseover" === a2 || "pointerover" === a2; k3 = "mouseout" === a2 || "pointerout" === a2; - if (h3 && c2 !== wb && (n2 = c2.relatedTarget || c2.fromElement) && (Wc(n2) || n2[uf])) - break a; + if (h3 && c2 !== wb && (n2 = c2.relatedTarget || c2.fromElement) && (Wc(n2) || n2[uf])) break a; if (k3 || h3) { h3 = e4.window === e4 ? e4 : (h3 = e4.ownerDocument) ? h3.defaultView || h3.parentWindow : window; if (k3) { - if (n2 = c2.relatedTarget || c2.toElement, k3 = d3, n2 = n2 ? Wc(n2) : null, null !== n2 && (J2 = Vb(n2), n2 !== J2 || 5 !== n2.tag && 6 !== n2.tag)) - n2 = null; - } else - k3 = null, n2 = d3; + if (n2 = c2.relatedTarget || c2.toElement, k3 = d3, n2 = n2 ? Wc(n2) : null, null !== n2 && (J2 = Vb(n2), n2 !== J2 || 5 !== n2.tag && 6 !== n2.tag)) n2 = null; + } else k3 = null, n2 = d3; if (k3 !== n2) { t4 = Bd; F2 = "onMouseLeave"; x2 = "onMouseEnter"; w2 = "mouse"; - if ("pointerout" === a2 || "pointerover" === a2) - t4 = Td, F2 = "onPointerLeave", x2 = "onPointerEnter", w2 = "pointer"; - J2 = null == k3 ? h3 : ue$1(k3); - u2 = null == n2 ? h3 : ue$1(n2); + if ("pointerout" === a2 || "pointerover" === a2) t4 = Td, F2 = "onPointerLeave", x2 = "onPointerEnter", w2 = "pointer"; + J2 = null == k3 ? h3 : ue(k3); + u2 = null == n2 ? h3 : ue(n2); h3 = new t4(F2, w2 + "leave", k3, c2, e4); h3.target = J2; h3.relatedTarget = u2; F2 = null; Wc(e4) === d3 && (t4 = new t4(x2, w2 + "enter", n2, c2, e4), t4.target = u2, t4.relatedTarget = J2, F2 = t4); J2 = F2; - if (k3 && n2) - b: { - t4 = k3; - x2 = n2; - w2 = 0; - for (u2 = t4; u2; u2 = vf(u2)) - w2++; - u2 = 0; - for (F2 = x2; F2; F2 = vf(F2)) - u2++; - for (; 0 < w2 - u2; ) - t4 = vf(t4), w2--; - for (; 0 < u2 - w2; ) - x2 = vf(x2), u2--; - for (; w2--; ) { - if (t4 === x2 || null !== x2 && t4 === x2.alternate) - break b; - t4 = vf(t4); - x2 = vf(x2); - } - t4 = null; + if (k3 && n2) b: { + t4 = k3; + x2 = n2; + w2 = 0; + for (u2 = t4; u2; u2 = vf(u2)) w2++; + u2 = 0; + for (F2 = x2; F2; F2 = vf(F2)) u2++; + for (; 0 < w2 - u2; ) t4 = vf(t4), w2--; + for (; 0 < u2 - w2; ) x2 = vf(x2), u2--; + for (; w2--; ) { + if (t4 === x2 || null !== x2 && t4 === x2.alternate) break b; + t4 = vf(t4); + x2 = vf(x2); } - else t4 = null; + } + else t4 = null; null !== k3 && wf(g3, h3, k3, t4, false); null !== n2 && null !== J2 && wf(g3, J2, n2, t4, true); } } } a: { - h3 = d3 ? ue$1(d3) : window; + h3 = d3 ? ue(d3) : window; k3 = h3.nodeName && h3.nodeName.toLowerCase(); - if ("select" === k3 || "input" === k3 && "file" === h3.type) - var na = ve$1; - else if (me(h3)) - if (we) - na = Fe; - else { - na = De$1; - var xa = Ce; - } - else - (k3 = h3.nodeName) && "input" === k3.toLowerCase() && ("checkbox" === h3.type || "radio" === h3.type) && (na = Ee$1); + if ("select" === k3 || "input" === k3 && "file" === h3.type) var na = ve$1; + else if (me$1(h3)) if (we$1) na = Fe$1; + else { + na = De$1; + var xa = Ce$1; + } + else (k3 = h3.nodeName) && "input" === k3.toLowerCase() && ("checkbox" === h3.type || "radio" === h3.type) && (na = Ee$1); if (na && (na = na(a2, d3))) { - ne$1(g3, na, c2, e4); + ne(g3, na, c2, e4); break a; } xa && xa(a2, h3, d3); "focusout" === a2 && (xa = h3._wrapperState) && xa.controlled && "number" === h3.type && cb(h3, "number", h3.value); } - xa = d3 ? ue$1(d3) : window; + xa = d3 ? ue(d3) : window; switch (a2) { case "focusin": - if (me(xa) || "true" === xa.contentEditable) - Qe = xa, Re = d3, Se$1 = null; + if (me$1(xa) || "true" === xa.contentEditable) Qe = xa, Re$1 = d3, Se$1 = null; break; case "focusout": - Se$1 = Re = Qe = null; + Se$1 = Re$1 = Qe = null; break; case "mousedown": Te$1 = true; @@ -2784,33 +2560,29 @@ function hd(a2, b2, c2, d2, e3) { Ue(g3, c2, e4); break; case "selectionchange": - if (Pe) - break; + if (Pe$1) break; case "keydown": case "keyup": Ue(g3, c2, e4); } var $a; - if (ae) - b: { - switch (a2) { - case "compositionstart": - var ba = "onCompositionStart"; - break b; - case "compositionend": - ba = "onCompositionEnd"; - break b; - case "compositionupdate": - ba = "onCompositionUpdate"; - break b; - } - ba = void 0; + if (ae) b: { + switch (a2) { + case "compositionstart": + var ba = "onCompositionStart"; + break b; + case "compositionend": + ba = "onCompositionEnd"; + break b; + case "compositionupdate": + ba = "onCompositionUpdate"; + break b; } - else - ie$1 ? ge$1(a2, c2) && (ba = "onCompositionEnd") : "keydown" === a2 && 229 === c2.keyCode && (ba = "onCompositionStart"); - ba && (de$1 && "ko" !== c2.locale && (ie$1 || "onCompositionStart" !== ba ? "onCompositionEnd" === ba && ie$1 && ($a = nd()) : (kd = e4, ld = "value" in kd ? kd.value : kd.textContent, ie$1 = true)), xa = oe$1(d3, ba), 0 < xa.length && (ba = new Ld(ba, a2, null, c2, e4), g3.push({ event: ba, listeners: xa }), $a ? ba.data = $a : ($a = he$1(c2), null !== $a && (ba.data = $a)))); - if ($a = ce$1 ? je(a2, c2) : ke(a2, c2)) - d3 = oe$1(d3, "onBeforeInput"), 0 < d3.length && (e4 = new Ld("onBeforeInput", "beforeinput", null, c2, e4), g3.push({ event: e4, listeners: d3 }), e4.data = $a); + ba = void 0; + } + else ie$2 ? ge$1(a2, c2) && (ba = "onCompositionEnd") : "keydown" === a2 && 229 === c2.keyCode && (ba = "onCompositionStart"); + ba && (de$1 && "ko" !== c2.locale && (ie$2 || "onCompositionStart" !== ba ? "onCompositionEnd" === ba && ie$2 && ($a = nd()) : (kd = e4, ld = "value" in kd ? kd.value : kd.textContent, ie$2 = true)), xa = oe(d3, ba), 0 < xa.length && (ba = new Ld(ba, a2, null, c2, e4), g3.push({ event: ba, listeners: xa }), $a ? ba.data = $a : ($a = he$1(c2), null !== $a && (ba.data = $a)))); + if ($a = ce$2 ? je(a2, c2) : ke$1(a2, c2)) d3 = oe(d3, "onBeforeInput"), 0 < d3.length && (e4 = new Ld("onBeforeInput", "beforeinput", null, c2, e4), g3.push({ event: e4, listeners: d3 }), e4.data = $a); } se$1(g3, b2); }); @@ -2818,7 +2590,7 @@ function hd(a2, b2, c2, d2, e3) { function tf(a2, b2, c2) { return { instance: a2, listener: b2, currentTarget: c2 }; } -function oe$1(a2, b2) { +function oe(a2, b2) { for (var c2 = b2 + "Capture", d2 = []; null !== a2; ) { var e3 = a2, f2 = e3.stateNode; 5 === e3.tag && null !== f2 && (e3 = f2, f2 = Kb(a2, c2), null != f2 && d2.unshift(tf(a2, f2, e3)), f2 = Kb(a2, b2), null != f2 && d2.push(tf(a2, f2, e3))); @@ -2827,8 +2599,7 @@ function oe$1(a2, b2) { return d2; } function vf(a2) { - if (null === a2) - return null; + if (null === a2) return null; do a2 = a2.return; while (a2 && 5 !== a2.tag); @@ -2837,8 +2608,7 @@ function vf(a2) { function wf(a2, b2, c2, d2, e3) { for (var f2 = b2._reactName, g2 = []; null !== c2 && c2 !== d2; ) { var h2 = c2, k2 = h2.alternate, l2 = h2.stateNode; - if (null !== k2 && k2 === d2) - break; + if (null !== k2 && k2 === d2) break; 5 === h2.tag && null !== l2 && (h2 = l2, e3 ? (k2 = Kb(c2, f2), null != k2 && g2.unshift(tf(c2, k2, h2))) : e3 || (k2 = Kb(c2, f2), null != k2 && g2.push(tf(c2, k2, h2)))); c2 = c2.return; } @@ -2850,8 +2620,7 @@ function zf(a2) { } function Af(a2, b2, c2) { b2 = zf(b2); - if (zf(a2) !== b2 && c2) - throw Error(p$4(425)); + if (zf(a2) !== b2 && c2) throw Error(p$4(425)); } function Bf() { } @@ -2872,16 +2641,14 @@ function Kf(a2, b2) { do { var e3 = c2.nextSibling; a2.removeChild(c2); - if (e3 && 8 === e3.nodeType) - if (c2 = e3.data, "/$" === c2) { - if (0 === d2) { - a2.removeChild(e3); - bd(b2); - return; - } - d2--; - } else - "$" !== c2 && "$?" !== c2 && "$!" !== c2 || d2++; + if (e3 && 8 === e3.nodeType) if (c2 = e3.data, "/$" === c2) { + if (0 === d2) { + a2.removeChild(e3); + bd(b2); + return; + } + d2--; + } else "$" !== c2 && "$?" !== c2 && "$!" !== c2 || d2++; c2 = e3; } while (c2); bd(b2); @@ -2889,14 +2656,11 @@ function Kf(a2, b2) { function Lf(a2) { for (; null != a2; a2 = a2.nextSibling) { var b2 = a2.nodeType; - if (1 === b2 || 3 === b2) - break; + if (1 === b2 || 3 === b2) break; if (8 === b2) { b2 = a2.data; - if ("$" === b2 || "$!" === b2 || "$?" === b2) - break; - if ("/$" === b2) - return null; + if ("$" === b2 || "$!" === b2 || "$?" === b2) break; + if ("/$" === b2) return null; } } return a2; @@ -2907,11 +2671,9 @@ function Mf(a2) { if (8 === a2.nodeType) { var c2 = a2.data; if ("$" === c2 || "$!" === c2 || "$?" === c2) { - if (0 === b2) - return a2; + if (0 === b2) return a2; b2--; - } else - "/$" === c2 && b2++; + } else "/$" === c2 && b2++; } a2 = a2.previousSibling; } @@ -2920,17 +2682,14 @@ function Mf(a2) { var Nf = Math.random().toString(36).slice(2), Of = "__reactFiber$" + Nf, Pf = "__reactProps$" + Nf, uf = "__reactContainer$" + Nf, of = "__reactEvents$" + Nf, Qf = "__reactListeners$" + Nf, Rf = "__reactHandles$" + Nf; function Wc(a2) { var b2 = a2[Of]; - if (b2) - return b2; + if (b2) return b2; for (var c2 = a2.parentNode; c2; ) { if (b2 = c2[uf] || c2[Of]) { c2 = b2.alternate; - if (null !== b2.child || null !== c2 && null !== c2.child) - for (a2 = Mf(a2); null !== a2; ) { - if (c2 = a2[Of]) - return c2; - a2 = Mf(a2); - } + if (null !== b2.child || null !== c2 && null !== c2.child) for (a2 = Mf(a2); null !== a2; ) { + if (c2 = a2[Of]) return c2; + a2 = Mf(a2); + } return b2; } a2 = c2; @@ -2942,9 +2701,8 @@ function Cb(a2) { a2 = a2[Of] || a2[uf]; return !a2 || 5 !== a2.tag && 6 !== a2.tag && 13 !== a2.tag && 3 !== a2.tag ? null : a2; } -function ue$1(a2) { - if (5 === a2.tag || 6 === a2.tag) - return a2.stateNode; +function ue(a2) { + if (5 === a2.tag || 6 === a2.tag) return a2.stateNode; throw Error(p$4(33)); } function Db(a2) { @@ -2954,7 +2712,7 @@ var Sf = [], Tf = -1; function Uf(a2) { return { current: a2 }; } -function E$1(a2) { +function E$2(a2) { 0 > Tf || (a2.current = Sf[Tf], Sf[Tf] = null, Tf--); } function G(a2, b2) { @@ -2962,17 +2720,14 @@ function G(a2, b2) { Sf[Tf] = a2.current; a2.current = b2; } -var Vf = {}, H = Uf(Vf), Wf = Uf(false), Xf = Vf; +var Vf = {}, H$1 = Uf(Vf), Wf = Uf(false), Xf = Vf; function Yf(a2, b2) { var c2 = a2.type.contextTypes; - if (!c2) - return Vf; + if (!c2) return Vf; var d2 = a2.stateNode; - if (d2 && d2.__reactInternalMemoizedUnmaskedChildContext === b2) - return d2.__reactInternalMemoizedMaskedChildContext; + if (d2 && d2.__reactInternalMemoizedUnmaskedChildContext === b2) return d2.__reactInternalMemoizedMaskedChildContext; var e3 = {}, f2; - for (f2 in c2) - e3[f2] = b2[f2]; + for (f2 in c2) e3[f2] = b2[f2]; d2 && (a2 = a2.stateNode, a2.__reactInternalMemoizedUnmaskedChildContext = b2, a2.__reactInternalMemoizedMaskedChildContext = e3); return e3; } @@ -2981,38 +2736,33 @@ function Zf(a2) { return null !== a2 && void 0 !== a2; } function $f() { - E$1(Wf); - E$1(H); + E$2(Wf); + E$2(H$1); } function ag(a2, b2, c2) { - if (H.current !== Vf) - throw Error(p$4(168)); - G(H, b2); + if (H$1.current !== Vf) throw Error(p$4(168)); + G(H$1, b2); G(Wf, c2); } function bg(a2, b2, c2) { var d2 = a2.stateNode; b2 = b2.childContextTypes; - if ("function" !== typeof d2.getChildContext) - return c2; + if ("function" !== typeof d2.getChildContext) return c2; d2 = d2.getChildContext(); - for (var e3 in d2) - if (!(e3 in b2)) - throw Error(p$4(108, Ra(a2) || "Unknown", e3)); - return A$3({}, c2, d2); + for (var e3 in d2) if (!(e3 in b2)) throw Error(p$4(108, Ra(a2) || "Unknown", e3)); + return A$2({}, c2, d2); } function cg(a2) { a2 = (a2 = a2.stateNode) && a2.__reactInternalMemoizedMergedChildContext || Vf; - Xf = H.current; - G(H, a2); + Xf = H$1.current; + G(H$1, a2); G(Wf, Wf.current); return true; } function dg(a2, b2, c2) { var d2 = a2.stateNode; - if (!d2) - throw Error(p$4(169)); - c2 ? (a2 = bg(a2, b2, Xf), d2.__reactInternalMemoizedMergedChildContext = a2, E$1(Wf), E$1(H), G(H, a2)) : E$1(Wf); + if (!d2) throw Error(p$4(169)); + c2 ? (a2 = bg(a2, b2, Xf), d2.__reactInternalMemoizedMergedChildContext = a2, E$2(Wf), E$2(H$1), G(H$1, a2)) : E$2(Wf); G(Wf, c2); } var eg = null, fg = false, gg = false; @@ -3070,17 +2820,14 @@ function ug(a2, b2, c2) { e3 -= g2; rg = 1 << 32 - oc(b2) + e3 | c2 << e3 | d2; sg = f2 + a2; - } else - rg = 1 << f2 | c2 << e3 | d2, sg = a2; + } else rg = 1 << f2 | c2 << e3 | d2, sg = a2; } function vg(a2) { null !== a2.return && (tg(a2, 1), ug(a2, 1, 0)); } function wg(a2) { - for (; a2 === mg; ) - mg = kg[--lg], kg[lg] = null, ng = kg[--lg], kg[lg] = null; - for (; a2 === qg; ) - qg = og[--pg], og[pg] = null, sg = og[--pg], og[pg] = null, rg = og[--pg], og[pg] = null; + for (; a2 === mg; ) mg = kg[--lg], kg[lg] = null, ng = kg[--lg], kg[lg] = null; + for (; a2 === qg; ) qg = og[--pg], og[pg] = null, sg = og[--pg], og[pg] = null, rg = og[--pg], og[pg] = null; } var xg = null, yg = null, I = false, zg = null; function Ag(a2, b2) { @@ -3114,15 +2861,13 @@ function Eg(a2) { if (b2) { var c2 = b2; if (!Cg(a2, b2)) { - if (Dg(a2)) - throw Error(p$4(418)); + if (Dg(a2)) throw Error(p$4(418)); b2 = Lf(c2.nextSibling); var d2 = xg; b2 && Cg(a2, b2) ? Ag(d2, c2) : (a2.flags = a2.flags & -4097 | 2, I = false, xg = a2); } } else { - if (Dg(a2)) - throw Error(p$4(418)); + if (Dg(a2)) throw Error(p$4(418)); a2.flags = a2.flags & -4097 | 2; I = false; xg = a2; @@ -3130,29 +2875,23 @@ function Eg(a2) { } } function Fg(a2) { - for (a2 = a2.return; null !== a2 && 5 !== a2.tag && 3 !== a2.tag && 13 !== a2.tag; ) - a2 = a2.return; + for (a2 = a2.return; null !== a2 && 5 !== a2.tag && 3 !== a2.tag && 13 !== a2.tag; ) a2 = a2.return; xg = a2; } function Gg(a2) { - if (a2 !== xg) - return false; - if (!I) - return Fg(a2), I = true, false; + if (a2 !== xg) return false; + if (!I) return Fg(a2), I = true, false; var b2; (b2 = 3 !== a2.tag) && !(b2 = 5 !== a2.tag) && (b2 = a2.type, b2 = "head" !== b2 && "body" !== b2 && !Ef(a2.type, a2.memoizedProps)); if (b2 && (b2 = yg)) { - if (Dg(a2)) - throw Hg(), Error(p$4(418)); - for (; b2; ) - Ag(a2, b2), b2 = Lf(b2.nextSibling); + if (Dg(a2)) throw Hg(), Error(p$4(418)); + for (; b2; ) Ag(a2, b2), b2 = Lf(b2.nextSibling); } Fg(a2); if (13 === a2.tag) { a2 = a2.memoizedState; a2 = null !== a2 ? a2.dehydrated : null; - if (!a2) - throw Error(p$4(317)); + if (!a2) throw Error(p$4(317)); a: { a2 = a2.nextSibling; for (b2 = 0; a2; ) { @@ -3164,20 +2903,17 @@ function Gg(a2) { break a; } b2--; - } else - "$" !== c2 && "$!" !== c2 && "$?" !== c2 || b2++; + } else "$" !== c2 && "$!" !== c2 && "$?" !== c2 || b2++; } a2 = a2.nextSibling; } yg = null; } - } else - yg = xg ? Lf(a2.stateNode.nextSibling) : null; + } else yg = xg ? Lf(a2.stateNode.nextSibling) : null; return true; } function Hg() { - for (var a2 = yg; a2; ) - a2 = Lf(a2.nextSibling); + for (var a2 = yg; a2; ) a2 = Lf(a2.nextSibling); } function Ig() { yg = xg = null; @@ -3193,15 +2929,12 @@ function Lg(a2, b2, c2) { if (c2._owner) { c2 = c2._owner; if (c2) { - if (1 !== c2.tag) - throw Error(p$4(309)); + if (1 !== c2.tag) throw Error(p$4(309)); var d2 = c2.stateNode; } - if (!d2) - throw Error(p$4(147, a2)); + if (!d2) throw Error(p$4(147, a2)); var e3 = d2, f2 = "" + a2; - if (null !== b2 && null !== b2.ref && "function" === typeof b2.ref && b2.ref._stringRef === f2) - return b2.ref; + if (null !== b2 && null !== b2.ref && "function" === typeof b2.ref && b2.ref._stringRef === f2) return b2.ref; b2 = function(a3) { var b3 = e3.refs; null === a3 ? delete b3[f2] : b3[f2] = a3; @@ -3209,10 +2942,8 @@ function Lg(a2, b2, c2) { b2._stringRef = f2; return b2; } - if ("string" !== typeof a2) - throw Error(p$4(284)); - if (!c2._owner) - throw Error(p$4(290, a2)); + if ("string" !== typeof a2) throw Error(p$4(284)); + if (!c2._owner) throw Error(p$4(290, a2)); } return a2; } @@ -3232,15 +2963,12 @@ function Og(a2) { } } function c2(c3, d3) { - if (!a2) - return null; - for (; null !== d3; ) - b2(c3, d3), d3 = d3.sibling; + if (!a2) return null; + for (; null !== d3; ) b2(c3, d3), d3 = d3.sibling; return null; } function d2(a3, b3) { - for (a3 = /* @__PURE__ */ new Map(); null !== b3; ) - null !== b3.key ? a3.set(b3.key, b3) : a3.set(b3.index, b3), b3 = b3.sibling; + for (a3 = /* @__PURE__ */ new Map(); null !== b3; ) null !== b3.key ? a3.set(b3.key, b3) : a3.set(b3.index, b3), b3 = b3.sibling; return a3; } function e3(a3, b3) { @@ -3251,11 +2979,9 @@ function Og(a2) { } function f2(b3, c3, d3) { b3.index = d3; - if (!a2) - return b3.flags |= 1048576, c3; + if (!a2) return b3.flags |= 1048576, c3; d3 = b3.alternate; - if (null !== d3) - return d3 = d3.index, d3 < c3 ? (b3.flags |= 2, c3) : d3; + if (null !== d3) return d3 = d3.index, d3 < c3 ? (b3.flags |= 2, c3) : d3; b3.flags |= 2; return c3; } @@ -3264,40 +2990,34 @@ function Og(a2) { return b3; } function h2(a3, b3, c3, d3) { - if (null === b3 || 6 !== b3.tag) - return b3 = Qg(c3, a3.mode, d3), b3.return = a3, b3; + if (null === b3 || 6 !== b3.tag) return b3 = Qg(c3, a3.mode, d3), b3.return = a3, b3; b3 = e3(b3, c3); b3.return = a3; return b3; } function k2(a3, b3, c3, d3) { var f3 = c3.type; - if (f3 === ya) - return m2(a3, b3, c3.props.children, d3, c3.key); - if (null !== b3 && (b3.elementType === f3 || "object" === typeof f3 && null !== f3 && f3.$$typeof === Ha && Ng(f3) === b3.type)) - return d3 = e3(b3, c3.props), d3.ref = Lg(a3, b3, c3), d3.return = a3, d3; + if (f3 === ya) return m2(a3, b3, c3.props.children, d3, c3.key); + if (null !== b3 && (b3.elementType === f3 || "object" === typeof f3 && null !== f3 && f3.$$typeof === Ha && Ng(f3) === b3.type)) return d3 = e3(b3, c3.props), d3.ref = Lg(a3, b3, c3), d3.return = a3, d3; d3 = Rg(c3.type, c3.key, c3.props, null, a3.mode, d3); d3.ref = Lg(a3, b3, c3); d3.return = a3; return d3; } function l2(a3, b3, c3, d3) { - if (null === b3 || 4 !== b3.tag || b3.stateNode.containerInfo !== c3.containerInfo || b3.stateNode.implementation !== c3.implementation) - return b3 = Sg(c3, a3.mode, d3), b3.return = a3, b3; + if (null === b3 || 4 !== b3.tag || b3.stateNode.containerInfo !== c3.containerInfo || b3.stateNode.implementation !== c3.implementation) return b3 = Sg(c3, a3.mode, d3), b3.return = a3, b3; b3 = e3(b3, c3.children || []); b3.return = a3; return b3; } function m2(a3, b3, c3, d3, f3) { - if (null === b3 || 7 !== b3.tag) - return b3 = Tg(c3, a3.mode, d3, f3), b3.return = a3, b3; + if (null === b3 || 7 !== b3.tag) return b3 = Tg(c3, a3.mode, d3, f3), b3.return = a3, b3; b3 = e3(b3, c3); b3.return = a3; return b3; } function q2(a3, b3, c3) { - if ("string" === typeof b3 && "" !== b3 || "number" === typeof b3) - return b3 = Qg("" + b3, a3.mode, c3), b3.return = a3, b3; + if ("string" === typeof b3 && "" !== b3 || "number" === typeof b3) return b3 = Qg("" + b3, a3.mode, c3), b3.return = a3, b3; if ("object" === typeof b3 && null !== b3) { switch (b3.$$typeof) { case va: @@ -3308,16 +3028,14 @@ function Og(a2) { var d3 = b3._init; return q2(a3, d3(b3._payload), c3); } - if (eb(b3) || Ka(b3)) - return b3 = Tg(b3, a3.mode, c3, null), b3.return = a3, b3; + if (eb(b3) || Ka(b3)) return b3 = Tg(b3, a3.mode, c3, null), b3.return = a3, b3; Mg(a3, b3); } return null; } function r2(a3, b3, c3, d3) { var e4 = null !== b3 ? b3.key : null; - if ("string" === typeof c3 && "" !== c3 || "number" === typeof c3) - return null !== e4 ? null : h2(a3, b3, "" + c3, d3); + if ("string" === typeof c3 && "" !== c3 || "number" === typeof c3) return null !== e4 ? null : h2(a3, b3, "" + c3, d3); if ("object" === typeof c3 && null !== c3) { switch (c3.$$typeof) { case va: @@ -3332,15 +3050,13 @@ function Og(a2) { d3 ); } - if (eb(c3) || Ka(c3)) - return null !== e4 ? null : m2(a3, b3, c3, d3, null); + if (eb(c3) || Ka(c3)) return null !== e4 ? null : m2(a3, b3, c3, d3, null); Mg(a3, c3); } return null; } function y2(a3, b3, c3, d3, e4) { - if ("string" === typeof d3 && "" !== d3 || "number" === typeof d3) - return a3 = a3.get(c3) || null, h2(b3, a3, "" + d3, e4); + if ("string" === typeof d3 && "" !== d3 || "number" === typeof d3) return a3 = a3.get(c3) || null, h2(b3, a3, "" + d3, e4); if ("object" === typeof d3 && null !== d3) { switch (d3.$$typeof) { case va: @@ -3351,8 +3067,7 @@ function Og(a2) { var f3 = d3._init; return y2(a3, b3, c3, f3(d3._payload), e4); } - if (eb(d3) || Ka(d3)) - return a3 = a3.get(c3) || null, m2(b3, a3, d3, e4, null); + if (eb(d3) || Ka(d3)) return a3 = a3.get(c3) || null, m2(b3, a3, d3, e4, null); Mg(b3, d3); } return null; @@ -3371,16 +3086,13 @@ function Og(a2) { m3 = n3; u2 = x2; } - if (w2 === h3.length) - return c2(e4, u2), I && tg(e4, w2), l3; + if (w2 === h3.length) return c2(e4, u2), I && tg(e4, w2), l3; if (null === u2) { - for (; w2 < h3.length; w2++) - u2 = q2(e4, h3[w2], k3), null !== u2 && (g3 = f2(u2, g3, w2), null === m3 ? l3 = u2 : m3.sibling = u2, m3 = u2); + for (; w2 < h3.length; w2++) u2 = q2(e4, h3[w2], k3), null !== u2 && (g3 = f2(u2, g3, w2), null === m3 ? l3 = u2 : m3.sibling = u2, m3 = u2); I && tg(e4, w2); return l3; } - for (u2 = d2(e4, u2); w2 < h3.length; w2++) - x2 = y2(u2, e4, w2, h3[w2], k3), null !== x2 && (a2 && null !== x2.alternate && u2.delete(null === x2.key ? w2 : x2.key), g3 = f2(x2, g3, w2), null === m3 ? l3 = x2 : m3.sibling = x2, m3 = x2); + for (u2 = d2(e4, u2); w2 < h3.length; w2++) x2 = y2(u2, e4, w2, h3[w2], k3), null !== x2 && (a2 && null !== x2.alternate && u2.delete(null === x2.key ? w2 : x2.key), g3 = f2(x2, g3, w2), null === m3 ? l3 = x2 : m3.sibling = x2, m3 = x2); a2 && u2.forEach(function(a3) { return b2(e4, a3); }); @@ -3389,11 +3101,9 @@ function Og(a2) { } function t4(e4, g3, h3, k3) { var l3 = Ka(h3); - if ("function" !== typeof l3) - throw Error(p$4(150)); + if ("function" !== typeof l3) throw Error(p$4(150)); h3 = l3.call(h3); - if (null == h3) - throw Error(p$4(151)); + if (null == h3) throw Error(p$4(151)); for (var u2 = l3 = null, m3 = g3, w2 = g3 = 0, x2 = null, n3 = h3.next(); null !== m3 && !n3.done; w2++, n3 = h3.next()) { m3.index > w2 ? (x2 = m3, m3 = null) : x2 = m3.sibling; var t5 = r2(e4, m3, n3.value, k3); @@ -3407,19 +3117,16 @@ function Og(a2) { u2 = t5; m3 = x2; } - if (n3.done) - return c2( - e4, - m3 - ), I && tg(e4, w2), l3; + if (n3.done) return c2( + e4, + m3 + ), I && tg(e4, w2), l3; if (null === m3) { - for (; !n3.done; w2++, n3 = h3.next()) - n3 = q2(e4, n3.value, k3), null !== n3 && (g3 = f2(n3, g3, w2), null === u2 ? l3 = n3 : u2.sibling = n3, u2 = n3); + for (; !n3.done; w2++, n3 = h3.next()) n3 = q2(e4, n3.value, k3), null !== n3 && (g3 = f2(n3, g3, w2), null === u2 ? l3 = n3 : u2.sibling = n3, u2 = n3); I && tg(e4, w2); return l3; } - for (m3 = d2(e4, m3); !n3.done; w2++, n3 = h3.next()) - n3 = y2(m3, e4, w2, n3.value, k3), null !== n3 && (a2 && null !== n3.alternate && m3.delete(null === n3.key ? w2 : n3.key), g3 = f2(n3, g3, w2), null === u2 ? l3 = n3 : u2.sibling = n3, u2 = n3); + for (m3 = d2(e4, m3); !n3.done; w2++, n3 = h3.next()) n3 = y2(m3, e4, w2, n3.value, k3), null !== n3 && (a2 && null !== n3.alternate && m3.delete(null === n3.key ? w2 : n3.key), g3 = f2(n3, g3, w2), null === u2 ? l3 = n3 : u2.sibling = n3, u2 = n3); a2 && m3.forEach(function(a3) { return b2(e4, a3); }); @@ -3453,8 +3160,7 @@ function Og(a2) { } c2(a3, l3); break; - } else - b2(a3, l3); + } else b2(a3, l3); l3 = l3.sibling; } f3.type === ya ? (d3 = Tg(f3.props.children, a3.mode, h3, f3.key), d3.return = a3, a3 = d3) : (h3 = Rg(f3.type, f3.key, f3.props, null, a3.mode, h3), h3.ref = Lg(a3, d3, f3), h3.return = a3, a3 = h3); @@ -3463,19 +3169,17 @@ function Og(a2) { case wa: a: { for (l3 = f3.key; null !== d3; ) { - if (d3.key === l3) - if (4 === d3.tag && d3.stateNode.containerInfo === f3.containerInfo && d3.stateNode.implementation === f3.implementation) { - c2(a3, d3.sibling); - d3 = e3(d3, f3.children || []); - d3.return = a3; - a3 = d3; - break a; - } else { - c2(a3, d3); - break; - } - else - b2(a3, d3); + if (d3.key === l3) if (4 === d3.tag && d3.stateNode.containerInfo === f3.containerInfo && d3.stateNode.implementation === f3.implementation) { + c2(a3, d3.sibling); + d3 = e3(d3, f3.children || []); + d3.return = a3; + a3 = d3; + break a; + } else { + c2(a3, d3); + break; + } + else b2(a3, d3); d3 = d3.sibling; } d3 = Sg(f3, a3.mode, h3); @@ -3486,10 +3190,8 @@ function Og(a2) { case Ha: return l3 = f3._init, J2(a3, d3, l3(f3._payload), h3); } - if (eb(f3)) - return n2(a3, d3, f3, h3); - if (Ka(f3)) - return t4(a3, d3, f3, h3); + if (eb(f3)) return n2(a3, d3, f3, h3); + if (Ka(f3)) return t4(a3, d3, f3, h3); Mg(a3, f3); } return "string" === typeof f3 && "" !== f3 || "number" === typeof f3 ? (f3 = "" + f3, null !== d3 && 6 === d3.tag ? (c2(a3, d3.sibling), d3 = e3(d3, f3), d3.return = a3, a3 = d3) : (c2(a3, d3), d3 = Qg(f3, a3.mode, h3), d3.return = a3, a3 = d3), g2(a3)) : c2(a3, d3); @@ -3502,15 +3204,14 @@ function $g() { } function ah(a2) { var b2 = Wg.current; - E$1(Wg); + E$2(Wg); a2._currentValue = b2; } function bh(a2, b2, c2) { for (; null !== a2; ) { var d2 = a2.alternate; (a2.childLanes & b2) !== b2 ? (a2.childLanes |= b2, null !== d2 && (d2.childLanes |= b2)) : null !== d2 && (d2.childLanes & b2) !== b2 && (d2.childLanes |= b2); - if (a2 === c2) - break; + if (a2 === c2) break; a2 = a2.return; } } @@ -3522,14 +3223,11 @@ function ch(a2, b2) { } function eh(a2) { var b2 = a2._currentValue; - if (Zg !== a2) - if (a2 = { context: a2, memoizedValue: b2, next: null }, null === Yg) { - if (null === Xg) - throw Error(p$4(308)); - Yg = a2; - Xg.dependencies = { lanes: 0, firstContext: a2 }; - } else - Yg = Yg.next = a2; + if (Zg !== a2) if (a2 = { context: a2, memoizedValue: b2, next: null }, null === Yg) { + if (null === Xg) throw Error(p$4(308)); + Yg = a2; + Xg.dependencies = { lanes: 0, firstContext: a2 }; + } else Yg = Yg.next = a2; return b2; } var fh = null; @@ -3547,8 +3245,7 @@ function ih(a2, b2) { var c2 = a2.alternate; null !== c2 && (c2.lanes |= b2); c2 = a2; - for (a2 = a2.return; null !== a2; ) - a2.childLanes |= b2, c2 = a2.alternate, null !== c2 && (c2.childLanes |= b2), c2 = a2, a2 = a2.return; + for (a2 = a2.return; null !== a2; ) a2.childLanes |= b2, c2 = a2.alternate, null !== c2 && (c2.childLanes |= b2), c2 = a2, a2 = a2.return; return 3 === c2.tag ? c2.stateNode : null; } var jh = false; @@ -3564,10 +3261,9 @@ function mh(a2, b2) { } function nh(a2, b2, c2) { var d2 = a2.updateQueue; - if (null === d2) - return null; + if (null === d2) return null; d2 = d2.shared; - if (0 !== (K$2 & 2)) { + if (0 !== (K$1 & 2)) { var e3 = d2.pending; null === e3 ? b2.next = b2 : (b2.next = e3.next, e3.next = b2); d2.pending = b2; @@ -3600,8 +3296,7 @@ function ph(a2, b2) { c2 = c2.next; } while (null !== c2); null === f2 ? e3 = f2 = b2 : f2 = f2.next = b2; - } else - e3 = f2 = b2; + } else e3 = f2 = b2; c2 = { baseState: d2.baseState, firstBaseUpdate: e3, lastBaseUpdate: f2, shared: d2.shared, effects: d2.effects }; a2.updateQueue = c2; return; @@ -3657,23 +3352,18 @@ function qh(a2, b2, c2, d2) { case 0: n2 = t4.payload; r2 = "function" === typeof n2 ? n2.call(y2, q2, r2) : n2; - if (null === r2 || void 0 === r2) - break a; - q2 = A$3({}, q2, r2); + if (null === r2 || void 0 === r2) break a; + q2 = A$2({}, q2, r2); break a; case 2: jh = true; } } null !== h2.callback && 0 !== h2.lane && (a2.flags |= 64, r2 = e3.effects, null === r2 ? e3.effects = [h2] : r2.push(h2)); - } else - y2 = { eventTime: y2, lane: r2, tag: h2.tag, payload: h2.payload, callback: h2.callback, next: null }, null === m2 ? (l2 = m2 = y2, k2 = q2) : m2 = m2.next = y2, g2 |= r2; + } else y2 = { eventTime: y2, lane: r2, tag: h2.tag, payload: h2.payload, callback: h2.callback, next: null }, null === m2 ? (l2 = m2 = y2, k2 = q2) : m2 = m2.next = y2, g2 |= r2; h2 = h2.next; - if (null === h2) - if (h2 = e3.shared.pending, null === h2) - break; - else - r2 = h2, h2 = r2.next, r2.next = null, e3.lastBaseUpdate = r2, e3.shared.pending = null; + if (null === h2) if (h2 = e3.shared.pending, null === h2) break; + else r2 = h2, h2 = r2.next, r2.next = null, e3.lastBaseUpdate = r2, e3.shared.pending = null; } while (1); null === m2 && (k2 = q2); e3.baseState = k2; @@ -3685,8 +3375,7 @@ function qh(a2, b2, c2, d2) { do g2 |= e3.lane, e3 = e3.next; while (e3 !== b2); - } else - null === f2 && (e3.shared.lanes = 0); + } else null === f2 && (e3.shared.lanes = 0); rh |= g2; a2.lanes = g2; a2.memoizedState = q2; @@ -3695,22 +3384,19 @@ function qh(a2, b2, c2, d2) { function sh(a2, b2, c2) { a2 = b2.effects; b2.effects = null; - if (null !== a2) - for (b2 = 0; b2 < a2.length; b2++) { - var d2 = a2[b2], e3 = d2.callback; - if (null !== e3) { - d2.callback = null; - d2 = c2; - if ("function" !== typeof e3) - throw Error(p$4(191, e3)); - e3.call(d2); - } + if (null !== a2) for (b2 = 0; b2 < a2.length; b2++) { + var d2 = a2[b2], e3 = d2.callback; + if (null !== e3) { + d2.callback = null; + d2 = c2; + if ("function" !== typeof e3) throw Error(p$4(191, e3)); + e3.call(d2); } + } } var th = {}, uh = Uf(th), vh$1 = Uf(th), wh = Uf(th); function xh(a2) { - if (a2 === th) - throw Error(p$4(174)); + if (a2 === th) throw Error(p$4(174)); return a2; } function yh(a2, b2) { @@ -3726,13 +3412,13 @@ function yh(a2, b2) { default: a2 = 8 === a2 ? b2.parentNode : b2, b2 = a2.namespaceURI || null, a2 = a2.tagName, b2 = lb(b2, a2); } - E$1(uh); + E$2(uh); G(uh, b2); } function zh() { - E$1(uh); - E$1(vh$1); - E$1(wh); + E$2(uh); + E$2(vh$1); + E$2(wh); } function Ah(a2) { xh(wh.current); @@ -3741,28 +3427,24 @@ function Ah(a2) { b2 !== c2 && (G(vh$1, a2), G(uh, c2)); } function Bh(a2) { - vh$1.current === a2 && (E$1(uh), E$1(vh$1)); + vh$1.current === a2 && (E$2(uh), E$2(vh$1)); } -var L = Uf(0); +var L$1 = Uf(0); function Ch(a2) { for (var b2 = a2; null !== b2; ) { if (13 === b2.tag) { var c2 = b2.memoizedState; - if (null !== c2 && (c2 = c2.dehydrated, null === c2 || "$?" === c2.data || "$!" === c2.data)) - return b2; + if (null !== c2 && (c2 = c2.dehydrated, null === c2 || "$?" === c2.data || "$!" === c2.data)) return b2; } else if (19 === b2.tag && void 0 !== b2.memoizedProps.revealOrder) { - if (0 !== (b2.flags & 128)) - return b2; + if (0 !== (b2.flags & 128)) return b2; } else if (null !== b2.child) { b2.child.return = b2; b2 = b2.child; continue; } - if (b2 === a2) - break; + if (b2 === a2) break; for (; null === b2.sibling; ) { - if (null === b2.return || b2.return === a2) - return null; + if (null === b2.return || b2.return === a2) return null; b2 = b2.return; } b2.sibling.return = b2.return; @@ -3772,25 +3454,21 @@ function Ch(a2) { } var Dh = []; function Eh() { - for (var a2 = 0; a2 < Dh.length; a2++) - Dh[a2]._workInProgressVersionPrimary = null; + for (var a2 = 0; a2 < Dh.length; a2++) Dh[a2]._workInProgressVersionPrimary = null; Dh.length = 0; } -var Fh = ua.ReactCurrentDispatcher, Gh = ua.ReactCurrentBatchConfig, Hh = 0, M$2 = null, N$1 = null, O$1 = null, Ih = false, Jh = false, Kh = 0, Lh = 0; +var Fh = ua.ReactCurrentDispatcher, Gh = ua.ReactCurrentBatchConfig, Hh = 0, M$1 = null, N$2 = null, O = null, Ih = false, Jh = false, Kh = 0, Lh = 0; function P$3() { throw Error(p$4(321)); } function Mh(a2, b2) { - if (null === b2) - return false; - for (var c2 = 0; c2 < b2.length && c2 < a2.length; c2++) - if (!He(a2[c2], b2[c2])) - return false; + if (null === b2) return false; + for (var c2 = 0; c2 < b2.length && c2 < a2.length; c2++) if (!He(a2[c2], b2[c2])) return false; return true; } function Nh(a2, b2, c2, d2, e3, f2) { Hh = f2; - M$2 = b2; + M$1 = b2; b2.memoizedState = null; b2.updateQueue = null; b2.lanes = 0; @@ -3801,22 +3479,20 @@ function Nh(a2, b2, c2, d2, e3, f2) { do { Jh = false; Kh = 0; - if (25 <= f2) - throw Error(p$4(301)); + if (25 <= f2) throw Error(p$4(301)); f2 += 1; - O$1 = N$1 = null; + O = N$2 = null; b2.updateQueue = null; Fh.current = Qh; a2 = c2(d2, e3); } while (Jh); } Fh.current = Rh; - b2 = null !== N$1 && null !== N$1.next; + b2 = null !== N$2 && null !== N$2.next; Hh = 0; - O$1 = N$1 = M$2 = null; + O = N$2 = M$1 = null; Ih = false; - if (b2) - throw Error(p$4(300)); + if (b2) throw Error(p$4(300)); return a2; } function Sh() { @@ -3826,36 +3502,32 @@ function Sh() { } function Th() { var a2 = { memoizedState: null, baseState: null, baseQueue: null, queue: null, next: null }; - null === O$1 ? M$2.memoizedState = O$1 = a2 : O$1 = O$1.next = a2; - return O$1; + null === O ? M$1.memoizedState = O = a2 : O = O.next = a2; + return O; } function Uh() { - if (null === N$1) { - var a2 = M$2.alternate; + if (null === N$2) { + var a2 = M$1.alternate; a2 = null !== a2 ? a2.memoizedState : null; - } else - a2 = N$1.next; - var b2 = null === O$1 ? M$2.memoizedState : O$1.next; - if (null !== b2) - O$1 = b2, N$1 = a2; + } else a2 = N$2.next; + var b2 = null === O ? M$1.memoizedState : O.next; + if (null !== b2) O = b2, N$2 = a2; else { - if (null === a2) - throw Error(p$4(310)); - N$1 = a2; - a2 = { memoizedState: N$1.memoizedState, baseState: N$1.baseState, baseQueue: N$1.baseQueue, queue: N$1.queue, next: null }; - null === O$1 ? M$2.memoizedState = O$1 = a2 : O$1 = O$1.next = a2; + if (null === a2) throw Error(p$4(310)); + N$2 = a2; + a2 = { memoizedState: N$2.memoizedState, baseState: N$2.baseState, baseQueue: N$2.baseQueue, queue: N$2.queue, next: null }; + null === O ? M$1.memoizedState = O = a2 : O = O.next = a2; } - return O$1; + return O; } function Vh(a2, b2) { return "function" === typeof b2 ? b2(a2) : b2; } function Wh(a2) { var b2 = Uh(), c2 = b2.queue; - if (null === c2) - throw Error(p$4(311)); + if (null === c2) throw Error(p$4(311)); c2.lastRenderedReducer = a2; - var d2 = N$1, e3 = d2.baseQueue, f2 = c2.pending; + var d2 = N$2, e3 = d2.baseQueue, f2 = c2.pending; if (null !== f2) { if (null !== e3) { var g2 = e3.next; @@ -3871,8 +3543,7 @@ function Wh(a2) { var h2 = g2 = null, k2 = null, l2 = f2; do { var m2 = l2.lane; - if ((Hh & m2) === m2) - null !== k2 && (k2 = k2.next = { lane: 0, action: l2.action, hasEagerState: l2.hasEagerState, eagerState: l2.eagerState, next: null }), d2 = l2.hasEagerState ? l2.eagerState : a2(d2, l2.action); + if ((Hh & m2) === m2) null !== k2 && (k2 = k2.next = { lane: 0, action: l2.action, hasEagerState: l2.hasEagerState, eagerState: l2.eagerState, next: null }), d2 = l2.hasEagerState ? l2.eagerState : a2(d2, l2.action); else { var q2 = { lane: m2, @@ -3882,7 +3553,7 @@ function Wh(a2) { next: null }; null === k2 ? (h2 = k2 = q2, g2 = d2) : k2 = k2.next = q2; - M$2.lanes |= m2; + M$1.lanes |= m2; rh |= m2; } l2 = l2.next; @@ -3898,16 +3569,14 @@ function Wh(a2) { if (null !== a2) { e3 = a2; do - f2 = e3.lane, M$2.lanes |= f2, rh |= f2, e3 = e3.next; + f2 = e3.lane, M$1.lanes |= f2, rh |= f2, e3 = e3.next; while (e3 !== a2); - } else - null === e3 && (c2.lanes = 0); + } else null === e3 && (c2.lanes = 0); return [b2.memoizedState, c2.dispatch]; } function Xh(a2) { var b2 = Uh(), c2 = b2.queue; - if (null === c2) - throw Error(p$4(311)); + if (null === c2) throw Error(p$4(311)); c2.lastRenderedReducer = a2; var d2 = c2.dispatch, e3 = c2.pending, f2 = b2.memoizedState; if (null !== e3) { @@ -3926,15 +3595,14 @@ function Xh(a2) { function Yh() { } function Zh(a2, b2) { - var c2 = M$2, d2 = Uh(), e3 = b2(), f2 = !He(d2.memoizedState, e3); + var c2 = M$1, d2 = Uh(), e3 = b2(), f2 = !He(d2.memoizedState, e3); f2 && (d2.memoizedState = e3, dh = true); d2 = d2.queue; $h(ai.bind(null, c2, d2, a2), [a2]); - if (d2.getSnapshot !== b2 || f2 || null !== O$1 && O$1.memoizedState.tag & 1) { + if (d2.getSnapshot !== b2 || f2 || null !== O && O.memoizedState.tag & 1) { c2.flags |= 2048; bi(9, ci.bind(null, c2, d2, e3, b2), void 0, null); - if (null === Q$1) - throw Error(p$4(349)); + if (null === Q$2) throw Error(p$4(349)); 0 !== (Hh & 30) || di(c2, b2, e3); } return e3; @@ -3942,8 +3610,8 @@ function Zh(a2, b2) { function di(a2, b2, c2) { a2.flags |= 16384; a2 = { getSnapshot: b2, value: c2 }; - b2 = M$2.updateQueue; - null === b2 ? (b2 = { lastEffect: null, stores: null }, M$2.updateQueue = b2, b2.stores = [a2]) : (c2 = b2.stores, null === c2 ? b2.stores = [a2] : c2.push(a2)); + b2 = M$1.updateQueue; + null === b2 ? (b2 = { lastEffect: null, stores: null }, M$1.updateQueue = b2, b2.stores = [a2]) : (c2 = b2.stores, null === c2 ? b2.stores = [a2] : c2.push(a2)); } function ci(a2, b2, c2, d2) { b2.value = c2; @@ -3975,13 +3643,13 @@ function hi(a2) { b2.memoizedState = b2.baseState = a2; a2 = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: Vh, lastRenderedState: a2 }; b2.queue = a2; - a2 = a2.dispatch = ii.bind(null, M$2, a2); + a2 = a2.dispatch = ii.bind(null, M$1, a2); return [b2.memoizedState, a2]; } function bi(a2, b2, c2, d2) { a2 = { tag: a2, create: b2, destroy: c2, deps: d2, next: null }; - b2 = M$2.updateQueue; - null === b2 ? (b2 = { lastEffect: null, stores: null }, M$2.updateQueue = b2, b2.lastEffect = a2.next = a2) : (c2 = b2.lastEffect, null === c2 ? b2.lastEffect = a2.next = a2 : (d2 = c2.next, c2.next = a2, a2.next = d2, b2.lastEffect = a2)); + b2 = M$1.updateQueue; + null === b2 ? (b2 = { lastEffect: null, stores: null }, M$1.updateQueue = b2, b2.lastEffect = a2.next = a2) : (c2 = b2.lastEffect, null === c2 ? b2.lastEffect = a2.next = a2 : (d2 = c2.next, c2.next = a2, a2.next = d2, b2.lastEffect = a2)); return a2; } function ji() { @@ -3989,22 +3657,22 @@ function ji() { } function ki(a2, b2, c2, d2) { var e3 = Th(); - M$2.flags |= a2; + M$1.flags |= a2; e3.memoizedState = bi(1 | b2, c2, void 0, void 0 === d2 ? null : d2); } function li(a2, b2, c2, d2) { var e3 = Uh(); d2 = void 0 === d2 ? null : d2; var f2 = void 0; - if (null !== N$1) { - var g2 = N$1.memoizedState; + if (null !== N$2) { + var g2 = N$2.memoizedState; f2 = g2.destroy; if (null !== d2 && Mh(d2, g2.deps)) { e3.memoizedState = bi(b2, c2, f2, d2); return; } } - M$2.flags |= a2; + M$1.flags |= a2; e3.memoizedState = bi(1 | b2, c2, f2, d2); } function mi(a2, b2) { @@ -4020,14 +3688,12 @@ function oi(a2, b2) { return li(4, 4, a2, b2); } function pi$2(a2, b2) { - if ("function" === typeof b2) - return a2 = a2(), b2(a2), function() { - b2(null); - }; - if (null !== b2 && void 0 !== b2) - return a2 = a2(), b2.current = a2, function() { - b2.current = null; - }; + if ("function" === typeof b2) return a2 = a2(), b2(a2), function() { + b2(null); + }; + if (null !== b2 && void 0 !== b2) return a2 = a2(), b2.current = a2, function() { + b2.current = null; + }; } function qi(a2, b2, c2) { c2 = null !== c2 && void 0 !== c2 ? c2.concat([a2]) : null; @@ -4039,8 +3705,7 @@ function si(a2, b2) { var c2 = Uh(); b2 = void 0 === b2 ? null : b2; var d2 = c2.memoizedState; - if (null !== d2 && null !== b2 && Mh(b2, d2[1])) - return d2[0]; + if (null !== d2 && null !== b2 && Mh(b2, d2[1])) return d2[0]; c2.memoizedState = [a2, b2]; return a2; } @@ -4048,16 +3713,14 @@ function ti(a2, b2) { var c2 = Uh(); b2 = void 0 === b2 ? null : b2; var d2 = c2.memoizedState; - if (null !== d2 && null !== b2 && Mh(b2, d2[1])) - return d2[0]; + if (null !== d2 && null !== b2 && Mh(b2, d2[1])) return d2[0]; a2 = a2(); c2.memoizedState = [a2, b2]; return a2; } function ui(a2, b2, c2) { - if (0 === (Hh & 21)) - return a2.baseState && (a2.baseState = false, dh = true), a2.memoizedState = c2; - He(c2, b2) || (c2 = yc(), M$2.lanes |= c2, rh |= c2, a2.baseState = true); + if (0 === (Hh & 21)) return a2.baseState && (a2.baseState = false, dh = true), a2.memoizedState = c2; + He(c2, b2) || (c2 = yc(), M$1.lanes |= c2, rh |= c2, a2.baseState = true); return b2; } function vi(a2, b2) { @@ -4078,41 +3741,38 @@ function wi() { function xi(a2, b2, c2) { var d2 = yi(a2); c2 = { lane: d2, action: c2, hasEagerState: false, eagerState: null, next: null }; - if (zi(a2)) - Ai(b2, c2); + if (zi(a2)) Ai(b2, c2); else if (c2 = hh(a2, b2, c2, d2), null !== c2) { - var e3 = R$2(); + var e3 = R$1(); gi(c2, a2, d2, e3); Bi(c2, b2, d2); } } function ii(a2, b2, c2) { var d2 = yi(a2), e3 = { lane: d2, action: c2, hasEagerState: false, eagerState: null, next: null }; - if (zi(a2)) - Ai(b2, e3); + if (zi(a2)) Ai(b2, e3); else { var f2 = a2.alternate; - if (0 === a2.lanes && (null === f2 || 0 === f2.lanes) && (f2 = b2.lastRenderedReducer, null !== f2)) - try { - var g2 = b2.lastRenderedState, h2 = f2(g2, c2); - e3.hasEagerState = true; - e3.eagerState = h2; - if (He(h2, g2)) { - var k2 = b2.interleaved; - null === k2 ? (e3.next = e3, gh(b2)) : (e3.next = k2.next, k2.next = e3); - b2.interleaved = e3; - return; - } - } catch (l2) { - } finally { + if (0 === a2.lanes && (null === f2 || 0 === f2.lanes) && (f2 = b2.lastRenderedReducer, null !== f2)) try { + var g2 = b2.lastRenderedState, h2 = f2(g2, c2); + e3.hasEagerState = true; + e3.eagerState = h2; + if (He(h2, g2)) { + var k2 = b2.interleaved; + null === k2 ? (e3.next = e3, gh(b2)) : (e3.next = k2.next, k2.next = e3); + b2.interleaved = e3; + return; } + } catch (l2) { + } finally { + } c2 = hh(a2, b2, e3, d2); - null !== c2 && (e3 = R$2(), gi(c2, a2, d2, e3), Bi(c2, b2, d2)); + null !== c2 && (e3 = R$1(), gi(c2, a2, d2, e3), Bi(c2, b2, d2)); } } function zi(a2) { var b2 = a2.alternate; - return a2 === M$2 || null !== b2 && b2 === M$2; + return a2 === M$1 || null !== b2 && b2 === M$1; } function Ai(a2, b2) { Jh = Ih = true; @@ -4156,7 +3816,7 @@ var Rh = { readContext: eh, useCallback: P$3, useContext: P$3, useEffect: P$3, u d2.memoizedState = d2.baseState = b2; a2 = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: a2, lastRenderedState: b2 }; d2.queue = a2; - a2 = a2.dispatch = xi.bind(null, M$2, a2); + a2 = a2.dispatch = xi.bind(null, M$1, a2); return [d2.memoizedState, a2]; }, useRef: function(a2) { var b2 = Th(); @@ -4171,15 +3831,13 @@ var Rh = { readContext: eh, useCallback: P$3, useContext: P$3, useEffect: P$3, u return [b2, a2]; }, useMutableSource: function() { }, useSyncExternalStore: function(a2, b2, c2) { - var d2 = M$2, e3 = Th(); + var d2 = M$1, e3 = Th(); if (I) { - if (void 0 === c2) - throw Error(p$4(407)); + if (void 0 === c2) throw Error(p$4(407)); c2 = c2(); } else { c2 = b2(); - if (null === Q$1) - throw Error(p$4(349)); + if (null === Q$2) throw Error(p$4(349)); 0 !== (Hh & 30) || di(d2, b2, c2); } e3.memoizedState = c2; @@ -4195,7 +3853,7 @@ var Rh = { readContext: eh, useCallback: P$3, useContext: P$3, useEffect: P$3, u bi(9, ci.bind(null, d2, f2, c2, b2), void 0, null); return c2; }, useId: function() { - var a2 = Th(), b2 = Q$1.identifierPrefix; + var a2 = Th(), b2 = Q$2.identifierPrefix; if (I) { var c2 = sg; var d2 = rg; @@ -4204,8 +3862,7 @@ var Rh = { readContext: eh, useCallback: P$3, useContext: P$3, useEffect: P$3, u c2 = Kh++; 0 < c2 && (b2 += "H" + c2.toString(32)); b2 += ":"; - } else - c2 = Lh++, b2 = ":" + b2 + "r" + c2.toString(32) + ":"; + } else c2 = Lh++, b2 = ":" + b2 + "r" + c2.toString(32) + ":"; return a2.memoizedState = b2; }, unstable_isNewReconciler: false }, Ph = { readContext: eh, @@ -4224,7 +3881,7 @@ var Rh = { readContext: eh, useCallback: P$3, useContext: P$3, useEffect: P$3, u useDebugValue: ri, useDeferredValue: function(a2) { var b2 = Uh(); - return ui(b2, N$1.memoizedState, a2); + return ui(b2, N$2.memoizedState, a2); }, useTransition: function() { var a2 = Wh(Vh)[0], b2 = Uh().memoizedState; @@ -4238,17 +3895,16 @@ var Rh = { readContext: eh, useCallback: P$3, useContext: P$3, useEffect: P$3, u return Xh(Vh); }, useDebugValue: ri, useDeferredValue: function(a2) { var b2 = Uh(); - return null === N$1 ? b2.memoizedState = a2 : ui(b2, N$1.memoizedState, a2); + return null === N$2 ? b2.memoizedState = a2 : ui(b2, N$2.memoizedState, a2); }, useTransition: function() { var a2 = Xh(Vh)[0], b2 = Uh().memoizedState; return [a2, b2]; }, useMutableSource: Yh, useSyncExternalStore: Zh, useId: wi, unstable_isNewReconciler: false }; function Ci(a2, b2) { if (a2 && a2.defaultProps) { - b2 = A$3({}, b2); + b2 = A$2({}, b2); a2 = a2.defaultProps; - for (var c2 in a2) - void 0 === b2[c2] && (b2[c2] = a2[c2]); + for (var c2 in a2) void 0 === b2[c2] && (b2[c2] = a2[c2]); return b2; } return b2; @@ -4256,7 +3912,7 @@ function Ci(a2, b2) { function Di(a2, b2, c2, d2) { b2 = a2.memoizedState; c2 = c2(d2, b2); - c2 = null === c2 || void 0 === c2 ? b2 : A$3({}, b2, c2); + c2 = null === c2 || void 0 === c2 ? b2 : A$2({}, b2, c2); a2.memoizedState = c2; 0 === a2.lanes && (a2.updateQueue.baseState = c2); } @@ -4264,14 +3920,14 @@ var Ei = { isMounted: function(a2) { return (a2 = a2._reactInternals) ? Vb(a2) === a2 : false; }, enqueueSetState: function(a2, b2, c2) { a2 = a2._reactInternals; - var d2 = R$2(), e3 = yi(a2), f2 = mh(d2, e3); + var d2 = R$1(), e3 = yi(a2), f2 = mh(d2, e3); f2.payload = b2; void 0 !== c2 && null !== c2 && (f2.callback = c2); b2 = nh(a2, f2, e3); null !== b2 && (gi(b2, a2, e3, d2), oh(b2, a2, e3)); }, enqueueReplaceState: function(a2, b2, c2) { a2 = a2._reactInternals; - var d2 = R$2(), e3 = yi(a2), f2 = mh(d2, e3); + var d2 = R$1(), e3 = yi(a2), f2 = mh(d2, e3); f2.tag = 1; f2.payload = b2; void 0 !== c2 && null !== c2 && (f2.callback = c2); @@ -4279,7 +3935,7 @@ var Ei = { isMounted: function(a2) { null !== b2 && (gi(b2, a2, e3, d2), oh(b2, a2, e3)); }, enqueueForceUpdate: function(a2, b2) { a2 = a2._reactInternals; - var c2 = R$2(), d2 = yi(a2), e3 = mh(c2, d2); + var c2 = R$1(), d2 = yi(a2), e3 = mh(c2, d2); e3.tag = 2; void 0 !== b2 && null !== b2 && (e3.callback = b2); b2 = nh(a2, e3, d2); @@ -4287,12 +3943,12 @@ var Ei = { isMounted: function(a2) { } }; function Fi(a2, b2, c2, d2, e3, f2, g2) { a2 = a2.stateNode; - return "function" === typeof a2.shouldComponentUpdate ? a2.shouldComponentUpdate(d2, f2, g2) : b2.prototype && b2.prototype.isPureReactComponent ? !Ie(c2, d2) || !Ie(e3, f2) : true; + return "function" === typeof a2.shouldComponentUpdate ? a2.shouldComponentUpdate(d2, f2, g2) : b2.prototype && b2.prototype.isPureReactComponent ? !Ie$1(c2, d2) || !Ie$1(e3, f2) : true; } function Gi(a2, b2, c2) { var d2 = false, e3 = Vf; var f2 = b2.contextType; - "object" === typeof f2 && null !== f2 ? f2 = eh(f2) : (e3 = Zf(b2) ? Xf : H.current, d2 = b2.contextTypes, f2 = (d2 = null !== d2 && void 0 !== d2) ? Yf(a2, e3) : Vf); + "object" === typeof f2 && null !== f2 ? f2 = eh(f2) : (e3 = Zf(b2) ? Xf : H$1.current, d2 = b2.contextTypes, f2 = (d2 = null !== d2 && void 0 !== d2) ? Yf(a2, e3) : Vf); b2 = new b2(c2, f2); a2.memoizedState = null !== b2.state && void 0 !== b2.state ? b2.state : null; b2.updater = Ei; @@ -4314,7 +3970,7 @@ function Ii(a2, b2, c2, d2) { e3.refs = {}; kh(a2); var f2 = b2.contextType; - "object" === typeof f2 && null !== f2 ? e3.context = eh(f2) : (f2 = Zf(b2) ? Xf : H.current, e3.context = Yf(a2, f2)); + "object" === typeof f2 && null !== f2 ? e3.context = eh(f2) : (f2 = Zf(b2) ? Xf : H$1.current, e3.context = Yf(a2, f2)); e3.state = a2.memoizedState; f2 = b2.getDerivedStateFromProps; "function" === typeof f2 && (Di(a2, b2, f2, c2), e3.state = a2.memoizedState); @@ -4385,24 +4041,20 @@ function Si(a2, b2, c2) { d2 = a2.pingCache = new Mi(); var e3 = /* @__PURE__ */ new Set(); d2.set(b2, e3); - } else - e3 = d2.get(b2), void 0 === e3 && (e3 = /* @__PURE__ */ new Set(), d2.set(b2, e3)); + } else e3 = d2.get(b2), void 0 === e3 && (e3 = /* @__PURE__ */ new Set(), d2.set(b2, e3)); e3.has(c2) || (e3.add(c2), a2 = Ti.bind(null, a2, b2, c2), b2.then(a2, a2)); } function Ui(a2) { do { var b2; - if (b2 = 13 === a2.tag) - b2 = a2.memoizedState, b2 = null !== b2 ? null !== b2.dehydrated ? true : false : true; - if (b2) - return a2; + if (b2 = 13 === a2.tag) b2 = a2.memoizedState, b2 = null !== b2 ? null !== b2.dehydrated ? true : false : true; + if (b2) return a2; a2 = a2.return; } while (null !== a2); return null; } function Vi(a2, b2, c2, d2, e3) { - if (0 === (a2.mode & 1)) - return a2 === b2 ? a2.flags |= 65536 : (a2.flags |= 128, c2.flags |= 131072, c2.flags &= -52805, 1 === c2.tag && (null === c2.alternate ? c2.tag = 17 : (b2 = mh(-1, 1), b2.tag = 2, nh(c2, b2, 1))), c2.lanes |= 1), a2; + if (0 === (a2.mode & 1)) return a2 === b2 ? a2.flags |= 65536 : (a2.flags |= 128, c2.flags |= 131072, c2.flags &= -52805, 1 === c2.tag && (null === c2.alternate ? c2.tag = 17 : (b2 = mh(-1, 1), b2.tag = 2, nh(c2, b2, 1))), c2.lanes |= 1), a2; a2.flags |= 65536; a2.lanes = e3; return a2; @@ -4417,8 +4069,7 @@ function Yi(a2, b2, c2, d2, e3) { ch(b2, e3); d2 = Nh(a2, b2, c2, d2, f2, e3); c2 = Sh(); - if (null !== a2 && !dh) - return b2.updateQueue = a2.updateQueue, b2.flags &= -2053, a2.lanes &= ~e3, Zi(a2, b2, e3); + if (null !== a2 && !dh) return b2.updateQueue = a2.updateQueue, b2.flags &= -2053, a2.lanes &= ~e3, Zi(a2, b2, e3); I && c2 && vg(b2); b2.flags |= 1; Xi(a2, b2, d2, e3); @@ -4427,8 +4078,7 @@ function Yi(a2, b2, c2, d2, e3) { function $i(a2, b2, c2, d2, e3) { if (null === a2) { var f2 = c2.type; - if ("function" === typeof f2 && !aj(f2) && void 0 === f2.defaultProps && null === c2.compare && void 0 === c2.defaultProps) - return b2.tag = 15, b2.type = f2, bj(a2, b2, f2, d2, e3); + if ("function" === typeof f2 && !aj(f2) && void 0 === f2.defaultProps && null === c2.compare && void 0 === c2.defaultProps) return b2.tag = 15, b2.type = f2, bj(a2, b2, f2, d2, e3); a2 = Rg(c2.type, null, d2, b2, b2.mode, e3); a2.ref = b2.ref; a2.return = b2; @@ -4438,9 +4088,8 @@ function $i(a2, b2, c2, d2, e3) { if (0 === (a2.lanes & e3)) { var g2 = f2.memoizedProps; c2 = c2.compare; - c2 = null !== c2 ? c2 : Ie; - if (c2(g2, d2) && a2.ref === b2.ref) - return Zi(a2, b2, e3); + c2 = null !== c2 ? c2 : Ie$1; + if (c2(g2, d2) && a2.ref === b2.ref) return Zi(a2, b2, e3); } b2.flags |= 1; a2 = Pg(f2, d2); @@ -4451,45 +4100,36 @@ function $i(a2, b2, c2, d2, e3) { function bj(a2, b2, c2, d2, e3) { if (null !== a2) { var f2 = a2.memoizedProps; - if (Ie(f2, d2) && a2.ref === b2.ref) - if (dh = false, b2.pendingProps = d2 = f2, 0 !== (a2.lanes & e3)) - 0 !== (a2.flags & 131072) && (dh = true); - else - return b2.lanes = a2.lanes, Zi(a2, b2, e3); + if (Ie$1(f2, d2) && a2.ref === b2.ref) if (dh = false, b2.pendingProps = d2 = f2, 0 !== (a2.lanes & e3)) 0 !== (a2.flags & 131072) && (dh = true); + else return b2.lanes = a2.lanes, Zi(a2, b2, e3); } return cj(a2, b2, c2, d2, e3); } function dj(a2, b2, c2) { var d2 = b2.pendingProps, e3 = d2.children, f2 = null !== a2 ? a2.memoizedState : null; - if ("hidden" === d2.mode) - if (0 === (b2.mode & 1)) - b2.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, G(ej, fj), fj |= c2; - else { - if (0 === (c2 & 1073741824)) - return a2 = null !== f2 ? f2.baseLanes | c2 : c2, b2.lanes = b2.childLanes = 1073741824, b2.memoizedState = { baseLanes: a2, cachePool: null, transitions: null }, b2.updateQueue = null, G(ej, fj), fj |= a2, null; - b2.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }; - d2 = null !== f2 ? f2.baseLanes : c2; - G(ej, fj); - fj |= d2; - } - else - null !== f2 ? (d2 = f2.baseLanes | c2, b2.memoizedState = null) : d2 = c2, G(ej, fj), fj |= d2; + if ("hidden" === d2.mode) if (0 === (b2.mode & 1)) b2.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, G(ej, fj), fj |= c2; + else { + if (0 === (c2 & 1073741824)) return a2 = null !== f2 ? f2.baseLanes | c2 : c2, b2.lanes = b2.childLanes = 1073741824, b2.memoizedState = { baseLanes: a2, cachePool: null, transitions: null }, b2.updateQueue = null, G(ej, fj), fj |= a2, null; + b2.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }; + d2 = null !== f2 ? f2.baseLanes : c2; + G(ej, fj); + fj |= d2; + } + else null !== f2 ? (d2 = f2.baseLanes | c2, b2.memoizedState = null) : d2 = c2, G(ej, fj), fj |= d2; Xi(a2, b2, e3, c2); return b2.child; } function gj(a2, b2) { var c2 = b2.ref; - if (null === a2 && null !== c2 || null !== a2 && a2.ref !== c2) - b2.flags |= 512, b2.flags |= 2097152; + if (null === a2 && null !== c2 || null !== a2 && a2.ref !== c2) b2.flags |= 512, b2.flags |= 2097152; } function cj(a2, b2, c2, d2, e3) { - var f2 = Zf(c2) ? Xf : H.current; + var f2 = Zf(c2) ? Xf : H$1.current; f2 = Yf(b2, f2); ch(b2, e3); c2 = Nh(a2, b2, c2, d2, f2, e3); d2 = Sh(); - if (null !== a2 && !dh) - return b2.updateQueue = a2.updateQueue, b2.flags &= -2053, a2.lanes &= ~e3, Zi(a2, b2, e3); + if (null !== a2 && !dh) return b2.updateQueue = a2.updateQueue, b2.flags &= -2053, a2.lanes &= ~e3, Zi(a2, b2, e3); I && d2 && vg(b2); b2.flags |= 1; Xi(a2, b2, c2, e3); @@ -4499,16 +4139,14 @@ function hj(a2, b2, c2, d2, e3) { if (Zf(c2)) { var f2 = true; cg(b2); - } else - f2 = false; + } else f2 = false; ch(b2, e3); - if (null === b2.stateNode) - ij(a2, b2), Gi(b2, c2, d2), Ii(b2, c2, d2, e3), d2 = true; + if (null === b2.stateNode) ij(a2, b2), Gi(b2, c2, d2), Ii(b2, c2, d2, e3), d2 = true; else if (null === a2) { var g2 = b2.stateNode, h2 = b2.memoizedProps; g2.props = h2; var k2 = g2.context, l2 = c2.contextType; - "object" === typeof l2 && null !== l2 ? l2 = eh(l2) : (l2 = Zf(c2) ? Xf : H.current, l2 = Yf(b2, l2)); + "object" === typeof l2 && null !== l2 ? l2 = eh(l2) : (l2 = Zf(c2) ? Xf : H$1.current, l2 = Yf(b2, l2)); var m2 = c2.getDerivedStateFromProps, q2 = "function" === typeof m2 || "function" === typeof g2.getSnapshotBeforeUpdate; q2 || "function" !== typeof g2.UNSAFE_componentWillReceiveProps && "function" !== typeof g2.componentWillReceiveProps || (h2 !== d2 || k2 !== l2) && Hi(b2, g2, d2, l2); jh = false; @@ -4526,7 +4164,7 @@ function hj(a2, b2, c2, d2, e3) { q2 = b2.pendingProps; r2 = g2.context; k2 = c2.contextType; - "object" === typeof k2 && null !== k2 ? k2 = eh(k2) : (k2 = Zf(c2) ? Xf : H.current, k2 = Yf(b2, k2)); + "object" === typeof k2 && null !== k2 ? k2 = eh(k2) : (k2 = Zf(c2) ? Xf : H$1.current, k2 = Yf(b2, k2)); var y2 = c2.getDerivedStateFromProps; (m2 = "function" === typeof y2 || "function" === typeof g2.getSnapshotBeforeUpdate) || "function" !== typeof g2.UNSAFE_componentWillReceiveProps && "function" !== typeof g2.componentWillReceiveProps || (h2 !== q2 || r2 !== k2) && Hi(b2, g2, d2, k2); jh = false; @@ -4541,8 +4179,7 @@ function hj(a2, b2, c2, d2, e3) { function jj(a2, b2, c2, d2, e3, f2) { gj(a2, b2); var g2 = 0 !== (b2.flags & 128); - if (!d2 && !g2) - return e3 && dg(b2, c2, false), Zi(a2, b2, f2); + if (!d2 && !g2) return e3 && dg(b2, c2, false), Zi(a2, b2, f2); d2 = b2.stateNode; Wi.current = b2; var h2 = g2 && "function" !== typeof c2.getDerivedStateFromError ? null : d2.render(); @@ -4569,25 +4206,21 @@ function nj(a2) { return { baseLanes: a2, cachePool: null, transitions: null }; } function oj(a2, b2, c2) { - var d2 = b2.pendingProps, e3 = L.current, f2 = false, g2 = 0 !== (b2.flags & 128), h2; + var d2 = b2.pendingProps, e3 = L$1.current, f2 = false, g2 = 0 !== (b2.flags & 128), h2; (h2 = g2) || (h2 = null !== a2 && null === a2.memoizedState ? false : 0 !== (e3 & 2)); - if (h2) - f2 = true, b2.flags &= -129; - else if (null === a2 || null !== a2.memoizedState) - e3 |= 1; - G(L, e3 & 1); + if (h2) f2 = true, b2.flags &= -129; + else if (null === a2 || null !== a2.memoizedState) e3 |= 1; + G(L$1, e3 & 1); if (null === a2) { Eg(b2); a2 = b2.memoizedState; - if (null !== a2 && (a2 = a2.dehydrated, null !== a2)) - return 0 === (b2.mode & 1) ? b2.lanes = 1 : "$!" === a2.data ? b2.lanes = 8 : b2.lanes = 1073741824, null; + if (null !== a2 && (a2 = a2.dehydrated, null !== a2)) return 0 === (b2.mode & 1) ? b2.lanes = 1 : "$!" === a2.data ? b2.lanes = 8 : b2.lanes = 1073741824, null; g2 = d2.children; a2 = d2.fallback; return f2 ? (d2 = b2.mode, f2 = b2.child, g2 = { mode: "hidden", children: g2 }, 0 === (d2 & 1) && null !== f2 ? (f2.childLanes = 0, f2.pendingProps = g2) : f2 = pj(g2, d2, 0, null), a2 = Tg(a2, d2, c2, null), f2.return = b2, a2.return = b2, f2.sibling = a2, b2.child = f2, b2.child.memoizedState = nj(c2), b2.memoizedState = mj, a2) : qj(b2, g2); } e3 = a2.memoizedState; - if (null !== e3 && (h2 = e3.dehydrated, null !== h2)) - return rj(a2, b2, g2, d2, h2, e3, c2); + if (null !== e3 && (h2 = e3.dehydrated, null !== h2)) return rj(a2, b2, g2, d2, h2, e3, c2); if (f2) { f2 = d2.fallback; g2 = b2.mode; @@ -4635,10 +4268,8 @@ function sj(a2, b2, c2, d2) { } function rj(a2, b2, c2, d2, e3, f2, g2) { if (c2) { - if (b2.flags & 256) - return b2.flags &= -257, d2 = Ki(Error(p$4(422))), sj(a2, b2, g2, d2); - if (null !== b2.memoizedState) - return b2.child = a2.child, b2.flags |= 128, null; + if (b2.flags & 256) return b2.flags &= -257, d2 = Ki(Error(p$4(422))), sj(a2, b2, g2, d2); + if (null !== b2.memoizedState) return b2.child = a2.child, b2.flags |= 128, null; f2 = d2.fallback; e3 = b2.mode; d2 = pj({ mode: "visible", children: d2.children }, e3, 0, null); @@ -4653,12 +4284,10 @@ function rj(a2, b2, c2, d2, e3, f2, g2) { b2.memoizedState = mj; return f2; } - if (0 === (b2.mode & 1)) - return sj(a2, b2, g2, null); + if (0 === (b2.mode & 1)) return sj(a2, b2, g2, null); if ("$!" === e3.data) { d2 = e3.nextSibling && e3.nextSibling.dataset; - if (d2) - var h2 = d2.dgst; + if (d2) var h2 = d2.dgst; d2 = h2; f2 = Error(p$4(419)); d2 = Ki(f2, d2, void 0); @@ -4666,7 +4295,7 @@ function rj(a2, b2, c2, d2, e3, f2, g2) { } h2 = 0 !== (g2 & a2.childLanes); if (dh || h2) { - d2 = Q$1; + d2 = Q$2; if (null !== d2) { switch (g2 & -g2) { case 4: @@ -4711,8 +4340,7 @@ function rj(a2, b2, c2, d2, e3, f2, g2) { d2 = Ki(Error(p$4(421))); return sj(a2, b2, g2, d2); } - if ("$?" === e3.data) - return b2.flags |= 128, b2.child = a2.child, b2 = uj.bind(null, a2), e3._reactRetry = b2, null; + if ("$?" === e3.data) return b2.flags |= 128, b2.child = a2.child, b2 = uj.bind(null, a2), e3._reactRetry = b2, null; a2 = f2.treeContext; yg = Lf(e3.nextSibling); xg = b2; @@ -4736,69 +4364,59 @@ function wj(a2, b2, c2, d2, e3) { function xj(a2, b2, c2) { var d2 = b2.pendingProps, e3 = d2.revealOrder, f2 = d2.tail; Xi(a2, b2, d2.children, c2); - d2 = L.current; - if (0 !== (d2 & 2)) - d2 = d2 & 1 | 2, b2.flags |= 128; + d2 = L$1.current; + if (0 !== (d2 & 2)) d2 = d2 & 1 | 2, b2.flags |= 128; else { - if (null !== a2 && 0 !== (a2.flags & 128)) - a: - for (a2 = b2.child; null !== a2; ) { - if (13 === a2.tag) - null !== a2.memoizedState && vj(a2, c2, b2); - else if (19 === a2.tag) - vj(a2, c2, b2); - else if (null !== a2.child) { - a2.child.return = a2; - a2 = a2.child; - continue; - } - if (a2 === b2) - break a; - for (; null === a2.sibling; ) { - if (null === a2.return || a2.return === b2) - break a; - a2 = a2.return; - } - a2.sibling.return = a2.return; - a2 = a2.sibling; - } + if (null !== a2 && 0 !== (a2.flags & 128)) a: for (a2 = b2.child; null !== a2; ) { + if (13 === a2.tag) null !== a2.memoizedState && vj(a2, c2, b2); + else if (19 === a2.tag) vj(a2, c2, b2); + else if (null !== a2.child) { + a2.child.return = a2; + a2 = a2.child; + continue; + } + if (a2 === b2) break a; + for (; null === a2.sibling; ) { + if (null === a2.return || a2.return === b2) break a; + a2 = a2.return; + } + a2.sibling.return = a2.return; + a2 = a2.sibling; + } d2 &= 1; } - G(L, d2); - if (0 === (b2.mode & 1)) - b2.memoizedState = null; - else - switch (e3) { - case "forwards": - c2 = b2.child; - for (e3 = null; null !== c2; ) - a2 = c2.alternate, null !== a2 && null === Ch(a2) && (e3 = c2), c2 = c2.sibling; - c2 = e3; - null === c2 ? (e3 = b2.child, b2.child = null) : (e3 = c2.sibling, c2.sibling = null); - wj(b2, false, e3, c2, f2); - break; - case "backwards": - c2 = null; - e3 = b2.child; - for (b2.child = null; null !== e3; ) { - a2 = e3.alternate; - if (null !== a2 && null === Ch(a2)) { - b2.child = e3; - break; - } - a2 = e3.sibling; - e3.sibling = c2; - c2 = e3; - e3 = a2; + G(L$1, d2); + if (0 === (b2.mode & 1)) b2.memoizedState = null; + else switch (e3) { + case "forwards": + c2 = b2.child; + for (e3 = null; null !== c2; ) a2 = c2.alternate, null !== a2 && null === Ch(a2) && (e3 = c2), c2 = c2.sibling; + c2 = e3; + null === c2 ? (e3 = b2.child, b2.child = null) : (e3 = c2.sibling, c2.sibling = null); + wj(b2, false, e3, c2, f2); + break; + case "backwards": + c2 = null; + e3 = b2.child; + for (b2.child = null; null !== e3; ) { + a2 = e3.alternate; + if (null !== a2 && null === Ch(a2)) { + b2.child = e3; + break; } - wj(b2, true, c2, null, f2); - break; - case "together": - wj(b2, false, null, null, void 0); - break; - default: - b2.memoizedState = null; - } + a2 = e3.sibling; + e3.sibling = c2; + c2 = e3; + e3 = a2; + } + wj(b2, true, c2, null, f2); + break; + case "together": + wj(b2, false, null, null, void 0); + break; + default: + b2.memoizedState = null; + } return b2.child; } function ij(a2, b2) { @@ -4807,16 +4425,13 @@ function ij(a2, b2) { function Zi(a2, b2, c2) { null !== a2 && (b2.dependencies = a2.dependencies); rh |= b2.lanes; - if (0 === (c2 & b2.childLanes)) - return null; - if (null !== a2 && b2.child !== a2.child) - throw Error(p$4(153)); + if (0 === (c2 & b2.childLanes)) return null; + if (null !== a2 && b2.child !== a2.child) throw Error(p$4(153)); if (null !== b2.child) { a2 = b2.child; c2 = Pg(a2, a2.pendingProps); b2.child = c2; - for (c2.return = b2; null !== a2.sibling; ) - a2 = a2.sibling, c2 = c2.sibling = Pg(a2, a2.pendingProps), c2.return = b2; + for (c2.return = b2; null !== a2.sibling; ) a2 = a2.sibling, c2 = c2.sibling = Pg(a2, a2.pendingProps), c2.return = b2; c2.sibling = null; } return b2.child; @@ -4844,30 +4459,25 @@ function yj(a2, b2, c2) { case 13: d2 = b2.memoizedState; if (null !== d2) { - if (null !== d2.dehydrated) - return G(L, L.current & 1), b2.flags |= 128, null; - if (0 !== (c2 & b2.child.childLanes)) - return oj(a2, b2, c2); - G(L, L.current & 1); + if (null !== d2.dehydrated) return G(L$1, L$1.current & 1), b2.flags |= 128, null; + if (0 !== (c2 & b2.child.childLanes)) return oj(a2, b2, c2); + G(L$1, L$1.current & 1); a2 = Zi(a2, b2, c2); return null !== a2 ? a2.sibling : null; } - G(L, L.current & 1); + G(L$1, L$1.current & 1); break; case 19: d2 = 0 !== (c2 & b2.childLanes); if (0 !== (a2.flags & 128)) { - if (d2) - return xj(a2, b2, c2); + if (d2) return xj(a2, b2, c2); b2.flags |= 128; } e3 = b2.memoizedState; null !== e3 && (e3.rendering = null, e3.tail = null, e3.lastEffect = null); - G(L, L.current); - if (d2) - break; - else - return null; + G(L$1, L$1.current); + if (d2) break; + else return null; case 22: case 23: return b2.lanes = 0, dj(a2, b2, c2); @@ -4877,18 +4487,15 @@ function yj(a2, b2, c2) { var zj, Aj, Bj, Cj; zj = function(a2, b2) { for (var c2 = b2.child; null !== c2; ) { - if (5 === c2.tag || 6 === c2.tag) - a2.appendChild(c2.stateNode); + if (5 === c2.tag || 6 === c2.tag) a2.appendChild(c2.stateNode); else if (4 !== c2.tag && null !== c2.child) { c2.child.return = c2; c2 = c2.child; continue; } - if (c2 === b2) - break; + if (c2 === b2) break; for (; null === c2.sibling; ) { - if (null === c2.return || c2.return === b2) - return; + if (null === c2.return || c2.return === b2) return; c2 = c2.return; } c2.sibling.return = c2.return; @@ -4910,8 +4517,8 @@ Bj = function(a2, b2, c2, d2) { f2 = []; break; case "select": - e3 = A$3({}, e3, { value: void 0 }); - d2 = A$3({}, d2, { value: void 0 }); + e3 = A$2({}, e3, { value: void 0 }); + d2 = A$2({}, d2, { value: void 0 }); f2 = []; break; case "textarea": @@ -4925,65 +4532,47 @@ Bj = function(a2, b2, c2, d2) { ub(c2, d2); var g2; c2 = null; - for (l2 in e3) - if (!d2.hasOwnProperty(l2) && e3.hasOwnProperty(l2) && null != e3[l2]) - if ("style" === l2) { - var h2 = e3[l2]; - for (g2 in h2) - h2.hasOwnProperty(g2) && (c2 || (c2 = {}), c2[g2] = ""); - } else - "dangerouslySetInnerHTML" !== l2 && "children" !== l2 && "suppressContentEditableWarning" !== l2 && "suppressHydrationWarning" !== l2 && "autoFocus" !== l2 && (ea.hasOwnProperty(l2) ? f2 || (f2 = []) : (f2 = f2 || []).push(l2, null)); + for (l2 in e3) if (!d2.hasOwnProperty(l2) && e3.hasOwnProperty(l2) && null != e3[l2]) if ("style" === l2) { + var h2 = e3[l2]; + for (g2 in h2) h2.hasOwnProperty(g2) && (c2 || (c2 = {}), c2[g2] = ""); + } else "dangerouslySetInnerHTML" !== l2 && "children" !== l2 && "suppressContentEditableWarning" !== l2 && "suppressHydrationWarning" !== l2 && "autoFocus" !== l2 && (ea.hasOwnProperty(l2) ? f2 || (f2 = []) : (f2 = f2 || []).push(l2, null)); for (l2 in d2) { var k2 = d2[l2]; h2 = null != e3 ? e3[l2] : void 0; - if (d2.hasOwnProperty(l2) && k2 !== h2 && (null != k2 || null != h2)) - if ("style" === l2) - if (h2) { - for (g2 in h2) - !h2.hasOwnProperty(g2) || k2 && k2.hasOwnProperty(g2) || (c2 || (c2 = {}), c2[g2] = ""); - for (g2 in k2) - k2.hasOwnProperty(g2) && h2[g2] !== k2[g2] && (c2 || (c2 = {}), c2[g2] = k2[g2]); - } else - c2 || (f2 || (f2 = []), f2.push( - l2, - c2 - )), c2 = k2; - else - "dangerouslySetInnerHTML" === l2 ? (k2 = k2 ? k2.__html : void 0, h2 = h2 ? h2.__html : void 0, null != k2 && h2 !== k2 && (f2 = f2 || []).push(l2, k2)) : "children" === l2 ? "string" !== typeof k2 && "number" !== typeof k2 || (f2 = f2 || []).push(l2, "" + k2) : "suppressContentEditableWarning" !== l2 && "suppressHydrationWarning" !== l2 && (ea.hasOwnProperty(l2) ? (null != k2 && "onScroll" === l2 && D$2("scroll", a2), f2 || h2 === k2 || (f2 = [])) : (f2 = f2 || []).push(l2, k2)); + if (d2.hasOwnProperty(l2) && k2 !== h2 && (null != k2 || null != h2)) if ("style" === l2) if (h2) { + for (g2 in h2) !h2.hasOwnProperty(g2) || k2 && k2.hasOwnProperty(g2) || (c2 || (c2 = {}), c2[g2] = ""); + for (g2 in k2) k2.hasOwnProperty(g2) && h2[g2] !== k2[g2] && (c2 || (c2 = {}), c2[g2] = k2[g2]); + } else c2 || (f2 || (f2 = []), f2.push( + l2, + c2 + )), c2 = k2; + else "dangerouslySetInnerHTML" === l2 ? (k2 = k2 ? k2.__html : void 0, h2 = h2 ? h2.__html : void 0, null != k2 && h2 !== k2 && (f2 = f2 || []).push(l2, k2)) : "children" === l2 ? "string" !== typeof k2 && "number" !== typeof k2 || (f2 = f2 || []).push(l2, "" + k2) : "suppressContentEditableWarning" !== l2 && "suppressHydrationWarning" !== l2 && (ea.hasOwnProperty(l2) ? (null != k2 && "onScroll" === l2 && D$2("scroll", a2), f2 || h2 === k2 || (f2 = [])) : (f2 = f2 || []).push(l2, k2)); } c2 && (f2 = f2 || []).push("style", c2); var l2 = f2; - if (b2.updateQueue = l2) - b2.flags |= 4; + if (b2.updateQueue = l2) b2.flags |= 4; } }; Cj = function(a2, b2, c2, d2) { c2 !== d2 && (b2.flags |= 4); }; function Dj(a2, b2) { - if (!I) - switch (a2.tailMode) { - case "hidden": - b2 = a2.tail; - for (var c2 = null; null !== b2; ) - null !== b2.alternate && (c2 = b2), b2 = b2.sibling; - null === c2 ? a2.tail = null : c2.sibling = null; - break; - case "collapsed": - c2 = a2.tail; - for (var d2 = null; null !== c2; ) - null !== c2.alternate && (d2 = c2), c2 = c2.sibling; - null === d2 ? b2 || null === a2.tail ? a2.tail = null : a2.tail.sibling = null : d2.sibling = null; - } + if (!I) switch (a2.tailMode) { + case "hidden": + b2 = a2.tail; + for (var c2 = null; null !== b2; ) null !== b2.alternate && (c2 = b2), b2 = b2.sibling; + null === c2 ? a2.tail = null : c2.sibling = null; + break; + case "collapsed": + c2 = a2.tail; + for (var d2 = null; null !== c2; ) null !== c2.alternate && (d2 = c2), c2 = c2.sibling; + null === d2 ? b2 || null === a2.tail ? a2.tail = null : a2.tail.sibling = null : d2.sibling = null; + } } -function S$1(a2) { +function S$2(a2) { var b2 = null !== a2.alternate && a2.alternate.child === a2.child, c2 = 0, d2 = 0; - if (b2) - for (var e3 = a2.child; null !== e3; ) - c2 |= e3.lanes | e3.childLanes, d2 |= e3.subtreeFlags & 14680064, d2 |= e3.flags & 14680064, e3.return = a2, e3 = e3.sibling; - else - for (e3 = a2.child; null !== e3; ) - c2 |= e3.lanes | e3.childLanes, d2 |= e3.subtreeFlags, d2 |= e3.flags, e3.return = a2, e3 = e3.sibling; + if (b2) for (var e3 = a2.child; null !== e3; ) c2 |= e3.lanes | e3.childLanes, d2 |= e3.subtreeFlags & 14680064, d2 |= e3.flags & 14680064, e3.return = a2, e3 = e3.sibling; + else for (e3 = a2.child; null !== e3; ) c2 |= e3.lanes | e3.childLanes, d2 |= e3.subtreeFlags, d2 |= e3.flags, e3.return = a2, e3 = e3.sibling; a2.subtreeFlags |= d2; a2.childLanes = c2; return b2; @@ -5002,32 +4591,29 @@ function Ej(a2, b2, c2) { case 12: case 9: case 14: - return S$1(b2), null; + return S$2(b2), null; case 1: - return Zf(b2.type) && $f(), S$1(b2), null; + return Zf(b2.type) && $f(), S$2(b2), null; case 3: d2 = b2.stateNode; zh(); - E$1(Wf); - E$1(H); + E$2(Wf); + E$2(H$1); Eh(); d2.pendingContext && (d2.context = d2.pendingContext, d2.pendingContext = null); - if (null === a2 || null === a2.child) - Gg(b2) ? b2.flags |= 4 : null === a2 || a2.memoizedState.isDehydrated && 0 === (b2.flags & 256) || (b2.flags |= 1024, null !== zg && (Fj(zg), zg = null)); + if (null === a2 || null === a2.child) Gg(b2) ? b2.flags |= 4 : null === a2 || a2.memoizedState.isDehydrated && 0 === (b2.flags & 256) || (b2.flags |= 1024, null !== zg && (Fj(zg), zg = null)); Aj(a2, b2); - S$1(b2); + S$2(b2); return null; case 5: Bh(b2); var e3 = xh(wh.current); c2 = b2.type; - if (null !== a2 && null != b2.stateNode) - Bj(a2, b2, c2, d2, e3), a2.ref !== b2.ref && (b2.flags |= 512, b2.flags |= 2097152); + if (null !== a2 && null != b2.stateNode) Bj(a2, b2, c2, d2, e3), a2.ref !== b2.ref && (b2.flags |= 512, b2.flags |= 2097152); else { if (!d2) { - if (null === b2.stateNode) - throw Error(p$4(166)); - S$1(b2); + if (null === b2.stateNode) throw Error(p$4(166)); + S$2(b2); return null; } a2 = xh(uh.current); @@ -5050,8 +4636,7 @@ function Ej(a2, b2, c2) { break; case "video": case "audio": - for (e3 = 0; e3 < lf.length; e3++) - D$2(lf[e3], d2); + for (e3 = 0; e3 < lf.length; e3++) D$2(lf[e3], d2); break; case "source": D$2("error", d2); @@ -5081,15 +4666,14 @@ function Ej(a2, b2, c2) { } ub(c2, f2); e3 = null; - for (var g2 in f2) - if (f2.hasOwnProperty(g2)) { - var h2 = f2[g2]; - "children" === g2 ? "string" === typeof h2 ? d2.textContent !== h2 && (true !== f2.suppressHydrationWarning && Af(d2.textContent, h2, a2), e3 = ["children", h2]) : "number" === typeof h2 && d2.textContent !== "" + h2 && (true !== f2.suppressHydrationWarning && Af( - d2.textContent, - h2, - a2 - ), e3 = ["children", "" + h2]) : ea.hasOwnProperty(g2) && null != h2 && "onScroll" === g2 && D$2("scroll", d2); - } + for (var g2 in f2) if (f2.hasOwnProperty(g2)) { + var h2 = f2[g2]; + "children" === g2 ? "string" === typeof h2 ? d2.textContent !== h2 && (true !== f2.suppressHydrationWarning && Af(d2.textContent, h2, a2), e3 = ["children", h2]) : "number" === typeof h2 && d2.textContent !== "" + h2 && (true !== f2.suppressHydrationWarning && Af( + d2.textContent, + h2, + a2 + ), e3 = ["children", "" + h2]) : ea.hasOwnProperty(g2) && null != h2 && "onScroll" === g2 && D$2("scroll", d2); + } switch (c2) { case "input": Va(d2); @@ -5132,8 +4716,7 @@ function Ej(a2, b2, c2) { break; case "video": case "audio": - for (e3 = 0; e3 < lf.length; e3++) - D$2(lf[e3], a2); + for (e3 = 0; e3 < lf.length; e3++) D$2(lf[e3], a2); e3 = d2; break; case "source": @@ -5164,7 +4747,7 @@ function Ej(a2, b2, c2) { break; case "select": a2._wrapperState = { wasMultiple: !!d2.multiple }; - e3 = A$3({}, d2, { value: void 0 }); + e3 = A$2({}, d2, { value: void 0 }); D$2("invalid", a2); break; case "textarea": @@ -5177,11 +4760,10 @@ function Ej(a2, b2, c2) { } ub(c2, e3); h2 = e3; - for (f2 in h2) - if (h2.hasOwnProperty(f2)) { - var k2 = h2[f2]; - "style" === f2 ? sb(a2, k2) : "dangerouslySetInnerHTML" === f2 ? (k2 = k2 ? k2.__html : void 0, null != k2 && nb(a2, k2)) : "children" === f2 ? "string" === typeof k2 ? ("textarea" !== c2 || "" !== k2) && ob(a2, k2) : "number" === typeof k2 && ob(a2, "" + k2) : "suppressContentEditableWarning" !== f2 && "suppressHydrationWarning" !== f2 && "autoFocus" !== f2 && (ea.hasOwnProperty(f2) ? null != k2 && "onScroll" === f2 && D$2("scroll", a2) : null != k2 && ta(a2, f2, k2, g2)); - } + for (f2 in h2) if (h2.hasOwnProperty(f2)) { + var k2 = h2[f2]; + "style" === f2 ? sb(a2, k2) : "dangerouslySetInnerHTML" === f2 ? (k2 = k2 ? k2.__html : void 0, null != k2 && nb(a2, k2)) : "children" === f2 ? "string" === typeof k2 ? ("textarea" !== c2 || "" !== k2) && ob(a2, k2) : "number" === typeof k2 && ob(a2, "" + k2) : "suppressContentEditableWarning" !== f2 && "suppressHydrationWarning" !== f2 && "autoFocus" !== f2 && (ea.hasOwnProperty(f2) ? null != k2 && "onScroll" === f2 && D$2("scroll", a2) : null != k2 && ta(a2, f2, k2, g2)); + } switch (c2) { case "input": Va(a2); @@ -5225,14 +4807,12 @@ function Ej(a2, b2, c2) { } null !== b2.ref && (b2.flags |= 512, b2.flags |= 2097152); } - S$1(b2); + S$2(b2); return null; case 6: - if (a2 && null != b2.stateNode) - Cj(a2, b2, a2.memoizedProps, d2); + if (a2 && null != b2.stateNode) Cj(a2, b2, a2.memoizedProps, d2); else { - if ("string" !== typeof d2 && null === b2.stateNode) - throw Error(p$4(166)); + if ("string" !== typeof d2 && null === b2.stateNode) throw Error(p$4(166)); c2 = xh(wh.current); xh(uh.current); if (Gg(b2)) { @@ -5240,104 +4820,86 @@ function Ej(a2, b2, c2) { c2 = b2.memoizedProps; d2[Of] = b2; if (f2 = d2.nodeValue !== c2) { - if (a2 = xg, null !== a2) - switch (a2.tag) { - case 3: - Af(d2.nodeValue, c2, 0 !== (a2.mode & 1)); - break; - case 5: - true !== a2.memoizedProps.suppressHydrationWarning && Af(d2.nodeValue, c2, 0 !== (a2.mode & 1)); - } + if (a2 = xg, null !== a2) switch (a2.tag) { + case 3: + Af(d2.nodeValue, c2, 0 !== (a2.mode & 1)); + break; + case 5: + true !== a2.memoizedProps.suppressHydrationWarning && Af(d2.nodeValue, c2, 0 !== (a2.mode & 1)); + } } f2 && (b2.flags |= 4); - } else - d2 = (9 === c2.nodeType ? c2 : c2.ownerDocument).createTextNode(d2), d2[Of] = b2, b2.stateNode = d2; + } else d2 = (9 === c2.nodeType ? c2 : c2.ownerDocument).createTextNode(d2), d2[Of] = b2, b2.stateNode = d2; } - S$1(b2); + S$2(b2); return null; case 13: - E$1(L); + E$2(L$1); d2 = b2.memoizedState; if (null === a2 || null !== a2.memoizedState && null !== a2.memoizedState.dehydrated) { - if (I && null !== yg && 0 !== (b2.mode & 1) && 0 === (b2.flags & 128)) - Hg(), Ig(), b2.flags |= 98560, f2 = false; + if (I && null !== yg && 0 !== (b2.mode & 1) && 0 === (b2.flags & 128)) Hg(), Ig(), b2.flags |= 98560, f2 = false; else if (f2 = Gg(b2), null !== d2 && null !== d2.dehydrated) { if (null === a2) { - if (!f2) - throw Error(p$4(318)); + if (!f2) throw Error(p$4(318)); f2 = b2.memoizedState; f2 = null !== f2 ? f2.dehydrated : null; - if (!f2) - throw Error(p$4(317)); + if (!f2) throw Error(p$4(317)); f2[Of] = b2; - } else - Ig(), 0 === (b2.flags & 128) && (b2.memoizedState = null), b2.flags |= 4; - S$1(b2); + } else Ig(), 0 === (b2.flags & 128) && (b2.memoizedState = null), b2.flags |= 4; + S$2(b2); f2 = false; - } else - null !== zg && (Fj(zg), zg = null), f2 = true; - if (!f2) - return b2.flags & 65536 ? b2 : null; + } else null !== zg && (Fj(zg), zg = null), f2 = true; + if (!f2) return b2.flags & 65536 ? b2 : null; } - if (0 !== (b2.flags & 128)) - return b2.lanes = c2, b2; + if (0 !== (b2.flags & 128)) return b2.lanes = c2, b2; d2 = null !== d2; - d2 !== (null !== a2 && null !== a2.memoizedState) && d2 && (b2.child.flags |= 8192, 0 !== (b2.mode & 1) && (null === a2 || 0 !== (L.current & 1) ? 0 === T && (T = 3) : tj())); + d2 !== (null !== a2 && null !== a2.memoizedState) && d2 && (b2.child.flags |= 8192, 0 !== (b2.mode & 1) && (null === a2 || 0 !== (L$1.current & 1) ? 0 === T && (T = 3) : tj())); null !== b2.updateQueue && (b2.flags |= 4); - S$1(b2); + S$2(b2); return null; case 4: - return zh(), Aj(a2, b2), null === a2 && sf(b2.stateNode.containerInfo), S$1(b2), null; + return zh(), Aj(a2, b2), null === a2 && sf(b2.stateNode.containerInfo), S$2(b2), null; case 10: - return ah(b2.type._context), S$1(b2), null; + return ah(b2.type._context), S$2(b2), null; case 17: - return Zf(b2.type) && $f(), S$1(b2), null; + return Zf(b2.type) && $f(), S$2(b2), null; case 19: - E$1(L); + E$2(L$1); f2 = b2.memoizedState; - if (null === f2) - return S$1(b2), null; + if (null === f2) return S$2(b2), null; d2 = 0 !== (b2.flags & 128); g2 = f2.rendering; - if (null === g2) - if (d2) - Dj(f2, false); - else { - if (0 !== T || null !== a2 && 0 !== (a2.flags & 128)) - for (a2 = b2.child; null !== a2; ) { - g2 = Ch(a2); - if (null !== g2) { - b2.flags |= 128; - Dj(f2, false); - d2 = g2.updateQueue; - null !== d2 && (b2.updateQueue = d2, b2.flags |= 4); - b2.subtreeFlags = 0; - d2 = c2; - for (c2 = b2.child; null !== c2; ) - f2 = c2, a2 = d2, f2.flags &= 14680066, g2 = f2.alternate, null === g2 ? (f2.childLanes = 0, f2.lanes = a2, f2.child = null, f2.subtreeFlags = 0, f2.memoizedProps = null, f2.memoizedState = null, f2.updateQueue = null, f2.dependencies = null, f2.stateNode = null) : (f2.childLanes = g2.childLanes, f2.lanes = g2.lanes, f2.child = g2.child, f2.subtreeFlags = 0, f2.deletions = null, f2.memoizedProps = g2.memoizedProps, f2.memoizedState = g2.memoizedState, f2.updateQueue = g2.updateQueue, f2.type = g2.type, a2 = g2.dependencies, f2.dependencies = null === a2 ? null : { lanes: a2.lanes, firstContext: a2.firstContext }), c2 = c2.sibling; - G(L, L.current & 1 | 2); - return b2.child; - } - a2 = a2.sibling; - } - null !== f2.tail && B$2() > Gj && (b2.flags |= 128, d2 = true, Dj(f2, false), b2.lanes = 4194304); - } + if (null === g2) if (d2) Dj(f2, false); else { - if (!d2) - if (a2 = Ch(g2), null !== a2) { - if (b2.flags |= 128, d2 = true, c2 = a2.updateQueue, null !== c2 && (b2.updateQueue = c2, b2.flags |= 4), Dj(f2, true), null === f2.tail && "hidden" === f2.tailMode && !g2.alternate && !I) - return S$1(b2), null; - } else - 2 * B$2() - f2.renderingStartTime > Gj && 1073741824 !== c2 && (b2.flags |= 128, d2 = true, Dj(f2, false), b2.lanes = 4194304); + if (0 !== T || null !== a2 && 0 !== (a2.flags & 128)) for (a2 = b2.child; null !== a2; ) { + g2 = Ch(a2); + if (null !== g2) { + b2.flags |= 128; + Dj(f2, false); + d2 = g2.updateQueue; + null !== d2 && (b2.updateQueue = d2, b2.flags |= 4); + b2.subtreeFlags = 0; + d2 = c2; + for (c2 = b2.child; null !== c2; ) f2 = c2, a2 = d2, f2.flags &= 14680066, g2 = f2.alternate, null === g2 ? (f2.childLanes = 0, f2.lanes = a2, f2.child = null, f2.subtreeFlags = 0, f2.memoizedProps = null, f2.memoizedState = null, f2.updateQueue = null, f2.dependencies = null, f2.stateNode = null) : (f2.childLanes = g2.childLanes, f2.lanes = g2.lanes, f2.child = g2.child, f2.subtreeFlags = 0, f2.deletions = null, f2.memoizedProps = g2.memoizedProps, f2.memoizedState = g2.memoizedState, f2.updateQueue = g2.updateQueue, f2.type = g2.type, a2 = g2.dependencies, f2.dependencies = null === a2 ? null : { lanes: a2.lanes, firstContext: a2.firstContext }), c2 = c2.sibling; + G(L$1, L$1.current & 1 | 2); + return b2.child; + } + a2 = a2.sibling; + } + null !== f2.tail && B$2() > Gj && (b2.flags |= 128, d2 = true, Dj(f2, false), b2.lanes = 4194304); + } + else { + if (!d2) if (a2 = Ch(g2), null !== a2) { + if (b2.flags |= 128, d2 = true, c2 = a2.updateQueue, null !== c2 && (b2.updateQueue = c2, b2.flags |= 4), Dj(f2, true), null === f2.tail && "hidden" === f2.tailMode && !g2.alternate && !I) return S$2(b2), null; + } else 2 * B$2() - f2.renderingStartTime > Gj && 1073741824 !== c2 && (b2.flags |= 128, d2 = true, Dj(f2, false), b2.lanes = 4194304); f2.isBackwards ? (g2.sibling = b2.child, b2.child = g2) : (c2 = f2.last, null !== c2 ? c2.sibling = g2 : b2.child = g2, f2.last = g2); } - if (null !== f2.tail) - return b2 = f2.tail, f2.rendering = b2, f2.tail = b2.sibling, f2.renderingStartTime = B$2(), b2.sibling = null, c2 = L.current, G(L, d2 ? c2 & 1 | 2 : c2 & 1), b2; - S$1(b2); + if (null !== f2.tail) return b2 = f2.tail, f2.rendering = b2, f2.tail = b2.sibling, f2.renderingStartTime = B$2(), b2.sibling = null, c2 = L$1.current, G(L$1, d2 ? c2 & 1 | 2 : c2 & 1), b2; + S$2(b2); return null; case 22: case 23: - return Hj(), d2 = null !== b2.memoizedState, null !== a2 && null !== a2.memoizedState !== d2 && (b2.flags |= 8192), d2 && 0 !== (b2.mode & 1) ? 0 !== (fj & 1073741824) && (S$1(b2), b2.subtreeFlags & 6 && (b2.flags |= 8192)) : S$1(b2), null; + return Hj(), d2 = null !== b2.memoizedState, null !== a2 && null !== a2.memoizedState !== d2 && (b2.flags |= 8192), d2 && 0 !== (b2.mode & 1) ? 0 !== (fj & 1073741824) && (S$2(b2), b2.subtreeFlags & 6 && (b2.flags |= 8192)) : S$2(b2), null; case 24: return null; case 25: @@ -5351,21 +4913,20 @@ function Ij(a2, b2) { case 1: return Zf(b2.type) && $f(), a2 = b2.flags, a2 & 65536 ? (b2.flags = a2 & -65537 | 128, b2) : null; case 3: - return zh(), E$1(Wf), E$1(H), Eh(), a2 = b2.flags, 0 !== (a2 & 65536) && 0 === (a2 & 128) ? (b2.flags = a2 & -65537 | 128, b2) : null; + return zh(), E$2(Wf), E$2(H$1), Eh(), a2 = b2.flags, 0 !== (a2 & 65536) && 0 === (a2 & 128) ? (b2.flags = a2 & -65537 | 128, b2) : null; case 5: return Bh(b2), null; case 13: - E$1(L); + E$2(L$1); a2 = b2.memoizedState; if (null !== a2 && null !== a2.dehydrated) { - if (null === b2.alternate) - throw Error(p$4(340)); + if (null === b2.alternate) throw Error(p$4(340)); Ig(); } a2 = b2.flags; return a2 & 65536 ? (b2.flags = a2 & -65537 | 128, b2) : null; case 19: - return E$1(L), null; + return E$2(L$1), null; case 4: return zh(), null; case 10: @@ -5379,18 +4940,15 @@ function Ij(a2, b2) { return null; } } -var Jj = false, U$1 = false, Kj = "function" === typeof WeakSet ? WeakSet : Set, V$1 = null; +var Jj = false, U = false, Kj = "function" === typeof WeakSet ? WeakSet : Set, V$1 = null; function Lj(a2, b2) { var c2 = a2.ref; - if (null !== c2) - if ("function" === typeof c2) - try { - c2(null); - } catch (d2) { - W$1(a2, b2, d2); - } - else - c2.current = null; + if (null !== c2) if ("function" === typeof c2) try { + c2(null); + } catch (d2) { + W$1(a2, b2, d2); + } + else c2.current = null; } function Mj(a2, b2, c2) { try { @@ -5402,100 +4960,88 @@ function Mj(a2, b2, c2) { var Nj = false; function Oj(a2, b2) { Cf = dd; - a2 = Me(); + a2 = Me$1(); if (Ne(a2)) { - if ("selectionStart" in a2) - var c2 = { start: a2.selectionStart, end: a2.selectionEnd }; - else - a: { - c2 = (c2 = a2.ownerDocument) && c2.defaultView || window; - var d2 = c2.getSelection && c2.getSelection(); - if (d2 && 0 !== d2.rangeCount) { - c2 = d2.anchorNode; - var e3 = d2.anchorOffset, f2 = d2.focusNode; - d2 = d2.focusOffset; - try { - c2.nodeType, f2.nodeType; - } catch (F2) { - c2 = null; - break a; - } - var g2 = 0, h2 = -1, k2 = -1, l2 = 0, m2 = 0, q2 = a2, r2 = null; - b: - for (; ; ) { - for (var y2; ; ) { - q2 !== c2 || 0 !== e3 && 3 !== q2.nodeType || (h2 = g2 + e3); - q2 !== f2 || 0 !== d2 && 3 !== q2.nodeType || (k2 = g2 + d2); - 3 === q2.nodeType && (g2 += q2.nodeValue.length); - if (null === (y2 = q2.firstChild)) - break; - r2 = q2; - q2 = y2; - } - for (; ; ) { - if (q2 === a2) - break b; - r2 === c2 && ++l2 === e3 && (h2 = g2); - r2 === f2 && ++m2 === d2 && (k2 = g2); - if (null !== (y2 = q2.nextSibling)) - break; - q2 = r2; - r2 = q2.parentNode; - } - q2 = y2; - } - c2 = -1 === h2 || -1 === k2 ? null : { start: h2, end: k2 }; - } else + if ("selectionStart" in a2) var c2 = { start: a2.selectionStart, end: a2.selectionEnd }; + else a: { + c2 = (c2 = a2.ownerDocument) && c2.defaultView || window; + var d2 = c2.getSelection && c2.getSelection(); + if (d2 && 0 !== d2.rangeCount) { + c2 = d2.anchorNode; + var e3 = d2.anchorOffset, f2 = d2.focusNode; + d2 = d2.focusOffset; + try { + c2.nodeType, f2.nodeType; + } catch (F2) { c2 = null; - } + break a; + } + var g2 = 0, h2 = -1, k2 = -1, l2 = 0, m2 = 0, q2 = a2, r2 = null; + b: for (; ; ) { + for (var y2; ; ) { + q2 !== c2 || 0 !== e3 && 3 !== q2.nodeType || (h2 = g2 + e3); + q2 !== f2 || 0 !== d2 && 3 !== q2.nodeType || (k2 = g2 + d2); + 3 === q2.nodeType && (g2 += q2.nodeValue.length); + if (null === (y2 = q2.firstChild)) break; + r2 = q2; + q2 = y2; + } + for (; ; ) { + if (q2 === a2) break b; + r2 === c2 && ++l2 === e3 && (h2 = g2); + r2 === f2 && ++m2 === d2 && (k2 = g2); + if (null !== (y2 = q2.nextSibling)) break; + q2 = r2; + r2 = q2.parentNode; + } + q2 = y2; + } + c2 = -1 === h2 || -1 === k2 ? null : { start: h2, end: k2 }; + } else c2 = null; + } c2 = c2 || { start: 0, end: 0 }; - } else - c2 = null; + } else c2 = null; Df = { focusedElem: a2, selectionRange: c2 }; dd = false; - for (V$1 = b2; null !== V$1; ) - if (b2 = V$1, a2 = b2.child, 0 !== (b2.subtreeFlags & 1028) && null !== a2) - a2.return = b2, V$1 = a2; - else - for (; null !== V$1; ) { - b2 = V$1; - try { - var n2 = b2.alternate; - if (0 !== (b2.flags & 1024)) - switch (b2.tag) { - case 0: - case 11: - case 15: - break; - case 1: - if (null !== n2) { - var t4 = n2.memoizedProps, J2 = n2.memoizedState, x2 = b2.stateNode, w2 = x2.getSnapshotBeforeUpdate(b2.elementType === b2.type ? t4 : Ci(b2.type, t4), J2); - x2.__reactInternalSnapshotBeforeUpdate = w2; - } - break; - case 3: - var u2 = b2.stateNode.containerInfo; - 1 === u2.nodeType ? u2.textContent = "" : 9 === u2.nodeType && u2.documentElement && u2.removeChild(u2.documentElement); - break; - case 5: - case 6: - case 4: - case 17: - break; - default: - throw Error(p$4(163)); - } - } catch (F2) { - W$1(b2, b2.return, F2); - } - a2 = b2.sibling; - if (null !== a2) { - a2.return = b2.return; - V$1 = a2; + for (V$1 = b2; null !== V$1; ) if (b2 = V$1, a2 = b2.child, 0 !== (b2.subtreeFlags & 1028) && null !== a2) a2.return = b2, V$1 = a2; + else for (; null !== V$1; ) { + b2 = V$1; + try { + var n2 = b2.alternate; + if (0 !== (b2.flags & 1024)) switch (b2.tag) { + case 0: + case 11: + case 15: break; - } - V$1 = b2.return; + case 1: + if (null !== n2) { + var t4 = n2.memoizedProps, J2 = n2.memoizedState, x2 = b2.stateNode, w2 = x2.getSnapshotBeforeUpdate(b2.elementType === b2.type ? t4 : Ci(b2.type, t4), J2); + x2.__reactInternalSnapshotBeforeUpdate = w2; + } + break; + case 3: + var u2 = b2.stateNode.containerInfo; + 1 === u2.nodeType ? u2.textContent = "" : 9 === u2.nodeType && u2.documentElement && u2.removeChild(u2.documentElement); + break; + case 5: + case 6: + case 4: + case 17: + break; + default: + throw Error(p$4(163)); } + } catch (F2) { + W$1(b2, b2.return, F2); + } + a2 = b2.sibling; + if (null !== a2) { + a2.return = b2.return; + V$1 = a2; + break; + } + V$1 = b2.return; + } n2 = Nj; Nj = false; return n2; @@ -5563,81 +5109,67 @@ function Tj(a2) { return 5 === a2.tag || 3 === a2.tag || 4 === a2.tag; } function Uj(a2) { - a: - for (; ; ) { - for (; null === a2.sibling; ) { - if (null === a2.return || Tj(a2.return)) - return null; - a2 = a2.return; - } - a2.sibling.return = a2.return; - for (a2 = a2.sibling; 5 !== a2.tag && 6 !== a2.tag && 18 !== a2.tag; ) { - if (a2.flags & 2) - continue a; - if (null === a2.child || 4 === a2.tag) - continue a; - else - a2.child.return = a2, a2 = a2.child; - } - if (!(a2.flags & 2)) - return a2.stateNode; + a: for (; ; ) { + for (; null === a2.sibling; ) { + if (null === a2.return || Tj(a2.return)) return null; + a2 = a2.return; } + a2.sibling.return = a2.return; + for (a2 = a2.sibling; 5 !== a2.tag && 6 !== a2.tag && 18 !== a2.tag; ) { + if (a2.flags & 2) continue a; + if (null === a2.child || 4 === a2.tag) continue a; + else a2.child.return = a2, a2 = a2.child; + } + if (!(a2.flags & 2)) return a2.stateNode; + } } function Vj(a2, b2, c2) { var d2 = a2.tag; - if (5 === d2 || 6 === d2) - a2 = a2.stateNode, b2 ? 8 === c2.nodeType ? c2.parentNode.insertBefore(a2, b2) : c2.insertBefore(a2, b2) : (8 === c2.nodeType ? (b2 = c2.parentNode, b2.insertBefore(a2, c2)) : (b2 = c2, b2.appendChild(a2)), c2 = c2._reactRootContainer, null !== c2 && void 0 !== c2 || null !== b2.onclick || (b2.onclick = Bf)); - else if (4 !== d2 && (a2 = a2.child, null !== a2)) - for (Vj(a2, b2, c2), a2 = a2.sibling; null !== a2; ) - Vj(a2, b2, c2), a2 = a2.sibling; + if (5 === d2 || 6 === d2) a2 = a2.stateNode, b2 ? 8 === c2.nodeType ? c2.parentNode.insertBefore(a2, b2) : c2.insertBefore(a2, b2) : (8 === c2.nodeType ? (b2 = c2.parentNode, b2.insertBefore(a2, c2)) : (b2 = c2, b2.appendChild(a2)), c2 = c2._reactRootContainer, null !== c2 && void 0 !== c2 || null !== b2.onclick || (b2.onclick = Bf)); + else if (4 !== d2 && (a2 = a2.child, null !== a2)) for (Vj(a2, b2, c2), a2 = a2.sibling; null !== a2; ) Vj(a2, b2, c2), a2 = a2.sibling; } function Wj(a2, b2, c2) { var d2 = a2.tag; - if (5 === d2 || 6 === d2) - a2 = a2.stateNode, b2 ? c2.insertBefore(a2, b2) : c2.appendChild(a2); - else if (4 !== d2 && (a2 = a2.child, null !== a2)) - for (Wj(a2, b2, c2), a2 = a2.sibling; null !== a2; ) - Wj(a2, b2, c2), a2 = a2.sibling; + if (5 === d2 || 6 === d2) a2 = a2.stateNode, b2 ? c2.insertBefore(a2, b2) : c2.appendChild(a2); + else if (4 !== d2 && (a2 = a2.child, null !== a2)) for (Wj(a2, b2, c2), a2 = a2.sibling; null !== a2; ) Wj(a2, b2, c2), a2 = a2.sibling; } -var X$2 = null, Xj = false; +var X$1 = null, Xj = false; function Yj(a2, b2, c2) { - for (c2 = c2.child; null !== c2; ) - Zj(a2, b2, c2), c2 = c2.sibling; + for (c2 = c2.child; null !== c2; ) Zj(a2, b2, c2), c2 = c2.sibling; } function Zj(a2, b2, c2) { - if (lc && "function" === typeof lc.onCommitFiberUnmount) - try { - lc.onCommitFiberUnmount(kc, c2); - } catch (h2) { - } + if (lc && "function" === typeof lc.onCommitFiberUnmount) try { + lc.onCommitFiberUnmount(kc, c2); + } catch (h2) { + } switch (c2.tag) { case 5: - U$1 || Lj(c2, b2); + U || Lj(c2, b2); case 6: - var d2 = X$2, e3 = Xj; - X$2 = null; + var d2 = X$1, e3 = Xj; + X$1 = null; Yj(a2, b2, c2); - X$2 = d2; + X$1 = d2; Xj = e3; - null !== X$2 && (Xj ? (a2 = X$2, c2 = c2.stateNode, 8 === a2.nodeType ? a2.parentNode.removeChild(c2) : a2.removeChild(c2)) : X$2.removeChild(c2.stateNode)); + null !== X$1 && (Xj ? (a2 = X$1, c2 = c2.stateNode, 8 === a2.nodeType ? a2.parentNode.removeChild(c2) : a2.removeChild(c2)) : X$1.removeChild(c2.stateNode)); break; case 18: - null !== X$2 && (Xj ? (a2 = X$2, c2 = c2.stateNode, 8 === a2.nodeType ? Kf(a2.parentNode, c2) : 1 === a2.nodeType && Kf(a2, c2), bd(a2)) : Kf(X$2, c2.stateNode)); + null !== X$1 && (Xj ? (a2 = X$1, c2 = c2.stateNode, 8 === a2.nodeType ? Kf(a2.parentNode, c2) : 1 === a2.nodeType && Kf(a2, c2), bd(a2)) : Kf(X$1, c2.stateNode)); break; case 4: - d2 = X$2; + d2 = X$1; e3 = Xj; - X$2 = c2.stateNode.containerInfo; + X$1 = c2.stateNode.containerInfo; Xj = true; Yj(a2, b2, c2); - X$2 = d2; + X$1 = d2; Xj = e3; break; case 0: case 11: case 14: case 15: - if (!U$1 && (d2 = c2.updateQueue, null !== d2 && (d2 = d2.lastEffect, null !== d2))) { + if (!U && (d2 = c2.updateQueue, null !== d2 && (d2 = d2.lastEffect, null !== d2))) { e3 = d2 = d2.next; do { var f2 = e3, g2 = f2.destroy; @@ -5649,19 +5181,18 @@ function Zj(a2, b2, c2) { Yj(a2, b2, c2); break; case 1: - if (!U$1 && (Lj(c2, b2), d2 = c2.stateNode, "function" === typeof d2.componentWillUnmount)) - try { - d2.props = c2.memoizedProps, d2.state = c2.memoizedState, d2.componentWillUnmount(); - } catch (h2) { - W$1(c2, b2, h2); - } + if (!U && (Lj(c2, b2), d2 = c2.stateNode, "function" === typeof d2.componentWillUnmount)) try { + d2.props = c2.memoizedProps, d2.state = c2.memoizedState, d2.componentWillUnmount(); + } catch (h2) { + W$1(c2, b2, h2); + } Yj(a2, b2, c2); break; case 21: Yj(a2, b2, c2); break; case 22: - c2.mode & 1 ? (U$1 = (d2 = U$1) || null !== c2.memoizedState, Yj(a2, b2, c2), U$1 = d2) : Yj(a2, b2, c2); + c2.mode & 1 ? (U = (d2 = U) || null !== c2.memoizedState, Yj(a2, b2, c2), U = d2) : Yj(a2, b2, c2); break; default: Yj(a2, b2, c2); @@ -5681,44 +5212,39 @@ function ak(a2) { } function ck(a2, b2) { var c2 = b2.deletions; - if (null !== c2) - for (var d2 = 0; d2 < c2.length; d2++) { - var e3 = c2[d2]; - try { - var f2 = a2, g2 = b2, h2 = g2; - a: - for (; null !== h2; ) { - switch (h2.tag) { - case 5: - X$2 = h2.stateNode; - Xj = false; - break a; - case 3: - X$2 = h2.stateNode.containerInfo; - Xj = true; - break a; - case 4: - X$2 = h2.stateNode.containerInfo; - Xj = true; - break a; - } - h2 = h2.return; - } - if (null === X$2) - throw Error(p$4(160)); - Zj(f2, g2, e3); - X$2 = null; - Xj = false; - var k2 = e3.alternate; - null !== k2 && (k2.return = null); - e3.return = null; - } catch (l2) { - W$1(e3, b2, l2); + if (null !== c2) for (var d2 = 0; d2 < c2.length; d2++) { + var e3 = c2[d2]; + try { + var f2 = a2, g2 = b2, h2 = g2; + a: for (; null !== h2; ) { + switch (h2.tag) { + case 5: + X$1 = h2.stateNode; + Xj = false; + break a; + case 3: + X$1 = h2.stateNode.containerInfo; + Xj = true; + break a; + case 4: + X$1 = h2.stateNode.containerInfo; + Xj = true; + break a; + } + h2 = h2.return; } + if (null === X$1) throw Error(p$4(160)); + Zj(f2, g2, e3); + X$1 = null; + Xj = false; + var k2 = e3.alternate; + null !== k2 && (k2.return = null); + e3.return = null; + } catch (l2) { + W$1(e3, b2, l2); } - if (b2.subtreeFlags & 12854) - for (b2 = b2.child; null !== b2; ) - dk(b2, a2), b2 = b2.sibling; + } + if (b2.subtreeFlags & 12854) for (b2 = b2.child; null !== b2; ) dk(b2, a2), b2 = b2.sibling; } function dk(a2, b2) { var c2 = a2.alternate, d2 = a2.flags; @@ -5762,45 +5288,43 @@ function dk(a2, b2) { if (d2 & 4 && (e3 = a2.stateNode, null != e3)) { var f2 = a2.memoizedProps, g2 = null !== c2 ? c2.memoizedProps : f2, h2 = a2.type, k2 = a2.updateQueue; a2.updateQueue = null; - if (null !== k2) - try { - "input" === h2 && "radio" === f2.type && null != f2.name && ab(e3, f2); - vb(h2, g2); - var l2 = vb(h2, f2); - for (g2 = 0; g2 < k2.length; g2 += 2) { - var m2 = k2[g2], q2 = k2[g2 + 1]; - "style" === m2 ? sb(e3, q2) : "dangerouslySetInnerHTML" === m2 ? nb(e3, q2) : "children" === m2 ? ob(e3, q2) : ta(e3, m2, q2, l2); - } - switch (h2) { - case "input": - bb(e3, f2); - break; - case "textarea": - ib(e3, f2); - break; - case "select": - var r2 = e3._wrapperState.wasMultiple; - e3._wrapperState.wasMultiple = !!f2.multiple; - var y2 = f2.value; - null != y2 ? fb(e3, !!f2.multiple, y2, false) : r2 !== !!f2.multiple && (null != f2.defaultValue ? fb( - e3, - !!f2.multiple, - f2.defaultValue, - true - ) : fb(e3, !!f2.multiple, f2.multiple ? [] : "", false)); - } - e3[Pf] = f2; - } catch (t4) { - W$1(a2, a2.return, t4); + if (null !== k2) try { + "input" === h2 && "radio" === f2.type && null != f2.name && ab(e3, f2); + vb(h2, g2); + var l2 = vb(h2, f2); + for (g2 = 0; g2 < k2.length; g2 += 2) { + var m2 = k2[g2], q2 = k2[g2 + 1]; + "style" === m2 ? sb(e3, q2) : "dangerouslySetInnerHTML" === m2 ? nb(e3, q2) : "children" === m2 ? ob(e3, q2) : ta(e3, m2, q2, l2); } + switch (h2) { + case "input": + bb(e3, f2); + break; + case "textarea": + ib(e3, f2); + break; + case "select": + var r2 = e3._wrapperState.wasMultiple; + e3._wrapperState.wasMultiple = !!f2.multiple; + var y2 = f2.value; + null != y2 ? fb(e3, !!f2.multiple, y2, false) : r2 !== !!f2.multiple && (null != f2.defaultValue ? fb( + e3, + !!f2.multiple, + f2.defaultValue, + true + ) : fb(e3, !!f2.multiple, f2.multiple ? [] : "", false)); + } + e3[Pf] = f2; + } catch (t4) { + W$1(a2, a2.return, t4); + } } break; case 6: ck(b2, a2); ek(a2); if (d2 & 4) { - if (null === a2.stateNode) - throw Error(p$4(162)); + if (null === a2.stateNode) throw Error(p$4(162)); e3 = a2.stateNode; f2 = a2.memoizedProps; try { @@ -5813,12 +5337,11 @@ function dk(a2, b2) { case 3: ck(b2, a2); ek(a2); - if (d2 & 4 && null !== c2 && c2.memoizedState.isDehydrated) - try { - bd(b2.containerInfo); - } catch (t4) { - W$1(a2, a2.return, t4); - } + if (d2 & 4 && null !== c2 && c2.memoizedState.isDehydrated) try { + bd(b2.containerInfo); + } catch (t4) { + W$1(a2, a2.return, t4); + } break; case 4: ck(b2, a2); @@ -5833,83 +5356,78 @@ function dk(a2, b2) { break; case 22: m2 = null !== c2 && null !== c2.memoizedState; - a2.mode & 1 ? (U$1 = (l2 = U$1) || m2, ck(b2, a2), U$1 = l2) : ck(b2, a2); + a2.mode & 1 ? (U = (l2 = U) || m2, ck(b2, a2), U = l2) : ck(b2, a2); ek(a2); if (d2 & 8192) { l2 = null !== a2.memoizedState; - if ((a2.stateNode.isHidden = l2) && !m2 && 0 !== (a2.mode & 1)) - for (V$1 = a2, m2 = a2.child; null !== m2; ) { - for (q2 = V$1 = m2; null !== V$1; ) { - r2 = V$1; - y2 = r2.child; - switch (r2.tag) { - case 0: - case 11: - case 14: - case 15: - Pj(4, r2, r2.return); - break; - case 1: - Lj(r2, r2.return); - var n2 = r2.stateNode; - if ("function" === typeof n2.componentWillUnmount) { - d2 = r2; - c2 = r2.return; - try { - b2 = d2, n2.props = b2.memoizedProps, n2.state = b2.memoizedState, n2.componentWillUnmount(); - } catch (t4) { - W$1(d2, c2, t4); - } + if ((a2.stateNode.isHidden = l2) && !m2 && 0 !== (a2.mode & 1)) for (V$1 = a2, m2 = a2.child; null !== m2; ) { + for (q2 = V$1 = m2; null !== V$1; ) { + r2 = V$1; + y2 = r2.child; + switch (r2.tag) { + case 0: + case 11: + case 14: + case 15: + Pj(4, r2, r2.return); + break; + case 1: + Lj(r2, r2.return); + var n2 = r2.stateNode; + if ("function" === typeof n2.componentWillUnmount) { + d2 = r2; + c2 = r2.return; + try { + b2 = d2, n2.props = b2.memoizedProps, n2.state = b2.memoizedState, n2.componentWillUnmount(); + } catch (t4) { + W$1(d2, c2, t4); } - break; - case 5: - Lj(r2, r2.return); - break; - case 22: - if (null !== r2.memoizedState) { - gk(q2); - continue; - } - } - null !== y2 ? (y2.return = r2, V$1 = y2) : gk(q2); + } + break; + case 5: + Lj(r2, r2.return); + break; + case 22: + if (null !== r2.memoizedState) { + gk(q2); + continue; + } } - m2 = m2.sibling; + null !== y2 ? (y2.return = r2, V$1 = y2) : gk(q2); } - a: - for (m2 = null, q2 = a2; ; ) { - if (5 === q2.tag) { - if (null === m2) { - m2 = q2; - try { - e3 = q2.stateNode, l2 ? (f2 = e3.style, "function" === typeof f2.setProperty ? f2.setProperty("display", "none", "important") : f2.display = "none") : (h2 = q2.stateNode, k2 = q2.memoizedProps.style, g2 = void 0 !== k2 && null !== k2 && k2.hasOwnProperty("display") ? k2.display : null, h2.style.display = rb("display", g2)); - } catch (t4) { - W$1(a2, a2.return, t4); - } + m2 = m2.sibling; + } + a: for (m2 = null, q2 = a2; ; ) { + if (5 === q2.tag) { + if (null === m2) { + m2 = q2; + try { + e3 = q2.stateNode, l2 ? (f2 = e3.style, "function" === typeof f2.setProperty ? f2.setProperty("display", "none", "important") : f2.display = "none") : (h2 = q2.stateNode, k2 = q2.memoizedProps.style, g2 = void 0 !== k2 && null !== k2 && k2.hasOwnProperty("display") ? k2.display : null, h2.style.display = rb("display", g2)); + } catch (t4) { + W$1(a2, a2.return, t4); } - } else if (6 === q2.tag) { - if (null === m2) - try { - q2.stateNode.nodeValue = l2 ? "" : q2.memoizedProps; - } catch (t4) { - W$1(a2, a2.return, t4); - } - } else if ((22 !== q2.tag && 23 !== q2.tag || null === q2.memoizedState || q2 === a2) && null !== q2.child) { - q2.child.return = q2; - q2 = q2.child; - continue; } - if (q2 === a2) - break a; - for (; null === q2.sibling; ) { - if (null === q2.return || q2.return === a2) - break a; - m2 === q2 && (m2 = null); - q2 = q2.return; + } else if (6 === q2.tag) { + if (null === m2) try { + q2.stateNode.nodeValue = l2 ? "" : q2.memoizedProps; + } catch (t4) { + W$1(a2, a2.return, t4); } + } else if ((22 !== q2.tag && 23 !== q2.tag || null === q2.memoizedState || q2 === a2) && null !== q2.child) { + q2.child.return = q2; + q2 = q2.child; + continue; + } + if (q2 === a2) break a; + for (; null === q2.sibling; ) { + if (null === q2.return || q2.return === a2) break a; m2 === q2 && (m2 = null); - q2.sibling.return = q2.return; - q2 = q2.sibling; + q2 = q2.return; } + m2 === q2 && (m2 = null); + q2.sibling.return = q2.return; + q2 = q2.sibling; + } } break; case 19: @@ -5972,22 +5490,18 @@ function ik(a2, b2, c2) { if (22 === e3.tag && d2) { var g2 = null !== e3.memoizedState || Jj; if (!g2) { - var h2 = e3.alternate, k2 = null !== h2 && null !== h2.memoizedState || U$1; + var h2 = e3.alternate, k2 = null !== h2 && null !== h2.memoizedState || U; h2 = Jj; - var l2 = U$1; + var l2 = U; Jj = g2; - if ((U$1 = k2) && !l2) - for (V$1 = e3; null !== V$1; ) - g2 = V$1, k2 = g2.child, 22 === g2.tag && null !== g2.memoizedState ? jk(e3) : null !== k2 ? (k2.return = g2, V$1 = k2) : jk(e3); - for (; null !== f2; ) - V$1 = f2, ik(f2, b2, c2), f2 = f2.sibling; + if ((U = k2) && !l2) for (V$1 = e3; null !== V$1; ) g2 = V$1, k2 = g2.child, 22 === g2.tag && null !== g2.memoizedState ? jk(e3) : null !== k2 ? (k2.return = g2, V$1 = k2) : jk(e3); + for (; null !== f2; ) V$1 = f2, ik(f2, b2, c2), f2 = f2.sibling; V$1 = e3; Jj = h2; - U$1 = l2; + U = l2; } kk(a2, b2, c2); - } else - 0 !== (e3.subtreeFlags & 8772) && null !== f2 ? (f2.return = e3, V$1 = f2) : kk(a2, b2, c2); + } else 0 !== (e3.subtreeFlags & 8772) && null !== f2 ? (f2.return = e3, V$1 = f2) : kk(a2, b2, c2); } } function kk(a2) { @@ -5996,86 +5510,82 @@ function kk(a2) { if (0 !== (b2.flags & 8772)) { var c2 = b2.alternate; try { - if (0 !== (b2.flags & 8772)) - switch (b2.tag) { - case 0: - case 11: - case 15: - U$1 || Qj(5, b2); - break; - case 1: - var d2 = b2.stateNode; - if (b2.flags & 4 && !U$1) - if (null === c2) - d2.componentDidMount(); - else { - var e3 = b2.elementType === b2.type ? c2.memoizedProps : Ci(b2.type, c2.memoizedProps); - d2.componentDidUpdate(e3, c2.memoizedState, d2.__reactInternalSnapshotBeforeUpdate); - } - var f2 = b2.updateQueue; - null !== f2 && sh(b2, f2, d2); - break; - case 3: - var g2 = b2.updateQueue; - if (null !== g2) { - c2 = null; - if (null !== b2.child) - switch (b2.child.tag) { - case 5: - c2 = b2.child.stateNode; - break; - case 1: - c2 = b2.child.stateNode; - } - sh(b2, g2, c2); + if (0 !== (b2.flags & 8772)) switch (b2.tag) { + case 0: + case 11: + case 15: + U || Qj(5, b2); + break; + case 1: + var d2 = b2.stateNode; + if (b2.flags & 4 && !U) if (null === c2) d2.componentDidMount(); + else { + var e3 = b2.elementType === b2.type ? c2.memoizedProps : Ci(b2.type, c2.memoizedProps); + d2.componentDidUpdate(e3, c2.memoizedState, d2.__reactInternalSnapshotBeforeUpdate); + } + var f2 = b2.updateQueue; + null !== f2 && sh(b2, f2, d2); + break; + case 3: + var g2 = b2.updateQueue; + if (null !== g2) { + c2 = null; + if (null !== b2.child) switch (b2.child.tag) { + case 5: + c2 = b2.child.stateNode; + break; + case 1: + c2 = b2.child.stateNode; } - break; - case 5: - var h2 = b2.stateNode; - if (null === c2 && b2.flags & 4) { - c2 = h2; - var k2 = b2.memoizedProps; - switch (b2.type) { - case "button": - case "input": - case "select": - case "textarea": - k2.autoFocus && c2.focus(); - break; - case "img": - k2.src && (c2.src = k2.src); + sh(b2, g2, c2); + } + break; + case 5: + var h2 = b2.stateNode; + if (null === c2 && b2.flags & 4) { + c2 = h2; + var k2 = b2.memoizedProps; + switch (b2.type) { + case "button": + case "input": + case "select": + case "textarea": + k2.autoFocus && c2.focus(); + break; + case "img": + k2.src && (c2.src = k2.src); + } + } + break; + case 6: + break; + case 4: + break; + case 12: + break; + case 13: + if (null === b2.memoizedState) { + var l2 = b2.alternate; + if (null !== l2) { + var m2 = l2.memoizedState; + if (null !== m2) { + var q2 = m2.dehydrated; + null !== q2 && bd(q2); } } - break; - case 6: - break; - case 4: - break; - case 12: - break; - case 13: - if (null === b2.memoizedState) { - var l2 = b2.alternate; - if (null !== l2) { - var m2 = l2.memoizedState; - if (null !== m2) { - var q2 = m2.dehydrated; - null !== q2 && bd(q2); - } - } - } - break; - case 19: - case 17: - case 21: - case 22: - case 23: - case 25: - break; - default: - throw Error(p$4(163)); - } - U$1 || b2.flags & 512 && Rj(b2); + } + break; + case 19: + case 17: + case 21: + case 22: + case 23: + case 25: + break; + default: + throw Error(p$4(163)); + } + U || b2.flags & 512 && Rj(b2); } catch (r2) { W$1(b2, b2.return, r2); } @@ -6165,43 +5675,35 @@ function jk(a2) { V$1 = b2.return; } } -var lk = Math.ceil, mk = ua.ReactCurrentDispatcher, nk = ua.ReactCurrentOwner, ok = ua.ReactCurrentBatchConfig, K$2 = 0, Q$1 = null, Y$1 = null, Z$1 = 0, fj = 0, ej = Uf(0), T = 0, pk = null, rh = 0, qk = 0, rk = 0, sk = null, tk = null, fk = 0, Gj = Infinity, uk = null, Oi = false, Pi = null, Ri = null, vk = false, wk = null, xk = 0, yk = 0, zk = null, Ak = -1, Bk = 0; -function R$2() { - return 0 !== (K$2 & 6) ? B$2() : -1 !== Ak ? Ak : Ak = B$2(); +var lk = Math.ceil, mk = ua.ReactCurrentDispatcher, nk = ua.ReactCurrentOwner, ok = ua.ReactCurrentBatchConfig, K$1 = 0, Q$2 = null, Y$1 = null, Z$1 = 0, fj = 0, ej = Uf(0), T = 0, pk = null, rh = 0, qk = 0, rk = 0, sk = null, tk = null, fk = 0, Gj = Infinity, uk = null, Oi = false, Pi = null, Ri = null, vk = false, wk = null, xk = 0, yk = 0, zk = null, Ak = -1, Bk = 0; +function R$1() { + return 0 !== (K$1 & 6) ? B$2() : -1 !== Ak ? Ak : Ak = B$2(); } function yi(a2) { - if (0 === (a2.mode & 1)) - return 1; - if (0 !== (K$2 & 2) && 0 !== Z$1) - return Z$1 & -Z$1; - if (null !== Kg.transition) - return 0 === Bk && (Bk = yc()), Bk; + if (0 === (a2.mode & 1)) return 1; + if (0 !== (K$1 & 2) && 0 !== Z$1) return Z$1 & -Z$1; + if (null !== Kg.transition) return 0 === Bk && (Bk = yc()), Bk; a2 = C$2; - if (0 !== a2) - return a2; + if (0 !== a2) return a2; a2 = window.event; a2 = void 0 === a2 ? 16 : jd(a2.type); return a2; } function gi(a2, b2, c2, d2) { - if (50 < yk) - throw yk = 0, zk = null, Error(p$4(185)); + if (50 < yk) throw yk = 0, zk = null, Error(p$4(185)); Ac(a2, c2, d2); - if (0 === (K$2 & 2) || a2 !== Q$1) - a2 === Q$1 && (0 === (K$2 & 2) && (qk |= c2), 4 === T && Ck(a2, Z$1)), Dk(a2, d2), 1 === c2 && 0 === K$2 && 0 === (b2.mode & 1) && (Gj = B$2() + 500, fg && jg()); + if (0 === (K$1 & 2) || a2 !== Q$2) a2 === Q$2 && (0 === (K$1 & 2) && (qk |= c2), 4 === T && Ck(a2, Z$1)), Dk(a2, d2), 1 === c2 && 0 === K$1 && 0 === (b2.mode & 1) && (Gj = B$2() + 500, fg && jg()); } function Dk(a2, b2) { var c2 = a2.callbackNode; wc(a2, b2); - var d2 = uc(a2, a2 === Q$1 ? Z$1 : 0); - if (0 === d2) - null !== c2 && bc(c2), a2.callbackNode = null, a2.callbackPriority = 0; + var d2 = uc(a2, a2 === Q$2 ? Z$1 : 0); + if (0 === d2) null !== c2 && bc(c2), a2.callbackNode = null, a2.callbackPriority = 0; else if (b2 = d2 & -d2, a2.callbackPriority !== b2) { null != c2 && bc(c2); - if (1 === b2) - 0 === a2.tag ? ig(Ek.bind(null, a2)) : hg(Ek.bind(null, a2)), Jf(function() { - 0 === (K$2 & 6) && jg(); - }), c2 = null; + if (1 === b2) 0 === a2.tag ? ig(Ek.bind(null, a2)) : hg(Ek.bind(null, a2)), Jf(function() { + 0 === (K$1 & 6) && jg(); + }), c2 = null; else { switch (Dc(d2)) { case 1: @@ -6228,23 +5730,18 @@ function Dk(a2, b2) { function Gk(a2, b2) { Ak = -1; Bk = 0; - if (0 !== (K$2 & 6)) - throw Error(p$4(327)); + if (0 !== (K$1 & 6)) throw Error(p$4(327)); var c2 = a2.callbackNode; - if (Hk() && a2.callbackNode !== c2) - return null; - var d2 = uc(a2, a2 === Q$1 ? Z$1 : 0); - if (0 === d2) - return null; - if (0 !== (d2 & 30) || 0 !== (d2 & a2.expiredLanes) || b2) - b2 = Ik(a2, d2); + if (Hk() && a2.callbackNode !== c2) return null; + var d2 = uc(a2, a2 === Q$2 ? Z$1 : 0); + if (0 === d2) return null; + if (0 !== (d2 & 30) || 0 !== (d2 & a2.expiredLanes) || b2) b2 = Ik(a2, d2); else { b2 = d2; - var e3 = K$2; - K$2 |= 2; + var e3 = K$1; + K$1 |= 2; var f2 = Jk(); - if (Q$1 !== a2 || Z$1 !== b2) - uk = null, Gj = B$2() + 500, Kk(a2, b2); + if (Q$2 !== a2 || Z$1 !== b2) uk = null, Gj = B$2() + 500, Kk(a2, b2); do try { Lk(); @@ -6255,19 +5752,16 @@ function Gk(a2, b2) { while (1); $g(); mk.current = f2; - K$2 = e3; - null !== Y$1 ? b2 = 0 : (Q$1 = null, Z$1 = 0, b2 = T); + K$1 = e3; + null !== Y$1 ? b2 = 0 : (Q$2 = null, Z$1 = 0, b2 = T); } if (0 !== b2) { 2 === b2 && (e3 = xc(a2), 0 !== e3 && (d2 = e3, b2 = Nk(a2, e3))); - if (1 === b2) - throw c2 = pk, Kk(a2, 0), Ck(a2, d2), Dk(a2, B$2()), c2; - if (6 === b2) - Ck(a2, d2); + if (1 === b2) throw c2 = pk, Kk(a2, 0), Ck(a2, d2), Dk(a2, B$2()), c2; + if (6 === b2) Ck(a2, d2); else { e3 = a2.current.alternate; - if (0 === (d2 & 30) && !Ok(e3) && (b2 = Ik(a2, d2), 2 === b2 && (f2 = xc(a2), 0 !== f2 && (d2 = f2, b2 = Nk(a2, f2))), 1 === b2)) - throw c2 = pk, Kk(a2, 0), Ck(a2, d2), Dk(a2, B$2()), c2; + if (0 === (d2 & 30) && !Ok(e3) && (b2 = Ik(a2, d2), 2 === b2 && (f2 = xc(a2), 0 !== f2 && (d2 = f2, b2 = Nk(a2, f2))), 1 === b2)) throw c2 = pk, Kk(a2, 0), Ck(a2, d2), Dk(a2, B$2()), c2; a2.finishedWork = e3; a2.finishedLanes = d2; switch (b2) { @@ -6280,11 +5774,10 @@ function Gk(a2, b2) { case 3: Ck(a2, d2); if ((d2 & 130023424) === d2 && (b2 = fk + 500 - B$2(), 10 < b2)) { - if (0 !== uc(a2, 0)) - break; + if (0 !== uc(a2, 0)) break; e3 = a2.suspendedLanes; if ((e3 & d2) !== d2) { - R$2(); + R$1(); a2.pingedLanes |= a2.suspendedLanes & e3; break; } @@ -6295,8 +5788,7 @@ function Gk(a2, b2) { break; case 4: Ck(a2, d2); - if ((d2 & 4194240) === d2) - break; + if ((d2 & 4194240) === d2) break; b2 = a2.eventTimes; for (e3 = -1; 0 < d2; ) { var g2 = 31 - oc(d2); @@ -6339,27 +5831,22 @@ function Ok(a2) { for (var b2 = a2; ; ) { if (b2.flags & 16384) { var c2 = b2.updateQueue; - if (null !== c2 && (c2 = c2.stores, null !== c2)) - for (var d2 = 0; d2 < c2.length; d2++) { - var e3 = c2[d2], f2 = e3.getSnapshot; - e3 = e3.value; - try { - if (!He(f2(), e3)) - return false; - } catch (g2) { - return false; - } + if (null !== c2 && (c2 = c2.stores, null !== c2)) for (var d2 = 0; d2 < c2.length; d2++) { + var e3 = c2[d2], f2 = e3.getSnapshot; + e3 = e3.value; + try { + if (!He(f2(), e3)) return false; + } catch (g2) { + return false; } + } } c2 = b2.child; - if (b2.subtreeFlags & 16384 && null !== c2) - c2.return = b2, b2 = c2; + if (b2.subtreeFlags & 16384 && null !== c2) c2.return = b2, b2 = c2; else { - if (b2 === a2) - break; + if (b2 === a2) break; for (; null === b2.sibling; ) { - if (null === b2.return || b2.return === a2) - return true; + if (null === b2.return || b2.return === a2) return true; b2 = b2.return; } b2.sibling.return = b2.return; @@ -6380,21 +5867,17 @@ function Ck(a2, b2) { } } function Ek(a2) { - if (0 !== (K$2 & 6)) - throw Error(p$4(327)); + if (0 !== (K$1 & 6)) throw Error(p$4(327)); Hk(); var b2 = uc(a2, 0); - if (0 === (b2 & 1)) - return Dk(a2, B$2()), null; + if (0 === (b2 & 1)) return Dk(a2, B$2()), null; var c2 = Ik(a2, b2); if (0 !== a2.tag && 2 === c2) { var d2 = xc(a2); 0 !== d2 && (b2 = d2, c2 = Nk(a2, d2)); } - if (1 === c2) - throw c2 = pk, Kk(a2, 0), Ck(a2, b2), Dk(a2, B$2()), c2; - if (6 === c2) - throw Error(p$4(345)); + if (1 === c2) throw c2 = pk, Kk(a2, 0), Ck(a2, b2), Dk(a2, B$2()), c2; + if (6 === c2) throw Error(p$4(345)); a2.finishedWork = a2.current.alternate; a2.finishedLanes = b2; Pk(a2, tk, uk); @@ -6402,72 +5885,70 @@ function Ek(a2) { return null; } function Qk(a2, b2) { - var c2 = K$2; - K$2 |= 1; + var c2 = K$1; + K$1 |= 1; try { return a2(b2); } finally { - K$2 = c2, 0 === K$2 && (Gj = B$2() + 500, fg && jg()); + K$1 = c2, 0 === K$1 && (Gj = B$2() + 500, fg && jg()); } } function Rk(a2) { - null !== wk && 0 === wk.tag && 0 === (K$2 & 6) && Hk(); - var b2 = K$2; - K$2 |= 1; + null !== wk && 0 === wk.tag && 0 === (K$1 & 6) && Hk(); + var b2 = K$1; + K$1 |= 1; var c2 = ok.transition, d2 = C$2; try { - if (ok.transition = null, C$2 = 1, a2) - return a2(); + if (ok.transition = null, C$2 = 1, a2) return a2(); } finally { - C$2 = d2, ok.transition = c2, K$2 = b2, 0 === (K$2 & 6) && jg(); + C$2 = d2, ok.transition = c2, K$1 = b2, 0 === (K$1 & 6) && jg(); } } function Hj() { fj = ej.current; - E$1(ej); + E$2(ej); } function Kk(a2, b2) { a2.finishedWork = null; a2.finishedLanes = 0; var c2 = a2.timeoutHandle; -1 !== c2 && (a2.timeoutHandle = -1, Gf(c2)); - if (null !== Y$1) - for (c2 = Y$1.return; null !== c2; ) { - var d2 = c2; - wg(d2); - switch (d2.tag) { - case 1: - d2 = d2.type.childContextTypes; - null !== d2 && void 0 !== d2 && $f(); - break; - case 3: - zh(); - E$1(Wf); - E$1(H); - Eh(); - break; - case 5: - Bh(d2); - break; - case 4: - zh(); - break; - case 13: - E$1(L); - break; - case 19: - E$1(L); - break; - case 10: - ah(d2.type._context); - break; - case 22: - case 23: - Hj(); - } - c2 = c2.return; + if (null !== Y$1) for (c2 = Y$1.return; null !== c2; ) { + var d2 = c2; + wg(d2); + switch (d2.tag) { + case 1: + d2 = d2.type.childContextTypes; + null !== d2 && void 0 !== d2 && $f(); + break; + case 3: + zh(); + E$2(Wf); + E$2(H$1); + Eh(); + break; + case 5: + Bh(d2); + break; + case 4: + zh(); + break; + case 13: + E$2(L$1); + break; + case 19: + E$2(L$1); + break; + case 10: + ah(d2.type._context); + break; + case 22: + case 23: + Hj(); } - Q$1 = a2; + c2 = c2.return; + } + Q$2 = a2; Y$1 = a2 = Pg(a2.current, null); Z$1 = fj = b2; T = 0; @@ -6475,17 +5956,16 @@ function Kk(a2, b2) { rk = qk = rh = 0; tk = sk = null; if (null !== fh) { - for (b2 = 0; b2 < fh.length; b2++) - if (c2 = fh[b2], d2 = c2.interleaved, null !== d2) { - c2.interleaved = null; - var e3 = d2.next, f2 = c2.pending; - if (null !== f2) { - var g2 = f2.next; - f2.next = e3; - d2.next = g2; - } - c2.pending = d2; + for (b2 = 0; b2 < fh.length; b2++) if (c2 = fh[b2], d2 = c2.interleaved, null !== d2) { + c2.interleaved = null; + var e3 = d2.next, f2 = c2.pending; + if (null !== f2) { + var g2 = f2.next; + f2.next = e3; + d2.next = g2; } + c2.pending = d2; + } fh = null; } return a2; @@ -6497,7 +5977,7 @@ function Mk(a2, b2) { $g(); Fh.current = Rh; if (Ih) { - for (var d2 = M$2.memoizedState; null !== d2; ) { + for (var d2 = M$1.memoizedState; null !== d2; ) { var e3 = d2.queue; null !== e3 && (e3.pending = null); d2 = d2.next; @@ -6505,7 +5985,7 @@ function Mk(a2, b2) { Ih = false; } Hh = 0; - O$1 = N$1 = M$2 = null; + O = N$2 = M$1 = null; Jh = false; Kh = 0; nk.current = null; @@ -6537,8 +6017,7 @@ function Mk(a2, b2) { var t4 = /* @__PURE__ */ new Set(); t4.add(k2); b2.updateQueue = t4; - } else - n2.add(k2); + } else n2.add(k2); break a; } else { if (0 === (b2 & 1)) { @@ -6600,16 +6079,14 @@ function Jk() { return null === a2 ? Rh : a2; } function tj() { - if (0 === T || 3 === T || 2 === T) - T = 4; - null === Q$1 || 0 === (rh & 268435455) && 0 === (qk & 268435455) || Ck(Q$1, Z$1); + if (0 === T || 3 === T || 2 === T) T = 4; + null === Q$2 || 0 === (rh & 268435455) && 0 === (qk & 268435455) || Ck(Q$2, Z$1); } function Ik(a2, b2) { - var c2 = K$2; - K$2 |= 2; + var c2 = K$1; + K$1 |= 2; var d2 = Jk(); - if (Q$1 !== a2 || Z$1 !== b2) - uk = null, Kk(a2, b2); + if (Q$2 !== a2 || Z$1 !== b2) uk = null, Kk(a2, b2); do try { Tk(); @@ -6619,21 +6096,18 @@ function Ik(a2, b2) { } while (1); $g(); - K$2 = c2; + K$1 = c2; mk.current = d2; - if (null !== Y$1) - throw Error(p$4(261)); - Q$1 = null; + if (null !== Y$1) throw Error(p$4(261)); + Q$2 = null; Z$1 = 0; return T; } function Tk() { - for (; null !== Y$1; ) - Uk(Y$1); + for (; null !== Y$1; ) Uk(Y$1); } function Lk() { - for (; null !== Y$1 && !cc(); ) - Uk(Y$1); + for (; null !== Y$1 && !cc(); ) Uk(Y$1); } function Uk(a2) { var b2 = Vk(a2.alternate, a2, fj); @@ -6658,8 +6132,7 @@ function Sk(a2) { Y$1 = c2; return; } - if (null !== a2) - a2.flags |= 32768, a2.subtreeFlags = 0, a2.deletions = null; + if (null !== a2) a2.flags |= 32768, a2.subtreeFlags = 0, a2.deletions = null; else { T = 6; Y$1 = null; @@ -6688,21 +6161,18 @@ function Wk(a2, b2, c2, d2) { do Hk(); while (null !== wk); - if (0 !== (K$2 & 6)) - throw Error(p$4(327)); + if (0 !== (K$1 & 6)) throw Error(p$4(327)); c2 = a2.finishedWork; var e3 = a2.finishedLanes; - if (null === c2) - return null; + if (null === c2) return null; a2.finishedWork = null; a2.finishedLanes = 0; - if (c2 === a2.current) - throw Error(p$4(177)); + if (c2 === a2.current) throw Error(p$4(177)); a2.callbackNode = null; a2.callbackPriority = 0; var f2 = c2.lanes | c2.childLanes; Bc(a2, f2); - a2 === Q$1 && (Y$1 = Q$1 = null, Z$1 = 0); + a2 === Q$2 && (Y$1 = Q$2 = null, Z$1 = 0); 0 === (c2.subtreeFlags & 2064) && 0 === (c2.flags & 2064) || vk || (vk = true, Fk(hc, function() { Hk(); return null; @@ -6713,8 +6183,8 @@ function Wk(a2, b2, c2, d2) { ok.transition = null; var g2 = C$2; C$2 = 1; - var h2 = K$2; - K$2 |= 4; + var h2 = K$1; + K$1 |= 4; nk.current = null; Oj(a2, c2); dk(c2, a2); @@ -6724,21 +6194,17 @@ function Wk(a2, b2, c2, d2) { a2.current = c2; hk(c2, a2, e3); dc(); - K$2 = h2; + K$1 = h2; C$2 = g2; ok.transition = f2; - } else - a2.current = c2; + } else a2.current = c2; vk && (vk = false, wk = a2, xk = e3); f2 = a2.pendingLanes; 0 === f2 && (Ri = null); mc(c2.stateNode, d2); Dk(a2, B$2()); - if (null !== b2) - for (d2 = a2.onRecoverableError, c2 = 0; c2 < b2.length; c2++) - e3 = b2[c2], d2(e3.value, { componentStack: e3.stack, digest: e3.digest }); - if (Oi) - throw Oi = false, a2 = Pi, Pi = null, a2; + if (null !== b2) for (d2 = a2.onRecoverableError, c2 = 0; c2 < b2.length; c2++) e3 = b2[c2], d2(e3.value, { componentStack: e3.stack, digest: e3.digest }); + if (Oi) throw Oi = false, a2 = Pi, Pi = null, a2; 0 !== (xk & 1) && 0 !== a2.tag && Hk(); f2 = a2.pendingLanes; 0 !== (f2 & 1) ? a2 === zk ? yk++ : (yk = 0, zk = a2) : yk = 0; @@ -6751,16 +6217,14 @@ function Hk() { try { ok.transition = null; C$2 = 16 > a2 ? 16 : a2; - if (null === wk) - var d2 = false; + if (null === wk) var d2 = false; else { a2 = wk; wk = null; xk = 0; - if (0 !== (K$2 & 6)) - throw Error(p$4(331)); - var e3 = K$2; - K$2 |= 4; + if (0 !== (K$1 & 6)) throw Error(p$4(331)); + var e3 = K$1; + K$1 |= 4; for (V$1 = a2.current; null !== V$1; ) { var f2 = V$1, g2 = f2.child; if (0 !== (V$1.flags & 16)) { @@ -6777,24 +6241,22 @@ function Hk() { Pj(8, m2, f2); } var q2 = m2.child; - if (null !== q2) - q2.return = m2, V$1 = q2; - else - for (; null !== V$1; ) { - m2 = V$1; - var r2 = m2.sibling, y2 = m2.return; - Sj(m2); - if (m2 === l2) { - V$1 = null; - break; - } - if (null !== r2) { - r2.return = y2; - V$1 = r2; - break; - } - V$1 = y2; + if (null !== q2) q2.return = m2, V$1 = q2; + else for (; null !== V$1; ) { + m2 = V$1; + var r2 = m2.sibling, y2 = m2.return; + Sj(m2); + if (m2 === l2) { + V$1 = null; + break; } + if (null !== r2) { + r2.return = y2; + V$1 = r2; + break; + } + V$1 = y2; + } } } var n2 = f2.alternate; @@ -6812,69 +6274,60 @@ function Hk() { V$1 = f2; } } - if (0 !== (f2.subtreeFlags & 2064) && null !== g2) - g2.return = f2, V$1 = g2; - else - b: - for (; null !== V$1; ) { - f2 = V$1; - if (0 !== (f2.flags & 2048)) - switch (f2.tag) { - case 0: - case 11: - case 15: - Pj(9, f2, f2.return); - } - var x2 = f2.sibling; - if (null !== x2) { - x2.return = f2.return; - V$1 = x2; - break b; - } - V$1 = f2.return; - } + if (0 !== (f2.subtreeFlags & 2064) && null !== g2) g2.return = f2, V$1 = g2; + else b: for (; null !== V$1; ) { + f2 = V$1; + if (0 !== (f2.flags & 2048)) switch (f2.tag) { + case 0: + case 11: + case 15: + Pj(9, f2, f2.return); + } + var x2 = f2.sibling; + if (null !== x2) { + x2.return = f2.return; + V$1 = x2; + break b; + } + V$1 = f2.return; + } } var w2 = a2.current; for (V$1 = w2; null !== V$1; ) { g2 = V$1; var u2 = g2.child; - if (0 !== (g2.subtreeFlags & 2064) && null !== u2) - u2.return = g2, V$1 = u2; - else - b: - for (g2 = w2; null !== V$1; ) { - h2 = V$1; - if (0 !== (h2.flags & 2048)) - try { - switch (h2.tag) { - case 0: - case 11: - case 15: - Qj(9, h2); - } - } catch (na) { - W$1(h2, h2.return, na); - } - if (h2 === g2) { - V$1 = null; - break b; - } - var F2 = h2.sibling; - if (null !== F2) { - F2.return = h2.return; - V$1 = F2; - break b; - } - V$1 = h2.return; + if (0 !== (g2.subtreeFlags & 2064) && null !== u2) u2.return = g2, V$1 = u2; + else b: for (g2 = w2; null !== V$1; ) { + h2 = V$1; + if (0 !== (h2.flags & 2048)) try { + switch (h2.tag) { + case 0: + case 11: + case 15: + Qj(9, h2); } - } - K$2 = e3; - jg(); - if (lc && "function" === typeof lc.onPostCommitFiberRoot) - try { - lc.onPostCommitFiberRoot(kc, a2); - } catch (na) { + } catch (na) { + W$1(h2, h2.return, na); + } + if (h2 === g2) { + V$1 = null; + break b; + } + var F2 = h2.sibling; + if (null !== F2) { + F2.return = h2.return; + V$1 = F2; + break b; + } + V$1 = h2.return; } + } + K$1 = e3; + jg(); + if (lc && "function" === typeof lc.onPostCommitFiberRoot) try { + lc.onPostCommitFiberRoot(kc, a2); + } catch (na) { + } d2 = true; } return d2; @@ -6888,42 +6341,40 @@ function Xk(a2, b2, c2) { b2 = Ji(c2, b2); b2 = Ni(a2, b2, 1); a2 = nh(a2, b2, 1); - b2 = R$2(); + b2 = R$1(); null !== a2 && (Ac(a2, 1, b2), Dk(a2, b2)); } function W$1(a2, b2, c2) { - if (3 === a2.tag) - Xk(a2, a2, c2); - else - for (; null !== b2; ) { - if (3 === b2.tag) { - Xk(b2, a2, c2); + if (3 === a2.tag) Xk(a2, a2, c2); + else for (; null !== b2; ) { + if (3 === b2.tag) { + Xk(b2, a2, c2); + break; + } else if (1 === b2.tag) { + var d2 = b2.stateNode; + if ("function" === typeof b2.type.getDerivedStateFromError || "function" === typeof d2.componentDidCatch && (null === Ri || !Ri.has(d2))) { + a2 = Ji(c2, a2); + a2 = Qi(b2, a2, 1); + b2 = nh(b2, a2, 1); + a2 = R$1(); + null !== b2 && (Ac(b2, 1, a2), Dk(b2, a2)); break; - } else if (1 === b2.tag) { - var d2 = b2.stateNode; - if ("function" === typeof b2.type.getDerivedStateFromError || "function" === typeof d2.componentDidCatch && (null === Ri || !Ri.has(d2))) { - a2 = Ji(c2, a2); - a2 = Qi(b2, a2, 1); - b2 = nh(b2, a2, 1); - a2 = R$2(); - null !== b2 && (Ac(b2, 1, a2), Dk(b2, a2)); - break; - } } - b2 = b2.return; } + b2 = b2.return; + } } function Ti(a2, b2, c2) { var d2 = a2.pingCache; null !== d2 && d2.delete(b2); - b2 = R$2(); + b2 = R$1(); a2.pingedLanes |= a2.suspendedLanes & c2; - Q$1 === a2 && (Z$1 & c2) === c2 && (4 === T || 3 === T && (Z$1 & 130023424) === Z$1 && 500 > B$2() - fk ? Kk(a2, 0) : rk |= c2); + Q$2 === a2 && (Z$1 & c2) === c2 && (4 === T || 3 === T && (Z$1 & 130023424) === Z$1 && 500 > B$2() - fk ? Kk(a2, 0) : rk |= c2); Dk(a2, b2); } function Yk(a2, b2) { 0 === b2 && (0 === (a2.mode & 1) ? b2 = 1 : (b2 = sc, sc <<= 1, 0 === (sc & 130023424) && (sc = 4194304))); - var c2 = R$2(); + var c2 = R$1(); a2 = ih(a2, b2); null !== a2 && (Ac(a2, b2, c2), Dk(a2, c2)); } @@ -6951,23 +6402,19 @@ function bk(a2, b2) { } var Vk; Vk = function(a2, b2, c2) { - if (null !== a2) - if (a2.memoizedProps !== b2.pendingProps || Wf.current) - dh = true; - else { - if (0 === (a2.lanes & c2) && 0 === (b2.flags & 128)) - return dh = false, yj(a2, b2, c2); - dh = 0 !== (a2.flags & 131072) ? true : false; - } - else - dh = false, I && 0 !== (b2.flags & 1048576) && ug(b2, ng, b2.index); + if (null !== a2) if (a2.memoizedProps !== b2.pendingProps || Wf.current) dh = true; + else { + if (0 === (a2.lanes & c2) && 0 === (b2.flags & 128)) return dh = false, yj(a2, b2, c2); + dh = 0 !== (a2.flags & 131072) ? true : false; + } + else dh = false, I && 0 !== (b2.flags & 1048576) && ug(b2, ng, b2.index); b2.lanes = 0; switch (b2.tag) { case 2: var d2 = b2.type; ij(a2, b2); a2 = b2.pendingProps; - var e3 = Yf(b2, H.current); + var e3 = Yf(b2, H$1.current); ch(b2, c2); e3 = Nh(null, b2, d2, a2, e3, c2); var f2 = Sh(); @@ -7012,8 +6459,7 @@ Vk = function(a2, b2, c2) { case 3: a: { kj(b2); - if (null === a2) - throw Error(p$4(387)); + if (null === a2) throw Error(p$4(387)); d2 = b2.pendingProps; f2 = b2.memoizedState; e3 = f2.element; @@ -7021,18 +6467,15 @@ Vk = function(a2, b2, c2) { qh(b2, d2, null, c2); var g2 = b2.memoizedState; d2 = g2.element; - if (f2.isDehydrated) - if (f2 = { element: d2, isDehydrated: false, cache: g2.cache, pendingSuspenseBoundaries: g2.pendingSuspenseBoundaries, transitions: g2.transitions }, b2.updateQueue.baseState = f2, b2.memoizedState = f2, b2.flags & 256) { - e3 = Ji(Error(p$4(423)), b2); - b2 = lj(a2, b2, d2, c2, e3); - break a; - } else if (d2 !== e3) { - e3 = Ji(Error(p$4(424)), b2); - b2 = lj(a2, b2, d2, c2, e3); - break a; - } else - for (yg = Lf(b2.stateNode.containerInfo.firstChild), xg = b2, I = true, zg = null, c2 = Vg(b2, null, d2, c2), b2.child = c2; c2; ) - c2.flags = c2.flags & -3 | 4096, c2 = c2.sibling; + if (f2.isDehydrated) if (f2 = { element: d2, isDehydrated: false, cache: g2.cache, pendingSuspenseBoundaries: g2.pendingSuspenseBoundaries, transitions: g2.transitions }, b2.updateQueue.baseState = f2, b2.memoizedState = f2, b2.flags & 256) { + e3 = Ji(Error(p$4(423)), b2); + b2 = lj(a2, b2, d2, c2, e3); + break a; + } else if (d2 !== e3) { + e3 = Ji(Error(p$4(424)), b2); + b2 = lj(a2, b2, d2, c2, e3); + break a; + } else for (yg = Lf(b2.stateNode.containerInfo.firstChild), xg = b2, I = true, zg = null, c2 = Vg(b2, null, d2, c2), b2.child = c2; c2; ) c2.flags = c2.flags & -3 | 4096, c2 = c2.sibling; else { Ig(); if (d2 === e3) { @@ -7068,74 +6511,67 @@ Vk = function(a2, b2, c2) { g2 = e3.value; G(Wg, d2._currentValue); d2._currentValue = g2; - if (null !== f2) - if (He(f2.value, g2)) { - if (f2.children === e3.children && !Wf.current) { - b2 = Zi(a2, b2, c2); - break a; - } - } else - for (f2 = b2.child, null !== f2 && (f2.return = b2); null !== f2; ) { - var h2 = f2.dependencies; - if (null !== h2) { - g2 = f2.child; - for (var k2 = h2.firstContext; null !== k2; ) { - if (k2.context === d2) { - if (1 === f2.tag) { - k2 = mh(-1, c2 & -c2); - k2.tag = 2; - var l2 = f2.updateQueue; - if (null !== l2) { - l2 = l2.shared; - var m2 = l2.pending; - null === m2 ? k2.next = k2 : (k2.next = m2.next, m2.next = k2); - l2.pending = k2; - } - } - f2.lanes |= c2; - k2 = f2.alternate; - null !== k2 && (k2.lanes |= c2); - bh( - f2.return, - c2, - b2 - ); - h2.lanes |= c2; - break; + if (null !== f2) if (He(f2.value, g2)) { + if (f2.children === e3.children && !Wf.current) { + b2 = Zi(a2, b2, c2); + break a; + } + } else for (f2 = b2.child, null !== f2 && (f2.return = b2); null !== f2; ) { + var h2 = f2.dependencies; + if (null !== h2) { + g2 = f2.child; + for (var k2 = h2.firstContext; null !== k2; ) { + if (k2.context === d2) { + if (1 === f2.tag) { + k2 = mh(-1, c2 & -c2); + k2.tag = 2; + var l2 = f2.updateQueue; + if (null !== l2) { + l2 = l2.shared; + var m2 = l2.pending; + null === m2 ? k2.next = k2 : (k2.next = m2.next, m2.next = k2); + l2.pending = k2; } - k2 = k2.next; } - } else if (10 === f2.tag) - g2 = f2.type === b2.type ? null : f2.child; - else if (18 === f2.tag) { - g2 = f2.return; - if (null === g2) - throw Error(p$4(341)); - g2.lanes |= c2; - h2 = g2.alternate; - null !== h2 && (h2.lanes |= c2); - bh(g2, c2, b2); - g2 = f2.sibling; - } else - g2 = f2.child; - if (null !== g2) - g2.return = f2; - else - for (g2 = f2; null !== g2; ) { - if (g2 === b2) { - g2 = null; - break; - } - f2 = g2.sibling; - if (null !== f2) { - f2.return = g2.return; - g2 = f2; - break; - } - g2 = g2.return; - } - f2 = g2; + f2.lanes |= c2; + k2 = f2.alternate; + null !== k2 && (k2.lanes |= c2); + bh( + f2.return, + c2, + b2 + ); + h2.lanes |= c2; + break; + } + k2 = k2.next; } + } else if (10 === f2.tag) g2 = f2.type === b2.type ? null : f2.child; + else if (18 === f2.tag) { + g2 = f2.return; + if (null === g2) throw Error(p$4(341)); + g2.lanes |= c2; + h2 = g2.alternate; + null !== h2 && (h2.lanes |= c2); + bh(g2, c2, b2); + g2 = f2.sibling; + } else g2 = f2.child; + if (null !== g2) g2.return = f2; + else for (g2 = f2; null !== g2; ) { + if (g2 === b2) { + g2 = null; + break; + } + f2 = g2.sibling; + if (null !== f2) { + f2.return = g2.return; + g2 = f2; + break; + } + g2 = g2.return; + } + f2 = g2; + } Xi(a2, b2, e3.children, c2); b2 = b2.child; } @@ -7180,14 +6616,11 @@ function aj(a2) { return !(!a2 || !a2.isReactComponent); } function Zk(a2) { - if ("function" === typeof a2) - return aj(a2) ? 1 : 0; + if ("function" === typeof a2) return aj(a2) ? 1 : 0; if (void 0 !== a2 && null !== a2) { a2 = a2.$$typeof; - if (a2 === Da) - return 11; - if (a2 === Ga) - return 14; + if (a2 === Da) return 11; + if (a2 === Ga) return 14; } return 2; } @@ -7211,49 +6644,44 @@ function Pg(a2, b2) { function Rg(a2, b2, c2, d2, e3, f2) { var g2 = 2; d2 = a2; - if ("function" === typeof a2) - aj(a2) && (g2 = 1); - else if ("string" === typeof a2) - g2 = 5; - else - a: - switch (a2) { - case ya: - return Tg(c2.children, e3, f2, b2); - case za: - g2 = 8; - e3 |= 8; - break; - case Aa: - return a2 = Bg(12, c2, b2, e3 | 2), a2.elementType = Aa, a2.lanes = f2, a2; - case Ea: - return a2 = Bg(13, c2, b2, e3), a2.elementType = Ea, a2.lanes = f2, a2; - case Fa: - return a2 = Bg(19, c2, b2, e3), a2.elementType = Fa, a2.lanes = f2, a2; - case Ia: - return pj(c2, e3, f2, b2); - default: - if ("object" === typeof a2 && null !== a2) - switch (a2.$$typeof) { - case Ba: - g2 = 10; - break a; - case Ca: - g2 = 9; - break a; - case Da: - g2 = 11; - break a; - case Ga: - g2 = 14; - break a; - case Ha: - g2 = 16; - d2 = null; - break a; - } - throw Error(p$4(130, null == a2 ? a2 : typeof a2, "")); + if ("function" === typeof a2) aj(a2) && (g2 = 1); + else if ("string" === typeof a2) g2 = 5; + else a: switch (a2) { + case ya: + return Tg(c2.children, e3, f2, b2); + case za: + g2 = 8; + e3 |= 8; + break; + case Aa: + return a2 = Bg(12, c2, b2, e3 | 2), a2.elementType = Aa, a2.lanes = f2, a2; + case Ea: + return a2 = Bg(13, c2, b2, e3), a2.elementType = Ea, a2.lanes = f2, a2; + case Fa: + return a2 = Bg(19, c2, b2, e3), a2.elementType = Fa, a2.lanes = f2, a2; + case Ia: + return pj(c2, e3, f2, b2); + default: + if ("object" === typeof a2 && null !== a2) switch (a2.$$typeof) { + case Ba: + g2 = 10; + break a; + case Ca: + g2 = 9; + break a; + case Da: + g2 = 11; + break a; + case Ga: + g2 = 14; + break a; + case Ha: + g2 = 16; + d2 = null; + break a; } + throw Error(p$4(130, null == a2 ? a2 : typeof a2, "")); + } b2 = Bg(g2, c2, b2, e3); b2.elementType = a2; b2.type = d2; @@ -7313,12 +6741,10 @@ function cl(a2, b2, c2) { return { $$typeof: wa, key: null == d2 ? null : "" + d2, children: a2, containerInfo: b2, implementation: c2 }; } function dl(a2) { - if (!a2) - return Vf; + if (!a2) return Vf; a2 = a2._reactInternals; a: { - if (Vb(a2) !== a2 || 1 !== a2.tag) - throw Error(p$4(170)); + if (Vb(a2) !== a2 || 1 !== a2.tag) throw Error(p$4(170)); var b2 = a2; do { switch (b2.tag) { @@ -7337,8 +6763,7 @@ function dl(a2) { } if (1 === a2.tag) { var c2 = a2.type; - if (Zf(c2)) - return bg(a2, c2, b2); + if (Zf(c2)) return bg(a2, c2, b2); } return b2; } @@ -7346,7 +6771,7 @@ function el(a2, b2, c2, d2, e3, f2, g2, h2, k2) { a2 = bl(c2, d2, true, a2, e3, f2, g2, h2, k2); a2.context = dl(null); c2 = a2.current; - d2 = R$2(); + d2 = R$1(); e3 = yi(c2); f2 = mh(d2, e3); f2.callback = void 0 !== b2 && null !== b2 ? b2 : null; @@ -7357,7 +6782,7 @@ function el(a2, b2, c2, d2, e3, f2, g2, h2, k2) { return a2; } function fl(a2, b2, c2, d2) { - var e3 = b2.current, f2 = R$2(), g2 = yi(e3); + var e3 = b2.current, f2 = R$1(), g2 = yi(e3); c2 = dl(c2); null === b2.context ? b2.context = c2 : b2.pendingContext = c2; b2 = mh(f2, g2); @@ -7370,8 +6795,7 @@ function fl(a2, b2, c2, d2) { } function gl(a2) { a2 = a2.current; - if (!a2.child) - return null; + if (!a2.child) return null; switch (a2.child.tag) { case 5: return a2.child.stateNode; @@ -7401,8 +6825,7 @@ function ll(a2) { } ml.prototype.render = ll.prototype.render = function(a2) { var b2 = this._internalRoot; - if (null === b2) - throw Error(p$4(409)); + if (null === b2) throw Error(p$4(409)); fl(a2, b2, null, null); }; ml.prototype.unmount = ll.prototype.unmount = function() { @@ -7423,8 +6846,7 @@ ml.prototype.unstable_scheduleHydration = function(a2) { if (a2) { var b2 = Hc(); a2 = { blockedOn: null, target: a2, priority: b2 }; - for (var c2 = 0; c2 < Qc.length && 0 !== b2 && b2 < Qc[c2].priority; c2++) - ; + for (var c2 = 0; c2 < Qc.length && 0 !== b2 && b2 < Qc[c2].priority; c2++) ; Qc.splice(c2, 0, a2); 0 === c2 && Vc(a2); } @@ -7453,8 +6875,7 @@ function ql(a2, b2, c2, d2, e3) { Rk(); return g2; } - for (; e3 = a2.lastChild; ) - a2.removeChild(e3); + for (; e3 = a2.lastChild; ) a2.removeChild(e3); if ("function" === typeof d2) { var h2 = d2; d2 = function() { @@ -7483,8 +6904,7 @@ function rl(a2, b2, c2, d2, e3) { }; } fl(b2, g2, a2, e3); - } else - g2 = ql(c2, b2, a2, e3, d2); + } else g2 = ql(c2, b2, a2, e3, d2); return gl(g2); } Ec = function(a2) { @@ -7493,14 +6913,14 @@ Ec = function(a2) { var b2 = a2.stateNode; if (b2.current.memoizedState.isDehydrated) { var c2 = tc(b2.pendingLanes); - 0 !== c2 && (Cc(b2, c2 | 1), Dk(b2, B$2()), 0 === (K$2 & 6) && (Gj = B$2() + 500, jg())); + 0 !== c2 && (Cc(b2, c2 | 1), Dk(b2, B$2()), 0 === (K$1 & 6) && (Gj = B$2() + 500, jg())); } break; case 13: Rk(function() { var b3 = ih(a2, 1); if (null !== b3) { - var c3 = R$2(); + var c3 = R$1(); gi(b3, a2, 1, c3); } }), il(a2, 1); @@ -7510,7 +6930,7 @@ Fc = function(a2) { if (13 === a2.tag) { var b2 = ih(a2, 134217728); if (null !== b2) { - var c2 = R$2(); + var c2 = R$1(); gi(b2, a2, 134217728, c2); } il(a2, 134217728); @@ -7520,7 +6940,7 @@ Gc = function(a2) { if (13 === a2.tag) { var b2 = yi(a2), c2 = ih(a2, b2); if (null !== c2) { - var d2 = R$2(); + var d2 = R$1(); gi(c2, a2, b2, d2); } il(a2, b2); @@ -7543,15 +6963,13 @@ yb = function(a2, b2, c2) { bb(a2, c2); b2 = c2.name; if ("radio" === c2.type && null != b2) { - for (c2 = a2; c2.parentNode; ) - c2 = c2.parentNode; + for (c2 = a2; c2.parentNode; ) c2 = c2.parentNode; c2 = c2.querySelectorAll("input[name=" + JSON.stringify("" + b2) + '][type="radio"]'); for (b2 = 0; b2 < c2.length; b2++) { var d2 = c2[b2]; if (d2 !== a2 && d2.form === a2.form) { var e3 = Db(d2); - if (!e3) - throw Error(p$4(90)); + if (!e3) throw Error(p$4(90)); Wa(d2); bb(d2, e3); } @@ -7567,29 +6985,26 @@ yb = function(a2, b2, c2) { }; Gb = Qk; Hb = Rk; -var sl = { usingClientEntryPoint: false, Events: [Cb, ue$1, Db, Eb, Fb, Qk] }, tl = { findFiberByHostInstance: Wc, bundleType: 0, version: "18.3.1", rendererPackageName: "react-dom" }; +var sl = { usingClientEntryPoint: false, Events: [Cb, ue, Db, Eb, Fb, Qk] }, tl = { findFiberByHostInstance: Wc, bundleType: 0, version: "18.3.1", rendererPackageName: "react-dom" }; var ul = { bundleType: tl.bundleType, version: tl.version, rendererPackageName: tl.rendererPackageName, rendererConfig: tl.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, overrideProps: null, overridePropsDeletePath: null, overridePropsRenamePath: null, setErrorHandler: null, setSuspenseHandler: null, scheduleUpdate: null, currentDispatcherRef: ua.ReactCurrentDispatcher, findHostInstanceByFiber: function(a2) { a2 = Zb(a2); return null === a2 ? null : a2.stateNode; }, findFiberByHostInstance: tl.findFiberByHostInstance || jl, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, reconcilerVersion: "18.3.1-next-f1338f8080-20240426" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var vl = __REACT_DEVTOOLS_GLOBAL_HOOK__; - if (!vl.isDisabled && vl.supportsFiber) - try { - kc = vl.inject(ul), lc = vl; - } catch (a2) { - } + if (!vl.isDisabled && vl.supportsFiber) try { + kc = vl.inject(ul), lc = vl; + } catch (a2) { + } } var __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = reactDom_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = sl; var createPortal = reactDom_production_min.createPortal = function(a2, b2) { var c2 = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null; - if (!nl(b2)) - throw Error(p$4(200)); + if (!nl(b2)) throw Error(p$4(200)); return cl(a2, b2, null, c2); }; var createRoot$1 = reactDom_production_min.createRoot = function(a2, b2) { - if (!nl(a2)) - throw Error(p$4(299)); + if (!nl(a2)) throw Error(p$4(299)); var c2 = false, d2 = "", e3 = kl; null !== b2 && void 0 !== b2 && (true === b2.unstable_strictMode && (c2 = true), void 0 !== b2.identifierPrefix && (d2 = b2.identifierPrefix), void 0 !== b2.onRecoverableError && (e3 = b2.onRecoverableError)); b2 = bl(a2, 1, false, null, null, c2, false, d2, e3); @@ -7598,14 +7013,11 @@ var createRoot$1 = reactDom_production_min.createRoot = function(a2, b2) { return new ll(b2); }; var findDOMNode = reactDom_production_min.findDOMNode = function(a2) { - if (null == a2) - return null; - if (1 === a2.nodeType) - return a2; + if (null == a2) return null; + if (1 === a2.nodeType) return a2; var b2 = a2._reactInternals; if (void 0 === b2) { - if ("function" === typeof a2.render) - throw Error(p$4(188)); + if ("function" === typeof a2.render) throw Error(p$4(188)); a2 = Object.keys(a2).join(","); throw Error(p$4(268, a2)); } @@ -7617,34 +7029,28 @@ var flushSync = reactDom_production_min.flushSync = function(a2) { return Rk(a2); }; var hydrate = reactDom_production_min.hydrate = function(a2, b2, c2) { - if (!ol(b2)) - throw Error(p$4(200)); + if (!ol(b2)) throw Error(p$4(200)); return rl(null, a2, b2, true, c2); }; var hydrateRoot$1 = reactDom_production_min.hydrateRoot = function(a2, b2, c2) { - if (!nl(a2)) - throw Error(p$4(405)); + if (!nl(a2)) throw Error(p$4(405)); var d2 = null != c2 && c2.hydratedSources || null, e3 = false, f2 = "", g2 = kl; null !== c2 && void 0 !== c2 && (true === c2.unstable_strictMode && (e3 = true), void 0 !== c2.identifierPrefix && (f2 = c2.identifierPrefix), void 0 !== c2.onRecoverableError && (g2 = c2.onRecoverableError)); b2 = el(b2, null, a2, 1, null != c2 ? c2 : null, e3, false, f2, g2); a2[uf] = b2.current; sf(a2); - if (d2) - for (a2 = 0; a2 < d2.length; a2++) - c2 = d2[a2], e3 = c2._getVersion, e3 = e3(c2._source), null == b2.mutableSourceEagerHydrationData ? b2.mutableSourceEagerHydrationData = [c2, e3] : b2.mutableSourceEagerHydrationData.push( - c2, - e3 - ); + if (d2) for (a2 = 0; a2 < d2.length; a2++) c2 = d2[a2], e3 = c2._getVersion, e3 = e3(c2._source), null == b2.mutableSourceEagerHydrationData ? b2.mutableSourceEagerHydrationData = [c2, e3] : b2.mutableSourceEagerHydrationData.push( + c2, + e3 + ); return new ml(b2); }; var render = reactDom_production_min.render = function(a2, b2, c2) { - if (!ol(b2)) - throw Error(p$4(200)); + if (!ol(b2)) throw Error(p$4(200)); return rl(null, a2, b2, false, c2); }; var unmountComponentAtNode = reactDom_production_min.unmountComponentAtNode = function(a2) { - if (!ol(a2)) - throw Error(p$4(40)); + if (!ol(a2)) throw Error(p$4(40)); return a2._reactRootContainer ? (Rk(function() { rl(null, null, a2, false, function() { a2._reactRootContainer = null; @@ -7654,10 +7060,8 @@ var unmountComponentAtNode = reactDom_production_min.unmountComponentAtNode = fu }; var unstable_batchedUpdates = reactDom_production_min.unstable_batchedUpdates = Qk; var unstable_renderSubtreeIntoContainer = reactDom_production_min.unstable_renderSubtreeIntoContainer = function(a2, b2, c2, d2) { - if (!ol(c2)) - throw Error(p$4(200)); - if (null == a2 || void 0 === a2._reactInternals) - throw Error(p$4(38)); + if (!ol(c2)) throw Error(p$4(200)); + if (null == a2 || void 0 === a2._reactInternals) throw Error(p$4(38)); return rl(a2, b2, c2, false, d2); }; var version = reactDom_production_min.version = "18.3.1-next-f1338f8080-20240426"; @@ -7919,8 +7323,7 @@ function invariant$3(value, message) { } function warning$3(cond, message) { if (!cond) { - if (typeof console !== "undefined") - console.warn(message); + if (typeof console !== "undefined") console.warn(message); try { throw new Error(message); } catch (e3) { @@ -7961,10 +7364,8 @@ function createPath(_ref2) { search = "", hash: hash2 = "" } = _ref2; - if (search && search !== "?") - pathname += search.charAt(0) === "?" ? search : "?" + search; - if (hash2 && hash2 !== "#") - pathname += hash2.charAt(0) === "#" ? hash2 : "#" + hash2; + if (search && search !== "?") pathname += search.charAt(0) === "?" ? search : "?" + search; + if (hash2 && hash2 !== "#") pathname += hash2.charAt(0) === "#" ? hash2 : "#" + hash2; return pathname; } function parsePath(path2) { @@ -8026,8 +7427,7 @@ function getUrlBasedHistory(getLocation, createHref, validateLocation, options2) function push(to2, state2) { action = Action$1.Push; let location2 = createLocation$1(history.location, to2, state2); - if (validateLocation) - validateLocation(location2, to2); + if (validateLocation) validateLocation(location2, to2); index2 = getIndex2() + 1; let historyState = getHistoryState(location2, index2); let url = history.createHref(location2); @@ -8050,8 +7450,7 @@ function getUrlBasedHistory(getLocation, createHref, validateLocation, options2) function replace(to2, state2) { action = Action$1.Replace; let location2 = createLocation$1(history.location, to2, state2); - if (validateLocation) - validateLocation(location2, to2); + if (validateLocation) validateLocation(location2, to2); index2 = getIndex2(); let historyState = getHistoryState(location2, index2); let url = history.createHref(location2); @@ -8131,7 +7530,7 @@ function convertRoutesToDataRoutes(routes, mapRouteProperties2, parentPath, mani let treePath = [...parentPath, index2]; let id2 = typeof route2.id === "string" ? route2.id : treePath.join("-"); invariant$3(route2.index !== true || !route2.children, "Cannot specify children on an index route"); - invariant$3(!manifest[id2], 'Found a route id collision on id "' + id2 + "\". Route id's must be globally unique within Data Router usages"); + invariant$3(!manifest[id2], 'Found a route id collision on id "' + id2 + `". Route id's must be globally unique within Data Router usages`); if (isIndexRoute(route2)) { let indexRoute = _extends$P({}, route2, mapRouteProperties2(route2), { id: id2 @@ -8238,8 +7637,7 @@ function flattenRoutes(routes, branches, parentsMeta, parentPath) { } function explodeOptionalSegments(path2) { let segments = path2.split("/"); - if (segments.length === 0) - return []; + if (segments.length === 0) return []; let [first, ...rest2] = segments; let isOptional = first.endsWith("?"); let required = first.replace(/\?$/, ""); @@ -8305,8 +7703,7 @@ function matchRouteBranch(branch, pathname) { caseSensitive: meta.caseSensitive, end }, remainingPathname); - if (!match) - return null; + if (!match) return null; Object.assign(matchedParams, match.params); let route2 = meta.route; matches2.push({ @@ -8360,8 +7757,7 @@ function matchPath(pattern, pathname) { } let [matcher, compiledParams] = compilePath(pattern.path, pattern.caseSensitive, pattern.end); let match = pathname.match(matcher); - if (!match) - return null; + if (!match) return null; let matchedPathname = match[0]; let pathnameBase = matchedPathname.replace(/(.)\/+$/, "$1"); let captureGroups = match.slice(1); @@ -8414,8 +7810,7 @@ function compilePath(path2, caseSensitive, end) { regexpSource += "\\/*$"; } else if (path2 !== "" && path2 !== "/") { regexpSource += "(?:(?=\\/|$))"; - } else - ; + } else ; let matcher = new RegExp(regexpSource, caseSensitive ? void 0 : "i"); return [matcher, params]; } @@ -8428,8 +7823,7 @@ function decodePath(value) { } } function stripBasename(pathname, basename) { - if (basename === "/") - return pathname; + if (basename === "/") return pathname; if (!pathname.toLowerCase().startsWith(basename.toLowerCase())) { return null; } @@ -8461,8 +7855,7 @@ function resolvePathname(relativePath, fromPathname) { let relativeSegments = relativePath.split("/"); relativeSegments.forEach((segment) => { if (segment === "..") { - if (segments.length > 1) - segments.pop(); + if (segments.length > 1) segments.pop(); } else if (segment !== ".") { segments.push(segment); } @@ -9004,10 +8397,8 @@ function createRouter(init) { dataRoutes = inFlightDataRoutes; inFlightDataRoutes = void 0; } - if (isUninterruptedRevalidation) - ; - else if (pendingAction === Action$1.Pop) - ; + if (isUninterruptedRevalidation) ; + else if (pendingAction === Action$1.Pop) ; else if (pendingAction === Action$1.Push) { init.history.push(location2, location2.state); } else if (pendingAction === Action$1.Replace) { @@ -9081,8 +8472,7 @@ function createRouter(init) { let historyAction = Action$1.Push; if (userReplace === true) { historyAction = Action$1.Replace; - } else if (userReplace === false) - ; + } else if (userReplace === false) ; else if (submission != null && isMutationMethod(submission.formMethod) && submission.formAction === state2.location.pathname + state2.location.search) { historyAction = Action$1.Replace; } @@ -9414,8 +8804,7 @@ function createRouter(init) { if (isServer) { throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback."); } - if (fetchControllers.has(key2)) - abortFetcher(key2); + if (fetchControllers.has(key2)) abortFetcher(key2); let flushSync2 = (opts && opts.unstable_flushSync) === true; let routesToUse = inFlightDataRoutes || dataRoutes; let normalizedPath = normalizeTo(state2.location, state2.matches, basename, future.v7_prependBasename, href, future.v7_relativeSplatPath, routeId, opts == null ? void 0 : opts.relative); @@ -11504,8 +10893,7 @@ function useNavigateUnstable() { options2 = {}; } false ? warning$3(activeRef.current, navigateEffectWarning) : void 0; - if (!activeRef.current) - return; + if (!activeRef.current) return; if (typeof to2 === "number") { navigator2.go(to2); return; @@ -11577,7 +10965,9 @@ function useRoutesImpl(routes, locationArg, dataRouterState, future) { let parentRoute = routeMatch && routeMatch.route; if (false) { let parentPath = parentRoute && parentRoute.path || ""; - warningOnce(parentPathname, !parentRoute || parentPath.endsWith("*"), "You rendered descendant (or called `useRoutes()`) at " + ('"' + parentPathname + '" (under ) but the ') + 'parent route path has no trailing "*". This means if you navigate deeper, the parent won\'t match anymore and therefore the child routes will never render.\n\n' + ('Please change the parent to .')); + warningOnce(parentPathname, !parentRoute || parentPath.endsWith("*"), "You rendered descendant (or called `useRoutes()`) at " + ('"' + parentPathname + '" (under ) but the ') + `parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. + +` + ('Please change the parent to .')); } let locationFromContext = useLocation(); let location2; @@ -11983,8 +11373,7 @@ function useNavigateStable() { options2 = {}; } false ? warning$3(activeRef.current, navigateEffectWarning) : void 0; - if (!activeRef.current) - return; + if (!activeRef.current) return; if (typeof to2 === "number") { router.navigate(to2); } else { @@ -12444,15 +11833,13 @@ function _extends$N() { return _extends$N.apply(this, arguments); } function _objectWithoutPropertiesLoose$C(source, excluded) { - if (source == null) - return {}; + if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key2, i2; for (i2 = 0; i2 < sourceKeys.length; i2++) { key2 = sourceKeys[i2]; - if (excluded.indexOf(key2) >= 0) - continue; + if (excluded.indexOf(key2) >= 0) continue; target[key2] = source[key2]; } return target; @@ -12630,8 +12017,7 @@ function parseHydrationData() { return state2; } function deserializeErrors(errors2) { - if (!errors2) - return null; + if (!errors2) return null; let entries = Object.entries(errors2); let serialized = {}; for (let [key2, val] of entries) { @@ -13048,8 +12434,7 @@ const Link$1 = /* @__PURE__ */ reactExports.forwardRef(function LinkWithRef(_ref unstable_viewTransition }); function handleClick(event) { - if (onClick) - onClick(event); + if (onClick) onClick(event); if (!event.defaultPrevented) { internalOnClick(event); } @@ -13150,8 +12535,7 @@ const Form$2 = /* @__PURE__ */ reactExports.forwardRef((_ref9, forwardedRef) => let formMethod = method.toLowerCase() === "get" ? "get" : "post"; let submitHandler = (event) => { onSubmit && onSubmit(event); - if (event.defaultPrevented) - return; + if (event.defaultPrevented) return; event.preventDefault(); let submitter = event.nativeEvent.submitter; let submitMethod = (submitter == null ? void 0 : submitter.getAttribute("formmethod")) || method; @@ -13578,52 +12962,67 @@ const __vitePreload = function preload(baseModule, deps, importerUrl) { let promise = Promise.resolve(); if (deps && deps.length > 0) { const links = document.getElementsByTagName("link"); - const cspNonceMeta = document.querySelector("meta[property=csp-nonce]"); + const cspNonceMeta = document.querySelector( + "meta[property=csp-nonce]" + ); const cspNonce = (cspNonceMeta == null ? void 0 : cspNonceMeta.nonce) || (cspNonceMeta == null ? void 0 : cspNonceMeta.getAttribute("nonce")); - promise = Promise.all(deps.map((dep) => { - dep = assetsURL(dep, importerUrl); - if (dep in seen) - return; - seen[dep] = true; - const isCss = dep.endsWith(".css"); - const cssSelector = isCss ? '[rel="stylesheet"]' : ""; - const isBaseRelative = !!importerUrl; - if (isBaseRelative) { - for (let i2 = links.length - 1; i2 >= 0; i2--) { - const link3 = links[i2]; - if (link3.href === dep && (!isCss || link3.rel === "stylesheet")) { - return; + promise = Promise.allSettled( + deps.map((dep) => { + dep = assetsURL(dep, importerUrl); + if (dep in seen) return; + seen[dep] = true; + const isCss = dep.endsWith(".css"); + const cssSelector = isCss ? '[rel="stylesheet"]' : ""; + const isBaseRelative = !!importerUrl; + if (isBaseRelative) { + for (let i2 = links.length - 1; i2 >= 0; i2--) { + const link22 = links[i2]; + if (link22.href === dep && (!isCss || link22.rel === "stylesheet")) { + return; + } } + } else if (document.querySelector(`link[href="${dep}"]${cssSelector}`)) { + return; + } + const link2 = document.createElement("link"); + link2.rel = isCss ? "stylesheet" : scriptRel; + if (!isCss) { + link2.as = "script"; } - } else if (document.querySelector('link[href="'.concat(dep, '"]').concat(cssSelector))) { - return; - } - const link2 = document.createElement("link"); - link2.rel = isCss ? "stylesheet" : scriptRel; - if (!isCss) { - link2.as = "script"; link2.crossOrigin = ""; - } - link2.href = dep; - if (cspNonce) { - link2.setAttribute("nonce", cspNonce); - } - document.head.appendChild(link2); - if (isCss) { - return new Promise((res2, rej) => { - link2.addEventListener("load", res2); - link2.addEventListener("error", () => rej(new Error("Unable to preload CSS for ".concat(dep)))); - }); - } - })); + link2.href = dep; + if (cspNonce) { + link2.setAttribute("nonce", cspNonce); + } + document.head.appendChild(link2); + if (isCss) { + return new Promise((res2, rej) => { + link2.addEventListener("load", res2); + link2.addEventListener( + "error", + () => rej(new Error(`Unable to preload CSS for ${dep}`)) + ); + }); + } + }) + ); } - return promise.then(() => baseModule()).catch((err) => { - const e3 = new Event("vite:preloadError", { cancelable: true }); + function handlePreloadError(err) { + const e3 = new Event("vite:preloadError", { + cancelable: true + }); e3.payload = err; window.dispatchEvent(e3); if (!e3.defaultPrevented) { throw err; } + } + return promise.then((res2) => { + for (const item of res2 || []) { + if (item.status !== "rejected") continue; + handlePreloadError(item.reason); + } + return baseModule().catch(handlePreloadError); }); }; var solid$1 = { @@ -13868,26 +13267,23 @@ var twMergeConfig$1 = { // remove the dot from the key, .transition-background -> transition-background } }; -var l$3 = (e3) => typeof e3 == "boolean" ? "".concat(e3) : e3 === 0 ? "0" : e3, u$4 = (e3) => !e3 || typeof e3 != "object" || Object.keys(e3).length === 0, x$5 = (e3, o2) => JSON.stringify(e3) === JSON.stringify(o2), A$2 = (e3) => typeof e3 == "boolean"; +var l$3 = (e3) => typeof e3 == "boolean" ? `${e3}` : e3 === 0 ? "0" : e3, u$3 = (e3) => !e3 || typeof e3 != "object" || Object.keys(e3).length === 0, x$4 = (e3, o2) => JSON.stringify(e3) === JSON.stringify(o2), A$1 = (e3) => typeof e3 == "boolean"; function i$2(e3, o2) { e3.forEach(function(r2) { Array.isArray(r2) ? i$2(r2, o2) : o2.push(r2); }); } -function y$3(e3) { +function y$2(e3) { let o2 = []; return i$2(e3, o2), o2; } -var a$3 = (...e3) => y$3(e3).filter(Boolean), p$3 = (e3, o2) => { +var a$3 = (...e3) => y$2(e3).filter(Boolean), p$3 = (e3, o2) => { let r2 = {}, c2 = Object.keys(e3), f2 = Object.keys(o2); - for (let t4 of c2) - if (f2.includes(t4)) { - let s2 = e3[t4], n2 = o2[t4]; - Array.isArray(s2) || Array.isArray(n2) ? r2[t4] = a$3(n2, s2) : typeof s2 == "object" && typeof n2 == "object" ? r2[t4] = p$3(s2, n2) : r2[t4] = n2 + " " + s2; - } else - r2[t4] = e3[t4]; - for (let t4 of f2) - c2.includes(t4) || (r2[t4] = o2[t4]); + for (let t4 of c2) if (f2.includes(t4)) { + let s2 = e3[t4], n2 = o2[t4]; + Array.isArray(s2) || Array.isArray(n2) ? r2[t4] = a$3(n2, s2) : typeof s2 == "object" && typeof n2 == "object" ? r2[t4] = p$3(s2, n2) : r2[t4] = n2 + " " + s2; + } else r2[t4] = e3[t4]; + for (let t4 of f2) c2.includes(t4) || (r2[t4] = o2[t4]); return r2; }, g$3 = (e3) => !e3 || typeof e3 != "string" ? e3 : e3.replace(/\s+/g, " ").trim(); const CLASS_PART_SEPARATOR$1 = "-"; @@ -13917,7 +13313,7 @@ const createClassGroupUtils$1 = (config2) => { }; }; const getGroupRecursive$1 = (classParts, classPartObject) => { - var _a3; + var _a2; if (classParts.length === 0) { return classPartObject.classGroupId; } @@ -13931,9 +13327,9 @@ const getGroupRecursive$1 = (classParts, classPartObject) => { return void 0; } const classRest = classParts.join(CLASS_PART_SEPARATOR$1); - return (_a3 = classPartObject.validators.find(({ + return (_a2 = classPartObject.validators.find(({ validator: validator2 - }) => validator2(classRest))) == null ? void 0 : _a3.classGroupId; + }) => validator2(classRest))) == null ? void 0 : _a2.classGroupId; }; const arbitraryPropertyRegex$1 = /^\[(.+)\]$/; const getGroupIdForArbitraryProperty$1 = (className) => { @@ -16662,61 +16058,49 @@ const mergeArrayProperties$1 = (baseObject, mergeObject2, key2) => { }; const extendTailwindMerge$1 = (configExtension, ...createConfig) => typeof configExtension === "function" ? createTailwindMerge$1(getDefaultConfig$1, configExtension, ...createConfig) : createTailwindMerge$1(() => mergeConfigs$2(getDefaultConfig$1(), configExtension), ...createConfig); const twMerge$3 = /* @__PURE__ */ createTailwindMerge$1(getDefaultConfig$1); -var ie = { twMerge: true, twMergeConfig: {}, responsiveVariants: false }, x$4 = (s2) => s2 || void 0, N = (...s2) => x$4(y$3(s2).filter(Boolean).join(" ")), R$1 = null, v = {}, q$1 = false, M$1 = (...s2) => (b$12) => b$12.twMerge ? ((!R$1 || q$1) && (q$1 = false, R$1 = u$4(v) ? twMerge$3 : extendTailwindMerge$1({ ...v, extend: { theme: v.theme, classGroups: v.classGroups, conflictingClassGroupModifiers: v.conflictingClassGroupModifiers, conflictingClassGroups: v.conflictingClassGroups, ...v.extend } })), x$4(R$1(N(s2)))) : N(s2), _$1 = (s2, b2) => { - for (let e3 in b2) - s2.hasOwnProperty(e3) ? s2[e3] = N(s2[e3], b2[e3]) : s2[e3] = b2[e3]; +var ie$1 = { twMerge: true, twMergeConfig: {}, responsiveVariants: false }, x$3 = (s2) => s2 || void 0, N$1 = (...s2) => x$3(y$2(s2).filter(Boolean).join(" ")), R = null, v$1 = {}, q = false, M = (...s2) => (b$1) => b$1.twMerge ? ((!R || q) && (q = false, R = u$3(v$1) ? twMerge$3 : extendTailwindMerge$1({ ...v$1, extend: { theme: v$1.theme, classGroups: v$1.classGroups, conflictingClassGroupModifiers: v$1.conflictingClassGroupModifiers, conflictingClassGroups: v$1.conflictingClassGroups, ...v$1.extend } })), x$3(R(N$1(s2)))) : N$1(s2), _$1 = (s2, b2) => { + for (let e3 in b2) s2.hasOwnProperty(e3) ? s2[e3] = N$1(s2[e3], b2[e3]) : s2[e3] = b2[e3]; return s2; -}, ce = (s2, b$12) => { - let { extend: e3 = null, slots: O2 = {}, variants: U2 = {}, compoundVariants: W2 = [], compoundSlots: C2 = [], defaultVariants: z2 = {} } = s2, m2 = { ...ie, ...b$12 }, k2 = e3 != null && e3.base ? N(e3.base, s2 == null ? void 0 : s2.base) : s2 == null ? void 0 : s2.base, g$12 = e3 != null && e3.variants && !u$4(e3.variants) ? p$3(U2, e3.variants) : U2, w2 = e3 != null && e3.defaultVariants && !u$4(e3.defaultVariants) ? { ...e3.defaultVariants, ...z2 } : z2; - !u$4(m2.twMergeConfig) && !x$5(m2.twMergeConfig, v) && (q$1 = true, v = m2.twMergeConfig); - let S2 = u$4(e3 == null ? void 0 : e3.slots), T2 = u$4(O2) ? {} : { base: N(s2 == null ? void 0 : s2.base, S2 && (e3 == null ? void 0 : e3.base)), ...O2 }, j2 = S2 ? T2 : _$1({ ...e3 == null ? void 0 : e3.slots }, u$4(T2) ? { base: s2 == null ? void 0 : s2.base } : T2), h$1 = u$4(e3 == null ? void 0 : e3.compoundVariants) ? W2 : a$3(e3 == null ? void 0 : e3.compoundVariants, W2), V2 = (l2) => { - if (u$4(g$12) && u$4(O2) && S2) - return M$1(k2, l2 == null ? void 0 : l2.class, l2 == null ? void 0 : l2.className)(m2); - if (h$1 && !Array.isArray(h$1)) - throw new TypeError('The "compoundVariants" prop must be an array. Received: '.concat(typeof h$1)); - if (C2 && !Array.isArray(C2)) - throw new TypeError('The "compoundSlots" prop must be an array. Received: '.concat(typeof C2)); +}, ce$1 = (s2, b$1) => { + let { extend: e3 = null, slots: O2 = {}, variants: U2 = {}, compoundVariants: W2 = [], compoundSlots: C2 = [], defaultVariants: z2 = {} } = s2, m2 = { ...ie$1, ...b$1 }, k2 = e3 != null && e3.base ? N$1(e3.base, s2 == null ? void 0 : s2.base) : s2 == null ? void 0 : s2.base, g$12 = e3 != null && e3.variants && !u$3(e3.variants) ? p$3(U2, e3.variants) : U2, w2 = e3 != null && e3.defaultVariants && !u$3(e3.defaultVariants) ? { ...e3.defaultVariants, ...z2 } : z2; + !u$3(m2.twMergeConfig) && !x$4(m2.twMergeConfig, v$1) && (q = true, v$1 = m2.twMergeConfig); + let S2 = u$3(e3 == null ? void 0 : e3.slots), T2 = u$3(O2) ? {} : { base: N$1(s2 == null ? void 0 : s2.base, S2 && (e3 == null ? void 0 : e3.base)), ...O2 }, j2 = S2 ? T2 : _$1({ ...e3 == null ? void 0 : e3.slots }, u$3(T2) ? { base: s2 == null ? void 0 : s2.base } : T2), h$12 = u$3(e3 == null ? void 0 : e3.compoundVariants) ? W2 : a$3(e3 == null ? void 0 : e3.compoundVariants, W2), V2 = (l2) => { + if (u$3(g$12) && u$3(O2) && S2) return M(k2, l2 == null ? void 0 : l2.class, l2 == null ? void 0 : l2.className)(m2); + if (h$12 && !Array.isArray(h$12)) throw new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof h$12}`); + if (C2 && !Array.isArray(C2)) throw new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof C2}`); let P2 = (a2, n2, t4 = [], i2) => { let r2 = t4; - if (typeof n2 == "string") - r2 = r2.concat(g$3(n2).split(" ").map((o2) => "".concat(a2, ":").concat(o2))); - else if (Array.isArray(n2)) - r2 = r2.concat(n2.reduce((o2, c2) => o2.concat("".concat(a2, ":").concat(c2)), [])); + if (typeof n2 == "string") r2 = r2.concat(g$3(n2).split(" ").map((o2) => `${a2}:${o2}`)); + else if (Array.isArray(n2)) r2 = r2.concat(n2.reduce((o2, c2) => o2.concat(`${a2}:${c2}`), [])); else if (typeof n2 == "object" && typeof i2 == "string") { - for (let o2 in n2) - if (n2.hasOwnProperty(o2) && o2 === i2) { - let c2 = n2[o2]; - if (c2 && typeof c2 == "string") { - let u2 = g$3(c2); - r2[i2] ? r2[i2] = r2[i2].concat(u2.split(" ").map((f2) => "".concat(a2, ":").concat(f2))) : r2[i2] = u2.split(" ").map((f2) => "".concat(a2, ":").concat(f2)); - } else - Array.isArray(c2) && c2.length > 0 && (r2[i2] = c2.reduce((u2, f2) => u2.concat("".concat(a2, ":").concat(f2)), [])); - } + for (let o2 in n2) if (n2.hasOwnProperty(o2) && o2 === i2) { + let c2 = n2[o2]; + if (c2 && typeof c2 == "string") { + let u2 = g$3(c2); + r2[i2] ? r2[i2] = r2[i2].concat(u2.split(" ").map((f2) => `${a2}:${f2}`)) : r2[i2] = u2.split(" ").map((f2) => `${a2}:${f2}`); + } else Array.isArray(c2) && c2.length > 0 && (r2[i2] = c2.reduce((u2, f2) => u2.concat(`${a2}:${f2}`), [])); + } } return r2; }, D2 = (a$12, n2 = g$12, t4 = null, i2 = null) => { var L2; let r2 = n2[a$12]; - if (!r2 || u$4(r2)) - return null; + if (!r2 || u$3(r2)) return null; let o2 = (L2 = i2 == null ? void 0 : i2[a$12]) != null ? L2 : l2 == null ? void 0 : l2[a$12]; - if (o2 === null) - return null; + if (o2 === null) return null; let c2 = l$3(o2), u2 = Array.isArray(m2.responsiveVariants) && m2.responsiveVariants.length > 0 || m2.responsiveVariants === true, f2 = w2 == null ? void 0 : w2[a$12], d2 = []; - if (typeof c2 == "object" && u2) - for (let [E2, Q2] of Object.entries(c2)) { - let ne2 = r2[Q2]; - if (E2 === "initial") { - f2 = Q2; - continue; - } - Array.isArray(m2.responsiveVariants) && !m2.responsiveVariants.includes(E2) || (d2 = P2(E2, ne2, d2, t4)); + if (typeof c2 == "object" && u2) for (let [E2, Q2] of Object.entries(c2)) { + let ne2 = r2[Q2]; + if (E2 === "initial") { + f2 = Q2; + continue; } - let $ = c2 != null && typeof c2 != "object" ? c2 : l$3(f2), A2 = r2[$ || "false"]; + Array.isArray(m2.responsiveVariants) && !m2.responsiveVariants.includes(E2) || (d2 = P2(E2, ne2, d2, t4)); + } + let $2 = c2 != null && typeof c2 != "object" ? c2 : l$3(f2), A2 = r2[$2 || "false"]; return typeof d2 == "object" && typeof t4 == "string" && d2[t4] ? _$1(d2, A2) : d2.length > 0 ? (d2.push(A2), t4 === "base" ? d2.join(" ") : d2) : A2; }, p2 = () => g$12 ? Object.keys(g$12).map((a2) => D2(a2, g$12)) : null, ee2 = (a2, n2) => { - if (!g$12 || typeof g$12 != "object") - return null; + if (!g$12 || typeof g$12 != "object") return null; let t4 = new Array(); for (let i2 in g$12) { let r2 = D2(i2, g$12, a2, n2), o2 = a2 === "base" && typeof r2 == "string" ? r2 : r2 && r2[a2]; @@ -16724,8 +16108,7 @@ var ie = { twMerge: true, twMergeConfig: {}, responsiveVariants: false }, x$4 = } return t4; }, H2 = {}; - for (let a2 in l2) - l2[a2] !== void 0 && (H2[a2] = l2[a2]); + for (let a2 in l2) l2[a2] !== void 0 && (H2[a2] = l2[a2]); let I2 = (a2, n2) => { var i2; let t4 = typeof (l2 == null ? void 0 : l2[a2]) == "object" ? { [a2]: (i2 = l2[a2]) == null ? void 0 : i2.initial } : {}; @@ -16742,9 +16125,8 @@ var ie = { twMerge: true, twMergeConfig: {}, responsiveVariants: false }, x$4 = break; } } else { - let $ = (A2) => A2 == null || A2 === false; - if ($(f2) && $(d2)) - continue; + let $2 = (A2) => A2 == null || A2 === false; + if ($2(f2) && $2(d2)) continue; if (d2 !== f2) { c2 = false; break; @@ -16755,21 +16137,16 @@ var ie = { twMerge: true, twMergeConfig: {}, responsiveVariants: false }, x$4 = } return t4; }, te2 = (a2) => { - let n2 = J2(h$1, a2); - if (!Array.isArray(n2)) - return n2; + let n2 = J2(h$12, a2); + if (!Array.isArray(n2)) return n2; let t4 = {}; - for (let i2 of n2) - if (typeof i2 == "string" && (t4.base = M$1(t4.base, i2)(m2)), typeof i2 == "object") - for (let [r2, o2] of Object.entries(i2)) - t4[r2] = M$1(t4[r2], o2)(m2); + for (let i2 of n2) if (typeof i2 == "string" && (t4.base = M(t4.base, i2)(m2)), typeof i2 == "object") for (let [r2, o2] of Object.entries(i2)) t4[r2] = M(t4[r2], o2)(m2); return t4; }, ae2 = (a2) => { - if (C2.length < 1) - return null; + if (C2.length < 1) return null; let n2 = {}; for (let { slots: t4 = [], class: i2, className: r2, ...o2 } of C2) { - if (!u$4(o2)) { + if (!u$3(o2)) { let c2 = true; for (let u2 of Object.keys(o2)) { let f2 = I2(u2, a2)[u2]; @@ -16778,44 +16155,39 @@ var ie = { twMerge: true, twMergeConfig: {}, responsiveVariants: false }, x$4 = break; } } - if (!c2) - continue; + if (!c2) continue; } - for (let c2 of t4) - n2[c2] = n2[c2] || [], n2[c2].push([i2, r2]); + for (let c2 of t4) n2[c2] = n2[c2] || [], n2[c2].push([i2, r2]); } return n2; }; - if (!u$4(O2) || !S2) { + if (!u$3(O2) || !S2) { let a2 = {}; - if (typeof j2 == "object" && !u$4(j2)) - for (let n2 of Object.keys(j2)) - a2[n2] = (t4) => { - var i2, r2; - return M$1(j2[n2], ee2(n2, t4), ((i2 = te2(t4)) != null ? i2 : [])[n2], ((r2 = ae2(t4)) != null ? r2 : [])[n2], t4 == null ? void 0 : t4.class, t4 == null ? void 0 : t4.className)(m2); - }; + if (typeof j2 == "object" && !u$3(j2)) for (let n2 of Object.keys(j2)) a2[n2] = (t4) => { + var i2, r2; + return M(j2[n2], ee2(n2, t4), ((i2 = te2(t4)) != null ? i2 : [])[n2], ((r2 = ae2(t4)) != null ? r2 : [])[n2], t4 == null ? void 0 : t4.class, t4 == null ? void 0 : t4.className)(m2); + }; return a2; } - return M$1(k2, p2(), J2(h$1), l2 == null ? void 0 : l2.class, l2 == null ? void 0 : l2.className)(m2); + return M(k2, p2(), J2(h$12), l2 == null ? void 0 : l2.class, l2 == null ? void 0 : l2.className)(m2); }, K2 = () => { - if (!(!g$12 || typeof g$12 != "object")) - return Object.keys(g$12); + if (!(!g$12 || typeof g$12 != "object")) return Object.keys(g$12); }; - return V2.variantKeys = K2(), V2.extend = e3, V2.base = k2, V2.slots = j2, V2.variants = g$12, V2.defaultVariants = w2, V2.compoundSlots = C2, V2.compoundVariants = h$1, V2; -}, fe$1 = (s2) => (b2, e3) => ce(b2, e3 ? p$3(s2, e3) : s2); + return V2.variantKeys = K2(), V2.extend = e3, V2.base = k2, V2.slots = j2, V2.variants = g$12, V2.defaultVariants = w2, V2.compoundSlots = C2, V2.compoundVariants = h$12, V2; +}, fe = (s2) => (b2, e3) => ce$1(b2, e3 ? p$3(s2, e3) : s2); var tv$1 = (options2, config2) => { - var _a3, _b2, _c2; - return ce(options2, { + var _a2, _b, _c; + return ce$1(options2, { ...config2, - twMerge: (_a3 = config2 == null ? void 0 : config2.twMerge) != null ? _a3 : true, + twMerge: (_a2 = config2 == null ? void 0 : config2.twMerge) != null ? _a2 : true, twMergeConfig: { ...config2 == null ? void 0 : config2.twMergeConfig, theme: { - ...(_b2 = config2 == null ? void 0 : config2.twMergeConfig) == null ? void 0 : _b2.theme, + ...(_b = config2 == null ? void 0 : config2.twMergeConfig) == null ? void 0 : _b.theme, ...twMergeConfig$1.theme }, classGroups: { - ...(_c2 = config2 == null ? void 0 : config2.twMergeConfig) == null ? void 0 : _c2.classGroups, + ...(_c = config2 == null ? void 0 : config2.twMergeConfig) == null ? void 0 : _c.classGroups, ...twMergeConfig$1.classGroups } } @@ -17431,8 +16803,8 @@ var spinner$1 = tv$1({ ] }); var baseStyles$2 = (prefix2) => ({ - color: "hsl(var(--".concat(prefix2, "-foreground))"), - backgroundColor: "hsl(var(--".concat(prefix2, "-background))") + color: `hsl(var(--${prefix2}-foreground))`, + backgroundColor: `hsl(var(--${prefix2}-background))` }); var focusVisibleClasses$1 = [ "focus-visible:z-10", @@ -28152,12 +27524,9 @@ function isEmptyObject$1(value) { return isObject$3(value) && Object.keys(value).length === 0; } function isEmpty(value) { - if (isArray$2(value)) - return isEmptyArray(value); - if (isObject$3(value)) - return isEmptyObject$1(value); - if (value == null || value === "") - return true; + if (isArray$2(value)) return isEmptyArray(value); + if (isObject$3(value)) return isEmptyObject$1(value); + if (value == null || value === "") return true; return false; } function isFunction$2(value) { @@ -28207,26 +27576,20 @@ var renameProp = (oldProp, newProp, { [oldProp]: old, ...others }) => ({ ...others }); var copyObject = (obj) => { - if (!isObject$3(obj)) - return obj; - if (obj instanceof Array) - return [...obj]; + if (!isObject$3(obj)) return obj; + if (obj instanceof Array) return [...obj]; return { ...obj }; }; var omitObject = (obj, omitKeys) => { - if (!isObject$3(obj)) - return obj; - if (obj instanceof Array) - return [...obj]; + if (!isObject$3(obj)) return obj; + if (obj instanceof Array) return [...obj]; const newObj = { ...obj }; omitKeys.forEach((key2) => newObj[key2] && delete newObj[key2]); return newObj; }; var cleanObject = (obj) => { - if (!isObject$3(obj)) - return obj; - if (obj instanceof Array) - return [...obj]; + if (!isObject$3(obj)) return obj; + if (obj instanceof Array) return [...obj]; const newObj = { ...obj }; Object.keys(newObj).forEach((key2) => { if (newObj[key2] === void 0 || newObj[key2] === null) { @@ -28236,10 +27599,8 @@ var cleanObject = (obj) => { return newObj; }; var cleanObjectKeys = (obj, keys2 = []) => { - if (!isObject$3(obj)) - return obj; - if (obj instanceof Array) - return [...obj]; + if (!isObject$3(obj)) return obj; + if (obj instanceof Array) return [...obj]; const newObj = { ...obj }; keys2.forEach((key2) => { if (newObj[key2]) { @@ -28249,24 +27610,20 @@ var cleanObjectKeys = (obj, keys2 = []) => { return newObj; }; var getKeyValue = (obj, key2) => { - if (!isObject$3(obj)) - return obj; - if (obj instanceof Array) - return [...obj]; + if (!isObject$3(obj)) return obj; + if (obj instanceof Array) return [...obj]; return obj[key2]; }; var getProp = (obj, path2, fallback, index2) => { const key2 = typeof path2 === "string" ? path2.split(".") : [path2]; for (index2 = 0; index2 < key2.length; index2 += 1) { - if (!obj) - break; + if (!obj) break; obj = obj[key2[index2]]; } return obj === void 0 ? fallback : obj; }; var arrayToObject$1 = (arr) => { - if (!arr.length || !Array.isArray(arr)) - return {}; + if (!arr.length || !Array.isArray(arr)) return {}; return arr.reduce((acc, item) => { return { ...acc, ...item }; }, {}); @@ -28274,14 +27631,12 @@ var arrayToObject$1 = (arr) => { function compact$1(object2) { const clone2 = Object.assign({}, object2); for (let key2 in clone2) { - if (clone2[key2] === void 0) - delete clone2[key2]; + if (clone2[key2] === void 0) delete clone2[key2]; } return clone2; } var safeText = (text) => { - if ((text == null ? void 0 : text.length) <= 4) - return text; + if ((text == null ? void 0 : text.length) <= 4) return text; return text == null ? void 0 : text.slice(0, 3); }; var safeAriaLabel = (...texts) => { @@ -28295,7 +27650,7 @@ var safeAriaLabel = (...texts) => { return ariaLabel; }; var getMargin$1 = (num) => { - return "calc(".concat(num * 15.25, "pt + 1px * ").concat(num - 1, ")"); + return `calc(${num * 15.25}pt + 1px * ${num - 1})`; }; var capitalize$1 = (s2) => { return s2 ? s2.charAt(0).toUpperCase() + s2.slice(1).toLowerCase() : ""; @@ -28325,7 +27680,7 @@ function extractProperty(key2, defaultValue2, ...objs) { return result; } function getUniqueID(prefix2) { - return "".concat(prefix2, "-").concat(Math.floor(Math.random() * 1e6)); + return `${prefix2}-${Math.floor(Math.random() * 1e6)}`; } function removeEvents(input2) { for (const key2 in input2) { @@ -28341,7 +27696,7 @@ function objectToDeps(obj) { } try { return JSON.stringify(obj); - } catch (e3) { + } catch { return ""; } } @@ -28441,12 +27796,10 @@ function clampPercentage(value, max2 = 100) { } var warningStack = {}; function warn$1(message, component, ...args) { - const tag = component ? " [".concat(component, "]") : " "; - const log2 = "[Hero UI]".concat(tag, ": ").concat(message); - if (typeof console === "undefined") - return; - if (warningStack[log2]) - return; + const tag = component ? ` [${component}]` : " "; + const log2 = `[Hero UI]${tag}: ${message}`; + if (typeof console === "undefined") return; + if (warningStack[log2]) return; warningStack[log2] = true; if (false) { return console.warn(log2, args); @@ -28565,8 +27918,7 @@ function setRef(ref, value) { } } var mergeClasses$1 = (itemClasses, itemPropsClasses) => { - if (!itemClasses && !itemPropsClasses) - return {}; + if (!itemClasses && !itemPropsClasses) return {}; const keys2 = /* @__PURE__ */ new Set([...Object.keys(itemClasses || {}), ...Object.keys(itemPropsClasses || {})]); return Array.from(keys2).reduce( (acc, key2) => ({ @@ -28578,20 +27930,13 @@ var mergeClasses$1 = (itemClasses, itemPropsClasses) => { }; function r$9(e3) { var t4, f2, n2 = ""; - if ("string" == typeof e3 || "number" == typeof e3) - n2 += e3; - else if ("object" == typeof e3) - if (Array.isArray(e3)) - for (t4 = 0; t4 < e3.length; t4++) - e3[t4] && (f2 = r$9(e3[t4])) && (n2 && (n2 += " "), n2 += f2); - else - for (t4 in e3) - e3[t4] && (n2 && (n2 += " "), n2 += t4); + if ("string" == typeof e3 || "number" == typeof e3) n2 += e3; + else if ("object" == typeof e3) if (Array.isArray(e3)) for (t4 = 0; t4 < e3.length; t4++) e3[t4] && (f2 = r$9(e3[t4])) && (n2 && (n2 += " "), n2 += f2); + else for (t4 in e3) e3[t4] && (n2 && (n2 += " "), n2 += t4); return n2; } function clsx$6() { - for (var e3, t4, f2 = 0, n2 = ""; f2 < arguments.length; ) - (e3 = arguments[f2++]) && (t4 = r$9(e3)) && (n2 && (n2 += " "), n2 += t4); + for (var e3, t4, f2 = 0, n2 = ""; f2 < arguments.length; ) (e3 = arguments[f2++]) && (t4 = r$9(e3)) && (n2 && (n2 += " "), n2 += t4); return n2; } var twMerge$2 = extendTailwindMerge$1({ extend: twMergeConfig$1 }); @@ -28852,15 +28197,13 @@ function guard(low, high, value) { } class ColorError extends Error { constructor(color2) { - super('Failed to parse color: "'.concat(color2, '"')); + super(`Failed to parse color: "${color2}"`); } } var ColorError$1 = ColorError; function parseToRgba(color2) { - if (typeof color2 !== "string") - throw new ColorError$1(color2); - if (color2.trim().toLowerCase() === "transparent") - return [0, 0, 0, 0]; + if (typeof color2 !== "string") throw new ColorError$1(color2); + if (color2.trim().toLowerCase() === "transparent") return [0, 0, 0, 0]; let normalizedColor = color2.trim(); normalizedColor = namedColorRegex.test(color2) ? nameToHex(color2) : color2; const reducedHexMatch = reducedHexRegex.exec(normalizedColor); @@ -28881,10 +28224,8 @@ function parseToRgba(color2) { const hslaMatch = hslaRegex.exec(normalizedColor); if (hslaMatch) { const [h2, s2, l2, a2] = Array.from(hslaMatch).slice(1).map(parseFloat); - if (guard(0, 100, s2) !== s2) - throw new ColorError$1(color2); - if (guard(0, 100, l2) !== l2) - throw new ColorError$1(color2); + if (guard(0, 100, s2) !== s2) throw new ColorError$1(color2); + if (guard(0, 100, l2) !== l2) throw new ColorError$1(color2); return [...hslToRgb(h2, s2, l2), Number.isNaN(a2) ? 1 : a2]; } throw new ColorError$1(color2); @@ -28905,20 +28246,19 @@ const compressedColorMap = "1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp for (let i2 = 0; i2 < 6 - hex2.length; i2++) { prefix2 += "0"; } - acc[key2] = "".concat(prefix2).concat(hex2); + acc[key2] = `${prefix2}${hex2}`; return acc; }, {}); function nameToHex(color2) { const normalizedColorName = color2.toLowerCase().trim(); const result = compressedColorMap[hash(normalizedColorName)]; - if (!result) - throw new ColorError$1(color2); - return "#".concat(result); + if (!result) throw new ColorError$1(color2); + return `#${result}`; } const r$8 = (str, amount) => Array.from(Array(amount)).map(() => str).join(""); -const reducedHexRegex = new RegExp("^#".concat(r$8("([a-f0-9])", 3), "([a-f0-9])?$"), "i"); -const hexRegex = new RegExp("^#".concat(r$8("([a-f0-9]{2})", 3), "([a-f0-9]{2})?$"), "i"); -const rgbaRegex = new RegExp("^rgba?\\(\\s*(\\d+)\\s*".concat(r$8(",\\s*(\\d+)\\s*", 2), "(?:,\\s*([\\d.]+))?\\s*\\)$"), "i"); +const reducedHexRegex = new RegExp(`^#${r$8("([a-f0-9])", 3)}([a-f0-9])?$`, "i"); +const hexRegex = new RegExp(`^#${r$8("([a-f0-9]{2})", 3)}([a-f0-9]{2})?$`, "i"); +const rgbaRegex = new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${r$8(",\\s*(\\d+)\\s*", 2)}(?:,\\s*([\\d.]+))?\\s*\\)$`, "i"); const hslaRegex = /^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i; const namedColorRegex = /^[a-z]+$/i; const roundColor = (color2) => { @@ -28968,15 +28308,14 @@ function parseToHsla(color2) { const max2 = Math.max(red2, green2, blue2); const min2 = Math.min(red2, green2, blue2); const lightness = (max2 + min2) / 2; - if (max2 === min2) - return [0, 0, lightness, alpha2]; + if (max2 === min2) return [0, 0, lightness, alpha2]; const delta = max2 - min2; const saturation = lightness > 0.5 ? delta / (2 - max2 - min2) : delta / (max2 + min2); const hue2 = 60 * (red2 === max2 ? (green2 - blue2) / delta + (green2 < blue2 ? 6 : 0) : green2 === max2 ? (blue2 - red2) / delta + 2 : (red2 - green2) / delta + 4); return [hue2, saturation, lightness, alpha2]; } function hsla$2(hue2, saturation, lightness, alpha2) { - return "hsla(".concat((hue2 % 360).toFixed(), ", ").concat(guard(0, 100, saturation * 100).toFixed(), "%, ").concat(guard(0, 100, lightness * 100).toFixed(), "%, ").concat(parseFloat(guard(0, 1, alpha2).toFixed(3)), ")"); + return `hsla(${(hue2 % 360).toFixed()}, ${guard(0, 100, saturation * 100).toFixed()}%, ${guard(0, 100, lightness * 100).toFixed()}%, ${parseFloat(guard(0, 1, alpha2).toFixed(3))})`; } function adjustHue(color2, degrees2) { const [h2, s2, l2, a2] = parseToHsla(color2); @@ -28991,8 +28330,7 @@ function desaturate(color2, amount) { return hsla$2(h2, s2 - amount, l2, a2); } function getLuminance(color2) { - if (color2 === "transparent") - return 0; + if (color2 === "transparent") return 0; function f2(x2) { const channel = x2 / 255; return channel <= 0.04045 ? channel / 12.92 : Math.pow((channel + 0.055) / 1.055, 2.4); @@ -29006,7 +28344,7 @@ function getContrast(color1, color2) { return luminance1 > luminance2 ? (luminance1 + 0.05) / (luminance2 + 0.05) : (luminance2 + 0.05) / (luminance1 + 0.05); } function rgba$2(red2, green2, blue2, alpha2) { - return "rgba(".concat(guard(0, 255, red2).toFixed(), ", ").concat(guard(0, 255, green2).toFixed(), ", ").concat(guard(0, 255, blue2).toFixed(), ", ").concat(parseFloat(guard(0, 1, alpha2).toFixed(3)), ")"); + return `rgba(${guard(0, 255, red2).toFixed()}, ${guard(0, 255, green2).toFixed()}, ${guard(0, 255, blue2).toFixed()}, ${parseFloat(guard(0, 1, alpha2).toFixed(3))})`; } function mix$1(color1, color2, weight) { const normalize2 = (n2, index2) => ( @@ -29070,9 +28408,9 @@ function toHex(color2) { const [r2, g2, b2, a2] = parseToRgba(color2); let hex2 = (x2) => { const h2 = guard(0, 255, x2).toString(16); - return h2.length === 1 ? "0".concat(h2) : h2; + return h2.length === 1 ? `0${h2}` : h2; }; - return "#".concat(hex2(r2)).concat(hex2(g2)).concat(hex2(b2)).concat(a2 < 1 ? hex2(Math.round(a2 * 255)) : ""); + return `#${hex2(r2)}${hex2(g2)}${hex2(b2)}${a2 < 1 ? hex2(Math.round(a2 * 255)) : ""}`; } function toRgba(color2) { return rgba$2(...parseToRgba(color2)); @@ -30910,7 +30248,7 @@ g$2.withOptions = function(i2, n2 = () => ({})) { } return t4.__isOptionsFunction = true, t4; }; -var u$3 = g$2; +var u$2 = g$2; "use strict"; var isMergeableObject = function isMergeableObject2(value) { return isNonNullObject(value) && !isSpecial(value); @@ -31019,11 +30357,11 @@ var resolveConfig$2 = (themes = {}, defaultTheme, prefix2) => { baseStyles: {} }; for (const [themeName, { extend: extend2, layout: layout2, colors: colors2 }] of Object.entries(themes)) { - let cssSelector = ".".concat(themeName); + let cssSelector = `.${themeName}`; const scheme = themeName === "light" || themeName === "dark" ? themeName : extend2; let baseSelector = ""; if (themeName === defaultTheme) { - baseSelector = ":root, [data-theme=".concat(themeName, "]"); + baseSelector = `:root, [data-theme=${themeName}]`; } baseSelector && (resolved.baseStyles[baseSelector] = scheme ? { "color-scheme": scheme @@ -31035,30 +30373,28 @@ var resolveConfig$2 = (themes = {}, defaultTheme, prefix2) => { const flatLayout = layout2 ? mapKeys$1(layout2, (_2, key2) => kebabCase$1(key2)) : {}; resolved.variants.push({ name: themeName, - definition: ["&.".concat(themeName), "&[data-theme='".concat(themeName, "']")] + definition: [`&.${themeName}`, `&[data-theme='${themeName}']`] }); for (const [colorName2, colorValue] of Object.entries(flatColors)) { - if (!colorValue) - return; + if (!colorValue) return; try { const parsedColor = parsedColorsCache$1[colorValue] || Color$2(colorValue).hsl().round(2).array(); parsedColorsCache$1[colorValue] = parsedColor; const [h2, s2, l2, defaultAlphaValue] = parsedColor; - const herouiColorVariable = "--".concat(prefix2, "-").concat(colorName2); - resolved.utilities[cssSelector][herouiColorVariable] = "".concat(h2, " ").concat(s2, "% ").concat(l2, "%"); - baseSelector && (resolved.baseStyles[baseSelector][herouiColorVariable] = "".concat(h2, " ").concat(s2, "% ").concat(l2, "%")); - resolved.colors[colorName2] = "hsl(var(".concat(herouiColorVariable, ") / ").concat(defaultAlphaValue != null ? defaultAlphaValue : "", ")"); + const herouiColorVariable = `--${prefix2}-${colorName2}`; + resolved.utilities[cssSelector][herouiColorVariable] = `${h2} ${s2}% ${l2}%`; + baseSelector && (resolved.baseStyles[baseSelector][herouiColorVariable] = `${h2} ${s2}% ${l2}%`); + resolved.colors[colorName2] = `hsl(var(${herouiColorVariable}) / ${defaultAlphaValue != null ? defaultAlphaValue : ""})`; } catch (error) { console.log("error", error == null ? void 0 : error.message); } } for (const [key2, value] of Object.entries(flatLayout)) { - if (!value) - return; - const layoutVariablePrefix = "--".concat(prefix2, "-").concat(key2); + if (!value) return; + const layoutVariablePrefix = `--${prefix2}-${key2}`; if (typeof value === "object") { for (const [nestedKey, nestedValue] of Object.entries(value)) { - const nestedLayoutVariable = "".concat(layoutVariablePrefix, "-").concat(nestedKey); + const nestedLayoutVariable = `${layoutVariablePrefix}-${nestedKey}`; resolved.utilities[cssSelector][nestedLayoutVariable] = nestedValue; baseSelector && (resolved.baseStyles[baseSelector][nestedLayoutVariable] = nestedValue); } @@ -31073,8 +30409,8 @@ var resolveConfig$2 = (themes = {}, defaultTheme, prefix2) => { }; var corePlugin$1 = (themes = {}, defaultTheme, prefix2, addCommonColors) => { const resolved = resolveConfig$2(themes, defaultTheme, prefix2); - const createStripeGradient = (stripeColor, backgroundColor) => "linear-gradient(45deg, hsl(var(--".concat(prefix2, "-").concat(stripeColor, ")) 25%, hsl(var(--").concat(prefix2, "-").concat(backgroundColor, ")) 25%, hsl(var(--").concat(prefix2, "-").concat(backgroundColor, ")) 50%, hsl(var(--").concat(prefix2, "-").concat(stripeColor, ")) 50%, hsl(var(--").concat(prefix2, "-").concat(stripeColor, ")) 75%, hsl(var(--").concat(prefix2, "-").concat(backgroundColor, ")) 75%, hsl(var(--").concat(prefix2, "-").concat(backgroundColor, ")))"); - return u$3( + const createStripeGradient = (stripeColor, backgroundColor) => `linear-gradient(45deg, hsl(var(--${prefix2}-${stripeColor})) 25%, hsl(var(--${prefix2}-${backgroundColor})) 25%, hsl(var(--${prefix2}-${backgroundColor})) 50%, hsl(var(--${prefix2}-${stripeColor})) 50%, hsl(var(--${prefix2}-${stripeColor})) 75%, hsl(var(--${prefix2}-${backgroundColor})) 75%, hsl(var(--${prefix2}-${backgroundColor})))`; + return u$2( ({ addBase, addUtilities, addVariant }) => { addBase({ [":root, [data-theme]"]: { @@ -31101,33 +30437,33 @@ var corePlugin$1 = (themes = {}, defaultTheme, prefix2, addCommonColors) => { "85": "0.85" }, height: { - divider: "var(--".concat(prefix2, "-divider-weight)") + divider: `var(--${prefix2}-divider-weight)` }, width: { - divider: "var(--".concat(prefix2, "-divider-weight)") + divider: `var(--${prefix2}-divider-weight)` }, borderRadius: { - small: "var(--".concat(prefix2, "-radius-small)"), - medium: "var(--".concat(prefix2, "-radius-medium)"), - large: "var(--".concat(prefix2, "-radius-large)") + small: `var(--${prefix2}-radius-small)`, + medium: `var(--${prefix2}-radius-medium)`, + large: `var(--${prefix2}-radius-large)` }, opacity: { - hover: "var(--".concat(prefix2, "-hover-opacity)"), - disabled: "var(--".concat(prefix2, "-disabled-opacity)") + hover: `var(--${prefix2}-hover-opacity)`, + disabled: `var(--${prefix2}-disabled-opacity)` }, borderWidth: { - small: "var(--".concat(prefix2, "-border-width-small)"), - medium: "var(--".concat(prefix2, "-border-width-medium)"), - large: "var(--".concat(prefix2, "-border-width-large)"), + small: `var(--${prefix2}-border-width-small)`, + medium: `var(--${prefix2}-border-width-medium)`, + large: `var(--${prefix2}-border-width-large)`, 1: "1px", 1.5: "1.5px", 3: "3px", 5: "5px" }, boxShadow: { - small: "var(--".concat(prefix2, "-box-shadow-small)"), - medium: "var(--".concat(prefix2, "-box-shadow-medium)"), - large: "var(--".concat(prefix2, "-box-shadow-large)") + small: `var(--${prefix2}-box-shadow-small)`, + medium: `var(--${prefix2}-box-shadow-medium)`, + large: `var(--${prefix2}-box-shadow-large)` }, backgroundSize: { "stripe-size": "1.25rem 1.25rem" @@ -31156,7 +30492,7 @@ var corePlugin$1 = (themes = {}, defaultTheme, prefix2, addCommonColors) => { ); }; var heroui$1 = (config2 = {}) => { - var _a3, _b2, _c2, _d2; + var _a2, _b, _c, _d; const { themes: themeObject = {}, defaultTheme = "light", @@ -31165,8 +30501,8 @@ var heroui$1 = (config2 = {}) => { prefix: defaultPrefix = DEFAULT_PREFIX$1, addCommonColors = false } = config2; - const userLightColors = ((_a3 = themeObject == null ? void 0 : themeObject.light) == null ? void 0 : _a3.colors) || {}; - const userDarkColors = ((_b2 = themeObject == null ? void 0 : themeObject.dark) == null ? void 0 : _b2.colors) || {}; + const userLightColors = ((_a2 = themeObject == null ? void 0 : themeObject.light) == null ? void 0 : _a2.colors) || {}; + const userDarkColors = ((_b = themeObject == null ? void 0 : themeObject.dark) == null ? void 0 : _b.colors) || {}; const defaultLayoutObj = userLayout && typeof userLayout === "object" ? deepMerge(defaultLayout$1, userLayout) : defaultLayout$1; const baseLayouts = { light: { @@ -31187,11 +30523,11 @@ var heroui$1 = (config2 = {}) => { otherThemes[themeName].layout = layout2 && typeof layout2 === "object" ? deepMerge(baseLayout, layout2) : baseLayout; }); const light2 = { - layout: deepMerge(baseLayouts.light, ((_c2 = themeObject == null ? void 0 : themeObject.light) == null ? void 0 : _c2.layout) || {}), + layout: deepMerge(baseLayouts.light, ((_c = themeObject == null ? void 0 : themeObject.light) == null ? void 0 : _c.layout) || {}), colors: deepMerge(semanticColors$1.light, userLightColors) }; const dark = { - layout: deepMerge(baseLayouts.dark, ((_d2 = themeObject == null ? void 0 : themeObject.dark) == null ? void 0 : _d2.layout) || {}), + layout: deepMerge(baseLayouts.dark, ((_d = themeObject == null ? void 0 : themeObject.dark) == null ? void 0 : _d.layout) || {}), colors: deepMerge(semanticColors$1.dark, userDarkColors) }; const themes = { @@ -31215,12 +30551,12 @@ function createContext2(options2 = {}) { const Context2 = reactExports.createContext(void 0); Context2.displayName = name; function useContext2() { - var _a3; + var _a2; const context = reactExports.useContext(Context2); if (!context && strict) { const error = new Error(errorMessage); error.name = "ContextError"; - (_a3 = Error.captureStackTrace) == null ? void 0 : _a3.call(Error, error, useContext2); + (_a2 = Error.captureStackTrace) == null ? void 0 : _a2.call(Error, error, useContext2); throw error; } return context; @@ -31229,20 +30565,18 @@ function createContext2(options2 = {}) { } "use client"; var getCSSStyleVal = (str, parentNum) => { - if (!str) - return 0; + if (!str) return 0; const strVal = str.includes("px") ? +str.split("px")[0] : str.includes("%") ? +str.split("%")[0] * parentNum * 0.01 : str; return Number.isNaN(+strVal) ? 0 : +strVal; }; var getRealShape = (el2) => { const defaultShape = { width: 0, height: 0 }; - if (!el2 || typeof window === "undefined") - return defaultShape; + if (!el2 || typeof window === "undefined") return defaultShape; const rect = el2.getBoundingClientRect(); const { width, height } = window.getComputedStyle(el2); return { - width: getCSSStyleVal("".concat(width), rect.width), - height: getCSSStyleVal("".concat(height), rect.height) + width: getCSSStyleVal(`${width}`, rect.width), + height: getCSSStyleVal(`${height}`, rect.height) }; }; "use client"; @@ -31297,25 +30631,20 @@ function getUserAgentOS(navigator2) { } function detectDeviceType(navigator2) { const { userAgent: ua2 } = navigator2; - if (/(tablet)|(iPad)|(Nexus 9)/i.test(ua2)) - return "tablet"; - if (/(mobi)/i.test(ua2)) - return "phone"; + if (/(tablet)|(iPad)|(Nexus 9)/i.test(ua2)) return "tablet"; + if (/(mobi)/i.test(ua2)) return "phone"; return "desktop"; } function detectOS(os) { - if (!isBrowser$3) - return false; + if (!isBrowser$3) return false; return getUserAgentOS(window.navigator) === os; } function detectBrowser(browser) { - if (!isBrowser$3) - return false; + if (!isBrowser$3) return false; return getUserAgentBrowser(window.navigator) === browser; } function detectTouch() { - if (!isBrowser$3) - return false; + if (!isBrowser$3) return false; return window.ontouchstart === null && window.ontouchmove === null && window.ontouchend === null; } function createDOMRef(ref) { @@ -31350,8 +30679,8 @@ function useSyncRef(context, ref) { if (context && context.ref && ref && ref.current) { context.ref.current = ref.current; return () => { - var _a3; - if ((_a3 = context.ref) == null ? void 0 : _a3.current) { + var _a2; + if ((_a2 = context.ref) == null ? void 0 : _a2.current) { context.ref.current = null; } }; @@ -31363,16 +30692,15 @@ function areRectsIntersecting(rect1, rect2) { } "use client"; function assignRef(ref, value) { - if (ref == null) - return; + if (ref == null) return; if (isFunction$2(ref)) { ref(value); return; } try { ref.current = value; - } catch (e3) { - throw new Error("Cannot assign value '".concat(value, "' to ref '").concat(ref, "'")); + } catch { + throw new Error(`Cannot assign value '${value}' to ref '${ref}'`); } } function mergeRefs(...refs) { @@ -31396,17 +30724,16 @@ function getValidChildren(children) { ); } var pickChildren = (children, targetChild) => { - var _a3; + var _a2; let target = []; - const withoutTargetChildren = (_a3 = reactExports.Children.map(children, (item) => { - if (!reactExports.isValidElement(item)) - return item; + const withoutTargetChildren = (_a2 = reactExports.Children.map(children, (item) => { + if (!reactExports.isValidElement(item)) return item; if (item.type === targetChild) { target.push(item); return null; } return item; - })) == null ? void 0 : _a3.filter(Boolean); + })) == null ? void 0 : _a2.filter(Boolean); const targetChildren = target.length >= 0 ? target : void 0; return [withoutTargetChildren, targetChildren]; }; @@ -31679,10 +31006,8 @@ function $148a7a147e38ea7f$export$702d680b21cbd764$1(localeString) { if (Intl.Locale) { let locale2 = new Intl.Locale(localeString).maximize(); let textInfo = typeof locale2.getTextInfo === "function" ? locale2.getTextInfo() : locale2.textInfo; - if (textInfo) - return textInfo.direction === "rtl"; - if (locale2.script) - return $148a7a147e38ea7f$var$RTL_SCRIPTS$1.has(locale2.script); + if (textInfo) return textInfo.direction === "rtl"; + if (locale2.script) return $148a7a147e38ea7f$var$RTL_SCRIPTS$1.has(locale2.script); } let lang = localeString.split("-")[0]; return $148a7a147e38ea7f$var$RTL_LANGS$1.has(lang); @@ -31700,7 +31025,7 @@ function $b5e257d569688ac6$var$LegacySSRProvider$1(props) { let value = (0, reactExports.useMemo)(() => ({ // If this is the first SSRProvider, start with an empty string prefix, otherwise // append and increment the counter. - prefix: cur === $b5e257d569688ac6$var$defaultContext$1 ? "" : "".concat(cur.prefix, "-").concat(counter), + prefix: cur === $b5e257d569688ac6$var$defaultContext$1 ? "" : `${cur.prefix}-${counter}`, current: 0 }), [ cur, @@ -31753,17 +31078,16 @@ function $b5e257d569688ac6$var$useCounter$1(isDisabled = false) { } function $b5e257d569688ac6$var$useLegacySSRSafeId$1(defaultId) { let ctx = (0, reactExports.useContext)($b5e257d569688ac6$var$SSRContext$1); - if (ctx === $b5e257d569688ac6$var$defaultContext$1 && !$b5e257d569688ac6$var$canUseDOM$1 && false) - console.warn("When server rendering, you must wrap your application in an to ensure consistent ids are generated between the client and server."); + if (ctx === $b5e257d569688ac6$var$defaultContext$1 && !$b5e257d569688ac6$var$canUseDOM$1 && false) console.warn("When server rendering, you must wrap your application in an to ensure consistent ids are generated between the client and server."); let counter = $b5e257d569688ac6$var$useCounter$1(!!defaultId); - let prefix2 = ctx === $b5e257d569688ac6$var$defaultContext$1 && false ? "react-aria" : "react-aria".concat(ctx.prefix); - return defaultId || "".concat(prefix2, "-").concat(counter); + let prefix2 = ctx === $b5e257d569688ac6$var$defaultContext$1 && false ? "react-aria" : `react-aria${ctx.prefix}`; + return defaultId || `${prefix2}-${counter}`; } function $b5e257d569688ac6$var$useModernSSRSafeId$1(defaultId) { let id2 = (0, React$3).useId(); let [didSSR] = (0, reactExports.useState)($b5e257d569688ac6$export$535bd6ca7f90a273$1()); - let prefix2 = didSSR || false ? "react-aria" : "react-aria".concat($b5e257d569688ac6$var$defaultContext$1.prefix); - return defaultId || "".concat(prefix2, "-").concat(id2); + let prefix2 = didSSR || false ? "react-aria" : `react-aria${$b5e257d569688ac6$var$defaultContext$1.prefix}`; + return defaultId || `${prefix2}-${id2}`; } const $b5e257d569688ac6$export$619500959fc48b26$1 = typeof (0, React$3)["useId"] === "function" ? $b5e257d569688ac6$var$useModernSSRSafeId$1 : $b5e257d569688ac6$var$useLegacySSRSafeId$1; function $b5e257d569688ac6$var$getSnapshot$1() { @@ -31777,8 +31101,7 @@ function $b5e257d569688ac6$var$subscribe$1(onStoreChange) { }; } function $b5e257d569688ac6$export$535bd6ca7f90a273$1() { - if (typeof (0, React$3)["useSyncExternalStore"] === "function") - return (0, React$3)["useSyncExternalStore"]($b5e257d569688ac6$var$subscribe$1, $b5e257d569688ac6$var$getSnapshot$1, $b5e257d569688ac6$var$getServerSnapshot$1); + if (typeof (0, React$3)["useSyncExternalStore"] === "function") return (0, React$3)["useSyncExternalStore"]($b5e257d569688ac6$var$subscribe$1, $b5e257d569688ac6$var$getSnapshot$1, $b5e257d569688ac6$var$getServerSnapshot$1); return (0, reactExports.useContext)($b5e257d569688ac6$var$IsSSRContext$1); } const $1e5a04cdaf7d1af8$var$localeSymbol$1 = Symbol.for("react-aria.i18n.locale"); @@ -31788,7 +31111,7 @@ function $1e5a04cdaf7d1af8$export$f09106e7c6677ec5$1() { Intl.DateTimeFormat.supportedLocalesOf([ locale2 ]); - } catch (e3) { + } catch { locale2 = "en-US"; } return { @@ -31800,27 +31123,23 @@ let $1e5a04cdaf7d1af8$var$currentLocale$1 = $1e5a04cdaf7d1af8$export$f09106e7c66 let $1e5a04cdaf7d1af8$var$listeners$1 = /* @__PURE__ */ new Set(); function $1e5a04cdaf7d1af8$var$updateLocale$1() { $1e5a04cdaf7d1af8$var$currentLocale$1 = $1e5a04cdaf7d1af8$export$f09106e7c6677ec5$1(); - for (let listener2 of $1e5a04cdaf7d1af8$var$listeners$1) - listener2($1e5a04cdaf7d1af8$var$currentLocale$1); + for (let listener2 of $1e5a04cdaf7d1af8$var$listeners$1) listener2($1e5a04cdaf7d1af8$var$currentLocale$1); } function $1e5a04cdaf7d1af8$export$188ec29ebc2bdc3a$1() { let isSSR = (0, $b5e257d569688ac6$export$535bd6ca7f90a273$1)(); let [defaultLocale2, setDefaultLocale] = (0, reactExports.useState)($1e5a04cdaf7d1af8$var$currentLocale$1); (0, reactExports.useEffect)(() => { - if ($1e5a04cdaf7d1af8$var$listeners$1.size === 0) - window.addEventListener("languagechange", $1e5a04cdaf7d1af8$var$updateLocale$1); + if ($1e5a04cdaf7d1af8$var$listeners$1.size === 0) window.addEventListener("languagechange", $1e5a04cdaf7d1af8$var$updateLocale$1); $1e5a04cdaf7d1af8$var$listeners$1.add(setDefaultLocale); return () => { $1e5a04cdaf7d1af8$var$listeners$1.delete(setDefaultLocale); - if ($1e5a04cdaf7d1af8$var$listeners$1.size === 0) - window.removeEventListener("languagechange", $1e5a04cdaf7d1af8$var$updateLocale$1); + if ($1e5a04cdaf7d1af8$var$listeners$1.size === 0) window.removeEventListener("languagechange", $1e5a04cdaf7d1af8$var$updateLocale$1); }; }, []); - if (isSSR) - return { - locale: "en-US", - direction: "ltr" - }; + if (isSSR) return { + locale: "en-US", + direction: "ltr" + }; return defaultLocale2; } const $18f2051aff69b9bf$var$I18nContext$1 = /* @__PURE__ */ (0, React$3).createContext(null); @@ -31828,8 +31147,7 @@ function $18f2051aff69b9bf$export$a54013f0d02a8f82$1(props) { let { locale: locale2, children } = props; let defaultLocale2 = (0, $1e5a04cdaf7d1af8$export$188ec29ebc2bdc3a$1)(); let value = (0, React$3).useMemo(() => { - if (!locale2) - return defaultLocale2; + if (!locale2) return defaultLocale2; return { locale: locale2, direction: (0, $148a7a147e38ea7f$export$702d680b21cbd764$1)(locale2) ? "rtl" : "ltr" @@ -31855,8 +31173,7 @@ class $d6fd23bc337660df$export$64839e615120df17 { this.messages[locale2] = strings; } let string2 = strings[key2]; - if (!string2) - throw new Error("Could not find intl message ".concat(key2, " in ").concat(locale2, " locale")); + if (!string2) throw new Error(`Could not find intl message ${key2} in ${locale2} locale`); return string2; } constructor(messages, defaultLocale2 = "en-US") { @@ -31865,29 +31182,23 @@ class $d6fd23bc337660df$export$64839e615120df17 { } } function $d6fd23bc337660df$var$getStringsForLocale(locale2, strings, defaultLocale2 = "en-US") { - if (strings[locale2]) - return strings[locale2]; + if (strings[locale2]) return strings[locale2]; let language = $d6fd23bc337660df$var$getLanguage(locale2); - if (strings[language]) - return strings[language]; + if (strings[language]) return strings[language]; for (let key2 in strings) { - if (key2.startsWith(language + "-")) - return strings[key2]; + if (key2.startsWith(language + "-")) return strings[key2]; } return strings[defaultLocale2]; } function $d6fd23bc337660df$var$getLanguage(locale2) { - if (Intl.Locale) - return new Intl.Locale(locale2).language; + if (Intl.Locale) return new Intl.Locale(locale2).language; return locale2.split("-")[0]; } var extendStatics = function(d2, b2) { extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d3, b3) { d3.__proto__ = b3; } || function(d3, b3) { - for (var p2 in b3) - if (Object.prototype.hasOwnProperty.call(b3, p2)) - d3[p2] = b3[p2]; + for (var p2 in b3) if (Object.prototype.hasOwnProperty.call(b3, p2)) d3[p2] = b3[p2]; }; return extendStatics(d2, b2); }; @@ -31904,9 +31215,7 @@ var __assign = function() { __assign = Object.assign || function __assign2(t4) { for (var s2, i2 = 1, n2 = arguments.length; i2 < n2; i2++) { s2 = arguments[i2]; - for (var p2 in s2) - if (Object.prototype.hasOwnProperty.call(s2, p2)) - t4[p2] = s2[p2]; + for (var p2 in s2) if (Object.prototype.hasOwnProperty.call(s2, p2)) t4[p2] = s2[p2]; } return t4; }; @@ -31914,9 +31223,8 @@ var __assign = function() { }; function __rest(s2, e3) { var t4 = {}; - for (var p2 in s2) - if (Object.prototype.hasOwnProperty.call(s2, p2) && e3.indexOf(p2) < 0) - t4[p2] = s2[p2]; + for (var p2 in s2) if (Object.prototype.hasOwnProperty.call(s2, p2) && e3.indexOf(p2) < 0) + t4[p2] = s2[p2]; if (s2 != null && typeof Object.getOwnPropertySymbols === "function") for (var i2 = 0, p2 = Object.getOwnPropertySymbols(s2); i2 < p2.length; i2++) { if (e3.indexOf(p2[i2]) < 0 && Object.prototype.propertyIsEnumerable.call(s2, p2[i2])) @@ -31926,12 +31234,8 @@ function __rest(s2, e3) { } function __decorate(decorators, target, key2, desc) { var c2 = arguments.length, r2 = c2 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key2) : desc, d2; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") - r2 = Reflect.decorate(decorators, target, key2, desc); - else - for (var i2 = decorators.length - 1; i2 >= 0; i2--) - if (d2 = decorators[i2]) - r2 = (c2 < 3 ? d2(r2) : c2 > 3 ? d2(target, key2, r2) : d2(target, key2)) || r2; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r2 = Reflect.decorate(decorators, target, key2, desc); + else for (var i2 = decorators.length - 1; i2 >= 0; i2--) if (d2 = decorators[i2]) r2 = (c2 < 3 ? d2(r2) : c2 > 3 ? d2(target, key2, r2) : d2(target, key2)) || r2; return c2 > 3 && r2 && Object.defineProperty(target, key2, r2), r2; } function __param(paramIndex, decorator) { @@ -31941,8 +31245,7 @@ function __param(paramIndex, decorator) { } function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) { function accept(f2) { - if (f2 !== void 0 && typeof f2 !== "function") - throw new TypeError("Function expected"); + if (f2 !== void 0 && typeof f2 !== "function") throw new TypeError("Function expected"); return f2; } var kind = contextIn.kind, key2 = kind === "getter" ? "get" : kind === "setter" ? "set" : "value"; @@ -31951,36 +31254,25 @@ function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, e var _2, done = false; for (var i2 = decorators.length - 1; i2 >= 0; i2--) { var context = {}; - for (var p2 in contextIn) - context[p2] = p2 === "access" ? {} : contextIn[p2]; - for (var p2 in contextIn.access) - context.access[p2] = contextIn.access[p2]; + for (var p2 in contextIn) context[p2] = p2 === "access" ? {} : contextIn[p2]; + for (var p2 in contextIn.access) context.access[p2] = contextIn.access[p2]; context.addInitializer = function(f2) { - if (done) - throw new TypeError("Cannot add initializers after decoration has completed"); + if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f2 || null)); }; var result = (0, decorators[i2])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key2], context); if (kind === "accessor") { - if (result === void 0) - continue; - if (result === null || typeof result !== "object") - throw new TypeError("Object expected"); - if (_2 = accept(result.get)) - descriptor.get = _2; - if (_2 = accept(result.set)) - descriptor.set = _2; - if (_2 = accept(result.init)) - initializers.unshift(_2); + if (result === void 0) continue; + if (result === null || typeof result !== "object") throw new TypeError("Object expected"); + if (_2 = accept(result.get)) descriptor.get = _2; + if (_2 = accept(result.set)) descriptor.set = _2; + if (_2 = accept(result.init)) initializers.unshift(_2); } else if (_2 = accept(result)) { - if (kind === "field") - initializers.unshift(_2); - else - descriptor[key2] = _2; + if (kind === "field") initializers.unshift(_2); + else descriptor[key2] = _2; } } - if (target) - Object.defineProperty(target, contextIn.name, descriptor); + if (target) Object.defineProperty(target, contextIn.name, descriptor); done = true; } ; @@ -31997,14 +31289,12 @@ function __propKey(x2) { } ; function __setFunctionName(f2, name, prefix2) { - if (typeof name === "symbol") - name = name.description ? "[".concat(name.description, "]") : ""; + if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : ""; return Object.defineProperty(f2, "name", { configurable: true, value: prefix2 ? "".concat(prefix2, " ", name) : name }); } ; function __metadata(metadataKey, metadataValue) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") - return Reflect.metadata(metadataKey, metadataValue); + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); } function __awaiter(thisArg, _arguments, P2, generator) { function adopt(value) { @@ -32035,8 +31325,7 @@ function __awaiter(thisArg, _arguments, P2, generator) { } function __generator(thisArg, body) { var _2 = { label: 0, sent: function() { - if (t4[0] & 1) - throw t4[1]; + if (t4[0] & 1) throw t4[1]; return t4[1]; }, trys: [], ops: [] }, f2, y2, t4, g2 = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); return g2.next = verb(0), g2["throw"] = verb(1), g2["return"] = verb(2), typeof Symbol === "function" && (g2[Symbol.iterator] = function() { @@ -32048,70 +31337,63 @@ function __generator(thisArg, body) { }; } function step(op) { - if (f2) - throw new TypeError("Generator is already executing."); - while (g2 && (g2 = 0, op[0] && (_2 = 0)), _2) - try { - if (f2 = 1, y2 && (t4 = op[0] & 2 ? y2["return"] : op[0] ? y2["throw"] || ((t4 = y2["return"]) && t4.call(y2), 0) : y2.next) && !(t4 = t4.call(y2, op[1])).done) - return t4; - if (y2 = 0, t4) - op = [op[0] & 2, t4.value]; - switch (op[0]) { - case 0: - case 1: + if (f2) throw new TypeError("Generator is already executing."); + while (g2 && (g2 = 0, op[0] && (_2 = 0)), _2) try { + if (f2 = 1, y2 && (t4 = op[0] & 2 ? y2["return"] : op[0] ? y2["throw"] || ((t4 = y2["return"]) && t4.call(y2), 0) : y2.next) && !(t4 = t4.call(y2, op[1])).done) return t4; + if (y2 = 0, t4) op = [op[0] & 2, t4.value]; + switch (op[0]) { + case 0: + case 1: + t4 = op; + break; + case 4: + _2.label++; + return { value: op[1], done: false }; + case 5: + _2.label++; + y2 = op[1]; + op = [0]; + continue; + case 7: + op = _2.ops.pop(); + _2.trys.pop(); + continue; + default: + if (!(t4 = _2.trys, t4 = t4.length > 0 && t4[t4.length - 1]) && (op[0] === 6 || op[0] === 2)) { + _2 = 0; + continue; + } + if (op[0] === 3 && (!t4 || op[1] > t4[0] && op[1] < t4[3])) { + _2.label = op[1]; + break; + } + if (op[0] === 6 && _2.label < t4[1]) { + _2.label = t4[1]; t4 = op; break; - case 4: - _2.label++; - return { value: op[1], done: false }; - case 5: - _2.label++; - y2 = op[1]; - op = [0]; - continue; - case 7: - op = _2.ops.pop(); - _2.trys.pop(); - continue; - default: - if (!(t4 = _2.trys, t4 = t4.length > 0 && t4[t4.length - 1]) && (op[0] === 6 || op[0] === 2)) { - _2 = 0; - continue; - } - if (op[0] === 3 && (!t4 || op[1] > t4[0] && op[1] < t4[3])) { - _2.label = op[1]; - break; - } - if (op[0] === 6 && _2.label < t4[1]) { - _2.label = t4[1]; - t4 = op; - break; - } - if (t4 && _2.label < t4[2]) { - _2.label = t4[2]; - _2.ops.push(op); - break; - } - if (t4[2]) - _2.ops.pop(); - _2.trys.pop(); - continue; - } - op = body.call(thisArg, _2); - } catch (e3) { - op = [6, e3]; - y2 = 0; - } finally { - f2 = t4 = 0; + } + if (t4 && _2.label < t4[2]) { + _2.label = t4[2]; + _2.ops.push(op); + break; + } + if (t4[2]) _2.ops.pop(); + _2.trys.pop(); + continue; } - if (op[0] & 5) - throw op[1]; + op = body.call(thisArg, _2); + } catch (e3) { + op = [6, e3]; + y2 = 0; + } finally { + f2 = t4 = 0; + } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; } } var __createBinding = Object.create ? function(o2, m2, k2, k22) { - if (k22 === void 0) - k22 = k2; + if (k22 === void 0) k22 = k2; var desc = Object.getOwnPropertyDescriptor(m2, k2); if (!desc || ("get" in desc ? !m2.__esModule : desc.writable || desc.configurable)) { desc = { enumerable: true, get: function() { @@ -32120,46 +31402,36 @@ var __createBinding = Object.create ? function(o2, m2, k2, k22) { } Object.defineProperty(o2, k22, desc); } : function(o2, m2, k2, k22) { - if (k22 === void 0) - k22 = k2; + if (k22 === void 0) k22 = k2; o2[k22] = m2[k2]; }; function __exportStar(m2, o2) { - for (var p2 in m2) - if (p2 !== "default" && !Object.prototype.hasOwnProperty.call(o2, p2)) - __createBinding(o2, m2, p2); + for (var p2 in m2) if (p2 !== "default" && !Object.prototype.hasOwnProperty.call(o2, p2)) __createBinding(o2, m2, p2); } function __values(o2) { var s2 = typeof Symbol === "function" && Symbol.iterator, m2 = s2 && o2[s2], i2 = 0; - if (m2) - return m2.call(o2); - if (o2 && typeof o2.length === "number") - return { - next: function() { - if (o2 && i2 >= o2.length) - o2 = void 0; - return { value: o2 && o2[i2++], done: !o2 }; - } - }; + if (m2) return m2.call(o2); + if (o2 && typeof o2.length === "number") return { + next: function() { + if (o2 && i2 >= o2.length) o2 = void 0; + return { value: o2 && o2[i2++], done: !o2 }; + } + }; throw new TypeError(s2 ? "Object is not iterable." : "Symbol.iterator is not defined."); } function __read(o2, n2) { var m2 = typeof Symbol === "function" && o2[Symbol.iterator]; - if (!m2) - return o2; + if (!m2) return o2; var i2 = m2.call(o2), r2, ar = [], e3; try { - while ((n2 === void 0 || n2-- > 0) && !(r2 = i2.next()).done) - ar.push(r2.value); + while ((n2 === void 0 || n2-- > 0) && !(r2 = i2.next()).done) ar.push(r2.value); } catch (error) { e3 = { error }; } finally { try { - if (r2 && !r2.done && (m2 = i2["return"])) - m2.call(i2); + if (r2 && !r2.done && (m2 = i2["return"])) m2.call(i2); } finally { - if (e3) - throw e3.error; + if (e3) throw e3.error; } } return ar; @@ -32170,30 +31442,26 @@ function __spread() { return ar; } function __spreadArrays() { - for (var s2 = 0, i2 = 0, il2 = arguments.length; i2 < il2; i2++) - s2 += arguments[i2].length; + for (var s2 = 0, i2 = 0, il2 = arguments.length; i2 < il2; i2++) s2 += arguments[i2].length; for (var r2 = Array(s2), k2 = 0, i2 = 0; i2 < il2; i2++) for (var a2 = arguments[i2], j2 = 0, jl2 = a2.length; j2 < jl2; j2++, k2++) r2[k2] = a2[j2]; return r2; } function __spreadArray(to2, from2, pack) { - if (pack || arguments.length === 2) - for (var i2 = 0, l2 = from2.length, ar; i2 < l2; i2++) { - if (ar || !(i2 in from2)) { - if (!ar) - ar = Array.prototype.slice.call(from2, 0, i2); - ar[i2] = from2[i2]; - } + if (pack || arguments.length === 2) for (var i2 = 0, l2 = from2.length, ar; i2 < l2; i2++) { + if (ar || !(i2 in from2)) { + if (!ar) ar = Array.prototype.slice.call(from2, 0, i2); + ar[i2] = from2[i2]; } + } return to2.concat(ar || Array.prototype.slice.call(from2)); } function __await(v2) { return this instanceof __await ? (this.v = v2, this) : new __await(v2); } function __asyncGenerator(thisArg, _arguments, generator) { - if (!Symbol.asyncIterator) - throw new TypeError("Symbol.asyncIterator is not defined."); + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g2 = generator.apply(thisArg, _arguments || []), i2, q2 = []; return i2 = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i2[Symbol.asyncIterator] = function() { return this; @@ -32210,8 +31478,7 @@ function __asyncGenerator(thisArg, _arguments, generator) { q2.push([n2, v2, a2, b2]) > 1 || resume(n2, v2); }); }; - if (f2) - i2[n2] = f2(i2[n2]); + if (f2) i2[n2] = f2(i2[n2]); } } function resume(n2, v2) { @@ -32231,8 +31498,7 @@ function __asyncGenerator(thisArg, _arguments, generator) { resume("throw", value); } function settle2(f2, v2) { - if (f2(v2), q2.shift(), q2.length) - resume(q2[0][0], q2[0][1]); + if (f2(v2), q2.shift(), q2.length) resume(q2[0][0], q2[0][1]); } } function __asyncDelegator(o2) { @@ -32249,8 +31515,7 @@ function __asyncDelegator(o2) { } } function __asyncValues(o2) { - if (!Symbol.asyncIterator) - throw new TypeError("Symbol.asyncIterator is not defined."); + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var m2 = o2[Symbol.asyncIterator], i2; return m2 ? m2.call(o2) : (o2 = typeof __values === "function" ? __values(o2) : o2[Symbol.iterator](), i2 = {}, verb("next"), verb("throw"), verb("return"), i2[Symbol.asyncIterator] = function() { return this; @@ -32285,21 +31550,16 @@ var __setModuleDefault = Object.create ? function(o2, v2) { var ownKeys$Y = function(o2) { ownKeys$Y = Object.getOwnPropertyNames || function(o3) { var ar = []; - for (var k2 in o3) - if (Object.prototype.hasOwnProperty.call(o3, k2)) - ar[ar.length] = k2; + for (var k2 in o3) if (Object.prototype.hasOwnProperty.call(o3, k2)) ar[ar.length] = k2; return ar; }; return ownKeys$Y(o2); }; function __importStar(mod) { - if (mod && mod.__esModule) - return mod; + if (mod && mod.__esModule) return mod; var result = {}; if (mod != null) { - for (var k2 = ownKeys$Y(mod), i2 = 0; i2 < k2.length; i2++) - if (k2[i2] !== "default") - __createBinding(result, mod, k2[i2]); + for (var k2 = ownKeys$Y(mod), i2 = 0; i2 < k2.length; i2++) if (k2[i2] !== "default") __createBinding(result, mod, k2[i2]); } __setModuleDefault(result, mod); return result; @@ -32308,53 +31568,41 @@ function __importDefault(mod) { return mod && mod.__esModule ? mod : { default: mod }; } function __classPrivateFieldGet(receiver, state2, kind, f2) { - if (kind === "a" && !f2) - throw new TypeError("Private accessor was defined without a getter"); - if (typeof state2 === "function" ? receiver !== state2 || !f2 : !state2.has(receiver)) - throw new TypeError("Cannot read private member from an object whose class did not declare it"); + if (kind === "a" && !f2) throw new TypeError("Private accessor was defined without a getter"); + if (typeof state2 === "function" ? receiver !== state2 || !f2 : !state2.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); return kind === "m" ? f2 : kind === "a" ? f2.call(receiver) : f2 ? f2.value : state2.get(receiver); } function __classPrivateFieldSet(receiver, state2, value, kind, f2) { - if (kind === "m") - throw new TypeError("Private method is not writable"); - if (kind === "a" && !f2) - throw new TypeError("Private accessor was defined without a setter"); - if (typeof state2 === "function" ? receiver !== state2 || !f2 : !state2.has(receiver)) - throw new TypeError("Cannot write private member to an object whose class did not declare it"); + if (kind === "m") throw new TypeError("Private method is not writable"); + if (kind === "a" && !f2) throw new TypeError("Private accessor was defined without a setter"); + if (typeof state2 === "function" ? receiver !== state2 || !f2 : !state2.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it"); return kind === "a" ? f2.call(receiver, value) : f2 ? f2.value = value : state2.set(receiver, value), value; } function __classPrivateFieldIn(state2, receiver) { - if (receiver === null || typeof receiver !== "object" && typeof receiver !== "function") - throw new TypeError("Cannot use 'in' operator on non-object"); + if (receiver === null || typeof receiver !== "object" && typeof receiver !== "function") throw new TypeError("Cannot use 'in' operator on non-object"); return typeof state2 === "function" ? receiver === state2 : state2.has(receiver); } function __addDisposableResource(env, value, async) { if (value !== null && value !== void 0) { - if (typeof value !== "object" && typeof value !== "function") - throw new TypeError("Object expected."); + if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected."); var dispose, inner; if (async) { - if (!Symbol.asyncDispose) - throw new TypeError("Symbol.asyncDispose is not defined."); + if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined."); dispose = value[Symbol.asyncDispose]; } if (dispose === void 0) { - if (!Symbol.dispose) - throw new TypeError("Symbol.dispose is not defined."); + if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined."); dispose = value[Symbol.dispose]; - if (async) - inner = dispose; + if (async) inner = dispose; } - if (typeof dispose !== "function") - throw new TypeError("Object not disposable."); - if (inner) - dispose = function() { - try { - inner.call(this); - } catch (e3) { - return Promise.reject(e3); - } - }; + if (typeof dispose !== "function") throw new TypeError("Object not disposable."); + if (inner) dispose = function() { + try { + inner.call(this); + } catch (e3) { + return Promise.reject(e3); + } + }; env.stack.push({ value, dispose, async }); } else if (async) { env.stack.push({ async: true }); @@ -32374,25 +31622,20 @@ function __disposeResources(env) { function next() { while (r2 = env.stack.pop()) { try { - if (!r2.async && s2 === 1) - return s2 = 0, env.stack.push(r2), Promise.resolve().then(next); + if (!r2.async && s2 === 1) return s2 = 0, env.stack.push(r2), Promise.resolve().then(next); if (r2.dispose) { var result = r2.dispose.call(r2.value); - if (r2.async) - return s2 |= 2, Promise.resolve(result).then(next, function(e3) { - fail(e3); - return next(); - }); - } else - s2 |= 1; + if (r2.async) return s2 |= 2, Promise.resolve(result).then(next, function(e3) { + fail(e3); + return next(); + }); + } else s2 |= 1; } catch (e3) { fail(e3); } } - if (s2 === 1) - return env.hasError ? Promise.reject(env.error) : Promise.resolve(); - if (env.hasError) - throw env.error; + if (s2 === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve(); + if (env.hasError) throw env.error; } return next(); } @@ -32711,15 +31954,15 @@ function parseNumberSkeletonFromString(skeleton2) { return x2.length > 0; }); var tokens = []; - for (var _i2 = 0, stringTokens_1 = stringTokens; _i2 < stringTokens_1.length; _i2++) { - var stringToken = stringTokens_1[_i2]; + for (var _i = 0, stringTokens_1 = stringTokens; _i < stringTokens_1.length; _i++) { + var stringToken = stringTokens_1[_i]; var stemAndOptions = stringToken.split("/"); if (stemAndOptions.length === 0) { throw new Error("Invalid number skeleton"); } var stem = stemAndOptions[0], options2 = stemAndOptions.slice(1); - for (var _a3 = 0, options_1 = options2; _a3 < options_1.length; _a3++) { - var option = options_1[_a3]; + for (var _a2 = 0, options_1 = options2; _a2 < options_1.length; _a2++) { + var option = options_1[_a2]; if (option.length === 0) { throw new Error("Invalid number skeleton"); } @@ -32837,8 +32080,8 @@ function parseNotationOptions(opt) { } function parseNumberSkeleton(tokens) { var result = {}; - for (var _i2 = 0, tokens_1 = tokens; _i2 < tokens_1.length; _i2++) { - var token = tokens_1[_i2]; + for (var _i = 0, tokens_1 = tokens; _i < tokens_1.length; _i++) { + var token = tokens_1[_i]; switch (token.stem) { case "percent": case "%": @@ -34501,8 +33744,8 @@ var fromCodePoint = hasNativeFromCodePoint ? String.fromCodePoint : ( // IE11 function fromCodePoint2() { var codePoints = []; - for (var _i2 = 0; _i2 < arguments.length; _i2++) { - codePoints[_i2] = arguments[_i2]; + for (var _i = 0; _i < arguments.length; _i++) { + codePoints[_i] = arguments[_i]; } var elements = ""; var length2 = codePoints.length; @@ -34523,8 +33766,8 @@ var fromEntries = ( // Ponyfill function fromEntries2(entries) { var obj = {}; - for (var _i2 = 0, entries_1 = entries; _i2 < entries_1.length; _i2++) { - var _a3 = entries_1[_i2], k2 = _a3[0], v2 = _a3[1]; + for (var _i = 0, entries_1 = entries; _i < entries_1.length; _i++) { + var _a2 = entries_1[_i], k2 = _a2[0], v2 = _a2[1]; obj[k2] = v2; } return obj; @@ -34577,10 +33820,10 @@ var matchIdentifierAtIndex; if (REGEX_SUPPORTS_U_AND_Y) { var IDENTIFIER_PREFIX_RE_1 = RE("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu"); matchIdentifierAtIndex = function matchIdentifierAtIndex2(s2, index2) { - var _a3; + var _a2; IDENTIFIER_PREFIX_RE_1.lastIndex = index2; var match = IDENTIFIER_PREFIX_RE_1.exec(s2); - return (_a3 = match[1]) !== null && _a3 !== void 0 ? _a3 : ""; + return (_a2 = match[1]) !== null && _a2 !== void 0 ? _a2 : ""; }; } else { matchIdentifierAtIndex = function matchIdentifierAtIndex2(s2, index2) { @@ -34859,7 +34102,7 @@ var Parser = ( return { value, location: location2 }; }; Parser2.prototype.parseArgumentOptions = function(nestingLevel, expectingCloseTag, value, openingBracePosition) { - var _a3; + var _a2; var typeStartPosition = this.clonePosition(); var argType = this.parseIdentifierIfPossible().value; var typeEndPosition = this.clonePosition(); @@ -34927,7 +34170,7 @@ var Parser = ( type: argType === "number" ? TYPE.number : argType === "date" ? TYPE.date : TYPE.time, value, location: location_1, - style: (_a3 = styleAndLocation === null || styleAndLocation === void 0 ? void 0 : styleAndLocation.style) !== null && _a3 !== void 0 ? _a3 : null + style: (_a2 = styleAndLocation === null || styleAndLocation === void 0 ? void 0 : styleAndLocation.style) !== null && _a2 !== void 0 ? _a2 : null }, err: null }; @@ -35059,7 +34302,7 @@ var Parser = ( }; }; Parser2.prototype.tryParsePluralOrSelectOptions = function(nestingLevel, parentArgType, expectCloseTag, parsedFirstIdentifier) { - var _a3; + var _a2; var hasOtherClause = false; var options2 = []; var parsedSelectors = /* @__PURE__ */ new Set(); @@ -35106,7 +34349,7 @@ var Parser = ( ]); parsedSelectors.add(selector); this.bumpSpace(); - _a3 = this.parseIdentifierIfPossible(), selector = _a3.value, selectorLocation = _a3.location; + _a2 = this.parseIdentifierIfPossible(), selector = _a2.value, selectorLocation = _a2.location; } if (options2.length === 0) { return this.error(parentArgType === "select" ? ErrorKind.EXPECT_SELECT_ARGUMENT_SELECTOR : ErrorKind.EXPECT_PLURAL_ARGUMENT_SELECTOR, createLocation(this.clonePosition(), this.clonePosition())); @@ -35348,8 +34591,8 @@ function isStructurallySame(a2, b2) { error: new Error("Different number of variables: [".concat(Array.from(aVars.keys()).join(", "), "] vs [").concat(Array.from(bVars.keys()).join(", "), "]")) }; } - return Array.from(aVars.entries()).reduce(function(result, _a3) { - var key2 = _a3[0], type = _a3[1]; + return Array.from(aVars.entries()).reduce(function(result, _a2) { + var key2 = _a2[0], type = _a2[1]; if (!result.success) { return result; } @@ -35488,8 +34731,8 @@ function formatToParts(els, locales, formatters, formats, values, currentPluralV ]; } var result = []; - for (var _i2 = 0, els_1 = els; _i2 < els_1.length; _i2++) { - var el2 = els_1[_i2]; + for (var _i = 0, els_1 = els; _i < els_1.length; _i++) { + var el2 = els_1[_i]; if (isLiteralElement(el2)) { result.push({ type: PART_TYPE.literal, @@ -35603,14 +34846,14 @@ function mergeConfig$2(c1, c2) { return all3; }, {})); } -function mergeConfigs$1(defaultConfig, configs) { +function mergeConfigs$1(defaultConfig2, configs) { if (!configs) { - return defaultConfig; + return defaultConfig2; } - return Object.keys(defaultConfig).reduce(function(all3, k2) { - all3[k2] = mergeConfig$2(defaultConfig[k2], configs[k2]); + return Object.keys(defaultConfig2).reduce(function(all3, k2) { + all3[k2] = mergeConfig$2(defaultConfig2[k2], configs[k2]); return all3; - }, __assign({}, defaultConfig)); + }, __assign({}, defaultConfig2)); } function createFastMemoizeCache(store) { return { @@ -35636,34 +34879,34 @@ function createDefaultFormatters(cache) { } return { getNumberFormat: memoize$2(function() { - var _a3; + var _a2; var args = []; - for (var _i2 = 0; _i2 < arguments.length; _i2++) { - args[_i2] = arguments[_i2]; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; } - return new ((_a3 = Intl.NumberFormat).bind.apply(_a3, __spreadArray([void 0], args, false)))(); + return new ((_a2 = Intl.NumberFormat).bind.apply(_a2, __spreadArray([void 0], args, false)))(); }, { cache: createFastMemoizeCache(cache.number), strategy: strategies.variadic }), getDateTimeFormat: memoize$2(function() { - var _a3; + var _a2; var args = []; - for (var _i2 = 0; _i2 < arguments.length; _i2++) { - args[_i2] = arguments[_i2]; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; } - return new ((_a3 = Intl.DateTimeFormat).bind.apply(_a3, __spreadArray([void 0], args, false)))(); + return new ((_a2 = Intl.DateTimeFormat).bind.apply(_a2, __spreadArray([void 0], args, false)))(); }, { cache: createFastMemoizeCache(cache.dateTime), strategy: strategies.variadic }), getPluralRules: memoize$2(function() { - var _a3; + var _a2; var args = []; - for (var _i2 = 0; _i2 < arguments.length; _i2++) { - args[_i2] = arguments[_i2]; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; } - return new ((_a3 = Intl.PluralRules).bind.apply(_a3, __spreadArray([void 0], args, false)))(); + return new ((_a2 = Intl.PluralRules).bind.apply(_a2, __spreadArray([void 0], args, false)))(); }, { cache: createFastMemoizeCache(cache.pluralRules), strategy: strategies.variadic @@ -35705,9 +34948,9 @@ var IntlMessageFormat = ( return formatToParts(_this.ast, _this.locales, _this.formatters, _this.formats, values, void 0, _this.message); }; this.resolvedOptions = function() { - var _a4; + var _a3; return { - locale: ((_a4 = _this.resolvedLocale) === null || _a4 === void 0 ? void 0 : _a4.toString()) || Intl.NumberFormat.supportedLocalesOf(_this.locales)[0] + locale: ((_a3 = _this.resolvedLocale) === null || _a3 === void 0 ? void 0 : _a3.toString()) || Intl.NumberFormat.supportedLocalesOf(_this.locales)[0] }; }; this.getAst = function() { @@ -35720,7 +34963,7 @@ var IntlMessageFormat = ( if (!IntlMessageFormat2.__parse) { throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`"); } - var _a3 = opts || {}, formatters = _a3.formatters, parseOpts = __rest(_a3, ["formatters"]); + var _a2 = opts || {}, formatters = _a2.formatters, parseOpts = __rest(_a2, ["formatters"]); this.ast = IntlMessageFormat2.__parse(message, __assign(__assign({}, parseOpts), { locale: this.resolvedLocale })); } else { this.ast = message; @@ -35820,17 +35063,15 @@ class $972eb555d604f491$export$526ebc05ff964723 { let message = this.cache[key2]; if (!message) { let msg = this.messages.getStringForLocale(key2, this.locale); - if (!msg) - throw new Error("Could not find intl message ".concat(key2, " in ").concat(this.locale, " locale")); + if (!msg) throw new Error(`Could not find intl message ${key2} in ${this.locale} locale`); message = new (0, IntlMessageFormat)(msg, this.locale); this.cache[key2] = message; } let varCopy; - if (variables) - varCopy = Object.keys(variables).reduce((acc, key3) => { - acc[key3] = variables[key3] == null ? false : variables[key3]; - return acc; - }, {}); + if (variables) varCopy = Object.keys(variables).reduce((acc, key3) => { + acc[key3] = variables[key3] == null ? false : variables[key3]; + return acc; + }, {}); return message.format(varCopy); } constructor(locale2, messages) { @@ -35869,8 +35110,7 @@ class $5b160d28a433310d$export$c17fa47878dc55b6 { getStringForLocale(key2, locale2) { let strings = this.getStringsForLocale(locale2); let string2 = strings[key2]; - if (!string2) - throw new Error("Could not find intl message ".concat(key2, " in ").concat(locale2, " locale")); + if (!string2) throw new Error(`Could not find intl message ${key2} in ${locale2} locale`); return string2; } /** Returns all localized strings for the given locale. */ @@ -35883,22 +35123,18 @@ class $5b160d28a433310d$export$c17fa47878dc55b6 { return strings; } static getGlobalDictionaryForPackage(packageName) { - if (typeof window === "undefined") - return null; + if (typeof window === "undefined") return null; let locale2 = window[$5b160d28a433310d$var$localeSymbol]; if ($5b160d28a433310d$var$cachedGlobalStrings === void 0) { let globalStrings = window[$5b160d28a433310d$var$stringsSymbol]; - if (!globalStrings) - return null; + if (!globalStrings) return null; $5b160d28a433310d$var$cachedGlobalStrings = {}; - for (let pkg in globalStrings) - $5b160d28a433310d$var$cachedGlobalStrings[pkg] = new $5b160d28a433310d$export$c17fa47878dc55b6({ - [locale2]: globalStrings[pkg] - }, locale2); + for (let pkg in globalStrings) $5b160d28a433310d$var$cachedGlobalStrings[pkg] = new $5b160d28a433310d$export$c17fa47878dc55b6({ + [locale2]: globalStrings[pkg] + }, locale2); } let dictionary = $5b160d28a433310d$var$cachedGlobalStrings === null || $5b160d28a433310d$var$cachedGlobalStrings === void 0 ? void 0 : $5b160d28a433310d$var$cachedGlobalStrings[packageName]; - if (!dictionary) - throw new Error('Strings for package "'.concat(packageName, '" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.')); + if (!dictionary) throw new Error(`Strings for package "${packageName}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`); return dictionary; } constructor(messages, defaultLocale2 = "en-US") { @@ -35907,14 +35143,11 @@ class $5b160d28a433310d$export$c17fa47878dc55b6 { } } function $5b160d28a433310d$var$getStringsForLocale(locale2, strings, defaultLocale2 = "en-US") { - if (strings[locale2]) - return strings[locale2]; + if (strings[locale2]) return strings[locale2]; let language = $5b160d28a433310d$var$getLanguage(locale2); - if (strings[language]) - return strings[language]; + if (strings[language]) return strings[language]; for (let key2 in strings) { - if (key2.startsWith(language + "-")) - return strings[key2]; + if (key2.startsWith(language + "-")) return strings[key2]; } return strings[defaultLocale2]; } @@ -35933,8 +35166,7 @@ class $6db58dc88e78b024$export$2f817fcdc4b89ae0 { } plural(count2, options2, type = "cardinal") { let opt = options2["=" + count2]; - if (opt) - return typeof opt === "function" ? opt() : opt; + if (opt) return typeof opt === "function" ? opt() : opt; let key2 = this.locale + ":" + type; let pluralRules = $6db58dc88e78b024$var$pluralRulesCache.get(key2); if (!pluralRules) { @@ -35991,27 +35223,25 @@ function $33bf17300c498528$export$a2f47a3d2973640$1(options2 = {}) { options2 ]); } -function $2b4dce13dd5a17fa$export$842a2cf37af977e1$9(amount, numerator) { +function $2b4dce13dd5a17fa$export$842a2cf37af977e1(amount, numerator) { return amount - numerator * Math.floor(amount / numerator); } -const $3b62074eb05584b2$var$EPOCH$9 = 1721426; -function $3b62074eb05584b2$export$f297eb839006d339$9(era, year, month, day) { - year = $3b62074eb05584b2$export$c36e0ecb2d4fa69d$9(era, year); +const $3b62074eb05584b2$var$EPOCH = 1721426; +function $3b62074eb05584b2$export$f297eb839006d339(era, year, month, day) { + year = $3b62074eb05584b2$export$c36e0ecb2d4fa69d(era, year); let y1 = year - 1; let monthOffset = -2; - if (month <= 2) - monthOffset = 0; - else if ($3b62074eb05584b2$export$553d7fa8e3805fc0$9(year)) - monthOffset = -1; - return $3b62074eb05584b2$var$EPOCH$9 - 1 + 365 * y1 + Math.floor(y1 / 4) - Math.floor(y1 / 100) + Math.floor(y1 / 400) + Math.floor((367 * month - 362) / 12 + monthOffset + day); + if (month <= 2) monthOffset = 0; + else if ($3b62074eb05584b2$export$553d7fa8e3805fc0(year)) monthOffset = -1; + return $3b62074eb05584b2$var$EPOCH - 1 + 365 * y1 + Math.floor(y1 / 4) - Math.floor(y1 / 100) + Math.floor(y1 / 400) + Math.floor((367 * month - 362) / 12 + monthOffset + day); } -function $3b62074eb05584b2$export$553d7fa8e3805fc0$9(year) { +function $3b62074eb05584b2$export$553d7fa8e3805fc0(year) { return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0); } -function $3b62074eb05584b2$export$c36e0ecb2d4fa69d$9(era, year) { +function $3b62074eb05584b2$export$c36e0ecb2d4fa69d(era, year) { return era === "BC" ? 1 - year : year; } -function $3b62074eb05584b2$export$4475b7e617eb123c$9(year) { +function $3b62074eb05584b2$export$4475b7e617eb123c(year) { let era = "AD"; if (year <= 0) { era = "BC"; @@ -36022,7 +35252,7 @@ function $3b62074eb05584b2$export$4475b7e617eb123c$9(year) { year ]; } -const $3b62074eb05584b2$var$daysInMonth$9 = { +const $3b62074eb05584b2$var$daysInMonth = { standard: [ 31, 28, @@ -36052,41 +35282,39 @@ const $3b62074eb05584b2$var$daysInMonth$9 = { 31 ] }; -let $3b62074eb05584b2$export$80ee6245ec4f29ec$9 = class $3b62074eb05584b2$export$80ee6245ec4f29ec { +class $3b62074eb05584b2$export$80ee6245ec4f29ec { fromJulianDay(jd2) { let jd0 = jd2; - let depoch = jd0 - $3b62074eb05584b2$var$EPOCH$9; + let depoch = jd0 - $3b62074eb05584b2$var$EPOCH; let quadricent = Math.floor(depoch / 146097); - let dqc = (0, $2b4dce13dd5a17fa$export$842a2cf37af977e1$9)(depoch, 146097); + let dqc = (0, $2b4dce13dd5a17fa$export$842a2cf37af977e1)(depoch, 146097); let cent = Math.floor(dqc / 36524); - let dcent = (0, $2b4dce13dd5a17fa$export$842a2cf37af977e1$9)(dqc, 36524); + let dcent = (0, $2b4dce13dd5a17fa$export$842a2cf37af977e1)(dqc, 36524); let quad = Math.floor(dcent / 1461); - let dquad = (0, $2b4dce13dd5a17fa$export$842a2cf37af977e1$9)(dcent, 1461); + let dquad = (0, $2b4dce13dd5a17fa$export$842a2cf37af977e1)(dcent, 1461); let yindex = Math.floor(dquad / 365); let extendedYear = quadricent * 400 + cent * 100 + quad * 4 + yindex + (cent !== 4 && yindex !== 4 ? 1 : 0); - let [era, year] = $3b62074eb05584b2$export$4475b7e617eb123c$9(extendedYear); - let yearDay = jd0 - $3b62074eb05584b2$export$f297eb839006d339$9(era, year, 1, 1); + let [era, year] = $3b62074eb05584b2$export$4475b7e617eb123c(extendedYear); + let yearDay = jd0 - $3b62074eb05584b2$export$f297eb839006d339(era, year, 1, 1); let leapAdj = 2; - if (jd0 < $3b62074eb05584b2$export$f297eb839006d339$9(era, year, 3, 1)) - leapAdj = 0; - else if ($3b62074eb05584b2$export$553d7fa8e3805fc0$9(year)) - leapAdj = 1; + if (jd0 < $3b62074eb05584b2$export$f297eb839006d339(era, year, 3, 1)) leapAdj = 0; + else if ($3b62074eb05584b2$export$553d7fa8e3805fc0(year)) leapAdj = 1; let month = Math.floor(((yearDay + leapAdj) * 12 + 373) / 367); - let day = jd0 - $3b62074eb05584b2$export$f297eb839006d339$9(era, year, month, 1) + 1; - return new (0, $35ea8db9cb2ccb90$export$99faa760c7908e4f$9)(era, year, month, day); + let day = jd0 - $3b62074eb05584b2$export$f297eb839006d339(era, year, month, 1) + 1; + return new (0, $35ea8db9cb2ccb90$export$99faa760c7908e4f)(era, year, month, day); } toJulianDay(date2) { - return $3b62074eb05584b2$export$f297eb839006d339$9(date2.era, date2.year, date2.month, date2.day); + return $3b62074eb05584b2$export$f297eb839006d339(date2.era, date2.year, date2.month, date2.day); } getDaysInMonth(date2) { - return $3b62074eb05584b2$var$daysInMonth$9[$3b62074eb05584b2$export$553d7fa8e3805fc0$9(date2.year) ? "leapyear" : "standard"][date2.month - 1]; + return $3b62074eb05584b2$var$daysInMonth[$3b62074eb05584b2$export$553d7fa8e3805fc0(date2.year) ? "leapyear" : "standard"][date2.month - 1]; } // eslint-disable-next-line @typescript-eslint/no-unused-vars getMonthsInYear(date2) { return 12; } getDaysInYear(date2) { - return $3b62074eb05584b2$export$553d7fa8e3805fc0$9(date2.year) ? 366 : 365; + return $3b62074eb05584b2$export$553d7fa8e3805fc0(date2.year) ? 366 : 365; } // eslint-disable-next-line @typescript-eslint/no-unused-vars getYearsInEra(date2) { @@ -36110,8 +35338,8 @@ let $3b62074eb05584b2$export$80ee6245ec4f29ec$9 = class $3b62074eb05584b2$export constructor() { this.identifier = "gregory"; } -}; -const $2fe286d2fb449abb$export$7a5acbd77d414bd9$9 = { +} +const $2fe286d2fb449abb$export$7a5acbd77d414bd9 = { "001": 1, AD: 1, AE: 6, @@ -36208,40 +35436,40 @@ const $2fe286d2fb449abb$export$7a5acbd77d414bd9$9 = { VN: 1, XK: 1 }; -function $14e0f24ef4ac5c92$export$ea39ec197993aef0$9(a2, b2) { - b2 = (0, $11d87f3f76e88657$export$b4a036af3fc0b032$9)(b2, a2.calendar); +function $14e0f24ef4ac5c92$export$ea39ec197993aef0(a2, b2) { + b2 = (0, $11d87f3f76e88657$export$b4a036af3fc0b032)(b2, a2.calendar); return a2.era === b2.era && a2.year === b2.year && a2.month === b2.month && a2.day === b2.day; } -function $14e0f24ef4ac5c92$export$a18c89cbd24170ff$9(a2, b2) { - b2 = (0, $11d87f3f76e88657$export$b4a036af3fc0b032$9)(b2, a2.calendar); - a2 = $14e0f24ef4ac5c92$export$a5a3b454ada2268e$9(a2); - b2 = $14e0f24ef4ac5c92$export$a5a3b454ada2268e$9(b2); +function $14e0f24ef4ac5c92$export$a18c89cbd24170ff(a2, b2) { + b2 = (0, $11d87f3f76e88657$export$b4a036af3fc0b032)(b2, a2.calendar); + a2 = $14e0f24ef4ac5c92$export$a5a3b454ada2268e(a2); + b2 = $14e0f24ef4ac5c92$export$a5a3b454ada2268e(b2); return a2.era === b2.era && a2.year === b2.year && a2.month === b2.month; } -function $14e0f24ef4ac5c92$export$5841f9eb9773f25f$9(a2, b2) { - b2 = (0, $11d87f3f76e88657$export$b4a036af3fc0b032$9)(b2, a2.calendar); - a2 = $14e0f24ef4ac5c92$export$f91e89d3d0406102$9(a2); - b2 = $14e0f24ef4ac5c92$export$f91e89d3d0406102$9(b2); +function $14e0f24ef4ac5c92$export$5841f9eb9773f25f(a2, b2) { + b2 = (0, $11d87f3f76e88657$export$b4a036af3fc0b032)(b2, a2.calendar); + a2 = $14e0f24ef4ac5c92$export$f91e89d3d0406102(a2); + b2 = $14e0f24ef4ac5c92$export$f91e89d3d0406102(b2); return a2.era === b2.era && a2.year === b2.year; } -function $14e0f24ef4ac5c92$export$91b62ebf2ba703ee$9(a2, b2) { - return $14e0f24ef4ac5c92$export$dbc69fd56b53d5e$8(a2.calendar, b2.calendar) && $14e0f24ef4ac5c92$export$ea39ec197993aef0$9(a2, b2); +function $14e0f24ef4ac5c92$export$91b62ebf2ba703ee(a2, b2) { + return $14e0f24ef4ac5c92$export$dbc69fd56b53d5e(a2.calendar, b2.calendar) && $14e0f24ef4ac5c92$export$ea39ec197993aef0(a2, b2); } -function $14e0f24ef4ac5c92$export$5a8da0c44a3afdf2$9(a2, b2) { - return $14e0f24ef4ac5c92$export$dbc69fd56b53d5e$8(a2.calendar, b2.calendar) && $14e0f24ef4ac5c92$export$a18c89cbd24170ff$9(a2, b2); +function $14e0f24ef4ac5c92$export$5a8da0c44a3afdf2(a2, b2) { + return $14e0f24ef4ac5c92$export$dbc69fd56b53d5e(a2.calendar, b2.calendar) && $14e0f24ef4ac5c92$export$a18c89cbd24170ff(a2, b2); } -function $14e0f24ef4ac5c92$export$ea840f5a6dda8147$9(a2, b2) { - return $14e0f24ef4ac5c92$export$dbc69fd56b53d5e$8(a2.calendar, b2.calendar) && $14e0f24ef4ac5c92$export$5841f9eb9773f25f$9(a2, b2); +function $14e0f24ef4ac5c92$export$ea840f5a6dda8147(a2, b2) { + return $14e0f24ef4ac5c92$export$dbc69fd56b53d5e(a2.calendar, b2.calendar) && $14e0f24ef4ac5c92$export$5841f9eb9773f25f(a2, b2); } -function $14e0f24ef4ac5c92$export$dbc69fd56b53d5e$8(a2, b2) { +function $14e0f24ef4ac5c92$export$dbc69fd56b53d5e(a2, b2) { var _a_isEqual, _b_isEqual; var _a_isEqual1, _ref2; return (_ref2 = (_a_isEqual1 = (_a_isEqual = a2.isEqual) === null || _a_isEqual === void 0 ? void 0 : _a_isEqual.call(a2, b2)) !== null && _a_isEqual1 !== void 0 ? _a_isEqual1 : (_b_isEqual = b2.isEqual) === null || _b_isEqual === void 0 ? void 0 : _b_isEqual.call(b2, a2)) !== null && _ref2 !== void 0 ? _ref2 : a2.identifier === b2.identifier; } -function $14e0f24ef4ac5c92$export$629b0a497aa65267$9(date2, timeZone) { - return $14e0f24ef4ac5c92$export$ea39ec197993aef0$9(date2, $14e0f24ef4ac5c92$export$d0bdf45af03a6ea3$9(timeZone)); +function $14e0f24ef4ac5c92$export$629b0a497aa65267(date2, timeZone) { + return $14e0f24ef4ac5c92$export$ea39ec197993aef0(date2, $14e0f24ef4ac5c92$export$d0bdf45af03a6ea3(timeZone)); } -const $14e0f24ef4ac5c92$var$DAY_MAP$8 = { +const $14e0f24ef4ac5c92$var$DAY_MAP = { sun: 0, mon: 1, tue: 2, @@ -36250,117 +35478,110 @@ const $14e0f24ef4ac5c92$var$DAY_MAP$8 = { fri: 5, sat: 6 }; -function $14e0f24ef4ac5c92$export$2061056d06d7cdf7$9(date2, locale2, firstDayOfWeek) { +function $14e0f24ef4ac5c92$export$2061056d06d7cdf7(date2, locale2, firstDayOfWeek) { let julian = date2.calendar.toJulianDay(date2); - let weekStart = firstDayOfWeek ? $14e0f24ef4ac5c92$var$DAY_MAP$8[firstDayOfWeek] : $14e0f24ef4ac5c92$var$getWeekStart$9(locale2); + let weekStart = firstDayOfWeek ? $14e0f24ef4ac5c92$var$DAY_MAP[firstDayOfWeek] : $14e0f24ef4ac5c92$var$getWeekStart(locale2); let dayOfWeek = Math.ceil(julian + 1 - weekStart) % 7; - if (dayOfWeek < 0) - dayOfWeek += 7; + if (dayOfWeek < 0) dayOfWeek += 7; return dayOfWeek; } -function $14e0f24ef4ac5c92$export$461939dd4422153$9(timeZone) { - return (0, $11d87f3f76e88657$export$1b96692a1ba042ac$9)(Date.now(), timeZone); +function $14e0f24ef4ac5c92$export$461939dd4422153(timeZone) { + return (0, $11d87f3f76e88657$export$1b96692a1ba042ac)(Date.now(), timeZone); } -function $14e0f24ef4ac5c92$export$d0bdf45af03a6ea3$9(timeZone) { - return (0, $11d87f3f76e88657$export$93522d1a439f3617$9)($14e0f24ef4ac5c92$export$461939dd4422153$9(timeZone)); +function $14e0f24ef4ac5c92$export$d0bdf45af03a6ea3(timeZone) { + return (0, $11d87f3f76e88657$export$93522d1a439f3617)($14e0f24ef4ac5c92$export$461939dd4422153(timeZone)); } -function $14e0f24ef4ac5c92$export$68781ddf31c0090f$9(a2, b2) { +function $14e0f24ef4ac5c92$export$68781ddf31c0090f(a2, b2) { return a2.calendar.toJulianDay(a2) - b2.calendar.toJulianDay(b2); } -function $14e0f24ef4ac5c92$export$c19a80a9721b80f6$9(a2, b2) { - return $14e0f24ef4ac5c92$var$timeToMs$9(a2) - $14e0f24ef4ac5c92$var$timeToMs$9(b2); +function $14e0f24ef4ac5c92$export$c19a80a9721b80f6(a2, b2) { + return $14e0f24ef4ac5c92$var$timeToMs(a2) - $14e0f24ef4ac5c92$var$timeToMs(b2); } -function $14e0f24ef4ac5c92$var$timeToMs$9(a2) { +function $14e0f24ef4ac5c92$var$timeToMs(a2) { return a2.hour * 36e5 + a2.minute * 6e4 + a2.second * 1e3 + a2.millisecond; } -function $14e0f24ef4ac5c92$export$126c91c941de7e$9(a2, timeZone) { - let ms = (0, $11d87f3f76e88657$export$5107c82f94518f5c$9)(a2, timeZone); +function $14e0f24ef4ac5c92$export$126c91c941de7e(a2, timeZone) { + let ms = (0, $11d87f3f76e88657$export$5107c82f94518f5c)(a2, timeZone); let tomorrow = a2.add({ days: 1 }); - let tomorrowMs = (0, $11d87f3f76e88657$export$5107c82f94518f5c$9)(tomorrow, timeZone); + let tomorrowMs = (0, $11d87f3f76e88657$export$5107c82f94518f5c)(tomorrow, timeZone); return (tomorrowMs - ms) / 36e5; } -let $14e0f24ef4ac5c92$var$localTimeZone$9 = null; -function $14e0f24ef4ac5c92$export$aa8b41735afcabd2$9() { - if ($14e0f24ef4ac5c92$var$localTimeZone$9 == null) - $14e0f24ef4ac5c92$var$localTimeZone$9 = new Intl.DateTimeFormat().resolvedOptions().timeZone; - return $14e0f24ef4ac5c92$var$localTimeZone$9; +let $14e0f24ef4ac5c92$var$localTimeZone = null; +function $14e0f24ef4ac5c92$export$aa8b41735afcabd2() { + if ($14e0f24ef4ac5c92$var$localTimeZone == null) $14e0f24ef4ac5c92$var$localTimeZone = new Intl.DateTimeFormat().resolvedOptions().timeZone; + return $14e0f24ef4ac5c92$var$localTimeZone; } -function $14e0f24ef4ac5c92$export$a5a3b454ada2268e$9(date2) { +function $14e0f24ef4ac5c92$export$a5a3b454ada2268e(date2) { return date2.subtract({ days: date2.day - 1 }); } -function $14e0f24ef4ac5c92$export$a2258d9c4118825c$9(date2) { +function $14e0f24ef4ac5c92$export$a2258d9c4118825c(date2) { return date2.add({ days: date2.calendar.getDaysInMonth(date2) - date2.day }); } -function $14e0f24ef4ac5c92$export$f91e89d3d0406102$9(date2) { - return $14e0f24ef4ac5c92$export$a5a3b454ada2268e$9(date2.subtract({ +function $14e0f24ef4ac5c92$export$f91e89d3d0406102(date2) { + return $14e0f24ef4ac5c92$export$a5a3b454ada2268e(date2.subtract({ months: date2.month - 1 })); } -function $14e0f24ef4ac5c92$export$8b7aa55c66d5569e$9(date2) { - return $14e0f24ef4ac5c92$export$a2258d9c4118825c$9(date2.add({ +function $14e0f24ef4ac5c92$export$8b7aa55c66d5569e(date2) { + return $14e0f24ef4ac5c92$export$a2258d9c4118825c(date2.add({ months: date2.calendar.getMonthsInYear(date2) - date2.month })); } -function $14e0f24ef4ac5c92$export$5412ac11713b72ad$9(date2) { - if (date2.calendar.getMinimumMonthInYear) - return date2.calendar.getMinimumMonthInYear(date2); +function $14e0f24ef4ac5c92$export$5412ac11713b72ad(date2) { + if (date2.calendar.getMinimumMonthInYear) return date2.calendar.getMinimumMonthInYear(date2); return 1; } -function $14e0f24ef4ac5c92$export$b2f4953d301981d5$9(date2) { - if (date2.calendar.getMinimumDayInMonth) - return date2.calendar.getMinimumDayInMonth(date2); +function $14e0f24ef4ac5c92$export$b2f4953d301981d5(date2) { + if (date2.calendar.getMinimumDayInMonth) return date2.calendar.getMinimumDayInMonth(date2); return 1; } -function $14e0f24ef4ac5c92$export$42c81a444fbfb5d4$9(date2, locale2, firstDayOfWeek) { - let dayOfWeek = $14e0f24ef4ac5c92$export$2061056d06d7cdf7$9(date2, locale2, firstDayOfWeek); +function $14e0f24ef4ac5c92$export$42c81a444fbfb5d4(date2, locale2, firstDayOfWeek) { + let dayOfWeek = $14e0f24ef4ac5c92$export$2061056d06d7cdf7(date2, locale2, firstDayOfWeek); return date2.subtract({ days: dayOfWeek }); } -function $14e0f24ef4ac5c92$export$ef8b6d9133084f4e$9(date2, locale2, firstDayOfWeek) { - return $14e0f24ef4ac5c92$export$42c81a444fbfb5d4$9(date2, locale2, firstDayOfWeek).add({ +function $14e0f24ef4ac5c92$export$ef8b6d9133084f4e(date2, locale2, firstDayOfWeek) { + return $14e0f24ef4ac5c92$export$42c81a444fbfb5d4(date2, locale2, firstDayOfWeek).add({ days: 6 }); } -const $14e0f24ef4ac5c92$var$cachedRegions$9 = /* @__PURE__ */ new Map(); -function $14e0f24ef4ac5c92$var$getRegion$9(locale2) { +const $14e0f24ef4ac5c92$var$cachedRegions = /* @__PURE__ */ new Map(); +function $14e0f24ef4ac5c92$var$getRegion(locale2) { if (Intl.Locale) { - let region = $14e0f24ef4ac5c92$var$cachedRegions$9.get(locale2); + let region = $14e0f24ef4ac5c92$var$cachedRegions.get(locale2); if (!region) { region = new Intl.Locale(locale2).maximize().region; - if (region) - $14e0f24ef4ac5c92$var$cachedRegions$9.set(locale2, region); + if (region) $14e0f24ef4ac5c92$var$cachedRegions.set(locale2, region); } return region; } let part = locale2.split("-")[1]; return part === "u" ? void 0 : part; } -function $14e0f24ef4ac5c92$var$getWeekStart$9(locale2) { - let region = $14e0f24ef4ac5c92$var$getRegion$9(locale2); - return region ? (0, $2fe286d2fb449abb$export$7a5acbd77d414bd9$9)[region] || 0 : 0; +function $14e0f24ef4ac5c92$var$getWeekStart(locale2) { + let region = $14e0f24ef4ac5c92$var$getRegion(locale2); + return region ? (0, $2fe286d2fb449abb$export$7a5acbd77d414bd9)[region] || 0 : 0; } -function $14e0f24ef4ac5c92$export$ccc1b2479e7dd654$9(date2, locale2, firstDayOfWeek) { +function $14e0f24ef4ac5c92$export$ccc1b2479e7dd654(date2, locale2, firstDayOfWeek) { let days = date2.calendar.getDaysInMonth(date2); - return Math.ceil(($14e0f24ef4ac5c92$export$2061056d06d7cdf7$9($14e0f24ef4ac5c92$export$a5a3b454ada2268e$9(date2), locale2, firstDayOfWeek) + days) / 7); + return Math.ceil(($14e0f24ef4ac5c92$export$2061056d06d7cdf7($14e0f24ef4ac5c92$export$a5a3b454ada2268e(date2), locale2, firstDayOfWeek) + days) / 7); } -function $14e0f24ef4ac5c92$export$5c333a116e949cdd$9(a2, b2) { - if (a2 && b2) - return a2.compare(b2) <= 0 ? a2 : b2; +function $14e0f24ef4ac5c92$export$5c333a116e949cdd(a2, b2) { + if (a2 && b2) return a2.compare(b2) <= 0 ? a2 : b2; return a2 || b2; } -function $14e0f24ef4ac5c92$export$a75f2bff57811055$9(a2, b2) { - if (a2 && b2) - return a2.compare(b2) >= 0 ? a2 : b2; +function $14e0f24ef4ac5c92$export$a75f2bff57811055(a2, b2) { + if (a2 && b2) return a2.compare(b2) >= 0 ? a2 : b2; return a2 || b2; } -const $14e0f24ef4ac5c92$var$WEEKEND_DATA$9 = { +const $14e0f24ef4ac5c92$var$WEEKEND_DATA = { AF: [ 4, 5 @@ -36430,44 +35651,41 @@ const $14e0f24ef4ac5c92$var$WEEKEND_DATA$9 = { 6 ] }; -function $14e0f24ef4ac5c92$export$618d60ea299da42$9(date2, locale2) { +function $14e0f24ef4ac5c92$export$618d60ea299da42(date2, locale2) { let julian = date2.calendar.toJulianDay(date2); let dayOfWeek = Math.ceil(julian + 1) % 7; - if (dayOfWeek < 0) - dayOfWeek += 7; - let region = $14e0f24ef4ac5c92$var$getRegion$9(locale2); - let [start, end] = $14e0f24ef4ac5c92$var$WEEKEND_DATA$9[region] || [ + if (dayOfWeek < 0) dayOfWeek += 7; + let region = $14e0f24ef4ac5c92$var$getRegion(locale2); + let [start, end] = $14e0f24ef4ac5c92$var$WEEKEND_DATA[region] || [ 6, 0 ]; return dayOfWeek === start || dayOfWeek === end; } -function $14e0f24ef4ac5c92$export$ee9d87258e1d19ed$9(date2, locale2) { - return !$14e0f24ef4ac5c92$export$618d60ea299da42$9(date2, locale2); +function $14e0f24ef4ac5c92$export$ee9d87258e1d19ed(date2, locale2) { + return !$14e0f24ef4ac5c92$export$618d60ea299da42(date2, locale2); } -function $11d87f3f76e88657$export$bd4fb2bc8bb06fb$9(date2) { - date2 = $11d87f3f76e88657$export$b4a036af3fc0b032$9(date2, new (0, $3b62074eb05584b2$export$80ee6245ec4f29ec$9)()); - let year = (0, $3b62074eb05584b2$export$c36e0ecb2d4fa69d$9)(date2.era, date2.year); - return $11d87f3f76e88657$var$epochFromParts$9(year, date2.month, date2.day, date2.hour, date2.minute, date2.second, date2.millisecond); +function $11d87f3f76e88657$export$bd4fb2bc8bb06fb(date2) { + date2 = $11d87f3f76e88657$export$b4a036af3fc0b032(date2, new (0, $3b62074eb05584b2$export$80ee6245ec4f29ec)()); + let year = (0, $3b62074eb05584b2$export$c36e0ecb2d4fa69d)(date2.era, date2.year); + return $11d87f3f76e88657$var$epochFromParts(year, date2.month, date2.day, date2.hour, date2.minute, date2.second, date2.millisecond); } -function $11d87f3f76e88657$var$epochFromParts$9(year, month, day, hour, minute, second2, millisecond2) { +function $11d87f3f76e88657$var$epochFromParts(year, month, day, hour, minute, second2, millisecond2) { let date2 = /* @__PURE__ */ new Date(); date2.setUTCHours(hour, minute, second2, millisecond2); date2.setUTCFullYear(year, month - 1, day); return date2.getTime(); } -function $11d87f3f76e88657$export$59c99f3515d3493f$9(ms, timeZone) { - if (timeZone === "UTC") - return 0; - if (ms > 0 && timeZone === (0, $14e0f24ef4ac5c92$export$aa8b41735afcabd2$9)()) - return new Date(ms).getTimezoneOffset() * -6e4; - let { year, month, day, hour, minute, second: second2 } = $11d87f3f76e88657$var$getTimeZoneParts$9(ms, timeZone); - let utc = $11d87f3f76e88657$var$epochFromParts$9(year, month, day, hour, minute, second2, 0); +function $11d87f3f76e88657$export$59c99f3515d3493f(ms, timeZone) { + if (timeZone === "UTC") return 0; + if (ms > 0 && timeZone === (0, $14e0f24ef4ac5c92$export$aa8b41735afcabd2)()) return new Date(ms).getTimezoneOffset() * -6e4; + let { year, month, day, hour, minute, second: second2 } = $11d87f3f76e88657$var$getTimeZoneParts(ms, timeZone); + let utc = $11d87f3f76e88657$var$epochFromParts(year, month, day, hour, minute, second2, 0); return utc - Math.floor(ms / 1e3) * 1e3; } -const $11d87f3f76e88657$var$formattersByTimeZone$9 = /* @__PURE__ */ new Map(); -function $11d87f3f76e88657$var$getTimeZoneParts$9(ms, timeZone) { - let formatter = $11d87f3f76e88657$var$formattersByTimeZone$9.get(timeZone); +const $11d87f3f76e88657$var$formattersByTimeZone = /* @__PURE__ */ new Map(); +function $11d87f3f76e88657$var$getTimeZoneParts(ms, timeZone) { + let formatter = $11d87f3f76e88657$var$formattersByTimeZone.get(timeZone); if (!formatter) { formatter = new Intl.DateTimeFormat("en-US", { timeZone, @@ -36480,13 +35698,11 @@ function $11d87f3f76e88657$var$getTimeZoneParts$9(ms, timeZone) { minute: "numeric", second: "numeric" }); - $11d87f3f76e88657$var$formattersByTimeZone$9.set(timeZone, formatter); + $11d87f3f76e88657$var$formattersByTimeZone.set(timeZone, formatter); } let parts = formatter.formatToParts(new Date(ms)); let namedParts = {}; - for (let part of parts) - if (part.type !== "literal") - namedParts[part.type] = part.value; + for (let part of parts) if (part.type !== "literal") namedParts[part.type] = part.value; return { // Firefox returns B instead of BC... https://bugzilla.mozilla.org/show_bug.cgi?id=1752253 year: namedParts.era === "BC" || namedParts.era === "B" ? -namedParts.year + 1 : +namedParts.year, @@ -36497,54 +35713,51 @@ function $11d87f3f76e88657$var$getTimeZoneParts$9(ms, timeZone) { second: +namedParts.second }; } -const $11d87f3f76e88657$var$DAYMILLIS$9 = 864e5; -function $11d87f3f76e88657$export$136f38efe7caf549$9(date2, timeZone) { - let ms = $11d87f3f76e88657$export$bd4fb2bc8bb06fb$9(date2); - let earlier = ms - $11d87f3f76e88657$export$59c99f3515d3493f$9(ms - $11d87f3f76e88657$var$DAYMILLIS$9, timeZone); - let later = ms - $11d87f3f76e88657$export$59c99f3515d3493f$9(ms + $11d87f3f76e88657$var$DAYMILLIS$9, timeZone); - return $11d87f3f76e88657$var$getValidWallTimes$9(date2, timeZone, earlier, later); +const $11d87f3f76e88657$var$DAYMILLIS = 864e5; +function $11d87f3f76e88657$export$136f38efe7caf549(date2, timeZone) { + let ms = $11d87f3f76e88657$export$bd4fb2bc8bb06fb(date2); + let earlier = ms - $11d87f3f76e88657$export$59c99f3515d3493f(ms - $11d87f3f76e88657$var$DAYMILLIS, timeZone); + let later = ms - $11d87f3f76e88657$export$59c99f3515d3493f(ms + $11d87f3f76e88657$var$DAYMILLIS, timeZone); + return $11d87f3f76e88657$var$getValidWallTimes(date2, timeZone, earlier, later); } -function $11d87f3f76e88657$var$getValidWallTimes$9(date2, timeZone, earlier, later) { +function $11d87f3f76e88657$var$getValidWallTimes(date2, timeZone, earlier, later) { let found = earlier === later ? [ earlier ] : [ earlier, later ]; - return found.filter((absolute) => $11d87f3f76e88657$var$isValidWallTime$9(date2, timeZone, absolute)); + return found.filter((absolute) => $11d87f3f76e88657$var$isValidWallTime(date2, timeZone, absolute)); } -function $11d87f3f76e88657$var$isValidWallTime$9(date2, timeZone, absolute) { - let parts = $11d87f3f76e88657$var$getTimeZoneParts$9(absolute, timeZone); +function $11d87f3f76e88657$var$isValidWallTime(date2, timeZone, absolute) { + let parts = $11d87f3f76e88657$var$getTimeZoneParts(absolute, timeZone); return date2.year === parts.year && date2.month === parts.month && date2.day === parts.day && date2.hour === parts.hour && date2.minute === parts.minute && date2.second === parts.second; } -function $11d87f3f76e88657$export$5107c82f94518f5c$9(date2, timeZone, disambiguation = "compatible") { - let dateTime = $11d87f3f76e88657$export$b21e0b124e224484$9(date2); - if (timeZone === "UTC") - return $11d87f3f76e88657$export$bd4fb2bc8bb06fb$9(dateTime); - if (timeZone === (0, $14e0f24ef4ac5c92$export$aa8b41735afcabd2$9)() && disambiguation === "compatible") { - dateTime = $11d87f3f76e88657$export$b4a036af3fc0b032$9(dateTime, new (0, $3b62074eb05584b2$export$80ee6245ec4f29ec$9)()); +function $11d87f3f76e88657$export$5107c82f94518f5c(date2, timeZone, disambiguation = "compatible") { + let dateTime = $11d87f3f76e88657$export$b21e0b124e224484(date2); + if (timeZone === "UTC") return $11d87f3f76e88657$export$bd4fb2bc8bb06fb(dateTime); + if (timeZone === (0, $14e0f24ef4ac5c92$export$aa8b41735afcabd2)() && disambiguation === "compatible") { + dateTime = $11d87f3f76e88657$export$b4a036af3fc0b032(dateTime, new (0, $3b62074eb05584b2$export$80ee6245ec4f29ec)()); let date3 = /* @__PURE__ */ new Date(); - let year = (0, $3b62074eb05584b2$export$c36e0ecb2d4fa69d$9)(dateTime.era, dateTime.year); + let year = (0, $3b62074eb05584b2$export$c36e0ecb2d4fa69d)(dateTime.era, dateTime.year); date3.setFullYear(year, dateTime.month - 1, dateTime.day); date3.setHours(dateTime.hour, dateTime.minute, dateTime.second, dateTime.millisecond); return date3.getTime(); } - let ms = $11d87f3f76e88657$export$bd4fb2bc8bb06fb$9(dateTime); - let offsetBefore = $11d87f3f76e88657$export$59c99f3515d3493f$9(ms - $11d87f3f76e88657$var$DAYMILLIS$9, timeZone); - let offsetAfter = $11d87f3f76e88657$export$59c99f3515d3493f$9(ms + $11d87f3f76e88657$var$DAYMILLIS$9, timeZone); - let valid = $11d87f3f76e88657$var$getValidWallTimes$9(dateTime, timeZone, ms - offsetBefore, ms - offsetAfter); - if (valid.length === 1) - return valid[0]; - if (valid.length > 1) - switch (disambiguation) { - case "compatible": - case "earlier": - return valid[0]; - case "later": - return valid[valid.length - 1]; - case "reject": - throw new RangeError("Multiple possible absolute times found"); - } + let ms = $11d87f3f76e88657$export$bd4fb2bc8bb06fb(dateTime); + let offsetBefore = $11d87f3f76e88657$export$59c99f3515d3493f(ms - $11d87f3f76e88657$var$DAYMILLIS, timeZone); + let offsetAfter = $11d87f3f76e88657$export$59c99f3515d3493f(ms + $11d87f3f76e88657$var$DAYMILLIS, timeZone); + let valid = $11d87f3f76e88657$var$getValidWallTimes(dateTime, timeZone, ms - offsetBefore, ms - offsetAfter); + if (valid.length === 1) return valid[0]; + if (valid.length > 1) switch (disambiguation) { + case "compatible": + case "earlier": + return valid[0]; + case "later": + return valid[valid.length - 1]; + case "reject": + throw new RangeError("Multiple possible absolute times found"); + } switch (disambiguation) { case "earlier": return Math.min(ms - offsetBefore, ms - offsetAfter); @@ -36555,11 +35768,11 @@ function $11d87f3f76e88657$export$5107c82f94518f5c$9(date2, timeZone, disambigua throw new RangeError("No such absolute time found"); } } -function $11d87f3f76e88657$export$e67a095c620b86fe$9(dateTime, timeZone, disambiguation = "compatible") { - return new Date($11d87f3f76e88657$export$5107c82f94518f5c$9(dateTime, timeZone, disambiguation)); +function $11d87f3f76e88657$export$e67a095c620b86fe(dateTime, timeZone, disambiguation = "compatible") { + return new Date($11d87f3f76e88657$export$5107c82f94518f5c(dateTime, timeZone, disambiguation)); } -function $11d87f3f76e88657$export$1b96692a1ba042ac$9(ms, timeZone) { - let offset = $11d87f3f76e88657$export$59c99f3515d3493f$9(ms, timeZone); +function $11d87f3f76e88657$export$1b96692a1ba042ac(ms, timeZone) { + let offset = $11d87f3f76e88657$export$59c99f3515d3493f(ms, timeZone); let date2 = new Date(ms + offset); let year = date2.getUTCFullYear(); let month = date2.getUTCMonth() + 1; @@ -36568,18 +35781,18 @@ function $11d87f3f76e88657$export$1b96692a1ba042ac$9(ms, timeZone) { let minute = date2.getUTCMinutes(); let second2 = date2.getUTCSeconds(); let millisecond2 = date2.getUTCMilliseconds(); - return new (0, $35ea8db9cb2ccb90$export$d3b7288e7994edea$9)(year < 1 ? "BC" : "AD", year < 1 ? -year + 1 : year, month, day, timeZone, offset, hour, minute, second2, millisecond2); + return new (0, $35ea8db9cb2ccb90$export$d3b7288e7994edea)(year < 1 ? "BC" : "AD", year < 1 ? -year + 1 : year, month, day, timeZone, offset, hour, minute, second2, millisecond2); } -function $11d87f3f76e88657$export$e57ff100d91bd4b9$9(date2, timeZone) { - return $11d87f3f76e88657$export$1b96692a1ba042ac$9(date2.getTime(), timeZone); +function $11d87f3f76e88657$export$e57ff100d91bd4b9(date2, timeZone) { + return $11d87f3f76e88657$export$1b96692a1ba042ac(date2.getTime(), timeZone); } -function $11d87f3f76e88657$export$d7f92bcd3596b086$9(date2) { - return $11d87f3f76e88657$export$e57ff100d91bd4b9$9(date2, (0, $14e0f24ef4ac5c92$export$aa8b41735afcabd2$9)()); +function $11d87f3f76e88657$export$d7f92bcd3596b086(date2) { + return $11d87f3f76e88657$export$e57ff100d91bd4b9(date2, (0, $14e0f24ef4ac5c92$export$aa8b41735afcabd2)()); } -function $11d87f3f76e88657$export$93522d1a439f3617$9(dateTime) { - return new (0, $35ea8db9cb2ccb90$export$99faa760c7908e4f$9)(dateTime.calendar, dateTime.era, dateTime.year, dateTime.month, dateTime.day); +function $11d87f3f76e88657$export$93522d1a439f3617(dateTime) { + return new (0, $35ea8db9cb2ccb90$export$99faa760c7908e4f)(dateTime.calendar, dateTime.era, dateTime.year, dateTime.month, dateTime.day); } -function $11d87f3f76e88657$export$6f4d78149f3f53ac$9(date2) { +function $11d87f3f76e88657$export$6f4d78149f3f53ac(date2) { return { era: date2.era, year: date2.year, @@ -36587,7 +35800,7 @@ function $11d87f3f76e88657$export$6f4d78149f3f53ac$9(date2) { day: date2.day }; } -function $11d87f3f76e88657$export$4d0393e732857be5$9(date2) { +function $11d87f3f76e88657$export$4d0393e732857be5(date2) { return { hour: date2.hour, minute: date2.minute, @@ -36595,22 +35808,18 @@ function $11d87f3f76e88657$export$4d0393e732857be5$9(date2) { millisecond: date2.millisecond }; } -function $11d87f3f76e88657$export$b21e0b124e224484$9(date2, time2) { +function $11d87f3f76e88657$export$b21e0b124e224484(date2, time2) { let hour = 0, minute = 0, second2 = 0, millisecond2 = 0; - if ("timeZone" in date2) - ({ hour, minute, second: second2, millisecond: millisecond2 } = date2); - else if ("hour" in date2 && !time2) - return date2; - if (time2) - ({ hour, minute, second: second2, millisecond: millisecond2 } = time2); - return new (0, $35ea8db9cb2ccb90$export$ca871e8dbb80966f$9)(date2.calendar, date2.era, date2.year, date2.month, date2.day, hour, minute, second2, millisecond2); + if ("timeZone" in date2) ({ hour, minute, second: second2, millisecond: millisecond2 } = date2); + else if ("hour" in date2 && !time2) return date2; + if (time2) ({ hour, minute, second: second2, millisecond: millisecond2 } = time2); + return new (0, $35ea8db9cb2ccb90$export$ca871e8dbb80966f)(date2.calendar, date2.era, date2.year, date2.month, date2.day, hour, minute, second2, millisecond2); } -function $11d87f3f76e88657$export$d33f79e3ffc3dc83$9(dateTime) { - return new (0, $35ea8db9cb2ccb90$export$680ea196effce5f$9)(dateTime.hour, dateTime.minute, dateTime.second, dateTime.millisecond); +function $11d87f3f76e88657$export$d33f79e3ffc3dc83(dateTime) { + return new (0, $35ea8db9cb2ccb90$export$680ea196effce5f)(dateTime.hour, dateTime.minute, dateTime.second, dateTime.millisecond); } -function $11d87f3f76e88657$export$b4a036af3fc0b032$9(date2, calendar2) { - if ((0, $14e0f24ef4ac5c92$export$dbc69fd56b53d5e$8)(date2.calendar, calendar2)) - return date2; +function $11d87f3f76e88657$export$b4a036af3fc0b032(date2, calendar2) { + if ((0, $14e0f24ef4ac5c92$export$dbc69fd56b53d5e)(date2.calendar, calendar2)) return date2; let calendarDate = calendar2.fromJulianDay(date2.calendar.toJulianDay(date2)); let copy2 = date2.copy(); copy2.calendar = calendar2; @@ -36618,45 +35827,42 @@ function $11d87f3f76e88657$export$b4a036af3fc0b032$9(date2, calendar2) { copy2.year = calendarDate.year; copy2.month = calendarDate.month; copy2.day = calendarDate.day; - (0, $735220c2d4774dd3$export$c4e2ecac49351ef2$9)(copy2); + (0, $735220c2d4774dd3$export$c4e2ecac49351ef2)(copy2); return copy2; } -function $11d87f3f76e88657$export$84c95a83c799e074$9(date2, timeZone, disambiguation) { - if (date2 instanceof (0, $35ea8db9cb2ccb90$export$d3b7288e7994edea$9)) { - if (date2.timeZone === timeZone) - return date2; - return $11d87f3f76e88657$export$538b00033cc11c75$9(date2, timeZone); +function $11d87f3f76e88657$export$84c95a83c799e074(date2, timeZone, disambiguation) { + if (date2 instanceof (0, $35ea8db9cb2ccb90$export$d3b7288e7994edea)) { + if (date2.timeZone === timeZone) return date2; + return $11d87f3f76e88657$export$538b00033cc11c75(date2, timeZone); } - let ms = $11d87f3f76e88657$export$5107c82f94518f5c$9(date2, timeZone, disambiguation); - return $11d87f3f76e88657$export$1b96692a1ba042ac$9(ms, timeZone); + let ms = $11d87f3f76e88657$export$5107c82f94518f5c(date2, timeZone, disambiguation); + return $11d87f3f76e88657$export$1b96692a1ba042ac(ms, timeZone); } -function $11d87f3f76e88657$export$83aac07b4c37b25$9(date2) { - let ms = $11d87f3f76e88657$export$bd4fb2bc8bb06fb$9(date2) - date2.offset; +function $11d87f3f76e88657$export$83aac07b4c37b25(date2) { + let ms = $11d87f3f76e88657$export$bd4fb2bc8bb06fb(date2) - date2.offset; return new Date(ms); } -function $11d87f3f76e88657$export$538b00033cc11c75$9(date2, timeZone) { - let ms = $11d87f3f76e88657$export$bd4fb2bc8bb06fb$9(date2) - date2.offset; - return $11d87f3f76e88657$export$b4a036af3fc0b032$9($11d87f3f76e88657$export$1b96692a1ba042ac$9(ms, timeZone), date2.calendar); +function $11d87f3f76e88657$export$538b00033cc11c75(date2, timeZone) { + let ms = $11d87f3f76e88657$export$bd4fb2bc8bb06fb(date2) - date2.offset; + return $11d87f3f76e88657$export$b4a036af3fc0b032($11d87f3f76e88657$export$1b96692a1ba042ac(ms, timeZone), date2.calendar); } -function $11d87f3f76e88657$export$d9b67bc93c097491$9(date2) { - return $11d87f3f76e88657$export$538b00033cc11c75$9(date2, (0, $14e0f24ef4ac5c92$export$aa8b41735afcabd2$9)()); +function $11d87f3f76e88657$export$d9b67bc93c097491(date2) { + return $11d87f3f76e88657$export$538b00033cc11c75(date2, (0, $14e0f24ef4ac5c92$export$aa8b41735afcabd2)()); } -const $735220c2d4774dd3$var$ONE_HOUR$9 = 36e5; -function $735220c2d4774dd3$export$e16d8520af44a096$9(date2, duration) { +const $735220c2d4774dd3$var$ONE_HOUR = 36e5; +function $735220c2d4774dd3$export$e16d8520af44a096(date2, duration) { let mutableDate = date2.copy(); - let days = "hour" in mutableDate ? $735220c2d4774dd3$var$addTimeFields$9(mutableDate, duration) : 0; - $735220c2d4774dd3$var$addYears$9(mutableDate, duration.years || 0); - if (mutableDate.calendar.balanceYearMonth) - mutableDate.calendar.balanceYearMonth(mutableDate, date2); + let days = "hour" in mutableDate ? $735220c2d4774dd3$var$addTimeFields(mutableDate, duration) : 0; + $735220c2d4774dd3$var$addYears(mutableDate, duration.years || 0); + if (mutableDate.calendar.balanceYearMonth) mutableDate.calendar.balanceYearMonth(mutableDate, date2); mutableDate.month += duration.months || 0; - $735220c2d4774dd3$var$balanceYearMonth$9(mutableDate); - $735220c2d4774dd3$var$constrainMonthDay$9(mutableDate); + $735220c2d4774dd3$var$balanceYearMonth(mutableDate); + $735220c2d4774dd3$var$constrainMonthDay(mutableDate); mutableDate.day += (duration.weeks || 0) * 7; mutableDate.day += duration.days || 0; mutableDate.day += days; - $735220c2d4774dd3$var$balanceDay$9(mutableDate); - if (mutableDate.calendar.balanceDate) - mutableDate.calendar.balanceDate(mutableDate); + $735220c2d4774dd3$var$balanceDay(mutableDate); + if (mutableDate.calendar.balanceDate) mutableDate.calendar.balanceDate(mutableDate); if (mutableDate.year < 1) { mutableDate.year = 1; mutableDate.month = 1; @@ -36682,157 +35888,139 @@ function $735220c2d4774dd3$export$e16d8520af44a096$9(date2, duration) { mutableDate.day = Math.max(1, Math.min(mutableDate.calendar.getDaysInMonth(mutableDate), mutableDate.day)); return mutableDate; } -function $735220c2d4774dd3$var$addYears$9(date2, years) { +function $735220c2d4774dd3$var$addYears(date2, years) { var _date_calendar_isInverseEra, _date_calendar; - if ((_date_calendar_isInverseEra = (_date_calendar = date2.calendar).isInverseEra) === null || _date_calendar_isInverseEra === void 0 ? void 0 : _date_calendar_isInverseEra.call(_date_calendar, date2)) - years = -years; + if ((_date_calendar_isInverseEra = (_date_calendar = date2.calendar).isInverseEra) === null || _date_calendar_isInverseEra === void 0 ? void 0 : _date_calendar_isInverseEra.call(_date_calendar, date2)) years = -years; date2.year += years; } -function $735220c2d4774dd3$var$balanceYearMonth$9(date2) { +function $735220c2d4774dd3$var$balanceYearMonth(date2) { while (date2.month < 1) { - $735220c2d4774dd3$var$addYears$9(date2, -1); + $735220c2d4774dd3$var$addYears(date2, -1); date2.month += date2.calendar.getMonthsInYear(date2); } let monthsInYear = 0; while (date2.month > (monthsInYear = date2.calendar.getMonthsInYear(date2))) { date2.month -= monthsInYear; - $735220c2d4774dd3$var$addYears$9(date2, 1); + $735220c2d4774dd3$var$addYears(date2, 1); } } -function $735220c2d4774dd3$var$balanceDay$9(date2) { +function $735220c2d4774dd3$var$balanceDay(date2) { while (date2.day < 1) { date2.month--; - $735220c2d4774dd3$var$balanceYearMonth$9(date2); + $735220c2d4774dd3$var$balanceYearMonth(date2); date2.day += date2.calendar.getDaysInMonth(date2); } while (date2.day > date2.calendar.getDaysInMonth(date2)) { date2.day -= date2.calendar.getDaysInMonth(date2); date2.month++; - $735220c2d4774dd3$var$balanceYearMonth$9(date2); + $735220c2d4774dd3$var$balanceYearMonth(date2); } } -function $735220c2d4774dd3$var$constrainMonthDay$9(date2) { +function $735220c2d4774dd3$var$constrainMonthDay(date2) { date2.month = Math.max(1, Math.min(date2.calendar.getMonthsInYear(date2), date2.month)); date2.day = Math.max(1, Math.min(date2.calendar.getDaysInMonth(date2), date2.day)); } -function $735220c2d4774dd3$export$c4e2ecac49351ef2$9(date2) { - if (date2.calendar.constrainDate) - date2.calendar.constrainDate(date2); +function $735220c2d4774dd3$export$c4e2ecac49351ef2(date2) { + if (date2.calendar.constrainDate) date2.calendar.constrainDate(date2); date2.year = Math.max(1, Math.min(date2.calendar.getYearsInEra(date2), date2.year)); - $735220c2d4774dd3$var$constrainMonthDay$9(date2); + $735220c2d4774dd3$var$constrainMonthDay(date2); } -function $735220c2d4774dd3$export$3e2544e88a25bff8$9(duration) { +function $735220c2d4774dd3$export$3e2544e88a25bff8(duration) { let inverseDuration = {}; - for (let key2 in duration) - if (typeof duration[key2] === "number") - inverseDuration[key2] = -duration[key2]; + for (let key2 in duration) if (typeof duration[key2] === "number") inverseDuration[key2] = -duration[key2]; return inverseDuration; } -function $735220c2d4774dd3$export$4e2d2ead65e5f7e3$9(date2, duration) { - return $735220c2d4774dd3$export$e16d8520af44a096$9(date2, $735220c2d4774dd3$export$3e2544e88a25bff8$9(duration)); +function $735220c2d4774dd3$export$4e2d2ead65e5f7e3(date2, duration) { + return $735220c2d4774dd3$export$e16d8520af44a096(date2, $735220c2d4774dd3$export$3e2544e88a25bff8(duration)); } -function $735220c2d4774dd3$export$adaa4cf7ef1b65be$9(date2, fields) { +function $735220c2d4774dd3$export$adaa4cf7ef1b65be(date2, fields) { let mutableDate = date2.copy(); - if (fields.era != null) - mutableDate.era = fields.era; - if (fields.year != null) - mutableDate.year = fields.year; - if (fields.month != null) - mutableDate.month = fields.month; - if (fields.day != null) - mutableDate.day = fields.day; - $735220c2d4774dd3$export$c4e2ecac49351ef2$9(mutableDate); + if (fields.era != null) mutableDate.era = fields.era; + if (fields.year != null) mutableDate.year = fields.year; + if (fields.month != null) mutableDate.month = fields.month; + if (fields.day != null) mutableDate.day = fields.day; + $735220c2d4774dd3$export$c4e2ecac49351ef2(mutableDate); return mutableDate; } -function $735220c2d4774dd3$export$e5d5e1c1822b6e56$9(value, fields) { +function $735220c2d4774dd3$export$e5d5e1c1822b6e56(value, fields) { let mutableValue = value.copy(); - if (fields.hour != null) - mutableValue.hour = fields.hour; - if (fields.minute != null) - mutableValue.minute = fields.minute; - if (fields.second != null) - mutableValue.second = fields.second; - if (fields.millisecond != null) - mutableValue.millisecond = fields.millisecond; - $735220c2d4774dd3$export$7555de1e070510cb$9(mutableValue); + if (fields.hour != null) mutableValue.hour = fields.hour; + if (fields.minute != null) mutableValue.minute = fields.minute; + if (fields.second != null) mutableValue.second = fields.second; + if (fields.millisecond != null) mutableValue.millisecond = fields.millisecond; + $735220c2d4774dd3$export$7555de1e070510cb(mutableValue); return mutableValue; } -function $735220c2d4774dd3$var$balanceTime$9(time2) { +function $735220c2d4774dd3$var$balanceTime(time2) { time2.second += Math.floor(time2.millisecond / 1e3); - time2.millisecond = $735220c2d4774dd3$var$nonNegativeMod$9(time2.millisecond, 1e3); + time2.millisecond = $735220c2d4774dd3$var$nonNegativeMod(time2.millisecond, 1e3); time2.minute += Math.floor(time2.second / 60); - time2.second = $735220c2d4774dd3$var$nonNegativeMod$9(time2.second, 60); + time2.second = $735220c2d4774dd3$var$nonNegativeMod(time2.second, 60); time2.hour += Math.floor(time2.minute / 60); - time2.minute = $735220c2d4774dd3$var$nonNegativeMod$9(time2.minute, 60); + time2.minute = $735220c2d4774dd3$var$nonNegativeMod(time2.minute, 60); let days = Math.floor(time2.hour / 24); - time2.hour = $735220c2d4774dd3$var$nonNegativeMod$9(time2.hour, 24); + time2.hour = $735220c2d4774dd3$var$nonNegativeMod(time2.hour, 24); return days; } -function $735220c2d4774dd3$export$7555de1e070510cb$9(time2) { +function $735220c2d4774dd3$export$7555de1e070510cb(time2) { time2.millisecond = Math.max(0, Math.min(time2.millisecond, 1e3)); time2.second = Math.max(0, Math.min(time2.second, 59)); time2.minute = Math.max(0, Math.min(time2.minute, 59)); time2.hour = Math.max(0, Math.min(time2.hour, 23)); } -function $735220c2d4774dd3$var$nonNegativeMod$9(a2, b2) { +function $735220c2d4774dd3$var$nonNegativeMod(a2, b2) { let result = a2 % b2; - if (result < 0) - result += b2; + if (result < 0) result += b2; return result; } -function $735220c2d4774dd3$var$addTimeFields$9(time2, duration) { +function $735220c2d4774dd3$var$addTimeFields(time2, duration) { time2.hour += duration.hours || 0; time2.minute += duration.minutes || 0; time2.second += duration.seconds || 0; time2.millisecond += duration.milliseconds || 0; - return $735220c2d4774dd3$var$balanceTime$9(time2); + return $735220c2d4774dd3$var$balanceTime(time2); } -function $735220c2d4774dd3$export$7ed87b6bc2506470$9(time2, duration) { +function $735220c2d4774dd3$export$7ed87b6bc2506470(time2, duration) { let res2 = time2.copy(); - $735220c2d4774dd3$var$addTimeFields$9(res2, duration); + $735220c2d4774dd3$var$addTimeFields(res2, duration); return res2; } -function $735220c2d4774dd3$export$fe34d3a381cd7501$9(time2, duration) { - return $735220c2d4774dd3$export$7ed87b6bc2506470$9(time2, $735220c2d4774dd3$export$3e2544e88a25bff8$9(duration)); +function $735220c2d4774dd3$export$fe34d3a381cd7501(time2, duration) { + return $735220c2d4774dd3$export$7ed87b6bc2506470(time2, $735220c2d4774dd3$export$3e2544e88a25bff8(duration)); } -function $735220c2d4774dd3$export$d52ced6badfb9a4c$9(value, field, amount, options2) { +function $735220c2d4774dd3$export$d52ced6badfb9a4c(value, field, amount, options2) { let mutable = value.copy(); switch (field) { case "era": { let eras = value.calendar.getEras(); let eraIndex = eras.indexOf(value.era); - if (eraIndex < 0) - throw new Error("Invalid era: " + value.era); - eraIndex = $735220c2d4774dd3$var$cycleValue$9(eraIndex, amount, 0, eras.length - 1, options2 === null || options2 === void 0 ? void 0 : options2.round); + if (eraIndex < 0) throw new Error("Invalid era: " + value.era); + eraIndex = $735220c2d4774dd3$var$cycleValue(eraIndex, amount, 0, eras.length - 1, options2 === null || options2 === void 0 ? void 0 : options2.round); mutable.era = eras[eraIndex]; - $735220c2d4774dd3$export$c4e2ecac49351ef2$9(mutable); + $735220c2d4774dd3$export$c4e2ecac49351ef2(mutable); break; } case "year": var _mutable_calendar_isInverseEra, _mutable_calendar; - if ((_mutable_calendar_isInverseEra = (_mutable_calendar = mutable.calendar).isInverseEra) === null || _mutable_calendar_isInverseEra === void 0 ? void 0 : _mutable_calendar_isInverseEra.call(_mutable_calendar, mutable)) - amount = -amount; - mutable.year = $735220c2d4774dd3$var$cycleValue$9(value.year, amount, -Infinity, 9999, options2 === null || options2 === void 0 ? void 0 : options2.round); - if (mutable.year === -Infinity) - mutable.year = 1; - if (mutable.calendar.balanceYearMonth) - mutable.calendar.balanceYearMonth(mutable, value); + if ((_mutable_calendar_isInverseEra = (_mutable_calendar = mutable.calendar).isInverseEra) === null || _mutable_calendar_isInverseEra === void 0 ? void 0 : _mutable_calendar_isInverseEra.call(_mutable_calendar, mutable)) amount = -amount; + mutable.year = $735220c2d4774dd3$var$cycleValue(value.year, amount, -Infinity, 9999, options2 === null || options2 === void 0 ? void 0 : options2.round); + if (mutable.year === -Infinity) mutable.year = 1; + if (mutable.calendar.balanceYearMonth) mutable.calendar.balanceYearMonth(mutable, value); break; case "month": - mutable.month = $735220c2d4774dd3$var$cycleValue$9(value.month, amount, 1, value.calendar.getMonthsInYear(value), options2 === null || options2 === void 0 ? void 0 : options2.round); + mutable.month = $735220c2d4774dd3$var$cycleValue(value.month, amount, 1, value.calendar.getMonthsInYear(value), options2 === null || options2 === void 0 ? void 0 : options2.round); break; case "day": - mutable.day = $735220c2d4774dd3$var$cycleValue$9(value.day, amount, 1, value.calendar.getDaysInMonth(value), options2 === null || options2 === void 0 ? void 0 : options2.round); + mutable.day = $735220c2d4774dd3$var$cycleValue(value.day, amount, 1, value.calendar.getDaysInMonth(value), options2 === null || options2 === void 0 ? void 0 : options2.round); break; default: throw new Error("Unsupported field " + field); } - if (value.calendar.balanceDate) - value.calendar.balanceDate(mutable); - $735220c2d4774dd3$export$c4e2ecac49351ef2$9(mutable); + if (value.calendar.balanceDate) value.calendar.balanceDate(mutable); + $735220c2d4774dd3$export$c4e2ecac49351ef2(mutable); return mutable; } -function $735220c2d4774dd3$export$dd02b3e0007dfe28$9(value, field, amount, options2) { +function $735220c2d4774dd3$export$dd02b3e0007dfe28(value, field, amount, options2) { let mutable = value.copy(); switch (field) { case "hour": { @@ -36844,67 +36032,61 @@ function $735220c2d4774dd3$export$dd02b3e0007dfe28$9(value, field, amount, optio min2 = isPM ? 12 : 0; max2 = isPM ? 23 : 11; } - mutable.hour = $735220c2d4774dd3$var$cycleValue$9(hours, amount, min2, max2, options2 === null || options2 === void 0 ? void 0 : options2.round); + mutable.hour = $735220c2d4774dd3$var$cycleValue(hours, amount, min2, max2, options2 === null || options2 === void 0 ? void 0 : options2.round); break; } case "minute": - mutable.minute = $735220c2d4774dd3$var$cycleValue$9(value.minute, amount, 0, 59, options2 === null || options2 === void 0 ? void 0 : options2.round); + mutable.minute = $735220c2d4774dd3$var$cycleValue(value.minute, amount, 0, 59, options2 === null || options2 === void 0 ? void 0 : options2.round); break; case "second": - mutable.second = $735220c2d4774dd3$var$cycleValue$9(value.second, amount, 0, 59, options2 === null || options2 === void 0 ? void 0 : options2.round); + mutable.second = $735220c2d4774dd3$var$cycleValue(value.second, amount, 0, 59, options2 === null || options2 === void 0 ? void 0 : options2.round); break; case "millisecond": - mutable.millisecond = $735220c2d4774dd3$var$cycleValue$9(value.millisecond, amount, 0, 999, options2 === null || options2 === void 0 ? void 0 : options2.round); + mutable.millisecond = $735220c2d4774dd3$var$cycleValue(value.millisecond, amount, 0, 999, options2 === null || options2 === void 0 ? void 0 : options2.round); break; default: throw new Error("Unsupported field " + field); } return mutable; } -function $735220c2d4774dd3$var$cycleValue$9(value, amount, min2, max2, round2 = false) { +function $735220c2d4774dd3$var$cycleValue(value, amount, min2, max2, round2 = false) { if (round2) { value += Math.sign(amount); - if (value < min2) - value = max2; + if (value < min2) value = max2; let div = Math.abs(amount); - if (amount > 0) - value = Math.ceil(value / div) * div; - else - value = Math.floor(value / div) * div; - if (value > max2) - value = min2; + if (amount > 0) value = Math.ceil(value / div) * div; + else value = Math.floor(value / div) * div; + if (value > max2) value = min2; } else { value += amount; - if (value < min2) - value = max2 - (min2 - value - 1); - else if (value > max2) - value = min2 + (value - max2 - 1); + if (value < min2) value = max2 - (min2 - value - 1); + else if (value > max2) value = min2 + (value - max2 - 1); } return value; } -function $735220c2d4774dd3$export$96b1d28349274637$9(dateTime, duration) { +function $735220c2d4774dd3$export$96b1d28349274637(dateTime, duration) { let ms; if (duration.years != null && duration.years !== 0 || duration.months != null && duration.months !== 0 || duration.weeks != null && duration.weeks !== 0 || duration.days != null && duration.days !== 0) { - let res3 = $735220c2d4774dd3$export$e16d8520af44a096$9((0, $11d87f3f76e88657$export$b21e0b124e224484$9)(dateTime), { + let res3 = $735220c2d4774dd3$export$e16d8520af44a096((0, $11d87f3f76e88657$export$b21e0b124e224484)(dateTime), { years: duration.years, months: duration.months, weeks: duration.weeks, days: duration.days }); - ms = (0, $11d87f3f76e88657$export$5107c82f94518f5c$9)(res3, dateTime.timeZone); + ms = (0, $11d87f3f76e88657$export$5107c82f94518f5c)(res3, dateTime.timeZone); } else - ms = (0, $11d87f3f76e88657$export$bd4fb2bc8bb06fb$9)(dateTime) - dateTime.offset; + ms = (0, $11d87f3f76e88657$export$bd4fb2bc8bb06fb)(dateTime) - dateTime.offset; ms += duration.milliseconds || 0; ms += (duration.seconds || 0) * 1e3; ms += (duration.minutes || 0) * 6e4; ms += (duration.hours || 0) * 36e5; - let res2 = (0, $11d87f3f76e88657$export$1b96692a1ba042ac$9)(ms, dateTime.timeZone); - return (0, $11d87f3f76e88657$export$b4a036af3fc0b032$9)(res2, dateTime.calendar); + let res2 = (0, $11d87f3f76e88657$export$1b96692a1ba042ac)(ms, dateTime.timeZone); + return (0, $11d87f3f76e88657$export$b4a036af3fc0b032)(res2, dateTime.calendar); } -function $735220c2d4774dd3$export$6814caac34ca03c7$9(dateTime, duration) { - return $735220c2d4774dd3$export$96b1d28349274637$9(dateTime, $735220c2d4774dd3$export$3e2544e88a25bff8$9(duration)); +function $735220c2d4774dd3$export$6814caac34ca03c7(dateTime, duration) { + return $735220c2d4774dd3$export$96b1d28349274637(dateTime, $735220c2d4774dd3$export$3e2544e88a25bff8(duration)); } -function $735220c2d4774dd3$export$9a297d111fc86b79$9(dateTime, field, amount, options2) { +function $735220c2d4774dd3$export$9a297d111fc86b79(dateTime, field, amount, options2) { switch (field) { case "hour": { let min2 = 0; @@ -36914,191 +36096,176 @@ function $735220c2d4774dd3$export$9a297d111fc86b79$9(dateTime, field, amount, op min2 = isPM ? 12 : 0; max2 = isPM ? 23 : 11; } - let plainDateTime = (0, $11d87f3f76e88657$export$b21e0b124e224484$9)(dateTime); - let minDate = (0, $11d87f3f76e88657$export$b4a036af3fc0b032$9)($735220c2d4774dd3$export$e5d5e1c1822b6e56$9(plainDateTime, { + let plainDateTime = (0, $11d87f3f76e88657$export$b21e0b124e224484)(dateTime); + let minDate = (0, $11d87f3f76e88657$export$b4a036af3fc0b032)($735220c2d4774dd3$export$e5d5e1c1822b6e56(plainDateTime, { hour: min2 - }), new (0, $3b62074eb05584b2$export$80ee6245ec4f29ec$9)()); + }), new (0, $3b62074eb05584b2$export$80ee6245ec4f29ec)()); let minAbsolute = [ - (0, $11d87f3f76e88657$export$5107c82f94518f5c$9)(minDate, dateTime.timeZone, "earlier"), - (0, $11d87f3f76e88657$export$5107c82f94518f5c$9)(minDate, dateTime.timeZone, "later") - ].filter((ms2) => (0, $11d87f3f76e88657$export$1b96692a1ba042ac$9)(ms2, dateTime.timeZone).day === minDate.day)[0]; - let maxDate = (0, $11d87f3f76e88657$export$b4a036af3fc0b032$9)($735220c2d4774dd3$export$e5d5e1c1822b6e56$9(plainDateTime, { + (0, $11d87f3f76e88657$export$5107c82f94518f5c)(minDate, dateTime.timeZone, "earlier"), + (0, $11d87f3f76e88657$export$5107c82f94518f5c)(minDate, dateTime.timeZone, "later") + ].filter((ms2) => (0, $11d87f3f76e88657$export$1b96692a1ba042ac)(ms2, dateTime.timeZone).day === minDate.day)[0]; + let maxDate = (0, $11d87f3f76e88657$export$b4a036af3fc0b032)($735220c2d4774dd3$export$e5d5e1c1822b6e56(plainDateTime, { hour: max2 - }), new (0, $3b62074eb05584b2$export$80ee6245ec4f29ec$9)()); + }), new (0, $3b62074eb05584b2$export$80ee6245ec4f29ec)()); let maxAbsolute = [ - (0, $11d87f3f76e88657$export$5107c82f94518f5c$9)(maxDate, dateTime.timeZone, "earlier"), - (0, $11d87f3f76e88657$export$5107c82f94518f5c$9)(maxDate, dateTime.timeZone, "later") - ].filter((ms2) => (0, $11d87f3f76e88657$export$1b96692a1ba042ac$9)(ms2, dateTime.timeZone).day === maxDate.day).pop(); - let ms = (0, $11d87f3f76e88657$export$bd4fb2bc8bb06fb$9)(dateTime) - dateTime.offset; - let hours = Math.floor(ms / $735220c2d4774dd3$var$ONE_HOUR$9); - let remainder = ms % $735220c2d4774dd3$var$ONE_HOUR$9; - ms = $735220c2d4774dd3$var$cycleValue$9(hours, amount, Math.floor(minAbsolute / $735220c2d4774dd3$var$ONE_HOUR$9), Math.floor(maxAbsolute / $735220c2d4774dd3$var$ONE_HOUR$9), options2 === null || options2 === void 0 ? void 0 : options2.round) * $735220c2d4774dd3$var$ONE_HOUR$9 + remainder; - return (0, $11d87f3f76e88657$export$b4a036af3fc0b032$9)((0, $11d87f3f76e88657$export$1b96692a1ba042ac$9)(ms, dateTime.timeZone), dateTime.calendar); + (0, $11d87f3f76e88657$export$5107c82f94518f5c)(maxDate, dateTime.timeZone, "earlier"), + (0, $11d87f3f76e88657$export$5107c82f94518f5c)(maxDate, dateTime.timeZone, "later") + ].filter((ms2) => (0, $11d87f3f76e88657$export$1b96692a1ba042ac)(ms2, dateTime.timeZone).day === maxDate.day).pop(); + let ms = (0, $11d87f3f76e88657$export$bd4fb2bc8bb06fb)(dateTime) - dateTime.offset; + let hours = Math.floor(ms / $735220c2d4774dd3$var$ONE_HOUR); + let remainder = ms % $735220c2d4774dd3$var$ONE_HOUR; + ms = $735220c2d4774dd3$var$cycleValue(hours, amount, Math.floor(minAbsolute / $735220c2d4774dd3$var$ONE_HOUR), Math.floor(maxAbsolute / $735220c2d4774dd3$var$ONE_HOUR), options2 === null || options2 === void 0 ? void 0 : options2.round) * $735220c2d4774dd3$var$ONE_HOUR + remainder; + return (0, $11d87f3f76e88657$export$b4a036af3fc0b032)((0, $11d87f3f76e88657$export$1b96692a1ba042ac)(ms, dateTime.timeZone), dateTime.calendar); } case "minute": case "second": case "millisecond": - return $735220c2d4774dd3$export$dd02b3e0007dfe28$9(dateTime, field, amount, options2); + return $735220c2d4774dd3$export$dd02b3e0007dfe28(dateTime, field, amount, options2); case "era": case "year": case "month": case "day": { - let res2 = $735220c2d4774dd3$export$d52ced6badfb9a4c$9((0, $11d87f3f76e88657$export$b21e0b124e224484$9)(dateTime), field, amount, options2); - let ms = (0, $11d87f3f76e88657$export$5107c82f94518f5c$9)(res2, dateTime.timeZone); - return (0, $11d87f3f76e88657$export$b4a036af3fc0b032$9)((0, $11d87f3f76e88657$export$1b96692a1ba042ac$9)(ms, dateTime.timeZone), dateTime.calendar); + let res2 = $735220c2d4774dd3$export$d52ced6badfb9a4c((0, $11d87f3f76e88657$export$b21e0b124e224484)(dateTime), field, amount, options2); + let ms = (0, $11d87f3f76e88657$export$5107c82f94518f5c)(res2, dateTime.timeZone); + return (0, $11d87f3f76e88657$export$b4a036af3fc0b032)((0, $11d87f3f76e88657$export$1b96692a1ba042ac)(ms, dateTime.timeZone), dateTime.calendar); } default: throw new Error("Unsupported field " + field); } } -function $735220c2d4774dd3$export$31b5430eb18be4f8$9(dateTime, fields, disambiguation) { - let plainDateTime = (0, $11d87f3f76e88657$export$b21e0b124e224484$9)(dateTime); - let res2 = $735220c2d4774dd3$export$e5d5e1c1822b6e56$9($735220c2d4774dd3$export$adaa4cf7ef1b65be$9(plainDateTime, fields), fields); - if (res2.compare(plainDateTime) === 0) - return dateTime; - let ms = (0, $11d87f3f76e88657$export$5107c82f94518f5c$9)(res2, dateTime.timeZone, disambiguation); - return (0, $11d87f3f76e88657$export$b4a036af3fc0b032$9)((0, $11d87f3f76e88657$export$1b96692a1ba042ac$9)(ms, dateTime.timeZone), dateTime.calendar); +function $735220c2d4774dd3$export$31b5430eb18be4f8(dateTime, fields, disambiguation) { + let plainDateTime = (0, $11d87f3f76e88657$export$b21e0b124e224484)(dateTime); + let res2 = $735220c2d4774dd3$export$e5d5e1c1822b6e56($735220c2d4774dd3$export$adaa4cf7ef1b65be(plainDateTime, fields), fields); + if (res2.compare(plainDateTime) === 0) return dateTime; + let ms = (0, $11d87f3f76e88657$export$5107c82f94518f5c)(res2, dateTime.timeZone, disambiguation); + return (0, $11d87f3f76e88657$export$b4a036af3fc0b032)((0, $11d87f3f76e88657$export$1b96692a1ba042ac)(ms, dateTime.timeZone), dateTime.calendar); } -const $fae977aafc393c5c$var$TIME_RE$9 = /^(\d{2})(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?$/; -const $fae977aafc393c5c$var$DATE_RE$9 = /^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})$/; -const $fae977aafc393c5c$var$DATE_TIME_RE$9 = /^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})(?:T(\d{2}))?(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?$/; -const $fae977aafc393c5c$var$ZONED_DATE_TIME_RE$9 = /^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})(?:T(\d{2}))?(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?(?:([+-]\d{2})(?::?(\d{2}))?)?\[(.*?)\]$/; -const $fae977aafc393c5c$var$ABSOLUTE_RE$9 = /^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})(?:T(\d{2}))?(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?(?:(?:([+-]\d{2})(?::?(\d{2}))?)|Z)$/; -const $fae977aafc393c5c$var$DATE_TIME_DURATION_RE$9 = new RegExp("^((?-)|\\+)?P((?\\d*)Y)?((?\\d*)M)?((?\\d*)W)?((?\\d*)D)?((?