react-console-viewer
Version:
A React component that displays console logs
1,422 lines (1,420 loc) • 234 kB
JavaScript
var Ko = Object.defineProperty;
var Jo = (e, t, r) => t in e ? Ko(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
var $n = (e, t, r) => Jo(e, typeof t != "symbol" ? t + "" : t, r);
import * as J from "react";
import m, { forwardRef as en, useContext as tn, createContext as wa, memo as rn, Children as Xo, useCallback as Et, useState as nn, useLayoutEffect as Zo, useMemo as Qo, PureComponent as ei, createElement as Dr } from "react";
function an(e) {
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
}
var jr = { exports: {} }, Ze = {};
/** @license React v16.14.0
* 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 zn;
function ti() {
if (zn) return Ze;
zn = 1;
var e = m, t = 60103;
if (Ze.Fragment = 60107, typeof Symbol == "function" && Symbol.for) {
var r = Symbol.for;
t = r("react.element"), Ze.Fragment = r("react.fragment");
}
var n = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = Object.prototype.hasOwnProperty, o = { key: !0, ref: !0, __self: !0, __source: !0 };
function i(s, c, d) {
var l, u = {}, p = null, h = null;
d !== void 0 && (p = "" + d), c.key !== void 0 && (p = "" + c.key), c.ref !== void 0 && (h = c.ref);
for (l in c) a.call(c, l) && !o.hasOwnProperty(l) && (u[l] = c[l]);
if (s && s.defaultProps) for (l in c = s.defaultProps, c) u[l] === void 0 && (u[l] = c[l]);
return { $$typeof: t, type: s, key: p, ref: h, props: u, _owner: n.current };
}
return Ze.jsx = i, Ze.jsxs = i, Ze;
}
var Sr = {};
/** @license React v16.14.0
* 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 Vn;
function ri() {
return Vn || (Vn = 1, function(e) {
process.env.NODE_ENV !== "production" && function() {
var t = m, r = 60103, n = 60106;
e.Fragment = 60107;
var a = 60108, o = 60114, i = 60109, s = 60110, c = 60112, d = 60113, l = 60120, u = 60115, p = 60116, h = 60121, g = 60122, b = 60117, _ = 60129, A = 60131;
if (typeof Symbol == "function" && Symbol.for) {
var O = Symbol.for;
r = O("react.element"), n = O("react.portal"), e.Fragment = O("react.fragment"), a = O("react.strict_mode"), o = O("react.profiler"), i = O("react.provider"), s = O("react.context"), c = O("react.forward_ref"), d = O("react.suspense"), l = O("react.suspense_list"), u = O("react.memo"), p = O("react.lazy"), h = O("react.block"), g = O("react.server.block"), b = O("react.fundamental"), O("react.scope"), O("react.opaque.id"), _ = O("react.debug_trace_mode"), O("react.offscreen"), A = O("react.legacy_hidden");
}
var w = typeof Symbol == "function" && Symbol.iterator, M = "@@iterator";
function y(f) {
if (f === null || typeof f != "object")
return null;
var E = w && f[w] || f[M];
return typeof E == "function" ? E : null;
}
var D = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
function N(f) {
{
for (var E = arguments.length, x = new Array(E > 1 ? E - 1 : 0), k = 1; k < E; k++)
x[k - 1] = arguments[k];
ve("error", f, x);
}
}
function ve(f, E, x) {
{
var k = D.ReactDebugCurrentFrame, W = "";
if (ue) {
var F = X(ue.type), z = ue._owner;
W += V(F, ue._source, z && X(z.type));
}
W += k.getStackAddendum(), W !== "" && (E += "%s", x = x.concat([W]));
var P = x.map(function(ie) {
return "" + ie;
});
P.unshift("Warning: " + E), Function.prototype.apply.call(console[f], console, P);
}
}
var Z = !1;
function Q(f) {
return !!(typeof f == "string" || typeof f == "function" || f === e.Fragment || f === o || f === _ || f === a || f === d || f === l || f === A || Z || typeof f == "object" && f !== null && (f.$$typeof === p || f.$$typeof === u || f.$$typeof === i || f.$$typeof === s || f.$$typeof === c || f.$$typeof === b || f.$$typeof === h || f[0] === g));
}
var me = /^(.*)[\\\/]/;
function V(f, E, x) {
var k = "";
if (E) {
var W = E.fileName, F = W.replace(me, "");
if (/^index\./.test(F)) {
var z = W.match(me);
if (z) {
var P = z[1];
if (P) {
var ie = P.replace(me, "");
F = ie + "/" + F;
}
}
}
k = " (at " + F + ":" + E.lineNumber + ")";
} else x && (k = " (created by " + x + ")");
return `
in ` + (f || "Unknown") + k;
}
var Ke = 1;
function we(f) {
return f._status === Ke ? f._result : null;
}
function Je(f, E, x) {
var k = E.displayName || E.name || "";
return f.displayName || (k !== "" ? x + "(" + k + ")" : x);
}
function X(f) {
if (f == null)
return null;
if (typeof f.tag == "number" && N("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."), typeof f == "function")
return f.displayName || f.name || null;
if (typeof f == "string")
return f;
switch (f) {
case e.Fragment:
return "Fragment";
case n:
return "Portal";
case o:
return "Profiler";
case a:
return "StrictMode";
case d:
return "Suspense";
case l:
return "SuspenseList";
}
if (typeof f == "object")
switch (f.$$typeof) {
case s:
return "Context.Consumer";
case i:
return "Context.Provider";
case c:
return Je(f, f.render, "ForwardRef");
case u:
return X(f.type);
case h:
return X(f.render);
case p: {
var E = f, x = we(E);
if (x)
return X(x);
break;
}
}
return null;
}
var Ue = {};
D.ReactDebugCurrentFrame;
var ue = null;
function ge(f) {
ue = f;
}
function $e(f, E, x, k, W) {
{
var F = Function.call.bind(Object.prototype.hasOwnProperty);
for (var z in f)
if (F(f, z)) {
var P = void 0;
try {
if (typeof f[z] != "function") {
var ie = Error((k || "React class") + ": " + x + " type `" + z + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof f[z] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
throw ie.name = "Invariant Violation", ie;
}
P = f[z](E, z, k, x, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
} catch (Oe) {
P = Oe;
}
P && !(P instanceof Error) && (ge(W), N("%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).", k || "React class", x, z, typeof P), ge(null)), P instanceof Error && !(P.message in Ue) && (Ue[P.message] = !0, ge(W), N("Failed %s type: %s", x, P.message), ge(null));
}
}
}
var fe = D.ReactCurrentOwner, Ee = Object.prototype.hasOwnProperty, Er = {
key: !0,
ref: !0,
__self: !0,
__source: !0
}, Gt, qt, pt;
pt = {};
function Or(f) {
if (Ee.call(f, "ref")) {
var E = Object.getOwnPropertyDescriptor(f, "ref").get;
if (E && E.isReactWarning)
return !1;
}
return f.ref !== void 0;
}
function _r(f) {
if (Ee.call(f, "key")) {
var E = Object.getOwnPropertyDescriptor(f, "key").get;
if (E && E.isReactWarning)
return !1;
}
return f.key !== void 0;
}
function Tr(f, E) {
if (typeof f.ref == "string" && fe.current && E && fe.current.stateNode !== E) {
var x = X(fe.current.type);
pt[x] || (N('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', X(fe.current.type), f.ref), pt[x] = !0);
}
}
function Ar(f, E) {
{
var x = function() {
Gt || (Gt = !0, N("%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)", E));
};
x.isReactWarning = !0, Object.defineProperty(f, "key", {
get: x,
configurable: !0
});
}
}
function xr(f, E) {
{
var x = function() {
qt || (qt = !0, N("%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)", E));
};
x.isReactWarning = !0, Object.defineProperty(f, "ref", {
get: x,
configurable: !0
});
}
}
var R = function(f, E, x, k, W, F, z) {
var P = {
// This tag allows us to uniquely identify this as a React Element
$$typeof: r,
// Built-in properties that belong on the element
type: f,
key: E,
ref: x,
props: z,
// Record the component responsible for creating this element.
_owner: F
};
return P._store = {}, Object.defineProperty(P._store, "validated", {
configurable: !1,
enumerable: !1,
writable: !0,
value: !1
}), Object.defineProperty(P, "_self", {
configurable: !1,
enumerable: !1,
writable: !1,
value: k
}), Object.defineProperty(P, "_source", {
configurable: !1,
enumerable: !1,
writable: !1,
value: W
}), Object.freeze && (Object.freeze(P.props), Object.freeze(P)), P;
};
function ht(f, E, x, k, W) {
{
var F, z = {}, P = null, ie = null;
x !== void 0 && (P = "" + x), _r(E) && (P = "" + E.key), Or(E) && (ie = E.ref, Tr(E, W));
for (F in E)
Ee.call(E, F) && !Er.hasOwnProperty(F) && (z[F] = E[F]);
if (f && f.defaultProps) {
var Oe = f.defaultProps;
for (F in Oe)
z[F] === void 0 && (z[F] = Oe[F]);
}
if (P || ie) {
var ke = typeof f == "function" ? f.displayName || f.name || "Unknown" : f;
P && Ar(z, ke), ie && xr(z, ke);
}
return R(f, P, ie, W, k, fe.current, z);
}
}
var Le = D.ReactCurrentOwner;
D.ReactDebugCurrentFrame;
function Re(f) {
ue = f;
}
var Cr;
Cr = !1;
function Rr(f) {
return typeof f == "object" && f !== null && f.$$typeof === r;
}
function Mn() {
{
if (Le.current) {
var f = X(Le.current.type);
if (f)
return `
Check the render method of \`` + f + "`.";
}
return "";
}
}
function zo(f) {
return "";
}
var Dn = {};
function Vo(f) {
{
var E = Mn();
if (!E) {
var x = typeof f == "string" ? f : f.displayName || f.name;
x && (E = `
Check the top-level render call using <` + x + ">.");
}
return E;
}
}
function jn(f, E) {
{
if (!f._store || f._store.validated || f.key != null)
return;
f._store.validated = !0;
var x = Vo(E);
if (Dn[x])
return;
Dn[x] = !0;
var k = "";
f && f._owner && f._owner !== Le.current && (k = " It was passed a child from " + X(f._owner.type) + "."), Re(f), N('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', x, k), Re(null);
}
}
function Bn(f, E) {
{
if (typeof f != "object")
return;
if (Array.isArray(f))
for (var x = 0; x < f.length; x++) {
var k = f[x];
Rr(k) && jn(k, E);
}
else if (Rr(f))
f._store && (f._store.validated = !0);
else if (f) {
var W = y(f);
if (typeof W == "function" && W !== f.entries)
for (var F = W.call(f), z; !(z = F.next()).done; )
Rr(z.value) && jn(z.value, E);
}
}
}
function Go(f) {
{
var E = f.type;
if (E == null || typeof E == "string")
return;
var x;
if (typeof E == "function")
x = E.propTypes;
else if (typeof E == "object" && (E.$$typeof === c || // Note: Memo only checks outer props here.
// Inner props are checked in the reconciler.
E.$$typeof === u))
x = E.propTypes;
else
return;
if (x) {
var k = X(E);
$e(x, f.props, "prop", k, f);
} else if (E.PropTypes !== void 0 && !Cr) {
Cr = !0;
var W = X(E);
N("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", W || "Unknown");
}
typeof E.getDefaultProps == "function" && !E.getDefaultProps.isReactClassApproved && N("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
}
}
function qo(f) {
{
for (var E = Object.keys(f.props), x = 0; x < E.length; x++) {
var k = E[x];
if (k !== "children" && k !== "key") {
Re(f), N("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", k), Re(null);
break;
}
}
f.ref !== null && (Re(f), N("Invalid attribute `ref` supplied to `React.Fragment`."), Re(null));
}
}
function Un(f, E, x, k, W, F) {
{
var z = Q(f);
if (!z) {
var P = "";
(f === void 0 || typeof f == "object" && f !== null && Object.keys(f).length === 0) && (P += " 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 ie = zo();
ie ? P += ie : P += Mn();
var Oe;
f === null ? Oe = "null" : Array.isArray(f) ? Oe = "array" : f !== void 0 && f.$$typeof === r ? (Oe = "<" + (X(f.type) || "Unknown") + " />", P = " Did you accidentally export a JSX literal instead of a component?") : Oe = typeof f, N("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Oe, P);
}
var ke = ht(f, E, x, W, F);
if (ke == null)
return ke;
if (z) {
var Xe = E.children;
if (Xe !== void 0)
if (k)
if (Array.isArray(Xe)) {
for (var Nr = 0; Nr < Xe.length; Nr++)
Bn(Xe[Nr], f);
Object.freeze && Object.freeze(Xe);
} else
N("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
Bn(Xe, f);
}
return f === e.Fragment ? qo(ke) : Go(ke), ke;
}
}
function Ho(f, E, x) {
return Un(f, E, x, !0);
}
function Fo(f, E, x) {
return Un(f, E, x, !1);
}
var Wo = Fo, Yo = Ho;
e.jsx = Wo, e.jsxs = Yo;
}();
}(Sr)), Sr;
}
process.env.NODE_ENV === "production" ? jr.exports = ti() : jr.exports = ri();
var T = jr.exports;
function ni(e) {
if (e.sheet)
return e.sheet;
for (var t = 0; t < document.styleSheets.length; t++)
if (document.styleSheets[t].ownerNode === e)
return document.styleSheets[t];
}
function ai(e) {
var t = document.createElement("style");
return t.setAttribute("data-emotion", e.key), e.nonce !== void 0 && t.setAttribute("nonce", e.nonce), t.appendChild(document.createTextNode("")), t.setAttribute("data-s", ""), t;
}
var oi = /* @__PURE__ */ function() {
function e(r) {
var n = this;
this._insertTag = function(a) {
var o;
n.tags.length === 0 ? n.insertionPoint ? o = n.insertionPoint.nextSibling : n.prepend ? o = n.container.firstChild : o = n.before : o = n.tags[n.tags.length - 1].nextSibling, n.container.insertBefore(a, o), n.tags.push(a);
}, this.isSpeedy = r.speedy === void 0 ? process.env.NODE_ENV === "production" : r.speedy, this.tags = [], this.ctr = 0, this.nonce = r.nonce, this.key = r.key, this.container = r.container, this.prepend = r.prepend, this.insertionPoint = r.insertionPoint, this.before = null;
}
var t = e.prototype;
return t.hydrate = function(n) {
n.forEach(this._insertTag);
}, t.insert = function(n) {
this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(ai(this));
var a = this.tags[this.tags.length - 1];
if (process.env.NODE_ENV !== "production") {
var o = n.charCodeAt(0) === 64 && n.charCodeAt(1) === 105;
o && this._alreadyInsertedOrderInsensitiveRule && console.error(`You're attempting to insert the following rule:
` + n + "\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."), this._alreadyInsertedOrderInsensitiveRule = this._alreadyInsertedOrderInsensitiveRule || !o;
}
if (this.isSpeedy) {
var i = ni(a);
try {
i.insertRule(n, i.cssRules.length);
} catch (s) {
process.env.NODE_ENV !== "production" && !/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(n) && console.error('There was a problem inserting the following rule: "' + n + '"', s);
}
} else
a.appendChild(document.createTextNode(n));
this.ctr++;
}, t.flush = function() {
this.tags.forEach(function(n) {
return n.parentNode && n.parentNode.removeChild(n);
}), this.tags = [], this.ctr = 0, process.env.NODE_ENV !== "production" && (this._alreadyInsertedOrderInsensitiveRule = !1);
}, e;
}(), re = "-ms-", Qt = "-moz-", j = "-webkit-", on = "comm", sn = "rule", ln = "decl", ii = "@import", La = "@keyframes", si = "@layer", li = Math.abs, or = String.fromCharCode, ci = Object.assign;
function ui(e, t) {
return ee(e, 0) ^ 45 ? (((t << 2 ^ ee(e, 0)) << 2 ^ ee(e, 1)) << 2 ^ ee(e, 2)) << 2 ^ ee(e, 3) : 0;
}
function ka(e) {
return e.trim();
}
function fi(e, t) {
return (e = t.exec(e)) ? e[0] : e;
}
function B(e, t, r) {
return e.replace(t, r);
}
function Br(e, t) {
return e.indexOf(t);
}
function ee(e, t) {
return e.charCodeAt(t) | 0;
}
function Ot(e, t, r) {
return e.slice(t, r);
}
function Te(e) {
return e.length;
}
function cn(e) {
return e.length;
}
function Ht(e, t) {
return t.push(e), e;
}
function di(e, t) {
return e.map(t).join("");
}
var ir = 1, rt = 1, Pa = 0, le = 0, K = 0, st = "";
function sr(e, t, r, n, a, o, i) {
return { value: e, root: t, parent: r, type: n, props: a, children: o, line: ir, column: rt, length: i, return: "" };
}
function mt(e, t) {
return ci(sr("", null, null, "", null, null, 0), e, { length: -e.length }, t);
}
function pi() {
return K;
}
function hi() {
return K = le > 0 ? ee(st, --le) : 0, rt--, K === 10 && (rt = 1, ir--), K;
}
function pe() {
return K = le < Pa ? ee(st, le++) : 0, rt++, K === 10 && (rt = 1, ir++), K;
}
function Ce() {
return ee(st, le);
}
function Yt() {
return le;
}
function kt(e, t) {
return Ot(st, e, t);
}
function _t(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 Ia(e) {
return ir = rt = 1, Pa = Te(st = e), le = 0, [];
}
function Ma(e) {
return st = "", e;
}
function Kt(e) {
return ka(kt(le - 1, Ur(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
}
function mi(e) {
for (; (K = Ce()) && K < 33; )
pe();
return _t(e) > 2 || _t(K) > 3 ? "" : " ";
}
function gi(e, t) {
for (; --t && pe() && !(K < 48 || K > 102 || K > 57 && K < 65 || K > 70 && K < 97); )
;
return kt(e, Yt() + (t < 6 && Ce() == 32 && pe() == 32));
}
function Ur(e) {
for (; pe(); )
switch (K) {
case e:
return le;
case 34:
case 39:
e !== 34 && e !== 39 && Ur(K);
break;
case 40:
e === 41 && Ur(e);
break;
case 92:
pe();
break;
}
return le;
}
function bi(e, t) {
for (; pe() && e + K !== 57; )
if (e + K === 84 && Ce() === 47)
break;
return "/*" + kt(t, le - 1) + "*" + or(e === 47 ? e : pe());
}
function vi(e) {
for (; !_t(Ce()); )
pe();
return kt(e, le);
}
function yi(e) {
return Ma(Jt("", null, null, null, [""], e = Ia(e), 0, [0], e));
}
function Jt(e, t, r, n, a, o, i, s, c) {
for (var d = 0, l = 0, u = i, p = 0, h = 0, g = 0, b = 1, _ = 1, A = 1, O = 0, w = "", M = a, y = o, D = n, N = w; _; )
switch (g = O, O = pe()) {
case 40:
if (g != 108 && ee(N, u - 1) == 58) {
Br(N += B(Kt(O), "&", "&\f"), "&\f") != -1 && (A = -1);
break;
}
case 34:
case 39:
case 91:
N += Kt(O);
break;
case 9:
case 10:
case 13:
case 32:
N += mi(g);
break;
case 92:
N += gi(Yt() - 1, 7);
continue;
case 47:
switch (Ce()) {
case 42:
case 47:
Ht(Ei(bi(pe(), Yt()), t, r), c);
break;
default:
N += "/";
}
break;
case 123 * b:
s[d++] = Te(N) * A;
case 125 * b:
case 59:
case 0:
switch (O) {
case 0:
case 125:
_ = 0;
case 59 + l:
A == -1 && (N = B(N, /\f/g, "")), h > 0 && Te(N) - u && Ht(h > 32 ? qn(N + ";", n, r, u - 1) : qn(B(N, " ", "") + ";", n, r, u - 2), c);
break;
case 59:
N += ";";
default:
if (Ht(D = Gn(N, t, r, d, l, a, s, w, M = [], y = [], u), o), O === 123)
if (l === 0)
Jt(N, t, D, D, M, o, u, s, y);
else
switch (p === 99 && ee(N, 3) === 110 ? 100 : p) {
case 100:
case 108:
case 109:
case 115:
Jt(e, D, D, n && Ht(Gn(e, D, D, 0, 0, a, s, w, a, M = [], u), y), a, y, u, s, n ? M : y);
break;
default:
Jt(N, D, D, D, [""], y, 0, s, y);
}
}
d = l = h = 0, b = A = 1, w = N = "", u = i;
break;
case 58:
u = 1 + Te(N), h = g;
default:
if (b < 1) {
if (O == 123)
--b;
else if (O == 125 && b++ == 0 && hi() == 125)
continue;
}
switch (N += or(O), O * b) {
case 38:
A = l > 0 ? 1 : (N += "\f", -1);
break;
case 44:
s[d++] = (Te(N) - 1) * A, A = 1;
break;
case 64:
Ce() === 45 && (N += Kt(pe())), p = Ce(), l = u = Te(w = N += vi(Yt())), O++;
break;
case 45:
g === 45 && Te(N) == 2 && (b = 0);
}
}
return o;
}
function Gn(e, t, r, n, a, o, i, s, c, d, l) {
for (var u = a - 1, p = a === 0 ? o : [""], h = cn(p), g = 0, b = 0, _ = 0; g < n; ++g)
for (var A = 0, O = Ot(e, u + 1, u = li(b = i[g])), w = e; A < h; ++A)
(w = ka(b > 0 ? p[A] + " " + O : B(O, /&\f/g, p[A]))) && (c[_++] = w);
return sr(e, t, r, a === 0 ? sn : s, c, d, l);
}
function Ei(e, t, r) {
return sr(e, t, r, on, or(pi()), Ot(e, 2, -2), 0);
}
function qn(e, t, r, n) {
return sr(e, t, r, ln, Ot(e, 0, n), Ot(e, n + 1, -1), n);
}
function et(e, t) {
for (var r = "", n = cn(e), a = 0; a < n; a++)
r += t(e[a], a, e, t) || "";
return r;
}
function Oi(e, t, r, n) {
switch (e.type) {
case si:
if (e.children.length) break;
case ii:
case ln:
return e.return = e.return || e.value;
case on:
return "";
case La:
return e.return = e.value + "{" + et(e.children, n) + "}";
case sn:
e.value = e.props.join(",");
}
return Te(r = et(e.children, n)) ? e.return = e.value + "{" + r + "}" : "";
}
function _i(e) {
var t = cn(e);
return function(r, n, a, o) {
for (var i = "", s = 0; s < t; s++)
i += e[s](r, n, a, o) || "";
return i;
};
}
function Ti(e) {
return function(t) {
t.root || (t = t.return) && e(t);
};
}
var Hn = function(t) {
var r = /* @__PURE__ */ new WeakMap();
return function(n) {
if (r.has(n))
return r.get(n);
var a = t(n);
return r.set(n, a), a;
};
};
function Da(e) {
var t = /* @__PURE__ */ Object.create(null);
return function(r) {
return t[r] === void 0 && (t[r] = e(r)), t[r];
};
}
var Ai = function(t, r, n) {
for (var a = 0, o = 0; a = o, o = Ce(), a === 38 && o === 12 && (r[n] = 1), !_t(o); )
pe();
return kt(t, le);
}, xi = function(t, r) {
var n = -1, a = 44;
do
switch (_t(a)) {
case 0:
a === 38 && Ce() === 12 && (r[n] = 1), t[n] += Ai(le - 1, r, n);
break;
case 2:
t[n] += Kt(a);
break;
case 4:
if (a === 44) {
t[++n] = Ce() === 58 ? "&\f" : "", r[n] = t[n].length;
break;
}
default:
t[n] += or(a);
}
while (a = pe());
return t;
}, Ci = function(t, r) {
return Ma(xi(Ia(t), r));
}, Fn = /* @__PURE__ */ new WeakMap(), Ri = function(t) {
if (!(t.type !== "rule" || !t.parent || // positive .length indicates that this rule contains pseudo
// negative .length indicates that this rule has been already prefixed
t.length < 1)) {
for (var r = t.value, n = t.parent, a = t.column === n.column && t.line === n.line; n.type !== "rule"; )
if (n = n.parent, !n) return;
if (!(t.props.length === 1 && r.charCodeAt(0) !== 58 && !Fn.get(n)) && !a) {
Fn.set(t, !0);
for (var o = [], i = Ci(r, o), s = n.props, c = 0, d = 0; c < i.length; c++)
for (var l = 0; l < s.length; l++, d++)
t.props[d] = o[c] ? i[c].replace(/&\f/g, s[l]) : s[l] + " " + i[c];
}
}
}, Ni = function(t) {
if (t.type === "decl") {
var r = t.value;
// charcode for l
r.charCodeAt(0) === 108 && // charcode for b
r.charCodeAt(2) === 98 && (t.return = "", t.value = "");
}
}, Si = "emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason", wi = function(t) {
return t.type === "comm" && t.children.indexOf(Si) > -1;
}, Li = function(t) {
return function(r, n, a) {
if (!(r.type !== "rule" || t.compat)) {
var o = r.value.match(/(:first|:nth|:nth-last)-child/g);
if (o) {
for (var i = !!r.parent, s = i ? r.parent.children : (
// global rule at the root level
a
), c = s.length - 1; c >= 0; c--) {
var d = s[c];
if (d.line < r.line)
break;
if (d.column < r.column) {
if (wi(d))
return;
break;
}
}
o.forEach(function(l) {
console.error('The pseudo class "' + l + '" is potentially unsafe when doing server-side rendering. Try changing it to "' + l.split("-child")[0] + '-of-type".');
});
}
}
};
}, ja = function(t) {
return t.type.charCodeAt(1) === 105 && t.type.charCodeAt(0) === 64;
}, ki = function(t, r) {
for (var n = t - 1; n >= 0; n--)
if (!ja(r[n]))
return !0;
return !1;
}, Wn = function(t) {
t.type = "", t.value = "", t.return = "", t.children = "", t.props = "";
}, Pi = function(t, r, n) {
ja(t) && (t.parent ? (console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."), Wn(t)) : ki(r, n) && (console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."), Wn(t)));
};
function Ba(e, t) {
switch (ui(e, t)) {
case 5103:
return j + "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 j + e + e;
case 5349:
case 4246:
case 4810:
case 6968:
case 2756:
return j + e + Qt + e + re + e + e;
case 6828:
case 4268:
return j + e + re + e + e;
case 6165:
return j + e + re + "flex-" + e + e;
case 5187:
return j + e + B(e, /(\w+).+(:[^]+)/, j + "box-$1$2" + re + "flex-$1$2") + e;
case 5443:
return j + e + re + "flex-item-" + B(e, /flex-|-self/, "") + e;
case 4675:
return j + e + re + "flex-line-pack" + B(e, /align-content|flex-|-self/, "") + e;
case 5548:
return j + e + re + B(e, "shrink", "negative") + e;
case 5292:
return j + e + re + B(e, "basis", "preferred-size") + e;
case 6060:
return j + "box-" + B(e, "-grow", "") + j + e + re + B(e, "grow", "positive") + e;
case 4554:
return j + B(e, /([^-])(transform)/g, "$1" + j + "$2") + e;
case 6187:
return B(B(B(e, /(zoom-|grab)/, j + "$1"), /(image-set)/, j + "$1"), e, "") + e;
case 5495:
case 3959:
return B(e, /(image-set\([^]*)/, j + "$1$`$1");
case 4968:
return B(B(e, /(.+:)(flex-)?(.*)/, j + "box-pack:$3" + re + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + j + e + e;
case 4095:
case 3583:
case 4068:
case 2532:
return B(e, /(.+)-inline(.+)/, j + "$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 (Te(e) - 1 - t > 6) switch (ee(e, t + 1)) {
case 109:
if (ee(e, t + 4) !== 45) break;
case 102:
return B(e, /(.+:)(.+)-([^]+)/, "$1" + j + "$2-$3$1" + Qt + (ee(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
case 115:
return ~Br(e, "stretch") ? Ba(B(e, "stretch", "fill-available"), t) + e : e;
}
break;
case 4949:
if (ee(e, t + 1) !== 115) break;
case 6444:
switch (ee(e, Te(e) - 3 - (~Br(e, "!important") && 10))) {
case 107:
return B(e, ":", ":" + j) + e;
case 101:
return B(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + j + (ee(e, 14) === 45 ? "inline-" : "") + "box$3$1" + j + "$2$3$1" + re + "$2box$3") + e;
}
break;
case 5936:
switch (ee(e, t + 11)) {
case 114:
return j + e + re + B(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
case 108:
return j + e + re + B(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
case 45:
return j + e + re + B(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
}
return j + e + re + e + e;
}
return e;
}
var Ii = function(t, r, n, a) {
if (t.length > -1 && !t.return) switch (t.type) {
case ln:
t.return = Ba(t.value, t.length);
break;
case La:
return et([mt(t, {
value: B(t.value, "@", "@" + j)
})], a);
case sn:
if (t.length) return di(t.props, function(o) {
switch (fi(o, /(::plac\w+|:read-\w+)/)) {
case ":read-only":
case ":read-write":
return et([mt(t, {
props: [B(o, /:(read-\w+)/, ":" + Qt + "$1")]
})], a);
case "::placeholder":
return et([mt(t, {
props: [B(o, /:(plac\w+)/, ":" + j + "input-$1")]
}), mt(t, {
props: [B(o, /:(plac\w+)/, ":" + Qt + "$1")]
}), mt(t, {
props: [B(o, /:(plac\w+)/, re + "input-$1")]
})], a);
}
return "";
});
}
}, Mi = [Ii], Di = function(t) {
var r = t.key;
if (process.env.NODE_ENV !== "production" && !r)
throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
If multiple caches share the same key they might "fight" for each other's style elements.`);
if (r === "css") {
var n = document.querySelectorAll("style[data-emotion]:not([data-s])");
Array.prototype.forEach.call(n, function(b) {
var _ = b.getAttribute("data-emotion");
_.indexOf(" ") !== -1 && (document.head.appendChild(b), b.setAttribute("data-s", ""));
});
}
var a = t.stylisPlugins || Mi;
if (process.env.NODE_ENV !== "production" && /[^a-z-]/.test(r))
throw new Error('Emotion key must only contain lower case alphabetical characters and - but "' + r + '" was passed');
var o = {}, i, s = [];
i = t.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^="' + r + ' "]'),
function(b) {
for (var _ = b.getAttribute("data-emotion").split(" "), A = 1; A < _.length; A++)
o[_[A]] = !0;
s.push(b);
}
);
var c, d = [Ri, Ni];
process.env.NODE_ENV !== "production" && d.push(Li({
get compat() {
return g.compat;
}
}), Pi);
{
var l, u = [Oi, process.env.NODE_ENV !== "production" ? function(b) {
b.root || (b.return ? l.insert(b.return) : b.value && b.type !== on && l.insert(b.value + "{}"));
} : Ti(function(b) {
l.insert(b);
})], p = _i(d.concat(a, u)), h = function(_) {
return et(yi(_), p);
};
c = function(_, A, O, w) {
l = O, process.env.NODE_ENV !== "production" && A.map !== void 0 && (l = {
insert: function(y) {
O.insert(y + A.map);
}
}), h(_ ? _ + "{" + A.styles + "}" : A.styles), w && (g.inserted[A.name] = !0);
};
}
var g = {
key: r,
sheet: new oi({
key: r,
container: i,
nonce: t.nonce,
speedy: t.speedy,
prepend: t.prepend,
insertionPoint: t.insertionPoint
}),
nonce: t.nonce,
inserted: o,
registered: {},
insert: c
};
return g.sheet.hydrate(s), g;
};
function Tt() {
return Tt = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var r = arguments[t];
for (var n in r) ({}).hasOwnProperty.call(r, n) && (e[n] = r[n]);
}
return e;
}, Tt.apply(null, arguments);
}
var $r = { exports: {} }, U = {};
/** @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 Yn;
function ji() {
if (Yn) return U;
Yn = 1;
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, l = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, _ = e ? Symbol.for("react.fundamental") : 60117, A = e ? Symbol.for("react.responder") : 60118, O = e ? Symbol.for("react.scope") : 60119;
function w(y) {
if (typeof y == "object" && y !== null) {
var D = y.$$typeof;
switch (D) {
case t:
switch (y = y.type, y) {
case c:
case d:
case n:
case o:
case a:
case u:
return y;
default:
switch (y = y && y.$$typeof, y) {
case s:
case l:
case g:
case h:
case i:
return y;
default:
return D;
}
}
case r:
return D;
}
}
}
function M(y) {
return w(y) === d;
}
return U.AsyncMode = c, U.ConcurrentMode = d, U.ContextConsumer = s, U.ContextProvider = i, U.Element = t, U.ForwardRef = l, U.Fragment = n, U.Lazy = g, U.Memo = h, U.Portal = r, U.Profiler = o, U.StrictMode = a, U.Suspense = u, U.isAsyncMode = function(y) {
return M(y) || w(y) === c;
}, U.isConcurrentMode = M, U.isContextConsumer = function(y) {
return w(y) === s;
}, U.isContextProvider = function(y) {
return w(y) === i;
}, U.isElement = function(y) {
return typeof y == "object" && y !== null && y.$$typeof === t;
}, U.isForwardRef = function(y) {
return w(y) === l;
}, U.isFragment = function(y) {
return w(y) === n;
}, U.isLazy = function(y) {
return w(y) === g;
}, U.isMemo = function(y) {
return w(y) === h;
}, U.isPortal = function(y) {
return w(y) === r;
}, U.isProfiler = function(y) {
return w(y) === o;
}, U.isStrictMode = function(y) {
return w(y) === a;
}, U.isSuspense = function(y) {
return w(y) === u;
}, U.isValidElementType = function(y) {
return typeof y == "string" || typeof y == "function" || y === n || y === d || y === o || y === a || y === u || y === p || typeof y == "object" && y !== null && (y.$$typeof === g || y.$$typeof === h || y.$$typeof === i || y.$$typeof === s || y.$$typeof === l || y.$$typeof === _ || y.$$typeof === A || y.$$typeof === O || y.$$typeof === b);
}, U.typeOf = w, U;
}
var $ = {};
/** @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 Kn;
function Bi() {
return Kn || (Kn = 1, process.env.NODE_ENV !== "production" && function() {
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, l = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, _ = e ? Symbol.for("react.fundamental") : 60117, A = e ? Symbol.for("react.responder") : 60118, O = e ? Symbol.for("react.scope") : 60119;
function w(R) {
return typeof R == "string" || typeof R == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
R === n || R === d || R === o || R === a || R === u || R === p || typeof R == "object" && R !== null && (R.$$typeof === g || R.$$typeof === h || R.$$typeof === i || R.$$typeof === s || R.$$typeof === l || R.$$typeof === _ || R.$$typeof === A || R.$$typeof === O || R.$$typeof === b);
}
function M(R) {
if (typeof R == "object" && R !== null) {
var ht = R.$$typeof;
switch (ht) {
case t:
var Le = R.type;
switch (Le) {
case c:
case d:
case n:
case o:
case a:
case u:
return Le;
default:
var Re = Le && Le.$$typeof;
switch (Re) {
case s:
case l:
case g:
case h:
case i:
return Re;
default:
return ht;
}
}
case r:
return ht;
}
}
}
var y = c, D = d, N = s, ve = i, Z = t, Q = l, me = n, V = g, Ke = h, we = r, Je = o, X = a, Ue = u, ue = !1;
function ge(R) {
return ue || (ue = !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.")), $e(R) || M(R) === c;
}
function $e(R) {
return M(R) === d;
}
function fe(R) {
return M(R) === s;
}
function Ee(R) {
return M(R) === i;
}
function Er(R) {
return typeof R == "object" && R !== null && R.$$typeof === t;
}
function Gt(R) {
return M(R) === l;
}
function qt(R) {
return M(R) === n;
}
function pt(R) {
return M(R) === g;
}
function Or(R) {
return M(R) === h;
}
function _r(R) {
return M(R) === r;
}
function Tr(R) {
return M(R) === o;
}
function Ar(R) {
return M(R) === a;
}
function xr(R) {
return M(R) === u;
}
$.AsyncMode = y, $.ConcurrentMode = D, $.ContextConsumer = N, $.ContextProvider = ve, $.Element = Z, $.ForwardRef = Q, $.Fragment = me, $.Lazy = V, $.Memo = Ke, $.Portal = we, $.Profiler = Je, $.StrictMode = X, $.Suspense = Ue, $.isAsyncMode = ge, $.isConcurrentMode = $e, $.isContextConsumer = fe, $.isContextProvider = Ee, $.isElement = Er, $.isForwardRef = Gt, $.isFragment = qt, $.isLazy = pt, $.isMemo = Or, $.isPortal = _r, $.isProfiler = Tr, $.isStrictMode = Ar, $.isSuspense = xr, $.isValidElementType = w, $.typeOf = M;
}()), $;
}
process.env.NODE_ENV === "production" ? $r.exports = ji() : $r.exports = Bi();
var Ui = $r.exports, un = Ui, $i = {
childContextTypes: !0,
contextType: !0,
contextTypes: !0,
defaultProps: !0,
displayName: !0,
getDefaultProps: !0,
getDerivedStateFromError: !0,
getDerivedStateFromProps: !0,
mixins: !0,
propTypes: !0,
type: !0
}, zi = {
name: !0,
length: !0,
prototype: !0,
caller: !0,
callee: !0,
arguments: !0,
arity: !0
}, Vi = {
$$typeof: !0,
render: !0,
defaultProps: !0,
displayName: !0,
propTypes: !0
}, Ua = {
$$typeof: !0,
compare: !0,
defaultProps: !0,
displayName: !0,
propTypes: !0,
type: !0
}, fn = {};
fn[un.ForwardRef] = Vi;
fn[un.Memo] = Ua;
function Jn(e) {
return un.isMemo(e) ? Ua : fn[e.$$typeof] || $i;
}
var Gi = Object.defineProperty, qi = Object.getOwnPropertyNames, Xn = Object.getOwnPropertySymbols, Hi = Object.getOwnPropertyDescriptor, Fi = Object.getPrototypeOf, Zn = Object.prototype;
function $a(e, t, r) {
if (typeof t != "string") {
if (Zn) {
var n = Fi(t);
n && n !== Zn && $a(e, n, r);
}
var a = qi(t);
Xn && (a = a.concat(Xn(t)));
for (var o = Jn(e), i = Jn(t), s = 0; s < a.length; ++s) {
var c = a[s];
if (!zi[c] && !(r && r[c]) && !(i && i[c]) && !(o && o[c])) {
var d = Hi(t, c);
try {
Gi(e, c, d);
} catch {
}
}
}
}
return e;
}
var Wi = $a;
const Yi = /* @__PURE__ */ an(Wi);
var Ki = function(e, t) {
return Yi(e, t);
}, Ji = !0;
function za(e, t, r) {
var n = "";
return r.split(" ").forEach(function(a) {
e[a] !== void 0 ? t.push(e[a] + ";") : n += a + " ";
}), n;
}
var dn = function(t, r, n) {
var a = t.key + "-" + r.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
(n === !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
Ji === !1) && t.registered[a] === void 0 && (t.registered[a] = r.styles);
}, Va = function(t, r, n) {
dn(t, r, n);
var a = t.key + "-" + r.name;
if (t.inserted[r.name] === void 0) {
var o = r;
do
t.insert(r === o ? "." + a : "", o, t.sheet, !0), o = o.next;
while (o !== void 0);
}
};
function Xi(e) {
for (var t = 0, r, n = 0, a = e.length; a >= 4; ++n, a -= 4)
r = e.charCodeAt(n) & 255 | (e.charCodeAt(++n) & 255) << 8 | (e.charCodeAt(++n) & 255) << 16 | (e.charCodeAt(++n) & 255) << 24, r = /* Math.imul(k, m): */
(r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), r ^= /* k >>> r: */
r >>> 24, t = /* Math.imul(k, m): */
(r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
switch (a) {
case 3:
t ^= (e.charCodeAt(n + 2) & 255) << 16;
case 2:
t ^= (e.charCodeAt(n + 1) & 255) << 8;
case 1:
t ^= e.charCodeAt(n) & 255, t = /* Math.imul(h, m): */
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
}
return t ^= t >>> 13, t = /* Math.imul(h, m): */
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
}
var Zi = {
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,
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
}, Qn = `You have illegal escape sequence in your template literal, most likely inside content's property value.
Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
You can read more about this here:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`, Qi = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).", es = /[A-Z]|^ms/g, Ga = /_EMO_([^_]+?)_([^]*?)_EMO_/g, pn = function(t) {
return t.charCodeAt(1) === 45;
}, ea = function(t) {
return t != null && typeof t != "boolean";
}, wr = /* @__PURE__ */ Da(function(e) {
return pn(e) ? e : e.replace(es, "-$&").toLowerCase();
}), er = function(t, r) {
switch (t) {
case "animation":
case "animationName":
if (typeof r == "string")
return r.replace(Ga, function(n, a, o) {
return ye = {
name: a,
styles: o,
next: ye
}, a;
});
}
return Zi[t] !== 1 && !pn(t) && typeof r == "number" && r !== 0 ? r + "px" : r;
};
if (process.env.NODE_ENV !== "production") {
var ts = /(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/, rs = ["normal", "none