UNPKG

storybook

Version:

Storybook: Develop, document, and test UI components in isolation

1,455 lines (1,450 loc) • 2.97 MB
var __create = Object.create; var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __getProtoOf = Object.getPrototypeOf; var __hasOwnProp = Object.prototype.hasOwnProperty; var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, { get: (a2, b) => (typeof require !== "undefined" ? require : a2)[b] }) : x)(function(x) { if (typeof require !== "undefined") return require.apply(this, arguments); throw Error('Dynamic require of "' + x + '" is not supported'); }); var __esm = (fn4, res) => function __init() { return fn4 && (res = (0, fn4[__getOwnPropNames(fn4)[0]])(fn4 = 0)), res; }; var __commonJS = (cb, mod) => function __require2() { return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; }; var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); }; var __copyProps = (to, from2, except, desc) => { if (from2 && typeof from2 === "object" || typeof from2 === "function") { for (let key of __getOwnPropNames(from2)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from2[key], enumerable: !(desc = __getOwnPropDesc(from2, key)) || desc.enumerable }); } return to; }; var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( // If the importer is in node compatibility mode or this is not an ESM // file that has been converted to a CommonJS file using a Babel- // compatible transform (i.e. "__esModule" has not been set), then set // "default" to the CommonJS "module.exports" for node compatibility. isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod )); // ../node_modules/react/cjs/react.production.min.js var require_react_production_min = __commonJS({ "../node_modules/react/cjs/react.production.min.js"(exports) { "use strict"; var l = Symbol.for("react.element"); var n2 = Symbol.for("react.portal"); var p2 = Symbol.for("react.fragment"); var q = Symbol.for("react.strict_mode"); var r2 = Symbol.for("react.profiler"); var t2 = Symbol.for("react.provider"); var u2 = Symbol.for("react.context"); var v = Symbol.for("react.forward_ref"); var w = Symbol.for("react.suspense"); var x = Symbol.for("react.memo"); var y = Symbol.for("react.lazy"); var z = Symbol.iterator; function A3(a2) { if (null === a2 || "object" !== typeof a2) return null; a2 = z && a2[z] || a2["@@iterator"]; return "function" === typeof a2 ? a2 : null; } __name(A3, "A"); var B2 = { isMounted: /* @__PURE__ */ __name(function() { return false; }, "isMounted"), enqueueForceUpdate: /* @__PURE__ */ __name(function() { }, "enqueueForceUpdate"), enqueueReplaceState: /* @__PURE__ */ __name(function() { }, "enqueueReplaceState"), enqueueSetState: /* @__PURE__ */ __name(function() { }, "enqueueSetState") }; var C2 = Object.assign; var D = {}; function E(a2, b, e2) { this.props = a2; this.context = b; this.refs = D; this.updater = e2 || B2; } __name(E, "E"); E.prototype.isReactComponent = {}; E.prototype.setState = function(a2, b) { if ("object" !== typeof a2 && "function" !== typeof a2 && null != a2) throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables."); this.updater.enqueueSetState(this, a2, b, "setState"); }; E.prototype.forceUpdate = function(a2) { this.updater.enqueueForceUpdate(this, a2, "forceUpdate"); }; function F() { } __name(F, "F"); F.prototype = E.prototype; function G(a2, b, e2) { this.props = a2; this.context = b; this.refs = D; this.updater = e2 || B2; } __name(G, "G"); var H = G.prototype = new F(); H.constructor = G; C2(H, E.prototype); H.isPureReactComponent = true; var I = Array.isArray; var J = Object.prototype.hasOwnProperty; var K2 = { current: null }; var L = { key: true, ref: true, __self: true, __source: true }; function M(a2, b, e2) { var d, c2 = {}, k = null, h2 = null; if (null != b) for (d in void 0 !== b.ref && (h2 = b.ref), void 0 !== b.key && (k = "" + b.key), b) J.call(b, d) && !L.hasOwnProperty(d) && (c2[d] = b[d]); var g2 = arguments.length - 2; if (1 === g2) c2.children = e2; else if (1 < g2) { for (var f3 = Array(g2), m3 = 0; m3 < g2; m3++) f3[m3] = arguments[m3 + 2]; c2.children = f3; } if (a2 && a2.defaultProps) for (d in g2 = a2.defaultProps, g2) void 0 === c2[d] && (c2[d] = g2[d]); return { $$typeof: l, type: a2, key: k, ref: h2, props: c2, _owner: K2.current }; } __name(M, "M"); function N(a2, b) { return { $$typeof: l, type: a2.type, key: b, ref: a2.ref, props: a2.props, _owner: a2._owner }; } __name(N, "N"); function O(a2) { return "object" === typeof a2 && null !== a2 && a2.$$typeof === l; } __name(O, "O"); function escape4(a2) { var b = { "=": "=0", ":": "=2" }; return "$" + a2.replace(/[=:]/g, function(a3) { return b[a3]; }); } __name(escape4, "escape"); var P3 = /\/+/g; function Q(a2, b) { return "object" === typeof a2 && null !== a2 && null != a2.key ? escape4("" + a2.key) : b.toString(36); } __name(Q, "Q"); function R(a2, b, e2, d, c2) { var k = typeof a2; if ("undefined" === k || "boolean" === k) a2 = null; var h2 = false; if (null === a2) h2 = true; else switch (k) { case "string": case "number": h2 = true; break; case "object": switch (a2.$$typeof) { case l: case n2: h2 = true; } } if (h2) return h2 = a2, c2 = c2(h2), a2 = "" === d ? "." + Q(h2, 0) : d, I(c2) ? (e2 = "", null != a2 && (e2 = a2.replace(P3, "$&/") + "/"), R(c2, b, e2, "", function(a3) { return a3; })) : null != c2 && (O(c2) && (c2 = N(c2, e2 + (!c2.key || h2 && h2.key === c2.key ? "" : ("" + c2.key).replace(P3, "$&/") + "/") + a2)), b.push(c2)), 1; h2 = 0; d = "" === d ? "." : d + ":"; if (I(a2)) for (var g2 = 0; g2 < a2.length; g2++) { k = a2[g2]; var f3 = d + Q(k, g2); h2 += R(k, b, e2, f3, c2); } else if (f3 = A3(a2), "function" === typeof f3) for (a2 = f3.call(a2), g2 = 0; !(k = a2.next()).done; ) k = k.value, f3 = d + Q(k, g2++), h2 += R(k, b, e2, f3, c2); else if ("object" === k) throw b = String(a2), Error("Objects are not valid as a React child (found: " + ("[object Object]" === b ? "object with keys {" + Object.keys(a2).join(", ") + "}" : b) + "). If you meant to render a collection of children, use an array instead."); return h2; } __name(R, "R"); function S(a2, b, e2) { if (null == a2) return a2; var d = [], c2 = 0; R(a2, d, "", "", function(a3) { return b.call(e2, a3, c2++); }); return d; } __name(S, "S"); function T2(a2) { if (-1 === a2._status) { var b = a2._result; b = b(); b.then(function(b2) { if (0 === a2._status || -1 === a2._status) a2._status = 1, a2._result = b2; }, function(b2) { if (0 === a2._status || -1 === a2._status) a2._status = 2, a2._result = b2; }); -1 === a2._status && (a2._status = 0, a2._result = b); } if (1 === a2._status) return a2._result.default; throw a2._result; } __name(T2, "T"); var U = { current: null }; var V = { transition: null }; var W = { ReactCurrentDispatcher: U, ReactCurrentBatchConfig: V, ReactCurrentOwner: K2 }; function X() { throw Error("act(...) is not supported in production builds of React."); } __name(X, "X"); exports.Children = { map: S, forEach: /* @__PURE__ */ __name(function(a2, b, e2) { S(a2, function() { b.apply(this, arguments); }, e2); }, "forEach"), count: /* @__PURE__ */ __name(function(a2) { var b = 0; S(a2, function() { b++; }); return b; }, "count"), toArray: /* @__PURE__ */ __name(function(a2) { return S(a2, function(a3) { return a3; }) || []; }, "toArray"), only: /* @__PURE__ */ __name(function(a2) { if (!O(a2)) throw Error("React.Children.only expected to receive a single React element child."); return a2; }, "only") }; exports.Component = E; exports.Fragment = p2; exports.Profiler = r2; exports.PureComponent = G; exports.StrictMode = q; exports.Suspense = w; exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = W; exports.act = X; exports.cloneElement = function(a2, b, e2) { if (null === a2 || void 0 === a2) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + a2 + "."); var d = C2({}, a2.props), c2 = a2.key, k = a2.ref, h2 = a2._owner; if (null != b) { void 0 !== b.ref && (k = b.ref, h2 = K2.current); void 0 !== b.key && (c2 = "" + b.key); if (a2.type && a2.type.defaultProps) var g2 = a2.type.defaultProps; for (f3 in b) J.call(b, f3) && !L.hasOwnProperty(f3) && (d[f3] = void 0 === b[f3] && void 0 !== g2 ? g2[f3] : b[f3]); } var f3 = arguments.length - 2; if (1 === f3) d.children = e2; else if (1 < f3) { g2 = Array(f3); for (var m3 = 0; m3 < f3; m3++) g2[m3] = arguments[m3 + 2]; d.children = g2; } return { $$typeof: l, type: a2.type, key: c2, ref: k, props: d, _owner: h2 }; }; exports.createContext = function(a2) { a2 = { $$typeof: u2, _currentValue: a2, _currentValue2: a2, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }; a2.Provider = { $$typeof: t2, _context: a2 }; return a2.Consumer = a2; }; exports.createElement = M; exports.createFactory = function(a2) { var b = M.bind(null, a2); b.type = a2; return b; }; exports.createRef = function() { return { current: null }; }; exports.forwardRef = function(a2) { return { $$typeof: v, render: a2 }; }; exports.isValidElement = O; exports.lazy = function(a2) { return { $$typeof: y, _payload: { _status: -1, _result: a2 }, _init: T2 }; }; exports.memo = function(a2, b) { return { $$typeof: x, type: a2, compare: void 0 === b ? null : b }; }; exports.startTransition = function(a2) { var b = V.transition; V.transition = {}; try { a2(); } finally { V.transition = b; } }; exports.unstable_act = X; exports.useCallback = function(a2, b) { return U.current.useCallback(a2, b); }; exports.useContext = function(a2) { return U.current.useContext(a2); }; exports.useDebugValue = function() { }; exports.useDeferredValue = function(a2) { return U.current.useDeferredValue(a2); }; exports.useEffect = function(a2, b) { return U.current.useEffect(a2, b); }; exports.useId = function() { return U.current.useId(); }; exports.useImperativeHandle = function(a2, b, e2) { return U.current.useImperativeHandle(a2, b, e2); }; exports.useInsertionEffect = function(a2, b) { return U.current.useInsertionEffect(a2, b); }; exports.useLayoutEffect = function(a2, b) { return U.current.useLayoutEffect(a2, b); }; exports.useMemo = function(a2, b) { return U.current.useMemo(a2, b); }; exports.useReducer = function(a2, b, e2) { return U.current.useReducer(a2, b, e2); }; exports.useRef = function(a2) { return U.current.useRef(a2); }; exports.useState = function(a2) { return U.current.useState(a2); }; exports.useSyncExternalStore = function(a2, b, e2) { return U.current.useSyncExternalStore(a2, b, e2); }; exports.useTransition = function() { return U.current.useTransition(); }; exports.version = "18.3.1"; } }); // ../node_modules/react/index.js var require_react = __commonJS({ "../node_modules/react/index.js"(exports, module2) { "use strict"; if (true) { module2.exports = require_react_production_min(); } else { module2.exports = null; } } }); // ../node_modules/scheduler/cjs/scheduler.production.min.js var require_scheduler_production_min = __commonJS({ "../node_modules/scheduler/cjs/scheduler.production.min.js"(exports) { "use strict"; function f3(a2, b) { var c2 = a2.length; a2.push(b); a: for (; 0 < c2; ) { var d = c2 - 1 >>> 1, e2 = a2[d]; if (0 < g2(e2, b)) a2[d] = b, a2[c2] = e2, c2 = d; else break a; } } __name(f3, "f"); function h2(a2) { return 0 === a2.length ? null : a2[0]; } __name(h2, "h"); function k(a2) { if (0 === a2.length) return null; var b = a2[0], c2 = a2.pop(); if (c2 !== b) { a2[0] = c2; a: for (var d = 0, e2 = a2.length, w = e2 >>> 1; d < w; ) { var m3 = 2 * (d + 1) - 1, C2 = a2[m3], n2 = m3 + 1, x = a2[n2]; if (0 > g2(C2, c2)) n2 < e2 && 0 > g2(x, C2) ? (a2[d] = x, a2[n2] = c2, d = n2) : (a2[d] = C2, a2[m3] = c2, d = m3); else if (n2 < e2 && 0 > g2(x, c2)) a2[d] = x, a2[n2] = c2, d = n2; else break a; } } return b; } __name(k, "k"); function g2(a2, b) { var c2 = a2.sortIndex - b.sortIndex; return 0 !== c2 ? c2 : a2.id - b.id; } __name(g2, "g"); if ("object" === typeof performance && "function" === typeof performance.now) { l = performance; exports.unstable_now = function() { return l.now(); }; } else { p2 = Date, q = p2.now(); exports.unstable_now = function() { return p2.now() - q; }; } var l; var p2; var q; var r2 = []; var t2 = []; var u2 = 1; var v = null; var y = 3; var z = false; var A3 = false; var B2 = false; var D = "function" === typeof setTimeout ? setTimeout : null; var E = "function" === typeof clearTimeout ? clearTimeout : null; var F = "undefined" !== typeof setImmediate ? setImmediate : null; "undefined" !== typeof navigator && void 0 !== navigator.scheduling && void 0 !== navigator.scheduling.isInputPending && navigator.scheduling.isInputPending.bind(navigator.scheduling); function G(a2) { for (var b = h2(t2); null !== b; ) { if (null === b.callback) k(t2); else if (b.startTime <= a2) k(t2), b.sortIndex = b.expirationTime, f3(r2, b); else break; b = h2(t2); } } __name(G, "G"); function H(a2) { B2 = false; G(a2); if (!A3) if (null !== h2(r2)) A3 = true, I(J); else { var b = h2(t2); null !== b && K2(H, b.startTime - a2); } } __name(H, "H"); function J(a2, b) { A3 = false; B2 && (B2 = false, E(L), L = -1); z = true; var c2 = y; try { G(b); for (v = h2(r2); null !== v && (!(v.expirationTime > b) || a2 && !M()); ) { var d = v.callback; if ("function" === typeof d) { v.callback = null; y = v.priorityLevel; var e2 = d(v.expirationTime <= b); b = exports.unstable_now(); "function" === typeof e2 ? v.callback = e2 : v === h2(r2) && k(r2); G(b); } else k(r2); v = h2(r2); } if (null !== v) var w = true; else { var m3 = h2(t2); null !== m3 && K2(H, m3.startTime - b); w = false; } return w; } finally { v = null, y = c2, z = false; } } __name(J, "J"); var N = false; var O = null; var L = -1; var P3 = 5; var Q = -1; function M() { return exports.unstable_now() - Q < P3 ? false : true; } __name(M, "M"); function R() { if (null !== O) { var a2 = exports.unstable_now(); Q = a2; var b = true; try { b = O(true, a2); } finally { b ? S() : (N = false, O = null); } } else N = false; } __name(R, "R"); var S; if ("function" === typeof F) S = /* @__PURE__ */ __name(function() { F(R); }, "S"); else if ("undefined" !== typeof MessageChannel) { T2 = new MessageChannel(), U = T2.port2; T2.port1.onmessage = R; S = /* @__PURE__ */ __name(function() { U.postMessage(null); }, "S"); } else S = /* @__PURE__ */ __name(function() { D(R, 0); }, "S"); var T2; var U; function I(a2) { O = a2; N || (N = true, S()); } __name(I, "I"); function K2(a2, b) { L = D(function() { a2(exports.unstable_now()); }, b); } __name(K2, "K"); exports.unstable_IdlePriority = 5; exports.unstable_ImmediatePriority = 1; exports.unstable_LowPriority = 4; exports.unstable_NormalPriority = 3; exports.unstable_Profiling = null; exports.unstable_UserBlockingPriority = 2; exports.unstable_cancelCallback = function(a2) { a2.callback = null; }; exports.unstable_continueExecution = function() { A3 || z || (A3 = true, I(J)); }; exports.unstable_forceFrameRate = function(a2) { 0 > a2 || 125 < a2 ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : P3 = 0 < a2 ? Math.floor(1e3 / a2) : 5; }; exports.unstable_getCurrentPriorityLevel = function() { return y; }; exports.unstable_getFirstCallbackNode = function() { return h2(r2); }; exports.unstable_next = function(a2) { switch (y) { case 1: case 2: case 3: var b = 3; break; default: b = y; } var c2 = y; y = b; try { return a2(); } finally { y = c2; } }; exports.unstable_pauseExecution = function() { }; exports.unstable_requestPaint = function() { }; exports.unstable_runWithPriority = function(a2, b) { switch (a2) { case 1: case 2: case 3: case 4: case 5: break; default: a2 = 3; } var c2 = y; y = a2; try { return b(); } finally { y = c2; } }; exports.unstable_scheduleCallback = function(a2, b, c2) { var d = exports.unstable_now(); "object" === typeof c2 && null !== c2 ? (c2 = c2.delay, c2 = "number" === typeof c2 && 0 < c2 ? d + c2 : d) : c2 = d; switch (a2) { case 1: var e2 = -1; break; case 2: e2 = 250; break; case 5: e2 = 1073741823; break; case 4: e2 = 1e4; break; default: e2 = 5e3; } e2 = c2 + e2; a2 = { id: u2++, callback: b, priorityLevel: a2, startTime: c2, expirationTime: e2, sortIndex: -1 }; c2 > d ? (a2.sortIndex = c2, f3(t2, a2), null === h2(r2) && a2 === h2(t2) && (B2 ? (E(L), L = -1) : B2 = true, K2(H, c2 - d))) : (a2.sortIndex = e2, f3(r2, a2), A3 || z || (A3 = true, I(J))); return a2; }; exports.unstable_shouldYield = M; exports.unstable_wrapCallback = function(a2) { var b = y; return function() { var c2 = y; y = b; try { return a2.apply(this, arguments); } finally { y = c2; } }; }; } }); // ../node_modules/scheduler/index.js var require_scheduler = __commonJS({ "../node_modules/scheduler/index.js"(exports, module2) { "use strict"; if (true) { module2.exports = require_scheduler_production_min(); } else { module2.exports = null; } } }); // ../node_modules/react-dom/cjs/react-dom.production.min.js var require_react_dom_production_min = __commonJS({ "../node_modules/react-dom/cjs/react-dom.production.min.js"(exports) { "use strict"; var aa = require_react(); var ca = require_scheduler(); function p2(a2) { for (var b = "https://reactjs.org/docs/error-decoder.html?invariant=" + a2, c2 = 1; c2 < arguments.length; c2++) b += "&args[]=" + encodeURIComponent(arguments[c2]); return "Minified React error #" + a2 + "; visit " + b + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."; } __name(p2, "p"); var da = /* @__PURE__ */ new Set(); var ea = {}; function fa(a2, b) { ha(a2, b); ha(a2 + "Capture", b); } __name(fa, "fa"); function ha(a2, b) { ea[a2] = b; for (a2 = 0; a2 < b.length; a2++) da.add(b[a2]); } __name(ha, "ha"); var ia = !("undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement); var ja = Object.prototype.hasOwnProperty; var ka = /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/; var la = {}; var ma = {}; function oa(a2) { if (ja.call(ma, a2)) return true; if (ja.call(la, a2)) return false; if (ka.test(a2)) return ma[a2] = true; la[a2] = true; return false; } __name(oa, "oa"); function pa(a2, b, c2, d) { if (null !== c2 && 0 === c2.type) return false; switch (typeof b) { case "function": case "symbol": return true; case "boolean": if (d) return false; if (null !== c2) return !c2.acceptsBooleans; a2 = a2.toLowerCase().slice(0, 5); return "data-" !== a2 && "aria-" !== a2; default: return false; } } __name(pa, "pa"); function qa(a2, b, c2, d) { if (null === b || "undefined" === typeof b || pa(a2, b, c2, d)) return true; if (d) return false; if (null !== c2) switch (c2.type) { case 3: return !b; case 4: return false === b; case 5: return isNaN(b); case 6: return isNaN(b) || 1 > b; } return false; } __name(qa, "qa"); function v(a2, b, c2, d, e2, f3, g2) { this.acceptsBooleans = 2 === b || 3 === b || 4 === b; this.attributeName = d; this.attributeNamespace = e2; this.mustUseProperty = c2; this.propertyName = a2; this.type = b; this.sanitizeURL = f3; this.removeEmptyString = g2; } __name(v, "v"); var z = {}; "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a2) { z[a2] = new v(a2, 0, false, a2, null, false, false); }); [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(a2) { var b = a2[0]; z[b] = new v(b, 1, false, a2[1], null, false, false); }); ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(a2) { z[a2] = new v(a2, 2, false, a2.toLowerCase(), null, false, false); }); ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(a2) { z[a2] = new v(a2, 2, false, a2, null, false, false); }); "allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a2) { z[a2] = new v(a2, 3, false, a2.toLowerCase(), null, false, false); }); ["checked", "multiple", "muted", "selected"].forEach(function(a2) { z[a2] = new v(a2, 3, true, a2, null, false, false); }); ["capture", "download"].forEach(function(a2) { z[a2] = new v(a2, 4, false, a2, null, false, false); }); ["cols", "rows", "size", "span"].forEach(function(a2) { z[a2] = new v(a2, 6, false, a2, null, false, false); }); ["rowSpan", "start"].forEach(function(a2) { z[a2] = new v(a2, 5, false, a2.toLowerCase(), null, false, false); }); var ra = /[\-:]([a-z])/g; function sa(a2) { return a2[1].toUpperCase(); } __name(sa, "sa"); "accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(a2) { var b = a2.replace( ra, sa ); z[b] = new v(b, 1, false, a2, null, false, false); }); "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a2) { var b = a2.replace(ra, sa); z[b] = new v(b, 1, false, a2, "http://www.w3.org/1999/xlink", false, false); }); ["xml:base", "xml:lang", "xml:space"].forEach(function(a2) { var b = a2.replace(ra, sa); z[b] = new v(b, 1, false, a2, "http://www.w3.org/XML/1998/namespace", false, false); }); ["tabIndex", "crossOrigin"].forEach(function(a2) { z[a2] = new v(a2, 1, false, a2.toLowerCase(), null, false, false); }); z.xlinkHref = new v("xlinkHref", 1, false, "xlink:href", "http://www.w3.org/1999/xlink", true, false); ["src", "href", "action", "formAction"].forEach(function(a2) { z[a2] = new v(a2, 1, false, a2.toLowerCase(), null, true, true); }); function ta(a2, b, c2, d) { var e2 = z.hasOwnProperty(b) ? z[b] : null; if (null !== e2 ? 0 !== e2.type : d || !(2 < b.length) || "o" !== b[0] && "O" !== b[0] || "n" !== b[1] && "N" !== b[1]) qa(b, c2, e2, d) && (c2 = null), d || null === e2 ? oa(b) && (null === c2 ? a2.removeAttribute(b) : a2.setAttribute(b, "" + c2)) : e2.mustUseProperty ? a2[e2.propertyName] = null === c2 ? 3 === e2.type ? false : "" : c2 : (b = e2.attributeName, d = e2.attributeNamespace, null === c2 ? a2.removeAttribute(b) : (e2 = e2.type, c2 = 3 === e2 || 4 === e2 && true === c2 ? "" : "" + c2, d ? a2.setAttributeNS(d, b, c2) : a2.setAttribute(b, c2))); } __name(ta, "ta"); var ua = aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; var va = Symbol.for("react.element"); var wa = Symbol.for("react.portal"); var ya = Symbol.for("react.fragment"); var za = Symbol.for("react.strict_mode"); var Aa = Symbol.for("react.profiler"); var Ba = Symbol.for("react.provider"); var Ca = Symbol.for("react.context"); var Da = Symbol.for("react.forward_ref"); var Ea = Symbol.for("react.suspense"); var Fa = Symbol.for("react.suspense_list"); var Ga = Symbol.for("react.memo"); var Ha = Symbol.for("react.lazy"); Symbol.for("react.scope"); Symbol.for("react.debug_trace_mode"); var Ia = Symbol.for("react.offscreen"); Symbol.for("react.legacy_hidden"); Symbol.for("react.cache"); Symbol.for("react.tracing_marker"); var Ja = Symbol.iterator; function Ka(a2) { if (null === a2 || "object" !== typeof a2) return null; a2 = Ja && a2[Ja] || a2["@@iterator"]; return "function" === typeof a2 ? a2 : null; } __name(Ka, "Ka"); var A3 = Object.assign; var La; function Ma(a2) { if (void 0 === La) try { throw Error(); } catch (c2) { var b = c2.stack.trim().match(/\n( *(at )?)/); La = b && b[1] || ""; } return "\n" + La + a2; } __name(Ma, "Ma"); var Na = false; function Oa(a2, b) { if (!a2 || Na) return ""; Na = true; var c2 = Error.prepareStackTrace; Error.prepareStackTrace = void 0; try { if (b) if (b = /* @__PURE__ */ __name(function() { throw Error(); }, "b"), Object.defineProperty(b.prototype, "props", { set: /* @__PURE__ */ __name(function() { throw Error(); }, "set") }), "object" === typeof Reflect && Reflect.construct) { try { Reflect.construct(b, []); } catch (l) { var d = l; } Reflect.construct(a2, [], b); } else { try { b.call(); } catch (l) { d = l; } a2.call(b.prototype); } else { try { throw Error(); } catch (l) { d = l; } a2(); } } catch (l) { if (l && d && "string" === typeof l.stack) { for (var e2 = l.stack.split("\n"), f3 = d.stack.split("\n"), g2 = e2.length - 1, h2 = f3.length - 1; 1 <= g2 && 0 <= h2 && e2[g2] !== f3[h2]; ) h2--; for (; 1 <= g2 && 0 <= h2; g2--, h2--) if (e2[g2] !== f3[h2]) { if (1 !== g2 || 1 !== h2) { do if (g2--, h2--, 0 > h2 || e2[g2] !== f3[h2]) { var k = "\n" + e2[g2].replace(" at new ", " at "); a2.displayName && k.includes("<anonymous>") && (k = k.replace("<anonymous>", a2.displayName)); return k; } while (1 <= g2 && 0 <= h2); } break; } } } finally { Na = false, Error.prepareStackTrace = c2; } return (a2 = a2 ? a2.displayName || a2.name : "") ? Ma(a2) : ""; } __name(Oa, "Oa"); function Pa(a2) { switch (a2.tag) { case 5: return Ma(a2.type); case 16: return Ma("Lazy"); case 13: return Ma("Suspense"); case 19: return Ma("SuspenseList"); case 0: case 2: case 15: return a2 = Oa(a2.type, false), a2; case 11: return a2 = Oa(a2.type.render, false), a2; case 1: return a2 = Oa(a2.type, true), a2; default: return ""; } } __name(Pa, "Pa"); function Qa(a2) { if (null == a2) return null; if ("function" === typeof a2) return a2.displayName || a2.name || null; if ("string" === typeof a2) return a2; switch (a2) { case ya: return "Fragment"; case wa: return "Portal"; case Aa: return "Profiler"; case za: return "StrictMode"; case Ea: return "Suspense"; case Fa: return "SuspenseList"; } if ("object" === typeof a2) switch (a2.$$typeof) { case Ca: return (a2.displayName || "Context") + ".Consumer"; case Ba: return (a2._context.displayName || "Context") + ".Provider"; case Da: var b = a2.render; a2 = a2.displayName; a2 || (a2 = b.displayName || b.name || "", a2 = "" !== a2 ? "ForwardRef(" + a2 + ")" : "ForwardRef"); return a2; case Ga: return b = a2.displayName || null, null !== b ? b : Qa(a2.type) || "Memo"; case Ha: b = a2._payload; a2 = a2._init; try { return Qa(a2(b)); } catch (c2) { } } return null; } __name(Qa, "Qa"); function Ra(a2) { var b = a2.type; switch (a2.tag) { case 24: return "Cache"; case 9: return (b.displayName || "Context") + ".Consumer"; case 10: return (b._context.displayName || "Context") + ".Provider"; case 18: return "DehydratedFragment"; case 11: return a2 = b.render, a2 = a2.displayName || a2.name || "", b.displayName || ("" !== a2 ? "ForwardRef(" + a2 + ")" : "ForwardRef"); case 7: return "Fragment"; case 5: return b; case 4: return "Portal"; case 3: return "Root"; case 6: return "Text"; case 16: return Qa(b); case 8: return b === za ? "StrictMode" : "Mode"; case 22: return "Offscreen"; case 12: return "Profiler"; case 21: return "Scope"; case 13: return "Suspense"; case 19: return "SuspenseList"; case 25: return "TracingMarker"; case 1: case 0: case 17: case 2: case 14: case 15: if ("function" === typeof b) return b.displayName || b.name || null; if ("string" === typeof b) return b; } return null; } __name(Ra, "Ra"); function Sa(a2) { switch (typeof a2) { case "boolean": case "number": case "string": case "undefined": return a2; case "object": return a2; default: return ""; } } __name(Sa, "Sa"); function Ta(a2) { var b = a2.type; return (a2 = a2.nodeName) && "input" === a2.toLowerCase() && ("checkbox" === b || "radio" === b); } __name(Ta, "Ta"); function Ua(a2) { var b = Ta(a2) ? "checked" : "value", c2 = Object.getOwnPropertyDescriptor(a2.constructor.prototype, b), d = "" + a2[b]; if (!a2.hasOwnProperty(b) && "undefined" !== typeof c2 && "function" === typeof c2.get && "function" === typeof c2.set) { var e2 = c2.get, f3 = c2.set; Object.defineProperty(a2, b, { configurable: true, get: /* @__PURE__ */ __name(function() { return e2.call(this); }, "get"), set: /* @__PURE__ */ __name(function(a3) { d = "" + a3; f3.call(this, a3); }, "set") }); Object.defineProperty(a2, b, { enumerable: c2.enumerable }); return { getValue: /* @__PURE__ */ __name(function() { return d; }, "getValue"), setValue: /* @__PURE__ */ __name(function(a3) { d = "" + a3; }, "setValue"), stopTracking: /* @__PURE__ */ __name(function() { a2._valueTracker = null; delete a2[b]; }, "stopTracking") }; } } __name(Ua, "Ua"); function Va(a2) { a2._valueTracker || (a2._valueTracker = Ua(a2)); } __name(Va, "Va"); function Wa(a2) { if (!a2) return false; var b = a2._valueTracker; if (!b) return true; var c2 = b.getValue(); var d = ""; a2 && (d = Ta(a2) ? a2.checked ? "true" : "false" : a2.value); a2 = d; return a2 !== c2 ? (b.setValue(a2), true) : false; } __name(Wa, "Wa"); function Xa(a2) { a2 = a2 || ("undefined" !== typeof document ? document : void 0); if ("undefined" === typeof a2) return null; try { return a2.activeElement || a2.body; } catch (b) { return a2.body; } } __name(Xa, "Xa"); function Ya(a2, b) { var c2 = b.checked; return A3({}, b, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: null != c2 ? c2 : a2._wrapperState.initialChecked }); } __name(Ya, "Ya"); function Za(a2, b) { var c2 = null == b.defaultValue ? "" : b.defaultValue, d = null != b.checked ? b.checked : b.defaultChecked; c2 = Sa(null != b.value ? b.value : c2); a2._wrapperState = { initialChecked: d, initialValue: c2, controlled: "checkbox" === b.type || "radio" === b.type ? null != b.checked : null != b.value }; } __name(Za, "Za"); function ab(a2, b) { b = b.checked; null != b && ta(a2, "checked", b, false); } __name(ab, "ab"); function bb(a2, b) { ab(a2, b); var c2 = Sa(b.value), d = b.type; if (null != c2) if ("number" === d) { if (0 === c2 && "" === a2.value || a2.value != c2) a2.value = "" + c2; } else a2.value !== "" + c2 && (a2.value = "" + c2); else if ("submit" === d || "reset" === d) { a2.removeAttribute("value"); return; } b.hasOwnProperty("value") ? cb(a2, b.type, c2) : b.hasOwnProperty("defaultValue") && cb(a2, b.type, Sa(b.defaultValue)); null == b.checked && null != b.defaultChecked && (a2.defaultChecked = !!b.defaultChecked); } __name(bb, "bb"); function db(a2, b, c2) { if (b.hasOwnProperty("value") || b.hasOwnProperty("defaultValue")) { var d = b.type; if (!("submit" !== d && "reset" !== d || void 0 !== b.value && null !== b.value)) return; b = "" + a2._wrapperState.initialValue; c2 || b === a2.value || (a2.value = b); a2.defaultValue = b; } c2 = a2.name; "" !== c2 && (a2.name = ""); a2.defaultChecked = !!a2._wrapperState.initialChecked; "" !== c2 && (a2.name = c2); } __name(db, "db"); function cb(a2, b, c2) { if ("number" !== b || Xa(a2.ownerDocument) !== a2) null == c2 ? a2.defaultValue = "" + a2._wrapperState.initialValue : a2.defaultValue !== "" + c2 && (a2.defaultValue = "" + c2); } __name(cb, "cb"); var eb = Array.isArray; function fb(a2, b, c2, d) { a2 = a2.options; if (b) { b = {}; for (var e2 = 0; e2 < c2.length; e2++) b["$" + c2[e2]] = true; for (c2 = 0; c2 < a2.length; c2++) e2 = b.hasOwnProperty("$" + a2[c2].value), a2[c2].selected !== e2 && (a2[c2].selected = e2), e2 && d && (a2[c2].defaultSelected = true); } else { c2 = "" + Sa(c2); b = null; for (e2 = 0; e2 < a2.length; e2++) { if (a2[e2].value === c2) { a2[e2].selected = true; d && (a2[e2].defaultSelected = true); return; } null !== b || a2[e2].disabled || (b = a2[e2]); } null !== b && (b.selected = true); } } __name(fb, "fb"); function gb(a2, b) { if (null != b.dangerouslySetInnerHTML) throw Error(p2(91)); return A3({}, b, { value: void 0, defaultValue: void 0, children: "" + a2._wrapperState.initialValue }); } __name(gb, "gb"); function hb(a2, b) { var c2 = b.value; if (null == c2) { c2 = b.children; b = b.defaultValue; if (null != c2) { if (null != b) throw Error(p2(92)); if (eb(c2)) { if (1 < c2.length) throw Error(p2(93)); c2 = c2[0]; } b = c2; } null == b && (b = ""); c2 = b; } a2._wrapperState = { initialValue: Sa(c2) }; } __name(hb, "hb"); function ib(a2, b) { var c2 = Sa(b.value), d = Sa(b.defaultValue); null != c2 && (c2 = "" + c2, c2 !== a2.value && (a2.value = c2), null == b.defaultValue && a2.defaultValue !== c2 && (a2.defaultValue = c2)); null != d && (a2.defaultValue = "" + d); } __name(ib, "ib"); function jb(a2) { var b = a2.textContent; b === a2._wrapperState.initialValue && "" !== b && null !== b && (a2.value = b); } __name(jb, "jb"); function kb(a2) { switch (a2) { case "svg": return "http://www.w3.org/2000/svg"; case "math": return "http://www.w3.org/1998/Math/MathML"; default: return "http://www.w3.org/1999/xhtml"; } } __name(kb, "kb"); function lb(a2, b) { return null == a2 || "http://www.w3.org/1999/xhtml" === a2 ? kb(b) : "http://www.w3.org/2000/svg" === a2 && "foreignObject" === b ? "http://www.w3.org/1999/xhtml" : a2; } __name(lb, "lb"); var mb; var nb = function(a2) { return "undefined" !== typeof MSApp && MSApp.execUnsafeLocalFunction ? function(b, c2, d, e2) { MSApp.execUnsafeLocalFunction(function() { return a2(b, c2, d, e2); }); } : a2; }(function(a2, b) { if ("http://www.w3.org/2000/svg" !== a2.namespaceURI || "innerHTML" in a2) a2.innerHTML = b; else { mb = mb || document.createElement("div"); mb.innerHTML = "<svg>" + b.valueOf().toString() + "</svg>"; for (b = mb.firstChild; a2.firstChild; ) a2.removeChild(a2.firstChild); for (; b.firstChild; ) a2.appendChild(b.firstChild); } }); function ob(a2, b) { if (b) { var c2 = a2.firstChild; if (c2 && c2 === a2.lastChild && 3 === c2.nodeType) { c2.nodeValue = b; return; } } a2.textContent = b; } __name(ob, "ob"); var pb = { animationIterationCount: true, aspectRatio: true, borderImageOutset: true, borderImageSlice: true, borderImageWidth: true, boxFlex: true, boxFlexGroup: true, boxOrdinalGroup: true, columnCount: true, columns: true, flex: true, flexGrow: true, flexPositive: true, flexShrink: true, flexNegative: true, flexOrder: true, gridArea: true, gridRow: true, gridRowEnd: true, gridRowSpan: true, gridRowStart: true, gridColumn: true, gridColumnEnd: true, gridColumnSpan: true, gridColumnStart: true, fontWeight: true, lineClamp: true, lineHeight: true, opacity: true, order: true, orphans: true, tabSize: true, widows: true, zIndex: true, zoom: true, fillOpacity: true, floodOpacity: true, stopOpacity: true, strokeDasharray: true, strokeDashoffset: true, strokeMiterlimit: true, strokeOpacity: true, strokeWidth: true }; var qb = ["Webkit", "ms", "Moz", "O"]; Object.keys(pb).forEach(function(a2) { qb.forEach(function(b) { b = b + a2.charAt(0).toUpperCase() + a2.substring(1); pb[b] = pb[a2]; }); }); function rb(a2, b, c2) { return null == b || "boolean" === typeof b || "" === b ? "" : c2 || "number" !== typeof b || 0 === b || pb.hasOwnProperty(a2) && pb[a2] ? ("" + b).trim() : b + "px"; } __name(rb, "rb"); function sb2(a2, b) { a2 = a2.style; for (var c2 in b) if (b.hasOwnProperty(c2)) { var d = 0 === c2.indexOf("--"), e2 = rb(c2, b[c2], d); "float" === c2 && (c2 = "cssFloat"); d ? a2.setProperty(c2, e2) : a2[c2] = e2; } } __name(sb2, "sb"); var tb = A3({ menuitem: true }, { area: true, base: true, br: true, col: true, embed: true, hr: true, img: true, input: true, keygen: true, link: true, meta: true, param: true, source: true, track: true, wbr: true }); function ub(a2, b) { if (b) { if (tb[a2] && (null != b.children || null != b.dangerouslySetInnerHTML)) throw Error(p2(137, a2)); if (null != b.dangerouslySetInnerHTML) { if (null != b.children) throw Error(p2(60)); if ("object" !== typeof b.dangerouslySetInnerHTML || !("__html" in b.dangerouslySetInnerHTML)) throw Error(p2(61)); } if (null != b.style && "object" !== typeof b.style) throw Error(p2(62)); } } __name(ub, "ub"); function vb(a2, b) { if (-1 === a2.indexOf("-")) return "string" === typeof b.is; switch (a2) { case "annotation-xml": case "color-profile": case "font-face": case "font-face-src": case "font-face-uri": case "font-face-format": case "font-face-name": case "missing-glyph": return false; default: return true; } } __name(vb, "vb"); var wb = null; function xb(a2) { a2 = a2.target || a2.srcElement || window; a2.correspondingUseElement && (a2 = a2.correspondingUseElement); return 3 === a2.nodeType ? a2.parentNode : a2; } __name(xb, "xb"); var yb = null; var zb = null; var Ab = null; function Bb(a2) { if (a2 = Cb(a2)) { if ("function" !== typeof yb) throw Error(p2(280)); var b = a2.stateNode; b && (b = Db(b), yb(a2.stateNode, a2.type, b)); } } __name(Bb, "Bb"); function Eb(a2) { zb ? Ab ? Ab.push(a2) : Ab = [a2] : zb = a2; } __name(Eb, "Eb"); function Fb() { if (zb) { var a2 = zb, b = Ab; Ab = zb = null; Bb(a2); if (b) for (a2 = 0; a2 < b.length; a2++) Bb(b[a2]); } } __name(Fb, "Fb"); function Gb(a2, b) { return a2(b); } __name(Gb, "Gb"); function Hb() { } __name(Hb, "Hb"); var Ib = false; function Jb(a2, b, c2) { if (Ib) return a2(b, c2); Ib = true; try { return Gb(a2, b, c2); } finally { if (Ib = false, null !== zb || null !== Ab) Hb(), Fb(); } } __name(Jb, "Jb"); function Kb(a2, b) { var c2 = a2.stateNode; if (null === c2) return null; var d = Db(c2); if (null === d) return null; c2 = d[b]; a: switch (b) { case "onClick": case "onClickCapture": case "onDoubleClick": case "onDoubleClickCapture": case "onMouseDown": case "onMouseDownCapture": case "onMouseMove": case "onMouseMoveCapture": case "onMouseUp": case "onMouseUpCapture": case "onMouseEnter": (d = !d.disabled) || (a2 = a2.type, d = !("button" === a2 || "input" === a2 || "select" === a2 || "textarea" === a2)); a2 = !d; break a; default: a2 = false; } if (a2) return null; if (c2 && "function" !== typeof c2) throw Error(p2(231, b, typeof c2)); return c2; } __name(Kb, "Kb"); var Lb = false; if (ia) try { Mb = {}; Object.defineProperty(Mb, "passive", { get: /* @__PURE__ */ __name(function() { Lb = true; }, "get") }); window.addEventListener("test", Mb, Mb); window.removeEventListener("test", Mb, Mb); } catch (a2) { Lb = false; } var Mb; function Nb(a2, b, c2, d, e2, f3, g2, h2, k) { var l = Array.prototype.slice.call(arguments, 3); try { b.apply(c2, l); } catch (m3) { this.onError(m3); } } __name(Nb, "Nb"); var Ob = false; var Pb = null; var Qb = false; var Rb = null; var Sb = { onError: /* @__PURE__ */ __name(function(a2) { Ob = true; Pb = a2; }, "onError") }; function Tb(a2, b, c2, d, e2, f3, g2, h2, k) { Ob = false; Pb = null; Nb.apply(Sb, arguments); } __name(Tb, "Tb"); function Ub(a2, b, c2, d, e2, f3, g2, h2, k) { Tb.apply(this, arguments); if (Ob) { if (Ob) { var l = Pb; Ob = false; Pb = null; } else throw Error(p2(198)); Qb || (Qb = true, Rb = l); } } __name(Ub, "Ub"); function Vb(a2) { var b = a2, c2 = a2; if (a2.alternate) for (; b.return; ) b = b.return; else { a2 = b; do b = a2, 0 !== (b.flags & 4098) && (c2 = b.return), a2 = b.return; while (a2); } return 3 === b.tag ? c2 : null; } __name(Vb, "Vb"); function Wb(a2) { if (13 === a2.tag) { var b = a2.memoizedState; null === b && (a2 = a2.alternate, null !== a2 && (b = a2.memoizedState)); if (null !== b) return b.dehydrated; } return null; } __name(Wb, "Wb"); function Xb(a2) { if (Vb(a2) !== a2) throw Error(p2(188)); } __name(Xb, "Xb"); function Yb(a2) { var b = a2.alternate; if (!b) { b = Vb(a2); if (null === b) throw Error(p2(188)); return b !== a2 ? null : a2; } for (var c2 = a2, d = b; ; ) { var e2 = c2.return; if (null === e2) break; var f3 = e2.alternate; if (null === f3) { d = e2.return; if (null !== d) { c2 = d; continue; } break; } if (e2.child === f3.child) { for (f3 = e2.child; f3; ) { if (f3 === c2) return Xb(e2), a2; if (f3 === d) return Xb(e2), b; f3 = f3.sibling; } throw Error(p2(188)); } if (c2.return !== d.return) c2 = e2, d = f3; else { for (var g2 = false, h2 = e2.child; h2; ) { if (h2 === c2) { g2 = true; c2 = e2; d = f3; b