abl-ui 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/abl-ui.es.js CHANGED
@@ -3,98 +3,87 @@
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
6
- function pn(e, t) {
6
+ function kt(e, t) {
7
7
  const n = new Set(e.split(","));
8
8
  return t ? (r) => n.has(r.toLowerCase()) : (r) => n.has(r);
9
9
  }
10
- const $ = {}.NODE_ENV !== "production" ? Object.freeze({}) : {}, hn = {}.NODE_ENV !== "production" ? Object.freeze([]) : [], Z = () => {
11
- }, _n = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter
12
- (e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), v = Object.assign, gn = Object.prototype.hasOwnProperty, m = (e, t) => gn.call(e, t), h = Array.isArray, K = (e) => Ce(e) === "[object Map]", Rt = (e) => Ce(e) === "[object Set]", w = (e) => typeof e == "function", x = (e) => typeof e == "string", oe = (e) => typeof e == "symbol", b = (e) => e !== null && typeof e == "object", mn = (e) => (b(e) || w(e)) && w(e.then) && w(e.catch), xt = Object.prototype.toString, Ce = (e) => xt.call(e), Vt = (e) => Ce(e).slice(8, -1), Ct = (e) => Ce(e) === "[object Object]", qe = (e) => x(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, En = (e) => {
10
+ const D = {}.NODE_ENV !== "production" ? Object.freeze({}) : {}, en = {}.NODE_ENV !== "production" ? Object.freeze([]) : [], Y = () => {
11
+ }, tn = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter
12
+ (e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), R = Object.assign, nn = Object.prototype.hasOwnProperty, m = (e, t) => nn.call(e, t), h = Array.isArray, X = (e) => Oe(e) === "[object Map]", rn = (e) => Oe(e) === "[object Set]", w = (e) => typeof e == "function", C = (e) => typeof e == "string", Se = (e) => typeof e == "symbol", y = (e) => e !== null && typeof e == "object", on = (e) => (y(e) || w(e)) && w(e.then) && w(e.catch), sn = Object.prototype.toString, Oe = (e) => sn.call(e), Et = (e) => Oe(e).slice(8, -1), cn = (e) => Oe(e) === "[object Object]", ze = (e) => C(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, ln = (e) => {
13
13
  const t = /* @__PURE__ */ Object.create(null);
14
14
  return (n) => t[n] || (t[n] = e(n));
15
- }, wn = En((e) => e.charAt(0).toUpperCase() + e.slice(1)), G = (e, t) => !Object.is(e, t), Nn = (e, t, n) => {
15
+ }, an = ln((e) => e.charAt(0).toUpperCase() + e.slice(1)), q = (e, t) => !Object.is(e, t), un = (e, t, n) => {
16
16
  Object.defineProperty(e, t, {
17
17
  configurable: !0,
18
18
  enumerable: !1,
19
19
  value: n
20
20
  });
21
21
  };
22
- let at;
23
- const It = () => at || (at = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
24
- function Ge(e) {
22
+ let rt;
23
+ const wt = () => rt || (rt = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
24
+ function ve(e) {
25
25
  if (h(e)) {
26
26
  const t = {};
27
27
  for (let n = 0; n < e.length; n++) {
28
- const r = e[n], o = x(r) ? On(r) : Ge(r);
28
+ const r = e[n], o = C(r) ? hn(r) : ve(r);
29
29
  if (o)
30
30
  for (const s in o)
31
31
  t[s] = o[s];
32
32
  }
33
33
  return t;
34
- } else if (x(e) || b(e))
34
+ } else if (C(e) || y(e))
35
35
  return e;
36
36
  }
37
- const bn = /;(?![^(]*\))/g, yn = /:([^]+)/, Sn = /\/\*[^]*?\*\//g;
38
- function On(e) {
37
+ const fn = /;(?![^(]*\))/g, dn = /:([^]+)/, pn = /\/\*[^]*?\*\//g;
38
+ function hn(e) {
39
39
  const t = {};
40
- return e.replace(Sn, "").split(bn).forEach((n) => {
40
+ return e.replace(pn, "").split(fn).forEach((n) => {
41
41
  if (n) {
42
- const r = n.split(yn);
42
+ const r = n.split(dn);
43
43
  r.length > 1 && (t[r[0].trim()] = r[1].trim());
44
44
  }
45
45
  }), t;
46
46
  }
47
- function ee(e) {
47
+ function Re(e) {
48
48
  let t = "";
49
- if (x(e))
49
+ if (C(e))
50
50
  t = e;
51
51
  else if (h(e))
52
52
  for (let n = 0; n < e.length; n++) {
53
- const r = ee(e[n]);
53
+ const r = Re(e[n]);
54
54
  r && (t += r + " ");
55
55
  }
56
- else if (b(e))
56
+ else if (y(e))
57
57
  for (const n in e)
58
58
  e[n] && (t += n + " ");
59
59
  return t.trim();
60
60
  }
61
- const Rn = (e) => x(e) ? e : e == null ? "" : h(e) || b(e) && (e.toString === xt || !w(e.toString)) ? JSON.stringify(e, vt, 2) : String(e), vt = (e, t) => t && t.__v_isRef ? vt(e, t.value) : K(t) ? {
62
- [`Map(${t.size})`]: [...t.entries()].reduce(
63
- (n, [r, o], s) => (n[Te(r, s) + " =>"] = o, n),
64
- {}
65
- )
66
- } : Rt(t) ? {
67
- [`Set(${t.size})`]: [...t.values()].map((n) => Te(n))
68
- } : oe(t) ? Te(t) : b(t) && !h(t) && !Ct(t) ? String(t) : t, Te = (e, t = "") => {
69
- var n;
70
- return oe(e) ? `Symbol(${(n = e.description) != null ? n : t})` : e;
71
- };
72
61
  /**
73
62
  * @vue/reactivity v3.4.21
74
63
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
75
64
  * @license MIT
76
65
  **/
77
- function Y(e, ...t) {
66
+ function L(e, ...t) {
78
67
  console.warn(`[Vue warn] ${e}`, ...t);
79
68
  }
80
- let xn;
81
- function Vn(e, t = xn) {
69
+ let _n;
70
+ function gn(e, t = _n) {
82
71
  t && t.active && t.effects.push(e);
83
72
  }
84
- let W;
85
- class Dt {
73
+ let K;
74
+ class bt {
86
75
  constructor(t, n, r, o) {
87
- 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, Vn(this, o);
76
+ 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, gn(this, o);
88
77
  }
89
78
  get dirty() {
90
79
  if (this._dirtyLevel === 2 || this._dirtyLevel === 3) {
91
- this._dirtyLevel = 1, Ye();
80
+ this._dirtyLevel = 1, He();
92
81
  for (let t = 0; t < this._depsLength; t++) {
93
82
  const n = this.deps[t];
94
- if (n.computed && (Cn(n.computed), this._dirtyLevel >= 4))
83
+ if (n.computed && (mn(n.computed), this._dirtyLevel >= 4))
95
84
  break;
96
85
  }
97
- this._dirtyLevel === 1 && (this._dirtyLevel = 0), Qe();
86
+ this._dirtyLevel === 1 && (this._dirtyLevel = 0), Ke();
98
87
  }
99
88
  return this._dirtyLevel >= 4;
100
89
  }
@@ -104,80 +93,80 @@ class Dt {
104
93
  run() {
105
94
  if (this._dirtyLevel = 0, !this.active)
106
95
  return this.fn();
107
- let t = j, n = W;
96
+ let t = A, n = K;
108
97
  try {
109
- return j = !0, W = this, this._runnings++, ft(this), this.fn();
98
+ return A = !0, K = this, this._runnings++, ot(this), this.fn();
110
99
  } finally {
111
- dt(this), this._runnings--, W = n, j = t;
100
+ st(this), this._runnings--, K = n, A = t;
112
101
  }
113
102
  }
114
103
  stop() {
115
104
  var t;
116
- this.active && (ft(this), dt(this), (t = this.onStop) == null || t.call(this), this.active = !1);
105
+ this.active && (ot(this), st(this), (t = this.onStop) == null || t.call(this), this.active = !1);
117
106
  }
118
107
  }
119
- function Cn(e) {
108
+ function mn(e) {
120
109
  return e.value;
121
110
  }
122
- function ft(e) {
111
+ function ot(e) {
123
112
  e._trackId++, e._depsLength = 0;
124
113
  }
125
- function dt(e) {
114
+ function st(e) {
126
115
  if (e.deps.length > e._depsLength) {
127
116
  for (let t = e._depsLength; t < e.deps.length; t++)
128
- $t(e.deps[t], e);
117
+ Nt(e.deps[t], e);
129
118
  e.deps.length = e._depsLength;
130
119
  }
131
120
  }
132
- function $t(e, t) {
121
+ function Nt(e, t) {
133
122
  const n = e.get(t);
134
123
  n !== void 0 && t._trackId !== n && (e.delete(t), e.size === 0 && e.cleanup());
135
124
  }
136
- let j = !0, Le = 0;
137
- const Pt = [];
138
- function Ye() {
139
- Pt.push(j), j = !1;
125
+ let A = !0, $e = 0;
126
+ const yt = [];
127
+ function He() {
128
+ yt.push(A), A = !1;
140
129
  }
141
- function Qe() {
142
- const e = Pt.pop();
143
- j = e === void 0 ? !0 : e;
130
+ function Ke() {
131
+ const e = yt.pop();
132
+ A = e === void 0 ? !0 : e;
144
133
  }
145
- function Xe() {
146
- Le++;
134
+ function We() {
135
+ $e++;
147
136
  }
148
- function Ze() {
149
- for (Le--; !Le && ze.length; )
150
- ze.shift()();
137
+ function Ue() {
138
+ for ($e--; !$e && Me.length; )
139
+ Me.shift()();
151
140
  }
152
- function Tt(e, t, n) {
141
+ function St(e, t, n) {
153
142
  var r;
154
143
  if (t.get(e) !== e._trackId) {
155
144
  t.set(e, e._trackId);
156
145
  const o = e.deps[e._depsLength];
157
- o !== t ? (o && $t(o, e), e.deps[e._depsLength++] = t) : e._depsLength++, {}.NODE_ENV !== "production" && ((r = e.onTrack) == null || r.call(e, v({ effect: e }, n)));
146
+ o !== t ? (o && Nt(o, e), e.deps[e._depsLength++] = t) : e._depsLength++, {}.NODE_ENV !== "production" && ((r = e.onTrack) == null || r.call(e, R({ effect: e }, n)));
158
147
  }
159
148
  }
160
- const ze = [];
161
- function Mt(e, t, n) {
149
+ const Me = [];
150
+ function Ot(e, t, n) {
162
151
  var r;
163
- Xe();
152
+ We();
164
153
  for (const o of e.keys()) {
165
154
  let s;
166
- o._dirtyLevel < t && (s ?? (s = e.get(o) === o._trackId)) && (o._shouldSchedule || (o._shouldSchedule = o._dirtyLevel === 0), o._dirtyLevel = t), o._shouldSchedule && (s ?? (s = e.get(o) === o._trackId)) && ({}.NODE_ENV !== "production" && ((r = o.onTrigger) == null || r.call(o, v({ effect: o }, n))), o.trigger(), (!o._runnings || o.allowRecurse) && o._dirtyLevel !== 2 && (o._shouldSchedule = !1, o.scheduler && ze.push(o.scheduler)));
155
+ o._dirtyLevel < t && (s ?? (s = e.get(o) === o._trackId)) && (o._shouldSchedule || (o._shouldSchedule = o._dirtyLevel === 0), o._dirtyLevel = t), o._shouldSchedule && (s ?? (s = e.get(o) === o._trackId)) && ({}.NODE_ENV !== "production" && ((r = o.onTrigger) == null || r.call(o, R({ effect: o }, n))), o.trigger(), (!o._runnings || o.allowRecurse) && o._dirtyLevel !== 2 && (o._shouldSchedule = !1, o.scheduler && Me.push(o.scheduler)));
167
156
  }
168
- Ze();
157
+ Ue();
169
158
  }
170
- const Ft = (e, t) => {
159
+ const vt = (e, t) => {
171
160
  const n = /* @__PURE__ */ new Map();
172
161
  return n.cleanup = e, n.computed = t, n;
173
- }, He = /* @__PURE__ */ new WeakMap(), B = Symbol({}.NODE_ENV !== "production" ? "iterate" : ""), Ke = Symbol({}.NODE_ENV !== "production" ? "Map key iterate" : "");
174
- function O(e, t, n) {
175
- if (j && W) {
176
- let r = He.get(e);
177
- r || He.set(e, r = /* @__PURE__ */ new Map());
162
+ }, me = /* @__PURE__ */ new WeakMap(), W = Symbol({}.NODE_ENV !== "production" ? "iterate" : ""), Fe = Symbol({}.NODE_ENV !== "production" ? "Map key iterate" : "");
163
+ function S(e, t, n) {
164
+ if (A && K) {
165
+ let r = me.get(e);
166
+ r || me.set(e, r = /* @__PURE__ */ new Map());
178
167
  let o = r.get(n);
179
- o || r.set(n, o = Ft(() => r.delete(n))), Tt(
180
- W,
168
+ o || r.set(n, o = vt(() => r.delete(n))), St(
169
+ K,
181
170
  o,
182
171
  {}.NODE_ENV !== "production" ? {
183
172
  target: e,
@@ -187,34 +176,34 @@ function O(e, t, n) {
187
176
  );
188
177
  }
189
178
  }
190
- function L(e, t, n, r, o, s) {
191
- const i = He.get(e);
179
+ function j(e, t, n, r, o, s) {
180
+ const i = me.get(e);
192
181
  if (!i)
193
182
  return;
194
183
  let c = [];
195
184
  if (t === "clear")
196
185
  c = [...i.values()];
197
186
  else if (n === "length" && h(e)) {
198
- const u = Number(r);
187
+ const a = Number(r);
199
188
  i.forEach((d, _) => {
200
- (_ === "length" || !oe(_) && _ >= u) && c.push(d);
189
+ (_ === "length" || !Se(_) && _ >= a) && c.push(d);
201
190
  });
202
191
  } else
203
192
  switch (n !== void 0 && c.push(i.get(n)), t) {
204
193
  case "add":
205
- h(e) ? qe(n) && c.push(i.get("length")) : (c.push(i.get(B)), K(e) && c.push(i.get(Ke)));
194
+ h(e) ? ze(n) && c.push(i.get("length")) : (c.push(i.get(W)), X(e) && c.push(i.get(Fe)));
206
195
  break;
207
196
  case "delete":
208
- h(e) || (c.push(i.get(B)), K(e) && c.push(i.get(Ke)));
197
+ h(e) || (c.push(i.get(W)), X(e) && c.push(i.get(Fe)));
209
198
  break;
210
199
  case "set":
211
- K(e) && c.push(i.get(B));
200
+ X(e) && c.push(i.get(W));
212
201
  break;
213
202
  }
214
- Xe();
215
- for (const u of c)
216
- u && Mt(
217
- u,
203
+ We();
204
+ for (const a of c)
205
+ a && Ot(
206
+ a,
218
207
  4,
219
208
  {}.NODE_ENV !== "production" ? {
220
209
  target: e,
@@ -225,34 +214,38 @@ function L(e, t, n, r, o, s) {
225
214
  oldTarget: s
226
215
  } : void 0
227
216
  );
228
- Ze();
217
+ Ue();
229
218
  }
230
- const In = /* @__PURE__ */ pn("__proto__,__v_isRef,__isVue"), At = new Set(
231
- /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(oe)
232
- ), pt = /* @__PURE__ */ vn();
233
- function vn() {
219
+ function En(e, t) {
220
+ var n;
221
+ return (n = me.get(e)) == null ? void 0 : n.get(t);
222
+ }
223
+ const wn = /* @__PURE__ */ kt("__proto__,__v_isRef,__isVue"), Rt = new Set(
224
+ /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(Se)
225
+ ), it = /* @__PURE__ */ bn();
226
+ function bn() {
234
227
  const e = {};
235
228
  return ["includes", "indexOf", "lastIndexOf"].forEach((t) => {
236
229
  e[t] = function(...n) {
237
230
  const r = f(this);
238
231
  for (let s = 0, i = this.length; s < i; s++)
239
- O(r, "get", s + "");
232
+ S(r, "get", s + "");
240
233
  const o = r[t](...n);
241
234
  return o === -1 || o === !1 ? r[t](...n.map(f)) : o;
242
235
  };
243
236
  }), ["push", "pop", "shift", "unshift", "splice"].forEach((t) => {
244
237
  e[t] = function(...n) {
245
- Ye(), Xe();
238
+ He(), We();
246
239
  const r = f(this)[t].apply(this, n);
247
- return Ze(), Qe(), r;
240
+ return Ue(), Ke(), r;
248
241
  };
249
242
  }), e;
250
243
  }
251
- function Dn(e) {
244
+ function Nn(e) {
252
245
  const t = f(this);
253
- return O(t, "has", e), t.hasOwnProperty(e);
246
+ return S(t, "has", e), t.hasOwnProperty(e);
254
247
  }
255
- class jt {
248
+ class xt {
256
249
  constructor(t = !1, n = !1) {
257
250
  this._isReadonly = t, this._isShallow = n;
258
251
  }
@@ -265,130 +258,130 @@ class jt {
265
258
  if (n === "__v_isShallow")
266
259
  return s;
267
260
  if (n === "__v_raw")
268
- return r === (o ? s ? Wt : Kt : s ? Bn : Ht).get(t) || // receiver is not the reactive proxy, but has the same prototype
261
+ return r === (o ? s ? Tt : Dt : s ? $n : It).get(t) || // receiver is not the reactive proxy, but has the same prototype
269
262
  // this means the reciever is a user proxy of the reactive proxy
270
263
  Object.getPrototypeOf(t) === Object.getPrototypeOf(r) ? t : void 0;
271
264
  const i = h(t);
272
265
  if (!o) {
273
- if (i && m(pt, n))
274
- return Reflect.get(pt, n, r);
266
+ if (i && m(it, n))
267
+ return Reflect.get(it, n, r);
275
268
  if (n === "hasOwnProperty")
276
- return Dn;
269
+ return Nn;
277
270
  }
278
271
  const c = Reflect.get(t, n, r);
279
- return (oe(n) ? At.has(n) : In(n)) || (o || O(t, "get", n), s) ? c : V(c) ? i && qe(n) ? c : c.value : b(c) ? o ? Ut(c) : Bt(c) : c;
272
+ return (Se(n) ? Rt.has(n) : wn(n)) || (o || S(t, "get", n), s) ? c : v(c) ? i && ze(n) ? c : c.value : y(c) ? o ? $t(c) : Pt(c) : c;
280
273
  }
281
274
  }
282
- class $n extends jt {
275
+ class yn extends xt {
283
276
  constructor(t = !1) {
284
277
  super(!1, t);
285
278
  }
286
279
  set(t, n, r, o) {
287
280
  let s = t[n];
288
281
  if (!this._isShallow) {
289
- const u = Q(s);
290
- if (!te(r) && !Q(r) && (s = f(s), r = f(r)), !h(t) && V(s) && !V(r))
291
- return u ? !1 : (s.value = r, !0);
282
+ const a = G(s);
283
+ if (!Z(r) && !G(r) && (s = f(s), r = f(r)), !h(t) && v(s) && !v(r))
284
+ return a ? !1 : (s.value = r, !0);
292
285
  }
293
- const i = h(t) && qe(n) ? Number(n) < t.length : m(t, n), c = Reflect.set(t, n, r, o);
294
- return t === f(o) && (i ? G(r, s) && L(t, "set", n, r, s) : L(t, "add", n, r)), c;
286
+ const i = h(t) && ze(n) ? Number(n) < t.length : m(t, n), c = Reflect.set(t, n, r, o);
287
+ return t === f(o) && (i ? q(r, s) && j(t, "set", n, r, s) : j(t, "add", n, r)), c;
295
288
  }
296
289
  deleteProperty(t, n) {
297
290
  const r = m(t, n), o = t[n], s = Reflect.deleteProperty(t, n);
298
- return s && r && L(t, "delete", n, void 0, o), s;
291
+ return s && r && j(t, "delete", n, void 0, o), s;
299
292
  }
300
293
  has(t, n) {
301
294
  const r = Reflect.has(t, n);
302
- return (!oe(n) || !At.has(n)) && O(t, "has", n), r;
295
+ return (!Se(n) || !Rt.has(n)) && S(t, "has", n), r;
303
296
  }
304
297
  ownKeys(t) {
305
- return O(
298
+ return S(
306
299
  t,
307
300
  "iterate",
308
- h(t) ? "length" : B
301
+ h(t) ? "length" : W
309
302
  ), Reflect.ownKeys(t);
310
303
  }
311
304
  }
312
- class Lt extends jt {
305
+ class Vt extends xt {
313
306
  constructor(t = !1) {
314
307
  super(!0, t);
315
308
  }
316
309
  set(t, n) {
317
- return {}.NODE_ENV !== "production" && Y(
310
+ return {}.NODE_ENV !== "production" && L(
318
311
  `Set operation on key "${String(n)}" failed: target is readonly.`,
319
312
  t
320
313
  ), !0;
321
314
  }
322
315
  deleteProperty(t, n) {
323
- return {}.NODE_ENV !== "production" && Y(
316
+ return {}.NODE_ENV !== "production" && L(
324
317
  `Delete operation on key "${String(n)}" failed: target is readonly.`,
325
318
  t
326
319
  ), !0;
327
320
  }
328
321
  }
329
- const Pn = /* @__PURE__ */ new $n(), Tn = /* @__PURE__ */ new Lt(), Mn = /* @__PURE__ */ new Lt(!0), ke = (e) => e, Ie = (e) => Reflect.getPrototypeOf(e);
330
- function pe(e, t, n = !1, r = !1) {
322
+ const Sn = /* @__PURE__ */ new yn(), On = /* @__PURE__ */ new Vt(), vn = /* @__PURE__ */ new Vt(!0), Be = (e) => e, xe = (e) => Reflect.getPrototypeOf(e);
323
+ function ce(e, t, n = !1, r = !1) {
331
324
  e = e.__v_raw;
332
325
  const o = f(e), s = f(t);
333
- n || (G(t, s) && O(o, "get", t), O(o, "get", s));
334
- const { has: i } = Ie(o), c = r ? ke : n ? rt : nt;
326
+ n || (q(t, s) && S(o, "get", t), S(o, "get", s));
327
+ const { has: i } = xe(o), c = r ? Be : n ? Ye : Ge;
335
328
  if (i.call(o, t))
336
329
  return c(e.get(t));
337
330
  if (i.call(o, s))
338
331
  return c(e.get(s));
339
332
  e !== o && e.get(t);
340
333
  }
341
- function he(e, t = !1) {
334
+ function le(e, t = !1) {
342
335
  const n = this.__v_raw, r = f(n), o = f(e);
343
- return t || (G(e, o) && O(r, "has", e), O(r, "has", o)), e === o ? n.has(e) : n.has(e) || n.has(o);
336
+ return t || (q(e, o) && S(r, "has", e), S(r, "has", o)), e === o ? n.has(e) : n.has(e) || n.has(o);
344
337
  }
345
- function _e(e, t = !1) {
346
- return e = e.__v_raw, !t && O(f(e), "iterate", B), Reflect.get(e, "size", e);
338
+ function ae(e, t = !1) {
339
+ return e = e.__v_raw, !t && S(f(e), "iterate", W), Reflect.get(e, "size", e);
347
340
  }
348
- function ht(e) {
341
+ function ct(e) {
349
342
  e = f(e);
350
343
  const t = f(this);
351
- return Ie(t).has.call(t, e) || (t.add(e), L(t, "add", e, e)), this;
344
+ return xe(t).has.call(t, e) || (t.add(e), j(t, "add", e, e)), this;
352
345
  }
353
- function _t(e, t) {
346
+ function lt(e, t) {
354
347
  t = f(t);
355
- const n = f(this), { has: r, get: o } = Ie(n);
348
+ const n = f(this), { has: r, get: o } = xe(n);
356
349
  let s = r.call(n, e);
357
- s ? {}.NODE_ENV !== "production" && zt(n, r, e) : (e = f(e), s = r.call(n, e));
350
+ s ? {}.NODE_ENV !== "production" && Ct(n, r, e) : (e = f(e), s = r.call(n, e));
358
351
  const i = o.call(n, e);
359
- return n.set(e, t), s ? G(t, i) && L(n, "set", e, t, i) : L(n, "add", e, t), this;
352
+ return n.set(e, t), s ? q(t, i) && j(n, "set", e, t, i) : j(n, "add", e, t), this;
360
353
  }
361
- function gt(e) {
362
- const t = f(this), { has: n, get: r } = Ie(t);
354
+ function at(e) {
355
+ const t = f(this), { has: n, get: r } = xe(t);
363
356
  let o = n.call(t, e);
364
- o ? {}.NODE_ENV !== "production" && zt(t, n, e) : (e = f(e), o = n.call(t, e));
357
+ o ? {}.NODE_ENV !== "production" && Ct(t, n, e) : (e = f(e), o = n.call(t, e));
365
358
  const s = r ? r.call(t, e) : void 0, i = t.delete(e);
366
- return o && L(t, "delete", e, void 0, s), i;
359
+ return o && j(t, "delete", e, void 0, s), i;
367
360
  }
368
- function mt() {
369
- const e = f(this), t = e.size !== 0, n = {}.NODE_ENV !== "production" ? K(e) ? new Map(e) : new Set(e) : void 0, r = e.clear();
370
- return t && L(e, "clear", void 0, void 0, n), r;
361
+ function ut() {
362
+ const e = f(this), t = e.size !== 0, n = {}.NODE_ENV !== "production" ? X(e) ? new Map(e) : new Set(e) : void 0, r = e.clear();
363
+ return t && j(e, "clear", void 0, void 0, n), r;
371
364
  }
372
- function ge(e, t) {
365
+ function ue(e, t) {
373
366
  return function(r, o) {
374
- const s = this, i = s.__v_raw, c = f(i), u = t ? ke : e ? rt : nt;
375
- return !e && O(c, "iterate", B), i.forEach((d, _) => r.call(o, u(d), u(_), s));
367
+ const s = this, i = s.__v_raw, c = f(i), a = t ? Be : e ? Ye : Ge;
368
+ return !e && S(c, "iterate", W), i.forEach((d, _) => r.call(o, a(d), a(_), s));
376
369
  };
377
370
  }
378
- function me(e, t, n) {
371
+ function fe(e, t, n) {
379
372
  return function(...r) {
380
- const o = this.__v_raw, s = f(o), i = K(s), c = e === "entries" || e === Symbol.iterator && i, u = e === "keys" && i, d = o[e](...r), _ = n ? ke : t ? rt : nt;
381
- return !t && O(
373
+ const o = this.__v_raw, s = f(o), i = X(s), c = e === "entries" || e === Symbol.iterator && i, a = e === "keys" && i, d = o[e](...r), _ = n ? Be : t ? Ye : Ge;
374
+ return !t && S(
382
375
  s,
383
376
  "iterate",
384
- u ? Ke : B
377
+ a ? Fe : W
385
378
  ), {
386
379
  // iterator protocol
387
380
  next() {
388
- const { value: l, done: a } = d.next();
389
- return a ? { value: l, done: a } : {
381
+ const { value: l, done: u } = d.next();
382
+ return u ? { value: l, done: u } : {
390
383
  value: c ? [_(l[0]), _(l[1])] : _(l),
391
- done: a
384
+ done: u
392
385
  };
393
386
  },
394
387
  // iterable protocol
@@ -398,90 +391,90 @@ function me(e, t, n) {
398
391
  };
399
392
  };
400
393
  }
401
- function T(e) {
394
+ function $(e) {
402
395
  return function(...t) {
403
396
  if ({}.NODE_ENV !== "production") {
404
397
  const n = t[0] ? `on key "${t[0]}" ` : "";
405
- Y(
406
- `${wn(e)} operation ${n}failed: target is readonly.`,
398
+ L(
399
+ `${an(e)} operation ${n}failed: target is readonly.`,
407
400
  f(this)
408
401
  );
409
402
  }
410
403
  return e === "delete" ? !1 : e === "clear" ? void 0 : this;
411
404
  };
412
405
  }
413
- function Fn() {
406
+ function Rn() {
414
407
  const e = {
415
408
  get(s) {
416
- return pe(this, s);
409
+ return ce(this, s);
417
410
  },
418
411
  get size() {
419
- return _e(this);
412
+ return ae(this);
420
413
  },
421
- has: he,
422
- add: ht,
423
- set: _t,
424
- delete: gt,
425
- clear: mt,
426
- forEach: ge(!1, !1)
414
+ has: le,
415
+ add: ct,
416
+ set: lt,
417
+ delete: at,
418
+ clear: ut,
419
+ forEach: ue(!1, !1)
427
420
  }, t = {
428
421
  get(s) {
429
- return pe(this, s, !1, !0);
422
+ return ce(this, s, !1, !0);
430
423
  },
431
424
  get size() {
432
- return _e(this);
425
+ return ae(this);
433
426
  },
434
- has: he,
435
- add: ht,
436
- set: _t,
437
- delete: gt,
438
- clear: mt,
439
- forEach: ge(!1, !0)
427
+ has: le,
428
+ add: ct,
429
+ set: lt,
430
+ delete: at,
431
+ clear: ut,
432
+ forEach: ue(!1, !0)
440
433
  }, n = {
441
434
  get(s) {
442
- return pe(this, s, !0);
435
+ return ce(this, s, !0);
443
436
  },
444
437
  get size() {
445
- return _e(this, !0);
438
+ return ae(this, !0);
446
439
  },
447
440
  has(s) {
448
- return he.call(this, s, !0);
441
+ return le.call(this, s, !0);
449
442
  },
450
- add: T("add"),
451
- set: T("set"),
452
- delete: T("delete"),
453
- clear: T("clear"),
454
- forEach: ge(!0, !1)
443
+ add: $("add"),
444
+ set: $("set"),
445
+ delete: $("delete"),
446
+ clear: $("clear"),
447
+ forEach: ue(!0, !1)
455
448
  }, r = {
456
449
  get(s) {
457
- return pe(this, s, !0, !0);
450
+ return ce(this, s, !0, !0);
458
451
  },
459
452
  get size() {
460
- return _e(this, !0);
453
+ return ae(this, !0);
461
454
  },
462
455
  has(s) {
463
- return he.call(this, s, !0);
456
+ return le.call(this, s, !0);
464
457
  },
465
- add: T("add"),
466
- set: T("set"),
467
- delete: T("delete"),
468
- clear: T("clear"),
469
- forEach: ge(!0, !0)
458
+ add: $("add"),
459
+ set: $("set"),
460
+ delete: $("delete"),
461
+ clear: $("clear"),
462
+ forEach: ue(!0, !0)
470
463
  };
471
464
  return ["keys", "values", "entries", Symbol.iterator].forEach((s) => {
472
- e[s] = me(
465
+ e[s] = fe(
473
466
  s,
474
467
  !1,
475
468
  !1
476
- ), n[s] = me(
469
+ ), n[s] = fe(
477
470
  s,
478
471
  !0,
479
472
  !1
480
- ), t[s] = me(
473
+ ), t[s] = fe(
481
474
  s,
482
475
  !1,
483
476
  !0
484
- ), r[s] = me(
477
+ ), r[s] = fe(
485
478
  s,
486
479
  !0,
487
480
  !0
@@ -494,37 +487,37 @@ function Fn() {
494
487
  ];
495
488
  }
496
489
  const [
497
- An,
498
- jn,
499
- Ln,
500
- zn
501
- ] = /* @__PURE__ */ Fn();
502
- function et(e, t) {
503
- const n = t ? e ? zn : Ln : e ? jn : An;
490
+ xn,
491
+ Vn,
492
+ Cn,
493
+ In
494
+ ] = /* @__PURE__ */ Rn();
495
+ function Je(e, t) {
496
+ const n = t ? e ? In : Cn : e ? Vn : xn;
504
497
  return (r, o, s) => o === "__v_isReactive" ? !e : o === "__v_isReadonly" ? e : o === "__v_raw" ? r : Reflect.get(
505
498
  m(n, o) && o in r ? n : r,
506
499
  o,
507
500
  s
508
501
  );
509
502
  }
510
- const Hn = {
511
- get: /* @__PURE__ */ et(!1, !1)
512
- }, Kn = {
513
- get: /* @__PURE__ */ et(!0, !1)
514
- }, Wn = {
515
- get: /* @__PURE__ */ et(!0, !0)
503
+ const Dn = {
504
+ get: /* @__PURE__ */ Je(!1, !1)
505
+ }, Tn = {
506
+ get: /* @__PURE__ */ Je(!0, !1)
507
+ }, Pn = {
508
+ get: /* @__PURE__ */ Je(!0, !0)
516
509
  };
517
- function zt(e, t, n) {
510
+ function Ct(e, t, n) {
518
511
  const r = f(n);
519
512
  if (r !== n && t.call(e, r)) {
520
- const o = Vt(e);
521
- Y(
513
+ const o = Et(e);
514
+ L(
522
515
  `Reactive ${o} contains both the raw and reactive versions of the same object${o === "Map" ? " as keys" : ""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`
523
516
  );
524
517
  }
525
518
  }
526
- const Ht = /* @__PURE__ */ new WeakMap(), Bn = /* @__PURE__ */ new WeakMap(), Kt = /* @__PURE__ */ new WeakMap(), Wt = /* @__PURE__ */ new WeakMap();
527
- function Un(e) {
519
+ const It = /* @__PURE__ */ new WeakMap(), $n = /* @__PURE__ */ new WeakMap(), Dt = /* @__PURE__ */ new WeakMap(), Tt = /* @__PURE__ */ new WeakMap();
520
+ function Mn(e) {
528
521
  switch (e) {
529
522
  case "Object":
530
523
  case "Array":
@@ -538,45 +531,45 @@ function Un(e) {
538
531
  return 0;
539
532
  }
540
533
  }
541
- function Jn(e) {
542
- return e.__v_skip || !Object.isExtensible(e) ? 0 : Un(Vt(e));
534
+ function Fn(e) {
535
+ return e.__v_skip || !Object.isExtensible(e) ? 0 : Mn(Et(e));
543
536
  }
544
- function Bt(e) {
545
- return Q(e) ? e : tt(
537
+ function Pt(e) {
538
+ return G(e) ? e : qe(
546
539
  e,
547
540
  !1,
548
- Pn,
549
- Hn,
550
- Ht
541
+ Sn,
542
+ Dn,
543
+ It
551
544
  );
552
545
  }
553
- function Ut(e) {
554
- return tt(
546
+ function $t(e) {
547
+ return qe(
555
548
  e,
556
549
  !0,
550
+ On,
557
551
  Tn,
558
- Kn,
559
- Kt
552
+ Dt
560
553
  );
561
554
  }
562
- function Ee(e) {
563
- return tt(
555
+ function de(e) {
556
+ return qe(
564
557
  e,
565
558
  !0,
566
- Mn,
567
- Wn,
568
- Wt
559
+ vn,
560
+ Pn,
561
+ Tt
569
562
  );
570
563
  }
571
- function tt(e, t, n, r, o) {
572
- if (!b(e))
573
- return {}.NODE_ENV !== "production" && Y(`value cannot be made reactive: ${String(e)}`), e;
564
+ function qe(e, t, n, r, o) {
565
+ if (!y(e))
566
+ return {}.NODE_ENV !== "production" && L(`value cannot be made reactive: ${String(e)}`), e;
574
567
  if (e.__v_raw && !(t && e.__v_isReactive))
575
568
  return e;
576
569
  const s = o.get(e);
577
570
  if (s)
578
571
  return s;
579
- const i = Jn(e);
572
+ const i = Fn(e);
580
573
  if (i === 0)
581
574
  return e;
582
575
  const c = new Proxy(
@@ -586,30 +579,30 @@ function tt(e, t, n, r, o) {
586
579
  return o.set(e, c), c;
587
580
  }
588
581
  function U(e) {
589
- return Q(e) ? U(e.__v_raw) : !!(e && e.__v_isReactive);
582
+ return G(e) ? U(e.__v_raw) : !!(e && e.__v_isReactive);
590
583
  }
591
- function Q(e) {
584
+ function G(e) {
592
585
  return !!(e && e.__v_isReadonly);
593
586
  }
594
- function te(e) {
587
+ function Z(e) {
595
588
  return !!(e && e.__v_isShallow);
596
589
  }
597
- function We(e) {
598
- return U(e) || Q(e);
590
+ function Ee(e) {
591
+ return U(e) || G(e);
599
592
  }
600
593
  function f(e) {
601
594
  const t = e && e.__v_raw;
602
595
  return t ? f(t) : e;
603
596
  }
604
- function qn(e) {
605
- return Object.isExtensible(e) && Nn(e, "__v_skip", !0), e;
597
+ function An(e) {
598
+ return Object.isExtensible(e) && un(e, "__v_skip", !0), e;
606
599
  }
607
- const nt = (e) => b(e) ? Bt(e) : e, rt = (e) => b(e) ? Ut(e) : e, Gn = "Computed is still dirty after getter evaluation, likely because a computed is mutating its own dependency in its getter. State mutations in computed getters should be avoided. Check the docs for more details: https://vuejs.org/guide/essentials/computed.html#getters-should-be-side-effect-free";
608
- class Jt {
600
+ const Ge = (e) => y(e) ? Pt(e) : e, Ye = (e) => y(e) ? $t(e) : e, jn = "Computed is still dirty after getter evaluation, likely because a computed is mutating its own dependency in its getter. State mutations in computed getters should be avoided. Check the docs for more details: https://vuejs.org/guide/essentials/computed.html#getters-should-be-side-effect-free";
601
+ class Mt {
609
602
  constructor(t, n, r, o) {
610
- this.getter = t, this._setter = n, this.dep = void 0, this.__v_isRef = !0, this.__v_isReadonly = !1, this.effect = new Dt(
603
+ this.getter = t, this._setter = n, this.dep = void 0, this.__v_isRef = !0, this.__v_isReadonly = !1, this.effect = new bt(
611
604
  () => t(this._value),
612
- () => Me(
605
+ () => De(
613
606
  this,
614
607
  this.effect._dirtyLevel === 2 ? 2 : 3
615
608
  )
@@ -617,9 +610,9 @@ class Jt {
617
610
  }
618
611
  get value() {
619
612
  const t = f(this);
620
- return (!t._cacheable || t.effect.dirty) && G(t._value, t._value = t.effect.run()) && Me(t, 4), Qn(t), t.effect._dirtyLevel >= 2 && ({}.NODE_ENV !== "production" && this._warnRecursive && Y(Gn, `
613
+ return (!t._cacheable || t.effect.dirty) && q(t._value, t._value = t.effect.run()) && De(t, 4), zn(t), t.effect._dirtyLevel >= 2 && ({}.NODE_ENV !== "production" && this._warnRecursive && L(jn, `
621
614
 
622
- getter: `, this.getter), Me(t, 2)), t._value;
615
+ getter: `, this.getter), De(t, 2)), t._value;
623
616
  }
624
617
  set value(t) {
625
618
  this._setter(t);
@@ -633,22 +626,22 @@ getter: `, this.getter), Me(t, 2)), t._value;
633
626
  }
634
627
  // #endregion
635
628
  }
636
- function Yn(e, t, n = !1) {
629
+ function Ln(e, t, n = !1) {
637
630
  let r, o;
638
631
  const s = w(e);
639
632
  s ? (r = e, o = {}.NODE_ENV !== "production" ? () => {
640
- Y("Write operation failed: computed value is readonly");
641
- } : Z) : (r = e.get, o = e.set);
642
- const i = new Jt(r, o, s || !o, n);
633
+ L("Write operation failed: computed value is readonly");
634
+ } : Y) : (r = e.get, o = e.set);
635
+ const i = new Mt(r, o, s || !o, n);
643
636
  return {}.NODE_ENV !== "production" && t && !n && (i.effect.onTrack = t.onTrack, i.effect.onTrigger = t.onTrigger), i;
644
637
  }
645
- function Qn(e) {
638
+ function zn(e) {
646
639
  var t;
647
- j && W && (e = f(e), Tt(
648
- W,
649
- (t = e.dep) != null ? t : e.dep = Ft(
640
+ A && K && (e = f(e), St(
641
+ K,
642
+ (t = e.dep) != null ? t : e.dep = vt(
650
643
  () => e.dep = void 0,
651
- e instanceof Jt ? e : void 0
644
+ e instanceof Mt ? e : void 0
652
645
  ),
653
646
  {}.NODE_ENV !== "production" ? {
654
647
  target: e,
@@ -657,10 +650,10 @@ function Qn(e) {
657
650
  } : void 0
658
651
  ));
659
652
  }
660
- function Me(e, t = 4, n) {
653
+ function De(e, t = 4, n) {
661
654
  e = f(e);
662
655
  const r = e.dep;
663
- r && Mt(
656
+ r && Ot(
664
657
  r,
665
658
  t,
666
659
  {}.NODE_ENV !== "production" ? {
@@ -671,39 +664,65 @@ function Me(e, t = 4, n) {
671
664
  } : void 0
672
665
  );
673
666
  }
674
- function V(e) {
667
+ function v(e) {
675
668
  return !!(e && e.__v_isRef === !0);
676
669
  }
677
- function Xn(e) {
678
- return V(e) ? e.value : e;
670
+ function Ft(e) {
671
+ return v(e) ? e.value : e;
679
672
  }
680
- const Zn = {
681
- get: (e, t, n) => Xn(Reflect.get(e, t, n)),
673
+ const Hn = {
674
+ get: (e, t, n) => Ft(Reflect.get(e, t, n)),
682
675
  set: (e, t, n, r) => {
683
676
  const o = e[t];
684
- return V(o) && !V(n) ? (o.value = n, !0) : Reflect.set(e, t, n, r);
677
+ return v(o) && !v(n) ? (o.value = n, !0) : Reflect.set(e, t, n, r);
685
678
  }
686
679
  };
687
- function kn(e) {
688
- return U(e) ? e : new Proxy(e, Zn);
680
+ function Kn(e) {
681
+ return U(e) ? e : new Proxy(e, Hn);
682
+ }
683
+ function Wn(e) {
684
+ ({}).NODE_ENV !== "production" && !Ee(e) && L("toRefs() expects a reactive object but received a plain one.");
685
+ const t = h(e) ? new Array(e.length) : {};
686
+ for (const n in e)
687
+ t[n] = Bn(e, n);
688
+ return t;
689
+ }
690
+ class Un {
691
+ constructor(t, n, r) {
692
+ this._object = t, this._key = n, this._defaultValue = r, this.__v_isRef = !0;
693
+ }
694
+ get value() {
695
+ const t = this._object[this._key];
696
+ return t === void 0 ? this._defaultValue : t;
697
+ }
698
+ set value(t) {
699
+ this._object[this._key] = t;
700
+ }
701
+ get dep() {
702
+ return En(f(this._object), this._key);
703
+ }
704
+ }
705
+ function Bn(e, t, n) {
706
+ const r = e[t];
707
+ return v(r) ? r : new Un(e, t, n);
689
708
  }
690
709
  /**
691
710
  * @vue/runtime-core v3.4.21
692
711
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
693
712
  * @license MIT
694
713
  **/
695
- const J = [];
696
- function er(e) {
697
- J.push(e);
714
+ const B = [];
715
+ function Jn(e) {
716
+ B.push(e);
698
717
  }
699
- function tr() {
700
- J.pop();
718
+ function qn() {
719
+ B.pop();
701
720
  }
702
721
  function E(e, ...t) {
703
- Ye();
704
- const n = J.length ? J[J.length - 1].component : null, r = n && n.appContext.config.warnHandler, o = nr();
722
+ He();
723
+ const n = B.length ? B[B.length - 1].component : null, r = n && n.appContext.config.warnHandler, o = Gn();
705
724
  if (r)
706
- q(
725
+ J(
707
726
  r,
708
727
  n,
709
728
  11,
@@ -714,7 +733,7 @@ function E(e, ...t) {
714
733
  }).join(""),
715
734
  n && n.proxy,
716
735
  o.map(
717
- ({ vnode: s }) => `at <${an(n, s.type)}>`
736
+ ({ vnode: s }) => `at <${Qt(n, s.type)}>`
718
737
  ).join(`
719
738
  `),
720
739
  o
@@ -723,12 +742,12 @@ function E(e, ...t) {
723
742
  else {
724
743
  const s = [`[Vue warn]: ${e}`, ...t];
725
744
  o.length && s.push(`
726
- `, ...rr(o)), console.warn(...s);
745
+ `, ...Yn(o)), console.warn(...s);
727
746
  }
728
- Qe();
747
+ Ke();
729
748
  }
730
- function nr() {
731
- let e = J[J.length - 1];
749
+ function Gn() {
750
+ let e = B[B.length - 1];
732
751
  if (!e)
733
752
  return [];
734
753
  const t = [];
@@ -743,31 +762,31 @@ function nr() {
743
762
  }
744
763
  return t;
745
764
  }
746
- function rr(e) {
765
+ function Yn(e) {
747
766
  const t = [];
748
767
  return e.forEach((n, r) => {
749
768
  t.push(...r === 0 ? [] : [`
750
- `], ...or(n));
769
+ `], ...Qn(n));
751
770
  }), t;
752
771
  }
753
- function or({ vnode: e, recurseCount: t }) {
754
- const n = t > 0 ? `... (${t} recursive calls)` : "", r = e.component ? e.component.parent == null : !1, o = ` at <${an(
772
+ function Qn({ vnode: e, recurseCount: t }) {
773
+ const n = t > 0 ? `... (${t} recursive calls)` : "", r = e.component ? e.component.parent == null : !1, o = ` at <${Qt(
755
774
  e.component,
756
775
  e.type,
757
776
  r
758
777
  )}`, s = ">" + n;
759
- return e.props ? [o, ...sr(e.props), s] : [o + s];
778
+ return e.props ? [o, ...Xn(e.props), s] : [o + s];
760
779
  }
761
- function sr(e) {
780
+ function Xn(e) {
762
781
  const t = [], n = Object.keys(e);
763
782
  return n.slice(0, 3).forEach((r) => {
764
- t.push(...qt(r, e[r]));
783
+ t.push(...At(r, e[r]));
765
784
  }), n.length > 3 && t.push(" ..."), t;
766
785
  }
767
- function qt(e, t, n) {
768
- return x(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : V(t) ? (t = qt(e, f(t.value), !0), n ? t : [`${e}=Ref<`, t, ">"]) : w(t) ? [`${e}=fn${t.name ? `<${t.name}>` : ""}`] : (t = f(t), n ? t : [`${e}=`, t]);
786
+ function At(e, t, n) {
787
+ return C(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : v(t) ? (t = At(e, f(t.value), !0), n ? t : [`${e}=Ref<`, t, ">"]) : w(t) ? [`${e}=fn${t.name ? `<${t.name}>` : ""}`] : (t = f(t), n ? t : [`${e}=`, t]);
769
788
  }
770
- const Gt = {
789
+ const jt = {
771
790
  sp: "serverPrefetch hook",
772
791
  bc: "beforeCreate hook",
773
792
  c: "created hook",
@@ -798,30 +817,30 @@ const Gt = {
798
817
  13: "async component loader",
799
818
  14: "scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."
800
819
  };
801
- function q(e, t, n, r) {
820
+ function J(e, t, n, r) {
802
821
  try {
803
822
  return r ? e(...r) : e();
804
823
  } catch (o) {
805
- ot(o, t, n);
824
+ Qe(o, t, n);
806
825
  }
807
826
  }
808
- function Ne(e, t, n, r) {
827
+ function he(e, t, n, r) {
809
828
  if (w(e)) {
810
- const s = q(e, t, n, r);
811
- return s && mn(s) && s.catch((i) => {
812
- ot(i, t, n);
829
+ const s = J(e, t, n, r);
830
+ return s && on(s) && s.catch((i) => {
831
+ Qe(i, t, n);
813
832
  }), s;
814
833
  }
815
834
  const o = [];
816
835
  for (let s = 0; s < e.length; s++)
817
- o.push(Ne(e[s], t, n, r));
836
+ o.push(he(e[s], t, n, r));
818
837
  return o;
819
838
  }
820
- function ot(e, t, n, r = !0) {
839
+ function Qe(e, t, n, r = !0) {
821
840
  const o = t ? t.vnode : null;
822
841
  if (t) {
823
842
  let s = t.parent;
824
- const i = t.proxy, c = {}.NODE_ENV !== "production" ? Gt[n] : `https://vuejs.org/error-reference/#runtime-${n}`;
843
+ const i = t.proxy, c = {}.NODE_ENV !== "production" ? jt[n] : `https://vuejs.org/error-reference/#runtime-${n}`;
825
844
  for (; s; ) {
826
845
  const d = s.ec;
827
846
  if (d) {
@@ -831,10 +850,10 @@ function ot(e, t, n, r = !0) {
831
850
  }
832
851
  s = s.parent;
833
852
  }
834
- const u = t.appContext.config.errorHandler;
835
- if (u) {
836
- q(
837
- u,
853
+ const a = t.appContext.config.errorHandler;
854
+ if (a) {
855
+ J(
856
+ a,
838
857
  null,
839
858
  10,
840
859
  [e, i, c]
@@ -842,68 +861,68 @@ function ot(e, t, n, r = !0) {
842
861
  return;
843
862
  }
844
863
  }
845
- ir(e, n, o, r);
864
+ Zn(e, n, o, r);
846
865
  }
847
- function ir(e, t, n, r = !0) {
866
+ function Zn(e, t, n, r = !0) {
848
867
  if ({}.NODE_ENV !== "production") {
849
- const o = Gt[t];
850
- if (n && er(n), E(`Unhandled error${o ? ` during execution of ${o}` : ""}`), n && tr(), r)
868
+ const o = jt[t];
869
+ if (n && Jn(n), E(`Unhandled error${o ? ` during execution of ${o}` : ""}`), n && qn(), r)
851
870
  throw e;
852
871
  console.error(e);
853
872
  } else
854
873
  console.error(e);
855
874
  }
856
- let Se = !1, Be = !1;
857
- const C = [];
858
- let A = 0;
859
- const ne = [];
875
+ let we = !1, Ae = !1;
876
+ const x = [];
877
+ let F = 0;
878
+ const k = [];
860
879
  let P = null, M = 0;
861
- const Yt = /* @__PURE__ */ Promise.resolve();
862
- let st = null;
863
- const cr = 100;
864
- function lr(e) {
865
- const t = st || Yt;
880
+ const Lt = /* @__PURE__ */ Promise.resolve();
881
+ let Xe = null;
882
+ const kn = 100;
883
+ function er(e) {
884
+ const t = Xe || Lt;
866
885
  return e ? t.then(this ? e.bind(this) : e) : t;
867
886
  }
868
- function ur(e) {
869
- let t = A + 1, n = C.length;
887
+ function tr(e) {
888
+ let t = F + 1, n = x.length;
870
889
  for (; t < n; ) {
871
- const r = t + n >>> 1, o = C[r], s = ae(o);
890
+ const r = t + n >>> 1, o = x[r], s = oe(o);
872
891
  s < e || s === e && o.pre ? t = r + 1 : n = r;
873
892
  }
874
893
  return t;
875
894
  }
876
- function it(e) {
877
- (!C.length || !C.includes(
895
+ function Ze(e) {
896
+ (!x.length || !x.includes(
878
897
  e,
879
- Se && e.allowRecurse ? A + 1 : A
880
- )) && (e.id == null ? C.push(e) : C.splice(ur(e.id), 0, e), Qt());
898
+ we && e.allowRecurse ? F + 1 : F
899
+ )) && (e.id == null ? x.push(e) : x.splice(tr(e.id), 0, e), zt());
881
900
  }
882
- function Qt() {
883
- !Se && !Be && (Be = !0, st = Yt.then(Zt));
901
+ function zt() {
902
+ !we && !Ae && (Ae = !0, Xe = Lt.then(Kt));
884
903
  }
885
- function Xt(e) {
886
- h(e) ? ne.push(...e) : (!P || !P.includes(
904
+ function Ht(e) {
905
+ h(e) ? k.push(...e) : (!P || !P.includes(
887
906
  e,
888
907
  e.allowRecurse ? M + 1 : M
889
- )) && ne.push(e), Qt();
908
+ )) && k.push(e), zt();
890
909
  }
891
- function ar(e) {
892
- if (ne.length) {
893
- const t = [...new Set(ne)].sort(
894
- (n, r) => ae(n) - ae(r)
910
+ function nr(e) {
911
+ if (k.length) {
912
+ const t = [...new Set(k)].sort(
913
+ (n, r) => oe(n) - oe(r)
895
914
  );
896
- if (ne.length = 0, P) {
915
+ if (k.length = 0, P) {
897
916
  P.push(...t);
898
917
  return;
899
918
  }
900
919
  for (P = t, {}.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), M = 0; M < P.length; M++)
901
- ({}).NODE_ENV !== "production" && kt(e, P[M]) || P[M]();
920
+ ({}).NODE_ENV !== "production" && Wt(e, P[M]) || P[M]();
902
921
  P = null, M = 0;
903
922
  }
904
923
  }
905
- const ae = (e) => e.id == null ? 1 / 0 : e.id, fr = (e, t) => {
906
- const n = ae(e) - ae(t);
924
+ const oe = (e) => e.id == null ? 1 / 0 : e.id, rr = (e, t) => {
925
+ const n = oe(e) - oe(t);
907
926
  if (n === 0) {
908
927
  if (e.pre && !t.pre)
909
928
  return -1;
@@ -912,30 +931,30 @@ const ae = (e) => e.id == null ? 1 / 0 : e.id, fr = (e, t) => {
912
931
  }
913
932
  return n;
914
933
  };
915
- function Zt(e) {
916
- Be = !1, Se = !0, {}.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), C.sort(fr);
917
- const t = {}.NODE_ENV !== "production" ? (n) => kt(e, n) : Z;
934
+ function Kt(e) {
935
+ Ae = !1, we = !0, {}.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), x.sort(rr);
936
+ const t = {}.NODE_ENV !== "production" ? (n) => Wt(e, n) : Y;
918
937
  try {
919
- for (A = 0; A < C.length; A++) {
920
- const n = C[A];
938
+ for (F = 0; F < x.length; F++) {
939
+ const n = x[F];
921
940
  if (n && n.active !== !1) {
922
941
  if ({}.NODE_ENV !== "production" && t(n))
923
942
  continue;
924
- q(n, null, 14);
943
+ J(n, null, 14);
925
944
  }
926
945
  }
927
946
  } finally {
928
- A = 0, C.length = 0, ar(e), Se = !1, st = null, (C.length || ne.length) && Zt(e);
947
+ F = 0, x.length = 0, nr(e), we = !1, Xe = null, (x.length || k.length) && Kt(e);
929
948
  }
930
949
  }
931
- function kt(e, t) {
950
+ function Wt(e, t) {
932
951
  if (!e.has(t))
933
952
  e.set(t, 1);
934
953
  else {
935
954
  const n = e.get(t);
936
- if (n > cr) {
937
- const r = t.ownerInstance, o = r && un(r.type);
938
- return ot(
955
+ if (n > kn) {
956
+ const r = t.ownerInstance, o = r && Yt(r.type);
957
+ return Qe(
939
958
  `Maximum recursive updates exceeded${o ? ` in component <${o}>` : ""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,
940
959
  null,
941
960
  10
@@ -944,53 +963,53 @@ function kt(e, t) {
944
963
  e.set(t, n + 1);
945
964
  }
946
965
  }
947
- const se = /* @__PURE__ */ new Set();
948
- ({}).NODE_ENV !== "production" && (It().__VUE_HMR_RUNTIME__ = {
949
- createRecord: Fe(dr),
950
- rerender: Fe(pr),
951
- reload: Fe(hr)
966
+ const ee = /* @__PURE__ */ new Set();
967
+ ({}).NODE_ENV !== "production" && (wt().__VUE_HMR_RUNTIME__ = {
968
+ createRecord: Te(or),
969
+ rerender: Te(sr),
970
+ reload: Te(ir)
952
971
  });
953
- const Oe = /* @__PURE__ */ new Map();
954
- function dr(e, t) {
955
- return Oe.has(e) ? !1 : (Oe.set(e, {
956
- initialDef: le(t),
972
+ const be = /* @__PURE__ */ new Map();
973
+ function or(e, t) {
974
+ return be.has(e) ? !1 : (be.set(e, {
975
+ initialDef: ne(t),
957
976
  instances: /* @__PURE__ */ new Set()
958
977
  }), !0);
959
978
  }
960
- function le(e) {
961
- return fn(e) ? e.__vccOpts : e;
979
+ function ne(e) {
980
+ return Xt(e) ? e.__vccOpts : e;
962
981
  }
963
- function pr(e, t) {
964
- const n = Oe.get(e);
982
+ function sr(e, t) {
983
+ const n = be.get(e);
965
984
  n && (n.initialDef.render = t, [...n.instances].forEach((r) => {
966
- t && (r.render = t, le(r.type).render = t), r.renderCache = [], r.effect.dirty = !0, r.update();
985
+ t && (r.render = t, ne(r.type).render = t), r.renderCache = [], r.effect.dirty = !0, r.update();
967
986
  }));
968
987
  }
969
- function hr(e, t) {
970
- const n = Oe.get(e);
988
+ function ir(e, t) {
989
+ const n = be.get(e);
971
990
  if (!n)
972
991
  return;
973
- t = le(t), Et(n.initialDef, t);
992
+ t = ne(t), ft(n.initialDef, t);
974
993
  const r = [...n.instances];
975
994
  for (const o of r) {
976
- const s = le(o.type);
977
- se.has(s) || (s !== n.initialDef && Et(s, t), se.add(s)), o.appContext.propsCache.delete(o.type), o.appContext.emitsCache.delete(o.type), o.appContext.optionsCache.delete(o.type), o.ceReload ? (se.add(s), o.ceReload(t.styles), se.delete(s)) : o.parent ? (o.parent.effect.dirty = !0, it(o.parent.update)) : o.appContext.reload ? o.appContext.reload() : typeof window < "u" ? window.location.reload() : console.warn(
995
+ const s = ne(o.type);
996
+ ee.has(s) || (s !== n.initialDef && ft(s, t), ee.add(s)), o.appContext.propsCache.delete(o.type), o.appContext.emitsCache.delete(o.type), o.appContext.optionsCache.delete(o.type), o.ceReload ? (ee.add(s), o.ceReload(t.styles), ee.delete(s)) : o.parent ? (o.parent.effect.dirty = !0, Ze(o.parent.update)) : o.appContext.reload ? o.appContext.reload() : typeof window < "u" ? window.location.reload() : console.warn(
978
997
  "[HMR] Root or manually mounted instance modified. Full reload required."
979
998
  );
980
999
  }
981
- Xt(() => {
1000
+ Ht(() => {
982
1001
  for (const o of r)
983
- se.delete(
984
- le(o.type)
1002
+ ee.delete(
1003
+ ne(o.type)
985
1004
  );
986
1005
  });
987
1006
  }
988
- function Et(e, t) {
989
- v(e, t);
1007
+ function ft(e, t) {
1008
+ R(e, t);
990
1009
  for (const n in e)
991
1010
  n !== "__file" && !(n in t) && delete e[n];
992
1011
  }
993
- function Fe(e) {
1012
+ function Te(e) {
994
1013
  return (t, n) => {
995
1014
  try {
996
1015
  return e(t, n);
@@ -1001,31 +1020,37 @@ function Fe(e) {
1001
1020
  }
1002
1021
  };
1003
1022
  }
1004
- let S = null, _r = null;
1005
- const gr = Symbol.for("v-ndc"), mr = (e) => e.__isSuspense;
1006
- function Er(e, t) {
1007
- t && t.pendingBranch ? h(e) ? t.effects.push(...e) : t.effects.push(e) : Xt(e);
1023
+ let T = null, ke = null;
1024
+ function cr(e) {
1025
+ ke = e;
1008
1026
  }
1009
- const wr = Symbol.for("v-scx"), Nr = () => {
1027
+ function lr() {
1028
+ ke = null;
1029
+ }
1030
+ const ar = Symbol.for("v-ndc"), ur = (e) => e.__isSuspense;
1031
+ function fr(e, t) {
1032
+ t && t.pendingBranch ? h(e) ? t.effects.push(...e) : t.effects.push(e) : Ht(e);
1033
+ }
1034
+ const dr = Symbol.for("v-scx"), pr = () => {
1010
1035
  {
1011
- const e = Dr(wr);
1036
+ const e = Or(dr);
1012
1037
  return e || {}.NODE_ENV !== "production" && E(
1013
1038
  "Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."
1014
1039
  ), e;
1015
1040
  }
1016
- }, we = {};
1017
- function br(e, t, {
1041
+ }, pe = {};
1042
+ function hr(e, t, {
1018
1043
  immediate: n,
1019
1044
  deep: r,
1020
1045
  flush: o,
1021
1046
  once: s,
1022
1047
  onTrack: i,
1023
1048
  onTrigger: c
1024
- } = $) {
1049
+ } = D) {
1025
1050
  if (t && s) {
1026
1051
  const p = t;
1027
- t = (...Pe) => {
1028
- p(...Pe), $e();
1052
+ t = (...Ie) => {
1053
+ p(...Ie), Ce();
1029
1054
  };
1030
1055
  }
1031
1056
  ({}).NODE_ENV !== "production" && r !== void 0 && typeof r == "number" && E(
@@ -1037,82 +1062,82 @@ function br(e, t, {
1037
1062
  ), s !== void 0 && E(
1038
1063
  'watch() "once" option is only respected when using the watch(source, callback, options?) signature.'
1039
1064
  ));
1040
- const u = (p) => {
1065
+ const a = (p) => {
1041
1066
  E(
1042
1067
  "Invalid watch source: ",
1043
1068
  p,
1044
1069
  "A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types."
1045
1070
  );
1046
- }, d = fe, _ = (p) => r === !0 ? p : (
1071
+ }, d = se, _ = (p) => r === !0 ? p : (
1047
1072
  // for deep: false, only traverse root-level properties
1048
- k(p, r === !1 ? 1 : void 0)
1073
+ Q(p, r === !1 ? 1 : void 0)
1049
1074
  );
1050
- let l, a = !1, g = !1;
1051
- if (V(e) ? (l = () => e.value, a = te(e)) : U(e) ? (l = () => _(e), a = !0) : h(e) ? (g = !0, a = e.some((p) => U(p) || te(p)), l = () => e.map((p) => {
1052
- if (V(p))
1075
+ let l, u = !1, g = !1;
1076
+ if (v(e) ? (l = () => e.value, u = Z(e)) : U(e) ? (l = () => _(e), u = !0) : h(e) ? (g = !0, u = e.some((p) => U(p) || Z(p)), l = () => e.map((p) => {
1077
+ if (v(p))
1053
1078
  return p.value;
1054
1079
  if (U(p))
1055
1080
  return _(p);
1056
1081
  if (w(p))
1057
- return q(p, d, 2);
1058
- ({}).NODE_ENV !== "production" && u(p);
1059
- })) : w(e) ? t ? l = () => q(e, d, 2) : l = () => (N && N(), Ne(
1082
+ return J(p, d, 2);
1083
+ ({}).NODE_ENV !== "production" && a(p);
1084
+ })) : w(e) ? t ? l = () => J(e, d, 2) : l = () => (b && b(), he(
1060
1085
  e,
1061
1086
  d,
1062
1087
  3,
1063
- [D]
1064
- )) : (l = Z, {}.NODE_ENV !== "production" && u(e)), t && r) {
1088
+ [I]
1089
+ )) : (l = Y, {}.NODE_ENV !== "production" && a(e)), t && r) {
1065
1090
  const p = l;
1066
- l = () => k(p());
1091
+ l = () => Q(p());
1067
1092
  }
1068
- let N, D = (p) => {
1069
- N = R.onStop = () => {
1070
- q(p, d, 4), N = R.onStop = void 0;
1093
+ let b, I = (p) => {
1094
+ b = O.onStop = () => {
1095
+ J(p, d, 4), b = O.onStop = void 0;
1071
1096
  };
1072
- }, De;
1073
- if (ut)
1074
- if (D = Z, t ? n && Ne(t, d, 3, [
1097
+ }, Ve;
1098
+ if (nt)
1099
+ if (I = Y, t ? n && he(t, d, 3, [
1075
1100
  l(),
1076
1101
  g ? [] : void 0,
1077
- D
1102
+ I
1078
1103
  ]) : l(), o === "sync") {
1079
- const p = Nr();
1080
- De = p.__watcherHandles || (p.__watcherHandles = []);
1104
+ const p = pr();
1105
+ Ve = p.__watcherHandles || (p.__watcherHandles = []);
1081
1106
  } else
1082
- return Z;
1083
- let z = g ? new Array(e.length).fill(we) : we;
1107
+ return Y;
1108
+ let z = g ? new Array(e.length).fill(pe) : pe;
1084
1109
  const H = () => {
1085
- if (!(!R.active || !R.dirty))
1110
+ if (!(!O.active || !O.dirty))
1086
1111
  if (t) {
1087
- const p = R.run();
1088
- (r || a || (g ? p.some((Pe, dn) => G(Pe, z[dn])) : G(p, z))) && (N && N(), Ne(t, d, 3, [
1112
+ const p = O.run();
1113
+ (r || u || (g ? p.some((Ie, Zt) => q(Ie, z[Zt])) : q(p, z))) && (b && b(), he(t, d, 3, [
1089
1114
  p,
1090
1115
  // pass undefined as the old value when it's changed for the first time
1091
- z === we ? void 0 : g && z[0] === we ? [] : z,
1092
- D
1116
+ z === pe ? void 0 : g && z[0] === pe ? [] : z,
1117
+ I
1093
1118
  ]), z = p);
1094
1119
  } else
1095
- R.run();
1120
+ O.run();
1096
1121
  };
1097
1122
  H.allowRecurse = !!t;
1098
- let de;
1099
- o === "sync" ? de = H : o === "post" ? de = () => Ot(H, d && d.suspense) : (H.pre = !0, d && (H.id = d.uid), de = () => it(H));
1100
- const R = new Dt(l, Z, de), $e = () => {
1101
- R.stop();
1123
+ let ie;
1124
+ o === "sync" ? ie = H : o === "post" ? ie = () => mt(H, d && d.suspense) : (H.pre = !0, d && (H.id = d.uid), ie = () => Ze(H));
1125
+ const O = new bt(l, Y, ie), Ce = () => {
1126
+ O.stop();
1102
1127
  };
1103
- return {}.NODE_ENV !== "production" && (R.onTrack = i, R.onTrigger = c), t ? n ? H() : z = R.run() : o === "post" ? Ot(
1104
- R.run.bind(R),
1128
+ return {}.NODE_ENV !== "production" && (O.onTrack = i, O.onTrigger = c), t ? n ? H() : z = O.run() : o === "post" ? mt(
1129
+ O.run.bind(O),
1105
1130
  d && d.suspense
1106
- ) : R.run(), De && De.push($e), $e;
1131
+ ) : O.run(), Ve && Ve.push(Ce), Ce;
1107
1132
  }
1108
- function yr(e, t, n) {
1109
- const r = this.proxy, o = x(e) ? e.includes(".") ? Sr(r, e) : () => r[e] : e.bind(r, r);
1133
+ function _r(e, t, n) {
1134
+ const r = this.proxy, o = C(e) ? e.includes(".") ? gr(r, e) : () => r[e] : e.bind(r, r);
1110
1135
  let s;
1111
1136
  w(t) ? s = t : (s = t.handler, n = t);
1112
- const i = zr(this), c = br(o, s.bind(r), n);
1137
+ const i = Lr(this), c = hr(o, s.bind(r), n);
1113
1138
  return i(), c;
1114
1139
  }
1115
- function Sr(e, t) {
1140
+ function gr(e, t) {
1116
1141
  const n = t.split(".");
1117
1142
  return () => {
1118
1143
  let r = e;
@@ -1121,8 +1146,8 @@ function Sr(e, t) {
1121
1146
  return r;
1122
1147
  };
1123
1148
  }
1124
- function k(e, t, n = 0, r) {
1125
- if (!b(e) || e.__v_skip)
1149
+ function Q(e, t, n = 0, r) {
1150
+ if (!y(e) || e.__v_skip)
1126
1151
  return e;
1127
1152
  if (t && t > 0) {
1128
1153
  if (n >= t)
@@ -1131,67 +1156,53 @@ function k(e, t, n = 0, r) {
1131
1156
  }
1132
1157
  if (r = r || /* @__PURE__ */ new Set(), r.has(e))
1133
1158
  return e;
1134
- if (r.add(e), V(e))
1135
- k(e.value, t, n, r);
1159
+ if (r.add(e), v(e))
1160
+ Q(e.value, t, n, r);
1136
1161
  else if (h(e))
1137
1162
  for (let o = 0; o < e.length; o++)
1138
- k(e[o], t, n, r);
1139
- else if (Rt(e) || K(e))
1163
+ Q(e[o], t, n, r);
1164
+ else if (rn(e) || X(e))
1140
1165
  e.forEach((o) => {
1141
- k(o, t, n, r);
1166
+ Q(o, t, n, r);
1142
1167
  });
1143
- else if (Ct(e))
1168
+ else if (cn(e))
1144
1169
  for (const o in e)
1145
- k(e[o], t, n, r);
1170
+ Q(e[o], t, n, r);
1146
1171
  return e;
1147
1172
  }
1148
- const Or = (e) => !!e.type.__asyncLoader;
1149
- function Ae(e, t, n = {}, r, o) {
1150
- if (S.isCE || S.parent && Or(S.parent) && S.parent.isCE)
1151
- return t !== "default" && (n.name = t), ve("slot", n, r && r());
1152
- let s = e[t];
1153
- ({}).NODE_ENV !== "production" && s && s.length > 1 && (E(
1154
- "SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."
1155
- ), s = () => []), s && s._c && (s._d = !1), F();
1156
- const i = s && en(s(n)), c = nn(
1157
- re,
1158
- {
1159
- key: n.key || // slot content array of a dynamic conditional slot may have a branch
1160
- // key attached in the `createSlots` helper, respect that
1161
- i && i.key || `_${t}`
1162
- },
1163
- i || (r ? r() : []),
1164
- i && e._ === 1 ? 64 : -2
1165
- );
1166
- return !o && c.scopeId && (c.slotScopeIds = [c.scopeId + "-s"]), s && s._c && (s._d = !0), c;
1167
- }
1168
- function en(e) {
1169
- return e.some((t) => rn(t) ? !(t.type === xe || t.type === re && !en(t.children)) : !0) ? e : null;
1173
+ /*! #__NO_SIDE_EFFECTS__ */
1174
+ // @__NO_SIDE_EFFECTS__
1175
+ function mr(e, t) {
1176
+ return w(e) ? (
1177
+ // #8326: extend call and options.name access are considered side-effects
1178
+ // by Rollup, so we have to wrap it in a pure-annotated IIFE.
1179
+ /* @__PURE__ */ (() => R({ name: e.name }, t, { setup: e }))()
1180
+ ) : e;
1170
1181
  }
1171
- const Ue = (e) => e ? Hr(e) ? Kr(e) || e.proxy : Ue(e.parent) : null, ue = (
1182
+ const je = (e) => e ? zr(e) ? Hr(e) || e.proxy : je(e.parent) : null, re = (
1172
1183
  // Move PURE marker to new line to workaround compiler discarding it
1173
1184
  // due to type annotation
1174
- /* @__PURE__ */ v(/* @__PURE__ */ Object.create(null), {
1185
+ /* @__PURE__ */ R(/* @__PURE__ */ Object.create(null), {
1175
1186
  $: (e) => e,
1176
1187
  $el: (e) => e.vnode.el,
1177
1188
  $data: (e) => e.data,
1178
- $props: (e) => ({}).NODE_ENV !== "production" ? Ee(e.props) : e.props,
1179
- $attrs: (e) => ({}).NODE_ENV !== "production" ? Ee(e.attrs) : e.attrs,
1180
- $slots: (e) => ({}).NODE_ENV !== "production" ? Ee(e.slots) : e.slots,
1181
- $refs: (e) => ({}).NODE_ENV !== "production" ? Ee(e.refs) : e.refs,
1182
- $parent: (e) => Ue(e.parent),
1183
- $root: (e) => Ue(e.root),
1189
+ $props: (e) => ({}).NODE_ENV !== "production" ? de(e.props) : e.props,
1190
+ $attrs: (e) => ({}).NODE_ENV !== "production" ? de(e.attrs) : e.attrs,
1191
+ $slots: (e) => ({}).NODE_ENV !== "production" ? de(e.slots) : e.slots,
1192
+ $refs: (e) => ({}).NODE_ENV !== "production" ? de(e.refs) : e.refs,
1193
+ $parent: (e) => je(e.parent),
1194
+ $root: (e) => je(e.root),
1184
1195
  $emit: (e) => e.emit,
1185
- $options: (e) => Vr(e),
1196
+ $options: (e) => br(e),
1186
1197
  $forceUpdate: (e) => e.f || (e.f = () => {
1187
- e.effect.dirty = !0, it(e.update);
1198
+ e.effect.dirty = !0, Ze(e.update);
1188
1199
  }),
1189
- $nextTick: (e) => e.n || (e.n = lr.bind(e.proxy)),
1190
- $watch: (e) => yr.bind(e)
1200
+ $nextTick: (e) => e.n || (e.n = er.bind(e.proxy)),
1201
+ $watch: (e) => _r.bind(e)
1191
1202
  })
1192
- ), Rr = (e) => e === "_" || e === "$", je = (e, t) => e !== $ && !e.__isScriptSetup && m(e, t), xr = {
1203
+ ), Er = (e) => e === "_" || e === "$", Pe = (e, t) => e !== D && !e.__isScriptSetup && m(e, t), wr = {
1193
1204
  get({ _: e }, t) {
1194
- const { ctx: n, setupState: r, data: o, props: s, accessCache: i, type: c, appContext: u } = e;
1205
+ const { ctx: n, setupState: r, data: o, props: s, accessCache: i, type: c, appContext: a } = e;
1195
1206
  if ({}.NODE_ENV !== "production" && t === "__isVue")
1196
1207
  return !0;
1197
1208
  let d;
@@ -1209,9 +1220,9 @@ const Ue = (e) => e ? Hr(e) ? Kr(e) || e.proxy : Ue(e.parent) : null, ue = (
1209
1220
  return s[t];
1210
1221
  }
1211
1222
  else {
1212
- if (je(r, t))
1223
+ if (Pe(r, t))
1213
1224
  return i[t] = 1, r[t];
1214
- if (o !== $ && m(o, t))
1225
+ if (o !== D && m(o, t))
1215
1226
  return i[t] = 2, o[t];
1216
1227
  if (
1217
1228
  // only cache other properties when instance has declared (thus stable)
@@ -1219,40 +1230,40 @@ const Ue = (e) => e ? Hr(e) ? Kr(e) || e.proxy : Ue(e.parent) : null, ue = (
1219
1230
  (d = e.propsOptions[0]) && m(d, t)
1220
1231
  )
1221
1232
  return i[t] = 3, s[t];
1222
- if (n !== $ && m(n, t))
1233
+ if (n !== D && m(n, t))
1223
1234
  return i[t] = 4, n[t];
1224
1235
  i[t] = 0;
1225
1236
  }
1226
1237
  }
1227
- const _ = ue[t];
1228
- let l, a;
1238
+ const _ = re[t];
1239
+ let l, u;
1229
1240
  if (_)
1230
- return (t === "$attrs" || {}.NODE_ENV !== "production" && t === "$slots") && O(e, "get", t), _(e);
1241
+ return (t === "$attrs" || {}.NODE_ENV !== "production" && t === "$slots") && S(e, "get", t), _(e);
1231
1242
  if (
1232
1243
  // css module (injected by vue-loader)
1233
1244
  (l = c.__cssModules) && (l = l[t])
1234
1245
  )
1235
1246
  return l;
1236
- if (n !== $ && m(n, t))
1247
+ if (n !== D && m(n, t))
1237
1248
  return i[t] = 4, n[t];
1238
1249
  if (
1239
1250
  // global properties
1240
- a = u.config.globalProperties, m(a, t)
1251
+ u = a.config.globalProperties, m(u, t)
1241
1252
  )
1242
- return a[t];
1243
- ({}).NODE_ENV !== "production" && S && (!x(t) || // #1091 avoid internal isRef/isVNode checks on component instance leading
1253
+ return u[t];
1254
+ ({}).NODE_ENV !== "production" && T && (!C(t) || // #1091 avoid internal isRef/isVNode checks on component instance leading
1244
1255
  // to infinite warning loop
1245
- t.indexOf("__v") !== 0) && (o !== $ && Rr(t[0]) && m(o, t) ? E(
1256
+ t.indexOf("__v") !== 0) && (o !== D && Er(t[0]) && m(o, t) ? E(
1246
1257
  `Property ${JSON.stringify(
1247
1258
  t
1248
1259
  )} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`
1249
- ) : e === S && E(
1260
+ ) : e === T && E(
1250
1261
  `Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`
1251
1262
  ));
1252
1263
  },
1253
1264
  set({ _: e }, t, n) {
1254
1265
  const { data: r, setupState: o, ctx: s } = e;
1255
- return je(o, t) ? (o[t] = n, !0) : {}.NODE_ENV !== "production" && o.__isScriptSetup && m(o, t) ? (E(`Cannot mutate <script setup> binding "${t}" from Options API.`), !1) : r !== $ && m(r, t) ? (r[t] = n, !0) : m(e.props, t) ? ({}.NODE_ENV !== "production" && E(`Attempting to mutate prop "${t}". Props are readonly.`), !1) : t[0] === "$" && t.slice(1) in e ? ({}.NODE_ENV !== "production" && E(
1266
+ return Pe(o, t) ? (o[t] = n, !0) : {}.NODE_ENV !== "production" && o.__isScriptSetup && m(o, t) ? (E(`Cannot mutate <script setup> binding "${t}" from Options API.`), !1) : r !== D && m(r, t) ? (r[t] = n, !0) : m(e.props, t) ? ({}.NODE_ENV !== "production" && E(`Attempting to mutate prop "${t}". Props are readonly.`), !1) : t[0] === "$" && t.slice(1) in e ? ({}.NODE_ENV !== "production" && E(
1256
1267
  `Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`
1257
1268
  ), !1) : ({}.NODE_ENV !== "production" && t in e.appContext.config.globalProperties ? Object.defineProperty(s, t, {
1258
1269
  enumerable: !0,
@@ -1264,36 +1275,36 @@ const Ue = (e) => e ? Hr(e) ? Kr(e) || e.proxy : Ue(e.parent) : null, ue = (
1264
1275
  _: { data: e, setupState: t, accessCache: n, ctx: r, appContext: o, propsOptions: s }
1265
1276
  }, i) {
1266
1277
  let c;
1267
- return !!n[i] || e !== $ && m(e, i) || je(t, i) || (c = s[0]) && m(c, i) || m(r, i) || m(ue, i) || m(o.config.globalProperties, i);
1278
+ return !!n[i] || e !== D && m(e, i) || Pe(t, i) || (c = s[0]) && m(c, i) || m(r, i) || m(re, i) || m(o.config.globalProperties, i);
1268
1279
  },
1269
1280
  defineProperty(e, t, n) {
1270
1281
  return n.get != null ? e._.accessCache[t] = 0 : m(n, "value") && this.set(e, t, n.value, null), Reflect.defineProperty(e, t, n);
1271
1282
  }
1272
1283
  };
1273
- ({}).NODE_ENV !== "production" && (xr.ownKeys = (e) => (E(
1284
+ ({}).NODE_ENV !== "production" && (wr.ownKeys = (e) => (E(
1274
1285
  "Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."
1275
1286
  ), Reflect.ownKeys(e)));
1276
- function wt(e) {
1287
+ function dt(e) {
1277
1288
  return h(e) ? e.reduce(
1278
1289
  (t, n) => (t[n] = null, t),
1279
1290
  {}
1280
1291
  ) : e;
1281
1292
  }
1282
- function Vr(e) {
1293
+ function br(e) {
1283
1294
  const t = e.type, { mixins: n, extends: r } = t, {
1284
1295
  mixins: o,
1285
1296
  optionsCache: s,
1286
1297
  config: { optionMergeStrategies: i }
1287
1298
  } = e.appContext, c = s.get(t);
1288
- let u;
1289
- return c ? u = c : !o.length && !n && !r ? u = t : (u = {}, o.length && o.forEach(
1290
- (d) => Re(u, d, i, !0)
1291
- ), Re(u, t, i)), b(t) && s.set(t, u), u;
1299
+ let a;
1300
+ return c ? a = c : !o.length && !n && !r ? a = t : (a = {}, o.length && o.forEach(
1301
+ (d) => Ne(a, d, i, !0)
1302
+ ), Ne(a, t, i)), y(t) && s.set(t, a), a;
1292
1303
  }
1293
- function Re(e, t, n, r = !1) {
1304
+ function Ne(e, t, n, r = !1) {
1294
1305
  const { mixins: o, extends: s } = t;
1295
- s && Re(e, s, n, !0), o && o.forEach(
1296
- (i) => Re(e, i, n, !0)
1306
+ s && Ne(e, s, n, !0), o && o.forEach(
1307
+ (i) => Ne(e, i, n, !0)
1297
1308
  );
1298
1309
  for (const i in t)
1299
1310
  if (r && i === "expose")
@@ -1301,54 +1312,54 @@ function Re(e, t, n, r = !1) {
1301
1312
  '"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.'
1302
1313
  );
1303
1314
  else {
1304
- const c = Cr[i] || n && n[i];
1315
+ const c = Nr[i] || n && n[i];
1305
1316
  e[i] = c ? c(e[i], t[i]) : t[i];
1306
1317
  }
1307
1318
  return e;
1308
1319
  }
1309
- const Cr = {
1310
- data: Nt,
1311
- props: yt,
1312
- emits: yt,
1320
+ const Nr = {
1321
+ data: pt,
1322
+ props: _t,
1323
+ emits: _t,
1313
1324
  // objects
1314
- methods: ce,
1315
- computed: ce,
1325
+ methods: te,
1326
+ computed: te,
1316
1327
  // lifecycle
1317
- beforeCreate: y,
1318
- created: y,
1319
- beforeMount: y,
1320
- mounted: y,
1321
- beforeUpdate: y,
1322
- updated: y,
1323
- beforeDestroy: y,
1324
- beforeUnmount: y,
1325
- destroyed: y,
1326
- unmounted: y,
1327
- activated: y,
1328
- deactivated: y,
1329
- errorCaptured: y,
1330
- serverPrefetch: y,
1328
+ beforeCreate: N,
1329
+ created: N,
1330
+ beforeMount: N,
1331
+ mounted: N,
1332
+ beforeUpdate: N,
1333
+ updated: N,
1334
+ beforeDestroy: N,
1335
+ beforeUnmount: N,
1336
+ destroyed: N,
1337
+ unmounted: N,
1338
+ activated: N,
1339
+ deactivated: N,
1340
+ errorCaptured: N,
1341
+ serverPrefetch: N,
1331
1342
  // assets
1332
- components: ce,
1333
- directives: ce,
1343
+ components: te,
1344
+ directives: te,
1334
1345
  // watch
1335
- watch: vr,
1346
+ watch: Sr,
1336
1347
  // provide / inject
1337
- provide: Nt,
1338
- inject: Ir
1348
+ provide: pt,
1349
+ inject: yr
1339
1350
  };
1340
- function Nt(e, t) {
1351
+ function pt(e, t) {
1341
1352
  return t ? e ? function() {
1342
- return v(
1353
+ return R(
1343
1354
  w(e) ? e.call(this, this) : e,
1344
1355
  w(t) ? t.call(this, this) : t
1345
1356
  );
1346
1357
  } : t : e;
1347
1358
  }
1348
- function Ir(e, t) {
1349
- return ce(bt(e), bt(t));
1359
+ function yr(e, t) {
1360
+ return te(ht(e), ht(t));
1350
1361
  }
1351
- function bt(e) {
1362
+ function ht(e) {
1352
1363
  if (h(e)) {
1353
1364
  const t = {};
1354
1365
  for (let n = 0; n < e.length; n++)
@@ -1357,34 +1368,34 @@ function bt(e) {
1357
1368
  }
1358
1369
  return e;
1359
1370
  }
1360
- function y(e, t) {
1371
+ function N(e, t) {
1361
1372
  return e ? [...new Set([].concat(e, t))] : t;
1362
1373
  }
1363
- function ce(e, t) {
1364
- return e ? v(/* @__PURE__ */ Object.create(null), e, t) : t;
1374
+ function te(e, t) {
1375
+ return e ? R(/* @__PURE__ */ Object.create(null), e, t) : t;
1365
1376
  }
1366
- function yt(e, t) {
1367
- return e ? h(e) && h(t) ? [.../* @__PURE__ */ new Set([...e, ...t])] : v(
1377
+ function _t(e, t) {
1378
+ return e ? h(e) && h(t) ? [.../* @__PURE__ */ new Set([...e, ...t])] : R(
1368
1379
  /* @__PURE__ */ Object.create(null),
1369
- wt(e),
1370
- wt(t ?? {})
1380
+ dt(e),
1381
+ dt(t ?? {})
1371
1382
  ) : t;
1372
1383
  }
1373
- function vr(e, t) {
1384
+ function Sr(e, t) {
1374
1385
  if (!e)
1375
1386
  return t;
1376
1387
  if (!t)
1377
1388
  return e;
1378
- const n = v(/* @__PURE__ */ Object.create(null), e);
1389
+ const n = R(/* @__PURE__ */ Object.create(null), e);
1379
1390
  for (const r in t)
1380
- n[r] = y(e[r], t[r]);
1391
+ n[r] = N(e[r], t[r]);
1381
1392
  return n;
1382
1393
  }
1383
- let St = null;
1384
- function Dr(e, t, n = !1) {
1385
- const r = fe || S;
1386
- if (r || St) {
1387
- const o = r ? r.parent == null ? r.vnode.appContext && r.vnode.appContext.provides : r.parent.provides : St._context.provides;
1394
+ let gt = null;
1395
+ function Or(e, t, n = !1) {
1396
+ const r = se || T;
1397
+ if (r || gt) {
1398
+ const o = r ? r.parent == null ? r.vnode.appContext && r.vnode.appContext.provides : r.parent.provides : gt._context.provides;
1388
1399
  if (o && e in o)
1389
1400
  return o[e];
1390
1401
  if (arguments.length > 1)
@@ -1393,20 +1404,20 @@ function Dr(e, t, n = !1) {
1393
1404
  } else
1394
1405
  ({}).NODE_ENV !== "production" && E("inject() can only be used inside setup() or functional components.");
1395
1406
  }
1396
- const Ot = Er, $r = (e) => e.__isTeleport, re = Symbol.for("v-fgt"), Pr = Symbol.for("v-txt"), xe = Symbol.for("v-cmt"), be = [];
1397
- let I = null;
1398
- function F(e = !1) {
1399
- be.push(I = e ? null : []);
1407
+ const mt = fr, vr = (e) => e.__isTeleport, Ut = Symbol.for("v-fgt"), Rr = Symbol.for("v-txt"), xr = Symbol.for("v-cmt"), _e = [];
1408
+ let V = null;
1409
+ function Vr(e = !1) {
1410
+ _e.push(V = e ? null : []);
1400
1411
  }
1401
- function Tr() {
1402
- be.pop(), I = be[be.length - 1] || null;
1412
+ function Cr() {
1413
+ _e.pop(), V = _e[_e.length - 1] || null;
1403
1414
  }
1404
- function tn(e) {
1405
- return e.dynamicChildren = I || hn, Tr(), I && I.push(e), e;
1415
+ function Ir(e) {
1416
+ return e.dynamicChildren = V || en, Cr(), V && V.push(e), e;
1406
1417
  }
1407
- function X(e, t, n, r, o, s) {
1408
- return tn(
1409
- ct(
1418
+ function Dr(e, t, n, r, o, s) {
1419
+ return Ir(
1420
+ et(
1410
1421
  e,
1411
1422
  t,
1412
1423
  n,
@@ -1417,37 +1428,25 @@ function X(e, t, n, r, o, s) {
1417
1428
  )
1418
1429
  );
1419
1430
  }
1420
- function nn(e, t, n, r, o) {
1421
- return tn(
1422
- ve(
1423
- e,
1424
- t,
1425
- n,
1426
- r,
1427
- o,
1428
- !0
1429
- )
1430
- );
1431
- }
1432
- function rn(e) {
1431
+ function Tr(e) {
1433
1432
  return e ? e.__v_isVNode === !0 : !1;
1434
1433
  }
1435
- const Mr = (...e) => cn(
1434
+ const Pr = (...e) => qt(
1436
1435
  ...e
1437
- ), on = "__vInternal", sn = ({ key: e }) => e ?? null, ye = ({
1436
+ ), Bt = "__vInternal", Jt = ({ key: e }) => e ?? null, ge = ({
1438
1437
  ref: e,
1439
1438
  ref_key: t,
1440
1439
  ref_for: n
1441
- }) => (typeof e == "number" && (e = "" + e), e != null ? x(e) || V(e) || w(e) ? { i: S, r: e, k: t, f: !!n } : e : null);
1442
- function ct(e, t = null, n = null, r = 0, o = null, s = e === re ? 0 : 1, i = !1, c = !1) {
1443
- const u = {
1440
+ }) => (typeof e == "number" && (e = "" + e), e != null ? C(e) || v(e) || w(e) ? { i: T, r: e, k: t, f: !!n } : e : null);
1441
+ function et(e, t = null, n = null, r = 0, o = null, s = e === Ut ? 0 : 1, i = !1, c = !1) {
1442
+ const a = {
1444
1443
  __v_isVNode: !0,
1445
1444
  __v_skip: !0,
1446
1445
  type: e,
1447
1446
  props: t,
1448
- key: t && sn(t),
1449
- ref: t && ye(t),
1450
- scopeId: _r,
1447
+ key: t && Jt(t),
1448
+ ref: t && ge(t),
1449
+ scopeId: ke,
1451
1450
  slotScopeIds: null,
1452
1451
  children: n,
1453
1452
  component: null,
@@ -1466,41 +1465,41 @@ function ct(e, t = null, n = null, r = 0, o = null, s = e === re ? 0 : 1, i = !1
1466
1465
  dynamicProps: o,
1467
1466
  dynamicChildren: null,
1468
1467
  appContext: null,
1469
- ctx: S
1468
+ ctx: T
1470
1469
  };
1471
- return c ? (lt(u, n), s & 128 && e.normalize(u)) : n && (u.shapeFlag |= x(n) ? 8 : 16), {}.NODE_ENV !== "production" && u.key !== u.key && E("VNode created with invalid key (NaN). VNode type:", u.type), // avoid a block node from tracking itself
1470
+ return c ? (tt(a, n), s & 128 && e.normalize(a)) : n && (a.shapeFlag |= C(n) ? 8 : 16), {}.NODE_ENV !== "production" && a.key !== a.key && E("VNode created with invalid key (NaN). VNode type:", a.type), // avoid a block node from tracking itself
1472
1471
  !i && // has current parent block
1473
- I && // presence of a patch flag indicates this node needs patching on updates.
1472
+ V && // presence of a patch flag indicates this node needs patching on updates.
1474
1473
  // component nodes also should always be patched, because even if the
1475
1474
  // component doesn't need to update, it needs to persist the instance on to
1476
1475
  // the next vnode so that it can be properly unmounted later.
1477
- (u.patchFlag > 0 || s & 6) && // the EVENTS flag is only for hydration and if it is the only flag, the
1476
+ (a.patchFlag > 0 || s & 6) && // the EVENTS flag is only for hydration and if it is the only flag, the
1478
1477
  // vnode should not be considered dynamic due to handler caching.
1479
- u.patchFlag !== 32 && I.push(u), u;
1478
+ a.patchFlag !== 32 && V.push(a), a;
1480
1479
  }
1481
- const ve = {}.NODE_ENV !== "production" ? Mr : cn;
1482
- function cn(e, t = null, n = null, r = 0, o = null, s = !1) {
1483
- if ((!e || e === gr) && ({}.NODE_ENV !== "production" && !e && E(`Invalid vnode type when creating vnode: ${e}.`), e = xe), rn(e)) {
1484
- const c = Ve(
1480
+ const $r = {}.NODE_ENV !== "production" ? Pr : qt;
1481
+ function qt(e, t = null, n = null, r = 0, o = null, s = !1) {
1482
+ if ((!e || e === ar) && ({}.NODE_ENV !== "production" && !e && E(`Invalid vnode type when creating vnode: ${e}.`), e = xr), Tr(e)) {
1483
+ const c = ye(
1485
1484
  e,
1486
1485
  t,
1487
1486
  !0
1488
1487
  /* mergeRef: true */
1489
1488
  );
1490
- return n && lt(c, n), !s && I && (c.shapeFlag & 6 ? I[I.indexOf(e)] = c : I.push(c)), c.patchFlag |= -2, c;
1489
+ return n && tt(c, n), !s && V && (c.shapeFlag & 6 ? V[V.indexOf(e)] = c : V.push(c)), c.patchFlag |= -2, c;
1491
1490
  }
1492
- if (fn(e) && (e = e.__vccOpts), t) {
1493
- t = Fr(t);
1494
- let { class: c, style: u } = t;
1495
- c && !x(c) && (t.class = ee(c)), b(u) && (We(u) && !h(u) && (u = v({}, u)), t.style = Ge(u));
1491
+ if (Xt(e) && (e = e.__vccOpts), t) {
1492
+ t = Mr(t);
1493
+ let { class: c, style: a } = t;
1494
+ c && !C(c) && (t.class = Re(c)), y(a) && (Ee(a) && !h(a) && (a = R({}, a)), t.style = ve(a));
1496
1495
  }
1497
- const i = x(e) ? 1 : mr(e) ? 128 : $r(e) ? 64 : b(e) ? 4 : w(e) ? 2 : 0;
1498
- return {}.NODE_ENV !== "production" && i & 4 && We(e) && (e = f(e), E(
1496
+ const i = C(e) ? 1 : ur(e) ? 128 : vr(e) ? 64 : y(e) ? 4 : w(e) ? 2 : 0;
1497
+ return {}.NODE_ENV !== "production" && i & 4 && Ee(e) && (e = f(e), E(
1499
1498
  "Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",
1500
1499
  `
1501
1500
  Component that was made reactive: `,
1502
1501
  e
1503
- )), ct(
1502
+ )), et(
1504
1503
  e,
1505
1504
  t,
1506
1505
  n,
@@ -1511,26 +1510,26 @@ Component that was made reactive: `,
1511
1510
  !0
1512
1511
  );
1513
1512
  }
1514
- function Fr(e) {
1515
- return e ? We(e) || on in e ? v({}, e) : e : null;
1513
+ function Mr(e) {
1514
+ return e ? Ee(e) || Bt in e ? R({}, e) : e : null;
1516
1515
  }
1517
- function Ve(e, t, n = !1) {
1518
- const { props: r, ref: o, patchFlag: s, children: i } = e, c = t ? jr(r || {}, t) : r;
1516
+ function ye(e, t, n = !1) {
1517
+ const { props: r, ref: o, patchFlag: s, children: i } = e, c = t ? Ar(r || {}, t) : r;
1519
1518
  return {
1520
1519
  __v_isVNode: !0,
1521
1520
  __v_skip: !0,
1522
1521
  type: e.type,
1523
1522
  props: c,
1524
- key: c && sn(c),
1523
+ key: c && Jt(c),
1525
1524
  ref: t && t.ref ? (
1526
1525
  // #2078 in the case of <component :is="vnode" ref="extra"/>
1527
1526
  // if the vnode itself already has a ref, cloneVNode will need to merge
1528
1527
  // the refs so the single vnode can be set on multiple refs
1529
- n && o ? h(o) ? o.concat(ye(t)) : [o, ye(t)] : ye(t)
1528
+ n && o ? h(o) ? o.concat(ge(t)) : [o, ge(t)] : ge(t)
1530
1529
  ) : o,
1531
1530
  scopeId: e.scopeId,
1532
1531
  slotScopeIds: e.slotScopeIds,
1533
- children: {}.NODE_ENV !== "production" && s === -1 && h(i) ? i.map(ln) : i,
1532
+ children: {}.NODE_ENV !== "production" && s === -1 && h(i) ? i.map(Gt) : i,
1534
1533
  target: e.target,
1535
1534
  targetAnchor: e.targetAnchor,
1536
1535
  staticCount: e.staticCount,
@@ -1539,7 +1538,7 @@ function Ve(e, t, n = !1) {
1539
1538
  // existing patch flag to be reliable and need to add the FULL_PROPS flag.
1540
1539
  // note: preserve flag for fragments since they use the flag for children
1541
1540
  // fast paths only.
1542
- patchFlag: t && e.type !== re ? s === -1 ? 16 : s | 16 : s,
1541
+ patchFlag: t && e.type !== Ut ? s === -1 ? 16 : s | 16 : s,
1543
1542
  dynamicProps: e.dynamicProps,
1544
1543
  dynamicChildren: e.dynamicChildren,
1545
1544
  appContext: e.appContext,
@@ -1551,25 +1550,22 @@ function Ve(e, t, n = !1) {
1551
1550
  // they will simply be overwritten.
1552
1551
  component: e.component,
1553
1552
  suspense: e.suspense,
1554
- ssContent: e.ssContent && Ve(e.ssContent),
1555
- ssFallback: e.ssFallback && Ve(e.ssFallback),
1553
+ ssContent: e.ssContent && ye(e.ssContent),
1554
+ ssFallback: e.ssFallback && ye(e.ssFallback),
1556
1555
  el: e.el,
1557
1556
  anchor: e.anchor,
1558
1557
  ctx: e.ctx,
1559
1558
  ce: e.ce
1560
1559
  };
1561
1560
  }
1562
- function ln(e) {
1563
- const t = Ve(e);
1564
- return h(e.children) && (t.children = e.children.map(ln)), t;
1565
- }
1566
- function Ar(e = " ", t = 0) {
1567
- return ve(Pr, null, e, t);
1561
+ function Gt(e) {
1562
+ const t = ye(e);
1563
+ return h(e.children) && (t.children = e.children.map(Gt)), t;
1568
1564
  }
1569
- function ie(e = "", t = !1) {
1570
- return t ? (F(), nn(xe, null, e)) : ve(xe, null, e);
1565
+ function Fr(e = " ", t = 0) {
1566
+ return $r(Rr, null, e, t);
1571
1567
  }
1572
- function lt(e, t) {
1568
+ function tt(e, t) {
1573
1569
  let n = 0;
1574
1570
  const { shapeFlag: r } = e;
1575
1571
  if (t == null)
@@ -1579,27 +1575,27 @@ function lt(e, t) {
1579
1575
  else if (typeof t == "object")
1580
1576
  if (r & 65) {
1581
1577
  const o = t.default;
1582
- o && (o._c && (o._d = !1), lt(e, o()), o._c && (o._d = !0));
1578
+ o && (o._c && (o._d = !1), tt(e, o()), o._c && (o._d = !0));
1583
1579
  return;
1584
1580
  } else {
1585
1581
  n = 32;
1586
1582
  const o = t._;
1587
- !o && !(on in t) ? t._ctx = S : o === 3 && S && (S.slots._ === 1 ? t._ = 1 : (t._ = 2, e.patchFlag |= 1024));
1583
+ !o && !(Bt in t) ? t._ctx = T : o === 3 && T && (T.slots._ === 1 ? t._ = 1 : (t._ = 2, e.patchFlag |= 1024));
1588
1584
  }
1589
1585
  else
1590
- w(t) ? (t = { default: t, _ctx: S }, n = 32) : (t = String(t), r & 64 ? (n = 16, t = [Ar(t)]) : n = 8);
1586
+ w(t) ? (t = { default: t, _ctx: T }, n = 32) : (t = String(t), r & 64 ? (n = 16, t = [Fr(t)]) : n = 8);
1591
1587
  e.children = t, e.shapeFlag |= n;
1592
1588
  }
1593
- function jr(...e) {
1589
+ function Ar(...e) {
1594
1590
  const t = {};
1595
1591
  for (let n = 0; n < e.length; n++) {
1596
1592
  const r = e[n];
1597
1593
  for (const o in r)
1598
1594
  if (o === "class")
1599
- t.class !== r.class && (t.class = ee([t.class, r.class]));
1595
+ t.class !== r.class && (t.class = Re([t.class, r.class]));
1600
1596
  else if (o === "style")
1601
- t.style = Ge([t.style, r.style]);
1602
- else if (_n(o)) {
1597
+ t.style = ve([t.style, r.style]);
1598
+ else if (tn(o)) {
1603
1599
  const s = t[o], i = r[o];
1604
1600
  i && s !== i && !(h(s) && s.includes(i)) && (t[o] = s ? [].concat(s, i) : i);
1605
1601
  } else
@@ -1607,54 +1603,54 @@ function jr(...e) {
1607
1603
  }
1608
1604
  return t;
1609
1605
  }
1610
- let fe = null;
1611
- const Lr = () => fe || S;
1612
- let Je;
1606
+ let se = null;
1607
+ const jr = () => se || T;
1608
+ let Le;
1613
1609
  {
1614
- const e = It(), t = (n, r) => {
1610
+ const e = wt(), t = (n, r) => {
1615
1611
  let o;
1616
1612
  return (o = e[n]) || (o = e[n] = []), o.push(r), (s) => {
1617
1613
  o.length > 1 ? o.forEach((i) => i(s)) : o[0](s);
1618
1614
  };
1619
1615
  };
1620
- Je = t(
1616
+ Le = t(
1621
1617
  "__VUE_INSTANCE_SETTERS__",
1622
- (n) => fe = n
1618
+ (n) => se = n
1623
1619
  ), t(
1624
1620
  "__VUE_SSR_SETTERS__",
1625
- (n) => ut = n
1621
+ (n) => nt = n
1626
1622
  );
1627
1623
  }
1628
- const zr = (e) => {
1629
- const t = fe;
1630
- return Je(e), e.scope.on(), () => {
1631
- e.scope.off(), Je(t);
1624
+ const Lr = (e) => {
1625
+ const t = se;
1626
+ return Le(e), e.scope.on(), () => {
1627
+ e.scope.off(), Le(t);
1632
1628
  };
1633
1629
  };
1634
- function Hr(e) {
1630
+ function zr(e) {
1635
1631
  return e.vnode.shapeFlag & 4;
1636
1632
  }
1637
- let ut = !1;
1638
- function Kr(e) {
1633
+ let nt = !1;
1634
+ function Hr(e) {
1639
1635
  if (e.exposed)
1640
- return e.exposeProxy || (e.exposeProxy = new Proxy(kn(qn(e.exposed)), {
1636
+ return e.exposeProxy || (e.exposeProxy = new Proxy(Kn(An(e.exposed)), {
1641
1637
  get(t, n) {
1642
1638
  if (n in t)
1643
1639
  return t[n];
1644
- if (n in ue)
1645
- return ue[n](e);
1640
+ if (n in re)
1641
+ return re[n](e);
1646
1642
  },
1647
1643
  has(t, n) {
1648
- return n in t || n in ue;
1644
+ return n in t || n in re;
1649
1645
  }
1650
1646
  }));
1651
1647
  }
1652
- const Wr = /(?:^|[-_])(\w)/g, Br = (e) => e.replace(Wr, (t) => t.toUpperCase()).replace(/[-_]/g, "");
1653
- function un(e, t = !0) {
1648
+ const Kr = /(?:^|[-_])(\w)/g, Wr = (e) => e.replace(Kr, (t) => t.toUpperCase()).replace(/[-_]/g, "");
1649
+ function Yt(e, t = !0) {
1654
1650
  return w(e) ? e.displayName || e.name : e.name || t && e.__name;
1655
1651
  }
1656
- function an(e, t, n = !1) {
1657
- let r = un(t);
1652
+ function Qt(e, t, n = !1) {
1653
+ let r = Yt(t);
1658
1654
  if (!r && t.__file) {
1659
1655
  const o = t.__file.match(/([^/\\]+)\.\w+$/);
1660
1656
  o && (r = o[1]);
@@ -1669,25 +1665,25 @@ function an(e, t, n = !1) {
1669
1665
  e.components || e.parent.type.components
1670
1666
  ) || o(e.appContext.components);
1671
1667
  }
1672
- return r ? Br(r) : n ? "App" : "Anonymous";
1668
+ return r ? Wr(r) : n ? "App" : "Anonymous";
1673
1669
  }
1674
- function fn(e) {
1670
+ function Xt(e) {
1675
1671
  return w(e) && "__vccOpts" in e;
1676
1672
  }
1677
1673
  const Ur = (e, t) => {
1678
- const n = Yn(e, t, ut);
1674
+ const n = Ln(e, t, nt);
1679
1675
  if ({}.NODE_ENV !== "production") {
1680
- const r = Lr();
1676
+ const r = jr();
1681
1677
  r && r.appContext.config.warnRecursiveComputed && (n._warnRecursive = !0);
1682
1678
  }
1683
1679
  return n;
1684
1680
  };
1685
- function Jr() {
1681
+ function Br() {
1686
1682
  if ({}.NODE_ENV === "production" || typeof window > "u")
1687
1683
  return;
1688
1684
  const e = { style: "color:#3ba776" }, t = { style: "color:#1677ff" }, n = { style: "color:#f5222d" }, r = { style: "color:#eb2f96" }, o = {
1689
1685
  header(l) {
1690
- return b(l) ? l.__isVue ? ["div", e, "VueInstance"] : V(l) ? [
1686
+ return y(l) ? l.__isVue ? ["div", e, "VueInstance"] : v(l) ? [
1691
1687
  "div",
1692
1688
  {},
1693
1689
  ["span", e, _(l)],
@@ -1697,14 +1693,14 @@ function Jr() {
1697
1693
  ] : U(l) ? [
1698
1694
  "div",
1699
1695
  {},
1700
- ["span", e, te(l) ? "ShallowReactive" : "Reactive"],
1696
+ ["span", e, Z(l) ? "ShallowReactive" : "Reactive"],
1701
1697
  "<",
1702
1698
  c(l),
1703
- `>${Q(l) ? " (readonly)" : ""}`
1704
- ] : Q(l) ? [
1699
+ `>${G(l) ? " (readonly)" : ""}`
1700
+ ] : G(l) ? [
1705
1701
  "div",
1706
1702
  {},
1707
- ["span", e, te(l) ? "ShallowReadonly" : "Readonly"],
1703
+ ["span", e, Z(l) ? "ShallowReadonly" : "Readonly"],
1708
1704
  "<",
1709
1705
  c(l),
1710
1706
  ">"
@@ -1723,12 +1719,12 @@ function Jr() {
1723
1719
  }
1724
1720
  };
1725
1721
  function s(l) {
1726
- const a = [];
1727
- l.type.props && l.props && a.push(i("props", f(l.props))), l.setupState !== $ && a.push(i("setup", l.setupState)), l.data !== $ && a.push(i("data", f(l.data)));
1728
- const g = u(l, "computed");
1729
- g && a.push(i("computed", g));
1730
- const N = u(l, "inject");
1731
- return N && a.push(i("injected", N)), a.push([
1722
+ const u = [];
1723
+ l.type.props && l.props && u.push(i("props", f(l.props))), l.setupState !== D && u.push(i("setup", l.setupState)), l.data !== D && u.push(i("data", f(l.data)));
1724
+ const g = a(l, "computed");
1725
+ g && u.push(i("computed", g));
1726
+ const b = a(l, "inject");
1727
+ return b && u.push(i("injected", b)), u.push([
1732
1728
  "div",
1733
1729
  {},
1734
1730
  [
@@ -1739,10 +1735,10 @@ function Jr() {
1739
1735
  "$ (internal): "
1740
1736
  ],
1741
1737
  ["object", { object: l }]
1742
- ]), a;
1738
+ ]), u;
1743
1739
  }
1744
- function i(l, a) {
1745
- return a = v({}, a), Object.keys(a).length ? [
1740
+ function i(l, u) {
1741
+ return u = R({}, u), Object.keys(u).length ? [
1746
1742
  "div",
1747
1743
  { style: "line-height:1.25em;margin-bottom:0.6em" },
1748
1744
  [
@@ -1757,34 +1753,34 @@ function Jr() {
1757
1753
  {
1758
1754
  style: "padding-left:1.25em"
1759
1755
  },
1760
- ...Object.keys(a).map((g) => [
1756
+ ...Object.keys(u).map((g) => [
1761
1757
  "div",
1762
1758
  {},
1763
1759
  ["span", r, g + ": "],
1764
- c(a[g], !1)
1760
+ c(u[g], !1)
1765
1761
  ])
1766
1762
  ]
1767
1763
  ] : ["span", {}];
1768
1764
  }
1769
- function c(l, a = !0) {
1770
- return typeof l == "number" ? ["span", t, l] : typeof l == "string" ? ["span", n, JSON.stringify(l)] : typeof l == "boolean" ? ["span", r, l] : b(l) ? ["object", { object: a ? f(l) : l }] : ["span", n, String(l)];
1765
+ function c(l, u = !0) {
1766
+ return typeof l == "number" ? ["span", t, l] : typeof l == "string" ? ["span", n, JSON.stringify(l)] : typeof l == "boolean" ? ["span", r, l] : y(l) ? ["object", { object: u ? f(l) : l }] : ["span", n, String(l)];
1771
1767
  }
1772
- function u(l, a) {
1768
+ function a(l, u) {
1773
1769
  const g = l.type;
1774
1770
  if (w(g))
1775
1771
  return;
1776
- const N = {};
1777
- for (const D in l.ctx)
1778
- d(g, D, a) && (N[D] = l.ctx[D]);
1779
- return N;
1772
+ const b = {};
1773
+ for (const I in l.ctx)
1774
+ d(g, I, u) && (b[I] = l.ctx[I]);
1775
+ return b;
1780
1776
  }
1781
- function d(l, a, g) {
1782
- const N = l[g];
1783
- if (h(N) && N.includes(a) || b(N) && a in N || l.extends && d(l.extends, a, g) || l.mixins && l.mixins.some((D) => d(D, a, g)))
1777
+ function d(l, u, g) {
1778
+ const b = l[g];
1779
+ if (h(b) && b.includes(u) || y(b) && u in b || l.extends && d(l.extends, u, g) || l.mixins && l.mixins.some((I) => d(I, u, g)))
1784
1780
  return !0;
1785
1781
  }
1786
1782
  function _(l) {
1787
- return te(l) ? "ShallowRef" : l.effect ? "ComputedRef" : "Ref";
1783
+ return Z(l) ? "ShallowRef" : l.effect ? "ComputedRef" : "Ref";
1788
1784
  }
1789
1785
  window.devtoolsFormatters ? window.devtoolsFormatters.push(o) : window.devtoolsFormatters = [o];
1790
1786
  }
@@ -1793,91 +1789,65 @@ function Jr() {
1793
1789
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
1794
1790
  * @license MIT
1795
1791
  **/
1796
- function qr() {
1797
- Jr();
1798
- }
1799
- ({}).NODE_ENV !== "production" && qr();
1800
- const Gr = {
1801
- key: 0,
1802
- class: "iconfont-abl icon-abl-loading2 abl-icon-loading"
1803
- }, Yr = {
1804
- name: "AblButton"
1805
- }, Qr = /* @__PURE__ */ Object.assign(Yr, {
1792
+ function Jr() {
1793
+ Br();
1794
+ }
1795
+ ({}).NODE_ENV !== "production" && Jr();
1796
+ const qr = (e) => (cr("data-v-0fafbccb"), e = e(), lr(), e), Gr = /* @__PURE__ */ qr(() => /* @__PURE__ */ et("span", { class: "abl-switch__core" }, null, -1)), Yr = [
1797
+ Gr
1798
+ ], Qr = {
1799
+ name: "AblSwitch"
1800
+ }, Xr = /* @__PURE__ */ mr({
1801
+ ...Qr,
1806
1802
  props: {
1807
- type: {
1808
- type: String,
1809
- default: "default"
1810
- },
1811
- dashed: {
1812
- type: Boolean,
1813
- default: !1
1814
- },
1815
- circle: {
1816
- type: Boolean,
1817
- default: !1
1818
- },
1819
- round: {
1820
- type: Boolean,
1821
- default: !1
1822
- },
1823
- disabled: {
1803
+ modelValue: {
1824
1804
  type: Boolean,
1825
1805
  default: !1
1826
1806
  },
1827
- icon: {
1807
+ activeColor: {
1828
1808
  type: String,
1829
- default: ""
1809
+ default: "#13ce66"
1830
1810
  },
1831
- iconPosition: {
1811
+ inactiveColor: {
1832
1812
  type: String,
1833
- default: "left"
1813
+ default: "#dcdfe6"
1834
1814
  },
1835
- loading: {
1815
+ disabled: {
1836
1816
  type: Boolean,
1837
1817
  default: !1
1838
1818
  },
1839
- loadingText: {
1819
+ size: {
1840
1820
  type: String,
1841
- default: "loading..."
1821
+ default: "default"
1842
1822
  }
1843
1823
  },
1844
- setup(e) {
1845
- const t = e, n = Ur(() => ({
1846
- [`abl-button-${t.type}`]: t.type,
1847
- "is-dashed": t.dashed,
1848
- "is-round": t.round,
1849
- "is-circle": t.circle,
1850
- "is-disabled": t.disabled
1824
+ emits: ["update:modelValue", "change"],
1825
+ setup(e, { emit: t }) {
1826
+ const n = e, r = t, o = () => {
1827
+ n.disabled || (r("update:modelValue", !n.modelValue), r("change", !n.modelValue));
1828
+ }, { modelValue: s, disabled: i, size: c } = Wn(n), a = Ur(() => ({
1829
+ "abl-switch-checked": s.value,
1830
+ "abl-switch-disabled": i.value,
1831
+ [`abl-switch-${c.value}`]: c.value
1851
1832
  }));
1852
- return (r, o) => (F(), X("button", {
1853
- class: ee(["abl-button", n.value])
1854
- }, [
1855
- e.loading ? (F(), X(re, { key: 0 }, [
1856
- e.loading ? (F(), X("i", Gr)) : ie("", !0),
1857
- ct("span", null, Rn(e.loadingText), 1)
1858
- ], 64)) : (F(), X(re, { key: 1 }, [
1859
- e.iconPosition === "left" ? Ae(r.$slots, "icon", { key: 0 }, () => [
1860
- e.icon ? (F(), X("i", {
1861
- key: 0,
1862
- class: ee(["iconfont-abl slot-icon-left", e.icon])
1863
- }, null, 2)) : ie("", !0)
1864
- ]) : ie("", !0),
1865
- Ae(r.$slots, "default"),
1866
- e.iconPosition === "right" ? Ae(r.$slots, "icon", { key: 1 }, () => [
1867
- e.icon ? (F(), X("i", {
1868
- key: 0,
1869
- class: ee(["iconfont-abl slot-icon-right", e.icon])
1870
- }, null, 2)) : ie("", !0)
1871
- ]) : ie("", !0)
1872
- ], 64))
1873
- ], 2));
1833
+ return (d, _) => (Vr(), Dr("div", {
1834
+ class: Re(["abl-switch", a.value]),
1835
+ onClick: o,
1836
+ style: ve({ background: Ft(s) ? e.activeColor : e.inactiveColor })
1837
+ }, Yr, 6));
1874
1838
  }
1875
- }), Xr = [Qr], Zr = function(e, t) {
1876
- Xr.forEach((n) => {
1839
+ });
1840
+ const Zr = (e, t) => {
1841
+ const n = e.__vccOpts || e;
1842
+ for (const [r, o] of t)
1843
+ n[r] = o;
1844
+ return n;
1845
+ }, kr = /* @__PURE__ */ Zr(Xr, [["__scopeId", "data-v-0fafbccb"]]), eo = [kr], to = function(e, t) {
1846
+ eo.forEach((n) => {
1877
1847
  e.component(n.name, n);
1878
1848
  });
1879
- }, kr = { install: Zr };
1849
+ }, no = { install: to };
1880
1850
  export {
1881
- Qr as ablButton,
1882
- kr as default
1851
+ kr as ablSwitch,
1852
+ no as default
1883
1853
  };