@nfdi4plants/arc-web-view
Version:
An Annotated Research Context web viewer in the style of GitHub's Primer ProductUI.
1,546 lines (1,545 loc) • 1.07 MB
JavaScript
import { d as Le, c as qe, j as D, f as w4, u as i2, a as nv, B as NE, b as BE, e as N4, X as B4, S as q4, g as L4, C as Y4, V as Zm, h as G4, A as V4, r as X4, i as Q4, F as Z4, k as h3, l as J4 } from "./lib-D97sP53N.js";
import ct, { useRef as Iu, useCallback as Eo, useEffect as Bn, useMemo as fd, useState as Zt, Fragment as m3, memo as p3, Children as V1, forwardRef as lb, useLayoutEffect as K4, useContext as y3, isValidElement as B1, cloneElement as qE, Suspense as $4, lazy as W4 } from "react";
import { ROCrate as F4, JsonController as LE } from "@nfdi4plants/arctrl";
import { useResponsiveValue as v3, Link as k4, Truncate as HS, IconButton as t2, Breadcrumbs as wS, FormControl as YE, Autocomplete as q1, useFocusZone as I4, ActionList as NS, Heading as vf, Text as pt, Stack as sa, TreeView as ev, Banner as P4, SplitPageLayout as BS, Dialog as e5 } from "@primer/react";
import g3, { createPortal as b3 } from "react-dom";
var L1 = { exports: {} }, $y = {}, Y1 = { exports: {} }, qS = {};
var GE;
function t5() {
return GE || (GE = 1, (function(r) {
function o(w, k) {
var ie = w.length;
w.push(k);
e: for (; 0 < ie; ) {
var Te = ie - 1 >>> 1, Re = w[Te];
if (0 < g(Re, k))
w[Te] = k, w[ie] = Re, ie = Te;
else break e;
}
}
function y(w) {
return w.length === 0 ? null : w[0];
}
function h(w) {
if (w.length === 0) return null;
var k = w[0], ie = w.pop();
if (ie !== k) {
w[0] = ie;
e: for (var Te = 0, Re = w.length, ce = Re >>> 1; Te < ce; ) {
var fe = 2 * (Te + 1) - 1, he = w[fe], De = fe + 1, ke = w[De];
if (0 > g(he, ie))
De < Re && 0 > g(ke, he) ? (w[Te] = ke, w[De] = ie, Te = De) : (w[Te] = he, w[fe] = ie, Te = fe);
else if (De < Re && 0 > g(ke, ie))
w[Te] = ke, w[De] = ie, Te = De;
else break e;
}
}
return k;
}
function g(w, k) {
var ie = w.sortIndex - k.sortIndex;
return ie !== 0 ? ie : w.id - k.id;
}
if (r.unstable_now = void 0, typeof performance == "object" && typeof performance.now == "function") {
var S = performance;
r.unstable_now = function() {
return S.now();
};
} else {
var E = Date, A = E.now();
r.unstable_now = function() {
return E.now() - A;
};
}
var z = [], O = [], M = 1, R = null, X = 3, Y = !1, Z = !1, ne = !1, ee = !1, le = typeof setTimeout == "function" ? setTimeout : null, oe = typeof clearTimeout == "function" ? clearTimeout : null, de = typeof setImmediate < "u" ? setImmediate : null;
function Ue(w) {
for (var k = y(O); k !== null; ) {
if (k.callback === null) h(O);
else if (k.startTime <= w)
h(O), k.sortIndex = k.expirationTime, o(z, k);
else break;
k = y(O);
}
}
function Ae(w) {
if (ne = !1, Ue(w), !Z)
if (y(z) !== null)
Z = !0, we || (we = !0, ye());
else {
var k = y(O);
k !== null && st(Ae, k.startTime - w);
}
}
var we = !1, pe = -1, xe = 5, Ye = -1;
function se() {
return ee ? !0 : !(r.unstable_now() - Ye < xe);
}
function re() {
if (ee = !1, we) {
var w = r.unstable_now();
Ye = w;
var k = !0;
try {
e: {
Z = !1, ne && (ne = !1, oe(pe), pe = -1), Y = !0;
var ie = X;
try {
t: {
for (Ue(w), R = y(z); R !== null && !(R.expirationTime > w && se()); ) {
var Te = R.callback;
if (typeof Te == "function") {
R.callback = null, X = R.priorityLevel;
var Re = Te(
R.expirationTime <= w
);
if (w = r.unstable_now(), typeof Re == "function") {
R.callback = Re, Ue(w), k = !0;
break t;
}
R === y(z) && h(z), Ue(w);
} else h(z);
R = y(z);
}
if (R !== null) k = !0;
else {
var ce = y(O);
ce !== null && st(
Ae,
ce.startTime - w
), k = !1;
}
}
break e;
} finally {
R = null, X = ie, Y = !1;
}
k = void 0;
}
} finally {
k ? ye() : we = !1;
}
}
}
var ye;
if (typeof de == "function")
ye = function() {
de(re);
};
else if (typeof MessageChannel < "u") {
var Se = new MessageChannel(), yt = Se.port2;
Se.port1.onmessage = re, ye = function() {
yt.postMessage(null);
};
} else
ye = function() {
le(re, 0);
};
function st(w, k) {
pe = le(function() {
w(r.unstable_now());
}, k);
}
r.unstable_IdlePriority = 5, r.unstable_ImmediatePriority = 1, r.unstable_LowPriority = 4, r.unstable_NormalPriority = 3, r.unstable_Profiling = null, r.unstable_UserBlockingPriority = 2, r.unstable_cancelCallback = function(w) {
w.callback = null;
}, r.unstable_forceFrameRate = function(w) {
0 > w || 125 < w ? console.error(
"forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"
) : xe = 0 < w ? Math.floor(1e3 / w) : 5;
}, r.unstable_getCurrentPriorityLevel = function() {
return X;
}, r.unstable_next = function(w) {
switch (X) {
case 1:
case 2:
case 3:
var k = 3;
break;
default:
k = X;
}
var ie = X;
X = k;
try {
return w();
} finally {
X = ie;
}
}, r.unstable_requestPaint = function() {
ee = !0;
}, r.unstable_runWithPriority = function(w, k) {
switch (w) {
case 1:
case 2:
case 3:
case 4:
case 5:
break;
default:
w = 3;
}
var ie = X;
X = w;
try {
return k();
} finally {
X = ie;
}
}, r.unstable_scheduleCallback = function(w, k, ie) {
var Te = r.unstable_now();
switch (typeof ie == "object" && ie !== null ? (ie = ie.delay, ie = typeof ie == "number" && 0 < ie ? Te + ie : Te) : ie = Te, w) {
case 1:
var Re = -1;
break;
case 2:
Re = 250;
break;
case 5:
Re = 1073741823;
break;
case 4:
Re = 1e4;
break;
default:
Re = 5e3;
}
return Re = ie + Re, w = {
id: M++,
callback: k,
priorityLevel: w,
startTime: ie,
expirationTime: Re,
sortIndex: -1
}, ie > Te ? (w.sortIndex = ie, o(O, w), y(z) === null && w === y(O) && (ne ? (oe(pe), pe = -1) : ne = !0, st(Ae, ie - Te))) : (w.sortIndex = Re, o(z, w), Z || Y || (Z = !0, we || (we = !0, ye()))), w;
}, r.unstable_shouldYield = se, r.unstable_wrapCallback = function(w) {
var k = X;
return function() {
var ie = X;
X = k;
try {
return w.apply(this, arguments);
} finally {
X = ie;
}
};
};
})(qS)), qS;
}
var LS = {};
var VE;
function l5() {
return VE || (VE = 1, (function(r) {
process.env.NODE_ENV !== "production" && (function() {
function o() {
if (Ae = !1, Ye) {
var w = r.unstable_now();
ye = w;
var k = !0;
try {
e: {
de = !1, Ue && (Ue = !1, pe(se), se = -1), oe = !0;
var ie = le;
try {
t: {
for (E(w), ee = h(Y); ee !== null && !(ee.expirationTime > w && z()); ) {
var Te = ee.callback;
if (typeof Te == "function") {
ee.callback = null, le = ee.priorityLevel;
var Re = Te(
ee.expirationTime <= w
);
if (w = r.unstable_now(), typeof Re == "function") {
ee.callback = Re, E(w), k = !0;
break t;
}
ee === h(Y) && g(Y), E(w);
} else g(Y);
ee = h(Y);
}
if (ee !== null) k = !0;
else {
var ce = h(Z);
ce !== null && O(
A,
ce.startTime - w
), k = !1;
}
}
break e;
} finally {
ee = null, le = ie, oe = !1;
}
k = void 0;
}
} finally {
k ? Se() : Ye = !1;
}
}
}
function y(w, k) {
var ie = w.length;
w.push(k);
e: for (; 0 < ie; ) {
var Te = ie - 1 >>> 1, Re = w[Te];
if (0 < S(Re, k))
w[Te] = k, w[ie] = Re, ie = Te;
else break e;
}
}
function h(w) {
return w.length === 0 ? null : w[0];
}
function g(w) {
if (w.length === 0) return null;
var k = w[0], ie = w.pop();
if (ie !== k) {
w[0] = ie;
e: for (var Te = 0, Re = w.length, ce = Re >>> 1; Te < ce; ) {
var fe = 2 * (Te + 1) - 1, he = w[fe], De = fe + 1, ke = w[De];
if (0 > S(he, ie))
De < Re && 0 > S(ke, he) ? (w[Te] = ke, w[De] = ie, Te = De) : (w[Te] = he, w[fe] = ie, Te = fe);
else if (De < Re && 0 > S(ke, ie))
w[Te] = ke, w[De] = ie, Te = De;
else break e;
}
}
return k;
}
function S(w, k) {
var ie = w.sortIndex - k.sortIndex;
return ie !== 0 ? ie : w.id - k.id;
}
function E(w) {
for (var k = h(Z); k !== null; ) {
if (k.callback === null) g(Z);
else if (k.startTime <= w)
g(Z), k.sortIndex = k.expirationTime, y(Y, k);
else break;
k = h(Z);
}
}
function A(w) {
if (Ue = !1, E(w), !de)
if (h(Y) !== null)
de = !0, Ye || (Ye = !0, Se());
else {
var k = h(Z);
k !== null && O(
A,
k.startTime - w
);
}
}
function z() {
return Ae ? !0 : !(r.unstable_now() - ye < re);
}
function O(w, k) {
se = we(function() {
w(r.unstable_now());
}, k);
}
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()), r.unstable_now = void 0, typeof performance == "object" && typeof performance.now == "function") {
var M = performance;
r.unstable_now = function() {
return M.now();
};
} else {
var R = Date, X = R.now();
r.unstable_now = function() {
return R.now() - X;
};
}
var Y = [], Z = [], ne = 1, ee = null, le = 3, oe = !1, de = !1, Ue = !1, Ae = !1, we = typeof setTimeout == "function" ? setTimeout : null, pe = typeof clearTimeout == "function" ? clearTimeout : null, xe = typeof setImmediate < "u" ? setImmediate : null, Ye = !1, se = -1, re = 5, ye = -1;
if (typeof xe == "function")
var Se = function() {
xe(o);
};
else if (typeof MessageChannel < "u") {
var yt = new MessageChannel(), st = yt.port2;
yt.port1.onmessage = o, Se = function() {
st.postMessage(null);
};
} else
Se = function() {
we(o, 0);
};
r.unstable_IdlePriority = 5, r.unstable_ImmediatePriority = 1, r.unstable_LowPriority = 4, r.unstable_NormalPriority = 3, r.unstable_Profiling = null, r.unstable_UserBlockingPriority = 2, r.unstable_cancelCallback = function(w) {
w.callback = null;
}, r.unstable_forceFrameRate = function(w) {
0 > w || 125 < w ? console.error(
"forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"
) : re = 0 < w ? Math.floor(1e3 / w) : 5;
}, r.unstable_getCurrentPriorityLevel = function() {
return le;
}, r.unstable_next = function(w) {
switch (le) {
case 1:
case 2:
case 3:
var k = 3;
break;
default:
k = le;
}
var ie = le;
le = k;
try {
return w();
} finally {
le = ie;
}
}, r.unstable_requestPaint = function() {
Ae = !0;
}, r.unstable_runWithPriority = function(w, k) {
switch (w) {
case 1:
case 2:
case 3:
case 4:
case 5:
break;
default:
w = 3;
}
var ie = le;
le = w;
try {
return k();
} finally {
le = ie;
}
}, r.unstable_scheduleCallback = function(w, k, ie) {
var Te = r.unstable_now();
switch (typeof ie == "object" && ie !== null ? (ie = ie.delay, ie = typeof ie == "number" && 0 < ie ? Te + ie : Te) : ie = Te, w) {
case 1:
var Re = -1;
break;
case 2:
Re = 250;
break;
case 5:
Re = 1073741823;
break;
case 4:
Re = 1e4;
break;
default:
Re = 5e3;
}
return Re = ie + Re, w = {
id: ne++,
callback: k,
priorityLevel: w,
startTime: ie,
expirationTime: Re,
sortIndex: -1
}, ie > Te ? (w.sortIndex = ie, y(Z, w), h(Y) === null && w === h(Z) && (Ue ? (pe(se), se = -1) : Ue = !0, O(A, ie - Te))) : (w.sortIndex = Re, y(Y, w), de || oe || (de = !0, Ye || (Ye = !0, Se()))), w;
}, r.unstable_shouldYield = z, r.unstable_wrapCallback = function(w) {
var k = le;
return function() {
var ie = le;
le = k;
try {
return w.apply(this, arguments);
} finally {
le = ie;
}
};
}, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
})();
})(LS)), LS;
}
var XE;
function S3() {
return XE || (XE = 1, process.env.NODE_ENV === "production" ? Y1.exports = t5() : Y1.exports = l5()), Y1.exports;
}
var QE;
function n5() {
if (QE) return $y;
QE = 1;
var r = S3(), o = ct, y = g3;
function h(l) {
var a = "https://react.dev/errors/" + l;
if (1 < arguments.length) {
a += "?args[]=" + encodeURIComponent(arguments[1]);
for (var u = 2; u < arguments.length; u++)
a += "&args[]=" + encodeURIComponent(arguments[u]);
}
return "Minified React error #" + l + "; visit " + a + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
}
function g(l) {
return !(!l || l.nodeType !== 1 && l.nodeType !== 9 && l.nodeType !== 11);
}
function S(l) {
var a = l, u = l;
if (l.alternate) for (; a.return; ) a = a.return;
else {
l = a;
do
a = l, (a.flags & 4098) !== 0 && (u = a.return), l = a.return;
while (l);
}
return a.tag === 3 ? u : null;
}
function E(l) {
if (l.tag === 13) {
var a = l.memoizedState;
if (a === null && (l = l.alternate, l !== null && (a = l.memoizedState)), a !== null) return a.dehydrated;
}
return null;
}
function A(l) {
if (l.tag === 31) {
var a = l.memoizedState;
if (a === null && (l = l.alternate, l !== null && (a = l.memoizedState)), a !== null) return a.dehydrated;
}
return null;
}
function z(l) {
if (S(l) !== l)
throw Error(h(188));
}
function O(l) {
var a = l.alternate;
if (!a) {
if (a = S(l), a === null) throw Error(h(188));
return a !== l ? null : l;
}
for (var u = l, c = a; ; ) {
var d = u.return;
if (d === null) break;
var m = d.alternate;
if (m === null) {
if (c = d.return, c !== null) {
u = c;
continue;
}
break;
}
if (d.child === m.child) {
for (m = d.child; m; ) {
if (m === u) return z(d), l;
if (m === c) return z(d), a;
m = m.sibling;
}
throw Error(h(188));
}
if (u.return !== c.return) u = d, c = m;
else {
for (var b = !1, C = d.child; C; ) {
if (C === u) {
b = !0, u = d, c = m;
break;
}
if (C === c) {
b = !0, c = d, u = m;
break;
}
C = C.sibling;
}
if (!b) {
for (C = m.child; C; ) {
if (C === u) {
b = !0, u = m, c = d;
break;
}
if (C === c) {
b = !0, c = m, u = d;
break;
}
C = C.sibling;
}
if (!b) throw Error(h(189));
}
}
if (u.alternate !== c) throw Error(h(190));
}
if (u.tag !== 3) throw Error(h(188));
return u.stateNode.current === u ? l : a;
}
function M(l) {
var a = l.tag;
if (a === 5 || a === 26 || a === 27 || a === 6) return l;
for (l = l.child; l !== null; ) {
if (a = M(l), a !== null) return a;
l = l.sibling;
}
return null;
}
var R = Object.assign, X = Symbol.for("react.element"), Y = Symbol.for("react.transitional.element"), Z = Symbol.for("react.portal"), ne = Symbol.for("react.fragment"), ee = Symbol.for("react.strict_mode"), le = Symbol.for("react.profiler"), oe = Symbol.for("react.consumer"), de = Symbol.for("react.context"), Ue = Symbol.for("react.forward_ref"), Ae = Symbol.for("react.suspense"), we = Symbol.for("react.suspense_list"), pe = Symbol.for("react.memo"), xe = Symbol.for("react.lazy"), Ye = Symbol.for("react.activity"), se = Symbol.for("react.memo_cache_sentinel"), re = Symbol.iterator;
function ye(l) {
return l === null || typeof l != "object" ? null : (l = re && l[re] || l["@@iterator"], typeof l == "function" ? l : null);
}
var Se = Symbol.for("react.client.reference");
function yt(l) {
if (l == null) return null;
if (typeof l == "function")
return l.$$typeof === Se ? null : l.displayName || l.name || null;
if (typeof l == "string") return l;
switch (l) {
case ne:
return "Fragment";
case le:
return "Profiler";
case ee:
return "StrictMode";
case Ae:
return "Suspense";
case we:
return "SuspenseList";
case Ye:
return "Activity";
}
if (typeof l == "object")
switch (l.$$typeof) {
case Z:
return "Portal";
case de:
return l.displayName || "Context";
case oe:
return (l._context.displayName || "Context") + ".Consumer";
case Ue:
var a = l.render;
return l = l.displayName, l || (l = a.displayName || a.name || "", l = l !== "" ? "ForwardRef(" + l + ")" : "ForwardRef"), l;
case pe:
return a = l.displayName || null, a !== null ? a : yt(l.type) || "Memo";
case xe:
a = l._payload, l = l._init;
try {
return yt(l(a));
} catch {
}
}
return null;
}
var st = Array.isArray, w = o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, k = y.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, ie = {
pending: !1,
data: null,
method: null,
action: null
}, Te = [], Re = -1;
function ce(l) {
return { current: l };
}
function fe(l) {
0 > Re || (l.current = Te[Re], Te[Re] = null, Re--);
}
function he(l, a) {
Re++, Te[Re] = l.current, l.current = a;
}
var De = ce(null), ke = ce(null), Xl = ce(null), nl = ce(null);
function fa(l, a) {
switch (he(Xl, a), he(ke, l), he(De, null), a.nodeType) {
case 9:
case 11:
l = (l = a.documentElement) && (l = l.namespaceURI) ? Og(l) : 0;
break;
default:
if (l = a.tagName, a = a.namespaceURI)
a = Og(a), l = X0(a, l);
else
switch (l) {
case "svg":
l = 1;
break;
case "math":
l = 2;
break;
default:
l = 0;
}
}
fe(De), he(De, l);
}
function xn() {
fe(De), fe(ke), fe(Xl);
}
function Ui(l) {
l.memoizedState !== null && he(nl, l);
var a = De.current, u = X0(a, l.type);
a !== u && (he(ke, l), he(De, u));
}
function ge(l) {
ke.current === l && (fe(De), fe(ke)), nl.current === l && (fe(nl), _r._currentValue = ie);
}
var ra, da;
function un(l) {
if (ra === void 0)
try {
throw Error();
} catch (u) {
var a = u.stack.trim().match(/\n( *(at )?)/);
ra = a && a[1] || "", da = -1 < u.stack.indexOf(`
at`) ? " (<anonymous>)" : -1 < u.stack.indexOf("@") ? "@unknown:0:0" : "";
}
return `
` + ra + l + da;
}
var zn = !1;
function rt(l, a) {
if (!l || zn) return "";
zn = !0;
var u = Error.prepareStackTrace;
Error.prepareStackTrace = void 0;
try {
var c = {
DetermineComponentFrameRoot: function() {
try {
if (a) {
var ae = function() {
throw Error();
};
if (Object.defineProperty(ae.prototype, "props", {
set: function() {
throw Error();
}
}), typeof Reflect == "object" && Reflect.construct) {
try {
Reflect.construct(ae, []);
} catch (F) {
var J = F;
}
Reflect.construct(l, [], ae);
} else {
try {
ae.call();
} catch (F) {
J = F;
}
l.call(ae.prototype);
}
} else {
try {
throw Error();
} catch (F) {
J = F;
}
(ae = l()) && typeof ae.catch == "function" && ae.catch(function() {
});
}
} catch (F) {
if (F && J && typeof F.stack == "string")
return [F.stack, J.stack];
}
return [null, null];
}
};
c.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot";
var d = Object.getOwnPropertyDescriptor(
c.DetermineComponentFrameRoot,
"name"
);
d && d.configurable && Object.defineProperty(
c.DetermineComponentFrameRoot,
"name",
{ value: "DetermineComponentFrameRoot" }
);
var m = c.DetermineComponentFrameRoot(), b = m[0], C = m[1];
if (b && C) {
var H = b.split(`
`), Q = C.split(`
`);
for (d = c = 0; c < H.length && !H[c].includes("DetermineComponentFrameRoot"); )
c++;
for (; d < Q.length && !Q[d].includes(
"DetermineComponentFrameRoot"
); )
d++;
if (c === H.length || d === Q.length)
for (c = H.length - 1, d = Q.length - 1; 1 <= c && 0 <= d && H[c] !== Q[d]; )
d--;
for (; 1 <= c && 0 <= d; c--, d--)
if (H[c] !== Q[d]) {
if (c !== 1 || d !== 1)
do
if (c--, d--, 0 > d || H[c] !== Q[d]) {
var I = `
` + H[c].replace(" at new ", " at ");
return l.displayName && I.includes("<anonymous>") && (I = I.replace("<anonymous>", l.displayName)), I;
}
while (1 <= c && 0 <= d);
break;
}
}
} finally {
zn = !1, Error.prepareStackTrace = u;
}
return (u = l ? l.displayName || l.name : "") ? un(u) : "";
}
function wc(l, a) {
switch (l.tag) {
case 26:
case 27:
case 5:
return un(l.type);
case 16:
return un("Lazy");
case 13:
return l.child !== a && a !== null ? un("Suspense Fallback") : un("Suspense");
case 19:
return un("SuspenseList");
case 0:
case 15:
return rt(l.type, !1);
case 11:
return rt(l.type.render, !1);
case 1:
return rt(l.type, !0);
case 31:
return un("Activity");
default:
return "";
}
}
function hd(l) {
try {
var a = "", u = null;
do
a += wc(l, u), u = l, l = l.return;
while (l);
return a;
} catch (c) {
return `
Error generating stack: ` + c.message + `
` + c.stack;
}
}
var Wm = Object.prototype.hasOwnProperty, Nt = r.unstable_scheduleCallback, Fm = r.unstable_cancelCallback, Ao = r.unstable_shouldYield, md = r.unstable_requestPaint, Ql = r.unstable_now, ob = r.unstable_getCurrentPriorityLevel, pd = r.unstable_ImmediatePriority, yd = r.unstable_UserBlockingPriority, ji = r.unstable_NormalPriority, cb = r.unstable_LowPriority, km = r.unstable_IdlePriority, dv = r.log, hv = r.unstable_setDisableYieldValue, Do = null, Cn = null;
function Pu(l) {
if (typeof dv == "function" && hv(l), Cn && typeof Cn.setStrictMode == "function")
try {
Cn.setStrictMode(Do, l);
} catch {
}
}
var on = Math.clz32 ? Math.clz32 : Im, mv = Math.log, pv = Math.LN2;
function Im(l) {
return l >>>= 0, l === 0 ? 32 : 31 - (mv(l) / pv | 0) | 0;
}
var ei = 256, _a = 262144, Hi = 4194304;
function ha(l) {
var a = l & 42;
if (a !== 0) return a;
switch (l & -l) {
case 1:
return 1;
case 2:
return 2;
case 4:
return 4;
case 8:
return 8;
case 16:
return 16;
case 32:
return 32;
case 64:
return 64;
case 128:
return 128;
case 256:
case 512:
case 1024:
case 2048:
case 4096:
case 8192:
case 16384:
case 32768:
case 65536:
case 131072:
return l & 261888;
case 262144:
case 524288:
case 1048576:
case 2097152:
return l & 3932160;
case 4194304:
case 8388608:
case 16777216:
case 33554432:
return l & 62914560;
case 67108864:
return 67108864;
case 134217728:
return 134217728;
case 268435456:
return 268435456;
case 536870912:
return 536870912;
case 1073741824:
return 0;
default:
return l;
}
}
function sl(l, a, u) {
var c = l.pendingLanes;
if (c === 0) return 0;
var d = 0, m = l.suspendedLanes, b = l.pingedLanes;
l = l.warmLanes;
var C = c & 134217727;
return C !== 0 ? (c = C & ~m, c !== 0 ? d = ha(c) : (b &= C, b !== 0 ? d = ha(b) : u || (u = C & ~l, u !== 0 && (d = ha(u))))) : (C = c & ~m, C !== 0 ? d = ha(C) : b !== 0 ? d = ha(b) : u || (u = c & ~l, u !== 0 && (d = ha(u)))), d === 0 ? 0 : a !== 0 && a !== d && (a & m) === 0 && (m = d & -d, u = a & -a, m >= u || m === 32 && (u & 4194048) !== 0) ? a : d;
}
function Ua(l, a) {
return (l.pendingLanes & ~(l.suspendedLanes & ~l.pingedLanes) & a) === 0;
}
function Nc(l, a) {
switch (l) {
case 1:
case 2:
case 4:
case 8:
case 64:
return a + 250;
case 16:
case 32:
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 + 5e3;
case 4194304:
case 8388608:
case 16777216:
case 33554432:
return -1;
case 67108864:
case 134217728:
case 268435456:
case 536870912:
case 1073741824:
return -1;
default:
return -1;
}
}
function xo() {
var l = Hi;
return Hi <<= 1, (Hi & 62914560) === 0 && (Hi = 4194304), l;
}
function gf(l) {
for (var a = [], u = 0; 31 > u; u++) a.push(l);
return a;
}
function Bc(l, a) {
l.pendingLanes |= a, a !== 268435456 && (l.suspendedLanes = 0, l.pingedLanes = 0, l.warmLanes = 0);
}
function vd(l, a, u, c, d, m) {
var b = l.pendingLanes;
l.pendingLanes = u, l.suspendedLanes = 0, l.pingedLanes = 0, l.warmLanes = 0, l.expiredLanes &= u, l.entangledLanes &= u, l.errorRecoveryDisabledLanes &= u, l.shellSuspendCounter = 0;
var C = l.entanglements, H = l.expirationTimes, Q = l.hiddenUpdates;
for (u = b & ~u; 0 < u; ) {
var I = 31 - on(u), ae = 1 << I;
C[I] = 0, H[I] = -1;
var J = Q[I];
if (J !== null)
for (Q[I] = null, I = 0; I < J.length; I++) {
var F = J[I];
F !== null && (F.lane &= -536870913);
}
u &= ~ae;
}
c !== 0 && bf(l, c, 0), m !== 0 && d === 0 && l.tag !== 0 && (l.suspendedLanes |= m & ~(b & ~a));
}
function bf(l, a, u) {
l.pendingLanes |= a, l.suspendedLanes &= ~a;
var c = 31 - on(a);
l.entangledLanes |= a, l.entanglements[c] = l.entanglements[c] | 1073741824 | u & 261930;
}
function cu(l, a) {
var u = l.entangledLanes |= a;
for (l = l.entanglements; u; ) {
var c = 31 - on(u), d = 1 << c;
d & a | l[c] & a && (l[c] |= a), u &= ~d;
}
}
function qn(l, a) {
var u = a & -a;
return u = (u & 42) !== 0 ? 1 : gd(u), (u & (l.suspendedLanes | a)) !== 0 ? 0 : u;
}
function gd(l) {
switch (l) {
case 2:
l = 1;
break;
case 8:
l = 4;
break;
case 32:
l = 16;
break;
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:
l = 128;
break;
case 268435456:
l = 134217728;
break;
default:
l = 0;
}
return l;
}
function Pm(l) {
return l &= -l, 2 < l ? 8 < l ? (l & 134217727) !== 0 ? 32 : 268435456 : 8 : 2;
}
function bd() {
var l = k.p;
return l !== 0 ? l : (l = window.event, l === void 0 ? 32 : Ur(l.type));
}
function ep(l, a) {
var u = k.p;
try {
return k.p = l, a();
} finally {
k.p = u;
}
}
var ja = Math.random().toString(36).slice(2), Mt = "__reactFiber$" + ja, cn = "__reactProps$" + ja, wi = "__reactContainer$" + ja, Sd = "__reactEvents$" + ja, tp = "__reactListeners$" + ja, yv = "__reactHandles$" + ja, lp = "__reactResources$" + ja, su = "__reactMarker$" + ja;
function Td(l) {
delete l[Mt], delete l[cn], delete l[Sd], delete l[tp], delete l[yv];
}
function zo(l) {
var a = l[Mt];
if (a) return a;
for (var u = l.parentNode; u; ) {
if (a = u[wi] || u[Mt]) {
if (u = a.alternate, a.child !== null || u !== null && u.child !== null)
for (l = eu(l); l !== null; ) {
if (u = l[Mt]) return u;
l = eu(l);
}
return a;
}
l = u, u = l.parentNode;
}
return null;
}
function Co(l) {
if (l = l[Mt] || l[wi]) {
var a = l.tag;
if (a === 5 || a === 6 || a === 13 || a === 31 || a === 26 || a === 27 || a === 3)
return l;
}
return null;
}
function qc(l) {
var a = l.tag;
if (a === 5 || a === 26 || a === 27 || a === 6) return l.stateNode;
throw Error(h(33));
}
function Oo(l) {
var a = l[lp];
return a || (a = l[lp] = { hoistableStyles: /* @__PURE__ */ new Map(), hoistableScripts: /* @__PURE__ */ new Map() }), a;
}
function Dt(l) {
l[su] = !0;
}
var Mo = /* @__PURE__ */ new Set(), Ni = {};
function Bi(l, a) {
fu(l, a), fu(l + "Capture", a);
}
function fu(l, a) {
for (Ni[l] = a, l = 0; l < a.length; l++)
Mo.add(a[l]);
}
var Ed = RegExp(
"^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"
), Ad = {}, Lc = {};
function Yc(l) {
return Wm.call(Lc, l) ? !0 : Wm.call(Ad, l) ? !1 : Ed.test(l) ? Lc[l] = !0 : (Ad[l] = !0, !1);
}
function Gc(l, a, u) {
if (Yc(a))
if (u === null) l.removeAttribute(a);
else {
switch (typeof u) {
case "undefined":
case "function":
case "symbol":
l.removeAttribute(a);
return;
case "boolean":
var c = a.toLowerCase().slice(0, 5);
if (c !== "data-" && c !== "aria-") {
l.removeAttribute(a);
return;
}
}
l.setAttribute(a, "" + u);
}
}
function Dd(l, a, u) {
if (u === null) l.removeAttribute(a);
else {
switch (typeof u) {
case "undefined":
case "function":
case "symbol":
case "boolean":
l.removeAttribute(a);
return;
}
l.setAttribute(a, "" + u);
}
}
function ti(l, a, u, c) {
if (c === null) l.removeAttribute(u);
else {
switch (typeof c) {
case "undefined":
case "function":
case "symbol":
case "boolean":
l.removeAttribute(u);
return;
}
l.setAttributeNS(a, u, "" + c);
}
}
function Ln(l) {
switch (typeof l) {
case "bigint":
case "boolean":
case "number":
case "string":
case "undefined":
return l;
case "object":
return l;
default:
return "";
}
}
function xd(l) {
var a = l.type;
return (l = l.nodeName) && l.toLowerCase() === "input" && (a === "checkbox" || a === "radio");
}
function np(l, a, u) {
var c = Object.getOwnPropertyDescriptor(
l.constructor.prototype,
a
);
if (!l.hasOwnProperty(a) && typeof c < "u" && typeof c.get == "function" && typeof c.set == "function") {
var d = c.get, m = c.set;
return Object.defineProperty(l, a, {
configurable: !0,
get: function() {
return d.call(this);
},
set: function(b) {
u = "" + b, m.call(this, b);
}
}), Object.defineProperty(l, a, {
enumerable: c.enumerable
}), {
getValue: function() {
return u;
},
setValue: function(b) {
u = "" + b;
},
stopTracking: function() {
l._valueTracker = null, delete l[a];
}
};
}
}
function zd(l) {
if (!l._valueTracker) {
var a = xd(l) ? "checked" : "value";
l._valueTracker = np(
l,
a,
"" + l[a]
);
}
}
function ap(l) {
if (!l) return !1;
var a = l._valueTracker;
if (!a) return !0;
var u = a.getValue(), c = "";
return l && (c = xd(l) ? l.checked ? "true" : "false" : l.value), l = c, l !== u ? (a.setValue(l), !0) : !1;
}
function Sf(l) {
if (l = l || (typeof document < "u" ? document : void 0), typeof l > "u") return null;
try {
return l.activeElement || l.body;
} catch {
return l.body;
}
}
var sb = /[\n"\\]/g;
function Yn(l) {
return l.replace(
sb,
function(a) {
return "\\" + a.charCodeAt(0).toString(16) + " ";
}
);
}
function Tf(l, a, u, c, d, m, b, C) {
l.name = "", b != null && typeof b != "function" && typeof b != "symbol" && typeof b != "boolean" ? l.type = b : l.removeAttribute("type"), a != null ? b === "number" ? (a === 0 && l.value === "" || l.value != a) && (l.value = "" + Ln(a)) : l.value !== "" + Ln(a) && (l.value = "" + Ln(a)) : b !== "submit" && b !== "reset" || l.removeAttribute("value"), a != null ? Ro(l, b, Ln(a)) : u != null ? Ro(l, b, Ln(u)) : c != null && l.removeAttribute("value"), d == null && m != null && (l.defaultChecked = !!m), d != null && (l.checked = d && typeof d != "function" && typeof d != "symbol"), C != null && typeof C != "function" && typeof C != "symbol" && typeof C != "boolean" ? l.name = "" + Ln(C) : l.removeAttribute("name");
}
function Ef(l, a, u, c, d, m, b, C) {
if (m != null && typeof m != "function" && typeof m != "symbol" && typeof m != "boolean" && (l.type = m), a != null || u != null) {
if (!(m !== "submit" && m !== "reset" || a != null)) {
zd(l);
return;
}
u = u != null ? "" + Ln(u) : "", a = a != null ? "" + Ln(a) : u, C || a === l.value || (l.value = a), l.defaultValue = a;
}
c = c ?? d, c = typeof c != "function" && typeof c != "symbol" && !!c, l.checked = C ? l.checked : !!c, l.defaultChecked = !!c, b != null && typeof b != "function" && typeof b != "symbol" && typeof b != "boolean" && (l.name = b), zd(l);
}
function Ro(l, a, u) {
a === "number" && Sf(l.ownerDocument) === l || l.defaultValue === "" + u || (l.defaultValue = "" + u);
}
function Vc(l, a, u, c) {
if (l = l.options, a) {
a = {};
for (var d = 0; d < u.length; d++)
a["$" + u[d]] = !0;
for (u = 0; u < l.length; u++)
d = a.hasOwnProperty("$" + l[u].value), l[u].selected !== d && (l[u].selected = d), d && c && (l[u].defaultSelected = !0);
} else {
for (u = "" + Ln(u), a = null, d = 0; d < l.length; d++) {
if (l[d].value === u) {
l[d].selected = !0, c && (l[d].defaultSelected = !0);
return;
}
a !== null || l[d].disabled || (a = l[d]);
}
a !== null && (a.selected = !0);
}
}
function up(l, a, u) {
if (a != null && (a = "" + Ln(a), a !== l.value && (l.value = a), u == null)) {
l.defaultValue !== a && (l.defaultValue = a);
return;
}
l.defaultValue = u != null ? "" + Ln(u) : "";
}
function ip(l, a, u, c) {
if (a == null) {
if (c != null) {
if (u != null) throw Error(h(92));
if (st(c)) {
if (1 < c.length) throw Error(h(93));
c = c[0];
}
u = c;
}
u == null && (u = ""), a = u;
}
u = Ln(a), l.defaultValue = u, c = l.textContent, c === u && c !== "" && c !== null && (l.value = c), zd(l);
}
function ru(l, a) {
if (a) {
var u = l.firstChild;
if (u && u === l.lastChild && u.nodeType === 3) {
u.nodeValue = a;
return;
}
}
l.textContent = a;
}
var vv = new Set(
"animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(
" "
)
);
function gv(l, a, u) {
var c = a.indexOf("--") === 0;
u == null || typeof u == "boolean" || u === "" ? c ? l.setProperty(a, "") : a === "float" ? l.cssFloat = "" : l[a] = "" : c ? l.setProperty(a, u) : typeof u != "number" || u === 0 || vv.has(a) ? a === "float" ? l.cssFloat = u : l[a] = ("" + u).trim() : l[a] = u + "px";
}
function bv(l, a, u) {
if (a != null && typeof a != "object")
throw Error(h(62));
if (l = l.style, u != null) {
for (var c in u)
!u.hasOwnProperty(c) || a != null && a.hasOwnProperty(c) || (c.indexOf("--") === 0 ? l.setProperty(c, "") : c === "float" ? l.cssFloat = "" : l[c] = "");
for (var d in a)
c = a[d], a.hasOwnProperty(d) && u[d] !== c && gv(l, d, c);
} else
for (var m in a)
a.hasOwnProperty(m) && gv(l, m, a[m]);
}
function op(l) {
if (l.indexOf("-") === -1) return !1;
switch (l) {
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 !1;
default:
return !0;
}
}
var fb = /* @__PURE__ */ new Map([
["acceptCharset", "accept-charset"],
["htmlFor", "for"],
["httpEquiv", "http-equiv"],
["crossOrigin", "crossorigin"],
["accentHeight", "accent-height"],
["alignmentBaseline", "alignment-baseline"],
["arabicForm", "arabic-form"],
["baselineShift", "baseline-shift"],
["capHeight", "cap-height"],
["clipPath", "clip-path"],
["clipRule", "clip-rule"],
["colorInterpolation", "color-interpolation"],
["colorInterpolationFilters", "color-interpolation-filters"],
["colorProfile", "color-profile"],
["colorRendering", "color-rendering"],
["dominantBaseline", "dominant-baseline"],
["enableBackground", "enable-background"],
["fillOpacity", "fill-opacity"],
["fillRule", "fill-rule"],
["floodColor", "flood-color"],
["floodOpacity", "flood-opacity"],
["fontFamily", "font-family"],
["fontSize", "font-size"],
["fontSizeAdjust", "font-size-adjust"],
["fontStretch", "font-stretch"],
["fontStyle", "font-style"],
["fontVariant", "font-variant"],
["fontWeight", "font-weight"],
["glyphName", "glyph-name"],
["glyphOrientationHorizontal", "glyph-orientation-horizontal"],
["glyphOrientationVertical", "glyph-orientation-vertical"],
["horizAdvX", "horiz-adv-x"],
["horizOriginX", "horiz-origin-x"],
["imageRendering", "image-rendering"],
["letterSpacing", "letter-spacing"],
["lightingColor", "lighting-color"],
["markerEnd", "marker-end"],
["markerMid", "marker-mid"],
["markerStart", "marker-start"],
["overlinePosition", "overline-position"],
["overlineThickness", "overline-thickness"],
["paintOrder", "paint-order"],
["panose-1", "panose-1"],
["pointerEvents", "pointer-events"],
["renderingIntent", "rendering-intent"],
["shapeRendering", "shape-rendering"],
["stopColor", "stop-color"],
["stopOpacity", "stop-opacity"],
["strikethroughPosition", "strikethrough-position"],
["strikethroughThickness", "strikethrough-thickness"],
["strokeDasharray", "stroke-dasharray"],
["strokeDashoffset", "stroke-dashoffset"],
["strokeLinecap", "stroke-linecap"],
["strokeLinejoin", "stroke-linejoin"],
["strokeMiterlimit", "stroke-miterlimit"],
["strokeOpacity", "stroke-opacity"],
["strokeWidth", "stroke-width"],
["textAnchor", "text-anchor"],
["textDecoration", "text-decoration"],
["textRendering", "text-rendering"],
["transformOrigin", "transform-origin"],
["underlinePosition", "underline-position"],
["underlineThickness", "underline-thickness"],
["unicodeBidi", "unicode-bidi"],
["unicodeRange", "unicode-range"],
["unitsPerEm", "units-per-em"],
["vAlphabetic", "v-alphabetic"],
["vHanging", "v-hanging"],
["vIdeographic", "v-ideographic"],
["vMathematical", "v-mathematical"],
["vectorEffect", "vector-effect"],
["vertAdvY", "vert-adv-y"],
["vertOriginX", "vert-origin-x"],
["vertOriginY", "vert-origin-y"],
["wordSpacing", "word-spacing"],
["writingMode", "writing-mode"],
["xmlnsXlink", "xmlns:xlink"],
["xHeight", "x-height"]
]), Af = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;
function ma(l) {
return Af.test("" + l) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : l;
}
function Ha() {
}
var Cd = null;
function Od(l) {
return l = l.target || l.srcElement || window, l.correspondingUseElement && (l = l.correspondingUseElement), l.nodeType === 3 ? l.parentNode : l;
}
var du = null, _o = null;
function Df(l) {
var a = Co(l);
if (a && (l = a.stateNode)) {
var u = l[cn] || null;
e: switch (l = a.stateNode, a.type) {
case "input":
if (Tf(
l,
u.value,
u.defaultValue,
u.defaultValue,
u.checked,
u.defaultChecked,
u.type,
u.name
), a = u.name, u.type === "radio" && a != null) {
for (u = l; u.parentNode; ) u = u.parentNode;
for (u = u.querySelectorAll(
'input[name="' + Yn(
"" + a
) + '"][type="radio"]'
), a = 0; a < u.length; a++) {
var c = u[a];
if (c !== l && c.form === l.form) {
var d = c[cn] || null;
if (!d) throw Error(h(90));
Tf(
c,
d.value,
d.defaultValue,
d.defaultValue,
d.checked,
d.defaultChecked,
d.type,
d.name
);
}
}
for (a = 0; a < u.length; a++)
c = u[a], c.form === l.form && ap(c);
}
break e;
case "textarea":
up(l, u.value, u.defaultValue);
break e;
case "select":
a = u.value, a != null && Vc(l, !!u.multiple, a, !1);
}
}
}
var Xc = !1;
function cp(l, a, u) {
if (Xc) return l(a, u);
Xc = !0;
try {
var c = l(a);
return c;
} finally {
if (Xc = !1, (du !== null || _o !== null) && (xs(), du && (a = du, l = _o, _o = du = null, Df(a), l)))
for (a = 0; a < l.length; a++) Df(l[a]);
}
}
function Ol(l, a) {
var u = l.stateNode;
if (u === null) return null;
var c = u[cn] || null;
if (c === null) return null;
u = c[a];
e: switch (a) {
case "onClick":
case "onClickCapture":
case "onDoubleClick":
case "onDoubleClickCapture":
case "onMouseDown":
case "onMouseDownCapture":
case "onMouseMove":
case "onMouseMoveCapture":
case "onMouseUp":
case "onMouseUpCapture":
case "onMouseEnter":
(c = !c.disabled) || (l = l.type, c = !(l === "button" || l === "input" || l === "select" || l === "textarea")), l = !c;
break e;
default:
l = !1;
}
if (l) return null;
if (u && typeof u != "function")
throw Error(
h(231, a, typeof u)
);
return u;
}
var li = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), xf = !1;
if (li)
try {
var Qc = {};
Object.defineProperty(Qc, "passive", {
get: function() {
xf = !0;
}
}), window.addEventListener("test", Qc, Qc), window.removeEventListener("test", Qc, Qc);
} catch {
xf = !1;
}
var ni = null, sp = null, Md = null;
function fp() {
if (Md) return Md;
var l, a = sp, u = a.length, c, d = "value" in ni ? ni.value : ni.textContent, m = d.length;
for (l = 0; l < u && a[l] === d[l]; l++) ;
var b = u - l;
for (c = 1; c <= b && a[u - c] === d[m - c]; c++) ;
return Md = d.slice(l, 1 < c ? 1 - c : void 0);
}
function Rd(l) {
var a = l.keyCode;
return "charCode" in l ? (l = l.charCode, l === 0 && a === 13 && (l = 13)) : l = a, l === 10 && (l = 13), 32 <= l || l === 13 ? l : 0;
}
function zf() {
return !0;
}
function Sv() {
return !1;
}
function Zl(l) {
function a(u, c, d, m, b) {
this._reactName = u, this._targetInst = d, this.type = c, this.nativeEvent = m, this.target = b, this.currentTarget = null;
for (var C in l)
l.hasOwnProperty(C) && (u = l[C], this[C] = u ? u(m) : m[C]);
return this.isDefaultPrevented = (m.defaultPrevented != null ? m.defaultPrevented : m.returnValue === !1) ? zf : Sv, this.isPropagationStopped = Sv, this;
}
return R(a.prototype, {
preventDefault: function() {
this.defaultPrevented = !0;
var u = this.nativeEvent;
u && (u.preventDefault ? u.preventDefault() : typeof u.returnValue != "unknown" && (u.returnValue = !1), this.isDefaultPrevented = zf);
},
stopPropagation: function() {
var u = this.nativeEvent;
u && (u.stopPropagation ? u.stopPropagation() : typeof u.cancelBubble != "unknown" && (u.cancelBubble = !0), this.isPropagationStopped = zf);
},
persist: function() {
},
isPersistent: zf
}), a;
}
var qi = {