imooc-element-components-hql
Version:
1,744 lines (1,743 loc) • 279 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 O1(e) {
const t = /* @__PURE__ */ Object.create(null);
for (const r of e.split(",")) t[r] = 1;
return (r) => r in t;
}
const R = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {}, N1 = process.env.NODE_ENV !== "production" ? Object.freeze([]) : [], s2 = () => {
}, D1 = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter
(e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), O = Object.assign, F1 = Object.prototype.hasOwnProperty, M = (e, t) => F1.call(e, t), z = Array.isArray, X = (e) => j2(e) === "[object Map]", W0 = (e) => j2(e) === "[object Set]", y = (e) => typeof e == "function", N = (e) => typeof e == "string", l2 = (e) => typeof e == "symbol", b = (e) => e !== null && typeof e == "object", R1 = (e) => (b(e) || y(e)) && y(e.then) && y(e.catch), j0 = Object.prototype.toString, j2 = (e) => j0.call(e), U0 = (e) => j2(e).slice(8, -1), K0 = (e) => j2(e) === "[object Object]", w0 = (e) => N(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, G0 = (e) => {
const t = /* @__PURE__ */ Object.create(null);
return (r) => t[r] || (t[r] = e(r));
}, P1 = /-(\w)/g, D2 = G0(
(e) => e.replace(P1, (t, r) => r ? r.toUpperCase() : "")
), F2 = G0((e) => e.charAt(0).toUpperCase() + e.slice(1)), e2 = (e, t) => !Object.is(e, t), T1 = (e, t, r, s = !1) => {
Object.defineProperty(e, t, {
configurable: !0,
enumerable: !1,
writable: s,
value: r
});
};
let A0;
const U2 = () => A0 || (A0 = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
function g0(e) {
if (z(e)) {
const t = {};
for (let r = 0; r < e.length; r++) {
const s = e[r], o = N(s) ? $1(s) : g0(s);
if (o)
for (const u in o)
t[u] = o[u];
}
return t;
} else if (N(e) || b(e))
return e;
}
const k1 = /;(?![^(]*\))/g, q1 = /:([^]+)/, I1 = /\/\*[^]*?\*\//g;
function $1(e) {
const t = {};
return e.replace(I1, "").split(k1).forEach((r) => {
if (r) {
const s = r.split(q1);
s.length > 1 && (t[s[0].trim()] = s[1].trim());
}
}), t;
}
function x0(e) {
let t = "";
if (N(e))
t = e;
else if (z(e))
for (let r = 0; r < e.length; r++) {
const s = x0(e[r]);
s && (t += s + " ");
}
else if (b(e))
for (const r in e)
e[r] && (t += r + " ");
return t.trim();
}
const J0 = (e) => !!(e && e.__v_isRef === !0), S2 = (e) => N(e) ? e : e == null ? "" : z(e) || b(e) && (e.toString === j0 || !y(e.toString)) ? J0(e) ? S2(e.value) : JSON.stringify(e, Y0, 2) : String(e), Y0 = (e, t) => J0(t) ? Y0(e, t.value) : X(t) ? {
[`Map(${t.size})`]: [...t.entries()].reduce(
(r, [s, o], u) => (r[Q2(s, u) + " =>"] = o, r),
{}
)
} : W0(t) ? {
[`Set(${t.size})`]: [...t.values()].map((r) => Q2(r))
} : l2(t) ? Q2(t) : b(t) && !z(t) && !K0(t) ? String(t) : t, Q2 = (e, t = "") => {
var r;
return (
// Symbol.description in es2019+ so we need to cast here to pass
// the lib: es2016 check
l2(e) ? `Symbol(${(r = e.description) != null ? r : t})` : e
);
};
/**
* @vue/reactivity v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/
function J(e, ...t) {
console.warn(`[Vue warn] ${e}`, ...t);
}
let x;
const X2 = /* @__PURE__ */ new WeakSet();
class W1 {
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, X2.has(this) && (X2.delete(this), this.trigger()));
}
/**
* @internal
*/
notify() {
this.flags & 2 && !(this.flags & 32) || this.flags & 8 || j1(this);
}
run() {
if (!(this.flags & 1))
return this.fn();
this.flags |= 2, S0(this), Q0(this);
const t = x, r = k;
x = this, k = !0;
try {
return this.fn();
} finally {
process.env.NODE_ENV !== "production" && x !== this && J(
"Active effect was not restored correctly - this is likely a Vue internal bug."
), X0(this), x = t, k = r, this.flags &= -3;
}
}
stop() {
if (this.flags & 1) {
for (let t = this.deps; t; t = t.nextDep)
M0(t);
this.deps = this.depsTail = void 0, S0(this), this.onStop && this.onStop(), this.flags &= -2;
}
}
trigger() {
this.flags & 64 ? X2.add(this) : this.scheduler ? this.scheduler() : this.runIfDirty();
}
/**
* @internal
*/
runIfDirty() {
s0(this) && this.run();
}
get dirty() {
return s0(this);
}
}
let Z0 = 0, g2, x2;
function j1(e, t = !1) {
if (e.flags |= 8, t) {
e.next = x2, x2 = e;
return;
}
e.next = g2, g2 = e;
}
function C0() {
Z0++;
}
function z0() {
if (--Z0 > 0)
return;
if (x2) {
let t = x2;
for (x2 = void 0; t; ) {
const r = t.next;
t.next = void 0, t.flags &= -9, t = r;
}
}
let e;
for (; g2; ) {
let t = g2;
for (g2 = void 0; t; ) {
const r = t.next;
if (t.next = void 0, t.flags &= -9, t.flags & 1)
try {
t.trigger();
} catch (s) {
e || (e = s);
}
t = r;
}
}
if (e) throw e;
}
function Q0(e) {
for (let t = e.deps; t; t = t.nextDep)
t.version = -1, t.prevActiveLink = t.dep.activeLink, t.dep.activeLink = t;
}
function X0(e) {
let t, r = e.depsTail, s = r;
for (; s; ) {
const o = s.prevDep;
s.version === -1 ? (s === r && (r = o), M0(s), K1(s)) : t = s, s.dep.activeLink = s.prevActiveLink, s.prevActiveLink = void 0, s = o;
}
e.deps = t, e.depsTail = r;
}
function s0(e) {
for (let t = e.deps; t; t = t.nextDep)
if (t.dep.version !== t.version || t.dep.computed && (U1(t.dep.computed) || t.dep.version !== t.version))
return !0;
return !!e._dirty;
}
function U1(e) {
if (e.flags & 4 && !(e.flags & 16) || (e.flags &= -17, e.globalVersion === R2))
return;
e.globalVersion = R2;
const t = e.dep;
if (e.flags |= 2, t.version > 0 && !e.isSSR && e.deps && !s0(e)) {
e.flags &= -3;
return;
}
const r = x, s = k;
x = e, k = !0;
try {
Q0(e);
const o = e.fn(e._value);
(t.version === 0 || e2(o, e._value)) && (e._value = o, t.version++);
} catch (o) {
throw t.version++, o;
} finally {
x = r, k = s, X0(e), e.flags &= -3;
}
}
function M0(e, t = !1) {
const { dep: r, prevSub: s, nextSub: o } = e;
if (s && (s.nextSub = o, e.prevSub = void 0), o && (o.prevSub = s, e.nextSub = void 0), process.env.NODE_ENV !== "production" && r.subsHead === e && (r.subsHead = o), r.subs === e && (r.subs = s, !s && r.computed)) {
r.computed.flags &= -5;
for (let u = r.computed.deps; u; u = u.nextDep)
M0(u, !0);
}
!t && !--r.sc && r.map && r.map.delete(r.key);
}
function K1(e) {
const { prevDep: t, nextDep: r } = e;
t && (t.nextDep = r, e.prevDep = void 0), r && (r.prevDep = t, e.nextDep = void 0);
}
let k = !0;
const e1 = [];
function K2() {
e1.push(k), k = !1;
}
function G2() {
const e = e1.pop();
k = e === void 0 ? !0 : e;
}
function S0(e) {
const { cleanup: t } = e;
if (e.cleanup = void 0, t) {
const r = x;
x = void 0;
try {
t();
} finally {
x = r;
}
}
}
let R2 = 0;
class G1 {
constructor(t, r) {
this.sub = t, this.dep = r, this.version = r.version, this.nextDep = this.prevDep = this.nextSub = this.prevSub = this.prevActiveLink = void 0;
}
}
class J1 {
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 (!x || !k || x === this.computed)
return;
let r = this.activeLink;
if (r === void 0 || r.sub !== x)
r = this.activeLink = new G1(x, this), x.deps ? (r.prevDep = x.depsTail, x.depsTail.nextDep = r, x.depsTail = r) : x.deps = x.depsTail = r, t1(r);
else if (r.version === -1 && (r.version = this.version, r.nextDep)) {
const s = r.nextDep;
s.prevDep = r.prevDep, r.prevDep && (r.prevDep.nextDep = s), r.prevDep = x.depsTail, r.nextDep = void 0, x.depsTail.nextDep = r, x.depsTail = r, x.deps === r && (x.deps = s);
}
return process.env.NODE_ENV !== "production" && x.onTrack && x.onTrack(
O(
{
effect: x
},
t
)
), r;
}
trigger(t) {
this.version++, R2++, this.notify(t);
}
notify(t) {
C0();
try {
if (process.env.NODE_ENV !== "production")
for (let r = this.subsHead; r; r = r.nextSub)
r.sub.onTrigger && !(r.sub.flags & 8) && r.sub.onTrigger(
O(
{
effect: r.sub
},
t
)
);
for (let r = this.subs; r; r = r.prevSub)
r.sub.notify() && r.sub.dep.notify();
} finally {
z0();
}
}
}
function t1(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)
t1(s);
}
const r = e.dep.subs;
r !== e && (e.prevSub = r, r && (r.nextSub = e)), process.env.NODE_ENV !== "production" && e.dep.subsHead === void 0 && (e.dep.subsHead = e), e.dep.subs = e;
}
}
const u0 = /* @__PURE__ */ new WeakMap(), t2 = Symbol(
process.env.NODE_ENV !== "production" ? "Object iterate" : ""
), c0 = Symbol(
process.env.NODE_ENV !== "production" ? "Map keys iterate" : ""
), z2 = Symbol(
process.env.NODE_ENV !== "production" ? "Array iterate" : ""
);
function V(e, t, r) {
if (k && x) {
let s = u0.get(e);
s || u0.set(e, s = /* @__PURE__ */ new Map());
let o = s.get(r);
o || (s.set(r, o = new J1()), o.map = s, o.key = r), process.env.NODE_ENV !== "production" ? o.track({
target: e,
type: t,
key: r
}) : o.track();
}
}
function U(e, t, r, s, o, u) {
const c = u0.get(e);
if (!c) {
R2++;
return;
}
const p = (v) => {
v && (process.env.NODE_ENV !== "production" ? v.trigger({
target: e,
type: t,
key: r,
newValue: s,
oldValue: o,
oldTarget: u
}) : v.trigger());
};
if (C0(), t === "clear")
c.forEach(p);
else {
const v = z(e), h = v && w0(r);
if (v && r === "length") {
const f = Number(s);
c.forEach((i, d) => {
(d === "length" || d === z2 || !l2(d) && d >= f) && p(i);
});
} else
switch ((r !== void 0 || c.has(void 0)) && p(c.get(r)), h && p(c.get(z2)), t) {
case "add":
v ? h && p(c.get("length")) : (p(c.get(t2)), X(e) && p(c.get(c0)));
break;
case "delete":
v || (p(c.get(t2)), X(e) && p(c.get(c0)));
break;
case "set":
X(e) && p(c.get(t2));
break;
}
}
z0();
}
function n2(e) {
const t = w(e);
return t === e ? t : (V(t, "iterate", z2), E(e) ? t : t.map(A));
}
function J2(e) {
return V(e = w(e), "iterate", z2), e;
}
const Y1 = {
__proto__: null,
[Symbol.iterator]() {
return e0(this, Symbol.iterator, A);
},
concat(...e) {
return n2(this).concat(
...e.map((t) => z(t) ? n2(t) : t)
);
},
entries() {
return e0(this, "entries", (e) => (e[1] = A(e[1]), e));
},
every(e, t) {
return I(this, "every", e, t, void 0, arguments);
},
filter(e, t) {
return I(this, "filter", e, t, (r) => r.map(A), arguments);
},
find(e, t) {
return I(this, "find", e, t, A, arguments);
},
findIndex(e, t) {
return I(this, "findIndex", e, t, void 0, arguments);
},
findLast(e, t) {
return I(this, "findLast", e, t, A, arguments);
},
findLastIndex(e, t) {
return I(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 I(this, "forEach", e, t, void 0, arguments);
},
includes(...e) {
return t0(this, "includes", e);
},
indexOf(...e) {
return t0(this, "indexOf", e);
},
join(e) {
return n2(this).join(e);
},
// keys() iterator only reads `length`, no optimisation required
lastIndexOf(...e) {
return t0(this, "lastIndexOf", e);
},
map(e, t) {
return I(this, "map", e, t, void 0, arguments);
},
pop() {
return h2(this, "pop");
},
push(...e) {
return h2(this, "push", e);
},
reduce(e, ...t) {
return E0(this, "reduce", e, t);
},
reduceRight(e, ...t) {
return E0(this, "reduceRight", e, t);
},
shift() {
return h2(this, "shift");
},
// slice could use ARRAY_ITERATE but also seems to beg for range tracking
some(e, t) {
return I(this, "some", e, t, void 0, arguments);
},
splice(...e) {
return h2(this, "splice", e);
},
toReversed() {
return n2(this).toReversed();
},
toSorted(e) {
return n2(this).toSorted(e);
},
toSpliced(...e) {
return n2(this).toSpliced(...e);
},
unshift(...e) {
return h2(this, "unshift", e);
},
values() {
return e0(this, "values", A);
}
};
function e0(e, t, r) {
const s = J2(e), o = s[t]();
return s !== e && !E(e) && (o._next = o.next, o.next = () => {
const u = o._next();
return u.value && (u.value = r(u.value)), u;
}), o;
}
const Z1 = Array.prototype;
function I(e, t, r, s, o, u) {
const c = J2(e), p = c !== e && !E(e), v = c[t];
if (v !== Z1[t]) {
const i = v.apply(e, u);
return p ? A(i) : i;
}
let h = r;
c !== e && (p ? h = function(i, d) {
return r.call(this, A(i), d, e);
} : r.length > 2 && (h = function(i, d) {
return r.call(this, i, d, e);
}));
const f = v.call(c, h, s);
return p && o ? o(f) : f;
}
function E0(e, t, r, s) {
const o = J2(e);
let u = r;
return o !== e && (E(e) ? r.length > 3 && (u = function(c, p, v) {
return r.call(this, c, p, v, e);
}) : u = function(c, p, v) {
return r.call(this, c, A(p), v, e);
}), o[t](u, ...s);
}
function t0(e, t, r) {
const s = w(e);
V(s, "iterate", z2);
const o = s[t](...r);
return (o === -1 || o === !1) && P2(r[0]) ? (r[0] = w(r[0]), s[t](...r)) : o;
}
function h2(e, t, r = []) {
K2(), C0();
const s = w(e)[t].apply(e, r);
return z0(), G2(), s;
}
const Q1 = /* @__PURE__ */ O1("__proto__,__v_isRef,__isVue"), r1 = new Set(
/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(l2)
);
function X1(e) {
l2(e) || (e = String(e));
const t = w(this);
return V(t, "has", e), t.hasOwnProperty(e);
}
class a1 {
constructor(t = !1, r = !1) {
this._isReadonly = t, this._isShallow = r;
}
get(t, r, s) {
if (r === "__v_skip") return t.__v_skip;
const o = this._isReadonly, u = this._isShallow;
if (r === "__v_isReactive")
return !o;
if (r === "__v_isReadonly")
return o;
if (r === "__v_isShallow")
return u;
if (r === "__v_raw")
return s === (o ? u ? o1 : n1 : u ? u4 : _1).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 c = z(t);
if (!o) {
let v;
if (c && (v = Y1[r]))
return v;
if (r === "hasOwnProperty")
return X1;
}
const p = Reflect.get(
t,
r,
// 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
L(t) ? t : s
);
return (l2(r) ? r1.has(r) : Q1(r)) || (o || V(t, "get", r), u) ? p : L(p) ? c && w0(r) ? p : p.value : b(p) ? o ? u1(p) : s1(p) : p;
}
}
class e4 extends a1 {
constructor(t = !1) {
super(!1, t);
}
set(t, r, s, o) {
let u = t[r];
if (!this._isShallow) {
const v = Y(u);
if (!E(s) && !Y(s) && (u = w(u), s = w(s)), !z(t) && L(u) && !L(s))
return v ? !1 : (u.value = s, !0);
}
const c = z(t) && w0(r) ? Number(r) < t.length : M(t, r), p = Reflect.set(
t,
r,
s,
L(t) ? t : o
);
return t === w(o) && (c ? e2(s, u) && U(t, "set", r, s, u) : U(t, "add", r, s)), p;
}
deleteProperty(t, r) {
const s = M(t, r), o = t[r], u = Reflect.deleteProperty(t, r);
return u && s && U(t, "delete", r, void 0, o), u;
}
has(t, r) {
const s = Reflect.has(t, r);
return (!l2(r) || !r1.has(r)) && V(t, "has", r), s;
}
ownKeys(t) {
return V(
t,
"iterate",
z(t) ? "length" : t2
), Reflect.ownKeys(t);
}
}
class l1 extends a1 {
constructor(t = !1) {
super(!0, t);
}
set(t, r) {
return process.env.NODE_ENV !== "production" && J(
`Set operation on key "${String(r)}" failed: target is readonly.`,
t
), !0;
}
deleteProperty(t, r) {
return process.env.NODE_ENV !== "production" && J(
`Delete operation on key "${String(r)}" failed: target is readonly.`,
t
), !0;
}
}
const t4 = /* @__PURE__ */ new e4(), r4 = /* @__PURE__ */ new l1(), a4 = /* @__PURE__ */ new l1(!0), p0 = (e) => e, b2 = (e) => Reflect.getPrototypeOf(e);
function l4(e, t, r) {
return function(...s) {
const o = this.__v_raw, u = w(o), c = X(u), p = e === "entries" || e === Symbol.iterator && c, v = e === "keys" && c, h = o[e](...s), f = r ? p0 : t ? i0 : A;
return !t && V(
u,
"iterate",
v ? c0 : t2
), {
// iterator protocol
next() {
const { value: i, done: d } = h.next();
return d ? { value: i, done: d } : {
value: p ? [f(i[0]), f(i[1])] : f(i),
done: d
};
},
// iterable protocol
[Symbol.iterator]() {
return this;
}
};
};
}
function B2(e) {
return function(...t) {
if (process.env.NODE_ENV !== "production") {
const r = t[0] ? `on key "${t[0]}" ` : "";
J(
`${F2(e)} operation ${r}failed: target is readonly.`,
w(this)
);
}
return e === "delete" ? !1 : e === "clear" ? void 0 : this;
};
}
function _4(e, t) {
const r = {
get(o) {
const u = this.__v_raw, c = w(u), p = w(o);
e || (e2(o, p) && V(c, "get", o), V(c, "get", p));
const { has: v } = b2(c), h = t ? p0 : e ? i0 : A;
if (v.call(c, o))
return h(u.get(o));
if (v.call(c, p))
return h(u.get(p));
u !== c && u.get(o);
},
get size() {
const o = this.__v_raw;
return !e && V(w(o), "iterate", t2), Reflect.get(o, "size", o);
},
has(o) {
const u = this.__v_raw, c = w(u), p = w(o);
return e || (e2(o, p) && V(c, "has", o), V(c, "has", p)), o === p ? u.has(o) : u.has(o) || u.has(p);
},
forEach(o, u) {
const c = this, p = c.__v_raw, v = w(p), h = t ? p0 : e ? i0 : A;
return !e && V(v, "iterate", t2), p.forEach((f, i) => o.call(u, h(f), h(i), c));
}
};
return O(
r,
e ? {
add: B2("add"),
set: B2("set"),
delete: B2("delete"),
clear: B2("clear")
} : {
add(o) {
!t && !E(o) && !Y(o) && (o = w(o));
const u = w(this);
return b2(u).has.call(u, o) || (u.add(o), U(u, "add", o, o)), this;
},
set(o, u) {
!t && !E(u) && !Y(u) && (u = w(u));
const c = w(this), { has: p, get: v } = b2(c);
let h = p.call(c, o);
h ? process.env.NODE_ENV !== "production" && O0(c, p, o) : (o = w(o), h = p.call(c, o));
const f = v.call(c, o);
return c.set(o, u), h ? e2(u, f) && U(c, "set", o, u, f) : U(c, "add", o, u), this;
},
delete(o) {
const u = w(this), { has: c, get: p } = b2(u);
let v = c.call(u, o);
v ? process.env.NODE_ENV !== "production" && O0(u, c, o) : (o = w(o), v = c.call(u, o));
const h = p ? p.call(u, o) : void 0, f = u.delete(o);
return v && U(u, "delete", o, void 0, h), f;
},
clear() {
const o = w(this), u = o.size !== 0, c = process.env.NODE_ENV !== "production" ? X(o) ? new Map(o) : new Set(o) : void 0, p = o.clear();
return u && U(
o,
"clear",
void 0,
void 0,
c
), p;
}
}
), [
"keys",
"values",
"entries",
Symbol.iterator
].forEach((o) => {
r[o] = l4(o, e, t);
}), r;
}
function H0(e, t) {
const r = _4(e, t);
return (s, o, u) => o === "__v_isReactive" ? !e : o === "__v_isReadonly" ? e : o === "__v_raw" ? s : Reflect.get(
M(r, o) && o in s ? r : s,
o,
u
);
}
const n4 = {
get: /* @__PURE__ */ H0(!1, !1)
}, o4 = {
get: /* @__PURE__ */ H0(!0, !1)
}, s4 = {
get: /* @__PURE__ */ H0(!0, !0)
};
function O0(e, t, r) {
const s = w(r);
if (s !== r && t.call(e, s)) {
const o = U0(e);
J(
`Reactive ${o} contains both the raw and reactive versions of the same object${o === "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 _1 = /* @__PURE__ */ new WeakMap(), u4 = /* @__PURE__ */ new WeakMap(), n1 = /* @__PURE__ */ new WeakMap(), o1 = /* @__PURE__ */ new WeakMap();
function c4(e) {
switch (e) {
case "Object":
case "Array":
return 1;
case "Map":
case "Set":
case "WeakMap":
case "WeakSet":
return 2;
default:
return 0;
}
}
function p4(e) {
return e.__v_skip || !Object.isExtensible(e) ? 0 : c4(U0(e));
}
function s1(e) {
return Y(e) ? e : V0(
e,
!1,
t4,
n4,
_1
);
}
function u1(e) {
return V0(
e,
!0,
r4,
o4,
n1
);
}
function L2(e) {
return V0(
e,
!0,
a4,
s4,
o1
);
}
function V0(e, t, r, s, o) {
if (!b(e))
return process.env.NODE_ENV !== "production" && J(
`value cannot be made ${t ? "readonly" : "reactive"}: ${String(
e
)}`
), e;
if (e.__v_raw && !(t && e.__v_isReactive))
return e;
const u = o.get(e);
if (u)
return u;
const c = p4(e);
if (c === 0)
return e;
const p = new Proxy(
e,
c === 2 ? s : r
);
return o.set(e, p), p;
}
function r2(e) {
return Y(e) ? r2(e.__v_raw) : !!(e && e.__v_isReactive);
}
function Y(e) {
return !!(e && e.__v_isReadonly);
}
function E(e) {
return !!(e && e.__v_isShallow);
}
function P2(e) {
return e ? !!e.__v_raw : !1;
}
function w(e) {
const t = e && e.__v_raw;
return t ? w(t) : e;
}
function i4(e) {
return !M(e, "__v_skip") && Object.isExtensible(e) && T1(e, "__v_skip", !0), e;
}
const A = (e) => b(e) ? s1(e) : e, i0 = (e) => b(e) ? u1(e) : e;
function L(e) {
return e ? e.__v_isRef === !0 : !1;
}
function E2(e) {
return L(e) ? e.value : e;
}
const v4 = {
get: (e, t, r) => t === "__v_raw" ? e : E2(Reflect.get(e, t, r)),
set: (e, t, r, s) => {
const o = e[t];
return L(o) && !L(r) ? (o.value = r, !0) : Reflect.set(e, t, r, s);
}
};
function h4(e) {
return r2(e) ? e : new Proxy(e, v4);
}
const A2 = {}, T2 = /* @__PURE__ */ new WeakMap();
let Q;
function d4(e, t = !1, r = Q) {
if (r) {
let s = T2.get(r);
s || T2.set(r, s = []), s.push(e);
} else process.env.NODE_ENV !== "production" && !t && J(
"onWatcherCleanup() was called when there was no active watcher to associate with."
);
}
function f4(e, t, r = R) {
const { immediate: s, deep: o, once: u, scheduler: c, augmentJob: p, call: v } = r, h = (g) => {
(r.onWarn || J)(
"Invalid watch source: ",
g,
"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types."
);
}, f = (g) => o ? g : E(g) || o === !1 || o === 0 ? K(g, 1) : K(g);
let i, d, m, H, F = !1, V2 = !1;
if (L(e) ? (d = () => e.value, F = E(e)) : r2(e) ? (d = () => f(e), F = !0) : z(e) ? (V2 = !0, F = e.some((g) => r2(g) || E(g)), d = () => e.map((g) => {
if (L(g))
return g.value;
if (r2(g))
return f(g);
if (y(g))
return v ? v(g, 2) : g();
process.env.NODE_ENV !== "production" && h(g);
})) : y(e) ? t ? d = v ? () => v(e, 2) : e : d = () => {
if (m) {
K2();
try {
m();
} finally {
G2();
}
}
const g = Q;
Q = i;
try {
return v ? v(e, 3, [H]) : e(H);
} finally {
Q = g;
}
} : (d = s2, process.env.NODE_ENV !== "production" && h(e)), t && o) {
const g = d, q = o === !0 ? 1 / 0 : o;
d = () => K(g(), q);
}
const _2 = () => {
i.stop();
};
if (u && t) {
const g = t;
t = (...q) => {
g(...q), _2();
};
}
let Z = V2 ? new Array(e.length).fill(A2) : A2;
const v2 = (g) => {
if (!(!(i.flags & 1) || !i.dirty && !g))
if (t) {
const q = i.run();
if (o || F || (V2 ? q.some((Z2, y2) => e2(Z2, Z[y2])) : e2(q, Z))) {
m && m();
const Z2 = Q;
Q = i;
try {
const y2 = [
q,
// pass undefined as the old value when it's changed for the first time
Z === A2 ? void 0 : V2 && Z[0] === A2 ? [] : Z,
H
];
v ? v(t, 3, y2) : (
// @ts-expect-error
t(...y2)
), Z = q;
} finally {
Q = Z2;
}
}
} else
i.run();
};
return p && p(v2), i = new W1(d), i.scheduler = c ? () => c(v2, !1) : v2, H = (g) => d4(g, !1, i), m = i.onStop = () => {
const g = T2.get(i);
if (g) {
if (v)
v(g, 4);
else
for (const q of g) q();
T2.delete(i);
}
}, process.env.NODE_ENV !== "production" && (i.onTrack = r.onTrack, i.onTrigger = r.onTrigger), t ? s ? v2(!0) : Z = i.run() : c ? c(v2.bind(null, !0), !0) : i.run(), _2.pause = i.pause.bind(i), _2.resume = i.resume.bind(i), _2.stop = _2, _2;
}
function K(e, t = 1 / 0, r) {
if (t <= 0 || !b(e) || e.__v_skip || (r = r || /* @__PURE__ */ new Set(), r.has(e)))
return e;
if (r.add(e), t--, L(e))
K(e.value, t, r);
else if (z(e))
for (let s = 0; s < e.length; s++)
K(e[s], t, r);
else if (W0(e) || X(e))
e.forEach((s) => {
K(s, t, r);
});
else if (K0(e)) {
for (const s in e)
K(e[s], t, r);
for (const s of Object.getOwnPropertySymbols(e))
Object.prototype.propertyIsEnumerable.call(e, s) && K(e[s], t, r);
}
return e;
}
/**
* @vue/runtime-core v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/
const a2 = [];
function m4(e) {
a2.push(e);
}
function w4() {
a2.pop();
}
let r0 = !1;
function C(e, ...t) {
if (r0) return;
r0 = !0, K2();
const r = a2.length ? a2[a2.length - 1].component : null, s = r && r.appContext.config.warnHandler, o = g4();
if (s)
Y2(
s,
r,
11,
[
// eslint-disable-next-line no-restricted-syntax
e + t.map((u) => {
var c, p;
return (p = (c = u.toString) == null ? void 0 : c.call(u)) != null ? p : JSON.stringify(u);
}).join(""),
r && r.proxy,
o.map(
({ vnode: u }) => `at <${S1(r, u.type)}>`
).join(`
`),
o
]
);
else {
const u = [`[Vue warn]: ${e}`, ...t];
o.length && u.push(`
`, ...x4(o)), console.warn(...u);
}
G2(), r0 = !1;
}
function g4() {
let e = a2[a2.length - 1];
if (!e)
return [];
const t = [];
for (; e; ) {
const r = t[0];
r && r.vnode === e ? r.recurseCount++ : t.push({
vnode: e,
recurseCount: 0
});
const s = e.component && e.component.parent;
e = s && s.vnode;
}
return t;
}
function x4(e) {
const t = [];
return e.forEach((r, s) => {
t.push(...s === 0 ? [] : [`
`], ...C4(r));
}), t;
}
function C4({ vnode: e, recurseCount: t }) {
const r = t > 0 ? `... (${t} recursive calls)` : "", s = e.component ? e.component.parent == null : !1, o = ` at <${S1(
e.component,
e.type,
s
)}`, u = ">" + r;
return e.props ? [o, ...z4(e.props), u] : [o + u];
}
function z4(e) {
const t = [], r = Object.keys(e);
return r.slice(0, 3).forEach((s) => {
t.push(...c1(s, e[s]));
}), r.length > 3 && t.push(" ..."), t;
}
function c1(e, t, r) {
return N(t) ? (t = JSON.stringify(t), r ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? r ? t : [`${e}=${t}`] : L(t) ? (t = c1(e, w(t.value), !0), r ? t : [`${e}=Ref<`, t, ">"]) : y(t) ? [`${e}=fn${t.name ? `<${t.name}>` : ""}`] : (t = w(t), r ? t : [`${e}=`, t]);
}
const p1 = {
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 Y2(e, t, r, s) {
try {
return s ? e(...s) : e();
} catch (o) {
y0(o, t, r);
}
}
function i1(e, t, r, s) {
if (y(e)) {
const o = Y2(e, t, r, s);
return o && R1(o) && o.catch((u) => {
y0(u, t, r);
}), o;
}
if (z(e)) {
const o = [];
for (let u = 0; u < e.length; u++)
o.push(i1(e[u], t, r, s));
return o;
} else process.env.NODE_ENV !== "production" && C(
`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`
);
}
function y0(e, t, r, s = !0) {
const o = t ? t.vnode : null, { errorHandler: u, throwUnhandledErrorInProduction: c } = t && t.appContext.config || R;
if (t) {
let p = t.parent;
const v = t.proxy, h = process.env.NODE_ENV !== "production" ? p1[r] : `https://vuejs.org/error-reference/#runtime-${r}`;
for (; p; ) {
const f = p.ec;
if (f) {
for (let i = 0; i < f.length; i++)
if (f[i](e, v, h) === !1)
return;
}
p = p.parent;
}
if (u) {
K2(), Y2(u, null, 10, [
e,
v,
h
]), G2();
return;
}
}
M4(e, r, o, s, c);
}
function M4(e, t, r, s = !0, o = !1) {
if (process.env.NODE_ENV !== "production") {
const u = p1[t];
if (r && m4(r), C(`Unhandled error${u ? ` during execution of ${u}` : ""}`), r && w4(), s)
throw e;
console.error(e);
} else {
if (o)
throw e;
console.error(e);
}
}
const P = [];
let $ = -1;
const u2 = [];
let j = null, o2 = 0;
const v1 = /* @__PURE__ */ Promise.resolve();
let k2 = null;
const H4 = 100;
function V4(e) {
const t = k2 || v1;
return e ? t.then(this ? e.bind(this) : e) : t;
}
function y4(e) {
let t = $ + 1, r = P.length;
for (; t < r; ) {
const s = t + r >>> 1, o = P[s], u = M2(o);
u < e || u === e && o.flags & 2 ? t = s + 1 : r = s;
}
return t;
}
function b0(e) {
if (!(e.flags & 1)) {
const t = M2(e), r = P[P.length - 1];
!r || // fast path when the job id is larger than the tail
!(e.flags & 2) && t >= M2(r) ? P.push(e) : P.splice(y4(t), 0, e), e.flags |= 1, h1();
}
}
function h1() {
k2 || (k2 = v1.then(f1));
}
function d1(e) {
z(e) ? u2.push(...e) : j && e.id === -1 ? j.splice(o2 + 1, 0, e) : e.flags & 1 || (u2.push(e), e.flags |= 1), h1();
}
function b4(e) {
if (u2.length) {
const t = [...new Set(u2)].sort(
(r, s) => M2(r) - M2(s)
);
if (u2.length = 0, j) {
j.push(...t);
return;
}
for (j = t, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), o2 = 0; o2 < j.length; o2++) {
const r = j[o2];
process.env.NODE_ENV !== "production" && m1(e, r) || (r.flags & 4 && (r.flags &= -2), r.flags & 8 || r(), r.flags &= -2);
}
j = null, o2 = 0;
}
}
const M2 = (e) => e.id == null ? e.flags & 2 ? -1 : 1 / 0 : e.id;
function f1(e) {
process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map());
const t = process.env.NODE_ENV !== "production" ? (r) => m1(e, r) : s2;
try {
for ($ = 0; $ < P.length; $++) {
const r = P[$];
if (r && !(r.flags & 8)) {
if (process.env.NODE_ENV !== "production" && t(r))
continue;
r.flags & 4 && (r.flags &= -2), Y2(
r,
r.i,
r.i ? 15 : 14
), r.flags & 4 || (r.flags &= -2);
}
}
} finally {
for (; $ < P.length; $++) {
const r = P[$];
r && (r.flags &= -2);
}
$ = -1, P.length = 0, b4(e), k2 = null, (P.length || u2.length) && f1(e);
}
}
function m1(e, t) {
const r = e.get(t) || 0;
if (r > H4) {
const s = t.i, o = s && L0(s.type);
return y0(
`Maximum recursive updates exceeded${o ? ` in component <${o}>` : ""}. 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, r + 1), !1;
}
const a0 = /* @__PURE__ */ new Map();
process.env.NODE_ENV !== "production" && (U2().__VUE_HMR_RUNTIME__ = {
createRecord: l0(B4),
rerender: l0(L4),
reload: l0(A4)
});
const q2 = /* @__PURE__ */ new Map();
function B4(e, t) {
return q2.has(e) ? !1 : (q2.set(e, {
initialDef: I2(t),
instances: /* @__PURE__ */ new Set()
}), !0);
}
function I2(e) {
return E1(e) ? e.__vccOpts : e;
}
function L4(e, t) {
const r = q2.get(e);
r && (r.initialDef.render = t, [...r.instances].forEach((s) => {
t && (s.render = t, I2(s.type).render = t), s.renderCache = [], s.update();
}));
}
function A4(e, t) {
const r = q2.get(e);
if (!r) return;
t = I2(t), N0(r.initialDef, t);
const s = [...r.instances];
for (let o = 0; o < s.length; o++) {
const u = s[o], c = I2(u.type);
let p = a0.get(c);
p || (c !== r.initialDef && N0(c, t), a0.set(c, p = /* @__PURE__ */ new Set())), p.add(u), u.appContext.propsCache.delete(u.type), u.appContext.emitsCache.delete(u.type), u.appContext.optionsCache.delete(u.type), u.ceReload ? (p.add(u), u.ceReload(t.styles), p.delete(u)) : u.parent ? b0(() => {
u.parent.update(), p.delete(u);
}) : u.appContext.reload ? u.appContext.reload() : typeof window < "u" ? window.location.reload() : console.warn(
"[HMR] Root or manually mounted instance modified. Full reload required."
), u.root.ce && u !== u.root && u.root.ce._removeChildStyle(c);
}
d1(() => {
a0.clear();
});
}
function N0(e, t) {
O(e, t);
for (const r in e)
r !== "__file" && !(r in t) && delete e[r];
}
function l0(e) {
return (t, r) => {
try {
return e(t, r);
} catch (s) {
console.error(s), console.warn(
"[HMR] Something went wrong during Vue component hot-reload. Full reload required."
);
}
};
}
let G, m2 = [], v0 = !1;
function S4(e, ...t) {
G ? G.emit(e, ...t) : v0 || m2.push({ event: e, args: t });
}
function w1(e, t) {
var r, s;
G = e, G ? (G.enabled = !0, m2.forEach(({ event: o, args: u }) => G.emit(o, ...u)), m2 = []) : /* 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 = (r = window.navigator) == null ? void 0 : r.userAgent) != null && s.includes("jsdom")) ? ((t.__VUE_DEVTOOLS_HOOK_REPLAY__ = t.__VUE_DEVTOOLS_HOOK_REPLAY__ || []).push((u) => {
w1(u, t);
}), setTimeout(() => {
G || (t.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, v0 = !0, m2 = []);
}, 3e3)) : (v0 = !0, m2 = []);
}
const E4 = /* @__PURE__ */ O4(
"component:updated"
/* COMPONENT_UPDATED */
);
/*! #__NO_SIDE_EFFECTS__ */
// @__NO_SIDE_EFFECTS__
function O4(e) {
return (t) => {
S4(
e,
t.appContext.app,
t.uid,
t.parent ? t.parent.uid : void 0,
t
);
};
}
let S = null, g1 = null;
function D0(e) {
const t = S;
return S = e, g1 = e && e.type.__scopeId || null, t;
}
function d2(e, t = S, r) {
if (!t || e._n)
return e;
const s = (...o) => {
s._d && I0(-1);
const u = D0(t);
let c;
try {
c = e(...o);
} finally {
D0(u), s._d && I0(1);
}
return process.env.NODE_ENV !== "production" && E4(t), c;
};
return s._n = !0, s._c = !0, s._d = !0, s;
}
const N4 = (e) => e.__isTeleport;
function x1(e, t) {
e.shapeFlag & 6 && e.component ? (e.transition = t, x1(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 n(e, t) {
return y(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.
O({ name: e.name }, t, { setup: e })
) : e;
}
U2().requestIdleCallback;
U2().cancelIdleCallback;
const C1 = "components";
function c2(e, t) {
return M1(C1, e, !0, t) || e;
}
const z1 = Symbol.for("v-ndc");
function _0(e) {
return N(e) ? M1(C1, e, !1) || e : e || z1;
}
function M1(e, t, r = !0, s = !1) {
const o = S || i2;
if (o) {
const u = o.type;
{
const p = L0(
u,
!1
);
if (p && (p === t || p === D2(t) || p === F2(D2(t))))
return u;
}
const c = (
// local registration
// check instance[type] first which is resolved for options API
F0(o[e] || u[e], t) || // global registration
F0(o.appContext[e], t)
);
return !c && s ? u : (process.env.NODE_ENV !== "production" && r && !c && C(`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.`), c);
} else process.env.NODE_ENV !== "production" && C(
`resolve${F2(e.slice(0, -1))} can only be used in render() or setup().`
);
}
function F0(e, t) {
return e && (e[t] || e[D2(t)] || e[F2(D2(t))]);
}
function R0(e, t, r, s) {
let o;
const u = r, c = z(e);
if (c || N(e)) {
const p = c && r2(e);
let v = !1;
p && (v = !E(e), e = J2(e)), o = new Array(e.length);
for (let h = 0, f = e.length; h < f; h++)
o[h] = t(
v ? A(e[h]) : e[h],
h,
void 0,
u
);
} else if (typeof e == "number") {
process.env.NODE_ENV !== "production" && !Number.isInteger(e) && C(`The v-for range expect an integer value but got ${e}.`), o = new Array(e);
for (let p = 0; p < e; p++)
o[p] = t(p + 1, p, void 0, u);
} else if (b(e))
if (e[Symbol.iterator])
o = Array.from(
e,
(p, v) => t(p, v, void 0, u)
);
else {
const p = Object.keys(e);
o = new Array(p.length);
for (let v = 0, h = p.length; v < h; v++) {
const f = p[v];
o[v] = t(e[f], f, v, u);
}
}
else
o = [];
return o;
}
const h0 = (e) => e ? oe(e) ? ce(e) : h0(e.parent) : null, C2 = (
// Move PURE marker to new line to workaround compiler discarding it
// due to type annotation
/* @__PURE__ */ O(/* @__PURE__ */ Object.create(null), {
$: (e) => e,
$el: (e) => e.vnode.el,
$data: (e) => e.data,
$props: (e) => process.env.NODE_ENV !== "production" ? L2(e.props) : e.props,
$attrs: (e) => process.env.NODE_ENV !== "production" ? L2(e.attrs) : e.attrs,
$slots: (e) => process.env.NODE_ENV !== "production" ? L2(e.slots) : e.slots,
$refs: (e) => process.env.NODE_ENV !== "production" ? L2(e.refs) : e.refs,
$parent: (e) => h0(e.parent),
$root: (e) => h0(e.root),
$host: (e) => e.ce,
$emit: (e) => e.emit,
$options: (e) => T4(e),
$forceUpdate: (e) => e.f || (e.f = () => {
b0(e.update);
}),
$nextTick: (e) => e.n || (e.n = V4.bind(e.proxy)),
$watch: (e) => Y4.bind(e)
})
), D4 = (e) => e === "_" || e === "$", n0 = (e, t) => e !== R && !e.__isScriptSetup && M(e, t), F4 = {
get({ _: e }, t) {
if (t === "__v_skip")
return !0;
const { ctx: r, setupState: s, data: o, props: u, accessCache: c, type: p, appContext: v } = e;
if (process.env.NODE_ENV !== "production" && t === "__isVue")
return !0;
let h;
if (t[0] !== "$") {
const m = c[t];
if (m !== void 0)
switch (m) {
case 1:
return s[t];
case 2:
return o[t];
case 4:
return r[t];
case 3:
return u[t];
}
else {
if (n0(s, t))
return c[t] = 1, s[t];
if (o !== R && M(o, t))
return c[t] = 2, o[t];
if (
// only cache other properties when instance has declared (thus stable)
// props
(h = e.propsOptions[0]) && M(h, t)
)
return c[t] = 3, u[t];
if (r !== R && M(r, t))
return c[t] = 4, r[t];
c[t] = 0;
}
}
const f = C2[t];
let i, d;
if (f)
return t === "$attrs" ? (V(e.attrs, "get", ""), process.env.NODE_ENV !== "production" && void 0) : process.env.NODE_ENV !== "production" && t === "$slots" && V(e, "get", t), f(e);
if (
// css module (injected by vue-loader)
(i = p.__cssModules) && (i = i[t])
)
return i;
if (r !== R && M(r, t))
return c[t] = 4, r[t];
if (
// global properties
d = v.config.globalProperties, M(d, t)
)
return d[t];
process.env.NODE_ENV !== "production" && S && (!N(t) || // #1091 avoid internal isRef/isVNode checks on component instance leading
// to infinite warning loop
t.indexOf("__v") !== 0) && (o !== R && D4(t[0]) && M(o, t) ? C(
`Property ${JSON.stringify(
t
)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`
) : e === S && C(
`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`
));
},
set({ _: e }, t, r) {
const { data: s, setupState: o, ctx: u } = e;
return n0(o, t) ? (o[t] = r, !0) : process.env.NODE_ENV !== "production" && o.__isScriptSetup && M(o, t) ? (C(`Cannot mutate <script setup> binding "${t}" from Options API.`), !1) : s !== R && M(s, t) ? (s[t] = r, !0) : M(e.props, t) ? (process.env.NODE_ENV !== "production" && C(`Attempting to mutate prop "${t}". Props are readonly.`), !1) : t[0] === "$" && t.slice(1) in e ? (process.env.NODE_ENV !== "production" && C(
`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(u, t, {
enumerable: !0,
configurable: !0,
value: r
}) : u[t] = r, !0);
},
has({
_: { data: e, setupState: t, accessCache: r, ctx: s, appContext: o, propsOptions: u }
}, c) {
let p;
return !!r[c] || e !== R && M(e, c) || n0(t, c) || (p = u[0]) && M(p, c) || M(s, c) || M(C2, c) || M(o.config.globalProperties, c);
},
defineProperty(e, t, r) {
return r.get != null ? e._.accessCache[t] = 0 : M(r, "value") && this.set(e, t, r.value, null), Reflect.defineProperty(e, t, r);
}
};
process.env.NODE_ENV !== "production" && (F4.ownKeys = (e) => (C(
"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 R4() {
return P4().attrs;
}
function P4() {
const e = _e();
return process.env.NODE_ENV !== "production" && !e && C("useContext() called without active instance."), e.setupContext || (e.setupContext = ue(e));
}
function P0(e) {
return z(e) ? e.reduce(
(t, r) => (t[r] = null, t),
{}
) : e;
}
function T4(e) {
const t = e.type, { mixins: r, extends: s } = t, {
mixins: o,
optionsCache: u,
config: { optionMergeStrategies: c }
} = e.appContext, p = u.get(t);
let v;
return p ? v = p : !o.length && !r && !s ? v = t : (v = {}, o.length && o.forEach(
(h) => $2(v, h, c, !0)
), $2(v, t, c)), b(t) && u.set(t, v), v;
}
function $2(e, t, r, s = !1) {
const { mixins: o, extends: u } = t;
u && $2(e, u, r, !0), o && o.forEach(
(c) => $2(e, c, r, !0)
);
for (const c in t)
if (s && c === "expose")
process.env.NODE_ENV !== "production" && C(
'"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.'
);
else {
const p = k4[c] || r && r[c];
e[c] = p ? p(e[c], t[c]) : t[c];
}
return e;
}
const k4 = {
data: T0,
props: q0,
emits: q0,
// objects
methods: w2,
computed: w2,
// lifecycle
beforeCreate: B,
created: B,
beforeMount: B,
mounted: B,
beforeUpdate: B,
updated: B,
beforeDestroy: B,
beforeUnmount: B,
destroyed: B,
unmounted: B,
activated: B,
deactivated: B,
errorCaptured: B,
serverPrefetch: B,
// assets
components: w2,
directives: w2,
// watch
watch: I4,
// provide / inject
provide: T0,
inject: q4
};
function T0(e, t) {
return t ? e ? function() {
return O(
y(e) ? e.call(this, this) : e,
y(t) ? t.call(this, this) : t
);
} : t : e;
}
function q4(e, t) {
return w2(k0(e), k0(t));
}
function k0(e) {
if (z(e)) {
const t = {};
for (let r = 0; r < e.length; r++)
t[e[r]] = e[r];
return t;
}
return e;
}
function B(e, t) {
return e ? [...new Set([].concat(e, t))] : t;
}
function w2(e, t) {
return e ? O(/* @__PURE__ */ Object.create(null), e, t) : t;
}
function q0(e, t) {
return e ? z(e) && z(t) ? [.../* @__PURE__ */ new Set([...e, ...t])] : O(
/* @__PURE__ */ Object.create(null),
P0(e),
P0(t ?? {})
) : t;
}
function I4(e, t) {
if (!e) return t;
if (!t) return e;
const r = O(/* @__PURE__ */ Object.create(null), e);
for (const s in t)
r[s] = B(e[s], t[s]);
return r;
}
let $4 = null;
function W4(e, t, r = !1) {
const s = i2 || S;
if (s || $4) {
const o = s ? s.parent == null ? s.vnode.appContext && s.vnode.appContext.provides : s.parent.provides : void 0;
if (o && e in o)
return o[e];
if (arguments.length > 1)
return r && y(t) ? t.call(s && s.proxy) : t;
process.env.NODE_ENV !== "production" && C(`injection "${String(e)}" not found.`);
} else process.env.NODE_ENV !== "production" && C("inject() can only be used inside setup() or functional components.");
}
const j4 = {}, H1 = (e) => Object.getPrototypeOf(e) === j4, U4 = X4, K4 = Symbol.for("v-scx"), G4 = () => {
{
const e = W4(K4);
return e || process.env.NODE_ENV !== "production" && C(
"Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."
), e;
}
};
function J4(e, t, r = R) {
const { immediate: s, deep: o, flush: u, once: c } = r;
process.env.NODE_ENV !== "production" && !t && (s !== void 0 && C(
'watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'
), o !== void 0 && C(
'watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'
), c !== void 0 && C(
'watch() "once" option is only respected when using the watch(source, callback, options?) signature.'
));
const p = O({}, r);
process.env.NODE_ENV !== "production" && (p.onWarn = C);
const v = t && s || !t && u !== "post";
let h;
if (m0) {
if (u === "sync") {
const m = G4();
h = m.__watcherHandles || (m.__watcherHandles = []);
} else if (!v) {
const m = () => {
};
return m.stop = s2, m.resume = s2, m.pause = s2, m;
}
}
const f = i2;
p.call = (m, H, F) => i1(m, f, H, F);
let i = !1;
u === "post" ? p.scheduler = (m) => {
U4(m, f && f.suspense);
} : u !== "sync" && (i = !0, p.scheduler = (m, H) => {
H ? m() : b0(m);
}), p.augmentJob = (m) => {
t && (m.flags |= 4), i && (m.flags |= 2, f && (m.id = f.uid, m.i = f));
};
const d = f4(e, t, p);
return m0 && (h ? h.push(d) : v && d()), d;
}
function Y4(e, t, r) {
const s = this.proxy, o = N(e) ? e.includes(".") ? Z4(s, e) : () => s[e] : e.bind(s, s);
let u;
y(t) ? u = t : (u = t.handler, r = t);
const c = ne(this), p = J4(o, u.bind(s), r);
return c(), p;
}
function Z4(e, t) {
const r = t.split(".");
return () => {
let s = e;
for (let o = 0; o < r.length && s; o++)
s = s[r[o]];
return s;
};
}
const Q4 = (e) => e.__isSuspense;
function X4(e, t) {
t && t.pendingBranch ? z(e) ? t.effects.push(...e) : t.effects.push(e) : d1(e);
}
const p2 = Symbol.for("v-fgt"), ee = Symbol.for("v-txt"), d0 = Symbol.for("v-cmt"), O2 = [];
let D = null;
function l(e = !1) {
O2.push(D = e ? null : []);
}
function te() {
O2.pop(), D = O2[O2.length - 1] || null;
}
let H2 = 1;
function I0(e, t = !1) {
H2 += e, e < 0 && D && t && (D.hasOnce = !0);
}
function V1(e) {
return e.dynamicChildren = H2 > 0 ? D || N1 : null, te(), H2 > 0 && D && D.push(e), e;
}
function _(e, t, r, s, o, u) {
return V1(
a(
e,
t,
r,
s,
o,
u,
!0
)
);
}
function W(e, t, r, s, o) {
return V1(
T(
e,
t,