import { b as wu, c as navigator, d as window, f as nn, } from "./chunk-ENK4YSX5.mjs"; var _t = {}; wu(_t, { Children: () => Pn, Component: () => ve, Fragment: () => jo, Profiler: () => Qk, PureComponent: () => Zk, StrictMode: () => Jk, Suspense: () => Wo, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: () => eC, cloneElement: () => yn, createContext: () => be, createElement: () => Aa, createFactory: () => tC, createRef: () => Mm, default: () => b, forwardRef: () => We, isValidElement: () => Ht, lazy: () => nC, memo: () => rC, startTransition: () => Vi, unstable_act: () => iC, useCallback: () => me, useContext: () => O, useDebugValue: () => oC, useDeferredValue: () => sC, useEffect: () => N, useId: () => Jr, useImperativeHandle: () => aC, useInsertionEffect: () => at, useLayoutEffect: () => _n, useMemo: () => fe, useReducer: () => lC, useRef: () => D, useState: () => yt, useSyncExternalStore: () => cC, useTransition: () => uC, version: () => fC, }); nn(); var b = {}, Ho = Symbol.for("react.element"), Ak = Symbol.for("react.portal"), Vk = Symbol.for("react.fragment"), Bk = Symbol.for("react.strict_mode"), $k = Symbol.for("react.profiler"), zk = Symbol.for("react.provider"), Nk = Symbol.for("react.context"), Hk = Symbol.for("react.forward_ref"), jk = Symbol.for("react.suspense"), Wk = Symbol.for("react.memo"), Uk = Symbol.for("react.lazy"), km = Symbol.iterator; function Xk(e) { return e === null || typeof e != "object" ? null : ((e = (km && e[km]) || e["@@iterator"]), typeof e == "function" ? e : null); } var Em = { isMounted: function () { return !1; }, enqueueForceUpdate: function () {}, enqueueReplaceState: function () {}, enqueueSetState: function () {}, }, Rm = Object.assign, Pm = {}; function Ai(e, t, n) { (this.props = e), (this.context = t), (this.refs = Pm), (this.updater = n || Em); } Ai.prototype.isReactComponent = {}; Ai.prototype.setState = function (e, t) { if (typeof e != "object" && typeof e != "function" && e != 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, e, t, "setState"); }; Ai.prototype.forceUpdate = function (e) { this.updater.enqueueForceUpdate(this, e, "forceUpdate"); }; function _m() {} _m.prototype = Ai.prototype; function Cu(e, t, n) { (this.props = e), (this.context = t), (this.refs = Pm), (this.updater = n || Em); } var Tu = (Cu.prototype = new _m()); Tu.constructor = Cu; Rm(Tu, Ai.prototype); Tu.isPureReactComponent = !0; var Cm = Array.isArray, Im = Object.prototype.hasOwnProperty, Eu = { current: null }, Fm = { key: !0, ref: !0, __self: !0, __source: !0 }; function Lm(e, t, n) { var r, i = {}, o = null, s = null; if (t != null) for (r in (t.ref !== void 0 && (s = t.ref), t.key !== void 0 && (o = "" + t.key), t)) Im.call(t, r) && !Fm.hasOwnProperty(r) && (i[r] = t[r]); var a = arguments.length - 2; if (a === 1) i.children = n; else if (1 < a) { for (var l = Array(a), c = 0; c < a; c++) l[c] = arguments[c + 2]; i.children = l; } if (e && e.defaultProps) for (r in ((a = e.defaultProps), a)) i[r] === void 0 && (i[r] = a[r]); return { $$typeof: Ho, type: e, key: o, ref: s, props: i, _owner: Eu.current, }; } function Yk(e, t) { return { $$typeof: Ho, type: e.type, key: t, ref: e.ref, props: e.props, _owner: e._owner, }; } function Ru(e) { return typeof e == "object" && e !== null && e.$$typeof === Ho; } function Gk(e) { var t = { "=": "=0", ":": "=2" }; return ( "$" + e.replace(/[=:]/g, function (n) { return t[n]; }) ); } var Tm = /\/+/g; function ku(e, t) { return typeof e == "object" && e !== null && e.key != null ? Gk("" + e.key) : t.toString(36); } function Oa(e, t, n, r, i) { var o = typeof e; (o !== "undefined" && o !== "boolean") || (e = null); var s = !1; if (e === null) s = !0; else switch (o) { case "string": case "number": s = !0; break; case "object": switch (e.$$typeof) { case Ho: case Ak: s = !0; } } if (s) return ( (s = e), (i = i(s)), (e = r === "" ? "." + ku(s, 0) : r), Cm(i) ? ((n = ""), e != null && (n = e.replace(Tm, "$&/") + "/"), Oa(i, t, n, "", function (c) { return c; })) : i != null && (Ru(i) && (i = Yk( i, n + (!i.key || (s && s.key === i.key) ? "" : ("" + i.key).replace(Tm, "$&/") + "/") + e )), t.push(i)), 1 ); if (((s = 0), (r = r === "" ? "." : r + ":"), Cm(e))) for (var a = 0; a < e.length; a++) { o = e[a]; var l = r + ku(o, a); s += Oa(o, t, n, l, i); } else if (((l = Xk(e)), typeof l == "function")) for (e = l.call(e), a = 0; !(o = e.next()).done; ) (o = o.value), (l = r + ku(o, a++)), (s += Oa(o, t, n, l, i)); else if (o === "object") throw ( ((t = String(e)), Error( "Objects are not valid as a React child (found: " + (t === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : t) + "). If you meant to render a collection of children, use an array instead." )) ); return s; } function Ma(e, t, n) { if (e == null) return e; var r = [], i = 0; return ( Oa(e, r, "", "", function (o) { return t.call(n, o, i++); }), r ); } function Kk(e) { if (e._status === -1) { var t = e._result; (t = t()), t.then( function (n) { (e._status !== 0 && e._status !== -1) || ((e._status = 1), (e._result = n)); }, function (n) { (e._status !== 0 && e._status !== -1) || ((e._status = 2), (e._result = n)); } ), e._status === -1 && ((e._status = 0), (e._result = t)); } if (e._status === 1) return e._result.default; throw e._result; } var gt = { current: null }, Da = { transition: null }, qk = { ReactCurrentDispatcher: gt, ReactCurrentBatchConfig: Da, ReactCurrentOwner: Eu, }; b.Children = { map: Ma, forEach: function (e, t, n) { Ma( e, function () { t.apply(this, arguments); }, n ); }, count: function (e) { var t = 0; return ( Ma(e, function () { t++; }), t ); }, toArray: function (e) { return ( Ma(e, function (t) { return t; }) || [] ); }, only: function (e) { if (!Ru(e)) throw Error( "React.Children.only expected to receive a single React element child." ); return e; }, }; b.Component = Ai; b.Fragment = Vk; b.Profiler = $k; b.PureComponent = Cu; b.StrictMode = Bk; b.Suspense = jk; b.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = qk; b.cloneElement = function (e, t, n) { if (e == null) throw Error( "React.cloneElement(...): The argument must be a React element, but you passed " + e + "." ); var r = Rm({}, e.props), i = e.key, o = e.ref, s = e._owner; if (t != null) { if ( (t.ref !== void 0 && ((o = t.ref), (s = Eu.current)), t.key !== void 0 && (i = "" + t.key), e.type && e.type.defaultProps) ) var a = e.type.defaultProps; for (l in t) Im.call(t, l) && !Fm.hasOwnProperty(l) && (r[l] = t[l] === void 0 && a !== void 0 ? a[l] : t[l]); } var l = arguments.length - 2; if (l === 1) r.children = n; else if (1 < l) { a = Array(l); for (var c = 0; c < l; c++) a[c] = arguments[c + 2]; r.children = a; } return { $$typeof: Ho, type: e.type, key: i, ref: o, props: r, _owner: s }; }; b.createContext = function (e) { return ( (e = { $$typeof: Nk, _currentValue: e, _currentValue2: e, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null, }), (e.Provider = { $$typeof: zk, _context: e }), (e.Consumer = e) ); }; b.createElement = Lm; b.createFactory = function (e) { var t = Lm.bind(null, e); return (t.type = e), t; }; b.createRef = function () { return { current: null }; }; b.forwardRef = function (e) { return { $$typeof: Hk, render: e }; }; b.isValidElement = Ru; b.lazy = function (e) { return { $$typeof: Uk, _payload: { _status: -1, _result: e }, _init: Kk }; }; b.memo = function (e, t) { return { $$typeof: Wk, type: e, compare: t === void 0 ? null : t }; }; b.startTransition = function (e) { var t = Da.transition; Da.transition = {}; try { e(); } finally { Da.transition = t; } }; b.unstable_act = function () { throw Error("act(...) is not supported in production builds of React."); }; b.useCallback = function (e, t) { return gt.current.useCallback(e, t); }; b.useContext = function (e) { return gt.current.useContext(e); }; b.useDebugValue = function () {}; b.useDeferredValue = function (e) { return gt.current.useDeferredValue(e); }; b.useEffect = function (e, t) { return gt.current.useEffect(e, t); }; b.useId = function () { return gt.current.useId(); }; b.useImperativeHandle = function (e, t, n) { return gt.current.useImperativeHandle(e, t, n); }; b.useInsertionEffect = function (e, t) { return gt.current.useInsertionEffect(e, t); }; b.useLayoutEffect = function (e, t) { return gt.current.useLayoutEffect(e, t); }; b.useMemo = function (e, t) { return gt.current.useMemo(e, t); }; b.useReducer = function (e, t, n) { return gt.current.useReducer(e, t, n); }; b.useRef = function (e) { return gt.current.useRef(e); }; b.useState = function (e) { return gt.current.useState(e); }; b.useSyncExternalStore = function (e, t, n) { return gt.current.useSyncExternalStore(e, t, n); }; b.useTransition = function () { return gt.current.useTransition(); }; b.version = "18.2.0"; var Pn = b.Children, ve = b.Component, jo = b.Fragment, Qk = b.Profiler, Zk = b.PureComponent, Jk = b.StrictMode, Wo = b.Suspense, eC = b.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, yn = b.cloneElement, be = b.createContext, Aa = b.createElement, tC = b.createFactory, Mm = b.createRef, We = b.forwardRef, Ht = b.isValidElement, nC = b.lazy, rC = b.memo, Vi = b.startTransition, iC = b.unstable_act, me = b.useCallback, O = b.useContext, oC = b.useDebugValue, sC = b.useDeferredValue, N = b.useEffect, Jr = b.useId, aC = b.useImperativeHandle, at = b.useInsertionEffect, _n = b.useLayoutEffect, fe = b.useMemo, lC = b.useReducer, D = b.useRef, yt = b.useState, cC = b.useSyncExternalStore, uC = b.useTransition, fC = b.version; nn(); var dC = "default" in _t ? b : _t, Bi = {}, hC = dC, pC = Symbol.for("react.element"), mC = Symbol.for("react.fragment"), vC = Object.prototype.hasOwnProperty, gC = hC.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, yC = { key: !0, ref: !0, __self: !0, __source: !0 }; function Om(e, t, n) { var r, i = {}, o = null, s = null; n !== void 0 && (o = "" + n), t.key !== void 0 && (o = "" + t.key), t.ref !== void 0 && (s = t.ref); for (r in t) vC.call(t, r) && !yC.hasOwnProperty(r) && (i[r] = t[r]); if (e && e.defaultProps) for (r in ((t = e.defaultProps), t)) i[r] === void 0 && (i[r] = t[r]); return { $$typeof: pC, type: e, key: o, ref: s, props: i, _owner: gC.current, }; } Bi.Fragment = mC; Bi.jsx = Om; Bi.jsxs = Om; var Ie = Bi.Fragment, C = Bi.jsx, se = Bi.jsxs; nn(); var bC = Object.create, sf = Object.defineProperty, xC = Object.getOwnPropertyDescriptor, Jv = Object.getOwnPropertyNames, SC = Object.getPrototypeOf, wC = Object.prototype.hasOwnProperty, kC = (e, t, n) => t in e ? sf(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : (e[t] = n), sn = (e, t) => function () { return t || (0, e[Jv(e)[0]])((t = { exports: {} }).exports, t), t.exports; }, CC = (e, t, n, r) => { if ((t && typeof t == "object") || typeof t == "function") for (let i of Jv(t)) !wC.call(e, i) && i !== n && sf(e, i, { get: () => t[i], enumerable: !(r = xC(t, i)) || r.enumerable, }); return e; }, An = (e, t, n) => ( (n = e != null ? bC(SC(e)) : {}), CC( t || !e || !e.__esModule ? sf(n, "default", { value: e, enumerable: !0 }) : n, e ) ), E = (e, t, n) => (kC(e, typeof t != "symbol" ? t + "" : t, n), n), af = (e, t, n) => { if (!t.has(e)) throw TypeError("Cannot " + n); }, ai = (e, t, n) => ( af(e, t, "read from private field"), n ? n.call(e) : t.get(e) ), Ui = (e, t, n) => { if (t.has(e)) throw TypeError("Cannot add the same private member more than once"); t instanceof WeakSet ? t.add(e) : t.set(e, n); }, lf = (e, t, n, r) => ( af(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n ), Ft = (e, t, n) => (af(e, t, "access private method"), n), TC = sn({ "../../../node_modules/@emotion/memoize/dist/memoize.browser.cjs.js"(e) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }); function t(n) { var r = {}; return function (i) { return r[i] === void 0 && (r[i] = n(i)), r[i]; }; } e.default = t; }, }), EC = sn({ "../../../node_modules/@emotion/is-prop-valid/dist/is-prop-valid.browser.cjs.js"( e ) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }); function t(o) { return o && typeof o == "object" && "default" in o ? o.default : o; } var n = t(TC()), r = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, i = n(function (o) { return ( r.test(o) || (o.charCodeAt(0) === 111 && o.charCodeAt(1) === 110 && o.charCodeAt(2) < 91) ); }); e.default = i; }, }), Dn = be({ transformPagePoint: (e) => e, isStatic: !1, reducedMotion: "never", }), os = be({}), Xi = be(null), Za = typeof document < "u", Sr = Za ? _n : N, cf = (e) => e.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), RC = "framerAppearId", Ja = "data-" + cf(RC), el = { skipAnimations: !1, useManualTiming: !1 }, ts = be({}), tl = be({}), eg = be({ strict: !1 }), Dm = class { constructor() { (this.order = []), (this.scheduled = new Set()); } add(e) { if (!this.scheduled.has(e)) return this.scheduled.add(e), this.order.push(e), !0; } remove(e) { let t = this.order.indexOf(e); t !== -1 && (this.order.splice(t, 1), this.scheduled.delete(e)); } clear() { (this.order.length = 0), this.scheduled.clear(); } }; function PC(e) { let t = new Dm(), n = new Dm(), r = 0, i = !1, o = !1, s = new WeakSet(), a = { schedule: (l, c = !1, u = !1) => { let f = u && i, d = f ? t : n; return c && s.add(l), d.add(l) && f && i && (r = t.order.length), l; }, cancel: (l) => { n.remove(l), s.delete(l); }, process: (l) => { if (i) { o = !0; return; } if (((i = !0), ([t, n] = [n, t]), n.clear(), (r = t.order.length), r)) for (let c = 0; c < r; c++) { let u = t.order[c]; s.has(u) && (a.schedule(u), e()), u(l); } (i = !1), o && ((o = !1), a.process(l)); }, }; return a; } var Yo = [ "read", "resolveKeyframes", "update", "preRender", "render", "postRender", ], _C = 40; function tg(e, t) { let n = !1, r = !0, i = { delta: 0, timestamp: 0, isProcessing: !1 }, o = Yo.reduce((f, d) => ((f[d] = PC(() => (n = !0))), f), {}), s = (f) => { o[f].process(i); }, a = () => { let f = el.useManualTiming ? i.timestamp : performance.now(); (n = !1), (i.delta = r ? 1e3 / 60 : Math.max(Math.min(f - i.timestamp, _C), 1)), (i.timestamp = f), (i.isProcessing = !0), Yo.forEach(s), (i.isProcessing = !1), n && t && ((r = !1), e(a)); }, l = () => { (n = !0), (r = !0), i.isProcessing || e(a); }; return { schedule: Yo.reduce((f, d) => { let m = o[d]; return (f[d] = (y, v = !1, x = !1) => (n || l(), m.schedule(y, v, x))), f; }, {}), cancel: (f) => Yo.forEach((d) => o[d].cancel(f)), state: i, steps: o, }; } var { schedule: uf, cancel: z4 } = tg(queueMicrotask, !1); function IC(e, t, n, r) { let { visualElement: i } = O(os), o = O(eg), s = O(Xi), a = O(Dn).reducedMotion, l = D(); (r = r || o.renderer), !l.current && r && (l.current = r(e, { visualState: t, parent: i, props: n, presenceContext: s, blockInitialAnimation: s ? s.initial === !1 : !1, reducedMotionConfig: a, })); let c = l.current; at(() => { c && c.update(n, s); }); let u = D(!!(n[Ja] && !window.HandoffComplete)); return ( Sr(() => { c && (uf.render(c.render), u.current && c.animationState && c.animationState.animateChanges()); }), N(() => { c && (c.updateFeatures(), !u.current && c.animationState && c.animationState.animateChanges(), u.current && ((u.current = !1), (window.HandoffComplete = !0))); }), c ); } function $i(e) { return ( e && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "current") ); } function FC(e, t, n) { return me( (r) => { r && e.mount && e.mount(r), t && (r ? t.mount(r) : t.unmount()), n && (typeof n == "function" ? n(r) : $i(n) && (n.current = r)); }, [t] ); } function ns(e) { return typeof e == "string" || Array.isArray(e); } function nl(e) { return e !== null && typeof e == "object" && typeof e.start == "function"; } var ff = [ "animate", "whileInView", "whileFocus", "whileHover", "whileTap", "whileDrag", "exit", ], df = ["initial", ...ff]; function rl(e) { return nl(e.animate) || df.some((t) => ns(e[t])); } function ng(e) { return !!(rl(e) || e.variants); } function LC(e, t) { if (rl(e)) { let { initial: n, animate: r } = e; return { initial: n === !1 || ns(n) ? n : void 0, animate: ns(r) ? r : void 0, }; } return e.inherit !== !1 ? t : {}; } function MC(e) { let { initial: t, animate: n } = LC(e, O(os)); return fe(() => ({ initial: t, animate: n }), [Am(t), Am(n)]); } function Am(e) { return Array.isArray(e) ? e.join(" ") : e; } var Vm = { animation: [ "animate", "variants", "whileHover", "whileTap", "exit", "whileInView", "whileFocus", "whileDrag", ], exit: ["exit"], drag: ["drag", "dragControls"], focus: ["whileFocus"], hover: ["whileHover", "onHoverStart", "onHoverEnd"], tap: ["whileTap", "onTap", "onTapStart", "onTapCancel"], pan: ["onPan", "onPanStart", "onPanSessionStart", "onPanEnd"], inView: ["whileInView", "onViewportEnter", "onViewportLeave"], layout: ["layout", "layoutId"], }, rs = {}; for (let e in Vm) rs[e] = { isEnabled: (t) => Vm[e].some((n) => !!t[n]) }; function OC(e) { for (let t in e) rs[t] = { ...rs[t], ...e[t] }; } var hf = Symbol.for("motionComponentSymbol"); function rg({ preloadedFeatures: e, createVisualElement: t, useRender: n, useVisualState: r, Component: i, }) { e && OC(e); function o(a, l) { let c, u = { ...O(Dn), ...a, layoutId: DC(a) }, { isStatic: f } = u, d = MC(a), m = r(a, f); if (!f && Za) { d.visualElement = IC(i, m, u, t); let y = O(tl), v = O(eg).strict; d.visualElement && (c = d.visualElement.loadFeatures(u, v, e, y)); } return se(os.Provider, { value: d, children: [ c && d.visualElement ? C(c, { visualElement: d.visualElement, ...u }) : null, n(i, a, FC(m, d.visualElement, l), m, f, d.visualElement), ], }); } let s = We(o); return (s[hf] = i), s; } function DC({ layoutId: e }) { let t = O(ts).id; return t && e !== void 0 ? t + "-" + e : e; } var Wa = {}; function pf(e) { Object.assign(Wa, e); } var Ce = (e) => !!(e && e.getVelocity), ss = [ "transformPerspective", "x", "y", "z", "translateX", "translateY", "translateZ", "scale", "scaleX", "scaleY", "rotate", "rotateX", "rotateY", "rotateZ", "skew", "skewX", "skewY", ], li = new Set(ss), AC = { x: "translateX", y: "translateY", z: "translateZ", transformPerspective: "perspective", }, VC = ss.length; function ig( e, { enableHardwareAcceleration: t = !0, allowTransformNone: n = !0 }, r, i ) { let o = ""; for (let s = 0; s < VC; s++) { let a = ss[s]; if (e[a] !== void 0) { let l = AC[a] || a; o += `${l}(${e[a]}) `; } } return ( t && !e.z && (o += "translateZ(0)"), (o = o.trim()), i ? (o = i(e, r ? "" : o)) : n && r && (o = "none"), o ); } var Jn = (e, t, n) => (n > t ? t : n < e ? e : n), Ko = (e) => Math.round(e * 1e5) / 1e5, mf = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu, BC = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu, $C = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu; function as(e) { return typeof e == "string"; } var ls = (e) => ({ test: (t) => as(t) && t.endsWith(e) && t.split(" ").length === 1, parse: parseFloat, transform: (t) => `${t}${e}`, }), vr = ls("deg"), In = ls("%"), W = ls("px"), zC = ls("vh"), NC = ls("vw"), Bm = { ...In, parse: (e) => In.parse(e) / 100, transform: (e) => In.transform(e * 100), }, HC = new Set([ "animate", "exit", "variants", "initial", "style", "values", "variants", "transition", "transformTemplate", "custom", "inherit", "onBeforeLayoutMeasure", "onAnimationStart", "onAnimationComplete", "onUpdate", "onDragStart", "onDrag", "onDragEnd", "onMeasureDragConstraints", "onDirectionLock", "onDragTransitionEnd", "_dragX", "_dragY", "onHoverStart", "onHoverEnd", "onViewportEnter", "onViewportLeave", "globalTapTarget", "ignoreStrict", "viewport", ]); function ji(e) { return ( e.startsWith("while") || (e.startsWith("drag") && e !== "draggable") || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || HC.has(e) ); } var og = (e) => !ji(e); function sg(e) { e && (og = (t) => (t.startsWith("on") ? !ji(t) : e(t))); } try { sg(EC().default); } catch {} function ag(e, t, n) { let r = {}; for (let i in e) (i === "values" && typeof e.values == "object") || ((og(i) || (n === !0 && ji(i)) || (!t && !ji(i)) || (e.draggable && i.startsWith("onDrag"))) && (r[i] = e[i])); return r; } var Nu = (e) => Array.isArray(e), jC = (e) => !!(e && typeof e == "object" && e.mix && e.toValue), WC = (e) => (Nu(e) ? e[e.length - 1] || 0 : e); function lt(e) { let t = Ce(e) ? e.get() : e; return jC(t) ? t.toValue() : t; } function $m(e) { let t = [{}, {}]; return ( e?.values.forEach((n, r) => { (t[0][r] = n.get()), (t[1][r] = n.getVelocity()); }), t ); } function vf(e, t, n, r) { if (typeof t == "function") { let [i, o] = $m(r); t = t(n !== void 0 ? n : e.custom, i, o); } if ( (typeof t == "string" && (t = e.variants && e.variants[t]), typeof t == "function") ) { let [i, o] = $m(r); t = t(n !== void 0 ? n : e.custom, i, o); } return t; } function nr(e) { let t = D(null); return t.current === null && (t.current = e()), t.current; } function UC( { scrapeMotionValuesFromProps: e, createRenderState: t, onMount: n }, r, i, o ) { let s = { latestValues: XC(r, i, o, e), renderState: t() }; return n && (s.mount = (a) => n(r, a, s)), s; } var il = (e) => (t, n) => { let r = O(os), i = O(Xi), o = () => UC(e, t, r, i); return n ? o() : nr(o); }; function XC(e, t, n, r) { let i = {}, o = r(e, {}); for (let d in o) i[d] = lt(o[d]); let { initial: s, animate: a } = e, l = rl(e), c = ng(e); t && c && !l && e.inherit !== !1 && (s === void 0 && (s = t.initial), a === void 0 && (a = t.animate)); let u = n ? n.initial === !1 : !1; u = u || s === !1; let f = u ? a : s; return ( f && typeof f != "boolean" && !nl(f) && (Array.isArray(f) ? f : [f]).forEach((m) => { let y = vf(e, m); if (!y) return; let { transitionEnd: v, transition: x, ...p } = y; for (let h in p) { let g = p[h]; if (Array.isArray(g)) { let S = u ? g.length - 1 : 0; g = g[S]; } g !== null && (i[h] = g); } for (let h in v) i[h] = v[h]; }), i ); } var nt = (e) => e, { schedule: X, cancel: bt, state: Le, steps: $a, } = tg(typeof requestAnimationFrame < "u" ? requestAnimationFrame : nt, !0), lg = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1; function ol(e, t = "page") { return { point: { x: e[`${t}X`], y: e[`${t}Y`] } }; } var cg = (e) => (t) => lg(t) && e(t, ol(t)); function Zn(e, t, n, r = { passive: !0 }) { return e.addEventListener(t, n, r), () => e.removeEventListener(t, n); } function Fn(e, t, n, r) { return Zn(e, t, cg(n), r); } var YC = (e, t) => (n) => t(e(n)), Ln = (...e) => e.reduce(YC); function ug(e) { let t = null; return () => { let n = () => { t = null; }; return t === null ? ((t = e), n) : !1; }; } var zm = ug("dragHorizontal"), Nm = ug("dragVertical"); function fg(e) { let t = !1; if (e === "y") t = Nm(); else if (e === "x") t = zm(); else { let n = zm(), r = Nm(); n && r ? (t = () => { n(), r(); }) : (n && n(), r && r()); } return t; } function gf() { let e = fg(!0); return e ? (e(), !1) : !0; } var Yi = nt, jt = nt, Gi = { test: (e) => typeof e == "number", parse: parseFloat, transform: (e) => e, }, qo = { ...Gi, transform: (e) => Jn(0, 1, e) }, Va = { ...Gi, default: 1 }, yf = (e, t) => (n) => !!( (as(n) && $C.test(n) && n.startsWith(e)) || (t && Object.prototype.hasOwnProperty.call(n, t)) ), dg = (e, t, n) => (r) => { if (!as(r)) return r; let [i, o, s, a] = r.match(mf); return { [e]: parseFloat(i), [t]: parseFloat(o), [n]: parseFloat(s), alpha: a !== void 0 ? parseFloat(a) : 1, }; }, GC = (e) => Jn(0, 255, e), Pu = { ...Gi, transform: (e) => Math.round(GC(e)) }, ii = { test: yf("rgb", "red"), parse: dg("red", "green", "blue"), transform: ({ red: e, green: t, blue: n, alpha: r = 1 }) => "rgba(" + Pu.transform(e) + ", " + Pu.transform(t) + ", " + Pu.transform(n) + ", " + Ko(qo.transform(r)) + ")", }; function KC(e) { let t = "", n = "", r = "", i = ""; return ( e.length > 5 ? ((t = e.substring(1, 3)), (n = e.substring(3, 5)), (r = e.substring(5, 7)), (i = e.substring(7, 9))) : ((t = e.substring(1, 2)), (n = e.substring(2, 3)), (r = e.substring(3, 4)), (i = e.substring(4, 5)), (t += t), (n += n), (r += r), (i += i)), { red: parseInt(t, 16), green: parseInt(n, 16), blue: parseInt(r, 16), alpha: i ? parseInt(i, 16) / 255 : 1, } ); } var Hu = { test: yf("#"), parse: KC, transform: ii.transform }, zi = { test: yf("hsl", "hue"), parse: dg("hue", "saturation", "lightness"), transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + In.transform(Ko(t)) + ", " + In.transform(Ko(n)) + ", " + Ko(qo.transform(r)) + ")", }, tt = { test: (e) => ii.test(e) || Hu.test(e) || zi.test(e), parse: (e) => ii.test(e) ? ii.parse(e) : zi.test(e) ? zi.parse(e) : Hu.parse(e), transform: (e) => as(e) ? e : e.hasOwnProperty("red") ? ii.transform(e) : zi.transform(e), }; function qC(e) { var t, n; return ( isNaN(e) && as(e) && (((t = e.match(mf)) === null || t === void 0 ? void 0 : t.length) || 0) + (((n = e.match(BC)) === null || n === void 0 ? void 0 : n.length) || 0) > 0 ); } var hg = "number", pg = "color", QC = "var", ZC = "var(", Hm = "${}", JC = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu; function is(e) { let t = e.toString(), n = [], r = { color: [], number: [], var: [] }, i = [], o = 0, a = t .replace( JC, (l) => ( tt.test(l) ? (r.color.push(o), i.push(pg), n.push(tt.parse(l))) : l.startsWith(ZC) ? (r.var.push(o), i.push(QC), n.push(l)) : (r.number.push(o), i.push(hg), n.push(parseFloat(l))), ++o, Hm ) ) .split(Hm); return { values: n, split: a, indexes: r, types: i }; } function mg(e) { return is(e).values; } function vg(e) { let { split: t, types: n } = is(e), r = t.length; return (i) => { let o = ""; for (let s = 0; s < r; s++) if (((o += t[s]), i[s] !== void 0)) { let a = n[s]; a === hg ? (o += Ko(i[s])) : a === pg ? (o += tt.transform(i[s])) : (o += i[s]); } return o; }; } var eT = (e) => (typeof e == "number" ? 0 : e); function tT(e) { let t = mg(e); return vg(e)(t.map(eT)); } var er = { test: qC, parse: mg, createTransformer: vg, getAnimatableNone: tT }, Mn = (e) => e * 1e3, On = (e) => e / 1e3; function bf(e, t) { return t ? e * (1e3 / t) : 0; } var nT = 5; function gg(e, t, n) { let r = Math.max(t - nT, 0); return bf(n - e(r), t - r); } var _u = 0.001, rT = 0.01, jm = 10, iT = 0.05, oT = 1; function sT({ duration: e = 800, bounce: t = 0.25, velocity: n = 0, mass: r = 1, }) { let i, o; Yi(e <= Mn(jm), "Spring duration must be 10 seconds or less"); let s = 1 - t; (s = Jn(iT, oT, s)), (e = Jn(rT, jm, On(e))), s < 1 ? ((i = (c) => { let u = c * s, f = u * e, d = u - n, m = ju(c, s), y = Math.exp(-f); return _u - (d / m) * y; }), (o = (c) => { let f = c * s * e, d = f * n + n, m = Math.pow(s, 2) * Math.pow(c, 2) * e, y = Math.exp(-f), v = ju(Math.pow(c, 2), s); return ((-i(c) + _u > 0 ? -1 : 1) * ((d - m) * y)) / v; })) : ((i = (c) => { let u = Math.exp(-c * e), f = (c - n) * e + 1; return -_u + u * f; }), (o = (c) => { let u = Math.exp(-c * e), f = (n - c) * (e * e); return u * f; })); let a = 5 / e, l = lT(i, o, a); if (((e = Mn(e)), isNaN(l))) return { stiffness: 100, damping: 10, duration: e }; { let c = Math.pow(l, 2) * r; return { stiffness: c, damping: s * 2 * Math.sqrt(r * c), duration: e }; } } var aT = 12; function lT(e, t, n) { let r = n; for (let i = 1; i < aT; i++) r = r - e(r) / t(r); return r; } function ju(e, t) { return e * Math.sqrt(1 - t * t); } var cT = ["duration", "bounce"], uT = ["stiffness", "damping", "mass"]; function Wm(e, t) { return t.some((n) => e[n] !== void 0); } function fT(e) { let t = { velocity: 0, stiffness: 100, damping: 10, mass: 1, isResolvedFromDuration: !1, ...e, }; if (!Wm(e, uT) && Wm(e, cT)) { let n = sT(e); (t = { ...t, ...n, mass: 1 }), (t.isResolvedFromDuration = !0); } return t; } function cs({ keyframes: e, restDelta: t, restSpeed: n, ...r }) { let i = e[0], o = e[e.length - 1], s = { done: !1, value: i }, { stiffness: a, damping: l, mass: c, duration: u, velocity: f, isResolvedFromDuration: d, } = fT({ ...r, velocity: -On(r.velocity || 0) }), m = f || 0, y = l / (2 * Math.sqrt(a * c)), v = o - i, x = On(Math.sqrt(a / c)), p = Math.abs(v) < 5; n || (n = p ? 0.01 : 2), t || (t = p ? 0.005 : 0.5); let h; if (y < 1) { let g = ju(x, y); h = (S) => { let k = Math.exp(-y * x * S); return ( o - k * (((m + y * x * v) / g) * Math.sin(g * S) + v * Math.cos(g * S)) ); }; } else if (y === 1) h = (g) => o - Math.exp(-x * g) * (v + (m + x * v) * g); else { let g = x * Math.sqrt(y * y - 1); h = (S) => { let k = Math.exp(-y * x * S), w = Math.min(g * S, 300); return ( o - (k * ((m + y * x * v) * Math.sinh(w) + g * v * Math.cosh(w))) / g ); }; } return { calculatedDuration: (d && u) || null, next: (g) => { let S = h(g); if (d) s.done = g >= u; else { let k = m; g !== 0 && (y < 1 ? (k = gg(h, g, S)) : (k = 0)); let w = Math.abs(k) <= n, T = Math.abs(o - S) <= t; s.done = w && T; } return (s.value = s.done ? o : S), s; }, }; } var yg = (e, t, n) => (((1 - 3 * n + 3 * t) * e + (3 * n - 6 * t)) * e + 3 * t) * e, dT = 1e-7, hT = 12; function pT(e, t, n, r, i) { let o, s, a = 0; do (s = t + (n - t) / 2), (o = yg(s, r, i) - e), o > 0 ? (n = s) : (t = s); while (Math.abs(o) > dT && ++a < hT); return s; } function Ki(e, t, n, r) { if (e === t && n === r) return nt; let i = (o) => pT(o, 0, 1, e, n); return (o) => (o === 0 || o === 1 ? o : yg(i(o), t, r)); } var bg = Ki(0.42, 0, 1, 1), xg = Ki(0, 0, 0.58, 1), xf = Ki(0.42, 0, 0.58, 1), Sf = (e) => (t) => t <= 0.5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, wf = (e) => (t) => 1 - e(1 - t), sl = (e) => 1 - Math.sin(Math.acos(e)), kf = wf(sl), Sg = Sf(sl), Cf = Ki(0.33, 1.53, 0.69, 0.99), al = wf(Cf), wg = Sf(al), kg = (e) => (e *= 2) < 1 ? 0.5 * al(e) : 0.5 * (2 - Math.pow(2, -10 * (e - 1))), xr = (e, t, n) => { let r = t - e; return r === 0 ? 1 : (n - e) / r; }, xe = (e, t, n) => e + (t - e) * n; function Iu(e, t, n) { return ( n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6 ? e + (t - e) * 6 * n : n < 1 / 2 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e ); } function mT({ hue: e, saturation: t, lightness: n, alpha: r }) { (e /= 360), (t /= 100), (n /= 100); let i = 0, o = 0, s = 0; if (!t) i = o = s = n; else { let a = n < 0.5 ? n * (1 + t) : n + t - n * t, l = 2 * n - a; (i = Iu(l, a, e + 1 / 3)), (o = Iu(l, a, e)), (s = Iu(l, a, e - 1 / 3)); } return { red: Math.round(i * 255), green: Math.round(o * 255), blue: Math.round(s * 255), alpha: r, }; } function Ua(e, t) { return (n) => (n > 0 ? t : e); } var Fu = (e, t, n) => { let r = e * e, i = n * (t * t - r) + r; return i < 0 ? 0 : Math.sqrt(i); }, vT = [Hu, ii, zi], gT = (e) => vT.find((t) => t.test(e)); function Um(e) { let t = gT(e); if ( (Yi( !!t, `'${e}' is not an animatable color. Use the equivalent color code instead.` ), !t) ) return !1; let n = t.parse(e); return t === zi && (n = mT(n)), n; } var Xm = (e, t) => { let n = Um(e), r = Um(t); if (!n || !r) return Ua(e, t); let i = { ...n }; return (o) => ( (i.red = Fu(n.red, r.red, o)), (i.green = Fu(n.green, r.green, o)), (i.blue = Fu(n.blue, r.blue, o)), (i.alpha = xe(n.alpha, r.alpha, o)), ii.transform(i) ); }, Cg = (e) => (t) => typeof t == "string" && t.startsWith(e), Tg = Cg("--"), yT = Cg("var(--"), Tf = (e) => (yT(e) ? bT.test(e.split("/*")[0].trim()) : !1), bT = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu, Wu = new Set(["none", "hidden"]); function xT(e, t) { return Wu.has(e) ? (n) => (n <= 0 ? e : t) : (n) => (n >= 1 ? t : e); } function ST(e, t) { return (n) => xe(e, t, n); } function Ef(e) { return typeof e == "number" ? ST : typeof e == "string" ? Tf(e) ? Ua : tt.test(e) ? Xm : CT : Array.isArray(e) ? Eg : typeof e == "object" ? tt.test(e) ? Xm : wT : Ua; } function Eg(e, t) { let n = [...e], r = n.length, i = e.map((o, s) => Ef(o)(o, t[s])); return (o) => { for (let s = 0; s < r; s++) n[s] = i[s](o); return n; }; } function wT(e, t) { let n = { ...e, ...t }, r = {}; for (let i in n) e[i] !== void 0 && t[i] !== void 0 && (r[i] = Ef(e[i])(e[i], t[i])); return (i) => { for (let o in r) n[o] = r[o](i); return n; }; } function kT(e, t) { var n; let r = [], i = { color: 0, var: 0, number: 0 }; for (let o = 0; o < t.values.length; o++) { let s = t.types[o], a = e.indexes[s][i[s]], l = (n = e.values[a]) !== null && n !== void 0 ? n : 0; (r[o] = l), i[s]++; } return r; } var CT = (e, t) => { let n = er.createTransformer(t), r = is(e), i = is(t); return r.indexes.var.length === i.indexes.var.length && r.indexes.color.length === i.indexes.color.length && r.indexes.number.length >= i.indexes.number.length ? (Wu.has(e) && !i.values.length) || (Wu.has(t) && !r.values.length) ? xT(e, t) : Ln(Eg(kT(r, i), i.values), n) : (Yi( !0, `Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.` ), Ua(e, t)); }; function Rf(e, t, n) { return typeof e == "number" && typeof t == "number" && typeof n == "number" ? xe(e, t, n) : Ef(e)(e, t); } function TT(e, t, n) { let r = [], i = n || Rf, o = e.length - 1; for (let s = 0; s < o; s++) { let a = i(e[s], e[s + 1]); if (t) { let l = Array.isArray(t) ? t[s] || nt : t; a = Ln(l, a); } r.push(a); } return r; } function qi(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) { let o = e.length; if ( (jt(o === t.length, "Both input and output ranges must be the same length"), o === 1) ) return () => t[0]; if (o === 2 && e[0] === e[1]) return () => t[1]; e[0] > e[o - 1] && ((e = [...e].reverse()), (t = [...t].reverse())); let s = TT(t, r, i), a = s.length, l = (c) => { let u = 0; if (a > 1) for (; u < e.length - 2 && !(c < e[u + 1]); u++); let f = xr(e[u], e[u + 1], c); return s[u](f); }; return n ? (c) => l(Jn(e[0], e[o - 1], c)) : l; } var ET = new Set([ "width", "height", "top", "left", "right", "bottom", "x", "y", "translateX", "translateY", ]), Ym = (e) => e === Gi || e === W, Gm = (e, t) => parseFloat(e.split(", ")[t]), Km = (e, t) => (n, { transform: r }) => { if (r === "none" || !r) return 0; let i = r.match(/^matrix3d\((.+)\)$/u); if (i) return Gm(i[1], t); { let o = r.match(/^matrix\((.+)\)$/u); return o ? Gm(o[1], e) : 0; } }, RT = new Set(["x", "y", "z"]), PT = ss.filter((e) => !RT.has(e)); function _T(e) { let t = []; return ( PT.forEach((n) => { let r = e.getValue(n); r !== void 0 && (t.push([n, r.get()]), r.set(n.startsWith("scale") ? 1 : 0)); }), t ); } var Wi = { width: ({ x: e }, { paddingLeft: t = "0", paddingRight: n = "0" }) => e.max - e.min - parseFloat(t) - parseFloat(n), height: ({ y: e }, { paddingTop: t = "0", paddingBottom: n = "0" }) => e.max - e.min - parseFloat(t) - parseFloat(n), top: (e, { top: t }) => parseFloat(t), left: (e, { left: t }) => parseFloat(t), bottom: ({ y: e }, { top: t }) => parseFloat(t) + (e.max - e.min), right: ({ x: e }, { left: t }) => parseFloat(t) + (e.max - e.min), x: Km(4, 13), y: Km(5, 14), }; Wi.translateX = Wi.x; Wi.translateY = Wi.y; var oi = new Set(), Uu = !1, Xu = !1; function Rg() { if (Xu) { let e = Array.from(oi).filter((r) => r.needsMeasurement), t = new Set(e.map((r) => r.element)), n = new Map(); t.forEach((r) => { let i = _T(r); i.length && (n.set(r, i), r.render()); }), e.forEach((r) => r.measureInitialState()), t.forEach((r) => { r.render(); let i = n.get(r); i && i.forEach(([o, s]) => { var a; (a = r.getValue(o)) === null || a === void 0 || a.set(s); }); }), e.forEach((r) => r.measureEndState()), e.forEach((r) => { r.suspendedScrollY !== void 0 && window.scrollTo(0, r.suspendedScrollY); }); } (Xu = !1), (Uu = !1), oi.forEach((e) => e.complete()), oi.clear(); } function Pg() { oi.forEach((e) => { e.readKeyframes(), e.needsMeasurement && (Xu = !0); }); } function IT() { Pg(), Rg(); } var Pf = class { constructor(e, t, n, r, i, o = !1) { (this.isComplete = !1), (this.isAsync = !1), (this.needsMeasurement = !1), (this.isScheduled = !1), (this.unresolvedKeyframes = [...e]), (this.onComplete = t), (this.name = n), (this.motionValue = r), (this.element = i), (this.isAsync = o); } scheduleResolve() { (this.isScheduled = !0), this.isAsync ? (oi.add(this), Uu || ((Uu = !0), X.read(Pg), X.resolveKeyframes(Rg))) : (this.readKeyframes(), this.complete()); } readKeyframes() { let { unresolvedKeyframes: e, name: t, element: n, motionValue: r } = this; for (let i = 0; i < e.length; i++) if (e[i] === null) if (i === 0) { let o = r?.get(), s = e[e.length - 1]; if (o !== void 0) e[0] = o; else if (n && t) { let a = n.readValue(t, s); a != null && (e[0] = a); } e[0] === void 0 && (e[0] = s), r && o === void 0 && r.set(e[0]); } else e[i] = e[i - 1]; } setFinalKeyframe() {} measureInitialState() {} renderEndStyles() {} measureEndState() {} complete() { (this.isComplete = !0), this.onComplete(this.unresolvedKeyframes, this.finalKeyframe), oi.delete(this); } cancel() { this.isComplete || ((this.isScheduled = !1), oi.delete(this)); } resume() { this.isComplete || this.scheduleResolve(); } }; function qm({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: r = 325, bounceDamping: i = 10, bounceStiffness: o = 500, modifyTarget: s, min: a, max: l, restDelta: c = 0.5, restSpeed: u, }) { let f = e[0], d = { done: !1, value: f }, m = (R) => (a !== void 0 && R < a) || (l !== void 0 && R > l), y = (R) => a === void 0 ? l : l === void 0 || Math.abs(a - R) < Math.abs(l - R) ? a : l, v = n * t, x = f + v, p = s === void 0 ? x : s(x); p !== x && (v = p - f); let h = (R) => -v * Math.exp(-R / r), g = (R) => p + h(R), S = (R) => { let F = h(R), I = g(R); (d.done = Math.abs(F) <= c), (d.value = d.done ? p : I); }, k, w, T = (R) => { m(d.value) && ((k = R), (w = cs({ keyframes: [d.value, y(d.value)], velocity: gg(g, R, d.value), damping: i, stiffness: o, restDelta: c, restSpeed: u, }))); }; return ( T(0), { calculatedDuration: null, next: (R) => { let F = !1; return ( !w && k === void 0 && ((F = !0), S(R), T(R)), k !== void 0 && R >= k ? w.next(R - k) : (!F && S(R), d) ); }, } ); } var _g = (e) => Array.isArray(e) && typeof e[0] != "number", Qm = { linear: nt, easeIn: bg, easeInOut: xf, easeOut: xg, circIn: sl, circInOut: Sg, circOut: kf, backIn: al, backInOut: wg, backOut: Cf, anticipate: kg, }, Zm = (e) => { if (Array.isArray(e)) { jt( e.length === 4, "Cubic bezier arrays must contain four numerical values." ); let [t, n, r, i] = e; return Ki(t, n, r, i); } else if (typeof e == "string") return jt(Qm[e] !== void 0, `Invalid easing type '${e}'`), Qm[e]; return e; }; function Ig(e, t) { let n = e[e.length - 1]; for (let r = 1; r <= t; r++) { let i = xr(0, t, r); e.push(xe(n, 1, i)); } } function _f(e) { let t = [0]; return Ig(t, e.length - 1), t; } function FT(e, t) { return e.map((n) => n * t); } function LT(e, t) { return e.map(() => t || xf).splice(0, e.length - 1); } function Xa({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut", }) { let i = _g(r) ? r.map(Zm) : Zm(r), o = { done: !1, value: t[0] }, s = FT(n && n.length === t.length ? n : _f(t), e), a = qi(s, t, { ease: Array.isArray(i) ? i : LT(t, i) }); return { calculatedDuration: e, next: (l) => ((o.value = a(l)), (o.done = l >= e), o), }; } var Ya = { current: !1 }, Jm = (e, t) => t === "zIndex" ? !1 : !!( typeof e == "number" || Array.isArray(e) || (typeof e == "string" && (er.test(e) || e === "0") && !e.startsWith("url(")) ); function MT(e) { let t = e[0]; if (e.length === 1) return !0; for (let n = 0; n < e.length; n++) if (e[n] !== t) return !0; } function OT(e, t, n, r) { let i = e[0]; if (i === null) return !1; if (t === "display" || t === "visibility") return !0; let o = e[e.length - 1], s = Jm(i, t), a = Jm(o, t); return ( Yi( s === a, `You are trying to animate ${t} from "${i}" to "${o}". ${i} is not an animatable value - to enable this animation set ${i} to a value animatable to ${o} via the \`style\` property.` ), !s || !a ? !1 : MT(e) || (n === "spring" && r) ); } var DT = (e) => e !== null; function ll(e, { repeat: t, repeatType: n = "loop" }, r) { let i = e.filter(DT), o = t && n !== "loop" && t % 2 === 1 ? 0 : i.length - 1; return !o || r === void 0 ? i[o] : r; } var Fg = class { constructor({ autoplay: e = !0, delay: t = 0, type: n = "keyframes", repeat: r = 0, repeatDelay: i = 0, repeatType: o = "loop", ...s }) { (this.isStopped = !1), (this.hasAttemptedResolve = !1), (this.options = { autoplay: e, delay: t, type: n, repeat: r, repeatDelay: i, repeatType: o, ...s, }), this.updateFinishedPromise(); } get resolved() { return ( !this._resolved && !this.hasAttemptedResolve && IT(), this._resolved ); } onKeyframesResolved(e, t) { this.hasAttemptedResolve = !0; let { name: n, type: r, velocity: i, delay: o, onComplete: s, onUpdate: a, isGenerator: l, } = this.options; if (!l && !OT(e, n, r, i)) if (Ya.current || !o) { a?.(ll(e, this.options, t)), s?.(), this.resolveFinishedPromise(); return; } else this.options.duration = 0; let c = this.initPlayback(e, t); c !== !1 && ((this._resolved = { keyframes: e, finalKeyframe: t, ...c }), this.onPostResolved()); } onPostResolved() {} then(e, t) { return this.currentFinishedPromise.then(e, t); } updateFinishedPromise() { this.currentFinishedPromise = new Promise((e) => { this.resolveFinishedPromise = e; }); } }, Yu = 2e4; function Lg(e) { let t = 0, n = 50, r = e.next(t); for (; !r.done && t < Yu; ) (t += n), (r = e.next(t)); return t >= Yu ? 1 / 0 : t; } var za; function AT() { za = void 0; } var br = { now: () => ( za === void 0 && br.set( Le.isProcessing || el.useManualTiming ? Le.timestamp : performance.now() ), za ), set: (e) => { (za = e), queueMicrotask(AT); }, }, VT = (e) => { let t = ({ timestamp: n }) => e(n); return { start: () => X.update(t, !0), stop: () => bt(t), now: () => (Le.isProcessing ? Le.timestamp : br.now()), }; }, BT = { decay: qm, inertia: qm, tween: Xa, keyframes: Xa, spring: cs }, $T = (e) => e / 100, cl = class extends Fg { constructor({ KeyframeResolver: e = Pf, ...t }) { super(t), (this.holdTime = null), (this.startTime = null), (this.cancelTime = null), (this.currentTime = 0), (this.playbackSpeed = 1), (this.pendingPlayState = "running"), (this.state = "idle"), (this.stop = () => { if ( (this.resolver.cancel(), (this.isStopped = !0), this.state === "idle") ) return; this.teardown(); let { onStop: s } = this.options; s && s(); }); let { name: n, motionValue: r, keyframes: i } = this.options, o = (s, a) => this.onKeyframesResolved(s, a); n && r && r.owner ? (this.resolver = r.owner.resolveKeyframes(i, o, n, r)) : (this.resolver = new e(i, o, n, r)), this.resolver.scheduleResolve(); } initPlayback(e) { let { type: t = "keyframes", repeat: n = 0, repeatDelay: r = 0, repeatType: i, velocity: o = 0, } = this.options, s = BT[t] || Xa, a, l; s !== Xa && typeof e[0] != "number" && ((a = Ln($T, Rf(e[0], e[1]))), (e = [0, 100])); let c = s({ ...this.options, keyframes: e }); i === "mirror" && (l = s({ ...this.options, keyframes: [...e].reverse(), velocity: -o })), c.calculatedDuration === null && (c.calculatedDuration = Lg(c)); let { calculatedDuration: u } = c, f = u + r, d = f * (n + 1) - r; return { generator: c, mirroredGenerator: l, mapPercentToKeyframes: a, calculatedDuration: u, resolvedDuration: f, totalDuration: d, }; } onPostResolved() { let { autoplay: e = !0 } = this.options; this.play(), this.pendingPlayState === "paused" || !e ? this.pause() : (this.state = this.pendingPlayState); } tick(e, t = !1) { let { resolved: n } = this; if (!n) { let { keyframes: T } = this.options; return { done: !0, value: T[T.length - 1] }; } let { finalKeyframe: r, generator: i, mirroredGenerator: o, mapPercentToKeyframes: s, keyframes: a, calculatedDuration: l, totalDuration: c, resolvedDuration: u, } = n; if (this.startTime === null) return i.next(0); let { delay: f, repeat: d, repeatType: m, repeatDelay: y, onUpdate: v, } = this.options; this.speed > 0 ? (this.startTime = Math.min(this.startTime, e)) : this.speed < 0 && (this.startTime = Math.min(e - c / this.speed, this.startTime)), t ? (this.currentTime = e) : this.holdTime !== null ? (this.currentTime = this.holdTime) : (this.currentTime = Math.round(e - this.startTime) * this.speed); let x = this.currentTime - f * (this.speed >= 0 ? 1 : -1), p = this.speed >= 0 ? x < 0 : x > c; (this.currentTime = Math.max(x, 0)), this.state === "finished" && this.holdTime === null && (this.currentTime = c); let h = this.currentTime, g = i; if (d) { let T = Math.min(this.currentTime, c) / u, R = Math.floor(T), F = T % 1; !F && T >= 1 && (F = 1), F === 1 && R--, (R = Math.min(R, d + 1)), !!(R % 2) && (m === "reverse" ? ((F = 1 - F), y && (F -= y / u)) : m === "mirror" && (g = o)), (h = Jn(0, 1, F) * u); } let S = p ? { done: !1, value: a[0] } : g.next(h); s && (S.value = s(S.value)); let { done: k } = S; !p && l !== null && (k = this.speed >= 0 ? this.currentTime >= c : this.currentTime <= 0); let w = this.holdTime === null && (this.state === "finished" || (this.state === "running" && k)); return ( w && r !== void 0 && (S.value = ll(a, this.options, r)), v && v(S.value), w && this.finish(), S ); } get duration() { let { resolved: e } = this; return e ? On(e.calculatedDuration) : 0; } get time() { return On(this.currentTime); } set time(e) { (e = Mn(e)), (this.currentTime = e), this.holdTime !== null || this.speed === 0 ? (this.holdTime = e) : this.driver && (this.startTime = this.driver.now() - e / this.speed); } get speed() { return this.playbackSpeed; } set speed(e) { let t = this.playbackSpeed !== e; (this.playbackSpeed = e), t && (this.time = On(this.currentTime)); } play() { if ( (this.resolver.isScheduled || this.resolver.resume(), !this._resolved) ) { this.pendingPlayState = "running"; return; } if (this.isStopped) return; let { driver: e = VT, onPlay: t } = this.options; this.driver || (this.driver = e((r) => this.tick(r))), t && t(); let n = this.driver.now(); this.holdTime !== null ? (this.startTime = n - this.holdTime) : (!this.startTime || this.state === "finished") && (this.startTime = n), this.state === "finished" && this.updateFinishedPromise(), (this.cancelTime = this.startTime), (this.holdTime = null), (this.state = "running"), this.driver.start(); } pause() { var e; if (!this._resolved) { this.pendingPlayState = "paused"; return; } (this.state = "paused"), (this.holdTime = (e = this.currentTime) !== null && e !== void 0 ? e : 0); } complete() { this.state !== "running" && this.play(), (this.pendingPlayState = this.state = "finished"), (this.holdTime = null); } finish() { this.teardown(), (this.state = "finished"); let { onComplete: e } = this.options; e && e(); } cancel() { this.cancelTime !== null && this.tick(this.cancelTime), this.teardown(), this.updateFinishedPromise(); } teardown() { (this.state = "idle"), this.stopDriver(), this.resolveFinishedPromise(), this.updateFinishedPromise(), (this.startTime = this.cancelTime = null), this.resolver.cancel(); } stopDriver() { this.driver && (this.driver.stop(), (this.driver = void 0)); } sample(e) { return (this.startTime = 0), this.tick(e, !0); } }; function If(e) { return new cl(e); } var Mg = (e) => /^0[^.\s]+$/u.test(e); function zT(e) { return typeof e == "number" ? e === 0 : e !== null ? e === "none" || e === "0" || Mg(e) : !0; } var Og = (e) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e), NT = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u; function HT(e) { let t = NT.exec(e); if (!t) return [,]; let [, n, r, i] = t; return [`--${n ?? r}`, i]; } var jT = 4; function Dg(e, t, n = 1) { jt( n <= jT, `Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.` ); let [r, i] = HT(e); if (!r) return; let o = window.getComputedStyle(t).getPropertyValue(r); if (o) { let s = o.trim(); return Og(s) ? parseFloat(s) : s; } return Tf(i) ? Dg(i, t, n + 1) : i; } var Ag = (e) => (t) => t.test(e), WT = { test: (e) => e === "auto", parse: (e) => e }, Vg = [Gi, W, In, vr, NC, zC, WT], ev = (e) => Vg.find(Ag(e)), UT = new Set(["brightness", "contrast", "saturate", "opacity"]); function XT(e) { let [t, n] = e.slice(0, -1).split("("); if (t === "drop-shadow") return e; let [r] = n.match(mf) || []; if (!r) return e; let i = n.replace(r, ""), o = UT.has(t) ? 1 : 0; return r !== n && (o *= 100), t + "(" + o + i + ")"; } var YT = /\b([a-z-]*)\(.*?\)/gu, Gu = { ...er, getAnimatableNone: (e) => { let t = e.match(YT); return t ? t.map(XT).join(" ") : e; }, }, tv = { ...Gi, transform: Math.round }, Bg = { borderWidth: W, borderTopWidth: W, borderRightWidth: W, borderBottomWidth: W, borderLeftWidth: W, borderRadius: W, radius: W, borderTopLeftRadius: W, borderTopRightRadius: W, borderBottomRightRadius: W, borderBottomLeftRadius: W, width: W, maxWidth: W, height: W, maxHeight: W, size: W, top: W, right: W, bottom: W, left: W, padding: W, paddingTop: W, paddingRight: W, paddingBottom: W, paddingLeft: W, margin: W, marginTop: W, marginRight: W, marginBottom: W, marginLeft: W, rotate: vr, rotateX: vr, rotateY: vr, rotateZ: vr, scale: Va, scaleX: Va, scaleY: Va, scaleZ: Va, skew: vr, skewX: vr, skewY: vr, distance: W, translateX: W, translateY: W, translateZ: W, x: W, y: W, z: W, perspective: W, transformPerspective: W, opacity: qo, originX: Bm, originY: Bm, originZ: W, zIndex: tv, backgroundPositionX: W, backgroundPositionY: W, fillOpacity: qo, strokeOpacity: qo, numOctaves: tv, }, GT = { ...Bg, color: tt, backgroundColor: tt, outlineColor: tt, fill: tt, stroke: tt, borderColor: tt, borderTopColor: tt, borderRightColor: tt, borderBottomColor: tt, borderLeftColor: tt, filter: Gu, WebkitFilter: Gu, }, Ff = (e) => GT[e]; function $g(e, t) { let n = Ff(e); return ( n !== Gu && (n = er), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0 ); } var KT = new Set(["auto", "none", "0"]); function qT(e, t, n) { let r = 0, i; for (; r < e.length && !i; ) { let o = e[r]; typeof o == "string" && !KT.has(o) && is(o).values.length && (i = e[r]), r++; } if (i && n) for (let o of t) e[o] = $g(n, i); } var zg = class extends Pf { constructor(e, t, n, r) { super(e, t, n, r, r?.owner, !0); } readKeyframes() { let { unresolvedKeyframes: e, element: t, name: n } = this; if (!t.current) return; super.readKeyframes(); for (let a = 0; a < e.length; a++) { let l = e[a]; if (typeof l == "string" && ((l = l.trim()), Tf(l))) { let c = Dg(l, t.current); c !== void 0 && (e[a] = c), a === e.length - 1 && (this.finalKeyframe = l); } } if ((this.resolveNoneKeyframes(), !ET.has(n) || e.length !== 2)) return; let [r, i] = e, o = ev(r), s = ev(i); if (o !== s) if (Ym(o) && Ym(s)) for (let a = 0; a < e.length; a++) { let l = e[a]; typeof l == "string" && (e[a] = parseFloat(l)); } else this.needsMeasurement = !0; } resolveNoneKeyframes() { let { unresolvedKeyframes: e, name: t } = this, n = []; for (let r = 0; r < e.length; r++) zT(e[r]) && n.push(r); n.length && qT(e, n, t); } measureInitialState() { let { element: e, unresolvedKeyframes: t, name: n } = this; if (!e.current) return; n === "height" && (this.suspendedScrollY = window.pageYOffset), (this.measuredOrigin = Wi[n]( e.measureViewportBox(), window.getComputedStyle(e.current) )), (t[0] = this.measuredOrigin); let r = t[t.length - 1]; r !== void 0 && e.getValue(n, r).jump(r, !1); } measureEndState() { var e; let { element: t, name: n, unresolvedKeyframes: r } = this; if (!t.current) return; let i = t.getValue(n); i && i.jump(this.measuredOrigin, !1); let o = r.length - 1, s = r[o]; (r[o] = Wi[n](t.measureViewportBox(), window.getComputedStyle(t.current))), s !== null && this.finalKeyframe === void 0 && (this.finalKeyframe = s), !((e = this.removedTransforms) === null || e === void 0) && e.length && this.removedTransforms.forEach(([a, l]) => { t.getValue(a).set(l); }), this.resolveNoneKeyframes(); } }; function Ng(e) { let t; return () => (t === void 0 && (t = e()), t); } var Hg = (e) => Array.isArray(e) && typeof e[0] == "number"; function jg(e) { return !!( !e || (typeof e == "string" && e in Lf) || Hg(e) || (Array.isArray(e) && e.every(jg)) ); } var Go = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, Lf = { linear: "linear", ease: "ease", easeIn: "ease-in", easeOut: "ease-out", easeInOut: "ease-in-out", circIn: Go([0, 0.65, 0.55, 1]), circOut: Go([0.55, 0, 1, 0.45]), backIn: Go([0.31, 0.01, 0.66, -0.59]), backOut: Go([0.33, 1.53, 0.69, 0.99]), }; function QT(e) { return Wg(e) || Lf.easeOut; } function Wg(e) { if (e) return Hg(e) ? Go(e) : Array.isArray(e) ? e.map(QT) : Lf[e]; } function ZT( e, t, n, { delay: r = 0, duration: i = 300, repeat: o = 0, repeatType: s = "loop", ease: a, times: l, } = {} ) { let c = { [t]: n }; l && (c.offset = l); let u = Wg(a); return ( Array.isArray(u) && (c.easing = u), e.animate(c, { delay: r, duration: i, easing: Array.isArray(u) ? "linear" : u, fill: "both", iterations: o + 1, direction: s === "reverse" ? "alternate" : "normal", }) ); } var JT = Ng(() => Object.hasOwnProperty.call(Element.prototype, "animate")), eE = new Set(["opacity", "clipPath", "filter", "transform"]), Ga = 10, tE = 2e4; function nE(e) { return e.type === "spring" || e.name === "backgroundColor" || !jg(e.ease); } function rE(e, t) { let n = new cl({ ...t, keyframes: e, repeat: 0, delay: 0, isGenerator: !0 }), r = { done: !1, value: e[0] }, i = [], o = 0; for (; !r.done && o < tE; ) (r = n.sample(o)), i.push(r.value), (o += Ga); return { times: void 0, keyframes: i, duration: o - Ga, ease: "linear" }; } var Ku = class extends Fg { constructor(e) { super(e); let { name: t, motionValue: n, keyframes: r } = this.options; (this.resolver = new zg(r, (i, o) => this.onKeyframesResolved(i, o), t, n)), this.resolver.scheduleResolve(); } initPlayback(e, t) { var n; let { duration: r = 300, times: i, ease: o, type: s, motionValue: a, name: l, } = this.options; if (!(!((n = a.owner) === null || n === void 0) && n.current)) return !1; if (nE(this.options)) { let { onComplete: u, onUpdate: f, motionValue: d, ...m } = this.options, y = rE(e, m); (e = y.keyframes), e.length === 1 && (e[1] = e[0]), (r = y.duration), (i = y.times), (o = y.ease), (s = "keyframes"); } let c = ZT(a.owner.current, l, e, { ...this.options, duration: r, times: i, ease: o, }); return ( (c.startTime = br.now()), this.pendingTimeline ? ((c.timeline = this.pendingTimeline), (this.pendingTimeline = void 0)) : (c.onfinish = () => { let { onComplete: u } = this.options; a.set(ll(e, this.options, t)), u && u(), this.cancel(), this.resolveFinishedPromise(); }), { animation: c, duration: r, times: i, type: s, ease: o, keyframes: e } ); } get duration() { let { resolved: e } = this; if (!e) return 0; let { duration: t } = e; return On(t); } get time() { let { resolved: e } = this; if (!e) return 0; let { animation: t } = e; return On(t.currentTime || 0); } set time(e) { let { resolved: t } = this; if (!t) return; let { animation: n } = t; n.currentTime = Mn(e); } get speed() { let { resolved: e } = this; if (!e) return 1; let { animation: t } = e; return t.playbackRate; } set speed(e) { let { resolved: t } = this; if (!t) return; let { animation: n } = t; n.playbackRate = e; } get state() { let { resolved: e } = this; if (!e) return "idle"; let { animation: t } = e; return t.playState; } attachTimeline(e) { if (!this._resolved) this.pendingTimeline = e; else { let { resolved: t } = this; if (!t) return nt; let { animation: n } = t; (n.timeline = e), (n.onfinish = null); } return nt; } play() { if (this.isStopped) return; let { resolved: e } = this; if (!e) return; let { animation: t } = e; t.playState === "finished" && this.updateFinishedPromise(), t.play(); } pause() { let { resolved: e } = this; if (!e) return; let { animation: t } = e; t.pause(); } stop() { if ((this.resolver.cancel(), (this.isStopped = !0), this.state === "idle")) return; let { resolved: e } = this; if (!e) return; let { animation: t, keyframes: n, duration: r, type: i, ease: o, times: s, } = e; if (!(t.playState === "idle" || t.playState === "finished")) { if (this.time) { let { motionValue: a, onUpdate: l, onComplete: c, ...u } = this.options, f = new cl({ ...u, keyframes: n, duration: r, type: i, ease: o, times: s, isGenerator: !0, }), d = Mn(this.time); a.setWithVelocity(f.sample(d - Ga).value, f.sample(d).value, Ga); } this.cancel(); } } complete() { let { resolved: e } = this; e && e.animation.finish(); } cancel() { let { resolved: e } = this; e && e.animation.cancel(); } static supports(e) { let { motionValue: t, name: n, repeatDelay: r, repeatType: i, damping: o, type: s, } = e; return ( JT() && n && eE.has(n) && t && t.owner && t.owner.current instanceof HTMLElement && !t.owner.getProps().onUpdate && !r && i !== "mirror" && o !== 0 && s !== "inertia" ); } }; function Mf(e, t) { e.indexOf(t) === -1 && e.push(t); } function ul(e, t) { let n = e.indexOf(t); n > -1 && e.splice(n, 1); } function iE([...e], t, n) { let r = t < 0 ? e.length + t : t; if (r >= 0 && r < e.length) { let i = n < 0 ? e.length + n : n, [o] = e.splice(t, 1); e.splice(i, 0, o); } return e; } var Of = class { constructor() { this.subscriptions = []; } add(e) { return Mf(this.subscriptions, e), () => ul(this.subscriptions, e); } notify(e, t, n) { let r = this.subscriptions.length; if (r) if (r === 1) this.subscriptions[0](e, t, n); else for (let i = 0; i < r; i++) { let o = this.subscriptions[i]; o && o(e, t, n); } } getSize() { return this.subscriptions.length; } clear() { this.subscriptions.length = 0; } }, nv = 30, oE = (e) => !isNaN(parseFloat(e)), Qo = { current: void 0 }, fl = class { constructor(e, t = {}) { (this.version = "11.2.10"), (this.canTrackVelocity = null), (this.events = {}), (this.updateAndNotify = (n, r = !0) => { let i = br.now(); this.updatedAt !== i && this.setPrevFrameValue(), (this.prev = this.current), this.setCurrent(n), this.current !== this.prev && this.events.change && this.events.change.notify(this.current), r && this.events.renderRequest && this.events.renderRequest.notify(this.current); }), (this.hasAnimated = !1), this.setCurrent(e), (this.owner = t.owner); } setCurrent(e) { (this.current = e), (this.updatedAt = br.now()), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = oE(this.current)); } setPrevFrameValue(e = this.current) { (this.prevFrameValue = e), (this.prevUpdatedAt = this.updatedAt); } onChange(e) { return this.on("change", e); } on(e, t) { this.events[e] || (this.events[e] = new Of()); let n = this.events[e].add(t); return e === "change" ? () => { n(), X.read(() => { this.events.change.getSize() || this.stop(); }); } : n; } clearListeners() { for (let e in this.events) this.events[e].clear(); } attach(e, t) { (this.passiveEffect = e), (this.stopPassiveEffect = t); } set(e, t = !0) { !t || !this.passiveEffect ? this.updateAndNotify(e, t) : this.passiveEffect(e, this.updateAndNotify); } setWithVelocity(e, t, n) { this.set(t), (this.prev = void 0), (this.prevFrameValue = e), (this.prevUpdatedAt = this.updatedAt - n); } jump(e, t = !0) { this.updateAndNotify(e), (this.prev = e), (this.prevUpdatedAt = this.prevFrameValue = void 0), t && this.stop(), this.stopPassiveEffect && this.stopPassiveEffect(); } get() { return Qo.current && Qo.current.push(this), this.current; } getPrevious() { return this.prev; } getVelocity() { let e = br.now(); if ( !this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > nv ) return 0; let t = Math.min(this.updatedAt - this.prevUpdatedAt, nv); return bf(parseFloat(this.current) - parseFloat(this.prevFrameValue), t); } start(e) { return ( this.stop(), new Promise((t) => { (this.hasAnimated = !0), (this.animation = e(t)), this.events.animationStart && this.events.animationStart.notify(); }).then(() => { this.events.animationComplete && this.events.animationComplete.notify(), this.clearAnimation(); }) ); } stop() { this.animation && (this.animation.stop(), this.events.animationCancel && this.events.animationCancel.notify()), this.clearAnimation(); } isAnimating() { return !!this.animation; } clearAnimation() { delete this.animation; } destroy() { this.clearListeners(), this.stop(), this.stopPassiveEffect && this.stopPassiveEffect(); } }; function Me(e, t) { return new fl(e, t); } function dl(e, t, n) { let r = e.getProps(); return vf(r, t, n !== void 0 ? n : r.custom, e); } var sE = { type: "spring", stiffness: 500, damping: 25, restSpeed: 10 }, aE = (e) => ({ type: "spring", stiffness: 550, damping: e === 0 ? 2 * Math.sqrt(550) : 30, restSpeed: 10, }), lE = { type: "keyframes", duration: 0.8 }, cE = { type: "keyframes", ease: [0.25, 0.1, 0.35, 1], duration: 0.3 }, uE = (e, { keyframes: t }) => t.length > 2 ? lE : li.has(e) ? e.startsWith("scale") ? aE(t[1]) : sE : cE; function fE({ when: e, delay: t, delayChildren: n, staggerChildren: r, staggerDirection: i, repeat: o, repeatType: s, repeatDelay: a, from: l, elapsed: c, ...u }) { return !!Object.keys(u).length; } function Df(e, t) { return e[t] || e.default || e; } function dE(e, t) { let n, r = () => { let { currentTime: i } = t, s = (i === null ? 0 : i.value) / 100; n !== s && e(s), (n = s); }; return X.update(r, !0), () => bt(r); } var hE = Ng(() => window.ScrollTimeline !== void 0), Af = class { constructor(e) { (this.stop = () => this.runAll("stop")), (this.animations = e.filter(Boolean)); } then(e, t) { return Promise.all(this.animations).then(e).catch(t); } getAll(e) { return this.animations[0][e]; } setAll(e, t) { for (let n = 0; n < this.animations.length; n++) this.animations[n][e] = t; } attachTimeline(e) { let t = this.animations.map((n) => { if (hE() && n.attachTimeline) n.attachTimeline(e); else return ( n.pause(), dE((r) => { n.time = n.duration * r; }, e) ); }); return () => { t.forEach((n, r) => { n && n(), this.animations[r].stop(); }); }; } get time() { return this.getAll("time"); } set time(e) { this.setAll("time", e); } get speed() { return this.getAll("speed"); } set speed(e) { this.setAll("speed", e); } get duration() { let e = 0; for (let t = 0; t < this.animations.length; t++) e = Math.max(e, this.animations[t].duration); return e; } runAll(e) { this.animations.forEach((t) => t[e]()); } play() { this.runAll("play"); } pause() { this.runAll("pause"); } cancel() { this.runAll("cancel"); } complete() { this.runAll("complete"); } }, Vf = (e, t, n, r = {}, i, o) => (s) => { let a = Df(r, e) || {}, l = a.delay || r.delay || 0, { elapsed: c = 0 } = r; c = c - Mn(l); let u = { keyframes: Array.isArray(n) ? n : [null, n], ease: "easeOut", velocity: t.getVelocity(), ...a, delay: -c, onUpdate: (d) => { t.set(d), a.onUpdate && a.onUpdate(d); }, onComplete: () => { s(), a.onComplete && a.onComplete(); }, name: e, motionValue: t, element: o ? void 0 : i, }; fE(a) || (u = { ...u, ...uE(e, u) }), u.duration && (u.duration = Mn(u.duration)), u.repeatDelay && (u.repeatDelay = Mn(u.repeatDelay)), u.from !== void 0 && (u.keyframes[0] = u.from); let f = !1; if ( ((u.type === !1 || (u.duration === 0 && !u.repeatDelay)) && ((u.duration = 0), u.delay === 0 && (f = !0)), (Ya.current || el.skipAnimations) && ((f = !0), (u.duration = 0), (u.delay = 0)), f && !o && t.get() !== void 0) ) { let d = ll(u.keyframes, a); if (d !== void 0) return ( X.update(() => { u.onUpdate(d), u.onComplete(); }), new Af([]) ); } return !o && Ku.supports(u) ? new Ku(u) : new cl(u); }; function Ka(e) { return !!(Ce(e) && e.add); } function pE(e, t, n) { e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, Me(n)); } function Bf(e, t) { let n = dl(e, t), { transitionEnd: r = {}, transition: i = {}, ...o } = n || {}; o = { ...o, ...r }; for (let s in o) { let a = WC(o[s]); pE(e, s, a); } } function Ug(e) { return e.getProps()[Ja]; } function mE({ protectedKeys: e, needsAnimating: t }, n) { let r = e.hasOwnProperty(n) && t[n] !== !0; return (t[n] = !1), r; } function $f(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) { var o; let { transition: s = e.getDefaultTransition(), transitionEnd: a, ...l } = t, c = e.getValue("willChange"); r && (s = r); let u = [], f = i && e.animationState && e.animationState.getState()[i]; for (let d in l) { let m = e.getValue( d, (o = e.latestValues[d]) !== null && o !== void 0 ? o : null ), y = l[d]; if (y === void 0 || (f && mE(f, d))) continue; let v = { delay: n, elapsed: 0, ...Df(s || {}, d) }, x = !1; if (window.HandoffAppearAnimations) { let h = Ug(e); if (h) { let g = window.HandoffAppearAnimations(h, d, m, X); g !== null && ((v.elapsed = g), (x = !0)); } } m.start( Vf(d, m, y, e.shouldReduceMotion && li.has(d) ? { type: !1 } : v, e, x) ); let p = m.animation; p && (Ka(c) && (c.add(d), p.then(() => c.remove(d))), u.push(p)); } return ( a && Promise.all(u).then(() => { X.update(() => { a && Bf(e, a); }); }), u ); } function qu(e, t, n = {}) { var r; let i = dl( e, t, n.type === "exit" ? (r = e.presenceContext) === null || r === void 0 ? void 0 : r.custom : void 0 ), { transition: o = e.getDefaultTransition() || {} } = i || {}; n.transitionOverride && (o = n.transitionOverride); let s = i ? () => Promise.all($f(e, i, n)) : () => Promise.resolve(), a = e.variantChildren && e.variantChildren.size ? (c = 0) => { let { delayChildren: u = 0, staggerChildren: f, staggerDirection: d, } = o; return vE(e, t, u + c, f, d, n); } : () => Promise.resolve(), { when: l } = o; if (l) { let [c, u] = l === "beforeChildren" ? [s, a] : [a, s]; return c().then(() => u()); } else return Promise.all([s(), a(n.delay)]); } function vE(e, t, n = 0, r = 0, i = 1, o) { let s = [], a = (e.variantChildren.size - 1) * r, l = i === 1 ? (c = 0) => c * r : (c = 0) => a - c * r; return ( Array.from(e.variantChildren) .sort(gE) .forEach((c, u) => { c.notify("AnimationStart", t), s.push( qu(c, t, { ...o, delay: n + l(u) }).then(() => c.notify("AnimationComplete", t) ) ); }), Promise.all(s) ); } function gE(e, t) { return e.sortNodePosition(t); } function zf(e, t, n = {}) { e.notify("AnimationStart", t); let r; if (Array.isArray(t)) { let i = t.map((o) => qu(e, o, n)); r = Promise.all(i); } else if (typeof t == "string") r = qu(e, t, n); else { let i = typeof t == "function" ? dl(e, t, n.custom) : t; r = Promise.all($f(e, i, n)); } return r.then(() => { X.postRender(() => { e.notify("AnimationComplete", t); }); }); } function Xg(e, t) { if (!Array.isArray(t)) return !1; let n = t.length; if (n !== e.length) return !1; for (let r = 0; r < n; r++) if (t[r] !== e[r]) return !1; return !0; } var yE = [...ff].reverse(), bE = ff.length; function xE(e) { return (t) => Promise.all(t.map(({ animation: n, options: r }) => zf(e, n, r))); } function SE(e) { let t = xE(e), n = kE(), r = !0, i = (l) => (c, u) => { var f; let d = dl( e, u, l === "exit" ? (f = e.presenceContext) === null || f === void 0 ? void 0 : f.custom : void 0 ); if (d) { let { transition: m, transitionEnd: y, ...v } = d; c = { ...c, ...v, ...y }; } return c; }; function o(l) { t = l(e); } function s(l) { let c = e.getProps(), u = e.getVariantContext(!0) || {}, f = [], d = new Set(), m = {}, y = 1 / 0; for (let x = 0; x < bE; x++) { let p = yE[x], h = n[p], g = c[p] !== void 0 ? c[p] : u[p], S = ns(g), k = p === l ? h.isActive : null; k === !1 && (y = x); let w = g === u[p] && g !== c[p] && S; if ( (w && r && e.manuallyAnimateOnMount && (w = !1), (h.protectedKeys = { ...m }), (!h.isActive && k === null) || (!g && !h.prevProp) || nl(g) || typeof g == "boolean") ) continue; let R = wE(h.prevProp, g) || (p === l && h.isActive && !w && S) || (x > y && S), F = !1, I = Array.isArray(g) ? g : [g], $ = I.reduce(i(p), {}); k === !1 && ($ = {}); let { prevResolvedValues: V = {} } = h, Q = { ...V, ...$ }, J = (j) => { (R = !0), d.has(j) && ((F = !0), d.delete(j)), (h.needsAnimating[j] = !0); let te = e.getValue(j); te && (te.liveStyle = !1); }; for (let j in Q) { let te = $[j], U = V[j]; if (m.hasOwnProperty(j)) continue; let q = !1; Nu(te) && Nu(U) ? (q = !Xg(te, U)) : (q = te !== U), q ? te != null ? J(j) : d.add(j) : te !== void 0 && d.has(j) ? J(j) : (h.protectedKeys[j] = !0); } (h.prevProp = g), (h.prevResolvedValues = $), h.isActive && (m = { ...m, ...$ }), r && e.blockInitialAnimation && (R = !1), R && (!w || F) && f.push(...I.map((j) => ({ animation: j, options: { type: p } }))); } if (d.size) { let x = {}; d.forEach((p) => { let h = e.getBaseTarget(p), g = e.getValue(p); g && (g.liveStyle = !0), (x[p] = h ?? null); }), f.push({ animation: x }); } let v = !!f.length; return ( r && (c.initial === !1 || c.initial === c.animate) && !e.manuallyAnimateOnMount && (v = !1), (r = !1), v ? t(f) : Promise.resolve() ); } function a(l, c) { var u; if (n[l].isActive === c) return Promise.resolve(); (u = e.variantChildren) === null || u === void 0 || u.forEach((d) => { var m; return (m = d.animationState) === null || m === void 0 ? void 0 : m.setActive(l, c); }), (n[l].isActive = c); let f = s(l); for (let d in n) n[d].protectedKeys = {}; return f; } return { animateChanges: s, setActive: a, setAnimateFunction: o, getState: () => n, }; } function wE(e, t) { return typeof t == "string" ? t !== e : Array.isArray(t) ? !Xg(t, e) : !1; } function ei(e = !1) { return { isActive: e, protectedKeys: {}, needsAnimating: {}, prevResolvedValues: {}, }; } function kE() { return { animate: ei(!0), whileInView: ei(), whileHover: ei(), whileTap: ei(), whileDrag: ei(), whileFocus: ei(), exit: ei(), }; } var wr = class { constructor(e) { (this.isMounted = !1), (this.node = e); } update() {} }, CE = class extends wr { constructor(e) { super(e), e.animationState || (e.animationState = SE(e)); } updateAnimationControlsSubscription() { let { animate: e } = this.node.getProps(); this.unmount(), nl(e) && (this.unmount = e.subscribe(this.node)); } mount() { this.updateAnimationControlsSubscription(); } update() { let { animate: e } = this.node.getProps(), { animate: t } = this.node.prevProps || {}; e !== t && this.updateAnimationControlsSubscription(); } unmount() {} }, TE = 0, EE = class extends wr { constructor() { super(...arguments), (this.id = TE++); } update() { if (!this.node.presenceContext) return; let { isPresent: e, onExitComplete: t } = this.node.presenceContext, { isPresent: n } = this.node.prevPresenceContext || {}; if (!this.node.animationState || e === n) return; let r = this.node.animationState.setActive("exit", !e); t && !e && r.then(() => t(this.id)); } mount() { let { register: e } = this.node.presenceContext || {}; e && (this.unmount = e(this.id)); } unmount() {} }, Nf = { animation: { Feature: CE }, exit: { Feature: EE } }, Qu = (e, t) => Math.abs(e - t); function Yg(e, t) { let n = Qu(e.x, t.x), r = Qu(e.y, t.y); return Math.sqrt(n ** 2 + r ** 2); } function It(e) { return e.max - e.min; } function Zu(e, t = 0, n = 0.01) { return Math.abs(e - t) <= n; } function rv(e, t, n, r = 0.5) { (e.origin = r), (e.originPoint = xe(t.min, t.max, e.origin)), (e.scale = It(n) / It(t)), (Zu(e.scale, 1, 1e-4) || isNaN(e.scale)) && (e.scale = 1), (e.translate = xe(n.min, n.max, e.origin) - e.originPoint), (Zu(e.translate) || isNaN(e.translate)) && (e.translate = 0); } function Zo(e, t, n, r) { rv(e.x, t.x, n.x, r ? r.originX : void 0), rv(e.y, t.y, n.y, r ? r.originY : void 0); } function iv(e, t, n) { (e.min = n.min + t.min), (e.max = e.min + It(t)); } function RE(e, t, n) { iv(e.x, t.x, n.x), iv(e.y, t.y, n.y); } function ov(e, t, n) { (e.min = t.min - n.min), (e.max = e.min + It(t)); } function Jo(e, t, n) { ov(e.x, t.x, n.x), ov(e.y, t.y, n.y); } var sv = () => ({ translate: 0, scale: 1, origin: 0, originPoint: 0 }), Ni = () => ({ x: sv(), y: sv() }), av = () => ({ min: 0, max: 0 }), Fe = () => ({ x: av(), y: av() }); function Hf() { let e = O(Xi); if (e === null) return [!0, null]; let { isPresent: t, onExitComplete: n, register: r } = e, i = Jr(); return N(() => r(i), []), !t && n ? [!1, () => n && n(i)] : [!0]; } var PE = (e, t) => e.depth - t.depth, Gg = class { constructor() { (this.children = []), (this.isDirty = !1); } add(e) { Mf(this.children, e), (this.isDirty = !0); } remove(e) { ul(this.children, e), (this.isDirty = !0); } forEach(e) { this.isDirty && this.children.sort(PE), (this.isDirty = !1), this.children.forEach(e); } }; function Kg(e, t) { let n = br.now(), r = ({ timestamp: i }) => { let o = i - n; o >= t && (bt(r), e(o - t)); }; return X.read(r, !0), () => bt(r); } var tr = new WeakMap(), qa = { current: null }, jf = { current: !1 }; function qg() { if (((jf.current = !0), !!Za)) if (window.matchMedia) { let e = window.matchMedia("(prefers-reduced-motion)"), t = () => (qa.current = e.matches); e.addListener(t), t(); } else qa.current = !1; } function _E(e, t, n) { let { willChange: r } = t; for (let i in t) { let o = t[i], s = n[i]; if (Ce(o)) e.addValue(i, o), Ka(r) && r.add(i); else if (Ce(s)) e.addValue(i, Me(o, { owner: e })), Ka(r) && r.remove(i); else if (s !== o) if (e.hasValue(i)) { let a = e.getValue(i); a.liveStyle === !0 ? a.jump(o) : a.hasAnimated || a.set(o); } else { let a = e.getStaticValue(i); e.addValue(i, Me(a !== void 0 ? a : o, { owner: e })); } } for (let i in n) t[i] === void 0 && e.removeValue(i); return t; } var IE = [...Vg, tt, er], FE = (e) => IE.find(Ag(e)), Qg = Object.keys(rs), LE = Qg.length, lv = [ "AnimationStart", "AnimationComplete", "Update", "BeforeLayoutMeasure", "LayoutMeasure", "LayoutAnimationStart", "LayoutAnimationComplete", ], ME = df.length; function Zg(e) { if (e) return e.options.allowProjection !== !1 ? e.projection : Zg(e.parent); } var Jg = class { scrapeMotionValuesFromProps(e, t, n) { return {}; } constructor( { parent: e, props: t, presenceContext: n, reducedMotionConfig: r, blockInitialAnimation: i, visualState: o, }, s = {} ) { (this.resolveKeyframes = (f, d, m, y) => new this.KeyframeResolver(f, d, m, y, this)), (this.current = null), (this.children = new Set()), (this.isVariantNode = !1), (this.isControllingVariants = !1), (this.shouldReduceMotion = null), (this.values = new Map()), (this.KeyframeResolver = Pf), (this.features = {}), (this.valueSubscriptions = new Map()), (this.prevMotionValues = {}), (this.events = {}), (this.propEventSubscriptions = {}), (this.notifyUpdate = () => this.notify("Update", this.latestValues)), (this.render = () => { this.current && (this.triggerBuild(), this.renderInstance( this.current, this.renderState, this.props.style, this.projection )); }), (this.scheduleRender = () => X.render(this.render, !1, !0)); let { latestValues: a, renderState: l } = o; (this.latestValues = a), (this.baseTarget = { ...a }), (this.initialValues = t.initial ? { ...a } : {}), (this.renderState = l), (this.parent = e), (this.props = t), (this.presenceContext = n), (this.depth = e ? e.depth + 1 : 0), (this.reducedMotionConfig = r), (this.options = s), (this.blockInitialAnimation = !!i), (this.isControllingVariants = rl(t)), (this.isVariantNode = ng(t)), this.isVariantNode && (this.variantChildren = new Set()), (this.manuallyAnimateOnMount = !!(e && e.current)); let { willChange: c, ...u } = this.scrapeMotionValuesFromProps(t, {}, this); for (let f in u) { let d = u[f]; a[f] !== void 0 && Ce(d) && (d.set(a[f], !1), Ka(c) && c.add(f)); } } mount(e) { (this.current = e), tr.set(e, this), this.projection && !this.projection.instance && this.projection.mount(e), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((t, n) => this.bindToMotionValue(n, t)), jf.current || qg(), (this.shouldReduceMotion = this.reducedMotionConfig === "never" ? !1 : this.reducedMotionConfig === "always" ? !0 : qa.current), this.parent && this.parent.children.add(this), this.update(this.props, this.presenceContext); } unmount() { var e; tr.delete(this.current), this.projection && this.projection.unmount(), bt(this.notifyUpdate), bt(this.render), this.valueSubscriptions.forEach((t) => t()), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent && this.parent.children.delete(this); for (let t in this.events) this.events[t].clear(); for (let t in this.features) (e = this.features[t]) === null || e === void 0 || e.unmount(); this.current = null; } bindToMotionValue(e, t) { let n = li.has(e), r = t.on("change", (o) => { (this.latestValues[e] = o), this.props.onUpdate && X.preRender(this.notifyUpdate), n && this.projection && (this.projection.isTransformDirty = !0); }), i = t.on("renderRequest", this.scheduleRender); this.valueSubscriptions.set(e, () => { r(), i(), t.owner && t.stop(); }); } sortNodePosition(e) { return !this.current || !this.sortInstanceNodePosition || this.type !== e.type ? 0 : this.sortInstanceNodePosition(this.current, e.current); } loadFeatures({ children: e, ...t }, n, r, i) { let o, s; for (let a = 0; a < LE; a++) { let l = Qg[a], { isEnabled: c, Feature: u, ProjectionNode: f, MeasureLayout: d, } = rs[l]; f && (o = f), c(t) && (!this.features[l] && u && (this.features[l] = new u(this)), d && (s = d)); } if ( (this.type === "html" || this.type === "svg") && !this.projection && o ) { let { layoutId: a, layout: l, drag: c, dragConstraints: u, layoutScroll: f, layoutRoot: d, } = t; (this.projection = new o( this.latestValues, t["data-framer-portal-id"] ? void 0 : Zg(this.parent) )), this.projection.setOptions({ layoutId: a, layout: l, alwaysMeasureLayout: !!c || (u && $i(u)), visualElement: this, scheduleRender: () => this.scheduleRender(), animationType: typeof l == "string" ? l : "both", initialPromotionConfig: i, layoutScroll: f, layoutRoot: d, }); } return s; } updateFeatures() { for (let e in this.features) { let t = this.features[e]; t.isMounted ? t.update() : (t.mount(), (t.isMounted = !0)); } } triggerBuild() { this.build(this.renderState, this.latestValues, this.options, this.props); } measureViewportBox() { return this.current ? this.measureInstanceViewportBox(this.current, this.props) : Fe(); } getStaticValue(e) { return this.latestValues[e]; } setStaticValue(e, t) { this.latestValues[e] = t; } update(e, t) { (e.transformTemplate || this.props.transformTemplate) && this.scheduleRender(), (this.prevProps = this.props), (this.props = e), (this.prevPresenceContext = this.presenceContext), (this.presenceContext = t); for (let n = 0; n < lv.length; n++) { let r = lv[n]; this.propEventSubscriptions[r] && (this.propEventSubscriptions[r](), delete this.propEventSubscriptions[r]); let i = "on" + r, o = e[i]; o && (this.propEventSubscriptions[r] = this.on(r, o)); } (this.prevMotionValues = _E( this, this.scrapeMotionValuesFromProps(e, this.prevProps, this), this.prevMotionValues )), this.handleChildMotionValue && this.handleChildMotionValue(); } getProps() { return this.props; } getVariant(e) { return this.props.variants ? this.props.variants[e] : void 0; } getDefaultTransition() { return this.props.transition; } getTransformPagePoint() { return this.props.transformPagePoint; } getClosestVariantNode() { return this.isVariantNode ? this : this.parent ? this.parent.getClosestVariantNode() : void 0; } getVariantContext(e = !1) { if (e) return this.parent ? this.parent.getVariantContext() : void 0; if (!this.isControllingVariants) { let n = this.parent ? this.parent.getVariantContext() || {} : {}; return ( this.props.initial !== void 0 && (n.initial = this.props.initial), n ); } let t = {}; for (let n = 0; n < ME; n++) { let r = df[n], i = this.props[r]; (ns(i) || i === !1) && (t[r] = i); } return t; } addVariantChild(e) { let t = this.getClosestVariantNode(); if (t) return ( t.variantChildren && t.variantChildren.add(e), () => t.variantChildren.delete(e) ); } addValue(e, t) { let n = this.values.get(e); t !== n && (n && this.removeValue(e), this.bindToMotionValue(e, t), this.values.set(e, t), (this.latestValues[e] = t.get())); } removeValue(e) { this.values.delete(e); let t = this.valueSubscriptions.get(e); t && (t(), this.valueSubscriptions.delete(e)), delete this.latestValues[e], this.removeValueFromRenderState(e, this.renderState); } hasValue(e) { return this.values.has(e); } getValue(e, t) { if (this.props.values && this.props.values[e]) return this.props.values[e]; let n = this.values.get(e); return ( n === void 0 && t !== void 0 && ((n = Me(t === null ? void 0 : t, { owner: this })), this.addValue(e, n)), n ); } readValue(e, t) { var n; let r = this.latestValues[e] !== void 0 || !this.current ? this.latestValues[e] : (n = this.getBaseTargetFromProps(this.props, e)) !== null && n !== void 0 ? n : this.readValueFromInstance(this.current, e, this.options); return ( r != null && (typeof r == "string" && (Og(r) || Mg(r)) ? (r = parseFloat(r)) : !FE(r) && er.test(t) && (r = $g(e, t)), this.setBaseTarget(e, Ce(r) ? r.get() : r)), Ce(r) ? r.get() : r ); } setBaseTarget(e, t) { this.baseTarget[e] = t; } getBaseTarget(e) { var t; let { initial: n } = this.props, r; if (typeof n == "string" || typeof n == "object") { let o = vf( this.props, n, (t = this.presenceContext) === null || t === void 0 ? void 0 : t.custom ); o && (r = o[e]); } if (n && r !== void 0) return r; let i = this.getBaseTargetFromProps(this.props, e); return i !== void 0 && !Ce(i) ? i : this.initialValues[e] !== void 0 && r === void 0 ? void 0 : this.baseTarget[e]; } on(e, t) { return this.events[e] || (this.events[e] = new Of()), this.events[e].add(t); } notify(e, ...t) { this.events[e] && this.events[e].notify(...t); } }; function ey(e) { function t(r, i = {}) { return rg(e(r, i)); } if (typeof Proxy > "u") return t; let n = new Map(); return new Proxy(t, { get: (r, i) => (n.has(i) || n.set(i, t(i)), n.get(i)), }); } var OE = [ "animate", "circle", "defs", "desc", "ellipse", "g", "image", "line", "filter", "marker", "mask", "metadata", "path", "pattern", "polygon", "polyline", "rect", "stop", "switch", "symbol", "svg", "text", "tspan", "use", "view", ]; function Wf(e) { return typeof e != "string" || e.includes("-") ? !1 : !!(OE.indexOf(e) > -1 || /[A-Z]/u.test(e)); } function ty(e, { layout: t, layoutId: n }) { return ( li.has(e) || e.startsWith("origin") || ((t || n !== void 0) && (!!Wa[e] || e === "opacity")) ); } var DE = (e, t) => (t && typeof e == "number" ? t.transform(e) : e); function Uf(e, t, n, r) { let { style: i, vars: o, transform: s, transformOrigin: a } = e, l = !1, c = !1, u = !0; for (let f in t) { let d = t[f]; if (Tg(f)) { o[f] = d; continue; } let m = Bg[f], y = DE(d, m); if (li.has(f)) { if (((l = !0), (s[f] = y), !u)) continue; d !== (m.default || 0) && (u = !1); } else f.startsWith("origin") ? ((c = !0), (a[f] = y)) : (i[f] = y); } if ( (t.transform || (l || r ? (i.transform = ig(e.transform, n, u, r)) : i.transform && (i.transform = "none")), c) ) { let { originX: f = "50%", originY: d = "50%", originZ: m = 0 } = a; i.transformOrigin = `${f} ${d} ${m}`; } } var Xf = () => ({ style: {}, transform: {}, transformOrigin: {}, vars: {} }); function ny(e, t, n) { for (let r in t) !Ce(t[r]) && !ty(r, n) && (e[r] = t[r]); } function AE({ transformTemplate: e }, t, n) { return fe(() => { let r = Xf(); return ( Uf(r, t, { enableHardwareAcceleration: !n }, e), Object.assign({}, r.vars, r.style) ); }, [t]); } function VE(e, t, n) { let r = e.style || {}, i = {}; return ny(i, r, e), Object.assign(i, AE(e, t, n)), i; } function BE(e, t, n) { let r = {}, i = VE(e, t, n); return ( e.drag && e.dragListener !== !1 && ((r.draggable = !1), (i.userSelect = i.WebkitUserSelect = i.WebkitTouchCallout = "none"), (i.touchAction = e.drag === !0 ? "none" : `pan-${e.drag === "x" ? "y" : "x"}`)), e.tabIndex === void 0 && (e.onTap || e.onTapStart || e.whileTap) && (r.tabIndex = 0), (r.style = i), r ); } function cv(e, t, n) { return typeof e == "string" ? e : W.transform(t + n * e); } function $E(e, t, n) { let r = cv(t, e.x, e.width), i = cv(n, e.y, e.height); return `${r} ${i}`; } var zE = { offset: "stroke-dashoffset", array: "stroke-dasharray" }, NE = { offset: "strokeDashoffset", array: "strokeDasharray" }; function HE(e, t, n = 1, r = 0, i = !0) { e.pathLength = 1; let o = i ? zE : NE; e[o.offset] = W.transform(-r); let s = W.transform(t), a = W.transform(n); e[o.array] = `${s} ${a}`; } function Yf( e, { attrX: t, attrY: n, attrScale: r, originX: i, originY: o, pathLength: s, pathSpacing: a = 1, pathOffset: l = 0, ...c }, u, f, d ) { if ((Uf(e, c, u, d), f)) { e.style.viewBox && (e.attrs.viewBox = e.style.viewBox); return; } (e.attrs = e.style), (e.style = {}); let { attrs: m, style: y, dimensions: v } = e; m.transform && (v && (y.transform = m.transform), delete m.transform), v && (i !== void 0 || o !== void 0 || y.transform) && (y.transformOrigin = $E( v, i !== void 0 ? i : 0.5, o !== void 0 ? o : 0.5 )), t !== void 0 && (m.x = t), n !== void 0 && (m.y = n), r !== void 0 && (m.scale = r), s !== void 0 && HE(m, s, a, l, !1); } var ry = () => ({ ...Xf(), attrs: {} }), Gf = (e) => typeof e == "string" && e.toLowerCase() === "svg"; function jE(e, t, n, r) { let i = fe(() => { let o = ry(); return ( Yf(o, t, { enableHardwareAcceleration: !1 }, Gf(r), e.transformTemplate), { ...o.attrs, style: { ...o.style } } ); }, [t]); if (e.style) { let o = {}; ny(o, e.style, e), (i.style = { ...o, ...i.style }); } return i; } function WE(e = !1) { return (n, r, i, { latestValues: o }, s) => { let l = (Wf(n) ? jE : BE)(r, o, s, n), c = ag(r, typeof n == "string", e), u = n !== jo ? { ...c, ...l, ref: i } : {}, { children: f } = r, d = fe(() => (Ce(f) ? f.get() : f), [f]); return Aa(n, { ...u, children: d }); }; } function iy(e, { style: t, vars: n }, r, i) { Object.assign(e.style, t, i && i.getProjectionStyles(r)); for (let o in n) e.style.setProperty(o, n[o]); } var oy = new Set([ "baseFrequency", "diffuseConstant", "kernelMatrix", "kernelUnitLength", "keySplines", "keyTimes", "limitingConeAngle", "markerHeight", "markerWidth", "numOctaves", "targetX", "targetY", "surfaceScale", "specularConstant", "specularExponent", "stdDeviation", "tableValues", "viewBox", "gradientTransform", "pathLength", "startOffset", "textLength", "lengthAdjust", ]); function sy(e, t, n, r) { iy(e, t, void 0, r); for (let i in t.attrs) e.setAttribute(oy.has(i) ? i : cf(i), t.attrs[i]); } function Kf(e, t, n) { var r; let { style: i } = e, o = {}; for (let s in i) (Ce(i[s]) || (t.style && Ce(t.style[s])) || ty(s, e) || ((r = n?.getValue(s)) === null || r === void 0 ? void 0 : r.liveStyle) !== void 0) && (o[s] = i[s]); return o; } function ay(e, t, n) { let r = Kf(e, t, n); for (let i in e) if (Ce(e[i]) || Ce(t[i])) { let o = ss.indexOf(i) !== -1 ? "attr" + i.charAt(0).toUpperCase() + i.substring(1) : i; r[o] = e[i]; } return r; } var UE = { useVisualState: il({ scrapeMotionValuesFromProps: ay, createRenderState: ry, onMount: (e, t, { renderState: n, latestValues: r }) => { X.read(() => { try { n.dimensions = typeof t.getBBox == "function" ? t.getBBox() : t.getBoundingClientRect(); } catch { n.dimensions = { x: 0, y: 0, width: 0, height: 0 }; } }), X.render(() => { Yf( n, r, { enableHardwareAcceleration: !1 }, Gf(t.tagName), e.transformTemplate ), sy(t, n); }); }, }), }, XE = { useVisualState: il({ scrapeMotionValuesFromProps: Kf, createRenderState: Xf, }), }; function ly(e, { forwardMotionProps: t = !1 }, n, r) { return { ...(Wf(e) ? UE : XE), preloadedFeatures: n, useRender: WE(t), createVisualElement: r, Component: e, }; } function uv(e, t) { let n = t ? "pointerenter" : "pointerleave", r = t ? "onHoverStart" : "onHoverEnd", i = (o, s) => { if (o.pointerType === "touch" || gf()) return; let a = e.getProps(); e.animationState && a.whileHover && e.animationState.setActive("whileHover", t); let l = a[r]; l && X.postRender(() => l(o, s)); }; return Fn(e.current, n, i, { passive: !e.getProps()[r] }); } var YE = class extends wr { mount() { this.unmount = Ln(uv(this.node, !0), uv(this.node, !1)); } unmount() {} }, GE = class extends wr { constructor() { super(...arguments), (this.isActive = !1); } onFocus() { let e = !1; try { e = this.node.current.matches(":focus-visible"); } catch { e = !0; } !e || !this.node.animationState || (this.node.animationState.setActive("whileFocus", !0), (this.isActive = !0)); } onBlur() { !this.isActive || !this.node.animationState || (this.node.animationState.setActive("whileFocus", !1), (this.isActive = !1)); } mount() { this.unmount = Ln( Zn(this.node.current, "focus", () => this.onFocus()), Zn(this.node.current, "blur", () => this.onBlur()) ); } unmount() {} }, cy = (e, t) => (t ? (e === t ? !0 : cy(e, t.parentElement)) : !1); function Lu(e, t) { if (!t) return; let n = new PointerEvent("pointer" + e); t(n, ol(n)); } var KE = class extends wr { constructor() { super(...arguments), (this.removeStartListeners = nt), (this.removeEndListeners = nt), (this.removeAccessibleListeners = nt), (this.startPointerPress = (e, t) => { if (this.isPressing) return; this.removeEndListeners(); let n = this.node.getProps(), i = Fn( window, "pointerup", (s, a) => { if (!this.checkPressEnd()) return; let { onTap: l, onTapCancel: c, globalTapTarget: u, } = this.node.getProps(), f = !u && !cy(this.node.current, s.target) ? c : l; f && X.update(() => f(s, a)); }, { passive: !(n.onTap || n.onPointerUp) } ), o = Fn(window, "pointercancel", (s, a) => this.cancelPress(s, a), { passive: !(n.onTapCancel || n.onPointerCancel), }); (this.removeEndListeners = Ln(i, o)), this.startPress(e, t); }), (this.startAccessiblePress = () => { let e = (i) => { if (i.key !== "Enter" || this.isPressing) return; let o = (s) => { s.key !== "Enter" || !this.checkPressEnd() || Lu("up", (a, l) => { let { onTap: c } = this.node.getProps(); c && X.postRender(() => c(a, l)); }); }; this.removeEndListeners(), (this.removeEndListeners = Zn(this.node.current, "keyup", o)), Lu("down", (s, a) => { this.startPress(s, a); }); }, t = Zn(this.node.current, "keydown", e), n = () => { this.isPressing && Lu("cancel", (i, o) => this.cancelPress(i, o)); }, r = Zn(this.node.current, "blur", n); this.removeAccessibleListeners = Ln(t, r); }); } startPress(e, t) { this.isPressing = !0; let { onTapStart: n, whileTap: r } = this.node.getProps(); r && this.node.animationState && this.node.animationState.setActive("whileTap", !0), n && X.postRender(() => n(e, t)); } checkPressEnd() { return ( this.removeEndListeners(), (this.isPressing = !1), this.node.getProps().whileTap && this.node.animationState && this.node.animationState.setActive("whileTap", !1), !gf() ); } cancelPress(e, t) { if (!this.checkPressEnd()) return; let { onTapCancel: n } = this.node.getProps(); n && X.postRender(() => n(e, t)); } mount() { let e = this.node.getProps(), t = Fn( e.globalTapTarget ? window : this.node.current, "pointerdown", this.startPointerPress, { passive: !(e.onTapStart || e.onPointerStart) } ), n = Zn(this.node.current, "focus", this.startAccessiblePress); this.removeStartListeners = Ln(t, n); } unmount() { this.removeStartListeners(), this.removeEndListeners(), this.removeAccessibleListeners(); } }, Ju = new WeakMap(), Mu = new WeakMap(), qE = (e) => { let t = Ju.get(e.target); t && t(e); }, QE = (e) => { e.forEach(qE); }; function ZE({ root: e, ...t }) { let n = e || document; Mu.has(n) || Mu.set(n, {}); let r = Mu.get(n), i = JSON.stringify(t); return r[i] || (r[i] = new IntersectionObserver(QE, { root: e, ...t })), r[i]; } function JE(e, t, n) { let r = ZE(t); return ( Ju.set(e, n), r.observe(e), () => { Ju.delete(e), r.unobserve(e); } ); } var eR = { some: 0, all: 1 }, tR = class extends wr { constructor() { super(...arguments), (this.hasEnteredView = !1), (this.isInView = !1); } startObserver() { this.unmount(); let { viewport: e = {} } = this.node.getProps(), { root: t, margin: n, amount: r = "some", once: i } = e, o = { root: t ? t.current : void 0, rootMargin: n, threshold: typeof r == "number" ? r : eR[r], }, s = (a) => { let { isIntersecting: l } = a; if ( this.isInView === l || ((this.isInView = l), i && !l && this.hasEnteredView) ) return; l && (this.hasEnteredView = !0), this.node.animationState && this.node.animationState.setActive("whileInView", l); let { onViewportEnter: c, onViewportLeave: u } = this.node.getProps(), f = l ? c : u; f && f(a); }; return JE(this.node.current, o, s); } mount() { this.startObserver(); } update() { if (typeof IntersectionObserver > "u") return; let { props: e, prevProps: t } = this.node; ["amount", "margin", "root"].some(nR(e, t)) && this.startObserver(); } unmount() {} }; function nR({ viewport: e = {} }, { viewport: t = {} } = {}) { return (n) => e[n] !== t[n]; } var uy = { inView: { Feature: tR }, tap: { Feature: KE }, focus: { Feature: GE }, hover: { Feature: YE }, }, fy = class { constructor( e, t, { transformPagePoint: n, contextWindow: r, dragSnapToOrigin: i = !1 } = {} ) { if ( ((this.startEvent = null), (this.lastMoveEvent = null), (this.lastMoveEventInfo = null), (this.handlers = {}), (this.contextWindow = window), (this.updatePoint = () => { if (!(this.lastMoveEvent && this.lastMoveEventInfo)) return; let u = Du(this.lastMoveEventInfo, this.history), f = this.startEvent !== null, d = Yg(u.offset, { x: 0, y: 0 }) >= 3; if (!f && !d) return; let { point: m } = u, { timestamp: y } = Le; this.history.push({ ...m, timestamp: y }); let { onStart: v, onMove: x } = this.handlers; f || (v && v(this.lastMoveEvent, u), (this.startEvent = this.lastMoveEvent)), x && x(this.lastMoveEvent, u); }), (this.handlePointerMove = (u, f) => { (this.lastMoveEvent = u), (this.lastMoveEventInfo = Ou(f, this.transformPagePoint)), X.update(this.updatePoint, !0); }), (this.handlePointerUp = (u, f) => { this.end(); let { onEnd: d, onSessionEnd: m, resumeAnimation: y } = this.handlers; if ( (this.dragSnapToOrigin && y && y(), !(this.lastMoveEvent && this.lastMoveEventInfo)) ) return; let v = Du( u.type === "pointercancel" ? this.lastMoveEventInfo : Ou(f, this.transformPagePoint), this.history ); this.startEvent && d && d(u, v), m && m(u, v); }), !lg(e)) ) return; (this.dragSnapToOrigin = i), (this.handlers = t), (this.transformPagePoint = n), (this.contextWindow = r || window); let o = ol(e), s = Ou(o, this.transformPagePoint), { point: a } = s, { timestamp: l } = Le; this.history = [{ ...a, timestamp: l }]; let { onSessionStart: c } = t; c && c(e, Du(s, this.history)), (this.removeListeners = Ln( Fn(this.contextWindow, "pointermove", this.handlePointerMove), Fn(this.contextWindow, "pointerup", this.handlePointerUp), Fn(this.contextWindow, "pointercancel", this.handlePointerUp) )); } updateHandlers(e) { this.handlers = e; } end() { this.removeListeners && this.removeListeners(), bt(this.updatePoint); } }; function Ou(e, t) { return t ? { point: t(e.point) } : e; } function fv(e, t) { return { x: e.x - t.x, y: e.y - t.y }; } function Du({ point: e }, t) { return { point: e, delta: fv(e, dy(t)), offset: fv(e, rR(t)), velocity: iR(t, 0.1), }; } function rR(e) { return e[0]; } function dy(e) { return e[e.length - 1]; } function iR(e, t) { if (e.length < 2) return { x: 0, y: 0 }; let n = e.length - 1, r = null, i = dy(e); for (; n >= 0 && ((r = e[n]), !(i.timestamp - r.timestamp > Mn(t))); ) n--; if (!r) return { x: 0, y: 0 }; let o = On(i.timestamp - r.timestamp); if (o === 0) return { x: 0, y: 0 }; let s = { x: (i.x - r.x) / o, y: (i.y - r.y) / o }; return s.x === 1 / 0 && (s.x = 0), s.y === 1 / 0 && (s.y = 0), s; } function oR(e, { min: t, max: n }, r) { return ( t !== void 0 && e < t ? (e = r ? xe(t, e, r.min) : Math.max(e, t)) : n !== void 0 && e > n && (e = r ? xe(n, e, r.max) : Math.min(e, n)), e ); } function dv(e, t, n) { return { min: t !== void 0 ? e.min + t : void 0, max: n !== void 0 ? e.max + n - (e.max - e.min) : void 0, }; } function sR(e, { top: t, left: n, bottom: r, right: i }) { return { x: dv(e.x, n, i), y: dv(e.y, t, r) }; } function hv(e, t) { let n = t.min - e.min, r = t.max - e.max; return t.max - t.min < e.max - e.min && ([n, r] = [r, n]), { min: n, max: r }; } function aR(e, t) { return { x: hv(e.x, t.x), y: hv(e.y, t.y) }; } function lR(e, t) { let n = 0.5, r = It(e), i = It(t); return ( i > r ? (n = xr(t.min, t.max - r, e.min)) : r > i && (n = xr(e.min, e.max - i, t.min)), Jn(0, 1, n) ); } function cR(e, t) { let n = {}; return ( t.min !== void 0 && (n.min = t.min - e.min), t.max !== void 0 && (n.max = t.max - e.min), n ); } var ef = 0.35; function uR(e = ef) { return ( e === !1 ? (e = 0) : e === !0 && (e = ef), { x: pv(e, "left", "right"), y: pv(e, "top", "bottom") } ); } function pv(e, t, n) { return { min: mv(e, t), max: mv(e, n) }; } function mv(e, t) { return typeof e == "number" ? e : e[t] || 0; } function on(e) { return [e("x"), e("y")]; } function hy({ top: e, left: t, right: n, bottom: r }) { return { x: { min: t, max: n }, y: { min: e, max: r } }; } function fR({ x: e, y: t }) { return { top: t.min, right: e.max, bottom: t.max, left: e.min }; } function dR(e, t) { if (!t) return e; let n = t({ x: e.left, y: e.top }), r = t({ x: e.right, y: e.bottom }); return { top: n.y, left: n.x, bottom: r.y, right: r.x }; } function Au(e) { return e === void 0 || e === 1; } function tf({ scale: e, scaleX: t, scaleY: n }) { return !Au(e) || !Au(t) || !Au(n); } function ti(e) { return ( tf(e) || py(e) || e.z || e.rotate || e.rotateX || e.rotateY || e.skewX || e.skewY ); } function py(e) { return vv(e.x) || vv(e.y); } function vv(e) { return e && e !== "0%"; } function Qa(e, t, n) { let r = e - n, i = t * r; return n + i; } function gv(e, t, n, r, i) { return i !== void 0 && (e = Qa(e, i, r)), Qa(e, n, r) + t; } function nf(e, t = 0, n = 1, r, i) { (e.min = gv(e.min, t, n, r, i)), (e.max = gv(e.max, t, n, r, i)); } function my(e, { x: t, y: n }) { nf(e.x, t.translate, t.scale, t.originPoint), nf(e.y, n.translate, n.scale, n.originPoint); } function hR(e, t, n, r = !1) { let i = n.length; if (!i) return; t.x = t.y = 1; let o, s; for (let a = 0; a < i; a++) { (o = n[a]), (s = o.projectionDelta); let l = o.instance; (l && l.style && l.style.display === "contents") || (r && o.options.layoutScroll && o.scroll && o !== o.root && Hi(e, { x: -o.scroll.offset.x, y: -o.scroll.offset.y }), s && ((t.x *= s.x.scale), (t.y *= s.y.scale), my(e, s)), r && ti(o.latestValues) && Hi(e, o.latestValues)); } (t.x = yv(t.x)), (t.y = yv(t.y)); } function yv(e) { return Number.isInteger(e) || e > 1.0000000000001 || e < 0.999999999999 ? e : 1; } function yr(e, t) { (e.min = e.min + t), (e.max = e.max + t); } function bv(e, t, [n, r, i]) { let o = t[i] !== void 0 ? t[i] : 0.5, s = xe(e.min, e.max, o); nf(e, t[n], t[r], s, t.scale); } var pR = ["x", "scaleX", "originX"], mR = ["y", "scaleY", "originY"]; function Hi(e, t) { bv(e.x, t, pR), bv(e.y, t, mR); } function vy(e, t) { return hy(dR(e.getBoundingClientRect(), t)); } function vR(e, t, n) { let r = vy(e, n), { scroll: i } = t; return i && (yr(r.x, i.offset.x), yr(r.y, i.offset.y)), r; } var gy = ({ current: e }) => (e ? e.ownerDocument.defaultView : null), gR = new WeakMap(), yR = class { constructor(e) { (this.openGlobalLock = null), (this.isDragging = !1), (this.currentDirection = null), (this.originPoint = { x: 0, y: 0 }), (this.constraints = !1), (this.hasMutatedConstraints = !1), (this.elastic = Fe()), (this.visualElement = e); } start(e, { snapToCursor: t = !1 } = {}) { let { presenceContext: n } = this.visualElement; if (n && n.isPresent === !1) return; let r = (c) => { let { dragSnapToOrigin: u } = this.getProps(); u ? this.pauseAnimation() : this.stopAnimation(), t && this.snapToCursor(ol(c, "page").point); }, i = (c, u) => { let { drag: f, dragPropagation: d, onDragStart: m } = this.getProps(); if ( f && !d && (this.openGlobalLock && this.openGlobalLock(), (this.openGlobalLock = fg(f)), !this.openGlobalLock) ) return; (this.isDragging = !0), (this.currentDirection = null), this.resolveConstraints(), this.visualElement.projection && ((this.visualElement.projection.isAnimationBlocked = !0), (this.visualElement.projection.target = void 0)), on((v) => { let x = this.getAxisMotionValue(v).get() || 0; if (In.test(x)) { let { projection: p } = this.visualElement; if (p && p.layout) { let h = p.layout.layoutBox[v]; h && (x = It(h) * (parseFloat(x) / 100)); } } this.originPoint[v] = x; }), m && X.postRender(() => m(c, u)); let { animationState: y } = this.visualElement; y && y.setActive("whileDrag", !0); }, o = (c, u) => { let { dragPropagation: f, dragDirectionLock: d, onDirectionLock: m, onDrag: y, } = this.getProps(); if (!f && !this.openGlobalLock) return; let { offset: v } = u; if (d && this.currentDirection === null) { (this.currentDirection = bR(v)), this.currentDirection !== null && m && m(this.currentDirection); return; } this.updateAxis("x", u.point, v), this.updateAxis("y", u.point, v), this.visualElement.render(), y && y(c, u); }, s = (c, u) => this.stop(c, u), a = () => on((c) => { var u; return ( this.getAnimationState(c) === "paused" && ((u = this.getAxisMotionValue(c).animation) === null || u === void 0 ? void 0 : u.play()) ); }), { dragSnapToOrigin: l } = this.getProps(); this.panSession = new fy( e, { onSessionStart: r, onStart: i, onMove: o, onSessionEnd: s, resumeAnimation: a, }, { transformPagePoint: this.visualElement.getTransformPagePoint(), dragSnapToOrigin: l, contextWindow: gy(this.visualElement), } ); } stop(e, t) { let n = this.isDragging; if ((this.cancel(), !n)) return; let { velocity: r } = t; this.startAnimation(r); let { onDragEnd: i } = this.getProps(); i && X.postRender(() => i(e, t)); } cancel() { this.isDragging = !1; let { projection: e, animationState: t } = this.visualElement; e && (e.isAnimationBlocked = !1), this.panSession && this.panSession.end(), (this.panSession = void 0); let { dragPropagation: n } = this.getProps(); !n && this.openGlobalLock && (this.openGlobalLock(), (this.openGlobalLock = null)), t && t.setActive("whileDrag", !1); } updateAxis(e, t, n) { let { drag: r } = this.getProps(); if (!n || !Ba(e, r, this.currentDirection)) return; let i = this.getAxisMotionValue(e), o = this.originPoint[e] + n[e]; this.constraints && this.constraints[e] && (o = oR(o, this.constraints[e], this.elastic[e])), i.set(o); } resolveConstraints() { var e; let { dragConstraints: t, dragElastic: n } = this.getProps(), r = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : (e = this.visualElement.projection) === null || e === void 0 ? void 0 : e.layout, i = this.constraints; t && $i(t) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : t && r ? (this.constraints = sR(r.layoutBox, t)) : (this.constraints = !1), (this.elastic = uR(n)), i !== this.constraints && r && this.constraints && !this.hasMutatedConstraints && on((o) => { this.constraints !== !1 && this.getAxisMotionValue(o) && (this.constraints[o] = cR(r.layoutBox[o], this.constraints[o])); }); } resolveRefConstraints() { let { dragConstraints: e, onMeasureDragConstraints: t } = this.getProps(); if (!e || !$i(e)) return !1; let n = e.current; jt( n !== null, "If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop." ); let { projection: r } = this.visualElement; if (!r || !r.layout) return !1; let i = vR(n, r.root, this.visualElement.getTransformPagePoint()), o = aR(r.layout.layoutBox, i); if (t) { let s = t(fR(o)); (this.hasMutatedConstraints = !!s), s && (o = hy(s)); } return o; } startAnimation(e) { let { drag: t, dragMomentum: n, dragElastic: r, dragTransition: i, dragSnapToOrigin: o, onDragTransitionEnd: s, } = this.getProps(), a = this.constraints || {}, l = on((c) => { if (!Ba(c, t, this.currentDirection)) return; let u = (a && a[c]) || {}; o && (u = { min: 0, max: 0 }); let f = r ? 200 : 1e6, d = r ? 40 : 1e7, m = { type: "inertia", velocity: n ? e[c] : 0, bounceStiffness: f, bounceDamping: d, timeConstant: 750, restDelta: 1, restSpeed: 10, ...i, ...u, }; return this.startAxisValueAnimation(c, m); }); return Promise.all(l).then(s); } startAxisValueAnimation(e, t) { let n = this.getAxisMotionValue(e); return n.start(Vf(e, n, 0, t, this.visualElement)); } stopAnimation() { on((e) => this.getAxisMotionValue(e).stop()); } pauseAnimation() { on((e) => { var t; return (t = this.getAxisMotionValue(e).animation) === null || t === void 0 ? void 0 : t.pause(); }); } getAnimationState(e) { var t; return (t = this.getAxisMotionValue(e).animation) === null || t === void 0 ? void 0 : t.state; } getAxisMotionValue(e) { let t = `_drag${e.toUpperCase()}`, n = this.visualElement.getProps(), r = n[t]; return ( r || this.visualElement.getValue(e, (n.initial ? n.initial[e] : void 0) || 0) ); } snapToCursor(e) { on((t) => { let { drag: n } = this.getProps(); if (!Ba(t, n, this.currentDirection)) return; let { projection: r } = this.visualElement, i = this.getAxisMotionValue(t); if (r && r.layout) { let { min: o, max: s } = r.layout.layoutBox[t]; i.set(e[t] - xe(o, s, 0.5)); } }); } scalePositionWithinConstraints() { if (!this.visualElement.current) return; let { drag: e, dragConstraints: t } = this.getProps(), { projection: n } = this.visualElement; if (!$i(t) || !n || !this.constraints) return; this.stopAnimation(); let r = { x: 0, y: 0 }; on((o) => { let s = this.getAxisMotionValue(o); if (s && this.constraints !== !1) { let a = s.get(); r[o] = lR({ min: a, max: a }, this.constraints[o]); } }); let { transformTemplate: i } = this.visualElement.getProps(); (this.visualElement.current.style.transform = i ? i({}, "") : "none"), n.root && n.root.updateScroll(), n.updateLayout(), this.resolveConstraints(), on((o) => { if (!Ba(o, e, null)) return; let s = this.getAxisMotionValue(o), { min: a, max: l } = this.constraints[o]; s.set(xe(a, l, r[o])); }); } addListeners() { if (!this.visualElement.current) return; gR.set(this.visualElement, this); let e = this.visualElement.current, t = Fn(e, "pointerdown", (a) => { let { drag: l, dragListener: c = !0 } = this.getProps(); l && c && this.start(a); }), n = () => { let { dragConstraints: a } = this.getProps(); $i(a) && (this.constraints = this.resolveRefConstraints()); }, { projection: r } = this.visualElement, i = r.addEventListener("measure", n); r && !r.layout && (r.root && r.root.updateScroll(), r.updateLayout()), n(); let o = Zn(window, "resize", () => this.scalePositionWithinConstraints()), s = r.addEventListener( "didUpdate", ({ delta: a, hasLayoutChanged: l }) => { this.isDragging && l && (on((c) => { let u = this.getAxisMotionValue(c); u && ((this.originPoint[c] += a[c].translate), u.set(u.get() + a[c].translate)); }), this.visualElement.render()); } ); return () => { o(), t(), i(), s && s(); }; } getProps() { let e = this.visualElement.getProps(), { drag: t = !1, dragDirectionLock: n = !1, dragPropagation: r = !1, dragConstraints: i = !1, dragElastic: o = ef, dragMomentum: s = !0, } = e; return { ...e, drag: t, dragDirectionLock: n, dragPropagation: r, dragConstraints: i, dragElastic: o, dragMomentum: s, }; } }; function Ba(e, t, n) { return (t === !0 || t === e) && (n === null || n === e); } function bR(e, t = 10) { let n = null; return Math.abs(e.y) > t ? (n = "y") : Math.abs(e.x) > t && (n = "x"), n; } var xR = class extends wr { constructor(e) { super(e), (this.removeGroupControls = nt), (this.removeListeners = nt), (this.controls = new yR(e)); } mount() { let { dragControls: e } = this.node.getProps(); e && (this.removeGroupControls = e.subscribe(this.controls)), (this.removeListeners = this.controls.addListeners() || nt); } unmount() { this.removeGroupControls(), this.removeListeners(); } }, xv = (e) => (t, n) => { e && X.postRender(() => e(t, n)); }, SR = class extends wr { constructor() { super(...arguments), (this.removePointerDownListener = nt); } onPointerDown(e) { this.session = new fy(e, this.createPanHandlers(), { transformPagePoint: this.node.getTransformPagePoint(), contextWindow: gy(this.node), }); } createPanHandlers() { let { onPanSessionStart: e, onPanStart: t, onPan: n, onPanEnd: r, } = this.node.getProps(); return { onSessionStart: xv(e), onStart: xv(t), onMove: n, onEnd: (i, o) => { delete this.session, r && X.postRender(() => r(i, o)); }, }; } mount() { this.removePointerDownListener = Fn( this.node.current, "pointerdown", (e) => this.onPointerDown(e) ); } update() { this.session && this.session.updateHandlers(this.createPanHandlers()); } unmount() { this.removePointerDownListener(), this.session && this.session.end(); } }, Na = { hasAnimatedSinceResize: !0, hasEverUpdated: !1 }; function Sv(e, t) { return t.max === t.min ? 0 : (e / (t.max - t.min)) * 100; } var Uo = { correct: (e, t) => { if (!t.target) return e; if (typeof e == "string") if (W.test(e)) e = parseFloat(e); else return e; let n = Sv(e, t.target.x), r = Sv(e, t.target.y); return `${n}% ${r}%`; }, }, wR = { correct: (e, { treeScale: t, projectionDelta: n }) => { let r = e, i = er.parse(e); if (i.length > 5) return r; let o = er.createTransformer(e), s = typeof i[0] != "number" ? 1 : 0, a = n.x.scale * t.x, l = n.y.scale * t.y; (i[0 + s] /= a), (i[1 + s] /= l); let c = xe(a, l, 0.5); return ( typeof i[2 + s] == "number" && (i[2 + s] /= c), typeof i[3 + s] == "number" && (i[3 + s] /= c), o(i) ); }, }, kR = class extends ve { componentDidMount() { let { visualElement: e, layoutGroup: t, switchLayoutGroup: n, layoutId: r, } = this.props, { projection: i } = e; pf(CR), i && (t.group && t.group.add(i), n && n.register && r && n.register(i), i.root.didUpdate(), i.addEventListener("animationComplete", () => { this.safeToRemove(); }), i.setOptions({ ...i.options, onExitComplete: () => this.safeToRemove(), })), (Na.hasEverUpdated = !0); } getSnapshotBeforeUpdate(e) { let { layoutDependency: t, visualElement: n, drag: r, isPresent: i, } = this.props, o = n.projection; return ( o && ((o.isPresent = i), r || e.layoutDependency !== t || t === void 0 ? o.willUpdate() : this.safeToRemove(), e.isPresent !== i && (i ? o.promote() : o.relegate() || X.postRender(() => { let s = o.getStack(); (!s || !s.members.length) && this.safeToRemove(); }))), null ); } componentDidUpdate() { let { projection: e } = this.props.visualElement; e && (e.root.didUpdate(), uf.postRender(() => { !e.currentAnimation && e.isLead() && this.safeToRemove(); })); } componentWillUnmount() { let { visualElement: e, layoutGroup: t, switchLayoutGroup: n, } = this.props, { projection: r } = e; r && (r.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(r), n && n.deregister && n.deregister(r)); } safeToRemove() { let { safeToRemove: e } = this.props; e && e(); } render() { return null; } }; function yy(e) { let [t, n] = Hf(), r = O(ts); return C(kR, { ...e, layoutGroup: r, switchLayoutGroup: O(tl), isPresent: t, safeToRemove: n, }); } var CR = { borderRadius: { ...Uo, applyTo: [ "borderTopLeftRadius", "borderTopRightRadius", "borderBottomLeftRadius", "borderBottomRightRadius", ], }, borderTopLeftRadius: Uo, borderTopRightRadius: Uo, borderBottomLeftRadius: Uo, borderBottomRightRadius: Uo, boxShadow: wR, }, by = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], TR = by.length, wv = (e) => (typeof e == "string" ? parseFloat(e) : e), kv = (e) => typeof e == "number" || W.test(e); function ER(e, t, n, r, i, o) { i ? ((e.opacity = xe(0, n.opacity !== void 0 ? n.opacity : 1, RR(r))), (e.opacityExit = xe(t.opacity !== void 0 ? t.opacity : 1, 0, PR(r)))) : o && (e.opacity = xe( t.opacity !== void 0 ? t.opacity : 1, n.opacity !== void 0 ? n.opacity : 1, r )); for (let s = 0; s < TR; s++) { let a = `border${by[s]}Radius`, l = Cv(t, a), c = Cv(n, a); if (l === void 0 && c === void 0) continue; l || (l = 0), c || (c = 0), l === 0 || c === 0 || kv(l) === kv(c) ? ((e[a] = Math.max(xe(wv(l), wv(c), r), 0)), (In.test(c) || In.test(l)) && (e[a] += "%")) : (e[a] = c); } (t.rotate || n.rotate) && (e.rotate = xe(t.rotate || 0, n.rotate || 0, r)); } function Cv(e, t) { return e[t] !== void 0 ? e[t] : e.borderRadius; } var RR = xy(0, 0.5, kf), PR = xy(0.5, 0.95, nt); function xy(e, t, n) { return (r) => (r < e ? 0 : r > t ? 1 : n(xr(e, t, r))); } function Tv(e, t) { (e.min = t.min), (e.max = t.max); } function rn(e, t) { Tv(e.x, t.x), Tv(e.y, t.y); } function Ev(e, t, n, r, i) { return ( (e -= t), (e = Qa(e, 1 / n, r)), i !== void 0 && (e = Qa(e, 1 / i, r)), e ); } function _R(e, t = 0, n = 1, r = 0.5, i, o = e, s = e) { if ( (In.test(t) && ((t = parseFloat(t)), (t = xe(s.min, s.max, t / 100) - s.min)), typeof t != "number") ) return; let a = xe(o.min, o.max, r); e === o && (a -= t), (e.min = Ev(e.min, t, n, a, i)), (e.max = Ev(e.max, t, n, a, i)); } function Rv(e, t, [n, r, i], o, s) { _R(e, t[n], t[r], t[i], t.scale, o, s); } var IR = ["x", "scaleX", "originX"], FR = ["y", "scaleY", "originY"]; function Pv(e, t, n, r) { Rv(e.x, t, IR, n ? n.x : void 0, r ? r.x : void 0), Rv(e.y, t, FR, n ? n.y : void 0, r ? r.y : void 0); } function _v(e) { return e.translate === 0 && e.scale === 1; } function Sy(e) { return _v(e.x) && _v(e.y); } function LR(e, t) { return ( e.x.min === t.x.min && e.x.max === t.x.max && e.y.min === t.y.min && e.y.max === t.y.max ); } function wy(e, t) { return ( Math.round(e.x.min) === Math.round(t.x.min) && Math.round(e.x.max) === Math.round(t.x.max) && Math.round(e.y.min) === Math.round(t.y.min) && Math.round(e.y.max) === Math.round(t.y.max) ); } function Iv(e) { return It(e.x) / It(e.y); } var MR = class { constructor() { this.members = []; } add(e) { Mf(this.members, e), e.scheduleRender(); } remove(e) { if ( (ul(this.members, e), e === this.prevLead && (this.prevLead = void 0), e === this.lead) ) { let t = this.members[this.members.length - 1]; t && this.promote(t); } } relegate(e) { let t = this.members.findIndex((r) => e === r); if (t === 0) return !1; let n; for (let r = t; r >= 0; r--) { let i = this.members[r]; if (i.isPresent !== !1) { n = i; break; } } return n ? (this.promote(n), !0) : !1; } promote(e, t) { let n = this.lead; if (e !== n && ((this.prevLead = n), (this.lead = e), e.show(), n)) { n.instance && n.scheduleRender(), e.scheduleRender(), (e.resumeFrom = n), t && (e.resumeFrom.preserveOpacity = !0), n.snapshot && ((e.snapshot = n.snapshot), (e.snapshot.latestValues = n.animationValues || n.latestValues)), e.root && e.root.isUpdating && (e.isLayoutDirty = !0); let { crossfade: r } = e.options; r === !1 && n.hide(); } } exitAnimationComplete() { this.members.forEach((e) => { let { options: t, resumingFrom: n } = e; t.onExitComplete && t.onExitComplete(), n && n.options.onExitComplete && n.options.onExitComplete(); }); } scheduleRender() { this.members.forEach((e) => { e.instance && e.scheduleRender(!1); }); } removeLeadSnapshot() { this.lead && this.lead.snapshot && (this.lead.snapshot = void 0); } }; function Fv(e, t, n) { let r = "", i = e.x.translate / t.x, o = e.y.translate / t.y, s = n?.z || 0; if ( ((i || o || s) && (r = `translate3d(${i}px, ${o}px, ${s}px) `), (t.x !== 1 || t.y !== 1) && (r += `scale(${1 / t.x}, ${1 / t.y}) `), n) ) { let { transformPerspective: c, rotate: u, rotateX: f, rotateY: d, skewX: m, skewY: y, } = n; c && (r = `perspective(${c}px) ${r}`), u && (r += `rotate(${u}deg) `), f && (r += `rotateX(${f}deg) `), d && (r += `rotateY(${d}deg) `), m && (r += `skewX(${m}deg) `), y && (r += `skewY(${y}deg) `); } let a = e.x.scale * t.x, l = e.y.scale * t.y; return (a !== 1 || l !== 1) && (r += `scale(${a}, ${l})`), r || "none"; } function OR(e) { window.MotionDebug && window.MotionDebug.record(e); } function ky(e) { return e instanceof SVGElement && e.tagName !== "svg"; } function qf(e, t, n) { let r = Ce(e) ? e : Me(e); return r.start(Vf("", r, t, n)), r.animation; } var Vu = ["", "X", "Y", "Z"], DR = { visibility: "hidden" }, Lv = 1e3, AR = 0, ni = { type: "projectionFrame", totalNodes: 0, resolvedTargetDeltas: 0, recalculatedProjection: 0, }; function Bu(e, t, n, r) { let { latestValues: i } = t; i[e] && ((n[e] = i[e]), t.setStaticValue(e, 0), r && (r[e] = 0)); } function Cy(e) { if (((e.hasCheckedOptimisedAppear = !0), e.root === e)) return !1; let { visualElement: t } = e.options; return t ? Ug(t) ? !0 : e.parent && !e.parent.hasCheckedOptimisedAppear ? Cy(e.parent) : !1 : !1; } function Ty({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i, }) { return class { constructor(s = {}, a = t?.()) { (this.id = AR++), (this.animationId = 0), (this.children = new Set()), (this.options = {}), (this.isTreeAnimating = !1), (this.isAnimationBlocked = !1), (this.isLayoutDirty = !1), (this.isProjectionDirty = !1), (this.isSharedProjectionDirty = !1), (this.isTransformDirty = !1), (this.updateManuallyBlocked = !1), (this.updateBlockedByResize = !1), (this.isUpdating = !1), (this.isSVG = !1), (this.needsReset = !1), (this.shouldResetTransform = !1), (this.hasCheckedOptimisedAppear = !1), (this.treeScale = { x: 1, y: 1 }), (this.eventHandlers = new Map()), (this.hasTreeAnimated = !1), (this.updateScheduled = !1), (this.projectionUpdateScheduled = !1), (this.checkUpdateFailed = () => { this.isUpdating && ((this.isUpdating = !1), this.clearAllSnapshots()); }), (this.updateProjection = () => { (this.projectionUpdateScheduled = !1), (ni.totalNodes = ni.resolvedTargetDeltas = ni.recalculatedProjection = 0), this.nodes.forEach($R), this.nodes.forEach(WR), this.nodes.forEach(UR), this.nodes.forEach(zR), OR(ni); }), (this.hasProjected = !1), (this.isVisible = !0), (this.animationProgress = 0), (this.sharedNodes = new Map()), (this.latestValues = s), (this.root = a ? a.root || a : this), (this.path = a ? [...a.path, a] : []), (this.parent = a), (this.depth = a ? a.depth + 1 : 0); for (let l = 0; l < this.path.length; l++) this.path[l].shouldResetTransform = !0; this.root === this && (this.nodes = new Gg()); } addEventListener(s, a) { return ( this.eventHandlers.has(s) || this.eventHandlers.set(s, new Of()), this.eventHandlers.get(s).add(a) ); } notifyListeners(s, ...a) { let l = this.eventHandlers.get(s); l && l.notify(...a); } hasListeners(s) { return this.eventHandlers.has(s); } mount(s, a = this.root.hasTreeAnimated) { if (this.instance) return; (this.isSVG = ky(s)), (this.instance = s); let { layoutId: l, layout: c, visualElement: u } = this.options; if ( (u && !u.current && u.mount(s), this.root.nodes.add(this), this.parent && this.parent.children.add(this), a && (c || l) && (this.isLayoutDirty = !0), e) ) { let f, d = () => (this.root.updateBlockedByResize = !1); e(s, () => { (this.root.updateBlockedByResize = !0), f && f(), (f = Kg(d, 250)), Na.hasAnimatedSinceResize && ((Na.hasAnimatedSinceResize = !1), this.nodes.forEach(Ov)); }); } l && this.root.registerSharedNode(l, this), this.options.animate !== !1 && u && (l || c) && this.addEventListener( "didUpdate", ({ delta: f, hasLayoutChanged: d, hasRelativeTargetChanged: m, layout: y, }) => { if (this.isTreeAnimationBlocked()) { (this.target = void 0), (this.relativeTarget = void 0); return; } let v = this.options.transition || u.getDefaultTransition() || qR, { onLayoutAnimationStart: x, onLayoutAnimationComplete: p } = u.getProps(), h = !this.targetLayout || !wy(this.targetLayout, y) || m, g = !d && m; if ( this.options.layoutRoot || (this.resumeFrom && this.resumeFrom.instance) || g || (d && (h || !this.currentAnimation)) ) { this.resumeFrom && ((this.resumingFrom = this.resumeFrom), (this.resumingFrom.resumingFrom = void 0)), this.setAnimationOrigin(f, g); let S = { ...Df(v, "layout"), onPlay: x, onComplete: p }; (u.shouldReduceMotion || this.options.layoutRoot) && ((S.delay = 0), (S.type = !1)), this.startAnimation(S); } else d || Ov(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete(); this.targetLayout = y; } ); } unmount() { this.options.layoutId && this.willUpdate(), this.root.nodes.remove(this); let s = this.getStack(); s && s.remove(this), this.parent && this.parent.children.delete(this), (this.instance = void 0), bt(this.updateProjection); } blockUpdate() { this.updateManuallyBlocked = !0; } unblockUpdate() { this.updateManuallyBlocked = !1; } isUpdateBlocked() { return this.updateManuallyBlocked || this.updateBlockedByResize; } isTreeAnimationBlocked() { return ( this.isAnimationBlocked || (this.parent && this.parent.isTreeAnimationBlocked()) || !1 ); } startUpdate() { this.isUpdateBlocked() || ((this.isUpdating = !0), this.nodes && this.nodes.forEach(XR), this.animationId++); } getTransformTemplate() { let { visualElement: s } = this.options; return s && s.getProps().transformTemplate; } willUpdate(s = !0) { if (((this.root.hasTreeAnimated = !0), this.root.isUpdateBlocked())) { this.options.onExitComplete && this.options.onExitComplete(); return; } if ( (window.HandoffCancelAllAnimations && Cy(this) && window.HandoffCancelAllAnimations(), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) ) return; this.isLayoutDirty = !0; for (let u = 0; u < this.path.length; u++) { let f = this.path[u]; (f.shouldResetTransform = !0), f.updateScroll("snapshot"), f.options.layoutRoot && f.willUpdate(!1); } let { layoutId: a, layout: l } = this.options; if (a === void 0 && !l) return; let c = this.getTransformTemplate(); (this.prevTransformTemplateValue = c ? c(this.latestValues, "") : void 0), this.updateSnapshot(), s && this.notifyListeners("willUpdate"); } update() { if (((this.updateScheduled = !1), this.isUpdateBlocked())) { this.unblockUpdate(), this.clearAllSnapshots(), this.nodes.forEach(Mv); return; } this.isUpdating || this.nodes.forEach(HR), (this.isUpdating = !1), this.nodes.forEach(jR), this.nodes.forEach(VR), this.nodes.forEach(BR), this.clearAllSnapshots(); let a = br.now(); (Le.delta = Jn(0, 1e3 / 60, a - Le.timestamp)), (Le.timestamp = a), (Le.isProcessing = !0), $a.update.process(Le), $a.preRender.process(Le), $a.render.process(Le), (Le.isProcessing = !1); } didUpdate() { this.updateScheduled || ((this.updateScheduled = !0), uf.read(() => this.update())); } clearAllSnapshots() { this.nodes.forEach(NR), this.sharedNodes.forEach(YR); } scheduleUpdateProjection() { this.projectionUpdateScheduled || ((this.projectionUpdateScheduled = !0), X.preRender(this.updateProjection, !1, !0)); } scheduleCheckAfterUnmount() { X.postRender(() => { this.isLayoutDirty ? this.root.didUpdate() : this.root.checkUpdateFailed(); }); } updateSnapshot() { this.snapshot || !this.instance || (this.snapshot = this.measure()); } updateLayout() { if ( !this.instance || (this.updateScroll(), !(this.options.alwaysMeasureLayout && this.isLead()) && !this.isLayoutDirty) ) return; if (this.resumeFrom && !this.resumeFrom.instance) for (let l = 0; l < this.path.length; l++) this.path[l].updateScroll(); let s = this.layout; (this.layout = this.measure(!1)), (this.layoutCorrected = Fe()), (this.isLayoutDirty = !1), (this.projectionDelta = void 0), this.notifyListeners("measure", this.layout.layoutBox); let { visualElement: a } = this.options; a && a.notify( "LayoutMeasure", this.layout.layoutBox, s ? s.layoutBox : void 0 ); } updateScroll(s = "measure") { let a = !!(this.options.layoutScroll && this.instance); this.scroll && this.scroll.animationId === this.root.animationId && this.scroll.phase === s && (a = !1), a && (this.scroll = { animationId: this.root.animationId, phase: s, isRoot: r(this.instance), offset: n(this.instance), }); } resetTransform() { if (!i) return; let s = this.isLayoutDirty || this.shouldResetTransform, a = this.projectionDelta && !Sy(this.projectionDelta), l = this.getTransformTemplate(), c = l ? l(this.latestValues, "") : void 0, u = c !== this.prevTransformTemplateValue; s && (a || ti(this.latestValues) || u) && (i(this.instance, c), (this.shouldResetTransform = !1), this.scheduleRender()); } measure(s = !0) { let a = this.measurePageBox(), l = this.removeElementScroll(a); return ( s && (l = this.removeTransform(l)), QR(l), { animationId: this.root.animationId, measuredBox: a, layoutBox: l, latestValues: {}, source: this.id, } ); } measurePageBox() { let { visualElement: s } = this.options; if (!s) return Fe(); let a = s.measureViewportBox(), { scroll: l } = this.root; return l && (yr(a.x, l.offset.x), yr(a.y, l.offset.y)), a; } removeElementScroll(s) { let a = Fe(); rn(a, s); for (let l = 0; l < this.path.length; l++) { let c = this.path[l], { scroll: u, options: f } = c; if (c !== this.root && u && f.layoutScroll) { if (u.isRoot) { rn(a, s); let { scroll: d } = this.root; d && (yr(a.x, -d.offset.x), yr(a.y, -d.offset.y)); } yr(a.x, u.offset.x), yr(a.y, u.offset.y); } } return a; } applyTransform(s, a = !1) { let l = Fe(); rn(l, s); for (let c = 0; c < this.path.length; c++) { let u = this.path[c]; !a && u.options.layoutScroll && u.scroll && u !== u.root && Hi(l, { x: -u.scroll.offset.x, y: -u.scroll.offset.y }), ti(u.latestValues) && Hi(l, u.latestValues); } return ti(this.latestValues) && Hi(l, this.latestValues), l; } removeTransform(s) { let a = Fe(); rn(a, s); for (let l = 0; l < this.path.length; l++) { let c = this.path[l]; if (!c.instance || !ti(c.latestValues)) continue; tf(c.latestValues) && c.updateSnapshot(); let u = Fe(), f = c.measurePageBox(); rn(u, f), Pv(a, c.latestValues, c.snapshot ? c.snapshot.layoutBox : void 0, u); } return ti(this.latestValues) && Pv(a, this.latestValues), a; } setTargetDelta(s) { (this.targetDelta = s), this.root.scheduleUpdateProjection(), (this.isProjectionDirty = !0); } setOptions(s) { this.options = { ...this.options, ...s, crossfade: s.crossfade !== void 0 ? s.crossfade : !0, }; } clearMeasurements() { (this.scroll = void 0), (this.layout = void 0), (this.snapshot = void 0), (this.prevTransformTemplateValue = void 0), (this.targetDelta = void 0), (this.target = void 0), (this.isLayoutDirty = !1); } forceRelativeParentToResolveTarget() { this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !== Le.timestamp && this.relativeParent.resolveTargetDelta(!0); } resolveTargetDelta(s = !1) { var a; let l = this.getLead(); this.isProjectionDirty || (this.isProjectionDirty = l.isProjectionDirty), this.isTransformDirty || (this.isTransformDirty = l.isTransformDirty), this.isSharedProjectionDirty || (this.isSharedProjectionDirty = l.isSharedProjectionDirty); let c = !!this.resumingFrom || this !== l; if ( !( s || (c && this.isSharedProjectionDirty) || this.isProjectionDirty || (!((a = this.parent) === null || a === void 0) && a.isProjectionDirty) || this.attemptToResolveRelativeTarget ) ) return; let { layout: f, layoutId: d } = this.options; if (!(!this.layout || !(f || d))) { if ( ((this.resolvedRelativeTargetAt = Le.timestamp), !this.targetDelta && !this.relativeTarget) ) { let m = this.getClosestProjectingParent(); m && m.layout && this.animationProgress !== 1 ? ((this.relativeParent = m), this.forceRelativeParentToResolveTarget(), (this.relativeTarget = Fe()), (this.relativeTargetOrigin = Fe()), Jo( this.relativeTargetOrigin, this.layout.layoutBox, m.layout.layoutBox ), rn(this.relativeTarget, this.relativeTargetOrigin)) : (this.relativeParent = this.relativeTarget = void 0); } if (!(!this.relativeTarget && !this.targetDelta)) { if ( (this.target || ((this.target = Fe()), (this.targetWithTransforms = Fe())), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), RE( this.target, this.relativeTarget, this.relativeParent.target )) : this.targetDelta ? (this.resumingFrom ? (this.target = this.applyTransform(this.layout.layoutBox)) : rn(this.target, this.layout.layoutBox), my(this.target, this.targetDelta)) : rn(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget) ) { this.attemptToResolveRelativeTarget = !1; let m = this.getClosestProjectingParent(); m && !!m.resumingFrom == !!this.resumingFrom && !m.options.layoutScroll && m.target && this.animationProgress !== 1 ? ((this.relativeParent = m), this.forceRelativeParentToResolveTarget(), (this.relativeTarget = Fe()), (this.relativeTargetOrigin = Fe()), Jo(this.relativeTargetOrigin, this.target, m.target), rn(this.relativeTarget, this.relativeTargetOrigin)) : (this.relativeParent = this.relativeTarget = void 0); } ni.resolvedTargetDeltas++; } } } getClosestProjectingParent() { if ( !( !this.parent || tf(this.parent.latestValues) || py(this.parent.latestValues) ) ) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent(); } isProjecting() { return !!( (this.relativeTarget || this.targetDelta || this.options.layoutRoot) && this.layout ); } calcProjection() { var s; let a = this.getLead(), l = !!this.resumingFrom || this !== a, c = !0; if ( ((this.isProjectionDirty || (!((s = this.parent) === null || s === void 0) && s.isProjectionDirty)) && (c = !1), l && (this.isSharedProjectionDirty || this.isTransformDirty) && (c = !1), this.resolvedRelativeTargetAt === Le.timestamp && (c = !1), c) ) return; let { layout: u, layoutId: f } = this.options; if ( ((this.isTreeAnimating = !!( (this.parent && this.parent.isTreeAnimating) || this.currentAnimation || this.pendingAnimation )), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(u || f)) ) return; rn(this.layoutCorrected, this.layout.layoutBox); let d = this.treeScale.x, m = this.treeScale.y; hR(this.layoutCorrected, this.treeScale, this.path, l), a.layout && !a.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && ((a.target = a.layout.layoutBox), (a.targetWithTransforms = Fe())); let { target: y } = a; if (!y) { this.projectionTransform && ((this.projectionDelta = Ni()), (this.projectionTransform = "none"), this.scheduleRender()); return; } this.projectionDelta || ((this.projectionDelta = Ni()), (this.projectionDeltaWithTransform = Ni())); let v = this.projectionTransform; Zo(this.projectionDelta, this.layoutCorrected, y, this.latestValues), (this.projectionTransform = Fv(this.projectionDelta, this.treeScale)), (this.projectionTransform !== v || this.treeScale.x !== d || this.treeScale.y !== m) && ((this.hasProjected = !0), this.scheduleRender(), this.notifyListeners("projectionUpdate", y)), ni.recalculatedProjection++; } hide() { this.isVisible = !1; } show() { this.isVisible = !0; } scheduleRender(s = !0) { if ((this.options.scheduleRender && this.options.scheduleRender(), s)) { let a = this.getStack(); a && a.scheduleRender(); } this.resumingFrom && !this.resumingFrom.instance && (this.resumingFrom = void 0); } setAnimationOrigin(s, a = !1) { let l = this.snapshot, c = l ? l.latestValues : {}, u = { ...this.latestValues }, f = Ni(); (!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), (this.attemptToResolveRelativeTarget = !a); let d = Fe(), m = l ? l.source : void 0, y = this.layout ? this.layout.source : void 0, v = m !== y, x = this.getStack(), p = !x || x.members.length <= 1, h = !!(v && !p && this.options.crossfade === !0 && !this.path.some(KR)); this.animationProgress = 0; let g; (this.mixTargetDelta = (S) => { let k = S / 1e3; Dv(f.x, s.x, k), Dv(f.y, s.y, k), this.setTargetDelta(f), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Jo(d, this.layout.layoutBox, this.relativeParent.layout.layoutBox), GR(this.relativeTarget, this.relativeTargetOrigin, d, k), g && LR(this.relativeTarget, g) && (this.isProjectionDirty = !1), g || (g = Fe()), rn(g, this.relativeTarget)), v && ((this.animationValues = u), ER(u, c, this.latestValues, k, h, p)), this.root.scheduleUpdateProjection(), this.scheduleRender(), (this.animationProgress = k); }), this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0); } startAnimation(s) { this.notifyListeners("animationStart"), this.currentAnimation && this.currentAnimation.stop(), this.resumingFrom && this.resumingFrom.currentAnimation && this.resumingFrom.currentAnimation.stop(), this.pendingAnimation && (bt(this.pendingAnimation), (this.pendingAnimation = void 0)), (this.pendingAnimation = X.update(() => { (Na.hasAnimatedSinceResize = !0), (this.currentAnimation = qf(0, Lv, { ...s, onUpdate: (a) => { this.mixTargetDelta(a), s.onUpdate && s.onUpdate(a); }, onComplete: () => { s.onComplete && s.onComplete(), this.completeAnimation(); }, })), this.resumingFrom && (this.resumingFrom.currentAnimation = this.currentAnimation), (this.pendingAnimation = void 0); })); } completeAnimation() { this.resumingFrom && ((this.resumingFrom.currentAnimation = void 0), (this.resumingFrom.preserveOpacity = void 0)); let s = this.getStack(); s && s.exitAnimationComplete(), (this.resumingFrom = this.currentAnimation = this.animationValues = void 0), this.notifyListeners("animationComplete"); } finishAnimation() { this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(Lv), this.currentAnimation.stop()), this.completeAnimation(); } applyTransformsToTarget() { let s = this.getLead(), { targetWithTransforms: a, target: l, layout: c, latestValues: u } = s; if (!(!a || !l || !c)) { if ( this !== s && this.layout && c && Ey(this.options.animationType, this.layout.layoutBox, c.layoutBox) ) { l = this.target || Fe(); let f = It(this.layout.layoutBox.x); (l.x.min = s.target.x.min), (l.x.max = l.x.min + f); let d = It(this.layout.layoutBox.y); (l.y.min = s.target.y.min), (l.y.max = l.y.min + d); } rn(a, l), Hi(a, u), Zo(this.projectionDeltaWithTransform, this.layoutCorrected, a, u); } } registerSharedNode(s, a) { this.sharedNodes.has(s) || this.sharedNodes.set(s, new MR()), this.sharedNodes.get(s).add(a); let c = a.options.initialPromotionConfig; a.promote({ transition: c ? c.transition : void 0, preserveFollowOpacity: c && c.shouldPreserveFollowOpacity ? c.shouldPreserveFollowOpacity(a) : void 0, }); } isLead() { let s = this.getStack(); return s ? s.lead === this : !0; } getLead() { var s; let { layoutId: a } = this.options; return a ? ((s = this.getStack()) === null || s === void 0 ? void 0 : s.lead) || this : this; } getPrevLead() { var s; let { layoutId: a } = this.options; return a ? (s = this.getStack()) === null || s === void 0 ? void 0 : s.prevLead : void 0; } getStack() { let { layoutId: s } = this.options; if (s) return this.root.sharedNodes.get(s); } promote({ needsReset: s, transition: a, preserveFollowOpacity: l } = {}) { let c = this.getStack(); c && c.promote(this, l), s && ((this.projectionDelta = void 0), (this.needsReset = !0)), a && this.setOptions({ transition: a }); } relegate() { let s = this.getStack(); return s ? s.relegate(this) : !1; } resetSkewAndRotation() { let { visualElement: s } = this.options; if (!s) return; let a = !1, { latestValues: l } = s; if ( ((l.z || l.rotate || l.rotateX || l.rotateY || l.rotateZ || l.skewX || l.skewY) && (a = !0), !a) ) return; let c = {}; l.z && Bu("z", s, c, this.animationValues); for (let u = 0; u < Vu.length; u++) Bu(`rotate${Vu[u]}`, s, c, this.animationValues), Bu(`skew${Vu[u]}`, s, c, this.animationValues); s.render(); for (let u in c) s.setStaticValue(u, c[u]), this.animationValues && (this.animationValues[u] = c[u]); s.scheduleRender(); } getProjectionStyles(s) { var a, l; if (!this.instance || this.isSVG) return; if (!this.isVisible) return DR; let c = { visibility: "" }, u = this.getTransformTemplate(); if (this.needsReset) return ( (this.needsReset = !1), (c.opacity = ""), (c.pointerEvents = lt(s?.pointerEvents) || ""), (c.transform = u ? u(this.latestValues, "") : "none"), c ); let f = this.getLead(); if (!this.projectionDelta || !this.layout || !f.target) { let v = {}; return ( this.options.layoutId && ((v.opacity = this.latestValues.opacity !== void 0 ? this.latestValues.opacity : 1), (v.pointerEvents = lt(s?.pointerEvents) || "")), this.hasProjected && !ti(this.latestValues) && ((v.transform = u ? u({}, "") : "none"), (this.hasProjected = !1)), v ); } let d = f.animationValues || f.latestValues; this.applyTransformsToTarget(), (c.transform = Fv( this.projectionDeltaWithTransform, this.treeScale, d )), u && (c.transform = u(d, c.transform)); let { x: m, y } = this.projectionDelta; (c.transformOrigin = `${m.origin * 100}% ${y.origin * 100}% 0`), f.animationValues ? (c.opacity = f === this ? (l = (a = d.opacity) !== null && a !== void 0 ? a : this.latestValues.opacity) !== null && l !== void 0 ? l : 1 : this.preserveOpacity ? this.latestValues.opacity : d.opacityExit) : (c.opacity = f === this ? d.opacity !== void 0 ? d.opacity : "" : d.opacityExit !== void 0 ? d.opacityExit : 0); for (let v in Wa) { if (d[v] === void 0) continue; let { correct: x, applyTo: p } = Wa[v], h = c.transform === "none" ? d[v] : x(d[v], f); if (p) { let g = p.length; for (let S = 0; S < g; S++) c[p[S]] = h; } else c[v] = h; } return ( this.options.layoutId && (c.pointerEvents = f === this ? lt(s?.pointerEvents) || "" : "none"), c ); } clearSnapshot() { this.resumeFrom = this.snapshot = void 0; } resetTree() { this.root.nodes.forEach((s) => { var a; return (a = s.currentAnimation) === null || a === void 0 ? void 0 : a.stop(); }), this.root.nodes.forEach(Mv), this.root.sharedNodes.clear(); } }; } function VR(e) { e.updateLayout(); } function BR(e) { var t; let n = ((t = e.resumeFrom) === null || t === void 0 ? void 0 : t.snapshot) || e.snapshot; if (e.isLead() && e.layout && n && e.hasListeners("didUpdate")) { let { layoutBox: r, measuredBox: i } = e.layout, { animationType: o } = e.options, s = n.source !== e.layout.source; o === "size" ? on((f) => { let d = s ? n.measuredBox[f] : n.layoutBox[f], m = It(d); (d.min = r[f].min), (d.max = d.min + m); }) : Ey(o, n.layoutBox, r) && on((f) => { let d = s ? n.measuredBox[f] : n.layoutBox[f], m = It(r[f]); (d.max = d.min + m), e.relativeTarget && !e.currentAnimation && ((e.isProjectionDirty = !0), (e.relativeTarget[f].max = e.relativeTarget[f].min + m)); }); let a = Ni(); Zo(a, r, n.layoutBox); let l = Ni(); s ? Zo(l, e.applyTransform(i, !0), n.measuredBox) : Zo(l, r, n.layoutBox); let c = !Sy(a), u = !1; if (!e.resumeFrom) { let f = e.getClosestProjectingParent(); if (f && !f.resumeFrom) { let { snapshot: d, layout: m } = f; if (d && m) { let y = Fe(); Jo(y, n.layoutBox, d.layoutBox); let v = Fe(); Jo(v, r, m.layoutBox), wy(y, v) || (u = !0), f.options.layoutRoot && ((e.relativeTarget = v), (e.relativeTargetOrigin = y), (e.relativeParent = f)); } } } e.notifyListeners("didUpdate", { layout: r, snapshot: n, delta: l, layoutDelta: a, hasLayoutChanged: c, hasRelativeTargetChanged: u, }); } else if (e.isLead()) { let { onExitComplete: r } = e.options; r && r(); } e.options.transition = void 0; } function $R(e) { ni.totalNodes++, e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty || (e.isSharedProjectionDirty = !!( e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty )), e.isTransformDirty || (e.isTransformDirty = e.parent.isTransformDirty)); } function zR(e) { e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1; } function NR(e) { e.clearSnapshot(); } function Mv(e) { e.clearMeasurements(); } function HR(e) { e.isLayoutDirty = !1; } function jR(e) { let { visualElement: t } = e.options; t && t.getProps().onBeforeLayoutMeasure && t.notify("BeforeLayoutMeasure"), e.resetTransform(); } function Ov(e) { e.finishAnimation(), (e.targetDelta = e.relativeTarget = e.target = void 0), (e.isProjectionDirty = !0); } function WR(e) { e.resolveTargetDelta(); } function UR(e) { e.calcProjection(); } function XR(e) { e.resetSkewAndRotation(); } function YR(e) { e.removeLeadSnapshot(); } function Dv(e, t, n) { (e.translate = xe(t.translate, 0, n)), (e.scale = xe(t.scale, 1, n)), (e.origin = t.origin), (e.originPoint = t.originPoint); } function Av(e, t, n, r) { (e.min = xe(t.min, n.min, r)), (e.max = xe(t.max, n.max, r)); } function GR(e, t, n, r) { Av(e.x, t.x, n.x, r), Av(e.y, t.y, n.y, r); } function KR(e) { return e.animationValues && e.animationValues.opacityExit !== void 0; } var qR = { duration: 0.45, ease: [0.4, 0, 0.1, 1] }, Vv = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), Bv = Vv("applewebkit/") && !Vv("chrome/") ? Math.round : nt; function $v(e) { (e.min = Bv(e.min)), (e.max = Bv(e.max)); } function QR(e) { $v(e.x), $v(e.y); } function Ey(e, t, n) { return ( e === "position" || (e === "preserve-aspect" && !Zu(Iv(t), Iv(n), 0.2)) ); } var ZR = Ty({ attachResizeListener: (e, t) => Zn(e, "resize", t), measureScroll: () => ({ x: document.documentElement.scrollLeft || document.body.scrollLeft, y: document.documentElement.scrollTop || document.body.scrollTop, }), checkIsScrollRoot: () => !0, }), si = { current: void 0 }, Ry = Ty({ measureScroll: (e) => ({ x: e.scrollLeft, y: e.scrollTop }), defaultParent: () => { if (!si.current) { let e = new ZR({}); e.mount(window), e.setOptions({ layoutScroll: !0 }), (si.current = e); } return si.current; }, resetTransform: (e, t) => { e.style.transform = t !== void 0 ? t : "none"; }, checkIsScrollRoot: (e) => window.getComputedStyle(e).position === "fixed", }), Py = { pan: { Feature: SR }, drag: { Feature: xR, ProjectionNode: Ry, MeasureLayout: yy }, }, _y = class extends Jg { constructor() { super(...arguments), (this.KeyframeResolver = zg); } sortInstanceNodePosition(e, t) { return e.compareDocumentPosition(t) & 2 ? 1 : -1; } getBaseTargetFromProps(e, t) { return e.style ? e.style[t] : void 0; } removeValueFromRenderState(e, { vars: t, style: n }) { delete t[e], delete n[e]; } }; function JR(e) { return window.getComputedStyle(e); } var Iy = class extends _y { constructor() { super(...arguments), (this.type = "html"); } readValueFromInstance(e, t) { if (li.has(t)) { let n = Ff(t); return (n && n.default) || 0; } else { let n = JR(e), r = (Tg(t) ? n.getPropertyValue(t) : n[t]) || 0; return typeof r == "string" ? r.trim() : r; } } measureInstanceViewportBox(e, { transformPagePoint: t }) { return vy(e, t); } build(e, t, n, r) { Uf(e, t, n, r.transformTemplate); } scrapeMotionValuesFromProps(e, t, n) { return Kf(e, t, n); } handleChildMotionValue() { this.childSubscription && (this.childSubscription(), delete this.childSubscription); let { children: e } = this.props; Ce(e) && (this.childSubscription = e.on("change", (t) => { this.current && (this.current.textContent = `${t}`); })); } renderInstance(e, t, n, r) { iy(e, t, n, r); } }, Fy = class extends _y { constructor() { super(...arguments), (this.type = "svg"), (this.isSVGTag = !1); } getBaseTargetFromProps(e, t) { return e[t]; } readValueFromInstance(e, t) { if (li.has(t)) { let n = Ff(t); return (n && n.default) || 0; } return (t = oy.has(t) ? t : cf(t)), e.getAttribute(t); } measureInstanceViewportBox() { return Fe(); } scrapeMotionValuesFromProps(e, t, n) { return ay(e, t, n); } build(e, t, n, r) { Yf(e, t, n, this.isSVGTag, r.transformTemplate); } renderInstance(e, t, n, r) { sy(e, t, n, r); } mount(e) { (this.isSVGTag = Gf(e.tagName)), super.mount(e); } }, Ly = (e, t) => Wf(e) ? new Fy(t, { enableHardwareAcceleration: !1 }) : new Iy(t, { allowProjection: e !== jo, enableHardwareAcceleration: !0, }), My = { layout: { ProjectionNode: Ry, MeasureLayout: yy } }, eP = { ...Nf, ...uy, ...Py, ...My }, Wt = ey((e, t) => ly(e, t, eP, Ly)); var tP = ey(ly); function Oy() { let e = D(!1); return ( Sr( () => ( (e.current = !0), () => { e.current = !1; } ), [] ), e ); } function hl() { let e = Oy(), [t, n] = yt(0), r = me(() => { e.current && n(t + 1); }, [t]); return [me(() => X.postRender(r), [r]), t]; } function Dy(e) { return N(() => () => e(), []); } var nP = class extends ve { getSnapshotBeforeUpdate(e) { let t = this.props.childRef.current; if (t && e.isPresent && !this.props.isPresent) { let n = this.props.sizeRef.current; (n.height = t.offsetHeight || 0), (n.width = t.offsetWidth || 0), (n.top = t.offsetTop), (n.left = t.offsetLeft); } return null; } componentDidUpdate() {} render() { return this.props.children; } }; function rP({ children: e, isPresent: t }) { let n = Jr(), r = D(null), i = D({ width: 0, height: 0, top: 0, left: 0 }), { nonce: o } = O(Dn); return ( at(() => { let { width: s, height: a, top: l, left: c } = i.current; if (t || !r.current || !s || !a) return; r.current.dataset.motionPopId = n; let u = document.createElement("style"); return ( o && (u.nonce = o), document.head.appendChild(u), u.sheet && u.sheet.insertRule(` [data-motion-pop-id="${n}"] { position: absolute !important; width: ${s}px !important; height: ${a}px !important; top: ${l}px !important; left: ${c}px !important; } `), () => { document.head.removeChild(u); } ); }, [t]), C(nP, { isPresent: t, childRef: r, sizeRef: i, children: yn(e, { ref: r }), }) ); } var $u = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: o, mode: s, }) => { let a = nr(iP), l = Jr(), c = fe( () => ({ id: l, initial: t, isPresent: n, custom: i, onExitComplete: (u) => { a.set(u, !0); for (let f of a.values()) if (!f) return; r && r(); }, register: (u) => (a.set(u, !1), () => a.delete(u)), }), o ? [Math.random()] : [n] ); return ( fe(() => { a.forEach((u, f) => a.set(f, !1)); }, [n]), N(() => { !n && !a.size && r && r(); }, [n]), s === "popLayout" && (e = C(rP, { isPresent: n, children: e })), C(Xi.Provider, { value: c, children: e }) ); }; function iP() { return new Map(); } var ri = (e) => e.key || ""; function oP(e, t) { e.forEach((n) => { let r = ri(n); t.set(r, n); }); } function sP(e) { let t = []; return ( Pn.forEach(e, (n) => { Ht(n) && t.push(n); }), t ); } var Qf = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, exitBeforeEnter: i, presenceAffectsLayout: o = !0, mode: s = "sync", }) => { jt(!i, "Replace exitBeforeEnter with mode='wait'"); let a = O(ts).forceRender || hl()[0], l = Oy(), c = sP(e), u = c, f = D(new Map()).current, d = D(u), m = D(new Map()).current, y = D(!0); if ( (Sr(() => { (y.current = !1), oP(c, m), (d.current = u); }), Dy(() => { (y.current = !0), m.clear(), f.clear(); }), y.current) ) return C(Ie, { children: u.map((h) => C( $u, { isPresent: !0, initial: n ? void 0 : !1, presenceAffectsLayout: o, mode: s, children: h, }, ri(h) ) ), }); u = [...u]; let v = d.current.map(ri), x = c.map(ri), p = v.length; for (let h = 0; h < p; h++) { let g = v[h]; x.indexOf(g) === -1 && !f.has(g) && f.set(g, void 0); } return ( s === "wait" && f.size && (u = []), f.forEach((h, g) => { if (x.indexOf(g) !== -1) return; let S = m.get(g); if (!S) return; let k = v.indexOf(g), w = h; w || ((w = C( $u, { isPresent: !1, onExitComplete: () => { f.delete(g); let R = Array.from(m.keys()).filter((F) => !x.includes(F)); if ( (R.forEach((F) => m.delete(F)), (d.current = c.filter((F) => { let I = ri(F); return I === g || R.includes(I); })), !f.size) ) { if (l.current === !1) return; a(), r && r(); } }, custom: t, presenceAffectsLayout: o, mode: s, children: S, }, ri(S) )), f.set(g, w)), u.splice(k, 0, w); }), (u = u.map((h) => { let g = h.key; return f.has(g) ? h : C( $u, { isPresent: !0, presenceAffectsLayout: o, mode: s, children: h }, ri(h) ); })), C(Ie, { children: f.size ? u : u.map((h) => yn(h)) }) ); }; function Ay({ children: e, isValidProp: t, ...n }) { t && sg(t), (n = { ...O(Dn), ...n }), (n.isStatic = nr(() => n.isStatic)); let r = fe( () => n, [JSON.stringify(n.transition), n.transformPagePoint, n.reducedMotion] ); return C(Dn.Provider, { value: r, children: e }); } var Vy = be(null), aP = (e) => !e.isLayoutDirty && e.willUpdate(!1); function zv() { let e = new Set(), t = new WeakMap(), n = () => e.forEach(aP); return { add: (r) => { e.add(r), t.set(r, r.addEventListener("willUpdate", n)); }, remove: (r) => { e.delete(r); let i = t.get(r); i && (i(), t.delete(r)), n(); }, dirty: n, }; } var By = (e) => e === !0, lP = (e) => By(e === !0) || e === "id", $y = ({ children: e, id: t, inherit: n = !0 }) => { let r = O(ts), i = O(Vy), [o, s] = hl(), a = D(null), l = r.id || i; a.current === null && (lP(n) && l && (t = t ? l + "-" + t : l), (a.current = { id: t, group: (By(n) && r.group) || zv() })); let c = fe(() => ({ ...a.current, forceRender: o }), [s]); return C(ts.Provider, { value: c, children: e }); }; function Vn(e) { let t = nr(() => Me(e)), { isStatic: n } = O(Dn); if (n) { let [, r] = yt(e); N(() => t.on("change", r), []); } return t; } var cP = (e) => e && typeof e == "object" && e.mix, uP = (e) => (cP(e) ? e.mix : void 0); function us(...e) { let t = !Array.isArray(e[0]), n = t ? 0 : -1, r = e[0 + n], i = e[1 + n], o = e[2 + n], s = e[3 + n], a = qi(i, o, { mixer: uP(o[0]), ...s }); return t ? a(r) : a; } function zy(e, t) { let n = Vn(t()), r = () => n.set(t()); return ( r(), Sr(() => { let i = () => X.preRender(r, !1, !0), o = e.map((s) => s.on("change", i)); return () => { o.forEach((s) => s()), bt(r); }; }), n ); } function fP(e) { (Qo.current = []), e(); let t = zy(Qo.current, e); return (Qo.current = void 0), t; } function xt(e, t, n, r) { if (typeof e == "function") return fP(e); let i = typeof t == "function" ? t : us(t, n, r); return Array.isArray(e) ? Nv(e, i) : Nv([e], ([o]) => i(o)); } function Nv(e, t) { let n = nr(() => []); return zy(e, () => { n.length = 0; let r = e.length; for (let i = 0; i < r; i++) n[i] = e[i].get(); return t(n); }); } var Ny = be(null); function dP(e, t, n, r) { if (!r) return e; let i = e.findIndex((u) => u.value === t); if (i === -1) return e; let o = r > 0 ? 1 : -1, s = e[i + o]; if (!s) return e; let a = e[i], l = s.layout, c = xe(l.min, l.max, 0.5); return (o === 1 && a.layout.max + n > c) || (o === -1 && a.layout.min + n < c) ? iE(e, i, i + o) : e; } function hP( { children: e, as: t = "ul", axis: n = "y", onReorder: r, values: i, ...o }, s ) { let a = nr(() => Wt(t)), l = [], c = D(!1); jt(!!i, "Reorder.Group must be provided a values prop"); let u = { axis: n, registerItem: (f, d) => { let m = l.findIndex((y) => f === y.value); m !== -1 ? (l[m].layout = d[n]) : l.push({ value: f, layout: d[n] }), l.sort(mP); }, updateOrder: (f, d, m) => { if (c.current) return; let y = dP(l, f, d, m); l !== y && ((c.current = !0), r(y.map(pP).filter((v) => i.indexOf(v) !== -1))); }, }; return ( N(() => { c.current = !1; }), C(a, { ...o, ref: s, ignoreStrict: !0, children: C(Ny.Provider, { value: u, children: e }), }) ); } var bB = We(hP); function pP(e) { return e.value; } function mP(e, t) { return e.layout.min - t.layout.min; } function Hv(e, t = 0) { return Ce(e) ? e : Vn(t); } function vP( { children: e, style: t = {}, value: n, as: r = "li", onDrag: i, layout: o = !0, ...s }, a ) { let l = nr(() => Wt(r)), c = O(Ny), u = { x: Hv(t.x), y: Hv(t.y) }, f = xt([u.x, u.y], ([v, x]) => (v || x ? 1 : "unset")); jt(!!c, "Reorder.Item must be a child of Reorder.Group"); let { axis: d, registerItem: m, updateOrder: y } = c; return C(l, { drag: d, ...s, dragSnapToOrigin: !0, style: { ...t, x: u.x, y: u.y, zIndex: f }, layout: o, onDrag: (v, x) => { let { velocity: p } = x; p[d] && y(n, u[d].get(), p[d]), i && i(v, x); }, onLayoutMeasure: (v) => m(n, v), ref: a, ignoreStrict: !0, children: e, }); } var wB = We(vP); var Hy = { renderer: Ly, ...Nf, ...uy }, gP = { ...Hy, ...Py, ...My }; function Zf(e, t = {}) { let { isStatic: n } = O(Dn), r = D(null), i = Vn(Ce(e) ? e.get() : e), o = D(i.get()), s = D(() => {}), a = () => { let c = r.current; c && c.time === 0 && c.sample(Le.delta), l(), (r.current = If({ keyframes: [i.get(), o.current], velocity: i.getVelocity(), type: "spring", restDelta: 0.001, restSpeed: 0.01, ...t, onUpdate: s.current, })); }, l = () => { r.current && r.current.stop(); }; return ( at( () => i.attach( (c, u) => n ? u(c) : ((o.current = c), (s.current = u), X.update(a), i.get()), l ), [JSON.stringify(t)] ), Sr(() => { if (Ce(e)) return e.on("change", (c) => i.set(parseFloat(c))); }, [i]), i ); } function pl(e, t, n) { var r; if (typeof e == "string") { let i = document; t && (jt(!!t.current, "Scope provided, but no element detected."), (i = t.current)), n ? (((r = n[e]) !== null && r !== void 0) || (n[e] = i.querySelectorAll(e)), (e = n[e])) : (e = i.querySelectorAll(e)); } else e instanceof Element && (e = [e]); return Array.from(e || []); } var Ha = new WeakMap(), gr; function yP(e, t) { if (t) { let { inlineSize: n, blockSize: r } = t[0]; return { width: n, height: r }; } else return e instanceof SVGElement && "getBBox" in e ? e.getBBox() : { width: e.offsetWidth, height: e.offsetHeight }; } function bP({ target: e, contentRect: t, borderBoxSize: n }) { var r; (r = Ha.get(e)) === null || r === void 0 || r.forEach((i) => { i({ target: e, contentSize: t, get size() { return yP(e, n); }, }); }); } function xP(e) { e.forEach(bP); } function SP() { typeof ResizeObserver > "u" || (gr = new ResizeObserver(xP)); } function wP(e, t) { gr || SP(); let n = pl(e); return ( n.forEach((r) => { let i = Ha.get(r); i || ((i = new Set()), Ha.set(r, i)), i.add(t), gr?.observe(r); }), () => { n.forEach((r) => { let i = Ha.get(r); i?.delete(t), i?.size || gr?.unobserve(r); }); } ); } var ja = new Set(), es; function kP() { (es = () => { let e = { width: window.innerWidth, height: window.innerHeight }, t = { target: window, size: e, contentSize: e }; ja.forEach((n) => n(t)); }), window.addEventListener("resize", es); } function CP(e) { return ( ja.add(e), es || kP(), () => { ja.delete(e), !ja.size && es && (es = void 0); } ); } function TP(e, t) { return typeof e == "function" ? CP(e) : wP(e, t); } var EP = 50, jv = () => ({ current: 0, offset: [], progress: 0, scrollLength: 0, targetOffset: 0, targetLength: 0, containerLength: 0, velocity: 0, }), RP = () => ({ time: 0, x: jv(), y: jv() }), PP = { x: { length: "Width", position: "Left" }, y: { length: "Height", position: "Top" }, }; function Wv(e, t, n, r) { let i = n[t], { length: o, position: s } = PP[t], a = i.current, l = n.time; (i.current = e[`scroll${s}`]), (i.scrollLength = e[`scroll${o}`] - e[`client${o}`]), (i.offset.length = 0), (i.offset[0] = 0), (i.offset[1] = i.scrollLength), (i.progress = xr(0, i.scrollLength, i.current)); let c = r - l; i.velocity = c > EP ? 0 : bf(i.current - a, c); } function _P(e, t, n) { Wv(e, "x", t, n), Wv(e, "y", t, n), (t.time = n); } function IP(e, t) { let n = { x: 0, y: 0 }, r = e; for (; r && r !== t; ) if (r instanceof HTMLElement) (n.x += r.offsetLeft), (n.y += r.offsetTop), (r = r.offsetParent); else if (r.tagName === "svg") { let i = r.getBoundingClientRect(); r = r.parentElement; let o = r.getBoundingClientRect(); (n.x += i.left - o.left), (n.y += i.top - o.top); } else if (r instanceof SVGGraphicsElement) { let { x: i, y: o } = r.getBBox(); (n.x += i), (n.y += o); let s = null, a = r.parentNode; for (; !s; ) a.tagName === "svg" && (s = a), (a = r.parentNode); r = s; } else break; return n; } var FP = { Enter: [ [0, 1], [1, 1], ], Exit: [ [0, 0], [1, 0], ], Any: [ [1, 0], [0, 1], ], All: [ [0, 0], [1, 1], ], }, rf = { start: 0, center: 0.5, end: 1 }; function Uv(e, t, n = 0) { let r = 0; if ((e in rf && (e = rf[e]), typeof e == "string")) { let i = parseFloat(e); e.endsWith("px") ? (r = i) : e.endsWith("%") ? (e = i / 100) : e.endsWith("vw") ? (r = (i / 100) * document.documentElement.clientWidth) : e.endsWith("vh") ? (r = (i / 100) * document.documentElement.clientHeight) : (e = i); } return typeof e == "number" && (r = t * e), n + r; } var LP = [0, 0]; function MP(e, t, n, r) { let i = Array.isArray(e) ? e : LP, o = 0, s = 0; return ( typeof e == "number" ? (i = [e, e]) : typeof e == "string" && ((e = e.trim()), e.includes(" ") ? (i = e.split(" ")) : (i = [e, rf[e] ? e : "0"])), (o = Uv(i[0], n, r)), (s = Uv(i[1], t)), o - s ); } var OP = { x: 0, y: 0 }; function DP(e) { return "getBBox" in e && e.tagName !== "svg" ? e.getBBox() : { width: e.clientWidth, height: e.clientHeight }; } function AP(e, t, n) { let { offset: r = FP.All } = n, { target: i = e, axis: o = "y" } = n, s = o === "y" ? "height" : "width", a = i !== e ? IP(i, e) : OP, l = i === e ? { width: e.scrollWidth, height: e.scrollHeight } : DP(i), c = { width: e.clientWidth, height: e.clientHeight }; t[o].offset.length = 0; let u = !t[o].interpolate, f = r.length; for (let d = 0; d < f; d++) { let m = MP(r[d], c[s], l[s], a[o]); !u && m !== t[o].interpolatorOffsets[d] && (u = !0), (t[o].offset[d] = m); } u && ((t[o].interpolate = qi(t[o].offset, _f(r))), (t[o].interpolatorOffsets = [...t[o].offset])), (t[o].progress = t[o].interpolate(t[o].current)); } function VP(e, t = e, n) { if (((n.x.targetOffset = 0), (n.y.targetOffset = 0), t !== e)) { let r = t; for (; r && r !== e; ) (n.x.targetOffset += r.offsetLeft), (n.y.targetOffset += r.offsetTop), (r = r.offsetParent); } (n.x.targetLength = t === e ? t.scrollWidth : t.clientWidth), (n.y.targetLength = t === e ? t.scrollHeight : t.clientHeight), (n.x.containerLength = e.clientWidth), (n.y.containerLength = e.clientHeight); } function BP(e, t, n, r = {}) { return { measure: () => VP(e, r.target, n), update: (i) => { _P(e, n, i), (r.offset || r.target) && AP(e, n, r); }, notify: () => t(n), }; } var Xo = new WeakMap(), Xv = new WeakMap(), zu = new WeakMap(), Yv = (e) => (e === document.documentElement ? window : e); function Qi(e, { container: t = document.documentElement, ...n } = {}) { let r = zu.get(t); r || ((r = new Set()), zu.set(t, r)); let i = RP(), o = BP(t, e, i, n); if ((r.add(o), !Xo.has(t))) { let a = () => { for (let d of r) d.measure(); }, l = () => { for (let d of r) d.update(Le.timestamp); }, c = () => { for (let d of r) d.notify(); }, u = () => { X.read(a, !1, !0), X.read(l, !1, !0), X.update(c, !1, !0); }; Xo.set(t, u); let f = Yv(t); window.addEventListener("resize", u, { passive: !0 }), t !== document.documentElement && Xv.set(t, TP(t, u)), f.addEventListener("scroll", u, { passive: !0 }); } let s = Xo.get(t); return ( X.read(s, !1, !0), () => { var a; bt(s); let l = zu.get(t); if (!l || (l.delete(o), l.size)) return; let c = Xo.get(t); Xo.delete(t), c && (Yv(t).removeEventListener("scroll", c), (a = Xv.get(t)) === null || a === void 0 || a(), window.removeEventListener("resize", c)); } ); } function Gv(e, t) { Yi( !!(!t || t.current), `You have defined a ${e} options but the provided ref is not yet hydrated, probably because it's defined higher up the tree. Try calling useScroll() in the same component as the ref, or setting its \`layoutEffect: false\` option.` ); } var $P = () => ({ scrollX: Me(0), scrollY: Me(0), scrollXProgress: Me(0), scrollYProgress: Me(0), }); function jy({ container: e, target: t, layoutEffect: n = !0, ...r } = {}) { let i = nr($P); return ( (n ? Sr : N)( () => ( Gv("target", t), Gv("container", e), Qi( ({ x: s, y: a }) => { i.scrollX.set(s.current), i.scrollXProgress.set(s.progress), i.scrollY.set(a.current), i.scrollYProgress.set(a.progress); }, { ...r, container: e?.current || void 0, target: t?.current || void 0, } ) ), [e, t, JSON.stringify(r.offset)] ), i ); } function zP(e) { let t = D(0), { isStatic: n } = O(Dn); N(() => { if (n) return; let r = ({ timestamp: i, delta: o }) => { t.current || (t.current = i), e(i - t.current, o); }; return X.update(r, !0), () => bt(r); }, [e]); } function Wy() { !jf.current && qg(); let [e] = yt(qa.current); return e; } function ci() { let e = Wy(), { reducedMotion: t } = O(Dn); return t === "never" ? !1 : t === "always" ? !0 : e; } function NP(e) { e.values.forEach((t) => t.stop()); } function of(e, t) { [...t].reverse().forEach((r) => { let i = e.getVariant(r); i && Bf(e, i), e.variantChildren && e.variantChildren.forEach((o) => { of(o, t); }); }); } function HP(e, t) { if (Array.isArray(t)) return of(e, t); if (typeof t == "string") return of(e, [t]); Bf(e, t); } function Uy() { let e = !1, t = new Set(), n = { subscribe(r) { return t.add(r), () => void t.delete(r); }, start(r, i) { jt( e, "controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook." ); let o = []; return ( t.forEach((s) => { o.push(zf(s, r, { transitionOverride: i })); }), Promise.all(o) ); }, set(r) { return ( jt( e, "controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook." ), t.forEach((i) => { HP(i, r); }) ); }, stop() { t.forEach((r) => { NP(r); }); }, mount() { return ( (e = !0), () => { (e = !1), n.stop(); } ); }, }; return n; } var Xy = (e, t, n) => { let r = t - e; return ((((n - e) % r) + r) % r) + e; }; function jP(e) { return typeof e == "object" && !Array.isArray(e); } function WP(e) { let t = { presenceContext: null, props: {}, visualState: { renderState: { transform: {}, transformOrigin: {}, style: {}, vars: {}, attrs: {}, }, latestValues: {}, }, }, n = ky(e) ? new Fy(t, { enableHardwareAcceleration: !1 }) : new Iy(t, { enableHardwareAcceleration: !0 }); n.mount(e), tr.set(e, n); } function UP(e, t = 100) { let n = cs({ keyframes: [0, t], ...e }), r = Math.min(Lg(n), Yu); return { type: "keyframes", ease: (i) => n.next(r * i).value / t, duration: On(r), }; } function Kv(e, t, n, r) { var i; return typeof t == "number" ? t : t.startsWith("-") || t.startsWith("+") ? Math.max(0, e + parseFloat(t)) : t === "<" ? n : (i = r.get(t)) !== null && i !== void 0 ? i : e; } function XP(e, t) { return _g(e) ? e[Xy(0, e.length, t)] : e; } function YP(e, t, n) { for (let r = 0; r < e.length; r++) { let i = e[r]; i.at > t && i.at < n && (ul(e, i), r--); } } function GP(e, t, n, r, i, o) { YP(e, i, o); for (let s = 0; s < t.length; s++) e.push({ value: t[s], at: xe(i, o, r[s]), easing: XP(n, s) }); } function KP(e, t) { return e.at === t.at ? e.value === null ? 1 : t.value === null ? -1 : 0 : e.at - t.at; } var qP = "easeInOut"; function QP(e, { defaultTransition: t = {}, ...n } = {}, r) { let i = t.duration || 0.3, o = new Map(), s = new Map(), a = {}, l = new Map(), c = 0, u = 0, f = 0; for (let d = 0; d < e.length; d++) { let m = e[d]; if (typeof m == "string") { l.set(m, u); continue; } else if (!Array.isArray(m)) { l.set(m.name, Kv(u, m.at, c, l)); continue; } let [y, v, x = {}] = m; x.at !== void 0 && (u = Kv(u, x.at, c, l)); let p = 0, h = (g, S, k, w = 0, T = 0) => { let R = ZP(g), { delay: F = 0, times: I = _f(R), type: $ = "keyframes", ...V } = S, { ease: Q = t.ease || "easeOut", duration: J } = S, j = typeof F == "function" ? F(w, T) : F, te = R.length; if (te <= 2 && $ === "spring") { let ee = 100; if (te === 2 && t_(R)) { let Z = R[1] - R[0]; ee = Math.abs(Z); } let ie = { ...V }; J !== void 0 && (ie.duration = Mn(J)); let ue = UP(ie, ee); (Q = ue.ease), (J = ue.duration); } J ?? (J = i); let U = u + j, q = U + J; I.length === 1 && I[0] === 0 && (I[1] = 1); let H = I.length - R.length; H > 0 && Ig(I, H), R.length === 1 && R.unshift(null), GP(k, R, Q, I, U, q), (p = Math.max(j + J, p)), (f = Math.max(q, f)); }; if (Ce(y)) { let g = qv(y, s); h(v, x, Qv("default", g)); } else { let g = pl(y, r, a), S = g.length; for (let k = 0; k < S; k++) { (v = v), (x = x); let w = g[k], T = qv(w, s); for (let R in v) h(v[R], JP(x, R), Qv(R, T), k, S); } } (c = u), (u += p); } return ( s.forEach((d, m) => { for (let y in d) { let v = d[y]; v.sort(KP); let x = [], p = [], h = []; for (let S = 0; S < v.length; S++) { let { at: k, value: w, easing: T } = v[S]; x.push(w), p.push(xr(0, f, k)), h.push(T || "easeOut"); } p[0] !== 0 && (p.unshift(0), x.unshift(x[0]), h.unshift(qP)), p[p.length - 1] !== 1 && (p.push(1), x.push(null)), o.has(m) || o.set(m, { keyframes: {}, transition: {} }); let g = o.get(m); (g.keyframes[y] = x), (g.transition[y] = { ...t, duration: f, ease: h, times: p, ...n }); } }), o ); } function qv(e, t) { return !t.has(e) && t.set(e, {}), t.get(e); } function Qv(e, t) { return t[e] || (t[e] = []), t[e]; } function ZP(e) { return Array.isArray(e) ? e : [e]; } function JP(e, t) { return e[t] ? { ...e, ...e[t] } : { ...e }; } var e_ = (e) => typeof e == "number", t_ = (e) => e.every(e_); function Yy(e, t, n, r) { let i = pl(e, r), o = i.length; jt(!!o, "No valid element provided."); let s = []; for (let a = 0; a < o; a++) { let l = i[a]; tr.has(l) || WP(l); let c = tr.get(l), u = { ...n }; typeof u.delay == "function" && (u.delay = u.delay(a, o)), s.push(...$f(c, { ...t, transition: u }, {})); } return new Af(s); } var n_ = (e) => Array.isArray(e) && Array.isArray(e[0]); function r_(e, t, n) { let r = []; return ( QP(e, t, n).forEach(({ keyframes: o, transition: s }, a) => { let l; Ce(a) ? (l = qf(a, o.default, s.default)) : (l = Yy(a, o, s)), r.push(l); }), new Af(r) ); } var Gy = (e) => { function t(n, r, i) { let o; return ( n_(n) ? (o = r_(n, r, e)) : jP(r) ? (o = Yy(n, r, i, e)) : (o = qf(n, r, i)), e && e.animations.push(o), o ); } return t; }, ui = Gy(); function Ky() { let e = nr(Uy); return Sr(e.mount, []), e; } var qy = Ky; var i_ = { some: 0, all: 1 }; function Qy(e, t, { root: n, margin: r, amount: i = "some" } = {}) { let o = pl(e), s = new WeakMap(), a = (c) => { c.forEach((u) => { let f = s.get(u.target); if (u.isIntersecting !== !!f) if (u.isIntersecting) { let d = t(u); typeof d == "function" ? s.set(u.target, d) : l.unobserve(u.target); } else f && (f(u), s.delete(u.target)); }); }, l = new IntersectionObserver(a, { root: n, rootMargin: r, threshold: typeof i == "number" ? i : i_[i], }); return o.forEach((c) => l.observe(c)), () => l.disconnect(); } function o_(e, { root: t, margin: n, amount: r, once: i = !1 } = {}) { let [o, s] = yt(!1); return ( N(() => { if (!e.current || (i && o)) return; let a = () => (s(!0), i ? void 0 : () => s(!1)), l = { root: (t && t.current) || void 0, margin: n, amount: r }; return Qy(e.current, a, l); }, [t, e, n, i, r]), o ); } function Jf(e) { return e !== null && typeof e == "object" && hf in e; } function Zy(e) { if (Jf(e)) return e[hf]; } function ed() { return s_; } function s_(e) { si.current && ((si.current.isUpdating = !1), si.current.blockUpdate(), e && e()); } function Jy() { let [e, t] = hl(), n = ed(), r = D(); return ( N(() => { X.postRender(() => X.postRender(() => { t === r.current && (Ya.current = !1); }) ); }, [t]), (i) => { n(() => { (Ya.current = !0), e(), i(), (r.current = t + 1); }); } ); } function e0() { return me(() => { let t = si.current; t && t.resetTree(); }, []); } var Zv = () => ({}); var DB = il({ scrapeMotionValuesFromProps: Zv, createRenderState: Zv }); var a_ = Yo.reduce((e, t) => ((e[t] = (n) => bt(n)), e), {}); nn(); var HI = {}; wu(HI, { __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: () => II, createPortal: () => FI, createRoot: () => LI, default: () => g1, findDOMNode: () => MI, flushSync: () => OI, hydrate: () => DI, hydrateRoot: () => AI, render: () => VI, unmountComponentAtNode: () => BI, unstable_batchedUpdates: () => $I, unstable_renderSubtreeIntoContainer: () => zI, version: () => NI, }); nn(); var xl = {}; wu(xl, { default: () => Y, unstable_IdlePriority: () => u_, unstable_ImmediatePriority: () => f_, unstable_LowPriority: () => d_, unstable_NormalPriority: () => h_, unstable_Profiling: () => p_, unstable_UserBlockingPriority: () => m_, unstable_cancelCallback: () => v_, unstable_continueExecution: () => g_, unstable_forceFrameRate: () => y_, unstable_getCurrentPriorityLevel: () => b_, unstable_getFirstCallbackNode: () => x_, unstable_next: () => S_, unstable_now: () => c_, unstable_pauseExecution: () => w_, unstable_requestPaint: () => k_, unstable_runWithPriority: () => C_, unstable_scheduleCallback: () => T_, unstable_shouldYield: () => E_, unstable_wrapCallback: () => R_, }); nn(); var Y = {}; function id(e, t) { var n = e.length; e.push(t); e: for (; 0 < n; ) { var r = (n - 1) >>> 1, i = e[r]; if (!(0 < ml(i, t))) break e; (e[r] = t), (e[n] = i), (n = r); } } function bn(e) { return e.length === 0 ? null : e[0]; } function gl(e) { if (e.length === 0) return null; var t = e[0], n = e.pop(); if (n !== t) { e[0] = n; e: for (var r = 0, i = e.length, o = i >>> 1; r < o; ) { var s = 2 * (r + 1) - 1, a = e[s], l = s + 1, c = e[l]; if (0 > ml(a, n)) l < i && 0 > ml(c, a) ? ((e[r] = c), (e[l] = n), (r = l)) : ((e[r] = a), (e[s] = n), (r = s)); else { if (!(l < i && 0 > ml(c, n))) break e; (e[r] = c), (e[l] = n), (r = l); } } } return t; } function ml(e, t) { var n = e.sortIndex - t.sortIndex; return n !== 0 ? n : e.id - t.id; } typeof performance == "object" && typeof performance.now == "function" ? ((t0 = performance), (Y.unstable_now = function () { return t0.now(); })) : ((td = Date), (n0 = td.now()), (Y.unstable_now = function () { return td.now() - n0; })); var t0, td, n0, Bn = [], kr = [], l_ = 1, an = null, ct = 3, yl = !1, fi = !1, ds = !1, o0 = typeof setTimeout == "function" ? setTimeout : null, s0 = typeof clearTimeout == "function" ? clearTimeout : null, r0 = typeof setImmediate < "u" ? setImmediate : null; typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling); function od(e) { for (var t = bn(kr); t !== null; ) { if (t.callback === null) gl(kr); else { if (!(t.startTime <= e)) break; gl(kr), (t.sortIndex = t.expirationTime), id(Bn, t); } t = bn(kr); } } function sd(e) { if (((ds = !1), od(e), !fi)) if (bn(Bn) !== null) (fi = !0), ld(ad); else { var t = bn(kr); t !== null && cd(sd, t.startTime - e); } } function ad(e, t) { (fi = !1), ds && ((ds = !1), s0(hs), (hs = -1)), (yl = !0); var n = ct; try { for ( od(t), an = bn(Bn); an !== null && (!(an.expirationTime > t) || (e && !c0())); ) { var r = an.callback; if (typeof r == "function") { (an.callback = null), (ct = an.priorityLevel); var i = r(an.expirationTime <= t); (t = Y.unstable_now()), typeof i == "function" ? (an.callback = i) : an === bn(Bn) && gl(Bn), od(t); } else gl(Bn); an = bn(Bn); } if (an !== null) var o = !0; else { var s = bn(kr); s !== null && cd(sd, s.startTime - t), (o = !1); } return o; } finally { (an = null), (ct = n), (yl = !1); } } var bl = !1, vl = null, hs = -1, a0 = 5, l0 = -1; function c0() { return !(Y.unstable_now() - l0 < a0); } function nd() { if (vl !== null) { var e = Y.unstable_now(); l0 = e; var t = !0; try { t = vl(!0, e); } finally { t ? fs() : ((bl = !1), (vl = null)); } } else bl = !1; } var fs; typeof r0 == "function" ? (fs = function () { r0(nd); }) : typeof MessageChannel < "u" ? ((rd = new MessageChannel()), (i0 = rd.port2), (rd.port1.onmessage = nd), (fs = function () { i0.postMessage(null); })) : (fs = function () { o0(nd, 0); }); var rd, i0; function ld(e) { (vl = e), bl || ((bl = !0), fs()); } function cd(e, t) { hs = o0(function () { e(Y.unstable_now()); }, t); } Y.unstable_IdlePriority = 5; Y.unstable_ImmediatePriority = 1; Y.unstable_LowPriority = 4; Y.unstable_NormalPriority = 3; Y.unstable_Profiling = null; Y.unstable_UserBlockingPriority = 2; Y.unstable_cancelCallback = function (e) { e.callback = null; }; Y.unstable_continueExecution = function () { fi || yl || ((fi = !0), ld(ad)); }; Y.unstable_forceFrameRate = function (e) { 0 > e || 125 < e ? console.error( "forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported" ) : (a0 = 0 < e ? Math.floor(1e3 / e) : 5); }; Y.unstable_getCurrentPriorityLevel = function () { return ct; }; Y.unstable_getFirstCallbackNode = function () { return bn(Bn); }; Y.unstable_next = function (e) { switch (ct) { case 1: case 2: case 3: var t = 3; break; default: t = ct; } var n = ct; ct = t; try { return e(); } finally { ct = n; } }; Y.unstable_pauseExecution = function () {}; Y.unstable_requestPaint = function () {}; Y.unstable_runWithPriority = function (e, t) { switch (e) { case 1: case 2: case 3: case 4: case 5: break; default: e = 3; } var n = ct; ct = e; try { return t(); } finally { ct = n; } }; Y.unstable_scheduleCallback = function (e, t, n) { var r = Y.unstable_now(); switch ( (typeof n == "object" && n !== null ? ((n = n.delay), (n = typeof n == "number" && 0 < n ? r + n : r)) : (n = r), e) ) { case 1: var i = -1; break; case 2: i = 250; break; case 5: i = 1073741823; break; case 4: i = 1e4; break; default: i = 5e3; } return ( (i = n + i), (e = { id: l_++, callback: t, priorityLevel: e, startTime: n, expirationTime: i, sortIndex: -1, }), n > r ? ((e.sortIndex = n), id(kr, e), bn(Bn) === null && e === bn(kr) && (ds ? (s0(hs), (hs = -1)) : (ds = !0), cd(sd, n - r))) : ((e.sortIndex = i), id(Bn, e), fi || yl || ((fi = !0), ld(ad))), e ); }; Y.unstable_shouldYield = c0; Y.unstable_wrapCallback = function (e) { var t = ct; return function () { var n = ct; ct = t; try { return e.apply(this, arguments); } finally { ct = n; } }; }; var c_ = Y.unstable_now, u_ = Y.unstable_IdlePriority, f_ = Y.unstable_ImmediatePriority, d_ = Y.unstable_LowPriority, h_ = Y.unstable_NormalPriority, p_ = Y.unstable_Profiling, m_ = Y.unstable_UserBlockingPriority, v_ = Y.unstable_cancelCallback, g_ = Y.unstable_continueExecution, y_ = Y.unstable_forceFrameRate, b_ = Y.unstable_getCurrentPriorityLevel, x_ = Y.unstable_getFirstCallbackNode, S_ = Y.unstable_next, w_ = Y.unstable_pauseExecution, k_ = Y.unstable_requestPaint, C_ = Y.unstable_runWithPriority, T_ = Y.unstable_scheduleCallback, E_ = Y.unstable_shouldYield, R_ = Y.unstable_wrapCallback; var P_ = "default" in _t ? b : _t, __ = "default" in xl ? Y : xl, Kt = {}, vb = P_, Gt = __; function L(e) { for ( var t = "https://reactjs.org/docs/error-decoder.html?invariant=" + e, n = 1; n < arguments.length; n++ ) t += "&args[]=" + encodeURIComponent(arguments[n]); return ( "Minified React error #" + e + "; visit " + t + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings." ); } var gb = new Set(), Ds = {}; function Ci(e, t) { bo(e, t), bo(e + "Capture", t); } function bo(e, t) { for (Ds[e] = t, e = 0; e < t.length; e++) gb.add(t[e]); } var lr = !( typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ), Ld = Object.prototype.hasOwnProperty, I_ = /^[: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]*$/, u0 = {}, f0 = {}; function F_(e) { return Ld.call(f0, e) ? !0 : Ld.call(u0, e) ? !1 : I_.test(e) ? (f0[e] = !0) : ((u0[e] = !0), !1); } function L_(e, t, n, r) { if (n !== null && n.type === 0) return !1; switch (typeof t) { case "function": case "symbol": return !0; case "boolean": return r ? !1 : n !== null ? !n.acceptsBooleans : ((e = e.toLowerCase().slice(0, 5)), e !== "data-" && e !== "aria-"); default: return !1; } } function M_(e, t, n, r) { if (t === null || typeof t > "u" || L_(e, t, n, r)) return !0; if (r) return !1; if (n !== null) switch (n.type) { case 3: return !t; case 4: return t === !1; case 5: return isNaN(t); case 6: return isNaN(t) || 1 > t; } return !1; } function kt(e, t, n, r, i, o, s) { (this.acceptsBooleans = t === 2 || t === 3 || t === 4), (this.attributeName = r), (this.attributeNamespace = i), (this.mustUseProperty = n), (this.propertyName = e), (this.type = t), (this.sanitizeURL = o), (this.removeEmptyString = s); } var ot = {}; "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style" .split(" ") .forEach(function (e) { ot[e] = new kt(e, 0, !1, e, null, !1, !1); }); [ ["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"], ].forEach(function (e) { var t = e[0]; ot[t] = new kt(t, 1, !1, e[1], null, !1, !1); }); ["contentEditable", "draggable", "spellCheck", "value"].forEach(function (e) { ot[e] = new kt(e, 2, !1, e.toLowerCase(), null, !1, !1); }); [ "autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha", ].forEach(function (e) { ot[e] = new kt(e, 2, !1, e, 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 (e) { ot[e] = new kt(e, 3, !1, e.toLowerCase(), null, !1, !1); }); ["checked", "multiple", "muted", "selected"].forEach(function (e) { ot[e] = new kt(e, 3, !0, e, null, !1, !1); }); ["capture", "download"].forEach(function (e) { ot[e] = new kt(e, 4, !1, e, null, !1, !1); }); ["cols", "rows", "size", "span"].forEach(function (e) { ot[e] = new kt(e, 6, !1, e, null, !1, !1); }); ["rowSpan", "start"].forEach(function (e) { ot[e] = new kt(e, 5, !1, e.toLowerCase(), null, !1, !1); }); var kh = /[\-:]([a-z])/g; function Ch(e) { return e[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 (e) { var t = e.replace(kh, Ch); ot[t] = new kt(t, 1, !1, e, null, !1, !1); }); "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type" .split(" ") .forEach(function (e) { var t = e.replace(kh, Ch); ot[t] = new kt(t, 1, !1, e, "http://www.w3.org/1999/xlink", !1, !1); }); ["xml:base", "xml:lang", "xml:space"].forEach(function (e) { var t = e.replace(kh, Ch); ot[t] = new kt(t, 1, !1, e, "http://www.w3.org/XML/1998/namespace", !1, !1); }); ["tabIndex", "crossOrigin"].forEach(function (e) { ot[e] = new kt(e, 1, !1, e.toLowerCase(), null, !1, !1); }); ot.xlinkHref = new kt( "xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1 ); ["src", "href", "action", "formAction"].forEach(function (e) { ot[e] = new kt(e, 1, !1, e.toLowerCase(), null, !0, !0); }); function Th(e, t, n, r) { var i = ot.hasOwnProperty(t) ? ot[t] : null; (i !== null ? i.type !== 0 : r || !(2 < t.length) || (t[0] !== "o" && t[0] !== "O") || (t[1] !== "n" && t[1] !== "N")) && (M_(t, n, i, r) && (n = null), r || i === null ? F_(t) && (n === null ? e.removeAttribute(t) : e.setAttribute(t, "" + n)) : i.mustUseProperty ? (e[i.propertyName] = n === null ? i.type !== 3 && "" : n) : ((t = i.attributeName), (r = i.attributeNamespace), n === null ? e.removeAttribute(t) : ((i = i.type), (n = i === 3 || (i === 4 && n === !0) ? "" : "" + n), r ? e.setAttributeNS(r, t, n) : e.setAttribute(t, n)))); } var dr = vb.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, Sl = Symbol.for("react.element"), eo = Symbol.for("react.portal"), to = Symbol.for("react.fragment"), Eh = Symbol.for("react.strict_mode"), Md = Symbol.for("react.profiler"), yb = Symbol.for("react.provider"), bb = Symbol.for("react.context"), Rh = Symbol.for("react.forward_ref"), Od = Symbol.for("react.suspense"), Dd = Symbol.for("react.suspense_list"), Ph = Symbol.for("react.memo"), Tr = Symbol.for("react.lazy"); Symbol.for("react.scope"); Symbol.for("react.debug_trace_mode"); var xb = Symbol.for("react.offscreen"); Symbol.for("react.legacy_hidden"); Symbol.for("react.cache"); Symbol.for("react.tracing_marker"); var d0 = Symbol.iterator; function ps(e) { return e === null || typeof e != "object" ? null : ((e = (d0 && e[d0]) || e["@@iterator"]), typeof e == "function" ? e : null); } var ud, Pe = Object.assign; function ws(e) { if (ud === void 0) try { throw Error(); } catch (n) { var t = n.stack.trim().match(/\n( *(at )?)/); ud = (t && t[1]) || ""; } return ( ` ` + ud + e ); } var fd = !1; function dd(e, t) { if (!e || fd) return ""; fd = !0; var n = Error.prepareStackTrace; Error.prepareStackTrace = void 0; try { if (t) if ( ((t = function () { throw Error(); }), Object.defineProperty(t.prototype, "props", { set: function () { throw Error(); }, }), typeof Reflect == "object" && Reflect.construct) ) { try { Reflect.construct(t, []); } catch (c) { var r = c; } Reflect.construct(e, [], t); } else { try { t.call(); } catch (c) { r = c; } e.call(t.prototype); } else { try { throw Error(); } catch (c) { r = c; } e(); } } catch (c) { if (c && r && typeof c.stack == "string") { for ( var i = c.stack.split(` `), o = r.stack.split(` `), s = i.length - 1, a = o.length - 1; 1 <= s && 0 <= a && i[s] !== o[a]; ) a--; for (; 1 <= s && 0 <= a; s--, a--) if (i[s] !== o[a]) { if (s !== 1 || a !== 1) do if ((s--, a--, 0 > a || i[s] !== o[a])) { var l = ` ` + i[s].replace(" at new ", " at "); return ( e.displayName && l.includes("") && (l = l.replace("", e.displayName)), l ); } while (1 <= s && 0 <= a); break; } } } finally { (fd = !1), (Error.prepareStackTrace = n); } return (e = e ? e.displayName || e.name : "") ? ws(e) : ""; } function O_(e) { switch (e.tag) { case 5: return ws(e.type); case 16: return ws("Lazy"); case 13: return ws("Suspense"); case 19: return ws("SuspenseList"); case 0: case 2: case 15: return (e = dd(e.type, !1)), e; case 11: return (e = dd(e.type.render, !1)), e; case 1: return (e = dd(e.type, !0)), e; default: return ""; } } function Ad(e) { if (e == null) return null; if (typeof e == "function") return e.displayName || e.name || null; if (typeof e == "string") return e; switch (e) { case to: return "Fragment"; case eo: return "Portal"; case Md: return "Profiler"; case Eh: return "StrictMode"; case Od: return "Suspense"; case Dd: return "SuspenseList"; } if (typeof e == "object") switch (e.$$typeof) { case bb: return (e.displayName || "Context") + ".Consumer"; case yb: return (e._context.displayName || "Context") + ".Provider"; case Rh: var t = e.render; return ( (e = e.displayName), e || ((e = t.displayName || t.name || ""), (e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef")), e ); case Ph: return ( (t = e.displayName || null), t !== null ? t : Ad(e.type) || "Memo" ); case Tr: (t = e._payload), (e = e._init); try { return Ad(e(t)); } catch {} } return null; } function D_(e) { var t = e.type; switch (e.tag) { case 24: return "Cache"; case 9: return (t.displayName || "Context") + ".Consumer"; case 10: return (t._context.displayName || "Context") + ".Provider"; case 18: return "DehydratedFragment"; case 11: return ( (e = t.render), (e = e.displayName || e.name || ""), t.displayName || (e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef") ); case 7: return "Fragment"; case 5: return t; case 4: return "Portal"; case 3: return "Root"; case 6: return "Text"; case 16: return Ad(t); case 8: return t === Eh ? "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 t == "function") return t.displayName || t.name || null; if (typeof t == "string") return t; } return null; } function $r(e) { switch (typeof e) { case "boolean": case "number": case "string": case "undefined": return e; case "object": return e; default: return ""; } } function Sb(e) { var t = e.type; return ( (e = e.nodeName) && e.toLowerCase() === "input" && (t === "checkbox" || t === "radio") ); } function A_(e) { var t = Sb(e) ? "checked" : "value", n = Object.getOwnPropertyDescriptor(e.constructor.prototype, t), r = "" + e[t]; if ( !e.hasOwnProperty(t) && typeof n < "u" && typeof n.get == "function" && typeof n.set == "function" ) { var i = n.get, o = n.set; return ( Object.defineProperty(e, t, { configurable: !0, get: function () { return i.call(this); }, set: function (s) { (r = "" + s), o.call(this, s); }, }), Object.defineProperty(e, t, { enumerable: n.enumerable }), { getValue: function () { return r; }, setValue: function (s) { r = "" + s; }, stopTracking: function () { (e._valueTracker = null), delete e[t]; }, } ); } } function wl(e) { e._valueTracker || (e._valueTracker = A_(e)); } function wb(e) { if (!e) return !1; var t = e._valueTracker; if (!t) return !0; var n = t.getValue(), r = ""; return ( e && (r = Sb(e) ? (e.checked ? "true" : "false") : e.value), (e = r), e !== n && (t.setValue(e), !0) ); } function ql(e) { if (((e = e || (typeof document < "u" ? document : void 0)), typeof e > "u")) return null; try { return e.activeElement || e.body; } catch { return e.body; } } function Vd(e, t) { var n = t.checked; return Pe({}, t, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: n ?? e._wrapperState.initialChecked, }); } function h0(e, t) { var n = t.defaultValue == null ? "" : t.defaultValue, r = t.checked != null ? t.checked : t.defaultChecked; (n = $r(t.value != null ? t.value : n)), (e._wrapperState = { initialChecked: r, initialValue: n, controlled: t.type === "checkbox" || t.type === "radio" ? t.checked != null : t.value != null, }); } function kb(e, t) { (t = t.checked), t != null && Th(e, "checked", t, !1); } function Bd(e, t) { kb(e, t); var n = $r(t.value), r = t.type; if (n != null) r === "number" ? ((n === 0 && e.value === "") || e.value != n) && (e.value = "" + n) : e.value !== "" + n && (e.value = "" + n); else if (r === "submit" || r === "reset") { e.removeAttribute("value"); return; } t.hasOwnProperty("value") ? $d(e, t.type, n) : t.hasOwnProperty("defaultValue") && $d(e, t.type, $r(t.defaultValue)), t.checked == null && t.defaultChecked != null && (e.defaultChecked = !!t.defaultChecked); } function p0(e, t, n) { if (t.hasOwnProperty("value") || t.hasOwnProperty("defaultValue")) { var r = t.type; if ( !( (r !== "submit" && r !== "reset") || (t.value !== void 0 && t.value !== null) ) ) return; (t = "" + e._wrapperState.initialValue), n || t === e.value || (e.value = t), (e.defaultValue = t); } (n = e.name), n !== "" && (e.name = ""), (e.defaultChecked = !!e._wrapperState.initialChecked), n !== "" && (e.name = n); } function $d(e, t, n) { (t === "number" && ql(e.ownerDocument) === e) || (n == null ? (e.defaultValue = "" + e._wrapperState.initialValue) : e.defaultValue !== "" + n && (e.defaultValue = "" + n)); } var ks = Array.isArray; function ho(e, t, n, r) { if (((e = e.options), t)) { t = {}; for (var i = 0; i < n.length; i++) t["$" + n[i]] = !0; for (n = 0; n < e.length; n++) (i = t.hasOwnProperty("$" + e[n].value)), e[n].selected !== i && (e[n].selected = i), i && r && (e[n].defaultSelected = !0); } else { for (n = "" + $r(n), t = null, i = 0; i < e.length; i++) { if (e[i].value === n) { (e[i].selected = !0), r && (e[i].defaultSelected = !0); return; } t !== null || e[i].disabled || (t = e[i]); } t !== null && (t.selected = !0); } } function zd(e, t) { if (t.dangerouslySetInnerHTML != null) throw Error(L(91)); return Pe({}, t, { value: void 0, defaultValue: void 0, children: "" + e._wrapperState.initialValue, }); } function m0(e, t) { var n = t.value; if (n == null) { if (((n = t.children), (t = t.defaultValue), n != null)) { if (t != null) throw Error(L(92)); if (ks(n)) { if (1 < n.length) throw Error(L(93)); n = n[0]; } t = n; } t == null && (t = ""), (n = t); } e._wrapperState = { initialValue: $r(n) }; } function Cb(e, t) { var n = $r(t.value), r = $r(t.defaultValue); n != null && ((n = "" + n), n !== e.value && (e.value = n), t.defaultValue == null && e.defaultValue !== n && (e.defaultValue = n)), r != null && (e.defaultValue = "" + r); } function v0(e) { var t = e.textContent; t === e._wrapperState.initialValue && t !== "" && t !== null && (e.value = t); } function Tb(e) { switch (e) { 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 Nd(e, t) { return e == null || e === "http://www.w3.org/1999/xhtml" ? Tb(t) : e === "http://www.w3.org/2000/svg" && t === "foreignObject" ? "http://www.w3.org/1999/xhtml" : e; } var kl, Eb = (function (e) { return typeof MSApp < "u" && MSApp.execUnsafeLocalFunction ? function (t, n, r, i) { MSApp.execUnsafeLocalFunction(function () { return e(t, n, r, i); }); } : e; })(function (e, t) { if (e.namespaceURI !== "http://www.w3.org/2000/svg" || "innerHTML" in e) e.innerHTML = t; else { for ( kl = kl || document.createElement("div"), kl.innerHTML = "" + t.valueOf().toString() + "", t = kl.firstChild; e.firstChild; ) e.removeChild(e.firstChild); for (; t.firstChild; ) e.appendChild(t.firstChild); } }); function As(e, t) { if (t) { var n = e.firstChild; if (n && n === e.lastChild && n.nodeType === 3) { n.nodeValue = t; return; } } e.textContent = t; } var Es = { 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, }, V_ = ["Webkit", "ms", "Moz", "O"]; Object.keys(Es).forEach(function (e) { V_.forEach(function (t) { (t = t + e.charAt(0).toUpperCase() + e.substring(1)), (Es[t] = Es[e]); }); }); function Rb(e, t, n) { return t == null || typeof t == "boolean" || t === "" ? "" : n || typeof t != "number" || t === 0 || (Es.hasOwnProperty(e) && Es[e]) ? ("" + t).trim() : t + "px"; } function Pb(e, t) { e = e.style; for (var n in t) if (t.hasOwnProperty(n)) { var r = n.indexOf("--") === 0, i = Rb(n, t[n], r); n === "float" && (n = "cssFloat"), r ? e.setProperty(n, i) : (e[n] = i); } } var B_ = Pe( { 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 Hd(e, t) { if (t) { if (B_[e] && (t.children != null || t.dangerouslySetInnerHTML != null)) throw Error(L(137, e)); if (t.dangerouslySetInnerHTML != null) { if (t.children != null) throw Error(L(60)); if ( typeof t.dangerouslySetInnerHTML != "object" || !("__html" in t.dangerouslySetInnerHTML) ) throw Error(L(61)); } if (t.style != null && typeof t.style != "object") throw Error(L(62)); } } function jd(e, t) { if (e.indexOf("-") === -1) return typeof t.is == "string"; switch (e) { 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 Wd = null; function _h(e) { return ( (e = e.target || e.srcElement || window), e.correspondingUseElement && (e = e.correspondingUseElement), e.nodeType === 3 ? e.parentNode : e ); } var Ud = null, po = null, mo = null; function g0(e) { if ((e = ea(e))) { if (typeof Ud != "function") throw Error(L(280)); var t = e.stateNode; t && ((t = Cc(t)), Ud(e.stateNode, e.type, t)); } } function _b(e) { po ? (mo ? mo.push(e) : (mo = [e])) : (po = e); } function Ib() { if (po) { var e = po, t = mo; if (((mo = po = null), g0(e), t)) for (e = 0; e < t.length; e++) g0(t[e]); } } function Fb(e, t) { return e(t); } function Lb() {} var hd = !1; function Mb(e, t, n) { if (hd) return e(t, n); hd = !0; try { return Fb(e, t, n); } finally { (hd = !1), (po !== null || mo !== null) && (Lb(), Ib()); } } function Vs(e, t) { var n = e.stateNode; if (n === null) return null; var r = Cc(n); if (r === null) return null; n = r[t]; e: switch (t) { case "onClick": case "onClickCapture": case "onDoubleClick": case "onDoubleClickCapture": case "onMouseDown": case "onMouseDownCapture": case "onMouseMove": case "onMouseMoveCapture": case "onMouseUp": case "onMouseUpCapture": case "onMouseEnter": (r = !r.disabled) || ((e = e.type), (r = !( e === "button" || e === "input" || e === "select" || e === "textarea" ))), (e = !r); break e; default: e = !1; } if (e) return null; if (n && typeof n != "function") throw Error(L(231, t, typeof n)); return n; } var Xd = !1; if (lr) try { (Zi = {}), Object.defineProperty(Zi, "passive", { get: function () { Xd = !0; }, }), window.addEventListener("test", Zi, Zi), window.removeEventListener("test", Zi, Zi); } catch { Xd = !1; } var Zi; function $_(e, t, n, r, i, o, s, a, l) { var c = Array.prototype.slice.call(arguments, 3); try { t.apply(n, c); } catch (u) { this.onError(u); } } var Rs = !1, Ql = null, Zl = !1, Yd = null, z_ = { onError: function (e) { (Rs = !0), (Ql = e); }, }; function N_(e, t, n, r, i, o, s, a, l) { (Rs = !1), (Ql = null), $_.apply(z_, arguments); } function H_(e, t, n, r, i, o, s, a, l) { if ((N_.apply(this, arguments), Rs)) { if (!Rs) throw Error(L(198)); var c = Ql; (Rs = !1), (Ql = null), Zl || ((Zl = !0), (Yd = c)); } } function Ti(e) { var t = e, n = e; if (e.alternate) for (; t.return; ) t = t.return; else { e = t; do (t = e), 4098 & t.flags && (n = t.return), (e = t.return); while (e); } return t.tag === 3 ? n : null; } function Ob(e) { if (e.tag === 13) { var t = e.memoizedState; if ( (t === null && ((e = e.alternate), e !== null && (t = e.memoizedState)), t !== null) ) return t.dehydrated; } return null; } function y0(e) { if (Ti(e) !== e) throw Error(L(188)); } function j_(e) { var t = e.alternate; if (!t) { if (((t = Ti(e)), t === null)) throw Error(L(188)); return t !== e ? null : e; } for (var n = e, r = t; ; ) { var i = n.return; if (i === null) break; var o = i.alternate; if (o === null) { if (((r = i.return), r !== null)) { n = r; continue; } break; } if (i.child === o.child) { for (o = i.child; o; ) { if (o === n) return y0(i), e; if (o === r) return y0(i), t; o = o.sibling; } throw Error(L(188)); } if (n.return !== r.return) (n = i), (r = o); else { for (var s = !1, a = i.child; a; ) { if (a === n) { (s = !0), (n = i), (r = o); break; } if (a === r) { (s = !0), (r = i), (n = o); break; } a = a.sibling; } if (!s) { for (a = o.child; a; ) { if (a === n) { (s = !0), (n = o), (r = i); break; } if (a === r) { (s = !0), (r = o), (n = i); break; } a = a.sibling; } if (!s) throw Error(L(189)); } } if (n.alternate !== r) throw Error(L(190)); } if (n.tag !== 3) throw Error(L(188)); return n.stateNode.current === n ? e : t; } function Db(e) { return (e = j_(e)), e !== null ? Ab(e) : null; } function Ab(e) { if (e.tag === 5 || e.tag === 6) return e; for (e = e.child; e !== null; ) { var t = Ab(e); if (t !== null) return t; e = e.sibling; } return null; } var Vb = Gt.unstable_scheduleCallback, b0 = Gt.unstable_cancelCallback, W_ = Gt.unstable_shouldYield, U_ = Gt.unstable_requestPaint, $e = Gt.unstable_now, X_ = Gt.unstable_getCurrentPriorityLevel, Ih = Gt.unstable_ImmediatePriority, Bb = Gt.unstable_UserBlockingPriority, Jl = Gt.unstable_NormalPriority, Y_ = Gt.unstable_LowPriority, $b = Gt.unstable_IdlePriority, xc = null, Hn = null; function G_(e) { if (Hn && typeof Hn.onCommitFiberRoot == "function") try { Hn.onCommitFiberRoot(xc, e, void 0, (128 & e.current.flags) === 128); } catch {} } var Cn = Math.clz32 ? Math.clz32 : Q_, K_ = Math.log, q_ = Math.LN2; function Q_(e) { return (e >>>= 0), e === 0 ? 32 : (31 - ((K_(e) / q_) | 0)) | 0; } var Cl = 64, Tl = 4194304; function Cs(e) { switch (e & -e) { case 1: return 1; case 2: return 2; case 4: return 4; case 8: return 8; case 16: return 16; case 32: return 32; case 64: case 128: case 256: case 512: case 1024: case 2048: case 4096: case 8192: case 16384: case 32768: case 65536: case 131072: case 262144: case 524288: case 1048576: case 2097152: return 4194240 & e; case 4194304: case 8388608: case 16777216: case 33554432: case 67108864: return 130023424 & e; case 134217728: return 134217728; case 268435456: return 268435456; case 536870912: return 536870912; case 1073741824: return 1073741824; default: return e; } } function ec(e, t) { var n = e.pendingLanes; if (n === 0) return 0; var r = 0, i = e.suspendedLanes, o = e.pingedLanes, s = 268435455 & n; if (s !== 0) { var a = s & ~i; a !== 0 ? (r = Cs(a)) : ((o &= s), o !== 0 && (r = Cs(o))); } else (s = n & ~i), s !== 0 ? (r = Cs(s)) : o !== 0 && (r = Cs(o)); if (r === 0) return 0; if ( t !== 0 && t !== r && !(t & i) && ((i = r & -r), (o = t & -t), i >= o || (i === 16 && (4194240 & o) !== 0)) ) return t; if ((4 & r && (r |= 16 & n), (t = e.entangledLanes), t !== 0)) for (e = e.entanglements, t &= r; 0 < t; ) (n = 31 - Cn(t)), (i = 1 << n), (r |= e[n]), (t &= ~i); return r; } function Z_(e, t) { switch (e) { case 1: case 2: case 4: return t + 250; case 8: case 16: case 32: case 64: case 128: case 256: case 512: case 1024: case 2048: case 4096: case 8192: case 16384: case 32768: case 65536: case 131072: case 262144: case 524288: case 1048576: case 2097152: return t + 5e3; case 4194304: case 8388608: case 16777216: case 33554432: case 67108864: return -1; case 134217728: case 268435456: case 536870912: case 1073741824: return -1; default: return -1; } } function J_(e, t) { for ( var n = e.suspendedLanes, r = e.pingedLanes, i = e.expirationTimes, o = e.pendingLanes; 0 < o; ) { var s = 31 - Cn(o), a = 1 << s, l = i[s]; l === -1 ? (a & n && !(a & r)) || (i[s] = Z_(a, t)) : l <= t && (e.expiredLanes |= a), (o &= ~a); } } function Gd(e) { return ( (e = -1073741825 & e.pendingLanes), e !== 0 ? e : 1073741824 & e ? 1073741824 : 0 ); } function zb() { var e = Cl; return (Cl <<= 1), !(4194240 & Cl) && (Cl = 64), e; } function pd(e) { for (var t = [], n = 0; 31 > n; n++) t.push(e); return t; } function Zs(e, t, n) { (e.pendingLanes |= t), t !== 536870912 && ((e.suspendedLanes = 0), (e.pingedLanes = 0)), (e = e.eventTimes), (t = 31 - Cn(t)), (e[t] = n); } function e2(e, t) { var n = e.pendingLanes & ~t; (e.pendingLanes = t), (e.suspendedLanes = 0), (e.pingedLanes = 0), (e.expiredLanes &= t), (e.mutableReadLanes &= t), (e.entangledLanes &= t), (t = e.entanglements); var r = e.eventTimes; for (e = e.expirationTimes; 0 < n; ) { var i = 31 - Cn(n), o = 1 << i; (t[i] = 0), (r[i] = -1), (e[i] = -1), (n &= ~o); } } function Fh(e, t) { var n = (e.entangledLanes |= t); for (e = e.entanglements; n; ) { var r = 31 - Cn(n), i = 1 << r; (i & t) | (e[r] & t) && (e[r] |= t), (n &= ~i); } } var he = 0; function Nb(e) { return (e &= -e), 1 < e ? (4 < e ? (268435455 & e ? 16 : 536870912) : 4) : 1; } var Hb, Lh, jb, Wb, Ub, Kd = !1, El = [], Fr = null, Lr = null, Mr = null, Bs = new Map(), $s = new Map(), Rr = [], t2 = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split( " " ); function x0(e, t) { switch (e) { case "focusin": case "focusout": Fr = null; break; case "dragenter": case "dragleave": Lr = null; break; case "mouseover": case "mouseout": Mr = null; break; case "pointerover": case "pointerout": Bs.delete(t.pointerId); break; case "gotpointercapture": case "lostpointercapture": $s.delete(t.pointerId); } } function ms(e, t, n, r, i, o) { return e === null || e.nativeEvent !== o ? ((e = { blockedOn: t, domEventName: n, eventSystemFlags: r, nativeEvent: o, targetContainers: [i], }), t !== null && ((t = ea(t)), t !== null && Lh(t)), e) : ((e.eventSystemFlags |= r), (t = e.targetContainers), i !== null && t.indexOf(i) === -1 && t.push(i), e); } function n2(e, t, n, r, i) { switch (t) { case "focusin": return (Fr = ms(Fr, e, t, n, r, i)), !0; case "dragenter": return (Lr = ms(Lr, e, t, n, r, i)), !0; case "mouseover": return (Mr = ms(Mr, e, t, n, r, i)), !0; case "pointerover": var o = i.pointerId; return Bs.set(o, ms(Bs.get(o) || null, e, t, n, r, i)), !0; case "gotpointercapture": return ( (o = i.pointerId), $s.set(o, ms($s.get(o) || null, e, t, n, r, i)), !0 ); } return !1; } function Xb(e) { var t = pi(e.target); if (t !== null) { var n = Ti(t); if (n !== null) { if (((t = n.tag), t === 13)) { if (((t = Ob(n)), t !== null)) { (e.blockedOn = t), Ub(e.priority, function () { jb(n); }); return; } } else if (t === 3 && n.stateNode.current.memoizedState.isDehydrated) { e.blockedOn = n.tag === 3 ? n.stateNode.containerInfo : null; return; } } } e.blockedOn = null; } function zl(e) { if (e.blockedOn !== null) return !1; for (var t = e.targetContainers; 0 < t.length; ) { var n = qd(e.domEventName, e.eventSystemFlags, t[0], e.nativeEvent); if (n !== null) return (t = ea(n)), t !== null && Lh(t), (e.blockedOn = n), !1; n = e.nativeEvent; var r = new n.constructor(n.type, n); (Wd = r), n.target.dispatchEvent(r), (Wd = null), t.shift(); } return !0; } function S0(e, t, n) { zl(e) && n.delete(t); } function r2() { (Kd = !1), Fr !== null && zl(Fr) && (Fr = null), Lr !== null && zl(Lr) && (Lr = null), Mr !== null && zl(Mr) && (Mr = null), Bs.forEach(S0), $s.forEach(S0); } function vs(e, t) { e.blockedOn === t && ((e.blockedOn = null), Kd || ((Kd = !0), Gt.unstable_scheduleCallback(Gt.unstable_NormalPriority, r2))); } function zs(e) { function t(i) { return vs(i, e); } if (0 < El.length) { vs(El[0], e); for (var n = 1; n < El.length; n++) { var r = El[n]; r.blockedOn === e && (r.blockedOn = null); } } for ( Fr !== null && vs(Fr, e), Lr !== null && vs(Lr, e), Mr !== null && vs(Mr, e), Bs.forEach(t), $s.forEach(t), n = 0; n < Rr.length; n++ ) (r = Rr[n]), r.blockedOn === e && (r.blockedOn = null); for (; 0 < Rr.length && ((n = Rr[0]), n.blockedOn === null); ) Xb(n), n.blockedOn === null && Rr.shift(); } var vo = dr.ReactCurrentBatchConfig, tc = !0; function i2(e, t, n, r) { var i = he, o = vo.transition; vo.transition = null; try { (he = 1), Mh(e, t, n, r); } finally { (he = i), (vo.transition = o); } } function o2(e, t, n, r) { var i = he, o = vo.transition; vo.transition = null; try { (he = 4), Mh(e, t, n, r); } finally { (he = i), (vo.transition = o); } } function Mh(e, t, n, r) { if (tc) { var i = qd(e, t, n, r); if (i === null) Sd(e, t, r, nc, n), x0(e, r); else if (n2(i, e, t, n, r)) r.stopPropagation(); else if ((x0(e, r), 4 & t && -1 < t2.indexOf(e))) { for (; i !== null; ) { var o = ea(i); if ( (o !== null && Hb(o), (o = qd(e, t, n, r)), o === null && Sd(e, t, r, nc, n), o === i) ) break; i = o; } i !== null && r.stopPropagation(); } else Sd(e, t, r, null, n); } } var nc = null; function qd(e, t, n, r) { if (((nc = null), (e = _h(r)), (e = pi(e)), e !== null)) if (((t = Ti(e)), t === null)) e = null; else if (((n = t.tag), n === 13)) { if (((e = Ob(t)), e !== null)) return e; e = null; } else if (n === 3) { if (t.stateNode.current.memoizedState.isDehydrated) return t.tag === 3 ? t.stateNode.containerInfo : null; e = null; } else t !== e && (e = null); return (nc = e), null; } function Yb(e) { switch (e) { case "cancel": case "click": case "close": case "contextmenu": case "copy": case "cut": case "auxclick": case "dblclick": case "dragend": case "dragstart": case "drop": case "focusin": case "focusout": case "input": case "invalid": case "keydown": case "keypress": case "keyup": case "mousedown": case "mouseup": case "paste": case "pause": case "play": case "pointercancel": case "pointerdown": case "pointerup": case "ratechange": case "reset": case "resize": case "seeked": case "submit": case "touchcancel": case "touchend": case "touchstart": case "volumechange": case "change": case "selectionchange": case "textInput": case "compositionstart": case "compositionend": case "compositionupdate": case "beforeblur": case "afterblur": case "beforeinput": case "blur": case "fullscreenchange": case "focus": case "hashchange": case "popstate": case "select": case "selectstart": return 1; case "drag": case "dragenter": case "dragexit": case "dragleave": case "dragover": case "mousemove": case "mouseout": case "mouseover": case "pointermove": case "pointerout": case "pointerover": case "scroll": case "toggle": case "touchmove": case "wheel": case "mouseenter": case "mouseleave": case "pointerenter": case "pointerleave": return 4; case "message": switch (X_()) { case Ih: return 1; case Bb: return 4; case Jl: case Y_: return 16; case $b: return 536870912; default: return 16; } default: return 16; } } var _r = null, Oh = null, Nl = null; function Gb() { if (Nl) return Nl; var e, t, n = Oh, r = n.length, i = "value" in _r ? _r.value : _r.textContent, o = i.length; for (e = 0; e < r && n[e] === i[e]; e++); var s = r - e; for (t = 1; t <= s && n[r - t] === i[o - t]; t++); return (Nl = i.slice(e, 1 < t ? 1 - t : void 0)); } function Hl(e) { var t = e.keyCode; return ( "charCode" in e ? ((e = e.charCode), e === 0 && t === 13 && (e = 13)) : (e = t), e === 10 && (e = 13), 32 <= e || e === 13 ? e : 0 ); } function Rl() { return !0; } function w0() { return !1; } function qt(e) { function t(n, r, i, o, s) { (this._reactName = n), (this._targetInst = i), (this.type = r), (this.nativeEvent = o), (this.target = s), (this.currentTarget = null); for (var a in e) e.hasOwnProperty(a) && ((n = e[a]), (this[a] = n ? n(o) : o[a])); return ( (this.isDefaultPrevented = ( o.defaultPrevented != null ? o.defaultPrevented : o.returnValue === !1 ) ? Rl : w0), (this.isPropagationStopped = w0), this ); } return ( Pe(t.prototype, { preventDefault: function () { this.defaultPrevented = !0; var n = this.nativeEvent; n && (n.preventDefault ? n.preventDefault() : typeof n.returnValue != "unknown" && (n.returnValue = !1), (this.isDefaultPrevented = Rl)); }, stopPropagation: function () { var n = this.nativeEvent; n && (n.stopPropagation ? n.stopPropagation() : typeof n.cancelBubble != "unknown" && (n.cancelBubble = !0), (this.isPropagationStopped = Rl)); }, persist: function () {}, isPersistent: Rl, }), t ); } var md, vd, gs, Eo = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function (e) { return e.timeStamp || Date.now(); }, defaultPrevented: 0, isTrusted: 0, }, Dh = qt(Eo), Js = Pe({}, Eo, { view: 0, detail: 0 }), s2 = qt(Js), Sc = Pe({}, Js, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: Ah, button: 0, buttons: 0, relatedTarget: function (e) { return e.relatedTarget === void 0 ? e.fromElement === e.srcElement ? e.toElement : e.fromElement : e.relatedTarget; }, movementX: function (e) { return "movementX" in e ? e.movementX : (e !== gs && (gs && e.type === "mousemove" ? ((md = e.screenX - gs.screenX), (vd = e.screenY - gs.screenY)) : (vd = md = 0), (gs = e)), md); }, movementY: function (e) { return "movementY" in e ? e.movementY : vd; }, }), k0 = qt(Sc), a2 = Pe({}, Sc, { dataTransfer: 0 }), l2 = qt(a2), c2 = Pe({}, Js, { relatedTarget: 0 }), gd = qt(c2), u2 = Pe({}, Eo, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), f2 = qt(u2), d2 = Pe({}, Eo, { clipboardData: function (e) { return "clipboardData" in e ? e.clipboardData : window.clipboardData; }, }), h2 = qt(d2), p2 = Pe({}, Eo, { data: 0 }), C0 = qt(p2), m2 = { Esc: "Escape", Spacebar: " ", Left: "ArrowLeft", Up: "ArrowUp", Right: "ArrowRight", Down: "ArrowDown", Del: "Delete", Win: "OS", Menu: "ContextMenu", Apps: "ContextMenu", Scroll: "ScrollLock", MozPrintableKey: "Unidentified", }, v2 = { 8: "Backspace", 9: "Tab", 12: "Clear", 13: "Enter", 16: "Shift", 17: "Control", 18: "Alt", 19: "Pause", 20: "CapsLock", 27: "Escape", 32: " ", 33: "PageUp", 34: "PageDown", 35: "End", 36: "Home", 37: "ArrowLeft", 38: "ArrowUp", 39: "ArrowRight", 40: "ArrowDown", 45: "Insert", 46: "Delete", 112: "F1", 113: "F2", 114: "F3", 115: "F4", 116: "F5", 117: "F6", 118: "F7", 119: "F8", 120: "F9", 121: "F10", 122: "F11", 123: "F12", 144: "NumLock", 145: "ScrollLock", 224: "Meta", }, g2 = { Alt: "altKey", Control: "ctrlKey", Meta: "metaKey", Shift: "shiftKey", }; function y2(e) { var t = this.nativeEvent; return t.getModifierState ? t.getModifierState(e) : !!(e = g2[e]) && !!t[e]; } function Ah() { return y2; } var b2 = Pe({}, Js, { key: function (e) { if (e.key) { var t = m2[e.key] || e.key; if (t !== "Unidentified") return t; } return e.type === "keypress" ? ((e = Hl(e)), e === 13 ? "Enter" : String.fromCharCode(e)) : e.type === "keydown" || e.type === "keyup" ? v2[e.keyCode] || "Unidentified" : ""; }, code: 0, location: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, repeat: 0, locale: 0, getModifierState: Ah, charCode: function (e) { return e.type === "keypress" ? Hl(e) : 0; }, keyCode: function (e) { return e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0; }, which: function (e) { return e.type === "keypress" ? Hl(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0; }, }), x2 = qt(b2), S2 = Pe({}, Sc, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0, }), T0 = qt(S2), w2 = Pe({}, Js, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: Ah, }), k2 = qt(w2), C2 = Pe({}, Eo, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), T2 = qt(C2), E2 = Pe({}, Sc, { deltaX: function (e) { return "deltaX" in e ? e.deltaX : "wheelDeltaX" in e ? -e.wheelDeltaX : 0; }, deltaY: function (e) { return "deltaY" in e ? e.deltaY : "wheelDeltaY" in e ? -e.wheelDeltaY : "wheelDelta" in e ? -e.wheelDelta : 0; }, deltaZ: 0, deltaMode: 0, }), R2 = qt(E2), P2 = [9, 13, 27, 32], Vh = lr && "CompositionEvent" in window, Ps = null; lr && "documentMode" in document && (Ps = document.documentMode); var _2 = lr && "TextEvent" in window && !Ps, Kb = lr && (!Vh || (Ps && 8 < Ps && 11 >= Ps)), E0 = String.fromCharCode(32), R0 = !1; function qb(e, t) { switch (e) { case "keyup": return P2.indexOf(t.keyCode) !== -1; case "keydown": return t.keyCode !== 229; case "keypress": case "mousedown": case "focusout": return !0; default: return !1; } } function Qb(e) { return (e = e.detail), typeof e == "object" && "data" in e ? e.data : null; } var no = !1; function I2(e, t) { switch (e) { case "compositionend": return Qb(t); case "keypress": return t.which !== 32 ? null : ((R0 = !0), E0); case "textInput": return (e = t.data), e === E0 && R0 ? null : e; default: return null; } } function F2(e, t) { if (no) return e === "compositionend" || (!Vh && qb(e, t)) ? ((e = Gb()), (Nl = Oh = _r = null), (no = !1), e) : null; switch (e) { case "paste": return null; case "keypress": if (!(t.ctrlKey || t.altKey || t.metaKey) || (t.ctrlKey && t.altKey)) { if (t.char && 1 < t.char.length) return t.char; if (t.which) return String.fromCharCode(t.which); } return null; case "compositionend": return Kb && t.locale !== "ko" ? null : t.data; default: return null; } } var L2 = { color: !0, date: !0, datetime: !0, "datetime-local": !0, email: !0, month: !0, number: !0, password: !0, range: !0, search: !0, tel: !0, text: !0, time: !0, url: !0, week: !0, }; function P0(e) { var t = e && e.nodeName && e.nodeName.toLowerCase(); return t === "input" ? !!L2[e.type] : t === "textarea"; } function Zb(e, t, n, r) { _b(r), (t = rc(t, "onChange")), 0 < t.length && ((n = new Dh("onChange", "change", null, n, r)), e.push({ event: n, listeners: t })); } var _s = null, Ns = null; function M2(e) { cx(e, 0); } function wc(e) { var t = oo(e); if (wb(t)) return e; } function O2(e, t) { if (e === "change") return t; } var Jb = !1; lr && (lr ? ((_l = "oninput" in document), _l || ((yd = document.createElement("div")), yd.setAttribute("oninput", "return;"), (_l = typeof yd.oninput == "function")), (Pl = _l)) : (Pl = !1), (Jb = Pl && (!document.documentMode || 9 < document.documentMode))); var Pl, _l, yd; function _0() { _s && (_s.detachEvent("onpropertychange", ex), (Ns = _s = null)); } function ex(e) { if (e.propertyName === "value" && wc(Ns)) { var t = []; Zb(t, Ns, e, _h(e)), Mb(M2, t); } } function D2(e, t, n) { e === "focusin" ? (_0(), (_s = t), (Ns = n), _s.attachEvent("onpropertychange", ex)) : e === "focusout" && _0(); } function A2(e) { if (e === "selectionchange" || e === "keyup" || e === "keydown") return wc(Ns); } function V2(e, t) { if (e === "click") return wc(t); } function B2(e, t) { if (e === "input" || e === "change") return wc(t); } function $2(e, t) { return (e === t && (e !== 0 || 1 / e === 1 / t)) || (e !== e && t !== t); } var En = typeof Object.is == "function" ? Object.is : $2; function Hs(e, t) { if (En(e, t)) return !0; if (typeof e != "object" || e === null || typeof t != "object" || t === null) return !1; var n = Object.keys(e), r = Object.keys(t); if (n.length !== r.length) return !1; for (r = 0; r < n.length; r++) { var i = n[r]; if (!Ld.call(t, i) || !En(e[i], t[i])) return !1; } return !0; } function I0(e) { for (; e && e.firstChild; ) e = e.firstChild; return e; } function F0(e, t) { var n = I0(e); e = 0; for (var r; n; ) { if (n.nodeType === 3) { if (((r = e + n.textContent.length), e <= t && r >= t)) return { node: n, offset: t - e }; e = r; } e: { for (; n; ) { if (n.nextSibling) { n = n.nextSibling; break e; } n = n.parentNode; } n = void 0; } n = I0(n); } } function tx(e, t) { return ( !(!e || !t) && (e === t || ((!e || e.nodeType !== 3) && (t && t.nodeType === 3 ? tx(e, t.parentNode) : "contains" in e ? e.contains(t) : !!e.compareDocumentPosition && !!(16 & e.compareDocumentPosition(t))))) ); } function nx() { for (var e = window, t = ql(); t instanceof e.HTMLIFrameElement; ) { try { var n = typeof t.contentWindow.location.href == "string"; } catch { n = !1; } if (!n) break; (e = t.contentWindow), (t = ql(e.document)); } return t; } function Bh(e) { var t = e && e.nodeName && e.nodeName.toLowerCase(); return ( t && ((t === "input" && (e.type === "text" || e.type === "search" || e.type === "tel" || e.type === "url" || e.type === "password")) || t === "textarea" || e.contentEditable === "true") ); } function z2(e) { var t = nx(), n = e.focusedElem, r = e.selectionRange; if ( t !== n && n && n.ownerDocument && tx(n.ownerDocument.documentElement, n) ) { if (r !== null && Bh(n)) { if ( ((t = r.start), (e = r.end), e === void 0 && (e = t), "selectionStart" in n) ) (n.selectionStart = t), (n.selectionEnd = Math.min(e, n.value.length)); else if ( ((e = ((t = n.ownerDocument || document) && t.defaultView) || window), e.getSelection) ) { e = e.getSelection(); var i = n.textContent.length, o = Math.min(r.start, i); (r = r.end === void 0 ? o : Math.min(r.end, i)), !e.extend && o > r && ((i = r), (r = o), (o = i)), (i = F0(n, o)); var s = F0(n, r); i && s && (e.rangeCount !== 1 || e.anchorNode !== i.node || e.anchorOffset !== i.offset || e.focusNode !== s.node || e.focusOffset !== s.offset) && ((t = t.createRange()), t.setStart(i.node, i.offset), e.removeAllRanges(), o > r ? (e.addRange(t), e.extend(s.node, s.offset)) : (t.setEnd(s.node, s.offset), e.addRange(t))); } } for (t = [], e = n; (e = e.parentNode); ) e.nodeType === 1 && t.push({ element: e, left: e.scrollLeft, top: e.scrollTop }); for (typeof n.focus == "function" && n.focus(), n = 0; n < t.length; n++) (e = t[n]), (e.element.scrollLeft = e.left), (e.element.scrollTop = e.top); } } var N2 = lr && "documentMode" in document && 11 >= document.documentMode, ro = null, Qd = null, Is = null, Zd = !1; function L0(e, t, n) { var r = n.window === n ? n.document : n.nodeType === 9 ? n : n.ownerDocument; Zd || ro == null || ro !== ql(r) || ((r = ro), "selectionStart" in r && Bh(r) ? (r = { start: r.selectionStart, end: r.selectionEnd }) : ((r = ( (r.ownerDocument && r.ownerDocument.defaultView) || window ).getSelection()), (r = { anchorNode: r.anchorNode, anchorOffset: r.anchorOffset, focusNode: r.focusNode, focusOffset: r.focusOffset, })), (Is && Hs(Is, r)) || ((Is = r), (r = rc(Qd, "onSelect")), 0 < r.length && ((t = new Dh("onSelect", "select", null, t, n)), e.push({ event: t, listeners: r }), (t.target = ro)))); } function Il(e, t) { var n = {}; return ( (n[e.toLowerCase()] = t.toLowerCase()), (n["Webkit" + e] = "webkit" + t), (n["Moz" + e] = "moz" + t), n ); } var io = { animationend: Il("Animation", "AnimationEnd"), animationiteration: Il("Animation", "AnimationIteration"), animationstart: Il("Animation", "AnimationStart"), transitionend: Il("Transition", "TransitionEnd"), }, bd = {}, rx = {}; lr && ((rx = document.createElement("div").style), "AnimationEvent" in window || (delete io.animationend.animation, delete io.animationiteration.animation, delete io.animationstart.animation), "TransitionEvent" in window || delete io.transitionend.transition); function kc(e) { if (bd[e]) return bd[e]; if (!io[e]) return e; var t, n = io[e]; for (t in n) if (n.hasOwnProperty(t) && t in rx) return (bd[e] = n[t]); return e; } var ix = kc("animationend"), ox = kc("animationiteration"), sx = kc("animationstart"), ax = kc("transitionend"), lx = new Map(), M0 = "abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split( " " ); function Nr(e, t) { lx.set(e, t), Ci(t, [e]); } for (Fl = 0; Fl < M0.length; Fl++) (Ll = M0[Fl]), (O0 = Ll.toLowerCase()), (D0 = Ll[0].toUpperCase() + Ll.slice(1)), Nr(O0, "on" + D0); var Ll, O0, D0, Fl; Nr(ix, "onAnimationEnd"); Nr(ox, "onAnimationIteration"); Nr(sx, "onAnimationStart"); Nr("dblclick", "onDoubleClick"); Nr("focusin", "onFocus"); Nr("focusout", "onBlur"); Nr(ax, "onTransitionEnd"); bo("onMouseEnter", ["mouseout", "mouseover"]); bo("onMouseLeave", ["mouseout", "mouseover"]); bo("onPointerEnter", ["pointerout", "pointerover"]); bo("onPointerLeave", ["pointerout", "pointerover"]); Ci( "onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ") ); Ci( "onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split( " " ) ); Ci("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]); Ci( "onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ") ); Ci( "onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ") ); Ci( "onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" ") ); var Ts = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split( " " ), H2 = new Set("cancel close invalid load scroll toggle".split(" ").concat(Ts)); function A0(e, t, n) { var r = e.type || "unknown-event"; (e.currentTarget = n), H_(r, t, void 0, e), (e.currentTarget = null); } function cx(e, t) { t = (4 & t) !== 0; for (var n = 0; n < e.length; n++) { var r = e[n], i = r.event; r = r.listeners; e: { var o = void 0; if (t) for (var s = r.length - 1; 0 <= s; s--) { var a = r[s], l = a.instance, c = a.currentTarget; if (((a = a.listener), l !== o && i.isPropagationStopped())) break e; A0(i, a, c), (o = l); } else for (s = 0; s < r.length; s++) { if ( ((a = r[s]), (l = a.instance), (c = a.currentTarget), (a = a.listener), l !== o && i.isPropagationStopped()) ) break e; A0(i, a, c), (o = l); } } } if (Zl) throw ((e = Yd), (Zl = !1), (Yd = null), e); } function Se(e, t) { var n = t[rh]; n === void 0 && (n = t[rh] = new Set()); var r = e + "__bubble"; n.has(r) || (ux(t, e, 2, !1), n.add(r)); } function xd(e, t, n) { var r = 0; t && (r |= 4), ux(n, e, r, t); } var Ml = "_reactListening" + Math.random().toString(36).slice(2); function js(e) { if (!e[Ml]) { (e[Ml] = !0), gb.forEach(function (n) { n !== "selectionchange" && (H2.has(n) || xd(n, !1, e), xd(n, !0, e)); }); var t = e.nodeType === 9 ? e : e.ownerDocument; t === null || t[Ml] || ((t[Ml] = !0), xd("selectionchange", !1, t)); } } function ux(e, t, n, r) { switch (Yb(t)) { case 1: var i = i2; break; case 4: i = o2; break; default: i = Mh; } (n = i.bind(null, t, n, e)), (i = void 0), !Xd || (t !== "touchstart" && t !== "touchmove" && t !== "wheel") || (i = !0), r ? i !== void 0 ? e.addEventListener(t, n, { capture: !0, passive: i }) : e.addEventListener(t, n, !0) : i !== void 0 ? e.addEventListener(t, n, { passive: i }) : e.addEventListener(t, n, !1); } function Sd(e, t, n, r, i) { var o = r; if (!(1 & t) && !(2 & t) && r !== null) e: for (;;) { if (r === null) return; var s = r.tag; if (s === 3 || s === 4) { var a = r.stateNode.containerInfo; if (a === i || (a.nodeType === 8 && a.parentNode === i)) break; if (s === 4) for (s = r.return; s !== null; ) { var l = s.tag; if ( (l === 3 || l === 4) && ((l = s.stateNode.containerInfo), l === i || (l.nodeType === 8 && l.parentNode === i)) ) return; s = s.return; } for (; a !== null; ) { if (((s = pi(a)), s === null)) return; if (((l = s.tag), l === 5 || l === 6)) { r = o = s; continue e; } a = a.parentNode; } } r = r.return; } Mb(function () { var c = o, u = _h(n), f = []; e: { var d = lx.get(e); if (d !== void 0) { var m = Dh, y = e; switch (e) { case "keypress": if (Hl(n) === 0) break e; case "keydown": case "keyup": m = x2; break; case "focusin": (y = "focus"), (m = gd); break; case "focusout": (y = "blur"), (m = gd); break; case "beforeblur": case "afterblur": m = gd; break; case "click": if (n.button === 2) break e; case "auxclick": case "dblclick": case "mousedown": case "mousemove": case "mouseup": case "mouseout": case "mouseover": case "contextmenu": m = k0; break; case "drag": case "dragend": case "dragenter": case "dragexit": case "dragleave": case "dragover": case "dragstart": case "drop": m = l2; break; case "touchcancel": case "touchend": case "touchmove": case "touchstart": m = k2; break; case ix: case ox: case sx: m = f2; break; case ax: m = T2; break; case "scroll": m = s2; break; case "wheel": m = R2; break; case "copy": case "cut": case "paste": m = h2; break; case "gotpointercapture": case "lostpointercapture": case "pointercancel": case "pointerdown": case "pointermove": case "pointerout": case "pointerover": case "pointerup": m = T0; } var v = (4 & t) !== 0, x = !v && e === "scroll", p = v ? (d !== null ? d + "Capture" : null) : d; v = []; for (var h, g = c; g !== null; ) { h = g; var S = h.stateNode; if ( (h.tag === 5 && S !== null && ((h = S), p !== null && ((S = Vs(g, p)), S != null && v.push(Ws(g, S, h)))), x) ) break; g = g.return; } 0 < v.length && ((d = new m(d, y, null, n, u)), f.push({ event: d, listeners: v })); } } if (!(7 & t)) { if ( ((d = e === "mouseover" || e === "pointerover"), (m = e === "mouseout" || e === "pointerout"), (!d || n === Wd || !(y = n.relatedTarget || n.fromElement) || (!pi(y) && !y[cr])) && (m || d) && ((d = u.window === u ? u : (d = u.ownerDocument) ? d.defaultView || d.parentWindow : window), m ? ((y = n.relatedTarget || n.toElement), (m = c), (y = y ? pi(y) : null), y !== null && ((x = Ti(y)), y !== x || (y.tag !== 5 && y.tag !== 6)) && (y = null)) : ((m = null), (y = c)), m !== y)) ) { if ( ((v = k0), (S = "onMouseLeave"), (p = "onMouseEnter"), (g = "mouse"), (e !== "pointerout" && e !== "pointerover") || ((v = T0), (S = "onPointerLeave"), (p = "onPointerEnter"), (g = "pointer")), (x = m == null ? d : oo(m)), (h = y == null ? d : oo(y)), (d = new v(S, g + "leave", m, n, u)), (d.target = x), (d.relatedTarget = h), (S = null), pi(u) === c && ((v = new v(p, g + "enter", y, n, u)), (v.target = h), (v.relatedTarget = x), (S = v)), (x = S), m && y) ) e: { for (v = m, p = y, g = 0, h = v; h; h = Ji(h)) g++; for (h = 0, S = p; S; S = Ji(S)) h++; for (; 0 < g - h; ) (v = Ji(v)), g--; for (; 0 < h - g; ) (p = Ji(p)), h--; for (; g--; ) { if (v === p || (p !== null && v === p.alternate)) break e; (v = Ji(v)), (p = Ji(p)); } v = null; } else v = null; m !== null && V0(f, d, m, v, !1), y !== null && x !== null && V0(f, x, y, v, !0); } if ( ((d = c ? oo(c) : window), (m = d.nodeName && d.nodeName.toLowerCase()), m === "select" || (m === "input" && d.type === "file")) ) var k = O2; else if (P0(d)) if (Jb) k = B2; else { k = A2; var w = D2; } else (m = d.nodeName) && m.toLowerCase() === "input" && (d.type === "checkbox" || d.type === "radio") && (k = V2); switch ( (k && (k = k(e, c)) ? Zb(f, k, n, u) : (w && w(e, d, c), e === "focusout" && (w = d._wrapperState) && w.controlled && d.type === "number" && $d(d, "number", d.value)), (w = c ? oo(c) : window), e) ) { case "focusin": (P0(w) || w.contentEditable === "true") && ((ro = w), (Qd = c), (Is = null)); break; case "focusout": Is = Qd = ro = null; break; case "mousedown": Zd = !0; break; case "contextmenu": case "mouseup": case "dragend": (Zd = !1), L0(f, n, u); break; case "selectionchange": if (N2) break; case "keydown": case "keyup": L0(f, n, u); } var T; if (Vh) e: { switch (e) { case "compositionstart": var R = "onCompositionStart"; break e; case "compositionend": R = "onCompositionEnd"; break e; case "compositionupdate": R = "onCompositionUpdate"; break e; } R = void 0; } else no ? qb(e, n) && (R = "onCompositionEnd") : e === "keydown" && n.keyCode === 229 && (R = "onCompositionStart"); R && (Kb && n.locale !== "ko" && (no || R !== "onCompositionStart" ? R === "onCompositionEnd" && no && (T = Gb()) : ((_r = u), (Oh = "value" in _r ? _r.value : _r.textContent), (no = !0))), (w = rc(c, R)), 0 < w.length && ((R = new C0(R, e, null, n, u)), f.push({ event: R, listeners: w }), T ? (R.data = T) : ((T = Qb(n)), T !== null && (R.data = T)))), (T = _2 ? I2(e, n) : F2(e, n)) && ((c = rc(c, "onBeforeInput")), 0 < c.length && ((u = new C0("onBeforeInput", "beforeinput", null, n, u)), f.push({ event: u, listeners: c }), (u.data = T))); } cx(f, t); }); } function Ws(e, t, n) { return { instance: e, listener: t, currentTarget: n }; } function rc(e, t) { for (var n = t + "Capture", r = []; e !== null; ) { var i = e, o = i.stateNode; i.tag === 5 && o !== null && ((i = o), (o = Vs(e, n)), o != null && r.unshift(Ws(e, o, i)), (o = Vs(e, t)), o != null && r.push(Ws(e, o, i))), (e = e.return); } return r; } function Ji(e) { if (e === null) return null; do e = e.return; while (e && e.tag !== 5); return e || null; } function V0(e, t, n, r, i) { for (var o = t._reactName, s = []; n !== null && n !== r; ) { var a = n, l = a.alternate, c = a.stateNode; if (l !== null && l === r) break; a.tag === 5 && c !== null && ((a = c), i ? ((l = Vs(n, o)), l != null && s.unshift(Ws(n, l, a))) : i || ((l = Vs(n, o)), l != null && s.push(Ws(n, l, a)))), (n = n.return); } s.length !== 0 && e.push({ event: t, listeners: s }); } var j2 = /\r\n?/g, W2 = /\u0000|\uFFFD/g; function B0(e) { return (typeof e == "string" ? e : "" + e) .replace( j2, ` ` ) .replace(W2, ""); } function Ol(e, t, n) { if (((t = B0(t)), B0(e) !== t && n)) throw Error(L(425)); } function ic() {} var Jd = null, eh = null; function th(e, t) { return ( e === "textarea" || e === "noscript" || typeof t.children == "string" || typeof t.children == "number" || (typeof t.dangerouslySetInnerHTML == "object" && t.dangerouslySetInnerHTML !== null && t.dangerouslySetInnerHTML.__html != null) ); } var nh = typeof setTimeout == "function" ? setTimeout : void 0, U2 = typeof clearTimeout == "function" ? clearTimeout : void 0, $0 = typeof Promise == "function" ? Promise : void 0, X2 = typeof queueMicrotask == "function" ? queueMicrotask : typeof $0 < "u" ? function (e) { return $0.resolve(null).then(e).catch(Y2); } : nh; function Y2(e) { setTimeout(function () { throw e; }); } function wd(e, t) { var n = t, r = 0; do { var i = n.nextSibling; if ((e.removeChild(n), i && i.nodeType === 8)) if (((n = i.data), n === "/$")) { if (r === 0) { e.removeChild(i), zs(t); return; } r--; } else (n !== "$" && n !== "$?" && n !== "$!") || r++; n = i; } while (n); zs(t); } function Or(e) { for (; e != null; e = e.nextSibling) { var t = e.nodeType; if (t === 1 || t === 3) break; if (t === 8) { if (((t = e.data), t === "$" || t === "$!" || t === "$?")) break; if (t === "/$") return null; } } return e; } function z0(e) { e = e.previousSibling; for (var t = 0; e; ) { if (e.nodeType === 8) { var n = e.data; if (n === "$" || n === "$!" || n === "$?") { if (t === 0) return e; t--; } else n === "/$" && t++; } e = e.previousSibling; } return null; } var Ro = Math.random().toString(36).slice(2), Nn = "__reactFiber$" + Ro, Us = "__reactProps$" + Ro, cr = "__reactContainer$" + Ro, rh = "__reactEvents$" + Ro, G2 = "__reactListeners$" + Ro, K2 = "__reactHandles$" + Ro; function pi(e) { var t = e[Nn]; if (t) return t; for (var n = e.parentNode; n; ) { if ((t = n[cr] || n[Nn])) { if ( ((n = t.alternate), t.child !== null || (n !== null && n.child !== null)) ) for (e = z0(e); e !== null; ) { if ((n = e[Nn])) return n; e = z0(e); } return t; } (e = n), (n = e.parentNode); } return null; } function ea(e) { return ( (e = e[Nn] || e[cr]), !e || (e.tag !== 5 && e.tag !== 6 && e.tag !== 13 && e.tag !== 3) ? null : e ); } function oo(e) { if (e.tag === 5 || e.tag === 6) return e.stateNode; throw Error(L(33)); } function Cc(e) { return e[Us] || null; } var ih = [], so = -1; function Hr(e) { return { current: e }; } function we(e) { 0 > so || ((e.current = ih[so]), (ih[so] = null), so--); } function ge(e, t) { so++, (ih[so] = e.current), (e.current = t); } var zr = {}, ht = Hr(zr), Ot = Hr(!1), bi = zr; function xo(e, t) { var n = e.type.contextTypes; if (!n) return zr; var r = e.stateNode; if (r && r.__reactInternalMemoizedUnmaskedChildContext === t) return r.__reactInternalMemoizedMaskedChildContext; var i, o = {}; for (i in n) o[i] = t[i]; return ( r && ((e = e.stateNode), (e.__reactInternalMemoizedUnmaskedChildContext = t), (e.__reactInternalMemoizedMaskedChildContext = o)), o ); } function Dt(e) { return (e = e.childContextTypes), e != null; } function oc() { we(Ot), we(ht); } function N0(e, t, n) { if (ht.current !== zr) throw Error(L(168)); ge(ht, t), ge(Ot, n); } function fx(e, t, n) { var r = e.stateNode; if (((t = t.childContextTypes), typeof r.getChildContext != "function")) return n; r = r.getChildContext(); for (var i in r) if (!(i in t)) throw Error(L(108, D_(e) || "Unknown", i)); return Pe({}, n, r); } function sc(e) { return ( (e = ((e = e.stateNode) && e.__reactInternalMemoizedMergedChildContext) || zr), (bi = ht.current), ge(ht, e), ge(Ot, Ot.current), !0 ); } function H0(e, t, n) { var r = e.stateNode; if (!r) throw Error(L(169)); n ? ((e = fx(e, t, bi)), (r.__reactInternalMemoizedMergedChildContext = e), we(Ot), we(ht), ge(ht, e)) : we(Ot), ge(Ot, n); } var ir = null, Tc = !1, kd = !1; function dx(e) { ir === null ? (ir = [e]) : ir.push(e); } function q2(e) { (Tc = !0), dx(e); } function jr() { if (!kd && ir !== null) { kd = !0; var e = 0, t = he; try { var n = ir; for (he = 1; e < n.length; e++) { var r = n[e]; do r = r(!0); while (r !== null); } (ir = null), (Tc = !1); } catch (i) { throw (ir !== null && (ir = ir.slice(e + 1)), Vb(Ih, jr), i); } finally { (he = t), (kd = !1); } } return null; } var ao = [], lo = 0, ac = null, lc = 0, ln = [], cn = 0, xi = null, or = 1, sr = ""; function di(e, t) { (ao[lo++] = lc), (ao[lo++] = ac), (ac = e), (lc = t); } function hx(e, t, n) { (ln[cn++] = or), (ln[cn++] = sr), (ln[cn++] = xi), (xi = e); var r = or; e = sr; var i = 32 - Cn(r) - 1; (r &= ~(1 << i)), (n += 1); var o = 32 - Cn(t) + i; if (30 < o) { var s = i - (i % 5); (o = (r & ((1 << s) - 1)).toString(32)), (r >>= s), (i -= s), (or = (1 << (32 - Cn(t) + i)) | (n << i) | r), (sr = o + e); } else (or = (1 << o) | (n << i) | r), (sr = e); } function $h(e) { e.return !== null && (di(e, 1), hx(e, 1, 0)); } function zh(e) { for (; e === ac; ) (ac = ao[--lo]), (ao[lo] = null), (lc = ao[--lo]), (ao[lo] = null); for (; e === xi; ) (xi = ln[--cn]), (ln[cn] = null), (sr = ln[--cn]), (ln[cn] = null), (or = ln[--cn]), (ln[cn] = null); } var Yt = null, Xt = null, Te = !1, kn = null; function px(e, t) { var n = un(5, null, null, 0); (n.elementType = "DELETED"), (n.stateNode = t), (n.return = e), (t = e.deletions), t === null ? ((e.deletions = [n]), (e.flags |= 16)) : t.push(n); } function j0(e, t) { switch (e.tag) { case 5: var n = e.type; return ( (t = t.nodeType !== 1 || n.toLowerCase() !== t.nodeName.toLowerCase() ? null : t), t !== null && ((e.stateNode = t), (Yt = e), (Xt = Or(t.firstChild)), !0) ); case 6: return ( (t = e.pendingProps === "" || t.nodeType !== 3 ? null : t), t !== null && ((e.stateNode = t), (Yt = e), (Xt = null), !0) ); case 13: return ( (t = t.nodeType !== 8 ? null : t), t !== null && ((n = xi !== null ? { id: or, overflow: sr } : null), (e.memoizedState = { dehydrated: t, treeContext: n, retryLane: 1073741824, }), (n = un(18, null, null, 0)), (n.stateNode = t), (n.return = e), (e.child = n), (Yt = e), (Xt = null), !0) ); default: return !1; } } function oh(e) { return (1 & e.mode) !== 0 && (128 & e.flags) === 0; } function sh(e) { if (Te) { var t = Xt; if (t) { var n = t; if (!j0(e, t)) { if (oh(e)) throw Error(L(418)); t = Or(n.nextSibling); var r = Yt; t && j0(e, t) ? px(r, n) : ((e.flags = (-4097 & e.flags) | 2), (Te = !1), (Yt = e)); } } else { if (oh(e)) throw Error(L(418)); (e.flags = (-4097 & e.flags) | 2), (Te = !1), (Yt = e); } } } function W0(e) { for (e = e.return; e !== null && e.tag !== 5 && e.tag !== 3 && e.tag !== 13; ) e = e.return; Yt = e; } function Dl(e) { if (e !== Yt) return !1; if (!Te) return W0(e), (Te = !0), !1; var t; if ( ((t = e.tag !== 3) && !(t = e.tag !== 5) && ((t = e.type), (t = t !== "head" && t !== "body" && !th(e.type, e.memoizedProps))), t && (t = Xt)) ) { if (oh(e)) throw (mx(), Error(L(418))); for (; t; ) px(e, t), (t = Or(t.nextSibling)); } if ((W0(e), e.tag === 13)) { if (((e = e.memoizedState), (e = e !== null ? e.dehydrated : null), !e)) throw Error(L(317)); e: { for (e = e.nextSibling, t = 0; e; ) { if (e.nodeType === 8) { var n = e.data; if (n === "/$") { if (t === 0) { Xt = Or(e.nextSibling); break e; } t--; } else (n !== "$" && n !== "$!" && n !== "$?") || t++; } e = e.nextSibling; } Xt = null; } } else Xt = Yt ? Or(e.stateNode.nextSibling) : null; return !0; } function mx() { for (var e = Xt; e; ) e = Or(e.nextSibling); } function So() { (Xt = Yt = null), (Te = !1); } function Nh(e) { kn === null ? (kn = [e]) : kn.push(e); } var Q2 = dr.ReactCurrentBatchConfig; function Sn(e, t) { if (e && e.defaultProps) { (t = Pe({}, t)), (e = e.defaultProps); for (var n in e) t[n] === void 0 && (t[n] = e[n]); return t; } return t; } var cc = Hr(null), uc = null, co = null, Hh = null; function jh() { Hh = co = uc = null; } function Wh(e) { var t = cc.current; we(cc), (e._currentValue = t); } function ah(e, t, n) { for (; e !== null; ) { var r = e.alternate; if ( ((e.childLanes & t) !== t ? ((e.childLanes |= t), r !== null && (r.childLanes |= t)) : r !== null && (r.childLanes & t) !== t && (r.childLanes |= t), e === n) ) break; e = e.return; } } function go(e, t) { (uc = e), (Hh = co = null), (e = e.dependencies), e !== null && e.firstContext !== null && (e.lanes & t && (Mt = !0), (e.firstContext = null)); } function dn(e) { var t = e._currentValue; if (Hh !== e) if (((e = { context: e, memoizedValue: t, next: null }), co === null)) { if (uc === null) throw Error(L(308)); (co = e), (uc.dependencies = { lanes: 0, firstContext: e }); } else co = co.next = e; return t; } var mi = null; function Uh(e) { mi === null ? (mi = [e]) : mi.push(e); } function vx(e, t, n, r) { var i = t.interleaved; return ( i === null ? ((n.next = n), Uh(t)) : ((n.next = i.next), (i.next = n)), (t.interleaved = n), ur(e, r) ); } function ur(e, t) { e.lanes |= t; var n = e.alternate; for (n !== null && (n.lanes |= t), n = e, e = e.return; e !== null; ) (e.childLanes |= t), (n = e.alternate), n !== null && (n.childLanes |= t), (n = e), (e = e.return); return n.tag === 3 ? n.stateNode : null; } var Er = !1; function Xh(e) { e.updateQueue = { baseState: e.memoizedState, firstBaseUpdate: null, lastBaseUpdate: null, shared: { pending: null, interleaved: null, lanes: 0 }, effects: null, }; } function gx(e, t) { (e = e.updateQueue), t.updateQueue === e && (t.updateQueue = { baseState: e.baseState, firstBaseUpdate: e.firstBaseUpdate, lastBaseUpdate: e.lastBaseUpdate, shared: e.shared, effects: e.effects, }); } function ar(e, t) { return { eventTime: e, lane: t, tag: 0, payload: null, callback: null, next: null, }; } function Dr(e, t, n) { var r = e.updateQueue; if (r === null) return null; if (((r = r.shared), 2 & ae)) { var i = r.pending; return ( i === null ? (t.next = t) : ((t.next = i.next), (i.next = t)), (r.pending = t), ur(e, n) ); } return ( (i = r.interleaved), i === null ? ((t.next = t), Uh(r)) : ((t.next = i.next), (i.next = t)), (r.interleaved = t), ur(e, n) ); } function jl(e, t, n) { if ( ((t = t.updateQueue), t !== null && ((t = t.shared), (4194240 & n) !== 0)) ) { var r = t.lanes; (r &= e.pendingLanes), (n |= r), (t.lanes = n), Fh(e, n); } } function U0(e, t) { var n = e.updateQueue, r = e.alternate; if (r === null || ((r = r.updateQueue), n !== r)) (e = n.lastBaseUpdate), e === null ? (n.firstBaseUpdate = t) : (e.next = t), (n.lastBaseUpdate = t); else { var i = null, o = null; if (((n = n.firstBaseUpdate), n !== null)) { do { var s = { eventTime: n.eventTime, lane: n.lane, tag: n.tag, payload: n.payload, callback: n.callback, next: null, }; o === null ? (i = o = s) : (o = o.next = s), (n = n.next); } while (n !== null); o === null ? (i = o = t) : (o = o.next = t); } else i = o = t; (n = { baseState: r.baseState, firstBaseUpdate: i, lastBaseUpdate: o, shared: r.shared, effects: r.effects, }), (e.updateQueue = n); } } function fc(e, t, n, r) { var i = e.updateQueue; Er = !1; var o = i.firstBaseUpdate, s = i.lastBaseUpdate, a = i.shared.pending; if (a !== null) { i.shared.pending = null; var l = a, c = l.next; (l.next = null), s === null ? (o = c) : (s.next = c), (s = l); var u = e.alternate; u !== null && ((u = u.updateQueue), (a = u.lastBaseUpdate), a !== s && (a === null ? (u.firstBaseUpdate = c) : (a.next = c), (u.lastBaseUpdate = l))); } if (o !== null) { var f = i.baseState; (s = 0), (u = c = l = null), (a = o); do { var d = a.lane, m = a.eventTime; if ((r & d) === d) { u !== null && (u = u.next = { eventTime: m, lane: 0, tag: a.tag, payload: a.payload, callback: a.callback, next: null, }); e: { var y = e, v = a; switch (((d = t), (m = n), v.tag)) { case 1: if (((y = v.payload), typeof y == "function")) { f = y.call(m, f, d); break e; } f = y; break e; case 3: y.flags = (-65537 & y.flags) | 128; case 0: if ( ((y = v.payload), (d = typeof y == "function" ? y.call(m, f, d) : y), d == null) ) break e; f = Pe({}, f, d); break e; case 2: Er = !0; } } a.callback !== null && a.lane !== 0 && ((e.flags |= 64), (d = i.effects), d === null ? (i.effects = [a]) : d.push(a)); } else (m = { eventTime: m, lane: d, tag: a.tag, payload: a.payload, callback: a.callback, next: null, }), u === null ? ((c = u = m), (l = f)) : (u = u.next = m), (s |= d); if (((a = a.next), a === null)) { if (((a = i.shared.pending), a === null)) break; (d = a), (a = d.next), (d.next = null), (i.lastBaseUpdate = d), (i.shared.pending = null); } } while (1); if ( (u === null && (l = f), (i.baseState = l), (i.firstBaseUpdate = c), (i.lastBaseUpdate = u), (t = i.shared.interleaved), t !== null) ) { i = t; do (s |= i.lane), (i = i.next); while (i !== t); } else o === null && (i.shared.lanes = 0); (wi |= s), (e.lanes = s), (e.memoizedState = f); } } function X0(e, t, n) { if (((e = t.effects), (t.effects = null), e !== null)) for (t = 0; t < e.length; t++) { var r = e[t], i = r.callback; if (i !== null) { if (((r.callback = null), (r = n), typeof i != "function")) throw Error(L(191, i)); i.call(r); } } } var yx = new vb.Component().refs; function lh(e, t, n, r) { (t = e.memoizedState), (n = n(r, t)), (n = n == null ? t : Pe({}, t, n)), (e.memoizedState = n), e.lanes === 0 && (e.updateQueue.baseState = n); } var Ec = { isMounted: function (e) { return !!(e = e._reactInternals) && Ti(e) === e; }, enqueueSetState: function (e, t, n) { e = e._reactInternals; var r = wt(), i = Vr(e), o = ar(r, i); (o.payload = t), n != null && (o.callback = n), (t = Dr(e, o, i)), t !== null && (Tn(t, e, i, r), jl(t, e, i)); }, enqueueReplaceState: function (e, t, n) { e = e._reactInternals; var r = wt(), i = Vr(e), o = ar(r, i); (o.tag = 1), (o.payload = t), n != null && (o.callback = n), (t = Dr(e, o, i)), t !== null && (Tn(t, e, i, r), jl(t, e, i)); }, enqueueForceUpdate: function (e, t) { e = e._reactInternals; var n = wt(), r = Vr(e), i = ar(n, r); (i.tag = 2), t != null && (i.callback = t), (t = Dr(e, i, r)), t !== null && (Tn(t, e, r, n), jl(t, e, r)); }, }; function Y0(e, t, n, r, i, o, s) { return ( (e = e.stateNode), typeof e.shouldComponentUpdate == "function" ? e.shouldComponentUpdate(r, o, s) : !t.prototype || !t.prototype.isPureReactComponent || !Hs(n, r) || !Hs(i, o) ); } function bx(e, t, n) { var r = !1, i = zr, o = t.contextType; return ( typeof o == "object" && o !== null ? (o = dn(o)) : ((i = Dt(t) ? bi : ht.current), (r = t.contextTypes), (o = (r = r != null) ? xo(e, i) : zr)), (t = new t(n, o)), (e.memoizedState = t.state !== null && t.state !== void 0 ? t.state : null), (t.updater = Ec), (e.stateNode = t), (t._reactInternals = e), r && ((e = e.stateNode), (e.__reactInternalMemoizedUnmaskedChildContext = i), (e.__reactInternalMemoizedMaskedChildContext = o)), t ); } function G0(e, t, n, r) { (e = t.state), typeof t.componentWillReceiveProps == "function" && t.componentWillReceiveProps(n, r), typeof t.UNSAFE_componentWillReceiveProps == "function" && t.UNSAFE_componentWillReceiveProps(n, r), t.state !== e && Ec.enqueueReplaceState(t, t.state, null); } function ch(e, t, n, r) { var i = e.stateNode; (i.props = n), (i.state = e.memoizedState), (i.refs = yx), Xh(e); var o = t.contextType; typeof o == "object" && o !== null ? (i.context = dn(o)) : ((o = Dt(t) ? bi : ht.current), (i.context = xo(e, o))), (i.state = e.memoizedState), (o = t.getDerivedStateFromProps), typeof o == "function" && (lh(e, t, o, n), (i.state = e.memoizedState)), typeof t.getDerivedStateFromProps == "function" || typeof i.getSnapshotBeforeUpdate == "function" || (typeof i.UNSAFE_componentWillMount != "function" && typeof i.componentWillMount != "function") || ((t = i.state), typeof i.componentWillMount == "function" && i.componentWillMount(), typeof i.UNSAFE_componentWillMount == "function" && i.UNSAFE_componentWillMount(), t !== i.state && Ec.enqueueReplaceState(i, i.state, null), fc(e, n, i, r), (i.state = e.memoizedState)), typeof i.componentDidMount == "function" && (e.flags |= 4194308); } function ys(e, t, n) { if ( ((e = n.ref), e !== null && typeof e != "function" && typeof e != "object") ) { if (n._owner) { if (((n = n._owner), n)) { if (n.tag !== 1) throw Error(L(309)); var r = n.stateNode; } if (!r) throw Error(L(147, e)); var i = r, o = "" + e; return t !== null && t.ref !== null && typeof t.ref == "function" && t.ref._stringRef === o ? t.ref : ((t = function (s) { var a = i.refs; a === yx && (a = i.refs = {}), s === null ? delete a[o] : (a[o] = s); }), (t._stringRef = o), t); } if (typeof e != "string") throw Error(L(284)); if (!n._owner) throw Error(L(290, e)); } return e; } function Al(e, t) { throw ( ((e = Object.prototype.toString.call(t)), Error( L( 31, e === "[object Object]" ? "object with keys {" + Object.keys(t).join(", ") + "}" : e ) )) ); } function K0(e) { var t = e._init; return t(e._payload); } function xx(e) { function t(p, h) { if (e) { var g = p.deletions; g === null ? ((p.deletions = [h]), (p.flags |= 16)) : g.push(h); } } function n(p, h) { if (!e) return null; for (; h !== null; ) t(p, h), (h = h.sibling); return null; } function r(p, h) { for (p = new Map(); h !== null; ) h.key !== null ? p.set(h.key, h) : p.set(h.index, h), (h = h.sibling); return p; } function i(p, h) { return (p = Br(p, h)), (p.index = 0), (p.sibling = null), p; } function o(p, h, g) { return ( (p.index = g), e ? ((g = p.alternate), g !== null ? ((g = g.index), g < h ? ((p.flags |= 2), h) : g) : ((p.flags |= 2), h)) : ((p.flags |= 1048576), h) ); } function s(p) { return e && p.alternate === null && (p.flags |= 2), p; } function a(p, h, g, S) { return h === null || h.tag !== 6 ? ((h = Id(g, p.mode, S)), (h.return = p), h) : ((h = i(h, g)), (h.return = p), h); } function l(p, h, g, S) { var k = g.type; return k === to ? u(p, h, g.props.children, S, g.key) : h !== null && (h.elementType === k || (typeof k == "object" && k !== null && k.$$typeof === Tr && K0(k) === h.type)) ? ((S = i(h, g.props)), (S.ref = ys(p, h, g)), (S.return = p), S) : ((S = Kl(g.type, g.key, g.props, null, p.mode, S)), (S.ref = ys(p, h, g)), (S.return = p), S); } function c(p, h, g, S) { return h === null || h.tag !== 4 || h.stateNode.containerInfo !== g.containerInfo || h.stateNode.implementation !== g.implementation ? ((h = Fd(g, p.mode, S)), (h.return = p), h) : ((h = i(h, g.children || [])), (h.return = p), h); } function u(p, h, g, S, k) { return h === null || h.tag !== 7 ? ((h = yi(g, p.mode, S, k)), (h.return = p), h) : ((h = i(h, g)), (h.return = p), h); } function f(p, h, g) { if ((typeof h == "string" && h !== "") || typeof h == "number") return (h = Id("" + h, p.mode, g)), (h.return = p), h; if (typeof h == "object" && h !== null) { switch (h.$$typeof) { case Sl: return ( (g = Kl(h.type, h.key, h.props, null, p.mode, g)), (g.ref = ys(p, null, h)), (g.return = p), g ); case eo: return (h = Fd(h, p.mode, g)), (h.return = p), h; case Tr: var S = h._init; return f(p, S(h._payload), g); } if (ks(h) || ps(h)) return (h = yi(h, p.mode, g, null)), (h.return = p), h; Al(p, h); } return null; } function d(p, h, g, S) { var k = h !== null ? h.key : null; if ((typeof g == "string" && g !== "") || typeof g == "number") return k !== null ? null : a(p, h, "" + g, S); if (typeof g == "object" && g !== null) { switch (g.$$typeof) { case Sl: return g.key === k ? l(p, h, g, S) : null; case eo: return g.key === k ? c(p, h, g, S) : null; case Tr: return (k = g._init), d(p, h, k(g._payload), S); } if (ks(g) || ps(g)) return k !== null ? null : u(p, h, g, S, null); Al(p, g); } return null; } function m(p, h, g, S, k) { if ((typeof S == "string" && S !== "") || typeof S == "number") return (p = p.get(g) || null), a(h, p, "" + S, k); if (typeof S == "object" && S !== null) { switch (S.$$typeof) { case Sl: return (p = p.get(S.key === null ? g : S.key) || null), l(h, p, S, k); case eo: return (p = p.get(S.key === null ? g : S.key) || null), c(h, p, S, k); case Tr: var w = S._init; return m(p, h, g, w(S._payload), k); } if (ks(S) || ps(S)) return (p = p.get(g) || null), u(h, p, S, k, null); Al(h, S); } return null; } function y(p, h, g, S) { for ( var k = null, w = null, T = h, R = (h = 0), F = null; T !== null && R < g.length; R++ ) { T.index > R ? ((F = T), (T = null)) : (F = T.sibling); var I = d(p, T, g[R], S); if (I === null) { T === null && (T = F); break; } e && T && I.alternate === null && t(p, T), (h = o(I, h, R)), w === null ? (k = I) : (w.sibling = I), (w = I), (T = F); } if (R === g.length) return n(p, T), Te && di(p, R), k; if (T === null) { for (; R < g.length; R++) (T = f(p, g[R], S)), T !== null && ((h = o(T, h, R)), w === null ? (k = T) : (w.sibling = T), (w = T)); return Te && di(p, R), k; } for (T = r(p, T); R < g.length; R++) (F = m(T, p, R, g[R], S)), F !== null && (e && F.alternate !== null && T.delete(F.key === null ? R : F.key), (h = o(F, h, R)), w === null ? (k = F) : (w.sibling = F), (w = F)); return ( e && T.forEach(function ($) { return t(p, $); }), Te && di(p, R), k ); } function v(p, h, g, S) { var k = ps(g); if (typeof k != "function") throw Error(L(150)); if (((g = k.call(g)), g == null)) throw Error(L(151)); for ( var w = (k = null), T = h, R = (h = 0), F = null, I = g.next(); T !== null && !I.done; R++, I = g.next() ) { T.index > R ? ((F = T), (T = null)) : (F = T.sibling); var $ = d(p, T, I.value, S); if ($ === null) { T === null && (T = F); break; } e && T && $.alternate === null && t(p, T), (h = o($, h, R)), w === null ? (k = $) : (w.sibling = $), (w = $), (T = F); } if (I.done) return n(p, T), Te && di(p, R), k; if (T === null) { for (; !I.done; R++, I = g.next()) (I = f(p, I.value, S)), I !== null && ((h = o(I, h, R)), w === null ? (k = I) : (w.sibling = I), (w = I)); return Te && di(p, R), k; } for (T = r(p, T); !I.done; R++, I = g.next()) (I = m(T, p, R, I.value, S)), I !== null && (e && I.alternate !== null && T.delete(I.key === null ? R : I.key), (h = o(I, h, R)), w === null ? (k = I) : (w.sibling = I), (w = I)); return ( e && T.forEach(function (V) { return t(p, V); }), Te && di(p, R), k ); } function x(p, h, g, S) { if ( (typeof g == "object" && g !== null && g.type === to && g.key === null && (g = g.props.children), typeof g == "object" && g !== null) ) { switch (g.$$typeof) { case Sl: e: { for (var k = g.key, w = h; w !== null; ) { if (w.key === k) { if (((k = g.type), k === to)) { if (w.tag === 7) { n(p, w.sibling), (h = i(w, g.props.children)), (h.return = p), (p = h); break e; } } else if ( w.elementType === k || (typeof k == "object" && k !== null && k.$$typeof === Tr && K0(k) === w.type) ) { n(p, w.sibling), (h = i(w, g.props)), (h.ref = ys(p, w, g)), (h.return = p), (p = h); break e; } n(p, w); break; } t(p, w), (w = w.sibling); } g.type === to ? ((h = yi(g.props.children, p.mode, S, g.key)), (h.return = p), (p = h)) : ((S = Kl(g.type, g.key, g.props, null, p.mode, S)), (S.ref = ys(p, h, g)), (S.return = p), (p = S)); } return s(p); case eo: e: { for (w = g.key; h !== null; ) { if (h.key === w) { if ( h.tag === 4 && h.stateNode.containerInfo === g.containerInfo && h.stateNode.implementation === g.implementation ) { n(p, h.sibling), (h = i(h, g.children || [])), (h.return = p), (p = h); break e; } n(p, h); break; } t(p, h), (h = h.sibling); } (h = Fd(g, p.mode, S)), (h.return = p), (p = h); } return s(p); case Tr: return (w = g._init), x(p, h, w(g._payload), S); } if (ks(g)) return y(p, h, g, S); if (ps(g)) return v(p, h, g, S); Al(p, g); } return (typeof g == "string" && g !== "") || typeof g == "number" ? ((g = "" + g), h !== null && h.tag === 6 ? (n(p, h.sibling), (h = i(h, g)), (h.return = p), (p = h)) : (n(p, h), (h = Id(g, p.mode, S)), (h.return = p), (p = h)), s(p)) : n(p, h); } return x; } var wo = xx(!0), Sx = xx(!1), ta = {}, jn = Hr(ta), Xs = Hr(ta), Ys = Hr(ta); function vi(e) { if (e === ta) throw Error(L(174)); return e; } function Yh(e, t) { switch ((ge(Ys, t), ge(Xs, e), ge(jn, ta), (e = t.nodeType), e)) { case 9: case 11: t = (t = t.documentElement) ? t.namespaceURI : Nd(null, ""); break; default: (e = e === 8 ? t.parentNode : t), (t = e.namespaceURI || null), (e = e.tagName), (t = Nd(t, e)); } we(jn), ge(jn, t); } function ko() { we(jn), we(Xs), we(Ys); } function wx(e) { vi(Ys.current); var t = vi(jn.current), n = Nd(t, e.type); t !== n && (ge(Xs, e), ge(jn, n)); } function Gh(e) { Xs.current === e && (we(jn), we(Xs)); } var Ee = Hr(0); function dc(e) { for (var t = e; t !== null; ) { if (t.tag === 13) { var n = t.memoizedState; if ( n !== null && ((n = n.dehydrated), n === null || n.data === "$?" || n.data === "$!") ) return t; } else if (t.tag === 19 && t.memoizedProps.revealOrder !== void 0) { if (128 & t.flags) return t; } else if (t.child !== null) { (t.child.return = t), (t = t.child); continue; } if (t === e) break; for (; t.sibling === null; ) { if (t.return === null || t.return === e) return null; t = t.return; } (t.sibling.return = t.return), (t = t.sibling); } return null; } var Cd = []; function Kh() { for (var e = 0; e < Cd.length; e++) Cd[e]._workInProgressVersionPrimary = null; Cd.length = 0; } var Wl = dr.ReactCurrentDispatcher, Td = dr.ReactCurrentBatchConfig, Si = 0, Re = null, Ye = null, qe = null, hc = !1, Fs = !1, Gs = 0, Z2 = 0; function ut() { throw Error(L(321)); } function qh(e, t) { if (t === null) return !1; for (var n = 0; n < t.length && n < e.length; n++) if (!En(e[n], t[n])) return !1; return !0; } function Qh(e, t, n, r, i, o) { if ( ((Si = o), (Re = t), (t.memoizedState = null), (t.updateQueue = null), (t.lanes = 0), (Wl.current = e === null || e.memoizedState === null ? nI : rI), (e = n(r, i)), Fs) ) { o = 0; do { if (((Fs = !1), (Gs = 0), 25 <= o)) throw Error(L(301)); (o += 1), (qe = Ye = null), (t.updateQueue = null), (Wl.current = iI), (e = n(r, i)); } while (Fs); } if ( ((Wl.current = pc), (t = Ye !== null && Ye.next !== null), (Si = 0), (qe = Ye = Re = null), (hc = !1), t) ) throw Error(L(300)); return e; } function Zh() { var e = Gs !== 0; return (Gs = 0), e; } function zn() { var e = { memoizedState: null, baseState: null, baseQueue: null, queue: null, next: null, }; return qe === null ? (Re.memoizedState = qe = e) : (qe = qe.next = e), qe; } function hn() { if (Ye === null) { var e = Re.alternate; e = e !== null ? e.memoizedState : null; } else e = Ye.next; var t = qe === null ? Re.memoizedState : qe.next; if (t !== null) (qe = t), (Ye = e); else { if (e === null) throw Error(L(310)); (Ye = e), (e = { memoizedState: Ye.memoizedState, baseState: Ye.baseState, baseQueue: Ye.baseQueue, queue: Ye.queue, next: null, }), qe === null ? (Re.memoizedState = qe = e) : (qe = qe.next = e); } return qe; } function Ks(e, t) { return typeof t == "function" ? t(e) : t; } function Ed(e) { var t = hn(), n = t.queue; if (n === null) throw Error(L(311)); n.lastRenderedReducer = e; var r = Ye, i = r.baseQueue, o = n.pending; if (o !== null) { if (i !== null) { var s = i.next; (i.next = o.next), (o.next = s); } (r.baseQueue = i = o), (n.pending = null); } if (i !== null) { (o = i.next), (r = r.baseState); var a = (s = null), l = null, c = o; do { var u = c.lane; if ((Si & u) === u) l !== null && (l = l.next = { lane: 0, action: c.action, hasEagerState: c.hasEagerState, eagerState: c.eagerState, next: null, }), (r = c.hasEagerState ? c.eagerState : e(r, c.action)); else { var f = { lane: u, action: c.action, hasEagerState: c.hasEagerState, eagerState: c.eagerState, next: null, }; l === null ? ((a = l = f), (s = r)) : (l = l.next = f), (Re.lanes |= u), (wi |= u); } c = c.next; } while (c !== null && c !== o); l === null ? (s = r) : (l.next = a), En(r, t.memoizedState) || (Mt = !0), (t.memoizedState = r), (t.baseState = s), (t.baseQueue = l), (n.lastRenderedState = r); } if (((e = n.interleaved), e !== null)) { i = e; do (o = i.lane), (Re.lanes |= o), (wi |= o), (i = i.next); while (i !== e); } else i === null && (n.lanes = 0); return [t.memoizedState, n.dispatch]; } function Rd(e) { var t = hn(), n = t.queue; if (n === null) throw Error(L(311)); n.lastRenderedReducer = e; var r = n.dispatch, i = n.pending, o = t.memoizedState; if (i !== null) { n.pending = null; var s = (i = i.next); do (o = e(o, s.action)), (s = s.next); while (s !== i); En(o, t.memoizedState) || (Mt = !0), (t.memoizedState = o), t.baseQueue === null && (t.baseState = o), (n.lastRenderedState = o); } return [o, r]; } function kx() {} function Cx(e, t) { var n = Re, r = hn(), i = t(), o = !En(r.memoizedState, i); if ( (o && ((r.memoizedState = i), (Mt = !0)), (r = r.queue), Jh(Rx.bind(null, n, r, e), [e]), r.getSnapshot !== t || o || (qe !== null && 1 & qe.memoizedState.tag)) ) { if ( ((n.flags |= 2048), qs(9, Ex.bind(null, n, r, i, t), void 0, null), Qe === null) ) throw Error(L(349)); 30 & Si || Tx(n, t, i); } return i; } function Tx(e, t, n) { (e.flags |= 16384), (e = { getSnapshot: t, value: n }), (t = Re.updateQueue), t === null ? ((t = { lastEffect: null, stores: null }), (Re.updateQueue = t), (t.stores = [e])) : ((n = t.stores), n === null ? (t.stores = [e]) : n.push(e)); } function Ex(e, t, n, r) { (t.value = n), (t.getSnapshot = r), Px(t) && _x(e); } function Rx(e, t, n) { return n(function () { Px(t) && _x(e); }); } function Px(e) { var t = e.getSnapshot; e = e.value; try { var n = t(); return !En(e, n); } catch { return !0; } } function _x(e) { var t = ur(e, 1); t !== null && Tn(t, e, 1, -1); } function q0(e) { var t = zn(); return ( typeof e == "function" && (e = e()), (t.memoizedState = t.baseState = e), (e = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: Ks, lastRenderedState: e, }), (t.queue = e), (e = e.dispatch = tI.bind(null, Re, e)), [t.memoizedState, e] ); } function qs(e, t, n, r) { return ( (e = { tag: e, create: t, destroy: n, deps: r, next: null }), (t = Re.updateQueue), t === null ? ((t = { lastEffect: null, stores: null }), (Re.updateQueue = t), (t.lastEffect = e.next = e)) : ((n = t.lastEffect), n === null ? (t.lastEffect = e.next = e) : ((r = n.next), (n.next = e), (e.next = r), (t.lastEffect = e))), e ); } function Ix() { return hn().memoizedState; } function Ul(e, t, n, r) { var i = zn(); (Re.flags |= e), (i.memoizedState = qs(1 | t, n, void 0, r === void 0 ? null : r)); } function Rc(e, t, n, r) { var i = hn(); r = r === void 0 ? null : r; var o = void 0; if (Ye !== null) { var s = Ye.memoizedState; if (((o = s.destroy), r !== null && qh(r, s.deps))) { i.memoizedState = qs(t, n, o, r); return; } } (Re.flags |= e), (i.memoizedState = qs(1 | t, n, o, r)); } function Q0(e, t) { return Ul(8390656, 8, e, t); } function Jh(e, t) { return Rc(2048, 8, e, t); } function Fx(e, t) { return Rc(4, 2, e, t); } function Lx(e, t) { return Rc(4, 4, e, t); } function Mx(e, t) { return typeof t == "function" ? ((e = e()), t(e), function () { t(null); }) : t != null ? ((e = e()), (t.current = e), function () { t.current = null; }) : void 0; } function Ox(e, t, n) { return ( (n = n != null ? n.concat([e]) : null), Rc(4, 4, Mx.bind(null, t, e), n) ); } function ep() {} function Dx(e, t) { var n = hn(); t = t === void 0 ? null : t; var r = n.memoizedState; return r !== null && t !== null && qh(t, r[1]) ? r[0] : ((n.memoizedState = [e, t]), e); } function Ax(e, t) { var n = hn(); t = t === void 0 ? null : t; var r = n.memoizedState; return r !== null && t !== null && qh(t, r[1]) ? r[0] : ((e = e()), (n.memoizedState = [e, t]), e); } function Vx(e, t, n) { return 21 & Si ? (En(n, t) || ((n = zb()), (Re.lanes |= n), (wi |= n), (e.baseState = !0)), t) : (e.baseState && ((e.baseState = !1), (Mt = !0)), (e.memoizedState = n)); } function J2(e, t) { var n = he; (he = n !== 0 && 4 > n ? n : 4), e(!0); var r = Td.transition; Td.transition = {}; try { e(!1), t(); } finally { (he = n), (Td.transition = r); } } function Bx() { return hn().memoizedState; } function eI(e, t, n) { var r = Vr(e); if ( ((n = { lane: r, action: n, hasEagerState: !1, eagerState: null, next: null, }), $x(e)) ) zx(t, n); else if (((n = vx(e, t, n, r)), n !== null)) { var i = wt(); Tn(n, e, r, i), Nx(n, t, r); } } function tI(e, t, n) { var r = Vr(e), i = { lane: r, action: n, hasEagerState: !1, eagerState: null, next: null }; if ($x(e)) zx(t, i); else { var o = e.alternate; if ( e.lanes === 0 && (o === null || o.lanes === 0) && ((o = t.lastRenderedReducer), o !== null) ) try { var s = t.lastRenderedState, a = o(s, n); if (((i.hasEagerState = !0), (i.eagerState = a), En(a, s))) { var l = t.interleaved; l === null ? ((i.next = i), Uh(t)) : ((i.next = l.next), (l.next = i)), (t.interleaved = i); return; } } catch {} (n = vx(e, t, i, r)), n !== null && ((i = wt()), Tn(n, e, r, i), Nx(n, t, r)); } } function $x(e) { var t = e.alternate; return e === Re || (t !== null && t === Re); } function zx(e, t) { Fs = hc = !0; var n = e.pending; n === null ? (t.next = t) : ((t.next = n.next), (n.next = t)), (e.pending = t); } function Nx(e, t, n) { if (4194240 & n) { var r = t.lanes; (r &= e.pendingLanes), (n |= r), (t.lanes = n), Fh(e, n); } } var pc = { readContext: dn, useCallback: ut, useContext: ut, useEffect: ut, useImperativeHandle: ut, useInsertionEffect: ut, useLayoutEffect: ut, useMemo: ut, useReducer: ut, useRef: ut, useState: ut, useDebugValue: ut, useDeferredValue: ut, useTransition: ut, useMutableSource: ut, useSyncExternalStore: ut, useId: ut, unstable_isNewReconciler: !1, }, nI = { readContext: dn, useCallback: function (e, t) { return (zn().memoizedState = [e, t === void 0 ? null : t]), e; }, useContext: dn, useEffect: Q0, useImperativeHandle: function (e, t, n) { return ( (n = n != null ? n.concat([e]) : null), Ul(4194308, 4, Mx.bind(null, t, e), n) ); }, useLayoutEffect: function (e, t) { return Ul(4194308, 4, e, t); }, useInsertionEffect: function (e, t) { return Ul(4, 2, e, t); }, useMemo: function (e, t) { var n = zn(); return ( (t = t === void 0 ? null : t), (e = e()), (n.memoizedState = [e, t]), e ); }, useReducer: function (e, t, n) { var r = zn(); return ( (t = n !== void 0 ? n(t) : t), (r.memoizedState = r.baseState = t), (e = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: e, lastRenderedState: t, }), (r.queue = e), (e = e.dispatch = eI.bind(null, Re, e)), [r.memoizedState, e] ); }, useRef: function (e) { var t = zn(); return (e = { current: e }), (t.memoizedState = e); }, useState: q0, useDebugValue: ep, useDeferredValue: function (e) { return (zn().memoizedState = e); }, useTransition: function () { var e = q0(!1), t = e[0]; return (e = J2.bind(null, e[1])), (zn().memoizedState = e), [t, e]; }, useMutableSource: function () {}, useSyncExternalStore: function (e, t, n) { var r = Re, i = zn(); if (Te) { if (n === void 0) throw Error(L(407)); n = n(); } else { if (((n = t()), Qe === null)) throw Error(L(349)); 30 & Si || Tx(r, t, n); } i.memoizedState = n; var o = { value: n, getSnapshot: t }; return ( (i.queue = o), Q0(Rx.bind(null, r, o, e), [e]), (r.flags |= 2048), qs(9, Ex.bind(null, r, o, n, t), void 0, null), n ); }, useId: function () { var e = zn(), t = Qe.identifierPrefix; if (Te) { var n = sr, r = or; (n = (r & ~(1 << (32 - Cn(r) - 1))).toString(32) + n), (t = ":" + t + "R" + n), (n = Gs++), 0 < n && (t += "H" + n.toString(32)), (t += ":"); } else (n = Z2++), (t = ":" + t + "r" + n.toString(32) + ":"); return (e.memoizedState = t); }, unstable_isNewReconciler: !1, }, rI = { readContext: dn, useCallback: Dx, useContext: dn, useEffect: Jh, useImperativeHandle: Ox, useInsertionEffect: Fx, useLayoutEffect: Lx, useMemo: Ax, useReducer: Ed, useRef: Ix, useState: function () { return Ed(Ks); }, useDebugValue: ep, useDeferredValue: function (e) { var t = hn(); return Vx(t, Ye.memoizedState, e); }, useTransition: function () { var e = Ed(Ks)[0], t = hn().memoizedState; return [e, t]; }, useMutableSource: kx, useSyncExternalStore: Cx, useId: Bx, unstable_isNewReconciler: !1, }, iI = { readContext: dn, useCallback: Dx, useContext: dn, useEffect: Jh, useImperativeHandle: Ox, useInsertionEffect: Fx, useLayoutEffect: Lx, useMemo: Ax, useReducer: Rd, useRef: Ix, useState: function () { return Rd(Ks); }, useDebugValue: ep, useDeferredValue: function (e) { var t = hn(); return Ye === null ? (t.memoizedState = e) : Vx(t, Ye.memoizedState, e); }, useTransition: function () { var e = Rd(Ks)[0], t = hn().memoizedState; return [e, t]; }, useMutableSource: kx, useSyncExternalStore: Cx, useId: Bx, unstable_isNewReconciler: !1, }; function Co(e, t) { try { var n = "", r = t; do (n += O_(r)), (r = r.return); while (r); var i = n; } catch (o) { i = ` Error generating stack: ` + o.message + ` ` + o.stack; } return { value: e, source: t, stack: i, digest: null }; } function Pd(e, t, n) { return { value: e, source: null, stack: n ?? null, digest: t ?? null }; } function uh(e, t) { try { console.error(t.value); } catch (n) { setTimeout(function () { throw n; }); } } var oI = typeof WeakMap == "function" ? WeakMap : Map; function Hx(e, t, n) { (n = ar(-1, n)), (n.tag = 3), (n.payload = { element: null }); var r = t.value; return ( (n.callback = function () { vc || ((vc = !0), (bh = r)), uh(e, t); }), n ); } function jx(e, t, n) { (n = ar(-1, n)), (n.tag = 3); var r = e.type.getDerivedStateFromError; if (typeof r == "function") { var i = t.value; (n.payload = function () { return r(i); }), (n.callback = function () { uh(e, t); }); } var o = e.stateNode; return ( o !== null && typeof o.componentDidCatch == "function" && (n.callback = function () { uh(e, t), typeof r != "function" && (Ar === null ? (Ar = new Set([this])) : Ar.add(this)); var s = t.stack; this.componentDidCatch(t.value, { componentStack: s !== null ? s : "", }); }), n ); } function Z0(e, t, n) { var r = e.pingCache; if (r === null) { r = e.pingCache = new oI(); var i = new Set(); r.set(t, i); } else (i = r.get(t)), i === void 0 && ((i = new Set()), r.set(t, i)); i.has(n) || (i.add(n), (e = bI.bind(null, e, t, n)), t.then(e, e)); } function J0(e) { do { var t; if ( ((t = e.tag === 13) && ((t = e.memoizedState), (t = t === null || t.dehydrated !== null)), t) ) return e; e = e.return; } while (e !== null); return null; } function eb(e, t, n, r, i) { return 1 & e.mode ? ((e.flags |= 65536), (e.lanes = i), e) : (e === t ? (e.flags |= 65536) : ((e.flags |= 128), (n.flags |= 131072), (n.flags &= -52805), n.tag === 1 && (n.alternate === null ? (n.tag = 17) : ((t = ar(-1, 1)), (t.tag = 2), Dr(n, t, 1))), (n.lanes |= 1)), e); } var sI = dr.ReactCurrentOwner, Mt = !1; function St(e, t, n, r) { t.child = e === null ? Sx(t, null, n, r) : wo(t, e.child, n, r); } function tb(e, t, n, r, i) { n = n.render; var o = t.ref; return ( go(t, i), (r = Qh(e, t, n, r, o, i)), (n = Zh()), e !== null && !Mt ? ((t.updateQueue = e.updateQueue), (t.flags &= -2053), (e.lanes &= ~i), fr(e, t, i)) : (Te && n && $h(t), (t.flags |= 1), St(e, t, r, i), t.child) ); } function nb(e, t, n, r, i) { if (e === null) { var o = n.type; return typeof o == "function" && !lp(o) && o.defaultProps === void 0 && n.compare === null && n.defaultProps === void 0 ? ((t.tag = 15), (t.type = o), Wx(e, t, o, r, i)) : ((e = Kl(n.type, null, r, t, t.mode, i)), (e.ref = t.ref), (e.return = t), (t.child = e)); } if (((o = e.child), !(e.lanes & i))) { var s = o.memoizedProps; if ( ((n = n.compare), (n = n !== null ? n : Hs), n(s, r) && e.ref === t.ref) ) return fr(e, t, i); } return ( (t.flags |= 1), (e = Br(o, r)), (e.ref = t.ref), (e.return = t), (t.child = e) ); } function Wx(e, t, n, r, i) { if (e !== null) { var o = e.memoizedProps; if (Hs(o, r) && e.ref === t.ref) { if (((Mt = !1), (t.pendingProps = r = o), (e.lanes & i) === 0)) return (t.lanes = e.lanes), fr(e, t, i); 131072 & e.flags && (Mt = !0); } } return fh(e, t, n, r, i); } function Ux(e, t, n) { var r = t.pendingProps, i = r.children, o = e !== null ? e.memoizedState : null; if (r.mode === "hidden") if (!(1 & t.mode)) (t.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }), ge(fo, Ut), (Ut |= n); else { if (!(1073741824 & n)) return ( (e = o !== null ? o.baseLanes | n : n), (t.lanes = t.childLanes = 1073741824), (t.memoizedState = { baseLanes: e, cachePool: null, transitions: null, }), (t.updateQueue = null), ge(fo, Ut), (Ut |= e), null ); (t.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }), (r = o !== null ? o.baseLanes : n), ge(fo, Ut), (Ut |= r); } else o !== null ? ((r = o.baseLanes | n), (t.memoizedState = null)) : (r = n), ge(fo, Ut), (Ut |= r); return St(e, t, i, n), t.child; } function Xx(e, t) { var n = t.ref; ((e === null && n !== null) || (e !== null && e.ref !== n)) && ((t.flags |= 512), (t.flags |= 2097152)); } function fh(e, t, n, r, i) { var o = Dt(n) ? bi : ht.current; return ( (o = xo(t, o)), go(t, i), (n = Qh(e, t, n, r, o, i)), (r = Zh()), e !== null && !Mt ? ((t.updateQueue = e.updateQueue), (t.flags &= -2053), (e.lanes &= ~i), fr(e, t, i)) : (Te && r && $h(t), (t.flags |= 1), St(e, t, n, i), t.child) ); } function rb(e, t, n, r, i) { if (Dt(n)) { var o = !0; sc(t); } else o = !1; if ((go(t, i), t.stateNode === null)) Xl(e, t), bx(t, n, r), ch(t, n, r, i), (r = !0); else if (e === null) { var s = t.stateNode, a = t.memoizedProps; s.props = a; var l = s.context, c = n.contextType; typeof c == "object" && c !== null ? (c = dn(c)) : ((c = Dt(n) ? bi : ht.current), (c = xo(t, c))); var u = n.getDerivedStateFromProps, f = typeof u == "function" || typeof s.getSnapshotBeforeUpdate == "function"; f || (typeof s.UNSAFE_componentWillReceiveProps != "function" && typeof s.componentWillReceiveProps != "function") || ((a !== r || l !== c) && G0(t, s, r, c)), (Er = !1); var d = t.memoizedState; (s.state = d), fc(t, r, s, i), (l = t.memoizedState), a !== r || d !== l || Ot.current || Er ? (typeof u == "function" && (lh(t, n, u, r), (l = t.memoizedState)), (a = Er || Y0(t, n, a, r, d, l, c)) ? (f || (typeof s.UNSAFE_componentWillMount != "function" && typeof s.componentWillMount != "function") || (typeof s.componentWillMount == "function" && s.componentWillMount(), typeof s.UNSAFE_componentWillMount == "function" && s.UNSAFE_componentWillMount()), typeof s.componentDidMount == "function" && (t.flags |= 4194308)) : (typeof s.componentDidMount == "function" && (t.flags |= 4194308), (t.memoizedProps = r), (t.memoizedState = l)), (s.props = r), (s.state = l), (s.context = c), (r = a)) : (typeof s.componentDidMount == "function" && (t.flags |= 4194308), (r = !1)); } else { (s = t.stateNode), gx(e, t), (a = t.memoizedProps), (c = t.type === t.elementType ? a : Sn(t.type, a)), (s.props = c), (f = t.pendingProps), (d = s.context), (l = n.contextType), typeof l == "object" && l !== null ? (l = dn(l)) : ((l = Dt(n) ? bi : ht.current), (l = xo(t, l))); var m = n.getDerivedStateFromProps; (u = typeof m == "function" || typeof s.getSnapshotBeforeUpdate == "function") || (typeof s.UNSAFE_componentWillReceiveProps != "function" && typeof s.componentWillReceiveProps != "function") || ((a !== f || d !== l) && G0(t, s, r, l)), (Er = !1), (d = t.memoizedState), (s.state = d), fc(t, r, s, i); var y = t.memoizedState; a !== f || d !== y || Ot.current || Er ? (typeof m == "function" && (lh(t, n, m, r), (y = t.memoizedState)), (c = Er || Y0(t, n, c, r, d, y, l) || !1) ? (u || (typeof s.UNSAFE_componentWillUpdate != "function" && typeof s.componentWillUpdate != "function") || (typeof s.componentWillUpdate == "function" && s.componentWillUpdate(r, y, l), typeof s.UNSAFE_componentWillUpdate == "function" && s.UNSAFE_componentWillUpdate(r, y, l)), typeof s.componentDidUpdate == "function" && (t.flags |= 4), typeof s.getSnapshotBeforeUpdate == "function" && (t.flags |= 1024)) : (typeof s.componentDidUpdate != "function" || (a === e.memoizedProps && d === e.memoizedState) || (t.flags |= 4), typeof s.getSnapshotBeforeUpdate != "function" || (a === e.memoizedProps && d === e.memoizedState) || (t.flags |= 1024), (t.memoizedProps = r), (t.memoizedState = y)), (s.props = r), (s.state = y), (s.context = l), (r = c)) : (typeof s.componentDidUpdate != "function" || (a === e.memoizedProps && d === e.memoizedState) || (t.flags |= 4), typeof s.getSnapshotBeforeUpdate != "function" || (a === e.memoizedProps && d === e.memoizedState) || (t.flags |= 1024), (r = !1)); } return dh(e, t, n, r, o, i); } function dh(e, t, n, r, i, o) { Xx(e, t); var s = (128 & t.flags) !== 0; if (!r && !s) return i && H0(t, n, !1), fr(e, t, o); (r = t.stateNode), (sI.current = t); var a = s && typeof n.getDerivedStateFromError != "function" ? null : r.render(); return ( (t.flags |= 1), e !== null && s ? ((t.child = wo(t, e.child, null, o)), (t.child = wo(t, null, a, o))) : St(e, t, a, o), (t.memoizedState = r.state), i && H0(t, n, !0), t.child ); } function Yx(e) { var t = e.stateNode; t.pendingContext ? N0(e, t.pendingContext, t.pendingContext !== t.context) : t.context && N0(e, t.context, !1), Yh(e, t.containerInfo); } function ib(e, t, n, r, i) { return So(), Nh(i), (t.flags |= 256), St(e, t, n, r), t.child; } var hh = { dehydrated: null, treeContext: null, retryLane: 0 }; function ph(e) { return { baseLanes: e, cachePool: null, transitions: null }; } function Gx(e, t, n) { var r, i = t.pendingProps, o = Ee.current, s = !1, a = (128 & t.flags) !== 0; if ( ((r = a) || (r = (e === null || e.memoizedState !== null) && (2 & o) !== 0), r ? ((s = !0), (t.flags &= -129)) : (e !== null && e.memoizedState === null) || (o |= 1), ge(Ee, 1 & o), e === null) ) return ( sh(t), (e = t.memoizedState), e !== null && ((e = e.dehydrated), e !== null) ? (1 & t.mode ? e.data === "$!" ? (t.lanes = 8) : (t.lanes = 1073741824) : (t.lanes = 1), null) : ((a = i.children), (e = i.fallback), s ? ((i = t.mode), (s = t.child), (a = { mode: "hidden", children: a }), !(1 & i) && s !== null ? ((s.childLanes = 0), (s.pendingProps = a)) : (s = Ic(a, i, 0, null)), (e = yi(e, i, n, null)), (s.return = t), (e.return = t), (s.sibling = e), (t.child = s), (t.child.memoizedState = ph(n)), (t.memoizedState = hh), e) : tp(t, a)) ); if (((o = e.memoizedState), o !== null && ((r = o.dehydrated), r !== null))) return aI(e, t, a, i, r, o, n); if (s) { (s = i.fallback), (a = t.mode), (o = e.child), (r = o.sibling); var l = { mode: "hidden", children: i.children }; return ( !(1 & a) && t.child !== o ? ((i = t.child), (i.childLanes = 0), (i.pendingProps = l), (t.deletions = null)) : ((i = Br(o, l)), (i.subtreeFlags = 14680064 & o.subtreeFlags)), r !== null ? (s = Br(r, s)) : ((s = yi(s, a, n, null)), (s.flags |= 2)), (s.return = t), (i.return = t), (i.sibling = s), (t.child = i), (i = s), (s = t.child), (a = e.child.memoizedState), (a = a === null ? ph(n) : { baseLanes: a.baseLanes | n, cachePool: null, transitions: a.transitions, }), (s.memoizedState = a), (s.childLanes = e.childLanes & ~n), (t.memoizedState = hh), i ); } return ( (s = e.child), (e = s.sibling), (i = Br(s, { mode: "visible", children: i.children })), !(1 & t.mode) && (i.lanes = n), (i.return = t), (i.sibling = null), e !== null && ((n = t.deletions), n === null ? ((t.deletions = [e]), (t.flags |= 16)) : n.push(e)), (t.child = i), (t.memoizedState = null), i ); } function tp(e, t) { return ( (t = Ic({ mode: "visible", children: t }, e.mode, 0, null)), (t.return = e), (e.child = t) ); } function Vl(e, t, n, r) { return ( r !== null && Nh(r), wo(t, e.child, null, n), (e = tp(t, t.pendingProps.children)), (e.flags |= 2), (t.memoizedState = null), e ); } function aI(e, t, n, r, i, o, s) { if (n) return 256 & t.flags ? ((t.flags &= -257), (r = Pd(Error(L(422)))), Vl(e, t, s, r)) : t.memoizedState !== null ? ((t.child = e.child), (t.flags |= 128), null) : ((o = r.fallback), (i = t.mode), (r = Ic({ mode: "visible", children: r.children }, i, 0, null)), (o = yi(o, i, s, null)), (o.flags |= 2), (r.return = t), (o.return = t), (r.sibling = o), (t.child = r), 1 & t.mode && wo(t, e.child, null, s), (t.child.memoizedState = ph(s)), (t.memoizedState = hh), o); if (!(1 & t.mode)) return Vl(e, t, s, null); if (i.data === "$!") { if (((r = i.nextSibling && i.nextSibling.dataset), r)) var a = r.dgst; return (r = a), (o = Error(L(419))), (r = Pd(o, r, void 0)), Vl(e, t, s, r); } if (((a = (s & e.childLanes) !== 0), Mt || a)) { if (((r = Qe), r !== null)) { switch (s & -s) { case 4: i = 2; break; case 16: i = 8; break; case 64: case 128: case 256: case 512: case 1024: case 2048: case 4096: case 8192: case 16384: case 32768: case 65536: case 131072: case 262144: case 524288: case 1048576: case 2097152: case 4194304: case 8388608: case 16777216: case 33554432: case 67108864: i = 32; break; case 536870912: i = 268435456; break; default: i = 0; } (i = i & (r.suspendedLanes | s) ? 0 : i), i !== 0 && i !== o.retryLane && ((o.retryLane = i), ur(e, i), Tn(r, e, i, -1)); } return ap(), (r = Pd(Error(L(421)))), Vl(e, t, s, r); } return i.data === "$?" ? ((t.flags |= 128), (t.child = e.child), (t = xI.bind(null, e)), (i._reactRetry = t), null) : ((e = o.treeContext), (Xt = Or(i.nextSibling)), (Yt = t), (Te = !0), (kn = null), e !== null && ((ln[cn++] = or), (ln[cn++] = sr), (ln[cn++] = xi), (or = e.id), (sr = e.overflow), (xi = t)), (t = tp(t, r.children)), (t.flags |= 4096), t); } function ob(e, t, n) { e.lanes |= t; var r = e.alternate; r !== null && (r.lanes |= t), ah(e.return, t, n); } function _d(e, t, n, r, i) { var o = e.memoizedState; o === null ? (e.memoizedState = { isBackwards: t, rendering: null, renderingStartTime: 0, last: r, tail: n, tailMode: i, }) : ((o.isBackwards = t), (o.rendering = null), (o.renderingStartTime = 0), (o.last = r), (o.tail = n), (o.tailMode = i)); } function Kx(e, t, n) { var r = t.pendingProps, i = r.revealOrder, o = r.tail; if ((St(e, t, r.children, n), (r = Ee.current), 2 & r)) (r = (1 & r) | 2), (t.flags |= 128); else { if (e !== null && 128 & e.flags) e: for (e = t.child; e !== null; ) { if (e.tag === 13) e.memoizedState !== null && ob(e, n, t); else if (e.tag === 19) ob(e, n, t); else if (e.child !== null) { (e.child.return = e), (e = e.child); continue; } if (e === t) break e; for (; e.sibling === null; ) { if (e.return === null || e.return === t) break e; e = e.return; } (e.sibling.return = e.return), (e = e.sibling); } r &= 1; } if ((ge(Ee, r), !(1 & t.mode))) t.memoizedState = null; else switch (i) { case "forwards": for (n = t.child, i = null; n !== null; ) (e = n.alternate), e !== null && dc(e) === null && (i = n), (n = n.sibling); (n = i), n === null ? ((i = t.child), (t.child = null)) : ((i = n.sibling), (n.sibling = null)), _d(t, !1, i, n, o); break; case "backwards": for (n = null, i = t.child, t.child = null; i !== null; ) { if (((e = i.alternate), e !== null && dc(e) === null)) { t.child = i; break; } (e = i.sibling), (i.sibling = n), (n = i), (i = e); } _d(t, !0, n, null, o); break; case "together": _d(t, !1, null, null, void 0); break; default: t.memoizedState = null; } return t.child; } function Xl(e, t) { !(1 & t.mode) && e !== null && ((e.alternate = null), (t.alternate = null), (t.flags |= 2)); } function fr(e, t, n) { if ( (e !== null && (t.dependencies = e.dependencies), (wi |= t.lanes), !(n & t.childLanes)) ) return null; if (e !== null && t.child !== e.child) throw Error(L(153)); if (t.child !== null) { for ( e = t.child, n = Br(e, e.pendingProps), t.child = n, n.return = t; e.sibling !== null; ) (e = e.sibling), (n = n.sibling = Br(e, e.pendingProps)), (n.return = t); n.sibling = null; } return t.child; } function lI(e, t, n) { switch (t.tag) { case 3: Yx(t), So(); break; case 5: wx(t); break; case 1: Dt(t.type) && sc(t); break; case 4: Yh(t, t.stateNode.containerInfo); break; case 10: var r = t.type._context, i = t.memoizedProps.value; ge(cc, r._currentValue), (r._currentValue = i); break; case 13: if (((r = t.memoizedState), r !== null)) return r.dehydrated !== null ? (ge(Ee, 1 & Ee.current), (t.flags |= 128), null) : n & t.child.childLanes ? Gx(e, t, n) : (ge(Ee, 1 & Ee.current), (e = fr(e, t, n)), e !== null ? e.sibling : null); ge(Ee, 1 & Ee.current); break; case 19: if (((r = (n & t.childLanes) !== 0), 128 & e.flags)) { if (r) return Kx(e, t, n); t.flags |= 128; } if ( ((i = t.memoizedState), i !== null && ((i.rendering = null), (i.tail = null), (i.lastEffect = null)), ge(Ee, Ee.current), r) ) break; return null; case 22: case 23: return (t.lanes = 0), Ux(e, t, n); } return fr(e, t, n); } var qx, mh, Qx, Zx; qx = function (e, t) { for (var n = t.child; n !== null; ) { if (n.tag === 5 || n.tag === 6) e.appendChild(n.stateNode); else if (n.tag !== 4 && n.child !== null) { (n.child.return = n), (n = n.child); continue; } if (n === t) break; for (; n.sibling === null; ) { if (n.return === null || n.return === t) return; n = n.return; } (n.sibling.return = n.return), (n = n.sibling); } }; mh = function () {}; Qx = function (e, t, n, r) { var i = e.memoizedProps; if (i !== r) { (e = t.stateNode), vi(jn.current); var o = null; switch (n) { case "input": (i = Vd(e, i)), (r = Vd(e, r)), (o = []); break; case "select": (i = Pe({}, i, { value: void 0 })), (r = Pe({}, r, { value: void 0 })), (o = []); break; case "textarea": (i = zd(e, i)), (r = zd(e, r)), (o = []); break; default: typeof i.onClick != "function" && typeof r.onClick == "function" && (e.onclick = ic); } Hd(n, r); var s; n = null; for (c in i) if (!r.hasOwnProperty(c) && i.hasOwnProperty(c) && i[c] != null) if (c === "style") { var a = i[c]; for (s in a) a.hasOwnProperty(s) && (n || (n = {}), (n[s] = "")); } else c !== "dangerouslySetInnerHTML" && c !== "children" && c !== "suppressContentEditableWarning" && c !== "suppressHydrationWarning" && c !== "autoFocus" && (Ds.hasOwnProperty(c) ? o || (o = []) : (o = o || []).push(c, null)); for (c in r) { var l = r[c]; if ( ((a = i?.[c]), r.hasOwnProperty(c) && l !== a && (l != null || a != null)) ) if (c === "style") if (a) { for (s in a) !a.hasOwnProperty(s) || (l && l.hasOwnProperty(s)) || (n || (n = {}), (n[s] = "")); for (s in l) l.hasOwnProperty(s) && a[s] !== l[s] && (n || (n = {}), (n[s] = l[s])); } else n || (o || (o = []), o.push(c, n)), (n = l); else c === "dangerouslySetInnerHTML" ? ((l = l ? l.__html : void 0), (a = a ? a.__html : void 0), l != null && a !== l && (o = o || []).push(c, l)) : c === "children" ? (typeof l != "string" && typeof l != "number") || (o = o || []).push(c, "" + l) : c !== "suppressContentEditableWarning" && c !== "suppressHydrationWarning" && (Ds.hasOwnProperty(c) ? (l != null && c === "onScroll" && Se("scroll", e), o || a === l || (o = [])) : (o = o || []).push(c, l)); } n && (o = o || []).push("style", n); var c = o; (t.updateQueue = c) && (t.flags |= 4); } }; Zx = function (e, t, n, r) { n !== r && (t.flags |= 4); }; function bs(e, t) { if (!Te) switch (e.tailMode) { case "hidden": t = e.tail; for (var n = null; t !== null; ) t.alternate !== null && (n = t), (t = t.sibling); n === null ? (e.tail = null) : (n.sibling = null); break; case "collapsed": n = e.tail; for (var r = null; n !== null; ) n.alternate !== null && (r = n), (n = n.sibling); r === null ? t || e.tail === null ? (e.tail = null) : (e.tail.sibling = null) : (r.sibling = null); } } function ft(e) { var t = e.alternate !== null && e.alternate.child === e.child, n = 0, r = 0; if (t) for (var i = e.child; i !== null; ) (n |= i.lanes | i.childLanes), (r |= 14680064 & i.subtreeFlags), (r |= 14680064 & i.flags), (i.return = e), (i = i.sibling); else for (i = e.child; i !== null; ) (n |= i.lanes | i.childLanes), (r |= i.subtreeFlags), (r |= i.flags), (i.return = e), (i = i.sibling); return (e.subtreeFlags |= r), (e.childLanes = n), t; } function cI(e, t, n) { var r = t.pendingProps; switch ((zh(t), t.tag)) { case 2: case 16: case 15: case 0: case 11: case 7: case 8: case 12: case 9: case 14: return ft(t), null; case 1: return Dt(t.type) && oc(), ft(t), null; case 3: return ( (r = t.stateNode), ko(), we(Ot), we(ht), Kh(), r.pendingContext && ((r.context = r.pendingContext), (r.pendingContext = null)), (e !== null && e.child !== null) || (Dl(t) ? (t.flags |= 4) : e === null || (e.memoizedState.isDehydrated && !(256 & t.flags)) || ((t.flags |= 1024), kn !== null && (wh(kn), (kn = null)))), mh(e, t), ft(t), null ); case 5: Gh(t); var i = vi(Ys.current); if (((n = t.type), e !== null && t.stateNode != null)) Qx(e, t, n, r, i), e.ref !== t.ref && ((t.flags |= 512), (t.flags |= 2097152)); else { if (!r) { if (t.stateNode === null) throw Error(L(166)); return ft(t), null; } if (((e = vi(jn.current)), Dl(t))) { (r = t.stateNode), (n = t.type); var o = t.memoizedProps; switch (((r[Nn] = t), (r[Us] = o), (e = (1 & t.mode) !== 0), n)) { case "dialog": Se("cancel", r), Se("close", r); break; case "iframe": case "object": case "embed": Se("load", r); break; case "video": case "audio": for (i = 0; i < Ts.length; i++) Se(Ts[i], r); break; case "source": Se("error", r); break; case "img": case "image": case "link": Se("error", r), Se("load", r); break; case "details": Se("toggle", r); break; case "input": h0(r, o), Se("invalid", r); break; case "select": (r._wrapperState = { wasMultiple: !!o.multiple }), Se("invalid", r); break; case "textarea": m0(r, o), Se("invalid", r); } Hd(n, o), (i = null); for (var s in o) if (o.hasOwnProperty(s)) { var a = o[s]; s === "children" ? typeof a == "string" ? r.textContent !== a && (o.suppressHydrationWarning !== !0 && Ol(r.textContent, a, e), (i = ["children", a])) : typeof a == "number" && r.textContent !== "" + a && (o.suppressHydrationWarning !== !0 && Ol(r.textContent, a, e), (i = ["children", "" + a])) : Ds.hasOwnProperty(s) && a != null && s === "onScroll" && Se("scroll", r); } switch (n) { case "input": wl(r), p0(r, o, !0); break; case "textarea": wl(r), v0(r); break; case "select": case "option": break; default: typeof o.onClick == "function" && (r.onclick = ic); } (r = i), (t.updateQueue = r), r !== null && (t.flags |= 4); } else { (s = i.nodeType === 9 ? i : i.ownerDocument), e === "http://www.w3.org/1999/xhtml" && (e = Tb(n)), e === "http://www.w3.org/1999/xhtml" ? n === "script" ? ((e = s.createElement("div")), (e.innerHTML = ""), (e = e.removeChild(e.firstChild))) : typeof r.is == "string" ? (e = s.createElement(n, { is: r.is })) : ((e = s.createElement(n)), n === "select" && ((s = e), r.multiple ? (s.multiple = !0) : r.size && (s.size = r.size))) : (e = s.createElementNS(e, n)), (e[Nn] = t), (e[Us] = r), qx(e, t, !1, !1), (t.stateNode = e); e: { switch (((s = jd(n, r)), n)) { case "dialog": Se("cancel", e), Se("close", e), (i = r); break; case "iframe": case "object": case "embed": Se("load", e), (i = r); break; case "video": case "audio": for (i = 0; i < Ts.length; i++) Se(Ts[i], e); i = r; break; case "source": Se("error", e), (i = r); break; case "img": case "image": case "link": Se("error", e), Se("load", e), (i = r); break; case "details": Se("toggle", e), (i = r); break; case "input": h0(e, r), (i = Vd(e, r)), Se("invalid", e); break; case "option": i = r; break; case "select": (e._wrapperState = { wasMultiple: !!r.multiple }), (i = Pe({}, r, { value: void 0 })), Se("invalid", e); break; case "textarea": m0(e, r), (i = zd(e, r)), Se("invalid", e); break; default: i = r; } Hd(n, i), (a = i); for (o in a) if (a.hasOwnProperty(o)) { var l = a[o]; o === "style" ? Pb(e, l) : o === "dangerouslySetInnerHTML" ? ((l = l ? l.__html : void 0), l != null && Eb(e, l)) : o === "children" ? typeof l == "string" ? (n !== "textarea" || l !== "") && As(e, l) : typeof l == "number" && As(e, "" + l) : o !== "suppressContentEditableWarning" && o !== "suppressHydrationWarning" && o !== "autoFocus" && (Ds.hasOwnProperty(o) ? l != null && o === "onScroll" && Se("scroll", e) : l != null && Th(e, o, l, s)); } switch (n) { case "input": wl(e), p0(e, r, !1); break; case "textarea": wl(e), v0(e); break; case "option": r.value != null && e.setAttribute("value", "" + $r(r.value)); break; case "select": (e.multiple = !!r.multiple), (o = r.value), o != null ? ho(e, !!r.multiple, o, !1) : r.defaultValue != null && ho(e, !!r.multiple, r.defaultValue, !0); break; default: typeof i.onClick == "function" && (e.onclick = ic); } switch (n) { case "button": case "input": case "select": case "textarea": r = !!r.autoFocus; break e; case "img": r = !0; break e; default: r = !1; } } r && (t.flags |= 4); } t.ref !== null && ((t.flags |= 512), (t.flags |= 2097152)); } return ft(t), null; case 6: if (e && t.stateNode != null) Zx(e, t, e.memoizedProps, r); else { if (typeof r != "string" && t.stateNode === null) throw Error(L(166)); if (((n = vi(Ys.current)), vi(jn.current), Dl(t))) { if ( ((r = t.stateNode), (n = t.memoizedProps), (r[Nn] = t), (o = r.nodeValue !== n) && ((e = Yt), e !== null)) ) switch (e.tag) { case 3: Ol(r.nodeValue, n, (1 & e.mode) !== 0); break; case 5: e.memoizedProps.suppressHydrationWarning !== !0 && Ol(r.nodeValue, n, (1 & e.mode) !== 0); } o && (t.flags |= 4); } else (r = (n.nodeType === 9 ? n : n.ownerDocument).createTextNode(r)), (r[Nn] = t), (t.stateNode = r); } return ft(t), null; case 13: if ( (we(Ee), (r = t.memoizedState), e === null || (e.memoizedState !== null && e.memoizedState.dehydrated !== null)) ) { if (Te && Xt !== null && 1 & t.mode && !(128 & t.flags)) mx(), So(), (t.flags |= 98560), (o = !1); else if (((o = Dl(t)), r !== null && r.dehydrated !== null)) { if (e === null) { if (!o) throw Error(L(318)); if ( ((o = t.memoizedState), (o = o !== null ? o.dehydrated : null), !o) ) throw Error(L(317)); o[Nn] = t; } else So(), !(128 & t.flags) && (t.memoizedState = null), (t.flags |= 4); ft(t), (o = !1); } else kn !== null && (wh(kn), (kn = null)), (o = !0); if (!o) return 65536 & t.flags ? t : null; } return 128 & t.flags ? ((t.lanes = n), t) : ((r = r !== null), r !== (e !== null && e.memoizedState !== null) && r && ((t.child.flags |= 8192), 1 & t.mode && (e === null || 1 & Ee.current ? Ge === 0 && (Ge = 3) : ap())), t.updateQueue !== null && (t.flags |= 4), ft(t), null); case 4: return ( ko(), mh(e, t), e === null && js(t.stateNode.containerInfo), ft(t), null ); case 10: return Wh(t.type._context), ft(t), null; case 17: return Dt(t.type) && oc(), ft(t), null; case 19: if ((we(Ee), (o = t.memoizedState), o === null)) return ft(t), null; if (((r = (128 & t.flags) !== 0), (s = o.rendering), s === null)) if (r) bs(o, !1); else { if (Ge !== 0 || (e !== null && 128 & e.flags)) for (e = t.child; e !== null; ) { if (((s = dc(e)), s !== null)) { for ( t.flags |= 128, bs(o, !1), r = s.updateQueue, r !== null && ((t.updateQueue = r), (t.flags |= 4)), t.subtreeFlags = 0, r = n, n = t.child; n !== null; ) (o = n), (e = r), (o.flags &= 14680066), (s = o.alternate), s === null ? ((o.childLanes = 0), (o.lanes = e), (o.child = null), (o.subtreeFlags = 0), (o.memoizedProps = null), (o.memoizedState = null), (o.updateQueue = null), (o.dependencies = null), (o.stateNode = null)) : ((o.childLanes = s.childLanes), (o.lanes = s.lanes), (o.child = s.child), (o.subtreeFlags = 0), (o.deletions = null), (o.memoizedProps = s.memoizedProps), (o.memoizedState = s.memoizedState), (o.updateQueue = s.updateQueue), (o.type = s.type), (e = s.dependencies), (o.dependencies = e === null ? null : { lanes: e.lanes, firstContext: e.firstContext, })), (n = n.sibling); return ge(Ee, (1 & Ee.current) | 2), t.child; } e = e.sibling; } o.tail !== null && $e() > To && ((t.flags |= 128), (r = !0), bs(o, !1), (t.lanes = 4194304)); } else { if (!r) if (((e = dc(s)), e !== null)) { if ( ((t.flags |= 128), (r = !0), (n = e.updateQueue), n !== null && ((t.updateQueue = n), (t.flags |= 4)), bs(o, !0), o.tail === null && o.tailMode === "hidden" && !s.alternate && !Te) ) return ft(t), null; } else 2 * $e() - o.renderingStartTime > To && n !== 1073741824 && ((t.flags |= 128), (r = !0), bs(o, !1), (t.lanes = 4194304)); o.isBackwards ? ((s.sibling = t.child), (t.child = s)) : ((n = o.last), n !== null ? (n.sibling = s) : (t.child = s), (o.last = s)); } return o.tail !== null ? ((t = o.tail), (o.rendering = t), (o.tail = t.sibling), (o.renderingStartTime = $e()), (t.sibling = null), (n = Ee.current), ge(Ee, r ? (1 & n) | 2 : 1 & n), t) : (ft(t), null); case 22: case 23: return ( sp(), (r = t.memoizedState !== null), e !== null && (e.memoizedState !== null) !== r && (t.flags |= 8192), r && 1 & t.mode ? 1073741824 & Ut && (ft(t), 6 & t.subtreeFlags && (t.flags |= 8192)) : ft(t), null ); case 24: return null; case 25: return null; } throw Error(L(156, t.tag)); } function uI(e, t) { switch ((zh(t), t.tag)) { case 1: return ( Dt(t.type) && oc(), (e = t.flags), 65536 & e ? ((t.flags = (-65537 & e) | 128), t) : null ); case 3: return ( ko(), we(Ot), we(ht), Kh(), (e = t.flags), 65536 & e && !(128 & e) ? ((t.flags = (-65537 & e) | 128), t) : null ); case 5: return Gh(t), null; case 13: if ( (we(Ee), (e = t.memoizedState), e !== null && e.dehydrated !== null) ) { if (t.alternate === null) throw Error(L(340)); So(); } return ( (e = t.flags), 65536 & e ? ((t.flags = (-65537 & e) | 128), t) : null ); case 19: return we(Ee), null; case 4: return ko(), null; case 10: return Wh(t.type._context), null; case 22: case 23: return sp(), null; case 24: return null; default: return null; } } var Bl = !1, dt = !1, fI = typeof WeakSet == "function" ? WeakSet : Set, A = null; function uo(e, t) { var n = e.ref; if (n !== null) if (typeof n == "function") try { n(null); } catch (r) { Oe(e, t, r); } else n.current = null; } function Jx(e, t, n) { try { n(); } catch (r) { Oe(e, t, r); } } var sb = !1; function dI(e, t) { if (((Jd = tc), (e = nx()), Bh(e))) { if ("selectionStart" in e) var n = { start: e.selectionStart, end: e.selectionEnd }; else e: { n = ((n = e.ownerDocument) && n.defaultView) || window; var r = n.getSelection && n.getSelection(); if (r && r.rangeCount !== 0) { n = r.anchorNode; var i = r.anchorOffset, o = r.focusNode; r = r.focusOffset; try { n.nodeType, o.nodeType; } catch { n = null; break e; } var s = 0, a = -1, l = -1, c = 0, u = 0, f = e, d = null; t: for (;;) { for ( var m; f !== n || (i !== 0 && f.nodeType !== 3) || (a = s + i), f !== o || (r !== 0 && f.nodeType !== 3) || (l = s + r), f.nodeType === 3 && (s += f.nodeValue.length), (m = f.firstChild) !== null; ) (d = f), (f = m); for (;;) { if (f === e) break t; if ( (d === n && ++c === i && (a = s), d === o && ++u === r && (l = s), (m = f.nextSibling) !== null) ) break; (f = d), (d = f.parentNode); } f = m; } n = a === -1 || l === -1 ? null : { start: a, end: l }; } else n = null; } n = n || { start: 0, end: 0 }; } else n = null; for (eh = { focusedElem: e, selectionRange: n }, tc = !1, A = t; A !== null; ) if (((t = A), (e = t.child), (1028 & t.subtreeFlags) !== 0 && e !== null)) (e.return = t), (A = e); else for (; A !== null; ) { t = A; try { var y = t.alternate; if (1024 & t.flags) switch (t.tag) { case 0: case 11: case 15: break; case 1: if (y !== null) { var v = y.memoizedProps, x = y.memoizedState, p = t.stateNode, h = p.getSnapshotBeforeUpdate( t.elementType === t.type ? v : Sn(t.type, v), x ); p.__reactInternalSnapshotBeforeUpdate = h; } break; case 3: var g = t.stateNode.containerInfo; g.nodeType === 1 ? (g.textContent = "") : g.nodeType === 9 && g.documentElement && g.removeChild(g.documentElement); break; case 5: case 6: case 4: case 17: break; default: throw Error(L(163)); } } catch (S) { Oe(t, t.return, S); } if (((e = t.sibling), e !== null)) { (e.return = t.return), (A = e); break; } A = t.return; } return (y = sb), (sb = !1), y; } function Ls(e, t, n) { var r = t.updateQueue; if (((r = r !== null ? r.lastEffect : null), r !== null)) { var i = (r = r.next); do { if ((i.tag & e) === e) { var o = i.destroy; (i.destroy = void 0), o !== void 0 && Jx(t, n, o); } i = i.next; } while (i !== r); } } function Pc(e, t) { if ( ((t = t.updateQueue), (t = t !== null ? t.lastEffect : null), t !== null) ) { var n = (t = t.next); do { if ((n.tag & e) === e) { var r = n.create; n.destroy = r(); } n = n.next; } while (n !== t); } } function vh(e) { var t = e.ref; if (t !== null) { var n = e.stateNode; switch (e.tag) { case 5: e = n; break; default: e = n; } typeof t == "function" ? t(e) : (t.current = e); } } function e1(e) { var t = e.alternate; t !== null && ((e.alternate = null), e1(t)), (e.child = null), (e.deletions = null), (e.sibling = null), e.tag === 5 && ((t = e.stateNode), t !== null && (delete t[Nn], delete t[Us], delete t[rh], delete t[G2], delete t[K2])), (e.stateNode = null), (e.return = null), (e.dependencies = null), (e.memoizedProps = null), (e.memoizedState = null), (e.pendingProps = null), (e.stateNode = null), (e.updateQueue = null); } function t1(e) { return e.tag === 5 || e.tag === 3 || e.tag === 4; } function ab(e) { e: for (;;) { for (; e.sibling === null; ) { if (e.return === null || t1(e.return)) return null; e = e.return; } for ( e.sibling.return = e.return, e = e.sibling; e.tag !== 5 && e.tag !== 6 && e.tag !== 18; ) { if (2 & e.flags || e.child === null || e.tag === 4) continue e; (e.child.return = e), (e = e.child); } if (!(2 & e.flags)) return e.stateNode; } } function gh(e, t, n) { var r = e.tag; if (r === 5 || r === 6) (e = e.stateNode), t ? n.nodeType === 8 ? n.parentNode.insertBefore(e, t) : n.insertBefore(e, t) : (n.nodeType === 8 ? ((t = n.parentNode), t.insertBefore(e, n)) : ((t = n), t.appendChild(e)), (n = n._reactRootContainer), n != null || t.onclick !== null || (t.onclick = ic)); else if (r !== 4 && ((e = e.child), e !== null)) for (gh(e, t, n), e = e.sibling; e !== null; ) gh(e, t, n), (e = e.sibling); } function yh(e, t, n) { var r = e.tag; if (r === 5 || r === 6) (e = e.stateNode), t ? n.insertBefore(e, t) : n.appendChild(e); else if (r !== 4 && ((e = e.child), e !== null)) for (yh(e, t, n), e = e.sibling; e !== null; ) yh(e, t, n), (e = e.sibling); } var rt = null, wn = !1; function Cr(e, t, n) { for (n = n.child; n !== null; ) n1(e, t, n), (n = n.sibling); } function n1(e, t, n) { if (Hn && typeof Hn.onCommitFiberUnmount == "function") try { Hn.onCommitFiberUnmount(xc, n); } catch {} switch (n.tag) { case 5: dt || uo(n, t); case 6: var r = rt, i = wn; (rt = null), Cr(e, t, n), (rt = r), (wn = i), rt !== null && (wn ? ((e = rt), (n = n.stateNode), e.nodeType === 8 ? e.parentNode.removeChild(n) : e.removeChild(n)) : rt.removeChild(n.stateNode)); break; case 18: rt !== null && (wn ? ((e = rt), (n = n.stateNode), e.nodeType === 8 ? wd(e.parentNode, n) : e.nodeType === 1 && wd(e, n), zs(e)) : wd(rt, n.stateNode)); break; case 4: (r = rt), (i = wn), (rt = n.stateNode.containerInfo), (wn = !0), Cr(e, t, n), (rt = r), (wn = i); break; case 0: case 11: case 14: case 15: if ( !dt && ((r = n.updateQueue), r !== null && ((r = r.lastEffect), r !== null)) ) { i = r = r.next; do { var o = i, s = o.destroy; (o = o.tag), s !== void 0 && (2 & o || 4 & o) && Jx(n, t, s), (i = i.next); } while (i !== r); } Cr(e, t, n); break; case 1: if ( !dt && (uo(n, t), (r = n.stateNode), typeof r.componentWillUnmount == "function") ) try { (r.props = n.memoizedProps), (r.state = n.memoizedState), r.componentWillUnmount(); } catch (a) { Oe(n, t, a); } Cr(e, t, n); break; case 21: Cr(e, t, n); break; case 22: 1 & n.mode ? ((dt = (r = dt) || n.memoizedState !== null), Cr(e, t, n), (dt = r)) : Cr(e, t, n); break; default: Cr(e, t, n); } } function lb(e) { var t = e.updateQueue; if (t !== null) { e.updateQueue = null; var n = e.stateNode; n === null && (n = e.stateNode = new fI()), t.forEach(function (r) { var i = SI.bind(null, e, r); n.has(r) || (n.add(r), r.then(i, i)); }); } } function xn(e, t) { var n = t.deletions; if (n !== null) for (var r = 0; r < n.length; r++) { var i = n[r]; try { var o = e, s = t, a = s; e: for (; a !== null; ) { switch (a.tag) { case 5: (rt = a.stateNode), (wn = !1); break e; case 3: (rt = a.stateNode.containerInfo), (wn = !0); break e; case 4: (rt = a.stateNode.containerInfo), (wn = !0); break e; } a = a.return; } if (rt === null) throw Error(L(160)); n1(o, s, i), (rt = null), (wn = !1); var l = i.alternate; l !== null && (l.return = null), (i.return = null); } catch (c) { Oe(i, t, c); } } if (12854 & t.subtreeFlags) for (t = t.child; t !== null; ) r1(t, e), (t = t.sibling); } function r1(e, t) { var n = e.alternate, r = e.flags; switch (e.tag) { case 0: case 11: case 14: case 15: if ((xn(t, e), $n(e), 4 & r)) { try { Ls(3, e, e.return), Pc(3, e); } catch (v) { Oe(e, e.return, v); } try { Ls(5, e, e.return); } catch (v) { Oe(e, e.return, v); } } break; case 1: xn(t, e), $n(e), 512 & r && n !== null && uo(n, n.return); break; case 5: if ( (xn(t, e), $n(e), 512 & r && n !== null && uo(n, n.return), 32 & e.flags) ) { var i = e.stateNode; try { As(i, ""); } catch (v) { Oe(e, e.return, v); } } if (4 & r && ((i = e.stateNode), i != null)) { var o = e.memoizedProps, s = n !== null ? n.memoizedProps : o, a = e.type, l = e.updateQueue; if (((e.updateQueue = null), l !== null)) try { a === "input" && o.type === "radio" && o.name != null && kb(i, o), jd(a, s); var c = jd(a, o); for (s = 0; s < l.length; s += 2) { var u = l[s], f = l[s + 1]; u === "style" ? Pb(i, f) : u === "dangerouslySetInnerHTML" ? Eb(i, f) : u === "children" ? As(i, f) : Th(i, u, f, c); } switch (a) { case "input": Bd(i, o); break; case "textarea": Cb(i, o); break; case "select": var d = i._wrapperState.wasMultiple; i._wrapperState.wasMultiple = !!o.multiple; var m = o.value; m != null ? ho(i, !!o.multiple, m, !1) : d !== !!o.multiple && (o.defaultValue != null ? ho(i, !!o.multiple, o.defaultValue, !0) : ho(i, !!o.multiple, o.multiple ? [] : "", !1)); } i[Us] = o; } catch (v) { Oe(e, e.return, v); } } break; case 6: if ((xn(t, e), $n(e), 4 & r)) { if (e.stateNode === null) throw Error(L(162)); (i = e.stateNode), (o = e.memoizedProps); try { i.nodeValue = o; } catch (v) { Oe(e, e.return, v); } } break; case 3: if ( (xn(t, e), $n(e), 4 & r && n !== null && n.memoizedState.isDehydrated) ) try { zs(t.containerInfo); } catch (v) { Oe(e, e.return, v); } break; case 4: xn(t, e), $n(e); break; case 13: xn(t, e), $n(e), (i = e.child), 8192 & i.flags && ((o = i.memoizedState !== null), (i.stateNode.isHidden = o), !o || (i.alternate !== null && i.alternate.memoizedState !== null) || (ip = $e())), 4 & r && lb(e); break; case 22: if ( ((u = n !== null && n.memoizedState !== null), 1 & e.mode ? ((dt = (c = dt) || u), xn(t, e), (dt = c)) : xn(t, e), $n(e), 8192 & r) ) { if ( ((c = e.memoizedState !== null), (e.stateNode.isHidden = c) && !u && 1 & e.mode) ) for (A = e, u = e.child; u !== null; ) { for (f = A = u; A !== null; ) { switch (((d = A), (m = d.child), d.tag)) { case 0: case 11: case 14: case 15: Ls(4, d, d.return); break; case 1: uo(d, d.return); var y = d.stateNode; if (typeof y.componentWillUnmount == "function") { (r = d), (n = d.return); try { (t = r), (y.props = t.memoizedProps), (y.state = t.memoizedState), y.componentWillUnmount(); } catch (v) { Oe(r, n, v); } } break; case 5: uo(d, d.return); break; case 22: if (d.memoizedState !== null) { ub(f); continue; } } m !== null ? ((m.return = d), (A = m)) : ub(f); } u = u.sibling; } e: for (u = null, f = e; ; ) { if (f.tag === 5) { if (u === null) { u = f; try { (i = f.stateNode), c ? ((o = i.style), typeof o.setProperty == "function" ? o.setProperty("display", "none", "important") : (o.display = "none")) : ((a = f.stateNode), (l = f.memoizedProps.style), (s = l != null && l.hasOwnProperty("display") ? l.display : null), (a.style.display = Rb("display", s))); } catch (v) { Oe(e, e.return, v); } } } else if (f.tag === 6) { if (u === null) try { f.stateNode.nodeValue = c ? "" : f.memoizedProps; } catch (v) { Oe(e, e.return, v); } } else if ( ((f.tag !== 22 && f.tag !== 23) || f.memoizedState === null || f === e) && f.child !== null ) { (f.child.return = f), (f = f.child); continue; } if (f === e) break e; for (; f.sibling === null; ) { if (f.return === null || f.return === e) break e; u === f && (u = null), (f = f.return); } u === f && (u = null), (f.sibling.return = f.return), (f = f.sibling); } } break; case 19: xn(t, e), $n(e), 4 & r && lb(e); break; case 21: break; default: xn(t, e), $n(e); } } function $n(e) { var t = e.flags; if (2 & t) { try { e: { for (var n = e.return; n !== null; ) { if (t1(n)) { var r = n; break e; } n = n.return; } throw Error(L(160)); } switch (r.tag) { case 5: var i = r.stateNode; 32 & r.flags && (As(i, ""), (r.flags &= -33)); var o = ab(e); yh(e, o, i); break; case 3: case 4: var s = r.stateNode.containerInfo, a = ab(e); gh(e, a, s); break; default: throw Error(L(161)); } } catch (l) { Oe(e, e.return, l); } e.flags &= -3; } 4096 & t && (e.flags &= -4097); } function hI(e, t, n) { (A = e), i1(e, t, n); } function i1(e, t, n) { for (var r = (1 & e.mode) !== 0; A !== null; ) { var i = A, o = i.child; if (i.tag === 22 && r) { var s = i.memoizedState !== null || Bl; if (!s) { var a = i.alternate, l = (a !== null && a.memoizedState !== null) || dt; a = Bl; var c = dt; if (((Bl = s), (dt = l) && !c)) for (A = i; A !== null; ) (s = A), (l = s.child), s.tag === 22 && s.memoizedState !== null ? fb(i) : l !== null ? ((l.return = s), (A = l)) : fb(i); for (; o !== null; ) (A = o), i1(o, t, n), (o = o.sibling); (A = i), (Bl = a), (dt = c); } cb(e, t, n); } else 8772 & i.subtreeFlags && o !== null ? ((o.return = i), (A = o)) : cb(e, t, n); } } function cb(e) { for (; A !== null; ) { var t = A; if (8772 & t.flags) { var n = t.alternate; try { if (8772 & t.flags) switch (t.tag) { case 0: case 11: case 15: dt || Pc(5, t); break; case 1: var r = t.stateNode; if (4 & t.flags && !dt) if (n === null) r.componentDidMount(); else { var i = t.elementType === t.type ? n.memoizedProps : Sn(t.type, n.memoizedProps); r.componentDidUpdate( i, n.memoizedState, r.__reactInternalSnapshotBeforeUpdate ); } var o = t.updateQueue; o !== null && X0(t, o, r); break; case 3: var s = t.updateQueue; if (s !== null) { if (((n = null), t.child !== null)) switch (t.child.tag) { case 5: n = t.child.stateNode; break; case 1: n = t.child.stateNode; } X0(t, s, n); } break; case 5: var a = t.stateNode; if (n === null && 4 & t.flags) { n = a; var l = t.memoizedProps; switch (t.type) { case "button": case "input": case "select": case "textarea": l.autoFocus && n.focus(); break; case "img": l.src && (n.src = l.src); } } break; case 6: break; case 4: break; case 12: break; case 13: if (t.memoizedState === null) { var c = t.alternate; if (c !== null) { var u = c.memoizedState; if (u !== null) { var f = u.dehydrated; f !== null && zs(f); } } } break; case 19: case 17: case 21: case 22: case 23: case 25: break; default: throw Error(L(163)); } dt || (512 & t.flags && vh(t)); } catch (d) { Oe(t, t.return, d); } } if (t === e) { A = null; break; } if (((n = t.sibling), n !== null)) { (n.return = t.return), (A = n); break; } A = t.return; } } function ub(e) { for (; A !== null; ) { var t = A; if (t === e) { A = null; break; } var n = t.sibling; if (n !== null) { (n.return = t.return), (A = n); break; } A = t.return; } } function fb(e) { for (; A !== null; ) { var t = A; try { switch (t.tag) { case 0: case 11: case 15: var n = t.return; try { Pc(4, t); } catch (l) { Oe(t, n, l); } break; case 1: var r = t.stateNode; if (typeof r.componentDidMount == "function") { var i = t.return; try { r.componentDidMount(); } catch (l) { Oe(t, i, l); } } var o = t.return; try { vh(t); } catch (l) { Oe(t, o, l); } break; case 5: var s = t.return; try { vh(t); } catch (l) { Oe(t, s, l); } } } catch (l) { Oe(t, t.return, l); } if (t === e) { A = null; break; } var a = t.sibling; if (a !== null) { (a.return = t.return), (A = a); break; } A = t.return; } } var pI = Math.ceil, mc = dr.ReactCurrentDispatcher, np = dr.ReactCurrentOwner, fn = dr.ReactCurrentBatchConfig, ae = 0, Qe = null, Ue = null, it = 0, Ut = 0, fo = Hr(0), Ge = 0, Qs = null, wi = 0, _c = 0, rp = 0, Ms = null, Lt = null, ip = 0, To = 1 / 0, rr = null, vc = !1, bh = null, Ar = null, $l = !1, Ir = null, gc = 0, Os = 0, xh = null, Yl = -1, Gl = 0; function wt() { return 6 & ae ? $e() : Yl !== -1 ? Yl : (Yl = $e()); } function Vr(e) { return 1 & e.mode ? 2 & ae && it !== 0 ? it & -it : Q2.transition !== null ? (Gl === 0 && (Gl = zb()), Gl) : ((e = he), e !== 0 || ((e = window.event), (e = e === void 0 ? 16 : Yb(e.type))), e) : 1; } function Tn(e, t, n, r) { if (50 < Os) throw ((Os = 0), (xh = null), Error(L(185))); Zs(e, n, r), (2 & ae && e === Qe) || (e === Qe && (!(2 & ae) && (_c |= n), Ge === 4 && Pr(e, it)), At(e, r), n === 1 && ae === 0 && !(1 & t.mode) && ((To = $e() + 500), Tc && jr())); } function At(e, t) { var n = e.callbackNode; J_(e, t); var r = ec(e, e === Qe ? it : 0); if (r === 0) n !== null && b0(n), (e.callbackNode = null), (e.callbackPriority = 0); else if (((t = r & -r), e.callbackPriority !== t)) { if ((n != null && b0(n), t === 1)) e.tag === 0 ? q2(db.bind(null, e)) : dx(db.bind(null, e)), X2(function () { !(6 & ae) && jr(); }), (n = null); else { switch (Nb(r)) { case 1: n = Ih; break; case 4: n = Bb; break; case 16: n = Jl; break; case 536870912: n = $b; break; default: n = Jl; } n = d1(n, o1.bind(null, e)); } (e.callbackPriority = t), (e.callbackNode = n); } } function o1(e, t) { if (((Yl = -1), (Gl = 0), 6 & ae)) throw Error(L(327)); var n = e.callbackNode; if (yo() && e.callbackNode !== n) return null; var r = ec(e, e === Qe ? it : 0); if (r === 0) return null; if (30 & r || r & e.expiredLanes || t) t = yc(e, r); else { t = r; var i = ae; ae |= 2; var o = a1(); (Qe === e && it === t) || ((rr = null), (To = $e() + 500), gi(e, t)); do try { gI(); break; } catch (a) { s1(e, a); } while (1); jh(), (mc.current = o), (ae = i), Ue !== null ? (t = 0) : ((Qe = null), (it = 0), (t = Ge)); } if (t !== 0) { if ( (t === 2 && ((i = Gd(e)), i !== 0 && ((r = i), (t = Sh(e, i)))), t === 1) ) throw ((n = Qs), gi(e, 0), Pr(e, r), At(e, $e()), n); if (t === 6) Pr(e, r); else { if ( ((i = e.current.alternate), !(30 & r) && !mI(i) && ((t = yc(e, r)), t === 2 && ((o = Gd(e)), o !== 0 && ((r = o), (t = Sh(e, o)))), t === 1)) ) throw ((n = Qs), gi(e, 0), Pr(e, r), At(e, $e()), n); switch (((e.finishedWork = i), (e.finishedLanes = r), t)) { case 0: case 1: throw Error(L(345)); case 2: hi(e, Lt, rr); break; case 3: if ( (Pr(e, r), (130023424 & r) === r && ((t = ip + 500 - $e()), 10 < t)) ) { if (ec(e, 0) !== 0) break; if (((i = e.suspendedLanes), (i & r) !== r)) { wt(), (e.pingedLanes |= e.suspendedLanes & i); break; } e.timeoutHandle = nh(hi.bind(null, e, Lt, rr), t); break; } hi(e, Lt, rr); break; case 4: if ((Pr(e, r), (4194240 & r) === r)) break; for (t = e.eventTimes, i = -1; 0 < r; ) { var s = 31 - Cn(r); (o = 1 << s), (s = t[s]), s > i && (i = s), (r &= ~o); } if ( ((r = i), (r = $e() - r), (r = (120 > r ? 120 : 480 > r ? 480 : 1080 > r ? 1080 : 1920 > r ? 1920 : 3e3 > r ? 3e3 : 4320 > r ? 4320 : 1960 * pI(r / 1960)) - r), 10 < r) ) { e.timeoutHandle = nh(hi.bind(null, e, Lt, rr), r); break; } hi(e, Lt, rr); break; case 5: hi(e, Lt, rr); break; default: throw Error(L(329)); } } } return At(e, $e()), e.callbackNode === n ? o1.bind(null, e) : null; } function Sh(e, t) { var n = Ms; return ( e.current.memoizedState.isDehydrated && (gi(e, t).flags |= 256), (e = yc(e, t)), e !== 2 && ((t = Lt), (Lt = n), t !== null && wh(t)), e ); } function wh(e) { Lt === null ? (Lt = e) : Lt.push.apply(Lt, e); } function mI(e) { for (var t = e; ; ) { if (16384 & t.flags) { var n = t.updateQueue; if (n !== null && ((n = n.stores), n !== null)) for (var r = 0; r < n.length; r++) { var i = n[r], o = i.getSnapshot; i = i.value; try { if (!En(o(), i)) return !1; } catch { return !1; } } } if (((n = t.child), 16384 & t.subtreeFlags && n !== null)) (n.return = t), (t = n); else { if (t === e) break; for (; t.sibling === null; ) { if (t.return === null || t.return === e) return !0; t = t.return; } (t.sibling.return = t.return), (t = t.sibling); } } return !0; } function Pr(e, t) { for ( t &= ~rp, t &= ~_c, e.suspendedLanes |= t, e.pingedLanes &= ~t, e = e.expirationTimes; 0 < t; ) { var n = 31 - Cn(t), r = 1 << n; (e[n] = -1), (t &= ~r); } } function db(e) { if (6 & ae) throw Error(L(327)); yo(); var t = ec(e, 0); if (!(1 & t)) return At(e, $e()), null; var n = yc(e, t); if (e.tag !== 0 && n === 2) { var r = Gd(e); r !== 0 && ((t = r), (n = Sh(e, r))); } if (n === 1) throw ((n = Qs), gi(e, 0), Pr(e, t), At(e, $e()), n); if (n === 6) throw Error(L(345)); return ( (e.finishedWork = e.current.alternate), (e.finishedLanes = t), hi(e, Lt, rr), At(e, $e()), null ); } function op(e, t) { var n = ae; ae |= 1; try { return e(t); } finally { (ae = n), ae === 0 && ((To = $e() + 500), Tc && jr()); } } function ki(e) { Ir !== null && Ir.tag === 0 && !(6 & ae) && yo(); var t = ae; ae |= 1; var n = fn.transition, r = he; try { if (((fn.transition = null), (he = 1), e)) return e(); } finally { (he = r), (fn.transition = n), (ae = t), !(6 & ae) && jr(); } } function sp() { (Ut = fo.current), we(fo); } function gi(e, t) { (e.finishedWork = null), (e.finishedLanes = 0); var n = e.timeoutHandle; if ((n !== -1 && ((e.timeoutHandle = -1), U2(n)), Ue !== null)) for (n = Ue.return; n !== null; ) { var r = n; switch ((zh(r), r.tag)) { case 1: (r = r.type.childContextTypes), r != null && oc(); break; case 3: ko(), we(Ot), we(ht), Kh(); break; case 5: Gh(r); break; case 4: ko(); break; case 13: we(Ee); break; case 19: we(Ee); break; case 10: Wh(r.type._context); break; case 22: case 23: sp(); } n = n.return; } if ( ((Qe = e), (Ue = e = Br(e.current, null)), (it = Ut = t), (Ge = 0), (Qs = null), (rp = _c = wi = 0), (Lt = Ms = null), mi !== null) ) { for (t = 0; t < mi.length; t++) if (((n = mi[t]), (r = n.interleaved), r !== null)) { n.interleaved = null; var i = r.next, o = n.pending; if (o !== null) { var s = o.next; (o.next = i), (r.next = s); } n.pending = r; } mi = null; } return e; } function s1(e, t) { do { var n = Ue; try { if ((jh(), (Wl.current = pc), hc)) { for (var r = Re.memoizedState; r !== null; ) { var i = r.queue; i !== null && (i.pending = null), (r = r.next); } hc = !1; } if ( ((Si = 0), (qe = Ye = Re = null), (Fs = !1), (Gs = 0), (np.current = null), n === null || n.return === null) ) { (Ge = 1), (Qs = t), (Ue = null); break; } e: { var o = e, s = n.return, a = n, l = t; if ( ((t = it), (a.flags |= 32768), l !== null && typeof l == "object" && typeof l.then == "function") ) { var c = l, u = a, f = u.tag; if (!(1 & u.mode) && (f === 0 || f === 11 || f === 15)) { var d = u.alternate; d ? ((u.updateQueue = d.updateQueue), (u.memoizedState = d.memoizedState), (u.lanes = d.lanes)) : ((u.updateQueue = null), (u.memoizedState = null)); } var m = J0(s); if (m !== null) { (m.flags &= -257), eb(m, s, a, o, t), 1 & m.mode && Z0(o, c, t), (t = m), (l = c); var y = t.updateQueue; if (y === null) { var v = new Set(); v.add(l), (t.updateQueue = v); } else y.add(l); break e; } if (!(1 & t)) { Z0(o, c, t), ap(); break e; } l = Error(L(426)); } else if (Te && 1 & a.mode) { var x = J0(s); if (x !== null) { !(65536 & x.flags) && (x.flags |= 256), eb(x, s, a, o, t), Nh(Co(l, a)); break e; } } (o = l = Co(l, a)), Ge !== 4 && (Ge = 2), Ms === null ? (Ms = [o]) : Ms.push(o), (o = s); do { switch (o.tag) { case 3: (o.flags |= 65536), (t &= -t), (o.lanes |= t); var p = Hx(o, l, t); U0(o, p); break e; case 1: a = l; var h = o.type, g = o.stateNode; if ( !(128 & o.flags) && (typeof h.getDerivedStateFromError == "function" || (g !== null && typeof g.componentDidCatch == "function" && (Ar === null || !Ar.has(g)))) ) { (o.flags |= 65536), (t &= -t), (o.lanes |= t); var S = jx(o, a, t); U0(o, S); break e; } } o = o.return; } while (o !== null); } c1(n); } catch (k) { (t = k), Ue === n && n !== null && (Ue = n = n.return); continue; } break; } while (1); } function a1() { var e = mc.current; return (mc.current = pc), e === null ? pc : e; } function ap() { (Ge !== 0 && Ge !== 3 && Ge !== 2) || (Ge = 4), Qe === null || (!(268435455 & wi) && !(268435455 & _c)) || Pr(Qe, it); } function yc(e, t) { var n = ae; ae |= 2; var r = a1(); (Qe === e && it === t) || ((rr = null), gi(e, t)); do try { vI(); break; } catch (i) { s1(e, i); } while (1); if ((jh(), (ae = n), (mc.current = r), Ue !== null)) throw Error(L(261)); return (Qe = null), (it = 0), Ge; } function vI() { for (; Ue !== null; ) l1(Ue); } function gI() { for (; Ue !== null && !W_(); ) l1(Ue); } function l1(e) { var t = f1(e.alternate, e, Ut); (e.memoizedProps = e.pendingProps), t === null ? c1(e) : (Ue = t), (np.current = null); } function c1(e) { var t = e; do { var n = t.alternate; if (((e = t.return), 32768 & t.flags)) { if (((n = uI(n, t)), n !== null)) { (n.flags &= 32767), (Ue = n); return; } if (e === null) { (Ge = 6), (Ue = null); return; } (e.flags |= 32768), (e.subtreeFlags = 0), (e.deletions = null); } else if (((n = cI(n, t, Ut)), n !== null)) { Ue = n; return; } if (((t = t.sibling), t !== null)) { Ue = t; return; } Ue = t = e; } while (t !== null); Ge === 0 && (Ge = 5); } function hi(e, t, n) { var r = he, i = fn.transition; try { (fn.transition = null), (he = 1), yI(e, t, n, r); } finally { (fn.transition = i), (he = r); } return null; } function yI(e, t, n, r) { do yo(); while (Ir !== null); if (6 & ae) throw Error(L(327)); n = e.finishedWork; var i = e.finishedLanes; if (n === null) return null; if (((e.finishedWork = null), (e.finishedLanes = 0), n === e.current)) throw Error(L(177)); (e.callbackNode = null), (e.callbackPriority = 0); var o = n.lanes | n.childLanes; if ( (e2(e, o), e === Qe && ((Ue = Qe = null), (it = 0)), (!(2064 & n.subtreeFlags) && !(2064 & n.flags)) || $l || (($l = !0), d1(Jl, function () { return yo(), null; })), (o = (15990 & n.flags) !== 0), 15990 & n.subtreeFlags || o) ) { (o = fn.transition), (fn.transition = null); var s = he; he = 1; var a = ae; (ae |= 4), (np.current = null), dI(e, n), r1(n, e), z2(eh), (tc = !!Jd), (eh = Jd = null), (e.current = n), hI(n, e, i), U_(), (ae = a), (he = s), (fn.transition = o); } else e.current = n; if ( ($l && (($l = !1), (Ir = e), (gc = i)), (o = e.pendingLanes), o === 0 && (Ar = null), G_(n.stateNode, r), At(e, $e()), t !== null) ) for (r = e.onRecoverableError, n = 0; n < t.length; n++) (i = t[n]), r(i.value, { componentStack: i.stack, digest: i.digest }); if (vc) throw ((vc = !1), (e = bh), (bh = null), e); return ( 1 & gc && e.tag !== 0 && yo(), (o = e.pendingLanes), 1 & o ? (e === xh ? Os++ : ((Os = 0), (xh = e))) : (Os = 0), jr(), null ); } function yo() { if (Ir !== null) { var e = Nb(gc), t = fn.transition, n = he; try { if (((fn.transition = null), (he = 16 > e ? 16 : e), Ir === null)) var r = !1; else { if (((e = Ir), (Ir = null), (gc = 0), 6 & ae)) throw Error(L(331)); var i = ae; for (ae |= 4, A = e.current; A !== null; ) { var o = A, s = o.child; if (16 & A.flags) { var a = o.deletions; if (a !== null) { for (var l = 0; l < a.length; l++) { var c = a[l]; for (A = c; A !== null; ) { var u = A; switch (u.tag) { case 0: case 11: case 15: Ls(8, u, o); } var f = u.child; if (f !== null) (f.return = u), (A = f); else for (; A !== null; ) { u = A; var d = u.sibling, m = u.return; if ((e1(u), u === c)) { A = null; break; } if (d !== null) { (d.return = m), (A = d); break; } A = m; } } } var y = o.alternate; if (y !== null) { var v = y.child; if (v !== null) { y.child = null; do { var x = v.sibling; (v.sibling = null), (v = x); } while (v !== null); } } A = o; } } if (2064 & o.subtreeFlags && s !== null) (s.return = o), (A = s); else e: for (; A !== null; ) { if (((o = A), 2048 & o.flags)) switch (o.tag) { case 0: case 11: case 15: Ls(9, o, o.return); } var p = o.sibling; if (p !== null) { (p.return = o.return), (A = p); break e; } A = o.return; } } var h = e.current; for (A = h; A !== null; ) { s = A; var g = s.child; if (2064 & s.subtreeFlags && g !== null) (g.return = s), (A = g); else e: for (s = h; A !== null; ) { if (((a = A), 2048 & a.flags)) try { switch (a.tag) { case 0: case 11: case 15: Pc(9, a); } } catch (k) { Oe(a, a.return, k); } if (a === s) { A = null; break e; } var S = a.sibling; if (S !== null) { (S.return = a.return), (A = S); break e; } A = a.return; } } if ( ((ae = i), jr(), Hn && typeof Hn.onPostCommitFiberRoot == "function") ) try { Hn.onPostCommitFiberRoot(xc, e); } catch {} r = !0; } return r; } finally { (he = n), (fn.transition = t); } } return !1; } function hb(e, t, n) { (t = Co(n, t)), (t = Hx(e, t, 1)), (e = Dr(e, t, 1)), (t = wt()), e !== null && (Zs(e, 1, t), At(e, t)); } function Oe(e, t, n) { if (e.tag === 3) hb(e, e, n); else for (; t !== null; ) { if (t.tag === 3) { hb(t, e, n); break; } if (t.tag === 1) { var r = t.stateNode; if ( typeof t.type.getDerivedStateFromError == "function" || (typeof r.componentDidCatch == "function" && (Ar === null || !Ar.has(r))) ) { (e = Co(n, e)), (e = jx(t, e, 1)), (t = Dr(t, e, 1)), (e = wt()), t !== null && (Zs(t, 1, e), At(t, e)); break; } } t = t.return; } } function bI(e, t, n) { var r = e.pingCache; r !== null && r.delete(t), (t = wt()), (e.pingedLanes |= e.suspendedLanes & n), Qe === e && (it & n) === n && (Ge === 4 || (Ge === 3 && (130023424 & it) === it && 500 > $e() - ip) ? gi(e, 0) : (rp |= n)), At(e, t); } function u1(e, t) { t === 0 && (1 & e.mode ? ((t = Tl), (Tl <<= 1), !(130023424 & Tl) && (Tl = 4194304)) : (t = 1)); var n = wt(); (e = ur(e, t)), e !== null && (Zs(e, t, n), At(e, n)); } function xI(e) { var t = e.memoizedState, n = 0; t !== null && (n = t.retryLane), u1(e, n); } function SI(e, t) { var n = 0; switch (e.tag) { case 13: var r = e.stateNode, i = e.memoizedState; i !== null && (n = i.retryLane); break; case 19: r = e.stateNode; break; default: throw Error(L(314)); } r !== null && r.delete(t), u1(e, n); } var f1; f1 = function (e, t, n) { if (e !== null) if (e.memoizedProps !== t.pendingProps || Ot.current) Mt = !0; else { if (!(e.lanes & n) && !(128 & t.flags)) return (Mt = !1), lI(e, t, n); Mt = (131072 & e.flags) !== 0; } else (Mt = !1), Te && 1048576 & t.flags && hx(t, lc, t.index); switch (((t.lanes = 0), t.tag)) { case 2: var r = t.type; Xl(e, t), (e = t.pendingProps); var i = xo(t, ht.current); go(t, n), (i = Qh(null, t, r, e, i, n)); var o = Zh(); return ( (t.flags |= 1), typeof i == "object" && i !== null && typeof i.render == "function" && i.$$typeof === void 0 ? ((t.tag = 1), (t.memoizedState = null), (t.updateQueue = null), Dt(r) ? ((o = !0), sc(t)) : (o = !1), (t.memoizedState = i.state !== null && i.state !== void 0 ? i.state : null), Xh(t), (i.updater = Ec), (t.stateNode = i), (i._reactInternals = t), ch(t, r, e, n), (t = dh(null, t, r, !0, o, n))) : ((t.tag = 0), Te && o && $h(t), St(null, t, i, n), (t = t.child)), t ); case 16: r = t.elementType; e: { switch ( (Xl(e, t), (e = t.pendingProps), (i = r._init), (r = i(r._payload)), (t.type = r), (i = t.tag = kI(r)), (e = Sn(r, e)), i) ) { case 0: t = fh(null, t, r, e, n); break e; case 1: t = rb(null, t, r, e, n); break e; case 11: t = tb(null, t, r, e, n); break e; case 14: t = nb(null, t, r, Sn(r.type, e), n); break e; } throw Error(L(306, r, "")); } return t; case 0: return ( (r = t.type), (i = t.pendingProps), (i = t.elementType === r ? i : Sn(r, i)), fh(e, t, r, i, n) ); case 1: return ( (r = t.type), (i = t.pendingProps), (i = t.elementType === r ? i : Sn(r, i)), rb(e, t, r, i, n) ); case 3: e: { if ((Yx(t), e === null)) throw Error(L(387)); (r = t.pendingProps), (o = t.memoizedState), (i = o.element), gx(e, t), fc(t, r, null, n); var s = t.memoizedState; if (((r = s.element), o.isDehydrated)) { if ( ((o = { element: r, isDehydrated: !1, cache: s.cache, pendingSuspenseBoundaries: s.pendingSuspenseBoundaries, transitions: s.transitions, }), (t.updateQueue.baseState = o), (t.memoizedState = o), 256 & t.flags) ) { (i = Co(Error(L(423)), t)), (t = ib(e, t, r, n, i)); break e; } if (r !== i) { (i = Co(Error(L(424)), t)), (t = ib(e, t, r, n, i)); break e; } for ( Xt = Or(t.stateNode.containerInfo.firstChild), Yt = t, Te = !0, kn = null, n = Sx(t, null, r, n), t.child = n; n; ) (n.flags = (-3 & n.flags) | 4096), (n = n.sibling); } else { if ((So(), r === i)) { t = fr(e, t, n); break e; } St(e, t, r, n); } t = t.child; } return t; case 5: return ( wx(t), e === null && sh(t), (r = t.type), (i = t.pendingProps), (o = e !== null ? e.memoizedProps : null), (s = i.children), th(r, i) ? (s = null) : o !== null && th(r, o) && (t.flags |= 32), Xx(e, t), St(e, t, s, n), t.child ); case 6: return e === null && sh(t), null; case 13: return Gx(e, t, n); case 4: return ( Yh(t, t.stateNode.containerInfo), (r = t.pendingProps), e === null ? (t.child = wo(t, null, r, n)) : St(e, t, r, n), t.child ); case 11: return ( (r = t.type), (i = t.pendingProps), (i = t.elementType === r ? i : Sn(r, i)), tb(e, t, r, i, n) ); case 7: return St(e, t, t.pendingProps, n), t.child; case 8: return St(e, t, t.pendingProps.children, n), t.child; case 12: return St(e, t, t.pendingProps.children, n), t.child; case 10: e: { if ( ((r = t.type._context), (i = t.pendingProps), (o = t.memoizedProps), (s = i.value), ge(cc, r._currentValue), (r._currentValue = s), o !== null) ) if (En(o.value, s)) { if (o.children === i.children && !Ot.current) { t = fr(e, t, n); break e; } } else for (o = t.child, o !== null && (o.return = t); o !== null; ) { var a = o.dependencies; if (a !== null) { s = o.child; for (var l = a.firstContext; l !== null; ) { if (l.context === r) { if (o.tag === 1) { (l = ar(-1, n & -n)), (l.tag = 2); var c = o.updateQueue; if (c !== null) { c = c.shared; var u = c.pending; u === null ? (l.next = l) : ((l.next = u.next), (u.next = l)), (c.pending = l); } } (o.lanes |= n), (l = o.alternate), l !== null && (l.lanes |= n), ah(o.return, n, t), (a.lanes |= n); break; } l = l.next; } } else if (o.tag === 10) s = o.type === t.type ? null : o.child; else if (o.tag === 18) { if (((s = o.return), s === null)) throw Error(L(341)); (s.lanes |= n), (a = s.alternate), a !== null && (a.lanes |= n), ah(s, n, t), (s = o.sibling); } else s = o.child; if (s !== null) s.return = o; else for (s = o; s !== null; ) { if (s === t) { s = null; break; } if (((o = s.sibling), o !== null)) { (o.return = s.return), (s = o); break; } s = s.return; } o = s; } St(e, t, i.children, n), (t = t.child); } return t; case 9: return ( (i = t.type), (r = t.pendingProps.children), go(t, n), (i = dn(i)), (r = r(i)), (t.flags |= 1), St(e, t, r, n), t.child ); case 14: return ( (r = t.type), (i = Sn(r, t.pendingProps)), (i = Sn(r.type, i)), nb(e, t, r, i, n) ); case 15: return Wx(e, t, t.type, t.pendingProps, n); case 17: return ( (r = t.type), (i = t.pendingProps), (i = t.elementType === r ? i : Sn(r, i)), Xl(e, t), (t.tag = 1), Dt(r) ? ((e = !0), sc(t)) : (e = !1), go(t, n), bx(t, r, i), ch(t, r, i, n), dh(null, t, r, !0, e, n) ); case 19: return Kx(e, t, n); case 22: return Ux(e, t, n); } throw Error(L(156, t.tag)); }; function d1(e, t) { return Vb(e, t); } function wI(e, t, n, r) { (this.tag = e), (this.key = n), (this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null), (this.index = 0), (this.ref = null), (this.pendingProps = t), (this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null), (this.mode = r), (this.subtreeFlags = this.flags = 0), (this.deletions = null), (this.childLanes = this.lanes = 0), (this.alternate = null); } function un(e, t, n, r) { return new wI(e, t, n, r); } function lp(e) { return (e = e.prototype), !(!e || !e.isReactComponent); } function kI(e) { if (typeof e == "function") return lp(e) ? 1 : 0; if (e != null) { if (((e = e.$$typeof), e === Rh)) return 11; if (e === Ph) return 14; } return 2; } function Br(e, t) { var n = e.alternate; return ( n === null ? ((n = un(e.tag, t, e.key, e.mode)), (n.elementType = e.elementType), (n.type = e.type), (n.stateNode = e.stateNode), (n.alternate = e), (e.alternate = n)) : ((n.pendingProps = t), (n.type = e.type), (n.flags = 0), (n.subtreeFlags = 0), (n.deletions = null)), (n.flags = 14680064 & e.flags), (n.childLanes = e.childLanes), (n.lanes = e.lanes), (n.child = e.child), (n.memoizedProps = e.memoizedProps), (n.memoizedState = e.memoizedState), (n.updateQueue = e.updateQueue), (t = e.dependencies), (n.dependencies = t === null ? null : { lanes: t.lanes, firstContext: t.firstContext }), (n.sibling = e.sibling), (n.index = e.index), (n.ref = e.ref), n ); } function Kl(e, t, n, r, i, o) { var s = 2; if (((r = e), typeof e == "function")) lp(e) && (s = 1); else if (typeof e == "string") s = 5; else e: switch (e) { case to: return yi(n.children, i, o, t); case Eh: (s = 8), (i |= 8); break; case Md: return ( (e = un(12, n, t, 2 | i)), (e.elementType = Md), (e.lanes = o), e ); case Od: return (e = un(13, n, t, i)), (e.elementType = Od), (e.lanes = o), e; case Dd: return (e = un(19, n, t, i)), (e.elementType = Dd), (e.lanes = o), e; case xb: return Ic(n, i, o, t); default: if (typeof e == "object" && e !== null) switch (e.$$typeof) { case yb: s = 10; break e; case bb: s = 9; break e; case Rh: s = 11; break e; case Ph: s = 14; break e; case Tr: (s = 16), (r = null); break e; } throw Error(L(130, e == null ? e : typeof e, "")); } return ( (t = un(s, n, t, i)), (t.elementType = e), (t.type = r), (t.lanes = o), t ); } function yi(e, t, n, r) { return (e = un(7, e, r, t)), (e.lanes = n), e; } function Ic(e, t, n, r) { return ( (e = un(22, e, r, t)), (e.elementType = xb), (e.lanes = n), (e.stateNode = { isHidden: !1 }), e ); } function Id(e, t, n) { return (e = un(6, e, null, t)), (e.lanes = n), e; } function Fd(e, t, n) { return ( (t = un(4, e.children !== null ? e.children : [], e.key, t)), (t.lanes = n), (t.stateNode = { containerInfo: e.containerInfo, pendingChildren: null, implementation: e.implementation, }), t ); } function CI(e, t, n, r, i) { (this.tag = t), (this.containerInfo = e), (this.finishedWork = this.pingCache = this.current = this.pendingChildren = null), (this.timeoutHandle = -1), (this.callbackNode = this.pendingContext = this.context = null), (this.callbackPriority = 0), (this.eventTimes = pd(0)), (this.expirationTimes = pd(-1)), (this.entangledLanes = this.finishedLanes = this.mutableReadLanes = this.expiredLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0), (this.entanglements = pd(0)), (this.identifierPrefix = r), (this.onRecoverableError = i), (this.mutableSourceEagerHydrationData = null); } function cp(e, t, n, r, i, o, s, a, l) { return ( (e = new CI(e, t, n, a, l)), t === 1 ? ((t = 1), o === !0 && (t |= 8)) : (t = 0), (o = un(3, null, null, t)), (e.current = o), (o.stateNode = e), (o.memoizedState = { element: r, isDehydrated: n, cache: null, transitions: null, pendingSuspenseBoundaries: null, }), Xh(o), e ); } function TI(e, t, n) { var r = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null; return { $$typeof: eo, key: r == null ? null : "" + r, children: e, containerInfo: t, implementation: n, }; } function h1(e) { if (!e) return zr; e = e._reactInternals; e: { if (Ti(e) !== e || e.tag !== 1) throw Error(L(170)); var t = e; do { switch (t.tag) { case 3: t = t.stateNode.context; break e; case 1: if (Dt(t.type)) { t = t.stateNode.__reactInternalMemoizedMergedChildContext; break e; } } t = t.return; } while (t !== null); throw Error(L(171)); } if (e.tag === 1) { var n = e.type; if (Dt(n)) return fx(e, n, t); } return t; } function p1(e, t, n, r, i, o, s, a, l) { return ( (e = cp(n, r, !0, e, i, o, s, a, l)), (e.context = h1(null)), (n = e.current), (r = wt()), (i = Vr(n)), (o = ar(r, i)), (o.callback = t ?? null), Dr(n, o, i), (e.current.lanes = i), Zs(e, i, r), At(e, r), e ); } function Fc(e, t, n, r) { var i = t.current, o = wt(), s = Vr(i); return ( (n = h1(n)), t.context === null ? (t.context = n) : (t.pendingContext = n), (t = ar(o, s)), (t.payload = { element: e }), (r = r === void 0 ? null : r), r !== null && (t.callback = r), (e = Dr(i, t, s)), e !== null && (Tn(e, i, s, o), jl(e, i, s)), s ); } function bc(e) { if (((e = e.current), !e.child)) return null; switch (e.child.tag) { case 5: return e.child.stateNode; default: return e.child.stateNode; } } function pb(e, t) { if (((e = e.memoizedState), e !== null && e.dehydrated !== null)) { var n = e.retryLane; e.retryLane = n !== 0 && n < t ? n : t; } } function up(e, t) { pb(e, t), (e = e.alternate) && pb(e, t); } function EI() { return null; } var m1 = typeof reportError == "function" ? reportError : function (e) { console.error(e); }; function fp(e) { this._internalRoot = e; } Lc.prototype.render = fp.prototype.render = function (e) { var t = this._internalRoot; if (t === null) throw Error(L(409)); Fc(e, t, null, null); }; Lc.prototype.unmount = fp.prototype.unmount = function () { var e = this._internalRoot; if (e !== null) { this._internalRoot = null; var t = e.containerInfo; ki(function () { Fc(null, e, null, null); }), (t[cr] = null); } }; function Lc(e) { this._internalRoot = e; } Lc.prototype.unstable_scheduleHydration = function (e) { if (e) { var t = Wb(); e = { blockedOn: null, target: e, priority: t }; for (var n = 0; n < Rr.length && t !== 0 && t < Rr[n].priority; n++); Rr.splice(n, 0, e), n === 0 && Xb(e); } }; function dp(e) { return !(!e || (e.nodeType !== 1 && e.nodeType !== 9 && e.nodeType !== 11)); } function Mc(e) { return !( !e || (e.nodeType !== 1 && e.nodeType !== 9 && e.nodeType !== 11 && (e.nodeType !== 8 || e.nodeValue !== " react-mount-point-unstable ")) ); } function mb() {} function RI(e, t, n, r, i) { if (i) { if (typeof r == "function") { var o = r; r = function () { var c = bc(s); o.call(c); }; } var s = p1(t, r, e, 0, null, !1, !1, "", mb); return ( (e._reactRootContainer = s), (e[cr] = s.current), js(e.nodeType === 8 ? e.parentNode : e), ki(), s ); } for (; (i = e.lastChild); ) e.removeChild(i); if (typeof r == "function") { var a = r; r = function () { var c = bc(l); a.call(c); }; } var l = cp(e, 0, !1, null, null, !1, !1, "", mb); return ( (e._reactRootContainer = l), (e[cr] = l.current), js(e.nodeType === 8 ? e.parentNode : e), ki(function () { Fc(t, l, n, r); }), l ); } function Oc(e, t, n, r, i) { var o = n._reactRootContainer; if (o) { var s = o; if (typeof i == "function") { var a = i; i = function () { var l = bc(s); a.call(l); }; } Fc(t, s, e, i); } else s = RI(n, t, e, i, r); return bc(s); } Hb = function (e) { switch (e.tag) { case 3: var t = e.stateNode; if (t.current.memoizedState.isDehydrated) { var n = Cs(t.pendingLanes); n !== 0 && (Fh(t, 1 | n), At(t, $e()), !(6 & ae) && ((To = $e() + 500), jr())); } break; case 13: ki(function () { var r = ur(e, 1); if (r !== null) { var i = wt(); Tn(r, e, 1, i); } }), up(e, 1); } }; Lh = function (e) { if (e.tag === 13) { var t = ur(e, 134217728); if (t !== null) { var n = wt(); Tn(t, e, 134217728, n); } up(e, 134217728); } }; jb = function (e) { if (e.tag === 13) { var t = Vr(e), n = ur(e, t); if (n !== null) { var r = wt(); Tn(n, e, t, r); } up(e, t); } }; Wb = function () { return he; }; Ub = function (e, t) { var n = he; try { return (he = e), t(); } finally { he = n; } }; Ud = function (e, t, n) { switch (t) { case "input": if ((Bd(e, n), (t = n.name), n.type === "radio" && t != null)) { for (n = e; n.parentNode; ) n = n.parentNode; for ( n = n.querySelectorAll( "input[name=" + JSON.stringify("" + t) + '][type="radio"]' ), t = 0; t < n.length; t++ ) { var r = n[t]; if (r !== e && r.form === e.form) { var i = Cc(r); if (!i) throw Error(L(90)); wb(r), Bd(r, i); } } } break; case "textarea": Cb(e, n); break; case "select": (t = n.value), t != null && ho(e, !!n.multiple, t, !1); } }; Fb = op; Lb = ki; var PI = { usingClientEntryPoint: !1, Events: [ea, oo, Cc, _b, Ib, op] }, xs = { findFiberByHostInstance: pi, bundleType: 0, version: "18.2.0", rendererPackageName: "react-dom", }, _I = { bundleType: xs.bundleType, version: xs.version, rendererPackageName: xs.rendererPackageName, rendererConfig: xs.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, overrideProps: null, overridePropsDeletePath: null, overridePropsRenamePath: null, setErrorHandler: null, setSuspenseHandler: null, scheduleUpdate: null, currentDispatcherRef: dr.ReactCurrentDispatcher, findHostInstanceByFiber: function (e) { return (e = Db(e)), e === null ? null : e.stateNode; }, findFiberByHostInstance: xs.findFiberByHostInstance || EI, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, reconcilerVersion: "18.2.0-next-9e3b772b8-20220608", }; if ( typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && ((Ss = __REACT_DEVTOOLS_GLOBAL_HOOK__), !Ss.isDisabled && Ss.supportsFiber) ) try { (xc = Ss.inject(_I)), (Hn = Ss); } catch {} var Ss; Kt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = PI; Kt.createPortal = function (e, t) { var n = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null; if (!dp(t)) throw Error(L(200)); return TI(e, t, null, n); }; Kt.createRoot = function (e, t) { if (!dp(e)) throw Error(L(299)); var n = !1, r = "", i = m1; return ( t != null && (t.unstable_strictMode === !0 && (n = !0), t.identifierPrefix !== void 0 && (r = t.identifierPrefix), t.onRecoverableError !== void 0 && (i = t.onRecoverableError)), (t = cp(e, 1, !1, null, null, n, !1, r, i)), (e[cr] = t.current), js(e.nodeType === 8 ? e.parentNode : e), new fp(t) ); }; Kt.findDOMNode = function (e) { if (e == null) return null; if (e.nodeType === 1) return e; var t = e._reactInternals; if (t === void 0) throw typeof e.render == "function" ? Error(L(188)) : ((e = Object.keys(e).join(",")), Error(L(268, e))); return (e = Db(t)), (e = e === null ? null : e.stateNode), e; }; Kt.flushSync = function (e) { return ki(e); }; Kt.hydrate = function (e, t, n) { if (!Mc(t)) throw Error(L(200)); return Oc(null, e, t, !0, n); }; Kt.hydrateRoot = function (e, t, n) { if (!dp(e)) throw Error(L(405)); var r = (n != null && n.hydratedSources) || null, i = !1, o = "", s = m1; if ( (n != null && (n.unstable_strictMode === !0 && (i = !0), n.identifierPrefix !== void 0 && (o = n.identifierPrefix), n.onRecoverableError !== void 0 && (s = n.onRecoverableError)), (t = p1(t, null, e, 1, n ?? null, i, !1, o, s)), (e[cr] = t.current), js(e), r) ) for (e = 0; e < r.length; e++) (n = r[e]), (i = n._getVersion), (i = i(n._source)), t.mutableSourceEagerHydrationData == null ? (t.mutableSourceEagerHydrationData = [n, i]) : t.mutableSourceEagerHydrationData.push(n, i); return new Lc(t); }; Kt.render = function (e, t, n) { if (!Mc(t)) throw Error(L(200)); return Oc(null, e, t, !1, n); }; Kt.unmountComponentAtNode = function (e) { if (!Mc(e)) throw Error(L(40)); return ( !!e._reactRootContainer && (ki(function () { Oc(null, null, e, !1, function () { (e._reactRootContainer = null), (e[cr] = null); }); }), !0) ); }; Kt.unstable_batchedUpdates = op; Kt.unstable_renderSubtreeIntoContainer = function (e, t, n, r) { if (!Mc(n)) throw Error(L(200)); if (e == null || e._reactInternals === void 0) throw Error(L(38)); return Oc(e, t, n, !1, r); }; Kt.version = "18.2.0-next-9e3b772b8-20220608"; function v1() { if ( typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE == "function" ) try { __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(v1); } catch (e) { console.error(e); } } v1(); var Qt = Kt, g1 = Qt, II = Qt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, FI = Qt.createPortal, LI = Qt.createRoot, MI = Qt.findDOMNode, OI = Qt.flushSync, DI = Qt.hydrate, AI = Qt.hydrateRoot, VI = Qt.render, BI = Qt.unmountComponentAtNode, $I = Qt.unstable_batchedUpdates, zI = Qt.unstable_renderSubtreeIntoContainer, NI = Qt.version; var jI = sn({ "../../../node_modules/hsluv/dist/hsluv.cjs"(e) { "use strict"; Object.defineProperty(e, "__esModule", { value: !0 }), (e.Hsluv = void 0); var t = class { constructor() { (this.hex = "#000000"), (this.rgb_r = 0), (this.rgb_g = 0), (this.rgb_b = 0), (this.xyz_x = 0), (this.xyz_y = 0), (this.xyz_z = 0), (this.luv_l = 0), (this.luv_u = 0), (this.luv_v = 0), (this.lch_l = 0), (this.lch_c = 0), (this.lch_h = 0), (this.hsluv_h = 0), (this.hsluv_s = 0), (this.hsluv_l = 0), (this.hpluv_h = 0), (this.hpluv_p = 0), (this.hpluv_l = 0), (this.r0s = 0), (this.r0i = 0), (this.r1s = 0), (this.r1i = 0), (this.g0s = 0), (this.g0i = 0), (this.g1s = 0), (this.g1i = 0), (this.b0s = 0), (this.b0i = 0), (this.b1s = 0), (this.b1i = 0); } static fromLinear(n) { return n <= 0.0031308 ? 12.92 * n : 1.055 * Math.pow(n, 1 / 2.4) - 0.055; } static toLinear(n) { return n > 0.04045 ? Math.pow((n + 0.055) / 1.055, 2.4) : n / 12.92; } static yToL(n) { return n <= t.epsilon ? (n / t.refY) * t.kappa : 116 * Math.pow(n / t.refY, 1 / 3) - 16; } static lToY(n) { return n <= 8 ? (t.refY * n) / t.kappa : t.refY * Math.pow((n + 16) / 116, 3); } static rgbChannelToHex(n) { let r = Math.round(n * 255), i = r % 16, o = ((r - i) / 16) | 0; return t.hexChars.charAt(o) + t.hexChars.charAt(i); } static hexToRgbChannel(n, r) { let i = t.hexChars.indexOf(n.charAt(r)), o = t.hexChars.indexOf(n.charAt(r + 1)); return (i * 16 + o) / 255; } static distanceFromOriginAngle(n, r, i) { let o = r / (Math.sin(i) - n * Math.cos(i)); return o < 0 ? 1 / 0 : o; } static distanceFromOrigin(n, r) { return Math.abs(r) / Math.sqrt(Math.pow(n, 2) + 1); } static min6(n, r, i, o, s, a) { return Math.min( n, Math.min(r, Math.min(i, Math.min(o, Math.min(s, a)))) ); } rgbToHex() { (this.hex = "#"), (this.hex += t.rgbChannelToHex(this.rgb_r)), (this.hex += t.rgbChannelToHex(this.rgb_g)), (this.hex += t.rgbChannelToHex(this.rgb_b)); } hexToRgb() { (this.hex = this.hex.toLowerCase()), (this.rgb_r = t.hexToRgbChannel(this.hex, 1)), (this.rgb_g = t.hexToRgbChannel(this.hex, 3)), (this.rgb_b = t.hexToRgbChannel(this.hex, 5)); } xyzToRgb() { (this.rgb_r = t.fromLinear( t.m_r0 * this.xyz_x + t.m_r1 * this.xyz_y + t.m_r2 * this.xyz_z )), (this.rgb_g = t.fromLinear( t.m_g0 * this.xyz_x + t.m_g1 * this.xyz_y + t.m_g2 * this.xyz_z )), (this.rgb_b = t.fromLinear( t.m_b0 * this.xyz_x + t.m_b1 * this.xyz_y + t.m_b2 * this.xyz_z )); } rgbToXyz() { let n = t.toLinear(this.rgb_r), r = t.toLinear(this.rgb_g), i = t.toLinear(this.rgb_b); (this.xyz_x = 0.41239079926595 * n + 0.35758433938387 * r + 0.18048078840183 * i), (this.xyz_y = 0.21263900587151 * n + 0.71516867876775 * r + 0.072192315360733 * i), (this.xyz_z = 0.019330818715591 * n + 0.11919477979462 * r + 0.95053215224966 * i); } xyzToLuv() { let n = this.xyz_x + 15 * this.xyz_y + 3 * this.xyz_z, r = 4 * this.xyz_x, i = 9 * this.xyz_y; n !== 0 ? ((r /= n), (i /= n)) : ((r = NaN), (i = NaN)), (this.luv_l = t.yToL(this.xyz_y)), this.luv_l === 0 ? ((this.luv_u = 0), (this.luv_v = 0)) : ((this.luv_u = 13 * this.luv_l * (r - t.refU)), (this.luv_v = 13 * this.luv_l * (i - t.refV))); } luvToXyz() { if (this.luv_l === 0) { (this.xyz_x = 0), (this.xyz_y = 0), (this.xyz_z = 0); return; } let n = this.luv_u / (13 * this.luv_l) + t.refU, r = this.luv_v / (13 * this.luv_l) + t.refV; (this.xyz_y = t.lToY(this.luv_l)), (this.xyz_x = 0 - (9 * this.xyz_y * n) / ((n - 4) * r - n * r)), (this.xyz_z = (9 * this.xyz_y - 15 * r * this.xyz_y - r * this.xyz_x) / (3 * r)); } luvToLch() { if ( ((this.lch_l = this.luv_l), (this.lch_c = Math.sqrt( this.luv_u * this.luv_u + this.luv_v * this.luv_v )), this.lch_c < 1e-8) ) this.lch_h = 0; else { let n = Math.atan2(this.luv_v, this.luv_u); (this.lch_h = (n * 180) / Math.PI), this.lch_h < 0 && (this.lch_h = 360 + this.lch_h); } } lchToLuv() { let n = (this.lch_h / 180) * Math.PI; (this.luv_l = this.lch_l), (this.luv_u = Math.cos(n) * this.lch_c), (this.luv_v = Math.sin(n) * this.lch_c); } calculateBoundingLines(n) { let r = Math.pow(n + 16, 3) / 1560896, i = r > t.epsilon ? r : n / t.kappa, o = i * (284517 * t.m_r0 - 94839 * t.m_r2), s = i * (838422 * t.m_r2 + 769860 * t.m_r1 + 731718 * t.m_r0), a = i * (632260 * t.m_r2 - 126452 * t.m_r1), l = i * (284517 * t.m_g0 - 94839 * t.m_g2), c = i * (838422 * t.m_g2 + 769860 * t.m_g1 + 731718 * t.m_g0), u = i * (632260 * t.m_g2 - 126452 * t.m_g1), f = i * (284517 * t.m_b0 - 94839 * t.m_b2), d = i * (838422 * t.m_b2 + 769860 * t.m_b1 + 731718 * t.m_b0), m = i * (632260 * t.m_b2 - 126452 * t.m_b1); (this.r0s = o / a), (this.r0i = (s * n) / a), (this.r1s = o / (a + 126452)), (this.r1i = ((s - 769860) * n) / (a + 126452)), (this.g0s = l / u), (this.g0i = (c * n) / u), (this.g1s = l / (u + 126452)), (this.g1i = ((c - 769860) * n) / (u + 126452)), (this.b0s = f / m), (this.b0i = (d * n) / m), (this.b1s = f / (m + 126452)), (this.b1i = ((d - 769860) * n) / (m + 126452)); } calcMaxChromaHpluv() { let n = t.distanceFromOrigin(this.r0s, this.r0i), r = t.distanceFromOrigin(this.r1s, this.r1i), i = t.distanceFromOrigin(this.g0s, this.g0i), o = t.distanceFromOrigin(this.g1s, this.g1i), s = t.distanceFromOrigin(this.b0s, this.b0i), a = t.distanceFromOrigin(this.b1s, this.b1i); return t.min6(n, r, i, o, s, a); } calcMaxChromaHsluv(n) { let r = (n / 360) * Math.PI * 2, i = t.distanceFromOriginAngle(this.r0s, this.r0i, r), o = t.distanceFromOriginAngle(this.r1s, this.r1i, r), s = t.distanceFromOriginAngle(this.g0s, this.g0i, r), a = t.distanceFromOriginAngle(this.g1s, this.g1i, r), l = t.distanceFromOriginAngle(this.b0s, this.b0i, r), c = t.distanceFromOriginAngle(this.b1s, this.b1i, r); return t.min6(i, o, s, a, l, c); } hsluvToLch() { if (this.hsluv_l > 99.9999999) (this.lch_l = 100), (this.lch_c = 0); else if (this.hsluv_l < 1e-8) (this.lch_l = 0), (this.lch_c = 0); else { (this.lch_l = this.hsluv_l), this.calculateBoundingLines(this.hsluv_l); let n = this.calcMaxChromaHsluv(this.hsluv_h); this.lch_c = (n / 100) * this.hsluv_s; } this.lch_h = this.hsluv_h; } lchToHsluv() { if (this.lch_l > 99.9999999) (this.hsluv_s = 0), (this.hsluv_l = 100); else if (this.lch_l < 1e-8) (this.hsluv_s = 0), (this.hsluv_l = 0); else { this.calculateBoundingLines(this.lch_l); let n = this.calcMaxChromaHsluv(this.lch_h); (this.hsluv_s = (this.lch_c / n) * 100), (this.hsluv_l = this.lch_l); } this.hsluv_h = this.lch_h; } hpluvToLch() { if (this.hpluv_l > 99.9999999) (this.lch_l = 100), (this.lch_c = 0); else if (this.hpluv_l < 1e-8) (this.lch_l = 0), (this.lch_c = 0); else { (this.lch_l = this.hpluv_l), this.calculateBoundingLines(this.hpluv_l); let n = this.calcMaxChromaHpluv(); this.lch_c = (n / 100) * this.hpluv_p; } this.lch_h = this.hpluv_h; } lchToHpluv() { if (this.lch_l > 99.9999999) (this.hpluv_p = 0), (this.hpluv_l = 100); else if (this.lch_l < 1e-8) (this.hpluv_p = 0), (this.hpluv_l = 0); else { this.calculateBoundingLines(this.lch_l); let n = this.calcMaxChromaHpluv(); (this.hpluv_p = (this.lch_c / n) * 100), (this.hpluv_l = this.lch_l); } this.hpluv_h = this.lch_h; } hsluvToRgb() { this.hsluvToLch(), this.lchToLuv(), this.luvToXyz(), this.xyzToRgb(); } hpluvToRgb() { this.hpluvToLch(), this.lchToLuv(), this.luvToXyz(), this.xyzToRgb(); } hsluvToHex() { this.hsluvToRgb(), this.rgbToHex(); } hpluvToHex() { this.hpluvToRgb(), this.rgbToHex(); } rgbToHsluv() { this.rgbToXyz(), this.xyzToLuv(), this.luvToLch(), this.lchToHpluv(), this.lchToHsluv(); } rgbToHpluv() { this.rgbToXyz(), this.xyzToLuv(), this.luvToLch(), this.lchToHpluv(), this.lchToHpluv(); } hexToHsluv() { this.hexToRgb(), this.rgbToHsluv(); } hexToHpluv() { this.hexToRgb(), this.rgbToHpluv(); } }; (e.Hsluv = t), (t.hexChars = "0123456789abcdef"), (t.refY = 1), (t.refU = 0.19783000664283), (t.refV = 0.46831999493879), (t.kappa = 903.2962962), (t.epsilon = 0.0088564516), (t.m_r0 = 3.240969941904521), (t.m_r1 = -1.537383177570093), (t.m_r2 = -0.498610760293), (t.m_g0 = -0.96924363628087), (t.m_g1 = 1.87596750150772), (t.m_g2 = 0.041555057407175), (t.m_b0 = 0.055630079696993), (t.m_b1 = -0.20397695888897), (t.m_b2 = 1.056971514242878); }, }), WI = sn({ "../../../node_modules/eventemitter3/index.js"(e, t) { "use strict"; var n = Object.prototype.hasOwnProperty, r = "~"; function i() {} Object.create && ((i.prototype = Object.create(null)), new i().__proto__ || (r = !1)); function o(c, u, f) { (this.fn = c), (this.context = u), (this.once = f || !1); } function s(c, u, f, d, m) { if (typeof f != "function") throw new TypeError("The listener must be a function"); var y = new o(f, d || c, m), v = r ? r + u : u; return ( c._events[v] ? c._events[v].fn ? (c._events[v] = [c._events[v], y]) : c._events[v].push(y) : ((c._events[v] = y), c._eventsCount++), c ); } function a(c, u) { --c._eventsCount === 0 ? (c._events = new i()) : delete c._events[u]; } function l() { (this._events = new i()), (this._eventsCount = 0); } (l.prototype.eventNames = function () { var u = [], f, d; if (this._eventsCount === 0) return u; for (d in (f = this._events)) n.call(f, d) && u.push(r ? d.slice(1) : d); return Object.getOwnPropertySymbols ? u.concat(Object.getOwnPropertySymbols(f)) : u; }), (l.prototype.listeners = function (u) { var f = r ? r + u : u, d = this._events[f]; if (!d) return []; if (d.fn) return [d.fn]; for (var m = 0, y = d.length, v = new Array(y); m < y; m++) v[m] = d[m].fn; return v; }), (l.prototype.listenerCount = function (u) { var f = r ? r + u : u, d = this._events[f]; return d ? (d.fn ? 1 : d.length) : 0; }), (l.prototype.emit = function (u, f, d, m, y, v) { var x = r ? r + u : u; if (!this._events[x]) return !1; var p = this._events[x], h = arguments.length, g, S; if (p.fn) { switch ((p.once && this.removeListener(u, p.fn, void 0, !0), h)) { case 1: return p.fn.call(p.context), !0; case 2: return p.fn.call(p.context, f), !0; case 3: return p.fn.call(p.context, f, d), !0; case 4: return p.fn.call(p.context, f, d, m), !0; case 5: return p.fn.call(p.context, f, d, m, y), !0; case 6: return p.fn.call(p.context, f, d, m, y, v), !0; } for (S = 1, g = new Array(h - 1); S < h; S++) g[S - 1] = arguments[S]; p.fn.apply(p.context, g); } else { var k = p.length, w; for (S = 0; S < k; S++) switch ( (p[S].once && this.removeListener(u, p[S].fn, void 0, !0), h) ) { case 1: p[S].fn.call(p[S].context); break; case 2: p[S].fn.call(p[S].context, f); break; case 3: p[S].fn.call(p[S].context, f, d); break; case 4: p[S].fn.call(p[S].context, f, d, m); break; default: if (!g) for (w = 1, g = new Array(h - 1); w < h; w++) g[w - 1] = arguments[w]; p[S].fn.apply(p[S].context, g); } } return !0; }), (l.prototype.on = function (u, f, d) { return s(this, u, f, d, !1); }), (l.prototype.once = function (u, f, d) { return s(this, u, f, d, !0); }), (l.prototype.removeListener = function (u, f, d, m) { var y = r ? r + u : u; if (!this._events[y]) return this; if (!f) return a(this, y), this; var v = this._events[y]; if (v.fn) v.fn === f && (!m || v.once) && (!d || v.context === d) && a(this, y); else { for (var x = 0, p = [], h = v.length; x < h; x++) (v[x].fn !== f || (m && !v[x].once) || (d && v[x].context !== d)) && p.push(v[x]); p.length ? (this._events[y] = p.length === 1 ? p[0] : p) : a(this, y); } return this; }), (l.prototype.removeAllListeners = function (u) { var f; return ( u ? ((f = r ? r + u : u), this._events[f] && a(this, f)) : ((this._events = new i()), (this._eventsCount = 0)), this ); }), (l.prototype.off = l.prototype.removeListener), (l.prototype.addListener = l.prototype.on), (l.prefixed = r), (l.EventEmitter = l), typeof t < "u" && (t.exports = l); }, }), Yp = sn({ "../../../node_modules/process/browser.js"(e, t) { var n = (t.exports = {}), r, i; function o() { throw new Error("setTimeout has not been defined"); } function s() { throw new Error("clearTimeout has not been defined"); } (function () { try { typeof setTimeout == "function" ? (r = setTimeout) : (r = o); } catch { r = o; } try { typeof clearTimeout == "function" ? (i = clearTimeout) : (i = s); } catch { i = s; } })(); function a(p) { if (r === setTimeout) return setTimeout(p, 0); if ((r === o || !r) && setTimeout) return (r = setTimeout), setTimeout(p, 0); try { return r(p, 0); } catch { try { return r.call(null, p, 0); } catch { return r.call(this, p, 0); } } } function l(p) { if (i === clearTimeout) return clearTimeout(p); if ((i === s || !i) && clearTimeout) return (i = clearTimeout), clearTimeout(p); try { return i(p); } catch { try { return i.call(null, p); } catch { return i.call(this, p); } } } var c = [], u = !1, f, d = -1; function m() { !u || !f || ((u = !1), f.length ? (c = f.concat(c)) : (d = -1), c.length && y()); } function y() { if (!u) { var p = a(m); u = !0; for (var h = c.length; h; ) { for (f = c, c = []; ++d < h; ) f && f[d].run(); (d = -1), (h = c.length); } (f = null), (u = !1), l(p); } } n.nextTick = function (p) { var h = new Array(arguments.length - 1); if (arguments.length > 1) for (var g = 1; g < arguments.length; g++) h[g - 1] = arguments[g]; c.push(new v(p, h)), c.length === 1 && !u && a(y); }; function v(p, h) { (this.fun = p), (this.array = h); } (v.prototype.run = function () { this.fun.apply(null, this.array); }), (n.title = "browser"), (n.browser = !0), (n.env = {}), (n.argv = []), (n.version = ""), (n.versions = {}); function x() {} (n.on = x), (n.addListener = x), (n.once = x), (n.off = x), (n.removeListener = x), (n.removeAllListeners = x), (n.emit = x), (n.prependListener = x), (n.prependOnceListener = x), (n.listeners = function (p) { return []; }), (n.binding = function (p) { throw new Error("process.binding is not supported"); }), (n.cwd = function () { return "/"; }), (n.chdir = function (p) { throw new Error("process.chdir is not supported"); }), (n.umask = function () { return 0; }); }, }), UI = sn({ "../../../node_modules/@juggle/resize-observer/lib/exports/resize-observer.umd.js"( e, t ) { (function (n, r) { typeof e == "object" && typeof t < "u" ? r(e) : typeof define == "function" && define.amd ? define(["exports"], r) : ((n = typeof globalThis < "u" ? globalThis : n || self), r((n.ResizeObserver = {}))); })(e, function (n) { "use strict"; var r = [], i = function () { return r.some(function (P) { return P.activeTargets.length > 0; }); }, o = function () { return r.some(function (P) { return P.skippedTargets.length > 0; }); }, s = "ResizeObserver loop completed with undelivered notifications.", a = function () { var P; typeof ErrorEvent == "function" ? (P = new ErrorEvent("error", { message: s })) : ((P = document.createEvent("Event")), P.initEvent("error", !1, !1), (P.message = s)), window.dispatchEvent(P); }, l; (function (P) { (P.BORDER_BOX = "border-box"), (P.CONTENT_BOX = "content-box"), (P.DEVICE_PIXEL_CONTENT_BOX = "device-pixel-content-box"); })(l || (l = {})); var c = function (P) { return Object.freeze(P); }, u = (function () { function P(_, M) { (this.inlineSize = _), (this.blockSize = M), c(this); } return P; })(), f = (function () { function P(_, M, z, oe) { return ( (this.x = _), (this.y = M), (this.width = z), (this.height = oe), (this.top = this.y), (this.left = this.x), (this.bottom = this.top + this.height), (this.right = this.left + this.width), c(this) ); } return ( (P.prototype.toJSON = function () { var _ = this, M = _.x, z = _.y, oe = _.top, vt = _.right, et = _.bottom, Be = _.left, Qn = _.width, Nt = _.height; return { x: M, y: z, top: oe, right: vt, bottom: et, left: Be, width: Qn, height: Nt, }; }), (P.fromRect = function (_) { return new P(_.x, _.y, _.width, _.height); }), P ); })(), d = function (P) { return P instanceof SVGElement && "getBBox" in P; }, m = function (P) { if (d(P)) { var _ = P.getBBox(), M = _.width, z = _.height; return !M && !z; } var oe = P, vt = oe.offsetWidth, et = oe.offsetHeight; return !(vt || et || P.getClientRects().length); }, y = function (P) { var _, M; if (P instanceof Element) return !0; var z = (M = (_ = P) === null || _ === void 0 ? void 0 : _.ownerDocument) === null || M === void 0 ? void 0 : M.defaultView; return !!(z && P instanceof z.Element); }, v = function (P) { switch (P.tagName) { case "INPUT": if (P.type !== "image") break; case "VIDEO": case "AUDIO": case "EMBED": case "OBJECT": case "CANVAS": case "IFRAME": case "IMG": return !0; } return !1; }, x = typeof window < "u" ? window : {}, p = new WeakMap(), h = /auto|scroll/, g = /^tb|vertical/, S = /msie|trident/i.test(x.navigator && x.navigator.userAgent), k = function (P) { return parseFloat(P || "0"); }, w = function (P, _, M) { return ( P === void 0 && (P = 0), _ === void 0 && (_ = 0), M === void 0 && (M = !1), new u((M ? _ : P) || 0, (M ? P : _) || 0) ); }, T = c({ devicePixelContentBoxSize: w(), borderBoxSize: w(), contentBoxSize: w(), contentRect: new f(0, 0, 0, 0), }), R = function (P, _) { if ((_ === void 0 && (_ = !1), p.has(P) && !_)) return p.get(P); if (m(P)) return p.set(P, T), T; var M = getComputedStyle(P), z = d(P) && P.ownerSVGElement && P.getBBox(), oe = !S && M.boxSizing === "border-box", vt = g.test(M.writingMode || ""), et = !z && h.test(M.overflowY || ""), Be = !z && h.test(M.overflowX || ""), Qn = z ? 0 : k(M.paddingTop), Nt = z ? 0 : k(M.paddingRight), Zr = z ? 0 : k(M.paddingBottom), Di = z ? 0 : k(M.paddingLeft), Pk = z ? 0 : k(M.borderTopWidth), _k = z ? 0 : k(M.borderRightWidth), Ik = z ? 0 : k(M.borderBottomWidth), Fk = z ? 0 : k(M.borderLeftWidth), ym = Di + Nt, bm = Qn + Zr, xu = Fk + _k, Su = Pk + Ik, xm = Be ? P.offsetHeight - Su - P.clientHeight : 0, Sm = et ? P.offsetWidth - xu - P.clientWidth : 0, Lk = oe ? ym + xu : 0, Mk = oe ? bm + Su : 0, Fa = z ? z.width : k(M.width) - Lk - Sm, La = z ? z.height : k(M.height) - Mk - xm, Ok = Fa + ym + Sm + xu, Dk = La + bm + xm + Su, wm = c({ devicePixelContentBoxSize: w( Math.round(Fa * devicePixelRatio), Math.round(La * devicePixelRatio), vt ), borderBoxSize: w(Ok, Dk, vt), contentBoxSize: w(Fa, La, vt), contentRect: new f(Di, Qn, Fa, La), }); return p.set(P, wm), wm; }, F = function (P, _, M) { var z = R(P, M), oe = z.borderBoxSize, vt = z.contentBoxSize, et = z.devicePixelContentBoxSize; switch (_) { case l.DEVICE_PIXEL_CONTENT_BOX: return et; case l.BORDER_BOX: return oe; default: return vt; } }, I = (function () { function P(_) { var M = R(_); (this.target = _), (this.contentRect = M.contentRect), (this.borderBoxSize = c([M.borderBoxSize])), (this.contentBoxSize = c([M.contentBoxSize])), (this.devicePixelContentBoxSize = c([ M.devicePixelContentBoxSize, ])); } return P; })(), $ = function (P) { if (m(P)) return 1 / 0; for (var _ = 0, M = P.parentNode; M; ) (_ += 1), (M = M.parentNode); return _; }, V = function () { var P = 1 / 0, _ = []; r.forEach(function (et) { if (et.activeTargets.length !== 0) { var Be = []; et.activeTargets.forEach(function (Nt) { var Zr = new I(Nt.target), Di = $(Nt.target); Be.push(Zr), (Nt.lastReportedSize = F(Nt.target, Nt.observedBox)), Di < P && (P = Di); }), _.push(function () { et.callback.call(et.observer, Be, et.observer); }), et.activeTargets.splice(0, et.activeTargets.length); } }); for (var M = 0, z = _; M < z.length; M++) { var oe = z[M]; oe(); } return P; }, Q = function (P) { r.forEach(function (M) { M.activeTargets.splice(0, M.activeTargets.length), M.skippedTargets.splice(0, M.skippedTargets.length), M.observationTargets.forEach(function (oe) { oe.isActive() && ($(oe.target) > P ? M.activeTargets.push(oe) : M.skippedTargets.push(oe)); }); }); }, J = function () { var P = 0; for (Q(P); i(); ) (P = V()), Q(P); return o() && a(), P > 0; }, j, te = [], U = function () { return te.splice(0).forEach(function (P) { return P(); }); }, q = function (P) { if (!j) { var _ = 0, M = document.createTextNode(""), z = { characterData: !0 }; new MutationObserver(function () { return U(); }).observe(M, z), (j = function () { M.textContent = "" + (_ ? _-- : _++); }); } te.push(P), j(); }, H = function (P) { q(function () { requestAnimationFrame(P); }); }, ee = 0, ie = function () { return !!ee; }, ue = 250, Z = { attributes: !0, characterData: !0, childList: !0, subtree: !0 }, re = [ "resize", "load", "transitionend", "animationend", "animationstart", "animationiteration", "keyup", "keydown", "mouseup", "mousedown", "mouseover", "mouseout", "blur", "focus", ], mt = function (P) { return P === void 0 && (P = 0), Date.now() + P; }, pe = !1, Ke = (function () { function P() { var _ = this; (this.stopped = !0), (this.listener = function () { return _.schedule(); }); } return ( (P.prototype.run = function (_) { var M = this; if ((_ === void 0 && (_ = ue), !pe)) { pe = !0; var z = mt(_); H(function () { var oe = !1; try { oe = J(); } finally { if (((pe = !1), (_ = z - mt()), !ie())) return; oe ? M.run(1e3) : _ > 0 ? M.run(_) : M.start(); } }); } }), (P.prototype.schedule = function () { this.stop(), this.run(); }), (P.prototype.observe = function () { var _ = this, M = function () { return _.observer && _.observer.observe(document.body, Z); }; document.body ? M() : x.addEventListener("DOMContentLoaded", M); }), (P.prototype.start = function () { var _ = this; this.stopped && ((this.stopped = !1), (this.observer = new MutationObserver(this.listener)), this.observe(), re.forEach(function (M) { return x.addEventListener(M, _.listener, !0); })); }), (P.prototype.stop = function () { var _ = this; this.stopped || (this.observer && this.observer.disconnect(), re.forEach(function (M) { return x.removeEventListener(M, _.listener, !0); }), (this.stopped = !0)); }), P ); })(), je = new Ke(), vn = function (P) { !ee && P > 0 && je.start(), (ee += P), !ee && je.stop(); }, ce = function (P) { return !d(P) && !v(P) && getComputedStyle(P).display === "inline"; }, qn = (function () { function P(_, M) { (this.target = _), (this.observedBox = M || l.CONTENT_BOX), (this.lastReportedSize = { inlineSize: 0, blockSize: 0 }); } return ( (P.prototype.isActive = function () { var _ = F(this.target, this.observedBox, !0); return ( ce(this.target) && (this.lastReportedSize = _), this.lastReportedSize.inlineSize !== _.inlineSize || this.lastReportedSize.blockSize !== _.blockSize ); }), P ); })(), $t = (function () { function P(_, M) { (this.activeTargets = []), (this.skippedTargets = []), (this.observationTargets = []), (this.observer = _), (this.callback = M); } return P; })(), Rn = new WeakMap(), gn = function (P, _) { for (var M = 0; M < P.length; M += 1) if (P[M].target === _) return M; return -1; }, zt = (function () { function P() {} return ( (P.connect = function (_, M) { var z = new $t(_, M); Rn.set(_, z); }), (P.observe = function (_, M, z) { var oe = Rn.get(_), vt = oe.observationTargets.length === 0; gn(oe.observationTargets, M) < 0 && (vt && r.push(oe), oe.observationTargets.push(new qn(M, z && z.box)), vn(1), je.schedule()); }), (P.unobserve = function (_, M) { var z = Rn.get(_), oe = gn(z.observationTargets, M), vt = z.observationTargets.length === 1; oe >= 0 && (vt && r.splice(r.indexOf(z), 1), z.observationTargets.splice(oe, 1), vn(-1)); }), (P.disconnect = function (_) { var M = this, z = Rn.get(_); z.observationTargets.slice().forEach(function (oe) { return M.unobserve(_, oe.target); }), z.activeTargets.splice(0, z.activeTargets.length); }), P ); })(), Oi = (function () { function P(_) { if (arguments.length === 0) throw new TypeError( "Failed to construct 'ResizeObserver': 1 argument required, but only 0 present." ); if (typeof _ != "function") throw new TypeError( "Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function." ); zt.connect(this, _); } return ( (P.prototype.observe = function (_, M) { if (arguments.length === 0) throw new TypeError( "Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present." ); if (!y(_)) throw new TypeError( "Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element" ); zt.observe(this, _, M); }), (P.prototype.unobserve = function (_) { if (arguments.length === 0) throw new TypeError( "Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present." ); if (!y(_)) throw new TypeError( "Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element" ); zt.unobserve(this, _); }), (P.prototype.disconnect = function () { zt.disconnect(this); }), (P.toString = function () { return "function ResizeObserver () { [polyfill code] }"; }), P ); })(); (n.ResizeObserver = Oi), (n.ResizeObserverEntry = I), (n.ResizeObserverSize = u), Object.defineProperty(n, "__esModule", { value: !0 }); }); }, }), XI = sn({ "../../../node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js"( e ) { "use strict"; var t = typeof Symbol == "function" && Symbol.for, n = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, i = t ? Symbol.for("react.fragment") : 60107, o = t ? Symbol.for("react.strict_mode") : 60108, s = t ? Symbol.for("react.profiler") : 60114, a = t ? Symbol.for("react.provider") : 60109, l = t ? Symbol.for("react.context") : 60110, c = t ? Symbol.for("react.async_mode") : 60111, u = t ? Symbol.for("react.concurrent_mode") : 60111, f = t ? Symbol.for("react.forward_ref") : 60112, d = t ? Symbol.for("react.suspense") : 60113, m = t ? Symbol.for("react.suspense_list") : 60120, y = t ? Symbol.for("react.memo") : 60115, v = t ? Symbol.for("react.lazy") : 60116, x = t ? Symbol.for("react.block") : 60121, p = t ? Symbol.for("react.fundamental") : 60117, h = t ? Symbol.for("react.responder") : 60118, g = t ? Symbol.for("react.scope") : 60119; function S(w) { if (typeof w == "object" && w !== null) { var T = w.$$typeof; switch (T) { case n: switch (((w = w.type), w)) { case c: case u: case i: case s: case o: case d: return w; default: switch (((w = w && w.$$typeof), w)) { case l: case f: case v: case y: case a: return w; default: return T; } } case r: return T; } } } function k(w) { return S(w) === u; } (e.AsyncMode = c), (e.ConcurrentMode = u), (e.ContextConsumer = l), (e.ContextProvider = a), (e.Element = n), (e.ForwardRef = f), (e.Fragment = i), (e.Lazy = v), (e.Memo = y), (e.Portal = r), (e.Profiler = s), (e.StrictMode = o), (e.Suspense = d), (e.isAsyncMode = function (w) { return k(w) || S(w) === c; }), (e.isConcurrentMode = k), (e.isContextConsumer = function (w) { return S(w) === l; }), (e.isContextProvider = function (w) { return S(w) === a; }), (e.isElement = function (w) { return typeof w == "object" && w !== null && w.$$typeof === n; }), (e.isForwardRef = function (w) { return S(w) === f; }), (e.isFragment = function (w) { return S(w) === i; }), (e.isLazy = function (w) { return S(w) === v; }), (e.isMemo = function (w) { return S(w) === y; }), (e.isPortal = function (w) { return S(w) === r; }), (e.isProfiler = function (w) { return S(w) === s; }), (e.isStrictMode = function (w) { return S(w) === o; }), (e.isSuspense = function (w) { return S(w) === d; }), (e.isValidElementType = function (w) { return ( typeof w == "string" || typeof w == "function" || w === i || w === u || w === s || w === o || w === d || w === m || (typeof w == "object" && w !== null && (w.$$typeof === v || w.$$typeof === y || w.$$typeof === a || w.$$typeof === l || w.$$typeof === f || w.$$typeof === p || w.$$typeof === h || w.$$typeof === g || w.$$typeof === x)) ); }), (e.typeOf = S); }, }), YI = sn({ "../../../node_modules/hoist-non-react-statics/node_modules/react-is/index.js"( e, t ) { "use strict"; t.exports = XI(); }, }), lu = sn({ "../../../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"( e, t ) { "use strict"; var n = YI(), r = { childContextTypes: !0, contextType: !0, contextTypes: !0, defaultProps: !0, displayName: !0, getDefaultProps: !0, getDerivedStateFromError: !0, getDerivedStateFromProps: !0, mixins: !0, propTypes: !0, type: !0, }, i = { name: !0, length: !0, prototype: !0, caller: !0, callee: !0, arguments: !0, arity: !0, }, o = { $$typeof: !0, render: !0, defaultProps: !0, displayName: !0, propTypes: !0, }, s = { $$typeof: !0, compare: !0, defaultProps: !0, displayName: !0, propTypes: !0, type: !0, }, a = {}; (a[n.ForwardRef] = o), (a[n.Memo] = s); function l(x) { return n.isMemo(x) ? s : a[x.$$typeof] || r; } var c = Object.defineProperty, u = Object.getOwnPropertyNames, f = Object.getOwnPropertySymbols, d = Object.getOwnPropertyDescriptor, m = Object.getPrototypeOf, y = Object.prototype; function v(x, p, h) { if (typeof p != "string") { if (y) { var g = m(p); g && g !== y && v(x, g, h); } var S = u(p); f && (S = S.concat(f(p))); for (var k = l(x), w = l(p), T = 0; T < S.length; ++T) { var R = S[T]; if (!i[R] && !(h && h[R]) && !(w && w[R]) && !(k && k[R])) { var F = d(p, R); try { c(x, R, F); } catch {} } } } return x; } t.exports = v; }, }), GI = sn({ "../../../node_modules/archy/index.js"(e, t) { t.exports = function n(r, i, o) { i === void 0 && (i = ""), o || (o = {}); var s = function (u) { var f = { "\u2502": "|", "\u2514": "`", "\u251C": "+", "\u2500": "-", "\u252C": "-", }; return o.unicode === !1 ? f[u] : u; }; typeof r == "string" && (r = { label: r }); var a = r.nodes || [], l = (r.label || "").split(` `), c = ` ` + i + (a.length ? s("\u2502") : " ") + " "; return ( i + l.join(c) + ` ` + a .map(function (u, f) { var d = f === a.length - 1, m = u.nodes && u.nodes.length, y = i + (d ? " " : s("\u2502")) + " "; return ( i + s(d ? "\u2514" : "\u251C") + s("\u2500") + s(m ? "\u252C" : "\u2500") + " " + n(u, y, o).slice(i.length + 2) ); }) .join("") ); }; }, }), KI = sn({ "../../../node_modules/fontfaceobserver/fontfaceobserver.standalone.js"( e, t ) { (function () { function n(p, h) { document.addEventListener ? p.addEventListener("scroll", h, !1) : p.attachEvent("scroll", h); } function r(p) { document.body ? p() : document.addEventListener ? document.addEventListener("DOMContentLoaded", function h() { document.removeEventListener("DOMContentLoaded", h), p(); }) : document.attachEvent("onreadystatechange", function h() { (document.readyState == "interactive" || document.readyState == "complete") && (document.detachEvent("onreadystatechange", h), p()); }); } function i(p) { (this.a = document.createElement("div")), this.a.setAttribute("aria-hidden", "true"), this.a.appendChild(document.createTextNode(p)), (this.b = document.createElement("span")), (this.c = document.createElement("span")), (this.h = document.createElement("span")), (this.f = document.createElement("span")), (this.g = -1), (this.b.style.cssText = "max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;"), (this.c.style.cssText = "max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;"), (this.f.style.cssText = "max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;"), (this.h.style.cssText = "display:inline-block;width:200%;height:200%;font-size:16px;max-width:none;"), this.b.appendChild(this.h), this.c.appendChild(this.f), this.a.appendChild(this.b), this.a.appendChild(this.c); } function o(p, h) { p.a.style.cssText = "max-width:none;min-width:20px;min-height:20px;display:inline-block;overflow:hidden;position:absolute;width:auto;margin:0;padding:0;top:-999px;white-space:nowrap;font-synthesis:none;font:" + h + ";"; } function s(p) { var h = p.a.offsetWidth, g = h + 100; return ( (p.f.style.width = g + "px"), (p.c.scrollLeft = g), (p.b.scrollLeft = p.b.scrollWidth + 100), p.g !== h ? ((p.g = h), !0) : !1 ); } function a(p, h) { function g() { var k = S; s(k) && k.a.parentNode && h(k.g); } var S = p; n(p.b, g), n(p.c, g), s(p); } function l(p, h) { var g = h || {}; (this.family = p), (this.style = g.style || "normal"), (this.weight = g.weight || "normal"), (this.stretch = g.stretch || "normal"); } var c = null, u = null, f = null, d = null; function m() { if (u === null) if (y() && /Apple/.test(window.navigator.vendor)) { var p = /AppleWebKit\/([0-9]+)(?:\.([0-9]+))(?:\.([0-9]+))/.exec( window.navigator.userAgent ); u = !!p && 603 > parseInt(p[1], 10); } else u = !1; return u; } function y() { return d === null && (d = !!document.fonts), d; } function v() { if (f === null) { var p = document.createElement("div"); try { p.style.font = "condensed 100px sans-serif"; } catch {} f = p.style.font !== ""; } return f; } function x(p, h) { return [p.style, p.weight, v() ? p.stretch : "", "100px", h].join( " " ); } (l.prototype.load = function (p, h) { var g = this, S = p || "BESbswy", k = 0, w = h || 3e3, T = new Date().getTime(); return new Promise(function (R, F) { if (y() && !m()) { var I = new Promise(function (V, Q) { function J() { new Date().getTime() - T >= w ? Q(Error("" + w + "ms timeout exceeded")) : document.fonts .load(x(g, '"' + g.family + '"'), S) .then(function (j) { 1 <= j.length ? V() : setTimeout(J, 25); }, Q); } J(); }), $ = new Promise(function (V, Q) { k = setTimeout(function () { Q(Error("" + w + "ms timeout exceeded")); }, w); }); Promise.race([$, I]).then(function () { clearTimeout(k), R(g); }, F); } else r(function () { function V() { var re; (re = (U != -1 && q != -1) || (U != -1 && H != -1) || (q != -1 && H != -1)) && ((re = U != q && U != H && q != H) || (c === null && ((re = /AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec( window.navigator.userAgent )), (c = !!re && (536 > parseInt(re[1], 10) || (parseInt(re[1], 10) === 536 && 11 >= parseInt(re[2], 10))))), (re = c && ((U == ee && q == ee && H == ee) || (U == ie && q == ie && H == ie) || (U == ue && q == ue && H == ue)))), (re = !re)), re && (Z.parentNode && Z.parentNode.removeChild(Z), clearTimeout(k), R(g)); } function Q() { if (new Date().getTime() - T >= w) Z.parentNode && Z.parentNode.removeChild(Z), F(Error("" + w + "ms timeout exceeded")); else { var re = document.hidden; (re === !0 || re === void 0) && ((U = J.a.offsetWidth), (q = j.a.offsetWidth), (H = te.a.offsetWidth), V()), (k = setTimeout(Q, 50)); } } var J = new i(S), j = new i(S), te = new i(S), U = -1, q = -1, H = -1, ee = -1, ie = -1, ue = -1, Z = document.createElement("div"); (Z.dir = "ltr"), o(J, x(g, "sans-serif")), o(j, x(g, "serif")), o(te, x(g, "monospace")), Z.appendChild(J.a), Z.appendChild(j.a), Z.appendChild(te.a), document.body.appendChild(Z), (ee = J.a.offsetWidth), (ie = j.a.offsetWidth), (ue = te.a.offsetWidth), Q(), a(J, function (re) { (U = re), V(); }), o(J, x(g, '"' + g.family + '",sans-serif')), a(j, function (re) { (q = re), V(); }), o(j, x(g, '"' + g.family + '",serif')), a(te, function (re) { (H = re), V(); }), o(te, x(g, '"' + g.family + '",monospace')); }); }); }), typeof t == "object" ? (t.exports = l) : ((window.FontFaceObserver = l), (window.FontFaceObserver.prototype.load = l.prototype.load)); })(); }, }); function Op(e, t) { let n = { style: t }; return b.isValidElement(e) ? b.cloneElement(e, n) : b.createElement(e, n); } var qI = class extends Error {}, zS = class extends Error {}, QI = class extends ve { constructor(e) { super(e), (this.state = { error: void 0, forceUpdateKey: e.forceUpdateKey }); } static getDerivedStateFromError(e) { return { error: e }; } static getDerivedStateFromProps(e, t) { if (e.forceUpdateKey !== t.forceUpdateKey) { let n = { forceUpdateKey: e.forceUpdateKey }; return t.error && (n.error = void 0), n; } return null; } render() { if (this.state.error === void 0) return this.props.children; if (!(this.state.error instanceof qI)) { let n = new zS(); throw ((n.cause = this.state.error), n); } let { notFoundPage: e, defaultPageStyle: t } = this.props; if (!e) throw this.state.error; return Op(e, t); } }, ZI = ":([a-z]\\w*)", _i = new RegExp(ZI, "gi"); function NS(e, t) { return e.replace(_i, (n, r) => { let i = t[r]; return typeof i != "string" || i.length === 0 ? n : encodeURIComponent(i); }); } function HS(e, t) { if (!e.startsWith("/") || !t.startsWith("/")) throw new Error("from/to paths are expected to be absolute"); let [n] = y1(e), [r, i] = y1(t), o = JI(n, r); return ( o === "" && (o = "."), !o.startsWith(".") && !o.startsWith("/") && (o = "./" + o), o + "/" + i ); } function y1(e) { let t = e.lastIndexOf("/"); return [e.substring(0, t + 1), e.substring(t + 1)]; } var hp = 46, Lo = 47, Kr = (e, t) => e.charCodeAt(t), b1 = (e, t) => e.lastIndexOf(t), Oo = (e, t, n) => e.slice(t, n); function JI(e, t) { if (e === t || ((e = "/" + S1(e)), (t = "/" + S1(t)), e === t)) return ""; let n = 1, r = e.length, i = r - n, o = 1, s = t.length - o, a = i < s ? i : s, l = -1, c = 0; for (; c < a; c++) { let f = Kr(e, n + c); if (f !== Kr(t, o + c)) break; f === Lo && (l = c); } if (c === a) if (s > a) { if (Kr(t, o + c) === Lo) return Oo(t, o + c + 1); if (c === 0) return Oo(t, o + c); } else i > a && (Kr(e, n + c) === Lo ? (l = c) : c === 0 && (l = 0)); let u = ""; for (c = n + l + 1; c <= r; ++c) (c === r || Kr(e, c) === Lo) && (u += u.length === 0 ? ".." : "/.."); return `${u}${Oo(t, o + l)}`; } var eF = !1, Dc = "/", x1 = (e) => e === Lo; function S1(e) { let t = "", n = 0, r = -1, i = 0, o = 0; for (let s = 0; s <= e.length; ++s) { if (s < e.length) o = Kr(e, s); else { if (x1(o)) break; o = Lo; } if (x1(o)) { if (!(r === s - 1 || i === 1)) if (i === 2) { if ( t.length < 2 || n !== 2 || Kr(t, t.length - 1) !== hp || Kr(t, t.length - 2) !== hp ) { if (t.length > 2) { let a = b1(t, Dc); a === -1 ? ((t = ""), (n = 0)) : ((t = Oo(t, 0, a)), (n = t.length - 1 - b1(t, Dc))), (r = s), (i = 0); continue; } else if (t.length !== 0) { (t = ""), (n = 0), (r = s), (i = 0); continue; } } eF && ((t += t.length > 0 ? `${Dc}..` : ".."), (n = 2)); } else t.length > 0 ? (t += `${Dc}${Oo(e, r + 1, s)}`) : (t = Oo(e, r + 1, s)), (n = s - r - 1); (r = s), (i = 0); } else o === hp && i !== -1 ? ++i : (i = -1); } return t; } function jS(e) { let t = typeof window < "u" ? window.location.search : ""; return t ? tF(t, e) : e; } function tF(e, t) { let n = t.indexOf("#"), r = n === -1 ? t : t.substring(0, n), i = n === -1 ? "" : t.substring(n), o = r.indexOf("?"); if (o === -1) return r + e + i; let s = new URLSearchParams(e), a = r.substring(o + 1), l = new URLSearchParams(a); for (let [c, u] of s) l.has(c) || l.append(c, u); return r.substring(0, o + 1) + l.toString() + i; } function Jc(e) { return typeof e == "object" && e !== null && !Array.isArray(e); } function oa(e) { return typeof e == "string"; } var nF = "preload"; function WS(e) { return typeof e == "object" && e !== null && !b.isValidElement(e) && nF in e; } function X$(e) { let t = b.lazy(e), n, r, i = b.forwardRef(function (s, a) { return b.createElement(r ?? t, a ? { ref: a, ...s } : s); }); return ( (i.preload = () => (n || (n = e().then((o) => ((r = o.default), r))), n)), i ); } function cu(e, t) { if (t && e) return e.elements && t in e.elements ? e.elements[t] : t; } function rF(e) { return /bot|Mediapartners-Google|Google-PageRenderer|yandex|ia_archiver/iu.test( e ); } function iF(e) { if ("scheduler" in window) { let t = { priority: e ? "user-blocking" : "user-visible" }; if ("yield" in scheduler) return scheduler.yield(t); if ("postTask" in scheduler) return scheduler.postTask(() => {}, t); } return e ? Promise.resolve() : new Promise((t) => { setTimeout(t, 0); }); } async function oF(e, t, n, r, i, o, s) { var a, l, c; let u = e, f = !1, d = { ...o }, m = Array.from(u.matchAll(_i)), y = await Promise.all( m.map(async (h) => { var g; let S = h?.[0], k = h?.[1]; if (!S || !k) throw new Error( "Failed to replace path variables: unexpected regex match group" ); let w = o[k]; if (!w || !oa(w)) throw new Error(`No slug found for path variable ${k}`); let T = await ((g = s?.[i]) === null || g === void 0 ? void 0 : g.call(s)); if (!T || !t) return w; let R = await T.getRecordIdBySlug(w, t); if (!R) return w; let F = await T.getSlugByRecordId(R, n); if (!F) { f = !0; let I = await T.getSlugByRecordId(R, r); return I && (d[k] = I), I ?? w; } return (d[k] = F), F; }) ), v = 0, x = "", p = !1; for (let h = 0; h < m.length; h++) { let g = m[h], S = y[h]; !g || !S || ((x += u.substring(v, g.index)), (v = ((a = g.index) !== null && a !== void 0 ? a : 0) + ((c = (l = g[0]) === null || l === void 0 ? void 0 : l.length) !== null && c !== void 0 ? c : 0)), (x += y[h]), (p = !0)); } return p && (u = x), { path: u, pathVariables: d, isMissingInLocale: f }; } async function sF({ currentLocale: e, nextLocale: t, defaultLocale: n, route: r, pathVariables: i, collectionUtils: o, preserveQueryParams: s, }) { let { path: a } = r, l = { path: a, pathVariables: i, isMissingInLocale: !1 }; if (!a) return l; if (i && r.collectionId) try { l = await oF(a, e, t, n, r.collectionId, i, o); } catch {} return ( t.slug && (l.path = "/" + t.slug + l.path), s && l.path && (l.path = jS(l.path)), l ); } function aF(e, t, { global: n, routes: r }) { var i; return ((i = r[e]) === null || i === void 0 ? void 0 : i[t]) || n; } var lF = { global: void 0, routes: {} }, US = b.createContext(lF); function q$({ children: e, value: t }) { return C(US.Provider, { value: t, children: e }); } function cF() { return b.useContext(US); } var pp = 10, uF = 1e4; function fF(e) { let t = pp, n = e.next(0), r = [n.value]; for (; !n.done && t < uF; ) (n = e.next(t)), r.push(n.value), (t += pp); return ( r.length === 1 && r.push(n.value), { easing: `linear(${r.join(",")})`, duration: t - pp } ); } var mr = (e) => `--view-transition-${e}`; function Dp(e) { return [parseFloat(e), e.endsWith("px") ? "px" : "%"]; } function XS(e) { let { innerWidth: t, innerHeight: n } = window, [r, i] = Dp(e.x), [o, s] = Dp(e.y); return { x: i === "px" ? r : t * (r / 100), y: s === "px" ? o : n * (o / 100), }; } var dF = { makeKeyframe: (e, t, n) => { let r = 0; return ( ((n === "exit" && e.angularDirection === "clockwise" && t === "start") || (n === "exit" && e.angularDirection === "counter-clockwise" && t === "end") || (n === "enter" && e.angularDirection === "counter-clockwise" && t === "start") || (n === "enter" && e.angularDirection === "clockwise" && t === "end")) && (r = (e.sweepAngle / 360) * 100), `${mr("conic-offset")}: ${r}%;` ); }, makeStyles: (e, t) => { let n = `var(${mr("conic-offset")})`, r = (t === "exit" && e.angularDirection === "clockwise") || (t === "enter" && e.angularDirection === "counter-clockwise"), i = r ? "transparent" : "black", o = r ? "black" : "transparent", s = "conic-gradient(from "; return ( (s += `${e.angle}deg at ${e.x} ${e.y}, `), (s += `${i} 0%, ${i} ${n}, `), (s += `${o} ${n}, ${o} 100%)`), `mask-image: ${s}; -webkit-mask-image: ${s};` ); }, makePropertyRules: () => ` @property ${mr("conic-offset")} { syntax: ''; initial-value: 0%; inherits: false; } `, }, hF = { makeKeyframe: (e, t) => { let { x: n, y: r } = XS(e); return t === "start" ? `clip-path: circle(0 at ${n}px ${r}px);` : `clip-path: circle(${Math.hypot( Math.max(n, window.innerWidth - n), Math.max(r, window.innerHeight - r) )}px at ${n}px ${r}px);`; }, }, pF = { makeKeyframe: (e, t) => { let { x: n, y: r } = XS(e), i = window.innerHeight - r, o = window.innerWidth - n; return t === "start" ? `clip-path: inset(${r}px ${o}px ${i}px ${n}px round ${e.round}px);` : "clip-path: inset(0 round 0);"; }, }, mF = { makeKeyframe: (e, t, n) => { let [, r] = Dp(e.width), i = `0${r}`; return ( ((t === "start" && n === "exit") || (t === "end" && n === "enter")) && (i = e.width), `${mr("blinds-width")}: ${i};` ); }, makeStyles: (e, t) => { let n = `var(${mr("blinds-width")})`, r = t === "exit" ? "transparent" : "black", i = t === "exit" ? "black" : "transparent", o = "repeating-linear-gradient("; return ( (o += e.angle + 90 + "deg, "), (o += `${r} 0px, ${r} ${n}, `), (o += `${i} ${n}, ${i} ${e.width})`), `mask-image: ${o}; -webkit-mask-image: ${o};` ); }, makePropertyRules: () => ` @property ${mr("blinds-width")} { syntax: ''; initial-value: 0px; inherits: false; } `, }, vF = { makeKeyframe: (e, t, n) => { let r = (t === "start" && n === "exit") || (t === "end" && n === "enter") ? 1 : 0; return `${mr("wipe-offset")}: ${r};`; }, makeStyles: (e, t) => { let n = `var(${mr("wipe-offset")})`, r = t === "exit" ? "transparent" : "black", i = t === "exit" ? "black" : "transparent", o = "linear-gradient("; return ( (o += e.angle + 90 + "deg, "), (o += `${r} calc(calc(0% - ${e.width}) + calc(calc(100% + ${e.width}) * ${n})), `), (o += `${i} calc(calc(100% + ${e.width}) * ${n}))`), `mask-image: ${o}; -webkit-mask-image: ${o};` ); }, makePropertyRules: () => ` @property ${mr("wipe-offset")} { syntax: ''; initial-value: 0; inherits: false; } `, }, gF = { circle: hF, conic: dF, inset: pF, blinds: mF, wipe: vF }, yF = { opacity: 1, x: "0px", y: "0px", scale: 1, rotate: 0, rotateX: 0, rotateY: 0, mask: void 0, }; function w1(e, t, n, r) { var i; let o = ` opacity: ${e.opacity}; transform: translate(${e.x}, ${e.y}) scale(${e.scale}) rotateX(${e.rotateX}deg) rotateY(${e.rotateY}deg) rotateZ(${e.rotate}deg); `; return ( e.mask && (o += ((i = r?.makeKeyframe) === null || i === void 0 ? void 0 : i.call(r, e.mask, t, n)) || ""), o ); } function bF(e) { return e ? gF[e] : void 0; } function k1(e, { transition: t, ...n }) { var r; let i = "view-transition-" + e, o = { duration: "0s", easing: "linear" }; if (t.type === "tween") (o.duration = t.duration + "s"), (o.easing = `cubic-bezier(${t.ease.join(",")})`); else if (t.type === "spring") { let { easing: c, duration: u } = fF( cs({ keyframes: [0, 1], stiffness: t.stiffness, damping: t.damping, mass: t.mass, restDelta: 0.001, restSpeed: 1e-4, }) ); (o.duration = u + "ms"), (o.easing = c); } let s = bF((r = n?.mask) === null || r === void 0 ? void 0 : r.type), a = w1(n, "start", e, s), l = w1({ ...yF, mask: n.mask }, "end", e, s); return ( e === "exit" && ([a, l] = [l, a]), ` ${n.mask && s?.makePropertyRules ? s.makePropertyRules(n.mask) : ""} @keyframes ${i} { 0% { ${a} } 100% { ${l} } } ::view-transition-${e === "enter" ? "new" : "old"}(root) { animation-name: ${i}; animation-duration: ${o.duration}; animation-delay: ${t.delay}s; animation-timing-function: ${o.easing}; animation-fill-mode: both; ${n.mask && s?.makeStyles ? s.makeStyles(n.mask, e) : ""} } ` ); } var YS = "view-transition-styles", xF = { x: "0px", y: "0px", scale: 1, opacity: 1, rotate3d: !1, rotate: 0, rotateX: 0, rotateY: 0, mask: void 0, transition: { type: "tween", delay: 0, duration: 0.2, ease: [0.27, 0, 0.51, 1], stiffness: 400, damping: 30, mass: 1, }, }; function SF({ exit: e = xF, enter: t }) { let n = document.createElement("style"); n.id = YS; let r = ` @media (prefers-reduced-motion) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } } `; (e.mask || t.mask || e.opacity || t.opacity || e.transition.delay || t.transition.delay) && (r += ` ::view-transition-old(*), ::view-transition-new(*) { mix-blend-mode: normal; } `), (r += ` ::view-transition-old(*), ::view-transition-new(*) { backface-visibility: hidden; } `), (r += k1("exit", e)), (r += k1("enter", t)), (n.textContent = r), document.head.appendChild(n); } function wF() { X.render(() => { let e = document.getElementById(YS); e && document.head.removeChild(e); }); } function kF() { return !!document.startViewTransition; } function CF(e, t) { if (!kF()) return void e(); SF(t); let n = document.startViewTransition(e); return ( Promise.all([n.ready, n.finished]) .then(wF) .catch(() => {}), n ); } function GS() { let e = cF(), t = D(void 0); return ( N(() => { t.current && (t.current(), (t.current = void 0)); }), me( (n, r, i) => { let o = aF(n, r, e); if (o) { let s = new Promise((l) => { t.current = l; }); return CF(async () => { i(), await s; }, o); } else return i(); }, [e] ) ); } function C1( e, t, { currentRoutePath: n, currentPathVariables: r, hash: i, pathVariables: o, localeId: s, preserveQueryParams: a, } ) { let { path: l } = t; if (l) try { let c = Gp(t, { currentRoutePath: n, currentPathVariables: r, hash: i, pathVariables: o, preserveQueryParams: a, }); KS({ routeId: e, hash: i, pathVariables: o, localeId: s }, c); } catch {} } function TF(e, t) { window.history.replaceState(e, "", t); } function KS(e, t) { window.history.pushState(e, "", t); } function EF({ disabled: e, routeId: t, initialPathVariables: n, initialLocaleId: r, }) { b.useLayoutEffect(() => { e || TF({ routeId: t, pathVariables: n, localeId: r }); }, []); } function RF(e, t) { let n = GS(), r = b.useRef(void 0), i = b.useCallback( ({ state: s }) => { var a, l, c; if (!Jc(s)) return; let { routeId: u, hash: f, pathVariables: d, localeId: m } = s; if (!oa(u)) return; let y = () => { t( u, oa(m) ? m : void 0, oa(f) ? f : void 0, Jc(d) ? d : void 0, !1, !0 ); }, v = n(e.current, u, y); v ? v.updateCallbackDone .then( (a = r.current) === null || a === void 0 ? void 0 : a.resolve ) .catch( (l = r.current) === null || l === void 0 ? void 0 : l.reject ) : (c = r.current) === null || c === void 0 || c.resolve(); }, [e, t, n] ), o = me((s) => { s.navigationType === "traverse" && s.intercept({ async handler() { await new Promise((a, l) => { r.current = { resolve: a, reject: l }; }); }, scroll: "after-transition", }); }, []); b.useEffect(() => { var s; return ( window.addEventListener("popstate", i), (s = window.navigation) === null || s === void 0 || s.addEventListener("navigate", o), () => { var a; window.removeEventListener("popstate", i), (a = window.navigation) === null || a === void 0 || a.removeEventListener("navigate", o); } ); }, [i, o]); } function PF(e, t, n) { let r = cu(t, e); if (!r) return; let i = Object.assign({}, t?.elements, n); return r.replace(_i, (o, s) => { var a; return String((a = i[s]) !== null && a !== void 0 ? a : o); }); } function Gp( e, { currentRoutePath: t, currentPathVariables: n, hash: r, pathVariables: i, hashVariables: o, relative: s = !0, preserveQueryParams: a, } ) { var l; let c = t ?? "/"; n && (c = c.replace(_i, (y, v) => String(n[v] || y))); let f = (l = e?.path) !== null && l !== void 0 ? l : "/"; i && (f = f.replace(_i, (y, v) => String(i[v] || y))); let d = PF(r, e, o), m = c === f && d; return ( s && (f = HS(c, f)), (a || m) && (f = jS(f)), d && (f = `${f}#${d}`), f ); } async function _F(e, t, n) { if (!e.path || !t) return !1; let i = `${n.slug ? `/${n.slug}` : ""}${NS(e.path, t)}`; return (await fetch(i, { method: "HEAD", redirect: "manual" })).type === "opaqueredirect" ? ((window.location.href = window.location.origin + i), !0) : !1; } async function IF(e) { let t = await sF(e); if (t) { try { localStorage.setItem("preferredLocale", e.nextLocale.code); } catch {} try { if (typeof t.path != "string") throw new Error("Expected result.path to be a string"); if ( t.isMissingInLocale && (await _F(e.route, t.pathVariables, e.nextLocale)) ) return; KS( { routeId: e.routeId, pathVariables: t.pathVariables, localeId: e.nextLocale.id, paginationInfo: window.history.state.paginationInfo, }, t.path ); } catch {} return t; } } function FF(e, t) { if (e.routeId !== t.routeId) return !1; if (e.pathVariables === t.pathVariables) return !0; let n = e.pathVariables || {}, r = t.pathVariables || {}; return n.length === r.length && Object.keys(n).every((i) => n[i] === r[i]); } var sa = [ "mousedown", "mouseup", "touchcancel", "touchend", "touchstart", "auxclick", "dblclick", "pointercancel", "pointerdown", "pointerup", "dragend", "dragstart", "drop", "compositionend", "compositionstart", "keydown", "keypress", "keyup", "input", "textInput", "copy", "cut", "paste", "click", "change", "contextmenu", "reset", ], qS = (e) => { var t, n; !( (n = (t = e.target) === null || t === void 0 ? void 0 : t.closest) === null || n === void 0 ) && n.call(t, "#main") && (e.stopPropagation(), performance.mark("framer-react-event-handling-prevented")); }; typeof window < "u" && (window.__FRAMER_TURN_OFF_REACT_EVENT_HANDLING__ = function () { if (!sa) return; let e = { capture: !0 }; sa.forEach((t) => document.body.addEventListener(t, qS, e)), (window.__FRAMER_TURN_OFF_REACT_EVENT_HANDLING__ = void 0); }); function T1() { if (!sa) return; let e = { capture: !0 }; sa.forEach((t) => document.body.removeEventListener(t, qS, e)), (sa = void 0); } function Po(e, t, n) { try { performance.measure(e, t, n); } catch (r) { console.warn(`Could not measure ${e}`, r); } } var E1 = !1, R1 = !1, P1 = !1; function LF({ addHydrationMarkers: e, turnOffEventHandlerHack: t }) { let n = "framer-hydration-", r = `${n}start`, i = `${n}render-end`, o = `${n}layout-effects-end`, s = `${n}effects-end`, a = `${n}first-paint`; return ( at(() => { R1 || ((R1 = !0), e && (performance.mark(i), Po(`${n}render`, r, i))); }, []), _n(() => { P1 || ((P1 = !0), e && (performance.mark(o), Po(`${n}layout-effects`, i, o)), requestAnimationFrame(() => { var l, c, u; let f = `${n}browser-render-start`; e && (performance.mark(f), Po( `${n}uho`, (c = (l = performance.getEntriesByName(s)[0]) === null || l === void 0 ? void 0 : l.name) !== null && c !== void 0 ? c : (u = performance.getEntriesByName(o)[0]) === null || u === void 0 ? void 0 : u.name, f )), setTimeout(() => { t && T1(), e && (performance.mark(a), Po(`${n}time-to-first-paint`, r, a), Po(`${n}browser-render`, f, a)); }, 0); })); }, []), N(() => { var l, c, u; E1 || ((E1 = !0), t && T1(), e && (performance.mark(s), Po( `${n}effects`, (c = (l = performance.getEntriesByName(a)[0]) === null || l === void 0 ? void 0 : l.name) !== null && c !== void 0 ? c : (u = performance.getEntriesByName(o)[0]) === null || u === void 0 ? void 0 : u.name, s ))); }, []), null ); } function QS(e) { return b.useCallback((t) => e[t], [e]); } var Kp = (() => b.createContext({}))(); function MF({ api: e, children: t }) { return C(Kp.Provider, { value: e, children: t }); } function wa() { return b.useContext(Kp); } function OF({ routes: e, children: t }) { let n = QS(e); return C(Kp.Provider, { value: { getRoute: n }, children: t }); } var DF = class extends ve { constructor() { super(...arguments), (this.state = { error: void 0 }); } static getDerivedStateFromError(e) { return ( console.error("Derived error in SuspenseErrorBoundary", e), { error: e } ); } componentDidCatch(e, t) { var n; console.error("Caught error in SuspenseErrorBoundary", e, t), (n = window.__framer_events) === null || n === void 0 || n.push([ "published_site_load_recoverable_error", { message: String(e), componentStack: t?.componentStack }, ]); } render() { if (this.state.error === void 0) return this.props.children; if (this.state.error instanceof zS) throw this.state.error.cause; return C(Wo, { children: this.props.fallbackChildren }); } }, AF = (() => (typeof window < "u" ? new Promise(() => {}) : null))(); function VF() { if (typeof window > "u") return null; throw AF; } function BF({ children: e }) { return C(DF, { fallbackChildren: e, children: C(Wo, { fallback: C(VF, {}), children: e }), }); } var _1 = "default"; function $F() { let [e, t] = b.useState(0); return [e, b.useCallback(() => t((n) => n + 1), [])]; } var zF = async () => {}, NF = { activeLocale: null, locales: [], setLocale: zF }, ZS = b.createContext(NF); function HF() { return b.useContext(ZS); } function jF(e) { let t = `start-${e}`, n = `end-${e}`, r = D(void 0); return ( N(() => { r.current && (r.current(), (r.current = void 0)); }), me(() => { let i = new Promise((o) => { r.current = o; }); performance.mark(t), i .then(() => { performance.mark(n), performance.measure(e, t, n); }) .catch(() => {}); }, [e, t, n]) ); } function I1(e, t, n) { let r = e && document.getElementById(e); if (r) { XF(r, t); return; } n || window.scrollTo(0, 0); } function WF(e) { let t = b.useRef([]); return ( b.useLayoutEffect(() => { var n; !((n = t.current) === null || n === void 0) && n.length && (t.current.forEach((r) => r()), (t.current = [])); }, [e]), b.useCallback((n) => { t.current.push(n); }, []) ); } function UF({ defaultPageStyle: e, disableHistory: t, initialPathVariables: n, initialRoute: r, notFoundPage: i, collectionUtils: o, routes: s, initialLocaleId: a, locales: l = [], preserveQueryParams: c = !1, enableImproveInpDuringHydration: u = !1, addHydrationMarkers: f = !1, }) { EF({ disabled: t, routeId: r, initialPathVariables: n, initialLocaleId: a }); let d = GS(), m = jF("route-change"), y = b.useRef(r), v = b.useRef(n), x = b.useRef(a), p = x.current, h = b.useMemo(() => { var U; return (U = l.find(({ id: q }) => (p ? q === p : q === _1))) !== null && U !== void 0 ? U : null; }, [p, l]), [g, S] = $F(), k = b.useMemo( () => ({ activeLocale: h, locales: l, setLocale: async (U) => { let q; oa(U) ? (q = U) : Jc(U) && (q = U.id); let H = l.find(({ id: Z }) => Z === _1), ee = l.find(({ id: Z }) => Z === q); if (!ee) return; let ie = y.current, ue = s[ie]; if (ue) try { let Z = await IF({ currentLocale: h, nextLocale: ee, route: ue, routeId: ie, defaultLocale: H, pathVariables: v.current, collectionUtils: o, preserveQueryParams: c, }); if (!Z) return; (v.current = Z.pathVariables), (x.current = ee.id), d(y.current, ie, () => Vi(S)), m(); } catch {} }, }), [h, o, S, l, m, c, s, d] ), w = WF(g), T = b.useCallback( (U, q, H, ee, ie = !1, ue = !1) => { (y.current = U), (v.current = ee), (x.current = q), w(() => { I1(H, ie, ue); }), Vi(S), m(); }, [S, m, w] ); RF(y, T); let R = b.useCallback( (U, q, H, ee) => { var ie, ue; let Z = s[U]; if (H) { let pe = new Set(), Ke = (ie = Z?.path) !== null && ie !== void 0 ? ie : "/"; for (let je of Ke.matchAll(_i)) { let vn = je[1]; if (vn === void 0) throw new Error( "A matching path variable should not be undefined" ); pe.add(vn); } H = Object.fromEntries( Object.entries(H).filter(([je]) => pe.has(je)) ); } let re = cu(Z, q); if ( FF( { routeId: y.current, pathVariables: v.current }, { routeId: U, pathVariables: H } ) ) { if ( ((ue = window.history.state) === null || ue === void 0 ? void 0 : ue.hash) !== q && !t ) { let pe = s[U]; pe && C1(U, pe, { currentRoutePath: pe.path, currentPathVariables: v.current, pathVariables: H, hash: q, localeId: x.current, preserveQueryParams: c, }); } I1(re, ee, !1); return; } if (!Z) return; if (!t) { let pe = s[y.current]; C1(U, Z, { currentRoutePath: pe?.path, currentPathVariables: v.current, hash: q, pathVariables: H, localeId: x.current, preserveQueryParams: c, }); } let mt = () => T(U, x.current, re, H, ee, !1); d(y.current, U, mt); }, [s, t, T, d, c] ), F = QS(s), I = y.current, $ = v.current, V = b.useMemo( () => ({ navigate: R, getRoute: F, currentRouteId: I, currentPathVariables: $, routes: s, collectionUtils: o, preserveQueryParams: c, }), [R, F, I, $, s, o, c] ), Q = s[y.current]; if (!Q) throw new Error(`Router cannot find route for ${y.current}`); let J = !h || !Q.includedLocales || Q.includedLocales.includes(h.id), j = Q.path && $ ? NS(Q.path, $) : Q.path, te = String(p) + j; return C(MF, { api: V, children: C(ZS.Provider, { value: k, children: se(BF, { children: [ C(QI, { notFoundPage: i, defaultPageStyle: e, forceUpdateKey: g, children: C( b.Fragment, { children: J ? Op(Q.page, e) : i && Op(i, e) }, te ), }), C(LF, { addHydrationMarkers: f, turnOffEventHandlerHack: u }), ], }), }), }); } function XF(e, t) { let n = t ? { behavior: "smooth", block: "start", inline: "nearest" } : void 0; e.scrollIntoView(n); } var Ac, mp, F1; function YF(e) { if (F1 !== e) { Ac = {}; for (let [t, { path: n }] of Object.entries(e)) n && (Ac[n] = { path: n, depth: GF(n), routeId: t }); (mp = Object.values(Ac)), mp.sort(({ depth: t }, { depth: n }) => n - t), (F1 = e); } return [Ac, mp]; } function JS(e, t, n = !0, r = []) { let [i, o] = YF(e), s, a, l = t; if (r.length > 0) { let d = l.split("/").find(Boolean); if ( (d && ((s = r.find(({ slug: m }) => m === d)), s && ((a = s.id), (l = l.substring(s.slug.length + 1)))), !a) ) { let m = r.find(({ slug: y }) => y === ""); m && (a = m.id); } } let c = i[l]; if (c) { let d = L1(l, c.path); if (d.isMatch) return { routeId: c.routeId, localeId: a, pathVariables: d.pathVariables, }; } for (let { path: d, routeId: m } of o) { let y = L1(l, d); if (y.isMatch) return { routeId: m, localeId: a, pathVariables: y.pathVariables }; } if (!n) throw new Error("No exact match found for path"); let u = i["/"]; if (u) return { routeId: u.routeId, localeId: a }; let f = Object.keys(e)[0]; if (!f) throw new Error("Router should not have undefined routes"); return { routeId: f, localeId: a }; } function GF(e) { let t = e.replace(/^\/|\/$/gu, ""); return t === "" ? 0 : t.split("/").length; } function L1(e, t) { let n = [], i = KF(t).replace(_i, (c, u) => (n.push(u), "([^/]+)")), o = new RegExp(i + "$"), s = e.match(o); if (!s) return { isMatch: !1 }; if (s.length === 1) return { isMatch: !0 }; let a = {}, l = s.slice(1); for (let c = 0; c < n.length; ++c) { let u = n[c]; if (u === void 0) continue; let f = l[c], d = a[u]; if (d) { if (d !== f) return { isMatch: !1 }; continue; } if (f === void 0) throw new Error("Path variable values cannot be undefined"); a[u] = f; } return { isMatch: !0, pathVariables: a }; } function KF(e) { return e.replace(/[|\\{}()[\]^$+*?.]/gu, "\\$&").replace(/-/gu, "\\x2d"); } var qF = "page"; function M1(e) { return Jc(e) && qF in e && e.page !== void 0; } var QF = (() => b.createContext(void 0))(); function uu() { var e; let t = wa(), n = O(QF), r = n ?? t.currentRouteId; if (!r) return; let i = (e = t.getRoute) === null || e === void 0 ? void 0 : e.call(t, r); if (i) return { ...i, id: r, pathVariables: n ? void 0 : t.currentPathVariables }; } function ZF(e) { var t; let n = wa(); if (e) return (t = n.getRoute) === null || t === void 0 ? void 0 : t.call(n, e); } var qp = (() => typeof window < "u" && !rF(navigator.userAgent))(); function JF(e, t = !0) { let { getRoute: n } = wa(); N(() => { if (!(!n || !t || !qp)) for (let r of e) ew(n(r)); }, [e, n, t]); } async function ew(e) { if (!qp || !e) return; let t = e.page; if (!(!t || !WS(t))) { await iF(); try { await t.preload(); } catch {} } } function pz(e, t) { var n; let r = uu(), i = (n = ZF(t)) !== null && n !== void 0 ? n : r; return b.useMemo(() => (i ? cu(i, e) : e), [e, i]); } var O1 = new Set(); function ca(e, ...t) { O1.has(e) || (O1.add(e), console.warn(e, ...t)); } function tw(e, t, n) { let r = n ? `, use ${n} instead` : "", i = `Deprecation warning: ${e} will be removed in version ${t}${r}.`; ca(i); } var nw = class { constructor() { E(this, "observers", new Set()), E(this, "transactions", {}); } add(e) { this.observers.add(e); let t = !1; return () => { t || ((t = !0), this.remove(e)); }; } remove(e) { this.observers.delete(e); } notify(e, t) { if (t) { let n = this.transactions[t] || e; (n.value = e.value), (this.transactions[t] = n); } else this.callObservers(e); } finishTransaction(e) { let t = this.transactions[e]; return delete this.transactions[e], this.callObservers(t, e); } callObservers(e, t) { let n = []; return ( new Set(this.observers).forEach((r) => { typeof r == "function" ? r(e, t) : (r.update(e, t), n.push(r.finish)); }), n ); } }, ze = (() => { function e(t) { return ( tw( "Animatable()", "2.0.0", "the new animation API (https://www.framer.com/api/animation/)" ), Tt(t) ? t : new tL(t) ); } return ( (e.transaction = (t) => { let n = Math.random(), r = new Set(); t((s, a) => { s.set(a, n), r.add(s); }, n); let o = []; r.forEach((s) => { o.push(...s.finishTransaction(n)); }), o.forEach((s) => { s(n); }); }), (e.getNumber = (t, n = 0) => e.get(t, n)), (e.get = (t, n) => (t == null ? n : Tt(t) ? t.get() : t)), (e.objectToValues = (t) => { if (!t) return t; let n = {}; for (let r in t) { let i = t[r]; Tt(i) ? (n[r] = i.get()) : (n[r] = i); } return n; }), e ); })(), D1 = "onUpdate", A1 = "finishTransaction"; function Tt(e) { return ( e !== null && typeof e == "object" && D1 in e && e[D1] instanceof Function && A1 in e && e[A1] instanceof Function ); } function eL(e, t) { return { interpolate(n, r) { let i = n.get(), o = r.get(), s = ze(i); return (a) => { let l = t.interpolate(i, o)(a); return s.set(l), s; }; }, difference(n, r) { let i = n.get(); return t.difference(i, r.get()); }, }; } var tL = class { constructor(e) { (this.value = e), E(this, "observers", new nw()); } static interpolationFor(e, t) { if (Tt(e)) return eL(e, t); } get() { return this.value; } set(e, t) { let n = this.value; Tt(e) && (e = e.get()), (this.value = e); let r = { value: e, oldValue: n }; this.observers.notify(r, t); } finishTransaction(e) { return this.observers.finishTransaction(e); } onUpdate(e) { return this.observers.add(e); } }; function Vc(e, t) { let r = 10 ** Math.round(Math.abs(t)); return Math.round(e * r) / r; } function V1(e, t) { return t === 0 ? Math.round(e) : ((t -= t | 0), t < 0 && (t = 1 - t), Math.round(e - t) + t); } function Ae(e, t) { return { x: e, y: t }; } ((e) => { (e.add = (...i) => i.reduce((o, s) => ({ x: o.x + s.x, y: o.y + s.y }), { x: 0, y: 0 })), (e.subtract = (i, o) => ({ x: i.x - o.x, y: i.y - o.y })), (e.multiply = (i, o) => ({ x: i.x * o, y: i.y * o })), (e.divide = (i, o) => ({ x: i.x / o, y: i.y / o })), (e.absolute = (i) => ({ x: Math.abs(i.x), y: Math.abs(i.y) })), (e.reverse = (i) => ({ x: i.x * -1, y: i.y * -1 })), (e.pixelAligned = (i, o = { x: 0, y: 0 }) => ({ x: V1(i.x, o.x), y: V1(i.y, o.y), })), (e.distance = (i, o) => { let s = Math.abs(i.x - o.x), a = Math.abs(i.y - o.y); return Math.sqrt(s * s + a * a); }), (e.angle = (i, o) => (Math.atan2(o.y - i.y, o.x - i.x) * 180) / Math.PI - 90), (e.angleFromX = (i, o) => (Math.atan2(o.y - i.y, o.x - i.x) * 180) / Math.PI), (e.isEqual = (i, o) => i.x === o.x && i.y === o.y), (e.rotationNormalizer = () => { let i; return (o) => { typeof i != "number" && (i = o); let s = i - o, a = Math.abs(s) + 180, l = Math.floor(a / 360); return s < 180 && (o -= l * 360), s > 180 && (o += l * 360), (i = o), o; }; }); function t(i, o) { return { x: (i.x + o.x) / 2, y: (i.y + o.y) / 2 }; } e.center = t; function n(i) { let o = 0, s = 0; i.forEach((c) => { (o += c.x), (s += c.y); }); let a = o / i.length, l = s / i.length; return { x: a, y: l }; } e.centroid = n; function r(i) { let o = e.centroid(i), s = new Map(); for (let a = 0; a < i.length; a++) { let l = i[a]; s.set(l, Math.atan2(l.x - o.x, l.y - o.y)); } return i.sort((a, l) => s.get(a) - s.get(l)); } e.sortClockwise = r; })(Ae || (Ae = {})); var nL = { curve: "ease", duration: 1 }; function rL(e) { switch (e) { case "linear": return [0, 0, 1, 1]; case "ease": return [0.25, 0.1, 0.25, 1]; case "ease-in": return [0.42, 0, 1, 1]; case "ease-out": return [0, 0, 0.58, 1]; case "ease-in-out": return [0.42, 0, 0.58, 1]; } } var rw = class { constructor(e, t) { (this.interpolation = t), E(this, "unitBezier"), E(this, "options"), E(this, "current"), E(this, "destination"), E(this, "interpolator"), E(this, "progress", 0), E(this, "next", (a) => { let { duration: l } = this.options; this.progress += a / l; let c = this.unitBezier.solve(this.progress, this.solveEpsilon(l)); return (this.current = this.interpolator(c)), this.current; }), (this.options = { ...nL, ...e }); let n; typeof this.options.curve == "string" ? (n = rL(this.options.curve)) : (n = this.options.curve); let [r, i, o, s] = n; this.unitBezier = new iL(Ae(r, i), Ae(o, s)); } setFrom(e) { (this.current = e), this.updateInterpolator(); } setTo(e) { (this.destination = e), this.updateInterpolator(); } isReady() { return this.interpolator !== void 0; } updateInterpolator() { this.current === void 0 || this.destination === void 0 || (this.interpolator = this.interpolation.interpolate( this.current, this.destination )); } isFinished() { return this.progress >= 1; } solveEpsilon(e) { return 1 / (200 * e); } }, iL = class { constructor(e, t) { E(this, "a"), E(this, "b"), E(this, "c"), (this.c = Ae.multiply(e, 3)), (this.b = Ae.subtract(Ae.multiply(Ae.subtract(t, e), 3), this.c)), (this.a = Ae.subtract(Ae.subtract(Ae(1, 1), this.c), this.b)); } solve(e, t) { return this.sampleY(this.solveForT(e, t)); } sampleX(e) { return ((this.a.x * e + this.b.x) * e + this.c.x) * e; } sampleY(e) { return ((this.a.y * e + this.b.y) * e + this.c.y) * e; } sampleDerivativeX(e) { return (3 * this.a.x * e + 2 * this.b.x) * e + this.c.x; } solveForT(e, t) { let n, r, i, o, s, a; for (i = e, a = 0; a < 8; ++a) { if (((o = this.sampleX(i) - e), Math.abs(o) < t)) return i; if (((s = this.sampleDerivativeX(i)), Math.abs(s) < t)) break; i = i - o / s; } if (((n = 0), (r = 1), (i = e), i < n)) return n; if (i > r) return r; for (; n < r; ) { if (((o = this.sampleX(i)), Math.abs(o - e) < t)) return i; e > o ? (n = i) : (r = i), (i = (r - n) * 0.5 + n); } return i; } }, oL = class { constructor(e) { E(this, "accelerationForState"), (this.accelerationForState = e); } integrateState(e, t) { let n = this.evaluateState(e), r = this.evaluateStateWithDerivative(e, t * 0.5, n), i = this.evaluateStateWithDerivative(e, t * 0.5, r), o = this.evaluateStateWithDerivative(e, t, i), s = (1 / 6) * (n.dx + 2 * (r.dx + i.dx) + o.dx), a = (1 / 6) * (n.dv + 2 * (r.dv + i.dv) + o.dv); return (e.x = e.x + s * t), (e.v = e.v + a * t), e; } evaluateState(e) { let t = this.accelerationForState(e); return { dx: e.v, dv: t }; } evaluateStateWithDerivative(e, t, n) { let r = { x: e.x + n.dx * t, v: e.v + n.dv * t }; return { dx: r.v, dv: this.accelerationForState(r) }; } }; function sL(e) { return ( typeof e == "function" && e.interpolationFor && typeof e.interpolationFor == "function" ); } var ka = { handleUndefined: (e, t) => ( e === void 0 && (e = t), t === void 0 && (t = e), [e, t] ), }, aL = { interpolate(e, t) { [e, t] = ka.handleUndefined(e, t); let n = +e, r = t - n; return (i) => n + r * i; }, difference(e, t) { return t - e; }, }, Bc = 0.001, lL = 0.01, cL = 10, uL = (() => Number.MIN_VALUE)(), fL = 1; function dL(e, t, n, r = 12) { let i = n; for (let o = 1, s = r, a = 1 <= s; a ? o < s : o > s; a ? o++ : o--) i = i - e(i) / t(i); return i; } function B1(e, t) { return e * Math.sqrt(1 - Math.pow(t, 2)); } var iw = { computeDampingRatio: (e, t, n = 1) => t / (2 * Math.sqrt(n * e)), computeDuration: (e, t, n = 0, r = 1) => { let i, o = iw.computeDampingRatio(e, t), s = Math.sqrt(e / r); if (o < 1) { let a = Math.sqrt(1 - Math.pow(o, 2)), l = n / (a * s), c = o / a, u = -((l - c) / Bc); if (u <= 0) return null; i = Math.log(u) / (o * s); } else return null; return i; }, computeDerivedCurveOptions: (e, t, n = 0, r = 1) => { let i, o; (e = Math.max(Math.min(e, fL), uL)), (t = Math.max(Math.min(t, cL), lL)), e < 1 ? ((o = function (c) { let u = c * e, f = u * t, d = u - n, m = B1(c, e), y = Math.exp(-f); return Bc - (d / m) * y; }), (i = function (c) { let f = c * e * t, d = f * n + n, m = Math.pow(e, 2) * Math.pow(c, 2) * t, y = Math.exp(-f), v = B1(Math.pow(c, 2), e); return ((-o(c) + Bc > 0 ? -1 : 1) * ((d - m) * y)) / v; })) : ((o = function (c) { let u = Math.exp(-c * t), f = (c - n) * t + 1; return -Bc + u * f; }), (i = function (c) { let u = Math.exp(-c * t), f = (n - c) * Math.pow(t, 2); return u * f; })); let s = { tension: 100, friction: 10, velocity: n }, a = 5 / t, l = dL(o, i, a); return ( isNaN(l) || ((s.tension = Math.pow(l, 2) * r), (s.friction = e * 2 * Math.sqrt(r * s.tension))), s ); }, }, hL = (() => ({ tension: 500, friction: 10, tolerance: 1 / 1e4, velocity: 0, }))(), pL = { dampingRatio: 1, duration: 1, velocity: 0, mass: 1 }; function mL(e) { return e ? typeof e.dampingRatio == "number" || typeof e.duration == "number" || typeof e.mass == "number" : !1; } var vL = class { constructor(e, t) { (this.interpolation = t), E(this, "options"), E(this, "current"), E(this, "destination"), E(this, "difference"), E(this, "state"), E(this, "integrator"), E(this, "interpolator"); let n; if (mL(e)) { let r = { ...pL, ...e }; n = iw.computeDerivedCurveOptions( r.dampingRatio, r.duration, r.velocity, r.mass ); } else n = e; (this.options = { ...hL, ...n }), (this.state = { x: 0, v: this.options.velocity }), (this.integrator = new oL( (r) => -this.options.tension * r.x - this.options.friction * r.v )); } isReady() { return this.interpolator !== void 0 && this.difference !== void 0; } next(e) { return ( (this.state = this.integrator.integrateState(this.state, e)), this.interpolator(this.progress()) ); } isFinished() { let e = Math.abs(this.state.x) < this.options.tolerance, t = Math.abs(this.state.v) < this.options.tolerance; return e && t; } setFrom(e) { (this.current = e), this.updateInterpolator(); } setVelocity(e) { this.state.v = e; } progress() { return 1 - this.state.x / this.difference; } setTo(e) { (this.destination = e), (this.difference = this.interpolation.difference( this.destination, this.current )), (this.state.x = this.difference), this.updateInterpolator(); } getState() { return this.state; } updateInterpolator() { this.current === void 0 || this.destination === void 0 || (this.interpolator = this.interpolation.interpolate( this.current, this.destination )); } }; var Ap = { aliceblue: "f0f8ff", antiquewhite: "faebd7", aqua: "0ff", aquamarine: "7fffd4", azure: "f0ffff", beige: "f5f5dc", bisque: "ffe4c4", black: "000", blanchedalmond: "ffebcd", blue: "00f", blueviolet: "8a2be2", brown: "a52a2a", burlywood: "deb887", burntsienna: "ea7e5d", cadetblue: "5f9ea0", chartreuse: "7fff00", chocolate: "d2691e", coral: "ff7f50", cornflowerblue: "6495ed", cornsilk: "fff8dc", crimson: "dc143c", cyan: "0ff", darkblue: "00008b", darkcyan: "008b8b", darkgoldenrod: "b8860b", darkgray: "a9a9a9", darkgreen: "006400", darkgrey: "a9a9a9", darkkhaki: "bdb76b", darkmagenta: "8b008b", darkolivegreen: "556b2f", darkorange: "ff8c00", darkorchid: "9932cc", darkred: "8b0000", darksalmon: "e9967a", darkseagreen: "8fbc8f", darkslateblue: "483d8b", darkslategray: "2f4f4f", darkslategrey: "2f4f4f", darkturquoise: "00ced1", darkviolet: "9400d3", deeppink: "ff1493", deepskyblue: "00bfff", dimgray: "696969", dimgrey: "696969", dodgerblue: "1e90ff", firebrick: "b22222", floralwhite: "fffaf0", forestgreen: "228b22", fuchsia: "f0f", gainsboro: "dcdcdc", ghostwhite: "f8f8ff", gold: "ffd700", goldenrod: "daa520", gray: "808080", green: "008000", greenyellow: "adff2f", grey: "808080", honeydew: "f0fff0", hotpink: "ff69b4", indianred: "cd5c5c", indigo: "4b0082", ivory: "fffff0", khaki: "f0e68c", lavender: "e6e6fa", lavenderblush: "fff0f5", lawngreen: "7cfc00", lemonchiffon: "fffacd", lightblue: "add8e6", lightcoral: "f08080", lightcyan: "e0ffff", lightgoldenrodyellow: "fafad2", lightgray: "d3d3d3", lightgreen: "90ee90", lightgrey: "d3d3d3", lightpink: "ffb6c1", lightsalmon: "ffa07a", lightseagreen: "20b2aa", lightskyblue: "87cefa", lightslategray: "789", lightslategrey: "789", lightsteelblue: "b0c4de", lightyellow: "ffffe0", lime: "0f0", limegreen: "32cd32", linen: "faf0e6", magenta: "f0f", maroon: "800000", mediumaquamarine: "66cdaa", mediumblue: "0000cd", mediumorchid: "ba55d3", mediumpurple: "9370db", mediumseagreen: "3cb371", mediumslateblue: "7b68ee", mediumspringgreen: "00fa9a", mediumturquoise: "48d1cc", mediumvioletred: "c71585", midnightblue: "191970", mintcream: "f5fffa", mistyrose: "ffe4e1", moccasin: "ffe4b5", navajowhite: "ffdead", navy: "000080", oldlace: "fdf5e6", olive: "808000", olivedrab: "6b8e23", orange: "ffa500", orangered: "ff4500", orchid: "da70d6", palegoldenrod: "eee8aa", palegreen: "98fb98", paleturquoise: "afeeee", palevioletred: "db7093", papayawhip: "ffefd5", peachpuff: "ffdab9", peru: "cd853f", pink: "ffc0cb", plum: "dda0dd", powderblue: "b0e0e6", purple: "800080", rebeccapurple: "663399", red: "f00", rosybrown: "bc8f8f", royalblue: "4169e1", saddlebrown: "8b4513", salmon: "fa8072", sandybrown: "f4a460", seagreen: "2e8b57", seashell: "fff5ee", sienna: "a0522d", silver: "c0c0c0", skyblue: "87ceeb", slateblue: "6a5acd", slategray: "708090", slategrey: "708090", snow: "fffafa", springgreen: "00ff7f", steelblue: "4682b4", tan: "d2b48c", teal: "008080", thistle: "d8bfd8", tomato: "ff6347", turquoise: "40e0d0", violet: "ee82ee", wheat: "f5deb3", white: "fff", whitesmoke: "f5f5f5", yellow: "ff0", yellowgreen: "9acd32", }; function Wr(e, t, n, r = !1) { let [i, o] = t, [s, a] = n, l = o - i; if (l === 0) return (a + s) / 2; let c = a - s; if (c === 0) return s; let u = s + ((e - i) / l) * c; if (r === !0) if (s < a) { if (u < s) return s; if (u > a) return a; } else { if (u > s) return s; if (u < a) return a; } return u; } function Do(e) { return !isNaN(e) && isFinite(e); } function Ur(e) { let t = Vp(e); return t !== void 0 ? (e.includes("%") ? t / 100 : t) : 0; } function Vp(e) { let t = /\d?\.?\d+/u.exec(e); return t ? Number(t[0]) : void 0; } var gL = (() => jI().Hsluv)(), Vt = new gL(); function yL(e, t, n) { return ( (Vt.rgb_r = e / 255), (Vt.rgb_g = t / 255), (Vt.rgb_b = n / 255), Vt.rgbToHsluv(), { h: Vt.hsluv_h, s: Vt.hsluv_s, l: Vt.hsluv_l } ); } function bL(e, t, n, r = 1) { return ( (Vt.hsluv_h = e), (Vt.hsluv_s = t), (Vt.hsluv_l = n), Vt.hsluvToRgb(), { r: Vt.rgb_r * 255, g: Vt.rgb_g * 255, b: Vt.rgb_b * 255, a: r } ); } function $c(e, t, n, r) { let i = Math.round(e), o = Math.round(t * 100), s = Math.round(n * 100); return r === void 0 || r === 1 ? "hsv(" + i + ", " + o + "%, " + s + "%)" : "hsva(" + i + ", " + o + "%, " + s + "%, " + r + ")"; } function xL(e, t, n) { return { r: Do(e) ? Rt(e, 255) * 255 : 0, g: Do(t) ? Rt(t, 255) * 255 : 0, b: Do(n) ? Rt(n, 255) * 255 : 0, }; } function $1(e, t, n, r) { let i = [ gp(Math.round(e).toString(16)), gp(Math.round(t).toString(16)), gp(Math.round(n).toString(16)), ]; return r && i[0].charAt(0) === i[0].charAt(1) && i[1].charAt(0) === i[1].charAt(1) && i[2].charAt(0) === i[2].charAt(1) ? i[0].charAt(0) + i[1].charAt(0) + i[2].charAt(0) : i.join(""); } function Qp(e, t, n) { let r, i, o = Rt(e, 255), s = Rt(t, 255), a = Rt(n, 255), l = Math.max(o, s, a), c = Math.min(o, s, a), u = (i = r = (l + c) / 2); if (l === c) u = i = 0; else { let f = l - c; switch (((i = r > 0.5 ? f / (2 - l - c) : f / (l + c)), l)) { case o: u = (s - a) / f + (s < a ? 6 : 0); break; case s: u = (a - o) / f + 2; break; case a: u = (o - s) / f + 4; break; } u /= 6; } return { h: u * 360, s: i, l: r }; } function vp(e, t, n) { return ( n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6 ? e + (t - e) * 6 * n : n < 1 / 2 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e ); } function SL(e, t, n) { let r, i, o; if ( ((e = Rt(e, 360)), (t = Rt(t * 100, 100)), (n = Rt(n * 100, 100)), t === 0) ) r = i = o = n; else { let s = n < 0.5 ? n * (1 + t) : n + t - n * t, a = 2 * n - s; (r = vp(a, s, e + 1 / 3)), (i = vp(a, s, e)), (o = vp(a, s, e - 1 / 3)); } return { r: r * 255, g: i * 255, b: o * 255 }; } function z1(e, t, n) { (e = Rt(e, 255)), (t = Rt(t, 255)), (n = Rt(n, 255)); let r = Math.max(e, t, n), i = Math.min(e, t, n), o = r - i, s, a = r === 0 ? 0 : o / r, l = r; if (r === i) s = 0; else { switch (r) { case e: s = (t - n) / o + (t < n ? 6 : 0); break; case t: s = (n - e) / o + 2; break; case n: s = (e - t) / o + 4; break; } s /= 6; } return { h: s, s: a, v: l }; } function wL(e, t, n) { (e = Rt(e, 360) * 6), (t = Rt(t * 100, 100)), (n = Rt(n * 100, 100)); let r = Math.floor(e), i = e - r, o = n * (1 - t), s = n * (1 - i * t), a = n * (1 - (1 - i) * t), l = r % 6, c = [n, s, o, o, a, n][l], u = [a, n, n, s, o, o][l], f = [o, o, a, n, n, s][l]; return { r: c * 255, g: u * 255, b: f * 255 }; } function Rt(e, t) { let n, r; if ( (typeof t == "string" ? (n = parseFloat(t)) : (n = t), typeof e == "string") ) { kL(e) && (e = "100%"); let i = CL(e); (r = Math.min(n, Math.max(0, parseFloat(e)))), i && (r = Math.floor(r * n) / 100); } else r = e; return Math.abs(r - n) < 1e-6 ? 1 : (r % n) / n; } function kL(e) { return typeof e == "string" && e.includes(".") && parseFloat(e) === 1; } function CL(e) { return typeof e == "string" && e.includes("%"); } function gp(e) { return e.length === 1 ? "0" + e : "" + e; } var Wn = (() => { let e = "[-\\+]?\\d+%?", n = "(?:" + "[-\\+]?\\d*\\.\\d+%?" + ")|(?:" + e + ")", r = "[\\s|\\(]+(" + n + ")[,|\\s]+(" + n + ")[,|\\s]+(" + n + ")\\s*\\)?", i = "[\\s|\\(]+(" + n + ")[,|\\s]+(" + n + ")[,|\\s]+(" + n + ")[,|\\s]+(" + n + ")\\s*\\)?"; return { rgb: new RegExp("rgb" + r), rgba: new RegExp("rgba" + i), hsl: new RegExp("hsl" + r), hsla: new RegExp("hsla" + i), hsv: new RegExp("hsv" + r), hsva: new RegExp("hsva" + i), hex3: /^([\da-f])([\da-f])([\da-f])$/iu, hex6: /^([\da-f]{2})([\da-f]{2})([\da-f]{2})$/iu, hex4: /^#?([\da-f])([\da-f])([\da-f])([\da-f])$/iu, hex8: /^#?([\da-f]{2})([\da-f]{2})([\da-f]{2})([\da-f]{2})$/iu, }; })(); function Zp(e) { if (e.includes("gradient(") || e.includes("var(")) return !1; let t = /^[\s,#]+/u, n = e.replace(t, "").trimEnd().toLowerCase(), r = Ap[n]; if ((r && (n = r), n === "transparent")) return { r: 0, g: 0, b: 0, a: 0, format: "name" }; let i; return (i = Wn.rgb.exec(n)) ? { r: parseInt(i[1] ?? ""), g: parseInt(i[2] ?? ""), b: parseInt(i[3] ?? ""), a: 1, format: "rgb", } : (i = Wn.rgba.exec(n)) ? { r: parseInt(i[1] ?? ""), g: parseInt(i[2] ?? ""), b: parseInt(i[3] ?? ""), a: parseFloat(i[4] ?? ""), format: "rgb", } : (i = Wn.hsl.exec(n)) ? { h: parseInt(i[1] ?? ""), s: Ur(i[2] ?? ""), l: Ur(i[3] ?? ""), a: 1, format: "hsl", } : (i = Wn.hsla.exec(n)) ? { h: parseInt(i[1] ?? ""), s: Ur(i[2] ?? ""), l: Ur(i[3] ?? ""), a: parseFloat(i[4] ?? ""), format: "hsl", } : (i = Wn.hsv.exec(n)) ? { h: parseInt(i[1] ?? ""), s: Ur(i[2] ?? ""), v: Ur(i[3] ?? ""), a: 1, format: "hsv", } : (i = Wn.hsva.exec(n)) ? { h: parseInt(i[1] ?? ""), s: Ur(i[2] ?? ""), v: Ur(i[3] ?? ""), a: parseFloat(i[4] ?? ""), format: "hsv", } : (i = Wn.hex8.exec(n)) ? { r: Zt(i[1] ?? ""), g: Zt(i[2] ?? ""), b: Zt(i[3] ?? ""), a: N1(i[4] ?? ""), format: r ? "name" : "hex", } : (i = Wn.hex6.exec(n)) ? { r: Zt(i[1] ?? ""), g: Zt(i[2] ?? ""), b: Zt(i[3] ?? ""), a: 1, format: r ? "name" : "hex", } : (i = Wn.hex4.exec(n)) ? { r: Zt(`${i[1]}${i[1]}`), g: Zt(`${i[2]}${i[2]}`), b: Zt(`${i[3]}${i[3]}`), a: N1(i[4] + "" + i[4]), format: r ? "name" : "hex", } : (i = Wn.hex3.exec(n)) ? { r: Zt(`${i[1]}${i[1]}`), g: Zt(`${i[2]}${i[2]}`), b: Zt(`${i[3]}${i[3]}`), a: 1, format: r ? "name" : "hex", } : !1; } function Zt(e) { return parseInt(e, 16); } function N1(e) { return Zt(e) / 255; } var H1 = new Map(), B = (() => { function e(o, s, a, l) { if (typeof o == "string") { let u = H1.get(o); return ( u || ((u = t(o)), u === void 0 ? { ...e("black"), isValid: !1 } : (H1.set(o, u), u)) ); } let c = t(o, s, a, l); return c !== void 0 ? c : { ...e("black"), isValid: !1 }; } function t(o, s, a, l) { if (o === "") return; let c = TL(o, s, a, l); if (c) { let u = { r: c.r, g: c.g, b: c.b, a: c.a, h: c.h, s: c.s, l: c.l, initialValue: typeof o == "string" && c.format !== "hsv" ? o : void 0, roundA: Math.round(100 * c.a) / 100, format: c.format, mix: e.mix, toValue: () => e.toRgbString(u), }; return u; } else return; } let n = { isRGB(o) { return o === "rgb" || o === "rgba"; }, isHSL(o) { return o === "hsl" || o === "hsla"; }, }; (e.inspect = (o, s) => o.format === "hsl" ? `<${o.constructor.name} h:${o.h} s:${o.s} l:${o.l} a:${o.a}>` : o.format === "hex" || o.format === "name" ? `<${o.constructor.name} "${s}">` : `<${o.constructor.name} r:${o.r} g:${o.g} b:${o.b} a:${o.a}>`), (e.isColor = (o) => typeof o == "string" ? e.isColorString(o) : e.isColorObject(o)), (e.isColorString = (o) => (typeof o == "string" ? Zp(o) !== !1 : !1)), (e.isColorObject = (o) => o && typeof o != "string" && typeof o.r == "number" && typeof o.g == "number" && typeof o.b == "number" && typeof o.h == "number" && typeof o.s == "number" && typeof o.l == "number" && typeof o.a == "number" && typeof o.roundA == "number" && typeof o.format == "string"), (e.toString = (o) => e.toRgbString(o)), (e.toHex = (o, s = !1) => $1(o.r, o.g, o.b, s)), (e.toHexString = (o, s = !1) => `#${e.toHex(o, s)}`), (e.toRgbString = (o) => o.a === 1 ? "rgb(" + Math.round(o.r) + ", " + Math.round(o.g) + ", " + Math.round(o.b) + ")" : "rgba(" + Math.round(o.r) + ", " + Math.round(o.g) + ", " + Math.round(o.b) + ", " + o.roundA + ")"), (e.toHusl = (o) => ({ ...yL(o.r, o.g, o.b), a: o.roundA })), (e.toHslString = (o) => { let s = e.toHsl(o), a = Math.round(s.h), l = Math.round(s.s * 100), c = Math.round(s.l * 100); return o.a === 1 ? "hsl(" + a + ", " + l + "%, " + c + "%)" : "hsla(" + a + ", " + l + "%, " + c + "%, " + o.roundA + ")"; }), (e.toHsv = (o) => { let s = z1(o.r, o.g, o.b); return { h: s.h * 360, s: s.s, v: s.v, a: o.a }; }), (e.toHsvString = (o) => { let s = z1(o.r, o.g, o.b), a = Math.round(s.h * 360), l = Math.round(s.s * 100), c = Math.round(s.v * 100); return o.a === 1 ? "hsv(" + a + ", " + l + "%, " + c + "%)" : "hsva(" + a + ", " + l + "%, " + c + "%, " + o.roundA + ")"; }), (e.toName = (o) => { if (o.a === 0) return "transparent"; if (o.a < 1) return !1; let s = $1(o.r, o.g, o.b, !0); for (let a of Object.keys(Ap)) if (Ap[a] === s) return a; return !1; }), (e.toHsl = (o) => ({ h: Math.round(o.h), s: o.s, l: o.l, a: o.a })), (e.toRgb = (o) => ({ r: Math.round(o.r), g: Math.round(o.g), b: Math.round(o.b), a: o.a, })), (e.brighten = (o, s = 10) => { let a = e.toRgb(o); return ( (a.r = Math.max( 0, Math.min(255, a.r - Math.round(255 * -(s / 100))) )), (a.g = Math.max( 0, Math.min(255, a.g - Math.round(255 * -(s / 100))) )), (a.b = Math.max( 0, Math.min(255, a.b - Math.round(255 * -(s / 100))) )), e(a) ); }), (e.lighten = (o, s = 10) => { let a = e.toHsl(o); return (a.l += s / 100), (a.l = Math.min(1, Math.max(0, a.l))), e(a); }), (e.darken = (o, s = 10) => { let a = e.toHsl(o); return (a.l -= s / 100), (a.l = Math.min(1, Math.max(0, a.l))), e(a); }), (e.saturate = (o, s = 10) => { let a = e.toHsl(o); return (a.s += s / 100), (a.s = Math.min(1, Math.max(0, a.s))), e(a); }), (e.desaturate = (o, s = 10) => { let a = e.toHsl(o); return (a.s -= s / 100), (a.s = Math.min(1, Math.max(0, a.s))), e(a); }), (e.grayscale = (o) => e.desaturate(o, 100)), (e.hueRotate = (o, s) => { let a = e.toHsl(o); return (a.h += s), (a.h = a.h > 360 ? a.h - 360 : a.h), e(a); }), (e.alpha = (o, s = 1) => e({ r: o.r, g: o.g, b: o.b, a: s })), (e.transparent = (o) => e.alpha(o, 0)), (e.multiplyAlpha = (o, s = 1) => e({ r: o.r, g: o.g, b: o.b, a: o.a * s })), (e.interpolate = (o, s, a = "rgb") => { if (!e.isColorObject(o) || !e.isColorObject(s)) throw new TypeError( "Both arguments for Color.interpolate must be Color objects" ); return (l) => e.mixAsColor(o, s, l, !1, a); }), (e.mix = (o, s, { model: a = "rgb" } = {}) => { let l = typeof o == "string" ? e(o) : o, c = e.interpolate(l, s, a); return (u) => e.toRgbString(c(u)); }), (e.mixAsColor = (o, s, a = 0.5, l = !1, c = "rgb") => { let u = null; if (n.isRGB(c)) u = e({ r: Wr(a, [0, 1], [o.r, s.r], l), g: Wr(a, [0, 1], [o.g, s.g], l), b: Wr(a, [0, 1], [o.b, s.b], l), a: Wr(a, [0, 1], [o.a, s.a], l), }); else { let f, d; n.isHSL(c) ? ((f = e.toHsl(o)), (d = e.toHsl(s))) : ((f = e.toHusl(o)), (d = e.toHusl(s))), f.s === 0 ? (f.h = d.h) : d.s === 0 && (d.h = f.h); let m = f.h, y = d.h, v = y - m; v > 180 ? (v = y - 360 - m) : v < -180 && (v = y + 360 - m); let x = { h: Wr(a, [0, 1], [m, m + v], l), s: Wr(a, [0, 1], [f.s, d.s], l), l: Wr(a, [0, 1], [f.l, d.l], l), a: Wr(a, [0, 1], [o.a, s.a], l), }; n.isHSL(c) ? (u = e(x)) : (u = e(bL(x.h, x.s, x.l, x.a))); } return u; }), (e.random = (o = 1) => { function s() { return Math.floor(Math.random() * 255); } return e("rgba(" + s() + ", " + s() + ", " + s() + ", " + o + ")"); }), (e.grey = (o = 0.5, s = 1) => ( (o = Math.floor(o * 255)), e("rgba(" + o + ", " + o + ", " + o + ", " + s + ")") )), (e.gray = e.grey), (e.rgbToHsl = (o, s, a) => Qp(o, s, a)), (e.isValidColorProperty = (o, s) => !!( (o.toLowerCase().slice(-5) === "color" || o === "fill" || o === "stroke") && typeof s == "string" && e.isColorString(s) )), (e.difference = (o, s) => { let a = (o.r + s.r) / 2, l = o.r - s.r, c = o.g - s.g, u = o.b - s.b, f = Math.pow(l, 2), d = Math.pow(c, 2), m = Math.pow(u, 2); return Math.sqrt(2 * f + 4 * d + 3 * m + (a * (f - m)) / 256); }), (e.equal = (o, s, a = 0.1) => !( Math.abs(o.r - s.r) >= a || Math.abs(o.g - s.g) >= a || Math.abs(o.b - s.b) >= a || Math.abs(o.a - s.a) * 256 >= a )); let r = qi([0, 255], [0, 1]); function i(o) { o = r(o); let s = Math.abs(o); return s < 0.04045 ? o / 12.92 : (Math.sign(o) || 1) * Math.pow((s + 0.055) / 1.055, 2.4); } return ( (e.luminance = (o) => { let { r: s, g: a, b: l } = e.toRgb(o); return 0.2126 * i(s) + 0.7152 * i(a) + 0.0722 * i(l); }), (e.contrast = (o, s) => { let a = e.luminance(o), l = e.luminance(s); return (Math.max(a, l) + 0.05) / (Math.min(a, l) + 0.05); }), e ); })(); function TL(e, t, n, r = 1) { let i; return ( typeof e == "number" && !Number.isNaN(e) && typeof t == "number" && !Number.isNaN(t) && typeof n == "number" && !Number.isNaN(n) ? (i = Bp({ r: e, g: t, b: n, a: r })) : typeof e == "string" ? (i = EL(e)) : typeof e == "object" && (e.hasOwnProperty("r") && e.hasOwnProperty("g") && e.hasOwnProperty("b") ? (i = Bp(e)) : (i = ow(e))), i ); } function EL(e) { let t = Zp(e); if (t) return t.format === "hsl" ? ow(t) : t.format === "hsv" ? RL(t) : Bp(t); } function RL(e) { let t = wL(e.h, e.s, e.v); return { ...Qp(t.r, t.g, t.b), ...t, format: "rgb", a: e.a !== void 0 ? sw(e.a) : 1, }; } function Bp(e) { let t = xL(e.r, e.g, e.b); return { ...Qp(t.r, t.g, t.b), ...t, format: "rgb", a: e.a !== void 0 ? sw(e.a) : 1, }; } function ow(e) { let t, n, r, i = { r: 0, g: 0, b: 0 }, o = { h: 0, s: 0, l: 0 }; return ( (t = Do(e.h) ? e.h : 0), (t = (t + 360) % 360), (n = Do(e.s) ? e.s : 1), typeof e.s == "string" && (n = Vp(e.s)), (r = Do(e.l) ? e.l : 0.5), typeof e.l == "string" && (r = Vp(e.l)), (i = SL(t, n, r)), (o = { h: t, s: n, l: r }), { ...i, ...o, a: e.a === void 0 ? 1 : e.a, format: "hsl" } ); } function sw(e) { return ( (e = parseFloat(e)), e < 0 && (e = 0), (isNaN(e) || e > 1) && (e = 1), e ); } var PL = (e = "husl") => ({ interpolate(t, n) { return ([t, n] = ka.handleUndefined(t, n)), B.interpolate(B(t), B(n), e); }, difference(t, n) { return B.difference(B(t), B(n)); }, }), yp = { interpolate(e, t) { return ([e, t] = ka.handleUndefined(e, t)), (n) => (n < 0.5 ? e : t); }, difference(e, t) { return e === t ? 0 : 1; }, }, _L = (e) => ({ interpolate(t, n) { [t, n] = ka.handleUndefined(t, n); let r = Object.assign({}, t), i = {}, o = new Set(); for (let s in t) (i[s] = e.interpolate(t[s], n[s])), o.add(s); for (let s in n) o.has(s) || ((i[s] = e.interpolate(t[s], n[s])), o.add(s)); return (s) => { for (let a in i) r[a] = i[a](s); return r; }; }, difference(t, n) { let r = 0; for (let i in t) { let o = e.difference(t[i], n[i]); r += Math.pow(o, 2); } return Math.sqrt(r); }, }), j1 = { colorModel: "husl" }, aw = class { constructor(e = j1) { E(this, "options"), E( this, "interpolate", (t, n) => ( ([t, n] = ka.handleUndefined(t, n)), this.interPolationForValue(t).interpolate(t, n) ) ), E(this, "difference", (t, n) => this.interPolationForValue(t).difference(t, n) ), (this.options = { ...j1, ...e }); } interPolationForValue(e) { let t = typeof e; if (t === "number") return aL; if (t === "boolean" || t === "function") return yp; if (B.isColor(e)) return PL(this.options.colorModel); if (t === "object") { if (e === null) return yp; let n = e.constructor; if (n && sL(n)) { let r = n.interpolationFor(e, this); if (r && r !== this && r.constructor !== aw) return r; } return _L(this); } return console.warn(`No interpolation defined for ${e}`), yp; } }; var eu = (e) => e instanceof fl, IL = (() => ({ delta: 1 / 60, maxValues: 1e4 }))(), FL = class { constructor(e) { E(this, "animator"), E(this, "values"), E(this, "currentTime", 0), E(this, "totalTime"), E(this, "options"), (this.options = { ...IL, ...e }), (this.animator = e.animator); } preCalculate() { if (!this.animator.isReady()) return; let { delta: e } = this.options; for ( this.values = []; !this.animator.isFinished() && this.values.length < this.options.maxValues; ) { let t = this.animator.next(this.options.delta); typeof t == "object" && t && (t = { ...t }), this.values.push(t); } this.totalTime = this.values.length * e; } indexForTime(e) { return Math.max( 0, Math.min( this.values.length - 1, Math.round(this.values.length * (e / this.totalTime)) - 1 ) ); } valueForTime(e) { let t = this.indexForTime(e); return this.values[t]; } setFrom(e) { this.animator.setFrom(e), this.preCalculate(); } setTo(e) { this.animator.setTo(e), this.preCalculate(); } isReady() { return ( this.values !== void 0 && this.values.length > 0 && this.totalTime > 0 ); } next(e) { return (this.currentTime += e), this.valueForTime(this.currentTime); } isFinished() { return this.totalTime === 0 || this.currentTime >= this.totalTime; } get endValue() { this.preCalculate(); let e = this.valueForTime(this.totalTime); return this.values.length > 0 ? e : this.animator.next(0); } }, LL = (() => WI().EventEmitter)(), ML = class { constructor() { E(this, "_emitter", new LL()); } eventNames() { return this._emitter.eventNames(); } eventListeners() { let e = {}; for (let t of this._emitter.eventNames()) e[t] = this._emitter.listeners(t); return e; } on(e, t) { this.addEventListener(e, t, !1, !1, this); } off(e, t) { this.removeEventListeners(e, t); } once(e, t) { this.addEventListener(e, t, !0, !1, this); } unique(e, t) { this.addEventListener(e, t, !1, !0, this); } addEventListener(e, t, n, r, i) { if (r) { for (let o of this._emitter.eventNames()) if (t === this._emitter.listeners(o)) return; } n === !0 ? this._emitter.once(e, t, i) : this._emitter.addListener(e, t, i); } removeEventListeners(e, t) { e ? this._emitter.removeListener(e, t) : this.removeAllEventListeners(); } removeAllEventListeners() { this._emitter.removeAllListeners(); } countEventListeners(e, t) { if (e) return this._emitter.listeners(e).length; { let n = 0; for (let r of this._emitter.eventNames()) n += this._emitter.listeners(r).length; return n; } } emit(e, ...t) { this._emitter.emit(e, ...t); } }, OL = { addEventListener: () => {}, removeEventListener: () => {}, dispatchEvent: () => !1, ResizeObserver: void 0, onpointerdown: !1, onpointermove: !1, onpointerup: !1, ontouchstart: !1, ontouchmove: !1, ontouchend: !1, onmousedown: !1, onmousemove: !1, onmouseup: !1, devicePixelRatio: 1, scrollX: 0, scrollY: 0, location: { href: "" }, setTimeout: () => 0, clearTimeout: () => {}, setInterval: () => 0, clearInterval: () => {}, requestAnimationFrame: () => 0, cancelAnimationFrame: () => {}, getSelection: () => null, matchMedia: (e) => ({ matches: !1, media: e, onchange: () => {}, addEventListener: () => {}, removeEventListener: () => {}, addListener: () => {}, removeListener: () => {}, dispatchEvent: () => !1, }), innerHeight: 0, innerWidth: 0, SVGSVGElement: {}, open: function (e, t, n) {}, }, Bt = typeof window > "u" ? OL : window, DL = (e) => { setTimeout(e, 1 / 60); }, AL = (() => Bt.requestAnimationFrame || DL)(), W1 = (e) => AL(e), na = (() => 1 / 60)(), VL = class extends ML { constructor(e = !1) { super(), E(this, "_started", !1), E(this, "_frame", 0), E(this, "_frameTasks", []), E(this, "tick", () => { this._started && (W1(this.tick), this.emit("update", this._frame, na), this.emit("render", this._frame, na), this._processFrameTasks(), this._frame++); }), e && this.start(); } addFrameTask(e) { this._frameTasks.push(e); } _processFrameTasks() { var e; let t = this._frameTasks, n = t.length; if (n !== 0) { for (let r = 0; r < n; r++) (e = t[r]) == null || e.call(t); t.length = 0; } } static set TimeStep(e) { na = e; } static get TimeStep() { return na; } start() { return this._started ? this : ((this._frame = 0), (this._started = !0), W1(this.tick), this); } stop() { return (this._started = !1), this; } get frame() { return this._frame; } get time() { return this._frame * na; } }, aa = new VL(), ua = { target: "PREVIEW", zoom: 1 }; var ne = { canvas: "CANVAS", export: "EXPORT", thumbnail: "THUMBNAIL", preview: "PREVIEW", current: () => ua.target, hasRestrictions: () => { let e = ua.target; return e === "CANVAS" || e === "EXPORT"; }, }, BL = class { constructor(e, t, n) { (this.animator = e), (this.updateCallback = t), (this.finishedCallback = n), E(this, "update", (r, i) => { if (this.animator.isFinished()) this.finish(); else { let o = this.animator.next(i); this.updateCallback(o); } }), this.animator.isReady() || console.warn( "AnimationDriver initialized with animator that isn't ready" ); } finish() { this.finishedCallback && this.finishedCallback(this.animator.isFinished()); } isFinished() { return this.animator.isFinished(); } }, $L = class extends BL { play() { if (ua.target !== ne.preview) { this.finishedCallback && this.finishedCallback(!1); return; } aa.on("update", this.update); } cancel() { aa.off("update", this.update); } finish() { aa.off("update", this.update), super.finish(); } }, zL = { precalculate: !1, colorModel: "husl" }, $p = class { constructor(e, t, n, r, i, o = $L) { E(this, "driver"), E(this, "playStateSource", "idle"), E(this, "onfinish"), E(this, "oncancel"), E(this, "readyPromise", Promise.resolve()), E(this, "readyResolve"), E(this, "finishedPromise"), E(this, "finishedResolve"), E(this, "finishedReject"), this.resetFinishedPromise(); let s = { ...zL }, a = {}; i && (Object.assign(s, i), Object.assign(a, i)); let l; s.customInterpolation ? (l = s.customInterpolation) : (l = new aw(i)); let c; r ? (c = new r(a, l)) : (c = new rw({}, l)), s.precalculate && (c = new FL({ animator: c })), c.setFrom(t), c.setTo(n); let u = (d) => { $p.driverCallbackHandler(e, d); }, f = (d) => { d && ($p.driverCallbackHandler(e, n), this.playStateSource === "running" && (this.playStateValue = "finished")); }; this.driver = new o(c, u, f); } static driverCallbackHandler(e, t) { if (Tt(e) || eu(e)) e.set(t); else { let n = e; ze.transaction((r) => { for (let i in n) { let o = n[i]; Tt(o) ? r(o, t[i]) : (n[i] = t[i]); } }); } } get playStateValue() { return this.playStateSource; } set playStateValue(e) { if (e !== this.playStateSource) { let t = e; switch (((this.playStateSource = e), e)) { case "idle": t === "running" && this.oncancel && this.oncancel(), this.readyResolve && this.readyResolve(), this.resetReadyPromise(); break; case "finished": if (t === "idle") { console.warn("Bad state transition"); break; } this.onfinish && this.onfinish(), this.finishedResolve && this.finishedResolve(); break; case "running": this.resetReadyPromise(); break; } t === "finished" && this.resetFinishedPromise(), e === "finished" && (this.playStateValue = "idle"); } } get playState() { return this.playStateValue; } resetReadyPromise() { (this.readyResolve = null), (this.readyPromise = new Promise((e, t) => { this.readyResolve = e; })); } get ready() { return this.readyPromise; } resetFinishedPromise() { (this.finishedResolve = null), (this.finishedReject = null), (this.finishedPromise = new Promise((e, t) => { (this.finishedResolve = e), (this.finishedReject = t); })), this.finishedPromise.catch((e) => {}); } get finished() { return this.finishedPromise; } play() { (this.playStateValue = "running"), this.driver.play(); } cancel() { if (this.playStateValue === "running") { if ((this.driver.cancel(), this.playState !== "idle")) { let e = "AbortError"; this.finishedReject && this.finishedReject(e); } this.playStateValue = "idle"; } } finish() { this.playStateSource === "running" && ((this.playStateValue = "finished"), this.driver.finish()); } isFinished() { return this.playStateValue === "finished"; } }, zc = (e) => ({ correct: (t, { delta: n, treeScale: r }) => { if ((typeof t == "string" && (t = parseFloat(t)), t === 0)) return "0px"; let i = t; return ( n && r && ((i = Math.round(t / n[e].scale / r[e])), (i = Math.max(i, 1))), i + "px" ); }, }); pf({ borderTopWidth: zc("y"), borderLeftWidth: zc("x"), borderRightWidth: zc("x"), borderBottomWidth: zc("y"), }); function NL(e, t, n, r) { tw( "animate()", "2.0.0", "the new animation API (https://www.framer.com/api/animation/)" ); let i = e, o; Tt(e) || eu(e) ? (o = e.get()) : (o = ze.objectToValues(e)); let s = new $p(i, o, t, n, r); return s.play(), s; } var gz = (() => { function e(t, n, r, i) { return Tt(t) ? NL(t, n, r, i) : ui(t, n, r); } return ( (e.spring = (t, n, r) => e(t, n, vL, r)), (e.bezier = (t, n, r) => e(t, n, rw, r)), (e.linear = (t, n, r) => e.bezier(t, n, { ...r, curve: "linear" })), (e.ease = (t, n, r) => e.bezier(t, n, { ...r, curve: "ease" })), (e.easeIn = (t, n, r) => e.bezier(t, n, { ...r, curve: "ease-in" })), (e.easeOut = (t, n, r) => e.bezier(t, n, { ...r, curve: "ease-out" })), (e.easeInOut = (t, n, r) => e.bezier(t, n, { ...r, curve: "ease-in-out" })), e ); })(); function de(e, ...t) { var n, r; if (e) return; let i = Error("Assertion Error" + (t.length > 0 ? ": " + t.join(" ") : "")); if (i.stack) try { let o = i.stack.split(` `); (n = o[1]) != null && n.includes("assert") ? (o.splice(1, 1), (i.stack = o.join(` `))) : (r = o[0]) != null && r.includes("assert") && (o.splice(0, 1), (i.stack = o.join(` `))); } catch {} throw i; } function Et(e, t) { throw ( t || new Error( e ? `Unexpected value: ${e}` : "Application entered invalid state" ) ); } var Ao = b.createContext({ getLayoutId: (e) => null, persistLayoutIdCache: () => {}, top: !1, enabled: !0, }); function HL({ children: e }) { if (O(Ao).top) return C(Ie, { children: e }); let n = D({ byId: {}, byName: {}, byLastId: {}, byPossibleId: {}, byLastName: {}, byLayoutId: {}, count: { byId: {}, byName: {} }, }), r = D({ byId: {}, byName: {}, byLastId: {}, byPossibleId: {}, byLastName: {}, byLayoutId: {}, }), i = D(new Set()).current, o = me(({ id: l, name: c, duplicatedFrom: u }) => { if (!l) return null; let f = c ? "byName" : "byId", d = n.current[f][l]; if (d) return d; let m = c || l; if ( !u && !i.has(m) && (!n.current.byLayoutId[m] || n.current.byLayoutId[m] === m) ) return ( n.current.count[f][m] === void 0 && ((n.current.count[f][m] = 0), (n.current.byLayoutId[m] = m), (r.current[f][l] = m)), i.add(m), m ); let y; if (u?.length) for (let w = u.length - 1; w >= 0; w--) { let T = u[w]; de(!!T, "duplicatedId must be defined"); let R = n.current[f][T], F = n.current.byLastId[T]; if (F && !y) { let V = n.current.byLayoutId[F], Q = !V || V === c; F && !i.has(F) && (!c || Q) && (y = [F, T]); } let I = R ? n.current.byLayoutId[R] : void 0, $ = !I || I === c; if (R && !i.has(R) && (!c || $)) return ( (r.current[f][l] = R), (r.current.byLastId[T] = R), i.add(R), R ); } let v = n.current.byLastId[l]; if (v && !i.has(v)) return i.add(v), (r.current.byId[l] = v), v; if (y) { let [w, T] = y; return (r.current[f][l] = w), (r.current.byLastId[T] = w), i.add(w), w; } let x = n.current.byPossibleId[l]; if (x && !i.has(x)) return i.add(x), (r.current.byId[l] = x), x; let p = u?.[0], h = c || p || l, g = (n.current.count[f][h] ?? -1) + 1, { layoutId: S, value: k } = jL(h, g, i); if ( ((n.current.count[f][h] = k), (r.current[f][l] = S), u?.length && !c) ) { let w = u[u.length - 1]; if ((w && (r.current.byLastId[w] = S), u.length > 1)) for (let T = 0; T < u.length - 1; T++) { let R = u[T]; R !== void 0 && (r.current.byPossibleId[R] || (r.current.byPossibleId[R] = S)); } } return (r.current.byLayoutId[S] = m), i.add(S), S; }, []), s = me(() => { (n.current = { byId: { ...n.current.byId, ...r.current.byId }, byLastId: { ...n.current.byLastId, ...r.current.byLastId }, byPossibleId: { ...n.current.byPossibleId, ...r.current.byPossibleId }, byName: { ...n.current.byName, ...r.current.byName }, byLastName: { ...n.current.byLastName, ...r.current.byLastName }, byLayoutId: { ...n.current.byLayoutId, ...r.current.byLayoutId }, count: { ...n.current.count, byName: {} }, }), (r.current = { byId: {}, byName: {}, byLastId: {}, byPossibleId: {}, byLastName: {}, byLayoutId: {}, }), i.clear(); }, []), a = D({ getLayoutId: o, persistLayoutIdCache: s, top: !0, enabled: !0, }).current; return C(Ao.Provider, { value: a, children: e }); } function jL(e, t, n) { let r = t, i = r ? `${e}-${r}` : e; for (; n.has(i); ) r++, (i = `${e}-${r}`); return { layoutId: i, value: r }; } function WL({ enabled: e = !0, ...t }) { let n = O(Ao), r = fe(() => ({ ...n, enabled: e }), [e]); return C(Ao.Provider, { ...t, value: r }); } function en(e) { let t = D(null); return t.current === null && (t.current = e()), t.current; } var UL = { background: void 0, display: "flex", flexDirection: "column", justifyContent: "center", alignItems: "center", lineHeight: "1.4em", textOverflow: "ellipsis", overflow: "hidden", minHeight: 0, width: "100%", height: "100%", }, XL = (() => ({ ...UL, border: "1px solid rgba(149, 149, 149, 0.15)", borderRadius: 6, fontSize: "12px", backgroundColor: "rgba(149, 149, 149, 0.1)", color: "#a5a5a5", }))(), lw = { overflow: "hidden", whiteSpace: "nowrap", textOverflow: "ellipsis", maxWidth: "100%", flexShrink: 0, padding: "0 10px", }, YL = (() => ({ ...lw, fontWeight: 500 }))(), GL = (() => ({ ...lw, whiteSpace: "pre", maxHeight: "calc(50% - calc(20px * var(--framerInternalCanvas-canvasPlaceholderContentScaleFactor, 1)))", WebkitMaskImage: "linear-gradient(to bottom, black 80%, transparent 100%)", }))(); function kz(e) { let { error: t, file: n } = e, r = n ? `Error in ${KL(n)}` : "Error", i = t instanceof Error ? t.message : "" + t; return se("div", { style: XL, children: [ C("div", { className: "text", style: YL, children: r }), i && C("div", { className: "text", style: GL, children: i }), ], }); } function KL(e) { return e.startsWith("./") ? e.replace("./", "") : e; } function K(e) { return typeof e == "number" && isFinite(e); } function qL(e) { return !e || (!Object.keys(e).length && e.constructor === Object); } function Xc(e) { return typeof e != "string" && typeof e != "number"; } function Yc(e) { return e !== null && typeof e < "u" && typeof e != "boolean" && !qL(e); } function QL(e) { return e * (Math.PI / 180); } var pn = (() => { function e(t, n) { return { a: t, b: n }; } return ( (e.offset = (t, n) => { let r = Ae.angleFromX(t.a, t.b), i = QL(r), o = n * Math.sin(i), s = n * Math.cos(i); return e( { x: t.a.x + o, y: t.a.y - s }, { x: t.b.x + o, y: t.b.y - s } ); }), (e.intersection = (t, n, r) => { let i = t.a.x, o = t.a.y, s = t.b.x, a = t.b.y, l = n.a.x, c = n.a.y, u = n.b.x, f = n.b.y, d = (u - l) * (c - o) - (f - c) * (l - i), m = (u - l) * (a - o) - (f - c) * (s - i), y = (s - i) * (c - o) - (a - o) * (l - i); if ((d === 0 && m === 0) || m === 0) return null; let v = d / m, x = y / m; return r && (v < 0 || v > 1 || x < 0 || x > 1) ? null : { x: i + v * (s - i), y: o + v * (a - o) }; }), (e.intersectionAngle = (t, n) => { let r = t.b.x - t.a.x, i = t.b.y - t.a.y, o = n.b.x - n.a.x, s = n.b.y - n.a.y; return Math.atan2(r * s - i * o, r * o + i * s) * (180 / Math.PI); }), (e.isOrthogonal = (t) => t.a.x === t.b.x || t.a.y === t.b.y), (e.perpendicular = (t, n) => { let r = t.a.x - t.b.x, i = t.a.y - t.b.y, o = Ae(n.x - i, n.y + r); return e(o, n); }), (e.projectPoint = (t, n) => { let r = e.perpendicular(t, n); return e.intersection(t, r); }), (e.pointAtPercentDistance = (t, n) => { let r = e.distance(t), i = (n * r) / r; return { x: i * t.b.x + (1 - i) * t.a.x, y: i * t.b.y + (1 - i) * t.a.y, }; }), (e.distance = (t) => Ae.distance(t.a, t.b)), e ); })(), G = { equals: function (e, t) { return e === t ? !0 : !e || !t ? !1 : e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height; }, atOrigin: (e) => ({ ...e, x: 0, y: 0 }), fromTwoPoints: (e, t) => ({ x: Math.min(e.x, t.x), y: Math.min(e.y, t.y), width: Math.abs(e.x - t.x), height: Math.abs(e.y - t.y), }), fromRect: (e) => ({ x: e.left, y: e.top, width: e.right - e.left, height: e.bottom - e.top, }), multiply: (e, t) => ({ x: e.x * t, y: e.y * t, width: e.width * t, height: e.height * t, }), divide: (e, t) => G.multiply(e, 1 / t), offset: (e, t) => { let n = typeof t.x == "number" ? t.x : 0, r = typeof t.y == "number" ? t.y : 0; return { ...e, x: e.x + n, y: e.y + r }; }, inflate: (e, t) => { if (t === 0) return e; let n = 2 * t; return { x: e.x - t, y: e.y - t, width: e.width + n, height: e.height + n, }; }, pixelAligned: (e) => { let t = Math.round(e.x), n = Math.round(e.y), r = Math.round(e.x + e.width), i = Math.round(e.y + e.height), o = Math.max(r - t, 0), s = Math.max(i - n, 0); return { x: t, y: n, width: o, height: s }; }, halfPixelAligned: (e) => { let t = Math.round(e.x * 2) / 2, n = Math.round(e.y * 2) / 2, r = Math.round((e.x + e.width) * 2) / 2, i = Math.round((e.y + e.height) * 2) / 2, o = Math.max(r - t, 1), s = Math.max(i - n, 1); return { x: t, y: n, width: o, height: s }; }, round: (e, t = 0) => { let n = Vc(e.x, t), r = Vc(e.y, t), i = Vc(e.width, t), o = Vc(e.height, t); return { x: n, y: r, width: i, height: o }; }, roundToOutside: (e) => { let t = Math.floor(e.x), n = Math.floor(e.y), r = Math.ceil(e.x + e.width), i = Math.ceil(e.y + e.height), o = Math.max(r - t, 0), s = Math.max(i - n, 0); return { x: t, y: n, width: o, height: s }; }, minX: (e) => e.x, maxX: (e) => e.x + e.width, minY: (e) => e.y, maxY: (e) => e.y + e.height, positions: (e) => ({ minX: e.x, midX: e.x + e.width / 2, maxX: G.maxX(e), minY: e.y, midY: e.y + e.height / 2, maxY: G.maxY(e), }), center: (e) => ({ x: e.x + e.width / 2, y: e.y + e.height / 2 }), boundingRectFromPoints: (e) => { let t = 1 / 0, n = -1 / 0, r = 1 / 0, i = -1 / 0; for (let o = 0; o < e.length; o++) { let s = e[o]; (t = Math.min(t, s.x)), (n = Math.max(n, s.x)), (r = Math.min(r, s.y)), (i = Math.max(i, s.y)); } return { x: t, y: r, width: n - t, height: i - r }; }, fromPoints: (e) => { let [t, n, r, i] = e, { x: o, y: s } = t, a = Ae.distance(t, n), l = Ae.distance(t, i); return { x: o, y: s, width: a, height: l }; }, merge: (...e) => { let t = { x: Math.min(...e.map(G.minX)), y: Math.min(...e.map(G.minY)) }, n = { x: Math.max(...e.map(G.maxX)), y: Math.max(...e.map(G.maxY)) }; return G.fromTwoPoints(t, n); }, intersection: (e, t) => { let n = Math.max(e.x, t.x), r = Math.min(e.x + e.width, t.x + t.width), i = Math.max(e.y, t.y), o = Math.min(e.y + e.height, t.y + t.height); return { x: n, y: i, width: r - n, height: o - i }; }, points: (e) => [ { x: G.minX(e), y: G.minY(e) }, { x: G.minX(e), y: G.maxY(e) }, { x: G.maxX(e), y: G.minY(e) }, { x: G.maxX(e), y: G.maxY(e) }, ], pointsAtOrigin: (e) => [ { x: 0, y: 0 }, { x: e.width, y: 0 }, { x: e.width, y: e.height }, { x: 0, y: e.height }, ], transform: (e, t) => { let { x: n, y: r } = t.transformPoint({ x: e.x, y: e.y }), { x: i, y: o } = t.transformPoint({ x: e.x + e.width, y: e.y }), { x: s, y: a } = t.transformPoint({ x: e.x + e.width, y: e.y + e.height, }), { x: l, y: c } = t.transformPoint({ x: e.x, y: e.y + e.height }), u = Math.min(n, i, s, l), f = Math.max(n, i, s, l) - u, d = Math.min(r, o, a, c), m = Math.max(r, o, a, c) - d; return { x: u, y: d, width: f, height: m }; }, containsPoint: (e, t) => !( t.x < G.minX(e) || t.x > G.maxX(e) || t.y < G.minY(e) || t.y > G.maxY(e) || isNaN(e.x) || isNaN(e.y) ), containsRect: (e, t) => { for (let n of G.points(t)) if (!G.containsPoint(e, n)) return !1; return !0; }, toCSS: (e) => ({ display: "block", transform: `translate(${e.x}px, ${e.y}px)`, width: `${e.width}px`, height: `${e.height}px`, }), inset: (e, t) => ({ x: e.x + t, y: e.y + t, width: Math.max(0, e.width - 2 * t), height: Math.max(0, e.height - 2 * t), }), intersects: (e, t) => !( t.x >= G.maxX(e) || G.maxX(t) <= e.x || t.y >= G.maxY(e) || G.maxY(t) <= e.y ), overlapHorizontally: (e, t) => { let n = G.maxX(e), r = G.maxX(t); return n > t.x && r > e.x; }, overlapVertically: (e, t) => { let n = G.maxY(e), r = G.maxY(t); return n > t.y && r > e.y; }, doesNotIntersect: (e, t) => t.find((n) => G.intersects(n, e)) === void 0, isEqual: (e, t) => G.equals(e, t), cornerPoints: (e) => { let t = e.x, n = e.x + e.width, r = e.y, i = e.y + e.height; return [ { x: t, y: r }, { x: n, y: r }, { x: n, y: i }, { x: t, y: i }, ]; }, midPoints: (e) => { let t = e.x, n = e.x + e.width / 2, r = e.x + e.width, i = e.y, o = e.y + e.height / 2, s = e.y + e.height; return [ { x: n, y: i }, { x: r, y: o }, { x: n, y: s }, { x: t, y: o }, ]; }, pointDistance: (e, t) => { let n = 0, r = 0; return ( t.x < e.x ? (n = e.x - t.x) : t.x > G.maxX(e) && (n = t.x - G.maxX(e)), t.y < e.y ? (r = e.y - t.y) : t.y > G.maxY(e) && (r = t.y - G.maxY(e)), Ae.distance({ x: n, y: r }, { x: 0, y: 0 }) ); }, fromAny: (e, t = { x: 0, y: 0, width: 0, height: 0 }) => ({ x: e.x || t.x, y: e.y || t.y, width: e.width || t.width, height: e.height || t.height, }), delta: (e, t) => { let n = { x: G.minX(e), y: G.minY(e) }, r = { x: G.minX(t), y: G.minY(t) }; return { x: n.x - r.x, y: n.y - r.y }; }, withMinSize: (e, t) => { let { width: n, height: r } = t, i = e.width - n, o = e.height - r; return { width: Math.max(e.width, n), height: Math.max(e.height, r), x: e.width < n ? e.x + i / 2 : e.x, y: e.height < r ? e.y + o / 2 : e.y, }; }, anyPointsOutsideRect: (e, t) => { let n = G.minX(e), r = G.minY(e), i = G.maxX(e), o = G.maxY(e); for (let s of t) if (s.x < n || s.x > i || s.y < r || s.y > o) return !0; return !1; }, edges: (e) => { let [t, n, r, i] = G.cornerPoints(e); return [pn(t, n), pn(n, r), pn(r, i), pn(i, t)]; }, rebaseRectOnto: (e, t, n, r) => { let i = { ...e }; switch (n) { case "bottom": case "top": switch (r) { case "start": i.x = t.x; break; case "center": i.x = t.x + t.width / 2 - e.width / 2; break; case "end": i.x = t.x + t.width - e.width; break; default: Et(r); } break; case "left": i.x = t.x - e.width; break; case "right": i.x = t.x + t.width; break; default: Et(n); } switch (n) { case "left": case "right": switch (r) { case "start": i.y = t.y; break; case "center": i.y = t.y + t.height / 2 - e.height / 2; break; case "end": i.y = t.y + t.height - e.height; break; default: Et(r); } break; case "top": i.y = t.y - e.height; break; case "bottom": i.y = t.y + t.height; break; default: Et(n); } return i; }, }; var cw = { quickfix: (e) => ( (e.widthType === 2 || e.heightType === 2) && (e.aspectRatio = null), K(e.aspectRatio) && (e.left && e.right && (e.widthType = 0), e.top && e.bottom && (e.heightType = 0), e.left && e.right && e.top && e.bottom && (e.bottom = !1), e.widthType !== 0 && e.heightType !== 0 && (e.heightType = 0)), e.left && e.right && ((e.fixedSize || e.widthType === 2 || K(e.maxWidth)) && (e.right = !1), (e.widthType = 0)), e.top && e.bottom && ((e.fixedSize || e.heightType === 2 || K(e.maxHeight)) && (e.bottom = !1), (e.heightType = 0)), e ), }; function tu(e) { if (typeof e == "string") { let t = e.trim(); if (t === "auto") return 2; if (t.endsWith("fr")) return 3; if (t.endsWith("%")) return 1; if (t.endsWith("vw") || t.endsWith("vh")) return 4; } return 0; } var uw = { fromProperties: (e) => { let { left: t, right: n, top: r, bottom: i, width: o, height: s, centerX: a, centerY: l, aspectRatio: c, autoSize: u, } = e, f = cw.quickfix({ left: K(t) || Tt(t), right: K(n) || Tt(n), top: K(r) || Tt(r), bottom: K(i) || Tt(i), widthType: tu(o), heightType: tu(s), aspectRatio: c || null, fixedSize: u === !0, }), d = null, m = null, y = 0, v = 0; if (f.widthType !== 0 && typeof o == "string") { let h = parseFloat(o); o.endsWith("fr") ? ((y = 3), (d = h)) : o === "auto" ? (y = 2) : ((y = 1), (d = h / 100)); } else o !== void 0 && typeof o != "string" && (d = ze.getNumber(o)); if (f.heightType !== 0 && typeof s == "string") { let h = parseFloat(s); s.endsWith("fr") ? ((v = 3), (m = h)) : s === "auto" ? (v = 2) : ((v = 1), (m = parseFloat(s) / 100)); } else s !== void 0 && typeof s != "string" && (m = ze.getNumber(s)); let x = 0.5, p = 0.5; return ( a && (x = parseFloat(a) / 100), l && (p = parseFloat(l) / 100), { left: f.left ? ze.getNumber(t) : null, right: f.right ? ze.getNumber(n) : null, top: f.top ? ze.getNumber(r) : null, bottom: f.bottom ? ze.getNumber(i) : null, widthType: y, heightType: v, width: d, height: m, aspectRatio: f.aspectRatio || null, centerAnchorX: x, centerAnchorY: p, } ); }, toSize: (e, t, n, r) => { let i = null, o = null, s = t?.sizing ? ze.getNumber(t?.sizing.width) : null, a = t?.sizing ? ze.getNumber(t?.sizing.height) : null, l = U1(e.left, e.right); if (s && K(l)) i = s - l; else if (n && e.widthType === 2) i = n.width; else if (K(e.width)) switch (e.widthType) { case 0: i = e.width; break; case 3: i = r ? (r.freeSpaceInParent.width / r.freeSpaceUnitDivisor.width) * e.width : null; break; case 1: case 4: s && (i = s * e.width); break; case 2: break; default: Et(e.widthType); } let c = U1(e.top, e.bottom); if (a && K(c)) o = a - c; else if (n && e.heightType === 2) o = n.height; else if (K(e.height)) switch (e.heightType) { case 0: o = e.height; break; case 3: o = r ? (r.freeSpaceInParent.height / r.freeSpaceUnitDivisor.height) * e.height : null; break; case 1: case 4: a && (o = a * e.height); break; case 2: break; default: Et(e.heightType); } return nM(i, o, e, { height: a ?? 0, width: s ?? 0 }, t?.viewport); }, toRect: (e, t = null, n = null, r = !1, i = null) => { let o = e.left || 0, s = e.top || 0, { width: a, height: l } = uw.toSize(e, t, n, i), c = t?.positioning ?? null, u = c ? ze.getNumber(c.width) : null, f = c ? ze.getNumber(c.height) : null; e.left !== null ? (o = e.left) : u && e.right !== null ? (o = u - e.right - a) : u && (o = e.centerAnchorX * u - a / 2), e.top !== null ? (s = e.top) : f && e.bottom !== null ? (s = f - e.bottom - l) : f && (s = e.centerAnchorY * f - l / 2); let d = { x: o, y: s, width: a, height: l }; return r ? G.pixelAligned(d) : d; }, }, ZL = 200, JL = 200; function nu(e, t, n, r) { if (typeof t == "string") { if (t.endsWith("%") && n) switch (e) { case "maxWidth": case "minWidth": return (parseFloat(t) / 100) * n.width; case "maxHeight": case "minHeight": return (parseFloat(t) / 100) * n.height; default: break; } if (t.endsWith("vh") && r) switch (e) { case "maxWidth": case "minWidth": return (parseFloat(t) / 100) * r.width; case "maxHeight": case "minHeight": return (parseFloat(t) / 100) * r.height; default: break; } return parseFloat(t); } return t; } function eM(e, t, n, r) { return ( t.minHeight && (e = Math.max(nu("minHeight", t.minHeight, n, r), e)), t.maxHeight && (e = Math.min(nu("maxHeight", t.maxHeight, n, r), e)), e ); } function tM(e, t, n, r) { return ( t.minWidth && (e = Math.max(nu("minWidth", t.minWidth, n, r), e)), t.maxWidth && (e = Math.min(nu("maxWidth", t.maxWidth, n, r), e)), e ); } function nM(e, t, n, r, i) { let o = tM(K(e) ? e : ZL, n, r, i), s = eM(K(t) ? t : JL, n, r, i); return ( K(n.aspectRatio) && n.aspectRatio > 0 && (K(n.left) && K(n.right) ? (s = o / n.aspectRatio) : K(n.top) && K(n.bottom) ? (o = s * n.aspectRatio) : n.widthType !== 0 ? (s = o / n.aspectRatio) : (o = s * n.aspectRatio)), { width: o, height: s } ); } function U1(e, t) { return !K(e) || !K(t) ? null : e + t; } function rM(e) { return ( typeof e.right == "string" || typeof e.bottom == "string" || (typeof e.left == "string" && (!e.center || e.center === "y")) || (typeof e.top == "string" && (!e.center || e.center === "x")) ); } function Ca(e) { return !e._constraints || rM(e) ? !1 : e._constraints.enabled; } function iM(e) { let { size: t } = e, { width: n, height: r } = e; return ( K(t) && (n === void 0 && (n = t), r === void 0 && (r = t)), K(n) && K(r) ? { width: n, height: r } : null ); } function oM(e) { let t = iM(e); if (t === null) return null; let { left: n, top: r } = e; return K(n) && K(r) ? { x: n, y: r, ...t } : null; } function fa(e, t, n = !0) { if (e.positionFixed || e.positionAbsolute) return null; let r = t === 1 || t === 2; if (!Ca(e) || r) return oM(e); let i = sM(e), o = aM(t), s = o ? { sizing: o, positioning: o, viewport: null } : null; return uw.toRect(i, s, null, n, null); } function sM(e) { let { left: t, right: n, top: r, bottom: i, center: o, _constraints: s, size: a, } = e, { width: l, height: c } = e; l === void 0 && (l = a), c === void 0 && (c = a); let { aspectRatio: u, autoSize: f } = s, d = cw.quickfix({ left: K(t), right: K(n), top: K(r), bottom: K(i), widthType: tu(l), heightType: tu(c), aspectRatio: u || null, fixedSize: f === !0, }), m = null, y = null, v = 0, x = 0; if (d.widthType !== 0 && typeof l == "string") { let g = parseFloat(l); l.endsWith("fr") ? ((v = 3), (m = g)) : l === "auto" ? (v = 2) : ((v = 1), (m = g / 100)); } else l !== void 0 && typeof l != "string" && (m = l); if (d.heightType !== 0 && typeof c == "string") { let g = parseFloat(c); c.endsWith("fr") ? ((x = 3), (y = g)) : c === "auto" ? (x = 2) : ((x = 1), (y = parseFloat(c) / 100)); } else c !== void 0 && typeof c != "string" && (y = c); let p = 0.5, h = 0.5; return ( (o === !0 || o === "x") && ((d.left = !1), typeof t == "string" && (p = parseFloat(t) / 100)), (o === !0 || o === "y") && ((d.top = !1), typeof r == "string" && (h = parseFloat(r) / 100)), { left: d.left ? t : null, right: d.right ? n : null, top: d.top ? r : null, bottom: d.bottom ? i : null, widthType: v, heightType: x, width: m, height: y, aspectRatio: d.aspectRatio || null, centerAnchorX: p, centerAnchorY: h, minHeight: e.minHeight, maxHeight: e.maxHeight, minWidth: e.minWidth, maxWidth: e.maxWidth, } ); } var fw = b.createContext({ parentSize: 0 }); function aM(e) { return e === 0 || e === 1 || e === 2 ? null : e; } function Ta() { return b.useContext(fw).parentSize; } function dw(e) { return typeof e == "object"; } var lM = (e) => { let t = Ta(), { parentSize: n, children: r } = e, i = b.useMemo(() => ({ parentSize: n }), [cM(n), uM(n)]); return t === 1 ? r ? C(Ie, { children: r }) : null : C(fw.Provider, { value: i, children: r }); }; function cM(e) { return dw(e) ? e.width : e; } function uM(e) { return dw(e) ? e.height : e; } function fM(e, t) { return C(lM, { parentSize: t, children: e }); } function dM(e) { let t = Ta(); return fa(e, t, !0); } function hw({ width: e, height: t }) { return ( e === "auto" || e === "min-content" || t === "auto" || t === "min-content" ); } var hM = ((e) => ( (e.Boolean = "boolean"), (e.Number = "number"), (e.String = "string"), (e.RichText = "richtext"), (e.FusedNumber = "fusednumber"), (e.Enum = "enum"), (e.SegmentedEnum = "segmentedenum"), (e.Color = "color"), (e.Image = "image"), (e.ResponsiveImage = "responsiveimage"), (e.File = "file"), (e.ComponentInstance = "componentinstance"), (e.Array = "array"), (e.EventHandler = "eventhandler"), (e.Transition = "transition"), (e.BoxShadow = "boxshadow"), (e.Link = "link"), (e.Date = "date"), (e.Object = "object"), (e.Font = "font"), (e.PageScope = "pagescope"), (e.ScrollSectionRef = "scrollsectionref"), (e.CustomCursor = "customcursor"), (e.Border = "border"), (e.Cursor = "cursor"), (e.Padding = "padding"), (e.BorderRadius = "borderradius"), (e.CollectionReference = "collectionreference"), e ))(hM || {}), bp; function pM() { if (bp !== void 0) return bp; let e = document.createElement("div"); Object.assign(e.style, { position: "absolute", display: "flex", flexDirection: "column", rowGap: "1px", }), e.appendChild(document.createElement("div")), e.appendChild(document.createElement("div")), document.body.appendChild(e); let t = e.scrollHeight === 1; return e.parentNode && e.parentNode.removeChild(e), (bp = t), t; } var Ii = "flexbox-gap-not-supported", X1 = !1; function Pz() { X1 || ((X1 = !0), !pM() && document.body.classList.add(Ii)); } var mM = ` [data-framer-component-type="DeprecatedRichText"] p, [data-framer-component-type="DeprecatedRichText"] div, [data-framer-component-type="DeprecatedRichText"] h1, [data-framer-component-type="DeprecatedRichText"] h2, [data-framer-component-type="DeprecatedRichText"] h3, [data-framer-component-type="DeprecatedRichText"] h4, [data-framer-component-type="DeprecatedRichText"] h5, [data-framer-component-type="DeprecatedRichText"] h6, [data-framer-component-type="DeprecatedRichText"] li, [data-framer-component-type="DeprecatedRichText"] ol, [data-framer-component-type="DeprecatedRichText"] ul, [data-framer-component-type="DeprecatedRichText"] span:not([data-text-fill]) { font-family: var(--framer-font-family, Inter, Inter Placeholder, sans-serif); font-style: var(--framer-font-style, normal); font-weight: var(--framer-font-weight, 400); color: var(--framer-text-color, #000); font-size: var(--framer-font-size, 16px); letter-spacing: var(--framer-letter-spacing, 0); text-transform: var(--framer-text-transform, none); text-decoration: var(--framer-text-decoration, none); line-height: var(--framer-line-height, 1.2em); text-align: var(--framer-text-alignment, start); } `, vM = ` [data-framer-component-type="DeprecatedRichText"] p:not(:first-child), [data-framer-component-type="DeprecatedRichText"] div:not(:first-child), [data-framer-component-type="DeprecatedRichText"] h1:not(:first-child), [data-framer-component-type="DeprecatedRichText"] h2:not(:first-child), [data-framer-component-type="DeprecatedRichText"] h3:not(:first-child), [data-framer-component-type="DeprecatedRichText"] h4:not(:first-child), [data-framer-component-type="DeprecatedRichText"] h5:not(:first-child), [data-framer-component-type="DeprecatedRichText"] h6:not(:first-child), [data-framer-component-type="DeprecatedRichText"] ol:not(:first-child), [data-framer-component-type="DeprecatedRichText"] ul:not(:first-child), [data-framer-component-type="DeprecatedRichText"] .framer-image:not(:first-child) { margin-top: var(--framer-paragraph-spacing, 0); } `, gM = ` [data-framer-component-type="DeprecatedRichText"] span[data-text-fill] { display: inline-block; background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; } `, yM = ` [data-framer-component-type="DeprecatedRichText"] a, [data-framer-component-type="DeprecatedRichText"] a span:not([data-text-fill]) { font-family: var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)); font-style: var(--framer-link-font-style, var(--framer-font-style, normal)); font-weight: var(--framer-link-font-weight, var(--framer-font-weight, 400)); color: var(--framer-link-text-color, var(--framer-text-color, #000)); font-size: var(--framer-link-font-size, var(--framer-font-size, 16px)); text-transform: var(--framer-link-text-transform, var(--framer-text-transform, none)); text-decoration: var(--framer-link-text-decoration, var(--framer-text-decoration, none)); } `, bM = ` [data-framer-component-type="DeprecatedRichText"] a:hover, [data-framer-component-type="DeprecatedRichText"] a:hover span:not([data-text-fill]) { font-family: var(--framer-link-hover-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif))); font-style: var(--framer-link-hover-font-style, var(--framer-link-font-style, var(--framer-font-style, normal))); font-weight: var(--framer-link-hover-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400))); color: var(--framer-link-hover-text-color, var(--framer-link-text-color, var(--framer-text-color, #000))); font-size: var(--framer-link-hover-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px))); text-transform: var(--framer-link-hover-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none))); text-decoration: var(--framer-link-hover-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none))); } `, xM = ` a[data-framer-page-link-current], a[data-framer-page-link-current] span:not([data-text-fill]) { font-family: var(--framer-link-current-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif))); font-style: var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style, normal))); font-weight: var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400))); color: var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color, #000))); font-size: var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px))); text-transform: var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none))); text-decoration: var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none))); } `, SM = ` a[data-framer-page-link-current]:hover, a[data-framer-page-link-current]:hover span:not([data-text-fill]) { font-family: var(--framer-link-hover-font-family, var(--framer-link-current-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)))); font-style: var(--framer-link-hover-font-style, var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style, normal)))); font-weight: var(--framer-link-hover-font-weight, var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400)))); color: var(--framer-link-hover-text-color, var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color, #000)))); font-size: var(--framer-link-hover-font-size, var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px)))); text-transform: var(--framer-link-hover-text-transform, var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none)))); text-decoration: var(--framer-link-hover-text-decoration, var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none)))); } `, wM = ` [data-framer-component-type="DeprecatedRichText"] strong { font-weight: bolder; } `, kM = ` [data-framer-component-type="DeprecatedRichText"] em { font-style: italic; } `, CM = ` [data-framer-component-type="DeprecatedRichText"] .framer-image { display: block; max-width: 100%; height: auto; } `, TM = ` [data-framer-component-type="DeprecatedRichText"] p, [data-framer-component-type="DeprecatedRichText"] div, [data-framer-component-type="DeprecatedRichText"] h1, [data-framer-component-type="DeprecatedRichText"] h2, [data-framer-component-type="DeprecatedRichText"] h3, [data-framer-component-type="DeprecatedRichText"] h4, [data-framer-component-type="DeprecatedRichText"] h5, [data-framer-component-type="DeprecatedRichText"] h6 { margin: 0; padding: 0; } `, EM = ` [data-framer-component-type="DeprecatedRichText"] .text-styles-preset-reset { --framer-font-family: Inter, Inter Placeholder, sans-serif; --framer-font-style: normal; --framer-font-weight: 500; --framer-text-color: #000; --framer-font-size: 16px; --framer-letter-spacing: 0; --framer-text-transform: none; --framer-text-decoration: none; --framer-line-height: 1.2em; --framer-text-alignment: start; } `, RM = ` [data-framer-component-type="DeprecatedRichText"] ul, [data-framer-component-type="DeprecatedRichText"] ol { display: table; width: 100%; padding-left: 0; margin: 0; } `, PM = ` [data-framer-component-type="DeprecatedRichText"] li { display: table-row; counter-increment: list-item; list-style: none; } `, _M = ` [data-framer-component-type="DeprecatedRichText"] ol > li::before { display: table-cell; width: 2.25ch; box-sizing: border-box; padding-right: 0.75ch; content: counter(list-item) "."; white-space: nowrap; } `, IM = ` [data-framer-component-type="DeprecatedRichText"] ul > li::before { display: table-cell; width: 2.25ch; box-sizing: border-box; padding-right: 0.75ch; content: "\u2022"; } `, FM = [ '[data-framer-component-type="DeprecatedRichText"] { cursor: inherit; }', EM, TM, mM, vM, gM, yM, bM, xM, SM, wM, kM, CM, RM, PM, _M, IM, ], LM = [ ` p.framer-text, div.framer-text, h1.framer-text, h2.framer-text, h3.framer-text, h4.framer-text, h5.framer-text, h6.framer-text, ol.framer-text, ul.framer-text { margin: 0; padding: 0; } `, ` p.framer-text, div.framer-text, h1.framer-text, h2.framer-text, h3.framer-text, h4.framer-text, h5.framer-text, h6.framer-text, li.framer-text, ol.framer-text, ul.framer-text, span.framer-text:not([data-text-fill]) { font-family: var(--framer-blockquote-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)); font-style: var(--framer-blockquote-font-style, var(--framer-font-style, normal)); font-weight: var(--framer-blockquote-font-weight, var(--framer-font-weight, 400)); color: var(--framer-blockquote-text-color, var(--framer-text-color, #000)); font-size: calc(var(--framer-blockquote-font-size, var(--framer-font-size, 16px)) * var(--framer-font-size-scale, 1)); letter-spacing: var(--framer-blockquote-letter-spacing, var(--framer-letter-spacing, 0)); text-transform: var(--framer-blockquote-text-transform, var(--framer-text-transform, none)); text-decoration: var(--framer-blockquote-text-decoration, var(--framer-text-decoration, none)); line-height: var(--framer-blockquote-line-height, var(--framer-line-height, 1.2em)); text-align: var(--framer-blockquote-text-alignment, var(--framer-text-alignment, start)); -webkit-text-stroke-width: var(--framer-text-stroke-width, initial); -webkit-text-stroke-color: var(--framer-text-stroke-color, initial); } `, ` .framer-fit-text .framer-text { white-space: nowrap; white-space-collapse: preserve; } `, ` strong.framer-text { font-family: var(--framer-blockquote-font-family-bold, var(--framer-font-family-bold)); font-style: var(--framer-blockquote-font-style-bold, var(--framer-font-style-bold)); font-weight: var(--framer-blockquote-font-weight-bold, var(--framer-font-weight-bold, bolder)); } `, ` em.framer-text { font-family: var(--framer-blockquote-font-family-italic, var(--framer-font-family-italic)); font-style: var(--framer-blockquote-font-style-italic, var(--framer-font-style-italic, italic)); font-weight: var(--framer-blockquote-font-weight-italic, var(--framer-font-weight-italic)); } `, ` em.framer-text > strong.framer-text { font-family: var(--framer-blockquote-font-family-bold-italic, var(--framer-font-family-bold-italic)); font-style: var(--framer-blockquote-font-style-bold-italic, var(--framer-font-style-bold-italic, italic)); font-weight: var(--framer-blockquote-font-weight-bold-italic, var(--framer-font-weight-bold-italic, bolder)); } `, ` p.framer-text:not(:first-child), div.framer-text:not(:first-child), h1.framer-text:not(:first-child), h2.framer-text:not(:first-child), h3.framer-text:not(:first-child), h4.framer-text:not(:first-child), h5.framer-text:not(:first-child), h6.framer-text:not(:first-child), ol.framer-text:not(:first-child), ul.framer-text:not(:first-child), .framer-image.framer-text:not(:first-child) { margin-top: var(--framer-blockquote-paragraph-spacing, var(--framer-paragraph-spacing, 0)); } `, ` li.framer-text > ul.framer-text:nth-child(2), li.framer-text > ol.framer-text:nth-child(2) { margin-top: 0; } `, ` .framer-text[data-text-fill] { display: inline-block; background-clip: text; -webkit-background-clip: text; /* make this a transparent color if you want to visualise the clipping */ -webkit-text-fill-color: transparent; padding: max(0em, calc(calc(1.3em - var(--framer-blockquote-line-height, var(--framer-line-height, 1.3em))) / 2)); margin: min(0em, calc(calc(1.3em - var(--framer-blockquote-line-height, var(--framer-line-height, 1.3em))) / -2)); } `, ` code.framer-text, code.framer-text span.framer-text:not([data-text-fill]) { font-family: var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)); font-style: var(--framer-code-font-style, var(--framer-font-style, normal)); font-weight: var(--framer-code-font-weight, var(--framer-font-weight, 400)); color: var(--framer-code-text-color, var(--framer-text-color, #000)); font-size: calc(var(--framer-font-size, 16px) * var(--framer-font-size-scale, 1)); letter-spacing: var(--framer-letter-spacing, 0); line-height: var(--framer-line-height, 1.2em); } `, ` blockquote.framer-text { margin-block-start: initial; margin-block-end: initial; margin-inline-start: initial; margin-inline-end: initial; unicode-bidi: initial; } `, ` a.framer-text, a.framer-text span.framer-text:not([data-text-fill]) { font-family: var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)); font-style: var(--framer-link-font-style, var(--framer-font-style, normal)); font-weight: var(--framer-link-font-weight, var(--framer-font-weight, 400)); color: var(--framer-link-text-color, var(--framer-text-color, #000)); font-size: calc(var(--framer-link-font-size, var(--framer-font-size, 16px)) * var(--framer-font-size-scale, 1)); text-transform: var(--framer-link-text-transform, var(--framer-text-transform, none)); text-decoration: var(--framer-link-text-decoration, var(--framer-text-decoration, none)); /* Cursor inherit to overwrite the user agent stylesheet on rich text links. */ cursor: var(--framer-custom-cursors, pointer); } `, ` code.framer-text a.framer-text, code.framer-text a.framer-text span.framer-text:not([data-text-fill]) { font-family: var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)); font-style: var(--framer-code-font-style, var(--framer-font-style, normal)); font-weight: var(--framer-code-font-weight, var(--framer-font-weight, 400)); color: var(--framer-link-text-color, var(--framer-code-text-color, var(--framer-text-color, #000))); font-size: calc(var(--framer-link-font-size, var(--framer-font-size, 16px)) * var(--framer-font-size-scale, 1)); } `, ` a.framer-text:hover, a.framer-text:hover span.framer-text:not([data-text-fill]) { font-family: var(--framer-link-hover-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif))); font-style: var(--framer-link-hover-font-style, var(--framer-link-font-style, var(--framer-font-style, normal))); font-weight: var(--framer-link-hover-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400))); color: var(--framer-link-hover-text-color, var(--framer-link-text-color, var(--framer-text-color, #000))); font-size: calc(var(--framer-link-hover-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px))) * var(--framer-font-size-scale, 1)); text-transform: var(--framer-link-hover-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none))); text-decoration: var(--framer-link-hover-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none))); } `, ` code.framer-text a.framer-text:hover, code.framer-text a.framer-text:hover span.framer-text:not([data-text-fill]) { font-family: var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)); font-style: var(--framer-code-font-style, var(--framer-font-style, normal)); font-weight: var(--framer-code-font-weight, var(--framer-font-weight, 400)); color: var(--framer-link-hover-text-color, var(--framer-link-text-color, var(--framer-code-text-color, var(--framer-text-color, #000)))); font-size: calc(var(--framer-link-hover-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px))) * var(--framer-font-size-scale, 1)); } `, ` a.framer-text[data-framer-page-link-current], a.framer-text[data-framer-page-link-current] span.framer-text:not([data-text-fill]) { font-family: var(--framer-link-current-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif))); font-style: var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style, normal))); font-weight: var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400))); color: var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color, #000))); font-size: calc(var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px))) * var(--framer-font-size-scale, 1)); text-transform: var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none))); text-decoration: var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none))); } `, ` code.framer-text a.framer-text[data-framer-page-link-current], code.framer-text a.framer-text[data-framer-page-link-current] span.framer-text:not([data-text-fill]) { font-family: var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)); font-style: var(--framer-code-font-style, var(--framer-font-style, normal)); font-weight: var(--framer-code-font-weight, var(--framer-font-weight, 400)); color: var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-code-text-color, var(--framer-text-color, #000)))); font-size: calc(var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px))) * var(--framer-font-size-scale, 1)); } `, ` a.framer-text[data-framer-page-link-current]:hover, a.framer-text[data-framer-page-link-current]:hover span.framer-text:not([data-text-fill]) { font-family: var(--framer-link-hover-font-family, var(--framer-link-current-font-family, var(--framer-link-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)))); font-style: var(--framer-link-hover-font-style, var(--framer-link-current-font-style, var(--framer-link-font-style, var(--framer-font-style, normal)))); font-weight: var(--framer-link-hover-font-weight, var(--framer-link-current-font-weight, var(--framer-link-font-weight, var(--framer-font-weight, 400)))); color: var(--framer-link-hover-text-color, var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-text-color, #000)))); font-size: calc(var(--framer-link-hover-font-size, var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px)))) * var(--framer-font-size-scale, 1)); text-transform: var(--framer-link-hover-text-transform, var(--framer-link-current-text-transform, var(--framer-link-text-transform, var(--framer-text-transform, none)))); text-decoration: var(--framer-link-hover-text-decoration, var(--framer-link-current-text-decoration, var(--framer-link-text-decoration, var(--framer-text-decoration, none)))); } `, ` code.framer-text a.framer-text[data-framer-page-link-current]:hover, code.framer-text a.framer-text[data-framer-page-link-current]:hover span.framer-text:not([data-text-fill]) { font-family: var(--framer-code-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif)); font-style: var(--framer-code-font-style, var(--framer-font-style, normal)); font-weight: var(--framer-code-font-weight, var(--framer-font-weight, 400)); color: var(--framer-link-hover-text-color, var(--framer-link-current-text-color, var(--framer-link-text-color, var(--framer-code-text-color, var(--framer-text-color, #000))))); font-size: calc(var(--framer-link-hover-font-size, var(--framer-link-current-font-size, var(--framer-link-font-size, var(--framer-font-size, 16px)))) * var(--framer-font-size-scale, 1)); } `, ` .framer-image.framer-text { display: block; max-width: 100%; height: auto; } `, ` .text-styles-preset-reset.framer-text { --framer-font-family: Inter, Inter Placeholder, sans-serif; --framer-font-style: normal; --framer-font-weight: 500; --framer-text-color: #000; --framer-font-size: 16px; --framer-letter-spacing: 0; --framer-text-transform: none; --framer-text-decoration: none; --framer-line-height: 1.2em; --framer-text-alignment: start; } `, ` ol.framer-text { --list-style-type: decimal; } `, ` ul.framer-text, ol.framer-text { display: table; width: 100%; } `, ` li.framer-text { display: table-row; counter-increment: list-item; list-style: none; } `, ` ol.framer-text > li.framer-text::before { display: table-cell; width: 2.25ch; box-sizing: border-box; padding-inline-end: 0.75ch; content: counter(list-item, var(--list-style-type)) "."; white-space: nowrap; } `, ` ul.framer-text > li.framer-text::before { display: table-cell; width: 2.25ch; box-sizing: border-box; padding-inline-end: 0.75ch; content: "\u2022"; } `, ` .framer-text-module[style*="aspect-ratio"] > :first-child { width: 100%; } `, ` @supports not (aspect-ratio: 1) { .framer-text-module[style*="aspect-ratio"] { position: relative; } } `, ` @supports not (aspect-ratio: 1) { .framer-text-module[style*="aspect-ratio"]::before { content: ""; display: block; padding-bottom: calc(100% / calc(var(--aspect-ratio))); } } `, ` @supports not (aspect-ratio: 1) { .framer-text-module[style*="aspect-ratio"] > :first-child { position: absolute; top: 0; left: 0; height: 100%; } } `, ], MM = new Set(), xp; function pw(e, t, n = MM) { if (!(!e || n.has(e) || typeof document > "u")) { if ((n.add(e), !t)) { if (!xp) { let r = document.createElement("style"); if ( (r.setAttribute("type", "text/css"), r.setAttribute("data-framer-css", "true"), !document.head) ) { console.warn( "not injecting CSS: the document is missing a element" ); return; } if ((document.head.appendChild(r), r.sheet)) xp = r.sheet; else { console.warn( "not injecting CSS: injected