kylin-ui-component
Version:
A React UI library for some developers to develop quickly
1,492 lines (1,489 loc) • 87.9 kB
JavaScript
import we, { createContext as Et, useRef as pn, useDebugValue as Qr, createElement as hn, useContext as Rr, useMemo as et, useState as mn, useEffect as gn } from "react";
function yn(e) {
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
}
var Cr = { exports: {} }, qe = {};
/**
* @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 rt;
function vn() {
if (rt)
return qe;
rt = 1;
var e = we, r = Symbol.for("react.element"), t = 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 s(d, u, h) {
var p, m = {}, v = null, E = null;
h !== void 0 && (v = "" + h), u.key !== void 0 && (v = "" + u.key), u.ref !== void 0 && (E = u.ref);
for (p in u)
o.call(u, p) && !i.hasOwnProperty(p) && (m[p] = u[p]);
if (d && d.defaultProps)
for (p in u = d.defaultProps, u)
m[p] === void 0 && (m[p] = u[p]);
return { $$typeof: r, type: d, key: v, ref: E, props: m, _owner: a.current };
}
return qe.Fragment = t, qe.jsx = s, qe.jsxs = s, qe;
}
var He = {};
/**
* @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 tt;
function bn() {
return tt || (tt = 1, process.env.NODE_ENV !== "production" && function() {
var e = we, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), d = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), E = Symbol.for("react.offscreen"), C = Symbol.iterator, S = "@@iterator";
function l(n) {
if (n === null || typeof n != "object")
return null;
var c = C && n[C] || n[S];
return typeof c == "function" ? c : null;
}
var x = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
function _(n) {
{
for (var c = arguments.length, f = new Array(c > 1 ? c - 1 : 0), b = 1; b < c; b++)
f[b - 1] = arguments[b];
z("error", n, f);
}
}
function z(n, c, f) {
{
var b = x.ReactDebugCurrentFrame, k = b.getStackAddendum();
k !== "" && (c += "%s", f = f.concat([k]));
var D = f.map(function(P) {
return String(P);
});
D.unshift("Warning: " + c), Function.prototype.apply.call(console[n], console, D);
}
}
var I = !1, w = !1, O = !1, g = !1, V = !1, X;
X = Symbol.for("react.module.reference");
function M(n) {
return !!(typeof n == "string" || typeof n == "function" || n === o || n === i || V || n === a || n === h || n === p || g || n === E || I || w || O || typeof n == "object" && n !== null && (n.$$typeof === v || n.$$typeof === m || n.$$typeof === s || n.$$typeof === d || n.$$typeof === u || // 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 === X || n.getModuleId !== void 0));
}
function te(n, c, f) {
var b = n.displayName;
if (b)
return b;
var k = c.displayName || c.name || "";
return k !== "" ? f + "(" + k + ")" : f;
}
function Ae(n) {
return n.displayName || "Context";
}
function K(n) {
if (n == null)
return null;
if (typeof n.tag == "number" && _("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 t:
return "Portal";
case i:
return "Profiler";
case a:
return "StrictMode";
case h:
return "Suspense";
case p:
return "SuspenseList";
}
if (typeof n == "object")
switch (n.$$typeof) {
case d:
var c = n;
return Ae(c) + ".Consumer";
case s:
var f = n;
return Ae(f._context) + ".Provider";
case u:
return te(n, n.render, "ForwardRef");
case m:
var b = n.displayName || null;
return b !== null ? b : K(n.type) || "Memo";
case v: {
var k = n, D = k._payload, P = k._init;
try {
return K(P(D));
} catch {
return null;
}
}
}
return null;
}
var ne = Object.assign, se = 0, $e, Ne, Ee, de, J, pe, ce;
function B() {
}
B.__reactDisabledLog = !0;
function _e() {
{
if (se === 0) {
$e = console.log, Ne = console.info, Ee = console.warn, de = console.error, J = console.group, pe = console.groupCollapsed, ce = console.groupEnd;
var n = {
configurable: !0,
enumerable: !0,
value: B,
writable: !0
};
Object.defineProperties(console, {
info: n,
log: n,
warn: n,
error: n,
group: n,
groupCollapsed: n,
groupEnd: n
});
}
se++;
}
}
function Re() {
{
if (se--, se === 0) {
var n = {
configurable: !0,
enumerable: !0,
writable: !0
};
Object.defineProperties(console, {
log: ne({}, n, {
value: $e
}),
info: ne({}, n, {
value: Ne
}),
warn: ne({}, n, {
value: Ee
}),
error: ne({}, n, {
value: de
}),
group: ne({}, n, {
value: J
}),
groupCollapsed: ne({}, n, {
value: pe
}),
groupEnd: ne({}, n, {
value: ce
})
});
}
se < 0 && _("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
}
}
var ue = x.ReactCurrentDispatcher, oe;
function ae(n, c, f) {
{
if (oe === void 0)
try {
throw Error();
} catch (k) {
var b = k.stack.trim().match(/\n( *(at )?)/);
oe = b && b[1] || "";
}
return `
` + oe + n;
}
}
var Z = !1, q;
{
var Ce = typeof WeakMap == "function" ? WeakMap : Map;
q = new Ce();
}
function he(n, c) {
if (!n || Z)
return "";
{
var f = q.get(n);
if (f !== void 0)
return f;
}
var b;
Z = !0;
var k = Error.prepareStackTrace;
Error.prepareStackTrace = void 0;
var D;
D = ue.current, ue.current = null, _e();
try {
if (c) {
var P = function() {
throw Error();
};
if (Object.defineProperty(P.prototype, "props", {
set: function() {
throw Error();
}
}), typeof Reflect == "object" && Reflect.construct) {
try {
Reflect.construct(P, []);
} catch (ge) {
b = ge;
}
Reflect.construct(n, [], P);
} else {
try {
P.call();
} catch (ge) {
b = ge;
}
n.call(P.prototype);
}
} else {
try {
throw Error();
} catch (ge) {
b = ge;
}
n();
}
} catch (ge) {
if (ge && b && typeof ge.stack == "string") {
for (var T = ge.stack.split(`
`), G = b.stack.split(`
`), F = T.length - 1, L = G.length - 1; F >= 1 && L >= 0 && T[F] !== G[L]; )
L--;
for (; F >= 1 && L >= 0; F--, L--)
if (T[F] !== G[L]) {
if (F !== 1 || L !== 1)
do
if (F--, L--, L < 0 || T[F] !== G[L]) {
var ee = `
` + T[F].replace(" at new ", " at ");
return n.displayName && ee.includes("<anonymous>") && (ee = ee.replace("<anonymous>", n.displayName)), typeof n == "function" && q.set(n, ee), ee;
}
while (F >= 1 && L >= 0);
break;
}
}
} finally {
Z = !1, ue.current = D, Re(), Error.prepareStackTrace = k;
}
var De = n ? n.displayName || n.name : "", Zr = De ? ae(De) : "";
return typeof n == "function" && q.set(n, Zr), Zr;
}
function Q(n, c, f) {
return he(n, !1);
}
function y(n) {
var c = n.prototype;
return !!(c && c.isReactComponent);
}
function be(n, c, f) {
if (n == null)
return "";
if (typeof n == "function")
return he(n, y(n));
if (typeof n == "string")
return ae(n);
switch (n) {
case h:
return ae("Suspense");
case p:
return ae("SuspenseList");
}
if (typeof n == "object")
switch (n.$$typeof) {
case u:
return Q(n.render);
case m:
return be(n.type, c, f);
case v: {
var b = n, k = b._payload, D = b._init;
try {
return be(D(k), c, f);
} catch {
}
}
}
return "";
}
var me = Object.prototype.hasOwnProperty, Ue = {}, zr = x.ReactDebugCurrentFrame;
function Ze(n) {
if (n) {
var c = n._owner, f = be(n.type, n._source, c ? c.type : null);
zr.setExtraStackFrame(f);
} else
zr.setExtraStackFrame(null);
}
function Gt(n, c, f, b, k) {
{
var D = Function.call.bind(me);
for (var P in n)
if (D(n, P)) {
var T = void 0;
try {
if (typeof n[P] != "function") {
var G = Error((b || "React class") + ": " + f + " type `" + P + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[P] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
throw G.name = "Invariant Violation", G;
}
T = n[P](c, P, b, f, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
} catch (F) {
T = F;
}
T && !(T instanceof Error) && (Ze(k), _("%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).", b || "React class", f, P, typeof T), Ze(null)), T instanceof Error && !(T.message in Ue) && (Ue[T.message] = !0, Ze(k), _("Failed %s type: %s", f, T.message), Ze(null));
}
}
}
var qt = Array.isArray;
function pr(n) {
return qt(n);
}
function Ht(n) {
{
var c = typeof Symbol == "function" && Symbol.toStringTag, f = c && n[Symbol.toStringTag] || n.constructor.name || "Object";
return f;
}
}
function Xt(n) {
try {
return Vr(n), !1;
} catch {
return !0;
}
}
function Vr(n) {
return "" + n;
}
function Wr(n) {
if (Xt(n))
return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ht(n)), Vr(n);
}
var Ge = x.ReactCurrentOwner, Kt = {
key: !0,
ref: !0,
__self: !0,
__source: !0
}, Br, Ur, hr;
hr = {};
function Jt(n) {
if (me.call(n, "ref")) {
var c = Object.getOwnPropertyDescriptor(n, "ref").get;
if (c && c.isReactWarning)
return !1;
}
return n.ref !== void 0;
}
function Zt(n) {
if (me.call(n, "key")) {
var c = Object.getOwnPropertyDescriptor(n, "key").get;
if (c && c.isReactWarning)
return !1;
}
return n.key !== void 0;
}
function Qt(n, c) {
if (typeof n.ref == "string" && Ge.current && c && Ge.current.stateNode !== c) {
var f = K(Ge.current.type);
hr[f] || (_('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', K(Ge.current.type), n.ref), hr[f] = !0);
}
}
function en(n, c) {
{
var f = function() {
Br || (Br = !0, _("%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)", c));
};
f.isReactWarning = !0, Object.defineProperty(n, "key", {
get: f,
configurable: !0
});
}
}
function rn(n, c) {
{
var f = function() {
Ur || (Ur = !0, _("%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)", c));
};
f.isReactWarning = !0, Object.defineProperty(n, "ref", {
get: f,
configurable: !0
});
}
}
var tn = function(n, c, f, b, k, D, P) {
var T = {
// This tag allows us to uniquely identify this as a React Element
$$typeof: r,
// Built-in properties that belong on the element
type: n,
key: c,
ref: f,
props: P,
// Record the component responsible for creating this element.
_owner: D
};
return T._store = {}, Object.defineProperty(T._store, "validated", {
configurable: !1,
enumerable: !1,
writable: !0,
value: !1
}), Object.defineProperty(T, "_self", {
configurable: !1,
enumerable: !1,
writable: !1,
value: b
}), Object.defineProperty(T, "_source", {
configurable: !1,
enumerable: !1,
writable: !1,
value: k
}), Object.freeze && (Object.freeze(T.props), Object.freeze(T)), T;
};
function nn(n, c, f, b, k) {
{
var D, P = {}, T = null, G = null;
f !== void 0 && (Wr(f), T = "" + f), Zt(c) && (Wr(c.key), T = "" + c.key), Jt(c) && (G = c.ref, Qt(c, k));
for (D in c)
me.call(c, D) && !Kt.hasOwnProperty(D) && (P[D] = c[D]);
if (n && n.defaultProps) {
var F = n.defaultProps;
for (D in F)
P[D] === void 0 && (P[D] = F[D]);
}
if (T || G) {
var L = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
T && en(P, L), G && rn(P, L);
}
return tn(n, T, G, k, b, Ge.current, P);
}
}
var mr = x.ReactCurrentOwner, Gr = x.ReactDebugCurrentFrame;
function Ie(n) {
if (n) {
var c = n._owner, f = be(n.type, n._source, c ? c.type : null);
Gr.setExtraStackFrame(f);
} else
Gr.setExtraStackFrame(null);
}
var gr;
gr = !1;
function yr(n) {
return typeof n == "object" && n !== null && n.$$typeof === r;
}
function qr() {
{
if (mr.current) {
var n = K(mr.current.type);
if (n)
return `
Check the render method of \`` + n + "`.";
}
return "";
}
}
function on(n) {
{
if (n !== void 0) {
var c = n.fileName.replace(/^.*[\\\/]/, ""), f = n.lineNumber;
return `
Check your code at ` + c + ":" + f + ".";
}
return "";
}
}
var Hr = {};
function an(n) {
{
var c = qr();
if (!c) {
var f = typeof n == "string" ? n : n.displayName || n.name;
f && (c = `
Check the top-level render call using <` + f + ">.");
}
return c;
}
}
function Xr(n, c) {
{
if (!n._store || n._store.validated || n.key != null)
return;
n._store.validated = !0;
var f = an(c);
if (Hr[f])
return;
Hr[f] = !0;
var b = "";
n && n._owner && n._owner !== mr.current && (b = " It was passed a child from " + K(n._owner.type) + "."), Ie(n), _('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', f, b), Ie(null);
}
}
function Kr(n, c) {
{
if (typeof n != "object")
return;
if (pr(n))
for (var f = 0; f < n.length; f++) {
var b = n[f];
yr(b) && Xr(b, c);
}
else if (yr(n))
n._store && (n._store.validated = !0);
else if (n) {
var k = l(n);
if (typeof k == "function" && k !== n.entries)
for (var D = k.call(n), P; !(P = D.next()).done; )
yr(P.value) && Xr(P.value, c);
}
}
}
function sn(n) {
{
var c = n.type;
if (c == null || typeof c == "string")
return;
var f;
if (typeof c == "function")
f = c.propTypes;
else if (typeof c == "object" && (c.$$typeof === u || // Note: Memo only checks outer props here.
// Inner props are checked in the reconciler.
c.$$typeof === m))
f = c.propTypes;
else
return;
if (f) {
var b = K(c);
Gt(f, n.props, "prop", b, n);
} else if (c.PropTypes !== void 0 && !gr) {
gr = !0;
var k = K(c);
_("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", k || "Unknown");
}
typeof c.getDefaultProps == "function" && !c.getDefaultProps.isReactClassApproved && _("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
}
}
function cn(n) {
{
for (var c = Object.keys(n.props), f = 0; f < c.length; f++) {
var b = c[f];
if (b !== "children" && b !== "key") {
Ie(n), _("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", b), Ie(null);
break;
}
}
n.ref !== null && (Ie(n), _("Invalid attribute `ref` supplied to `React.Fragment`."), Ie(null));
}
}
function Jr(n, c, f, b, k, D) {
{
var P = M(n);
if (!P) {
var T = "";
(n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (T += " 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 G = on(k);
G ? T += G : T += qr();
var F;
n === null ? F = "null" : pr(n) ? F = "array" : n !== void 0 && n.$$typeof === r ? (F = "<" + (K(n.type) || "Unknown") + " />", T = " Did you accidentally export a JSX literal instead of a component?") : F = typeof n, _("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", F, T);
}
var L = nn(n, c, f, k, D);
if (L == null)
return L;
if (P) {
var ee = c.children;
if (ee !== void 0)
if (b)
if (pr(ee)) {
for (var De = 0; De < ee.length; De++)
Kr(ee[De], n);
Object.freeze && Object.freeze(ee);
} else
_("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
Kr(ee, n);
}
return n === o ? cn(L) : sn(L), L;
}
}
function un(n, c, f) {
return Jr(n, c, f, !0);
}
function ln(n, c, f) {
return Jr(n, c, f, !1);
}
var fn = ln, dn = un;
He.Fragment = o, He.jsx = fn, He.jsxs = dn;
}()), He;
}
process.env.NODE_ENV === "production" ? Cr.exports = vn() : Cr.exports = bn();
var Nr = Cr.exports;
const Sn = Nr.Fragment, U = Nr.jsx, tr = Nr.jsxs;
var _t = { exports: {} };
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/
(function(e) {
(function() {
var r = {}.hasOwnProperty;
function t() {
for (var o = [], a = 0; a < arguments.length; a++) {
var i = arguments[a];
if (i) {
var s = typeof i;
if (s === "string" || s === "number")
o.push(i);
else if (Array.isArray(i)) {
if (i.length) {
var d = t.apply(null, i);
d && o.push(d);
}
} else if (s === "object") {
if (i.toString !== Object.prototype.toString && !i.toString.toString().includes("[native code]")) {
o.push(i.toString());
continue;
}
for (var u in i)
r.call(i, u) && i[u] && o.push(u);
}
}
}
return o.join(" ");
}
e.exports ? (t.default = t, e.exports = t) : window.classNames = t;
})();
})(_t);
var wn = _t.exports;
const En = /* @__PURE__ */ yn(wn), _n = Et({}), vr = [
"green",
"red",
"purple",
"yellow",
"blue",
"indigo",
"pink",
"gray",
"black",
"white"
];
function le(e) {
return Array.from({ length: 10 }, (r, t) => t + 1).map(
(r) => `${e}-${r}`
);
}
function Rn({ color: e, bg: r }) {
return {
[`text-${e}-500`]: e,
[`bg-${r}-500`]: r
};
}
function Cn({ p: e, pl: r, py: t, pr: o, px: a }) {
return {
[`p-${e}`]: e,
[`pl-${r}`]: r,
[`pr-${o}`]: o,
[`px-${a}`]: a,
[`py-${t}`]: t
};
}
function xn({ m: e, ml: r, my: t, mr: o, mx: a }) {
return {
[`m-${e}`]: e,
[`ml-${r}`]: r,
[`mr-${o}`]: o,
[`mx-${a}`]: a,
[`my-${t}`]: t
};
}
function Tn({ hover: e }) {
return {
[`hover:bg-${e}-700`]: e
};
}
const Pn = [
...vr.map((e) => `text-${e}-500`),
...vr.map((e) => `bg-${e}-500`),
...vr.map((e) => `hover:bg-${e}-700`)
], kn = le("p").concat(le("pl")).concat(le("px")).concat(le("py")).concat(le("pr")).concat(le("m")).concat(le("ml")).concat(le("mr")).concat(le("mx")).concat(le("my"));
[
...Pn,
...kn
];
function On(e = "base", r) {
if (e === "base")
return An(r);
}
function An(e) {
return {
...Rn(e),
...Cn(e),
...xn(e),
...Tn(e)
};
}
function $n(e, r, t) {
const o = {};
function a(u) {
if (r in e && e[r][u])
for (const [h, p] of Object.entries(
e[r][u]
))
o[h] = p;
else
return;
return o;
}
function i(u) {
return u === "hover" || u === "active";
}
const s = {
...a("common"),
...a(t)
};
return d(s);
function d(u) {
return Object.entries(u).map(([p, m]) => i(p) ? Nn(m, {
specialKey: p
}) : `${p}-${m}`).join(" ").trim();
}
}
function Nn(e, r) {
const { specialKey: t } = r || {};
return Object.entries(e).map(([a, i]) => `${t ? t + ":" : ""}${a}-${i}`).join(" ").trim();
}
var A = {};
/**
* @license React
* 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 nt;
function In() {
if (nt)
return A;
nt = 1;
var e = Symbol.for("react.element"), r = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), s = Symbol.for("react.context"), d = Symbol.for("react.server_context"), u = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), E = Symbol.for("react.offscreen"), C;
C = Symbol.for("react.module.reference");
function S(l) {
if (typeof l == "object" && l !== null) {
var x = l.$$typeof;
switch (x) {
case e:
switch (l = l.type, l) {
case t:
case a:
case o:
case h:
case p:
return l;
default:
switch (l = l && l.$$typeof, l) {
case d:
case s:
case u:
case v:
case m:
case i:
return l;
default:
return x;
}
}
case r:
return x;
}
}
}
return A.ContextConsumer = s, A.ContextProvider = i, A.Element = e, A.ForwardRef = u, A.Fragment = t, A.Lazy = v, A.Memo = m, A.Portal = r, A.Profiler = a, A.StrictMode = o, A.Suspense = h, A.SuspenseList = p, A.isAsyncMode = function() {
return !1;
}, A.isConcurrentMode = function() {
return !1;
}, A.isContextConsumer = function(l) {
return S(l) === s;
}, A.isContextProvider = function(l) {
return S(l) === i;
}, A.isElement = function(l) {
return typeof l == "object" && l !== null && l.$$typeof === e;
}, A.isForwardRef = function(l) {
return S(l) === u;
}, A.isFragment = function(l) {
return S(l) === t;
}, A.isLazy = function(l) {
return S(l) === v;
}, A.isMemo = function(l) {
return S(l) === m;
}, A.isPortal = function(l) {
return S(l) === r;
}, A.isProfiler = function(l) {
return S(l) === a;
}, A.isStrictMode = function(l) {
return S(l) === o;
}, A.isSuspense = function(l) {
return S(l) === h;
}, A.isSuspenseList = function(l) {
return S(l) === p;
}, A.isValidElementType = function(l) {
return typeof l == "string" || typeof l == "function" || l === t || l === a || l === o || l === h || l === p || l === E || typeof l == "object" && l !== null && (l.$$typeof === v || l.$$typeof === m || l.$$typeof === i || l.$$typeof === s || l.$$typeof === u || l.$$typeof === C || l.getModuleId !== void 0);
}, A.typeOf = S, A;
}
var $ = {};
/**
* @license React
* 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 ot;
function Dn() {
return ot || (ot = 1, process.env.NODE_ENV !== "production" && function() {
var e = Symbol.for("react.element"), r = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), s = Symbol.for("react.context"), d = Symbol.for("react.server_context"), u = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), E = Symbol.for("react.offscreen"), C = !1, S = !1, l = !1, x = !1, _ = !1, z;
z = Symbol.for("react.module.reference");
function I(y) {
return !!(typeof y == "string" || typeof y == "function" || y === t || y === a || _ || y === o || y === h || y === p || x || y === E || C || S || l || typeof y == "object" && y !== null && (y.$$typeof === v || y.$$typeof === m || y.$$typeof === i || y.$$typeof === s || y.$$typeof === u || // 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 === z || y.getModuleId !== void 0));
}
function w(y) {
if (typeof y == "object" && y !== null) {
var be = y.$$typeof;
switch (be) {
case e:
var me = y.type;
switch (me) {
case t:
case a:
case o:
case h:
case p:
return me;
default:
var Ue = me && me.$$typeof;
switch (Ue) {
case d:
case s:
case u:
case v:
case m:
case i:
return Ue;
default:
return be;
}
}
case r:
return be;
}
}
}
var O = s, g = i, V = e, X = u, M = t, te = v, Ae = m, K = r, ne = a, se = o, $e = h, Ne = p, Ee = !1, de = !1;
function J(y) {
return Ee || (Ee = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
}
function pe(y) {
return de || (de = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
}
function ce(y) {
return w(y) === s;
}
function B(y) {
return w(y) === i;
}
function _e(y) {
return typeof y == "object" && y !== null && y.$$typeof === e;
}
function Re(y) {
return w(y) === u;
}
function ue(y) {
return w(y) === t;
}
function oe(y) {
return w(y) === v;
}
function ae(y) {
return w(y) === m;
}
function Z(y) {
return w(y) === r;
}
function q(y) {
return w(y) === a;
}
function Ce(y) {
return w(y) === o;
}
function he(y) {
return w(y) === h;
}
function Q(y) {
return w(y) === p;
}
$.ContextConsumer = O, $.ContextProvider = g, $.Element = V, $.ForwardRef = X, $.Fragment = M, $.Lazy = te, $.Memo = Ae, $.Portal = K, $.Profiler = ne, $.StrictMode = se, $.Suspense = $e, $.SuspenseList = Ne, $.isAsyncMode = J, $.isConcurrentMode = pe, $.isContextConsumer = ce, $.isContextProvider = B, $.isElement = _e, $.isForwardRef = Re, $.isFragment = ue, $.isLazy = oe, $.isMemo = ae, $.isPortal = Z, $.isProfiler = q, $.isStrictMode = Ce, $.isSuspense = he, $.isSuspenseList = Q, $.isValidElementType = I, $.typeOf = w;
}()), $;
}
process.env.NODE_ENV === "production" ? In() : Dn();
function jn({ loading: e }) {
return e ? /* @__PURE__ */ tr(
"svg",
{
xmlns: "http://www.w3.org/2000/svg",
width: "24",
height: "24",
viewBox: "0 0 24 24",
children: [
/* @__PURE__ */ U(
"rect",
{
x: "0",
y: "0",
width: "24",
height: "24",
fill: "none",
stroke: "none"
}
),
/* @__PURE__ */ tr(
"g",
{
fill: "none",
stroke: "currentColor",
strokeLinecap: "round",
strokeWidth: "2",
children: [
/* @__PURE__ */ U(
"path",
{
strokeDasharray: "60",
strokeDashoffset: "60",
strokeOpacity: ".3",
d: "M12 3C16.9706 3 21 7.02944 21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3Z",
children: /* @__PURE__ */ U(
"animate",
{
fill: "freeze",
attributeName: "stroke-dashoffset",
dur: "1.3s",
values: "60;0"
}
)
}
),
/* @__PURE__ */ tr(
"path",
{
strokeDasharray: "15",
strokeDashoffset: "15",
d: "M12 3C16.9706 3 21 7.02944 21 12",
children: [
/* @__PURE__ */ U(
"animate",
{
fill: "freeze",
attributeName: "stroke-dashoffset",
dur: "0.3s",
values: "15;0"
}
),
/* @__PURE__ */ U(
"animateTransform",
{
attributeName: "transform",
dur: "1.5s",
repeatCount: "indefinite",
type: "rotate",
values: "0 12 12;360 12 12"
}
)
]
}
)
]
}
)
]
}
) : null;
}
function Mn(e) {
if (typeof e == "object" && e) {
const r = e == null ? void 0 : e.delay;
return {
loading: !1,
delay: !Number.isNaN(r) && typeof r == "number" ? r : 0
};
}
return {
loading: !!e,
delay: 0
};
}
var H = function() {
return H = Object.assign || function(r) {
for (var t, o = 1, a = arguments.length; o < a; o++) {
t = arguments[o];
for (var i in t)
Object.prototype.hasOwnProperty.call(t, i) && (r[i] = t[i]);
}
return r;
}, H.apply(this, arguments);
};
function Me(e, r, t) {
if (t || arguments.length === 2)
for (var o = 0, a = r.length, i; o < a; o++)
(i || !(o in r)) && (i || (i = Array.prototype.slice.call(r, 0, o)), i[o] = r[o]);
return e.concat(i || Array.prototype.slice.call(r));
}
function Fn(e) {
var r = /* @__PURE__ */ Object.create(null);
return function(t) {
return r[t] === void 0 && (r[t] = e(t)), r[t];
};
}
var Ln = /^((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)-.*))$/, Yn = /* @__PURE__ */ Fn(
function(e) {
return Ln.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
}
/* Z+1 */
), j = "-ms-", Ke = "-moz-", N = "-webkit-", Rt = "comm", ur = "rule", Ir = "decl", zn = "@import", Ct = "@keyframes", Vn = "@layer", Wn = Math.abs, Dr = String.fromCharCode, xr = Object.assign;
function Bn(e, r) {
return W(e, 0) ^ 45 ? (((r << 2 ^ W(e, 0)) << 2 ^ W(e, 1)) << 2 ^ W(e, 2)) << 2 ^ W(e, 3) : 0;
}
function xt(e) {
return e.trim();
}
function ye(e, r) {
return (e = r.exec(e)) ? e[0] : e;
}
function R(e, r, t) {
return e.replace(r, t);
}
function nr(e, r) {
return e.indexOf(r);
}
function W(e, r) {
return e.charCodeAt(r) | 0;
}
function Fe(e, r, t) {
return e.slice(r, t);
}
function fe(e) {
return e.length;
}
function Tt(e) {
return e.length;
}
function Xe(e, r) {
return r.push(e), e;
}
function Un(e, r) {
return e.map(r).join("");
}
function at(e, r) {
return e.filter(function(t) {
return !ye(t, r);
});
}
var lr = 1, Le = 1, Pt = 0, re = 0, Y = 0, We = "";
function fr(e, r, t, o, a, i, s, d) {
return { value: e, root: r, parent: t, type: o, props: a, children: i, line: lr, column: Le, length: s, return: "", siblings: d };
}
function Se(e, r) {
return xr(fr("", null, null, "", null, null, 0, e.siblings), e, { length: -e.length }, r);
}
function je(e) {
for (; e.root; )
e = Se(e.root, { children: [e] });
Xe(e, e.siblings);
}
function Gn() {
return Y;
}
function qn() {
return Y = re > 0 ? W(We, --re) : 0, Le--, Y === 10 && (Le = 1, lr--), Y;
}
function ie() {
return Y = re < Pt ? W(We, re++) : 0, Le++, Y === 10 && (Le = 1, lr++), Y;
}
function Pe() {
return W(We, re);
}
function or() {
return re;
}
function dr(e, r) {
return Fe(We, e, r);
}
function Tr(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 Hn(e) {
return lr = Le = 1, Pt = fe(We = e), re = 0, [];
}
function Xn(e) {
return We = "", e;
}
function br(e) {
return xt(dr(re - 1, Pr(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
}
function Kn(e) {
for (; (Y = Pe()) && Y < 33; )
ie();
return Tr(e) > 2 || Tr(Y) > 3 ? "" : " ";
}
function Jn(e, r) {
for (; --r && ie() && !(Y < 48 || Y > 102 || Y > 57 && Y < 65 || Y > 70 && Y < 97); )
;
return dr(e, or() + (r < 6 && Pe() == 32 && ie() == 32));
}
function Pr(e) {
for (; ie(); )
switch (Y) {
case e:
return re;
case 34:
case 39:
e !== 34 && e !== 39 && Pr(Y);
break;
case 40:
e === 41 && Pr(e);
break;
case 92:
ie();
break;
}
return re;
}
function Zn(e, r) {
for (; ie() && e + Y !== 47 + 10; )
if (e + Y === 42 + 42 && Pe() === 47)
break;
return "/*" + dr(r, re - 1) + "*" + Dr(e === 47 ? e : ie());
}
function Qn(e) {
for (; !Tr(Pe()); )
ie();
return dr(e, re);
}
function eo(e) {
return Xn(ar("", null, null, null, [""], e = Hn(e), 0, [0], e));
}
function ar(e, r, t, o, a, i, s, d, u) {
for (var h = 0, p = 0, m = s, v = 0, E = 0, C = 0, S = 1, l = 1, x = 1, _ = 0, z = "", I = a, w = i, O = o, g = z; l; )
switch (C = _, _ = ie()) {
case 40:
if (C != 108 && W(g, m - 1) == 58) {
nr(g += R(br(_), "&", "&\f"), "&\f") != -1 && (x = -1);
break;
}
case 34:
case 39:
case 91:
g += br(_);
break;
case 9:
case 10:
case 13:
case 32:
g += Kn(C);
break;
case 92:
g += Jn(or() - 1, 7);
continue;
case 47:
switch (Pe()) {
case 42:
case 47:
Xe(ro(Zn(ie(), or()), r, t, u), u);
break;
default:
g += "/";
}
break;
case 123 * S:
d[h++] = fe(g) * x;
case 125 * S:
case 59:
case 0:
switch (_) {
case 0:
case 125:
l = 0;
case 59 + p:
x == -1 && (g = R(g, /\f/g, "")), E > 0 && fe(g) - m && Xe(E > 32 ? st(g + ";", o, t, m - 1, u) : st(R(g, " ", "") + ";", o, t, m - 2, u), u);
break;
case 59:
g += ";";
default:
if (Xe(O = it(g, r, t, h, p, a, d, z, I = [], w = [], m, i), i), _ === 123)
if (p === 0)
ar(g, r, O, O, I, i, m, d, w);
else
switch (v === 99 && W(g, 3) === 110 ? 100 : v) {
case 100:
case 108:
case 109:
case 115:
ar(e, O, O, o && Xe(it(e, O, O, 0, 0, a, d, z, a, I = [], m, w), w), a, w, m, d, o ? I : w);
break;
default:
ar(g, O, O, O, [""], w, 0, d, w);
}
}
h = p = E = 0, S = x = 1, z = g = "", m = s;
break;
case 58:
m = 1 + fe(g), E = C;
default:
if (S < 1) {
if (_ == 123)
--S;
else if (_ == 125 && S++ == 0 && qn() == 125)
continue;
}
switch (g += Dr(_), _ * S) {
case 38:
x = p > 0 ? 1 : (g += "\f", -1);
break;
case 44:
d[h++] = (fe(g) - 1) * x, x = 1;
break;
case 64:
Pe() === 45 && (g += br(ie())), v = Pe(), p = m = fe(z = g += Qn(or())), _++;
break;
case 45:
C === 45 && fe(g) == 2 && (S = 0);
}
}
return i;
}
function it(e, r, t, o, a, i, s, d, u, h, p, m) {
for (var v = a - 1, E = a === 0 ? i : [""], C = Tt(E), S = 0, l = 0, x = 0; S < o; ++S)
for (var _ = 0, z = Fe(e, v + 1, v = Wn(l = s[S])), I = e; _ < C; ++_)
(I = xt(l > 0 ? E[_] + " " + z : R(z, /&\f/g, E[_]))) && (u[x++] = I);
return fr(e, r, t, a === 0 ? ur : d, u, h, p, m);
}
function ro(e, r, t, o) {
return fr(e, r, t, Rt, Dr(Gn()), Fe(e, 2, -2), 0, o);
}
function st(e, r, t, o, a) {
return fr(e, r, t, Ir, Fe(e, 0, o), Fe(e, o + 1, -1), o, a);
}
function kt(e, r, t) {
switch (Bn(e, r)) {
case 5103:
return N + "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 N + e + e;
case 4789:
return Ke + e + e;
case 5349:
case 4246:
case 4810:
case 6968:
case 2756:
return N + e + Ke + e + j + e + e;
case 5936:
switch (W(e, r + 11)) {
case 114:
return N + e + j + R(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
case 108:
return N + e + j + R(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
case 45:
return N + e + j + R(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
}
case 6828:
case 4268:
case 2903:
return N + e + j + e + e;
case 6165:
return N + e + j + "flex-" + e + e;
case 5187:
return N + e + R(e, /(\w+).+(:[^]+)/, N + "box-$1$2" + j + "flex-$1$2") + e;
case 5443:
return N + e + j + "flex-item-" + R(e, /flex-|-self/g, "") + (ye(e, /flex-|baseline/) ? "" : j + "grid-row-" + R(e, /flex-|-self/g, "")) + e;
case 4675:
return N + e + j + "flex-line-pack" + R(e, /align-content|flex-|-self/g, "") + e;
case 5548:
return N + e + j + R(e, "shrink", "negative") + e;
case 5292:
return N + e + j + R(e, "basis", "preferred-size") + e;
case 6060:
return N + "box-" + R(e, "-grow", "") + N + e + j + R(e, "grow", "positive") + e;
case 4554:
return N + R(e, /([^-])(transform)/g, "$1" + N + "$2") + e;
case 6187:
return R(R(R(e, /(zoom-|grab)/, N + "$1"), /(image-set)/, N + "$1"), e, "") + e;
case 5495:
case 3959:
return R(e, /(image-set\([^]*)/, N + "$1$`$1");
case 4968:
return R(R(e, /(.+:)(flex-)?(.*)/, N + "box-pack:$3" + j + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + N + e + e;
case 4200:
if (!ye(e, /flex-|baseline/))
return j + "grid-column-align" + Fe(e, r) + e;
break;
case 2592:
case 3360:
return j + R(e, "template-", "") + e;
case 4384:
case 3616:
return t && t.some(function(o, a) {
return r = a, ye(o.props, /grid-\w+-end/);
}) ? ~nr(e + (t = t[r].value), "span") ? e : j + R(e, "-start", "") + e + j + "grid-row-span:" + (~nr(t, "span") ? ye(t, /\d+/) : +ye(t, /\d+/) - +ye(e, /\d+/)) + ";" : j + R(e, "-start", "") + e;
case 4896:
case 4128:
return t && t.some(function(o) {
return ye(o.props, /grid-\w+-start/);
}) ? e : j + R(R(e, "-end", "-span"), "span ", "") + e;
case 4095:
case 3583:
case 4068:
case 2532:
return R(e, /(.+)-inline(.+)/, N + "$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 (fe(e) - 1 - r > 6)
switch (W(e, r + 1)) {
case 109:
if (W(e, r + 4) !== 45)
break;
case 102:
return R(e, /(.+:)(.+)-([^]+)/, "$1" + N + "$2-$3$1" + Ke + (W(e, r + 3) == 108 ? "$3" : "$2-$3")) + e;
case 115:
return ~nr(e, "stretch") ? kt(R(e, "stretch", "fill-available"), r, t) + e : e;
}
break;
case 5152:
case 5920:
return R(e, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function(o, a, i, s, d, u, h) {
return j + a + ":" + i + h + (s ? j + a + "-span:" + (d ? u : +u - +i) + h : "") + e;
});
case 4949:
if (W(e, r + 6) === 121)
return R(e, ":", ":" + N) + e;
break;
case 6444:
switch (W(e, W(e, 14) === 45 ? 18 : 11)) {
case 120:
return R(e, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, "$1" + N + (W(e, 14) === 45 ? "inline-" : "") + "box$3$1" + N + "$2$3$1" + j + "$2box$3") + e;
case 100:
return R(e, ":", ":" + j) + e;
}
break;
case 5719:
case 2647:
case 2135:
case 3927:
case 2391:
return R(e, "scroll-", "scroll-snap-") + e;
}
return e;
}
function sr(e, r) {
for (var t = "", o = 0; o < e.length; o++)
t += r(e[o], o, e, r) || "";
return t;
}
function to(e, r, t, o) {
switch (e.type) {
case Vn:
if (e.children.length)
break;
case zn:
case Ir:
return e.return = e.return || e.value;
case Rt:
return "";
case Ct:
return e.return = e.value + "{" + sr(e.children, o) + "}";
case ur:
if (!fe(e.value = e.props.join(",")))
return "";
}
return fe(t = sr(e.children, o)) ? e.return = e.value + "{" + t + "}" : "";
}
function no(e) {
var r = Tt(e);
return function(t, o, a, i)