@graphql-yoga/graphiql
Version:
This the GraphiQL used by GraphQL Yoga. This package is currently not published to npm and only contains the React component `GraphQLYoga`.
1,717 lines • 2.14 MB
JavaScript
var __defProp = Object.defineProperty;
var __defProps = Object.defineProperties;
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __propIsEnum = Object.prototype.propertyIsEnumerable;
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
var __spreadValues = (a, b) => {
for (var prop2 in b || (b = {}))
if (__hasOwnProp.call(b, prop2))
__defNormalProp(a, prop2, b[prop2]);
if (__getOwnPropSymbols)
for (var prop2 of __getOwnPropSymbols(b)) {
if (__propIsEnum.call(b, prop2))
__defNormalProp(a, prop2, b[prop2]);
}
return a;
};
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
function _mergeNamespaces(n2, m2) {
m2.forEach(function(e) {
e && typeof e !== "string" && !Array.isArray(e) && Object.keys(e).forEach(function(k) {
if (k !== "default" && !(k in n2)) {
var d = Object.getOwnPropertyDescriptor(e, k);
Object.defineProperty(n2, k, d.get ? d : {
enumerable: true,
get: function() {
return e[k];
}
});
}
});
});
return Object.freeze(Object.defineProperty(n2, Symbol.toStringTag, { value: "Module" }));
}
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
function getDefaultExportFromCjs(x2) {
return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
}
function getAugmentedNamespace(n2) {
if (n2.__esModule)
return n2;
var a = Object.defineProperty({}, "__esModule", { value: true });
Object.keys(n2).forEach(function(k) {
var d = Object.getOwnPropertyDescriptor(n2, k);
Object.defineProperty(a, k, d.get ? d : {
enumerable: true,
get: function() {
return n2[k];
}
});
});
return a;
}
var react = { exports: {} };
var react_production_min = {};
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
var hasOwnProperty$3 = Object.prototype.hasOwnProperty;
var propIsEnumerable = Object.prototype.propertyIsEnumerable;
function toObject(val) {
if (val === null || val === void 0) {
throw new TypeError("Object.assign cannot be called with null or undefined");
}
return Object(val);
}
function shouldUseNative() {
try {
if (!Object.assign) {
return false;
}
var test1 = new String("abc");
test1[5] = "de";
if (Object.getOwnPropertyNames(test1)[0] === "5") {
return false;
}
var test2 = {};
for (var i = 0; i < 10; i++) {
test2["_" + String.fromCharCode(i)] = i;
}
var order2 = Object.getOwnPropertyNames(test2).map(function(n2) {
return test2[n2];
});
if (order2.join("") !== "0123456789") {
return false;
}
var test3 = {};
"abcdefghijklmnopqrst".split("").forEach(function(letter) {
test3[letter] = letter;
});
if (Object.keys(Object.assign({}, test3)).join("") !== "abcdefghijklmnopqrst") {
return false;
}
return true;
} catch (err) {
return false;
}
}
var objectAssign = shouldUseNative() ? Object.assign : function(target2, source) {
var from;
var to = toObject(target2);
var symbols;
for (var s = 1; s < arguments.length; s++) {
from = Object(arguments[s]);
for (var key in from) {
if (hasOwnProperty$3.call(from, key)) {
to[key] = from[key];
}
}
if (getOwnPropertySymbols) {
symbols = getOwnPropertySymbols(from);
for (var i = 0; i < symbols.length; i++) {
if (propIsEnumerable.call(from, symbols[i])) {
to[symbols[i]] = from[symbols[i]];
}
}
}
}
return to;
};
/** @license React v17.0.2
* 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.
*/
var l = objectAssign, n = 60103, p$1 = 60106;
react_production_min.Fragment = 60107;
react_production_min.StrictMode = 60108;
react_production_min.Profiler = 60114;
var q = 60109, r$1 = 60110, t$1 = 60112;
react_production_min.Suspense = 60113;
var u = 60115, v = 60116;
if (typeof Symbol === "function" && Symbol.for) {
var w = Symbol.for;
n = w("react.element");
p$1 = w("react.portal");
react_production_min.Fragment = w("react.fragment");
react_production_min.StrictMode = w("react.strict_mode");
react_production_min.Profiler = w("react.profiler");
q = w("react.provider");
r$1 = w("react.context");
t$1 = w("react.forward_ref");
react_production_min.Suspense = w("react.suspense");
u = w("react.memo");
v = w("react.lazy");
}
var x = typeof Symbol === "function" && Symbol.iterator;
function y$1(a) {
if (a === null || typeof a !== "object")
return null;
a = x && a[x] || a["@@iterator"];
return typeof a === "function" ? a : null;
}
function z(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 A = { isMounted: function() {
return false;
}, enqueueForceUpdate: function() {
}, enqueueReplaceState: function() {
}, enqueueSetState: function() {
} }, B$1 = {};
function C(a, b, c) {
this.props = a;
this.context = b;
this.refs = B$1;
this.updater = c || A;
}
C.prototype.isReactComponent = {};
C.prototype.setState = function(a, b) {
if (typeof a !== "object" && typeof a !== "function" && a != null)
throw Error(z(85));
this.updater.enqueueSetState(this, a, b, "setState");
};
C.prototype.forceUpdate = function(a) {
this.updater.enqueueForceUpdate(this, a, "forceUpdate");
};
function D$1() {
}
D$1.prototype = C.prototype;
function E$1(a, b, c) {
this.props = a;
this.context = b;
this.refs = B$1;
this.updater = c || A;
}
var F$1 = E$1.prototype = new D$1();
F$1.constructor = E$1;
l(F$1, C.prototype);
F$1.isPureReactComponent = true;
var G$1 = { current: null }, H$1 = Object.prototype.hasOwnProperty, I$1 = { key: true, ref: true, __self: true, __source: true };
function J(a, b, c) {
var e, d = {}, k = null, h = null;
if (b != null)
for (e in b.ref !== void 0 && (h = b.ref), b.key !== void 0 && (k = "" + b.key), b)
H$1.call(b, e) && !I$1.hasOwnProperty(e) && (d[e] = b[e]);
var g = arguments.length - 2;
if (g === 1)
d.children = c;
else if (1 < g) {
for (var f = Array(g), m2 = 0; m2 < g; m2++)
f[m2] = arguments[m2 + 2];
d.children = f;
}
if (a && a.defaultProps)
for (e in g = a.defaultProps, g)
d[e] === void 0 && (d[e] = g[e]);
return { $$typeof: n, type: a, key: k, ref: h, props: d, _owner: G$1.current };
}
function K(a, b) {
return { $$typeof: n, type: a.type, key: b, ref: a.ref, props: a.props, _owner: a._owner };
}
function L(a) {
return typeof a === "object" && a !== null && a.$$typeof === n;
}
function escape(a) {
var b = { "=": "=0", ":": "=2" };
return "$" + a.replace(/[=:]/g, function(a2) {
return b[a2];
});
}
var M$1 = /\/+/g;
function N$1(a, b) {
return typeof a === "object" && a !== null && a.key != null ? escape("" + a.key) : b.toString(36);
}
function O$1(a, b, c, e, d) {
var k = typeof a;
if (k === "undefined" || k === "boolean")
a = null;
var h = false;
if (a === null)
h = true;
else
switch (k) {
case "string":
case "number":
h = true;
break;
case "object":
switch (a.$$typeof) {
case n:
case p$1:
h = true;
}
}
if (h)
return h = a, d = d(h), a = e === "" ? "." + N$1(h, 0) : e, Array.isArray(d) ? (c = "", a != null && (c = a.replace(M$1, "$&/") + "/"), O$1(d, b, c, "", function(a2) {
return a2;
})) : d != null && (L(d) && (d = K(d, c + (!d.key || h && h.key === d.key ? "" : ("" + d.key).replace(M$1, "$&/") + "/") + a)), b.push(d)), 1;
h = 0;
e = e === "" ? "." : e + ":";
if (Array.isArray(a))
for (var g = 0; g < a.length; g++) {
k = a[g];
var f = e + N$1(k, g);
h += O$1(k, b, c, f, d);
}
else if (f = y$1(a), typeof f === "function")
for (a = f.call(a), g = 0; !(k = a.next()).done; )
k = k.value, f = e + N$1(k, g++), h += O$1(k, b, c, f, d);
else if (k === "object")
throw b = "" + a, Error(z(31, b === "[object Object]" ? "object with keys {" + Object.keys(a).join(", ") + "}" : b));
return h;
}
function P$1(a, b, c) {
if (a == null)
return a;
var e = [], d = 0;
O$1(a, e, "", "", function(a2) {
return b.call(c, a2, d++);
});
return e;
}
function Q(a) {
if (a._status === -1) {
var b = a._result;
b = b();
a._status = 0;
a._result = b;
b.then(function(b2) {
a._status === 0 && (b2 = b2.default, a._status = 1, a._result = b2);
}, function(b2) {
a._status === 0 && (a._status = 2, a._result = b2);
});
}
if (a._status === 1)
return a._result;
throw a._result;
}
var R$1 = { current: null };
function S$1() {
var a = R$1.current;
if (a === null)
throw Error(z(321));
return a;
}
var T$1 = { ReactCurrentDispatcher: R$1, ReactCurrentBatchConfig: { transition: 0 }, ReactCurrentOwner: G$1, IsSomeRendererActing: { current: false }, assign: l };
react_production_min.Children = { map: P$1, forEach: function(a, b, c) {
P$1(a, function() {
b.apply(this, arguments);
}, c);
}, count: function(a) {
var b = 0;
P$1(a, function() {
b++;
});
return b;
}, toArray: function(a) {
return P$1(a, function(a2) {
return a2;
}) || [];
}, only: function(a) {
if (!L(a))
throw Error(z(143));
return a;
} };
react_production_min.Component = C;
react_production_min.PureComponent = E$1;
react_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = T$1;
react_production_min.cloneElement = function(a, b, c) {
if (a === null || a === void 0)
throw Error(z(267, a));
var e = l({}, a.props), d = a.key, k = a.ref, h = a._owner;
if (b != null) {
b.ref !== void 0 && (k = b.ref, h = G$1.current);
b.key !== void 0 && (d = "" + b.key);
if (a.type && a.type.defaultProps)
var g = a.type.defaultProps;
for (f in b)
H$1.call(b, f) && !I$1.hasOwnProperty(f) && (e[f] = b[f] === void 0 && g !== void 0 ? g[f] : b[f]);
}
var f = arguments.length - 2;
if (f === 1)
e.children = c;
else if (1 < f) {
g = Array(f);
for (var m2 = 0; m2 < f; m2++)
g[m2] = arguments[m2 + 2];
e.children = g;
}
return {
$$typeof: n,
type: a.type,
key: d,
ref: k,
props: e,
_owner: h
};
};
react_production_min.createContext = function(a, b) {
b === void 0 && (b = null);
a = { $$typeof: r$1, _calculateChangedBits: b, _currentValue: a, _currentValue2: a, _threadCount: 0, Provider: null, Consumer: null };
a.Provider = { $$typeof: q, _context: a };
return a.Consumer = a;
};
react_production_min.createElement = J;
react_production_min.createFactory = function(a) {
var b = J.bind(null, a);
b.type = a;
return b;
};
react_production_min.createRef = function() {
return { current: null };
};
react_production_min.forwardRef = function(a) {
return { $$typeof: t$1, render: a };
};
react_production_min.isValidElement = L;
react_production_min.lazy = function(a) {
return { $$typeof: v, _payload: { _status: -1, _result: a }, _init: Q };
};
react_production_min.memo = function(a, b) {
return { $$typeof: u, type: a, compare: b === void 0 ? null : b };
};
react_production_min.useCallback = function(a, b) {
return S$1().useCallback(a, b);
};
react_production_min.useContext = function(a, b) {
return S$1().useContext(a, b);
};
react_production_min.useDebugValue = function() {
};
react_production_min.useEffect = function(a, b) {
return S$1().useEffect(a, b);
};
react_production_min.useImperativeHandle = function(a, b, c) {
return S$1().useImperativeHandle(a, b, c);
};
react_production_min.useLayoutEffect = function(a, b) {
return S$1().useLayoutEffect(a, b);
};
react_production_min.useMemo = function(a, b) {
return S$1().useMemo(a, b);
};
react_production_min.useReducer = function(a, b, c) {
return S$1().useReducer(a, b, c);
};
react_production_min.useRef = function(a) {
return S$1().useRef(a);
};
react_production_min.useState = function(a) {
return S$1().useState(a);
};
react_production_min.version = "17.0.2";
{
react.exports = react_production_min;
}
var React$1 = react.exports;
var reactDom = { exports: {} };
var reactDom_production_min = {};
var scheduler = { exports: {} };
var scheduler_production_min = {};
/** @license React v0.20.2
* 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.
*/
(function(exports) {
var f, g, h, k;
if (typeof performance === "object" && typeof performance.now === "function") {
var l2 = performance;
exports.unstable_now = function() {
return l2.now();
};
} else {
var p2 = Date, q2 = p2.now();
exports.unstable_now = function() {
return p2.now() - q2;
};
}
if (typeof window === "undefined" || typeof MessageChannel !== "function") {
var t2 = null, u2 = null, w = function() {
if (t2 !== null)
try {
var a = exports.unstable_now();
t2(true, a);
t2 = null;
} catch (b) {
throw setTimeout(w, 0), b;
}
};
f = function(a) {
t2 !== null ? setTimeout(f, 0, a) : (t2 = a, setTimeout(w, 0));
};
g = function(a, b) {
u2 = setTimeout(a, b);
};
h = function() {
clearTimeout(u2);
};
exports.unstable_shouldYield = function() {
return false;
};
k = exports.unstable_forceFrameRate = function() {
};
} else {
var x2 = window.setTimeout, y2 = window.clearTimeout;
if (typeof console !== "undefined") {
var z2 = window.cancelAnimationFrame;
typeof window.requestAnimationFrame !== "function" && console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills");
typeof z2 !== "function" && console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills");
}
var A2 = false, B2 = null, C2 = -1, D2 = 5, E = 0;
exports.unstable_shouldYield = function() {
return exports.unstable_now() >= E;
};
k = function() {
};
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") : D2 = 0 < a ? Math.floor(1e3 / a) : 5;
};
var F2 = new MessageChannel(), G2 = F2.port2;
F2.port1.onmessage = function() {
if (B2 !== null) {
var a = exports.unstable_now();
E = a + D2;
try {
B2(true, a) ? G2.postMessage(null) : (A2 = false, B2 = null);
} catch (b) {
throw G2.postMessage(null), b;
}
} else
A2 = false;
};
f = function(a) {
B2 = a;
A2 || (A2 = true, G2.postMessage(null));
};
g = function(a, b) {
C2 = x2(function() {
a(exports.unstable_now());
}, b);
};
h = function() {
y2(C2);
C2 = -1;
};
}
function H2(a, b) {
var c = a.length;
a.push(b);
a:
for (; ; ) {
var d = c - 1 >>> 1, e = a[d];
if (e !== void 0 && 0 < I2(e, b))
a[d] = b, a[c] = e, c = d;
else
break a;
}
}
function J2(a) {
a = a[0];
return a === void 0 ? null : a;
}
function K2(a) {
var b = a[0];
if (b !== void 0) {
var c = a.pop();
if (c !== b) {
a[0] = c;
a:
for (var d = 0, e = a.length; d < e; ) {
var m2 = 2 * (d + 1) - 1, n2 = a[m2], v2 = m2 + 1, r2 = a[v2];
if (n2 !== void 0 && 0 > I2(n2, c))
r2 !== void 0 && 0 > I2(r2, n2) ? (a[d] = r2, a[v2] = c, d = v2) : (a[d] = n2, a[m2] = c, d = m2);
else if (r2 !== void 0 && 0 > I2(r2, c))
a[d] = r2, a[v2] = c, d = v2;
else
break a;
}
}
return b;
}
return null;
}
function I2(a, b) {
var c = a.sortIndex - b.sortIndex;
return c !== 0 ? c : a.id - b.id;
}
var L2 = [], M2 = [], N2 = 1, O2 = null, P2 = 3, Q2 = false, R2 = false, S2 = false;
function T2(a) {
for (var b = J2(M2); b !== null; ) {
if (b.callback === null)
K2(M2);
else if (b.startTime <= a)
K2(M2), b.sortIndex = b.expirationTime, H2(L2, b);
else
break;
b = J2(M2);
}
}
function U2(a) {
S2 = false;
T2(a);
if (!R2)
if (J2(L2) !== null)
R2 = true, f(V2);
else {
var b = J2(M2);
b !== null && g(U2, b.startTime - a);
}
}
function V2(a, b) {
R2 = false;
S2 && (S2 = false, h());
Q2 = true;
var c = P2;
try {
T2(b);
for (O2 = J2(L2); O2 !== null && (!(O2.expirationTime > b) || a && !exports.unstable_shouldYield()); ) {
var d = O2.callback;
if (typeof d === "function") {
O2.callback = null;
P2 = O2.priorityLevel;
var e = d(O2.expirationTime <= b);
b = exports.unstable_now();
typeof e === "function" ? O2.callback = e : O2 === J2(L2) && K2(L2);
T2(b);
} else
K2(L2);
O2 = J2(L2);
}
if (O2 !== null)
var m2 = true;
else {
var n2 = J2(M2);
n2 !== null && g(U2, n2.startTime - b);
m2 = false;
}
return m2;
} finally {
O2 = null, P2 = c, Q2 = false;
}
}
var W2 = k;
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() {
R2 || Q2 || (R2 = true, f(V2));
};
exports.unstable_getCurrentPriorityLevel = function() {
return P2;
};
exports.unstable_getFirstCallbackNode = function() {
return J2(L2);
};
exports.unstable_next = function(a) {
switch (P2) {
case 1:
case 2:
case 3:
var b = 3;
break;
default:
b = P2;
}
var c = P2;
P2 = b;
try {
return a();
} finally {
P2 = c;
}
};
exports.unstable_pauseExecution = function() {
};
exports.unstable_requestPaint = W2;
exports.unstable_runWithPriority = function(a, b) {
switch (a) {
case 1:
case 2:
case 3:
case 4:
case 5:
break;
default:
a = 3;
}
var c = P2;
P2 = a;
try {
return b();
} finally {
P2 = c;
}
};
exports.unstable_scheduleCallback = function(a, b, c) {
var d = exports.unstable_now();
typeof c === "object" && c !== null ? (c = c.delay, c = typeof c === "number" && 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: N2++, callback: b, priorityLevel: a, startTime: c, expirationTime: e, sortIndex: -1 };
c > d ? (a.sortIndex = c, H2(M2, a), J2(L2) === null && a === J2(M2) && (S2 ? h() : S2 = true, g(U2, c - d))) : (a.sortIndex = e, H2(L2, a), R2 || Q2 || (R2 = true, f(V2)));
return a;
};
exports.unstable_wrapCallback = function(a) {
var b = P2;
return function() {
var c = P2;
P2 = b;
try {
return a.apply(this, arguments);
} finally {
P2 = c;
}
};
};
})(scheduler_production_min);
{
scheduler.exports = scheduler_production_min;
}
/** @license React v17.0.2
* 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.
*/
var aa = react.exports, m = objectAssign, r = scheduler.exports;
function y(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.";
}
if (!aa)
throw Error(y(227));
var ba = /* @__PURE__ */ new Set(), ca = {};
function da(a, b) {
ea(a, b);
ea(a + "Capture", b);
}
function ea(a, b) {
ca[a] = b;
for (a = 0; a < b.length; a++)
ba.add(b[a]);
}
var fa = !(typeof window === "undefined" || typeof window.document === "undefined" || typeof window.document.createElement === "undefined"), ha = /^[: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]*$/, ia = Object.prototype.hasOwnProperty, ja = {}, ka = {};
function la(a) {
if (ia.call(ka, a))
return true;
if (ia.call(ja, a))
return false;
if (ha.test(a))
return ka[a] = true;
ja[a] = true;
return false;
}
function ma(a, b, c, d) {
if (c !== null && c.type === 0)
return false;
switch (typeof b) {
case "function":
case "symbol":
return true;
case "boolean":
if (d)
return false;
if (c !== null)
return !c.acceptsBooleans;
a = a.toLowerCase().slice(0, 5);
return a !== "data-" && a !== "aria-";
default:
return false;
}
}
function na(a, b, c, d) {
if (b === null || typeof b === "undefined" || ma(a, b, c, d))
return true;
if (d)
return false;
if (c !== null)
switch (c.type) {
case 3:
return !b;
case 4:
return b === false;
case 5:
return isNaN(b);
case 6:
return isNaN(b) || 1 > b;
}
return false;
}
function B(a, b, c, d, e, f, g) {
this.acceptsBooleans = b === 2 || b === 3 || b === 4;
this.attributeName = d;
this.attributeNamespace = e;
this.mustUseProperty = c;
this.propertyName = a;
this.type = b;
this.sanitizeURL = f;
this.removeEmptyString = g;
}
var D = {};
"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a) {
D[a] = new B(a, 0, false, a, null, false, false);
});
[["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(a) {
var b = a[0];
D[b] = new B(b, 1, false, a[1], null, false, false);
});
["contentEditable", "draggable", "spellCheck", "value"].forEach(function(a) {
D[a] = new B(a, 2, false, a.toLowerCase(), null, false, false);
});
["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(a) {
D[a] = new B(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) {
D[a] = new B(a, 3, false, a.toLowerCase(), null, false, false);
});
["checked", "multiple", "muted", "selected"].forEach(function(a) {
D[a] = new B(a, 3, true, a, null, false, false);
});
["capture", "download"].forEach(function(a) {
D[a] = new B(a, 4, false, a, null, false, false);
});
["cols", "rows", "size", "span"].forEach(function(a) {
D[a] = new B(a, 6, false, a, null, false, false);
});
["rowSpan", "start"].forEach(function(a) {
D[a] = new B(a, 5, false, a.toLowerCase(), null, false, false);
});
var oa = /[\-:]([a-z])/g;
function pa(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(oa, pa);
D[b] = new B(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(oa, pa);
D[b] = new B(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(oa, pa);
D[b] = new B(b, 1, false, a, "http://www.w3.org/XML/1998/namespace", false, false);
});
["tabIndex", "crossOrigin"].forEach(function(a) {
D[a] = new B(a, 1, false, a.toLowerCase(), null, false, false);
});
D.xlinkHref = new B("xlinkHref", 1, false, "xlink:href", "http://www.w3.org/1999/xlink", true, false);
["src", "href", "action", "formAction"].forEach(function(a) {
D[a] = new B(a, 1, false, a.toLowerCase(), null, true, true);
});
function qa(a, b, c, d) {
var e = D.hasOwnProperty(b) ? D[b] : null;
var f = e !== null ? e.type === 0 : d ? false : !(2 < b.length) || b[0] !== "o" && b[0] !== "O" || b[1] !== "n" && b[1] !== "N" ? false : true;
f || (na(b, c, e, d) && (c = null), d || e === null ? la(b) && (c === null ? a.removeAttribute(b) : a.setAttribute(b, "" + c)) : e.mustUseProperty ? a[e.propertyName] = c === null ? e.type === 3 ? false : "" : c : (b = e.attributeName, d = e.attributeNamespace, c === null ? a.removeAttribute(b) : (e = e.type, c = e === 3 || e === 4 && c === true ? "" : "" + c, d ? a.setAttributeNS(d, b, c) : a.setAttribute(b, c))));
}
var ra = aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, sa = 60103, ta = 60106, ua = 60107, wa = 60108, xa = 60114, ya = 60109, za = 60110, Aa = 60112, Ba = 60113, Ca = 60120, Da = 60115, Ea = 60116, Fa = 60121, Ga = 60128, Ha = 60129, Ia = 60130, Ja = 60131;
if (typeof Symbol === "function" && Symbol.for) {
var E = Symbol.for;
sa = E("react.element");
ta = E("react.portal");
ua = E("react.fragment");
wa = E("react.strict_mode");
xa = E("react.profiler");
ya = E("react.provider");
za = E("react.context");
Aa = E("react.forward_ref");
Ba = E("react.suspense");
Ca = E("react.suspense_list");
Da = E("react.memo");
Ea = E("react.lazy");
Fa = E("react.block");
E("react.scope");
Ga = E("react.opaque.id");
Ha = E("react.debug_trace_mode");
Ia = E("react.offscreen");
Ja = E("react.legacy_hidden");
}
var Ka = typeof Symbol === "function" && Symbol.iterator;
function La(a) {
if (a === null || typeof a !== "object")
return null;
a = Ka && a[Ka] || a["@@iterator"];
return typeof a === "function" ? a : null;
}
var Ma;
function Na(a) {
if (Ma === void 0)
try {
throw Error();
} catch (c) {
var b = c.stack.trim().match(/\n( *(at )?)/);
Ma = b && b[1] || "";
}
return "\n" + Ma + a;
}
var Oa = false;
function Pa(a, b) {
if (!a || Oa)
return "";
Oa = 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();
} }), typeof Reflect === "object" && Reflect.construct) {
try {
Reflect.construct(b, []);
} catch (k) {
var d = k;
}
Reflect.construct(a, [], b);
} else {
try {
b.call();
} catch (k) {
d = k;
}
a.call(b.prototype);
}
else {
try {
throw Error();
} catch (k) {
d = k;
}
a();
}
} catch (k) {
if (k && d && typeof k.stack === "string") {
for (var e = k.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 (g !== 1 || h !== 1) {
do
if (g--, h--, 0 > h || e[g] !== f[h])
return "\n" + e[g].replace(" at new ", " at ");
while (1 <= g && 0 <= h);
}
break;
}
}
} finally {
Oa = false, Error.prepareStackTrace = c;
}
return (a = a ? a.displayName || a.name : "") ? Na(a) : "";
}
function Qa(a) {
switch (a.tag) {
case 5:
return Na(a.type);
case 16:
return Na("Lazy");
case 13:
return Na("Suspense");
case 19:
return Na("SuspenseList");
case 0:
case 2:
case 15:
return a = Pa(a.type, false), a;
case 11:
return a = Pa(a.type.render, false), a;
case 22:
return a = Pa(a.type._render, false), a;
case 1:
return a = Pa(a.type, true), a;
default:
return "";
}
}
function Ra(a) {
if (a == null)
return null;
if (typeof a === "function")
return a.displayName || a.name || null;
if (typeof a === "string")
return a;
switch (a) {
case ua:
return "Fragment";
case ta:
return "Portal";
case xa:
return "Profiler";
case wa:
return "StrictMode";
case Ba:
return "Suspense";
case Ca:
return "SuspenseList";
}
if (typeof a === "object")
switch (a.$$typeof) {
case za:
return (a.displayName || "Context") + ".Consumer";
case ya:
return (a._context.displayName || "Context") + ".Provider";
case Aa:
var b = a.render;
b = b.displayName || b.name || "";
return a.displayName || (b !== "" ? "ForwardRef(" + b + ")" : "ForwardRef");
case Da:
return Ra(a.type);
case Fa:
return Ra(a._render);
case Ea:
b = a._payload;
a = a._init;
try {
return Ra(a(b));
} catch (c) {
}
}
return null;
}
function Sa(a) {
switch (typeof a) {
case "boolean":
case "number":
case "object":
case "string":
case "undefined":
return a;
default:
return "";
}
}
function Ta(a) {
var b = a.type;
return (a = a.nodeName) && a.toLowerCase() === "input" && (b === "checkbox" || b === "radio");
}
function Ua(a) {
var b = Ta(a) ? "checked" : "value", c = Object.getOwnPropertyDescriptor(a.constructor.prototype, b), d = "" + a[b];
if (!a.hasOwnProperty(b) && typeof c !== "undefined" && typeof c.get === "function" && typeof c.set === "function") {
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 || (typeof document !== "undefined" ? document : void 0);
if (typeof a === "undefined")
return null;
try {
return a.activeElement || a.body;
} catch (b) {
return a.body;
}
}
function Ya(a, b) {
var c = b.checked;
return m({}, b, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: c != null ? c : a._wrapperState.initialChecked });
}
function Za(a, b) {
var c = b.defaultValue == null ? "" : b.defaultValue, d = b.checked != null ? b.checked : b.defaultChecked;
c = Sa(b.value != null ? b.value : c);
a._wrapperState = { initialChecked: d, initialValue: c, controlled: b.type === "checkbox" || b.type === "radio" ? b.checked != null : b.value != null };
}
function $a(a, b) {
b = b.checked;
b != null && qa(a, "checked", b, false);
}
function ab(a, b) {
$a(a, b);
var c = Sa(b.value), d = b.type;
if (c != null)
if (d === "number") {
if (c === 0 && a.value === "" || a.value != c)
a.value = "" + c;
} else
a.value !== "" + c && (a.value = "" + c);
else if (d === "submit" || d === "reset") {
a.removeAttribute("value");
return;
}
b.hasOwnProperty("value") ? bb(a, b.type, c) : b.hasOwnProperty("defaultValue") && bb(a, b.type, Sa(b.defaultValue));
b.checked == null && b.defaultChecked != null && (a.defaultChecked = !!b.defaultChecked);
}
function cb(a, b, c) {
if (b.hasOwnProperty("value") || b.hasOwnProperty("defaultValue")) {
var d = b.type;
if (!(d !== "submit" && d !== "reset" || b.value !== void 0 && b.value !== null))
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 bb(a, b, c) {
if (b !== "number" || Xa(a.ownerDocument) !== a)
c == null ? a.defaultValue = "" + a._wrapperState.initialValue : a.defaultValue !== "" + c && (a.defaultValue = "" + c);
}
function db(a) {
var b = "";
aa.Children.forEach(a, function(a2) {
a2 != null && (b += a2);
});
return b;
}
function eb(a, b) {
a = m({ children: void 0 }, b);
if (b = db(b.children))
a.children = b;
return a;
}
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;
}
b !== null || a[e].disabled || (b = a[e]);
}
b !== null && (b.selected = true);
}
}
function gb(a, b) {
if (b.dangerouslySetInnerHTML != null)
throw Error(y(91));
return m({}, b, { value: void 0, defaultValue: void 0, children: "" + a._wrapperState.initialValue });
}
function hb(a, b) {
var c = b.value;
if (c == null) {
c = b.children;
b = b.defaultValue;
if (c != null) {
if (b != null)
throw Error(y(92));
if (Array.isArray(c)) {
if (!(1 >= c.length))
throw Error(y(93));
c = c[0];
}
b = c;
}
b == null && (b = "");
c = b;
}
a._wrapperState = { initialValue: Sa(c) };
}
function ib(a, b) {
var c = Sa(b.value), d = Sa(b.defaultValue);
c != null && (c = "" + c, c !== a.value && (a.value = c), b.defaultValue == null && a.defaultValue !== c && (a.defaultValue = c));
d != null && (a.defaultValue = "" + d);
}
function jb(a) {
var b = a.textContent;
b === a._wrapperState.initialValue && b !== "" && b !== null && (a.value = b);
}
var kb = { html: "http://www.w3.org/1999/xhtml", mathml: "http://www.w3.org/1998/Math/MathML", svg: "http://www.w3.org/2000/svg" };
function lb(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 mb(a, b) {
return a == null || a === "http://www.w3.org/1999/xhtml" ? lb(b) : a === "http://www.w3.org/2000/svg" && b === "foreignObject" ? "http://www.w3.org/1999/xhtml" : a;
}
var nb, ob = function(a) {
return typeof MSApp !== "undefined" && MSApp.execUnsafeLocalFunction ? function(b, c, d, e) {
MSApp.execUnsafeLocalFunction(function() {
return a(b, c, d, e);
});
} : a;
}(function(a, b) {
if (a.namespaceURI !== kb.svg || "innerHTML" in a)
a.innerHTML = b;
else {
nb = nb || document.createElement("div");
nb.innerHTML = "<svg>" + b.valueOf().toString() + "</svg>";
for (b = nb.firstChild; a.firstChild; )
a.removeChild(a.firstChild);
for (; b.firstChild; )
a.appendChild(b.firstChild);
}
});
function pb(a, b) {
if (b) {
var c = a.firstChild;
if (c && c === a.lastChild && c.nodeType === 3) {
c.nodeValue = b;
return;
}
}
a.textContent = b;
}
var qb = {
animationIterationCount: 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
}, rb = ["Webkit", "ms", "Moz", "O"];
Object.keys(qb).forEach(function(a) {
rb.forEach(function(b) {
b = b + a.charAt(0).toUpperCase() + a.substring(1);
qb[b] = qb[a];
});
});
function sb(a, b, c) {
return b == null || typeof b === "boolean" || b === "" ? "" : c || typeof b !== "number" || b === 0 || qb.hasOwnProperty(a) && qb[a] ? ("" + b).trim() : b + "px";
}
function tb(a, b) {
a = a.style;
for (var c in b)
if (b.hasOwnProperty(c)) {
var d = c.indexOf("--") === 0, e = sb(c, b[c], d);
c === "float" && (c = "cssFloat");
d ? a.setProperty(c, e) : a[c] = e;
}
}
var ub = m({ 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 vb(a, b) {
if (b) {
if (ub[a] && (b.children != null || b.dangerouslySetInnerHTML != null))
throw Error(y(137, a));
if (b.dangerouslySetInnerHTML != null) {
if (b.children != null)
throw Error(y(60));
if (!(typeof b.dangerouslySetInnerHTML === "object" && "__html" in b.dangerouslySetInnerHTML))
throw Error(y(61));
}
if (b.style != null && typeof b.style !== "object")
throw Error(y(62));
}
}
function wb(a, b) {
if (a.indexOf("-") === -1)
return typeof b.is === "string";
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;
}
}
function xb(a) {
a = a.target || a.srcElement || window;
a.correspondingUseElement && (a = a.correspondingUseElement);
return a.nodeType === 3 ? a.parentNode : a;
}
var yb = null, zb = null, Ab = null;
function Bb(a) {
if (a = Cb(a)) {
if (typeof yb !== "function")
throw Error(y(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(a, b, c, d, e) {
return a(b, c, d, e);
}
function Ib() {
}
var Jb = Gb, Kb = false, Lb = false;
function Mb() {
if (zb !== null || Ab !== null)
Ib(), Fb();
}
function Nb(a, b, c) {
if (Lb)
return a(b, c);
Lb = true;
try {
return Jb(a, b, c);
} finally {
Lb = false, Mb();
}
}
function Ob(a, b) {
var c = a.stateNode;
if (c === null)
return null;
var d = Db(c);
if (d === null)
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 = !(a === "button" || a === "input" || a === "select" || a === "textarea"));
a = !d;
break a;
default:
a = false;
}
if (a)
return null;
if (c && typeof c !== "function")
throw Error(y(231, b, typeof c));
return c;
}
var Pb = false;
if (fa)
try {
var Qb = {};
Object.defineProperty(Qb, "passive", { get: function() {
Pb = true;
} });
window.addEventListener("test", Qb, Qb);
window.removeEventListener("test", Qb, Qb);
} catch (a) {
Pb = false;
}
function Rb(a, b, c, d, e, f, g, h, k) {
var l2 = Array.prototype.slice.call(arguments, 3);
try {
b.apply(c, l2);
} catch (n2) {
this.onError(n2);
}
}
var Sb = false, Tb = null, Ub = false, Vb = null, Wb = { onError: function(a) {
Sb = true;
Tb = a;
} };
function Xb(a, b, c, d, e, f, g, h, k) {
Sb = false;
Tb = null;
Rb.apply(Wb, arguments);
}
function Yb(a, b, c, d, e, f, g, h, k) {
Xb.apply(this, arguments);
if (Sb) {
if (Sb) {
var l2 = Tb;
Sb = false;
Tb = null;
} else
throw Error(y(198));
Ub || (Ub = true, Vb = l2);
}
}
function Zb(a) {
var b = a, c = a;
if (a.alternate)
for (; b.return; )
b = b.return;
else {
a = b;
do
b = a, (b.flags & 1026) !== 0 && (c = b.return), a = b.return;
while (a);
}
return b.tag === 3 ? c : null;
}
function $b(a) {
if (a.tag === 13) {
var b = a.memoizedState;
b === null && (a = a.alternate, a !== null && (b = a.memoizedState));
if (b !== null)
return b.dehydrated;
}
return null;
}
function ac$1(a) {
if (Zb(a) !== a)
throw Error(y(188));
}
function bc(a) {
var b = a.alternate;
if (!b) {
b = Zb(a);
if (b === null)
throw Error(y(188));
return b !== a ? null : a;
}
for (var c = a, d = b; ; ) {
var e = c.return;
if (e === null)
break;
var f = e.alternate;
if (f === null) {
d = e.return;
if (d !== null) {
c = d;
continue;
}
break;
}
if (e.child === f.child) {
for (f = e.child; f; ) {
if (f === c)
return ac$1(e), a;
if (f === d)
return ac$1(e), b;
f = f.sibling;
}
throw Error(y(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(y(189));
}
}
if (c.alternate !== d)
throw Error(y(190));
}
if (c.tag !== 3)
throw Error(y(188));
return c.stateNode.current === c ? a : b;
}
function cc(a) {
a = bc(a);
if (!a)
return null;
for (var b = a; ; ) {
if (b.tag === 5 || b.tag === 6)
return b;
if (b.child)
b.child.return = b, b = b.child;
else {
if (b === a)
break;
for (; !b.sibling; ) {
if (!b.return || b.return === a)
return null;
b = b.return;
}
b.sibling.return = b.return;
b = b.sibling;
}
}
return null;
}
function dc(a, b) {
for (var c = a.alternate; b !== null; ) {
if (b === a || b === c)
return true;
b = b.return;
}
return false;
}
var ec, fc, gc, hc, ic$1 = false, jc = [], kc = null, lc = null, mc = null, nc = /* @__PURE__ */ new Map(), oc = /* @__PURE__ */ new Map(), pc = [], qc = "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 rc(a, b, c, d, e) {
return { blockedOn: a, domEventName: b, eventSystemFlags: c | 16, nativeEvent: e, targetContainers: [d] };
}
function sc$1(a, b) {
switch (a) {
case "focusin":
case "focusout":
kc = null;
break;
case "dragenter":
case "dragleave":
lc = null;
break;
case "mouseover":
case "mouseout":
mc = null;
break;
case "pointerover":
case "pointerout":
nc.delete(b.pointerId);
break;
case "gotpointercapture":
case "lostpointercapture":
oc.delete(b.pointerId);
}
}
function tc(a, b, c, d, e, f) {
if (a === null || a.nativeEvent !== f)
return a = rc(b, c, d, e, f), b !== null && (b = Cb(b), b !== null && fc(b)), a;
a.eventSystemFlags |= d;
b = a.targetContainers;
e !== null && b.indexOf(e) === -1 && b.push(e);
return a;
}
function uc(a, b, c, d, e) {
switch (b) {
case "focusin":
return kc = tc(kc, a, b, c, d, e), true;
case "dragenter":
return lc = tc(lc, a, b, c, d, e), true;
case "mouseover":
return mc = tc(mc, a, b, c, d, e), true;
case "pointerover":
var f = e.pointerId;
nc.set(f, tc(nc.get(f) || null, a, b, c, d, e));
return true;
case "gotpointercapture":
return f = e.pointerId, oc.set(f, tc(oc.get(f) || null, a, b, c, d, e)), true;
}
return false;
}
function vc(a) {
var b = wc(a.target);
if (b !== null) {
var c = Zb(b);
if (c !== null) {
if (b = c.tag, b === 13) {
if (b = $b(c), b !== null) {
a.blockedOn = b;
hc(a.lanePriority, function() {
r.unstable_runWithPriority(a.priority, function() {
gc(c);
});
});
return;
}
} else if (b === 3 && c.stateNode.hydrate) {
a.blockedOn = c.tag === 3 ? c.stateNode.containerInfo : null;
return;
}
}
}
a.blockedOn = null;
}
function xc(a) {
if (a.blockedOn !== null)
return false;
for (var b = a.targetContainers; 0 < b.length; ) {
var c = yc(a.domEventName, a.eventSystemFlags, b[0], a.nativeEvent);
if (c !== null)
return b = Cb(c), b !== null && fc(b), a.blockedOn = c, false;
b.shift();
}
return true;
}
function zc(a, b, c) {
xc(a) && c.delete(b);
}
function Ac() {
for (ic$1 = false; 0 < jc.length; ) {
var a = jc[0];
if (a.blockedOn !== null) {
a = Cb(a.blockedOn);
a !== null && ec(a);
break;
}
for (var b = a.targetContainers; 0 < b.length; ) {
var c = yc(a.domEventName, a.eventSystemFlags, b[0], a.nativeEvent);
if (c !== null) {
a.blockedOn = c;
break;
}
b.shift();
}
a.blockedOn === null && jc.shift();
}
kc !== null && xc(kc) && (kc = null);
lc !== null && xc(lc) && (lc = null);
mc !== null && xc(mc) && (mc = null);
nc.forEach(zc);
oc.forEach(zc);
}
function Bc(a, b) {
a.blockedOn === b && (a.blockedOn = null, ic$1 || (ic$1 = true, r.unstable_scheduleCallback(r.unstable_NormalPriority, Ac)));
}
function Cc(a) {
function b(b2) {
return Bc(b2, a);
}
if (0 < jc.length) {
Bc(jc[0], a);
for (var c = 1; c < jc.length; c++) {
var d = jc[c];
d.blockedOn === a && (d.blockedOn = null);
}
}
kc !== null && Bc(kc, a);
lc !== null && Bc(lc, a);
mc !== null && Bc(mc, a);
nc.forEach(b);
oc.forEach(b);
for (c = 0; c < pc.length; c++)
d = pc[c], d.blockedOn === a && (d.blockedOn = null);
for (; 0 < pc.length && (c = pc[0], c.blockedOn === null); )
vc(c), c.blockedOn === nul