UNPKG

@mermaid-js/mermaid-zenuml

Version:

MermaidJS plugin for ZenUML integration

1,465 lines 1.66 MB
(function(global2, factory) { typeof exports === "object" && typeof module !== "undefined" ? module.exports = factory() : typeof define === "function" && define.amd ? define(factory) : (global2 = typeof globalThis !== "undefined" ? globalThis : global2 || self, global2["mermaid-zenuml"] = factory()); })(this, function() { "use strict"; const id$1 = "zenuml"; const detector = (txt) => { return /^\s*zenuml/.test(txt); }; const loader = async () => { const { diagram: diagram2 } = await Promise.resolve().then(() => zenumlDefinition); return { id: id$1, diagram: diagram2 }; }; const plugin = { id: id$1, detector, loader }; const warning = (s10) => { console.error("Log function was called before initialization", s10); }; 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 = (t10, e10, n10) => e10 in t10 ? v6(t10, e10, { enumerable: true, configurable: true, writable: true, value: n10 }) : t10[e10] = n10; var W$1 = (t10, e10, n10) => (b6(t10, typeof e10 != "symbol" ? e10 + "" : e10, n10), n10); var Y0 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}; function w6(t10) { try { return JSON.stringify(t10); } catch { return '"[Circular]"'; } } var E6 = T6; function T6(t10, e10, n10) { var r10 = n10 && n10.stringify || w6, s10 = 1; if (typeof t10 == "object" && t10 !== null) { var i10 = e10.length + s10; if (i10 === 1) return t10; var o10 = new Array(i10); o10[0] = r10(t10); for (var l10 = 1; l10 < i10; l10++) o10[l10] = r10(e10[l10]); return o10.join(" "); } if (typeof t10 != "string") return t10; var a10 = e10.length; if (a10 === 0) return t10; for (var c10 = "", u10 = 1 - s10, h10 = -1, d10 = t10 && t10.length || 0, p10 = 0; p10 < d10; ) { if (t10.charCodeAt(p10) === 37 && p10 + 1 < d10) { switch (h10 = h10 > -1 ? h10 : 0, t10.charCodeAt(p10 + 1)) { case 100: case 102: if (u10 >= a10 || e10[u10] == null) break; h10 < p10 && (c10 += t10.slice(h10, p10)), c10 += Number(e10[u10]), h10 = p10 + 2, p10++; break; case 105: if (u10 >= a10 || e10[u10] == null) break; h10 < p10 && (c10 += t10.slice(h10, p10)), c10 += Math.floor(Number(e10[u10])), h10 = p10 + 2, p10++; break; case 79: case 111: case 106: if (u10 >= a10 || e10[u10] === void 0) break; h10 < p10 && (c10 += t10.slice(h10, p10)); var g = typeof e10[u10]; if (g === "string") { c10 += "'" + e10[u10] + "'", h10 = p10 + 2, p10++; break; } if (g === "function") { c10 += e10[u10].name || "<anonymous>", h10 = p10 + 2, p10++; break; } c10 += r10(e10[u10]), h10 = p10 + 2, p10++; break; case 115: if (u10 >= a10) break; h10 < p10 && (c10 += t10.slice(h10, p10)), c10 += String(e10[u10]), h10 = p10 + 2, p10++; break; case 37: h10 < p10 && (c10 += t10.slice(h10, p10)), c10 += "%", h10 = p10 + 2, p10++, u10--; break; } ++u10; } ++p10; } return h10 === -1 ? t10 : (h10 < d10 && (c10 += t10.slice(h10)), c10); } const kc = E6; var S6 = wn$1; const a0 = D6().console || {}, A6 = { mapHttpRequest: X0, mapHttpResponse: X0, wrapRequestSerializer: z1, wrapResponseSerializer: z1, wrapErrorSerializer: z1, req: X0, res: X0, err: M6 }; function k6(t10, e10) { return Array.isArray(t10) ? t10.filter(function(r10) { return r10 !== "!stdSerializers.err"; }) : t10 === true ? Object.keys(e10) : false; } function wn$1(t10) { t10 = t10 || {}, t10.browser = t10.browser || {}; const e10 = t10.browser.transmit; if (e10 && typeof e10.send != "function") throw Error("pino: transmit option must have a send function"); const n10 = t10.browser.write || a0; t10.browser.write && (t10.browser.asObject = true); const r10 = t10.serializers || {}, s10 = k6(t10.browser.serialize, r10); let i10 = t10.browser.serialize; Array.isArray(t10.browser.serialize) && t10.browser.serialize.indexOf("!stdSerializers.err") > -1 && (i10 = false); const o10 = ["error", "fatal", "warn", "info", "debug", "trace"]; typeof n10 == "function" && (n10.error = n10.fatal = n10.warn = n10.info = n10.debug = n10.trace = n10), (t10.enabled === false || t10.browser.disabled) && (t10.level = "silent"); const l10 = t10.level || "info", a10 = Object.create(n10); a10.log || (a10.log = c0), Object.defineProperty(a10, "levelVal", { get: u10 }), Object.defineProperty(a10, "level", { get: h10, set: d10 }); const c10 = { transmit: e10, serialize: s10, asObject: t10.browser.asObject, levels: o10, timestamp: N6(t10) }; a10.levels = wn$1.levels, a10.level = l10, a10.setMaxListeners = a10.getMaxListeners = a10.emit = a10.addListener = a10.on = a10.prependListener = a10.once = a10.prependOnceListener = a10.removeListener = a10.removeAllListeners = a10.listeners = a10.listenerCount = a10.eventNames = a10.write = a10.flush = c0, a10.serializers = r10, a10._serialize = s10, a10._stdErrSerialize = i10, a10.child = p10, e10 && (a10._logEvent = _o()); function u10() { return this.level === "silent" ? 1 / 0 : this.levels.values[this.level]; } function h10() { return this._level; } function d10(g) { if (g !== "silent" && !this.levels.values[g]) throw Error("unknown level " + g); this._level = g, Yr(c10, a10, "error", "log"), Yr(c10, a10, "fatal", "error"), Yr(c10, a10, "warn", "error"), Yr(c10, a10, "info", "log"), Yr(c10, a10, "debug", "log"), Yr(c10, a10, "trace", "log"); } function p10(g, L) { if (!g) throw new Error("missing bindings for child Pino"); L = L || {}, s10 && g.serializers && (L.serializers = g.serializers); const T = L.serializers; if (s10 && T) { var _10 = Object.assign({}, r10, T), x = t10.browser.serialize === true ? Object.keys(_10) : s10; delete g.serializers, qi([g], x, _10, 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"), _10 && (this.serializers = _10, this._serialize = x), e10 && (this._logEvent = _o( [].concat(E._logEvent.bindings, g) )); } return C.prototype = this, new C(this); } return a10; } wn$1.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$1.stdSerializers = A6; wn$1.stdTimeFunctions = Object.assign({}, { nullTime: Mu, epochTime: Nu, unixTime: P6, isoTime: F6 }); function Yr(t10, e10, n10, r10) { const s10 = Object.getPrototypeOf(e10); e10[n10] = e10.levelVal > e10.levels.values[n10] ? c0 : s10[n10] ? s10[n10] : a0[n10] || a0[r10] || c0, R6(t10, e10, n10); } function R6(t10, e10, n10) { !t10.transmit && e10[n10] === c0 || (e10[n10] = function(r10) { return function() { const i10 = t10.timestamp(), o10 = new Array(arguments.length), l10 = Object.getPrototypeOf && Object.getPrototypeOf(this) === a0 ? a0 : this; for (var a10 = 0; a10 < o10.length; a10++) o10[a10] = arguments[a10]; if (t10.serialize && !t10.asObject && qi(o10, this._serialize, this.serializers, this._stdErrSerialize), t10.asObject ? r10.call(l10, O6(this, n10, o10, i10)) : r10.apply(l10, o10), t10.transmit) { const c10 = t10.transmit.level || e10.level, u10 = wn$1.levels.values[c10], h10 = wn$1.levels.values[n10]; if (h10 < u10) return; I6(this, { ts: i10, methodLevel: n10, methodValue: h10, transmitLevel: c10, transmitValue: wn$1.levels.values[t10.transmit.level || e10.level], send: t10.transmit.send, val: e10.levelVal }, o10); } }; }(e10[n10])); } function O6(t10, e10, n10, r10) { t10._serialize && qi(n10, t10._serialize, t10.serializers, t10._stdErrSerialize); const s10 = n10.slice(); let i10 = s10[0]; const o10 = {}; r10 && (o10.time = r10), o10.level = wn$1.levels.values[e10]; let l10 = (t10._childLevel | 0) + 1; if (l10 < 1 && (l10 = 1), i10 !== null && typeof i10 == "object") { for (; l10-- && typeof s10[0] == "object"; ) Object.assign(o10, s10.shift()); i10 = s10.length ? kc(s10.shift(), s10) : void 0; } else typeof i10 == "string" && (i10 = kc(s10.shift(), s10)); return i10 !== void 0 && (o10.msg = i10), o10; } function qi(t10, e10, n10, r10) { for (const s10 in t10) if (r10 && t10[s10] instanceof Error) t10[s10] = wn$1.stdSerializers.err(t10[s10]); else if (typeof t10[s10] == "object" && !Array.isArray(t10[s10])) for (const i10 in t10[s10]) e10 && e10.indexOf(i10) > -1 && i10 in n10 && (t10[s10][i10] = n10[i10](t10[s10][i10])); } function Xr(t10, e10, n10) { return function() { const r10 = new Array(1 + arguments.length); r10[0] = e10; for (var s10 = 1; s10 < r10.length; s10++) r10[s10] = arguments[s10 - 1]; return t10[n10].apply(this, r10); }; } function I6(t10, e10, n10) { const r10 = e10.send, s10 = e10.ts, i10 = e10.methodLevel, o10 = e10.methodValue, l10 = e10.val, a10 = t10._logEvent.bindings; qi( n10, t10._serialize || Object.keys(t10.serializers), t10.serializers, t10._stdErrSerialize === void 0 ? true : t10._stdErrSerialize ), t10._logEvent.ts = s10, t10._logEvent.messages = n10.filter(function(c10) { return a10.indexOf(c10) === -1; }), t10._logEvent.level.label = i10, t10._logEvent.level.value = o10, r10(i10, t10._logEvent, l10), t10._logEvent = _o(a10); } function _o(t10) { return { ts: 0, messages: [], bindings: t10 || [], level: { label: "", value: 0 } }; } function M6(t10) { const e10 = { type: t10.constructor.name, msg: t10.message, stack: t10.stack }; for (const n10 in t10) e10[n10] === void 0 && (e10[n10] = t10[n10]); return e10; } function N6(t10) { return typeof t10.timestamp == "function" ? t10.timestamp : t10.timestamp === false ? Mu : Nu; } function X0() { return {}; } function z1(t10) { return t10; } 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 t10(e10) { return typeof e10 < "u" && e10; } 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 t10(self) || t10(window) || t10(this) || {}; } } const B6 = S6({ level: "warn" }), Rc = ["log", "trace", "debug", "info", "warn", "error"]; function $6(t10, e10) { t10[e10] = (console[e10] || console.log).bind(console); } function H6(t10, e10, n10) { t10[e10] = (console[e10] || console.log).bind( console, n10[0], n10[1] ); } function U6(t10) { Rc.forEach((n10) => $6(t10, n10)); const e10 = t10.child; return t10.child = function(n10) { const r10 = e10.call(t10, n10); return Rc.forEach( (s10) => H6(r10, s10, ["%c" + n10.name || "", "color: #00f"]) ), r10; }, t10; } const b0 = U6(B6); function ws(t10, e10) { const n10 = /* @__PURE__ */ Object.create(null), r10 = t10.split(","); for (let s10 = 0; s10 < r10.length; s10++) n10[r10[s10]] = true; return e10 ? (s10) => !!n10[s10.toLowerCase()] : (s10) => !!n10[s10]; } 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$1(t10) { if (K$1(t10)) { const e10 = {}; for (let n10 = 0; n10 < t10.length; n10++) { const r10 = t10[n10], s10 = Ke$1(r10) ? W6(r10) : Ce$1(r10); if (s10) for (const i10 in s10) e10[i10] = s10[i10]; } return e10; } else { if (Ke$1(t10)) return t10; if (Se(t10)) return t10; } } const G6 = /;(?![^(]*\))/g, j6 = /:([^]+)/, Z6 = /\/\*.*?\*\//gs; function W6(t10) { const e10 = {}; return t10.replace(Z6, "").split(G6).forEach((n10) => { if (n10) { const r10 = n10.split(j6); r10.length > 1 && (e10[r10[0].trim()] = r10[1].trim()); } }), e10; } function ve$1(t10) { let e10 = ""; if (Ke$1(t10)) e10 = t10; else if (K$1(t10)) for (let n10 = 0; n10 < t10.length; n10++) { const r10 = ve$1(t10[n10]); r10 && (e10 += r10 + " "); } else if (Se(t10)) for (const n10 in t10) t10[n10] && (e10 += n10 + " "); return e10.trim(); } function q6(t10) { if (!t10) return null; let { class: e10, style: n10 } = t10; return e10 && !Ke$1(e10) && (t10.class = ve$1(e10)), n10 && (t10.style = Ce$1(n10)), t10; } const K6 = "itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly", Pu = /* @__PURE__ */ ws(K6); function Fu(t10) { return !!t10 || t10 === ""; } function Y6(t10, e10) { if (t10.length !== e10.length) return false; let n10 = true; for (let r10 = 0; n10 && r10 < t10.length; r10++) n10 = jn(t10[r10], e10[r10]); return n10; } function jn(t10, e10) { if (t10 === e10) return true; let n10 = Oc(t10), r10 = Oc(e10); if (n10 || r10) return n10 && r10 ? t10.getTime() === e10.getTime() : false; if (n10 = u0(t10), r10 = u0(e10), n10 || r10) return t10 === e10; if (n10 = K$1(t10), r10 = K$1(e10), n10 || r10) return n10 && r10 ? Y6(t10, e10) : false; if (n10 = Se(t10), r10 = Se(e10), n10 || r10) { if (!n10 || !r10) return false; const s10 = Object.keys(t10).length, i10 = Object.keys(e10).length; if (s10 !== i10) return false; for (const o10 in t10) { const l10 = t10.hasOwnProperty(o10), a10 = e10.hasOwnProperty(o10); if (l10 && !a10 || !l10 && a10 || !jn(t10[o10], e10[o10])) return false; } } return String(t10) === String(e10); } function w0(t10, e10) { return t10.findIndex((n10) => jn(n10, e10)); } const Ve$1 = (t10) => Ke$1(t10) ? t10 : t10 == null ? "" : K$1(t10) || Se(t10) && (t10.toString === Bu || !ue$1(t10.toString)) ? JSON.stringify(t10, Du, 2) : String(t10), Du = (t10, e10) => e10 && e10.__v_isRef ? Du(t10, e10.value) : is(e10) ? { [`Map(${e10.size})`]: [...e10.entries()].reduce((n10, [r10, s10]) => (n10[`${r10} =>`] = s10, n10), {}) } : Gr(e10) ? { [`Set(${e10.size})`]: [...e10.values()] } : Se(e10) && !K$1(e10) && !Ei(e10) ? String(e10) : e10, Ge$1 = {}, ss = [], Bt$1 = () => { }, X6 = () => false, Q6 = /^on[^a-z]/, Yn = (t10) => Q6.test(t10), Ll = (t10) => t10.startsWith("onUpdate:"), Oe$1 = Object.assign, _l = (t10, e10) => { const n10 = t10.indexOf(e10); n10 > -1 && t10.splice(n10, 1); }, J6 = Object.prototype.hasOwnProperty, Me = (t10, e10) => J6.call(t10, e10), K$1 = Array.isArray, is = (t10) => E0(t10) === "[object Map]", Gr = (t10) => E0(t10) === "[object Set]", Oc = (t10) => E0(t10) === "[object Date]", ue$1 = (t10) => typeof t10 == "function", Ke$1 = (t10) => typeof t10 == "string", u0 = (t10) => typeof t10 == "symbol", Se = (t10) => t10 !== null && typeof t10 == "object", Ki = (t10) => Se(t10) && ue$1(t10.then) && ue$1(t10.catch), Bu = Object.prototype.toString, E0 = (t10) => Bu.call(t10), e8 = (t10) => E0(t10).slice(8, -1), Ei = (t10) => E0(t10) === "[object Object]", yl = (t10) => Ke$1(t10) && t10 !== "NaN" && t10[0] !== "-" && "" + parseInt(t10, 10) === t10, os = /* @__PURE__ */ ws( ",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted" ), Yi = (t10) => { const e10 = /* @__PURE__ */ Object.create(null); return (n10) => e10[n10] || (e10[n10] = t10(n10)); }, t8 = /-(\w)/g, Rt$1 = Yi((t10) => t10.replace(t8, (e10, n10) => n10 ? n10.toUpperCase() : "")), n8 = /\B([A-Z])/g, St$1 = Yi((t10) => t10.replace(n8, "-$1").toLowerCase()), T0 = Yi((t10) => t10.charAt(0).toUpperCase() + t10.slice(1)), ls = Yi((t10) => t10 ? `on${T0(t10)}` : ""), ms = (t10, e10) => !Object.is(t10, e10), cr = (t10, e10) => { for (let n10 = 0; n10 < t10.length; n10++) t10[n10](e10); }, Ti = (t10, e10, n10) => { Object.defineProperty(t10, e10, { configurable: true, enumerable: false, value: n10 }); }, An$1 = (t10) => { const e10 = parseFloat(t10); return isNaN(e10) ? t10 : e10; }; let Ic; const r8 = () => Ic || (Ic = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {}); let Zt$1; class Cl { constructor(e10 = false) { this.detached = e10, this.active = true, this.effects = [], this.cleanups = [], this.parent = Zt$1, !e10 && Zt$1 && (this.index = (Zt$1.scopes || (Zt$1.scopes = [])).push(this) - 1); } run(e10) { if (this.active) { const n10 = Zt$1; try { return Zt$1 = this, e10(); } finally { Zt$1 = n10; } } } on() { Zt$1 = this; } off() { Zt$1 = this.parent; } stop(e10) { if (this.active) { let n10, r10; for (n10 = 0, r10 = this.effects.length; n10 < r10; n10++) this.effects[n10].stop(); for (n10 = 0, r10 = this.cleanups.length; n10 < r10; n10++) this.cleanups[n10](); if (this.scopes) for (n10 = 0, r10 = this.scopes.length; n10 < r10; n10++) this.scopes[n10].stop(true); if (!this.detached && this.parent && !e10) { const s10 = this.parent.scopes.pop(); s10 && s10 !== this && (this.parent.scopes[this.index] = s10, s10.index = this.index); } this.parent = void 0, this.active = false; } } } function $u(t10) { return new Cl(t10); } function Hu(t10, e10 = Zt$1) { e10 && e10.active && e10.effects.push(t10); } function s8() { return Zt$1; } function i8(t10) { Zt$1 && Zt$1.cleanups.push(t10); } const vl = (t10) => { const e10 = new Set(t10); return e10.w = 0, e10.n = 0, e10; }, Uu = (t10) => (t10.w & pr) > 0, Vu = (t10) => (t10.n & pr) > 0, o8 = ({ deps: t10 }) => { if (t10.length) for (let e10 = 0; e10 < t10.length; e10++) t10[e10].w |= pr; }, l8 = (t10) => { const { deps: e10 } = t10; if (e10.length) { let n10 = 0; for (let r10 = 0; r10 < e10.length; r10++) { const s10 = e10[r10]; Uu(s10) && !Vu(s10) ? s10.delete(t10) : e10[n10++] = s10, s10.w &= ~pr, s10.n &= ~pr; } e10.length = n10; } }, yo = /* @__PURE__ */ new WeakMap(); let Ks = 0, pr = 1; const Co = 30; let hn$1; const Ir = Symbol(""), vo = Symbol(""); class S0 { constructor(e10, n10 = null, r10) { this.fn = e10, this.scheduler = n10, this.active = true, this.deps = [], this.parent = void 0, Hu(this, r10); } run() { if (!this.active) return this.fn(); let e10 = hn$1, n10 = ur; for (; e10; ) { if (e10 === this) return; e10 = e10.parent; } try { return this.parent = hn$1, hn$1 = this, ur = true, pr = 1 << ++Ks, Ks <= Co ? o8(this) : Mc(this), this.fn(); } finally { Ks <= Co && l8(this), pr = 1 << --Ks, hn$1 = this.parent, ur = n10, this.parent = void 0, this.deferStop && this.stop(); } } stop() { hn$1 === this ? this.deferStop = true : this.active && (Mc(this), this.onStop && this.onStop(), this.active = false); } } function Mc(t10) { const { deps: e10 } = t10; if (e10.length) { for (let n10 = 0; n10 < e10.length; n10++) e10[n10].delete(t10); e10.length = 0; } } function a8(t10, e10) { t10.effect && (t10 = t10.effect.fn); const n10 = new S0(t10); e10 && (Oe$1(n10, e10), e10.scope && Hu(n10, e10.scope)), (!e10 || !e10.lazy) && n10.run(); const r10 = n10.run.bind(n10); return r10.effect = n10, r10; } function c8(t10) { t10.effect.stop(); } let ur = true; const zu = []; function Es() { zu.push(ur), ur = false; } function Ts() { const t10 = zu.pop(); ur = t10 === void 0 ? true : t10; } function Ht$1(t10, e10, n10) { if (ur && hn$1) { let r10 = yo.get(t10); r10 || yo.set(t10, r10 = /* @__PURE__ */ new Map()); let s10 = r10.get(n10); s10 || r10.set(n10, s10 = vl()), Gu(s10); } } function Gu(t10, e10) { let n10 = false; Ks <= Co ? Vu(t10) || (t10.n |= pr, n10 = !Uu(t10)) : n10 = !t10.has(hn$1), n10 && (t10.add(hn$1), hn$1.deps.push(t10)); } function kn(t10, e10, n10, r10, s10, i10) { const o10 = yo.get(t10); if (!o10) return; let l10 = []; if (e10 === "clear") l10 = [...o10.values()]; else if (n10 === "length" && K$1(t10)) { const a10 = An$1(r10); o10.forEach((c10, u10) => { (u10 === "length" || u10 >= a10) && l10.push(c10); }); } else switch (n10 !== void 0 && l10.push(o10.get(n10)), e10) { case "add": K$1(t10) ? yl(n10) && l10.push(o10.get("length")) : (l10.push(o10.get(Ir)), is(t10) && l10.push(o10.get(vo))); break; case "delete": K$1(t10) || (l10.push(o10.get(Ir)), is(t10) && l10.push(o10.get(vo))); break; case "set": is(t10) && l10.push(o10.get(Ir)); break; } if (l10.length === 1) l10[0] && bo(l10[0]); else { const a10 = []; for (const c10 of l10) c10 && a10.push(...c10); bo(vl(a10)); } } function bo(t10, e10) { const n10 = K$1(t10) ? t10 : [...t10]; for (const r10 of n10) r10.computed && Nc(r10); for (const r10 of n10) r10.computed || Nc(r10); } function Nc(t10, e10) { (t10 !== hn$1 || t10.allowRecurse) && (t10.scheduler ? t10.scheduler() : t10.run()); } const u8 = /* @__PURE__ */ ws("__proto__,__v_isRef,__isVue"), ju = new Set( /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((t10) => t10 !== "arguments" && t10 !== "caller").map((t10) => Symbol[t10]).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 t10 = {}; return ["includes", "indexOf", "lastIndexOf"].forEach((e10) => { t10[e10] = function(...n10) { const r10 = we$1(this); for (let i10 = 0, o10 = this.length; i10 < o10; i10++) Ht$1(r10, "get", i10 + ""); const s10 = r10[e10](...n10); return s10 === -1 || s10 === false ? r10[e10](...n10.map(we$1)) : s10; }; }), ["push", "pop", "shift", "unshift", "splice"].forEach((e10) => { t10[e10] = function(...n10) { Es(); const r10 = we$1(this)[e10].apply(this, n10); return Ts(), r10; }; }), t10; } function Xi(t10 = false, e10 = false) { return function(r10, s10, i10) { if (s10 === "__v_isReactive") return !t10; if (s10 === "__v_isReadonly") return t10; if (s10 === "__v_isShallow") return e10; if (s10 === "__v_raw" && i10 === (t10 ? e10 ? Qu : Xu : e10 ? Yu : Ku).get(r10)) return r10; const o10 = K$1(r10); if (!t10 && o10 && Me(Pc, s10)) return Reflect.get(Pc, s10, i10); const l10 = Reflect.get(r10, s10, i10); return (u0(s10) ? ju.has(s10) : u8(s10)) || (t10 || Ht$1(r10, "get", s10), e10) ? l10 : gt(l10) ? o10 && yl(s10) ? l10 : l10.value : Se(l10) ? t10 ? wl(l10) : Rn$1(l10) : l10; }; } const m8 = /* @__PURE__ */ Zu(), x8 = /* @__PURE__ */ Zu(true); function Zu(t10 = false) { return function(n10, r10, s10, i10) { let o10 = n10[r10]; if ($r(o10) && gt(o10) && !gt(s10)) return false; if (!t10 && (!h0(s10) && !$r(s10) && (o10 = we$1(o10), s10 = we$1(s10)), !K$1(n10) && gt(o10) && !gt(s10))) return o10.value = s10, true; const l10 = K$1(n10) && yl(r10) ? Number(r10) < n10.length : Me(n10, r10), a10 = Reflect.set(n10, r10, s10, i10); return n10 === we$1(i10) && (l10 ? ms(s10, o10) && kn(n10, "set", r10, s10) : kn(n10, "add", r10, s10)), a10; }; } function L8(t10, e10) { const n10 = Me(t10, e10); t10[e10]; const r10 = Reflect.deleteProperty(t10, e10); return r10 && n10 && kn(t10, "delete", e10, void 0), r10; } function _8(t10, e10) { const n10 = Reflect.has(t10, e10); return (!u0(e10) || !ju.has(e10)) && Ht$1(t10, "has", e10), n10; } function y8(t10) { return Ht$1(t10, "iterate", K$1(t10) ? "length" : Ir), Reflect.ownKeys(t10); } const Wu = { get: h8, set: m8, deleteProperty: L8, has: _8, ownKeys: y8 }, qu = { get: f8, set(t10, e10) { return true; }, deleteProperty(t10, e10) { return true; } }, C8 = /* @__PURE__ */ Oe$1({}, Wu, { get: d8, set: x8 }), v8 = /* @__PURE__ */ Oe$1({}, qu, { get: p8 }), bl = (t10) => t10, Qi = (t10) => Reflect.getPrototypeOf(t10); function Q0(t10, e10, n10 = false, r10 = false) { t10 = t10.__v_raw; const s10 = we$1(t10), i10 = we$1(e10); n10 || (e10 !== i10 && Ht$1(s10, "get", e10), Ht$1(s10, "get", i10)); const { has: o10 } = Qi(s10), l10 = r10 ? bl : n10 ? Sl : d0; if (o10.call(s10, e10)) return l10(t10.get(e10)); if (o10.call(s10, i10)) return l10(t10.get(i10)); t10 !== s10 && t10.get(e10); } function J0(t10, e10 = false) { const n10 = this.__v_raw, r10 = we$1(n10), s10 = we$1(t10); return e10 || (t10 !== s10 && Ht$1(r10, "has", t10), Ht$1(r10, "has", s10)), t10 === s10 ? n10.has(t10) : n10.has(t10) || n10.has(s10); } function ei(t10, e10 = false) { return t10 = t10.__v_raw, !e10 && Ht$1(we$1(t10), "iterate", Ir), Reflect.get(t10, "size", t10); } function Fc(t10) { t10 = we$1(t10); const e10 = we$1(this); return Qi(e10).has.call(e10, t10) || (e10.add(t10), kn(e10, "add", t10, t10)), this; } function Dc(t10, e10) { e10 = we$1(e10); const n10 = we$1(this), { has: r10, get: s10 } = Qi(n10); let i10 = r10.call(n10, t10); i10 || (t10 = we$1(t10), i10 = r10.call(n10, t10)); const o10 = s10.call(n10, t10); return n10.set(t10, e10), i10 ? ms(e10, o10) && kn(n10, "set", t10, e10) : kn(n10, "add", t10, e10), this; } function Bc(t10) { const e10 = we$1(this), { has: n10, get: r10 } = Qi(e10); let s10 = n10.call(e10, t10); s10 || (t10 = we$1(t10), s10 = n10.call(e10, t10)), r10 && r10.call(e10, t10); const i10 = e10.delete(t10); return s10 && kn(e10, "delete", t10, void 0), i10; } function $c() { const t10 = we$1(this), e10 = t10.size !== 0, n10 = t10.clear(); return e10 && kn(t10, "clear", void 0, void 0), n10; } function ti(t10, e10) { return function(r10, s10) { const i10 = this, o10 = i10.__v_raw, l10 = we$1(o10), a10 = e10 ? bl : t10 ? Sl : d0; return !t10 && Ht$1(l10, "iterate", Ir), o10.forEach((c10, u10) => r10.call(s10, a10(c10), a10(u10), i10)); }; } function ni(t10, e10, n10) { return function(...r10) { const s10 = this.__v_raw, i10 = we$1(s10), o10 = is(i10), l10 = t10 === "entries" || t10 === Symbol.iterator && o10, a10 = t10 === "keys" && o10, c10 = s10[t10](...r10), u10 = n10 ? bl : e10 ? Sl : d0; return !e10 && Ht$1(i10, "iterate", a10 ? vo : Ir), { next() { const { value: h10, done: d10 } = c10.next(); return d10 ? { value: h10, done: d10 } : { value: l10 ? [u10(h10[0]), u10(h10[1])] : u10(h10), done: d10 }; }, [Symbol.iterator]() { return this; } }; }; } function Jn(t10) { return function(...e10) { return t10 === "delete" ? false : this; }; } function b8() { const t10 = { get(i10) { return Q0(this, i10); }, get size() { return ei(this); }, has: J0, add: Fc, set: Dc, delete: Bc, clear: $c, forEach: ti(false, false) }, e10 = { get(i10) { return Q0(this, i10, false, true); }, get size() { return ei(this); }, has: J0, add: Fc, set: Dc, delete: Bc, clear: $c, forEach: ti(false, true) }, n10 = { get(i10) { return Q0(this, i10, true); }, get size() { return ei(this, true); }, has(i10) { return J0.call(this, i10, true); }, add: Jn("add"), set: Jn("set"), delete: Jn("delete"), clear: Jn("clear"), forEach: ti(true, false) }, r10 = { get(i10) { return Q0(this, i10, true, true); }, get size() { return ei(this, true); }, has(i10) { return J0.call(this, i10, true); }, add: Jn("add"), set: Jn("set"), delete: Jn("delete"), clear: Jn("clear"), forEach: ti(true, true) }; return ["keys", "values", "entries", Symbol.iterator].forEach((i10) => { t10[i10] = ni(i10, false, false), n10[i10] = ni(i10, true, false), e10[i10] = ni(i10, false, true), r10[i10] = ni(i10, true, true); }), [ t10, n10, e10, r10 ]; } const [w8, E8, T8, S8] = /* @__PURE__ */ b8(); function Ji(t10, e10) { const n10 = e10 ? t10 ? S8 : T8 : t10 ? E8 : w8; return (r10, s10, i10) => s10 === "__v_isReactive" ? !t10 : s10 === "__v_isReadonly" ? t10 : s10 === "__v_raw" ? r10 : Reflect.get(Me(n10, s10) && s10 in r10 ? n10 : r10, s10, i10); } 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(t10) { switch (t10) { case "Object": case "Array": return 1; case "Map": case "Set": case "WeakMap": case "WeakSet": return 2; default: return 0; } } function M8(t10) { return t10.__v_skip || !Object.isExtensible(t10) ? 0 : I8(e8(t10)); } function Rn$1(t10) { return $r(t10) ? t10 : e1(t10, false, Wu, A8, Ku); } function Ju(t10) { return e1(t10, false, C8, k8, Yu); } function wl(t10) { return e1(t10, true, qu, R8, Xu); } function N8(t10) { return e1(t10, true, v8, O8, Qu); } function e1(t10, e10, n10, r10, s10) { if (!Se(t10) || t10.__v_raw && !(e10 && t10.__v_isReactive)) return t10; const i10 = s10.get(t10); if (i10) return i10; const o10 = M8(t10); if (o10 === 0) return t10; const l10 = new Proxy(t10, o10 === 2 ? r10 : n10); return s10.set(t10, l10), l10; } function Un(t10) { return $r(t10) ? Un(t10.__v_raw) : !!(t10 && t10.__v_isReactive); } function $r(t10) { return !!(t10 && t10.__v_isReadonly); } function h0(t10) { return !!(t10 && t10.__v_isShallow); } function El(t10) { return Un(t10) || $r(t10); } function we$1(t10) { const e10 = t10 && t10.__v_raw; return e10 ? we$1(e10) : t10; } function Tl(t10) { return Ti(t10, "__v_skip", true), t10; } const d0 = (t10) => Se(t10) ? Rn$1(t10) : t10, Sl = (t10) => Se(t10) ? wl(t10) : t10; function Al(t10) { ur && hn$1 && (t10 = we$1(t10), Gu(t10.dep || (t10.dep = vl()))); } function t1(t10, e10) { t10 = we$1(t10), t10.dep && bo(t10.dep); } function gt(t10) { return !!(t10 && t10.__v_isRef === true); } function ge(t10) { return t3(t10, false); } function e3(t10) { return t3(t10, true); } function t3(t10, e10) { return gt(t10) ? t10 : new P8(t10, e10); } class P8 { constructor(e10, n10) { this.__v_isShallow = n10, this.dep = void 0, this.__v_isRef = true, this._rawValue = n10 ? e10 : we$1(e10), this._value = n10 ? e10 : d0(e10); } get value() { return Al(this), this._value; } set value(e10) { const n10 = this.__v_isShallow || h0(e10) || $r(e10); e10 = n10 ? e10 : we$1(e10), ms(e10, this._rawValue) && (this._rawValue = e10, this._value = n10 ? e10 : d0(e10), t1(this)); } } function F8(t10) { t1(t10); } function _e(t10) { return gt(t10) ? t10.value : t10; } const D8 = { get: (t10, e10, n10) => _e(Reflect.get(t10, e10, n10)), set: (t10, e10, n10, r10) => { const s10 = t10[e10]; return gt(s10) && !gt(n10) ? (s10.value = n10, true) : Reflect.set(t10, e10, n10, r10); } }; function kl(t10) { return Un(t10) ? t10 : new Proxy(t10, D8); } class B8 { constructor(e10) { this.dep = void 0, this.__v_isRef = true; const { get: n10, set: r10 } = e10(() => Al(this), () => t1(this)); this._get = n10, this._set = r10; } get value() { return this._get(); } set value(e10) { this._set(e10); } } function $8(t10) { return new B8(t10); } function Rl(t10) { const e10 = K$1(t10) ? new Array(t10.length) : {}; for (const n10 in t10) e10[n10] = n3(t10, n10); return e10; } class H8 { constructor(e10, n10, r10) { this._object = e10, this._key = n10, this._defaultValue = r10, this.__v_isRef = true; } get value() { const e10 = this._object[this._key]; return e10 === void 0 ? this._defaultValue : e10; } set value(e10) { this._object[this._key] = e10; } } function n3(t10, e10, n10) { const r10 = t10[e10]; return gt(r10) ? r10 : new H8(t10, e10, n10); } var r3; class U8 { constructor(e10, n10, r10, s10) { this._setter = n10, this.dep = void 0, this.__v_isRef = true, this[r3] = false, this._dirty = true, this.effect = new S0(e10, () => { this._dirty || (this._dirty = true, t1(this)); }), this.effect.computed = this, this.effect.active = this._cacheable = !s10, this.__v_isReadonly = r10; } get value() { const e10 = we$1(this); return Al(e10), (e10._dirty || !e10._cacheable) && (e10._dirty = false, e10._value = e10.effect.run()), e10._value; } set value(e10) { this._setter(e10); } } r3 = "__v_isReadonly"; function V8(t10, e10, n10 = false) { let r10, s10; const i10 = ue$1(t10); return i10 ? (r10 = t10, s10 = Bt$1) : (r10 = t10.get, s10 = t10.set), new U8(r10, s10, i10 || !s10, n10); } function z8(t10, ...e10) { } function En$1(t10, e10, n10, r10) { let s10; try { s10 = r10 ? t10(...r10) : t10(); } catch (i10) { jr(i10, e10, n10); } return s10; } function $t$1(t10, e10, n10, r10) { if (ue$1(t10)) { const i10 = En$1(t10, e10, n10, r10); return i10 && Ki(i10) && i10.catch((o10) => { jr(o10, e10, n10); }), i10; } const s10 = []; for (let i10 = 0; i10 < t10.length; i10++) s10.push($t$1(t10[i10], e10, n10, r10)); return s10; } function jr(t10, e10, n10, r10 = true) { const s10 = e10 ? e10.vnode : null; if (e10) { let i10 = e10.parent; const o10 = e10.proxy, l10 = n10; for (; i10; ) { const c10 = i10.ec; if (c10) { for (let u10 = 0; u10 < c10.length; u10++) if (c10[u10](t10, o10, l10) === false) return; } i10 = i10.parent; } const a10 = e10.appContext.config.errorHandler; if (a10) { En$1(a10, null, 10, [t10, o10, l10]); return; } } G8(t10, n10, s10, r10); } function G8(t10, e10, n10, r10 = true) { console.error(t10); } let f0 = false, wo = false; const vt = []; let Cn$1 = 0; const as = []; let $n = null, Tr = 0; const s3 = /* @__PURE__ */ Promise.resolve(); let Ol = null; function gr(t10) { const e10 = Ol || s3; return t10 ? e10.then(this ? t10.bind(this) : t10) : e10; } function j8(t10) { let e10 = Cn$1 + 1, n10 = vt.length; for (; e10 < n10; ) { const r10 = e10 + n10 >>> 1; p0(vt[r10]) < t10 ? e10 = r10 + 1 : n10 = r10; } return e10; } function n1(t10) { (!vt.length || !vt.includes(t10, f0 && t10.allowRecurse ? Cn$1 + 1 : Cn$1)) && (t10.id == null ? vt.push(t10) : vt.splice(j8(t10.id), 0, t10), i3()); } function i3() { !f0 && !wo && (wo = true, Ol = s3.then(o3)); } function Z8(t10) { const e10 = vt.indexOf(t10); e10 > Cn$1 && vt.splice(e10, 1); } function Il(t10) { K$1(t10) ? as.push(...t10) : (!$n || !$n.includes(t10, t10.allowRecurse ? Tr + 1 : Tr)) && as.push(t10), i3(); } function Hc(t10, e10 = f0 ? Cn$1 + 1 : 0) { for (; e10 < vt.length; e10++) { const n10 = vt[e10]; n10 && n10.pre && (vt.splice(e10, 1), e10--, n10()); } } function Si(t10) { if (as.length) { const e10 = [...new Set(as)]; if (as.length = 0, $n) { $n.push(...e10); return; } for ($n = e10, $n.sort((n10, r10) => p0(n10) - p0(r10)), Tr = 0; Tr < $n.length; Tr++) $n[Tr](); $n = null, Tr = 0; } } const p0 = (t10) => t10.id == null ? 1 / 0 : t10.id, W8 = (t10, e10) => { const n10 = p0(t10) - p0(e10); if (n10 === 0) { if (t10.pre && !e10.pre) return -1; if (e10.pre && !t10.pre) return 1; } return n10; }; function o3(t10) { wo = false, f0 = true, vt.sort(W8); try { for (Cn$1 = 0; Cn$1 < vt.length; Cn$1++) { const n10 = vt[Cn$1]; n10 && n10.active !== false && En$1(n10, null, 14); } } finally { Cn$1 = 0, vt.length = 0, Si(), f0 = false, Ol = null, (vt.length || as.length) && o3(); } } let ns, ri = []; function l3(t10, e10) { var n10, r10; ns = t10, ns ? (ns.enabled = true, ri.forEach(({ event: s10, args: i10 }) => ns.emit(s10, ...i10)), ri = []) : typeof window < "u" && window.HTMLElement && !(!((r10 = (n10 = window.navigator) === null || n10 === void 0 ? void 0 : n10.userAgent) === null || r10 === void 0) && r10.includes("jsdom")) ? ((e10.__VUE_DEVTOOLS_HOOK_REPLAY__ = e10.__VUE_DEVTOOLS_HOOK_REPLAY__ || []).push((i10) => { l3(i10, e10); }), setTimeout(() => { ns || (e10.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, ri = []); }, 3e3)) : ri = []; } function q8(t10, e10, ...n10) { } const Ml = { MODE: 2 }; function K8(t10) { Oe$1(Ml, t10); } function Uc(t10, e10) { const n10 = e10 && e10.type.compatConfig; return n10 && t10 in n10 ? n10[t10] : Ml[t10]; } function Ue$1(t10, e10, n10 = false) { if (!n10 && e10 && e10.type.__isBuiltIn) return false; const r10 = Uc("MODE", e10) || 2, s10 = Uc(t10, e10); return (ue$1(r10) ? r10(e10 && e10.type) : r10) === 2 ? s10 !== false : s10 === true || s10 === "suppress-warning"; } function _t$1(t10, e10, ...n10) { if (!Ue$1(t10, e10)) throw new Error(`${t10} compat has been disabled.`); } function Zn(t10, e10, ...n10) { return Ue$1(t10, e10); } function r1(t10, e10, ...n10) { return Ue$1(t10, e10); } const Eo = /* @__PURE__ */ new WeakMap(); function Nl(t10) { let e10 = Eo.get(t10); return e10 || Eo.set(t10, e10 = /* @__PURE__ */ Object.create(null)), e10; } function Pl(t10, e10, n10) { if (K$1(e10)) e10.forEach((r10) => Pl(t10, r10, n10)); else { e10.startsWith("hook:") ? _t$1("INSTANCE_EVENT_HOOKS", t10, e10) : _t$1("INSTANCE_EVENT_EMITTER", t10); const r10 = Nl(t10); (r10[e10] || (r10[e10] = [])).push(n10); } return t10.proxy; } function Y8(t10, e10, n10) { const r10 = (...s10) => { Fl(t10, e10, r10), n10.call(t10.proxy, ...s10); }; return r10.fn = n10, Pl(t10, e10, r10), t10.proxy; } function Fl(t10, e10, n10) { _t$1("INSTANCE_EVENT_EMITTER", t10); const r10 = t10.proxy; if (!e10) return Eo.set(t10, /* @__PURE__ */ Object.create(null)), r10; if (K$1(e10)) return e10.forEach((o10) => Fl(t10, o10, n10)), r10; const s10 = Nl(t10), i10 = s10[e10]; return i10 ? n10 ? (s10[e10] = i10.filter((o10) => !(o10 === n10 || o10.fn === n10)), r10) : (s10[e10] = void 0, r10) : r10; } function X8(t10, e10, n10) { const r10 = Nl(t10)[e10]; return r10 && $t$1(r10.map((s10) => s10.bind(t10.proxy)), t10, 6, n10), t10.proxy; } const s1 = "onModelCompat:"; function Q8(t10) { const { type: e10, shapeFlag: n10, props: r10, dynamicProps: s10 } = t10, i10 = e10; if (n10 & 6 && r10 && "modelValue" in r10) { if (!Ue$1( "COMPONENT_V_MODEL", { type: e10 } )) return; const o10 = i10.model || {}; a3(o10, i10.mixins); const { prop: l10 = "value", event: a10 = "input" } = o10; l10 !== "modelValue" && (r10[l10] = r10.modelValue, delete r10.modelValue), s10 && (s10[s10.indexOf("modelValue")] = l10), r10[s1 + a10] = r10["onUpdate:modelValue"], delete r10["onUpdate:modelValue"]; } } function a3(t10, e10) { e10 && e10.forEach((n10) => { n10.model && Oe$1(t10, n10.model), n10.mixins && a3(t10, n10.mixins); }); } function J8(t10, e10, n10) { if (!Ue$1("COMPONENT_V_MODEL", t10)) return; const r10 = t10.vnode.props, s10 = r10 && r10[s1 + e10]; s10 && En$1(s10, t10, 6, n10); } function ed(t10, e10, ...n10) { if (t10.isUnmounted) return; const r10 = t10.vnode.props || Ge$1; let s10 = n10; const i10 = e10.startsWith("update:"), o10 = i10 && e10.slice(7); if (o10 && o10 in r10) { const u10 = `${o10 === "modelValue" ? "model" : o10}Modifiers`, { number: h10, trim: d10 } = r10[u10] || Ge$1; d10 && (s10 = n10.map((p10) => Ke$1(p10) ? p10.trim() : p10)), h10 && (s10 = n10.map(An$1)); } let l10, a10 = r10[l10 = ls(e10)] || r10[l10 = ls(Rt$1(e10))]; !a10 && i10 && (a10 = r10[l10 = ls(St$1(e10))]), a10 && $t$1(a10, t10, 6, s10); const c10 = r10[l10 + "Once"]; if (c10) { if (!t10.emitted) t10.emitted = {}; else if (t10.emitted[l10]) return; t10.emitted[l10] = true, $t$1(c10, t10, 6, s10); } return J8(t10, e10, s10), X8(t10, e10, s10); } function c3(t10, e10, n10 = false) { const r10 = e10.emitsCache, s10 = r10.get(t10); if (s10 !== void 0) return s10; const i10 = t10.emits; let o10 = {}, l10 = false; if (!ue$1(t10)) { const a10 = (c10) => { const u10 = c3(c10, e10, true); u10 && (l10 = true, Oe$1(o10, u10)); }; !n10 && e10.mixins.length && e10.mixins.forEach(a10), t10.extends && a10(t10.extends), t10.mixins && t10.mixins.forEach(a10); } return !i10 && !l10 ? (Se(t10) && r10.set(t10, null), null) : (K$1(i10) ? i10.forEach((a10) => o10[a10] = null) : Oe$1(o10, i10), Se(t10) && r10.set(t10, o10), o10); } function i1(t10, e10) { return !t10 || !Yn(e10) ? false : e10.startsWith(s1) ? true : (e10 = e10.slice(2).replace(/Once$/, ""), Me(t10, e10[0].toLowerCase() + e10.slice(1)) || Me(t10, St$1(e10)) || Me(t10, e10)); } let ut = null, cs = null; function g0(t10) { const e10 = ut; return ut = t10, cs = t10 && t10.type.__scopeId || null, cs || (cs = t10 && t10.type._scopeId || null), e10; } function Ss(t10) { cs = t10; } function As() { cs = null; } const td = (t10) => jt$1; function jt$1(t10, e10 = ut, n10) { if (!e10 || t10._n) return t10; const r10 = (...s10) => { r10._d && Io(-1); const i10 = g0(e10); let o10; try { o10 = t10(...s10); } finally { g0(i10), r10._d && Io(1); } return o10; }; return r10._n = true, r10._c = true, r10._d = true, n10 && (r10._ns = true), r10; } function yi(t10) { const { type: e10, vnode: n10, proxy: r10, withProxy: s10, props: i10, propsOptions: [o10], slots: l10, attrs: a10, emit: c10, render: u10, renderCache: h10, data: d10, setupState: p10, ctx: g, inheritAttrs: L } = t10; let T, _10; const x = g0(t10); try { if (n10.shapeFlag & 4) { const E = s10 || r10; T = Wt$1(u10.call(E, E, h10, i10, p10, d10, g)), _10 = a10; } else { const E = e10; T = Wt$1(E.length > 1 ? E(i10, { attrs: a10, slots: l10, emit: c10 }) : E(i10, null)), _10 = e10.props ? a10 : rd(a10); } } catch (E) { Js.length = 0, jr(E, t10, 1), T = V$1(yt); } let C = T; if (_10 && L !== false) { const E = Object.keys(_10), { shapeFlag: M10 } = C; E.length && M10 & 7 && (o10 && E.some(Ll) && (_10 = sd(_10, o10)), C = an$1(C, _10)); } if (Ue$1("INSTANCE_ATTRS_CLASS_STYLE", t10) && n10.shapeFlag & 4 && C.shapeFlag & 7) { const { class: E, style: M10 } = n10.props || {}; (E || M10) && (C = an$1(C, { class: E, style: M10 })); } return n10.dirs && (C = an$1(C), C.dirs = C.dirs ? C.dirs.concat(n10.dirs) : n10.dirs), n10.transition && (C.transition = n10.transition), T = C, g0(x), T; } function nd(t10) { let e10; for (let n10 = 0; n10 < t10.length; n10++) { const r10 = t10[n10]; if (Jt$1(r10)) { if (r10.type !== yt || r10.children === "v-if") { if (e10) return; e10 = r10; } } else return; } return e10; } const rd = (t10) => { let e10; for (const n10 in t10) (n10 === "class" || n10 === "style" || Yn(n10)) && ((e10 || (e10 = {}))[n10] = t10[n10]); return e10; }, sd = (t10, e10) => { const n10 = {}; for (const r10 in t10) (!Ll(r10) || !(r10.slice(9) in e10)) && (n10[r10] = t10[r10]); return n10; }; function id(t10, e10, n10) { const { props: r10, children: s10, component: i10 } = t10, { props: o10, children: l10, patchFlag: a10 } = e10, c10 = i10.emitsOptions; if (e10.dirs || e10.transition) return true; if (n10 && a10 >= 0) { if (a10 & 1024) return true; if (a10 & 16) return r10 ? Vc(r10, o10, c10) : !!o10; if (a10 & 8) { const u10 = e10.dynamicProps; for (let h10 = 0; h10 < u10.length; h10++) { const d10 = u10[h10]; if (o10[d10] !== r10[d10] && !i1(c10, d10)) return true; } } } else return (s10 || l10) && (!l10 || !l10.$stable) ? true : r10 === o10 ? false : r10 ? o10 ? Vc(r10, o10, c10) : true : !!o10; return false; } function Vc(t10, e10, n10) { const r10 = Object.keys(e10); if (r10.length !== Object.keys(t10).length) return true; for (let s10 = 0; s10 < r10.length; s10++) { const i10 = r10[s10]; if (e10[i10] !== t10[i10] && !i1(n10, i10)) return true; } return false; } function Dl({ vnode: t10, parent: e10 }, n10) { for (; e10 && e10.subTree === t10; ) (t10 = e10.vnode).el = n10, e10 = e10.parent; } const u3 = (t10) => t10.__isSuspense, od = { name: "Suspense", __isSuspense: true, process(t10, e10, n10, r10, s10, i10, o10, l10, a10, c10) { t10 == null ? ad(e10, n10, r10, s10, i10, o10, l10, a10, c10) : cd(t10, e10, n10, r10, s10, o10, l10, a10, c10); }, hydrate: ud, create: Bl, normalize: hd }, ld = od; function m0(t10, e10) { const n10 = t10.props && t10.props[e10]; ue$1(n10) && n10(); } function ad(t10, e10, n10, r10, s10, i10, o10, l10, a10) { const { p: c10, o: { createElement: u10 } } = a10, h10 = u10("div"), d10 = t10.suspense = Bl(t10, s10, r10, e10, h10, n10, i10, o10, l10, a10); c10(null, d10.pendingBranch = t10.ssContent, h10, null, r10, d10, i10, o10), d10.deps > 0 ? (m0(t10, "onPending"), m0(t10, "onFallback"), c10( null, t10.ssFallback, e10, n10, r10, null, i10, o10 ), us(d10, t10.ssFallback)) : d10.resolve(); } function cd(t10, e10, n10,