kylin-ui-component
Version:
A React UI library for some developers to develop quickly
1,343 lines (1,324 loc) • 72.6 kB
JavaScript
import ae, { useRef as Zr, useDebugValue as Wt, createElement as Qr, useContext as en } from "react";
var gt = { exports: {} }, $e = {};
/**
* @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 Bt;
function tn() {
if (Bt)
return $e;
Bt = 1;
var e = ae, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, a = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
function c(f, l, m) {
var h, g = {}, y = null, w = null;
m !== void 0 && (y = "" + m), l.key !== void 0 && (y = "" + l.key), l.ref !== void 0 && (w = l.ref);
for (h in l)
o.call(l, h) && !i.hasOwnProperty(h) && (g[h] = l[h]);
if (f && f.defaultProps)
for (h in l = f.defaultProps, l)
g[h] === void 0 && (g[h] = l[h]);
return { $$typeof: t, type: f, key: y, ref: w, props: g, _owner: a.current };
}
return $e.Fragment = r, $e.jsx = c, $e.jsxs = c, $e;
}
var De = {};
/**
* @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 Ut;
function rn() {
return Ut || (Ut = 1, process.env.NODE_ENV !== "production" && function() {
var e = ae, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), f = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), w = Symbol.for("react.offscreen"), k = Symbol.iterator, I = "@@iterator";
function F(n) {
if (n === null || typeof n != "object")
return null;
var s = k && n[k] || n[I];
return typeof s == "function" ? s : null;
}
var _ = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
function b(n) {
{
for (var s = arguments.length, u = new Array(s > 1 ? s - 1 : 0), p = 1; p < s; p++)
u[p - 1] = arguments[p];
M("error", n, u);
}
}
function M(n, s, u) {
{
var p = _.ReactDebugCurrentFrame, R = p.getStackAddendum();
R !== "" && (s += "%s", u = u.concat([R]));
var P = u.map(function(E) {
return String(E);
});
P.unshift("Warning: " + s), Function.prototype.apply.call(console[n], console, P);
}
}
var A = !1, C = !1, O = !1, d = !1, L = !1, K;
K = Symbol.for("react.module.reference");
function ie(n) {
return !!(typeof n == "string" || typeof n == "function" || n === o || n === i || L || n === a || n === m || n === h || d || n === w || A || C || O || typeof n == "object" && n !== null && (n.$$typeof === y || n.$$typeof === g || n.$$typeof === c || n.$$typeof === f || n.$$typeof === l || // 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.
n.$$typeof === K || n.getModuleId !== void 0));
}
function ot(n, s, u) {
var p = n.displayName;
if (p)
return p;
var R = s.displayName || s.name || "";
return R !== "" ? u + "(" + R + ")" : u;
}
function Me(n) {
return n.displayName || "Context";
}
function H(n) {
if (n == null)
return null;
if (typeof n.tag == "number" && b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof n == "function")
return n.displayName || n.name || null;
if (typeof n == "string")
return n;
switch (n) {
case o:
return "Fragment";
case r:
return "Portal";
case i:
return "Profiler";
case a:
return "StrictMode";
case m:
return "Suspense";
case h:
return "SuspenseList";
}
if (typeof n == "object")
switch (n.$$typeof) {
case f:
var s = n;
return Me(s) + ".Consumer";
case c:
var u = n;
return Me(u._context) + ".Provider";
case l:
return ot(n, n.render, "ForwardRef");
case g:
var p = n.displayName || null;
return p !== null ? p : H(n.type) || "Memo";
case y: {
var R = n, P = R._payload, E = R._init;
try {
return H(E(P));
} catch {
return null;
}
}
}
return null;
}
var ee = Object.assign, se = 0, Le, ze, Ve, ve, q, fe, ce;
function z() {
}
z.__reactDisabledLog = !0;
function Te() {
{
if (se === 0) {
Le = console.log, ze = console.info, Ve = console.warn, ve = console.error, q = console.group, fe = console.groupCollapsed, ce = console.groupEnd;
var n = {
configurable: !0,
enumerable: !0,
value: z,
writable: !0
};
Object.defineProperties(console, {
info: n,
log: n,
warn: n,
error: n,
group: n,
groupCollapsed: n,
groupEnd: n
});
}
se++;
}
}
function Ae() {
{
if (se--, se === 0) {
var n = {
configurable: !0,
enumerable: !0,
writable: !0
};
Object.defineProperties(console, {
log: ee({}, n, {
value: Le
}),
info: ee({}, n, {
value: ze
}),
warn: ee({}, n, {
value: Ve
}),
error: ee({}, n, {
value: ve
}),
group: ee({}, n, {
value: q
}),
groupCollapsed: ee({}, n, {
value: fe
}),
groupEnd: ee({}, n, {
value: ce
})
});
}
se < 0 && b("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
}
}
var ue = _.ReactCurrentDispatcher, te;
function re(n, s, u) {
{
if (te === void 0)
try {
throw Error();
} catch (R) {
var p = R.stack.trim().match(/\n( *(at )?)/);
te = p && p[1] || "";
}
return `
` + te + n;
}
}
var J = !1, W;
{
var Ie = typeof WeakMap == "function" ? WeakMap : Map;
W = new Ie();
}
function de(n, s) {
if (!n || J)
return "";
{
var u = W.get(n);
if (u !== void 0)
return u;
}
var p;
J = !0;
var R = Error.prepareStackTrace;
Error.prepareStackTrace = void 0;
var P;
P = ue.current, ue.current = null, Te();
try {
if (s) {
var E = function() {
throw Error();
};
if (Object.defineProperty(E.prototype, "props", {
set: function() {
throw Error();
}
}), typeof Reflect == "object" && Reflect.construct) {
try {
Reflect.construct(E, []);
} catch (ne) {
p = ne;
}
Reflect.construct(n, [], E);
} else {
try {
E.call();
} catch (ne) {
p = ne;
}
n.call(E.prototype);
}
} else {
try {
throw Error();
} catch (ne) {
p = ne;
}
n();
}
} catch (ne) {
if (ne && p && typeof ne.stack == "string") {
for (var S = ne.stack.split(`
`), V = p.stack.split(`
`), N = S.length - 1, $ = V.length - 1; N >= 1 && $ >= 0 && S[N] !== V[$]; )
$--;
for (; N >= 1 && $ >= 0; N--, $--)
if (S[N] !== V[$]) {
if (N !== 1 || $ !== 1)
do
if (N--, $--, $ < 0 || S[N] !== V[$]) {
var B = `
` + S[N].replace(" at new ", " at ");
return n.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", n.displayName)), typeof n == "function" && W.set(n, B), B;
}
while (N >= 1 && $ >= 0);
break;
}
}
} finally {
J = !1, ue.current = P, Ae(), Error.prepareStackTrace = R;
}
var we = n ? n.displayName || n.name : "", Yt = we ? re(we) : "";
return typeof n == "function" && W.set(n, Yt), Yt;
}
function Z(n, s, u) {
return de(n, !1);
}
function Ar(n) {
var s = n.prototype;
return !!(s && s.isReactComponent);
}
function Ye(n, s, u) {
if (n == null)
return "";
if (typeof n == "function")
return de(n, Ar(n));
if (typeof n == "string")
return re(n);
switch (n) {
case m:
return re("Suspense");
case h:
return re("SuspenseList");
}
if (typeof n == "object")
switch (n.$$typeof) {
case l:
return Z(n.render);
case g:
return Ye(n.type, s, u);
case y: {
var p = n, R = p._payload, P = p._init;
try {
return Ye(P(R), s, u);
} catch {
}
}
}
return "";
}
var We = Object.prototype.hasOwnProperty, Tt = {}, At = _.ReactDebugCurrentFrame;
function Be(n) {
if (n) {
var s = n._owner, u = Ye(n.type, n._source, s ? s.type : null);
At.setExtraStackFrame(u);
} else
At.setExtraStackFrame(null);
}
function Ir(n, s, u, p, R) {
{
var P = Function.call.bind(We);
for (var E in n)
if (P(n, E)) {
var S = void 0;
try {
if (typeof n[E] != "function") {
var V = Error((p || "React class") + ": " + u + " type `" + E + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[E] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
throw V.name = "Invariant Violation", V;
}
S = n[E](s, E, p, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
} catch (N) {
S = N;
}
S && !(S instanceof Error) && (Be(R), b("%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).", p || "React class", u, E, typeof S), Be(null)), S instanceof Error && !(S.message in Tt) && (Tt[S.message] = !0, Be(R), b("Failed %s type: %s", u, S.message), Be(null));
}
}
}
var Nr = Array.isArray;
function at(n) {
return Nr(n);
}
function $r(n) {
{
var s = typeof Symbol == "function" && Symbol.toStringTag, u = s && n[Symbol.toStringTag] || n.constructor.name || "Object";
return u;
}
}
function Dr(n) {
try {
return It(n), !1;
} catch {
return !0;
}
}
function It(n) {
return "" + n;
}
function Nt(n) {
if (Dr(n))
return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", $r(n)), It(n);
}
var Ne = _.ReactCurrentOwner, jr = {
key: !0,
ref: !0,
__self: !0,
__source: !0
}, $t, Dt, it;
it = {};
function Fr(n) {
if (We.call(n, "ref")) {
var s = Object.getOwnPropertyDescriptor(n, "ref").get;
if (s && s.isReactWarning)
return !1;
}
return n.ref !== void 0;
}
function Mr(n) {
if (We.call(n, "key")) {
var s = Object.getOwnPropertyDescriptor(n, "key").get;
if (s && s.isReactWarning)
return !1;
}
return n.key !== void 0;
}
function Lr(n, s) {
if (typeof n.ref == "string" && Ne.current && s && Ne.current.stateNode !== s) {
var u = H(Ne.current.type);
it[u] || (b('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', H(Ne.current.type), n.ref), it[u] = !0);
}
}
function zr(n, s) {
{
var u = function() {
$t || ($t = !0, b("%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)", s));
};
u.isReactWarning = !0, Object.defineProperty(n, "key", {
get: u,
configurable: !0
});
}
}
function Vr(n, s) {
{
var u = function() {
Dt || (Dt = !0, b("%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)", s));
};
u.isReactWarning = !0, Object.defineProperty(n, "ref", {
get: u,
configurable: !0
});
}
}
var Yr = function(n, s, u, p, R, P, E) {
var S = {
// This tag allows us to uniquely identify this as a React Element
$$typeof: t,
// Built-in properties that belong on the element
type: n,
key: s,
ref: u,
props: E,
// Record the component responsible for creating this element.
_owner: P
};
return S._store = {}, Object.defineProperty(S._store, "validated", {
configurable: !1,
enumerable: !1,
writable: !0,
value: !1
}), Object.defineProperty(S, "_self", {
configurable: !1,
enumerable: !1,
writable: !1,
value: p
}), Object.defineProperty(S, "_source", {
configurable: !1,
enumerable: !1,
writable: !1,
value: R
}), Object.freeze && (Object.freeze(S.props), Object.freeze(S)), S;
};
function Wr(n, s, u, p, R) {
{
var P, E = {}, S = null, V = null;
u !== void 0 && (Nt(u), S = "" + u), Mr(s) && (Nt(s.key), S = "" + s.key), Fr(s) && (V = s.ref, Lr(s, R));
for (P in s)
We.call(s, P) && !jr.hasOwnProperty(P) && (E[P] = s[P]);
if (n && n.defaultProps) {
var N = n.defaultProps;
for (P in N)
E[P] === void 0 && (E[P] = N[P]);
}
if (S || V) {
var $ = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
S && zr(E, $), V && Vr(E, $);
}
return Yr(n, S, V, R, p, Ne.current, E);
}
}
var st = _.ReactCurrentOwner, jt = _.ReactDebugCurrentFrame;
function be(n) {
if (n) {
var s = n._owner, u = Ye(n.type, n._source, s ? s.type : null);
jt.setExtraStackFrame(u);
} else
jt.setExtraStackFrame(null);
}
var ct;
ct = !1;
function ut(n) {
return typeof n == "object" && n !== null && n.$$typeof === t;
}
function Ft() {
{
if (st.current) {
var n = H(st.current.type);
if (n)
return `
Check the render method of \`` + n + "`.";
}
return "";
}
}
function Br(n) {
{
if (n !== void 0) {
var s = n.fileName.replace(/^.*[\\\/]/, ""), u = n.lineNumber;
return `
Check your code at ` + s + ":" + u + ".";
}
return "";
}
}
var Mt = {};
function Ur(n) {
{
var s = Ft();
if (!s) {
var u = typeof n == "string" ? n : n.displayName || n.name;
u && (s = `
Check the top-level render call using <` + u + ">.");
}
return s;
}
}
function Lt(n, s) {
{
if (!n._store || n._store.validated || n.key != null)
return;
n._store.validated = !0;
var u = Ur(s);
if (Mt[u])
return;
Mt[u] = !0;
var p = "";
n && n._owner && n._owner !== st.current && (p = " It was passed a child from " + H(n._owner.type) + "."), be(n), b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, p), be(null);
}
}
function zt(n, s) {
{
if (typeof n != "object")
return;
if (at(n))
for (var u = 0; u < n.length; u++) {
var p = n[u];
ut(p) && Lt(p, s);
}
else if (ut(n))
n._store && (n._store.validated = !0);
else if (n) {
var R = F(n);
if (typeof R == "function" && R !== n.entries)
for (var P = R.call(n), E; !(E = P.next()).done; )
ut(E.value) && Lt(E.value, s);
}
}
}
function Gr(n) {
{
var s = n.type;
if (s == null || typeof s == "string")
return;
var u;
if (typeof s == "function")
u = s.propTypes;
else if (typeof s == "object" && (s.$$typeof === l || // Note: Memo only checks outer props here.
// Inner props are checked in the reconciler.
s.$$typeof === g))
u = s.propTypes;
else
return;
if (u) {
var p = H(s);
Ir(u, n.props, "prop", p, n);
} else if (s.PropTypes !== void 0 && !ct) {
ct = !0;
var R = H(s);
b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", R || "Unknown");
}
typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved && b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
}
}
function Hr(n) {
{
for (var s = Object.keys(n.props), u = 0; u < s.length; u++) {
var p = s[u];
if (p !== "children" && p !== "key") {
be(n), b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", p), be(null);
break;
}
}
n.ref !== null && (be(n), b("Invalid attribute `ref` supplied to `React.Fragment`."), be(null));
}
}
function Vt(n, s, u, p, R, P) {
{
var E = ie(n);
if (!E) {
var S = "";
(n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (S += " 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 V = Br(R);
V ? S += V : S += Ft();
var N;
n === null ? N = "null" : at(n) ? N = "array" : n !== void 0 && n.$$typeof === t ? (N = "<" + (H(n.type) || "Unknown") + " />", S = " Did you accidentally export a JSX literal instead of a component?") : N = typeof n, b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", N, S);
}
var $ = Wr(n, s, u, R, P);
if ($ == null)
return $;
if (E) {
var B = s.children;
if (B !== void 0)
if (p)
if (at(B)) {
for (var we = 0; we < B.length; we++)
zt(B[we], n);
Object.freeze && Object.freeze(B);
} else
b("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
zt(B, n);
}
return n === o ? Hr($) : Gr($), $;
}
}
function qr(n, s, u) {
return Vt(n, s, u, !0);
}
function Xr(n, s, u) {
return Vt(n, s, u, !1);
}
var Kr = Xr, Jr = qr;
De.Fragment = o, De.jsx = Kr, De.jsxs = Jr;
}()), De;
}
process.env.NODE_ENV === "production" ? gt.exports = tn() : gt.exports = rn();
var nn = gt.exports;
const Gt = nn.jsx;
var Y = function() {
return Y = Object.assign || function(t) {
for (var r, o = 1, a = arguments.length; o < a; o++) {
r = arguments[o];
for (var i in r)
Object.prototype.hasOwnProperty.call(r, i) && (t[i] = r[i]);
}
return t;
}, Y.apply(this, arguments);
};
function Ee(e, t, r) {
if (r || arguments.length === 2)
for (var o = 0, a = t.length, i; o < a; o++)
(i || !(o in t)) && (i || (i = Array.prototype.slice.call(t, 0, o)), i[o] = t[o]);
return e.concat(i || Array.prototype.slice.call(t));
}
function on(e) {
var t = /* @__PURE__ */ Object.create(null);
return function(r) {
return t[r] === void 0 && (t[r] = e(r)), t[r];
};
}
var an = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, sn = /* @__PURE__ */ on(
function(e) {
return an.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
}
/* Z+1 */
), T = "-ms-", Fe = "-moz-", x = "-webkit-", lr = "comm", et = "rule", Rt = "decl", cn = "@import", fr = "@keyframes", un = "@layer", ln = Math.abs, xt = String.fromCharCode, mt = Object.assign;
function fn(e, t) {
return j(e, 0) ^ 45 ? (((t << 2 ^ j(e, 0)) << 2 ^ j(e, 1)) << 2 ^ j(e, 2)) << 2 ^ j(e, 3) : 0;
}
function dr(e) {
return e.trim();
}
function oe(e, t) {
return (e = t.exec(e)) ? e[0] : e;
}
function v(e, t, r) {
return e.replace(t, r);
}
function qe(e, t) {
return e.indexOf(t);
}
function j(e, t) {
return e.charCodeAt(t) | 0;
}
function Re(e, t, r) {
return e.slice(t, r);
}
function Q(e) {
return e.length;
}
function pr(e) {
return e.length;
}
function je(e, t) {
return t.push(e), e;
}
function dn(e, t) {
return e.map(t).join("");
}
function Ht(e, t) {
return e.filter(function(r) {
return !oe(r, t);
});
}
var tt = 1, xe = 1, hr = 0, G = 0, D = 0, Pe = "";
function rt(e, t, r, o, a, i, c, f) {
return { value: e, root: t, parent: r, type: o, props: a, children: i, line: tt, column: xe, length: c, return: "", siblings: f };
}
function le(e, t) {
return mt(rt("", null, null, "", null, null, 0, e.siblings), e, { length: -e.length }, t);
}
function Se(e) {
for (; e.root; )
e = le(e.root, { children: [e] });
je(e, e.siblings);
}
function pn() {
return D;
}
function hn() {
return D = G > 0 ? j(Pe, --G) : 0, xe--, D === 10 && (xe = 1, tt--), D;
}
function X() {
return D = G < hr ? j(Pe, G++) : 0, xe++, D === 10 && (xe = 1, tt++), D;
}
function ge() {
return j(Pe, G);
}
function Xe() {
return G;
}
function nt(e, t) {
return Re(Pe, e, t);
}
function yt(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 gn(e) {
return tt = xe = 1, hr = Q(Pe = e), G = 0, [];
}
function mn(e) {
return Pe = "", e;
}
function lt(e) {
return dr(nt(G - 1, vt(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
}
function yn(e) {
for (; (D = ge()) && D < 33; )
X();
return yt(e) > 2 || yt(D) > 3 ? "" : " ";
}
function vn(e, t) {
for (; --t && X() && !(D < 48 || D > 102 || D > 57 && D < 65 || D > 70 && D < 97); )
;
return nt(e, Xe() + (t < 6 && ge() == 32 && X() == 32));
}
function vt(e) {
for (; X(); )
switch (D) {
case e:
return G;
case 34:
case 39:
e !== 34 && e !== 39 && vt(D);
break;
case 40:
e === 41 && vt(e);
break;
case 92:
X();
break;
}
return G;
}
function bn(e, t) {
for (; X() && e + D !== 47 + 10; )
if (e + D === 42 + 42 && ge() === 47)
break;
return "/*" + nt(t, G - 1) + "*" + xt(e === 47 ? e : X());
}
function wn(e) {
for (; !yt(ge()); )
X();
return nt(e, G);
}
function Sn(e) {
return mn(Ke("", null, null, null, [""], e = gn(e), 0, [0], e));
}
function Ke(e, t, r, o, a, i, c, f, l) {
for (var m = 0, h = 0, g = c, y = 0, w = 0, k = 0, I = 1, F = 1, _ = 1, b = 0, M = "", A = a, C = i, O = o, d = M; F; )
switch (k = b, b = X()) {
case 40:
if (k != 108 && j(d, g - 1) == 58) {
qe(d += v(lt(b), "&", "&\f"), "&\f") != -1 && (_ = -1);
break;
}
case 34:
case 39:
case 91:
d += lt(b);
break;
case 9:
case 10:
case 13:
case 32:
d += yn(k);
break;
case 92:
d += vn(Xe() - 1, 7);
continue;
case 47:
switch (ge()) {
case 42:
case 47:
je(En(bn(X(), Xe()), t, r, l), l);
break;
default:
d += "/";
}
break;
case 123 * I:
f[m++] = Q(d) * _;
case 125 * I:
case 59:
case 0:
switch (b) {
case 0:
case 125:
F = 0;
case 59 + h:
_ == -1 && (d = v(d, /\f/g, "")), w > 0 && Q(d) - g && je(w > 32 ? Xt(d + ";", o, r, g - 1, l) : Xt(v(d, " ", "") + ";", o, r, g - 2, l), l);
break;
case 59:
d += ";";
default:
if (je(O = qt(d, t, r, m, h, a, f, M, A = [], C = [], g, i), i), b === 123)
if (h === 0)
Ke(d, t, O, O, A, i, g, f, C);
else
switch (y === 99 && j(d, 3) === 110 ? 100 : y) {
case 100:
case 108:
case 109:
case 115:
Ke(e, O, O, o && je(qt(e, O, O, 0, 0, a, f, M, a, A = [], g, C), C), a, C, g, f, o ? A : C);
break;
default:
Ke(d, O, O, O, [""], C, 0, f, C);
}
}
m = h = w = 0, I = _ = 1, M = d = "", g = c;
break;
case 58:
g = 1 + Q(d), w = k;
default:
if (I < 1) {
if (b == 123)
--I;
else if (b == 125 && I++ == 0 && hn() == 125)
continue;
}
switch (d += xt(b), b * I) {
case 38:
_ = h > 0 ? 1 : (d += "\f", -1);
break;
case 44:
f[m++] = (Q(d) - 1) * _, _ = 1;
break;
case 64:
ge() === 45 && (d += lt(X())), y = ge(), h = g = Q(M = d += wn(Xe())), b++;
break;
case 45:
k === 45 && Q(d) == 2 && (I = 0);
}
}
return i;
}
function qt(e, t, r, o, a, i, c, f, l, m, h, g) {
for (var y = a - 1, w = a === 0 ? i : [""], k = pr(w), I = 0, F = 0, _ = 0; I < o; ++I)
for (var b = 0, M = Re(e, y + 1, y = ln(F = c[I])), A = e; b < k; ++b)
(A = dr(F > 0 ? w[b] + " " + M : v(M, /&\f/g, w[b]))) && (l[_++] = A);
return rt(e, t, r, a === 0 ? et : f, l, m, h, g);
}
function En(e, t, r, o) {
return rt(e, t, r, lr, xt(pn()), Re(e, 2, -2), 0, o);
}
function Xt(e, t, r, o, a) {
return rt(e, t, r, Rt, Re(e, 0, o), Re(e, o + 1, -1), o, a);
}
function gr(e, t, r) {
switch (fn(e, t)) {
case 5103:
return x + "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 x + e + e;
case 4789:
return Fe + e + e;
case 5349:
case 4246:
case 4810:
case 6968:
case 2756:
return x + e + Fe + e + T + e + e;
case 5936:
switch (j(e, t + 11)) {
case 114:
return x + e + T + v(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
case 108:
return x + e + T + v(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
case 45:
return x + e + T + v(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
}
case 6828:
case 4268:
case 2903:
return x + e + T + e + e;
case 6165:
return x + e + T + "flex-" + e + e;
case 5187:
return x + e + v(e, /(\w+).+(:[^]+)/, x + "box-$1$2" + T + "flex-$1$2") + e;
case 5443:
return x + e + T + "flex-item-" + v(e, /flex-|-self/g, "") + (oe(e, /flex-|baseline/) ? "" : T + "grid-row-" + v(e, /flex-|-self/g, "")) + e;
case 4675:
return x + e + T + "flex-line-pack" + v(e, /align-content|flex-|-self/g, "") + e;
case 5548:
return x + e + T + v(e, "shrink", "negative") + e;
case 5292:
return x + e + T + v(e, "basis", "preferred-size") + e;
case 6060:
return x + "box-" + v(e, "-grow", "") + x + e + T + v(e, "grow", "positive") + e;
case 4554:
return x + v(e, /([^-])(transform)/g, "$1" + x + "$2") + e;
case 6187:
return v(v(v(e, /(zoom-|grab)/, x + "$1"), /(image-set)/, x + "$1"), e, "") + e;
case 5495:
case 3959:
return v(e, /(image-set\([^]*)/, x + "$1$`$1");
case 4968:
return v(v(e, /(.+:)(flex-)?(.*)/, x + "box-pack:$3" + T + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + x + e + e;
case 4200:
if (!oe(e, /flex-|baseline/))
return T + "grid-column-align" + Re(e, t) + e;
break;
case 2592:
case 3360:
return T + v(e, "template-", "") + e;
case 4384:
case 3616:
return r && r.some(function(o, a) {
return t = a, oe(o.props, /grid-\w+-end/);
}) ? ~qe(e + (r = r[t].value), "span") ? e : T + v(e, "-start", "") + e + T + "grid-row-span:" + (~qe(r, "span") ? oe(r, /\d+/) : +oe(r, /\d+/) - +oe(e, /\d+/)) + ";" : T + v(e, "-start", "") + e;
case 4896:
case 4128:
return r && r.some(function(o) {
return oe(o.props, /grid-\w+-start/);
}) ? e : T + v(v(e, "-end", "-span"), "span ", "") + e;
case 4095:
case 3583:
case 4068:
case 2532:
return v(e, /(.+)-inline(.+)/, x + "$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 (Q(e) - 1 - t > 6)
switch (j(e, t + 1)) {
case 109:
if (j(e, t + 4) !== 45)
break;
case 102:
return v(e, /(.+:)(.+)-([^]+)/, "$1" + x + "$2-$3$1" + Fe + (j(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
case 115:
return ~qe(e, "stretch") ? gr(v(e, "stretch", "fill-available"), t, r) + e : e;
}
break;
case 5152:
case 5920:
return v(e, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function(o, a, i, c, f, l, m) {
return T + a + ":" + i + m + (c ? T + a + "-span:" + (f ? l : +l - +i) + m : "") + e;
});
case 4949:
if (j(e, t + 6) === 121)
return v(e, ":", ":" + x) + e;
break;
case 6444:
switch (j(e, j(e, 14) === 45 ? 18 : 11)) {
case 120:
return v(e, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, "$1" + x + (j(e, 14) === 45 ? "inline-" : "") + "box$3$1" + x + "$2$3$1" + T + "$2box$3") + e;
case 100:
return v(e, ":", ":" + T) + e;
}
break;
case 5719:
case 2647:
case 2135:
case 3927:
case 2391:
return v(e, "scroll-", "scroll-snap-") + e;
}
return e;
}
function Ze(e, t) {
for (var r = "", o = 0; o < e.length; o++)
r += t(e[o], o, e, t) || "";
return r;
}
function Rn(e, t, r, o) {
switch (e.type) {
case un:
if (e.children.length)
break;
case cn:
case Rt:
return e.return = e.return || e.value;
case lr:
return "";
case fr:
return e.return = e.value + "{" + Ze(e.children, o) + "}";
case et:
if (!Q(e.value = e.props.join(",")))
return "";
}
return Q(r = Ze(e.children, o)) ? e.return = e.value + "{" + r + "}" : "";
}
function xn(e) {
var t = pr(e);
return function(r, o, a, i) {
for (var c = "", f = 0; f < t; f++)
c += e[f](r, o, a, i) || "";
return c;
};
}
function _n(e) {
return function(t) {
t.root || (t = t.return) && e(t);
};
}
function kn(e, t, r, o) {
if (e.length > -1 && !e.return)
switch (e.type) {
case Rt:
e.return = gr(e.value, e.length, r);
return;
case fr:
return Ze([le(e, { value: v(e.value, "@", "@" + x) })], o);
case et:
if (e.length)
return dn(r = e.props, function(a) {
switch (oe(a, o = /(::plac\w+|:read-\w+)/)) {
case ":read-only":
case ":read-write":
Se(le(e, { props: [v(a, /:(read-\w+)/, ":" + Fe + "$1")] })), Se(le(e, { props: [a] })), mt(e, { props: Ht(r, o) });
break;
case "::placeholder":
Se(le(e, { props: [v(a, /:(plac\w+)/, ":" + x + "input-$1")] })), Se(le(e, { props: [v(a, /:(plac\w+)/, ":" + Fe + "$1")] })), Se(le(e, { props: [v(a, /:(plac\w+)/, T + "input-$1")] })), Se(le(e, { props: [a] })), mt(e, { props: Ht(r, o) });
break;
}
return "";
});
}
}
var Cn = {
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
}, ye = typeof process < "u" && process.env !== void 0 && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled", _t = typeof window < "u" && "HTMLElement" in window, Pn = !!(typeof SC_DISABLE_SPEEDY == "boolean" ? SC_DISABLE_SPEEDY : typeof process < "u" && process.env !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== "" ? process.env.REACT_APP_SC_DISABLE_SPEEDY !== "false" && process.env.REACT_APP_SC_DISABLE_SPEEDY : typeof process < "u" && process.env !== void 0 && process.env.SC_DISABLE_SPEEDY !== void 0 && process.env.SC_DISABLE_SPEEDY !== "" ? process.env.SC_DISABLE_SPEEDY !== "false" && process.env.SC_DISABLE_SPEEDY : process.env.NODE_ENV !== "production"), Kt = /invalid hook call/i, Ue = /* @__PURE__ */ new Set(), On = function(e, t) {
if (process.env.NODE_ENV !== "production") {
var r = t ? ' with the id of "'.concat(t, '"') : "", o = "The component ".concat(e).concat(r, ` has been created dynamically.
`) + `You may see this warning because you've called styled inside another component.
To resolve this only create new StyledComponents outside of any render method and function component.`, a = console.error;
try {
var i = !0;
console.error = function(c) {
for (var f = [], l = 1; l < arguments.length; l++)
f[l - 1] = arguments[l];
Kt.test(c) ? (i = !1, Ue.delete(o)) : a.apply(void 0, Ee([c], f, !1));
}, Zr(), i && !Ue.has(o) && (console.warn(o), Ue.add(o));
} catch (c) {
Kt.test(c.message) && Ue.delete(o);
} finally {
console.error = a;
}
}
}, kt = Object.freeze([]), _e = Object.freeze({});
function Tn(e, t, r) {
return r === void 0 && (r = _e), e.theme !== r.theme && e.theme || t || r.theme;
}
var mr = /* @__PURE__ */ new Set(["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "u", "ul", "use", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "tspan"]), An = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g, In = /(^-|-$)/g;
function Jt(e) {
return e.replace(An, "-").replace(In, "");
}
var Nn = /(a)(d)/gi, Zt = function(e) {
return String.fromCharCode(e + (e > 25 ? 39 : 97));
};
function bt(e) {
var t, r = "";
for (t = Math.abs(e); t > 52; t = t / 52 | 0)
r = Zt(t % 52) + r;
return (Zt(t % 52) + r).replace(Nn, "$1-$2");
}
var ft, pe = function(e, t) {
for (var r = t.length; r; )
e = 33 * e ^ t.charCodeAt(--r);
return e;
}, yr = function(e) {
return pe(5381, e);
};
function $n(e) {
return bt(yr(e) >>> 0);
}
function vr(e) {
return process.env.NODE_ENV !== "production" && typeof e == "string" && e || e.displayName || e.name || "Component";
}
function dt(e) {
return typeof e == "string" && (process.env.NODE_ENV === "production" || e.charAt(0) === e.charAt(0).toLowerCase());
}
var br = typeof Symbol == "function" && Symbol.for, wr = br ? Symbol.for("react.memo") : 60115, Dn = br ? Symbol.for("react.forward_ref") : 60112, jn = { childContextTypes: !0, contextType: !0, contextTypes: !0, defaultProps: !0, displayName: !0, getDefaultProps: !0, getDerivedStateFromError: !0, getDerivedStateFromProps: !0, mixins: !0, propTypes: !0, type: !0 }, Fn = { name: !0, length: !0, prototype: !0, caller: !0, callee: !0, arguments: !0, arity: !0 }, Sr = { $$typeof: !0, compare: !0, defaultProps: !0, displayName: !0, propTypes: !0, type: !0 }, Mn = ((ft = {})[Dn] = { $$typeof: !0, render: !0, defaultProps: !0, displayName: !0, propTypes: !0 }, ft[wr] = Sr, ft);
function Qt(e) {
return ("type" in (t = e) && t.type.$$typeof) === wr ? Sr : "$$typeof" in e ? Mn[e.$$typeof] : jn;
var t;
}
var Ln = Object.defineProperty, zn = Object.getOwnPropertyNames, er = Object.getOwnPropertySymbols, Vn = Object.getOwnPropertyDescriptor, Yn = Object.getPrototypeOf, tr = Object.prototype;
function Er(e, t, r) {
if (typeof t != "string") {
if (tr) {
var o = Yn(t);
o && o !== tr && Er(e, o, r);
}
var a = zn(t);
er && (a = a.concat(er(t)));
for (var i = Qt(e), c = Qt(t), f = 0; f < a.length; ++f) {
var l = a[f];
if (!(l in Fn || r && r[l] || c && l in c || i && l in i)) {
var m = Vn(t, l);
try {
Ln(e, l, m);
} catch {
}
}
}
}
return e;
}
function ke(e) {
return typeof e == "function";
}
function Ct(e) {
return typeof e == "object" && "styledComponentId" in e;
}
function he(e, t) {
return e && t ? "".concat(e, " ").concat(t) : e || t || "";
}
function rr(e, t) {
if (e.length === 0)
return "";
for (var r = e[0], o = 1; o < e.length; o++)
r += t ? t + e[o] : e[o];
return r;
}
function Ce(e) {
return e !== null && typeof e == "object" && e.constructor.name === Object.name && !("props" in e && e.$$typeof);
}
function wt(e, t, r) {
if (r === void 0 && (r = !1), !r && !Ce(e) && !Array.isArray(e))
return t;
if (Array.isArray(t))
for (var o = 0; o < t.length; o++)
e[o] = wt(e[o], t[o]);
else if (Ce(t))
for (var o in t)
e[o] = wt(e[o], t[o]);
return e;
}
function Pt(e, t) {
Object.defineProperty(e, "toString", { value: t });
}
var Wn = process.env.NODE_ENV !== "production" ? { 1: `Cannot create styled-component for component: %s.
`, 2: `Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
- Are you trying to reuse it across renders?
- Are you accidentally calling collectStyles twice?
`, 3: `Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.
`, 4: `The \`StyleSheetManager\` expects a valid target or sheet prop!
- Does this error occur on the client and is your target falsy?
- Does this error occur on the server and is the sheet falsy?
`, 5: `The clone method cannot be used on the client!
- Are you running in a client-like environment on the server?
- Are you trying to run SSR on the client?
`, 6: `Trying to insert a new style tag, but the given Node is unmounted!
- Are you using a custom target that isn't mounted?
- Does your document not have a valid head element?
- Have you accidentally removed a style tag manually?
`, 7: 'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n', 8: `ThemeProvider: Please make your "theme" prop an object.
`, 9: "Missing document `<head>`\n\n", 10: `Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021
`, 11: `_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.
`, 12: "It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n", 13: `%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.
`, 14: `ThemeProvider: "theme" prop is required.
`, 15: "A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n", 16: `Reached the limit of how many styled components may be created at group %s.
You may only create up to 1,073,741,824 components. If you're creating components dynamically,
as for instance in your render method then you may be running into this limitation.
`, 17: `CSSStyleSheet could not be found on HTMLStyleElement.
Has styled-components' style tag been unmounted or altered by another script?
`, 18: "ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`" } : {};
function Bn() {
for (var e = [], t = 0; t < arguments.length; t++)
e[t] = arguments[t];
for (var r = e[0], o = [], a = 1, i = e.length; a < i; a += 1)
o.push(e[a]);
return o.forEach(function(c) {
r = r.replace(/%[a-z]/, c);
}), r;
}
function Oe(e) {
for (var t = [], r = 1; r < arguments.length; r++)
t[r - 1] = arguments[r];
return process.env.NODE_ENV === "production" ? new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e, " for more information.").concat(t.length > 0 ? " Args: ".concat(t.join(", ")) : "")) : new Error(Bn.apply(void 0, Ee([Wn[e]], t, !1)).trim());
}
var Un = function() {
function e(t) {
this.groupSizes = new Uint32Array(512), this.length = 512, this.tag = t;
}
return e.prototype.indexOfGroup = function(t) {
for (var r = 0, o = 0; o < t; o++)
r += this.groupSizes[o];
return r;
}, e.prototype.insertRules = function(t, r) {
if (t >= this.groupSizes.length) {
for (var o = this.groupSizes, a = o.length, i = a; t >= i; )
if ((i <<= 1) < 0)
throw Oe(16, "".concat(t));
this.groupSizes = new Uint32Array(i), this.groupSi