UNPKG

@konnectio/core

Version:

Konnectio Core Frontend Integration.

1,877 lines 347 kB
/** * @vue/shared v3.5.15 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/ /*! #__NO_SIDE_EFFECTS__ */ // @__NO_SIDE_EFFECTS__ function ut(e) { const t = /* @__PURE__ */ Object.create(null); for (const n of e.split(",")) t[n] = 1; return (n) => n in t; } const ne = {}, es = [], Ve = () => { }, Ns = () => !1, Un = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter (e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), Ko = (e) => e.startsWith("onUpdate:"), se = Object.assign, qo = (e, t) => { const n = e.indexOf(t); n > -1 && e.splice(n, 1); }, id = Object.prototype.hasOwnProperty, ae = (e, t) => id.call(e, t), K = Array.isArray, ts = (e) => ms(e) === "[object Map]", Hn = (e) => ms(e) === "[object Set]", Ql = (e) => ms(e) === "[object Date]", od = (e) => ms(e) === "[object RegExp]", Z = (e) => typeof e == "function", z = (e) => typeof e == "string", it = (e) => typeof e == "symbol", de = (e) => e !== null && typeof e == "object", Go = (e) => (de(e) || Z(e)) && Z(e.then) && Z(e.catch), xa = Object.prototype.toString, ms = (e) => xa.call(e), ld = (e) => ms(e).slice(8, -1), hi = (e) => ms(e) === "[object Object]", Yo = (e) => z(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, mn = /* @__PURE__ */ ut( // the leading comma is intentional so empty string "" is also included ",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted" ), cd = /* @__PURE__ */ ut( "bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo" ), di = (e) => { const t = /* @__PURE__ */ Object.create(null); return (n) => t[n] || (t[n] = e(n)); }, ad = /-(\w)/g, _e = di( (e) => e.replace(ad, (t, n) => n ? n.toUpperCase() : "") ), fd = /\B([A-Z])/g, st = di( (e) => e.replace(fd, "-$1").toLowerCase() ), Bn = di((e) => e.charAt(0).toUpperCase() + e.slice(1)), ns = di( (e) => e ? `on${Bn(e)}` : "" ), Je = (e, t) => !Object.is(e, t), ss = (e, ...t) => { for (let n = 0; n < e.length; n++) e[n](...t); }, Da = (e, t, n, s = !1) => { Object.defineProperty(e, t, { configurable: !0, enumerable: !1, writable: s, value: n }); }, $r = (e) => { const t = parseFloat(e); return isNaN(t) ? e : t; }, Vr = (e) => { const t = z(e) ? Number(e) : NaN; return isNaN(t) ? e : t; }; let Zl; const pi = () => Zl || (Zl = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {}); function ud(e, t) { return e + JSON.stringify( t, (n, s) => typeof s == "function" ? s.toString() : s ); } const hd = "Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol", dd = /* @__PURE__ */ ut(hd); function tr(e) { if (K(e)) { const t = {}; for (let n = 0; n < e.length; n++) { const s = e[n], r = z(s) ? Fa(s) : tr(s); if (r) for (const i in r) t[i] = r[i]; } return t; } else if (z(e) || de(e)) return e; } const pd = /;(?![^(]*\))/g, md = /:([^]+)/, gd = /\/\*[^]*?\*\//g; function Fa(e) { const t = {}; return e.replace(gd, "").split(pd).forEach((n) => { if (n) { const s = n.split(md); s.length > 1 && (t[s[0].trim()] = s[1].trim()); } }), t; } function nr(e) { let t = ""; if (z(e)) t = e; else if (K(e)) for (let n = 0; n < e.length; n++) { const s = nr(e[n]); s && (t += s + " "); } else if (de(e)) for (const n in e) e[n] && (t += n + " "); return t.trim(); } function _d(e) { if (!e) return null; let { class: t, style: n } = e; return t && !z(t) && (e.class = nr(t)), n && (e.style = tr(n)), e; } const yd = "html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot", bd = "svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view", Ed = "annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics", Sd = "area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr", Td = /* @__PURE__ */ ut(yd), vd = /* @__PURE__ */ ut(bd), Cd = /* @__PURE__ */ ut(Ed), Nd = /* @__PURE__ */ ut(Sd), Ad = "itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly", Id = /* @__PURE__ */ ut(Ad); function $a(e) { return !!e || e === ""; } function Od(e, t) { if (e.length !== t.length) return !1; let n = !0; for (let s = 0; n && s < e.length; s++) n = bn(e[s], t[s]); return n; } function bn(e, t) { if (e === t) return !0; let n = Ql(e), s = Ql(t); if (n || s) return n && s ? e.getTime() === t.getTime() : !1; if (n = it(e), s = it(t), n || s) return e === t; if (n = K(e), s = K(t), n || s) return n && s ? Od(e, t) : !1; if (n = de(e), s = de(t), n || s) { if (!n || !s) return !1; const r = Object.keys(e).length, i = Object.keys(t).length; if (r !== i) return !1; for (const o in e) { const l = e.hasOwnProperty(o), c = t.hasOwnProperty(o); if (l && !c || !l && c || !bn(e[o], t[o])) return !1; } } return String(e) === String(t); } function mi(e, t) { return e.findIndex((n) => bn(n, t)); } const Va = (e) => !!(e && e.__v_isRef === !0), Ua = (e) => z(e) ? e : e == null ? "" : K(e) || de(e) && (e.toString === xa || !Z(e.toString)) ? Va(e) ? Ua(e.value) : JSON.stringify(e, Ha, 2) : String(e), Ha = (e, t) => Va(t) ? Ha(e, t.value) : ts(t) ? { [`Map(${t.size})`]: [...t.entries()].reduce( (n, [s, r], i) => (n[Hi(s, i) + " =>"] = r, n), {} ) } : Hn(t) ? { [`Set(${t.size})`]: [...t.values()].map((n) => Hi(n)) } : it(t) ? Hi(t) : de(t) && !K(t) && !hi(t) ? String(t) : t, Hi = (e, t = "") => { var n; return ( // Symbol.description in es2019+ so we need to cast here to pass // the lib: es2016 check it(e) ? `Symbol(${(n = e.description) != null ? n : t})` : e ); }; /** * @vue/reactivity v3.5.15 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/ let Be; class Xo { constructor(t = !1) { this.detached = t, this._active = !0, this._on = 0, this.effects = [], this.cleanups = [], this._isPaused = !1, this.parent = Be, !t && Be && (this.index = (Be.scopes || (Be.scopes = [])).push( this ) - 1); } get active() { return this._active; } pause() { if (this._active) { this._isPaused = !0; let t, n; if (this.scopes) for (t = 0, n = this.scopes.length; t < n; t++) this.scopes[t].pause(); for (t = 0, n = this.effects.length; t < n; t++) this.effects[t].pause(); } } /** * Resumes the effect scope, including all child scopes and effects. */ resume() { if (this._active && this._isPaused) { this._isPaused = !1; let t, n; if (this.scopes) for (t = 0, n = this.scopes.length; t < n; t++) this.scopes[t].resume(); for (t = 0, n = this.effects.length; t < n; t++) this.effects[t].resume(); } } run(t) { if (this._active) { const n = Be; try { return Be = this, t(); } finally { Be = n; } } } /** * This should only be called on non-detached scopes * @internal */ on() { ++this._on === 1 && (this.prevScope = Be, Be = this); } /** * This should only be called on non-detached scopes * @internal */ off() { this._on > 0 && --this._on === 0 && (Be = this.prevScope, this.prevScope = void 0); } stop(t) { if (this._active) { this._active = !1; let n, s; for (n = 0, s = this.effects.length; n < s; n++) this.effects[n].stop(); for (this.effects.length = 0, n = 0, s = this.cleanups.length; n < s; n++) this.cleanups[n](); if (this.cleanups.length = 0, this.scopes) { for (n = 0, s = this.scopes.length; n < s; n++) this.scopes[n].stop(!0); this.scopes.length = 0; } if (!this.detached && this.parent && !t) { const r = this.parent.scopes.pop(); r && r !== this && (this.parent.scopes[this.index] = r, r.index = this.index); } this.parent = void 0; } } } function gi(e) { return new Xo(e); } function Jo() { return Be; } function Ba(e, t = !1) { Be && Be.cleanups.push(e); } let me; const Bi = /* @__PURE__ */ new WeakSet(); class Ds { constructor(t) { this.fn = t, this.deps = void 0, this.depsTail = void 0, this.flags = 5, this.next = void 0, this.cleanup = void 0, this.scheduler = void 0, Be && Be.active && Be.effects.push(this); } pause() { this.flags |= 64; } resume() { this.flags & 64 && (this.flags &= -65, Bi.has(this) && (Bi.delete(this), this.trigger())); } /** * @internal */ notify() { this.flags & 2 && !(this.flags & 32) || this.flags & 8 || Wa(this); } run() { if (!(this.flags & 1)) return this.fn(); this.flags |= 2, zl(this), Ka(this); const t = me, n = vt; me = this, vt = !0; try { return this.fn(); } finally { qa(this), me = t, vt = n, this.flags &= -3; } } stop() { if (this.flags & 1) { for (let t = this.deps; t; t = t.nextDep) zo(t); this.deps = this.depsTail = void 0, zl(this), this.onStop && this.onStop(), this.flags &= -2; } } trigger() { this.flags & 64 ? Bi.add(this) : this.scheduler ? this.scheduler() : this.runIfDirty(); } /** * @internal */ runIfDirty() { io(this) && this.run(); } get dirty() { return io(this); } } let ja = 0, Os, Ls; function Wa(e, t = !1) { if (e.flags |= 8, t) { e.next = Ls, Ls = e; return; } e.next = Os, Os = e; } function Qo() { ja++; } function Zo() { if (--ja > 0) return; if (Ls) { let t = Ls; for (Ls = void 0; t; ) { const n = t.next; t.next = void 0, t.flags &= -9, t = n; } } let e; for (; Os; ) { let t = Os; for (Os = void 0; t; ) { const n = t.next; if (t.next = void 0, t.flags &= -9, t.flags & 1) try { t.trigger(); } catch (s) { e || (e = s); } t = n; } } if (e) throw e; } function Ka(e) { for (let t = e.deps; t; t = t.nextDep) t.version = -1, t.prevActiveLink = t.dep.activeLink, t.dep.activeLink = t; } function qa(e) { let t, n = e.depsTail, s = n; for (; s; ) { const r = s.prevDep; s.version === -1 ? (s === n && (n = r), zo(s), Ld(s)) : t = s, s.dep.activeLink = s.prevActiveLink, s.prevActiveLink = void 0, s = r; } e.deps = t, e.depsTail = n; } function io(e) { for (let t = e.deps; t; t = t.nextDep) if (t.dep.version !== t.version || t.dep.computed && (Ga(t.dep.computed) || t.dep.version !== t.version)) return !0; return !!e._dirty; } function Ga(e) { if (e.flags & 4 && !(e.flags & 16) || (e.flags &= -17, e.globalVersion === Fs) || (e.globalVersion = Fs, !e.isSSR && e.flags & 128 && (!e.deps && !e._dirty || !io(e)))) return; e.flags |= 2; const t = e.dep, n = me, s = vt; me = e, vt = !0; try { Ka(e); const r = e.fn(e._value); (t.version === 0 || Je(r, e._value)) && (e.flags |= 128, e._value = r, t.version++); } catch (r) { throw t.version++, r; } finally { me = n, vt = s, qa(e), e.flags &= -3; } } function zo(e, t = !1) { const { dep: n, prevSub: s, nextSub: r } = e; if (s && (s.nextSub = r, e.prevSub = void 0), r && (r.prevSub = s, e.nextSub = void 0), n.subs === e && (n.subs = s, !s && n.computed)) { n.computed.flags &= -5; for (let i = n.computed.deps; i; i = i.nextDep) zo(i, !0); } !t && !--n.sc && n.map && n.map.delete(n.key); } function Ld(e) { const { prevDep: t, nextDep: n } = e; t && (t.nextDep = n, e.prevDep = void 0), n && (n.prevDep = t, e.nextDep = void 0); } function wd(e, t) { e.effect instanceof Ds && (e = e.effect.fn); const n = new Ds(e); t && se(n, t); try { n.run(); } catch (r) { throw n.stop(), r; } const s = n.run.bind(n); return s.effect = n, s; } function Rd(e) { e.effect.stop(); } let vt = !0; const Ya = []; function Jt() { Ya.push(vt), vt = !1; } function Qt() { const e = Ya.pop(); vt = e === void 0 ? !0 : e; } function zl(e) { const { cleanup: t } = e; if (e.cleanup = void 0, t) { const n = me; me = void 0; try { t(); } finally { me = n; } } } let Fs = 0; class Pd { constructor(t, n) { this.sub = t, this.dep = n, this.version = n.version, this.nextDep = this.prevDep = this.nextSub = this.prevSub = this.prevActiveLink = void 0; } } class _i { constructor(t) { this.computed = t, this.version = 0, this.activeLink = void 0, this.subs = void 0, this.map = void 0, this.key = void 0, this.sc = 0; } track(t) { if (!me || !vt || me === this.computed) return; let n = this.activeLink; if (n === void 0 || n.sub !== me) n = this.activeLink = new Pd(me, this), me.deps ? (n.prevDep = me.depsTail, me.depsTail.nextDep = n, me.depsTail = n) : me.deps = me.depsTail = n, Xa(n); else if (n.version === -1 && (n.version = this.version, n.nextDep)) { const s = n.nextDep; s.prevDep = n.prevDep, n.prevDep && (n.prevDep.nextDep = s), n.prevDep = me.depsTail, n.nextDep = void 0, me.depsTail.nextDep = n, me.depsTail = n, me.deps === n && (me.deps = s); } return n; } trigger(t) { this.version++, Fs++, this.notify(t); } notify(t) { Qo(); try { for (let n = this.subs; n; n = n.prevSub) n.sub.notify() && n.sub.dep.notify(); } finally { Zo(); } } } function Xa(e) { if (e.dep.sc++, e.sub.flags & 4) { const t = e.dep.computed; if (t && !e.dep.subs) { t.flags |= 20; for (let s = t.deps; s; s = s.nextDep) Xa(s); } const n = e.dep.subs; n !== e && (e.prevSub = n, n && (n.nextSub = e)), e.dep.subs = e; } } const Ur = /* @__PURE__ */ new WeakMap(), Rn = Symbol( "" ), oo = Symbol( "" ), $s = Symbol( "" ); function We(e, t, n) { if (vt && me) { let s = Ur.get(e); s || Ur.set(e, s = /* @__PURE__ */ new Map()); let r = s.get(n); r || (s.set(n, r = new _i()), r.map = s, r.key = n), r.track(); } } function Bt(e, t, n, s, r, i) { const o = Ur.get(e); if (!o) { Fs++; return; } const l = (c) => { c && c.trigger(); }; if (Qo(), t === "clear") o.forEach(l); else { const c = K(e), a = c && Yo(n); if (c && n === "length") { const f = Number(s); o.forEach((u, h) => { (h === "length" || h === $s || !it(h) && h >= f) && l(u); }); } else switch ((n !== void 0 || o.has(void 0)) && l(o.get(n)), a && l(o.get($s)), t) { case "add": c ? a && l(o.get("length")) : (l(o.get(Rn)), ts(e) && l(o.get(oo))); break; case "delete": c || (l(o.get(Rn)), ts(e) && l(o.get(oo))); break; case "set": ts(e) && l(o.get(Rn)); break; } } Zo(); } function kd(e, t) { const n = Ur.get(e); return n && n.get(t); } function qn(e) { const t = te(e); return t === e ? t : (We(t, "iterate", $s), ft(e) ? t : t.map($e)); } function yi(e) { return We(e = te(e), "iterate", $s), e; } const Md = { __proto__: null, [Symbol.iterator]() { return ji(this, Symbol.iterator, $e); }, concat(...e) { return qn(this).concat( ...e.map((t) => K(t) ? qn(t) : t) ); }, entries() { return ji(this, "entries", (e) => (e[1] = $e(e[1]), e)); }, every(e, t) { return Ft(this, "every", e, t, void 0, arguments); }, filter(e, t) { return Ft(this, "filter", e, t, (n) => n.map($e), arguments); }, find(e, t) { return Ft(this, "find", e, t, $e, arguments); }, findIndex(e, t) { return Ft(this, "findIndex", e, t, void 0, arguments); }, findLast(e, t) { return Ft(this, "findLast", e, t, $e, arguments); }, findLastIndex(e, t) { return Ft(this, "findLastIndex", e, t, void 0, arguments); }, // flat, flatMap could benefit from ARRAY_ITERATE but are not straight-forward to implement forEach(e, t) { return Ft(this, "forEach", e, t, void 0, arguments); }, includes(...e) { return Wi(this, "includes", e); }, indexOf(...e) { return Wi(this, "indexOf", e); }, join(e) { return qn(this).join(e); }, // keys() iterator only reads `length`, no optimisation required lastIndexOf(...e) { return Wi(this, "lastIndexOf", e); }, map(e, t) { return Ft(this, "map", e, t, void 0, arguments); }, pop() { return Ss(this, "pop"); }, push(...e) { return Ss(this, "push", e); }, reduce(e, ...t) { return ec(this, "reduce", e, t); }, reduceRight(e, ...t) { return ec(this, "reduceRight", e, t); }, shift() { return Ss(this, "shift"); }, // slice could use ARRAY_ITERATE but also seems to beg for range tracking some(e, t) { return Ft(this, "some", e, t, void 0, arguments); }, splice(...e) { return Ss(this, "splice", e); }, toReversed() { return qn(this).toReversed(); }, toSorted(e) { return qn(this).toSorted(e); }, toSpliced(...e) { return qn(this).toSpliced(...e); }, unshift(...e) { return Ss(this, "unshift", e); }, values() { return ji(this, "values", $e); } }; function ji(e, t, n) { const s = yi(e), r = s[t](); return s !== e && !ft(e) && (r._next = r.next, r.next = () => { const i = r._next(); return i.value && (i.value = n(i.value)), i; }), r; } const xd = Array.prototype; function Ft(e, t, n, s, r, i) { const o = yi(e), l = o !== e && !ft(e), c = o[t]; if (c !== xd[t]) { const u = c.apply(e, i); return l ? $e(u) : u; } let a = n; o !== e && (l ? a = function(u, h) { return n.call(this, $e(u), h, e); } : n.length > 2 && (a = function(u, h) { return n.call(this, u, h, e); })); const f = c.call(o, a, s); return l && r ? r(f) : f; } function ec(e, t, n, s) { const r = yi(e); let i = n; return r !== e && (ft(e) ? n.length > 3 && (i = function(o, l, c) { return n.call(this, o, l, c, e); }) : i = function(o, l, c) { return n.call(this, o, $e(l), c, e); }), r[t](i, ...s); } function Wi(e, t, n) { const s = te(e); We(s, "iterate", $s); const r = s[t](...n); return (r === -1 || r === !1) && Si(n[0]) ? (n[0] = te(n[0]), s[t](...n)) : r; } function Ss(e, t, n = []) { Jt(), Qo(); const s = te(e)[t].apply(e, n); return Zo(), Qt(), s; } const Dd = /* @__PURE__ */ ut("__proto__,__v_isRef,__isVue"), Ja = new Set( /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(it) ); function Fd(e) { it(e) || (e = String(e)); const t = te(this); return We(t, "has", e), t.hasOwnProperty(e); } class Qa { constructor(t = !1, n = !1) { this._isReadonly = t, this._isShallow = n; } get(t, n, s) { if (n === "__v_skip") return t.__v_skip; const r = this._isReadonly, i = this._isShallow; if (n === "__v_isReactive") return !r; if (n === "__v_isReadonly") return r; if (n === "__v_isShallow") return i; if (n === "__v_raw") return s === (r ? i ? sf : nf : i ? tf : ef).get(t) || // receiver is not the reactive proxy, but has the same prototype // this means the receiver is a user proxy of the reactive proxy Object.getPrototypeOf(t) === Object.getPrototypeOf(s) ? t : void 0; const o = K(t); if (!r) { let c; if (o && (c = Md[n])) return c; if (n === "hasOwnProperty") return Fd; } const l = Reflect.get( t, n, // if this is a proxy wrapping a ref, return methods using the raw ref // as receiver so that we don't have to call `toRaw` on the ref in all // its class methods ye(t) ? t : s ); return (it(n) ? Ja.has(n) : Dd(n)) || (r || We(t, "get", n), i) ? l : ye(l) ? o && Yo(n) ? l : l.value : de(l) ? r ? el(l) : sr(l) : l; } } class Za extends Qa { constructor(t = !1) { super(!1, t); } set(t, n, s, r) { let i = t[n]; if (!this._isShallow) { const c = Zt(i); if (!ft(s) && !Zt(s) && (i = te(i), s = te(s)), !K(t) && ye(i) && !ye(s)) return c ? !1 : (i.value = s, !0); } const o = K(t) && Yo(n) ? Number(n) < t.length : ae(t, n), l = Reflect.set( t, n, s, ye(t) ? t : r ); return t === te(r) && (o ? Je(s, i) && Bt(t, "set", n, s) : Bt(t, "add", n, s)), l; } deleteProperty(t, n) { const s = ae(t, n); t[n]; const r = Reflect.deleteProperty(t, n); return r && s && Bt(t, "delete", n, void 0), r; } has(t, n) { const s = Reflect.has(t, n); return (!it(n) || !Ja.has(n)) && We(t, "has", n), s; } ownKeys(t) { return We( t, "iterate", K(t) ? "length" : Rn ), Reflect.ownKeys(t); } } class za extends Qa { constructor(t = !1) { super(!0, t); } set(t, n) { return !0; } deleteProperty(t, n) { return !0; } } const $d = /* @__PURE__ */ new Za(), Vd = /* @__PURE__ */ new za(), Ud = /* @__PURE__ */ new Za(!0), Hd = /* @__PURE__ */ new za(!0), lo = (e) => e, dr = (e) => Reflect.getPrototypeOf(e); function Bd(e, t, n) { return function(...s) { const r = this.__v_raw, i = te(r), o = ts(i), l = e === "entries" || e === Symbol.iterator && o, c = e === "keys" && o, a = r[e](...s), f = n ? lo : t ? Hr : $e; return !t && We( i, "iterate", c ? oo : Rn ), { // iterator protocol next() { const { value: u, done: h } = a.next(); return h ? { value: u, done: h } : { value: l ? [f(u[0]), f(u[1])] : f(u), done: h }; }, // iterable protocol [Symbol.iterator]() { return this; } }; }; } function pr(e) { return function(...t) { return e === "delete" ? !1 : e === "clear" ? void 0 : this; }; } function jd(e, t) { const n = { get(r) { const i = this.__v_raw, o = te(i), l = te(r); e || (Je(r, l) && We(o, "get", r), We(o, "get", l)); const { has: c } = dr(o), a = t ? lo : e ? Hr : $e; if (c.call(o, r)) return a(i.get(r)); if (c.call(o, l)) return a(i.get(l)); i !== o && i.get(r); }, get size() { const r = this.__v_raw; return !e && We(te(r), "iterate", Rn), Reflect.get(r, "size", r); }, has(r) { const i = this.__v_raw, o = te(i), l = te(r); return e || (Je(r, l) && We(o, "has", r), We(o, "has", l)), r === l ? i.has(r) : i.has(r) || i.has(l); }, forEach(r, i) { const o = this, l = o.__v_raw, c = te(l), a = t ? lo : e ? Hr : $e; return !e && We(c, "iterate", Rn), l.forEach((f, u) => r.call(i, a(f), a(u), o)); } }; return se( n, e ? { add: pr("add"), set: pr("set"), delete: pr("delete"), clear: pr("clear") } : { add(r) { !t && !ft(r) && !Zt(r) && (r = te(r)); const i = te(this); return dr(i).has.call(i, r) || (i.add(r), Bt(i, "add", r, r)), this; }, set(r, i) { !t && !ft(i) && !Zt(i) && (i = te(i)); const o = te(this), { has: l, get: c } = dr(o); let a = l.call(o, r); a || (r = te(r), a = l.call(o, r)); const f = c.call(o, r); return o.set(r, i), a ? Je(i, f) && Bt(o, "set", r, i) : Bt(o, "add", r, i), this; }, delete(r) { const i = te(this), { has: o, get: l } = dr(i); let c = o.call(i, r); c || (r = te(r), c = o.call(i, r)), l && l.call(i, r); const a = i.delete(r); return c && Bt(i, "delete", r, void 0), a; }, clear() { const r = te(this), i = r.size !== 0, o = r.clear(); return i && Bt( r, "clear", void 0, void 0 ), o; } } ), [ "keys", "values", "entries", Symbol.iterator ].forEach((r) => { n[r] = Bd(r, e, t); }), n; } function bi(e, t) { const n = jd(e, t); return (s, r, i) => r === "__v_isReactive" ? !e : r === "__v_isReadonly" ? e : r === "__v_raw" ? s : Reflect.get( ae(n, r) && r in s ? n : s, r, i ); } const Wd = { get: /* @__PURE__ */ bi(!1, !1) }, Kd = { get: /* @__PURE__ */ bi(!1, !0) }, qd = { get: /* @__PURE__ */ bi(!0, !1) }, Gd = { get: /* @__PURE__ */ bi(!0, !0) }, ef = /* @__PURE__ */ new WeakMap(), tf = /* @__PURE__ */ new WeakMap(), nf = /* @__PURE__ */ new WeakMap(), sf = /* @__PURE__ */ new WeakMap(); function Yd(e) { switch (e) { case "Object": case "Array": return 1; case "Map": case "Set": case "WeakMap": case "WeakSet": return 2; default: return 0; } } function Xd(e) { return e.__v_skip || !Object.isExtensible(e) ? 0 : Yd(ld(e)); } function sr(e) { return Zt(e) ? e : Ei( e, !1, $d, Wd, ef ); } function rf(e) { return Ei( e, !1, Ud, Kd, tf ); } function el(e) { return Ei( e, !0, Vd, qd, nf ); } function Jd(e) { return Ei( e, !0, Hd, Gd, sf ); } function Ei(e, t, n, s, r) { if (!de(e) || e.__v_raw && !(t && e.__v_isReactive)) return e; const i = Xd(e); if (i === 0) return e; const o = r.get(e); if (o) return o; const l = new Proxy( e, i === 2 ? s : n ); return r.set(e, l), l; } function Ct(e) { return Zt(e) ? Ct(e.__v_raw) : !!(e && e.__v_isReactive); } function Zt(e) { return !!(e && e.__v_isReadonly); } function ft(e) { return !!(e && e.__v_isShallow); } function Si(e) { return e ? !!e.__v_raw : !1; } function te(e) { const t = e && e.__v_raw; return t ? te(t) : e; } function Ti(e) { return !ae(e, "__v_skip") && Object.isExtensible(e) && Da(e, "__v_skip", !0), e; } const $e = (e) => de(e) ? sr(e) : e, Hr = (e) => de(e) ? el(e) : e; function ye(e) { return e ? e.__v_isRef === !0 : !1; } function gn(e) { return of(e, !1); } function tl(e) { return of(e, !0); } function of(e, t) { return ye(e) ? e : new Qd(e, t); } class Qd { constructor(t, n) { this.dep = new _i(), this.__v_isRef = !0, this.__v_isShallow = !1, this._rawValue = n ? t : te(t), this._value = n ? t : $e(t), this.__v_isShallow = n; } get value() { return this.dep.track(), this._value; } set value(t) { const n = this._rawValue, s = this.__v_isShallow || ft(t) || Zt(t); t = s ? t : te(t), Je(t, n) && (this._rawValue = t, this._value = s ? t : $e(t), this.dep.trigger()); } } function Zd(e) { e.dep && e.dep.trigger(); } function vi(e) { return ye(e) ? e.value : e; } function zd(e) { return Z(e) ? e() : vi(e); } const ep = { get: (e, t, n) => t === "__v_raw" ? e : vi(Reflect.get(e, t, n)), set: (e, t, n, s) => { const r = e[t]; return ye(r) && !ye(n) ? (r.value = n, !0) : Reflect.set(e, t, n, s); } }; function nl(e) { return Ct(e) ? e : new Proxy(e, ep); } class tp { constructor(t) { this.__v_isRef = !0, this._value = void 0; const n = this.dep = new _i(), { get: s, set: r } = t(n.track.bind(n), n.trigger.bind(n)); this._get = s, this._set = r; } get value() { return this._value = this._get(); } set value(t) { this._set(t); } } function lf(e) { return new tp(e); } function cf(e) { const t = K(e) ? new Array(e.length) : {}; for (const n in e) t[n] = ff(e, n); return t; } class np { constructor(t, n, s) { this._object = t, this._key = n, this._defaultValue = s, this.__v_isRef = !0, this._value = void 0; } get value() { const t = this._object[this._key]; return this._value = t === void 0 ? this._defaultValue : t; } set value(t) { this._object[this._key] = t; } get dep() { return kd(te(this._object), this._key); } } class sp { constructor(t) { this._getter = t, this.__v_isRef = !0, this.__v_isReadonly = !0, this._value = void 0; } get value() { return this._value = this._getter(); } } function af(e, t, n) { return ye(e) ? e : Z(e) ? new sp(e) : de(e) && arguments.length > 1 ? ff(e, t, n) : gn(e); } function ff(e, t, n) { const s = e[t]; return ye(s) ? s : new np(e, t, n); } class rp { constructor(t, n, s) { this.fn = t, this.setter = n, this._value = void 0, this.dep = new _i(this), this.__v_isRef = !0, this.deps = void 0, this.depsTail = void 0, this.flags = 16, this.globalVersion = Fs - 1, this.next = void 0, this.effect = this, this.__v_isReadonly = !n, this.isSSR = s; } /** * @internal */ notify() { if (this.flags |= 16, !(this.flags & 8) && // avoid infinite self recursion me !== this) return Wa(this, !0), !0; } get value() { const t = this.dep.track(); return Ga(this), t && (t.version = this.dep.version), this._value; } set value(t) { this.setter && this.setter(t); } } function ip(e, t, n = !1) { let s, r; return Z(e) ? s = e : (s = e.get, r = e.set), new rp(s, r, n); } const op = { GET: "get", HAS: "has", ITERATE: "iterate" }, lp = { SET: "set", ADD: "add", DELETE: "delete", CLEAR: "clear" }, mr = {}, Br = /* @__PURE__ */ new WeakMap(); let fn; function cp() { return fn; } function uf(e, t = !1, n = fn) { if (n) { let s = Br.get(n); s || Br.set(n, s = []), s.push(e); } } function ap(e, t, n = ne) { const { immediate: s, deep: r, once: i, scheduler: o, augmentJob: l, call: c } = n, a = (p) => r ? p : ft(p) || r === !1 || r === 0 ? jt(p, 1) : jt(p); let f, u, h, _, v = !1, E = !1; if (ye(e) ? (u = () => e.value, v = ft(e)) : Ct(e) ? (u = () => a(e), v = !0) : K(e) ? (E = !0, v = e.some((p) => Ct(p) || ft(p)), u = () => e.map((p) => { if (ye(p)) return p.value; if (Ct(p)) return a(p); if (Z(p)) return c ? c(p, 2) : p(); })) : Z(e) ? t ? u = c ? () => c(e, 2) : e : u = () => { if (h) { Jt(); try { h(); } finally { Qt(); } } const p = fn; fn = f; try { return c ? c(e, 3, [_]) : e(_); } finally { fn = p; } } : u = Ve, t && r) { const p = u, S = r === !0 ? 1 / 0 : r; u = () => jt(p(), S); } const k = Jo(), y = () => { f.stop(), k && k.active && qo(k.effects, f); }; if (i && t) { const p = t; t = (...S) => { p(...S), y(); }; } let T = E ? new Array(e.length).fill(mr) : mr; const m = (p) => { if (!(!(f.flags & 1) || !f.dirty && !p)) if (t) { const S = f.run(); if (r || v || (E ? S.some((O, L) => Je(O, T[L])) : Je(S, T))) { h && h(); const O = fn; fn = f; try { const L = [ S, // pass undefined as the old value when it's changed for the first time T === mr ? void 0 : E && T[0] === mr ? [] : T, _ ]; T = S, c ? c(t, 3, L) : ( // @ts-expect-error t(...L) ); } finally { fn = O; } } } else f.run(); }; return l && l(m), f = new Ds(u), f.scheduler = o ? () => o(m, !1) : m, _ = (p) => uf(p, !1, f), h = f.onStop = () => { const p = Br.get(f); if (p) { if (c) c(p, 4); else for (const S of p) S(); Br.delete(f); } }, t ? s ? m(!0) : T = f.run() : o ? o(m.bind(null, !0), !0) : f.run(), y.pause = f.pause.bind(f), y.resume = f.resume.bind(f), y.stop = y, y; } function jt(e, t = 1 / 0, n) { if (t <= 0 || !de(e) || e.__v_skip || (n = n || /* @__PURE__ */ new Set(), n.has(e))) return e; if (n.add(e), t--, ye(e)) jt(e.value, t, n); else if (K(e)) for (let s = 0; s < e.length; s++) jt(e[s], t, n); else if (Hn(e) || ts(e)) e.forEach((s) => { jt(s, t, n); }); else if (hi(e)) { for (const s in e) jt(e[s], t, n); for (const s of Object.getOwnPropertySymbols(e)) Object.prototype.propertyIsEnumerable.call(e, s) && jt(e[s], t, n); } return e; } /** * @vue/runtime-core v3.5.15 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/ const hf = []; function fp(e) { hf.push(e); } function up() { hf.pop(); } function hp(e, t) { } const dp = { SETUP_FUNCTION: 0, 0: "SETUP_FUNCTION", RENDER_FUNCTION: 1, 1: "RENDER_FUNCTION", NATIVE_EVENT_HANDLER: 5, 5: "NATIVE_EVENT_HANDLER", COMPONENT_EVENT_HANDLER: 6, 6: "COMPONENT_EVENT_HANDLER", VNODE_HOOK: 7, 7: "VNODE_HOOK", DIRECTIVE_HOOK: 8, 8: "DIRECTIVE_HOOK", TRANSITION_HOOK: 9, 9: "TRANSITION_HOOK", APP_ERROR_HANDLER: 10, 10: "APP_ERROR_HANDLER", APP_WARN_HANDLER: 11, 11: "APP_WARN_HANDLER", FUNCTION_REF: 12, 12: "FUNCTION_REF", ASYNC_COMPONENT_LOADER: 13, 13: "ASYNC_COMPONENT_LOADER", SCHEDULER: 14, 14: "SCHEDULER", COMPONENT_UPDATE: 15, 15: "COMPONENT_UPDATE", APP_UNMOUNT_CLEANUP: 16, 16: "APP_UNMOUNT_CLEANUP" }, pp = { sp: "serverPrefetch hook", bc: "beforeCreate hook", c: "created hook", bm: "beforeMount hook", m: "mounted hook", bu: "beforeUpdate hook", u: "updated", bum: "beforeUnmount hook", um: "unmounted hook", a: "activated hook", da: "deactivated hook", ec: "errorCaptured hook", rtc: "renderTracked hook", rtg: "renderTriggered hook", 0: "setup function", 1: "render function", 2: "watcher getter", 3: "watcher callback", 4: "watcher cleanup function", 5: "native event handler", 6: "component event handler", 7: "vnode hook", 8: "directive hook", 9: "transition hook", 10: "app errorHandler", 11: "app warnHandler", 12: "ref function", 13: "async component loader", 14: "scheduler flush", 15: "component update", 16: "app unmount cleanup function" }; function gs(e, t, n, s) { try { return s ? e(...s) : e(); } catch (r) { jn(r, t, n); } } function bt(e, t, n, s) { if (Z(e)) { const r = gs(e, t, n, s); return r && Go(r) && r.catch((i) => { jn(i, t, n); }), r; } if (K(e)) { const r = []; for (let i = 0; i < e.length; i++) r.push(bt(e[i], t, n, s)); return r; } } function jn(e, t, n, s = !0) { const r = t ? t.vnode : null, { errorHandler: i, throwUnhandledErrorInProduction: o } = t && t.appContext.config || ne; if (t) { let l = t.parent; const c = t.proxy, a = `https://vuejs.org/error-reference/#runtime-${n}`; for (; l; ) { const f = l.ec; if (f) { for (let u = 0; u < f.length; u++) if (f[u](e, c, a) === !1) return; } l = l.parent; } if (i) { Jt(), gs(i, null, 10, [ e, c, a ]), Qt(); return; } } mp(e, n, r, s, o); } function mp(e, t, n, s = !0, r = !1) { if (r) throw e; console.error(e); } const Qe = []; let Rt = -1; const rs = []; let un = null, Jn = 0; const df = /* @__PURE__ */ Promise.resolve(); let jr = null; function rr(e) { const t = jr || df; return e ? t.then(this ? e.bind(this) : e) : t; } function gp(e) { let t = Rt + 1, n = Qe.length; for (; t < n; ) { const s = t + n >>> 1, r = Qe[s], i = Us(r); i < e || i === e && r.flags & 2 ? t = s + 1 : n = s; } return t; } function sl(e) { if (!(e.flags & 1)) { const t = Us(e), n = Qe[Qe.length - 1]; !n || // fast path when the job id is larger than the tail !(e.flags & 2) && t >= Us(n) ? Qe.push(e) : Qe.splice(gp(t), 0, e), e.flags |= 1, pf(); } } function pf() { jr || (jr = df.then(mf)); } function Vs(e) { K(e) ? rs.push(...e) : un && e.id === -1 ? un.splice(Jn + 1, 0, e) : e.flags & 1 || (rs.push(e), e.flags |= 1), pf(); } function tc(e, t, n = Rt + 1) { for (; n < Qe.length; n++) { const s = Qe[n]; if (s && s.flags & 2) { if (e && s.id !== e.uid) continue; Qe.splice(n, 1), n--, s.flags & 4 && (s.flags &= -2), s(), s.flags & 4 || (s.flags &= -2); } } } function Wr(e) { if (rs.length) { const t = [...new Set(rs)].sort( (n, s) => Us(n) - Us(s) ); if (rs.length = 0, un) { un.push(...t); return; } for (un = t, Jn = 0; Jn < un.length; Jn++) { const n = un[Jn]; n.flags & 4 && (n.flags &= -2), n.flags & 8 || n(), n.flags &= -2; } un = null, Jn = 0; } } const Us = (e) => e.id == null ? e.flags & 2 ? -1 : 1 / 0 : e.id; function mf(e) { try { for (Rt = 0; Rt < Qe.length; Rt++) { const t = Qe[Rt]; t && !(t.flags & 8) && (t.flags & 4 && (t.flags &= -2), gs( t, t.i, t.i ? 15 : 14 ), t.flags & 4 || (t.flags &= -2)); } } finally { for (; Rt < Qe.length; Rt++) { const t = Qe[Rt]; t && (t.flags &= -2); } Rt = -1, Qe.length = 0, Wr(), jr = null, (Qe.length || rs.length) && mf(); } } let Qn, gr = []; function gf(e, t) { var n, s; Qn = e, Qn ? (Qn.enabled = !0, gr.forEach(({ event: r, args: i }) => Qn.emit(r, ...i)), gr = []) : /* handle late devtools injection - only do this if we are in an actual */ /* browser environment to avoid the timer handle stalling test runner exit */ /* (#4815) */ typeof window < "u" && // some envs mock window but not fully window.HTMLElement && // also exclude jsdom // eslint-disable-next-line no-restricted-syntax !((s = (n = window.navigator) == null ? void 0 : n.userAgent) != null && s.includes("jsdom")) ? ((t.__VUE_DEVTOOLS_HOOK_REPLAY__ = t.__VUE_DEVTOOLS_HOOK_REPLAY__ || []).push((i) => { gf(i, t); }), setTimeout(() => { Qn || (t.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, gr = []); }, 3e3)) : gr = []; } let Me = null, Ci = null; function Hs(e) { const t = Me; return Me = e, Ci = e && e.type.__scopeId || null, t; } function _p(e) { Ci = e; } function yp() { Ci = null; } const bp = (e) => rl; function rl(e, t = Me, n) { if (!t || e._n) return e; const s = (...r) => { s._d && go(-1); const i = Hs(t); let o; try { o = e(...r); } finally { Hs(i), s._d && go(1); } return o; }; return s._n = !0, s._c = !0, s._d = !0, s; } function Ep(e, t) { if (Me === null) return e; const n = cr(Me), s = e.dirs || (e.dirs = []); for (let r = 0; r < t.length; r++) { let [i, o, l, c = ne] = t[r]; i && (Z(i) && (i = { mounted: i, updated: i }), i.deep && jt(o), s.push({ dir: i, instance: n, value: o, oldValue: void 0, arg: l, modifiers: c })); } return e; } function Pt(e, t, n, s) { const r = e.dirs, i = t && t.dirs; for (let o = 0; o < r.length; o++) { const l = r[o]; i && (l.oldValue = i[o].value); let c = l.dir[s]; c && (Jt(), bt(c, n, 8, [ e.el, l, e, t ]), Qt()); } } const _f = Symbol("_vte"), yf = (e) => e.__isTeleport, ws = (e) => e && (e.disabled || e.disabled === ""), nc = (e) => e && (e.defer || e.defer === ""), sc = (e) => typeof SVGElement < "u" && e instanceof SVGElement, rc = (e) => typeof MathMLElement == "function" && e instanceof MathMLElement, co = (e, t) => { const n = e && e.to; return z(n) ? t ? t(n) : null : n; }, bf = { name: "Teleport", __isTeleport: !0, process(e, t, n, s, r, i, o, l, c, a) { const { mc: f, pc: u, pbc: h, o: { insert: _, querySelector: v, createText: E, createComment: k } } = a, y = ws(t.props); let { shapeFlag: T, children: m, dynamicChildren: p } = t; if (e == null) { const S = t.el = E(""), O = t.anchor = E(""); _(S, n, s), _(O, n, s); const L = (A, R) => { T & 16 && (r && r.isCE && (r.ce._teleportTarget = A), f( m, A, R, r, i, o, l, c )); }, M = () => { const A = t.target = co(t.props, v), R = Ef(A, t, E, _); A && (o !== "svg" && sc(A) ? o = "svg" : o !== "mathml" && rc(A) && (o = "mathml"), y || (L(A, R), Lr(t, !1))); }; y && (L(n, O), Lr(t, !0)), nc(t.props) ? (t.el.__isMounted = !1, Re(() => { M(), delete t.el.__isMounted; }, i)) : M(); } else { if (nc(t.props) && e.el.__isMounted === !1) { Re(() => { bf.process( e, t, n, s, r, i, o, l, c, a ); }, i); return; } t.el = e.el, t.targetStart = e.targetStart; const S = t.anchor = e.anchor, O = t.target = e.target, L = t.targetAnchor = e.targetAnchor, M = ws(e.props), A = M ? n : O, R = M ? S : L; if (o === "svg" || sc(O) ? o = "svg" : (o === "mathml" || rc(O)) && (o = "mathml"), p ? (h( e.dynamicChildren, p, A, r, i, o, l ), ml(e, t, !0)) : c || u( e, t, A, R, r, i, o, l, !1 ), y) M ? t.props && e.props && t.props.to !== e.props.to && (t.props.to = e.props.to) : _r( t, n, S, a, 1 ); else if ((t.props && t.props.to) !== (e.props && e.props.to)) { const $ = t.target = co( t.props, v ); $ && _r( t, $, null, a, 0 ); } else M && _r( t, O, L, a, 1 ); Lr(t, y); } }, remove(e, t, n, { um: s, o: { remove: r } }, i) { const { shapeFlag: o, children: l, anchor: c, targetStart: a, targetAnchor: f, target: u, props: h } = e; if (u && (r(a), r(f)), i && r(c), o & 16) { const _ = i || !ws(h); for (let v = 0; v < l.length; v++) { const E = l[v]; s( E, t, n, _, !!E.dynamicChildren ); } } }, move: _r, hydrate: Sp }; function _r(e, t, n, { o: { insert: s }, m: r }, i = 2) { i === 0 && s(e.targetAnchor, t, n); const { el: o, anchor: l, shapeFlag: c, children: a, props: f } = e, u = i === 2; if (u && s(o, t, n), (!u || ws(f)) && c & 16) for (let h = 0; h < a.length; h++) r( a[h], t, n, 2 ); u && s(l, t, n); } function Sp(e, t, n, s, r, i, { o: { nextSibling: o, parentNode: l, querySelector: c, insert: a, createText: f } }, u) { const h = t.target = co( t.props, c ); if (h) { const _ = ws(t.props), v = h._lpa || h.firstChild; if (t.shapeFlag & 16) if (_) t.anchor = u( o(e), t, l(e), n, s, r, i ), t.targetStart = v, t.targetAnchor = v && o(v); else { t.anchor = o(e); let E = v; for (; E; ) { if (E && E.nodeType === 8) { if (E.data === "teleport start anchor") t.targetStart = E; else if (E.data === "teleport anchor") { t.targetAnchor = E, h._lpa = t.targetAnchor && o(t.targetAnchor); break; } } E = o(E); } t.targetAnchor || Ef(h, t, f, a), u( v && o(v), t, h, n, s, r, i ); } Lr(t, _); } return t.anchor && o(t.anchor); } const Tp = bf; function Lr(e, t) { const n = e.ctx; if (n && n.ut) { let s, r; for (t ? (s = e.el, r = e.anchor) : (s = e.targetStart, r = e.targetAnchor); s && s !== r; ) s.nodeType === 1 && s.setAttribute("data-v-owner", n.uid), s = s.nextSibling; n.ut(); } } function Ef(e, t, n, s) { const r = t.targetStart = n(""), i = t.targetAnchor = n(""); return r[_f] = i, e && (s(r, e), s(i, e)), i; } const hn = Symbol("_leaveCb"), yr = Symbol("_enterCb"); function il() { const e = { isMounted: !1, isLeaving: !1, isUnmounting: !1, leavingVNodes: /* @__PURE__ */ new Map() }; return ys(() => { e.isMounted = !0; }), Oi(() => { e.isUnmounting = !0; }), e; } const pt = [Function, Array], ol = { mode: String, appear: Boolean, persisted: Boolean, // enter onBeforeEnter: pt, onEnter: pt, onAfterEnter: pt, onEnterCancelled: pt, // leave onBeforeLeave: pt, onLeave: pt, onAfterLeave: pt, onLeaveCancelled: pt, // appear onBeforeAppear: pt, onAppear: pt, onAfterAppear: pt, onAppearCancelled: pt }, Sf = (e) => { const t = e.subTree; return t.component ? Sf(t.component) : t; }, vp = { name: "BaseTransition", props: ol, setup(e, { slots: t }) { const n = Ze(), s = il(); return () => { const r = t.default && Ni(t.default(), !0); if (!r || !r.length) return; const i = Tf(r), o = te(e), { mode: l } = o; if (s.isLeaving) return Ki(i); const c = ic(i); if (!c) return Ki(i); let a = os( c, o, s, n, // #11061, ensure enterHooks is fresh after clone (u) => a = u ); c.type !== Ie && zt(c, a); let f = n.subTree && ic(n.subTree); if (f && f.type !== Ie && !St(c, f) && Sf(n).type !== Ie) { let u = os( f, o, s, n ); if (zt(f, u), l === "out-in" && c.type !== Ie) return s.isLeaving = !0, u.afterLeave = () => { s.isLeaving = !1, n.job.flags & 8 || n.update(), delete u.afterLeave, f = void 0; }, Ki(i); l === "in-out" && c.type !== Ie ? u.delayLeave = (h, _, v) => { const E = Cf( s, f ); E[String(f.key)] = f, h[hn] = () => { _(), h[hn] = void 0, delete a.delayedLeave, f = void 0; }, a.delayedLeave = () => { v(), delete a.delayedLeave, f = void 0; }; } : f = void 0; } else f && (f = void 0); return i; }; } }; function Tf(e) { let t = e[0]; if (e.length > 1) { for (const n of e) if (n.type !== Ie) { t = n; break; } } return t; } const vf = vp; function Cf(e, t) { const { leavingVNodes: n } = e; let s = n.get(t.type); return s || (s = /* @__PURE__ */ Object.create(null), n.set(t.type, s)), s; } function os(e, t, n, s, r) { const { appear: i, mode: o, persisted: l = !1, onBeforeEnter: c, onEnter: a, onAfterEnter: f, onEnterCancelled: u, onBeforeLeave: h, onLeave: _, onAfterLeave: v, onLeaveCancelled: E, onBeforeAppear: k, onAppear: y, onAfterAppear: T, onAppearCancelled: m } = t, p = String(e.key), S = Cf(n, e), O = (A, R) => { A && bt( A, s, 9, R ); }, L = (A, R) => { const $ = R[1]; O(A, R), K(A) ? A.every((w) => w.length <= 1) && $() : A.length <= 1 && $(); }, M = { mode: o, persisted: l, beforeEnter(A) { let R = c; if (!n.isMounted) if (i) R = k || c; else return; A[hn] && A[hn]( !0 /* cancelled */ ); const $ = S[p]; $ && St(e, $) && $.el[hn] && $.el[hn](), O(R, [A]); }, enter(A) { let R = a, $ = f, w = u; if (!n.isMounted) if (i) R = y || a, $ = T || f, w = m || u; else return; let B = !1; const X = A[yr] = (Q) => { B || (B = !0, Q ? O(w, [A]) : O($, [A]), M.delayedLeave && M.delayedLeave(), A[yr] = void 0); }; R ? L(R, [A, X]) : X(); }, leave(A, R) { const $ = String(e.key); if (A[yr] && A[yr]( !0 /* cancelled */ ), n.isUnmounting) return R(); O(h, [A]); let w = !1; const B = A[hn] = (X) => { w || (w = !0, R(), X ? O(E, [A]) : O(v, [A]), A[hn] = void 0, S[$] === e && delete S[$]); }; S[$] = e, _ ? L(_, [A, B]) : B(); }, clone(A) { const R = os( A, t, n, s, r ); return r && r(R), R; } }; return M; } function Ki(e) { if (ir(e)) return e = xt(e), e.children = null, e; } function ic(e) { if (!ir(e)) return yf(e.type) && e.children ? Tf(e.children) : e; if (e.component) return e.component.subTree; const { shapeFlag: t, children: n } = e; if (n) { if (t & 16) return n[0]; if (t & 32 && Z(n.default)) return n.default(); } } function zt(e, t) { e.shapeFlag & 6 && e.componen