dayschedule-widget
Version:
Appointment scheduling widget to embed the booking calendar on your website for 1:1, round-robin and group bookings with Google meet, Zoom and MS Teams integrations
1,423 lines (1,422 loc) • 1.17 MB
JavaScript
var XS = Object.defineProperty;
var qS = (e, r, t) => r in e ? XS(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
var De = (e, r, t) => qS(e, typeof r != "symbol" ? r + "" : r, t);
function QS(e, r) {
for (var t = 0; t < r.length; t++) {
const o = r[t];
if (typeof o != "string" && !Array.isArray(o)) {
for (const s in o)
if (s !== "default" && !(s in e)) {
const i = Object.getOwnPropertyDescriptor(o, s);
i && Object.defineProperty(e, s, i.get ? i : {
enumerable: !0,
get: () => o[s]
});
}
}
}
return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
}
function zh(e) {
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
}
var hp = { exports: {} }, ot = {};
var c0;
function JS() {
if (c0) return ot;
c0 = 1;
var e = Symbol.for("react.element"), r = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), u = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), h = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), b = Symbol.iterator;
function k(F) {
return F === null || typeof F != "object" ? null : (F = b && F[b] || F["@@iterator"], typeof F == "function" ? F : null);
}
var S = { isMounted: function() {
return !1;
}, enqueueForceUpdate: function() {
}, enqueueReplaceState: function() {
}, enqueueSetState: function() {
} }, _ = Object.assign, E = {};
function j(F, $, se) {
this.props = F, this.context = $, this.refs = E, this.updater = se || S;
}
j.prototype.isReactComponent = {}, j.prototype.setState = function(F, $) {
if (typeof F != "object" && typeof F != "function" && F != null) throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
this.updater.enqueueSetState(this, F, $, "setState");
}, j.prototype.forceUpdate = function(F) {
this.updater.enqueueForceUpdate(this, F, "forceUpdate");
};
function T() {
}
T.prototype = j.prototype;
function D(F, $, se) {
this.props = F, this.context = $, this.refs = E, this.updater = se || S;
}
var I = D.prototype = new T();
I.constructor = D, _(I, j.prototype), I.isPureReactComponent = !0;
var O = Array.isArray, G = Object.prototype.hasOwnProperty, W = { current: null }, V = { key: !0, ref: !0, __self: !0, __source: !0 };
function J(F, $, se) {
var pe, K = {}, ce = null, U = null;
if ($ != null) for (pe in $.ref !== void 0 && (U = $.ref), $.key !== void 0 && (ce = "" + $.key), $) G.call($, pe) && !V.hasOwnProperty(pe) && (K[pe] = $[pe]);
var ge = arguments.length - 2;
if (ge === 1) K.children = se;
else if (1 < ge) {
for (var ve = Array(ge), je = 0; je < ge; je++) ve[je] = arguments[je + 2];
K.children = ve;
}
if (F && F.defaultProps) for (pe in ge = F.defaultProps, ge) K[pe] === void 0 && (K[pe] = ge[pe]);
return { $$typeof: e, type: F, key: ce, ref: U, props: K, _owner: W.current };
}
function oe(F, $) {
return { $$typeof: e, type: F.type, key: $, ref: F.ref, props: F.props, _owner: F._owner };
}
function le(F) {
return typeof F == "object" && F !== null && F.$$typeof === e;
}
function we(F) {
var $ = { "=": "=0", ":": "=2" };
return "$" + F.replace(/[=:]/g, function(se) {
return $[se];
});
}
var fe = /\/+/g;
function ye(F, $) {
return typeof F == "object" && F !== null && F.key != null ? we("" + F.key) : $.toString(36);
}
function de(F, $, se, pe, K) {
var ce = typeof F;
(ce === "undefined" || ce === "boolean") && (F = null);
var U = !1;
if (F === null) U = !0;
else switch (ce) {
case "string":
case "number":
U = !0;
break;
case "object":
switch (F.$$typeof) {
case e:
case r:
U = !0;
}
}
if (U) return U = F, K = K(U), F = pe === "" ? "." + ye(U, 0) : pe, O(K) ? (se = "", F != null && (se = F.replace(fe, "$&/") + "/"), de(K, $, se, "", function(je) {
return je;
})) : K != null && (le(K) && (K = oe(K, se + (!K.key || U && U.key === K.key ? "" : ("" + K.key).replace(fe, "$&/") + "/") + F)), $.push(K)), 1;
if (U = 0, pe = pe === "" ? "." : pe + ":", O(F)) for (var ge = 0; ge < F.length; ge++) {
ce = F[ge];
var ve = pe + ye(ce, ge);
U += de(ce, $, se, ve, K);
}
else if (ve = k(F), typeof ve == "function") for (F = ve.call(F), ge = 0; !(ce = F.next()).done; ) ce = ce.value, ve = pe + ye(ce, ge++), U += de(ce, $, se, ve, K);
else if (ce === "object") throw $ = String(F), Error("Objects are not valid as a React child (found: " + ($ === "[object Object]" ? "object with keys {" + Object.keys(F).join(", ") + "}" : $) + "). If you meant to render a collection of children, use an array instead.");
return U;
}
function Ce(F, $, se) {
if (F == null) return F;
var pe = [], K = 0;
return de(F, pe, "", "", function(ce) {
return $.call(se, ce, K++);
}), pe;
}
function ue(F) {
if (F._status === -1) {
var $ = F._result;
$ = $(), $.then(function(se) {
(F._status === 0 || F._status === -1) && (F._status = 1, F._result = se);
}, function(se) {
(F._status === 0 || F._status === -1) && (F._status = 2, F._result = se);
}), F._status === -1 && (F._status = 0, F._result = $);
}
if (F._status === 1) return F._result.default;
throw F._result;
}
var ae = { current: null }, B = { transition: null }, Z = { ReactCurrentDispatcher: ae, ReactCurrentBatchConfig: B, ReactCurrentOwner: W };
function ie() {
throw Error("act(...) is not supported in production builds of React.");
}
return ot.Children = { map: Ce, forEach: function(F, $, se) {
Ce(F, function() {
$.apply(this, arguments);
}, se);
}, count: function(F) {
var $ = 0;
return Ce(F, function() {
$++;
}), $;
}, toArray: function(F) {
return Ce(F, function($) {
return $;
}) || [];
}, only: function(F) {
if (!le(F)) throw Error("React.Children.only expected to receive a single React element child.");
return F;
} }, ot.Component = j, ot.Fragment = t, ot.Profiler = s, ot.PureComponent = D, ot.StrictMode = o, ot.Suspense = p, ot.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Z, ot.act = ie, ot.cloneElement = function(F, $, se) {
if (F == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + F + ".");
var pe = _({}, F.props), K = F.key, ce = F.ref, U = F._owner;
if ($ != null) {
if ($.ref !== void 0 && (ce = $.ref, U = W.current), $.key !== void 0 && (K = "" + $.key), F.type && F.type.defaultProps) var ge = F.type.defaultProps;
for (ve in $) G.call($, ve) && !V.hasOwnProperty(ve) && (pe[ve] = $[ve] === void 0 && ge !== void 0 ? ge[ve] : $[ve]);
}
var ve = arguments.length - 2;
if (ve === 1) pe.children = se;
else if (1 < ve) {
ge = Array(ve);
for (var je = 0; je < ve; je++) ge[je] = arguments[je + 2];
pe.children = ge;
}
return { $$typeof: e, type: F.type, key: K, ref: ce, props: pe, _owner: U };
}, ot.createContext = function(F) {
return F = { $$typeof: u, _currentValue: F, _currentValue2: F, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, F.Provider = { $$typeof: i, _context: F }, F.Consumer = F;
}, ot.createElement = J, ot.createFactory = function(F) {
var $ = J.bind(null, F);
return $.type = F, $;
}, ot.createRef = function() {
return { current: null };
}, ot.forwardRef = function(F) {
return { $$typeof: f, render: F };
}, ot.isValidElement = le, ot.lazy = function(F) {
return { $$typeof: v, _payload: { _status: -1, _result: F }, _init: ue };
}, ot.memo = function(F, $) {
return { $$typeof: h, type: F, compare: $ === void 0 ? null : $ };
}, ot.startTransition = function(F) {
var $ = B.transition;
B.transition = {};
try {
F();
} finally {
B.transition = $;
}
}, ot.unstable_act = ie, ot.useCallback = function(F, $) {
return ae.current.useCallback(F, $);
}, ot.useContext = function(F) {
return ae.current.useContext(F);
}, ot.useDebugValue = function() {
}, ot.useDeferredValue = function(F) {
return ae.current.useDeferredValue(F);
}, ot.useEffect = function(F, $) {
return ae.current.useEffect(F, $);
}, ot.useId = function() {
return ae.current.useId();
}, ot.useImperativeHandle = function(F, $, se) {
return ae.current.useImperativeHandle(F, $, se);
}, ot.useInsertionEffect = function(F, $) {
return ae.current.useInsertionEffect(F, $);
}, ot.useLayoutEffect = function(F, $) {
return ae.current.useLayoutEffect(F, $);
}, ot.useMemo = function(F, $) {
return ae.current.useMemo(F, $);
}, ot.useReducer = function(F, $, se) {
return ae.current.useReducer(F, $, se);
}, ot.useRef = function(F) {
return ae.current.useRef(F);
}, ot.useState = function(F) {
return ae.current.useState(F);
}, ot.useSyncExternalStore = function(F, $, se) {
return ae.current.useSyncExternalStore(F, $, se);
}, ot.useTransition = function() {
return ae.current.useTransition();
}, ot.version = "18.3.1", ot;
}
var u0;
function ec() {
return u0 || (u0 = 1, hp.exports = JS()), hp.exports;
}
var g = ec();
const Ht = /* @__PURE__ */ zh(g), e_ = /* @__PURE__ */ QS({
__proto__: null,
default: Ht
}, [g]);
var ku = {}, mp = { exports: {} }, zr = {}, gp = { exports: {} }, vp = {};
var d0;
function t_() {
return d0 || (d0 = 1, function(e) {
function r(B, Z) {
var ie = B.length;
B.push(Z);
e: for (; 0 < ie; ) {
var F = ie - 1 >>> 1, $ = B[F];
if (0 < s($, Z)) B[F] = Z, B[ie] = $, ie = F;
else break e;
}
}
function t(B) {
return B.length === 0 ? null : B[0];
}
function o(B) {
if (B.length === 0) return null;
var Z = B[0], ie = B.pop();
if (ie !== Z) {
B[0] = ie;
e: for (var F = 0, $ = B.length, se = $ >>> 1; F < se; ) {
var pe = 2 * (F + 1) - 1, K = B[pe], ce = pe + 1, U = B[ce];
if (0 > s(K, ie)) ce < $ && 0 > s(U, K) ? (B[F] = U, B[ce] = ie, F = ce) : (B[F] = K, B[pe] = ie, F = pe);
else if (ce < $ && 0 > s(U, ie)) B[F] = U, B[ce] = ie, F = ce;
else break e;
}
}
return Z;
}
function s(B, Z) {
var ie = B.sortIndex - Z.sortIndex;
return ie !== 0 ? ie : B.id - Z.id;
}
if (typeof performance == "object" && typeof performance.now == "function") {
var i = performance;
e.unstable_now = function() {
return i.now();
};
} else {
var u = Date, f = u.now();
e.unstable_now = function() {
return u.now() - f;
};
}
var p = [], h = [], v = 1, b = null, k = 3, S = !1, _ = !1, E = !1, j = typeof setTimeout == "function" ? setTimeout : null, T = typeof clearTimeout == "function" ? clearTimeout : null, D = typeof setImmediate < "u" ? setImmediate : null;
typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling);
function I(B) {
for (var Z = t(h); Z !== null; ) {
if (Z.callback === null) o(h);
else if (Z.startTime <= B) o(h), Z.sortIndex = Z.expirationTime, r(p, Z);
else break;
Z = t(h);
}
}
function O(B) {
if (E = !1, I(B), !_) if (t(p) !== null) _ = !0, ue(G);
else {
var Z = t(h);
Z !== null && ae(O, Z.startTime - B);
}
}
function G(B, Z) {
_ = !1, E && (E = !1, T(J), J = -1), S = !0;
var ie = k;
try {
for (I(Z), b = t(p); b !== null && (!(b.expirationTime > Z) || B && !we()); ) {
var F = b.callback;
if (typeof F == "function") {
b.callback = null, k = b.priorityLevel;
var $ = F(b.expirationTime <= Z);
Z = e.unstable_now(), typeof $ == "function" ? b.callback = $ : b === t(p) && o(p), I(Z);
} else o(p);
b = t(p);
}
if (b !== null) var se = !0;
else {
var pe = t(h);
pe !== null && ae(O, pe.startTime - Z), se = !1;
}
return se;
} finally {
b = null, k = ie, S = !1;
}
}
var W = !1, V = null, J = -1, oe = 5, le = -1;
function we() {
return !(e.unstable_now() - le < oe);
}
function fe() {
if (V !== null) {
var B = e.unstable_now();
le = B;
var Z = !0;
try {
Z = V(!0, B);
} finally {
Z ? ye() : (W = !1, V = null);
}
} else W = !1;
}
var ye;
if (typeof D == "function") ye = function() {
D(fe);
};
else if (typeof MessageChannel < "u") {
var de = new MessageChannel(), Ce = de.port2;
de.port1.onmessage = fe, ye = function() {
Ce.postMessage(null);
};
} else ye = function() {
j(fe, 0);
};
function ue(B) {
V = B, W || (W = !0, ye());
}
function ae(B, Z) {
J = j(function() {
B(e.unstable_now());
}, Z);
}
e.unstable_IdlePriority = 5, e.unstable_ImmediatePriority = 1, e.unstable_LowPriority = 4, e.unstable_NormalPriority = 3, e.unstable_Profiling = null, e.unstable_UserBlockingPriority = 2, e.unstable_cancelCallback = function(B) {
B.callback = null;
}, e.unstable_continueExecution = function() {
_ || S || (_ = !0, ue(G));
}, e.unstable_forceFrameRate = function(B) {
0 > B || 125 < B ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : oe = 0 < B ? Math.floor(1e3 / B) : 5;
}, e.unstable_getCurrentPriorityLevel = function() {
return k;
}, e.unstable_getFirstCallbackNode = function() {
return t(p);
}, e.unstable_next = function(B) {
switch (k) {
case 1:
case 2:
case 3:
var Z = 3;
break;
default:
Z = k;
}
var ie = k;
k = Z;
try {
return B();
} finally {
k = ie;
}
}, e.unstable_pauseExecution = function() {
}, e.unstable_requestPaint = function() {
}, e.unstable_runWithPriority = function(B, Z) {
switch (B) {
case 1:
case 2:
case 3:
case 4:
case 5:
break;
default:
B = 3;
}
var ie = k;
k = B;
try {
return Z();
} finally {
k = ie;
}
}, e.unstable_scheduleCallback = function(B, Z, ie) {
var F = e.unstable_now();
switch (typeof ie == "object" && ie !== null ? (ie = ie.delay, ie = typeof ie == "number" && 0 < ie ? F + ie : F) : ie = F, B) {
case 1:
var $ = -1;
break;
case 2:
$ = 250;
break;
case 5:
$ = 1073741823;
break;
case 4:
$ = 1e4;
break;
default:
$ = 5e3;
}
return $ = ie + $, B = { id: v++, callback: Z, priorityLevel: B, startTime: ie, expirationTime: $, sortIndex: -1 }, ie > F ? (B.sortIndex = ie, r(h, B), t(p) === null && B === t(h) && (E ? (T(J), J = -1) : E = !0, ae(O, ie - F))) : (B.sortIndex = $, r(p, B), _ || S || (_ = !0, ue(G))), B;
}, e.unstable_shouldYield = we, e.unstable_wrapCallback = function(B) {
var Z = k;
return function() {
var ie = k;
k = Z;
try {
return B.apply(this, arguments);
} finally {
k = ie;
}
};
};
}(vp)), vp;
}
var f0;
function r_() {
return f0 || (f0 = 1, gp.exports = t_()), gp.exports;
}
var p0;
function n_() {
if (p0) return zr;
p0 = 1;
var e = ec(), r = r_();
function t(n) {
for (var a = "https://reactjs.org/docs/error-decoder.html?invariant=" + n, l = 1; l < arguments.length; l++) a += "&args[]=" + encodeURIComponent(arguments[l]);
return "Minified React error #" + n + "; visit " + a + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
}
var o = /* @__PURE__ */ new Set(), s = {};
function i(n, a) {
u(n, a), u(n + "Capture", a);
}
function u(n, a) {
for (s[n] = a, n = 0; n < a.length; n++) o.add(a[n]);
}
var f = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), p = Object.prototype.hasOwnProperty, h = /^[: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]*$/, v = {}, b = {};
function k(n) {
return p.call(b, n) ? !0 : p.call(v, n) ? !1 : h.test(n) ? b[n] = !0 : (v[n] = !0, !1);
}
function S(n, a, l, d) {
if (l !== null && l.type === 0) return !1;
switch (typeof a) {
case "function":
case "symbol":
return !0;
case "boolean":
return d ? !1 : l !== null ? !l.acceptsBooleans : (n = n.toLowerCase().slice(0, 5), n !== "data-" && n !== "aria-");
default:
return !1;
}
}
function _(n, a, l, d) {
if (a === null || typeof a > "u" || S(n, a, l, d)) return !0;
if (d) return !1;
if (l !== null) switch (l.type) {
case 3:
return !a;
case 4:
return a === !1;
case 5:
return isNaN(a);
case 6:
return isNaN(a) || 1 > a;
}
return !1;
}
function E(n, a, l, d, m, x, P) {
this.acceptsBooleans = a === 2 || a === 3 || a === 4, this.attributeName = d, this.attributeNamespace = m, this.mustUseProperty = l, this.propertyName = n, this.type = a, this.sanitizeURL = x, this.removeEmptyString = P;
}
var j = {};
"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n) {
j[n] = new E(n, 0, !1, n, null, !1, !1);
}), [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(n) {
var a = n[0];
j[a] = new E(a, 1, !1, n[1], null, !1, !1);
}), ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(n) {
j[n] = new E(n, 2, !1, n.toLowerCase(), null, !1, !1);
}), ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(n) {
j[n] = new E(n, 2, !1, n, null, !1, !1);
}), "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(n) {
j[n] = new E(n, 3, !1, n.toLowerCase(), null, !1, !1);
}), ["checked", "multiple", "muted", "selected"].forEach(function(n) {
j[n] = new E(n, 3, !0, n, null, !1, !1);
}), ["capture", "download"].forEach(function(n) {
j[n] = new E(n, 4, !1, n, null, !1, !1);
}), ["cols", "rows", "size", "span"].forEach(function(n) {
j[n] = new E(n, 6, !1, n, null, !1, !1);
}), ["rowSpan", "start"].forEach(function(n) {
j[n] = new E(n, 5, !1, n.toLowerCase(), null, !1, !1);
});
var T = /[\-:]([a-z])/g;
function D(n) {
return n[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(n) {
var a = n.replace(
T,
D
);
j[a] = new E(a, 1, !1, n, null, !1, !1);
}), "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n) {
var a = n.replace(T, D);
j[a] = new E(a, 1, !1, n, "http://www.w3.org/1999/xlink", !1, !1);
}), ["xml:base", "xml:lang", "xml:space"].forEach(function(n) {
var a = n.replace(T, D);
j[a] = new E(a, 1, !1, n, "http://www.w3.org/XML/1998/namespace", !1, !1);
}), ["tabIndex", "crossOrigin"].forEach(function(n) {
j[n] = new E(n, 1, !1, n.toLowerCase(), null, !1, !1);
}), j.xlinkHref = new E("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1), ["src", "href", "action", "formAction"].forEach(function(n) {
j[n] = new E(n, 1, !1, n.toLowerCase(), null, !0, !0);
});
function I(n, a, l, d) {
var m = j.hasOwnProperty(a) ? j[a] : null;
(m !== null ? m.type !== 0 : d || !(2 < a.length) || a[0] !== "o" && a[0] !== "O" || a[1] !== "n" && a[1] !== "N") && (_(a, l, m, d) && (l = null), d || m === null ? k(a) && (l === null ? n.removeAttribute(a) : n.setAttribute(a, "" + l)) : m.mustUseProperty ? n[m.propertyName] = l === null ? m.type === 3 ? !1 : "" : l : (a = m.attributeName, d = m.attributeNamespace, l === null ? n.removeAttribute(a) : (m = m.type, l = m === 3 || m === 4 && l === !0 ? "" : "" + l, d ? n.setAttributeNS(d, a, l) : n.setAttribute(a, l))));
}
var O = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, G = Symbol.for("react.element"), W = Symbol.for("react.portal"), V = Symbol.for("react.fragment"), J = Symbol.for("react.strict_mode"), oe = Symbol.for("react.profiler"), le = Symbol.for("react.provider"), we = Symbol.for("react.context"), fe = Symbol.for("react.forward_ref"), ye = Symbol.for("react.suspense"), de = Symbol.for("react.suspense_list"), Ce = Symbol.for("react.memo"), ue = Symbol.for("react.lazy"), ae = Symbol.for("react.offscreen"), B = Symbol.iterator;
function Z(n) {
return n === null || typeof n != "object" ? null : (n = B && n[B] || n["@@iterator"], typeof n == "function" ? n : null);
}
var ie = Object.assign, F;
function $(n) {
if (F === void 0) try {
throw Error();
} catch (l) {
var a = l.stack.trim().match(/\n( *(at )?)/);
F = a && a[1] || "";
}
return `
` + F + n;
}
var se = !1;
function pe(n, a) {
if (!n || se) return "";
se = !0;
var l = Error.prepareStackTrace;
Error.prepareStackTrace = void 0;
try {
if (a) if (a = function() {
throw Error();
}, Object.defineProperty(a.prototype, "props", { set: function() {
throw Error();
} }), typeof Reflect == "object" && Reflect.construct) {
try {
Reflect.construct(a, []);
} catch (ne) {
var d = ne;
}
Reflect.construct(n, [], a);
} else {
try {
a.call();
} catch (ne) {
d = ne;
}
n.call(a.prototype);
}
else {
try {
throw Error();
} catch (ne) {
d = ne;
}
n();
}
} catch (ne) {
if (ne && d && typeof ne.stack == "string") {
for (var m = ne.stack.split(`
`), x = d.stack.split(`
`), P = m.length - 1, L = x.length - 1; 1 <= P && 0 <= L && m[P] !== x[L]; ) L--;
for (; 1 <= P && 0 <= L; P--, L--) if (m[P] !== x[L]) {
if (P !== 1 || L !== 1)
do
if (P--, L--, 0 > L || m[P] !== x[L]) {
var H = `
` + m[P].replace(" at new ", " at ");
return n.displayName && H.includes("<anonymous>") && (H = H.replace("<anonymous>", n.displayName)), H;
}
while (1 <= P && 0 <= L);
break;
}
}
} finally {
se = !1, Error.prepareStackTrace = l;
}
return (n = n ? n.displayName || n.name : "") ? $(n) : "";
}
function K(n) {
switch (n.tag) {
case 5:
return $(n.type);
case 16:
return $("Lazy");
case 13:
return $("Suspense");
case 19:
return $("SuspenseList");
case 0:
case 2:
case 15:
return n = pe(n.type, !1), n;
case 11:
return n = pe(n.type.render, !1), n;
case 1:
return n = pe(n.type, !0), n;
default:
return "";
}
}
function ce(n) {
if (n == null) return null;
if (typeof n == "function") return n.displayName || n.name || null;
if (typeof n == "string") return n;
switch (n) {
case V:
return "Fragment";
case W:
return "Portal";
case oe:
return "Profiler";
case J:
return "StrictMode";
case ye:
return "Suspense";
case de:
return "SuspenseList";
}
if (typeof n == "object") switch (n.$$typeof) {
case we:
return (n.displayName || "Context") + ".Consumer";
case le:
return (n._context.displayName || "Context") + ".Provider";
case fe:
var a = n.render;
return n = n.displayName, n || (n = a.displayName || a.name || "", n = n !== "" ? "ForwardRef(" + n + ")" : "ForwardRef"), n;
case Ce:
return a = n.displayName || null, a !== null ? a : ce(n.type) || "Memo";
case ue:
a = n._payload, n = n._init;
try {
return ce(n(a));
} catch {
}
}
return null;
}
function U(n) {
var a = n.type;
switch (n.tag) {
case 24:
return "Cache";
case 9:
return (a.displayName || "Context") + ".Consumer";
case 10:
return (a._context.displayName || "Context") + ".Provider";
case 18:
return "DehydratedFragment";
case 11:
return n = a.render, n = n.displayName || n.name || "", a.displayName || (n !== "" ? "ForwardRef(" + n + ")" : "ForwardRef");
case 7:
return "Fragment";
case 5:
return a;
case 4:
return "Portal";
case 3:
return "Root";
case 6:
return "Text";
case 16:
return ce(a);
case 8:
return a === J ? "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 (typeof a == "function") return a.displayName || a.name || null;
if (typeof a == "string") return a;
}
return null;
}
function ge(n) {
switch (typeof n) {
case "boolean":
case "number":
case "string":
case "undefined":
return n;
case "object":
return n;
default:
return "";
}
}
function ve(n) {
var a = n.type;
return (n = n.nodeName) && n.toLowerCase() === "input" && (a === "checkbox" || a === "radio");
}
function je(n) {
var a = ve(n) ? "checked" : "value", l = Object.getOwnPropertyDescriptor(n.constructor.prototype, a), d = "" + n[a];
if (!n.hasOwnProperty(a) && typeof l < "u" && typeof l.get == "function" && typeof l.set == "function") {
var m = l.get, x = l.set;
return Object.defineProperty(n, a, { configurable: !0, get: function() {
return m.call(this);
}, set: function(P) {
d = "" + P, x.call(this, P);
} }), Object.defineProperty(n, a, { enumerable: l.enumerable }), { getValue: function() {
return d;
}, setValue: function(P) {
d = "" + P;
}, stopTracking: function() {
n._valueTracker = null, delete n[a];
} };
}
}
function Ie(n) {
n._valueTracker || (n._valueTracker = je(n));
}
function Ye(n) {
if (!n) return !1;
var a = n._valueTracker;
if (!a) return !0;
var l = a.getValue(), d = "";
return n && (d = ve(n) ? n.checked ? "true" : "false" : n.value), n = d, n !== l ? (a.setValue(n), !0) : !1;
}
function tt(n) {
if (n = n || (typeof document < "u" ? document : void 0), typeof n > "u") return null;
try {
return n.activeElement || n.body;
} catch {
return n.body;
}
}
function pt(n, a) {
var l = a.checked;
return ie({}, a, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: l ?? n._wrapperState.initialChecked });
}
function Jt(n, a) {
var l = a.defaultValue == null ? "" : a.defaultValue, d = a.checked != null ? a.checked : a.defaultChecked;
l = ge(a.value != null ? a.value : l), n._wrapperState = { initialChecked: d, initialValue: l, controlled: a.type === "checkbox" || a.type === "radio" ? a.checked != null : a.value != null };
}
function Zt(n, a) {
a = a.checked, a != null && I(n, "checked", a, !1);
}
function Ur(n, a) {
Zt(n, a);
var l = ge(a.value), d = a.type;
if (l != null) d === "number" ? (l === 0 && n.value === "" || n.value != l) && (n.value = "" + l) : n.value !== "" + l && (n.value = "" + l);
else if (d === "submit" || d === "reset") {
n.removeAttribute("value");
return;
}
a.hasOwnProperty("value") ? ar(n, a.type, l) : a.hasOwnProperty("defaultValue") && ar(n, a.type, ge(a.defaultValue)), a.checked == null && a.defaultChecked != null && (n.defaultChecked = !!a.defaultChecked);
}
function yn(n, a, l) {
if (a.hasOwnProperty("value") || a.hasOwnProperty("defaultValue")) {
var d = a.type;
if (!(d !== "submit" && d !== "reset" || a.value !== void 0 && a.value !== null)) return;
a = "" + n._wrapperState.initialValue, l || a === n.value || (n.value = a), n.defaultValue = a;
}
l = n.name, l !== "" && (n.name = ""), n.defaultChecked = !!n._wrapperState.initialChecked, l !== "" && (n.name = l);
}
function ar(n, a, l) {
(a !== "number" || tt(n.ownerDocument) !== n) && (l == null ? n.defaultValue = "" + n._wrapperState.initialValue : n.defaultValue !== "" + l && (n.defaultValue = "" + l));
}
var nn = Array.isArray;
function wn(n, a, l, d) {
if (n = n.options, a) {
a = {};
for (var m = 0; m < l.length; m++) a["$" + l[m]] = !0;
for (l = 0; l < n.length; l++) m = a.hasOwnProperty("$" + n[l].value), n[l].selected !== m && (n[l].selected = m), m && d && (n[l].defaultSelected = !0);
} else {
for (l = "" + ge(l), a = null, m = 0; m < n.length; m++) {
if (n[m].value === l) {
n[m].selected = !0, d && (n[m].defaultSelected = !0);
return;
}
a !== null || n[m].disabled || (a = n[m]);
}
a !== null && (a.selected = !0);
}
}
function Sr(n, a) {
if (a.dangerouslySetInnerHTML != null) throw Error(t(91));
return ie({}, a, { value: void 0, defaultValue: void 0, children: "" + n._wrapperState.initialValue });
}
function Gt(n, a) {
var l = a.value;
if (l == null) {
if (l = a.children, a = a.defaultValue, l != null) {
if (a != null) throw Error(t(92));
if (nn(l)) {
if (1 < l.length) throw Error(t(93));
l = l[0];
}
a = l;
}
a == null && (a = ""), l = a;
}
n._wrapperState = { initialValue: ge(l) };
}
function La(n, a) {
var l = ge(a.value), d = ge(a.defaultValue);
l != null && (l = "" + l, l !== n.value && (n.value = l), a.defaultValue == null && n.defaultValue !== l && (n.defaultValue = l)), d != null && (n.defaultValue = "" + d);
}
function Fa(n) {
var a = n.textContent;
a === n._wrapperState.initialValue && a !== "" && a !== null && (n.value = a);
}
function $a(n) {
switch (n) {
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 ea(n, a) {
return n == null || n === "http://www.w3.org/1999/xhtml" ? $a(a) : n === "http://www.w3.org/2000/svg" && a === "foreignObject" ? "http://www.w3.org/1999/xhtml" : n;
}
var xn, Ba = function(n) {
return typeof MSApp < "u" && MSApp.execUnsafeLocalFunction ? function(a, l, d, m) {
MSApp.execUnsafeLocalFunction(function() {
return n(a, l, d, m);
});
} : n;
}(function(n, a) {
if (n.namespaceURI !== "http://www.w3.org/2000/svg" || "innerHTML" in n) n.innerHTML = a;
else {
for (xn = xn || document.createElement("div"), xn.innerHTML = "<svg>" + a.valueOf().toString() + "</svg>", a = xn.firstChild; n.firstChild; ) n.removeChild(n.firstChild);
for (; a.firstChild; ) n.appendChild(a.firstChild);
}
});
function Hn(n, a) {
if (a) {
var l = n.firstChild;
if (l && l === n.lastChild && l.nodeType === 3) {
l.nodeValue = a;
return;
}
}
n.textContent = a;
}
var xo = {
animationIterationCount: !0,
aspectRatio: !0,
borderImageOutset: !0,
borderImageSlice: !0,
borderImageWidth: !0,
boxFlex: !0,
boxFlexGroup: !0,
boxOrdinalGroup: !0,
columnCount: !0,
columns: !0,
flex: !0,
flexGrow: !0,
flexPositive: !0,
flexShrink: !0,
flexNegative: !0,
flexOrder: !0,
gridArea: !0,
gridRow: !0,
gridRowEnd: !0,
gridRowSpan: !0,
gridRowStart: !0,
gridColumn: !0,
gridColumnEnd: !0,
gridColumnSpan: !0,
gridColumnStart: !0,
fontWeight: !0,
lineClamp: !0,
lineHeight: !0,
opacity: !0,
order: !0,
orphans: !0,
tabSize: !0,
widows: !0,
zIndex: !0,
zoom: !0,
fillOpacity: !0,
floodOpacity: !0,
stopOpacity: !0,
strokeDasharray: !0,
strokeDashoffset: !0,
strokeMiterlimit: !0,
strokeOpacity: !0,
strokeWidth: !0
}, Wa = ["Webkit", "ms", "Moz", "O"];
Object.keys(xo).forEach(function(n) {
Wa.forEach(function(a) {
a = a + n.charAt(0).toUpperCase() + n.substring(1), xo[a] = xo[n];
});
});
function bo(n, a, l) {
return a == null || typeof a == "boolean" || a === "" ? "" : l || typeof a != "number" || a === 0 || xo.hasOwnProperty(n) && xo[n] ? ("" + a).trim() : a + "px";
}
function Fs(n, a) {
n = n.style;
for (var l in a) if (a.hasOwnProperty(l)) {
var d = l.indexOf("--") === 0, m = bo(l, a[l], d);
l === "float" && (l = "cssFloat"), d ? n.setProperty(l, m) : n[l] = m;
}
}
var Xi = ie({ menuitem: !0 }, { area: !0, base: !0, br: !0, col: !0, embed: !0, hr: !0, img: !0, input: !0, keygen: !0, link: !0, meta: !0, param: !0, source: !0, track: !0, wbr: !0 });
function Ua(n, a) {
if (a) {
if (Xi[n] && (a.children != null || a.dangerouslySetInnerHTML != null)) throw Error(t(137, n));
if (a.dangerouslySetInnerHTML != null) {
if (a.children != null) throw Error(t(60));
if (typeof a.dangerouslySetInnerHTML != "object" || !("__html" in a.dangerouslySetInnerHTML)) throw Error(t(61));
}
if (a.style != null && typeof a.style != "object") throw Error(t(62));
}
}
function Ha(n, a) {
if (n.indexOf("-") === -1) return typeof a.is == "string";
switch (n) {
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 Va = null;
function sr(n) {
return n = n.target || n.srcElement || window, n.correspondingUseElement && (n = n.correspondingUseElement), n.nodeType === 3 ? n.parentNode : n;
}
var ko = null, Hr = null, st = null;
function Vn(n) {
if (n = pl(n)) {
if (typeof ko != "function") throw Error(t(280));
var a = n.stateNode;
a && (a = Oc(a), ko(n.stateNode, n.type, a));
}
}
function So(n) {
Hr ? st ? st.push(n) : st = [n] : Hr = n;
}
function Yn() {
if (Hr) {
var n = Hr, a = st;
if (st = Hr = null, Vn(n), a) for (n = 0; n < a.length; n++) Vn(a[n]);
}
}
function Vr(n, a) {
return n(a);
}
function _o() {
}
var Yr = !1;
function Ya(n, a, l) {
if (Yr) return n(a, l);
Yr = !0;
try {
return Vr(n, a, l);
} finally {
Yr = !1, (Hr !== null || st !== null) && (_o(), Yn());
}
}
function bn(n, a) {
var l = n.stateNode;
if (l === null) return null;
var d = Oc(l);
if (d === null) return null;
l = d[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":
(d = !d.disabled) || (n = n.type, d = !(n === "button" || n === "input" || n === "select" || n === "textarea")), n = !d;
break e;
default:
n = !1;
}
if (n) return null;
if (l && typeof l != "function") throw Error(t(231, a, typeof l));
return l;
}
var Co = !1;
if (f) try {
var Zn = {};
Object.defineProperty(Zn, "passive", { get: function() {
Co = !0;
} }), window.addEventListener("test", Zn, Zn), window.removeEventListener("test", Zn, Zn);
} catch {
Co = !1;
}
function $s(n, a, l, d, m, x, P, L, H) {
var ne = Array.prototype.slice.call(arguments, 3);
try {
a.apply(l, ne);
} catch (ke) {
this.onError(ke);
}
}
var Gn = !1, ta = null, ra = !1, Kn = null, Bs = { onError: function(n) {
Gn = !0, ta = n;
} };
function na(n, a, l, d, m, x, P, L, H) {
Gn = !1, ta = null, $s.apply(Bs, arguments);
}
function Za(n, a, l, d, m, x, P, L, H) {
if (na.apply(this, arguments), Gn) {
if (Gn) {
var ne = ta;
Gn = !1, ta = null;
} else throw Error(t(198));
ra || (ra = !0, Kn = ne);
}
}
function kn(n) {
var a = n, l = n;
if (n.alternate) for (; a.return; ) a = a.return;
else {
n = a;
do
a = n, (a.flags & 4098) !== 0 && (l = a.return), n = a.return;
while (n);
}
return a.tag === 3 ? l : null;
}
function Xn(n) {
if (n.tag === 13) {
var a = n.memoizedState;
if (a === null && (n = n.alternate, n !== null && (a = n.memoizedState)), a !== null) return a.dehydrated;
}
return null;
}
function Ws(n) {
if (kn(n) !== n) throw Error(t(188));
}
function Ga(n) {
var a = n.alternate;
if (!a) {
if (a = kn(n), a === null) throw Error(t(188));
return a !== n ? null : n;
}
for (var l = n, d = a; ; ) {
var m = l.return;
if (m === null) break;
var x = m.alternate;
if (x === null) {
if (d = m.return, d !== null) {
l = d;
continue;
}
break;
}
if (m.child === x.child) {
for (x = m.child; x; ) {
if (x === l) return Ws(m), n;
if (x === d) return Ws(m), a;
x = x.sibling;
}
throw Error(t(188));
}
if (l.return !== d.return) l = m, d = x;
else {
for (var P = !1, L = m.child; L; ) {
if (L === l) {
P = !0, l = m, d = x;
break;
}
if (L === d) {
P = !0, d = m, l = x;
break;
}
L = L.sibling;
}
if (!P) {
for (L = x.child; L; ) {
if (L === l) {
P = !0, l = x, d = m;
break;
}
if (L === d) {
P = !0, d = x, l = m;
break;
}
L = L.sibling;
}
if (!P) throw Error(t(189));
}
}
if (l.alternate !== d) throw Error(t(190));
}
if (l.tag !== 3) throw Error(t(188));
return l.stateNode.current === l ? n : a;
}
function No(n) {
return n = Ga(n), n !== null ? qn(n) : null;
}
function qn(n) {
if (n.tag === 5 || n.tag === 6) return n;
for (n = n.child; n !== null; ) {
var a = qn(n);
if (a !== null) return a;
n = n.sibling;
}
return null;
}
var Eo = r.unstable_scheduleCallback, Ka = r.unstable_cancelCallback, Us = r.unstable_shouldYield, Hs = r.unstable_requestPaint, gt = r.unstable_now, er = r.unstable_getCurrentPriorityLevel, oa = r.unstable_ImmediatePriority, aa = r.unstable_UserBlockingPriority, Qn = r.unstable_NormalPriority, Vs = r.unstable_LowPriority, Sn = r.unstable_IdlePriority, Zr = null, hr = null;
function jo(n) {
if (hr && typeof hr.onCommitFiberRoot == "function") try {
hr.onCommitFiberRoot(Zr, n, void 0, (n.current.flags & 128) === 128);
} catch {
}
}
var $t = Math.clz32 ? Math.clz32 : Qa, Xa = Math.log, qa = Math.LN2;
function Qa(n) {
return n >>>= 0, n === 0 ? 32 : 31 - (Xa(n) / qa | 0) | 0;
}
var _n = 64, Po = 4194304;
function Jn(n) {
switch (n & -n) {
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 n & 4194240;
case 4194304:
case 8388608:
case 16777216:
case 33554432:
case 67108864:
return n & 130023424;
case 134217728:
return 134217728;
case 268435456:
return 268435456;
case 536870912:
return 536870912;
case 1073741824:
return 1073741824;
default:
return n;
}
}
function eo(n, a) {
var l = n.pendingLanes;
if (l === 0) return 0;
var d = 0, m = n.suspendedLanes, x = n.pingedLanes, P = l & 268435455;
if (P !== 0) {
var L = P & ~m;
L !== 0 ? d = Jn(L) : (x &= P, x !== 0 && (d = Jn(x)));
} else P = l & ~m, P !== 0 ? d = Jn(P) : x !== 0 && (d = Jn(x));
if (d === 0) return 0;
if (a !== 0 && a !== d && (a & m) === 0 && (m = d & -d, x = a & -a, m >= x || m === 16 && (x & 4194240) !== 0)) return a;
if ((d & 4) !== 0 && (d |= l & 16), a = n.entangledLanes, a !== 0) for (n = n.entanglements, a &= d; 0 < a; ) l = 31 - $t(a), m = 1 << l, d |= n[l], a &= ~m;
return d;
}
function y(n, a) {
switch (n) {
case 1:
case 2:
case 4:
return a + 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 a + 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 N(n, a) {
for (var l = n.suspendedLanes, d = n.pingedLanes, m = n.expirationTimes, x = n.pendingLanes; 0 < x; ) {
var P = 31 - $t(x), L = 1 << P, H = m[P];
H === -1 ? ((L & l) === 0 || (L & d) !== 0) && (m[P] = y(L, a)) : H <= a && (n.expiredLanes |= L), x &= ~L;
}
}
function R(n) {
return n = n.pendingLanes & -1073741825, n !== 0 ? n : n & 1073741824 ? 1073741824 : 0;
}
function z() {
var n = _n;
return _n <<= 1, (_n & 4194240) === 0 && (_n = 64), n;
}
function ee(n) {
for (var a = [], l = 0; 31 > l; l++) a.push(n);
return a;
}
function X(n, a, l) {
n.pendingLanes |= a, a !== 536870912 && (n.suspendedLanes = 0, n.pingedLanes = 0), n = n.eventTimes, a = 31 - $t(a), n[a] = l;
}
function he(n, a) {
var l = n.pendingLanes & ~a;
n.pendingLanes = a, n.suspendedLanes = 0, n.pingedLanes = 0, n.expiredLanes &= a, n.mutableReadLanes &= a, n.entangledLanes &= a, a = n.entanglements;
var d = n.eventTimes;
for (n = n.expirationTimes; 0 < l; ) {
var m = 31 - $t(l), x = 1 << m;
a[m] = 0, d[m] = -1, n[m] = -1, l &= ~x;
}
}
function Ee(n, a) {
var l = n.entangledLanes |= a;
for (n = n.entanglements; l; ) {
var d = 31 - $t(l), m = 1 << d;
m & a | n[d] & a && (n[d] |= a), l &= ~m;
}
}
var Me = 0;
function Ze(n) {
return n &= -n, 1 < n ? 4 < n ? (n & 268435455) !== 0 ? 16 : 536870912 : 4 : 1;
}
var Je, ht, _r, Cr, ir, Cn = !1, Nr = [], Er = null, lr = null, Gr = null, jr = /* @__PURE__ */ new Map(), to = /* @__PURE__ */ new Map(), ro = [], Vd = "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 kc(n, a) {
switch (n) {
case "focusin":
case "focusout":
Er = null;
break;
case "dragenter":
case "dragleave":
lr = null;
break;
case "mouseover":
case "mouseout":
Gr = null;
break;
case "pointerover":
case "pointerout":
jr.delete(a.pointerId);
break;
case "gotpointercapture":
case "lostpointercapture":
to.delete(a.pointerId);
}
}
function Ja(n, a, l, d, m, x) {
return n === null || n.nativeEvent !== x ? (n = { blockedOn: a, domEventName: l, eventSystemFlags: d, nativeEvent: x, targetContainers: [m] }, a !== null && (a = pl(a), a !== null && ht(a)), n) : (n.eventSystemFlags |= d, a = n.targetContainers, m !== null && a.indexOf(m) === -1 && a.push(m), n);
}
function Yd(n, a, l, d, m) {
switch (a) {
case "focusin":
return Er = Ja(Er, n, a, l, d, m), !0;
case "dragenter":
return lr = Ja(lr, n, a, l, d, m), !0;
case "mouseover":
return Gr = Ja(Gr, n, a, l, d, m), !0;
case "pointerover":
var x = m.pointerId;
return jr.set(x, Ja(jr.get(x) || null, n, a, l, d, m)), !0;
case "gotpointercapture":
return x = m.pointerId, to.set(x, Ja(to.get(x) || null, n, a, l, d, m)), !0;
}
return !1;
}
function on(n) {
var a = is(n.target);
if (a !== null) {
var l = kn(a);
if (l !== null) {
if (a = l.tag, a === 13) {
if (a = Xn(l), a !== null) {
n.blockedOn = a, ir(n.priority, function() {
_r(l);
});
return;
}
} else if (a === 3 && l.stateNode.current.memoizedState.isDehydrated) {
n.blockedOn = l.tag === 3 ? l.stateNode.containerInfo : null;
return;
}
}
}
n.blockedOn = null;
}
function sa(n) {
if (n.blockedOn !== null) return !1;
for (var a = n.targetContainers; 0 < a.length; ) {
var l = ts(n.domEventName, n.eventSystemFlags, a[0], n.nativeEvent);
if (l === null) {
l = n.nativeEvent;
var d = new l.constructor(l.type, l);
Va = d, l.target.dispatchEvent(d), Va = null;
} else return a = pl(l), a !== null && ht(a), n.blockedOn = l, !1;
a.shift();
}
return !0;
}
function es(n, a, l) {
sa(n) && l.delete(a);
}
function mt() {
Cn = !1, Er !== null && sa(Er) && (Er = null), lr !== null && sa(lr) && (lr = null), Gr !== null && sa(Gr) && (Gr = null), jr.forEach(es), to.forEach(es);
}
function Nn(n, a) {
n.blockedOn === a && (n.blockedOn = null, Cn || (Cn = !0, r.unstable_scheduleCallback(r.unstable_NormalPriority, mt)));
}
function no(n) {
function a(m) {
return Nn(m, n);
}
if (0 < Nr.length) {
Nn(Nr[0], n);
for (var l = 1; l < Nr.length; l++) {
var d = Nr[l];
d.blockedOn === n && (d.blockedOn = null);
}
}
for (Er !== null && Nn(Er, n), lr !== null && Nn(lr, n), Gr !== null && Nn(Gr, n), jr.forEach(a), to.forEach(a), l = 0; l < ro.length; l++) d = ro[l], d.blockedOn === n && (d.blockedOn = null);
for (; 0 < ro.length && (l = ro[0], l.blockedOn === null); ) on(l), l.blockedOn === null && ro.shift();
}
var an = O.ReactCurrentBatchConfig, Kr = !0;
function Ys(n, a, l, d) {
var m = Me, x = an.transition;
an.transition = null;
try {
Me = 1, Zs(n, a, l, d);
} finally {
Me = m, an.transition = x;
}
}
function Mo(n, a, l, d) {
var m = Me, x = an.transition;
an.transition = null;
try {
Me = 4, Zs(n, a, l, d);
} finally {
Me = m, an.transition = x;
}
}
function Zs(n, a, l, d) {
if (Kr) {
var m = ts(n, a, l, d);
if (m === null) nf(n, a, d, ia, l), kc(n, d);