imooc-element-components-hql
Version:
1,724 lines • 59.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 on(e) {
const t = /* @__PURE__ */ Object.create(null);
for (const n of e.split(",")) t[n] = 1;
return (n) => n in t;
}
const T = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {}, cn = process.env.NODE_ENV !== "production" ? Object.freeze([]) : [], k = () => {
}, ln = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter
(e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), V = Object.assign, an = Object.prototype.hasOwnProperty, N = (e, t) => an.call(e, t), m = Array.isArray, ee = (e) => Ae(e) === "[object Map]", un = (e) => Ae(e) === "[object Set]", v = (e) => typeof e == "function", A = (e) => typeof e == "string", de = (e) => typeof e == "symbol", y = (e) => e !== null && typeof e == "object", fn = (e) => (y(e) || v(e)) && v(e.then) && v(e.catch), pn = Object.prototype.toString, Ae = (e) => pn.call(e), xt = (e) => Ae(e).slice(8, -1), dn = (e) => Ae(e) === "[object Object]", ke = (e) => A(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, et = (e) => {
const t = /* @__PURE__ */ Object.create(null);
return (n) => t[n] || (t[n] = e(n));
}, hn = /-(\w)/g, xe = et(
(e) => e.replace(hn, (t, n) => n ? n.toUpperCase() : "")
), ue = et((e) => e.charAt(0).toUpperCase() + e.slice(1)), _n = et(
(e) => e ? `on${ue(e)}` : ""
), W = (e, t) => !Object.is(e, t), gn = (e, t, n, s = !1) => {
Object.defineProperty(e, t, {
configurable: !0,
enumerable: !1,
writable: s,
value: n
});
};
let _t;
const Me = () => _t || (_t = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
function tt(e) {
if (m(e)) {
const t = {};
for (let n = 0; n < e.length; n++) {
const s = e[n], r = A(s) ? Nn(s) : tt(s);
if (r)
for (const o in r)
t[o] = r[o];
}
return t;
} else if (A(e) || y(e))
return e;
}
const mn = /;(?![^(]*\))/g, En = /:([^]+)/, bn = /\/\*[^]*?\*\//g;
function Nn(e) {
const t = {};
return e.replace(bn, "").split(mn).forEach((n) => {
if (n) {
const s = n.split(En);
s.length > 1 && (t[s[0].trim()] = s[1].trim());
}
}), t;
}
function nt(e) {
let t = "";
if (A(e))
t = e;
else if (m(e))
for (let n = 0; n < e.length; n++) {
const s = nt(e[n]);
s && (t += s + " ");
}
else if (y(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 U(e, ...t) {
console.warn(`[Vue warn] ${e}`, ...t);
}
let g;
const je = /* @__PURE__ */ new WeakSet();
class wn {
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, je.has(this) && (je.delete(this), this.trigger()));
}
/**
* @internal
*/
notify() {
this.flags & 2 && !(this.flags & 32) || this.flags & 8 || vn(this);
}
run() {
if (!(this.flags & 1))
return this.fn();
this.flags |= 2, gt(this), Dt(this);
const t = g, n = P;
g = this, P = !0;
try {
return this.fn();
} finally {
process.env.NODE_ENV !== "production" && g !== this && U(
"Active effect was not restored correctly - this is likely a Vue internal bug."
), Vt(this), g = t, P = n, this.flags &= -3;
}
}
stop() {
if (this.flags & 1) {
for (let t = this.deps; t; t = t.nextDep)
ot(t);
this.deps = this.depsTail = void 0, gt(this), this.onStop && this.onStop(), this.flags &= -2;
}
}
trigger() {
this.flags & 64 ? je.add(this) : this.scheduler ? this.scheduler() : this.runIfDirty();
}
/**
* @internal
*/
runIfDirty() {
Je(this) && this.run();
}
get dirty() {
return Je(this);
}
}
let yt = 0, ce, le;
function vn(e, t = !1) {
if (e.flags |= 8, t) {
e.next = le, le = e;
return;
}
e.next = ce, ce = e;
}
function rt() {
yt++;
}
function st() {
if (--yt > 0)
return;
if (le) {
let t = le;
for (le = void 0; t; ) {
const n = t.next;
t.next = void 0, t.flags &= -9, t = n;
}
}
let e;
for (; ce; ) {
let t = ce;
for (ce = 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 Dt(e) {
for (let t = e.deps; t; t = t.nextDep)
t.version = -1, t.prevActiveLink = t.dep.activeLink, t.dep.activeLink = t;
}
function Vt(e) {
let t, n = e.depsTail, s = n;
for (; s; ) {
const r = s.prevDep;
s.version === -1 ? (s === n && (n = r), ot(s), Sn(s)) : t = s, s.dep.activeLink = s.prevActiveLink, s.prevActiveLink = void 0, s = r;
}
e.deps = t, e.depsTail = n;
}
function Je(e) {
for (let t = e.deps; t; t = t.nextDep)
if (t.dep.version !== t.version || t.dep.computed && (On(t.dep.computed) || t.dep.version !== t.version))
return !0;
return !!e._dirty;
}
function On(e) {
if (e.flags & 4 && !(e.flags & 16) || (e.flags &= -17, e.globalVersion === ye))
return;
e.globalVersion = ye;
const t = e.dep;
if (e.flags |= 2, t.version > 0 && !e.isSSR && e.deps && !Je(e)) {
e.flags &= -3;
return;
}
const n = g, s = P;
g = e, P = !0;
try {
Dt(e);
const r = e.fn(e._value);
(t.version === 0 || W(r, e._value)) && (e._value = r, t.version++);
} catch (r) {
throw t.version++, r;
} finally {
g = n, P = s, Vt(e), e.flags &= -3;
}
}
function ot(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)
ot(o, !0);
}
!t && !--n.sc && n.map && n.map.delete(n.key);
}
function Sn(e) {
const { prevDep: t, nextDep: n } = e;
t && (t.nextDep = n, e.prevDep = void 0), n && (n.prevDep = t, e.nextDep = void 0);
}
let P = !0;
const Rt = [];
function he() {
Rt.push(P), P = !1;
}
function _e() {
const e = Rt.pop();
P = e === void 0 ? !0 : e;
}
function gt(e) {
const { cleanup: t } = e;
if (e.cleanup = void 0, t) {
const n = g;
g = void 0;
try {
t();
} finally {
g = n;
}
}
}
let ye = 0;
class xn {
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 Ct {
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 || !P || g === this.computed)
return;
let n = this.activeLink;
if (n === void 0 || n.sub !== g)
n = this.activeLink = new xn(g, this), g.deps ? (n.prevDep = g.depsTail, g.depsTail.nextDep = n, g.depsTail = n) : g.deps = g.depsTail = n, Tt(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(
V(
{
effect: g
},
t
)
), n;
}
trigger(t) {
this.version++, ye++, this.notify(t);
}
notify(t) {
rt();
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(
V(
{
effect: n.sub
},
t
)
);
for (let n = this.subs; n; n = n.prevSub)
n.sub.notify() && n.sub.dep.notify();
} finally {
st();
}
}
}
function Tt(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)
Tt(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 Ye = /* @__PURE__ */ new WeakMap(), J = Symbol(
process.env.NODE_ENV !== "production" ? "Object iterate" : ""
), qe = Symbol(
process.env.NODE_ENV !== "production" ? "Map keys iterate" : ""
), fe = Symbol(
process.env.NODE_ENV !== "production" ? "Array iterate" : ""
);
function w(e, t, n) {
if (P && g) {
let s = Ye.get(e);
s || Ye.set(e, s = /* @__PURE__ */ new Map());
let r = s.get(n);
r || (s.set(n, r = new Ct()), r.map = s, r.key = n), process.env.NODE_ENV !== "production" ? r.track({
target: e,
type: t,
key: n
}) : r.track();
}
}
function K(e, t, n, s, r, o) {
const i = Ye.get(e);
if (!i) {
ye++;
return;
}
const c = (a) => {
a && (process.env.NODE_ENV !== "production" ? a.trigger({
target: e,
type: t,
key: n,
newValue: s,
oldValue: r,
oldTarget: o
}) : a.trigger());
};
if (rt(), t === "clear")
i.forEach(c);
else {
const a = m(e), f = a && ke(n);
if (a && n === "length") {
const d = Number(s);
i.forEach((l, u) => {
(u === "length" || u === fe || !de(u) && u >= d) && c(l);
});
} else
switch ((n !== void 0 || i.has(void 0)) && c(i.get(n)), f && c(i.get(fe)), t) {
case "add":
a ? f && c(i.get("length")) : (c(i.get(J)), ee(e) && c(i.get(qe)));
break;
case "delete":
a || (c(i.get(J)), ee(e) && c(i.get(qe)));
break;
case "set":
ee(e) && c(i.get(J));
break;
}
}
st();
}
function Q(e) {
const t = h(e);
return t === e ? t : (w(t, "iterate", fe), D(e) ? t : t.map(S));
}
function it(e) {
return w(e = h(e), "iterate", fe), e;
}
const yn = {
__proto__: null,
[Symbol.iterator]() {
return Ke(this, Symbol.iterator, S);
},
concat(...e) {
return Q(this).concat(
...e.map((t) => m(t) ? Q(t) : t)
);
},
entries() {
return Ke(this, "entries", (e) => (e[1] = S(e[1]), e));
},
every(e, t) {
return M(this, "every", e, t, void 0, arguments);
},
filter(e, t) {
return M(this, "filter", e, t, (n) => n.map(S), arguments);
},
find(e, t) {
return M(this, "find", e, t, S, arguments);
},
findIndex(e, t) {
return M(this, "findIndex", e, t, void 0, arguments);
},
findLast(e, t) {
return M(this, "findLast", e, t, S, arguments);
},
findLastIndex(e, t) {
return M(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 M(this, "forEach", e, t, void 0, arguments);
},
includes(...e) {
return Le(this, "includes", e);
},
indexOf(...e) {
return Le(this, "indexOf", e);
},
join(e) {
return Q(this).join(e);
},
// keys() iterator only reads `length`, no optimisation required
lastIndexOf(...e) {
return Le(this, "lastIndexOf", e);
},
map(e, t) {
return M(this, "map", e, t, void 0, arguments);
},
pop() {
return oe(this, "pop");
},
push(...e) {
return oe(this, "push", e);
},
reduce(e, ...t) {
return mt(this, "reduce", e, t);
},
reduceRight(e, ...t) {
return mt(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 M(this, "some", e, t, void 0, arguments);
},
splice(...e) {
return oe(this, "splice", e);
},
toReversed() {
return Q(this).toReversed();
},
toSorted(e) {
return Q(this).toSorted(e);
},
toSpliced(...e) {
return Q(this).toSpliced(...e);
},
unshift(...e) {
return oe(this, "unshift", e);
},
values() {
return Ke(this, "values", S);
}
};
function Ke(e, t, n) {
const s = it(e), r = s[t]();
return s !== e && !D(e) && (r._next = r.next, r.next = () => {
const o = r._next();
return o.value && (o.value = n(o.value)), o;
}), r;
}
const Dn = Array.prototype;
function M(e, t, n, s, r, o) {
const i = it(e), c = i !== e && !D(e), a = i[t];
if (a !== Dn[t]) {
const l = a.apply(e, o);
return c ? S(l) : l;
}
let f = n;
i !== e && (c ? f = function(l, u) {
return n.call(this, S(l), u, e);
} : n.length > 2 && (f = function(l, u) {
return n.call(this, l, u, e);
}));
const d = a.call(i, f, s);
return c && r ? r(d) : d;
}
function mt(e, t, n, s) {
const r = it(e);
let o = n;
return r !== e && (D(e) ? n.length > 3 && (o = function(i, c, a) {
return n.call(this, i, c, a, e);
}) : o = function(i, c, a) {
return n.call(this, i, S(c), a, e);
}), r[t](o, ...s);
}
function Le(e, t, n) {
const s = h(e);
w(s, "iterate", fe);
const r = s[t](...n);
return (r === -1 || r === !1) && De(n[0]) ? (n[0] = h(n[0]), s[t](...n)) : r;
}
function oe(e, t, n = []) {
he(), rt();
const s = h(e)[t].apply(e, n);
return st(), _e(), s;
}
const Vn = /* @__PURE__ */ on("__proto__,__v_isRef,__isVue"), It = new Set(
/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(de)
);
function Rn(e) {
de(e) || (e = String(e));
const t = h(this);
return w(t, "has", e), t.hasOwnProperty(e);
}
class Pt {
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 ? Ht : Mt : o ? jn : At).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 a;
if (i && (a = yn[n]))
return a;
if (n === "hasOwnProperty")
return Rn;
}
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
x(t) ? t : s
);
return (de(n) ? It.has(n) : Vn(n)) || (r || w(t, "get", n), o) ? c : x(c) ? i && ke(n) ? c : c.value : y(c) ? r ? jt(c) : Ft(c) : c;
}
}
class Cn extends Pt {
constructor(t = !1) {
super(!1, t);
}
set(t, n, s, r) {
let o = t[n];
if (!this._isShallow) {
const a = F(o);
if (!D(s) && !F(s) && (o = h(o), s = h(s)), !m(t) && x(o) && !x(s))
return a ? !1 : (o.value = s, !0);
}
const i = m(t) && ke(n) ? Number(n) < t.length : N(t, n), c = Reflect.set(
t,
n,
s,
x(t) ? t : r
);
return t === h(r) && (i ? W(s, o) && K(t, "set", n, s, o) : K(t, "add", n, s)), c;
}
deleteProperty(t, n) {
const s = N(t, n), r = t[n], o = Reflect.deleteProperty(t, n);
return o && s && K(t, "delete", n, void 0, r), o;
}
has(t, n) {
const s = Reflect.has(t, n);
return (!de(n) || !It.has(n)) && w(t, "has", n), s;
}
ownKeys(t) {
return w(
t,
"iterate",
m(t) ? "length" : J
), Reflect.ownKeys(t);
}
}
class $t extends Pt {
constructor(t = !1) {
super(!0, t);
}
set(t, n) {
return process.env.NODE_ENV !== "production" && U(
`Set operation on key "${String(n)}" failed: target is readonly.`,
t
), !0;
}
deleteProperty(t, n) {
return process.env.NODE_ENV !== "production" && U(
`Delete operation on key "${String(n)}" failed: target is readonly.`,
t
), !0;
}
}
const Tn = /* @__PURE__ */ new Cn(), In = /* @__PURE__ */ new $t(), Pn = /* @__PURE__ */ new $t(!0), Ge = (e) => e, Ee = (e) => Reflect.getPrototypeOf(e);
function $n(e, t, n) {
return function(...s) {
const r = this.__v_raw, o = h(r), i = ee(o), c = e === "entries" || e === Symbol.iterator && i, a = e === "keys" && i, f = r[e](...s), d = n ? Ge : t ? Qe : S;
return !t && w(
o,
"iterate",
a ? qe : J
), {
// iterator protocol
next() {
const { value: l, done: u } = f.next();
return u ? { value: l, done: u } : {
value: c ? [d(l[0]), d(l[1])] : d(l),
done: u
};
},
// iterable protocol
[Symbol.iterator]() {
return this;
}
};
};
}
function be(e) {
return function(...t) {
if (process.env.NODE_ENV !== "production") {
const n = t[0] ? `on key "${t[0]}" ` : "";
U(
`${ue(e)} operation ${n}failed: target is readonly.`,
h(this)
);
}
return e === "delete" ? !1 : e === "clear" ? void 0 : this;
};
}
function An(e, t) {
const n = {
get(r) {
const o = this.__v_raw, i = h(o), c = h(r);
e || (W(r, c) && w(i, "get", r), w(i, "get", c));
const { has: a } = Ee(i), f = t ? Ge : e ? Qe : S;
if (a.call(i, r))
return f(o.get(r));
if (a.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", J), Reflect.get(r, "size", r);
},
has(r) {
const o = this.__v_raw, i = h(o), c = h(r);
return e || (W(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, a = h(c), f = t ? Ge : e ? Qe : S;
return !e && w(a, "iterate", J), c.forEach((d, l) => r.call(o, f(d), f(l), i));
}
};
return V(
n,
e ? {
add: be("add"),
set: be("set"),
delete: be("delete"),
clear: be("clear")
} : {
add(r) {
!t && !D(r) && !F(r) && (r = h(r));
const o = h(this);
return Ee(o).has.call(o, r) || (o.add(r), K(o, "add", r, r)), this;
},
set(r, o) {
!t && !D(o) && !F(o) && (o = h(o));
const i = h(this), { has: c, get: a } = Ee(i);
let f = c.call(i, r);
f ? process.env.NODE_ENV !== "production" && Et(i, c, r) : (r = h(r), f = c.call(i, r));
const d = a.call(i, r);
return i.set(r, o), f ? W(o, d) && K(i, "set", r, o, d) : K(i, "add", r, o), this;
},
delete(r) {
const o = h(this), { has: i, get: c } = Ee(o);
let a = i.call(o, r);
a ? process.env.NODE_ENV !== "production" && Et(o, i, r) : (r = h(r), a = i.call(o, r));
const f = c ? c.call(o, r) : void 0, d = o.delete(r);
return a && K(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 && K(
r,
"clear",
void 0,
void 0,
i
), c;
}
}
), [
"keys",
"values",
"entries",
Symbol.iterator
].forEach((r) => {
n[r] = $n(r, e, t);
}), n;
}
function ct(e, t) {
const n = An(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 Mn = {
get: /* @__PURE__ */ ct(!1, !1)
}, Hn = {
get: /* @__PURE__ */ ct(!0, !1)
}, Fn = {
get: /* @__PURE__ */ ct(!0, !0)
};
function Et(e, t, n) {
const s = h(n);
if (s !== n && t.call(e, s)) {
const r = xt(e);
U(
`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 At = /* @__PURE__ */ new WeakMap(), jn = /* @__PURE__ */ new WeakMap(), Mt = /* @__PURE__ */ new WeakMap(), Ht = /* @__PURE__ */ new WeakMap();
function Kn(e) {
switch (e) {
case "Object":
case "Array":
return 1;
case "Map":
case "Set":
case "WeakMap":
case "WeakSet":
return 2;
default:
return 0;
}
}
function Ln(e) {
return e.__v_skip || !Object.isExtensible(e) ? 0 : Kn(xt(e));
}
function Ft(e) {
return F(e) ? e : lt(
e,
!1,
Tn,
Mn,
At
);
}
function jt(e) {
return lt(
e,
!0,
In,
Hn,
Mt
);
}
function Ne(e) {
return lt(
e,
!0,
Pn,
Fn,
Ht
);
}
function lt(e, t, n, s, r) {
if (!y(e))
return process.env.NODE_ENV !== "production" && U(
`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 = Ln(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 F(e) ? te(e.__v_raw) : !!(e && e.__v_isReactive);
}
function F(e) {
return !!(e && e.__v_isReadonly);
}
function D(e) {
return !!(e && e.__v_isShallow);
}
function De(e) {
return e ? !!e.__v_raw : !1;
}
function h(e) {
const t = e && e.__v_raw;
return t ? h(t) : e;
}
function Wn(e) {
return !N(e, "__v_skip") && Object.isExtensible(e) && gn(e, "__v_skip", !0), e;
}
const S = (e) => y(e) ? Ft(e) : e, Qe = (e) => y(e) ? jt(e) : e;
function x(e) {
return e ? e.__v_isRef === !0 : !1;
}
function Un(e) {
return zn(e, !1);
}
function zn(e, t) {
return x(e) ? e : new Bn(e, t);
}
class Bn {
constructor(t, n) {
this.dep = new Ct(), this.__v_isRef = !0, this.__v_isShallow = !1, this._rawValue = n ? t : h(t), this._value = n ? t : S(t), this.__v_isShallow = n;
}
get value() {
return process.env.NODE_ENV !== "production" ? this.dep.track({
target: this,
type: "get",
key: "value"
}) : this.dep.track(), this._value;
}
set value(t) {
const n = this._rawValue, s = this.__v_isShallow || D(t) || F(t);
t = s ? t : h(t), W(t, n) && (this._rawValue = t, this._value = s ? t : S(t), process.env.NODE_ENV !== "production" ? this.dep.trigger({
target: this,
type: "set",
key: "value",
newValue: t,
oldValue: n
}) : this.dep.trigger());
}
}
function Kt(e) {
return x(e) ? e.value : e;
}
const Jn = {
get: (e, t, n) => t === "__v_raw" ? e : Kt(Reflect.get(e, t, n)),
set: (e, t, n, s) => {
const r = e[t];
return x(r) && !x(n) ? (r.value = n, !0) : Reflect.set(e, t, n, s);
}
};
function Yn(e) {
return te(e) ? e : new Proxy(e, Jn);
}
const we = {}, Ve = /* @__PURE__ */ new WeakMap();
let B;
function qn(e, t = !1, n = B) {
if (n) {
let s = Ve.get(n);
s || Ve.set(n, s = []), s.push(e);
} else process.env.NODE_ENV !== "production" && !t && U(
"onWatcherCleanup() was called when there was no active watcher to associate with."
);
}
function Gn(e, t, n = T) {
const { immediate: s, deep: r, once: o, scheduler: i, augmentJob: c, call: a } = n, f = (_) => {
(n.onWarn || U)(
"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 ? _ : D(_) || r === !1 || r === 0 ? L(_, 1) : L(_);
let l, u, p, b, R = !1, ge = !1;
if (x(e) ? (u = () => e.value, R = D(e)) : te(e) ? (u = () => d(e), R = !0) : m(e) ? (ge = !0, R = e.some((_) => te(_) || D(_)), u = () => e.map((_) => {
if (x(_))
return _.value;
if (te(_))
return d(_);
if (v(_))
return a ? a(_, 2) : _();
process.env.NODE_ENV !== "production" && f(_);
})) : v(e) ? t ? u = a ? () => a(e, 2) : e : u = () => {
if (p) {
he();
try {
p();
} finally {
_e();
}
}
const _ = B;
B = l;
try {
return a ? a(e, 3, [b]) : e(b);
} finally {
B = _;
}
} : (u = k, process.env.NODE_ENV !== "production" && f(e)), t && r) {
const _ = u, $ = r === !0 ? 1 / 0 : r;
u = () => L(_(), $);
}
const G = () => {
l.stop();
};
if (o && t) {
const _ = t;
t = (...$) => {
_(...$), G();
};
}
let z = ge ? new Array(e.length).fill(we) : we;
const se = (_) => {
if (!(!(l.flags & 1) || !l.dirty && !_))
if (t) {
const $ = l.run();
if (r || R || (ge ? $.some((Fe, me) => W(Fe, z[me])) : W($, z))) {
p && p();
const Fe = B;
B = l;
try {
const me = [
$,
// pass undefined as the old value when it's changed for the first time
z === we ? void 0 : ge && z[0] === we ? [] : z,
b
];
a ? a(t, 3, me) : (
// @ts-expect-error
t(...me)
), z = $;
} finally {
B = Fe;
}
}
} else
l.run();
};
return c && c(se), l = new wn(u), l.scheduler = i ? () => i(se, !1) : se, b = (_) => qn(_, !1, l), p = l.onStop = () => {
const _ = Ve.get(l);
if (_) {
if (a)
a(_, 4);
else
for (const $ of _) $();
Ve.delete(l);
}
}, process.env.NODE_ENV !== "production" && (l.onTrack = n.onTrack, l.onTrigger = n.onTrigger), t ? s ? se(!0) : z = l.run() : i ? i(se.bind(null, !0), !0) : l.run(), G.pause = l.pause.bind(l), G.resume = l.resume.bind(l), G.stop = G, G;
}
function L(e, t = 1 / 0, n) {
if (t <= 0 || !y(e) || e.__v_skip || (n = n || /* @__PURE__ */ new Set(), n.has(e)))
return e;
if (n.add(e), t--, x(e))
L(e.value, t, n);
else if (m(e))
for (let s = 0; s < e.length; s++)
L(e[s], t, n);
else if (un(e) || ee(e))
e.forEach((s) => {
L(s, t, n);
});
else if (dn(e)) {
for (const s in e)
L(e[s], t, n);
for (const s of Object.getOwnPropertySymbols(e))
Object.prototype.propertyIsEnumerable.call(e, s) && L(e[s], t, n);
}
return e;
}
/**
* @vue/runtime-core v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/
const Y = [];
function Qn(e) {
Y.push(e);
}
function Xn() {
Y.pop();
}
let We = !1;
function E(e, ...t) {
if (We) return;
We = !0, he();
const n = Y.length ? Y[Y.length - 1].component : null, s = n && n.appContext.config.warnHandler, r = Zn();
if (s)
He(
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 <${rn(n, o.type)}>`
).join(`
`),
r
]
);
else {
const o = [`[Vue warn]: ${e}`, ...t];
r.length && o.push(`
`, ...kn(r)), console.warn(...o);
}
_e(), We = !1;
}
function Zn() {
let e = Y[Y.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 kn(e) {
const t = [];
return e.forEach((n, s) => {
t.push(...s === 0 ? [] : [`
`], ...er(n));
}), t;
}
function er({ vnode: e, recurseCount: t }) {
const n = t > 0 ? `... (${t} recursive calls)` : "", s = e.component ? e.component.parent == null : !1, r = ` at <${rn(
e.component,
e.type,
s
)}`, o = ">" + n;
return e.props ? [r, ...tr(e.props), o] : [r + o];
}
function tr(e) {
const t = [], n = Object.keys(e);
return n.slice(0, 3).forEach((s) => {
t.push(...Lt(s, e[s]));
}), n.length > 3 && t.push(" ..."), t;
}
function Lt(e, t, n) {
return A(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : x(t) ? (t = Lt(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 at = {
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 He(e, t, n, s) {
try {
return s ? e(...s) : e();
} catch (r) {
ft(r, t, n);
}
}
function ut(e, t, n, s) {
if (v(e)) {
const r = He(e, t, n, s);
return r && fn(r) && r.catch((o) => {
ft(o, t, n);
}), r;
}
if (m(e)) {
const r = [];
for (let o = 0; o < e.length; o++)
r.push(ut(e[o], t, n, s));
return r;
} else process.env.NODE_ENV !== "production" && E(
`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`
);
}
function ft(e, t, n, s = !0) {
const r = t ? t.vnode : null, { errorHandler: o, throwUnhandledErrorInProduction: i } = t && t.appContext.config || T;
if (t) {
let c = t.parent;
const a = t.proxy, f = process.env.NODE_ENV !== "production" ? at[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, a, f) === !1)
return;
}
c = c.parent;
}
if (o) {
he(), He(o, null, 10, [
e,
a,
f
]), _e();
return;
}
}
nr(e, n, r, s, i);
}
function nr(e, t, n, s = !0, r = !1) {
if (process.env.NODE_ENV !== "production") {
const o = at[t];
if (n && Qn(n), E(`Unhandled error${o ? ` during execution of ${o}` : ""}`), n && Xn(), s)
throw e;
console.error(e);
} else {
if (r)
throw e;
console.error(e);
}
}
const C = [];
let H = -1;
const ne = [];
let j = null, X = 0;
const Wt = /* @__PURE__ */ Promise.resolve();
let Re = null;
const rr = 100;
function sr(e) {
const t = Re || Wt;
return e ? t.then(this ? e.bind(this) : e) : t;
}
function or(e) {
let t = H + 1, n = C.length;
for (; t < n; ) {
const s = t + n >>> 1, r = C[s], o = pe(r);
o < e || o === e && r.flags & 2 ? t = s + 1 : n = s;
}
return t;
}
function pt(e) {
if (!(e.flags & 1)) {
const t = pe(e), n = C[C.length - 1];
!n || // fast path when the job id is larger than the tail
!(e.flags & 2) && t >= pe(n) ? C.push(e) : C.splice(or(t), 0, e), e.flags |= 1, Ut();
}
}
function Ut() {
Re || (Re = Wt.then(Bt));
}
function zt(e) {
m(e) ? ne.push(...e) : j && e.id === -1 ? j.splice(X + 1, 0, e) : e.flags & 1 || (ne.push(e), e.flags |= 1), Ut();
}
function ir(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" && Jt(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 Bt(e) {
process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map());
const t = process.env.NODE_ENV !== "production" ? (n) => Jt(e, n) : k;
try {
for (H = 0; H < C.length; H++) {
const n = C[H];
if (n && !(n.flags & 8)) {
if (process.env.NODE_ENV !== "production" && t(n))
continue;
n.flags & 4 && (n.flags &= -2), He(
n,
n.i,
n.i ? 15 : 14
), n.flags & 4 || (n.flags &= -2);
}
}
} finally {
for (; H < C.length; H++) {
const n = C[H];
n && (n.flags &= -2);
}
H = -1, C.length = 0, ir(e), Re = null, (C.length || ne.length) && Bt(e);
}
}
function Jt(e, t) {
const n = e.get(t) || 0;
if (n > rr) {
const s = t.i, r = s && ht(s.type);
return ft(
`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 Ue = /* @__PURE__ */ new Map();
process.env.NODE_ENV !== "production" && (Me().__VUE_HMR_RUNTIME__ = {
createRecord: ze(cr),
rerender: ze(lr),
reload: ze(ar)
});
const Ce = /* @__PURE__ */ new Map();
function cr(e, t) {
return Ce.has(e) ? !1 : (Ce.set(e, {
initialDef: Te(t),
instances: /* @__PURE__ */ new Set()
}), !0);
}
function Te(e) {
return sn(e) ? e.__vccOpts : e;
}
function lr(e, t) {
const n = Ce.get(e);
n && (n.initialDef.render = t, [...n.instances].forEach((s) => {
t && (s.render = t, Te(s.type).render = t), s.renderCache = [], s.update();
}));
}
function ar(e, t) {
const n = Ce.get(e);
if (!n) return;
t = Te(t), bt(n.initialDef, t);
const s = [...n.instances];
for (let r = 0; r < s.length; r++) {
const o = s[r], i = Te(o.type);
let c = Ue.get(i);
c || (i !== n.initialDef && bt(i, t), Ue.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 ? pt(() => {
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);
}
zt(() => {
Ue.clear();
});
}
function bt(e, t) {
V(e, t);
for (const n in e)
n !== "__file" && !(n in t) && delete e[n];
}
function ze(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 Z, ve = [];
function Yt(e, t) {
var n, s;
Z = e, Z ? (Z.enabled = !0, ve.forEach(({ event: r, args: o }) => Z.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) => {
Yt(o, t);
}), setTimeout(() => {
Z || (t.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, ve = []);
}, 3e3)) : ve = [];
}
let re = null, ur = null;
const fr = (e) => e.__isTeleport;
function qt(e, t) {
e.shapeFlag & 6 && e.component ? (e.transition = t, qt(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 pr(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.
V({ name: e.name }, t, { setup: e })
) : e;
}
Me().requestIdleCallback;
Me().cancelIdleCallback;
function dr(e, t, n = q, s = !1) {
if (n) {
const r = n[e] || (n[e] = []), o = t.__weh || (t.__weh = (...i) => {
he();
const c = nn(n), a = ut(t, n, e, i);
return c(), _e(), a;
});
return s ? r.unshift(o) : r.push(o), o;
} else if (process.env.NODE_ENV !== "production") {
const r = _n(at[e].replace(/ hook$/, ""));
E(
`${r} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`
);
}
}
const hr = (e) => (t, n = q) => {
(!$e || e === "sp") && dr(e, (...s) => t(...s), n);
}, _r = hr("m"), gr = "components";
function mr(e, t) {
return br(gr, e, !0, t) || e;
}
const Er = Symbol.for("v-ndc");
function br(e, t, n = !0, s = !1) {
const r = q;
if (r) {
const o = r.type;
{
const c = ht(
o,
!1
);
if (c && (c === t || c === xe(t) || c === ue(xe(t))))
return o;
}
const i = (
// local registration
// check instance[type] first which is resolved for options API
Nt(r[e] || o[e], t) || // global registration
Nt(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${ue(e.slice(0, -1))} can only be used in render() or setup().`
);
}
function Nt(e, t) {
return e && (e[t] || e[xe(t)] || e[ue(xe(t))]);
}
const Xe = (e) => e ? Yr(e) ? qr(e) : Xe(e.parent) : null, ae = (
// Move PURE marker to new line to workaround compiler discarding it
// due to type annotation
/* @__PURE__ */ V(/* @__PURE__ */ Object.create(null), {
$: (e) => e,
$el: (e) => e.vnode.el,
$data: (e) => e.data,
$props: (e) => process.env.NODE_ENV !== "production" ? Ne(e.props) : e.props,
$attrs: (e) => process.env.NODE_ENV !== "production" ? Ne(e.attrs) : e.attrs,
$slots: (e) => process.env.NODE_ENV !== "production" ? Ne(e.slots) : e.slots,
$refs: (e) => process.env.NODE_ENV !== "production" ? Ne(e.refs) : e.refs,
$parent: (e) => Xe(e.parent),
$root: (e) => Xe(e.root),
$host: (e) => e.ce,
$emit: (e) => e.emit,
$options: (e) => wr(e),
$forceUpdate: (e) => e.f || (e.f = () => {
pt(e.update);
}),
$nextTick: (e) => e.n || (e.n = sr.bind(e.proxy)),
$watch: (e) => Ir.bind(e)
})
), Be = (e, t) => e !== T && !e.__isScriptSetup && N(e, t), Nr = {
get({ _: e }, t) {
if (t === "__v_skip")
return !0;
const { ctx: n, setupState: s, data: r, props: o, accessCache: i, type: c, appContext: a } = 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 (Be(s, t))
return i[t] = 1, s[t];
if (r !== T && 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 !== T && N(n, t))
return i[t] = 4, n[t];
i[t] = 0;
}
}
const d = ae[t];
let l, u;
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 !== T && N(n, t))
return i[t] = 4, n[t];
if (
// global properties
u = a.config.globalProperties, N(u, t)
)
return u[t];
process.env.NODE_ENV;
},
set({ _: e }, t, n) {
const { data: s, setupState: r, ctx: o } = e;
return Be(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 !== T && 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 !== T && N(e, i) || Be(t, i) || (c = o[0]) && N(c, i) || N(s, i) || N(ae, 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" && (Nr.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 wt(e) {
return m(e) ? e.reduce(
(t, n) => (t[n] = null, t),
{}
) : e;
}
function wr(e) {
const t = e.type, { mixins: n, extends: s } = t, {
mixins: r,
optionsCache: o,
config: { optionMergeStrategies: i }
} = e.appContext, c = o.get(t);
let a;
return c ? a = c : !r.length && !n && !s ? a = t : (a = {}, r.length && r.forEach(
(f) => Ie(a, f, i, !0)
), Ie(a, t, i)), y(t) && o.set(t, a), a;
}
function Ie(e, t, n, s = !1) {
const { mixins: r, extends: o } = t;
o && Ie(e, o, n, !0), r && r.forEach(
(i) => Ie(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 = vr[i] || n && n[i];
e[i] = c ? c(e[i], t[i]) : t[i];
}
return e;
}
const vr = {
data: vt,
props: St,
emits: St,
// objects
methods: ie,
computed: ie,
// 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: ie,
directives: ie,
// watch
watch: Sr,
// provide / inject
provide: vt,
inject: Or
};
function vt(e, t) {
return t ? e ? function() {
return V(
v(e) ? e.call(this, this) : e,
v(t) ? t.call(this, this) : t
);
} : t : e;
}
function Or(e, t) {
return ie(Ot(e), Ot(t));
}
function Ot(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 ie(e, t) {
return e ? V(/* @__PURE__ */ Object.create(null), e, t) : t;
}
function St(e, t) {
return e ? m(e) && m(t) ? [.../* @__PURE__ */ new Set([...e, ...t])] : V(
/* @__PURE__ */ Object.create(null),
wt(e),
wt(t ?? {})
) : t;
}
function Sr(e, t) {
if (!e) return t;
if (!t) return e;
const n = V(/* @__PURE__ */ Object.create(null), e);
for (const s in t)
n[s] = O(e[s], t[s]);
return n;
}
let xr = null;
function yr(e, t, n = !1) {
const s = q || re;
if (s || xr) {
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" && E(`injection "${String(e)}" not found.`);
} else process.env.NODE_ENV !== "production" && E("inject() can only be used inside setup() or functional components.");
}
const Dr = {}, Gt = (e) => Object.getPrototypeOf(e) === Dr, Vr = Ar, Rr = Symbol.for("v-scx"), Cr = () => {
{
const e = yr(Rr);
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 Tr(e, t, n = T) {
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 = V({}, n);
process.env.NODE_ENV !== "production" && (c.onWarn = E);
const a = t && s || !t && o !== "post";
let f;
if ($e) {
if (o === "sync") {
const p = Cr();
f = p.__watcherHandles || (p.__watcherHandles = []);
} else if (!a) {
const p = () => {
};
return p.stop = k, p.resume = k, p.pause = k, p;
}
}
const d = q;
c.call = (p, b, R) => ut(p, d, b, R);
let l = !1;
o === "post" ? c.scheduler = (p) => {
Vr(p, d && d.suspense);
} : o !== "sync" && (l = !0, c.scheduler = (p, b) => {
b ? p() : pt(p);
}), c.augmentJob = (p) => {
t && (p.flags |= 4), l && (p.flags |= 2, d && (p.id = d.uid, p.i = d));
};
const u = Gn(e, t, c);
return $e && (f ? f.push(u) : a && u()), u;
}
function Ir(e, t, n) {
const s = this.proxy, r = A(e) ? e.includes(".") ? Pr(s, e) : () => s[e] : e.bind(s, s);
let o;
v(t) ? o = t : (o = t.handler, n = t);
const i = nn(this), c = Tr(r, o.bind(s), n);
return i(), c;
}
function Pr(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 $r = (e) => e.__isSuspense;
function Ar(e, t) {
t && t.pendingBranch ? m(e) ? t.effects.push(...e) : t.effects.push(e) : zt(e);
}
const Qt = Symbol.for("v-fgt"), Mr = Symbol.for("v-txt"), Hr = Symbol.for("v-cmt"), Oe = [];
let I = null;
function Fr(e = !1) {
Oe.push(I = e ? null : []);
}
function jr() {
Oe.pop(), I = Oe[Oe.length - 1] || null;
}
function Kr(e) {
return e.dynamicChildren = I || cn, jr(), I && I.push(e), e;
}
function Lr(e, t, n, s, r) {
return Kr(
Zt(
e,
t,
n,
s,
r,
!0
)
);
}
function Wr(e) {
return e ? e.__v_isVNode === !0 : !1;
}
const Ur = (...e) => kt(
...e
), Xt = ({ key: e }) => e ?? null, Se = ({
ref: e,
ref_key: t,
ref_for: n
}) => (typeof e == "number" && (e = "" + e), e != null ? A(e) || x(e) || v(e) ? { i: re, r: e, k: t, f: !!n } : e : null);
function zr(e, t = null, n = null, s = 0, r = null, o = e === Qt ? 0 : 1, i = !1, c = !1) {
const a = {
__v_isVNode: !0,
__v_skip: !0,
type: e,
props: t,
key: t && Xt(t),
ref: t && Se(t),
scopeId: ur,
slotScopeIds: null,
children: n,
component: null,
suspense: null,
ssContent: null,
ssFallback: null,
dirs: null,
transition: null,
el: null,
anchor: null,
target: null,
targetStart: null,
targetAnchor: null,
staticCount: 0,
shapeFlag: o,
patchFlag: s,
dynamicProps: r,
dynamicChildren: null,
appContext: null,
ctx: re
};
return c ? (dt(a, n), o & 128 && e.normalize(a)) : n && (a.shapeFlag |= A(n) ? 8 : 16), process.env.NODE_ENV !== "production" && a.key !== a.key && E("VNode created with invalid key (NaN). VNode type:", a.type), // avoid a block node from tracking itself
!i && // has current parent block
I && // presence of a patch flag indicates this node needs patching on updates.
// component nodes also should always be patched, because even if the
// component doesn't need to update, it needs to persist the instance on to
// the next vnode so that it can be properly unmounted later.
(a.patchFlag > 0 || o & 6) && // the EVENTS flag is only for hydration and if it is the only flag, the
// vnode should not be considered dynamic due to handler caching.
a.patchFlag !== 32 && I.push(a), a;
}
const Zt = process.env.NODE_ENV !== "production" ? Ur : kt;
function kt(e, t = null, n = null, s = 0, r = null, o = !1) {
if ((!e || e === Er) && (process.env.NODE_ENV !== "production"