Greasy Fork is available in English.
当你进行pixiv搜索时,它会自动进行排除性搜索。
当前为
// ==UserScript==
// @name Pixiv Automatic exclusion search
// @name:zh-CN Pixiv 自动排除搜索
// @name:ja Pixiv 自動で除外検索
// @version 0.1.0
// @license MIT
// @author yakisova41
// @namespace https://yakisova.com/
// @description When you do a pixiv search, it automatically does an exclusion search.
// @description:ja pixiv検索をした時に、自動的に除外検索をします。
// @description:zh-CN 当你进行pixiv搜索时,它会自动进行排除性搜索。
// @match https://www.pixiv.net/*
// ==/UserScript==
/*
MIT License
Copyright (c) 2022 yakisova41
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
(() => {
var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __esm = (fn, res) => function __init() {
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
};
var __commonJS = (cb, mod) => function __require() {
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
mod
));
// node_modules/react/cjs/react.production.min.js
var require_react_production_min = __commonJS({
"node_modules/react/cjs/react.production.min.js"(exports) {
"use strict";
var l = Symbol.for("react.element");
var n = Symbol.for("react.portal");
var p = Symbol.for("react.fragment");
var q = Symbol.for("react.strict_mode");
var r = Symbol.for("react.profiler");
var t = Symbol.for("react.provider");
var u = Symbol.for("react.context");
var v = Symbol.for("react.forward_ref");
var w = Symbol.for("react.suspense");
var x = Symbol.for("react.memo");
var y = Symbol.for("react.lazy");
var z = Symbol.iterator;
function A(a) {
if (null === a || "object" !== typeof a)
return null;
a = z && a[z] || a["@@iterator"];
return "function" === typeof a ? a : null;
}
var B = { isMounted: function() {
return false;
}, enqueueForceUpdate: function() {
}, enqueueReplaceState: function() {
}, enqueueSetState: function() {
} };
var C = Object.assign;
var D = {};
function E(a, b, e) {
this.props = a;
this.context = b;
this.refs = D;
this.updater = e || B;
}
E.prototype.isReactComponent = {};
E.prototype.setState = function(a, b) {
if ("object" !== typeof a && "function" !== typeof a && null != a)
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, a, b, "setState");
};
E.prototype.forceUpdate = function(a) {
this.updater.enqueueForceUpdate(this, a, "forceUpdate");
};
function F() {
}
F.prototype = E.prototype;
function G(a, b, e) {
this.props = a;
this.context = b;
this.refs = D;
this.updater = e || B;
}
var H = G.prototype = new F();
H.constructor = G;
C(H, E.prototype);
H.isPureReactComponent = true;
var I = Array.isArray;
var J = Object.prototype.hasOwnProperty;
var K = { current: null };
var L = { key: true, ref: true, __self: true, __source: true };
function M(a, b, e) {
var d, c = {}, k = null, h = null;
if (null != b)
for (d in void 0 !== b.ref && (h = b.ref), void 0 !== b.key && (k = "" + b.key), b)
J.call(b, d) && !L.hasOwnProperty(d) && (c[d] = b[d]);
var g = arguments.length - 2;
if (1 === g)
c.children = e;
else if (1 < g) {
for (var f = Array(g), m = 0; m < g; m++)
f[m] = arguments[m + 2];
c.children = f;
}
if (a && a.defaultProps)
for (d in g = a.defaultProps, g)
void 0 === c[d] && (c[d] = g[d]);
return { $$typeof: l, type: a, key: k, ref: h, props: c, _owner: K.current };
}
function N(a, b) {
return { $$typeof: l, type: a.type, key: b, ref: a.ref, props: a.props, _owner: a._owner };
}
function O(a) {
return "object" === typeof a && null !== a && a.$$typeof === l;
}
function escape(a) {
var b = { "=": "=0", ":": "=2" };
return "$" + a.replace(/[=:]/g, function(a2) {
return b[a2];
});
}
var P = /\/+/g;
function Q(a, b) {
return "object" === typeof a && null !== a && null != a.key ? escape("" + a.key) : b.toString(36);
}
function R(a, b, e, d, c) {
var k = typeof a;
if ("undefined" === k || "boolean" === k)
a = null;
var h = false;
if (null === a)
h = true;
else
switch (k) {
case "string":
case "number":
h = true;
break;
case "object":
switch (a.$$typeof) {
case l:
case n:
h = true;
}
}
if (h)
return h = a, c = c(h), a = "" === d ? "." + Q(h, 0) : d, I(c) ? (e = "", null != a && (e = a.replace(P, "$&/") + "/"), R(c, b, e, "", function(a2) {
return a2;
})) : null != c && (O(c) && (c = N(c, e + (!c.key || h && h.key === c.key ? "" : ("" + c.key).replace(P, "$&/") + "/") + a)), b.push(c)), 1;
h = 0;
d = "" === d ? "." : d + ":";
if (I(a))
for (var g = 0; g < a.length; g++) {
k = a[g];
var f = d + Q(k, g);
h += R(k, b, e, f, c);
}
else if (f = A(a), "function" === typeof f)
for (a = f.call(a), g = 0; !(k = a.next()).done; )
k = k.value, f = d + Q(k, g++), h += R(k, b, e, f, c);
else if ("object" === k)
throw b = String(a), Error("Objects are not valid as a React child (found: " + ("[object Object]" === b ? "object with keys {" + Object.keys(a).join(", ") + "}" : b) + "). If you meant to render a collection of children, use an array instead.");
return h;
}
function S(a, b, e) {
if (null == a)
return a;
var d = [], c = 0;
R(a, d, "", "", function(a2) {
return b.call(e, a2, c++);
});
return d;
}
function T(a) {
if (-1 === a._status) {
var b = a._result;
b = b();
b.then(function(b2) {
if (0 === a._status || -1 === a._status)
a._status = 1, a._result = b2;
}, function(b2) {
if (0 === a._status || -1 === a._status)
a._status = 2, a._result = b2;
});
-1 === a._status && (a._status = 0, a._result = b);
}
if (1 === a._status)
return a._result.default;
throw a._result;
}
var U = { current: null };
var V = { transition: null };
var W = { ReactCurrentDispatcher: U, ReactCurrentBatchConfig: V, ReactCurrentOwner: K };
exports.Children = { map: S, forEach: function(a, b, e) {
S(a, function() {
b.apply(this, arguments);
}, e);
}, count: function(a) {
var b = 0;
S(a, function() {
b++;
});
return b;
}, toArray: function(a) {
return S(a, function(a2) {
return a2;
}) || [];
}, only: function(a) {
if (!O(a))
throw Error("React.Children.only expected to receive a single React element child.");
return a;
} };
exports.Component = E;
exports.Fragment = p;
exports.Profiler = r;
exports.PureComponent = G;
exports.StrictMode = q;
exports.Suspense = w;
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = W;
exports.cloneElement = function(a, b, e) {
if (null === a || void 0 === a)
throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + a + ".");
var d = C({}, a.props), c = a.key, k = a.ref, h = a._owner;
if (null != b) {
void 0 !== b.ref && (k = b.ref, h = K.current);
void 0 !== b.key && (c = "" + b.key);
if (a.type && a.type.defaultProps)
var g = a.type.defaultProps;
for (f in b)
J.call(b, f) && !L.hasOwnProperty(f) && (d[f] = void 0 === b[f] && void 0 !== g ? g[f] : b[f]);
}
var f = arguments.length - 2;
if (1 === f)
d.children = e;
else if (1 < f) {
g = Array(f);
for (var m = 0; m < f; m++)
g[m] = arguments[m + 2];
d.children = g;
}
return { $$typeof: l, type: a.type, key: c, ref: k, props: d, _owner: h };
};
exports.createContext = function(a) {
a = { $$typeof: u, _currentValue: a, _currentValue2: a, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null };
a.Provider = { $$typeof: t, _context: a };
return a.Consumer = a;
};
exports.createElement = M;
exports.createFactory = function(a) {
var b = M.bind(null, a);
b.type = a;
return b;
};
exports.createRef = function() {
return { current: null };
};
exports.forwardRef = function(a) {
return { $$typeof: v, render: a };
};
exports.isValidElement = O;
exports.lazy = function(a) {
return { $$typeof: y, _payload: { _status: -1, _result: a }, _init: T };
};
exports.memo = function(a, b) {
return { $$typeof: x, type: a, compare: void 0 === b ? null : b };
};
exports.startTransition = function(a) {
var b = V.transition;
V.transition = {};
try {
a();
} finally {
V.transition = b;
}
};
exports.unstable_act = function() {
throw Error("act(...) is not supported in production builds of React.");
};
exports.useCallback = function(a, b) {
return U.current.useCallback(a, b);
};
exports.useContext = function(a) {
return U.current.useContext(a);
};
exports.useDebugValue = function() {
};
exports.useDeferredValue = function(a) {
return U.current.useDeferredValue(a);
};
exports.useEffect = function(a, b) {
return U.current.useEffect(a, b);
};
exports.useId = function() {
return U.current.useId();
};
exports.useImperativeHandle = function(a, b, e) {
return U.current.useImperativeHandle(a, b, e);
};
exports.useInsertionEffect = function(a, b) {
return U.current.useInsertionEffect(a, b);
};
exports.useLayoutEffect = function(a, b) {
return U.current.useLayoutEffect(a, b);
};
exports.useMemo = function(a, b) {
return U.current.useMemo(a, b);
};
exports.useReducer = function(a, b, e) {
return U.current.useReducer(a, b, e);
};
exports.useRef = function(a) {
return U.current.useRef(a);
};
exports.useState = function(a) {
return U.current.useState(a);
};
exports.useSyncExternalStore = function(a, b, e) {
return U.current.useSyncExternalStore(a, b, e);
};
exports.useTransition = function() {
return U.current.useTransition();
};
exports.version = "18.2.0";
}
});
// node_modules/react/index.js
var require_react = __commonJS({
"node_modules/react/index.js"(exports, module) {
"use strict";
if (true) {
module.exports = require_react_production_min();
} else {
module.exports = null;
}
}
});
// node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js
var require_react_dom_server_legacy_browser_production_min = __commonJS({
"node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js"(exports) {
"use strict";
var aa = require_react();
function l(a) {
for (var b = "https://reactjs.org/docs/error-decoder.html?invariant=" + a, c = 1; c < arguments.length; c++)
b += "&args[]=" + encodeURIComponent(arguments[c]);
return "Minified React error #" + a + "; visit " + b + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
}
var p = Object.prototype.hasOwnProperty;
var fa = /^[: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]*$/;
var ha = {};
var ia = {};
function ja(a) {
if (p.call(ia, a))
return true;
if (p.call(ha, a))
return false;
if (fa.test(a))
return ia[a] = true;
ha[a] = true;
return false;
}
function r(a, b, c, d, f, e, g) {
this.acceptsBooleans = 2 === b || 3 === b || 4 === b;
this.attributeName = d;
this.attributeNamespace = f;
this.mustUseProperty = c;
this.propertyName = a;
this.type = b;
this.sanitizeURL = e;
this.removeEmptyString = g;
}
var t = {};
"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a) {
t[a] = new r(a, 0, false, a, null, false, false);
});
[["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(a) {
var b = a[0];
t[b] = new r(b, 1, false, a[1], null, false, false);
});
["contentEditable", "draggable", "spellCheck", "value"].forEach(function(a) {
t[a] = new r(a, 2, false, a.toLowerCase(), null, false, false);
});
["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(a) {
t[a] = new r(a, 2, false, a, 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(a) {
t[a] = new r(a, 3, false, a.toLowerCase(), null, false, false);
});
["checked", "multiple", "muted", "selected"].forEach(function(a) {
t[a] = new r(a, 3, true, a, null, false, false);
});
["capture", "download"].forEach(function(a) {
t[a] = new r(a, 4, false, a, null, false, false);
});
["cols", "rows", "size", "span"].forEach(function(a) {
t[a] = new r(a, 6, false, a, null, false, false);
});
["rowSpan", "start"].forEach(function(a) {
t[a] = new r(a, 5, false, a.toLowerCase(), null, false, false);
});
var ka = /[\-:]([a-z])/g;
function la(a) {
return a[1].toUpperCase();
}
"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(a) {
var b = a.replace(
ka,
la
);
t[b] = new r(b, 1, false, a, null, false, false);
});
"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a) {
var b = a.replace(ka, la);
t[b] = new r(b, 1, false, a, "http://www.w3.org/1999/xlink", false, false);
});
["xml:base", "xml:lang", "xml:space"].forEach(function(a) {
var b = a.replace(ka, la);
t[b] = new r(b, 1, false, a, "http://www.w3.org/XML/1998/namespace", false, false);
});
["tabIndex", "crossOrigin"].forEach(function(a) {
t[a] = new r(a, 1, false, a.toLowerCase(), null, false, false);
});
t.xlinkHref = new r("xlinkHref", 1, false, "xlink:href", "http://www.w3.org/1999/xlink", true, false);
["src", "href", "action", "formAction"].forEach(function(a) {
t[a] = new r(a, 1, false, a.toLowerCase(), null, true, true);
});
var u = {
animationIterationCount: true,
aspectRatio: true,
borderImageOutset: true,
borderImageSlice: true,
borderImageWidth: true,
boxFlex: true,
boxFlexGroup: true,
boxOrdinalGroup: true,
columnCount: true,
columns: true,
flex: true,
flexGrow: true,
flexPositive: true,
flexShrink: true,
flexNegative: true,
flexOrder: true,
gridArea: true,
gridRow: true,
gridRowEnd: true,
gridRowSpan: true,
gridRowStart: true,
gridColumn: true,
gridColumnEnd: true,
gridColumnSpan: true,
gridColumnStart: true,
fontWeight: true,
lineClamp: true,
lineHeight: true,
opacity: true,
order: true,
orphans: true,
tabSize: true,
widows: true,
zIndex: true,
zoom: true,
fillOpacity: true,
floodOpacity: true,
stopOpacity: true,
strokeDasharray: true,
strokeDashoffset: true,
strokeMiterlimit: true,
strokeOpacity: true,
strokeWidth: true
};
var ma = ["Webkit", "ms", "Moz", "O"];
Object.keys(u).forEach(function(a) {
ma.forEach(function(b) {
b = b + a.charAt(0).toUpperCase() + a.substring(1);
u[b] = u[a];
});
});
var na = /["'&<>]/;
function v(a) {
if ("boolean" === typeof a || "number" === typeof a)
return "" + a;
a = "" + a;
var b = na.exec(a);
if (b) {
var c = "", d, f = 0;
for (d = b.index; d < a.length; d++) {
switch (a.charCodeAt(d)) {
case 34:
b = """;
break;
case 38:
b = "&";
break;
case 39:
b = "'";
break;
case 60:
b = "<";
break;
case 62:
b = ">";
break;
default:
continue;
}
f !== d && (c += a.substring(f, d));
f = d + 1;
c += b;
}
a = f !== d ? c + a.substring(f, d) : c;
}
return a;
}
var oa = /([A-Z])/g;
var pa = /^ms-/;
var qa = Array.isArray;
function w(a, b) {
return { insertionMode: a, selectedValue: b };
}
function ra(a, b, c) {
switch (b) {
case "select":
return w(1, null != c.value ? c.value : c.defaultValue);
case "svg":
return w(2, null);
case "math":
return w(3, null);
case "foreignObject":
return w(1, null);
case "table":
return w(4, null);
case "thead":
case "tbody":
case "tfoot":
return w(5, null);
case "colgroup":
return w(7, null);
case "tr":
return w(6, null);
}
return 4 <= a.insertionMode || 0 === a.insertionMode ? w(1, null) : a;
}
var sa = /* @__PURE__ */ new Map();
function ta(a, b, c) {
if ("object" !== typeof c)
throw Error(l(62));
b = true;
for (var d in c)
if (p.call(c, d)) {
var f = c[d];
if (null != f && "boolean" !== typeof f && "" !== f) {
if (0 === d.indexOf("--")) {
var e = v(d);
f = v(("" + f).trim());
} else {
e = d;
var g = sa.get(e);
void 0 !== g ? e = g : (g = v(e.replace(oa, "-$1").toLowerCase().replace(pa, "-ms-")), sa.set(e, g), e = g);
f = "number" === typeof f ? 0 === f || p.call(u, d) ? "" + f : f + "px" : v(("" + f).trim());
}
b ? (b = false, a.push(' style="', e, ":", f)) : a.push(";", e, ":", f);
}
}
b || a.push('"');
}
function x(a, b, c, d) {
switch (c) {
case "style":
ta(a, b, d);
return;
case "defaultValue":
case "defaultChecked":
case "innerHTML":
case "suppressContentEditableWarning":
case "suppressHydrationWarning":
return;
}
if (!(2 < c.length) || "o" !== c[0] && "O" !== c[0] || "n" !== c[1] && "N" !== c[1]) {
if (b = t.hasOwnProperty(c) ? t[c] : null, null !== b) {
switch (typeof d) {
case "function":
case "symbol":
return;
case "boolean":
if (!b.acceptsBooleans)
return;
}
c = b.attributeName;
switch (b.type) {
case 3:
d && a.push(" ", c, '=""');
break;
case 4:
true === d ? a.push(" ", c, '=""') : false !== d && a.push(" ", c, '="', v(d), '"');
break;
case 5:
isNaN(d) || a.push(" ", c, '="', v(d), '"');
break;
case 6:
!isNaN(d) && 1 <= d && a.push(" ", c, '="', v(d), '"');
break;
default:
b.sanitizeURL && (d = "" + d), a.push(" ", c, '="', v(d), '"');
}
} else if (ja(c)) {
switch (typeof d) {
case "function":
case "symbol":
return;
case "boolean":
if (b = c.toLowerCase().slice(0, 5), "data-" !== b && "aria-" !== b)
return;
}
a.push(" ", c, '="', v(d), '"');
}
}
}
function y(a, b, c) {
if (null != b) {
if (null != c)
throw Error(l(60));
if ("object" !== typeof b || !("__html" in b))
throw Error(l(61));
b = b.__html;
null !== b && void 0 !== b && a.push("" + b);
}
}
function ua(a) {
var b = "";
aa.Children.forEach(a, function(a2) {
null != a2 && (b += a2);
});
return b;
}
function va(a, b, c, d) {
a.push(A(c));
var f = c = null, e;
for (e in b)
if (p.call(b, e)) {
var g = b[e];
if (null != g)
switch (e) {
case "children":
c = g;
break;
case "dangerouslySetInnerHTML":
f = g;
break;
default:
x(a, d, e, g);
}
}
a.push(">");
y(a, f, c);
return "string" === typeof c ? (a.push(v(c)), null) : c;
}
var wa = /^[a-zA-Z][a-zA-Z:_\.\-\d]*$/;
var xa = /* @__PURE__ */ new Map();
function A(a) {
var b = xa.get(a);
if (void 0 === b) {
if (!wa.test(a))
throw Error(l(65, a));
b = "<" + a;
xa.set(a, b);
}
return b;
}
function ya(a, b, c, d, f) {
switch (b) {
case "select":
a.push(A("select"));
var e = null, g = null;
for (n in c)
if (p.call(c, n)) {
var h = c[n];
if (null != h)
switch (n) {
case "children":
e = h;
break;
case "dangerouslySetInnerHTML":
g = h;
break;
case "defaultValue":
case "value":
break;
default:
x(a, d, n, h);
}
}
a.push(">");
y(a, g, e);
return e;
case "option":
g = f.selectedValue;
a.push(A("option"));
var k = h = null, m = null;
var n = null;
for (e in c)
if (p.call(c, e)) {
var q = c[e];
if (null != q)
switch (e) {
case "children":
h = q;
break;
case "selected":
m = q;
break;
case "dangerouslySetInnerHTML":
n = q;
break;
case "value":
k = q;
default:
x(a, d, e, q);
}
}
if (null != g)
if (c = null !== k ? "" + k : ua(h), qa(g))
for (d = 0; d < g.length; d++) {
if ("" + g[d] === c) {
a.push(' selected=""');
break;
}
}
else
"" + g === c && a.push(' selected=""');
else
m && a.push(' selected=""');
a.push(">");
y(a, n, h);
return h;
case "textarea":
a.push(A("textarea"));
n = g = e = null;
for (h in c)
if (p.call(c, h) && (k = c[h], null != k))
switch (h) {
case "children":
n = k;
break;
case "value":
e = k;
break;
case "defaultValue":
g = k;
break;
case "dangerouslySetInnerHTML":
throw Error(l(91));
default:
x(
a,
d,
h,
k
);
}
null === e && null !== g && (e = g);
a.push(">");
if (null != n) {
if (null != e)
throw Error(l(92));
if (qa(n) && 1 < n.length)
throw Error(l(93));
e = "" + n;
}
"string" === typeof e && "\n" === e[0] && a.push("\n");
null !== e && a.push(v("" + e));
return null;
case "input":
a.push(A("input"));
k = n = h = e = null;
for (g in c)
if (p.call(c, g) && (m = c[g], null != m))
switch (g) {
case "children":
case "dangerouslySetInnerHTML":
throw Error(l(399, "input"));
case "defaultChecked":
k = m;
break;
case "defaultValue":
h = m;
break;
case "checked":
n = m;
break;
case "value":
e = m;
break;
default:
x(a, d, g, m);
}
null !== n ? x(a, d, "checked", n) : null !== k && x(a, d, "checked", k);
null !== e ? x(a, d, "value", e) : null !== h && x(a, d, "value", h);
a.push("/>");
return null;
case "menuitem":
a.push(A("menuitem"));
for (var C in c)
if (p.call(c, C) && (e = c[C], null != e))
switch (C) {
case "children":
case "dangerouslySetInnerHTML":
throw Error(l(400));
default:
x(a, d, C, e);
}
a.push(">");
return null;
case "title":
a.push(A("title"));
e = null;
for (q in c)
if (p.call(c, q) && (g = c[q], null != g))
switch (q) {
case "children":
e = g;
break;
case "dangerouslySetInnerHTML":
throw Error(l(434));
default:
x(a, d, q, g);
}
a.push(">");
return e;
case "listing":
case "pre":
a.push(A(b));
g = e = null;
for (k in c)
if (p.call(c, k) && (h = c[k], null != h))
switch (k) {
case "children":
e = h;
break;
case "dangerouslySetInnerHTML":
g = h;
break;
default:
x(a, d, k, h);
}
a.push(">");
if (null != g) {
if (null != e)
throw Error(l(60));
if ("object" !== typeof g || !("__html" in g))
throw Error(l(61));
c = g.__html;
null !== c && void 0 !== c && ("string" === typeof c && 0 < c.length && "\n" === c[0] ? a.push("\n", c) : a.push("" + c));
}
"string" === typeof e && "\n" === e[0] && a.push("\n");
return e;
case "area":
case "base":
case "br":
case "col":
case "embed":
case "hr":
case "img":
case "keygen":
case "link":
case "meta":
case "param":
case "source":
case "track":
case "wbr":
a.push(A(b));
for (var D in c)
if (p.call(c, D) && (e = c[D], null != e))
switch (D) {
case "children":
case "dangerouslySetInnerHTML":
throw Error(l(399, b));
default:
x(a, d, D, e);
}
a.push("/>");
return null;
case "annotation-xml":
case "color-profile":
case "font-face":
case "font-face-src":
case "font-face-uri":
case "font-face-format":
case "font-face-name":
case "missing-glyph":
return va(
a,
c,
b,
d
);
case "html":
return 0 === f.insertionMode && a.push("<!DOCTYPE html>"), va(a, c, b, d);
default:
if (-1 === b.indexOf("-") && "string" !== typeof c.is)
return va(a, c, b, d);
a.push(A(b));
g = e = null;
for (m in c)
if (p.call(c, m) && (h = c[m], null != h))
switch (m) {
case "children":
e = h;
break;
case "dangerouslySetInnerHTML":
g = h;
break;
case "style":
ta(a, d, h);
break;
case "suppressContentEditableWarning":
case "suppressHydrationWarning":
break;
default:
ja(m) && "function" !== typeof h && "symbol" !== typeof h && a.push(" ", m, '="', v(h), '"');
}
a.push(">");
y(a, g, e);
return e;
}
}
function za(a, b, c) {
a.push('<!--$?--><template id="');
if (null === c)
throw Error(l(395));
a.push(c);
return a.push('"></template>');
}
function Aa(a, b, c, d) {
switch (c.insertionMode) {
case 0:
case 1:
return a.push('<div hidden id="'), a.push(b.segmentPrefix), b = d.toString(16), a.push(b), a.push('">');
case 2:
return a.push('<svg aria-hidden="true" style="display:none" id="'), a.push(b.segmentPrefix), b = d.toString(16), a.push(b), a.push('">');
case 3:
return a.push('<math aria-hidden="true" style="display:none" id="'), a.push(b.segmentPrefix), b = d.toString(16), a.push(b), a.push('">');
case 4:
return a.push('<table hidden id="'), a.push(b.segmentPrefix), b = d.toString(16), a.push(b), a.push('">');
case 5:
return a.push('<table hidden><tbody id="'), a.push(b.segmentPrefix), b = d.toString(16), a.push(b), a.push('">');
case 6:
return a.push('<table hidden><tr id="'), a.push(b.segmentPrefix), b = d.toString(16), a.push(b), a.push('">');
case 7:
return a.push('<table hidden><colgroup id="'), a.push(b.segmentPrefix), b = d.toString(16), a.push(b), a.push('">');
default:
throw Error(l(397));
}
}
function Ba(a, b) {
switch (b.insertionMode) {
case 0:
case 1:
return a.push("</div>");
case 2:
return a.push("</svg>");
case 3:
return a.push("</math>");
case 4:
return a.push("</table>");
case 5:
return a.push("</tbody></table>");
case 6:
return a.push("</tr></table>");
case 7:
return a.push("</colgroup></table>");
default:
throw Error(l(397));
}
}
var Ca = /[<\u2028\u2029]/g;
function Da(a) {
return JSON.stringify(a).replace(Ca, function(a2) {
switch (a2) {
case "<":
return "\\u003c";
case "\u2028":
return "\\u2028";
case "\u2029":
return "\\u2029";
default:
throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");
}
});
}
function Ea(a, b) {
b = void 0 === b ? "" : b;
return { bootstrapChunks: [], startInlineScript: "<script>", placeholderPrefix: b + "P:", segmentPrefix: b + "S:", boundaryPrefix: b + "B:", idPrefix: b, nextSuspenseID: 0, sentCompleteSegmentFunction: false, sentCompleteBoundaryFunction: false, sentClientRenderFunction: false, generateStaticMarkup: a };
}
function Fa(a, b, c, d) {
if (c.generateStaticMarkup)
return a.push(v(b)), false;
"" === b ? a = d : (d && a.push("<!-- -->"), a.push(v(b)), a = true);
return a;
}
var B = Object.assign;
var Ga = Symbol.for("react.element");
var Ha = Symbol.for("react.portal");
var Ia = Symbol.for("react.fragment");
var Ja = Symbol.for("react.strict_mode");
var Ka = Symbol.for("react.profiler");
var La = Symbol.for("react.provider");
var Ma = Symbol.for("react.context");
var Na = Symbol.for("react.forward_ref");
var Oa = Symbol.for("react.suspense");
var Pa = Symbol.for("react.suspense_list");
var Qa = Symbol.for("react.memo");
var Ra = Symbol.for("react.lazy");
var Sa = Symbol.for("react.scope");
var Ta = Symbol.for("react.debug_trace_mode");
var Ua = Symbol.for("react.legacy_hidden");
var Va = Symbol.for("react.default_value");
var Wa = Symbol.iterator;
function Xa(a) {
if (null == a)
return null;
if ("function" === typeof a)
return a.displayName || a.name || null;
if ("string" === typeof a)
return a;
switch (a) {
case Ia:
return "Fragment";
case Ha:
return "Portal";
case Ka:
return "Profiler";
case Ja:
return "StrictMode";
case Oa:
return "Suspense";
case Pa:
return "SuspenseList";
}
if ("object" === typeof a)
switch (a.$$typeof) {
case Ma:
return (a.displayName || "Context") + ".Consumer";
case La:
return (a._context.displayName || "Context") + ".Provider";
case Na:
var b = a.render;
a = a.displayName;
a || (a = b.displayName || b.name || "", a = "" !== a ? "ForwardRef(" + a + ")" : "ForwardRef");
return a;
case Qa:
return b = a.displayName || null, null !== b ? b : Xa(a.type) || "Memo";
case Ra:
b = a._payload;
a = a._init;
try {
return Xa(a(b));
} catch (c) {
}
}
return null;
}
var Ya = {};
function Za(a, b) {
a = a.contextTypes;
if (!a)
return Ya;
var c = {}, d;
for (d in a)
c[d] = b[d];
return c;
}
var E = null;
function F(a, b) {
if (a !== b) {
a.context._currentValue2 = a.parentValue;
a = a.parent;
var c = b.parent;
if (null === a) {
if (null !== c)
throw Error(l(401));
} else {
if (null === c)
throw Error(l(401));
F(a, c);
}
b.context._currentValue2 = b.value;
}
}
function $a(a) {
a.context._currentValue2 = a.parentValue;
a = a.parent;
null !== a && $a(a);
}
function ab(a) {
var b = a.parent;
null !== b && ab(b);
a.context._currentValue2 = a.value;
}
function bb(a, b) {
a.context._currentValue2 = a.parentValue;
a = a.parent;
if (null === a)
throw Error(l(402));
a.depth === b.depth ? F(a, b) : bb(a, b);
}
function cb(a, b) {
var c = b.parent;
if (null === c)
throw Error(l(402));
a.depth === c.depth ? F(a, c) : cb(a, c);
b.context._currentValue2 = b.value;
}
function G(a) {
var b = E;
b !== a && (null === b ? ab(a) : null === a ? $a(b) : b.depth === a.depth ? F(b, a) : b.depth > a.depth ? bb(b, a) : cb(b, a), E = a);
}
var db = { isMounted: function() {
return false;
}, enqueueSetState: function(a, b) {
a = a._reactInternals;
null !== a.queue && a.queue.push(b);
}, enqueueReplaceState: function(a, b) {
a = a._reactInternals;
a.replace = true;
a.queue = [b];
}, enqueueForceUpdate: function() {
} };
function eb(a, b, c, d) {
var f = void 0 !== a.state ? a.state : null;
a.updater = db;
a.props = c;
a.state = f;
var e = { queue: [], replace: false };
a._reactInternals = e;
var g = b.contextType;
a.context = "object" === typeof g && null !== g ? g._currentValue2 : d;
g = b.getDerivedStateFromProps;
"function" === typeof g && (g = g(c, f), f = null === g || void 0 === g ? f : B({}, f, g), a.state = f);
if ("function" !== typeof b.getDerivedStateFromProps && "function" !== typeof a.getSnapshotBeforeUpdate && ("function" === typeof a.UNSAFE_componentWillMount || "function" === typeof a.componentWillMount))
if (b = a.state, "function" === typeof a.componentWillMount && a.componentWillMount(), "function" === typeof a.UNSAFE_componentWillMount && a.UNSAFE_componentWillMount(), b !== a.state && db.enqueueReplaceState(a, a.state, null), null !== e.queue && 0 < e.queue.length)
if (b = e.queue, g = e.replace, e.queue = null, e.replace = false, g && 1 === b.length)
a.state = b[0];
else {
e = g ? b[0] : a.state;
f = true;
for (g = g ? 1 : 0; g < b.length; g++) {
var h = b[g];
h = "function" === typeof h ? h.call(a, e, c, d) : h;
null != h && (f ? (f = false, e = B({}, e, h)) : B(e, h));
}
a.state = e;
}
else
e.queue = null;
}
var fb = { id: 1, overflow: "" };
function gb(a, b, c) {
var d = a.id;
a = a.overflow;
var f = 32 - H(d) - 1;
d &= ~(1 << f);
c += 1;
var e = 32 - H(b) + f;
if (30 < e) {
var g = f - f % 5;
e = (d & (1 << g) - 1).toString(32);
d >>= g;
f -= g;
return { id: 1 << 32 - H(b) + f | c << f | d, overflow: e + a };
}
return { id: 1 << e | c << f | d, overflow: a };
}
var H = Math.clz32 ? Math.clz32 : hb;
var ib = Math.log;
var jb = Math.LN2;
function hb(a) {
a >>>= 0;
return 0 === a ? 32 : 31 - (ib(a) / jb | 0) | 0;
}
function kb(a, b) {
return a === b && (0 !== a || 1 / a === 1 / b) || a !== a && b !== b;
}
var lb = "function" === typeof Object.is ? Object.is : kb;
var I = null;
var ob = null;
var J = null;
var K = null;
var L = false;
var M = false;
var N = 0;
var O = null;
var P = 0;
function Q() {
if (null === I)
throw Error(l(321));
return I;
}
function pb() {
if (0 < P)
throw Error(l(312));
return { memoizedState: null, queue: null, next: null };
}
function qb() {
null === K ? null === J ? (L = false, J = K = pb()) : (L = true, K = J) : null === K.next ? (L = false, K = K.next = pb()) : (L = true, K = K.next);
return K;
}
function rb() {
ob = I = null;
M = false;
J = null;
P = 0;
K = O = null;
}
function sb(a, b) {
return "function" === typeof b ? b(a) : b;
}
function tb(a, b, c) {
I = Q();
K = qb();
if (L) {
var d = K.queue;
b = d.dispatch;
if (null !== O && (c = O.get(d), void 0 !== c)) {
O.delete(d);
d = K.memoizedState;
do
d = a(d, c.action), c = c.next;
while (null !== c);
K.memoizedState = d;
return [d, b];
}
return [K.memoizedState, b];
}
a = a === sb ? "function" === typeof b ? b() : b : void 0 !== c ? c(b) : b;
K.memoizedState = a;
a = K.queue = { last: null, dispatch: null };
a = a.dispatch = ub.bind(null, I, a);
return [K.memoizedState, a];
}
function vb(a, b) {
I = Q();
K = qb();
b = void 0 === b ? null : b;
if (null !== K) {
var c = K.memoizedState;
if (null !== c && null !== b) {
var d = c[1];
a:
if (null === d)
d = false;
else {
for (var f = 0; f < d.length && f < b.length; f++)
if (!lb(b[f], d[f])) {
d = false;
break a;
}
d = true;
}
if (d)
return c[0];
}
}
a = a();
K.memoizedState = [a, b];
return a;
}
function ub(a, b, c) {
if (25 <= P)
throw Error(l(301));
if (a === I)
if (M = true, a = { action: c, next: null }, null === O && (O = /* @__PURE__ */ new Map()), c = O.get(b), void 0 === c)
O.set(b, a);
else {
for (b = c; null !== b.next; )
b = b.next;
b.next = a;
}
}
function wb() {
throw Error(l(394));
}
function R() {
}
var xb = { readContext: function(a) {
return a._currentValue2;
}, useContext: function(a) {
Q();
return a._currentValue2;
}, useMemo: vb, useReducer: tb, useRef: function(a) {
I = Q();
K = qb();
var b = K.memoizedState;
return null === b ? (a = { current: a }, K.memoizedState = a) : b;
}, useState: function(a) {
return tb(sb, a);
}, useInsertionEffect: R, useLayoutEffect: function() {
}, useCallback: function(a, b) {
return vb(function() {
return a;
}, b);
}, useImperativeHandle: R, useEffect: R, useDebugValue: R, useDeferredValue: function(a) {
Q();
return a;
}, useTransition: function() {
Q();
return [
false,
wb
];
}, useId: function() {
var a = ob.treeContext;
var b = a.overflow;
a = a.id;
a = (a & ~(1 << 32 - H(a) - 1)).toString(32) + b;
var c = S;
if (null === c)
throw Error(l(404));
b = N++;
a = ":" + c.idPrefix + "R" + a;
0 < b && (a += "H" + b.toString(32));
return a + ":";
}, useMutableSource: function(a, b) {
Q();
return b(a._source);
}, useSyncExternalStore: function(a, b, c) {
if (void 0 === c)
throw Error(l(407));
return c();
} };
var S = null;
var yb = aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;
function zb(a) {
console.error(a);
return null;
}
function T() {
}
function Ab(a, b, c, d, f, e, g, h, k) {
var m = [], n = /* @__PURE__ */ new Set();
b = { destination: null, responseState: b, progressiveChunkSize: void 0 === d ? 12800 : d, status: 0, fatalError: null, nextSegmentId: 0, allPendingTasks: 0, pendingRootTasks: 0, completedRootSegment: null, abortableTasks: n, pingedTasks: m, clientRenderedBoundaries: [], completedBoundaries: [], partialBoundaries: [], onError: void 0 === f ? zb : f, onAllReady: void 0 === e ? T : e, onShellReady: void 0 === g ? T : g, onShellError: void 0 === h ? T : h, onFatalError: void 0 === k ? T : k };
c = U(b, 0, null, c, false, false);
c.parentFlushed = true;
a = Bb(b, a, null, c, n, Ya, null, fb);
m.push(a);
return b;
}
function Bb(a, b, c, d, f, e, g, h) {
a.allPendingTasks++;
null === c ? a.pendingRootTasks++ : c.pendingTasks++;
var k = { node: b, ping: function() {
var b2 = a.pingedTasks;
b2.push(k);
1 === b2.length && Cb(a);
}, blockedBoundary: c, blockedSegment: d, abortSet: f, legacyContext: e, context: g, treeContext: h };
f.add(k);
return k;
}
function U(a, b, c, d, f, e) {
return { status: 0, id: -1, index: b, parentFlushed: false, chunks: [], children: [], formatContext: d, boundary: c, lastPushedText: f, textEmbedded: e };
}
function V(a, b) {
a = a.onError(b);
if (null != a && "string" !== typeof a)
throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "' + typeof a + '" instead');
return a;
}
function W(a, b) {
var c = a.onShellError;
c(b);
c = a.onFatalError;
c(b);
null !== a.destination ? (a.status = 2, a.destination.destroy(b)) : (a.status = 1, a.fatalError = b);
}
function Db(a, b, c, d, f) {
I = {};
ob = b;
N = 0;
for (a = c(d, f); M; )
M = false, N = 0, P += 1, K = null, a = c(d, f);
rb();
return a;
}
function Eb(a, b, c, d) {
var f = c.render(), e = d.childContextTypes;
if (null !== e && void 0 !== e) {
var g = b.legacyContext;
if ("function" !== typeof c.getChildContext)
d = g;
else {
c = c.getChildContext();
for (var h in c)
if (!(h in e))
throw Error(l(108, Xa(d) || "Unknown", h));
d = B({}, g, c);
}
b.legacyContext = d;
X(a, b, f);
b.legacyContext = g;
} else
X(a, b, f);
}
function Fb(a, b) {
if (a && a.defaultProps) {
b = B({}, b);
a = a.defaultProps;
for (var c in a)
void 0 === b[c] && (b[c] = a[c]);
return b;
}
return b;
}
function Gb(a, b, c, d, f) {
if ("function" === typeof c)
if (c.prototype && c.prototype.isReactComponent) {
f = Za(c, b.legacyContext);
var e = c.contextType;
e = new c(d, "object" === typeof e && null !== e ? e._currentValue2 : f);
eb(e, c, d, f);
Eb(a, b, e, c);
} else {
e = Za(c, b.legacyContext);
f = Db(a, b, c, d, e);
var g = 0 !== N;
if ("object" === typeof f && null !== f && "function" === typeof f.render && void 0 === f.$$typeof)
eb(f, c, d, e), Eb(a, b, f, c);
else if (g) {
d = b.treeContext;
b.treeContext = gb(d, 1, 0);
try {
X(a, b, f);
} finally {
b.treeContext = d;
}
} else
X(a, b, f);
}
else if ("string" === typeof c) {
f = b.blockedSegment;
e = ya(f.chunks, c, d, a.responseState, f.formatContext);
f.lastPushedText = false;
g = f.formatContext;
f.formatContext = ra(g, c, d);
Hb(a, b, e);
f.formatContext = g;
switch (c) {
case "area":
case "base":
case "br":
case "col":
case "embed":
case "hr":
case "img":
case "input":
case "keygen":
case "link":
case "meta":
case "param":
case "source":
case "track":
case "wbr":
break;
default:
f.chunks.push("</", c, ">");
}
f.lastPushedText = false;
} else {
switch (c) {
case Ua:
case Ta:
case Ja:
case Ka:
case Ia:
X(a, b, d.children);
return;
case Pa:
X(a, b, d.children);
return;
case Sa:
throw Error(l(343));
case Oa:
a: {
c = b.blockedBoundary;
f = b.blockedSegment;
e = d.fallback;
d = d.children;
g = /* @__PURE__ */ new Set();
var h = { id: null, rootSegmentID: -1, parentFlushed: false, pendingTasks: 0, forceClientRender: false, completedSegments: [], byteSize: 0, fallbackAbortableTasks: g, errorDigest: null }, k = U(a, f.chunks.length, h, f.formatContext, false, false);
f.children.push(k);
f.lastPushedText = false;
var m = U(a, 0, null, f.formatContext, false, false);
m.parentFlushed = true;
b.blockedBoundary = h;
b.blockedSegment = m;
try {
if (Hb(
a,
b,
d
), a.responseState.generateStaticMarkup || m.lastPushedText && m.textEmbedded && m.chunks.push("<!-- -->"), m.status = 1, Y(h, m), 0 === h.pendingTasks)
break a;
} catch (n) {
m.status = 4, h.forceClientRender = true, h.errorDigest = V(a, n);
} finally {
b.blockedBoundary = c, b.blockedSegment = f;
}
b = Bb(a, e, c, k, g, b.legacyContext, b.context, b.treeContext);
a.pingedTasks.push(b);
}
return;
}
if ("object" === typeof c && null !== c)
switch (c.$$typeof) {
case Na:
d = Db(a, b, c.render, d, f);
if (0 !== N) {
c = b.treeContext;
b.treeContext = gb(c, 1, 0);
try {
X(a, b, d);
} finally {
b.treeContext = c;
}
} else
X(a, b, d);
return;
case Qa:
c = c.type;
d = Fb(c, d);
Gb(a, b, c, d, f);
return;
case La:
f = d.children;
c = c._context;
d = d.value;
e = c._currentValue2;
c._currentValue2 = d;
g = E;
E = d = { parent: g, depth: null === g ? 0 : g.depth + 1, context: c, parentValue: e, value: d };
b.context = d;
X(a, b, f);
a = E;
if (null === a)
throw Error(l(403));
d = a.parentValue;
a.context._currentValue2 = d === Va ? a.context._defaultValue : d;
a = E = a.parent;
b.context = a;
return;
case Ma:
d = d.children;
d = d(c._currentValue2);
X(a, b, d);
return;
case Ra:
f = c._init;
c = f(c._payload);
d = Fb(c, d);
Gb(
a,
b,
c,
d,
void 0
);
return;
}
throw Error(l(130, null == c ? c : typeof c, ""));
}
}
function X(a, b, c) {
b.node = c;
if ("object" === typeof c && null !== c) {
switch (c.$$typeof) {
case Ga:
Gb(a, b, c.type, c.props, c.ref);
return;
case Ha:
throw Error(l(257));
case Ra:
var d = c._init;
c = d(c._payload);
X(a, b, c);
return;
}
if (qa(c)) {
Ib(a, b, c);
return;
}
null === c || "object" !== typeof c ? d = null : (d = Wa && c[Wa] || c["@@iterator"], d = "function" === typeof d ? d : null);
if (d && (d = d.call(c))) {
c = d.next();
if (!c.done) {
var f = [];
do
f.push(c.value), c = d.next();
while (!c.done);
Ib(a, b, f);
}
return;
}
a = Object.prototype.toString.call(c);
throw Error(l(31, "[object Object]" === a ? "object with keys {" + Object.keys(c).join(", ") + "}" : a));
}
"string" === typeof c ? (d = b.blockedSegment, d.lastPushedText = Fa(b.blockedSegment.chunks, c, a.responseState, d.lastPushedText)) : "number" === typeof c && (d = b.blockedSegment, d.lastPushedText = Fa(b.blockedSegment.chunks, "" + c, a.responseState, d.lastPushedText));
}
function Ib(a, b, c) {
for (var d = c.length, f = 0; f < d; f++) {
var e = b.treeContext;
b.treeContext = gb(e, d, f);
try {
Hb(a, b, c[f]);
} finally {
b.treeContext = e;
}
}
}
function Hb(a, b, c) {
var d = b.blockedSegment.formatContext, f = b.legacyContext, e = b.context;
try {
return X(a, b, c);
} catch (k) {
if (rb(), "object" === typeof k && null !== k && "function" === typeof k.then) {
c = k;
var g = b.blockedSegment, h = U(a, g.chunks.length, null, g.formatContext, g.lastPushedText, true);
g.children.push(h);
g.lastPushedText = false;
a = Bb(a, b.node, b.blockedBoundary, h, b.abortSet, b.legacyContext, b.context, b.treeContext).ping;
c.then(a, a);
b.blockedSegment.formatContext = d;
b.legacyContext = f;
b.context = e;
G(e);
} else
throw b.blockedSegment.formatContext = d, b.legacyContext = f, b.context = e, G(e), k;
}
}
function Jb(a) {
var b = a.blockedBoundary;
a = a.blockedSegment;
a.status = 3;
Kb(this, b, a);
}
function Lb(a, b, c) {
var d = a.blockedBoundary;
a.blockedSegment.status = 3;
null === d ? (b.allPendingTasks--, 2 !== b.status && (b.status = 2, null !== b.destination && b.destination.push(null))) : (d.pendingTasks--, d.forceClientRender || (d.forceClientRender = true, a = void 0 === c ? Error(l(432)) : c, d.errorDigest = b.onError(a), d.parentFlushed && b.clientRenderedBoundaries.push(d)), d.fallbackAbortableTasks.forEach(function(a2) {
return Lb(a2, b, c);
}), d.fallbackAbortableTasks.clear(), b.allPendingTasks--, 0 === b.allPendingTasks && (d = b.onAllReady, d()));
}
function Y(a, b) {
if (0 === b.chunks.length && 1 === b.children.length && null === b.children[0].boundary) {
var c = b.children[0];
c.id = b.id;
c.parentFlushed = true;
1 === c.status && Y(a, c);
} else
a.completedSegments.push(b);
}
function Kb(a, b, c) {
if (null === b) {
if (c.parentFlushed) {
if (null !== a.completedRootSegment)
throw Error(l(389));
a.completedRootSegment = c;
}
a.pendingRootTasks--;
0 === a.pendingRootTasks && (a.onShellError = T, b = a.onShellReady, b());
} else
b.pendingTasks--, b.forceClientRender || (0 === b.pendingTasks ? (c.parentFlushed && 1 === c.status && Y(b, c), b.parentFlushed && a.completedBoundaries.push(b), b.fallbackAbortableTasks.forEach(Jb, a), b.fallbackAbortableTasks.clear()) : c.parentFlushed && 1 === c.status && (Y(b, c), 1 === b.completedSegments.length && b.parentFlushed && a.partialBoundaries.push(b)));
a.allPendingTasks--;
0 === a.allPendingTasks && (a = a.onAllReady, a());
}
function Cb(a) {
if (2 !== a.status) {
var b = E, c = yb.current;
yb.current = xb;
var d = S;
S = a.responseState;
try {
var f = a.pingedTasks, e;
for (e = 0; e < f.length; e++) {
var g = f[e];
var h = a, k = g.blockedSegment;
if (0 === k.status) {
G(g.context);
try {
X(h, g, g.node), h.responseState.generateStaticMarkup || k.lastPushedText && k.textEmbedded && k.chunks.push("<!-- -->"), g.abortSet.delete(g), k.status = 1, Kb(h, g.blockedBoundary, k);
} catch (z) {
if (rb(), "object" === typeof z && null !== z && "function" === typeof z.then) {
var m = g.ping;
z.then(m, m);
} else {
g.abortSet.delete(g);
k.status = 4;
var n = g.blockedBoundary, q = z, C = V(h, q);
null === n ? W(h, q) : (n.pendingTasks--, n.forceClientRender || (n.forceClientRender = true, n.errorDigest = C, n.parentFlushed && h.clientRenderedBoundaries.push(n)));
h.allPendingTasks--;
if (0 === h.allPendingTasks) {
var D = h.onAllReady;
D();
}
}
} finally {
}
}
}
f.splice(0, e);
null !== a.destination && Mb(a, a.destination);
} catch (z) {
V(a, z), W(a, z);
} finally {
S = d, yb.current = c, c === xb && G(b);
}
}
}
function Z(a, b, c) {
c.parentFlushed = true;
switch (c.status) {
case 0:
var d = c.id = a.nextSegmentId++;
c.lastPushedText = false;
c.textEmbedded = false;
a = a.responseState;
b.push('<template id="');
b.push(a.placeholderPrefix);
a = d.toString(16);
b.push(a);
return b.push('"></template>');
case 1:
c.status = 2;
var f = true;
d = c.chunks;
var e = 0;
c = c.children;
for (var g = 0; g < c.length; g++) {
for (f = c[g]; e < f.index; e++)
b.push(d[e]);
f = Nb(a, b, f);
}
for (; e < d.length - 1; e++)
b.push(d[e]);
e < d.length && (f = b.push(d[e]));
return f;
default:
throw Error(l(390));
}
}
function Nb(a, b, c) {
var d = c.boundary;
if (null === d)
return Z(a, b, c);
d.parentFlushed = true;
if (d.forceClientRender)
return a.responseState.generateStaticMarkup || (d = d.errorDigest, b.push("<!--$!-->"), b.push("<template"), d && (b.push(' data-dgst="'), d = v(d), b.push(d), b.push('"')), b.push("></template>")), Z(a, b, c), a = a.responseState.generateStaticMarkup ? true : b.push("<!--/$-->"), a;
if (0 < d.pendingTasks) {
d.rootSegmentID = a.nextSegmentId++;
0 < d.completedSegments.length && a.partialBoundaries.push(d);
var f = a.responseState;
var e = f.nextSuspenseID++;
f = f.boundaryPrefix + e.toString(16);
d = d.id = f;
za(b, a.responseState, d);
Z(a, b, c);
return b.push("<!--/$-->");
}
if (d.byteSize > a.progressiveChunkSize)
return d.rootSegmentID = a.nextSegmentId++, a.completedBoundaries.push(d), za(b, a.responseState, d.id), Z(a, b, c), b.push("<!--/$-->");
a.responseState.generateStaticMarkup || b.push("<!--$-->");
c = d.completedSegments;
if (1 !== c.length)
throw Error(l(391));
Nb(a, b, c[0]);
a = a.responseState.generateStaticMarkup ? true : b.push("<!--/$-->");
return a;
}
function Ob(a, b, c) {
Aa(b, a.responseState, c.formatContext, c.id);
Nb(a, b, c);
return Ba(b, c.formatContext);
}
function Pb(a, b, c) {
for (var d = c.completedSegments, f = 0; f < d.length; f++)
Qb(a, b, c, d[f]);
d.length = 0;
a = a.responseState;
d = c.id;
c = c.rootSegmentID;
b.push(a.startInlineScript);
a.sentCompleteBoundaryFunction ? b.push('$RC("') : (a.sentCompleteBoundaryFunction = true, b.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'));
if (null === d)
throw Error(l(395));
c = c.toString(16);
b.push(d);
b.push('","');
b.push(a.segmentPrefix);
b.push(c);
return b.push('")<\/script>');
}
function Qb(a, b, c, d) {
if (2 === d.status)
return true;
var f = d.id;
if (-1 === f) {
if (-1 === (d.id = c.rootSegmentID))
throw Error(l(392));
return Ob(a, b, d);
}
Ob(a, b, d);
a = a.responseState;
b.push(a.startInlineScript);
a.sentCompleteSegmentFunction ? b.push('$RS("') : (a.sentCompleteSegmentFunction = true, b.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'));
b.push(a.segmentPrefix);
f = f.toString(16);
b.push(f);
b.push('","');
b.push(a.placeholderPrefix);
b.push(f);
return b.push('")<\/script>');
}
function Mb(a, b) {
try {
var c = a.completedRootSegment;
if (null !== c && 0 === a.pendingRootTasks) {
Nb(a, b, c);
a.completedRootSegment = null;
var d = a.responseState.bootstrapChunks;
for (c = 0; c < d.length - 1; c++)
b.push(d[c]);
c < d.length && b.push(d[c]);
}
var f = a.clientRenderedBoundaries, e;
for (e = 0; e < f.length; e++) {
var g = f[e];
d = b;
var h = a.responseState, k = g.id, m = g.errorDigest, n = g.errorMessage, q = g.errorComponentStack;
d.push(h.startInlineScript);
h.sentClientRenderFunction ? d.push('$RX("') : (h.sentClientRenderFunction = true, d.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'));
if (null === k)
throw Error(l(395));
d.push(k);
d.push('"');
if (m || n || q) {
d.push(",");
var C = Da(m || "");
d.push(C);
}
if (n || q) {
d.push(",");
var D = Da(n || "");
d.push(D);
}
if (q) {
d.push(",");
var z = Da(q);
d.push(z);
}
if (!d.push(")<\/script>")) {
a.destination = null;
e++;
f.splice(0, e);
return;
}
}
f.splice(0, e);
var ba = a.completedBoundaries;
for (e = 0; e < ba.length; e++)
if (!Pb(a, b, ba[e])) {
a.destination = null;
e++;
ba.splice(0, e);
return;
}
ba.splice(0, e);
var ca = a.partialBoundaries;
for (e = 0; e < ca.length; e++) {
var mb = ca[e];
a: {
f = a;
g = b;
var da = mb.completedSegments;
for (h = 0; h < da.length; h++)
if (!Qb(f, g, mb, da[h])) {
h++;
da.splice(0, h);
var nb = false;
break a;
}
da.splice(0, h);
nb = true;
}
if (!nb) {
a.destination = null;
e++;
ca.splice(0, e);
return;
}
}
ca.splice(0, e);
var ea = a.completedBoundaries;
for (e = 0; e < ea.length; e++)
if (!Pb(a, b, ea[e])) {
a.destination = null;
e++;
ea.splice(0, e);
return;
}
ea.splice(0, e);
} finally {
0 === a.allPendingTasks && 0 === a.pingedTasks.length && 0 === a.clientRenderedBoundaries.length && 0 === a.completedBoundaries.length && b.push(null);
}
}
function Rb(a, b) {
try {
var c = a.abortableTasks;
c.forEach(function(c2) {
return Lb(c2, a, b);
});
c.clear();
null !== a.destination && Mb(a, a.destination);
} catch (d) {
V(a, d), W(a, d);
}
}
function Sb() {
}
function Tb(a, b, c, d) {
var f = false, e = null, g = "", h = { push: function(a2) {
null !== a2 && (g += a2);
return true;
}, destroy: function(a2) {
f = true;
e = a2;
} }, k = false;
a = Ab(a, Ea(c, b ? b.identifierPrefix : void 0), { insertionMode: 1, selectedValue: null }, Infinity, Sb, void 0, function() {
k = true;
}, void 0, void 0);
Cb(a);
Rb(a, d);
if (1 === a.status)
a.status = 2, h.destroy(a.fatalError);
else if (2 !== a.status && null === a.destination) {
a.destination = h;
try {
Mb(a, h);
} catch (m) {
V(a, m), W(a, m);
}
}
if (f)
throw e;
if (!k)
throw Error(l(426));
return g;
}
exports.renderToNodeStream = function() {
throw Error(l(207));
};
exports.renderToStaticMarkup = function(a, b) {
return Tb(a, b, true, 'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server');
};
exports.renderToStaticNodeStream = function() {
throw Error(l(208));
};
exports.renderToString = function(a, b) {
return Tb(a, b, false, 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server');
};
exports.version = "18.2.0";
}
});
// node_modules/react-dom/cjs/react-dom-server.browser.production.min.js
var require_react_dom_server_browser_production_min = __commonJS({
"node_modules/react-dom/cjs/react-dom-server.browser.production.min.js"(exports) {
"use strict";
var aa = require_react();
function k(a) {
for (var b = "https://reactjs.org/docs/error-decoder.html?invariant=" + a, c = 1; c < arguments.length; c++)
b += "&args[]=" + encodeURIComponent(arguments[c]);
return "Minified React error #" + a + "; visit " + b + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
}
var l = null;
var n = 0;
function p(a, b) {
if (0 !== b.length)
if (512 < b.length)
0 < n && (a.enqueue(new Uint8Array(l.buffer, 0, n)), l = new Uint8Array(512), n = 0), a.enqueue(b);
else {
var c = l.length - n;
c < b.length && (0 === c ? a.enqueue(l) : (l.set(b.subarray(0, c), n), a.enqueue(l), b = b.subarray(c)), l = new Uint8Array(512), n = 0);
l.set(b, n);
n += b.length;
}
}
function t(a, b) {
p(a, b);
return true;
}
function ba(a) {
l && 0 < n && (a.enqueue(new Uint8Array(l.buffer, 0, n)), l = null, n = 0);
}
var ca = new TextEncoder();
function u(a) {
return ca.encode(a);
}
function w(a) {
return ca.encode(a);
}
function da(a, b) {
"function" === typeof a.error ? a.error(b) : a.close();
}
var x = Object.prototype.hasOwnProperty;
var ea = /^[: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]*$/;
var fa = {};
var ha = {};
function ia(a) {
if (x.call(ha, a))
return true;
if (x.call(fa, a))
return false;
if (ea.test(a))
return ha[a] = true;
fa[a] = true;
return false;
}
function y(a, b, c, d, f, e, g) {
this.acceptsBooleans = 2 === b || 3 === b || 4 === b;
this.attributeName = d;
this.attributeNamespace = f;
this.mustUseProperty = c;
this.propertyName = a;
this.type = b;
this.sanitizeURL = e;
this.removeEmptyString = g;
}
var z = {};
"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a) {
z[a] = new y(a, 0, false, a, null, false, false);
});
[["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(a) {
var b = a[0];
z[b] = new y(b, 1, false, a[1], null, false, false);
});
["contentEditable", "draggable", "spellCheck", "value"].forEach(function(a) {
z[a] = new y(a, 2, false, a.toLowerCase(), null, false, false);
});
["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(a) {
z[a] = new y(a, 2, false, a, 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(a) {
z[a] = new y(a, 3, false, a.toLowerCase(), null, false, false);
});
["checked", "multiple", "muted", "selected"].forEach(function(a) {
z[a] = new y(a, 3, true, a, null, false, false);
});
["capture", "download"].forEach(function(a) {
z[a] = new y(a, 4, false, a, null, false, false);
});
["cols", "rows", "size", "span"].forEach(function(a) {
z[a] = new y(a, 6, false, a, null, false, false);
});
["rowSpan", "start"].forEach(function(a) {
z[a] = new y(a, 5, false, a.toLowerCase(), null, false, false);
});
var ja = /[\-:]([a-z])/g;
function ka(a) {
return a[1].toUpperCase();
}
"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(a) {
var b = a.replace(
ja,
ka
);
z[b] = new y(b, 1, false, a, null, false, false);
});
"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a) {
var b = a.replace(ja, ka);
z[b] = new y(b, 1, false, a, "http://www.w3.org/1999/xlink", false, false);
});
["xml:base", "xml:lang", "xml:space"].forEach(function(a) {
var b = a.replace(ja, ka);
z[b] = new y(b, 1, false, a, "http://www.w3.org/XML/1998/namespace", false, false);
});
["tabIndex", "crossOrigin"].forEach(function(a) {
z[a] = new y(a, 1, false, a.toLowerCase(), null, false, false);
});
z.xlinkHref = new y("xlinkHref", 1, false, "xlink:href", "http://www.w3.org/1999/xlink", true, false);
["src", "href", "action", "formAction"].forEach(function(a) {
z[a] = new y(a, 1, false, a.toLowerCase(), null, true, true);
});
var B = {
animationIterationCount: true,
aspectRatio: true,
borderImageOutset: true,
borderImageSlice: true,
borderImageWidth: true,
boxFlex: true,
boxFlexGroup: true,
boxOrdinalGroup: true,
columnCount: true,
columns: true,
flex: true,
flexGrow: true,
flexPositive: true,
flexShrink: true,
flexNegative: true,
flexOrder: true,
gridArea: true,
gridRow: true,
gridRowEnd: true,
gridRowSpan: true,
gridRowStart: true,
gridColumn: true,
gridColumnEnd: true,
gridColumnSpan: true,
gridColumnStart: true,
fontWeight: true,
lineClamp: true,
lineHeight: true,
opacity: true,
order: true,
orphans: true,
tabSize: true,
widows: true,
zIndex: true,
zoom: true,
fillOpacity: true,
floodOpacity: true,
stopOpacity: true,
strokeDasharray: true,
strokeDashoffset: true,
strokeMiterlimit: true,
strokeOpacity: true,
strokeWidth: true
};
var la = ["Webkit", "ms", "Moz", "O"];
Object.keys(B).forEach(function(a) {
la.forEach(function(b) {
b = b + a.charAt(0).toUpperCase() + a.substring(1);
B[b] = B[a];
});
});
var oa = /["'&<>]/;
function C(a) {
if ("boolean" === typeof a || "number" === typeof a)
return "" + a;
a = "" + a;
var b = oa.exec(a);
if (b) {
var c = "", d, f = 0;
for (d = b.index; d < a.length; d++) {
switch (a.charCodeAt(d)) {
case 34:
b = """;
break;
case 38:
b = "&";
break;
case 39:
b = "'";
break;
case 60:
b = "<";
break;
case 62:
b = ">";
break;
default:
continue;
}
f !== d && (c += a.substring(f, d));
f = d + 1;
c += b;
}
a = f !== d ? c + a.substring(f, d) : c;
}
return a;
}
var pa = /([A-Z])/g;
var qa = /^ms-/;
var ra = Array.isArray;
var sa = w("<script>");
var ta = w("<\/script>");
var ua = w('<script src="');
var va = w('<script type="module" src="');
var wa = w('" async=""><\/script>');
var xa = /(<\/|<)(s)(cript)/gi;
function ya(a, b, c, d) {
return "" + b + ("s" === c ? "\\u0073" : "\\u0053") + d;
}
function za(a, b, c, d, f) {
a = void 0 === a ? "" : a;
b = void 0 === b ? sa : w('<script nonce="' + C(b) + '">');
var e = [];
void 0 !== c && e.push(b, u(("" + c).replace(xa, ya)), ta);
if (void 0 !== d)
for (c = 0; c < d.length; c++)
e.push(ua, u(C(d[c])), wa);
if (void 0 !== f)
for (d = 0; d < f.length; d++)
e.push(va, u(C(f[d])), wa);
return { bootstrapChunks: e, startInlineScript: b, placeholderPrefix: w(a + "P:"), segmentPrefix: w(a + "S:"), boundaryPrefix: a + "B:", idPrefix: a, nextSuspenseID: 0, sentCompleteSegmentFunction: false, sentCompleteBoundaryFunction: false, sentClientRenderFunction: false };
}
function D(a, b) {
return { insertionMode: a, selectedValue: b };
}
function Aa(a) {
return D("http://www.w3.org/2000/svg" === a ? 2 : "http://www.w3.org/1998/Math/MathML" === a ? 3 : 0, null);
}
function Ba(a, b, c) {
switch (b) {
case "select":
return D(1, null != c.value ? c.value : c.defaultValue);
case "svg":
return D(2, null);
case "math":
return D(3, null);
case "foreignObject":
return D(1, null);
case "table":
return D(4, null);
case "thead":
case "tbody":
case "tfoot":
return D(5, null);
case "colgroup":
return D(7, null);
case "tr":
return D(6, null);
}
return 4 <= a.insertionMode || 0 === a.insertionMode ? D(1, null) : a;
}
var Ca = w("<!-- -->");
function Da(a, b, c, d) {
if ("" === b)
return d;
d && a.push(Ca);
a.push(u(C(b)));
return true;
}
var Ea = /* @__PURE__ */ new Map();
var Fa = w(' style="');
var Ga = w(":");
var Ha = w(";");
function Ia(a, b, c) {
if ("object" !== typeof c)
throw Error(k(62));
b = true;
for (var d in c)
if (x.call(c, d)) {
var f = c[d];
if (null != f && "boolean" !== typeof f && "" !== f) {
if (0 === d.indexOf("--")) {
var e = u(C(d));
f = u(C(("" + f).trim()));
} else {
e = d;
var g = Ea.get(e);
void 0 !== g ? e = g : (g = w(C(e.replace(pa, "-$1").toLowerCase().replace(qa, "-ms-"))), Ea.set(e, g), e = g);
f = "number" === typeof f ? 0 === f || x.call(B, d) ? u("" + f) : u(f + "px") : u(C(("" + f).trim()));
}
b ? (b = false, a.push(Fa, e, Ga, f)) : a.push(Ha, e, Ga, f);
}
}
b || a.push(E);
}
var H = w(" ");
var I = w('="');
var E = w('"');
var Ja = w('=""');
function J(a, b, c, d) {
switch (c) {
case "style":
Ia(a, b, d);
return;
case "defaultValue":
case "defaultChecked":
case "innerHTML":
case "suppressContentEditableWarning":
case "suppressHydrationWarning":
return;
}
if (!(2 < c.length) || "o" !== c[0] && "O" !== c[0] || "n" !== c[1] && "N" !== c[1]) {
if (b = z.hasOwnProperty(c) ? z[c] : null, null !== b) {
switch (typeof d) {
case "function":
case "symbol":
return;
case "boolean":
if (!b.acceptsBooleans)
return;
}
c = u(b.attributeName);
switch (b.type) {
case 3:
d && a.push(H, c, Ja);
break;
case 4:
true === d ? a.push(H, c, Ja) : false !== d && a.push(H, c, I, u(C(d)), E);
break;
case 5:
isNaN(d) || a.push(H, c, I, u(C(d)), E);
break;
case 6:
!isNaN(d) && 1 <= d && a.push(H, c, I, u(C(d)), E);
break;
default:
b.sanitizeURL && (d = "" + d), a.push(H, c, I, u(C(d)), E);
}
} else if (ia(c)) {
switch (typeof d) {
case "function":
case "symbol":
return;
case "boolean":
if (b = c.toLowerCase().slice(0, 5), "data-" !== b && "aria-" !== b)
return;
}
a.push(H, u(c), I, u(C(d)), E);
}
}
}
var K = w(">");
var Ka = w("/>");
function L(a, b, c) {
if (null != b) {
if (null != c)
throw Error(k(60));
if ("object" !== typeof b || !("__html" in b))
throw Error(k(61));
b = b.__html;
null !== b && void 0 !== b && a.push(u("" + b));
}
}
function La(a) {
var b = "";
aa.Children.forEach(a, function(a2) {
null != a2 && (b += a2);
});
return b;
}
var Ma = w(' selected=""');
function Na(a, b, c, d) {
a.push(M(c));
var f = c = null, e;
for (e in b)
if (x.call(b, e)) {
var g = b[e];
if (null != g)
switch (e) {
case "children":
c = g;
break;
case "dangerouslySetInnerHTML":
f = g;
break;
default:
J(a, d, e, g);
}
}
a.push(K);
L(a, f, c);
return "string" === typeof c ? (a.push(u(C(c))), null) : c;
}
var Oa = w("\n");
var Pa = /^[a-zA-Z][a-zA-Z:_\.\-\d]*$/;
var Qa = /* @__PURE__ */ new Map();
function M(a) {
var b = Qa.get(a);
if (void 0 === b) {
if (!Pa.test(a))
throw Error(k(65, a));
b = w("<" + a);
Qa.set(a, b);
}
return b;
}
var Ra = w("<!DOCTYPE html>");
function Sa(a, b, c, d, f) {
switch (b) {
case "select":
a.push(M("select"));
var e = null, g = null;
for (r in c)
if (x.call(c, r)) {
var h = c[r];
if (null != h)
switch (r) {
case "children":
e = h;
break;
case "dangerouslySetInnerHTML":
g = h;
break;
case "defaultValue":
case "value":
break;
default:
J(a, d, r, h);
}
}
a.push(K);
L(a, g, e);
return e;
case "option":
g = f.selectedValue;
a.push(M("option"));
var m = h = null, q = null;
var r = null;
for (e in c)
if (x.call(c, e)) {
var v = c[e];
if (null != v)
switch (e) {
case "children":
h = v;
break;
case "selected":
q = v;
break;
case "dangerouslySetInnerHTML":
r = v;
break;
case "value":
m = v;
default:
J(a, d, e, v);
}
}
if (null != g)
if (c = null !== m ? "" + m : La(h), ra(g))
for (d = 0; d < g.length; d++) {
if ("" + g[d] === c) {
a.push(Ma);
break;
}
}
else
"" + g === c && a.push(Ma);
else
q && a.push(Ma);
a.push(K);
L(a, r, h);
return h;
case "textarea":
a.push(M("textarea"));
r = g = e = null;
for (h in c)
if (x.call(c, h) && (m = c[h], null != m))
switch (h) {
case "children":
r = m;
break;
case "value":
e = m;
break;
case "defaultValue":
g = m;
break;
case "dangerouslySetInnerHTML":
throw Error(k(91));
default:
J(a, d, h, m);
}
null === e && null !== g && (e = g);
a.push(K);
if (null != r) {
if (null != e)
throw Error(k(92));
if (ra(r) && 1 < r.length)
throw Error(k(93));
e = "" + r;
}
"string" === typeof e && "\n" === e[0] && a.push(Oa);
null !== e && a.push(u(C("" + e)));
return null;
case "input":
a.push(M("input"));
m = r = h = e = null;
for (g in c)
if (x.call(c, g) && (q = c[g], null != q))
switch (g) {
case "children":
case "dangerouslySetInnerHTML":
throw Error(k(399, "input"));
case "defaultChecked":
m = q;
break;
case "defaultValue":
h = q;
break;
case "checked":
r = q;
break;
case "value":
e = q;
break;
default:
J(a, d, g, q);
}
null !== r ? J(
a,
d,
"checked",
r
) : null !== m && J(a, d, "checked", m);
null !== e ? J(a, d, "value", e) : null !== h && J(a, d, "value", h);
a.push(Ka);
return null;
case "menuitem":
a.push(M("menuitem"));
for (var A in c)
if (x.call(c, A) && (e = c[A], null != e))
switch (A) {
case "children":
case "dangerouslySetInnerHTML":
throw Error(k(400));
default:
J(a, d, A, e);
}
a.push(K);
return null;
case "title":
a.push(M("title"));
e = null;
for (v in c)
if (x.call(c, v) && (g = c[v], null != g))
switch (v) {
case "children":
e = g;
break;
case "dangerouslySetInnerHTML":
throw Error(k(434));
default:
J(a, d, v, g);
}
a.push(K);
return e;
case "listing":
case "pre":
a.push(M(b));
g = e = null;
for (m in c)
if (x.call(c, m) && (h = c[m], null != h))
switch (m) {
case "children":
e = h;
break;
case "dangerouslySetInnerHTML":
g = h;
break;
default:
J(a, d, m, h);
}
a.push(K);
if (null != g) {
if (null != e)
throw Error(k(60));
if ("object" !== typeof g || !("__html" in g))
throw Error(k(61));
c = g.__html;
null !== c && void 0 !== c && ("string" === typeof c && 0 < c.length && "\n" === c[0] ? a.push(Oa, u(c)) : a.push(u("" + c)));
}
"string" === typeof e && "\n" === e[0] && a.push(Oa);
return e;
case "area":
case "base":
case "br":
case "col":
case "embed":
case "hr":
case "img":
case "keygen":
case "link":
case "meta":
case "param":
case "source":
case "track":
case "wbr":
a.push(M(b));
for (var F in c)
if (x.call(c, F) && (e = c[F], null != e))
switch (F) {
case "children":
case "dangerouslySetInnerHTML":
throw Error(k(399, b));
default:
J(a, d, F, e);
}
a.push(Ka);
return null;
case "annotation-xml":
case "color-profile":
case "font-face":
case "font-face-src":
case "font-face-uri":
case "font-face-format":
case "font-face-name":
case "missing-glyph":
return Na(a, c, b, d);
case "html":
return 0 === f.insertionMode && a.push(Ra), Na(a, c, b, d);
default:
if (-1 === b.indexOf("-") && "string" !== typeof c.is)
return Na(a, c, b, d);
a.push(M(b));
g = e = null;
for (q in c)
if (x.call(c, q) && (h = c[q], null != h))
switch (q) {
case "children":
e = h;
break;
case "dangerouslySetInnerHTML":
g = h;
break;
case "style":
Ia(a, d, h);
break;
case "suppressContentEditableWarning":
case "suppressHydrationWarning":
break;
default:
ia(q) && "function" !== typeof h && "symbol" !== typeof h && a.push(H, u(q), I, u(C(h)), E);
}
a.push(K);
L(a, g, e);
return e;
}
}
var Ta = w("</");
var Ua = w(">");
var Va = w('<template id="');
var Wa = w('"></template>');
var Xa = w("<!--$-->");
var Ya = w('<!--$?--><template id="');
var Za = w('"></template>');
var $a = w("<!--$!-->");
var ab = w("<!--/$-->");
var bb = w("<template");
var cb = w('"');
var db = w(' data-dgst="');
w(' data-msg="');
w(' data-stck="');
var eb = w("></template>");
function fb(a, b, c) {
p(a, Ya);
if (null === c)
throw Error(k(395));
p(a, c);
return t(a, Za);
}
var gb = w('<div hidden id="');
var hb = w('">');
var ib = w("</div>");
var jb = w('<svg aria-hidden="true" style="display:none" id="');
var kb = w('">');
var lb = w("</svg>");
var mb = w('<math aria-hidden="true" style="display:none" id="');
var nb = w('">');
var ob = w("</math>");
var pb = w('<table hidden id="');
var qb = w('">');
var rb = w("</table>");
var sb = w('<table hidden><tbody id="');
var tb = w('">');
var ub = w("</tbody></table>");
var vb = w('<table hidden><tr id="');
var wb = w('">');
var xb = w("</tr></table>");
var yb = w('<table hidden><colgroup id="');
var zb = w('">');
var Ab = w("</colgroup></table>");
function Bb(a, b, c, d) {
switch (c.insertionMode) {
case 0:
case 1:
return p(a, gb), p(a, b.segmentPrefix), p(a, u(d.toString(16))), t(a, hb);
case 2:
return p(a, jb), p(a, b.segmentPrefix), p(a, u(d.toString(16))), t(a, kb);
case 3:
return p(a, mb), p(a, b.segmentPrefix), p(a, u(d.toString(16))), t(a, nb);
case 4:
return p(a, pb), p(a, b.segmentPrefix), p(a, u(d.toString(16))), t(a, qb);
case 5:
return p(a, sb), p(a, b.segmentPrefix), p(a, u(d.toString(16))), t(a, tb);
case 6:
return p(a, vb), p(a, b.segmentPrefix), p(a, u(d.toString(16))), t(a, wb);
case 7:
return p(
a,
yb
), p(a, b.segmentPrefix), p(a, u(d.toString(16))), t(a, zb);
default:
throw Error(k(397));
}
}
function Cb(a, b) {
switch (b.insertionMode) {
case 0:
case 1:
return t(a, ib);
case 2:
return t(a, lb);
case 3:
return t(a, ob);
case 4:
return t(a, rb);
case 5:
return t(a, ub);
case 6:
return t(a, xb);
case 7:
return t(a, Ab);
default:
throw Error(k(397));
}
}
var Db = w('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("');
var Eb = w('$RS("');
var Gb = w('","');
var Hb = w('")<\/script>');
var Ib = w('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("');
var Jb = w('$RC("');
var Kb = w('","');
var Lb = w('")<\/script>');
var Mb = w('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("');
var Nb = w('$RX("');
var Ob = w('"');
var Pb = w(")<\/script>");
var Qb = w(",");
var Rb = /[<\u2028\u2029]/g;
function Sb(a) {
return JSON.stringify(a).replace(Rb, function(a2) {
switch (a2) {
case "<":
return "\\u003c";
case "\u2028":
return "\\u2028";
case "\u2029":
return "\\u2029";
default:
throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");
}
});
}
var N = Object.assign;
var Tb = Symbol.for("react.element");
var Ub = Symbol.for("react.portal");
var Vb = Symbol.for("react.fragment");
var Wb = Symbol.for("react.strict_mode");
var Xb = Symbol.for("react.profiler");
var Yb = Symbol.for("react.provider");
var Zb = Symbol.for("react.context");
var $b = Symbol.for("react.forward_ref");
var ac = Symbol.for("react.suspense");
var bc = Symbol.for("react.suspense_list");
var cc = Symbol.for("react.memo");
var dc = Symbol.for("react.lazy");
var ec = Symbol.for("react.scope");
var fc = Symbol.for("react.debug_trace_mode");
var gc = Symbol.for("react.legacy_hidden");
var hc = Symbol.for("react.default_value");
var ic = Symbol.iterator;
function jc(a) {
if (null == a)
return null;
if ("function" === typeof a)
return a.displayName || a.name || null;
if ("string" === typeof a)
return a;
switch (a) {
case Vb:
return "Fragment";
case Ub:
return "Portal";
case Xb:
return "Profiler";
case Wb:
return "StrictMode";
case ac:
return "Suspense";
case bc:
return "SuspenseList";
}
if ("object" === typeof a)
switch (a.$$typeof) {
case Zb:
return (a.displayName || "Context") + ".Consumer";
case Yb:
return (a._context.displayName || "Context") + ".Provider";
case $b:
var b = a.render;
a = a.displayName;
a || (a = b.displayName || b.name || "", a = "" !== a ? "ForwardRef(" + a + ")" : "ForwardRef");
return a;
case cc:
return b = a.displayName || null, null !== b ? b : jc(a.type) || "Memo";
case dc:
b = a._payload;
a = a._init;
try {
return jc(a(b));
} catch (c) {
}
}
return null;
}
var kc = {};
function lc(a, b) {
a = a.contextTypes;
if (!a)
return kc;
var c = {}, d;
for (d in a)
c[d] = b[d];
return c;
}
var O = null;
function P(a, b) {
if (a !== b) {
a.context._currentValue = a.parentValue;
a = a.parent;
var c = b.parent;
if (null === a) {
if (null !== c)
throw Error(k(401));
} else {
if (null === c)
throw Error(k(401));
P(a, c);
}
b.context._currentValue = b.value;
}
}
function mc(a) {
a.context._currentValue = a.parentValue;
a = a.parent;
null !== a && mc(a);
}
function nc(a) {
var b = a.parent;
null !== b && nc(b);
a.context._currentValue = a.value;
}
function oc(a, b) {
a.context._currentValue = a.parentValue;
a = a.parent;
if (null === a)
throw Error(k(402));
a.depth === b.depth ? P(a, b) : oc(a, b);
}
function pc(a, b) {
var c = b.parent;
if (null === c)
throw Error(k(402));
a.depth === c.depth ? P(a, c) : pc(a, c);
b.context._currentValue = b.value;
}
function Q(a) {
var b = O;
b !== a && (null === b ? nc(a) : null === a ? mc(b) : b.depth === a.depth ? P(b, a) : b.depth > a.depth ? oc(b, a) : pc(b, a), O = a);
}
var qc = { isMounted: function() {
return false;
}, enqueueSetState: function(a, b) {
a = a._reactInternals;
null !== a.queue && a.queue.push(b);
}, enqueueReplaceState: function(a, b) {
a = a._reactInternals;
a.replace = true;
a.queue = [b];
}, enqueueForceUpdate: function() {
} };
function rc(a, b, c, d) {
var f = void 0 !== a.state ? a.state : null;
a.updater = qc;
a.props = c;
a.state = f;
var e = { queue: [], replace: false };
a._reactInternals = e;
var g = b.contextType;
a.context = "object" === typeof g && null !== g ? g._currentValue : d;
g = b.getDerivedStateFromProps;
"function" === typeof g && (g = g(c, f), f = null === g || void 0 === g ? f : N({}, f, g), a.state = f);
if ("function" !== typeof b.getDerivedStateFromProps && "function" !== typeof a.getSnapshotBeforeUpdate && ("function" === typeof a.UNSAFE_componentWillMount || "function" === typeof a.componentWillMount))
if (b = a.state, "function" === typeof a.componentWillMount && a.componentWillMount(), "function" === typeof a.UNSAFE_componentWillMount && a.UNSAFE_componentWillMount(), b !== a.state && qc.enqueueReplaceState(a, a.state, null), null !== e.queue && 0 < e.queue.length)
if (b = e.queue, g = e.replace, e.queue = null, e.replace = false, g && 1 === b.length)
a.state = b[0];
else {
e = g ? b[0] : a.state;
f = true;
for (g = g ? 1 : 0; g < b.length; g++) {
var h = b[g];
h = "function" === typeof h ? h.call(a, e, c, d) : h;
null != h && (f ? (f = false, e = N({}, e, h)) : N(e, h));
}
a.state = e;
}
else
e.queue = null;
}
var sc = { id: 1, overflow: "" };
function tc(a, b, c) {
var d = a.id;
a = a.overflow;
var f = 32 - uc(d) - 1;
d &= ~(1 << f);
c += 1;
var e = 32 - uc(b) + f;
if (30 < e) {
var g = f - f % 5;
e = (d & (1 << g) - 1).toString(32);
d >>= g;
f -= g;
return { id: 1 << 32 - uc(b) + f | c << f | d, overflow: e + a };
}
return { id: 1 << e | c << f | d, overflow: a };
}
var uc = Math.clz32 ? Math.clz32 : vc;
var wc = Math.log;
var xc = Math.LN2;
function vc(a) {
a >>>= 0;
return 0 === a ? 32 : 31 - (wc(a) / xc | 0) | 0;
}
function yc(a, b) {
return a === b && (0 !== a || 1 / a === 1 / b) || a !== a && b !== b;
}
var zc = "function" === typeof Object.is ? Object.is : yc;
var R = null;
var Ac = null;
var Bc = null;
var S = null;
var T = false;
var Cc = false;
var U = 0;
var V = null;
var Dc = 0;
function W() {
if (null === R)
throw Error(k(321));
return R;
}
function Ec() {
if (0 < Dc)
throw Error(k(312));
return { memoizedState: null, queue: null, next: null };
}
function Fc() {
null === S ? null === Bc ? (T = false, Bc = S = Ec()) : (T = true, S = Bc) : null === S.next ? (T = false, S = S.next = Ec()) : (T = true, S = S.next);
return S;
}
function Gc() {
Ac = R = null;
Cc = false;
Bc = null;
Dc = 0;
S = V = null;
}
function Hc(a, b) {
return "function" === typeof b ? b(a) : b;
}
function Ic(a, b, c) {
R = W();
S = Fc();
if (T) {
var d = S.queue;
b = d.dispatch;
if (null !== V && (c = V.get(d), void 0 !== c)) {
V.delete(d);
d = S.memoizedState;
do
d = a(d, c.action), c = c.next;
while (null !== c);
S.memoizedState = d;
return [d, b];
}
return [S.memoizedState, b];
}
a = a === Hc ? "function" === typeof b ? b() : b : void 0 !== c ? c(b) : b;
S.memoizedState = a;
a = S.queue = { last: null, dispatch: null };
a = a.dispatch = Jc.bind(null, R, a);
return [S.memoizedState, a];
}
function Kc(a, b) {
R = W();
S = Fc();
b = void 0 === b ? null : b;
if (null !== S) {
var c = S.memoizedState;
if (null !== c && null !== b) {
var d = c[1];
a:
if (null === d)
d = false;
else {
for (var f = 0; f < d.length && f < b.length; f++)
if (!zc(b[f], d[f])) {
d = false;
break a;
}
d = true;
}
if (d)
return c[0];
}
}
a = a();
S.memoizedState = [a, b];
return a;
}
function Jc(a, b, c) {
if (25 <= Dc)
throw Error(k(301));
if (a === R)
if (Cc = true, a = { action: c, next: null }, null === V && (V = /* @__PURE__ */ new Map()), c = V.get(b), void 0 === c)
V.set(b, a);
else {
for (b = c; null !== b.next; )
b = b.next;
b.next = a;
}
}
function Lc() {
throw Error(k(394));
}
function Mc() {
}
var Oc = { readContext: function(a) {
return a._currentValue;
}, useContext: function(a) {
W();
return a._currentValue;
}, useMemo: Kc, useReducer: Ic, useRef: function(a) {
R = W();
S = Fc();
var b = S.memoizedState;
return null === b ? (a = { current: a }, S.memoizedState = a) : b;
}, useState: function(a) {
return Ic(Hc, a);
}, useInsertionEffect: Mc, useLayoutEffect: function() {
}, useCallback: function(a, b) {
return Kc(function() {
return a;
}, b);
}, useImperativeHandle: Mc, useEffect: Mc, useDebugValue: Mc, useDeferredValue: function(a) {
W();
return a;
}, useTransition: function() {
W();
return [false, Lc];
}, useId: function() {
var a = Ac.treeContext;
var b = a.overflow;
a = a.id;
a = (a & ~(1 << 32 - uc(a) - 1)).toString(32) + b;
var c = Nc;
if (null === c)
throw Error(k(404));
b = U++;
a = ":" + c.idPrefix + "R" + a;
0 < b && (a += "H" + b.toString(32));
return a + ":";
}, useMutableSource: function(a, b) {
W();
return b(a._source);
}, useSyncExternalStore: function(a, b, c) {
if (void 0 === c)
throw Error(k(407));
return c();
} };
var Nc = null;
var Pc = aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;
function Qc(a) {
console.error(a);
return null;
}
function X() {
}
function Rc(a, b, c, d, f, e, g, h, m) {
var q = [], r = /* @__PURE__ */ new Set();
b = { destination: null, responseState: b, progressiveChunkSize: void 0 === d ? 12800 : d, status: 0, fatalError: null, nextSegmentId: 0, allPendingTasks: 0, pendingRootTasks: 0, completedRootSegment: null, abortableTasks: r, pingedTasks: q, clientRenderedBoundaries: [], completedBoundaries: [], partialBoundaries: [], onError: void 0 === f ? Qc : f, onAllReady: void 0 === e ? X : e, onShellReady: void 0 === g ? X : g, onShellError: void 0 === h ? X : h, onFatalError: void 0 === m ? X : m };
c = Sc(b, 0, null, c, false, false);
c.parentFlushed = true;
a = Tc(b, a, null, c, r, kc, null, sc);
q.push(a);
return b;
}
function Tc(a, b, c, d, f, e, g, h) {
a.allPendingTasks++;
null === c ? a.pendingRootTasks++ : c.pendingTasks++;
var m = { node: b, ping: function() {
var b2 = a.pingedTasks;
b2.push(m);
1 === b2.length && Uc(a);
}, blockedBoundary: c, blockedSegment: d, abortSet: f, legacyContext: e, context: g, treeContext: h };
f.add(m);
return m;
}
function Sc(a, b, c, d, f, e) {
return { status: 0, id: -1, index: b, parentFlushed: false, chunks: [], children: [], formatContext: d, boundary: c, lastPushedText: f, textEmbedded: e };
}
function Y(a, b) {
a = a.onError(b);
if (null != a && "string" !== typeof a)
throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "' + typeof a + '" instead');
return a;
}
function Vc(a, b) {
var c = a.onShellError;
c(b);
c = a.onFatalError;
c(b);
null !== a.destination ? (a.status = 2, da(a.destination, b)) : (a.status = 1, a.fatalError = b);
}
function Wc(a, b, c, d, f) {
R = {};
Ac = b;
U = 0;
for (a = c(d, f); Cc; )
Cc = false, U = 0, Dc += 1, S = null, a = c(d, f);
Gc();
return a;
}
function Xc(a, b, c, d) {
var f = c.render(), e = d.childContextTypes;
if (null !== e && void 0 !== e) {
var g = b.legacyContext;
if ("function" !== typeof c.getChildContext)
d = g;
else {
c = c.getChildContext();
for (var h in c)
if (!(h in e))
throw Error(k(108, jc(d) || "Unknown", h));
d = N({}, g, c);
}
b.legacyContext = d;
Z(a, b, f);
b.legacyContext = g;
} else
Z(a, b, f);
}
function Yc(a, b) {
if (a && a.defaultProps) {
b = N({}, b);
a = a.defaultProps;
for (var c in a)
void 0 === b[c] && (b[c] = a[c]);
return b;
}
return b;
}
function Zc(a, b, c, d, f) {
if ("function" === typeof c)
if (c.prototype && c.prototype.isReactComponent) {
f = lc(c, b.legacyContext);
var e = c.contextType;
e = new c(d, "object" === typeof e && null !== e ? e._currentValue : f);
rc(e, c, d, f);
Xc(a, b, e, c);
} else {
e = lc(c, b.legacyContext);
f = Wc(a, b, c, d, e);
var g = 0 !== U;
if ("object" === typeof f && null !== f && "function" === typeof f.render && void 0 === f.$$typeof)
rc(f, c, d, e), Xc(a, b, f, c);
else if (g) {
d = b.treeContext;
b.treeContext = tc(d, 1, 0);
try {
Z(a, b, f);
} finally {
b.treeContext = d;
}
} else
Z(a, b, f);
}
else if ("string" === typeof c) {
f = b.blockedSegment;
e = Sa(f.chunks, c, d, a.responseState, f.formatContext);
f.lastPushedText = false;
g = f.formatContext;
f.formatContext = Ba(g, c, d);
$c(a, b, e);
f.formatContext = g;
switch (c) {
case "area":
case "base":
case "br":
case "col":
case "embed":
case "hr":
case "img":
case "input":
case "keygen":
case "link":
case "meta":
case "param":
case "source":
case "track":
case "wbr":
break;
default:
f.chunks.push(Ta, u(c), Ua);
}
f.lastPushedText = false;
} else {
switch (c) {
case gc:
case fc:
case Wb:
case Xb:
case Vb:
Z(a, b, d.children);
return;
case bc:
Z(a, b, d.children);
return;
case ec:
throw Error(k(343));
case ac:
a: {
c = b.blockedBoundary;
f = b.blockedSegment;
e = d.fallback;
d = d.children;
g = /* @__PURE__ */ new Set();
var h = { id: null, rootSegmentID: -1, parentFlushed: false, pendingTasks: 0, forceClientRender: false, completedSegments: [], byteSize: 0, fallbackAbortableTasks: g, errorDigest: null }, m = Sc(a, f.chunks.length, h, f.formatContext, false, false);
f.children.push(m);
f.lastPushedText = false;
var q = Sc(a, 0, null, f.formatContext, false, false);
q.parentFlushed = true;
b.blockedBoundary = h;
b.blockedSegment = q;
try {
if ($c(
a,
b,
d
), q.lastPushedText && q.textEmbedded && q.chunks.push(Ca), q.status = 1, ad(h, q), 0 === h.pendingTasks)
break a;
} catch (r) {
q.status = 4, h.forceClientRender = true, h.errorDigest = Y(a, r);
} finally {
b.blockedBoundary = c, b.blockedSegment = f;
}
b = Tc(a, e, c, m, g, b.legacyContext, b.context, b.treeContext);
a.pingedTasks.push(b);
}
return;
}
if ("object" === typeof c && null !== c)
switch (c.$$typeof) {
case $b:
d = Wc(a, b, c.render, d, f);
if (0 !== U) {
c = b.treeContext;
b.treeContext = tc(c, 1, 0);
try {
Z(a, b, d);
} finally {
b.treeContext = c;
}
} else
Z(a, b, d);
return;
case cc:
c = c.type;
d = Yc(c, d);
Zc(a, b, c, d, f);
return;
case Yb:
f = d.children;
c = c._context;
d = d.value;
e = c._currentValue;
c._currentValue = d;
g = O;
O = d = { parent: g, depth: null === g ? 0 : g.depth + 1, context: c, parentValue: e, value: d };
b.context = d;
Z(a, b, f);
a = O;
if (null === a)
throw Error(k(403));
d = a.parentValue;
a.context._currentValue = d === hc ? a.context._defaultValue : d;
a = O = a.parent;
b.context = a;
return;
case Zb:
d = d.children;
d = d(c._currentValue);
Z(a, b, d);
return;
case dc:
f = c._init;
c = f(c._payload);
d = Yc(c, d);
Zc(a, b, c, d, void 0);
return;
}
throw Error(k(
130,
null == c ? c : typeof c,
""
));
}
}
function Z(a, b, c) {
b.node = c;
if ("object" === typeof c && null !== c) {
switch (c.$$typeof) {
case Tb:
Zc(a, b, c.type, c.props, c.ref);
return;
case Ub:
throw Error(k(257));
case dc:
var d = c._init;
c = d(c._payload);
Z(a, b, c);
return;
}
if (ra(c)) {
bd(a, b, c);
return;
}
null === c || "object" !== typeof c ? d = null : (d = ic && c[ic] || c["@@iterator"], d = "function" === typeof d ? d : null);
if (d && (d = d.call(c))) {
c = d.next();
if (!c.done) {
var f = [];
do
f.push(c.value), c = d.next();
while (!c.done);
bd(a, b, f);
}
return;
}
a = Object.prototype.toString.call(c);
throw Error(k(31, "[object Object]" === a ? "object with keys {" + Object.keys(c).join(", ") + "}" : a));
}
"string" === typeof c ? (d = b.blockedSegment, d.lastPushedText = Da(b.blockedSegment.chunks, c, a.responseState, d.lastPushedText)) : "number" === typeof c && (d = b.blockedSegment, d.lastPushedText = Da(b.blockedSegment.chunks, "" + c, a.responseState, d.lastPushedText));
}
function bd(a, b, c) {
for (var d = c.length, f = 0; f < d; f++) {
var e = b.treeContext;
b.treeContext = tc(e, d, f);
try {
$c(a, b, c[f]);
} finally {
b.treeContext = e;
}
}
}
function $c(a, b, c) {
var d = b.blockedSegment.formatContext, f = b.legacyContext, e = b.context;
try {
return Z(a, b, c);
} catch (m) {
if (Gc(), "object" === typeof m && null !== m && "function" === typeof m.then) {
c = m;
var g = b.blockedSegment, h = Sc(a, g.chunks.length, null, g.formatContext, g.lastPushedText, true);
g.children.push(h);
g.lastPushedText = false;
a = Tc(a, b.node, b.blockedBoundary, h, b.abortSet, b.legacyContext, b.context, b.treeContext).ping;
c.then(a, a);
b.blockedSegment.formatContext = d;
b.legacyContext = f;
b.context = e;
Q(e);
} else
throw b.blockedSegment.formatContext = d, b.legacyContext = f, b.context = e, Q(e), m;
}
}
function cd(a) {
var b = a.blockedBoundary;
a = a.blockedSegment;
a.status = 3;
dd(this, b, a);
}
function ed(a, b, c) {
var d = a.blockedBoundary;
a.blockedSegment.status = 3;
null === d ? (b.allPendingTasks--, 2 !== b.status && (b.status = 2, null !== b.destination && b.destination.close())) : (d.pendingTasks--, d.forceClientRender || (d.forceClientRender = true, a = void 0 === c ? Error(k(432)) : c, d.errorDigest = b.onError(a), d.parentFlushed && b.clientRenderedBoundaries.push(d)), d.fallbackAbortableTasks.forEach(function(a2) {
return ed(a2, b, c);
}), d.fallbackAbortableTasks.clear(), b.allPendingTasks--, 0 === b.allPendingTasks && (d = b.onAllReady, d()));
}
function ad(a, b) {
if (0 === b.chunks.length && 1 === b.children.length && null === b.children[0].boundary) {
var c = b.children[0];
c.id = b.id;
c.parentFlushed = true;
1 === c.status && ad(a, c);
} else
a.completedSegments.push(b);
}
function dd(a, b, c) {
if (null === b) {
if (c.parentFlushed) {
if (null !== a.completedRootSegment)
throw Error(k(389));
a.completedRootSegment = c;
}
a.pendingRootTasks--;
0 === a.pendingRootTasks && (a.onShellError = X, b = a.onShellReady, b());
} else
b.pendingTasks--, b.forceClientRender || (0 === b.pendingTasks ? (c.parentFlushed && 1 === c.status && ad(b, c), b.parentFlushed && a.completedBoundaries.push(b), b.fallbackAbortableTasks.forEach(cd, a), b.fallbackAbortableTasks.clear()) : c.parentFlushed && 1 === c.status && (ad(b, c), 1 === b.completedSegments.length && b.parentFlushed && a.partialBoundaries.push(b)));
a.allPendingTasks--;
0 === a.allPendingTasks && (a = a.onAllReady, a());
}
function Uc(a) {
if (2 !== a.status) {
var b = O, c = Pc.current;
Pc.current = Oc;
var d = Nc;
Nc = a.responseState;
try {
var f = a.pingedTasks, e;
for (e = 0; e < f.length; e++) {
var g = f[e];
var h = a, m = g.blockedSegment;
if (0 === m.status) {
Q(g.context);
try {
Z(h, g, g.node), m.lastPushedText && m.textEmbedded && m.chunks.push(Ca), g.abortSet.delete(g), m.status = 1, dd(h, g.blockedBoundary, m);
} catch (G) {
if (Gc(), "object" === typeof G && null !== G && "function" === typeof G.then) {
var q = g.ping;
G.then(q, q);
} else {
g.abortSet.delete(g);
m.status = 4;
var r = g.blockedBoundary, v = G, A = Y(h, v);
null === r ? Vc(h, v) : (r.pendingTasks--, r.forceClientRender || (r.forceClientRender = true, r.errorDigest = A, r.parentFlushed && h.clientRenderedBoundaries.push(r)));
h.allPendingTasks--;
if (0 === h.allPendingTasks) {
var F = h.onAllReady;
F();
}
}
} finally {
}
}
}
f.splice(0, e);
null !== a.destination && fd(a, a.destination);
} catch (G) {
Y(a, G), Vc(a, G);
} finally {
Nc = d, Pc.current = c, c === Oc && Q(b);
}
}
}
function gd(a, b, c) {
c.parentFlushed = true;
switch (c.status) {
case 0:
var d = c.id = a.nextSegmentId++;
c.lastPushedText = false;
c.textEmbedded = false;
a = a.responseState;
p(b, Va);
p(b, a.placeholderPrefix);
a = u(d.toString(16));
p(b, a);
return t(b, Wa);
case 1:
c.status = 2;
var f = true;
d = c.chunks;
var e = 0;
c = c.children;
for (var g = 0; g < c.length; g++) {
for (f = c[g]; e < f.index; e++)
p(b, d[e]);
f = hd(a, b, f);
}
for (; e < d.length - 1; e++)
p(b, d[e]);
e < d.length && (f = t(b, d[e]));
return f;
default:
throw Error(k(390));
}
}
function hd(a, b, c) {
var d = c.boundary;
if (null === d)
return gd(a, b, c);
d.parentFlushed = true;
if (d.forceClientRender)
d = d.errorDigest, t(b, $a), p(b, bb), d && (p(b, db), p(b, u(C(d))), p(b, cb)), t(b, eb), gd(a, b, c);
else if (0 < d.pendingTasks) {
d.rootSegmentID = a.nextSegmentId++;
0 < d.completedSegments.length && a.partialBoundaries.push(d);
var f = a.responseState;
var e = f.nextSuspenseID++;
f = w(f.boundaryPrefix + e.toString(16));
d = d.id = f;
fb(b, a.responseState, d);
gd(a, b, c);
} else if (d.byteSize > a.progressiveChunkSize)
d.rootSegmentID = a.nextSegmentId++, a.completedBoundaries.push(d), fb(b, a.responseState, d.id), gd(a, b, c);
else {
t(b, Xa);
c = d.completedSegments;
if (1 !== c.length)
throw Error(k(391));
hd(a, b, c[0]);
}
return t(b, ab);
}
function id(a, b, c) {
Bb(b, a.responseState, c.formatContext, c.id);
hd(a, b, c);
return Cb(b, c.formatContext);
}
function jd(a, b, c) {
for (var d = c.completedSegments, f = 0; f < d.length; f++)
kd(a, b, c, d[f]);
d.length = 0;
a = a.responseState;
d = c.id;
c = c.rootSegmentID;
p(b, a.startInlineScript);
a.sentCompleteBoundaryFunction ? p(b, Jb) : (a.sentCompleteBoundaryFunction = true, p(b, Ib));
if (null === d)
throw Error(k(395));
c = u(c.toString(16));
p(b, d);
p(b, Kb);
p(b, a.segmentPrefix);
p(b, c);
return t(b, Lb);
}
function kd(a, b, c, d) {
if (2 === d.status)
return true;
var f = d.id;
if (-1 === f) {
if (-1 === (d.id = c.rootSegmentID))
throw Error(k(392));
return id(a, b, d);
}
id(a, b, d);
a = a.responseState;
p(b, a.startInlineScript);
a.sentCompleteSegmentFunction ? p(b, Eb) : (a.sentCompleteSegmentFunction = true, p(b, Db));
p(b, a.segmentPrefix);
f = u(f.toString(16));
p(b, f);
p(b, Gb);
p(b, a.placeholderPrefix);
p(b, f);
return t(b, Hb);
}
function fd(a, b) {
l = new Uint8Array(512);
n = 0;
try {
var c = a.completedRootSegment;
if (null !== c && 0 === a.pendingRootTasks) {
hd(a, b, c);
a.completedRootSegment = null;
var d = a.responseState.bootstrapChunks;
for (c = 0; c < d.length - 1; c++)
p(b, d[c]);
c < d.length && t(b, d[c]);
}
var f = a.clientRenderedBoundaries, e;
for (e = 0; e < f.length; e++) {
var g = f[e];
d = b;
var h = a.responseState, m = g.id, q = g.errorDigest, r = g.errorMessage, v = g.errorComponentStack;
p(d, h.startInlineScript);
h.sentClientRenderFunction ? p(d, Nb) : (h.sentClientRenderFunction = true, p(
d,
Mb
));
if (null === m)
throw Error(k(395));
p(d, m);
p(d, Ob);
if (q || r || v)
p(d, Qb), p(d, u(Sb(q || "")));
if (r || v)
p(d, Qb), p(d, u(Sb(r || "")));
v && (p(d, Qb), p(d, u(Sb(v))));
if (!t(d, Pb)) {
a.destination = null;
e++;
f.splice(0, e);
return;
}
}
f.splice(0, e);
var A = a.completedBoundaries;
for (e = 0; e < A.length; e++)
if (!jd(a, b, A[e])) {
a.destination = null;
e++;
A.splice(0, e);
return;
}
A.splice(0, e);
ba(b);
l = new Uint8Array(512);
n = 0;
var F = a.partialBoundaries;
for (e = 0; e < F.length; e++) {
var G = F[e];
a: {
f = a;
g = b;
var ma = G.completedSegments;
for (h = 0; h < ma.length; h++)
if (!kd(
f,
g,
G,
ma[h]
)) {
h++;
ma.splice(0, h);
var Fb = false;
break a;
}
ma.splice(0, h);
Fb = true;
}
if (!Fb) {
a.destination = null;
e++;
F.splice(0, e);
return;
}
}
F.splice(0, e);
var na = a.completedBoundaries;
for (e = 0; e < na.length; e++)
if (!jd(a, b, na[e])) {
a.destination = null;
e++;
na.splice(0, e);
return;
}
na.splice(0, e);
} finally {
ba(b), 0 === a.allPendingTasks && 0 === a.pingedTasks.length && 0 === a.clientRenderedBoundaries.length && 0 === a.completedBoundaries.length && b.close();
}
}
function ld(a, b) {
try {
var c = a.abortableTasks;
c.forEach(function(c2) {
return ed(c2, a, b);
});
c.clear();
null !== a.destination && fd(a, a.destination);
} catch (d) {
Y(a, d), Vc(a, d);
}
}
exports.renderToReadableStream = function(a, b) {
return new Promise(function(c, d) {
var f, e, g = new Promise(function(a2, b2) {
e = a2;
f = b2;
}), h = Rc(a, za(b ? b.identifierPrefix : void 0, b ? b.nonce : void 0, b ? b.bootstrapScriptContent : void 0, b ? b.bootstrapScripts : void 0, b ? b.bootstrapModules : void 0), Aa(b ? b.namespaceURI : void 0), b ? b.progressiveChunkSize : void 0, b ? b.onError : void 0, e, function() {
var a2 = new ReadableStream({ type: "bytes", pull: function(a3) {
if (1 === h.status)
h.status = 2, da(a3, h.fatalError);
else if (2 !== h.status && null === h.destination) {
h.destination = a3;
try {
fd(h, a3);
} catch (A) {
Y(h, A), Vc(h, A);
}
}
}, cancel: function() {
ld(h);
} }, { highWaterMark: 0 });
a2.allReady = g;
c(a2);
}, function(a2) {
g.catch(function() {
});
d(a2);
}, f);
if (b && b.signal) {
var m = b.signal, q = function() {
ld(h, m.reason);
m.removeEventListener("abort", q);
};
m.addEventListener("abort", q);
}
Uc(h);
});
};
exports.version = "18.2.0";
}
});
// node_modules/react-dom/server.browser.js
var require_server_browser = __commonJS({
"node_modules/react-dom/server.browser.js"(exports) {
"use strict";
var l;
var s;
if (true) {
l = require_react_dom_server_legacy_browser_production_min();
s = require_react_dom_server_browser_production_min();
} else {
l = null;
s = null;
}
exports.version = l.version;
exports.renderToString = l.renderToString;
exports.renderToStaticMarkup = l.renderToStaticMarkup;
exports.renderToNodeStream = l.renderToNodeStream;
exports.renderToStaticNodeStream = l.renderToStaticNodeStream;
exports.renderToReadableStream = s.renderToReadableStream;
}
});
// src/styles/tagsBoxstyle.css
var require_tagsBoxstyle = __commonJS({
"src/styles/tagsBoxstyle.css"(exports, module) {
(function() {
if (!document.getElementById("ba52314397aee43dbf55b78d9abb31e80f9839397e3c9c229dc7a1e5e0e6f976")) {
var e = document.createElement("style");
e.id = "ba52314397aee43dbf55b78d9abb31e80f9839397e3c9c229dc7a1e5e0e6f976";
e.textContent = `.jDiQFZ_57448dc78f26a3c7720ad14e1b8de125_1{
width: 184px;
}
.hYfnPb_57448dc78f26a3c7720ad14e1b8de125_5 {
position: relative;
-webkit-mask-image: -webkit-radial-gradient(center, white, black);
border-radius: 8px;
overflow: hidden;
}
.jtpclu_57448dc78f26a3c7720ad14e1b8de125_12 {
display: flex;
margin-top: 4px;
}
.fxGVAF_57448dc78f26a3c7720ad14e1b8de125_17 {
position: relative;
z-index: 0;
width: 184px;
height: 184px;
}
.kJZXgj_57448dc78f26a3c7720ad14e1b8de125_24 {
text-decoration: none;
}
.cYUezH_57448dc78f26a3c7720ad14e1b8de125_28 {
position: relative;
display: flex;
-webkit-box-align: center;
align-items: center;
-webkit-box-pack: center;
justify-content: center;
width: 100%;
height: 100%;
}
.Sxcoo_57448dc78f26a3c7720ad14e1b8de125_39 {
position: absolute;
top: 0px;
left: 0px;
right: 0px;
box-sizing: border-box;
display: flex;
align-items: flex-start;
padding: 4px 4px 0px;
pointer-events: none;
}
.erYaF_57448dc78f26a3c7720ad14e1b8de125_51 {
width: 100%;
height: 100%;
border-radius: 4px;
background-color: rgb(255, 255, 255);
transition: opacity 0.2s ease 0s;
}
.hHNegy_57448dc78f26a3c7720ad14e1b8de125_59 {
margin-left: auto;
}
.liXhix_57448dc78f26a3c7720ad14e1b8de125_63 {
display: flex;
align-items: flex-start;
flex-flow: row wrap;
}
.kZlOCw_57448dc78f26a3c7720ad14e1b8de125_69 {
display: flex;
-webkit-box-pack: center;
justify-content: center;
-webkit-box-align: center;
align-items: center;
flex: 0 0 auto;
box-sizing: border-box;
height: 20px;
min-width: 20px;
color: rgb(255, 255, 255);
font-weight: bold;
padding: 0px 6px;
background: rgba(0, 0, 0, 0.32);
border-radius: 10px;
font-size: 10px;
line-height: 10px;
}
.fArvVr_57448dc78f26a3c7720ad14e1b8de125_88 {
stroke: none;
fill: currentcolor;
width: 9px;
height: 9px;
line-height: 0;
font-size: 0px;
vertical-align: middle;
overflow: hidden;
}
.gbNjFx_57448dc78f26a3c7720ad14e1b8de125_99 {
display: inline-flex;
vertical-align: top;
-webkit-box-align: center;
align-items: center;
height: 10px;
}
.gODLwk_57448dc78f26a3c7720ad14e1b8de125_107 {
margin-right: 2px;
}
.eDNlMk_57448dc78f26a3c7720ad14e1b8de125_111 {
position: absolute;
bottom: 0px;
right: 0px;
height: 32px;
display: flex;
-webkit-box-pack: end;
justify-content: flex-end;
}
.fgVkZi_57448dc78f26a3c7720ad14e1b8de125_121 {
display: block;
box-sizing: content-box;
padding: 0px;
color: inherit;
background: none;
border: none;
line-height: 1;
height: 32px;
cursor: pointer;
}
.dxYRhf_57448dc78f26a3c7720ad14e1b8de125_133 {
box-sizing: border-box;
line-height: 0;
font-size: 0px;
vertical-align: top;
transition: color 0.2s ease 0s, fill 0.2s ease 0s;
color: rgb(31, 31, 31);
fill: currentcolor;
}
.dxYRhf_57448dc78f26a3c7720ad14e1b8de125_133 .whitebokuma_57448dc78f26a3c7720ad14e1b8de125_143 {
transition: fill 0.2s ease 0s;
fill: rgb(255, 255, 255);
}
.cwshsL_57448dc78f26a3c7720ad14e1b8de125_148 {
display: inline;
max-width: 100%;
overflow: hidden;
text-decoration: none;
text-overflow: ellipsis;
white-space: nowrap;
line-height: 22px;
font-size: 14px;
font-weight: bold;
transition: color 0.2s ease 0s;
}
.icsUdQ_57448dc78f26a3c7720ad14e1b8de125_162 {
display: flex;
-webkit-box-align: center;
align-items: center;
min-width: 0px;
}
.eMfHJB_57448dc78f26a3c7720ad14e1b8de125_169{
margin-right: 4px;
}
.hMqBzA_57448dc78f26a3c7720ad14e1b8de125_173 {
display: flex;
border-radius: 50%;
flex: 0 0 auto;
overflow: hidden;
width: 24px;
height: 24px;
position: relative;
}
.kghgsn_57448dc78f26a3c7720ad14e1b8de125_183 {
display: block;
min-width: 0px;
line-height: 22px;
font-size: 14px;
text-decoration: none;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
.efxZOo_57448dc78f26a3c7720ad14e1b8de125_194 {
padding: 0px 6px;
border-radius: 3px;
color: rgb(245, 245, 245);
background: rgb(255, 64, 96);
font-weight: bold;
font-size: 10px;
line-height: 16px;
user-select: none;
}
.cIllir_57448dc78f26a3c7720ad14e1b8de125_205 {
margin-right: 2px;
}`;
document.head.appendChild(e);
}
})();
module.exports = JSON.parse('{"jDiQFZ":"jDiQFZ_57448dc78f26a3c7720ad14e1b8de125_1","hYfnPb":"hYfnPb_57448dc78f26a3c7720ad14e1b8de125_5","jtpclu":"jtpclu_57448dc78f26a3c7720ad14e1b8de125_12","fxGVAF":"fxGVAF_57448dc78f26a3c7720ad14e1b8de125_17","kJZXgj":"kJZXgj_57448dc78f26a3c7720ad14e1b8de125_24","cYUezH":"cYUezH_57448dc78f26a3c7720ad14e1b8de125_28","Sxcoo":"Sxcoo_57448dc78f26a3c7720ad14e1b8de125_39","erYaF":"erYaF_57448dc78f26a3c7720ad14e1b8de125_51","hHNegy":"hHNegy_57448dc78f26a3c7720ad14e1b8de125_59","liXhix":"liXhix_57448dc78f26a3c7720ad14e1b8de125_63","kZlOCw":"kZlOCw_57448dc78f26a3c7720ad14e1b8de125_69","fArvVr":"fArvVr_57448dc78f26a3c7720ad14e1b8de125_88","gbNjFx":"gbNjFx_57448dc78f26a3c7720ad14e1b8de125_99","gODLwk":"gODLwk_57448dc78f26a3c7720ad14e1b8de125_107","eDNlMk":"eDNlMk_57448dc78f26a3c7720ad14e1b8de125_111","fgVkZi":"fgVkZi_57448dc78f26a3c7720ad14e1b8de125_121","dxYRhf":"dxYRhf_57448dc78f26a3c7720ad14e1b8de125_133","whitebokuma":"whitebokuma_57448dc78f26a3c7720ad14e1b8de125_143","cwshsL":"cwshsL_57448dc78f26a3c7720ad14e1b8de125_148","icsUdQ":"icsUdQ_57448dc78f26a3c7720ad14e1b8de125_162","eMfHJB":"eMfHJB_57448dc78f26a3c7720ad14e1b8de125_169","hMqBzA":"hMqBzA_57448dc78f26a3c7720ad14e1b8de125_173","kghgsn":"kghgsn_57448dc78f26a3c7720ad14e1b8de125_183","efxZOo":"efxZOo_57448dc78f26a3c7720ad14e1b8de125_194","cIllir":"cIllir_57448dc78f26a3c7720ad14e1b8de125_205"}');
}
});
// node_modules/react/cjs/react-jsx-runtime.production.min.js
var require_react_jsx_runtime_production_min = __commonJS({
"node_modules/react/cjs/react-jsx-runtime.production.min.js"(exports) {
"use strict";
var f = require_react();
var k = Symbol.for("react.element");
var l = Symbol.for("react.fragment");
var m = Object.prototype.hasOwnProperty;
var n = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner;
var p = { key: true, ref: true, __self: true, __source: true };
function q(c, a, g) {
var b, d = {}, e = null, h = null;
void 0 !== g && (e = "" + g);
void 0 !== a.key && (e = "" + a.key);
void 0 !== a.ref && (h = a.ref);
for (b in a)
m.call(a, b) && !p.hasOwnProperty(b) && (d[b] = a[b]);
if (c && c.defaultProps)
for (b in a = c.defaultProps, a)
void 0 === d[b] && (d[b] = a[b]);
return { $$typeof: k, type: c, key: e, ref: h, props: d, _owner: n.current };
}
exports.Fragment = l;
exports.jsx = q;
exports.jsxs = q;
}
});
// node_modules/react/jsx-runtime.js
var require_jsx_runtime = __commonJS({
"node_modules/react/jsx-runtime.js"(exports, module) {
"use strict";
if (true) {
module.exports = require_react_jsx_runtime_production_min();
} else {
module.exports = null;
}
}
});
// src/pages/tagsAppendIlust.tsx
var import_server, import_tagsBoxstyle, import_jsx_runtime, tagsAppendIlust_default;
var init_tagsAppendIlust = __esm({
"src/pages/tagsAppendIlust.tsx"() {
import_server = __toESM(require_server_browser());
import_tagsBoxstyle = __toESM(require_tagsBoxstyle());
import_jsx_runtime = __toESM(require_jsx_runtime());
tagsAppendIlust_default = ({
parent,
src,
title,
href,
r18,
r18g,
pageCount,
createricon,
creatername,
createrpage
}) => {
const ilust = document.createElement("li");
ilust.setAttribute("style", "margin:0px;display:list-item;text-align:-webkit-match-parent;list-style:none;");
const html = import_server.default.renderToStaticMarkup(
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: import_tagsBoxstyle.default.jDiQFZ, children: [
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: import_tagsBoxstyle.default.hYfnPb, children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: import_tagsBoxstyle.default.fxGVAF, children: [
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("a", { className: import_tagsBoxstyle.default.kJZXgj, href, children: [
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: import_tagsBoxstyle.default.cYUezH, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("img", { className: import_tagsBoxstyle.default.erYaF, src }) }),
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: import_tagsBoxstyle.default.Sxcoo, children: [
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: import_tagsBoxstyle.default.liXhix, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: import_tagsBoxstyle.default.cIllir, children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: import_tagsBoxstyle.default.efxZOo, children: [
r18 && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, { children: "R-18" }),
r18g && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, { children: "R-18G" })
] }) }) }),
pageCount !== 1 && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: import_tagsBoxstyle.default.hHNegy, children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: import_tagsBoxstyle.default.kZlOCw, children: [
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: import_tagsBoxstyle.default.gODLwk, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: import_tagsBoxstyle.default.gbNjFx, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", { className: import_tagsBoxstyle.default.fArvVr, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M8,3 C8.55228475,3 9,3.44771525 9,4 L9,9 C9,9.55228475 8.55228475,10 8,10 L3,10\n C2.44771525,10 2,9.55228475 2,9 L6,9 C7.1045695,9 8,8.1045695 8,7 L8,3 Z M1,1 L6,1\n C6.55228475,1 7,1.44771525 7,2 L7,7 C7,7.55228475 6.55228475,8 6,8 L1,8 C0.44771525,8\n 0,7.55228475 0,7 L0,2 C0,1.44771525 0.44771525,1 1,1 Z", transform: "" }) }) }) }),
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: pageCount })
] }) })
] })
] }),
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: import_tagsBoxstyle.default.eDNlMk, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", { className: import_tagsBoxstyle.default.fgVkZi, children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", { className: import_tagsBoxstyle.default.dxYRhf, width: "32", height: "32", children: [
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "\n M21,5.5 C24.8659932,5.5 28,8.63400675 28,12.5 C28,18.2694439 24.2975093,23.1517313 17.2206059,27.1100183\n C16.4622493,27.5342993 15.5379984,27.5343235 14.779626,27.110148 C7.70250208,23.1517462 4,18.2694529 4,12.5\n C4,8.63400691 7.13400681,5.5 11,5.5 C12.829814,5.5 14.6210123,6.4144028 16,7.8282366\n C17.3789877,6.4144028 19.170186,5.5 21,5.5 Z" }),
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M16,11.3317089 C15.0857201,9.28334665 13.0491506,7.5 11,7.5\n C8.23857625,7.5 6,9.73857647 6,12.5 C6,17.4386065 9.2519779,21.7268174 15.7559337,25.3646328\n C15.9076021,25.4494645 16.092439,25.4494644 16.2441073,25.3646326 C22.7480325,21.7268037 26,17.4385986 26,12.5\n C26,9.73857625 23.7614237,7.5 21,7.5 C18.9508494,7.5 16.9142799,9.28334665 16,11.3317089 Z", className: import_tagsBoxstyle.default.dUurgf + " " + import_tagsBoxstyle.default.whitebokuma })
] }) }) }) })
] }) }),
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: import_tagsBoxstyle.default.jtpclu, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("a", { className: import_tagsBoxstyle.default.cwshsL, href, children: title }) }),
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: import_tagsBoxstyle.default.jtpclu, children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: import_tagsBoxstyle.default.icsUdQ, children: [
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: import_tagsBoxstyle.default.eMfHJB, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("a", { href: createrpage, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: import_tagsBoxstyle.default.hMqBzA, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("img", { src: createricon, width: "24", height: "24" }) }) }) }),
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("a", { href: createrpage, className: import_tagsBoxstyle.default.kghgsn, children: creatername })
] }) })
] })
);
ilust.innerHTML = html;
parent.appendChild(ilust);
return ilust;
};
}
});
// node_modules/axios/lib/helpers/bind.js
function bind(fn, thisArg) {
return function wrap() {
return fn.apply(thisArg, arguments);
};
}
var init_bind = __esm({
"node_modules/axios/lib/helpers/bind.js"() {
"use strict";
}
});
// node_modules/axios/lib/utils.js
function isBuffer(val) {
return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor) && isFunction(val.constructor.isBuffer) && val.constructor.isBuffer(val);
}
function isArrayBufferView(val) {
let result;
if (typeof ArrayBuffer !== "undefined" && ArrayBuffer.isView) {
result = ArrayBuffer.isView(val);
} else {
result = val && val.buffer && isArrayBuffer(val.buffer);
}
return result;
}
function forEach(obj, fn, { allOwnKeys = false } = {}) {
if (obj === null || typeof obj === "undefined") {
return;
}
let i;
let l;
if (typeof obj !== "object") {
obj = [obj];
}
if (isArray(obj)) {
for (i = 0, l = obj.length; i < l; i++) {
fn.call(null, obj[i], i, obj);
}
} else {
const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);
const len = keys.length;
let key;
for (i = 0; i < len; i++) {
key = keys[i];
fn.call(null, obj[key], key, obj);
}
}
}
function findKey(obj, key) {
key = key.toLowerCase();
const keys = Object.keys(obj);
let i = keys.length;
let _key;
while (i-- > 0) {
_key = keys[i];
if (key === _key.toLowerCase()) {
return _key;
}
}
return null;
}
function merge() {
const { caseless } = isContextDefined(this) && this || {};
const result = {};
const assignValue = (val, key) => {
const targetKey = caseless && findKey(result, key) || key;
if (isPlainObject(result[targetKey]) && isPlainObject(val)) {
result[targetKey] = merge(result[targetKey], val);
} else if (isPlainObject(val)) {
result[targetKey] = merge({}, val);
} else if (isArray(val)) {
result[targetKey] = val.slice();
} else {
result[targetKey] = val;
}
};
for (let i = 0, l = arguments.length; i < l; i++) {
arguments[i] && forEach(arguments[i], assignValue);
}
return result;
}
var toString, getPrototypeOf, kindOf, kindOfTest, typeOfTest, isArray, isUndefined, isArrayBuffer, isString, isFunction, isNumber, isObject, isBoolean, isPlainObject, isDate, isFile, isBlob, isFileList, isStream, isFormData, isURLSearchParams, trim, _global, isContextDefined, extend, stripBOM, inherits, toFlatObject, endsWith, toArray, isTypedArray, forEachEntry, matchAll, isHTMLForm, toCamelCase, hasOwnProperty, isRegExp, reduceDescriptors, freezeMethods, toObjectSet, noop, toFiniteNumber, toJSONObject, utils_default;
var init_utils = __esm({
"node_modules/axios/lib/utils.js"() {
"use strict";
init_bind();
({ toString } = Object.prototype);
({ getPrototypeOf } = Object);
kindOf = ((cache) => (thing) => {
const str = toString.call(thing);
return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());
})(/* @__PURE__ */ Object.create(null));
kindOfTest = (type) => {
type = type.toLowerCase();
return (thing) => kindOf(thing) === type;
};
typeOfTest = (type) => (thing) => typeof thing === type;
({ isArray } = Array);
isUndefined = typeOfTest("undefined");
isArrayBuffer = kindOfTest("ArrayBuffer");
isString = typeOfTest("string");
isFunction = typeOfTest("function");
isNumber = typeOfTest("number");
isObject = (thing) => thing !== null && typeof thing === "object";
isBoolean = (thing) => thing === true || thing === false;
isPlainObject = (val) => {
if (kindOf(val) !== "object") {
return false;
}
const prototype3 = getPrototypeOf(val);
return (prototype3 === null || prototype3 === Object.prototype || Object.getPrototypeOf(prototype3) === null) && !(Symbol.toStringTag in val) && !(Symbol.iterator in val);
};
isDate = kindOfTest("Date");
isFile = kindOfTest("File");
isBlob = kindOfTest("Blob");
isFileList = kindOfTest("FileList");
isStream = (val) => isObject(val) && isFunction(val.pipe);
isFormData = (thing) => {
const pattern = "[object FormData]";
return thing && (typeof FormData === "function" && thing instanceof FormData || toString.call(thing) === pattern || isFunction(thing.toString) && thing.toString() === pattern);
};
isURLSearchParams = kindOfTest("URLSearchParams");
trim = (str) => str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
_global = typeof self === "undefined" ? typeof global === "undefined" ? void 0 : global : self;
isContextDefined = (context) => !isUndefined(context) && context !== _global;
extend = (a, b, thisArg, { allOwnKeys } = {}) => {
forEach(b, (val, key) => {
if (thisArg && isFunction(val)) {
a[key] = bind(val, thisArg);
} else {
a[key] = val;
}
}, { allOwnKeys });
return a;
};
stripBOM = (content) => {
if (content.charCodeAt(0) === 65279) {
content = content.slice(1);
}
return content;
};
inherits = (constructor, superConstructor, props, descriptors2) => {
constructor.prototype = Object.create(superConstructor.prototype, descriptors2);
constructor.prototype.constructor = constructor;
Object.defineProperty(constructor, "super", {
value: superConstructor.prototype
});
props && Object.assign(constructor.prototype, props);
};
toFlatObject = (sourceObj, destObj, filter2, propFilter) => {
let props;
let i;
let prop;
const merged = {};
destObj = destObj || {};
if (sourceObj == null)
return destObj;
do {
props = Object.getOwnPropertyNames(sourceObj);
i = props.length;
while (i-- > 0) {
prop = props[i];
if ((!propFilter || propFilter(prop, sourceObj, destObj)) && !merged[prop]) {
destObj[prop] = sourceObj[prop];
merged[prop] = true;
}
}
sourceObj = filter2 !== false && getPrototypeOf(sourceObj);
} while (sourceObj && (!filter2 || filter2(sourceObj, destObj)) && sourceObj !== Object.prototype);
return destObj;
};
endsWith = (str, searchString, position) => {
str = String(str);
if (position === void 0 || position > str.length) {
position = str.length;
}
position -= searchString.length;
const lastIndex = str.indexOf(searchString, position);
return lastIndex !== -1 && lastIndex === position;
};
toArray = (thing) => {
if (!thing)
return null;
if (isArray(thing))
return thing;
let i = thing.length;
if (!isNumber(i))
return null;
const arr = new Array(i);
while (i-- > 0) {
arr[i] = thing[i];
}
return arr;
};
isTypedArray = ((TypedArray) => {
return (thing) => {
return TypedArray && thing instanceof TypedArray;
};
})(typeof Uint8Array !== "undefined" && getPrototypeOf(Uint8Array));
forEachEntry = (obj, fn) => {
const generator = obj && obj[Symbol.iterator];
const iterator = generator.call(obj);
let result;
while ((result = iterator.next()) && !result.done) {
const pair = result.value;
fn.call(obj, pair[0], pair[1]);
}
};
matchAll = (regExp, str) => {
let matches;
const arr = [];
while ((matches = regExp.exec(str)) !== null) {
arr.push(matches);
}
return arr;
};
isHTMLForm = kindOfTest("HTMLFormElement");
toCamelCase = (str) => {
return str.toLowerCase().replace(
/[_-\s]([a-z\d])(\w*)/g,
function replacer(m, p1, p2) {
return p1.toUpperCase() + p2;
}
);
};
hasOwnProperty = (({ hasOwnProperty: hasOwnProperty2 }) => (obj, prop) => hasOwnProperty2.call(obj, prop))(Object.prototype);
isRegExp = kindOfTest("RegExp");
reduceDescriptors = (obj, reducer) => {
const descriptors2 = Object.getOwnPropertyDescriptors(obj);
const reducedDescriptors = {};
forEach(descriptors2, (descriptor, name) => {
if (reducer(descriptor, name, obj) !== false) {
reducedDescriptors[name] = descriptor;
}
});
Object.defineProperties(obj, reducedDescriptors);
};
freezeMethods = (obj) => {
reduceDescriptors(obj, (descriptor, name) => {
if (isFunction(obj) && ["arguments", "caller", "callee"].indexOf(name) !== -1) {
return false;
}
const value = obj[name];
if (!isFunction(value))
return;
descriptor.enumerable = false;
if ("writable" in descriptor) {
descriptor.writable = false;
return;
}
if (!descriptor.set) {
descriptor.set = () => {
throw Error("Can not rewrite read-only method '" + name + "'");
};
}
});
};
toObjectSet = (arrayOrString, delimiter) => {
const obj = {};
const define = (arr) => {
arr.forEach((value) => {
obj[value] = true;
});
};
isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter));
return obj;
};
noop = () => {
};
toFiniteNumber = (value, defaultValue) => {
value = +value;
return Number.isFinite(value) ? value : defaultValue;
};
toJSONObject = (obj) => {
const stack = new Array(10);
const visit = (source, i) => {
if (isObject(source)) {
if (stack.indexOf(source) >= 0) {
return;
}
if (!("toJSON" in source)) {
stack[i] = source;
const target = isArray(source) ? [] : {};
forEach(source, (value, key) => {
const reducedValue = visit(value, i + 1);
!isUndefined(reducedValue) && (target[key] = reducedValue);
});
stack[i] = void 0;
return target;
}
}
return source;
};
return visit(obj, 0);
};
utils_default = {
isArray,
isArrayBuffer,
isBuffer,
isFormData,
isArrayBufferView,
isString,
isNumber,
isBoolean,
isObject,
isPlainObject,
isUndefined,
isDate,
isFile,
isBlob,
isRegExp,
isFunction,
isStream,
isURLSearchParams,
isTypedArray,
isFileList,
forEach,
merge,
extend,
trim,
stripBOM,
inherits,
toFlatObject,
kindOf,
kindOfTest,
endsWith,
toArray,
forEachEntry,
matchAll,
isHTMLForm,
hasOwnProperty,
hasOwnProp: hasOwnProperty,
reduceDescriptors,
freezeMethods,
toObjectSet,
toCamelCase,
noop,
toFiniteNumber,
findKey,
global: _global,
isContextDefined,
toJSONObject
};
}
});
// node_modules/axios/lib/core/AxiosError.js
function AxiosError(message, code, config, request, response) {
Error.call(this);
if (Error.captureStackTrace) {
Error.captureStackTrace(this, this.constructor);
} else {
this.stack = new Error().stack;
}
this.message = message;
this.name = "AxiosError";
code && (this.code = code);
config && (this.config = config);
request && (this.request = request);
response && (this.response = response);
}
var prototype, descriptors, AxiosError_default;
var init_AxiosError = __esm({
"node_modules/axios/lib/core/AxiosError.js"() {
"use strict";
init_utils();
utils_default.inherits(AxiosError, Error, {
toJSON: function toJSON() {
return {
message: this.message,
name: this.name,
description: this.description,
number: this.number,
fileName: this.fileName,
lineNumber: this.lineNumber,
columnNumber: this.columnNumber,
stack: this.stack,
config: utils_default.toJSONObject(this.config),
code: this.code,
status: this.response && this.response.status ? this.response.status : null
};
}
});
prototype = AxiosError.prototype;
descriptors = {};
[
"ERR_BAD_OPTION_VALUE",
"ERR_BAD_OPTION",
"ECONNABORTED",
"ETIMEDOUT",
"ERR_NETWORK",
"ERR_FR_TOO_MANY_REDIRECTS",
"ERR_DEPRECATED",
"ERR_BAD_RESPONSE",
"ERR_BAD_REQUEST",
"ERR_CANCELED",
"ERR_NOT_SUPPORT",
"ERR_INVALID_URL"
].forEach((code) => {
descriptors[code] = { value: code };
});
Object.defineProperties(AxiosError, descriptors);
Object.defineProperty(prototype, "isAxiosError", { value: true });
AxiosError.from = (error, code, config, request, response, customProps) => {
const axiosError = Object.create(prototype);
utils_default.toFlatObject(error, axiosError, function filter2(obj) {
return obj !== Error.prototype;
}, (prop) => {
return prop !== "isAxiosError";
});
AxiosError.call(axiosError, error.message, code, config, request, response);
axiosError.cause = error;
axiosError.name = error.name;
customProps && Object.assign(axiosError, customProps);
return axiosError;
};
AxiosError_default = AxiosError;
}
});
// node_modules/form-data/lib/browser.js
var require_browser = __commonJS({
"node_modules/form-data/lib/browser.js"(exports, module) {
module.exports = typeof self == "object" ? self.FormData : window.FormData;
}
});
// node_modules/axios/lib/env/classes/FormData.js
var import_form_data, FormData_default;
var init_FormData = __esm({
"node_modules/axios/lib/env/classes/FormData.js"() {
import_form_data = __toESM(require_browser(), 1);
FormData_default = import_form_data.default;
}
});
// node_modules/axios/lib/helpers/toFormData.js
function isVisitable(thing) {
return utils_default.isPlainObject(thing) || utils_default.isArray(thing);
}
function removeBrackets(key) {
return utils_default.endsWith(key, "[]") ? key.slice(0, -2) : key;
}
function renderKey(path, key, dots) {
if (!path)
return key;
return path.concat(key).map(function each(token, i) {
token = removeBrackets(token);
return !dots && i ? "[" + token + "]" : token;
}).join(dots ? "." : "");
}
function isFlatArray(arr) {
return utils_default.isArray(arr) && !arr.some(isVisitable);
}
function isSpecCompliant(thing) {
return thing && utils_default.isFunction(thing.append) && thing[Symbol.toStringTag] === "FormData" && thing[Symbol.iterator];
}
function toFormData(obj, formData, options) {
if (!utils_default.isObject(obj)) {
throw new TypeError("target must be an object");
}
formData = formData || new (FormData_default || FormData)();
options = utils_default.toFlatObject(options, {
metaTokens: true,
dots: false,
indexes: false
}, false, function defined(option, source) {
return !utils_default.isUndefined(source[option]);
});
const metaTokens = options.metaTokens;
const visitor = options.visitor || defaultVisitor;
const dots = options.dots;
const indexes = options.indexes;
const _Blob = options.Blob || typeof Blob !== "undefined" && Blob;
const useBlob = _Blob && isSpecCompliant(formData);
if (!utils_default.isFunction(visitor)) {
throw new TypeError("visitor must be a function");
}
function convertValue(value) {
if (value === null)
return "";
if (utils_default.isDate(value)) {
return value.toISOString();
}
if (!useBlob && utils_default.isBlob(value)) {
throw new AxiosError_default("Blob is not supported. Use a Buffer instead.");
}
if (utils_default.isArrayBuffer(value) || utils_default.isTypedArray(value)) {
return useBlob && typeof Blob === "function" ? new Blob([value]) : Buffer.from(value);
}
return value;
}
function defaultVisitor(value, key, path) {
let arr = value;
if (value && !path && typeof value === "object") {
if (utils_default.endsWith(key, "{}")) {
key = metaTokens ? key : key.slice(0, -2);
value = JSON.stringify(value);
} else if (utils_default.isArray(value) && isFlatArray(value) || (utils_default.isFileList(value) || utils_default.endsWith(key, "[]") && (arr = utils_default.toArray(value)))) {
key = removeBrackets(key);
arr.forEach(function each(el, index) {
!(utils_default.isUndefined(el) || el === null) && formData.append(
indexes === true ? renderKey([key], index, dots) : indexes === null ? key : key + "[]",
convertValue(el)
);
});
return false;
}
}
if (isVisitable(value)) {
return true;
}
formData.append(renderKey(path, key, dots), convertValue(value));
return false;
}
const stack = [];
const exposedHelpers = Object.assign(predicates, {
defaultVisitor,
convertValue,
isVisitable
});
function build(value, path) {
if (utils_default.isUndefined(value))
return;
if (stack.indexOf(value) !== -1) {
throw Error("Circular reference detected in " + path.join("."));
}
stack.push(value);
utils_default.forEach(value, function each(el, key) {
const result = !(utils_default.isUndefined(el) || el === null) && visitor.call(
formData,
el,
utils_default.isString(key) ? key.trim() : key,
path,
exposedHelpers
);
if (result === true) {
build(el, path ? path.concat(key) : [key]);
}
});
stack.pop();
}
if (!utils_default.isObject(obj)) {
throw new TypeError("data must be an object");
}
build(obj);
return formData;
}
var predicates, toFormData_default;
var init_toFormData = __esm({
"node_modules/axios/lib/helpers/toFormData.js"() {
"use strict";
init_utils();
init_AxiosError();
init_FormData();
predicates = utils_default.toFlatObject(utils_default, {}, null, function filter(prop) {
return /^is[A-Z]/.test(prop);
});
toFormData_default = toFormData;
}
});
// node_modules/axios/lib/helpers/AxiosURLSearchParams.js
function encode(str) {
const charMap = {
"!": "%21",
"'": "%27",
"(": "%28",
")": "%29",
"~": "%7E",
"%20": "+",
"%00": "\0"
};
return encodeURIComponent(str).replace(/[!'()~]|%20|%00/g, function replacer(match) {
return charMap[match];
});
}
function AxiosURLSearchParams(params, options) {
this._pairs = [];
params && toFormData_default(params, this, options);
}
var prototype2, AxiosURLSearchParams_default;
var init_AxiosURLSearchParams = __esm({
"node_modules/axios/lib/helpers/AxiosURLSearchParams.js"() {
"use strict";
init_toFormData();
prototype2 = AxiosURLSearchParams.prototype;
prototype2.append = function append(name, value) {
this._pairs.push([name, value]);
};
prototype2.toString = function toString2(encoder) {
const _encode = encoder ? function(value) {
return encoder.call(this, value, encode);
} : encode;
return this._pairs.map(function each(pair) {
return _encode(pair[0]) + "=" + _encode(pair[1]);
}, "").join("&");
};
AxiosURLSearchParams_default = AxiosURLSearchParams;
}
});
// node_modules/axios/lib/helpers/buildURL.js
function encode2(val) {
return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
}
function buildURL(url, params, options) {
if (!params) {
return url;
}
const _encode = options && options.encode || encode2;
const serializeFn = options && options.serialize;
let serializedParams;
if (serializeFn) {
serializedParams = serializeFn(params, options);
} else {
serializedParams = utils_default.isURLSearchParams(params) ? params.toString() : new AxiosURLSearchParams_default(params, options).toString(_encode);
}
if (serializedParams) {
const hashmarkIndex = url.indexOf("#");
if (hashmarkIndex !== -1) {
url = url.slice(0, hashmarkIndex);
}
url += (url.indexOf("?") === -1 ? "?" : "&") + serializedParams;
}
return url;
}
var init_buildURL = __esm({
"node_modules/axios/lib/helpers/buildURL.js"() {
"use strict";
init_utils();
init_AxiosURLSearchParams();
}
});
// node_modules/axios/lib/core/InterceptorManager.js
var InterceptorManager, InterceptorManager_default;
var init_InterceptorManager = __esm({
"node_modules/axios/lib/core/InterceptorManager.js"() {
"use strict";
init_utils();
InterceptorManager = class {
constructor() {
this.handlers = [];
}
use(fulfilled, rejected, options) {
this.handlers.push({
fulfilled,
rejected,
synchronous: options ? options.synchronous : false,
runWhen: options ? options.runWhen : null
});
return this.handlers.length - 1;
}
eject(id) {
if (this.handlers[id]) {
this.handlers[id] = null;
}
}
clear() {
if (this.handlers) {
this.handlers = [];
}
}
forEach(fn) {
utils_default.forEach(this.handlers, function forEachHandler(h) {
if (h !== null) {
fn(h);
}
});
}
};
InterceptorManager_default = InterceptorManager;
}
});
// node_modules/axios/lib/defaults/transitional.js
var transitional_default;
var init_transitional = __esm({
"node_modules/axios/lib/defaults/transitional.js"() {
"use strict";
transitional_default = {
silentJSONParsing: true,
forcedJSONParsing: true,
clarifyTimeoutError: false
};
}
});
// node_modules/axios/lib/platform/browser/classes/URLSearchParams.js
var URLSearchParams_default;
var init_URLSearchParams = __esm({
"node_modules/axios/lib/platform/browser/classes/URLSearchParams.js"() {
"use strict";
init_AxiosURLSearchParams();
URLSearchParams_default = typeof URLSearchParams !== "undefined" ? URLSearchParams : AxiosURLSearchParams_default;
}
});
// node_modules/axios/lib/platform/browser/classes/FormData.js
var FormData_default2;
var init_FormData2 = __esm({
"node_modules/axios/lib/platform/browser/classes/FormData.js"() {
"use strict";
FormData_default2 = FormData;
}
});
// node_modules/axios/lib/platform/browser/index.js
var isStandardBrowserEnv, isStandardBrowserWebWorkerEnv, browser_default;
var init_browser = __esm({
"node_modules/axios/lib/platform/browser/index.js"() {
init_URLSearchParams();
init_FormData2();
isStandardBrowserEnv = (() => {
let product;
if (typeof navigator !== "undefined" && ((product = navigator.product) === "ReactNative" || product === "NativeScript" || product === "NS")) {
return false;
}
return typeof window !== "undefined" && typeof document !== "undefined";
})();
isStandardBrowserWebWorkerEnv = (() => {
return typeof WorkerGlobalScope !== "undefined" && self instanceof WorkerGlobalScope && typeof self.importScripts === "function";
})();
browser_default = {
isBrowser: true,
classes: {
URLSearchParams: URLSearchParams_default,
FormData: FormData_default2,
Blob
},
isStandardBrowserEnv,
isStandardBrowserWebWorkerEnv,
protocols: ["http", "https", "file", "blob", "url", "data"]
};
}
});
// node_modules/axios/lib/platform/index.js
var init_platform = __esm({
"node_modules/axios/lib/platform/index.js"() {
init_browser();
}
});
// node_modules/axios/lib/helpers/toURLEncodedForm.js
function toURLEncodedForm(data, options) {
return toFormData_default(data, new browser_default.classes.URLSearchParams(), Object.assign({
visitor: function(value, key, path, helpers) {
if (browser_default.isNode && utils_default.isBuffer(value)) {
this.append(key, value.toString("base64"));
return false;
}
return helpers.defaultVisitor.apply(this, arguments);
}
}, options));
}
var init_toURLEncodedForm = __esm({
"node_modules/axios/lib/helpers/toURLEncodedForm.js"() {
"use strict";
init_utils();
init_toFormData();
init_platform();
}
});
// node_modules/axios/lib/helpers/formDataToJSON.js
function parsePropPath(name) {
return utils_default.matchAll(/\w+|\[(\w*)]/g, name).map((match) => {
return match[0] === "[]" ? "" : match[1] || match[0];
});
}
function arrayToObject(arr) {
const obj = {};
const keys = Object.keys(arr);
let i;
const len = keys.length;
let key;
for (i = 0; i < len; i++) {
key = keys[i];
obj[key] = arr[key];
}
return obj;
}
function formDataToJSON(formData) {
function buildPath(path, value, target, index) {
let name = path[index++];
const isNumericKey = Number.isFinite(+name);
const isLast = index >= path.length;
name = !name && utils_default.isArray(target) ? target.length : name;
if (isLast) {
if (utils_default.hasOwnProp(target, name)) {
target[name] = [target[name], value];
} else {
target[name] = value;
}
return !isNumericKey;
}
if (!target[name] || !utils_default.isObject(target[name])) {
target[name] = [];
}
const result = buildPath(path, value, target[name], index);
if (result && utils_default.isArray(target[name])) {
target[name] = arrayToObject(target[name]);
}
return !isNumericKey;
}
if (utils_default.isFormData(formData) && utils_default.isFunction(formData.entries)) {
const obj = {};
utils_default.forEachEntry(formData, (name, value) => {
buildPath(parsePropPath(name), value, obj, 0);
});
return obj;
}
return null;
}
var formDataToJSON_default;
var init_formDataToJSON = __esm({
"node_modules/axios/lib/helpers/formDataToJSON.js"() {
"use strict";
init_utils();
formDataToJSON_default = formDataToJSON;
}
});
// node_modules/axios/lib/defaults/index.js
function stringifySafely(rawValue, parser, encoder) {
if (utils_default.isString(rawValue)) {
try {
(parser || JSON.parse)(rawValue);
return utils_default.trim(rawValue);
} catch (e) {
if (e.name !== "SyntaxError") {
throw e;
}
}
}
return (encoder || JSON.stringify)(rawValue);
}
var DEFAULT_CONTENT_TYPE, defaults, defaults_default;
var init_defaults = __esm({
"node_modules/axios/lib/defaults/index.js"() {
"use strict";
init_utils();
init_AxiosError();
init_transitional();
init_toFormData();
init_toURLEncodedForm();
init_platform();
init_formDataToJSON();
DEFAULT_CONTENT_TYPE = {
"Content-Type": void 0
};
defaults = {
transitional: transitional_default,
adapter: ["xhr", "http"],
transformRequest: [function transformRequest(data, headers) {
const contentType = headers.getContentType() || "";
const hasJSONContentType = contentType.indexOf("application/json") > -1;
const isObjectPayload = utils_default.isObject(data);
if (isObjectPayload && utils_default.isHTMLForm(data)) {
data = new FormData(data);
}
const isFormData2 = utils_default.isFormData(data);
if (isFormData2) {
if (!hasJSONContentType) {
return data;
}
return hasJSONContentType ? JSON.stringify(formDataToJSON_default(data)) : data;
}
if (utils_default.isArrayBuffer(data) || utils_default.isBuffer(data) || utils_default.isStream(data) || utils_default.isFile(data) || utils_default.isBlob(data)) {
return data;
}
if (utils_default.isArrayBufferView(data)) {
return data.buffer;
}
if (utils_default.isURLSearchParams(data)) {
headers.setContentType("application/x-www-form-urlencoded;charset=utf-8", false);
return data.toString();
}
let isFileList2;
if (isObjectPayload) {
if (contentType.indexOf("application/x-www-form-urlencoded") > -1) {
return toURLEncodedForm(data, this.formSerializer).toString();
}
if ((isFileList2 = utils_default.isFileList(data)) || contentType.indexOf("multipart/form-data") > -1) {
const _FormData = this.env && this.env.FormData;
return toFormData_default(
isFileList2 ? { "files[]": data } : data,
_FormData && new _FormData(),
this.formSerializer
);
}
}
if (isObjectPayload || hasJSONContentType) {
headers.setContentType("application/json", false);
return stringifySafely(data);
}
return data;
}],
transformResponse: [function transformResponse(data) {
const transitional2 = this.transitional || defaults.transitional;
const forcedJSONParsing = transitional2 && transitional2.forcedJSONParsing;
const JSONRequested = this.responseType === "json";
if (data && utils_default.isString(data) && (forcedJSONParsing && !this.responseType || JSONRequested)) {
const silentJSONParsing = transitional2 && transitional2.silentJSONParsing;
const strictJSONParsing = !silentJSONParsing && JSONRequested;
try {
return JSON.parse(data);
} catch (e) {
if (strictJSONParsing) {
if (e.name === "SyntaxError") {
throw AxiosError_default.from(e, AxiosError_default.ERR_BAD_RESPONSE, this, null, this.response);
}
throw e;
}
}
}
return data;
}],
timeout: 0,
xsrfCookieName: "XSRF-TOKEN",
xsrfHeaderName: "X-XSRF-TOKEN",
maxContentLength: -1,
maxBodyLength: -1,
env: {
FormData: browser_default.classes.FormData,
Blob: browser_default.classes.Blob
},
validateStatus: function validateStatus(status) {
return status >= 200 && status < 300;
},
headers: {
common: {
"Accept": "application/json, text/plain, */*"
}
}
};
utils_default.forEach(["delete", "get", "head"], function forEachMethodNoData(method) {
defaults.headers[method] = {};
});
utils_default.forEach(["post", "put", "patch"], function forEachMethodWithData(method) {
defaults.headers[method] = utils_default.merge(DEFAULT_CONTENT_TYPE);
});
defaults_default = defaults;
}
});
// node_modules/axios/lib/helpers/parseHeaders.js
var ignoreDuplicateOf, parseHeaders_default;
var init_parseHeaders = __esm({
"node_modules/axios/lib/helpers/parseHeaders.js"() {
"use strict";
init_utils();
ignoreDuplicateOf = utils_default.toObjectSet([
"age",
"authorization",
"content-length",
"content-type",
"etag",
"expires",
"from",
"host",
"if-modified-since",
"if-unmodified-since",
"last-modified",
"location",
"max-forwards",
"proxy-authorization",
"referer",
"retry-after",
"user-agent"
]);
parseHeaders_default = (rawHeaders) => {
const parsed = {};
let key;
let val;
let i;
rawHeaders && rawHeaders.split("\n").forEach(function parser(line) {
i = line.indexOf(":");
key = line.substring(0, i).trim().toLowerCase();
val = line.substring(i + 1).trim();
if (!key || parsed[key] && ignoreDuplicateOf[key]) {
return;
}
if (key === "set-cookie") {
if (parsed[key]) {
parsed[key].push(val);
} else {
parsed[key] = [val];
}
} else {
parsed[key] = parsed[key] ? parsed[key] + ", " + val : val;
}
});
return parsed;
};
}
});
// node_modules/axios/lib/core/AxiosHeaders.js
function normalizeHeader(header) {
return header && String(header).trim().toLowerCase();
}
function normalizeValue(value) {
if (value === false || value == null) {
return value;
}
return utils_default.isArray(value) ? value.map(normalizeValue) : String(value);
}
function parseTokens(str) {
const tokens = /* @__PURE__ */ Object.create(null);
const tokensRE = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
let match;
while (match = tokensRE.exec(str)) {
tokens[match[1]] = match[2];
}
return tokens;
}
function isValidHeaderName(str) {
return /^[-_a-zA-Z]+$/.test(str.trim());
}
function matchHeaderValue(context, value, header, filter2) {
if (utils_default.isFunction(filter2)) {
return filter2.call(this, value, header);
}
if (!utils_default.isString(value))
return;
if (utils_default.isString(filter2)) {
return value.indexOf(filter2) !== -1;
}
if (utils_default.isRegExp(filter2)) {
return filter2.test(value);
}
}
function formatHeader(header) {
return header.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (w, char, str) => {
return char.toUpperCase() + str;
});
}
function buildAccessors(obj, header) {
const accessorName = utils_default.toCamelCase(" " + header);
["get", "set", "has"].forEach((methodName) => {
Object.defineProperty(obj, methodName + accessorName, {
value: function(arg1, arg2, arg3) {
return this[methodName].call(this, header, arg1, arg2, arg3);
},
configurable: true
});
});
}
var $internals, AxiosHeaders, AxiosHeaders_default;
var init_AxiosHeaders = __esm({
"node_modules/axios/lib/core/AxiosHeaders.js"() {
"use strict";
init_utils();
init_parseHeaders();
$internals = Symbol("internals");
AxiosHeaders = class {
constructor(headers) {
headers && this.set(headers);
}
set(header, valueOrRewrite, rewrite) {
const self2 = this;
function setHeader(_value, _header, _rewrite) {
const lHeader = normalizeHeader(_header);
if (!lHeader) {
throw new Error("header name must be a non-empty string");
}
const key = utils_default.findKey(self2, lHeader);
if (!key || self2[key] === void 0 || _rewrite === true || _rewrite === void 0 && self2[key] !== false) {
self2[key || _header] = normalizeValue(_value);
}
}
const setHeaders = (headers, _rewrite) => utils_default.forEach(headers, (_value, _header) => setHeader(_value, _header, _rewrite));
if (utils_default.isPlainObject(header) || header instanceof this.constructor) {
setHeaders(header, valueOrRewrite);
} else if (utils_default.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
setHeaders(parseHeaders_default(header), valueOrRewrite);
} else {
header != null && setHeader(valueOrRewrite, header, rewrite);
}
return this;
}
get(header, parser) {
header = normalizeHeader(header);
if (header) {
const key = utils_default.findKey(this, header);
if (key) {
const value = this[key];
if (!parser) {
return value;
}
if (parser === true) {
return parseTokens(value);
}
if (utils_default.isFunction(parser)) {
return parser.call(this, value, key);
}
if (utils_default.isRegExp(parser)) {
return parser.exec(value);
}
throw new TypeError("parser must be boolean|regexp|function");
}
}
}
has(header, matcher) {
header = normalizeHeader(header);
if (header) {
const key = utils_default.findKey(this, header);
return !!(key && (!matcher || matchHeaderValue(this, this[key], key, matcher)));
}
return false;
}
delete(header, matcher) {
const self2 = this;
let deleted = false;
function deleteHeader(_header) {
_header = normalizeHeader(_header);
if (_header) {
const key = utils_default.findKey(self2, _header);
if (key && (!matcher || matchHeaderValue(self2, self2[key], key, matcher))) {
delete self2[key];
deleted = true;
}
}
}
if (utils_default.isArray(header)) {
header.forEach(deleteHeader);
} else {
deleteHeader(header);
}
return deleted;
}
clear() {
return Object.keys(this).forEach(this.delete.bind(this));
}
normalize(format) {
const self2 = this;
const headers = {};
utils_default.forEach(this, (value, header) => {
const key = utils_default.findKey(headers, header);
if (key) {
self2[key] = normalizeValue(value);
delete self2[header];
return;
}
const normalized = format ? formatHeader(header) : String(header).trim();
if (normalized !== header) {
delete self2[header];
}
self2[normalized] = normalizeValue(value);
headers[normalized] = true;
});
return this;
}
concat(...targets) {
return this.constructor.concat(this, ...targets);
}
toJSON(asStrings) {
const obj = /* @__PURE__ */ Object.create(null);
utils_default.forEach(this, (value, header) => {
value != null && value !== false && (obj[header] = asStrings && utils_default.isArray(value) ? value.join(", ") : value);
});
return obj;
}
[Symbol.iterator]() {
return Object.entries(this.toJSON())[Symbol.iterator]();
}
toString() {
return Object.entries(this.toJSON()).map(([header, value]) => header + ": " + value).join("\n");
}
get [Symbol.toStringTag]() {
return "AxiosHeaders";
}
static from(thing) {
return thing instanceof this ? thing : new this(thing);
}
static concat(first, ...targets) {
const computed = new this(first);
targets.forEach((target) => computed.set(target));
return computed;
}
static accessor(header) {
const internals = this[$internals] = this[$internals] = {
accessors: {}
};
const accessors = internals.accessors;
const prototype3 = this.prototype;
function defineAccessor(_header) {
const lHeader = normalizeHeader(_header);
if (!accessors[lHeader]) {
buildAccessors(prototype3, _header);
accessors[lHeader] = true;
}
}
utils_default.isArray(header) ? header.forEach(defineAccessor) : defineAccessor(header);
return this;
}
};
AxiosHeaders.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent"]);
utils_default.freezeMethods(AxiosHeaders.prototype);
utils_default.freezeMethods(AxiosHeaders);
AxiosHeaders_default = AxiosHeaders;
}
});
// node_modules/axios/lib/core/transformData.js
function transformData(fns, response) {
const config = this || defaults_default;
const context = response || config;
const headers = AxiosHeaders_default.from(context.headers);
let data = context.data;
utils_default.forEach(fns, function transform(fn) {
data = fn.call(config, data, headers.normalize(), response ? response.status : void 0);
});
headers.normalize();
return data;
}
var init_transformData = __esm({
"node_modules/axios/lib/core/transformData.js"() {
"use strict";
init_utils();
init_defaults();
init_AxiosHeaders();
}
});
// node_modules/axios/lib/cancel/isCancel.js
function isCancel(value) {
return !!(value && value.__CANCEL__);
}
var init_isCancel = __esm({
"node_modules/axios/lib/cancel/isCancel.js"() {
"use strict";
}
});
// node_modules/axios/lib/cancel/CanceledError.js
function CanceledError(message, config, request) {
AxiosError_default.call(this, message == null ? "canceled" : message, AxiosError_default.ERR_CANCELED, config, request);
this.name = "CanceledError";
}
var CanceledError_default;
var init_CanceledError = __esm({
"node_modules/axios/lib/cancel/CanceledError.js"() {
"use strict";
init_AxiosError();
init_utils();
utils_default.inherits(CanceledError, AxiosError_default, {
__CANCEL__: true
});
CanceledError_default = CanceledError;
}
});
// node_modules/axios/lib/helpers/null.js
var null_default;
var init_null = __esm({
"node_modules/axios/lib/helpers/null.js"() {
null_default = null;
}
});
// node_modules/axios/lib/core/settle.js
function settle(resolve, reject, response) {
const validateStatus2 = response.config.validateStatus;
if (!response.status || !validateStatus2 || validateStatus2(response.status)) {
resolve(response);
} else {
reject(new AxiosError_default(
"Request failed with status code " + response.status,
[AxiosError_default.ERR_BAD_REQUEST, AxiosError_default.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4],
response.config,
response.request,
response
));
}
}
var init_settle = __esm({
"node_modules/axios/lib/core/settle.js"() {
"use strict";
init_AxiosError();
}
});
// node_modules/axios/lib/helpers/cookies.js
var cookies_default;
var init_cookies = __esm({
"node_modules/axios/lib/helpers/cookies.js"() {
"use strict";
init_utils();
init_platform();
cookies_default = browser_default.isStandardBrowserEnv ? function standardBrowserEnv() {
return {
write: function write(name, value, expires, path, domain, secure) {
const cookie = [];
cookie.push(name + "=" + encodeURIComponent(value));
if (utils_default.isNumber(expires)) {
cookie.push("expires=" + new Date(expires).toGMTString());
}
if (utils_default.isString(path)) {
cookie.push("path=" + path);
}
if (utils_default.isString(domain)) {
cookie.push("domain=" + domain);
}
if (secure === true) {
cookie.push("secure");
}
document.cookie = cookie.join("; ");
},
read: function read(name) {
const match = document.cookie.match(new RegExp("(^|;\\s*)(" + name + ")=([^;]*)"));
return match ? decodeURIComponent(match[3]) : null;
},
remove: function remove(name) {
this.write(name, "", Date.now() - 864e5);
}
};
}() : function nonStandardBrowserEnv() {
return {
write: function write() {
},
read: function read() {
return null;
},
remove: function remove() {
}
};
}();
}
});
// node_modules/axios/lib/helpers/isAbsoluteURL.js
function isAbsoluteURL(url) {
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);
}
var init_isAbsoluteURL = __esm({
"node_modules/axios/lib/helpers/isAbsoluteURL.js"() {
"use strict";
}
});
// node_modules/axios/lib/helpers/combineURLs.js
function combineURLs(baseURL, relativeURL) {
return relativeURL ? baseURL.replace(/\/+$/, "") + "/" + relativeURL.replace(/^\/+/, "") : baseURL;
}
var init_combineURLs = __esm({
"node_modules/axios/lib/helpers/combineURLs.js"() {
"use strict";
}
});
// node_modules/axios/lib/core/buildFullPath.js
function buildFullPath(baseURL, requestedURL) {
if (baseURL && !isAbsoluteURL(requestedURL)) {
return combineURLs(baseURL, requestedURL);
}
return requestedURL;
}
var init_buildFullPath = __esm({
"node_modules/axios/lib/core/buildFullPath.js"() {
"use strict";
init_isAbsoluteURL();
init_combineURLs();
}
});
// node_modules/axios/lib/helpers/isURLSameOrigin.js
var isURLSameOrigin_default;
var init_isURLSameOrigin = __esm({
"node_modules/axios/lib/helpers/isURLSameOrigin.js"() {
"use strict";
init_utils();
init_platform();
isURLSameOrigin_default = browser_default.isStandardBrowserEnv ? function standardBrowserEnv2() {
const msie = /(msie|trident)/i.test(navigator.userAgent);
const urlParsingNode = document.createElement("a");
let originURL;
function resolveURL(url) {
let href = url;
if (msie) {
urlParsingNode.setAttribute("href", href);
href = urlParsingNode.href;
}
urlParsingNode.setAttribute("href", href);
return {
href: urlParsingNode.href,
protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, "") : "",
host: urlParsingNode.host,
search: urlParsingNode.search ? urlParsingNode.search.replace(/^\?/, "") : "",
hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, "") : "",
hostname: urlParsingNode.hostname,
port: urlParsingNode.port,
pathname: urlParsingNode.pathname.charAt(0) === "/" ? urlParsingNode.pathname : "/" + urlParsingNode.pathname
};
}
originURL = resolveURL(window.location.href);
return function isURLSameOrigin(requestURL) {
const parsed = utils_default.isString(requestURL) ? resolveURL(requestURL) : requestURL;
return parsed.protocol === originURL.protocol && parsed.host === originURL.host;
};
}() : function nonStandardBrowserEnv2() {
return function isURLSameOrigin() {
return true;
};
}();
}
});
// node_modules/axios/lib/helpers/parseProtocol.js
function parseProtocol(url) {
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
return match && match[1] || "";
}
var init_parseProtocol = __esm({
"node_modules/axios/lib/helpers/parseProtocol.js"() {
"use strict";
}
});
// node_modules/axios/lib/helpers/speedometer.js
function speedometer(samplesCount, min) {
samplesCount = samplesCount || 10;
const bytes = new Array(samplesCount);
const timestamps = new Array(samplesCount);
let head = 0;
let tail = 0;
let firstSampleTS;
min = min !== void 0 ? min : 1e3;
return function push(chunkLength) {
const now = Date.now();
const startedAt = timestamps[tail];
if (!firstSampleTS) {
firstSampleTS = now;
}
bytes[head] = chunkLength;
timestamps[head] = now;
let i = tail;
let bytesCount = 0;
while (i !== head) {
bytesCount += bytes[i++];
i = i % samplesCount;
}
head = (head + 1) % samplesCount;
if (head === tail) {
tail = (tail + 1) % samplesCount;
}
if (now - firstSampleTS < min) {
return;
}
const passed = startedAt && now - startedAt;
return passed ? Math.round(bytesCount * 1e3 / passed) : void 0;
};
}
var speedometer_default;
var init_speedometer = __esm({
"node_modules/axios/lib/helpers/speedometer.js"() {
"use strict";
speedometer_default = speedometer;
}
});
// node_modules/axios/lib/adapters/xhr.js
function progressEventReducer(listener, isDownloadStream) {
let bytesNotified = 0;
const _speedometer = speedometer_default(50, 250);
return (e) => {
const loaded = e.loaded;
const total = e.lengthComputable ? e.total : void 0;
const progressBytes = loaded - bytesNotified;
const rate = _speedometer(progressBytes);
const inRange = loaded <= total;
bytesNotified = loaded;
const data = {
loaded,
total,
progress: total ? loaded / total : void 0,
bytes: progressBytes,
rate: rate ? rate : void 0,
estimated: rate && total && inRange ? (total - loaded) / rate : void 0,
event: e
};
data[isDownloadStream ? "download" : "upload"] = true;
listener(data);
};
}
var isXHRAdapterSupported, xhr_default;
var init_xhr = __esm({
"node_modules/axios/lib/adapters/xhr.js"() {
"use strict";
init_utils();
init_settle();
init_cookies();
init_buildURL();
init_buildFullPath();
init_isURLSameOrigin();
init_transitional();
init_AxiosError();
init_CanceledError();
init_parseProtocol();
init_platform();
init_AxiosHeaders();
init_speedometer();
isXHRAdapterSupported = typeof XMLHttpRequest !== "undefined";
xhr_default = isXHRAdapterSupported && function(config) {
return new Promise(function dispatchXhrRequest(resolve, reject) {
let requestData = config.data;
const requestHeaders = AxiosHeaders_default.from(config.headers).normalize();
const responseType = config.responseType;
let onCanceled;
function done() {
if (config.cancelToken) {
config.cancelToken.unsubscribe(onCanceled);
}
if (config.signal) {
config.signal.removeEventListener("abort", onCanceled);
}
}
if (utils_default.isFormData(requestData) && (browser_default.isStandardBrowserEnv || browser_default.isStandardBrowserWebWorkerEnv)) {
requestHeaders.setContentType(false);
}
let request = new XMLHttpRequest();
if (config.auth) {
const username = config.auth.username || "";
const password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : "";
requestHeaders.set("Authorization", "Basic " + btoa(username + ":" + password));
}
const fullPath = buildFullPath(config.baseURL, config.url);
request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true);
request.timeout = config.timeout;
function onloadend() {
if (!request) {
return;
}
const responseHeaders = AxiosHeaders_default.from(
"getAllResponseHeaders" in request && request.getAllResponseHeaders()
);
const responseData = !responseType || responseType === "text" || responseType === "json" ? request.responseText : request.response;
const response = {
data: responseData,
status: request.status,
statusText: request.statusText,
headers: responseHeaders,
config,
request
};
settle(function _resolve(value) {
resolve(value);
done();
}, function _reject(err) {
reject(err);
done();
}, response);
request = null;
}
if ("onloadend" in request) {
request.onloadend = onloadend;
} else {
request.onreadystatechange = function handleLoad() {
if (!request || request.readyState !== 4) {
return;
}
if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf("file:") === 0)) {
return;
}
setTimeout(onloadend);
};
}
request.onabort = function handleAbort() {
if (!request) {
return;
}
reject(new AxiosError_default("Request aborted", AxiosError_default.ECONNABORTED, config, request));
request = null;
};
request.onerror = function handleError() {
reject(new AxiosError_default("Network Error", AxiosError_default.ERR_NETWORK, config, request));
request = null;
};
request.ontimeout = function handleTimeout() {
let timeoutErrorMessage = config.timeout ? "timeout of " + config.timeout + "ms exceeded" : "timeout exceeded";
const transitional2 = config.transitional || transitional_default;
if (config.timeoutErrorMessage) {
timeoutErrorMessage = config.timeoutErrorMessage;
}
reject(new AxiosError_default(
timeoutErrorMessage,
transitional2.clarifyTimeoutError ? AxiosError_default.ETIMEDOUT : AxiosError_default.ECONNABORTED,
config,
request
));
request = null;
};
if (browser_default.isStandardBrowserEnv) {
const xsrfValue = (config.withCredentials || isURLSameOrigin_default(fullPath)) && config.xsrfCookieName && cookies_default.read(config.xsrfCookieName);
if (xsrfValue) {
requestHeaders.set(config.xsrfHeaderName, xsrfValue);
}
}
requestData === void 0 && requestHeaders.setContentType(null);
if ("setRequestHeader" in request) {
utils_default.forEach(requestHeaders.toJSON(), function setRequestHeader(val, key) {
request.setRequestHeader(key, val);
});
}
if (!utils_default.isUndefined(config.withCredentials)) {
request.withCredentials = !!config.withCredentials;
}
if (responseType && responseType !== "json") {
request.responseType = config.responseType;
}
if (typeof config.onDownloadProgress === "function") {
request.addEventListener("progress", progressEventReducer(config.onDownloadProgress, true));
}
if (typeof config.onUploadProgress === "function" && request.upload) {
request.upload.addEventListener("progress", progressEventReducer(config.onUploadProgress));
}
if (config.cancelToken || config.signal) {
onCanceled = (cancel) => {
if (!request) {
return;
}
reject(!cancel || cancel.type ? new CanceledError_default(null, config, request) : cancel);
request.abort();
request = null;
};
config.cancelToken && config.cancelToken.subscribe(onCanceled);
if (config.signal) {
config.signal.aborted ? onCanceled() : config.signal.addEventListener("abort", onCanceled);
}
}
const protocol = parseProtocol(fullPath);
if (protocol && browser_default.protocols.indexOf(protocol) === -1) {
reject(new AxiosError_default("Unsupported protocol " + protocol + ":", AxiosError_default.ERR_BAD_REQUEST, config));
return;
}
request.send(requestData || null);
});
};
}
});
// node_modules/axios/lib/adapters/adapters.js
var knownAdapters, adapters_default;
var init_adapters = __esm({
"node_modules/axios/lib/adapters/adapters.js"() {
init_utils();
init_null();
init_xhr();
init_AxiosError();
knownAdapters = {
http: null_default,
xhr: xhr_default
};
utils_default.forEach(knownAdapters, (fn, value) => {
if (fn) {
try {
Object.defineProperty(fn, "name", { value });
} catch (e) {
}
Object.defineProperty(fn, "adapterName", { value });
}
});
adapters_default = {
getAdapter: (adapters) => {
adapters = utils_default.isArray(adapters) ? adapters : [adapters];
const { length } = adapters;
let nameOrAdapter;
let adapter;
for (let i = 0; i < length; i++) {
nameOrAdapter = adapters[i];
if (adapter = utils_default.isString(nameOrAdapter) ? knownAdapters[nameOrAdapter.toLowerCase()] : nameOrAdapter) {
break;
}
}
if (!adapter) {
if (adapter === false) {
throw new AxiosError_default(
`Adapter ${nameOrAdapter} is not supported by the environment`,
"ERR_NOT_SUPPORT"
);
}
throw new Error(
utils_default.hasOwnProp(knownAdapters, nameOrAdapter) ? `Adapter '${nameOrAdapter}' is not available in the build` : `Unknown adapter '${nameOrAdapter}'`
);
}
if (!utils_default.isFunction(adapter)) {
throw new TypeError("adapter is not a function");
}
return adapter;
},
adapters: knownAdapters
};
}
});
// node_modules/axios/lib/core/dispatchRequest.js
function throwIfCancellationRequested(config) {
if (config.cancelToken) {
config.cancelToken.throwIfRequested();
}
if (config.signal && config.signal.aborted) {
throw new CanceledError_default(null, config);
}
}
function dispatchRequest(config) {
throwIfCancellationRequested(config);
config.headers = AxiosHeaders_default.from(config.headers);
config.data = transformData.call(
config,
config.transformRequest
);
if (["post", "put", "patch"].indexOf(config.method) !== -1) {
config.headers.setContentType("application/x-www-form-urlencoded", false);
}
const adapter = adapters_default.getAdapter(config.adapter || defaults_default.adapter);
return adapter(config).then(function onAdapterResolution(response) {
throwIfCancellationRequested(config);
response.data = transformData.call(
config,
config.transformResponse,
response
);
response.headers = AxiosHeaders_default.from(response.headers);
return response;
}, function onAdapterRejection(reason) {
if (!isCancel(reason)) {
throwIfCancellationRequested(config);
if (reason && reason.response) {
reason.response.data = transformData.call(
config,
config.transformResponse,
reason.response
);
reason.response.headers = AxiosHeaders_default.from(reason.response.headers);
}
}
return Promise.reject(reason);
});
}
var init_dispatchRequest = __esm({
"node_modules/axios/lib/core/dispatchRequest.js"() {
"use strict";
init_transformData();
init_isCancel();
init_defaults();
init_CanceledError();
init_AxiosHeaders();
init_adapters();
}
});
// node_modules/axios/lib/core/mergeConfig.js
function mergeConfig(config1, config2) {
config2 = config2 || {};
const config = {};
function getMergedValue(target, source, caseless) {
if (utils_default.isPlainObject(target) && utils_default.isPlainObject(source)) {
return utils_default.merge.call({ caseless }, target, source);
} else if (utils_default.isPlainObject(source)) {
return utils_default.merge({}, source);
} else if (utils_default.isArray(source)) {
return source.slice();
}
return source;
}
function mergeDeepProperties(a, b, caseless) {
if (!utils_default.isUndefined(b)) {
return getMergedValue(a, b, caseless);
} else if (!utils_default.isUndefined(a)) {
return getMergedValue(void 0, a, caseless);
}
}
function valueFromConfig2(a, b) {
if (!utils_default.isUndefined(b)) {
return getMergedValue(void 0, b);
}
}
function defaultToConfig2(a, b) {
if (!utils_default.isUndefined(b)) {
return getMergedValue(void 0, b);
} else if (!utils_default.isUndefined(a)) {
return getMergedValue(void 0, a);
}
}
function mergeDirectKeys(a, b, prop) {
if (prop in config2) {
return getMergedValue(a, b);
} else if (prop in config1) {
return getMergedValue(void 0, a);
}
}
const mergeMap = {
url: valueFromConfig2,
method: valueFromConfig2,
data: valueFromConfig2,
baseURL: defaultToConfig2,
transformRequest: defaultToConfig2,
transformResponse: defaultToConfig2,
paramsSerializer: defaultToConfig2,
timeout: defaultToConfig2,
timeoutMessage: defaultToConfig2,
withCredentials: defaultToConfig2,
adapter: defaultToConfig2,
responseType: defaultToConfig2,
xsrfCookieName: defaultToConfig2,
xsrfHeaderName: defaultToConfig2,
onUploadProgress: defaultToConfig2,
onDownloadProgress: defaultToConfig2,
decompress: defaultToConfig2,
maxContentLength: defaultToConfig2,
maxBodyLength: defaultToConfig2,
beforeRedirect: defaultToConfig2,
transport: defaultToConfig2,
httpAgent: defaultToConfig2,
httpsAgent: defaultToConfig2,
cancelToken: defaultToConfig2,
socketPath: defaultToConfig2,
responseEncoding: defaultToConfig2,
validateStatus: mergeDirectKeys,
headers: (a, b) => mergeDeepProperties(headersToObject(a), headersToObject(b), true)
};
utils_default.forEach(Object.keys(config1).concat(Object.keys(config2)), function computeConfigValue(prop) {
const merge2 = mergeMap[prop] || mergeDeepProperties;
const configValue = merge2(config1[prop], config2[prop], prop);
utils_default.isUndefined(configValue) && merge2 !== mergeDirectKeys || (config[prop] = configValue);
});
return config;
}
var headersToObject;
var init_mergeConfig = __esm({
"node_modules/axios/lib/core/mergeConfig.js"() {
"use strict";
init_utils();
init_AxiosHeaders();
headersToObject = (thing) => thing instanceof AxiosHeaders_default ? thing.toJSON() : thing;
}
});
// node_modules/axios/lib/env/data.js
var VERSION;
var init_data = __esm({
"node_modules/axios/lib/env/data.js"() {
VERSION = "1.2.1";
}
});
// node_modules/axios/lib/helpers/validator.js
function assertOptions(options, schema, allowUnknown) {
if (typeof options !== "object") {
throw new AxiosError_default("options must be an object", AxiosError_default.ERR_BAD_OPTION_VALUE);
}
const keys = Object.keys(options);
let i = keys.length;
while (i-- > 0) {
const opt = keys[i];
const validator = schema[opt];
if (validator) {
const value = options[opt];
const result = value === void 0 || validator(value, opt, options);
if (result !== true) {
throw new AxiosError_default("option " + opt + " must be " + result, AxiosError_default.ERR_BAD_OPTION_VALUE);
}
continue;
}
if (allowUnknown !== true) {
throw new AxiosError_default("Unknown option " + opt, AxiosError_default.ERR_BAD_OPTION);
}
}
}
var validators, deprecatedWarnings, validator_default;
var init_validator = __esm({
"node_modules/axios/lib/helpers/validator.js"() {
"use strict";
init_data();
init_AxiosError();
validators = {};
["object", "boolean", "number", "function", "string", "symbol"].forEach((type, i) => {
validators[type] = function validator(thing) {
return typeof thing === type || "a" + (i < 1 ? "n " : " ") + type;
};
});
deprecatedWarnings = {};
validators.transitional = function transitional(validator, version, message) {
function formatMessage(opt, desc) {
return "[Axios v" + VERSION + "] Transitional option '" + opt + "'" + desc + (message ? ". " + message : "");
}
return (value, opt, opts) => {
if (validator === false) {
throw new AxiosError_default(
formatMessage(opt, " has been removed" + (version ? " in " + version : "")),
AxiosError_default.ERR_DEPRECATED
);
}
if (version && !deprecatedWarnings[opt]) {
deprecatedWarnings[opt] = true;
console.warn(
formatMessage(
opt,
" has been deprecated since v" + version + " and will be removed in the near future"
)
);
}
return validator ? validator(value, opt, opts) : true;
};
};
validator_default = {
assertOptions,
validators
};
}
});
// node_modules/axios/lib/core/Axios.js
var validators2, Axios, Axios_default;
var init_Axios = __esm({
"node_modules/axios/lib/core/Axios.js"() {
"use strict";
init_utils();
init_buildURL();
init_InterceptorManager();
init_dispatchRequest();
init_mergeConfig();
init_buildFullPath();
init_validator();
init_AxiosHeaders();
validators2 = validator_default.validators;
Axios = class {
constructor(instanceConfig) {
this.defaults = instanceConfig;
this.interceptors = {
request: new InterceptorManager_default(),
response: new InterceptorManager_default()
};
}
request(configOrUrl, config) {
if (typeof configOrUrl === "string") {
config = config || {};
config.url = configOrUrl;
} else {
config = configOrUrl || {};
}
config = mergeConfig(this.defaults, config);
const { transitional: transitional2, paramsSerializer, headers } = config;
if (transitional2 !== void 0) {
validator_default.assertOptions(transitional2, {
silentJSONParsing: validators2.transitional(validators2.boolean),
forcedJSONParsing: validators2.transitional(validators2.boolean),
clarifyTimeoutError: validators2.transitional(validators2.boolean)
}, false);
}
if (paramsSerializer !== void 0) {
validator_default.assertOptions(paramsSerializer, {
encode: validators2.function,
serialize: validators2.function
}, true);
}
config.method = (config.method || this.defaults.method || "get").toLowerCase();
let contextHeaders;
contextHeaders = headers && utils_default.merge(
headers.common,
headers[config.method]
);
contextHeaders && utils_default.forEach(
["delete", "get", "head", "post", "put", "patch", "common"],
(method) => {
delete headers[method];
}
);
config.headers = AxiosHeaders_default.concat(contextHeaders, headers);
const requestInterceptorChain = [];
let synchronousRequestInterceptors = true;
this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {
if (typeof interceptor.runWhen === "function" && interceptor.runWhen(config) === false) {
return;
}
synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;
requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);
});
const responseInterceptorChain = [];
this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {
responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);
});
let promise;
let i = 0;
let len;
if (!synchronousRequestInterceptors) {
const chain = [dispatchRequest.bind(this), void 0];
chain.unshift.apply(chain, requestInterceptorChain);
chain.push.apply(chain, responseInterceptorChain);
len = chain.length;
promise = Promise.resolve(config);
while (i < len) {
promise = promise.then(chain[i++], chain[i++]);
}
return promise;
}
len = requestInterceptorChain.length;
let newConfig = config;
i = 0;
while (i < len) {
const onFulfilled = requestInterceptorChain[i++];
const onRejected = requestInterceptorChain[i++];
try {
newConfig = onFulfilled(newConfig);
} catch (error) {
onRejected.call(this, error);
break;
}
}
try {
promise = dispatchRequest.call(this, newConfig);
} catch (error) {
return Promise.reject(error);
}
i = 0;
len = responseInterceptorChain.length;
while (i < len) {
promise = promise.then(responseInterceptorChain[i++], responseInterceptorChain[i++]);
}
return promise;
}
getUri(config) {
config = mergeConfig(this.defaults, config);
const fullPath = buildFullPath(config.baseURL, config.url);
return buildURL(fullPath, config.params, config.paramsSerializer);
}
};
utils_default.forEach(["delete", "get", "head", "options"], function forEachMethodNoData2(method) {
Axios.prototype[method] = function(url, config) {
return this.request(mergeConfig(config || {}, {
method,
url,
data: (config || {}).data
}));
};
});
utils_default.forEach(["post", "put", "patch"], function forEachMethodWithData2(method) {
function generateHTTPMethod(isForm) {
return function httpMethod(url, data, config) {
return this.request(mergeConfig(config || {}, {
method,
headers: isForm ? {
"Content-Type": "multipart/form-data"
} : {},
url,
data
}));
};
}
Axios.prototype[method] = generateHTTPMethod();
Axios.prototype[method + "Form"] = generateHTTPMethod(true);
});
Axios_default = Axios;
}
});
// node_modules/axios/lib/cancel/CancelToken.js
var CancelToken, CancelToken_default;
var init_CancelToken = __esm({
"node_modules/axios/lib/cancel/CancelToken.js"() {
"use strict";
init_CanceledError();
CancelToken = class {
constructor(executor) {
if (typeof executor !== "function") {
throw new TypeError("executor must be a function.");
}
let resolvePromise;
this.promise = new Promise(function promiseExecutor(resolve) {
resolvePromise = resolve;
});
const token = this;
this.promise.then((cancel) => {
if (!token._listeners)
return;
let i = token._listeners.length;
while (i-- > 0) {
token._listeners[i](cancel);
}
token._listeners = null;
});
this.promise.then = (onfulfilled) => {
let _resolve;
const promise = new Promise((resolve) => {
token.subscribe(resolve);
_resolve = resolve;
}).then(onfulfilled);
promise.cancel = function reject() {
token.unsubscribe(_resolve);
};
return promise;
};
executor(function cancel(message, config, request) {
if (token.reason) {
return;
}
token.reason = new CanceledError_default(message, config, request);
resolvePromise(token.reason);
});
}
throwIfRequested() {
if (this.reason) {
throw this.reason;
}
}
subscribe(listener) {
if (this.reason) {
listener(this.reason);
return;
}
if (this._listeners) {
this._listeners.push(listener);
} else {
this._listeners = [listener];
}
}
unsubscribe(listener) {
if (!this._listeners) {
return;
}
const index = this._listeners.indexOf(listener);
if (index !== -1) {
this._listeners.splice(index, 1);
}
}
static source() {
let cancel;
const token = new CancelToken(function executor(c) {
cancel = c;
});
return {
token,
cancel
};
}
};
CancelToken_default = CancelToken;
}
});
// node_modules/axios/lib/helpers/spread.js
function spread(callback) {
return function wrap(arr) {
return callback.apply(null, arr);
};
}
var init_spread = __esm({
"node_modules/axios/lib/helpers/spread.js"() {
"use strict";
}
});
// node_modules/axios/lib/helpers/isAxiosError.js
function isAxiosError(payload) {
return utils_default.isObject(payload) && payload.isAxiosError === true;
}
var init_isAxiosError = __esm({
"node_modules/axios/lib/helpers/isAxiosError.js"() {
"use strict";
init_utils();
}
});
// node_modules/axios/lib/axios.js
function createInstance(defaultConfig) {
const context = new Axios_default(defaultConfig);
const instance = bind(Axios_default.prototype.request, context);
utils_default.extend(instance, Axios_default.prototype, context, { allOwnKeys: true });
utils_default.extend(instance, context, null, { allOwnKeys: true });
instance.create = function create(instanceConfig) {
return createInstance(mergeConfig(defaultConfig, instanceConfig));
};
return instance;
}
var axios, axios_default;
var init_axios = __esm({
"node_modules/axios/lib/axios.js"() {
"use strict";
init_utils();
init_bind();
init_Axios();
init_mergeConfig();
init_defaults();
init_formDataToJSON();
init_CanceledError();
init_CancelToken();
init_isCancel();
init_data();
init_toFormData();
init_AxiosError();
init_spread();
init_isAxiosError();
init_AxiosHeaders();
axios = createInstance(defaults_default);
axios.Axios = Axios_default;
axios.CanceledError = CanceledError_default;
axios.CancelToken = CancelToken_default;
axios.isCancel = isCancel;
axios.VERSION = VERSION;
axios.toFormData = toFormData_default;
axios.AxiosError = AxiosError_default;
axios.Cancel = axios.CanceledError;
axios.all = function all(promises) {
return Promise.all(promises);
};
axios.spread = spread;
axios.isAxiosError = isAxiosError;
axios.mergeConfig = mergeConfig;
axios.AxiosHeaders = AxiosHeaders_default;
axios.formToJSON = (thing) => formDataToJSON_default(utils_default.isHTMLForm(thing) ? new FormData(thing) : thing);
axios.default = axios;
axios_default = axios;
}
});
// node_modules/axios/index.js
var Axios2, AxiosError2, CanceledError2, isCancel2, CancelToken2, VERSION2, all2, Cancel, isAxiosError2, spread2, toFormData2, AxiosHeaders2, formToJSON, mergeConfig2;
var init_axios2 = __esm({
"node_modules/axios/index.js"() {
init_axios();
({
Axios: Axios2,
AxiosError: AxiosError2,
CanceledError: CanceledError2,
isCancel: isCancel2,
CancelToken: CancelToken2,
VERSION: VERSION2,
all: all2,
Cancel,
isAxiosError: isAxiosError2,
spread: spread2,
toFormData: toFormData2,
AxiosHeaders: AxiosHeaders2,
formToJSON,
mergeConfig: mergeConfig2
} = axios_default);
}
});
// src/pages/tags.ts
var search, sortingData, sort;
var init_tags = __esm({
"src/pages/tags.ts"() {
init_tagsAppendIlust();
init_axios2();
search = (word, pageNumber, mode) => {
return new Promise((resolve) => {
axios_default.get(`https://www.pixiv.net/ajax/search/artworks/${word}?word=${word}&order=date_d&mode=${mode}&p=${String(pageNumber)}&s_mode=s_tag&type=all&lang=ja`).then((res) => res.data).then((data) => {
resolve(data);
});
});
};
sortingData = async (searchKeyword) => {
let query = {};
location.search.split("?")[1]?.split("&").map((search2) => {
const splited = search2.split("=");
query[splited[0]] = splited[1];
});
const pageNumber = query.hasOwnProperty("p") ? query["p"] : 1;
const mode = query.hasOwnProperty("mode") ? query["mode"] : "all";
let users = "";
const usersonlymode = localStorage.getItem("pixiv-filter-usersonly");
if (usersonlymode !== null && usersonlymode !== "0") {
users = "%20" + usersonlymode;
}
let aiblock = false;
if (localStorage.getItem("pixiv-filter-excludeAImode") === "1") {
aiblock = true;
}
let blocklist = [];
const blocklistString = localStorage.getItem("pixiv-filter-blocklist");
if (blocklistString !== null) {
blocklist = blocklistString.split(",");
}
let sortcount = 0;
const searchResponse = await search(searchKeyword + users, pageNumber, mode);
const ilusts = searchResponse["body"]["illustManga"]["data"];
const result = [];
const length = ilusts.length;
ilusts.forEach((ilustdata) => {
let push = true;
ilustdata.tags?.forEach((tag) => {
if (blocklist.includes(tag)) {
push = false;
sortcount++;
}
});
if (ilustdata.aiType === 2 && aiblock) {
push = false;
sortcount++;
}
if (push) {
result.push(ilustdata);
}
});
console.log(`${sortcount}/${length} sorted!`);
return result;
};
sort = async (searchKeyword) => {
const sortdata = await sortingData(searchKeyword);
document.addEventListener("pixiv-domchange", () => {
const ilustsUlElem = document.querySelector(
"#root > div.charcoal-token > div > div:nth-child(2) > div > div:nth-child(6) > div > section:nth-child(3) > div:nth-child(2) > ul:nth-child(2)"
);
if (ilustsUlElem !== null) {
ilustsUlElem.remove();
}
});
setTimeout(() => {
let ilustsUlElem = document.querySelector(
"#root > div.charcoal-token > div > div:nth-child(2) > div > div:nth-child(6) > div > section:nth-child(3) > div:nth-child(2) > ul:nth-child(1)"
);
if (ilustsUlElem === null) {
ilustsUlElem = document.querySelector(
"#root > div.charcoal-token > div > div:nth-child(2) > div > div:nth-child(5) > div > section:nth-child(2) > div:nth-child(2) > ul:nth-child(1)"
);
}
if (ilustsUlElem !== null) {
const newUl = document.createElement("ul");
newUl.className = ilustsUlElem.className;
ilustsUlElem.parentElement.insertBefore(newUl, ilustsUlElem.parentElement.firstChild);
ilustsUlElem.remove();
sortdata.forEach((data) => {
if (data.title !== void 0) {
tagsAppendIlust_default({
parent: newUl,
src: data.url,
title: data.title,
href: `https://www.pixiv.net/artworks/${data.id}`,
createricon: data.profileImageUrl,
creatername: data.userName,
createrpage: `https://www.pixiv.net/users/${data.userId}`,
r18: data.tags[0] === "R-18",
r18g: data.tags[0] === "R-18G",
pageCount: data.pageCount
});
}
});
}
}, 1e3);
};
}
});
// node_modules/scheduler/cjs/scheduler.production.min.js
var require_scheduler_production_min = __commonJS({
"node_modules/scheduler/cjs/scheduler.production.min.js"(exports) {
"use strict";
function f(a, b) {
var c = a.length;
a.push(b);
a:
for (; 0 < c; ) {
var d = c - 1 >>> 1, e = a[d];
if (0 < g(e, b))
a[d] = b, a[c] = e, c = d;
else
break a;
}
}
function h(a) {
return 0 === a.length ? null : a[0];
}
function k(a) {
if (0 === a.length)
return null;
var b = a[0], c = a.pop();
if (c !== b) {
a[0] = c;
a:
for (var d = 0, e = a.length, w = e >>> 1; d < w; ) {
var m = 2 * (d + 1) - 1, C = a[m], n = m + 1, x = a[n];
if (0 > g(C, c))
n < e && 0 > g(x, C) ? (a[d] = x, a[n] = c, d = n) : (a[d] = C, a[m] = c, d = m);
else if (n < e && 0 > g(x, c))
a[d] = x, a[n] = c, d = n;
else
break a;
}
}
return b;
}
function g(a, b) {
var c = a.sortIndex - b.sortIndex;
return 0 !== c ? c : a.id - b.id;
}
if ("object" === typeof performance && "function" === typeof performance.now) {
l = performance;
exports.unstable_now = function() {
return l.now();
};
} else {
p = Date, q = p.now();
exports.unstable_now = function() {
return p.now() - q;
};
}
var l;
var p;
var q;
var r = [];
var t = [];
var u = 1;
var v = null;
var y = 3;
var z = false;
var A = false;
var B = false;
var D = "function" === typeof setTimeout ? setTimeout : null;
var E = "function" === typeof clearTimeout ? clearTimeout : null;
var F = "undefined" !== typeof setImmediate ? setImmediate : null;
"undefined" !== typeof navigator && void 0 !== navigator.scheduling && void 0 !== navigator.scheduling.isInputPending && navigator.scheduling.isInputPending.bind(navigator.scheduling);
function G(a) {
for (var b = h(t); null !== b; ) {
if (null === b.callback)
k(t);
else if (b.startTime <= a)
k(t), b.sortIndex = b.expirationTime, f(r, b);
else
break;
b = h(t);
}
}
function H(a) {
B = false;
G(a);
if (!A)
if (null !== h(r))
A = true, I(J);
else {
var b = h(t);
null !== b && K(H, b.startTime - a);
}
}
function J(a, b) {
A = false;
B && (B = false, E(L), L = -1);
z = true;
var c = y;
try {
G(b);
for (v = h(r); null !== v && (!(v.expirationTime > b) || a && !M()); ) {
var d = v.callback;
if ("function" === typeof d) {
v.callback = null;
y = v.priorityLevel;
var e = d(v.expirationTime <= b);
b = exports.unstable_now();
"function" === typeof e ? v.callback = e : v === h(r) && k(r);
G(b);
} else
k(r);
v = h(r);
}
if (null !== v)
var w = true;
else {
var m = h(t);
null !== m && K(H, m.startTime - b);
w = false;
}
return w;
} finally {
v = null, y = c, z = false;
}
}
var N = false;
var O = null;
var L = -1;
var P = 5;
var Q = -1;
function M() {
return exports.unstable_now() - Q < P ? false : true;
}
function R() {
if (null !== O) {
var a = exports.unstable_now();
Q = a;
var b = true;
try {
b = O(true, a);
} finally {
b ? S() : (N = false, O = null);
}
} else
N = false;
}
var S;
if ("function" === typeof F)
S = function() {
F(R);
};
else if ("undefined" !== typeof MessageChannel) {
T = new MessageChannel(), U = T.port2;
T.port1.onmessage = R;
S = function() {
U.postMessage(null);
};
} else
S = function() {
D(R, 0);
};
var T;
var U;
function I(a) {
O = a;
N || (N = true, S());
}
function K(a, b) {
L = D(function() {
a(exports.unstable_now());
}, b);
}
exports.unstable_IdlePriority = 5;
exports.unstable_ImmediatePriority = 1;
exports.unstable_LowPriority = 4;
exports.unstable_NormalPriority = 3;
exports.unstable_Profiling = null;
exports.unstable_UserBlockingPriority = 2;
exports.unstable_cancelCallback = function(a) {
a.callback = null;
};
exports.unstable_continueExecution = function() {
A || z || (A = true, I(J));
};
exports.unstable_forceFrameRate = function(a) {
0 > a || 125 < a ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : P = 0 < a ? Math.floor(1e3 / a) : 5;
};
exports.unstable_getCurrentPriorityLevel = function() {
return y;
};
exports.unstable_getFirstCallbackNode = function() {
return h(r);
};
exports.unstable_next = function(a) {
switch (y) {
case 1:
case 2:
case 3:
var b = 3;
break;
default:
b = y;
}
var c = y;
y = b;
try {
return a();
} finally {
y = c;
}
};
exports.unstable_pauseExecution = function() {
};
exports.unstable_requestPaint = function() {
};
exports.unstable_runWithPriority = function(a, b) {
switch (a) {
case 1:
case 2:
case 3:
case 4:
case 5:
break;
default:
a = 3;
}
var c = y;
y = a;
try {
return b();
} finally {
y = c;
}
};
exports.unstable_scheduleCallback = function(a, b, c) {
var d = exports.unstable_now();
"object" === typeof c && null !== c ? (c = c.delay, c = "number" === typeof c && 0 < c ? d + c : d) : c = d;
switch (a) {
case 1:
var e = -1;
break;
case 2:
e = 250;
break;
case 5:
e = 1073741823;
break;
case 4:
e = 1e4;
break;
default:
e = 5e3;
}
e = c + e;
a = { id: u++, callback: b, priorityLevel: a, startTime: c, expirationTime: e, sortIndex: -1 };
c > d ? (a.sortIndex = c, f(t, a), null === h(r) && a === h(t) && (B ? (E(L), L = -1) : B = true, K(H, c - d))) : (a.sortIndex = e, f(r, a), A || z || (A = true, I(J)));
return a;
};
exports.unstable_shouldYield = M;
exports.unstable_wrapCallback = function(a) {
var b = y;
return function() {
var c = y;
y = b;
try {
return a.apply(this, arguments);
} finally {
y = c;
}
};
};
}
});
// node_modules/scheduler/index.js
var require_scheduler = __commonJS({
"node_modules/scheduler/index.js"(exports, module) {
"use strict";
if (true) {
module.exports = require_scheduler_production_min();
} else {
module.exports = null;
}
}
});
// node_modules/react-dom/cjs/react-dom.production.min.js
var require_react_dom_production_min = __commonJS({
"node_modules/react-dom/cjs/react-dom.production.min.js"(exports) {
"use strict";
var aa = require_react();
var ca = require_scheduler();
function p(a) {
for (var b = "https://reactjs.org/docs/error-decoder.html?invariant=" + a, c = 1; c < arguments.length; c++)
b += "&args[]=" + encodeURIComponent(arguments[c]);
return "Minified React error #" + a + "; visit " + b + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
}
var da = /* @__PURE__ */ new Set();
var ea = {};
function fa(a, b) {
ha(a, b);
ha(a + "Capture", b);
}
function ha(a, b) {
ea[a] = b;
for (a = 0; a < b.length; a++)
da.add(b[a]);
}
var ia = !("undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement);
var ja = Object.prototype.hasOwnProperty;
var ka = /^[: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]*$/;
var la = {};
var ma = {};
function oa(a) {
if (ja.call(ma, a))
return true;
if (ja.call(la, a))
return false;
if (ka.test(a))
return ma[a] = true;
la[a] = true;
return false;
}
function pa(a, b, c, d) {
if (null !== c && 0 === c.type)
return false;
switch (typeof b) {
case "function":
case "symbol":
return true;
case "boolean":
if (d)
return false;
if (null !== c)
return !c.acceptsBooleans;
a = a.toLowerCase().slice(0, 5);
return "data-" !== a && "aria-" !== a;
default:
return false;
}
}
function qa(a, b, c, d) {
if (null === b || "undefined" === typeof b || pa(a, b, c, d))
return true;
if (d)
return false;
if (null !== c)
switch (c.type) {
case 3:
return !b;
case 4:
return false === b;
case 5:
return isNaN(b);
case 6:
return isNaN(b) || 1 > b;
}
return false;
}
function v(a, b, c, d, e, f, g) {
this.acceptsBooleans = 2 === b || 3 === b || 4 === b;
this.attributeName = d;
this.attributeNamespace = e;
this.mustUseProperty = c;
this.propertyName = a;
this.type = b;
this.sanitizeURL = f;
this.removeEmptyString = g;
}
var z = {};
"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a) {
z[a] = new v(a, 0, false, a, null, false, false);
});
[["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(a) {
var b = a[0];
z[b] = new v(b, 1, false, a[1], null, false, false);
});
["contentEditable", "draggable", "spellCheck", "value"].forEach(function(a) {
z[a] = new v(a, 2, false, a.toLowerCase(), null, false, false);
});
["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(a) {
z[a] = new v(a, 2, false, a, 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(a) {
z[a] = new v(a, 3, false, a.toLowerCase(), null, false, false);
});
["checked", "multiple", "muted", "selected"].forEach(function(a) {
z[a] = new v(a, 3, true, a, null, false, false);
});
["capture", "download"].forEach(function(a) {
z[a] = new v(a, 4, false, a, null, false, false);
});
["cols", "rows", "size", "span"].forEach(function(a) {
z[a] = new v(a, 6, false, a, null, false, false);
});
["rowSpan", "start"].forEach(function(a) {
z[a] = new v(a, 5, false, a.toLowerCase(), null, false, false);
});
var ra = /[\-:]([a-z])/g;
function sa(a) {
return a[1].toUpperCase();
}
"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(a) {
var b = a.replace(
ra,
sa
);
z[b] = new v(b, 1, false, a, null, false, false);
});
"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a) {
var b = a.replace(ra, sa);
z[b] = new v(b, 1, false, a, "http://www.w3.org/1999/xlink", false, false);
});
["xml:base", "xml:lang", "xml:space"].forEach(function(a) {
var b = a.replace(ra, sa);
z[b] = new v(b, 1, false, a, "http://www.w3.org/XML/1998/namespace", false, false);
});
["tabIndex", "crossOrigin"].forEach(function(a) {
z[a] = new v(a, 1, false, a.toLowerCase(), null, false, false);
});
z.xlinkHref = new v("xlinkHref", 1, false, "xlink:href", "http://www.w3.org/1999/xlink", true, false);
["src", "href", "action", "formAction"].forEach(function(a) {
z[a] = new v(a, 1, false, a.toLowerCase(), null, true, true);
});
function ta(a, b, c, d) {
var e = z.hasOwnProperty(b) ? z[b] : null;
if (null !== e ? 0 !== e.type : d || !(2 < b.length) || "o" !== b[0] && "O" !== b[0] || "n" !== b[1] && "N" !== b[1])
qa(b, c, e, d) && (c = null), d || null === e ? oa(b) && (null === c ? a.removeAttribute(b) : a.setAttribute(b, "" + c)) : e.mustUseProperty ? a[e.propertyName] = null === c ? 3 === e.type ? false : "" : c : (b = e.attributeName, d = e.attributeNamespace, null === c ? a.removeAttribute(b) : (e = e.type, c = 3 === e || 4 === e && true === c ? "" : "" + c, d ? a.setAttributeNS(d, b, c) : a.setAttribute(b, c)));
}
var ua = aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
var va = Symbol.for("react.element");
var wa = Symbol.for("react.portal");
var ya = Symbol.for("react.fragment");
var za = Symbol.for("react.strict_mode");
var Aa = Symbol.for("react.profiler");
var Ba = Symbol.for("react.provider");
var Ca = Symbol.for("react.context");
var Da = Symbol.for("react.forward_ref");
var Ea = Symbol.for("react.suspense");
var Fa = Symbol.for("react.suspense_list");
var Ga = Symbol.for("react.memo");
var Ha = Symbol.for("react.lazy");
Symbol.for("react.scope");
Symbol.for("react.debug_trace_mode");
var Ia = Symbol.for("react.offscreen");
Symbol.for("react.legacy_hidden");
Symbol.for("react.cache");
Symbol.for("react.tracing_marker");
var Ja = Symbol.iterator;
function Ka(a) {
if (null === a || "object" !== typeof a)
return null;
a = Ja && a[Ja] || a["@@iterator"];
return "function" === typeof a ? a : null;
}
var A = Object.assign;
var La;
function Ma(a) {
if (void 0 === La)
try {
throw Error();
} catch (c) {
var b = c.stack.trim().match(/\n( *(at )?)/);
La = b && b[1] || "";
}
return "\n" + La + a;
}
var Na = false;
function Oa(a, b) {
if (!a || Na)
return "";
Na = true;
var c = Error.prepareStackTrace;
Error.prepareStackTrace = void 0;
try {
if (b)
if (b = function() {
throw Error();
}, Object.defineProperty(b.prototype, "props", { set: function() {
throw Error();
} }), "object" === typeof Reflect && Reflect.construct) {
try {
Reflect.construct(b, []);
} catch (l) {
var d = l;
}
Reflect.construct(a, [], b);
} else {
try {
b.call();
} catch (l) {
d = l;
}
a.call(b.prototype);
}
else {
try {
throw Error();
} catch (l) {
d = l;
}
a();
}
} catch (l) {
if (l && d && "string" === typeof l.stack) {
for (var e = l.stack.split("\n"), f = d.stack.split("\n"), g = e.length - 1, h = f.length - 1; 1 <= g && 0 <= h && e[g] !== f[h]; )
h--;
for (; 1 <= g && 0 <= h; g--, h--)
if (e[g] !== f[h]) {
if (1 !== g || 1 !== h) {
do
if (g--, h--, 0 > h || e[g] !== f[h]) {
var k = "\n" + e[g].replace(" at new ", " at ");
a.displayName && k.includes("<anonymous>") && (k = k.replace("<anonymous>", a.displayName));
return k;
}
while (1 <= g && 0 <= h);
}
break;
}
}
} finally {
Na = false, Error.prepareStackTrace = c;
}
return (a = a ? a.displayName || a.name : "") ? Ma(a) : "";
}
function Pa(a) {
switch (a.tag) {
case 5:
return Ma(a.type);
case 16:
return Ma("Lazy");
case 13:
return Ma("Suspense");
case 19:
return Ma("SuspenseList");
case 0:
case 2:
case 15:
return a = Oa(a.type, false), a;
case 11:
return a = Oa(a.type.render, false), a;
case 1:
return a = Oa(a.type, true), a;
default:
return "";
}
}
function Qa(a) {
if (null == a)
return null;
if ("function" === typeof a)
return a.displayName || a.name || null;
if ("string" === typeof a)
return a;
switch (a) {
case ya:
return "Fragment";
case wa:
return "Portal";
case Aa:
return "Profiler";
case za:
return "StrictMode";
case Ea:
return "Suspense";
case Fa:
return "SuspenseList";
}
if ("object" === typeof a)
switch (a.$$typeof) {
case Ca:
return (a.displayName || "Context") + ".Consumer";
case Ba:
return (a._context.displayName || "Context") + ".Provider";
case Da:
var b = a.render;
a = a.displayName;
a || (a = b.displayName || b.name || "", a = "" !== a ? "ForwardRef(" + a + ")" : "ForwardRef");
return a;
case Ga:
return b = a.displayName || null, null !== b ? b : Qa(a.type) || "Memo";
case Ha:
b = a._payload;
a = a._init;
try {
return Qa(a(b));
} catch (c) {
}
}
return null;
}
function Ra(a) {
var b = a.type;
switch (a.tag) {
case 24:
return "Cache";
case 9:
return (b.displayName || "Context") + ".Consumer";
case 10:
return (b._context.displayName || "Context") + ".Provider";
case 18:
return "DehydratedFragment";
case 11:
return a = b.render, a = a.displayName || a.name || "", b.displayName || ("" !== a ? "ForwardRef(" + a + ")" : "ForwardRef");
case 7:
return "Fragment";
case 5:
return b;
case 4:
return "Portal";
case 3:
return "Root";
case 6:
return "Text";
case 16:
return Qa(b);
case 8:
return b === za ? "StrictMode" : "Mode";
case 22:
return "Offscreen";
case 12:
return "Profiler";
case 21:
return "Scope";
case 13:
return "Suspense";
case 19:
return "SuspenseList";
case 25:
return "TracingMarker";
case 1:
case 0:
case 17:
case 2:
case 14:
case 15:
if ("function" === typeof b)
return b.displayName || b.name || null;
if ("string" === typeof b)
return b;
}
return null;
}
function Sa(a) {
switch (typeof a) {
case "boolean":
case "number":
case "string":
case "undefined":
return a;
case "object":
return a;
default:
return "";
}
}
function Ta(a) {
var b = a.type;
return (a = a.nodeName) && "input" === a.toLowerCase() && ("checkbox" === b || "radio" === b);
}
function Ua(a) {
var b = Ta(a) ? "checked" : "value", c = Object.getOwnPropertyDescriptor(a.constructor.prototype, b), d = "" + a[b];
if (!a.hasOwnProperty(b) && "undefined" !== typeof c && "function" === typeof c.get && "function" === typeof c.set) {
var e = c.get, f = c.set;
Object.defineProperty(a, b, { configurable: true, get: function() {
return e.call(this);
}, set: function(a2) {
d = "" + a2;
f.call(this, a2);
} });
Object.defineProperty(a, b, { enumerable: c.enumerable });
return { getValue: function() {
return d;
}, setValue: function(a2) {
d = "" + a2;
}, stopTracking: function() {
a._valueTracker = null;
delete a[b];
} };
}
}
function Va(a) {
a._valueTracker || (a._valueTracker = Ua(a));
}
function Wa(a) {
if (!a)
return false;
var b = a._valueTracker;
if (!b)
return true;
var c = b.getValue();
var d = "";
a && (d = Ta(a) ? a.checked ? "true" : "false" : a.value);
a = d;
return a !== c ? (b.setValue(a), true) : false;
}
function Xa(a) {
a = a || ("undefined" !== typeof document ? document : void 0);
if ("undefined" === typeof a)
return null;
try {
return a.activeElement || a.body;
} catch (b) {
return a.body;
}
}
function Ya(a, b) {
var c = b.checked;
return A({}, b, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: null != c ? c : a._wrapperState.initialChecked });
}
function Za(a, b) {
var c = null == b.defaultValue ? "" : b.defaultValue, d = null != b.checked ? b.checked : b.defaultChecked;
c = Sa(null != b.value ? b.value : c);
a._wrapperState = { initialChecked: d, initialValue: c, controlled: "checkbox" === b.type || "radio" === b.type ? null != b.checked : null != b.value };
}
function ab(a, b) {
b = b.checked;
null != b && ta(a, "checked", b, false);
}
function bb(a, b) {
ab(a, b);
var c = Sa(b.value), d = b.type;
if (null != c)
if ("number" === d) {
if (0 === c && "" === a.value || a.value != c)
a.value = "" + c;
} else
a.value !== "" + c && (a.value = "" + c);
else if ("submit" === d || "reset" === d) {
a.removeAttribute("value");
return;
}
b.hasOwnProperty("value") ? cb(a, b.type, c) : b.hasOwnProperty("defaultValue") && cb(a, b.type, Sa(b.defaultValue));
null == b.checked && null != b.defaultChecked && (a.defaultChecked = !!b.defaultChecked);
}
function db(a, b, c) {
if (b.hasOwnProperty("value") || b.hasOwnProperty("defaultValue")) {
var d = b.type;
if (!("submit" !== d && "reset" !== d || void 0 !== b.value && null !== b.value))
return;
b = "" + a._wrapperState.initialValue;
c || b === a.value || (a.value = b);
a.defaultValue = b;
}
c = a.name;
"" !== c && (a.name = "");
a.defaultChecked = !!a._wrapperState.initialChecked;
"" !== c && (a.name = c);
}
function cb(a, b, c) {
if ("number" !== b || Xa(a.ownerDocument) !== a)
null == c ? a.defaultValue = "" + a._wrapperState.initialValue : a.defaultValue !== "" + c && (a.defaultValue = "" + c);
}
var eb = Array.isArray;
function fb(a, b, c, d) {
a = a.options;
if (b) {
b = {};
for (var e = 0; e < c.length; e++)
b["$" + c[e]] = true;
for (c = 0; c < a.length; c++)
e = b.hasOwnProperty("$" + a[c].value), a[c].selected !== e && (a[c].selected = e), e && d && (a[c].defaultSelected = true);
} else {
c = "" + Sa(c);
b = null;
for (e = 0; e < a.length; e++) {
if (a[e].value === c) {
a[e].selected = true;
d && (a[e].defaultSelected = true);
return;
}
null !== b || a[e].disabled || (b = a[e]);
}
null !== b && (b.selected = true);
}
}
function gb(a, b) {
if (null != b.dangerouslySetInnerHTML)
throw Error(p(91));
return A({}, b, { value: void 0, defaultValue: void 0, children: "" + a._wrapperState.initialValue });
}
function hb(a, b) {
var c = b.value;
if (null == c) {
c = b.children;
b = b.defaultValue;
if (null != c) {
if (null != b)
throw Error(p(92));
if (eb(c)) {
if (1 < c.length)
throw Error(p(93));
c = c[0];
}
b = c;
}
null == b && (b = "");
c = b;
}
a._wrapperState = { initialValue: Sa(c) };
}
function ib(a, b) {
var c = Sa(b.value), d = Sa(b.defaultValue);
null != c && (c = "" + c, c !== a.value && (a.value = c), null == b.defaultValue && a.defaultValue !== c && (a.defaultValue = c));
null != d && (a.defaultValue = "" + d);
}
function jb(a) {
var b = a.textContent;
b === a._wrapperState.initialValue && "" !== b && null !== b && (a.value = b);
}
function kb(a) {
switch (a) {
case "svg":
return "http://www.w3.org/2000/svg";
case "math":
return "http://www.w3.org/1998/Math/MathML";
default:
return "http://www.w3.org/1999/xhtml";
}
}
function lb(a, b) {
return null == a || "http://www.w3.org/1999/xhtml" === a ? kb(b) : "http://www.w3.org/2000/svg" === a && "foreignObject" === b ? "http://www.w3.org/1999/xhtml" : a;
}
var mb;
var nb = function(a) {
return "undefined" !== typeof MSApp && MSApp.execUnsafeLocalFunction ? function(b, c, d, e) {
MSApp.execUnsafeLocalFunction(function() {
return a(b, c, d, e);
});
} : a;
}(function(a, b) {
if ("http://www.w3.org/2000/svg" !== a.namespaceURI || "innerHTML" in a)
a.innerHTML = b;
else {
mb = mb || document.createElement("div");
mb.innerHTML = "<svg>" + b.valueOf().toString() + "</svg>";
for (b = mb.firstChild; a.firstChild; )
a.removeChild(a.firstChild);
for (; b.firstChild; )
a.appendChild(b.firstChild);
}
});
function ob(a, b) {
if (b) {
var c = a.firstChild;
if (c && c === a.lastChild && 3 === c.nodeType) {
c.nodeValue = b;
return;
}
}
a.textContent = b;
}
var pb = {
animationIterationCount: true,
aspectRatio: true,
borderImageOutset: true,
borderImageSlice: true,
borderImageWidth: true,
boxFlex: true,
boxFlexGroup: true,
boxOrdinalGroup: true,
columnCount: true,
columns: true,
flex: true,
flexGrow: true,
flexPositive: true,
flexShrink: true,
flexNegative: true,
flexOrder: true,
gridArea: true,
gridRow: true,
gridRowEnd: true,
gridRowSpan: true,
gridRowStart: true,
gridColumn: true,
gridColumnEnd: true,
gridColumnSpan: true,
gridColumnStart: true,
fontWeight: true,
lineClamp: true,
lineHeight: true,
opacity: true,
order: true,
orphans: true,
tabSize: true,
widows: true,
zIndex: true,
zoom: true,
fillOpacity: true,
floodOpacity: true,
stopOpacity: true,
strokeDasharray: true,
strokeDashoffset: true,
strokeMiterlimit: true,
strokeOpacity: true,
strokeWidth: true
};
var qb = ["Webkit", "ms", "Moz", "O"];
Object.keys(pb).forEach(function(a) {
qb.forEach(function(b) {
b = b + a.charAt(0).toUpperCase() + a.substring(1);
pb[b] = pb[a];
});
});
function rb(a, b, c) {
return null == b || "boolean" === typeof b || "" === b ? "" : c || "number" !== typeof b || 0 === b || pb.hasOwnProperty(a) && pb[a] ? ("" + b).trim() : b + "px";
}
function sb(a, b) {
a = a.style;
for (var c in b)
if (b.hasOwnProperty(c)) {
var d = 0 === c.indexOf("--"), e = rb(c, b[c], d);
"float" === c && (c = "cssFloat");
d ? a.setProperty(c, e) : a[c] = e;
}
}
var tb = A({ 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(a, b) {
if (b) {
if (tb[a] && (null != b.children || null != b.dangerouslySetInnerHTML))
throw Error(p(137, a));
if (null != b.dangerouslySetInnerHTML) {
if (null != b.children)
throw Error(p(60));
if ("object" !== typeof b.dangerouslySetInnerHTML || !("__html" in b.dangerouslySetInnerHTML))
throw Error(p(61));
}
if (null != b.style && "object" !== typeof b.style)
throw Error(p(62));
}
}
function vb(a, b) {
if (-1 === a.indexOf("-"))
return "string" === typeof b.is;
switch (a) {
case "annotation-xml":
case "color-profile":
case "font-face":
case "font-face-src":
case "font-face-uri":
case "font-face-format":
case "font-face-name":
case "missing-glyph":
return false;
default:
return true;
}
}
var wb = null;
function xb(a) {
a = a.target || a.srcElement || window;
a.correspondingUseElement && (a = a.correspondingUseElement);
return 3 === a.nodeType ? a.parentNode : a;
}
var yb = null;
var zb = null;
var Ab = null;
function Bb(a) {
if (a = Cb(a)) {
if ("function" !== typeof yb)
throw Error(p(280));
var b = a.stateNode;
b && (b = Db(b), yb(a.stateNode, a.type, b));
}
}
function Eb(a) {
zb ? Ab ? Ab.push(a) : Ab = [a] : zb = a;
}
function Fb() {
if (zb) {
var a = zb, b = Ab;
Ab = zb = null;
Bb(a);
if (b)
for (a = 0; a < b.length; a++)
Bb(b[a]);
}
}
function Gb(a, b) {
return a(b);
}
function Hb() {
}
var Ib = false;
function Jb(a, b, c) {
if (Ib)
return a(b, c);
Ib = true;
try {
return Gb(a, b, c);
} finally {
if (Ib = false, null !== zb || null !== Ab)
Hb(), Fb();
}
}
function Kb(a, b) {
var c = a.stateNode;
if (null === c)
return null;
var d = Db(c);
if (null === d)
return null;
c = d[b];
a:
switch (b) {
case "onClick":
case "onClickCapture":
case "onDoubleClick":
case "onDoubleClickCapture":
case "onMouseDown":
case "onMouseDownCapture":
case "onMouseMove":
case "onMouseMoveCapture":
case "onMouseUp":
case "onMouseUpCapture":
case "onMouseEnter":
(d = !d.disabled) || (a = a.type, d = !("button" === a || "input" === a || "select" === a || "textarea" === a));
a = !d;
break a;
default:
a = false;
}
if (a)
return null;
if (c && "function" !== typeof c)
throw Error(p(231, b, typeof c));
return c;
}
var Lb = false;
if (ia)
try {
Mb = {};
Object.defineProperty(Mb, "passive", { get: function() {
Lb = true;
} });
window.addEventListener("test", Mb, Mb);
window.removeEventListener("test", Mb, Mb);
} catch (a) {
Lb = false;
}
var Mb;
function Nb(a, b, c, d, e, f, g, h, k) {
var l = Array.prototype.slice.call(arguments, 3);
try {
b.apply(c, l);
} catch (m) {
this.onError(m);
}
}
var Ob = false;
var Pb = null;
var Qb = false;
var Rb = null;
var Sb = { onError: function(a) {
Ob = true;
Pb = a;
} };
function Tb(a, b, c, d, e, f, g, h, k) {
Ob = false;
Pb = null;
Nb.apply(Sb, arguments);
}
function Ub(a, b, c, d, e, f, g, h, k) {
Tb.apply(this, arguments);
if (Ob) {
if (Ob) {
var l = Pb;
Ob = false;
Pb = null;
} else
throw Error(p(198));
Qb || (Qb = true, Rb = l);
}
}
function Vb(a) {
var b = a, c = a;
if (a.alternate)
for (; b.return; )
b = b.return;
else {
a = b;
do
b = a, 0 !== (b.flags & 4098) && (c = b.return), a = b.return;
while (a);
}
return 3 === b.tag ? c : null;
}
function Wb(a) {
if (13 === a.tag) {
var b = a.memoizedState;
null === b && (a = a.alternate, null !== a && (b = a.memoizedState));
if (null !== b)
return b.dehydrated;
}
return null;
}
function Xb(a) {
if (Vb(a) !== a)
throw Error(p(188));
}
function Yb(a) {
var b = a.alternate;
if (!b) {
b = Vb(a);
if (null === b)
throw Error(p(188));
return b !== a ? null : a;
}
for (var c = a, d = b; ; ) {
var e = c.return;
if (null === e)
break;
var f = e.alternate;
if (null === f) {
d = e.return;
if (null !== d) {
c = d;
continue;
}
break;
}
if (e.child === f.child) {
for (f = e.child; f; ) {
if (f === c)
return Xb(e), a;
if (f === d)
return Xb(e), b;
f = f.sibling;
}
throw Error(p(188));
}
if (c.return !== d.return)
c = e, d = f;
else {
for (var g = false, h = e.child; h; ) {
if (h === c) {
g = true;
c = e;
d = f;
break;
}
if (h === d) {
g = true;
d = e;
c = f;
break;
}
h = h.sibling;
}
if (!g) {
for (h = f.child; h; ) {
if (h === c) {
g = true;
c = f;
d = e;
break;
}
if (h === d) {
g = true;
d = f;
c = e;
break;
}
h = h.sibling;
}
if (!g)
throw Error(p(189));
}
}
if (c.alternate !== d)
throw Error(p(190));
}
if (3 !== c.tag)
throw Error(p(188));
return c.stateNode.current === c ? a : b;
}
function Zb(a) {
a = Yb(a);
return null !== a ? $b(a) : null;
}
function $b(a) {
if (5 === a.tag || 6 === a.tag)
return a;
for (a = a.child; null !== a; ) {
var b = $b(a);
if (null !== b)
return b;
a = a.sibling;
}
return null;
}
var ac = ca.unstable_scheduleCallback;
var bc = ca.unstable_cancelCallback;
var cc = ca.unstable_shouldYield;
var dc = ca.unstable_requestPaint;
var B = ca.unstable_now;
var ec = ca.unstable_getCurrentPriorityLevel;
var fc = ca.unstable_ImmediatePriority;
var gc = ca.unstable_UserBlockingPriority;
var hc = ca.unstable_NormalPriority;
var ic = ca.unstable_LowPriority;
var jc = ca.unstable_IdlePriority;
var kc = null;
var lc = null;
function mc(a) {
if (lc && "function" === typeof lc.onCommitFiberRoot)
try {
lc.onCommitFiberRoot(kc, a, void 0, 128 === (a.current.flags & 128));
} catch (b) {
}
}
var oc = Math.clz32 ? Math.clz32 : nc;
var pc = Math.log;
var qc = Math.LN2;
function nc(a) {
a >>>= 0;
return 0 === a ? 32 : 31 - (pc(a) / qc | 0) | 0;
}
var rc = 64;
var sc = 4194304;
function tc(a) {
switch (a & -a) {
case 1:
return 1;
case 2:
return 2;
case 4:
return 4;
case 8:
return 8;
case 16:
return 16;
case 32:
return 32;
case 64:
case 128:
case 256:
case 512:
case 1024:
case 2048:
case 4096:
case 8192:
case 16384:
case 32768:
case 65536:
case 131072:
case 262144:
case 524288:
case 1048576:
case 2097152:
return a & 4194240;
case 4194304:
case 8388608:
case 16777216:
case 33554432:
case 67108864:
return a & 130023424;
case 134217728:
return 134217728;
case 268435456:
return 268435456;
case 536870912:
return 536870912;
case 1073741824:
return 1073741824;
default:
return a;
}
}
function uc(a, b) {
var c = a.pendingLanes;
if (0 === c)
return 0;
var d = 0, e = a.suspendedLanes, f = a.pingedLanes, g = c & 268435455;
if (0 !== g) {
var h = g & ~e;
0 !== h ? d = tc(h) : (f &= g, 0 !== f && (d = tc(f)));
} else
g = c & ~e, 0 !== g ? d = tc(g) : 0 !== f && (d = tc(f));
if (0 === d)
return 0;
if (0 !== b && b !== d && 0 === (b & e) && (e = d & -d, f = b & -b, e >= f || 16 === e && 0 !== (f & 4194240)))
return b;
0 !== (d & 4) && (d |= c & 16);
b = a.entangledLanes;
if (0 !== b)
for (a = a.entanglements, b &= d; 0 < b; )
c = 31 - oc(b), e = 1 << c, d |= a[c], b &= ~e;
return d;
}
function vc(a, b) {
switch (a) {
case 1:
case 2:
case 4:
return b + 250;
case 8:
case 16:
case 32:
case 64:
case 128:
case 256:
case 512:
case 1024:
case 2048:
case 4096:
case 8192:
case 16384:
case 32768:
case 65536:
case 131072:
case 262144:
case 524288:
case 1048576:
case 2097152:
return b + 5e3;
case 4194304:
case 8388608:
case 16777216:
case 33554432:
case 67108864:
return -1;
case 134217728:
case 268435456:
case 536870912:
case 1073741824:
return -1;
default:
return -1;
}
}
function wc(a, b) {
for (var c = a.suspendedLanes, d = a.pingedLanes, e = a.expirationTimes, f = a.pendingLanes; 0 < f; ) {
var g = 31 - oc(f), h = 1 << g, k = e[g];
if (-1 === k) {
if (0 === (h & c) || 0 !== (h & d))
e[g] = vc(h, b);
} else
k <= b && (a.expiredLanes |= h);
f &= ~h;
}
}
function xc(a) {
a = a.pendingLanes & -1073741825;
return 0 !== a ? a : a & 1073741824 ? 1073741824 : 0;
}
function yc() {
var a = rc;
rc <<= 1;
0 === (rc & 4194240) && (rc = 64);
return a;
}
function zc(a) {
for (var b = [], c = 0; 31 > c; c++)
b.push(a);
return b;
}
function Ac(a, b, c) {
a.pendingLanes |= b;
536870912 !== b && (a.suspendedLanes = 0, a.pingedLanes = 0);
a = a.eventTimes;
b = 31 - oc(b);
a[b] = c;
}
function Bc(a, b) {
var c = a.pendingLanes & ~b;
a.pendingLanes = b;
a.suspendedLanes = 0;
a.pingedLanes = 0;
a.expiredLanes &= b;
a.mutableReadLanes &= b;
a.entangledLanes &= b;
b = a.entanglements;
var d = a.eventTimes;
for (a = a.expirationTimes; 0 < c; ) {
var e = 31 - oc(c), f = 1 << e;
b[e] = 0;
d[e] = -1;
a[e] = -1;
c &= ~f;
}
}
function Cc(a, b) {
var c = a.entangledLanes |= b;
for (a = a.entanglements; c; ) {
var d = 31 - oc(c), e = 1 << d;
e & b | a[d] & b && (a[d] |= b);
c &= ~e;
}
}
var C = 0;
function Dc(a) {
a &= -a;
return 1 < a ? 4 < a ? 0 !== (a & 268435455) ? 16 : 536870912 : 4 : 1;
}
var Ec;
var Fc;
var Gc;
var Hc;
var Ic;
var Jc = false;
var Kc = [];
var Lc = null;
var Mc = null;
var Nc = null;
var Oc = /* @__PURE__ */ new Map();
var Pc = /* @__PURE__ */ new Map();
var Qc = [];
var Rc = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");
function Sc(a, b) {
switch (a) {
case "focusin":
case "focusout":
Lc = null;
break;
case "dragenter":
case "dragleave":
Mc = null;
break;
case "mouseover":
case "mouseout":
Nc = null;
break;
case "pointerover":
case "pointerout":
Oc.delete(b.pointerId);
break;
case "gotpointercapture":
case "lostpointercapture":
Pc.delete(b.pointerId);
}
}
function Tc(a, b, c, d, e, f) {
if (null === a || a.nativeEvent !== f)
return a = { blockedOn: b, domEventName: c, eventSystemFlags: d, nativeEvent: f, targetContainers: [e] }, null !== b && (b = Cb(b), null !== b && Fc(b)), a;
a.eventSystemFlags |= d;
b = a.targetContainers;
null !== e && -1 === b.indexOf(e) && b.push(e);
return a;
}
function Uc(a, b, c, d, e) {
switch (b) {
case "focusin":
return Lc = Tc(Lc, a, b, c, d, e), true;
case "dragenter":
return Mc = Tc(Mc, a, b, c, d, e), true;
case "mouseover":
return Nc = Tc(Nc, a, b, c, d, e), true;
case "pointerover":
var f = e.pointerId;
Oc.set(f, Tc(Oc.get(f) || null, a, b, c, d, e));
return true;
case "gotpointercapture":
return f = e.pointerId, Pc.set(f, Tc(Pc.get(f) || null, a, b, c, d, e)), true;
}
return false;
}
function Vc(a) {
var b = Wc(a.target);
if (null !== b) {
var c = Vb(b);
if (null !== c) {
if (b = c.tag, 13 === b) {
if (b = Wb(c), null !== b) {
a.blockedOn = b;
Ic(a.priority, function() {
Gc(c);
});
return;
}
} else if (3 === b && c.stateNode.current.memoizedState.isDehydrated) {
a.blockedOn = 3 === c.tag ? c.stateNode.containerInfo : null;
return;
}
}
}
a.blockedOn = null;
}
function Xc(a) {
if (null !== a.blockedOn)
return false;
for (var b = a.targetContainers; 0 < b.length; ) {
var c = Yc(a.domEventName, a.eventSystemFlags, b[0], a.nativeEvent);
if (null === c) {
c = a.nativeEvent;
var d = new c.constructor(c.type, c);
wb = d;
c.target.dispatchEvent(d);
wb = null;
} else
return b = Cb(c), null !== b && Fc(b), a.blockedOn = c, false;
b.shift();
}
return true;
}
function Zc(a, b, c) {
Xc(a) && c.delete(b);
}
function $c() {
Jc = false;
null !== Lc && Xc(Lc) && (Lc = null);
null !== Mc && Xc(Mc) && (Mc = null);
null !== Nc && Xc(Nc) && (Nc = null);
Oc.forEach(Zc);
Pc.forEach(Zc);
}
function ad(a, b) {
a.blockedOn === b && (a.blockedOn = null, Jc || (Jc = true, ca.unstable_scheduleCallback(ca.unstable_NormalPriority, $c)));
}
function bd(a) {
function b(b2) {
return ad(b2, a);
}
if (0 < Kc.length) {
ad(Kc[0], a);
for (var c = 1; c < Kc.length; c++) {
var d = Kc[c];
d.blockedOn === a && (d.blockedOn = null);
}
}
null !== Lc && ad(Lc, a);
null !== Mc && ad(Mc, a);
null !== Nc && ad(Nc, a);
Oc.forEach(b);
Pc.forEach(b);
for (c = 0; c < Qc.length; c++)
d = Qc[c], d.blockedOn === a && (d.blockedOn = null);
for (; 0 < Qc.length && (c = Qc[0], null === c.blockedOn); )
Vc(c), null === c.blockedOn && Qc.shift();
}
var cd = ua.ReactCurrentBatchConfig;
var dd = true;
function ed(a, b, c, d) {
var e = C, f = cd.transition;
cd.transition = null;
try {
C = 1, fd(a, b, c, d);
} finally {
C = e, cd.transition = f;
}
}
function gd(a, b, c, d) {
var e = C, f = cd.transition;
cd.transition = null;
try {
C = 4, fd(a, b, c, d);
} finally {
C = e, cd.transition = f;
}
}
function fd(a, b, c, d) {
if (dd) {
var e = Yc(a, b, c, d);
if (null === e)
hd(a, b, d, id, c), Sc(a, d);
else if (Uc(e, a, b, c, d))
d.stopPropagation();
else if (Sc(a, d), b & 4 && -1 < Rc.indexOf(a)) {
for (; null !== e; ) {
var f = Cb(e);
null !== f && Ec(f);
f = Yc(a, b, c, d);
null === f && hd(a, b, d, id, c);
if (f === e)
break;
e = f;
}
null !== e && d.stopPropagation();
} else
hd(a, b, d, null, c);
}
}
var id = null;
function Yc(a, b, c, d) {
id = null;
a = xb(d);
a = Wc(a);
if (null !== a)
if (b = Vb(a), null === b)
a = null;
else if (c = b.tag, 13 === c) {
a = Wb(b);
if (null !== a)
return a;
a = null;
} else if (3 === c) {
if (b.stateNode.current.memoizedState.isDehydrated)
return 3 === b.tag ? b.stateNode.containerInfo : null;
a = null;
} else
b !== a && (a = null);
id = a;
return null;
}
function jd(a) {
switch (a) {
case "cancel":
case "click":
case "close":
case "contextmenu":
case "copy":
case "cut":
case "auxclick":
case "dblclick":
case "dragend":
case "dragstart":
case "drop":
case "focusin":
case "focusout":
case "input":
case "invalid":
case "keydown":
case "keypress":
case "keyup":
case "mousedown":
case "mouseup":
case "paste":
case "pause":
case "play":
case "pointercancel":
case "pointerdown":
case "pointerup":
case "ratechange":
case "reset":
case "resize":
case "seeked":
case "submit":
case "touchcancel":
case "touchend":
case "touchstart":
case "volumechange":
case "change":
case "selectionchange":
case "textInput":
case "compositionstart":
case "compositionend":
case "compositionupdate":
case "beforeblur":
case "afterblur":
case "beforeinput":
case "blur":
case "fullscreenchange":
case "focus":
case "hashchange":
case "popstate":
case "select":
case "selectstart":
return 1;
case "drag":
case "dragenter":
case "dragexit":
case "dragleave":
case "dragover":
case "mousemove":
case "mouseout":
case "mouseover":
case "pointermove":
case "pointerout":
case "pointerover":
case "scroll":
case "toggle":
case "touchmove":
case "wheel":
case "mouseenter":
case "mouseleave":
case "pointerenter":
case "pointerleave":
return 4;
case "message":
switch (ec()) {
case fc:
return 1;
case gc:
return 4;
case hc:
case ic:
return 16;
case jc:
return 536870912;
default:
return 16;
}
default:
return 16;
}
}
var kd = null;
var ld = null;
var md = null;
function nd() {
if (md)
return md;
var a, b = ld, c = b.length, d, e = "value" in kd ? kd.value : kd.textContent, f = e.length;
for (a = 0; a < c && b[a] === e[a]; a++)
;
var g = c - a;
for (d = 1; d <= g && b[c - d] === e[f - d]; d++)
;
return md = e.slice(a, 1 < d ? 1 - d : void 0);
}
function od(a) {
var b = a.keyCode;
"charCode" in a ? (a = a.charCode, 0 === a && 13 === b && (a = 13)) : a = b;
10 === a && (a = 13);
return 32 <= a || 13 === a ? a : 0;
}
function pd() {
return true;
}
function qd() {
return false;
}
function rd(a) {
function b(b2, d, e, f, g) {
this._reactName = b2;
this._targetInst = e;
this.type = d;
this.nativeEvent = f;
this.target = g;
this.currentTarget = null;
for (var c in a)
a.hasOwnProperty(c) && (b2 = a[c], this[c] = b2 ? b2(f) : f[c]);
this.isDefaultPrevented = (null != f.defaultPrevented ? f.defaultPrevented : false === f.returnValue) ? pd : qd;
this.isPropagationStopped = qd;
return this;
}
A(b.prototype, { preventDefault: function() {
this.defaultPrevented = true;
var a2 = this.nativeEvent;
a2 && (a2.preventDefault ? a2.preventDefault() : "unknown" !== typeof a2.returnValue && (a2.returnValue = false), this.isDefaultPrevented = pd);
}, stopPropagation: function() {
var a2 = this.nativeEvent;
a2 && (a2.stopPropagation ? a2.stopPropagation() : "unknown" !== typeof a2.cancelBubble && (a2.cancelBubble = true), this.isPropagationStopped = pd);
}, persist: function() {
}, isPersistent: pd });
return b;
}
var sd = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function(a) {
return a.timeStamp || Date.now();
}, defaultPrevented: 0, isTrusted: 0 };
var td = rd(sd);
var ud = A({}, sd, { view: 0, detail: 0 });
var vd = rd(ud);
var wd;
var xd;
var yd;
var Ad = A({}, 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(a) {
return void 0 === a.relatedTarget ? a.fromElement === a.srcElement ? a.toElement : a.fromElement : a.relatedTarget;
}, movementX: function(a) {
if ("movementX" in a)
return a.movementX;
a !== yd && (yd && "mousemove" === a.type ? (wd = a.screenX - yd.screenX, xd = a.screenY - yd.screenY) : xd = wd = 0, yd = a);
return wd;
}, movementY: function(a) {
return "movementY" in a ? a.movementY : xd;
} });
var Bd = rd(Ad);
var Cd = A({}, Ad, { dataTransfer: 0 });
var Dd = rd(Cd);
var Ed = A({}, ud, { relatedTarget: 0 });
var Fd = rd(Ed);
var Gd = A({}, sd, { animationName: 0, elapsedTime: 0, pseudoElement: 0 });
var Hd = rd(Gd);
var Id = A({}, sd, { clipboardData: function(a) {
return "clipboardData" in a ? a.clipboardData : window.clipboardData;
} });
var Jd = rd(Id);
var Kd = A({}, sd, { data: 0 });
var Ld = rd(Kd);
var Md = {
Esc: "Escape",
Spacebar: " ",
Left: "ArrowLeft",
Up: "ArrowUp",
Right: "ArrowRight",
Down: "ArrowDown",
Del: "Delete",
Win: "OS",
Menu: "ContextMenu",
Apps: "ContextMenu",
Scroll: "ScrollLock",
MozPrintableKey: "Unidentified"
};
var Nd = {
8: "Backspace",
9: "Tab",
12: "Clear",
13: "Enter",
16: "Shift",
17: "Control",
18: "Alt",
19: "Pause",
20: "CapsLock",
27: "Escape",
32: " ",
33: "PageUp",
34: "PageDown",
35: "End",
36: "Home",
37: "ArrowLeft",
38: "ArrowUp",
39: "ArrowRight",
40: "ArrowDown",
45: "Insert",
46: "Delete",
112: "F1",
113: "F2",
114: "F3",
115: "F4",
116: "F5",
117: "F6",
118: "F7",
119: "F8",
120: "F9",
121: "F10",
122: "F11",
123: "F12",
144: "NumLock",
145: "ScrollLock",
224: "Meta"
};
var Od = { Alt: "altKey", Control: "ctrlKey", Meta: "metaKey", Shift: "shiftKey" };
function Pd(a) {
var b = this.nativeEvent;
return b.getModifierState ? b.getModifierState(a) : (a = Od[a]) ? !!b[a] : false;
}
function zd() {
return Pd;
}
var Qd = A({}, ud, { key: function(a) {
if (a.key) {
var b = Md[a.key] || a.key;
if ("Unidentified" !== b)
return b;
}
return "keypress" === a.type ? (a = od(a), 13 === a ? "Enter" : String.fromCharCode(a)) : "keydown" === a.type || "keyup" === a.type ? Nd[a.keyCode] || "Unidentified" : "";
}, code: 0, location: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, repeat: 0, locale: 0, getModifierState: zd, charCode: function(a) {
return "keypress" === a.type ? od(a) : 0;
}, keyCode: function(a) {
return "keydown" === a.type || "keyup" === a.type ? a.keyCode : 0;
}, which: function(a) {
return "keypress" === a.type ? od(a) : "keydown" === a.type || "keyup" === a.type ? a.keyCode : 0;
} });
var Rd = rd(Qd);
var Sd = A({}, Ad, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 });
var Td = rd(Sd);
var Ud = A({}, ud, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: zd });
var Vd = rd(Ud);
var Wd = A({}, sd, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 });
var Xd = rd(Wd);
var Yd = A({}, Ad, {
deltaX: function(a) {
return "deltaX" in a ? a.deltaX : "wheelDeltaX" in a ? -a.wheelDeltaX : 0;
},
deltaY: function(a) {
return "deltaY" in a ? a.deltaY : "wheelDeltaY" in a ? -a.wheelDeltaY : "wheelDelta" in a ? -a.wheelDelta : 0;
},
deltaZ: 0,
deltaMode: 0
});
var Zd = rd(Yd);
var $d = [9, 13, 27, 32];
var ae = ia && "CompositionEvent" in window;
var be = null;
ia && "documentMode" in document && (be = document.documentMode);
var ce = ia && "TextEvent" in window && !be;
var de = ia && (!ae || be && 8 < be && 11 >= be);
var ee = String.fromCharCode(32);
var fe = false;
function ge(a, b) {
switch (a) {
case "keyup":
return -1 !== $d.indexOf(b.keyCode);
case "keydown":
return 229 !== b.keyCode;
case "keypress":
case "mousedown":
case "focusout":
return true;
default:
return false;
}
}
function he(a) {
a = a.detail;
return "object" === typeof a && "data" in a ? a.data : null;
}
var ie = false;
function je(a, b) {
switch (a) {
case "compositionend":
return he(b);
case "keypress":
if (32 !== b.which)
return null;
fe = true;
return ee;
case "textInput":
return a = b.data, a === ee && fe ? null : a;
default:
return null;
}
}
function ke(a, b) {
if (ie)
return "compositionend" === a || !ae && ge(a, b) ? (a = nd(), md = ld = kd = null, ie = false, a) : null;
switch (a) {
case "paste":
return null;
case "keypress":
if (!(b.ctrlKey || b.altKey || b.metaKey) || b.ctrlKey && b.altKey) {
if (b.char && 1 < b.char.length)
return b.char;
if (b.which)
return String.fromCharCode(b.which);
}
return null;
case "compositionend":
return de && "ko" !== b.locale ? null : b.data;
default:
return null;
}
}
var le = { 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(a) {
var b = a && a.nodeName && a.nodeName.toLowerCase();
return "input" === b ? !!le[a.type] : "textarea" === b ? true : false;
}
function ne(a, b, c, d) {
Eb(d);
b = oe(b, "onChange");
0 < b.length && (c = new td("onChange", "change", null, c, d), a.push({ event: c, listeners: b }));
}
var pe = null;
var qe = null;
function re(a) {
se(a, 0);
}
function te(a) {
var b = ue(a);
if (Wa(b))
return a;
}
function ve(a, b) {
if ("change" === a)
return b;
}
var we = false;
if (ia) {
if (ia) {
ye = "oninput" in document;
if (!ye) {
ze = document.createElement("div");
ze.setAttribute("oninput", "return;");
ye = "function" === typeof ze.oninput;
}
xe = ye;
} else
xe = false;
we = xe && (!document.documentMode || 9 < document.documentMode);
}
var xe;
var ye;
var ze;
function Ae() {
pe && (pe.detachEvent("onpropertychange", Be), qe = pe = null);
}
function Be(a) {
if ("value" === a.propertyName && te(qe)) {
var b = [];
ne(b, qe, a, xb(a));
Jb(re, b);
}
}
function Ce(a, b, c) {
"focusin" === a ? (Ae(), pe = b, qe = c, pe.attachEvent("onpropertychange", Be)) : "focusout" === a && Ae();
}
function De(a) {
if ("selectionchange" === a || "keyup" === a || "keydown" === a)
return te(qe);
}
function Ee(a, b) {
if ("click" === a)
return te(b);
}
function Fe(a, b) {
if ("input" === a || "change" === a)
return te(b);
}
function Ge(a, b) {
return a === b && (0 !== a || 1 / a === 1 / b) || a !== a && b !== b;
}
var He = "function" === typeof Object.is ? Object.is : Ge;
function Ie(a, b) {
if (He(a, b))
return true;
if ("object" !== typeof a || null === a || "object" !== typeof b || null === b)
return false;
var c = Object.keys(a), d = Object.keys(b);
if (c.length !== d.length)
return false;
for (d = 0; d < c.length; d++) {
var e = c[d];
if (!ja.call(b, e) || !He(a[e], b[e]))
return false;
}
return true;
}
function Je(a) {
for (; a && a.firstChild; )
a = a.firstChild;
return a;
}
function Ke(a, b) {
var c = Je(a);
a = 0;
for (var d; c; ) {
if (3 === c.nodeType) {
d = a + c.textContent.length;
if (a <= b && d >= b)
return { node: c, offset: b - a };
a = d;
}
a: {
for (; c; ) {
if (c.nextSibling) {
c = c.nextSibling;
break a;
}
c = c.parentNode;
}
c = void 0;
}
c = Je(c);
}
}
function Le(a, b) {
return a && b ? a === b ? true : a && 3 === a.nodeType ? false : b && 3 === b.nodeType ? Le(a, b.parentNode) : "contains" in a ? a.contains(b) : a.compareDocumentPosition ? !!(a.compareDocumentPosition(b) & 16) : false : false;
}
function Me() {
for (var a = window, b = Xa(); b instanceof a.HTMLIFrameElement; ) {
try {
var c = "string" === typeof b.contentWindow.location.href;
} catch (d) {
c = false;
}
if (c)
a = b.contentWindow;
else
break;
b = Xa(a.document);
}
return b;
}
function Ne(a) {
var b = a && a.nodeName && a.nodeName.toLowerCase();
return b && ("input" === b && ("text" === a.type || "search" === a.type || "tel" === a.type || "url" === a.type || "password" === a.type) || "textarea" === b || "true" === a.contentEditable);
}
function Oe(a) {
var b = Me(), c = a.focusedElem, d = a.selectionRange;
if (b !== c && c && c.ownerDocument && Le(c.ownerDocument.documentElement, c)) {
if (null !== d && Ne(c)) {
if (b = d.start, a = d.end, void 0 === a && (a = b), "selectionStart" in c)
c.selectionStart = b, c.selectionEnd = Math.min(a, c.value.length);
else if (a = (b = c.ownerDocument || document) && b.defaultView || window, a.getSelection) {
a = a.getSelection();
var e = c.textContent.length, f = Math.min(d.start, e);
d = void 0 === d.end ? f : Math.min(d.end, e);
!a.extend && f > d && (e = d, d = f, f = e);
e = Ke(c, f);
var g = Ke(
c,
d
);
e && g && (1 !== a.rangeCount || a.anchorNode !== e.node || a.anchorOffset !== e.offset || a.focusNode !== g.node || a.focusOffset !== g.offset) && (b = b.createRange(), b.setStart(e.node, e.offset), a.removeAllRanges(), f > d ? (a.addRange(b), a.extend(g.node, g.offset)) : (b.setEnd(g.node, g.offset), a.addRange(b)));
}
}
b = [];
for (a = c; a = a.parentNode; )
1 === a.nodeType && b.push({ element: a, left: a.scrollLeft, top: a.scrollTop });
"function" === typeof c.focus && c.focus();
for (c = 0; c < b.length; c++)
a = b[c], a.element.scrollLeft = a.left, a.element.scrollTop = a.top;
}
}
var Pe = ia && "documentMode" in document && 11 >= document.documentMode;
var Qe = null;
var Re = null;
var Se = null;
var Te = false;
function Ue(a, b, c) {
var d = c.window === c ? c.document : 9 === c.nodeType ? c : c.ownerDocument;
Te || null == Qe || Qe !== Xa(d) || (d = Qe, "selectionStart" in d && Ne(d) ? d = { start: d.selectionStart, end: d.selectionEnd } : (d = (d.ownerDocument && d.ownerDocument.defaultView || window).getSelection(), d = { anchorNode: d.anchorNode, anchorOffset: d.anchorOffset, focusNode: d.focusNode, focusOffset: d.focusOffset }), Se && Ie(Se, d) || (Se = d, d = oe(Re, "onSelect"), 0 < d.length && (b = new td("onSelect", "select", null, b, c), a.push({ event: b, listeners: d }), b.target = Qe)));
}
function Ve(a, b) {
var c = {};
c[a.toLowerCase()] = b.toLowerCase();
c["Webkit" + a] = "webkit" + b;
c["Moz" + a] = "moz" + b;
return c;
}
var We = { animationend: Ve("Animation", "AnimationEnd"), animationiteration: Ve("Animation", "AnimationIteration"), animationstart: Ve("Animation", "AnimationStart"), transitionend: Ve("Transition", "TransitionEnd") };
var Xe = {};
var 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(a) {
if (Xe[a])
return Xe[a];
if (!We[a])
return a;
var b = We[a], c;
for (c in b)
if (b.hasOwnProperty(c) && c in Ye)
return Xe[a] = b[c];
return a;
}
var $e = Ze("animationend");
var af = Ze("animationiteration");
var bf = Ze("animationstart");
var cf = Ze("transitionend");
var df = /* @__PURE__ */ new Map();
var 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(" ");
function ff(a, b) {
df.set(a, b);
fa(b, [a]);
}
for (gf = 0; gf < ef.length; gf++) {
hf = ef[gf], jf = hf.toLowerCase(), kf = hf[0].toUpperCase() + hf.slice(1);
ff(jf, "on" + kf);
}
var hf;
var jf;
var kf;
var gf;
ff($e, "onAnimationEnd");
ff(af, "onAnimationIteration");
ff(bf, "onAnimationStart");
ff("dblclick", "onDoubleClick");
ff("focusin", "onFocus");
ff("focusout", "onBlur");
ff(cf, "onTransitionEnd");
ha("onMouseEnter", ["mouseout", "mouseover"]);
ha("onMouseLeave", ["mouseout", "mouseover"]);
ha("onPointerEnter", ["pointerout", "pointerover"]);
ha("onPointerLeave", ["pointerout", "pointerover"]);
fa("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" "));
fa("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));
fa("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]);
fa("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" "));
fa("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" "));
fa("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));
var lf = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" ");
var mf = new Set("cancel close invalid load scroll toggle".split(" ").concat(lf));
function nf(a, b, c) {
var d = a.type || "unknown-event";
a.currentTarget = c;
Ub(d, b, void 0, a);
a.currentTarget = null;
}
function se(a, b) {
b = 0 !== (b & 4);
for (var c = 0; c < a.length; c++) {
var d = a[c], e = d.event;
d = d.listeners;
a: {
var f = void 0;
if (b)
for (var g = d.length - 1; 0 <= g; g--) {
var h = d[g], k = h.instance, l = h.currentTarget;
h = h.listener;
if (k !== f && e.isPropagationStopped())
break a;
nf(e, h, l);
f = k;
}
else
for (g = 0; g < d.length; g++) {
h = d[g];
k = h.instance;
l = h.currentTarget;
h = h.listener;
if (k !== f && e.isPropagationStopped())
break a;
nf(e, h, l);
f = k;
}
}
}
if (Qb)
throw a = Rb, Qb = false, Rb = null, a;
}
function D(a, b) {
var c = b[of];
void 0 === c && (c = b[of] = /* @__PURE__ */ new Set());
var d = a + "__bubble";
c.has(d) || (pf(b, a, 2, false), c.add(d));
}
function qf(a, b, c) {
var d = 0;
b && (d |= 4);
pf(c, a, d, b);
}
var rf = "_reactListening" + Math.random().toString(36).slice(2);
function sf(a) {
if (!a[rf]) {
a[rf] = true;
da.forEach(function(b2) {
"selectionchange" !== b2 && (mf.has(b2) || qf(b2, false, a), qf(b2, true, a));
});
var b = 9 === a.nodeType ? a : a.ownerDocument;
null === b || b[rf] || (b[rf] = true, qf("selectionchange", false, b));
}
}
function pf(a, b, c, d) {
switch (jd(b)) {
case 1:
var e = ed;
break;
case 4:
e = gd;
break;
default:
e = fd;
}
c = e.bind(null, b, c, a);
e = void 0;
!Lb || "touchstart" !== b && "touchmove" !== b && "wheel" !== b || (e = true);
d ? void 0 !== e ? a.addEventListener(b, c, { capture: true, passive: e }) : a.addEventListener(b, c, true) : void 0 !== e ? a.addEventListener(b, c, { passive: e }) : a.addEventListener(b, c, false);
}
function hd(a, b, c, d, e) {
var f = d;
if (0 === (b & 1) && 0 === (b & 2) && null !== d)
a:
for (; ; ) {
if (null === d)
return;
var g = d.tag;
if (3 === g || 4 === g) {
var h = d.stateNode.containerInfo;
if (h === e || 8 === h.nodeType && h.parentNode === e)
break;
if (4 === g)
for (g = d.return; null !== g; ) {
var k = g.tag;
if (3 === k || 4 === k) {
if (k = g.stateNode.containerInfo, k === e || 8 === k.nodeType && k.parentNode === e)
return;
}
g = g.return;
}
for (; null !== h; ) {
g = Wc(h);
if (null === g)
return;
k = g.tag;
if (5 === k || 6 === k) {
d = f = g;
continue a;
}
h = h.parentNode;
}
}
d = d.return;
}
Jb(function() {
var d2 = f, e2 = xb(c), g2 = [];
a: {
var h2 = df.get(a);
if (void 0 !== h2) {
var k2 = td, n = a;
switch (a) {
case "keypress":
if (0 === od(c))
break a;
case "keydown":
case "keyup":
k2 = Rd;
break;
case "focusin":
n = "focus";
k2 = Fd;
break;
case "focusout":
n = "blur";
k2 = Fd;
break;
case "beforeblur":
case "afterblur":
k2 = Fd;
break;
case "click":
if (2 === c.button)
break a;
case "auxclick":
case "dblclick":
case "mousedown":
case "mousemove":
case "mouseup":
case "mouseout":
case "mouseover":
case "contextmenu":
k2 = Bd;
break;
case "drag":
case "dragend":
case "dragenter":
case "dragexit":
case "dragleave":
case "dragover":
case "dragstart":
case "drop":
k2 = Dd;
break;
case "touchcancel":
case "touchend":
case "touchmove":
case "touchstart":
k2 = Vd;
break;
case $e:
case af:
case bf:
k2 = Hd;
break;
case cf:
k2 = Xd;
break;
case "scroll":
k2 = vd;
break;
case "wheel":
k2 = Zd;
break;
case "copy":
case "cut":
case "paste":
k2 = Jd;
break;
case "gotpointercapture":
case "lostpointercapture":
case "pointercancel":
case "pointerdown":
case "pointermove":
case "pointerout":
case "pointerover":
case "pointerup":
k2 = Td;
}
var t = 0 !== (b & 4), J = !t && "scroll" === a, x = t ? null !== h2 ? h2 + "Capture" : null : h2;
t = [];
for (var w = d2, u; null !== w; ) {
u = w;
var F = u.stateNode;
5 === u.tag && null !== F && (u = F, null !== x && (F = Kb(w, x), null != F && t.push(tf(w, F, u))));
if (J)
break;
w = w.return;
}
0 < t.length && (h2 = new k2(h2, n, null, c, e2), g2.push({ event: h2, listeners: t }));
}
}
if (0 === (b & 7)) {
a: {
h2 = "mouseover" === a || "pointerover" === a;
k2 = "mouseout" === a || "pointerout" === a;
if (h2 && c !== wb && (n = c.relatedTarget || c.fromElement) && (Wc(n) || n[uf]))
break a;
if (k2 || h2) {
h2 = e2.window === e2 ? e2 : (h2 = e2.ownerDocument) ? h2.defaultView || h2.parentWindow : window;
if (k2) {
if (n = c.relatedTarget || c.toElement, k2 = d2, n = n ? Wc(n) : null, null !== n && (J = Vb(n), n !== J || 5 !== n.tag && 6 !== n.tag))
n = null;
} else
k2 = null, n = d2;
if (k2 !== n) {
t = Bd;
F = "onMouseLeave";
x = "onMouseEnter";
w = "mouse";
if ("pointerout" === a || "pointerover" === a)
t = Td, F = "onPointerLeave", x = "onPointerEnter", w = "pointer";
J = null == k2 ? h2 : ue(k2);
u = null == n ? h2 : ue(n);
h2 = new t(F, w + "leave", k2, c, e2);
h2.target = J;
h2.relatedTarget = u;
F = null;
Wc(e2) === d2 && (t = new t(x, w + "enter", n, c, e2), t.target = u, t.relatedTarget = J, F = t);
J = F;
if (k2 && n)
b: {
t = k2;
x = n;
w = 0;
for (u = t; u; u = vf(u))
w++;
u = 0;
for (F = x; F; F = vf(F))
u++;
for (; 0 < w - u; )
t = vf(t), w--;
for (; 0 < u - w; )
x = vf(x), u--;
for (; w--; ) {
if (t === x || null !== x && t === x.alternate)
break b;
t = vf(t);
x = vf(x);
}
t = null;
}
else
t = null;
null !== k2 && wf(g2, h2, k2, t, false);
null !== n && null !== J && wf(g2, J, n, t, true);
}
}
}
a: {
h2 = d2 ? ue(d2) : window;
k2 = h2.nodeName && h2.nodeName.toLowerCase();
if ("select" === k2 || "input" === k2 && "file" === h2.type)
var na = ve;
else if (me(h2))
if (we)
na = Fe;
else {
na = De;
var xa = Ce;
}
else
(k2 = h2.nodeName) && "input" === k2.toLowerCase() && ("checkbox" === h2.type || "radio" === h2.type) && (na = Ee);
if (na && (na = na(a, d2))) {
ne(g2, na, c, e2);
break a;
}
xa && xa(a, h2, d2);
"focusout" === a && (xa = h2._wrapperState) && xa.controlled && "number" === h2.type && cb(h2, "number", h2.value);
}
xa = d2 ? ue(d2) : window;
switch (a) {
case "focusin":
if (me(xa) || "true" === xa.contentEditable)
Qe = xa, Re = d2, Se = null;
break;
case "focusout":
Se = Re = Qe = null;
break;
case "mousedown":
Te = true;
break;
case "contextmenu":
case "mouseup":
case "dragend":
Te = false;
Ue(g2, c, e2);
break;
case "selectionchange":
if (Pe)
break;
case "keydown":
case "keyup":
Ue(g2, c, e2);
}
var $a;
if (ae)
b: {
switch (a) {
case "compositionstart":
var ba = "onCompositionStart";
break b;
case "compositionend":
ba = "onCompositionEnd";
break b;
case "compositionupdate":
ba = "onCompositionUpdate";
break b;
}
ba = void 0;
}
else
ie ? ge(a, c) && (ba = "onCompositionEnd") : "keydown" === a && 229 === c.keyCode && (ba = "onCompositionStart");
ba && (de && "ko" !== c.locale && (ie || "onCompositionStart" !== ba ? "onCompositionEnd" === ba && ie && ($a = nd()) : (kd = e2, ld = "value" in kd ? kd.value : kd.textContent, ie = true)), xa = oe(d2, ba), 0 < xa.length && (ba = new Ld(ba, a, null, c, e2), g2.push({ event: ba, listeners: xa }), $a ? ba.data = $a : ($a = he(c), null !== $a && (ba.data = $a))));
if ($a = ce ? je(a, c) : ke(a, c))
d2 = oe(d2, "onBeforeInput"), 0 < d2.length && (e2 = new Ld("onBeforeInput", "beforeinput", null, c, e2), g2.push({ event: e2, listeners: d2 }), e2.data = $a);
}
se(g2, b);
});
}
function tf(a, b, c) {
return { instance: a, listener: b, currentTarget: c };
}
function oe(a, b) {
for (var c = b + "Capture", d = []; null !== a; ) {
var e = a, f = e.stateNode;
5 === e.tag && null !== f && (e = f, f = Kb(a, c), null != f && d.unshift(tf(a, f, e)), f = Kb(a, b), null != f && d.push(tf(a, f, e)));
a = a.return;
}
return d;
}
function vf(a) {
if (null === a)
return null;
do
a = a.return;
while (a && 5 !== a.tag);
return a ? a : null;
}
function wf(a, b, c, d, e) {
for (var f = b._reactName, g = []; null !== c && c !== d; ) {
var h = c, k = h.alternate, l = h.stateNode;
if (null !== k && k === d)
break;
5 === h.tag && null !== l && (h = l, e ? (k = Kb(c, f), null != k && g.unshift(tf(c, k, h))) : e || (k = Kb(c, f), null != k && g.push(tf(c, k, h))));
c = c.return;
}
0 !== g.length && a.push({ event: b, listeners: g });
}
var xf = /\r\n?/g;
var yf = /\u0000|\uFFFD/g;
function zf(a) {
return ("string" === typeof a ? a : "" + a).replace(xf, "\n").replace(yf, "");
}
function Af(a, b, c) {
b = zf(b);
if (zf(a) !== b && c)
throw Error(p(425));
}
function Bf() {
}
var Cf = null;
var Df = null;
function Ef(a, b) {
return "textarea" === a || "noscript" === a || "string" === typeof b.children || "number" === typeof b.children || "object" === typeof b.dangerouslySetInnerHTML && null !== b.dangerouslySetInnerHTML && null != b.dangerouslySetInnerHTML.__html;
}
var Ff = "function" === typeof setTimeout ? setTimeout : void 0;
var Gf = "function" === typeof clearTimeout ? clearTimeout : void 0;
var Hf = "function" === typeof Promise ? Promise : void 0;
var Jf = "function" === typeof queueMicrotask ? queueMicrotask : "undefined" !== typeof Hf ? function(a) {
return Hf.resolve(null).then(a).catch(If);
} : Ff;
function If(a) {
setTimeout(function() {
throw a;
});
}
function Kf(a, b) {
var c = b, d = 0;
do {
var e = c.nextSibling;
a.removeChild(c);
if (e && 8 === e.nodeType)
if (c = e.data, "/$" === c) {
if (0 === d) {
a.removeChild(e);
bd(b);
return;
}
d--;
} else
"$" !== c && "$?" !== c && "$!" !== c || d++;
c = e;
} while (c);
bd(b);
}
function Lf(a) {
for (; null != a; a = a.nextSibling) {
var b = a.nodeType;
if (1 === b || 3 === b)
break;
if (8 === b) {
b = a.data;
if ("$" === b || "$!" === b || "$?" === b)
break;
if ("/$" === b)
return null;
}
}
return a;
}
function Mf(a) {
a = a.previousSibling;
for (var b = 0; a; ) {
if (8 === a.nodeType) {
var c = a.data;
if ("$" === c || "$!" === c || "$?" === c) {
if (0 === b)
return a;
b--;
} else
"/$" === c && b++;
}
a = a.previousSibling;
}
return null;
}
var Nf = Math.random().toString(36).slice(2);
var Of = "__reactFiber$" + Nf;
var Pf = "__reactProps$" + Nf;
var uf = "__reactContainer$" + Nf;
var of = "__reactEvents$" + Nf;
var Qf = "__reactListeners$" + Nf;
var Rf = "__reactHandles$" + Nf;
function Wc(a) {
var b = a[Of];
if (b)
return b;
for (var c = a.parentNode; c; ) {
if (b = c[uf] || c[Of]) {
c = b.alternate;
if (null !== b.child || null !== c && null !== c.child)
for (a = Mf(a); null !== a; ) {
if (c = a[Of])
return c;
a = Mf(a);
}
return b;
}
a = c;
c = a.parentNode;
}
return null;
}
function Cb(a) {
a = a[Of] || a[uf];
return !a || 5 !== a.tag && 6 !== a.tag && 13 !== a.tag && 3 !== a.tag ? null : a;
}
function ue(a) {
if (5 === a.tag || 6 === a.tag)
return a.stateNode;
throw Error(p(33));
}
function Db(a) {
return a[Pf] || null;
}
var Sf = [];
var Tf = -1;
function Uf(a) {
return { current: a };
}
function E(a) {
0 > Tf || (a.current = Sf[Tf], Sf[Tf] = null, Tf--);
}
function G(a, b) {
Tf++;
Sf[Tf] = a.current;
a.current = b;
}
var Vf = {};
var H = Uf(Vf);
var Wf = Uf(false);
var Xf = Vf;
function Yf(a, b) {
var c = a.type.contextTypes;
if (!c)
return Vf;
var d = a.stateNode;
if (d && d.__reactInternalMemoizedUnmaskedChildContext === b)
return d.__reactInternalMemoizedMaskedChildContext;
var e = {}, f;
for (f in c)
e[f] = b[f];
d && (a = a.stateNode, a.__reactInternalMemoizedUnmaskedChildContext = b, a.__reactInternalMemoizedMaskedChildContext = e);
return e;
}
function Zf(a) {
a = a.childContextTypes;
return null !== a && void 0 !== a;
}
function $f() {
E(Wf);
E(H);
}
function ag(a, b, c) {
if (H.current !== Vf)
throw Error(p(168));
G(H, b);
G(Wf, c);
}
function bg(a, b, c) {
var d = a.stateNode;
b = b.childContextTypes;
if ("function" !== typeof d.getChildContext)
return c;
d = d.getChildContext();
for (var e in d)
if (!(e in b))
throw Error(p(108, Ra(a) || "Unknown", e));
return A({}, c, d);
}
function cg(a) {
a = (a = a.stateNode) && a.__reactInternalMemoizedMergedChildContext || Vf;
Xf = H.current;
G(H, a);
G(Wf, Wf.current);
return true;
}
function dg(a, b, c) {
var d = a.stateNode;
if (!d)
throw Error(p(169));
c ? (a = bg(a, b, Xf), d.__reactInternalMemoizedMergedChildContext = a, E(Wf), E(H), G(H, a)) : E(Wf);
G(Wf, c);
}
var eg = null;
var fg = false;
var gg = false;
function hg(a) {
null === eg ? eg = [a] : eg.push(a);
}
function ig(a) {
fg = true;
hg(a);
}
function jg() {
if (!gg && null !== eg) {
gg = true;
var a = 0, b = C;
try {
var c = eg;
for (C = 1; a < c.length; a++) {
var d = c[a];
do
d = d(true);
while (null !== d);
}
eg = null;
fg = false;
} catch (e) {
throw null !== eg && (eg = eg.slice(a + 1)), ac(fc, jg), e;
} finally {
C = b, gg = false;
}
}
return null;
}
var kg = [];
var lg = 0;
var mg = null;
var ng = 0;
var og = [];
var pg = 0;
var qg = null;
var rg = 1;
var sg = "";
function tg(a, b) {
kg[lg++] = ng;
kg[lg++] = mg;
mg = a;
ng = b;
}
function ug(a, b, c) {
og[pg++] = rg;
og[pg++] = sg;
og[pg++] = qg;
qg = a;
var d = rg;
a = sg;
var e = 32 - oc(d) - 1;
d &= ~(1 << e);
c += 1;
var f = 32 - oc(b) + e;
if (30 < f) {
var g = e - e % 5;
f = (d & (1 << g) - 1).toString(32);
d >>= g;
e -= g;
rg = 1 << 32 - oc(b) + e | c << e | d;
sg = f + a;
} else
rg = 1 << f | c << e | d, sg = a;
}
function vg(a) {
null !== a.return && (tg(a, 1), ug(a, 1, 0));
}
function wg(a) {
for (; a === mg; )
mg = kg[--lg], kg[lg] = null, ng = kg[--lg], kg[lg] = null;
for (; a === qg; )
qg = og[--pg], og[pg] = null, sg = og[--pg], og[pg] = null, rg = og[--pg], og[pg] = null;
}
var xg = null;
var yg = null;
var I = false;
var zg = null;
function Ag(a, b) {
var c = Bg(5, null, null, 0);
c.elementType = "DELETED";
c.stateNode = b;
c.return = a;
b = a.deletions;
null === b ? (a.deletions = [c], a.flags |= 16) : b.push(c);
}
function Cg(a, b) {
switch (a.tag) {
case 5:
var c = a.type;
b = 1 !== b.nodeType || c.toLowerCase() !== b.nodeName.toLowerCase() ? null : b;
return null !== b ? (a.stateNode = b, xg = a, yg = Lf(b.firstChild), true) : false;
case 6:
return b = "" === a.pendingProps || 3 !== b.nodeType ? null : b, null !== b ? (a.stateNode = b, xg = a, yg = null, true) : false;
case 13:
return b = 8 !== b.nodeType ? null : b, null !== b ? (c = null !== qg ? { id: rg, overflow: sg } : null, a.memoizedState = { dehydrated: b, treeContext: c, retryLane: 1073741824 }, c = Bg(18, null, null, 0), c.stateNode = b, c.return = a, a.child = c, xg = a, yg = null, true) : false;
default:
return false;
}
}
function Dg(a) {
return 0 !== (a.mode & 1) && 0 === (a.flags & 128);
}
function Eg(a) {
if (I) {
var b = yg;
if (b) {
var c = b;
if (!Cg(a, b)) {
if (Dg(a))
throw Error(p(418));
b = Lf(c.nextSibling);
var d = xg;
b && Cg(a, b) ? Ag(d, c) : (a.flags = a.flags & -4097 | 2, I = false, xg = a);
}
} else {
if (Dg(a))
throw Error(p(418));
a.flags = a.flags & -4097 | 2;
I = false;
xg = a;
}
}
}
function Fg(a) {
for (a = a.return; null !== a && 5 !== a.tag && 3 !== a.tag && 13 !== a.tag; )
a = a.return;
xg = a;
}
function Gg(a) {
if (a !== xg)
return false;
if (!I)
return Fg(a), I = true, false;
var b;
(b = 3 !== a.tag) && !(b = 5 !== a.tag) && (b = a.type, b = "head" !== b && "body" !== b && !Ef(a.type, a.memoizedProps));
if (b && (b = yg)) {
if (Dg(a))
throw Hg(), Error(p(418));
for (; b; )
Ag(a, b), b = Lf(b.nextSibling);
}
Fg(a);
if (13 === a.tag) {
a = a.memoizedState;
a = null !== a ? a.dehydrated : null;
if (!a)
throw Error(p(317));
a: {
a = a.nextSibling;
for (b = 0; a; ) {
if (8 === a.nodeType) {
var c = a.data;
if ("/$" === c) {
if (0 === b) {
yg = Lf(a.nextSibling);
break a;
}
b--;
} else
"$" !== c && "$!" !== c && "$?" !== c || b++;
}
a = a.nextSibling;
}
yg = null;
}
} else
yg = xg ? Lf(a.stateNode.nextSibling) : null;
return true;
}
function Hg() {
for (var a = yg; a; )
a = Lf(a.nextSibling);
}
function Ig() {
yg = xg = null;
I = false;
}
function Jg(a) {
null === zg ? zg = [a] : zg.push(a);
}
var Kg = ua.ReactCurrentBatchConfig;
function Lg(a, b) {
if (a && a.defaultProps) {
b = A({}, b);
a = a.defaultProps;
for (var c in a)
void 0 === b[c] && (b[c] = a[c]);
return b;
}
return b;
}
var Mg = Uf(null);
var Ng = null;
var Og = null;
var Pg = null;
function Qg() {
Pg = Og = Ng = null;
}
function Rg(a) {
var b = Mg.current;
E(Mg);
a._currentValue = b;
}
function Sg(a, b, c) {
for (; null !== a; ) {
var d = a.alternate;
(a.childLanes & b) !== b ? (a.childLanes |= b, null !== d && (d.childLanes |= b)) : null !== d && (d.childLanes & b) !== b && (d.childLanes |= b);
if (a === c)
break;
a = a.return;
}
}
function Tg(a, b) {
Ng = a;
Pg = Og = null;
a = a.dependencies;
null !== a && null !== a.firstContext && (0 !== (a.lanes & b) && (Ug = true), a.firstContext = null);
}
function Vg(a) {
var b = a._currentValue;
if (Pg !== a)
if (a = { context: a, memoizedValue: b, next: null }, null === Og) {
if (null === Ng)
throw Error(p(308));
Og = a;
Ng.dependencies = { lanes: 0, firstContext: a };
} else
Og = Og.next = a;
return b;
}
var Wg = null;
function Xg(a) {
null === Wg ? Wg = [a] : Wg.push(a);
}
function Yg(a, b, c, d) {
var e = b.interleaved;
null === e ? (c.next = c, Xg(b)) : (c.next = e.next, e.next = c);
b.interleaved = c;
return Zg(a, d);
}
function Zg(a, b) {
a.lanes |= b;
var c = a.alternate;
null !== c && (c.lanes |= b);
c = a;
for (a = a.return; null !== a; )
a.childLanes |= b, c = a.alternate, null !== c && (c.childLanes |= b), c = a, a = a.return;
return 3 === c.tag ? c.stateNode : null;
}
var $g = false;
function ah(a) {
a.updateQueue = { baseState: a.memoizedState, firstBaseUpdate: null, lastBaseUpdate: null, shared: { pending: null, interleaved: null, lanes: 0 }, effects: null };
}
function bh(a, b) {
a = a.updateQueue;
b.updateQueue === a && (b.updateQueue = { baseState: a.baseState, firstBaseUpdate: a.firstBaseUpdate, lastBaseUpdate: a.lastBaseUpdate, shared: a.shared, effects: a.effects });
}
function ch(a, b) {
return { eventTime: a, lane: b, tag: 0, payload: null, callback: null, next: null };
}
function dh(a, b, c) {
var d = a.updateQueue;
if (null === d)
return null;
d = d.shared;
if (0 !== (K & 2)) {
var e = d.pending;
null === e ? b.next = b : (b.next = e.next, e.next = b);
d.pending = b;
return Zg(a, c);
}
e = d.interleaved;
null === e ? (b.next = b, Xg(d)) : (b.next = e.next, e.next = b);
d.interleaved = b;
return Zg(a, c);
}
function eh(a, b, c) {
b = b.updateQueue;
if (null !== b && (b = b.shared, 0 !== (c & 4194240))) {
var d = b.lanes;
d &= a.pendingLanes;
c |= d;
b.lanes = c;
Cc(a, c);
}
}
function fh(a, b) {
var c = a.updateQueue, d = a.alternate;
if (null !== d && (d = d.updateQueue, c === d)) {
var e = null, f = null;
c = c.firstBaseUpdate;
if (null !== c) {
do {
var g = { eventTime: c.eventTime, lane: c.lane, tag: c.tag, payload: c.payload, callback: c.callback, next: null };
null === f ? e = f = g : f = f.next = g;
c = c.next;
} while (null !== c);
null === f ? e = f = b : f = f.next = b;
} else
e = f = b;
c = { baseState: d.baseState, firstBaseUpdate: e, lastBaseUpdate: f, shared: d.shared, effects: d.effects };
a.updateQueue = c;
return;
}
a = c.lastBaseUpdate;
null === a ? c.firstBaseUpdate = b : a.next = b;
c.lastBaseUpdate = b;
}
function gh(a, b, c, d) {
var e = a.updateQueue;
$g = false;
var f = e.firstBaseUpdate, g = e.lastBaseUpdate, h = e.shared.pending;
if (null !== h) {
e.shared.pending = null;
var k = h, l = k.next;
k.next = null;
null === g ? f = l : g.next = l;
g = k;
var m = a.alternate;
null !== m && (m = m.updateQueue, h = m.lastBaseUpdate, h !== g && (null === h ? m.firstBaseUpdate = l : h.next = l, m.lastBaseUpdate = k));
}
if (null !== f) {
var q = e.baseState;
g = 0;
m = l = k = null;
h = f;
do {
var r = h.lane, y = h.eventTime;
if ((d & r) === r) {
null !== m && (m = m.next = {
eventTime: y,
lane: 0,
tag: h.tag,
payload: h.payload,
callback: h.callback,
next: null
});
a: {
var n = a, t = h;
r = b;
y = c;
switch (t.tag) {
case 1:
n = t.payload;
if ("function" === typeof n) {
q = n.call(y, q, r);
break a;
}
q = n;
break a;
case 3:
n.flags = n.flags & -65537 | 128;
case 0:
n = t.payload;
r = "function" === typeof n ? n.call(y, q, r) : n;
if (null === r || void 0 === r)
break a;
q = A({}, q, r);
break a;
case 2:
$g = true;
}
}
null !== h.callback && 0 !== h.lane && (a.flags |= 64, r = e.effects, null === r ? e.effects = [h] : r.push(h));
} else
y = { eventTime: y, lane: r, tag: h.tag, payload: h.payload, callback: h.callback, next: null }, null === m ? (l = m = y, k = q) : m = m.next = y, g |= r;
h = h.next;
if (null === h)
if (h = e.shared.pending, null === h)
break;
else
r = h, h = r.next, r.next = null, e.lastBaseUpdate = r, e.shared.pending = null;
} while (1);
null === m && (k = q);
e.baseState = k;
e.firstBaseUpdate = l;
e.lastBaseUpdate = m;
b = e.shared.interleaved;
if (null !== b) {
e = b;
do
g |= e.lane, e = e.next;
while (e !== b);
} else
null === f && (e.shared.lanes = 0);
hh |= g;
a.lanes = g;
a.memoizedState = q;
}
}
function ih(a, b, c) {
a = b.effects;
b.effects = null;
if (null !== a)
for (b = 0; b < a.length; b++) {
var d = a[b], e = d.callback;
if (null !== e) {
d.callback = null;
d = c;
if ("function" !== typeof e)
throw Error(p(191, e));
e.call(d);
}
}
}
var jh = new aa.Component().refs;
function kh(a, b, c, d) {
b = a.memoizedState;
c = c(d, b);
c = null === c || void 0 === c ? b : A({}, b, c);
a.memoizedState = c;
0 === a.lanes && (a.updateQueue.baseState = c);
}
var nh = { isMounted: function(a) {
return (a = a._reactInternals) ? Vb(a) === a : false;
}, enqueueSetState: function(a, b, c) {
a = a._reactInternals;
var d = L(), e = lh(a), f = ch(d, e);
f.payload = b;
void 0 !== c && null !== c && (f.callback = c);
b = dh(a, f, e);
null !== b && (mh(b, a, e, d), eh(b, a, e));
}, enqueueReplaceState: function(a, b, c) {
a = a._reactInternals;
var d = L(), e = lh(a), f = ch(d, e);
f.tag = 1;
f.payload = b;
void 0 !== c && null !== c && (f.callback = c);
b = dh(a, f, e);
null !== b && (mh(b, a, e, d), eh(b, a, e));
}, enqueueForceUpdate: function(a, b) {
a = a._reactInternals;
var c = L(), d = lh(a), e = ch(c, d);
e.tag = 2;
void 0 !== b && null !== b && (e.callback = b);
b = dh(a, e, d);
null !== b && (mh(b, a, d, c), eh(b, a, d));
} };
function oh(a, b, c, d, e, f, g) {
a = a.stateNode;
return "function" === typeof a.shouldComponentUpdate ? a.shouldComponentUpdate(d, f, g) : b.prototype && b.prototype.isPureReactComponent ? !Ie(c, d) || !Ie(e, f) : true;
}
function ph(a, b, c) {
var d = false, e = Vf;
var f = b.contextType;
"object" === typeof f && null !== f ? f = Vg(f) : (e = Zf(b) ? Xf : H.current, d = b.contextTypes, f = (d = null !== d && void 0 !== d) ? Yf(a, e) : Vf);
b = new b(c, f);
a.memoizedState = null !== b.state && void 0 !== b.state ? b.state : null;
b.updater = nh;
a.stateNode = b;
b._reactInternals = a;
d && (a = a.stateNode, a.__reactInternalMemoizedUnmaskedChildContext = e, a.__reactInternalMemoizedMaskedChildContext = f);
return b;
}
function qh(a, b, c, d) {
a = b.state;
"function" === typeof b.componentWillReceiveProps && b.componentWillReceiveProps(c, d);
"function" === typeof b.UNSAFE_componentWillReceiveProps && b.UNSAFE_componentWillReceiveProps(c, d);
b.state !== a && nh.enqueueReplaceState(b, b.state, null);
}
function rh(a, b, c, d) {
var e = a.stateNode;
e.props = c;
e.state = a.memoizedState;
e.refs = jh;
ah(a);
var f = b.contextType;
"object" === typeof f && null !== f ? e.context = Vg(f) : (f = Zf(b) ? Xf : H.current, e.context = Yf(a, f));
e.state = a.memoizedState;
f = b.getDerivedStateFromProps;
"function" === typeof f && (kh(a, b, f, c), e.state = a.memoizedState);
"function" === typeof b.getDerivedStateFromProps || "function" === typeof e.getSnapshotBeforeUpdate || "function" !== typeof e.UNSAFE_componentWillMount && "function" !== typeof e.componentWillMount || (b = e.state, "function" === typeof e.componentWillMount && e.componentWillMount(), "function" === typeof e.UNSAFE_componentWillMount && e.UNSAFE_componentWillMount(), b !== e.state && nh.enqueueReplaceState(e, e.state, null), gh(a, c, e, d), e.state = a.memoizedState);
"function" === typeof e.componentDidMount && (a.flags |= 4194308);
}
function sh(a, b, c) {
a = c.ref;
if (null !== a && "function" !== typeof a && "object" !== typeof a) {
if (c._owner) {
c = c._owner;
if (c) {
if (1 !== c.tag)
throw Error(p(309));
var d = c.stateNode;
}
if (!d)
throw Error(p(147, a));
var e = d, f = "" + a;
if (null !== b && null !== b.ref && "function" === typeof b.ref && b.ref._stringRef === f)
return b.ref;
b = function(a2) {
var b2 = e.refs;
b2 === jh && (b2 = e.refs = {});
null === a2 ? delete b2[f] : b2[f] = a2;
};
b._stringRef = f;
return b;
}
if ("string" !== typeof a)
throw Error(p(284));
if (!c._owner)
throw Error(p(290, a));
}
return a;
}
function th(a, b) {
a = Object.prototype.toString.call(b);
throw Error(p(31, "[object Object]" === a ? "object with keys {" + Object.keys(b).join(", ") + "}" : a));
}
function uh(a) {
var b = a._init;
return b(a._payload);
}
function vh(a) {
function b(b2, c2) {
if (a) {
var d2 = b2.deletions;
null === d2 ? (b2.deletions = [c2], b2.flags |= 16) : d2.push(c2);
}
}
function c(c2, d2) {
if (!a)
return null;
for (; null !== d2; )
b(c2, d2), d2 = d2.sibling;
return null;
}
function d(a2, b2) {
for (a2 = /* @__PURE__ */ new Map(); null !== b2; )
null !== b2.key ? a2.set(b2.key, b2) : a2.set(b2.index, b2), b2 = b2.sibling;
return a2;
}
function e(a2, b2) {
a2 = wh(a2, b2);
a2.index = 0;
a2.sibling = null;
return a2;
}
function f(b2, c2, d2) {
b2.index = d2;
if (!a)
return b2.flags |= 1048576, c2;
d2 = b2.alternate;
if (null !== d2)
return d2 = d2.index, d2 < c2 ? (b2.flags |= 2, c2) : d2;
b2.flags |= 2;
return c2;
}
function g(b2) {
a && null === b2.alternate && (b2.flags |= 2);
return b2;
}
function h(a2, b2, c2, d2) {
if (null === b2 || 6 !== b2.tag)
return b2 = xh(c2, a2.mode, d2), b2.return = a2, b2;
b2 = e(b2, c2);
b2.return = a2;
return b2;
}
function k(a2, b2, c2, d2) {
var f2 = c2.type;
if (f2 === ya)
return m(a2, b2, c2.props.children, d2, c2.key);
if (null !== b2 && (b2.elementType === f2 || "object" === typeof f2 && null !== f2 && f2.$$typeof === Ha && uh(f2) === b2.type))
return d2 = e(b2, c2.props), d2.ref = sh(a2, b2, c2), d2.return = a2, d2;
d2 = yh(c2.type, c2.key, c2.props, null, a2.mode, d2);
d2.ref = sh(a2, b2, c2);
d2.return = a2;
return d2;
}
function l(a2, b2, c2, d2) {
if (null === b2 || 4 !== b2.tag || b2.stateNode.containerInfo !== c2.containerInfo || b2.stateNode.implementation !== c2.implementation)
return b2 = zh(c2, a2.mode, d2), b2.return = a2, b2;
b2 = e(b2, c2.children || []);
b2.return = a2;
return b2;
}
function m(a2, b2, c2, d2, f2) {
if (null === b2 || 7 !== b2.tag)
return b2 = Ah(c2, a2.mode, d2, f2), b2.return = a2, b2;
b2 = e(b2, c2);
b2.return = a2;
return b2;
}
function q(a2, b2, c2) {
if ("string" === typeof b2 && "" !== b2 || "number" === typeof b2)
return b2 = xh("" + b2, a2.mode, c2), b2.return = a2, b2;
if ("object" === typeof b2 && null !== b2) {
switch (b2.$$typeof) {
case va:
return c2 = yh(b2.type, b2.key, b2.props, null, a2.mode, c2), c2.ref = sh(a2, null, b2), c2.return = a2, c2;
case wa:
return b2 = zh(b2, a2.mode, c2), b2.return = a2, b2;
case Ha:
var d2 = b2._init;
return q(a2, d2(b2._payload), c2);
}
if (eb(b2) || Ka(b2))
return b2 = Ah(b2, a2.mode, c2, null), b2.return = a2, b2;
th(a2, b2);
}
return null;
}
function r(a2, b2, c2, d2) {
var e2 = null !== b2 ? b2.key : null;
if ("string" === typeof c2 && "" !== c2 || "number" === typeof c2)
return null !== e2 ? null : h(a2, b2, "" + c2, d2);
if ("object" === typeof c2 && null !== c2) {
switch (c2.$$typeof) {
case va:
return c2.key === e2 ? k(a2, b2, c2, d2) : null;
case wa:
return c2.key === e2 ? l(a2, b2, c2, d2) : null;
case Ha:
return e2 = c2._init, r(
a2,
b2,
e2(c2._payload),
d2
);
}
if (eb(c2) || Ka(c2))
return null !== e2 ? null : m(a2, b2, c2, d2, null);
th(a2, c2);
}
return null;
}
function y(a2, b2, c2, d2, e2) {
if ("string" === typeof d2 && "" !== d2 || "number" === typeof d2)
return a2 = a2.get(c2) || null, h(b2, a2, "" + d2, e2);
if ("object" === typeof d2 && null !== d2) {
switch (d2.$$typeof) {
case va:
return a2 = a2.get(null === d2.key ? c2 : d2.key) || null, k(b2, a2, d2, e2);
case wa:
return a2 = a2.get(null === d2.key ? c2 : d2.key) || null, l(b2, a2, d2, e2);
case Ha:
var f2 = d2._init;
return y(a2, b2, c2, f2(d2._payload), e2);
}
if (eb(d2) || Ka(d2))
return a2 = a2.get(c2) || null, m(b2, a2, d2, e2, null);
th(b2, d2);
}
return null;
}
function n(e2, g2, h2, k2) {
for (var l2 = null, m2 = null, u = g2, w = g2 = 0, x = null; null !== u && w < h2.length; w++) {
u.index > w ? (x = u, u = null) : x = u.sibling;
var n2 = r(e2, u, h2[w], k2);
if (null === n2) {
null === u && (u = x);
break;
}
a && u && null === n2.alternate && b(e2, u);
g2 = f(n2, g2, w);
null === m2 ? l2 = n2 : m2.sibling = n2;
m2 = n2;
u = x;
}
if (w === h2.length)
return c(e2, u), I && tg(e2, w), l2;
if (null === u) {
for (; w < h2.length; w++)
u = q(e2, h2[w], k2), null !== u && (g2 = f(u, g2, w), null === m2 ? l2 = u : m2.sibling = u, m2 = u);
I && tg(e2, w);
return l2;
}
for (u = d(e2, u); w < h2.length; w++)
x = y(u, e2, w, h2[w], k2), null !== x && (a && null !== x.alternate && u.delete(null === x.key ? w : x.key), g2 = f(x, g2, w), null === m2 ? l2 = x : m2.sibling = x, m2 = x);
a && u.forEach(function(a2) {
return b(e2, a2);
});
I && tg(e2, w);
return l2;
}
function t(e2, g2, h2, k2) {
var l2 = Ka(h2);
if ("function" !== typeof l2)
throw Error(p(150));
h2 = l2.call(h2);
if (null == h2)
throw Error(p(151));
for (var u = l2 = null, m2 = g2, w = g2 = 0, x = null, n2 = h2.next(); null !== m2 && !n2.done; w++, n2 = h2.next()) {
m2.index > w ? (x = m2, m2 = null) : x = m2.sibling;
var t2 = r(e2, m2, n2.value, k2);
if (null === t2) {
null === m2 && (m2 = x);
break;
}
a && m2 && null === t2.alternate && b(e2, m2);
g2 = f(t2, g2, w);
null === u ? l2 = t2 : u.sibling = t2;
u = t2;
m2 = x;
}
if (n2.done)
return c(
e2,
m2
), I && tg(e2, w), l2;
if (null === m2) {
for (; !n2.done; w++, n2 = h2.next())
n2 = q(e2, n2.value, k2), null !== n2 && (g2 = f(n2, g2, w), null === u ? l2 = n2 : u.sibling = n2, u = n2);
I && tg(e2, w);
return l2;
}
for (m2 = d(e2, m2); !n2.done; w++, n2 = h2.next())
n2 = y(m2, e2, w, n2.value, k2), null !== n2 && (a && null !== n2.alternate && m2.delete(null === n2.key ? w : n2.key), g2 = f(n2, g2, w), null === u ? l2 = n2 : u.sibling = n2, u = n2);
a && m2.forEach(function(a2) {
return b(e2, a2);
});
I && tg(e2, w);
return l2;
}
function J(a2, d2, f2, h2) {
"object" === typeof f2 && null !== f2 && f2.type === ya && null === f2.key && (f2 = f2.props.children);
if ("object" === typeof f2 && null !== f2) {
switch (f2.$$typeof) {
case va:
a: {
for (var k2 = f2.key, l2 = d2; null !== l2; ) {
if (l2.key === k2) {
k2 = f2.type;
if (k2 === ya) {
if (7 === l2.tag) {
c(a2, l2.sibling);
d2 = e(l2, f2.props.children);
d2.return = a2;
a2 = d2;
break a;
}
} else if (l2.elementType === k2 || "object" === typeof k2 && null !== k2 && k2.$$typeof === Ha && uh(k2) === l2.type) {
c(a2, l2.sibling);
d2 = e(l2, f2.props);
d2.ref = sh(a2, l2, f2);
d2.return = a2;
a2 = d2;
break a;
}
c(a2, l2);
break;
} else
b(a2, l2);
l2 = l2.sibling;
}
f2.type === ya ? (d2 = Ah(f2.props.children, a2.mode, h2, f2.key), d2.return = a2, a2 = d2) : (h2 = yh(f2.type, f2.key, f2.props, null, a2.mode, h2), h2.ref = sh(a2, d2, f2), h2.return = a2, a2 = h2);
}
return g(a2);
case wa:
a: {
for (l2 = f2.key; null !== d2; ) {
if (d2.key === l2)
if (4 === d2.tag && d2.stateNode.containerInfo === f2.containerInfo && d2.stateNode.implementation === f2.implementation) {
c(a2, d2.sibling);
d2 = e(d2, f2.children || []);
d2.return = a2;
a2 = d2;
break a;
} else {
c(a2, d2);
break;
}
else
b(a2, d2);
d2 = d2.sibling;
}
d2 = zh(f2, a2.mode, h2);
d2.return = a2;
a2 = d2;
}
return g(a2);
case Ha:
return l2 = f2._init, J(a2, d2, l2(f2._payload), h2);
}
if (eb(f2))
return n(a2, d2, f2, h2);
if (Ka(f2))
return t(a2, d2, f2, h2);
th(a2, f2);
}
return "string" === typeof f2 && "" !== f2 || "number" === typeof f2 ? (f2 = "" + f2, null !== d2 && 6 === d2.tag ? (c(a2, d2.sibling), d2 = e(d2, f2), d2.return = a2, a2 = d2) : (c(a2, d2), d2 = xh(f2, a2.mode, h2), d2.return = a2, a2 = d2), g(a2)) : c(a2, d2);
}
return J;
}
var Bh = vh(true);
var Ch = vh(false);
var Dh = {};
var Eh = Uf(Dh);
var Fh = Uf(Dh);
var Gh = Uf(Dh);
function Hh(a) {
if (a === Dh)
throw Error(p(174));
return a;
}
function Ih(a, b) {
G(Gh, b);
G(Fh, a);
G(Eh, Dh);
a = b.nodeType;
switch (a) {
case 9:
case 11:
b = (b = b.documentElement) ? b.namespaceURI : lb(null, "");
break;
default:
a = 8 === a ? b.parentNode : b, b = a.namespaceURI || null, a = a.tagName, b = lb(b, a);
}
E(Eh);
G(Eh, b);
}
function Jh() {
E(Eh);
E(Fh);
E(Gh);
}
function Kh(a) {
Hh(Gh.current);
var b = Hh(Eh.current);
var c = lb(b, a.type);
b !== c && (G(Fh, a), G(Eh, c));
}
function Lh(a) {
Fh.current === a && (E(Eh), E(Fh));
}
var M = Uf(0);
function Mh(a) {
for (var b = a; null !== b; ) {
if (13 === b.tag) {
var c = b.memoizedState;
if (null !== c && (c = c.dehydrated, null === c || "$?" === c.data || "$!" === c.data))
return b;
} else if (19 === b.tag && void 0 !== b.memoizedProps.revealOrder) {
if (0 !== (b.flags & 128))
return b;
} else if (null !== b.child) {
b.child.return = b;
b = b.child;
continue;
}
if (b === a)
break;
for (; null === b.sibling; ) {
if (null === b.return || b.return === a)
return null;
b = b.return;
}
b.sibling.return = b.return;
b = b.sibling;
}
return null;
}
var Nh = [];
function Oh() {
for (var a = 0; a < Nh.length; a++)
Nh[a]._workInProgressVersionPrimary = null;
Nh.length = 0;
}
var Ph = ua.ReactCurrentDispatcher;
var Qh = ua.ReactCurrentBatchConfig;
var Rh = 0;
var N = null;
var O = null;
var P = null;
var Sh = false;
var Th = false;
var Uh = 0;
var Vh = 0;
function Q() {
throw Error(p(321));
}
function Wh(a, b) {
if (null === b)
return false;
for (var c = 0; c < b.length && c < a.length; c++)
if (!He(a[c], b[c]))
return false;
return true;
}
function Xh(a, b, c, d, e, f) {
Rh = f;
N = b;
b.memoizedState = null;
b.updateQueue = null;
b.lanes = 0;
Ph.current = null === a || null === a.memoizedState ? Yh : Zh;
a = c(d, e);
if (Th) {
f = 0;
do {
Th = false;
Uh = 0;
if (25 <= f)
throw Error(p(301));
f += 1;
P = O = null;
b.updateQueue = null;
Ph.current = $h;
a = c(d, e);
} while (Th);
}
Ph.current = ai;
b = null !== O && null !== O.next;
Rh = 0;
P = O = N = null;
Sh = false;
if (b)
throw Error(p(300));
return a;
}
function bi() {
var a = 0 !== Uh;
Uh = 0;
return a;
}
function ci() {
var a = { memoizedState: null, baseState: null, baseQueue: null, queue: null, next: null };
null === P ? N.memoizedState = P = a : P = P.next = a;
return P;
}
function di() {
if (null === O) {
var a = N.alternate;
a = null !== a ? a.memoizedState : null;
} else
a = O.next;
var b = null === P ? N.memoizedState : P.next;
if (null !== b)
P = b, O = a;
else {
if (null === a)
throw Error(p(310));
O = a;
a = { memoizedState: O.memoizedState, baseState: O.baseState, baseQueue: O.baseQueue, queue: O.queue, next: null };
null === P ? N.memoizedState = P = a : P = P.next = a;
}
return P;
}
function ei(a, b) {
return "function" === typeof b ? b(a) : b;
}
function fi(a) {
var b = di(), c = b.queue;
if (null === c)
throw Error(p(311));
c.lastRenderedReducer = a;
var d = O, e = d.baseQueue, f = c.pending;
if (null !== f) {
if (null !== e) {
var g = e.next;
e.next = f.next;
f.next = g;
}
d.baseQueue = e = f;
c.pending = null;
}
if (null !== e) {
f = e.next;
d = d.baseState;
var h = g = null, k = null, l = f;
do {
var m = l.lane;
if ((Rh & m) === m)
null !== k && (k = k.next = { lane: 0, action: l.action, hasEagerState: l.hasEagerState, eagerState: l.eagerState, next: null }), d = l.hasEagerState ? l.eagerState : a(d, l.action);
else {
var q = {
lane: m,
action: l.action,
hasEagerState: l.hasEagerState,
eagerState: l.eagerState,
next: null
};
null === k ? (h = k = q, g = d) : k = k.next = q;
N.lanes |= m;
hh |= m;
}
l = l.next;
} while (null !== l && l !== f);
null === k ? g = d : k.next = h;
He(d, b.memoizedState) || (Ug = true);
b.memoizedState = d;
b.baseState = g;
b.baseQueue = k;
c.lastRenderedState = d;
}
a = c.interleaved;
if (null !== a) {
e = a;
do
f = e.lane, N.lanes |= f, hh |= f, e = e.next;
while (e !== a);
} else
null === e && (c.lanes = 0);
return [b.memoizedState, c.dispatch];
}
function gi(a) {
var b = di(), c = b.queue;
if (null === c)
throw Error(p(311));
c.lastRenderedReducer = a;
var d = c.dispatch, e = c.pending, f = b.memoizedState;
if (null !== e) {
c.pending = null;
var g = e = e.next;
do
f = a(f, g.action), g = g.next;
while (g !== e);
He(f, b.memoizedState) || (Ug = true);
b.memoizedState = f;
null === b.baseQueue && (b.baseState = f);
c.lastRenderedState = f;
}
return [f, d];
}
function hi() {
}
function ii(a, b) {
var c = N, d = di(), e = b(), f = !He(d.memoizedState, e);
f && (d.memoizedState = e, Ug = true);
d = d.queue;
ji(ki.bind(null, c, d, a), [a]);
if (d.getSnapshot !== b || f || null !== P && P.memoizedState.tag & 1) {
c.flags |= 2048;
li(9, mi.bind(null, c, d, e, b), void 0, null);
if (null === R)
throw Error(p(349));
0 !== (Rh & 30) || ni(c, b, e);
}
return e;
}
function ni(a, b, c) {
a.flags |= 16384;
a = { getSnapshot: b, value: c };
b = N.updateQueue;
null === b ? (b = { lastEffect: null, stores: null }, N.updateQueue = b, b.stores = [a]) : (c = b.stores, null === c ? b.stores = [a] : c.push(a));
}
function mi(a, b, c, d) {
b.value = c;
b.getSnapshot = d;
oi(b) && pi(a);
}
function ki(a, b, c) {
return c(function() {
oi(b) && pi(a);
});
}
function oi(a) {
var b = a.getSnapshot;
a = a.value;
try {
var c = b();
return !He(a, c);
} catch (d) {
return true;
}
}
function pi(a) {
var b = Zg(a, 1);
null !== b && mh(b, a, 1, -1);
}
function qi(a) {
var b = ci();
"function" === typeof a && (a = a());
b.memoizedState = b.baseState = a;
a = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: ei, lastRenderedState: a };
b.queue = a;
a = a.dispatch = ri.bind(null, N, a);
return [b.memoizedState, a];
}
function li(a, b, c, d) {
a = { tag: a, create: b, destroy: c, deps: d, next: null };
b = N.updateQueue;
null === b ? (b = { lastEffect: null, stores: null }, N.updateQueue = b, b.lastEffect = a.next = a) : (c = b.lastEffect, null === c ? b.lastEffect = a.next = a : (d = c.next, c.next = a, a.next = d, b.lastEffect = a));
return a;
}
function si() {
return di().memoizedState;
}
function ti(a, b, c, d) {
var e = ci();
N.flags |= a;
e.memoizedState = li(1 | b, c, void 0, void 0 === d ? null : d);
}
function ui(a, b, c, d) {
var e = di();
d = void 0 === d ? null : d;
var f = void 0;
if (null !== O) {
var g = O.memoizedState;
f = g.destroy;
if (null !== d && Wh(d, g.deps)) {
e.memoizedState = li(b, c, f, d);
return;
}
}
N.flags |= a;
e.memoizedState = li(1 | b, c, f, d);
}
function vi(a, b) {
return ti(8390656, 8, a, b);
}
function ji(a, b) {
return ui(2048, 8, a, b);
}
function wi(a, b) {
return ui(4, 2, a, b);
}
function xi(a, b) {
return ui(4, 4, a, b);
}
function yi(a, b) {
if ("function" === typeof b)
return a = a(), b(a), function() {
b(null);
};
if (null !== b && void 0 !== b)
return a = a(), b.current = a, function() {
b.current = null;
};
}
function zi(a, b, c) {
c = null !== c && void 0 !== c ? c.concat([a]) : null;
return ui(4, 4, yi.bind(null, b, a), c);
}
function Ai() {
}
function Bi(a, b) {
var c = di();
b = void 0 === b ? null : b;
var d = c.memoizedState;
if (null !== d && null !== b && Wh(b, d[1]))
return d[0];
c.memoizedState = [a, b];
return a;
}
function Ci(a, b) {
var c = di();
b = void 0 === b ? null : b;
var d = c.memoizedState;
if (null !== d && null !== b && Wh(b, d[1]))
return d[0];
a = a();
c.memoizedState = [a, b];
return a;
}
function Di(a, b, c) {
if (0 === (Rh & 21))
return a.baseState && (a.baseState = false, Ug = true), a.memoizedState = c;
He(c, b) || (c = yc(), N.lanes |= c, hh |= c, a.baseState = true);
return b;
}
function Ei(a, b) {
var c = C;
C = 0 !== c && 4 > c ? c : 4;
a(true);
var d = Qh.transition;
Qh.transition = {};
try {
a(false), b();
} finally {
C = c, Qh.transition = d;
}
}
function Fi() {
return di().memoizedState;
}
function Gi(a, b, c) {
var d = lh(a);
c = { lane: d, action: c, hasEagerState: false, eagerState: null, next: null };
if (Hi(a))
Ii(b, c);
else if (c = Yg(a, b, c, d), null !== c) {
var e = L();
mh(c, a, d, e);
Ji(c, b, d);
}
}
function ri(a, b, c) {
var d = lh(a), e = { lane: d, action: c, hasEagerState: false, eagerState: null, next: null };
if (Hi(a))
Ii(b, e);
else {
var f = a.alternate;
if (0 === a.lanes && (null === f || 0 === f.lanes) && (f = b.lastRenderedReducer, null !== f))
try {
var g = b.lastRenderedState, h = f(g, c);
e.hasEagerState = true;
e.eagerState = h;
if (He(h, g)) {
var k = b.interleaved;
null === k ? (e.next = e, Xg(b)) : (e.next = k.next, k.next = e);
b.interleaved = e;
return;
}
} catch (l) {
} finally {
}
c = Yg(a, b, e, d);
null !== c && (e = L(), mh(c, a, d, e), Ji(c, b, d));
}
}
function Hi(a) {
var b = a.alternate;
return a === N || null !== b && b === N;
}
function Ii(a, b) {
Th = Sh = true;
var c = a.pending;
null === c ? b.next = b : (b.next = c.next, c.next = b);
a.pending = b;
}
function Ji(a, b, c) {
if (0 !== (c & 4194240)) {
var d = b.lanes;
d &= a.pendingLanes;
c |= d;
b.lanes = c;
Cc(a, c);
}
}
var ai = { readContext: Vg, useCallback: Q, useContext: Q, useEffect: Q, useImperativeHandle: Q, useInsertionEffect: Q, useLayoutEffect: Q, useMemo: Q, useReducer: Q, useRef: Q, useState: Q, useDebugValue: Q, useDeferredValue: Q, useTransition: Q, useMutableSource: Q, useSyncExternalStore: Q, useId: Q, unstable_isNewReconciler: false };
var Yh = { readContext: Vg, useCallback: function(a, b) {
ci().memoizedState = [a, void 0 === b ? null : b];
return a;
}, useContext: Vg, useEffect: vi, useImperativeHandle: function(a, b, c) {
c = null !== c && void 0 !== c ? c.concat([a]) : null;
return ti(
4194308,
4,
yi.bind(null, b, a),
c
);
}, useLayoutEffect: function(a, b) {
return ti(4194308, 4, a, b);
}, useInsertionEffect: function(a, b) {
return ti(4, 2, a, b);
}, useMemo: function(a, b) {
var c = ci();
b = void 0 === b ? null : b;
a = a();
c.memoizedState = [a, b];
return a;
}, useReducer: function(a, b, c) {
var d = ci();
b = void 0 !== c ? c(b) : b;
d.memoizedState = d.baseState = b;
a = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: a, lastRenderedState: b };
d.queue = a;
a = a.dispatch = Gi.bind(null, N, a);
return [d.memoizedState, a];
}, useRef: function(a) {
var b = ci();
a = { current: a };
return b.memoizedState = a;
}, useState: qi, useDebugValue: Ai, useDeferredValue: function(a) {
return ci().memoizedState = a;
}, useTransition: function() {
var a = qi(false), b = a[0];
a = Ei.bind(null, a[1]);
ci().memoizedState = a;
return [b, a];
}, useMutableSource: function() {
}, useSyncExternalStore: function(a, b, c) {
var d = N, e = ci();
if (I) {
if (void 0 === c)
throw Error(p(407));
c = c();
} else {
c = b();
if (null === R)
throw Error(p(349));
0 !== (Rh & 30) || ni(d, b, c);
}
e.memoizedState = c;
var f = { value: c, getSnapshot: b };
e.queue = f;
vi(ki.bind(
null,
d,
f,
a
), [a]);
d.flags |= 2048;
li(9, mi.bind(null, d, f, c, b), void 0, null);
return c;
}, useId: function() {
var a = ci(), b = R.identifierPrefix;
if (I) {
var c = sg;
var d = rg;
c = (d & ~(1 << 32 - oc(d) - 1)).toString(32) + c;
b = ":" + b + "R" + c;
c = Uh++;
0 < c && (b += "H" + c.toString(32));
b += ":";
} else
c = Vh++, b = ":" + b + "r" + c.toString(32) + ":";
return a.memoizedState = b;
}, unstable_isNewReconciler: false };
var Zh = {
readContext: Vg,
useCallback: Bi,
useContext: Vg,
useEffect: ji,
useImperativeHandle: zi,
useInsertionEffect: wi,
useLayoutEffect: xi,
useMemo: Ci,
useReducer: fi,
useRef: si,
useState: function() {
return fi(ei);
},
useDebugValue: Ai,
useDeferredValue: function(a) {
var b = di();
return Di(b, O.memoizedState, a);
},
useTransition: function() {
var a = fi(ei)[0], b = di().memoizedState;
return [a, b];
},
useMutableSource: hi,
useSyncExternalStore: ii,
useId: Fi,
unstable_isNewReconciler: false
};
var $h = { readContext: Vg, useCallback: Bi, useContext: Vg, useEffect: ji, useImperativeHandle: zi, useInsertionEffect: wi, useLayoutEffect: xi, useMemo: Ci, useReducer: gi, useRef: si, useState: function() {
return gi(ei);
}, useDebugValue: Ai, useDeferredValue: function(a) {
var b = di();
return null === O ? b.memoizedState = a : Di(b, O.memoizedState, a);
}, useTransition: function() {
var a = gi(ei)[0], b = di().memoizedState;
return [a, b];
}, useMutableSource: hi, useSyncExternalStore: ii, useId: Fi, unstable_isNewReconciler: false };
function Ki(a, b) {
try {
var c = "", d = b;
do
c += Pa(d), d = d.return;
while (d);
var e = c;
} catch (f) {
e = "\nError generating stack: " + f.message + "\n" + f.stack;
}
return { value: a, source: b, stack: e, digest: null };
}
function Li(a, b, c) {
return { value: a, source: null, stack: null != c ? c : null, digest: null != b ? b : null };
}
function Mi(a, b) {
try {
console.error(b.value);
} catch (c) {
setTimeout(function() {
throw c;
});
}
}
var Ni = "function" === typeof WeakMap ? WeakMap : Map;
function Oi(a, b, c) {
c = ch(-1, c);
c.tag = 3;
c.payload = { element: null };
var d = b.value;
c.callback = function() {
Pi || (Pi = true, Qi = d);
Mi(a, b);
};
return c;
}
function Ri(a, b, c) {
c = ch(-1, c);
c.tag = 3;
var d = a.type.getDerivedStateFromError;
if ("function" === typeof d) {
var e = b.value;
c.payload = function() {
return d(e);
};
c.callback = function() {
Mi(a, b);
};
}
var f = a.stateNode;
null !== f && "function" === typeof f.componentDidCatch && (c.callback = function() {
Mi(a, b);
"function" !== typeof d && (null === Si ? Si = /* @__PURE__ */ new Set([this]) : Si.add(this));
var c2 = b.stack;
this.componentDidCatch(b.value, { componentStack: null !== c2 ? c2 : "" });
});
return c;
}
function Ti(a, b, c) {
var d = a.pingCache;
if (null === d) {
d = a.pingCache = new Ni();
var e = /* @__PURE__ */ new Set();
d.set(b, e);
} else
e = d.get(b), void 0 === e && (e = /* @__PURE__ */ new Set(), d.set(b, e));
e.has(c) || (e.add(c), a = Ui.bind(null, a, b, c), b.then(a, a));
}
function Vi(a) {
do {
var b;
if (b = 13 === a.tag)
b = a.memoizedState, b = null !== b ? null !== b.dehydrated ? true : false : true;
if (b)
return a;
a = a.return;
} while (null !== a);
return null;
}
function Wi(a, b, c, d, e) {
if (0 === (a.mode & 1))
return a === b ? a.flags |= 65536 : (a.flags |= 128, c.flags |= 131072, c.flags &= -52805, 1 === c.tag && (null === c.alternate ? c.tag = 17 : (b = ch(-1, 1), b.tag = 2, dh(c, b, 1))), c.lanes |= 1), a;
a.flags |= 65536;
a.lanes = e;
return a;
}
var Xi = ua.ReactCurrentOwner;
var Ug = false;
function Yi(a, b, c, d) {
b.child = null === a ? Ch(b, null, c, d) : Bh(b, a.child, c, d);
}
function Zi(a, b, c, d, e) {
c = c.render;
var f = b.ref;
Tg(b, e);
d = Xh(a, b, c, d, f, e);
c = bi();
if (null !== a && !Ug)
return b.updateQueue = a.updateQueue, b.flags &= -2053, a.lanes &= ~e, $i(a, b, e);
I && c && vg(b);
b.flags |= 1;
Yi(a, b, d, e);
return b.child;
}
function aj(a, b, c, d, e) {
if (null === a) {
var f = c.type;
if ("function" === typeof f && !bj(f) && void 0 === f.defaultProps && null === c.compare && void 0 === c.defaultProps)
return b.tag = 15, b.type = f, cj(a, b, f, d, e);
a = yh(c.type, null, d, b, b.mode, e);
a.ref = b.ref;
a.return = b;
return b.child = a;
}
f = a.child;
if (0 === (a.lanes & e)) {
var g = f.memoizedProps;
c = c.compare;
c = null !== c ? c : Ie;
if (c(g, d) && a.ref === b.ref)
return $i(a, b, e);
}
b.flags |= 1;
a = wh(f, d);
a.ref = b.ref;
a.return = b;
return b.child = a;
}
function cj(a, b, c, d, e) {
if (null !== a) {
var f = a.memoizedProps;
if (Ie(f, d) && a.ref === b.ref)
if (Ug = false, b.pendingProps = d = f, 0 !== (a.lanes & e))
0 !== (a.flags & 131072) && (Ug = true);
else
return b.lanes = a.lanes, $i(a, b, e);
}
return dj(a, b, c, d, e);
}
function ej(a, b, c) {
var d = b.pendingProps, e = d.children, f = null !== a ? a.memoizedState : null;
if ("hidden" === d.mode)
if (0 === (b.mode & 1))
b.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, G(fj, gj), gj |= c;
else {
if (0 === (c & 1073741824))
return a = null !== f ? f.baseLanes | c : c, b.lanes = b.childLanes = 1073741824, b.memoizedState = { baseLanes: a, cachePool: null, transitions: null }, b.updateQueue = null, G(fj, gj), gj |= a, null;
b.memoizedState = { baseLanes: 0, cachePool: null, transitions: null };
d = null !== f ? f.baseLanes : c;
G(fj, gj);
gj |= d;
}
else
null !== f ? (d = f.baseLanes | c, b.memoizedState = null) : d = c, G(fj, gj), gj |= d;
Yi(a, b, e, c);
return b.child;
}
function hj(a, b) {
var c = b.ref;
if (null === a && null !== c || null !== a && a.ref !== c)
b.flags |= 512, b.flags |= 2097152;
}
function dj(a, b, c, d, e) {
var f = Zf(c) ? Xf : H.current;
f = Yf(b, f);
Tg(b, e);
c = Xh(a, b, c, d, f, e);
d = bi();
if (null !== a && !Ug)
return b.updateQueue = a.updateQueue, b.flags &= -2053, a.lanes &= ~e, $i(a, b, e);
I && d && vg(b);
b.flags |= 1;
Yi(a, b, c, e);
return b.child;
}
function ij(a, b, c, d, e) {
if (Zf(c)) {
var f = true;
cg(b);
} else
f = false;
Tg(b, e);
if (null === b.stateNode)
jj(a, b), ph(b, c, d), rh(b, c, d, e), d = true;
else if (null === a) {
var g = b.stateNode, h = b.memoizedProps;
g.props = h;
var k = g.context, l = c.contextType;
"object" === typeof l && null !== l ? l = Vg(l) : (l = Zf(c) ? Xf : H.current, l = Yf(b, l));
var m = c.getDerivedStateFromProps, q = "function" === typeof m || "function" === typeof g.getSnapshotBeforeUpdate;
q || "function" !== typeof g.UNSAFE_componentWillReceiveProps && "function" !== typeof g.componentWillReceiveProps || (h !== d || k !== l) && qh(b, g, d, l);
$g = false;
var r = b.memoizedState;
g.state = r;
gh(b, d, g, e);
k = b.memoizedState;
h !== d || r !== k || Wf.current || $g ? ("function" === typeof m && (kh(b, c, m, d), k = b.memoizedState), (h = $g || oh(b, c, h, d, r, k, l)) ? (q || "function" !== typeof g.UNSAFE_componentWillMount && "function" !== typeof g.componentWillMount || ("function" === typeof g.componentWillMount && g.componentWillMount(), "function" === typeof g.UNSAFE_componentWillMount && g.UNSAFE_componentWillMount()), "function" === typeof g.componentDidMount && (b.flags |= 4194308)) : ("function" === typeof g.componentDidMount && (b.flags |= 4194308), b.memoizedProps = d, b.memoizedState = k), g.props = d, g.state = k, g.context = l, d = h) : ("function" === typeof g.componentDidMount && (b.flags |= 4194308), d = false);
} else {
g = b.stateNode;
bh(a, b);
h = b.memoizedProps;
l = b.type === b.elementType ? h : Lg(b.type, h);
g.props = l;
q = b.pendingProps;
r = g.context;
k = c.contextType;
"object" === typeof k && null !== k ? k = Vg(k) : (k = Zf(c) ? Xf : H.current, k = Yf(b, k));
var y = c.getDerivedStateFromProps;
(m = "function" === typeof y || "function" === typeof g.getSnapshotBeforeUpdate) || "function" !== typeof g.UNSAFE_componentWillReceiveProps && "function" !== typeof g.componentWillReceiveProps || (h !== q || r !== k) && qh(b, g, d, k);
$g = false;
r = b.memoizedState;
g.state = r;
gh(b, d, g, e);
var n = b.memoizedState;
h !== q || r !== n || Wf.current || $g ? ("function" === typeof y && (kh(b, c, y, d), n = b.memoizedState), (l = $g || oh(b, c, l, d, r, n, k) || false) ? (m || "function" !== typeof g.UNSAFE_componentWillUpdate && "function" !== typeof g.componentWillUpdate || ("function" === typeof g.componentWillUpdate && g.componentWillUpdate(d, n, k), "function" === typeof g.UNSAFE_componentWillUpdate && g.UNSAFE_componentWillUpdate(d, n, k)), "function" === typeof g.componentDidUpdate && (b.flags |= 4), "function" === typeof g.getSnapshotBeforeUpdate && (b.flags |= 1024)) : ("function" !== typeof g.componentDidUpdate || h === a.memoizedProps && r === a.memoizedState || (b.flags |= 4), "function" !== typeof g.getSnapshotBeforeUpdate || h === a.memoizedProps && r === a.memoizedState || (b.flags |= 1024), b.memoizedProps = d, b.memoizedState = n), g.props = d, g.state = n, g.context = k, d = l) : ("function" !== typeof g.componentDidUpdate || h === a.memoizedProps && r === a.memoizedState || (b.flags |= 4), "function" !== typeof g.getSnapshotBeforeUpdate || h === a.memoizedProps && r === a.memoizedState || (b.flags |= 1024), d = false);
}
return kj(a, b, c, d, f, e);
}
function kj(a, b, c, d, e, f) {
hj(a, b);
var g = 0 !== (b.flags & 128);
if (!d && !g)
return e && dg(b, c, false), $i(a, b, f);
d = b.stateNode;
Xi.current = b;
var h = g && "function" !== typeof c.getDerivedStateFromError ? null : d.render();
b.flags |= 1;
null !== a && g ? (b.child = Bh(b, a.child, null, f), b.child = Bh(b, null, h, f)) : Yi(a, b, h, f);
b.memoizedState = d.state;
e && dg(b, c, true);
return b.child;
}
function lj(a) {
var b = a.stateNode;
b.pendingContext ? ag(a, b.pendingContext, b.pendingContext !== b.context) : b.context && ag(a, b.context, false);
Ih(a, b.containerInfo);
}
function mj(a, b, c, d, e) {
Ig();
Jg(e);
b.flags |= 256;
Yi(a, b, c, d);
return b.child;
}
var nj = { dehydrated: null, treeContext: null, retryLane: 0 };
function oj(a) {
return { baseLanes: a, cachePool: null, transitions: null };
}
function pj(a, b, c) {
var d = b.pendingProps, e = M.current, f = false, g = 0 !== (b.flags & 128), h;
(h = g) || (h = null !== a && null === a.memoizedState ? false : 0 !== (e & 2));
if (h)
f = true, b.flags &= -129;
else if (null === a || null !== a.memoizedState)
e |= 1;
G(M, e & 1);
if (null === a) {
Eg(b);
a = b.memoizedState;
if (null !== a && (a = a.dehydrated, null !== a))
return 0 === (b.mode & 1) ? b.lanes = 1 : "$!" === a.data ? b.lanes = 8 : b.lanes = 1073741824, null;
g = d.children;
a = d.fallback;
return f ? (d = b.mode, f = b.child, g = { mode: "hidden", children: g }, 0 === (d & 1) && null !== f ? (f.childLanes = 0, f.pendingProps = g) : f = qj(g, d, 0, null), a = Ah(a, d, c, null), f.return = b, a.return = b, f.sibling = a, b.child = f, b.child.memoizedState = oj(c), b.memoizedState = nj, a) : rj(b, g);
}
e = a.memoizedState;
if (null !== e && (h = e.dehydrated, null !== h))
return sj(a, b, g, d, h, e, c);
if (f) {
f = d.fallback;
g = b.mode;
e = a.child;
h = e.sibling;
var k = { mode: "hidden", children: d.children };
0 === (g & 1) && b.child !== e ? (d = b.child, d.childLanes = 0, d.pendingProps = k, b.deletions = null) : (d = wh(e, k), d.subtreeFlags = e.subtreeFlags & 14680064);
null !== h ? f = wh(h, f) : (f = Ah(f, g, c, null), f.flags |= 2);
f.return = b;
d.return = b;
d.sibling = f;
b.child = d;
d = f;
f = b.child;
g = a.child.memoizedState;
g = null === g ? oj(c) : { baseLanes: g.baseLanes | c, cachePool: null, transitions: g.transitions };
f.memoizedState = g;
f.childLanes = a.childLanes & ~c;
b.memoizedState = nj;
return d;
}
f = a.child;
a = f.sibling;
d = wh(f, { mode: "visible", children: d.children });
0 === (b.mode & 1) && (d.lanes = c);
d.return = b;
d.sibling = null;
null !== a && (c = b.deletions, null === c ? (b.deletions = [a], b.flags |= 16) : c.push(a));
b.child = d;
b.memoizedState = null;
return d;
}
function rj(a, b) {
b = qj({ mode: "visible", children: b }, a.mode, 0, null);
b.return = a;
return a.child = b;
}
function tj(a, b, c, d) {
null !== d && Jg(d);
Bh(b, a.child, null, c);
a = rj(b, b.pendingProps.children);
a.flags |= 2;
b.memoizedState = null;
return a;
}
function sj(a, b, c, d, e, f, g) {
if (c) {
if (b.flags & 256)
return b.flags &= -257, d = Li(Error(p(422))), tj(a, b, g, d);
if (null !== b.memoizedState)
return b.child = a.child, b.flags |= 128, null;
f = d.fallback;
e = b.mode;
d = qj({ mode: "visible", children: d.children }, e, 0, null);
f = Ah(f, e, g, null);
f.flags |= 2;
d.return = b;
f.return = b;
d.sibling = f;
b.child = d;
0 !== (b.mode & 1) && Bh(b, a.child, null, g);
b.child.memoizedState = oj(g);
b.memoizedState = nj;
return f;
}
if (0 === (b.mode & 1))
return tj(a, b, g, null);
if ("$!" === e.data) {
d = e.nextSibling && e.nextSibling.dataset;
if (d)
var h = d.dgst;
d = h;
f = Error(p(419));
d = Li(f, d, void 0);
return tj(a, b, g, d);
}
h = 0 !== (g & a.childLanes);
if (Ug || h) {
d = R;
if (null !== d) {
switch (g & -g) {
case 4:
e = 2;
break;
case 16:
e = 8;
break;
case 64:
case 128:
case 256:
case 512:
case 1024:
case 2048:
case 4096:
case 8192:
case 16384:
case 32768:
case 65536:
case 131072:
case 262144:
case 524288:
case 1048576:
case 2097152:
case 4194304:
case 8388608:
case 16777216:
case 33554432:
case 67108864:
e = 32;
break;
case 536870912:
e = 268435456;
break;
default:
e = 0;
}
e = 0 !== (e & (d.suspendedLanes | g)) ? 0 : e;
0 !== e && e !== f.retryLane && (f.retryLane = e, Zg(a, e), mh(d, a, e, -1));
}
uj();
d = Li(Error(p(421)));
return tj(a, b, g, d);
}
if ("$?" === e.data)
return b.flags |= 128, b.child = a.child, b = vj.bind(null, a), e._reactRetry = b, null;
a = f.treeContext;
yg = Lf(e.nextSibling);
xg = b;
I = true;
zg = null;
null !== a && (og[pg++] = rg, og[pg++] = sg, og[pg++] = qg, rg = a.id, sg = a.overflow, qg = b);
b = rj(b, d.children);
b.flags |= 4096;
return b;
}
function wj(a, b, c) {
a.lanes |= b;
var d = a.alternate;
null !== d && (d.lanes |= b);
Sg(a.return, b, c);
}
function xj(a, b, c, d, e) {
var f = a.memoizedState;
null === f ? a.memoizedState = { isBackwards: b, rendering: null, renderingStartTime: 0, last: d, tail: c, tailMode: e } : (f.isBackwards = b, f.rendering = null, f.renderingStartTime = 0, f.last = d, f.tail = c, f.tailMode = e);
}
function yj(a, b, c) {
var d = b.pendingProps, e = d.revealOrder, f = d.tail;
Yi(a, b, d.children, c);
d = M.current;
if (0 !== (d & 2))
d = d & 1 | 2, b.flags |= 128;
else {
if (null !== a && 0 !== (a.flags & 128))
a:
for (a = b.child; null !== a; ) {
if (13 === a.tag)
null !== a.memoizedState && wj(a, c, b);
else if (19 === a.tag)
wj(a, c, b);
else if (null !== a.child) {
a.child.return = a;
a = a.child;
continue;
}
if (a === b)
break a;
for (; null === a.sibling; ) {
if (null === a.return || a.return === b)
break a;
a = a.return;
}
a.sibling.return = a.return;
a = a.sibling;
}
d &= 1;
}
G(M, d);
if (0 === (b.mode & 1))
b.memoizedState = null;
else
switch (e) {
case "forwards":
c = b.child;
for (e = null; null !== c; )
a = c.alternate, null !== a && null === Mh(a) && (e = c), c = c.sibling;
c = e;
null === c ? (e = b.child, b.child = null) : (e = c.sibling, c.sibling = null);
xj(b, false, e, c, f);
break;
case "backwards":
c = null;
e = b.child;
for (b.child = null; null !== e; ) {
a = e.alternate;
if (null !== a && null === Mh(a)) {
b.child = e;
break;
}
a = e.sibling;
e.sibling = c;
c = e;
e = a;
}
xj(b, true, c, null, f);
break;
case "together":
xj(b, false, null, null, void 0);
break;
default:
b.memoizedState = null;
}
return b.child;
}
function jj(a, b) {
0 === (b.mode & 1) && null !== a && (a.alternate = null, b.alternate = null, b.flags |= 2);
}
function $i(a, b, c) {
null !== a && (b.dependencies = a.dependencies);
hh |= b.lanes;
if (0 === (c & b.childLanes))
return null;
if (null !== a && b.child !== a.child)
throw Error(p(153));
if (null !== b.child) {
a = b.child;
c = wh(a, a.pendingProps);
b.child = c;
for (c.return = b; null !== a.sibling; )
a = a.sibling, c = c.sibling = wh(a, a.pendingProps), c.return = b;
c.sibling = null;
}
return b.child;
}
function zj(a, b, c) {
switch (b.tag) {
case 3:
lj(b);
Ig();
break;
case 5:
Kh(b);
break;
case 1:
Zf(b.type) && cg(b);
break;
case 4:
Ih(b, b.stateNode.containerInfo);
break;
case 10:
var d = b.type._context, e = b.memoizedProps.value;
G(Mg, d._currentValue);
d._currentValue = e;
break;
case 13:
d = b.memoizedState;
if (null !== d) {
if (null !== d.dehydrated)
return G(M, M.current & 1), b.flags |= 128, null;
if (0 !== (c & b.child.childLanes))
return pj(a, b, c);
G(M, M.current & 1);
a = $i(a, b, c);
return null !== a ? a.sibling : null;
}
G(M, M.current & 1);
break;
case 19:
d = 0 !== (c & b.childLanes);
if (0 !== (a.flags & 128)) {
if (d)
return yj(a, b, c);
b.flags |= 128;
}
e = b.memoizedState;
null !== e && (e.rendering = null, e.tail = null, e.lastEffect = null);
G(M, M.current);
if (d)
break;
else
return null;
case 22:
case 23:
return b.lanes = 0, ej(a, b, c);
}
return $i(a, b, c);
}
var Aj;
var Bj;
var Cj;
var Dj;
Aj = function(a, b) {
for (var c = b.child; null !== c; ) {
if (5 === c.tag || 6 === c.tag)
a.appendChild(c.stateNode);
else if (4 !== c.tag && null !== c.child) {
c.child.return = c;
c = c.child;
continue;
}
if (c === b)
break;
for (; null === c.sibling; ) {
if (null === c.return || c.return === b)
return;
c = c.return;
}
c.sibling.return = c.return;
c = c.sibling;
}
};
Bj = function() {
};
Cj = function(a, b, c, d) {
var e = a.memoizedProps;
if (e !== d) {
a = b.stateNode;
Hh(Eh.current);
var f = null;
switch (c) {
case "input":
e = Ya(a, e);
d = Ya(a, d);
f = [];
break;
case "select":
e = A({}, e, { value: void 0 });
d = A({}, d, { value: void 0 });
f = [];
break;
case "textarea":
e = gb(a, e);
d = gb(a, d);
f = [];
break;
default:
"function" !== typeof e.onClick && "function" === typeof d.onClick && (a.onclick = Bf);
}
ub(c, d);
var g;
c = null;
for (l in e)
if (!d.hasOwnProperty(l) && e.hasOwnProperty(l) && null != e[l])
if ("style" === l) {
var h = e[l];
for (g in h)
h.hasOwnProperty(g) && (c || (c = {}), c[g] = "");
} else
"dangerouslySetInnerHTML" !== l && "children" !== l && "suppressContentEditableWarning" !== l && "suppressHydrationWarning" !== l && "autoFocus" !== l && (ea.hasOwnProperty(l) ? f || (f = []) : (f = f || []).push(l, null));
for (l in d) {
var k = d[l];
h = null != e ? e[l] : void 0;
if (d.hasOwnProperty(l) && k !== h && (null != k || null != h))
if ("style" === l)
if (h) {
for (g in h)
!h.hasOwnProperty(g) || k && k.hasOwnProperty(g) || (c || (c = {}), c[g] = "");
for (g in k)
k.hasOwnProperty(g) && h[g] !== k[g] && (c || (c = {}), c[g] = k[g]);
} else
c || (f || (f = []), f.push(
l,
c
)), c = k;
else
"dangerouslySetInnerHTML" === l ? (k = k ? k.__html : void 0, h = h ? h.__html : void 0, null != k && h !== k && (f = f || []).push(l, k)) : "children" === l ? "string" !== typeof k && "number" !== typeof k || (f = f || []).push(l, "" + k) : "suppressContentEditableWarning" !== l && "suppressHydrationWarning" !== l && (ea.hasOwnProperty(l) ? (null != k && "onScroll" === l && D("scroll", a), f || h === k || (f = [])) : (f = f || []).push(l, k));
}
c && (f = f || []).push("style", c);
var l = f;
if (b.updateQueue = l)
b.flags |= 4;
}
};
Dj = function(a, b, c, d) {
c !== d && (b.flags |= 4);
};
function Ej(a, b) {
if (!I)
switch (a.tailMode) {
case "hidden":
b = a.tail;
for (var c = null; null !== b; )
null !== b.alternate && (c = b), b = b.sibling;
null === c ? a.tail = null : c.sibling = null;
break;
case "collapsed":
c = a.tail;
for (var d = null; null !== c; )
null !== c.alternate && (d = c), c = c.sibling;
null === d ? b || null === a.tail ? a.tail = null : a.tail.sibling = null : d.sibling = null;
}
}
function S(a) {
var b = null !== a.alternate && a.alternate.child === a.child, c = 0, d = 0;
if (b)
for (var e = a.child; null !== e; )
c |= e.lanes | e.childLanes, d |= e.subtreeFlags & 14680064, d |= e.flags & 14680064, e.return = a, e = e.sibling;
else
for (e = a.child; null !== e; )
c |= e.lanes | e.childLanes, d |= e.subtreeFlags, d |= e.flags, e.return = a, e = e.sibling;
a.subtreeFlags |= d;
a.childLanes = c;
return b;
}
function Fj(a, b, c) {
var d = b.pendingProps;
wg(b);
switch (b.tag) {
case 2:
case 16:
case 15:
case 0:
case 11:
case 7:
case 8:
case 12:
case 9:
case 14:
return S(b), null;
case 1:
return Zf(b.type) && $f(), S(b), null;
case 3:
d = b.stateNode;
Jh();
E(Wf);
E(H);
Oh();
d.pendingContext && (d.context = d.pendingContext, d.pendingContext = null);
if (null === a || null === a.child)
Gg(b) ? b.flags |= 4 : null === a || a.memoizedState.isDehydrated && 0 === (b.flags & 256) || (b.flags |= 1024, null !== zg && (Gj(zg), zg = null));
Bj(a, b);
S(b);
return null;
case 5:
Lh(b);
var e = Hh(Gh.current);
c = b.type;
if (null !== a && null != b.stateNode)
Cj(a, b, c, d, e), a.ref !== b.ref && (b.flags |= 512, b.flags |= 2097152);
else {
if (!d) {
if (null === b.stateNode)
throw Error(p(166));
S(b);
return null;
}
a = Hh(Eh.current);
if (Gg(b)) {
d = b.stateNode;
c = b.type;
var f = b.memoizedProps;
d[Of] = b;
d[Pf] = f;
a = 0 !== (b.mode & 1);
switch (c) {
case "dialog":
D("cancel", d);
D("close", d);
break;
case "iframe":
case "object":
case "embed":
D("load", d);
break;
case "video":
case "audio":
for (e = 0; e < lf.length; e++)
D(lf[e], d);
break;
case "source":
D("error", d);
break;
case "img":
case "image":
case "link":
D(
"error",
d
);
D("load", d);
break;
case "details":
D("toggle", d);
break;
case "input":
Za(d, f);
D("invalid", d);
break;
case "select":
d._wrapperState = { wasMultiple: !!f.multiple };
D("invalid", d);
break;
case "textarea":
hb(d, f), D("invalid", d);
}
ub(c, f);
e = null;
for (var g in f)
if (f.hasOwnProperty(g)) {
var h = f[g];
"children" === g ? "string" === typeof h ? d.textContent !== h && (true !== f.suppressHydrationWarning && Af(d.textContent, h, a), e = ["children", h]) : "number" === typeof h && d.textContent !== "" + h && (true !== f.suppressHydrationWarning && Af(
d.textContent,
h,
a
), e = ["children", "" + h]) : ea.hasOwnProperty(g) && null != h && "onScroll" === g && D("scroll", d);
}
switch (c) {
case "input":
Va(d);
db(d, f, true);
break;
case "textarea":
Va(d);
jb(d);
break;
case "select":
case "option":
break;
default:
"function" === typeof f.onClick && (d.onclick = Bf);
}
d = e;
b.updateQueue = d;
null !== d && (b.flags |= 4);
} else {
g = 9 === e.nodeType ? e : e.ownerDocument;
"http://www.w3.org/1999/xhtml" === a && (a = kb(c));
"http://www.w3.org/1999/xhtml" === a ? "script" === c ? (a = g.createElement("div"), a.innerHTML = "<script><\/script>", a = a.removeChild(a.firstChild)) : "string" === typeof d.is ? a = g.createElement(c, { is: d.is }) : (a = g.createElement(c), "select" === c && (g = a, d.multiple ? g.multiple = true : d.size && (g.size = d.size))) : a = g.createElementNS(a, c);
a[Of] = b;
a[Pf] = d;
Aj(a, b, false, false);
b.stateNode = a;
a: {
g = vb(c, d);
switch (c) {
case "dialog":
D("cancel", a);
D("close", a);
e = d;
break;
case "iframe":
case "object":
case "embed":
D("load", a);
e = d;
break;
case "video":
case "audio":
for (e = 0; e < lf.length; e++)
D(lf[e], a);
e = d;
break;
case "source":
D("error", a);
e = d;
break;
case "img":
case "image":
case "link":
D(
"error",
a
);
D("load", a);
e = d;
break;
case "details":
D("toggle", a);
e = d;
break;
case "input":
Za(a, d);
e = Ya(a, d);
D("invalid", a);
break;
case "option":
e = d;
break;
case "select":
a._wrapperState = { wasMultiple: !!d.multiple };
e = A({}, d, { value: void 0 });
D("invalid", a);
break;
case "textarea":
hb(a, d);
e = gb(a, d);
D("invalid", a);
break;
default:
e = d;
}
ub(c, e);
h = e;
for (f in h)
if (h.hasOwnProperty(f)) {
var k = h[f];
"style" === f ? sb(a, k) : "dangerouslySetInnerHTML" === f ? (k = k ? k.__html : void 0, null != k && nb(a, k)) : "children" === f ? "string" === typeof k ? ("textarea" !== c || "" !== k) && ob(a, k) : "number" === typeof k && ob(a, "" + k) : "suppressContentEditableWarning" !== f && "suppressHydrationWarning" !== f && "autoFocus" !== f && (ea.hasOwnProperty(f) ? null != k && "onScroll" === f && D("scroll", a) : null != k && ta(a, f, k, g));
}
switch (c) {
case "input":
Va(a);
db(a, d, false);
break;
case "textarea":
Va(a);
jb(a);
break;
case "option":
null != d.value && a.setAttribute("value", "" + Sa(d.value));
break;
case "select":
a.multiple = !!d.multiple;
f = d.value;
null != f ? fb(a, !!d.multiple, f, false) : null != d.defaultValue && fb(
a,
!!d.multiple,
d.defaultValue,
true
);
break;
default:
"function" === typeof e.onClick && (a.onclick = Bf);
}
switch (c) {
case "button":
case "input":
case "select":
case "textarea":
d = !!d.autoFocus;
break a;
case "img":
d = true;
break a;
default:
d = false;
}
}
d && (b.flags |= 4);
}
null !== b.ref && (b.flags |= 512, b.flags |= 2097152);
}
S(b);
return null;
case 6:
if (a && null != b.stateNode)
Dj(a, b, a.memoizedProps, d);
else {
if ("string" !== typeof d && null === b.stateNode)
throw Error(p(166));
c = Hh(Gh.current);
Hh(Eh.current);
if (Gg(b)) {
d = b.stateNode;
c = b.memoizedProps;
d[Of] = b;
if (f = d.nodeValue !== c) {
if (a = xg, null !== a)
switch (a.tag) {
case 3:
Af(d.nodeValue, c, 0 !== (a.mode & 1));
break;
case 5:
true !== a.memoizedProps.suppressHydrationWarning && Af(d.nodeValue, c, 0 !== (a.mode & 1));
}
}
f && (b.flags |= 4);
} else
d = (9 === c.nodeType ? c : c.ownerDocument).createTextNode(d), d[Of] = b, b.stateNode = d;
}
S(b);
return null;
case 13:
E(M);
d = b.memoizedState;
if (null === a || null !== a.memoizedState && null !== a.memoizedState.dehydrated) {
if (I && null !== yg && 0 !== (b.mode & 1) && 0 === (b.flags & 128))
Hg(), Ig(), b.flags |= 98560, f = false;
else if (f = Gg(b), null !== d && null !== d.dehydrated) {
if (null === a) {
if (!f)
throw Error(p(318));
f = b.memoizedState;
f = null !== f ? f.dehydrated : null;
if (!f)
throw Error(p(317));
f[Of] = b;
} else
Ig(), 0 === (b.flags & 128) && (b.memoizedState = null), b.flags |= 4;
S(b);
f = false;
} else
null !== zg && (Gj(zg), zg = null), f = true;
if (!f)
return b.flags & 65536 ? b : null;
}
if (0 !== (b.flags & 128))
return b.lanes = c, b;
d = null !== d;
d !== (null !== a && null !== a.memoizedState) && d && (b.child.flags |= 8192, 0 !== (b.mode & 1) && (null === a || 0 !== (M.current & 1) ? 0 === T && (T = 3) : uj()));
null !== b.updateQueue && (b.flags |= 4);
S(b);
return null;
case 4:
return Jh(), Bj(a, b), null === a && sf(b.stateNode.containerInfo), S(b), null;
case 10:
return Rg(b.type._context), S(b), null;
case 17:
return Zf(b.type) && $f(), S(b), null;
case 19:
E(M);
f = b.memoizedState;
if (null === f)
return S(b), null;
d = 0 !== (b.flags & 128);
g = f.rendering;
if (null === g)
if (d)
Ej(f, false);
else {
if (0 !== T || null !== a && 0 !== (a.flags & 128))
for (a = b.child; null !== a; ) {
g = Mh(a);
if (null !== g) {
b.flags |= 128;
Ej(f, false);
d = g.updateQueue;
null !== d && (b.updateQueue = d, b.flags |= 4);
b.subtreeFlags = 0;
d = c;
for (c = b.child; null !== c; )
f = c, a = d, f.flags &= 14680066, g = f.alternate, null === g ? (f.childLanes = 0, f.lanes = a, f.child = null, f.subtreeFlags = 0, f.memoizedProps = null, f.memoizedState = null, f.updateQueue = null, f.dependencies = null, f.stateNode = null) : (f.childLanes = g.childLanes, f.lanes = g.lanes, f.child = g.child, f.subtreeFlags = 0, f.deletions = null, f.memoizedProps = g.memoizedProps, f.memoizedState = g.memoizedState, f.updateQueue = g.updateQueue, f.type = g.type, a = g.dependencies, f.dependencies = null === a ? null : { lanes: a.lanes, firstContext: a.firstContext }), c = c.sibling;
G(M, M.current & 1 | 2);
return b.child;
}
a = a.sibling;
}
null !== f.tail && B() > Hj && (b.flags |= 128, d = true, Ej(f, false), b.lanes = 4194304);
}
else {
if (!d)
if (a = Mh(g), null !== a) {
if (b.flags |= 128, d = true, c = a.updateQueue, null !== c && (b.updateQueue = c, b.flags |= 4), Ej(f, true), null === f.tail && "hidden" === f.tailMode && !g.alternate && !I)
return S(b), null;
} else
2 * B() - f.renderingStartTime > Hj && 1073741824 !== c && (b.flags |= 128, d = true, Ej(f, false), b.lanes = 4194304);
f.isBackwards ? (g.sibling = b.child, b.child = g) : (c = f.last, null !== c ? c.sibling = g : b.child = g, f.last = g);
}
if (null !== f.tail)
return b = f.tail, f.rendering = b, f.tail = b.sibling, f.renderingStartTime = B(), b.sibling = null, c = M.current, G(M, d ? c & 1 | 2 : c & 1), b;
S(b);
return null;
case 22:
case 23:
return Ij(), d = null !== b.memoizedState, null !== a && null !== a.memoizedState !== d && (b.flags |= 8192), d && 0 !== (b.mode & 1) ? 0 !== (gj & 1073741824) && (S(b), b.subtreeFlags & 6 && (b.flags |= 8192)) : S(b), null;
case 24:
return null;
case 25:
return null;
}
throw Error(p(156, b.tag));
}
function Jj(a, b) {
wg(b);
switch (b.tag) {
case 1:
return Zf(b.type) && $f(), a = b.flags, a & 65536 ? (b.flags = a & -65537 | 128, b) : null;
case 3:
return Jh(), E(Wf), E(H), Oh(), a = b.flags, 0 !== (a & 65536) && 0 === (a & 128) ? (b.flags = a & -65537 | 128, b) : null;
case 5:
return Lh(b), null;
case 13:
E(M);
a = b.memoizedState;
if (null !== a && null !== a.dehydrated) {
if (null === b.alternate)
throw Error(p(340));
Ig();
}
a = b.flags;
return a & 65536 ? (b.flags = a & -65537 | 128, b) : null;
case 19:
return E(M), null;
case 4:
return Jh(), null;
case 10:
return Rg(b.type._context), null;
case 22:
case 23:
return Ij(), null;
case 24:
return null;
default:
return null;
}
}
var Kj = false;
var U = false;
var Lj = "function" === typeof WeakSet ? WeakSet : Set;
var V = null;
function Mj(a, b) {
var c = a.ref;
if (null !== c)
if ("function" === typeof c)
try {
c(null);
} catch (d) {
W(a, b, d);
}
else
c.current = null;
}
function Nj(a, b, c) {
try {
c();
} catch (d) {
W(a, b, d);
}
}
var Oj = false;
function Pj(a, b) {
Cf = dd;
a = Me();
if (Ne(a)) {
if ("selectionStart" in a)
var c = { start: a.selectionStart, end: a.selectionEnd };
else
a: {
c = (c = a.ownerDocument) && c.defaultView || window;
var d = c.getSelection && c.getSelection();
if (d && 0 !== d.rangeCount) {
c = d.anchorNode;
var e = d.anchorOffset, f = d.focusNode;
d = d.focusOffset;
try {
c.nodeType, f.nodeType;
} catch (F) {
c = null;
break a;
}
var g = 0, h = -1, k = -1, l = 0, m = 0, q = a, r = null;
b:
for (; ; ) {
for (var y; ; ) {
q !== c || 0 !== e && 3 !== q.nodeType || (h = g + e);
q !== f || 0 !== d && 3 !== q.nodeType || (k = g + d);
3 === q.nodeType && (g += q.nodeValue.length);
if (null === (y = q.firstChild))
break;
r = q;
q = y;
}
for (; ; ) {
if (q === a)
break b;
r === c && ++l === e && (h = g);
r === f && ++m === d && (k = g);
if (null !== (y = q.nextSibling))
break;
q = r;
r = q.parentNode;
}
q = y;
}
c = -1 === h || -1 === k ? null : { start: h, end: k };
} else
c = null;
}
c = c || { start: 0, end: 0 };
} else
c = null;
Df = { focusedElem: a, selectionRange: c };
dd = false;
for (V = b; null !== V; )
if (b = V, a = b.child, 0 !== (b.subtreeFlags & 1028) && null !== a)
a.return = b, V = a;
else
for (; null !== V; ) {
b = V;
try {
var n = b.alternate;
if (0 !== (b.flags & 1024))
switch (b.tag) {
case 0:
case 11:
case 15:
break;
case 1:
if (null !== n) {
var t = n.memoizedProps, J = n.memoizedState, x = b.stateNode, w = x.getSnapshotBeforeUpdate(b.elementType === b.type ? t : Lg(b.type, t), J);
x.__reactInternalSnapshotBeforeUpdate = w;
}
break;
case 3:
var u = b.stateNode.containerInfo;
1 === u.nodeType ? u.textContent = "" : 9 === u.nodeType && u.documentElement && u.removeChild(u.documentElement);
break;
case 5:
case 6:
case 4:
case 17:
break;
default:
throw Error(p(163));
}
} catch (F) {
W(b, b.return, F);
}
a = b.sibling;
if (null !== a) {
a.return = b.return;
V = a;
break;
}
V = b.return;
}
n = Oj;
Oj = false;
return n;
}
function Qj(a, b, c) {
var d = b.updateQueue;
d = null !== d ? d.lastEffect : null;
if (null !== d) {
var e = d = d.next;
do {
if ((e.tag & a) === a) {
var f = e.destroy;
e.destroy = void 0;
void 0 !== f && Nj(b, c, f);
}
e = e.next;
} while (e !== d);
}
}
function Rj(a, b) {
b = b.updateQueue;
b = null !== b ? b.lastEffect : null;
if (null !== b) {
var c = b = b.next;
do {
if ((c.tag & a) === a) {
var d = c.create;
c.destroy = d();
}
c = c.next;
} while (c !== b);
}
}
function Sj(a) {
var b = a.ref;
if (null !== b) {
var c = a.stateNode;
switch (a.tag) {
case 5:
a = c;
break;
default:
a = c;
}
"function" === typeof b ? b(a) : b.current = a;
}
}
function Tj(a) {
var b = a.alternate;
null !== b && (a.alternate = null, Tj(b));
a.child = null;
a.deletions = null;
a.sibling = null;
5 === a.tag && (b = a.stateNode, null !== b && (delete b[Of], delete b[Pf], delete b[of], delete b[Qf], delete b[Rf]));
a.stateNode = null;
a.return = null;
a.dependencies = null;
a.memoizedProps = null;
a.memoizedState = null;
a.pendingProps = null;
a.stateNode = null;
a.updateQueue = null;
}
function Uj(a) {
return 5 === a.tag || 3 === a.tag || 4 === a.tag;
}
function Vj(a) {
a:
for (; ; ) {
for (; null === a.sibling; ) {
if (null === a.return || Uj(a.return))
return null;
a = a.return;
}
a.sibling.return = a.return;
for (a = a.sibling; 5 !== a.tag && 6 !== a.tag && 18 !== a.tag; ) {
if (a.flags & 2)
continue a;
if (null === a.child || 4 === a.tag)
continue a;
else
a.child.return = a, a = a.child;
}
if (!(a.flags & 2))
return a.stateNode;
}
}
function Wj(a, b, c) {
var d = a.tag;
if (5 === d || 6 === d)
a = a.stateNode, b ? 8 === c.nodeType ? c.parentNode.insertBefore(a, b) : c.insertBefore(a, b) : (8 === c.nodeType ? (b = c.parentNode, b.insertBefore(a, c)) : (b = c, b.appendChild(a)), c = c._reactRootContainer, null !== c && void 0 !== c || null !== b.onclick || (b.onclick = Bf));
else if (4 !== d && (a = a.child, null !== a))
for (Wj(a, b, c), a = a.sibling; null !== a; )
Wj(a, b, c), a = a.sibling;
}
function Xj(a, b, c) {
var d = a.tag;
if (5 === d || 6 === d)
a = a.stateNode, b ? c.insertBefore(a, b) : c.appendChild(a);
else if (4 !== d && (a = a.child, null !== a))
for (Xj(a, b, c), a = a.sibling; null !== a; )
Xj(a, b, c), a = a.sibling;
}
var X = null;
var Yj = false;
function Zj(a, b, c) {
for (c = c.child; null !== c; )
ak(a, b, c), c = c.sibling;
}
function ak(a, b, c) {
if (lc && "function" === typeof lc.onCommitFiberUnmount)
try {
lc.onCommitFiberUnmount(kc, c);
} catch (h) {
}
switch (c.tag) {
case 5:
U || Mj(c, b);
case 6:
var d = X, e = Yj;
X = null;
Zj(a, b, c);
X = d;
Yj = e;
null !== X && (Yj ? (a = X, c = c.stateNode, 8 === a.nodeType ? a.parentNode.removeChild(c) : a.removeChild(c)) : X.removeChild(c.stateNode));
break;
case 18:
null !== X && (Yj ? (a = X, c = c.stateNode, 8 === a.nodeType ? Kf(a.parentNode, c) : 1 === a.nodeType && Kf(a, c), bd(a)) : Kf(X, c.stateNode));
break;
case 4:
d = X;
e = Yj;
X = c.stateNode.containerInfo;
Yj = true;
Zj(a, b, c);
X = d;
Yj = e;
break;
case 0:
case 11:
case 14:
case 15:
if (!U && (d = c.updateQueue, null !== d && (d = d.lastEffect, null !== d))) {
e = d = d.next;
do {
var f = e, g = f.destroy;
f = f.tag;
void 0 !== g && (0 !== (f & 2) ? Nj(c, b, g) : 0 !== (f & 4) && Nj(c, b, g));
e = e.next;
} while (e !== d);
}
Zj(a, b, c);
break;
case 1:
if (!U && (Mj(c, b), d = c.stateNode, "function" === typeof d.componentWillUnmount))
try {
d.props = c.memoizedProps, d.state = c.memoizedState, d.componentWillUnmount();
} catch (h) {
W(c, b, h);
}
Zj(a, b, c);
break;
case 21:
Zj(a, b, c);
break;
case 22:
c.mode & 1 ? (U = (d = U) || null !== c.memoizedState, Zj(a, b, c), U = d) : Zj(a, b, c);
break;
default:
Zj(a, b, c);
}
}
function bk(a) {
var b = a.updateQueue;
if (null !== b) {
a.updateQueue = null;
var c = a.stateNode;
null === c && (c = a.stateNode = new Lj());
b.forEach(function(b2) {
var d = ck.bind(null, a, b2);
c.has(b2) || (c.add(b2), b2.then(d, d));
});
}
}
function dk(a, b) {
var c = b.deletions;
if (null !== c)
for (var d = 0; d < c.length; d++) {
var e = c[d];
try {
var f = a, g = b, h = g;
a:
for (; null !== h; ) {
switch (h.tag) {
case 5:
X = h.stateNode;
Yj = false;
break a;
case 3:
X = h.stateNode.containerInfo;
Yj = true;
break a;
case 4:
X = h.stateNode.containerInfo;
Yj = true;
break a;
}
h = h.return;
}
if (null === X)
throw Error(p(160));
ak(f, g, e);
X = null;
Yj = false;
var k = e.alternate;
null !== k && (k.return = null);
e.return = null;
} catch (l) {
W(e, b, l);
}
}
if (b.subtreeFlags & 12854)
for (b = b.child; null !== b; )
ek(b, a), b = b.sibling;
}
function ek(a, b) {
var c = a.alternate, d = a.flags;
switch (a.tag) {
case 0:
case 11:
case 14:
case 15:
dk(b, a);
fk(a);
if (d & 4) {
try {
Qj(3, a, a.return), Rj(3, a);
} catch (t) {
W(a, a.return, t);
}
try {
Qj(5, a, a.return);
} catch (t) {
W(a, a.return, t);
}
}
break;
case 1:
dk(b, a);
fk(a);
d & 512 && null !== c && Mj(c, c.return);
break;
case 5:
dk(b, a);
fk(a);
d & 512 && null !== c && Mj(c, c.return);
if (a.flags & 32) {
var e = a.stateNode;
try {
ob(e, "");
} catch (t) {
W(a, a.return, t);
}
}
if (d & 4 && (e = a.stateNode, null != e)) {
var f = a.memoizedProps, g = null !== c ? c.memoizedProps : f, h = a.type, k = a.updateQueue;
a.updateQueue = null;
if (null !== k)
try {
"input" === h && "radio" === f.type && null != f.name && ab(e, f);
vb(h, g);
var l = vb(h, f);
for (g = 0; g < k.length; g += 2) {
var m = k[g], q = k[g + 1];
"style" === m ? sb(e, q) : "dangerouslySetInnerHTML" === m ? nb(e, q) : "children" === m ? ob(e, q) : ta(e, m, q, l);
}
switch (h) {
case "input":
bb(e, f);
break;
case "textarea":
ib(e, f);
break;
case "select":
var r = e._wrapperState.wasMultiple;
e._wrapperState.wasMultiple = !!f.multiple;
var y = f.value;
null != y ? fb(e, !!f.multiple, y, false) : r !== !!f.multiple && (null != f.defaultValue ? fb(
e,
!!f.multiple,
f.defaultValue,
true
) : fb(e, !!f.multiple, f.multiple ? [] : "", false));
}
e[Pf] = f;
} catch (t) {
W(a, a.return, t);
}
}
break;
case 6:
dk(b, a);
fk(a);
if (d & 4) {
if (null === a.stateNode)
throw Error(p(162));
e = a.stateNode;
f = a.memoizedProps;
try {
e.nodeValue = f;
} catch (t) {
W(a, a.return, t);
}
}
break;
case 3:
dk(b, a);
fk(a);
if (d & 4 && null !== c && c.memoizedState.isDehydrated)
try {
bd(b.containerInfo);
} catch (t) {
W(a, a.return, t);
}
break;
case 4:
dk(b, a);
fk(a);
break;
case 13:
dk(b, a);
fk(a);
e = a.child;
e.flags & 8192 && (f = null !== e.memoizedState, e.stateNode.isHidden = f, !f || null !== e.alternate && null !== e.alternate.memoizedState || (gk = B()));
d & 4 && bk(a);
break;
case 22:
m = null !== c && null !== c.memoizedState;
a.mode & 1 ? (U = (l = U) || m, dk(b, a), U = l) : dk(b, a);
fk(a);
if (d & 8192) {
l = null !== a.memoizedState;
if ((a.stateNode.isHidden = l) && !m && 0 !== (a.mode & 1))
for (V = a, m = a.child; null !== m; ) {
for (q = V = m; null !== V; ) {
r = V;
y = r.child;
switch (r.tag) {
case 0:
case 11:
case 14:
case 15:
Qj(4, r, r.return);
break;
case 1:
Mj(r, r.return);
var n = r.stateNode;
if ("function" === typeof n.componentWillUnmount) {
d = r;
c = r.return;
try {
b = d, n.props = b.memoizedProps, n.state = b.memoizedState, n.componentWillUnmount();
} catch (t) {
W(d, c, t);
}
}
break;
case 5:
Mj(r, r.return);
break;
case 22:
if (null !== r.memoizedState) {
hk(q);
continue;
}
}
null !== y ? (y.return = r, V = y) : hk(q);
}
m = m.sibling;
}
a:
for (m = null, q = a; ; ) {
if (5 === q.tag) {
if (null === m) {
m = q;
try {
e = q.stateNode, l ? (f = e.style, "function" === typeof f.setProperty ? f.setProperty("display", "none", "important") : f.display = "none") : (h = q.stateNode, k = q.memoizedProps.style, g = void 0 !== k && null !== k && k.hasOwnProperty("display") ? k.display : null, h.style.display = rb("display", g));
} catch (t) {
W(a, a.return, t);
}
}
} else if (6 === q.tag) {
if (null === m)
try {
q.stateNode.nodeValue = l ? "" : q.memoizedProps;
} catch (t) {
W(a, a.return, t);
}
} else if ((22 !== q.tag && 23 !== q.tag || null === q.memoizedState || q === a) && null !== q.child) {
q.child.return = q;
q = q.child;
continue;
}
if (q === a)
break a;
for (; null === q.sibling; ) {
if (null === q.return || q.return === a)
break a;
m === q && (m = null);
q = q.return;
}
m === q && (m = null);
q.sibling.return = q.return;
q = q.sibling;
}
}
break;
case 19:
dk(b, a);
fk(a);
d & 4 && bk(a);
break;
case 21:
break;
default:
dk(
b,
a
), fk(a);
}
}
function fk(a) {
var b = a.flags;
if (b & 2) {
try {
a: {
for (var c = a.return; null !== c; ) {
if (Uj(c)) {
var d = c;
break a;
}
c = c.return;
}
throw Error(p(160));
}
switch (d.tag) {
case 5:
var e = d.stateNode;
d.flags & 32 && (ob(e, ""), d.flags &= -33);
var f = Vj(a);
Xj(a, f, e);
break;
case 3:
case 4:
var g = d.stateNode.containerInfo, h = Vj(a);
Wj(a, h, g);
break;
default:
throw Error(p(161));
}
} catch (k) {
W(a, a.return, k);
}
a.flags &= -3;
}
b & 4096 && (a.flags &= -4097);
}
function ik(a, b, c) {
V = a;
jk(a, b, c);
}
function jk(a, b, c) {
for (var d = 0 !== (a.mode & 1); null !== V; ) {
var e = V, f = e.child;
if (22 === e.tag && d) {
var g = null !== e.memoizedState || Kj;
if (!g) {
var h = e.alternate, k = null !== h && null !== h.memoizedState || U;
h = Kj;
var l = U;
Kj = g;
if ((U = k) && !l)
for (V = e; null !== V; )
g = V, k = g.child, 22 === g.tag && null !== g.memoizedState ? kk(e) : null !== k ? (k.return = g, V = k) : kk(e);
for (; null !== f; )
V = f, jk(f, b, c), f = f.sibling;
V = e;
Kj = h;
U = l;
}
lk(a, b, c);
} else
0 !== (e.subtreeFlags & 8772) && null !== f ? (f.return = e, V = f) : lk(a, b, c);
}
}
function lk(a) {
for (; null !== V; ) {
var b = V;
if (0 !== (b.flags & 8772)) {
var c = b.alternate;
try {
if (0 !== (b.flags & 8772))
switch (b.tag) {
case 0:
case 11:
case 15:
U || Rj(5, b);
break;
case 1:
var d = b.stateNode;
if (b.flags & 4 && !U)
if (null === c)
d.componentDidMount();
else {
var e = b.elementType === b.type ? c.memoizedProps : Lg(b.type, c.memoizedProps);
d.componentDidUpdate(e, c.memoizedState, d.__reactInternalSnapshotBeforeUpdate);
}
var f = b.updateQueue;
null !== f && ih(b, f, d);
break;
case 3:
var g = b.updateQueue;
if (null !== g) {
c = null;
if (null !== b.child)
switch (b.child.tag) {
case 5:
c = b.child.stateNode;
break;
case 1:
c = b.child.stateNode;
}
ih(b, g, c);
}
break;
case 5:
var h = b.stateNode;
if (null === c && b.flags & 4) {
c = h;
var k = b.memoizedProps;
switch (b.type) {
case "button":
case "input":
case "select":
case "textarea":
k.autoFocus && c.focus();
break;
case "img":
k.src && (c.src = k.src);
}
}
break;
case 6:
break;
case 4:
break;
case 12:
break;
case 13:
if (null === b.memoizedState) {
var l = b.alternate;
if (null !== l) {
var m = l.memoizedState;
if (null !== m) {
var q = m.dehydrated;
null !== q && bd(q);
}
}
}
break;
case 19:
case 17:
case 21:
case 22:
case 23:
case 25:
break;
default:
throw Error(p(163));
}
U || b.flags & 512 && Sj(b);
} catch (r) {
W(b, b.return, r);
}
}
if (b === a) {
V = null;
break;
}
c = b.sibling;
if (null !== c) {
c.return = b.return;
V = c;
break;
}
V = b.return;
}
}
function hk(a) {
for (; null !== V; ) {
var b = V;
if (b === a) {
V = null;
break;
}
var c = b.sibling;
if (null !== c) {
c.return = b.return;
V = c;
break;
}
V = b.return;
}
}
function kk(a) {
for (; null !== V; ) {
var b = V;
try {
switch (b.tag) {
case 0:
case 11:
case 15:
var c = b.return;
try {
Rj(4, b);
} catch (k) {
W(b, c, k);
}
break;
case 1:
var d = b.stateNode;
if ("function" === typeof d.componentDidMount) {
var e = b.return;
try {
d.componentDidMount();
} catch (k) {
W(b, e, k);
}
}
var f = b.return;
try {
Sj(b);
} catch (k) {
W(b, f, k);
}
break;
case 5:
var g = b.return;
try {
Sj(b);
} catch (k) {
W(b, g, k);
}
}
} catch (k) {
W(b, b.return, k);
}
if (b === a) {
V = null;
break;
}
var h = b.sibling;
if (null !== h) {
h.return = b.return;
V = h;
break;
}
V = b.return;
}
}
var mk = Math.ceil;
var nk = ua.ReactCurrentDispatcher;
var ok = ua.ReactCurrentOwner;
var pk = ua.ReactCurrentBatchConfig;
var K = 0;
var R = null;
var Y = null;
var Z = 0;
var gj = 0;
var fj = Uf(0);
var T = 0;
var qk = null;
var hh = 0;
var rk = 0;
var sk = 0;
var tk = null;
var uk = null;
var gk = 0;
var Hj = Infinity;
var vk = null;
var Pi = false;
var Qi = null;
var Si = null;
var wk = false;
var xk = null;
var yk = 0;
var zk = 0;
var Ak = null;
var Bk = -1;
var Ck = 0;
function L() {
return 0 !== (K & 6) ? B() : -1 !== Bk ? Bk : Bk = B();
}
function lh(a) {
if (0 === (a.mode & 1))
return 1;
if (0 !== (K & 2) && 0 !== Z)
return Z & -Z;
if (null !== Kg.transition)
return 0 === Ck && (Ck = yc()), Ck;
a = C;
if (0 !== a)
return a;
a = window.event;
a = void 0 === a ? 16 : jd(a.type);
return a;
}
function mh(a, b, c, d) {
if (50 < zk)
throw zk = 0, Ak = null, Error(p(185));
Ac(a, c, d);
if (0 === (K & 2) || a !== R)
a === R && (0 === (K & 2) && (rk |= c), 4 === T && Dk(a, Z)), Ek(a, d), 1 === c && 0 === K && 0 === (b.mode & 1) && (Hj = B() + 500, fg && jg());
}
function Ek(a, b) {
var c = a.callbackNode;
wc(a, b);
var d = uc(a, a === R ? Z : 0);
if (0 === d)
null !== c && bc(c), a.callbackNode = null, a.callbackPriority = 0;
else if (b = d & -d, a.callbackPriority !== b) {
null != c && bc(c);
if (1 === b)
0 === a.tag ? ig(Fk.bind(null, a)) : hg(Fk.bind(null, a)), Jf(function() {
0 === (K & 6) && jg();
}), c = null;
else {
switch (Dc(d)) {
case 1:
c = fc;
break;
case 4:
c = gc;
break;
case 16:
c = hc;
break;
case 536870912:
c = jc;
break;
default:
c = hc;
}
c = Gk(c, Hk.bind(null, a));
}
a.callbackPriority = b;
a.callbackNode = c;
}
}
function Hk(a, b) {
Bk = -1;
Ck = 0;
if (0 !== (K & 6))
throw Error(p(327));
var c = a.callbackNode;
if (Ik() && a.callbackNode !== c)
return null;
var d = uc(a, a === R ? Z : 0);
if (0 === d)
return null;
if (0 !== (d & 30) || 0 !== (d & a.expiredLanes) || b)
b = Jk(a, d);
else {
b = d;
var e = K;
K |= 2;
var f = Kk();
if (R !== a || Z !== b)
vk = null, Hj = B() + 500, Lk(a, b);
do
try {
Mk();
break;
} catch (h) {
Nk(a, h);
}
while (1);
Qg();
nk.current = f;
K = e;
null !== Y ? b = 0 : (R = null, Z = 0, b = T);
}
if (0 !== b) {
2 === b && (e = xc(a), 0 !== e && (d = e, b = Ok(a, e)));
if (1 === b)
throw c = qk, Lk(a, 0), Dk(a, d), Ek(a, B()), c;
if (6 === b)
Dk(a, d);
else {
e = a.current.alternate;
if (0 === (d & 30) && !Pk(e) && (b = Jk(a, d), 2 === b && (f = xc(a), 0 !== f && (d = f, b = Ok(a, f))), 1 === b))
throw c = qk, Lk(a, 0), Dk(a, d), Ek(a, B()), c;
a.finishedWork = e;
a.finishedLanes = d;
switch (b) {
case 0:
case 1:
throw Error(p(345));
case 2:
Qk(a, uk, vk);
break;
case 3:
Dk(a, d);
if ((d & 130023424) === d && (b = gk + 500 - B(), 10 < b)) {
if (0 !== uc(a, 0))
break;
e = a.suspendedLanes;
if ((e & d) !== d) {
L();
a.pingedLanes |= a.suspendedLanes & e;
break;
}
a.timeoutHandle = Ff(Qk.bind(null, a, uk, vk), b);
break;
}
Qk(a, uk, vk);
break;
case 4:
Dk(a, d);
if ((d & 4194240) === d)
break;
b = a.eventTimes;
for (e = -1; 0 < d; ) {
var g = 31 - oc(d);
f = 1 << g;
g = b[g];
g > e && (e = g);
d &= ~f;
}
d = e;
d = B() - d;
d = (120 > d ? 120 : 480 > d ? 480 : 1080 > d ? 1080 : 1920 > d ? 1920 : 3e3 > d ? 3e3 : 4320 > d ? 4320 : 1960 * mk(d / 1960)) - d;
if (10 < d) {
a.timeoutHandle = Ff(Qk.bind(null, a, uk, vk), d);
break;
}
Qk(a, uk, vk);
break;
case 5:
Qk(a, uk, vk);
break;
default:
throw Error(p(329));
}
}
}
Ek(a, B());
return a.callbackNode === c ? Hk.bind(null, a) : null;
}
function Ok(a, b) {
var c = tk;
a.current.memoizedState.isDehydrated && (Lk(a, b).flags |= 256);
a = Jk(a, b);
2 !== a && (b = uk, uk = c, null !== b && Gj(b));
return a;
}
function Gj(a) {
null === uk ? uk = a : uk.push.apply(uk, a);
}
function Pk(a) {
for (var b = a; ; ) {
if (b.flags & 16384) {
var c = b.updateQueue;
if (null !== c && (c = c.stores, null !== c))
for (var d = 0; d < c.length; d++) {
var e = c[d], f = e.getSnapshot;
e = e.value;
try {
if (!He(f(), e))
return false;
} catch (g) {
return false;
}
}
}
c = b.child;
if (b.subtreeFlags & 16384 && null !== c)
c.return = b, b = c;
else {
if (b === a)
break;
for (; null === b.sibling; ) {
if (null === b.return || b.return === a)
return true;
b = b.return;
}
b.sibling.return = b.return;
b = b.sibling;
}
}
return true;
}
function Dk(a, b) {
b &= ~sk;
b &= ~rk;
a.suspendedLanes |= b;
a.pingedLanes &= ~b;
for (a = a.expirationTimes; 0 < b; ) {
var c = 31 - oc(b), d = 1 << c;
a[c] = -1;
b &= ~d;
}
}
function Fk(a) {
if (0 !== (K & 6))
throw Error(p(327));
Ik();
var b = uc(a, 0);
if (0 === (b & 1))
return Ek(a, B()), null;
var c = Jk(a, b);
if (0 !== a.tag && 2 === c) {
var d = xc(a);
0 !== d && (b = d, c = Ok(a, d));
}
if (1 === c)
throw c = qk, Lk(a, 0), Dk(a, b), Ek(a, B()), c;
if (6 === c)
throw Error(p(345));
a.finishedWork = a.current.alternate;
a.finishedLanes = b;
Qk(a, uk, vk);
Ek(a, B());
return null;
}
function Rk(a, b) {
var c = K;
K |= 1;
try {
return a(b);
} finally {
K = c, 0 === K && (Hj = B() + 500, fg && jg());
}
}
function Sk(a) {
null !== xk && 0 === xk.tag && 0 === (K & 6) && Ik();
var b = K;
K |= 1;
var c = pk.transition, d = C;
try {
if (pk.transition = null, C = 1, a)
return a();
} finally {
C = d, pk.transition = c, K = b, 0 === (K & 6) && jg();
}
}
function Ij() {
gj = fj.current;
E(fj);
}
function Lk(a, b) {
a.finishedWork = null;
a.finishedLanes = 0;
var c = a.timeoutHandle;
-1 !== c && (a.timeoutHandle = -1, Gf(c));
if (null !== Y)
for (c = Y.return; null !== c; ) {
var d = c;
wg(d);
switch (d.tag) {
case 1:
d = d.type.childContextTypes;
null !== d && void 0 !== d && $f();
break;
case 3:
Jh();
E(Wf);
E(H);
Oh();
break;
case 5:
Lh(d);
break;
case 4:
Jh();
break;
case 13:
E(M);
break;
case 19:
E(M);
break;
case 10:
Rg(d.type._context);
break;
case 22:
case 23:
Ij();
}
c = c.return;
}
R = a;
Y = a = wh(a.current, null);
Z = gj = b;
T = 0;
qk = null;
sk = rk = hh = 0;
uk = tk = null;
if (null !== Wg) {
for (b = 0; b < Wg.length; b++)
if (c = Wg[b], d = c.interleaved, null !== d) {
c.interleaved = null;
var e = d.next, f = c.pending;
if (null !== f) {
var g = f.next;
f.next = e;
d.next = g;
}
c.pending = d;
}
Wg = null;
}
return a;
}
function Nk(a, b) {
do {
var c = Y;
try {
Qg();
Ph.current = ai;
if (Sh) {
for (var d = N.memoizedState; null !== d; ) {
var e = d.queue;
null !== e && (e.pending = null);
d = d.next;
}
Sh = false;
}
Rh = 0;
P = O = N = null;
Th = false;
Uh = 0;
ok.current = null;
if (null === c || null === c.return) {
T = 1;
qk = b;
Y = null;
break;
}
a: {
var f = a, g = c.return, h = c, k = b;
b = Z;
h.flags |= 32768;
if (null !== k && "object" === typeof k && "function" === typeof k.then) {
var l = k, m = h, q = m.tag;
if (0 === (m.mode & 1) && (0 === q || 11 === q || 15 === q)) {
var r = m.alternate;
r ? (m.updateQueue = r.updateQueue, m.memoizedState = r.memoizedState, m.lanes = r.lanes) : (m.updateQueue = null, m.memoizedState = null);
}
var y = Vi(g);
if (null !== y) {
y.flags &= -257;
Wi(y, g, h, f, b);
y.mode & 1 && Ti(f, l, b);
b = y;
k = l;
var n = b.updateQueue;
if (null === n) {
var t = /* @__PURE__ */ new Set();
t.add(k);
b.updateQueue = t;
} else
n.add(k);
break a;
} else {
if (0 === (b & 1)) {
Ti(f, l, b);
uj();
break a;
}
k = Error(p(426));
}
} else if (I && h.mode & 1) {
var J = Vi(g);
if (null !== J) {
0 === (J.flags & 65536) && (J.flags |= 256);
Wi(J, g, h, f, b);
Jg(Ki(k, h));
break a;
}
}
f = k = Ki(k, h);
4 !== T && (T = 2);
null === tk ? tk = [f] : tk.push(f);
f = g;
do {
switch (f.tag) {
case 3:
f.flags |= 65536;
b &= -b;
f.lanes |= b;
var x = Oi(f, k, b);
fh(f, x);
break a;
case 1:
h = k;
var w = f.type, u = f.stateNode;
if (0 === (f.flags & 128) && ("function" === typeof w.getDerivedStateFromError || null !== u && "function" === typeof u.componentDidCatch && (null === Si || !Si.has(u)))) {
f.flags |= 65536;
b &= -b;
f.lanes |= b;
var F = Ri(f, h, b);
fh(f, F);
break a;
}
}
f = f.return;
} while (null !== f);
}
Tk(c);
} catch (na) {
b = na;
Y === c && null !== c && (Y = c = c.return);
continue;
}
break;
} while (1);
}
function Kk() {
var a = nk.current;
nk.current = ai;
return null === a ? ai : a;
}
function uj() {
if (0 === T || 3 === T || 2 === T)
T = 4;
null === R || 0 === (hh & 268435455) && 0 === (rk & 268435455) || Dk(R, Z);
}
function Jk(a, b) {
var c = K;
K |= 2;
var d = Kk();
if (R !== a || Z !== b)
vk = null, Lk(a, b);
do
try {
Uk();
break;
} catch (e) {
Nk(a, e);
}
while (1);
Qg();
K = c;
nk.current = d;
if (null !== Y)
throw Error(p(261));
R = null;
Z = 0;
return T;
}
function Uk() {
for (; null !== Y; )
Vk(Y);
}
function Mk() {
for (; null !== Y && !cc(); )
Vk(Y);
}
function Vk(a) {
var b = Wk(a.alternate, a, gj);
a.memoizedProps = a.pendingProps;
null === b ? Tk(a) : Y = b;
ok.current = null;
}
function Tk(a) {
var b = a;
do {
var c = b.alternate;
a = b.return;
if (0 === (b.flags & 32768)) {
if (c = Fj(c, b, gj), null !== c) {
Y = c;
return;
}
} else {
c = Jj(c, b);
if (null !== c) {
c.flags &= 32767;
Y = c;
return;
}
if (null !== a)
a.flags |= 32768, a.subtreeFlags = 0, a.deletions = null;
else {
T = 6;
Y = null;
return;
}
}
b = b.sibling;
if (null !== b) {
Y = b;
return;
}
Y = b = a;
} while (null !== b);
0 === T && (T = 5);
}
function Qk(a, b, c) {
var d = C, e = pk.transition;
try {
pk.transition = null, C = 1, Xk(a, b, c, d);
} finally {
pk.transition = e, C = d;
}
return null;
}
function Xk(a, b, c, d) {
do
Ik();
while (null !== xk);
if (0 !== (K & 6))
throw Error(p(327));
c = a.finishedWork;
var e = a.finishedLanes;
if (null === c)
return null;
a.finishedWork = null;
a.finishedLanes = 0;
if (c === a.current)
throw Error(p(177));
a.callbackNode = null;
a.callbackPriority = 0;
var f = c.lanes | c.childLanes;
Bc(a, f);
a === R && (Y = R = null, Z = 0);
0 === (c.subtreeFlags & 2064) && 0 === (c.flags & 2064) || wk || (wk = true, Gk(hc, function() {
Ik();
return null;
}));
f = 0 !== (c.flags & 15990);
if (0 !== (c.subtreeFlags & 15990) || f) {
f = pk.transition;
pk.transition = null;
var g = C;
C = 1;
var h = K;
K |= 4;
ok.current = null;
Pj(a, c);
ek(c, a);
Oe(Df);
dd = !!Cf;
Df = Cf = null;
a.current = c;
ik(c, a, e);
dc();
K = h;
C = g;
pk.transition = f;
} else
a.current = c;
wk && (wk = false, xk = a, yk = e);
f = a.pendingLanes;
0 === f && (Si = null);
mc(c.stateNode, d);
Ek(a, B());
if (null !== b)
for (d = a.onRecoverableError, c = 0; c < b.length; c++)
e = b[c], d(e.value, { componentStack: e.stack, digest: e.digest });
if (Pi)
throw Pi = false, a = Qi, Qi = null, a;
0 !== (yk & 1) && 0 !== a.tag && Ik();
f = a.pendingLanes;
0 !== (f & 1) ? a === Ak ? zk++ : (zk = 0, Ak = a) : zk = 0;
jg();
return null;
}
function Ik() {
if (null !== xk) {
var a = Dc(yk), b = pk.transition, c = C;
try {
pk.transition = null;
C = 16 > a ? 16 : a;
if (null === xk)
var d = false;
else {
a = xk;
xk = null;
yk = 0;
if (0 !== (K & 6))
throw Error(p(331));
var e = K;
K |= 4;
for (V = a.current; null !== V; ) {
var f = V, g = f.child;
if (0 !== (V.flags & 16)) {
var h = f.deletions;
if (null !== h) {
for (var k = 0; k < h.length; k++) {
var l = h[k];
for (V = l; null !== V; ) {
var m = V;
switch (m.tag) {
case 0:
case 11:
case 15:
Qj(8, m, f);
}
var q = m.child;
if (null !== q)
q.return = m, V = q;
else
for (; null !== V; ) {
m = V;
var r = m.sibling, y = m.return;
Tj(m);
if (m === l) {
V = null;
break;
}
if (null !== r) {
r.return = y;
V = r;
break;
}
V = y;
}
}
}
var n = f.alternate;
if (null !== n) {
var t = n.child;
if (null !== t) {
n.child = null;
do {
var J = t.sibling;
t.sibling = null;
t = J;
} while (null !== t);
}
}
V = f;
}
}
if (0 !== (f.subtreeFlags & 2064) && null !== g)
g.return = f, V = g;
else
b:
for (; null !== V; ) {
f = V;
if (0 !== (f.flags & 2048))
switch (f.tag) {
case 0:
case 11:
case 15:
Qj(9, f, f.return);
}
var x = f.sibling;
if (null !== x) {
x.return = f.return;
V = x;
break b;
}
V = f.return;
}
}
var w = a.current;
for (V = w; null !== V; ) {
g = V;
var u = g.child;
if (0 !== (g.subtreeFlags & 2064) && null !== u)
u.return = g, V = u;
else
b:
for (g = w; null !== V; ) {
h = V;
if (0 !== (h.flags & 2048))
try {
switch (h.tag) {
case 0:
case 11:
case 15:
Rj(9, h);
}
} catch (na) {
W(h, h.return, na);
}
if (h === g) {
V = null;
break b;
}
var F = h.sibling;
if (null !== F) {
F.return = h.return;
V = F;
break b;
}
V = h.return;
}
}
K = e;
jg();
if (lc && "function" === typeof lc.onPostCommitFiberRoot)
try {
lc.onPostCommitFiberRoot(kc, a);
} catch (na) {
}
d = true;
}
return d;
} finally {
C = c, pk.transition = b;
}
}
return false;
}
function Yk(a, b, c) {
b = Ki(c, b);
b = Oi(a, b, 1);
a = dh(a, b, 1);
b = L();
null !== a && (Ac(a, 1, b), Ek(a, b));
}
function W(a, b, c) {
if (3 === a.tag)
Yk(a, a, c);
else
for (; null !== b; ) {
if (3 === b.tag) {
Yk(b, a, c);
break;
} else if (1 === b.tag) {
var d = b.stateNode;
if ("function" === typeof b.type.getDerivedStateFromError || "function" === typeof d.componentDidCatch && (null === Si || !Si.has(d))) {
a = Ki(c, a);
a = Ri(b, a, 1);
b = dh(b, a, 1);
a = L();
null !== b && (Ac(b, 1, a), Ek(b, a));
break;
}
}
b = b.return;
}
}
function Ui(a, b, c) {
var d = a.pingCache;
null !== d && d.delete(b);
b = L();
a.pingedLanes |= a.suspendedLanes & c;
R === a && (Z & c) === c && (4 === T || 3 === T && (Z & 130023424) === Z && 500 > B() - gk ? Lk(a, 0) : sk |= c);
Ek(a, b);
}
function Zk(a, b) {
0 === b && (0 === (a.mode & 1) ? b = 1 : (b = sc, sc <<= 1, 0 === (sc & 130023424) && (sc = 4194304)));
var c = L();
a = Zg(a, b);
null !== a && (Ac(a, b, c), Ek(a, c));
}
function vj(a) {
var b = a.memoizedState, c = 0;
null !== b && (c = b.retryLane);
Zk(a, c);
}
function ck(a, b) {
var c = 0;
switch (a.tag) {
case 13:
var d = a.stateNode;
var e = a.memoizedState;
null !== e && (c = e.retryLane);
break;
case 19:
d = a.stateNode;
break;
default:
throw Error(p(314));
}
null !== d && d.delete(b);
Zk(a, c);
}
var Wk;
Wk = function(a, b, c) {
if (null !== a)
if (a.memoizedProps !== b.pendingProps || Wf.current)
Ug = true;
else {
if (0 === (a.lanes & c) && 0 === (b.flags & 128))
return Ug = false, zj(a, b, c);
Ug = 0 !== (a.flags & 131072) ? true : false;
}
else
Ug = false, I && 0 !== (b.flags & 1048576) && ug(b, ng, b.index);
b.lanes = 0;
switch (b.tag) {
case 2:
var d = b.type;
jj(a, b);
a = b.pendingProps;
var e = Yf(b, H.current);
Tg(b, c);
e = Xh(null, b, d, a, e, c);
var f = bi();
b.flags |= 1;
"object" === typeof e && null !== e && "function" === typeof e.render && void 0 === e.$$typeof ? (b.tag = 1, b.memoizedState = null, b.updateQueue = null, Zf(d) ? (f = true, cg(b)) : f = false, b.memoizedState = null !== e.state && void 0 !== e.state ? e.state : null, ah(b), e.updater = nh, b.stateNode = e, e._reactInternals = b, rh(b, d, a, c), b = kj(null, b, d, true, f, c)) : (b.tag = 0, I && f && vg(b), Yi(null, b, e, c), b = b.child);
return b;
case 16:
d = b.elementType;
a: {
jj(a, b);
a = b.pendingProps;
e = d._init;
d = e(d._payload);
b.type = d;
e = b.tag = $k(d);
a = Lg(d, a);
switch (e) {
case 0:
b = dj(null, b, d, a, c);
break a;
case 1:
b = ij(null, b, d, a, c);
break a;
case 11:
b = Zi(null, b, d, a, c);
break a;
case 14:
b = aj(null, b, d, Lg(d.type, a), c);
break a;
}
throw Error(p(
306,
d,
""
));
}
return b;
case 0:
return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : Lg(d, e), dj(a, b, d, e, c);
case 1:
return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : Lg(d, e), ij(a, b, d, e, c);
case 3:
a: {
lj(b);
if (null === a)
throw Error(p(387));
d = b.pendingProps;
f = b.memoizedState;
e = f.element;
bh(a, b);
gh(b, d, null, c);
var g = b.memoizedState;
d = g.element;
if (f.isDehydrated)
if (f = { element: d, isDehydrated: false, cache: g.cache, pendingSuspenseBoundaries: g.pendingSuspenseBoundaries, transitions: g.transitions }, b.updateQueue.baseState = f, b.memoizedState = f, b.flags & 256) {
e = Ki(Error(p(423)), b);
b = mj(a, b, d, c, e);
break a;
} else if (d !== e) {
e = Ki(Error(p(424)), b);
b = mj(a, b, d, c, e);
break a;
} else
for (yg = Lf(b.stateNode.containerInfo.firstChild), xg = b, I = true, zg = null, c = Ch(b, null, d, c), b.child = c; c; )
c.flags = c.flags & -3 | 4096, c = c.sibling;
else {
Ig();
if (d === e) {
b = $i(a, b, c);
break a;
}
Yi(a, b, d, c);
}
b = b.child;
}
return b;
case 5:
return Kh(b), null === a && Eg(b), d = b.type, e = b.pendingProps, f = null !== a ? a.memoizedProps : null, g = e.children, Ef(d, e) ? g = null : null !== f && Ef(d, f) && (b.flags |= 32), hj(a, b), Yi(a, b, g, c), b.child;
case 6:
return null === a && Eg(b), null;
case 13:
return pj(a, b, c);
case 4:
return Ih(b, b.stateNode.containerInfo), d = b.pendingProps, null === a ? b.child = Bh(b, null, d, c) : Yi(a, b, d, c), b.child;
case 11:
return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : Lg(d, e), Zi(a, b, d, e, c);
case 7:
return Yi(a, b, b.pendingProps, c), b.child;
case 8:
return Yi(a, b, b.pendingProps.children, c), b.child;
case 12:
return Yi(a, b, b.pendingProps.children, c), b.child;
case 10:
a: {
d = b.type._context;
e = b.pendingProps;
f = b.memoizedProps;
g = e.value;
G(Mg, d._currentValue);
d._currentValue = g;
if (null !== f)
if (He(f.value, g)) {
if (f.children === e.children && !Wf.current) {
b = $i(a, b, c);
break a;
}
} else
for (f = b.child, null !== f && (f.return = b); null !== f; ) {
var h = f.dependencies;
if (null !== h) {
g = f.child;
for (var k = h.firstContext; null !== k; ) {
if (k.context === d) {
if (1 === f.tag) {
k = ch(-1, c & -c);
k.tag = 2;
var l = f.updateQueue;
if (null !== l) {
l = l.shared;
var m = l.pending;
null === m ? k.next = k : (k.next = m.next, m.next = k);
l.pending = k;
}
}
f.lanes |= c;
k = f.alternate;
null !== k && (k.lanes |= c);
Sg(
f.return,
c,
b
);
h.lanes |= c;
break;
}
k = k.next;
}
} else if (10 === f.tag)
g = f.type === b.type ? null : f.child;
else if (18 === f.tag) {
g = f.return;
if (null === g)
throw Error(p(341));
g.lanes |= c;
h = g.alternate;
null !== h && (h.lanes |= c);
Sg(g, c, b);
g = f.sibling;
} else
g = f.child;
if (null !== g)
g.return = f;
else
for (g = f; null !== g; ) {
if (g === b) {
g = null;
break;
}
f = g.sibling;
if (null !== f) {
f.return = g.return;
g = f;
break;
}
g = g.return;
}
f = g;
}
Yi(a, b, e.children, c);
b = b.child;
}
return b;
case 9:
return e = b.type, d = b.pendingProps.children, Tg(b, c), e = Vg(e), d = d(e), b.flags |= 1, Yi(a, b, d, c), b.child;
case 14:
return d = b.type, e = Lg(d, b.pendingProps), e = Lg(d.type, e), aj(a, b, d, e, c);
case 15:
return cj(a, b, b.type, b.pendingProps, c);
case 17:
return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : Lg(d, e), jj(a, b), b.tag = 1, Zf(d) ? (a = true, cg(b)) : a = false, Tg(b, c), ph(b, d, e), rh(b, d, e, c), kj(null, b, d, true, a, c);
case 19:
return yj(a, b, c);
case 22:
return ej(a, b, c);
}
throw Error(p(156, b.tag));
};
function Gk(a, b) {
return ac(a, b);
}
function al(a, b, c, d) {
this.tag = a;
this.key = c;
this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null;
this.index = 0;
this.ref = null;
this.pendingProps = b;
this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null;
this.mode = d;
this.subtreeFlags = this.flags = 0;
this.deletions = null;
this.childLanes = this.lanes = 0;
this.alternate = null;
}
function Bg(a, b, c, d) {
return new al(a, b, c, d);
}
function bj(a) {
a = a.prototype;
return !(!a || !a.isReactComponent);
}
function $k(a) {
if ("function" === typeof a)
return bj(a) ? 1 : 0;
if (void 0 !== a && null !== a) {
a = a.$$typeof;
if (a === Da)
return 11;
if (a === Ga)
return 14;
}
return 2;
}
function wh(a, b) {
var c = a.alternate;
null === c ? (c = Bg(a.tag, b, a.key, a.mode), c.elementType = a.elementType, c.type = a.type, c.stateNode = a.stateNode, c.alternate = a, a.alternate = c) : (c.pendingProps = b, c.type = a.type, c.flags = 0, c.subtreeFlags = 0, c.deletions = null);
c.flags = a.flags & 14680064;
c.childLanes = a.childLanes;
c.lanes = a.lanes;
c.child = a.child;
c.memoizedProps = a.memoizedProps;
c.memoizedState = a.memoizedState;
c.updateQueue = a.updateQueue;
b = a.dependencies;
c.dependencies = null === b ? null : { lanes: b.lanes, firstContext: b.firstContext };
c.sibling = a.sibling;
c.index = a.index;
c.ref = a.ref;
return c;
}
function yh(a, b, c, d, e, f) {
var g = 2;
d = a;
if ("function" === typeof a)
bj(a) && (g = 1);
else if ("string" === typeof a)
g = 5;
else
a:
switch (a) {
case ya:
return Ah(c.children, e, f, b);
case za:
g = 8;
e |= 8;
break;
case Aa:
return a = Bg(12, c, b, e | 2), a.elementType = Aa, a.lanes = f, a;
case Ea:
return a = Bg(13, c, b, e), a.elementType = Ea, a.lanes = f, a;
case Fa:
return a = Bg(19, c, b, e), a.elementType = Fa, a.lanes = f, a;
case Ia:
return qj(c, e, f, b);
default:
if ("object" === typeof a && null !== a)
switch (a.$$typeof) {
case Ba:
g = 10;
break a;
case Ca:
g = 9;
break a;
case Da:
g = 11;
break a;
case Ga:
g = 14;
break a;
case Ha:
g = 16;
d = null;
break a;
}
throw Error(p(130, null == a ? a : typeof a, ""));
}
b = Bg(g, c, b, e);
b.elementType = a;
b.type = d;
b.lanes = f;
return b;
}
function Ah(a, b, c, d) {
a = Bg(7, a, d, b);
a.lanes = c;
return a;
}
function qj(a, b, c, d) {
a = Bg(22, a, d, b);
a.elementType = Ia;
a.lanes = c;
a.stateNode = { isHidden: false };
return a;
}
function xh(a, b, c) {
a = Bg(6, a, null, b);
a.lanes = c;
return a;
}
function zh(a, b, c) {
b = Bg(4, null !== a.children ? a.children : [], a.key, b);
b.lanes = c;
b.stateNode = { containerInfo: a.containerInfo, pendingChildren: null, implementation: a.implementation };
return b;
}
function bl(a, b, c, d, e) {
this.tag = b;
this.containerInfo = a;
this.finishedWork = this.pingCache = this.current = this.pendingChildren = null;
this.timeoutHandle = -1;
this.callbackNode = this.pendingContext = this.context = null;
this.callbackPriority = 0;
this.eventTimes = zc(0);
this.expirationTimes = zc(-1);
this.entangledLanes = this.finishedLanes = this.mutableReadLanes = this.expiredLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0;
this.entanglements = zc(0);
this.identifierPrefix = d;
this.onRecoverableError = e;
this.mutableSourceEagerHydrationData = null;
}
function cl(a, b, c, d, e, f, g, h, k) {
a = new bl(a, b, c, h, k);
1 === b ? (b = 1, true === f && (b |= 8)) : b = 0;
f = Bg(3, null, null, b);
a.current = f;
f.stateNode = a;
f.memoizedState = { element: d, isDehydrated: c, cache: null, transitions: null, pendingSuspenseBoundaries: null };
ah(f);
return a;
}
function dl(a, b, c) {
var d = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;
return { $$typeof: wa, key: null == d ? null : "" + d, children: a, containerInfo: b, implementation: c };
}
function el(a) {
if (!a)
return Vf;
a = a._reactInternals;
a: {
if (Vb(a) !== a || 1 !== a.tag)
throw Error(p(170));
var b = a;
do {
switch (b.tag) {
case 3:
b = b.stateNode.context;
break a;
case 1:
if (Zf(b.type)) {
b = b.stateNode.__reactInternalMemoizedMergedChildContext;
break a;
}
}
b = b.return;
} while (null !== b);
throw Error(p(171));
}
if (1 === a.tag) {
var c = a.type;
if (Zf(c))
return bg(a, c, b);
}
return b;
}
function fl(a, b, c, d, e, f, g, h, k) {
a = cl(c, d, true, a, e, f, g, h, k);
a.context = el(null);
c = a.current;
d = L();
e = lh(c);
f = ch(d, e);
f.callback = void 0 !== b && null !== b ? b : null;
dh(c, f, e);
a.current.lanes = e;
Ac(a, e, d);
Ek(a, d);
return a;
}
function gl(a, b, c, d) {
var e = b.current, f = L(), g = lh(e);
c = el(c);
null === b.context ? b.context = c : b.pendingContext = c;
b = ch(f, g);
b.payload = { element: a };
d = void 0 === d ? null : d;
null !== d && (b.callback = d);
a = dh(e, b, g);
null !== a && (mh(a, e, g, f), eh(a, e, g));
return g;
}
function hl(a) {
a = a.current;
if (!a.child)
return null;
switch (a.child.tag) {
case 5:
return a.child.stateNode;
default:
return a.child.stateNode;
}
}
function il(a, b) {
a = a.memoizedState;
if (null !== a && null !== a.dehydrated) {
var c = a.retryLane;
a.retryLane = 0 !== c && c < b ? c : b;
}
}
function jl(a, b) {
il(a, b);
(a = a.alternate) && il(a, b);
}
function kl() {
return null;
}
var ll = "function" === typeof reportError ? reportError : function(a) {
console.error(a);
};
function ml(a) {
this._internalRoot = a;
}
nl.prototype.render = ml.prototype.render = function(a) {
var b = this._internalRoot;
if (null === b)
throw Error(p(409));
gl(a, b, null, null);
};
nl.prototype.unmount = ml.prototype.unmount = function() {
var a = this._internalRoot;
if (null !== a) {
this._internalRoot = null;
var b = a.containerInfo;
Sk(function() {
gl(null, a, null, null);
});
b[uf] = null;
}
};
function nl(a) {
this._internalRoot = a;
}
nl.prototype.unstable_scheduleHydration = function(a) {
if (a) {
var b = Hc();
a = { blockedOn: null, target: a, priority: b };
for (var c = 0; c < Qc.length && 0 !== b && b < Qc[c].priority; c++)
;
Qc.splice(c, 0, a);
0 === c && Vc(a);
}
};
function ol(a) {
return !(!a || 1 !== a.nodeType && 9 !== a.nodeType && 11 !== a.nodeType);
}
function pl(a) {
return !(!a || 1 !== a.nodeType && 9 !== a.nodeType && 11 !== a.nodeType && (8 !== a.nodeType || " react-mount-point-unstable " !== a.nodeValue));
}
function ql() {
}
function rl(a, b, c, d, e) {
if (e) {
if ("function" === typeof d) {
var f = d;
d = function() {
var a2 = hl(g);
f.call(a2);
};
}
var g = fl(b, d, a, 0, null, false, false, "", ql);
a._reactRootContainer = g;
a[uf] = g.current;
sf(8 === a.nodeType ? a.parentNode : a);
Sk();
return g;
}
for (; e = a.lastChild; )
a.removeChild(e);
if ("function" === typeof d) {
var h = d;
d = function() {
var a2 = hl(k);
h.call(a2);
};
}
var k = cl(a, 0, false, null, null, false, false, "", ql);
a._reactRootContainer = k;
a[uf] = k.current;
sf(8 === a.nodeType ? a.parentNode : a);
Sk(function() {
gl(b, k, c, d);
});
return k;
}
function sl(a, b, c, d, e) {
var f = c._reactRootContainer;
if (f) {
var g = f;
if ("function" === typeof e) {
var h = e;
e = function() {
var a2 = hl(g);
h.call(a2);
};
}
gl(b, g, a, e);
} else
g = rl(c, b, a, e, d);
return hl(g);
}
Ec = function(a) {
switch (a.tag) {
case 3:
var b = a.stateNode;
if (b.current.memoizedState.isDehydrated) {
var c = tc(b.pendingLanes);
0 !== c && (Cc(b, c | 1), Ek(b, B()), 0 === (K & 6) && (Hj = B() + 500, jg()));
}
break;
case 13:
Sk(function() {
var b2 = Zg(a, 1);
if (null !== b2) {
var c2 = L();
mh(b2, a, 1, c2);
}
}), jl(a, 1);
}
};
Fc = function(a) {
if (13 === a.tag) {
var b = Zg(a, 134217728);
if (null !== b) {
var c = L();
mh(b, a, 134217728, c);
}
jl(a, 134217728);
}
};
Gc = function(a) {
if (13 === a.tag) {
var b = lh(a), c = Zg(a, b);
if (null !== c) {
var d = L();
mh(c, a, b, d);
}
jl(a, b);
}
};
Hc = function() {
return C;
};
Ic = function(a, b) {
var c = C;
try {
return C = a, b();
} finally {
C = c;
}
};
yb = function(a, b, c) {
switch (b) {
case "input":
bb(a, c);
b = c.name;
if ("radio" === c.type && null != b) {
for (c = a; c.parentNode; )
c = c.parentNode;
c = c.querySelectorAll("input[name=" + JSON.stringify("" + b) + '][type="radio"]');
for (b = 0; b < c.length; b++) {
var d = c[b];
if (d !== a && d.form === a.form) {
var e = Db(d);
if (!e)
throw Error(p(90));
Wa(d);
bb(d, e);
}
}
}
break;
case "textarea":
ib(a, c);
break;
case "select":
b = c.value, null != b && fb(a, !!c.multiple, b, false);
}
};
Gb = Rk;
Hb = Sk;
var tl = { usingClientEntryPoint: false, Events: [Cb, ue, Db, Eb, Fb, Rk] };
var ul = { findFiberByHostInstance: Wc, bundleType: 0, version: "18.2.0", rendererPackageName: "react-dom" };
var vl = { bundleType: ul.bundleType, version: ul.version, rendererPackageName: ul.rendererPackageName, rendererConfig: ul.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, overrideProps: null, overridePropsDeletePath: null, overridePropsRenamePath: null, setErrorHandler: null, setSuspenseHandler: null, scheduleUpdate: null, currentDispatcherRef: ua.ReactCurrentDispatcher, findHostInstanceByFiber: function(a) {
a = Zb(a);
return null === a ? null : a.stateNode;
}, findFiberByHostInstance: ul.findFiberByHostInstance || kl, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, reconcilerVersion: "18.2.0-next-9e3b772b8-20220608" };
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
wl = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (!wl.isDisabled && wl.supportsFiber)
try {
kc = wl.inject(vl), lc = wl;
} catch (a) {
}
}
var wl;
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = tl;
exports.createPortal = function(a, b) {
var c = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null;
if (!ol(b))
throw Error(p(200));
return dl(a, b, null, c);
};
exports.createRoot = function(a, b) {
if (!ol(a))
throw Error(p(299));
var c = false, d = "", e = ll;
null !== b && void 0 !== b && (true === b.unstable_strictMode && (c = true), void 0 !== b.identifierPrefix && (d = b.identifierPrefix), void 0 !== b.onRecoverableError && (e = b.onRecoverableError));
b = cl(a, 1, false, null, null, c, false, d, e);
a[uf] = b.current;
sf(8 === a.nodeType ? a.parentNode : a);
return new ml(b);
};
exports.findDOMNode = function(a) {
if (null == a)
return null;
if (1 === a.nodeType)
return a;
var b = a._reactInternals;
if (void 0 === b) {
if ("function" === typeof a.render)
throw Error(p(188));
a = Object.keys(a).join(",");
throw Error(p(268, a));
}
a = Zb(b);
a = null === a ? null : a.stateNode;
return a;
};
exports.flushSync = function(a) {
return Sk(a);
};
exports.hydrate = function(a, b, c) {
if (!pl(b))
throw Error(p(200));
return sl(null, a, b, true, c);
};
exports.hydrateRoot = function(a, b, c) {
if (!ol(a))
throw Error(p(405));
var d = null != c && c.hydratedSources || null, e = false, f = "", g = ll;
null !== c && void 0 !== c && (true === c.unstable_strictMode && (e = true), void 0 !== c.identifierPrefix && (f = c.identifierPrefix), void 0 !== c.onRecoverableError && (g = c.onRecoverableError));
b = fl(b, null, a, 1, null != c ? c : null, e, false, f, g);
a[uf] = b.current;
sf(a);
if (d)
for (a = 0; a < d.length; a++)
c = d[a], e = c._getVersion, e = e(c._source), null == b.mutableSourceEagerHydrationData ? b.mutableSourceEagerHydrationData = [c, e] : b.mutableSourceEagerHydrationData.push(
c,
e
);
return new nl(b);
};
exports.render = function(a, b, c) {
if (!pl(b))
throw Error(p(200));
return sl(null, a, b, false, c);
};
exports.unmountComponentAtNode = function(a) {
if (!pl(a))
throw Error(p(40));
return a._reactRootContainer ? (Sk(function() {
sl(null, null, a, false, function() {
a._reactRootContainer = null;
a[uf] = null;
});
}), true) : false;
};
exports.unstable_batchedUpdates = Rk;
exports.unstable_renderSubtreeIntoContainer = function(a, b, c, d) {
if (!pl(c))
throw Error(p(200));
if (null == a || void 0 === a._reactInternals)
throw Error(p(38));
return sl(a, b, c, false, d);
};
exports.version = "18.2.0-next-9e3b772b8-20220608";
}
});
// node_modules/react-dom/index.js
var require_react_dom = __commonJS({
"node_modules/react-dom/index.js"(exports, module) {
"use strict";
function checkDCE() {
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === "undefined" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== "function") {
return;
}
if (false) {
throw new Error("^_^");
}
try {
__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);
} catch (err) {
console.error(err);
}
}
if (true) {
checkDCE();
module.exports = require_react_dom_production_min();
} else {
module.exports = null;
}
}
});
// node_modules/react-dom/client.js
var require_client = __commonJS({
"node_modules/react-dom/client.js"(exports) {
"use strict";
var m = require_react_dom();
if (true) {
exports.createRoot = m.createRoot;
exports.hydrateRoot = m.hydrateRoot;
} else {
i = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
exports.createRoot = function(c, o) {
i.usingClientEntryPoint = true;
try {
return m.createRoot(c, o);
} finally {
i.usingClientEntryPoint = false;
}
};
exports.hydrateRoot = function(c, h, o) {
i.usingClientEntryPoint = true;
try {
return m.hydrateRoot(c, h, o);
} finally {
i.usingClientEntryPoint = false;
}
};
}
var i;
}
});
// src/styles/controller.css
var require_controller = __commonJS({
"src/styles/controller.css"(exports, module) {
(function() {
if (!document.getElementById("017f28bc06d5516cfa17bfc76060a58c907d966b5bbbd007697794f83df11a85")) {
var e = document.createElement("style");
e.id = "017f28bc06d5516cfa17bfc76060a58c907d966b5bbbd007697794f83df11a85";
e.textContent = `:root{
--controllerBgLight:#FFF;
--controllerBgDark:#333;
--controllerColorLight:rgb(71, 71, 71);
--controllerColorDark:#FFF;
--controllerInputBgDark:#1F1F1F;
--controllerInputBgLight:#F5F5F5;
--controllerBorderLight:#c4c4c4;
--controllerBorderDark:#424242;
--font:'Noto Sans JP', 'Noto Sans SC', sans-serif;
}
.controllerContainer_03fcda7d687a22c8be9e8ecf70d45697_13{
width: 90%;
height: 100%;
border-radius: 10px;
padding: 10% 5% 10% 5%;
}
.containerDark_03fcda7d687a22c8be9e8ecf70d45697_20{
background-color: var(--controllerBgDark);
color: var(--controllerColorDark)
}
.containerLight_03fcda7d687a22c8be9e8ecf70d45697_25{
background-color: var(--controllerBgLight);
border: solid 1px var(--controllerBorderLight);
color:var(--controllerColorLight)
}
.controllerContainer_03fcda7d687a22c8be9e8ecf70d45697_13 > .toptitle_03fcda7d687a22c8be9e8ecf70d45697_31{
margin:0;
font-family: var(--font);
font-weight: 600!important;
font-size: 24px!important;
margin:10px 0;
}
.controllerContainer_03fcda7d687a22c8be9e8ecf70d45697_13 > .version_03fcda7d687a22c8be9e8ecf70d45697_39{
font-family: var(--font);
font-weight: 300!important;
font-size: 12px!important;
}
.settings_03fcda7d687a22c8be9e8ecf70d45697_45{
padding:10px 20px;
list-style: none;
}
.settings_03fcda7d687a22c8be9e8ecf70d45697_45 > .setting_03fcda7d687a22c8be9e8ecf70d45697_45{
display: flex;
gap: 0 10px;
justify-content: space-between;
padding: 10px 0;
align-items: center;
}
.setting_03fcda7d687a22c8be9e8ecf70d45697_45 > .settingText_03fcda7d687a22c8be9e8ecf70d45697_58{
font-size: 12px;
}
.setting_03fcda7d687a22c8be9e8ecf70d45697_45 + .setting_03fcda7d687a22c8be9e8ecf70d45697_45{
border-top: solid 1px #c4c4c4;
}
.blocklistOuter_03fcda7d687a22c8be9e8ecf70d45697_66{
height: 35%;
}
.blocklistOuter_03fcda7d687a22c8be9e8ecf70d45697_66 > h2.blocklistTitle_03fcda7d687a22c8be9e8ecf70d45697_70{
font-family: var(--font);
font-weight: 400!important;
font-size: 20px!important;
margin: 10px 0;
}
ul.blocklist_03fcda7d687a22c8be9e8ecf70d45697_66{
border-radius: 8px;
list-style: none;
padding:0;
overflow-x:hidden;
overflow-y: scroll;
scrollbar-width: none;
height: 100%;
background-color: var(--controllerInputBgDark);
}
.containerLight_03fcda7d687a22c8be9e8ecf70d45697_25 ul.blocklist_03fcda7d687a22c8be9e8ecf70d45697_66{
background-color: var(--controllerInputBgLight);
}
ul.blocklist_03fcda7d687a22c8be9e8ecf70d45697_66::-webkit-scrollbar{
display:none;
}
li.blocktag_03fcda7d687a22c8be9e8ecf70d45697_95{
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 10px;
height:30px;
width:80%;
left:5%;
position: relative;
font-family: var(--font);
font-weight: 300!important;
font-size: 13px!important;
}
.blocktag_03fcda7d687a22c8be9e8ecf70d45697_95 + .blocktag_03fcda7d687a22c8be9e8ecf70d45697_95{
border-top: solid 1px var(--controllerBorderDark);
}
.containerLight_03fcda7d687a22c8be9e8ecf70d45697_25 .blocktag_03fcda7d687a22c8be9e8ecf70d45697_95 + .blocktag_03fcda7d687a22c8be9e8ecf70d45697_95{
border-top: solid 1px var(--controllerBorderLight);
}
.blocklistOuter_03fcda7d687a22c8be9e8ecf70d45697_66 > .addTagInput_03fcda7d687a22c8be9e8ecf70d45697_116{
border-radius: 5px;
padding: 10px 5%;
width:90%;
height:30px;
background-color: transparent;
border:none;
color: var(--controllerColorDark);
margin-top:10px;
background-color: var(--controllerInputBgDark);
}
.containerLight_03fcda7d687a22c8be9e8ecf70d45697_25 .blocklistOuter_03fcda7d687a22c8be9e8ecf70d45697_66 > .addTagInput_03fcda7d687a22c8be9e8ecf70d45697_116{
background-color: var(--controllerInputBgLight);
color:var(--controllerColorLight);
}
.removetag_03fcda7d687a22c8be9e8ecf70d45697_132{
background-color: transparent;
color: var(--controllerColorDark);
border:none;
cursor:pointer;
font-family: var(--font);
font-weight: 300!important;
font-size: 13px!important;
}
.containerLight_03fcda7d687a22c8be9e8ecf70d45697_25 .removetag_03fcda7d687a22c8be9e8ecf70d45697_132{
color:var(--controllerColorLight);
}
`;
document.head.appendChild(e);
}
})();
module.exports = JSON.parse('{"controllerContainer":"controllerContainer_03fcda7d687a22c8be9e8ecf70d45697_13","containerDark":"containerDark_03fcda7d687a22c8be9e8ecf70d45697_20","containerLight":"containerLight_03fcda7d687a22c8be9e8ecf70d45697_25","toptitle":"toptitle_03fcda7d687a22c8be9e8ecf70d45697_31","version":"version_03fcda7d687a22c8be9e8ecf70d45697_39","settings":"settings_03fcda7d687a22c8be9e8ecf70d45697_45","setting":"setting_03fcda7d687a22c8be9e8ecf70d45697_45","settingText":"settingText_03fcda7d687a22c8be9e8ecf70d45697_58","blocklistOuter":"blocklistOuter_03fcda7d687a22c8be9e8ecf70d45697_66","blocklistTitle":"blocklistTitle_03fcda7d687a22c8be9e8ecf70d45697_70","blocklist":"blocklist_03fcda7d687a22c8be9e8ecf70d45697_66","blocktag":"blocktag_03fcda7d687a22c8be9e8ecf70d45697_95","addTagInput":"addTagInput_03fcda7d687a22c8be9e8ecf70d45697_116","removetag":"removetag_03fcda7d687a22c8be9e8ecf70d45697_132"}');
}
});
// package.json
var require_package = __commonJS({
"package.json"(exports, module) {
module.exports = {
name: "pixiv-tag-filter",
type: "commonjs",
version: "0.1.0",
devDependencies: {
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.9",
"bun-types": "^0.1.0",
chokidar: "3.5.3",
esbuild: "^0.15.12",
"esbuild-ssr-css-modules-plugin": "^0.1.2",
express: "^4.18.2",
"typescript-plugin-css-modules": "^4.1.1",
ws: "^8.11.0"
},
dependencies: {
axios: "^1.2.1",
react: "^18.2.0",
"react-dom": "^18.2.0"
},
scripts: {
"hotreload-server": "node build/sockserver.js",
build: "node build/ mode=build",
server: "node build/server.js",
dev: "npm run build mode=dev & npm run hotreload-server & npm run server"
},
userScript: {
"@name": "Pixiv Automatic exclusion search",
"@name:zh-CN": "Pixiv \u81EA\u52A8\u6392\u9664\u641C\u7D22",
"@name:ja": "Pixiv \u81EA\u52D5\u3067\u9664\u5916\u691C\u7D22",
"@version": "0.1.0",
"@license": "MIT",
"@author": "yakisova41",
"@namespace": "https://yakisova.com/",
"@description": "When you do a pixiv search, it automatically does an exclusion search.",
"@description:ja": "pixiv\u691C\u7D22\u3092\u3057\u305F\u6642\u306B\u3001\u81EA\u52D5\u7684\u306B\u9664\u5916\u691C\u7D22\u3092\u3057\u307E\u3059\u3002",
"@description:zh-CN": "\u5F53\u4F60\u8FDB\u884Cpixiv\u641C\u7D22\u65F6\uFF0C\u5B83\u4F1A\u81EA\u52A8\u8FDB\u884C\u6392\u9664\u6027\u641C\u7D22\u3002",
"@match": "https://www.pixiv.net/*",
devServer: {
port: 8001,
host: "localhost",
websocket: 5e3,
hot: true
},
esbuild: {
entryPoints: [
"src/index.ts"
]
}
}
};
}
});
// src/language.json
var require_language = __commonJS({
"src/language.json"(exports, module) {
module.exports = {
"Search only works bookmarked ilust by many users": {
ja: "Users\u5165\u308A\u4F5C\u54C1\u306E\u307F\u3092\u8868\u793A\u3059\u308B",
zh: "\u53EA\u641C\u7D22\u88AB\u8BB8\u591A\u7528\u6237\u52A0\u5165\u4E66\u7B7E\u7684\u4F5C\u54C1"
},
"List of tags to exclude": {
ja: "\u9664\u5916\u3059\u308B\u30BF\u30B0\u4E00\u89A7",
zh: "\u8981\u6392\u9664\u7684\u6807\u7B7E\u5217\u8868"
},
"Enter the tags name you want to exclude": {
ja: "Enter\u3067\u9664\u5916\u3059\u308B\u30BF\u30B0\u540D\u3092\u8FFD\u52A0",
zh: "\u8F93\u5165\u4F60\u60F3\u6392\u9664\u7684\u6807\u7B7E\u540D\u79F0"
},
Remove: {
ja: "\u524A\u9664",
zh: "\u79FB\u9664"
},
"Exclude AI works": {
ja: "AI\u4F5C\u54C1\u3092\u9664\u5916\u3059\u308B",
zh: "\u6392\u9664AI\u4F5C\u54C1"
},
"Failed to fetch. Please try again.": {
ja: "\u60C5\u5831\u53D6\u5F97\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002\u3082\u3046\u4E00\u5EA6\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002",
zh: "\u83B7\u53D6\u5931\u8D25 \u8BF7\u518D\u8BD5\u4E00\u6B21"
}
};
}
});
// src/translate.ts
var import_language, translate;
var init_translate = __esm({
"src/translate.ts"() {
import_language = __toESM(require_language());
translate = (text) => {
const lang = navigator.language;
if (import_language.default[text] && import_language.default[text][lang]) {
return import_language.default[text][lang];
} else {
return text;
}
};
}
});
// src/components/Setting.tsx
var import_controller, import_jsx_runtime2, Setting;
var init_Setting = __esm({
"src/components/Setting.tsx"() {
import_controller = __toESM(require_controller());
import_jsx_runtime2 = __toESM(require_jsx_runtime());
Setting = ({
text,
children
}) => {
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("li", { className: import_controller.default.setting, children: [
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { className: import_controller.default.settingText, children: text }),
children
] });
};
}
});
// src/setLocalstorage.ts
var setLocalstorage_default;
var init_setLocalstorage = __esm({
"src/setLocalstorage.ts"() {
setLocalstorage_default = (name, value) => {
localStorage.setItem(name, value);
const lschangeEvent = new CustomEvent("pixiv-storageChange", {
detail: {
name,
value
}
});
document.dispatchEvent(lschangeEvent);
};
}
});
// src/components/Controller.tsx
var import_react, import_controller2, import_package, import_jsx_runtime3, Controller_default;
var init_Controller = __esm({
"src/components/Controller.tsx"() {
import_react = __toESM(require_react());
import_controller2 = __toESM(require_controller());
import_package = __toESM(require_package());
init_translate();
init_Setting();
init_setLocalstorage();
import_jsx_runtime3 = __toESM(require_jsx_runtime());
Controller_default = () => {
const [darkmode, setDarkmode] = (0, import_react.useState)(true);
const [blocklist, setBlocklist] = (0, import_react.useState)([]);
let tagskey = 0;
const addTagHandler = (e) => {
if (e.key === "Enter") {
if (e.currentTarget.value !== "") {
const list = [...blocklist, e.currentTarget.value];
setLocalstorage_default("pixiv-filter-blocklist", list.join(","));
setBlocklist(list);
e.currentTarget.value = "";
}
}
};
const tagremove = (key) => {
blocklist.splice(key, 1);
const list = [...blocklist];
setLocalstorage_default("pixiv-filter-blocklist", list.join(","));
setBlocklist([...blocklist]);
};
(0, import_react.useEffect)(() => {
const list = localStorage.getItem("pixiv-filter-blocklist");
if (list !== null && list !== "") {
const listarray = list.split(",");
listarray.filter(Boolean);
setBlocklist(listarray);
}
}, []);
document.addEventListener("pixiv-domchange", () => {
const body = document.querySelector("body");
const color = window.getComputedStyle(body, "").color;
if (color !== "rgb(245, 245, 245)") {
setDarkmode(false);
} else {
setDarkmode(true);
}
});
let usersonlymode = "0";
if (localStorage.getItem("pixiv-filter-usersonly") !== null) {
usersonlymode = localStorage.getItem("pixiv-filter-usersonly");
} else {
setLocalstorage_default("pixiv-filter-usersonly", "0");
}
const handleChangeUsers = (e) => {
setLocalstorage_default("pixiv-filter-usersonly", e.target.value);
};
let excludeAImode = "0";
if (localStorage.getItem("pixiv-filter-excludeAImode") !== null) {
excludeAImode = localStorage.getItem("pixiv-filter-excludeAImode");
} else {
setLocalstorage_default("pixiv-filter-excludeAImode", "0");
}
const handleChangeExcludeAI = (e) => {
setLocalstorage_default("pixiv-filter-excludeAImode", e.target.value);
};
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
"div",
{
className: `${import_controller2.default.controllerContainer} ${darkmode ? import_controller2.default.containerDark : import_controller2.default.containerLight}`,
children: [
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("h1", { className: import_controller2.default.toptitle, children: "Pixiv tag filter" }),
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("span", { className: import_controller2.default.version, children: [
"version ",
import_package.default.userScript["@version"]
] }),
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("ul", { className: import_controller2.default.settings, children: [
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Setting, { text: translate("Search only works bookmarked ilust by many users"), children: /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("select", { onChange: handleChangeUsers, defaultValue: usersonlymode, children: [
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("option", { value: "0", children: "OFF" }),
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("option", { value: "50", children: "50users" }),
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("option", { value: "100", children: "100users" }),
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("option", { value: "300", children: "300users" }),
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("option", { value: "500", children: "500users" }),
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("option", { value: "1000", children: "1000users" }),
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("option", { value: "5000", children: "5000users" }),
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("option", { value: "10000", children: "10000users" }),
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("option", { value: "20000", children: "20000users" }),
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("option", { value: "30000", children: "30000users" }),
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("option", { value: "00", children: "100~users" })
] }) }),
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Setting, { text: translate("Exclude AI works"), children: /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("select", { onChange: handleChangeExcludeAI, defaultValue: excludeAImode, children: [
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("option", { value: "0", children: "OFF" }),
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("option", { value: "1", children: "ON" })
] }) })
] }),
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: import_controller2.default.blocklistOuter, children: [
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("h2", { className: import_controller2.default.blocklistTitle, children: translate("List of tags to exclude") }),
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("ul", { className: import_controller2.default.blocklist, children: blocklist.map((blocktag) => {
const key = tagskey;
tagskey++;
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("li", { className: import_controller2.default.blocktag, children: [
"#",
blocktag,
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("button", { className: import_controller2.default.removetag, onClick: () => {
tagremove(key);
}, children: translate("Remove") })
] }, key);
}) }),
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
"input",
{
type: "text",
className: import_controller2.default.addTagInput,
onKeyDown: addTagHandler,
placeholder: translate("Enter the tags name you want to exclude")
}
)
] })
]
}
);
};
}
});
// src/styles/global.css
var require_global = __commonJS({
"src/styles/global.css"(exports, module) {
(function() {
if (!document.getElementById("d75a39e9a568e139fa43a810523e1b8ad65d9ff887546fb333594dca9c98d3d0")) {
var e = document.createElement("style");
e.id = "d75a39e9a568e139fa43a810523e1b8ad65d9ff887546fb333594dca9c98d3d0";
e.textContent = `/*notosans jp and simplified Chinese*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400;500;700;900&family=Noto+Sans+SC:wght@100;300;400;500;700;900&display=swap');
.pixivFilterControllerRoot_30580f2522c33bcd43b7f5b4ce193840_4{
width:300px;
height:100vh;
position:fixed;
bottom:0;
top:0px;
right:-250px;
transition: 0.2s;
}
.pixivFilterControllerRoot_30580f2522c33bcd43b7f5b4ce193840_4:hover{
right:0;
transition: 0.2s;
}`;
document.head.appendChild(e);
}
})();
module.exports = JSON.parse('{"pixivFilterControllerRoot":"pixivFilterControllerRoot_30580f2522c33bcd43b7f5b4ce193840_4"}');
}
});
// src/createController.tsx
var import_react2, import_client, import_global, import_jsx_runtime4, createController_default;
var init_createController = __esm({
"src/createController.tsx"() {
import_react2 = __toESM(require_react());
import_client = __toESM(require_client());
init_Controller();
import_global = __toESM(require_global());
import_jsx_runtime4 = __toESM(require_jsx_runtime());
createController_default = () => {
const body = document.querySelector("body");
const controllerRoot = document.createElement("div");
controllerRoot.className = import_global.default.pixivFilterControllerRoot;
body.appendChild(controllerRoot);
import_client.default.createRoot(controllerRoot).render(
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_react2.default.StrictMode, { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Controller_default, {}) })
);
};
}
});
// src/index.ts
var require_src = __commonJS({
"src/index.ts"() {
init_tags();
init_createController();
var body = document.querySelector("body");
var bodyTmp = body.innerHTML;
setInterval(() => {
if (body.innerHTML !== bodyTmp) {
const domChangeEvent = new CustomEvent("pixiv-domchange");
document.dispatchEvent(domChangeEvent);
}
bodyTmp = document.querySelector("body").innerHTML;
});
var pathTmp = "";
var searchTmp = "";
setInterval(() => {
const path = location.pathname;
const search2 = location.search;
if (pathTmp !== path || search2 !== searchTmp) {
const pageChangeEvent = new CustomEvent("pixiv-pagechange", {
detail: {
new: path,
before: pathTmp,
newSearch: search2,
beforeSearch: searchTmp,
ispath: pathTmp !== path
}
});
document.dispatchEvent(pageChangeEvent);
}
pathTmp = path;
searchTmp = search2;
});
var pageChangeHandler = (e) => {
const pathnameSplit = e.detail.new.split("/");
switch (pathnameSplit[1]) {
case "artworks":
break;
case "tags":
setTimeout(() => {
sort(pathnameSplit[2]);
}, 100);
document.addEventListener("pixiv-storageChange", () => {
sort(pathnameSplit[2]);
});
break;
case "":
break;
case "cate_r18.php":
break;
default:
break;
}
};
document.addEventListener("pixiv-pagechange", pageChangeHandler);
window.onload = () => {
createController_default();
};
}
});
require_src();
})();
/**
* @license React
* react-dom-server-legacy.browser.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* @license React
* react-dom-server.browser.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/