UNPKG

react-components-form

Version:
1,459 lines (1,457 loc) 100 kB
var aa = Object.defineProperty; var ia = (e, t, r) => t in e ? aa(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r; var Ye = (e, t, r) => ia(e, typeof t != "symbol" ? t + "" : t, r); import ue from "react"; var Ke = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}; function Oe(e) { return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e; } var Ot = { exports: {} }, Le = {}; /** * @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 or; function sa() { if (or) return Le; or = 1; var e = ue, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 }; function o(l, c, d) { var h, y = {}, _ = null, x = null; d !== void 0 && (_ = "" + d), c.key !== void 0 && (_ = "" + c.key), c.ref !== void 0 && (x = c.ref); for (h in c) n.call(c, h) && !s.hasOwnProperty(h) && (y[h] = c[h]); if (l && l.defaultProps) for (h in c = l.defaultProps, c) y[h] === void 0 && (y[h] = c[h]); return { $$typeof: t, type: l, key: _, ref: x, props: y, _owner: i.current }; } return Le.Fragment = r, Le.jsx = o, Le.jsxs = o, Le; } 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 lr; function oa() { return lr || (lr = 1, process.env.NODE_ENV !== "production" && function() { var e = ue, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), x = Symbol.for("react.offscreen"), L = Symbol.iterator, O = "@@iterator"; function j(a) { if (a === null || typeof a != "object") return null; var u = L && a[L] || a[O]; return typeof u == "function" ? u : null; } var M = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; function D(a) { { for (var u = arguments.length, g = new Array(u > 1 ? u - 1 : 0), E = 1; E < u; E++) g[E - 1] = arguments[E]; Y("error", a, g); } } function Y(a, u, g) { { var E = M.ReactDebugCurrentFrame, N = E.getStackAddendum(); N !== "" && (u += "%s", g = g.concat([N])); var k = g.map(function(I) { return String(I); }); k.unshift("Warning: " + u), Function.prototype.apply.call(console[a], console, k); } } var q = !1, v = !1, se = !1, Re = !1, Me = !1, me; me = Symbol.for("react.module.reference"); function Fe(a) { return !!(typeof a == "string" || typeof a == "function" || a === n || a === s || Me || a === i || a === d || a === h || Re || a === x || q || v || se || typeof a == "object" && a !== null && (a.$$typeof === _ || a.$$typeof === y || a.$$typeof === o || a.$$typeof === l || a.$$typeof === c || // This needs to include all possible module reference object // types supported by any Flight configuration anywhere since // we don't know which Flight build this will end up being used // with. a.$$typeof === me || a.getModuleId !== void 0)); } function be(a, u, g) { var E = a.displayName; if (E) return E; var N = u.displayName || u.name || ""; return N !== "" ? g + "(" + N + ")" : g; } function _e(a) { return a.displayName || "Context"; } function Z(a) { if (a == null) return null; if (typeof a.tag == "number" && D("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof a == "function") return a.displayName || a.name || null; if (typeof a == "string") return a; switch (a) { case n: return "Fragment"; case r: return "Portal"; case s: return "Profiler"; case i: return "StrictMode"; case d: return "Suspense"; case h: return "SuspenseList"; } if (typeof a == "object") switch (a.$$typeof) { case l: var u = a; return _e(u) + ".Consumer"; case o: var g = a; return _e(g._context) + ".Provider"; case c: return be(a, a.render, "ForwardRef"); case y: var E = a.displayName || null; return E !== null ? E : Z(a.type) || "Memo"; case _: { var N = a, k = N._payload, I = N._init; try { return Z(I(k)); } catch { return null; } } } return null; } var Q = Object.assign, oe = 0, te, ae, fe, Ee, f, m, C; function A() { } A.__reactDisabledLog = !0; function $() { { if (oe === 0) { te = console.log, ae = console.info, fe = console.warn, Ee = console.error, f = console.group, m = console.groupCollapsed, C = console.groupEnd; var a = { configurable: !0, enumerable: !0, value: A, writable: !0 }; Object.defineProperties(console, { info: a, log: a, warn: a, error: a, group: a, groupCollapsed: a, groupEnd: a }); } oe++; } } function F() { { if (oe--, oe === 0) { var a = { configurable: !0, enumerable: !0, writable: !0 }; Object.defineProperties(console, { log: Q({}, a, { value: te }), info: Q({}, a, { value: ae }), warn: Q({}, a, { value: fe }), error: Q({}, a, { value: Ee }), group: Q({}, a, { value: f }), groupCollapsed: Q({}, a, { value: m }), groupEnd: Q({}, a, { value: C }) }); } oe < 0 && D("disabledDepth fell below zero. This is a bug in React. Please file an issue."); } } var T = M.ReactCurrentDispatcher, S; function P(a, u, g) { { if (S === void 0) try { throw Error(); } catch (N) { var E = N.stack.trim().match(/\n( *(at )?)/); S = E && E[1] || ""; } return ` ` + S + a; } } var V = !1, w; { var H = typeof WeakMap == "function" ? WeakMap : Map; w = new H(); } function p(a, u) { if (!a || V) return ""; { var g = w.get(a); if (g !== void 0) return g; } var E; V = !0; var N = Error.prepareStackTrace; Error.prepareStackTrace = void 0; var k; k = T.current, T.current = null, $(); try { if (u) { var I = function() { throw Error(); }; if (Object.defineProperty(I.prototype, "props", { set: function() { throw Error(); } }), typeof Reflect == "object" && Reflect.construct) { try { Reflect.construct(I, []); } catch (ee) { E = ee; } Reflect.construct(a, [], I); } else { try { I.call(); } catch (ee) { E = ee; } a.call(I.prototype); } } else { try { throw Error(); } catch (ee) { E = ee; } a(); } } catch (ee) { if (ee && E && typeof ee.stack == "string") { for (var R = ee.stack.split(` `), J = E.stack.split(` `), K = R.length - 1, z = J.length - 1; K >= 1 && z >= 0 && R[K] !== J[z]; ) z--; for (; K >= 1 && z >= 0; K--, z--) if (R[K] !== J[z]) { if (K !== 1 || z !== 1) do if (K--, z--, z < 0 || R[K] !== J[z]) { var ne = ` ` + R[K].replace(" at new ", " at "); return a.displayName && ne.includes("<anonymous>") && (ne = ne.replace("<anonymous>", a.displayName)), typeof a == "function" && w.set(a, ne), ne; } while (K >= 1 && z >= 0); break; } } } finally { V = !1, T.current = k, F(), Error.prepareStackTrace = N; } var Se = a ? a.displayName || a.name : "", he = Se ? P(Se) : ""; return typeof a == "function" && w.set(a, he), he; } function re(a, u, g) { return p(a, !1); } function $e(a) { var u = a.prototype; return !!(u && u.isReactComponent); } function de(a, u, g) { if (a == null) return ""; if (typeof a == "function") return p(a, $e(a)); if (typeof a == "string") return P(a); switch (a) { case d: return P("Suspense"); case h: return P("SuspenseList"); } if (typeof a == "object") switch (a.$$typeof) { case c: return re(a.render); case y: return de(a.type, u, g); case _: { var E = a, N = E._payload, k = E._init; try { return de(k(N), u, g); } catch { } } } return ""; } var Ie = Object.prototype.hasOwnProperty, zt = {}, Ht = M.ReactDebugCurrentFrame; function Ge(a) { if (a) { var u = a._owner, g = de(a.type, a._source, u ? u.type : null); Ht.setExtraStackFrame(g); } else Ht.setExtraStackFrame(null); } function Vn(a, u, g, E, N) { { var k = Function.call.bind(Ie); for (var I in a) if (k(a, I)) { var R = void 0; try { if (typeof a[I] != "function") { var J = Error((E || "React class") + ": " + g + " type `" + I + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[I] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."); throw J.name = "Invariant Violation", J; } R = a[I](u, I, E, g, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"); } catch (K) { R = K; } R && !(R instanceof Error) && (Ge(N), D("%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).", E || "React class", g, I, typeof R), Ge(null)), R instanceof Error && !(R.message in zt) && (zt[R.message] = !0, Ge(N), D("Failed %s type: %s", g, R.message), Ge(null)); } } } var Ln = Array.isArray; function ct(a) { return Ln(a); } function Dn(a) { { var u = typeof Symbol == "function" && Symbol.toStringTag, g = u && a[Symbol.toStringTag] || a.constructor.name || "Object"; return g; } } function Nn(a) { try { return Jt(a), !1; } catch { return !0; } } function Jt(a) { return "" + a; } function Xt(a) { if (Nn(a)) return D("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Dn(a)), Jt(a); } var Ve = M.ReactCurrentOwner, Un = { key: !0, ref: !0, __self: !0, __source: !0 }, Zt, Qt, ft; ft = {}; function Bn(a) { if (Ie.call(a, "ref")) { var u = Object.getOwnPropertyDescriptor(a, "ref").get; if (u && u.isReactWarning) return !1; } return a.ref !== void 0; } function kn(a) { if (Ie.call(a, "key")) { var u = Object.getOwnPropertyDescriptor(a, "key").get; if (u && u.isReactWarning) return !1; } return a.key !== void 0; } function Wn(a, u) { if (typeof a.ref == "string" && Ve.current && u && Ve.current.stateNode !== u) { var g = Z(Ve.current.type); ft[g] || (D('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', Z(Ve.current.type), a.ref), ft[g] = !0); } } function qn(a, u) { { var g = function() { Zt || (Zt = !0, D("%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)", u)); }; g.isReactWarning = !0, Object.defineProperty(a, "key", { get: g, configurable: !0 }); } } function Gn(a, u) { { var g = function() { Qt || (Qt = !0, D("%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)", u)); }; g.isReactWarning = !0, Object.defineProperty(a, "ref", { get: g, configurable: !0 }); } } var Yn = function(a, u, g, E, N, k, I) { var R = { // This tag allows us to uniquely identify this as a React Element $$typeof: t, // Built-in properties that belong on the element type: a, key: u, ref: g, props: I, // Record the component responsible for creating this element. _owner: k }; return R._store = {}, Object.defineProperty(R._store, "validated", { configurable: !1, enumerable: !1, writable: !0, value: !1 }), Object.defineProperty(R, "_self", { configurable: !1, enumerable: !1, writable: !1, value: E }), Object.defineProperty(R, "_source", { configurable: !1, enumerable: !1, writable: !1, value: N }), Object.freeze && (Object.freeze(R.props), Object.freeze(R)), R; }; function Kn(a, u, g, E, N) { { var k, I = {}, R = null, J = null; g !== void 0 && (Xt(g), R = "" + g), kn(u) && (Xt(u.key), R = "" + u.key), Bn(u) && (J = u.ref, Wn(u, N)); for (k in u) Ie.call(u, k) && !Un.hasOwnProperty(k) && (I[k] = u[k]); if (a && a.defaultProps) { var K = a.defaultProps; for (k in K) I[k] === void 0 && (I[k] = K[k]); } if (R || J) { var z = typeof a == "function" ? a.displayName || a.name || "Unknown" : a; R && qn(I, z), J && Gn(I, z); } return Yn(a, R, J, N, E, Ve.current, I); } } var dt = M.ReactCurrentOwner, er = M.ReactDebugCurrentFrame; function Te(a) { if (a) { var u = a._owner, g = de(a.type, a._source, u ? u.type : null); er.setExtraStackFrame(g); } else er.setExtraStackFrame(null); } var ht; ht = !1; function vt(a) { return typeof a == "object" && a !== null && a.$$typeof === t; } function tr() { { if (dt.current) { var a = Z(dt.current.type); if (a) return ` Check the render method of \`` + a + "`."; } return ""; } } function zn(a) { return ""; } var rr = {}; function Hn(a) { { var u = tr(); if (!u) { var g = typeof a == "string" ? a : a.displayName || a.name; g && (u = ` Check the top-level render call using <` + g + ">."); } return u; } } function nr(a, u) { { if (!a._store || a._store.validated || a.key != null) return; a._store.validated = !0; var g = Hn(u); if (rr[g]) return; rr[g] = !0; var E = ""; a && a._owner && a._owner !== dt.current && (E = " It was passed a child from " + Z(a._owner.type) + "."), Te(a), D('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', g, E), Te(null); } } function ar(a, u) { { if (typeof a != "object") return; if (ct(a)) for (var g = 0; g < a.length; g++) { var E = a[g]; vt(E) && nr(E, u); } else if (vt(a)) a._store && (a._store.validated = !0); else if (a) { var N = j(a); if (typeof N == "function" && N !== a.entries) for (var k = N.call(a), I; !(I = k.next()).done; ) vt(I.value) && nr(I.value, u); } } } function Jn(a) { { var u = a.type; if (u == null || typeof u == "string") return; var g; if (typeof u == "function") g = u.propTypes; else if (typeof u == "object" && (u.$$typeof === c || // Note: Memo only checks outer props here. // Inner props are checked in the reconciler. u.$$typeof === y)) g = u.propTypes; else return; if (g) { var E = Z(u); Vn(g, a.props, "prop", E, a); } else if (u.PropTypes !== void 0 && !ht) { ht = !0; var N = Z(u); D("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", N || "Unknown"); } typeof u.getDefaultProps == "function" && !u.getDefaultProps.isReactClassApproved && D("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead."); } } function Xn(a) { { for (var u = Object.keys(a.props), g = 0; g < u.length; g++) { var E = u[g]; if (E !== "children" && E !== "key") { Te(a), D("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", E), Te(null); break; } } a.ref !== null && (Te(a), D("Invalid attribute `ref` supplied to `React.Fragment`."), Te(null)); } } var ir = {}; function sr(a, u, g, E, N, k) { { var I = Fe(a); if (!I) { var R = ""; (a === void 0 || typeof a == "object" && a !== null && Object.keys(a).length === 0) && (R += " 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 J = zn(); J ? R += J : R += tr(); var K; a === null ? K = "null" : ct(a) ? K = "array" : a !== void 0 && a.$$typeof === t ? (K = "<" + (Z(a.type) || "Unknown") + " />", R = " Did you accidentally export a JSX literal instead of a component?") : K = typeof a, D("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", K, R); } var z = Kn(a, u, g, N, k); if (z == null) return z; if (I) { var ne = u.children; if (ne !== void 0) if (E) if (ct(ne)) { for (var Se = 0; Se < ne.length; Se++) ar(ne[Se], a); Object.freeze && Object.freeze(ne); } else D("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 ar(ne, a); } if (Ie.call(u, "key")) { var he = Z(a), ee = Object.keys(u).filter(function(na) { return na !== "key"; }), pt = ee.length > 0 ? "{key: someKey, " + ee.join(": ..., ") + ": ...}" : "{key: someKey}"; if (!ir[he + pt]) { var ra = ee.length > 0 ? "{" + ee.join(": ..., ") + ": ...}" : "{}"; D(`A props object containing a "key" prop is being spread into JSX: let props = %s; <%s {...props} /> React keys must be passed directly to JSX without using spread: let props = %s; <%s key={someKey} {...props} />`, pt, he, ra, he), ir[he + pt] = !0; } } return a === n ? Xn(z) : Jn(z), z; } } function Zn(a, u, g) { return sr(a, u, g, !0); } function Qn(a, u, g) { return sr(a, u, g, !1); } var ea = Qn, ta = Zn; De.Fragment = n, De.jsx = ea, De.jsxs = ta; }()), De; } process.env.NODE_ENV === "production" ? Ot.exports = sa() : Ot.exports = oa(); var X = Ot.exports, At = { exports: {} }, ze = { exports: {} }, U = {}; /** @license React v16.13.1 * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var ur; function la() { if (ur) return U; ur = 1; var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, y = e ? Symbol.for("react.suspense") : 60113, _ = e ? Symbol.for("react.suspense_list") : 60120, x = e ? Symbol.for("react.memo") : 60115, L = e ? Symbol.for("react.lazy") : 60116, O = e ? Symbol.for("react.block") : 60121, j = e ? Symbol.for("react.fundamental") : 60117, M = e ? Symbol.for("react.responder") : 60118, D = e ? Symbol.for("react.scope") : 60119; function Y(v) { if (typeof v == "object" && v !== null) { var se = v.$$typeof; switch (se) { case t: switch (v = v.type, v) { case c: case d: case n: case s: case i: case y: return v; default: switch (v = v && v.$$typeof, v) { case l: case h: case L: case x: case o: return v; default: return se; } } case r: return se; } } } function q(v) { return Y(v) === d; } return U.AsyncMode = c, U.ConcurrentMode = d, U.ContextConsumer = l, U.ContextProvider = o, U.Element = t, U.ForwardRef = h, U.Fragment = n, U.Lazy = L, U.Memo = x, U.Portal = r, U.Profiler = s, U.StrictMode = i, U.Suspense = y, U.isAsyncMode = function(v) { return q(v) || Y(v) === c; }, U.isConcurrentMode = q, U.isContextConsumer = function(v) { return Y(v) === l; }, U.isContextProvider = function(v) { return Y(v) === o; }, U.isElement = function(v) { return typeof v == "object" && v !== null && v.$$typeof === t; }, U.isForwardRef = function(v) { return Y(v) === h; }, U.isFragment = function(v) { return Y(v) === n; }, U.isLazy = function(v) { return Y(v) === L; }, U.isMemo = function(v) { return Y(v) === x; }, U.isPortal = function(v) { return Y(v) === r; }, U.isProfiler = function(v) { return Y(v) === s; }, U.isStrictMode = function(v) { return Y(v) === i; }, U.isSuspense = function(v) { return Y(v) === y; }, U.isValidElementType = function(v) { return typeof v == "string" || typeof v == "function" || v === n || v === d || v === s || v === i || v === y || v === _ || typeof v == "object" && v !== null && (v.$$typeof === L || v.$$typeof === x || v.$$typeof === o || v.$$typeof === l || v.$$typeof === h || v.$$typeof === j || v.$$typeof === M || v.$$typeof === D || v.$$typeof === O); }, U.typeOf = Y, U; } var B = {}; /** @license React v16.13.1 * react-is.development.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var cr; function ua() { return cr || (cr = 1, process.env.NODE_ENV !== "production" && function() { var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, y = e ? Symbol.for("react.suspense") : 60113, _ = e ? Symbol.for("react.suspense_list") : 60120, x = e ? Symbol.for("react.memo") : 60115, L = e ? Symbol.for("react.lazy") : 60116, O = e ? Symbol.for("react.block") : 60121, j = e ? Symbol.for("react.fundamental") : 60117, M = e ? Symbol.for("react.responder") : 60118, D = e ? Symbol.for("react.scope") : 60119; function Y(p) { return typeof p == "string" || typeof p == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill. p === n || p === d || p === s || p === i || p === y || p === _ || typeof p == "object" && p !== null && (p.$$typeof === L || p.$$typeof === x || p.$$typeof === o || p.$$typeof === l || p.$$typeof === h || p.$$typeof === j || p.$$typeof === M || p.$$typeof === D || p.$$typeof === O); } function q(p) { if (typeof p == "object" && p !== null) { var re = p.$$typeof; switch (re) { case t: var $e = p.type; switch ($e) { case c: case d: case n: case s: case i: case y: return $e; default: var de = $e && $e.$$typeof; switch (de) { case l: case h: case L: case x: case o: return de; default: return re; } } case r: return re; } } } var v = c, se = d, Re = l, Me = o, me = t, Fe = h, be = n, _e = L, Z = x, Q = r, oe = s, te = i, ae = y, fe = !1; function Ee(p) { return fe || (fe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), f(p) || q(p) === c; } function f(p) { return q(p) === d; } function m(p) { return q(p) === l; } function C(p) { return q(p) === o; } function A(p) { return typeof p == "object" && p !== null && p.$$typeof === t; } function $(p) { return q(p) === h; } function F(p) { return q(p) === n; } function T(p) { return q(p) === L; } function S(p) { return q(p) === x; } function P(p) { return q(p) === r; } function V(p) { return q(p) === s; } function w(p) { return q(p) === i; } function H(p) { return q(p) === y; } B.AsyncMode = v, B.ConcurrentMode = se, B.ContextConsumer = Re, B.ContextProvider = Me, B.Element = me, B.ForwardRef = Fe, B.Fragment = be, B.Lazy = _e, B.Memo = Z, B.Portal = Q, B.Profiler = oe, B.StrictMode = te, B.Suspense = ae, B.isAsyncMode = Ee, B.isConcurrentMode = f, B.isContextConsumer = m, B.isContextProvider = C, B.isElement = A, B.isForwardRef = $, B.isFragment = F, B.isLazy = T, B.isMemo = S, B.isPortal = P, B.isProfiler = V, B.isStrictMode = w, B.isSuspense = H, B.isValidElementType = Y, B.typeOf = q; }()), B; } var fr; function nn() { return fr || (fr = 1, process.env.NODE_ENV === "production" ? ze.exports = la() : ze.exports = ua()), ze.exports; } /* object-assign (c) Sindre Sorhus @license MIT */ var gt, dr; function ca() { if (dr) return gt; dr = 1; var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, r = Object.prototype.propertyIsEnumerable; function n(s) { if (s == null) throw new TypeError("Object.assign cannot be called with null or undefined"); return Object(s); } function i() { try { if (!Object.assign) return !1; var s = new String("abc"); if (s[5] = "de", Object.getOwnPropertyNames(s)[0] === "5") return !1; for (var o = {}, l = 0; l < 10; l++) o["_" + String.fromCharCode(l)] = l; var c = Object.getOwnPropertyNames(o).map(function(h) { return o[h]; }); if (c.join("") !== "0123456789") return !1; var d = {}; return "abcdefghijklmnopqrst".split("").forEach(function(h) { d[h] = h; }), Object.keys(Object.assign({}, d)).join("") === "abcdefghijklmnopqrst"; } catch { return !1; } } return gt = i() ? Object.assign : function(s, o) { for (var l, c = n(s), d, h = 1; h < arguments.length; h++) { l = Object(arguments[h]); for (var y in l) t.call(l, y) && (c[y] = l[y]); if (e) { d = e(l); for (var _ = 0; _ < d.length; _++) r.call(l, d[_]) && (c[d[_]] = l[d[_]]); } } return c; }, gt; } var yt, hr; function Mt() { if (hr) return yt; hr = 1; var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"; return yt = e, yt; } var mt, vr; function an() { return vr || (vr = 1, mt = Function.call.bind(Object.prototype.hasOwnProperty)), mt; } var bt, pr; function fa() { if (pr) return bt; pr = 1; var e = function() { }; if (process.env.NODE_ENV !== "production") { var t = Mt(), r = {}, n = an(); e = function(s) { var o = "Warning: " + s; typeof console < "u" && console.error(o); try { throw new Error(o); } catch { } }; } function i(s, o, l, c, d) { if (process.env.NODE_ENV !== "production") { for (var h in s) if (n(s, h)) { var y; try { if (typeof s[h] != "function") { var _ = Error( (c || "React class") + ": " + l + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`." ); throw _.name = "Invariant Violation", _; } y = s[h](o, h, c, l, null, t); } catch (L) { y = L; } if (y && !(y instanceof Error) && e( (c || "React class") + ": type specification of " + l + " `" + h + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof y + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)." ), y instanceof Error && !(y.message in r)) { r[y.message] = !0; var x = d ? d() : ""; e( "Failed " + l + " type: " + y.message + (x ?? "") ); } } } } return i.resetWarningCache = function() { process.env.NODE_ENV !== "production" && (r = {}); }, bt = i, bt; } var _t, gr; function da() { if (gr) return _t; gr = 1; var e = nn(), t = ca(), r = Mt(), n = an(), i = fa(), s = function() { }; process.env.NODE_ENV !== "production" && (s = function(l) { var c = "Warning: " + l; typeof console < "u" && console.error(c); try { throw new Error(c); } catch { } }); function o() { return null; } return _t = function(l, c) { var d = typeof Symbol == "function" && Symbol.iterator, h = "@@iterator"; function y(f) { var m = f && (d && f[d] || f[h]); if (typeof m == "function") return m; } var _ = "<<anonymous>>", x = { array: M("array"), bigint: M("bigint"), bool: M("boolean"), func: M("function"), number: M("number"), object: M("object"), string: M("string"), symbol: M("symbol"), any: D(), arrayOf: Y, element: q(), elementType: v(), instanceOf: se, node: Fe(), objectOf: Me, oneOf: Re, oneOfType: me, shape: _e, exact: Z }; function L(f, m) { return f === m ? f !== 0 || 1 / f === 1 / m : f !== f && m !== m; } function O(f, m) { this.message = f, this.data = m && typeof m == "object" ? m : {}, this.stack = ""; } O.prototype = Error.prototype; function j(f) { if (process.env.NODE_ENV !== "production") var m = {}, C = 0; function A(F, T, S, P, V, w, H) { if (P = P || _, w = w || S, H !== r) { if (c) { var p = new Error( "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types" ); throw p.name = "Invariant Violation", p; } else if (process.env.NODE_ENV !== "production" && typeof console < "u") { var re = P + ":" + S; !m[re] && // Avoid spamming the console because they are often not actionable except for lib authors C < 3 && (s( "You are manually calling a React.PropTypes validation function for the `" + w + "` prop on `" + P + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details." ), m[re] = !0, C++); } } return T[S] == null ? F ? T[S] === null ? new O("The " + V + " `" + w + "` is marked as required " + ("in `" + P + "`, but its value is `null`.")) : new O("The " + V + " `" + w + "` is marked as required in " + ("`" + P + "`, but its value is `undefined`.")) : null : f(T, S, P, V, w); } var $ = A.bind(null, !1); return $.isRequired = A.bind(null, !0), $; } function M(f) { function m(C, A, $, F, T, S) { var P = C[A], V = te(P); if (V !== f) { var w = ae(P); return new O( "Invalid " + F + " `" + T + "` of type " + ("`" + w + "` supplied to `" + $ + "`, expected ") + ("`" + f + "`."), { expectedType: f } ); } return null; } return j(m); } function D() { return j(o); } function Y(f) { function m(C, A, $, F, T) { if (typeof f != "function") return new O("Property `" + T + "` of component `" + $ + "` has invalid PropType notation inside arrayOf."); var S = C[A]; if (!Array.isArray(S)) { var P = te(S); return new O("Invalid " + F + " `" + T + "` of type " + ("`" + P + "` supplied to `" + $ + "`, expected an array.")); } for (var V = 0; V < S.length; V++) { var w = f(S, V, $, F, T + "[" + V + "]", r); if (w instanceof Error) return w; } return null; } return j(m); } function q() { function f(m, C, A, $, F) { var T = m[C]; if (!l(T)) { var S = te(T); return new O("Invalid " + $ + " `" + F + "` of type " + ("`" + S + "` supplied to `" + A + "`, expected a single ReactElement.")); } return null; } return j(f); } function v() { function f(m, C, A, $, F) { var T = m[C]; if (!e.isValidElementType(T)) { var S = te(T); return new O("Invalid " + $ + " `" + F + "` of type " + ("`" + S + "` supplied to `" + A + "`, expected a single ReactElement type.")); } return null; } return j(f); } function se(f) { function m(C, A, $, F, T) { if (!(C[A] instanceof f)) { var S = f.name || _, P = Ee(C[A]); return new O("Invalid " + F + " `" + T + "` of type " + ("`" + P + "` supplied to `" + $ + "`, expected ") + ("instance of `" + S + "`.")); } return null; } return j(m); } function Re(f) { if (!Array.isArray(f)) return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? s( "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])." ) : s("Invalid argument supplied to oneOf, expected an array.")), o; function m(C, A, $, F, T) { for (var S = C[A], P = 0; P < f.length; P++) if (L(S, f[P])) return null; var V = JSON.stringify(f, function(H, p) { var re = ae(p); return re === "symbol" ? String(p) : p; }); return new O("Invalid " + F + " `" + T + "` of value `" + String(S) + "` " + ("supplied to `" + $ + "`, expected one of " + V + ".")); } return j(m); } function Me(f) { function m(C, A, $, F, T) { if (typeof f != "function") return new O("Property `" + T + "` of component `" + $ + "` has invalid PropType notation inside objectOf."); var S = C[A], P = te(S); if (P !== "object") return new O("Invalid " + F + " `" + T + "` of type " + ("`" + P + "` supplied to `" + $ + "`, expected an object.")); for (var V in S) if (n(S, V)) { var w = f(S, V, $, F, T + "." + V, r); if (w instanceof Error) return w; } return null; } return j(m); } function me(f) { if (!Array.isArray(f)) return process.env.NODE_ENV !== "production" && s("Invalid argument supplied to oneOfType, expected an instance of array."), o; for (var m = 0; m < f.length; m++) { var C = f[m]; if (typeof C != "function") return s( "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + fe(C) + " at index " + m + "." ), o; } function A($, F, T, S, P) { for (var V = [], w = 0; w < f.length; w++) { var H = f[w], p = H($, F, T, S, P, r); if (p == null) return null; p.data && n(p.data, "expectedType") && V.push(p.data.expectedType); } var re = V.length > 0 ? ", expected one of type [" + V.join(", ") + "]" : ""; return new O("Invalid " + S + " `" + P + "` supplied to " + ("`" + T + "`" + re + ".")); } return j(A); } function Fe() { function f(m, C, A, $, F) { return Q(m[C]) ? null : new O("Invalid " + $ + " `" + F + "` supplied to " + ("`" + A + "`, expected a ReactNode.")); } return j(f); } function be(f, m, C, A, $) { return new O( (f || "React class") + ": " + m + " type `" + C + "." + A + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + $ + "`." ); } function _e(f) { function m(C, A, $, F, T) { var S = C[A], P = te(S); if (P !== "object") return new O("Invalid " + F + " `" + T + "` of type `" + P + "` " + ("supplied to `" + $ + "`, expected `object`.")); for (var V in f) { var w = f[V]; if (typeof w != "function") return be($, F, T, V, ae(w)); var H = w(S, V, $, F, T + "." + V, r); if (H) return H; } return null; } return j(m); } function Z(f) { function m(C, A, $, F, T) { var S = C[A], P = te(S); if (P !== "object") return new O("Invalid " + F + " `" + T + "` of type `" + P + "` " + ("supplied to `" + $ + "`, expected `object`.")); var V = t({}, C[A], f); for (var w in V) { var H = f[w]; if (n(f, w) && typeof H != "function") return be($, F, T, w, ae(H)); if (!H) return new O( "Invalid " + F + " `" + T + "` key `" + w + "` supplied to `" + $ + "`.\nBad object: " + JSON.stringify(C[A], null, " ") + ` Valid keys: ` + JSON.stringify(Object.keys(f), null, " ") ); var p = H(S, w, $, F, T + "." + w, r); if (p) return p; } return null; } return j(m); } function Q(f) { switch (typeof f) { case "number": case "string": case "undefined": return !0; case "boolean": return !f; case "object": if (Array.isArray(f)) return f.every(Q); if (f === null || l(f)) return !0; var m = y(f); if (m) { var C = m.call(f), A; if (m !== f.entries) { for (; !(A = C.next()).done; ) if (!Q(A.value)) return !1; } else for (; !(A = C.next()).done; ) { var $ = A.value; if ($ && !Q($[1])) return !1; } } else return !1; return !0; default: return !1; } } function oe(f, m) { return f === "symbol" ? !0 : m ? m["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && m instanceof Symbol : !1; } function te(f) { var m = typeof f; return Array.isArray(f) ? "array" : f instanceof RegExp ? "object" : oe(m, f) ? "symbol" : m; } function ae(f) { if (typeof f > "u" || f === null) return "" + f; var m = te(f); if (m === "object") { if (f instanceof Date) return "date"; if (f instanceof RegExp) return "regexp"; } return m; } function fe(f) { var m = ae(f); switch (m) { case "array": case "object": return "an " + m; case "boolean": case "date": case "regexp": return "a " + m; default: return m; } } function Ee(f) { return !f.constructor || !f.constructor.name ? _ : f.constructor.name; } return x.checkPropTypes = i, x.resetWarningCache = i.resetWarningCache, x.PropTypes = x, x; }, _t; } var Et, yr; function ha() { if (yr) return Et; yr = 1; var e = Mt(); function t() { } function r() { } return r.resetWarningCache = t, Et = function() { function n(o, l, c, d, h, y) { if (y !== e) { var _ = new Error( "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types" ); throw _.name = "Invariant Violation", _; } } n.isRequired = n; function i() { return n; } var s = { array: n, bigint: n, bool: n, func: n, number: n, object: n, string: n, symbol: n, any: n, arrayOf: i, element: n, elementType: n, instanceOf: i, node: n, objectOf: i, oneOf: i, oneOfType: i, shape: i, exact: i, checkPropTypes: r, resetWarningCache: t }; return s.PropTypes = s, s; }, Et; } if (process.env.NODE_ENV !== "production") { var va = nn(), pa = !0; At.exports = da()(va.isElement, pa); } else At.exports = ha()(); var ga = At.exports; const b = /* @__PURE__ */ Oe(ga); function ya() { this.__data__ = [], this.size = 0; } var ma = ya; function ba(e, t) { return e === t || e !== e && t !== t; } var Ft = ba, _a = Ft; function Ea(e, t) { for (var r = e.length; r--; ) if (_a(e[r][0], t)) return r; return -1; } var tt = Ea, $a = tt, Ta = Array.prototype, Sa = Ta.splice; function Oa(e) { var t = this.__data__, r = $a(t, e); if (r < 0) return !1; var n = t.length - 1; return r == n ? t.pop() : Sa.call(t, r, 1), --this.size, !0; } var Aa = Oa, Ca = tt; function Pa(e) { var t = this.__data__, r = Ca(t, e); return r < 0 ? void 0 : t[r][1]; } var wa = Pa, xa = tt; function ja(e) { return xa(this.__data__, e) > -1; } var Ra = ja, Ma = tt; function Fa(e, t) { var r = this.__data__, n = Ma(r, e); return n < 0 ? (++this.size, r.push([e, t])) : r[n][1] = t, this; } var Ia = Fa, Va = ma, La = Aa, Da = wa, Na = Ra, Ua = Ia; function Ae(e) { var t = -1, r = e == null ? 0 : e.length; for (this.clear(); ++t < r; ) { var n = e[t]; this.set(n[0], n[1]); } } Ae.prototype.clear = Va; Ae.prototype.delete = La; Ae.prototype.get = Da; Ae.prototype.has = Na; Ae.prototype.set = Ua; var rt = Ae, Ba = rt; function ka() { this.__data__ = new Ba(), this.size = 0; } var Wa = ka; function qa(e) { var t = this.__data__, r = t.delete(e); return this.size = t.size, r; } var Ga = qa; function Ya(e) { return this.__data__.get(e); } var Ka = Ya; function za(e) { return this.__data__.has(e); } var Ha = za, Ja = typeof Ke == "object" && Ke && Ke.Object === Object && Ke, sn = Ja, Xa = sn, Za = typeof self == "object" && self && self.Object === Object && self, Qa = Xa || Za || Function("return this")(), ie = Qa, ei = ie, ti = ei.Symbol, ke = ti, mr = ke, on = Object.prototype, ri = on.hasOwnProperty, ni = on.toString, Ne = mr ? mr.toStringTag : void 0; function ai(e) { var t = ri.call(e, Ne), r = e[Ne]; try { e[Ne] = void 0; var n = !0; } catch { } var i = ni.call(e); return n && (t ? e[Ne] = r : delete e[Ne]), i; } var ii = ai, si = Object.prototype, oi = si.toString; function li(e) { return oi.call(e); } var ui = li, br = ke, ci = ii, fi = ui, di = "[object Null]", hi = "[object Undefined]", _r = br ? br.toStringTag : void 0; function vi(e) { return e == null ? e === void 0 ? hi : di : _r && _r in Object(e) ? ci(e) : fi(e); } var We = vi; function pi(e) { var t = typeof e; return e != null && (t == "object" || t == "function"); } var Ce = pi; const gi = /* @__PURE__ */ Oe(Ce); var yi = We, mi = Ce, bi = "[object AsyncFunction]", _i = "[object Function]", Ei = "[object GeneratorFunction]", $i = "[object Proxy]"; function Ti(e) { if (!mi(e)) return !1; var t = yi(e); return t == _i || t == Ei || t == bi || t == $i; } var ln = Ti, Si = ie, Oi = Si["__core-js_shared__"], Ai = Oi, $t = Ai, Er = function() { var e = /[^.]+$/.exec($t && $t.keys && $t.keys.IE_PROTO || ""); return e ? "Symbol(src)_1." + e : ""; }(); function Ci(e) { return !!Er && Er in e; } var Pi = Ci, wi = Function.prototype, xi = wi.toString; function ji(e) { if (e != null) { try { return xi.call(e); } catch { } try { return e + ""; } catch { } } return ""; } var un = ji, Ri = ln, Mi = Pi, Fi = Ce, Ii = un, Vi = /[\\^$.*+?()[\]{}|]/g, Li = /^\[object .+?Constructor\]$/, Di = Function.prototype, Ni = Object.prototype, Ui = Di.toString, Bi = Ni.hasOwnProperty, ki = RegExp( "^" + Ui.call(Bi).replace(Vi, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$" ); function Wi(e) { if (!Fi(e) || Mi(e)) return !1; var t = Ri(e) ? ki : Li; return t.test(Ii(e)); } var qi = Wi; function Gi(e, t) { return e == null ? void 0 : e[t]; } var Yi = Gi, Ki = qi, zi = Yi; function Hi(e, t) { var r = zi(e, t); return Ki(r) ? r : void 0; } var ge = Hi, Ji = ge, Xi = ie, Zi = Ji(Xi, "Map"), It = Zi, Qi = ge, es = Qi(Object, "create"), nt = es, $r = nt; function ts() { this.__data__ = $r ? $r(null) : {}, this.size = 0; } var rs = ts; function ns(e) { var t = this.has(e) && delete this.__data__[e]; return this.size -= t ? 1 : 0, t; } var as = ns, is = nt, ss = "__lodash_hash_undefined__", os = Object.prototype, ls = os.hasOwnProperty; function us(e) { var t = this.__data__; if (is) { var r = t[e]; return r === ss ? void 0 : r; } return ls.call(t, e) ? t[e] : void 0; } var cs = us, fs = nt, ds = Object.prototype, hs = ds.hasOwnProperty; function vs(e) { var t = this.__data__; return fs ? t[e] !== void 0 : hs.call(t, e); } var ps = vs, gs = nt, ys = "__lodash_hash_undefined__"; function ms(e, t) { var r = this.__dat