imooc-element-components-hql
Version:
1,751 lines • 61.3 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 Nn(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({}) : {}, wn = process.env.NODE_ENV !== "production" ? Object.freeze([]) : [], k = () => {
}, vn = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter
(e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), D = Object.assign, On = Object.prototype.hasOwnProperty, b = (e, t) => On.call(e, t), E = Array.isArray, ee = (e) => Me(e) === "[object Map]", Sn = (e) => Me(e) === "[object Set]", v = (e) => typeof e == "function", P = (e) => typeof e == "string", re = (e) => typeof e == "symbol", x = (e) => e !== null && typeof e == "object", xn = (e) => (x(e) || v(e)) && v(e.then) && v(e.catch), yn = Object.prototype.toString, Me = (e) => yn.call(e), It = (e) => Me(e).slice(8, -1), Dn = (e) => Me(e) === "[object Object]", it = (e) => P(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, $t = (e) => {
const t = /* @__PURE__ */ Object.create(null);
return (n) => t[n] || (t[n] = e(n));
}, Vn = /-(\w)/g, xe = $t(
(e) => e.replace(Vn, (t, n) => n ? n.toUpperCase() : "")
), ye = $t((e) => e.charAt(0).toUpperCase() + e.slice(1)), Y = (e, t) => !Object.is(e, t), Cn = (e, t, n, s = !1) => {
Object.defineProperty(e, t, {
configurable: !0,
enumerable: !1,
writable: s,
value: n
});
};
let bt;
const Fe = () => bt || (bt = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
function ct(e) {
if (E(e)) {
const t = {};
for (let n = 0; n < e.length; n++) {
const s = e[n], r = P(s) ? $n(s) : ct(s);
if (r)
for (const o in r)
t[o] = r[o];
}
return t;
} else if (P(e) || x(e))
return e;
}
const Rn = /;(?![^(]*\))/g, Tn = /:([^]+)/, In = /\/\*[^]*?\*\//g;
function $n(e) {
const t = {};
return e.replace(In, "").split(Rn).forEach((n) => {
if (n) {
const s = n.split(Tn);
s.length > 1 && (t[s[0].trim()] = s[1].trim());
}
}), t;
}
function lt(e) {
let t = "";
if (P(e))
t = e;
else if (E(e))
for (let n = 0; n < e.length; n++) {
const s = lt(e[n]);
s && (t += s + " ");
}
else if (x(e))
for (const n in e)
e[n] && (t += n + " ");
return t.trim();
}
/**
* @vue/reactivity v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/
function z(e, ...t) {
console.warn(`[Vue warn] ${e}`, ...t);
}
let g;
const Ke = /* @__PURE__ */ new WeakSet();
class Pn {
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, Ke.has(this) && (Ke.delete(this), this.trigger()));
}
/**
* @internal
*/
notify() {
this.flags & 2 && !(this.flags & 32) || this.flags & 8 || An(this);
}
run() {
if (!(this.flags & 1))
return this.fn();
this.flags |= 2, Nt(this), At(this);
const t = g, n = A;
g = this, A = !0;
try {
return this.fn();
} finally {
process.env.NODE_ENV !== "production" && g !== this && z(
"Active effect was not restored correctly - this is likely a Vue internal bug."
), Mt(this), g = t, A = n, this.flags &= -3;
}
}
stop() {
if (this.flags & 1) {
for (let t = this.deps; t; t = t.nextDep)
ft(t);
this.deps = this.depsTail = void 0, Nt(this), this.onStop && this.onStop(), this.flags &= -2;
}
}
trigger() {
this.flags & 64 ? Ke.add(this) : this.scheduler ? this.scheduler() : this.runIfDirty();
}
/**
* @internal
*/
runIfDirty() {
Qe(this) && this.run();
}
get dirty() {
return Qe(this);
}
}
let Pt = 0, le, ue;
function An(e, t = !1) {
if (e.flags |= 8, t) {
e.next = ue, ue = e;
return;
}
e.next = le, le = e;
}
function ut() {
Pt++;
}
function at() {
if (--Pt > 0)
return;
if (ue) {
let t = ue;
for (ue = void 0; t; ) {
const n = t.next;
t.next = void 0, t.flags &= -9, t = n;
}
}
let e;
for (; le; ) {
let t = le;
for (le = 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 At(e) {
for (let t = e.deps; t; t = t.nextDep)
t.version = -1, t.prevActiveLink = t.dep.activeLink, t.dep.activeLink = t;
}
function Mt(e) {
let t, n = e.depsTail, s = n;
for (; s; ) {
const r = s.prevDep;
s.version === -1 ? (s === n && (n = r), ft(s), Fn(s)) : t = s, s.dep.activeLink = s.prevActiveLink, s.prevActiveLink = void 0, s = r;
}
e.deps = t, e.depsTail = n;
}
function Qe(e) {
for (let t = e.deps; t; t = t.nextDep)
if (t.dep.version !== t.version || t.dep.computed && (Mn(t.dep.computed) || t.dep.version !== t.version))
return !0;
return !!e._dirty;
}
function Mn(e) {
if (e.flags & 4 && !(e.flags & 16) || (e.flags &= -17, e.globalVersion === De))
return;
e.globalVersion = De;
const t = e.dep;
if (e.flags |= 2, t.version > 0 && !e.isSSR && e.deps && !Qe(e)) {
e.flags &= -3;
return;
}
const n = g, s = A;
g = e, A = !0;
try {
At(e);
const r = e.fn(e._value);
(t.version === 0 || Y(r, e._value)) && (e._value = r, t.version++);
} catch (r) {
throw t.version++, r;
} finally {
g = n, A = s, Mt(e), e.flags &= -3;
}
}
function ft(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)
ft(o, !0);
}
!t && !--n.sc && n.map && n.map.delete(n.key);
}
function Fn(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 Ft = [];
function He() {
Ft.push(A), A = !1;
}
function je() {
const e = Ft.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 De = 0;
class Hn {
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 jn {
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 Hn(g, this), g.deps ? (n.prevDep = g.depsTail, g.depsTail.nextDep = n, g.depsTail = n) : g.deps = g.depsTail = n, Ht(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(
D(
{
effect: g
},
t
)
), n;
}
trigger(t) {
this.version++, De++, this.notify(t);
}
notify(t) {
ut();
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(
D(
{
effect: n.sub
},
t
)
);
for (let n = this.subs; n; n = n.prevSub)
n.sub.notify() && n.sub.dep.notify();
} finally {
at();
}
}
}
function Ht(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)
Ht(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 Ze = /* @__PURE__ */ new WeakMap(), q = Symbol(
process.env.NODE_ENV !== "production" ? "Object iterate" : ""
), Xe = Symbol(
process.env.NODE_ENV !== "production" ? "Map keys iterate" : ""
), fe = Symbol(
process.env.NODE_ENV !== "production" ? "Array iterate" : ""
);
function w(e, t, n) {
if (A && g) {
let s = Ze.get(e);
s || Ze.set(e, s = /* @__PURE__ */ new Map());
let r = s.get(n);
r || (s.set(n, r = new jn()), r.map = s, r.key = n), process.env.NODE_ENV !== "production" ? r.track({
target: e,
type: t,
key: n
}) : r.track();
}
}
function L(e, t, n, s, r, o) {
const i = Ze.get(e);
if (!i) {
De++;
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 (ut(), t === "clear")
i.forEach(c);
else {
const u = E(e), f = u && it(n);
if (u && n === "length") {
const d = Number(s);
i.forEach((l, a) => {
(a === "length" || a === fe || !re(a) && a >= d) && c(l);
});
} else
switch ((n !== void 0 || i.has(void 0)) && c(i.get(n)), f && c(i.get(fe)), t) {
case "add":
u ? f && c(i.get("length")) : (c(i.get(q)), ee(e) && c(i.get(Xe)));
break;
case "delete":
u || (c(i.get(q)), ee(e) && c(i.get(Xe)));
break;
case "set":
ee(e) && c(i.get(q));
break;
}
}
at();
}
function Z(e) {
const t = h(e);
return t === e ? t : (w(t, "iterate", fe), R(e) ? t : t.map(V));
}
function pt(e) {
return w(e = h(e), "iterate", fe), e;
}
const Ln = {
__proto__: null,
[Symbol.iterator]() {
return ze(this, Symbol.iterator, V);
},
concat(...e) {
return Z(this).concat(
...e.map((t) => E(t) ? Z(t) : t)
);
},
entries() {
return ze(this, "entries", (e) => (e[1] = V(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(V), arguments);
},
find(e, t) {
return F(this, "find", e, t, V, arguments);
},
findIndex(e, t) {
return F(this, "findIndex", e, t, void 0, arguments);
},
findLast(e, t) {
return F(this, "findLast", e, t, V, 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 Ue(this, "includes", e);
},
indexOf(...e) {
return Ue(this, "indexOf", e);
},
join(e) {
return Z(this).join(e);
},
// keys() iterator only reads `length`, no optimisation required
lastIndexOf(...e) {
return Ue(this, "lastIndexOf", e);
},
map(e, t) {
return F(this, "map", e, t, void 0, arguments);
},
pop() {
return oe(this, "pop");
},
push(...e) {
return oe(this, "push", e);
},
reduce(e, ...t) {
return wt(this, "reduce", e, t);
},
reduceRight(e, ...t) {
return wt(this, "reduceRight", e, t);
},
shift() {
return oe(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 oe(this, "splice", e);
},
toReversed() {
return Z(this).toReversed();
},
toSorted(e) {
return Z(this).toSorted(e);
},
toSpliced(...e) {
return Z(this).toSpliced(...e);
},
unshift(...e) {
return oe(this, "unshift", e);
},
values() {
return ze(this, "values", V);
}
};
function ze(e, t, n) {
const s = pt(e), r = s[t]();
return s !== e && !R(e) && (r._next = r.next, r.next = () => {
const o = r._next();
return o.value && (o.value = n(o.value)), o;
}), r;
}
const Wn = Array.prototype;
function F(e, t, n, s, r, o) {
const i = pt(e), c = i !== e && !R(e), u = i[t];
if (u !== Wn[t]) {
const l = u.apply(e, o);
return c ? V(l) : l;
}
let f = n;
i !== e && (c ? f = function(l, a) {
return n.call(this, V(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 wt(e, t, n, s) {
const r = pt(e);
let o = n;
return r !== e && (R(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, V(c), u, e);
}), r[t](o, ...s);
}
function Ue(e, t, n) {
const s = h(e);
w(s, "iterate", fe);
const r = s[t](...n);
return (r === -1 || r === !1) && Ve(n[0]) ? (n[0] = h(n[0]), s[t](...n)) : r;
}
function oe(e, t, n = []) {
He(), ut();
const s = h(e)[t].apply(e, n);
return at(), je(), s;
}
const Kn = /* @__PURE__ */ Nn("__proto__,__v_isRef,__isVue"), jt = new Set(
/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(re)
);
function zn(e) {
re(e) || (e = String(e));
const t = h(this);
return w(t, "has", e), t.hasOwnProperty(e);
}
class Lt {
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 ? Ut : zt : o ? kn : Kt).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 = E(t);
if (!r) {
let u;
if (i && (u = Ln[n]))
return u;
if (n === "hasOwnProperty")
return zn;
}
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
y(t) ? t : s
);
return (re(n) ? jt.has(n) : Kn(n)) || (r || w(t, "get", n), o) ? c : y(c) ? i && it(n) ? c : c.value : x(c) ? r ? Jt(c) : Bt(c) : c;
}
}
class Un extends Lt {
constructor(t = !1) {
super(!1, t);
}
set(t, n, s, r) {
let o = t[n];
if (!this._isShallow) {
const u = U(o);
if (!R(s) && !U(s) && (o = h(o), s = h(s)), !E(t) && y(o) && !y(s))
return u ? !1 : (o.value = s, !0);
}
const i = E(t) && it(n) ? Number(n) < t.length : b(t, n), c = Reflect.set(
t,
n,
s,
y(t) ? t : r
);
return t === h(r) && (i ? Y(s, o) && L(t, "set", n, s, o) : L(t, "add", n, s)), c;
}
deleteProperty(t, n) {
const s = b(t, n), r = t[n], o = Reflect.deleteProperty(t, n);
return o && s && L(t, "delete", n, void 0, r), o;
}
has(t, n) {
const s = Reflect.has(t, n);
return (!re(n) || !jt.has(n)) && w(t, "has", n), s;
}
ownKeys(t) {
return w(
t,
"iterate",
E(t) ? "length" : q
), Reflect.ownKeys(t);
}
}
class Wt extends Lt {
constructor(t = !1) {
super(!0, t);
}
set(t, n) {
return process.env.NODE_ENV !== "production" && z(
`Set operation on key "${String(n)}" failed: target is readonly.`,
t
), !0;
}
deleteProperty(t, n) {
return process.env.NODE_ENV !== "production" && z(
`Delete operation on key "${String(n)}" failed: target is readonly.`,
t
), !0;
}
}
const Bn = /* @__PURE__ */ new Un(), Jn = /* @__PURE__ */ new Wt(), Yn = /* @__PURE__ */ new Wt(!0), ke = (e) => e, be = (e) => Reflect.getPrototypeOf(e);
function qn(e, t, n) {
return function(...s) {
const r = this.__v_raw, o = h(r), i = ee(o), c = e === "entries" || e === Symbol.iterator && i, u = e === "keys" && i, f = r[e](...s), d = n ? ke : t ? et : V;
return !t && w(
o,
"iterate",
u ? Xe : 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 Ne(e) {
return function(...t) {
if (process.env.NODE_ENV !== "production") {
const n = t[0] ? `on key "${t[0]}" ` : "";
z(
`${ye(e)} operation ${n}failed: target is readonly.`,
h(this)
);
}
return e === "delete" ? !1 : e === "clear" ? void 0 : this;
};
}
function Gn(e, t) {
const n = {
get(r) {
const o = this.__v_raw, i = h(o), c = h(r);
e || (Y(r, c) && w(i, "get", r), w(i, "get", c));
const { has: u } = be(i), f = t ? ke : e ? et : V;
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 && w(h(r), "iterate", q), Reflect.get(r, "size", r);
},
has(r) {
const o = this.__v_raw, i = h(o), c = h(r);
return e || (Y(r, c) && w(i, "has", r), w(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 ? ke : e ? et : V;
return !e && w(u, "iterate", q), c.forEach((d, l) => r.call(o, f(d), f(l), i));
}
};
return D(
n,
e ? {
add: Ne("add"),
set: Ne("set"),
delete: Ne("delete"),
clear: Ne("clear")
} : {
add(r) {
!t && !R(r) && !U(r) && (r = h(r));
const o = h(this);
return be(o).has.call(o, r) || (o.add(r), L(o, "add", r, r)), this;
},
set(r, o) {
!t && !R(o) && !U(o) && (o = h(o));
const i = h(this), { has: c, get: u } = be(i);
let f = c.call(i, r);
f ? process.env.NODE_ENV !== "production" && vt(i, c, r) : (r = h(r), f = c.call(i, r));
const d = u.call(i, r);
return i.set(r, o), f ? Y(o, d) && L(i, "set", r, o, d) : L(i, "add", r, o), this;
},
delete(r) {
const o = h(this), { has: i, get: c } = be(o);
let u = i.call(o, r);
u ? process.env.NODE_ENV !== "production" && vt(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 && L(o, "delete", r, void 0, f), d;
},
clear() {
const r = h(this), o = r.size !== 0, i = process.env.NODE_ENV !== "production" ? ee(r) ? new Map(r) : new Set(r) : void 0, c = r.clear();
return o && L(
r,
"clear",
void 0,
void 0,
i
), c;
}
}
), [
"keys",
"values",
"entries",
Symbol.iterator
].forEach((r) => {
n[r] = qn(r, e, t);
}), n;
}
function dt(e, t) {
const n = Gn(e, t);
return (s, r, o) => r === "__v_isReactive" ? !e : r === "__v_isReadonly" ? e : r === "__v_raw" ? s : Reflect.get(
b(n, r) && r in s ? n : s,
r,
o
);
}
const Qn = {
get: /* @__PURE__ */ dt(!1, !1)
}, Zn = {
get: /* @__PURE__ */ dt(!0, !1)
}, Xn = {
get: /* @__PURE__ */ dt(!0, !0)
};
function vt(e, t, n) {
const s = h(n);
if (s !== n && t.call(e, s)) {
const r = It(e);
z(
`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 Kt = /* @__PURE__ */ new WeakMap(), kn = /* @__PURE__ */ new WeakMap(), zt = /* @__PURE__ */ new WeakMap(), Ut = /* @__PURE__ */ new WeakMap();
function er(e) {
switch (e) {
case "Object":
case "Array":
return 1;
case "Map":
case "Set":
case "WeakMap":
case "WeakSet":
return 2;
default:
return 0;
}
}
function tr(e) {
return e.__v_skip || !Object.isExtensible(e) ? 0 : er(It(e));
}
function Bt(e) {
return U(e) ? e : ht(
e,
!1,
Bn,
Qn,
Kt
);
}
function Jt(e) {
return ht(
e,
!0,
Jn,
Zn,
zt
);
}
function we(e) {
return ht(
e,
!0,
Yn,
Xn,
Ut
);
}
function ht(e, t, n, s, r) {
if (!x(e))
return process.env.NODE_ENV !== "production" && z(
`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 = tr(e);
if (i === 0)
return e;
const c = new Proxy(
e,
i === 2 ? s : n
);
return r.set(e, c), c;
}
function te(e) {
return U(e) ? te(e.__v_raw) : !!(e && e.__v_isReactive);
}
function U(e) {
return !!(e && e.__v_isReadonly);
}
function R(e) {
return !!(e && e.__v_isShallow);
}
function Ve(e) {
return e ? !!e.__v_raw : !1;
}
function h(e) {
const t = e && e.__v_raw;
return t ? h(t) : e;
}
function nr(e) {
return !b(e, "__v_skip") && Object.isExtensible(e) && Cn(e, "__v_skip", !0), e;
}
const V = (e) => x(e) ? Bt(e) : e, et = (e) => x(e) ? Jt(e) : e;
function y(e) {
return e ? e.__v_isRef === !0 : !1;
}
function Yt(e) {
return y(e) ? e.value : e;
}
const rr = {
get: (e, t, n) => t === "__v_raw" ? e : Yt(Reflect.get(e, t, n)),
set: (e, t, n, s) => {
const r = e[t];
return y(r) && !y(n) ? (r.value = n, !0) : Reflect.set(e, t, n, s);
}
};
function sr(e) {
return te(e) ? e : new Proxy(e, rr);
}
const ve = {}, Ce = /* @__PURE__ */ new WeakMap();
let J;
function or(e, t = !1, n = J) {
if (n) {
let s = Ce.get(n);
s || Ce.set(n, s = []), s.push(e);
} else process.env.NODE_ENV !== "production" && !t && z(
"onWatcherCleanup() was called when there was no active watcher to associate with."
);
}
function ir(e, t, n = I) {
const { immediate: s, deep: r, once: o, scheduler: i, augmentJob: c, call: u } = n, f = (_) => {
(n.onWarn || z)(
"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 ? _ : R(_) || r === !1 || r === 0 ? W(_, 1) : W(_);
let l, a, p, N, T = !1, me = !1;
if (y(e) ? (a = () => e.value, T = R(e)) : te(e) ? (a = () => d(e), T = !0) : E(e) ? (me = !0, T = e.some((_) => te(_) || R(_)), a = () => e.map((_) => {
if (y(_))
return _.value;
if (te(_))
return d(_);
if (v(_))
return u ? u(_, 2) : _();
process.env.NODE_ENV !== "production" && f(_);
})) : v(e) ? t ? a = u ? () => u(e, 2) : e : a = () => {
if (p) {
He();
try {
p();
} finally {
je();
}
}
const _ = J;
J = l;
try {
return u ? u(e, 3, [N]) : e(N);
} finally {
J = _;
}
} : (a = k, process.env.NODE_ENV !== "production" && f(e)), t && r) {
const _ = a, M = r === !0 ? 1 / 0 : r;
a = () => W(_(), M);
}
const Q = () => {
l.stop();
};
if (o && t) {
const _ = t;
t = (...M) => {
_(...M), Q();
};
}
let B = me ? new Array(e.length).fill(ve) : ve;
const se = (_) => {
if (!(!(l.flags & 1) || !l.dirty && !_))
if (t) {
const M = l.run();
if (r || T || (me ? M.some((We, Ee) => Y(We, B[Ee])) : Y(M, B))) {
p && p();
const We = J;
J = l;
try {
const Ee = [
M,
// pass undefined as the old value when it's changed for the first time
B === ve ? void 0 : me && B[0] === ve ? [] : B,
N
];
u ? u(t, 3, Ee) : (
// @ts-expect-error
t(...Ee)
), B = M;
} finally {
J = We;
}
}
} else
l.run();
};
return c && c(se), l = new Pn(a), l.scheduler = i ? () => i(se, !1) : se, N = (_) => or(_, !1, l), p = l.onStop = () => {
const _ = Ce.get(l);
if (_) {
if (u)
u(_, 4);
else
for (const M of _) M();
Ce.delete(l);
}
}, process.env.NODE_ENV !== "production" && (l.onTrack = n.onTrack, l.onTrigger = n.onTrigger), t ? s ? se(!0) : B = l.run() : i ? i(se.bind(null, !0), !0) : l.run(), Q.pause = l.pause.bind(l), Q.resume = l.resume.bind(l), Q.stop = Q, Q;
}
function W(e, t = 1 / 0, n) {
if (t <= 0 || !x(e) || e.__v_skip || (n = n || /* @__PURE__ */ new Set(), n.has(e)))
return e;
if (n.add(e), t--, y(e))
W(e.value, t, n);
else if (E(e))
for (let s = 0; s < e.length; s++)
W(e[s], t, n);
else if (Sn(e) || ee(e))
e.forEach((s) => {
W(s, t, n);
});
else if (Dn(e)) {
for (const s in e)
W(e[s], t, n);
for (const s of Object.getOwnPropertySymbols(e))
Object.prototype.propertyIsEnumerable.call(e, s) && W(e[s], t, n);
}
return e;
}
/**
* @vue/runtime-core v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/
const G = [];
function cr(e) {
G.push(e);
}
function lr() {
G.pop();
}
let Be = !1;
function m(e, ...t) {
if (Be) return;
Be = !0, He();
const n = G.length ? G[G.length - 1].component : null, s = n && n.appContext.config.warnHandler, r = ur();
if (s)
Le(
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 <${En(n, o.type)}>`
).join(`
`),
r
]
);
else {
const o = [`[Vue warn]: ${e}`, ...t];
r.length && o.push(`
`, ...ar(r)), console.warn(...o);
}
je(), Be = !1;
}
function ur() {
let e = G[G.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 ar(e) {
const t = [];
return e.forEach((n, s) => {
t.push(...s === 0 ? [] : [`
`], ...fr(n));
}), t;
}
function fr({ vnode: e, recurseCount: t }) {
const n = t > 0 ? `... (${t} recursive calls)` : "", s = e.component ? e.component.parent == null : !1, r = ` at <${En(
e.component,
e.type,
s
)}`, o = ">" + n;
return e.props ? [r, ...pr(e.props), o] : [r + o];
}
function pr(e) {
const t = [], n = Object.keys(e);
return n.slice(0, 3).forEach((s) => {
t.push(...qt(s, e[s]));
}), n.length > 3 && t.push(" ..."), t;
}
function qt(e, t, n) {
return P(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : y(t) ? (t = qt(e, h(t.value), !0), n ? t : [`${e}=Ref<`, t, ">"]) : v(t) ? [`${e}=fn${t.name ? `<${t.name}>` : ""}`] : (t = h(t), n ? t : [`${e}=`, t]);
}
const Gt = {
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 Le(e, t, n, s) {
try {
return s ? e(...s) : e();
} catch (r) {
_t(r, t, n);
}
}
function Qt(e, t, n, s) {
if (v(e)) {
const r = Le(e, t, n, s);
return r && xn(r) && r.catch((o) => {
_t(o, t, n);
}), r;
}
if (E(e)) {
const r = [];
for (let o = 0; o < e.length; o++)
r.push(Qt(e[o], t, n, s));
return r;
} else process.env.NODE_ENV !== "production" && m(
`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`
);
}
function _t(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" ? Gt[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) {
He(), Le(o, null, 10, [
e,
u,
f
]), je();
return;
}
}
dr(e, n, r, s, i);
}
function dr(e, t, n, s = !0, r = !1) {
if (process.env.NODE_ENV !== "production") {
const o = Gt[t];
if (n && cr(n), m(`Unhandled error${o ? ` during execution of ${o}` : ""}`), n && lr(), s)
throw e;
console.error(e);
} else {
if (r)
throw e;
console.error(e);
}
}
const $ = [];
let H = -1;
const ne = [];
let j = null, X = 0;
const Zt = /* @__PURE__ */ Promise.resolve();
let Re = null;
const hr = 100;
function _r(e) {
const t = Re || Zt;
return e ? t.then(this ? e.bind(this) : e) : t;
}
function gr(e) {
let t = H + 1, n = $.length;
for (; t < n; ) {
const s = t + n >>> 1, r = $[s], o = pe(r);
o < e || o === e && r.flags & 2 ? t = s + 1 : n = s;
}
return t;
}
function gt(e) {
if (!(e.flags & 1)) {
const t = pe(e), n = $[$.length - 1];
!n || // fast path when the job id is larger than the tail
!(e.flags & 2) && t >= pe(n) ? $.push(e) : $.splice(gr(t), 0, e), e.flags |= 1, Xt();
}
}
function Xt() {
Re || (Re = Zt.then(en));
}
function kt(e) {
E(e) ? ne.push(...e) : j && e.id === -1 ? j.splice(X + 1, 0, e) : e.flags & 1 || (ne.push(e), e.flags |= 1), Xt();
}
function mr(e) {
if (ne.length) {
const t = [...new Set(ne)].sort(
(n, s) => pe(n) - pe(s)
);
if (ne.length = 0, j) {
j.push(...t);
return;
}
for (j = t, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), X = 0; X < j.length; X++) {
const n = j[X];
process.env.NODE_ENV !== "production" && tn(e, n) || (n.flags & 4 && (n.flags &= -2), n.flags & 8 || n(), n.flags &= -2);
}
j = null, X = 0;
}
}
const pe = (e) => e.id == null ? e.flags & 2 ? -1 : 1 / 0 : e.id;
function en(e) {
process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map());
const t = process.env.NODE_ENV !== "production" ? (n) => tn(e, n) : k;
try {
for (H = 0; H < $.length; H++) {
const n = $[H];
if (n && !(n.flags & 8)) {
if (process.env.NODE_ENV !== "production" && t(n))
continue;
n.flags & 4 && (n.flags &= -2), Le(
n,
n.i,
n.i ? 15 : 14
), n.flags & 4 || (n.flags &= -2);
}
}
} finally {
for (; H < $.length; H++) {
const n = $[H];
n && (n.flags &= -2);
}
H = -1, $.length = 0, mr(e), Re = null, ($.length || ne.length) && en(e);
}
}
function tn(e, t) {
const n = e.get(t) || 0;
if (n > hr) {
const s = t.i, r = s && Et(s.type);
return _t(
`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 Je = /* @__PURE__ */ new Map();
process.env.NODE_ENV !== "production" && (Fe().__VUE_HMR_RUNTIME__ = {
createRecord: Ye(Er),
rerender: Ye(br),
reload: Ye(Nr)
});
const Te = /* @__PURE__ */ new Map();
function Er(e, t) {
return Te.has(e) ? !1 : (Te.set(e, {
initialDef: Ie(t),
instances: /* @__PURE__ */ new Set()
}), !0);
}
function Ie(e) {
return bn(e) ? e.__vccOpts : e;
}
function br(e, t) {
const n = Te.get(e);
n && (n.initialDef.render = t, [...n.instances].forEach((s) => {
t && (s.render = t, Ie(s.type).render = t), s.renderCache = [], s.update();
}));
}
function Nr(e, t) {
const n = Te.get(e);
if (!n) return;
t = Ie(t), Ot(n.initialDef, t);
const s = [...n.instances];
for (let r = 0; r < s.length; r++) {
const o = s[r], i = Ie(o.type);
let c = Je.get(i);
c || (i !== n.initialDef && Ot(i, t), Je.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 ? gt(() => {
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);
}
kt(() => {
Je.clear();
});
}
function Ot(e, t) {
D(e, t);
for (const n in e)
n !== "__file" && !(n in t) && delete e[n];
}
function Ye(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 K, ie = [], tt = !1;
function wr(e, ...t) {
K ? K.emit(e, ...t) : tt || ie.push({ event: e, args: t });
}
function nn(e, t) {
var n, s;
K = e, K ? (K.enabled = !0, ie.forEach(({ event: r, args: o }) => K.emit(r, ...o)), ie = []) : /* 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) => {
nn(o, t);
}), setTimeout(() => {
K || (t.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, tt = !0, ie = []);
}, 3e3)) : (tt = !0, ie = []);
}
const vr = /* @__PURE__ */ Or(
"component:updated"
/* COMPONENT_UPDATED */
);
/*! #__NO_SIDE_EFFECTS__ */
// @__NO_SIDE_EFFECTS__
function Or(e) {
return (t) => {
wr(
e,
t.appContext.app,
t.uid,
t.parent ? t.parent.uid : void 0,
t
);
};
}
let O = null, rn = null;
function St(e) {
const t = O;
return O = e, rn = e && e.type.__scopeId || null, t;
}
function qe(e, t = O, n) {
if (!t || e._n)
return e;
const s = (...r) => {
s._d && Tt(-1);
const o = St(t);
let i;
try {
i = e(...r);
} finally {
St(o), s._d && Tt(1);
}
return process.env.NODE_ENV !== "production" && vr(t), i;
};
return s._n = !0, s._c = !0, s._d = !0, s;
}
const Sr = (e) => e.__isTeleport;
function sn(e, t) {
e.shapeFlag & 6 && e.component ? (e.transition = t, sn(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 v(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.
D({ name: e.name }, t, { setup: e })
) : e;
}
Fe().requestIdleCallback;
Fe().cancelIdleCallback;
const yr = (e) => !!e.type.__asyncLoader, on = "components";
function xt(e, t) {
return ln(on, e, !0, t) || e;
}
const cn = Symbol.for("v-ndc");
function Dr(e) {
return P(e) ? ln(on, e, !1) || e : e || cn;
}
function ln(e, t, n = !0, s = !1) {
const r = O || ge;
if (r) {
const o = r.type;
{
const c = Et(
o,
!1
);
if (c && (c === t || c === xe(t) || c === ye(xe(t))))
return o;
}
const i = (
// local registration
// check instance[type] first which is resolved for options API
yt(r[e] || o[e], t) || // global registration
yt(r.appContext[e], t)
);
return !i && s ? o : (process.env.NODE_ENV !== "production" && n && !i && m(`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" && m(
`resolve${ye(e.slice(0, -1))} can only be used in render() or setup().`
);
}
function yt(e, t) {
return e && (e[t] || e[xe(t)] || e[ye(xe(t))]);
}
function Vr(e, t, n = {}, s, r) {
if (O.ce || O.parent && yr(O.parent) && O.parent.ce)
return Pe(), rt(
de,
null,
[_e("slot", n, s)],
64
);
let o = e[t];
process.env.NODE_ENV !== "production" && o && o.length > 1 && (m(
"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), Pe();
const i = o && un(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 = rt(
de,
{
key: (c && !re(c) ? c : `_${t}`) + // #7256 force differentiate fallback content from actual content
""
},
i || [],
i && e._ === 1 ? 64 : -2
);
return u.scopeId && (u.slotScopeIds = [u.scopeId + "-s"]), o && o._c && (o._d = !0), u;
}
function un(e) {
return e.some((t) => dn(t) ? !(t.type === fn || t.type === de && !un(t.children)) : !0) ? e : null;
}
const nt = (e) => e ? es(e) ? ts(e) : nt(e.parent) : null, ae = (
// Move PURE marker to new line to workaround compiler discarding it
// due to type annotation
/* @__PURE__ */ D(/* @__PURE__ */ Object.create(null), {
$: (e) => e,
$el: (e) => e.vnode.el,
$data: (e) => e.data,
$props: (e) => process.env.NODE_ENV !== "production" ? we(e.props) : e.props,
$attrs: (e) => process.env.NODE_ENV !== "production" ? we(e.attrs) : e.attrs,
$slots: (e) => process.env.NODE_ENV !== "production" ? we(e.slots) : e.slots,
$refs: (e) => process.env.NODE_ENV !== "production" ? we(e.refs) : e.refs,
$parent: (e) => nt(e.parent),
$root: (e) => nt(e.root),
$host: (e) => e.ce,
$emit: (e) => e.emit,
$options: (e) => Tr(e),
$forceUpdate: (e) => e.f || (e.f = () => {
gt(e.update);
}),
$nextTick: (e) => e.n || (e.n = _r.bind(e.proxy)),
$watch: (e) => Kr.bind(e)
})
), Cr = (e) => e === "_" || e === "$", Ge = (e, t) => e !== I && !e.__isScriptSetup && b(e, t), Rr = {
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 (Ge(s, t))
return i[t] = 1, s[t];
if (r !== I && b(r, t))
return i[t] = 2, r[t];
if (
// only cache other properties when instance has declared (thus stable)
// props
(f = e.propsOptions[0]) && b(f, t)
)
return i[t] = 3, o[t];
if (n !== I && b(n, t))
return i[t] = 4, n[t];
i[t] = 0;
}
}
const d = ae[t];
let l, a;
if (d)
return t === "$attrs" ? (w(e.attrs, "get", ""), process.env.NODE_ENV !== "production" && void 0) : process.env.NODE_ENV !== "production" && t === "$slots" && w(e, "get", t), d(e);
if (
// css module (injected by vue-loader)
(l = c.__cssModules) && (l = l[t])
)
return l;
if (n !== I && b(n, t))
return i[t] = 4, n[t];
if (
// global properties
a = u.config.globalProperties, b(a, t)
)
return a[t];
process.env.NODE_ENV !== "production" && O && (!P(t) || // #1091 avoid internal isRef/isVNode checks on component instance leading
// to infinite warning loop
t.indexOf("__v") !== 0) && (r !== I && Cr(t[0]) && b(r, t) ? m(
`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 === O && m(
`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`
));
},
set({ _: e }, t, n) {
const { data: s, setupState: r, ctx: o } = e;
return Ge(r, t) ? (r[t] = n, !0) : process.env.NODE_ENV !== "production" && r.__isScriptSetup && b(r, t) ? (m(`Cannot mutate <script setup> binding "${t}" from Options API.`), !1) : s !== I && b(s, t) ? (s[t] = n, !0) : b(e.props, t) ? (process.env.NODE_ENV !== "production" && m(`Attempting to mutate prop "${t}". Props are readonly.`), !1) : t[0] === "$" && t.slice(1) in e ? (process.env.NODE_ENV !== "production" && m(
`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 && b(e, i) || Ge(t, i) || (c = o[0]) && b(c, i) || b(s, i) || b(ae, i) || b(r.config.globalProperties, i);
},
defineProperty(e, t, n) {
return n.get != null ? e._.accessCache[t] = 0 : b(n, "value") && this.set(e, t, n.value, null), Reflect.defineProperty(e, t, n);
}
};
process.env.NODE_ENV !== "production" && (Rr.ownKeys = (e) => (m(
"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 Dt(e) {
return E(e) ? e.reduce(
(t, n) => (t[n] = null, t),
{}
) : e;
}
function Tr(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) => $e(u, f, i, !0)
), $e(u, t, i)), x(t) && o.set(t, u), u;
}
function $e(e, t, n, s = !1) {
const { mixins: r, extends: o } = t;
o && $e(e, o, n, !0), r && r.forEach(
(i) => $e(e, i, n, !0)
);
for (const i in t)
if (s && i === "expose")
process.env.NODE_ENV !== "production" && m(
'"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.'
);
else {
const c = Ir[i] || n && n[i];
e[i] = c ? c(e[i], t[i]) : t[i];
}
return e;
}
const Ir = {
data: Vt,
props: Rt,
emits: Rt,
// objects
methods: ce,
computed: ce,
// lifecycle
beforeCreate: S,
created: S,
beforeMount: S,
mounted: S,
beforeUpdate: S,
updated: S,
beforeDestroy: S,
beforeUnmount: S,
destroyed: S,
unmounted: S,
activated: S,
deactivated: S,
errorCaptured: S,
serverPrefetch: S,
// assets
components: ce,
directives: ce,
// watch
watch: Pr,
// provide / inject
provide: Vt,
inject: $r
};
function Vt(e, t) {
return t ? e ? function() {
return D(
v(e) ? e.call(this, this) : e,
v(t) ? t.call(this, this) : t
);
} : t : e;
}
function $r(e, t) {
return ce(Ct(e), Ct(t));
}
function Ct(e) {
if (E(e)) {
const t = {};
for (let n = 0; n < e.length; n++)
t[e[n]] = e[n];
return t;
}
return e;
}
function S(e, t) {
return e ? [...new Set([].concat(e, t))] : t;
}
function ce(e, t) {
return e ? D(/* @__PURE__ */ Object.create(null), e, t) : t;
}
function Rt(e, t) {
return e ? E(e) && E(t) ? [.../* @__PURE__ */ new Set([...e, ...t])] : D(
/* @__PURE__ */ Object.create(null),
Dt(e),
Dt(t ?? {})
) : t;
}
function Pr(e, t) {
if (!e) return t;
if (!t) return e;
const n = D(/* @__PURE__ */ Object.create(null), e);
for (const s in t)
n[s] = S(e[s], t[s]);
return n;
}
let Ar = null;
function Mr(e, t, n = !1) {
const s = ge || O;
if (s || Ar) {
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 && v(t) ? t.call(s && s.proxy) : t;
process.env.NODE_ENV !== "production" && m(`injection "${String(e)}" not found.`);
} else process.env.NODE_ENV !== "production" && m("inject() can only be used inside setup() or functional components.");
}
const Fr = {}, an = (e) => Object.getPrototypeOf(e) === Fr, Hr = Br, jr = Symbol.for("v-scx"), Lr = () => {
{
const e = Mr(jr);
return e || process.env.NODE_ENV !== "production" && m(
"Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."
), e;
}
};
function Wr(e, t, n = I) {
const { immediate: s, deep: r, flush: o, once: i } = n;
process.env.NODE_ENV !== "production" && !t && (s !== void 0 && m(
'watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'
), r !== void 0 && m(
'watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'
), i !== void 0 && m(
'watch() "once" option is only respected when using the watch(source, callback, options?) signature.'
));
const c = D({}, n);
process.env.NODE_ENV !== "production" && (c.onWarn = m);
const u = t && s || !t && o !== "post";
let f;
if (ot) {
if (o === "sync") {
const p = Lr();
f = p.__watcherHandles || (p.__watcherHandles = []);
} else if (!u) {
const p = () => {
};
return p.stop = k, p.resume = k, p.pause = k, p;
}
}
const d = ge;
c.call = (p, N, T) => Qt(p, d, N, T);
let l = !1;
o === "post" ? c.scheduler = (p) => {
Hr(p, d && d.suspense);
} : o !== "sync" && (l = !0, c.scheduler = (p, N) => {
N ? p() : gt(p);
}), c.augmentJob = (p) => {
t && (p.flags |= 4), l && (p.flags |= 2, d && (p.id = d.uid, p.i = d));
};
const a = ir(e, t, c);
return ot && (f ? f.push(a) : u && a()), a;
}
function Kr(e, t, n) {
const s = this.proxy, r = P(e) ? e.includes(".") ? zr(s, e) : () => s[e] : e.bind(s, s);
let o;
v(t) ? o = t : (o = t.handler, n = t);
const i = kr(this), c = Wr(r, o.bind(s), n);
return i(), c;
}
function zr(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 Ur = (e) => e.__isSuspense;
function Br(e, t) {
t && t.pendingBranch ? E(e) ? t.effects.push(...e) : t.effects.push(e) : kt(e);
}
const de = Symbol.for("v-fgt"), Jr = Symbol.for("v-txt"), fn = Symbol.for("v-cmt"), Oe = [];
let C = null;
function Pe(e = !1) {
Oe.push(C = e ? null : []);
}
function Yr() {
Oe.pop(), C = Oe[Oe.length - 1] || null;
}
let he = 1;
function Tt(e, t = !1) {
he += e, e < 0 && C && t && (C.hasOnce = !0);
}
function pn(e) {
return e.dynamicChildren = he > 0 ? C || wn : null, Yr(), he > 0 && C && C.push(e), e;
}
function qr(e, t, n, s, r, o) {
return pn(
_n(
e,
t,
n,
s,
r,
o,
!0
)
);
}
function rt(e, t, n, s, r) {
return pn(
_e(
e,
t,
n,
s,
r,
!0
)
);
}
function dn(e) {
return e ? e.__v_isVNode === !0 : !1;
}
const Gr = (...e) => gn(
...e
), hn = ({ key: e }) => e ?? null, Se = ({
ref: e,
ref_key: t,
ref_for: n
}) => (typeof e == "number" && (e = "" + e), e != null ? P(e) || y(e) || v(e) ? { i: O, r: e, k: t, f: !!n } : e : null);
function _n(e, t = null, n = null, s = 0, r = null, o = e === de ? 0 : 1, i = !1, c = !1) {
const u = {
__v_isVNode: !0,
__v_skip: !0,
type: e,
props: t,
key: t && hn(t),
ref: t && Se(t),
scopeId: rn,
slotScopeIds: null,
children: n,
component: null,
suspense: null,
ssContent: null,
ssFallback: null,
dirs: null,
transition: null,
el: null,
anchor: null,
target: null,
targetStar