@mermaid-js/mermaid-zenuml
Version:
MermaidJS plugin for ZenUML integration
1,779 lines • 1.45 MB
JavaScript
const Xo = (t) => {
console.error("Log function was called before initialization", t);
}, B0 = {
trace: Xo,
debug: Xo,
info: Xo,
warn: Xo,
error: Xo,
fatal: Xo
};
let M2;
const w4 = (t, e, o, n, r) => {
t.info("Mermaid utils injected"), B0.trace = t.trace, B0.debug = t.debug, B0.info = t.info, B0.warn = t.warn, B0.error = t.error, B0.fatal = t.fatal, M2 = o;
}, L4 = {
parser: { yy: {} },
parse: () => {
}
};
var C4 = Object.defineProperty, _4 = (t, e, o) => e in t ? C4(t, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[e] = o, q = (t, e, o) => (_4(t, typeof e != "symbol" ? e + "" : e, o), o), Qr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
function E4(t) {
try {
return JSON.stringify(t);
} catch {
return '"[Circular]"';
}
}
var T4 = S4;
function S4(t, e, o) {
var n = o && o.stringify || E4, r = 1;
if (typeof t == "object" && t !== null) {
var l = e.length + r;
if (l === 1)
return t;
var c = new Array(l);
c[0] = n(t);
for (var a = 1; a < l; a++)
c[a] = n(e[a]);
return c.join(" ");
}
if (typeof t != "string")
return t;
var i = e.length;
if (i === 0)
return t;
for (var s = "", u = 1 - r, d = -1, b = t && t.length || 0, f = 0; f < b; ) {
if (t.charCodeAt(f) === 37 && f + 1 < b) {
switch (d = d > -1 ? d : 0, t.charCodeAt(f + 1)) {
case 100:
case 102:
if (u >= i || e[u] == null)
break;
d < f && (s += t.slice(d, f)), s += Number(e[u]), d = f + 2, f++;
break;
case 105:
if (u >= i || e[u] == null)
break;
d < f && (s += t.slice(d, f)), s += Math.floor(Number(e[u])), d = f + 2, f++;
break;
case 79:
case 111:
case 106:
if (u >= i || e[u] === void 0)
break;
d < f && (s += t.slice(d, f));
var m = typeof e[u];
if (m === "string") {
s += "'" + e[u] + "'", d = f + 2, f++;
break;
}
if (m === "function") {
s += e[u].name || "<anonymous>", d = f + 2, f++;
break;
}
s += n(e[u]), d = f + 2, f++;
break;
case 115:
if (u >= i)
break;
d < f && (s += t.slice(d, f)), s += String(e[u]), d = f + 2, f++;
break;
case 37:
d < f && (s += t.slice(d, f)), s += "%", d = f + 2, f++, u--;
break;
}
++u;
}
++f;
}
return d === -1 ? t : (d < b && (s += t.slice(d)), s);
}
const As = T4;
var A4 = w0;
const dr = H4().console || {}, R4 = {
mapHttpRequest: Jr,
mapHttpResponse: Jr,
wrapRequestSerializer: qc,
wrapResponseSerializer: qc,
wrapErrorSerializer: qc,
req: Jr,
res: Jr,
err: P4
};
function O4(t, e) {
return Array.isArray(t) ? t.filter(function(o) {
return o !== "!stdSerializers.err";
}) : t === !0 ? Object.keys(e) : !1;
}
function w0(t) {
t = t || {}, t.browser = t.browser || {};
const e = t.browser.transmit;
if (e && typeof e.send != "function")
throw Error("pino: transmit option must have a send function");
const o = t.browser.write || dr;
t.browser.write && (t.browser.asObject = !0);
const n = t.serializers || {}, r = O4(t.browser.serialize, n);
let l = t.browser.serialize;
Array.isArray(t.browser.serialize) && t.browser.serialize.indexOf("!stdSerializers.err") > -1 && (l = !1);
const c = ["error", "fatal", "warn", "info", "debug", "trace"];
typeof o == "function" && (o.error = o.fatal = o.warn = o.info = o.debug = o.trace = o), (t.enabled === !1 || t.browser.disabled) && (t.level = "silent");
const a = t.level || "info", i = Object.create(o);
i.log || (i.log = gr), Object.defineProperty(i, "levelVal", {
get: u
}), Object.defineProperty(i, "level", {
get: d,
set: b
});
const s = {
transmit: e,
serialize: r,
asObject: t.browser.asObject,
levels: c,
timestamp: F4(t)
};
i.levels = w0.levels, i.level = a, i.setMaxListeners = i.getMaxListeners = i.emit = i.addListener = i.on = i.prependListener = i.once = i.prependOnceListener = i.removeListener = i.removeAllListeners = i.listeners = i.listenerCount = i.eventNames = i.write = i.flush = gr, i.serializers = n, i._serialize = r, i._stdErrSerialize = l, i.child = f, e && (i._logEvent = ya());
function u() {
return this.level === "silent" ? 1 / 0 : this.levels.values[this.level];
}
function d() {
return this._level;
}
function b(m) {
if (m !== "silent" && !this.levels.values[m])
throw Error("unknown level " + m);
this._level = m, Qo(s, i, "error", "log"), Qo(s, i, "fatal", "error"), Qo(s, i, "warn", "error"), Qo(s, i, "info", "log"), Qo(s, i, "debug", "log"), Qo(s, i, "trace", "log");
}
function f(m, x) {
if (!m)
throw new Error("missing bindings for child Pino");
x = x || {}, r && m.serializers && (x.serializers = m.serializers);
const _ = x.serializers;
if (r && _) {
var z = Object.assign({}, n, _), p = t.browser.serialize === !0 ? Object.keys(z) : r;
delete m.serializers, Yl([m], p, z, this._stdErrSerialize);
}
function y(C) {
this._childLevel = (C._childLevel | 0) + 1, this.error = Jo(C, m, "error"), this.fatal = Jo(C, m, "fatal"), this.warn = Jo(C, m, "warn"), this.info = Jo(C, m, "info"), this.debug = Jo(C, m, "debug"), this.trace = Jo(C, m, "trace"), z && (this.serializers = z, this._serialize = p), e && (this._logEvent = ya(
[].concat(C._logEvent.bindings, m)
));
}
return y.prototype = this, new y(this);
}
return i;
}
w0.levels = {
values: {
fatal: 60,
error: 50,
warn: 40,
info: 30,
debug: 20,
trace: 10
},
labels: {
10: "trace",
20: "debug",
30: "info",
40: "warn",
50: "error",
60: "fatal"
}
};
w0.stdSerializers = R4;
w0.stdTimeFunctions = Object.assign({}, { nullTime: P2, epochTime: F2, unixTime: D4, isoTime: B4 });
function Qo(t, e, o, n) {
const r = Object.getPrototypeOf(e);
e[o] = e.levelVal > e.levels.values[o] ? gr : r[o] ? r[o] : dr[o] || dr[n] || gr, I4(t, e, o);
}
function I4(t, e, o) {
!t.transmit && e[o] === gr || (e[o] = function(n) {
return function() {
const r = t.timestamp(), l = new Array(arguments.length), c = Object.getPrototypeOf && Object.getPrototypeOf(this) === dr ? dr : this;
for (var a = 0; a < l.length; a++)
l[a] = arguments[a];
if (t.serialize && !t.asObject && Yl(l, this._serialize, this.serializers, this._stdErrSerialize), t.asObject ? n.call(c, N4(this, o, l, r)) : n.apply(c, l), t.transmit) {
const i = t.transmit.level || e.level, s = w0.levels.values[i], u = w0.levels.values[o];
if (u < s)
return;
M4(this, {
ts: r,
methodLevel: o,
methodValue: u,
transmitLevel: i,
transmitValue: w0.levels.values[t.transmit.level || e.level],
send: t.transmit.send,
val: e.levelVal
}, l);
}
};
}(e[o]));
}
function N4(t, e, o, n) {
t._serialize && Yl(o, t._serialize, t.serializers, t._stdErrSerialize);
const r = o.slice();
let l = r[0];
const c = {};
n && (c.time = n), c.level = w0.levels.values[e];
let a = (t._childLevel | 0) + 1;
if (a < 1 && (a = 1), l !== null && typeof l == "object") {
for (; a-- && typeof r[0] == "object"; )
Object.assign(c, r.shift());
l = r.length ? As(r.shift(), r) : void 0;
} else
typeof l == "string" && (l = As(r.shift(), r));
return l !== void 0 && (c.msg = l), c;
}
function Yl(t, e, o, n) {
for (const r in t)
if (n && t[r] instanceof Error)
t[r] = w0.stdSerializers.err(t[r]);
else if (typeof t[r] == "object" && !Array.isArray(t[r]))
for (const l in t[r])
e && e.indexOf(l) > -1 && l in o && (t[r][l] = o[l](t[r][l]));
}
function Jo(t, e, o) {
return function() {
const n = new Array(1 + arguments.length);
n[0] = e;
for (var r = 1; r < n.length; r++)
n[r] = arguments[r - 1];
return t[o].apply(this, n);
};
}
function M4(t, e, o) {
const n = e.send, r = e.ts, l = e.methodLevel, c = e.methodValue, a = e.val, i = t._logEvent.bindings;
Yl(
o,
t._serialize || Object.keys(t.serializers),
t.serializers,
t._stdErrSerialize === void 0 ? !0 : t._stdErrSerialize
), t._logEvent.ts = r, t._logEvent.messages = o.filter(function(s) {
return i.indexOf(s) === -1;
}), t._logEvent.level.label = l, t._logEvent.level.value = c, n(l, t._logEvent, a), t._logEvent = ya(i);
}
function ya(t) {
return {
ts: 0,
messages: [],
bindings: t || [],
level: { label: "", value: 0 }
};
}
function P4(t) {
const e = {
type: t.constructor.name,
msg: t.message,
stack: t.stack
};
for (const o in t)
e[o] === void 0 && (e[o] = t[o]);
return e;
}
function F4(t) {
return typeof t.timestamp == "function" ? t.timestamp : t.timestamp === !1 ? P2 : F2;
}
function Jr() {
return {};
}
function qc(t) {
return t;
}
function gr() {
}
function P2() {
return !1;
}
function F2() {
return Date.now();
}
function D4() {
return Math.round(Date.now() / 1e3);
}
function B4() {
return new Date(Date.now()).toISOString();
}
function H4() {
function t(e) {
return typeof e < "u" && e;
}
try {
return typeof globalThis < "u" || Object.defineProperty(Object.prototype, "globalThis", {
get: function() {
return delete Object.prototype.globalThis, this.globalThis = this;
},
configurable: !0
}), globalThis;
} catch {
return t(self) || t(window) || t(this) || {};
}
}
const U4 = A4({
level: "warn"
}), Rs = ["log", "trace", "debug", "info", "warn", "error"];
function V4(t, e) {
t[e] = (console[e] || console.log).bind(console);
}
function j4(t, e, o) {
t[e] = (console[e] || console.log).bind(
console,
o[0],
o[1]
);
}
function G4(t) {
Rs.forEach((o) => V4(t, o));
const e = t.child;
return t.child = function(o) {
const n = e.call(t, o);
return Rs.forEach(
(r) => j4(n, r, ["%c" + o.name || "", "color: #00f"])
), n;
}, t;
}
const _r = G4(U4);
function _n(t, e) {
const o = /* @__PURE__ */ Object.create(null), n = t.split(",");
for (let r = 0; r < n.length; r++)
o[n[r]] = !0;
return e ? (r) => !!o[r.toLowerCase()] : (r) => !!o[r];
}
const $4 = "Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt", q4 = /* @__PURE__ */ _n($4);
function ye(t) {
if (W(t)) {
const e = {};
for (let o = 0; o < t.length; o++) {
const n = t[o], r = Ye(n) ? Y4(n) : ye(n);
if (r)
for (const l in r)
e[l] = r[l];
}
return e;
} else if (Ye(t) || Te(t))
return t;
}
const Z4 = /;(?![^(]*\))/g, W4 = /:([^]+)/, K4 = /\/\*.*?\*\//gs;
function Y4(t) {
const e = {};
return t.replace(K4, "").split(Z4).forEach((o) => {
if (o) {
const n = o.split(W4);
n.length > 1 && (e[n[0].trim()] = n[1].trim());
}
}), e;
}
function ve(t) {
let e = "";
if (Ye(t))
e = t;
else if (W(t))
for (let o = 0; o < t.length; o++) {
const n = ve(t[o]);
n && (e += n + " ");
}
else if (Te(t))
for (const o in t)
t[o] && (e += o + " ");
return e.trim();
}
function X4(t) {
if (!t)
return null;
let { class: e, style: o } = t;
return e && !Ye(e) && (t.class = ve(e)), o && (t.style = ye(o)), t;
}
const Q4 = "itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly", D2 = /* @__PURE__ */ _n(Q4);
function B2(t) {
return !!t || t === "";
}
function J4(t, e) {
if (t.length !== e.length)
return !1;
let o = !0;
for (let n = 0; o && n < t.length; n++)
o = $0(t[n], e[n]);
return o;
}
function $0(t, e) {
if (t === e)
return !0;
let o = Os(t), n = Os(e);
if (o || n)
return o && n ? t.getTime() === e.getTime() : !1;
if (o = br(t), n = br(e), o || n)
return t === e;
if (o = W(t), n = W(e), o || n)
return o && n ? J4(t, e) : !1;
if (o = Te(t), n = Te(e), o || n) {
if (!o || !n)
return !1;
const r = Object.keys(t).length, l = Object.keys(e).length;
if (r !== l)
return !1;
for (const c in t) {
const a = t.hasOwnProperty(c), i = e.hasOwnProperty(c);
if (a && !i || !a && i || !$0(t[c], e[c]))
return !1;
}
}
return String(t) === String(e);
}
function Er(t, e) {
return t.findIndex((o) => $0(o, e));
}
const Ve = (t) => Ye(t) ? t : t == null ? "" : W(t) || Te(t) && (t.toString === U2 || !ue(t.toString)) ? JSON.stringify(t, H2, 2) : String(t), H2 = (t, e) => e && e.__v_isRef ? H2(t, e.value) : cn(e) ? {
[`Map(${e.size})`]: [...e.entries()].reduce((o, [n, r]) => (o[`${n} =>`] = r, o), {})
} : $o(e) ? {
[`Set(${e.size})`]: [...e.values()]
} : Te(e) && !W(e) && !El(e) ? String(e) : e, Ge = {}, ln = [], Kt = () => {
}, eb = () => !1, tb = /^on[^a-z]/, Y0 = (t) => tb.test(t), k1 = (t) => t.startsWith("onUpdate:"), Re = Object.assign, y1 = (t, e) => {
const o = t.indexOf(e);
o > -1 && t.splice(o, 1);
}, ob = Object.prototype.hasOwnProperty, Ie = (t, e) => ob.call(t, e), W = Array.isArray, cn = (t) => Tr(t) === "[object Map]", $o = (t) => Tr(t) === "[object Set]", Os = (t) => Tr(t) === "[object Date]", ue = (t) => typeof t == "function", Ye = (t) => typeof t == "string", br = (t) => typeof t == "symbol", Te = (t) => t !== null && typeof t == "object", Xl = (t) => Te(t) && ue(t.then) && ue(t.catch), U2 = Object.prototype.toString, Tr = (t) => U2.call(t), nb = (t) => Tr(t).slice(8, -1), El = (t) => Tr(t) === "[object Object]", v1 = (t) => Ye(t) && t !== "NaN" && t[0] !== "-" && "" + parseInt(t, 10) === t, an = /* @__PURE__ */ _n(
",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
), Ql = (t) => {
const e = /* @__PURE__ */ Object.create(null);
return (o) => e[o] || (e[o] = t(o));
}, rb = /-(\w)/g, At = Ql((t) => t.replace(rb, (e, o) => o ? o.toUpperCase() : "")), lb = /\B([A-Z])/g, Et = Ql((t) => t.replace(lb, "-$1").toLowerCase()), Sr = Ql((t) => t.charAt(0).toUpperCase() + t.slice(1)), sn = Ql((t) => t ? `on${Sr(t)}` : ""), xn = (t, e) => !Object.is(t, e), so = (t, e) => {
for (let o = 0; o < t.length; o++)
t[o](e);
}, Tl = (t, e, o) => {
Object.defineProperty(t, e, {
configurable: !0,
enumerable: !1,
value: o
});
}, E0 = (t) => {
const e = parseFloat(t);
return isNaN(e) ? t : e;
};
let Is;
const cb = () => Is || (Is = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
let $t;
class w1 {
constructor(e = !1) {
this.detached = e, this.active = !0, this.effects = [], this.cleanups = [], this.parent = $t, !e && $t && (this.index = ($t.scopes || ($t.scopes = [])).push(this) - 1);
}
run(e) {
if (this.active) {
const o = $t;
try {
return $t = this, e();
} finally {
$t = o;
}
}
}
on() {
$t = this;
}
off() {
$t = this.parent;
}
stop(e) {
if (this.active) {
let o, n;
for (o = 0, n = this.effects.length; o < n; o++)
this.effects[o].stop();
for (o = 0, n = this.cleanups.length; o < n; o++)
this.cleanups[o]();
if (this.scopes)
for (o = 0, n = this.scopes.length; o < n; o++)
this.scopes[o].stop(!0);
if (!this.detached && this.parent && !e) {
const r = this.parent.scopes.pop();
r && r !== this && (this.parent.scopes[this.index] = r, r.index = this.index);
}
this.parent = void 0, this.active = !1;
}
}
}
function V2(t) {
return new w1(t);
}
function j2(t, e = $t) {
e && e.active && e.effects.push(t);
}
function ab() {
return $t;
}
function ib(t) {
$t && $t.cleanups.push(t);
}
const L1 = (t) => {
const e = new Set(t);
return e.w = 0, e.n = 0, e;
}, G2 = (t) => (t.w & mo) > 0, $2 = (t) => (t.n & mo) > 0, sb = ({ deps: t }) => {
if (t.length)
for (let e = 0; e < t.length; e++)
t[e].w |= mo;
}, ub = (t) => {
const { deps: e } = t;
if (e.length) {
let o = 0;
for (let n = 0; n < e.length; n++) {
const r = e[n];
G2(r) && !$2(r) ? r.delete(t) : e[o++] = r, r.w &= ~mo, r.n &= ~mo;
}
e.length = o;
}
}, va = /* @__PURE__ */ new WeakMap();
let Qn = 0, mo = 1;
const wa = 30;
let u0;
const Io = Symbol(""), La = Symbol("");
class Ar {
constructor(e, o = null, n) {
this.fn = e, this.scheduler = o, this.active = !0, this.deps = [], this.parent = void 0, j2(this, n);
}
run() {
if (!this.active)
return this.fn();
let e = u0, o = uo;
for (; e; ) {
if (e === this)
return;
e = e.parent;
}
try {
return this.parent = u0, u0 = this, uo = !0, mo = 1 << ++Qn, Qn <= wa ? sb(this) : Ns(this), this.fn();
} finally {
Qn <= wa && ub(this), mo = 1 << --Qn, u0 = this.parent, uo = o, this.parent = void 0, this.deferStop && this.stop();
}
}
stop() {
u0 === this ? this.deferStop = !0 : this.active && (Ns(this), this.onStop && this.onStop(), this.active = !1);
}
}
function Ns(t) {
const { deps: e } = t;
if (e.length) {
for (let o = 0; o < e.length; o++)
e[o].delete(t);
e.length = 0;
}
}
function db(t, e) {
t.effect && (t = t.effect.fn);
const o = new Ar(t);
e && (Re(o, e), e.scope && j2(o, e.scope)), (!e || !e.lazy) && o.run();
const n = o.run.bind(o);
return n.effect = o, n;
}
function gb(t) {
t.effect.stop();
}
let uo = !0;
const q2 = [];
function En() {
q2.push(uo), uo = !1;
}
function Tn() {
const t = q2.pop();
uo = t === void 0 ? !0 : t;
}
function Dt(t, e, o) {
if (uo && u0) {
let n = va.get(t);
n || va.set(t, n = /* @__PURE__ */ new Map());
let r = n.get(o);
r || n.set(o, r = L1()), Z2(r);
}
}
function Z2(t, e) {
let o = !1;
Qn <= wa ? $2(t) || (t.n |= mo, o = !G2(t)) : o = !t.has(u0), o && (t.add(u0), u0.deps.push(t));
}
function T0(t, e, o, n, r, l) {
const c = va.get(t);
if (!c)
return;
let a = [];
if (e === "clear")
a = [...c.values()];
else if (o === "length" && W(t)) {
const i = E0(n);
c.forEach((s, u) => {
(u === "length" || u >= i) && a.push(s);
});
} else
switch (o !== void 0 && a.push(c.get(o)), e) {
case "add":
W(t) ? v1(o) && a.push(c.get("length")) : (a.push(c.get(Io)), cn(t) && a.push(c.get(La)));
break;
case "delete":
W(t) || (a.push(c.get(Io)), cn(t) && a.push(c.get(La)));
break;
case "set":
cn(t) && a.push(c.get(Io));
break;
}
if (a.length === 1)
a[0] && Ca(a[0]);
else {
const i = [];
for (const s of a)
s && i.push(...s);
Ca(L1(i));
}
}
function Ca(t, e) {
const o = W(t) ? t : [...t];
for (const n of o)
n.computed && Ms(n);
for (const n of o)
n.computed || Ms(n);
}
function Ms(t, e) {
(t !== u0 || t.allowRecurse) && (t.scheduler ? t.scheduler() : t.run());
}
const bb = /* @__PURE__ */ _n("__proto__,__v_isRef,__isVue"), W2 = new Set(
/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((t) => t !== "arguments" && t !== "caller").map((t) => Symbol[t]).filter(br)
), fb = /* @__PURE__ */ Jl(), mb = /* @__PURE__ */ Jl(!1, !0), hb = /* @__PURE__ */ Jl(!0), pb = /* @__PURE__ */ Jl(!0, !0), Ps = /* @__PURE__ */ xb();
function xb() {
const t = {};
return ["includes", "indexOf", "lastIndexOf"].forEach((e) => {
t[e] = function(...o) {
const n = Le(this);
for (let l = 0, c = this.length; l < c; l++)
Dt(n, "get", l + "");
const r = n[e](...o);
return r === -1 || r === !1 ? n[e](...o.map(Le)) : r;
};
}), ["push", "pop", "shift", "unshift", "splice"].forEach((e) => {
t[e] = function(...o) {
En();
const n = Le(this)[e].apply(this, o);
return Tn(), n;
};
}), t;
}
function Jl(t = !1, e = !1) {
return function(o, n, r) {
if (n === "__v_isReactive")
return !t;
if (n === "__v_isReadonly")
return t;
if (n === "__v_isShallow")
return e;
if (n === "__v_raw" && r === (t ? e ? td : ed : e ? J2 : Q2).get(o))
return o;
const l = W(o);
if (!t && l && Ie(Ps, n))
return Reflect.get(Ps, n, r);
const c = Reflect.get(o, n, r);
return (br(n) ? W2.has(n) : bb(n)) || (t || Dt(o, "get", n), e) ? c : mt(c) ? l && v1(n) ? c : c.value : Te(c) ? t ? _1(c) : S0(c) : c;
};
}
const zb = /* @__PURE__ */ K2(), kb = /* @__PURE__ */ K2(!0);
function K2(t = !1) {
return function(e, o, n, r) {
let l = e[o];
if (Ho(l) && mt(l) && !mt(n))
return !1;
if (!t && (!fr(n) && !Ho(n) && (l = Le(l), n = Le(n)), !W(e) && mt(l) && !mt(n)))
return l.value = n, !0;
const c = W(e) && v1(o) ? Number(o) < e.length : Ie(e, o), a = Reflect.set(e, o, n, r);
return e === Le(r) && (c ? xn(n, l) && T0(e, "set", o, n) : T0(e, "add", o, n)), a;
};
}
function yb(t, e) {
const o = Ie(t, e);
t[e];
const n = Reflect.deleteProperty(t, e);
return n && o && T0(t, "delete", e, void 0), n;
}
function vb(t, e) {
const o = Reflect.has(t, e);
return (!br(e) || !W2.has(e)) && Dt(t, "has", e), o;
}
function wb(t) {
return Dt(t, "iterate", W(t) ? "length" : Io), Reflect.ownKeys(t);
}
const Y2 = {
get: fb,
set: zb,
deleteProperty: yb,
has: vb,
ownKeys: wb
}, X2 = {
get: hb,
set(t, e) {
return !0;
},
deleteProperty(t, e) {
return !0;
}
}, Lb = /* @__PURE__ */ Re({}, Y2, {
get: mb,
set: kb
}), Cb = /* @__PURE__ */ Re({}, X2, {
get: pb
}), C1 = (t) => t, ec = (t) => Reflect.getPrototypeOf(t);
function el(t, e, o = !1, n = !1) {
t = t.__v_raw;
const r = Le(t), l = Le(e);
o || (e !== l && Dt(r, "get", e), Dt(r, "get", l));
const { has: c } = ec(r), a = n ? C1 : o ? S1 : mr;
if (c.call(r, e))
return a(t.get(e));
if (c.call(r, l))
return a(t.get(l));
t !== r && t.get(e);
}
function tl(t, e = !1) {
const o = this.__v_raw, n = Le(o), r = Le(t);
return e || (t !== r && Dt(n, "has", t), Dt(n, "has", r)), t === r ? o.has(t) : o.has(t) || o.has(r);
}
function ol(t, e = !1) {
return t = t.__v_raw, !e && Dt(Le(t), "iterate", Io), Reflect.get(t, "size", t);
}
function Fs(t) {
t = Le(t);
const e = Le(this);
return ec(e).has.call(e, t) || (e.add(t), T0(e, "add", t, t)), this;
}
function Ds(t, e) {
e = Le(e);
const o = Le(this), { has: n, get: r } = ec(o);
let l = n.call(o, t);
l || (t = Le(t), l = n.call(o, t));
const c = r.call(o, t);
return o.set(t, e), l ? xn(e, c) && T0(o, "set", t, e) : T0(o, "add", t, e), this;
}
function Bs(t) {
const e = Le(this), { has: o, get: n } = ec(e);
let r = o.call(e, t);
r || (t = Le(t), r = o.call(e, t)), n && n.call(e, t);
const l = e.delete(t);
return r && T0(e, "delete", t, void 0), l;
}
function Hs() {
const t = Le(this), e = t.size !== 0, o = t.clear();
return e && T0(t, "clear", void 0, void 0), o;
}
function nl(t, e) {
return function(o, n) {
const r = this, l = r.__v_raw, c = Le(l), a = e ? C1 : t ? S1 : mr;
return !t && Dt(c, "iterate", Io), l.forEach((i, s) => o.call(n, a(i), a(s), r));
};
}
function rl(t, e, o) {
return function(...n) {
const r = this.__v_raw, l = Le(r), c = cn(l), a = t === "entries" || t === Symbol.iterator && c, i = t === "keys" && c, s = r[t](...n), u = o ? C1 : e ? S1 : mr;
return !e && Dt(l, "iterate", i ? La : Io), {
next() {
const { value: d, done: b } = s.next();
return b ? { value: d, done: b } : {
value: a ? [u(d[0]), u(d[1])] : u(d),
done: b
};
},
[Symbol.iterator]() {
return this;
}
};
};
}
function J0(t) {
return function(...e) {
return t === "delete" ? !1 : this;
};
}
function _b() {
const t = {
get(r) {
return el(this, r);
},
get size() {
return ol(this);
},
has: tl,
add: Fs,
set: Ds,
delete: Bs,
clear: Hs,
forEach: nl(!1, !1)
}, e = {
get(r) {
return el(this, r, !1, !0);
},
get size() {
return ol(this);
},
has: tl,
add: Fs,
set: Ds,
delete: Bs,
clear: Hs,
forEach: nl(!1, !0)
}, o = {
get(r) {
return el(this, r, !0);
},
get size() {
return ol(this, !0);
},
has(r) {
return tl.call(this, r, !0);
},
add: J0("add"),
set: J0("set"),
delete: J0("delete"),
clear: J0("clear"),
forEach: nl(!0, !1)
}, n = {
get(r) {
return el(this, r, !0, !0);
},
get size() {
return ol(this, !0);
},
has(r) {
return tl.call(this, r, !0);
},
add: J0("add"),
set: J0("set"),
delete: J0("delete"),
clear: J0("clear"),
forEach: nl(!0, !0)
};
return ["keys", "values", "entries", Symbol.iterator].forEach((r) => {
t[r] = rl(r, !1, !1), o[r] = rl(r, !0, !1), e[r] = rl(r, !1, !0), n[r] = rl(r, !0, !0);
}), [
t,
o,
e,
n
];
}
const [Eb, Tb, Sb, Ab] = /* @__PURE__ */ _b();
function tc(t, e) {
const o = e ? t ? Ab : Sb : t ? Tb : Eb;
return (n, r, l) => r === "__v_isReactive" ? !t : r === "__v_isReadonly" ? t : r === "__v_raw" ? n : Reflect.get(Ie(o, r) && r in n ? o : n, r, l);
}
const Rb = {
get: /* @__PURE__ */ tc(!1, !1)
}, Ob = {
get: /* @__PURE__ */ tc(!1, !0)
}, Ib = {
get: /* @__PURE__ */ tc(!0, !1)
}, Nb = {
get: /* @__PURE__ */ tc(!0, !0)
}, Q2 = /* @__PURE__ */ new WeakMap(), J2 = /* @__PURE__ */ new WeakMap(), ed = /* @__PURE__ */ new WeakMap(), td = /* @__PURE__ */ new WeakMap();
function Mb(t) {
switch (t) {
case "Object":
case "Array":
return 1;
case "Map":
case "Set":
case "WeakMap":
case "WeakSet":
return 2;
default:
return 0;
}
}
function Pb(t) {
return t.__v_skip || !Object.isExtensible(t) ? 0 : Mb(nb(t));
}
function S0(t) {
return Ho(t) ? t : oc(t, !1, Y2, Rb, Q2);
}
function od(t) {
return oc(t, !1, Lb, Ob, J2);
}
function _1(t) {
return oc(t, !0, X2, Ib, ed);
}
function Fb(t) {
return oc(t, !0, Cb, Nb, td);
}
function oc(t, e, o, n, r) {
if (!Te(t) || t.__v_raw && !(e && t.__v_isReactive))
return t;
const l = r.get(t);
if (l)
return l;
const c = Pb(t);
if (c === 0)
return t;
const a = new Proxy(t, c === 2 ? n : o);
return r.set(t, a), a;
}
function U0(t) {
return Ho(t) ? U0(t.__v_raw) : !!(t && t.__v_isReactive);
}
function Ho(t) {
return !!(t && t.__v_isReadonly);
}
function fr(t) {
return !!(t && t.__v_isShallow);
}
function E1(t) {
return U0(t) || Ho(t);
}
function Le(t) {
const e = t && t.__v_raw;
return e ? Le(e) : t;
}
function T1(t) {
return Tl(t, "__v_skip", !0), t;
}
const mr = (t) => Te(t) ? S0(t) : t, S1 = (t) => Te(t) ? _1(t) : t;
function A1(t) {
uo && u0 && (t = Le(t), Z2(t.dep || (t.dep = L1())));
}
function nc(t, e) {
t = Le(t), t.dep && Ca(t.dep);
}
function mt(t) {
return !!(t && t.__v_isRef === !0);
}
function fe(t) {
return rd(t, !1);
}
function nd(t) {
return rd(t, !0);
}
function rd(t, e) {
return mt(t) ? t : new Db(t, e);
}
class Db {
constructor(e, o) {
this.__v_isShallow = o, this.dep = void 0, this.__v_isRef = !0, this._rawValue = o ? e : Le(e), this._value = o ? e : mr(e);
}
get value() {
return A1(this), this._value;
}
set value(e) {
const o = this.__v_isShallow || fr(e) || Ho(e);
e = o ? e : Le(e), xn(e, this._rawValue) && (this._rawValue = e, this._value = o ? e : mr(e), nc(this));
}
}
function Bb(t) {
nc(t);
}
function ze(t) {
return mt(t) ? t.value : t;
}
const Hb = {
get: (t, e, o) => ze(Reflect.get(t, e, o)),
set: (t, e, o, n) => {
const r = t[e];
return mt(r) && !mt(o) ? (r.value = o, !0) : Reflect.set(t, e, o, n);
}
};
function R1(t) {
return U0(t) ? t : new Proxy(t, Hb);
}
class Ub {
constructor(e) {
this.dep = void 0, this.__v_isRef = !0;
const { get: o, set: n } = e(() => A1(this), () => nc(this));
this._get = o, this._set = n;
}
get value() {
return this._get();
}
set value(e) {
this._set(e);
}
}
function Vb(t) {
return new Ub(t);
}
function O1(t) {
const e = W(t) ? new Array(t.length) : {};
for (const o in t)
e[o] = ld(t, o);
return e;
}
class jb {
constructor(e, o, n) {
this._object = e, this._key = o, this._defaultValue = n, this.__v_isRef = !0;
}
get value() {
const e = this._object[this._key];
return e === void 0 ? this._defaultValue : e;
}
set value(e) {
this._object[this._key] = e;
}
}
function ld(t, e, o) {
const n = t[e];
return mt(n) ? n : new jb(t, e, o);
}
var cd;
class Gb {
constructor(e, o, n, r) {
this._setter = o, this.dep = void 0, this.__v_isRef = !0, this[cd] = !1, this._dirty = !0, this.effect = new Ar(e, () => {
this._dirty || (this._dirty = !0, nc(this));
}), this.effect.computed = this, this.effect.active = this._cacheable = !r, this.__v_isReadonly = n;
}
get value() {
const e = Le(this);
return A1(e), (e._dirty || !e._cacheable) && (e._dirty = !1, e._value = e.effect.run()), e._value;
}
set value(e) {
this._setter(e);
}
}
cd = "__v_isReadonly";
function $b(t, e, o = !1) {
let n, r;
const l = ue(t);
return l ? (n = t, r = Kt) : (n = t.get, r = t.set), new Gb(n, r, l || !r, o);
}
function qb(t, ...e) {
}
function L0(t, e, o, n) {
let r;
try {
r = n ? t(...n) : t();
} catch (l) {
qo(l, e, o);
}
return r;
}
function Ft(t, e, o, n) {
if (ue(t)) {
const l = L0(t, e, o, n);
return l && Xl(l) && l.catch((c) => {
qo(c, e, o);
}), l;
}
const r = [];
for (let l = 0; l < t.length; l++)
r.push(Ft(t[l], e, o, n));
return r;
}
function qo(t, e, o, n = !0) {
const r = e ? e.vnode : null;
if (e) {
let l = e.parent;
const c = e.proxy, a = o;
for (; l; ) {
const s = l.ec;
if (s) {
for (let u = 0; u < s.length; u++)
if (s[u](t, c, a) === !1)
return;
}
l = l.parent;
}
const i = e.appContext.config.errorHandler;
if (i) {
L0(i, null, 10, [t, c, a]);
return;
}
}
Zb(t, o, r, n);
}
function Zb(t, e, o, n = !0) {
console.error(t);
}
let hr = !1, _a = !1;
const vt = [];
let k0 = 0;
const un = [];
let D0 = null, Eo = 0;
const ad = /* @__PURE__ */ Promise.resolve();
let I1 = null;
function ho(t) {
const e = I1 || ad;
return t ? e.then(this ? t.bind(this) : t) : e;
}
function Wb(t) {
let e = k0 + 1, o = vt.length;
for (; e < o; ) {
const n = e + o >>> 1;
pr(vt[n]) < t ? e = n + 1 : o = n;
}
return e;
}
function rc(t) {
(!vt.length || !vt.includes(t, hr && t.allowRecurse ? k0 + 1 : k0)) && (t.id == null ? vt.push(t) : vt.splice(Wb(t.id), 0, t), id());
}
function id() {
!hr && !_a && (_a = !0, I1 = ad.then(sd));
}
function Kb(t) {
const e = vt.indexOf(t);
e > k0 && vt.splice(e, 1);
}
function N1(t) {
W(t) ? un.push(...t) : (!D0 || !D0.includes(t, t.allowRecurse ? Eo + 1 : Eo)) && un.push(t), id();
}
function Us(t, e = hr ? k0 + 1 : 0) {
for (; e < vt.length; e++) {
const o = vt[e];
o && o.pre && (vt.splice(e, 1), e--, o());
}
}
function Sl(t) {
if (un.length) {
const e = [...new Set(un)];
if (un.length = 0, D0) {
D0.push(...e);
return;
}
for (D0 = e, D0.sort((o, n) => pr(o) - pr(n)), Eo = 0; Eo < D0.length; Eo++)
D0[Eo]();
D0 = null, Eo = 0;
}
}
const pr = (t) => t.id == null ? 1 / 0 : t.id, Yb = (t, e) => {
const o = pr(t) - pr(e);
if (o === 0) {
if (t.pre && !e.pre)
return -1;
if (e.pre && !t.pre)
return 1;
}
return o;
};
function sd(t) {
_a = !1, hr = !0, vt.sort(Yb);
try {
for (k0 = 0; k0 < vt.length; k0++) {
const e = vt[k0];
e && e.active !== !1 && L0(e, null, 14);
}
} finally {
k0 = 0, vt.length = 0, Sl(), hr = !1, I1 = null, (vt.length || un.length) && sd();
}
}
let nn, ll = [];
function ud(t, e) {
var o, n;
nn = t, nn ? (nn.enabled = !0, ll.forEach(({ event: r, args: l }) => nn.emit(r, ...l)), ll = []) : typeof window < "u" && window.HTMLElement && !(!((n = (o = window.navigator) === null || o === void 0 ? void 0 : o.userAgent) === null || n === void 0) && n.includes("jsdom")) ? ((e.__VUE_DEVTOOLS_HOOK_REPLAY__ = e.__VUE_DEVTOOLS_HOOK_REPLAY__ || []).push((r) => {
ud(r, e);
}), setTimeout(() => {
nn || (e.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, ll = []);
}, 3e3)) : ll = [];
}
function Xb(t, e, ...o) {
}
const M1 = {
MODE: 2
};
function Qb(t) {
Re(M1, t);
}
function Vs(t, e) {
const o = e && e.type.compatConfig;
return o && t in o ? o[t] : M1[t];
}
function Ue(t, e, o = !1) {
if (!o && e && e.type.__isBuiltIn)
return !1;
const n = Vs("MODE", e) || 2, r = Vs(t, e);
return (ue(n) ? n(e && e.type) : n) === 2 ? r !== !1 : r === !0 || r === "suppress-warning";
}
function xt(t, e, ...o) {
if (!Ue(t, e))
throw new Error(`${t} compat has been disabled.`);
}
function q0(t, e, ...o) {
return Ue(t, e);
}
function lc(t, e, ...o) {
return Ue(t, e);
}
const Ea = /* @__PURE__ */ new WeakMap();
function P1(t) {
let e = Ea.get(t);
return e || Ea.set(t, e = /* @__PURE__ */ Object.create(null)), e;
}
function F1(t, e, o) {
if (W(e))
e.forEach((n) => F1(t, n, o));
else {
e.startsWith("hook:") ? xt("INSTANCE_EVENT_HOOKS", t, e) : xt("INSTANCE_EVENT_EMITTER", t);
const n = P1(t);
(n[e] || (n[e] = [])).push(o);
}
return t.proxy;
}
function Jb(t, e, o) {
const n = (...r) => {
D1(t, e, n), o.call(t.proxy, ...r);
};
return n.fn = o, F1(t, e, n), t.proxy;
}
function D1(t, e, o) {
xt("INSTANCE_EVENT_EMITTER", t);
const n = t.proxy;
if (!e)
return Ea.set(t, /* @__PURE__ */ Object.create(null)), n;
if (W(e))
return e.forEach((c) => D1(t, c, o)), n;
const r = P1(t), l = r[e];
return l ? o ? (r[e] = l.filter((c) => !(c === o || c.fn === o)), n) : (r[e] = void 0, n) : n;
}
function ef(t, e, o) {
const n = P1(t)[e];
return n && Ft(n.map((r) => r.bind(t.proxy)), t, 6, o), t.proxy;
}
const cc = "onModelCompat:";
function tf(t) {
const { type: e, shapeFlag: o, props: n, dynamicProps: r } = t, l = e;
if (o & 6 && n && "modelValue" in n) {
if (!Ue(
"COMPONENT_V_MODEL",
{ type: e }
))
return;
const c = l.model || {};
dd(c, l.mixins);
const { prop: a = "value", event: i = "input" } = c;
a !== "modelValue" && (n[a] = n.modelValue, delete n.modelValue), r && (r[r.indexOf("modelValue")] = a), n[cc + i] = n["onUpdate:modelValue"], delete n["onUpdate:modelValue"];
}
}
function dd(t, e) {
e && e.forEach((o) => {
o.model && Re(t, o.model), o.mixins && dd(t, o.mixins);
});
}
function of(t, e, o) {
if (!Ue("COMPONENT_V_MODEL", t))
return;
const n = t.vnode.props, r = n && n[cc + e];
r && L0(r, t, 6, o);
}
function nf(t, e, ...o) {
if (t.isUnmounted)
return;
const n = t.vnode.props || Ge;
let r = o;
const l = e.startsWith("update:"), c = l && e.slice(7);
if (c && c in n) {
const u = `${c === "modelValue" ? "model" : c}Modifiers`, { number: d, trim: b } = n[u] || Ge;
b && (r = o.map((f) => Ye(f) ? f.trim() : f)), d && (r = o.map(E0));
}
let a, i = n[a = sn(e)] || n[a = sn(At(e))];
!i && l && (i = n[a = sn(Et(e))]), i && Ft(i, t, 6, r);
const s = n[a + "Once"];
if (s) {
if (!t.emitted)
t.emitted = {};
else if (t.emitted[a])
return;
t.emitted[a] = !0, Ft(s, t, 6, r);
}
return of(t, e, r), ef(t, e, r);
}
function gd(t, e, o = !1) {
const n = e.emitsCache, r = n.get(t);
if (r !== void 0)
return r;
const l = t.emits;
let c = {}, a = !1;
if (!ue(t)) {
const i = (s) => {
const u = gd(s, e, !0);
u && (a = !0, Re(c, u));
};
!o && e.mixins.length && e.mixins.forEach(i), t.extends && i(t.extends), t.mixins && t.mixins.forEach(i);
}
return !l && !a ? (Te(t) && n.set(t, null), null) : (W(l) ? l.forEach((i) => c[i] = null) : Re(c, l), Te(t) && n.set(t, c), c);
}
function ac(t, e) {
return !t || !Y0(e) ? !1 : e.startsWith(cc) ? !0 : (e = e.slice(2).replace(/Once$/, ""), Ie(t, e[0].toLowerCase() + e.slice(1)) || Ie(t, Et(e)) || Ie(t, e));
}
let it = null, dn = null;
function xr(t) {
const e = it;
return it = t, dn = t && t.type.__scopeId || null, dn || (dn = t && t.type._scopeId || null), e;
}
function Sn(t) {
dn = t;
}
function An() {
dn = null;
}
const rf = (t) => Gt;
function Gt(t, e = it, o) {
if (!e || t._n)
return t;
const n = (...r) => {
n._d && Na(-1);
const l = xr(e);
let c;
try {
c = t(...r);
} finally {
xr(l), n._d && Na(1);
}
return c;
};
return n._n = !0, n._c = !0, n._d = !0, o && (n._ns = !0), n;
}
function vl(t) {
const { type: e, vnode: o, proxy: n, withProxy: r, props: l, propsOptions: [c], slots: a, attrs: i, emit: s, render: u, renderCache: d, data: b, setupState: f, ctx: m, inheritAttrs: x } = t;
let _, z;
const p = xr(t);
try {
if (o.shapeFlag & 4) {
const C = r || n;
_ = qt(u.call(C, C, d, l, f, b, m)), z = i;
} else {
const C = e;
_ = qt(C.length > 1 ? C(l, { attrs: i, slots: a, emit: s }) : C(l, null)), z = e.props ? i : cf(i);
}
} catch (C) {
or.length = 0, qo(C, t, 1), _ = V(zt);
}
let y = _;
if (z && x !== !1) {
const C = Object.keys(z), { shapeFlag: O } = y;
C.length && O & 7 && (c && C.some(k1) && (z = af(z, c)), y = a0(y, z));
}
if (Ue("INSTANCE_ATTRS_CLASS_STYLE", t) && o.shapeFlag & 4 && y.shapeFlag & 7) {
const { class: C, style: O } = o.props || {};
(C || O) && (y = a0(y, {
class: C,
style: O
}));
}
return o.dirs && (y = a0(y), y.dirs = y.dirs ? y.dirs.concat(o.dirs) : o.dirs), o.transition && (y.transition = o.transition), _ = y, xr(p), _;
}
function lf(t) {
let e;
for (let o = 0; o < t.length; o++) {
const n = t[o];
if (Jt(n)) {
if (n.type !== zt || n.children === "v-if") {
if (e)
return;
e = n;
}
} else
return;
}
return e;
}
const cf = (t) => {
let e;
for (const o in t)
(o === "class" || o === "style" || Y0(o)) && ((e || (e = {}))[o] = t[o]);
return e;
}, af = (t, e) => {
const o = {};
for (const n in t)
(!k1(n) || !(n.slice(9) in e)) && (o[n] = t[n]);
return o;
};
function sf(t, e, o) {
const { props: n, children: r, component: l } = t, { props: c, children: a, patchFlag: i } = e, s = l.emitsOptions;
if (e.dirs || e.transition)
return !0;
if (o && i >= 0) {
if (i & 1024)
return !0;
if (i & 16)
return n ? js(n, c, s) : !!c;
if (i & 8) {
const u = e.dynamicProps;
for (let d = 0; d < u.length; d++) {
const b = u[d];
if (c[b] !== n[b] && !ac(s, b))
return !0;
}
}
} else
return (r || a) && (!a || !a.$stable) ? !0 : n === c ? !1 : n ? c ? js(n, c, s) : !0 : !!c;
return !1;
}
function js(t, e, o) {
const n = Object.keys(e);
if (n.length !== Object.keys(t).length)
return !0;
for (let r = 0; r < n.length; r++) {
const l = n[r];
if (e[l] !== t[l] && !ac(o, l))
return !0;
}
return !1;
}
function B1({ vnode: t, parent: e }, o) {
for (; e && e.subTree === t; )
(t = e.vnode).el = o, e = e.parent;
}
const bd = (t) => t.__isSuspense, uf = {
name: "Suspense",
__isSuspense: !0,
process(t, e, o, n, r, l, c, a, i, s) {
t == null ? gf(e, o, n, r, l, c, a, i, s) : bf(t, e, o, n, r, c, a, i, s);
},
hydrate: ff,
create: H1,
normalize: mf
}, df = uf;
function zr(t, e) {
const o = t.props && t.props[e];
ue(o) && o();
}
function gf(t, e, o, n, r, l, c, a, i) {
const { p: s, o: { createElement: u } } = i, d = u("div"), b = t.suspense = H1(t, r, n, e, d, o, l, c, a, i);
s(null, b.pendingBranch = t.ssContent, d, null, n, b, l, c), b.deps > 0 ? (zr(t, "onPending"), zr(t, "onFallback"), s(
null,
t.ssFallback,
e,
o,
n,
null,
l,
c
), gn(b, t.ssFallback)) : b.resolve();
}
function bf(t, e, o, n, r, l, c, a, { p: i, um: s, o: { createElement: u } }) {
const d = e.suspense = t.suspense;
d.vnode = e, e.el = t.el;
const b = e.ssContent, f = e.ssFallback, { activeBranch: m, pendingBranch: x, isInFallback: _, isHydrating: z } = d;
if (x)
d.pendingBranch = b, y0(b, x) ? (i(x, b, d.hiddenContainer, null, r, d, l, c, a), d.deps <= 0 ? d.resolve() : _ && (i(
m,
f,
o,
n,
r,
null,
l,
c,
a
), gn(d, f))) : (d.pendingId++, z ? (d.isHydrating = !1, d.activeBranch = x) : s(x, r, d), d.deps = 0, d.effects.length = 0, d.hiddenContainer = u("div"), _ ? (i(null, b, d.hiddenContainer, null, r, d, l, c, a), d.deps <= 0 ? d.resolve() : (i(
m,
f,
o,
n,
r,
null,
l,
c,
a
), gn(d, f))) : m && y0(b, m) ? (i(m, b, o, n, r, d, l, c, a), d.resolve(!0)) : (i(null, b, d.hiddenContainer, null, r, d, l, c, a), d.deps <= 0 && d.resolve()));
else if (m && y0(b, m))
i(m, b, o, n, r, d, l, c, a), gn(d, b);
else if (zr(e, "onPending"), d.pendingBranch = b, d.pendingId++, i(null, b, d.hiddenContainer, null, r, d, l, c, a), d.deps <= 0)
d.resolve();
else {
const { timeout: p, pendingId: y } = d;
p > 0 ? setTimeout(() => {
d.pendingId === y && d.fallback(f);
}, p) : p === 0 && d.fallback(f);
}
}
function H1(t, e, o, n, r, l, c, a, i, s, u = !1) {
const { p: d, m: b, um: f, n: m, o: { parentNode: x, remove: _ } } = s, z = E0(t.props && t.props.timeout), p = {
vnode: t,
parent: e,
parentComponent: o,
isSVG: c,
container: n,
hiddenContainer: r,
anchor: l,
deps: 0,
pendingId: 0,
timeout: typeof z == "number" ? z : -1,
activeBranch: null,
pendingBranch: null,
isInFallback: !0,
isHydrating: u,
isUnmounted: !1,
effects: [],
resolve(y = !1) {
const { vnode: C, activeBranch: O, pendingBranch: D, pendingId: K, effects: A, parentComponent: ae, container: ce } = p;
if (p.isHydrating)
p.isHydrating = !1;
else if (!y) {
const pe = O && D.transition && D.transition.mode === "out-in";
pe && (O.transition.afterLeave = () => {
K === p.pendingId && b(D, ce, ne, 0);
});
let { anchor: ne } = p;
O && (ne = m(O), f(O, ae, p, !0)), pe || b(D, ce, ne, 0);
}
gn(p, D), p.pendingBranch = null, p.isInFallback = !1;
let de = p.parent, Be = !1;
for (; de; ) {
if (de.pendingBranch) {
de.effects.push(...A), Be = !0;
break;
}
de = de.parent;
}
Be || N1(A), p.effects = [], zr(C, "onResolve");
},
fallback(y) {
if (!p.pendingBranch)
return;
const { vnode: C, activeBranch: O, parentComponent: D, container: K, isSVG: A } = p;
zr(C, "onFallback");
const ae = m(O), ce = () => {
!p.isInFallback || (d(
null,
y,
K,
ae,
D,
null,
A,
a,
i
), gn(p, y));
}, de = y.transition && y.transition.mode === "out-in";
de && (O.transition.afterLeave = ce), p.isInFallback = !0, f(
O,
D,
null,
!0
), de || ce();
},
move(y, C, O) {
p.activeBranch && b(p.activeBranch, y, C, O), p.container = y;
},
next() {
return p.activeBranch && m(p.activeBranch);
},
registerDep(y, C) {
const O = !!p.pendingBranch;
O && p.deps++;
const D = y.vnode.el;
y.asyncDep.catch((K) => {
qo(K, y, 0);
}).then((K) => {
if (y.isUnmounted || p.isUnmounted || p.pendingId !== y.suspenseId)
return;
y.asyncResolved = !0;
const { vnode: A } = y;
Ma(y, K, !1), D && (A.el = D);
const ae = !D && y.subTree.el;
C(
y,
A,
x(D || y.subTree.el),
D ? null : m(y.subTree),
p,
c,
i
), ae && _(ae), B1(y, A.el), O && --p.deps === 0 && p.resolve();
});
},
unmount(y, C) {
p.isUnmounted = !0, p.activeBranch && f(p.activeBranch, o, y, C), p.pendingBranch && f(p.pendingBranch, o, y, C);
}
};
return p;
}
function ff(t, e, o, n, r, l, c, a, i) {
const s = e.suspense = H1(e, n, o, t.parentNode, document.createElement("div"), null, r, l, c, a, !0), u = i(t, s.pendingBranch = e.ssContent, o, s, l, c);
return s.deps === 0 && s.resolve(), u;
}
function mf(t) {
const { shapeFlag: e, children: o } = t, n = e & 32;
t.ssContent = Gs(n ? o.default : o), t.ssFallback = n ? Gs(o.fallback) : V(zt);
}
function Gs(t) {
let e;
if (ue(t)) {
const o = jo && t._c;
o && (t._d = !1, S()), t = t(), o && (t._d = !0, e = Pt, n5());
}
return W(t) && (t = lf(t)), t = qt(t), e && !t.dynamicChildren && (t.dynamicChildren = e.filter((o) => o !== t)), t;
}
function fd(t, e) {
e && e.pendingBranch ? W(t) ? e.effects.push(...t) : e.effects.push(t) : N1(t);
}
function gn(t, e) {
t.activeBranch = e;
const { vnode: o, parentComponent: n } = t, r = o.el = e.el;
n && n.subTree === o && (n.vnode.el = r, B1(n, r));
}
function Bt(t, e) {
if (gt) {
let o = gt.provides;
const n = gt.parent && gt.parent.provides;
n === o && (o = gt.provides = Object.create(n)), o[t] = e;
}
}
function lt(t, e, o = !1) {
const n = gt || it;
if (n) {
const r = n.parent == null ? n.vnode.appContext && n.vnode.appContext.provides : n.parent.provides;
if (r && t in r)
return r[t];
if (arguments.length > 1)
return o && ue(e) ? e.call(n.proxy) : e;
}
}
function Qt(t, e) {
return Rr(t, null, e);
}
function md(t, e) {
return Rr(t, null, { flush: "post" });
}
function hf(t, e) {
return Rr(t, null, { flush: "sync" });
}
const cl = {};
function Yt(t, e, o) {
return Rr(t, e, o);
}
function Rr(t, e, { immediate: o, deep: n, flush: r, onTrack: l, onTrigger: c } = Ge) {
const a = gt;
let i, s = !1, u = !1;
if (mt(t) ? (i = () => t.value, s = fr(t)) : U0(t) ? (i = () => t, n = !0) : W(t) ? (u = !0, s = t.some((y) => U0(y) || fr(y)), i = () => t.map((y) => {
if (mt(y))
return y.value;
if (U0(y))
return lo(y);
if (ue(y))
return L0(y, a, 2);
})) : ue(t) ? e ? i = () => L0(t, a, 2) : i = () => {
if (!(a && a.isUnmounted))
return d && d(), Ft(t, a, 3, [b]);
} : i = Kt, e && !n) {
const y = i;
i = () => {
const C = y();
return W(C) && lc("WATCH_ARRAY", a) && lo(C), C;
};
}
if (e && n) {
const y = i;
i = () => lo(y());
}
let d, b = (y) => {
d = z.onStop = () => {
L0(y, a, 4);
};
}, f;
if (kn)
if (b = Kt, e ? o && Ft(e, a, 3, [
i(),
u ? [] : void 0,
b
]) : i(), r === "sync") {
const y = d5();
f = y.__watcherHandles || (y.__watcherHandles = []);
} else
return Kt;
let m = u ? new Array(t.length).fill(cl) : cl;
const x = () => {
if (z.active)
if (e) {
const y = z.run();
(n || s || (u ? y.some((C, O) => xn(C, m[O])) : xn(y, m)) || W(y) && Ue("WATCH_ARRAY", a)) && (d && d(), Ft(e, a, 3, [
y,
m === cl ? void 0 : u && m[0] === cl ? [] : m,
b
]), m = y);
} else
z.run();
};
x.allowRecurse = !!e;
let _;
r === "sync" ? _ = x : r === "post" ? _ = () => ct(x, a && a.suspense) : (x.pre = !0, a && (x.id = a.uid), _ = () => rc(x));
const z = new Ar(i, _);
e ? o ? x() : m = z.run() : r === "post" ? ct(z.run.bind(z), a && a.suspense) : z.run();
const p = () => {
z.stop(), a && a.scope && y1(a.scope.effects, z);
};
return f && f.push(p), p;
}
function pf(t, e, o) {
const n = this.proxy, r = Ye(t) ? t.includes(".") ? hd(n, t) : () => n[t] : t.bind(n, n);
let l;
ue(e) ? l = e : (l = e.handler, o = e);
const c = gt;
po(this);
const a = Rr(r, l.bind(n), o);
return c ? po(c) : go(), a;
}
function hd(t, e) {
const o = e.split(".");
return () => {
let n = t;
for (let r = 0; r < o.length && n; r++)
n = n[o[r]];
return n;
};
}
function lo(t, e) {
if (!Te(t) || t.__v_skip || (e = e || /* @__PURE__ */ new Set(), e.has(t)))
return t;
if (e.add(t), mt(t))
lo(t.value, e);
else if (W(t))
for (let o = 0; o < t.length; o++)
lo(t[o], e);
else if ($o(t) || cn(t))
t.forEach((o) => {
lo(o, e);
});
else if (El(t))
for (const o in t)
lo(t[o], e);
return t;
}
function U1() {
const t = {
isMounted: !1,
isLeaving: !1,
isUnmounting: !1,
leavingVNodes: /* @__PURE__ */ new Map()
};
return Ze(() => {
t.isMounted = !0;
}), kr(() => {
t.isUnmounting = !0;
}), t;
}
const n0 = [Function, Array], pd = {
name: "BaseTransition",
props: {
mode: String,
appear: Boolean,
persisted: Boolean,
onBeforeEnter: n0,
onEnter: n0,
onAfterEnter: n0,
onEnterCancelled: n0,
onBeforeLeave: n0,
onLeave: n0,
onAfterLeave: n0,
onLeaveCancelled: n0,
onBeforeAppear: n0,
onAppear: n0,
onAfterAppear: n0,
onAppearCancelled: n0
},
setup(t, { slots: e }) {
const o = N0(), n = U1();
let r;
return () => {
const l = e.default && ic(e.default(), !0);
if (!l || !l.length)
return;
let c = l[0];
if (l.length > 1) {
for (const x of l)
if (x.type !== zt) {
c = x;
break;
}
}
const a = Le(t), { mode: i } = a;
if (n.isLeaving)
return Zc(c);
const s = $s(c);
if (!s)
return Zc(c);
const u = zn(s, a, n, o);
Uo(s, u);
const d = o.subTree, b = d && $s(d);
let f = !1;
const { getTransitionKey: m }