From 82c5797b0d050ab586bf46b811d77482ecc82ab4 Mon Sep 17 00:00:00 2001 From: Moritz Kirmse Date: Fri, 3 May 2024 14:47:16 +0200 Subject: [PATCH 1/4] fix style rest button for expert style --- src/components/style-selector/style-selector.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/style-selector/style-selector.vue b/src/components/style-selector/style-selector.vue index 7ae102c2..b957ed11 100644 --- a/src/components/style-selector/style-selector.vue +++ b/src/components/style-selector/style-selector.vue @@ -16,7 +16,7 @@ const { t } = useTranslation() const mapStore = useMapStore() const appStore = useAppStore() const styleStore = useStyleStore() -const { bgStyle } = storeToRefs(styleStore) +const { bgStyle, isExpertStyleActive } = storeToRefs(styleStore) const { bgLayer } = storeToRefs(mapStore) const styles = useMvtStyles() @@ -84,7 +84,11 @@ function resetStyle() { - From c620f6e12caa0d71c6031b09bd83633c29443940 Mon Sep 17 00:00:00 2001 From: Moritz Kirmse Date: Fri, 3 May 2024 15:30:08 +0200 Subject: [PATCH 2/4] test does not work :-( --- .../style-selector/style-selector.spec.ts | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 src/components/style-selector/style-selector.spec.ts diff --git a/src/components/style-selector/style-selector.spec.ts b/src/components/style-selector/style-selector.spec.ts new file mode 100644 index 00000000..765308fc --- /dev/null +++ b/src/components/style-selector/style-selector.spec.ts @@ -0,0 +1,50 @@ +import { shallowMount } from '@vue/test-utils' + +import StyleSelector from './style-selector.vue' +import { useStyleStore } from '@/stores/style.store' +import { createTestingPinia } from '@pinia/testing' + +describe('StyleEditor', () => { + createTestingPinia({ + createSpy: vi.fn, + initialState: { + style: { + bgStyle: undefined, + bgVectorSources: [ + { + 556: { + label: 'road', + defaultMapBoxStyle: 'http://tiles.lu/style.json', + defaultMapBoxStyleXYZ: 'http://tiles.lu/{z}/{x}/{y}.png', + xyz: 'http://tiles.lu/{z}/{x}/{y}.png', + xyz_custom: undefined, + style: 'http://tiles.lu/style.json', + }, + }, + ], + }, + }, + stubActions: false, + }) + const styleStore = useStyleStore() + + it('reset expert style test', async () => { + const wrapper = shallowMount(StyleSelector, { + props: { + isOpen: true, + }, + }) + + styleStore.setSimpleStyle(null) + expect(styleStore.bgStyle).toBeDefined + if (styleStore.bgStyle) { + expect(styleStore.bgStyle[0].label).toBe('Roads primary') + expect(styleStore.bgStyle[0].color).toBe('#f7f7f7') + } + expect(wrapper.findAll('button').length).toBe(0) + styleStore.enableExpertStyle() + expect(wrapper.findAll('button').length).toBe(1) + wrapper.vm.resetStyle() + expect(wrapper.findAll('button').length).toBe(0) + }) +}) From 65f59783477dbbb70b464aaea17906b204cdae18 Mon Sep 17 00:00:00 2001 From: Moritz Kirmse Date: Fri, 3 May 2024 16:34:27 +0200 Subject: [PATCH 3/4] Revert "test does not work :-(" This reverts commit c620f6e12caa0d71c6031b09bd83633c29443940. --- .../style-selector/style-selector.spec.ts | 50 ------------------- 1 file changed, 50 deletions(-) delete mode 100644 src/components/style-selector/style-selector.spec.ts diff --git a/src/components/style-selector/style-selector.spec.ts b/src/components/style-selector/style-selector.spec.ts deleted file mode 100644 index 765308fc..00000000 --- a/src/components/style-selector/style-selector.spec.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { shallowMount } from '@vue/test-utils' - -import StyleSelector from './style-selector.vue' -import { useStyleStore } from '@/stores/style.store' -import { createTestingPinia } from '@pinia/testing' - -describe('StyleEditor', () => { - createTestingPinia({ - createSpy: vi.fn, - initialState: { - style: { - bgStyle: undefined, - bgVectorSources: [ - { - 556: { - label: 'road', - defaultMapBoxStyle: 'http://tiles.lu/style.json', - defaultMapBoxStyleXYZ: 'http://tiles.lu/{z}/{x}/{y}.png', - xyz: 'http://tiles.lu/{z}/{x}/{y}.png', - xyz_custom: undefined, - style: 'http://tiles.lu/style.json', - }, - }, - ], - }, - }, - stubActions: false, - }) - const styleStore = useStyleStore() - - it('reset expert style test', async () => { - const wrapper = shallowMount(StyleSelector, { - props: { - isOpen: true, - }, - }) - - styleStore.setSimpleStyle(null) - expect(styleStore.bgStyle).toBeDefined - if (styleStore.bgStyle) { - expect(styleStore.bgStyle[0].label).toBe('Roads primary') - expect(styleStore.bgStyle[0].color).toBe('#f7f7f7') - } - expect(wrapper.findAll('button').length).toBe(0) - styleStore.enableExpertStyle() - expect(wrapper.findAll('button').length).toBe(1) - wrapper.vm.resetStyle() - expect(wrapper.findAll('button').length).toBe(0) - }) -}) From 050650cc02ff6ad5d11dca31c05fb3b6e595373d Mon Sep 17 00:00:00 2001 From: Moritz Kirmse Date: Fri, 3 May 2024 16:35:26 +0200 Subject: [PATCH 4/4] build for prod --- bundle/lux.dist.mjs | 6592 ++++++++++++++++++++-------------------- bundle/lux.dist.umd.js | 58 +- 2 files changed, 3325 insertions(+), 3325 deletions(-) diff --git a/bundle/lux.dist.mjs b/bundle/lux.dist.mjs index a1389a8b..c881d999 100644 --- a/bundle/lux.dist.mjs +++ b/bundle/lux.dist.mjs @@ -6,11 +6,11 @@ import { register as TC } from "ol/proj/proj4"; import MC from "ol/Map"; import IC from "ol/View"; import OC from "ol/layer/Image"; -import PE from "ol/source/ImageWMS"; +import AE from "ol/source/ImageWMS"; import CC from "ol/layer/Tile"; -import AE from "ol/source/WMTS"; -import PC from "ol/tilegrid/WMTS"; -import { getTopLeft as AC } from "ol/extent"; +import PE from "ol/source/WMTS"; +import AC from "ol/tilegrid/WMTS"; +import { getTopLeft as PC } from "ol/extent"; import kC from "ol/layer/Layer"; import { toDegrees as LC } from "ol/math"; import { toLonLat as DC } from "ol/proj.js"; @@ -98,15 +98,15 @@ const Ht = (t) => Hn(t) ? t : t == null ? "" : er(t) || fn(t) && (t.toString === } : FE(e) ? { [`Set(${e.size})`]: [...e.values()] } : fn(e) && !er(e) && !VE(e) ? String(e) : e, wn = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {}, wf = process.env.NODE_ENV !== "production" ? Object.freeze([]) : [], ao = () => { -}, zE = () => !1, QC = /^on[^a-z]/, Ud = (t) => QC.test(t), _g = (t) => t.startsWith("onUpdate:"), Wn = Object.assign, wx = (t, e) => { +}, zE = () => !1, QC = /^on[^a-z]/, Ud = (t) => QC.test(t), _g = (t) => t.startsWith("onUpdate:"), Wn = Object.assign, w1 = (t, e) => { const n = t.indexOf(e); n > -1 && t.splice(n, 1); -}, eP = Object.prototype.hasOwnProperty, jr = (t, e) => eP.call(t, e), er = Array.isArray, $c = (t) => cv(t) === "[object Map]", FE = (t) => cv(t) === "[object Set]", yr = (t) => typeof t == "function", Hn = (t) => typeof t == "string", Ex = (t) => typeof t == "symbol", fn = (t) => t !== null && typeof t == "object", Sx = (t) => fn(t) && yr(t.then) && yr(t.catch), BE = Object.prototype.toString, cv = (t) => BE.call(t), Tx = (t) => cv(t).slice(8, -1), VE = (t) => cv(t) === "[object Object]", Mx = (t) => Hn(t) && t !== "NaN" && t[0] !== "-" && "" + parseInt(t, 10) === t, Yy = /* @__PURE__ */ ju( +}, eA = Object.prototype.hasOwnProperty, jr = (t, e) => eA.call(t, e), er = Array.isArray, $c = (t) => cv(t) === "[object Map]", FE = (t) => cv(t) === "[object Set]", yr = (t) => typeof t == "function", Hn = (t) => typeof t == "string", E1 = (t) => typeof t == "symbol", fn = (t) => t !== null && typeof t == "object", S1 = (t) => fn(t) && yr(t.then) && yr(t.catch), BE = Object.prototype.toString, cv = (t) => BE.call(t), T1 = (t) => cv(t).slice(8, -1), VE = (t) => cv(t) === "[object Object]", M1 = (t) => Hn(t) && t !== "NaN" && t[0] !== "-" && "" + parseInt(t, 10) === t, Yy = /* @__PURE__ */ ju( ",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted" -), tP = /* @__PURE__ */ ju("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"), hv = (t) => { +), tA = /* @__PURE__ */ ju("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"), hv = (t) => { const e = /* @__PURE__ */ Object.create(null); return (n) => e[n] || (e[n] = t(n)); -}, rP = /-(\w)/g, ya = hv((t) => t.replace(rP, (e, n) => n ? n.toUpperCase() : "")), nP = /\B([A-Z])/g, ta = hv((t) => t.replace(nP, "-$1").toLowerCase()), Yc = hv((t) => t.charAt(0).toUpperCase() + t.slice(1)), Nc = hv((t) => t ? `on${Yc(t)}` : ""), Td = (t, e) => !Object.is(t, e), jp = (t, e) => { +}, rA = /-(\w)/g, ya = hv((t) => t.replace(rA, (e, n) => n ? n.toUpperCase() : "")), nA = /\B([A-Z])/g, ta = hv((t) => t.replace(nA, "-$1").toLowerCase()), Yc = hv((t) => t.charAt(0).toUpperCase() + t.slice(1)), Nc = hv((t) => t ? `on${Yc(t)}` : ""), Td = (t, e) => !Object.is(t, e), jp = (t, e) => { for (let n = 0; n < t.length; n++) t[n](e); }, xg = (t, e, n) => { @@ -115,7 +115,7 @@ const Ht = (t) => Hn(t) ? t : t == null ? "" : er(t) || fn(t) && (t.toString === enumerable: !1, value: n }); -}, iP = (t) => { +}, iA = (t) => { const e = parseFloat(t); return isNaN(e) ? t : e; }, E0 = (t) => { @@ -173,23 +173,23 @@ class jE { function GE(t) { return new jE(t); } -function oP(t, e = pa) { +function oA(t, e = pa) { e && e.active && e.effects.push(t); } function $E() { return pa; } -function aP(t) { +function aA(t) { pa ? pa.cleanups.push(t) : process.env.NODE_ENV !== "production" && bg("onScopeDispose() is called when there is no active effect scope to be associated with."); } const Md = (t) => { const e = new Set(t); return e.w = 0, e.n = 0, e; -}, qE = (t) => (t.w & Ru) > 0, WE = (t) => (t.n & Ru) > 0, sP = ({ deps: t }) => { +}, qE = (t) => (t.w & Ru) > 0, WE = (t) => (t.n & Ru) > 0, sA = ({ deps: t }) => { if (t.length) for (let e = 0; e < t.length; e++) t[e].w |= Ru; -}, lP = (t) => { +}, lA = (t) => { const { deps: e } = t; if (e.length) { let n = 0; @@ -204,23 +204,23 @@ let Jp = 0, Ru = 1; const S0 = 30; let No; const qc = Symbol(process.env.NODE_ENV !== "production" ? "iterate" : ""), T0 = Symbol(process.env.NODE_ENV !== "production" ? "Map key iterate" : ""); -class Ix { +class I1 { constructor(e, n = null, a) { - this.fn = e, this.scheduler = n, this.active = !0, this.deps = [], this.parent = void 0, oP(this, a); + this.fn = e, this.scheduler = n, this.active = !0, this.deps = [], this.parent = void 0, oA(this, a); } run() { if (!this.active) return this.fn(); - let e = No, n = Pu; + let e = No, n = Au; for (; e; ) { if (e === this) return; e = e.parent; } try { - return this.parent = No, No = this, Pu = !0, Ru = 1 << ++Jp, Jp <= S0 ? sP(this) : Fb(this), this.fn(); + return this.parent = No, No = this, Au = !0, Ru = 1 << ++Jp, Jp <= S0 ? sA(this) : Fb(this), this.fn(); } finally { - Jp <= S0 && lP(this), Ru = 1 << --Jp, No = this.parent, Pu = n, this.parent = void 0, this.deferStop && this.stop(); + Jp <= S0 && lA(this), Ru = 1 << --Jp, No = this.parent, Au = n, this.parent = void 0, this.deferStop && this.stop(); } } stop() { @@ -235,17 +235,17 @@ function Fb(t) { e.length = 0; } } -let Pu = !0; +let Au = !0; const HE = []; function rh() { - HE.push(Pu), Pu = !1; + HE.push(Au), Au = !1; } function nh() { const t = HE.pop(); - Pu = t === void 0 ? !0 : t; + Au = t === void 0 ? !0 : t; } function Bo(t, e, n) { - if (Pu && No) { + if (Au && No) { let a = wg.get(t); a || wg.set(t, a = /* @__PURE__ */ new Map()); let s = a.get(n); @@ -267,13 +267,13 @@ function Gl(t, e, n, a, s, f) { m = [...o.values()]; else if (n === "length" && er(t)) { const b = Number(a); - o.forEach((T, M) => { - (M === "length" || M >= b) && m.push(T); + o.forEach((E, M) => { + (M === "length" || M >= b) && m.push(E); }); } else switch (n !== void 0 && m.push(o.get(n)), e) { case "add": - er(t) ? Mx(n) && m.push(o.get("length")) : (m.push(o.get(qc)), $c(t) && m.push(o.get(T0))); + er(t) ? M1(n) && m.push(o.get("length")) : (m.push(o.get(qc)), $c(t) && m.push(o.get(T0))); break; case "delete": er(t) || (m.push(o.get(qc)), $c(t) && m.push(o.get(T0))); @@ -287,8 +287,8 @@ function Gl(t, e, n, a, s, f) { m[0] && (process.env.NODE_ENV !== "production" ? df(m[0], g) : df(m[0])); else { const b = []; - for (const T of m) - T && b.push(...T); + for (const E of m) + E && b.push(...E); process.env.NODE_ENV !== "production" ? df(Md(b), g) : df(Md(b)); } } @@ -302,14 +302,14 @@ function df(t, e) { function Bb(t, e) { (t !== No || t.allowRecurse) && (process.env.NODE_ENV !== "production" && t.onTrigger && t.onTrigger(Wn({ effect: t }, e)), t.scheduler ? t.scheduler() : t.run()); } -function uP(t, e) { +function uA(t, e) { var n; return (n = wg.get(t)) === null || n === void 0 ? void 0 : n.get(e); } -const cP = /* @__PURE__ */ ju("__proto__,__v_isRef,__isVue"), ZE = new Set( - /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((t) => t !== "arguments" && t !== "caller").map((t) => Symbol[t]).filter(Ex) -), hP = /* @__PURE__ */ fv(), fP = /* @__PURE__ */ fv(!1, !0), pP = /* @__PURE__ */ fv(!0), dP = /* @__PURE__ */ fv(!0, !0), Vb = /* @__PURE__ */ mP(); -function mP() { +const cA = /* @__PURE__ */ ju("__proto__,__v_isRef,__isVue"), ZE = new Set( + /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((t) => t !== "arguments" && t !== "caller").map((t) => Symbol[t]).filter(E1) +), hA = /* @__PURE__ */ fv(), fA = /* @__PURE__ */ fv(!1, !0), pA = /* @__PURE__ */ fv(!0), dA = /* @__PURE__ */ fv(!0, !0), Vb = /* @__PURE__ */ mA(); +function mA() { const t = {}; return ["includes", "indexOf", "lastIndexOf"].forEach((e) => { t[e] = function(...n) { @@ -327,7 +327,7 @@ function mP() { }; }), t; } -function yP(t) { +function yA(t) { const e = hr(this); return Bo(e, "has", t), e.hasOwnProperty(t); } @@ -346,13 +346,13 @@ function fv(t = !1, e = !1) { if (o && jr(Vb, s)) return Reflect.get(Vb, s, f); if (s === "hasOwnProperty") - return yP; + return yA; } const m = Reflect.get(a, s, f); - return (Ex(s) ? ZE.has(s) : cP(s)) || (t || Bo(a, "get", s), e) ? m : hn(m) ? o && Mx(s) ? m : m.value : fn(m) ? t ? nS(m) : mv(m) : m; + return (E1(s) ? ZE.has(s) : cA(s)) || (t || Bo(a, "get", s), e) ? m : hn(m) ? o && M1(s) ? m : m.value : fn(m) ? t ? nS(m) : mv(m) : m; }; } -const gP = /* @__PURE__ */ XE(), vP = /* @__PURE__ */ XE(!0); +const gA = /* @__PURE__ */ XE(), vA = /* @__PURE__ */ XE(!0); function XE(t = !1) { return function(n, a, s, f) { let o = n[a]; @@ -360,46 +360,46 @@ function XE(t = !1) { return !1; if (!t && (!Eg(s) && !zu(s) && (o = hr(o), s = hr(s)), !er(n) && hn(o) && !hn(s))) return o.value = s, !0; - const m = er(n) && Mx(a) ? Number(a) < n.length : jr(n, a), g = Reflect.set(n, a, s, f); + const m = er(n) && M1(a) ? Number(a) < n.length : jr(n, a), g = Reflect.set(n, a, s, f); return n === hr(f) && (m ? Td(s, o) && Gl(n, "set", a, s, o) : Gl(n, "add", a, s)), g; }; } -function _P(t, e) { +function _A(t, e) { const n = jr(t, e), a = t[e], s = Reflect.deleteProperty(t, e); return s && n && Gl(t, "delete", e, void 0, a), s; } -function xP(t, e) { +function xA(t, e) { const n = Reflect.has(t, e); - return (!Ex(e) || !ZE.has(e)) && Bo(t, "has", e), n; + return (!E1(e) || !ZE.has(e)) && Bo(t, "has", e), n; } -function bP(t) { +function bA(t) { return Bo(t, "iterate", er(t) ? "length" : qc), Reflect.ownKeys(t); } const KE = { - get: hP, - set: gP, - deleteProperty: _P, - has: xP, - ownKeys: bP + get: hA, + set: gA, + deleteProperty: _A, + has: xA, + ownKeys: bA }, YE = { - get: pP, + get: pA, set(t, e) { return process.env.NODE_ENV !== "production" && bg(`Set operation on key "${String(e)}" failed: target is readonly.`, t), !0; }, deleteProperty(t, e) { return process.env.NODE_ENV !== "production" && bg(`Delete operation on key "${String(e)}" failed: target is readonly.`, t), !0; } -}, wP = /* @__PURE__ */ Wn({}, KE, { - get: fP, - set: vP -}), EP = /* @__PURE__ */ Wn({}, YE, { - get: dP -}), Ox = (t) => t, pv = (t) => Reflect.getPrototypeOf(t); +}, wA = /* @__PURE__ */ Wn({}, KE, { + get: fA, + set: vA +}), EA = /* @__PURE__ */ Wn({}, YE, { + get: dA +}), O1 = (t) => t, pv = (t) => Reflect.getPrototypeOf(t); function vy(t, e, n = !1, a = !1) { t = t.__v_raw; const s = hr(t), f = hr(e); n || (e !== f && Bo(s, "get", e), Bo(s, "get", f)); - const { has: o } = pv(s), m = a ? Ox : n ? Cx : Id; + const { has: o } = pv(s), m = a ? O1 : n ? C1 : Id; if (o.call(s, e)) return m(t.get(e)); if (o.call(s, f)) @@ -439,18 +439,18 @@ function $b() { } function by(t, e) { return function(a, s) { - const f = this, o = f.__v_raw, m = hr(o), g = e ? Ox : t ? Cx : Id; - return !t && Bo(m, "iterate", qc), o.forEach((b, T) => a.call(s, g(b), g(T), f)); + const f = this, o = f.__v_raw, m = hr(o), g = e ? O1 : t ? C1 : Id; + return !t && Bo(m, "iterate", qc), o.forEach((b, E) => a.call(s, g(b), g(E), f)); }; } function wy(t, e, n) { return function(...a) { - const s = this.__v_raw, f = hr(s), o = $c(f), m = t === "entries" || t === Symbol.iterator && o, g = t === "keys" && o, b = s[t](...a), T = n ? Ox : e ? Cx : Id; + const s = this.__v_raw, f = hr(s), o = $c(f), m = t === "entries" || t === Symbol.iterator && o, g = t === "keys" && o, b = s[t](...a), E = n ? O1 : e ? C1 : Id; return !e && Bo(f, "iterate", g ? T0 : qc), { next() { const { value: M, done: I } = b.next(); return I ? { value: M, done: I } : { - value: m ? [T(M[0]), T(M[1])] : T(M), + value: m ? [E(M[0]), E(M[1])] : E(M), done: I }; }, @@ -469,7 +469,7 @@ function du(t) { return t === "delete" ? !1 : this; }; } -function SP() { +function SA() { const t = { get(f) { return vy(this, f); @@ -536,29 +536,29 @@ function SP() { a ]; } -const [TP, MP, IP, OP] = /* @__PURE__ */ SP(); +const [TA, MA, IA, OA] = /* @__PURE__ */ SA(); function dv(t, e) { - const n = e ? t ? OP : IP : t ? MP : TP; + const n = e ? t ? OA : IA : t ? MA : TA; return (a, s, f) => s === "__v_isReactive" ? !t : s === "__v_isReadonly" ? t : s === "__v_raw" ? a : Reflect.get(jr(n, s) && s in a ? n : a, s, f); } -const CP = { +const CA = { get: /* @__PURE__ */ dv(!1, !1) -}, PP = { +}, AA = { get: /* @__PURE__ */ dv(!1, !0) -}, AP = { +}, PA = { get: /* @__PURE__ */ dv(!0, !1) -}, kP = { +}, kA = { get: /* @__PURE__ */ dv(!0, !0) }; function JE(t, e, n) { const a = hr(n); if (a !== n && e.call(t, a)) { - const s = Tx(t); + const s = T1(t); console.warn(`Reactive ${s} contains both the raw and reactive versions of the same object${s === "Map" ? " as keys" : ""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`); } } const QE = /* @__PURE__ */ new WeakMap(), eS = /* @__PURE__ */ new WeakMap(), tS = /* @__PURE__ */ new WeakMap(), rS = /* @__PURE__ */ new WeakMap(); -function LP(t) { +function LA(t) { switch (t) { case "Object": case "Array": @@ -572,20 +572,20 @@ function LP(t) { return 0; } } -function DP(t) { - return t.__v_skip || !Object.isExtensible(t) ? 0 : LP(Tx(t)); +function DA(t) { + return t.__v_skip || !Object.isExtensible(t) ? 0 : LA(T1(t)); } function mv(t) { - return zu(t) ? t : yv(t, !1, KE, CP, QE); + return zu(t) ? t : yv(t, !1, KE, CA, QE); } -function NP(t) { - return yv(t, !1, wP, PP, eS); +function NA(t) { + return yv(t, !1, wA, AA, eS); } function nS(t) { - return yv(t, !0, YE, AP, tS); + return yv(t, !0, YE, PA, tS); } function mf(t) { - return yv(t, !0, EP, kP, rS); + return yv(t, !0, EA, kA, rS); } function yv(t, e, n, a, s) { if (!fn(t)) @@ -595,7 +595,7 @@ function yv(t, e, n, a, s) { const f = s.get(t); if (f) return f; - const o = DP(t); + const o = DA(t); if (o === 0) return t; const m = new Proxy(t, o === 2 ? a : n); @@ -620,9 +620,9 @@ function hr(t) { function ts(t) { return xg(t, "__v_skip", !0), t; } -const Id = (t) => fn(t) ? mv(t) : t, Cx = (t) => fn(t) ? nS(t) : t; +const Id = (t) => fn(t) ? mv(t) : t, C1 = (t) => fn(t) ? nS(t) : t; function iS(t) { - Pu && No && (t = hr(t), process.env.NODE_ENV !== "production" ? M0(t.dep || (t.dep = Md()), { + Au && No && (t = hr(t), process.env.NODE_ENV !== "production" ? M0(t.dep || (t.dep = Md()), { target: t, type: "get", key: "value" @@ -648,9 +648,9 @@ function Bn(t) { return aS(t, !0); } function aS(t, e) { - return hn(t) ? t : new RP(t, e); + return hn(t) ? t : new RA(t, e); } -class RP { +class RA { constructor(e, n) { this.__v_isShallow = n, this.dep = void 0, this.__v_isRef = !0, this._rawValue = n ? e : hr(e), this._value = n ? e : Id(e); } @@ -665,7 +665,7 @@ class RP { function se(t) { return hn(t) ? t.value : t; } -const zP = { +const zA = { get: (t, e, n) => se(Reflect.get(t, e, n)), set: (t, e, n, a) => { const s = t[e]; @@ -673,7 +673,7 @@ const zP = { } }; function sS(t) { - return ss(t) ? t : new Proxy(t, zP); + return ss(t) ? t : new Proxy(t, zA); } function qb(t) { process.env.NODE_ENV !== "production" && !Sg(t) && console.warn("toRefs() expects a reactive object but received a plain one."); @@ -682,7 +682,7 @@ function qb(t) { e[n] = cd(t, n); return e; } -class FP { +class FA { constructor(e, n, a) { this._object = e, this._key = n, this._defaultValue = a, this.__v_isRef = !0; } @@ -694,17 +694,17 @@ class FP { this._object[this._key] = e; } get dep() { - return uP(hr(this._object), this._key); + return uA(hr(this._object), this._key); } } function cd(t, e, n) { const a = t[e]; - return hn(a) ? a : new FP(t, e, n); + return hn(a) ? a : new FA(t, e, n); } var lS; -class BP { +class BA { constructor(e, n, a, s) { - this._setter = n, this.dep = void 0, this.__v_isRef = !0, this[lS] = !1, this._dirty = !0, this.effect = new Ix(e, () => { + this._setter = n, this.dep = void 0, this.__v_isRef = !0, this[lS] = !1, this._dirty = !0, this.effect = new I1(e, () => { this._dirty || (this._dirty = !0, oS(this)); }), this.effect.computed = this, this.effect.active = this._cacheable = !s, this.__v_isReadonly = a; } @@ -717,13 +717,13 @@ class BP { } } lS = "__v_isReadonly"; -function VP(t, e, n = !1) { +function VA(t, e, n = !1) { let a, s; const f = yr(t); f ? (a = t, s = process.env.NODE_ENV !== "production" ? () => { console.warn("Write operation failed: computed value is readonly"); } : ao) : (a = t.get, s = t.set); - const o = new BP(a, s, f || !s, n); + const o = new BA(a, s, f || !s, n); return process.env.NODE_ENV !== "production" && e && !n && (o.effect.onTrack = e.onTrack, o.effect.onTrigger = e.onTrigger), o; } const Wc = []; @@ -737,7 +737,7 @@ function lt(t, ...e) { if (process.env.NODE_ENV === "production") return; rh(); - const n = Wc.length ? Wc[Wc.length - 1].component : null, a = n && n.appContext.config.warnHandler, s = UP(); + const n = Wc.length ? Wc[Wc.length - 1].component : null, a = n && n.appContext.config.warnHandler, s = UA(); if (a) Bl(a, n, 11, [ t + e.join(""), @@ -749,11 +749,11 @@ function lt(t, ...e) { else { const f = [`[Vue warn]: ${t}`, ...e]; s.length && f.push(` -`, ...jP(s)), console.warn(...f); +`, ...jA(s)), console.warn(...f); } nh(); } -function UP() { +function UA() { let t = Wc[Wc.length - 1]; if (!t) return []; @@ -769,18 +769,18 @@ function UP() { } return e; } -function jP(t) { +function jA(t) { const e = []; return t.forEach((n, a) => { e.push(...a === 0 ? [] : [` -`], ...GP(n)); +`], ...GA(n)); }), e; } -function GP({ vnode: t, recurseCount: e }) { +function GA({ vnode: t, recurseCount: e }) { const n = e > 0 ? `... (${e} recursive calls)` : "", a = t.component ? t.component.parent == null : !1, s = ` at <${Sv(t.component, t.type, a)}`, f = ">" + n; - return t.props ? [s, ...$P(t.props), f] : [s + f]; + return t.props ? [s, ...$A(t.props), f] : [s + f]; } -function $P(t) { +function $A(t) { const e = [], n = Object.keys(t); return n.slice(0, 3).forEach((a) => { e.push(...uS(a, t[a])); @@ -789,10 +789,10 @@ function $P(t) { function uS(t, e, n) { return Hn(e) ? (e = JSON.stringify(e), n ? e : [`${t}=${e}`]) : typeof e == "number" || typeof e == "boolean" || e == null ? n ? e : [`${t}=${e}`] : hn(e) ? (e = uS(t, hr(e.value), !0), n ? e : [`${t}=Ref<`, e, ">"]) : yr(e) ? [`${t}=fn${e.name ? `<${e.name}>` : ""}`] : (e = hr(e), n ? e : [`${t}=`, e]); } -function qP(t, e) { +function qA(t, e) { process.env.NODE_ENV !== "production" && t !== void 0 && (typeof t != "number" ? lt(`${e} is not a valid number - got ${JSON.stringify(t)}.`) : isNaN(t) && lt(`${e} is NaN - the duration expression might be incorrect.`)); } -const Px = { +const A1 = { sp: "serverPrefetch hook", bc: "beforeCreate hook", c: "created hook", @@ -835,7 +835,7 @@ function Bl(t, e, n, a) { function Da(t, e, n, a) { if (yr(t)) { const f = Bl(t, e, n, a); - return f && Sx(f) && f.catch((o) => { + return f && S1(f) && f.catch((o) => { gv(o, e, n); }), f; } @@ -848,12 +848,12 @@ function gv(t, e, n, a = !0) { const s = e ? e.vnode : null; if (e) { let f = e.parent; - const o = e.proxy, m = process.env.NODE_ENV !== "production" ? Px[n] : n; + const o = e.proxy, m = process.env.NODE_ENV !== "production" ? A1[n] : n; for (; f; ) { const b = f.ec; if (b) { - for (let T = 0; T < b.length; T++) - if (b[T](t, o, m) === !1) + for (let E = 0; E < b.length; E++) + if (b[E](t, o, m) === !1) return; } f = f.parent; @@ -864,11 +864,11 @@ function gv(t, e, n, a = !0) { return; } } - WP(t, n, s, a); + WA(t, n, s, a); } -function WP(t, e, n, a = !0) { +function WA(t, e, n, a = !0) { if (process.env.NODE_ENV !== "production") { - const s = Px[e]; + const s = A1[e]; if (n && Jy(n), lt(`Unhandled error${s ? ` during execution of ${s}` : ""}`), n && Qy(), a) throw t; console.error(t); @@ -881,13 +881,13 @@ let Vs = 0; const Ef = []; let Fs = null, bu = 0; const cS = /* @__PURE__ */ Promise.resolve(); -let Ax = null; -const HP = 100; +let P1 = null; +const HA = 100; function Tg(t) { - const e = Ax || cS; + const e = P1 || cS; return t ? e.then(this ? t.bind(this) : t) : e; } -function ZP(t) { +function ZA(t) { let e = Vs + 1, n = xo.length; for (; e < n; ) { const a = e + n >>> 1; @@ -896,12 +896,12 @@ function ZP(t) { return e; } function vv(t) { - (!xo.length || !xo.includes(t, Od && t.allowRecurse ? Vs + 1 : Vs)) && (t.id == null ? xo.push(t) : xo.splice(ZP(t.id), 0, t), hS()); + (!xo.length || !xo.includes(t, Od && t.allowRecurse ? Vs + 1 : Vs)) && (t.id == null ? xo.push(t) : xo.splice(ZA(t.id), 0, t), hS()); } function hS() { - !Od && !I0 && (I0 = !0, Ax = cS.then(dS)); + !Od && !I0 && (I0 = !0, P1 = cS.then(dS)); } -function XP(t) { +function XA(t) { const e = xo.indexOf(t); e > Vs && xo.splice(e, 1); } @@ -912,7 +912,7 @@ function Wb(t, e = Od ? Vs + 1 : 0) { for (process.env.NODE_ENV !== "production" && (t = t || /* @__PURE__ */ new Map()); e < xo.length; e++) { const n = xo[e]; if (n && n.pre) { - if (process.env.NODE_ENV !== "production" && kx(t, n)) + if (process.env.NODE_ENV !== "production" && k1(t, n)) continue; xo.splice(e, 1), e--, n(); } @@ -926,11 +926,11 @@ function pS(t) { return; } for (Fs = e, process.env.NODE_ENV !== "production" && (t = t || /* @__PURE__ */ new Map()), Fs.sort((n, a) => Cd(n) - Cd(a)), bu = 0; bu < Fs.length; bu++) - process.env.NODE_ENV !== "production" && kx(t, Fs[bu]) || Fs[bu](); + process.env.NODE_ENV !== "production" && k1(t, Fs[bu]) || Fs[bu](); Fs = null, bu = 0; } } -const Cd = (t) => t.id == null ? 1 / 0 : t.id, KP = (t, e) => { +const Cd = (t) => t.id == null ? 1 / 0 : t.id, KA = (t, e) => { const n = Cd(t) - Cd(e); if (n === 0) { if (t.pre && !e.pre) @@ -941,8 +941,8 @@ const Cd = (t) => t.id == null ? 1 / 0 : t.id, KP = (t, e) => { return n; }; function dS(t) { - I0 = !1, Od = !0, process.env.NODE_ENV !== "production" && (t = t || /* @__PURE__ */ new Map()), xo.sort(KP); - const e = process.env.NODE_ENV !== "production" ? (n) => kx(t, n) : ao; + I0 = !1, Od = !0, process.env.NODE_ENV !== "production" && (t = t || /* @__PURE__ */ new Map()), xo.sort(KA); + const e = process.env.NODE_ENV !== "production" ? (n) => k1(t, n) : ao; try { for (Vs = 0; Vs < xo.length; Vs++) { const n = xo[Vs]; @@ -953,35 +953,35 @@ function dS(t) { } } } finally { - Vs = 0, xo.length = 0, pS(t), Od = !1, Ax = null, (xo.length || Ef.length) && dS(t); + Vs = 0, xo.length = 0, pS(t), Od = !1, P1 = null, (xo.length || Ef.length) && dS(t); } } -function kx(t, e) { +function k1(t, e) { if (!t.has(e)) t.set(e, 1); else { const n = t.get(e); - if (n > HP) { - const a = e.ownerInstance, s = a && Vx(a.type); + if (n > HA) { + const a = e.ownerInstance, s = a && V1(a.type); return lt(`Maximum recursive updates exceeded${s ? ` in component <${s}>` : ""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`), !0; } else t.set(e, n + 1); } } -let Au = !1; +let Pu = !1; const hf = /* @__PURE__ */ new Set(); process.env.NODE_ENV !== "production" && (UE().__VUE_HMR_RUNTIME__ = { - createRecord: A_(mS), - rerender: A_(QP), - reload: A_(eA) + createRecord: P_(mS), + rerender: P_(QA), + reload: P_(eP) }); const Jc = /* @__PURE__ */ new Map(); -function YP(t) { +function YA(t) { const e = t.type.__hmrId; let n = Jc.get(e); n || (mS(e, t.type), n = Jc.get(e)), n.instances.add(t); } -function JP(t) { +function JA(t) { Jc.get(t.type.__hmrId).instances.delete(t); } function mS(t, e) { @@ -993,13 +993,13 @@ function mS(t, e) { function hd(t) { return KS(t) ? t.__vccOpts : t; } -function QP(t, e) { +function QA(t, e) { const n = Jc.get(t); !n || (n.initialDef.render = e, [...n.instances].forEach((a) => { - e && (a.render = e, hd(a.type).render = e), a.renderCache = [], Au = !0, a.update(), Au = !1; + e && (a.render = e, hd(a.type).render = e), a.renderCache = [], Pu = !0, a.update(), Pu = !1; })); } -function eA(t, e) { +function eP(t, e) { const n = Jc.get(t); if (!n) return; @@ -1019,7 +1019,7 @@ function Hb(t, e) { for (const n in t) n !== "__file" && !(n in e) && delete t[n]; } -function A_(t) { +function P_(t) { return (e, n) => { try { return t(e, n); @@ -1040,7 +1040,7 @@ function yS(t, e) { Us || (e.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, O0 = !0, Qp = []); }, 3e3)) : (O0 = !0, Qp = []); } -function tA(t, e) { +function tP(t, e) { jd("app:init", t, e, { Fragment: on, Text: $d, @@ -1048,49 +1048,49 @@ function tA(t, e) { Static: eg }); } -function rA(t) { +function rP(t) { jd("app:unmount", t); } -const nA = /* @__PURE__ */ Lx("component:added"), gS = /* @__PURE__ */ Lx("component:updated"), iA = /* @__PURE__ */ Lx("component:removed"), oA = (t) => { - Us && typeof Us.cleanupBuffer == "function" && !Us.cleanupBuffer(t) && iA(t); +const nP = /* @__PURE__ */ L1("component:added"), gS = /* @__PURE__ */ L1("component:updated"), iP = /* @__PURE__ */ L1("component:removed"), oP = (t) => { + Us && typeof Us.cleanupBuffer == "function" && !Us.cleanupBuffer(t) && iP(t); }; -function Lx(t) { +function L1(t) { return (e) => { jd(t, e.appContext.app, e.uid, e.parent ? e.parent.uid : void 0, e); }; } -const aA = /* @__PURE__ */ vS("perf:start"), sA = /* @__PURE__ */ vS("perf:end"); +const aP = /* @__PURE__ */ vS("perf:start"), sP = /* @__PURE__ */ vS("perf:end"); function vS(t) { return (e, n, a) => { jd(t, e.appContext.app, e.uid, e, n, a); }; } -function lA(t, e, n) { +function lP(t, e, n) { jd("component:emit", t.appContext.app, t, e, n); } -function uA(t, e, ...n) { +function uP(t, e, ...n) { if (t.isUnmounted) return; const a = t.vnode.props || wn; if (process.env.NODE_ENV !== "production") { - const { emitsOptions: T, propsOptions: [M] } = t; - if (T) - if (!(e in T)) + const { emitsOptions: E, propsOptions: [M] } = t; + if (E) + if (!(e in E)) (!M || !(Nc(e) in M)) && lt(`Component emitted event "${e}" but it is neither declared in the emits option nor as an "${Nc(e)}" prop.`); else { - const I = T[e]; + const I = E[e]; yr(I) && (I(...n) || lt(`Invalid event arguments: event validation failed for event "${e}".`)); } } let s = n; const f = e.startsWith("update:"), o = f && e.slice(7); if (o && o in a) { - const T = `${o === "modelValue" ? "model" : o}Modifiers`, { number: M, trim: I } = a[T] || wn; - I && (s = n.map((A) => Hn(A) ? A.trim() : A)), M && (s = n.map(iP)); + const E = `${o === "modelValue" ? "model" : o}Modifiers`, { number: M, trim: I } = a[E] || wn; + I && (s = n.map((P) => Hn(P) ? P.trim() : P)), M && (s = n.map(iA)); } - if (process.env.NODE_ENV !== "production" && lA(t, e, s), process.env.NODE_ENV !== "production") { - const T = e.toLowerCase(); - T !== e && a[Nc(T)] && lt(`Event "${T}" is emitted in component ${Sv(t, t.type)} but the handler is registered for "${e}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${ta(e)}" instead of "${e}".`); + if (process.env.NODE_ENV !== "production" && lP(t, e, s), process.env.NODE_ENV !== "production") { + const E = e.toLowerCase(); + E !== e && a[Nc(E)] && lt(`Event "${E}" is emitted in component ${Sv(t, t.type)} but the handler is registered for "${e}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${ta(e)}" instead of "${e}".`); } let m, g = a[m = Nc(e)] || a[m = Nc(ya(e))]; !g && f && (g = a[m = Nc(ta(e))]), g && Da(g, t, 6, s); @@ -1111,8 +1111,8 @@ function _S(t, e, n = !1) { let o = {}, m = !1; if (!yr(t)) { const g = (b) => { - const T = _S(b, e, !0); - T && (m = !0, Wn(o, T)); + const E = _S(b, e, !0); + E && (m = !0, Wn(o, E)); }; !n && e.mixins.length && e.mixins.forEach(g), t.extends && g(t.extends), t.mixins && t.mixins.forEach(g); } @@ -1147,14 +1147,14 @@ function Ig() { C0 = !0; } function k_(t) { - const { type: e, vnode: n, proxy: a, withProxy: s, props: f, propsOptions: [o], slots: m, attrs: g, emit: b, render: T, renderCache: M, data: I, setupState: A, ctx: z, inheritAttrs: V } = t; + const { type: e, vnode: n, proxy: a, withProxy: s, props: f, propsOptions: [o], slots: m, attrs: g, emit: b, render: E, renderCache: M, data: I, setupState: P, ctx: z, inheritAttrs: V } = t; let q, re; const X = Mg(t); process.env.NODE_ENV !== "production" && (C0 = !1); try { if (n.shapeFlag & 4) { const ve = s || a; - q = rs(T.call(ve, ve, M, f, A, I, z)), re = g; + q = rs(E.call(ve, ve, M, f, P, I, z)), re = g; } else { const ve = e; process.env.NODE_ENV !== "production" && g === f && Ig(), q = rs(ve.length > 1 ? ve(f, process.env.NODE_ENV !== "production" ? { @@ -1163,30 +1163,30 @@ function k_(t) { }, slots: m, emit: b - } : { attrs: g, slots: m, emit: b }) : ve(f, null)), re = e.props ? g : hA(g); + } : { attrs: g, slots: m, emit: b }) : ve(f, null)), re = e.props ? g : hP(g); } } catch (ve) { dd.length = 0, gv(ve, t, 1), q = kt(Xi); } let ae = q, ce; - if (process.env.NODE_ENV !== "production" && q.patchFlag > 0 && q.patchFlag & 2048 && ([ae, ce] = cA(q)), re && V !== !1) { + if (process.env.NODE_ENV !== "production" && q.patchFlag > 0 && q.patchFlag & 2048 && ([ae, ce] = cP(q)), re && V !== !1) { const ve = Object.keys(re), { shapeFlag: Ne } = ae; if (ve.length) { if (Ne & 7) - o && ve.some(_g) && (re = fA(re, o)), ae = Qs(ae, re); + o && ve.some(_g) && (re = fP(re, o)), ae = Qs(ae, re); else if (process.env.NODE_ENV !== "production" && !C0 && ae.type !== Xi) { - const ze = Object.keys(g), Ae = [], Se = []; + const ze = Object.keys(g), Pe = [], Se = []; for (let Ie = 0, Xe = ze.length; Ie < Xe; Ie++) { const $e = ze[Ie]; - Ud($e) ? _g($e) || Ae.push($e[2].toLowerCase() + $e.slice(3)) : Se.push($e); + Ud($e) ? _g($e) || Pe.push($e[2].toLowerCase() + $e.slice(3)) : Se.push($e); } - Se.length && lt(`Extraneous non-props attributes (${Se.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`), Ae.length && lt(`Extraneous non-emits event listeners (${Ae.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`); + Se.length && lt(`Extraneous non-props attributes (${Se.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`), Pe.length && lt(`Extraneous non-emits event listeners (${Pe.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`); } } } return n.dirs && (process.env.NODE_ENV !== "production" && !Zb(ae) && lt("Runtime directive used on component with non-element root node. The directives will not function as intended."), ae = Qs(ae), ae.dirs = ae.dirs ? ae.dirs.concat(n.dirs) : n.dirs), n.transition && (process.env.NODE_ENV !== "production" && !Zb(ae) && lt("Component inside renders non-element root node that cannot be animated."), ae.transition = n.transition), process.env.NODE_ENV !== "production" && ce ? ce(ae) : q = ae, Mg(X), q; } -const cA = (t) => { +const cP = (t) => { const e = t.children, n = t.dynamicChildren, a = bS(e); if (!a) return [t, void 0]; @@ -1210,20 +1210,20 @@ function bS(t) { } return e; } -const hA = (t) => { +const hP = (t) => { let e; for (const n in t) (n === "class" || n === "style" || Ud(n)) && ((e || (e = {}))[n] = t[n]); return e; -}, fA = (t, e) => { +}, fP = (t, e) => { const n = {}; for (const a in t) (!_g(a) || !(a.slice(9) in e)) && (n[a] = t[a]); return n; }, Zb = (t) => t.shapeFlag & 7 || t.type === Xi; -function pA(t, e, n) { +function pP(t, e, n) { const { props: a, children: s, component: f } = t, { props: o, children: m, patchFlag: g } = e, b = f.emitsOptions; - if (process.env.NODE_ENV !== "production" && (s || m) && Au || e.dirs || e.transition) + if (process.env.NODE_ENV !== "production" && (s || m) && Pu || e.dirs || e.transition) return !0; if (n && g >= 0) { if (g & 1024) @@ -1231,9 +1231,9 @@ function pA(t, e, n) { if (g & 16) return a ? Xb(a, o, b) : !!o; if (g & 8) { - const T = e.dynamicProps; - for (let M = 0; M < T.length; M++) { - const I = T[M]; + const E = e.dynamicProps; + for (let M = 0; M < E.length; M++) { + const I = E[M]; if (o[I] !== a[I] && !_v(b, I)) return !0; } @@ -1253,12 +1253,12 @@ function Xb(t, e, n) { } return !1; } -function dA({ vnode: t, parent: e }, n) { +function dP({ vnode: t, parent: e }, n) { for (; e && e.subTree === t; ) (t = e.vnode).el = n, e = e.parent; } -const mA = (t) => t.__isSuspense; -function yA(t, e) { +const mP = (t) => t.__isSuspense; +function yP(t, e) { e && e.pendingBranch ? er(t) ? e.effects.push(...t) : e.effects.push(t) : fS(t); } function wS(t, e) { @@ -1283,19 +1283,19 @@ function Sf(t, e, n = !1) { process.env.NODE_ENV !== "production" && lt("inject() can only be used inside setup() or functional components."); } function va(t, e) { - return Dx(t, null, e); + return D1(t, null, e); } const Ey = {}; -function An(t, e, n) { - return process.env.NODE_ENV !== "production" && !yr(e) && lt("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."), Dx(t, e, n); +function Pn(t, e, n) { + return process.env.NODE_ENV !== "production" && !yr(e) && lt("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."), D1(t, e, n); } -function Dx(t, e, { immediate: n, deep: a, flush: s, onTrack: f, onTrigger: o } = wn) { +function D1(t, e, { immediate: n, deep: a, flush: s, onTrack: f, onTrigger: o } = wn) { process.env.NODE_ENV !== "production" && !e && (n !== void 0 && lt('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'), a !== void 0 && lt('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.')); const m = (ce) => { lt("Invalid watch source: ", ce, "A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types."); }, g = $E() === (di == null ? void 0 : di.scope) ? di : null; - let b, T = !1, M = !1; - if (hn(t) ? (b = () => t.value, T = Eg(t)) : ss(t) ? (b = () => t, a = !0) : er(t) ? (M = !0, T = t.some((ce) => ss(ce) || Eg(ce)), b = () => t.map((ce) => { + let b, E = !1, M = !1; + if (hn(t) ? (b = () => t.value, E = Eg(t)) : ss(t) ? (b = () => t, a = !0) : er(t) ? (M = !0, E = t.some((ce) => ss(ce) || Eg(ce)), b = () => t.map((ce) => { if (hn(ce)) return ce.value; if (ss(ce)) @@ -1305,21 +1305,21 @@ function Dx(t, e, { immediate: n, deep: a, flush: s, onTrack: f, onTrigger: o } process.env.NODE_ENV !== "production" && m(ce); })) : yr(t) ? e ? b = () => Bl(t, g, 2) : b = () => { if (!(g && g.isUnmounted)) - return I && I(), Da(t, g, 3, [A]); + return I && I(), Da(t, g, 3, [P]); } : (b = ao, process.env.NODE_ENV !== "production" && m(t)), e && a) { const ce = b; b = () => Gc(ce()); } - let I, A = (ce) => { + let I, P = (ce) => { I = X.onStop = () => { Bl(ce, g, 4); }; }, z; - if (Ad) - if (A = ao, e ? n && Da(e, g, 3, [ + if (Pd) + if (P = ao, e ? n && Da(e, g, 3, [ b(), M ? [] : void 0, - A + P ]) : b(), s === "sync") { const ce = Ek(); z = ce.__watcherHandles || (ce.__watcherHandles = []); @@ -1330,10 +1330,10 @@ function Dx(t, e, { immediate: n, deep: a, flush: s, onTrack: f, onTrigger: o } if (!!X.active) if (e) { const ce = X.run(); - (a || T || (M ? ce.some((ve, Ne) => Td(ve, V[Ne])) : Td(ce, V))) && (I && I(), Da(e, g, 3, [ + (a || E || (M ? ce.some((ve, Ne) => Td(ve, V[Ne])) : Td(ce, V))) && (I && I(), Da(e, g, 3, [ ce, V === Ey ? void 0 : M && V[0] === Ey ? [] : V, - A + P ]), V = ce); } else X.run(); @@ -1341,20 +1341,20 @@ function Dx(t, e, { immediate: n, deep: a, flush: s, onTrack: f, onTrigger: o } q.allowRecurse = !!e; let re; s === "sync" ? re = q : s === "post" ? re = () => ea(q, g && g.suspense) : (q.pre = !0, g && (q.id = g.uid), re = () => vv(q)); - const X = new Ix(b, re); + const X = new I1(b, re); process.env.NODE_ENV !== "production" && (X.onTrack = f, X.onTrigger = o), e ? n ? q() : V = X.run() : s === "post" ? ea(X.run.bind(X), g && g.suspense) : X.run(); const ae = () => { - X.stop(), g && g.scope && wx(g.scope.effects, X); + X.stop(), g && g.scope && w1(g.scope.effects, X); }; return z && z.push(ae), ae; } -function gA(t, e, n) { +function gP(t, e, n) { const a = this.proxy, s = Hn(t) ? t.includes(".") ? ES(a, t) : () => a[t] : t.bind(a, a); let f; yr(e) ? f = e : (f = e.handler, n = e); const o = di; Df(this); - const m = Dx(s, f.bind(a), n); + const m = D1(s, f.bind(a), n); return o ? Df(o) : Zc(), m; } function ES(t, e) { @@ -1383,7 +1383,7 @@ function Gc(t, e) { Gc(t[n], e); return t; } -function vA() { +function vP() { const t = { isMounted: !1, isLeaving: !1, @@ -1396,7 +1396,7 @@ function vA() { t.isUnmounting = !0; }), t; } -const Ia = [Function, Array], _A = { +const Ia = [Function, Array], _P = { name: "BaseTransition", props: { mode: String, @@ -1416,7 +1416,7 @@ const Ia = [Function, Array], _A = { onAppearCancelled: Ia }, setup(t, { slots: e }) { - const n = wv(), a = vA(); + const n = wv(), a = vP(); let s; return () => { const f = e.default && MS(e.default(), !0); @@ -1441,83 +1441,83 @@ const Ia = [Function, Array], _A = { const b = Kb(o); if (!b) return L_(o); - const T = P0(b, m, a, n); - A0(b, T); + const E = A0(b, m, a, n); + P0(b, E); const M = n.subTree, I = M && Kb(M); - let A = !1; + let P = !1; const { getTransitionKey: z } = b.type; if (z) { const V = z(); - s === void 0 ? s = V : V !== s && (s = V, A = !0); + s === void 0 ? s = V : V !== s && (s = V, P = !0); } - if (I && I.type !== Xi && (!Vc(b, I) || A)) { - const V = P0(I, m, a, n); - if (A0(I, V), g === "out-in") + if (I && I.type !== Xi && (!Vc(b, I) || P)) { + const V = A0(I, m, a, n); + if (P0(I, V), g === "out-in") return a.isLeaving = !0, V.afterLeave = () => { a.isLeaving = !1, n.update.active !== !1 && n.update(); }, L_(o); g === "in-out" && b.type !== Xi && (V.delayLeave = (q, re, X) => { const ae = TS(a, I); ae[String(I.key)] = I, q._leaveCb = () => { - re(), q._leaveCb = void 0, delete T.delayedLeave; - }, T.delayedLeave = X; + re(), q._leaveCb = void 0, delete E.delayedLeave; + }, E.delayedLeave = X; }); } return o; }; } -}, SS = _A; +}, SS = _P; function TS(t, e) { const { leavingVNodes: n } = t; let a = n.get(e.type); return a || (a = /* @__PURE__ */ Object.create(null), n.set(e.type, a)), a; } -function P0(t, e, n, a) { - const { appear: s, mode: f, persisted: o = !1, onBeforeEnter: m, onEnter: g, onAfterEnter: b, onEnterCancelled: T, onBeforeLeave: M, onLeave: I, onAfterLeave: A, onLeaveCancelled: z, onBeforeAppear: V, onAppear: q, onAfterAppear: re, onAppearCancelled: X } = e, ae = String(t.key), ce = TS(n, t), ve = (Ae, Se) => { - Ae && Da(Ae, a, 9, Se); - }, Ne = (Ae, Se) => { +function A0(t, e, n, a) { + const { appear: s, mode: f, persisted: o = !1, onBeforeEnter: m, onEnter: g, onAfterEnter: b, onEnterCancelled: E, onBeforeLeave: M, onLeave: I, onAfterLeave: P, onLeaveCancelled: z, onBeforeAppear: V, onAppear: q, onAfterAppear: re, onAppearCancelled: X } = e, ae = String(t.key), ce = TS(n, t), ve = (Pe, Se) => { + Pe && Da(Pe, a, 9, Se); + }, Ne = (Pe, Se) => { const Ie = Se[1]; - ve(Ae, Se), er(Ae) ? Ae.every((Xe) => Xe.length <= 1) && Ie() : Ae.length <= 1 && Ie(); + ve(Pe, Se), er(Pe) ? Pe.every((Xe) => Xe.length <= 1) && Ie() : Pe.length <= 1 && Ie(); }, ze = { mode: f, persisted: o, - beforeEnter(Ae) { + beforeEnter(Pe) { let Se = m; if (!n.isMounted) if (s) Se = V || m; else return; - Ae._leaveCb && Ae._leaveCb(!0); + Pe._leaveCb && Pe._leaveCb(!0); const Ie = ce[ae]; - Ie && Vc(t, Ie) && Ie.el._leaveCb && Ie.el._leaveCb(), ve(Se, [Ae]); + Ie && Vc(t, Ie) && Ie.el._leaveCb && Ie.el._leaveCb(), ve(Se, [Pe]); }, - enter(Ae) { - let Se = g, Ie = b, Xe = T; + enter(Pe) { + let Se = g, Ie = b, Xe = E; if (!n.isMounted) if (s) - Se = q || g, Ie = re || b, Xe = X || T; + Se = q || g, Ie = re || b, Xe = X || E; else return; let $e = !1; - const at = Ae._enterCb = (be) => { - $e || ($e = !0, be ? ve(Xe, [Ae]) : ve(Ie, [Ae]), ze.delayedLeave && ze.delayedLeave(), Ae._enterCb = void 0); + const at = Pe._enterCb = (be) => { + $e || ($e = !0, be ? ve(Xe, [Pe]) : ve(Ie, [Pe]), ze.delayedLeave && ze.delayedLeave(), Pe._enterCb = void 0); }; - Se ? Ne(Se, [Ae, at]) : at(); + Se ? Ne(Se, [Pe, at]) : at(); }, - leave(Ae, Se) { + leave(Pe, Se) { const Ie = String(t.key); - if (Ae._enterCb && Ae._enterCb(!0), n.isUnmounting) + if (Pe._enterCb && Pe._enterCb(!0), n.isUnmounting) return Se(); - ve(M, [Ae]); + ve(M, [Pe]); let Xe = !1; - const $e = Ae._leaveCb = (at) => { - Xe || (Xe = !0, Se(), at ? ve(z, [Ae]) : ve(A, [Ae]), Ae._leaveCb = void 0, ce[Ie] === t && delete ce[Ie]); + const $e = Pe._leaveCb = (at) => { + Xe || (Xe = !0, Se(), at ? ve(z, [Pe]) : ve(P, [Pe]), Pe._leaveCb = void 0, ce[Ie] === t && delete ce[Ie]); }; - ce[Ie] = t, I ? Ne(I, [Ae, $e]) : $e(); + ce[Ie] = t, I ? Ne(I, [Pe, $e]) : $e(); }, - clone(Ae) { - return P0(Ae, e, n, a); + clone(Pe) { + return A0(Pe, e, n, a); } }; return ze; @@ -1529,8 +1529,8 @@ function L_(t) { function Kb(t) { return Gd(t) ? t.children ? t.children[0] : void 0 : t; } -function A0(t, e) { - t.shapeFlag & 6 && t.component ? A0(t.component.subTree, e) : t.shapeFlag & 128 ? (t.ssContent.transition = e.clone(t.ssContent), t.ssFallback.transition = e.clone(t.ssFallback)) : t.transition = e; +function P0(t, e) { + t.shapeFlag & 6 && t.component ? P0(t.component.subTree, e) : t.shapeFlag & 128 ? (t.ssContent.transition = e.clone(t.ssContent), t.ssFallback.transition = e.clone(t.ssFallback)) : t.transition = e; } function MS(t, e = !1, n) { let a = [], s = 0; @@ -1548,10 +1548,10 @@ function ir(t) { return yr(t) ? { setup: t, name: t.name } : t; } const fd = (t) => !!t.type.__asyncLoader, Gd = (t) => t.type.__isKeepAlive; -function xA(t, e) { +function xP(t, e) { IS(t, "a", e); } -function bA(t, e) { +function bP(t, e) { IS(t, "da", e); } function IS(t, e, n = di) { @@ -1567,13 +1567,13 @@ function IS(t, e, n = di) { if (xv(e, a, n), n) { let s = n.parent; for (; s && s.parent; ) - Gd(s.parent.vnode) && wA(a, e, n, s), s = s.parent; + Gd(s.parent.vnode) && wP(a, e, n, s), s = s.parent; } } -function wA(t, e, n, a) { +function wP(t, e, n, a) { const s = xv(e, t, a, !0); $u(() => { - wx(a[e], s); + w1(a[e], s); }, n); } function xv(t, e, n = di, a = !1) { @@ -1587,16 +1587,16 @@ function xv(t, e, n = di, a = !1) { }); return a ? s.unshift(f) : s.push(f), f; } else if (process.env.NODE_ENV !== "production") { - const s = Nc(Px[t].replace(/ hook$/, "")); + const s = Nc(A1[t].replace(/ hook$/, "")); lt(`${s} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`); } } -const Hl = (t) => (e, n = di) => (!Ad || t === "sp") && xv(t, (...a) => e(...a), n), EA = Hl("bm"), _a = Hl("m"), SA = Hl("bu"), TA = Hl("u"), OS = Hl("bum"), $u = Hl("um"), MA = Hl("sp"), IA = Hl("rtg"), OA = Hl("rtc"); -function CA(t, e = di) { +const Hl = (t) => (e, n = di) => (!Pd || t === "sp") && xv(t, (...a) => e(...a), n), EP = Hl("bm"), _a = Hl("m"), SP = Hl("bu"), TP = Hl("u"), OS = Hl("bum"), $u = Hl("um"), MP = Hl("sp"), IP = Hl("rtg"), OP = Hl("rtc"); +function CP(t, e = di) { xv("ec", t, e); } function CS(t) { - tP(t) && lt("Do not use built-in directive ids as custom directive id: " + t); + tA(t) && lt("Do not use built-in directive ids as custom directive id: " + t); } function Og(t, e) { const n = zi; @@ -1633,20 +1633,20 @@ function Tc(t, e, n, a) { ]), nh()); } } -const k0 = "components", PA = "directives"; -function AA(t, e) { - return PS(k0, t, !0, e) || t; +const k0 = "components", AP = "directives"; +function PP(t, e) { + return AS(k0, t, !0, e) || t; } -const kA = Symbol(); -function Nx(t) { - return PS(PA, t); +const kP = Symbol(); +function N1(t) { + return AS(AP, t); } -function PS(t, e, n = !0, a = !1) { +function AS(t, e, n = !0, a = !1) { const s = zi || di; if (s) { const f = s.type; if (t === k0) { - const m = Vx(f, !1); + const m = V1(f, !1); if (m && (m === e || m === ya(e) || m === Yc(ya(e)))) return f; } @@ -1691,7 +1691,7 @@ function Ra(t, e, n, a) { s = []; return n && (n[a] = s), s; } -function AS(t, e, n = {}, a, s) { +function PS(t, e, n = {}, a, s) { if (zi.isCE || zi.parent && fd(zi.parent) && zi.parent.isCE) return e !== "default" && (n.name = e), kt("slot", n, a && a()); let f = t[e]; @@ -1715,20 +1715,20 @@ const L0 = (t) => t ? ZS(t) ? Ev(t) || t.proxy : L0(t.parent) : null, Hc = /* @_ $parent: (t) => L0(t.parent), $root: (t) => L0(t.root), $emit: (t) => t.emit, - $options: (t) => zx(t), + $options: (t) => z1(t), $forceUpdate: (t) => t.f || (t.f = () => vv(t.update)), $nextTick: (t) => t.n || (t.n = Tg.bind(t.proxy)), - $watch: (t) => gA.bind(t) -}), Rx = (t) => t === "_" || t === "$", D_ = (t, e) => t !== wn && !t.__isScriptSetup && jr(t, e), LS = { + $watch: (t) => gP.bind(t) +}), R1 = (t) => t === "_" || t === "$", D_ = (t, e) => t !== wn && !t.__isScriptSetup && jr(t, e), LS = { get({ _: t }, e) { const { ctx: n, setupState: a, data: s, props: f, accessCache: o, type: m, appContext: g } = t; if (process.env.NODE_ENV !== "production" && e === "__isVue") return !0; let b; if (e[0] !== "$") { - const A = o[e]; - if (A !== void 0) - switch (A) { + const P = o[e]; + if (P !== void 0) + switch (P) { case 1: return a[e]; case 2: @@ -1750,17 +1750,17 @@ const L0 = (t) => t ? ZS(t) ? Ev(t) || t.proxy : L0(t.parent) : null, Hc = /* @_ D0 && (o[e] = 0); } } - const T = Hc[e]; + const E = Hc[e]; let M, I; - if (T) - return e === "$attrs" && (Bo(t, "get", e), process.env.NODE_ENV !== "production" && Ig()), T(t); + if (E) + return e === "$attrs" && (Bo(t, "get", e), process.env.NODE_ENV !== "production" && Ig()), E(t); if ((M = m.__cssModules) && (M = M[e])) return M; if (n !== wn && jr(n, e)) return o[e] = 4, n[e]; if (I = g.config.globalProperties, jr(I, e)) return I[e]; - process.env.NODE_ENV !== "production" && zi && (!Hn(e) || e.indexOf("__v") !== 0) && (s !== wn && Rx(e[0]) && jr(s, e) ? lt(`Property ${JSON.stringify(e)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`) : t === zi && lt(`Property ${JSON.stringify(e)} was accessed during render but is not defined on instance.`)); + process.env.NODE_ENV !== "production" && zi && (!Hn(e) || e.indexOf("__v") !== 0) && (s !== wn && R1(e[0]) && jr(s, e) ? lt(`Property ${JSON.stringify(e)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`) : t === zi && lt(`Property ${JSON.stringify(e)} was accessed during render but is not defined on instance.`)); }, set({ _: t }, e, n) { const { data: a, setupState: s, ctx: f } = t; @@ -1779,7 +1779,7 @@ const L0 = (t) => t ? ZS(t) ? Ev(t) || t.proxy : L0(t.parent) : null, Hc = /* @_ } }; process.env.NODE_ENV !== "production" && (LS.ownKeys = (t) => (lt("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."), Reflect.ownKeys(t))); -function LA(t) { +function LP(t) { const e = {}; return Object.defineProperty(e, "_", { configurable: !0, @@ -1794,7 +1794,7 @@ function LA(t) { }); }), e; } -function DA(t) { +function DP(t) { const { ctx: e, propsOptions: [n] } = t; n && Object.keys(n).forEach((a) => { Object.defineProperty(e, a, { @@ -1805,11 +1805,11 @@ function DA(t) { }); }); } -function NA(t) { +function NP(t) { const { ctx: e, setupState: n } = t; Object.keys(hr(n)).forEach((a) => { if (!n.__isScriptSetup) { - if (Rx(a[0])) { + if (R1(a[0])) { lt(`setup() return property ${JSON.stringify(a)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`); return; } @@ -1822,15 +1822,15 @@ function NA(t) { } }); } -function RA() { +function RP() { const t = /* @__PURE__ */ Object.create(null); return (e, n) => { t[n] ? lt(`${e} property "${n}" is already defined in ${t[n]}.`) : t[n] = e; }; } let D0 = !0; -function zA(t) { - const e = zx(t), n = t.proxy, a = t.ctx; +function zP(t) { + const e = z1(t), n = t.proxy, a = t.ctx; D0 = !1, e.beforeCreate && Jb(e.beforeCreate, t, "bc"); const { data: s, @@ -1839,10 +1839,10 @@ function zA(t) { watch: m, provide: g, inject: b, - created: T, + created: E, beforeMount: M, mounted: I, - beforeUpdate: A, + beforeUpdate: P, updated: z, activated: V, deactivated: q, @@ -1853,49 +1853,49 @@ function zA(t) { render: ve, renderTracked: Ne, renderTriggered: ze, - errorCaptured: Ae, + errorCaptured: Pe, serverPrefetch: Se, expose: Ie, inheritAttrs: Xe, components: $e, directives: at, filters: be - } = e, Je = process.env.NODE_ENV !== "production" ? RA() : null; + } = e, Je = process.env.NODE_ENV !== "production" ? RP() : null; if (process.env.NODE_ENV !== "production") { const [vt] = t.propsOptions; if (vt) - for (const At in vt) - Je("Props", At); + for (const Pt in vt) + Je("Props", Pt); } - if (b && FA(b, a, Je, t.appContext.config.unwrapInjectedRef), o) + if (b && FP(b, a, Je, t.appContext.config.unwrapInjectedRef), o) for (const vt in o) { - const At = o[vt]; - yr(At) ? (process.env.NODE_ENV !== "production" ? Object.defineProperty(a, vt, { - value: At.bind(n), + const Pt = o[vt]; + yr(Pt) ? (process.env.NODE_ENV !== "production" ? Object.defineProperty(a, vt, { + value: Pt.bind(n), configurable: !0, enumerable: !0, writable: !0 - }) : a[vt] = At.bind(n), process.env.NODE_ENV !== "production" && Je("Methods", vt)) : process.env.NODE_ENV !== "production" && lt(`Method "${vt}" has type "${typeof At}" in the component definition. Did you reference the function correctly?`); + }) : a[vt] = Pt.bind(n), process.env.NODE_ENV !== "production" && Je("Methods", vt)) : process.env.NODE_ENV !== "production" && lt(`Method "${vt}" has type "${typeof Pt}" in the component definition. Did you reference the function correctly?`); } if (s) { process.env.NODE_ENV !== "production" && !yr(s) && lt("The data option must be a function. Plain object usage is no longer supported."); const vt = s.call(n, n); - if (process.env.NODE_ENV !== "production" && Sx(vt) && lt("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + ."), !fn(vt)) + if (process.env.NODE_ENV !== "production" && S1(vt) && lt("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + ."), !fn(vt)) process.env.NODE_ENV !== "production" && lt("data() should return an object."); else if (t.data = mv(vt), process.env.NODE_ENV !== "production") - for (const At in vt) - Je("Data", At), Rx(At[0]) || Object.defineProperty(a, At, { + for (const Pt in vt) + Je("Data", Pt), R1(Pt[0]) || Object.defineProperty(a, Pt, { configurable: !0, enumerable: !0, - get: () => vt[At], + get: () => vt[Pt], set: ao }); } if (D0 = !0, f) for (const vt in f) { - const At = f[vt], tr = yr(At) ? At.bind(n, n) : yr(At.get) ? At.get.bind(n, n) : ao; + const Pt = f[vt], tr = yr(Pt) ? Pt.bind(n, n) : yr(Pt.get) ? Pt.get.bind(n, n) : ao; process.env.NODE_ENV !== "production" && tr === ao && lt(`Computed property "${vt}" has no getter.`); - const kn = !yr(At) && yr(At.set) ? At.set.bind(n) : process.env.NODE_ENV !== "production" ? () => { + const kn = !yr(Pt) && yr(Pt.set) ? Pt.set.bind(n) : process.env.NODE_ENV !== "production" ? () => { lt(`Write operation failed: computed property "${vt}" is readonly.`); } : ao, Nr = ar({ get: tr, @@ -1913,28 +1913,28 @@ function zA(t) { DS(m[vt], a, n, vt); if (g) { const vt = yr(g) ? g.call(n) : g; - Reflect.ownKeys(vt).forEach((At) => { - wS(At, vt[At]); + Reflect.ownKeys(vt).forEach((Pt) => { + wS(Pt, vt[Pt]); }); } - T && Jb(T, t, "c"); - function ht(vt, At) { - er(At) ? At.forEach((tr) => vt(tr.bind(n))) : At && vt(At.bind(n)); + E && Jb(E, t, "c"); + function ht(vt, Pt) { + er(Pt) ? Pt.forEach((tr) => vt(tr.bind(n))) : Pt && vt(Pt.bind(n)); } - if (ht(EA, M), ht(_a, I), ht(SA, A), ht(TA, z), ht(xA, V), ht(bA, q), ht(CA, Ae), ht(OA, Ne), ht(IA, ze), ht(OS, X), ht($u, ce), ht(MA, Se), er(Ie)) + if (ht(EP, M), ht(_a, I), ht(SP, P), ht(TP, z), ht(xP, V), ht(bP, q), ht(CP, Pe), ht(OP, Ne), ht(IP, ze), ht(OS, X), ht($u, ce), ht(MP, Se), er(Ie)) if (Ie.length) { const vt = t.exposed || (t.exposed = {}); - Ie.forEach((At) => { - Object.defineProperty(vt, At, { - get: () => n[At], - set: (tr) => n[At] = tr + Ie.forEach((Pt) => { + Object.defineProperty(vt, Pt, { + get: () => n[Pt], + set: (tr) => n[Pt] = tr }); }); } else t.exposed || (t.exposed = {}); ve && t.render === ao && (t.render = ve), Xe != null && (t.inheritAttrs = Xe), $e && (t.components = $e), at && (t.directives = at); } -function FA(t, e, n = ao, a = !1) { +function FP(t, e, n = ao, a = !1) { er(t) && (t = N0(t)); for (const s in t) { const f = t[s]; @@ -1954,20 +1954,20 @@ function DS(t, e, n, a) { const s = a.includes(".") ? ES(n, a) : () => n[a]; if (Hn(t)) { const f = e[t]; - yr(f) ? An(s, f) : process.env.NODE_ENV !== "production" && lt(`Invalid watch handler specified by key "${t}"`, f); + yr(f) ? Pn(s, f) : process.env.NODE_ENV !== "production" && lt(`Invalid watch handler specified by key "${t}"`, f); } else if (yr(t)) - An(s, t.bind(n)); + Pn(s, t.bind(n)); else if (fn(t)) if (er(t)) t.forEach((f) => DS(f, e, n, a)); else { const f = yr(t.handler) ? t.handler.bind(n) : e[t.handler]; - yr(f) ? An(s, f, t) : process.env.NODE_ENV !== "production" && lt(`Invalid watch handler specified by key "${t.handler}"`, f); + yr(f) ? Pn(s, f, t) : process.env.NODE_ENV !== "production" && lt(`Invalid watch handler specified by key "${t.handler}"`, f); } else process.env.NODE_ENV !== "production" && lt(`Invalid watch option: "${a}"`, t); } -function zx(t) { +function z1(t) { const e = t.type, { mixins: n, extends: a } = e, { mixins: s, optionsCache: f, config: { optionMergeStrategies: o } } = t.appContext, m = f.get(e); let g; return m ? g = m : !s.length && !n && !a ? g = e : (g = {}, s.length && s.forEach((b) => Cg(g, b, o, !0)), Cg(g, e, o)), fn(e) && f.set(e, g), g; @@ -1979,12 +1979,12 @@ function Cg(t, e, n, a = !1) { if (a && o === "expose") process.env.NODE_ENV !== "production" && lt('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.'); else { - const m = BA[o] || n && n[o]; + const m = BP[o] || n && n[o]; t[o] = m ? m(t[o], e[o]) : e[o]; } return t; } -const BA = { +const BP = { data: Qb, props: Rc, emits: Rc, @@ -2006,16 +2006,16 @@ const BA = { serverPrefetch: ko, components: Rc, directives: Rc, - watch: UA, + watch: UP, provide: Qb, - inject: VA + inject: VP }; function Qb(t, e) { return e ? t ? function() { return Wn(yr(t) ? t.call(this, this) : t, yr(e) ? e.call(this, this) : e); } : e : t; } -function VA(t, e) { +function VP(t, e) { return Rc(N0(t), N0(e)); } function N0(t) { @@ -2033,7 +2033,7 @@ function ko(t, e) { function Rc(t, e) { return t ? Wn(Wn(/* @__PURE__ */ Object.create(null), t), e) : e; } -function UA(t, e) { +function UP(t, e) { if (!t) return e; if (!e) @@ -2043,47 +2043,47 @@ function UA(t, e) { n[a] = ko(t[a], e[a]); return n; } -function jA(t, e, n, a = !1) { +function jP(t, e, n, a = !1) { const s = {}, f = {}; xg(f, bv, 1), t.propsDefaults = /* @__PURE__ */ Object.create(null), NS(t, e, s, f); for (const o in t.propsOptions[0]) o in s || (s[o] = void 0); - process.env.NODE_ENV !== "production" && zS(e || {}, s, t), n ? t.props = a ? s : NP(s) : t.type.props ? t.props = s : t.props = f, t.attrs = f; + process.env.NODE_ENV !== "production" && zS(e || {}, s, t), n ? t.props = a ? s : NA(s) : t.type.props ? t.props = s : t.props = f, t.attrs = f; } -function GA(t) { +function GP(t) { for (; t; ) { if (t.type.__hmrId) return !0; t = t.parent; } } -function $A(t, e, n, a) { +function $P(t, e, n, a) { const { props: s, attrs: f, vnode: { patchFlag: o } } = t, m = hr(s), [g] = t.propsOptions; let b = !1; - if (!(process.env.NODE_ENV !== "production" && GA(t)) && (a || o > 0) && !(o & 16)) { + if (!(process.env.NODE_ENV !== "production" && GP(t)) && (a || o > 0) && !(o & 16)) { if (o & 8) { - const T = t.vnode.dynamicProps; - for (let M = 0; M < T.length; M++) { - let I = T[M]; + const E = t.vnode.dynamicProps; + for (let M = 0; M < E.length; M++) { + let I = E[M]; if (_v(t.emitsOptions, I)) continue; - const A = e[I]; + const P = e[I]; if (g) if (jr(f, I)) - A !== f[I] && (f[I] = A, b = !0); + P !== f[I] && (f[I] = P, b = !0); else { const z = ya(I); - s[z] = R0(g, m, z, A, t, !1); + s[z] = R0(g, m, z, P, t, !1); } else - A !== f[I] && (f[I] = A, b = !0); + P !== f[I] && (f[I] = P, b = !0); } } } else { NS(t, e, s, f) && (b = !0); - let T; + let E; for (const M in m) - (!e || !jr(e, M) && ((T = ta(M)) === M || !jr(e, T))) && (g ? n && (n[M] !== void 0 || n[T] !== void 0) && (s[M] = R0(g, m, M, void 0, t, !0)) : delete s[M]); + (!e || !jr(e, M) && ((E = ta(M)) === M || !jr(e, E))) && (g ? n && (n[M] !== void 0 || n[E] !== void 0) && (s[M] = R0(g, m, M, void 0, t, !0)) : delete s[M]); if (f !== m) for (const M in f) (!e || !jr(e, M) && !0) && (delete f[M], b = !0); @@ -2098,13 +2098,13 @@ function NS(t, e, n, a) { if (Yy(g)) continue; const b = e[g]; - let T; - s && jr(s, T = ya(g)) ? !f || !f.includes(T) ? n[T] = b : (m || (m = {}))[T] = b : _v(t.emitsOptions, g) || (!(g in a) || b !== a[g]) && (a[g] = b, o = !0); + let E; + s && jr(s, E = ya(g)) ? !f || !f.includes(E) ? n[E] = b : (m || (m = {}))[E] = b : _v(t.emitsOptions, g) || (!(g in a) || b !== a[g]) && (a[g] = b, o = !0); } if (f) { const g = hr(n), b = m || wn; - for (let T = 0; T < f.length; T++) { - const M = f[T]; + for (let E = 0; E < f.length; E++) { + const M = f[E]; n[M] = R0(s, g, M, b[M], t, !jr(b, M)); } } @@ -2133,30 +2133,30 @@ function RS(t, e, n = !1) { const f = t.props, o = {}, m = []; let g = !1; if (!yr(t)) { - const T = (M) => { + const E = (M) => { g = !0; - const [I, A] = RS(M, e, !0); - Wn(o, I), A && m.push(...A); + const [I, P] = RS(M, e, !0); + Wn(o, I), P && m.push(...P); }; - !n && e.mixins.length && e.mixins.forEach(T), t.extends && T(t.extends), t.mixins && t.mixins.forEach(T); + !n && e.mixins.length && e.mixins.forEach(E), t.extends && E(t.extends), t.mixins && t.mixins.forEach(E); } if (!f && !g) return fn(t) && a.set(t, wf), wf; if (er(f)) - for (let T = 0; T < f.length; T++) { - process.env.NODE_ENV !== "production" && !Hn(f[T]) && lt("props must be strings when using array syntax.", f[T]); - const M = ya(f[T]); + for (let E = 0; E < f.length; E++) { + process.env.NODE_ENV !== "production" && !Hn(f[E]) && lt("props must be strings when using array syntax.", f[E]); + const M = ya(f[E]); ew(M) && (o[M] = wn); } else if (f) { process.env.NODE_ENV !== "production" && !fn(f) && lt("invalid props options", f); - for (const T in f) { - const M = ya(T); + for (const E in f) { + const M = ya(E); if (ew(M)) { - const I = f[T], A = o[M] = er(I) || yr(I) ? { type: I } : Object.assign({}, I); - if (A) { - const z = rw(Boolean, A.type), V = rw(String, A.type); - A[0] = z > -1, A[1] = V < 0 || z < V, (z > -1 || jr(A, "default")) && m.push(M); + const I = f[E], P = o[M] = er(I) || yr(I) ? { type: I } : Object.assign({}, I); + if (P) { + const z = rw(Boolean, P.type), V = rw(String, P.type); + P[0] = z > -1, P[1] = V < 0 || z < V, (z > -1 || jr(P, "default")) && m.push(M); } } } @@ -2181,10 +2181,10 @@ function zS(t, e, n) { const a = hr(e), s = n.propsOptions[0]; for (const f in s) { let o = s[f]; - o != null && qA(f, a[f], o, !jr(t, f) && !jr(t, ta(f))); + o != null && qP(f, a[f], o, !jr(t, f) && !jr(t, ta(f))); } } -function qA(t, e, n, a) { +function qP(t, e, n, a) { const { type: s, required: f, validator: o } = n; if (f && a) { lt('Missing required prop: "' + t + '"'); @@ -2194,23 +2194,23 @@ function qA(t, e, n, a) { if (s != null && s !== !0) { let m = !1; const g = er(s) ? s : [s], b = []; - for (let T = 0; T < g.length && !m; T++) { - const { valid: M, expectedType: I } = HA(e, g[T]); + for (let E = 0; E < g.length && !m; E++) { + const { valid: M, expectedType: I } = HP(e, g[E]); b.push(I || ""), m = M; } if (!m) { - lt(ZA(t, e, b)); + lt(ZP(t, e, b)); return; } } o && !o(e) && lt('Invalid prop: custom validator check failed for prop "' + t + '".'); } } -const WA = /* @__PURE__ */ ju("String,Number,Boolean,Function,Symbol,BigInt"); -function HA(t, e) { +const WP = /* @__PURE__ */ ju("String,Number,Boolean,Function,Symbol,BigInt"); +function HP(t, e) { let n; const a = z0(e); - if (WA(a)) { + if (WP(a)) { const s = typeof t; n = s === a.toLowerCase(), !n && s === "object" && (n = t instanceof e); } else @@ -2220,10 +2220,10 @@ function HA(t, e) { expectedType: a }; } -function ZA(t, e, n) { +function ZP(t, e, n) { let a = `Invalid prop: type check failed for prop "${t}". Expected ${n.map(Yc).join(" | ")}`; - const s = n[0], f = Tx(e), o = nw(e, s), m = nw(e, f); - return n.length === 1 && iw(s) && !XA(s, f) && (a += ` with value ${o}`), a += `, got ${f} `, iw(f) && (a += `with value ${m}.`), a; + const s = n[0], f = T1(e), o = nw(e, s), m = nw(e, f); + return n.length === 1 && iw(s) && !XP(s, f) && (a += ` with value ${o}`), a += `, got ${f} `, iw(f) && (a += `with value ${m}.`), a; } function nw(t, e) { return e === "String" ? `"${t}"` : e === "Number" ? `${Number(t)}` : `${t}`; @@ -2231,13 +2231,13 @@ function nw(t, e) { function iw(t) { return ["string", "number", "boolean"].some((n) => t.toLowerCase() === n); } -function XA(...t) { +function XP(...t) { return t.some((e) => e.toLowerCase() === "boolean"); } -const FS = (t) => t[0] === "_" || t === "$stable", Fx = (t) => er(t) ? t.map(rs) : [rs(t)], KA = (t, e, n) => { +const FS = (t) => t[0] === "_" || t === "$stable", F1 = (t) => er(t) ? t.map(rs) : [rs(t)], KP = (t, e, n) => { if (e._n) return e; - const a = ku((...s) => (process.env.NODE_ENV !== "production" && di && lt(`Slot "${t}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`), Fx(e(...s))), n); + const a = ku((...s) => (process.env.NODE_ENV !== "production" && di && lt(`Slot "${t}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`), F1(e(...s))), n); return a._c = !1, a; }, BS = (t, e, n) => { const a = t._ctx; @@ -2246,30 +2246,30 @@ const FS = (t) => t[0] === "_" || t === "$stable", Fx = (t) => er(t) ? t.map(rs) continue; const f = t[s]; if (yr(f)) - e[s] = KA(s, f, a); + e[s] = KP(s, f, a); else if (f != null) { process.env.NODE_ENV !== "production" && lt(`Non-function value encountered for slot "${s}". Prefer function slots for better performance.`); - const o = Fx(f); + const o = F1(f); e[s] = () => o; } } }, VS = (t, e) => { process.env.NODE_ENV !== "production" && !Gd(t.vnode) && lt("Non-function value encountered for default slot. Prefer function slots for better performance."); - const n = Fx(e); + const n = F1(e); t.slots.default = () => n; -}, YA = (t, e) => { +}, YP = (t, e) => { if (t.vnode.shapeFlag & 32) { const n = e._; n ? (t.slots = hr(e), xg(e, "_", n)) : BS(e, t.slots = {}); } else t.slots = {}, e && VS(t, e); xg(t.slots, bv, 1); -}, JA = (t, e, n) => { +}, JP = (t, e, n) => { const { vnode: a, slots: s } = t; let f = !0, o = wn; if (a.shapeFlag & 32) { const m = e._; - m ? process.env.NODE_ENV !== "production" && Au ? Wn(s, e) : n && m === 1 ? f = !1 : (Wn(s, e), !n && m === 1 && delete s._) : (f = !e.$stable, BS(e, s)), o = e; + m ? process.env.NODE_ENV !== "production" && Pu ? Wn(s, e) : n && m === 1 ? f = !1 : (Wn(s, e), !n && m === 1 && delete s._) : (f = !e.$stable, BS(e, s)), o = e; } else e && (VS(t, e), o = { default: 1 }); if (f) @@ -2297,14 +2297,14 @@ function US() { emitsCache: /* @__PURE__ */ new WeakMap() }; } -let QA = 0; +let QP = 0; function ek(t, e) { return function(a, s = null) { yr(a) || (a = Object.assign({}, a)), s != null && !fn(s) && (process.env.NODE_ENV !== "production" && lt("root props passed to app.mount() must be an object."), s = null); const f = US(), o = /* @__PURE__ */ new Set(); let m = !1; const g = f.app = { - _uid: QA++, + _uid: QP++, _component: a, _props: s, _container: null, @@ -2317,19 +2317,19 @@ function ek(t, e) { set config(b) { process.env.NODE_ENV !== "production" && lt("app.config cannot be replaced. Modify individual options instead."); }, - use(b, ...T) { - return o.has(b) ? process.env.NODE_ENV !== "production" && lt("Plugin has already been applied to target app.") : b && yr(b.install) ? (o.add(b), b.install(g, ...T)) : yr(b) ? (o.add(b), b(g, ...T)) : process.env.NODE_ENV !== "production" && lt('A plugin must either be a function or an object with an "install" function.'), g; + use(b, ...E) { + return o.has(b) ? process.env.NODE_ENV !== "production" && lt("Plugin has already been applied to target app.") : b && yr(b.install) ? (o.add(b), b.install(g, ...E)) : yr(b) ? (o.add(b), b(g, ...E)) : process.env.NODE_ENV !== "production" && lt('A plugin must either be a function or an object with an "install" function.'), g; }, mixin(b) { return f.mixins.includes(b) ? process.env.NODE_ENV !== "production" && lt("Mixin has already been applied to target app" + (b.name ? `: ${b.name}` : "")) : f.mixins.push(b), g; }, - component(b, T) { - return process.env.NODE_ENV !== "production" && V0(b, f.config), T ? (process.env.NODE_ENV !== "production" && f.components[b] && lt(`Component "${b}" has already been registered in target app.`), f.components[b] = T, g) : f.components[b]; + component(b, E) { + return process.env.NODE_ENV !== "production" && V0(b, f.config), E ? (process.env.NODE_ENV !== "production" && f.components[b] && lt(`Component "${b}" has already been registered in target app.`), f.components[b] = E, g) : f.components[b]; }, - directive(b, T) { - return process.env.NODE_ENV !== "production" && CS(b), T ? (process.env.NODE_ENV !== "production" && f.directives[b] && lt(`Directive "${b}" has already been registered in target app.`), f.directives[b] = T, g) : f.directives[b]; + directive(b, E) { + return process.env.NODE_ENV !== "production" && CS(b), E ? (process.env.NODE_ENV !== "production" && f.directives[b] && lt(`Directive "${b}" has already been registered in target app.`), f.directives[b] = E, g) : f.directives[b]; }, - mount(b, T, M) { + mount(b, E, M) { if (m) process.env.NODE_ENV !== "production" && lt("App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`"); else { @@ -2337,14 +2337,14 @@ function ek(t, e) { const I = kt(a, s); return I.appContext = f, process.env.NODE_ENV !== "production" && (f.reload = () => { t(Qs(I), b, M); - }), T && e ? e(I, b) : t(I, b, M), m = !0, g._container = b, b.__vue_app__ = g, process.env.NODE_ENV !== "production" && (g._instance = I.component, tA(g, uw)), Ev(I.component) || I.component.proxy; + }), E && e ? e(I, b) : t(I, b, M), m = !0, g._container = b, b.__vue_app__ = g, process.env.NODE_ENV !== "production" && (g._instance = I.component, tP(g, uw)), Ev(I.component) || I.component.proxy; } }, unmount() { - m ? (t(null, g._container), process.env.NODE_ENV !== "production" && (g._instance = null, rA(g)), delete g._container.__vue_app__) : process.env.NODE_ENV !== "production" && lt("Cannot unmount an app that is not mounted."); + m ? (t(null, g._container), process.env.NODE_ENV !== "production" && (g._instance = null, rP(g)), delete g._container.__vue_app__) : process.env.NODE_ENV !== "production" && lt("Cannot unmount an app that is not mounted."); }, - provide(b, T) { - return process.env.NODE_ENV !== "production" && b in f.provides && lt(`App already provides property with key "${String(b)}". It will be overwritten with the new value.`), f.provides[b] = T, g; + provide(b, E) { + return process.env.NODE_ENV !== "production" && b in f.provides && lt(`App already provides property with key "${String(b)}". It will be overwritten with the new value.`), f.provides[b] = E, g; } }; return g; @@ -2352,7 +2352,7 @@ function ek(t, e) { } function F0(t, e, n, a, s = !1) { if (er(t)) { - t.forEach((I, A) => F0(I, e && (er(e) ? e[A] : e), n, a, s)); + t.forEach((I, P) => F0(I, e && (er(e) ? e[P] : e), n, a, s)); return; } if (fd(a) && !s) @@ -2362,18 +2362,18 @@ function F0(t, e, n, a, s = !1) { lt("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function."); return; } - const b = e && e.r, T = m.refs === wn ? m.refs = {} : m.refs, M = m.setupState; - if (b != null && b !== g && (Hn(b) ? (T[b] = null, jr(M, b) && (M[b] = null)) : hn(b) && (b.value = null)), yr(g)) - Bl(g, m, 12, [o, T]); + const b = e && e.r, E = m.refs === wn ? m.refs = {} : m.refs, M = m.setupState; + if (b != null && b !== g && (Hn(b) ? (E[b] = null, jr(M, b) && (M[b] = null)) : hn(b) && (b.value = null)), yr(g)) + Bl(g, m, 12, [o, E]); else { - const I = Hn(g), A = hn(g); - if (I || A) { + const I = Hn(g), P = hn(g); + if (I || P) { const z = () => { if (t.f) { - const V = I ? jr(M, g) ? M[g] : T[g] : g.value; - s ? er(V) && wx(V, f) : er(V) ? V.includes(f) || V.push(f) : I ? (T[g] = [f], jr(M, g) && (M[g] = T[g])) : (g.value = [f], t.k && (T[t.k] = g.value)); + const V = I ? jr(M, g) ? M[g] : E[g] : g.value; + s ? er(V) && w1(V, f) : er(V) ? V.includes(f) || V.push(f) : I ? (E[g] = [f], jr(M, g) && (M[g] = E[g])) : (g.value = [f], t.k && (E[t.k] = g.value)); } else - I ? (T[g] = o, jr(M, g) && (M[g] = o)) : A ? (g.value = o, t.k && (T[t.k] = o)) : process.env.NODE_ENV !== "production" && lt("Invalid template ref type:", g, `(${typeof g})`); + I ? (E[g] = o, jr(M, g) && (M[g] = o)) : P ? (g.value = o, t.k && (E[t.k] = o)) : process.env.NODE_ENV !== "production" && lt("Invalid template ref type:", g, `(${typeof g})`); }; o ? (z.id = -1, ea(z, n)) : z(); } else @@ -2382,16 +2382,16 @@ function F0(t, e, n, a, s = !1) { } let Gp, Tu; function Nl(t, e) { - t.appContext.config.performance && Pg() && Tu.mark(`vue-${e}-${t.uid}`), process.env.NODE_ENV !== "production" && aA(t, e, Pg() ? Tu.now() : Date.now()); + t.appContext.config.performance && Ag() && Tu.mark(`vue-${e}-${t.uid}`), process.env.NODE_ENV !== "production" && aP(t, e, Ag() ? Tu.now() : Date.now()); } function Rl(t, e) { - if (t.appContext.config.performance && Pg()) { + if (t.appContext.config.performance && Ag()) { const n = `vue-${e}-${t.uid}`, a = n + ":end"; Tu.mark(a), Tu.measure(`<${Sv(t, t.type)}> ${e}`, n, a), Tu.clearMarks(n), Tu.clearMarks(a); } - process.env.NODE_ENV !== "production" && sA(t, e, Pg() ? Tu.now() : Date.now()); + process.env.NODE_ENV !== "production" && sP(t, e, Ag() ? Tu.now() : Date.now()); } -function Pg() { +function Ag() { return Gp !== void 0 || (typeof window < "u" && window.performance ? (Gp = !0, Tu = window.performance) : Gp = !1), Gp; } function tk() { @@ -2403,7 +2403,7 @@ function tk() { For more details, see https://link.vuejs.org/feature-flags.`); } } -const ea = yA; +const ea = yP; function rk(t) { return nk(t); } @@ -2411,7 +2411,7 @@ function nk(t, e) { tk(); const n = UE(); n.__VUE__ = !0, process.env.NODE_ENV !== "production" && yS(n.__VUE_DEVTOOLS_GLOBAL_HOOK__, n); - const { insert: a, remove: s, patchProp: f, createElement: o, createText: m, createComment: g, setText: b, setElementText: T, parentNode: M, nextSibling: I, setScopeId: A = ao, insertStaticContent: z } = t, V = (K, ye, Re, qe = null, We = null, nt = null, mt = !1, et = null, ut = process.env.NODE_ENV !== "production" && Au ? !1 : !!ye.dynamicChildren) => { + const { insert: a, remove: s, patchProp: f, createElement: o, createText: m, createComment: g, setText: b, setElementText: E, parentNode: M, nextSibling: I, setScopeId: P = ao, insertStaticContent: z } = t, V = (K, ye, Re, qe = null, We = null, nt = null, mt = !1, et = null, ut = process.env.NODE_ENV !== "production" && Pu ? !1 : !!ye.dynamicChildren) => { if (K === ye) return; K && !Vc(K, ye) && (qe = Vn(K), Zn(K, We, nt, !0), K = null), ye.patchFlag === -2 && (ut = !1, ye.dynamicChildren = null); @@ -2465,9 +2465,9 @@ function nk(t, e) { }, ze = (K, ye, Re, qe, We, nt, mt, et) => { let ut, Qe; const { type: It, props: bt, shapeFlag: Lt, transition: Ut, dirs: dr } = K; - if (ut = K.el = o(K.type, nt, bt && bt.is, bt), Lt & 8 ? T(ut, K.children) : Lt & 16 && Se(K.children, ut, null, qe, We, nt && It !== "foreignObject", mt, et), dr && Tc(K, null, qe, "created"), Ae(ut, K, K.scopeId, mt, qe), bt) { + if (ut = K.el = o(K.type, nt, bt && bt.is, bt), Lt & 8 ? E(ut, K.children) : Lt & 16 && Se(K.children, ut, null, qe, We, nt && It !== "foreignObject", mt, et), dr && Tc(K, null, qe, "created"), Pe(ut, K, K.scopeId, mt, qe), bt) { for (const kr in bt) - kr !== "value" && !Yy(kr) && f(ut, kr, null, bt[kr], nt, K.children, qe, We, Ar); + kr !== "value" && !Yy(kr) && f(ut, kr, null, bt[kr], nt, K.children, qe, We, Pr); "value" in bt && f(ut, "value", null, bt.value), (Qe = bt.onVnodeBeforeMount) && Rs(Qe, qe, K); } process.env.NODE_ENV !== "production" && (Object.defineProperty(ut, "__vnode", { @@ -2481,15 +2481,15 @@ function nk(t, e) { Vr && Ut.beforeEnter(ut), a(ut, ye, Re), ((Qe = bt && bt.onVnodeMounted) || Vr || dr) && ea(() => { Qe && Rs(Qe, qe, K), Vr && Ut.enter(ut), dr && Tc(K, null, qe, "mounted"); }, We); - }, Ae = (K, ye, Re, qe, We) => { - if (Re && A(K, Re), qe) + }, Pe = (K, ye, Re, qe, We) => { + if (Re && P(K, Re), qe) for (let nt = 0; nt < qe.length; nt++) - A(K, qe[nt]); + P(K, qe[nt]); if (We) { let nt = We.subTree; if (process.env.NODE_ENV !== "production" && nt.patchFlag > 0 && nt.patchFlag & 2048 && (nt = bS(nt.children) || nt), ye === nt) { const mt = We.vnode; - Ae(K, mt, mt.scopeId, mt.slotScopeIds, We.parent); + Pe(K, mt, mt.scopeId, mt.slotScopeIds, We.parent); } } }, Se = (K, ye, Re, qe, We, nt, mt, et, ut = 0) => { @@ -2503,7 +2503,7 @@ function nk(t, e) { ut |= K.patchFlag & 16; const bt = K.props || wn, Lt = ye.props || wn; let Ut; - Re && Mc(Re, !1), (Ut = Lt.onVnodeBeforeUpdate) && Rs(Ut, Re, ye, K), It && Tc(ye, K, Re, "beforeUpdate"), Re && Mc(Re, !0), process.env.NODE_ENV !== "production" && Au && (ut = 0, mt = !1, Qe = null); + Re && Mc(Re, !1), (Ut = Lt.onVnodeBeforeUpdate) && Rs(Ut, Re, ye, K), It && Tc(ye, K, Re, "beforeUpdate"), Re && Mc(Re, !0), process.env.NODE_ENV !== "production" && Pu && (ut = 0, mt = !1, Qe = null); const dr = We && ye.type !== "foreignObject"; if (Qe ? (Xe(K.dynamicChildren, Qe, et, Re, qe, dr, nt), process.env.NODE_ENV !== "production" && Re && Re.type.__hmrId && pd(K, ye)) : mt || tr(K, ye, et, null, Re, qe, dr, nt, !1), ut > 0) { if (ut & 16) @@ -2512,10 +2512,10 @@ function nk(t, e) { const Vr = ye.dynamicProps; for (let kr = 0; kr < Vr.length; kr++) { const Jr = Vr[kr], Xn = bt[Jr], Bi = Lt[Jr]; - (Bi !== Xn || Jr === "value") && f(et, Jr, Xn, Bi, We, K.children, Re, qe, Ar); + (Bi !== Xn || Jr === "value") && f(et, Jr, Xn, Bi, We, K.children, Re, qe, Pr); } } - ut & 1 && K.children !== ye.children && T(et, ye.children); + ut & 1 && K.children !== ye.children && E(et, ye.children); } else !mt && Qe == null && $e(et, ye, bt, Lt, Re, qe, We); ((Ut = Lt.onVnodeUpdated) || It) && ea(() => { @@ -2530,24 +2530,24 @@ function nk(t, e) { if (Re !== qe) { if (Re !== wn) for (const et in Re) - !Yy(et) && !(et in qe) && f(K, et, Re[et], null, mt, ye.children, We, nt, Ar); + !Yy(et) && !(et in qe) && f(K, et, Re[et], null, mt, ye.children, We, nt, Pr); for (const et in qe) { if (Yy(et)) continue; const ut = qe[et], Qe = Re[et]; - ut !== Qe && et !== "value" && f(K, et, Qe, ut, mt, ye.children, We, nt, Ar); + ut !== Qe && et !== "value" && f(K, et, Qe, ut, mt, ye.children, We, nt, Pr); } "value" in qe && f(K, "value", Re.value, qe.value); } }, at = (K, ye, Re, qe, We, nt, mt, et, ut) => { const Qe = ye.el = K ? K.el : m(""), It = ye.anchor = K ? K.anchor : m(""); let { patchFlag: bt, dynamicChildren: Lt, slotScopeIds: Ut } = ye; - process.env.NODE_ENV !== "production" && (Au || bt & 2048) && (bt = 0, ut = !1, Lt = null), Ut && (et = et ? et.concat(Ut) : Ut), K == null ? (a(Qe, Re, qe), a(It, Re, qe), Se(ye.children, Re, It, We, nt, mt, et, ut)) : bt > 0 && bt & 64 && Lt && K.dynamicChildren ? (Xe(K.dynamicChildren, Lt, Re, We, nt, mt, et), process.env.NODE_ENV !== "production" && We && We.type.__hmrId ? pd(K, ye) : (ye.key != null || We && ye === We.subTree) && pd(K, ye, !0)) : tr(K, ye, Re, It, We, nt, mt, et, ut); + process.env.NODE_ENV !== "production" && (Pu || bt & 2048) && (bt = 0, ut = !1, Lt = null), Ut && (et = et ? et.concat(Ut) : Ut), K == null ? (a(Qe, Re, qe), a(It, Re, qe), Se(ye.children, Re, It, We, nt, mt, et, ut)) : bt > 0 && bt & 64 && Lt && K.dynamicChildren ? (Xe(K.dynamicChildren, Lt, Re, We, nt, mt, et), process.env.NODE_ENV !== "production" && We && We.type.__hmrId ? pd(K, ye) : (ye.key != null || We && ye === We.subTree) && pd(K, ye, !0)) : tr(K, ye, Re, It, We, nt, mt, et, ut); }, be = (K, ye, Re, qe, We, nt, mt, et, ut) => { ye.slotScopeIds = et, K == null ? ye.shapeFlag & 512 ? We.ctx.activate(ye, Re, qe, mt, ut) : Je(ye, Re, qe, We, nt, mt, ut) : ht(K, ye, ut); }, Je = (K, ye, Re, qe, We, nt, mt) => { const et = K.component = dk(K, qe, We); - if (process.env.NODE_ENV !== "production" && et.type.__hmrId && YP(et), process.env.NODE_ENV !== "production" && (Jy(K), Nl(et, "mount")), Gd(K) && (et.ctx.renderer = Sn), process.env.NODE_ENV !== "production" && Nl(et, "init"), yk(et), process.env.NODE_ENV !== "production" && Rl(et, "init"), et.asyncDep) { + if (process.env.NODE_ENV !== "production" && et.type.__hmrId && YA(et), process.env.NODE_ENV !== "production" && (Jy(K), Nl(et, "mount")), Gd(K) && (et.ctx.renderer = Sn), process.env.NODE_ENV !== "production" && Nl(et, "init"), yk(et), process.env.NODE_ENV !== "production" && Rl(et, "init"), et.asyncDep) { if (We && We.registerDep(et, vt), !K.el) { const ut = et.subTree = kt(Xi); re(null, ut, ye, Re); @@ -2557,19 +2557,19 @@ function nk(t, e) { vt(et, K, ye, Re, We, nt, mt), process.env.NODE_ENV !== "production" && (Qy(), Rl(et, "mount")); }, ht = (K, ye, Re) => { const qe = ye.component = K.component; - if (pA(K, ye, Re)) + if (pP(K, ye, Re)) if (qe.asyncDep && !qe.asyncResolved) { - process.env.NODE_ENV !== "production" && Jy(ye), At(qe, ye, Re), process.env.NODE_ENV !== "production" && Qy(); + process.env.NODE_ENV !== "production" && Jy(ye), Pt(qe, ye, Re), process.env.NODE_ENV !== "production" && Qy(); return; } else - qe.next = ye, XP(qe.update), qe.update(); + qe.next = ye, XA(qe.update), qe.update(); else ye.el = K.el, qe.vnode = ye; }, vt = (K, ye, Re, qe, We, nt, mt) => { const et = () => { if (K.isMounted) { let { next: It, bu: bt, u: Lt, parent: Ut, vnode: dr } = K, Vr = It, kr; - process.env.NODE_ENV !== "production" && Jy(It || K.vnode), Mc(K, !1), It ? (It.el = dr.el, At(K, It, mt)) : It = dr, bt && jp(bt), (kr = It.props && It.props.onVnodeBeforeUpdate) && Rs(kr, Ut, It, dr), Mc(K, !0), process.env.NODE_ENV !== "production" && Nl(K, "render"); + process.env.NODE_ENV !== "production" && Jy(It || K.vnode), Mc(K, !1), It ? (It.el = dr.el, Pt(K, It, mt)) : It = dr, bt && jp(bt), (kr = It.props && It.props.onVnodeBeforeUpdate) && Rs(kr, Ut, It, dr), Mc(K, !0), process.env.NODE_ENV !== "production" && Nl(K, "render"); const Jr = k_(K); process.env.NODE_ENV !== "production" && Rl(K, "render"); const Xn = K.subTree; @@ -2581,7 +2581,7 @@ function nk(t, e) { K, We, nt - ), process.env.NODE_ENV !== "production" && Rl(K, "patch"), It.el = Jr.el, Vr === null && dA(K, Jr.el), Lt && ea(Lt, We), (kr = It.props && It.props.onVnodeUpdated) && ea(() => Rs(kr, Ut, It, dr), We), process.env.NODE_ENV !== "production" && gS(K), process.env.NODE_ENV !== "production" && Qy(); + ), process.env.NODE_ENV !== "production" && Rl(K, "patch"), It.el = Jr.el, Vr === null && dP(K, Jr.el), Lt && ea(Lt, We), (kr = It.props && It.props.onVnodeUpdated) && ea(() => Rs(kr, Ut, It, dr), We), process.env.NODE_ENV !== "production" && gS(K), process.env.NODE_ENV !== "production" && Qy(); } else { let It; const { el: bt, props: Lt } = ye, { bm: Ut, m: dr, parent: Vr } = K, kr = fd(ye); @@ -2601,18 +2601,18 @@ function nk(t, e) { const Jr = ye; ea(() => Rs(It, Vr, Jr), We); } - (ye.shapeFlag & 256 || Vr && fd(Vr.vnode) && Vr.vnode.shapeFlag & 256) && K.a && ea(K.a, We), K.isMounted = !0, process.env.NODE_ENV !== "production" && nA(K), ye = Re = qe = null; + (ye.shapeFlag & 256 || Vr && fd(Vr.vnode) && Vr.vnode.shapeFlag & 256) && K.a && ea(K.a, We), K.isMounted = !0, process.env.NODE_ENV !== "production" && nP(K), ye = Re = qe = null; } - }, ut = K.effect = new Ix( + }, ut = K.effect = new I1( et, () => vv(Qe), K.scope ), Qe = K.update = () => ut.run(); Qe.id = K.uid, Mc(K, !0), process.env.NODE_ENV !== "production" && (ut.onTrack = K.rtc ? (It) => jp(K.rtc, It) : void 0, ut.onTrigger = K.rtg ? (It) => jp(K.rtg, It) : void 0, Qe.ownerInstance = K), Qe(); - }, At = (K, ye, Re) => { + }, Pt = (K, ye, Re) => { ye.component = K; const qe = K.vnode.props; - K.vnode = ye, K.next = null, $A(K, ye.props, qe, Re), JA(K, ye.children, Re), rh(), Wb(), nh(); + K.vnode = ye, K.next = null, $P(K, ye.props, qe, Re), JP(K, ye.children, Re), rh(), Wb(), nh(); }, tr = (K, ye, Re, qe, We, nt, mt, et, ut = !1) => { const Qe = K && K.children, It = K ? K.shapeFlag : 0, bt = ye.children, { patchFlag: Lt, shapeFlag: Ut } = ye; if (Lt > 0) { @@ -2624,7 +2624,7 @@ function nk(t, e) { return; } } - Ut & 8 ? (It & 16 && Ar(Qe, We, nt), bt !== Qe && T(Re, bt)) : It & 16 ? Ut & 16 ? Nr(Qe, bt, Re, qe, We, nt, mt, et, ut) : Ar(Qe, We, nt, !0) : (It & 8 && T(Re, ""), Ut & 16 && Se(bt, Re, qe, We, nt, mt, et, ut)); + Ut & 8 ? (It & 16 && Pr(Qe, We, nt), bt !== Qe && E(Re, bt)) : It & 16 ? Ut & 16 ? Nr(Qe, bt, Re, qe, We, nt, mt, et, ut) : Pr(Qe, We, nt, !0) : (It & 8 && E(Re, ""), Ut & 16 && Se(bt, Re, qe, We, nt, mt, et, ut)); }, kn = (K, ye, Re, qe, We, nt, mt, et, ut) => { K = K || wf, ye = ye || wf; const Qe = K.length, It = ye.length, bt = Math.min(Qe, It); @@ -2633,7 +2633,7 @@ function nk(t, e) { const Ut = ye[Lt] = ut ? wu(ye[Lt]) : rs(ye[Lt]); V(K[Lt], Ut, Re, null, We, nt, mt, et, ut); } - Qe > It ? Ar(K, We, nt, !0, !1, bt) : Se(ye, Re, qe, We, nt, mt, et, ut, bt); + Qe > It ? Pr(K, We, nt, !0, !1, bt) : Se(ye, Re, qe, We, nt, mt, et, ut, bt); }, Nr = (K, ye, Re, qe, We, nt, mt, et, ut) => { let Qe = 0; const It = ye.length; @@ -2751,7 +2751,7 @@ function nk(t, e) { K.suspense.unmount(Re, qe); return; } - Ut && Tc(K, null, ye, "beforeUnmount"), It & 64 ? K.type.remove(K, ye, Re, We, Sn, qe) : Qe && (nt !== on || bt > 0 && bt & 64) ? Ar(Qe, ye, Re, !1, !0) : (nt === on && bt & 384 || !We && It & 16) && Ar(ut, ye, Re), qe && Rr(K); + Ut && Tc(K, null, ye, "beforeUnmount"), It & 64 ? K.type.remove(K, ye, Re, We, Sn, qe) : Qe && (nt !== on || bt > 0 && bt & 64) ? Pr(Qe, ye, Re, !1, !0) : (nt === on && bt & 384 || !We && It & 16) && Pr(ut, ye, Re), qe && Rr(K); } (dr && (Vr = mt && mt.onVnodeUnmounted) || Ut) && ea(() => { Vr && Rs(Vr, ye, K), Ut && Tc(K, null, ye, "unmounted"); @@ -2782,12 +2782,12 @@ function nk(t, e) { Re = I(K), s(K), K = Re; s(ye); }, $r = (K, ye, Re) => { - process.env.NODE_ENV !== "production" && K.type.__hmrId && JP(K); + process.env.NODE_ENV !== "production" && K.type.__hmrId && JA(K); const { bum: qe, scope: We, update: nt, subTree: mt, um: et } = K; qe && jp(qe), We.stop(), nt && (nt.active = !1, Zn(mt, K, ye, Re)), et && ea(et, ye), ea(() => { K.isUnmounted = !0; - }, ye), ye && ye.pendingBranch && !ye.isUnmounted && K.asyncDep && !K.asyncResolved && K.suspenseId === ye.pendingId && (ye.deps--, ye.deps === 0 && ye.resolve()), process.env.NODE_ENV !== "production" && oA(K); - }, Ar = (K, ye, Re, qe = !1, We = !1, nt = 0) => { + }, ye), ye && ye.pendingBranch && !ye.isUnmounted && K.asyncDep && !K.asyncResolved && K.suspenseId === ye.pendingId && (ye.deps--, ye.deps === 0 && ye.resolve()), process.env.NODE_ENV !== "production" && oP(K); + }, Pr = (K, ye, Re, qe = !1, We = !1, nt = 0) => { for (let mt = nt; mt < K.length; mt++) Zn(K[mt], ye, Re, qe, We); }, Vn = (K) => K.shapeFlag & 6 ? Vn(K.component.subTree) : K.shapeFlag & 128 ? K.suspense.next() : I(K.anchor || K.el), Sr = (K, ye, Re) => { @@ -2856,35 +2856,35 @@ const ok = (t) => t.__isTeleport, Tf = (t) => t && (t.disabled || t.disabled === }, ak = { __isTeleport: !0, process(t, e, n, a, s, f, o, m, g, b) { - const { mc: T, pc: M, pbc: I, o: { insert: A, querySelector: z, createText: V, createComment: q } } = b, re = Tf(e.props); + const { mc: E, pc: M, pbc: I, o: { insert: P, querySelector: z, createText: V, createComment: q } } = b, re = Tf(e.props); let { shapeFlag: X, children: ae, dynamicChildren: ce } = e; - if (process.env.NODE_ENV !== "production" && Au && (g = !1, ce = null), t == null) { + if (process.env.NODE_ENV !== "production" && Pu && (g = !1, ce = null), t == null) { const ve = e.el = process.env.NODE_ENV !== "production" ? q("teleport start") : V(""), Ne = e.anchor = process.env.NODE_ENV !== "production" ? q("teleport end") : V(""); - A(ve, n, a), A(Ne, n, a); - const ze = e.target = B0(e.props, z), Ae = e.targetAnchor = V(""); - ze ? (A(Ae, ze), o = o || ow(ze)) : process.env.NODE_ENV !== "production" && !re && lt("Invalid Teleport target on mount:", ze, `(${typeof ze})`); + P(ve, n, a), P(Ne, n, a); + const ze = e.target = B0(e.props, z), Pe = e.targetAnchor = V(""); + ze ? (P(Pe, ze), o = o || ow(ze)) : process.env.NODE_ENV !== "production" && !re && lt("Invalid Teleport target on mount:", ze, `(${typeof ze})`); const Se = (Ie, Xe) => { - X & 16 && T(ae, Ie, Xe, s, f, o, m, g); + X & 16 && E(ae, Ie, Xe, s, f, o, m, g); }; - re ? Se(n, Ne) : ze && Se(ze, Ae); + re ? Se(n, Ne) : ze && Se(ze, Pe); } else { e.el = t.el; - const ve = e.anchor = t.anchor, Ne = e.target = t.target, ze = e.targetAnchor = t.targetAnchor, Ae = Tf(t.props), Se = Ae ? n : Ne, Ie = Ae ? ve : ze; + const ve = e.anchor = t.anchor, Ne = e.target = t.target, ze = e.targetAnchor = t.targetAnchor, Pe = Tf(t.props), Se = Pe ? n : Ne, Ie = Pe ? ve : ze; if (o = o || ow(Ne), ce ? (I(t.dynamicChildren, ce, Se, s, f, o, m), pd(t, e, !0)) : g || M(t, e, Se, Ie, s, f, o, m, !1), re) - Ae || Sy(e, n, ve, b, 1); + Pe || Sy(e, n, ve, b, 1); else if ((e.props && e.props.to) !== (t.props && t.props.to)) { const Xe = e.target = B0(e.props, z); Xe ? Sy(e, Xe, null, b, 0) : process.env.NODE_ENV !== "production" && lt("Invalid Teleport target on update:", Ne, `(${typeof Ne})`); } else - Ae && Sy(e, Ne, ze, b, 1); + Pe && Sy(e, Ne, ze, b, 1); } GS(e); }, remove(t, e, n, a, { um: s, o: { remove: f } }, o) { - const { shapeFlag: m, children: g, anchor: b, targetAnchor: T, target: M, props: I } = t; - if (M && f(T), (o || !Tf(I)) && (f(b), m & 16)) - for (let A = 0; A < g.length; A++) { - const z = g[A]; + const { shapeFlag: m, children: g, anchor: b, targetAnchor: E, target: M, props: I } = t; + if (M && f(E), (o || !Tf(I)) && (f(b), m & 16)) + for (let P = 0; P < g.length; P++) { + const z = g[P]; s(z, e, n, !0, !!z.dynamicChildren); } }, @@ -2893,16 +2893,16 @@ const ok = (t) => t.__isTeleport, Tf = (t) => t && (t.disabled || t.disabled === }; function Sy(t, e, n, { o: { insert: a }, m: s }, f = 2) { f === 0 && a(t.targetAnchor, e, n); - const { el: o, anchor: m, shapeFlag: g, children: b, props: T } = t, M = f === 2; - if (M && a(o, e, n), (!M || Tf(T)) && g & 16) + const { el: o, anchor: m, shapeFlag: g, children: b, props: E } = t, M = f === 2; + if (M && a(o, e, n), (!M || Tf(E)) && g & 16) for (let I = 0; I < b.length; I++) s(b[I], e, n, 2); M && a(m, e, n); } function sk(t, e, n, a, s, f, { o: { nextSibling: o, parentNode: m, querySelector: g } }, b) { - const T = e.target = B0(e.props, g); - if (T) { - const M = T._lpa || T.firstChild; + const E = e.target = B0(e.props, g); + if (E) { + const M = E._lpa || E.firstChild; if (e.shapeFlag & 16) if (Tf(e.props)) e.anchor = b(o(t), e, m(t), n, a, s, f), e.targetAnchor = M; @@ -2911,10 +2911,10 @@ function sk(t, e, n, a, s, f, { o: { nextSibling: o, parentNode: m, querySelecto let I = M; for (; I; ) if (I = o(I), I && I.nodeType === 8 && I.data === "teleport anchor") { - e.targetAnchor = I, T._lpa = e.targetAnchor && o(e.targetAnchor); + e.targetAnchor = I, E._lpa = e.targetAnchor && o(e.targetAnchor); break; } - b(M, e, T, n, a, s, f); + b(M, e, E, n, a, s, f); } GS(e); } @@ -2938,12 +2938,12 @@ function Be(t = !1) { function lk() { dd.pop(), is = dd[dd.length - 1] || null; } -let Pd = 1; +let Ad = 1; function aw(t) { - Pd += t; + Ad += t; } function $S(t) { - return t.dynamicChildren = Pd > 0 ? is || wf : null, lk(), Pd > 0 && is && is.push(t), t; + return t.dynamicChildren = Ad > 0 ? is || wf : null, lk(), Ad > 0 && is && is.push(t), t; } function rt(t, e, n, a, s, f) { return $S(Fe(t, e, n, a, s, f, !0)); @@ -2987,20 +2987,20 @@ function Fe(t, e = null, n = null, a = 0, s = null, f = t === on ? 0 : 1, o = !1 appContext: null, ctx: zi }; - return m ? (Bx(g, n), f & 128 && t.normalize(g)) : n && (g.shapeFlag |= Hn(n) ? 8 : 16), process.env.NODE_ENV !== "production" && g.key !== g.key && lt("VNode created with invalid key (NaN). VNode type:", g.type), Pd > 0 && !o && is && (g.patchFlag > 0 || f & 6) && g.patchFlag !== 32 && is.push(g), g; + return m ? (B1(g, n), f & 128 && t.normalize(g)) : n && (g.shapeFlag |= Hn(n) ? 8 : 16), process.env.NODE_ENV !== "production" && g.key !== g.key && lt("VNode created with invalid key (NaN). VNode type:", g.type), Ad > 0 && !o && is && (g.patchFlag > 0 || f & 6) && g.patchFlag !== 32 && is.push(g), g; } const kt = process.env.NODE_ENV !== "production" ? uk : WS; function WS(t, e = null, n = null, a = 0, s = null, f = !1) { - if ((!t || t === kA) && (process.env.NODE_ENV !== "production" && !t && lt(`Invalid vnode type when creating vnode: ${t}.`), t = Xi), Lf(t)) { + if ((!t || t === kP) && (process.env.NODE_ENV !== "production" && !t && lt(`Invalid vnode type when creating vnode: ${t}.`), t = Xi), Lf(t)) { const m = Qs(t, e, !0); - return n && Bx(m, n), Pd > 0 && !f && is && (m.shapeFlag & 6 ? is[is.indexOf(t)] = m : is.push(m)), m.patchFlag |= -2, m; + return n && B1(m, n), Ad > 0 && !f && is && (m.shapeFlag & 6 ? is[is.indexOf(t)] = m : is.push(m)), m.patchFlag |= -2, m; } if (KS(t) && (t = t.__vccOpts), e) { e = ck(e); let { class: m, style: g } = e; m && !Hn(m) && (e.class = Br(m)), fn(g) && (Sg(g) && !er(g) && (g = Wn({}, g)), e.style = Gu(g)); } - const o = Hn(t) ? 1 : mA(t) ? 128 : ok(t) ? 64 : fn(t) ? 4 : yr(t) ? 2 : 0; + const o = Hn(t) ? 1 : mP(t) ? 128 : ok(t) ? 64 : fn(t) ? 4 : yr(t) ? 2 : 0; return process.env.NODE_ENV !== "production" && o & 4 && Sg(t) && (t = hr(t), lt("Vue received a Component which was made a reactive object. This can lead to unnecessary performance overhead, and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.", ` Component that was made reactive: `, t)), Fe(t, e, n, a, s, o, f, !0); } @@ -3043,7 +3043,7 @@ function HS(t) { const e = Qs(t); return er(t.children) && (e.children = t.children.map(HS)), e; } -function Ag(t = " ", e = 0) { +function Pg(t = " ", e = 0) { return kt($d, null, t, e); } function Ye(t = "", e = !1) { @@ -3059,7 +3059,7 @@ function rs(t) { function wu(t) { return t.el === null && t.patchFlag !== -1 || t.memo ? t : Qs(t); } -function Bx(t, e) { +function B1(t, e) { let n = 0; const { shapeFlag: a } = t; if (e == null) @@ -3069,7 +3069,7 @@ function Bx(t, e) { else if (typeof e == "object") if (a & 65) { const s = e.default; - s && (s._c && (s._d = !1), Bx(t, s()), s._c && (s._d = !0)); + s && (s._c && (s._d = !1), B1(t, s()), s._c && (s._d = !0)); return; } else { n = 32; @@ -3077,7 +3077,7 @@ function Bx(t, e) { !s && !(bv in e) ? e._ctx = zi : s === 3 && zi && (zi.slots._ === 1 ? e._ = 1 : (e._ = 2, t.patchFlag |= 1024)); } else - yr(e) ? (e = { default: e, _ctx: zi }, n = 32) : (e = String(e), a & 64 ? (n = 16, e = [Ag(e)]) : n = 8); + yr(e) ? (e = { default: e, _ctx: zi }, n = 32) : (e = String(e), a & 64 ? (n = 16, e = [Pg(e)]) : n = 8); t.children = e, t.shapeFlag |= n; } function hk(...t) { @@ -3164,7 +3164,7 @@ function dk(t, e, n) { ec: null, sp: null }; - return process.env.NODE_ENV !== "production" ? f.ctx = LA(f) : f.ctx = { _: f }, f.root = e ? e.root : f, f.emit = uA.bind(null, f), t.ce && t.ce(f), f; + return process.env.NODE_ENV !== "production" ? f.ctx = LP(f) : f.ctx = { _: f }, f.root = e ? e.root : f, f.emit = uP.bind(null, f), t.ce && t.ce(f), f; } let di = null; const wv = () => di || zi, Df = (t) => { @@ -3179,13 +3179,13 @@ function V0(t, e) { function ZS(t) { return t.vnode.shapeFlag & 4; } -let Ad = !1; +let Pd = !1; function yk(t, e = !1) { - Ad = e; + Pd = e; const { props: n, children: a } = t.vnode, s = ZS(t); - jA(t, n, s, e), YA(t, a); + jP(t, n, s, e), YP(t, a); const f = s ? gk(t, e) : void 0; - return Ad = !1, f; + return Pd = !1, f; } function gk(t, e) { var n; @@ -3203,13 +3203,13 @@ function gk(t, e) { } a.compilerOptions && vk() && lt('"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.'); } - t.accessCache = /* @__PURE__ */ Object.create(null), t.proxy = ts(new Proxy(t.ctx, LS)), process.env.NODE_ENV !== "production" && DA(t); + t.accessCache = /* @__PURE__ */ Object.create(null), t.proxy = ts(new Proxy(t.ctx, LS)), process.env.NODE_ENV !== "production" && DP(t); const { setup: s } = a; if (s) { const f = t.setupContext = s.length > 1 ? _k(t) : null; Df(t), rh(); const o = Bl(s, t, 0, [process.env.NODE_ENV !== "production" ? mf(t.props) : t.props, f]); - if (nh(), Zc(), Sx(o)) { + if (nh(), Zc(), S1(o)) { if (o.then(Zc, Zc), e) return o.then((m) => { sw(t, m, e); @@ -3226,7 +3226,7 @@ function gk(t, e) { XS(t, e); } function sw(t, e, n) { - yr(e) ? t.type.__ssrInlineRender ? t.ssrRender = e : t.render = e : fn(e) ? (process.env.NODE_ENV !== "production" && Lf(e) && lt("setup() should not return VNodes directly - return a render function instead."), process.env.NODE_ENV !== "production" && (t.devtoolsRawSetupState = e), t.setupState = sS(e), process.env.NODE_ENV !== "production" && NA(t)) : process.env.NODE_ENV !== "production" && e !== void 0 && lt(`setup() should return an object. Received: ${e === null ? "null" : typeof e}`), XS(t, n); + yr(e) ? t.type.__ssrInlineRender ? t.ssrRender = e : t.render = e : fn(e) ? (process.env.NODE_ENV !== "production" && Lf(e) && lt("setup() should not return VNodes directly - return a render function instead."), process.env.NODE_ENV !== "production" && (t.devtoolsRawSetupState = e), t.setupState = sS(e), process.env.NODE_ENV !== "production" && NP(t)) : process.env.NODE_ENV !== "production" && e !== void 0 && lt(`setup() should return an object. Received: ${e === null ? "null" : typeof e}`), XS(t, n); } let U0; const vk = () => !U0; @@ -3234,7 +3234,7 @@ function XS(t, e, n) { const a = t.type; if (!t.render) { if (!e && U0 && !a.render) { - const s = a.template || zx(t).template; + const s = a.template || z1(t).template; if (s) { process.env.NODE_ENV !== "production" && Nl(t, "compile"); const { isCustomElement: f, compilerOptions: o } = t.appContext.config, { delimiters: m, compilerOptions: g } = a, b = Wn(Wn({ @@ -3246,7 +3246,7 @@ function XS(t, e, n) { } t.render = a.render || ao; } - Df(t), rh(), zA(t), nh(), Zc(), process.env.NODE_ENV !== "production" && !a.render && t.render === ao && !e && (a.template ? lt('Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".') : lt("Component is missing template or render function.")); + Df(t), rh(), zP(t), nh(), Zc(), process.env.NODE_ENV !== "production" && !a.render && t.render === ao && !e && (a.template ? lt('Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".') : lt("Component is missing template or render function.")); } function lw(t) { return new Proxy(t.attrs, process.env.NODE_ENV !== "production" ? { @@ -3309,11 +3309,11 @@ function Ev(t) { })); } const xk = /(?:^|[-_])(\w)/g, bk = (t) => t.replace(xk, (e) => e.toUpperCase()).replace(/[-_]/g, ""); -function Vx(t, e = !0) { +function V1(t, e = !0) { return yr(t) ? t.displayName || t.name : t.name || e && t.__name; } function Sv(t, e, n = !1) { - let a = Vx(e); + let a = V1(e); if (!a && e.__file) { const s = e.__file.match(/([^/\\]+)\.\w+$/); s && (a = s[1]); @@ -3331,7 +3331,7 @@ function Sv(t, e, n = !1) { function KS(t) { return yr(t) && "__vccOpts" in t; } -const ar = (t, e) => VP(t, e, Ad); +const ar = (t, e) => VA(t, e, Pd); function YS(t, e, n) { const a = arguments.length; return a === 2 ? fn(e) && !er(e) ? Lf(e) ? kt(t, null, [e]) : kt(t, e) : kt(t, null, e) : (a > 3 ? n = Array.prototype.slice.call(arguments, 2) : a === 3 && Lf(n) && (n = [n]), kt(t, e, n)); @@ -3353,7 +3353,7 @@ function Sk() { return fn(M) ? M.__isVue ? ["div", t, "VueInstance"] : hn(M) ? [ "div", {}, - ["span", t, T(M)], + ["span", t, E(M)], "<", m(M.value), ">" @@ -3388,8 +3388,8 @@ function Sk() { function f(M) { const I = []; M.type.props && M.props && I.push(o("props", hr(M.props))), M.setupState !== wn && I.push(o("setup", M.setupState)), M.data !== wn && I.push(o("data", hr(M.data))); - const A = g(M, "computed"); - A && I.push(o("computed", A)); + const P = g(M, "computed"); + P && I.push(o("computed", P)); const z = g(M, "inject"); return z && I.push(o("injected", z)), I.push([ "div", @@ -3420,11 +3420,11 @@ function Sk() { { style: "padding-left:1.25em" }, - ...Object.keys(I).map((A) => [ + ...Object.keys(I).map((P) => [ "div", {}, - ["span", a, A + ": "], - m(I[A], !1) + ["span", a, P + ": "], + m(I[P], !1) ]) ] ] : ["span", {}]; @@ -3433,20 +3433,20 @@ function Sk() { return typeof M == "number" ? ["span", e, M] : typeof M == "string" ? ["span", n, JSON.stringify(M)] : typeof M == "boolean" ? ["span", a, M] : fn(M) ? ["object", { object: I ? hr(M) : M }] : ["span", n, String(M)]; } function g(M, I) { - const A = M.type; - if (yr(A)) + const P = M.type; + if (yr(P)) return; const z = {}; for (const V in M.ctx) - b(A, V, I) && (z[V] = M.ctx[V]); + b(P, V, I) && (z[V] = M.ctx[V]); return z; } - function b(M, I, A) { - const z = M[A]; - if (er(z) && z.includes(I) || fn(z) && I in z || M.extends && b(M.extends, I, A) || M.mixins && M.mixins.some((V) => b(V, I, A))) + function b(M, I, P) { + const z = M[P]; + if (er(z) && z.includes(I) || fn(z) && I in z || M.extends && b(M.extends, I, P) || M.mixins && M.mixins.some((V) => b(V, I, P))) return !0; } - function T(M) { + function E(M) { return N_(M) ? "ShallowRef" : M.effect ? "ComputedRef" : "Ref"; } window.devtoolsFormatters ? window.devtoolsFormatters.push(s) : window.devtoolsFormatters = [s]; @@ -3523,12 +3523,12 @@ function j0(t, e, n) { else if (n == null && (n = ""), process.env.NODE_ENV !== "production" && Ck.test(n) && lt(`Unexpected semicolon at the end of '${e}' style value: '${n}'`), e.startsWith("--")) t.setProperty(e, n); else { - const a = Pk(t, e); + const a = Ak(t, e); hw.test(n) ? t.setProperty(ta(a), n.replace(hw, ""), "important") : t[a] = n; } } const fw = ["Webkit", "Moz", "ms"], R_ = {}; -function Pk(t, e) { +function Ak(t, e) { const n = R_[e]; if (n) return n; @@ -3544,7 +3544,7 @@ function Pk(t, e) { return e; } const pw = "http://www.w3.org/1999/xlink"; -function Ak(t, e, n, a, s) { +function Pk(t, e, n, a, s) { if (a && e.startsWith("xlink:")) n == null ? t.removeAttributeNS(pw, e.slice(6, e.length)) : t.setAttributeNS(pw, e, n); else { @@ -3627,7 +3627,7 @@ function Vk(t, e) { return e; } const mw = /^on[a-z]/, Uk = (t, e, n, a, s = !1, f, o, m, g) => { - e === "class" ? Ik(t, a, s) : e === "style" ? Ok(t, n, a) : Ud(e) ? _g(e) || Nk(t, e, n, a, o) : (e[0] === "." ? (e = e.slice(1), !0) : e[0] === "^" ? (e = e.slice(1), !1) : jk(t, e, a, s)) ? kk(t, e, a, f, o, m, g) : (e === "true-value" ? t._trueValue = a : e === "false-value" && (t._falseValue = a), Ak(t, e, a, s)); + e === "class" ? Ik(t, a, s) : e === "style" ? Ok(t, n, a) : Ud(e) ? _g(e) || Nk(t, e, n, a, o) : (e[0] === "." ? (e = e.slice(1), !0) : e[0] === "^" ? (e = e.slice(1), !1) : jk(t, e, a, s)) ? kk(t, e, a, f, o, m, g) : (e === "true-value" ? t._trueValue = a : e === "false-value" && (t._falseValue = a), Pk(t, e, a, s)); }; function jk(t, e, n, a) { return a ? !!(e === "innerHTML" || e === "textContent" || e in t && mw.test(e) && yr(n)) : e === "spellcheck" || e === "draggable" || e === "translate" || e === "form" || e === "list" && t.tagName === "INPUT" || e === "type" && t.tagName === "TEXTAREA" || mw.test(e) && Hn(n) ? !1 : e in t; @@ -3662,14 +3662,14 @@ function Gk(t) { $e in JS || (e[$e] = t[$e]); if (t.css === !1) return e; - const { name: n = "v", type: a, duration: s, enterFromClass: f = `${n}-enter-from`, enterActiveClass: o = `${n}-enter-active`, enterToClass: m = `${n}-enter-to`, appearFromClass: g = f, appearActiveClass: b = o, appearToClass: T = m, leaveFromClass: M = `${n}-leave-from`, leaveActiveClass: I = `${n}-leave-active`, leaveToClass: A = `${n}-leave-to` } = t, z = $k(s), V = z && z[0], q = z && z[1], { onBeforeEnter: re, onEnter: X, onEnterCancelled: ae, onLeave: ce, onLeaveCancelled: ve, onBeforeAppear: Ne = re, onAppear: ze = X, onAppearCancelled: Ae = ae } = e, Se = ($e, at, be) => { - Oc($e, at ? T : m), Oc($e, at ? b : o), be && be(); + const { name: n = "v", type: a, duration: s, enterFromClass: f = `${n}-enter-from`, enterActiveClass: o = `${n}-enter-active`, enterToClass: m = `${n}-enter-to`, appearFromClass: g = f, appearActiveClass: b = o, appearToClass: E = m, leaveFromClass: M = `${n}-leave-from`, leaveActiveClass: I = `${n}-leave-active`, leaveToClass: P = `${n}-leave-to` } = t, z = $k(s), V = z && z[0], q = z && z[1], { onBeforeEnter: re, onEnter: X, onEnterCancelled: ae, onLeave: ce, onLeaveCancelled: ve, onBeforeAppear: Ne = re, onAppear: ze = X, onAppearCancelled: Pe = ae } = e, Se = ($e, at, be) => { + Oc($e, at ? E : m), Oc($e, at ? b : o), be && be(); }, Ie = ($e, at) => { - $e._isLeaving = !1, Oc($e, M), Oc($e, A), Oc($e, I), at && at(); + $e._isLeaving = !1, Oc($e, M), Oc($e, P), Oc($e, I), at && at(); }, Xe = ($e) => (at, be) => { const Je = $e ? ze : X, ht = () => Se(at, $e, be); Ic(Je, [at, ht]), gw(() => { - Oc(at, $e ? g : f), yu(at, $e ? T : m), yw(Je) || vw(at, a, V, ht); + Oc(at, $e ? g : f), yu(at, $e ? E : m), yw(Je) || vw(at, a, V, ht); }); }; return Wn(e, { @@ -3685,14 +3685,14 @@ function Gk(t) { $e._isLeaving = !0; const be = () => Ie($e, at); yu($e, M), Hk(), yu($e, I), gw(() => { - !$e._isLeaving || (Oc($e, M), yu($e, A), yw(ce) || vw($e, a, q, be)); + !$e._isLeaving || (Oc($e, M), yu($e, P), yw(ce) || vw($e, a, q, be)); }), Ic(ce, [$e, be]); }, onEnterCancelled($e) { Se($e, !1), Ic(ae, [$e]); }, onAppearCancelled($e) { - Se($e, !0), Ic(Ae, [$e]); + Se($e, !0), Ic(Pe, [$e]); }, onLeaveCancelled($e) { Ie($e), Ic(ve, [$e]); @@ -3711,7 +3711,7 @@ function $k(t) { } function F_(t) { const e = E0(t); - return process.env.NODE_ENV !== "production" && qP(e, " explicit duration"), e; + return process.env.NODE_ENV !== "production" && qA(e, " explicit duration"), e; } function yu(t, e) { e.split(/\s+/).forEach((n) => n && t.classList.add(n)), (t._vtc || (t._vtc = /* @__PURE__ */ new Set())).add(e); @@ -3737,26 +3737,26 @@ function vw(t, e, n, a) { if (!o) return a(); const b = o + "end"; - let T = 0; + let E = 0; const M = () => { t.removeEventListener(b, I), f(); - }, I = (A) => { - A.target === t && ++T >= g && M(); + }, I = (P) => { + P.target === t && ++E >= g && M(); }; setTimeout(() => { - T < g && M(); + E < g && M(); }, m + 1), t.addEventListener(b, I); } function Wk(t, e) { const n = window.getComputedStyle(t), a = (z) => (n[z] || "").split(", "), s = a(`${mu}Delay`), f = a(`${mu}Duration`), o = _w(s, f), m = a(`${$p}Delay`), g = a(`${$p}Duration`), b = _w(m, g); - let T = null, M = 0, I = 0; - e === mu ? o > 0 && (T = mu, M = o, I = f.length) : e === $p ? b > 0 && (T = $p, M = b, I = g.length) : (M = Math.max(o, b), T = M > 0 ? o > b ? mu : $p : null, I = T ? T === mu ? f.length : g.length : 0); - const A = T === mu && /\b(transform|all)(,|$)/.test(a(`${mu}Property`).toString()); + let E = null, M = 0, I = 0; + e === mu ? o > 0 && (E = mu, M = o, I = f.length) : e === $p ? b > 0 && (E = $p, M = b, I = g.length) : (M = Math.max(o, b), E = M > 0 ? o > b ? mu : $p : null, I = E ? E === mu ? f.length : g.length : 0); + const P = E === mu && /\b(transform|all)(,|$)/.test(a(`${mu}Property`).toString()); return { - type: T, + type: E, timeout: M, propCount: I, - hasTransform: A + hasTransform: P }; } function _w(t, e) { @@ -3941,7 +3941,7 @@ hs || (hs = function(e) { q0 || (q0 = function(e, n) { return rg(e, Qa(n)); }); -var pL = za(Array.prototype.forEach), Sw = za(Array.prototype.pop), qp = za(Array.prototype.push), ng = za(String.prototype.toLowerCase), B_ = za(String.prototype.toString), dL = za(String.prototype.match), Za = za(String.prototype.replace), mL = za(String.prototype.indexOf), yL = za(String.prototype.trim), Po = za(RegExp.prototype.test), V_ = gL(TypeError); +var pL = za(Array.prototype.forEach), Sw = za(Array.prototype.pop), qp = za(Array.prototype.push), ng = za(String.prototype.toLowerCase), B_ = za(String.prototype.toString), dL = za(String.prototype.match), Za = za(String.prototype.replace), mL = za(String.prototype.indexOf), yL = za(String.prototype.trim), Ao = za(RegExp.prototype.test), V_ = gL(TypeError); function za(t) { return function(e) { for (var n = arguments.length, a = new Array(n > 1 ? n - 1 : 0), s = 1; s < n; s++) @@ -3956,7 +3956,7 @@ function gL(t) { return q0(t, n); }; } -function Pr(t, e, n) { +function Ar(t, e, n) { n = n || ng, Ew && Ew(t, null); for (var a = e.length; a--; ) { var s = e[a]; @@ -3996,7 +3996,7 @@ var Tw = Vo(["a", "abbr", "acronym", "address", "area", "article", "aside", "aud /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g ), OL = hs(/^html$/i), CL = function() { return typeof window > "u" ? null : window; -}, PL = function(e, n) { +}, AL = function(e, n) { if (Mu(e) !== "object" || typeof e.createPolicy != "function") return null; var a = null, s = "data-tt-policy-suffix"; @@ -4021,19 +4021,19 @@ function tT() { }; if (e.version = "2.4.5", e.removed = [], !t || !t.document || t.document.nodeType !== 9) return e.isSupported = !1, e; - var n = t.document, a = t.document, s = t.DocumentFragment, f = t.HTMLTemplateElement, o = t.Node, m = t.Element, g = t.NodeFilter, b = t.NamedNodeMap, T = b === void 0 ? t.NamedNodeMap || t.MozNamedAttrMap : b, M = t.HTMLFormElement, I = t.DOMParser, A = t.trustedTypes, z = m.prototype, V = Ty(z, "cloneNode"), q = Ty(z, "nextSibling"), re = Ty(z, "childNodes"), X = Ty(z, "parentNode"); + var n = t.document, a = t.document, s = t.DocumentFragment, f = t.HTMLTemplateElement, o = t.Node, m = t.Element, g = t.NodeFilter, b = t.NamedNodeMap, E = b === void 0 ? t.NamedNodeMap || t.MozNamedAttrMap : b, M = t.HTMLFormElement, I = t.DOMParser, P = t.trustedTypes, z = m.prototype, V = Ty(z, "cloneNode"), q = Ty(z, "nextSibling"), re = Ty(z, "childNodes"), X = Ty(z, "parentNode"); if (typeof f == "function") { var ae = a.createElement("template"); ae.content && ae.content.ownerDocument && (a = ae.content.ownerDocument); } - var ce = PL(A, n), ve = ce ? ce.createHTML("") : "", Ne = a, ze = Ne.implementation, Ae = Ne.createNodeIterator, Se = Ne.createDocumentFragment, Ie = Ne.getElementsByTagName, Xe = n.importNode, $e = {}; + var ce = AL(P, n), ve = ce ? ce.createHTML("") : "", Ne = a, ze = Ne.implementation, Pe = Ne.createNodeIterator, Se = Ne.createDocumentFragment, Ie = Ne.getElementsByTagName, Xe = n.importNode, $e = {}; try { $e = Cc(a).documentMode ? a.documentMode : {}; } catch { } var at = {}; e.isSupported = typeof X == "function" && ze && typeof ze.createHTMLDocument < "u" && $e !== 9; - var be = xL, Je = bL, ht = wL, vt = EL, At = SL, tr = ML, kn = IL, Nr = TL, pr = null, Zn = Pr({}, [].concat(Qa(Tw), Qa(U_), Qa(j_), Qa(G_), Qa(Mw))), Rr = null, Fi = Pr({}, [].concat(Qa(Iw), Qa($_), Qa(Ow), Qa(My))), $r = Object.seal(Object.create(null, { + var be = xL, Je = bL, ht = wL, vt = EL, Pt = SL, tr = ML, kn = IL, Nr = TL, pr = null, Zn = Ar({}, [].concat(Qa(Tw), Qa(U_), Qa(j_), Qa(G_), Qa(Mw))), Rr = null, Fi = Ar({}, [].concat(Qa(Iw), Qa($_), Qa(Ow), Qa(My))), $r = Object.seal(Object.create(null, { tagNameCheck: { writable: !0, configurable: !1, @@ -4052,22 +4052,22 @@ function tT() { enumerable: !0, value: !1 } - })), Ar = null, Vn = null, Sr = !0, Sn = !0, ai = !1, Un = !0, K = !1, ye = !1, Re = !1, qe = !1, We = !1, nt = !1, mt = !1, et = !0, ut = !1, Qe = "user-content-", It = !0, bt = !1, Lt = {}, Ut = null, dr = Pr({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]), Vr = null, kr = Pr({}, ["audio", "video", "img", "source", "image", "track"]), Jr = null, Xn = Pr({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Bi = "http://www.w3.org/1998/Math/MathML", so = "http://www.w3.org/2000/svg", Kn = "http://www.w3.org/1999/xhtml", ki = Kn, Tn = !1, si = null, Fa = Pr({}, [Bi, so, Kn], B_), Uo, Ba = ["application/xhtml+xml", "text/html"], na = "text/html", sn, So = null, ol = a.createElement("form"), bn = function(fe) { + })), Pr = null, Vn = null, Sr = !0, Sn = !0, ai = !1, Un = !0, K = !1, ye = !1, Re = !1, qe = !1, We = !1, nt = !1, mt = !1, et = !0, ut = !1, Qe = "user-content-", It = !0, bt = !1, Lt = {}, Ut = null, dr = Ar({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]), Vr = null, kr = Ar({}, ["audio", "video", "img", "source", "image", "track"]), Jr = null, Xn = Ar({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Bi = "http://www.w3.org/1998/Math/MathML", so = "http://www.w3.org/2000/svg", Kn = "http://www.w3.org/1999/xhtml", ki = Kn, Tn = !1, si = null, Fa = Ar({}, [Bi, so, Kn], B_), Uo, Ba = ["application/xhtml+xml", "text/html"], na = "text/html", sn, So = null, ol = a.createElement("form"), bn = function(fe) { return fe instanceof RegExp || fe instanceof Function; }, N = function(fe) { - So && So === fe || ((!fe || Mu(fe) !== "object") && (fe = {}), fe = Cc(fe), Uo = Ba.indexOf(fe.PARSER_MEDIA_TYPE) === -1 ? Uo = na : Uo = fe.PARSER_MEDIA_TYPE, sn = Uo === "application/xhtml+xml" ? B_ : ng, pr = "ALLOWED_TAGS" in fe ? Pr({}, fe.ALLOWED_TAGS, sn) : Zn, Rr = "ALLOWED_ATTR" in fe ? Pr({}, fe.ALLOWED_ATTR, sn) : Fi, si = "ALLOWED_NAMESPACES" in fe ? Pr({}, fe.ALLOWED_NAMESPACES, B_) : Fa, Jr = "ADD_URI_SAFE_ATTR" in fe ? Pr( + So && So === fe || ((!fe || Mu(fe) !== "object") && (fe = {}), fe = Cc(fe), Uo = Ba.indexOf(fe.PARSER_MEDIA_TYPE) === -1 ? Uo = na : Uo = fe.PARSER_MEDIA_TYPE, sn = Uo === "application/xhtml+xml" ? B_ : ng, pr = "ALLOWED_TAGS" in fe ? Ar({}, fe.ALLOWED_TAGS, sn) : Zn, Rr = "ALLOWED_ATTR" in fe ? Ar({}, fe.ALLOWED_ATTR, sn) : Fi, si = "ALLOWED_NAMESPACES" in fe ? Ar({}, fe.ALLOWED_NAMESPACES, B_) : Fa, Jr = "ADD_URI_SAFE_ATTR" in fe ? Ar( Cc(Xn), fe.ADD_URI_SAFE_ATTR, sn - ) : Xn, Vr = "ADD_DATA_URI_TAGS" in fe ? Pr( + ) : Xn, Vr = "ADD_DATA_URI_TAGS" in fe ? Ar( Cc(kr), fe.ADD_DATA_URI_TAGS, sn - ) : kr, Ut = "FORBID_CONTENTS" in fe ? Pr({}, fe.FORBID_CONTENTS, sn) : dr, Ar = "FORBID_TAGS" in fe ? Pr({}, fe.FORBID_TAGS, sn) : {}, Vn = "FORBID_ATTR" in fe ? Pr({}, fe.FORBID_ATTR, sn) : {}, Lt = "USE_PROFILES" in fe ? fe.USE_PROFILES : !1, Sr = fe.ALLOW_ARIA_ATTR !== !1, Sn = fe.ALLOW_DATA_ATTR !== !1, ai = fe.ALLOW_UNKNOWN_PROTOCOLS || !1, Un = fe.ALLOW_SELF_CLOSE_IN_ATTR !== !1, K = fe.SAFE_FOR_TEMPLATES || !1, ye = fe.WHOLE_DOCUMENT || !1, We = fe.RETURN_DOM || !1, nt = fe.RETURN_DOM_FRAGMENT || !1, mt = fe.RETURN_TRUSTED_TYPE || !1, qe = fe.FORCE_BODY || !1, et = fe.SANITIZE_DOM !== !1, ut = fe.SANITIZE_NAMED_PROPS || !1, It = fe.KEEP_CONTENT !== !1, bt = fe.IN_PLACE || !1, Nr = fe.ALLOWED_URI_REGEXP || Nr, ki = fe.NAMESPACE || Kn, $r = fe.CUSTOM_ELEMENT_HANDLING || {}, fe.CUSTOM_ELEMENT_HANDLING && bn(fe.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && ($r.tagNameCheck = fe.CUSTOM_ELEMENT_HANDLING.tagNameCheck), fe.CUSTOM_ELEMENT_HANDLING && bn(fe.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && ($r.attributeNameCheck = fe.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), fe.CUSTOM_ELEMENT_HANDLING && typeof fe.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && ($r.allowCustomizedBuiltInElements = fe.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), K && (Sn = !1), nt && (We = !0), Lt && (pr = Pr({}, Qa(Mw)), Rr = [], Lt.html === !0 && (Pr(pr, Tw), Pr(Rr, Iw)), Lt.svg === !0 && (Pr(pr, U_), Pr(Rr, $_), Pr(Rr, My)), Lt.svgFilters === !0 && (Pr(pr, j_), Pr(Rr, $_), Pr(Rr, My)), Lt.mathMl === !0 && (Pr(pr, G_), Pr(Rr, Ow), Pr(Rr, My))), fe.ADD_TAGS && (pr === Zn && (pr = Cc(pr)), Pr(pr, fe.ADD_TAGS, sn)), fe.ADD_ATTR && (Rr === Fi && (Rr = Cc(Rr)), Pr(Rr, fe.ADD_ATTR, sn)), fe.ADD_URI_SAFE_ATTR && Pr(Jr, fe.ADD_URI_SAFE_ATTR, sn), fe.FORBID_CONTENTS && (Ut === dr && (Ut = Cc(Ut)), Pr(Ut, fe.FORBID_CONTENTS, sn)), It && (pr["#text"] = !0), ye && Pr(pr, ["html", "head", "body"]), pr.table && (Pr(pr, ["tbody"]), delete Ar.tbody), Vo && Vo(fe), So = fe); - }, F = Pr({}, ["mi", "mo", "mn", "ms", "mtext"]), U = Pr({}, ["foreignobject", "desc", "title", "annotation-xml"]), Z = Pr({}, ["title", "style", "font", "a", "script"]), Q = Pr({}, U_); - Pr(Q, j_), Pr(Q, vL); - var pe = Pr({}, G_); - Pr(pe, _L); + ) : kr, Ut = "FORBID_CONTENTS" in fe ? Ar({}, fe.FORBID_CONTENTS, sn) : dr, Pr = "FORBID_TAGS" in fe ? Ar({}, fe.FORBID_TAGS, sn) : {}, Vn = "FORBID_ATTR" in fe ? Ar({}, fe.FORBID_ATTR, sn) : {}, Lt = "USE_PROFILES" in fe ? fe.USE_PROFILES : !1, Sr = fe.ALLOW_ARIA_ATTR !== !1, Sn = fe.ALLOW_DATA_ATTR !== !1, ai = fe.ALLOW_UNKNOWN_PROTOCOLS || !1, Un = fe.ALLOW_SELF_CLOSE_IN_ATTR !== !1, K = fe.SAFE_FOR_TEMPLATES || !1, ye = fe.WHOLE_DOCUMENT || !1, We = fe.RETURN_DOM || !1, nt = fe.RETURN_DOM_FRAGMENT || !1, mt = fe.RETURN_TRUSTED_TYPE || !1, qe = fe.FORCE_BODY || !1, et = fe.SANITIZE_DOM !== !1, ut = fe.SANITIZE_NAMED_PROPS || !1, It = fe.KEEP_CONTENT !== !1, bt = fe.IN_PLACE || !1, Nr = fe.ALLOWED_URI_REGEXP || Nr, ki = fe.NAMESPACE || Kn, $r = fe.CUSTOM_ELEMENT_HANDLING || {}, fe.CUSTOM_ELEMENT_HANDLING && bn(fe.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && ($r.tagNameCheck = fe.CUSTOM_ELEMENT_HANDLING.tagNameCheck), fe.CUSTOM_ELEMENT_HANDLING && bn(fe.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && ($r.attributeNameCheck = fe.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), fe.CUSTOM_ELEMENT_HANDLING && typeof fe.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && ($r.allowCustomizedBuiltInElements = fe.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), K && (Sn = !1), nt && (We = !0), Lt && (pr = Ar({}, Qa(Mw)), Rr = [], Lt.html === !0 && (Ar(pr, Tw), Ar(Rr, Iw)), Lt.svg === !0 && (Ar(pr, U_), Ar(Rr, $_), Ar(Rr, My)), Lt.svgFilters === !0 && (Ar(pr, j_), Ar(Rr, $_), Ar(Rr, My)), Lt.mathMl === !0 && (Ar(pr, G_), Ar(Rr, Ow), Ar(Rr, My))), fe.ADD_TAGS && (pr === Zn && (pr = Cc(pr)), Ar(pr, fe.ADD_TAGS, sn)), fe.ADD_ATTR && (Rr === Fi && (Rr = Cc(Rr)), Ar(Rr, fe.ADD_ATTR, sn)), fe.ADD_URI_SAFE_ATTR && Ar(Jr, fe.ADD_URI_SAFE_ATTR, sn), fe.FORBID_CONTENTS && (Ut === dr && (Ut = Cc(Ut)), Ar(Ut, fe.FORBID_CONTENTS, sn)), It && (pr["#text"] = !0), ye && Ar(pr, ["html", "head", "body"]), pr.table && (Ar(pr, ["tbody"]), delete Pr.tbody), Vo && Vo(fe), So = fe); + }, F = Ar({}, ["mi", "mo", "mn", "ms", "mtext"]), U = Ar({}, ["foreignobject", "desc", "title", "annotation-xml"]), Z = Ar({}, ["title", "style", "font", "a", "script"]), Q = Ar({}, U_); + Ar(Q, j_), Ar(Q, vL); + var pe = Ar({}, G_); + Ar(pe, _L); var de = function(fe) { var Ee = X(fe); (!Ee || !Ee.tagName) && (Ee = { @@ -4137,7 +4137,7 @@ function tT() { var Jt = Ee.body || Ee.documentElement; return fe && He && Jt.insertBefore(a.createTextNode(He), Jt.childNodes[0] || null), ki === Kn ? Ie.call(Ee, ye ? "html" : "body")[0] : ye ? Ee.documentElement : Jt; }, Ge = function(fe) { - return Ae.call( + return Pe.call( fe.ownerDocument || fe, fe, g.SHOW_ELEMENT | g.SHOW_COMMENT | g.SHOW_TEXT, @@ -4145,7 +4145,7 @@ function tT() { !1 ); }, Ze = function(fe) { - return fe instanceof M && (typeof fe.nodeName != "string" || typeof fe.textContent != "string" || typeof fe.removeChild != "function" || !(fe.attributes instanceof T) || typeof fe.removeAttribute != "function" || typeof fe.setAttribute != "function" || typeof fe.namespaceURI != "string" || typeof fe.insertBefore != "function" || typeof fe.hasChildNodes != "function"); + return fe instanceof M && (typeof fe.nodeName != "string" || typeof fe.textContent != "string" || typeof fe.removeChild != "function" || !(fe.attributes instanceof E) || typeof fe.removeAttribute != "function" || typeof fe.setAttribute != "function" || typeof fe.namespaceURI != "string" || typeof fe.insertBefore != "function" || typeof fe.hasChildNodes != "function"); }, Ce = function(fe) { return Mu(o) === "object" ? fe instanceof o : fe && Mu(fe) === "object" && typeof fe.nodeType == "number" && typeof fe.nodeName == "string"; }, Ue = function(fe, Ee, He) { @@ -4154,16 +4154,16 @@ function tT() { }); }, Et = function(fe) { var Ee; - if (Ue("beforeSanitizeElements", fe, null), Ze(fe) || Po(/[\u0080-\uFFFF]/, fe.nodeName)) + if (Ue("beforeSanitizeElements", fe, null), Ze(fe) || Ao(/[\u0080-\uFFFF]/, fe.nodeName)) return G(fe), !0; var He = sn(fe.nodeName); if (Ue("uponSanitizeElement", fe, { tagName: He, allowedTags: pr - }), fe.hasChildNodes() && !Ce(fe.firstElementChild) && (!Ce(fe.content) || !Ce(fe.content.firstElementChild)) && Po(/<[/\w]/g, fe.innerHTML) && Po(/<[/\w]/g, fe.textContent) || He === "select" && Po(/