UNPKG

kylin-ui-component

Version:

A React UI library for some developers to develop quickly

1,412 lines (1,399 loc) 75.4 kB
import q, { useRef as en, useDebugValue as Ut, createElement as tn, useContext as rn } from "react"; var yt = { 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 Gt; function nn() { if (Gt) return $e; Gt = 1; var e = q, 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, p) { var d, g = {}, m = null, b = null; p !== void 0 && (m = "" + p), l.key !== void 0 && (m = "" + l.key), l.ref !== void 0 && (b = l.ref); for (d in l) o.call(l, d) && !i.hasOwnProperty(d) && (g[d] = l[d]); if (f && f.defaultProps) for (d in l = f.defaultProps, l) g[d] === void 0 && (g[d] = l[d]); return { $$typeof: t, type: f, key: m, ref: b, props: g, _owner: a.current }; } return $e.Fragment = r, $e.jsx = c, $e.jsxs = c, $e; } var Fe = {}; /** * @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 Ht; function on() { return Ht || (Ht = 1, process.env.NODE_ENV !== "production" && function() { var e = q, 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"), p = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), _ = Symbol.iterator, T = "@@iterator"; function P(n) { if (n === null || typeof n != "object") return null; var s = _ && n[_] || n[T]; return typeof s == "function" ? s : null; } var S = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; function y(n) { { for (var s = arguments.length, u = new Array(s > 1 ? s - 1 : 0), v = 1; v < s; v++) u[v - 1] = arguments[v]; F("error", n, u); } } function F(n, s, u) { { var v = S.ReactDebugCurrentFrame, C = v.getStackAddendum(); C !== "" && (s += "%s", u = u.concat([C])); var N = u.map(function(R) { return String(R); }); N.unshift("Warning: " + s), Function.prototype.apply.call(console[n], console, N); } } var A = !1, k = !1, O = !1, h = !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 === p || n === d || h || n === b || A || k || O || typeof n == "object" && n !== null && (n.$$typeof === m || 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 st(n, s, u) { var v = n.displayName; if (v) return v; var C = s.displayName || s.name || ""; return C !== "" ? u + "(" + C + ")" : u; } function Ve(n) { return n.displayName || "Context"; } function G(n) { if (n == null) return null; if (typeof n.tag == "number" && y("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 p: return "Suspense"; case d: return "SuspenseList"; } if (typeof n == "object") switch (n.$$typeof) { case f: var s = n; return Ve(s) + ".Consumer"; case c: var u = n; return Ve(u._context) + ".Provider"; case l: return st(n, n.render, "ForwardRef"); case g: var v = n.displayName || null; return v !== null ? v : G(n.type) || "Memo"; case m: { var C = n, N = C._payload, R = C._init; try { return G(R(N)); } catch { return null; } } } return null; } var te = Object.assign, se = 0, Ye, We, Be, ye, H, fe, ce; function z() { } z.__reactDisabledLog = !0; function Ne() { { if (se === 0) { Ye = console.log, We = console.info, Be = console.warn, ye = console.error, H = 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 Ie() { { if (se--, se === 0) { var n = { configurable: !0, enumerable: !0, writable: !0 }; Object.defineProperties(console, { log: te({}, n, { value: Ye }), info: te({}, n, { value: We }), warn: te({}, n, { value: Be }), error: te({}, n, { value: ye }), group: te({}, n, { value: H }), groupCollapsed: te({}, n, { value: fe }), groupEnd: te({}, n, { value: ce }) }); } se < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue."); } } var ue = S.ReactCurrentDispatcher, re; function ne(n, s, u) { { if (re === void 0) try { throw Error(); } catch (C) { var v = C.stack.trim().match(/\n( *(at )?)/); re = v && v[1] || ""; } return ` ` + re + n; } } var J = !1, W; { var De = typeof WeakMap == "function" ? WeakMap : Map; W = new De(); } function de(n, s) { if (!n || J) return ""; { var u = W.get(n); if (u !== void 0) return u; } var v; J = !0; var C = Error.prepareStackTrace; Error.prepareStackTrace = void 0; var N; N = ue.current, ue.current = null, Ne(); try { if (s) { var R = function() { throw Error(); }; if (Object.defineProperty(R.prototype, "props", { set: function() { throw Error(); } }), typeof Reflect == "object" && Reflect.construct) { try { Reflect.construct(R, []); } catch (oe) { v = oe; } Reflect.construct(n, [], R); } else { try { R.call(); } catch (oe) { v = oe; } n.call(R.prototype); } } else { try { throw Error(); } catch (oe) { v = oe; } n(); } } catch (oe) { if (oe && v && typeof oe.stack == "string") { for (var E = oe.stack.split(` `), V = v.stack.split(` `), D = E.length - 1, j = V.length - 1; D >= 1 && j >= 0 && E[D] !== V[j]; ) j--; for (; D >= 1 && j >= 0; D--, j--) if (E[D] !== V[j]) { if (D !== 1 || j !== 1) do if (D--, j--, j < 0 || E[D] !== V[j]) { var B = ` ` + E[D].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 (D >= 1 && j >= 0); break; } } } finally { J = !1, ue.current = N, Ie(), Error.prepareStackTrace = C; } var we = n ? n.displayName || n.name : "", Bt = we ? ne(we) : ""; return typeof n == "function" && W.set(n, Bt), Bt; } function Z(n, s, u) { return de(n, !1); } function Ir(n) { var s = n.prototype; return !!(s && s.isReactComponent); } function Ue(n, s, u) { if (n == null) return ""; if (typeof n == "function") return de(n, Ir(n)); if (typeof n == "string") return ne(n); switch (n) { case p: return ne("Suspense"); case d: return ne("SuspenseList"); } if (typeof n == "object") switch (n.$$typeof) { case l: return Z(n.render); case g: return Ue(n.type, s, u); case m: { var v = n, C = v._payload, N = v._init; try { return Ue(N(C), s, u); } catch { } } } return ""; } var Ge = Object.prototype.hasOwnProperty, Nt = {}, It = S.ReactDebugCurrentFrame; function He(n) { if (n) { var s = n._owner, u = Ue(n.type, n._source, s ? s.type : null); It.setExtraStackFrame(u); } else It.setExtraStackFrame(null); } function Dr(n, s, u, v, C) { { var N = Function.call.bind(Ge); for (var R in n) if (N(n, R)) { var E = void 0; try { if (typeof n[R] != "function") { var V = Error((v || "React class") + ": " + u + " type `" + R + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[R] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."); throw V.name = "Invariant Violation", V; } E = n[R](s, R, v, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"); } catch (D) { E = D; } E && !(E instanceof Error) && (He(C), y("%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).", v || "React class", u, R, typeof E), He(null)), E instanceof Error && !(E.message in Nt) && (Nt[E.message] = !0, He(C), y("Failed %s type: %s", u, E.message), He(null)); } } } var jr = Array.isArray; function ct(n) { return jr(n); } function $r(n) { { var s = typeof Symbol == "function" && Symbol.toStringTag, u = s && n[Symbol.toStringTag] || n.constructor.name || "Object"; return u; } } function Fr(n) { try { return Dt(n), !1; } catch { return !0; } } function Dt(n) { return "" + n; } function jt(n) { if (Fr(n)) return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", $r(n)), Dt(n); } var je = S.ReactCurrentOwner, Mr = { key: !0, ref: !0, __self: !0, __source: !0 }, $t, Ft, ut; ut = {}; function Lr(n) { if (Ge.call(n, "ref")) { var s = Object.getOwnPropertyDescriptor(n, "ref").get; if (s && s.isReactWarning) return !1; } return n.ref !== void 0; } function zr(n) { if (Ge.call(n, "key")) { var s = Object.getOwnPropertyDescriptor(n, "key").get; if (s && s.isReactWarning) return !1; } return n.key !== void 0; } function Vr(n, s) { if (typeof n.ref == "string" && je.current && s && je.current.stateNode !== s) { var u = G(je.current.type); ut[u] || (y('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', G(je.current.type), n.ref), ut[u] = !0); } } function Yr(n, s) { { var u = function() { $t || ($t = !0, y("%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 Wr(n, s) { { var u = function() { Ft || (Ft = !0, y("%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 Br = function(n, s, u, v, C, N, R) { var E = { // 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: R, // Record the component responsible for creating this element. _owner: N }; return E._store = {}, Object.defineProperty(E._store, "validated", { configurable: !1, enumerable: !1, writable: !0, value: !1 }), Object.defineProperty(E, "_self", { configurable: !1, enumerable: !1, writable: !1, value: v }), Object.defineProperty(E, "_source", { configurable: !1, enumerable: !1, writable: !1, value: C }), Object.freeze && (Object.freeze(E.props), Object.freeze(E)), E; }; function Ur(n, s, u, v, C) { { var N, R = {}, E = null, V = null; u !== void 0 && (jt(u), E = "" + u), zr(s) && (jt(s.key), E = "" + s.key), Lr(s) && (V = s.ref, Vr(s, C)); for (N in s) Ge.call(s, N) && !Mr.hasOwnProperty(N) && (R[N] = s[N]); if (n && n.defaultProps) { var D = n.defaultProps; for (N in D) R[N] === void 0 && (R[N] = D[N]); } if (E || V) { var j = typeof n == "function" ? n.displayName || n.name || "Unknown" : n; E && Yr(R, j), V && Wr(R, j); } return Br(n, E, V, C, v, je.current, R); } } var lt = S.ReactCurrentOwner, Mt = S.ReactDebugCurrentFrame; function be(n) { if (n) { var s = n._owner, u = Ue(n.type, n._source, s ? s.type : null); Mt.setExtraStackFrame(u); } else Mt.setExtraStackFrame(null); } var ft; ft = !1; function dt(n) { return typeof n == "object" && n !== null && n.$$typeof === t; } function Lt() { { if (lt.current) { var n = G(lt.current.type); if (n) return ` Check the render method of \`` + n + "`."; } return ""; } } function Gr(n) { { if (n !== void 0) { var s = n.fileName.replace(/^.*[\\\/]/, ""), u = n.lineNumber; return ` Check your code at ` + s + ":" + u + "."; } return ""; } } var zt = {}; function Hr(n) { { var s = Lt(); 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 Vt(n, s) { { if (!n._store || n._store.validated || n.key != null) return; n._store.validated = !0; var u = Hr(s); if (zt[u]) return; zt[u] = !0; var v = ""; n && n._owner && n._owner !== lt.current && (v = " It was passed a child from " + G(n._owner.type) + "."), be(n), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, v), be(null); } } function Yt(n, s) { { if (typeof n != "object") return; if (ct(n)) for (var u = 0; u < n.length; u++) { var v = n[u]; dt(v) && Vt(v, s); } else if (dt(n)) n._store && (n._store.validated = !0); else if (n) { var C = P(n); if (typeof C == "function" && C !== n.entries) for (var N = C.call(n), R; !(R = N.next()).done; ) dt(R.value) && Vt(R.value, s); } } } function qr(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 v = G(s); Dr(u, n.props, "prop", v, n); } else if (s.PropTypes !== void 0 && !ft) { ft = !0; var C = G(s); y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", C || "Unknown"); } typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead."); } } function Xr(n) { { for (var s = Object.keys(n.props), u = 0; u < s.length; u++) { var v = s[u]; if (v !== "children" && v !== "key") { be(n), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v), be(null); break; } } n.ref !== null && (be(n), y("Invalid attribute `ref` supplied to `React.Fragment`."), be(null)); } } function Wt(n, s, u, v, C, N) { { var R = ie(n); if (!R) { var E = ""; (n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (E += " 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 = Gr(C); V ? E += V : E += Lt(); var D; n === null ? D = "null" : ct(n) ? D = "array" : n !== void 0 && n.$$typeof === t ? (D = "<" + (G(n.type) || "Unknown") + " />", E = " Did you accidentally export a JSX literal instead of a component?") : D = typeof n, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", D, E); } var j = Ur(n, s, u, C, N); if (j == null) return j; if (R) { var B = s.children; if (B !== void 0) if (v) if (ct(B)) { for (var we = 0; we < B.length; we++) Yt(B[we], n); Object.freeze && Object.freeze(B); } else y("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 Yt(B, n); } return n === o ? Xr(j) : qr(j), j; } } function Kr(n, s, u) { return Wt(n, s, u, !0); } function Jr(n, s, u) { return Wt(n, s, u, !1); } var Zr = Jr, Qr = Kr; Fe.Fragment = o, Fe.jsx = Zr, Fe.jsxs = Qr; }()), Fe; } process.env.NODE_ENV === "production" ? yt.exports = nn() : yt.exports = on(); var fr = yt.exports; const ee = fr.jsx, Le = fr.jsxs; function an(e, t, r) { var o = r || {}, a = o.noTrailing, i = a === void 0 ? !1 : a, c = o.noLeading, f = c === void 0 ? !1 : c, l = o.debounceMode, p = l === void 0 ? void 0 : l, d, g = !1, m = 0; function b() { d && clearTimeout(d); } function _(P) { var S = P || {}, y = S.upcomingOnly, F = y === void 0 ? !1 : y; b(), g = !F; } function T() { for (var P = arguments.length, S = new Array(P), y = 0; y < P; y++) S[y] = arguments[y]; var F = this, A = Date.now() - m; if (g) return; function k() { m = Date.now(), t.apply(F, S); } function O() { d = void 0; } !f && p && !d && k(), b(), p === void 0 && A > e ? f ? (m = Date.now(), i || (d = setTimeout(p ? O : k, e))) : k() : i !== !0 && (d = setTimeout(p ? O : k, p === void 0 ? e - A : e)); } return T.cancel = _, T; } function sn(e, t, r) { var o = r || {}, a = o.atBegin, i = a === void 0 ? !1 : a; return an(e, t, { debounceMode: i !== !1 }); } function cn({ loading: e }) { return e ? /* @__PURE__ */ Le( "svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", children: [ /* @__PURE__ */ ee( "rect", { x: "0", y: "0", width: "24", height: "24", fill: "none", stroke: "none" } ), /* @__PURE__ */ Le( "g", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "2", children: [ /* @__PURE__ */ ee( "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__ */ ee( "animate", { fill: "freeze", attributeName: "stroke-dashoffset", dur: "1.3s", values: "60;0" } ) } ), /* @__PURE__ */ Le( "path", { strokeDasharray: "15", strokeDashoffset: "15", d: "M12 3C16.9706 3 21 7.02944 21 12", children: [ /* @__PURE__ */ ee( "animate", { fill: "freeze", attributeName: "stroke-dashoffset", dur: "0.3s", values: "15;0" } ), /* @__PURE__ */ ee( "animateTransform", { attributeName: "transform", dur: "1.5s", repeatCount: "indefinite", type: "rotate", values: "0 12 12;360 12 12" } ) ] } ) ] } ) ] } ) : null; } 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 Re(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 un(e) { var t = /* @__PURE__ */ Object.create(null); return function(r) { return t[r] === void 0 && (t[r] = e(r)), t[r]; }; } 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)-.*))$/, fn = /* @__PURE__ */ un( function(e) { return ln.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91; } /* Z+1 */ ), I = "-ms-", ze = "-moz-", x = "-webkit-", dr = "comm", nt = "rule", Ct = "decl", dn = "@import", pr = "@keyframes", pn = "@layer", hn = Math.abs, xt = String.fromCharCode, bt = Object.assign; function mn(e, t) { return M(e, 0) ^ 45 ? (((t << 2 ^ M(e, 0)) << 2 ^ M(e, 1)) << 2 ^ M(e, 2)) << 2 ^ M(e, 3) : 0; } function hr(e) { return e.trim(); } function ae(e, t) { return (e = t.exec(e)) ? e[0] : e; } function w(e, t, r) { return e.replace(t, r); } function Je(e, t) { return e.indexOf(t); } function M(e, t) { return e.charCodeAt(t) | 0; } function _e(e, t, r) { return e.slice(t, r); } function Q(e) { return e.length; } function mr(e) { return e.length; } function Me(e, t) { return t.push(e), e; } function gn(e, t) { return e.map(t).join(""); } function qt(e, t) { return e.filter(function(r) { return !ae(r, t); }); } var ot = 1, ke = 1, gr = 0, U = 0, $ = 0, Pe = ""; function at(e, t, r, o, a, i, c, f) { return { value: e, root: t, parent: r, type: o, props: a, children: i, line: ot, column: ke, length: c, return: "", siblings: f }; } function le(e, t) { return bt(at("", null, null, "", null, null, 0, e.siblings), e, { length: -e.length }, t); } function Se(e) { for (; e.root; ) e = le(e.root, { children: [e] }); Me(e, e.siblings); } function vn() { return $; } function yn() { return $ = U > 0 ? M(Pe, --U) : 0, ke--, $ === 10 && (ke = 1, ot--), $; } function X() { return $ = U < gr ? M(Pe, U++) : 0, ke++, $ === 10 && (ke = 1, ot++), $; } function me() { return M(Pe, U); } function Ze() { return U; } function it(e, t) { return _e(Pe, e, t); } function wt(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 bn(e) { return ot = ke = 1, gr = Q(Pe = e), U = 0, []; } function wn(e) { return Pe = "", e; } function pt(e) { return hr(it(U - 1, St(e === 91 ? e + 2 : e === 40 ? e + 1 : e))); } function Sn(e) { for (; ($ = me()) && $ < 33; ) X(); return wt(e) > 2 || wt($) > 3 ? "" : " "; } function En(e, t) { for (; --t && X() && !($ < 48 || $ > 102 || $ > 57 && $ < 65 || $ > 70 && $ < 97); ) ; return it(e, Ze() + (t < 6 && me() == 32 && X() == 32)); } function St(e) { for (; X(); ) switch ($) { case e: return U; case 34: case 39: e !== 34 && e !== 39 && St($); break; case 40: e === 41 && St(e); break; case 92: X(); break; } return U; } function Rn(e, t) { for (; X() && e + $ !== 47 + 10; ) if (e + $ === 42 + 42 && me() === 47) break; return "/*" + it(t, U - 1) + "*" + xt(e === 47 ? e : X()); } function _n(e) { for (; !wt(me()); ) X(); return it(e, U); } function kn(e) { return wn(Qe("", null, null, null, [""], e = bn(e), 0, [0], e)); } function Qe(e, t, r, o, a, i, c, f, l) { for (var p = 0, d = 0, g = c, m = 0, b = 0, _ = 0, T = 1, P = 1, S = 1, y = 0, F = "", A = a, k = i, O = o, h = F; P; ) switch (_ = y, y = X()) { case 40: if (_ != 108 && M(h, g - 1) == 58) { Je(h += w(pt(y), "&", "&\f"), "&\f") != -1 && (S = -1); break; } case 34: case 39: case 91: h += pt(y); break; case 9: case 10: case 13: case 32: h += Sn(_); break; case 92: h += En(Ze() - 1, 7); continue; case 47: switch (me()) { case 42: case 47: Me(Cn(Rn(X(), Ze()), t, r, l), l); break; default: h += "/"; } break; case 123 * T: f[p++] = Q(h) * S; case 125 * T: case 59: case 0: switch (y) { case 0: case 125: P = 0; case 59 + d: S == -1 && (h = w(h, /\f/g, "")), b > 0 && Q(h) - g && Me(b > 32 ? Kt(h + ";", o, r, g - 1, l) : Kt(w(h, " ", "") + ";", o, r, g - 2, l), l); break; case 59: h += ";"; default: if (Me(O = Xt(h, t, r, p, d, a, f, F, A = [], k = [], g, i), i), y === 123) if (d === 0) Qe(h, t, O, O, A, i, g, f, k); else switch (m === 99 && M(h, 3) === 110 ? 100 : m) { case 100: case 108: case 109: case 115: Qe(e, O, O, o && Me(Xt(e, O, O, 0, 0, a, f, F, a, A = [], g, k), k), a, k, g, f, o ? A : k); break; default: Qe(h, O, O, O, [""], k, 0, f, k); } } p = d = b = 0, T = S = 1, F = h = "", g = c; break; case 58: g = 1 + Q(h), b = _; default: if (T < 1) { if (y == 123) --T; else if (y == 125 && T++ == 0 && yn() == 125) continue; } switch (h += xt(y), y * T) { case 38: S = d > 0 ? 1 : (h += "\f", -1); break; case 44: f[p++] = (Q(h) - 1) * S, S = 1; break; case 64: me() === 45 && (h += pt(X())), m = me(), d = g = Q(F = h += _n(Ze())), y++; break; case 45: _ === 45 && Q(h) == 2 && (T = 0); } } return i; } function Xt(e, t, r, o, a, i, c, f, l, p, d, g) { for (var m = a - 1, b = a === 0 ? i : [""], _ = mr(b), T = 0, P = 0, S = 0; T < o; ++T) for (var y = 0, F = _e(e, m + 1, m = hn(P = c[T])), A = e; y < _; ++y) (A = hr(P > 0 ? b[y] + " " + F : w(F, /&\f/g, b[y]))) && (l[S++] = A); return at(e, t, r, a === 0 ? nt : f, l, p, d, g); } function Cn(e, t, r, o) { return at(e, t, r, dr, xt(vn()), _e(e, 2, -2), 0, o); } function Kt(e, t, r, o, a) { return at(e, t, r, Ct, _e(e, 0, o), _e(e, o + 1, -1), o, a); } function vr(e, t, r) { switch (mn(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 ze + e + e; case 5349: case 4246: case 4810: case 6968: case 2756: return x + e + ze + e + I + e + e; case 5936: switch (M(e, t + 11)) { case 114: return x + e + I + w(e, /[svh]\w+-[tblr]{2}/, "tb") + e; case 108: return x + e + I + w(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e; case 45: return x + e + I + w(e, /[svh]\w+-[tblr]{2}/, "lr") + e; } case 6828: case 4268: case 2903: return x + e + I + e + e; case 6165: return x + e + I + "flex-" + e + e; case 5187: return x + e + w(e, /(\w+).+(:[^]+)/, x + "box-$1$2" + I + "flex-$1$2") + e; case 5443: return x + e + I + "flex-item-" + w(e, /flex-|-self/g, "") + (ae(e, /flex-|baseline/) ? "" : I + "grid-row-" + w(e, /flex-|-self/g, "")) + e; case 4675: return x + e + I + "flex-line-pack" + w(e, /align-content|flex-|-self/g, "") + e; case 5548: return x + e + I + w(e, "shrink", "negative") + e; case 5292: return x + e + I + w(e, "basis", "preferred-size") + e; case 6060: return x + "box-" + w(e, "-grow", "") + x + e + I + w(e, "grow", "positive") + e; case 4554: return x + w(e, /([^-])(transform)/g, "$1" + x + "$2") + e; case 6187: return w(w(w(e, /(zoom-|grab)/, x + "$1"), /(image-set)/, x + "$1"), e, "") + e; case 5495: case 3959: return w(e, /(image-set\([^]*)/, x + "$1$`$1"); case 4968: return w(w(e, /(.+:)(flex-)?(.*)/, x + "box-pack:$3" + I + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + x + e + e; case 4200: if (!ae(e, /flex-|baseline/)) return I + "grid-column-align" + _e(e, t) + e; break; case 2592: case 3360: return I + w(e, "template-", "") + e; case 4384: case 3616: return r && r.some(function(o, a) { return t = a, ae(o.props, /grid-\w+-end/); }) ? ~Je(e + (r = r[t].value), "span") ? e : I + w(e, "-start", "") + e + I + "grid-row-span:" + (~Je(r, "span") ? ae(r, /\d+/) : +ae(r, /\d+/) - +ae(e, /\d+/)) + ";" : I + w(e, "-start", "") + e; case 4896: case 4128: return r && r.some(function(o) { return ae(o.props, /grid-\w+-start/); }) ? e : I + w(w(e, "-end", "-span"), "span ", "") + e; case 4095: case 3583: case 4068: case 2532: return w(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 (M(e, t + 1)) { case 109: if (M(e, t + 4) !== 45) break; case 102: return w(e, /(.+:)(.+)-([^]+)/, "$1" + x + "$2-$3$1" + ze + (M(e, t + 3) == 108 ? "$3" : "$2-$3")) + e; case 115: return ~Je(e, "stretch") ? vr(w(e, "stretch", "fill-available"), t, r) + e : e; } break; case 5152: case 5920: return w(e, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function(o, a, i, c, f, l, p) { return I + a + ":" + i + p + (c ? I + a + "-span:" + (f ? l : +l - +i) + p : "") + e; }); case 4949: if (M(e, t + 6) === 121) return w(e, ":", ":" + x) + e; break; case 6444: switch (M(e, M(e, 14) === 45 ? 18 : 11)) { case 120: return w(e, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, "$1" + x + (M(e, 14) === 45 ? "inline-" : "") + "box$3$1" + x + "$2$3$1" + I + "$2box$3") + e; case 100: return w(e, ":", ":" + I) + e; } break; case 5719: case 2647: case 2135: case 3927: case 2391: return w(e, "scroll-", "scroll-snap-") + e; } return e; } function tt(e, t) { for (var r = "", o = 0; o < e.length; o++) r += t(e[o], o, e, t) || ""; return r; } function xn(e, t, r, o) { switch (e.type) { case pn: if (e.children.length) break; case dn: case Ct: return e.return = e.return || e.value; case dr: return ""; case pr: return e.return = e.value + "{" + tt(e.children, o) + "}"; case nt: if (!Q(e.value = e.props.join(","))) return ""; } return Q(r = tt(e.children, o)) ? e.return = e.value + "{" + r + "}" : ""; } function Tn(e) { var t = mr(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 Pn(e) { return function(t) { t.root || (t = t.return) && e(t); }; } function On(e, t, r, o) { if (e.length > -1 && !e.return) switch (e.type) { case Ct: e.return = vr(e.value, e.length, r); return; case pr: return tt([le(e, { value: w(e.value, "@", "@" + x) })], o); case nt: if (e.length) return gn(r = e.props, function(a) { switch (ae(a, o = /(::plac\w+|:read-\w+)/)) { case ":read-only": case ":read-write": Se(le(e, { props: [w(a, /:(read-\w+)/, ":" + ze + "$1")] })), Se(le(e, { props: [a] })), bt(e, { props: qt(r, o) }); break; case "::placeholder": Se(le(e, { props: [w(a, /:(plac\w+)/, ":" + x + "input-$1")] })), Se(le(e, { props: [w(a, /:(plac\w+)/, ":" + ze + "$1")] })), Se(le(e, { props: [w(a, /:(plac\w+)/, I + "input-$1")] })), Se(le(e, { props: [a] })), bt(e, { props: qt(r, o) }); break; } return ""; }); } } var An = { 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 }, ve = typeof process < "u" && process.env !== void 0 && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled", Tt = typeof window < "u" && "HTMLElement" in window, Nn = !!(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"), Jt = /invalid hook call/i, qe = /* @__PURE__ */ new Set(), In = 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]; Jt.test(c) ? (i = !1, qe.delete(o)) : a.apply(void 0, Re([c], f, !1)); }, en(), i && !qe.has(o) && (console.warn(o), qe.add(o)); } catch (c) { Jt.test(c.message) && qe.delete(o); } finally { console.error = a; } } }, Pt = Object.freeze([]), Ce = Object.freeze({}); function Dn(e, t, r) { return r === void 0 && (r = Ce), e.theme !== r.theme && e.theme || t || r.theme; } var yr = /* @__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"]), jn = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g, $n = /(^-|-$)/g; function Zt(e) { return e.replace(jn, "-").replace($n, ""); } var Fn = /(a)(d)/gi, Qt = function(e) { return String.fromCharCode(e + (e > 25 ? 39 : 97)); }; function Et(e) { var t, r = ""; for (t = Math.abs(e); t > 52; t = t / 52 | 0) r = Qt(t % 52) + r; return (Qt(t % 52) + r).replace(Fn, "$1-$2"); } var ht, pe = function(e, t) { for (var r = t.length; r; ) e = 33 * e ^ t.charCodeAt(--r); return e; }, br = function(e) { return pe(5381, e); }; function Mn(e) { return Et(br(e) >>> 0); } function wr(e) { return process.env.NODE_ENV !== "production" && typeof e == "string" && e || e.displayName || e.name || "Component"; } function mt(e) { return typeof e == "string" && (process.env.NODE_ENV === "production" || e.charAt(0) === e.charAt(0).toLowerCase()); } var Sr = typeof Symbol == "function" && Symbol.for, Er = Sr ? Symbol.for("react.memo") : 60115, Ln = Sr ? Symbol.for("react.forward_ref") : 60112, zn = { childContextTypes: !0, contextType: !0, contextTypes: !0, defaultProps: !0, displayName: !0, getDefaultProps: !0, getDerivedStateFromError: !0, getDerivedStateFromProps: !0, mixins: !0, propTypes: !0, type: !0 }, Vn = { name: !0, length: !0, prototype: !0, caller: !0, callee: !0, arguments: !0, arity: !0 }, Rr = { $$typeof: !0, compare: !0, defaultProps: !0, displayName: !0, propTypes: !0, type: !0 }, Yn = ((ht = {})[Ln] = { $$typeof: !0, render: !0, defaultProps: !0, displayName: !0, propTypes: !0 }, ht[Er] = Rr, ht); function er(e) { return ("type" in (t = e) && t.type.$$typeof) === Er ? Rr : "$$typeof" in e ? Yn[e.$$typeof] : zn; var t; } var Wn = Object.defineProperty, Bn = Object.getOwnPropertyNames, tr = Object.getOwnPropertySymbols, Un = Object.getOwnPropertyDescriptor, Gn = Object.getPrototypeOf, rr = Object.prototype; function _r(e, t, r) { if (typeof t != "string") { if (rr) { var o = Gn(t); o && o !== rr && _r(e, o, r); } var a = Bn(t); tr && (a = a.concat(tr(t))); for (var i = er(e), c = er(t), f = 0; f < a.length; ++f) { var l = a[f]; if (!(l in Vn || r && r[l] || c && l in c || i && l in i)) { var p = Un(t, l); try { Wn(e, l, p); } catch { } } } } return e; } function xe(e) { return typeof e == "function"; } function Ot(e) { return typeof e == "object" && "styledComponentId" in e; } function he(e, t) { return e && t ? "".concat(e, " ").concat(t) : e || t || ""; } function nr(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 Te(e) { return e !== null && typeof e == "object" && e.constructor.name === Object.name && !("props" in e && e.$$typeof); } function Rt(e, t, r) { if (r === void 0 && (r = !1), !r && !Te(e) && !Array.isArray(e)) return t; if (Array.isArray(t)) for (var o = 0; o < t.length; o++) e[o] = Rt(e[o], t[o]); else if (Te(t)) for (var o in t) e[o] = Rt(e[o], t[o]); return e; } function At(e, t) { Object.defineProperty(e, "toString", { value: t }); } var Hn = 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\