UNPKG

storybook

Version:

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

1,286 lines (1,278 loc) • 3.29 MB
var __create = Object.create; var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty; var __require = /* @__PURE__ */ ((x2) => typeof require < "u" ? require : typeof Proxy < "u" ? new Proxy(x2, { get: (a5, b3) => (typeof require < "u" ? require : a5)[b3] }) : x2)(function(x2) { if (typeof require < "u") return require.apply(this, arguments); throw Error('Dynamic require of "' + x2 + '" is not supported'); }); var __esm = (fn4, res, err) => function() { if (err) throw err[0]; try { return fn4 && (res = (0, fn4[__getOwnPropNames(fn4)[0]])(fn4 = 0)), res; } catch (e2) { throw err = [e2], e2; } }; var __commonJS = (cb, mod) => function() { try { return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; } catch (e2) { throw mod = 0, e2; } }; var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: !0 }); }, __copyProps = (to, from2, except, desc) => { if (from2 && typeof from2 == "object" || typeof from2 == "function") for (let key of __getOwnPropNames(from2)) !__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: !0 }) : target, mod )); // ../../node_modules/ts-dedent/esm/index.js function dedent(templ) { for (var values = [], _i = 1; _i < arguments.length; _i++) values[_i - 1] = arguments[_i]; var strings = Array.from(typeof templ == "string" ? [templ] : templ); strings[strings.length - 1] = strings[strings.length - 1].replace(/\r?\n([\t ]*)$/, ""); var indentLengths = strings.reduce(function(arr, str2) { var matches4 = str2.match(/\n([\t ]+|(?!\s).)/g); return matches4 ? arr.concat(matches4.map(function(match3) { var _a4, _b; return (_b = (_a4 = match3.match(/[\t ]/g)) === null || _a4 === void 0 ? void 0 : _a4.length) !== null && _b !== void 0 ? _b : 0; })) : arr; }, []); if (indentLengths.length) { var pattern_1 = new RegExp(` [ ]{` + Math.min.apply(Math, indentLengths) + "}", "g"); strings = strings.map(function(str2) { return str2.replace(pattern_1, ` `); }); } strings[0] = strings[0].replace(/^\r?\n/, ""); var string2 = strings[0]; return values.forEach(function(value, i3) { var endentations = string2.match(/(?:^|\n)( *)$/), endentation = endentations ? endentations[1] : "", indentedValue = value; typeof value == "string" && value.includes(` `) && (indentedValue = String(value).split(` `).map(function(str2, i4) { return i4 === 0 ? str2 : "" + endentation + str2; }).join(` `)), string2 += indentedValue + strings[i3 + 1]; }), string2; } var init_esm = __esm({ "../../node_modules/ts-dedent/esm/index.js"() { } }); // ../../node_modules/@storybook/global/dist/index.mjs var scope, init_dist = __esm({ "../../node_modules/@storybook/global/dist/index.mjs"() { scope = (() => { let win; return typeof window < "u" ? win = window : typeof globalThis < "u" ? win = globalThis : typeof global < "u" ? win = global : typeof self < "u" ? win = self : win = {}, win; })(); } }); // src/client-logger/index.ts var client_logger_exports = {}; __export(client_logger_exports, { deprecate: () => deprecate, logger: () => logger, once: () => once, pretty: () => pretty }); var LOGLEVEL, levels, currentLogLevelString, currentLogLevelNumber, logger, logged, once, deprecate, pretty, init_client_logger = __esm({ "src/client-logger/index.ts"() { "use strict"; init_dist(); ({ LOGLEVEL } = scope), levels = { trace: 1, debug: 2, info: 3, warn: 4, error: 5, silent: 10 }, currentLogLevelString = LOGLEVEL, currentLogLevelNumber = levels[currentLogLevelString] || levels.info, logger = { trace: (message, ...rest) => { currentLogLevelNumber <= levels.trace && console.trace(message, ...rest); }, debug: (message, ...rest) => { currentLogLevelNumber <= levels.debug && console.debug(message, ...rest); }, info: (message, ...rest) => { currentLogLevelNumber <= levels.info && console.info(message, ...rest); }, warn: (message, ...rest) => { currentLogLevelNumber <= levels.warn && console.warn(message, ...rest); }, error: (message, ...rest) => { currentLogLevelNumber <= levels.error && console.error(message, ...rest); }, log: (message, ...rest) => { currentLogLevelNumber < levels.silent && console.log(message, ...rest); } }, logged = /* @__PURE__ */ new Set(), once = (type5) => (message, ...rest) => { if (!logged.has(message)) return logged.add(message), logger[type5](message, ...rest); }; once.clear = () => logged.clear(); once.trace = once("trace"); once.debug = once("debug"); once.info = once("info"); once.warn = once("warn"); once.error = once("error"); once.log = once("log"); deprecate = once("warn"), pretty = (type5) => (...args) => { let argArray = []; if (args.length) { let startTagRe = /<span\s+style=(['"])([^'"]*)\1\s*>/gi, endTagRe = /<\/span>/gi, reResultArray; for (argArray.push(args[0].replace(startTagRe, "%c").replace(endTagRe, "%c")); reResultArray = startTagRe.exec(args[0]); ) argArray.push(reResultArray[2]), argArray.push(""); for (let j2 = 1; j2 < args.length; j2++) argArray.push(args[j2]); } logger[type5].apply(logger, argArray); }; pretty.trace = pretty("trace"); pretty.debug = pretty("debug"); pretty.info = pretty("info"); pretty.warn = pretty("warn"); pretty.error = pretty("error"); } }); // ../../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 l3 = /* @__PURE__ */ Symbol.for("react.element"), n3 = /* @__PURE__ */ Symbol.for("react.portal"), p5 = /* @__PURE__ */ Symbol.for("react.fragment"), q = /* @__PURE__ */ Symbol.for("react.strict_mode"), r3 = /* @__PURE__ */ Symbol.for("react.profiler"), t2 = /* @__PURE__ */ Symbol.for("react.provider"), u4 = /* @__PURE__ */ Symbol.for("react.context"), v3 = /* @__PURE__ */ Symbol.for("react.forward_ref"), w3 = /* @__PURE__ */ Symbol.for("react.suspense"), x2 = /* @__PURE__ */ Symbol.for("react.memo"), y3 = /* @__PURE__ */ Symbol.for("react.lazy"), z = Symbol.iterator; function A3(a5) { return a5 === null || typeof a5 != "object" ? null : (a5 = z && a5[z] || a5["@@iterator"], typeof a5 == "function" ? a5 : null); } var B3 = { isMounted: function() { return !1; }, enqueueForceUpdate: function() { }, enqueueReplaceState: function() { }, enqueueSetState: function() { } }, C3 = Object.assign, D = {}; function E2(a5, b3, e2) { this.props = a5, this.context = b3, this.refs = D, this.updater = e2 || B3; } E2.prototype.isReactComponent = {}; E2.prototype.setState = function(a5, b3) { if (typeof a5 != "object" && typeof a5 != "function" && a5 != null) 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, a5, b3, "setState"); }; E2.prototype.forceUpdate = function(a5) { this.updater.enqueueForceUpdate(this, a5, "forceUpdate"); }; function F() { } F.prototype = E2.prototype; function G(a5, b3, e2) { this.props = a5, this.context = b3, this.refs = D, this.updater = e2 || B3; } var H = G.prototype = new F(); H.constructor = G; C3(H, E2.prototype); H.isPureReactComponent = !0; var I = Array.isArray, J = Object.prototype.hasOwnProperty, K2 = { current: null }, L = { key: !0, ref: !0, __self: !0, __source: !0 }; function M(a5, b3, e2) { var d3, c3 = {}, k = null, h4 = null; if (b3 != null) for (d3 in b3.ref !== void 0 && (h4 = b3.ref), b3.key !== void 0 && (k = "" + b3.key), b3) J.call(b3, d3) && !L.hasOwnProperty(d3) && (c3[d3] = b3[d3]); var g3 = arguments.length - 2; if (g3 === 1) c3.children = e2; else if (1 < g3) { for (var f6 = Array(g3), m5 = 0; m5 < g3; m5++) f6[m5] = arguments[m5 + 2]; c3.children = f6; } if (a5 && a5.defaultProps) for (d3 in g3 = a5.defaultProps, g3) c3[d3] === void 0 && (c3[d3] = g3[d3]); return { $$typeof: l3, type: a5, key: k, ref: h4, props: c3, _owner: K2.current }; } function N(a5, b3) { return { $$typeof: l3, type: a5.type, key: b3, ref: a5.ref, props: a5.props, _owner: a5._owner }; } function O(a5) { return typeof a5 == "object" && a5 !== null && a5.$$typeof === l3; } function escape4(a5) { var b3 = { "=": "=0", ":": "=2" }; return "$" + a5.replace(/[=:]/g, function(a6) { return b3[a6]; }); } var P3 = /\/+/g; function Q(a5, b3) { return typeof a5 == "object" && a5 !== null && a5.key != null ? escape4("" + a5.key) : b3.toString(36); } function R2(a5, b3, e2, d3, c3) { var k = typeof a5; (k === "undefined" || k === "boolean") && (a5 = null); var h4 = !1; if (a5 === null) h4 = !0; else switch (k) { case "string": case "number": h4 = !0; break; case "object": switch (a5.$$typeof) { case l3: case n3: h4 = !0; } } if (h4) return h4 = a5, c3 = c3(h4), a5 = d3 === "" ? "." + Q(h4, 0) : d3, I(c3) ? (e2 = "", a5 != null && (e2 = a5.replace(P3, "$&/") + "/"), R2(c3, b3, e2, "", function(a6) { return a6; })) : c3 != null && (O(c3) && (c3 = N(c3, e2 + (!c3.key || h4 && h4.key === c3.key ? "" : ("" + c3.key).replace(P3, "$&/") + "/") + a5)), b3.push(c3)), 1; if (h4 = 0, d3 = d3 === "" ? "." : d3 + ":", I(a5)) for (var g3 = 0; g3 < a5.length; g3++) { k = a5[g3]; var f6 = d3 + Q(k, g3); h4 += R2(k, b3, e2, f6, c3); } else if (f6 = A3(a5), typeof f6 == "function") for (a5 = f6.call(a5), g3 = 0; !(k = a5.next()).done; ) k = k.value, f6 = d3 + Q(k, g3++), h4 += R2(k, b3, e2, f6, c3); else if (k === "object") throw b3 = String(a5), Error("Objects are not valid as a React child (found: " + (b3 === "[object Object]" ? "object with keys {" + Object.keys(a5).join(", ") + "}" : b3) + "). If you meant to render a collection of children, use an array instead."); return h4; } function S2(a5, b3, e2) { if (a5 == null) return a5; var d3 = [], c3 = 0; return R2(a5, d3, "", "", function(a6) { return b3.call(e2, a6, c3++); }), d3; } function T2(a5) { if (a5._status === -1) { var b3 = a5._result; b3 = b3(), b3.then(function(b4) { (a5._status === 0 || a5._status === -1) && (a5._status = 1, a5._result = b4); }, function(b4) { (a5._status === 0 || a5._status === -1) && (a5._status = 2, a5._result = b4); }), a5._status === -1 && (a5._status = 0, a5._result = b3); } if (a5._status === 1) return a5._result.default; throw a5._result; } var U = { current: null }, V = { transition: null }, W = { ReactCurrentDispatcher: U, ReactCurrentBatchConfig: V, ReactCurrentOwner: K2 }; function X() { throw Error("act(...) is not supported in production builds of React."); } exports.Children = { map: S2, forEach: function(a5, b3, e2) { S2(a5, function() { b3.apply(this, arguments); }, e2); }, count: function(a5) { var b3 = 0; return S2(a5, function() { b3++; }), b3; }, toArray: function(a5) { return S2(a5, function(a6) { return a6; }) || []; }, only: function(a5) { if (!O(a5)) throw Error("React.Children.only expected to receive a single React element child."); return a5; } }; exports.Component = E2; exports.Fragment = p5; exports.Profiler = r3; exports.PureComponent = G; exports.StrictMode = q; exports.Suspense = w3; exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = W; exports.act = X; exports.cloneElement = function(a5, b3, e2) { if (a5 == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + a5 + "."); var d3 = C3({}, a5.props), c3 = a5.key, k = a5.ref, h4 = a5._owner; if (b3 != null) { if (b3.ref !== void 0 && (k = b3.ref, h4 = K2.current), b3.key !== void 0 && (c3 = "" + b3.key), a5.type && a5.type.defaultProps) var g3 = a5.type.defaultProps; for (f6 in b3) J.call(b3, f6) && !L.hasOwnProperty(f6) && (d3[f6] = b3[f6] === void 0 && g3 !== void 0 ? g3[f6] : b3[f6]); } var f6 = arguments.length - 2; if (f6 === 1) d3.children = e2; else if (1 < f6) { g3 = Array(f6); for (var m5 = 0; m5 < f6; m5++) g3[m5] = arguments[m5 + 2]; d3.children = g3; } return { $$typeof: l3, type: a5.type, key: c3, ref: k, props: d3, _owner: h4 }; }; exports.createContext = function(a5) { return a5 = { $$typeof: u4, _currentValue: a5, _currentValue2: a5, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, a5.Provider = { $$typeof: t2, _context: a5 }, a5.Consumer = a5; }; exports.createElement = M; exports.createFactory = function(a5) { var b3 = M.bind(null, a5); return b3.type = a5, b3; }; exports.createRef = function() { return { current: null }; }; exports.forwardRef = function(a5) { return { $$typeof: v3, render: a5 }; }; exports.isValidElement = O; exports.lazy = function(a5) { return { $$typeof: y3, _payload: { _status: -1, _result: a5 }, _init: T2 }; }; exports.memo = function(a5, b3) { return { $$typeof: x2, type: a5, compare: b3 === void 0 ? null : b3 }; }; exports.startTransition = function(a5) { var b3 = V.transition; V.transition = {}; try { a5(); } finally { V.transition = b3; } }; exports.unstable_act = X; exports.useCallback = function(a5, b3) { return U.current.useCallback(a5, b3); }; exports.useContext = function(a5) { return U.current.useContext(a5); }; exports.useDebugValue = function() { }; exports.useDeferredValue = function(a5) { return U.current.useDeferredValue(a5); }; exports.useEffect = function(a5, b3) { return U.current.useEffect(a5, b3); }; exports.useId = function() { return U.current.useId(); }; exports.useImperativeHandle = function(a5, b3, e2) { return U.current.useImperativeHandle(a5, b3, e2); }; exports.useInsertionEffect = function(a5, b3) { return U.current.useInsertionEffect(a5, b3); }; exports.useLayoutEffect = function(a5, b3) { return U.current.useLayoutEffect(a5, b3); }; exports.useMemo = function(a5, b3) { return U.current.useMemo(a5, b3); }; exports.useReducer = function(a5, b3, e2) { return U.current.useReducer(a5, b3, e2); }; exports.useRef = function(a5) { return U.current.useRef(a5); }; exports.useState = function(a5) { return U.current.useState(a5); }; exports.useSyncExternalStore = function(a5, b3, e2) { return U.current.useSyncExternalStore(a5, b3, 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"; module2.exports = require_react_production_min(); } }); // ../../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 f6(a5, b3) { var c3 = a5.length; a5.push(b3); a: for (; 0 < c3; ) { var d3 = c3 - 1 >>> 1, e2 = a5[d3]; if (0 < g3(e2, b3)) a5[d3] = b3, a5[c3] = e2, c3 = d3; else break a; } } function h4(a5) { return a5.length === 0 ? null : a5[0]; } function k(a5) { if (a5.length === 0) return null; var b3 = a5[0], c3 = a5.pop(); if (c3 !== b3) { a5[0] = c3; a: for (var d3 = 0, e2 = a5.length, w3 = e2 >>> 1; d3 < w3; ) { var m5 = 2 * (d3 + 1) - 1, C3 = a5[m5], n3 = m5 + 1, x2 = a5[n3]; if (0 > g3(C3, c3)) n3 < e2 && 0 > g3(x2, C3) ? (a5[d3] = x2, a5[n3] = c3, d3 = n3) : (a5[d3] = C3, a5[m5] = c3, d3 = m5); else if (n3 < e2 && 0 > g3(x2, c3)) a5[d3] = x2, a5[n3] = c3, d3 = n3; else break a; } } return b3; } function g3(a5, b3) { var c3 = a5.sortIndex - b3.sortIndex; return c3 !== 0 ? c3 : a5.id - b3.id; } typeof performance == "object" && typeof performance.now == "function" ? (l3 = performance, exports.unstable_now = function() { return l3.now(); }) : (p5 = Date, q = p5.now(), exports.unstable_now = function() { return p5.now() - q; }); var l3, p5, q, r3 = [], t2 = [], u4 = 1, v3 = null, y3 = 3, z = !1, A3 = !1, B3 = !1, D = typeof setTimeout == "function" ? setTimeout : null, E2 = typeof clearTimeout == "function" ? clearTimeout : null, F = typeof setImmediate < "u" ? setImmediate : null; typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling); function G(a5) { for (var b3 = h4(t2); b3 !== null; ) { if (b3.callback === null) k(t2); else if (b3.startTime <= a5) k(t2), b3.sortIndex = b3.expirationTime, f6(r3, b3); else break; b3 = h4(t2); } } function H(a5) { if (B3 = !1, G(a5), !A3) if (h4(r3) !== null) A3 = !0, I(J); else { var b3 = h4(t2); b3 !== null && K2(H, b3.startTime - a5); } } function J(a5, b3) { A3 = !1, B3 && (B3 = !1, E2(L), L = -1), z = !0; var c3 = y3; try { for (G(b3), v3 = h4(r3); v3 !== null && (!(v3.expirationTime > b3) || a5 && !M()); ) { var d3 = v3.callback; if (typeof d3 == "function") { v3.callback = null, y3 = v3.priorityLevel; var e2 = d3(v3.expirationTime <= b3); b3 = exports.unstable_now(), typeof e2 == "function" ? v3.callback = e2 : v3 === h4(r3) && k(r3), G(b3); } else k(r3); v3 = h4(r3); } if (v3 !== null) var w3 = !0; else { var m5 = h4(t2); m5 !== null && K2(H, m5.startTime - b3), w3 = !1; } return w3; } finally { v3 = null, y3 = c3, z = !1; } } var N = !1, O = null, L = -1, P3 = 5, Q = -1; function M() { return !(exports.unstable_now() - Q < P3); } function R2() { if (O !== null) { var a5 = exports.unstable_now(); Q = a5; var b3 = !0; try { b3 = O(!0, a5); } finally { b3 ? S2() : (N = !1, O = null); } } else N = !1; } var S2; typeof F == "function" ? S2 = function() { F(R2); } : typeof MessageChannel < "u" ? (T2 = new MessageChannel(), U = T2.port2, T2.port1.onmessage = R2, S2 = function() { U.postMessage(null); }) : S2 = function() { D(R2, 0); }; var T2, U; function I(a5) { O = a5, N || (N = !0, S2()); } function K2(a5, b3) { L = D(function() { a5(exports.unstable_now()); }, b3); } 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(a5) { a5.callback = null; }; exports.unstable_continueExecution = function() { A3 || z || (A3 = !0, I(J)); }; exports.unstable_forceFrameRate = function(a5) { 0 > a5 || 125 < a5 ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : P3 = 0 < a5 ? Math.floor(1e3 / a5) : 5; }; exports.unstable_getCurrentPriorityLevel = function() { return y3; }; exports.unstable_getFirstCallbackNode = function() { return h4(r3); }; exports.unstable_next = function(a5) { switch (y3) { case 1: case 2: case 3: var b3 = 3; break; default: b3 = y3; } var c3 = y3; y3 = b3; try { return a5(); } finally { y3 = c3; } }; exports.unstable_pauseExecution = function() { }; exports.unstable_requestPaint = function() { }; exports.unstable_runWithPriority = function(a5, b3) { switch (a5) { case 1: case 2: case 3: case 4: case 5: break; default: a5 = 3; } var c3 = y3; y3 = a5; try { return b3(); } finally { y3 = c3; } }; exports.unstable_scheduleCallback = function(a5, b3, c3) { var d3 = exports.unstable_now(); switch (typeof c3 == "object" && c3 !== null ? (c3 = c3.delay, c3 = typeof c3 == "number" && 0 < c3 ? d3 + c3 : d3) : c3 = d3, a5) { case 1: var e2 = -1; break; case 2: e2 = 250; break; case 5: e2 = 1073741823; break; case 4: e2 = 1e4; break; default: e2 = 5e3; } return e2 = c3 + e2, a5 = { id: u4++, callback: b3, priorityLevel: a5, startTime: c3, expirationTime: e2, sortIndex: -1 }, c3 > d3 ? (a5.sortIndex = c3, f6(t2, a5), h4(r3) === null && a5 === h4(t2) && (B3 ? (E2(L), L = -1) : B3 = !0, K2(H, c3 - d3))) : (a5.sortIndex = e2, f6(r3, a5), A3 || z || (A3 = !0, I(J))), a5; }; exports.unstable_shouldYield = M; exports.unstable_wrapCallback = function(a5) { var b3 = y3; return function() { var c3 = y3; y3 = b3; try { return a5.apply(this, arguments); } finally { y3 = c3; } }; }; } }); // ../../node_modules/scheduler/index.js var require_scheduler = __commonJS({ "../../node_modules/scheduler/index.js"(exports, module2) { "use strict"; module2.exports = require_scheduler_production_min(); } }); // ../../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(), ca = require_scheduler(); function p5(a5) { for (var b3 = "https://reactjs.org/docs/error-decoder.html?invariant=" + a5, c3 = 1; c3 < arguments.length; c3++) b3 += "&args[]=" + encodeURIComponent(arguments[c3]); return "Minified React error #" + a5 + "; visit " + b3 + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."; } var da = /* @__PURE__ */ new Set(), ea = {}; function fa(a5, b3) { ha(a5, b3), ha(a5 + "Capture", b3); } function ha(a5, b3) { for (ea[a5] = b3, a5 = 0; a5 < b3.length; a5++) da.add(b3[a5]); } var ia = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), ja = Object.prototype.hasOwnProperty, 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]*$/, la = {}, ma = {}; function oa(a5) { return ja.call(ma, a5) ? !0 : ja.call(la, a5) ? !1 : ka.test(a5) ? ma[a5] = !0 : (la[a5] = !0, !1); } function pa(a5, b3, c3, d3) { if (c3 !== null && c3.type === 0) return !1; switch (typeof b3) { case "function": case "symbol": return !0; case "boolean": return d3 ? !1 : c3 !== null ? !c3.acceptsBooleans : (a5 = a5.toLowerCase().slice(0, 5), a5 !== "data-" && a5 !== "aria-"); default: return !1; } } function qa(a5, b3, c3, d3) { if (b3 === null || typeof b3 > "u" || pa(a5, b3, c3, d3)) return !0; if (d3) return !1; if (c3 !== null) switch (c3.type) { case 3: return !b3; case 4: return b3 === !1; case 5: return isNaN(b3); case 6: return isNaN(b3) || 1 > b3; } return !1; } function v3(a5, b3, c3, d3, e2, f6, g3) { this.acceptsBooleans = b3 === 2 || b3 === 3 || b3 === 4, this.attributeName = d3, this.attributeNamespace = e2, this.mustUseProperty = c3, this.propertyName = a5, this.type = b3, this.sanitizeURL = f6, this.removeEmptyString = g3; } var z = {}; "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a5) { z[a5] = new v3(a5, 0, !1, a5, null, !1, !1); }); [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(a5) { var b3 = a5[0]; z[b3] = new v3(b3, 1, !1, a5[1], null, !1, !1); }); ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(a5) { z[a5] = new v3(a5, 2, !1, a5.toLowerCase(), null, !1, !1); }); ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(a5) { z[a5] = new v3(a5, 2, !1, a5, null, !1, !1); }); "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(a5) { z[a5] = new v3(a5, 3, !1, a5.toLowerCase(), null, !1, !1); }); ["checked", "multiple", "muted", "selected"].forEach(function(a5) { z[a5] = new v3(a5, 3, !0, a5, null, !1, !1); }); ["capture", "download"].forEach(function(a5) { z[a5] = new v3(a5, 4, !1, a5, null, !1, !1); }); ["cols", "rows", "size", "span"].forEach(function(a5) { z[a5] = new v3(a5, 6, !1, a5, null, !1, !1); }); ["rowSpan", "start"].forEach(function(a5) { z[a5] = new v3(a5, 5, !1, a5.toLowerCase(), null, !1, !1); }); var ra = /[\-:]([a-z])/g; function sa(a5) { return a5[1].toUpperCase(); } "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(a5) { var b3 = a5.replace( ra, sa ); z[b3] = new v3(b3, 1, !1, a5, null, !1, !1); }); "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a5) { var b3 = a5.replace(ra, sa); z[b3] = new v3(b3, 1, !1, a5, "http://www.w3.org/1999/xlink", !1, !1); }); ["xml:base", "xml:lang", "xml:space"].forEach(function(a5) { var b3 = a5.replace(ra, sa); z[b3] = new v3(b3, 1, !1, a5, "http://www.w3.org/XML/1998/namespace", !1, !1); }); ["tabIndex", "crossOrigin"].forEach(function(a5) { z[a5] = new v3(a5, 1, !1, a5.toLowerCase(), null, !1, !1); }); z.xlinkHref = new v3("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1); ["src", "href", "action", "formAction"].forEach(function(a5) { z[a5] = new v3(a5, 1, !1, a5.toLowerCase(), null, !0, !0); }); function ta(a5, b3, c3, d3) { var e2 = z.hasOwnProperty(b3) ? z[b3] : null; (e2 !== null ? e2.type !== 0 : d3 || !(2 < b3.length) || b3[0] !== "o" && b3[0] !== "O" || b3[1] !== "n" && b3[1] !== "N") && (qa(b3, c3, e2, d3) && (c3 = null), d3 || e2 === null ? oa(b3) && (c3 === null ? a5.removeAttribute(b3) : a5.setAttribute(b3, "" + c3)) : e2.mustUseProperty ? a5[e2.propertyName] = c3 === null ? e2.type === 3 ? !1 : "" : c3 : (b3 = e2.attributeName, d3 = e2.attributeNamespace, c3 === null ? a5.removeAttribute(b3) : (e2 = e2.type, c3 = e2 === 3 || e2 === 4 && c3 === !0 ? "" : "" + c3, d3 ? a5.setAttributeNS(d3, b3, c3) : a5.setAttribute(b3, c3)))); } var ua = aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, va = /* @__PURE__ */ Symbol.for("react.element"), wa = /* @__PURE__ */ Symbol.for("react.portal"), ya = /* @__PURE__ */ Symbol.for("react.fragment"), za = /* @__PURE__ */ Symbol.for("react.strict_mode"), Aa = /* @__PURE__ */ Symbol.for("react.profiler"), Ba = /* @__PURE__ */ Symbol.for("react.provider"), Ca = /* @__PURE__ */ Symbol.for("react.context"), Da = /* @__PURE__ */ Symbol.for("react.forward_ref"), Ea = /* @__PURE__ */ Symbol.for("react.suspense"), Fa = /* @__PURE__ */ Symbol.for("react.suspense_list"), Ga = /* @__PURE__ */ Symbol.for("react.memo"), Ha = /* @__PURE__ */ Symbol.for("react.lazy"), Ia = /* @__PURE__ */ Symbol.for("react.offscreen"), Ja = Symbol.iterator; function Ka(a5) { return a5 === null || typeof a5 != "object" ? null : (a5 = Ja && a5[Ja] || a5["@@iterator"], typeof a5 == "function" ? a5 : null); } var A3 = Object.assign, La; function Ma(a5) { if (La === void 0) try { throw Error(); } catch (c3) { var b3 = c3.stack.trim().match(/\n( *(at )?)/); La = b3 && b3[1] || ""; } return ` ` + La + a5; } var Na = !1; function Oa(a5, b3) { if (!a5 || Na) return ""; Na = !0; var c3 = Error.prepareStackTrace; Error.prepareStackTrace = void 0; try { if (b3) if (b3 = function() { throw Error(); }, Object.defineProperty(b3.prototype, "props", { set: function() { throw Error(); } }), typeof Reflect == "object" && Reflect.construct) { try { Reflect.construct(b3, []); } catch (l3) { var d3 = l3; } Reflect.construct(a5, [], b3); } else { try { b3.call(); } catch (l3) { d3 = l3; } a5.call(b3.prototype); } else { try { throw Error(); } catch (l3) { d3 = l3; } a5(); } } catch (l3) { if (l3 && d3 && typeof l3.stack == "string") { for (var e2 = l3.stack.split(` `), f6 = d3.stack.split(` `), g3 = e2.length - 1, h4 = f6.length - 1; 1 <= g3 && 0 <= h4 && e2[g3] !== f6[h4]; ) h4--; for (; 1 <= g3 && 0 <= h4; g3--, h4--) if (e2[g3] !== f6[h4]) { if (g3 !== 1 || h4 !== 1) do if (g3--, h4--, 0 > h4 || e2[g3] !== f6[h4]) { var k = ` ` + e2[g3].replace(" at new ", " at "); return a5.displayName && k.includes("<anonymous>") && (k = k.replace("<anonymous>", a5.displayName)), k; } while (1 <= g3 && 0 <= h4); break; } } } finally { Na = !1, Error.prepareStackTrace = c3; } return (a5 = a5 ? a5.displayName || a5.name : "") ? Ma(a5) : ""; } function Pa(a5) { switch (a5.tag) { case 5: return Ma(a5.type); case 16: return Ma("Lazy"); case 13: return Ma("Suspense"); case 19: return Ma("SuspenseList"); case 0: case 2: case 15: return a5 = Oa(a5.type, !1), a5; case 11: return a5 = Oa(a5.type.render, !1), a5; case 1: return a5 = Oa(a5.type, !0), a5; default: return ""; } } function Qa(a5) { if (a5 == null) return null; if (typeof a5 == "function") return a5.displayName || a5.name || null; if (typeof a5 == "string") return a5; switch (a5) { 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 (typeof a5 == "object") switch (a5.$$typeof) { case Ca: return (a5.displayName || "Context") + ".Consumer"; case Ba: return (a5._context.displayName || "Context") + ".Provider"; case Da: var b3 = a5.render; return a5 = a5.displayName, a5 || (a5 = b3.displayName || b3.name || "", a5 = a5 !== "" ? "ForwardRef(" + a5 + ")" : "ForwardRef"), a5; case Ga: return b3 = a5.displayName || null, b3 !== null ? b3 : Qa(a5.type) || "Memo"; case Ha: b3 = a5._payload, a5 = a5._init; try { return Qa(a5(b3)); } catch { } } return null; } function Ra(a5) { var b3 = a5.type; switch (a5.tag) { case 24: return "Cache"; case 9: return (b3.displayName || "Context") + ".Consumer"; case 10: return (b3._context.displayName || "Context") + ".Provider"; case 18: return "DehydratedFragment"; case 11: return a5 = b3.render, a5 = a5.displayName || a5.name || "", b3.displayName || (a5 !== "" ? "ForwardRef(" + a5 + ")" : "ForwardRef"); case 7: return "Fragment"; case 5: return b3; case 4: return "Portal"; case 3: return "Root"; case 6: return "Text"; case 16: return Qa(b3); case 8: return b3 === 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 (typeof b3 == "function") return b3.displayName || b3.name || null; if (typeof b3 == "string") return b3; } return null; } function Sa(a5) { switch (typeof a5) { case "boolean": case "number": case "string": case "undefined": return a5; case "object": return a5; default: return ""; } } function Ta(a5) { var b3 = a5.type; return (a5 = a5.nodeName) && a5.toLowerCase() === "input" && (b3 === "checkbox" || b3 === "radio"); } function Ua(a5) { var b3 = Ta(a5) ? "checked" : "value", c3 = Object.getOwnPropertyDescriptor(a5.constructor.prototype, b3), d3 = "" + a5[b3]; if (!a5.hasOwnProperty(b3) && typeof c3 < "u" && typeof c3.get == "function" && typeof c3.set == "function") { var e2 = c3.get, f6 = c3.set; return Object.defineProperty(a5, b3, { configurable: !0, get: function() { return e2.call(this); }, set: function(a6) { d3 = "" + a6, f6.call(this, a6); } }), Object.defineProperty(a5, b3, { enumerable: c3.enumerable }), { getValue: function() { return d3; }, setValue: function(a6) { d3 = "" + a6; }, stopTracking: function() { a5._valueTracker = null, delete a5[b3]; } }; } } function Va(a5) { a5._valueTracker || (a5._valueTracker = Ua(a5)); } function Wa(a5) { if (!a5) return !1; var b3 = a5._valueTracker; if (!b3) return !0; var c3 = b3.getValue(), d3 = ""; return a5 && (d3 = Ta(a5) ? a5.checked ? "true" : "false" : a5.value), a5 = d3, a5 !== c3 ? (b3.setValue(a5), !0) : !1; } function Xa(a5) { if (a5 = a5 || (typeof document < "u" ? document : void 0), typeof a5 > "u") return null; try { return a5.activeElement || a5.body; } catch { return a5.body; } } function Ya(a5, b3) { var c3 = b3.checked; return A3({}, b3, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: c3 ?? a5._wrapperState.initialChecked }); } function Za(a5, b3) { var c3 = b3.defaultValue == null ? "" : b3.defaultValue, d3 = b3.checked != null ? b3.checked : b3.defaultChecked; c3 = Sa(b3.value != null ? b3.value : c3), a5._wrapperState = { initialChecked: d3, initialValue: c3, controlled: b3.type === "checkbox" || b3.type === "radio" ? b3.checked != null : b3.value != null }; } function ab(a5, b3) { b3 = b3.checked, b3 != null && ta(a5, "checked", b3, !1); } function bb(a5, b3) { ab(a5, b3); var c3 = Sa(b3.value), d3 = b3.type; if (c3 != null) d3 === "number" ? (c3 === 0 && a5.value === "" || a5.value != c3) && (a5.value = "" + c3) : a5.value !== "" + c3 && (a5.value = "" + c3); else if (d3 === "submit" || d3 === "reset") { a5.removeAttribute("value"); return; } b3.hasOwnProperty("value") ? cb(a5, b3.type, c3) : b3.hasOwnProperty("defaultValue") && cb(a5, b3.type, Sa(b3.defaultValue)), b3.checked == null && b3.defaultChecked != null && (a5.defaultChecked = !!b3.defaultChecked); } function db(a5, b3, c3) { if (b3.hasOwnProperty("value") || b3.hasOwnProperty("defaultValue")) { var d3 = b3.type; if (!(d3 !== "submit" && d3 !== "reset" || b3.value !== void 0 && b3.value !== null)) return; b3 = "" + a5._wrapperState.initialValue, c3 || b3 === a5.value || (a5.value = b3), a5.defaultValue = b3; } c3 = a5.name, c3 !== "" && (a5.name = ""), a5.defaultChecked = !!a5._wrapperState.initialChecked, c3 !== "" && (a5.name = c3); } function cb(a5, b3, c3) { (b3 !== "number" || Xa(a5.ownerDocument) !== a5) && (c3 == null ? a5.defaultValue = "" + a5._wrapperState.initialValue : a5.defaultValue !== "" + c3 && (a5.defaultValue = "" + c3)); } var eb = Array.isArray; function fb(a5, b3, c3, d3) { if (a5 = a5.options, b3) { b3 = {}; for (var e2 = 0; e2 < c3.length; e2++) b3["$" + c3[e2]] = !0; for (c3 = 0; c3 < a5.length; c3++) e2 = b3.hasOwnProperty("$" + a5[c3].value), a5[c3].selected !== e2 && (a5[c3].selected = e2), e2 && d3 && (a5[c3].defaultSelected = !0); } else { for (c3 = "" + Sa(c3), b3 = null, e2 = 0; e2 < a5.length; e2++) { if (a5[e2].value === c3) { a5[e2].selected = !0, d3 && (a5[e2].defaultSelected = !0); return; } b3 !== null || a5[e2].disabled || (b3 = a5[e2]); } b3 !== null && (b3.selected = !0); } } function gb(a5, b3) { if (b3.dangerouslySetInnerHTML != null) throw Error(p5(91)); return A3({}, b3, { value: void 0, defaultValue: void 0, children: "" + a5._wrapperState.initialValue }); } function hb(a5, b3) { var c3 = b3.value; if (c3 == null) { if (c3 = b3.children, b3 = b3.defaultValue, c3 != null) { if (b3 != null) throw Error(p5(92)); if (eb(c3)) { if (1 < c3.length) throw Error(p5(93)); c3 = c3[0]; } b3 = c3; } b3 == null && (b3 = ""), c3 = b3; } a5._wrapperState = { initialValue: Sa(c3) }; } function ib(a5, b3) { var c3 = Sa(b3.value), d3 = Sa(b3.defaultValue); c3 != null && (c3 = "" + c3, c3 !== a5.value && (a5.value = c3), b3.defaultValue == null && a5.defaultValue !== c3 && (a5.defaultValue = c3)), d3 != null && (a5.defaultValue = "" + d3); } function jb(a5) { var b3 = a5.textContent; b3 === a5._wrapperState.initialValue && b3 !== "" && b3 !== null && (a5.value = b3); } function kb(a5) { switch (a5) { 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"; } } function lb(a5, b3) { return a5 == null || a5 === "http://www.w3.org/1999/xhtml" ? kb(b3) : a5 === "http://www.w3.org/2000/svg" && b3 === "foreignObject" ? "http://www.w3.org/1999/xhtml" : a5; } var mb, nb = (function(a5) { return typeof MSApp < "u" && MSApp.execUnsafeLocalFunction ? function(b3, c3, d3, e2) { MSApp.execUnsafeLocalFunction(function() { return a5(b3, c3, d3, e2); }); } : a5; })(function(a5, b3) { if (a5.namespaceURI !== "http://www.w3.org/2000/svg" || "innerHTML" in a5) a5.innerHTML = b3; else { for (mb = mb || document.createElement("div"), mb.innerHTML = "<svg>" + b3.valueOf().toString() + "</svg>", b3 = mb.firstChild; a5.firstChild; ) a5.removeChild(a5.firstChild); for (; b3.firstChild; ) a5.appendChild(b3.firstChild); } }); function ob(a5, b3) { if (b3) { var c3 = a5.firstChild; if (c3 && c3 === a5.lastChild && c3.nodeType === 3) { c3.nodeValue = b3; return; } } a5.textContent = b3; } var pb = { animationIterationCount: !0, aspectRatio: !0, borderImageOutset: !0, borderImageSlice: !0, borderImageWidth: !0, boxFlex: !0, boxFlexGroup: !0, boxOrdinalGroup: !0, columnCount: !0, columns: !0, flex: !0, flexGrow: !0, flexPositive: !0, flexShrink: !0, flexNegative: !0, flexOrder: !0, gridArea: !0, gridRow: !0, gridRowEnd: !0, gridRowSpan: !0, gridRowStart: !0, gridColumn: !0, gridColumnEnd: !0, gridColumnSpan: !0, gridColumnStart: !0, fontWeight: !0, lineClamp: !0, lineHeight: !0, opacity: !0, order: !0, orphans: !0, tabSize: !0, widows: !0, zIndex: !0, zoom: !0, fillOpacity: !0, floodOpacity: !0, stopOpacity: !0, strokeDasharray: !0, strokeDashoffset: !0, strokeMiterlimit: !0, strokeOpacity: !0, strokeWidth: !0 }, qb = ["Webkit", "ms", "Moz", "O"]; Object.keys(pb).forEach(function(a5) { qb.forEach(function(b3) { b3 = b3 + a5.charAt(0).toUpperCase() + a5.substring(1), pb[b3] = pb[a5]; }); }); function rb(a5, b3, c3) { return b3 == null || typeof b3 == "boolean" || b3 === "" ? "" : c3 || typeof b3 != "number" || b3 === 0 || pb.hasOwnProperty(a5) && pb[a5] ? ("" + b3).trim() : b3 + "px"; } function sb2(a5, b3) { a5 = a5.style; for (var c3 in b3) if (b3.hasOwnProperty(c3)) { var d3 = c3.indexOf("--") === 0, e2 = rb(c3, b3[c3], d3); c3 === "float" && (c3 = "cssFloat"), d3 ? a5.setProperty(c3, e2) : a5[c3] = e2; } } var tb = A3({ menuitem: !0 }, { area: !0, base: !0, br: !0, col: !0, embed: !0, hr: !0, img: !0, input: !0, keygen: !0, link: !0, meta: !0, param: !0, source: !0, track: !0, wbr: !0 }); function ub(a5, b3) { if (b3) { if (tb[a5] && (b3.children != null || b3.dangerouslySetInnerHTML != null)) throw Error(p5(137, a5)); if (b3.dangerouslySetInnerHTML != null) { if (b3.children != null) throw Error(p5(60)); if (typeof b3.dangerouslySetInnerHTML != "object" || !("__html" in b3.dangerouslySetInnerHTML)) throw Error(p5(61)); } if (b3.style != null && typeof b3.style != "object") throw Error(p5(62)); } } function vb(a5, b3) { if (a5.indexOf("-") === -1) return typeof b3.is == "string"; switch (a5) { 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 !1; default: return !0; } } var wb = null; function xb(a5) { return a5 = a5.target || a5.srcElement || window, a5.correspondingUseElement && (a5 = a5.correspondingUseElement), a5.nodeType === 3 ? a5.parentNode : a5; } var yb = null, zb = null, Ab = null; function Bb(a5) { if (a5 = Cb(a5)) { if (typeof yb != "function") throw Error(p5(280)); var b3 = a5.stateNode; b3 && (b3 = Db(b3), yb(a5.stateNode, a5.type, b3)); } } function Eb(a5) { zb ? Ab ? Ab.push(a5) : Ab = [a5] : zb = a5; } function Fb() { if (zb) { var a5 = zb, b3 = Ab; if (Ab = zb = null, Bb(a5), b3) for (a5 = 0; a5 < b3.length; a5++) Bb(b3[a5]); } } function Gb(a5, b3) { return a5(b3); } function Hb() { } var Ib = !1; function Jb(a5, b3, c3) { if (Ib) return a5(b3, c3); Ib = !0; try { return Gb(a5, b3, c3); } finally { Ib = !1, (zb !== null || Ab !== null) && (Hb(), Fb()); } } function Kb(a5, b3) { var c3 = a5.stateNode; if (c3 === null) return null; var d3 = Db(c3); if (d3 === null) return null; c3 = d3[b3]; a: switch (b3) { case "onClick": case "onClickCapture": case "onDoubleClick": case "onDoubleClickCapture": case "onMouseDown": case "onMouseDownCapture": case "onMouseMove": case "onMouseMoveCapture": case "onMouseUp": case "onMouseUpCapture": case "onMouseEnter": (d3 = !d3.disabled) || (a5 = a5.type, d3 = !(a5 === "button" || a5 === "input" || a5 === "select" || a5 === "textarea")), a5 = !d3; break a; default: a5 = !1; } if (a5) return null; if (c3 && typeof c3 != "function") throw Error(p5(231, b3, typeof c3)); return c3; } var Lb = !1; if (ia) try { Mb = {}, Object.defineProperty(Mb, "passive", { get: function() { Lb = !0; } }), window.addEventListener("test", Mb, Mb), window.removeEventListener("test", Mb, Mb); } catch { Lb = !1; } var Mb; function Nb(a5, b3, c3, d3, e2, f6, g3, h4, k) { var l3 = Array.prototype.slice.call(arguments, 3); try { b3.apply(c3, l3); } catch (m5) { this.onError(m5); } } var Ob = !1, Pb = null, Qb = !1, Rb = null, Sb = { onError: function(a5) { Ob = !0, Pb = a5; } }; function Tb(a5, b3, c3, d3, e2, f6, g3, h4, k) { Ob = !1, Pb = null, Nb.apply(Sb, arguments); } function Ub(a5, b3, c3, d3, e2, f6, g3, h4, k) { if (Tb.apply(this, arguments), Ob) { if (Ob) { var l3 = Pb; Ob = !1, Pb = null; } else throw Error(p5(198)); Qb || (Qb = !0, Rb = l3); } } function Vb(a5) { var b3 = a5, c3 = a5; if (a5.alternate) for (; b3.return; ) b3 = b3.return; else { a5 = b3; do b3 = a5, (b3.flags & 4098) !== 0 && (c3 = b3.return), a5 = b3.return; while (a5); } return b3.tag === 3 ? c3 : null; } function Wb(a5) { if (a5.tag === 13) { var b3 = a5.memoizedState; if (b3 === null && (a5 = a5.alternate, a5 !== null && (b3 = a5.memoizedState)), b3 !== null) return b3.dehydrated; } return null; } function Xb(a5) { if (Vb(a5) !== a5) throw Error(p5(188)); } function Yb(a5) { var b3 = a5.alternate; if (!b3) { if (b3 = Vb(a5), b3 === null) throw Error(p5(188)); return b3 !== a5 ? null : a5; } for (var c3 = a5, d3 = b3; ; ) { var e2 = c3.return;