import {
require_react
} from "./chunk-IO7TC67E.js";
import {
__commonJS,
__toESM
} from "./chunk-DC5AMYBS.js";
// node_modules/react/cjs/react-jsx-runtime.development.js
var require_react_jsx_runtime_development = __commonJS({
"node_modules/react/cjs/react-jsx-runtime.development.js"(exports) {
"use strict";
(function() {
function getComponentNameFromType(type) {
if (null == type) return null;
if ("function" === typeof type)
return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
if ("string" === typeof type) return type;
switch (type) {
case REACT_FRAGMENT_TYPE:
return "Fragment";
case REACT_PROFILER_TYPE:
return "Profiler";
case REACT_STRICT_MODE_TYPE:
return "StrictMode";
case REACT_SUSPENSE_TYPE:
return "Suspense";
case REACT_SUSPENSE_LIST_TYPE:
return "SuspenseList";
case REACT_ACTIVITY_TYPE:
return "Activity";
case REACT_VIEW_TRANSITION_TYPE:
return "ViewTransition";
}
if ("object" === typeof type)
switch ("number" === typeof type.tag && console.error(
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
), type.$$typeof) {
case REACT_PORTAL_TYPE:
return "Portal";
case REACT_CONTEXT_TYPE:
return type.displayName || "Context";
case REACT_CONSUMER_TYPE:
return (type._context.displayName || "Context") + ".Consumer";
case REACT_FORWARD_REF_TYPE:
var innerType = type.render;
type = type.displayName;
type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef");
return type;
case REACT_MEMO_TYPE:
return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo";
case REACT_LAZY_TYPE:
innerType = type._payload;
type = type._init;
try {
return getComponentNameFromType(type(innerType));
} catch (x) {
}
}
return null;
}
function testStringCoercion(value) {
return "" + value;
}
function checkKeyStringCoercion(value) {
try {
testStringCoercion(value);
var JSCompiler_inline_result = false;
} catch (e) {
JSCompiler_inline_result = true;
}
if (JSCompiler_inline_result) {
JSCompiler_inline_result = console;
var JSCompiler_temp_const = JSCompiler_inline_result.error;
var JSCompiler_inline_result$jscomp$0 = "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
JSCompiler_temp_const.call(
JSCompiler_inline_result,
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
JSCompiler_inline_result$jscomp$0
);
return testStringCoercion(value);
}
}
function getTaskName(type) {
if (type === REACT_FRAGMENT_TYPE) return "<>";
if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE)
return "<...>";
try {
var name = getComponentNameFromType(type);
return name ? "<" + name + ">" : "<...>";
} catch (x) {
return "<...>";
}
}
function getOwner() {
var dispatcher = ReactSharedInternals.A;
return null === dispatcher ? null : dispatcher.getOwner();
}
function UnknownOwner() {
return Error("react-stack-top-frame");
}
function hasValidKey(config) {
if (hasOwnProperty.call(config, "key")) {
var getter = Object.getOwnPropertyDescriptor(config, "key").get;
if (getter && getter.isReactWarning) return false;
}
return void 0 !== config.key;
}
function defineKeyPropWarningGetter(props, displayName) {
function warnAboutAccessingKey() {
specialPropKeyWarningShown || (specialPropKeyWarningShown = true, console.error(
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
displayName
));
}
warnAboutAccessingKey.isReactWarning = true;
Object.defineProperty(props, "key", {
get: warnAboutAccessingKey,
configurable: true
});
}
function elementRefGetterWithDeprecationWarning() {
var componentName = getComponentNameFromType(this.type);
didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = true, console.error(
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
));
componentName = this.props.ref;
return void 0 !== componentName ? componentName : null;
}
function ReactElement(type, key, props, owner, debugStack, debugTask) {
var refProp = props.ref;
type = {
$$typeof: REACT_ELEMENT_TYPE,
type,
key,
props,
_owner: owner
};
null !== (void 0 !== refProp ? refProp : null) ? Object.defineProperty(type, "ref", {
enumerable: false,
get: elementRefGetterWithDeprecationWarning
}) : Object.defineProperty(type, "ref", { enumerable: false, value: null });
type._store = {};
Object.defineProperty(type._store, "validated", {
configurable: false,
enumerable: false,
writable: true,
value: 0
});
Object.defineProperty(type, "_debugInfo", {
configurable: false,
enumerable: false,
writable: true,
value: null
});
Object.defineProperty(type, "_debugStack", {
configurable: false,
enumerable: false,
writable: true,
value: debugStack
});
Object.defineProperty(type, "_debugTask", {
configurable: false,
enumerable: false,
writable: true,
value: debugTask
});
Object.freeze && (Object.freeze(type.props), Object.freeze(type));
return type;
}
function jsxDEVImpl(type, config, maybeKey, isStaticChildren, debugStack, debugTask) {
var children = config.children;
if (void 0 !== children)
if (isStaticChildren)
if (isArrayImpl(children)) {
for (isStaticChildren = 0; isStaticChildren < children.length; isStaticChildren++)
validateChildKeys(children[isStaticChildren]);
Object.freeze && Object.freeze(children);
} else
console.error(
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
);
else validateChildKeys(children);
if (hasOwnProperty.call(config, "key")) {
children = getComponentNameFromType(type);
var keys = Object.keys(config).filter(function(k2) {
return "key" !== k2;
});
isStaticChildren = 0 < keys.length ? "{key: someKey, " + keys.join(": ..., ") + ": ...}" : "{key: someKey}";
didWarnAboutKeySpread[children + isStaticChildren] || (keys = 0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}", console.error(
'A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',
isStaticChildren,
children,
keys,
children
), didWarnAboutKeySpread[children + isStaticChildren] = true);
}
children = null;
void 0 !== maybeKey && (checkKeyStringCoercion(maybeKey), children = "" + maybeKey);
hasValidKey(config) && (checkKeyStringCoercion(config.key), children = "" + config.key);
if ("key" in config) {
maybeKey = {};
for (var propName in config)
"key" !== propName && (maybeKey[propName] = config[propName]);
} else maybeKey = config;
children && defineKeyPropWarningGetter(
maybeKey,
"function" === typeof type ? type.displayName || type.name || "Unknown" : type
);
return ReactElement(
type,
children,
maybeKey,
getOwner(),
debugStack,
debugTask
);
}
function validateChildKeys(node) {
isValidElement(node) ? node._store && (node._store.validated = 1) : "object" === typeof node && null !== node && node.$$typeof === REACT_LAZY_TYPE && ("fulfilled" === node._payload.status ? isValidElement(node._payload.value) && node._payload.value._store && (node._payload.value._store.validated = 1) : node._store && (node._store.validated = 1));
}
function isValidElement(object) {
return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
}
var React = require_react(), REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, hasOwnProperty = Object.prototype.hasOwnProperty, isArrayImpl = Array.isArray, createTask = console.createTask ? console.createTask : function() {
return null;
};
React = {
react_stack_bottom_frame: function(callStackForError) {
return callStackForError();
}
};
var specialPropKeyWarningShown;
var didWarnAboutElementRef = {};
var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(
React,
UnknownOwner
)();
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
var didWarnAboutKeySpread = {};
exports.Fragment = REACT_FRAGMENT_TYPE;
exports.jsx = function(type, config, maybeKey) {
var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
if (trackActualOwner) {
var previousStackTraceLimit = Error.stackTraceLimit;
Error.stackTraceLimit = 10;
var debugStackDEV = Error("react-stack-top-frame");
Error.stackTraceLimit = previousStackTraceLimit;
} else debugStackDEV = unknownOwnerDebugStack;
return jsxDEVImpl(
type,
config,
maybeKey,
false,
debugStackDEV,
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
);
};
exports.jsxs = function(type, config, maybeKey) {
var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
if (trackActualOwner) {
var previousStackTraceLimit = Error.stackTraceLimit;
Error.stackTraceLimit = 10;
var debugStackDEV = Error("react-stack-top-frame");
Error.stackTraceLimit = previousStackTraceLimit;
} else debugStackDEV = unknownOwnerDebugStack;
return jsxDEVImpl(
type,
config,
maybeKey,
true,
debugStackDEV,
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
);
};
})();
}
});
// node_modules/react/jsx-runtime.js
var require_jsx_runtime = __commonJS({
"node_modules/react/jsx-runtime.js"(exports, module) {
"use strict";
if (false) {
module.exports = null;
} else {
module.exports = require_react_jsx_runtime_development();
}
}
});
// node_modules/blobatar/dist/react.js
var import_react = __toESM(require_react());
var import_jsx_runtime = __toESM(require_jsx_runtime());
var G = (t, e) => `mo-root${t === "always" ? " mo-always" : ""}${e ? " mo-expr" : ""}`;
function It(t) {
let e = Math.round(t.num("motion.blink", 3500, 6500)), n = Math.round(t.num("motion.saccade", 4200, 7600)), a = t.num("motion.lookX", 1, 2.2), o = t.num("motion.lookY", 0.8, 1.7), r2 = (s) => Math.round(s * 100) / 100;
return { phase: Math.round(t.num("motion.phase", 0, 2800)), bob: Math.round(t.num("motion.bob", 0, 3400)), blink: e, blinkPhase: Math.round(t.num("motion.blinkPhase", 0, e)), saccade: n, saccadePhase: Math.round(t.num("motion.saccadePhase", 0, n)), lookX: r2(a) * (t.bool("motion.lookXFlip") ? -1 : 1), lookY: r2(o) * (t.bool("motion.lookYFlip") ? -1 : 1), lookMX: r2(a), lookMY: r2(o) };
}
function N(t) {
let e = (a) => `${-a}ms`, n = It(t);
return { "--mo-phase": e(n.phase), "--mo-bob-phase": e(n.bob), "--mo-blink": `${n.blink}ms`, "--mo-blink-phase": e(n.blinkPhase), "--mo-look-x": String(n.lookX), "--mo-look-mx": String(n.lookMX), "--mo-look-y": String(n.lookY), "--mo-look-my": String(n.lookMY), "--mo-saccade": `${n.saccade}ms`, "--mo-saccade-phase": e(n.saccadePhase) };
}
function R({ l: t, c: e, h: n }) {
let a = n * Math.PI / 180, o = e * Math.cos(a), r2 = e * Math.sin(a), s = t + 0.3963377774 * o + 0.2158037573 * r2, c = t - 0.1055613458 * o - 0.0638541728 * r2, i = t - 0.0894841775 * o - 1.291485548 * r2, u = s * s * s, m = c * c * c, l = i * i * i;
return [4.0767416621 * u - 3.3077115913 * m + 0.2309699292 * l, -1.2684380046 * u + 2.6097574011 * m - 0.3413193965 * l, -0.0041960863 * u - 0.7034186147 * m + 1.707614701 * l];
}
var U = (t) => t.every((e) => e >= -1e-4 && e <= 1.0001);
function Q(t) {
let e = R(t);
if (!U(e)) {
let n = 0, a = t.c;
for (let o = 0; o < 12; o++) {
let r2 = (n + a) / 2;
if (U(R({ ...t, c: r2 }))) n = r2;
else a = r2;
}
e = R({ ...t, c: n });
}
return e.map((n) => Math.min(1, Math.max(0, n)));
}
function q(t) {
let [e, n, a] = Q(t);
return 0.2126 * e + 0.7152 * n + 0.0722 * a;
}
function B(t, e) {
let n = q(t), a = q(e);
return (Math.max(n, a) + 0.05) / (Math.min(n, a) + 0.05);
}
function v(t, e, n) {
if (B(t, e) >= n) return t;
let a = t.l >= e.l ? 1 : -1;
for (let s of [a, -a]) {
let c = { ...t };
for (let i = 0; i < 60; i++) {
if (c.l = Math.min(1, Math.max(0, c.l + s * 0.02)), B(c, e) >= n) return c;
if (c.l === 0 || c.l === 1) break;
}
}
let o = { ...t, l: 0, c: 0 }, r2 = { ...t, l: 1, c: 0 };
return B(o, e) >= B(r2, e) ? o : r2;
}
function T(t) {
return "#" + Q(t).map((e) => {
let n = e <= 31308e-7 ? 12.92 * e : 1.055 * Math.pow(e, 0.4166666666666667) - 0.055;
return Math.round(n * 255).toString(16).padStart(2, "0");
}).join("");
}
var K = [[0.2, { l: 0.86, c: 0.085 }], [0.36, { l: 0.9, c: 0.028 }], [0.62, { l: 0.73, c: 0.135 }], [0.8, { l: 0.62, c: 0.165 }], [0.93, { l: 0.87, c: 0.16 }], [1, { l: 0.34, c: 0.035 }]];
var At = (t) => {
var _a;
return ((_a = K.find(([e]) => t < e)) == null ? void 0 : _a[1]) ?? K[0][1];
};
var J = { l: 0.145, c: 0, h: 0 };
var W = 1.5;
var Rt = (t, e) => {
let n = At(e), a = v({ l: n.l, c: n.c, h: t }, J, W);
return { bg: { l: 0.965, c: 0.01, h: t }, head: a, eye: a.l >= 0.5 ? { l: 0.17, c: 0.02, h: t } : { l: 0.97, c: 0.012, h: t } };
};
var Ht = [["head", "bg", 1.25], ["eye", "head", 4.5]];
function Ft(t, e = true, n = 0) {
let a = Rt(t, n);
if (e) for (let [o, r2, s] of Ht) a[o] = v(a[o], a[r2], s);
return a;
}
function tt(t, e = true, n = 0) {
let a = Ft(t, e, n), o = {};
for (let r2 in a) o[r2] = T(a[r2]);
return o;
}
var y = (t) => {
let e = Math.round(t * 100) / 100;
return Object.is(e, -0) ? "0" : String(e);
};
function P({ cx: t, cy: e, rx: n, ry: a, n: o = 4, rot: r2 = 0 }) {
let s = Math.min(1, (8 * Math.pow(2, -1 / o) - 4) / 3), c = n, i = a, u = c * s, m = i * s, l = [[c, 0], [c, m], [u, i], [0, i], [-u, i], [-c, m], [-c, 0], [-c, -m], [-u, -i], [0, -i], [u, -i], [c, -m], [c, 0]], b = r2 * Math.PI / 180, p = Math.cos(b), d = Math.sin(b), g = (x) => {
let [f, M] = l[x];
return `${y(t + f * p - M * d)} ${y(e + f * d + M * p)}`;
}, h = `M${g(0)}`;
for (let x = 1; x < 13; x += 3) h += `C${g(x)} ${g(x + 1)} ${g(x + 2)}`;
return h + "Z";
}
function et(t, e, n, a, o, r2 = 0) {
let s = o.length, c = r2 * Math.PI / 180, i = o.map((l, b) => {
let p = c + 2 * Math.PI * b / s;
return [t + n * l * Math.cos(p), e + a * l * Math.sin(p)];
}), u = (l) => i[(l % s + s) % s], m = `M${y(u(0)[0])} ${y(u(0)[1])}`;
for (let l = 0; l < s; l++) {
let [b, p] = u(l - 1), [d, g] = u(l), [h, x] = u(l + 1), [f, M] = u(l + 2);
m += `C${y(d + (h - b) / 6)} ${y(g + (x - p) / 6)} ${y(h - (f - d) / 6)} ${y(x - (M - g) / 6)} ${y(h)} ${y(x)}`;
}
return m + "Z";
}
function nt({ cx: t, cy: e, rx: n, ry: a, sides: o, round: r2 = 0.3, rot: s = 0 }) {
let c = r2 > 0 ? r2 < 1 ? r2 / 2 : 0.5 : 0, i = s * Math.PI / 180 - Math.PI / 2, u = Array.from({ length: o }, (p, d) => {
let g = i + 2 * Math.PI * d / o;
return [t + n * Math.cos(g), e + a * Math.sin(g)];
}), m = (p) => u[(p % o + o) % o], l = (p, d) => {
let [g, h] = m(p), [x, f] = m(d);
return `${y(g + (x - g) * c)} ${y(h + (f - h) * c)}`;
}, b = `M${l(0, -1)}`;
for (let p = 0; p < o; p++) {
let [d, g] = m(p);
if (b += `Q${y(d)} ${y(g)} ${l(p, p + 1)}`, c < 0.5) b += `L${l(p + 1, p)}`;
}
return b + "Z";
}
function rt(t, e, n, a) {
let o = y(t - n), r2 = y(t + n);
return `M${o} ${y(e - a)}H${r2}V${y(e + a)}H${o}Z`;
}
function ot(t, e, n, a, o) {
let r2 = Math.max(1.05, o), s = n * Math.sqrt(1 - 1 / (r2 * r2)), c = e - a / r2, i = e - r2 * a, u = s * 0.14, m = c + 0.86 * (i - c);
return `M${y(t - s)} ${y(c)}L${y(t - u)} ${y(m)}Q${y(t)} ${y(i)} ${y(t + u)} ${y(m)}L${y(t + s)} ${y(c)}Z`;
}
function H(t, e) {
for (let n = 0; n < e.length; n++) t = Math.imul(t ^ e[n], 3432918353), t = t << 13 | t >>> 19;
return t;
}
function jt(t) {
return t = Math.imul(t ^ t >>> 16, 2246822507), t = Math.imul(t ^ t >>> 13, 3266489909), (t ^ t >>> 16) >>> 0;
}
var at = new TextEncoder();
function _t(t) {
return t.normalize("NFC").trim().toLowerCase();
}
function st(t, e = true) {
let n = e ? _t(t) : t;
return H(1779033703 ^ n.length, at.encode(n));
}
function F(t, e) {
return jt(H(H(t, Uint8Array.of(255)), at.encode(e))) / 4294967296;
}
function ct(t, e = true, n) {
let a = st(t, e), o = (r2) => {
let s = n == null ? void 0 : n[r2], c = Array.isArray(s) ? s[Math.floor(F(a, r2) * s.length)] : s;
return c === void 0 ? F(a, r2) : c > 0 ? c < 1 ? c : 0.999999 : 0;
};
return o.num = (r2, s, c) => s + o(r2) * (c - s), o.int = (r2, s, c) => s + Math.floor(o(r2) * (c - s + 1)), o.pick = (r2, s) => s[Math.floor(o(r2) * s.length)], o.bool = (r2, s = 0.5) => o(r2) < s, o.jitter = (r2, s) => (o(r2) * 2 - 1) * s, o;
}
function I(t, e, n) {
let a = e.expression;
if (n || !a) return { l: t, wrap: "" };
return a.bake(t, a.p);
}
var j = (t, e) => (e == null ? void 0 : e.tint) ? e.tint(t, e.p) : t;
var it = (t, e) => e ? `