imooc-element-components-hql
Version:
1,728 lines • 64.6 kB
JavaScript
/**
* @vue/shared v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/
/*! #__NO_SIDE_EFFECTS__ */
// @__NO_SIDE_EFFECTS__
function Dn(e) {
const t = /* @__PURE__ */ Object.create(null);
for (const n of e.split(",")) t[n] = 1;
return (n) => n in t;
}
const I = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {}, Vn = process.env.NODE_ENV !== "production" ? Object.freeze([]) : [], ne = () => {
}, Cn = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter
(e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), x = Object.assign, Rn = Object.prototype.hasOwnProperty, N = (e, t) => Rn.call(e, t), m = Array.isArray, q = (e) => Le(e) === "[object Map]", At = (e) => Le(e) === "[object Set]", b = (e) => typeof e == "function", T = (e) => typeof e == "string", U = (e) => typeof e == "symbol", S = (e) => e !== null && typeof e == "object", Tn = (e) => (S(e) || b(e)) && b(e.then) && b(e.catch), Mt = Object.prototype.toString, Le = (e) => Mt.call(e), Ft = (e) => Le(e).slice(8, -1), jt = (e) => Le(e) === "[object Object]", lt = (e) => T(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, Ht = (e) => {
const t = /* @__PURE__ */ Object.create(null);
return (n) => t[n] || (t[n] = e(n));
}, In = /-(\w)/g, Ve = Ht(
(e) => e.replace(In, (t, n) => n ? n.toUpperCase() : "")
), Ce = Ht((e) => e.charAt(0).toUpperCase() + e.slice(1)), G = (e, t) => !Object.is(e, t), Pn = (e, t, n, s = !1) => {
Object.defineProperty(e, t, {
configurable: !0,
enumerable: !1,
writable: s,
value: n
});
};
let wt;
const We = () => wt || (wt = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
function re(e) {
if (m(e)) {
const t = {};
for (let n = 0; n < e.length; n++) {
const s = e[n], r = T(s) ? Fn(s) : re(s);
if (r)
for (const o in r)
t[o] = r[o];
}
return t;
} else if (T(e) || S(e))
return e;
}
const $n = /;(?![^(]*\))/g, An = /:([^]+)/, Mn = /\/\*[^]*?\*\//g;
function Fn(e) {
const t = {};
return e.replace(Mn, "").split($n).forEach((n) => {
if (n) {
const s = n.split(An);
s.length > 1 && (t[s[0].trim()] = s[1].trim());
}
}), t;
}
function ut(e) {
let t = "";
if (T(e))
t = e;
else if (m(e))
for (let n = 0; n < e.length; n++) {
const s = ut(e[n]);
s && (t += s + " ");
}
else if (S(e))
for (const n in e)
e[n] && (t += n + " ");
return t.trim();
}
const Lt = (e) => !!(e && e.__v_isRef === !0), Wt = (e) => T(e) ? e : e == null ? "" : m(e) || S(e) && (e.toString === Mt || !b(e.toString)) ? Lt(e) ? Wt(e.value) : JSON.stringify(e, Kt, 2) : String(e), Kt = (e, t) => Lt(t) ? Kt(e, t.value) : q(t) ? {
[`Map(${t.size})`]: [...t.entries()].reduce(
(n, [s, r], o) => (n[Ye(s, o) + " =>"] = r, n),
{}
)
} : At(t) ? {
[`Set(${t.size})`]: [...t.values()].map((n) => Ye(n))
} : U(t) ? Ye(t) : S(t) && !m(t) && !jt(t) ? String(t) : t, Ye = (e, t = "") => {
var n;
return (
// Symbol.description in es2019+ so we need to cast here to pass
// the lib: es2016 check
U(e) ? `Symbol(${(n = e.description) != null ? n : t})` : e
);
};
/**
* @vue/reactivity v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/
function H(e, ...t) {
console.warn(`[Vue warn] ${e}`, ...t);
}
let g;
const qe = /* @__PURE__ */ new WeakSet();
class jn {
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;
}
pause() {
this.flags |= 64;
}
resume() {
this.flags & 64 && (this.flags &= -65, qe.has(this) && (qe.delete(this), this.trigger()));
}
/**
* @internal
*/
notify() {
this.flags & 2 && !(this.flags & 32) || this.flags & 8 || Ut(this);
}
run() {
if (!(this.flags & 1))
return this.fn();
this.flags |= 2, Nt(this), Bt(this);
const t = g, n = A;
g = this, A = !0;
try {
return this.fn();
} finally {
process.env.NODE_ENV !== "production" && g !== this && H(
"Active effect was not restored correctly - this is likely a Vue internal bug."
), Jt(this), g = t, A = n, this.flags &= -3;
}
}
stop() {
if (this.flags & 1) {
for (let t = this.deps; t; t = t.nextDep)
pt(t);
this.deps = this.depsTail = void 0, Nt(this), this.onStop && this.onStop(), this.flags &= -2;
}
}
trigger() {
this.flags & 64 ? qe.add(this) : this.scheduler ? this.scheduler() : this.runIfDirty();
}
/**
* @internal
*/
runIfDirty() {
tt(this) && this.run();
}
get dirty() {
return tt(this);
}
}
let zt = 0, fe, pe;
function Ut(e, t = !1) {
if (e.flags |= 8, t) {
e.next = pe, pe = e;
return;
}
e.next = fe, fe = e;
}
function at() {
zt++;
}
function ft() {
if (--zt > 0)
return;
if (pe) {
let t = pe;
for (pe = void 0; t; ) {
const n = t.next;
t.next = void 0, t.flags &= -9, t = n;
}
}
let e;
for (; fe; ) {
let t = fe;
for (fe = 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 Bt(e) {
for (let t = e.deps; t; t = t.nextDep)
t.version = -1, t.prevActiveLink = t.dep.activeLink, t.dep.activeLink = t;
}
function Jt(e) {
let t, n = e.depsTail, s = n;
for (; s; ) {
const r = s.prevDep;
s.version === -1 ? (s === n && (n = r), pt(s), Hn(s)) : t = s, s.dep.activeLink = s.prevActiveLink, s.prevActiveLink = void 0, s = r;
}
e.deps = t, e.depsTail = n;
}
function tt(e) {
for (let t = e.deps; t; t = t.nextDep)
if (t.dep.version !== t.version || t.dep.computed && (Yt(t.dep.computed) || t.dep.version !== t.version))
return !0;
return !!e._dirty;
}
function Yt(e) {
if (e.flags & 4 && !(e.flags & 16) || (e.flags &= -17, e.globalVersion === he))
return;
e.globalVersion = he;
const t = e.dep;
if (e.flags |= 2, t.version > 0 && !e.isSSR && e.deps && !tt(e)) {
e.flags &= -3;
return;
}
const n = g, s = A;
g = e, A = !0;
try {
Bt(e);
const r = e.fn(e._value);
(t.version === 0 || G(r, e._value)) && (e._value = r, t.version++);
} catch (r) {
throw t.version++, r;
} finally {
g = n, A = s, Jt(e), e.flags &= -3;
}
}
function pt(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), process.env.NODE_ENV !== "production" && n.subsHead === e && (n.subsHead = r), n.subs === e && (n.subs = s, !s && n.computed)) {
n.computed.flags &= -5;
for (let o = n.computed.deps; o; o = o.nextDep)
pt(o, !0);
}
!t && !--n.sc && n.map && n.map.delete(n.key);
}
function Hn(e) {
const { prevDep: t, nextDep: n } = e;
t && (t.nextDep = n, e.prevDep = void 0), n && (n.prevDep = t, e.nextDep = void 0);
}
let A = !0;
const qt = [];
function Ke() {
qt.push(A), A = !1;
}
function ze() {
const e = qt.pop();
A = e === void 0 ? !0 : e;
}
function Nt(e) {
const { cleanup: t } = e;
if (e.cleanup = void 0, t) {
const n = g;
g = void 0;
try {
t();
} finally {
g = n;
}
}
}
let he = 0;
class Ln {
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 Gt {
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, process.env.NODE_ENV !== "production" && (this.subsHead = void 0);
}
track(t) {
if (!g || !A || g === this.computed)
return;
let n = this.activeLink;
if (n === void 0 || n.sub !== g)
n = this.activeLink = new Ln(g, this), g.deps ? (n.prevDep = g.depsTail, g.depsTail.nextDep = n, g.depsTail = n) : g.deps = g.depsTail = n, Qt(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 = g.depsTail, n.nextDep = void 0, g.depsTail.nextDep = n, g.depsTail = n, g.deps === n && (g.deps = s);
}
return process.env.NODE_ENV !== "production" && g.onTrack && g.onTrack(
x(
{
effect: g
},
t
)
), n;
}
trigger(t) {
this.version++, he++, this.notify(t);
}
notify(t) {
at();
try {
if (process.env.NODE_ENV !== "production")
for (let n = this.subsHead; n; n = n.nextSub)
n.sub.onTrigger && !(n.sub.flags & 8) && n.sub.onTrigger(
x(
{
effect: n.sub
},
t
)
);
for (let n = this.subs; n; n = n.prevSub)
n.sub.notify() && n.sub.dep.notify();
} finally {
ft();
}
}
}
function Qt(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)
Qt(s);
}
const n = e.dep.subs;
n !== e && (e.prevSub = n, n && (n.nextSub = e)), process.env.NODE_ENV !== "production" && e.dep.subsHead === void 0 && (e.dep.subsHead = e), e.dep.subs = e;
}
}
const nt = /* @__PURE__ */ new WeakMap(), Q = Symbol(
process.env.NODE_ENV !== "production" ? "Object iterate" : ""
), rt = Symbol(
process.env.NODE_ENV !== "production" ? "Map keys iterate" : ""
), _e = Symbol(
process.env.NODE_ENV !== "production" ? "Array iterate" : ""
);
function y(e, t, n) {
if (A && g) {
let s = nt.get(e);
s || nt.set(e, s = /* @__PURE__ */ new Map());
let r = s.get(n);
r || (s.set(n, r = new Gt()), r.map = s, r.key = n), process.env.NODE_ENV !== "production" ? r.track({
target: e,
type: t,
key: n
}) : r.track();
}
}
function W(e, t, n, s, r, o) {
const i = nt.get(e);
if (!i) {
he++;
return;
}
const c = (u) => {
u && (process.env.NODE_ENV !== "production" ? u.trigger({
target: e,
type: t,
key: n,
newValue: s,
oldValue: r,
oldTarget: o
}) : u.trigger());
};
if (at(), t === "clear")
i.forEach(c);
else {
const u = m(e), f = u && lt(n);
if (u && n === "length") {
const d = Number(s);
i.forEach((l, a) => {
(a === "length" || a === _e || !U(a) && a >= d) && c(l);
});
} else
switch ((n !== void 0 || i.has(void 0)) && c(i.get(n)), f && c(i.get(_e)), t) {
case "add":
u ? f && c(i.get("length")) : (c(i.get(Q)), q(e) && c(i.get(rt)));
break;
case "delete":
u || (c(i.get(Q)), q(e) && c(i.get(rt)));
break;
case "set":
q(e) && c(i.get(Q));
break;
}
}
ft();
}
function k(e) {
const t = h(e);
return t === e ? t : (y(t, "iterate", _e), V(e) ? t : t.map(D));
}
function dt(e) {
return y(e = h(e), "iterate", _e), e;
}
const Wn = {
__proto__: null,
[Symbol.iterator]() {
return Ge(this, Symbol.iterator, D);
},
concat(...e) {
return k(this).concat(
...e.map((t) => m(t) ? k(t) : t)
);
},
entries() {
return Ge(this, "entries", (e) => (e[1] = D(e[1]), e));
},
every(e, t) {
return F(this, "every", e, t, void 0, arguments);
},
filter(e, t) {
return F(this, "filter", e, t, (n) => n.map(D), arguments);
},
find(e, t) {
return F(this, "find", e, t, D, arguments);
},
findIndex(e, t) {
return F(this, "findIndex", e, t, void 0, arguments);
},
findLast(e, t) {
return F(this, "findLast", e, t, D, arguments);
},
findLastIndex(e, t) {
return F(this, "findLastIndex", e, t, void 0, arguments);
},
// flat, flatMap could benefit from ARRAY_ITERATE but are not straight-forward to implement
forEach(e, t) {
return F(this, "forEach", e, t, void 0, arguments);
},
includes(...e) {
return Qe(this, "includes", e);
},
indexOf(...e) {
return Qe(this, "indexOf", e);
},
join(e) {
return k(this).join(e);
},
// keys() iterator only reads `length`, no optimisation required
lastIndexOf(...e) {
return Qe(this, "lastIndexOf", e);
},
map(e, t) {
return F(this, "map", e, t, void 0, arguments);
},
pop() {
return le(this, "pop");
},
push(...e) {
return le(this, "push", e);
},
reduce(e, ...t) {
return yt(this, "reduce", e, t);
},
reduceRight(e, ...t) {
return yt(this, "reduceRight", e, t);
},
shift() {
return le(this, "shift");
},
// slice could use ARRAY_ITERATE but also seems to beg for range tracking
some(e, t) {
return F(this, "some", e, t, void 0, arguments);
},
splice(...e) {
return le(this, "splice", e);
},
toReversed() {
return k(this).toReversed();
},
toSorted(e) {
return k(this).toSorted(e);
},
toSpliced(...e) {
return k(this).toSpliced(...e);
},
unshift(...e) {
return le(this, "unshift", e);
},
values() {
return Ge(this, "values", D);
}
};
function Ge(e, t, n) {
const s = dt(e), r = s[t]();
return s !== e && !V(e) && (r._next = r.next, r.next = () => {
const o = r._next();
return o.value && (o.value = n(o.value)), o;
}), r;
}
const Kn = Array.prototype;
function F(e, t, n, s, r, o) {
const i = dt(e), c = i !== e && !V(e), u = i[t];
if (u !== Kn[t]) {
const l = u.apply(e, o);
return c ? D(l) : l;
}
let f = n;
i !== e && (c ? f = function(l, a) {
return n.call(this, D(l), a, e);
} : n.length > 2 && (f = function(l, a) {
return n.call(this, l, a, e);
}));
const d = u.call(i, f, s);
return c && r ? r(d) : d;
}
function yt(e, t, n, s) {
const r = dt(e);
let o = n;
return r !== e && (V(e) ? n.length > 3 && (o = function(i, c, u) {
return n.call(this, i, c, u, e);
}) : o = function(i, c, u) {
return n.call(this, i, D(c), u, e);
}), r[t](o, ...s);
}
function Qe(e, t, n) {
const s = h(e);
y(s, "iterate", _e);
const r = s[t](...n);
return (r === -1 || r === !1) && Re(n[0]) ? (n[0] = h(n[0]), s[t](...n)) : r;
}
function le(e, t, n = []) {
Ke(), at();
const s = h(e)[t].apply(e, n);
return ft(), ze(), s;
}
const zn = /* @__PURE__ */ Dn("__proto__,__v_isRef,__isVue"), Zt = new Set(
/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(U)
);
function Un(e) {
U(e) || (e = String(e));
const t = h(this);
return y(t, "has", e), t.hasOwnProperty(e);
}
class Xt {
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, o = this._isShallow;
if (n === "__v_isReactive")
return !r;
if (n === "__v_isReadonly")
return r;
if (n === "__v_isShallow")
return o;
if (n === "__v_raw")
return s === (r ? o ? nn : tn : o ? er : en).get(t) || // receiver is not the reactive proxy, but has the same prototype
// this means the receiver is a user proxy of the reactive proxy
Object.getPrototypeOf(t) === Object.getPrototypeOf(s) ? t : void 0;
const i = m(t);
if (!r) {
let u;
if (i && (u = Wn[n]))
return u;
if (n === "hasOwnProperty")
return Un;
}
const c = Reflect.get(
t,
n,
// if this is a proxy wrapping a ref, return methods using the raw ref
// as receiver so that we don't have to call `toRaw` on the ref in all
// its class methods
v(t) ? t : s
);
return (U(n) ? Zt.has(n) : zn(n)) || (r || y(t, "get", n), o) ? c : v(c) ? i && lt(n) ? c : c.value : S(c) ? r ? sn(c) : rn(c) : c;
}
}
class Bn extends Xt {
constructor(t = !1) {
super(!1, t);
}
set(t, n, s, r) {
let o = t[n];
if (!this._isShallow) {
const u = z(o);
if (!V(s) && !z(s) && (o = h(o), s = h(s)), !m(t) && v(o) && !v(s))
return u ? !1 : (o.value = s, !0);
}
const i = m(t) && lt(n) ? Number(n) < t.length : N(t, n), c = Reflect.set(
t,
n,
s,
v(t) ? t : r
);
return t === h(r) && (i ? G(s, o) && W(t, "set", n, s, o) : W(t, "add", n, s)), c;
}
deleteProperty(t, n) {
const s = N(t, n), r = t[n], o = Reflect.deleteProperty(t, n);
return o && s && W(t, "delete", n, void 0, r), o;
}
has(t, n) {
const s = Reflect.has(t, n);
return (!U(n) || !Zt.has(n)) && y(t, "has", n), s;
}
ownKeys(t) {
return y(
t,
"iterate",
m(t) ? "length" : Q
), Reflect.ownKeys(t);
}
}
class kt extends Xt {
constructor(t = !1) {
super(!0, t);
}
set(t, n) {
return process.env.NODE_ENV !== "production" && H(
`Set operation on key "${String(n)}" failed: target is readonly.`,
t
), !0;
}
deleteProperty(t, n) {
return process.env.NODE_ENV !== "production" && H(
`Delete operation on key "${String(n)}" failed: target is readonly.`,
t
), !0;
}
}
const Jn = /* @__PURE__ */ new Bn(), Yn = /* @__PURE__ */ new kt(), qn = /* @__PURE__ */ new kt(!0), st = (e) => e, Ne = (e) => Reflect.getPrototypeOf(e);
function Gn(e, t, n) {
return function(...s) {
const r = this.__v_raw, o = h(r), i = q(o), c = e === "entries" || e === Symbol.iterator && i, u = e === "keys" && i, f = r[e](...s), d = n ? st : t ? ot : D;
return !t && y(
o,
"iterate",
u ? rt : Q
), {
// iterator protocol
next() {
const { value: l, done: a } = f.next();
return a ? { value: l, done: a } : {
value: c ? [d(l[0]), d(l[1])] : d(l),
done: a
};
},
// iterable protocol
[Symbol.iterator]() {
return this;
}
};
};
}
function ye(e) {
return function(...t) {
if (process.env.NODE_ENV !== "production") {
const n = t[0] ? `on key "${t[0]}" ` : "";
H(
`${Ce(e)} operation ${n}failed: target is readonly.`,
h(this)
);
}
return e === "delete" ? !1 : e === "clear" ? void 0 : this;
};
}
function Qn(e, t) {
const n = {
get(r) {
const o = this.__v_raw, i = h(o), c = h(r);
e || (G(r, c) && y(i, "get", r), y(i, "get", c));
const { has: u } = Ne(i), f = t ? st : e ? ot : D;
if (u.call(i, r))
return f(o.get(r));
if (u.call(i, c))
return f(o.get(c));
o !== i && o.get(r);
},
get size() {
const r = this.__v_raw;
return !e && y(h(r), "iterate", Q), Reflect.get(r, "size", r);
},
has(r) {
const o = this.__v_raw, i = h(o), c = h(r);
return e || (G(r, c) && y(i, "has", r), y(i, "has", c)), r === c ? o.has(r) : o.has(r) || o.has(c);
},
forEach(r, o) {
const i = this, c = i.__v_raw, u = h(c), f = t ? st : e ? ot : D;
return !e && y(u, "iterate", Q), c.forEach((d, l) => r.call(o, f(d), f(l), i));
}
};
return x(
n,
e ? {
add: ye("add"),
set: ye("set"),
delete: ye("delete"),
clear: ye("clear")
} : {
add(r) {
!t && !V(r) && !z(r) && (r = h(r));
const o = h(this);
return Ne(o).has.call(o, r) || (o.add(r), W(o, "add", r, r)), this;
},
set(r, o) {
!t && !V(o) && !z(o) && (o = h(o));
const i = h(this), { has: c, get: u } = Ne(i);
let f = c.call(i, r);
f ? process.env.NODE_ENV !== "production" && St(i, c, r) : (r = h(r), f = c.call(i, r));
const d = u.call(i, r);
return i.set(r, o), f ? G(o, d) && W(i, "set", r, o, d) : W(i, "add", r, o), this;
},
delete(r) {
const o = h(this), { has: i, get: c } = Ne(o);
let u = i.call(o, r);
u ? process.env.NODE_ENV !== "production" && St(o, i, r) : (r = h(r), u = i.call(o, r));
const f = c ? c.call(o, r) : void 0, d = o.delete(r);
return u && W(o, "delete", r, void 0, f), d;
},
clear() {
const r = h(this), o = r.size !== 0, i = process.env.NODE_ENV !== "production" ? q(r) ? new Map(r) : new Set(r) : void 0, c = r.clear();
return o && W(
r,
"clear",
void 0,
void 0,
i
), c;
}
}
), [
"keys",
"values",
"entries",
Symbol.iterator
].forEach((r) => {
n[r] = Gn(r, e, t);
}), n;
}
function ht(e, t) {
const n = Qn(e, t);
return (s, r, o) => r === "__v_isReactive" ? !e : r === "__v_isReadonly" ? e : r === "__v_raw" ? s : Reflect.get(
N(n, r) && r in s ? n : s,
r,
o
);
}
const Zn = {
get: /* @__PURE__ */ ht(!1, !1)
}, Xn = {
get: /* @__PURE__ */ ht(!0, !1)
}, kn = {
get: /* @__PURE__ */ ht(!0, !0)
};
function St(e, t, n) {
const s = h(n);
if (s !== n && t.call(e, s)) {
const r = Ft(e);
H(
`Reactive ${r} contains both the raw and reactive versions of the same object${r === "Map" ? " as keys" : ""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`
);
}
}
const en = /* @__PURE__ */ new WeakMap(), er = /* @__PURE__ */ new WeakMap(), tn = /* @__PURE__ */ new WeakMap(), nn = /* @__PURE__ */ new WeakMap();
function tr(e) {
switch (e) {
case "Object":
case "Array":
return 1;
case "Map":
case "Set":
case "WeakMap":
case "WeakSet":
return 2;
default:
return 0;
}
}
function nr(e) {
return e.__v_skip || !Object.isExtensible(e) ? 0 : tr(Ft(e));
}
function rn(e) {
return z(e) ? e : _t(
e,
!1,
Jn,
Zn,
en
);
}
function sn(e) {
return _t(
e,
!0,
Yn,
Xn,
tn
);
}
function Se(e) {
return _t(
e,
!0,
qn,
kn,
nn
);
}
function _t(e, t, n, s, r) {
if (!S(e))
return process.env.NODE_ENV !== "production" && H(
`value cannot be made ${t ? "readonly" : "reactive"}: ${String(
e
)}`
), e;
if (e.__v_raw && !(t && e.__v_isReactive))
return e;
const o = r.get(e);
if (o)
return o;
const i = nr(e);
if (i === 0)
return e;
const c = new Proxy(
e,
i === 2 ? s : n
);
return r.set(e, c), c;
}
function se(e) {
return z(e) ? se(e.__v_raw) : !!(e && e.__v_isReactive);
}
function z(e) {
return !!(e && e.__v_isReadonly);
}
function V(e) {
return !!(e && e.__v_isShallow);
}
function Re(e) {
return e ? !!e.__v_raw : !1;
}
function h(e) {
const t = e && e.__v_raw;
return t ? h(t) : e;
}
function rr(e) {
return !N(e, "__v_skip") && Object.isExtensible(e) && Pn(e, "__v_skip", !0), e;
}
const D = (e) => S(e) ? rn(e) : e, ot = (e) => S(e) ? sn(e) : e;
function v(e) {
return e ? e.__v_isRef === !0 : !1;
}
function ue(e) {
return v(e) ? e.value : e;
}
const sr = {
get: (e, t, n) => t === "__v_raw" ? e : ue(Reflect.get(e, t, n)),
set: (e, t, n, s) => {
const r = e[t];
return v(r) && !v(n) ? (r.value = n, !0) : Reflect.set(e, t, n, s);
}
};
function or(e) {
return se(e) ? e : new Proxy(e, sr);
}
class ir {
constructor(t, n, s) {
this.fn = t, this.setter = n, this._value = void 0, this.dep = new Gt(this), this.__v_isRef = !0, this.deps = void 0, this.depsTail = void 0, this.flags = 16, this.globalVersion = he - 1, this.next = void 0, this.effect = this, this.__v_isReadonly = !n, this.isSSR = s;
}
/**
* @internal
*/
notify() {
if (this.flags |= 16, !(this.flags & 8) && // avoid infinite self recursion
g !== this)
return Ut(this, !0), !0;
process.env.NODE_ENV;
}
get value() {
const t = process.env.NODE_ENV !== "production" ? this.dep.track({
target: this,
type: "get",
key: "value"
}) : this.dep.track();
return Yt(this), t && (t.version = this.dep.version), this._value;
}
set value(t) {
this.setter ? this.setter(t) : process.env.NODE_ENV !== "production" && H("Write operation failed: computed value is readonly");
}
}
function cr(e, t, n = !1) {
let s, r;
b(e) ? s = e : (s = e.get, r = e.set);
const o = new ir(s, r, n);
return process.env.NODE_ENV, o;
}
const Oe = {}, Te = /* @__PURE__ */ new WeakMap();
let J;
function lr(e, t = !1, n = J) {
if (n) {
let s = Te.get(n);
s || Te.set(n, s = []), s.push(e);
} else process.env.NODE_ENV !== "production" && !t && H(
"onWatcherCleanup() was called when there was no active watcher to associate with."
);
}
function ur(e, t, n = I) {
const { immediate: s, deep: r, once: o, scheduler: i, augmentJob: c, call: u } = n, f = (_) => {
(n.onWarn || H)(
"Invalid watch source: ",
_,
"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types."
);
}, d = (_) => r ? _ : V(_) || r === !1 || r === 0 ? K(_, 1) : K(_);
let l, a, p, w, C = !1, be = !1;
if (v(e) ? (a = () => e.value, C = V(e)) : se(e) ? (a = () => d(e), C = !0) : m(e) ? (be = !0, C = e.some((_) => se(_) || V(_)), a = () => e.map((_) => {
if (v(_))
return _.value;
if (se(_))
return d(_);
if (b(_))
return u ? u(_, 2) : _();
process.env.NODE_ENV !== "production" && f(_);
})) : b(e) ? t ? a = u ? () => u(e, 2) : e : a = () => {
if (p) {
Ke();
try {
p();
} finally {
ze();
}
}
const _ = J;
J = l;
try {
return u ? u(e, 3, [w]) : e(w);
} finally {
J = _;
}
} : (a = ne, process.env.NODE_ENV !== "production" && f(e)), t && r) {
const _ = a, M = r === !0 ? 1 / 0 : r;
a = () => K(_(), M);
}
const X = () => {
l.stop();
};
if (o && t) {
const _ = t;
t = (...M) => {
_(...M), X();
};
}
let B = be ? new Array(e.length).fill(Oe) : Oe;
const ce = (_) => {
if (!(!(l.flags & 1) || !l.dirty && !_))
if (t) {
const M = l.run();
if (r || C || (be ? M.some((Je, we) => G(Je, B[we])) : G(M, B))) {
p && p();
const Je = J;
J = l;
try {
const we = [
M,
// pass undefined as the old value when it's changed for the first time
B === Oe ? void 0 : be && B[0] === Oe ? [] : B,
w
];
u ? u(t, 3, we) : (
// @ts-expect-error
t(...we)
), B = M;
} finally {
J = Je;
}
}
} else
l.run();
};
return c && c(ce), l = new jn(a), l.scheduler = i ? () => i(ce, !1) : ce, w = (_) => lr(_, !1, l), p = l.onStop = () => {
const _ = Te.get(l);
if (_) {
if (u)
u(_, 4);
else
for (const M of _) M();
Te.delete(l);
}
}, process.env.NODE_ENV !== "production" && (l.onTrack = n.onTrack, l.onTrigger = n.onTrigger), t ? s ? ce(!0) : B = l.run() : i ? i(ce.bind(null, !0), !0) : l.run(), X.pause = l.pause.bind(l), X.resume = l.resume.bind(l), X.stop = X, X;
}
function K(e, t = 1 / 0, n) {
if (t <= 0 || !S(e) || e.__v_skip || (n = n || /* @__PURE__ */ new Set(), n.has(e)))
return e;
if (n.add(e), t--, v(e))
K(e.value, t, n);
else if (m(e))
for (let s = 0; s < e.length; s++)
K(e[s], t, n);
else if (At(e) || q(e))
e.forEach((s) => {
K(s, t, n);
});
else if (jt(e)) {
for (const s in e)
K(e[s], t, n);
for (const s of Object.getOwnPropertySymbols(e))
Object.prototype.propertyIsEnumerable.call(e, s) && K(e[s], t, n);
}
return e;
}
/**
* @vue/runtime-core v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/
const Z = [];
function ar(e) {
Z.push(e);
}
function fr() {
Z.pop();
}
let Ze = !1;
function E(e, ...t) {
if (Ze) return;
Ze = !0, Ke();
const n = Z.length ? Z[Z.length - 1].component : null, s = n && n.appContext.config.warnHandler, r = pr();
if (s)
Ue(
s,
n,
11,
[
// eslint-disable-next-line no-restricted-syntax
e + t.map((o) => {
var i, c;
return (c = (i = o.toString) == null ? void 0 : i.call(o)) != null ? c : JSON.stringify(o);
}).join(""),
n && n.proxy,
r.map(
({ vnode: o }) => `at <${vn(n, o.type)}>`
).join(`
`),
r
]
);
else {
const o = [`[Vue warn]: ${e}`, ...t];
r.length && o.push(`
`, ...dr(r)), console.warn(...o);
}
ze(), Ze = !1;
}
function pr() {
let e = Z[Z.length - 1];
if (!e)
return [];
const t = [];
for (; e; ) {
const n = t[0];
n && n.vnode === e ? n.recurseCount++ : t.push({
vnode: e,
recurseCount: 0
});
const s = e.component && e.component.parent;
e = s && s.vnode;
}
return t;
}
function dr(e) {
const t = [];
return e.forEach((n, s) => {
t.push(...s === 0 ? [] : [`
`], ...hr(n));
}), t;
}
function hr({ vnode: e, recurseCount: t }) {
const n = t > 0 ? `... (${t} recursive calls)` : "", s = e.component ? e.component.parent == null : !1, r = ` at <${vn(
e.component,
e.type,
s
)}`, o = ">" + n;
return e.props ? [r, ..._r(e.props), o] : [r + o];
}
function _r(e) {
const t = [], n = Object.keys(e);
return n.slice(0, 3).forEach((s) => {
t.push(...on(s, e[s]));
}), n.length > 3 && t.push(" ..."), t;
}
function on(e, t, n) {
return T(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : v(t) ? (t = on(e, h(t.value), !0), n ? t : [`${e}=Ref<`, t, ">"]) : b(t) ? [`${e}=fn${t.name ? `<${t.name}>` : ""}`] : (t = h(t), n ? t : [`${e}=`, t]);
}
const cn = {
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 Ue(e, t, n, s) {
try {
return s ? e(...s) : e();
} catch (r) {
gt(r, t, n);
}
}
function ln(e, t, n, s) {
if (b(e)) {
const r = Ue(e, t, n, s);
return r && Tn(r) && r.catch((o) => {
gt(o, t, n);
}), r;
}
if (m(e)) {
const r = [];
for (let o = 0; o < e.length; o++)
r.push(ln(e[o], t, n, s));
return r;
} else process.env.NODE_ENV !== "production" && E(
`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`
);
}
function gt(e, t, n, s = !0) {
const r = t ? t.vnode : null, { errorHandler: o, throwUnhandledErrorInProduction: i } = t && t.appContext.config || I;
if (t) {
let c = t.parent;
const u = t.proxy, f = process.env.NODE_ENV !== "production" ? cn[n] : `https://vuejs.org/error-reference/#runtime-${n}`;
for (; c; ) {
const d = c.ec;
if (d) {
for (let l = 0; l < d.length; l++)
if (d[l](e, u, f) === !1)
return;
}
c = c.parent;
}
if (o) {
Ke(), Ue(o, null, 10, [
e,
u,
f
]), ze();
return;
}
}
gr(e, n, r, s, i);
}
function gr(e, t, n, s = !0, r = !1) {
if (process.env.NODE_ENV !== "production") {
const o = cn[t];
if (n && ar(n), E(`Unhandled error${o ? ` during execution of ${o}` : ""}`), n && fr(), s)
throw e;
console.error(e);
} else {
if (r)
throw e;
console.error(e);
}
}
const R = [];
let j = -1;
const oe = [];
let L = null, ee = 0;
const un = /* @__PURE__ */ Promise.resolve();
let Ie = null;
const mr = 100;
function Er(e) {
const t = Ie || un;
return e ? t.then(this ? e.bind(this) : e) : t;
}
function br(e) {
let t = j + 1, n = R.length;
for (; t < n; ) {
const s = t + n >>> 1, r = R[s], o = ge(r);
o < e || o === e && r.flags & 2 ? t = s + 1 : n = s;
}
return t;
}
function mt(e) {
if (!(e.flags & 1)) {
const t = ge(e), n = R[R.length - 1];
!n || // fast path when the job id is larger than the tail
!(e.flags & 2) && t >= ge(n) ? R.push(e) : R.splice(br(t), 0, e), e.flags |= 1, an();
}
}
function an() {
Ie || (Ie = un.then(pn));
}
function fn(e) {
m(e) ? oe.push(...e) : L && e.id === -1 ? L.splice(ee + 1, 0, e) : e.flags & 1 || (oe.push(e), e.flags |= 1), an();
}
function wr(e) {
if (oe.length) {
const t = [...new Set(oe)].sort(
(n, s) => ge(n) - ge(s)
);
if (oe.length = 0, L) {
L.push(...t);
return;
}
for (L = t, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), ee = 0; ee < L.length; ee++) {
const n = L[ee];
process.env.NODE_ENV !== "production" && dn(e, n) || (n.flags & 4 && (n.flags &= -2), n.flags & 8 || n(), n.flags &= -2);
}
L = null, ee = 0;
}
}
const ge = (e) => e.id == null ? e.flags & 2 ? -1 : 1 / 0 : e.id;
function pn(e) {
process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map());
const t = process.env.NODE_ENV !== "production" ? (n) => dn(e, n) : ne;
try {
for (j = 0; j < R.length; j++) {
const n = R[j];
if (n && !(n.flags & 8)) {
if (process.env.NODE_ENV !== "production" && t(n))
continue;
n.flags & 4 && (n.flags &= -2), Ue(
n,
n.i,
n.i ? 15 : 14
), n.flags & 4 || (n.flags &= -2);
}
}
} finally {
for (; j < R.length; j++) {
const n = R[j];
n && (n.flags &= -2);
}
j = -1, R.length = 0, wr(e), Ie = null, (R.length || oe.length) && pn(e);
}
}
function dn(e, t) {
const n = e.get(t) || 0;
if (n > mr) {
const s = t.i, r = s && bt(s.type);
return gt(
`Maximum recursive updates exceeded${r ? ` in component <${r}>` : ""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,
null,
10
), !0;
}
return e.set(t, n + 1), !1;
}
const Xe = /* @__PURE__ */ new Map();
process.env.NODE_ENV !== "production" && (We().__VUE_HMR_RUNTIME__ = {
createRecord: ke(Nr),
rerender: ke(yr),
reload: ke(Sr)
});
const Pe = /* @__PURE__ */ new Map();
function Nr(e, t) {
return Pe.has(e) ? !1 : (Pe.set(e, {
initialDef: $e(t),
instances: /* @__PURE__ */ new Set()
}), !0);
}
function $e(e) {
return xn(e) ? e.__vccOpts : e;
}
function yr(e, t) {
const n = Pe.get(e);
n && (n.initialDef.render = t, [...n.instances].forEach((s) => {
t && (s.render = t, $e(s.type).render = t), s.renderCache = [], s.update();
}));
}
function Sr(e, t) {
const n = Pe.get(e);
if (!n) return;
t = $e(t), Ot(n.initialDef, t);
const s = [...n.instances];
for (let r = 0; r < s.length; r++) {
const o = s[r], i = $e(o.type);
let c = Xe.get(i);
c || (i !== n.initialDef && Ot(i, t), Xe.set(i, c = /* @__PURE__ */ new Set())), c.add(o), o.appContext.propsCache.delete(o.type), o.appContext.emitsCache.delete(o.type), o.appContext.optionsCache.delete(o.type), o.ceReload ? (c.add(o), o.ceReload(t.styles), c.delete(o)) : o.parent ? mt(() => {
o.parent.update(), c.delete(o);
}) : o.appContext.reload ? o.appContext.reload() : typeof window < "u" ? window.location.reload() : console.warn(
"[HMR] Root or manually mounted instance modified. Full reload required."
), o.root.ce && o !== o.root && o.root.ce._removeChildStyle(i);
}
fn(() => {
Xe.clear();
});
}
function Ot(e, t) {
x(e, t);
for (const n in e)
n !== "__file" && !(n in t) && delete e[n];
}
function ke(e) {
return (t, n) => {
try {
return e(t, n);
} catch (s) {
console.error(s), console.warn(
"[HMR] Something went wrong during Vue component hot-reload. Full reload required."
);
}
};
}
let te, ve = [];
function hn(e, t) {
var n, s;
te = e, te ? (te.enabled = !0, ve.forEach(({ event: r, args: o }) => te.emit(r, ...o)), ve = []) : /* handle late devtools injection - only do this if we are in an actual */ /* browser environment to avoid the timer handle stalling test runner exit */ /* (#4815) */ typeof window < "u" && // some envs mock window but not fully
window.HTMLElement && // also exclude jsdom
// eslint-disable-next-line no-restricted-syntax
!((s = (n = window.navigator) == null ? void 0 : n.userAgent) != null && s.includes("jsdom")) ? ((t.__VUE_DEVTOOLS_HOOK_REPLAY__ = t.__VUE_DEVTOOLS_HOOK_REPLAY__ || []).push((o) => {
hn(o, t);
}), setTimeout(() => {
te || (t.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, ve = []);
}, 3e3)) : ve = [];
}
let P = null, Or = null;
const vr = (e) => e.__isTeleport;
function _n(e, t) {
e.shapeFlag & 6 && e.component ? (e.transition = t, _n(e.component.subTree, t)) : e.shapeFlag & 128 ? (e.ssContent.transition = t.clone(e.ssContent), e.ssFallback.transition = t.clone(e.ssFallback)) : e.transition = t;
}
/*! #__NO_SIDE_EFFECTS__ */
// @__NO_SIDE_EFFECTS__
function xr(e, t) {
return b(e) ? (
// #8236: extend call and options.name access are considered side-effects
// by Rollup, so we have to wrap it in a pure-annotated IIFE.
x({ name: e.name }, t, { setup: e })
) : e;
}
We().requestIdleCallback;
We().cancelIdleCallback;
const Dr = (e) => !!e.type.__asyncLoader, Vr = "components", gn = Symbol.for("v-ndc");
function vt(e) {
return T(e) ? Cr(Vr, e, !1) || e : e || gn;
}
function Cr(e, t, n = !0, s = !1) {
const r = ie;
if (r) {
const o = r.type;
{
const c = bt(
o,
!1
);
if (c && (c === t || c === Ve(t) || c === Ce(Ve(t))))
return o;
}
const i = (
// local registration
// check instance[type] first which is resolved for options API
xt(r[e] || o[e], t) || // global registration
xt(r.appContext[e], t)
);
return !i && s ? o : (process.env.NODE_ENV !== "production" && n && !i && E(`Failed to resolve ${e.slice(0, -1)}: ${t}
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`), i);
} else process.env.NODE_ENV !== "production" && E(
`resolve${Ce(e.slice(0, -1))} can only be used in render() or setup().`
);
}
function xt(e, t) {
return e && (e[t] || e[Ve(t)] || e[Ce(Ve(t))]);
}
function Rr(e, t, n = {}, s, r) {
if (P.ce || P.parent && Dr(P.parent) && P.parent.ce)
return Y(), Ee(
me,
null,
[Be("slot", n, s)],
64
);
let o = e[t];
process.env.NODE_ENV !== "production" && o && o.length > 1 && (E(
"SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."
), o = () => []), o && o._c && (o._d = !1), Y();
const i = o && mn(o(n)), c = n.key || // slot content array of a dynamic conditional slot may have a branch
// key attached in the `createSlots` helper, respect that
i && i.key, u = Ee(
me,
{
key: (c && !U(c) ? c : `_${t}`) + // #7256 force differentiate fallback content from actual content
""
},
i || [],
i && e._ === 1 ? 64 : -2
);
return o && o._c && (o._d = !0), u;
}
function mn(e) {
return e.some((t) => wn(t) ? !(t.type === Me || t.type === me && !mn(t.children)) : !0) ? e : null;
}
const it = (e) => e ? ns(e) ? os(e) : it(e.parent) : null, de = (
// Move PURE marker to new line to workaround compiler discarding it
// due to type annotation
/* @__PURE__ */ x(/* @__PURE__ */ Object.create(null), {
$: (e) => e,
$el: (e) => e.vnode.el,
$data: (e) => e.data,
$props: (e) => process.env.NODE_ENV !== "production" ? Se(e.props) : e.props,
$attrs: (e) => process.env.NODE_ENV !== "production" ? Se(e.attrs) : e.attrs,
$slots: (e) => process.env.NODE_ENV !== "production" ? Se(e.slots) : e.slots,
$refs: (e) => process.env.NODE_ENV !== "production" ? Se(e.refs) : e.refs,
$parent: (e) => it(e.parent),
$root: (e) => it(e.root),
$host: (e) => e.ce,
$emit: (e) => e.emit,
$options: (e) => $r(e),
$forceUpdate: (e) => e.f || (e.f = () => {
mt(e.update);
}),
$nextTick: (e) => e.n || (e.n = Er.bind(e.proxy)),
$watch: (e) => Br.bind(e)
})
), et = (e, t) => e !== I && !e.__isScriptSetup && N(e, t), Tr = {
get({ _: e }, t) {
if (t === "__v_skip")
return !0;
const { ctx: n, setupState: s, data: r, props: o, accessCache: i, type: c, appContext: u } = e;
if (process.env.NODE_ENV !== "production" && t === "__isVue")
return !0;
let f;
if (t[0] !== "$") {
const p = i[t];
if (p !== void 0)
switch (p) {
case 1:
return s[t];
case 2:
return r[t];
case 4:
return n[t];
case 3:
return o[t];
}
else {
if (et(s, t))
return i[t] = 1, s[t];
if (r !== I && N(r, t))
return i[t] = 2, r[t];
if (
// only cache other properties when instance has declared (thus stable)
// props
(f = e.propsOptions[0]) && N(f, t)
)
return i[t] = 3, o[t];
if (n !== I && N(n, t))
return i[t] = 4, n[t];
i[t] = 0;
}
}
const d = de[t];
let l, a;
if (d)
return t === "$attrs" ? (y(e.attrs, "get", ""), process.env.NODE_ENV !== "production" && void 0) : process.env.NODE_ENV !== "production" && t === "$slots" && y(e, "get", t), d(e);
if (
// css module (injected by vue-loader)
(l = c.__cssModules) && (l = l[t])
)
return l;
if (n !== I && N(n, t))
return i[t] = 4, n[t];
if (
// global properties
a = u.config.globalProperties, N(a, t)
)
return a[t];
process.env.NODE_ENV;
},
set({ _: e }, t, n) {
const { data: s, setupState: r, ctx: o } = e;
return et(r, t) ? (r[t] = n, !0) : process.env.NODE_ENV !== "production" && r.__isScriptSetup && N(r, t) ? (E(`Cannot mutate <script setup> binding "${t}" from Options API.`), !1) : s !== I && N(s, t) ? (s[t] = n, !0) : N(e.props, t) ? (process.env.NODE_ENV !== "production" && E(`Attempting to mutate prop "${t}". Props are readonly.`), !1) : t[0] === "$" && t.slice(1) in e ? (process.env.NODE_ENV !== "production" && E(
`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`
), !1) : (process.env.NODE_ENV !== "production" && t in e.appContext.config.globalProperties ? Object.defineProperty(o, t, {
enumerable: !0,
configurable: !0,
value: n
}) : o[t] = n, !0);
},
has({
_: { data: e, setupState: t, accessCache: n, ctx: s, appContext: r, propsOptions: o }
}, i) {
let c;
return !!n[i] || e !== I && N(e, i) || et(t, i) || (c = o[0]) && N(c, i) || N(s, i) || N(de, i) || N(r.config.globalProperties, i);
},
defineProperty(e, t, n) {
return n.get != null ? e._.accessCache[t] = 0 : N(n, "value") && this.set(e, t, n.value, null), Reflect.defineProperty(e, t, n);
}
};
process.env.NODE_ENV !== "production" && (Tr.ownKeys = (e) => (E(
"Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."
), Reflect.ownKeys(e)));
function Ir() {
return Pr().slots;
}
function Pr() {
const e = On();
return process.env.NODE_ENV !== "production" && !e && E("useContext() called without active instance."), e.setupContext || (e.setupContext = ss(e));
}
function Dt(e) {
return m(e) ? e.reduce(
(t, n) => (t[n] = null, t),
{}
) : e;
}
function $r(e) {
const t = e.type, { mixins: n, extends: s } = t, {
mixins: r,
optionsCache: o,
config: { optionMergeStrategies: i }
} = e.appContext, c = o.get(t);
let u;
return c ? u = c : !r.length && !n && !s ? u = t : (u = {}, r.length && r.forEach(
(f) => Ae(u, f, i, !0)
), Ae(u, t, i)), S(t) && o.set(t, u), u;
}
function Ae(e, t, n, s = !1) {
const { mixins: r, extends: o } = t;
o && Ae(e, o, n, !0), r && r.forEach(
(i) => Ae(e, i, n, !0)
);
for (const i in t)
if (s && i === "expose")
process.env.NODE_ENV !== "production" && E(
'"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.'
);
else {
const c = Ar[i] || n && n[i];
e[i] = c ? c(e[i], t[i]) : t[i];
}
return e;
}
const Ar = {
data: Vt,
props: Rt,
emits: Rt,
// objects
methods: ae,
computed: ae,
// lifecycle
beforeCreate: O,
created: O,
beforeMount: O,
mounted: O,
beforeUpdate: O,
updated: O,
beforeDestroy: O,
beforeUnmount: O,
destroyed: O,
unmounted: O,
activated: O,
deactivated: O,
errorCaptured: O,
serverPrefetch: O,
// assets
components: ae,
directives: ae,
// watch
watch: Fr,
// provide / inject
provide: Vt,
inject: Mr
};
function Vt(e, t) {
return t ? e ? function() {
return x(
b(e) ? e.call(this, this) : e,
b(t) ? t.call(this, this) : t
);
} : t : e;
}
function Mr(e, t) {
return ae(Ct(e), Ct(t));
}
function Ct(e) {
if (m(e)) {
const t = {};
for (let n = 0; n < e.length; n++)
t[e[n]] = e[n];
return t;
}
return e;
}
function O(e, t) {
return e ? [...new Set([].concat(e, t))] : t;
}
function ae(e, t) {
return e ? x(/* @__PURE__ */ Object.create(null), e, t) : t;
}
function Rt(e, t) {
return e ? m(e) && m(t) ? [.../* @__PURE__ */ new Set([...e, ...t])] : x(
/* @__PURE__ */ Object.create(null),
Dt(e),
Dt(t ?? {})
) : t;
}
function Fr(e, t) {
if (!e) return t;
if (!t) return e;
const n = x(/* @__PURE__ */ Object.create(null), e);
for (const s in t)
n[s] = O(e[s], t[s]);
return n;
}
let jr = null;
function Hr(e, t, n = !1) {
const s = ie || P;
if (s || jr) {
const r = s ? s.parent == null ? 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 && b(t) ? t.call(s && s.proxy) : t;
process.env.NODE_ENV !== "production" && E(`injection "${String(e)}" not found.`);
} else process.env.NODE_ENV !== "production" && E("inject() can only be used inside setup() or functional components.");
}
const Lr = {}, En = (e) => Object.getPrototypeOf(e) === Lr, Wr = qr, Kr = Symbol.for("v-scx"), zr = () => {
{
const e = Hr(Kr);
return e || process.env.NODE_ENV !== "production" && E(
"Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."
), e;
}
};
function Ur(e, t, n = I) {
const { immediate: s, deep: r, flush: o, once: i } = n;
process.env.NODE_ENV !== "production" && !t && (s !== void 0 && E(
'watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'
), r !== void 0 && E(
'watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'
), i !== void 0 && E(
'watch() "once" option is only respected when using the watch(source, callback, options?) signature.'
));
const c = x({}, n);
process.env.NODE_ENV !== "production" && (c.onWarn = E);
const u = t && s || !t && o !== "post";
let f;
if (He) {
if (o === "sync") {
const p = zr();
f = p.__watcherHandles || (p.__watcherHandles = []);
} else if (!u) {
const p = () => {
};
return p.stop = ne, p.resume = ne, p.pause = ne, p;
}
}
const d = ie;
c.call = (p, w, C) => ln(p, d, w, C);
let l = !1;
o === "post" ? c.scheduler = (p) => {
Wr(p, d && d.suspense);
} : o !== "sync" && (l = !0, c.scheduler = (p, w) => {
w ? p() : mt(p);
}), c.augmentJob = (p) => {
t && (p.flags |= 4), l && (p.flags |= 2, d && (p.id = d.uid, p.i = d));
};
const a = ur(e, t, c);
return He && (f ? f.push(a) : u && a()), a;
}
function Br(e, t, n) {
const s = this.proxy, r = T(e) ? e.includes(".") ? Jr(s, e) : () => s[e] : e.bind(s, s);
let o;
b(t) ? o = t : (o = t.handler, n = t);
const i = ts(this), c = Ur(r, o.bind(s), n);
return i(), c;
}
function Jr(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 Yr = (e) => e.__isSuspense;
function qr(e, t) {
t && t.pendingBranch ? m(e) ? t.effects.push(...e) : t.effects.push(e) : fn(e);
}
const me = Symbol.for("v-fgt"), Gr = Symbol.for("v-txt"), Me = Symbol.for("v-cmt"), xe = [];
let $ = null;
function Y(e = !1) {
xe.push($ = e ? null : []);
}
function Qr() {
xe.pop(), $ = xe[xe.length - 1] || null;
}
function bn(e) {
return e.dynamicChildren = $ || Vn, Qr(), $ && $.push(e), e;
}
function Tt(e, t, n, s, r, o) {
return bn(
Fe(
e,
t,
n,
s,
r,
o,
!0
)
);
}
function Ee(e, t, n, s, r) {
return bn(
Be(
e,
t,
n,
s,
r,
!0
)
);
}
function wn(e) {
return e ? e.__v_isVNode === !0 : !1;
}
const Zr = (...e) => yn(
...e
), Nn = ({ key: e }) => e ?? null, De = ({
ref: e,
ref_key: t,
ref_for: n
}) => (typeof e == "number" && (e = "" + e), e != null ? T(e) || v(e) || b(e) ? { i: P, r: e, k: t, f: !!n } : e : null);
function Fe(e, t = null, n = null, s = 0, r = null, o = e === me ?