@mermaid-js/mermaid-zenuml
Version:
MermaidJS plugin for ZenUML integration
1,768 lines • 1.45 MB
JavaScript
const warning = (s) => {
console.error("Log function was called before initialization", s);
};
const log = {
trace: warning,
debug: warning,
info: warning,
warn: warning,
error: warning,
fatal: warning
};
let getConfig;
const injectUtils = (_log, _setLogLevel, _getConfig, _sanitizeText, _setupGraphViewbox) => {
_log.info("Mermaid utils injected");
log.trace = _log.trace;
log.debug = _log.debug;
log.info = _log.info;
log.warn = _log.warn;
log.error = _log.error;
log.fatal = _log.fatal;
getConfig = _getConfig;
};
const parser = {
parser: { yy: {} },
parse: () => {
}
};
var v6 = Object.defineProperty;
var b6 = (t, e, n) => e in t ? v6(t, e, { enumerable: true, configurable: true, writable: true, value: n }) : t[e] = n;
var W = (t, e, n) => (b6(t, typeof e != "symbol" ? e + "" : e, n), n);
var Y0 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
function w6(t) {
try {
return JSON.stringify(t);
} catch {
return '"[Circular]"';
}
}
var E6 = T6;
function T6(t, e, n) {
var r = n && n.stringify || w6, s = 1;
if (typeof t == "object" && t !== null) {
var i = e.length + s;
if (i === 1)
return t;
var o = new Array(i);
o[0] = r(t);
for (var l = 1; l < i; l++)
o[l] = r(e[l]);
return o.join(" ");
}
if (typeof t != "string")
return t;
var a = e.length;
if (a === 0)
return t;
for (var c = "", u = 1 - s, h = -1, d = t && t.length || 0, p = 0; p < d; ) {
if (t.charCodeAt(p) === 37 && p + 1 < d) {
switch (h = h > -1 ? h : 0, t.charCodeAt(p + 1)) {
case 100:
case 102:
if (u >= a || e[u] == null)
break;
h < p && (c += t.slice(h, p)), c += Number(e[u]), h = p + 2, p++;
break;
case 105:
if (u >= a || e[u] == null)
break;
h < p && (c += t.slice(h, p)), c += Math.floor(Number(e[u])), h = p + 2, p++;
break;
case 79:
case 111:
case 106:
if (u >= a || e[u] === void 0)
break;
h < p && (c += t.slice(h, p));
var g = typeof e[u];
if (g === "string") {
c += "'" + e[u] + "'", h = p + 2, p++;
break;
}
if (g === "function") {
c += e[u].name || "<anonymous>", h = p + 2, p++;
break;
}
c += r(e[u]), h = p + 2, p++;
break;
case 115:
if (u >= a)
break;
h < p && (c += t.slice(h, p)), c += String(e[u]), h = p + 2, p++;
break;
case 37:
h < p && (c += t.slice(h, p)), c += "%", h = p + 2, p++, u--;
break;
}
++u;
}
++p;
}
return h === -1 ? t : (h < d && (c += t.slice(h)), c);
}
const kc = E6;
var S6 = wn;
const a0 = D6().console || {}, A6 = {
mapHttpRequest: X0,
mapHttpResponse: X0,
wrapRequestSerializer: z1,
wrapResponseSerializer: z1,
wrapErrorSerializer: z1,
req: X0,
res: X0,
err: M6
};
function k6(t, e) {
return Array.isArray(t) ? t.filter(function(r) {
return r !== "!stdSerializers.err";
}) : t === true ? Object.keys(e) : false;
}
function wn(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 n = t.browser.write || a0;
t.browser.write && (t.browser.asObject = true);
const r = t.serializers || {}, s = k6(t.browser.serialize, r);
let i = t.browser.serialize;
Array.isArray(t.browser.serialize) && t.browser.serialize.indexOf("!stdSerializers.err") > -1 && (i = false);
const o = ["error", "fatal", "warn", "info", "debug", "trace"];
typeof n == "function" && (n.error = n.fatal = n.warn = n.info = n.debug = n.trace = n), (t.enabled === false || t.browser.disabled) && (t.level = "silent");
const l = t.level || "info", a = Object.create(n);
a.log || (a.log = c0), Object.defineProperty(a, "levelVal", {
get: u
}), Object.defineProperty(a, "level", {
get: h,
set: d
});
const c = {
transmit: e,
serialize: s,
asObject: t.browser.asObject,
levels: o,
timestamp: N6(t)
};
a.levels = wn.levels, a.level = l, a.setMaxListeners = a.getMaxListeners = a.emit = a.addListener = a.on = a.prependListener = a.once = a.prependOnceListener = a.removeListener = a.removeAllListeners = a.listeners = a.listenerCount = a.eventNames = a.write = a.flush = c0, a.serializers = r, a._serialize = s, a._stdErrSerialize = i, a.child = p, e && (a._logEvent = _o());
function u() {
return this.level === "silent" ? 1 / 0 : this.levels.values[this.level];
}
function h() {
return this._level;
}
function d(g) {
if (g !== "silent" && !this.levels.values[g])
throw Error("unknown level " + g);
this._level = g, Yr(c, a, "error", "log"), Yr(c, a, "fatal", "error"), Yr(c, a, "warn", "error"), Yr(c, a, "info", "log"), Yr(c, a, "debug", "log"), Yr(c, a, "trace", "log");
}
function p(g, L) {
if (!g)
throw new Error("missing bindings for child Pino");
L = L || {}, s && g.serializers && (L.serializers = g.serializers);
const T = L.serializers;
if (s && T) {
var _ = Object.assign({}, r, T), x = t.browser.serialize === true ? Object.keys(_) : s;
delete g.serializers, qi([g], x, _, this._stdErrSerialize);
}
function C(E) {
this._childLevel = (E._childLevel | 0) + 1, this.error = Xr(E, g, "error"), this.fatal = Xr(E, g, "fatal"), this.warn = Xr(E, g, "warn"), this.info = Xr(E, g, "info"), this.debug = Xr(E, g, "debug"), this.trace = Xr(E, g, "trace"), _ && (this.serializers = _, this._serialize = x), e && (this._logEvent = _o(
[].concat(E._logEvent.bindings, g)
));
}
return C.prototype = this, new C(this);
}
return a;
}
wn.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"
}
};
wn.stdSerializers = A6;
wn.stdTimeFunctions = Object.assign({}, { nullTime: Mu, epochTime: Nu, unixTime: P6, isoTime: F6 });
function Yr(t, e, n, r) {
const s = Object.getPrototypeOf(e);
e[n] = e.levelVal > e.levels.values[n] ? c0 : s[n] ? s[n] : a0[n] || a0[r] || c0, R6(t, e, n);
}
function R6(t, e, n) {
!t.transmit && e[n] === c0 || (e[n] = function(r) {
return function() {
const i = t.timestamp(), o = new Array(arguments.length), l = Object.getPrototypeOf && Object.getPrototypeOf(this) === a0 ? a0 : this;
for (var a = 0; a < o.length; a++)
o[a] = arguments[a];
if (t.serialize && !t.asObject && qi(o, this._serialize, this.serializers, this._stdErrSerialize), t.asObject ? r.call(l, O6(this, n, o, i)) : r.apply(l, o), t.transmit) {
const c = t.transmit.level || e.level, u = wn.levels.values[c], h = wn.levels.values[n];
if (h < u)
return;
I6(this, {
ts: i,
methodLevel: n,
methodValue: h,
transmitLevel: c,
transmitValue: wn.levels.values[t.transmit.level || e.level],
send: t.transmit.send,
val: e.levelVal
}, o);
}
};
}(e[n]));
}
function O6(t, e, n, r) {
t._serialize && qi(n, t._serialize, t.serializers, t._stdErrSerialize);
const s = n.slice();
let i = s[0];
const o = {};
r && (o.time = r), o.level = wn.levels.values[e];
let l = (t._childLevel | 0) + 1;
if (l < 1 && (l = 1), i !== null && typeof i == "object") {
for (; l-- && typeof s[0] == "object"; )
Object.assign(o, s.shift());
i = s.length ? kc(s.shift(), s) : void 0;
} else
typeof i == "string" && (i = kc(s.shift(), s));
return i !== void 0 && (o.msg = i), o;
}
function qi(t, e, n, r) {
for (const s in t)
if (r && t[s] instanceof Error)
t[s] = wn.stdSerializers.err(t[s]);
else if (typeof t[s] == "object" && !Array.isArray(t[s]))
for (const i in t[s])
e && e.indexOf(i) > -1 && i in n && (t[s][i] = n[i](t[s][i]));
}
function Xr(t, e, n) {
return function() {
const r = new Array(1 + arguments.length);
r[0] = e;
for (var s = 1; s < r.length; s++)
r[s] = arguments[s - 1];
return t[n].apply(this, r);
};
}
function I6(t, e, n) {
const r = e.send, s = e.ts, i = e.methodLevel, o = e.methodValue, l = e.val, a = t._logEvent.bindings;
qi(
n,
t._serialize || Object.keys(t.serializers),
t.serializers,
t._stdErrSerialize === void 0 ? true : t._stdErrSerialize
), t._logEvent.ts = s, t._logEvent.messages = n.filter(function(c) {
return a.indexOf(c) === -1;
}), t._logEvent.level.label = i, t._logEvent.level.value = o, r(i, t._logEvent, l), t._logEvent = _o(a);
}
function _o(t) {
return {
ts: 0,
messages: [],
bindings: t || [],
level: { label: "", value: 0 }
};
}
function M6(t) {
const e = {
type: t.constructor.name,
msg: t.message,
stack: t.stack
};
for (const n in t)
e[n] === void 0 && (e[n] = t[n]);
return e;
}
function N6(t) {
return typeof t.timestamp == "function" ? t.timestamp : t.timestamp === false ? Mu : Nu;
}
function X0() {
return {};
}
function z1(t) {
return t;
}
function c0() {
}
function Mu() {
return false;
}
function Nu() {
return Date.now();
}
function P6() {
return Math.round(Date.now() / 1e3);
}
function F6() {
return new Date(Date.now()).toISOString();
}
function D6() {
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: true
}), globalThis;
} catch {
return t(self) || t(window) || t(this) || {};
}
}
const B6 = S6({
level: "warn"
}), Rc = ["log", "trace", "debug", "info", "warn", "error"];
function $6(t, e) {
t[e] = (console[e] || console.log).bind(console);
}
function H6(t, e, n) {
t[e] = (console[e] || console.log).bind(
console,
n[0],
n[1]
);
}
function U6(t) {
Rc.forEach((n) => $6(t, n));
const e = t.child;
return t.child = function(n) {
const r = e.call(t, n);
return Rc.forEach(
(s) => H6(r, s, ["%c" + n.name || "", "color: #00f"])
), r;
}, t;
}
const b0 = U6(B6);
function ws(t, e) {
const n = /* @__PURE__ */ Object.create(null), r = t.split(",");
for (let s = 0; s < r.length; s++)
n[r[s]] = true;
return e ? (s) => !!n[s.toLowerCase()] : (s) => !!n[s];
}
const V6 = "Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt", z6 = /* @__PURE__ */ ws(V6);
function Ce(t) {
if (K(t)) {
const e = {};
for (let n = 0; n < t.length; n++) {
const r = t[n], s = Ke(r) ? W6(r) : Ce(r);
if (s)
for (const i in s)
e[i] = s[i];
}
return e;
} else {
if (Ke(t))
return t;
if (Se(t))
return t;
}
}
const G6 = /;(?![^(]*\))/g, j6 = /:([^]+)/, Z6 = /\/\*.*?\*\//gs;
function W6(t) {
const e = {};
return t.replace(Z6, "").split(G6).forEach((n) => {
if (n) {
const r = n.split(j6);
r.length > 1 && (e[r[0].trim()] = r[1].trim());
}
}), e;
}
function ve(t) {
let e = "";
if (Ke(t))
e = t;
else if (K(t))
for (let n = 0; n < t.length; n++) {
const r = ve(t[n]);
r && (e += r + " ");
}
else if (Se(t))
for (const n in t)
t[n] && (e += n + " ");
return e.trim();
}
function q6(t) {
if (!t)
return null;
let { class: e, style: n } = t;
return e && !Ke(e) && (t.class = ve(e)), n && (t.style = Ce(n)), t;
}
const K6 = "itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly", Pu = /* @__PURE__ */ ws(K6);
function Fu(t) {
return !!t || t === "";
}
function Y6(t, e) {
if (t.length !== e.length)
return false;
let n = true;
for (let r = 0; n && r < t.length; r++)
n = jn(t[r], e[r]);
return n;
}
function jn(t, e) {
if (t === e)
return true;
let n = Oc(t), r = Oc(e);
if (n || r)
return n && r ? t.getTime() === e.getTime() : false;
if (n = u0(t), r = u0(e), n || r)
return t === e;
if (n = K(t), r = K(e), n || r)
return n && r ? Y6(t, e) : false;
if (n = Se(t), r = Se(e), n || r) {
if (!n || !r)
return false;
const s = Object.keys(t).length, i = Object.keys(e).length;
if (s !== i)
return false;
for (const o in t) {
const l = t.hasOwnProperty(o), a = e.hasOwnProperty(o);
if (l && !a || !l && a || !jn(t[o], e[o]))
return false;
}
}
return String(t) === String(e);
}
function w0(t, e) {
return t.findIndex((n) => jn(n, e));
}
const Ve = (t) => Ke(t) ? t : t == null ? "" : K(t) || Se(t) && (t.toString === Bu || !ue(t.toString)) ? JSON.stringify(t, Du, 2) : String(t), Du = (t, e) => e && e.__v_isRef ? Du(t, e.value) : is(e) ? {
[`Map(${e.size})`]: [...e.entries()].reduce((n, [r, s]) => (n[`${r} =>`] = s, n), {})
} : Gr(e) ? {
[`Set(${e.size})`]: [...e.values()]
} : Se(e) && !K(e) && !Ei(e) ? String(e) : e, Ge = {}, ss = [], Bt = () => {
}, X6 = () => false, Q6 = /^on[^a-z]/, Yn = (t) => Q6.test(t), Ll = (t) => t.startsWith("onUpdate:"), Oe = Object.assign, _l = (t, e) => {
const n = t.indexOf(e);
n > -1 && t.splice(n, 1);
}, J6 = Object.prototype.hasOwnProperty, Me = (t, e) => J6.call(t, e), K = Array.isArray, is = (t) => E0(t) === "[object Map]", Gr = (t) => E0(t) === "[object Set]", Oc = (t) => E0(t) === "[object Date]", ue = (t) => typeof t == "function", Ke = (t) => typeof t == "string", u0 = (t) => typeof t == "symbol", Se = (t) => t !== null && typeof t == "object", Ki = (t) => Se(t) && ue(t.then) && ue(t.catch), Bu = Object.prototype.toString, E0 = (t) => Bu.call(t), e8 = (t) => E0(t).slice(8, -1), Ei = (t) => E0(t) === "[object Object]", yl = (t) => Ke(t) && t !== "NaN" && t[0] !== "-" && "" + parseInt(t, 10) === t, os = /* @__PURE__ */ ws(
",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
), Yi = (t) => {
const e = /* @__PURE__ */ Object.create(null);
return (n) => e[n] || (e[n] = t(n));
}, t8 = /-(\w)/g, Rt = Yi((t) => t.replace(t8, (e, n) => n ? n.toUpperCase() : "")), n8 = /\B([A-Z])/g, St = Yi((t) => t.replace(n8, "-$1").toLowerCase()), T0 = Yi((t) => t.charAt(0).toUpperCase() + t.slice(1)), ls = Yi((t) => t ? `on${T0(t)}` : ""), ms = (t, e) => !Object.is(t, e), cr = (t, e) => {
for (let n = 0; n < t.length; n++)
t[n](e);
}, Ti = (t, e, n) => {
Object.defineProperty(t, e, {
configurable: true,
enumerable: false,
value: n
});
}, An = (t) => {
const e = parseFloat(t);
return isNaN(e) ? t : e;
};
let Ic;
const r8 = () => Ic || (Ic = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
let Zt;
class Cl {
constructor(e = false) {
this.detached = e, this.active = true, this.effects = [], this.cleanups = [], this.parent = Zt, !e && Zt && (this.index = (Zt.scopes || (Zt.scopes = [])).push(this) - 1);
}
run(e) {
if (this.active) {
const n = Zt;
try {
return Zt = this, e();
} finally {
Zt = n;
}
}
}
on() {
Zt = this;
}
off() {
Zt = this.parent;
}
stop(e) {
if (this.active) {
let n, r;
for (n = 0, r = this.effects.length; n < r; n++)
this.effects[n].stop();
for (n = 0, r = this.cleanups.length; n < r; n++)
this.cleanups[n]();
if (this.scopes)
for (n = 0, r = this.scopes.length; n < r; n++)
this.scopes[n].stop(true);
if (!this.detached && this.parent && !e) {
const s = this.parent.scopes.pop();
s && s !== this && (this.parent.scopes[this.index] = s, s.index = this.index);
}
this.parent = void 0, this.active = false;
}
}
}
function $u(t) {
return new Cl(t);
}
function Hu(t, e = Zt) {
e && e.active && e.effects.push(t);
}
function s8() {
return Zt;
}
function i8(t) {
Zt && Zt.cleanups.push(t);
}
const vl = (t) => {
const e = new Set(t);
return e.w = 0, e.n = 0, e;
}, Uu = (t) => (t.w & pr) > 0, Vu = (t) => (t.n & pr) > 0, o8 = ({ deps: t }) => {
if (t.length)
for (let e = 0; e < t.length; e++)
t[e].w |= pr;
}, l8 = (t) => {
const { deps: e } = t;
if (e.length) {
let n = 0;
for (let r = 0; r < e.length; r++) {
const s = e[r];
Uu(s) && !Vu(s) ? s.delete(t) : e[n++] = s, s.w &= ~pr, s.n &= ~pr;
}
e.length = n;
}
}, yo = /* @__PURE__ */ new WeakMap();
let Ks = 0, pr = 1;
const Co = 30;
let hn;
const Ir = Symbol(""), vo = Symbol("");
class S0 {
constructor(e, n = null, r) {
this.fn = e, this.scheduler = n, this.active = true, this.deps = [], this.parent = void 0, Hu(this, r);
}
run() {
if (!this.active)
return this.fn();
let e = hn, n = ur;
for (; e; ) {
if (e === this)
return;
e = e.parent;
}
try {
return this.parent = hn, hn = this, ur = true, pr = 1 << ++Ks, Ks <= Co ? o8(this) : Mc(this), this.fn();
} finally {
Ks <= Co && l8(this), pr = 1 << --Ks, hn = this.parent, ur = n, this.parent = void 0, this.deferStop && this.stop();
}
}
stop() {
hn === this ? this.deferStop = true : this.active && (Mc(this), this.onStop && this.onStop(), this.active = false);
}
}
function Mc(t) {
const { deps: e } = t;
if (e.length) {
for (let n = 0; n < e.length; n++)
e[n].delete(t);
e.length = 0;
}
}
function a8(t, e) {
t.effect && (t = t.effect.fn);
const n = new S0(t);
e && (Oe(n, e), e.scope && Hu(n, e.scope)), (!e || !e.lazy) && n.run();
const r = n.run.bind(n);
return r.effect = n, r;
}
function c8(t) {
t.effect.stop();
}
let ur = true;
const zu = [];
function Es() {
zu.push(ur), ur = false;
}
function Ts() {
const t = zu.pop();
ur = t === void 0 ? true : t;
}
function Ht(t, e, n) {
if (ur && hn) {
let r = yo.get(t);
r || yo.set(t, r = /* @__PURE__ */ new Map());
let s = r.get(n);
s || r.set(n, s = vl()), Gu(s);
}
}
function Gu(t, e) {
let n = false;
Ks <= Co ? Vu(t) || (t.n |= pr, n = !Uu(t)) : n = !t.has(hn), n && (t.add(hn), hn.deps.push(t));
}
function kn(t, e, n, r, s, i) {
const o = yo.get(t);
if (!o)
return;
let l = [];
if (e === "clear")
l = [...o.values()];
else if (n === "length" && K(t)) {
const a = An(r);
o.forEach((c, u) => {
(u === "length" || u >= a) && l.push(c);
});
} else
switch (n !== void 0 && l.push(o.get(n)), e) {
case "add":
K(t) ? yl(n) && l.push(o.get("length")) : (l.push(o.get(Ir)), is(t) && l.push(o.get(vo)));
break;
case "delete":
K(t) || (l.push(o.get(Ir)), is(t) && l.push(o.get(vo)));
break;
case "set":
is(t) && l.push(o.get(Ir));
break;
}
if (l.length === 1)
l[0] && bo(l[0]);
else {
const a = [];
for (const c of l)
c && a.push(...c);
bo(vl(a));
}
}
function bo(t, e) {
const n = K(t) ? t : [...t];
for (const r of n)
r.computed && Nc(r);
for (const r of n)
r.computed || Nc(r);
}
function Nc(t, e) {
(t !== hn || t.allowRecurse) && (t.scheduler ? t.scheduler() : t.run());
}
const u8 = /* @__PURE__ */ ws("__proto__,__v_isRef,__isVue"), ju = new Set(
/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((t) => t !== "arguments" && t !== "caller").map((t) => Symbol[t]).filter(u0)
), h8 = /* @__PURE__ */ Xi(), d8 = /* @__PURE__ */ Xi(false, true), f8 = /* @__PURE__ */ Xi(true), p8 = /* @__PURE__ */ Xi(true, true), Pc = /* @__PURE__ */ g8();
function g8() {
const t = {};
return ["includes", "indexOf", "lastIndexOf"].forEach((e) => {
t[e] = function(...n) {
const r = we(this);
for (let i = 0, o = this.length; i < o; i++)
Ht(r, "get", i + "");
const s = r[e](...n);
return s === -1 || s === false ? r[e](...n.map(we)) : s;
};
}), ["push", "pop", "shift", "unshift", "splice"].forEach((e) => {
t[e] = function(...n) {
Es();
const r = we(this)[e].apply(this, n);
return Ts(), r;
};
}), t;
}
function Xi(t = false, e = false) {
return function(r, s, i) {
if (s === "__v_isReactive")
return !t;
if (s === "__v_isReadonly")
return t;
if (s === "__v_isShallow")
return e;
if (s === "__v_raw" && i === (t ? e ? Qu : Xu : e ? Yu : Ku).get(r))
return r;
const o = K(r);
if (!t && o && Me(Pc, s))
return Reflect.get(Pc, s, i);
const l = Reflect.get(r, s, i);
return (u0(s) ? ju.has(s) : u8(s)) || (t || Ht(r, "get", s), e) ? l : gt(l) ? o && yl(s) ? l : l.value : Se(l) ? t ? wl(l) : Rn(l) : l;
};
}
const m8 = /* @__PURE__ */ Zu(), x8 = /* @__PURE__ */ Zu(true);
function Zu(t = false) {
return function(n, r, s, i) {
let o = n[r];
if ($r(o) && gt(o) && !gt(s))
return false;
if (!t && (!h0(s) && !$r(s) && (o = we(o), s = we(s)), !K(n) && gt(o) && !gt(s)))
return o.value = s, true;
const l = K(n) && yl(r) ? Number(r) < n.length : Me(n, r), a = Reflect.set(n, r, s, i);
return n === we(i) && (l ? ms(s, o) && kn(n, "set", r, s) : kn(n, "add", r, s)), a;
};
}
function L8(t, e) {
const n = Me(t, e);
t[e];
const r = Reflect.deleteProperty(t, e);
return r && n && kn(t, "delete", e, void 0), r;
}
function _8(t, e) {
const n = Reflect.has(t, e);
return (!u0(e) || !ju.has(e)) && Ht(t, "has", e), n;
}
function y8(t) {
return Ht(t, "iterate", K(t) ? "length" : Ir), Reflect.ownKeys(t);
}
const Wu = {
get: h8,
set: m8,
deleteProperty: L8,
has: _8,
ownKeys: y8
}, qu = {
get: f8,
set(t, e) {
return true;
},
deleteProperty(t, e) {
return true;
}
}, C8 = /* @__PURE__ */ Oe({}, Wu, {
get: d8,
set: x8
}), v8 = /* @__PURE__ */ Oe({}, qu, {
get: p8
}), bl = (t) => t, Qi = (t) => Reflect.getPrototypeOf(t);
function Q0(t, e, n = false, r = false) {
t = t.__v_raw;
const s = we(t), i = we(e);
n || (e !== i && Ht(s, "get", e), Ht(s, "get", i));
const { has: o } = Qi(s), l = r ? bl : n ? Sl : d0;
if (o.call(s, e))
return l(t.get(e));
if (o.call(s, i))
return l(t.get(i));
t !== s && t.get(e);
}
function J0(t, e = false) {
const n = this.__v_raw, r = we(n), s = we(t);
return e || (t !== s && Ht(r, "has", t), Ht(r, "has", s)), t === s ? n.has(t) : n.has(t) || n.has(s);
}
function ei(t, e = false) {
return t = t.__v_raw, !e && Ht(we(t), "iterate", Ir), Reflect.get(t, "size", t);
}
function Fc(t) {
t = we(t);
const e = we(this);
return Qi(e).has.call(e, t) || (e.add(t), kn(e, "add", t, t)), this;
}
function Dc(t, e) {
e = we(e);
const n = we(this), { has: r, get: s } = Qi(n);
let i = r.call(n, t);
i || (t = we(t), i = r.call(n, t));
const o = s.call(n, t);
return n.set(t, e), i ? ms(e, o) && kn(n, "set", t, e) : kn(n, "add", t, e), this;
}
function Bc(t) {
const e = we(this), { has: n, get: r } = Qi(e);
let s = n.call(e, t);
s || (t = we(t), s = n.call(e, t)), r && r.call(e, t);
const i = e.delete(t);
return s && kn(e, "delete", t, void 0), i;
}
function $c() {
const t = we(this), e = t.size !== 0, n = t.clear();
return e && kn(t, "clear", void 0, void 0), n;
}
function ti(t, e) {
return function(r, s) {
const i = this, o = i.__v_raw, l = we(o), a = e ? bl : t ? Sl : d0;
return !t && Ht(l, "iterate", Ir), o.forEach((c, u) => r.call(s, a(c), a(u), i));
};
}
function ni(t, e, n) {
return function(...r) {
const s = this.__v_raw, i = we(s), o = is(i), l = t === "entries" || t === Symbol.iterator && o, a = t === "keys" && o, c = s[t](...r), u = n ? bl : e ? Sl : d0;
return !e && Ht(i, "iterate", a ? vo : Ir), {
next() {
const { value: h, done: d } = c.next();
return d ? { value: h, done: d } : {
value: l ? [u(h[0]), u(h[1])] : u(h),
done: d
};
},
[Symbol.iterator]() {
return this;
}
};
};
}
function Jn(t) {
return function(...e) {
return t === "delete" ? false : this;
};
}
function b8() {
const t = {
get(i) {
return Q0(this, i);
},
get size() {
return ei(this);
},
has: J0,
add: Fc,
set: Dc,
delete: Bc,
clear: $c,
forEach: ti(false, false)
}, e = {
get(i) {
return Q0(this, i, false, true);
},
get size() {
return ei(this);
},
has: J0,
add: Fc,
set: Dc,
delete: Bc,
clear: $c,
forEach: ti(false, true)
}, n = {
get(i) {
return Q0(this, i, true);
},
get size() {
return ei(this, true);
},
has(i) {
return J0.call(this, i, true);
},
add: Jn("add"),
set: Jn("set"),
delete: Jn("delete"),
clear: Jn("clear"),
forEach: ti(true, false)
}, r = {
get(i) {
return Q0(this, i, true, true);
},
get size() {
return ei(this, true);
},
has(i) {
return J0.call(this, i, true);
},
add: Jn("add"),
set: Jn("set"),
delete: Jn("delete"),
clear: Jn("clear"),
forEach: ti(true, true)
};
return ["keys", "values", "entries", Symbol.iterator].forEach((i) => {
t[i] = ni(i, false, false), n[i] = ni(i, true, false), e[i] = ni(i, false, true), r[i] = ni(i, true, true);
}), [
t,
n,
e,
r
];
}
const [w8, E8, T8, S8] = /* @__PURE__ */ b8();
function Ji(t, e) {
const n = e ? t ? S8 : T8 : t ? E8 : w8;
return (r, s, i) => s === "__v_isReactive" ? !t : s === "__v_isReadonly" ? t : s === "__v_raw" ? r : Reflect.get(Me(n, s) && s in r ? n : r, s, i);
}
const A8 = {
get: /* @__PURE__ */ Ji(false, false)
}, k8 = {
get: /* @__PURE__ */ Ji(false, true)
}, R8 = {
get: /* @__PURE__ */ Ji(true, false)
}, O8 = {
get: /* @__PURE__ */ Ji(true, true)
}, Ku = /* @__PURE__ */ new WeakMap(), Yu = /* @__PURE__ */ new WeakMap(), Xu = /* @__PURE__ */ new WeakMap(), Qu = /* @__PURE__ */ new WeakMap();
function I8(t) {
switch (t) {
case "Object":
case "Array":
return 1;
case "Map":
case "Set":
case "WeakMap":
case "WeakSet":
return 2;
default:
return 0;
}
}
function M8(t) {
return t.__v_skip || !Object.isExtensible(t) ? 0 : I8(e8(t));
}
function Rn(t) {
return $r(t) ? t : e1(t, false, Wu, A8, Ku);
}
function Ju(t) {
return e1(t, false, C8, k8, Yu);
}
function wl(t) {
return e1(t, true, qu, R8, Xu);
}
function N8(t) {
return e1(t, true, v8, O8, Qu);
}
function e1(t, e, n, r, s) {
if (!Se(t) || t.__v_raw && !(e && t.__v_isReactive))
return t;
const i = s.get(t);
if (i)
return i;
const o = M8(t);
if (o === 0)
return t;
const l = new Proxy(t, o === 2 ? r : n);
return s.set(t, l), l;
}
function Un(t) {
return $r(t) ? Un(t.__v_raw) : !!(t && t.__v_isReactive);
}
function $r(t) {
return !!(t && t.__v_isReadonly);
}
function h0(t) {
return !!(t && t.__v_isShallow);
}
function El(t) {
return Un(t) || $r(t);
}
function we(t) {
const e = t && t.__v_raw;
return e ? we(e) : t;
}
function Tl(t) {
return Ti(t, "__v_skip", true), t;
}
const d0 = (t) => Se(t) ? Rn(t) : t, Sl = (t) => Se(t) ? wl(t) : t;
function Al(t) {
ur && hn && (t = we(t), Gu(t.dep || (t.dep = vl())));
}
function t1(t, e) {
t = we(t), t.dep && bo(t.dep);
}
function gt(t) {
return !!(t && t.__v_isRef === true);
}
function ge(t) {
return t3(t, false);
}
function e3(t) {
return t3(t, true);
}
function t3(t, e) {
return gt(t) ? t : new P8(t, e);
}
class P8 {
constructor(e, n) {
this.__v_isShallow = n, this.dep = void 0, this.__v_isRef = true, this._rawValue = n ? e : we(e), this._value = n ? e : d0(e);
}
get value() {
return Al(this), this._value;
}
set value(e) {
const n = this.__v_isShallow || h0(e) || $r(e);
e = n ? e : we(e), ms(e, this._rawValue) && (this._rawValue = e, this._value = n ? e : d0(e), t1(this));
}
}
function F8(t) {
t1(t);
}
function _e(t) {
return gt(t) ? t.value : t;
}
const D8 = {
get: (t, e, n) => _e(Reflect.get(t, e, n)),
set: (t, e, n, r) => {
const s = t[e];
return gt(s) && !gt(n) ? (s.value = n, true) : Reflect.set(t, e, n, r);
}
};
function kl(t) {
return Un(t) ? t : new Proxy(t, D8);
}
class B8 {
constructor(e) {
this.dep = void 0, this.__v_isRef = true;
const { get: n, set: r } = e(() => Al(this), () => t1(this));
this._get = n, this._set = r;
}
get value() {
return this._get();
}
set value(e) {
this._set(e);
}
}
function $8(t) {
return new B8(t);
}
function Rl(t) {
const e = K(t) ? new Array(t.length) : {};
for (const n in t)
e[n] = n3(t, n);
return e;
}
class H8 {
constructor(e, n, r) {
this._object = e, this._key = n, this._defaultValue = r, this.__v_isRef = true;
}
get value() {
const e = this._object[this._key];
return e === void 0 ? this._defaultValue : e;
}
set value(e) {
this._object[this._key] = e;
}
}
function n3(t, e, n) {
const r = t[e];
return gt(r) ? r : new H8(t, e, n);
}
var r3;
class U8 {
constructor(e, n, r, s) {
this._setter = n, this.dep = void 0, this.__v_isRef = true, this[r3] = false, this._dirty = true, this.effect = new S0(e, () => {
this._dirty || (this._dirty = true, t1(this));
}), this.effect.computed = this, this.effect.active = this._cacheable = !s, this.__v_isReadonly = r;
}
get value() {
const e = we(this);
return Al(e), (e._dirty || !e._cacheable) && (e._dirty = false, e._value = e.effect.run()), e._value;
}
set value(e) {
this._setter(e);
}
}
r3 = "__v_isReadonly";
function V8(t, e, n = false) {
let r, s;
const i = ue(t);
return i ? (r = t, s = Bt) : (r = t.get, s = t.set), new U8(r, s, i || !s, n);
}
function z8(t, ...e) {
}
function En(t, e, n, r) {
let s;
try {
s = r ? t(...r) : t();
} catch (i) {
jr(i, e, n);
}
return s;
}
function $t(t, e, n, r) {
if (ue(t)) {
const i = En(t, e, n, r);
return i && Ki(i) && i.catch((o) => {
jr(o, e, n);
}), i;
}
const s = [];
for (let i = 0; i < t.length; i++)
s.push($t(t[i], e, n, r));
return s;
}
function jr(t, e, n, r = true) {
const s = e ? e.vnode : null;
if (e) {
let i = e.parent;
const o = e.proxy, l = n;
for (; i; ) {
const c = i.ec;
if (c) {
for (let u = 0; u < c.length; u++)
if (c[u](t, o, l) === false)
return;
}
i = i.parent;
}
const a = e.appContext.config.errorHandler;
if (a) {
En(a, null, 10, [t, o, l]);
return;
}
}
G8(t, n, s, r);
}
function G8(t, e, n, r = true) {
console.error(t);
}
let f0 = false, wo = false;
const vt = [];
let Cn = 0;
const as = [];
let $n = null, Tr = 0;
const s3 = /* @__PURE__ */ Promise.resolve();
let Ol = null;
function gr(t) {
const e = Ol || s3;
return t ? e.then(this ? t.bind(this) : t) : e;
}
function j8(t) {
let e = Cn + 1, n = vt.length;
for (; e < n; ) {
const r = e + n >>> 1;
p0(vt[r]) < t ? e = r + 1 : n = r;
}
return e;
}
function n1(t) {
(!vt.length || !vt.includes(t, f0 && t.allowRecurse ? Cn + 1 : Cn)) && (t.id == null ? vt.push(t) : vt.splice(j8(t.id), 0, t), i3());
}
function i3() {
!f0 && !wo && (wo = true, Ol = s3.then(o3));
}
function Z8(t) {
const e = vt.indexOf(t);
e > Cn && vt.splice(e, 1);
}
function Il(t) {
K(t) ? as.push(...t) : (!$n || !$n.includes(t, t.allowRecurse ? Tr + 1 : Tr)) && as.push(t), i3();
}
function Hc(t, e = f0 ? Cn + 1 : 0) {
for (; e < vt.length; e++) {
const n = vt[e];
n && n.pre && (vt.splice(e, 1), e--, n());
}
}
function Si(t) {
if (as.length) {
const e = [...new Set(as)];
if (as.length = 0, $n) {
$n.push(...e);
return;
}
for ($n = e, $n.sort((n, r) => p0(n) - p0(r)), Tr = 0; Tr < $n.length; Tr++)
$n[Tr]();
$n = null, Tr = 0;
}
}
const p0 = (t) => t.id == null ? 1 / 0 : t.id, W8 = (t, e) => {
const n = p0(t) - p0(e);
if (n === 0) {
if (t.pre && !e.pre)
return -1;
if (e.pre && !t.pre)
return 1;
}
return n;
};
function o3(t) {
wo = false, f0 = true, vt.sort(W8);
try {
for (Cn = 0; Cn < vt.length; Cn++) {
const n = vt[Cn];
n && n.active !== false && En(n, null, 14);
}
} finally {
Cn = 0, vt.length = 0, Si(), f0 = false, Ol = null, (vt.length || as.length) && o3();
}
}
let ns, ri = [];
function l3(t, e) {
var n, r;
ns = t, ns ? (ns.enabled = true, ri.forEach(({ event: s, args: i }) => ns.emit(s, ...i)), ri = []) : typeof window < "u" && window.HTMLElement && !(!((r = (n = window.navigator) === null || n === void 0 ? void 0 : n.userAgent) === null || r === void 0) && r.includes("jsdom")) ? ((e.__VUE_DEVTOOLS_HOOK_REPLAY__ = e.__VUE_DEVTOOLS_HOOK_REPLAY__ || []).push((i) => {
l3(i, e);
}), setTimeout(() => {
ns || (e.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, ri = []);
}, 3e3)) : ri = [];
}
function q8(t, e, ...n) {
}
const Ml = {
MODE: 2
};
function K8(t) {
Oe(Ml, t);
}
function Uc(t, e) {
const n = e && e.type.compatConfig;
return n && t in n ? n[t] : Ml[t];
}
function Ue(t, e, n = false) {
if (!n && e && e.type.__isBuiltIn)
return false;
const r = Uc("MODE", e) || 2, s = Uc(t, e);
return (ue(r) ? r(e && e.type) : r) === 2 ? s !== false : s === true || s === "suppress-warning";
}
function _t(t, e, ...n) {
if (!Ue(t, e))
throw new Error(`${t} compat has been disabled.`);
}
function Zn(t, e, ...n) {
return Ue(t, e);
}
function r1(t, e, ...n) {
return Ue(t, e);
}
const Eo = /* @__PURE__ */ new WeakMap();
function Nl(t) {
let e = Eo.get(t);
return e || Eo.set(t, e = /* @__PURE__ */ Object.create(null)), e;
}
function Pl(t, e, n) {
if (K(e))
e.forEach((r) => Pl(t, r, n));
else {
e.startsWith("hook:") ? _t("INSTANCE_EVENT_HOOKS", t, e) : _t("INSTANCE_EVENT_EMITTER", t);
const r = Nl(t);
(r[e] || (r[e] = [])).push(n);
}
return t.proxy;
}
function Y8(t, e, n) {
const r = (...s) => {
Fl(t, e, r), n.call(t.proxy, ...s);
};
return r.fn = n, Pl(t, e, r), t.proxy;
}
function Fl(t, e, n) {
_t("INSTANCE_EVENT_EMITTER", t);
const r = t.proxy;
if (!e)
return Eo.set(t, /* @__PURE__ */ Object.create(null)), r;
if (K(e))
return e.forEach((o) => Fl(t, o, n)), r;
const s = Nl(t), i = s[e];
return i ? n ? (s[e] = i.filter((o) => !(o === n || o.fn === n)), r) : (s[e] = void 0, r) : r;
}
function X8(t, e, n) {
const r = Nl(t)[e];
return r && $t(r.map((s) => s.bind(t.proxy)), t, 6, n), t.proxy;
}
const s1 = "onModelCompat:";
function Q8(t) {
const { type: e, shapeFlag: n, props: r, dynamicProps: s } = t, i = e;
if (n & 6 && r && "modelValue" in r) {
if (!Ue(
"COMPONENT_V_MODEL",
{ type: e }
))
return;
const o = i.model || {};
a3(o, i.mixins);
const { prop: l = "value", event: a = "input" } = o;
l !== "modelValue" && (r[l] = r.modelValue, delete r.modelValue), s && (s[s.indexOf("modelValue")] = l), r[s1 + a] = r["onUpdate:modelValue"], delete r["onUpdate:modelValue"];
}
}
function a3(t, e) {
e && e.forEach((n) => {
n.model && Oe(t, n.model), n.mixins && a3(t, n.mixins);
});
}
function J8(t, e, n) {
if (!Ue("COMPONENT_V_MODEL", t))
return;
const r = t.vnode.props, s = r && r[s1 + e];
s && En(s, t, 6, n);
}
function ed(t, e, ...n) {
if (t.isUnmounted)
return;
const r = t.vnode.props || Ge;
let s = n;
const i = e.startsWith("update:"), o = i && e.slice(7);
if (o && o in r) {
const u = `${o === "modelValue" ? "model" : o}Modifiers`, { number: h, trim: d } = r[u] || Ge;
d && (s = n.map((p) => Ke(p) ? p.trim() : p)), h && (s = n.map(An));
}
let l, a = r[l = ls(e)] || r[l = ls(Rt(e))];
!a && i && (a = r[l = ls(St(e))]), a && $t(a, t, 6, s);
const c = r[l + "Once"];
if (c) {
if (!t.emitted)
t.emitted = {};
else if (t.emitted[l])
return;
t.emitted[l] = true, $t(c, t, 6, s);
}
return J8(t, e, s), X8(t, e, s);
}
function c3(t, e, n = false) {
const r = e.emitsCache, s = r.get(t);
if (s !== void 0)
return s;
const i = t.emits;
let o = {}, l = false;
if (!ue(t)) {
const a = (c) => {
const u = c3(c, e, true);
u && (l = true, Oe(o, u));
};
!n && e.mixins.length && e.mixins.forEach(a), t.extends && a(t.extends), t.mixins && t.mixins.forEach(a);
}
return !i && !l ? (Se(t) && r.set(t, null), null) : (K(i) ? i.forEach((a) => o[a] = null) : Oe(o, i), Se(t) && r.set(t, o), o);
}
function i1(t, e) {
return !t || !Yn(e) ? false : e.startsWith(s1) ? true : (e = e.slice(2).replace(/Once$/, ""), Me(t, e[0].toLowerCase() + e.slice(1)) || Me(t, St(e)) || Me(t, e));
}
let ut = null, cs = null;
function g0(t) {
const e = ut;
return ut = t, cs = t && t.type.__scopeId || null, cs || (cs = t && t.type._scopeId || null), e;
}
function Ss(t) {
cs = t;
}
function As() {
cs = null;
}
const td = (t) => jt;
function jt(t, e = ut, n) {
if (!e || t._n)
return t;
const r = (...s) => {
r._d && Io(-1);
const i = g0(e);
let o;
try {
o = t(...s);
} finally {
g0(i), r._d && Io(1);
}
return o;
};
return r._n = true, r._c = true, r._d = true, n && (r._ns = true), r;
}
function yi(t) {
const { type: e, vnode: n, proxy: r, withProxy: s, props: i, propsOptions: [o], slots: l, attrs: a, emit: c, render: u, renderCache: h, data: d, setupState: p, ctx: g, inheritAttrs: L } = t;
let T, _;
const x = g0(t);
try {
if (n.shapeFlag & 4) {
const E = s || r;
T = Wt(u.call(E, E, h, i, p, d, g)), _ = a;
} else {
const E = e;
T = Wt(E.length > 1 ? E(i, { attrs: a, slots: l, emit: c }) : E(i, null)), _ = e.props ? a : rd(a);
}
} catch (E) {
Js.length = 0, jr(E, t, 1), T = V(yt);
}
let C = T;
if (_ && L !== false) {
const E = Object.keys(_), { shapeFlag: M } = C;
E.length && M & 7 && (o && E.some(Ll) && (_ = sd(_, o)), C = an(C, _));
}
if (Ue("INSTANCE_ATTRS_CLASS_STYLE", t) && n.shapeFlag & 4 && C.shapeFlag & 7) {
const { class: E, style: M } = n.props || {};
(E || M) && (C = an(C, {
class: E,
style: M
}));
}
return n.dirs && (C = an(C), C.dirs = C.dirs ? C.dirs.concat(n.dirs) : n.dirs), n.transition && (C.transition = n.transition), T = C, g0(x), T;
}
function nd(t) {
let e;
for (let n = 0; n < t.length; n++) {
const r = t[n];
if (Jt(r)) {
if (r.type !== yt || r.children === "v-if") {
if (e)
return;
e = r;
}
} else
return;
}
return e;
}
const rd = (t) => {
let e;
for (const n in t)
(n === "class" || n === "style" || Yn(n)) && ((e || (e = {}))[n] = t[n]);
return e;
}, sd = (t, e) => {
const n = {};
for (const r in t)
(!Ll(r) || !(r.slice(9) in e)) && (n[r] = t[r]);
return n;
};
function id(t, e, n) {
const { props: r, children: s, component: i } = t, { props: o, children: l, patchFlag: a } = e, c = i.emitsOptions;
if (e.dirs || e.transition)
return true;
if (n && a >= 0) {
if (a & 1024)
return true;
if (a & 16)
return r ? Vc(r, o, c) : !!o;
if (a & 8) {
const u = e.dynamicProps;
for (let h = 0; h < u.length; h++) {
const d = u[h];
if (o[d] !== r[d] && !i1(c, d))
return true;
}
}
} else
return (s || l) && (!l || !l.$stable) ? true : r === o ? false : r ? o ? Vc(r, o, c) : true : !!o;
return false;
}
function Vc(t, e, n) {
const r = Object.keys(e);
if (r.length !== Object.keys(t).length)
return true;
for (let s = 0; s < r.length; s++) {
const i = r[s];
if (e[i] !== t[i] && !i1(n, i))
return true;
}
return false;
}
function Dl({ vnode: t, parent: e }, n) {
for (; e && e.subTree === t; )
(t = e.vnode).el = n, e = e.parent;
}
const u3 = (t) => t.__isSuspense, od = {
name: "Suspense",
__isSuspense: true,
process(t, e, n, r, s, i, o, l, a, c) {
t == null ? ad(e, n, r, s, i, o, l, a, c) : cd(t, e, n, r, s, o, l, a, c);
},
hydrate: ud,
create: Bl,
normalize: hd
}, ld = od;
function m0(t, e) {
const n = t.props && t.props[e];
ue(n) && n();
}
function ad(t, e, n, r, s, i, o, l, a) {
const { p: c, o: { createElement: u } } = a, h = u("div"), d = t.suspense = Bl(t, s, r, e, h, n, i, o, l, a);
c(null, d.pendingBranch = t.ssContent, h, null, r, d, i, o), d.deps > 0 ? (m0(t, "onPending"), m0(t, "onFallback"), c(
null,
t.ssFallback,
e,
n,
r,
null,
i,
o
), us(d, t.ssFallback)) : d.resolve();
}
function cd(t, e, n, r, s, i, o, l, { p: a, um: c, o: { createElement: u } }) {
const h = e.suspense = t.suspense;
h.vnode = e, e.el = t.el;
const d = e.ssContent, p = e.ssFallback, { activeBranch: g, pendingBranch: L, isInFallback: T, isHydrating: _ } = h;
if (L)
h.pendingBranch = d, vn(d, L) ? (a(L, d, h.hiddenContainer, null, s, h, i, o, l), h.deps <= 0 ? h.resolve() : T && (a(
g,
p,
n,
r,
s,
null,
i,
o,
l
), us(h, p))) : (h.pendingId++, _ ? (h.isHydrating = false, h.activeBranch = L) : c(L, s, h), h.deps = 0, h.effects.length = 0, h.hiddenContainer = u("div"), T ? (a(null, d, h.hiddenContainer, null, s, h, i, o, l), h.deps <= 0 ? h.resolve() : (a(
g,
p,
n,
r,
s,
null,
i,
o,
l
), us(h, p))) : g && vn(d, g) ? (a(g, d, n, r, s, h, i, o, l), h.resolve(true)) : (a(null, d, h.hiddenContainer, null, s, h, i, o, l), h.deps <= 0 && h.resolve()));
else if (g && vn(d, g))
a(g, d, n, r, s, h, i, o, l), us(h, d);
else if (m0(e, "onPending"), h.pendingBranch = d, h.pendingId++, a(null, d, h.hiddenContainer, null, s, h, i, o, l), h.deps <= 0)
h.resolve();
else {
const { timeout: x, pendingId: C } = h;
x > 0 ? setTimeout(() => {
h.pendingId === C && h.fallback(p);
}, x) : x === 0 && h.fallback(p);
}
}
function Bl(t, e, n, r, s, i, o, l, a, c, u = false) {
const { p: h, m: d, um: p, n: g, o: { parentNode: L, remove: T } } = c, _ = An(t.props && t.props.timeout), x = {
vnode: t,
parent: e,
parentComponent: n,
isSVG: o,
container: r,
hiddenContainer: s,
anchor: i,
deps: 0,
pendingId: 0,
timeout: typeof _ == "number" ? _ : -1,
activeBranch: null,
pendingBranch: null,
isInFallback: true,
isHydrating: u,
isUnmounted: false,
effects: [],
resolve(C = false) {
const { vnode: E, activeBranch: M, pendingBranch: $, pendingId: j, effects: R, parentComponent: ae, container: le } = x;
if (x.isHydrating)
x.isHydrating = false;
else if (!C) {
const Le = M && $.transition && $.transition.mode === "out-in";
Le && (M.transition.afterLeave = () => {
j === x.pendingId && d($, le, re, 0);
});
let { anchor: re } = x;
M && (re = g(M), p(M, ae, x, true)), Le || d($, le, re, 0);
}
us(x, $), x.pendingBranch = null, x.isInFallback = false;
let he = x.parent, He = false;
for (; he; ) {
if (he.pendingBranch) {
he.effects.push(...R), He = true;
break;
}
he = he.parent;
}
He || Il(R), x.effects = [], m0(E, "onResolve");
},
fallback(C) {
if (!x.pendingBranch)
return;
const { vnode: E, activeBranch: M, parentComponent: $, container: j, isSVG: R } = x;
m0(E, "onFallback");
const ae = g(M), le = () => {
!x.isInFallback || (h(
null,
C,
j,
ae,
$,
null,
R,
l,
a
), us(x, C));
}, he = C.transition && C.transition.mode === "out-in";
he && (M.transition.afterLeave = le), x.isInFallback = true, p(
M,
$,
null,
true
), he || le();
},
move(C, E, M) {
x.activeBranch && d(x.activeBranch, C, E, M), x.container = C;
},
next() {
return x.activeBranch && g(x.activeBranch);
},
registerDep(C, E) {
const M = !!x.pendingBranch;
M && x.deps++;
const $ = C.vnode.el;
C.asyncDep.catch((j) => {
jr(j, C, 0);
}).then((j) => {
if (C.isUnmounted || x.isUnmounted || x.pendingId !== C.suspenseId)
return;
C.asyncResolved = true;
const { vnode: R } = C;
Mo(C, j, false), $ && (R.el = $);
const ae = !$ && C.subTree.el;
E(
C,
R,
L($ || C.subTree.el),
$ ? null : g(C.subTree),
x,
o,
a
), ae && T(ae), Dl(C, R.el), M && --x.deps === 0 && x.resolve();
});
},
unmount(C, E) {
x.isUnmounted = true, x.activeBranch && p(x.activeBranch, n, C, E), x.pendingBranch && p(x.pendingBranch, n, C, E);
}
};
return x;
}
function ud(t, e, n, r, s, i, o, l, a) {
const c = e.suspense = Bl(e, r, n, t.parentNode, document.createElement("div"), null, s, i, o, l, true), u = a(t, c.pendingBranch = e.ssContent, n, c, i, o);
return c.deps === 0 && c.resolve(), u;
}
function hd(t) {
const { shapeFlag: e, children: n } = t, r = e & 32;
t.ssContent = zc(r ? n.default : n), t.ssFallback = r ? zc(n.fallback) : V(yt);
}
function zc(t) {
let e;
if (ue(t)) {
const n = Vr && t._c;
n && (t._d = false, k()), t = t(), n && (t._d = true, e = Dt, e5());
}
return K(t) && (t = nd(t)), t = Wt(t), e && !t.dynamicChildren && (t.dynamicChildren = e.filter((n) => n !== t)), t;
}
function h3(t, e) {
e && e.pendingBranch ? K(t) ? e.effects.push(...t) : e.effects.push(t) : Il(t);
}
function us(t, e) {
t.activeBranch = e;
const { vnode: n, parentComponent: r } = t, s = n.el = e.el;
r && r.subTree === n && (r.vnode.el = s, Dl(r, s));
}
function Ut(t, e) {
if (dt) {
let n = dt.provides;
const r = dt.parent && dt.parent.provides;
r === n && (n = dt.provides = Object.create(r)), n[t] = e;
}
}
function lt(t, e, n = false) {
const r = dt || ut;
if (r) {
const s = r.parent == null ? r.vnode.appContext && r.vnode.appContext.provides : r.parent.provides;
if (s && t in s)
return s[t];
if (arguments.length > 1)
return n && ue(e) ? e.call(r.proxy) : e;
}
}
function Qt(t, e) {
return A0(t, null, e);
}
function d3(t, e) {
return A0(t, null, { flush: "post" });
}
function dd(t, e) {
return A0(t, null, { flush: "sync" });
}
const si = {};
function Yt(t, e, n) {
return A0(t, e, n);
}
function A0(t, e, { immediate: n, deep: r, flush: s, onTrack: i, onTrigger: o } = Ge) {
const l = dt;
let a, c = false, u = false;
if (gt(t) ? (a = () => t.value, c = h0(t)) : Un(t) ? (a = () => t, r = true) : K(t) ? (u = true, c = t.some((C) => Un(C) || h0(C)), a = () => t.map((C) => {
if (gt(C))
return C.value;
if (Un(C))
return ir(C);
if (ue(C))
return En(C, l, 2);
})) : ue(t) ? e ? a = () => En(t, l, 2) : a = () => {
if (!(l && l.isUnmounted))
return h && h(), $t(t, l, 3, [d]);
} : a = Bt, e && !r) {
const C = a;
a = () => {
const E = C();
return K(E) && r1("WATCH_ARRAY", l) && ir(E), E;
};
}
if (e && r) {
const C = a;
a = () => ir(C());
}
let h, d = (C) => {
h = _.onStop = () => {
En(C, l, 4);
};
}, p;
if (Ls)
if (d = Bt, e ? n && $t(e, l, 3, [
a(),
u ? [] : void 0,
d
]) : a(), s === "sync") {
const C = a5();
p = C.__watcherHandles || (C.__watcherHandles = []);
} else
return Bt;
let g = u ? new Array(t.length).fill(si) : si;
const L = () => {
if (!!_.active)
if (e) {
const C = _.run();
(r || c || (u ? C.some((E, M) => ms(E, g[M])) : ms(C, g)) || K(C) && Ue("WATCH_ARRAY", l)) && (h && h(), $t(e, l, 3, [
C,
g === si ? void 0 : u && g[0] === si ? [] : g,
d
]), g = C);
} else
_.run();
};
L.allowRecurse = !!e;
let T;
s === "sync" ? T = L : s === "post" ? T = () => at(L, l && l.suspense) : (L.pre = true, l && (L.id = l.uid), T = () => n1(L));
const _ = new S0(a, T);
e ? n ? L() : g = _.run() : s === "post" ? at(_.run.bind(_), l && l.suspense) : _.run();
const x = () => {
_.stop(), l && l.scope && _l(l.scope.effects, _);
};
return p && p.push(x), x;
}
function fd(t, e, n) {
const r = this.proxy, s = Ke(t) ? t.includes(".") ? f3(r, t) : () => r[t] : t.bind(r, r);
let i;
ue(e) ? i = e : (i = e.handler, n = e);
const o = dt;
mr(this);
const l = A0(s, i.bind(r), n);
return o ? mr(o) : hr(), l;
}
function f3(t, e) {
const n = e.split(".");
return () => {
let r = t;
for (let s = 0; s < n.length && r; s++)
r = r[n[s]];
return r;
};
}
function ir(t, e) {
if (!Se(t) || t.__v_skip || (e = e || /* @__PURE__ */ new Set(), e.has(t)))
return t;
if (e.add(t), gt(t))
ir(t.value, e);
else if (K(t))
for (let n = 0; n < t.length; n++)
ir(t[n], e);
else if (Gr(t) || is(t))
t.forEach((n) => {
ir(n, e);
});
else if (Ei(t))
for (const n in t)
ir(t[n], e);
return t;
}
function $l() {
const t = {
isMounted: false,
isLeaving: false,
isUnmounting: false,
leavingVNodes: /* @__PURE__ */ new Map()
};
return We(() => {
t.isMounted = true;
}), x0(() => {
t.isUnmounting = true;
}), t;
}
const rn = [Function, Array], p3 = {
name: "BaseTransition",
props: {
mode: String,
appear: Boolean,
persisted: Boolean,
onBeforeEnter: rn,
onEnter: rn,
onAfterEnter: rn,
onEnterCancelled: rn,
onBeforeLeave: rn,
onLeave: rn,
onAfterLeave: rn,
onLeaveCancelled: rn,
onBeforeAppear: rn,
onAppear: rn,
onAfterAppear: rn,
onAp