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