widget-staging.rather.chat
Open in
urlscan Pro
3.160.150.52
Public Scan
URL:
https://widget-staging.rather.chat/
Submission: On June 21 via api from US — Scanned from AT
Submission: On June 21 via api from US — Scanned from AT
Form analysis
0 forms found in the DOMText Content
/** * @vue/shared v3.4.21 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/ function gs(e, t) { const n = new Set(e.split(",")); return t ? (r) => n.has(r.toLowerCase()) : (r) => n.has(r); } const Pe = {}, Vn = [], dt = () => { }, Af = () => !1, $o = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter (e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), vs = (e) => e.startsWith("onUpdate:"), Ne = Object.assign, ys = (e, t) => { const n = e.indexOf(t); n > -1 && e.splice(n, 1); }, Ef = Object.prototype.hasOwnProperty, be = (e, t) => Ef.call(e, t), se = Array.isArray, Ln = (e) => Ho(e) === "[object Map]", fc = (e) => Ho(e) === "[object Set]", ue = (e) => typeof e == "function", Ve = (e) => typeof e == "string", Kn = (e) => typeof e == "symbol", Oe = (e) => e !== null && typeof e == "object", mc = (e) => (Oe(e) || ue(e)) && ue(e.then) && ue(e.catch), hc = Object.prototype.toString, Ho = (e) => hc.call(e), kf = (e) => Ho(e).slice(8, -1), gc = (e) => Ho(e) === "[object Object]", ps = (e) => Ve(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, mr = /* @__PURE__ */ gs( // the leading comma is intentional so empty string "" is also included ",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted" ), jo = (e) => { const t = /* @__PURE__ */ Object.create(null); return (n) => t[n] || (t[n] = e(n)); }, Pf = /-(\w)/g, vt = jo((e) => e.replace(Pf, (t, n) => n ? n.toUpperCase() : "")), Tf = /\B([A-Z])/g, qn = jo( (e) => e.replace(Tf, "-$1").toLowerCase() ), Yn = jo((e) => e.charAt(0).toUpperCase() + e.slice(1)), ci = jo((e) => e ? `on${Yn(e)}` : ""), an = (e, t) => !Object.is(e, t), ui = (e, t) => { for (let n = 0; n < e.length; n++) e[n](t); }, po = (e, t, n) => { Object.defineProperty(e, t, { configurable: !0, enumerable: !1, value: n }); }, Of = (e) => { const t = parseFloat(e); return isNaN(t) ? e : t; }, Mf = (e) => { const t = Ve(e) ? Number(e) : NaN; return isNaN(t) ? e : t; }; let va; const vc = () => va || (va = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {}); function pr(e) { if (se(e)) { const t = {}; for (let n = 0; n < e.length; n++) { const r = e[n], o = Ve(r) ? Rf(r) : pr(r); if (o) for (const i in o) t[i] = o[i]; } return t; } else if (Ve(e) || Oe(e)) return e; } const If = /;(?![^(]*\))/g, Ff = /:([^]+)/, Bf = /\/\*[^]*?\*\//g; function Rf(e) { const t = {}; return e.replace(Bf, "").split(If).forEach((n) => { if (n) { const r = n.split(Ff); r.length > 1 && (t[r[0].trim()] = r[1].trim()); } }), t; } function Jn(e) { let t = ""; if (Ve(e)) t = e; else if (se(e)) for (let n = 0; n < e.length; n++) { const r = Jn(e[n]); r && (t += r + " "); } else if (Oe(e)) for (const n in e) e[n] && (t += n + " "); return t.trim(); } const Vf = "itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly", Lf = /* @__PURE__ */ gs(Vf); function yc(e) { return !!e || e === ""; } const di = (e) => Ve(e) ? e : e == null ? "" : se(e) || Oe(e) && (e.toString === hc || !ue(e.toString)) ? JSON.stringify(e, pc, 2) : String(e), pc = (e, t) => t && t.__v_isRef ? pc(e, t.value) : Ln(t) ? { [`Map(${t.size})`]: [...t.entries()].reduce( (n, [r, o], i) => (n[fi(r, i) + " =>"] = o, n), {} ) } : fc(t) ? { [`Set(${t.size})`]: [...t.values()].map((n) => fi(n)) } : Kn(t) ? fi(t) : Oe(t) && !se(t) && !gc(t) ? String(t) : t, fi = (e, t = "") => { var n; return Kn(e) ? `Symbol(${(n = e.description) != null ? n : t})` : e; }; /** * @vue/reactivity v3.4.21 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/ let it; class bc { constructor(t = !1) { this.detached = t, this._active = !0, this.effects = [], this.cleanups = [], this.parent = it, !t && it && (this.index = (it.scopes || (it.scopes = [])).push( this ) - 1); } get active() { return this._active; } run(t) { if (this._active) { const n = it; try { return it = this, t(); } finally { it = n; } } } /** * This should only be called on non-detached scopes * @internal */ on() { it = this; } /** * This should only be called on non-detached scopes * @internal */ off() { it = this.parent; } stop(t) { if (this._active) { let n, r; for (n = 0, r = this.effects.length; n < r; n++) this.effects[n].stop(); for (n = 0, r = this.cleanups.length; n < r; n++) this.cleanups[n](); if (this.scopes) for (n = 0, r = this.scopes.length; n < r; n++) this.scopes[n].stop(!0); if (!this.detached && this.parent && !t) { const o = this.parent.scopes.pop(); o && o !== this && (this.parent.scopes[this.index] = o, o.index = this.index); } this.parent = void 0, this._active = !1; } } } function Uo(e) { return new bc(e); } function Nf(e, t = it) { t && t.active && t.effects.push(e); } function Df() { return it; } function tt(e) { it && it.cleanups.push(e); } let yn; class bs { constructor(t, n, r, o) { this.fn = t, this.trigger = n, this.scheduler = r, this.active = !0, this.deps = [], this._dirtyLevel = 4, this._trackId = 0, this._runnings = 0, this._shouldSchedule = !1, this._depsLength = 0, Nf(this, o); } get dirty() { if (this._dirtyLevel === 2 || this._dirtyLevel === 3) { this._dirtyLevel = 1, _n(); for (let t = 0; t < this._depsLength; t++) { const n = this.deps[t]; if (n.computed && ($f(n.computed), this._dirtyLevel >= 4)) break; } this._dirtyLevel === 1 && (this._dirtyLevel = 0), xn(); } return this._dirtyLevel >= 4; } set dirty(t) { this._dirtyLevel = t ? 4 : 0; } run() { if (this._dirtyLevel = 0, !this.active) return this.fn(); let t = rn, n = yn; try { return rn = !0, yn = this, this._runnings++, ya(this), this.fn(); } finally { pa(this), this._runnings--, yn = n, rn = t; } } stop() { var t; this.active && (ya(this), pa(this), (t = this.onStop) == null || t.call(this), this.active = !1); } } function $f(e) { return e.value; } function ya(e) { e._trackId++, e._depsLength = 0; } function pa(e) { if (e.deps.length > e._depsLength) { for (let t = e._depsLength; t < e.deps.length; t++) Cc(e.deps[t], e); e.deps.length = e._depsLength; } } function Cc(e, t) { const n = e.get(t); n !== void 0 && t._trackId !== n && (e.delete(t), e.size === 0 && e.cleanup()); } let rn = !0, Vi = 0; const wc = []; function _n() { wc.push(rn), rn = !1; } function xn() { const e = wc.pop(); rn = e === void 0 ? !0 : e; } function Cs() { Vi++; } function ws() { for (Vi--; !Vi && Li.length; ) Li.shift()(); } function Sc(e, t, n) { if (t.get(e) !== e._trackId) { t.set(e, e._trackId); const r = e.deps[e._depsLength]; r !== t ? (r && Cc(r, e), e.deps[e._depsLength++] = t) : e._depsLength++; } } const Li = []; function _c(e, t, n) { Cs(); for (const r of e.keys()) { let o; r._dirtyLevel < t && (o ?? (o = e.get(r) === r._trackId)) && (r._shouldSchedule || (r._shouldSchedule = r._dirtyLevel === 0), r._dirtyLevel = t), r._shouldSchedule && (o ?? (o = e.get(r) === r._trackId)) && (r.trigger(), (!r._runnings || r.allowRecurse) && r._dirtyLevel !== 2 && (r._shouldSchedule = !1, r.scheduler && Li.push(r.scheduler))); } ws(); } const xc = (e, t) => { const n = /* @__PURE__ */ new Map(); return n.cleanup = e, n.computed = t, n; }, bo = /* @__PURE__ */ new WeakMap(), pn = Symbol(""), Ni = Symbol(""); function et(e, t, n) { if (rn && yn) { let r = bo.get(e); r || bo.set(e, r = /* @__PURE__ */ new Map()); let o = r.get(n); o || r.set(n, o = xc(() => r.delete(n))), Sc( yn, o ); } } function Lt(e, t, n, r, o, i) { const s = bo.get(e); if (!s) return; let a = []; if (t === "clear") a = [...s.values()]; else if (n === "length" && se(e)) { const l = Number(r); s.forEach((c, u) => { (u === "length" || !Kn(u) && u >= l) && a.push(c); }); } else switch (n !== void 0 && a.push(s.get(n)), t) { case "add": se(e) ? ps(n) && a.push(s.get("length")) : (a.push(s.get(pn)), Ln(e) && a.push(s.get(Ni))); break; case "delete": se(e) || (a.push(s.get(pn)), Ln(e) && a.push(s.get(Ni))); break; case "set": Ln(e) && a.push(s.get(pn)); break; } Cs(); for (const l of a) l && _c( l, 4 ); ws(); } function Hf(e, t) { var n; return (n = bo.get(e)) == null ? void 0 : n.get(t); } const jf = /* @__PURE__ */ gs("__proto__,__v_isRef,__isVue"), Ac = new Set( /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(Kn) ), ba = /* @__PURE__ */ Uf(); function Uf() { const e = {}; return ["includes", "indexOf", "lastIndexOf"].forEach((t) => { e[t] = function(...n) { const r = ae(this); for (let i = 0, s = this.length; i < s; i++) et(r, "get", i + ""); const o = r[t](...n); return o === -1 || o === !1 ? r[t](...n.map(ae)) : o; }; }), ["push", "pop", "shift", "unshift", "splice"].forEach((t) => { e[t] = function(...n) { _n(), Cs(); const r = ae(this)[t].apply(this, n); return ws(), xn(), r; }; }), e; } function Wf(e) { const t = ae(this); return et(t, "has", e), t.hasOwnProperty(e); } class Ec { constructor(t = !1, n = !1) { this._isReadonly = t, this._isShallow = n; } get(t, n, r) { const o = this._isReadonly, i = this._isShallow; if (n === "__v_isReactive") return !o; if (n === "__v_isReadonly") return o; if (n === "__v_isShallow") return i; if (n === "__v_raw") return r === (o ? i ? rm : Oc : i ? Tc : Pc).get(t) || // receiver is not the reactive proxy, but has the same prototype // this means the reciever is a user proxy of the reactive proxy Object.getPrototypeOf(t) === Object.getPrototypeOf(r) ? t : void 0; const s = se(t); if (!o) { if (s && be(ba, n)) return Reflect.get(ba, n, r); if (n === "hasOwnProperty") return Wf; } const a = Reflect.get(t, n, r); return (Kn(n) ? Ac.has(n) : jf(n)) || (o || et(t, "get", n), i) ? a : Fe(a) ? s && ps(n) ? a : a.value : Oe(a) ? o ? Rr(a) : Ot(a) : a; } } class kc extends Ec { constructor(t = !1) { super(!1, t); } set(t, n, r, o) { let i = t[n]; if (!this._isShallow) { const l = Hn(i); if (!Co(r) && !Hn(r) && (i = ae(i), r = ae(r)), !se(t) && Fe(i) && !Fe(r)) return l ? !1 : (i.value = r, !0); } const s = se(t) && ps(n) ? Number(n) < t.length : be(t, n), a = Reflect.set(t, n, r, o); return t === ae(o) && (s ? an(r, i) && Lt(t, "set", n, r) : Lt(t, "add", n, r)), a; } deleteProperty(t, n) { const r = be(t, n); t[n]; const o = Reflect.deleteProperty(t, n); return o && r && Lt(t, "delete", n, void 0), o; } has(t, n) { const r = Reflect.has(t, n); return (!Kn(n) || !Ac.has(n)) && et(t, "has", n), r; } ownKeys(t) { return et( t, "iterate", se(t) ? "length" : pn ), Reflect.ownKeys(t); } } class zf extends Ec { constructor(t = !1) { super(!0, t); } set(t, n) { return !0; } deleteProperty(t, n) { return !0; } } const Gf = /* @__PURE__ */ new kc(), Kf = /* @__PURE__ */ new zf(), qf = /* @__PURE__ */ new kc( !0 ), Ss = (e) => e, Wo = (e) => Reflect.getPrototypeOf(e); function Yr(e, t, n = !1, r = !1) { e = e.__v_raw; const o = ae(e), i = ae(t); n || (an(t, i) && et(o, "get", t), et(o, "get", i)); const { has: s } = Wo(o), a = r ? Ss : n ? Es : br; if (s.call(o, t)) return a(e.get(t)); if (s.call(o, i)) return a(e.get(i)); e !== o && e.get(t); } function Jr(e, t = !1) { const n = this.__v_raw, r = ae(n), o = ae(e); return t || (an(e, o) && et(r, "has", e), et(r, "has", o)), e === o ? n.has(e) : n.has(e) || n.has(o); } function Zr(e, t = !1) { return e = e.__v_raw, !t && et(ae(e), "iterate", pn), Reflect.get(e, "size", e); } function Ca(e) { e = ae(e); const t = ae(this); return Wo(t).has.call(t, e) || (t.add(e), Lt(t, "add", e, e)), this; } function wa(e, t) { t = ae(t); const n = ae(this), { has: r, get: o } = Wo(n); let i = r.call(n, e); i || (e = ae(e), i = r.call(n, e)); const s = o.call(n, e); return n.set(e, t), i ? an(t, s) && Lt(n, "set", e, t) : Lt(n, "add", e, t), this; } function Sa(e) { const t = ae(this), { has: n, get: r } = Wo(t); let o = n.call(t, e); o || (e = ae(e), o = n.call(t, e)), r && r.call(t, e); const i = t.delete(e); return o && Lt(t, "delete", e, void 0), i; } function _a() { const e = ae(this), t = e.size !== 0, n = e.clear(); return t && Lt(e, "clear", void 0, void 0), n; } function Xr(e, t) { return function(r, o) { const i = this, s = i.__v_raw, a = ae(s), l = t ? Ss : e ? Es : br; return !e && et(a, "iterate", pn), s.forEach((c, u) => r.call(o, l(c), l(u), i)); }; } function Qr(e, t, n) { return function(...r) { const o = this.__v_raw, i = ae(o), s = Ln(i), a = e === "entries" || e === Symbol.iterator && s, l = e === "keys" && s, c = o[e](...r), u = n ? Ss : t ? Es : br; return !t && et( i, "iterate", l ? Ni : pn ), { // iterator protocol next() { const { value: d, done: m } = c.next(); return m ? { value: d, done: m } : { value: a ? [u(d[0]), u(d[1])] : u(d), done: m }; }, // iterable protocol [Symbol.iterator]() { return this; } }; }; } function Kt(e) { return function(...t) { return e === "delete" ? !1 : e === "clear" ? void 0 : this; }; } function Yf() { const e = { get(i) { return Yr(this, i); }, get size() { return Zr(this); }, has: Jr, add: Ca, set: wa, delete: Sa, clear: _a, forEach: Xr(!1, !1) }, t = { get(i) { return Yr(this, i, !1, !0); }, get size() { return Zr(this); }, has: Jr, add: Ca, set: wa, delete: Sa, clear: _a, forEach: Xr(!1, !0) }, n = { get(i) { return Yr(this, i, !0); }, get size() { return Zr(this, !0); }, has(i) { return Jr.call(this, i, !0); }, add: Kt("add"), set: Kt("set"), delete: Kt("delete"), clear: Kt("clear"), forEach: Xr(!0, !1) }, r = { get(i) { return Yr(this, i, !0, !0); }, get size() { return Zr(this, !0); }, has(i) { return Jr.call(this, i, !0); }, add: Kt("add"), set: Kt("set"), delete: Kt("delete"), clear: Kt("clear"), forEach: Xr(!0, !0) }; return ["keys", "values", "entries", Symbol.iterator].forEach((i) => { e[i] = Qr( i, !1, !1 ), n[i] = Qr( i, !0, !1 ), t[i] = Qr( i, !1, !0 ), r[i] = Qr( i, !0, !0 ); }), [ e, n, t, r ]; } const [ Jf, Zf, Xf, Qf ] = /* @__PURE__ */ Yf(); function _s(e, t) { const n = t ? e ? Qf : Xf : e ? Zf : Jf; return (r, o, i) => o === "__v_isReactive" ? !e : o === "__v_isReadonly" ? e : o === "__v_raw" ? r : Reflect.get( be(n, o) && o in r ? n : r, o, i ); } const em = { get: /* @__PURE__ */ _s(!1, !1) }, tm = { get: /* @__PURE__ */ _s(!1, !0) }, nm = { get: /* @__PURE__ */ _s(!0, !1) }, Pc = /* @__PURE__ */ new WeakMap(), Tc = /* @__PURE__ */ new WeakMap(), Oc = /* @__PURE__ */ new WeakMap(), rm = /* @__PURE__ */ new WeakMap(); function om(e) { switch (e) { case "Object": case "Array": return 1; case "Map": case "Set": case "WeakMap": case "WeakSet": return 2; default: return 0; } } function im(e) { return e.__v_skip || !Object.isExtensible(e) ? 0 : om(kf(e)); } function Ot(e) { return Hn(e) ? e : xs( e, !1, Gf, em, Pc ); } function sm(e) { return xs( e, !1, qf, tm, Tc ); } function Rr(e) { return xs( e, !0, Kf, nm, Oc ); } function xs(e, t, n, r, o) { if (!Oe(e) || e.__v_raw && !(t && e.__v_isReactive)) return e; const i = o.get(e); if (i) return i; const s = im(e); if (s === 0) return e; const a = new Proxy( e, s === 2 ? r : n ); return o.set(e, a), a; } function Nn(e) { return Hn(e) ? Nn(e.__v_raw) : !!(e && e.__v_isReactive); } function Hn(e) { return !!(e && e.__v_isReadonly); } function Co(e) { return !!(e && e.__v_isShallow); } function Mc(e) { return Nn(e) || Hn(e); } function ae(e) { const t = e && e.__v_raw; return t ? ae(t) : e; } function As(e) { return Object.isExtensible(e) && po(e, "__v_skip", !0), e; } const br = (e) => Oe(e) ? Ot(e) : e, Es = (e) => Oe(e) ? Rr(e) : e; class Ic { constructor(t, n, r, o) { this.getter = t, this._setter = n, this.dep = void 0, this.__v_isRef = !0, this.__v_isReadonly = !1, this.effect = new bs( () => t(this._value), () => ao( this, this.effect._dirtyLevel === 2 ? 2 : 3 ) ), this.effect.computed = this, this.effect.active = this._cacheable = !o, this.__v_isReadonly = r; } get value() { const t = ae(this); return (!t._cacheable || t.effect.dirty) && an(t._value, t._value = t.effect.run()) && ao(t, 4), Fc(t), t.effect._dirtyLevel >= 2 && ao(t, 2), t._value; } set value(t) { this._setter(t); } // #region polyfill _dirty for backward compatibility third party code for Vue <= 3.3.x get _dirty() { return this.effect.dirty; } set _dirty(t) { this.effect.dirty = t; } // #endregion } function am(e, t, n = !1) { let r, o; const i = ue(e); return i ? (r = e, o = dt) : (r = e.get, o = e.set), new Ic(r, o, i || !o, n); } function Fc(e) { var t; rn && yn && (e = ae(e), Sc( yn, (t = e.dep) != null ? t : e.dep = xc( () => e.dep = void 0, e instanceof Ic ? e : void 0 ) )); } function ao(e, t = 4, n) { e = ae(e); const r = e.dep; r && _c( r, t ); } function Fe(e) { return !!(e && e.__v_isRef === !0); } function ie(e) { return Bc(e, !1); } function de(e) { return Bc(e, !0); } function Bc(e, t) { return Fe(e) ? e : new lm(e, t); } class lm { constructor(t, n) { this.__v_isShallow = n, this.dep = void 0, this.__v_isRef = !0, this._rawValue = n ? t : ae(t), this._value = n ? t : br(t); } get value() { return Fc(this), this._value; } set value(t) { const n = this.__v_isShallow || Co(t) || Hn(t); t = n ? t : ae(t), an(t, this._rawValue) && (this._rawValue = t, this._value = n ? t : br(t), ao(this, 4)); } } function bt(e) { return Fe(e) ? e.value : e; } const cm = { get: (e, t, n) => bt(Reflect.get(e, t, n)), set: (e, t, n, r) => { const o = e[t]; return Fe(o) && !Fe(n) ? (o.value = n, !0) : Reflect.set(e, t, n, r); } }; function Rc(e) { return Nn(e) ? e : new Proxy(e, cm); } function ks(e) { const t = se(e) ? new Array(e.length) : {}; for (const n in e) t[n] = Vc(e, n); return t; } class um { constructor(t, n, r) { this._object = t, this._key = n, this._defaultValue = r, this.__v_isRef = !0; } get value() { const t = this._object[this._key]; return t === void 0 ? this._defaultValue : t; } set value(t) { this._object[this._key] = t; } get dep() { return Hf(ae(this._object), this._key); } } class dm { constructor(t) { this._getter = t, this.__v_isRef = !0, this.__v_isReadonly = !0; } get value() { return this._getter(); } } function oe(e, t, n) { return Fe(e) ? e : ue(e) ? new dm(e) : Oe(e) && arguments.length > 1 ? Vc(e, t, n) : ie(e); } function Vc(e, t, n) { const r = e[t]; return Fe(r) ? r : new um(e, t, n); } /** * @vue/runtime-core v3.4.21 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/ function on(e, t, n, r) { try { return r ? e(...r) : e(); } catch (o) { zo(o, t, n); } } function ft(e, t, n, r) { if (ue(e)) { const i = on(e, t, n, r); return i && mc(i) && i.catch((s) => { zo(s, t, n); }), i; } const o = []; for (let i = 0; i < e.length; i++) o.push(ft(e[i], t, n, r)); return o; } function zo(e, t, n, r = !0) { const o = t ? t.vnode : null; if (t) { let i = t.parent; const s = t.proxy, a = `https://vuejs.org/error-reference/#runtime-${n}`; for (; i; ) { const c = i.ec; if (c) { for (let u = 0; u < c.length; u++) if (c[u](e, s, a) === !1) return; } i = i.parent; } const l = t.appContext.config.errorHandler; if (l) { on( l, null, 10, [e, s, a] ); return; } } fm(e, n, o, r); } function fm(e, t, n, r = !0) { console.error(e); } let Cr = !1, Di = !1; const We = []; let Et = 0; const Dn = []; let Xt = null, hn = 0; const Lc = /* @__PURE__ */ Promise.resolve(); let Ps = null; function Ze(e) { const t = Ps || Lc; return e ? t.then(this ? e.bind(this) : e) : t; } function mm(e) { let t = Et + 1, n = We.length; for (; t < n; ) { const r = t + n >>> 1, o = We[r], i = wr(o); i < e || i === e && o.pre ? t = r + 1 : n = r; } return t; } function Ts(e) { (!We.length || !We.includes( e, Cr && e.allowRecurse ? Et + 1 : Et )) && (e.id == null ? We.push(e) : We.splice(mm(e.id), 0, e), Nc()); } function Nc() { !Cr && !Di && (Di = !0, Ps = Lc.then($c)); } function hm(e) { const t = We.indexOf(e); t > Et && We.splice(t, 1); } function gm(e) { se(e) ? Dn.push(...e) : (!Xt || !Xt.includes( e, e.allowRecurse ? hn + 1 : hn )) && Dn.push(e), Nc(); } function xa(e, t, n = Cr ? Et + 1 : 0) { for (; n < We.length; n++) { const r = We[n]; if (r && r.pre) { if (e && r.id !== e.uid) continue; We.splice(n, 1), n--, r(); } } } function Dc(e) { if (Dn.length) { const t = [...new Set(Dn)].sort( (n, r) => wr(n) - wr(r) ); if (Dn.length = 0, Xt) { Xt.push(...t); return; } for (Xt = t, hn = 0; hn < Xt.length; hn++) Xt[hn](); Xt = null, hn = 0; } } const wr = (e) => e.id == null ? 1 / 0 : e.id, vm = (e, t) => { const n = wr(e) - wr(t); if (n === 0) { if (e.pre && !t.pre) return -1; if (t.pre && !e.pre) return 1; } return n; }; function $c(e) { Di = !1, Cr = !0, We.sort(vm); try { for (Et = 0; Et < We.length; Et++) { const t = We[Et]; t && t.active !== !1 && on(t, null, 14); } } finally { Et = 0, We.length = 0, Dc(), Cr = !1, Ps = null, (We.length || Dn.length) && $c(); } } function ym(e, t, ...n) { if (e.isUnmounted) return; const r = e.vnode.props || Pe; let o = n; const i = t.startsWith("update:"), s = i && t.slice(7); if (s && s in r) { const u = `${s === "modelValue" ? "model" : s}Modifiers`, { number: d, trim: m } = r[u] || Pe; m && (o = n.map((h) => Ve(h) ? h.trim() : h)), d && (o = n.map(Of)); } let a, l = r[a = ci(t)] || // also try camelCase event handler (#2249) r[a = ci(vt(t))]; !l && i && (l = r[a = ci(qn(t))]), l && ft( l, e, 6, o ); const c = r[a + "Once"]; if (c) { if (!e.emitted) e.emitted = {}; else if (e.emitted[a]) return; e.emitted[a] = !0, ft( c, e, 6, o ); } } function Hc(e, t, n = !1) { const r = t.emitsCache, o = r.get(e); if (o !== void 0) return o; const i = e.emits; let s = {}, a = !1; if (!ue(e)) { const l = (c) => { const u = Hc(c, t, !0); u && (a = !0, Ne(s, u)); }; !n && t.mixins.length && t.mixins.forEach(l), e.extends && l(e.extends), e.mixins && e.mixins.forEach(l); } return !i && !a ? (Oe(e) && r.set(e, null), null) : (se(i) ? i.forEach((l) => s[l] = null) : Ne(s, i), Oe(e) && r.set(e, s), s); } function Go(e, t) { return !e || !$o(t) ? !1 : (t = t.slice(2).replace(/Once$/, ""), be(e, t[0].toLowerCase() + t.slice(1)) || be(e, qn(t)) || be(e, t)); } let Je = null, Ko = null; function wo(e) { const t = Je; return Je = e, Ko = e && e.type.__scopeId || null, t; } function pm(e) { Ko = e; } function bm() { Ko = null; } function Bn(e, t = Je, n) { if (!t || e._n) return e; const r = (...o) => { r._d && Na(-1); const i = wo(t); let s; try { s = e(...o); } finally { wo(i), r._d && Na(1); } return s; }; return r._n = !0, r._c = !0, r._d = !0, r; } function mi(e) { const { type: t, vnode: n, proxy: r, withProxy: o, props: i, propsOptions: [s], slots: a, attrs: l, emit: c, render: u, renderCache: d, data: m, setupState: h, ctx: g, inheritAttrs: f } = e; let y, w; const P = wo(e); try { if (n.shapeFlag & 4) { const O = o || r, L = O; y = At( u.call( L, O, d, i, h, m, g ) ), w = l; } else { const O = t; y = At( O.length > 1 ? O( i, { attrs: l, slots: a, emit: c } ) : O( i, null /* we know it doesn't need it */ ) ), w = t.props ? l : Cm(l); } } catch (O) { yr.length = 0, zo(O, e, 1), y = v(mt); } let A = y; if (w && f !== !1) { const O = Object.keys(w), { shapeFlag: L } = A; O.length && L & 7 && (s && O.some(vs) && (w = wm( w, s )), A = Ht(A, w)); } return n.dirs && (A = Ht(A), A.dirs = A.dirs ? A.dirs.concat(n.dirs) : n.dirs), n.transition && (A.transition = n.transition), y = A, wo(P), y; } const Cm = (e) => { let t; for (const n in e) (n === "class" || n === "style" || $o(n)) && ((t || (t = {}))[n] = e[n]); return t; }, wm = (e, t) => { const n = {}; for (const r in e) (!vs(r) || !(r.slice(9) in t)) && (n[r] = e[r]); return n; }; function Sm(e, t, n) { const { props: r, children: o, component: i } = e, { props: s, children: a, patchFlag: l } = t, c = i.emitsOptions; if (t.dirs || t.transition) return !0; if (n && l >= 0) { if (l & 1024) return !0; if (l & 16) return r ? Aa(r, s, c) : !!s; if (l & 8) { const u = t.dynamicProps; for (let d = 0; d < u.length; d++) { const m = u[d]; if (s[m] !== r[m] && !Go(c, m)) return !0; } } } else return (o || a) && (!a || !a.$stable) ? !0 : r === s ? !1 : r ? s ? Aa(r, s, c) : !0 : !!s; return !1; } function Aa(e, t, n) { const r = Object.keys(t); if (r.length !== Object.keys(e).length) return !0; for (let o = 0; o < r.length; o++) { const i = r[o]; if (t[i] !== e[i] && !Go(n, i)) return !0; } return !1; } function _m({ vnode: e, parent: t }, n) { for (; t; ) { const r = t.subTree; if (r.suspense && r.suspense.activeBranch === e && (r.el = e.el), r === e) (e = t.vnode).el = n, t = t.parent; else break; } } const Os = "components", xm = "directives"; function Nt(e, t) { return Ms(Os, e, !0, t) || e; } const jc = Symbol.for("v-ndc"); function Am(e) { return Ve(e) ? Ms(Os, e, !1) || e : e || jc; } function Zn(e) { return Ms(xm, e); } function Ms(e, t, n = !0, r = !1) { const o = Je || je; if (o) { const i = o.type; if (e === Os) { const a = Ch( i, !1 ); if (a && (a === t || a === vt(t) || a === Yn(vt(t)))) return i; } const s = ( // local registration // check instance[type] first which is resolved for options API Ea(o[e] || i[e], t) || // global registration Ea(o.appContext[e], t) ); return !s && r ? i : s; } } function Ea(e, t) { return e && (e[t] || e[vt(t)] || e[Yn(vt(t))]); } const Em = (e) => e.__isSuspense; function km(e, t) { t && t.pendingBranch ? se(e) ? t.effects.push(...e) : t.effects.push(e) : gm(e); } const Pm = Symbol.for("v-scx"), Tm = () => Re(Pm); function Tt(e, t) { return Is(e, null, t); } const eo = {}; function fe(e, t, n) { return Is(e, t, n); } function Is(e, t, { immediate: n, deep: r, flush: o, once: i, onTrack: s, onTrigger: a } = Pe) { if (t && i) { const x = t; t = (...S) => { x(...S), L(); }; } const l = je, c = (x) => r === !0 ? x : ( // for deep: false, only traverse root-level properties vn(x, r === !1 ? 1 : void 0) ); let u, d = !1, m = !1; if (Fe(e) ? (u = () => e.value, d = Co(e)) : Nn(e) ? (u = () => c(e), d = !0) : se(e) ? (m = !0, d = e.some((x) => Nn(x) || Co(x)), u = () => e.map((x) => { if (Fe(x)) return x.value; if (Nn(x)) return c(x); if (ue(x)) return on(x, l, 2); })) : ue(e) ? t ? u = () => on(e, l, 2) : u = () => (h && h(), ft( e, l, 3, [g] )) : u = dt, t && r) { const x = u; u = () => vn(x()); } let h, g = (x) => { h = A.onStop = () => { on(x, l, 4), h = A.onStop = void 0; }; }, f; if (Zo) if (g = dt, t ? n && ft(t, l, 3, [ u(), m ? [] : void 0, g ]) : u(), o === "sync") { const x = Tm(); f = x.__watcherHandles || (x.__watcherHandles = []); } else return dt; let y = m ? new Array(e.length).fill(eo) : eo; const w = () => { if (!(!A.active || !A.dirty)) if (t) { const x = A.run(); (r || d || (m ? x.some((S, F) => an(S, y[F])) : an(x, y))) && (h && h(), ft(t, l, 3, [ x, // pass undefined as the old value when it's changed for the first time y === eo ? void 0 : m && y[0] === eo ? [] : y, g ]), y = x); } else A.run(); }; w.allowRecurse = !!t; let P; o === "sync" ? P = w : o === "post" ? P = () => Xe(w, l && l.suspense) : (w.pre = !0, l && (w.id = l.uid), P = () => Ts(w)); const A = new bs(u, dt, P), O = Df(), L = () => { A.stop(), O && ys(O.effects, A); }; return t ? n ? w() : y = A.run() : o === "post" ? Xe( A.run.bind(A), l && l.suspense ) : A.run(), f && f.push(L), L; } function Om(e, t, n) { const r = this.proxy, o = Ve(e) ? e.includes(".") ? Uc(r, e) : () => r[e] : e.bind(r, r); let i; ue(t) ? i = t : (i = t.handler, n = t); const s = Lr(this), a = Is(o, i.bind(r), n); return s(), a; } function Uc(e, t) { const n = t.split("."); return () => { let r = e; for (let o = 0; o < n.length && r; o++) r = r[n[o]]; return r; }; } function vn(e, t, n = 0, r) { if (!Oe(e) || e.__v_skip) return e; if (t && t > 0) { if (n >= t) return e; n++; } if (r = r || /* @__PURE__ */ new Set(), r.has(e)) return e; if (r.add(e), Fe(e)) vn(e.value, t, n, r); else if (se(e)) for (let o = 0; o < e.length; o++) vn(e[o], t, n, r); else if (fc(e) || Ln(e)) e.forEach((o) => { vn(o, t, n, r); }); else if (gc(e)) for (const o in e) vn(e[o], t, n, r); return e; } function yt(e, t) { if (Je === null) return e; const n = Xo(Je) || Je.proxy, r = e.dirs || (e.dirs = []); for (let o = 0; o < t.length; o++) { let [i, s, a, l = Pe] = t[o]; i && (ue(i) && (i = { mounted: i, updated: i }), i.deep && vn(s), r.push({ dir: i, instance: n, value: s, oldValue: void 0, arg: a, modifiers: l })); } return e; } function un(e, t, n, r) { const o = e.dirs, i = t && t.dirs; for (let s = 0; s < o.length; s++) { const a = o[s]; i && (a.oldValue = i[s].value); let l = a.dir[r]; l && (_n(), ft(l, n, 8, [ e.el, a, e, t ]), xn()); } } const Qt = Symbol("_leaveCb"), to = Symbol("_enterCb"); function Wc() { const e = { isMounted: !1, isLeaving: !1, isUnmounting: !1, leavingVNodes: /* @__PURE__ */ new Map() }; return An(() => { e.isMounted = !0; }), St(() => { e.isUnmounting = !0; }), e; } const ut = [Function, Array], zc = { mode: String, appear: Boolean, persisted: Boolean, // enter onBeforeEnter: ut, onEnter: ut, onAfterEnter: ut, onEnterCancelled: ut, // leave onBeforeLeave: ut, onLeave: ut, onAfterLeave: ut, onLeaveCancelled: ut, // appear onBeforeAppear: ut, onAppear: ut, onAfterAppear: ut, onAppearCancelled: ut }, Mm = { name: "BaseTransition", props: zc, setup(e, { slots: t }) { const n = $s(), r = Wc(); return () => { const o = t.default && Fs(t.default(), !0); if (!o || !o.length) return; let i = o[0]; if (o.length > 1) { for (const m of o) if (m.type !== mt) { i = m; break; } } const s = ae(e), { mode: a } = s; if (r.isLeaving) return hi(i); const l = ka(i); if (!l) return hi(i); const c = Sr( l, s, r, n ); _r(l, c); const u = n.subTree, d = u && ka(u); if (d && d.type !== mt && !gn(l, d)) { const m = Sr( d, s, r, n ); if (_r(d, m), a === "out-in") return r.isLeaving = !0, m.afterLeave = () => { r.isLeaving = !1, n.update.active !== !1 && (n.effect.dirty = !0, n.update()); }, hi(i); a === "in-out" && l.type !== mt && (m.delayLeave = (h, g, f) => { const y = Gc( r, d ); y[String(d.key)] = d, h[Qt] = () => { g(), h[Qt] = void 0, delete c.delayedLeave; }, c.delayedLeave = f; }); } return i; }; } }, Im = Mm; function Gc(e, t) { const { leavingVNodes: n } = e; let r = n.get(t.type); return r || (r = /* @__PURE__ */ Object.create(null), n.set(t.type, r)), r; } function Sr(e, t, n, r) { const { appear: o, mode: i, persisted: s = !1, onBeforeEnter: a, onEnter: l, onAfterEnter: c, onEnterCancelled: u, onBeforeLeave: d, onLeave: m, onAfterLeave: h, onLeaveCancelled: g, onBeforeAppear: f, onAppear: y, onAfterAppear: w, onAppearCancelled: P } = t, A = String(e.key), O = Gc(n, e), L = (F, K) => { F && ft( F, r, 9, K ); }, x = (F, K) => { const W = K[1]; L(F, K), se(F) ? F.every((j) => j.length <= 1) && W() : F.length <= 1 && W(); }, S = { mode: i, persisted: s, beforeEnter(F) { let K = a; if (!n.isMounted) if (o) K = f || a; else return; F[Qt] && F[Qt]( !0 /* cancelled */ ); const W = O[A]; W && gn(e, W) && W.el[Qt] && W.el[Qt](), L(K, [F]); }, enter(F) { let K = l, W = c, j = u; if (!n.isMounted) if (o) K = y || l, W = w || c, j = P || u; else return; let _ = !1; const B = F[to] = (D) => { _ || (_ = !0, D ? L(j, [F]) : L(W, [F]), S.delayedLeave && S.delayedLeave(), F[to] = void 0); }; K ? x(K, [F, B]) : B(); }, leave(F, K) { const W = String(e.key); if (F[to] && F[to]( !0 /* cancelled */ ), n.isUnmounting) return K(); L(d, [F]); let j = !1; const _ = F[Qt] = (B) => { j || (j = !0, K(), B ? L(g, [F]) : L(h, [F]), F[Qt] = void 0, O[W] === e && delete O[W]); }; O[W] = e, m ? x(m, [F, _]) : _(); }, clone(F) { return Sr(F, t, n, r); } }; return S; } function hi(e) { if (qo(e)) return e = Ht(e), e.children = null, e; } function ka(e) { return qo(e) ? ( // #7121 ensure get the child component subtree in case // it's been replaced during HMR e.children ? e.children[0] : void 0 ) : e; } function _r(e, t) { e.shapeFlag & 6 && e.component ? _r(e.component.subTree, t) : e.shapeFlag & 128 ? (e.ssContent.transition = t.clone(e.ssContent), e.ssFallback.transition = t.clone(e.ssFallback)) : e.transition = t; } function Fs(e, t = !1, n) { let r = [], o = 0; for (let i = 0; i < e.length; i++) { let s = e[i]; const a = n == null ? s.key : String(n) + String(s.key != null ? s.key : i); s.type === Se ? (s.patchFlag & 128 && o++, r = r.concat( Fs(s.children, t, a) )) : (t || s.type !== mt) && r.push(a != null ? Ht(s, { key: a }) : s); } if (o > 1) for (let i = 0; i < r.length; i++) r[i].patchFlag = -2; return r; } /*! #__NO_SIDE_EFFECTS__ */ // @__NO_SIDE_EFFECTS__ function Xn(e, t) { return ue(e) ? ( // #8326: extend call and options.name access are considered side-effects // by Rollup, so we have to wrap it in a pure-annotated IIFE. Ne({ name: e.name }, t, { setup: e }) ) : e; } const lo = (e) => !!e.type.__asyncLoader, qo = (e) => e.type.__isKeepAlive; function Fm(e, t) { Kc(e, "a", t); } function Bm(e, t) { Kc(e, "da", t); } function Kc(e, t, n = je) { const r = e.__wdc || (e.__wdc = () => { let o = n; for (; o; ) { if (o.isDeactivated) return; o = o.parent; } return e(); }); if (Yo(t, r, n), n) { let o = n.parent; for (; o && o.parent; ) qo(o.parent.vnode) && Rm(r, t, n, o), o = o.parent; } } function Rm(e, t, n, r) { const o = Yo( t, e, r, !0 /* prepend */ ); qc(() => { ys(r[t], o); }, n); } function Yo(e, t, n = je, r = !1) { if (n) { const o = n[e] || (n[e] = []), i = t.__weh || (t.__weh = (...s) => { if (n.isUnmounted) return; _n(); const a = Lr(n), l = ft(t, n, e, s); return a(), xn(), l; }); return r ? o.unshift(i) : o.push(i), i; } } const Wt = (e) => (t, n = je) => ( // post-create lifecycle registrations are noops during SSR (except for serverPrefetch) (!Zo || e === "sp") && Yo(e, (...r) => t(...r), n) ), Bs = Wt("bm"), An = Wt("m"), Vm = Wt("bu"), Rs = Wt("u"), St = Wt("bum"), qc = Wt("um"), Lm = Wt("sp"), Nm = Wt( "rtg" ), Dm = Wt( "rtc" ); function $m(e, t = je) { Yo("ec", e, t); } const $i = (e) => e ? su(e) ? Xo(e) || e.proxy : $i(e.parent) : null, hr = ( // Move PURE marker to new line to workaround compiler discarding it // due to type annotation /* @__PURE__ */ Ne(/* @__PURE__ */ Object.create(null), { $: (e) => e, $el: (e) => e.vnode.el, $data: (e) => e.data, $props: (e) => e.props, $attrs: (e) => e.attrs, $slots: (e) => e.slots, $refs: (e) => e.refs, $parent: (e) => $i(e.parent), $root: (e) => $i(e.root), $emit: (e) => e.emit, $options: (e) => Vs(e), $forceUpdate: (e) => e.f || (e.f = () => { e.effect.dirty = !0, Ts(e.update); }), $nextTick: (e) => e.n || (e.n = Ze.bind(e.proxy)), $watch: (e) => Om.bind(e) }) ), gi = (e, t) => e !== Pe && !e.__isScriptSetup && be(e, t), Hm = { get({ _: e }, t) { const { ctx: n, setupState: r, data: o, props: i, accessCache: s, type: a, appContext: l } = e; let c; if (t[0] !== "$") { const h = s[t]; if (h !== void 0) switch (h) { case 1: return r[t]; case 2: return o[t]; case 4: return n[t]; case 3: return i[t]; } else { if (gi(r, t)) return s[t] = 1, r[t]; if (o !== Pe && be(o, t)) return s[t] = 2, o[t]; if ( // only cache other properties when instance has declared (thus stable) // props (c = e.propsOptions[0]) && be(c, t) ) return s[t] = 3, i[t]; if (n !== Pe && be(n, t)) return s[t] = 4, n[t]; Hi && (s[t] = 0); } } const u = hr[t]; let d, m; if (u) return t === "$attrs" && et(e, "get", t), u(e); if ( // css module (injected by vue-loader) (d = a.__cssModules) && (d = d[t]) ) return d; if (n !== Pe && be(n, t)) return s[t] = 4, n[t]; if ( // global properties m = l.config.globalProperties, be(m, t) ) return m[t]; }, set({ _: e }, t, n) { const { data: r, setupState: o, ctx: i } = e; return gi(o, t) ? (o[t] = n, !0) : r !== Pe && be(r, t) ? (r[t] = n, !0) : be(e.props, t) || t[0] === "$" && t.slice(1) in e ? !1 : (i[t] = n, !0); }, has({ _: { data: e, setupState: t, accessCache: n, ctx: r, appContext: o, propsOptions: i } }, s) { let a; return !!n[s] || e !== Pe && be(e, s) || gi(t, s) || (a = i[0]) && be(a, s) || be(r, s) || be(hr, s) || be(o.config.globalProperties, s); }, defineProperty(e, t, n) { return n.get != null ? e._.accessCache[t] = 0 : be(n, "value") && this.set(e, t, n.value, null), Reflect.defineProperty(e, t, n); } }; function Pa(e) { return se(e) ? e.reduce( (t, n) => (t[n] = null, t), {} ) : e; } let Hi = !0; function jm(e) { const t = Vs(e), n = e.proxy, r = e.ctx; Hi = !1, t.beforeCreate && Ta(t.beforeCreate, e, "bc"); const { // state data: o, computed: i, methods: s, watch: a, provide: l, inject: c, // lifecycle created: u, beforeMount: d, mounted: m, beforeUpdate: h, updated: g, activated: f, deactivated: y, beforeDestroy: w, beforeUnmount: P, destroyed: A, unmounted: O, render: L, renderTracked: x, renderTriggered: S, errorCaptured: F, serverPrefetch: K, // public API expose: W, inheritAttrs: j, // assets components: _, directives: B, filters: D } = t; if (c && Um(c, r, null), s) for (const ee in s) { const M = s[ee]; ue(M) && (r[ee] = M.bind(n)); } if (o) { const ee = o.call(n, n); Oe(ee) && (e.data = Ot(ee)); } if (Hi = !0, i) for (const ee in i) { const M = i[ee], $ = ue(M) ? M.bind(n, n) : ue(M.get) ? M.get.bind(n, n) : dt, k = !ue(M) && ue(M.set) ? M.set.bind(n) : dt, H = b({ get: $, set: k }); Object.defineProperty(r, ee, { enumerable: !0, configurable: !0, get: () => H.value, set: (J) => H.value = J }); } if (a) for (const ee in a) Yc(a[ee], r, n, ee); if (l) { const ee = ue(l) ? l.call(n) : l; Reflect.ownKeys(ee).forEach((M) => { lt(M, ee[M]); }); } u && Ta(u, e, "c"); function Q(ee, M) { se(M) ? M.forEach(($) => ee($.bind(n))) : M && ee(M.bind(n)); } if (Q(Bs, d), Q(An, m), Q(Vm, h), Q(Rs, g), Q(Fm, f), Q(Bm, y), Q($m, F), Q(Dm, x), Q(Nm, S), Q(St, P), Q(qc, O), Q(Lm, K), se(W)) if (W.length) { const ee = e.exposed || (e.exposed = {}); W.forEach((M) => { Object.defineProperty(ee, M, { get: () => n[M], set: ($) => n[M] = $ }); }); } else e.exposed || (e.exposed = {}); L && e.render === dt && (e.render = L), j != null && (e.inheritAttrs = j), _ && (e.components = _), B && (e.directives = B); } function Um(e, t, n = dt) { se(e) && (e = ji(e)); for (const r in e) { const o = e[r]; let i; Oe(o) ? "default" in o ? i = Re( o.from || r, o.default, !0 ) : i = Re(o.from || r) : i = Re(o), Fe(i) ? Object.defineProperty(t, r, { enumerable: !0, configurable: !0, get: () => i.value, set: (s) => i.value = s }) : t[r] = i; } } function Ta(e, t, n) { ft( se(e) ? e.map((r) => r.bind(t.proxy)) : e.bind(t.proxy), t, n ); } function Yc(e, t, n, r) { const o = r.includes(".") ? Uc(n, r) : () => n[r]; if (Ve(e)) { const i = t[e]; ue(i) && fe(o, i); } else if (ue(e)) fe(o, e.bind(n)); else if (Oe(e)) if (se(e)) e.forEach((i) => Yc(i, t, n, r)); else { const i = ue(e.handler) ? e.handler.bind(n) : t[e.handler]; ue(i) && fe(o, i, e); } } function Vs(e) { const t = e.type, { mixins: n, extends: r } = t, { mixins: o, optionsCache: i, config: { optionMergeStrategies: s } } = e.appContext, a = i.get(t); let l; return a ? l = a : !o.length && !n && !r ? l = t : (l = {}, o.length && o.forEach( (c) => So(l, c, s, !0) ), So(l, t, s)), Oe(t) && i.set(t, l), l; } function So(e, t, n, r = !1) { const { mixins: o, extends: i } = t; i && So(e, i, n, !0), o && o.forEach( (s) => So(e, s, n, !0) ); for (const s in t) if (!(r && s === "expose")) { const a = Wm[s] || n && n[s]; e[s] = a ? a(e[s], t[s]) : t[s]; } return e; } const Wm = { data: Oa, props: Ma, emits: Ma, // objects methods: dr, computed: dr, // lifecycle beforeCreate: qe, created: qe, beforeMount: qe, mounted: qe, beforeUpdate: qe, updated: qe, beforeDestroy: qe, beforeUnmount: qe, destroyed: qe, unmounted: qe, activated: qe, deactivated: qe, errorCaptured: qe, serverPrefetch: qe, // assets components: dr, directives: dr, // watch watch: Gm, // provide / inject provide: Oa, inject: zm }; function Oa(e, t) { return t ? e ? function() { return Ne( ue(e) ? e.call(this, this) : e, ue(t) ? t.call(this, this) : t ); } : t : e; } function zm(e, t) { return dr(ji(e), ji(t)); } function ji(e) { if (se(e)) { const t = {}; for (let n = 0; n < e.length; n++) t[e[n]] = e[n]; return t; } return e; } function qe(e, t) { return e ? [...new Set([].concat(e, t))] : t; } function dr(e, t) { return e ? Ne(/* @__PURE__ */ Object.create(null), e, t) : t; } function Ma(e, t) { return e ? se(e) && se(t) ? [.../* @__PURE__ */ new Set([...e, ...t])] : Ne( /* @__PURE__ */ Object.create(null), Pa(e), Pa(t ?? {}) ) : t; } function Gm(e, t) { if (!e) return t; if (!t) return e; const n = Ne(/* @__PURE__ */ Object.create(null), e); for (const r in t) n[r] = qe(e[r], t[r]); return n; } function Jc() { return { app: null, config: { isNativeTag: Af, performance: !1, globalProperties: {}, optionMergeStrategies: {}, errorHandler: void 0, warnHandler: void 0, compilerOptions: {} }, mixins: [], components: {}, directives: {}, provides: /* @__PURE__ */ Object.create(null), optionsCache: /* @__PURE__ */ new WeakMap(), propsCache: /* @__PURE__ */ new WeakMap(), emitsCache: /* @__PURE__ */ new WeakMap() }; } let Km = 0; function qm(e, t) { return function(r, o = null) { ue(r) || (r = Ne({}, r)), o != null && !Oe(o) && (o = null); const i = Jc(), s = /* @__PURE__ */ new WeakSet(); let a = !1; const l = i.app = { _uid: Km++, _component: r, _props: o, _container: null, _context: i, _instance: null, version: Sh, get config() { return i.config; }, set config(c) { }, use(c, ...u) { return s.has(c) || (c && ue(c.install) ? (s.add(c), c.install(l, ...u)) : ue(c) && (s.add(c), c(l, ...u))), l; }, mixin(c) { return i.mixins.includes(c) || i.mixins.push(c), l; }, component(c, u) { return u ? (i.components[c] = u, l) : i.components[c]; }, directive(c, u) { return u ? (i.directives[c] = u, l) : i.directives[c]; }, mount(c, u, d) { if (!a) { const m = v(r, o); return m.appContext = i, d === !0 ? d = "svg" : d === !1 && (d = void 0), u && t ? t(m, c) : e(m, c, d), a = !0, l._container = c, c.__vue_app__ = l, Xo(m.component) || m.component.proxy; } }, unmount() { a && (e(null, l._container), delete l._container.__vue_app__); }, provide(c, u) { return i.provides[c] = u, l; }, runWithContext(c) { const u = gr; gr = l; try { return c(); } finally { gr = u; } } }; return l; }; } let gr = null; function lt(e, t) { if (je) { let n = je.provides; const r = je.parent && je.parent.provides; r === n && (n = je.provides = Object.create(r)), n[e] = t; } } function Re(e, t, n = !1) { const r = je || Je; if (r || gr) { const o = r ? r.parent == null ? r.vnode.appContext && r.vnode.appContext.provides : r.parent.provides : gr._context.provides; if (o && e in o) return o[e]; if (arguments.length > 1) return n && ue(t) ? t.call(r && r.proxy) : t; } } function Ym(e, t, n, r = !1) { const o = {}, i = {}; po(i, Jo, 1), e.propsDefaults = /* @__PURE__ */ Object.create(null), Zc(e, t, o, i); for (const s in e.propsOptions[0]) s in o || (o[s] = void 0); n ? e.props = r ? o : sm(o) : e.type.props ? e.props = o : e.props = i, e.attrs = i; } function Jm(e, t, n, r) { const { props: o, attrs: i, vnode: { patchFlag: s } } = e, a = ae(o), [l] = e.propsOptions; let c = !1; if ( // always force full diff in dev // - #1942 if hmr is enabled with sfc component // - vite#872 non-sfc component used by sfc component (r || s > 0) && !(s & 16) ) { if (s & 8) { const u = e.vnode.dynamicProps; for (let d = 0; d < u.length; d++) { let m = u[d]; if (Go(e.emitsOptions, m)) continue; const h = t[m]; if (l) if (be(i, m)) h !== i[m] && (i[m] = h, c = !0); else { const g = vt(m); o[g] = Ui( l, a, g, h, e, !1 ); } else h !== i[m] && (i[m] = h, c = !0); } } } else { Zc(e, t, o, i) && (c = !0); let u; for (const d in a) (!t || // for camelCase !be(t, d) && // it's possible the original props was passed in as kebab-case // and converted to camelCase (#955) ((u = qn(d)) === d || !be(t, u))) && (l ? n && // for camelCase (n[d] !== void 0 || // for kebab-case n[u] !== void 0) && (o[d] = Ui( l, a, d, void 0, e, !0 )) : delete o[d]); if (i !== a) for (const d in i) (!t || !be(t, d)) && (delete i[d], c = !0); } c && Lt(e, "set", "$attrs"); } function Zc(e, t, n, r) { const [o, i] = e.propsOptions; let s = !1, a; if (t) for (let l in t) { if (mr(l)) continue; const c = t[l]; let u; o && be(o, u = vt(l)) ? !i || !i.includes(u) ? n[u] = c : (a || (a = {}))[u] = c : Go(e.emitsOptions, l) || (!(l in r) || c !== r[l]) && (r[l] = c, s = !0); } if (i) { const l = ae(n), c = a || Pe; for (let u = 0; u < i.length; u++) { const d = i[u]; n[d] = Ui( o, l, d, c[d], e, !be(c, d) ); } } return s; } function Ui(e, t, n, r, o, i) { const s = e[n]; if (s != null) { const a = be(s, "default"); if (a && r === void 0) { const l = s.default; if (s.type !== Function && !s.skipFactory && ue(l)) { const { propsDefaults: c } = o; if (n in c) r = c[n]; else { const u = Lr(o); r = c[n] = l.call( null, t ), u(); } } else r = l; } s[ 0 /* shouldCast */ ] && (i && !a ? r = !1 : s[ 1 /* shouldCastTrue */ ] && (r === "" || r === qn(n)) && (r = !0)); } return r; } function Xc(e, t, n = !1) { const r = t.propsCache, o = r.get(e); if (o) return o; const i = e.props, s = {}, a = []; let l = !1; if (!ue(e)) { const u = (d) => { l = !0; const [m, h] = Xc(d, t, !0); Ne(s, m), h && a.push(...h); }; !n && t.mixins.length && t.mixins.forEach(u), e.extends && u(e.extends), e.mixins && e.mixins.forEach(u); } if (!i && !l) return Oe(e) && r.set(e, Vn), Vn; if (se(i)) for (let u = 0; u < i.length; u++) { const d = vt(i[u]); Ia(d) && (s[d] = Pe); } else if (i) for (const u in i) { const d = vt(u); if (Ia(d)) { const m = i[u], h = s[d] = se(m) || ue(m) ? { type: m } : Ne({}, m); if (h) { const g = Ra(Boolean, h.type), f = Ra(String, h.type); h[ 0 /* shouldCast */ ] = g > -1, h[ 1 /* shouldCastTrue */ ] = f < 0 || g < f, (g > -1 || be(h, "default")) && a.push(d); } } } const c = [s, a]; return Oe(e) && r.set(e, c), c; } function Ia(e) { return e[0] !== "$" && !mr(e); } function Fa(e) { return e === null ? "null" : typeof e == "function" ? e.name || "" : typeof e == "object" && e.constructor && e.constructor.name || ""; } function Ba(e, t) { return Fa(e) === Fa(t); } function Ra(e, t) { return se(t) ? t.findIndex((n) => Ba(n, e)) : ue(t) && Ba(t, e) ? 0 : -1; } const Qc = (e) => e[0] === "_" || e === "$stable", Ls = (e) => se(e) ? e.map(At) : [At(e)], Zm = (e, t, n) => { if (t._n) return t; const r = Bn((...o) => Ls(t(...o)), n); return r._c = !1, r; }, eu = (e, t, n) => { const r = e._ctx; for (const o in e) { if (Qc(o)) continue; const i = e[o]; if (ue(i)) t[o] = Zm(o, i, r); else if (i != null) { const s = Ls(i); t[o] = () => s; } } }, tu = (e, t) => { const n = Ls(t); e.slots.default = () => n; }, Xm = (e, t) => { if (e.vnode.shapeFlag & 32) { const n = t._; n ? (e.slots = ae(t), po(t, "_", n)) : eu( t, e.slots = {} ); } else e.slots = {}, t && tu(e, t); po(e.slots, Jo, 1); }, Qm = (e, t, n) => { const { vnode: r, slots: o } = e; let i = !0, s = Pe; if (r.shapeFlag & 32) { const a = t._; a ? n && a === 1 ? i = !1 : (Ne(o, t), !n && a === 1 && delete o._) : (i = !t.$stable, eu(t, o)), s = t; } else t && (tu(e, t), s = { default: 1 }); if (i) for (const a in o) !Qc(a) && s[a] == null && delete o[a]; }; function Wi(e, t, n, r, o = !1) { if (se(e)) { e.forEach( (m, h) => Wi( m, t && (se(t) ? t[h] : t), n, r, o ) ); return; } if (lo(r) && !o) return; const i = r.shapeFlag & 4 ? Xo(r.component) || r.component.proxy : r.el, s = o ? null : i, { i: a, r: l } = e, c = t && t.r, u = a.refs === Pe ? a.refs = {} : a.refs, d = a.setupState; if (c != null && c !== l && (Ve(c) ? (u[c] = null, be(d, c) && (d[c] = null)) : Fe(c) && (c.value = null)), ue(l)) on(l, a, 12, [s, u]); else { const m = Ve(l), h = Fe(l); if (m || h) { const g = () => { if (e.f) { const f = m ? be(d, l) ? d[l] : u[l] : l.value; o ? se(f) && ys(f, i) : se(f) ? f.includes(i) || f.push(i) : m ? (u[l] = [i], be(d, l) && (d[l] = u[l])) : (l.value = [i], e.k && (u[e.k] = l.value)); } else m ? (u[l] = s, be(d, l) && (d[l] = s)) : h && (l.value = s, e.k && (u[e.k] = s)); }; s ? (g.id = -1, Xe(g, n)) : g(); } } } const Xe = km; function eh(e) { return th(e); } function th(e, t) { const n = vc(); n.__VUE__ = !0; const { insert: r, remove: o, patchProp: i, createElement: s, createText: a, createComment: l, setText: c, setElementText: u, parentNode: d, nextSibling: m, setScopeId: h = dt, insertStaticContent: g } = e, f = (p, C, E, R = null, V = null, z = null, q = void 0, U = null, G = !!C.dynamicChildren) => { if (p === C) return; p && !gn(p, C) && (R = Ae(p), J(p, V, z, !0), p = null), C.patchFlag === -2 && (G = !1, C.dynamicChildren = null); const { type: N, ref: Z, shapeFlag: re } = C; switch (N) { case Vr: y(p, C, E, R); break; case mt: w(p, C, E, R); break; case yi: p == null && P(C, E, R, q); break; case Se: _( p, C, E, R, V, z, q, U, G ); break; default: re & 1 ? L( p, C, E, R, V, z, q, U, G ) : re & 6 ? B( p, C, E, R, V, z, q, U, G ) : (re & 64 || re & 128) && N.process( p, C, E, R, V, z, q, U, G, Bt ); } Z != null && V && Wi(Z, p && p.ref, z, C || p, !C); }, y = (p, C, E, R) => { if (p == null) r( C.el = a(C.children), E, R ); else { const V = C.el = p.el; C.children !== p.children && c(V, C.children); } }, w = (p, C, E, R) => { p == null ? r( C.el = l(C.children || ""), E, R ) : C.el = p.el; }, P = (p, C, E, R) => { [p.el, p.anchor] = g( p.children, C, E, R, p.el, p.anchor ); }, A = ({ el: p, anchor: C }, E, R) => { let V; for (; p && p !== C; ) V = m(p), r(p, E, R), p = V; r(C, E, R); }, O = ({ el: p, anchor: C }) => { let E; for (; p && p !== C; ) E = m(p), o(p), p = E; o(C); }, L = (p, C, E, R, V, z, q, U, G) => { C.type === "svg" ? q = "svg" : C.type === "math" && (q = "mathml"), p == null ? x( C, E, R, V, z, q, U, G ) : K( p, C, V, z, q, U, G ); }, x = (p, C, E, R, V, z, q, U) => { let G, N; const { props: Z, shapeFlag: re, transition: ne, dirs: ce } = p; if (G = p.el = s( p.type, z, Z && Z.is, Z ), re & 8 ? u(G, p.children) : re & 16 && F( p.children, G, null, R, V, vi(p, z), q, U ), ce && un(p, null, R, "created"), S(G, p, p.scopeId, q, R), Z) { for (const xe in Z) xe !== "value" && !mr(xe) && i( G, xe, null, Z[xe], z, p.children, R, V, me ); "value" in Z && i(G, "value", null, Z.value, z), (N = Z.onVnodeBeforeMount) && xt(N, R, p); } ce && un(p, null, R, "beforeMount"); const ve = nh(V, ne); ve && ne.beforeEnter(G), r(G, C, E), ((N = Z && Z.onVnodeMounted) || ve || ce) && Xe(() => { N && xt(N, R, p), ve && ne.enter(G), ce && un(p, null, R, "mounted"); }, V); }, S = (p, C, E, R, V) => { if (E && h(p, E), R) for (let z = 0; z < R.length; z++) h(p, R[z]); if (V) { let z = V.subTree; if (C === z) { const q = V.vnode; S( p, q, q.scopeId, q.slotScopeIds, V.parent ); } } }, F = (p, C, E, R, V, z, q, U, G = 0) => { for (let N = G; N < p.length; N++) { const Z = p[N] = U ? en(p[N]) : At(p[N]); f( null, Z, C, E, R, V, z, q, U ); } }, K = (p, C, E, R, V, z, q) => { const U = C.el = p.el; let { patchFlag: G, dynamicChildren: N, dirs: Z } = C; G |= p.patchFlag & 16; const re = p.props || Pe, ne = C.props || Pe; let ce; if (E && dn(E, !1), (ce = ne.onVnodeBeforeUpdate) && xt(ce, E, C, p), Z && un(C, p, E, "beforeUpdate"), E && dn(E, !0), N ? W( p.dynamicChildren, N, U, E, R, vi(C, V), z ) : q || M( p, C, U, null, E, R, vi(C, V), z, !1 ), G > 0) { if (G & 16) j( U, C, re, ne, E, R, V ); else if (G & 2 && re.class !== ne.class && i(U, "class", null, ne.class, V), G & 4 && i(U, "style", re.style, ne.style, V), G & 8) { const ve = C.dynamicProps; for (let xe = 0; xe < ve.length; xe++) { const Me = ve[xe], De = re[Me], pt = ne[Me]; (pt !== De || Me === "value") && i( U, Me, De, pt, V, p.children, E, R, me ); } } G & 1 && p.children !== C.children && u(U, C.children); } else !q && N == null && j( U, C, re, ne, E, R, V ); ((ce = ne.onVnodeUpdated) || Z) && Xe(() => { ce && xt(ce, E, C, p), Z && un(C, p, E, "updated"); }, R); }, W = (p, C, E, R, V, z, q) => { for (let U = 0; U < C.length; U++) { const G = p[U], N = C[U], Z = ( // oldVNode may be an errored async setup() component inside Suspense // which will not have a mounted element G.el && // - In the case of a Fragment, we need to provide the actual parent // of the Fragment itself so it can move its children. (G.type === Se || // - In the case of different nodes, there is going to be a replacement // which also requires the correct parent container !gn(G, N) || // - In the case of a component, it could contain anything. G.shapeFlag & 70) ? d(G.el) : ( // In other cases, the parent container is not actually used so we // just pass the block element here to avoid a DOM parentNode call. E ) ); f( G, N, Z, null, R, V, z, q, !0 ); } }, j = (p, C, E, R, V, z, q) => { if (E !== R) { if (E !== Pe) for (const U in E) !mr(U) && !(U in R) && i( p, U, E[U], null, q, C.children, V, z, me ); for (const U in R) { if (mr(U)) continue; const G = R[U], N = E[U]; G !== N && U !== "value" && i( p, U, N, G, q, C.children, V, z, me ); } "value" in R && i(p, "value", E.value, R.value, q); } }, _ = (p, C, E, R, V, z, q, U, G) => { const N = C.el = p ? p.el : a(""), Z = C.anchor = p ? p.anchor : a(""); let { patchFlag: re, dynamicChildren: ne, slotScopeIds: ce } = C; ce && (U = U ? U.concat(ce) : ce), p == null ? (r(N, E, R), r(Z, E, R), F( // #10007 // such fragment like `<></>` will be compiled into // a fragment which doesn't have a children. // In this case fallback to an empty array C.children || [], E, Z, V, z, q, U, G )) : re > 0 && re & 64 && ne && // #2715 the previous fragment could've been a BAILed one as a result // of renderSlot() with no valid children p.dynamicChildren ? (W( p.dynamicChildren, ne, E, V, z, q, U ), // #2080 if the stable fragment has a key, it's a <template v-for> that may // get moved around. Make sure all root level vnodes inherit el. // #2134 or if it's a component root, it may also get moved around // as the component is being moved. (C.key != null || V && C === V.subTree) && Ns( p, C, !0 /* shallow */ )) : M( p, C, E, Z, V, z, q, U, G ); }, B = (p, C, E, R, V, z, q, U, G) => { C.slotScopeIds = U, p == null ? C.shapeFlag & 512 ? V.ctx.activate( C, E, R, q, G ) : D( C, E, R, V, z, q, G ) : X(p, C, G); }, D = (p, C, E, R, V, z, q) => { const U = p.component = gh( p, R, V ); if (qo(p) && (U.ctx.renderer = Bt), vh(U), U.asyncDep) { if (V && V.registerDep(U, Q), !p.el) { const G = U.subTree = v(mt); w(null, G, C, E); } } else Q( U, p, C, E, V, z, q ); }, X = (p, C, E) => { const R = C.component = p.component; if (Sm(p, C, E)) if (R.asyncDep && !R.asyncResolved) { ee(R, C, E); return; } else R.next = C, hm(R.update), R.effect.dirty = !0, R.update(); else C.el = p.el, R.vnode = C; }, Q = (p, C, E, R, V, z, q) => { const U = () => { if (p.isMounted) { let { next: Z, bu: re, u: ne, parent: ce, vnode: ve } = p; { const Mn = nu(p); if (Mn) { Z && (Z.el = ve.el, ee(p, Z, q)), Mn.asyncDep.then(() => { p.isUnmounted || U(); }); return; } } let xe = Z, Me; dn(p, !1), Z ? (Z.el = ve.el, ee(p, Z, q)) : Z = ve, re && ui(re), (Me = Z.props && Z.props.onVnodeBeforeUpdate) && xt(Me, ce, Z, ve), dn(p, !0); const De = mi(p), pt = p.subTree; p.subTree = De, f( pt, De, // parent may have changed if it's in a teleport d(pt.el), // anchor may have changed if it's in a fragment Ae(pt), p, V, z ), Z.el = De.el, xe === null && _m(p, De.el), ne && Xe(ne, V), (Me = Z.props && Z.props.onVnodeUpdated) && Xe( () => xt(Me, ce, Z, ve), V ); } else { let Z; const { el: re, props: ne } = C, { bm: ce, m: ve, parent: xe } = p, Me = lo(C); if (dn(p, !1), ce && ui(ce), !Me && (Z = ne && ne.onVnodeBeforeMount) && xt(Z, xe, C), dn(p, !0), re && ir) { const De = () => { p.subTree = mi(p), ir( re, p.subTree, p, V, null ); }; Me ? C.type.__asyncLoader().then( // note: we are moving the render call into an async callback, // which means it won't track dependencies - but it's ok because // a server-rendered async wrapper is already in resolved state // and it will never need to change. () => !p.isUnmounted && De() ) : De(); } else { const De = p.subTree = mi(p); f( null, De, E, R, p, V, z ), C.el = De.el; } if (ve && Xe(ve, V), !Me && (Z = ne && ne.onVnodeMounted)) { const De = C; Xe( () => xt(Z, xe, De), V ); } (C.shapeFlag & 256 || xe && lo(xe.vnode) && xe.vnode.shapeFlag & 256) && p.a && Xe(p.a, V), p.isMounted = !0, C = E = R = null; } }, G = p.effect = new bs( U, dt, () => Ts(N), p.scope // track it in component's effect scope ), N = p.update = () => { G.dirty && G.run(); }; N.id = p.uid, dn(p, !0), N(); }, ee = (p, C, E) => { C.component = p; const R = p.vnode.props; p.vnode = C, p.next = null, Jm(p, C.props, R, E), Qm(p, C.children, E), _n(), xa(p), xn(); }, M = (p, C, E, R, V, z, q, U, G = !1) => { const N = p && p.children, Z = p ? p.shapeFlag : 0, re = C.children, { patchFlag: ne, shapeFlag: ce } = C; if (ne > 0) { if (ne & 128) { k( N, re, E, R, V, z, q, U, G ); return; } else if (ne & 256) { $( N, re, E, R, V, z, q, U, G ); return; } } ce & 8 ? (Z & 16 && me(N, V, z), re !== N && u(E, re)) : Z & 16 ? ce & 16 ? k( N, re, E, R, V, z, q, U, G ) : me(N, V, z, !0) : (Z & 8 && u(E, ""), ce & 16 && F( re, E, R, V, z, q, U, G )); }, $ = (p, C, E, R, V, z, q, U, G) => { p = p || Vn, C = C || Vn; const N = p.length, Z = C.length, re = Math.min(N, Z); let ne; for (ne = 0; ne < re; ne++) { const ce = C[ne] = G ? en(C[ne]) : At(C[ne]); f( p[ne], ce, E, null, V, z, q, U, G ); } N > Z ? me( p, V, z, !0, !1, re ) : F( C, E, R, V, z, q, U, G, re ); }, k = (p, C, E, R, V, z, q, U, G) => { let N = 0; const Z = C.length; let re = p.length - 1, ne = Z - 1; for (; N <= re && N <= ne; ) { const ce = p[N], ve = C[N] = G ? en(C[N]) : At(C[N]); if (gn(ce, ve)) f( ce, ve, E, null, V, z, q, U, G ); else break; N++; } for (; N <= re && N <= ne; ) { const ce = p[re], ve = C[ne] = G ? en(C[ne]) : At(C[ne]); if (gn(ce, ve)) f( ce, ve, E, null, V, z, q, U, G ); else break; re--, ne--; } if (N > re) { if (N <= ne) { const ce = ne + 1, ve = ce < Z ? C[ce].el : R; for (; N <= ne; ) f( null, C[N] = G ? en(C[N]) : At(C[N]), E, ve, V, z, q, U, G ), N++; } } else if (N > ne) for (; N <= re; ) J(p[N], V, z, !0), N++; else { const ce = N, ve = N, xe = /* @__PURE__ */ new Map(); for (N = ve; N <= ne; N++) { const ot = C[N] = G ? en(C[N]) : At(C[N]); ot.key != null && xe.set(ot.key, N); } let Me, De = 0; const pt = ne - ve + 1; let Mn = !1, ma = 0; const sr = new Array(pt); for (N = 0; N < pt; N++) sr[N] = 0; for (N = ce; N <= re; N++) { const ot = p[N]; if (De >= pt) { J(ot, V, z, !0); continue; } let _t; if (ot.key != null) _t = xe.get(ot.key); else for (Me = ve; Me <= ne; Me++) if (sr[Me - ve] === 0 && gn(ot, C[Me])) { _t = Me; break; } _t === void 0 ? J(ot, V, z, !0) : (sr[_t - ve] = N + 1, _t >= ma ? ma = _t : Mn = !0, f( ot, C[_t], E, null, V, z, q, U, G ), De++); } const ha = Mn ? rh(sr) : Vn; for (Me = ha.length - 1, N = pt - 1; N >= 0; N--) { const ot = ve + N, _t = C[ot], ga = ot + 1 < Z ? C[ot + 1].el : R; sr[N] === 0 ? f( null, _t, E, ga, V, z, q, U, G ) : Mn && (Me < 0 || N !== ha[Me] ? H(_t, E, ga, 2) : Me--); } } }, H = (p, C, E, R, V = null) => { const { el: z, type: q, transition: U, children: G, shapeFlag: N } = p; if (N & 6) { H(p.component.subTree, C, E, R); return; } if (N & 128) { p.suspense.move(C, E, R); return; } if (N & 64) { q.move(p, C, E, Bt); return; } if (q === Se) { r(z, C, E); for (let re = 0; re < G.length; re++) H(G[re], C, E, R); r(p.anchor, C, E); return; } if (q === yi) { A(p, C, E); return; } if (R !== 2 && N & 1 && U) if (R === 0) U.beforeEnter(z), r(z, C, E), Xe(() => U.enter(z), V); else { const { leave: re, delayLeave: ne, afterLeave: ce } = U, ve = () => r(z, C, E), xe = () => { re(z, () => { ve(), ce && ce(); }); }; ne ? ne(z, ve, xe) : xe(); } else r(z, C, E); }, J = (p, C, E, R = !1, V = !1) => { const { type: z, props: q, ref: U, children: G, dynamicChildren: N, shapeFlag: Z, patchFlag: re, dirs: ne } = p; if (U != null && Wi(U, null, E, p, !0), Z & 256) { C.ctx.deactivate(p); return; } const ce = Z & 1 && ne, ve = !lo(p); let xe; if (ve && (xe = q && q.onVnodeBeforeUnmount) && xt(xe, C, p), Z & 6) te(p.component, E, R); else { if (Z & 128) { p.suspense.unmount(E, R); return; } ce && un(p, null, C, "beforeUnmount"), Z & 64 ? p.type.remove( p, C, E, V, Bt, R ) : N && // #1153: fast path should not be taken for non-stable (v-for) fragments (z !== Se || re > 0 && re & 64) ? me( N, C, E, !1, !0 ) : (z === Se && re & 384 || !V && Z & 16) && me(G, C, E), R && le(p); } (ve && (xe = q && q.onVnodeUnmounted) || ce) && Xe(() => { xe && xt(xe, C, p), ce && un(p, null, C, "unmounted"); }, E); }, le = (p) => { const { type: C, el: E, anchor: R, transition: V } = p; if (C === Se) { Ce(E, R); return; } if (C === yi) { O(p); return; } const z = () => { o(E), V && !V.persisted && V.afterLeave && V.afterLeave(); }; if (p.shapeFlag & 1 && V && !V.persisted) { const { leave: q, delayLeave: U } = V, G = () => q(E, z); U ? U(p.el, z, G) : G(); } else z(); }, Ce = (p, C) => { let E; for (; p !== C; ) E = m(p), o(p), p = E; o(C); }, te = (p, C, E) => { const { bum: R, scope: V, update: z, subTree: q, um: U } = p; R && ui(R), V.stop(), z && (z.active = !1, J(q, p, C, E)), U && Xe(U, C), Xe(() => { p.isUnmounted = !0; }, C), C && C.pendingBranch && !C.isUnmounted && p.asyncDep && !p.asyncResolved && p.suspenseId === C.pendingId && (C.deps--, C.deps === 0 && C.resolve()); }, me = (p, C, E, R = !1, V = !1, z = 0) => { for (let q = z; q < p.length; q++) J(p[q], C, E, R, V); }, Ae = (p) => p.shapeFlag & 6 ? Ae(p.component.subTree) : p.shapeFlag & 128 ? p.suspense.next() : m(p.anchor || p.el); let Ie = !1; const Ue = (p, C, E) => { p == null ? C._vnode && J(C._vnode, null, null, !0) : f( C._vnode || null, p, C, null, null, null, E ), Ie || (Ie = !0, xa(), Dc(), Ie = !1), C._vnode = p; }, Bt = { p: f, um: J, m: H, r: le, mt: D, mc: F, pc: M, pbc: W, n: Ae, o: e }; let On, ir; return t && ([On, ir] = t( Bt )), { render: Ue, hydrate: On, createApp: qm(Ue, On) }; } function vi({ type: e, props: t }, n) { return n === "svg" && e === "foreignObject" || n === "mathml" && e === "annotation-xml" && t && t.encoding && t.encoding.includes("html") ? void 0 : n; } function dn({ effect: e, update: t }, n) { e.allowRecurse = t.allowRecurse = n; } function nh(e, t) { return (!e || e && !e.pendingBranch) && t && !t.persisted; } function Ns(e, t, n = !1) { const r = e.children, o = t.children; if (se(r) && se(o)) for (let i = 0; i < r.length; i++) { const s = r[i]; let a = o[i]; a.shapeFlag & 1 && !a.dynamicChildren && ((a.patchFlag <= 0 || a.patchFlag === 32) && (a = o[i] = en(o[i]), a.el = s.el), n || Ns(s, a)), a.type === Vr && (a.el = s.el); } } function rh(e) { const t = e.slice(), n = [0]; let r, o, i, s, a; const l = e.length; for (r = 0; r < l; r++) { const c = e[r]; if (c !== 0) { if (o = n[n.length - 1], e[o] < c) { t[r] = o, n.push(r); continue; } for (i = 0, s = n.length - 1; i < s; ) a = i + s >> 1, e[n[a]] < c ? i = a + 1 : s = a; c < e[n[i]] && (i > 0 && (t[r] = n[i - 1]), n[i] = r); } } for (i = n.length, s = n[i - 1]; i-- > 0; ) n[i] = s, s = t[s]; return n; } function nu(e) { const t = e.subTree.component; if (t) return t.asyncDep && !t.asyncResolved ? t : nu(t); } const oh = (e) => e.__isTeleport, vr = (e) => e && (e.disabled || e.disabled === ""), Va = (e) => typeof SVGElement < "u" && e instanceof SVGElement, La = (e) => typeof MathMLElement == "function" && e instanceof MathMLElement, zi = (e, t) => { const n = e && e.to; return Ve(n) ? t ? t(n) : null : n; }, ih = { name: "Teleport", __isTeleport: !0, process(e, t, n, r, o, i, s, a, l, c) { const { mc: u, pc: d, pbc: m, o: { insert: h, querySelector: g, createText: f, createComment: y } } = c, w = vr(t.props); let { shapeFlag: P, children: A, dynamicChildren: O } = t; if (e == null) { const L = t.el = f(""), x = t.anchor = f(""); h(L, n, r), h(x, n, r); const S = t.target = zi(t.props, g), F = t.targetAnchor = f(""); S && (h(F, S), s === "svg" || Va(S) ? s = "svg" : (s === "mathml" || La(S)) && (s = "mathml")); const K = (W, j) => { P & 16 && u( A, W, j, o, i, s, a, l ); }; w ? K(n, x) : S && K(S, F); } else { t.el = e.el; const L = t.anchor = e.anchor, x = t.target = e.target, S = t.targetAnchor = e.targetAnchor, F = vr(e.props), K = F ? n : x, W = F ? L : S; if (s === "svg" || Va(x) ? s = "svg" : (s === "mathml" || La(x)) && (s = "mathml"), O ? (m( e.dynamicChildren, O, K, o, i, s, a ), Ns(e, t, !0)) : l || d( e, t, K, W, o, i, s, a, !1 ), w) F ? t.props && e.props && t.props.to !== e.props.to && (t.props.to = e.props.to) : no( t, n, L, c, 1 ); else if ((t.props && t.props.to) !== (e.props && e.props.to)) { const j = t.target = zi( t.props, g ); j && no( t, j, null, c, 0 ); } else F && no( t, x, S, c, 1 ); } ru(t); }, remove(e, t, n, r, { um: o, o: { remove: i } }, s) { const { shapeFlag: a, children: l, anchor: c, targetAnchor: u, target: d, props: m } = e; if (d && i(u), s && i(c), a & 16) { const h = s || !vr(m); for (let g = 0; g < l.length; g++) { const f = l[g]; o( f, t, n, h, !!f.dynamicChildren ); } } }, move: no, hydrate: sh }; function no(e, t, n, { o: { insert: r }, m: o }, i = 2) { i === 0 && r(e.targetAnchor, t, n); const { el: s, anchor: a, shapeFlag: l, children: c, props: u } = e, d = i === 2; if (d && r(s, t, n), (!d || vr(u)) && l & 16) for (let m = 0; m < c.length; m++) o( c[m], t, n, 2 ); d && r(a, t, n); } function sh(e, t, n, r, o, i, { o: { nextSibling: s, parentNode: a, querySelector: l } }, c) { const u = t.target = zi( t.props, l ); if (u) { const d = u._lpa || u.firstChild; if (t.shapeFlag & 16) if (vr(t.props)) t.anchor = c( s(e), t, a(e), n, r, o, i ), t.targetAnchor = d; else { t.anchor = s(e); let m = d; for (; m; ) if (m = s(m), m && m.nodeType === 8 && m.data === "teleport anchor") { t.targetAnchor = m, u._lpa = t.targetAnchor && s(t.targetAnchor); break; } c( d, t, u, n, r, o, i ); } ru(t); } return t.anchor && s(t.anchor); } const ah = ih; function ru(e) { const t = e.ctx; if (t && t.ut) { let n = e.children[0].el; for (; n && n !== e.targetAnchor; ) n.nodeType === 1 && n.setAttribute("data-v-owner", t.uid), n = n.nextSibling; t.ut(); } } const Se = Symbol.for("v-fgt"), Vr = Symbol.for("v-txt"), mt = Symbol.for("v-cmt"), yi = Symbol.for("v-stc"), yr = []; let Ct = null; function wn(e = !1) { yr.push(Ct = e ? null : []); } function lh() { yr.pop(), Ct = yr[yr.length - 1] || null; } let xr = 1; function Na(e) { xr += e; } function ou(e) { return e.dynamicChildren = xr > 0 ? Ct || Vn : null, lh(), xr > 0 && Ct && Ct.push(e), e; } function jn(e, t, n, r, o, i) { return ou( ht( e, t, n, r, o, i, !0 ) ); } function ch(e, t, n, r, o) { return ou( v( e, t, n, r, o, !0 ) ); } function _o(e) { return e ? e.__v_isVNode === !0 : !1; } function gn(e, t) { return e.type === t.type && e.key === t.key; } const Jo = "__vInternal", iu = ({ key: e }) => e ?? null, co = ({ ref: e, ref_key: t, ref_for: n }) => (typeof e == "number" && (e = "" + e), e != null ? Ve(e) || Fe(e) || ue(e) ? { i: Je, r: e, k: t, f: !!n } : e : null); function ht(e, t = null, n = null, r = 0, o = null, i = e === Se ? 0 : 1, s = !1, a = !1) { const l = { __v_isVNode: !0, __v_skip: !0, type: e, props: t, key: t && iu(t), ref: t && co(t), scopeId: Ko, slotScopeIds: null, children: n, component: null, suspense: null, ssContent: null, ssFallback: null, dirs: null, transition: null, el: null, anchor: null, target: null, targetAnchor: null, staticCount: 0, shapeFlag: i, patchFlag: r, dynamicProps: o, dynamicChildren: null, appContext: null, ctx: Je }; return a ? (Ds(l, n), i & 128 && e.normalize(l)) : n && (l.shapeFlag |= Ve(n) ? 8 : 16), xr > 0 && // avoid a block node from tracking itself !s && // has current parent block Ct && // presence of a patch flag indicates this node needs patching on updates. // component nodes also should always be patched, because even if the // component doesn't need to update, it needs to persist the instance on to // the next vnode so that it can be properly unmounted later. (l.patchFlag > 0 || i & 6) && // the EVENTS flag is only for hydration and if it is the only flag, the // vnode should not be considered dynamic due to handler caching. l.patchFlag !== 32 && Ct.push(l), l; } const v = uh; function uh(e, t = null, n = null, r = 0, o = null, i = !1) { if ((!e || e === jc) && (e = mt), _o(e)) { const a = Ht( e, t, !0 /* mergeRef: true */ ); return n && Ds(a, n), xr > 0 && !i && Ct && (a.shapeFlag & 6 ? Ct[Ct.indexOf(e)] = a : Ct.push(a)), a.patchFlag |= -2, a; } if (wh(e) && (e = e.__vccOpts), t) { t = dh(t); let { class: a, style: l } = t; a && !Ve(a) && (t.class = Jn(a)), Oe(l) && (Mc(l) && !se(l) && (l = Ne({}, l)), t.style = pr(l)); } const s = Ve(e) ? 1 : Em(e) ? 128 : oh(e) ? 64 : Oe(e) ? 4 : ue(e) ? 2 : 0; return ht( e, t, n, r, o, s, i, !0 ); } function dh(e) { return e ? Mc(e) || Jo in e ? Ne({}, e) : e : null; } function Ht(e, t, n = !1) { const { props: r, ref: o, patchFlag: i, children: s } = e, a = t ? pe(r || {}, t) : r; return { __v_isVNode: !0, __v_skip: !0, type: e.type, props: a, key: a && iu(a), ref: t && t.ref ? ( // #2078 in the case of <component :is="vnode" ref="extra"/> // if the vnode itself already has a ref, cloneVNode will need to merge // the refs so the single vnode can be set on multiple refs n && o ? se(o) ? o.concat(co(t)) : [o, co(t)] : co(t) ) : o, scopeId: e.scopeId, slotScopeIds: e.slotScopeIds, children: s, target: e.target, targetAnchor: e.targetAnchor, staticCount: e.staticCount, shapeFlag: e.shapeFlag, // if the vnode is cloned with extra props, we can no longer assume its // existing patch flag to be reliable and need to add the FULL_PROPS flag. // note: preserve flag for fragments since they use the flag for children // fast paths only. patchFlag: t && e.type !== Se ? i === -1 ? 16 : i | 16 : i, dynamicProps: e.dynamicProps, dynamicChildren: e.dynamicChildren, appContext: e.appContext, dirs: e.dirs, transition: e.transition, // These should technically only be non-null on mounted VNodes. However, // they *should* be copied for kept-alive vnodes. So we just always copy // them since them being non-null during a mount doesn't affect the logic as // they will simply be overwritten. component: e.component, suspense: e.suspense, ssContent: e.ssContent && Ht(e.ssContent), ssFallback: e.ssFallback && Ht(e.ssFallback), el: e.el, anchor: e.anchor, ctx: e.ctx, ce: e.ce }; } function Un(e = " ", t = 0) { return v(Vr, null, e, t); } function fh(e = "", t = !1) { return t ? (wn(), ch(mt, null, e)) : v(mt, null, e); } function At(e) { return e == null || typeof e == "boolean" ? v(mt) : se(e) ? v( Se, null, // #3666, avoid reference pollution when reusing vnode e.slice() ) : typeof e == "object" ? en(e) : v(Vr, null, String(e)); } function en(e) { return e.el === null && e.patchFlag !== -1 || e.memo ? e : Ht(e); } function Ds(e, t) { let n = 0; const { shapeFlag: r } = e; if (t == null) t = null; else if (se(t)) n = 16; else if (typeof t == "object") if (r & 65) { const o = t.default; o && (o._c && (o._d = !1), Ds(e, o()), o._c && (o._d = !0)); return; } else { n = 32; const o = t._; !o && !(Jo in t) ? t._ctx = Je : o === 3 && Je && (Je.slots._ === 1 ? t._ = 1 : (t._ = 2, e.patchFlag |= 1024)); } else ue(t) ? (t = { default: t, _ctx: Je }, n = 32) : (t = String(t), r & 64 ? (n = 16, t = [Un(t)]) : n = 8); e.children = t, e.shapeFlag |= n; } function pe(...e) { const t = {}; for (let n = 0; n < e.length; n++) { const r = e[n]; for (const o in r) if (o === "class") t.class !== r.class && (t.class = Jn([t.class, r.class])); else if (o === "style") t.style = pr([t.style, r.style]); else if ($o(o)) { const i = t[o], s = r[o]; s && i !== s && !(se(i) && i.includes(s)) && (t[o] = i ? [].concat(i, s) : s); } else o !== "" && (t[o] = r[o]); } return t; } function xt(e, t, n, r = null) { ft(e, t, 7, [ n, r ]); } const mh = Jc(); let hh = 0; function gh(e, t, n) { const r = e.type, o = (t ? t.appContext : e.appContext) || mh, i = { uid: hh++, vnode: e, type: r, parent: t, appContext: o, root: null, // to be immediately set next: null, subTree: null, // will be set synchronously right after creation effect: null, update: null, // will be set synchronously right after creation scope: new bc( !0 /* detached */ ), render: null, proxy: null, exposed: null, exposeProxy: null, withProxy: null, provides: t ? t.provides : Object.create(o.provides), accessCache: null, renderCache: [], // local resolved assets components: null, directives: null, // resolved props and emits options propsOptions: Xc(r, o), emitsOptions: Hc(r, o), // emit emit: null, // to be set immediately emitted: null, // props default value propsDefaults: Pe, // inheritAttrs inheritAttrs: r.inheritAttrs, // state ctx: Pe, data: Pe, props: Pe, attrs: Pe, slots: Pe, refs: Pe, setupState: Pe, setupContext: null, attrsProxy: null, slotsProxy: null, // suspense related suspense: n, suspenseId: n ? n.pendingId : 0, asyncDep: null, asyncResolved: !1, // lifecycle hooks // not using enums here because it results in computed properties isMounted: !1, isUnmounted: !1, isDeactivated: !1, bc: null, c: null, bm: null, m: null, bu: null, u: null, um: null, bum: null, da: null, a: null, rtg: null, rtc: null, ec: null, sp: null }; return i.ctx = { _: i }, i.root = t ? t.root : i, i.emit = ym.bind(null, i), e.ce && e.ce(i), i; } let je = null; const $s = () => je || Je; let xo, Gi; { const e = vc(), t = (n, r) => { let o; return (o = e[n]) || (o = e[n] = []), o.push(r), (i) => { o.length > 1 ? o.forEach((s) => s(i)) : o[0](i); }; }; xo = t( "__VUE_INSTANCE_SETTERS__", (n) => je = n ), Gi = t( "__VUE_SSR_SETTERS__", (n) => Zo = n ); } const Lr = (e) => { const t = je; return xo(e), e.scope.on(), () => { e.scope.off(), xo(t); }; }, Da = () => { je && je.scope.off(), xo(null); }; function su(e) { return e.vnode.shapeFlag & 4; } let Zo = !1; function vh(e, t = !1) { t && Gi(t); const { props: n, children: r } = e.vnode, o = su(e); Ym(e, n, o, t), Xm(e, r); const i = o ? yh(e, t) : void 0; return t && Gi(!1), i; } function yh(e, t) { const n = e.type; e.accessCache = /* @__PURE__ */ Object.create(null), e.proxy = As(new Proxy(e.ctx, Hm)); const { setup: r } = n; if (r) { const o = e.setupContext = r.length > 1 ? bh(e) : null, i = Lr(e); _n(); const s = on( r, e, 0, [ e.props, o ] ); if (xn(), i(), mc(s)) { if (s.then(Da, Da), t) return s.then((a) => { $a(e, a, t); }).catch((a) => { zo(a, e, 0); }); e.asyncDep = s; } else $a(e, s, t); } else au(e, t); } function $a(e, t, n) { ue(t) ? e.type.__ssrInlineRender ? e.ssrRender = t : e.render = t : Oe(t) && (e.setupState = Rc(t)), au(e, n); } let Ha; function au(e, t, n) { const r = e.type; if (!e.render) { if (!t && Ha && !r.render) { const o = r.template || Vs(e).template; if (o) { const { isCustomElement: i, compilerOptions: s } = e.appContext.config, { delimiters: a, compilerOptions: l } = r, c = Ne( Ne( { isCustomElement: i, delimiters: a }, s ), l ); r.render = Ha(o, c); } } e.render = r.render || dt; } { const o = Lr(e); _n(); try { jm(e); } finally { xn(), o(); } } } function ph(e) { return e.attrsProxy || (e.attrsProxy = new Proxy( e.attrs, { get(t, n) { return et(e, "get", "$attrs"), t[n]; } } )); } function bh(e) { const t = (n) => { e.exposed = n || {}; }; return { get attrs() { return ph(e); }, slots: e.slots, emit: e.emit, expose: t }; } function Xo(e) { if (e.exposed) return e.exposeProxy || (e.exposeProxy = new Proxy(Rc(As(e.exposed)), { get(t, n) { if (n in t) return t[n]; if (n in hr) return hr[n](e); }, has(t, n) { return n in t || n in hr; } })); } function Ch(e, t = !0) { return ue(e) ? e.displayName || e.name : e.name || t && e.__name; } function wh(e) { return ue(e) && "__vccOpts" in e; } const b = (e, t) => am(e, t, Zo); function Qn(e, t, n) { const r = arguments.length; return r === 2 ? Oe(t) && !se(t) ? _o(t) ? v(e, null, [t]) : v(e, t) : v(e, null, t) : (r > 3 ? n = Array.prototype.slice.call(arguments, 2) : r === 3 && _o(n) && (n = [n]), v(e, t, n)); } const Sh = "3.4.21"; /** * @vue/runtime-dom v3.4.21 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/ const _h = "http://www.w3.org/2000/svg", xh = "http://www.w3.org/1998/Math/MathML", tn = typeof document < "u" ? document : null, ja = tn && /* @__PURE__ */ tn.createElement("template"), Ah = { insert: (e, t, n) => { t.insertBefore(e, n || null); }, remove: (e) => { const t = e.parentNode; t && t.removeChild(e); }, createElement: (e, t, n, r) => { const o = t === "svg" ? tn.createElementNS(_h, e) : t === "mathml" ? tn.createElementNS(xh, e) : tn.createElement(e, n ? { is: n } : void 0); return e === "select" && r && r.multiple != null && o.setAttribute("multiple", r.multiple), o; }, createText: (e) => tn.createTextNode(e), createComment: (e) => tn.createComment(e), setText: (e, t) => { e.nodeValue = t; }, setElementText: (e, t) => { e.textContent = t; }, parentNode: (e) => e.parentNode, nextSibling: (e) => e.nextSibling, querySelector: (e) => tn.querySelector(e), setScopeId(e, t) { e.setAttribute(t, ""); }, // __UNSAFE__ // Reason: innerHTML. // Static content here can only come from compiled templates. // As long as the user only uses trusted templates, this is safe. insertStaticContent(e, t, n, r, o, i) { const s = n ? n.previousSibling : t.lastChild; if (o && (o === i || o.nextSibling)) for (; t.insertBefore(o.cloneNode(!0), n), !(o === i || !(o = o.nextSibling)); ) ; else { ja.innerHTML = r === "svg" ? `<svg>${e}</svg>` : r === "mathml" ? `<math>${e}</math>` : e; const a = ja.content; if (r === "svg" || r === "mathml") { const l = a.firstChild; for (; l.firstChild; ) a.appendChild(l.firstChild); a.removeChild(l); } t.insertBefore(a, n); } return [ // first s ? s.nextSibling : t.firstChild, // last n ? n.previousSibling : t.lastChild ]; } }, qt = "transition", ar = "animation", Wn = Symbol("_vtc"), jt = (e, { slots: t }) => Qn(Im, cu(e), t); jt.displayName = "Transition"; const lu = { name: String, type: String, css: { type: Boolean, default: !0 }, duration: [String, Number, Object], enterFromClass: String, enterActiveClass: String, enterToClass: String, appearFromClass: String, appearActiveClass: String, appearToClass: String, leaveFromClass: String, leaveActiveClass: String, leaveToClass: String }, Eh = jt.props = /* @__PURE__ */ Ne( {}, zc, lu ), fn = (e, t = []) => { se(e) ? e.forEach((n) => n(...t)) : e && e(...t); }, Ua = (e) => e ? se(e) ? e.some((t) => t.length > 1) : e.length > 1 : !1; function cu(e) { const t = {}; for (const _ in e) _ in lu || (t[_] = e[_]); if (e.css === !1) return t; const { name: n = "v", type: r, duration: o, enterFromClass: i = `${n}-enter-from`, enterActiveClass: s = `${n}-enter-active`, enterToClass: a = `${n}-enter-to`, appearFromClass: l = i, appearActiveClass: c = s, appearToClass: u = a, leaveFromClass: d = `${n}-leave-from`, leaveActiveClass: m = `${n}-leave-active`, leaveToClass: h = `${n}-leave-to` } = e, g = kh(o), f = g && g[0], y = g && g[1], { onBeforeEnter: w, onEnter: P, onEnterCancelled: A, onLeave: O, onLeaveCancelled: L, onBeforeAppear: x = w, onAppear: S = P, onAppearCancelled: F = A } = t, K = (_, B, D) => { Jt(_, B ? u : a), Jt(_, B ? c : s), D && D(); }, W = (_, B) => { _._isLeaving = !1, Jt(_, d), Jt(_, h), Jt(_, m), B && B(); }, j = (_) => (B, D) => { const X = _ ? S : P, Q = () => K(B, _, D); fn(X, [B, Q]), Wa(() => { Jt(B, _ ? l : i), Rt(B, _ ? u : a), Ua(X) || za(B, r, f, Q); }); }; return Ne(t, { onBeforeEnter(_) { fn(w, [_]), Rt(_, i), Rt(_, s); }, onBeforeAppear(_) { fn(x, [_]), Rt(_, l), Rt(_, c); }, onEnter: j(!1), onAppear: j(!0), onLeave(_, B) { _._isLeaving = !0; const D = () => W(_, B); Rt(_, d), du(), Rt(_, m), Wa(() => { _._isLeaving && (Jt(_, d), Rt(_, h), Ua(O) || za(_, r, y, D)); }), fn(O, [_, D]); }, onEnterCancelled(_) { K(_, !1), fn(A, [_]); }, onAppearCancelled(_) { K(_, !0), fn(F, [_]); }, onLeaveCancelled(_) { W(_), fn(L, [_]); } }); } function kh(e) { if (e == null) return null; if (Oe(e)) return [pi(e.enter), pi(e.leave)]; { const t = pi(e); return [t, t]; } } function pi(e) { return Mf(e); } function Rt(e, t) { t.split(/\s+/).forEach((n) => n && e.classList.add(n)), (e[Wn] || (e[Wn] = /* @__PURE__ */ new Set())).add(t); } function Jt(e, t) { t.split(/\s+/).forEach((r) => r && e.classList.remove(r)); const n = e[Wn]; n && (n.delete(t), n.size || (e[Wn] = void 0)); } function Wa(e) { requestAnimationFrame(() => { requestAnimationFrame(e); }); } let Ph = 0; function za(e, t, n, r) { const o = e._endId = ++Ph, i = () => { o === e._endId && r(); }; if (n) return setTimeout(i, n); const { type: s, timeout: a, propCount: l } = uu(e, t); if (!s) return r(); const c = s + "end"; let u = 0; const d = () => { e.removeEventListener(c, m), i(); }, m = (h) => { h.target === e && ++u >= l && d(); }; setTimeout(() => { u < l && d(); }, a + 1), e.addEventListener(c, m); } function uu(e, t) { const n = window.getComputedStyle(e), r = (g) => (n[g] || "").split(", "), o = r(`${qt}Delay`), i = r(`${qt}Duration`), s = Ga(o, i), a = r(`${ar}Delay`), l = r(`${ar}Duration`), c = Ga(a, l); let u = null, d = 0, m = 0; t === qt ? s > 0 && (u = qt, d = s, m = i.length) : t === ar ? c > 0 && (u = ar, d = c, m = l.length) : (d = Math.max(s, c), u = d > 0 ? s > c ? qt : ar : null, m = u ? u === qt ? i.length : l.length : 0); const h = u === qt && /\b(transform|all)(,|$)/.test( r(`${qt}Property`).toString() ); return { type: u, timeout: d, propCount: m, hasTransform: h }; } function Ga(e, t) { for (; e.length < t.length; ) e = e.concat(e); return Math.max(...t.map((n, r) => Ka(n) + Ka(e[r]))); } function Ka(e) { return e === "auto" ? 0 : Number(e.slice(0, -1).replace(",", ".")) * 1e3; } function du() { return document.body.offsetHeight; } function Th(e, t, n) { const r = e[Wn]; r && (t = (t ? [t, ...r] : [...r]).join(" ")), t == null ? e.removeAttribute("class") : n ? e.setAttribute("class", t) : e.className = t; } const Ao = Symbol("_vod"), fu = Symbol("_vsh"), er = { beforeMount(e, { value: t }, { transition: n }) { e[Ao] = e.style.display === "none" ? "" : e.style.display, n && t ? n.beforeEnter(e) : lr(e, t); }, mounted(e, { value: t }, { transition: n }) { n && t && n.enter(e); }, updated(e, { value: t, oldValue: n }, { transition: r }) { !t != !n && (r ? t ? (r.beforeEnter(e), lr(e, !0), r.enter(e)) : r.leave(e, () => { lr(e, !1); }) : lr(e, t)); }, beforeUnmount(e, { value: t }) { lr(e, t); } }; function lr(e, t) { e.style.display = t ? e[Ao] : "none", e[fu] = !t; } const Oh = Symbol(""), Mh = /(^|;)\s*display\s*:/; function Ih(e, t, n) { const r = e.style, o = Ve(n); let i = !1; if (n && !o) { if (t) if (Ve(t)) for (const s of t.split(";")) { const a = s.slice(0, s.indexOf(":")).trim(); n[a] == null && uo(r, a, ""); } else for (const s in t) n[s] == null && uo(r, s, ""); for (const s in n) s === "display" && (i = !0), uo(r, s, n[s]); } else if (o) { if (t !== n) { const s = r[Oh]; s && (n += ";" + s), r.cssText = n, i = Mh.test(n); } } else t && e.removeAttribute("style"); Ao in e && (e[Ao] = i ? r.display : "", e[fu] && (r.display = "none")); } const qa = /\s*!important$/; function uo(e, t, n) { if (se(n)) n.forEach((r) => uo(e, t, r)); else if (n == null && (n = ""), t.startsWith("--")) e.setProperty(t, n); else { const r = Fh(e, t); qa.test(n) ? e.setProperty( qn(r), n.replace(qa, ""), "important" ) : e[r] = n; } } const Ya = ["Webkit", "Moz", "ms"], bi = {}; function Fh(e, t) { const n = bi[t]; if (n) return n; let r = vt(t); if (r !== "filter" && r in e) return bi[t] = r; r = Yn(r); for (let o = 0; o < Ya.length; o++) { const i = Ya[o] + r; if (i in e) return bi[t] = i; } return t; } const Ja = "http://www.w3.org/1999/xlink"; function Bh(e, t, n, r, o) { if (r && t.startsWith("xlink:")) n == null ? e.removeAttributeNS(Ja, t.slice(6, t.length)) : e.setAttributeNS(Ja, t, n); else { const i = Lf(t); n == null || i && !yc(n) ? e.removeAttribute(t) : e.setAttribute(t, i ? "" : n); } } function Rh(e, t, n, r, o, i, s) { if (t === "innerHTML" || t === "textContent") { r && s(r, o, i), e[t] = n ?? ""; return; } const a = e.tagName; if (t === "value" && a !== "PROGRESS" && // custom elements may use _value internally !a.includes("-")) { const c = a === "OPTION" ? e.getAttribute("value") || "" : e.value, u = n ?? ""; (c !== u || !("_value" in e)) && (e.value = u), n == null && e.removeAttribute(t), e._value = n; return; } let l = !1; if (n === "" || n == null) { const c = typeof e[t]; c === "boolean" ? n = yc(n) : n == null && c === "string" ? (n = "", l = !0) : c === "number" && (n = 0, l = !0); } try { e[t] = n; } catch { } l && e.removeAttribute(t); } function Vh(e, t, n, r) { e.addEventListener(t, n, r); } function Lh(e, t, n, r) { e.removeEventListener(t, n, r); } const Za = Symbol("_vei"); function Nh(e, t, n, r, o = null) { const i = e[Za] || (e[Za] = {}), s = i[t]; if (r && s) s.value = r; else { const [a, l] = Dh(t); if (r) { const c = i[t] = jh(r, o); Vh(e, a, c, l); } else s && (Lh(e, a, s, l), i[t] = void 0); } } const Xa = /(?:Once|Passive|Capture)$/; function Dh(e) { let t; if (Xa.test(e)) { t = {}; let r; for (; r = e.match(Xa); ) e = e.slice(0, e.length - r[0].length), t[r[0].toLowerCase()] = !0; } return [e[2] === ":" ? e.slice(3) : qn(e.slice(2)), t]; } let Ci = 0; const $h = /* @__PURE__ */ Promise.resolve(), Hh = () => Ci || ($h.then(() => Ci = 0), Ci = Date.now()); function jh(e, t) { const n = (r) => { if (!r._vts) r._vts = Date.now(); else if (r._vts <= n.attached) return; ft( Uh(r, n.value), t, 5, [r] ); }; return n.value = e, n.attached = Hh(), n; } function Uh(e, t) { if (se(t)) { const n = e.stopImmediatePropagation; return e.stopImmediatePropagation = () => { n.call(e), e._stopped = !0; }, t.map((r) => (o) => !o._stopped && r && r(o)); } else return t; } const Qa = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // lowercase letter e.charCodeAt(2) > 96 && e.charCodeAt(2) < 123, Wh = (e, t, n, r, o, i, s, a, l) => { const c = o === "svg"; t === "class" ? Th(e, r, c) : t === "style" ? Ih(e, n, r) : $o(t) ? vs(t) || Nh(e, t, n, r, s) : (t[0] === "." ? (t = t.slice(1), !0) : t[0] === "^" ? (t = t.slice(1), !1) : zh(e, t, r, c)) ? Rh( e, t, r, i, s, a, l ) : (t === "true-value" ? e._trueValue = r : t === "false-value" && (e._falseValue = r), Bh(e, t, r, c)); }; function zh(e, t, n, r) { if (r) return !!(t === "innerHTML" || t === "textContent" || t in e && Qa(t) && ue(n)); if (t === "spellcheck" || t === "draggable" || t === "translate" || t === "form" || t === "list" && e.tagName === "INPUT" || t === "type" && e.tagName === "TEXTAREA") return !1; if (t === "width" || t === "height") { const o = e.tagName; if (o === "IMG" || o === "VIDEO" || o === "CANVAS" || o === "SOURCE") return !1; } return Qa(t) && Ve(n) ? !1 : t in e; } const mu = /* @__PURE__ */ new WeakMap(), hu = /* @__PURE__ */ new WeakMap(), Eo = Symbol("_moveCb"), el = Symbol("_enterCb"), gu = { name: "TransitionGroup", props: /* @__PURE__ */ Ne({}, Eh, { tag: String, moveClass: String }), setup(e, { slots: t }) { const n = $s(), r = Wc(); let o, i; return Rs(() => { if (!o.length) return; const s = e.moveClass || `${e.name || "v"}-move`; if (!Jh( o[0].el, n.vnode.el, s )) return; o.forEach(Kh), o.forEach(qh); const a = o.filter(Yh); du(), a.forEach((l) => { const c = l.el, u = c.style; Rt(c, s), u.transform = u.webkitTransform = u.transitionDuration = ""; const d = c[Eo] = (m) => { m && m.target !== c || (!m || /transform$/.test(m.propertyName)) && (c.removeEventListener("transitionend", d), c[Eo] = null, Jt(c, s)); }; c.addEventListener("transitionend", d); }); }), () => { const s = ae(e), a = cu(s); let l = s.tag || Se; o = i, i = t.default ? Fs(t.default()) : []; for (let c = 0; c < i.length; c++) { const u = i[c]; u.key != null && _r( u, Sr(u, a, r, n) ); } if (o) for (let c = 0; c < o.length; c++) { const u = o[c]; _r( u, Sr(u, a, r, n) ), mu.set(u, u.el.getBoundingClientRect()); } return v(l, null, i); }; } }, Gh = (e) => delete e.mode; gu.props; const Hs = gu; function Kh(e) { const t = e.el; t[Eo] && t[Eo](), t[el] && t[el](); } function qh(e) { hu.set(e, e.el.getBoundingClientRect()); } function Yh(e) { const t = mu.get(e), n = hu.get(e), r = t.left - n.left, o = t.top - n.top; if (r || o) { const i = e.el.style; return i.transform = i.webkitTransform = `translate(${r}px,${o}px)`, i.transitionDuration = "0s", e; } } function Jh(e, t, n) { const r = e.cloneNode(), o = e[Wn]; o && o.forEach((a) => { a.split(/\s+/).forEach((l) => l && r.classList.remove(l)); }), n.split(/\s+/).forEach((a) => a && r.classList.add(a)), r.style.display = "none"; const i = t.nodeType === 1 ? t : t.parentNode; i.appendChild(r); const { hasTransform: s } = uu(r); return i.removeChild(r), s; } const Zh = /* @__PURE__ */ Ne({ patchProp: Wh }, Ah); let tl; function Xh() { return tl || (tl = eh(Zh)); } const Qh = (...e) => { const t = Xh().createApp(...e), { mount: n } = t; return t.mount = (r) => { const o = tg(r); if (!o) return; const i = t._component; !ue(i) && !i.render && !i.template && (i.template = o.innerHTML), o.innerHTML = ""; const s = n(o, !1, eg(o)); return o instanceof Element && (o.removeAttribute("v-cloak"), o.setAttribute("data-v-app", "")), s; }, t; }; function eg(e) { if (e instanceof SVGElement) return "svg"; if (typeof MathMLElement == "function" && e instanceof MathMLElement) return "mathml"; } function tg(e) { return Ve(e) ? document.querySelector(e) : e; } var ng = !1; /*! * pinia v2.1.7 * (c) 2023 Eduardo San Martin Morote * @license MIT */ const rg = ( /* istanbul ignore next */ Symbol() ); var nl; (function(e) { e.direct = "direct", e.patchObject = "patch object", e.patchFunction = "patch function"; })(nl || (nl = {})); function og() { const e = Uo(!0), t = e.run(() => ie({})); let n = [], r = []; const o = As({ install(i) { o._a = i, i.provide(rg, o), i.config.globalProperties.$pinia = o, r.forEach((s) => n.push(s)), r = []; }, use(i) { return !this._a && !ng ? r.push(i) : n.push(i), this; }, _p: n, // it's actually undefined here // @ts-expect-error _a: null, _e: e, _s: /* @__PURE__ */ new Map(), state: t }); return o; } const ig = /* @__PURE__ */ Xn({ name: "WidgetButton", props: { bounce: Boolean } }), Nr = (e, t) => { const n = e.__vccOpts || e; for (const [r, o] of t) n[r] = o; return n; }; function sg(e, t, n, r, o, i) { return wn(), jn("button", { class: Jn(["widget-button", [e.bounce ? "rc-bounce" : ""]]) }, null, 2); } const ag = /* @__PURE__ */ Nr(ig, [["render", sg], ["__scopeId", "data-v-9158d063"]]), lg = [ { name: "Afghanistan", dialCode: "93", code: "AF", flag: 16 }, { name: "Albania", dialCode: "355", code: "AL", flag: 18 }, { name: "Algeria", dialCode: "213", code: "DZ", flag: 116 }, { name: "American Samoa", dialCode: "1", code: "AS", flag: 35 }, { name: "Andorra", dialCode: "376", code: "AD", flag: 1 }, { name: "Angola", dialCode: "244", code: "AO", flag: 34 }, { name: "Anguilla", dialCode: "1264", code: "AI", flag: 2 }, { name: "Antigua and Barbuda", dialCode: "1268", code: "AG", flag: 17 }, { name: "Argentina", dialCode: "54", code: "AR", flag: 19 }, { name: "Armenia", dialCode: "374", code: "AM", flag: 32 }, { name: "Aruba", dialCode: "297", code: "AW", flag: 50 }, { name: "Australia", dialCode: "61", code: "AU", flag: 49 }, { name: "Austria", dialCode: "43", code: "AT", flag: 48 }, { name: "Azerbaijan", dialCode: "994", code: "AZ", flag: 4 }, { name: "Bahamas", dialCode: "1242", code: "BS", flag: 81 }, { name: "Bahrain", dialCode: "973", code: "BH", flag: 67 }, { name: "Bangladesh", dialCode: "880", code: "BD", flag: 52 }, { name: "Barbados", dialCode: "1246", code: "BB", flag: 36 }, { name: "Belarus", dialCode: "375", code: "BY", flag: 84 }, { name: "Belgium", dialCode: "32", code: "BE", flag: 64 }, { name: "Belize", dialCode: "501", code: "BZ", flag: 85 }, { name: "Benin", dialCode: "229", code: "BJ", flag: 5 }, { name: "Bermuda", dialCode: "1441", code: "BM", flag: 37 }, { name: "Bhutan", dialCode: "975", code: "BT", flag: 82 }, { name: "Bolivia", dialCode: "591", code: "BO", flag: 69 }, { name: "Bosnia and Herzegovina", dialCode: "387", code: "BA", flag: 20 }, { name: "Botswana", dialCode: "267", code: "BW", flag: 83 }, { name: "Brazil", dialCode: "55", code: "BR", flag: 80 }, { name: "Brunei", dialCode: "673", code: "BN", flag: 53 }, { name: "Bulgaria", dialCode: "359", code: "BG", flag: 66 }, { name: "Burkina Faso", dialCode: "226", code: "BF", flag: 65 }, { name: "Burundi", dialCode: "257", code: "BI", flag: 68 }, { name: "Cambodia", dialCode: "855", code: "KH", flag: 165 }, { name: "Cameroon", dialCode: "237", code: "CM", flag: 99 }, { name: "Canada", dialCode: "1", code: "CA", flag: 6 }, { name: "Cayman Islands", dialCode: " 345", code: "KY", flag: 43 }, { name: "Central African Republic", dialCode: "236", code: "CF", flag: 54 }, { name: "Chad", dialCode: "235", code: "TD", flag: 225 }, { name: "Chile", dialCode: "56", code: "CL", flag: 98 }, { name: "China", dialCode: "86", code: "CN", flag: 100 }, { name: "Colombia", dialCode: "57", code: "CO", flag: 101 }, { name: "Congo", dialCode: "242", code: "CG", flag: 70 }, { name: "Congo (DRC)", dialCode: "243", code: "CD", flag: 38 }, { name: "Cook Islands", dialCode: "682", code: "CK", flag: 97 }, { name: "Costa Rica", dialCode: "506", code: "CR", flag: 102 }, { name: "Cote d'Ivoire", dialCode: "225", code: "CI", flag: 96 }, { name: "Croatia", dialCode: "385", code: "HR", flag: 150 }, { name: "Cuba", dialCode: "53", code: "CU", flag: 7 }, { name: "Cyprus", dialCode: "357", code: "CY", flag: 71 }, { name: "Czech Republic", dialCode: "420", code: "CZ", flag: 87 }, { name: "Denmark", dialCode: "45", code: "DK", flag: 113 }, { name: "Djibouti", dialCode: "253", code: "DJ", flag: 112 }, { name: "Dominican Republic", dialCode: "1849", code: "DO", flag: 115 }, { name: "Ecuador", dialCode: "593", code: "EC", flag: 117 }, { name: "Egypt", dialCode: "20", code: "EG", flag: 119 }, { name: "El Salvador", dialCode: "503", code: "SV", flag: 190 }, { name: "Equatorial Guinea", dialCode: "240", code: "GQ", flag: 105 }, { name: "Estonia", dialCode: "372", code: "EE", flag: 118 }, { name: "Ethiopia", dialCode: "251", code: "ET", flag: 56 }, { name: "Falkland Islands", dialCode: "500", code: "FK", flag: 120 }, { name: "Faroe Islands", dialCode: "298", code: "FO", flag: 129 }, { name: "Fiji", dialCode: "679", code: "FJ", flag: 104 }, { name: "Finland", dialCode: "358", code: "FI", flag: 88 }, { name: "France", dialCode: "33", code: "FR", flag: 130 }, { name: "Gabon", dialCode: "241", code: "GA", flag: 131 }, { name: "Gambia", dialCode: "220", code: "GM", flag: 57 }, { name: "Georgia", dialCode: "995", code: "GE", flag: 134 }, { name: "Germany", dialCode: "49", code: "DE", flag: 103 }, { name: "Ghana", dialCode: "233", code: "GH", flag: 9 }, { name: "Gibraltar", dialCode: "350", code: "GI", flag: 25 }, { name: "Greece", dialCode: "30", code: "GR", flag: 121 }, { name: "Greenland", dialCode: "299", code: "GL", flag: 41 }, { name: "Grenada", dialCode: "1473", code: "GD", flag: 133 }, { name: "Guadeloupe", dialCode: "590", code: "GP", flag: 89 }, { name: "Guam", dialCode: "1671", code: "GU", flag: 145 }, { name: "Guatemala", dialCode: "502", code: "GT", flag: 144 }, { name: "Guernsey", dialCode: "44", code: "GG", flag: 136 }, { name: "Guinea", dialCode: "224", code: "GN", flag: 73 }, { name: "Guinea-Bissau", dialCode: "245", code: "GW", flag: 146 }, { name: "Guyana", dialCode: "595", code: "GY", flag: 147 }, { name: "Haiti", dialCode: "509", code: "HT", flag: 151 }, { name: "Honduras", dialCode: "504", code: "HN", flag: 149 }, { name: "Hong Kong", dialCode: "852", code: "HK", flag: 148 }, { name: "Hungary", dialCode: "36", code: "HU", flag: 152 }, { name: "Iceland", dialCode: "354", code: "IS", flag: 122 }, { name: "India", dialCode: "91", code: "IN", flag: 74 }, { name: "Indonesia", dialCode: "62", code: "ID", flag: 10 }, { name: "Iran", dialCode: "98", code: "IR", flag: 106 }, { name: "Iraq", dialCode: "964", code: "IQ", flag: 90 }, { name: "Ireland", dialCode: "353", code: "IE", flag: 26 }, { name: "Israel", dialCode: "972", code: "IL", flag: 42 }, { name: "Italy", dialCode: "39", code: "IT", flag: 138 }, { name: "Jamaica", dialCode: "1876", code: "JM", flag: 160 }, { name: "Japan", dialCode: "81", code: "JP", flag: 162 }, { name: "Jersey", dialCode: "44", code: "JE", flag: 154 }, { name: "Jordan", dialCode: "962", code: "JO", flag: 161 }, { name: "Kazakhstan", dialCode: "77", code: "KZ", flag: 59 }, { name: "Kenya", dialCode: "254", code: "KE", flag: 163 }, { name: "Kiribati", dialCode: "686", code: "KI", flag: 166 }, { name: "Kuwait", dialCode: "965", code: "KW", flag: 27 }, { name: "Kyrgyzstan", dialCode: "996", code: "KG", flag: 164 }, { name: "Laos", dialCode: "856", code: "LA", flag: 75 }, { name: "Latvia", dialCode: "371", code: "LV", flag: 178 }, { name: "Lebanon", dialCode: "961", code: "LB", flag: 0 }, { name: "Lesotho", dialCode: "266", code: "LS", flag: 171 }, { name: "Liberia", dialCode: "231", code: "LR", flag: 155 }, { name: "Libya", dialCode: "218", code: "LY", flag: 179 }, { name: "Liechtenstein", dialCode: "423", code: "LI", flag: 123 }, { name: "Lithuania", dialCode: "370", code: "LT", flag: 176 }, { name: "Luxembourg", dialCode: "352", code: "LU", flag: 177 }, { name: "Macao", dialCode: "853", code: "MO", flag: 60 }, { name: "Madagascar", dialCode: "261", code: "MG", flag: 185 }, { name: "Malawi", dialCode: "265", code: "MW", flag: 188 }, { name: "Malaysia", dialCode: "60", code: "MY", flag: 193 }, { name: "Maldives", dialCode: "960", code: "MV", flag: 172 }, { name: "Mali", dialCode: "223", code: "ML", flag: 12 }, { name: "Malta", dialCode: "356", code: "MT", flag: 140 }, { name: "Marshall Islands", dialCode: "692", code: "MH", flag: 186 }, { name: "Martinique", dialCode: "596", code: "MQ", flag: 92 }, { name: "Mauritania", dialCode: "222", code: "MR", flag: 108 }, { name: "Mauritius", dialCode: "230", code: "MU", flag: 156 }, { name: "Mayotte", dialCode: "262", code: "YT", flag: 248 }, { name: "Mexico", dialCode: "52", code: "MX", flag: 192 }, { name: "Micronesia", dialCode: "691", code: "FM", flag: 128 }, { name: "Moldova", dialCode: "373", code: "MD", flag: 182 }, { name: "Monaco", dialCode: "377", code: "MC", flag: 181 }, { name: "Mongolia", dialCode: "976", code: "MN", flag: 44 }, { name: "Montenegro", dialCode: "382", code: "ME", flag: 183 }, { name: "Montserrat", dialCode: "1664", code: "MS", flag: 124 }, { name: "Morocco", dialCode: "212", code: "MA", flag: 180 }, { name: "Mozambique", dialCode: "258", code: "MZ", flag: 194 }, { name: "Myanmar", dialCode: "95", code: "MM", flag: 28 }, { name: "Namibia", dialCode: "264", code: "NA", flag: 195 }, { name: "Nauru", dialCode: "674", code: "NR", flag: 204 }, { name: "Nepal", dialCode: "977", code: "NP", flag: 203 }, { name: "Netherlands", dialCode: "31", code: "NL", flag: 201 }, { name: "New Caledonia", dialCode: "687", code: "NC", flag: 196 }, { name: "New Zealand", dialCode: "64", code: "NZ", flag: 29 }, { name: "Nicaragua", dialCode: "505", code: "NI", flag: 200 }, { name: "Niger", dialCode: "227", code: "NE", flag: 197 }, { name: "Nigeria", dialCode: "234", code: "NG", flag: 199 }, { name: "Niue", dialCode: "683", code: "NU", flag: 13 }, { name: "North Korea", dialCode: "850", code: "KP", flag: 169 }, { name: "Norway", dialCode: "47", code: "NO", flag: 202 }, { name: "Oman", dialCode: "968", code: "OM", flag: 45 }, { name: "Pakistan", dialCode: "92", code: "PK", flag: 141 }, { name: "Palau", dialCode: "680", code: "PW", flag: 209 }, { name: "Panama", dialCode: "507", code: "PA", flag: 61 }, { name: "Papua New Guinea", dialCode: "675", code: "PG", flag: 109 }, { name: "Paraguay", dialCode: "595", code: "PY", flag: 210 }, { name: "Peru", dialCode: "51", code: "PE", flag: 77 }, { name: "Philippines", dialCode: "63", code: "PH", flag: 125 }, { name: "Poland", dialCode: "48", code: "PL", flag: 157 }, { name: "Portugal", dialCode: "351", code: "PT", flag: 208 }, { name: "Puerto Rico", dialCode: "1939", code: "PR", flag: 189 }, { name: "Qatar", dialCode: "974", code: "QA", flag: 211 }, { name: "Romania", dialCode: "40", code: "RO", flag: 213 }, { name: "Russia", dialCode: "7", code: "RU", flag: 215 }, { name: "Rwanda", dialCode: "250", code: "RW", flag: 216 }, { name: "Samoa", dialCode: "685", code: "WS", flag: 239 }, { name: "San Marino", dialCode: "378", code: "SM", flag: 94 }, { name: "Sao Tome and Principe", dialCode: "239", code: "ST", flag: 174 }, { name: "Saudi Arabia", dialCode: "966", code: "SA", flag: 217 }, { name: "Senegal", dialCode: "221", code: "SN", flag: 110 }, { name: "Serbia", dialCode: "381", code: "RS", flag: 214 }, { name: "Seychelles", dialCode: "248", code: "SC", flag: 219 }, { name: "Sierra Leone", dialCode: "232", code: "SL", flag: 78 }, { name: "Singapore", dialCode: "65", code: "SG", flag: 14 }, { name: "Slovakia", dialCode: "421", code: "SK", flag: 62 }, { name: "Slovenia", dialCode: "386", code: "SI", flag: 46 }, { name: "Solomon Islands", dialCode: "677", code: "SB", flag: 218 }, { name: "Somalia", dialCode: "252", code: "SO", flag: 126 }, { name: "South Africa", dialCode: "27", code: "ZA", flag: 249 }, { name: "South Korea", dialCode: "82", code: "KR", flag: 170 }, { name: "South Sudan", dialCode: "211", code: "SS", flag: 158 }, { name: "Spain", dialCode: "34", code: "ES", flag: 40 }, { name: "Sri Lanka", dialCode: "94", code: "LK", flag: 139 }, { name: "St. Barthelemy", dialCode: "590", code: "BL", flag: 21 }, { name: "St. Kitts", dialCode: "1869", code: "KN", flag: 168 }, { name: "St. Lucia", dialCode: "1758", code: "LC", flag: 107 }, { name: "St. Vincent", dialCode: "1784", code: "VC", flag: 127 }, { name: "Sudan", dialCode: "249", code: "SD", flag: 220 }, { name: "Suriname", dialCode: "597", code: "SR", flag: 142 }, { name: "Swaziland", dialCode: "268", code: "SZ", flag: 222 }, { name: "Sweden", dialCode: "46", code: "SE", flag: 221 }, { name: "Switzerland", dialCode: "41", code: "CH", flag: 86 }, { name: "Syria", dialCode: "963", code: "SY", flag: 206 }, { name: "Taiwan", dialCode: "886", code: "TW", flag: 238 }, { name: "Tajikistan", dialCode: "992", code: "TJ", flag: 229 }, { name: "Tanzania", dialCode: "255", code: "TZ", flag: 15 }, { name: "Thailand", dialCode: "66", code: "TH", flag: 228 }, { name: "Timor-Leste", dialCode: "670", code: "TL", flag: 231 }, { name: "Togo", dialCode: "228", code: "TG", flag: 227 }, { name: "Tonga", dialCode: "676", code: "TO", flag: 234 }, { name: "Trinidad and Tobago", dialCode: "1868", code: "TT", flag: 236 }, { name: "Tunisia", dialCode: "216", code: "TN", flag: 233 }, { name: "Turkey", dialCode: "90", code: "TR", flag: 235 }, { name: "Turkmenistan", dialCode: "993", code: "TM", flag: 232 }, { name: "Turks and Caicos Islands", dialCode: "1649", code: "TC", flag: 224 }, { name: "Tuvalu", dialCode: "688", code: "TV", flag: 237 }, { name: "Uganda", dialCode: "256", code: "UG", flag: 47 }, { name: "Ukraine", dialCode: "380", code: "UA", flag: 31 }, { name: "United Arab Emirates", dialCode: "971", code: "AE", flag: 91 }, { name: "United Kingdom", dialCode: "44", code: "GB", flag: 132 }, { name: "United States of America", dialCode: "1", code: "US", flag: 63 }, { name: "Uruguay", dialCode: "598", code: "UY", flag: 79 }, { name: "Uzbekistan", dialCode: "998", code: "UZ", flag: 95 }, { name: "Vanuatu", dialCode: "678", code: "VU", flag: 207 }, { name: "Venezuela", dialCode: "58", code: "VE", flag: 143 }, { name: "Vietnam", dialCode: "84", code: "VN", flag: 191 }, { name: "Virgin Islands, British", dialCode: "1284", code: "VG", flag: 159 }, { name: "Virgin Islands, U.S.", dialCode: "1340", code: "VI", flag: 175 }, { name: "Yemen", dialCode: "967", code: "YE", flag: 247 }, { name: "Zambia", dialCode: "260", code: "ZM", flag: 250 }, { name: "Zimbabwe", dialCode: "263", code: "ZW", flag: 251 } ], cg = { code: "", name: "", dialCode: "", flag: 0 }, ug = /* @__PURE__ */ Xn({ name: "PhoneInput", props: { modelValue: String }, data: () => ({ countries: lg, selectedCountryCode: "ZA", // Default to South Africa localNumber: "" }), methods: { selectCountry(e) { this.selectedCountryCode = e.code, this.updatePhoneNumber(); }, getCountryFlagPosition(e) { let t = Math.floor(e.flag / 16); return { "background-position": `-${e.flag % 16 * 42}px -${t * 42 + 4}px` }; }, updatePhoneNumber() { this.$emit("update:modelValue", `${this.selectedCountry.dialCode}${this.localNumber}`); } }, computed: { selectedCountry() { return this.countries.find((e) => e.code === this.selectedCountryCode) || cg; } } }), dg = { class: "phone-input-field" }, fg = { class: "dial-code" }; function mg(e, t, n, r, o, i) { const s = Nt("v-list-item"), a = Nt("v-select"), l = Nt("v-text-field"); return wn(), jn("div", dg, [ v(a, { variant: "outlined", items: e.countries, "item-title": "code", modelValue: e.selectedCountryCode, "onUpdate:modelValue": [ t[0] || (t[0] = (c) => e.selectedCountryCode = c), e.updatePhoneNumber ], "hide-details": "", class: "mr-1", "min-width": "6em", "menu-props": { width: "20em" } }, { selection: Bn(({ item: c }) => [ ht("i", { class: "flag-sprites", style: pr(e.getCountryFlagPosition(e.selectedCountry)) }, null, 4), Un(" " + di(c.value), 1) ]), item: Bn(({ props: c, item: u }) => [ v(s, pe(c, { title: "" }), { default: Bn(() => [ ht("i", { class: "flag-sprites", style: pr(e.getCountryFlagPosition(u.raw)) }, null, 4), Un(" " + di(u.raw.name), 1) ]), _: 2 }, 1040) ]), _: 1 }, 8, ["items", "modelValue", "onUpdate:modelValue"]), v(l, { variant: "outlined", type: "number", "hide-spin-buttons": "", "hide-details": "", modelValue: e.localNumber, "onUpdate:modelValue": t[1] || (t[1] = (c) => e.localNumber = c), onInput: e.updatePhoneNumber, label: "Phone" }, { "prepend-inner": Bn(() => [ ht("span", fg, "+" + di(e.selectedCountry.dialCode), 1) ]), _: 1 }, 8, ["modelValue", "onInput"]) ]); } const hg = /* @__PURE__ */ Nr(ug, [["render", mg], ["__scopeId", "data-v-05f3e2b8"]]); function vu(e, t) { return function() { return e.apply(t, arguments); }; } const { toString: gg } = Object.prototype, { getPrototypeOf: js } = Object, Qo = /* @__PURE__ */ ((e) => (t) => { const n = gg.call(t); return e[n] || (e[n] = n.slice(8, -1).toLowerCase()); })(/* @__PURE__ */ Object.create(null)), Mt = (e) => (e = e.toLowerCase(), (t) => Qo(t) === e), ei = (e) => (t) => typeof t === e, { isArray: tr } = Array, Ar = ei("undefined"); function vg(e) { return e !== null && !Ar(e) && e.constructor !== null && !Ar(e.constructor) && gt(e.constructor.isBuffer) && e.constructor.isBuffer(e); } const yu = Mt("ArrayBuffer"); function yg(e) { let t; return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && yu(e.buffer), t; } const pg = ei("string"), gt = ei("function"), pu = ei("number"), ti = (e) => e !== null && typeof e == "object", bg = (e) => e === !0 || e === !1, fo = (e) => { if (Qo(e) !== "object") return !1; const t = js(e); return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e); }, Cg = Mt("Date"), wg = Mt("File"), Sg = Mt("Blob"), _g = Mt("FileList"), xg = (e) => ti(e) && gt(e.pipe), Ag = (e) => { let t; return e && (typeof FormData == "function" && e instanceof FormData || gt(e.append) && ((t = Qo(e)) === "formdata" || // detect form-data instance t === "object" && gt(e.toString) && e.toString() === "[object FormData]")); }, Eg = Mt("URLSearchParams"), kg = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, ""); function Dr(e, t, { allOwnKeys: n = !1 } = {}) { if (e === null || typeof e > "u") return; let r, o; if (typeof e != "object" && (e = [e]), tr(e)) for (r = 0, o = e.length; r < o; r++) t.call(null, e[r], r, e); else { const i = n ? Object.getOwnPropertyNames(e) : Object.keys(e), s = i.length; let a; for (r = 0; r < s; r++) a = i[r], t.call(null, e[a], a, e); } } function bu(e, t) { t = t.toLowerCase(); const n = Object.keys(e); let r = n.length, o; for (; r-- > 0; ) if (o = n[r], t === o.toLowerCase()) return o; return null; } const Cu = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, wu = (e) => !Ar(e) && e !== Cu; function Ki() { const { caseless: e } = wu(this) && this || {}, t = {}, n = (r, o) => { const i = e && bu(t, o) || o; fo(t[i]) && fo(r) ? t[i] = Ki(t[i], r) : fo(r) ? t[i] = Ki({}, r) : tr(r) ? t[i] = r.slice() : t[i] = r; }; for (let r = 0, o = arguments.length; r < o; r++) arguments[r] && Dr(arguments[r], n); return t; } const Pg = (e, t, n, { allOwnKeys: r } = {}) => (Dr(t, (o, i) => { n && gt(o) ? e[i] = vu(o, n) : e[i] = o; }, { allOwnKeys: r }), e), Tg = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Og = (e, t, n, r) => { e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", { value: t.prototype }), n && Object.assign(e.prototype, n); }, Mg = (e, t, n, r) => { let o, i, s; const a = {}; if (t = t || {}, e == null) return t; do { for (o = Object.getOwnPropertyNames(e), i = o.length; i-- > 0; ) s = o[i], (!r || r(s, e, t)) && !a[s] && (t[s] = e[s], a[s] = !0); e = n !== !1 && js(e); } while (e && (!n || n(e, t)) && e !== Object.prototype); return t; }, Ig = (e, t, n) => { e = String(e), (n === void 0 || n > e.length) && (n = e.length), n -= t.length; const r = e.indexOf(t, n); return r !== -1 && r === n; }, Fg = (e) => { if (!e) return null; if (tr(e)) return e; let t = e.length; if (!pu(t)) return null; const n = new Array(t); for (; t-- > 0; ) n[t] = e[t]; return n; }, Bg = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && js(Uint8Array)), Rg = (e, t) => { const r = (e && e[Symbol.iterator]).call(e); let o; for (; (o = r.next()) && !o.done; ) { const i = o.value; t.call(e, i[0], i[1]); } }, Vg = (e, t) => { let n; const r = []; for (; (n = e.exec(t)) !== null; ) r.push(n); return r; }, Lg = Mt("HTMLFormElement"), Ng = (e) => e.toLowerCase().replace( /[-_\s]([a-z\d])(\w*)/g, function(n, r, o) { return r.toUpperCase() + o; } ), rl = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Dg = Mt("RegExp"), Su = (e, t) => { const n = Object.getOwnPropertyDescriptors(e), r = {}; Dr(n, (o, i) => { let s; (s = t(o, i, e)) !== !1 && (r[i] = s || o); }), Object.defineProperties(e, r); }, $g = (e) => { Su(e, (t, n) => { if (gt(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1) return !1; const r = e[n]; if (gt(r)) { if (t.enumerable = !1, "writable" in t) { t.writable = !1; return; } t.set || (t.set = () => { throw Error("Can not rewrite read-only method '" + n + "'"); }); } }); }, Hg = (e, t) => { const n = {}, r = (o) => { o.forEach((i) => { n[i] = !0; }); }; return tr(e) ? r(e) : r(String(e).split(t)), n; }, jg = () => { }, Ug = (e, t) => (e = +e, Number.isFinite(e) ? e : t), wi = "abcdefghijklmnopqrstuvwxyz", ol = "0123456789", _u = { DIGIT: ol, ALPHA: wi, ALPHA_DIGIT: wi + wi.toUpperCase() + ol }, Wg = (e = 16, t = _u.ALPHA_DIGIT) => { let n = ""; const { length: r } = t; for (; e--; ) n += t[Math.random() * r | 0]; return n; }; function zg(e) { return !!(e && gt(e.append) && e[Symbol.toStringTag] === "FormData" && e[Symbol.iterator]); } const Gg = (e) => { const t = new Array(10), n = (r, o) => { if (ti(r)) { if (t.indexOf(r) >= 0) return; if (!("toJSON" in r)) { t[o] = r; const i = tr(r) ? [] : {}; return Dr(r, (s, a) => { const l = n(s, o + 1); !Ar(l) && (i[a] = l); }), t[o] = void 0, i; } } return r; }; return n(e, 0); }, Kg = Mt("AsyncFunction"), qg = (e) => e && (ti(e) || gt(e)) && gt(e.then) && gt(e.catch), T = { isArray: tr, isArrayBuffer: yu, isBuffer: vg, isFormData: Ag, isArrayBufferView: yg, isString: pg, isNumber: pu, isBoolean: bg, isObject: ti, isPlainObject: fo, isUndefined: Ar, isDate: Cg, isFile: wg, isBlob: Sg, isRegExp: Dg, isFunction: gt, isStream: xg, isURLSearchParams: Eg, isTypedArray: Bg, isFileList: _g, forEach: Dr, merge: Ki, extend: Pg, trim: kg, stripBOM: Tg, inherits: Og, toFlatObject: Mg, kindOf: Qo, kindOfTest: Mt, endsWith: Ig, toArray: Fg, forEachEntry: Rg, matchAll: Vg, isHTMLForm: Lg, hasOwnProperty: rl, hasOwnProp: rl, // an alias to avoid ESLint no-prototype-builtins detection reduceDescriptors: Su, freezeMethods: $g, toObjectSet: Hg, toCamelCase: Ng, noop: jg, toFiniteNumber: Ug, findKey: bu, global: Cu, isContextDefined: wu, ALPHABET: _u, generateString: Wg, isSpecCompliantForm: zg, toJSONObject: Gg, isAsyncFn: Kg, isThenable: qg }; function ye(e, t, n, r, o) { Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), r && (this.request = r), o && (this.response = o); } T.inherits(ye, Error, { toJSON: function() { return { // Standard message: this.message, name: this.name, // Microsoft description: this.description, number: this.number, // Mozilla fileName: this.fileName, lineNumber: this.lineNumber, columnNumber: this.columnNumber, stack: this.stack, // Axios config: T.toJSONObject(this.config), code: this.code, status: this.response && this.response.status ? this.response.status : null }; } }); const xu = ye.prototype, Au = {}; [ "ERR_BAD_OPTION_VALUE", "ERR_BAD_OPTION", "ECONNABORTED", "ETIMEDOUT", "ERR_NETWORK", "ERR_FR_TOO_MANY_REDIRECTS", "ERR_DEPRECATED", "ERR_BAD_RESPONSE", "ERR_BAD_REQUEST", "ERR_CANCELED", "ERR_NOT_SUPPORT", "ERR_INVALID_URL" // eslint-disable-next-line func-names ].forEach((e) => { Au[e] = { value: e }; }); Object.defineProperties(ye, Au); Object.defineProperty(xu, "isAxiosError", { value: !0 }); ye.from = (e, t, n, r, o, i) => { const s = Object.create(xu); return T.toFlatObject(e, s, function(l) { return l !== Error.prototype; }, (a) => a !== "isAxiosError"), ye.call(s, e.message, t, n, r, o), s.cause = e, s.name = e.name, i && Object.assign(s, i), s; }; const Yg = null; function qi(e) { return T.isPlainObject(e) || T.isArray(e); } function Eu(e) { return T.endsWith(e, "[]") ? e.slice(0, -2) : e; } function il(e, t, n) { return e ? e.concat(t).map(function(o, i) { return o = Eu(o), !n && i ? "[" + o + "]" : o; }).join(n ? "." : "") : t; } function Jg(e) { return T.isArray(e) && !e.some(qi); } const Zg = T.toFlatObject(T, {}, null, function(t) { return /^is[A-Z]/.test(t); }); function ni(e, t, n) { if (!T.isObject(e)) throw new TypeError("target must be an object"); t = t || new FormData(), n = T.toFlatObject(n, { metaTokens: !0, dots: !1, indexes: !1 }, !1, function(f, y) { return !T.isUndefined(y[f]); }); const r = n.metaTokens, o = n.visitor || u, i = n.dots, s = n.indexes, l = (n.Blob || typeof Blob < "u" && Blob) && T.isSpecCompliantForm(t); if (!T.isFunction(o)) throw new TypeError("visitor must be a function"); function c(g) { if (g === null) return ""; if (T.isDate(g)) return g.toISOString(); if (!l && T.isBlob(g)) throw new ye("Blob is not supported. Use a Buffer instead."); return T.isArrayBuffer(g) || T.isTypedArray(g) ? l && typeof Blob == "function" ? new Blob([g]) : Buffer.from(g) : g; } function u(g, f, y) { let w = g; if (g && !y && typeof g == "object") { if (T.endsWith(f, "{}")) f = r ? f : f.slice(0, -2), g = JSON.stringify(g); else if (T.isArray(g) && Jg(g) || (T.isFileList(g) || T.endsWith(f, "[]")) && (w = T.toArray(g))) return f = Eu(f), w.forEach(function(A, O) { !(T.isUndefined(A) || A === null) && t.append( // eslint-disable-next-line no-nested-ternary s === !0 ? il([f], O, i) : s === null ? f : f + "[]", c(A) ); }), !1; } return qi(g) ? !0 : (t.append(il(y, f, i), c(g)), !1); } const d = [], m = Object.assign(Zg, { defaultVisitor: u, convertValue: c, isVisitable: qi }); function h(g, f) { if (!T.isUndefined(g)) { if (d.indexOf(g) !== -1) throw Error("Circular reference detected in " + f.join(".")); d.push(g), T.forEach(g, function(w, P) { (!(T.isUndefined(w) || w === null) && o.call( t, w, T.isString(P) ? P.trim() : P, f, m )) === !0 && h(w, f ? f.concat(P) : [P]); }), d.pop(); } } if (!T.isObject(e)) throw new TypeError("data must be an object"); return h(e), t; } function sl(e) { const t = { "!": "%21", "'": "%27", "(": "%28", ")": "%29", "~": "%7E", "%20": "+", "%00": "\0" }; return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g, function(r) { return t[r]; }); } function Us(e, t) { this._pairs = [], e && ni(e, this, t); } const ku = Us.prototype; ku.append = function(t, n) { this._pairs.push([t, n]); }; ku.toString = function(t) { const n = t ? function(r) { return t.call(this, r, sl); } : sl; return this._pairs.map(function(o) { return n(o[0]) + "=" + n(o[1]); }, "").join("&"); }; function Xg(e) { return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]"); } function Pu(e, t, n) { if (!t) return e; const r = n && n.encode || Xg, o = n && n.serialize; let i; if (o ? i = o(t, n) : i = T.isURLSearchParams(t) ? t.toString() : new Us(t, n).toString(r), i) { const s = e.indexOf("#"); s !== -1 && (e = e.slice(0, s)), e += (e.indexOf("?") === -1 ? "?" : "&") + i; } return e; } class al { constructor() { this.handlers = []; } /** * Add a new interceptor to the stack * * @param {Function} fulfilled The function to handle `then` for a `Promise` * @param {Function} rejected The function to handle `reject` for a `Promise` * * @return {Number} An ID used to remove interceptor later */ use(t, n, r) { return this.handlers.push({ fulfilled: t, rejected: n, synchronous: r ? r.synchronous : !1, runWhen: r ? r.runWhen : null }), this.handlers.length - 1; } /** * Remove an interceptor from the stack * * @param {Number} id The ID that was returned by `use` * * @returns {Boolean} `true` if the interceptor was removed, `false` otherwise */ eject(t) { this.handlers[t] && (this.handlers[t] = null); } /** * Clear all interceptors from the stack * * @returns {void} */ clear() { this.handlers && (this.handlers = []); } /** * Iterate over all the registered interceptors * * This method is particularly useful for skipping over any * interceptors that may have become `null` calling `eject`. * * @param {Function} fn The function to call for each interceptor * * @returns {void} */ forEach(t) { T.forEach(this.handlers, function(r) { r !== null && t(r); }); } } const Tu = { silentJSONParsing: !0, forcedJSONParsing: !0, clarifyTimeoutError: !1 }, Qg = typeof URLSearchParams < "u" ? URLSearchParams : Us, ev = typeof FormData < "u" ? FormData : null, tv = typeof Blob < "u" ? Blob : null, nv = { isBrowser: !0, classes: { URLSearchParams: Qg, FormData: ev, Blob: tv }, protocols: ["http", "https", "file", "blob", "url", "data"] }, Ou = typeof window < "u" && typeof document < "u", rv = ((e) => Ou && ["ReactNative", "NativeScript", "NS"].indexOf(e) < 0)(typeof navigator < "u" && navigator.product), ov = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef self instanceof WorkerGlobalScope && typeof self.importScripts == "function", iv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, hasBrowserEnv: Ou, hasStandardBrowserEnv: rv, hasStandardBrowserWebWorkerEnv: ov }, Symbol.toStringTag, { value: "Module" })), kt = { ...iv, ...nv }; function sv(e, t) { return ni(e, new kt.classes.URLSearchParams(), Object.assign({ visitor: function(n, r, o, i) { return kt.isNode && T.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : i.defaultVisitor.apply(this, arguments); } }, t)); } function av(e) { return T.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]); } function lv(e) { const t = {}, n = Object.keys(e); let r; const o = n.length; let i; for (r = 0; r < o; r++) i = n[r], t[i] = e[i]; return t; } function Mu(e) { function t(n, r, o, i) { let s = n[i++]; if (s === "__proto__") return !0; const a = Number.isFinite(+s), l = i >= n.length; return s = !s && T.isArray(o) ? o.length : s, l ? (T.hasOwnProp(o, s) ? o[s] = [o[s], r] : o[s] = r, !a) : ((!o[s] || !T.isObject(o[s])) && (o[s] = []), t(n, r, o[s], i) && T.isArray(o[s]) && (o[s] = lv(o[s])), !a); } if (T.isFormData(e) && T.isFunction(e.entries)) { const n = {}; return T.forEachEntry(e, (r, o) => { t(av(r), o, n, 0); }), n; } return null; } function cv(e, t, n) { if (T.isString(e)) try { return (t || JSON.parse)(e), T.trim(e); } catch (r) { if (r.name !== "SyntaxError") throw r; } return (n || JSON.stringify)(e); } const Ws = { transitional: Tu, adapter: ["xhr", "http"], transformRequest: [function(t, n) { const r = n.getContentType() || "", o = r.indexOf("application/json") > -1, i = T.isObject(t); if (i && T.isHTMLForm(t) && (t = new FormData(t)), T.isFormData(t)) return o ? JSON.stringify(Mu(t)) : t; if (T.isArrayBuffer(t) || T.isBuffer(t) || T.isStream(t) || T.isFile(t) || T.isBlob(t)) return t; if (T.isArrayBufferView(t)) return t.buffer; if (T.isURLSearchParams(t)) return n.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), t.toString(); let a; if (i) { if (r.indexOf("application/x-www-form-urlencoded") > -1) return sv(t, this.formSerializer).toString(); if ((a = T.isFileList(t)) || r.indexOf("multipart/form-data") > -1) { const l = this.env && this.env.FormData; return ni( a ? { "files[]": t } : t, l && new l(), this.formSerializer ); } } return i || o ? (n.setContentType("application/json", !1), cv(t)) : t; }], transformResponse: [function(t) { const n = this.transitional || Ws.transitional, r = n && n.forcedJSONParsing, o = this.responseType === "json"; if (t && T.isString(t) && (r && !this.responseType || o)) { const s = !(n && n.silentJSONParsing) && o; try { return JSON.parse(t); } catch (a) { if (s) throw a.name === "SyntaxError" ? ye.from(a, ye.ERR_BAD_RESPONSE, this, null, this.response) : a; } } return t; }], /** * A timeout in milliseconds to abort a request. If set to 0 (default) a * timeout is not created. */ timeout: 0, xsrfCookieName: "XSRF-TOKEN", xsrfHeaderName: "X-XSRF-TOKEN", maxContentLength: -1, maxBodyLength: -1, env: { FormData: kt.classes.FormData, Blob: kt.classes.Blob }, validateStatus: function(t) { return t >= 200 && t < 300; }, headers: { common: { Accept: "application/json, text/plain, */*", "Content-Type": void 0 } } }; T.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => { Ws.headers[e] = {}; }); const zs = Ws, uv = T.toObjectSet([ "age", "authorization", "content-length", "content-type", "etag", "expires", "from", "host", "if-modified-since", "if-unmodified-since", "last-modified", "location", "max-forwards", "proxy-authorization", "referer", "retry-after", "user-agent" ]), dv = (e) => { const t = {}; let n, r, o; return e && e.split(` `).forEach(function(s) { o = s.indexOf(":"), n = s.substring(0, o).trim().toLowerCase(), r = s.substring(o + 1).trim(), !(!n || t[n] && uv[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r); }), t; }, ll = Symbol("internals"); function cr(e) { return e && String(e).trim().toLowerCase(); } function mo(e) { return e === !1 || e == null ? e : T.isArray(e) ? e.map(mo) : String(e); } function fv(e) { const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g; let r; for (; r = n.exec(e); ) t[r[1]] = r[2]; return t; } const mv = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()); function Si(e, t, n, r, o) { if (T.isFunction(r)) return r.call(this, t, n); if (o && (t = n), !!T.isString(t)) { if (T.isString(r)) return t.indexOf(r) !== -1; if (T.isRegExp(r)) return r.test(t); } } function hv(e) { return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, n, r) => n.toUpperCase() + r); } function gv(e, t) { const n = T.toCamelCase(" " + t); ["get", "set", "has"].forEach((r) => { Object.defineProperty(e, r + n, { value: function(o, i, s) { return this[r].call(this, t, o, i, s); }, configurable: !0 }); }); } class ri { constructor(t) { t && this.set(t); } set(t, n, r) { const o = this; function i(a, l, c) { const u = cr(l); if (!u) throw new Error("header name must be a non-empty string"); const d = T.findKey(o, u); (!d || o[d] === void 0 || c === !0 || c === void 0 && o[d] !== !1) && (o[d || l] = mo(a)); } const s = (a, l) => T.forEach(a, (c, u) => i(c, u, l)); return T.isPlainObject(t) || t instanceof this.constructor ? s(t, n) : T.isString(t) && (t = t.trim()) && !mv(t) ? s(dv(t), n) : t != null && i(n, t, r), this; } get(t, n) { if (t = cr(t), t) { const r = T.findKey(this, t); if (r) { const o = this[r]; if (!n) return o; if (n === !0) return fv(o); if (T.isFunction(n)) return n.call(this, o, r); if (T.isRegExp(n)) return n.exec(o); throw new TypeError("parser must be boolean|regexp|function"); } } } has(t, n) { if (t = cr(t), t) { const r = T.findKey(this, t); return !!(r && this[r] !== void 0 && (!n || Si(this, this[r], r, n))); } return !1; } delete(t, n) { const r = this; let o = !1; function i(s) { if (s = cr(s), s) { const a = T.findKey(r, s); a && (!n || Si(r, r[a], a, n)) && (delete r[a], o = !0); } } return T.isArray(t) ? t.forEach(i) : i(t), o; } clear(t) { const n = Object.keys(this); let r = n.length, o = !1; for (; r--; ) { const i = n[r]; (!t || Si(this, this[i], i, t, !0)) && (delete this[i], o = !0); } return o; } normalize(t) { const n = this, r = {}; return T.forEach(this, (o, i) => { const s = T.findKey(r, i); if (s) { n[s] = mo(o), delete n[i]; return; } const a = t ? hv(i) : String(i).trim(); a !== i && delete n[i], n[a] = mo(o), r[a] = !0; }), this; } concat(...t) { return this.constructor.concat(this, ...t); } toJSON(t) { const n = /* @__PURE__ */ Object.create(null); return T.forEach(this, (r, o) => { r != null && r !== !1 && (n[o] = t && T.isArray(r) ? r.join(", ") : r); }), n; } [Symbol.iterator]() { return Object.entries(this.toJSON())[Symbol.iterator](); } toString() { return Object.entries(this.toJSON()).map(([t, n]) => t + ": " + n).join(` `); } get [Symbol.toStringTag]() { return "AxiosHeaders"; } static from(t) { return t instanceof this ? t : new this(t); } static concat(t, ...n) { const r = new this(t); return n.forEach((o) => r.set(o)), r; } static accessor(t) { const r = (this[ll] = this[ll] = { accessors: {} }).accessors, o = this.prototype; function i(s) { const a = cr(s); r[a] || (gv(o, s), r[a] = !0); } return T.isArray(t) ? t.forEach(i) : i(t), this; } } ri.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]); T.reduceDescriptors(ri.prototype, ({ value: e }, t) => { let n = t[0].toUpperCase() + t.slice(1); return { get: () => e, set(r) { this[n] = r; } }; }); T.freezeMethods(ri); const Dt = ri; function _i(e, t) { const n = this || zs, r = t || n, o = Dt.from(r.headers); let i = r.data; return T.forEach(e, function(a) { i = a.call(n, i, o.normalize(), t ? t.status : void 0); }), o.normalize(), i; } function Iu(e) { return !!(e && e.__CANCEL__); } function $r(e, t, n) { ye.call(this, e ?? "canceled", ye.ERR_CANCELED, t, n), this.name = "CanceledError"; } T.inherits($r, ye, { __CANCEL__: !0 }); function vv(e, t, n) { const r = n.config.validateStatus; !n.status || !r || r(n.status) ? e(n) : t(new ye( "Request failed with status code " + n.status, [ye.ERR_BAD_REQUEST, ye.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4], n.config, n.request, n )); } const yv = kt.hasStandardBrowserEnv ? ( // Standard browser envs support document.cookie { write(e, t, n, r, o, i) { const s = [e + "=" + encodeURIComponent(t)]; T.isNumber(n) && s.push("expires=" + new Date(n).toGMTString()), T.isString(r) && s.push("path=" + r), T.isString(o) && s.push("domain=" + o), i === !0 && s.push("secure"), document.cookie = s.join("; "); }, read(e) { const t = document.cookie.match(new RegExp("(^|;\\s*)(" + e + ")=([^;]*)")); return t ? decodeURIComponent(t[3]) : null; }, remove(e) { this.write(e, "", Date.now() - 864e5); } } ) : ( // Non-standard browser env (web workers, react-native) lack needed support. { write() { }, read() { return null; }, remove() { } } ); function pv(e) { return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e); } function bv(e, t) { return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e; } function Fu(e, t) { return e && !pv(t) ? bv(e, t) : t; } const Cv = kt.hasStandardBrowserEnv ? ( // Standard browser envs have full support of the APIs needed to test // whether the request URL is of the same origin as current location. function() { const t = /(msie|trident)/i.test(navigator.userAgent), n = document.createElement("a"); let r; function o(i) { let s = i; return t && (n.setAttribute("href", s), s = n.href), n.setAttribute("href", s), { href: n.href, protocol: n.protocol ? n.protocol.replace(/:$/, "") : "", host: n.host, search: n.search ? n.search.replace(/^\?/, "") : "", hash: n.hash ? n.hash.replace(/^#/, "") : "", hostname: n.hostname, port: n.port, pathname: n.pathname.charAt(0) === "/" ? n.pathname : "/" + n.pathname }; } return r = o(window.location.href), function(s) { const a = T.isString(s) ? o(s) : s; return a.protocol === r.protocol && a.host === r.host; }; }() ) : ( // Non standard browser envs (web workers, react-native) lack needed support. /* @__PURE__ */ function() { return function() { return !0; }; }() ); function wv(e) { const t = /^([-+\w]{1,25})(:?\/\/|:)/.exec(e); return t && t[1] || ""; } function Sv(e, t) { e = e || 10; const n = new Array(e), r = new Array(e); let o = 0, i = 0, s; return t = t !== void 0 ? t : 1e3, function(l) { const c = Date.now(), u = r[i]; s || (s = c), n[o] = l, r[o] = c; let d = i, m = 0; for (; d !== o; ) m += n[d++], d = d % e; if (o = (o + 1) % e, o === i && (i = (i + 1) % e), c - s < t) return; const h = u && c - u; return h ? Math.round(m * 1e3 / h) : void 0; }; } function cl(e, t) { let n = 0; const r = Sv(50, 250); return (o) => { const i = o.loaded, s = o.lengthComputable ? o.total : void 0, a = i - n, l = r(a), c = i <= s; n = i; const u = { loaded: i, total: s, progress: s ? i / s : void 0, bytes: a, rate: l || void 0, estimated: l && s && c ? (s - i) / l : void 0, event: o }; u[t ? "download" : "upload"] = !0, e(u); }; } const _v = typeof XMLHttpRequest < "u", xv = _v && function(e) { return new Promise(function(n, r) { let o = e.data; const i = Dt.from(e.headers).normalize(); let { responseType: s, withXSRFToken: a } = e, l; function c() { e.cancelToken && e.cancelToken.unsubscribe(l), e.signal && e.signal.removeEventListener("abort", l); } let u; if (T.isFormData(o)) { if (kt.hasStandardBrowserEnv || kt.hasStandardBrowserWebWorkerEnv) i.setContentType(!1); else if ((u = i.getContentType()) !== !1) { const [f, ...y] = u ? u.split(";").map((w) => w.trim()).filter(Boolean) : []; i.setContentType([f || "multipart/form-data", ...y].join("; ")); } } let d = new XMLHttpRequest(); if (e.auth) { const f = e.auth.username || "", y = e.auth.password ? unescape(encodeURIComponent(e.auth.password)) : ""; i.set("Authorization", "Basic " + btoa(f + ":" + y)); } const m = Fu(e.baseURL, e.url); d.open(e.method.toUpperCase(), Pu(m, e.params, e.paramsSerializer), !0), d.timeout = e.timeout; function h() { if (!d) return; const f = Dt.from( "getAllResponseHeaders" in d && d.getAllResponseHeaders() ), w = { data: !s || s === "text" || s === "json" ? d.responseText : d.response, status: d.status, statusText: d.statusText, headers: f, config: e, request: d }; vv(function(A) { n(A), c(); }, function(A) { r(A), c(); }, w), d = null; } if ("onloadend" in d ? d.onloadend = h : d.onreadystatechange = function() { !d || d.readyState !== 4 || d.status === 0 && !(d.responseURL && d.responseURL.indexOf("file:") === 0) || setTimeout(h); }, d.onabort = function() { d && (r(new ye("Request aborted", ye.ECONNABORTED, e, d)), d = null); }, d.onerror = function() { r(new ye("Network Error", ye.ERR_NETWORK, e, d)), d = null; }, d.ontimeout = function() { let y = e.timeout ? "timeout of " + e.timeout + "ms exceeded" : "timeout exceeded"; const w = e.transitional || Tu; e.timeoutErrorMessage && (y = e.timeoutErrorMessage), r(new ye( y, w.clarifyTimeoutError ? ye.ETIMEDOUT : ye.ECONNABORTED, e, d )), d = null; }, kt.hasStandardBrowserEnv && (a && T.isFunction(a) && (a = a(e)), a || a !== !1 && Cv(m))) { const f = e.xsrfHeaderName && e.xsrfCookieName && yv.read(e.xsrfCookieName); f && i.set(e.xsrfHeaderName, f); } o === void 0 && i.setContentType(null), "setRequestHeader" in d && T.forEach(i.toJSON(), function(y, w) { d.setRequestHeader(w, y); }), T.isUndefined(e.withCredentials) || (d.withCredentials = !!e.withCredentials), s && s !== "json" && (d.responseType = e.responseType), typeof e.onDownloadProgress == "function" && d.addEventListener("progress", cl(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && d.upload && d.upload.addEventListener("progress", cl(e.onUploadProgress)), (e.cancelToken || e.signal) && (l = (f) => { d && (r(!f || f.type ? new $r(null, e, d) : f), d.abort(), d = null); }, e.cancelToken && e.cancelToken.subscribe(l), e.signal && (e.signal.aborted ? l() : e.signal.addEventListener("abort", l))); const g = wv(m); if (g && kt.protocols.indexOf(g) === -1) { r(new ye("Unsupported protocol " + g + ":", ye.ERR_BAD_REQUEST, e)); return; } d.send(o || null); }); }, Yi = { http: Yg, xhr: xv }; T.forEach(Yi, (e, t) => { if (e) { try { Object.defineProperty(e, "name", { value: t }); } catch { } Object.defineProperty(e, "adapterName", { value: t }); } }); const ul = (e) => `- ${e}`, Av = (e) => T.isFunction(e) || e === null || e === !1, Bu = { getAdapter: (e) => { e = T.isArray(e) ? e : [e]; const { length: t } = e; let n, r; const o = {}; for (let i = 0; i < t; i++) { n = e[i]; let s; if (r = n, !Av(n) && (r = Yi[(s = String(n)).toLowerCase()], r === void 0)) throw new ye(`Unknown adapter '${s}'`); if (r) break; o[s || "#" + i] = r; } if (!r) { const i = Object.entries(o).map( ([a, l]) => `adapter ${a} ` + (l === !1 ? "is not supported by the environment" : "is not available in the build") ); let s = t ? i.length > 1 ? `since : ` + i.map(ul).join(` `) : " " + ul(i[0]) : "as no adapter specified"; throw new ye( "There is no suitable adapter to dispatch the request " + s, "ERR_NOT_SUPPORT" ); } return r; }, adapters: Yi }; function xi(e) { if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted) throw new $r(null, e); } function dl(e) { return xi(e), e.headers = Dt.from(e.headers), e.data = _i.call( e, e.transformRequest ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), Bu.getAdapter(e.adapter || zs.adapter)(e).then(function(r) { return xi(e), r.data = _i.call( e, e.transformResponse, r ), r.headers = Dt.from(r.headers), r; }, function(r) { return Iu(r) || (xi(e), r && r.response && (r.response.data = _i.call( e, e.transformResponse, r.response ), r.response.headers = Dt.from(r.response.headers))), Promise.reject(r); }); } const fl = (e) => e instanceof Dt ? { ...e } : e; function zn(e, t) { t = t || {}; const n = {}; function r(c, u, d) { return T.isPlainObject(c) && T.isPlainObject(u) ? T.merge.call({ caseless: d }, c, u) : T.isPlainObject(u) ? T.merge({}, u) : T.isArray(u) ? u.slice() : u; } function o(c, u, d) { if (T.isUndefined(u)) { if (!T.isUndefined(c)) return r(void 0, c, d); } else return r(c, u, d); } function i(c, u) { if (!T.isUndefined(u)) return r(void 0, u); } function s(c, u) { if (T.isUndefined(u)) { if (!T.isUndefined(c)) return r(void 0, c); } else return r(void 0, u); } function a(c, u, d) { if (d in t) return r(c, u); if (d in e) return r(void 0, c); } const l = { url: i, method: i, data: i, baseURL: s, transformRequest: s, transformResponse: s, paramsSerializer: s, timeout: s, timeoutMessage: s, withCredentials: s, withXSRFToken: s, adapter: s, responseType: s, xsrfCookieName: s, xsrfHeaderName: s, onUploadProgress: s, onDownloadProgress: s, decompress: s, maxContentLength: s, maxBodyLength: s, beforeRedirect: s, transport: s, httpAgent: s, httpsAgent: s, cancelToken: s, socketPath: s, responseEncoding: s, validateStatus: a, headers: (c, u) => o(fl(c), fl(u), !0) }; return T.forEach(Object.keys(Object.assign({}, e, t)), function(u) { const d = l[u] || o, m = d(e[u], t[u], u); T.isUndefined(m) && d !== a || (n[u] = m); }), n; } const Ru = "1.6.8", Gs = {}; ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => { Gs[e] = function(r) { return typeof r === e || "a" + (t < 1 ? "n " : " ") + e; }; }); const ml = {}; Gs.transitional = function(t, n, r) { function o(i, s) { return "[Axios v" + Ru + "] Transitional option '" + i + "'" + s + (r ? ". " + r : ""); } return (i, s, a) => { if (t === !1) throw new ye( o(s, " has been removed" + (n ? " in " + n : "")), ye.ERR_DEPRECATED ); return n && !ml[s] && (ml[s] = !0, console.warn( o( s, " has been deprecated since v" + n + " and will be removed in the near future" ) )), t ? t(i, s, a) : !0; }; }; function Ev(e, t, n) { if (typeof e != "object") throw new ye("options must be an object", ye.ERR_BAD_OPTION_VALUE); const r = Object.keys(e); let o = r.length; for (; o-- > 0; ) { const i = r[o], s = t[i]; if (s) { const a = e[i], l = a === void 0 || s(a, i, e); if (l !== !0) throw new ye("option " + i + " must be " + l, ye.ERR_BAD_OPTION_VALUE); continue; } if (n !== !0) throw new ye("Unknown option " + i, ye.ERR_BAD_OPTION); } } const Ji = { assertOptions: Ev, validators: Gs }, Yt = Ji.validators; class ko { constructor(t) { this.defaults = t, this.interceptors = { request: new al(), response: new al() }; } /** * Dispatch a request * * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults) * @param {?Object} config * * @returns {Promise} The Promise to be fulfilled */ async request(t, n) { try { return await this._request(t, n); } catch (r) { if (r instanceof Error) { let o; Error.captureStackTrace ? Error.captureStackTrace(o = {}) : o = new Error(); const i = o.stack ? o.stack.replace(/^.+\n/, "") : ""; r.stack ? i && !String(r.stack).endsWith(i.replace(/^.+\n.+\n/, "")) && (r.stack += ` ` + i) : r.stack = i; } throw r; } } _request(t, n) { typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = zn(this.defaults, n); const { transitional: r, paramsSerializer: o, headers: i } = n; r !== void 0 && Ji.assertOptions(r, { silentJSONParsing: Yt.transitional(Yt.boolean), forcedJSONParsing: Yt.transitional(Yt.boolean), clarifyTimeoutError: Yt.transitional(Yt.boolean) }, !1), o != null && (T.isFunction(o) ? n.paramsSerializer = { serialize: o } : Ji.assertOptions(o, { encode: Yt.function, serialize: Yt.function }, !0)), n.method = (n.method || this.defaults.method || "get").toLowerCase(); let s = i && T.merge( i.common, i[n.method] ); i && T.forEach( ["delete", "get", "head", "post", "put", "patch", "common"], (g) => { delete i[g]; } ), n.headers = Dt.concat(s, i); const a = []; let l = !0; this.interceptors.request.forEach(function(f) { typeof f.runWhen == "function" && f.runWhen(n) === !1 || (l = l && f.synchronous, a.unshift(f.fulfilled, f.rejected)); }); const c = []; this.interceptors.response.forEach(function(f) { c.push(f.fulfilled, f.rejected); }); let u, d = 0, m; if (!l) { const g = [dl.bind(this), void 0]; for (g.unshift.apply(g, a), g.push.apply(g, c), m = g.length, u = Promise.resolve(n); d < m; ) u = u.then(g[d++], g[d++]); return u; } m = a.length; let h = n; for (d = 0; d < m; ) { const g = a[d++], f = a[d++]; try { h = g(h); } catch (y) { f.call(this, y); break; } } try { u = dl.call(this, h); } catch (g) { return Promise.reject(g); } for (d = 0, m = c.length; d < m; ) u = u.then(c[d++], c[d++]); return u; } getUri(t) { t = zn(this.defaults, t); const n = Fu(t.baseURL, t.url); return Pu(n, t.params, t.paramsSerializer); } } T.forEach(["delete", "get", "head", "options"], function(t) { ko.prototype[t] = function(n, r) { return this.request(zn(r || {}, { method: t, url: n, data: (r || {}).data })); }; }); T.forEach(["post", "put", "patch"], function(t) { function n(r) { return function(i, s, a) { return this.request(zn(a || {}, { method: t, headers: r ? { "Content-Type": "multipart/form-data" } : {}, url: i, data: s })); }; } ko.prototype[t] = n(), ko.prototype[t + "Form"] = n(!0); }); const ho = ko; class Ks { constructor(t) { if (typeof t != "function") throw new TypeError("executor must be a function."); let n; this.promise = new Promise(function(i) { n = i; }); const r = this; this.promise.then((o) => { if (!r._listeners) return; let i = r._listeners.length; for (; i-- > 0; ) r._listeners[i](o); r._listeners = null; }), this.promise.then = (o) => { let i; const s = new Promise((a) => { r.subscribe(a), i = a; }).then(o); return s.cancel = function() { r.unsubscribe(i); }, s; }, t(function(i, s, a) { r.reason || (r.reason = new $r(i, s, a), n(r.reason)); }); } /** * Throws a `CanceledError` if cancellation has been requested. */ throwIfRequested() { if (this.reason) throw this.reason; } /** * Subscribe to the cancel signal */ subscribe(t) { if (this.reason) { t(this.reason); return; } this._listeners ? this._listeners.push(t) : this._listeners = [t]; } /** * Unsubscribe from the cancel signal */ unsubscribe(t) { if (!this._listeners) return; const n = this._listeners.indexOf(t); n !== -1 && this._listeners.splice(n, 1); } /** * Returns an object that contains a new `CancelToken` and a function that, when called, * cancels the `CancelToken`. */ static source() { let t; return { token: new Ks(function(o) { t = o; }), cancel: t }; } } const kv = Ks; function Pv(e) { return function(n) { return e.apply(null, n); }; } function Tv(e) { return T.isObject(e) && e.isAxiosError === !0; } const Zi = { Continue: 100, SwitchingProtocols: 101, Processing: 102, EarlyHints: 103, Ok: 200, Created: 201, Accepted: 202, NonAuthoritativeInformation: 203, NoContent: 204, ResetContent: 205, PartialContent: 206, MultiStatus: 207, AlreadyReported: 208, ImUsed: 226, MultipleChoices: 300, MovedPermanently: 301, Found: 302, SeeOther: 303, NotModified: 304, UseProxy: 305, Unused: 306, TemporaryRedirect: 307, PermanentRedirect: 308, BadRequest: 400, Unauthorized: 401, PaymentRequired: 402, Forbidden: 403, NotFound: 404, MethodNotAllowed: 405, NotAcceptable: 406, ProxyAuthenticationRequired: 407, RequestTimeout: 408, Conflict: 409, Gone: 410, LengthRequired: 411, PreconditionFailed: 412, PayloadTooLarge: 413, UriTooLong: 414, UnsupportedMediaType: 415, RangeNotSatisfiable: 416, ExpectationFailed: 417, ImATeapot: 418, MisdirectedRequest: 421, UnprocessableEntity: 422, Locked: 423, FailedDependency: 424, TooEarly: 425, UpgradeRequired: 426, PreconditionRequired: 428, TooManyRequests: 429, RequestHeaderFieldsTooLarge: 431, UnavailableForLegalReasons: 451, InternalServerError: 500, NotImplemented: 501, BadGateway: 502, ServiceUnavailable: 503, GatewayTimeout: 504, HttpVersionNotSupported: 505, VariantAlsoNegotiates: 506, InsufficientStorage: 507, LoopDetected: 508, NotExtended: 510, NetworkAuthenticationRequired: 511 }; Object.entries(Zi).forEach(([e, t]) => { Zi[t] = e; }); const Ov = Zi; function Vu(e) { const t = new ho(e), n = vu(ho.prototype.request, t); return T.extend(n, ho.prototype, t, { allOwnKeys: !0 }), T.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(o) { return Vu(zn(e, o)); }, n; } const Le = Vu(zs); Le.Axios = ho; Le.CanceledError = $r; Le.CancelToken = kv; Le.isCancel = Iu; Le.VERSION = Ru; Le.toFormData = ni; Le.AxiosError = ye; Le.Cancel = Le.CanceledError; Le.all = function(t) { return Promise.all(t); }; Le.spread = Pv; Le.isAxiosError = Tv; Le.mergeConfig = zn; Le.AxiosHeaders = Dt; Le.formToJSON = (e) => Mu(T.isHTMLForm(e) ? new FormData(e) : e); Le.getAdapter = Bu.getAdapter; Le.HttpStatusCode = Ov; Le.default = Le; const Mv = { "Amazon Silk": "amazon_silk", "Android Browser": "android", Bada: "bada", BlackBerry: "blackberry", Chrome: "chrome", Chromium: "chromium", Electron: "electron", Epiphany: "epiphany", Firefox: "firefox", Focus: "focus", Generic: "generic", "Google Search": "google_search", Googlebot: "googlebot", "Internet Explorer": "ie", "K-Meleon": "k_meleon", Maxthon: "maxthon", "Microsoft Edge": "edge", "MZ Browser": "mz", "NAVER Whale Browser": "naver", Opera: "opera", "Opera Coast": "opera_coast", PhantomJS: "phantomjs", Puffin: "puffin", QupZilla: "qupzilla", QQ: "qq", QQLite: "qqlite", Safari: "safari", Sailfish: "sailfish", "Samsung Internet for Android": "samsung_internet", SeaMonkey: "seamonkey", Sleipnir: "sleipnir", Swing: "swing", Tizen: "tizen", "UC Browser": "uc", Vivaldi: "vivaldi", "WebOS Browser": "webos", WeChat: "wechat", "Yandex Browser": "yandex", Roku: "roku" }, Lu = { amazon_silk: "Amazon Silk", android: "Android Browser", bada: "Bada", blackberry: "BlackBerry", chrome: "Chrome", chromium: "Chromium", electron: "Electron", epiphany: "Epiphany", firefox: "Firefox", focus: "Focus", generic: "Generic", googlebot: "Googlebot", google_search: "Google Search", ie: "Internet Explorer", k_meleon: "K-Meleon", maxthon: "Maxthon", edge: "Microsoft Edge", mz: "MZ Browser", naver: "NAVER Whale Browser", opera: "Opera", opera_coast: "Opera Coast", phantomjs: "PhantomJS", puffin: "Puffin", qupzilla: "QupZilla", qq: "QQ Browser", qqlite: "QQ Browser Lite", safari: "Safari", sailfish: "Sailfish", samsung_internet: "Samsung Internet for Android", seamonkey: "SeaMonkey", sleipnir: "Sleipnir", swing: "Swing", tizen: "Tizen", uc: "UC Browser", vivaldi: "Vivaldi", webos: "WebOS Browser", wechat: "WeChat", yandex: "Yandex Browser" }, Be = { tablet: "tablet", mobile: "mobile", desktop: "desktop", tv: "tv" }, Ye = { WindowsPhone: "Windows Phone", Windows: "Windows", MacOS: "macOS", iOS: "iOS", Android: "Android", WebOS: "WebOS", BlackBerry: "BlackBerry", Bada: "Bada", Tizen: "Tizen", Linux: "Linux", ChromeOS: "Chrome OS", PlayStation4: "PlayStation 4", Roku: "Roku" }, Zt = { EdgeHTML: "EdgeHTML", Blink: "Blink", Trident: "Trident", Presto: "Presto", Gecko: "Gecko", WebKit: "WebKit" }; class I { /** * Get first matched item for a string * @param {RegExp} regexp * @param {String} ua * @return {Array|{index: number, input: string}|*|boolean|string} */ static getFirstMatch(t, n) { const r = n.match(t); return r && r.length > 0 && r[1] || ""; } /** * Get second matched item for a string * @param regexp * @param {String} ua * @return {Array|{index: number, input: string}|*|boolean|string} */ static getSecondMatch(t, n) { const r = n.match(t); return r && r.length > 1 && r[2] || ""; } /** * Match a regexp and return a constant or undefined * @param {RegExp} regexp * @param {String} ua * @param {*} _const Any const that will be returned if regexp matches the string * @return {*} */ static matchAndReturnConst(t, n, r) { if (t.test(n)) return r; } static getWindowsVersionName(t) { switch (t) { case "NT": return "NT"; case "XP": return "XP"; case "NT 5.0": return "2000"; case "NT 5.1": return "XP"; case "NT 5.2": return "2003"; case "NT 6.0": return "Vista"; case "NT 6.1": return "7"; case "NT 6.2": return "8"; case "NT 6.3": return "8.1"; case "NT 10.0": return "10"; default: return; } } /** * Get macOS version name * 10.5 - Leopard * 10.6 - Snow Leopard * 10.7 - Lion * 10.8 - Mountain Lion * 10.9 - Mavericks * 10.10 - Yosemite * 10.11 - El Capitan * 10.12 - Sierra * 10.13 - High Sierra * 10.14 - Mojave * 10.15 - Catalina * * @example * getMacOSVersionName("10.14") // 'Mojave' * * @param {string} version * @return {string} versionName */ static getMacOSVersionName(t) { const n = t.split(".").splice(0, 2).map((r) => parseInt(r, 10) || 0); if (n.push(0), n[0] === 10) switch (n[1]) { case 5: return "Leopard"; case 6: return "Snow Leopard"; case 7: return "Lion"; case 8: return "Mountain Lion"; case 9: return "Mavericks"; case 10: return "Yosemite"; case 11: return "El Capitan"; case 12: return "Sierra"; case 13: return "High Sierra"; case 14: return "Mojave"; case 15: return "Catalina"; default: return; } } /** * Get Android version name * 1.5 - Cupcake * 1.6 - Donut * 2.0 - Eclair * 2.1 - Eclair * 2.2 - Froyo * 2.x - Gingerbread * 3.x - Honeycomb * 4.0 - Ice Cream Sandwich * 4.1 - Jelly Bean * 4.4 - KitKat * 5.x - Lollipop * 6.x - Marshmallow * 7.x - Nougat * 8.x - Oreo * 9.x - Pie * * @example * getAndroidVersionName("7.0") // 'Nougat' * * @param {string} version * @return {string} versionName */ static getAndroidVersionName(t) { const n = t.split(".").splice(0, 2).map((r) => parseInt(r, 10) || 0); if (n.push(0), !(n[0] === 1 && n[1] < 5)) { if (n[0] === 1 && n[1] < 6) return "Cupcake"; if (n[0] === 1 && n[1] >= 6) return "Donut"; if (n[0] === 2 && n[1] < 2) return "Eclair"; if (n[0] === 2 && n[1] === 2) return "Froyo"; if (n[0] === 2 && n[1] > 2) return "Gingerbread"; if (n[0] === 3) return "Honeycomb"; if (n[0] === 4 && n[1] < 1) return "Ice Cream Sandwich"; if (n[0] === 4 && n[1] < 4) return "Jelly Bean"; if (n[0] === 4 && n[1] >= 4) return "KitKat"; if (n[0] === 5) return "Lollipop"; if (n[0] === 6) return "Marshmallow"; if (n[0] === 7) return "Nougat"; if (n[0] === 8) return "Oreo"; if (n[0] === 9) return "Pie"; } } /** * Get version precisions count * * @example * getVersionPrecision("1.10.3") // 3 * * @param {string} version * @return {number} */ static getVersionPrecision(t) { return t.split(".").length; } /** * Calculate browser version weight * * @example * compareVersions('1.10.2.1', '1.8.2.1.90') // 1 * compareVersions('1.010.2.1', '1.09.2.1.90'); // 1 * compareVersions('1.10.2.1', '1.10.2.1'); // 0 * compareVersions('1.10.2.1', '1.0800.2'); // -1 * compareVersions('1.10.2.1', '1.10', true); // 0 * * @param {String} versionA versions versions to compare * @param {String} versionB versions versions to compare * @param {boolean} [isLoose] enable loose comparison * @return {Number} comparison result: -1 when versionA is lower, * 1 when versionA is bigger, 0 when both equal */ /* eslint consistent-return: 1 */ static compareVersions(t, n, r = !1) { const o = I.getVersionPrecision(t), i = I.getVersionPrecision(n); let s = Math.max(o, i), a = 0; const l = I.map([t, n], (c) => { const u = s - I.getVersionPrecision(c), d = c + new Array(u + 1).join(".0"); return I.map(d.split("."), (m) => new Array(20 - m.length).join("0") + m).reverse(); }); for (r && (a = s - Math.min(o, i)), s -= 1; s >= a; ) { if (l[0][s] > l[1][s]) return 1; if (l[0][s] === l[1][s]) { if (s === a) return 0; s -= 1; } else if (l[0][s] < l[1][s]) return -1; } } /** * Array::map polyfill * * @param {Array} arr * @param {Function} iterator * @return {Array} */ static map(t, n) { const r = []; let o; if (Array.prototype.map) return Array.prototype.map.call(t, n); for (o = 0; o < t.length; o += 1) r.push(n(t[o])); return r; } /** * Array::find polyfill * * @param {Array} arr * @param {Function} predicate * @return {Array} */ static find(t, n) { let r, o; if (Array.prototype.find) return Array.prototype.find.call(t, n); for (r = 0, o = t.length; r < o; r += 1) { const i = t[r]; if (n(i, r)) return i; } } /** * Object::assign polyfill * * @param {Object} obj * @param {Object} ...objs * @return {Object} */ static assign(t, ...n) { const r = t; let o, i; if (Object.assign) return Object.assign(t, ...n); for (o = 0, i = n.length; o < i; o += 1) { const s = n[o]; typeof s == "object" && s !== null && Object.keys(s).forEach((l) => { r[l] = s[l]; }); } return t; } /** * Get short version/alias for a browser name * * @example * getBrowserAlias('Microsoft Edge') // edge * * @param {string} browserName * @return {string} */ static getBrowserAlias(t) { return Mv[t]; } /** * Get short version/alias for a browser name * * @example * getBrowserAlias('edge') // Microsoft Edge * * @param {string} browserAlias * @return {string} */ static getBrowserTypeByAlias(t) { return Lu[t] || ""; } } const Ee = /version\/(\d+(\.?_?\d+)+)/i, Iv = [ /* Googlebot */ { test: [/googlebot/i], describe(e) { const t = { name: "Googlebot" }, n = I.getFirstMatch(/googlebot\/(\d+(\.\d+))/i, e) || I.getFirstMatch(Ee, e); return n && (t.version = n), t; } }, /* Opera < 13.0 */ { test: [/opera/i], describe(e) { const t = { name: "Opera" }, n = I.getFirstMatch(Ee, e) || I.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i, e); return n && (t.version = n), t; } }, /* Opera > 13.0 */ { test: [/opr\/|opios/i], describe(e) { const t = { name: "Opera" }, n = I.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i, e) || I.getFirstMatch(Ee, e); return n && (t.version = n), t; } }, { test: [/SamsungBrowser/i], describe(e) { const t = { name: "Samsung Internet for Android" }, n = I.getFirstMatch(Ee, e) || I.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i, e); return n && (t.version = n), t; } }, { test: [/Whale/i], describe(e) { const t = { name: "NAVER Whale Browser" }, n = I.getFirstMatch(Ee, e) || I.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i, e); return n && (t.version = n), t; } }, { test: [/MZBrowser/i], describe(e) { const t = { name: "MZ Browser" }, n = I.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i, e) || I.getFirstMatch(Ee, e); return n && (t.version = n), t; } }, { test: [/focus/i], describe(e) { const t = { name: "Focus" }, n = I.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i, e) || I.getFirstMatch(Ee, e); return n && (t.version = n), t; } }, { test: [/swing/i], describe(e) { const t = { name: "Swing" }, n = I.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i, e) || I.getFirstMatch(Ee, e); return n && (t.version = n), t; } }, { test: [/coast/i], describe(e) { const t = { name: "Opera Coast" }, n = I.getFirstMatch(Ee, e) || I.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i, e); return n && (t.version = n), t; } }, { test: [/opt\/\d+(?:.?_?\d+)+/i], describe(e) { const t = { name: "Opera Touch" }, n = I.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i, e) || I.getFirstMatch(Ee, e); return n && (t.version = n), t; } }, { test: [/yabrowser/i], describe(e) { const t = { name: "Yandex Browser" }, n = I.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i, e) || I.getFirstMatch(Ee, e); return n && (t.version = n), t; } }, { test: [/ucbrowser/i], describe(e) { const t = { name: "UC Browser" }, n = I.getFirstMatch(Ee, e) || I.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i, e); return n && (t.version = n), t; } }, { test: [/Maxthon|mxios/i], describe(e) { const t = { name: "Maxthon" }, n = I.getFirstMatch(Ee, e) || I.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i, e); return n && (t.version = n), t; } }, { test: [/epiphany/i], describe(e) { const t = { name: "Epiphany" }, n = I.getFirstMatch(Ee, e) || I.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i, e); return n && (t.version = n), t; } }, { test: [/puffin/i], describe(e) { const t = { name: "Puffin" }, n = I.getFirstMatch(Ee, e) || I.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i, e); return n && (t.version = n), t; } }, { test: [/sleipnir/i], describe(e) { const t = { name: "Sleipnir" }, n = I.getFirstMatch(Ee, e) || I.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i, e); return n && (t.version = n), t; } }, { test: [/k-meleon/i], describe(e) { const t = { name: "K-Meleon" }, n = I.getFirstMatch(Ee, e) || I.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i, e); return n && (t.version = n), t; } }, { test: [/micromessenger/i], describe(e) { const t = { name: "WeChat" }, n = I.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i, e) || I.getFirstMatch(Ee, e); return n && (t.version = n), t; } }, { test: [/qqbrowser/i], describe(e) { const t = { name: /qqbrowserlite/i.test(e) ? "QQ Browser Lite" : "QQ Browser" }, n = I.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i, e) || I.getFirstMatch(Ee, e); return n && (t.version = n), t; } }, { test: [/msie|trident/i], describe(e) { const t = { name: "Internet Explorer" }, n = I.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i, e); return n && (t.version = n), t; } }, { test: [/\sedg\//i], describe(e) { const t = { name: "Microsoft Edge" }, n = I.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i, e); return n && (t.version = n), t; } }, { test: [/edg([ea]|ios)/i], describe(e) { const t = { name: "Microsoft Edge" }, n = I.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i, e); return n && (t.version = n), t; } }, { test: [/vivaldi/i], describe(e) { const t = { name: "Vivaldi" }, n = I.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i, e); return n && (t.version = n), t; } }, { test: [/seamonkey/i], describe(e) { const t = { name: "SeaMonkey" }, n = I.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i, e); return n && (t.version = n), t; } }, { test: [/sailfish/i], describe(e) { const t = { name: "Sailfish" }, n = I.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i, e); return n && (t.version = n), t; } }, { test: [/silk/i], describe(e) { const t = { name: "Amazon Silk" }, n = I.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i, e); return n && (t.version = n), t; } }, { test: [/phantom/i], describe(e) { const t = { name: "PhantomJS" }, n = I.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i, e); return n && (t.version = n), t; } }, { test: [/slimerjs/i], describe(e) { const t = { name: "SlimerJS" }, n = I.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i, e); return n && (t.version = n), t; } }, { test: [/blackberry|\bbb\d+/i, /rim\stablet/i], describe(e) { const t = { name: "BlackBerry" }, n = I.getFirstMatch(Ee, e) || I.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i, e); return n && (t.version = n), t; } }, { test: [/(web|hpw)[o0]s/i], describe(e) { const t = { name: "WebOS Browser" }, n = I.getFirstMatch(Ee, e) || I.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i, e); return n && (t.version = n), t; } }, { test: [/bada/i], describe(e) { const t = { name: "Bada" }, n = I.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i, e); return n && (t.version = n), t; } }, { test: [/tizen/i], describe(e) { const t = { name: "Tizen" }, n = I.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i, e) || I.getFirstMatch(Ee, e); return n && (t.version = n), t; } }, { test: [/qupzilla/i], describe(e) { const t = { name: "QupZilla" }, n = I.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i, e) || I.getFirstMatch(Ee, e); return n && (t.version = n), t; } }, { test: [/firefox|iceweasel|fxios/i], describe(e) { const t = { name: "Firefox" }, n = I.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i, e); return n && (t.version = n), t; } }, { test: [/electron/i], describe(e) { const t = { name: "Electron" }, n = I.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i, e); return n && (t.version = n), t; } }, { test: [/MiuiBrowser/i], describe(e) { const t = { name: "Miui" }, n = I.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i, e); return n && (t.version = n), t; } }, { test: [/chromium/i], describe(e) { const t = { name: "Chromium" }, n = I.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i, e) || I.getFirstMatch(Ee, e); return n && (t.version = n), t; } }, { test: [/chrome|crios|crmo/i], describe(e) { const t = { name: "Chrome" }, n = I.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i, e); return n && (t.version = n), t; } }, { test: [/GSA/i], describe(e) { const t = { name: "Google Search" }, n = I.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i, e); return n && (t.version = n), t; } }, /* Android Browser */ { test(e) { const t = !e.test(/like android/i), n = e.test(/android/i); return t && n; }, describe(e) { const t = { name: "Android Browser" }, n = I.getFirstMatch(Ee, e); return n && (t.version = n), t; } }, /* PlayStation 4 */ { test: [/playstation 4/i], describe(e) { const t = { name: "PlayStation 4" }, n = I.getFirstMatch(Ee, e); return n && (t.version = n), t; } }, /* Safari */ { test: [/safari|applewebkit/i], describe(e) { const t = { name: "Safari" }, n = I.getFirstMatch(Ee, e); return n && (t.version = n), t; } }, /* Something else */ { test: [/.*/i], describe(e) { const t = /^(.*)\/(.*) /, n = /^(.*)\/(.*)[ \t]\((.*)/, o = e.search("\\(") !== -1 ? n : t; return { name: I.getFirstMatch(o, e), version: I.getSecondMatch(o, e) }; } } ], Fv = [ /* Roku */ { test: [/Roku\/DVP/], describe(e) { const t = I.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i, e); return { name: Ye.Roku, version: t }; } }, /* Windows Phone */ { test: [/windows phone/i], describe(e) { const t = I.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i, e); return { name: Ye.WindowsPhone, version: t }; } }, /* Windows */ { test: [/windows /i], describe(e) { const t = I.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i, e), n = I.getWindowsVersionName(t); return { name: Ye.Windows, version: t, versionName: n }; } }, /* Firefox on iPad */ { test: [/Macintosh(.*?) FxiOS(.*?)\//], describe(e) { const t = { name: Ye.iOS }, n = I.getSecondMatch(/(Version\/)(\d[\d.]+)/, e); return n && (t.version = n), t; } }, /* macOS */ { test: [/macintosh/i], describe(e) { const t = I.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i, e).replace(/[_\s]/g, "."), n = I.getMacOSVersionName(t), r = { name: Ye.MacOS, version: t }; return n && (r.versionName = n), r; } }, /* iOS */ { test: [/(ipod|iphone|ipad)/i], describe(e) { const t = I.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i, e).replace(/[_\s]/g, "."); return { name: Ye.iOS, version: t }; } }, /* Android */ { test(e) { const t = !e.test(/like android/i), n = e.test(/android/i); return t && n; }, describe(e) { const t = I.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i, e), n = I.getAndroidVersionName(t), r = { name: Ye.Android, version: t }; return n && (r.versionName = n), r; } }, /* WebOS */ { test: [/(web|hpw)[o0]s/i], describe(e) { const t = I.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i, e), n = { name: Ye.WebOS }; return t && t.length && (n.version = t), n; } }, /* BlackBerry */ { test: [/blackberry|\bbb\d+/i, /rim\stablet/i], describe(e) { const t = I.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i, e) || I.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i, e) || I.getFirstMatch(/\bbb(\d+)/i, e); return { name: Ye.BlackBerry, version: t }; } }, /* Bada */ { test: [/bada/i], describe(e) { const t = I.getFirstMatch(/bada\/(\d+(\.\d+)*)/i, e); return { name: Ye.Bada, version: t }; } }, /* Tizen */ { test: [/tizen/i], describe(e) { const t = I.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i, e); return { name: Ye.Tizen, version: t }; } }, /* Linux */ { test: [/linux/i], describe() { return { name: Ye.Linux }; } }, /* Chrome OS */ { test: [/CrOS/], describe() { return { name: Ye.ChromeOS }; } }, /* Playstation 4 */ { test: [/PlayStation 4/], describe(e) { const t = I.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i, e); return { name: Ye.PlayStation4, version: t }; } } ], Bv = [ /* Googlebot */ { test: [/googlebot/i], describe() { return { type: "bot", vendor: "Google" }; } }, /* Huawei */ { test: [/huawei/i], describe(e) { const t = I.getFirstMatch(/(can-l01)/i, e) && "Nova", n = { type: Be.mobile, vendor: "Huawei" }; return t && (n.model = t), n; } }, /* Nexus Tablet */ { test: [/nexus\s*(?:7|8|9|10).*/i], describe() { return { type: Be.tablet, vendor: "Nexus" }; } }, /* iPad */ { test: [/ipad/i], describe() { return { type: Be.tablet, vendor: "Apple", model: "iPad" }; } }, /* Firefox on iPad */ { test: [/Macintosh(.*?) FxiOS(.*?)\//], describe() { return { type: Be.tablet, vendor: "Apple", model: "iPad" }; } }, /* Amazon Kindle Fire */ { test: [/kftt build/i], describe() { return { type: Be.tablet, vendor: "Amazon", model: "Kindle Fire HD 7" }; } }, /* Another Amazon Tablet with Silk */ { test: [/silk/i], describe() { return { type: Be.tablet, vendor: "Amazon" }; } }, /* Tablet */ { test: [/tablet(?! pc)/i], describe() { return { type: Be.tablet }; } }, /* iPod/iPhone */ { test(e) { const t = e.test(/ipod|iphone/i), n = e.test(/like (ipod|iphone)/i); return t && !n; }, describe(e) { const t = I.getFirstMatch(/(ipod|iphone)/i, e); return { type: Be.mobile, vendor: "Apple", model: t }; } }, /* Nexus Mobile */ { test: [/nexus\s*[0-6].*/i, /galaxy nexus/i], describe() { return { type: Be.mobile, vendor: "Nexus" }; } }, /* Mobile */ { test: [/[^-]mobi/i], describe() { return { type: Be.mobile }; } }, /* BlackBerry */ { test(e) { return e.getBrowserName(!0) === "blackberry"; }, describe() { return { type: Be.mobile, vendor: "BlackBerry" }; } }, /* Bada */ { test(e) { return e.getBrowserName(!0) === "bada"; }, describe() { return { type: Be.mobile }; } }, /* Windows Phone */ { test(e) { return e.getBrowserName() === "windows phone"; }, describe() { return { type: Be.mobile, vendor: "Microsoft" }; } }, /* Android Tablet */ { test(e) { const t = Number(String(e.getOSVersion()).split(".")[0]); return e.getOSName(!0) === "android" && t >= 3; }, describe() { return { type: Be.tablet }; } }, /* Android Mobile */ { test(e) { return e.getOSName(!0) === "android"; }, describe() { return { type: Be.mobile }; } }, /* desktop */ { test(e) { return e.getOSName(!0) === "macos"; }, describe() { return { type: Be.desktop, vendor: "Apple" }; } }, /* Windows */ { test(e) { return e.getOSName(!0) === "windows"; }, describe() { return { type: Be.desktop }; } }, /* Linux */ { test(e) { return e.getOSName(!0) === "linux"; }, describe() { return { type: Be.desktop }; } }, /* PlayStation 4 */ { test(e) { return e.getOSName(!0) === "playstation 4"; }, describe() { return { type: Be.tv }; } }, /* Roku */ { test(e) { return e.getOSName(!0) === "roku"; }, describe() { return { type: Be.tv }; } } ], Rv = [ /* EdgeHTML */ { test(e) { return e.getBrowserName(!0) === "microsoft edge"; }, describe(e) { if (/\sedg\//i.test(e)) return { name: Zt.Blink }; const n = I.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i, e); return { name: Zt.EdgeHTML, version: n }; } }, /* Trident */ { test: [/trident/i], describe(e) { const t = { name: Zt.Trident }, n = I.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i, e); return n && (t.version = n), t; } }, /* Presto */ { test(e) { return e.test(/presto/i); }, describe(e) { const t = { name: Zt.Presto }, n = I.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i, e); return n && (t.version = n), t; } }, /* Gecko */ { test(e) { const t = e.test(/gecko/i), n = e.test(/like gecko/i); return t && !n; }, describe(e) { const t = { name: Zt.Gecko }, n = I.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i, e); return n && (t.version = n), t; } }, /* Blink */ { test: [/(apple)?webkit\/537\.36/i], describe() { return { name: Zt.Blink }; } }, /* WebKit */ { test: [/(apple)?webkit/i], describe(e) { const t = { name: Zt.WebKit }, n = I.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i, e); return n && (t.version = n), t; } } ]; class hl { /** * Create instance of Parser * * @param {String} UA User-Agent string * @param {Boolean} [skipParsing=false] parser can skip parsing in purpose of performance * improvements if you need to make a more particular parsing * like {@link Parser#parseBrowser} or {@link Parser#parsePlatform} * * @throw {Error} in case of empty UA String * * @constructor */ constructor(t, n = !1) { if (t == null || t === "") throw new Error("UserAgent parameter can't be empty"); this._ua = t, this.parsedResult = {}, n !== !0 && this.parse(); } /** * Get UserAgent string of current Parser instance * @return {String} User-Agent String of the current <Parser> object * * @public */ getUA() { return this._ua; } /** * Test a UA string for a regexp * @param {RegExp} regex * @return {Boolean} */ test(t) { return t.test(this._ua); } /** * Get parsed browser object * @return {Object} */ parseBrowser() { this.parsedResult.browser = {}; const t = I.find(Iv, (n) => { if (typeof n.test == "function") return n.test(this); if (n.test instanceof Array) return n.test.some((r) => this.test(r)); throw new Error("Browser's test function is not valid"); }); return t && (this.parsedResult.browser = t.describe(this.getUA())), this.parsedResult.browser; } /** * Get parsed browser object * @return {Object} * * @public */ getBrowser() { return this.parsedResult.browser ? this.parsedResult.browser : this.parseBrowser(); } /** * Get browser's name * @return {String} Browser's name or an empty string * * @public */ getBrowserName(t) { return t ? String(this.getBrowser().name).toLowerCase() || "" : this.getBrowser().name || ""; } /** * Get browser's version * @return {String} version of browser * * @public */ getBrowserVersion() { return this.getBrowser().version; } /** * Get OS * @return {Object} * * @example * this.getOS(); * { * name: 'macOS', * version: '10.11.12' * } */ getOS() { return this.parsedResult.os ? this.parsedResult.os : this.parseOS(); } /** * Parse OS and save it to this.parsedResult.os * @return {*|{}} */ parseOS() { this.parsedResult.os = {}; const t = I.find(Fv, (n) => { if (typeof n.test == "function") return n.test(this); if (n.test instanceof Array) return n.test.some((r) => this.test(r)); throw new Error("Browser's test function is not valid"); }); return t && (this.parsedResult.os = t.describe(this.getUA())), this.parsedResult.os; } /** * Get OS name * @param {Boolean} [toLowerCase] return lower-cased value * @return {String} name of the OS — macOS, Windows, Linux, etc. */ getOSName(t) { const { name: n } = this.getOS(); return t ? String(n).toLowerCase() || "" : n || ""; } /** * Get OS version * @return {String} full version with dots ('10.11.12', '5.6', etc) */ getOSVersion() { return this.getOS().version; } /** * Get parsed platform * @return {{}} */ getPlatform() { return this.parsedResult.platform ? this.parsedResult.platform : this.parsePlatform(); } /** * Get platform name * @param {Boolean} [toLowerCase=false] * @return {*} */ getPlatformType(t = !1) { const { type: n } = this.getPlatform(); return t ? String(n).toLowerCase() || "" : n || ""; } /** * Get parsed platform * @return {{}} */ parsePlatform() { this.parsedResult.platform = {}; const t = I.find(Bv, (n) => { if (typeof n.test == "function") return n.test(this); if (n.test instanceof Array) return n.test.some((r) => this.test(r)); throw new Error("Browser's test function is not valid"); }); return t && (this.parsedResult.platform = t.describe(this.getUA())), this.parsedResult.platform; } /** * Get parsed engine * @return {{}} */ getEngine() { return this.parsedResult.engine ? this.parsedResult.engine : this.parseEngine(); } /** * Get engines's name * @return {String} Engines's name or an empty string * * @public */ getEngineName(t) { return t ? String(this.getEngine().name).toLowerCase() || "" : this.getEngine().name || ""; } /** * Get parsed platform * @return {{}} */ parseEngine() { this.parsedResult.engine = {}; const t = I.find(Rv, (n) => { if (typeof n.test == "function") return n.test(this); if (n.test instanceof Array) return n.test.some((r) => this.test(r)); throw new Error("Browser's test function is not valid"); }); return t && (this.parsedResult.engine = t.describe(this.getUA())), this.parsedResult.engine; } /** * Parse full information about the browser * @returns {Parser} */ parse() { return this.parseBrowser(), this.parseOS(), this.parsePlatform(), this.parseEngine(), this; } /** * Get parsed result * @return {ParsedResult} */ getResult() { return I.assign({}, this.parsedResult); } /** * Check if parsed browser matches certain conditions * * @param {Object} checkTree It's one or two layered object, * which can include a platform or an OS on the first layer * and should have browsers specs on the bottom-laying layer * * @returns {Boolean|undefined} Whether the browser satisfies the set conditions or not. * Returns `undefined` when the browser is no described in the checkTree object. * * @example * const browser = Bowser.getParser(window.navigator.userAgent); * if (browser.satisfies({chrome: '>118.01.1322' })) * // or with os * if (browser.satisfies({windows: { chrome: '>118.01.1322' } })) * // or with platforms * if (browser.satisfies({desktop: { chrome: '>118.01.1322' } })) */ satisfies(t) { const n = {}; let r = 0; const o = {}; let i = 0; if (Object.keys(t).forEach((a) => { const l = t[a]; typeof l == "string" ? (o[a] = l, i += 1) : typeof l == "object" && (n[a] = l, r += 1); }), r > 0) { const a = Object.keys(n), l = I.find(a, (u) => this.isOS(u)); if (l) { const u = this.satisfies(n[l]); if (u !== void 0) return u; } const c = I.find( a, (u) => this.isPlatform(u) ); if (c) { const u = this.satisfies(n[c]); if (u !== void 0) return u; } } if (i > 0) { const a = Object.keys(o), l = I.find(a, (c) => this.isBrowser(c, !0)); if (l !== void 0) return this.compareVersion(o[l]); } } /** * Check if the browser name equals the passed string * @param browserName The string to compare with the browser name * @param [includingAlias=false] The flag showing whether alias will be included into comparison * @returns {boolean} */ isBrowser(t, n = !1) { const r = this.getBrowserName().toLowerCase(); let o = t.toLowerCase(); const i = I.getBrowserTypeByAlias(o); return n && i && (o = i.toLowerCase()), o === r; } compareVersion(t) { let n = [0], r = t, o = !1; const i = this.getBrowserVersion(); if (typeof i == "string") return t[0] === ">" || t[0] === "<" ? (r = t.substr(1), t[1] === "=" ? (o = !0, r = t.substr(2)) : n = [], t[0] === ">" ? n.push(1) : n.push(-1)) : t[0] === "=" ? r = t.substr(1) : t[0] === "~" && (o = !0, r = t.substr(1)), n.indexOf( I.compareVersions(i, r, o) ) > -1; } isOS(t) { return this.getOSName(!0) === String(t).toLowerCase(); } isPlatform(t) { return this.getPlatformType(!0) === String(t).toLowerCase(); } isEngine(t) { return this.getEngineName(!0) === String(t).toLowerCase(); } /** * Is anything? Check if the browser is called "anything", * the OS called "anything" or the platform called "anything" * @param {String} anything * @param [includingAlias=false] The flag showing whether alias will be included into comparison * @returns {Boolean} */ is(t, n = !1) { return this.isBrowser(t, n) || this.isOS(t) || this.isPlatform(t); } /** * Check if any of the given values satisfies this.is(anything) * @param {String[]} anythings * @returns {Boolean} */ some(t = []) { return t.some((n) => this.is(n)); } } /*! * Bowser - a browser detector * https://github.com/lancedikson/bowser * MIT License | (c) Dustin Diaz 2012-2015 * MIT License | (c) Denis Demchenko 2015-2019 */ class Vv { /** * Creates a {@link Parser} instance * * @param {String} UA UserAgent string * @param {Boolean} [skipParsing=false] Will make the Parser postpone parsing until you ask it * explicitly. Same as `skipParsing` for {@link Parser}. * @returns {Parser} * @throws {Error} when UA is not a String * * @example * const parser = Bowser.getParser(window.navigator.userAgent); * const result = parser.getResult(); */ static getParser(t, n = !1) { if (typeof t != "string") throw new Error("UserAgent should be a string"); return new hl(t, n); } /** * Creates a {@link Parser} instance and runs {@link Parser.getResult} immediately * * @param UA * @return {ParsedResult} * * @example * const result = Bowser.parse(window.navigator.userAgent); */ static parse(t) { return new hl(t).getResult(); } static get BROWSER_MAP() { return Lu; } static get ENGINE_MAP() { return Zt; } static get OS_MAP() { return Ye; } static get PLATFORMS_MAP() { return Be; } } const $n = document.querySelector("script[data-channel]"), qs = $n == null ? void 0 : $n.getAttribute("data-company"), Xi = $n == null ? void 0 : $n.getAttribute("data-channel"); console.log("[RC] Script loaded with company:", qs, "and channel:", Xi); const Nu = "https://business.comparisure.co.za"; function Du() { console.log("[RC] Notifying server that script has loaded"); const e = Vv.getParser(window.navigator.userAgent); Le.post(`${Nu}/api/plugin-metrics/`, { company: qs, browser: e.getBrowser(), os: e.getOS(), platform: e.getPlatform(), domain: { hostName: window.location.hostname, href: window.location.href } }).then((t) => { console.log("[RC] Server notified that script has loaded"); }).catch((t) => { console.error("[RC] Error notifying server that script has loaded", t); }); } function $u(e, t) { return console.log("[RC] Triggering chat to:", Xi), Le.post(`${Nu}/api/channels/${Xi}/trigger/`, { user_name: e, user_external_id: t, company: qs }); } const Lv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, notifyScriptLoaded: Du, triggerChat: $u }, Symbol.toStringTag, { value: "Module" })), Nv = /* @__PURE__ */ Xn({ name: "ConversationWindow", components: { PhoneInput: hg }, props: { modelValue: Boolean }, data: () => ({ name: "", phoneNumber: "" }), methods: { startChat() { console.log("[RC] Start Chat", Lv), $u( this.name, this.phoneNumber ).then(() => { this.$emit("success"); }).catch((e) => { console.error("[RC] Error starting chat", e); }), this.isActive = !1; } }, computed: { isActive: { get() { return this.modelValue; }, set(e) { this.$emit("update:modelValue", e); } } } }), oi = (e) => (pm("data-v-ea9473f1"), e = e(), bm(), e), Dv = { class: "header" }, $v = /* @__PURE__ */ oi(() => /* @__PURE__ */ ht("h3", { class: "heading" }, "WhatsApp Chat", -1)), Hv = /* @__PURE__ */ oi(() => /* @__PURE__ */ ht("path", { d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" }, null, -1)), jv = /* @__PURE__ */ oi(() => /* @__PURE__ */ ht("path", { d: "M0 0h24v24H0z", fill: "none" }, null, -1)), Uv = [ Hv, jv ], Wv = { class: "body" }, zv = /* @__PURE__ */ oi(() => /* @__PURE__ */ ht("div", { class: "footer" }, [ /* @__PURE__ */ Un("Powered by"), /* @__PURE__ */ ht("a", { href: "https://rather.chat", target: "_blank" }, "rather.chat") ], -1)); function Gv(e, t, n, r, o, i) { const s = Nt("v-text-field"), a = Nt("phone-input"), l = Nt("v-btn"); return wn(), jn("div", { class: Jn([[e.isActive ? "is-active" : ""], "conversation-window"]) }, [ ht("div", Dv, [ $v, (wn(), jn("svg", { class: "icon-button", height: "24", viewBox: "0 0 24 24", width: "24", xmlns: "http://www.w3.org/2000/svg", onClick: t[0] || (t[0] = (c) => e.$emit("update:modelValue", !1)) }, Uv)) ]), ht("div", Wv, [ v(s, { variant: "outlined", label: "Name", style: { width: "100%" }, modelValue: e.name, "onUpdate:modelValue": t[1] || (t[1] = (c) => e.name = c) }, null, 8, ["modelValue"]), v(a, { modelValue: e.phoneNumber, "onUpdate:modelValue": t[2] || (t[2] = (c) => e.phoneNumber = c) }, null, 8, ["modelValue"]), v(l, { color: "green", block: "", onClick: e.startChat }, { default: Bn(() => [ Un("Start WhatsApp Chat") ]), _: 1 }, 8, ["onClick"]) ]), zv ], 2); } const Kv = /* @__PURE__ */ Nr(Nv, [["render", Gv], ["__scopeId", "data-v-ea9473f1"]]), qv = /* @__PURE__ */ Xn({ name: "AlertWindow", props: { modelValue: { type: Boolean, default: !1 } }, methods: { handleAnimationEnd() { this.isActive && (this.isActive = !1); } }, computed: { isActive: { get() { return this.modelValue; }, set(e) { this.$emit("update:modelValue", e); } } } }); function Yv(e, t, n, r, o, i) { return e.isActive ? (wn(), jn("div", { key: 0, class: Jn([[e.isActive ? "is-active" : ""], "container"]), onAnimationend: t[0] || (t[0] = (...s) => e.handleAnimationEnd && e.handleAnimationEnd(...s)) }, " Message Sent. Check your inbox. ", 34)) : fh("", !0); } const Jv = /* @__PURE__ */ Nr(qv, [["render", Yv], ["__scopeId", "data-v-d200ef99"]]), Zv = /* @__PURE__ */ Xn({ name: "App", components: { AlertWindow: Jv, WidgetButton: ag, ConversationWindow: Kv }, mounted() { console.debug("[RC] Widget Mounted"), Du(); }, data: () => ({ showWindow: !1, showAlert: !1 }) }), Xv = { class: "chat-container", id: "app" }; function Qv(e, t, n, r, o, i) { const s = Nt("conversation-window"), a = Nt("alert-window"), l = Nt("widget-button"); return wn(), jn("div", Xv, [ v(s, { modelValue: e.showWindow, "onUpdate:modelValue": t[0] || (t[0] = (c) => e.showWindow = c), onSuccess: t[1] || (t[1] = (c) => e.showAlert = !0) }, null, 8, ["modelValue"]), v(a, { modelValue: e.showAlert, "onUpdate:modelValue": t[2] || (t[2] = (c) => e.showAlert = c) }, null, 8, ["modelValue"]), v(l, { onClick: t[3] || (t[3] = (c) => e.showWindow = !e.showWindow), bounce: !e.showWindow }, null, 8, ["bounce"]) ]); } const ey = /* @__PURE__ */ Nr(Zv, [["render", Qv], ["__scopeId", "data-v-146e6ad4"]]); function Sn(e, t) { let n; function r() { n = Uo(), n.run(() => t.length ? t(() => { n == null || n.stop(), r(); }) : t()); } fe(e, (o) => { o && !n ? r() : o || (n == null || n.stop(), n = void 0); }, { immediate: !0 }), tt(() => { n == null || n.stop(); }); } const ke = typeof window < "u", Ys = ke && "IntersectionObserver" in window, ty = ke && ("ontouchstart" in window || window.navigator.maxTouchPoints > 0); function Hu(e, t, n) { const r = t.length - 1; if (r < 0) return e === void 0 ? n : e; for (let o = 0; o < r; o++) { if (e == null) return n; e = e[t[o]]; } return e == null || e[t[r]] === void 0 ? n : e[t[r]]; } function nr(e, t) { if (e === t) return !0; if (e instanceof Date && t instanceof Date && e.getTime() !== t.getTime() || e !== Object(e) || t !== Object(t)) return !1; const n = Object.keys(e); return n.length !== Object.keys(t).length ? !1 : n.every((r) => nr(e[r], t[r])); } function Qi(e, t, n) { return e == null || !t || typeof t != "string" ? n : e[t] !== void 0 ? e[t] : (t = t.replace(/\[(\w+)\]/g, ".$1"), t = t.replace(/^\./, ""), Hu(e, t.split("."), n)); } function Vt(e, t, n) { if (t === !0) return e === void 0 ? n : e; if (t == null || typeof t == "boolean") return n; if (e !== Object(e)) { if (typeof t != "function") return n; const o = t(e, n); return typeof o > "u" ? n : o; } if (typeof t == "string") return Qi(e, t, n); if (Array.isArray(t)) return Hu(e, t, n); if (typeof t != "function") return n; const r = t(e, n); return typeof r > "u" ? n : r; } function ju(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0; return Array.from({ length: e }, (n, r) => t + r); } function ge(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "px"; if (!(e == null || e === "")) return isNaN(+e) ? String(e) : isFinite(+e) ? `${Number(e)}${t}` : void 0; } function es(e) { return e !== null && typeof e == "object" && !Array.isArray(e); } function Uu(e) { if (e && "$el" in e) { const t = e.$el; return (t == null ? void 0 : t.nodeType) === Node.TEXT_NODE ? t.nextElementSibling : t; } return e; } const gl = Object.freeze({ enter: 13, tab: 9, delete: 46, esc: 27, space: 32, up: 38, down: 40, left: 37, right: 39, end: 35, home: 36, del: 46, backspace: 8, insert: 45, pageup: 33, pagedown: 34, shift: 16 }); function Ai(e, t) { return t.every((n) => e.hasOwnProperty(n)); } function Wu(e, t) { const n = {}, r = new Set(Object.keys(e)); for (const o of t) r.has(o) && (n[o] = e[o]); return n; } function vl(e, t, n) { const r = /* @__PURE__ */ Object.create(null), o = /* @__PURE__ */ Object.create(null); for (const i in e) t.some((s) => s instanceof RegExp ? s.test(i) : s === i) && !(n != null && n.some((s) => s === i)) ? r[i] = e[i] : o[i] = e[i]; return [r, o]; } function rr(e, t) { const n = { ...e }; return t.forEach((r) => delete n[r]), n; } function ny(e, t) { const n = {}; return t.forEach((r) => n[r] = e[r]), n; } const zu = /^on[^a-z]/, Js = (e) => zu.test(e), ry = ["onAfterscriptexecute", "onAnimationcancel", "onAnimationend", "onAnimationiteration", "onAnimationstart", "onAuxclick", "onBeforeinput", "onBeforescriptexecute", "onChange", "onClick", "onCompositionend", "onCompositionstart", "onCompositionupdate", "onContextmenu", "onCopy", "onCut", "onDblclick", "onFocusin", "onFocusout", "onFullscreenchange", "onFullscreenerror", "onGesturechange", "onGestureend", "onGesturestart", "onGotpointercapture", "onInput", "onKeydown", "onKeypress", "onKeyup", "onLostpointercapture", "onMousedown", "onMousemove", "onMouseout", "onMouseover", "onMouseup", "onMousewheel", "onPaste", "onPointercancel", "onPointerdown", "onPointerenter", "onPointerleave", "onPointermove", "onPointerout", "onPointerover", "onPointerup", "onReset", "onSelect", "onSubmit", "onTouchcancel", "onTouchend", "onTouchmove", "onTouchstart", "onTransitioncancel", "onTransitionend", "onTransitionrun", "onTransitionstart", "onWheel"]; function Gu(e) { const [t, n] = vl(e, [zu]), r = rr(t, ry), [o, i] = vl(n, ["class", "style", "id", /^data-/]); return Object.assign(o, t), Object.assign(i, r), [o, i]; } function wt(e) { return e == null ? [] : Array.isArray(e) ? e : [e]; } function oy(e, t) { let n = 0; const r = function() { for (var o = arguments.length, i = new Array(o), s = 0; s < o; s++) i[s] = arguments[s]; clearTimeout(n), n = setTimeout(() => e(...i), bt(t)); }; return r.clear = () => { clearTimeout(n); }, r.immediate = e, r; } function $t(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 1; return Math.max(t, Math.min(n, e)); } function yl(e, t) { let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "0"; return e + n.repeat(Math.max(0, t - e.length)); } function pl(e, t) { return (arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "0").repeat(Math.max(0, t - e.length)) + e; } function iy(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1; const n = []; let r = 0; for (; r < e.length; ) n.push(e.substr(r, t)), r += t; return n; } function ze() { let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 ? arguments[2] : void 0; const r = {}; for (const o in e) r[o] = e[o]; for (const o in t) { const i = e[o], s = t[o]; if (es(i) && es(s)) { r[o] = ze(i, s, n); continue; } if (Array.isArray(i) && Array.isArray(s) && n) { r[o] = n(i, s); continue; } r[o] = s; } return r; } function Ku(e) { return e.map((t) => t.type === Se ? Ku(t.children) : t).flat(); } function bn() { let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ""; if (bn.cache.has(e)) return bn.cache.get(e); const t = e.replace(/[^a-z]/gi, "-").replace(/\B([A-Z])/g, "-$1").toLowerCase(); return bn.cache.set(e, t), t; } bn.cache = /* @__PURE__ */ new Map(); function fr(e, t) { if (!t || typeof t != "object") return []; if (Array.isArray(t)) return t.map((n) => fr(e, n)).flat(1); if (t.suspense) return fr(e, t.ssContent); if (Array.isArray(t.children)) return t.children.map((n) => fr(e, n)).flat(1); if (t.component) { if (Object.getOwnPropertySymbols(t.component.provides).includes(e)) return [t.component]; if (t.component.subTree) return fr(e, t.component.subTree).flat(1); } return []; } function Zs(e) { const t = Ot({}), n = b(e); return Tt(() => { for (const r in n.value) t[r] = n.value[r]; }, { flush: "sync" }), ks(t); } function Po(e, t) { return e.includes(t); } function qu(e) { return e[2].toLowerCase() + e.slice(3); } const at = () => [Function, Array]; function bl(e, t) { return t = "on" + Yn(t), !!(e[t] || e[`${t}Once`] || e[`${t}Capture`] || e[`${t}OnceCapture`] || e[`${t}CaptureOnce`]); } function sy(e) { for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++) n[r - 1] = arguments[r]; if (Array.isArray(e)) for (const o of e) o(...n); else typeof e == "function" && e(...n); } function To(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0; const n = ["button", "[href]", 'input:not([type="hidden"])', "select", "textarea", "[tabindex]"].map((r) => `${r}${t ? ':not([tabindex="-1"])' : ""}:not([disabled])`).join(", "); return [...e.querySelectorAll(n)]; } function Yu(e, t, n) { let r, o = e.indexOf(document.activeElement); const i = t === "next" ? 1 : -1; do o += i, r = e[o]; while ((!r || r.offsetParent == null || !((n == null ? void 0 : n(r)) ?? !0)) && o < e.length && o >= 0); return r; } function Oo(e, t) { var r, o, i, s; const n = To(e); if (!t) (e === document.activeElement || !e.contains(document.activeElement)) && ((r = n[0]) == null || r.focus()); else if (t === "first") (o = n[0]) == null || o.focus(); else if (t === "last") (i = n.at(-1)) == null || i.focus(); else if (typeof t == "number") (s = n[t]) == null || s.focus(); else { const a = Yu(n, t); a ? a.focus() : Oo(e, t === "next" ? "first" : "last"); } } function Mo(e, t) { if (!(ke && typeof CSS < "u" && typeof CSS.supports < "u" && CSS.supports(`selector(${t})`))) return null; try { return !!e && e.matches(t); } catch { return null; } } function Ju(e) { return e.some((t) => _o(t) ? t.type === mt ? !1 : t.type !== Se || Ju(t.children) : !0) ? e : null; } function ay(e, t) { if (!ke || e === 0) return t(), () => { }; const n = window.setTimeout(t, e); return () => window.clearTimeout(n); } function ly(e, t) { const n = e.clientX, r = e.clientY, o = t.getBoundingClientRect(), i = o.left, s = o.top, a = o.right, l = o.bottom; return n >= i && n <= a && r >= s && r <= l; } function ts() { const e = de(), t = (n) => { e.value = n; }; return Object.defineProperty(t, "value", { enumerable: !0, get: () => e.value, set: (n) => e.value = n }), Object.defineProperty(t, "el", { enumerable: !0, get: () => Uu(e.value) }), t; } const Zu = ["top", "bottom"], cy = ["start", "end", "left", "right"]; function ns(e, t) { let [n, r] = e.split(" "); return r || (r = Po(Zu, n) ? "start" : Po(cy, n) ? "top" : "center"), { side: Cl(n, t), align: Cl(r, t) }; } function Cl(e, t) { return e === "start" ? t ? "right" : "left" : e === "end" ? t ? "left" : "right" : e; } function Ei(e) { return { side: { center: "center", top: "bottom", bottom: "top", left: "right", right: "left" }[e.side], align: e.align }; } function ki(e) { return { side: e.side, align: { center: "center", top: "bottom", bottom: "top", left: "right", right: "left" }[e.align] }; } function wl(e) { return { side: e.align, align: e.side }; } function Sl(e) { return Po(Zu, e.side) ? "y" : "x"; } class Cn { constructor(t) { let { x: n, y: r, width: o, height: i } = t; this.x = n, this.y = r, this.width = o, this.height = i; } get top() { return this.y; } get bottom() { return this.y + this.height; } get left() { return this.x; } get right() { return this.x + this.width; } } function _l(e, t) { return { x: { before: Math.max(0, t.left - e.left), after: Math.max(0, e.right - t.right) }, y: { before: Math.max(0, t.top - e.top), after: Math.max(0, e.bottom - t.bottom) } }; } function Xu(e) { return Array.isArray(e) ? new Cn({ x: e[0], y: e[1], width: 0, height: 0 }) : e.getBoundingClientRect(); } function Xs(e) { const t = e.getBoundingClientRect(), n = getComputedStyle(e), r = n.transform; if (r) { let o, i, s, a, l; if (r.startsWith("matrix3d(")) o = r.slice(9, -1).split(/, /), i = +o[0], s = +o[5], a = +o[12], l = +o[13]; else if (r.startsWith("matrix(")) o = r.slice(7, -1).split(/, /), i = +o[0], s = +o[3], a = +o[4], l = +o[5]; else return new Cn(t); const c = n.transformOrigin, u = t.x - a - (1 - i) * parseFloat(c), d = t.y - l - (1 - s) * parseFloat(c.slice(c.indexOf(" ") + 1)), m = i ? t.width / i : e.offsetWidth + 1, h = s ? t.height / s : e.offsetHeight + 1; return new Cn({ x: u, y: d, width: m, height: h }); } else return new Cn(t); } function Rn(e, t, n) { if (typeof e.animate > "u") return { finished: Promise.resolve() }; let r; try { r = e.animate(t, n); } catch { return { finished: Promise.resolve() }; } return typeof r.finished > "u" && (r.finished = new Promise((o) => { r.onfinish = () => { o(r); }; })), r; } const go = /* @__PURE__ */ new WeakMap(); function uy(e, t) { Object.keys(t).forEach((n) => { if (Js(n)) { const r = qu(n), o = go.get(e); if (t[n] == null) o == null || o.forEach((i) => { const [s, a] = i; s === r && (e.removeEventListener(r, a), o.delete(i)); }); else if (!o || ![...o].some((i) => i[0] === r && i[1] === t[n])) { e.addEventListener(r, t[n]); const i = o || /* @__PURE__ */ new Set(); i.add([r, t[n]]), go.has(e) || go.set(e, i); } } else t[n] == null ? e.removeAttribute(n) : e.setAttribute(n, t[n]); }); } function dy(e, t) { Object.keys(t).forEach((n) => { if (Js(n)) { const r = qu(n), o = go.get(e); o == null || o.forEach((i) => { const [s, a] = i; s === r && (e.removeEventListener(r, a), o.delete(i)); }); } else e.removeAttribute(n); }); } const In = 2.4, xl = 0.2126729, Al = 0.7151522, El = 0.072175, fy = 0.55, my = 0.58, hy = 0.57, gy = 0.62, ro = 0.03, kl = 1.45, vy = 5e-4, yy = 1.25, py = 1.25, Pl = 0.078, Tl = 12.82051282051282, oo = 0.06, Ol = 1e-3; function Ml(e, t) { const n = (e.r / 255) ** In, r = (e.g / 255) ** In, o = (e.b / 255) ** In, i = (t.r / 255) ** In, s = (t.g / 255) ** In, a = (t.b / 255) ** In; let l = n * xl + r * Al + o * El, c = i * xl + s * Al + a * El; if (l <= ro && (l += (ro - l) ** kl), c <= ro && (c += (ro - c) ** kl), Math.abs(c - l) < vy) return 0; let u; if (c > l) { const d = (c ** fy - l ** my) * yy; u = d < Ol ? 0 : d < Pl ? d - d * Tl * oo : d - oo; } else { const d = (c ** gy - l ** hy) * py; u = d > -Ol ? 0 : d > -Pl ? d - d * Tl * oo : d + oo; } return u * 100; } function by(e, t) { t = Array.isArray(t) ? t.slice(0, -1).map((n) => `'${n}'`).join(", ") + ` or '${t.at(-1)}'` : `'${t}'`; } const Io = 0.20689655172413793, Cy = (e) => e > Io ** 3 ? Math.cbrt(e) : e / (3 * Io ** 2) + 4 / 29, wy = (e) => e > Io ? e ** 3 : 3 * Io ** 2 * (e - 4 / 29); function Qu(e) { const t = Cy, n = t(e[1]); return [116 * n - 16, 500 * (t(e[0] / 0.95047) - n), 200 * (n - t(e[2] / 1.08883))]; } function ed(e) { const t = wy, n = (e[0] + 16) / 116; return [t(n + e[1] / 500) * 0.95047, t(n), t(n - e[2] / 200) * 1.08883]; } const Sy = [[3.2406, -1.5372, -0.4986], [-0.9689, 1.8758, 0.0415], [0.0557, -0.204, 1.057]], _y = (e) => e <= 31308e-7 ? e * 12.92 : 1.055 * e ** (1 / 2.4) - 0.055, xy = [[0.4124, 0.3576, 0.1805], [0.2126, 0.7152, 0.0722], [0.0193, 0.1192, 0.9505]], Ay = (e) => e <= 0.04045 ? e / 12.92 : ((e + 0.055) / 1.055) ** 2.4; function td(e) { const t = Array(3), n = _y, r = Sy; for (let o = 0; o < 3; ++o) t[o] = Math.round($t(n(r[o][0] * e[0] + r[o][1] * e[1] + r[o][2] * e[2])) * 255); return { r: t[0], g: t[1], b: t[2] }; } function Qs(e) { let { r: t, g: n, b: r } = e; const o = [0, 0, 0], i = Ay, s = xy; t = i(t / 255), n = i(n / 255), r = i(r / 255); for (let a = 0; a < 3; ++a) o[a] = s[a][0] * t + s[a][1] * n + s[a][2] * r; return o; } function rs(e) { return !!e && /^(#|var\(--|(rgb|hsl)a?\()/.test(e); } function Ey(e) { return rs(e) && !/^((rgb|hsl)a?\()?var\(--/.test(e); } const Il = /^(?<fn>(?:rgb|hsl)a?)\((?<values>.+)\)/, ky = { rgb: (e, t, n, r) => ({ r: e, g: t, b: n, a: r }), rgba: (e, t, n, r) => ({ r: e, g: t, b: n, a: r }), hsl: (e, t, n, r) => Fl({ h: e, s: t, l: n, a: r }), hsla: (e, t, n, r) => Fl({ h: e, s: t, l: n, a: r }), hsv: (e, t, n, r) => Er({ h: e, s: t, v: n, a: r }), hsva: (e, t, n, r) => Er({ h: e, s: t, v: n, a: r }) }; function Pt(e) { if (typeof e == "number") return { r: (e & 16711680) >> 16, g: (e & 65280) >> 8, b: e & 255 }; if (typeof e == "string" && Il.test(e)) { const { groups: t } = e.match(Il), { fn: n, values: r } = t, o = r.split(/,\s*/).map((i) => i.endsWith("%") && ["hsl", "hsla", "hsv", "hsva"].includes(n) ? parseFloat(i) / 100 : parseFloat(i)); return ky[n](...o); } else if (typeof e == "string") { let t = e.startsWith("#") ? e.slice(1) : e; return [3, 4].includes(t.length) ? t = t.split("").map((n) => n + n).join("") : [6, 8].includes(t.length), Ty(t); } else if (typeof e == "object") { if (Ai(e, ["r", "g", "b"])) return e; if (Ai(e, ["h", "s", "l"])) return Er(nd(e)); if (Ai(e, ["h", "s", "v"])) return Er(e); } throw new TypeError(`Invalid color: ${e == null ? e : String(e) || e.constructor.name} Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`); } function Er(e) { const { h: t, s: n, v: r, a: o } = e, i = (a) => { const l = (a + t / 60) % 6; return r - r * n * Math.max(Math.min(l, 4 - l, 1), 0); }, s = [i(5), i(3), i(1)].map((a) => Math.round(a * 255)); return { r: s[0], g: s[1], b: s[2], a: o }; } function Fl(e) { return Er(nd(e)); } function nd(e) { const { h: t, s: n, l: r, a: o } = e, i = r + n * Math.min(r, 1 - r), s = i === 0 ? 0 : 2 - 2 * r / i; return { h: t, s, v: i, a: o }; } function io(e) { const t = Math.round(e).toString(16); return ("00".substr(0, 2 - t.length) + t).toUpperCase(); } function Py(e) { let { r: t, g: n, b: r, a: o } = e; return `#${[io(t), io(n), io(r), o !== void 0 ? io(Math.round(o * 255)) : ""].join("")}`; } function Ty(e) { e = Oy(e); let [t, n, r, o] = iy(e, 2).map((i) => parseInt(i, 16)); return o = o === void 0 ? o : o / 255, { r: t, g: n, b: r, a: o }; } function Oy(e) { return e.startsWith("#") && (e = e.slice(1)), e = e.replace(/([^0-9a-f])/gi, "F"), (e.length === 3 || e.length === 4) && (e = e.split("").map((t) => t + t).join("")), e.length !== 6 && (e = yl(yl(e, 6), 8, "F")), e; } function My(e, t) { const n = Qu(Qs(e)); return n[0] = n[0] + t * 10, td(ed(n)); } function Iy(e, t) { const n = Qu(Qs(e)); return n[0] = n[0] - t * 10, td(ed(n)); } function Fy(e) { const t = Pt(e); return Qs(t)[1]; } function rd(e) { const t = Math.abs(Ml(Pt(0), Pt(e))); return Math.abs(Ml(Pt(16777215), Pt(e))) > Math.min(t, 50) ? "#fff" : "#000"; } function Y(e, t) { return (n) => Object.keys(e).reduce((r, o) => { const s = typeof e[o] == "object" && e[o] != null && !Array.isArray(e[o]) ? e[o] : { type: e[o] }; return n && o in n ? r[o] = { ...s, default: n[o] } : r[o] = s, t && !r[o].source && (r[o].source = t), r; }, {}); } const _e = Y({ class: [String, Array, Object], style: { type: [String, Array, Object], default: null } }, "component"); function He(e, t) { const n = $s(); if (!n) throw new Error(`[Vuetify] ${e} ${t || "must be called from inside a setup function"}`); return n; } function It() { let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "composables"; const t = He(e).type; return bn((t == null ? void 0 : t.aliasName) || (t == null ? void 0 : t.name)); } let od = 0, vo = /* @__PURE__ */ new WeakMap(); function Ft() { const e = He("getUid"); if (vo.has(e)) return vo.get(e); { const t = od++; return vo.set(e, t), t; } } Ft.reset = () => { od = 0, vo = /* @__PURE__ */ new WeakMap(); }; function By(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : He("injectSelf"); const { provides: n } = t; if (n && e in n) return n[e]; } const Gn = Symbol.for("vuetify:defaults"); function Ry(e) { return ie(e); } function ea() { const e = Re(Gn); if (!e) throw new Error("[Vuetify] Could not find defaults instance"); return e; } function Hr(e, t) { const n = ea(), r = ie(e), o = b(() => { if (bt(t == null ? void 0 : t.disabled)) return n.value; const s = bt(t == null ? void 0 : t.scoped), a = bt(t == null ? void 0 : t.reset), l = bt(t == null ? void 0 : t.root); if (r.value == null && !(s || a || l)) return n.value; let c = ze(r.value, { prev: n.value }); if (s) return c; if (a || l) { const u = Number(a || 1 / 0); for (let d = 0; d <= u && !(!c || !("prev" in c)); d++) c = c.prev; return c && typeof l == "string" && l in c && (c = ze(ze(c, { prev: c }), c[l])), c; } return c.prev ? ze(c.prev, c) : c; }); return lt(Gn, o), o; } function Vy(e, t) { var n, r; return typeof ((n = e.props) == null ? void 0 : n[t]) < "u" || typeof ((r = e.props) == null ? void 0 : r[bn(t)]) < "u"; } function Ly() { let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ea(); const r = He("useDefaults"); if (t = t ?? r.type.name ?? r.type.__name, !t) throw new Error("[Vuetify] Could not determine component name"); const o = b(() => { var l; return (l = n.value) == null ? void 0 : l[e._as ?? t]; }), i = new Proxy(e, { get(l, c) { var d, m, h, g, f, y, w; const u = Reflect.get(l, c); return c === "class" || c === "style" ? [(d = o.value) == null ? void 0 : d[c], u].filter((P) => P != null) : typeof c == "string" && !Vy(r.vnode, c) ? ((m = o.value) == null ? void 0 : m[c]) !== void 0 ? (h = o.value) == null ? void 0 : h[c] : ((f = (g = n.value) == null ? void 0 : g.global) == null ? void 0 : f[c]) !== void 0 ? (w = (y = n.value) == null ? void 0 : y.global) == null ? void 0 : w[c] : u : u; } }), s = de(); Tt(() => { if (o.value) { const l = Object.entries(o.value).filter((c) => { let [u] = c; return u.startsWith(u[0].toUpperCase()); }); s.value = l.length ? Object.fromEntries(l) : void 0; } else s.value = void 0; }); function a() { const l = By(Gn, r); lt(Gn, b(() => s.value ? ze((l == null ? void 0 : l.value) ?? {}, s.value) : l == null ? void 0 : l.value)); } return { props: i, provideSubDefaults: a }; } function or(e) { if (e._setup = e._setup ?? e.setup, !e.name) return e; if (e._setup) { e.props = Y(e.props ?? {}, e.name)(); const t = Object.keys(e.props).filter((n) => n !== "class" && n !== "style"); e.filterProps = function(r) { return Wu(r, t); }, e.props._as = String, e.setup = function(r, o) { const i = ea(); if (!i.value) return e._setup(r, o); const { props: s, provideSubDefaults: a } = Ly(r, r._as ?? e.name, i), l = e._setup(s, o); return a(), l; }; } return e; } function he() { let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0; return (t) => (e ? or : Xn)(t); } function Ny(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "div", n = arguments.length > 2 ? arguments[2] : void 0; return he()({ name: n ?? Yn(vt(e.replace(/__/g, "-"))), props: { tag: { type: String, default: t }, ..._e() }, setup(r, o) { let { slots: i } = o; return () => { var s; return Qn(r.tag, { class: [e, r.class], style: r.style }, (s = i.default) == null ? void 0 : s.call(i)); }; } }); } function id(e) { if (typeof e.getRootNode != "function") { for (; e.parentNode; ) e = e.parentNode; return e !== document ? null : document; } const t = e.getRootNode(); return t !== document && t.getRootNode({ composed: !0 }) !== document ? null : t; } const Fo = "cubic-bezier(0.4, 0, 0.2, 1)", Dy = "cubic-bezier(0.0, 0, 0.2, 1)", $y = "cubic-bezier(0.4, 0, 1, 1)"; function sd(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1; for (; e; ) { if (t ? Hy(e) : ta(e)) return e; e = e.parentElement; } return document.scrollingElement; } function Bo(e, t) { const n = []; if (t && e && !t.contains(e)) return n; for (; e && (ta(e) && n.push(e), e !== t); ) e = e.parentElement; return n; } function ta(e) { if (!e || e.nodeType !== Node.ELEMENT_NODE) return !1; const t = window.getComputedStyle(e); return t.overflowY === "scroll" || t.overflowY === "auto" && e.scrollHeight > e.clientHeight; } function Hy(e) { if (!e || e.nodeType !== Node.ELEMENT_NODE) return !1; const t = window.getComputedStyle(e); return ["scroll", "auto"].includes(t.overflowY); } function jy(e) { for (; e; ) { if (window.getComputedStyle(e).position === "fixed") return !0; e = e.offsetParent; } return !1; } function we(e) { const t = He("useRender"); t.render = e; } function $e(e, t, n) { let r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : (d) => d, o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : (d) => d; const i = He("useProxiedModel"), s = ie(e[t] !== void 0 ? e[t] : n), a = bn(t), c = b(a !== t ? () => { var d, m, h, g; return e[t], !!(((d = i.vnode.props) != null && d.hasOwnProperty(t) || (m = i.vnode.props) != null && m.hasOwnProperty(a)) && ((h = i.vnode.props) != null && h.hasOwnProperty(`onUpdate:${t}`) || (g = i.vnode.props) != null && g.hasOwnProperty(`onUpdate:${a}`))); } : () => { var d, m; return e[t], !!((d = i.vnode.props) != null && d.hasOwnProperty(t) && ((m = i.vnode.props) != null && m.hasOwnProperty(`onUpdate:${t}`))); }); Sn(() => !c.value, () => { fe(() => e[t], (d) => { s.value = d; }); }); const u = b({ get() { const d = e[t]; return r(c.value ? d : s.value); }, set(d) { const m = o(d), h = ae(c.value ? e[t] : s.value); h === m || r(h) === d || (s.value = m, i == null || i.emit(`update:${t}`, m)); } }); return Object.defineProperty(u, "externalValue", { get: () => c.value ? e[t] : s.value }), u; } const Uy = { badge: "Badge", open: "Open", close: "Close", dismiss: "Dismiss", confirmEdit: { ok: "OK", cancel: "Cancel" }, dataIterator: { noResultsText: "No matching records found", loadingText: "Loading items..." }, dataTable: { itemsPerPageText: "Rows per page:", ariaLabel: { sortDescending: "Sorted descending.", sortAscending: "Sorted ascending.", sortNone: "Not sorted.", activateNone: "Activate to remove sorting.", activateDescending: "Activate to sort descending.", activateAscending: "Activate to sort ascending." }, sortBy: "Sort by" }, dataFooter: { itemsPerPageText: "Items per page:", itemsPerPageAll: "All", nextPage: "Next page", prevPage: "Previous page", firstPage: "First page", lastPage: "Last page", pageText: "{0}-{1} of {2}" }, dateRangeInput: { divider: "to" }, datePicker: { itemsSelected: "{0} selected", range: { title: "Select dates", header: "Enter dates" }, title: "Select date", header: "Enter date", input: { placeholder: "Enter date" } }, noDataText: "No data available", carousel: { prev: "Previous visual", next: "Next visual", ariaLabel: { delimiter: "Carousel slide {0} of {1}" } }, calendar: { moreEvents: "{0} more", today: "Today" }, input: { clear: "Clear {0}", prependAction: "{0} prepended action", appendAction: "{0} appended action", otp: "Please enter OTP character {0}" }, fileInput: { counter: "{0} files", counterSize: "{0} files ({1} in total)" }, timePicker: { am: "AM", pm: "PM", title: "Select Time" }, pagination: { ariaLabel: { root: "Pagination Navigation", next: "Next page", previous: "Previous page", page: "Go to page {0}", currentPage: "Page {0}, Current page", first: "First page", last: "Last page" } }, stepper: { next: "Next", prev: "Previous" }, rating: { ariaLabel: { item: "Rating {0} of {1}" } }, loading: "Loading...", infiniteScroll: { loadMore: "Load more", empty: "No more" } }, Bl = "$vuetify.", Rl = (e, t) => e.replace(/\{(\d+)\}/g, (n, r) => String(t[+r])), ad = (e, t, n) => function(r) { for (var o = arguments.length, i = new Array(o > 1 ? o - 1 : 0), s = 1; s < o; s++) i[s - 1] = arguments[s]; if (!r.startsWith(Bl)) return Rl(r, i); const a = r.replace(Bl, ""), l = e.value && n.value[e.value], c = t.value && n.value[t.value]; let u = Qi(l, a, null); return u || (`${r}${e.value}`, u = Qi(c, a, null)), u || (u = r), typeof u != "string" && (u = r), Rl(u, i); }; function ld(e, t) { return (n, r) => new Intl.NumberFormat([e.value, t.value], r).format(n); } function Pi(e, t, n) { const r = $e(e, t, e[t] ?? n.value); return r.value = e[t] ?? n.value, fe(n, (o) => { e[t] == null && (r.value = n.value); }), r; } function cd(e) { return (t) => { const n = Pi(t, "locale", e.current), r = Pi(t, "fallback", e.fallback), o = Pi(t, "messages", e.messages); return { name: "vuetify", current: n, fallback: r, messages: o, t: ad(n, r, o), n: ld(n, r), provide: cd({ current: n, fallback: r, messages: o }) }; }; } function Wy(e) { const t = de((e == null ? void 0 : e.locale) ?? "en"), n = de((e == null ? void 0 : e.fallback) ?? "en"), r = ie({ en: Uy, ...e == null ? void 0 : e.messages }); return { name: "vuetify", current: t, fallback: n, messages: r, t: ad(t, n, r), n: ld(t, n), provide: cd({ current: t, fallback: n, messages: r }) }; } const Ro = Symbol.for("vuetify:locale"); function zy(e) { return e.name != null; } function Gy(e) { const t = e != null && e.adapter && zy(e == null ? void 0 : e.adapter) ? e == null ? void 0 : e.adapter : Wy(e), n = qy(t, e); return { ...t, ...n }; } function na() { const e = Re(Ro); if (!e) throw new Error("[Vuetify] Could not find injected locale instance"); return e; } function Ky() { return { af: !1, ar: !0, bg: !1, ca: !1, ckb: !1, cs: !1, de: !1, el: !1, en: !1, es: !1, et: !1, fa: !0, fi: !1, fr: !1, hr: !1, hu: !1, he: !0, id: !1, it: !1, ja: !1, km: !1, ko: !1, lv: !1, lt: !1, nl: !1, no: !1, pl: !1, pt: !1, ro: !1, ru: !1, sk: !1, sl: !1, srCyrl: !1, srLatn: !1, sv: !1, th: !1, tr: !1, az: !1, uk: !1, vi: !1, zhHans: !1, zhHant: !1 }; } function qy(e, t) { const n = ie((t == null ? void 0 : t.rtl) ?? Ky()), r = b(() => n.value[e.current.value] ?? !1); return { isRtl: r, rtl: n, rtlClasses: b(() => `v-locale--is-${r.value ? "rtl" : "ltr"}`) }; } function En() { const e = Re(Ro); if (!e) throw new Error("[Vuetify] Could not find injected rtl instance"); return { isRtl: e.isRtl, rtlClasses: e.rtlClasses }; } const kr = { "001": 1, AD: 1, AE: 6, AF: 6, AG: 0, AI: 1, AL: 1, AM: 1, AN: 1, AR: 1, AS: 0, AT: 1, AU: 1, AX: 1, AZ: 1, BA: 1, BD: 0, BE: 1, BG: 1, BH: 6, BM: 1, BN: 1, BR: 0, BS: 0, BT: 0, BW: 0, BY: 1, BZ: 0, CA: 0, CH: 1, CL: 1, CM: 1, CN: 1, CO: 0, CR: 1, CY: 1, CZ: 1, DE: 1, DJ: 6, DK: 1, DM: 0, DO: 0, DZ: 6, EC: 1, EE: 1, EG: 6, ES: 1, ET: 0, FI: 1, FJ: 1, FO: 1, FR: 1, GB: 1, "GB-alt-variant": 0, GE: 1, GF: 1, GP: 1, GR: 1, GT: 0, GU: 0, HK: 0, HN: 0, HR: 1, HU: 1, ID: 0, IE: 1, IL: 0, IN: 0, IQ: 6, IR: 6, IS: 1, IT: 1, JM: 0, JO: 6, JP: 0, KE: 0, KG: 1, KH: 0, KR: 0, KW: 6, KZ: 1, LA: 0, LB: 1, LI: 1, LK: 1, LT: 1, LU: 1, LV: 1, LY: 6, MC: 1, MD: 1, ME: 1, MH: 0, MK: 1, MM: 0, MN: 1, MO: 0, MQ: 1, MT: 0, MV: 5, MX: 0, MY: 1, MZ: 0, NI: 0, NL: 1, NO: 1, NP: 0, NZ: 1, OM: 6, PA: 0, PE: 0, PH: 0, PK: 0, PL: 1, PR: 0, PT: 0, PY: 0, QA: 6, RE: 1, RO: 1, RS: 1, RU: 1, SA: 0, SD: 6, SE: 1, SG: 0, SI: 1, SK: 1, SM: 1, SV: 0, SY: 6, TH: 0, TJ: 1, TM: 1, TR: 1, TT: 0, TW: 0, UA: 1, UM: 0, US: 0, UY: 1, UZ: 1, VA: 1, VE: 0, VI: 0, VN: 1, WS: 0, XK: 1, YE: 0, ZA: 0, ZW: 0 }; function Yy(e, t) { const n = []; let r = []; const o = ud(e), i = dd(e), s = (o.getDay() - kr[t.slice(-2).toUpperCase()] + 7) % 7, a = (i.getDay() - kr[t.slice(-2).toUpperCase()] + 7) % 7; for (let l = 0; l < s; l++) { const c = new Date(o); c.setDate(c.getDate() - (s - l)), r.push(c); } for (let l = 1; l <= i.getDate(); l++) { const c = new Date(e.getFullYear(), e.getMonth(), l); r.push(c), r.length === 7 && (n.push(r), r = []); } for (let l = 1; l < 7 - a; l++) { const c = new Date(i); c.setDate(c.getDate() + l), r.push(c); } return r.length > 0 && n.push(r), n; } function Jy(e, t) { const n = new Date(e); for (; n.getDay() !== (kr[t.slice(-2).toUpperCase()] ?? 0); ) n.setDate(n.getDate() - 1); return n; } function Zy(e, t) { const n = new Date(e), r = ((kr[t.slice(-2).toUpperCase()] ?? 0) + 6) % 7; for (; n.getDay() !== r; ) n.setDate(n.getDate() + 1); return n; } function ud(e) { return new Date(e.getFullYear(), e.getMonth(), 1); } function dd(e) { return new Date(e.getFullYear(), e.getMonth() + 1, 0); } function Xy(e) { const t = e.split("-").map(Number); return new Date(t[0], t[1] - 1, t[2]); } const Qy = /^([12]\d{3}-([1-9]|0[1-9]|1[0-2])-([1-9]|0[1-9]|[12]\d|3[01]))$/; function fd(e) { if (e == null) return /* @__PURE__ */ new Date(); if (e instanceof Date) return e; if (typeof e == "string") { let t; if (Qy.test(e)) return Xy(e); if (t = Date.parse(e), !isNaN(t)) return new Date(t); } return null; } const Vl = new Date(2e3, 0, 2); function ep(e) { const t = kr[e.slice(-2).toUpperCase()]; return ju(7).map((n) => { const r = new Date(Vl); return r.setDate(Vl.getDate() + t + n), new Intl.DateTimeFormat(e, { weekday: "narrow" }).format(r); }); } function tp(e, t, n, r) { const o = fd(e) ?? /* @__PURE__ */ new Date(), i = r == null ? void 0 : r[t]; if (typeof i == "function") return i(o, t, n); let s = {}; switch (t) { case "fullDate": s = { year: "numeric", month: "long", day: "numeric" }; break; case "fullDateWithWeekday": s = { weekday: "long", year: "numeric", month: "long", day: "numeric" }; break; case "normalDate": const a = o.getDate(), l = new Intl.DateTimeFormat(n, { month: "long" }).format(o); return `${a} ${l}`; case "normalDateWithWeekday": s = { weekday: "short", day: "numeric", month: "short" }; break; case "shortDate": s = { month: "short", day: "numeric" }; break; case "year": s = { year: "numeric" }; break; case "month": s = { month: "long" }; break; case "monthShort": s = { month: "short" }; break; case "monthAndYear": s = { month: "long", year: "numeric" }; break; case "monthAndDate": s = { month: "long", day: "numeric" }; break; case "weekday": s = { weekday: "long" }; break; case "weekdayShort": s = { weekday: "short" }; break; case "dayOfMonth": return new Intl.NumberFormat(n).format(o.getDate()); case "hours12h": s = { hour: "numeric", hour12: !0 }; break; case "hours24h": s = { hour: "numeric", hour12: !1 }; break; case "minutes": s = { minute: "numeric" }; break; case "seconds": s = { second: "numeric" }; break; case "fullTime": s = { hour: "numeric", minute: "numeric", second: "numeric", hour12: !0 }; break; case "fullTime12h": s = { hour: "numeric", minute: "numeric", second: "numeric", hour12: !0 }; break; case "fullTime24h": s = { hour: "numeric", minute: "numeric", second: "numeric", hour12: !1 }; break; case "fullDateTime": s = { year: "numeric", month: "long", day: "numeric", hour: "numeric", minute: "numeric", second: "numeric", hour12: !0 }; break; case "fullDateTime12h": s = { year: "numeric", month: "long", day: "numeric", hour: "numeric", minute: "numeric", second: "numeric", hour12: !0 }; break; case "fullDateTime24h": s = { year: "numeric", month: "long", day: "numeric", hour: "numeric", minute: "numeric", second: "numeric", hour12: !1 }; break; case "keyboardDate": s = { year: "numeric", month: "2-digit", day: "2-digit" }; break; case "keyboardDateTime": s = { year: "numeric", month: "2-digit", day: "2-digit", hour: "numeric", minute: "numeric", second: "numeric", hour12: !1 }; break; case "keyboardDateTime12h": s = { year: "numeric", month: "2-digit", day: "2-digit", hour: "numeric", minute: "numeric", second: "numeric", hour12: !0 }; break; case "keyboardDateTime24h": s = { year: "numeric", month: "2-digit", day: "2-digit", hour: "numeric", minute: "numeric", second: "numeric", hour12: !1 }; break; default: s = i ?? { timeZone: "UTC", timeZoneName: "short" }; } return new Intl.DateTimeFormat(n, s).format(o); } function np(e, t) { const n = e.toJsDate(t), r = n.getFullYear(), o = pl(String(n.getMonth() + 1), 2, "0"), i = pl(String(n.getDate()), 2, "0"); return `${r}-${o}-${i}`; } function rp(e) { const [t, n, r] = e.split("-").map(Number); return new Date(t, n - 1, r); } function op(e, t) { const n = new Date(e); return n.setMinutes(n.getMinutes() + t), n; } function ip(e, t) { const n = new Date(e); return n.setHours(n.getHours() + t), n; } function sp(e, t) { const n = new Date(e); return n.setDate(n.getDate() + t), n; } function ap(e, t) { const n = new Date(e); return n.setDate(n.getDate() + t * 7), n; } function lp(e, t) { const n = new Date(e); return n.setDate(1), n.setMonth(n.getMonth() + t), n; } function cp(e) { return e.getFullYear(); } function up(e) { return e.getMonth(); } function dp(e) { return e.getDate(); } function fp(e) { return new Date(e.getFullYear(), e.getMonth() + 1, 1); } function mp(e) { return new Date(e.getFullYear(), e.getMonth() - 1, 1); } function hp(e) { return e.getHours(); } function gp(e) { return e.getMinutes(); } function vp(e) { return new Date(e.getFullYear(), 0, 1); } function yp(e) { return new Date(e.getFullYear(), 11, 31); } function pp(e, t) { return Vo(e, t[0]) && wp(e, t[1]); } function bp(e) { const t = new Date(e); return t instanceof Date && !isNaN(t.getTime()); } function Vo(e, t) { return e.getTime() > t.getTime(); } function Cp(e, t) { return Vo(os(e), os(t)); } function wp(e, t) { return e.getTime() < t.getTime(); } function Ll(e, t) { return e.getTime() === t.getTime(); } function Sp(e, t) { return e.getDate() === t.getDate() && e.getMonth() === t.getMonth() && e.getFullYear() === t.getFullYear(); } function _p(e, t) { return e.getMonth() === t.getMonth() && e.getFullYear() === t.getFullYear(); } function xp(e, t) { return e.getFullYear() === t.getFullYear(); } function Ap(e, t, n) { const r = new Date(e), o = new Date(t); switch (n) { case "years": return r.getFullYear() - o.getFullYear(); case "quarters": return Math.floor((r.getMonth() - o.getMonth() + (r.getFullYear() - o.getFullYear()) * 12) / 4); case "months": return r.getMonth() - o.getMonth() + (r.getFullYear() - o.getFullYear()) * 12; case "weeks": return Math.floor((r.getTime() - o.getTime()) / (1e3 * 60 * 60 * 24 * 7)); case "days": return Math.floor((r.getTime() - o.getTime()) / (1e3 * 60 * 60 * 24)); case "hours": return Math.floor((r.getTime() - o.getTime()) / (1e3 * 60 * 60)); case "minutes": return Math.floor((r.getTime() - o.getTime()) / (1e3 * 60)); case "seconds": return Math.floor((r.getTime() - o.getTime()) / 1e3); default: return r.getTime() - o.getTime(); } } function Ep(e, t) { const n = new Date(e); return n.setHours(t), n; } function kp(e, t) { const n = new Date(e); return n.setMinutes(t), n; } function Pp(e, t) { const n = new Date(e); return n.setMonth(t), n; } function Tp(e, t) { const n = new Date(e); return n.setDate(t), n; } function Op(e, t) { const n = new Date(e); return n.setFullYear(t), n; } function os(e) { return new Date(e.getFullYear(), e.getMonth(), e.getDate(), 0, 0, 0, 0); } function Mp(e) { return new Date(e.getFullYear(), e.getMonth(), e.getDate(), 23, 59, 59, 999); } class Ip { constructor(t) { this.locale = t.locale, this.formats = t.formats; } date(t) { return fd(t); } toJsDate(t) { return t; } toISO(t) { return np(this, t); } parseISO(t) { return rp(t); } addMinutes(t, n) { return op(t, n); } addHours(t, n) { return ip(t, n); } addDays(t, n) { return sp(t, n); } addWeeks(t, n) { return ap(t, n); } addMonths(t, n) { return lp(t, n); } getWeekArray(t) { return Yy(t, this.locale); } startOfWeek(t) { return Jy(t, this.locale); } endOfWeek(t) { return Zy(t, this.locale); } startOfMonth(t) { return ud(t); } endOfMonth(t) { return dd(t); } format(t, n) { return tp(t, n, this.locale, this.formats); } isEqual(t, n) { return Ll(t, n); } isValid(t) { return bp(t); } isWithinRange(t, n) { return pp(t, n); } isAfter(t, n) { return Vo(t, n); } isAfterDay(t, n) { return Cp(t, n); } isBefore(t, n) { return !Vo(t, n) && !Ll(t, n); } isSameDay(t, n) { return Sp(t, n); } isSameMonth(t, n) { return _p(t, n); } isSameYear(t, n) { return xp(t, n); } setMinutes(t, n) { return kp(t, n); } setHours(t, n) { return Ep(t, n); } setMonth(t, n) { return Pp(t, n); } setDate(t, n) { return Tp(t, n); } setYear(t, n) { return Op(t, n); } getDiff(t, n, r) { return Ap(t, n, r); } getWeekdays() { return ep(this.locale); } getYear(t) { return cp(t); } getMonth(t) { return up(t); } getDate(t) { return dp(t); } getNextMonth(t) { return fp(t); } getPreviousMonth(t) { return mp(t); } getHours(t) { return hp(t); } getMinutes(t) { return gp(t); } startOfDay(t) { return os(t); } endOfDay(t) { return Mp(t); } startOfYear(t) { return vp(t); } endOfYear(t) { return yp(t); } } const Fp = Symbol.for("vuetify:date-options"), Nl = Symbol.for("vuetify:date-adapter"); function Bp(e, t) { const n = ze({ adapter: Ip, locale: { af: "af-ZA", // ar: '', # not the same value for all variants bg: "bg-BG", ca: "ca-ES", ckb: "", cs: "cs-CZ", de: "de-DE", el: "el-GR", en: "en-US", // es: '', # not the same value for all variants et: "et-EE", fa: "fa-IR", fi: "fi-FI", // fr: '', #not the same value for all variants hr: "hr-HR", hu: "hu-HU", he: "he-IL", id: "id-ID", it: "it-IT", ja: "ja-JP", ko: "ko-KR", lv: "lv-LV", lt: "lt-LT", nl: "nl-NL", no: "no-NO", pl: "pl-PL", pt: "pt-PT", ro: "ro-RO", ru: "ru-RU", sk: "sk-SK", sl: "sl-SI", srCyrl: "sr-SP", srLatn: "sr-SP", sv: "sv-SE", th: "th-TH", tr: "tr-TR", az: "az-AZ", uk: "uk-UA", vi: "vi-VN", zhHans: "zh-CN", zhHant: "zh-TW" } }, e); return { options: n, instance: Rp(n, t) }; } function Rp(e, t) { const n = Ot(typeof e.adapter == "function" ? new e.adapter({ locale: e.locale[t.current.value] ?? t.current.value, formats: e.formats }) : e.adapter); return fe(t.current, (r) => { n.locale = e.locale[r] ?? r ?? n.locale; }), n; } const is = Symbol.for("vuetify:display"), Dl = { mobileBreakpoint: "lg", thresholds: { xs: 0, sm: 600, md: 960, lg: 1280, xl: 1920, xxl: 2560 } }, Vp = function() { let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Dl; return ze(Dl, e); }; function $l(e) { return ke && !e ? window.innerWidth : typeof e == "object" && e.clientWidth || 0; } function Hl(e) { return ke && !e ? window.innerHeight : typeof e == "object" && e.clientHeight || 0; } function jl(e) { const t = ke && !e ? window.navigator.userAgent : "ssr"; function n(g) { return !!t.match(g); } const r = n(/android/i), o = n(/iphone|ipad|ipod/i), i = n(/cordova/i), s = n(/electron/i), a = n(/chrome/i), l = n(/edge/i), c = n(/firefox/i), u = n(/opera/i), d = n(/win/i), m = n(/mac/i), h = n(/linux/i); return { android: r, ios: o, cordova: i, electron: s, chrome: a, edge: l, firefox: c, opera: u, win: d, mac: m, linux: h, touch: ty, ssr: t === "ssr" }; } function Lp(e, t) { const { thresholds: n, mobileBreakpoint: r } = Vp(e), o = de(Hl(t)), i = de(jl(t)), s = Ot({}), a = de($l(t)); function l() { o.value = Hl(), a.value = $l(); } function c() { l(), i.value = jl(); } return Tt(() => { const u = a.value < n.sm, d = a.value < n.md && !u, m = a.value < n.lg && !(d || u), h = a.value < n.xl && !(m || d || u), g = a.value < n.xxl && !(h || m || d || u), f = a.value >= n.xxl, y = u ? "xs" : d ? "sm" : m ? "md" : h ? "lg" : g ? "xl" : "xxl", w = typeof r == "number" ? r : n[r], P = a.value < w; s.xs = u, s.sm = d, s.md = m, s.lg = h, s.xl = g, s.xxl = f, s.smAndUp = !u, s.mdAndUp = !(u || d), s.lgAndUp = !(u || d || m), s.xlAndUp = !(u || d || m || h), s.smAndDown = !(m || h || g || f), s.mdAndDown = !(h || g || f), s.lgAndDown = !(g || f), s.xlAndDown = !f, s.name = y, s.height = o.value, s.width = a.value, s.mobile = P, s.mobileBreakpoint = r, s.platform = i.value, s.thresholds = n; }), ke && window.addEventListener("resize", l, { passive: !0 }), { ...ks(s), update: c, ssr: !!t }; } const Np = Y({ mobile: { type: Boolean, default: !1 }, mobileBreakpoint: [Number, String] }, "display"); function ra() { let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : It(); const n = Re(is); if (!n) throw new Error("Could not find Vuetify display injection"); const r = b(() => { if (e.mobile != null) return e.mobile; if (!e.mobileBreakpoint) return n.mobile.value; const i = typeof e.mobileBreakpoint == "number" ? e.mobileBreakpoint : n.thresholds.value[e.mobileBreakpoint]; return n.width.value < i; }), o = b(() => t ? { [`${t}--mobile`]: r.value } : {}); return { ...n, displayClasses: o, mobile: r }; } const md = Symbol.for("vuetify:goto"); function hd() { return { container: void 0, duration: 300, layout: !1, offset: 0, easing: "easeInOutCubic", patterns: { linear: (e) => e, easeInQuad: (e) => e ** 2, easeOutQuad: (e) => e * (2 - e), easeInOutQuad: (e) => e < 0.5 ? 2 * e ** 2 : -1 + (4 - 2 * e) * e, easeInCubic: (e) => e ** 3, easeOutCubic: (e) => --e ** 3 + 1, easeInOutCubic: (e) => e < 0.5 ? 4 * e ** 3 : (e - 1) * (2 * e - 2) * (2 * e - 2) + 1, easeInQuart: (e) => e ** 4, easeOutQuart: (e) => 1 - --e ** 4, easeInOutQuart: (e) => e < 0.5 ? 8 * e ** 4 : 1 - 8 * --e ** 4, easeInQuint: (e) => e ** 5, easeOutQuint: (e) => 1 + --e ** 5, easeInOutQuint: (e) => e < 0.5 ? 16 * e ** 5 : 1 + 16 * --e ** 5 } }; } function Dp(e) { return oa(e) ?? (document.scrollingElement || document.body); } function oa(e) { return typeof e == "string" ? document.querySelector(e) : Uu(e); } function Ti(e, t, n) { if (typeof e == "number") return t && n ? -e : e; let r = oa(e), o = 0; for (; r; ) o += t ? r.offsetLeft : r.offsetTop, r = r.offsetParent; return o; } function $p(e, t) { return { rtl: t.isRtl, options: ze(hd(), e) }; } async function Ul(e, t, n, r) { const o = n ? "scrollLeft" : "scrollTop", i = ze((r == null ? void 0 : r.options) ?? hd(), t), s = r == null ? void 0 : r.rtl.value, a = (typeof e == "number" ? e : oa(e)) ?? 0, l = i.container === "parent" && a instanceof HTMLElement ? a.parentElement : Dp(i.container), c = typeof i.easing == "function" ? i.easing : i.patterns[i.easing]; if (!c) throw new TypeError(`Easing function "${i.easing}" not found.`); let u; if (typeof a == "number") u = Ti(a, n, s); else if (u = Ti(a, n, s) - Ti(l, n, s), i.layout) { const g = window.getComputedStyle(a).getPropertyValue("--v-layout-top"); g && (u -= parseInt(g, 10)); } u += i.offset, u = jp(l, u, !!s, !!n); const d = l[o] ?? 0; if (u === d) return Promise.resolve(u); const m = performance.now(); return new Promise((h) => requestAnimationFrame(function g(f) { const w = (f - m) / i.duration, P = Math.floor(d + (u - d) * c($t(w, 0, 1))); if (l[o] = P, w >= 1 && Math.abs(P - l[o]) < 10) return h(u); if (w > 2) return h(l[o]); requestAnimationFrame(g); })); } function Hp() { let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}; const t = Re(md), { isRtl: n } = En(); if (!t) throw new Error("[Vuetify] Could not find injected goto instance"); const r = { ...t, // can be set via VLocaleProvider rtl: b(() => t.rtl.value || n.value) }; async function o(i, s) { return Ul(i, ze(e, s), !1, r); } return o.horizontal = async (i, s) => Ul(i, ze(e, s), !0, r), o; } function jp(e, t, n, r) { const { scrollWidth: o, scrollHeight: i } = e, [s, a] = e === document.scrollingElement ? [window.innerWidth, window.innerHeight] : [e.offsetWidth, e.offsetHeight]; let l, c; return r ? n ? (l = -(o - s), c = 0) : (l = 0, c = o - s) : (l = 0, c = i + -a), Math.max(Math.min(t, c), l); } const Up = { collapse: "mdi-chevron-up", complete: "mdi-check", cancel: "mdi-close-circle", close: "mdi-close", delete: "mdi-close-circle", // delete (e.g. v-chip close) clear: "mdi-close-circle", success: "mdi-check-circle", info: "mdi-information", warning: "mdi-alert-circle", error: "mdi-close-circle", prev: "mdi-chevron-left", next: "mdi-chevron-right", checkboxOn: "mdi-checkbox-marked", checkboxOff: "mdi-checkbox-blank-outline", checkboxIndeterminate: "mdi-minus-box", delimiter: "mdi-circle", // for carousel sortAsc: "mdi-arrow-up", sortDesc: "mdi-arrow-down", expand: "mdi-chevron-down", menu: "mdi-menu", subgroup: "mdi-menu-down", dropdown: "mdi-menu-down", radioOn: "mdi-radiobox-marked", radioOff: "mdi-radiobox-blank", edit: "mdi-pencil", ratingEmpty: "mdi-star-outline", ratingFull: "mdi-star", ratingHalf: "mdi-star-half-full", loading: "mdi-cached", first: "mdi-page-first", last: "mdi-page-last", unfold: "mdi-unfold-more-horizontal", file: "mdi-paperclip", plus: "mdi-plus", minus: "mdi-minus", calendar: "mdi-calendar", treeviewCollapse: "mdi-menu-down", treeviewExpand: "mdi-menu-right", eyeDropper: "mdi-eyedropper" }, Wp = { // Not using mergeProps here, functional components merge props by default (?) component: (e) => Qn(vd, { ...e, class: "mdi" }) }, Te = [String, Function, Object, Array], ss = Symbol.for("vuetify:icons"), ii = Y({ icon: { type: Te }, // Could not remove this and use makeTagProps, types complained because it is not required tag: { type: String, required: !0 } }, "icon"), Wl = he()({ name: "VComponentIcon", props: ii(), setup(e, t) { let { slots: n } = t; return () => { const r = e.icon; return v(e.tag, null, { default: () => { var o; return [e.icon ? v(r, null, null) : (o = n.default) == null ? void 0 : o.call(n)]; } }); }; } }), gd = or({ name: "VSvgIcon", inheritAttrs: !1, props: ii(), setup(e, t) { let { attrs: n } = t; return () => v(e.tag, pe(n, { style: null }), { default: () => [v("svg", { class: "v-icon__svg", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", role: "img", "aria-hidden": "true" }, [Array.isArray(e.icon) ? e.icon.map((r) => Array.isArray(r) ? v("path", { d: r[0], "fill-opacity": r[1] }, null) : v("path", { d: r }, null)) : v("path", { d: e.icon }, null)])] }); } }); or({ name: "VLigatureIcon", props: ii(), setup(e) { return () => v(e.tag, null, { default: () => [e.icon] }); } }); const vd = or({ name: "VClassIcon", props: ii(), setup(e) { return () => v(e.tag, { class: e.icon }, null); } }); function zp() { return { svg: { component: gd }, class: { component: vd } }; } function Gp(e) { const t = zp(), n = (e == null ? void 0 : e.defaultSet) ?? "mdi"; return n === "mdi" && !t.mdi && (t.mdi = Wp), ze({ defaultSet: n, sets: t, aliases: { ...Up, /* eslint-disable max-len */ vuetify: ["M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z", ["M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z", 0.6]], "vuetify-outline": "svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z", "vuetify-play": ["m6.376 13.184-4.11-7.192C1.505 4.66 2.467 3 4.003 3h8.532l-.953 1.576-.006.01-.396.677c-.429.732-.214 1.507.194 2.015.404.503 1.092.878 1.869.806a3.72 3.72 0 0 1 1.005.022c.276.053.434.143.523.237.138.146.38.635-.25 2.09-.893 1.63-1.553 1.722-1.847 1.677-.213-.033-.468-.158-.756-.406a4.95 4.95 0 0 1-.8-.927c-.39-.564-1.04-.84-1.66-.846-.625-.006-1.316.27-1.693.921l-.478.826-.911 1.506Z", ["M9.093 11.552c.046-.079.144-.15.32-.148a.53.53 0 0 1 .43.207c.285.414.636.847 1.046 1.2.405.35.914.662 1.516.754 1.334.205 2.502-.698 3.48-2.495l.014-.028.013-.03c.687-1.574.774-2.852-.005-3.675-.37-.391-.861-.586-1.333-.676a5.243 5.243 0 0 0-1.447-.044c-.173.016-.393-.073-.54-.257-.145-.18-.127-.316-.082-.392l.393-.672L14.287 3h5.71c1.536 0 2.499 1.659 1.737 2.992l-7.997 13.996c-.768 1.344-2.706 1.344-3.473 0l-3.037-5.314 1.377-2.278.004-.006.004-.007.481-.831Z", 0.6]] /* eslint-enable max-len */ } }, e); } const Kp = (e) => { const t = Re(ss); if (!t) throw new Error("Missing Vuetify Icons provide!"); return { iconData: b(() => { var l; const r = bt(e); if (!r) return { component: Wl }; let o = r; if (typeof o == "string" && (o = o.trim(), o.startsWith("$") && (o = (l = t.aliases) == null ? void 0 : l[o.slice(1)])), Array.isArray(o)) return { component: gd, icon: o }; if (typeof o != "string") return { component: Wl, icon: o }; const i = Object.keys(t.sets).find((c) => typeof o == "string" && o.startsWith(`${c}:`)), s = i ? o.slice(i.length + 1) : o; return { component: t.sets[i ?? t.defaultSet].component, icon: s }; }) }; }, Lo = Symbol.for("vuetify:theme"), Ke = Y({ theme: String }, "theme"); function zl() { return { defaultTheme: "light", variations: { colors: [], lighten: 0, darken: 0 }, themes: { light: { dark: !1, colors: { background: "#FFFFFF", surface: "#FFFFFF", "surface-bright": "#FFFFFF", "surface-light": "#EEEEEE", "surface-variant": "#424242", "on-surface-variant": "#EEEEEE", primary: "#1867C0", "primary-darken-1": "#1F5592", secondary: "#48A9A6", "secondary-darken-1": "#018786", error: "#B00020", info: "#2196F3", success: "#4CAF50", warning: "#FB8C00" }, variables: { "border-color": "#000000", "border-opacity": 0.12, "high-emphasis-opacity": 0.87, "medium-emphasis-opacity": 0.6, "disabled-opacity": 0.38, "idle-opacity": 0.04, "hover-opacity": 0.04, "focus-opacity": 0.12, "selected-opacity": 0.08, "activated-opacity": 0.12, "pressed-opacity": 0.12, "dragged-opacity": 0.08, "theme-kbd": "#212529", "theme-on-kbd": "#FFFFFF", "theme-code": "#F5F5F5", "theme-on-code": "#000000" } }, dark: { dark: !0, colors: { background: "#121212", surface: "#212121", "surface-bright": "#ccbfd6", "surface-light": "#424242", "surface-variant": "#a3a3a3", "on-surface-variant": "#424242", primary: "#2196F3", "primary-darken-1": "#277CC1", secondary: "#54B6B2", "secondary-darken-1": "#48A9A6", error: "#CF6679", info: "#2196F3", success: "#4CAF50", warning: "#FB8C00" }, variables: { "border-color": "#FFFFFF", "border-opacity": 0.12, "high-emphasis-opacity": 1, "medium-emphasis-opacity": 0.7, "disabled-opacity": 0.5, "idle-opacity": 0.1, "hover-opacity": 0.04, "focus-opacity": 0.12, "selected-opacity": 0.08, "activated-opacity": 0.12, "pressed-opacity": 0.16, "dragged-opacity": 0.08, "theme-kbd": "#212529", "theme-on-kbd": "#FFFFFF", "theme-code": "#343434", "theme-on-code": "#CCCCCC" } } } }; } function qp() { var r, o; let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : zl(); const t = zl(); if (!e) return { ...t, isDisabled: !0 }; const n = {}; for (const [i, s] of Object.entries(e.themes ?? {})) { const a = s.dark || i === "dark" ? (r = t.themes) == null ? void 0 : r.dark : (o = t.themes) == null ? void 0 : o.light; n[i] = ze(a, s); } return ze(t, { ...e, themes: n }); } function Yp(e) { const t = qp(e), n = ie(t.defaultTheme), r = ie(t.themes), o = b(() => { const u = {}; for (const [d, m] of Object.entries(r.value)) { const h = u[d] = { ...m, colors: { ...m.colors } }; if (t.variations) for (const g of t.variations.colors) { const f = h.colors[g]; if (f) for (const y of ["lighten", "darken"]) { const w = y === "lighten" ? My : Iy; for (const P of ju(t.variations[y], 1)) h.colors[`${g}-${y}-${P}`] = Py(w(Pt(f), P)); } } for (const g of Object.keys(h.colors)) { if (/^on-[a-z]/.test(g) || h.colors[`on-${g}`]) continue; const f = `on-${g}`, y = Pt(h.colors[g]); h.colors[f] = rd(y); } } return u; }), i = b(() => o.value[n.value]), s = b(() => { var g; const u = []; (g = i.value) != null && g.dark && mn(u, ":root", ["color-scheme: dark"]), mn(u, ":root", Gl(i.value)); for (const [f, y] of Object.entries(o.value)) mn(u, `.v-theme--${f}`, [`color-scheme: ${y.dark ? "dark" : "normal"}`, ...Gl(y)]); const d = [], m = [], h = new Set(Object.values(o.value).flatMap((f) => Object.keys(f.colors))); for (const f of h) /^on-[a-z]/.test(f) ? mn(m, `.${f}`, [`color: rgb(var(--v-theme-${f})) !important`]) : (mn(d, `.bg-${f}`, [`--v-theme-overlay-multiplier: var(--v-theme-${f}-overlay-multiplier)`, `background-color: rgb(var(--v-theme-${f})) !important`, `color: rgb(var(--v-theme-on-${f})) !important`]), mn(m, `.text-${f}`, [`color: rgb(var(--v-theme-${f})) !important`]), mn(m, `.border-${f}`, [`--v-border-color: var(--v-theme-${f})`])); return u.push(...d, ...m), u.map((f, y) => y === 0 ? f : ` ${f}`).join(""); }); function a() { return { style: [{ children: s.value, id: "vuetify-theme-stylesheet", nonce: t.cspNonce || !1 }] }; } function l(u) { if (t.isDisabled) return; const d = u._context.provides.usehead; if (d) if (d.push) { const h = d.push(a); ke && fe(s, () => { h.patch(a); }); } else ke ? (d.addHeadObjs(b(a)), Tt(() => d.updateDOM())) : d.addHeadObjs(a()); else { let g = function() { if (typeof document < "u" && !h) { const f = document.createElement("style"); f.type = "text/css", f.id = "vuetify-theme-stylesheet", t.cspNonce && f.setAttribute("nonce", t.cspNonce), h = f, document.head.appendChild(h); } h && (h.innerHTML = s.value); }; var m = g; let h = ke ? document.getElementById("vuetify-theme-stylesheet") : null; ke ? fe(s, g, { immediate: !0 }) : g(); } } const c = b(() => t.isDisabled ? void 0 : `v-theme--${n.value}`); return { install: l, isDisabled: t.isDisabled, name: n, themes: r, current: i, computedThemes: o, themeClasses: c, styles: s, global: { name: n, current: i } }; } function nt(e) { He("provideTheme"); const t = Re(Lo, null); if (!t) throw new Error("Could not find Vuetify theme injection"); const n = b(() => e.theme ?? t.name.value), r = b(() => t.themes.value[n.value]), o = b(() => t.isDisabled ? void 0 : `v-theme--${n.value}`), i = { ...t, name: n, current: r, themeClasses: o }; return lt(Lo, i), i; } function mn(e, t, n) { e.push(`${t} { `, ...n.map((r) => ` ${r}; `), `} `); } function Gl(e) { const t = e.dark ? 2 : 1, n = e.dark ? 1 : 2, r = []; for (const [o, i] of Object.entries(e.colors)) { const s = Pt(i); r.push(`--v-theme-${o}: ${s.r},${s.g},${s.b}`), o.startsWith("on-") || r.push(`--v-theme-${o}-overlay-multiplier: ${Fy(i) > 0.18 ? t : n}`); } for (const [o, i] of Object.entries(e.variables)) { const s = typeof i == "string" && i.startsWith("#") ? Pt(i) : void 0, a = s ? `${s.r}, ${s.g}, ${s.b}` : void 0; r.push(`--v-${o}: ${a ?? i}`); } return r; } function Pr(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "content"; const n = ts(), r = ie(); if (ke) { const o = new ResizeObserver((i) => { e == null || e(i, o), i.length && (t === "content" ? r.value = i[0].contentRect : r.value = i[0].target.getBoundingClientRect()); }); St(() => { o.disconnect(); }), fe(() => n.el, (i, s) => { s && (o.unobserve(s), r.value = void 0), i && o.observe(i); }, { flush: "post" }); } return { resizeRef: n, contentRect: Rr(r) }; } function yd() { let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}; const { blueprint: t, ...n } = e, r = ze(t, n), { aliases: o = {}, components: i = {}, directives: s = {} } = r, a = Ry(r.defaults), l = Lp(r.display, r.ssr), c = Yp(r.theme), u = Gp(r.icons), d = Gy(r.locale), m = Bp(r.date, d), h = $p(r.goTo, d); return { install: (f) => { for (const y in s) f.directive(y, s[y]); for (const y in i) f.component(y, i[y]); for (const y in o) f.component(y, or({ ...o[y], name: y, aliasName: o[y].name })); if (c.install(f), f.provide(Gn, a), f.provide(is, l), f.provide(Lo, c), f.provide(ss, u), f.provide(Ro, d), f.provide(Fp, m.options), f.provide(Nl, m.instance), f.provide(md, h), ke && r.ssr) if (f.$nuxt) f.$nuxt.hook("app:suspense:resolve", () => { l.update(); }); else { const { mount: y } = f; f.mount = function() { const w = y(...arguments); return Ze(() => l.update()), f.mount = y, w; }; } Ft.reset(), f.mixin({ computed: { $vuetify() { return Ot({ defaults: Fn.call(this, Gn), display: Fn.call(this, is), theme: Fn.call(this, Lo), icons: Fn.call(this, ss), locale: Fn.call(this, Ro), date: Fn.call(this, Nl) }); } } }); }, defaults: a, display: l, theme: c, icons: u, locale: d, date: m, goTo: h }; } const Jp = "3.6.8"; yd.version = Jp; function Fn(e) { var r, o; const t = this.$, n = ((r = t.parent) == null ? void 0 : r.provides) ?? ((o = t.vnode.appContext) == null ? void 0 : o.provides); if (n && e in n) return n[e]; } const rt = Y({ tag: { type: String, default: "div" } }, "tag"), Zp = Y({ disabled: Boolean, group: Boolean, hideOnLeave: Boolean, leaveAbsolute: Boolean, mode: String, origin: String }, "transition"); function ct(e, t, n) { return he()({ name: e, props: Zp({ mode: n, origin: t }), setup(r, o) { let { slots: i } = o; const s = { onBeforeEnter(a) { r.origin && (a.style.transformOrigin = r.origin); }, onLeave(a) { if (r.leaveAbsolute) { const { offsetTop: l, offsetLeft: c, offsetWidth: u, offsetHeight: d } = a; a._transitionInitialStyles = { position: a.style.position, top: a.style.top, left: a.style.left, width: a.style.width, height: a.style.height }, a.style.position = "absolute", a.style.top = `${l}px`, a.style.left = `${c}px`, a.style.width = `${u}px`, a.style.height = `${d}px`; } r.hideOnLeave && a.style.setProperty("display", "none", "important"); }, onAfterLeave(a) { if (r.leaveAbsolute && (a != null && a._transitionInitialStyles)) { const { position: l, top: c, left: u, width: d, height: m } = a._transitionInitialStyles; delete a._transitionInitialStyles, a.style.position = l || "", a.style.top = c || "", a.style.left = u || "", a.style.width = d || "", a.style.height = m || ""; } } }; return () => { const a = r.group ? Hs : jt; return Qn(a, { name: r.disabled ? "" : e, css: !r.disabled, ...r.group ? void 0 : { mode: r.mode }, ...r.disabled ? {} : s }, i.default); }; } }); } function pd(e, t) { let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "in-out"; return he()({ name: e, props: { mode: { type: String, default: n }, disabled: Boolean, group: Boolean }, setup(r, o) { let { slots: i } = o; const s = r.group ? Hs : jt; return () => Qn(s, { name: r.disabled ? "" : e, css: !r.disabled, // mode: props.mode, // TODO: vuejs/vue-next#3104 ...r.disabled ? {} : t }, i.default); } }); } function bd() { let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ""; const n = (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1) ? "width" : "height", r = vt(`offset-${n}`); return { onBeforeEnter(s) { s._parent = s.parentNode, s._initialStyle = { transition: s.style.transition, overflow: s.style.overflow, [n]: s.style[n] }; }, onEnter(s) { const a = s._initialStyle; s.style.setProperty("transition", "none", "important"), s.style.overflow = "hidden"; const l = `${s[r]}px`; s.style[n] = "0", s.offsetHeight, s.style.transition = a.transition, e && s._parent && s._parent.classList.add(e), requestAnimationFrame(() => { s.style[n] = l; }); }, onAfterEnter: i, onEnterCancelled: i, onLeave(s) { s._initialStyle = { transition: "", overflow: s.style.overflow, [n]: s.style[n] }, s.style.overflow = "hidden", s.style[n] = `${s[r]}px`, s.offsetHeight, requestAnimationFrame(() => s.style[n] = "0"); }, onAfterLeave: o, onLeaveCancelled: o }; function o(s) { e && s._parent && s._parent.classList.remove(e), i(s); } function i(s) { const a = s._initialStyle[n]; s.style.overflow = s._initialStyle.overflow, a != null && (s.style[n] = a), delete s._initialStyle; } } const Xp = Y({ target: [Object, Array] }, "v-dialog-transition"), Cd = he()({ name: "VDialogTransition", props: Xp(), setup(e, t) { let { slots: n } = t; const r = { onBeforeEnter(o) { o.style.pointerEvents = "none", o.style.visibility = "hidden"; }, async onEnter(o, i) { var m; await new Promise((h) => requestAnimationFrame(h)), await new Promise((h) => requestAnimationFrame(h)), o.style.visibility = ""; const { x: s, y: a, sx: l, sy: c, speed: u } = ql(e.target, o), d = Rn(o, [{ transform: `translate(${s}px, ${a}px) scale(${l}, ${c})`, opacity: 0 }, {}], { duration: 225 * u, easing: Dy }); (m = Kl(o)) == null || m.forEach((h) => { Rn(h, [{ opacity: 0 }, { opacity: 0, offset: 0.33 }, {}], { duration: 225 * 2 * u, easing: Fo }); }), d.finished.then(() => i()); }, onAfterEnter(o) { o.style.removeProperty("pointer-events"); }, onBeforeLeave(o) { o.style.pointerEvents = "none"; }, async onLeave(o, i) { var m; await new Promise((h) => requestAnimationFrame(h)); const { x: s, y: a, sx: l, sy: c, speed: u } = ql(e.target, o); Rn(o, [{}, { transform: `translate(${s}px, ${a}px) scale(${l}, ${c})`, opacity: 0 }], { duration: 125 * u, easing: $y }).finished.then(() => i()), (m = Kl(o)) == null || m.forEach((h) => { Rn(h, [{}, { opacity: 0, offset: 0.2 }, { opacity: 0 }], { duration: 125 * 2 * u, easing: Fo }); }); }, onAfterLeave(o) { o.style.removeProperty("pointer-events"); } }; return () => e.target ? v(jt, pe({ name: "dialog-transition" }, r, { css: !1 }), n) : v(jt, { name: "dialog-transition" }, n); } }); function Kl(e) { var n; const t = (n = e.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list")) == null ? void 0 : n.children; return t && [...t]; } function ql(e, t) { const n = Xu(e), r = Xs(t), [o, i] = getComputedStyle(t).transformOrigin.split(" ").map((w) => parseFloat(w)), [s, a] = getComputedStyle(t).getPropertyValue("--v-overlay-anchor-origin").split(" "); let l = n.left + n.width / 2; s === "left" || a === "left" ? l -= n.width / 2 : (s === "right" || a === "right") && (l += n.width / 2); let c = n.top + n.height / 2; s === "top" || a === "top" ? c -= n.height / 2 : (s === "bottom" || a === "bottom") && (c += n.height / 2); const u = n.width / r.width, d = n.height / r.height, m = Math.max(1, u, d), h = u / m || 0, g = d / m || 0, f = r.width * r.height / (window.innerWidth * window.innerHeight), y = f > 0.12 ? Math.min(1.5, (f - 0.12) * 10 + 1) : 1; return { x: l - (o + r.left), y: c - (i + r.top), sx: h, sy: g, speed: y }; } ct("fab-transition", "center center", "out-in"); ct("dialog-bottom-transition"); ct("dialog-top-transition"); const Yl = ct("fade-transition"); ct("scale-transition"); ct("scroll-x-transition"); ct("scroll-x-reverse-transition"); ct("scroll-y-transition"); ct("scroll-y-reverse-transition"); ct("slide-x-transition"); ct("slide-x-reverse-transition"); const wd = ct("slide-y-transition"); ct("slide-y-reverse-transition"); const Qp = pd("expand-transition", bd()), Sd = pd("expand-x-transition", bd("", !0)), eb = Y({ defaults: Object, disabled: Boolean, reset: [Number, String], root: [Boolean, String], scoped: Boolean }, "VDefaultsProvider"), Qe = he(!1)({ name: "VDefaultsProvider", props: eb(), setup(e, t) { let { slots: n } = t; const { defaults: r, disabled: o, reset: i, root: s, scoped: a } = ks(e); return Hr(r, { reset: i, root: s, scoped: a, disabled: o }), () => { var l; return (l = n.default) == null ? void 0 : l.call(n); }; } }), kn = Y({ height: [Number, String], maxHeight: [Number, String], maxWidth: [Number, String], minHeight: [Number, String], minWidth: [Number, String], width: [Number, String] }, "dimension"); function Pn(e) { return { dimensionStyles: b(() => { const n = {}, r = ge(e.height), o = ge(e.maxHeight), i = ge(e.maxWidth), s = ge(e.minHeight), a = ge(e.minWidth), l = ge(e.width); return r != null && (n.height = r), o != null && (n.maxHeight = o), i != null && (n.maxWidth = i), s != null && (n.minHeight = s), a != null && (n.minWidth = a), l != null && (n.width = l), n; }) }; } function tb(e) { return { aspectStyles: b(() => { const t = Number(e.aspectRatio); return t ? { paddingBottom: String(1 / t * 100) + "%" } : void 0; }) }; } const _d = Y({ aspectRatio: [String, Number], contentClass: null, inline: Boolean, ..._e(), ...kn() }, "VResponsive"), Jl = he()({ name: "VResponsive", props: _d(), setup(e, t) { let { slots: n } = t; const { aspectStyles: r } = tb(e), { dimensionStyles: o } = Pn(e); return we(() => { var i; return v("div", { class: ["v-responsive", { "v-responsive--inline": e.inline }, e.class], style: [o.value, e.style] }, [v("div", { class: "v-responsive__sizer", style: r.value }, null), (i = n.additional) == null ? void 0 : i.call(n), n.default && v("div", { class: ["v-responsive__content", e.contentClass] }, [n.default()])]); }), {}; } }); function ia(e) { return Zs(() => { const t = [], n = {}; if (e.value.background) if (rs(e.value.background)) { if (n.backgroundColor = e.value.background, !e.value.text && Ey(e.value.background)) { const r = Pt(e.value.background); if (r.a == null || r.a === 1) { const o = rd(r); n.color = o, n.caretColor = o; } } } else t.push(`bg-${e.value.background}`); return e.value.text && (rs(e.value.text) ? (n.color = e.value.text, n.caretColor = e.value.text) : t.push(`text-${e.value.text}`)), { colorClasses: t, colorStyles: n }; }); } function Ut(e, t) { const n = b(() => ({ text: Fe(e) ? e.value : t ? e[t] : null })), { colorClasses: r, colorStyles: o } = ia(n); return { textColorClasses: r, textColorStyles: o }; } function sn(e, t) { const n = b(() => ({ background: Fe(e) ? e.value : t ? e[t] : null })), { colorClasses: r, colorStyles: o } = ia(n); return { backgroundColorClasses: r, backgroundColorStyles: o }; } const zt = Y({ rounded: { type: [Boolean, Number, String], default: void 0 }, tile: Boolean }, "rounded"); function Gt(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : It(); return { roundedClasses: b(() => { const r = Fe(e) ? e.value : e.rounded, o = Fe(e) ? e.value : e.tile, i = []; if (r === !0 || r === "") i.push(`${t}--rounded`); else if (typeof r == "string" || r === 0) for (const s of String(r).split(" ")) i.push(`rounded-${s}`); else (o || r === !1) && i.push("rounded-0"); return i; }) }; } const jr = Y({ transition: { type: [Boolean, String, Object], default: "fade-transition", validator: (e) => e !== !0 } }, "transition"), nn = (e, t) => { let { slots: n } = t; const { transition: r, disabled: o, group: i, ...s } = e, { component: a = i ? Hs : jt, ...l } = typeof r == "object" ? r : {}; return Qn(a, pe(typeof r == "string" ? { name: o ? "" : r } : l, typeof r == "string" ? {} : Object.fromEntries(Object.entries({ disabled: o, group: i }).filter((c) => { let [u, d] = c; return d !== void 0; })), s), n); }; function nb(e, t) { if (!Ys) return; const n = t.modifiers || {}, r = t.value, { handler: o, options: i } = typeof r == "object" ? r : { handler: r, options: {} }, s = new IntersectionObserver(function() { var d; let a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], l = arguments.length > 1 ? arguments[1] : void 0; const c = (d = e._observe) == null ? void 0 : d[t.instance.$.uid]; if (!c) return; const u = a.some((m) => m.isIntersecting); o && (!n.quiet || c.init) && (!n.once || u || c.init) && o(u, a, l), u && n.once ? xd(e, t) : c.init = !0; }, i); e._observe = Object(e._observe), e._observe[t.instance.$.uid] = { init: !1, observer: s }, s.observe(e); } function xd(e, t) { var r; const n = (r = e._observe) == null ? void 0 : r[t.instance.$.uid]; n && (n.observer.unobserve(e), delete e._observe[t.instance.$.uid]); } const rb = { mounted: nb, unmounted: xd }, Ad = rb, ob = Y({ alt: String, cover: Boolean, color: String, draggable: { type: [Boolean, String], default: void 0 }, eager: Boolean, gradient: String, lazySrc: String, options: { type: Object, // For more information on types, navigate to: // https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API default: () => ({ root: void 0, rootMargin: void 0, threshold: void 0 }) }, sizes: String, src: { type: [String, Object], default: "" }, crossorigin: String, referrerpolicy: String, srcset: String, position: String, ..._d(), ..._e(), ...zt(), ...jr() }, "VImg"), ib = he()({ name: "VImg", directives: { intersect: Ad }, props: ob(), emits: { loadstart: (e) => !0, load: (e) => !0, error: (e) => !0 }, setup(e, t) { let { emit: n, slots: r } = t; const { backgroundColorClasses: o, backgroundColorStyles: i } = sn(oe(e, "color")), { roundedClasses: s } = Gt(e), a = He("VImg"), l = de(""), c = ie(), u = de(e.eager ? "loading" : "idle"), d = de(), m = de(), h = b(() => e.src && typeof e.src == "object" ? { src: e.src.src, srcset: e.srcset || e.src.srcset, lazySrc: e.lazySrc || e.src.lazySrc, aspect: Number(e.aspectRatio || e.src.aspect || 0) } : { src: e.src, srcset: e.srcset, lazySrc: e.lazySrc, aspect: Number(e.aspectRatio || 0) }), g = b(() => h.value.aspect || d.value / m.value || 0); fe(() => e.src, () => { f(u.value !== "idle"); }), fe(g, (_, B) => { !_ && B && c.value && O(c.value); }), Bs(() => f()); function f(_) { if (!(e.eager && _) && !(Ys && !_ && !e.eager)) { if (u.value = "loading", h.value.lazySrc) { const B = new Image(); B.src = h.value.lazySrc, O(B, null); } h.value.src && Ze(() => { var B; n("loadstart", ((B = c.value) == null ? void 0 : B.currentSrc) || h.value.src), setTimeout(() => { var D; if (!a.isUnmounted) if ((D = c.value) != null && D.complete) { if (c.value.naturalWidth || w(), u.value === "error") return; g.value || O(c.value, null), u.value === "loading" && y(); } else g.value || O(c.value), P(); }); }); } } function y() { var _; a.isUnmounted || (P(), O(c.value), u.value = "loaded", n("load", ((_ = c.value) == null ? void 0 : _.currentSrc) || h.value.src)); } function w() { var _; a.isUnmounted || (u.value = "error", n("error", ((_ = c.value) == null ? void 0 : _.currentSrc) || h.value.src)); } function P() { const _ = c.value; _ && (l.value = _.currentSrc || _.src); } let A = -1; St(() => { clearTimeout(A); }); function O(_) { let B = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 100; const D = () => { if (clearTimeout(A), a.isUnmounted) return; const { naturalHeight: X, naturalWidth: Q } = _; X || Q ? (d.value = Q, m.value = X) : !_.complete && u.value === "loading" && B != null ? A = window.setTimeout(D, B) : (_.currentSrc.endsWith(".svg") || _.currentSrc.startsWith("data:image/svg+xml")) && (d.value = 1, m.value = 1); }; D(); } const L = b(() => ({ "v-img__img--cover": e.cover, "v-img__img--contain": !e.cover })), x = () => { var D; if (!h.value.src || u.value === "idle") return null; const _ = v("img", { class: ["v-img__img", L.value], style: { objectPosition: e.position }, src: h.value.src, srcset: h.value.srcset, alt: e.alt, crossorigin: e.crossorigin, referrerpolicy: e.referrerpolicy, draggable: e.draggable, sizes: e.sizes, ref: c, onLoad: y, onError: w }, null), B = (D = r.sources) == null ? void 0 : D.call(r); return v(nn, { transition: e.transition, appear: !0 }, { default: () => [yt(B ? v("picture", { class: "v-img__picture" }, [B, _]) : _, [[er, u.value === "loaded"]])] }); }, S = () => v(nn, { transition: e.transition }, { default: () => [h.value.lazySrc && u.value !== "loaded" && v("img", { class: ["v-img__img", "v-img__img--preload", L.value], style: { objectPosition: e.position }, src: h.value.lazySrc, alt: e.alt, crossorigin: e.crossorigin, referrerpolicy: e.referrerpolicy, draggable: e.draggable }, null)] }), F = () => r.placeholder ? v(nn, { transition: e.transition, appear: !0 }, { default: () => [(u.value === "loading" || u.value === "error" && !r.error) && v("div", { class: "v-img__placeholder" }, [r.placeholder()])] }) : null, K = () => r.error ? v(nn, { transition: e.transition, appear: !0 }, { default: () => [u.value === "error" && v("div", { class: "v-img__error" }, [r.error()])] }) : null, W = () => e.gradient ? v("div", { class: "v-img__gradient", style: { backgroundImage: `linear-gradient(${e.gradient})` } }, null) : null, j = de(!1); { const _ = fe(g, (B) => { B && (requestAnimationFrame(() => { requestAnimationFrame(() => { j.value = !0; }); }), _()); }); } return we(() => { const _ = Jl.filterProps(e); return yt(v(Jl, pe({ class: ["v-img", { "v-img--booting": !j.value }, o.value, s.value, e.class], style: [{ width: ge(e.width === "auto" ? d.value : e.width) }, i.value, e.style] }, _, { aspectRatio: g.value, "aria-label": e.alt, role: e.alt ? "img" : void 0 }), { additional: () => v(Se, null, [v(x, null, null), v(S, null, null), v(W, null, null), v(F, null, null), v(K, null, null)]), default: r.default }), [[Zn("intersect"), { handler: f, options: e.options }, null, { once: !0 }]]); }), { currentSrc: l, image: c, state: u, naturalWidth: d, naturalHeight: m }; } }), Ur = Y({ border: [Boolean, Number, String] }, "border"); function Wr(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : It(); return { borderClasses: b(() => { const r = Fe(e) ? e.value : e.border, o = []; if (r === !0 || r === "") o.push(`${t}--border`); else if (typeof r == "string" || r === 0) for (const i of String(r).split(" ")) o.push(`border-${i}`); return o; }) }; } const zr = Y({ elevation: { type: [Number, String], validator(e) { const t = parseInt(e); return !isNaN(t) && t >= 0 && // Material Design has a maximum elevation of 24 // https://material.io/design/environment/elevation.html#default-elevations t <= 24; } } }, "elevation"); function Gr(e) { return { elevationClasses: b(() => { const n = Fe(e) ? e.value : e.elevation, r = []; return n == null || r.push(`elevation-${n}`), r; }) }; } function sb() { const e = de(!1); return An(() => { window.requestAnimationFrame(() => { e.value = !0; }); }), { ssrBootStyles: b(() => e.value ? void 0 : { transition: "none !important" }), isBooted: Rr(e) }; } const ab = [null, "default", "comfortable", "compact"], ln = Y({ density: { type: String, default: "default", validator: (e) => ab.includes(e) } }, "density"); function cn(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : It(); return { densityClasses: b(() => `${t}--density-${e.density}`) }; } const lb = ["elevated", "flat", "tonal", "outlined", "text", "plain"]; function si(e, t) { return v(Se, null, [e && v("span", { key: "overlay", class: `${t}__overlay` }, null), v("span", { key: "underlay", class: `${t}__underlay` }, null)]); } const Tn = Y({ color: String, variant: { type: String, default: "elevated", validator: (e) => lb.includes(e) } }, "variant"); function ai(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : It(); const n = b(() => { const { variant: i } = bt(e); return `${t}--variant-${i}`; }), { colorClasses: r, colorStyles: o } = ia(b(() => { const { variant: i, color: s } = bt(e); return { [["elevated", "flat"].includes(i) ? "background" : "text"]: s }; })); return { colorClasses: r, colorStyles: o, variantClasses: n }; } const Ed = Y({ baseColor: String, divided: Boolean, ...Ur(), ..._e(), ...ln(), ...zr(), ...zt(), ...rt(), ...Ke(), ...Tn() }, "VBtnGroup"), Zl = he()({ name: "VBtnGroup", props: Ed(), setup(e, t) { let { slots: n } = t; const { themeClasses: r } = nt(e), { densityClasses: o } = cn(e), { borderClasses: i } = Wr(e), { elevationClasses: s } = Gr(e), { roundedClasses: a } = Gt(e); Hr({ VBtn: { height: "auto", baseColor: oe(e, "baseColor"), color: oe(e, "color"), density: oe(e, "density"), flat: !0, variant: oe(e, "variant") } }), we(() => v(e.tag, { class: ["v-btn-group", { "v-btn-group--divided": e.divided }, r.value, i.value, o.value, s.value, a.value, e.class], style: e.style }, n)); } }), sa = Y({ modelValue: { type: null, default: void 0 }, multiple: Boolean, mandatory: [Boolean, String], max: Number, selectedClass: String, disabled: Boolean }, "group"), kd = Y({ value: null, disabled: Boolean, selectedClass: String }, "group-item"); function Pd(e, t) { let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0; const r = He("useGroupItem"); if (!r) throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function"); const o = Ft(); lt(Symbol.for(`${t.description}:id`), o); const i = Re(t, null); if (!i) { if (!n) return i; throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${t.description}`); } const s = oe(e, "value"), a = b(() => !!(i.disabled.value || e.disabled)); i.register({ id: o, value: s, disabled: a }, r), St(() => { i.unregister(o); }); const l = b(() => i.isSelected(o)), c = b(() => i.items.value[0].id === o), u = b(() => i.items.value[i.items.value.length - 1].id === o), d = b(() => l.value && [i.selectedClass.value, e.selectedClass]); return fe(l, (m) => { r.emit("group:selected", { value: m }); }, { flush: "sync" }), { id: o, isSelected: l, isFirst: c, isLast: u, toggle: () => i.select(o, !l.value), select: (m) => i.select(o, m), selectedClass: d, value: s, disabled: a, group: i }; } function aa(e, t) { let n = !1; const r = Ot([]), o = $e(e, "modelValue", [], (m) => m == null ? [] : Td(r, wt(m)), (m) => { const h = ub(r, m); return e.multiple ? h : h[0]; }), i = He("useGroup"); function s(m, h) { const g = m, f = Symbol.for(`${t.description}:id`), w = fr(f, i == null ? void 0 : i.vnode).indexOf(h); bt(g.value) == null && (g.value = w, g.useIndexAsValue = !0), w > -1 ? r.splice(w, 0, g) : r.push(g); } function a(m) { if (n) return; l(); const h = r.findIndex((g) => g.id === m); r.splice(h, 1); } function l() { const m = r.find((h) => !h.disabled); m && e.mandatory === "force" && !o.value.length && (o.value = [m.id]); } An(() => { l(); }), St(() => { n = !0; }), Rs(() => { for (let m = 0; m < r.length; m++) r[m].useIndexAsValue && (r[m].value = m); }); function c(m, h) { const g = r.find((f) => f.id === m); if (!(h && (g != null && g.disabled))) if (e.multiple) { const f = o.value.slice(), y = f.findIndex((P) => P === m), w = ~y; if (h = h ?? !w, w && e.mandatory && f.length <= 1 || !w && e.max != null && f.length + 1 > e.max) return; y < 0 && h ? f.push(m) : y >= 0 && !h && f.splice(y, 1), o.value = f; } else { const f = o.value.includes(m); if (e.mandatory && f) return; o.value = h ?? !f ? [m] : []; } } function u(m) { if (e.multiple, o.value.length) { const h = o.value[0], g = r.findIndex((w) => w.id === h); let f = (g + m) % r.length, y = r[f]; for (; y.disabled && f !== g; ) f = (f + m) % r.length, y = r[f]; if (y.disabled) return; o.value = [r[f].id]; } else { const h = r.find((g) => !g.disabled); h && (o.value = [h.id]); } } const d = { register: s, unregister: a, selected: o, select: c, disabled: oe(e, "disabled"), prev: () => u(r.length - 1), next: () => u(1), isSelected: (m) => o.value.includes(m), selectedClass: b(() => e.selectedClass), items: b(() => r), getItemIndex: (m) => cb(r, m) }; return lt(t, d), d; } function cb(e, t) { const n = Td(e, [t]); return n.length ? e.findIndex((r) => r.id === n[0]) : -1; } function Td(e, t) { const n = []; return t.forEach((r) => { const o = e.find((s) => nr(r, s.value)), i = e[r]; (o == null ? void 0 : o.value) != null ? n.push(o.id) : i != null && n.push(i.id); }), n; } function ub(e, t) { const n = []; return t.forEach((r) => { const o = e.findIndex((i) => i.id === r); if (~o) { const i = e[o]; n.push(i.value != null ? i.value : o); } }), n; } const Od = Symbol.for("vuetify:v-btn-toggle"), db = Y({ ...Ed(), ...sa() }, "VBtnToggle"); he()({ name: "VBtnToggle", props: db(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { let { slots: n } = t; const { isSelected: r, next: o, prev: i, select: s, selected: a } = aa(e, Od); return we(() => { const l = Zl.filterProps(e); return v(Zl, pe({ class: ["v-btn-toggle", e.class] }, l, { style: e.style }), { default: () => { var c; return [(c = n.default) == null ? void 0 : c.call(n, { isSelected: r, next: o, prev: i, select: s, selected: a })]; } }); }), { next: o, prev: i, select: s }; } }); const fb = ["x-small", "small", "default", "large", "x-large"], Kr = Y({ size: { type: [String, Number], default: "default" } }, "size"); function qr(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : It(); return Zs(() => { let n, r; return Po(fb, e.size) ? n = `${t}--size-${e.size}` : e.size && (r = { width: ge(e.size), height: ge(e.size) }), { sizeClasses: n, sizeStyles: r }; }); } const mb = Y({ color: String, disabled: Boolean, start: Boolean, end: Boolean, icon: Te, ..._e(), ...Kr(), ...rt({ tag: "i" }), ...Ke() }, "VIcon"), Ge = he()({ name: "VIcon", props: mb(), setup(e, t) { let { attrs: n, slots: r } = t; const o = ie(), { themeClasses: i } = nt(e), { iconData: s } = Kp(b(() => o.value || e.icon)), { sizeClasses: a } = qr(e), { textColorClasses: l, textColorStyles: c } = Ut(oe(e, "color")); return we(() => { var m, h; const u = (m = r.default) == null ? void 0 : m.call(r); u && (o.value = (h = Ku(u).filter((g) => g.type === Vr && g.children && typeof g.children == "string")[0]) == null ? void 0 : h.children); const d = !!(n.onClick || n.onClickOnce); return v(s.value.component, { tag: e.tag, icon: s.value.icon, class: ["v-icon", "notranslate", i.value, a.value, l.value, { "v-icon--clickable": d, "v-icon--disabled": e.disabled, "v-icon--start": e.start, "v-icon--end": e.end }, e.class], style: [a.value ? void 0 : { fontSize: ge(e.size), height: ge(e.size), width: ge(e.size) }, c.value, e.style], role: d ? "button" : void 0, "aria-hidden": !d, tabindex: d ? e.disabled ? -1 : 0 : void 0 }, { default: () => [u] }); }), {}; } }); function Md(e, t) { const n = ie(), r = de(!1); if (Ys) { const o = new IntersectionObserver((i) => { e == null || e(i, o), r.value = !!i.find((s) => s.isIntersecting); }, t); St(() => { o.disconnect(); }), fe(n, (i, s) => { s && (o.unobserve(s), r.value = !1), i && o.observe(i); }, { flush: "post" }); } return { intersectionRef: n, isIntersecting: r }; } const hb = Y({ bgColor: String, color: String, indeterminate: [Boolean, String], modelValue: { type: [Number, String], default: 0 }, rotate: { type: [Number, String], default: 0 }, width: { type: [Number, String], default: 4 }, ..._e(), ...Kr(), ...rt({ tag: "div" }), ...Ke() }, "VProgressCircular"), gb = he()({ name: "VProgressCircular", props: hb(), setup(e, t) { let { slots: n } = t; const r = 20, o = 2 * Math.PI * r, i = ie(), { themeClasses: s } = nt(e), { sizeClasses: a, sizeStyles: l } = qr(e), { textColorClasses: c, textColorStyles: u } = Ut(oe(e, "color")), { textColorClasses: d, textColorStyles: m } = Ut(oe(e, "bgColor")), { intersectionRef: h, isIntersecting: g } = Md(), { resizeRef: f, contentRect: y } = Pr(), w = b(() => Math.max(0, Math.min(100, parseFloat(e.modelValue)))), P = b(() => Number(e.width)), A = b(() => l.value ? Number(e.size) : y.value ? y.value.width : Math.max(P.value, 32)), O = b(() => r / (1 - P.value / A.value) * 2), L = b(() => P.value / A.value * O.value), x = b(() => ge((100 - w.value) / 100 * o)); return Tt(() => { h.value = i.value, f.value = i.value; }), we(() => v(e.tag, { ref: i, class: ["v-progress-circular", { "v-progress-circular--indeterminate": !!e.indeterminate, "v-progress-circular--visible": g.value, "v-progress-circular--disable-shrink": e.indeterminate === "disable-shrink" }, s.value, a.value, c.value, e.class], style: [l.value, u.value, e.style], role: "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": e.indeterminate ? void 0 : w.value }, { default: () => [v("svg", { style: { transform: `rotate(calc(-90deg + ${Number(e.rotate)}deg))` }, xmlns: "http://www.w3.org/2000/svg", viewBox: `0 0 ${O.value} ${O.value}` }, [v("circle", { class: ["v-progress-circular__underlay", d.value], style: m.value, fill: "transparent", cx: "50%", cy: "50%", r, "stroke-width": L.value, "stroke-dasharray": o, "stroke-dashoffset": 0 }, null), v("circle", { class: "v-progress-circular__overlay", fill: "transparent", cx: "50%", cy: "50%", r, "stroke-width": L.value, "stroke-dasharray": o, "stroke-dashoffset": x.value }, null)]), n.default && v("div", { class: "v-progress-circular__content" }, [n.default({ value: w.value })])] })), {}; } }), Xl = { center: "center", top: "bottom", bottom: "top", left: "right", right: "left" }, Id = Y({ location: String }, "location"); function Fd(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, n = arguments.length > 2 ? arguments[2] : void 0; const { isRtl: r } = En(); return { locationStyles: b(() => { if (!e.location) return {}; const { side: i, align: s } = ns(e.location.split(" ").length > 1 ? e.location : `${e.location} center`, r.value); function a(c) { return n ? n(c) : 0; } const l = {}; return i !== "center" && (t ? l[Xl[i]] = `calc(100% - ${a(i)}px)` : l[i] = 0), s !== "center" ? t ? l[Xl[s]] = `calc(100% - ${a(s)}px)` : l[s] = 0 : (i === "center" ? l.top = l.left = "50%" : l[{ top: "left", bottom: "left", left: "top", right: "top" }[i]] = "50%", l.transform = { top: "translateX(-50%)", bottom: "translateX(-50%)", left: "translateY(-50%)", right: "translateY(-50%)", center: "translate(-50%, -50%)" }[i]), l; }) }; } const vb = Y({ absolute: Boolean, active: { type: Boolean, default: !0 }, bgColor: String, bgOpacity: [Number, String], bufferValue: { type: [Number, String], default: 0 }, bufferColor: String, bufferOpacity: [Number, String], clickable: Boolean, color: String, height: { type: [Number, String], default: 4 }, indeterminate: Boolean, max: { type: [Number, String], default: 100 }, modelValue: { type: [Number, String], default: 0 }, opacity: [Number, String], reverse: Boolean, stream: Boolean, striped: Boolean, roundedBar: Boolean, ..._e(), ...Id({ location: "top" }), ...zt(), ...rt(), ...Ke() }, "VProgressLinear"), yb = he()({ name: "VProgressLinear", props: vb(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { let { slots: n } = t; const r = $e(e, "modelValue"), { isRtl: o, rtlClasses: i } = En(), { themeClasses: s } = nt(e), { locationStyles: a } = Fd(e), { textColorClasses: l, textColorStyles: c } = Ut(e, "color"), { backgroundColorClasses: u, backgroundColorStyles: d } = sn(b(() => e.bgColor || e.color)), { backgroundColorClasses: m, backgroundColorStyles: h } = sn(b(() => e.bufferColor || e.bgColor || e.color)), { backgroundColorClasses: g, backgroundColorStyles: f } = sn(e, "color"), { roundedClasses: y } = Gt(e), { intersectionRef: w, isIntersecting: P } = Md(), A = b(() => parseFloat(e.max)), O = b(() => parseFloat(e.height)), L = b(() => $t(parseFloat(e.bufferValue) / A.value * 100, 0, 100)), x = b(() => $t(parseFloat(r.value) / A.value * 100, 0, 100)), S = b(() => o.value !== e.reverse), F = b(() => e.indeterminate ? "fade-transition" : "slide-x-transition"); function K(W) { if (!w.value) return; const { left: j, right: _, width: B } = w.value.getBoundingClientRect(), D = S.value ? B - W.clientX + (_ - B) : W.clientX - j; r.value = Math.round(D / B * A.value); } return we(() => v(e.tag, { ref: w, class: ["v-progress-linear", { "v-progress-linear--absolute": e.absolute, "v-progress-linear--active": e.active && P.value, "v-progress-linear--reverse": S.value, "v-progress-linear--rounded": e.rounded, "v-progress-linear--rounded-bar": e.roundedBar, "v-progress-linear--striped": e.striped }, y.value, s.value, i.value, e.class], style: [{ bottom: e.location === "bottom" ? 0 : void 0, top: e.location === "top" ? 0 : void 0, height: e.active ? ge(O.value) : 0, "--v-progress-linear-height": ge(O.value), ...e.absolute ? a.value : {} }, e.style], role: "progressbar", "aria-hidden": e.active ? "false" : "true", "aria-valuemin": "0", "aria-valuemax": e.max, "aria-valuenow": e.indeterminate ? void 0 : x.value, onClick: e.clickable && K }, { default: () => [e.stream && v("div", { key: "stream", class: ["v-progress-linear__stream", l.value], style: { ...c.value, [S.value ? "left" : "right"]: ge(-O.value), borderTop: `${ge(O.value / 2)} dotted`, opacity: parseFloat(e.bufferOpacity), top: `calc(50% - ${ge(O.value / 4)})`, width: ge(100 - L.value, "%"), "--v-progress-linear-stream-to": ge(O.value * (S.value ? 1 : -1)) } }, null), v("div", { class: ["v-progress-linear__background", u.value], style: [d.value, { opacity: parseFloat(e.bgOpacity), width: e.stream ? 0 : void 0 }] }, null), v("div", { class: ["v-progress-linear__buffer", m.value], style: [h.value, { opacity: parseFloat(e.bufferOpacity), width: ge(L.value, "%") }] }, null), v(jt, { name: F.value }, { default: () => [e.indeterminate ? v("div", { class: "v-progress-linear__indeterminate" }, [["long", "short"].map((W) => v("div", { key: W, class: ["v-progress-linear__indeterminate", W, g.value], style: f.value }, null))]) : v("div", { class: ["v-progress-linear__determinate", g.value], style: [f.value, { width: ge(x.value, "%") }] }, null)] }), n.default && v("div", { class: "v-progress-linear__content" }, [n.default({ value: x.value, buffer: L.value })])] })), {}; } }), Bd = Y({ loading: [Boolean, String] }, "loader"); function Rd(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : It(); return { loaderClasses: b(() => ({ [`${t}--loading`]: e.loading })) }; } function pb(e, t) { var r; let { slots: n } = t; return v("div", { class: `${e.name}__loader` }, [((r = n.default) == null ? void 0 : r.call(n, { color: e.color, isActive: e.active })) || v(yb, { absolute: e.absolute, active: e.active, color: e.color, height: "2", indeterminate: !0 }, null)]); } const bb = ["static", "relative", "fixed", "absolute", "sticky"], Cb = Y({ position: { type: String, validator: ( /* istanbul ignore next */ (e) => bb.includes(e) ) } }, "position"); function wb(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : It(); return { positionClasses: b(() => e.position ? `${t}--${e.position}` : void 0) }; } function Sb() { const e = He("useRoute"); return b(() => { var t; return (t = e == null ? void 0 : e.proxy) == null ? void 0 : t.$route; }); } function _b() { var e, t; return (t = (e = He("useRouter")) == null ? void 0 : e.proxy) == null ? void 0 : t.$router; } function la(e, t) { var c, u; const n = Am("RouterLink"), r = b(() => !!(e.href || e.to)), o = b(() => (r == null ? void 0 : r.value) || bl(t, "click") || bl(e, "click")); if (typeof n == "string" || !("useLink" in n)) return { isLink: r, isClickable: o, href: oe(e, "href") }; const i = b(() => ({ ...e, to: oe(() => e.to || "") })), s = n.useLink(i.value), a = b(() => e.to ? s : void 0), l = Sb(); return { isLink: r, isClickable: o, route: (c = a.value) == null ? void 0 : c.route, navigate: (u = a.value) == null ? void 0 : u.navigate, isActive: b(() => { var d, m, h; return a.value ? e.exact ? l.value ? ((h = a.value.isExactActive) == null ? void 0 : h.value) && nr(a.value.route.value.query, l.value.query) : ((m = a.value.isExactActive) == null ? void 0 : m.value) ?? !1 : ((d = a.value.isActive) == null ? void 0 : d.value) ?? !1 : !1; }), href: b(() => { var d; return e.to ? (d = a.value) == null ? void 0 : d.route.value.href : e.href; }) }; } const ca = Y({ href: String, replace: Boolean, to: [String, Object], exact: Boolean }, "router"); let Oi = !1; function xb(e, t) { let n = !1, r, o; ke && (Ze(() => { window.addEventListener("popstate", i), r = e == null ? void 0 : e.beforeEach((s, a, l) => { Oi ? n ? t(l) : l() : setTimeout(() => n ? t(l) : l()), Oi = !0; }), o = e == null ? void 0 : e.afterEach(() => { Oi = !1; }); }), tt(() => { window.removeEventListener("popstate", i), r == null || r(), o == null || o(); })); function i(s) { var a; (a = s.state) != null && a.replaced || (n = !0, setTimeout(() => n = !1)); } } function Ab(e, t) { fe(() => { var n; return (n = e.isActive) == null ? void 0 : n.value; }, (n) => { e.isLink.value && n && t && Ze(() => { t(!0); }); }, { immediate: !0 }); } const as = Symbol("rippleStop"), Eb = 80; function Ql(e, t) { e.style.transform = t, e.style.webkitTransform = t; } function ls(e) { return e.constructor.name === "TouchEvent"; } function Vd(e) { return e.constructor.name === "KeyboardEvent"; } const kb = function(e, t) { var d; let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = 0, o = 0; if (!Vd(e)) { const m = t.getBoundingClientRect(), h = ls(e) ? e.touches[e.touches.length - 1] : e; r = h.clientX - m.left, o = h.clientY - m.top; } let i = 0, s = 0.3; (d = t._ripple) != null && d.circle ? (s = 0.15, i = t.clientWidth / 2, i = n.center ? i : i + Math.sqrt((r - i) ** 2 + (o - i) ** 2) / 4) : i = Math.sqrt(t.clientWidth ** 2 + t.clientHeight ** 2) / 2; const a = `${(t.clientWidth - i * 2) / 2}px`, l = `${(t.clientHeight - i * 2) / 2}px`, c = n.center ? a : `${r - i}px`, u = n.center ? l : `${o - i}px`; return { radius: i, scale: s, x: c, y: u, centerX: a, centerY: l }; }, No = { /* eslint-disable max-statements */ show(e, t) { var h; let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}; if (!((h = t == null ? void 0 : t._ripple) != null && h.enabled)) return; const r = document.createElement("span"), o = document.createElement("span"); r.appendChild(o), r.className = "v-ripple__container", n.class && (r.className += ` ${n.class}`); const { radius: i, scale: s, x: a, y: l, centerX: c, centerY: u } = kb(e, t, n), d = `${i * 2}px`; o.className = "v-ripple__animation", o.style.width = d, o.style.height = d, t.appendChild(r); const m = window.getComputedStyle(t); m && m.position === "static" && (t.style.position = "relative", t.dataset.previousPosition = "static"), o.classList.add("v-ripple__animation--enter"), o.classList.add("v-ripple__animation--visible"), Ql(o, `translate(${a}, ${l}) scale3d(${s},${s},${s})`), o.dataset.activated = String(performance.now()), setTimeout(() => { o.classList.remove("v-ripple__animation--enter"), o.classList.add("v-ripple__animation--in"), Ql(o, `translate(${c}, ${u}) scale3d(1,1,1)`); }, 0); }, hide(e) { var i; if (!((i = e == null ? void 0 : e._ripple) != null && i.enabled)) return; const t = e.getElementsByClassName("v-ripple__animation"); if (t.length === 0) return; const n = t[t.length - 1]; if (n.dataset.isHiding) return; n.dataset.isHiding = "true"; const r = performance.now() - Number(n.dataset.activated), o = Math.max(250 - r, 0); setTimeout(() => { n.classList.remove("v-ripple__animation--in"), n.classList.add("v-ripple__animation--out"), setTimeout(() => { var a; e.getElementsByClassName("v-ripple__animation").length === 1 && e.dataset.previousPosition && (e.style.position = e.dataset.previousPosition, delete e.dataset.previousPosition), ((a = n.parentNode) == null ? void 0 : a.parentNode) === e && e.removeChild(n.parentNode); }, 300); }, o); } }; function Ld(e) { return typeof e > "u" || !!e; } function Tr(e) { const t = {}, n = e.currentTarget; if (!(!(n != null && n._ripple) || n._ripple.touched || e[as])) { if (e[as] = !0, ls(e)) n._ripple.touched = !0, n._ripple.isTouch = !0; else if (n._ripple.isTouch) return; if (t.center = n._ripple.centered || Vd(e), n._ripple.class && (t.class = n._ripple.class), ls(e)) { if (n._ripple.showTimerCommit) return; n._ripple.showTimerCommit = () => { No.show(e, n, t); }, n._ripple.showTimer = window.setTimeout(() => { var r; (r = n == null ? void 0 : n._ripple) != null && r.showTimerCommit && (n._ripple.showTimerCommit(), n._ripple.showTimerCommit = null); }, Eb); } else No.show(e, n, t); } } function ec(e) { e[as] = !0; } function st(e) { const t = e.currentTarget; if (t != null && t._ripple) { if (window.clearTimeout(t._ripple.showTimer), e.type === "touchend" && t._ripple.showTimerCommit) { t._ripple.showTimerCommit(), t._ripple.showTimerCommit = null, t._ripple.showTimer = window.setTimeout(() => { st(e); }); return; } window.setTimeout(() => { t._ripple && (t._ripple.touched = !1); }), No.hide(t); } } function Nd(e) { const t = e.currentTarget; t != null && t._ripple && (t._ripple.showTimerCommit && (t._ripple.showTimerCommit = null), window.clearTimeout(t._ripple.showTimer)); } let Or = !1; function Dd(e) { !Or && (e.keyCode === gl.enter || e.keyCode === gl.space) && (Or = !0, Tr(e)); } function $d(e) { Or = !1, st(e); } function Hd(e) { Or && (Or = !1, st(e)); } function jd(e, t, n) { const { value: r, modifiers: o } = t, i = Ld(r); if (i || No.hide(e), e._ripple = e._ripple ?? {}, e._ripple.enabled = i, e._ripple.centered = o.center, e._ripple.circle = o.circle, es(r) && r.class && (e._ripple.class = r.class), i && !n) { if (o.stop) { e.addEventListener("touchstart", ec, { passive: !0 }), e.addEventListener("mousedown", ec); return; } e.addEventListener("touchstart", Tr, { passive: !0 }), e.addEventListener("touchend", st, { passive: !0 }), e.addEventListener("touchmove", Nd, { passive: !0 }), e.addEventListener("touchcancel", st), e.addEventListener("mousedown", Tr), e.addEventListener("mouseup", st), e.addEventListener("mouseleave", st), e.addEventListener("keydown", Dd), e.addEventListener("keyup", $d), e.addEventListener("blur", Hd), e.addEventListener("dragstart", st, { passive: !0 }); } else !i && n && Ud(e); } function Ud(e) { e.removeEventListener("mousedown", Tr), e.removeEventListener("touchstart", Tr), e.removeEventListener("touchend", st), e.removeEventListener("touchmove", Nd), e.removeEventListener("touchcancel", st), e.removeEventListener("mouseup", st), e.removeEventListener("mouseleave", st), e.removeEventListener("keydown", Dd), e.removeEventListener("keyup", $d), e.removeEventListener("dragstart", st), e.removeEventListener("blur", Hd); } function Pb(e, t) { jd(e, t, !1); } function Tb(e) { delete e._ripple, Ud(e); } function Ob(e, t) { if (t.value === t.oldValue) return; const n = Ld(t.oldValue); jd(e, t, n); } const li = { mounted: Pb, unmounted: Tb, updated: Ob }, Mb = Y({ active: { type: Boolean, default: void 0 }, baseColor: String, symbol: { type: null, default: Od }, flat: Boolean, icon: [Boolean, String, Function, Object], prependIcon: Te, appendIcon: Te, block: Boolean, readonly: Boolean, slim: Boolean, stacked: Boolean, ripple: { type: [Boolean, Object], default: !0 }, text: String, ...Ur(), ..._e(), ...ln(), ...kn(), ...zr(), ...kd(), ...Bd(), ...Id(), ...Cb(), ...zt(), ...ca(), ...Kr(), ...rt({ tag: "button" }), ...Ke(), ...Tn({ variant: "elevated" }) }, "VBtn"), Ib = he()({ name: "VBtn", props: Mb(), emits: { "group:selected": (e) => !0 }, setup(e, t) { let { attrs: n, slots: r } = t; const { themeClasses: o } = nt(e), { borderClasses: i } = Wr(e), { densityClasses: s } = cn(e), { dimensionStyles: a } = Pn(e), { elevationClasses: l } = Gr(e), { loaderClasses: c } = Rd(e), { locationStyles: u } = Fd(e), { positionClasses: d } = wb(e), { roundedClasses: m } = Gt(e), { sizeClasses: h, sizeStyles: g } = qr(e), f = Pd(e, e.symbol, !1), y = la(e, n), w = b(() => { var W; return e.active !== void 0 ? e.active : y.isLink.value ? (W = y.isActive) == null ? void 0 : W.value : f == null ? void 0 : f.isSelected.value; }), P = b(() => { var j, _; return { color: (f == null ? void 0 : f.isSelected.value) && (!y.isLink.value || ((j = y.isActive) == null ? void 0 : j.value)) || !f || ((_ = y.isActive) == null ? void 0 : _.value) ? e.color ?? e.baseColor : e.baseColor, variant: e.variant }; }), { colorClasses: A, colorStyles: O, variantClasses: L } = ai(P), x = b(() => (f == null ? void 0 : f.disabled.value) || e.disabled), S = b(() => e.variant === "elevated" && !(e.disabled || e.flat || e.border)), F = b(() => { if (!(e.value === void 0 || typeof e.value == "symbol")) return Object(e.value) === e.value ? JSON.stringify(e.value, null, 0) : e.value; }); function K(W) { var j; x.value || y.isLink.value && (W.metaKey || W.ctrlKey || W.shiftKey || W.button !== 0 || n.target === "_blank") || ((j = y.navigate) == null || j.call(y, W), f == null || f.toggle()); } return Ab(y, f == null ? void 0 : f.select), we(() => { const W = y.isLink.value ? "a" : e.tag, j = !!(e.prependIcon || r.prepend), _ = !!(e.appendIcon || r.append), B = !!(e.icon && e.icon !== !0); return yt(v(W, { type: W === "a" ? void 0 : "button", class: ["v-btn", f == null ? void 0 : f.selectedClass.value, { "v-btn--active": w.value, "v-btn--block": e.block, "v-btn--disabled": x.value, "v-btn--elevated": S.value, "v-btn--flat": e.flat, "v-btn--icon": !!e.icon, "v-btn--loading": e.loading, "v-btn--readonly": e.readonly, "v-btn--slim": e.slim, "v-btn--stacked": e.stacked }, o.value, i.value, A.value, s.value, l.value, c.value, d.value, m.value, h.value, L.value, e.class], style: [O.value, a.value, u.value, g.value, e.style], "aria-busy": e.loading ? !0 : void 0, disabled: x.value || void 0, href: y.href.value, tabindex: e.loading || e.readonly ? -1 : void 0, onClick: K, value: F.value }, { default: () => { var D; return [si(!0, "v-btn"), !e.icon && j && v("span", { key: "prepend", class: "v-btn__prepend" }, [r.prepend ? v(Qe, { key: "prepend-defaults", disabled: !e.prependIcon, defaults: { VIcon: { icon: e.prependIcon } } }, r.prepend) : v(Ge, { key: "prepend-icon", icon: e.prependIcon }, null)]), v("span", { class: "v-btn__content", "data-no-activator": "" }, [!r.default && B ? v(Ge, { key: "content-icon", icon: e.icon }, null) : v(Qe, { key: "content-defaults", disabled: !B, defaults: { VIcon: { icon: e.icon } } }, { default: () => { var X; return [((X = r.default) == null ? void 0 : X.call(r)) ?? e.text]; } })]), !e.icon && _ && v("span", { key: "append", class: "v-btn__append" }, [r.append ? v(Qe, { key: "append-defaults", disabled: !e.appendIcon, defaults: { VIcon: { icon: e.appendIcon } } }, r.append) : v(Ge, { key: "append-icon", icon: e.appendIcon }, null)]), !!e.loading && v("span", { key: "loader", class: "v-btn__loader" }, [((D = r.loader) == null ? void 0 : D.call(r)) ?? v(gb, { color: typeof e.loading == "boolean" ? void 0 : e.loading, indeterminate: !0, width: "2" }, null)])]; } }), [[li, !x.value && !!e.ripple, "", { center: !!e.icon }]]); }), { group: f }; } }), Fb = Y({ start: Boolean, end: Boolean, icon: Te, image: String, text: String, ..._e(), ...ln(), ...zt(), ...Kr(), ...rt(), ...Ke(), ...Tn({ variant: "flat" }) }, "VAvatar"), Mr = he()({ name: "VAvatar", props: Fb(), setup(e, t) { let { slots: n } = t; const { themeClasses: r } = nt(e), { colorClasses: o, colorStyles: i, variantClasses: s } = ai(e), { densityClasses: a } = cn(e), { roundedClasses: l } = Gt(e), { sizeClasses: c, sizeStyles: u } = qr(e); return we(() => v(e.tag, { class: ["v-avatar", { "v-avatar--start": e.start, "v-avatar--end": e.end }, r.value, o.value, a.value, l.value, c.value, s.value, e.class], style: [i.value, u.value, e.style] }, { default: () => [n.default ? v(Qe, { key: "content-defaults", defaults: { VImg: { cover: !0, image: e.image }, VIcon: { icon: e.icon } } }, { default: () => [n.default()] }) : e.image ? v(ib, { key: "image", src: e.image, alt: "", cover: !0 }, null) : e.icon ? v(Ge, { key: "icon", icon: e.icon }, null) : e.text, si(!1, "v-avatar")] })), {}; } }), Bb = Y({ text: String, onClick: at(), ..._e(), ...Ke() }, "VLabel"), Wd = he()({ name: "VLabel", props: Bb(), setup(e, t) { let { slots: n } = t; return we(() => { var r; return v("label", { class: ["v-label", { "v-label--clickable": !!e.onClick }, e.class], style: e.style, onClick: e.onClick }, [e.text, (r = n.default) == null ? void 0 : r.call(n)]); }), {}; } }), zd = Symbol.for("vuetify:selection-control-group"), Gd = Y({ color: String, disabled: { type: Boolean, default: null }, defaultsTarget: String, error: Boolean, id: String, inline: Boolean, falseIcon: Te, trueIcon: Te, ripple: { type: [Boolean, Object], default: !0 }, multiple: { type: Boolean, default: null }, name: String, readonly: { type: Boolean, default: null }, modelValue: null, type: String, valueComparator: { type: Function, default: nr }, ..._e(), ...ln(), ...Ke() }, "SelectionControlGroup"), Rb = Y({ ...Gd({ defaultsTarget: "VSelectionControl" }) }, "VSelectionControlGroup"); he()({ name: "VSelectionControlGroup", props: Rb(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { let { slots: n } = t; const r = $e(e, "modelValue"), o = Ft(), i = b(() => e.id || `v-selection-control-group-${o}`), s = b(() => e.name || i.value), a = /* @__PURE__ */ new Set(); return lt(zd, { modelValue: r, forceUpdate: () => { a.forEach((l) => l()); }, onForceUpdate: (l) => { a.add(l), tt(() => { a.delete(l); }); } }), Hr({ [e.defaultsTarget]: { color: oe(e, "color"), disabled: oe(e, "disabled"), density: oe(e, "density"), error: oe(e, "error"), inline: oe(e, "inline"), modelValue: r, multiple: b(() => !!e.multiple || e.multiple == null && Array.isArray(r.value)), name: s, falseIcon: oe(e, "falseIcon"), trueIcon: oe(e, "trueIcon"), readonly: oe(e, "readonly"), ripple: oe(e, "ripple"), type: oe(e, "type"), valueComparator: oe(e, "valueComparator") } }), we(() => { var l; return v("div", { class: ["v-selection-control-group", { "v-selection-control-group--inline": e.inline }, e.class], style: e.style, role: e.type === "radio" ? "radiogroup" : void 0 }, [(l = n.default) == null ? void 0 : l.call(n)]); }), {}; } }); const Kd = Y({ label: String, baseColor: String, trueValue: null, falseValue: null, value: null, ..._e(), ...Gd() }, "VSelectionControl"); function Vb(e) { const t = Re(zd, void 0), { densityClasses: n } = cn(e), r = $e(e, "modelValue"), o = b(() => e.trueValue !== void 0 ? e.trueValue : e.value !== void 0 ? e.value : !0), i = b(() => e.falseValue !== void 0 ? e.falseValue : !1), s = b(() => !!e.multiple || e.multiple == null && Array.isArray(r.value)), a = b({ get() { const h = t ? t.modelValue.value : r.value; return s.value ? wt(h).some((g) => e.valueComparator(g, o.value)) : e.valueComparator(h, o.value); }, set(h) { if (e.readonly) return; const g = h ? o.value : i.value; let f = g; s.value && (f = h ? [...wt(r.value), g] : wt(r.value).filter((y) => !e.valueComparator(y, o.value))), t ? t.modelValue.value = f : r.value = f; } }), { textColorClasses: l, textColorStyles: c } = Ut(b(() => { if (!(e.error || e.disabled)) return a.value ? e.color : e.baseColor; })), { backgroundColorClasses: u, backgroundColorStyles: d } = sn(b(() => a.value && !e.error && !e.disabled ? e.color : e.baseColor)), m = b(() => a.value ? e.trueIcon : e.falseIcon); return { group: t, densityClasses: n, trueValue: o, falseValue: i, model: a, textColorClasses: l, textColorStyles: c, backgroundColorClasses: u, backgroundColorStyles: d, icon: m }; } const tc = he()({ name: "VSelectionControl", directives: { Ripple: li }, inheritAttrs: !1, props: Kd(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { let { attrs: n, slots: r } = t; const { group: o, densityClasses: i, icon: s, model: a, textColorClasses: l, textColorStyles: c, backgroundColorClasses: u, backgroundColorStyles: d, trueValue: m } = Vb(e), h = Ft(), g = de(!1), f = de(!1), y = ie(), w = b(() => e.id || `input-${h}`), P = b(() => !e.disabled && !e.readonly); o == null || o.onForceUpdate(() => { y.value && (y.value.checked = a.value); }); function A(S) { P.value && (g.value = !0, Mo(S.target, ":focus-visible") !== !1 && (f.value = !0)); } function O() { g.value = !1, f.value = !1; } function L(S) { S.stopPropagation(); } function x(S) { if (!P.value) { y.value && (y.value.checked = a.value); return; } e.readonly && o && Ze(() => o.forceUpdate()), a.value = S.target.checked; } return we(() => { var j, _; const S = r.label ? r.label({ label: e.label, props: { for: w.value } }) : e.label, [F, K] = Gu(n), W = v("input", pe({ ref: y, checked: a.value, disabled: !!e.disabled, id: w.value, onBlur: O, onFocus: A, onInput: x, "aria-disabled": !!e.disabled, "aria-label": e.label, type: e.type, value: m.value, name: e.name, "aria-checked": e.type === "checkbox" ? a.value : void 0 }, K), null); return v("div", pe({ class: ["v-selection-control", { "v-selection-control--dirty": a.value, "v-selection-control--disabled": e.disabled, "v-selection-control--error": e.error, "v-selection-control--focused": g.value, "v-selection-control--focus-visible": f.value, "v-selection-control--inline": e.inline }, i.value, e.class] }, F, { style: e.style }), [v("div", { class: ["v-selection-control__wrapper", l.value], style: c.value }, [(j = r.default) == null ? void 0 : j.call(r, { backgroundColorClasses: u, backgroundColorStyles: d }), yt(v("div", { class: ["v-selection-control__input"] }, [((_ = r.input) == null ? void 0 : _.call(r, { model: a, textColorClasses: l, textColorStyles: c, backgroundColorClasses: u, backgroundColorStyles: d, inputNode: W, icon: s.value, props: { onFocus: A, onBlur: O, id: w.value } })) ?? v(Se, null, [s.value && v(Ge, { key: "icon", icon: s.value }, null), W])]), [[Zn("ripple"), e.ripple && [!e.disabled && !e.readonly, null, ["center", "circle"]]]])]), S && v(Wd, { for: w.value, onClick: L }, { default: () => [S] })]); }), { isFocused: g, input: y }; } }), Lb = Y({ indeterminate: Boolean, indeterminateIcon: { type: Te, default: "$checkboxIndeterminate" }, ...Kd({ falseIcon: "$checkboxOff", trueIcon: "$checkboxOn" }) }, "VCheckboxBtn"), Nb = he()({ name: "VCheckboxBtn", props: Lb(), emits: { "update:modelValue": (e) => !0, "update:indeterminate": (e) => !0 }, setup(e, t) { let { slots: n } = t; const r = $e(e, "indeterminate"), o = $e(e, "modelValue"); function i(l) { r.value && (r.value = !1); } const s = b(() => r.value ? e.indeterminateIcon : e.falseIcon), a = b(() => r.value ? e.indeterminateIcon : e.trueIcon); return we(() => { const l = rr(tc.filterProps(e), ["modelValue"]); return v(tc, pe(l, { modelValue: o.value, "onUpdate:modelValue": [(c) => o.value = c, i], class: ["v-checkbox-btn", e.class], style: e.style, type: "checkbox", falseIcon: s.value, trueIcon: a.value, "aria-checked": r.value ? "mixed" : void 0 }), n); }), {}; } }); function qd(e) { const { t } = na(); function n(r) { let { name: o } = r; const i = { prepend: "prependAction", prependInner: "prependAction", append: "appendAction", appendInner: "appendAction", clear: "clear" }[o], s = e[`onClick:${o}`], a = s && i ? t(`$vuetify.input.${i}`, e.label ?? "") : void 0; return v(Ge, { icon: e[`${o}Icon`], "aria-label": a, onClick: s }, null); } return { InputIcon: n }; } const Db = Y({ active: Boolean, color: String, messages: { type: [Array, String], default: () => [] }, ..._e(), ...jr({ transition: { component: wd, leaveAbsolute: !0, group: !0 } }) }, "VMessages"), $b = he()({ name: "VMessages", props: Db(), setup(e, t) { let { slots: n } = t; const r = b(() => wt(e.messages)), { textColorClasses: o, textColorStyles: i } = Ut(b(() => e.color)); return we(() => v(nn, { transition: e.transition, tag: "div", class: ["v-messages", o.value, e.class], style: [i.value, e.style], role: "alert", "aria-live": "polite" }, { default: () => [e.active && r.value.map((s, a) => v("div", { class: "v-messages__message", key: `${a}-${r.value}` }, [n.message ? n.message({ message: s }) : s]))] })), {}; } }), Yd = Y({ focused: Boolean, "onUpdate:focused": at() }, "focus"); function Jd(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : It(); const n = $e(e, "focused"), r = b(() => ({ [`${t}--focused`]: n.value })); function o() { n.value = !0; } function i() { n.value = !1; } return { focusClasses: r, isFocused: n, focus: o, blur: i }; } const Hb = Symbol.for("vuetify:form"); function Zd() { return Re(Hb, null); } const jb = Y({ disabled: { type: Boolean, default: null }, error: Boolean, errorMessages: { type: [Array, String], default: () => [] }, maxErrors: { type: [Number, String], default: 1 }, name: String, label: String, readonly: { type: Boolean, default: null }, rules: { type: Array, default: () => [] }, modelValue: null, validateOn: String, validationValue: null, ...Yd() }, "validation"); function Ub(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : It(), n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Ft(); const r = $e(e, "modelValue"), o = b(() => e.validationValue === void 0 ? r.value : e.validationValue), i = Zd(), s = ie([]), a = de(!0), l = b(() => !!(wt(r.value === "" ? null : r.value).length || wt(o.value === "" ? null : o.value).length)), c = b(() => !!(e.disabled ?? (i == null ? void 0 : i.isDisabled.value))), u = b(() => !!(e.readonly ?? (i == null ? void 0 : i.isReadonly.value))), d = b(() => { var L; return (L = e.errorMessages) != null && L.length ? wt(e.errorMessages).concat(s.value).slice(0, Math.max(0, +e.maxErrors)) : s.value; }), m = b(() => { let L = (e.validateOn ?? (i == null ? void 0 : i.validateOn.value)) || "input"; L === "lazy" && (L = "input lazy"); const x = new Set((L == null ? void 0 : L.split(" ")) ?? []); return { blur: x.has("blur") || x.has("input"), input: x.has("input"), submit: x.has("submit"), lazy: x.has("lazy") }; }), h = b(() => { var L; return e.error || (L = e.errorMessages) != null && L.length ? !1 : e.rules.length ? a.value ? s.value.length || m.value.lazy ? null : !0 : !s.value.length : !0; }), g = de(!1), f = b(() => ({ [`${t}--error`]: h.value === !1, [`${t}--dirty`]: l.value, [`${t}--disabled`]: c.value, [`${t}--readonly`]: u.value })), y = He("validation"), w = b(() => e.name ?? bt(n)); Bs(() => { i == null || i.register({ id: w.value, vm: y, validate: O, reset: P, resetValidation: A }); }), St(() => { i == null || i.unregister(w.value); }), An(async () => { m.value.lazy || await O(!0), i == null || i.update(w.value, h.value, d.value); }), Sn(() => m.value.input, () => { fe(o, () => { if (o.value != null) O(); else if (e.focused) { const L = fe(() => e.focused, (x) => { x || O(), L(); }); } }); }), Sn(() => m.value.blur, () => { fe(() => e.focused, (L) => { L || O(); }); }), fe([h, d], () => { i == null || i.update(w.value, h.value, d.value); }); async function P() { r.value = null, await Ze(), await A(); } async function A() { a.value = !0, m.value.lazy ? s.value = [] : await O(!0); } async function O() { let L = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1; const x = []; g.value = !0; for (const S of e.rules) { if (x.length >= +(e.maxErrors ?? 1)) break; const K = await (typeof S == "function" ? S : () => S)(o.value); if (K !== !0) { if (K !== !1 && typeof K != "string") { console.warn(`${K} is not a valid value. Rule functions must return boolean true or a string.`); continue; } x.push(K || ""); } } return s.value = x, g.value = !1, a.value = L, s.value; } return { errorMessages: d, isDirty: l, isDisabled: c, isReadonly: u, isPristine: a, isValid: h, isValidating: g, reset: P, resetValidation: A, validate: O, validationClasses: f }; } const Xd = Y({ id: String, appendIcon: Te, centerAffix: { type: Boolean, default: !0 }, prependIcon: Te, hideDetails: [Boolean, String], hideSpinButtons: Boolean, hint: String, persistentHint: Boolean, messages: { type: [Array, String], default: () => [] }, direction: { type: String, default: "horizontal", validator: (e) => ["horizontal", "vertical"].includes(e) }, "onClick:prepend": at(), "onClick:append": at(), ..._e(), ...ln(), ...ny(kn(), ["maxWidth", "minWidth", "width"]), ...Ke(), ...jb() }, "VInput"), nc = he()({ name: "VInput", props: { ...Xd() }, emits: { "update:modelValue": (e) => !0 }, setup(e, t) { let { attrs: n, slots: r, emit: o } = t; const { densityClasses: i } = cn(e), { dimensionStyles: s } = Pn(e), { themeClasses: a } = nt(e), { rtlClasses: l } = En(), { InputIcon: c } = qd(e), u = Ft(), d = b(() => e.id || `input-${u}`), m = b(() => `${d.value}-messages`), { errorMessages: h, isDirty: g, isDisabled: f, isReadonly: y, isPristine: w, isValid: P, isValidating: A, reset: O, resetValidation: L, validate: x, validationClasses: S } = Ub(e, "v-input", d), F = b(() => ({ id: d, messagesId: m, isDirty: g, isDisabled: f, isReadonly: y, isPristine: w, isValid: P, isValidating: A, reset: O, resetValidation: L, validate: x })), K = b(() => { var W; return (W = e.errorMessages) != null && W.length || !w.value && h.value.length ? h.value : e.hint && (e.persistentHint || e.focused) ? e.hint : e.messages; }); return we(() => { var D, X, Q, ee; const W = !!(r.prepend || e.prependIcon), j = !!(r.append || e.appendIcon), _ = K.value.length > 0, B = !e.hideDetails || e.hideDetails === "auto" && (_ || !!r.details); return v("div", { class: ["v-input", `v-input--${e.direction}`, { "v-input--center-affix": e.centerAffix, "v-input--hide-spin-buttons": e.hideSpinButtons }, i.value, a.value, l.value, S.value, e.class], style: [s.value, e.style] }, [W && v("div", { key: "prepend", class: "v-input__prepend" }, [(D = r.prepend) == null ? void 0 : D.call(r, F.value), e.prependIcon && v(c, { key: "prepend-icon", name: "prepend" }, null)]), r.default && v("div", { class: "v-input__control" }, [(X = r.default) == null ? void 0 : X.call(r, F.value)]), j && v("div", { key: "append", class: "v-input__append" }, [e.appendIcon && v(c, { key: "append-icon", name: "append" }, null), (Q = r.append) == null ? void 0 : Q.call(r, F.value)]), B && v("div", { class: "v-input__details" }, [v($b, { id: m.value, active: _, messages: K.value }, { message: r.message }), (ee = r.details) == null ? void 0 : ee.call(r, F.value)])]); }), { reset: O, resetValidation: L, validate: x, isValid: P, errorMessages: h }; } }); function Wb(e) { let { selectedElement: t, containerElement: n, isRtl: r, isHorizontal: o } = e; const i = Ir(o, n), s = Qd(o, r, n), a = Ir(o, t), l = ef(o, t), c = a * 0.4; return s > l ? l - c : s + i < l + a ? l - i + a + c : s; } function zb(e) { let { selectedElement: t, containerElement: n, isHorizontal: r } = e; const o = Ir(r, n), i = ef(r, t), s = Ir(r, t); return i - o / 2 + s / 2; } function rc(e, t) { const n = e ? "scrollWidth" : "scrollHeight"; return (t == null ? void 0 : t[n]) || 0; } function Gb(e, t) { const n = e ? "clientWidth" : "clientHeight"; return (t == null ? void 0 : t[n]) || 0; } function Qd(e, t, n) { if (!n) return 0; const { scrollLeft: r, offsetWidth: o, scrollWidth: i } = n; return e ? t ? i - o + r : r : n.scrollTop; } function Ir(e, t) { const n = e ? "offsetWidth" : "offsetHeight"; return (t == null ? void 0 : t[n]) || 0; } function ef(e, t) { const n = e ? "offsetLeft" : "offsetTop"; return (t == null ? void 0 : t[n]) || 0; } const Kb = Symbol.for("vuetify:v-slide-group"), tf = Y({ centerActive: Boolean, direction: { type: String, default: "horizontal" }, symbol: { type: null, default: Kb }, nextIcon: { type: Te, default: "$next" }, prevIcon: { type: Te, default: "$prev" }, showArrows: { type: [Boolean, String], validator: (e) => typeof e == "boolean" || ["always", "desktop", "mobile"].includes(e) }, ..._e(), ...Np({ mobile: null }), ...rt(), ...sa({ selectedClass: "v-slide-group-item--active" }) }, "VSlideGroup"), oc = he()({ name: "VSlideGroup", props: tf(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { let { slots: n } = t; const { isRtl: r } = En(), { displayClasses: o, mobile: i } = ra(e), s = aa(e, e.symbol), a = de(!1), l = de(0), c = de(0), u = de(0), d = b(() => e.direction === "horizontal"), { resizeRef: m, contentRect: h } = Pr(), { resizeRef: g, contentRect: f } = Pr(), y = Hp(), w = b(() => ({ container: m.el, duration: 200, easing: "easeOutQuart" })), P = b(() => s.selected.value.length ? s.items.value.findIndex((k) => k.id === s.selected.value[0]) : -1), A = b(() => s.selected.value.length ? s.items.value.findIndex((k) => k.id === s.selected.value[s.selected.value.length - 1]) : -1); if (ke) { let k = -1; fe(() => [s.selected.value, h.value, f.value, d.value], () => { cancelAnimationFrame(k), k = requestAnimationFrame(() => { if (h.value && f.value) { const H = d.value ? "width" : "height"; c.value = h.value[H], u.value = f.value[H], a.value = c.value + 1 < u.value; } if (P.value >= 0 && g.el) { const H = g.el.children[A.value]; L(H, e.centerActive); } }); }); } const O = de(!1); function L(k, H) { let J = 0; H ? J = zb({ containerElement: m.el, isHorizontal: d.value, selectedElement: k }) : J = Wb({ containerElement: m.el, isHorizontal: d.value, isRtl: r.value, selectedElement: k }), x(J); } function x(k) { if (!ke || !m.el) return; const H = Ir(d.value, m.el), J = Qd(d.value, r.value, m.el); if (!(rc(d.value, m.el) <= H || // Prevent scrolling by only a couple of pixels, which doesn't look smooth Math.abs(k - J) < 16)) { if (d.value && r.value && m.el) { const { scrollWidth: Ce, offsetWidth: te } = m.el; k = Ce - te - k; } d.value ? y.horizontal(k, w.value) : y(k, w.value); } } function S(k) { const { scrollTop: H, scrollLeft: J } = k.target; l.value = d.value ? J : H; } function F(k) { if (O.value = !0, !(!a.value || !g.el)) { for (const H of k.composedPath()) for (const J of g.el.children) if (J === H) { L(J); return; } } } function K(k) { O.value = !1; } let W = !1; function j(k) { var H; !W && !O.value && !(k.relatedTarget && ((H = g.el) != null && H.contains(k.relatedTarget))) && D(), W = !1; } function _() { W = !0; } function B(k) { if (!g.el) return; function H(J) { k.preventDefault(), D(J); } d.value ? k.key === "ArrowRight" ? H(r.value ? "prev" : "next") : k.key === "ArrowLeft" && H(r.value ? "next" : "prev") : k.key === "ArrowDown" ? H("next") : k.key === "ArrowUp" && H("prev"), k.key === "Home" ? H("first") : k.key === "End" && H("last"); } function D(k) { var J, le; if (!g.el) return; let H; if (!k) H = To(g.el)[0]; else if (k === "next") { if (H = (J = g.el.querySelector(":focus")) == null ? void 0 : J.nextElementSibling, !H) return D("first"); } else if (k === "prev") { if (H = (le = g.el.querySelector(":focus")) == null ? void 0 : le.previousElementSibling, !H) return D("last"); } else k === "first" ? H = g.el.firstElementChild : k === "last" && (H = g.el.lastElementChild); H && H.focus({ preventScroll: !0 }); } function X(k) { const H = d.value && r.value ? -1 : 1, J = (k === "prev" ? -H : H) * c.value; let le = l.value + J; if (d.value && r.value && m.el) { const { scrollWidth: Ce, offsetWidth: te } = m.el; le += Ce - te; } x(le); } const Q = b(() => ({ next: s.next, prev: s.prev, select: s.select, isSelected: s.isSelected })), ee = b(() => { switch (e.showArrows) { case "always": return !0; case "desktop": return !i.value; case !0: return a.value || Math.abs(l.value) > 0; case "mobile": return i.value || a.value || Math.abs(l.value) > 0; default: return !i.value && (a.value || Math.abs(l.value) > 0); } }), M = b(() => Math.abs(l.value) > 1), $ = b(() => { if (!m.value) return !1; const k = rc(d.value, m.el), H = Gb(d.value, m.el); return k - H - Math.abs(l.value) > 1; }); return we(() => v(e.tag, { class: ["v-slide-group", { "v-slide-group--vertical": !d.value, "v-slide-group--has-affixes": ee.value, "v-slide-group--is-overflowing": a.value }, o.value, e.class], style: e.style, tabindex: O.value || s.selected.value.length ? -1 : 0, onFocus: j }, { default: () => { var k, H, J; return [ee.value && v("div", { key: "prev", class: ["v-slide-group__prev", { "v-slide-group__prev--disabled": !M.value }], onMousedown: _, onClick: () => M.value && X("prev") }, [((k = n.prev) == null ? void 0 : k.call(n, Q.value)) ?? v(Yl, null, { default: () => [v(Ge, { icon: r.value ? e.nextIcon : e.prevIcon }, null)] })]), v("div", { key: "container", ref: m, class: "v-slide-group__container", onScroll: S }, [v("div", { ref: g, class: "v-slide-group__content", onFocusin: F, onFocusout: K, onKeydown: B }, [(H = n.default) == null ? void 0 : H.call(n, Q.value)])]), ee.value && v("div", { key: "next", class: ["v-slide-group__next", { "v-slide-group__next--disabled": !$.value }], onMousedown: _, onClick: () => $.value && X("next") }, [((J = n.next) == null ? void 0 : J.call(n, Q.value)) ?? v(Yl, null, { default: () => [v(Ge, { icon: r.value ? e.prevIcon : e.nextIcon }, null)] })])]; } })), { selected: s.selected, scrollTo: X, scrollOffset: l, focus: D }; } }), nf = Symbol.for("vuetify:v-chip-group"), qb = Y({ column: Boolean, filter: Boolean, valueComparator: { type: Function, default: nr }, ...tf(), ..._e(), ...sa({ selectedClass: "v-chip--selected" }), ...rt(), ...Ke(), ...Tn({ variant: "tonal" }) }, "VChipGroup"); he()({ name: "VChipGroup", props: qb(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { let { slots: n } = t; const { themeClasses: r } = nt(e), { isSelected: o, select: i, next: s, prev: a, selected: l } = aa(e, nf); return Hr({ VChip: { color: oe(e, "color"), disabled: oe(e, "disabled"), filter: oe(e, "filter"), variant: oe(e, "variant") } }), we(() => { const c = oc.filterProps(e); return v(oc, pe(c, { class: ["v-chip-group", { "v-chip-group--column": e.column }, r.value, e.class], style: e.style }), { default: () => { var u; return [(u = n.default) == null ? void 0 : u.call(n, { isSelected: o, select: i, next: s, prev: a, selected: l.value })]; } }); }), {}; } }); const Yb = Y({ activeClass: String, appendAvatar: String, appendIcon: Te, closable: Boolean, closeIcon: { type: Te, default: "$delete" }, closeLabel: { type: String, default: "$vuetify.close" }, draggable: Boolean, filter: Boolean, filterIcon: { type: String, default: "$complete" }, label: Boolean, link: { type: Boolean, default: void 0 }, pill: Boolean, prependAvatar: String, prependIcon: Te, ripple: { type: [Boolean, Object], default: !0 }, text: String, modelValue: { type: Boolean, default: !0 }, onClick: at(), onClickOnce: at(), ...Ur(), ..._e(), ...ln(), ...zr(), ...kd(), ...zt(), ...ca(), ...Kr(), ...rt({ tag: "span" }), ...Ke(), ...Tn({ variant: "tonal" }) }, "VChip"), Jb = he()({ name: "VChip", directives: { Ripple: li }, props: Yb(), emits: { "click:close": (e) => !0, "update:modelValue": (e) => !0, "group:selected": (e) => !0, click: (e) => !0 }, setup(e, t) { let { attrs: n, emit: r, slots: o } = t; const { t: i } = na(), { borderClasses: s } = Wr(e), { colorClasses: a, colorStyles: l, variantClasses: c } = ai(e), { densityClasses: u } = cn(e), { elevationClasses: d } = Gr(e), { roundedClasses: m } = Gt(e), { sizeClasses: h } = qr(e), { themeClasses: g } = nt(e), f = $e(e, "modelValue"), y = Pd(e, nf, !1), w = la(e, n), P = b(() => e.link !== !1 && w.isLink.value), A = b(() => !e.disabled && e.link !== !1 && (!!y || e.link || w.isClickable.value)), O = b(() => ({ "aria-label": i(e.closeLabel), onClick(S) { S.preventDefault(), S.stopPropagation(), f.value = !1, r("click:close", S); } })); function L(S) { var F; r("click", S), A.value && ((F = w.navigate) == null || F.call(w, S), y == null || y.toggle()); } function x(S) { (S.key === "Enter" || S.key === " ") && (S.preventDefault(), L(S)); } return () => { const S = w.isLink.value ? "a" : e.tag, F = !!(e.appendIcon || e.appendAvatar), K = !!(F || o.append), W = !!(o.close || e.closable), j = !!(o.filter || e.filter) && y, _ = !!(e.prependIcon || e.prependAvatar), B = !!(_ || o.prepend), D = !y || y.isSelected.value; return f.value && yt(v(S, { class: ["v-chip", { "v-chip--disabled": e.disabled, "v-chip--label": e.label, "v-chip--link": A.value, "v-chip--filter": j, "v-chip--pill": e.pill }, g.value, s.value, D ? a.value : void 0, u.value, d.value, m.value, h.value, c.value, y == null ? void 0 : y.selectedClass.value, e.class], style: [D ? l.value : void 0, e.style], disabled: e.disabled || void 0, draggable: e.draggable, href: w.href.value, tabindex: A.value ? 0 : void 0, onClick: L, onKeydown: A.value && !P.value && x }, { default: () => { var X; return [si(A.value, "v-chip"), j && v(Sd, { key: "filter" }, { default: () => [yt(v("div", { class: "v-chip__filter" }, [o.filter ? v(Qe, { key: "filter-defaults", disabled: !e.filterIcon, defaults: { VIcon: { icon: e.filterIcon } } }, o.filter) : v(Ge, { key: "filter-icon", icon: e.filterIcon }, null)]), [[er, y.isSelected.value]])] }), B && v("div", { key: "prepend", class: "v-chip__prepend" }, [o.prepend ? v(Qe, { key: "prepend-defaults", disabled: !_, defaults: { VAvatar: { image: e.prependAvatar, start: !0 }, VIcon: { icon: e.prependIcon, start: !0 } } }, o.prepend) : v(Se, null, [e.prependIcon && v(Ge, { key: "prepend-icon", icon: e.prependIcon, start: !0 }, null), e.prependAvatar && v(Mr, { key: "prepend-avatar", image: e.prependAvatar, start: !0 }, null)])]), v("div", { class: "v-chip__content", "data-no-activator": "" }, [((X = o.default) == null ? void 0 : X.call(o, { isSelected: y == null ? void 0 : y.isSelected.value, selectedClass: y == null ? void 0 : y.selectedClass.value, select: y == null ? void 0 : y.select, toggle: y == null ? void 0 : y.toggle, value: y == null ? void 0 : y.value.value, disabled: e.disabled })) ?? e.text]), K && v("div", { key: "append", class: "v-chip__append" }, [o.append ? v(Qe, { key: "append-defaults", disabled: !F, defaults: { VAvatar: { end: !0, image: e.appendAvatar }, VIcon: { end: !0, icon: e.appendIcon } } }, o.append) : v(Se, null, [e.appendIcon && v(Ge, { key: "append-icon", end: !0, icon: e.appendIcon }, null), e.appendAvatar && v(Mr, { key: "append-avatar", end: !0, image: e.appendAvatar }, null)])]), W && v("button", pe({ key: "close", class: "v-chip__close", type: "button" }, O.value), [o.close ? v(Qe, { key: "close-defaults", defaults: { VIcon: { icon: e.closeIcon, size: "x-small" } } }, o.close) : v(Ge, { key: "close-icon", icon: e.closeIcon, size: "x-small" }, null)])]; } }), [[Zn("ripple"), A.value && e.ripple, null]]); }; } }), cs = Symbol.for("vuetify:list"); function rf() { const e = Re(cs, { hasPrepend: de(!1), updateHasPrepend: () => null }), t = { hasPrepend: de(!1), updateHasPrepend: (n) => { n && (t.hasPrepend.value = n); } }; return lt(cs, t), e; } function of() { return Re(cs, null); } const ua = (e) => { const t = { activate: (n) => { let { id: r, value: o, activated: i } = n; return r = ae(r), e && !o && i.size === 1 && i.has(r) || (o ? i.add(r) : i.delete(r)), i; }, in: (n, r, o) => { let i = /* @__PURE__ */ new Set(); if (n != null) for (const s of wt(n)) i = t.activate({ id: s, value: !0, activated: new Set(i), children: r, parents: o }); return i; }, out: (n) => Array.from(n) }; return t; }, sf = (e) => { const t = ua(e); return { activate: (r) => { let { activated: o, id: i, ...s } = r; i = ae(i); const a = o.has(i) ? /* @__PURE__ */ new Set([i]) : /* @__PURE__ */ new Set(); return t.activate({ ...s, id: i, activated: a }); }, in: (r, o, i) => { let s = /* @__PURE__ */ new Set(); if (r != null) { const a = wt(r); a.length && (s = t.in(a.slice(0, 1), o, i)); } return s; }, out: (r, o, i) => t.out(r, o, i) }; }, Zb = (e) => { const t = ua(e); return { activate: (r) => { let { id: o, activated: i, children: s, ...a } = r; return o = ae(o), s.has(o) ? i : t.activate({ id: o, activated: i, children: s, ...a }); }, in: t.in, out: t.out }; }, Xb = (e) => { const t = sf(e); return { activate: (r) => { let { id: o, activated: i, children: s, ...a } = r; return o = ae(o), s.has(o) ? i : t.activate({ id: o, activated: i, children: s, ...a }); }, in: t.in, out: t.out }; }, Qb = { open: (e) => { let { id: t, value: n, opened: r, parents: o } = e; if (n) { const i = /* @__PURE__ */ new Set(); i.add(t); let s = o.get(t); for (; s != null; ) i.add(s), s = o.get(s); return i; } else return r.delete(t), r; }, select: () => null }, af = { open: (e) => { let { id: t, value: n, opened: r, parents: o } = e; if (n) { let i = o.get(t); for (r.add(t); i != null && i !== t; ) r.add(i), i = o.get(i); return r; } else r.delete(t); return r; }, select: () => null }, e0 = { open: af.open, select: (e) => { let { id: t, value: n, opened: r, parents: o } = e; if (!n) return r; const i = []; let s = o.get(t); for (; s != null; ) i.push(s), s = o.get(s); return new Set(i); } }, da = (e) => { const t = { select: (n) => { let { id: r, value: o, selected: i } = n; if (r = ae(r), e && !o) { const s = Array.from(i.entries()).reduce((a, l) => { let [c, u] = l; return u === "on" && a.push(c), a; }, []); if (s.length === 1 && s[0] === r) return i; } return i.set(r, o ? "on" : "off"), i; }, in: (n, r, o) => { let i = /* @__PURE__ */ new Map(); for (const s of n || []) i = t.select({ id: s, value: !0, selected: new Map(i), children: r, parents: o }); return i; }, out: (n) => { const r = []; for (const [o, i] of n.entries()) i === "on" && r.push(o); return r; } }; return t; }, lf = (e) => { const t = da(e); return { select: (r) => { let { selected: o, id: i, ...s } = r; i = ae(i); const a = o.has(i) ? /* @__PURE__ */ new Map([[i, o.get(i)]]) : /* @__PURE__ */ new Map(); return t.select({ ...s, id: i, selected: a }); }, in: (r, o, i) => { let s = /* @__PURE__ */ new Map(); return r != null && r.length && (s = t.in(r.slice(0, 1), o, i)), s; }, out: (r, o, i) => t.out(r, o, i) }; }, t0 = (e) => { const t = da(e); return { select: (r) => { let { id: o, selected: i, children: s, ...a } = r; return o = ae(o), s.has(o) ? i : t.select({ id: o, selected: i, children: s, ...a }); }, in: t.in, out: t.out }; }, n0 = (e) => { const t = lf(e); return { select: (r) => { let { id: o, selected: i, children: s, ...a } = r; return o = ae(o), s.has(o) ? i : t.select({ id: o, selected: i, children: s, ...a }); }, in: t.in, out: t.out }; }, r0 = (e) => { const t = { select: (n) => { let { id: r, value: o, selected: i, children: s, parents: a } = n; r = ae(r); const l = new Map(i), c = [r]; for (; c.length; ) { const d = c.shift(); i.set(d, o ? "on" : "off"), s.has(d) && c.push(...s.get(d)); } let u = a.get(r); for (; u; ) { const d = s.get(u), m = d.every((g) => i.get(g) === "on"), h = d.every((g) => !i.has(g) || i.get(g) === "off"); i.set(u, m ? "on" : h ? "off" : "indeterminate"), u = a.get(u); } return e && !o && Array.from(i.entries()).reduce((m, h) => { let [g, f] = h; return f === "on" && m.push(g), m; }, []).length === 0 ? l : i; }, in: (n, r, o) => { let i = /* @__PURE__ */ new Map(); for (const s of n || []) i = t.select({ id: s, value: !0, selected: new Map(i), children: r, parents: o }); return i; }, out: (n, r) => { const o = []; for (const [i, s] of n.entries()) s === "on" && !r.has(i) && o.push(i); return o; } }; return t; }, Fr = Symbol.for("vuetify:nested"), cf = { id: de(), root: { register: () => null, unregister: () => null, parents: ie(/* @__PURE__ */ new Map()), children: ie(/* @__PURE__ */ new Map()), open: () => null, openOnSelect: () => null, activate: () => null, select: () => null, activatable: ie(!1), selectable: ie(!1), opened: ie(/* @__PURE__ */ new Set()), activated: ie(/* @__PURE__ */ new Set()), selected: ie(/* @__PURE__ */ new Map()), selectedValues: ie([]) } }, o0 = Y({ activatable: Boolean, selectable: Boolean, activeStrategy: [String, Function, Object], selectStrategy: [String, Function, Object], openStrategy: [String, Object], opened: null, activated: null, selected: null, mandatory: Boolean }, "nested"), i0 = (e) => { let t = !1; const n = ie(/* @__PURE__ */ new Map()), r = ie(/* @__PURE__ */ new Map()), o = $e(e, "opened", e.opened, (h) => new Set(h), (h) => [...h.values()]), i = b(() => { if (typeof e.activeStrategy == "object") return e.activeStrategy; if (typeof e.activeStrategy == "function") return e.activeStrategy(e.mandatory); switch (e.activeStrategy) { case "leaf": return Zb(e.mandatory); case "single-leaf": return Xb(e.mandatory); case "independent": return ua(e.mandatory); case "single-independent": default: return sf(e.mandatory); } }), s = b(() => { if (typeof e.selectStrategy == "object") return e.selectStrategy; if (typeof e.selectStrategy == "function") return e.selectStrategy(e.mandatory); switch (e.selectStrategy) { case "single-leaf": return n0(e.mandatory); case "leaf": return t0(e.mandatory); case "independent": return da(e.mandatory); case "single-independent": return lf(e.mandatory); case "classic": default: return r0(e.mandatory); } }), a = b(() => { if (typeof e.openStrategy == "object") return e.openStrategy; switch (e.openStrategy) { case "list": return e0; case "single": return Qb; case "multiple": default: return af; } }), l = $e(e, "activated", e.activated, (h) => i.value.in(h, n.value, r.value), (h) => i.value.out(h, n.value, r.value)), c = $e(e, "selected", e.selected, (h) => s.value.in(h, n.value, r.value), (h) => s.value.out(h, n.value, r.value)); St(() => { t = !0; }); function u(h) { const g = []; let f = h; for (; f != null; ) g.unshift(f), f = r.value.get(f); return g; } const d = He("nested"), m = { id: de(), root: { opened: o, activatable: oe(e, "activatable"), selectable: oe(e, "selectable"), activated: l, selected: c, selectedValues: b(() => { const h = []; for (const [g, f] of c.value.entries()) f === "on" && h.push(g); return h; }), register: (h, g, f) => { g && h !== g && r.value.set(h, g), f && n.value.set(h, []), g != null && n.value.set(g, [...n.value.get(g) || [], h]); }, unregister: (h) => { if (t) return; n.value.delete(h); const g = r.value.get(h); if (g) { const f = n.value.get(g) ?? []; n.value.set(g, f.filter((y) => y !== h)); } r.value.delete(h), o.value.delete(h); }, open: (h, g, f) => { d.emit("click:open", { id: h, value: g, path: u(h), event: f }); const y = a.value.open({ id: h, value: g, opened: new Set(o.value), children: n.value, parents: r.value, event: f }); y && (o.value = y); }, openOnSelect: (h, g, f) => { const y = a.value.select({ id: h, value: g, selected: new Map(c.value), opened: new Set(o.value), children: n.value, parents: r.value, event: f }); y && (o.value = y); }, select: (h, g, f) => { d.emit("click:select", { id: h, value: g, path: u(h), event: f }); const y = s.value.select({ id: h, value: g, selected: new Map(c.value), children: n.value, parents: r.value, event: f }); y && (c.value = y), m.root.openOnSelect(h, g, f); }, activate: (h, g, f) => { if (!e.activatable) return m.root.select(h, !0, f); d.emit("click:activate", { id: h, value: g, path: u(h), event: f }); const y = i.value.activate({ id: h, value: g, activated: new Set(l.value), children: n.value, parents: r.value, event: f }); y && (l.value = y); }, children: n, parents: r } }; return lt(Fr, m), m.root; }, uf = (e, t) => { const n = Re(Fr, cf), r = Symbol(Ft()), o = b(() => e.value !== void 0 ? e.value : r), i = { ...n, id: o, open: (s, a) => n.root.open(o.value, s, a), openOnSelect: (s, a) => n.root.openOnSelect(o.value, s, a), isOpen: b(() => n.root.opened.value.has(o.value)), parent: b(() => n.root.parents.value.get(o.value)), activate: (s, a) => n.root.activate(o.value, s, a), isActivated: b(() => n.root.activated.value.has(ae(o.value))), select: (s, a) => n.root.select(o.value, s, a), isSelected: b(() => n.root.selected.value.get(ae(o.value)) === "on"), isIndeterminate: b(() => n.root.selected.value.get(o.value) === "indeterminate"), isLeaf: b(() => !n.root.children.value.get(o.value)), isGroupActivator: n.isGroupActivator }; return !n.isGroupActivator && n.root.register(o.value, n.id.value, t), St(() => { !n.isGroupActivator && n.root.unregister(o.value); }), t && lt(Fr, i), i; }, s0 = () => { const e = Re(Fr, cf); lt(Fr, { ...e, isGroupActivator: !0 }); }, a0 = or({ name: "VListGroupActivator", setup(e, t) { let { slots: n } = t; return s0(), () => { var r; return (r = n.default) == null ? void 0 : r.call(n); }; } }), l0 = Y({ /* @deprecated */ activeColor: String, baseColor: String, color: String, collapseIcon: { type: Te, default: "$collapse" }, expandIcon: { type: Te, default: "$expand" }, prependIcon: Te, appendIcon: Te, fluid: Boolean, subgroup: Boolean, title: String, value: null, ..._e(), ...rt() }, "VListGroup"), ic = he()({ name: "VListGroup", props: l0(), setup(e, t) { let { slots: n } = t; const { isOpen: r, open: o, id: i } = uf(oe(e, "value"), !0), s = b(() => `v-list-group--id-${String(i.value)}`), a = of(), { isBooted: l } = sb(); function c(h) { h.stopPropagation(), o(!r.value, h); } const u = b(() => ({ onClick: c, class: "v-list-group__header", id: s.value })), d = b(() => r.value ? e.collapseIcon : e.expandIcon), m = b(() => ({ VListItem: { active: r.value, activeColor: e.activeColor, baseColor: e.baseColor, color: e.color, prependIcon: e.prependIcon || e.subgroup && d.value, appendIcon: e.appendIcon || !e.subgroup && d.value, title: e.title, value: e.value } })); return we(() => v(e.tag, { class: ["v-list-group", { "v-list-group--prepend": a == null ? void 0 : a.hasPrepend.value, "v-list-group--fluid": e.fluid, "v-list-group--subgroup": e.subgroup, "v-list-group--open": r.value }, e.class], style: e.style }, { default: () => [n.activator && v(Qe, { defaults: m.value }, { default: () => [v(a0, null, { default: () => [n.activator({ props: u.value, isOpen: r.value })] })] }), v(nn, { transition: { component: Qp }, disabled: !l.value }, { default: () => { var h; return [yt(v("div", { class: "v-list-group__items", role: "group", "aria-labelledby": s.value }, [(h = n.default) == null ? void 0 : h.call(n)]), [[er, r.value]])]; } })] })), { isOpen: r }; } }), c0 = Y({ opacity: [Number, String], ..._e(), ...rt() }, "VListItemSubtitle"), u0 = he()({ name: "VListItemSubtitle", props: c0(), setup(e, t) { let { slots: n } = t; return we(() => v(e.tag, { class: ["v-list-item-subtitle", e.class], style: [{ "--v-list-item-subtitle-opacity": e.opacity }, e.style] }, n)), {}; } }), d0 = Ny("v-list-item-title"), f0 = Y({ active: { type: Boolean, default: void 0 }, activeClass: String, /* @deprecated */ activeColor: String, appendAvatar: String, appendIcon: Te, baseColor: String, disabled: Boolean, lines: [Boolean, String], link: { type: Boolean, default: void 0 }, nav: Boolean, prependAvatar: String, prependIcon: Te, ripple: { type: [Boolean, Object], default: !0 }, slim: Boolean, subtitle: [String, Number], title: [String, Number], value: null, onClick: at(), onClickOnce: at(), ...Ur(), ..._e(), ...ln(), ...kn(), ...zr(), ...zt(), ...ca(), ...rt(), ...Ke(), ...Tn({ variant: "text" }) }, "VListItem"), Br = he()({ name: "VListItem", directives: { Ripple: li }, props: f0(), emits: { click: (e) => !0 }, setup(e, t) { let { attrs: n, slots: r, emit: o } = t; const i = la(e, n), s = b(() => e.value === void 0 ? i.href.value : e.value), { activate: a, isActivated: l, select: c, isSelected: u, isIndeterminate: d, isGroupActivator: m, root: h, parent: g, openOnSelect: f } = uf(s, !1), y = of(), w = b(() => { var k; return e.active !== !1 && (e.active || ((k = i.isActive) == null ? void 0 : k.value) || (h.activatable.value ? l.value : u.value)); }), P = b(() => e.link !== !1 && i.isLink.value), A = b(() => !e.disabled && e.link !== !1 && (e.link || i.isClickable.value || !!y && (h.selectable.value || h.activatable.value || e.value != null))), O = b(() => e.rounded || e.nav), L = b(() => e.color ?? e.activeColor), x = b(() => ({ color: w.value ? L.value ?? e.baseColor : e.baseColor, variant: e.variant })); fe(() => { var k; return (k = i.isActive) == null ? void 0 : k.value; }, (k) => { k && g.value != null && h.open(g.value, !0), k && f(k); }, { immediate: !0 }); const { themeClasses: S } = nt(e), { borderClasses: F } = Wr(e), { colorClasses: K, colorStyles: W, variantClasses: j } = ai(x), { densityClasses: _ } = cn(e), { dimensionStyles: B } = Pn(e), { elevationClasses: D } = Gr(e), { roundedClasses: X } = Gt(O), Q = b(() => e.lines ? `v-list-item--${e.lines}-line` : void 0), ee = b(() => ({ isActive: w.value, select: c, isSelected: u.value, isIndeterminate: d.value })); function M(k) { var H; o("click", k), A.value && ((H = i.navigate) == null || H.call(i, k), !m && (h.activatable.value ? a(!l.value, k) : (h.selectable.value || e.value != null) && c(!u.value, k))); } function $(k) { (k.key === "Enter" || k.key === " ") && (k.preventDefault(), M(k)); } return we(() => { const k = P.value ? "a" : e.tag, H = r.title || e.title != null, J = r.subtitle || e.subtitle != null, le = !!(e.appendAvatar || e.appendIcon), Ce = !!(le || r.append), te = !!(e.prependAvatar || e.prependIcon), me = !!(te || r.prepend); return y == null || y.updateHasPrepend(me), e.activeColor && by("active-color", ["color", "base-color"]), yt(v(k, { class: ["v-list-item", { "v-list-item--active": w.value, "v-list-item--disabled": e.disabled, "v-list-item--link": A.value, "v-list-item--nav": e.nav, "v-list-item--prepend": !me && (y == null ? void 0 : y.hasPrepend.value), "v-list-item--slim": e.slim, [`${e.activeClass}`]: e.activeClass && w.value }, S.value, F.value, K.value, _.value, D.value, Q.value, X.value, j.value, e.class], style: [W.value, B.value, e.style], href: i.href.value, tabindex: A.value ? y ? -2 : 0 : void 0, onClick: M, onKeydown: A.value && !P.value && $ }, { default: () => { var Ae; return [si(A.value || w.value, "v-list-item"), me && v("div", { key: "prepend", class: "v-list-item__prepend" }, [r.prepend ? v(Qe, { key: "prepend-defaults", disabled: !te, defaults: { VAvatar: { density: e.density, image: e.prependAvatar }, VIcon: { density: e.density, icon: e.prependIcon }, VListItemAction: { start: !0 } } }, { default: () => { var Ie; return [(Ie = r.prepend) == null ? void 0 : Ie.call(r, ee.value)]; } }) : v(Se, null, [e.prependAvatar && v(Mr, { key: "prepend-avatar", density: e.density, image: e.prependAvatar }, null), e.prependIcon && v(Ge, { key: "prepend-icon", density: e.density, icon: e.prependIcon }, null)]), v("div", { class: "v-list-item__spacer" }, null)]), v("div", { class: "v-list-item__content", "data-no-activator": "" }, [H && v(d0, { key: "title" }, { default: () => { var Ie; return [((Ie = r.title) == null ? void 0 : Ie.call(r, { title: e.title })) ?? e.title]; } }), J && v(u0, { key: "subtitle" }, { default: () => { var Ie; return [((Ie = r.subtitle) == null ? void 0 : Ie.call(r, { subtitle: e.subtitle })) ?? e.subtitle]; } }), (Ae = r.default) == null ? void 0 : Ae.call(r, ee.value)]), Ce && v("div", { key: "append", class: "v-list-item__append" }, [r.append ? v(Qe, { key: "append-defaults", disabled: !le, defaults: { VAvatar: { density: e.density, image: e.appendAvatar }, VIcon: { density: e.density, icon: e.appendIcon }, VListItemAction: { end: !0 } } }, { default: () => { var Ie; return [(Ie = r.append) == null ? void 0 : Ie.call(r, ee.value)]; } }) : v(Se, null, [e.appendIcon && v(Ge, { key: "append-icon", density: e.density, icon: e.appendIcon }, null), e.appendAvatar && v(Mr, { key: "append-avatar", density: e.density, image: e.appendAvatar }, null)]), v("div", { class: "v-list-item__spacer" }, null)])]; } }), [[Zn("ripple"), A.value && e.ripple]]); }), { activate: a, isActivated: l, isGroupActivator: m, isSelected: u, list: y, select: c }; } }), m0 = Y({ color: String, inset: Boolean, sticky: Boolean, title: String, ..._e(), ...rt() }, "VListSubheader"), h0 = he()({ name: "VListSubheader", props: m0(), setup(e, t) { let { slots: n } = t; const { textColorClasses: r, textColorStyles: o } = Ut(oe(e, "color")); return we(() => { const i = !!(n.default || e.title); return v(e.tag, { class: ["v-list-subheader", { "v-list-subheader--inset": e.inset, "v-list-subheader--sticky": e.sticky }, r.value, e.class], style: [{ textColorStyles: o }, e.style] }, { default: () => { var s; return [i && v("div", { class: "v-list-subheader__text" }, [((s = n.default) == null ? void 0 : s.call(n)) ?? e.title])]; } }); }), {}; } }), g0 = Y({ color: String, inset: Boolean, length: [Number, String], opacity: [Number, String], thickness: [Number, String], vertical: Boolean, ..._e(), ...Ke() }, "VDivider"), v0 = he()({ name: "VDivider", props: g0(), setup(e, t) { let { attrs: n, slots: r } = t; const { themeClasses: o } = nt(e), { textColorClasses: i, textColorStyles: s } = Ut(oe(e, "color")), a = b(() => { const l = {}; return e.length && (l[e.vertical ? "height" : "width"] = ge(e.length)), e.thickness && (l[e.vertical ? "borderRightWidth" : "borderTopWidth"] = ge(e.thickness)), l; }); return we(() => { const l = v("hr", { class: [{ "v-divider": !0, "v-divider--inset": e.inset, "v-divider--vertical": e.vertical }, o.value, i.value, e.class], style: [a.value, s.value, { "--v-border-opacity": e.opacity }, e.style], "aria-orientation": !n.role || n.role === "separator" ? e.vertical ? "vertical" : "horizontal" : void 0, role: `${n.role || "separator"}` }, null); return r.default ? v("div", { class: ["v-divider__wrapper", { "v-divider__wrapper--vertical": e.vertical, "v-divider__wrapper--inset": e.inset }] }, [l, v("div", { class: "v-divider__content" }, [r.default()]), l]) : l; }), {}; } }), y0 = Y({ items: Array, returnObject: Boolean }, "VListChildren"), df = he()({ name: "VListChildren", props: y0(), setup(e, t) { let { slots: n } = t; return rf(), () => { var r, o; return ((r = n.default) == null ? void 0 : r.call(n)) ?? ((o = e.items) == null ? void 0 : o.map((i) => { var m, h; let { children: s, props: a, type: l, raw: c } = i; if (l === "divider") return ((m = n.divider) == null ? void 0 : m.call(n, { props: a })) ?? v(v0, a, null); if (l === "subheader") return ((h = n.subheader) == null ? void 0 : h.call(n, { props: a })) ?? v(h0, a, null); const u = { subtitle: n.subtitle ? (g) => { var f; return (f = n.subtitle) == null ? void 0 : f.call(n, { ...g, item: c }); } : void 0, prepend: n.prepend ? (g) => { var f; return (f = n.prepend) == null ? void 0 : f.call(n, { ...g, item: c }); } : void 0, append: n.append ? (g) => { var f; return (f = n.append) == null ? void 0 : f.call(n, { ...g, item: c }); } : void 0, title: n.title ? (g) => { var f; return (f = n.title) == null ? void 0 : f.call(n, { ...g, item: c }); } : void 0 }, d = ic.filterProps(a); return s ? v(ic, pe({ value: a == null ? void 0 : a.value }, d), { activator: (g) => { let { props: f } = g; const y = { ...a, ...f, value: e.returnObject ? c : a.value }; return n.header ? n.header({ props: y }) : v(Br, y, u); }, default: () => v(df, { items: s, returnObject: e.returnObject }, n) }) : n.item ? n.item({ props: a }) : v(Br, pe(a, { value: e.returnObject ? c : a.value }), u); })); }; } }), ff = Y({ items: { type: Array, default: () => [] }, itemTitle: { type: [String, Array, Function], default: "title" }, itemValue: { type: [String, Array, Function], default: "value" }, itemChildren: { type: [Boolean, String, Array, Function], default: "children" }, itemProps: { type: [Boolean, String, Array, Function], default: "props" }, returnObject: Boolean, valueComparator: { type: Function, default: nr } }, "list-items"); function us(e, t) { const n = Vt(t, e.itemTitle, t), r = Vt(t, e.itemValue, n), o = Vt(t, e.itemChildren), i = e.itemProps === !0 ? typeof t == "object" && t != null && !Array.isArray(t) ? "children" in t ? rr(t, ["children"]) : t : void 0 : Vt(t, e.itemProps), s = { title: n, value: r, ...i }; return { title: String(s.title ?? ""), value: s.value, props: s, children: Array.isArray(o) ? mf(e, o) : void 0, raw: t }; } function mf(e, t) { const n = []; for (const r of t) n.push(us(e, r)); return n; } function p0(e) { const t = b(() => mf(e, e.items)), n = b(() => t.value.some((i) => i.value === null)); function r(i) { return n.value || (i = i.filter((s) => s !== null)), i.map((s) => e.returnObject && typeof s == "string" ? us(e, s) : t.value.find((a) => e.valueComparator(s, a.value)) || us(e, s)); } function o(i) { return e.returnObject ? i.map((s) => { let { raw: a } = s; return a; }) : i.map((s) => { let { value: a } = s; return a; }); } return { items: t, transformIn: r, transformOut: o }; } function b0(e) { return typeof e == "string" || typeof e == "number" || typeof e == "boolean"; } function C0(e, t) { const n = Vt(t, e.itemType, "item"), r = b0(t) ? t : Vt(t, e.itemTitle), o = Vt(t, e.itemValue, void 0), i = Vt(t, e.itemChildren), s = e.itemProps === !0 ? rr(t, ["children"]) : Vt(t, e.itemProps), a = { title: r, value: o, ...s }; return { type: n, title: a.title, value: a.value, props: a, children: n === "item" && i ? hf(e, i) : void 0, raw: t }; } function hf(e, t) { const n = []; for (const r of t) n.push(C0(e, r)); return n; } function w0(e) { return { items: b(() => hf(e, e.items)) }; } const S0 = Y({ baseColor: String, /* @deprecated */ activeColor: String, activeClass: String, bgColor: String, disabled: Boolean, expandIcon: String, collapseIcon: String, lines: { type: [Boolean, String], default: "one" }, slim: Boolean, nav: Boolean, "onClick:open": at(), "onClick:select": at(), ...o0({ selectStrategy: "single-leaf", openStrategy: "list" }), ...Ur(), ..._e(), ...ln(), ...kn(), ...zr(), itemType: { type: String, default: "type" }, ...ff(), ...zt(), ...rt(), ...Ke(), ...Tn({ variant: "text" }) }, "VList"), _0 = he()({ name: "VList", props: S0(), emits: { "update:selected": (e) => !0, "update:activated": (e) => !0, "update:opened": (e) => !0, "click:open": (e) => !0, "click:activate": (e) => !0, "click:select": (e) => !0 }, setup(e, t) { let { slots: n } = t; const { items: r } = w0(e), { themeClasses: o } = nt(e), { backgroundColorClasses: i, backgroundColorStyles: s } = sn(oe(e, "bgColor")), { borderClasses: a } = Wr(e), { densityClasses: l } = cn(e), { dimensionStyles: c } = Pn(e), { elevationClasses: u } = Gr(e), { roundedClasses: d } = Gt(e), { children: m, open: h, parents: g, select: f } = i0(e), y = b(() => e.lines ? `v-list--${e.lines}-line` : void 0), w = oe(e, "activeColor"), P = oe(e, "baseColor"), A = oe(e, "color"); rf(), Hr({ VListGroup: { activeColor: w, baseColor: P, color: A, expandIcon: oe(e, "expandIcon"), collapseIcon: oe(e, "collapseIcon") }, VListItem: { activeClass: oe(e, "activeClass"), activeColor: w, baseColor: P, color: A, density: oe(e, "density"), disabled: oe(e, "disabled"), lines: oe(e, "lines"), nav: oe(e, "nav"), slim: oe(e, "slim"), variant: oe(e, "variant") } }); const O = de(!1), L = ie(); function x(_) { O.value = !0; } function S(_) { O.value = !1; } function F(_) { var B; !O.value && !(_.relatedTarget && ((B = L.value) != null && B.contains(_.relatedTarget))) && j(); } function K(_) { const B = _.target; if (!(!L.value || ["INPUT", "TEXTAREA"].includes(B.tagName))) { if (_.key === "ArrowDown") j("next"); else if (_.key === "ArrowUp") j("prev"); else if (_.key === "Home") j("first"); else if (_.key === "End") j("last"); else return; _.preventDefault(); } } function W(_) { O.value = !0; } function j(_) { if (L.value) return Oo(L.value, _); } return we(() => v(e.tag, { ref: L, class: ["v-list", { "v-list--disabled": e.disabled, "v-list--nav": e.nav, "v-list--slim": e.slim }, o.value, i.value, a.value, l.value, u.value, y.value, d.value, e.class], style: [s.value, c.value, e.style], tabindex: e.disabled || O.value ? -1 : 0, role: "listbox", "aria-activedescendant": void 0, onFocusin: x, onFocusout: S, onFocus: F, onKeydown: K, onMousedown: W }, { default: () => [v(df, { items: r.value, returnObject: e.returnObject }, n)] })), { open: h, select: f, focus: j, children: m, parents: g }; } }); function Mi(e, t) { return { x: e.x + t.x, y: e.y + t.y }; } function x0(e, t) { return { x: e.x - t.x, y: e.y - t.y }; } function sc(e, t) { if (e.side === "top" || e.side === "bottom") { const { side: n, align: r } = e, o = r === "left" ? 0 : r === "center" ? t.width / 2 : r === "right" ? t.width : r, i = n === "top" ? 0 : n === "bottom" ? t.height : n; return Mi({ x: o, y: i }, t); } else if (e.side === "left" || e.side === "right") { const { side: n, align: r } = e, o = n === "left" ? 0 : n === "right" ? t.width : n, i = r === "top" ? 0 : r === "center" ? t.height / 2 : r === "bottom" ? t.height : r; return Mi({ x: o, y: i }, t); } return Mi({ x: t.width / 2, y: t.height / 2 }, t); } const gf = { static: k0, // specific viewport position, usually centered connected: T0 // connected to a certain element }, A0 = Y({ locationStrategy: { type: [String, Function], default: "static", validator: (e) => typeof e == "function" || e in gf }, location: { type: String, default: "bottom" }, origin: { type: String, default: "auto" }, offset: [Number, String, Array] }, "VOverlay-location-strategies"); function E0(e, t) { const n = ie({}), r = ie(); ke && Sn(() => !!(t.isActive.value && e.locationStrategy), (i) => { var s, a; fe(() => e.locationStrategy, i), tt(() => { window.removeEventListener("resize", o), r.value = void 0; }), window.addEventListener("resize", o, { passive: !0 }), typeof e.locationStrategy == "function" ? r.value = (s = e.locationStrategy(t, e, n)) == null ? void 0 : s.updateLocation : r.value = (a = gf[e.locationStrategy](t, e, n)) == null ? void 0 : a.updateLocation; }); function o(i) { var s; (s = r.value) == null || s.call(r, i); } return { contentStyles: n, updateLocation: r }; } function k0() { } function P0(e, t) { t ? e.style.removeProperty("left") : e.style.removeProperty("right"); const n = Xs(e); return t ? n.x += parseFloat(e.style.right || 0) : n.x -= parseFloat(e.style.left || 0), n.y -= parseFloat(e.style.top || 0), n; } function T0(e, t, n) { (Array.isArray(e.target.value) || jy(e.target.value)) && Object.assign(n.value, { position: "fixed", top: 0, [e.isRtl.value ? "right" : "left"]: 0 }); const { preferredAnchor: o, preferredOrigin: i } = Zs(() => { const g = ns(t.location, e.isRtl.value), f = t.origin === "overlap" ? g : t.origin === "auto" ? Ei(g) : ns(t.origin, e.isRtl.value); return g.side === f.side && g.align === ki(f).align ? { preferredAnchor: wl(g), preferredOrigin: wl(f) } : { preferredAnchor: g, preferredOrigin: f }; }), [s, a, l, c] = ["minWidth", "minHeight", "maxWidth", "maxHeight"].map((g) => b(() => { const f = parseFloat(t[g]); return isNaN(f) ? 1 / 0 : f; })), u = b(() => { if (Array.isArray(t.offset)) return t.offset; if (typeof t.offset == "string") { const g = t.offset.split(" ").map(parseFloat); return g.length < 2 && g.push(0), g; } return typeof t.offset == "number" ? [t.offset, 0] : [0, 0]; }); let d = !1; const m = new ResizeObserver(() => { d && h(); }); fe([e.target, e.contentEl], (g, f) => { let [y, w] = g, [P, A] = f; P && !Array.isArray(P) && m.unobserve(P), y && !Array.isArray(y) && m.observe(y), A && m.unobserve(A), w && m.observe(w); }, { immediate: !0 }), tt(() => { m.disconnect(); }); function h() { if (d = !1, requestAnimationFrame(() => d = !0), !e.target.value || !e.contentEl.value) return; const g = Xu(e.target.value), f = P0(e.contentEl.value, e.isRtl.value), y = Bo(e.contentEl.value), w = 12; y.length || (y.push(document.documentElement), e.contentEl.value.style.top && e.contentEl.value.style.left || (f.x -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x") || 0), f.y -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y") || 0))); const P = y.reduce((j, _) => { const B = _.getBoundingClientRect(), D = new Cn({ x: _ === document.documentElement ? 0 : B.x, y: _ === document.documentElement ? 0 : B.y, width: _.clientWidth, height: _.clientHeight }); return j ? new Cn({ x: Math.max(j.left, D.left), y: Math.max(j.top, D.top), width: Math.min(j.right, D.right) - Math.max(j.left, D.left), height: Math.min(j.bottom, D.bottom) - Math.max(j.top, D.top) }) : D; }, void 0); P.x += w, P.y += w, P.width -= w * 2, P.height -= w * 2; let A = { anchor: o.value, origin: i.value }; function O(j) { const _ = new Cn(f), B = sc(j.anchor, g), D = sc(j.origin, _); let { x: X, y: Q } = x0(B, D); switch (j.anchor.side) { case "top": Q -= u.value[0]; break; case "bottom": Q += u.value[0]; break; case "left": X -= u.value[0]; break; case "right": X += u.value[0]; break; } switch (j.anchor.align) { case "top": Q -= u.value[1]; break; case "bottom": Q += u.value[1]; break; case "left": X -= u.value[1]; break; case "right": X += u.value[1]; break; } return _.x += X, _.y += Q, _.width = Math.min(_.width, l.value), _.height = Math.min(_.height, c.value), { overflows: _l(_, P), x: X, y: Q }; } let L = 0, x = 0; const S = { x: 0, y: 0 }, F = { x: !1, y: !1 }; let K = -1; for (; !(K++ > 10); ) { const { x: j, y: _, overflows: B } = O(A); L += j, x += _, f.x += j, f.y += _; { const D = Sl(A.anchor), X = B.x.before || B.x.after, Q = B.y.before || B.y.after; let ee = !1; if (["x", "y"].forEach((M) => { if (M === "x" && X && !F.x || M === "y" && Q && !F.y) { const $ = { anchor: { ...A.anchor }, origin: { ...A.origin } }, k = M === "x" ? D === "y" ? ki : Ei : D === "y" ? Ei : ki; $.anchor = k($.anchor), $.origin = k($.origin); const { overflows: H } = O($); (H[M].before <= B[M].before && H[M].after <= B[M].after || H[M].before + H[M].after < (B[M].before + B[M].after) / 2) && (A = $, ee = F[M] = !0); } }), ee) continue; } B.x.before && (L += B.x.before, f.x += B.x.before), B.x.after && (L -= B.x.after, f.x -= B.x.after), B.y.before && (x += B.y.before, f.y += B.y.before), B.y.after && (x -= B.y.after, f.y -= B.y.after); { const D = _l(f, P); S.x = P.width - D.x.before - D.x.after, S.y = P.height - D.y.before - D.y.after, L += D.x.before, f.x += D.x.before, x += D.y.before, f.y += D.y.before; } break; } const W = Sl(A.anchor); return Object.assign(n.value, { "--v-overlay-anchor-origin": `${A.anchor.side} ${A.anchor.align}`, transformOrigin: `${A.origin.side} ${A.origin.align}`, // transform: `translate(${pixelRound(x)}px, ${pixelRound(y)}px)`, top: ge(Ii(x)), left: e.isRtl.value ? void 0 : ge(Ii(L)), right: e.isRtl.value ? ge(Ii(-L)) : void 0, minWidth: ge(W === "y" ? Math.min(s.value, g.width) : s.value), maxWidth: ge(ac($t(S.x, s.value === 1 / 0 ? 0 : s.value, l.value))), maxHeight: ge(ac($t(S.y, a.value === 1 / 0 ? 0 : a.value, c.value))) }), { available: S, contentBox: f }; } return fe(() => [o.value, i.value, t.offset, t.minWidth, t.minHeight, t.maxWidth, t.maxHeight], () => h()), Ze(() => { const g = h(); if (!g) return; const { available: f, contentBox: y } = g; y.height > f.y && requestAnimationFrame(() => { h(), requestAnimationFrame(() => { h(); }); }); }), { updateLocation: h }; } function Ii(e) { return Math.round(e * devicePixelRatio) / devicePixelRatio; } function ac(e) { return Math.ceil(e * devicePixelRatio) / devicePixelRatio; } let ds = !0; const Do = []; function O0(e) { !ds || Do.length ? (Do.push(e), fs()) : (ds = !1, e(), fs()); } let lc = -1; function fs() { cancelAnimationFrame(lc), lc = requestAnimationFrame(() => { const e = Do.shift(); e && e(), Do.length ? fs() : ds = !0; }); } const yo = { none: null, close: F0, block: B0, reposition: R0 }, M0 = Y({ scrollStrategy: { type: [String, Function], default: "block", validator: (e) => typeof e == "function" || e in yo } }, "VOverlay-scroll-strategies"); function I0(e, t) { if (!ke) return; let n; Tt(async () => { n == null || n.stop(), t.isActive.value && e.scrollStrategy && (n = Uo(), await new Promise((r) => setTimeout(r)), n.active && n.run(() => { var r; typeof e.scrollStrategy == "function" ? e.scrollStrategy(t, e, n) : (r = yo[e.scrollStrategy]) == null || r.call(yo, t, e, n); })); }), tt(() => { n == null || n.stop(); }); } function F0(e) { function t(n) { e.isActive.value = !1; } vf(e.targetEl.value ?? e.contentEl.value, t); } function B0(e, t) { var s; const n = (s = e.root.value) == null ? void 0 : s.offsetParent, r = [.../* @__PURE__ */ new Set([...Bo(e.targetEl.value, t.contained ? n : void 0), ...Bo(e.contentEl.value, t.contained ? n : void 0)])].filter((a) => !a.classList.contains("v-overlay-scroll-blocked")), o = window.innerWidth - document.documentElement.offsetWidth, i = ((a) => ta(a) && a)(n || document.documentElement); i && e.root.value.classList.add("v-overlay--scroll-blocked"), r.forEach((a, l) => { a.style.setProperty("--v-body-scroll-x", ge(-a.scrollLeft)), a.style.setProperty("--v-body-scroll-y", ge(-a.scrollTop)), a !== document.documentElement && a.style.setProperty("--v-scrollbar-offset", ge(o)), a.classList.add("v-overlay-scroll-blocked"); }), tt(() => { r.forEach((a, l) => { const c = parseFloat(a.style.getPropertyValue("--v-body-scroll-x")), u = parseFloat(a.style.getPropertyValue("--v-body-scroll-y")), d = a.style.scrollBehavior; a.style.scrollBehavior = "auto", a.style.removeProperty("--v-body-scroll-x"), a.style.removeProperty("--v-body-scroll-y"), a.style.removeProperty("--v-scrollbar-offset"), a.classList.remove("v-overlay-scroll-blocked"), a.scrollLeft = -c, a.scrollTop = -u, a.style.scrollBehavior = d; }), i && e.root.value.classList.remove("v-overlay--scroll-blocked"); }); } function R0(e, t, n) { let r = !1, o = -1, i = -1; function s(a) { O0(() => { var u, d; const l = performance.now(); (d = (u = e.updateLocation).value) == null || d.call(u, a), r = (performance.now() - l) / (1e3 / 60) > 2; }); } i = (typeof requestIdleCallback > "u" ? (a) => a() : requestIdleCallback)(() => { n.run(() => { vf(e.targetEl.value ?? e.contentEl.value, (a) => { r ? (cancelAnimationFrame(o), o = requestAnimationFrame(() => { o = requestAnimationFrame(() => { s(a); }); })) : s(a); }); }); }), tt(() => { typeof cancelIdleCallback < "u" && cancelIdleCallback(i), cancelAnimationFrame(o); }); } function vf(e, t) { const n = [document, ...Bo(e)]; n.forEach((r) => { r.addEventListener("scroll", t, { passive: !0 }); }), tt(() => { n.forEach((r) => { r.removeEventListener("scroll", t); }); }); } const ms = Symbol.for("vuetify:v-menu"), V0 = Y({ closeDelay: [Number, String], openDelay: [Number, String] }, "delay"); function L0(e, t) { let n = () => { }; function r(s) { n == null || n(); const a = Number(s ? e.openDelay : e.closeDelay); return new Promise((l) => { n = ay(a, () => { t == null || t(s), l(s); }); }); } function o() { return r(!0); } function i() { return r(!1); } return { clearDelay: n, runOpenDelay: o, runCloseDelay: i }; } const N0 = Y({ target: [String, Object], activator: [String, Object], activatorProps: { type: Object, default: () => ({}) }, openOnClick: { type: Boolean, default: void 0 }, openOnHover: Boolean, openOnFocus: { type: Boolean, default: void 0 }, closeOnContentClick: Boolean, ...V0() }, "VOverlay-activator"); function D0(e, t) { let { isActive: n, isTop: r } = t; const o = He("useActivator"), i = ie(); let s = !1, a = !1, l = !0; const c = b(() => e.openOnFocus || e.openOnFocus == null && e.openOnHover), u = b(() => e.openOnClick || e.openOnClick == null && !e.openOnHover && !c.value), { runOpenDelay: d, runCloseDelay: m } = L0(e, (S) => { S === (e.openOnHover && s || c.value && a) && !(e.openOnHover && n.value && !r.value) && (n.value !== S && (l = !0), n.value = S); }), h = ie(), g = { onClick: (S) => { S.stopPropagation(), i.value = S.currentTarget || S.target, n.value || (h.value = [S.clientX, S.clientY]), n.value = !n.value; }, onMouseenter: (S) => { var F; (F = S.sourceCapabilities) != null && F.firesTouchEvents || (s = !0, i.value = S.currentTarget || S.target, d()); }, onMouseleave: (S) => { s = !1, m(); }, onFocus: (S) => { Mo(S.target, ":focus-visible") !== !1 && (a = !0, S.stopPropagation(), i.value = S.currentTarget || S.target, d()); }, onBlur: (S) => { a = !1, S.stopPropagation(), m(); } }, f = b(() => { const S = {}; return u.value && (S.onClick = g.onClick), e.openOnHover && (S.onMouseenter = g.onMouseenter, S.onMouseleave = g.onMouseleave), c.value && (S.onFocus = g.onFocus, S.onBlur = g.onBlur), S; }), y = b(() => { const S = {}; if (e.openOnHover && (S.onMouseenter = () => { s = !0, d(); }, S.onMouseleave = () => { s = !1, m(); }), c.value && (S.onFocusin = () => { a = !0, d(); }, S.onFocusout = () => { a = !1, m(); }), e.closeOnContentClick) { const F = Re(ms, null); S.onClick = () => { n.value = !1, F == null || F.closeParents(); }; } return S; }), w = b(() => { const S = {}; return e.openOnHover && (S.onMouseenter = () => { l && (s = !0, l = !1, d()); }, S.onMouseleave = () => { s = !1, m(); }), S; }); fe(r, (S) => { S && (e.openOnHover && !s && (!c.value || !a) || c.value && !a && (!e.openOnHover || !s)) && (n.value = !1); }), fe(n, (S) => { S || setTimeout(() => { h.value = void 0; }); }, { flush: "post" }); const P = ts(); Tt(() => { P.value && Ze(() => { i.value = P.el; }); }); const A = ts(), O = b(() => e.target === "cursor" && h.value ? h.value : A.value ? A.el : yf(e.target, o) || i.value), L = b(() => Array.isArray(O.value) ? void 0 : O.value); let x; return fe(() => !!e.activator, (S) => { S && ke ? (x = Uo(), x.run(() => { $0(e, o, { activatorEl: i, activatorEvents: f }); })) : x && x.stop(); }, { flush: "post", immediate: !0 }), tt(() => { x == null || x.stop(); }), { activatorEl: i, activatorRef: P, target: O, targetEl: L, targetRef: A, activatorEvents: f, contentEvents: y, scrimEvents: w }; } function $0(e, t, n) { let { activatorEl: r, activatorEvents: o } = n; fe(() => e.activator, (l, c) => { if (c && l !== c) { const u = a(c); u && s(u); } l && Ze(() => i()); }, { immediate: !0 }), fe(() => e.activatorProps, () => { i(); }), tt(() => { s(); }); function i() { let l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : a(), c = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : e.activatorProps; l && uy(l, pe(o.value, c)); } function s() { let l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : a(), c = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : e.activatorProps; l && dy(l, pe(o.value, c)); } function a() { let l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : e.activator; const c = yf(l, t); return r.value = (c == null ? void 0 : c.nodeType) === Node.ELEMENT_NODE ? c : void 0, r.value; } } function yf(e, t) { var r, o; if (!e) return; let n; if (e === "parent") { let i = (o = (r = t == null ? void 0 : t.proxy) == null ? void 0 : r.$el) == null ? void 0 : o.parentNode; for (; i != null && i.hasAttribute("data-no-activator"); ) i = i.parentNode; n = i; } else typeof e == "string" ? n = document.querySelector(e) : "$el" in e ? n = e.$el : n = e; return n; } function H0() { if (!ke) return de(!1); const { ssr: e } = ra(); if (e) { const t = de(!1); return An(() => { t.value = !0; }), t; } else return de(!0); } const j0 = Y({ eager: Boolean }, "lazy"); function U0(e, t) { const n = de(!1), r = b(() => n.value || e.eager || t.value); fe(t, () => n.value = !0); function o() { e.eager || (n.value = !1); } return { isBooted: n, hasContent: r, onAfterLeave: o }; } function pf() { const t = He("useScopeId").vnode.scopeId; return { scopeId: t ? { [t]: "" } : void 0 }; } const cc = Symbol.for("vuetify:stack"), ur = Ot([]); function W0(e, t, n) { const r = He("useStack"), o = !n, i = Re(cc, void 0), s = Ot({ activeChildren: /* @__PURE__ */ new Set() }); lt(cc, s); const a = de(+t.value); Sn(e, () => { var d; const u = (d = ur.at(-1)) == null ? void 0 : d[1]; a.value = u ? u + 10 : +t.value, o && ur.push([r.uid, a.value]), i == null || i.activeChildren.add(r.uid), tt(() => { if (o) { const m = ae(ur).findIndex((h) => h[0] === r.uid); ur.splice(m, 1); } i == null || i.activeChildren.delete(r.uid); }); }); const l = de(!0); o && Tt(() => { var d; const u = ((d = ur.at(-1)) == null ? void 0 : d[0]) === r.uid; setTimeout(() => l.value = u); }); const c = b(() => !s.activeChildren.size); return { globalTop: Rr(l), localTop: c, stackStyles: b(() => ({ zIndex: a.value })) }; } function z0(e) { return { teleportTarget: b(() => { const n = e.value; if (n === !0 || !ke) return; const r = n === !1 ? document.body : typeof n == "string" ? document.querySelector(n) : n; if (r == null) return; let o = r.querySelector(":scope > .v-overlay-container"); return o || (o = document.createElement("div"), o.className = "v-overlay-container", r.appendChild(o)), o; }) }; } function G0() { return !0; } function bf(e, t, n) { if (!e || Cf(e, n) === !1) return !1; const r = id(t); if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && r.host === e.target) return !1; const o = (typeof n.value == "object" && n.value.include || (() => []))(); return o.push(t), !o.some((i) => i == null ? void 0 : i.contains(e.target)); } function Cf(e, t) { return (typeof t.value == "object" && t.value.closeConditional || G0)(e); } function K0(e, t, n) { const r = typeof n.value == "function" ? n.value : n.value.handler; t._clickOutside.lastMousedownWasOutside && bf(e, t, n) && setTimeout(() => { Cf(e, n) && r && r(e); }, 0); } function uc(e, t) { const n = id(e); t(document), typeof ShadowRoot < "u" && n instanceof ShadowRoot && t(n); } const q0 = { // [data-app] may not be found // if using bind, inserted makes // sure that the root element is // available, iOS does not support // clicks on body mounted(e, t) { const n = (o) => K0(o, e, t), r = (o) => { e._clickOutside.lastMousedownWasOutside = bf(o, e, t); }; uc(e, (o) => { o.addEventListener("click", n, !0), o.addEventListener("mousedown", r, !0); }), e._clickOutside || (e._clickOutside = { lastMousedownWasOutside: !1 }), e._clickOutside[t.instance.$.uid] = { onClick: n, onMousedown: r }; }, unmounted(e, t) { e._clickOutside && (uc(e, (n) => { var i; if (!n || !((i = e._clickOutside) != null && i[t.instance.$.uid])) return; const { onClick: r, onMousedown: o } = e._clickOutside[t.instance.$.uid]; n.removeEventListener("click", r, !0), n.removeEventListener("mousedown", o, !0); }), delete e._clickOutside[t.instance.$.uid]); } }; function Y0(e) { const { modelValue: t, color: n, ...r } = e; return v(jt, { name: "fade-transition", appear: !0 }, { default: () => [e.modelValue && v("div", pe({ class: ["v-overlay__scrim", e.color.backgroundColorClasses.value], style: e.color.backgroundColorStyles.value }, r), null)] }); } const wf = Y({ absolute: Boolean, attach: [Boolean, String, Object], closeOnBack: { type: Boolean, default: !0 }, contained: Boolean, contentClass: null, contentProps: null, disabled: Boolean, opacity: [Number, String], noClickAnimation: Boolean, modelValue: Boolean, persistent: Boolean, scrim: { type: [Boolean, String], default: !0 }, zIndex: { type: [Number, String], default: 2e3 }, ...N0(), ..._e(), ...kn(), ...j0(), ...A0(), ...M0(), ...Ke(), ...jr() }, "VOverlay"), dc = he()({ name: "VOverlay", directives: { ClickOutside: q0 }, inheritAttrs: !1, props: { _disableGlobalStack: Boolean, ...wf() }, emits: { "click:outside": (e) => !0, "update:modelValue": (e) => !0, afterEnter: () => !0, afterLeave: () => !0 }, setup(e, t) { let { slots: n, attrs: r, emit: o } = t; const i = $e(e, "modelValue"), s = b({ get: () => i.value, set: (te) => { te && e.disabled || (i.value = te); } }), { teleportTarget: a } = z0(b(() => e.attach || e.contained)), { themeClasses: l } = nt(e), { rtlClasses: c, isRtl: u } = En(), { hasContent: d, onAfterLeave: m } = U0(e, s), h = sn(b(() => typeof e.scrim == "string" ? e.scrim : null)), { globalTop: g, localTop: f, stackStyles: y } = W0(s, oe(e, "zIndex"), e._disableGlobalStack), { activatorEl: w, activatorRef: P, target: A, targetEl: O, targetRef: L, activatorEvents: x, contentEvents: S, scrimEvents: F } = D0(e, { isActive: s, isTop: f }), { dimensionStyles: K } = Pn(e), W = H0(), { scopeId: j } = pf(); fe(() => e.disabled, (te) => { te && (s.value = !1); }); const _ = ie(), B = ie(), D = ie(), { contentStyles: X, updateLocation: Q } = E0(e, { isRtl: u, contentEl: D, target: A, isActive: s }); I0(e, { root: _, contentEl: D, targetEl: O, isActive: s, updateLocation: Q }); function ee(te) { o("click:outside", te), e.persistent ? J() : s.value = !1; } function M(te) { return s.value && g.value && // If using scrim, only close if clicking on it rather than anything opened on top (!e.scrim || te.target === B.value); } ke && fe(s, (te) => { te ? window.addEventListener("keydown", $) : window.removeEventListener("keydown", $); }, { immediate: !0 }), St(() => { ke && window.removeEventListener("keydown", $); }); function $(te) { var me, Ae; te.key === "Escape" && g.value && (e.persistent ? J() : (s.value = !1, (me = D.value) != null && me.contains(document.activeElement) && ((Ae = w.value) == null || Ae.focus()))); } const k = _b(); Sn(() => e.closeOnBack, () => { xb(k, (te) => { g.value && s.value ? (te(!1), e.persistent ? J() : s.value = !1) : te(); }); }); const H = ie(); fe(() => s.value && (e.absolute || e.contained) && a.value == null, (te) => { if (te) { const me = sd(_.value); me && me !== document.scrollingElement && (H.value = me.scrollTop); } }); function J() { e.noClickAnimation || D.value && Rn(D.value, [{ transformOrigin: "center" }, { transform: "scale(1.03)" }, { transformOrigin: "center" }], { duration: 150, easing: Fo }); } function le() { o("afterEnter"); } function Ce() { m(), o("afterLeave"); } return we(() => { var te; return v(Se, null, [(te = n.activator) == null ? void 0 : te.call(n, { isActive: s.value, targetRef: L, props: pe({ ref: P }, x.value, e.activatorProps) }), W.value && d.value && v(ah, { disabled: !a.value, to: a.value }, { default: () => [v("div", pe({ class: ["v-overlay", { "v-overlay--absolute": e.absolute || e.contained, "v-overlay--active": s.value, "v-overlay--contained": e.contained }, l.value, c.value, e.class], style: [y.value, { "--v-overlay-opacity": e.opacity, top: ge(H.value) }, e.style], ref: _ }, j, r), [v(Y0, pe({ color: h, modelValue: s.value && !!e.scrim, ref: B }, F.value), null), v(nn, { appear: !0, persisted: !0, transition: e.transition, target: A.value, onAfterEnter: le, onAfterLeave: Ce }, { default: () => { var me; return [yt(v("div", pe({ ref: D, class: ["v-overlay__content", e.contentClass], style: [K.value, X.value] }, S.value, e.contentProps), [(me = n.default) == null ? void 0 : me.call(n, { isActive: s })]), [[er, s.value], [Zn("click-outside"), { handler: ee, closeConditional: M, include: () => [w.value] }]])]; } })])] })]); }), { activatorEl: w, scrimEl: B, target: A, animateClick: J, contentEl: D, globalTop: g, localTop: f, updateLocation: Q }; } }), Fi = Symbol("Forwarded refs"); function Bi(e, t) { let n = e; for (; n; ) { const r = Reflect.getOwnPropertyDescriptor(n, t); if (r) return r; n = Object.getPrototypeOf(n); } } function fa(e) { for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++) n[r - 1] = arguments[r]; return e[Fi] = n, new Proxy(e, { get(o, i) { if (Reflect.has(o, i)) return Reflect.get(o, i); if (!(typeof i == "symbol" || i.startsWith("$") || i.startsWith("__"))) { for (const s of n) if (s.value && Reflect.has(s.value, i)) { const a = Reflect.get(s.value, i); return typeof a == "function" ? a.bind(s.value) : a; } } }, has(o, i) { if (Reflect.has(o, i)) return !0; if (typeof i == "symbol" || i.startsWith("$") || i.startsWith("__")) return !1; for (const s of n) if (s.value && Reflect.has(s.value, i)) return !0; return !1; }, set(o, i, s) { if (Reflect.has(o, i)) return Reflect.set(o, i, s); if (typeof i == "symbol" || i.startsWith("$") || i.startsWith("__")) return !1; for (const a of n) if (a.value && Reflect.has(a.value, i)) return Reflect.set(a.value, i, s); return !1; }, getOwnPropertyDescriptor(o, i) { var a; const s = Reflect.getOwnPropertyDescriptor(o, i); if (s) return s; if (!(typeof i == "symbol" || i.startsWith("$") || i.startsWith("__"))) { for (const l of n) { if (!l.value) continue; const c = Bi(l.value, i) ?? ("_" in l.value ? Bi((a = l.value._) == null ? void 0 : a.setupState, i) : void 0); if (c) return c; } for (const l of n) { const c = l.value && l.value[Fi]; if (!c) continue; const u = c.slice(); for (; u.length; ) { const d = u.shift(), m = Bi(d.value, i); if (m) return m; const h = d.value && d.value[Fi]; h && u.push(...h); } } } } }); } const J0 = Y({ // TODO // disableKeys: Boolean, id: String, ...rr(wf({ closeDelay: 250, closeOnContentClick: !0, locationStrategy: "connected", openDelay: 300, scrim: !1, scrollStrategy: "reposition", transition: { component: Cd } }), ["absolute"]) }, "VMenu"), Z0 = he()({ name: "VMenu", props: J0(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { let { slots: n } = t; const r = $e(e, "modelValue"), { scopeId: o } = pf(), i = Ft(), s = b(() => e.id || `v-menu-${i}`), a = ie(), l = Re(ms, null), c = de(0); lt(ms, { register() { ++c.value; }, unregister() { --c.value; }, closeParents(f) { setTimeout(() => { !c.value && !e.persistent && (f == null || f && !ly(f, a.value.contentEl)) && (r.value = !1, l == null || l.closeParents()); }, 40); } }); async function u(f) { var P, A, O; const y = f.relatedTarget, w = f.target; await Ze(), r.value && y !== w && ((P = a.value) != null && P.contentEl) && // We're the topmost menu ((A = a.value) != null && A.globalTop) && // It isn't the document or the menu body ![document, a.value.contentEl].includes(w) && // It isn't inside the menu body !a.value.contentEl.contains(w) && ((O = To(a.value.contentEl)[0]) == null || O.focus()); } fe(r, (f) => { f ? (l == null || l.register(), document.addEventListener("focusin", u, { once: !0 })) : (l == null || l.unregister(), document.removeEventListener("focusin", u)); }); function d(f) { l == null || l.closeParents(f); } function m(f) { var y, w, P; if (!e.disabled) if (f.key === "Tab" || f.key === "Enter" && !e.closeOnContentClick) { if (f.key === "Enter" && f.target instanceof HTMLTextAreaElement) return; f.key === "Enter" && f.preventDefault(), Yu(To((y = a.value) == null ? void 0 : y.contentEl, !1), f.shiftKey ? "prev" : "next", (O) => O.tabIndex >= 0) || (r.value = !1, (P = (w = a.value) == null ? void 0 : w.activatorEl) == null || P.focus()); } else ["Enter", " "].includes(f.key) && e.closeOnContentClick && (r.value = !1, l == null || l.closeParents()); } function h(f) { var w; if (e.disabled) return; const y = (w = a.value) == null ? void 0 : w.contentEl; y && r.value ? f.key === "ArrowDown" ? (f.preventDefault(), Oo(y, "next")) : f.key === "ArrowUp" && (f.preventDefault(), Oo(y, "prev")) : ["ArrowDown", "ArrowUp"].includes(f.key) && (r.value = !0, f.preventDefault(), setTimeout(() => setTimeout(() => h(f)))); } const g = b(() => pe({ "aria-haspopup": "menu", "aria-expanded": String(r.value), "aria-owns": s.value, onKeydown: h }, e.activatorProps)); return we(() => { const f = dc.filterProps(e); return v(dc, pe({ ref: a, id: s.value, class: ["v-menu", e.class], style: e.style }, f, { modelValue: r.value, "onUpdate:modelValue": (y) => r.value = y, absolute: !0, activatorProps: g.value, "onClick:outside": d, onKeydown: m }, o), { activator: n.activator, default: function() { for (var y = arguments.length, w = new Array(y), P = 0; P < y; P++) w[P] = arguments[P]; return v(Qe, { root: "VMenu" }, { default: () => { var A; return [(A = n.default) == null ? void 0 : A.call(n, ...w)]; } }); } }); }), fa({ id: s, ΨopenChildren: c }, a); } }), X0 = Y({ active: Boolean, disabled: Boolean, max: [Number, String], value: { type: [Number, String], default: 0 }, ..._e(), ...jr({ transition: { component: wd } }) }, "VCounter"), Q0 = he()({ name: "VCounter", functional: !0, props: X0(), setup(e, t) { let { slots: n } = t; const r = b(() => e.max ? `${e.value} / ${e.max}` : String(e.value)); return we(() => v(nn, { transition: e.transition }, { default: () => [yt(v("div", { class: ["v-counter", { "text-error": e.max && !e.disabled && parseFloat(e.value) > parseFloat(e.max) }, e.class], style: e.style }, [n.default ? n.default({ counter: r.value, max: e.max, value: e.value }) : r.value]), [[er, e.active]])] })), {}; } }), eC = Y({ floating: Boolean, ..._e() }, "VFieldLabel"), so = he()({ name: "VFieldLabel", props: eC(), setup(e, t) { let { slots: n } = t; return we(() => v(Wd, { class: ["v-field-label", { "v-field-label--floating": e.floating }, e.class], style: e.style, "aria-hidden": e.floating || void 0 }, n)), {}; } }), tC = ["underlined", "outlined", "filled", "solo", "solo-inverted", "solo-filled", "plain"], Sf = Y({ appendInnerIcon: Te, bgColor: String, clearable: Boolean, clearIcon: { type: Te, default: "$clear" }, active: Boolean, centerAffix: { type: Boolean, default: void 0 }, color: String, baseColor: String, dirty: Boolean, disabled: { type: Boolean, default: null }, error: Boolean, flat: Boolean, label: String, persistentClear: Boolean, prependInnerIcon: Te, reverse: Boolean, singleLine: Boolean, variant: { type: String, default: "filled", validator: (e) => tC.includes(e) }, "onClick:clear": at(), "onClick:appendInner": at(), "onClick:prependInner": at(), ..._e(), ...Bd(), ...zt(), ...Ke() }, "VField"), _f = he()({ name: "VField", inheritAttrs: !1, props: { id: String, ...Yd(), ...Sf() }, emits: { "update:focused": (e) => !0, "update:modelValue": (e) => !0 }, setup(e, t) { let { attrs: n, emit: r, slots: o } = t; const { themeClasses: i } = nt(e), { loaderClasses: s } = Rd(e), { focusClasses: a, isFocused: l, focus: c, blur: u } = Jd(e), { InputIcon: d } = qd(e), { roundedClasses: m } = Gt(e), { rtlClasses: h } = En(), g = b(() => e.dirty || e.active), f = b(() => !e.singleLine && !!(e.label || o.label)), y = Ft(), w = b(() => e.id || `input-${y}`), P = b(() => `${w.value}-messages`), A = ie(), O = ie(), L = ie(), x = b(() => ["plain", "underlined"].includes(e.variant)), { backgroundColorClasses: S, backgroundColorStyles: F } = sn(oe(e, "bgColor")), { textColorClasses: K, textColorStyles: W } = Ut(b(() => e.error || e.disabled ? void 0 : g.value && l.value ? e.color : e.baseColor)); fe(g, (D) => { if (f.value) { const X = A.value.$el, Q = O.value.$el; requestAnimationFrame(() => { const ee = Xs(X), M = Q.getBoundingClientRect(), $ = M.x - ee.x, k = M.y - ee.y - (ee.height / 2 - M.height / 2), H = M.width / 0.75, J = Math.abs(H - ee.width) > 1 ? { maxWidth: ge(H) } : void 0, le = getComputedStyle(X), Ce = getComputedStyle(Q), te = parseFloat(le.transitionDuration) * 1e3 || 150, me = parseFloat(Ce.getPropertyValue("--v-field-label-scale")), Ae = Ce.getPropertyValue("color"); X.style.visibility = "visible", Q.style.visibility = "hidden", Rn(X, { transform: `translate(${$}px, ${k}px) scale(${me})`, color: Ae, ...J }, { duration: te, easing: Fo, direction: D ? "normal" : "reverse" }).finished.then(() => { X.style.removeProperty("visibility"), Q.style.removeProperty("visibility"); }); }); } }, { flush: "post" }); const j = b(() => ({ isActive: g, isFocused: l, controlRef: L, blur: u, focus: c })); function _(D) { D.target !== document.activeElement && D.preventDefault(); } function B(D) { var X; D.key !== "Enter" && D.key !== " " || (D.preventDefault(), D.stopPropagation(), (X = e["onClick:clear"]) == null || X.call(e, new MouseEvent("click"))); } return we(() => { var $, k, H; const D = e.variant === "outlined", X = !!(o["prepend-inner"] || e.prependInnerIcon), Q = !!(e.clearable || o.clear), ee = !!(o["append-inner"] || e.appendInnerIcon || Q), M = () => o.label ? o.label({ ...j.value, label: e.label, props: { for: w.value } }) : e.label; return v("div", pe({ class: ["v-field", { "v-field--active": g.value, "v-field--appended": ee, "v-field--center-affix": e.centerAffix ?? !x.value, "v-field--disabled": e.disabled, "v-field--dirty": e.dirty, "v-field--error": e.error, "v-field--flat": e.flat, "v-field--has-background": !!e.bgColor, "v-field--persistent-clear": e.persistentClear, "v-field--prepended": X, "v-field--reverse": e.reverse, "v-field--single-line": e.singleLine, "v-field--no-label": !M(), [`v-field--variant-${e.variant}`]: !0 }, i.value, S.value, a.value, s.value, m.value, h.value, e.class], style: [F.value, e.style], onClick: _ }, n), [v("div", { class: "v-field__overlay" }, null), v(pb, { name: "v-field", active: !!e.loading, color: e.error ? "error" : typeof e.loading == "string" ? e.loading : e.color }, { default: o.loader }), X && v("div", { key: "prepend", class: "v-field__prepend-inner" }, [e.prependInnerIcon && v(d, { key: "prepend-icon", name: "prependInner" }, null), ($ = o["prepend-inner"]) == null ? void 0 : $.call(o, j.value)]), v("div", { class: "v-field__field", "data-no-activator": "" }, [["filled", "solo", "solo-inverted", "solo-filled"].includes(e.variant) && f.value && v(so, { key: "floating-label", ref: O, class: [K.value], floating: !0, for: w.value, style: W.value }, { default: () => [M()] }), v(so, { ref: A, for: w.value }, { default: () => [M()] }), (k = o.default) == null ? void 0 : k.call(o, { ...j.value, props: { id: w.value, class: "v-field__input", "aria-describedby": P.value }, focus: c, blur: u })]), Q && v(Sd, { key: "clear" }, { default: () => [yt(v("div", { class: "v-field__clearable", onMousedown: (J) => { J.preventDefault(), J.stopPropagation(); } }, [v(Qe, { defaults: { VIcon: { icon: e.clearIcon } } }, { default: () => [o.clear ? o.clear({ ...j.value, props: { onKeydown: B, onFocus: c, onBlur: u, onClick: e["onClick:clear"] } }) : v(d, { name: "clear", onKeydown: B, onFocus: c, onBlur: u }, null)] })]), [[er, e.dirty]])] }), ee && v("div", { key: "append", class: "v-field__append-inner" }, [(H = o["append-inner"]) == null ? void 0 : H.call(o, j.value), e.appendInnerIcon && v(d, { key: "append-icon", name: "appendInner" }, null)]), v("div", { class: ["v-field__outline", K.value], style: W.value }, [D && v(Se, null, [v("div", { class: "v-field__outline__start" }, null), f.value && v("div", { class: "v-field__outline__notch" }, [v(so, { ref: O, floating: !0, for: w.value }, { default: () => [M()] })]), v("div", { class: "v-field__outline__end" }, null)]), x.value && f.value && v(so, { ref: O, floating: !0, for: w.value }, { default: () => [M()] })])]); }), { controlRef: L }; } }); function nC(e) { const t = Object.keys(_f.props).filter((n) => !Js(n) && n !== "class" && n !== "style"); return Wu(e, t); } const rC = ["color", "file", "time", "date", "datetime-local", "week", "month"], xf = Y({ autofocus: Boolean, counter: [Boolean, Number, String], counterValue: [Number, Function], prefix: String, placeholder: String, persistentPlaceholder: Boolean, persistentCounter: Boolean, suffix: String, role: String, type: { type: String, default: "text" }, modelModifiers: Object, ...Xd(), ...Sf() }, "VTextField"), hs = he()({ name: "VTextField", directives: { Intersect: Ad }, inheritAttrs: !1, props: xf(), emits: { "click:control": (e) => !0, "mousedown:control": (e) => !0, "update:focused": (e) => !0, "update:modelValue": (e) => !0 }, setup(e, t) { let { attrs: n, emit: r, slots: o } = t; const i = $e(e, "modelValue"), { isFocused: s, focus: a, blur: l } = Jd(e), c = b(() => typeof e.counterValue == "function" ? e.counterValue(i.value) : typeof e.counterValue == "number" ? e.counterValue : (i.value ?? "").toString().length), u = b(() => { if (n.maxlength) return n.maxlength; if (!(!e.counter || typeof e.counter != "number" && typeof e.counter != "string")) return e.counter; }), d = b(() => ["plain", "underlined"].includes(e.variant)); function m(x, S) { var F, K; !e.autofocus || !x || (K = (F = S[0].target) == null ? void 0 : F.focus) == null || K.call(F); } const h = ie(), g = ie(), f = ie(), y = b(() => rC.includes(e.type) || e.persistentPlaceholder || s.value || e.active); function w() { var x; f.value !== document.activeElement && ((x = f.value) == null || x.focus()), s.value || a(); } function P(x) { r("mousedown:control", x), x.target !== f.value && (w(), x.preventDefault()); } function A(x) { w(), r("click:control", x); } function O(x) { x.stopPropagation(), w(), Ze(() => { i.value = null, sy(e["onClick:clear"], x); }); } function L(x) { var F; const S = x.target; if (i.value = S.value, (F = e.modelModifiers) != null && F.trim && ["text", "search", "password", "tel", "url"].includes(e.type)) { const K = [S.selectionStart, S.selectionEnd]; Ze(() => { S.selectionStart = K[0], S.selectionEnd = K[1]; }); } } return we(() => { const x = !!(o.counter || e.counter !== !1 && e.counter != null), S = !!(x || o.details), [F, K] = Gu(n), { modelValue: W, ...j } = nc.filterProps(e), _ = nC(e); return v(nc, pe({ ref: h, modelValue: i.value, "onUpdate:modelValue": (B) => i.value = B, class: ["v-text-field", { "v-text-field--prefixed": e.prefix, "v-text-field--suffixed": e.suffix, "v-input--plain-underlined": d.value }, e.class], style: e.style }, F, j, { centerAffix: !d.value, focused: s.value }), { ...o, default: (B) => { let { id: D, isDisabled: X, isDirty: Q, isReadonly: ee, isValid: M } = B; return v(_f, pe({ ref: g, onMousedown: P, onClick: A, "onClick:clear": O, "onClick:prependInner": e["onClick:prependInner"], "onClick:appendInner": e["onClick:appendInner"], role: e.role }, _, { id: D.value, active: y.value || Q.value, dirty: Q.value || e.dirty, disabled: X.value, focused: s.value, error: M.value === !1 }), { ...o, default: ($) => { let { props: { class: k, ...H } } = $; const J = yt(v("input", pe({ ref: f, value: i.value, onInput: L, autofocus: e.autofocus, readonly: ee.value, disabled: X.value, name: e.name, placeholder: e.placeholder, size: 1, type: e.type, onFocus: w, onBlur: l }, H, K), null), [[Zn("intersect"), { handler: m }, null, { once: !0 }]]); return v(Se, null, [e.prefix && v("span", { class: "v-text-field__prefix" }, [v("span", { class: "v-text-field__prefix__text" }, [e.prefix])]), o.default ? v("div", { class: k, "data-no-activator": "" }, [o.default(), J]) : Ht(J, { class: k }), e.suffix && v("span", { class: "v-text-field__suffix" }, [v("span", { class: "v-text-field__suffix__text" }, [e.suffix])])]); } }); }, details: S ? (B) => { var D; return v(Se, null, [(D = o.details) == null ? void 0 : D.call(o, B), x && v(Se, null, [v("span", null, null), v(Q0, { active: e.persistentCounter || s.value, value: c.value, max: u.value, disabled: e.disabled }, o.counter)])]); } : void 0 }); }), fa({}, h, g, f); } }), oC = Y({ renderless: Boolean, ..._e() }, "VVirtualScrollItem"), iC = he()({ name: "VVirtualScrollItem", inheritAttrs: !1, props: oC(), emits: { "update:height": (e) => !0 }, setup(e, t) { let { attrs: n, emit: r, slots: o } = t; const { resizeRef: i, contentRect: s } = Pr(void 0, "border"); fe(() => { var a; return (a = s.value) == null ? void 0 : a.height; }, (a) => { a != null && r("update:height", a); }), we(() => { var a, l; return e.renderless ? v(Se, null, [(a = o.default) == null ? void 0 : a.call(o, { itemRef: i })]) : v("div", pe({ ref: i, class: ["v-virtual-scroll__item", e.class], style: e.style }, n), [(l = o.default) == null ? void 0 : l.call(o)]); }); } }), sC = -1, aC = 1, Ri = 100, lC = Y({ itemHeight: { type: [Number, String], default: null }, height: [Number, String] }, "virtual"); function cC(e, t) { const n = ra(), r = de(0); Tt(() => { r.value = parseFloat(e.itemHeight || 0); }); const o = de(0), i = de(Math.ceil( // Assume 16px items filling the entire screen height if // not provided. This is probably incorrect but it minimises // the chance of ending up with empty space at the bottom. // The default value is set here to avoid poisoning getSize() (parseInt(e.height) || n.height.value) / (r.value || 16) ) || 1), s = de(0), a = de(0), l = ie(), c = ie(); let u = 0; const { resizeRef: d, contentRect: m } = Pr(); Tt(() => { d.value = l.value; }); const h = b(() => { var $; return l.value === document.documentElement ? n.height.value : (($ = m.value) == null ? void 0 : $.height) || parseInt(e.height) || 0; }), g = b(() => !!(l.value && c.value && h.value && r.value)); let f = Array.from({ length: t.value.length }), y = Array.from({ length: t.value.length }); const w = de(0); let P = -1; function A($) { return f[$] || r.value; } const O = oy(() => { const $ = performance.now(); y[0] = 0; const k = t.value.length; for (let H = 1; H <= k - 1; H++) y[H] = (y[H - 1] || 0) + A(H - 1); w.value = Math.max(w.value, performance.now() - $); }, w), L = fe(g, ($) => { $ && (L(), u = c.value.offsetTop, O.immediate(), X(), ~P && Ze(() => { ke && window.requestAnimationFrame(() => { ee(P), P = -1; }); })); }); tt(() => { O.clear(); }); function x($, k) { const H = f[$], J = r.value; r.value = J ? Math.min(r.value, k) : k, (H !== k || J !== r.value) && (f[$] = k, O()); } function S($) { return $ = $t($, 0, t.value.length - 1), y[$] || 0; } function F($) { return uC(y, $); } let K = 0, W = 0, j = 0; fe(h, ($, k) => { k && (X(), $ < k && requestAnimationFrame(() => { W = 0, X(); })); }); function _() { if (!l.value || !c.value) return; const $ = l.value.scrollTop, k = performance.now(); k - j > 500 ? (W = Math.sign($ - K), u = c.value.offsetTop) : W = $ - K, K = $, j = k, X(); } function B() { !l.value || !c.value || (W = 0, j = 0, X()); } let D = -1; function X() { cancelAnimationFrame(D), D = requestAnimationFrame(Q); } function Q() { if (!l.value || !h.value) return; const $ = K - u, k = Math.sign(W), H = Math.max(0, $ - Ri), J = $t(F(H), 0, t.value.length), le = $ + h.value + Ri, Ce = $t(F(le) + 1, J + 1, t.value.length); if ( // Only update the side we're scrolling towards, // the other side will be updated incidentally (k !== sC || J < o.value) && (k !== aC || Ce > i.value) ) { const te = S(o.value) - S(J), me = S(Ce) - S(i.value); Math.max(te, me) > Ri ? (o.value = J, i.value = Ce) : (J <= 0 && (o.value = J), Ce >= t.value.length && (i.value = Ce)); } s.value = S(o.value), a.value = S(t.value.length) - S(i.value); } function ee($) { const k = S($); !l.value || $ && !k ? P = $ : l.value.scrollTop = k; } const M = b(() => t.value.slice(o.value, i.value).map(($, k) => ({ raw: $, index: k + o.value }))); return fe(t, () => { f = Array.from({ length: t.value.length }), y = Array.from({ length: t.value.length }), O.immediate(), X(); }, { deep: !0 }), { containerRef: l, markerRef: c, computedItems: M, paddingTop: s, paddingBottom: a, scrollToIndex: ee, handleScroll: _, handleScrollend: B, handleItemResize: x }; } function uC(e, t) { let n = e.length - 1, r = 0, o = 0, i = null, s = -1; if (e[n] < t) return n; for (; r <= n; ) if (o = r + n >> 1, i = e[o], i > t) n = o - 1; else if (i < t) s = o, r = o + 1; else return i === t ? o : r; return s; } const dC = Y({ items: { type: Array, default: () => [] }, renderless: Boolean, ...lC(), ..._e(), ...kn() }, "VVirtualScroll"), fC = he()({ name: "VVirtualScroll", props: dC(), setup(e, t) { let { slots: n } = t; const r = He("VVirtualScroll"), { dimensionStyles: o } = Pn(e), { containerRef: i, markerRef: s, handleScroll: a, handleScrollend: l, handleItemResize: c, scrollToIndex: u, paddingTop: d, paddingBottom: m, computedItems: h } = cC(e, oe(e, "items")); return Sn(() => e.renderless, () => { function g() { var w, P; const y = (arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1) ? "addEventListener" : "removeEventListener"; i.value === document.documentElement ? (document[y]("scroll", a, { passive: !0 }), document[y]("scrollend", l)) : ((w = i.value) == null || w[y]("scroll", a, { passive: !0 }), (P = i.value) == null || P[y]("scrollend", l)); } An(() => { i.value = sd(r.vnode.el, !0), g(!0); }), tt(g); }), we(() => { const g = h.value.map((f) => v(iC, { key: f.index, renderless: e.renderless, "onUpdate:height": (y) => c(f.index, y) }, { default: (y) => { var w; return (w = n.default) == null ? void 0 : w.call(n, { item: f.raw, index: f.index, ...y }); } })); return e.renderless ? v(Se, null, [v("div", { ref: s, class: "v-virtual-scroll__spacer", style: { paddingTop: ge(d.value) } }, null), g, v("div", { class: "v-virtual-scroll__spacer", style: { paddingBottom: ge(m.value) } }, null)]) : v("div", { ref: i, class: ["v-virtual-scroll", e.class], onScrollPassive: a, onScrollend: l, style: [o.value, e.style] }, [v("div", { ref: s, class: "v-virtual-scroll__container", style: { paddingTop: ge(d.value), paddingBottom: ge(m.value) } }, [g])]); }), { scrollToIndex: u }; } }); function mC(e, t) { const n = de(!1); let r; function o(a) { cancelAnimationFrame(r), n.value = !0, r = requestAnimationFrame(() => { r = requestAnimationFrame(() => { n.value = !1; }); }); } async function i() { await new Promise((a) => requestAnimationFrame(a)), await new Promise((a) => requestAnimationFrame(a)), await new Promise((a) => requestAnimationFrame(a)), await new Promise((a) => { if (n.value) { const l = fe(n, () => { l(), a(); }); } else a(); }); } async function s(a) { var u, d; if (a.key === "Tab" && ((u = t.value) == null || u.focus()), !["PageDown", "PageUp", "Home", "End"].includes(a.key)) return; const l = (d = e.value) == null ? void 0 : d.$el; if (!l) return; (a.key === "Home" || a.key === "End") && l.scrollTo({ top: a.key === "Home" ? 0 : l.scrollHeight, behavior: "smooth" }), await i(); const c = l.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)"); if (a.key === "PageDown" || a.key === "Home") { const m = l.getBoundingClientRect().top; for (const h of c) if (h.getBoundingClientRect().top >= m) { h.focus(); break; } } else { const m = l.getBoundingClientRect().bottom; for (const h of [...c].reverse()) if (h.getBoundingClientRect().bottom <= m) { h.focus(); break; } } } return { onListScroll: o, onListKeydown: s }; } const hC = Y({ chips: Boolean, closableChips: Boolean, closeText: { type: String, default: "$vuetify.close" }, openText: { type: String, default: "$vuetify.open" }, eager: Boolean, hideNoData: Boolean, hideSelected: Boolean, listProps: { type: Object }, menu: Boolean, menuIcon: { type: Te, default: "$dropdown" }, menuProps: { type: Object }, multiple: Boolean, noDataText: { type: String, default: "$vuetify.noDataText" }, openOnClear: Boolean, itemColor: String, ...ff({ itemChildren: !1 }) }, "Select"), gC = Y({ ...hC(), ...rr(xf({ modelValue: null, role: "combobox" }), ["validationValue", "dirty", "appendInnerIcon"]), ...jr({ transition: { component: Cd } }) }, "VSelect"), vC = he()({ name: "VSelect", props: gC(), emits: { "update:focused": (e) => !0, "update:modelValue": (e) => !0, "update:menu": (e) => !0 }, setup(e, t) { let { slots: n } = t; const { t: r } = na(), o = ie(), i = ie(), s = ie(), a = $e(e, "menu"), l = b({ get: () => a.value, set: (M) => { var $; a.value && !M && (($ = i.value) != null && $.ΨopenChildren) || (a.value = M); } }), { items: c, transformIn: u, transformOut: d } = p0(e), m = $e(e, "modelValue", [], (M) => u(M === null ? [null] : wt(M)), (M) => { const $ = d(M); return e.multiple ? $ : $[0] ?? null; }), h = b(() => typeof e.counterValue == "function" ? e.counterValue(m.value) : typeof e.counterValue == "number" ? e.counterValue : m.value.length), g = Zd(), f = b(() => m.value.map((M) => M.value)), y = de(!1), w = b(() => l.value ? e.closeText : e.openText); let P = "", A; const O = b(() => e.hideSelected ? c.value.filter((M) => !m.value.some(($) => e.valueComparator($, M))) : c.value), L = b(() => e.hideNoData && !O.value.length || e.readonly || (g == null ? void 0 : g.isReadonly.value)), x = b(() => { var M; return { ...e.menuProps, activatorProps: { ...((M = e.menuProps) == null ? void 0 : M.activatorProps) || {}, "aria-haspopup": "listbox" // Set aria-haspopup to 'listbox' } }; }), S = ie(), { onListScroll: F, onListKeydown: K } = mC(S, o); function W(M) { e.openOnClear && (l.value = !0); } function j() { L.value || (l.value = !l.value); } function _(M) { var le, Ce; if (!M.key || e.readonly || g != null && g.isReadonly.value) return; ["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End"].includes(M.key) && M.preventDefault(), ["Enter", "ArrowDown", " "].includes(M.key) && (l.value = !0), ["Escape", "Tab"].includes(M.key) && (l.value = !1), M.key === "Home" ? (le = S.value) == null || le.focus("first") : M.key === "End" && ((Ce = S.value) == null || Ce.focus("last")); const $ = 1e3; function k(te) { const me = te.key.length === 1, Ae = !te.ctrlKey && !te.metaKey && !te.altKey; return me && Ae; } if (e.multiple || !k(M)) return; const H = performance.now(); H - A > $ && (P = ""), P += M.key.toLowerCase(), A = H; const J = c.value.find((te) => te.title.toLowerCase().startsWith(P)); if (J !== void 0) { m.value = [J]; const te = O.value.indexOf(J); ke && window.requestAnimationFrame(() => { var me; te >= 0 && ((me = s.value) == null || me.scrollToIndex(te)); }); } } function B(M) { let $ = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0; if (!M.props.disabled) if (e.multiple) { const k = m.value.findIndex((J) => e.valueComparator(J.value, M.value)), H = $ ?? !~k; if (~k) { const J = H ? [...m.value, M] : [...m.value]; J.splice(k, 1), m.value = J; } else H && (m.value = [...m.value, M]); } else { const k = $ !== !1; m.value = k ? [M] : [], Ze(() => { l.value = !1; }); } } function D(M) { var $; ($ = S.value) != null && $.$el.contains(M.relatedTarget) || (l.value = !1); } function X() { var M; y.value && ((M = o.value) == null || M.focus()); } function Q(M) { y.value = !0; } function ee(M) { if (M == null) m.value = []; else if (Mo(o.value, ":autofill") || Mo(o.value, ":-webkit-autofill")) { const $ = c.value.find((k) => k.title === M); $ && B($); } else o.value && (o.value.value = ""); } return fe(l, () => { if (!e.hideSelected && l.value && m.value.length) { const M = O.value.findIndex(($) => m.value.some((k) => e.valueComparator(k.value, $.value))); ke && window.requestAnimationFrame(() => { var $; M >= 0 && (($ = s.value) == null || $.scrollToIndex(M)); }); } }), fe(() => e.items, (M, $) => { l.value || y.value && !$.length && M.length && (l.value = !0); }), we(() => { const M = !!(e.chips || n.chip), $ = !!(!e.hideNoData || O.value.length || n["prepend-item"] || n["append-item"] || n["no-data"]), k = m.value.length > 0, H = hs.filterProps(e), J = k || !y.value && e.label && !e.persistentPlaceholder ? void 0 : e.placeholder; return v(hs, pe({ ref: o }, H, { modelValue: m.value.map((le) => le.props.value).join(", "), "onUpdate:modelValue": ee, focused: y.value, "onUpdate:focused": (le) => y.value = le, validationValue: m.externalValue, counterValue: h.value, dirty: k, class: ["v-select", { "v-select--active-menu": l.value, "v-select--chips": !!e.chips, [`v-select--${e.multiple ? "multiple" : "single"}`]: !0, "v-select--selected": m.value.length, "v-select--selection-slot": !!n.selection }, e.class], style: e.style, inputmode: "none", placeholder: J, "onClick:clear": W, "onMousedown:control": j, onBlur: D, onKeydown: _, "aria-label": r(w.value), title: r(w.value) }), { ...n, default: () => v(Se, null, [v(Z0, pe({ ref: i, modelValue: l.value, "onUpdate:modelValue": (le) => l.value = le, activator: "parent", contentClass: "v-select__content", disabled: L.value, eager: e.eager, maxHeight: 310, openOnClick: !1, closeOnContentClick: !1, transition: e.transition, onAfterLeave: X }, x.value), { default: () => [$ && v(_0, pe({ ref: S, selected: f.value, selectStrategy: e.multiple ? "independent" : "single-independent", onMousedown: (le) => le.preventDefault(), onKeydown: K, onFocusin: Q, onScrollPassive: F, tabindex: "-1", "aria-live": "polite", color: e.itemColor ?? e.color }, e.listProps), { default: () => { var le, Ce, te; return [(le = n["prepend-item"]) == null ? void 0 : le.call(n), !O.value.length && !e.hideNoData && (((Ce = n["no-data"]) == null ? void 0 : Ce.call(n)) ?? v(Br, { title: r(e.noDataText) }, null)), v(fC, { ref: s, renderless: !0, items: O.value }, { default: (me) => { var On; let { item: Ae, index: Ie, itemRef: Ue } = me; const Bt = pe(Ae.props, { ref: Ue, key: Ie, onClick: () => B(Ae, null) }); return ((On = n.item) == null ? void 0 : On.call(n, { item: Ae, index: Ie, props: Bt })) ?? v(Br, pe(Bt, { role: "option" }), { prepend: (ir) => { let { isSelected: p } = ir; return v(Se, null, [e.multiple && !e.hideSelected ? v(Nb, { key: Ae.value, modelValue: p, ripple: !1, tabindex: "-1" }, null) : void 0, Ae.props.prependAvatar && v(Mr, { image: Ae.props.prependAvatar }, null), Ae.props.prependIcon && v(Ge, { icon: Ae.props.prependIcon }, null)]); } }); } }), (te = n["append-item"]) == null ? void 0 : te.call(n)]; } })] }), m.value.map((le, Ce) => { function te(Ue) { Ue.stopPropagation(), Ue.preventDefault(), B(le, !1); } const me = { "onClick:close": te, onKeydown(Ue) { Ue.key !== "Enter" && Ue.key !== " " || (Ue.preventDefault(), Ue.stopPropagation(), te(Ue)); }, onMousedown(Ue) { Ue.preventDefault(), Ue.stopPropagation(); }, modelValue: !0, "onUpdate:modelValue": void 0 }, Ae = M ? !!n.chip : !!n.selection, Ie = Ae ? Ju(M ? n.chip({ item: le, index: Ce, props: me }) : n.selection({ item: le, index: Ce })) : void 0; if (!(Ae && !Ie)) return v("div", { key: le.value, class: "v-select__selection" }, [M ? n.chip ? v(Qe, { key: "chip-defaults", defaults: { VChip: { closable: e.closableChips, size: "small", text: le.title } } }, { default: () => [Ie] }) : v(Jb, pe({ key: "chip", closable: e.closableChips, size: "small", text: le.title, disabled: le.props.disabled }, me), null) : Ie ?? v("span", { class: "v-select__selection-text" }, [le.title, e.multiple && Ce < m.value.length - 1 && v("span", { class: "v-select__selection-comma" }, [Un(",")])])]); })]), "append-inner": function() { var me; for (var le = arguments.length, Ce = new Array(le), te = 0; te < le; te++) Ce[te] = arguments[te]; return v(Se, null, [(me = n["append-inner"]) == null ? void 0 : me.call(n, ...Ce), e.menuIcon ? v(Ge, { class: "v-select__menu-icon", icon: e.menuIcon }, null) : void 0]); } }); }), fa({ isFocused: y, menu: l, select: B }, o); } }), yC = yd({ components: { VBtn: Ib, VTextField: hs, VSelect: vC, VListItem: Br } }), pC = function() { const e = document.getElementsByTagName("script"); let t = ""; for (let n = 0; n < e.length; n++) if (e[n].src.includes("chat-widget.js")) { t = e[n].src.replace(/chat-widget\.js$/, ""); break; } return t; }, bC = function() { return new Promise((e, t) => { const n = document.createElement("script"); n.src = "https://unpkg.com/vue@3/dist/vue.global.js", n.onload = e, document.head.appendChild(n); }); }, CC = function() { return console.log("[RC] Create link tag with RC styling"), new Promise((e, t) => { const n = document.createElement("link"); n.rel = "stylesheet", n.type = "text/css", n.href = `${pC()}style.css`, n.onload = e, document.head.appendChild(n); }); }, wC = function() { const e = Qh(ey); return e.use(og()), e.use(yC), e; }, SC = function() { const e = document.createElement("div"); return document.body.appendChild(e), e; }, _C = () => { const e = SC(); wC().mount(e); }; (async function() { { const e = bC(), t = CC(); await Promise.all([e, t]), _C(); } })();