UNPKG

razor-shared-library

Version:
1,547 lines (1,545 loc) 1.6 MB
var mg = Object.defineProperty; var hg = (e, o, n) => o in e ? mg(e, o, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[o] = n; var Wr = (e, o, n) => hg(e, typeof o != "symbol" ? o + "" : o, n); import * as b from "react"; import wo, { forwardRef as bg, useContext as gg, isValidElement as ja, cloneElement as ds, Children as yg, createElement as oi, useState as Tt, useCallback as ni, useEffect as pn, useRef as Ba } from "react"; import * as vg from "react-dom"; import la from "react-dom"; var In = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}; function Xn(e) { return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e; } var Ml = { exports: {} }, Ur = {}; /** * @license React * react-jsx-runtime.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var ku; function xg() { if (ku) return Ur; ku = 1; var e = wo, o = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, s = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 }; function i(l, c, d) { var p, f = {}, h = null, y = null; d !== void 0 && (h = "" + d), c.key !== void 0 && (h = "" + c.key), c.ref !== void 0 && (y = c.ref); for (p in c) r.call(c, p) && !a.hasOwnProperty(p) && (f[p] = c[p]); if (l && l.defaultProps) for (p in c = l.defaultProps, c) f[p] === void 0 && (f[p] = c[p]); return { $$typeof: o, type: l, key: h, ref: y, props: f, _owner: s.current }; } return Ur.Fragment = n, Ur.jsx = i, Ur.jsxs = i, Ur; } var qr = {}; /** * @license React * react-jsx-runtime.development.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 Mu; function Cg() { return Mu || (Mu = 1, process.env.NODE_ENV !== "production" && function() { var e = wo, o = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), y = Symbol.for("react.offscreen"), g = Symbol.iterator, m = "@@iterator"; function v(Y) { if (Y === null || typeof Y != "object") return null; var xe = g && Y[g] || Y[m]; return typeof xe == "function" ? xe : null; } var C = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; function T(Y) { { for (var xe = arguments.length, Te = new Array(xe > 1 ? xe - 1 : 0), Ne = 1; Ne < xe; Ne++) Te[Ne - 1] = arguments[Ne]; S("error", Y, Te); } } function S(Y, xe, Te) { { var Ne = C.ReactDebugCurrentFrame, lt = Ne.getStackAddendum(); lt !== "" && (xe += "%s", Te = Te.concat([lt])); var de = Te.map(function(le) { return String(le); }); de.unshift("Warning: " + xe), Function.prototype.apply.call(console[Y], console, de); } } var O = !1, w = !1, k = !1, R = !1, M = !1, I; I = Symbol.for("react.module.reference"); function x(Y) { return !!(typeof Y == "string" || typeof Y == "function" || Y === r || Y === a || M || Y === s || Y === d || Y === p || R || Y === y || O || w || k || typeof Y == "object" && Y !== null && (Y.$$typeof === h || Y.$$typeof === f || Y.$$typeof === i || Y.$$typeof === l || Y.$$typeof === c || // This needs to include all possible module reference object // types supported by any Flight configuration anywhere since // we don't know which Flight build this will end up being used // with. Y.$$typeof === I || Y.getModuleId !== void 0)); } function P(Y, xe, Te) { var Ne = Y.displayName; if (Ne) return Ne; var lt = xe.displayName || xe.name || ""; return lt !== "" ? Te + "(" + lt + ")" : Te; } function $(Y) { return Y.displayName || "Context"; } function N(Y) { if (Y == null) return null; if (typeof Y.tag == "number" && T("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof Y == "function") return Y.displayName || Y.name || null; if (typeof Y == "string") return Y; switch (Y) { case r: return "Fragment"; case n: return "Portal"; case a: return "Profiler"; case s: return "StrictMode"; case d: return "Suspense"; case p: return "SuspenseList"; } if (typeof Y == "object") switch (Y.$$typeof) { case l: var xe = Y; return $(xe) + ".Consumer"; case i: var Te = Y; return $(Te._context) + ".Provider"; case c: return P(Y, Y.render, "ForwardRef"); case f: var Ne = Y.displayName || null; return Ne !== null ? Ne : N(Y.type) || "Memo"; case h: { var lt = Y, de = lt._payload, le = lt._init; try { return N(le(de)); } catch { return null; } } } return null; } var D = Object.assign, j = 0, E, B, F, z, L, _, te; function Q() { } Q.__reactDisabledLog = !0; function J() { { if (j === 0) { E = console.log, B = console.info, F = console.warn, z = console.error, L = console.group, _ = console.groupCollapsed, te = console.groupEnd; var Y = { configurable: !0, enumerable: !0, value: Q, writable: !0 }; Object.defineProperties(console, { info: Y, log: Y, warn: Y, error: Y, group: Y, groupCollapsed: Y, groupEnd: Y }); } j++; } } function H() { { if (j--, j === 0) { var Y = { configurable: !0, enumerable: !0, writable: !0 }; Object.defineProperties(console, { log: D({}, Y, { value: E }), info: D({}, Y, { value: B }), warn: D({}, Y, { value: F }), error: D({}, Y, { value: z }), group: D({}, Y, { value: L }), groupCollapsed: D({}, Y, { value: _ }), groupEnd: D({}, Y, { value: te }) }); } j < 0 && T("disabledDepth fell below zero. This is a bug in React. Please file an issue."); } } var q = C.ReactCurrentDispatcher, Z; function W(Y, xe, Te) { { if (Z === void 0) try { throw Error(); } catch (lt) { var Ne = lt.stack.trim().match(/\n( *(at )?)/); Z = Ne && Ne[1] || ""; } return ` ` + Z + Y; } } var K = !1, ee; { var se = typeof WeakMap == "function" ? WeakMap : Map; ee = new se(); } function V(Y, xe) { if (!Y || K) return ""; { var Te = ee.get(Y); if (Te !== void 0) return Te; } var Ne; K = !0; var lt = Error.prepareStackTrace; Error.prepareStackTrace = void 0; var de; de = q.current, q.current = null, J(); try { if (xe) { var le = function() { throw Error(); }; if (Object.defineProperty(le.prototype, "props", { set: function() { throw Error(); } }), typeof Reflect == "object" && Reflect.construct) { try { Reflect.construct(le, []); } catch (to) { Ne = to; } Reflect.construct(Y, [], le); } else { try { le.call(); } catch (to) { Ne = to; } Y.call(le.prototype); } } else { try { throw Error(); } catch (to) { Ne = to; } Y(); } } catch (to) { if (to && Ne && typeof to.stack == "string") { for (var Ce = to.stack.split(` `), $e = Ne.stack.split(` `), Ie = Ce.length - 1, Be = $e.length - 1; Ie >= 1 && Be >= 0 && Ce[Ie] !== $e[Be]; ) Be--; for (; Ie >= 1 && Be >= 0; Ie--, Be--) if (Ce[Ie] !== $e[Be]) { if (Ie !== 1 || Be !== 1) do if (Ie--, Be--, Be < 0 || Ce[Ie] !== $e[Be]) { var ut = ` ` + Ce[Ie].replace(" at new ", " at "); return Y.displayName && ut.includes("<anonymous>") && (ut = ut.replace("<anonymous>", Y.displayName)), typeof Y == "function" && ee.set(Y, ut), ut; } while (Ie >= 1 && Be >= 0); break; } } } finally { K = !1, q.current = de, H(), Error.prepareStackTrace = lt; } var Dt = Y ? Y.displayName || Y.name : "", vo = Dt ? W(Dt) : ""; return typeof Y == "function" && ee.set(Y, vo), vo; } function G(Y, xe, Te) { return V(Y, !1); } function oe(Y) { var xe = Y.prototype; return !!(xe && xe.isReactComponent); } function ue(Y, xe, Te) { if (Y == null) return ""; if (typeof Y == "function") return V(Y, oe(Y)); if (typeof Y == "string") return W(Y); switch (Y) { case d: return W("Suspense"); case p: return W("SuspenseList"); } if (typeof Y == "object") switch (Y.$$typeof) { case c: return G(Y.render); case f: return ue(Y.type, xe, Te); case h: { var Ne = Y, lt = Ne._payload, de = Ne._init; try { return ue(de(lt), xe, Te); } catch { } } } return ""; } var ne = Object.prototype.hasOwnProperty, X = {}, ce = C.ReactDebugCurrentFrame; function ie(Y) { if (Y) { var xe = Y._owner, Te = ue(Y.type, Y._source, xe ? xe.type : null); ce.setExtraStackFrame(Te); } else ce.setExtraStackFrame(null); } function me(Y, xe, Te, Ne, lt) { { var de = Function.call.bind(ne); for (var le in Y) if (de(Y, le)) { var Ce = void 0; try { if (typeof Y[le] != "function") { var $e = Error((Ne || "React class") + ": " + Te + " type `" + le + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof Y[le] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."); throw $e.name = "Invariant Violation", $e; } Ce = Y[le](xe, le, Ne, Te, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"); } catch (Ie) { Ce = Ie; } Ce && !(Ce instanceof Error) && (ie(lt), T("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", Ne || "React class", Te, le, typeof Ce), ie(null)), Ce instanceof Error && !(Ce.message in X) && (X[Ce.message] = !0, ie(lt), T("Failed %s type: %s", Te, Ce.message), ie(null)); } } } var he = Array.isArray; function ve(Y) { return he(Y); } function De(Y) { { var xe = typeof Symbol == "function" && Symbol.toStringTag, Te = xe && Y[Symbol.toStringTag] || Y.constructor.name || "Object"; return Te; } } function He(Y) { try { return ze(Y), !1; } catch { return !0; } } function ze(Y) { return "" + Y; } function Ue(Y) { if (He(Y)) return T("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", De(Y)), ze(Y); } var qe = C.ReactCurrentOwner, _e = { key: !0, ref: !0, __self: !0, __source: !0 }, Ve, Fe; function Ee(Y) { if (ne.call(Y, "ref")) { var xe = Object.getOwnPropertyDescriptor(Y, "ref").get; if (xe && xe.isReactWarning) return !1; } return Y.ref !== void 0; } function at(Y) { if (ne.call(Y, "key")) { var xe = Object.getOwnPropertyDescriptor(Y, "key").get; if (xe && xe.isReactWarning) return !1; } return Y.key !== void 0; } function Ze(Y, xe) { typeof Y.ref == "string" && qe.current; } function kt(Y, xe) { { var Te = function() { Ve || (Ve = !0, T("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", xe)); }; Te.isReactWarning = !0, Object.defineProperty(Y, "key", { get: Te, configurable: !0 }); } } function Mt(Y, xe) { { var Te = function() { Fe || (Fe = !0, T("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", xe)); }; Te.isReactWarning = !0, Object.defineProperty(Y, "ref", { get: Te, configurable: !0 }); } } var Re = function(Y, xe, Te, Ne, lt, de, le) { var Ce = { // This tag allows us to uniquely identify this as a React Element $$typeof: o, // Built-in properties that belong on the element type: Y, key: xe, ref: Te, props: le, // Record the component responsible for creating this element. _owner: de }; return Ce._store = {}, Object.defineProperty(Ce._store, "validated", { configurable: !1, enumerable: !1, writable: !0, value: !1 }), Object.defineProperty(Ce, "_self", { configurable: !1, enumerable: !1, writable: !1, value: Ne }), Object.defineProperty(Ce, "_source", { configurable: !1, enumerable: !1, writable: !1, value: lt }), Object.freeze && (Object.freeze(Ce.props), Object.freeze(Ce)), Ce; }; function We(Y, xe, Te, Ne, lt) { { var de, le = {}, Ce = null, $e = null; Te !== void 0 && (Ue(Te), Ce = "" + Te), at(xe) && (Ue(xe.key), Ce = "" + xe.key), Ee(xe) && ($e = xe.ref, Ze(xe, lt)); for (de in xe) ne.call(xe, de) && !_e.hasOwnProperty(de) && (le[de] = xe[de]); if (Y && Y.defaultProps) { var Ie = Y.defaultProps; for (de in Ie) le[de] === void 0 && (le[de] = Ie[de]); } if (Ce || $e) { var Be = typeof Y == "function" ? Y.displayName || Y.name || "Unknown" : Y; Ce && kt(le, Be), $e && Mt(le, Be); } return Re(Y, Ce, $e, lt, Ne, qe.current, le); } } var nt = C.ReactCurrentOwner, Ye = C.ReactDebugCurrentFrame; function it(Y) { if (Y) { var xe = Y._owner, Te = ue(Y.type, Y._source, xe ? xe.type : null); Ye.setExtraStackFrame(Te); } else Ye.setExtraStackFrame(null); } var Lt; Lt = !1; function Ot(Y) { return typeof Y == "object" && Y !== null && Y.$$typeof === o; } function go() { { if (nt.current) { var Y = N(nt.current.type); if (Y) return ` Check the render method of \`` + Y + "`."; } return ""; } } function Jt(Y) { return ""; } var zo = {}; function Yo(Y) { { var xe = go(); if (!xe) { var Te = typeof Y == "string" ? Y : Y.displayName || Y.name; Te && (xe = ` Check the top-level render call using <` + Te + ">."); } return xe; } } function Ae(Y, xe) { { if (!Y._store || Y._store.validated || Y.key != null) return; Y._store.validated = !0; var Te = Yo(xe); if (zo[Te]) return; zo[Te] = !0; var Ne = ""; Y && Y._owner && Y._owner !== nt.current && (Ne = " It was passed a child from " + N(Y._owner.type) + "."), it(Y), T('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', Te, Ne), it(null); } } function Bt(Y, xe) { { if (typeof Y != "object") return; if (ve(Y)) for (var Te = 0; Te < Y.length; Te++) { var Ne = Y[Te]; Ot(Ne) && Ae(Ne, xe); } else if (Ot(Y)) Y._store && (Y._store.validated = !0); else if (Y) { var lt = v(Y); if (typeof lt == "function" && lt !== Y.entries) for (var de = lt.call(Y), le; !(le = de.next()).done; ) Ot(le.value) && Ae(le.value, xe); } } } function ke(Y) { { var xe = Y.type; if (xe == null || typeof xe == "string") return; var Te; if (typeof xe == "function") Te = xe.propTypes; else if (typeof xe == "object" && (xe.$$typeof === c || // Note: Memo only checks outer props here. // Inner props are checked in the reconciler. xe.$$typeof === f)) Te = xe.propTypes; else return; if (Te) { var Ne = N(xe); me(Te, Y.props, "prop", Ne, Y); } else if (xe.PropTypes !== void 0 && !Lt) { Lt = !0; var lt = N(xe); T("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", lt || "Unknown"); } typeof xe.getDefaultProps == "function" && !xe.getDefaultProps.isReactClassApproved && T("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead."); } } function Me(Y) { { for (var xe = Object.keys(Y.props), Te = 0; Te < xe.length; Te++) { var Ne = xe[Te]; if (Ne !== "children" && Ne !== "key") { it(Y), T("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", Ne), it(null); break; } } Y.ref !== null && (it(Y), T("Invalid attribute `ref` supplied to `React.Fragment`."), it(null)); } } var Ge = {}; function Qe(Y, xe, Te, Ne, lt, de) { { var le = x(Y); if (!le) { var Ce = ""; (Y === void 0 || typeof Y == "object" && Y !== null && Object.keys(Y).length === 0) && (Ce += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."); var $e = Jt(); $e ? Ce += $e : Ce += go(); var Ie; Y === null ? Ie = "null" : ve(Y) ? Ie = "array" : Y !== void 0 && Y.$$typeof === o ? (Ie = "<" + (N(Y.type) || "Unknown") + " />", Ce = " Did you accidentally export a JSX literal instead of a component?") : Ie = typeof Y, T("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Ie, Ce); } var Be = We(Y, xe, Te, lt, de); if (Be == null) return Be; if (le) { var ut = xe.children; if (ut !== void 0) if (Ne) if (ve(ut)) { for (var Dt = 0; Dt < ut.length; Dt++) Bt(ut[Dt], Y); Object.freeze && Object.freeze(ut); } else T("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."); else Bt(ut, Y); } if (ne.call(xe, "key")) { var vo = N(Y), to = Object.keys(xe).filter(function(rr) { return rr !== "key"; }), or = to.length > 0 ? "{key: someKey, " + to.join(": ..., ") + ": ...}" : "{key: someKey}"; if (!Ge[vo + or]) { var nr = to.length > 0 ? "{" + to.join(": ..., ") + ": ...}" : "{}"; T(`A props object containing a "key" prop is being spread into JSX: let props = %s; <%s {...props} /> React keys must be passed directly to JSX without using spread: let props = %s; <%s key={someKey} {...props} />`, or, vo, nr, vo), Ge[vo + or] = !0; } } return Y === r ? Me(Be) : ke(Be), Be; } } function xt(Y, xe, Te) { return Qe(Y, xe, Te, !0); } function eo(Y, xe, Te) { return Qe(Y, xe, Te, !1); } var yo = eo, _o = xt; qr.Fragment = r, qr.jsx = yo, qr.jsxs = _o; }()), qr; } process.env.NODE_ENV === "production" ? Ml.exports = xg() : Ml.exports = Cg(); var u = Ml.exports; const Ss = { black: "#000", white: "#fff" }, sr = { 300: "#e57373", 400: "#ef5350", 500: "#f44336", 700: "#d32f2f", 800: "#c62828" }, ar = { 50: "#f3e5f5", 200: "#ce93d8", 300: "#ba68c8", 400: "#ab47bc", 500: "#9c27b0", 700: "#7b1fa2" }, ir = { 50: "#e3f2fd", 200: "#90caf9", 400: "#42a5f5", 700: "#1976d2", 800: "#1565c0" }, lr = { 300: "#4fc3f7", 400: "#29b6f6", 500: "#03a9f4", 700: "#0288d1", 900: "#01579b" }, cr = { 300: "#81c784", 400: "#66bb6a", 500: "#4caf50", 700: "#388e3c", 800: "#2e7d32", 900: "#1b5e20" }, Yr = { 300: "#ffb74d", 400: "#ffa726", 500: "#ff9800", 700: "#f57c00", 900: "#e65100" }, Sg = { 50: "#fafafa", 100: "#f5f5f5", 200: "#eeeeee", 300: "#e0e0e0", 400: "#bdbdbd", 500: "#9e9e9e", 600: "#757575", 700: "#616161", 800: "#424242", 900: "#212121", A100: "#f5f5f5", A200: "#eeeeee", A400: "#bdbdbd", A700: "#616161" }; function nn(e, ...o) { const n = new URL(`https://mui.com/production-error/?code=${e}`); return o.forEach((r) => n.searchParams.append("args[]", r)), `Minified MUI error #${e}; visit ${n} for the full message.`; } const Io = "$$material"; function U() { return U = Object.assign ? Object.assign.bind() : function(e) { for (var o = 1; o < arguments.length; o++) { var n = arguments[o]; for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]); } return e; }, U.apply(null, arguments); } function wg(e) { if (e.sheet) return e.sheet; for (var o = 0; o < document.styleSheets.length; o++) if (document.styleSheets[o].ownerNode === e) return document.styleSheets[o]; } function Tg(e) { var o = document.createElement("style"); return o.setAttribute("data-emotion", e.key), e.nonce !== void 0 && o.setAttribute("nonce", e.nonce), o.appendChild(document.createTextNode("")), o.setAttribute("data-s", ""), o; } var Og = /* @__PURE__ */ function() { function e(n) { var r = this; this._insertTag = function(s) { var a; r.tags.length === 0 ? r.insertionPoint ? a = r.insertionPoint.nextSibling : r.prepend ? a = r.container.firstChild : a = r.before : a = r.tags[r.tags.length - 1].nextSibling, r.container.insertBefore(s, a), r.tags.push(s); }, this.isSpeedy = n.speedy === void 0 ? !0 : n.speedy, this.tags = [], this.ctr = 0, this.nonce = n.nonce, this.key = n.key, this.container = n.container, this.prepend = n.prepend, this.insertionPoint = n.insertionPoint, this.before = null; } var o = e.prototype; return o.hydrate = function(r) { r.forEach(this._insertTag); }, o.insert = function(r) { this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(Tg(this)); var s = this.tags[this.tags.length - 1]; if (this.isSpeedy) { var a = wg(s); try { a.insertRule(r, a.cssRules.length); } catch { } } else s.appendChild(document.createTextNode(r)); this.ctr++; }, o.flush = function() { this.tags.forEach(function(r) { var s; return (s = r.parentNode) == null ? void 0 : s.removeChild(r); }), this.tags = [], this.ctr = 0; }, e; }(), oo = "-ms-", za = "-moz-", ft = "-webkit-", tf = "comm", ac = "rule", ic = "decl", Pg = "@import", of = "@keyframes", Rg = "@layer", kg = Math.abs, ri = String.fromCharCode, Mg = Object.assign; function Eg(e, o) { return Xt(e, 0) ^ 45 ? (((o << 2 ^ Xt(e, 0)) << 2 ^ Xt(e, 1)) << 2 ^ Xt(e, 2)) << 2 ^ Xt(e, 3) : 0; } function nf(e) { return e.trim(); } function jg(e, o) { return (e = o.exec(e)) ? e[0] : e; } function mt(e, o, n) { return e.replace(o, n); } function El(e, o) { return e.indexOf(o); } function Xt(e, o) { return e.charCodeAt(o) | 0; } function ws(e, o, n) { return e.slice(o, n); } function Zo(e) { return e.length; } function lc(e) { return e.length; } function ca(e, o) { return o.push(e), e; } function Ig(e, o) { return e.map(o).join(""); } var si = 1, Tr = 1, rf = 0, bo = 0, zt = 0, $r = ""; function ai(e, o, n, r, s, a, i) { return { value: e, root: o, parent: n, type: r, props: s, children: a, line: si, column: Tr, length: i, return: "" }; } function Gr(e, o) { return Mg(ai("", null, null, "", null, null, 0), e, { length: -e.length }, o); } function Dg() { return zt; } function $g() { return zt = bo > 0 ? Xt($r, --bo) : 0, Tr--, zt === 10 && (Tr = 1, si--), zt; } function To() { return zt = bo < rf ? Xt($r, bo++) : 0, Tr++, zt === 10 && (Tr = 1, si++), zt; } function tn() { return Xt($r, bo); } function Ia() { return bo; } function zs(e, o) { return ws($r, e, o); } function Ts(e) { switch (e) { case 0: case 9: case 10: case 13: case 32: return 5; case 33: case 43: case 44: case 47: case 62: case 64: case 126: case 59: case 123: case 125: return 4; case 58: return 3; case 34: case 39: case 40: case 91: return 2; case 41: case 93: return 1; } return 0; } function sf(e) { return si = Tr = 1, rf = Zo($r = e), bo = 0, []; } function af(e) { return $r = "", e; } function Da(e) { return nf(zs(bo - 1, jl(e === 91 ? e + 2 : e === 40 ? e + 1 : e))); } function Ng(e) { for (; (zt = tn()) && zt < 33; ) To(); return Ts(e) > 2 || Ts(zt) > 3 ? "" : " "; } function Ag(e, o) { for (; --o && To() && !(zt < 48 || zt > 102 || zt > 57 && zt < 65 || zt > 70 && zt < 97); ) ; return zs(e, Ia() + (o < 6 && tn() == 32 && To() == 32)); } function jl(e) { for (; To(); ) switch (zt) { case e: return bo; case 34: case 39: e !== 34 && e !== 39 && jl(zt); break; case 40: e === 41 && jl(e); break; case 92: To(); break; } return bo; } function Lg(e, o) { for (; To() && e + zt !== 57; ) if (e + zt === 84 && tn() === 47) break; return "/*" + zs(o, bo - 1) + "*" + ri(e === 47 ? e : To()); } function Vg(e) { for (; !Ts(tn()); ) To(); return zs(e, bo); } function Fg(e) { return af($a("", null, null, null, [""], e = sf(e), 0, [0], e)); } function $a(e, o, n, r, s, a, i, l, c) { for (var d = 0, p = 0, f = i, h = 0, y = 0, g = 0, m = 1, v = 1, C = 1, T = 0, S = "", O = s, w = a, k = r, R = S; v; ) switch (g = T, T = To()) { case 40: if (g != 108 && Xt(R, f - 1) == 58) { El(R += mt(Da(T), "&", "&\f"), "&\f") != -1 && (C = -1); break; } case 34: case 39: case 91: R += Da(T); break; case 9: case 10: case 13: case 32: R += Ng(g); break; case 92: R += Ag(Ia() - 1, 7); continue; case 47: switch (tn()) { case 42: case 47: ca(Bg(Lg(To(), Ia()), o, n), c); break; default: R += "/"; } break; case 123 * m: l[d++] = Zo(R) * C; case 125 * m: case 59: case 0: switch (T) { case 0: case 125: v = 0; case 59 + p: C == -1 && (R = mt(R, /\f/g, "")), y > 0 && Zo(R) - f && ca(y > 32 ? ju(R + ";", r, n, f - 1) : ju(mt(R, " ", "") + ";", r, n, f - 2), c); break; case 59: R += ";"; default: if (ca(k = Eu(R, o, n, d, p, s, l, S, O = [], w = [], f), a), T === 123) if (p === 0) $a(R, o, k, k, O, a, f, l, w); else switch (h === 99 && Xt(R, 3) === 110 ? 100 : h) { case 100: case 108: case 109: case 115: $a(e, k, k, r && ca(Eu(e, k, k, 0, 0, s, l, S, s, O = [], f), w), s, w, f, l, r ? O : w); break; default: $a(R, k, k, k, [""], w, 0, l, w); } } d = p = y = 0, m = C = 1, S = R = "", f = i; break; case 58: f = 1 + Zo(R), y = g; default: if (m < 1) { if (T == 123) --m; else if (T == 125 && m++ == 0 && $g() == 125) continue; } switch (R += ri(T), T * m) { case 38: C = p > 0 ? 1 : (R += "\f", -1); break; case 44: l[d++] = (Zo(R) - 1) * C, C = 1; break; case 64: tn() === 45 && (R += Da(To())), h = tn(), p = f = Zo(S = R += Vg(Ia())), T++; break; case 45: g === 45 && Zo(R) == 2 && (m = 0); } } return a; } function Eu(e, o, n, r, s, a, i, l, c, d, p) { for (var f = s - 1, h = s === 0 ? a : [""], y = lc(h), g = 0, m = 0, v = 0; g < r; ++g) for (var C = 0, T = ws(e, f + 1, f = kg(m = i[g])), S = e; C < y; ++C) (S = nf(m > 0 ? h[C] + " " + T : mt(T, /&\f/g, h[C]))) && (c[v++] = S); return ai(e, o, n, s === 0 ? ac : l, c, d, p); } function Bg(e, o, n) { return ai(e, o, n, tf, ri(Dg()), ws(e, 2, -2), 0); } function ju(e, o, n, r) { return ai(e, o, n, ic, ws(e, 0, r), ws(e, r + 1, -1), r); } function yr(e, o) { for (var n = "", r = lc(e), s = 0; s < r; s++) n += o(e[s], s, e, o) || ""; return n; } function zg(e, o, n, r) { switch (e.type) { case Rg: if (e.children.length) break; case Pg: case ic: return e.return = e.return || e.value; case tf: return ""; case of: return e.return = e.value + "{" + yr(e.children, r) + "}"; case ac: e.value = e.props.join(","); } return Zo(n = yr(e.children, r)) ? e.return = e.value + "{" + n + "}" : ""; } function _g(e) { var o = lc(e); return function(n, r, s, a) { for (var i = "", l = 0; l < o; l++) i += e[l](n, r, s, a) || ""; return i; }; } function Hg(e) { return function(o) { o.root || (o = o.return) && e(o); }; } function lf(e) { var o = /* @__PURE__ */ Object.create(null); return function(n) { return o[n] === void 0 && (o[n] = e(n)), o[n]; }; } var Wg = function(o, n, r) { for (var s = 0, a = 0; s = a, a = tn(), s === 38 && a === 12 && (n[r] = 1), !Ts(a); ) To(); return zs(o, bo); }, Ug = function(o, n) { var r = -1, s = 44; do switch (Ts(s)) { case 0: s === 38 && tn() === 12 && (n[r] = 1), o[r] += Wg(bo - 1, n, r); break; case 2: o[r] += Da(s); break; case 4: if (s === 44) { o[++r] = tn() === 58 ? "&\f" : "", n[r] = o[r].length; break; } default: o[r] += ri(s); } while (s = To()); return o; }, qg = function(o, n) { return af(Ug(sf(o), n)); }, Iu = /* @__PURE__ */ new WeakMap(), Yg = function(o) { if (!(o.type !== "rule" || !o.parent || // positive .length indicates that this rule contains pseudo // negative .length indicates that this rule has been already prefixed o.length < 1)) { for (var n = o.value, r = o.parent, s = o.column === r.column && o.line === r.line; r.type !== "rule"; ) if (r = r.parent, !r) return; if (!(o.props.length === 1 && n.charCodeAt(0) !== 58 && !Iu.get(r)) && !s) { Iu.set(o, !0); for (var a = [], i = qg(n, a), l = r.props, c = 0, d = 0; c < i.length; c++) for (var p = 0; p < l.length; p++, d++) o.props[d] = a[c] ? i[c].replace(/&\f/g, l[p]) : l[p] + " " + i[c]; } } }, Gg = function(o) { if (o.type === "decl") { var n = o.value; // charcode for l n.charCodeAt(0) === 108 && // charcode for b n.charCodeAt(2) === 98 && (o.return = "", o.value = ""); } }; function cf(e, o) { switch (Eg(e, o)) { case 5103: return ft + "print-" + e + e; case 5737: case 4201: case 3177: case 3433: case 1641: case 4457: case 2921: case 5572: case 6356: case 5844: case 3191: case 6645: case 3005: case 6391: case 5879: case 5623: case 6135: case 4599: case 4855: case 4215: case 6389: case 5109: case 5365: case 5621: case 3829: return ft + e + e; case 5349: case 4246: case 4810: case 6968: case 2756: return ft + e + za + e + oo + e + e; case 6828: case 4268: return ft + e + oo + e + e; case 6165: return ft + e + oo + "flex-" + e + e; case 5187: return ft + e + mt(e, /(\w+).+(:[^]+)/, ft + "box-$1$2" + oo + "flex-$1$2") + e; case 5443: return ft + e + oo + "flex-item-" + mt(e, /flex-|-self/, "") + e; case 4675: return ft + e + oo + "flex-line-pack" + mt(e, /align-content|flex-|-self/, "") + e; case 5548: return ft + e + oo + mt(e, "shrink", "negative") + e; case 5292: return ft + e + oo + mt(e, "basis", "preferred-size") + e; case 6060: return ft + "box-" + mt(e, "-grow", "") + ft + e + oo + mt(e, "grow", "positive") + e; case 4554: return ft + mt(e, /([^-])(transform)/g, "$1" + ft + "$2") + e; case 6187: return mt(mt(mt(e, /(zoom-|grab)/, ft + "$1"), /(image-set)/, ft + "$1"), e, "") + e; case 5495: case 3959: return mt(e, /(image-set\([^]*)/, ft + "$1$`$1"); case 4968: return mt(mt(e, /(.+:)(flex-)?(.*)/, ft + "box-pack:$3" + oo + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + ft + e + e; case 4095: case 3583: case 4068: case 2532: return mt(e, /(.+)-inline(.+)/, ft + "$1$2") + e; case 8116: case 7059: case 5753: case 5535: case 5445: case 5701: case 4933: case 4677: case 5533: case 5789: case 5021: case 4765: if (Zo(e) - 1 - o > 6) switch (Xt(e, o + 1)) { case 109: if (Xt(e, o + 4) !== 45) break; case 102: return mt(e, /(.+:)(.+)-([^]+)/, "$1" + ft + "$2-$3$1" + za + (Xt(e, o + 3) == 108 ? "$3" : "$2-$3")) + e; case 115: return ~El(e, "stretch") ? cf(mt(e, "stretch", "fill-available"), o) + e : e; } break; case 4949: if (Xt(e, o + 1) !== 115) break; case 6444: switch (Xt(e, Zo(e) - 3 - (~El(e, "!important") && 10))) { case 107: return mt(e, ":", ":" + ft) + e; case 101: return mt(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + ft + (Xt(e, 14) === 45 ? "inline-" : "") + "box$3$1" + ft + "$2$3$1" + oo + "$2box$3") + e; } break; case 5936: switch (Xt(e, o + 11)) { case 114: return ft + e + oo + mt(e, /[svh]\w+-[tblr]{2}/, "tb") + e; case 108: return ft + e + oo + mt(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e; case 45: return ft + e + oo + mt(e, /[svh]\w+-[tblr]{2}/, "lr") + e; } return ft + e + oo + e + e; } return e; } var Kg = function(o, n, r, s) { if (o.length > -1 && !o.return) switch (o.type) { case ic: o.return = cf(o.value, o.length); break; case of: return yr([Gr(o, { value: mt(o.value, "@", "@" + ft) })], s); case ac: if (o.length) return Ig(o.props, function(a) { switch (jg(a, /(::plac\w+|:read-\w+)/)) { case ":read-only": case ":read-write": return yr([Gr(o, { props: [mt(a, /:(read-\w+)/, ":" + za + "$1")] })], s); case "::placeholder": return yr([Gr(o, { props: [mt(a, /:(plac\w+)/, ":" + ft + "input-$1")] }), Gr(o, { props: [mt(a, /:(plac\w+)/, ":" + za + "$1")] }), Gr(o, { props: [mt(a, /:(plac\w+)/, oo + "input-$1")] })], s); } return ""; }); } }, Xg = [Kg], Zg = function(o) { var n = o.key; if (n === "css") { var r = document.querySelectorAll("style[data-emotion]:not([data-s])"); Array.prototype.forEach.call(r, function(m) { var v = m.getAttribute("data-emotion"); v.indexOf(" ") !== -1 && (document.head.appendChild(m), m.setAttribute("data-s", "")); }); } var s = o.stylisPlugins || Xg, a = {}, i, l = []; i = o.container || document.head, Array.prototype.forEach.call( // this means we will ignore elements which don't have a space in them which // means that the style elements we're looking at are only Emotion 11 server-rendered style elements document.querySelectorAll('style[data-emotion^="' + n + ' "]'), function(m) { for (var v = m.getAttribute("data-emotion").split(" "), C = 1; C < v.length; C++) a[v[C]] = !0; l.push(m); } ); var c, d = [Yg, Gg]; { var p, f = [zg, Hg(function(m) { p.insert(m); })], h = _g(d.concat(s, f)), y = function(v) { return yr(Fg(v), h); }; c = function(v, C, T, S) { p = T, y(v ? v + "{" + C.styles + "}" : C.styles), S && (g.inserted[C.name] = !0); }; } var g = { key: n, sheet: new Og({ key: n, container: i, nonce: o.nonce, speedy: o.speedy, prepend: o.prepend, insertionPoint: o.insertionPoint }), nonce: o.nonce, inserted: a, registered: {}, insert: c }; return g.sheet.hydrate(l), g; }, Il = { exports: {} }, ht = {}; /** @license React v16.13.1 * react-is.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 Du; function Qg() { if (Du) return ht; Du = 1; var e = typeof Symbol == "function" && Symbol.for, o = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, s = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, y = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, m = e ? Symbol.for("react.block") : 60121, v = e ? Symbol.for("react.fundamental") : 60117, C = e ? Symbol.for("react.responder") : 60118, T = e ? Symbol.for("react.scope") : 60119; function S(w) { if (typeof w == "object" && w !== null) { var k = w.$$typeof; switch (k) { case o: switch (w = w.type, w) { case c: case d: case r: case a: case s: case f: return w; default: switch (w = w && w.$$typeof, w) { case l: case p: case g: case y: case i: return w; default: return k; } } case n: return k; } } } function O(w) { return S(w) === d; } return ht.AsyncMode = c, ht.ConcurrentMode = d, ht.ContextConsumer = l, ht.ContextProvider = i, ht.Element = o, ht.ForwardRef = p, ht.Fragment = r, ht.Lazy = g, ht.Memo = y, ht.Portal = n, ht.Profiler = a, ht.StrictMode = s, ht.Suspense = f, ht.isAsyncMode = function(w) { return O(w) || S(w) === c; }, ht.isConcurrentMode = O, ht.isContextConsumer = function(w) { return S(w) === l; }, ht.isContextProvider = function(w) { return S(w) === i; }, ht.isElement = function(w) { return typeof w == "object" && w !== null && w.$$typeof === o; }, ht.isForwardRef = function(w) { return S(w) === p; }, ht.isFragment = function(w) { return S(w) === r; }, ht.isLazy = function(w) { return S(w) === g; }, ht.isMemo = function(w) { return S(w) === y; }, ht.isPortal = function(w) { return S(w) === n; }, ht.isProfiler = function(w) { return S(w) === a; }, ht.isStrictMode = function(w) { return S(w) === s; }, ht.isSuspense = function(w) { return S(w) === f; }, ht.isValidElementType = function(w) { return typeof w == "string" || typeof w == "function" || w === r || w === d || w === a || w === s || w === f || w === h || typeof w == "object" && w !== null && (w.$$typeof === g || w.$$typeof === y || w.$$typeof === i || w.$$typeof === l || w.$$typeof === p || w.$$typeof === v || w.$$typeof === C || w.$$typeof === T || w.$$typeof === m); }, ht.typeOf = S, ht; } var bt = {}; /** @license React v16.13.1 * react-is.development.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 $u; function Jg() { return $u || ($u = 1, process.env.NODE_ENV !== "production" && function() { var e = typeof Symbol == "function" && Symbol.for, o = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, s = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, y = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, m = e ? Symbol.for("react.block") : 60121, v = e ? Symbol.for("react.fundamental") : 60117, C = e ? Symbol.for("react.responder") : 60118, T = e ? Symbol.for("react.scope") : 60119; function S(V) { return typeof V == "string" || typeof V == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill. V === r || V === d || V === a || V === s || V === f || V === h || typeof V == "object" && V !== null && (V.$$typeof === g || V.$$typeof === y || V.$$typeof === i || V.$$typeof === l || V.$$typeof === p || V.$$typeof === v || V.$$typeof === C || V.$$typeof === T || V.$$typeof === m); } function O(V) { if (typeof V == "object" && V !== null) { var G = V.$$typeof; switch (G) { case o: var oe = V.type; switch (oe) { case c: case d: case r: case a: case s: case f: return oe; default: var ue = oe && oe.$$typeof; switch (ue) { case l: case p: case g: case y: case i: return ue; default: return G; } } case n: return G; } } } var w = c, k = d, R = l, M = i, I = o, x = p, P = r, $ = g, N = y, D = n, j = a, E = s, B = f, F = !1; function z(V) { return F || (F = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), L(V) || O(V) === c; } function L(V) { return O(V) === d; } function _(V) { return O(V) === l; } function te(V) { return O(V) === i; } function Q(V) { return typeof V == "object" && V !== null && V.$$typeof === o; } function J(V) { return O(V) === p; } function H(V) { return O(V) === r; } function q(V) { return O(V) === g; } function Z(V) { return O(V) === y; } function W(V) { return O(V) === n; } function K(V) { return O(V) === a; } function ee(V) { return O(V) === s; } function se(V) { return O(V) === f; } bt.AsyncMode = w, bt.ConcurrentMode = k, bt.ContextConsumer = R, bt.ContextProvider = M, bt.Element = I, bt.ForwardRef = x, bt.Fragment = P, bt.Lazy = $, bt.Memo = N, bt.Portal = D, bt.Profiler = j, bt.StrictMode = E, bt.Suspense = B, bt.isAsyncMode = z, bt.isConcurrentMode = L, bt.isContextConsumer = _, bt.isContextProvider = te, bt.isElement = Q, bt.isForwardRef = J, bt.isFragment = H, bt.isLazy = q, bt.isMemo = Z, bt.isPortal = W, bt.isProfiler = K, bt.isStrictMode = ee, bt.isSuspense = se, bt.isValidElementType = S, bt.typeOf = O; }()), bt; } process.env.NODE_ENV === "production" ? Il.exports = Qg() : Il.exports = Jg(); var ey = Il.exports, uf = ey, ty = { $$typeof: !0, render: !0, defaultProps: !0, displayName: !0, propTypes: !0 }, oy = { $$typeof: !0, compare: !0, defaultProps: !0, displayName: !0, propTypes: !0, type: !0 }, df = {}; df[uf.ForwardRef] = ty; df[uf.Memo] = oy; var ny = !0; function pf(e, o, n) { var r = ""; return n.split(" ").forEach(function(s) { e[s] !== void 0 ? o.push(e[s] + ";") : s && (r += s + " "); }), r; } var cc = function(o, n, r) { var s = o.key + "-" + n.name; // we only need to add the styles to the registered cache if the // class name could be used further down // the tree but if it's a string tag, we know it won't // so we don't have to add it to registered cache. // this improves memory usage since we can avoid storing the whole style string (r === !1 || // we need to always store it if we're in compat mode and // in node since emotion-server relies on whether a style is in // the registered cache to know whether a style is global or not // also, note that this check will be dead code eliminated in the browser ny === !1) && o.registered[s] === void 0 && (o.registered[s] = n.styles); }, uc = function(o, n, r) { cc(o, n, r); var s = o.key + "-" + n.name; if (o.inserted[n.name] === void 0) { var a = n; do o.insert(n === a ? "." + s : "", a, o.sheet, !0), a = a.next; while (a !== void 0); } }; function ry(e) { for (var o = 0, n, r = 0, s = e.length; s >= 4; ++r, s -= 4) n = e.charCodeAt(r) & 255 | (e.charCodeAt(++r) & 255) << 8 | (e.charCodeAt(++r) & 255) << 16 | (e.charCodeAt(++r) & 255) << 24, n = /* Math.imul(k, m): */ (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16), n ^= /* k >>> r: */ n >>> 24, o = /* Math.imul(k, m): */ (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */ (o & 65535) * 1540483477 + ((o >>> 16) * 59797 << 16); switch (s) { case 3: o ^= (e.charCodeAt(r + 2) & 255) << 16; case 2: o ^= (e.charCodeAt(r + 1) & 255) << 8; case 1: o ^= e.charCodeAt(r) & 255, o = /* Math.imul(h, m): */ (o & 65535) * 1540483477 + ((o >>> 16) * 59797 << 16); } return o ^= o >>> 13, o = /* Math.imul(h, m): */ (o & 65535) * 1540483477 + ((o >>> 16) * 59797 << 16), ((o ^ o >>> 15) >>> 0).toString(36); } var sy = { animationIterationCount: 1, aspectRatio: 1, borderImageOutset: 1, borderImageSlice: 1, borderImageWidth: 1, boxFlex: 1, boxFlexGroup: 1, boxOrdinalGroup: 1, columnCount: 1, columns: 1, flex: 1, flexGrow: 1, flexPositive: 1, flexShrink: 1, flexNegative: 1, flexOrder: 1, gridRow: 1, gridRowEnd: 1, gridRowSpan: 1, gridRowStart: 1, gridColumn: 1, gridColumnEnd: 1, gridColumnSpan: 1, gridColumnStart: 1, msGridRow: 1, msGridRowSpan: 1, msGridColumn: 1, msGridColumnSpan: 1, fontWeight: 1, lineHeight: 1, opacity: 1, order: 1, orphans: 1, scale: 1, tabSize: 1, widows: 1, zIndex: 1, zoom: 1, WebkitLineClamp: 1, // SVG-related properties fillOpacity: 1, floodOpacity: 1, stopOpacity: 1, strokeDasharray: 1, strokeDashoffset: 1, strokeMiterlimit: 1, strokeOpacity: 1, strokeWidth: 1 }, ay = /[A-Z]