@phantomclient/plugin 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -0
- package/dist/lib/chunks/api-B2tHXZiJ.js +9 -0
- package/dist/lib/chunks/sdk-permissions-BnKU1K9D.js +43 -0
- package/dist/lib/chunks/state-kAlKf5xt.js +33 -0
- package/dist/lib/guest.js +4490 -0
- package/dist/lib/index.js +77 -0
- package/dist/lib/styles.css +1 -0
- package/dist/lib/styles.js +1 -0
- package/dist/lib/vue.js +149 -0
- package/dist/runtime/assets/dm-mono-latin-400-normal--0xN8mdc.woff +0 -0
- package/dist/runtime/assets/dm-mono-latin-400-normal-4GdczIuU.woff2 +0 -0
- package/dist/runtime/assets/ibm-plex-sans-latin-400-normal-CDDApCn2.woff2 +0 -0
- package/dist/runtime/assets/ibm-plex-sans-latin-400-normal-CYLoc0-x.woff +0 -0
- package/dist/runtime/assets/ibm-plex-sans-latin-500-normal-6ng42L7E.woff2 +0 -0
- package/dist/runtime/assets/ibm-plex-sans-latin-500-normal-BgVn5rGT.woff +0 -0
- package/dist/runtime/assets/ibm-plex-sans-latin-600-normal-Cu4Hd6ag.woff +0 -0
- package/dist/runtime/assets/ibm-plex-sans-latin-600-normal-CuJfVYMP.woff2 +0 -0
- package/dist/runtime/assets/instrument-sans-latin-600-normal-B7fBEWYG.woff2 +0 -0
- package/dist/runtime/assets/instrument-sans-latin-600-normal-B9e8oLYv.woff +0 -0
- package/dist/runtime/chunks/api-Bj1J6wAH.js +1 -0
- package/dist/runtime/chunks/runtime-dom.esm-bundler-BbCcCl6A.js +4 -0
- package/dist/runtime/chunks/sdk-permissions-D_NYB67a.js +1 -0
- package/dist/runtime/chunks/state-CFbUQLzX.js +1 -0
- package/dist/runtime/frame.html +18 -0
- package/dist/runtime/runtime.css +1 -0
- package/dist/runtime/runtime.js +1 -0
- package/dist/runtime/sdk-vue.js +1 -0
- package/dist/runtime/sdk.js +1 -0
- package/dist/runtime/vue.js +1 -0
- package/dist/types/index.d.ts +9156 -0
- package/dist/types/vue.d.ts +6425 -0
- package/package.json +24 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
package/dist/lib/vue.js
ADDED
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import { computed as u, inject as Y, h as P, toValue as E, defineComponent as k, useAttrs as L, useSlots as W, openBlock as o, createBlock as v, resolveDynamicComponent as $, normalizeClass as m, withCtx as N, createElementBlock as n, createCommentVNode as i, renderSlot as z, ref as C, watch as O, toDisplayString as x, createElementVNode as y, useId as D, onMounted as H, onBeforeUnmount as K, Fragment as A, withKeys as ee, unref as w, createVNode as G, Teleport as X, normalizeStyle as R, createTextVNode as Z, createSlots as te, mergeProps as ae, renderList as J, nextTick as oe } from "vue";
|
|
2
|
+
import { P as ne } from "./chunks/api-B2tHXZiJ.js";
|
|
3
|
+
import { f as F, P as se, c as le } from "./chunks/state-kAlKf5xt.js";
|
|
4
|
+
function re() {
|
|
5
|
+
const e = Y(se, null) ?? le();
|
|
6
|
+
if (!e) throw new ne("NOT_SUPPORTED", "usePlugin() works inside a Phantom plugin frame; this component was drawn outside one");
|
|
7
|
+
return e;
|
|
8
|
+
}
|
|
9
|
+
function at(e) {
|
|
10
|
+
return re().phantom(e);
|
|
11
|
+
}
|
|
12
|
+
function ot() {
|
|
13
|
+
return u(() => F.games);
|
|
14
|
+
}
|
|
15
|
+
function nt() {
|
|
16
|
+
return u(() => F.preferences);
|
|
17
|
+
}
|
|
18
|
+
function st() {
|
|
19
|
+
return u(() => F.mode);
|
|
20
|
+
}
|
|
21
|
+
const ie = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
22
|
+
var M = { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": 2, "stroke-linecap": "round", "stroke-linejoin": "round" };
|
|
23
|
+
const de = ({ size: e, strokeWidth: a = 2, absoluteStrokeWidth: t, color: r, iconNode: l, name: s, class: d, ...b }, { slots: f }) => P("svg", { ...M, width: e || M.width, height: e || M.height, stroke: r || M.stroke, "stroke-width": t ? Number(a) * 24 / Number(e) : a, class: ["lucide", `lucide-${ie(s ?? "icon")}`], ...b }, [...l.map((c) => P(...c)), ...f.default ? [f.default()] : []]), j = (e, a) => (t, { slots: r }) => P(de, { ...t, iconNode: a, name: e }, r), ue = j("CircleAlertIcon", [["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }], ["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }], ["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]]), pe = j("EyeOffIcon", [["path", { d: "M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49", key: "ct8e1f" }], ["path", { d: "M14.084 14.158a3 3 0 0 1-4.242-4.242", key: "151rxh" }], ["path", { d: "M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143", key: "13bj9a" }], ["path", { d: "m2 2 20 20", key: "1ooewy" }]]), ce = j("EyeIcon", [["path", { d: "M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0", key: "1nclc0" }], ["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]]), me = j("InfoIcon", [["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }], ["path", { d: "M12 16v-4", key: "1dtifu" }], ["path", { d: "M12 8h.01", key: "e9boi3" }]]), he = j("LoaderCircleIcon", [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]]), U = { xs: "w-6", sm: "w-7", md: "w-8", lg: "w-10", xl: "w-10" };
|
|
24
|
+
function be(e) {
|
|
25
|
+
const a = u(() => {
|
|
26
|
+
const r = { xs: "h-6 px-2 text-2xs", sm: "h-7 px-2.5 text-xs", md: "h-8 px-3 text-xs", lg: "h-10 px-3.5 text-sm", xl: "h-10 px-4 text-sm" };
|
|
27
|
+
return r[E(e)] || r.md;
|
|
28
|
+
}), t = u(() => U[E(e)] || U.md);
|
|
29
|
+
return { sizeClasses: a, squareClasses: t };
|
|
30
|
+
}
|
|
31
|
+
function xe(e) {
|
|
32
|
+
return { variantClasses: u(() => {
|
|
33
|
+
const a = { primary: ["border-transparent bg-phantom-accent text-phantom-accent-contrast", "hover:bg-phantom-accent-hover", "active:bg-phantom-accent-active"].join(" "), secondary: ["border-transparent bg-phantom-surface text-phantom-text", "hover:bg-phantom-selected", "active:bg-phantom-elevated"].join(" "), outline: ["border-phantom-border bg-transparent text-phantom-text", "hover:border-phantom-border-strong hover:bg-phantom-surface", "active:bg-phantom-selected"].join(" "), ghost: ["border-transparent bg-transparent text-phantom-muted", "hover:bg-phantom-surface hover:text-phantom-text", "active:bg-phantom-selected"].join(" "), danger: ["border-transparent bg-phantom-danger/[0.12] text-phantom-danger", "hover:bg-phantom-danger/20 hover:text-phantom-danger-hover", "active:bg-phantom-danger/25"].join(" "), success: ["border-transparent bg-phantom-positive/15 text-phantom-positive-strong", "hover:bg-phantom-positive/[0.22]", "active:bg-phantom-positive/[0.28]"].join(" ") };
|
|
34
|
+
return a[E(e)] || a.primary;
|
|
35
|
+
}) };
|
|
36
|
+
}
|
|
37
|
+
const fe = { key: 0, class: "size-3.5 shrink-0 animate-spin rounded-full border border-current border-r-transparent", "aria-hidden": "true" }, lt = k({ __name: "index", props: { variant: { default: "primary" }, size: { default: "md" }, disabled: { type: Boolean, default: !1 }, loading: { type: Boolean, default: !1 }, icon: {}, iconRight: {}, type: { default: "button" }, fullWidth: { type: Boolean, default: !1 }, href: {} }, emits: ["click"], setup(e, { emit: a }) {
|
|
38
|
+
const t = e, r = a, l = L(), s = W(), { variantClasses: d } = xe(() => t.variant), { sizeClasses: b, squareClasses: f } = be(() => t.size), c = u(() => typeof l.class == "string" && /(^|\s)rounded(-|\s|$)/.test(l.class)), h = u(() => !!(t.icon || t.iconRight) && !t.loading && !s.default), p = u(() => ["inline-flex items-center justify-center gap-1.5", c.value ? "" : "rounded-[7px]", "border font-medium tracking-normal", "transition-[background-color,border-color,color,box-shadow,transform] duration-150 ease-spring", "active:scale-[0.98]", "focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-phantom-accent/60", "disabled:opacity-50 disabled:cursor-not-allowed disabled:pointer-events-none", d.value, b.value, h.value && ["px-0", f.value], t.fullWidth && "w-full", t.loading && "cursor-wait", l.class]), g = u(() => t.href !== void 0), _ = u(() => t.disabled || t.loading), q = (V) => {
|
|
39
|
+
!t.disabled && !t.loading && r("click", V);
|
|
40
|
+
};
|
|
41
|
+
return (V, I) => (o(), v($(g.value ? "a" : "button"), { type: g.value ? void 0 : t.type, href: g.value && !_.value ? t.href : void 0, disabled: g.value ? void 0 : _.value, "aria-disabled": g.value && _.value ? "true" : void 0, class: m([p.value, g.value && _.value && "pointer-events-none cursor-not-allowed opacity-50"]), onClick: q }, { default: N(() => [t.loading ? (o(), n("span", fe)) : t.icon ? (o(), v($(t.icon), { key: 1, size: 14, class: "shrink-0" })) : i("", !0), z(V.$slots, "default"), t.iconRight && !t.loading ? (o(), v($(t.iconRight), { key: 2, size: 14, class: "shrink-0" })) : i("", !0)]), _: 3 }, 8, ["type", "href", "disabled", "aria-disabled", "class"]));
|
|
42
|
+
} }), ge = ["title"], ve = ["src", "alt"], ye = { key: 1 }, rt = k({ __name: "index", props: { name: {}, imageUrl: { default: null }, size: { default: "md" } }, setup(e) {
|
|
43
|
+
const a = e, t = C(!1), r = u(() => a.name.split(/\s+|@/).filter(Boolean).slice(0, 2).map((s) => s[0]).join("").toUpperCase()), l = u(() => a.size === "sm" ? "size-6 text-[8px]" : a.size === "lg" ? "size-10 text-xs" : a.size === "xl" ? "size-16 text-base" : "size-8 text-2xs");
|
|
44
|
+
return O(() => a.imageUrl, () => {
|
|
45
|
+
t.value = !1;
|
|
46
|
+
}), (s, d) => (o(), n("span", { class: m(["grid shrink-0 place-items-center overflow-hidden rounded-full bg-phantom-selected font-semibold text-phantom-muted", l.value]), title: a.name }, [a.imageUrl && !t.value ? (o(), n("img", { key: 0, src: a.imageUrl, alt: a.name, class: "size-full object-cover", referrerpolicy: "no-referrer", onError: d[0] || (d[0] = (b) => t.value = !0) }, null, 40, ve)) : (o(), n("span", ye, x(r.value), 1))], 10, ge));
|
|
47
|
+
} }), ke = ["data-tone", "data-quiet"], it = k({ __name: "index", props: { tone: { default: "neutral" }, dot: { type: Boolean, default: !1 }, size: { default: "md" }, quiet: { type: Boolean, default: !1 } }, setup(e) {
|
|
48
|
+
const a = e, t = u(() => {
|
|
49
|
+
const s = { neutral: "bg-phantom-selected text-phantom-muted", success: "bg-phantom-positive/15 text-phantom-positive-strong", warning: "bg-phantom-amber/15 text-phantom-amber", danger: "bg-phantom-danger/15 text-phantom-danger", info: "bg-phantom-info/15 text-phantom-info", blue: "bg-phantom-blue/15 text-phantom-blue", violet: "bg-phantom-violet/15 text-phantom-violet", aqua: "bg-phantom-aqua/15 text-phantom-aqua", orange: "bg-phantom-orange/15 text-phantom-orange", magenta: "bg-phantom-magenta/15 text-phantom-magenta" };
|
|
50
|
+
return a.quiet ? "bg-transparent text-phantom-muted" : s[a.tone];
|
|
51
|
+
}), r = u(() => a.quiet ? { neutral: "bg-phantom-subtle", success: "bg-phantom-positive", warning: "bg-phantom-amber", danger: "bg-phantom-danger", info: "bg-phantom-info", blue: "bg-phantom-blue", violet: "bg-phantom-violet", aqua: "bg-phantom-aqua", orange: "bg-phantom-orange", magenta: "bg-phantom-magenta" }[a.tone] : "bg-current"), l = u(() => {
|
|
52
|
+
const s = a.size === "sm";
|
|
53
|
+
return a.quiet ? s ? "h-[18px] gap-1.5 text-2xs" : "h-6 gap-1.5 text-xs" : s ? "h-[18px] gap-1 rounded px-1.5 text-[10px] leading-4" : "h-6 gap-1.5 rounded-full px-2.5 text-xs capitalize";
|
|
54
|
+
});
|
|
55
|
+
return (s, d) => (o(), n("span", { class: m(["phantom-badge inline-flex shrink-0 items-center font-medium", [t.value, l.value]]), "data-tone": a.tone, "data-quiet": a.quiet || void 0 }, [a.dot || a.quiet ? (o(), n("span", { key: 0, class: m(["size-1.5 shrink-0 rounded-full", r.value]), "aria-hidden": "true" }, null, 2)) : i("", !0), z(s.$slots, "default")], 10, ke));
|
|
56
|
+
} }), we = ["role"], ze = { class: "min-w-0 flex-1" }, dt = k({ __name: "index", props: { tone: { default: "neutral" }, icon: { default: void 0 } }, setup(e) {
|
|
57
|
+
const a = e, t = { neutral: { box: "border-phantom-border bg-phantom-surface text-phantom-text", icon: "text-phantom-muted" }, success: { box: "border-phantom-border bg-phantom-surface text-phantom-text", icon: "text-phantom-positive" }, warning: { box: "border-phantom-amber/25 bg-phantom-amber/10 text-phantom-amber", icon: "text-phantom-amber" }, danger: { box: "border-phantom-danger/25 bg-phantom-danger/10 text-phantom-danger", icon: "text-phantom-danger" }, info: { box: "border-phantom-info/25 bg-phantom-info/10 text-phantom-info", icon: "text-phantom-info" } }, r = u(() => t[a.tone]);
|
|
58
|
+
return (l, s) => (o(), n("div", { class: m(["flex items-start gap-2 rounded-lg border px-3 py-2.5 text-xs leading-5", r.value.box]), role: a.tone === "danger" ? "alert" : void 0 }, [a.icon ? (o(), v($(a.icon), { key: 0, size: 14, class: m(["mt-[3px] shrink-0", r.value.icon]) }, null, 8, ["class"])) : i("", !0), y("div", ze, [z(l.$slots, "default")])], 10, we));
|
|
59
|
+
} }), ut = k({ __name: "EmptyState", props: { title: {}, description: { default: void 0 }, icon: { default: void 0 }, size: { default: "sm" }, plain: { type: Boolean, default: !1 } }, setup(e) {
|
|
60
|
+
return (a, t) => (o(), n("div", { class: m(["flex h-full flex-col items-center justify-center text-center", [e.size === "lg" ? "min-h-64 gap-2 rounded-xl px-6 py-14" : "min-h-24 gap-1.5 rounded-lg px-4 py-5", !e.plain && "border border-dashed border-phantom-border"]]) }, [e.icon ? (o(), n("span", { key: 0, class: m(["grid shrink-0 place-items-center border border-phantom-border bg-phantom-surface text-phantom-muted", e.size === "lg" ? "mb-3 size-12 rounded-[14px]" : "mb-2 size-9 rounded-[10px]"]), "aria-hidden": "true" }, [(o(), v($(e.icon), { size: e.size === "lg" ? 20 : 16, "stroke-width": "1.8" }, null, 8, ["size"]))], 2)) : i("", !0), y("p", { class: m(e.size === "lg" ? "text-base font-medium text-phantom-text" : "text-xs font-medium text-phantom-text") }, x(e.title), 3), e.description ? (o(), n("p", { key: 1, class: m(e.size === "lg" ? "max-w-sm text-sm leading-6 text-phantom-muted" : "max-w-72 text-2xs leading-[18px] text-phantom-muted") }, x(e.description), 3)) : i("", !0), a.$slots.default ? (o(), n("div", { key: 2, class: m(e.size === "lg" ? "mt-4" : "mt-3") }, [z(a.$slots, "default")], 2)) : i("", !0)], 2));
|
|
61
|
+
} }), _e = ["aria-label", "aria-describedby"], $e = ["id"], Ce = k({ __name: "InfoTip", props: { text: {}, label: {} }, setup(e) {
|
|
62
|
+
const a = e, t = D(), r = C(null), l = C(null);
|
|
63
|
+
function s() {
|
|
64
|
+
var c;
|
|
65
|
+
const h = (c = r.value) == null ? void 0 : c.getBoundingClientRect();
|
|
66
|
+
if (!h) return;
|
|
67
|
+
const p = 136, g = h.left + h.width / 2, _ = Math.min(Math.max(g, p), window.innerWidth - p);
|
|
68
|
+
l.value = { top: h.top - 8, left: _ };
|
|
69
|
+
}
|
|
70
|
+
function d() {
|
|
71
|
+
l.value = null;
|
|
72
|
+
}
|
|
73
|
+
function b() {
|
|
74
|
+
l.value ? d() : s();
|
|
75
|
+
}
|
|
76
|
+
function f() {
|
|
77
|
+
d();
|
|
78
|
+
}
|
|
79
|
+
return H(() => window.addEventListener("scroll", f, { capture: !0, passive: !0 })), K(() => window.removeEventListener("scroll", f, { capture: !0 })), (c, h) => (o(), n(A, null, [y("button", { ref_key: "button", ref: r, type: "button", class: "inline-grid size-4 shrink-0 place-items-center rounded-full text-phantom-subtle outline-none transition-colors hover:text-phantom-text focus-visible:text-phantom-text focus-visible:ring-2 focus-visible:ring-phantom-accent/30", "aria-label": a.label ? `About ${a.label}` : "More about this", "aria-describedby": l.value ? w(t) : void 0, "data-info-tip": "", onMouseenter: s, onMouseleave: d, onFocus: s, onBlur: d, onClick: b, onKeydown: ee(d, ["escape"]) }, [G(w(me), { size: 12, "stroke-width": "2", "aria-hidden": "true" })], 40, _e), (o(), v(X, { to: "body" }, [l.value ? (o(), n("span", { key: 0, id: w(t), role: "tooltip", class: "pointer-events-none fixed z-[200] w-max max-w-64 bg-phantom-elevated -translate-x-1/2 -translate-y-full rounded-lg border border-phantom-border-strong/80 px-2.5 py-1.5 text-left text-2xs leading-4 text-phantom-text-soft shadow-popover", style: R({ top: `${l.value.top}px`, left: `${l.value.left}px` }) }, x(a.text), 13, $e)) : i("", !0)]))], 64));
|
|
80
|
+
} }), Be = { class: "min-w-0", "data-field": "" }, qe = { key: 0, class: "mb-1.5 flex min-w-0 items-center gap-1.5" }, Ve = ["for"], Se = { key: 1, class: "ml-auto shrink-0 text-2xs text-phantom-subtle" }, je = ["id"], Me = ["id"];
|
|
81
|
+
function Ie(e, a, t) {
|
|
82
|
+
return t || a ? `${e}-note` : void 0;
|
|
83
|
+
}
|
|
84
|
+
const Te = k({ __name: "FieldFrame", props: { for: {}, label: { default: void 0 }, info: { default: void 0 }, optional: { type: Boolean, default: !1 }, hint: { default: void 0 }, error: { default: void 0 }, disabled: { type: Boolean, default: !1 } }, setup(e) {
|
|
85
|
+
const a = e;
|
|
86
|
+
return (t, r) => (o(), n("div", Be, [a.label || t.$slots.label ? (o(), n("div", qe, [y("label", { for: a.for, class: m(["truncate text-xs font-medium text-phantom-text-soft", a.disabled && "opacity-60"]) }, [z(t.$slots, "label", {}, () => [Z(x(a.label), 1)])], 10, Ve), a.info ? (o(), v(Ce, { key: 0, text: a.info, label: a.label }, null, 8, ["text", "label"])) : i("", !0), a.optional ? (o(), n("span", Se, " Optional ")) : i("", !0)])) : i("", !0), z(t.$slots, "default"), a.error ? (o(), n("p", { key: 1, id: `${a.for}-note`, class: "mt-1.5 flex items-start gap-1.5 text-2xs leading-4 text-phantom-danger", role: "alert" }, [G(w(ue), { size: 12, class: "mt-0.5 shrink-0", "aria-hidden": "true" }), y("span", null, x(a.error), 1)], 8, je)) : a.hint ? (o(), n("p", { key: 2, id: `${a.for}-note`, class: "mt-1.5 text-2xs leading-4 text-phantom-subtle" }, x(a.hint), 9, Me)) : i("", !0)]));
|
|
87
|
+
} }), Pe = { class: "group relative min-w-0" }, Ee = ["id", "value", "type", "placeholder", "disabled", "required", "list", "aria-invalid", "aria-describedby"], Ne = { key: 1, class: "absolute inset-y-0 right-1.5 flex items-center gap-1 text-2xs text-phantom-subtle" }, Ae = ["aria-label", "aria-pressed", "title", "disabled"], Re = ["id"], Fe = ["value"], pt = k({ inheritAttrs: !1, __name: "index", props: { modelValue: { default: "" }, id: { default: void 0 }, label: { default: void 0 }, type: { default: "text" }, placeholder: { default: void 0 }, icon: { default: void 0 }, disabled: { type: Boolean, default: !1 }, required: { type: Boolean, default: !1 }, suggestions: { default: void 0 }, size: { default: "md" }, hint: { default: void 0 }, error: { default: void 0 }, info: { default: void 0 }, optional: { type: Boolean, default: !1 } }, emits: ["update:modelValue"], setup(e, { emit: a }) {
|
|
88
|
+
const t = e, r = a, l = { xs: "h-7 text-2xs rounded-md bg-phantom-canvas px-2", sm: "h-8 text-xs rounded-lg bg-phantom-surface px-3", md: "h-9 text-[13px] rounded-lg bg-phantom-surface px-3", lg: "h-10 text-sm rounded-lg bg-phantom-surface px-3" }, s = { xs: 12, sm: 13, md: 14, lg: 15 }, d = L(), b = W(), f = D(), c = u(() => t.id ?? f), h = u(() => {
|
|
89
|
+
var B;
|
|
90
|
+
return (B = t.suggestions) != null && B.length ? `${c.value}-suggestions` : void 0;
|
|
91
|
+
}), p = C(!1), g = u(() => t.type === "password"), _ = u(() => g.value && p.value ? "text" : t.type), q = u(() => !!t.error), V = u(() => Ie(c.value, t.hint, t.error)), I = u(() => g.value || !!b.trailing);
|
|
92
|
+
function Q(B) {
|
|
93
|
+
const S = B.target;
|
|
94
|
+
r("update:modelValue", t.type === "number" ? S.valueAsNumber : S.value);
|
|
95
|
+
}
|
|
96
|
+
return (B, S) => (o(), v(Te, { for: c.value, label: t.label, info: t.info, optional: t.optional, hint: t.hint, error: t.error, disabled: t.disabled, "data-input": "" }, te({ default: N(() => [y("div", Pe, [t.icon ? (o(), v($(t.icon), { key: 0, size: s[t.size], "stroke-width": "1.8", class: m(["pointer-events-none absolute top-1/2 -translate-y-1/2 transition-colors", [t.size === "xs" ? "left-2" : "left-3", q.value ? "text-phantom-danger" : "text-phantom-subtle group-focus-within:text-phantom-text-soft"]]), "aria-hidden": "true" }, null, 8, ["size", "class"])) : i("", !0), y("input", ae(w(d), { id: c.value, value: t.modelValue, type: _.value, placeholder: t.placeholder, disabled: t.disabled, required: t.required, list: h.value, "aria-invalid": q.value || void 0, "aria-describedby": V.value, class: ["w-full min-w-0 border text-phantom-text shadow-[inset_0_1px_0_rgb(0_0_0/0.04)] outline-none transition-[border-color,background-color,box-shadow] placeholder:text-phantom-subtle hover:border-phantom-border-strong focus:bg-phantom-selected focus:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50", [l[t.size], t.icon && (t.size === "xs" ? "pl-7" : "pl-9"), I.value && "pr-10", q.value ? "border-phantom-danger/60 hover:border-phantom-danger/80 focus:border-phantom-danger/80 focus:ring-phantom-danger/15" : "border-phantom-border focus:border-phantom-border-strong focus:ring-phantom-accent/10"]], onInput: Q }), null, 16, Ee), I.value ? (o(), n("span", Ne, [z(B.$slots, "trailing"), g.value ? (o(), n("button", { key: 0, type: "button", class: "grid size-7 place-items-center rounded-md text-phantom-subtle outline-none transition-colors hover:bg-phantom-selected hover:text-phantom-text focus-visible:ring-2 focus-visible:ring-phantom-accent/30 disabled:pointer-events-none", "aria-label": p.value ? "Hide password" : "Show password", "aria-pressed": p.value, title: p.value ? "Hide password" : "Show password", disabled: t.disabled, "data-reveal-password": "", onClick: S[0] || (S[0] = (T) => p.value = !p.value) }, [(o(), v($(p.value ? w(pe) : w(ce)), { size: 14, "stroke-width": "1.8" }))], 8, Ae)) : i("", !0)])) : i("", !0), h.value ? (o(), n("datalist", { key: 2, id: h.value }, [(o(!0), n(A, null, J(t.suggestions, (T) => (o(), n("option", { key: T, value: T }, null, 8, Fe))), 128))], 8, Re)) : i("", !0)])]), _: 2 }, [w(b).label ? { name: "label", fn: N(() => [z(B.$slots, "label")]), key: "0" } : void 0]), 1032, ["for", "label", "info", "optional", "hint", "error", "disabled"]));
|
|
97
|
+
} }), Ue = { class: "flex flex-wrap items-end justify-between gap-4" }, Le = { class: "min-w-0" }, We = { key: 0, class: "mb-1 text-xs font-medium text-phantom-subtle" }, Oe = { class: "text-display text-phantom-text" }, De = { key: 1, class: "mt-1.5 max-w-xl text-[13px] leading-6 text-phantom-muted" }, He = { key: 0, class: "flex shrink-0 flex-wrap items-center gap-2" }, ct = k({ __name: "index", props: { title: {}, eyebrow: { default: void 0 }, description: { default: void 0 } }, setup(e) {
|
|
98
|
+
return (a, t) => (o(), n("header", Ue, [y("div", Le, [e.eyebrow ? (o(), n("p", We, x(e.eyebrow), 1)) : i("", !0), y("h1", Oe, x(e.title), 1), e.description ? (o(), n("p", De, x(e.description), 1)) : i("", !0)]), a.$slots.actions ? (o(), n("div", He, [z(a.$slots, "actions")])) : i("", !0)]));
|
|
99
|
+
} }), Ke = ["aria-selected", "onClick"], Ge = { key: 1, class: "text-2xs text-phantom-subtle" }, mt = k({ __name: "index", props: { modelValue: {}, options: {}, variant: { default: "pill" }, size: { default: "md" }, track: { type: Boolean, default: !1 }, block: { type: Boolean, default: !1 } }, emits: ["update:modelValue"], setup(e, { emit: a }) {
|
|
100
|
+
const t = e, r = a, l = C(null), s = C(null), d = C(!1);
|
|
101
|
+
function b() {
|
|
102
|
+
var c;
|
|
103
|
+
const h = (c = l.value) == null ? void 0 : c.querySelector('[aria-selected="true"]');
|
|
104
|
+
s.value = h ? { left: h.offsetLeft, width: h.offsetWidth } : null;
|
|
105
|
+
}
|
|
106
|
+
let f = null;
|
|
107
|
+
return H(() => {
|
|
108
|
+
b(), requestAnimationFrame(() => d.value = !0), f = new ResizeObserver(() => b()), l.value && f.observe(l.value);
|
|
109
|
+
}), K(() => f == null ? void 0 : f.disconnect()), O(() => [t.modelValue, t.options.map((c) => `${c.label}${c.badge ?? ""}`)], () => {
|
|
110
|
+
oe(b);
|
|
111
|
+
}, { deep: !0 }), (c, h) => (o(), n("div", { ref_key: "root", ref: l, class: m(["relative items-center", [e.block ? "flex w-full" : "inline-flex", e.variant === "underline" ? "gap-6" : "gap-0.5 rounded-lg p-0.5", e.variant === "pill" && e.track && "border border-phantom-border bg-phantom-surface"]]), role: "tablist" }, [s.value ? (o(), n("span", { key: 0, class: m(["absolute left-0", [e.variant === "underline" ? "bottom-0 h-0.5 rounded-full bg-phantom-text" : "phantom-segment-indicator inset-y-0.5 rounded-md bg-phantom-selected shadow-sm", d.value && "transition-[transform,width] duration-300 ease-spring"]]), style: R({ transform: `translateX(${s.value.left}px)`, width: `${s.value.width}px` }), "aria-hidden": "true" }, null, 6)) : i("", !0), (o(!0), n(A, null, J(e.options, (p) => (o(), n("button", { key: p.value, type: "button", role: "tab", "aria-selected": p.value === e.modelValue, class: m(["relative inline-flex items-center gap-1.5 font-medium transition-colors duration-150", [e.block && "flex-1 justify-center", e.variant === "underline" ? "py-3 text-sm" : e.size === "sm" ? "rounded-md px-2 py-0.5 text-2xs" : "rounded-md px-2.5 py-1 text-xs", p.value === e.modelValue ? "text-phantom-text" : "text-phantom-muted hover:text-phantom-text", e.variant === "underline" && !s.value && p.value === e.modelValue && "shadow-[inset_0_-2px_0_rgb(var(--phantom-text))]"]]), onClick: (g) => r("update:modelValue", p.value) }, [p.icon ? (o(), v($(p.icon), { key: 0, size: e.size === "sm" ? 12 : 13, class: "shrink-0", "aria-hidden": "true" }, null, 8, ["size"])) : i("", !0), Z(" " + x(p.label) + " ", 1), p.badge !== void 0 ? (o(), n("span", Ge, x(p.badge), 1)) : i("", !0)], 10, Ke))), 128))], 2));
|
|
112
|
+
} }), ht = k({ __name: "Spinner", props: { size: { default: 13 } }, setup(e) {
|
|
113
|
+
return (a, t) => (o(), v(w(he), { size: e.size, class: "animate-spin", "aria-hidden": "true" }, null, 8, ["size"]));
|
|
114
|
+
} }), Xe = ["checked", "disabled", "aria-label"], bt = k({ __name: "Switch", props: { modelValue: { type: Boolean }, label: { default: void 0 }, disabled: { type: Boolean, default: !1 } }, emits: ["update:modelValue"], setup(e, { emit: a }) {
|
|
115
|
+
const t = e, r = a;
|
|
116
|
+
function l(s) {
|
|
117
|
+
const d = s.currentTarget;
|
|
118
|
+
t.disabled || d.closest("label") || r("update:modelValue", !t.modelValue);
|
|
119
|
+
}
|
|
120
|
+
return (s, d) => (o(), n("span", { class: m(["relative inline-flex shrink-0", e.disabled ? "opacity-50" : "cursor-pointer"]), onClick: l }, [y("input", { type: "checkbox", role: "switch", class: "peer sr-only", checked: e.modelValue, disabled: e.disabled, "aria-label": e.label, onChange: d[0] || (d[0] = (b) => r("update:modelValue", b.target.checked)) }, null, 40, Xe), y("span", { class: m(["relative h-[17px] w-[30px] rounded-full border border-phantom-border-strong bg-phantom-surface transition-[background-color,border-color] duration-150 peer-checked:border-phantom-text-soft peer-checked:bg-phantom-text-soft peer-checked:[&>span]:translate-x-[13px] peer-checked:[&>span]:bg-phantom-accent-contrast peer-focus-visible:ring-2 peer-focus-visible:ring-phantom-accent/30", !e.disabled && "hover:border-phantom-muted peer-checked:hover:border-phantom-text"]), "aria-hidden": "true" }, [...d[1] || (d[1] = [y("span", { class: "absolute left-[2px] top-[2px] size-[11px] rounded-full bg-phantom-subtle shadow-[0_1px_2px_rgb(var(--phantom-shadow)/0.35)] transition-[transform,background-color] duration-200 ease-spring" }, null, -1)])], 2)], 2));
|
|
121
|
+
} }), Ze = { class: "block text-xs font-semibold text-phantom-text" }, Je = { key: 0, class: "mt-0.5 block text-2xs text-phantom-subtle" }, Qe = { key: 1, class: "mt-1 block text-2xs text-phantom-amber" }, xt = k({ __name: "Tooltip", props: { at: {}, title: {}, description: {}, note: {} }, setup(e) {
|
|
122
|
+
return (a, t) => (o(), v(X, { to: "body" }, [e.at ? (o(), n("span", { key: 0, role: "tooltip", class: "phantom-glass-raised pointer-events-none fixed z-[200] max-w-56 -translate-y-1/2 rounded-lg border border-phantom-border-strong/80 px-2.5 py-1.5 text-left", style: R({ top: `${e.at.top}px`, left: `${e.at.left}px` }) }, [y("span", Ze, x(e.title), 1), e.description ? (o(), n("span", Je, x(e.description), 1)) : i("", !0), e.note ? (o(), n("span", Qe, x(e.note), 1)) : i("", !0)], 4)) : i("", !0)]));
|
|
123
|
+
} });
|
|
124
|
+
function ft(e, a = 10) {
|
|
125
|
+
const t = e.getBoundingClientRect();
|
|
126
|
+
return { top: t.top + t.height / 2, left: t.right + a };
|
|
127
|
+
}
|
|
128
|
+
C("dark");
|
|
129
|
+
export {
|
|
130
|
+
rt as Avatar,
|
|
131
|
+
it as Badge,
|
|
132
|
+
lt as Button,
|
|
133
|
+
dt as Callout,
|
|
134
|
+
ut as EmptyState,
|
|
135
|
+
Te as FieldFrame,
|
|
136
|
+
Ce as InfoTip,
|
|
137
|
+
pt as Input,
|
|
138
|
+
ct as PageHeader,
|
|
139
|
+
mt as SegmentedControl,
|
|
140
|
+
ht as Spinner,
|
|
141
|
+
bt as Switch,
|
|
142
|
+
xt as Tooltip,
|
|
143
|
+
ft as tooltipBeside,
|
|
144
|
+
ot as useGames,
|
|
145
|
+
at as usePhantom,
|
|
146
|
+
re as usePlugin,
|
|
147
|
+
nt as usePreferences,
|
|
148
|
+
st as useThemeMode
|
|
149
|
+
};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
class e extends Error{constructor(r,o){super(o),this.code=r,this.name="PluginError"}code}export{e as P};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
function cs(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const X={},Vt=[],ke=()=>{},wi=()=>!1,bn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),fs=e=>e.startsWith("onUpdate:"),ne=Object.assign,pr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},al=Object.prototype.hasOwnProperty,z=(e,t)=>al.call(e,t),H=Array.isArray,gt=e=>Wt(e)==="[object Map]",Xe=e=>Wt(e)==="[object Set]",Br=e=>Wt(e)==="[object Date]",ul=e=>Wt(e)==="[object RegExp]",W=e=>typeof e=="function",re=e=>typeof e=="string",Le=e=>typeof e=="symbol",ee=e=>e!==null&&typeof e=="object",gr=e=>(ee(e)||W(e))&&W(e.then)&&W(e.catch),Ai=Object.prototype.toString,Wt=e=>Ai.call(e),hl=e=>Wt(e).slice(8,-1),as=e=>Wt(e)==="[object Object]",us=e=>re(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,St=cs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),hs=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},dl=/-\w/g,_e=hs(e=>e.replace(dl,t=>t.slice(1).toUpperCase())),pl=/\B([A-Z])/g,Re=hs(e=>e.replace(pl,"-$1").toLowerCase()),ds=hs(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ln=hs(e=>e?`on${ds(e)}`:""),be=(e,t)=>!Object.is(e,t),kt=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Pi=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},ps=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Bn=e=>{const t=re(e)?Number(e):NaN;return isNaN(t)?e:t};let $r;const gs=()=>$r||($r=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),gl="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol",_l=cs(gl);function _s(e){if(H(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=re(s)?vl(s):_s(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(re(e)||ee(e))return e}const ml=/;(?![^(]*\))/g,bl=/:([^]+)/,yl=/\/\*[^]*?\*\//g;function vl(e){const t={};return e.replace(yl,"").split(ml).forEach(n=>{if(n){const s=n.split(bl);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function ms(e){let t="";if(re(e))t=e;else if(H(e))for(let n=0;n<e.length;n++){const s=ms(e[n]);s&&(t+=s+" ")}else if(ee(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Ca(e){if(!e)return null;let{class:t,style:n}=e;return t&&!re(t)&&(e.class=ms(t)),n&&(e.style=_s(n)),e}const Cl="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Tl=cs(Cl);function Ri(e){return!!e||e===""}function El(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=He(e[s],t[s]);return n}function jr(e,t){if(e.size!==t.size)return!1;const n=Array.from(t),s=new Uint8Array(n.length);for(const r of e){let i=-1;for(let o=0;o<n.length;o++)if(!s[o]&&He(r,n[o])){i=o;break}if(i<0)return!1;s[i]=1}return!0}function He(e,t){if(e===t)return!0;let n=Br(e),s=Br(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=Le(e),s=Le(t),n||s)return e===t;if(n=H(e),s=H(t),n||s)return n&&s?El(e,t):!1;if(n=ee(e),s=ee(t),n||s){if(!n||!s)return!1;if(n=gt(e),s=gt(t),n||s||(n=Xe(e),s=Xe(t),n||s))return n&&s?jr(e,t):!1;const r=Object.keys(e).length,i=Object.keys(t).length;if(r!==i)return!1;for(const o in e){const l=e.hasOwnProperty(o),c=t.hasOwnProperty(o);if(l&&!c||!l&&c||!He(e[o],t[o]))return!1}}return String(e)===String(t)}function bs(e,t){return e.findIndex(n=>He(n,t))}const Oi=e=>!!(e&&e.__v_isRef===!0),Sl=e=>re(e)?e:e==null?"":H(e)||ee(e)&&(e.toString===Ai||!W(e.toString))?Oi(e)?Sl(e.value):JSON.stringify(e,Mi,2):String(e),Mi=(e,t)=>Oi(t)?Mi(e,t.value):gt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[Ds(s,i)+" =>"]=r,n),{})}:Xe(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ds(n))}:Le(t)?Ds(t):ee(t)&&!H(t)&&!as(t)?String(t):t,Ds=(e,t="")=>{var n;return Le(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function xl(e){return e==null?"initial":typeof e=="string"?e===""?" ":e:String(e)}let ge;class Ni{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&ge&&(ge.active?(this.parent=ge,this.index=(ge.scopes||(ge.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes){const s=this.scopes.slice();for(t=0,n=s.length;t<n;t++)s[t].pause()}for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes){const r=this.scopes.slice();for(t=0,n=r.length;t<n;t++)r[t].resume()}const s=this.effects.slice();for(t=0,n=s.length;t<n;t++)s[t].resume()}}run(t){if(this._active){const n=ge;try{return ge=this,t()}finally{ge=n}}}on(){++this._on===1&&(this.prevScope=ge,ge=this)}off(){if(this._on>0&&--this._on===0){if(ge===this)ge=this.prevScope;else{let t=ge;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){const r=this.scopes.slice();for(n=0,s=r.length;n<s;n++)r[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function Ta(e){return new Ni(e)}function wl(){return ge}function Ea(e,t=!1){ge&&ge.cleanups.push(e)}let le;const Vs=new WeakSet;class $n{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,ge&&(ge.active?ge.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Vs.has(this)&&(Vs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Fi(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Kr(this),Li(this);const t=le,n=je;le=this,je=!0;try{return this.fn()}finally{Di(this),le=t,je=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)br(t);this.deps=this.depsTail=void 0,Kr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Vs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Js(this)&&this.run()}get dirty(){return Js(this)}}let Ii=0,rn,on;function Fi(e,t=!1){if(e.flags|=8,t){e.next=on,on=e;return}e.next=rn,rn=e}function _r(){Ii++}function mr(){if(--Ii>0)return;if(on){let t=on;for(on=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;rn;){let t=rn;for(rn=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Li(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Di(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),br(s),Al(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function Js(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Vi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Vi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===an)||(e.globalVersion=an,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Js(e))))return;e.flags|=2;const t=e.dep,n=le,s=je;le=e,je=!0;try{Li(e);const r=e.fn(e._value);(t.version===0||be(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{le=n,je=s,Di(e),e.flags&=-3}}function br(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)br(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Al(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function Sa(e,t){e.effect instanceof $n&&(e=e.effect.fn);const n=new $n(e);t&&ne(n,t);try{n.run()}catch(r){throw n.stop(),r}const s=n.run.bind(n);return s.effect=n,s}function xa(e){e.effect.stop()}let je=!0;const ki=[];function it(){ki.push(je),je=!1}function ot(){const e=ki.pop();je=e===void 0?!0:e}function Kr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=le;le=void 0;try{t()}finally{le=n}}}let an=0;class Pl{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class ys{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!le||!je||le===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==le)n=this.activeLink=new Pl(le,this),le.deps?(n.prevDep=le.depsTail,le.depsTail.nextDep=n,le.depsTail=n):le.deps=le.depsTail=n,Hi(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=le.depsTail,n.nextDep=void 0,le.depsTail.nextDep=n,le.depsTail=n,le.deps===n&&(le.deps=s)}return n}trigger(t){this.version++,an++,this.notify(t)}notify(t){_r();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{mr()}}}function Hi(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)Hi(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const jn=new WeakMap,xt=Symbol(""),Ys=Symbol(""),un=Symbol("");function Te(e,t,n){if(je&&le){let s=jn.get(e);s||jn.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new ys),r.map=s,r.key=n),r.track()}}function et(e,t,n,s,r,i){const o=jn.get(e);if(!o){an++;return}const l=c=>{c&&c.trigger()};if(_r(),t==="clear")o.forEach(l);else{const c=H(e),a=c&&us(n);if(c&&n==="length"){const f=Number(s);o.forEach((h,m)=>{(m==="length"||m===un||!Le(m)&&m>=f)&&l(h)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),a&&l(o.get(un)),t){case"add":c?a&&l(o.get("length")):(l(o.get(xt)),gt(e)&&l(o.get(Ys)));break;case"delete":c||(l(o.get(xt)),gt(e)&&l(o.get(Ys)));break;case"set":gt(e)&&l(o.get(xt));break}}mr()}function Rl(e,t){const n=jn.get(e);return n&&n.get(t)}function Nt(e){const t=Q(e);return t===e?t:(Te(t,"iterate",un),Fe(e)?t:t.map(Ke))}function vs(e){return Te(e=Q(e),"iterate",un),e}function Ye(e,t){return lt(e)?$t(_t(e)?Ke(t):t):Ke(t)}const Ol={__proto__:null,[Symbol.iterator](){return ks(this,Symbol.iterator,e=>Ye(this,e))},concat(...e){return Nt(this).concat(...e.map(t=>H(t)?Nt(t):t))},entries(){return ks(this,"entries",e=>(e[1]=Ye(this,e[1]),e))},every(e,t){return Ze(this,"every",e,t,void 0,arguments)},filter(e,t){return Ze(this,"filter",e,t,n=>n.map(s=>Ye(this,s)),arguments)},find(e,t){return Ze(this,"find",e,t,n=>Ye(this,n),arguments)},findIndex(e,t){return Ze(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ze(this,"findLast",e,t,n=>Ye(this,n),arguments)},findLastIndex(e,t){return Ze(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ze(this,"forEach",e,t,void 0,arguments)},includes(...e){return Hs(this,"includes",e)},indexOf(...e){return Hs(this,"indexOf",e)},join(e){return Nt(this).join(e)},lastIndexOf(...e){return Hs(this,"lastIndexOf",e)},map(e,t){return Ze(this,"map",e,t,void 0,arguments)},pop(){return Xt(this,"pop")},push(...e){return Xt(this,"push",e)},reduce(e,...t){return Wr(this,"reduce",e,t)},reduceRight(e,...t){return Wr(this,"reduceRight",e,t)},shift(){return Xt(this,"shift")},some(e,t){return Ze(this,"some",e,t,void 0,arguments)},splice(...e){return Xt(this,"splice",e)},toReversed(){return Nt(this).toReversed()},toSorted(e){return Nt(this).toSorted(e)},toSpliced(...e){return Nt(this).toSpliced(...e)},unshift(...e){return Xt(this,"unshift",e)},values(){return ks(this,"values",e=>Ye(this,e))}};function ks(e,t,n){const s=vs(e),r=s[t]();return s!==e&&!Fe(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.done||(i.value=n(i.value)),i}),r}const Ml=Array.prototype;function Ze(e,t,n,s,r,i){const o=vs(e),l=o!==e&&!Fe(e),c=o[t];if(c!==Ml[t]){const h=c.apply(e,i);return l?Ke(h):h}let a=n;o!==e&&(l?a=function(h,m){return n.call(this,Ye(e,h),m,e)}:n.length>2&&(a=function(h,m){return n.call(this,h,m,e)}));const f=c.call(o,a,s);return l&&r?r(f):f}function Wr(e,t,n,s){const r=vs(e),i=r!==e&&!Fe(e);let o=n,l=!1;r!==e&&(i?(l=s.length===0,o=function(a,f,h){return l&&(l=!1,a=Ye(e,a)),n.call(this,a,Ye(e,f),h,e)}):n.length>3&&(o=function(a,f,h){return n.call(this,a,f,h,e)}));const c=r[t](o,...s);return l?Ye(e,c):c}function Hs(e,t,n){const s=Q(e);Te(s,"iterate",un);const r=s[t](...n);return(r===-1||r===!1)&&Es(n[0])?(n[0]=Q(n[0]),s[t](...n)):r}function Xt(e,t,n=[]){it(),_r();const s=Q(e)[t].apply(e,n);return mr(),ot(),s}const Nl=cs("__proto__,__v_isRef,__isVue"),Ui=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Le));function Il(e){Le(e)||(e=String(e));const t=Q(this);return Te(t,"has",e),t.hasOwnProperty(e)}class Bi{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?qi:Gi:i?Wi:Ki).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=H(t);if(!r){let c;if(o&&(c=Ol[n]))return c;if(n==="hasOwnProperty")return Il}const l=Reflect.get(t,n,me(t)?t:s);if((Le(n)?Ui.has(n):Nl(n))||(r||Te(t,"get",n),i))return l;if(me(l)){const c=o&&us(n)?l:l.value;return r&&ee(c)?Zs(c):c}return ee(l)?r?Zs(l):yr(l):l}}class $i extends Bi{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];const o=H(t)&&us(n);if(!this._isShallow){const a=lt(i);if(!Fe(s)&&!lt(s)&&(i=Q(i),s=Q(s)),!o&&me(i)&&!me(s))return a||(i.value=s),!0}const l=o?Number(n)<t.length:z(t,n),c=Reflect.set(t,n,s,me(t)?t:r);return t===Q(r)&&c&&(l?be(s,i)&&et(t,"set",n,s):et(t,"add",n,s)),c}deleteProperty(t,n){const s=z(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&et(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!Le(n)||!Ui.has(n))&&Te(t,"has",n),s}ownKeys(t){return Te(t,"iterate",H(t)?"length":xt),Reflect.ownKeys(t)}}class ji extends Bi{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Fl=new $i,Ll=new ji,Dl=new $i(!0),Vl=new ji(!0),Xs=e=>e,Sn=e=>Reflect.getPrototypeOf(e);function kl(e,t,n){return function(...s){const r=this.__v_raw,i=Q(r),o=gt(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,a=r[e](...s),f=n?Xs:t?$t:Ke;return!t&&Te(i,"iterate",c?Ys:xt),ne(Object.create(a),{next(){const{value:h,done:m}=a.next();return m?{value:h,done:m}:{value:l?[f(h[0]),f(h[1])]:f(h),done:m}}})}}function xn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Hl(e,t){const n={get(r){const i=this.__v_raw,o=Q(i),l=Q(r);e||(be(r,l)&&Te(o,"get",r),Te(o,"get",l));const{has:c}=Sn(o),a=t?Xs:e?$t:Ke;if(c.call(o,r))return a(i.get(r));if(c.call(o,l))return a(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&Te(Q(r),"iterate",xt),r.size},has(r){const i=this.__v_raw,o=Q(i),l=Q(r);return e||(be(r,l)&&Te(o,"has",r),Te(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,c=Q(l),a=t?Xs:e?$t:Ke;return!e&&Te(c,"iterate",xt),l.forEach((f,h)=>r.call(i,a(f),a(h),o))}};return ne(n,e?{add:xn("add"),set:xn("set"),delete:xn("delete"),clear:xn("clear")}:{add(r){const i=Q(this),o=Sn(i),l=Q(r),c=!t&&!Fe(r)&&!lt(r)?l:r;return o.has.call(i,c)||be(r,c)&&o.has.call(i,r)||be(l,c)&&o.has.call(i,l)||(i.add(c),et(i,"add",c,c)),this},set(r,i){!t&&!Fe(i)&&!lt(i)&&(i=Q(i));const o=Q(this),{has:l,get:c}=Sn(o);let a=l.call(o,r);a||(r=Q(r),a=l.call(o,r));const f=c.call(o,r);return o.set(r,i),a?be(i,f)&&et(o,"set",r,i):et(o,"add",r,i),this},delete(r){const i=Q(this),{has:o,get:l}=Sn(i);let c=o.call(i,r);c||(r=Q(r),c=o.call(i,r)),l&&l.call(i,r);const a=i.delete(r);return c&&et(i,"delete",r,void 0),a},clear(){const r=Q(this),i=r.size!==0,o=r.clear();return i&&et(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=kl(r,e,t)}),n}function Cs(e,t){const n=Hl(e,t);return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(z(n,r)&&r in s?n:s,r,i)}const Ul={get:Cs(!1,!1)},Bl={get:Cs(!1,!0)},$l={get:Cs(!0,!1)},jl={get:Cs(!0,!0)},Ki=new WeakMap,Wi=new WeakMap,Gi=new WeakMap,qi=new WeakMap;function Kl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function yr(e){return lt(e)?e:Ts(e,!1,Fl,Ul,Ki)}function Wl(e){return Ts(e,!1,Dl,Bl,Wi)}function Zs(e){return Ts(e,!0,Ll,$l,Gi)}function wa(e){return Ts(e,!0,Vl,jl,qi)}function Ts(e,t,n,s,r){if(!ee(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const i=r.get(e);if(i)return i;const o=Kl(hl(e));if(o===0)return e;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function _t(e){return lt(e)?_t(e.__v_raw):!!(e&&e.__v_isReactive)}function lt(e){return!!(e&&e.__v_isReadonly)}function Fe(e){return!!(e&&e.__v_isShallow)}function Es(e){return e?!!e.__v_raw:!1}function Q(e){const t=e&&e.__v_raw;return t?Q(t):e}function Gl(e){return!z(e,"__v_skip")&&Object.isExtensible(e)&&Pi(e,"__v_skip",!0),e}const Ke=e=>ee(e)?yr(e):e,$t=e=>ee(e)?Zs(e):e;function me(e){return e?e.__v_isRef===!0:!1}function Dn(e){return Ji(e,!1)}function ql(e){return Ji(e,!0)}function Ji(e,t){return me(e)?e:new Jl(e,t)}class Jl{constructor(t,n){this.dep=new ys,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Q(t),this._value=n?t:Ke(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Fe(t)||lt(t);t=s?t:Q(t),be(t,n)&&(this._rawValue=t,this._value=s?t:Ke(t),this.dep.trigger())}}function Aa(e){e.dep&&e.dep.trigger()}function Ss(e){return me(e)?e.value:e}function Pa(e){return W(e)?e():Ss(e)}const Yl={get:(e,t,n)=>t==="__v_raw"?e:Ss(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return me(r)&&!me(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Yi(e){return _t(e)?e:new Proxy(e,Yl)}class Xl{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new ys,{get:s,set:r}=t(n.track.bind(n),n.trigger.bind(n));this._get=s,this._set=r}get value(){return this._value=this._get()}set value(t){this._set(t)}}function Zl(e){return new Xl(e)}function Ra(e){const t=H(e)?new Array(e.length):{};for(const n in e)t[n]=Xi(e,n);return t}class Ql{constructor(t,n,s){this._object=t,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0,this._key=Le(n)?n:String(n),this._raw=Q(t);let r=!0,i=t;if(!H(t)||Le(this._key)||!us(this._key))do r=!Es(i)||Fe(i);while(r&&(i=i.__v_raw));this._shallow=r}get value(){let t=this._object[this._key];return this._shallow&&(t=Ss(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&me(this._raw[this._key])){const n=this._object[this._key];if(me(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return Rl(this._raw,this._key)}}class zl{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Oa(e,t,n){return me(e)?e:W(e)?new zl(e):ee(e)&&arguments.length>1?Xi(e,t,n):Dn(e)}function Xi(e,t,n){return new Ql(e,t,n)}class ec{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new ys(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=an-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&le!==this)return Fi(this,!0),!0}get value(){const t=this.dep.track();return Vi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function tc(e,t,n=!1){let s,r;return W(e)?s=e:(s=e.get,r=e.set),new ec(s,r,n)}const Ma={GET:"get",HAS:"has",ITERATE:"iterate"},Na={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},wn={},Kn=new WeakMap;let dt;function Ia(){return dt}function nc(e,t=!1,n=dt){if(n){let s=Kn.get(n);s||Kn.set(n,s=[]),s.push(e)}}function sc(e,t,n=X){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:l,call:c}=n,a=g=>r?g:Fe(g)||r===!1||r===0?tt(g,1):tt(g);let f,h,m,y,T=!1,C=!1;if(me(e)?(h=()=>e.value,T=Fe(e)):_t(e)?(h=()=>a(e),T=!0):H(e)?(C=!0,T=e.some(g=>_t(g)||Fe(g)),h=()=>e.map(g=>{if(me(g))return g.value;if(_t(g))return a(g);if(W(g))return c?c(g,2):g()})):W(e)?t?h=c?()=>c(e,2):e:h=()=>{if(m){it();try{m()}finally{ot()}}const g=dt;dt=f;try{return c?c(e,3,[y]):e(y)}finally{dt=g}}:h=ke,t&&r){const g=h,_=r===!0?1/0:r;h=()=>tt(g(),_)}const k=wl(),U=()=>{f.stop(),k&&k.active&&pr(k.effects,f)};if(i&&t){const g=t;t=(..._)=>{const O=g(..._);return U(),O}}let v=C?new Array(e.length).fill(wn):wn;const p=g=>{if(!(!(f.flags&1)||!f.dirty&&!g))if(t){const _=f.run();if(g||r||T||(C?_.some((O,R)=>be(O,v[R])):be(_,v))){m&&m();const O=dt;dt=f;try{const R=[_,v===wn?void 0:C&&v[0]===wn?[]:v,y];v=_,c?c(t,3,R):t(...R)}finally{dt=O}}}else f.run()};return l&&l(p),f=new $n(h),f.scheduler=o?()=>o(p,!1):p,y=g=>nc(g,!1,f),m=f.onStop=()=>{const g=Kn.get(f);if(g){if(c)c(g,4);else for(const _ of g)_();Kn.delete(f)}},t?s?p(!0):v=f.run():o?o(p.bind(null,!0),!0):f.run(),U.pause=f.pause.bind(f),U.resume=f.resume.bind(f),U.stop=U,U}function tt(e,t=1/0,n){if(t<=0||!ee(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,me(e))tt(e.value,t,n);else if(H(e))for(let s=0;s<e.length;s++)tt(e[s],t,n);else if(Xe(e)||gt(e))e.forEach(s=>{tt(s,t,n)});else if(as(e)){for(const s in e)tt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&tt(e[s],t,n)}return e}const Zi=[];function rc(e){Zi.push(e)}function ic(){Zi.pop()}function Fa(e,t){}const La={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},oc={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function yn(e,t,n,s){try{return s?e(...s):e()}catch(r){Gt(r,t,n)}}function Ue(e,t,n,s){if(W(e)){const r=yn(e,t,n,s);return r&&gr(r)&&r.catch(i=>{Gt(i,t,n)}),r}if(H(e)){const r=[];for(let i=0;i<e.length;i++)r.push(Ue(e[i],t,n,s));return r}}function Gt(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||X;if(t){let l=t.parent;const c=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const f=l.ec;if(f){for(let h=0;h<f.length;h++)if(f[h](e,c,a)===!1)return}l=l.parent}if(i){it(),yn(i,null,10,[e,c,a]),ot();return}}lc(e,n,r,s,o)}function lc(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const we=[];let qe=-1;const Ht=[];let pt=null,Ft=0;const Qi=Promise.resolve();let Wn=null;function vr(e){const t=Wn||Qi;return e?t.then(this?e.bind(this):e):t}function cc(e){let t=qe+1,n=we.length;for(;t<n;){const s=t+n>>>1,r=we[s],i=hn(r);i<e||i===e&&r.flags&2?t=s+1:n=s}return t}function Cr(e){if(!(e.flags&1)){const t=hn(e),n=we[we.length-1];!n||!(e.flags&2)&&t>=hn(n)?we.push(e):we.splice(cc(t),0,e),e.flags|=1,zi()}}function zi(){Wn||(Wn=Qi.then(eo))}function Gn(e){if(!H(e))pt&&e.id===-1?pt.splice(Ft+1,0,e):e.flags&1||(Ht.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)Ht.push(e[t]);zi()}function Gr(e,t,n=qe+1){for(;n<we.length;n++){const s=we[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;we.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function qn(e){if(Ht.length){const t=[...new Set(Ht)].sort((n,s)=>hn(n)-hn(s));if(Ht.length=0,pt){for(let n=0;n<t.length;n++)pt.push(t[n]);return}for(pt=t,Ft=0;Ft<pt.length;Ft++){const n=pt[Ft];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}pt=null,Ft=0}}const hn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function eo(e){try{for(qe=0;qe<we.length;qe++){const t=we[qe];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),yn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;qe<we.length;qe++){const t=we[qe];t&&(t.flags&=-2)}qe=-1,we.length=0,qn(),Wn=null,(we.length||Ht.length)&&eo()}}let Lt,An=[];function to(e,t){var n,s;Lt=e,Lt?(Lt.enabled=!0,An.forEach(({event:r,args:i})=>Lt.emit(r,...i)),An=[]):typeof window<"u"&&window.HTMLElement&&!((s=(n=window.navigator)==null?void 0:n.userAgent)!=null&&s.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{to(i,t)}),setTimeout(()=>{Lt||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,An=[])},3e3)):An=[]}let Ce=null,xs=null;function dn(e){const t=Ce;return Ce=e,xs=e&&e.type.__scopeId||null,t}function Da(e){xs=e}function Va(){xs=null}const ka=e=>no;function no(e,t=Ce,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&ts(-1);const i=dn(t),o=rt.length;let l;try{l=e(...r)}finally{for(let c=rt.length;c>o;c--)Ns();dn(i),s._d&&ts(1)}return l};return s._n=!0,s._c=!0,s._d=!0,s}function Ha(e,t){if(Ce===null)return e;const n=Tn(Ce),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,o,l,c=X]=t[r];i&&(W(i)&&(i={mounted:i,updated:i}),i.deep&&tt(o),s.push({dir:i,instance:n,value:o,oldValue:void 0,arg:l,modifiers:c}))}return e}function Je(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const l=r[o];i&&(l.oldValue=i[o].value);let c=l.dir[s];c&&(it(),Ue(c,n,8,[e.el,l,e,t]),ot())}}function fc(e,t){if(ve){let n=ve.provides;const s=ve.parent&&ve.parent.provides;s===n&&(n=ve.provides=Object.create(s)),n[e]=t}}function Vn(e,t,n=!1){const s=Oe();if(s||wt){let r=wt?wt._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&W(t)?t.call(s&&s.proxy):t}}function Ua(){return!!(Oe()||wt)}const ac=Symbol.for("v-scx"),uc=()=>Vn(ac);function Ba(e,t){return vn(e,null,t)}function $a(e,t){return vn(e,null,{flush:"post"})}function hc(e,t){return vn(e,null,{flush:"sync"})}function ln(e,t,n){return vn(e,t,n)}function vn(e,t,n=X){const{immediate:s,deep:r,flush:i,once:o}=n,l=ne({},n),c=t&&s||!t&&i!=="post";let a;if(Ot){if(i==="sync"){const y=uc();a=y.__watcherHandles||(y.__watcherHandles=[])}else if(!c){const y=()=>{};return y.stop=ke,y.resume=ke,y.pause=ke,y}}const f=ve;l.call=(y,T,C)=>Ue(y,f,T,C);let h=!1;i==="post"?l.scheduler=y=>{he(y,f&&f.suspense)}:i!=="sync"&&(h=!0,l.scheduler=(y,T)=>{T?y():Cr(y)}),l.augmentJob=y=>{t&&(y.flags|=4),h&&(y.flags|=2,f&&(y.id=f.uid,y.i=f))};const m=sc(e,t,l);return Ot&&(a?a.push(m):c&&m()),m}function dc(e,t,n){const s=this.proxy,r=re(e)?e.includes(".")?so(s,e):()=>s[e]:e.bind(s,s);let i;W(t)?i=t:(i=t.handler,n=t);const o=qt(this),l=vn(r,i.bind(s),n);return o(),l}function so(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}const ut=new WeakMap,ro=Symbol("_vte"),ws=e=>e.__isTeleport,Et=e=>e&&(e.disabled||e.disabled===""),pc=e=>e&&(e.defer||e.defer===""),qr=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Jr=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Qs=(e,t)=>{const n=e&&e.to;return re(n)?t?t(n):null:n},gc={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,i,o,l,c,a){const{mc:f,pc:h,pbc:m,o:{insert:y,querySelector:T,createText:C,createComment:k,parentNode:U}}=a,v=Et(t.props);let{dynamicChildren:p}=t;const g=(R,D,w)=>{R.shapeFlag&16&&f(R.children,D,w,r,i,o,l,c)},_=(R=t)=>{const D=Et(R.props),w=R.target=Qs(R.props,T),I=zs(w,R,C,y);w&&(o!=="svg"&&qr(w)?o="svg":o!=="mathml"&&Jr(w)&&(o="mathml"),r&&r.isCE&&(r.ce._teleportTargets||(r.ce._teleportTargets=new Set)).add(w),D||(g(R,w,I),en(R,!1)))},O=R=>{const D=()=>{if(ut.get(R)===D){if(ut.delete(R),Et(R.props)){const w=U(R.el)||n;g(R,w,R.anchor),en(R,!0)}_(R)}};ut.set(R,D),he(D,i)};if(e==null){const R=t.el=C(""),D=t.anchor=C("");if(y(R,n,s),y(D,n,s),pc(t.props)||i&&i.pendingBranch){O(t);return}v&&(g(t,n,D),en(t,!0)),_()}else{t.el=e.el;const R=t.anchor=e.anchor,D=ut.get(e);if(D){D.flags|=8,ut.delete(e),O(t);return}t.targetStart=e.targetStart;const w=t.target=e.target,I=t.targetAnchor=e.targetAnchor,L=Et(e.props),P=L?n:w,j=L?R:I;if(o==="svg"||qr(w)?o="svg":(o==="mathml"||Jr(w))&&(o="mathml"),p?(m(e.dynamicChildren,p,P,r,i,o,l),Ir(e,t,!0)):c||h(e,t,P,j,r,i,o,l,!1),v)L?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Pn(t,n,R,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const J=Qs(t.props,T);J&&(t.target=J,Pn(t,J,null,a,0))}else L&&Pn(t,w,I,a,1);en(t,v)}},remove(e,t,n,{um:s,o:{remove:r}},i){const{shapeFlag:o,children:l,anchor:c,targetStart:a,targetAnchor:f,target:h,props:m}=e,y=Et(m),T=i||!y,C=ut.get(e);if(C&&(C.flags|=8,ut.delete(e)),h&&(r(a),r(f)),i&&r(c),!C&&(y||h)&&o&16)for(let k=0;k<l.length;k++){const U=l[k];s(U,t,n,T,!!U.dynamicChildren)}},move:Pn,hydrate:_c};function Pn(e,t,n,{o:{insert:s},m:r},i=2){i===0&&s(e.targetAnchor,t,n);const{el:o,anchor:l,shapeFlag:c,children:a,props:f}=e,h=i===2;if(h&&s(o,t,n),!ut.has(e)&&(!h||Et(f))&&c&16)for(let m=0;m<a.length;m++)r(a[m],t,n,2);h&&s(l,t,n)}function _c(e,t,n,s,r,i,{o:{nextSibling:o,parentNode:l,querySelector:c,insert:a,createText:f}},h){function m(k,U){let v=U;for(;v;){if(v&&v.nodeType===8){if(v.data==="teleport start anchor")t.targetStart=v;else if(v.data==="teleport anchor"){t.targetAnchor=v,k._lpa=t.targetAnchor&&o(t.targetAnchor);break}}v=o(v)}}function y(k,U){U.anchor=h(o(k),U,l(k),n,s,r,i)}const T=t.target=Qs(t.props,c),C=Et(t.props);if(T){const k=T._lpa||T.firstChild;t.shapeFlag&16&&(C?(y(e,t),m(T,k),t.targetAnchor||zs(T,t,f,a,l(e)===T?e:null)):(t.anchor=o(e),m(T,k),t.targetAnchor||zs(T,t,f,a),h(k&&o(k),t,T,n,s,r,i))),en(t,C)}else C&&t.shapeFlag&16&&(y(e,t),t.targetStart=e,t.targetAnchor=o(e));return t.anchor&&o(t.anchor)}const ja=gc;function en(e,t){const n=e.ctx;if(n&&n.ut){let s,r;for(t?(s=e.el,r=e.anchor):(s=e.targetStart,r=e.targetAnchor);s&&s!==r;)s.nodeType===1&&s.setAttribute("data-v-owner",n.uid),s=s.nextSibling;n.ut()}}function zs(e,t,n,s,r=null){const i=t.targetStart=n(""),o=t.targetAnchor=n("");return i[ro]=o,e&&(s(i,e,r),s(o,e,r)),o}const Ve=Symbol("_leaveCb"),Zt=Symbol("_enterCb");function io(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ps(()=>{e.isMounted=!0}),wr(()=>{e.isUnmounting=!0}),e}const De=[Function,Array],oo={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:De,onEnter:De,onAfterEnter:De,onEnterCancelled:De,onBeforeLeave:De,onLeave:De,onAfterLeave:De,onLeaveCancelled:De,onBeforeAppear:De,onAppear:De,onAfterAppear:De,onAppearCancelled:De},lo=e=>{const t=e.subTree;return t.component?lo(t.component):t},mc={name:"BaseTransition",props:oo,setup(e,{slots:t}){const n=Oe(),s=io();return()=>{const r=t.default&&Tr(t.default(),!0),i=r&&r.length?co(r):n.subTree?vf():void 0;if(!i)return;const o=Q(e),{mode:l}=o;if(s.isLeaving)return Us(i);const c=Jn(i);if(!c)return Us(i);let a=pn(c,o,s,n,h=>a=h);c.type!==de&&bt(c,a);let f=n.subTree&&Jn(n.subTree);if(f&&f.type!==de&&!$e(f,c)&&lo(n).type!==de){let h=pn(f,o,s,n);if(bt(f,h),l==="out-in"&&c.type!==de)return s.isLeaving=!0,h.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete h.afterLeave,f=void 0},Us(i);l==="in-out"&&c.type!==de?h.delayLeave=(m,y,T)=>{const C=fo(s,f);C[String(f.key)]=f,m[Ve]=()=>{y(),m[Ve]=void 0,delete a.delayedLeave,f=void 0},a.delayedLeave=()=>{T(),delete a.delayedLeave,f=void 0}}:f=void 0}else f&&(f=void 0);return i}}};function co(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==de){t=n;break}}return t}const bc=mc;function fo(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function pn(e,t,n,s,r){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:a,onAfterEnter:f,onEnterCancelled:h,onBeforeLeave:m,onLeave:y,onAfterLeave:T,onLeaveCancelled:C,onBeforeAppear:k,onAppear:U,onAfterAppear:v,onAppearCancelled:p}=t,g=String(e.key),_=fo(n,e),O=(w,I)=>{w&&Ue(w,s,9,I)},R=(w,I)=>{const L=I[1];O(w,I),H(w)?w.every(P=>P.length<=1)&&L():w.length<=1&&L()},D={mode:o,persisted:l,beforeEnter(w){let I=c;if(!n.isMounted)if(i)I=k||c;else return;w[Ve]&&w[Ve](!0);const L=_[g];L&&$e(e,L)&&L.el[Ve]&&L.el[Ve](),O(I,[w])},enter(w){if(_[g]===e)return;let I=a,L=f,P=h;if(!n.isMounted)if(i)I=U||a,L=v||f,P=p||h;else return;let j=!1;w[Zt]=te=>{j||(j=!0,te?O(P,[w]):O(L,[w]),D.delayedLeave&&D.delayedLeave(),w[Zt]=void 0)};const J=w[Zt].bind(null,!1);I?R(I,[w,J]):J()},leave(w,I){const L=String(e.key);if(w[Zt]&&w[Zt](!0),n.isUnmounting)return I();O(m,[w]);let P=!1;w[Ve]=J=>{P||(P=!0,I(),J?O(C,[w]):O(T,[w]),w[Ve]=void 0,_[L]===e&&delete _[L])};const j=w[Ve].bind(null,!1);_[L]=e,y?R(y,[w,j]):j()},clone(w){const I=pn(w,t,n,s,r);return r&&r(I),I}};return D}function Us(e){if(Cn(e))return e=ct(e),e.children=null,e}function Jn(e){if(!Cn(e))return ws(e.type)&&e.children?co(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&W(n.default))return n.default()}}function bt(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const n=e.component.subTree;bt(ws(n.type)&&Jn(n)||n,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Tr(e,t=!1,n){let s=[],r=0;for(let i=0;i<e.length;i++){let o=e[i];const l=n==null?o.key:String(n)+String(o.key!=null?o.key:i);o.type===Ee?(o.patchFlag&128&&r++,s=s.concat(Tr(o.children,t,l))):(t||o.type!==de)&&s.push(l!=null?ct(o,{key:l}):o)}if(r>1)for(let i=0;i<s.length;i++)s[i].patchFlag=-2;return s}function ao(e,t){return W(e)?ne({name:e.name},t,{setup:e}):e}function Ka(){const e=Oe();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function Er(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Wa(e){const t=Oe(),n=ql(null);if(t){const r=t.refs===X?t.refs={}:t.refs;Object.defineProperty(r,e,{enumerable:!0,get:()=>n.value,set:i=>n.value=i})}return n}function Yr(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Yn=new WeakMap;function Ut(e,t,n,s,r=!1){if(H(e)){e.forEach((C,k)=>Ut(C,t&&(H(t)?t[k]:t),n,s,r));return}if(st(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Ut(e,t,n,s.component.subTree);return}const i=s.shapeFlag&4?Tn(s.component):s.el,o=r?null:i,{i:l,r:c}=e,a=t&&t.r,f=l.refs===X?l.refs={}:l.refs,h=l.setupState,m=Q(h),y=h===X?wi:C=>Yr(f,C)?!1:z(m,C),T=(C,k)=>!(k&&Yr(f,k));if(a!=null&&a!==c){if(Xr(t),re(a))f[a]=null,y(a)&&(h[a]=null);else if(me(a)){const C=t;T(a,C.k)&&(a.value=null),C.k&&(f[C.k]=null)}}if(W(c))yn(c,l,12,[o,f]);else{const C=re(c),k=me(c);if(C||k){const U=()=>{if(e.f){const v=C?y(c)?h[c]:f[c]:T()||!e.k?c.value:f[e.k];if(r)H(v)&&pr(v,i);else if(H(v))v.includes(i)||v.push(i);else if(C)f[c]=[i],y(c)&&(h[c]=f[c]);else{const p=[i];T(c,e.k)&&(c.value=p),e.k&&(f[e.k]=p)}}else C?(f[c]=o,y(c)&&(h[c]=o)):k&&(T(c,e.k)&&(c.value=o),e.k&&(f[e.k]=o))};if(o){const v=()=>{U(),Yn.delete(e)};v.id=-1,Yn.set(e,v),he(v,n)}else Xr(e),U()}}}function Xr(e){const t=Yn.get(e);t&&(t.flags|=8,Yn.delete(e))}let Zr=!1;const It=()=>{Zr||(console.error("Hydration completed but contains mismatches."),Zr=!0)},yc=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",vc=e=>e.namespaceURI.includes("MathML"),Rn=e=>{if(e.nodeType===1){if(yc(e))return"svg";if(vc(e))return"mathml"}},Dt=e=>e.nodeType===8;function Cc(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:i,parentNode:o,remove:l,insert:c,createComment:a}}=e,f=(p,g)=>{if(!g.hasChildNodes()){n(null,p,g),qn(),g._vnode=p;return}h(g.firstChild,p,null,null,null),qn(),g._vnode=p},h=(p,g,_,O,R,D=!1)=>{D=D||!!g.dynamicChildren;const w=Dt(p)&&p.data==="[",I=()=>C(p,g,_,O,R,w),{type:L,ref:P,shapeFlag:j,patchFlag:J}=g;let te=p.nodeType;g.el=p,J===-2&&(D=!1,g.dynamicChildren=null);let B=null;switch(L){case At:te!==3?g.children===""?(c(g.el=r(""),o(p),p),B=p):B=I():(p.data!==g.children&&(It(),p.data=g.children),B=i(p));break;case de:v(p)?(B=i(p),U(g.el=p.content.firstChild,p,_)):te!==8||w?B=I():B=i(p);break;case Pt:if(w&&(p=i(p),te=p.nodeType),te===1||te===3){B=p;const Y=!g.children.length;for(let q=0;q<g.staticCount;q++)Y&&(g.children+=B.nodeType===1?B.outerHTML:B.data),q===g.staticCount-1&&(g.anchor=B),B=i(B);return w?i(B):B}else I();break;case Ee:w?B=T(p,g,_,O,R,D):B=I();break;default:if(j&1)(te!==1||g.type.toLowerCase()!==p.tagName.toLowerCase())&&!v(p)?B=I():B=m(p,g,_,O,R,D);else if(j&6){g.slotScopeIds=R;const Y=o(p);if(w?B=k(p):Dt(p)&&p.data==="teleport start"?B=k(p,p.data,"teleport end"):B=i(p),t(g,Y,null,_,O,Rn(Y),D),st(g)&&!g.component.subTree){let q;w?(q=ce(Pt),q.anchor=B?B.previousSibling:Y.lastChild):q=p.nodeType===3?ko(""):ce("div"),q.el=p,g.component.subTree=q}}else j&64?te!==8?B=I():B=g.type.hydrate(p,g,_,O,R,D,e,y):j&128&&(B=g.type.hydrate(p,g,_,O,Rn(o(p)),R,D,e,h))}return P!=null&&Ut(P,null,O,g),B},m=(p,g,_,O,R,D)=>{D=D||!!g.dynamicChildren;const{type:w,dynamicProps:I,props:L,patchFlag:P,shapeFlag:j,dirs:J,transition:te}=g,B=w==="input"||w==="option",Y=!!I;if(B||Y||P!==-1){J&&Je(g,null,_,"created");let q=!1;if(v(p)){q=Oo(null,te)&&_&&_.vnode.props&&_.vnode.props.appear;const oe=p.content.firstChild;if(q){const ye=oe.getAttribute("class");ye&&(oe.$cls=ye),te.beforeEnter(oe)}U(oe,p,_),g.el=p=oe}if(j&16&&!(L&&(L.innerHTML||L.textContent))){let oe=y(p.firstChild,g,p,_,O,R,D);for(oe&&!kn(p,1)&&It();oe;){const ye=oe;oe=oe.nextSibling,l(ye)}}else if(j&8){let oe=g.children;oe[0]===`
|
|
2
|
+
`&&(p.tagName==="PRE"||p.tagName==="TEXTAREA")&&(oe=oe.slice(1));const{textContent:ye}=p;ye!==oe&&ye!==oe.replace(/\r\n|\r/g,`
|
|
3
|
+
`)&&(kn(p,0)||It(),p.textContent=g.children)}if(L){if(B||Y||!D||P&48){const oe=p.tagName.includes("-"),ye=p.namespaceURI.includes("svg")?"svg":p.namespaceURI.includes("MathML")?"mathml":void 0;for(const fe in L)if(B&&(fe.endsWith("value")||fe==="indeterminate")||bn(fe)&&!St(fe)||fe[0]==="."||oe&&!St(fe)||I&&I.includes(fe)){if(Ec(p,fe,L[fe]))continue;s(p,fe,null,L[fe],ye,_)}}else if(L.onClick)s(p,"onClick",null,L.onClick,void 0,_);else if(P&4&&_t(L.style))for(const oe in L.style)L.style[oe]}let ae;(ae=L&&L.onVnodeBeforeMount)&&Ae(ae,_,g),J&&Je(g,null,_,"beforeMount"),((ae=L&&L.onVnodeMounted)||J||q)&&Fo(()=>{ae&&Ae(ae,_,g),q&&te.enter(p),J&&Je(g,null,_,"mounted")},O)}return p.nextSibling},y=(p,g,_,O,R,D,w)=>{w=w||!!g.dynamicChildren;const I=g.children,L=I.length;let P=!1;for(let j=0;j<L;j++){const J=w?I[j]:I[j]=Pe(I[j]),te=J.type===At;p?(te&&!w&&j+1<L&&Pe(I[j+1]).type===At&&(c(r(p.data.slice(J.children.length)),_,i(p)),p.data=J.children),p=h(p,J,O,R,D,w)):te&&!J.children?c(J.el=r(""),_):(P||(P=!0,kn(_,1)||It()),n(null,J,_,null,O,R,Rn(_),D))}return p},T=(p,g,_,O,R,D)=>{const{slotScopeIds:w}=g;w&&(R=R?R.concat(w):w);const I=o(p),L=y(i(p),g,I,_,O,R,D);return L&&Dt(L)&&L.data==="]"?i(g.anchor=L):(It(),c(g.anchor=a("]"),I,L),L)},C=(p,g,_,O,R,D)=>{if(xc(p,g)||It(),g.el=null,D){const L=k(p);for(;;){const P=i(p);if(P&&P!==L)l(P);else break}}const w=i(p),I=o(p);return l(p),n(null,g,I,w,_,O,Rn(I),R),_&&(_.vnode.el=g.el,Ms(_,g.el)),w},k=(p,g="[",_="]")=>{let O=0;for(;p;)if(p=i(p),p&&Dt(p)&&(p.data===g&&O++,p.data===_)){if(O===0)return i(p);O--}return p},U=(p,g,_)=>{const O=g.parentNode;O&&O.replaceChild(p,g);let R=_;for(;R;)R.vnode.el===g&&(R.vnode.el=R.subTree.el=p),R=R.parent},v=p=>p.nodeType===1&&p.tagName==="TEMPLATE";return[f,h]}const Tc=new Set(["src","srcset","href","poster"]);function Ec(e,t,n){return Tc.has(t)?e.getAttribute(t)===(n==null?null:`${n}`):!1}const Xn="data-allow-mismatch",Sc={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function kn(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Xn);)e=e.parentElement;return Sr(e&&e.getAttribute(Xn),t)}function Sr(e,t){if(e==null)return!1;if(e==="")return!0;{const n=e.split(",");return t===0&&n.includes("children")?!0:n.includes(Sc[t])}}function xc(e,t){return kn(e.parentElement,1)||wc(e)||Ac(t)}function wc(e){return e.nodeType===1&&Sr(e.getAttribute(Xn),1)}function Ac({props:e}){const t=e&&e[Xn];return typeof t=="string"&&Sr(t,1)}const Pc=gs().requestIdleCallback||(e=>setTimeout(e,1)),Rc=gs().cancelIdleCallback||(e=>clearTimeout(e)),Ga=(e=1e4)=>t=>{const n=Pc(t,{timeout:e});return()=>Rc(n)};function Oc(e){const{top:t,left:n,bottom:s,right:r}=e.getBoundingClientRect(),{innerHeight:i,innerWidth:o}=window;return(t>0&&t<i||s>0&&s<i)&&(n>0&&n<o||r>0&&r<o)}const qa=e=>(t,n)=>{const s=new IntersectionObserver(r=>{for(const i of r)if(i.isIntersecting){s.disconnect(),t();break}},e);return n(r=>{if(r instanceof Element){if(Oc(r))return t(),s.disconnect(),!1;s.observe(r)}}),()=>s.disconnect()},Ja=e=>t=>{if(e){const n=matchMedia(e);if(n.matches)t();else return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t)}},Ya=(e=[])=>(t,n)=>{re(e)&&(e=[e]);let s=!1;const r=o=>{s||(s=!0,i(),t(),o.target.dispatchEvent(new o.constructor(o.type,o)))},i=()=>{n(o=>{for(const l of e)o.removeEventListener(l,r)})};return n(o=>{for(const l of e)o.addEventListener(l,r,{once:!0})}),i};function Mc(e,t){if(Dt(e)&&e.data==="["){let n=1,s=e.nextSibling;for(;s;){if(s.nodeType===1){if(t(s)===!1)break}else if(Dt(s))if(s.data==="]"){if(--n===0)break}else s.data==="["&&n++;s=s.nextSibling}}else t(e)}const st=e=>!!e.type.__asyncLoader;function Xa(e){W(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,hydrate:i,timeout:o,suspensible:l=!0,onError:c}=e;let a=null,f,h=0;const m=()=>(h++,a=null,y()),y=()=>{let T;return a||(T=a=t().catch(C=>{if(C=C instanceof Error?C:new Error(String(C)),c)return new Promise((k,U)=>{c(C,()=>k(m()),()=>U(C),h+1)});throw C}).then(C=>T!==a&&a?a:(C&&(C.__esModule||C[Symbol.toStringTag]==="Module")&&(C=C.default),f=C,C)))};return ao({name:"AsyncComponentWrapper",__asyncLoader:y,__asyncHydrate(T,C,k){const U=T.isConnected;let v=!1;(C.bu||(C.bu=[])).push(()=>v=!0);const p=()=>{v||!T.parentNode||U&&!T.isConnected||k()},g=i?()=>{const _=i(p,O=>Mc(T,O));_&&(C.bum||(C.bum=[])).push(_)}:p;f?g():y().then(()=>!C.isUnmounted&&g())},get __asyncResolved(){return f},setup(){const T=ve;if(Er(T),f)return()=>On(f,T);const C=_=>{a=null,Gt(_,T,13,!s)};if(l&&T.suspense||Ot)return y().then(_=>()=>On(_,T)).catch(_=>(C(_),()=>s?ce(s,{error:_}):null));const k=Dn(!1),U=Dn(),v=Dn(!!r);let p,g;return Rs(()=>{p!=null&&clearTimeout(p),g!=null&&clearTimeout(g)}),r&&(g=setTimeout(()=>{T.isUnmounted||(v.value=!1)},r)),o!=null&&(p=setTimeout(()=>{if(!T.isUnmounted&&!k.value&&!U.value){const _=new Error(`Async component timed out after ${o}ms.`);C(_),U.value=_}},o)),y().then(()=>{T.isUnmounted||(k.value=!0,T.parent&&Cn(T.parent.vnode)&&T.parent.update())}).catch(_=>{if(T.isUnmounted){a=null;return}C(_),U.value=_}),()=>{if(k.value&&f)return On(f,T);if(U.value&&s)return ce(s,{error:U.value});if(n&&!v.value)return On(n,T)}}})}function On(e,t){const{ref:n,props:s,children:r,ce:i}=t.vnode,o=ce(e,s,r);return o.ref=n,o.ce=i,delete t.vnode.ce,o}const Cn=e=>e.type.__isKeepAlive,Nc={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Oe(),s=n.ctx;if(!s.renderer)return()=>{const v=t.default&&t.default();return v&&v.length===1?v[0]:v};const r=new Map,i=new Set;let o=null;const l=n.suspense,{renderer:{p:c,m:a,um:f,o:{createElement:h}}}=s,m=h("div");s.activate=(v,p,g,_,O)=>{const R=v.component;a(v,p,g,0,l),c(R.vnode,v,p,g,R,l,_,v.slotScopeIds,O),he(()=>{R.isDeactivated=!1,R.a&&kt(R.a);const D=v.props&&v.props.onVnodeMounted;D&&Ae(D,R.parent,v)},l)},s.deactivate=v=>{const p=v.component;Qn(p.m),Qn(p.a),a(v,m,null,1,l),he(()=>{p.da&&kt(p.da);const g=v.props&&v.props.onVnodeUnmounted;g&&Ae(g,p.parent,v),p.isDeactivated=!0},l)};function y(v){Bs(v),f(v,n,l,!0)}function T(v){r.forEach((p,g)=>{const _=fr(st(p)?p.type.__asyncResolved||{}:p.type);_&&!v(_)&&C(g)})}function C(v){const p=r.get(v);p&&(!o||!$e(p,o))?y(p):o&&Bs(o),r.delete(v),i.delete(v)}ln(()=>[e.include,e.exclude],([v,p])=>{v&&T(g=>tn(v,g)),p&&T(g=>!tn(p,g))},{flush:"post",deep:!0});let k=null;const U=()=>{k!=null&&(zn(n.subTree.type)?he(()=>{const v=Mn(n.subTree);v.component&&r.set(k,v)},n.subTree.suspense):r.set(k,Mn(n.subTree)))};return Ps(U),xr(U),wr(()=>{r.forEach(v=>{const{subTree:p,suspense:g}=n,_=Mn(p);if(v.type===_.type&&v.key===_.key){Bs(_);const O=_.component.da;O&&he(O,g);return}y(v)})}),()=>{if(k=null,!t.default)return o=null;const v=t.default(),p=v[0];if(v.length>1)return o=null,v;if(!yt(p)||!(p.shapeFlag&4)&&!(p.shapeFlag&128))return o=null,p;let g=Mn(p);if(g.type===de)return o=null,g;const _=g.type,O=fr(st(g)?g.type.__asyncResolved||{}:_),{include:R,exclude:D,max:w}=e;if(R&&(!O||!tn(R,O))||D&&O&&tn(D,O))return g.shapeFlag&=-257,o=g,p;const I=g.key==null?_:g.key,L=r.get(I);return g.el&&(g=ct(g),p.shapeFlag&128&&(p.ssContent=g)),k=I,L?(g.el=L.el,g.component=L.component,g.transition&&bt(g,g.transition),g.shapeFlag|=512,i.delete(I),i.add(I)):(i.add(I),w&&i.size>parseInt(w,10)&&C(i.values().next().value)),g.shapeFlag|=256,o=g,zn(p.type)?p:g}}},Za=Nc;function tn(e,t){return H(e)?e.some(n=>tn(n,t)):re(e)?e.split(",").includes(t):ul(e)?(e.lastIndex=0,e.test(t)):!1}function Ic(e,t){uo(e,"a",t)}function Fc(e,t){uo(e,"da",t)}function uo(e,t,n=ve){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(As(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Cn(r.parent.vnode)&&Lc(s,t,n,r),r=r.parent}}function Lc(e,t,n,s){const r=As(t,e,s,!0);Rs(()=>{pr(s[t],r)},n)}function Bs(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Mn(e){return e.shapeFlag&128?e.ssContent:e}function As(e,t,n=ve,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{it();const l=qt(n),c=Ue(t,n,e,o);return l(),ot(),c});return s?r.unshift(i):r.push(i),i}}const ft=e=>(t,n=ve)=>{(!Ot||e==="sp")&&As(e,(...s)=>t(...s),n)},Dc=ft("bm"),Ps=ft("m"),ho=ft("bu"),xr=ft("u"),wr=ft("bum"),Rs=ft("um"),Vc=ft("sp"),kc=ft("rtg"),Hc=ft("rtc");function Uc(e,t=ve){As("ec",e,t)}const Ar="components",Bc="directives";function Qa(e,t){return Pr(Ar,e,!0,t)||e}const po=Symbol.for("v-ndc");function za(e){return re(e)?Pr(Ar,e,!1)||e:e||po}function eu(e){return Pr(Bc,e)}function Pr(e,t,n=!0,s=!1){const r=Ce||ve;if(r){const i=r.type;if(e===Ar){const l=fr(i,!1);if(l&&(l===t||l===_e(t)||l===ds(_e(t))))return i}const o=Qr(r[e]||i[e],t)||Qr(r.appContext[e],t);return!o&&s?i:o}}function Qr(e,t){return e&&(e[t]||e[_e(t)]||e[ds(_e(t))])}function tu(e,t,n,s){let r;const i=n&&n[s],o=H(e);if(o||re(e)){const l=o&&_t(e);let c=!1,a=!1;l&&(c=!Fe(e),a=lt(e),e=vs(e)),r=new Array(e.length);for(let f=0,h=e.length;f<h;f++)r[f]=t(c?a?$t(Ke(e[f])):Ke(e[f]):e[f],f,void 0,i&&i[f])}else if(typeof e=="number"){r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,i&&i[l])}else if(ee(e))if(e[Symbol.iterator])r=Array.from(e,(l,c)=>t(l,c,void 0,i&&i[c]));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,a=l.length;c<a;c++){const f=l[c];r[c]=t(e[f],f,c,i&&i[c])}}else r=[];return n&&(n[s]=r),r}function nu(e,t){for(let n=0;n<t.length;n++){const s=t[n];if(H(s))for(let r=0;r<s.length;r++)e[s[r].name]=s[r].fn;else s&&(e[s.name]=s.key?(...r)=>{const i=s.fn(...r);return i&&(i.key=s.key),i}:s.fn)}return e}function su(e,t,n,s,r,i){if(n==null&&(n={}),Ce.ce||Ce.parent&&st(Ce.parent)&&Ce.parent.ce){const a=i!=null&&n.key==null?ne({},n,{key:i}):n,f=Object.keys(a).length>0;return t!=="default"&&(a.name=t),es(),or(Ee,null,[ce("slot",a,s&&s())],f?-2:64)}let o=e[t];o&&o._c&&(o._d=!1);const l=rt.length;es();let c;try{const a=o&&Rr(o(n)),f=n.key||i||a&&a.key;c=or(Ee,{key:(f&&!Le(f)?f:`_${t}`)+(!a&&s?"_fb":"")},a||(s?s():[]),a&&e._===1?64:-2)}catch(a){for(let f=rt.length;f>l;f--)Ns();throw a}finally{o&&o._c&&(o._d=!0)}return!r&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),c}function Rr(e){return e.some(t=>yt(t)?!(t.type===de||t.type===Ee&&!Rr(t.children)):!0)?e:null}function ru(e,t){const n={};for(const s in e)n[t&&/[A-Z]/.test(s)?`on:${s}`:Ln(s)]=e[s];return n}const er=e=>e?Uo(e)?Tn(e):er(e.parent):null,cn=ne(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>er(e.parent),$root:e=>er(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Or(e),$forceUpdate:e=>e.f||(e.f=()=>{Cr(e.update)}),$nextTick:e=>e.n||(e.n=vr.bind(e.proxy)),$watch:e=>dc.bind(e)}),$s=(e,t)=>e!==X&&!e.__isScriptSetup&&z(e,t),tr={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:c}=e;if(t[0]!=="$"){const m=o[t];if(m!==void 0)switch(m){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if($s(s,t))return o[t]=1,s[t];if(r!==X&&z(r,t))return o[t]=2,r[t];if(z(i,t))return o[t]=3,i[t];if(n!==X&&z(n,t))return o[t]=4,n[t];nr&&(o[t]=0)}}const a=cn[t];let f,h;if(a)return t==="$attrs"&&Te(e.attrs,"get",""),a(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==X&&z(n,t))return o[t]=4,n[t];if(h=c.config.globalProperties,z(h,t))return h[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return $s(r,t)?(r[t]=n,!0):s!==X&&z(s,t)?(s[t]=n,!0):z(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,props:i,type:o}},l){let c;return!!(n[l]||e!==X&&l[0]!=="$"&&z(e,l)||$s(t,l)||z(i,l)||z(s,l)||z(cn,l)||z(r.config.globalProperties,l)||(c=o.__cssModules)&&c[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:z(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},$c=ne({},tr,{get(e,t){if(t!==Symbol.unscopables)return tr.get(e,t,e)},has(e,t){return t[0]!=="_"&&!_l(t)}});function iu(){return null}function ou(){return null}function lu(e){}function cu(e){}function fu(){return null}function au(){}function uu(e,t){return null}function hu(){return go().slots}function du(){return go().attrs}function go(e){const t=Oe();return t.setupContext||(t.setupContext=jo(t))}function gn(e){return H(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function pu(e,t){const n=gn(e);for(const s in t){if(s.startsWith("__skip"))continue;let r=n[s];r?H(r)||W(r)?r=n[s]={type:r,default:t[s]}:r.default=t[s]:r===null&&(r=n[s]={default:t[s]}),r&&t[`__skip_${s}`]&&(r.skipFactory=!0)}return n}function gu(e,t){return!e||!t?e||t:H(e)&&H(t)?e.concat(t):ne({},gn(e),gn(t))}function _u(e,t){const n={};for(const s in e)t.includes(s)||Object.defineProperty(n,s,{enumerable:!0,get:()=>e[s]});return n}function mu(e){const t=Oe(),n=Ot;let s=e();mn(),n&&mt(!1);const r=()=>{qt(t),n&&mt(!0)},i=()=>{Oe()!==t&&t.scope.off(),mn(),n&&mt(!1)};return gr(s)&&(s=s.catch(o=>{throw r(),Promise.resolve().then(()=>Promise.resolve().then(i)),o})),[s,()=>{r(),Promise.resolve().then(i)}]}let nr=!0;function jc(e){const t=Or(e),n=e.proxy,s=e.ctx;nr=!1,t.beforeCreate&&zr(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:a,created:f,beforeMount:h,mounted:m,beforeUpdate:y,updated:T,activated:C,deactivated:k,beforeDestroy:U,beforeUnmount:v,destroyed:p,unmounted:g,render:_,renderTracked:O,renderTriggered:R,errorCaptured:D,serverPrefetch:w,expose:I,inheritAttrs:L,components:P,directives:j,filters:J}=t;if(a&&Kc(a,s,null),o)for(const Y in o){const q=o[Y];W(q)&&(s[Y]=q.bind(n))}if(r){const Y=r.call(n,n);ee(Y)&&(e.data=yr(Y))}if(nr=!0,i)for(const Y in i){const q=i[Y],ae=W(q)?q.bind(n,n):W(q.get)?q.get.bind(n,n):ke,oe=!W(q)&&W(q.set)?q.set.bind(n):ke,ye=Af({get:ae,set:oe});Object.defineProperty(s,Y,{enumerable:!0,configurable:!0,get:()=>ye.value,set:fe=>ye.value=fe})}if(l)for(const Y in l)_o(l[Y],s,n,Y);if(c){const Y=W(c)?c.call(n):c;Reflect.ownKeys(Y).forEach(q=>{fc(q,Y[q])})}f&&zr(f,e,"c");function B(Y,q){H(q)?q.forEach(ae=>Y(ae.bind(n))):q&&Y(q.bind(n))}if(B(Dc,h),B(Ps,m),B(ho,y),B(xr,T),B(Ic,C),B(Fc,k),B(Uc,D),B(Hc,O),B(kc,R),B(wr,v),B(Rs,g),B(Vc,w),H(I))if(I.length){const Y=e.exposed||(e.exposed={});I.forEach(q=>{Object.defineProperty(Y,q,{get:()=>n[q],set:ae=>n[q]=ae,enumerable:!0})})}else e.exposed||(e.exposed={});_&&e.render===ke&&(e.render=_),L!=null&&(e.inheritAttrs=L),P&&(e.components=P),j&&(e.directives=j),w&&Er(e)}function Kc(e,t,n=ke){H(e)&&(e=sr(e));for(const s in e){const r=e[s];let i;ee(r)?"default"in r?i=Vn(r.from||s,r.default,!0):i=Vn(r.from||s):i=Vn(r),me(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function zr(e,t,n){Ue(H(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function _o(e,t,n,s){let r=s.includes(".")?so(n,s):()=>n[s];if(re(e)){const i=t[e];W(i)&&ln(r,i)}else if(W(e))ln(r,e.bind(n));else if(ee(e))if(H(e))e.forEach(i=>_o(i,t,n,s));else{const i=W(e.handler)?e.handler.bind(n):t[e.handler];W(i)&&ln(r,i,e)}}function Or(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(a=>Zn(c,a,o,!0)),Zn(c,t,o)),ee(t)&&i.set(t,c),c}function Zn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&Zn(e,i,n,!0),r&&r.forEach(o=>Zn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=Wc[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Wc={data:ei,props:ti,emits:ti,methods:nn,computed:nn,beforeCreate:xe,created:xe,beforeMount:xe,mounted:xe,beforeUpdate:xe,updated:xe,beforeDestroy:xe,beforeUnmount:xe,destroyed:xe,unmounted:xe,activated:xe,deactivated:xe,errorCaptured:xe,serverPrefetch:xe,components:nn,directives:nn,watch:qc,provide:ei,inject:Gc};function ei(e,t){return t?e?function(){return ne(W(e)?e.call(this,this):e,W(t)?t.call(this,this):t)}:t:e}function Gc(e,t){return nn(sr(e),sr(t))}function sr(e){if(H(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function xe(e,t){return e?[...new Set([].concat(e,t))]:t}function nn(e,t){return e?ne(Object.create(null),e,t):t}function ti(e,t){return e?H(e)&&H(t)?[...new Set([...e,...t])]:ne(Object.create(null),gn(e),gn(t??{})):t}function qc(e,t){if(!e)return t;if(!t)return e;const n=ne(Object.create(null),e);for(const s in t)n[s]=xe(e[s],t[s]);return n}function mo(){return{app:null,config:{isNativeTag:wi,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Jc=0;function Yc(e,t){return function(s,r=null){W(s)||(s=ne({},s)),r!=null&&!ee(r)&&(r=null);const i=mo(),o=new WeakSet,l=[];let c=!1;const a=i.app={_uid:Jc++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:Of,get config(){return i.config},set config(f){},use(f,...h){return o.has(f)||(f&&W(f.install)?(o.add(f),f.install(a,...h)):W(f)&&(o.add(f),f(a,...h))),a},mixin(f){return i.mixins.includes(f)||i.mixins.push(f),a},component(f,h){return h?(i.components[f]=h,a):i.components[f]},directive(f,h){return h?(i.directives[f]=h,a):i.directives[f]},mount(f,h,m){if(!c){const y=a._ceVNode||ce(s,r);return y.appContext=i,m===!0?m="svg":m===!1&&(m=void 0),h&&t?t(y,f):e(y,f,m),c=!0,a._container=f,f.__vue_app__=a,Tn(y.component)}},onUnmount(f){l.push(f)},unmount(){c&&(Ue(l,a._instance,16),e(null,a._container),delete a._container.__vue_app__)},provide(f,h){return i.provides[f]=h,a},runWithContext(f){const h=wt;wt=a;try{return f()}finally{wt=h}}};return a}}let wt=null;function bu(e,t,n=X){const s=Oe(),r=_e(t),i=Re(t),o=bo(e,r),l=Zl((c,a)=>{let f,h=X,m;return hc(()=>{const y=e[r];be(f,y)&&(f=y,a())}),{get(){return c(),n.get?n.get(f):f},set(y){const T=n.set?n.set(y):y;if(!be(T,f)&&!(h!==X&&be(y,h)))return;const C=s.vnode.props,k=!!(C&&(t in C||r in C||i in C)&&(`onUpdate:${t}`in C||`onUpdate:${r}`in C||`onUpdate:${i}`in C));k||(f=y,a()),s.emit(`update:${t}`,T),be(y,h)&&(be(y,T)&&!be(T,m)||k&&h!==X&&!be(T,f))&&a(),h=y,m=T}}});return l[Symbol.iterator]=()=>{let c=0;return{next(){return c<2?{value:c++?o||X:l,done:!1}:{done:!0}}}},l}const bo=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${_e(t)}Modifiers`]||e[`${Re(t)}Modifiers`];function Xc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||X;let r=n;const i=t.startsWith("update:"),o=i&&bo(s,t.slice(7));o&&(o.trim&&(r=n.map(f=>re(f)?f.trim():f)),o.number&&(r=r.map(ps)));let l,c=s[l=Ln(t)]||s[l=Ln(_e(t))];!c&&i&&(c=s[l=Ln(Re(t))]),c&&Ue(c,e,6,r);const a=s[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ue(a,e,6,r)}}const Zc=new WeakMap;function yo(e,t,n=!1){const s=n?Zc:t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!W(e)){const c=a=>{const f=yo(a,t,!0);f&&(l=!0,ne(o,f))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(ee(e)&&s.set(e,null),null):(H(i)?i.forEach(c=>o[c]=null):ne(o,i),ee(e)&&s.set(e,o),o)}function Os(e,t){return!e||!bn(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),z(e,t[0].toLowerCase()+t.slice(1))||z(e,Re(t))||z(e,t))}function Hn(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:c,render:a,renderCache:f,props:h,data:m,setupState:y,ctx:T,inheritAttrs:C}=e,k=dn(e);let U,v;try{if(n.shapeFlag&4){const g=r||s,_=g;U=Pe(a.call(_,g,f,h,y,m,T)),v=l}else{const g=t;U=Pe(g.length>1?g(h,{attrs:l,slots:o,emit:c}):g(h,null)),v=t.props?l:zc(l)}}catch(g){rt.length=0,Gt(g,e,1),U=ce(de)}let p=U;if(v&&C!==!1){const g=Object.keys(v),{shapeFlag:_}=p;g.length&&_&7&&(i&&g.some(fs)&&(v=ef(v,i)),p=ct(p,v,!1,!0))}if(n.dirs&&(p=ct(p,null,!1,!0),p.dirs=p.dirs?p.dirs.concat(n.dirs):n.dirs),n.transition){const g=ws(p.type)&&Jn(p)||p;bt(g,n.transition)}return U=p,dn(k),U}function Qc(e,t=!0){let n;for(let s=0;s<e.length;s++){const r=e[s];if(yt(r)){if(r.type!==de||r.children==="v-if"){if(n)return;n=r}}else return}return n}const zc=e=>{let t;for(const n in e)(n==="class"||n==="style"||bn(n))&&((t||(t={}))[n]=e[n]);return t},ef=(e,t)=>{const n={};for(const s in e)(!fs(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function tf(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,a=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?ni(s,o,a):!!o;if(c&8){const f=t.dynamicProps;for(let h=0;h<f.length;h++){const m=f[h];if(vo(o,s,m)&&!Os(a,m))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===o?!1:s?o?ni(s,o,a):!0:!!o;return!1}function ni(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const i=s[r];if(vo(t,e,i)&&!Os(n,i))return!0}return!1}function vo(e,t,n){const s=e[n],r=t[n];return n==="style"&&ee(s)&&ee(r)?!He(s,r):s!==r}function Ms({vnode:e,parent:t,suspense:n},s){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.suspense.vnode.el=r.el=s,e=r),r===e)(e=t.vnode).el=s,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=s)}const Co={},To=()=>Object.create(Co),Eo=e=>Object.getPrototypeOf(e)===Co;function nf(e,t,n,s=!1){const r={},i=To();e.propsDefaults=Object.create(null),So(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:Wl(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function sf(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=Q(r),[c]=e.propsOptions;let a=!1;if((s||o>0)&&!(o&16)){if(o&8){const f=e.vnode.dynamicProps;for(let h=0;h<f.length;h++){let m=f[h];if(Os(e.emitsOptions,m))continue;const y=t[m];if(c)if(z(i,m))y!==i[m]&&(i[m]=y,a=!0);else{const T=_e(m);r[T]=rr(c,l,T,y,e,!1)}else y!==i[m]&&(i[m]=y,a=!0)}}}else{So(e,t,r,i)&&(a=!0);let f;for(const h in l)(!t||!z(t,h)&&((f=Re(h))===h||!z(t,f)))&&(c?n&&(n[h]!==void 0||n[f]!==void 0)&&(r[h]=rr(c,l,h,void 0,e,!0)):delete r[h]);if(i!==l)for(const h in i)(!t||!z(t,h))&&(delete i[h],a=!0)}a&&et(e.attrs,"set","")}function So(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,l;if(t)for(let c in t){if(St(c))continue;const a=t[c];let f;r&&z(r,f=_e(c))?!i||!i.includes(f)?n[f]=a:(l||(l={}))[f]=a:Os(e.emitsOptions,c)||(!(c in s)||a!==s[c])&&(s[c]=a,o=!0)}if(i){const c=Q(n),a=l||X;for(let f=0;f<i.length;f++){const h=i[f];n[h]=rr(r,c,h,a[h],e,!z(a,h))}}return o}function rr(e,t,n,s,r,i){const o=e[n];if(o!=null){const l=z(o,"default");if(l&&s===void 0){const c=o.default;if(o.type!==Function&&!o.skipFactory&&W(c)){const{propsDefaults:a}=r;if(n in a)s=a[n];else{const f=qt(r);s=a[n]=c.call(null,t),f()}}else s=c;r.ce&&r.ce._setProp(n,s)}o[0]&&(i&&!l?s=!1:o[1]&&(s===""||s===Re(n))&&(s=!0))}return s}const rf=new WeakMap;function xo(e,t,n=!1){const s=n?rf:t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},l=[];let c=!1;if(!W(e)){const f=h=>{c=!0;const[m,y]=xo(h,t,!0);ne(o,m),y&&l.push(...y)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!i&&!c)return ee(e)&&s.set(e,Vt),Vt;if(H(i))for(let f=0;f<i.length;f++){const h=_e(i[f]);si(h)&&(o[h]=X)}else if(i)for(const f in i){const h=_e(f);if(si(h)){const m=i[f],y=o[h]=H(m)||W(m)?{type:m}:ne({},m),T=y.type;let C=!1,k=!0;if(H(T))for(let U=0;U<T.length;++U){const v=T[U],p=W(v)&&v.name;if(p==="Boolean"){C=!0;break}else p==="String"&&(k=!1)}else C=W(T)&&T.name==="Boolean";y[0]=C,y[1]=k,(C||z(y,"default"))&&l.push(h)}}const a=[o,l];return ee(e)&&s.set(e,a),a}function si(e){return e[0]!=="$"&&!St(e)}const Mr=e=>e==="_"||e==="_ctx"||e==="$stable",Nr=e=>H(e)?e.map(Pe):[Pe(e)],of=(e,t,n)=>{if(t._n)return t;const s=no((...r)=>Nr(t(...r)),n);return s._c=!1,s},wo=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Mr(r))continue;const i=e[r];if(W(i))t[r]=of(r,i,s);else if(i!=null){const o=Nr(i);t[r]=()=>o}}},Ao=(e,t)=>{const n=Nr(t);e.slots.default=()=>n},Po=(e,t,n)=>{for(const s in t)(n||!Mr(s))&&(e[s]=t[s])},lf=(e,t,n)=>{const s=e.slots=To();if(e.vnode.shapeFlag&32){const r=t._;r?(Po(s,t,n),n&&Pi(s,"_",r,!0)):wo(t,s)}else t&&Ao(e,t)},cf=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=X;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:Po(r,t,n):(i=!t.$stable,wo(t,r)),o=t}else t&&(Ao(e,t),o={default:1});if(i)for(const l in r)!Mr(l)&&o[l]==null&&delete r[l]},he=Fo;function ff(e){return Ro(e)}function af(e){return Ro(e,Cc)}function Ro(e,t){const n=gs();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:a,setElementText:f,parentNode:h,nextSibling:m,setScopeId:y=ke,insertStaticContent:T}=e,C=(u,d,b,A=null,S=null,E=null,F=void 0,N=null,M=!!d.dynamicChildren)=>{if(u===d)return;u&&!$e(u,d)&&(A=En(u),fe(u,S,E,!0),u=null),d.patchFlag===-2&&(M=!1,d.dynamicChildren=null);const{type:x,ref:K,shapeFlag:V}=d;switch(x){case At:k(u,d,b,A);break;case de:U(u,d,b,A);break;case Pt:u==null&&v(d,b,A,F);break;case Ee:P(u,d,b,A,S,E,F,N,M);break;default:V&1?_(u,d,b,A,S,E,F,N,M):V&6?j(u,d,b,A,S,E,F,N,M):(V&64||V&128)&&x.process(u,d,b,A,S,E,F,N,M,Mt)}K!=null&&S?Ut(K,u&&u.ref,E,d||u,!d):K==null&&u&&u.ref!=null&&Ut(u.ref,null,E,u,!0)},k=(u,d,b,A)=>{if(u==null)s(d.el=l(d.children),b,A);else{const S=d.el=u.el;d.children!==u.children&&a(S,d.children)}},U=(u,d,b,A)=>{u==null?s(d.el=c(d.children||""),b,A):d.el=u.el},v=(u,d,b,A)=>{[u.el,u.anchor]=T(u.children,d,b,A,u.el,u.anchor)},p=({el:u,anchor:d},b,A)=>{let S;for(;u&&u!==d;)S=m(u),s(u,b,A),u=S;s(d,b,A)},g=({el:u,anchor:d})=>{let b;for(;u&&u!==d;)b=m(u),r(u),u=b;r(d)},_=(u,d,b,A,S,E,F,N,M)=>{if(d.type==="svg"?F="svg":d.type==="math"&&(F="mathml"),u==null)O(d,b,A,S,E,F,N,M);else{const x=u.el&&u.el._isVueCE?u.el:null;try{x&&x._beginPatch(),w(u,d,S,E,F,N,M)}finally{x&&x._endPatch()}}},O=(u,d,b,A,S,E,F,N)=>{let M,x;const{props:K,shapeFlag:V,transition:$,dirs:G}=u;if(M=u.el=o(u.type,E,K&&K.is,K),V&8?f(M,u.children):V&16&&D(u.children,M,null,A,S,js(u,E),F,N),G&&Je(u,null,A,"created"),R(M,u,u.scopeId,F,A),K){for(const ie in K)ie!=="value"&&!St(ie)&&i(M,ie,null,K[ie],E,A);"value"in K&&i(M,"value",null,K.value,E),(x=K.onVnodeBeforeMount)&&Ae(x,A,u)}G&&Je(u,null,A,"beforeMount");const Z=Oo(S,$);Z&&$.beforeEnter(M),s(M,d,b),((x=K&&K.onVnodeMounted)||Z||G)&&he(()=>{x&&Ae(x,A,u),Z&&$.enter(M),G&&Je(u,null,A,"mounted")},S)},R=(u,d,b,A,S)=>{if(b&&y(u,b),A)for(let E=0;E<A.length;E++)y(u,A[E]);if(S){let E=S.subTree;if(d===E||zn(E.type)&&(E.ssContent===d||E.ssFallback===d)){const F=S.vnode;R(u,F,F.scopeId,F.slotScopeIds,S.parent)}}},D=(u,d,b,A,S,E,F,N,M=0)=>{for(let x=M;x<u.length;x++){const K=u[x]=N?ze(u[x]):Pe(u[x]);C(null,K,d,b,A,S,E,F,N)}},w=(u,d,b,A,S,E,F)=>{const N=d.el=u.el;let{patchFlag:M,dynamicChildren:x,dirs:K}=d;M|=u.patchFlag&16;const V=u.props||X,$=d.props||X;let G;if(b&&Ct(b,!1),(G=$.onVnodeBeforeUpdate)&&Ae(G,b,d,u),K&&Je(d,u,b,"beforeUpdate"),b&&Ct(b,!0),x&&(!u.dynamicChildren||u.dynamicChildren.length!==x.length)&&(M=0,F=!1,x=null),(V.innerHTML&&$.innerHTML==null||V.textContent&&$.textContent==null)&&f(N,""),x?I(u.dynamicChildren,x,N,b,A,js(d,S),E):F||q(u,d,N,null,b,A,js(d,S),E,!1),M>0){if(M&16)L(N,V,$,b,S);else if(M&2&&V.class!==$.class&&i(N,"class",null,$.class,S),M&4&&i(N,"style",V.style,$.style,S),M&8){const Z=d.dynamicProps;for(let ie=0;ie<Z.length;ie++){const se=Z[ie],ue=V[se],pe=$[se];(pe!==ue||se==="value")&&i(N,se,ue,pe,S,b)}}M&1&&u.children!==d.children&&f(N,d.children)}else!F&&x==null&&L(N,V,$,b,S);((G=$.onVnodeUpdated)||K)&&he(()=>{G&&Ae(G,b,d,u),K&&Je(d,u,b,"updated")},A)},I=(u,d,b,A,S,E,F)=>{for(let N=0;N<d.length;N++){const M=u[N],x=d[N],K=M.el&&(M.type===Ee||!$e(M,x)||M.shapeFlag&198)?h(M.el):b;C(M,x,K,null,A,S,E,F,!0)}},L=(u,d,b,A,S)=>{if(d!==b){if(d!==X)for(const E in d)!St(E)&&!(E in b)&&i(u,E,d[E],null,S,A);for(const E in b){if(St(E))continue;const F=b[E],N=d[E];F!==N&&E!=="value"&&i(u,E,N,F,S,A)}"value"in b&&i(u,"value",d.value,b.value,S)}},P=(u,d,b,A,S,E,F,N,M)=>{const x=d.el=u?u.el:l(""),K=d.anchor=u?u.anchor:l("");let{patchFlag:V,dynamicChildren:$,slotScopeIds:G}=d;G&&(N=N?N.concat(G):G),u==null?(s(x,b,A),s(K,b,A),D(d.children||[],b,K,S,E,F,N,M)):V>0&&V&64&&$&&u.dynamicChildren&&u.dynamicChildren.length===$.length?(I(u.dynamicChildren,$,b,S,E,F,N),(d.key!=null||S&&d===S.subTree)&&Ir(u,d,!0)):q(u,d,b,K,S,E,F,N,M)},j=(u,d,b,A,S,E,F,N,M)=>{d.slotScopeIds=N,u==null?d.shapeFlag&512?S.ctx.activate(d,b,A,F,M):J(d,b,A,S,E,F,M):te(u,d,M)},J=(u,d,b,A,S,E,F)=>{const N=u.component=Ho(u,A,S);if(Cn(u)&&(N.ctx.renderer=Mt),Bo(N,!1,F),N.asyncDep){if(S&&S.registerDep(N,B,F),!u.el){const M=N.subTree=ce(de);U(null,M,d,b),u.placeholder=M.el}}else B(N,u,d,b,S,E,F)},te=(u,d,b)=>{const A=d.component=u.component;if(tf(u,d,b))if(A.asyncDep&&!A.asyncResolved){Y(A,d,b);return}else A.next=d,A.update();else d.el=u.el,A.vnode=d},B=(u,d,b,A,S,E,F)=>{const N=()=>{if(u.isMounted){let{next:V,bu:$,u:G,parent:Z,vnode:ie}=u;{const Me=Mo(u);if(Me){V&&(V.el=ie.el,Y(u,V,F)),Me.asyncDep.then(()=>{he(()=>{u.isUnmounted||x()},S)});return}}let se=V,ue;Ct(u,!1),V?(V.el=ie.el,Y(u,V,F)):V=ie,$&&kt($),(ue=V.props&&V.props.onVnodeBeforeUpdate)&&Ae(ue,Z,V,ie),Ct(u,!0);const pe=Hn(u),Be=u.subTree;u.subTree=pe,C(Be,pe,h(Be.el),En(Be),u,S,E),V.el=pe.el,se===null&&Ms(u,pe.el),G&&he(G,S),(ue=V.props&&V.props.onVnodeUpdated)&&he(()=>Ae(ue,Z,V,ie),S)}else{let V;const{el:$,props:G}=d,{bm:Z,m:ie,parent:se,root:ue,type:pe}=u,Be=st(d);if(Ct(u,!1),Z&&kt(Z),!Be&&(V=G&&G.onVnodeBeforeMount)&&Ae(V,se,d),Ct(u,!0),$&&Ls){const Me=()=>{u.subTree=Hn(u),Ls($,u.subTree,u,S,null)};Be&&pe.__asyncHydrate?pe.__asyncHydrate($,u,Me):Me()}else{ue.ce&&ue.ce._hasShadowRoot()&&ue.ce._injectChildStyle(pe,u.parent?u.parent.type:void 0);const Me=u.subTree=Hn(u);C(null,Me,b,A,u,S,E),d.el=Me.el}if(ie&&he(ie,S),!Be&&(V=G&&G.onVnodeMounted)){const Me=d;he(()=>Ae(V,se,Me),S)}(d.shapeFlag&256||se&&st(se.vnode)&&se.vnode.shapeFlag&256)&&u.a&&he(u.a,S),u.isMounted=!0,d=b=A=null}};u.scope.on();const M=u.effect=new $n(N);u.scope.off();const x=u.update=M.run.bind(M),K=u.job=M.runIfDirty.bind(M);K.i=u,K.id=u.uid,M.scheduler=()=>Cr(K),Ct(u,!0),x()},Y=(u,d,b)=>{d.component=u;const A=u.vnode.props;u.vnode=d,u.next=null,sf(u,d.props,A,b),cf(u,d.children,b),it(),Gr(u),ot()},q=(u,d,b,A,S,E,F,N,M=!1)=>{const x=u&&u.children,K=u?u.shapeFlag:0,V=d.children,{patchFlag:$,shapeFlag:G}=d;if($>0){if($&128){oe(x,V,b,A,S,E,F,N,M);return}else if($&256){ae(x,V,b,A,S,E,F,N,M);return}}G&8?(K&16&&Jt(x,S,E),V!==x&&f(b,V)):K&16?G&16?oe(x,V,b,A,S,E,F,N,M):Jt(x,S,E,!0):(K&8&&f(b,""),G&16&&D(V,b,A,S,E,F,N,M))},ae=(u,d,b,A,S,E,F,N,M)=>{u=u||Vt,d=d||Vt;const x=u.length,K=d.length,V=Math.min(x,K);let $;for($=0;$<V;$++){const G=d[$]=M?ze(d[$]):Pe(d[$]);C(u[$],G,b,null,S,E,F,N,M)}x>K?Jt(u,S,E,!0,!1,V):D(d,b,A,S,E,F,N,M,V)},oe=(u,d,b,A,S,E,F,N,M)=>{let x=0;const K=d.length;let V=u.length-1,$=K-1;for(;x<=V&&x<=$;){const G=u[x],Z=d[x]=M?ze(d[x]):Pe(d[x]);if($e(G,Z))C(G,Z,b,null,S,E,F,N,M);else break;x++}for(;x<=V&&x<=$;){const G=u[V],Z=d[$]=M?ze(d[$]):Pe(d[$]);if($e(G,Z))C(G,Z,b,null,S,E,F,N,M);else break;V--,$--}if(x>V){if(x<=$){const G=$+1,Z=G<K?d[G].el:A;for(;x<=$;)C(null,d[x]=M?ze(d[x]):Pe(d[x]),b,Z,S,E,F,N,M),x++}}else if(x>$)for(;x<=V;)fe(u[x],S,E,!0),x++;else{const G=x,Z=x,ie=new Map;for(x=Z;x<=$;x++){const Ne=d[x]=M?ze(d[x]):Pe(d[x]);Ne.key!=null&&ie.set(Ne.key,x)}let se,ue=0;const pe=$-Z+1;let Be=!1,Me=0;const Yt=new Array(pe);for(x=0;x<pe;x++)Yt[x]=0;for(x=G;x<=V;x++){const Ne=u[x];if(ue>=pe){fe(Ne,S,E,!0);continue}let We;if(Ne.key!=null)We=ie.get(Ne.key);else for(se=Z;se<=$;se++)if(Yt[se-Z]===0&&$e(Ne,d[se])){We=se;break}We===void 0?fe(Ne,S,E,!0):(Yt[We-Z]=x+1,We>=Me?Me=We:Be=!0,C(Ne,d[We],b,null,S,E,F,N,M),ue++)}const kr=Be?uf(Yt):Vt;for(se=kr.length-1,x=pe-1;x>=0;x--){const Ne=Z+x,We=d[Ne],Hr=d[Ne+1],Ur=Ne+1<K?Hr.el||No(Hr):A;Yt[x]===0?C(null,We,b,Ur,S,E,F,N,M):Be&&(se<0||x!==kr[se]?ye(We,b,Ur,2):se--)}}},ye=(u,d,b,A,S=null)=>{const{el:E,type:F,transition:N,children:M,shapeFlag:x}=u;if(x&6){ye(u.component.subTree,d,b,A);return}if(x&128){u.suspense.move(d,b,A);return}if(x&64){F.move(u,d,b,Mt);return}if(F===Ee){s(E,d,b);for(let V=0;V<M.length;V++)ye(M[V],d,b,A);s(u.anchor,d,b);return}if(F===Pt){p(u,d,b);return}if(A!==2&&x&1&&N)if(A===0)N.persisted&&!E[Ve]?s(E,d,b):(N.beforeEnter(E),s(E,d,b),he(()=>N.enter(E),S));else{const{leave:V,delayLeave:$,afterLeave:G}=N,Z=()=>{u.ctx.isUnmounted?r(E):s(E,d,b)},ie=()=>{const se=E._isLeaving||!!E[Ve];E._isLeaving&&E[Ve](!0),N.persisted&&!se?Z():V(E,()=>{Z(),G&&G()})};$?$(E,Z,ie):ie()}else s(E,d,b)},fe=(u,d,b,A=!1,S=!1)=>{const{type:E,props:F,ref:N,children:M,dynamicChildren:x,shapeFlag:K,patchFlag:V,dirs:$,cacheIndex:G,memo:Z}=u;if(V===-2&&(S=!1),N!=null&&(it(),Ut(N,null,b,u,!0),ot()),G!=null&&(d.renderCache[G]=void 0),K&256){d.ctx.deactivate(u);return}const ie=K&1&&$,se=!st(u);let ue;if(se&&(ue=F&&F.onVnodeBeforeUnmount)&&Ae(ue,d,u),K&6)fl(u.component,b,A);else{if(K&128){u.suspense.unmount(b,A);return}ie&&Je(u,null,d,"beforeUnmount"),K&64?u.type.remove(u,d,b,Mt,A):x&&!x.hasOnce&&(E!==Ee||V>0&&V&64)?Jt(x,d,b,!1,!0):(E===Ee&&V&384||!S&&K&16)&&Jt(M,d,b),A&&Dr(u)}const pe=Z!=null&&G==null;(se&&(ue=F&&F.onVnodeUnmounted)||ie||pe)&&he(()=>{ue&&Ae(ue,d,u),ie&&Je(u,null,d,"unmounted"),pe&&(u.el=null)},b)},Dr=u=>{const{type:d,el:b,anchor:A,transition:S}=u;if(d===Ee){cl(b,A);return}if(d===Pt){g(u);return}const E=()=>{r(b),S&&!S.persisted&&S.afterLeave&&S.afterLeave()};if(u.shapeFlag&1&&S&&!S.persisted){const{leave:F,delayLeave:N}=S,M=()=>F(b,E);N?N(u.el,E,M):M()}else E()},cl=(u,d)=>{let b;for(;u!==d;)b=m(u),r(u),u=b;r(d)},fl=(u,d,b)=>{const{bum:A,scope:S,job:E,subTree:F,um:N,m:M,a:x}=u;Qn(M),Qn(x),A&&kt(A),S.stop(),E&&(E.flags|=8,fe(F,u,d,b)),N&&he(N,d),he(()=>{u.isUnmounted=!0},d)},Jt=(u,d,b,A=!1,S=!1,E=0)=>{for(let F=E;F<u.length;F++)fe(u[F],d,b,A,S)},En=u=>{if(u.shapeFlag&6)return En(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const d=m(u.anchor||u.el),b=d&&d[ro];return b?m(b):d};let Is=!1;const Vr=(u,d,b)=>{let A;u==null?d._vnode&&(fe(d._vnode,null,null,!0),A=d._vnode.component):C(d._vnode||null,u,d,null,null,null,b),d._vnode=u,Is||(Is=!0,Gr(A),qn(),Is=!1)},Mt={p:C,um:fe,m:ye,r:Dr,mt:J,mc:D,pc:q,pbc:I,n:En,o:e};let Fs,Ls;return t&&([Fs,Ls]=t(Mt)),{render:Vr,hydrate:Fs,createApp:Yc(Vr,Fs)}}function js({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Ct({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Oo(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ir(e,t,n=!1){const s=e.children,r=t.children;if(H(s)&&H(r))for(let i=0;i<s.length;i++){const o=s[i];let l=r[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[i]=ze(r[i]),l.el=o.el),!n&&l.patchFlag!==-2&&Ir(o,l)),l.type===At&&(l.patchFlag===-1&&(l=r[i]=ze(l)),l.el=o.el),l.type===de&&!l.el&&(l.el=o.el)}}function uf(e){const t=e.slice(),n=[0];let s,r,i,o,l;const c=e.length;for(s=0;s<c;s++){const a=e[s];if(a!==0){if(r=n[n.length-1],e[r]<a){t[s]=r,n.push(s);continue}for(i=0,o=n.length-1;i<o;)l=i+o>>1,e[n[l]]<a?i=l+1:o=l;a<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function Mo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Mo(t)}function Qn(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function No(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?No(t.subTree):null}const zn=e=>e.__isSuspense;let ir=0;const hf={name:"Suspense",__isSuspense:!0,process(e,t,n,s,r,i,o,l,c,a){if(e==null)df(t,n,s,r,i,o,l,c,a);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}pf(e,t,n,s,r,o,l,c,a)}},hydrate:gf,normalize:_f},yu=hf;function _n(e,t){const n=e.props&&e.props[t];W(n)&&n()}function df(e,t,n,s,r,i,o,l,c){const{p:a,o:{createElement:f}}=c,h=f("div"),m=e.suspense=Io(e,r,s,t,h,n,i,o,l,c);a(null,m.pendingBranch=e.ssContent,h,null,s,m,i,o),m.deps>0?(_n(e,"onPending"),_n(e,"onFallback"),a(null,e.ssFallback,t,n,s,null,i,o),Bt(m,e.ssFallback)):m.resolve(!1,!0)}function pf(e,t,n,s,r,i,o,l,{p:c,um:a,o:{createElement:f}}){const h=t.suspense=e.suspense;h.vnode=t,t.el=e.el;const m=t.ssContent,y=t.ssFallback,{activeBranch:T,pendingBranch:C,isInFallback:k,isHydrating:U}=h;if(C)h.pendingBranch=m,$e(C,m)?(c(C,m,h.hiddenContainer,null,r,h,i,o,l),h.deps<=0?h.resolve():k&&!U&&!h.isFallbackMountPending&&(c(T,y,n,s,r,null,i,o,l),Bt(h,y))):(h.pendingId=ir++,U?(h.isHydrating=!1,h.activeBranch=C):a(C,r,h),h.deps=0,h.effects.length=0,h.hiddenContainer=f("div"),k?(c(null,m,h.hiddenContainer,null,r,h,i,o,l),h.deps<=0?h.resolve():h.isFallbackMountPending||(c(T,y,n,s,r,null,i,o,l),Bt(h,y))):T&&$e(T,m)?(c(T,m,n,s,r,h,i,o,l),h.resolve(!0)):(c(null,m,h.hiddenContainer,null,r,h,i,o,l),h.deps<=0&&h.resolve()));else if(T&&$e(T,m))c(T,m,n,s,r,h,i,o,l),Bt(h,m);else if(_n(t,"onPending"),h.pendingBranch=m,m.shapeFlag&512?h.pendingId=m.component.suspenseId:h.pendingId=ir++,c(null,m,h.hiddenContainer,null,r,h,i,o,l),h.deps<=0)h.resolve();else{const{timeout:v,pendingId:p}=h;v>0?setTimeout(()=>{h.pendingId===p&&h.fallback(y)},v):v===0&&h.fallback(y)}}function Io(e,t,n,s,r,i,o,l,c,a,f=!1){const{p:h,m,um:y,n:T,o:{parentNode:C,remove:k}}=a;let U;const v=mf(e);v&&t&&t.pendingBranch&&(U=t.pendingId,t.deps++);const p=e.props?Bn(e.props.timeout):void 0,g=i,_={vnode:e,parent:t,parentComponent:n,namespace:o,container:s,hiddenContainer:r,deps:0,pendingId:ir++,timeout:typeof p=="number"?p:-1,activeBranch:null,isFallbackMountPending:!1,pendingBranch:null,isInFallback:!f,isHydrating:f,isUnmounted:!1,effects:[],resolve(O=!1,R=!1){const{vnode:D,activeBranch:w,pendingBranch:I,pendingId:L,effects:P,parentComponent:j,container:J,isInFallback:te}=_;let B=!1;if(_.isHydrating)_.isHydrating=!1;else if(!O){B=w&&I.transition&&I.transition.mode==="out-in";let ae=!1;B&&(w.transition.afterLeave=()=>{L===_.pendingId&&(m(I,J,i===g&&!ae?T(w):i,0),Gn(P),te&&D.ssFallback&&(D.ssFallback.el=null))}),w&&!_.isFallbackMountPending&&(C(w.el)===J&&(i=T(w),ae=!0),y(w,j,_,!0),!B&&te&&D.ssFallback&&he(()=>D.ssFallback.el=null,_)),B||m(I,J,i,0)}_.isFallbackMountPending=!1,Bt(_,I),_.pendingBranch=null,_.isInFallback=!1;let Y=_.parent,q=!1;for(;Y;){if(Y.pendingBranch){for(let ae=0;ae<P.length;ae++)Y.effects.push(P[ae]);q=!0;break}Y=Y.parent}!q&&!B&&Gn(P),_.effects=[],v&&t&&t.pendingBranch&&U===t.pendingId&&(t.deps--,t.deps===0&&!R&&t.resolve()),_n(D,"onResolve")},fallback(O){if(!_.pendingBranch)return;const{vnode:R,activeBranch:D,parentComponent:w,container:I,namespace:L}=_;_n(R,"onFallback");const P=T(D),j=()=>{if(_.isFallbackMountPending=!1,!_.isInFallback)return;const te=_.vnode.ssFallback;h(null,te,I,P,w,null,L,l,c),Bt(_,te)},J=O.transition&&O.transition.mode==="out-in";J&&(_.isFallbackMountPending=!0,D.transition.afterLeave=j),_.isInFallback=!0,y(D,w,null,!0),J||j()},move(O,R,D){_.activeBranch&&m(_.activeBranch,O,R,D),_.container=O},next(){return _.activeBranch&&T(_.activeBranch)},registerDep(O,R,D){const w=!!_.pendingBranch;w&&_.deps++;const I=O.vnode.el;O.asyncDep.catch(L=>{Gt(L,O,0)}).then(L=>{if(O.isUnmounted||_.isUnmounted||_.pendingId!==O.suspenseId)return;mn(),O.asyncResolved=!0;const{vnode:P}=O;lr(O,L,!1),I&&(P.el=I);const j=!I&&O.subTree.el;R(O,P,C(I||O.subTree.el),I?null:T(O.subTree),_,o,D),j&&(P.placeholder=null,k(j)),Ms(O,P.el),w&&--_.deps===0&&_.resolve()})},unmount(O,R){_.isUnmounted=!0,_.activeBranch&&y(_.activeBranch,n,O,R),_.pendingBranch&&y(_.pendingBranch,n,O,R)}};return _}function gf(e,t,n,s,r,i,o,l,c){const a=t.suspense=Io(t,s,n,e.parentNode,document.createElement("div"),null,r,i,o,l,!0),f=c(e,a.pendingBranch=t.ssContent,n,a,i,o);return a.deps===0&&a.resolve(!1,!0),f}function _f(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=ri(s?n.default:n),e.ssFallback=s?ri(n.fallback):ce(de)}function ri(e){let t;if(W(e)){const n=Rt&&e._c;n&&(e._d=!1,es()),e=e(),n&&(e._d=!0,t=Se,Ns())}return H(e)&&(e=Qc(e)),e=Pe(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Fo(e,t){t&&t.pendingBranch?H(e)?t.effects.push(...e):t.effects.push(e):Gn(e)}function Bt(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e;let r=t.el;for(;!r&&t.component;)t=t.component.subTree,r=t.el;n.el=r,s&&s.subTree===n&&(s.vnode.el=r,Ms(s,r))}function mf(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Ee=Symbol.for("v-fgt"),At=Symbol.for("v-txt"),de=Symbol.for("v-cmt"),Pt=Symbol.for("v-stc"),rt=[];let Se=null;function es(e=!1){rt.push(Se=e?null:[])}function Ns(){rt.pop(),Se=rt[rt.length-1]||null}let Rt=1;function ts(e,t=!1){Rt+=e,e<0&&Se&&t&&(Se.hasOnce=!0)}function Lo(e){return e.dynamicChildren=Rt>0?Se||Vt:null,Ns(),Rt>0&&Se&&Se.push(e),e}function vu(e,t,n,s,r,i){return Lo(Vo(e,t,n,s,r,i,!0))}function or(e,t,n,s,r){return Lo(ce(e,t,n,s,r,!0))}function yt(e){return e?e.__v_isVNode===!0:!1}function $e(e,t){return e.type===t.type&&e.key===t.key}function Cu(e){}const Do=({key:e})=>e??null,Un=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?re(e)||me(e)||W(e)?{i:Ce,r:e,k:t,f:!!n}:e:null);function Vo(e,t=null,n=null,s=0,r=null,i=e===Ee?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Do(t),ref:t&&Un(t),scopeId:xs,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Ce};return l?(ns(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=re(n)?8:16),Rt>0&&!o&&Se&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Se.push(c),c}const ce=bf;function bf(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===po)&&(e=de),yt(e)){const l=ct(e,t,!0);return n&&ns(l,n),Rt>0&&!i&&Se&&(l.shapeFlag&6?Se[Se.indexOf(e)]=l:Se.push(l)),l.patchFlag=-2,l}if(wf(e)&&(e=e.__vccOpts),t){t=yf(t);let{class:l,style:c}=t;l&&!re(l)&&(t.class=ms(l)),ee(c)&&(Es(c)&&!H(c)&&(c=ne({},c)),t.style=_s(c))}const o=re(e)?1:zn(e)?128:ws(e)?64:ee(e)?4:W(e)?2:0;return Vo(e,t,n,s,r,o,i,!0)}function yf(e){return e?Es(e)||Eo(e)?ne({},e):e:null}function ct(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:c}=e,a=t?Cf(r||{},t):r,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Do(a),ref:t&&t.ref?n&&i?H(i)?i.concat(Un(t)):[i,Un(t)]:Un(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ee?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ct(e.ssContent),ssFallback:e.ssFallback&&ct(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&bt(f,c.clone(f)),f}function ko(e=" ",t=0){return ce(At,null,e,t)}function Tu(e,t){const n=ce(Pt,null,e);return n.staticCount=t,n}function vf(e="",t=!1){return t?(es(),or(de,null,e)):ce(de,null,e)}function Pe(e){return e==null||typeof e=="boolean"?ce(de):H(e)?ce(Ee,null,e.slice()):yt(e)?ze(e):ce(At,null,String(e))}function ze(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ct(e)}function ns(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(H(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),ns(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Eo(t)?t._ctx=Ce:r===3&&Ce&&(Ce.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(W(t)){if(s&65){ns(e,{default:t});return}t={default:t,_ctx:Ce},n=32}else t=String(t),s&64?(n=16,t=[ko(t)]):n=8;e.children=t,e.shapeFlag|=n}function Cf(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=ms([t.class,s.class]));else if(r==="style")t.style=_s([t.style,s.style]);else if(bn(r)){const i=t[r],o=s[r];o&&i!==o&&!(H(i)&&i.includes(o))?t[r]=i?[].concat(i,o):o:o==null&&i==null&&!fs(r)&&(t[r]=o)}else r!==""&&(t[r]=s[r])}return t}function Ae(e,t,n,s=null){Ue(e,t,7,[n,s])}const Tf=mo();let Ef=0;function Ho(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||Tf,i={uid:Ef++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Ni(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:xo(s,r),emitsOptions:yo(s,r),emit:null,emitted:null,propsDefaults:X,inheritAttrs:s.inheritAttrs,ctx:X,data:X,props:X,attrs:X,slots:X,refs:X,setupState:X,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=Xc.bind(null,i),e.ce&&e.ce(i),i}let ve=null;const Oe=()=>ve||Ce;let ss,mt;{const e=gs(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};ss=t("__VUE_INSTANCE_SETTERS__",n=>ve=n),mt=t("__VUE_SSR_SETTERS__",n=>Ot=n)}const qt=e=>{const t=ve;return ss(e),e.scope.on(),()=>{e.scope.off(),ss(t)}},mn=()=>{ve&&ve.scope.off(),ss(null)};function Uo(e){return e.vnode.shapeFlag&4}let Ot=!1;function Bo(e,t=!1,n=!1){t&&mt(t);const{props:s,children:r}=e.vnode,i=Uo(e);nf(e,s,i,t),lf(e,r,n||t);const o=i?Sf(e,t):void 0;return t&&mt(!1),o}function Sf(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,tr);const{setup:s}=n;if(s){it();const r=e.setupContext=s.length>1?jo(e):null,i=qt(e),o=yn(s,e,0,[e.props,r]),l=gr(o);if(ot(),i(),(l||e.sp)&&!st(e)&&Er(e),l){if(o.then(mn,mn),t)return o.then(c=>{mt(!0);try{lr(e,c,t)}finally{mt(!1)}}).catch(c=>{Gt(c,e,0)});e.asyncDep=o}else lr(e,o,t)}else $o(e,t)}function lr(e,t,n){W(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ee(t)&&(e.setupState=Yi(t)),$o(e,n)}let rs,cr;function Eu(e){rs=e,cr=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,$c))}}const Su=()=>!rs;function $o(e,t,n){const s=e.type;if(!e.render){if(!t&&rs&&!s.render){const r=s.template||Or(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,a=ne(ne({isCustomElement:i,delimiters:l},o),c);s.render=rs(r,a)}}e.render=s.render||ke,cr&&cr(e)}{const r=qt(e);it();try{jc(e)}finally{ot(),r()}}}const xf={get(e,t){return Te(e,"get",""),e[t]}};function jo(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,xf),slots:e.slots,emit:e.emit,expose:t}}function Tn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Yi(Gl(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in cn)return cn[n](e)},has(t,n){return n in t||n in cn}})):e.proxy}function fr(e,t=!0){return W(e)?e.displayName||e.name:e.name||t&&e.__name}function wf(e){return W(e)&&"__vccOpts"in e}const Af=(e,t)=>tc(e,t,Ot);function Pf(e,t,n){try{ts(-1);const s=arguments.length;return s===2?ee(t)&&!H(t)?yt(t)?ce(e,null,[t]):ce(e,t):ce(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&yt(n)&&(n=[n]),ce(e,t,n))}finally{ts(1)}}function xu(){}function wu(e,t,n,s){const r=n[s];if(r&&Rf(r,e))return r;const i=t();return i.memo=e.slice(),i.cacheIndex=s,n[s]=i}function Rf(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let s=0;s<n.length;s++)if(be(n[s],t[s]))return!1;return Rt>0&&Se&&Se.push(e),!0}const Of="3.5.42",Au=ke,Pu=oc,Ru=Lt,Ou=to,Mf={createComponentInstance:Ho,setupComponent:Bo,renderComponentRoot:Hn,setCurrentRenderingInstance:dn,isVNode:yt,normalizeVNode:Pe,getComponentPublicInstance:Tn,ensureValidVNode:Rr,pushWarningContext:rc,popWarningContext:ic},Mu=Mf,Nu=null,Iu=null,Fu=null;let ar;const ii=typeof window<"u"&&window.trustedTypes;if(ii)try{ar=ii.createPolicy("vue",{createHTML:e=>e})}catch{}const Ko=ar?e=>ar.createHTML(e):e=>e,Nf="http://www.w3.org/2000/svg",If="http://www.w3.org/1998/Math/MathML",Qe=typeof document<"u"?document:null,oi=Qe&&Qe.createElement("template"),Ff={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?Qe.createElementNS(Nf,e):t==="mathml"?Qe.createElementNS(If,e):n?Qe.createElement(e,{is:n}):Qe.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Qe.createTextNode(e),createComment:e=>Qe.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Qe.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{oi.innerHTML=Ko(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=oi.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},at="transition",Qt="animation",jt=Symbol("_vtc"),Wo={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Go=ne({},oo,Wo),Lf=e=>(e.displayName="Transition",e.props=Go,e),Lu=Lf((e,{slots:t})=>Pf(bc,qo(e),t)),Tt=(e,t=[])=>{H(e)?e.forEach(n=>n(...t)):e&&e(...t)},li=e=>e?H(e)?e.some(t=>t.length>1):e.length>1:!1;function qo(e){const t={};for(const P in e)P in Wo||(t[P]=e[P]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:a=o,appearToClass:f=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:m=`${n}-leave-active`,leaveToClass:y=`${n}-leave-to`}=e,T=Df(r),C=T&&T[0],k=T&&T[1],{onBeforeEnter:U,onEnter:v,onEnterCancelled:p,onLeave:g,onLeaveCancelled:_,onBeforeAppear:O=U,onAppear:R=v,onAppearCancelled:D=p}=t,w=(P,j,J,te)=>{P._enterCancelled=te,ht(P,j?f:l),ht(P,j?a:o),J&&J()},I=(P,j)=>{P._isLeaving=!1,ht(P,h),ht(P,y),ht(P,m),j&&j()},L=P=>(j,J)=>{const te=P?R:v,B=()=>w(j,P,J);Tt(te,[j,B]),ci(()=>{ht(j,P?c:i),Ge(j,P?f:l),li(te)||fi(j,s,C,B)})};return ne(t,{onBeforeEnter(P){Tt(U,[P]),Ge(P,i),Ge(P,o)},onBeforeAppear(P){Tt(O,[P]),Ge(P,c),Ge(P,a)},onEnter:L(!1),onAppear:L(!0),onLeave(P,j){P._isLeaving=!0;const J=()=>I(P,j);Ge(P,h),P._enterCancelled?(Ge(P,m),ur(P)):(ur(P),Ge(P,m)),ci(()=>{P._isLeaving&&(ht(P,h),Ge(P,y),li(g)||fi(P,s,k,J))}),Tt(g,[P,J])},onEnterCancelled(P){w(P,!1,void 0,!0),Tt(p,[P])},onAppearCancelled(P){w(P,!0,void 0,!0),Tt(D,[P])},onLeaveCancelled(P){I(P),Tt(_,[P])}})}function Df(e){if(e==null)return null;if(ee(e))return[Ks(e.enter),Ks(e.leave)];{const t=Ks(e);return[t,t]}}function Ks(e){return Bn(e)}function Ge(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[jt]||(e[jt]=new Set)).add(t)}function ht(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[jt];n&&(n.delete(t),n.size||(e[jt]=void 0))}function ci(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Vf=0;function fi(e,t,n,s){const r=e._endId=++Vf,i=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=Jo(e,t);if(!o)return s();const a=o+"end";let f=0;const h=()=>{e.removeEventListener(a,m),i()},m=y=>{y.target===e&&++f>=c&&h()};setTimeout(()=>{f<c&&h()},l+1),e.addEventListener(a,m)}function Jo(e,t){const n=window.getComputedStyle(e),s=T=>(n[T]||"").split(", "),r=s(`${at}Delay`),i=s(`${at}Duration`),o=ai(r,i),l=s(`${Qt}Delay`),c=s(`${Qt}Duration`),a=ai(l,c);let f=null,h=0,m=0;t===at?o>0&&(f=at,h=o,m=i.length):t===Qt?a>0&&(f=Qt,h=a,m=c.length):(h=Math.max(o,a),f=h>0?o>a?at:Qt:null,m=f?f===at?i.length:c.length:0);const y=f===at&&/\b(?:transform|all)(?:,|$)/.test(s(`${at}Property`).toString());return{type:f,timeout:h,propCount:m,hasTransform:y}}function ai(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>ui(n)+ui(e[s])))}function ui(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function ur(e){return(e?e.ownerDocument:document).body.offsetHeight}function kf(e,t,n){const s=e[jt];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const is=Symbol("_vod"),Fr=Symbol("_vsh"),Hf={name:"show",beforeMount(e,{value:t},{transition:n}){e[is]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):zt(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),zt(e,!0),s.enter(e)):s.leave(e,()=>{zt(e,!1)}):zt(e,t))},beforeUnmount(e,{value:t}){zt(e,t)}};function zt(e,t){e.style.display=t?e[is]:"none",e[Fr]=!t}function Uf(){Hf.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const Yo=Symbol("");function Du(e){const t=Oe();if(!t)return;const n=t.ut=(r=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>os(i,r))},s=()=>{const r=e(t.proxy);t.ce?os(t.ce,r):hr(t.subTree,r),n(r)};ho(()=>{Gn(s)}),Ps(()=>{ln(s,ke,{flush:"post"});const r=new MutationObserver(s);r.observe(t.subTree.el.parentNode,{childList:!0}),Rs(()=>r.disconnect())})}function hr(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{hr(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)os(e.el,t);else if(e.type===Ee)e.children.forEach(n=>hr(n,t));else if(e.type===Pt){let{el:n,anchor:s}=e;for(;n&&(os(n,t),n!==s);)n=n.nextSibling}}function os(e,t){if(e.nodeType===1){const n=e.style;let s="";for(const r in t){const i=xl(t[r]);n.setProperty(`--${r}`,i),s+=`--${r}: ${i};`}n[Yo]=s}}const Bf=/(?:^|;)\s*display\s*:/;function $f(e,t,n){const s=e.style,r=re(n);let i=!1;if(n&&!r){if(t)if(re(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&sn(s,l,"")}else for(const o in t)n[o]==null&&sn(s,o,"");for(const o in n){o==="display"&&(i=!0);const l=n[o];l!=null?Kf(e,o,!re(t)&&t?t[o]:void 0,l)||sn(s,o,l):sn(s,o,"")}}else if(r){if(t!==n){const o=s[Yo];o&&(n+=";"+o),s.cssText=n,i=Bf.test(n)}}else t&&e.removeAttribute("style");is in e&&(e[is]=i?s.display:"",e[Fr]&&(s.display="none"))}const Nn=/\s*!important$/;function sn(e,t,n){if(H(n))n.forEach(s=>sn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))Nn.test(n)?e.setProperty(t,n.replace(Nn,""),"important"):e.setProperty(t,n);else{const s=jf(e,t);Nn.test(n)?e.setProperty(Re(s),n.replace(Nn,""),"important"):e[s]=n}}const hi=["Webkit","Moz","ms"],Ws={};function jf(e,t){const n=Ws[t];if(n)return n;let s=_e(t);if(s!=="filter"&&s in e)return Ws[t]=s;s=ds(s);for(let r=0;r<hi.length;r++){const i=hi[r]+s;if(i in e)return Ws[t]=i}return t}function Kf(e,t,n,s){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&re(s)&&n===s}const di="http://www.w3.org/1999/xlink";function pi(e,t,n,s,r,i=Tl(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(di,t.slice(6,t.length)):e.setAttributeNS(di,t,n):n==null||i&&!Ri(n)?e.removeAttribute(t):e.setAttribute(t,i?"":Le(n)?String(n):n)}function gi(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Ko(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(l!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=Ri(n):n==null&&l==="string"?(n="",o=!0):l==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(r||t)}function nt(e,t,n,s){e.addEventListener(t,n,s)}function Wf(e,t,n,s){e.removeEventListener(t,n,s)}const _i=Symbol("_vei");function Gf(e,t,n,s,r=null){const i=e[_i]||(e[_i]={}),o=i[t];if(s&&o)o.value=s;else{const[l,c]=Yf(t);if(s){const a=i[t]=Qf(s,r);nt(e,l,a,c)}else o&&(Wf(e,l,o,c),i[t]=void 0)}}const qf=/(Once|Passive|Capture)$/,Jf=/^on:?(?:Once|Passive|Capture)$/;function Yf(e){let t,n;for(;(n=e.match(qf))&&!Jf.test(e);)t||(t={}),e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):Re(e.slice(2)),t]}let Gs=0;const Xf=Promise.resolve(),Zf=()=>Gs||(Xf.then(()=>Gs=0),Gs=Date.now());function Qf(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;const r=n.value;if(H(r)){const i=s.stopImmediatePropagation;s.stopImmediatePropagation=()=>{i.call(s),s._stopped=!0};const o=r.slice(),l=[s];for(let c=0;c<o.length&&!s._stopped;c++){const a=o[c];a&&Ue(a,t,5,l)}}else Ue(r,t,5,[s])};return n.value=e,n.attached=Zf(),n}const mi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,zf=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?kf(e,s,o):t==="style"?$f(e,n,s):bn(t)?fs(t)||Gf(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ea(e,t,s,o))?(gi(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&pi(e,t,s,o,i,t!=="value")):e._isVueCE&&(ta(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!re(s)))?gi(e,_e(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),pi(e,t,s,o))};function ea(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&mi(t)&&W(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return mi(t)&&re(n)?!1:t in e}function ta(e,t){const n=e._def.props;if(!n)return!1;const s=_e(t);return Array.isArray(n)?n.some(r=>_e(r)===s):Object.keys(n).some(r=>_e(r)===s)}const bi={};function na(e,t,n){let s=ao(e,t);as(s)&&(s=ne({},s,t));class r extends Lr{constructor(o){super(s,o,n)}}return r.def=s,r}const Vu=((e,t)=>na(e,t,va)),sa=typeof HTMLElement<"u"?HTMLElement:class{};class Lr extends sa{constructor(t,n={},s=Si){super(),this._def=t,this._props=n,this._createApp=s,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._styleAnchors=new WeakMap,this._ob=null,this.shadowRoot&&s!==Si?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(ne({},t.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.assignedSlot||t.parentNode||t.host);)if(t instanceof Lr){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{if(this._pendingResolve=void 0,this.isConnected)return this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,vr(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const n of t)this._setAttr(n.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let s=0;s<this.attributes.length;s++)this._setAttr(this.attributes[s].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});const t=(s,r=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:i,styles:o}=s;let l;if(i&&!H(i))for(const c in i){const a=i[c];(a===Number||a&&a.type===Number)&&(c in this._props&&(this._props[c]=Bn(this._props[c])),(l||(l=Object.create(null)))[_e(c)]=!0)}this._numberProps=l,this._resolveProps(s),this.shadowRoot&&this._applyStyles(o),this._mount(s)},n=this._def.__asyncLoader;if(n)return this._pendingResolve=n().then(s=>{s.configureApp=this._def.configureApp,t(this._def=s,!0)}),this._pendingResolve;t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const s in n)z(this,s)||Object.defineProperty(this,s,{get:()=>Ss(n[s])})}_resolveProps(t){const{props:n}=t,s=H(n)?n:Object.keys(n||{});for(const r of Object.keys(this))r[0]!=="_"&&s.includes(r)&&this._setProp(r,this[r]);for(const r of s.map(_e))Object.defineProperty(this,r,{get(){return this._getProp(r)},set(i){this._setProp(r,i,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const n=this.hasAttribute(t);let s=n?this.getAttribute(t):bi;const r=_e(t);n&&this._numberProps&&this._numberProps[r]&&(s=Bn(s)),this._setProp(r,s,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,n,s=!0,r=!1){if(n!==this._props[t]&&(this._dirty=!0,n===bi?delete this._props[t]:(this._props[t]=n,t==="key"&&this._app&&(this._app._ceVNode.key=n)),r&&this._instance&&this._update(),s)){const i=this._ob;i&&(this._processMutations(i.takeRecords()),i.disconnect()),n===!0?this.setAttribute(Re(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(Re(t),n+""):n||this.removeAttribute(Re(t)),i&&i.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),ya(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const n=ce(this._def,ne(t,this._props));return this._instance||(n.ce=s=>{this._instance=s,s.ce=this,s.isCE=!0;const r=(i,o)=>{this.dispatchEvent(new CustomEvent(i,as(o[0])?ne({detail:o},o[0]):{detail:o}))};s.emit=(i,...o)=>{r(i,o),Re(i)!==i&&r(Re(i),o)},this._setParent()}),n}_applyStyles(t,n,s){if(!t)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const r=this._nonce,i=this.shadowRoot,o=s?this._getStyleAnchor(s)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(i);let l=null;for(let c=t.length-1;c>=0;c--){const a=document.createElement("style");r&&a.setAttribute("nonce",r),a.textContent=t[c],i.insertBefore(a,l||o),l=a,c===0&&(s||this._styleAnchors.set(this._def,a),n&&this._styleAnchors.set(n,a))}}_getStyleAnchor(t){if(!t)return null;const n=this._styleAnchors.get(t);return n&&n.parentNode===this.shadowRoot?n:(n&&this._styleAnchors.delete(t),null)}_getRootStyleInsertionAnchor(t){for(let n=0;n<t.childNodes.length;n++){const s=t.childNodes[n];if(!(s instanceof HTMLStyleElement))return s}return null}_parseSlots(){const t=this._slots={};let n;for(;n=this.firstChild;){const s=n.nodeType===1&&n.getAttribute("slot")||"default";(t[s]||(t[s]=[])).push(n),this.removeChild(n)}}_renderSlots(){const t=this._getSlots(),n=this._instance.type.__scopeId;for(let s=0;s<t.length;s++){const r=t[s],i=r.getAttribute("name")||"default",o=this._slots[i],l=r.parentNode;if(o)for(const c of o){if(n&&c.nodeType===1){const a=n+"-s",f=document.createTreeWalker(c,1);c.setAttribute(a,"");let h;for(;h=f.nextNode();)h.setAttribute(a,"")}l.insertBefore(c,r)}else for(;r.firstChild;)l.insertBefore(r.firstChild,r);l.removeChild(r)}}_getSlots(){const t=[this];this._teleportTargets&&t.push(...this._teleportTargets);const n=new Set;for(const s of t){const r=s.querySelectorAll("slot");for(let i=0;i<r.length;i++)n.add(r[i])}return Array.from(n)}_injectChildStyle(t,n){this._applyStyles(t.styles,t,n)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_hasShadowRoot(){return this._def.shadowRoot!==!1}_removeChildStyle(t){}}function ra(e){const t=Oe(),n=t&&t.ce;return n||null}function ku(){const e=ra();return e&&e.shadowRoot}function Hu(e="$style"){{const t=Oe();if(!t)return X;const n=t.type.__cssModules;if(!n)return X;const s=n[e];return s||X}}const Xo=new WeakMap,Zo=new WeakMap,ls=Symbol("_moveCb"),yi=Symbol("_enterCb"),ia=e=>(delete e.props.mode,e),oa=ia({name:"TransitionGroup",props:ne({},Go,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Oe(),s=io();let r,i;return xr(()=>{if(!r.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!aa(r[0].el,n.vnode.el,o)){r=[];return}r.forEach(la),r.forEach(ca);const l=r.filter(fa);ur(n.vnode.el),l.forEach(c=>{const a=c.el,f=a.style;Ge(a,o),f.transform=f.webkitTransform=f.transitionDuration="";const h=a[ls]=m=>{m&&m.target!==a||(!m||m.propertyName.endsWith("transform"))&&(a.removeEventListener("transitionend",h),a[ls]=null,ht(a,o))};a.addEventListener("transitionend",h)}),r=[]}),()=>{const o=Q(e),l=qo(o);let c=o.tag||Ee;if(r=[],i)for(let a=0;a<i.length;a++){const f=i[a];f.el&&f.el instanceof Element&&!f.el[Fr]&&(r.push(f),bt(f,pn(f,l,s,n)),Xo.set(f,Qo(f.el)))}i=t.default?Tr(t.default()):[];for(let a=0;a<i.length;a++){const f=i[a];f.key!=null&&bt(f,pn(f,l,s,n))}return ce(c,null,i)}}}),Uu=oa;function la(e){const t=e.el;t[ls]&&t[ls](),t[yi]&&t[yi]()}function ca(e){Zo.set(e,Qo(e.el))}function fa(e){const t=Xo.get(e),n=Zo.get(e),s=t.left-n.left,r=t.top-n.top;if(s||r){const i=e.el,o=i.style,l=i.getBoundingClientRect();let c=1,a=1;return i.offsetWidth&&(c=l.width/i.offsetWidth),i.offsetHeight&&(a=l.height/i.offsetHeight),(!Number.isFinite(c)||c===0)&&(c=1),(!Number.isFinite(a)||a===0)&&(a=1),Math.abs(c-1)<.01&&(c=1),Math.abs(a-1)<.01&&(a=1),o.transform=o.webkitTransform=`translate(${s/c}px,${r/a}px)`,o.transitionDuration="0s",e}}function Qo(e){const t=e.getBoundingClientRect();return{left:t.left,top:t.top}}function aa(e,t,n){const s=e.cloneNode(),r=e[jt];r&&r.forEach(l=>{l.split(/\s+/).forEach(c=>c&&s.classList.remove(c))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(s);const{hasTransform:o}=Jo(s);return i.removeChild(s),o}const vt=e=>{const t=e.props["onUpdate:modelValue"]||!1;return H(t)?n=>kt(t,n):t};function ua(e){e.target.composing=!0}function vi(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ie=Symbol("_assign"),In=Symbol("_initialValue");function qs(e,t,n){return t&&(e=e.trim()),n&&(e=ps(e)),e}const dr={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e.parentNode&&(e.type==="text"?e[In]=e.defaultValue.replace(/[\r\n]/g,""):e.type==="textarea"&&(e[In]=e.defaultValue.replace(/\r\n?/g,`
|
|
4
|
+
`))),e[Ie]=vt(r);const i=s||r.props&&r.props.type==="number";nt(e,t?"change":"input",o=>{o.target.composing||e[Ie](qs(e.value,n,i))}),(n||i)&&nt(e,"change",()=>{e.value=qs(e.value,n,i)}),t||(nt(e,"compositionstart",ua),nt(e,"compositionend",vi),nt(e,"change",vi))},mounted(e,{value:t,modifiers:{trim:n,number:s}}){const r=t??"",i=e[In];delete e[In],i!==void 0&&(e.type==="text"||e.type==="textarea")&&e.value!==i?e[Ie](qs(e.value,n,s)):e.value=r},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:i}},o){if(e[Ie]=vt(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?ps(e.value):e.value,c=t??"";if(l===c)return;const a=e.getRootNode();(a instanceof Document||a instanceof ShadowRoot)&&a.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c)}},zo={deep:!0,created(e,t,n){e[Ie]=vt(n),nt(e,"change",()=>{const s=e._modelValue,r=Kt(e),i=e.checked,o=e[Ie];if(H(s)){const l=bs(s,r),c=l!==-1;if(i&&!c)o(s.concat(r));else if(!i&&c){const a=[...s];a.splice(l,1),o(a)}}else if(Xe(s)){const l=new Set(s);i?l.add(r):l.delete(r),o(l)}else o(tl(e,i))})},mounted:Ci,beforeUpdate(e,t,n){e[Ie]=vt(n),Ci(e,t,n)}};function Ci(e,{value:t,oldValue:n},s){e._modelValue=t;let r;if(H(t))r=bs(t,s.props.value)>-1;else if(Xe(t))r=t.has(s.props.value);else{if(t===n)return;r=He(t,tl(e,!0))}e.checked!==r&&(e.checked=r)}const el={created(e,{value:t},n){e.checked=He(t,n.props.value),e[Ie]=vt(n),nt(e,"change",()=>{e[Ie](Kt(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[Ie]=vt(s),t!==n&&(e.checked=He(t,s.props.value))}},ha={deep:!0,created(e,{value:t,modifiers:{number:n}},s){e._modelValue=t,nt(e,"change",()=>{const r=Array.prototype.filter.call(e.options,c=>c.selected).map(c=>n?ps(Kt(c)):Kt(c)),i=e.multiple,o=i?Xe(e._modelValue)?new Set(r):r:r[0],l=e._pendingValue=[i,i?H(o)?r.slice():r:o];try{e[Ie](o)}finally{vr(()=>{e._pendingValue===l&&(e._pendingValue=void 0)})}}),e[Ie]=vt(s)},mounted(e,{value:t}){Ti(e,t)},beforeUpdate(e,{value:t},n){e._modelValue=t,e[Ie]=vt(n)},updated(e,{value:t}){const n=e._pendingValue;e._pendingValue=void 0,(!n||n[0]!==e.multiple||!da(t,n[1],n[0]))&&Ti(e,t)}};function da(e,t,n){if(!n||H(e))return He(e,t);if(Xe(e)){if(e.size!==t.length)return!1;for(const s of t)if(!e.has(s))return!1;return!0}return!1}function Ti(e,t){const n=e.multiple,s=H(t);if(!(n&&!s&&!Xe(t))){for(let r=0,i=e.options.length;r<i;r++){const o=e.options[r],l=Kt(o);if(n)if(s){const c=typeof l;c==="string"||c==="number"?o.selected=t.some(a=>String(a)===String(l)):o.selected=bs(t,l)>-1}else o.selected=t.has(l);else if(He(Kt(o),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Kt(e){return"_value"in e?e._value:e.value}function tl(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const pa={created(e,t,n){Fn(e,t,n,null,"created")},mounted(e,t,n){Fn(e,t,n,null,"mounted")},beforeUpdate(e,t,n,s){Fn(e,t,n,s,"beforeUpdate")},updated(e,t,n,s){Fn(e,t,n,s,"updated")}};function nl(e,t){switch(e){case"SELECT":return ha;case"TEXTAREA":return dr;default:switch(t){case"checkbox":return zo;case"radio":return el;default:return dr}}}function Fn(e,t,n,s,r){const o=nl(e.tagName,n.props&&n.props.type)[r];o&&o(e,t,n,s)}function ga(){dr.getSSRProps=({value:e})=>({value:e}),el.getSSRProps=({value:e},t)=>{if(t.props&&He(t.props.value,e))return{checked:!0}},zo.getSSRProps=({value:e},t)=>{if(H(e)){if(t.props&&bs(e,t.props.value)>-1)return{checked:!0}}else if(Xe(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},pa.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=nl(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const _a=["ctrl","shift","alt","meta"],ma={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>_a.some(n=>e[`${n}Key`]&&!t.includes(n))},Bu=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=((r,...i)=>{for(let o=0;o<t.length;o++){const l=ma[t[o]];if(l&&l(r,t))return}return e(r,...i)}))},ba={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},$u=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=(r=>{if(!("key"in r))return;const i=Re(r.key);if(t.some(o=>o===i||ba[o]===i))return e(r)}))},sl=ne({patchProp:zf},Ff);let fn,Ei=!1;function rl(){return fn||(fn=ff(sl))}function il(){return fn=Ei?fn:af(sl),Ei=!0,fn}const ya=((...e)=>{rl().render(...e)}),ju=((...e)=>{il().hydrate(...e)}),Si=((...e)=>{const t=rl().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=ll(s);if(!r)return;const i=t._component;!W(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=n(r,!1,ol(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t}),va=((...e)=>{const t=il().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=ll(s);if(r)return n(r,!0,ol(r))},t});function ol(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ll(e){return re(e)?document.querySelector(e):e}let xi=!1;const Ku=()=>{xi||(xi=!0,ga(),Uf())};export{Lr as $,Ss as A,$u as B,_s as C,ko as D,nu as E,Ee as F,Cf as G,tu as H,vr as I,Wl as J,bc as K,oo as L,de as M,Fu as N,Ni as O,La as P,Pu as Q,Za as R,$n as S,ja as T,Pt as U,yu as V,At as W,Ma as X,Lu as Y,Uu as Z,Na as _,Vo as a,zf as a$,Fa as a0,Ue as a1,yn as a2,_e as a3,ds as a4,ct as a5,Iu as a6,af as a7,_u as a8,ff as a9,qa as aA,xu as aB,Ku as aC,Rf as aD,Es as aE,_t as aF,lt as aG,Su as aH,Fe as aI,yt as aJ,Gl as aK,pu as aL,gu as aM,Ff as aN,Ca as aO,Ic as aP,Dc as aQ,ho as aR,Fc as aS,Uc as aT,Hc as aU,kc as aV,Ea as aW,Vc as aX,Rs as aY,xr as aZ,nc as a_,va as aa,Tu as ab,Zl as ac,Xa as ad,na as ae,ou as af,lu as ag,au as ah,cu as ai,iu as aj,Vu as ak,fu as al,Ru as am,Sa as an,Ta as ao,Oe as ap,wl as aq,Ia as ar,Tr as as,yf as at,Gt as au,Ua as av,ju as aw,Ga as ax,Ya as ay,Ja as az,Sl as b,Va as b0,fc as b1,Yi as b2,Da as b3,Gn as b4,yr as b5,Zs as b6,Eu as b7,ya as b8,Qa as b9,pa as bA,el as bB,ha as bC,dr as bD,Hf as bE,Of as bF,Au as bG,Ba as bH,$a as bI,hc as bJ,mu as bK,uu as bL,Ha as bM,wu as bN,Bu as bO,ka as bP,eu as ba,Nu as bb,pn as bc,ts as bd,Ou as be,bt as bf,wa as bg,ql as bh,ac as bi,Mu as bj,xa as bk,Ln as bl,ru as bm,Oa as bn,Ra as bo,Cu as bp,Aa as bq,Hu as br,Du as bs,ra as bt,bu,uc as bv,ku as bw,Wa as bx,io as by,zo as bz,vu as c,ao as d,vf as e,Af as f,Si as g,Pf as h,me as i,Vn as j,Pa as k,hu as l,or as m,su as n,es as o,ms as p,ln as q,za as r,Dn as s,Q as t,du as u,Ka as v,no as w,Ps as x,wr as y,ce as z};
|